[2026-07-08 00:00:03] local.INFO: TCP Data received {"connection_id":124964,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:00:03] local.INFO: Processing buffer {"connection_id":124964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:00:03] local.INFO: IMEI packet received {"connection_id":124964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":124964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:00:07] local.INFO: TCP Data received {"connection_id":124869,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:00:07] local.INFO: Processing buffer {"connection_id":124869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:00:07] local.INFO: IMEI packet received {"connection_id":124869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":124869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:00:07] local.INFO: TCP Data received {"connection_id":124869,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:00:07] local.INFO: Processing buffer {"connection_id":124869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:00:07] local.INFO: IMEI packet received {"connection_id":124869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":124869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:00:08] local.INFO: TCP Data received {"connection_id":124964,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:00:08] local.INFO: Processing buffer {"connection_id":124964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:00:08] local.INFO: IMEI packet received {"connection_id":124964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":124964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:00:09] local.INFO: TCP Data received {"connection_id":124964,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd6f348012d6ce2c00610f378000701512f..."} 
[2026-07-08 00:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd6f348012d6ce2c00610f378000701512f..."} 
[2026-07-08 00:00:09] local.INFO: Processing buffer {"connection_id":124964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd6f348012d6ce2c00610f378000701512f..."} 
[2026-07-08 00:00:09] local.INFO: Packet analysis {"connection_id":124964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd6"} 
[2026-07-08 00:00:09] local.INFO: Extracted packet for processing {"connection_id":124964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd6"} 
[2026-07-08 00:00:09] local.INFO: GPS Element Parsed {"raw_longitude":762110656,"raw_latitude":101774200,"longitude_deg":76.2110656,"latitude_deg":10.17742,"altitude":7,"angle":337,"satellites":47,"speed":14,"hex_longitude":"2d6ce2c0","hex_latitude":"0610f378","is_valid_coordinates":true} 
[2026-07-08 00:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562922240001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132363959985504256,"note":"Value kept but may cause issues"} 
[2026-07-08 00:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7850477864001404928,"note":"Value kept but may cause issues"} 
[2026-07-08 00:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783448925000,"timestamp_ms":1783448925000,"timestamp_seconds":1783448925,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd6f348"} 
[2026-07-08 00:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 00:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124964,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124964,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562922240001,"66":27908,"247":206,"19":43264,"24":14,"16":132363959985504256,"45":7850477864001404928},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,19,24,16,45]} 
[2026-07-08 00:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562922240001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:00:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-08 00:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132363959985504256,"km_value":132363959985504.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":7850477864001404928,"description":"Unknown IO ID 45"} 
[2026-07-08 00:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562922240001,"power":27908,"internal_battery_voltage":206,"unknown_19":43264,"ignition":14,"odometer":null,"unknown_45":7850477864001404928}} 
[2026-07-08 00:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":124964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448407,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:00:10] local.INFO: GPS data processed {"connection_id":124964,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:00:10] local.INFO: Acknowledgment sent {"connection_id":124964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:00:11] local.INFO: TCP Data received {"connection_id":124869,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd3f1c0012dc5eb400537d5a0003401442d..."} 
[2026-07-08 00:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd3f1c0012dc5eb400537d5a0003401442d..."} 
[2026-07-08 00:00:11] local.INFO: Processing buffer {"connection_id":124869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd3f1c0012dc5eb400537d5a0003401442d..."} 
[2026-07-08 00:00:11] local.INFO: Packet analysis {"connection_id":124869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd3"} 
[2026-07-08 00:00:11] local.INFO: Extracted packet for processing {"connection_id":124869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd3"} 
[2026-07-08 00:00:11] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 00:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562797312001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783448728000,"timestamp_ms":1783448728000,"timestamp_seconds":1783448728,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd3f1c0"} 
[2026-07-08 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-07-08 00:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 00:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562797312001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562797312001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:00:11] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:00:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562797312001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":124869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:00:11] local.INFO: GPS data processed {"connection_id":124869,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:00:11] local.INFO: Acknowledgment sent {"connection_id":124869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:00:13] local.INFO: TCP Data received {"connection_id":124964,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd70ea0012d6cdfc00610fd800008015e30..."} 
[2026-07-08 00:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd70ea0012d6cdfc00610fd800008015e30..."} 
[2026-07-08 00:00:13] local.INFO: Processing buffer {"connection_id":124964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd70ea0012d6cdfc00610fd800008015e30..."} 
[2026-07-08 00:00:13] local.INFO: Packet analysis {"connection_id":124964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd7"} 
[2026-07-08 00:00:13] local.INFO: Extracted packet for processing {"connection_id":124964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd7"} 
[2026-07-08 00:00:13] local.INFO: GPS Element Parsed {"raw_longitude":762109888,"raw_latitude":101776768,"longitude_deg":76.2109888,"latitude_deg":10.1776768,"altitude":8,"angle":350,"satellites":48,"speed":19,"hex_longitude":"2d6cdfc0","hex_latitude":"0610fd80","is_valid_coordinates":true} 
[2026-07-08 00:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562924800001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132364088834523136,"note":"Value kept but may cause issues"} 
[2026-07-08 00:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7846044633119553536,"note":"Value kept but may cause issues"} 
[2026-07-08 00:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783448932000,"timestamp_ms":1783448932000,"timestamp_seconds":1783448932,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd70ea0"} 
[2026-07-08 00:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 00:00:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124964,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124964,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562924800001,"66":27876,"247":206,"19":43264,"24":19,"16":132364088834523136,"45":7846044633119553536},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,19,24,16,45]} 
[2026-07-08 00:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562924800001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:00:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-08 00:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132364088834523136,"km_value":132364088834523.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":7846044633119553536,"description":"Unknown IO ID 45"} 
[2026-07-08 00:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562924800001,"power":27876,"internal_battery_voltage":206,"unknown_19":43264,"ignition":19,"odometer":null,"unknown_45":7846044633119553536}} 
[2026-07-08 00:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":124964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448409,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:00:13] local.INFO: GPS data processed {"connection_id":124964,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:00:13] local.INFO: Acknowledgment sent {"connection_id":124964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:00:15] local.INFO: TCP Data received {"connection_id":124869,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd3f1c0012dc5eb400537d5a0003401442d..."} 
[2026-07-08 00:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd3f1c0012dc5eb400537d5a0003401442d..."} 
[2026-07-08 00:00:15] local.INFO: Processing buffer {"connection_id":124869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd3f1c0012dc5eb400537d5a0003401442d..."} 
[2026-07-08 00:00:15] local.INFO: Packet analysis {"connection_id":124869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd3"} 
[2026-07-08 00:00:15] local.INFO: Extracted packet for processing {"connection_id":124869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd3"} 
[2026-07-08 00:00:15] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 00:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562797312001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783448728000,"timestamp_ms":1783448728000,"timestamp_seconds":1783448728,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd3f1c0"} 
[2026-07-08 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-07-08 00:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:00:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 00:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562797312001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562797312001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:00:15] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:00:15] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562797312001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":124869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:00:15] local.INFO: GPS data processed {"connection_id":124869,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:00:15] local.INFO: Acknowledgment sent {"connection_id":124869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:00:58] local.INFO: TCP Data received {"connection_id":124870,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124870,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:00:58] local.INFO: Processing buffer {"connection_id":124870,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:00:58] local.INFO: IMEI packet received {"connection_id":124870,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":124870,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:01:01] local.INFO: TCP Data received {"connection_id":124870,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124870,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:01:01] local.INFO: Processing buffer {"connection_id":124870,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:01:01] local.INFO: IMEI packet received {"connection_id":124870,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":124870,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:01:02] local.INFO: TCP Data received {"connection_id":124870,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd75108012d6cdac006111b700009014e30..."} 
[2026-07-08 00:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd75108012d6cdac006111b700009014e30..."} 
[2026-07-08 00:01:02] local.INFO: Processing buffer {"connection_id":124870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd75108012d6cdac006111b700009014e30..."} 
[2026-07-08 00:01:02] local.INFO: Packet analysis {"connection_id":124870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd7"} 
[2026-07-08 00:01:02] local.INFO: Extracted packet for processing {"connection_id":124870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd7"} 
[2026-07-08 00:01:02] local.INFO: GPS Element Parsed {"raw_longitude":762108608,"raw_latitude":101784432,"longitude_deg":76.2108608,"latitude_deg":10.1784432,"altitude":9,"angle":334,"satellites":48,"speed":13,"hex_longitude":"2d6cdac0","hex_latitude":"06111b70","is_valid_coordinates":true} 
[2026-07-08 00:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562926592001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132364466791645184,"note":"Value kept but may cause issues"} 
[2026-07-08 00:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7845200208190078976,"note":"Value kept but may cause issues"} 
[2026-07-08 00:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783448949000,"timestamp_ms":1783448949000,"timestamp_seconds":1783448949,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd75108"} 
[2026-07-08 00:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:01: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-07-08 00:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 00:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:01:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124870,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124870,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562926592001,"66":27930,"247":206,"19":43264,"24":13,"16":132364466791645184,"45":7845200208190078976},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,19,24,16,45]} 
[2026-07-08 00:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562926592001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:01:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-08 00:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132364466791645184,"km_value":132364466791645.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7845200208190078976,"description":"Unknown IO ID 45"} 
[2026-07-08 00:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562926592001,"power":27930,"internal_battery_voltage":206,"unknown_19":43264,"ignition":13,"odometer":null,"unknown_45":7845200208190078976}} 
[2026-07-08 00:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":124870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448411,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:01:02] local.INFO: GPS data processed {"connection_id":124870,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:01:02] local.INFO: Acknowledgment sent {"connection_id":124870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:01:03] local.INFO: TCP Data received {"connection_id":124871,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:01:03] local.INFO: Processing buffer {"connection_id":124871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:01:03] local.INFO: IMEI packet received {"connection_id":124871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":124871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:01:07] local.INFO: TCP Data received {"connection_id":124871,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:01:07] local.INFO: Processing buffer {"connection_id":124871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:01:07] local.INFO: IMEI packet received {"connection_id":124871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":124871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:01:07] local.INFO: TCP Data received {"connection_id":124871,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd885a0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 00:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd885a0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 00:01:08] local.INFO: Processing buffer {"connection_id":124871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd885a0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 00:01:08] local.INFO: Packet analysis {"connection_id":124871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd8"} 
[2026-07-08 00:01:08] local.INFO: Extracted packet for processing {"connection_id":124871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd8"} 
[2026-07-08 00:01:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562874368001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783449028000,"timestamp_ms":1783449028000,"timestamp_seconds":1783449028,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd885a0"} 
[2026-07-08 00:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562874368001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562874368001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:01:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:01:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562874368001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":124871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:01:08] local.INFO: GPS data processed {"connection_id":124871,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:01:08] local.INFO: Acknowledgment sent {"connection_id":124871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:01:13] local.INFO: TCP Data received {"connection_id":124871,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd885a0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 00:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd885a0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 00:01:13] local.INFO: Processing buffer {"connection_id":124871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd885a0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 00:01:13] local.INFO: Packet analysis {"connection_id":124871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd8"} 
[2026-07-08 00:01:13] local.INFO: Extracted packet for processing {"connection_id":124871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd8"} 
[2026-07-08 00:01:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562874368001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783449028000,"timestamp_ms":1783449028000,"timestamp_seconds":1783449028,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd885a0"} 
[2026-07-08 00:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:01:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:01:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562874368001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562874368001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:01:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:01:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562874368001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":124871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:01:13] local.INFO: GPS data processed {"connection_id":124871,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:01:13] local.INFO: Acknowledgment sent {"connection_id":124871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:01:33] local.INFO: TCP Data received {"connection_id":124870,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd758d8012d6cd90006111dd8000a013b30..."} 
[2026-07-08 00:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd758d8012d6cd90006111dd8000a013b30..."} 
[2026-07-08 00:01:33] local.INFO: Processing buffer {"connection_id":124870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd758d8012d6cd90006111dd8000a013b30..."} 
[2026-07-08 00:01:33] local.INFO: Packet analysis {"connection_id":124870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd7"} 
[2026-07-08 00:01:33] local.INFO: Extracted packet for processing {"connection_id":124870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd7"} 
[2026-07-08 00:01:33] local.INFO: GPS Element Parsed {"raw_longitude":762108160,"raw_latitude":101785048,"longitude_deg":76.210816,"latitude_deg":10.1785048,"altitude":10,"angle":315,"satellites":48,"speed":15,"hex_longitude":"2d6cd900","hex_latitude":"06111dd8","is_valid_coordinates":true} 
[2026-07-08 00:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562930944001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132364505446350848,"note":"Value kept but may cause issues"} 
[2026-07-08 00:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7843792833308487680,"note":"Value kept but may cause issues"} 
[2026-07-08 00:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783448951000,"timestamp_ms":1783448951000,"timestamp_seconds":1783448951,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd758d8"} 
[2026-07-08 00:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-08 00:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:01:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124870,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124870,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562930944001,"66":28006,"247":206,"19":43264,"24":15,"16":132364505446350848,"45":7843792833308487680},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,19,24,16,45]} 
[2026-07-08 00:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562930944001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:01:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-08 00:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132364505446350848,"km_value":132364505446350.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7843792833308487680,"description":"Unknown IO ID 45"} 
[2026-07-08 00:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562930944001,"power":28006,"internal_battery_voltage":206,"unknown_19":43264,"ignition":15,"odometer":null,"unknown_45":7843792833308487680}} 
[2026-07-08 00:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":124870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448414,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:01:34] local.INFO: GPS data processed {"connection_id":124870,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:01:34] local.INFO: Acknowledgment sent {"connection_id":124870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:01:58] local.INFO: TCP Data received {"connection_id":124965,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124965,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:01:58] local.INFO: Processing buffer {"connection_id":124965,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:01:58] local.INFO: IMEI packet received {"connection_id":124965,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":124965,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:01:58] local.INFO: TCP Data received {"connection_id":125702,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:01:58] local.INFO: Processing buffer {"connection_id":125702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:01:58] local.INFO: IMEI packet received {"connection_id":125702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":125702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:02:03] local.INFO: TCP Data received {"connection_id":124965,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124965,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:02:03] local.INFO: Processing buffer {"connection_id":124965,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:02:03] local.INFO: IMEI packet received {"connection_id":124965,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":124965,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:02:03] local.INFO: TCP Data received {"connection_id":125702,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:02:03] local.INFO: Processing buffer {"connection_id":125702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:02:03] local.INFO: IMEI packet received {"connection_id":125702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":125702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:02:03] local.INFO: TCP Data received {"connection_id":124965,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd760a8012d6cd64006111fe8000a01222c..."} 
[2026-07-08 00:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd760a8012d6cd64006111fe8000a01222c..."} 
[2026-07-08 00:02:03] local.INFO: Processing buffer {"connection_id":124965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd760a8012d6cd64006111fe8000a01222c..."} 
[2026-07-08 00:02:03] local.INFO: Packet analysis {"connection_id":124965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd7"} 
[2026-07-08 00:02:03] local.INFO: Extracted packet for processing {"connection_id":124965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd7"} 
[2026-07-08 00:02:03] local.INFO: GPS Element Parsed {"raw_longitude":762107456,"raw_latitude":101785576,"longitude_deg":76.2107456,"latitude_deg":10.1785576,"altitude":10,"angle":290,"satellites":44,"speed":18,"hex_longitude":"2d6cd640","hex_latitude":"06111fe8","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562931456001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132364548396023808,"note":"Value kept but may cause issues"} 
[2026-07-08 00:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7843300252099401728,"note":"Value kept but may cause issues"} 
[2026-07-08 00:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783448953000,"timestamp_ms":1783448953000,"timestamp_seconds":1783448953,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd760a8"} 
[2026-07-08 00:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:02: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-07-08 00: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 00:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124965,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124965,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562931456001,"66":27908,"247":206,"19":43264,"24":18,"16":132364548396023808,"45":7843300252099401728},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,19,24,16,45]} 
[2026-07-08 00:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562931456001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:02:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-08 00:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132364548396023808,"km_value":132364548396023.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7843300252099401728,"description":"Unknown IO ID 45"} 
[2026-07-08 00:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562931456001,"power":27908,"internal_battery_voltage":206,"unknown_19":43264,"ignition":18,"odometer":null,"unknown_45":7843300252099401728}} 
[2026-07-08 00:02:03] local.INFO: TCP Data received {"connection_id":125702,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd885a0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 00:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd885a0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 00:02:03] local.INFO: Processing buffer {"connection_id":125702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd885a0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 00:02:03] local.INFO: Packet analysis {"connection_id":125702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd8"} 
[2026-07-08 00:02:03] local.INFO: Extracted packet for processing {"connection_id":125702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd8"} 
[2026-07-08 00:02:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562874368001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783449028000,"timestamp_ms":1783449028000,"timestamp_seconds":1783449028,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd885a0"} 
[2026-07-08 00:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:02:03] 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-07-08 00:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562874368001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562874368001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:02:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:02:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562874368001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":125702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:02:03] local.INFO: GPS data processed {"connection_id":125702,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:02:03] local.INFO: Acknowledgment sent {"connection_id":125702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":124965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448416,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:02:03] local.INFO: GPS data processed {"connection_id":124965,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:02:03] local.INFO: Acknowledgment sent {"connection_id":124965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:02:34] local.INFO: TCP Data received {"connection_id":124965,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd9cdc0012d6bf0000611a2a0000801442f..."} 
[2026-07-08 00:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd9cdc0012d6bf0000611a2a0000801442f..."} 
[2026-07-08 00:02:34] local.INFO: Processing buffer {"connection_id":124965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd9cdc0012d6bf0000611a2a0000801442f..."} 
[2026-07-08 00:02:34] local.INFO: Packet analysis {"connection_id":124965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd9"} 
[2026-07-08 00:02:34] local.INFO: Extracted packet for processing {"connection_id":124965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd9"} 
[2026-07-08 00:02:34] local.INFO: GPS Element Parsed {"raw_longitude":762048512,"raw_latitude":101819040,"longitude_deg":76.2048512,"latitude_deg":10.181904,"altitude":8,"angle":324,"satellites":47,"speed":8,"hex_longitude":"2d6bf000","hex_latitude":"0611a2a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562970368001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132364814683996160,"note":"Value kept but may cause issues"} 
[2026-07-08 00:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7778631376208093184,"note":"Value kept but may cause issues"} 
[2026-07-08 00:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783449112000,"timestamp_ms":1783449112000,"timestamp_seconds":1783449112,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd9cdc0"} 
[2026-07-08 00:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-08 00:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124965,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124965,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562970368001,"66":27843,"20":206,"19":43264,"24":8,"16":132364814683996160,"45":7778631376208093184},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,19,24,16,45]} 
[2026-07-08 00:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562970368001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:02:34] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-07-08 00:02:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-08 00:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132364814683996160,"km_value":132364814683996.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7778631376208093184,"description":"Unknown IO ID 45"} 
[2026-07-08 00:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562970368001,"power":27843,"unknown_20":206,"unknown_19":43264,"ignition":8,"odometer":null,"unknown_45":7778631376208093184}} 
[2026-07-08 00:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":124965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448417,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:02:34] local.INFO: GPS data processed {"connection_id":124965,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:02:34] local.INFO: Acknowledgment sent {"connection_id":124965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:02:35] local.INFO: TCP Data received {"connection_id":125702,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd885a0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 00:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd885a0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 00:02:35] local.INFO: Processing buffer {"connection_id":125702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd885a0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 00:02:35] local.INFO: Packet analysis {"connection_id":125702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd8"} 
[2026-07-08 00:02:35] local.INFO: Extracted packet for processing {"connection_id":125702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd8"} 
[2026-07-08 00:02:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562874368001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783449028000,"timestamp_ms":1783449028000,"timestamp_seconds":1783449028,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd885a0"} 
[2026-07-08 00:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:02: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-07-08 00:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:02:35] 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-07-08 00:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562874368001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562874368001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:02:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:02:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562874368001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":125702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:02:35] local.INFO: GPS data processed {"connection_id":125702,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:02:35] local.INFO: Acknowledgment sent {"connection_id":125702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:02:57] local.INFO: TCP Data received {"connection_id":124872,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:02:57] local.INFO: Processing buffer {"connection_id":124872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:02:57] local.INFO: IMEI packet received {"connection_id":124872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":124872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:02:58] local.INFO: TCP Data received {"connection_id":126956,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126956,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:02:58] local.INFO: Processing buffer {"connection_id":126956,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:02:58] local.INFO: IMEI packet received {"connection_id":126956,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":126956,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:03:03] local.INFO: TCP Data received {"connection_id":126956,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126956,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:03:03] local.INFO: Processing buffer {"connection_id":126956,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:03:03] local.INFO: IMEI packet received {"connection_id":126956,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":126956,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:03:03] local.INFO: TCP Data received {"connection_id":124872,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:03:03] local.INFO: Processing buffer {"connection_id":124872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:03:03] local.INFO: IMEI packet received {"connection_id":124872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":124872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:03:03] local.INFO: TCP Data received {"connection_id":126956,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd9d1a8012d6bef400611a370000901382f..."} 
[2026-07-08 00:03:03] local.INFO: TCP Data received {"connection_id":124872,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd885a0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 00:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd9d1a8012d6bef400611a370000901382f..."} 
[2026-07-08 00:03:03] local.INFO: Processing buffer {"connection_id":126956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd9d1a8012d6bef400611a370000901382f..."} 
[2026-07-08 00:03:03] local.INFO: Packet analysis {"connection_id":126956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd9"} 
[2026-07-08 00:03:03] local.INFO: Extracted packet for processing {"connection_id":126956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd9"} 
[2026-07-08 00:03:03] local.INFO: GPS Element Parsed {"raw_longitude":762048320,"raw_latitude":101819248,"longitude_deg":76.204832,"latitude_deg":10.1819248,"altitude":9,"angle":312,"satellites":47,"speed":10,"hex_longitude":"2d6bef40","hex_latitude":"0611a370","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562972672001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132364827568898048,"note":"Value kept but may cause issues"} 
[2026-07-08 00:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7777716582534520832,"note":"Value kept but may cause issues"} 
[2026-07-08 00:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783449113000,"timestamp_ms":1783449113000,"timestamp_seconds":1783449113,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd9d1a8"} 
[2026-07-08 00:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 00:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd885a0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 00:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:03:03] local.INFO: Processing buffer {"connection_id":124872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd885a0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 00: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-07-08 00:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:03:03] local.INFO: Packet analysis {"connection_id":124872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd8"} 
[2026-07-08 00:03:03] local.INFO: Extracted packet for processing {"connection_id":124872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd8"} 
[2026-07-08 00:03:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562874368001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126956,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126956,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783449028000,"timestamp_ms":1783449028000,"timestamp_seconds":1783449028,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd885a0"} 
[2026-07-08 00:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562972672001,"66":27908,"20":206,"19":43264,"24":10,"16":132364827568898048,"45":7777716582534520832},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,19,24,16,45]} 
[2026-07-08 00:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562972672001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:03:03] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-07-08 00:03:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-08 00:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132364827568898048,"km_value":132364827568898.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7777716582534520832,"description":"Unknown IO ID 45"} 
[2026-07-08 00:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562972672001,"power":27908,"unknown_20":206,"unknown_19":43264,"ignition":10,"odometer":null,"unknown_45":7777716582534520832}} 
[2026-07-08 00:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562874368001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562874368001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:03:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:03:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562874368001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":124872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:03:03] local.INFO: GPS data processed {"connection_id":124872,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:03:03] local.INFO: Acknowledgment sent {"connection_id":124872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":126956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448420,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:03:04] local.INFO: GPS data processed {"connection_id":126956,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:03:04] local.INFO: Acknowledgment sent {"connection_id":126956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:03:35] local.INFO: TCP Data received {"connection_id":126956,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd9d978012d6bed400611a4a8000801142e..."} 
[2026-07-08 00:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd9d978012d6bed400611a4a8000801142e..."} 
[2026-07-08 00:03:35] local.INFO: Processing buffer {"connection_id":126956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd9d978012d6bed400611a4a8000801142e..."} 
[2026-07-08 00:03:35] local.INFO: Packet analysis {"connection_id":126956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd9"} 
[2026-07-08 00:03:35] local.INFO: Extracted packet for processing {"connection_id":126956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd9"} 
[2026-07-08 00:03:35] local.INFO: GPS Element Parsed {"raw_longitude":762047808,"raw_latitude":101819560,"longitude_deg":76.2047808,"latitude_deg":10.181956,"altitude":8,"angle":276,"satellites":46,"speed":12,"hex_longitude":"2d6bed40","hex_latitude":"0611a4a8","is_valid_coordinates":true} 
[2026-07-08 00:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562972928001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132364857633669120,"note":"Value kept but may cause issues"} 
[2026-07-08 00:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7777505476302041088,"note":"Value kept but may cause issues"} 
[2026-07-08 00:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783449115000,"timestamp_ms":1783449115000,"timestamp_seconds":1783449115,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd9d978"} 
[2026-07-08 00:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 00:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126956,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126956,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562972928001,"66":27974,"20":206,"19":43264,"24":12,"16":132364857633669120,"45":7777505476302041088},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,19,24,16,45]} 
[2026-07-08 00:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562972928001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:03:35] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-07-08 00:03:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-07-08 00:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132364857633669120,"km_value":132364857633669.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7777505476302041088,"description":"Unknown IO ID 45"} 
[2026-07-08 00:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562972928001,"power":27974,"unknown_20":206,"unknown_19":43264,"ignition":12,"odometer":null,"unknown_45":7777505476302041088}} 
[2026-07-08 00:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":126956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448421,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:03:35] local.INFO: GPS data processed {"connection_id":126956,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:03:35] local.INFO: Acknowledgment sent {"connection_id":126956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:03:37] local.INFO: TCP Data received {"connection_id":124872,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd885a0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 00:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd885a0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 00:03:37] local.INFO: Processing buffer {"connection_id":124872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd885a0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 00:03:37] local.INFO: Packet analysis {"connection_id":124872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd8"} 
[2026-07-08 00:03:37] local.INFO: Extracted packet for processing {"connection_id":124872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd8"} 
[2026-07-08 00:03:37] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562874368001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783449028000,"timestamp_ms":1783449028000,"timestamp_seconds":1783449028,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd885a0"} 
[2026-07-08 00:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562874368001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562874368001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:03:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:03:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562874368001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":124872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:03:37] local.INFO: GPS data processed {"connection_id":124872,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:03:37] local.INFO: Acknowledgment sent {"connection_id":124872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:04:03] local.INFO: TCP Data received {"connection_id":124966,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:04:03] local.INFO: Processing buffer {"connection_id":124966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:04:03] local.INFO: IMEI packet received {"connection_id":124966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":124966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:04:08] local.INFO: TCP Data received {"connection_id":124966,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:04:08] local.INFO: Processing buffer {"connection_id":124966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:04:08] local.INFO: IMEI packet received {"connection_id":124966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":124966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:04:09] local.INFO: TCP Data received {"connection_id":124966,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd885a0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 00:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd885a0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 00:04:09] local.INFO: Processing buffer {"connection_id":124966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd885a0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 00:04:09] local.INFO: Packet analysis {"connection_id":124966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd8"} 
[2026-07-08 00:04:09] local.INFO: Extracted packet for processing {"connection_id":124966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd8"} 
[2026-07-08 00:04:09] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562874368001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783449028000,"timestamp_ms":1783449028000,"timestamp_seconds":1783449028,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd885a0"} 
[2026-07-08 00:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562874368001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562874368001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:04:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:04:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562874368001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":124966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:04:09] local.INFO: GPS data processed {"connection_id":124966,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:04:09] local.INFO: Acknowledgment sent {"connection_id":124966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:04:13] local.INFO: TCP Data received {"connection_id":124966,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd885a0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 00:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd885a0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 00:04:13] local.INFO: Processing buffer {"connection_id":124966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd885a0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 00:04:13] local.INFO: Packet analysis {"connection_id":124966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd8"} 
[2026-07-08 00:04:13] local.INFO: Extracted packet for processing {"connection_id":124966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd8"} 
[2026-07-08 00:04:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562874368001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783449028000,"timestamp_ms":1783449028000,"timestamp_seconds":1783449028,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd885a0"} 
[2026-07-08 00:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:04:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562874368001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562874368001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:04:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:04:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562874368001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":124966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:04:13] local.INFO: GPS data processed {"connection_id":124966,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:04:13] local.INFO: Acknowledgment sent {"connection_id":124966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:04:58] local.INFO: TCP Data received {"connection_id":124968,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:04:58] local.INFO: Processing buffer {"connection_id":124968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:04:58] local.INFO: IMEI packet received {"connection_id":124968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":124968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:05:03] local.INFO: TCP Data received {"connection_id":124968,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:05:03] local.INFO: Processing buffer {"connection_id":124968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:05:03] local.INFO: IMEI packet received {"connection_id":124968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":124968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:05:03] local.INFO: TCP Data received {"connection_id":124968,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd885a0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 00:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd885a0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 00:05:03] local.INFO: Processing buffer {"connection_id":124968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd885a0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 00:05:03] local.INFO: Packet analysis {"connection_id":124968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd8"} 
[2026-07-08 00:05:03] local.INFO: Extracted packet for processing {"connection_id":124968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd8"} 
[2026-07-08 00:05:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562874368001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783449028000,"timestamp_ms":1783449028000,"timestamp_seconds":1783449028,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd885a0"} 
[2026-07-08 00:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562874368001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562874368001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:05:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:05:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562874368001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":124968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:05:03] local.INFO: GPS data processed {"connection_id":124968,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:05:03] local.INFO: Acknowledgment sent {"connection_id":124968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:05:07] local.INFO: TCP Data received {"connection_id":124969,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124969,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:05:07] local.INFO: Processing buffer {"connection_id":124969,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:05:07] local.INFO: IMEI packet received {"connection_id":124969,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":124969,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:05:35] local.INFO: TCP Data received {"connection_id":124968,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd885a0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 00:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd885a0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 00:05:35] local.INFO: Processing buffer {"connection_id":124968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd885a0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 00:05:35] local.INFO: Packet analysis {"connection_id":124968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd8"} 
[2026-07-08 00:05:35] local.INFO: Extracted packet for processing {"connection_id":124968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd8"} 
[2026-07-08 00:05:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562874368001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783449028000,"timestamp_ms":1783449028000,"timestamp_seconds":1783449028,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd885a0"} 
[2026-07-08 00:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:05: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-07-08 00:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562874368001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562874368001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:05:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:05:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562874368001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":124968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:05:35] local.INFO: GPS data processed {"connection_id":124968,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:05:35] local.INFO: Acknowledgment sent {"connection_id":124968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:05:58] local.INFO: TCP Data received {"connection_id":125703,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:05:58] local.INFO: Processing buffer {"connection_id":125703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:05:58] local.INFO: IMEI packet received {"connection_id":125703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":125703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:06:03] local.INFO: TCP Data received {"connection_id":125703,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:06:03] local.INFO: Processing buffer {"connection_id":125703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:06:03] local.INFO: IMEI packet received {"connection_id":125703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":125703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:06:03] local.INFO: TCP Data received {"connection_id":125703,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dd885a0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 00:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dd885a0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 00:06:03] local.INFO: Processing buffer {"connection_id":125703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dd885a0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 00:06:03] local.INFO: Packet analysis {"connection_id":125703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dd8"} 
[2026-07-08 00:06:03] local.INFO: Extracted packet for processing {"connection_id":125703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dd8"} 
[2026-07-08 00:06:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562874368001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783449028000,"timestamp_ms":1783449028000,"timestamp_seconds":1783449028,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dd885a0"} 
[2026-07-08 00:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562874368001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562874368001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:06:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:06:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562874368001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":125703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:06:03] local.INFO: GPS data processed {"connection_id":125703,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:06:03] local.INFO: Acknowledgment sent {"connection_id":125703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:06:37] local.INFO: TCP Data received {"connection_id":125703,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ddd1d68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 00:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ddd1d68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 00:06:37] local.INFO: Processing buffer {"connection_id":125703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ddd1d68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 00:06:37] local.INFO: Packet analysis {"connection_id":125703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ddd"} 
[2026-07-08 00:06:37] local.INFO: Extracted packet for processing {"connection_id":125703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ddd"} 
[2026-07-08 00:06:37] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562951168001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783449329000,"timestamp_ms":1783449329000,"timestamp_seconds":1783449329,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ddd1d68"} 
[2026-07-08 00:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562951168001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562951168001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:06:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:06:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562951168001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":125703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:06:37] local.INFO: GPS data processed {"connection_id":125703,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:06:37] local.INFO: Acknowledgment sent {"connection_id":125703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:06:57] local.INFO: TCP Data received {"connection_id":126957,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:06:57] local.INFO: Processing buffer {"connection_id":126957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:06:57] local.INFO: IMEI packet received {"connection_id":126957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":126957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:07:03] local.INFO: TCP Data received {"connection_id":126957,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:07:03] local.INFO: Processing buffer {"connection_id":126957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:07:03] local.INFO: IMEI packet received {"connection_id":126957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":126957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:07:03] local.INFO: TCP Data received {"connection_id":126957,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ddd1d68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 00:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ddd1d68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 00:07:03] local.INFO: Processing buffer {"connection_id":126957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ddd1d68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 00:07:03] local.INFO: Packet analysis {"connection_id":126957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ddd"} 
[2026-07-08 00:07:03] local.INFO: Extracted packet for processing {"connection_id":126957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ddd"} 
[2026-07-08 00:07:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562951168001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783449329000,"timestamp_ms":1783449329000,"timestamp_seconds":1783449329,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ddd1d68"} 
[2026-07-08 00:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562951168001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562951168001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:07:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:07:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562951168001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":126957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:07:03] local.INFO: GPS data processed {"connection_id":126957,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:07:03] local.INFO: Acknowledgment sent {"connection_id":126957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:07:35] local.INFO: TCP Data received {"connection_id":126957,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ddd1d68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 00:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ddd1d68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 00:07:35] local.INFO: Processing buffer {"connection_id":126957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ddd1d68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 00:07:35] local.INFO: Packet analysis {"connection_id":126957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ddd"} 
[2026-07-08 00:07:35] local.INFO: Extracted packet for processing {"connection_id":126957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ddd"} 
[2026-07-08 00:07:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562951168001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783449329000,"timestamp_ms":1783449329000,"timestamp_seconds":1783449329,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ddd1d68"} 
[2026-07-08 00:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:07: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-07-08 00:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562951168001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562951168001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:07:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:07:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562951168001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":126957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:07:35] local.INFO: GPS data processed {"connection_id":126957,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:07:35] local.INFO: Acknowledgment sent {"connection_id":126957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:08:03] local.INFO: TCP Data received {"connection_id":126959,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:08:03] local.INFO: Processing buffer {"connection_id":126959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:08:03] local.INFO: IMEI packet received {"connection_id":126959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":126959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:08:12] local.INFO: TCP Data received {"connection_id":126959,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:08:12] local.INFO: Processing buffer {"connection_id":126959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:08:12] local.INFO: IMEI packet received {"connection_id":126959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":126959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:08:12] local.INFO: TCP Data received {"connection_id":126959,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:08:12] local.INFO: Processing buffer {"connection_id":126959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:08:12] local.INFO: IMEI packet received {"connection_id":126959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":126959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:08:18] local.INFO: TCP Data received {"connection_id":126959,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:08:18] local.INFO: Processing buffer {"connection_id":126959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:08:18] local.INFO: IMEI packet received {"connection_id":126959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":126959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:08:18] local.INFO: TCP Data received {"connection_id":126959,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ddd1d68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 00:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ddd1d68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 00:08:18] local.INFO: Processing buffer {"connection_id":126959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ddd1d68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 00:08:18] local.INFO: Packet analysis {"connection_id":126959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ddd"} 
[2026-07-08 00:08:18] local.INFO: Extracted packet for processing {"connection_id":126959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ddd"} 
[2026-07-08 00:08:18] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562951168001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783449329000,"timestamp_ms":1783449329000,"timestamp_seconds":1783449329,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ddd1d68"} 
[2026-07-08 00:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:08:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:08:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":126959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":126959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":126959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562951168001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562951168001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:08:18] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:08:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562951168001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":126959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:08:18] local.INFO: GPS data processed {"connection_id":126959,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:08:18] local.INFO: Acknowledgment sent {"connection_id":126959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:08:23] local.INFO: TCP Data received {"connection_id":126959,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ddd1d68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 00:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ddd1d68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 00:08:23] local.INFO: Processing buffer {"connection_id":126959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ddd1d68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 00:08:23] local.INFO: Packet analysis {"connection_id":126959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ddd"} 
[2026-07-08 00:08:23] local.INFO: Extracted packet for processing {"connection_id":126959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ddd"} 
[2026-07-08 00:08:23] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562951168001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783449329000,"timestamp_ms":1783449329000,"timestamp_seconds":1783449329,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ddd1d68"} 
[2026-07-08 00:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:08: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-07-08 00: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-07-08 00:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":126959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":126959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":126959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562951168001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562951168001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:08:23] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:08:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562951168001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":126959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:08:23] local.INFO: GPS data processed {"connection_id":126959,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:08:23] local.INFO: Acknowledgment sent {"connection_id":126959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:08:58] local.INFO: TCP Data received {"connection_id":126961,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:08:58] local.INFO: Processing buffer {"connection_id":126961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:08:58] local.INFO: IMEI packet received {"connection_id":126961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":126961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:09:03] local.INFO: TCP Data received {"connection_id":126961,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:09:03] local.INFO: Processing buffer {"connection_id":126961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:09:03] local.INFO: IMEI packet received {"connection_id":126961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":126961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:09:03] local.INFO: TCP Data received {"connection_id":126961,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ddd1d68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 00:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ddd1d68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 00:09:03] local.INFO: Processing buffer {"connection_id":126961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ddd1d68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 00:09:03] local.INFO: Packet analysis {"connection_id":126961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ddd"} 
[2026-07-08 00:09:03] local.INFO: Extracted packet for processing {"connection_id":126961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ddd"} 
[2026-07-08 00:09:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562951168001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783449329000,"timestamp_ms":1783449329000,"timestamp_seconds":1783449329,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ddd1d68"} 
[2026-07-08 00:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562951168001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562951168001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:09:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:09:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562951168001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":126961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:09:03] local.INFO: GPS data processed {"connection_id":126961,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:09:03] local.INFO: Acknowledgment sent {"connection_id":126961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:09:35] local.INFO: TCP Data received {"connection_id":126961,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ddd1d68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 00:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ddd1d68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 00:09:35] local.INFO: Processing buffer {"connection_id":126961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ddd1d68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 00:09:35] local.INFO: Packet analysis {"connection_id":126961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ddd"} 
[2026-07-08 00:09:35] local.INFO: Extracted packet for processing {"connection_id":126961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ddd"} 
[2026-07-08 00:09:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562951168001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783449329000,"timestamp_ms":1783449329000,"timestamp_seconds":1783449329,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ddd1d68"} 
[2026-07-08 00:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:09: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-07-08 00:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562951168001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562951168001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:09:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:09:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562951168001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":126961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:09:35] local.INFO: GPS data processed {"connection_id":126961,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:09:35] local.INFO: Acknowledgment sent {"connection_id":126961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:09:57] local.INFO: TCP Data received {"connection_id":124971,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:09:57] local.INFO: Processing buffer {"connection_id":124971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:09:57] local.INFO: IMEI packet received {"connection_id":124971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":124971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:10:00] local.INFO: TCP Data received {"connection_id":126962,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126962,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:10:00] local.INFO: Processing buffer {"connection_id":126962,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:10:00] local.INFO: IMEI packet received {"connection_id":126962,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":126962,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:10:02] local.INFO: TCP Data received {"connection_id":124971,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:10:02] local.INFO: Processing buffer {"connection_id":124971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:10:02] local.INFO: IMEI packet received {"connection_id":124971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":124971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:10:03] local.INFO: TCP Data received {"connection_id":126962,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126962,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:10:03] local.INFO: Processing buffer {"connection_id":126962,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:10:03] local.INFO: IMEI packet received {"connection_id":126962,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":126962,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:10:03] local.INFO: TCP Data received {"connection_id":124971,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ddd1d68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 00:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ddd1d68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 00:10:03] local.INFO: Processing buffer {"connection_id":124971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ddd1d68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 00:10:03] local.INFO: Packet analysis {"connection_id":124971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ddd"} 
[2026-07-08 00:10:03] local.INFO: Extracted packet for processing {"connection_id":124971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ddd"} 
[2026-07-08 00:10:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562951168001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783449329000,"timestamp_ms":1783449329000,"timestamp_seconds":1783449329,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ddd1d68"} 
[2026-07-08 00:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:10: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-07-08 00:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562951168001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562951168001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:10:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:10:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562951168001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":124971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:10:03] local.INFO: GPS data processed {"connection_id":124971,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:10:03] local.INFO: Acknowledgment sent {"connection_id":124971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:10:04] local.INFO: TCP Data received {"connection_id":126962,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ddf8a80012d6b2f8006156a60000a01642e..."} 
[2026-07-08 00:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ddf8a80012d6b2f8006156a60000a01642e..."} 
[2026-07-08 00:10:04] local.INFO: Processing buffer {"connection_id":126962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ddf8a80012d6b2f8006156a60000a01642e..."} 
[2026-07-08 00:10:04] local.INFO: Packet analysis {"connection_id":126962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ddf"} 
[2026-07-08 00:10:04] local.INFO: Extracted packet for processing {"connection_id":126962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ddf"} 
[2026-07-08 00:10:04] local.INFO: GPS Element Parsed {"raw_longitude":761999232,"raw_latitude":102066784,"longitude_deg":76.1999232,"latitude_deg":10.2066784,"altitude":10,"angle":356,"satellites":46,"speed":46,"hex_longitude":"2d6b2f80","hex_latitude":"06156a60","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563066624001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132377171304906752,"note":"Value kept but may cause issues"} 
[2026-07-08 00:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7724095599532005376,"note":"Value kept but may cause issues"} 
[2026-07-08 00:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783449488000,"timestamp_ms":1783449488000,"timestamp_seconds":1783449488,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ddf8a80"} 
[2026-07-08 00:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:10: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-07-08 00: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-08 00:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126962,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126962,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563066624001,"66":27930,"92":206,"19":40704,"24":46,"16":132377171304906752,"45":7724095599532005376},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,19,24,16,45]} 
[2026-07-08 00:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563066624001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:10:04] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-08 00:10:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-08 00:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132377171304906752,"km_value":132377171304906.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7724095599532005376,"description":"Unknown IO ID 45"} 
[2026-07-08 00:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563066624001,"power":27930,"unknown_92":206,"unknown_19":40704,"ignition":46,"odometer":null,"unknown_45":7724095599532005376}} 
[2026-07-08 00:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":126962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448436,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:10:04] local.INFO: GPS data processed {"connection_id":126962,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:10:04] local.INFO: Acknowledgment sent {"connection_id":126962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:10:08] local.INFO: TCP Data received {"connection_id":126962,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ddfa9c0012d6b2b4006159128000a015e2d..."} 
[2026-07-08 00:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ddfa9c0012d6b2b4006159128000a015e2d..."} 
[2026-07-08 00:10:08] local.INFO: Processing buffer {"connection_id":126962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ddfa9c0012d6b2b4006159128000a015e2d..."} 
[2026-07-08 00:10:08] local.INFO: Packet analysis {"connection_id":126962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ddf"} 
[2026-07-08 00:10:08] local.INFO: Extracted packet for processing {"connection_id":126962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ddf"} 
[2026-07-08 00:10:08] local.INFO: GPS Element Parsed {"raw_longitude":761998144,"raw_latitude":102076712,"longitude_deg":76.1998144,"latitude_deg":10.2076712,"altitude":10,"angle":350,"satellites":45,"speed":52,"hex_longitude":"2d6b2b40","hex_latitude":"06159128","is_valid_coordinates":true} 
[2026-07-08 00:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563068928001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132377652341243904,"note":"Value kept but may cause issues"} 
[2026-07-08 00:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7723532649581142016,"note":"Value kept but may cause issues"} 
[2026-07-08 00:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783449496000,"timestamp_ms":1783449496000,"timestamp_seconds":1783449496,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ddfa9c0"} 
[2026-07-08 00:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-08 00:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126962,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126962,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563068928001,"66":27821,"135":206,"19":40704,"24":52,"16":132377652341243904,"45":7723532649581142016},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,19,24,16,45]} 
[2026-07-08 00:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563068928001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:10:08] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-08 00:10:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-08 00:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132377652341243904,"km_value":132377652341243.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":7723532649581142016,"description":"Unknown IO ID 45"} 
[2026-07-08 00:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563068928001,"power":27821,"unknown_135":206,"unknown_19":40704,"ignition":52,"odometer":null,"unknown_45":7723532649581142016}} 
[2026-07-08 00:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":126962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448437,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:10:08] local.INFO: GPS data processed {"connection_id":126962,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:10:08] local.INFO: Acknowledgment sent {"connection_id":126962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:10:34] local.INFO: TCP Data received {"connection_id":124971,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ddd1d68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 00:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ddd1d68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 00:10:34] local.INFO: Processing buffer {"connection_id":124971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ddd1d68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 00:10:34] local.INFO: Packet analysis {"connection_id":124971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ddd"} 
[2026-07-08 00:10:34] local.INFO: Extracted packet for processing {"connection_id":124971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ddd"} 
[2026-07-08 00:10:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562951168001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783449329000,"timestamp_ms":1783449329000,"timestamp_seconds":1783449329,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ddd1d68"} 
[2026-07-08 00:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:10: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-07-08 00: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-07-08 00:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:10: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-07-08 00:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562951168001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562951168001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:10:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:10:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562951168001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":124971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:10:34] local.INFO: GPS data processed {"connection_id":124971,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:10:34] local.INFO: Acknowledgment sent {"connection_id":124971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:10:39] local.INFO: TCP Data received {"connection_id":126962,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de0fd98012d6a970006176680000d016030..."} 
[2026-07-08 00:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de0fd98012d6a970006176680000d016030..."} 
[2026-07-08 00:10:39] local.INFO: Processing buffer {"connection_id":126962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de0fd98012d6a970006176680000d016030..."} 
[2026-07-08 00:10:39] local.INFO: Packet analysis {"connection_id":126962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de0"} 
[2026-07-08 00:10:39] local.INFO: Extracted packet for processing {"connection_id":126962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de0"} 
[2026-07-08 00:10:39] local.INFO: GPS Element Parsed {"raw_longitude":761960192,"raw_latitude":102196864,"longitude_deg":76.1960192,"latitude_deg":10.2196864,"altitude":13,"angle":352,"satellites":48,"speed":57,"hex_longitude":"2d6a9700","hex_latitude":"06176680","is_valid_coordinates":true} 
[2026-07-08 00:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563091456001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132383768374673408,"note":"Value kept but may cause issues"} 
[2026-07-08 00:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7682226196779612160,"note":"Value kept but may cause issues"} 
[2026-07-08 00:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783449583000,"timestamp_ms":1783449583000,"timestamp_seconds":1783449583,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de0fd98"} 
[2026-07-08 00:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 00:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126962,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126962,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563091456001,"66":27876,"149":206,"19":40704,"24":57,"16":132383768374673408,"45":7682226196779612160},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,19,24,16,45]} 
[2026-07-08 00:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563091456001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:10:39] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-08 00:10:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-08 00:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132383768374673408,"km_value":132383768374673.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":7682226196779612160,"description":"Unknown IO ID 45"} 
[2026-07-08 00:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563091456001,"power":27876,"unknown_149":206,"unknown_19":40704,"ignition":57,"odometer":null,"unknown_45":7682226196779612160}} 
[2026-07-08 00:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":126962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448439,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:10:39] local.INFO: GPS data processed {"connection_id":126962,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:10:39] local.INFO: Acknowledgment sent {"connection_id":126962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:10:58] local.INFO: TCP Data received {"connection_id":124972,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:10:58] local.INFO: Processing buffer {"connection_id":124972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:10:58] local.INFO: IMEI packet received {"connection_id":124972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":124972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:11:03] local.INFO: TCP Data received {"connection_id":124972,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:11:03] local.INFO: Processing buffer {"connection_id":124972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:11:03] local.INFO: IMEI packet received {"connection_id":124972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":124972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:11:03] local.INFO: TCP Data received {"connection_id":124972,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ddd1d68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 00:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ddd1d68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 00:11:03] local.INFO: Processing buffer {"connection_id":124972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ddd1d68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 00:11:03] local.INFO: Packet analysis {"connection_id":124972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ddd"} 
[2026-07-08 00:11:03] local.INFO: Extracted packet for processing {"connection_id":124972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ddd"} 
[2026-07-08 00:11:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456562951168001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783449329000,"timestamp_ms":1783449329000,"timestamp_seconds":1783449329,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ddd1d68"} 
[2026-07-08 00:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456562951168001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456562951168001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:11:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:11:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456562951168001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":124972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:11:03] local.INFO: GPS data processed {"connection_id":124972,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:11:03] local.INFO: Acknowledgment sent {"connection_id":124972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:11:34] local.INFO: TCP Data received {"connection_id":124873,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124873,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:11:34] local.INFO: Processing buffer {"connection_id":124873,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:11:34] local.INFO: IMEI packet received {"connection_id":124873,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":124873,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:11:34] local.INFO: TCP Data received {"connection_id":124873,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124873,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:11:34] local.INFO: Processing buffer {"connection_id":124873,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:11:34] local.INFO: IMEI packet received {"connection_id":124873,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":124873,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:11:38] local.INFO: TCP Data received {"connection_id":124873,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124873,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:11:38] local.INFO: Processing buffer {"connection_id":124873,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:11:38] local.INFO: IMEI packet received {"connection_id":124873,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":124873,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:11:39] local.INFO: TCP Data received {"connection_id":124972,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de1b530012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de1b530012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:11:39] local.INFO: Processing buffer {"connection_id":124972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de1b530012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:11:39] local.INFO: Packet analysis {"connection_id":124972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de1"} 
[2026-07-08 00:11:39] local.INFO: Extracted packet for processing {"connection_id":124972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de1"} 
[2026-07-08 00:11:39] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563028224001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783449630000,"timestamp_ms":1783449630000,"timestamp_seconds":1783449630,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de1b530"} 
[2026-07-08 00:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 00:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563028224001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563028224001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:11:39] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:11:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563028224001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":124972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:11:39] local.INFO: GPS data processed {"connection_id":124972,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:11:39] local.INFO: Acknowledgment sent {"connection_id":124972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:11:39] local.INFO: TCP Data received {"connection_id":124873,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de11508012d6a930006178928000e01622f..."} 
[2026-07-08 00:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de11508012d6a930006178928000e01622f..."} 
[2026-07-08 00:11:39] local.INFO: Processing buffer {"connection_id":124873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de11508012d6a930006178928000e01622f..."} 
[2026-07-08 00:11:39] local.INFO: Packet analysis {"connection_id":124873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de1"} 
[2026-07-08 00:11:39] local.INFO: Extracted packet for processing {"connection_id":124873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de1"} 
[2026-07-08 00:11:39] local.INFO: GPS Element Parsed {"raw_longitude":761959168,"raw_latitude":102205736,"longitude_deg":76.1959168,"latitude_deg":10.2205736,"altitude":14,"angle":354,"satellites":47,"speed":59,"hex_longitude":"2d6a9300","hex_latitude":"06178928","is_valid_coordinates":true} 
[2026-07-08 00:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563093248001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132384202166370304,"note":"Value kept but may cause issues"} 
[2026-07-08 00:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7680607715666067456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783449589000,"timestamp_ms":1783449589000,"timestamp_seconds":1783449589,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de11508"} 
[2026-07-08 00:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 00:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124873,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124873,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563093248001,"66":27984,"149":206,"19":40704,"24":59,"16":132384202166370304,"45":7680607715666067456},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,19,24,16,45]} 
[2026-07-08 00:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563093248001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:11:39] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-08 00:11:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-08 00:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132384202166370304,"km_value":132384202166370.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":7680607715666067456,"description":"Unknown IO ID 45"} 
[2026-07-08 00:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563093248001,"power":27984,"unknown_149":206,"unknown_19":40704,"ignition":59,"odometer":null,"unknown_45":7680607715666067456}} 
[2026-07-08 00:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":124873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448442,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:11:39] local.INFO: GPS data processed {"connection_id":124873,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:11:39] local.INFO: Acknowledgment sent {"connection_id":124873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:12:03] local.INFO: TCP Data received {"connection_id":125705,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:12:03] local.INFO: Processing buffer {"connection_id":125705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:12:03] local.INFO: IMEI packet received {"connection_id":125705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":125705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:12:03] local.INFO: TCP Data received {"connection_id":124973,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124973,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:12:03] local.INFO: Processing buffer {"connection_id":124973,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:12:03] local.INFO: IMEI packet received {"connection_id":124973,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":124973,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:12:04] local.INFO: TCP Data received {"connection_id":124973,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124973,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:12:04] local.INFO: Processing buffer {"connection_id":124973,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:12:04] local.INFO: IMEI packet received {"connection_id":124973,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":124973,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:12:08] local.INFO: TCP Data received {"connection_id":125705,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:12:08] local.INFO: Processing buffer {"connection_id":125705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:12:08] local.INFO: IMEI packet received {"connection_id":125705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":125705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:12:08] local.INFO: TCP Data received {"connection_id":124973,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124973,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:12:08] local.INFO: Processing buffer {"connection_id":124973,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:12:08] local.INFO: IMEI packet received {"connection_id":124973,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":124973,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:12:09] local.INFO: TCP Data received {"connection_id":125705,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de1b530012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de1b530012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:12:09] local.INFO: Processing buffer {"connection_id":125705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de1b530012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:12:09] local.INFO: Packet analysis {"connection_id":125705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de1"} 
[2026-07-08 00:12:09] local.INFO: Extracted packet for processing {"connection_id":125705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de1"} 
[2026-07-08 00:12:09] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563028224001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783449630000,"timestamp_ms":1783449630000,"timestamp_seconds":1783449630,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de1b530"} 
[2026-07-08 00:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 00:12: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-07-08 00:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563028224001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563028224001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:12:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:12:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563028224001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":125705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:12:09] local.INFO: GPS data processed {"connection_id":125705,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:12:09] local.INFO: Acknowledgment sent {"connection_id":125705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:12:09] local.INFO: TCP Data received {"connection_id":124973,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de12c78012d6a90c00617ac78000e01652e..."} 
[2026-07-08 00:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de12c78012d6a90c00617ac78000e01652e..."} 
[2026-07-08 00:12:09] local.INFO: Processing buffer {"connection_id":124973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de12c78012d6a90c00617ac78000e01652e..."} 
[2026-07-08 00:12:09] local.INFO: Packet analysis {"connection_id":124973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de1"} 
[2026-07-08 00:12:09] local.INFO: Extracted packet for processing {"connection_id":124973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de1"} 
[2026-07-08 00:12:09] local.INFO: GPS Element Parsed {"raw_longitude":761958592,"raw_latitude":102214776,"longitude_deg":76.1958592,"latitude_deg":10.2214776,"altitude":14,"angle":357,"satellites":46,"speed":58,"hex_longitude":"2d6a90c0","hex_latitude":"0617ac78","is_valid_coordinates":true} 
[2026-07-08 00:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563094784001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132384640253034496,"note":"Value kept but may cause issues"} 
[2026-07-08 00:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7679481815761496064,"note":"Value kept but may cause issues"} 
[2026-07-08 00:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783449595000,"timestamp_ms":1783449595000,"timestamp_seconds":1783449595,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de12c78"} 
[2026-07-08 00:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-08 00:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124973,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124973,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563094784001,"66":27930,"149":206,"19":40704,"24":58,"16":132384640253034496,"45":7679481815761496064},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,19,24,16,45]} 
[2026-07-08 00:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563094784001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:12:09] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-08 00:12:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-08 00:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132384640253034496,"km_value":132384640253034.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":7679481815761496064,"description":"Unknown IO ID 45"} 
[2026-07-08 00:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563094784001,"power":27930,"unknown_149":206,"unknown_19":40704,"ignition":58,"odometer":null,"unknown_45":7679481815761496064}} 
[2026-07-08 00:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":124973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448444,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:12:09] local.INFO: GPS data processed {"connection_id":124973,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:12:09] local.INFO: Acknowledgment sent {"connection_id":124973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:12:13] local.INFO: TCP Data received {"connection_id":125705,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de1b530012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de1b530012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:12:13] local.INFO: Processing buffer {"connection_id":125705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de1b530012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:12:13] local.INFO: Packet analysis {"connection_id":125705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de1"} 
[2026-07-08 00:12:13] local.INFO: Extracted packet for processing {"connection_id":125705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de1"} 
[2026-07-08 00:12:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563028224001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783449630000,"timestamp_ms":1783449630000,"timestamp_seconds":1783449630,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de1b530"} 
[2026-07-08 00:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 00:12:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:12:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563028224001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563028224001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:12:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:12:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563028224001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":125705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:12:13] local.INFO: GPS data processed {"connection_id":125705,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:12:13] local.INFO: Acknowledgment sent {"connection_id":125705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:12:41] local.INFO: TCP Data received {"connection_id":124973,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de2b700012d6a714006194138000c015c29..."} 
[2026-07-08 00:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de2b700012d6a714006194138000c015c29..."} 
[2026-07-08 00:12:41] local.INFO: Processing buffer {"connection_id":124973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de2b700012d6a714006194138000c015c29..."} 
[2026-07-08 00:12:41] local.INFO: Packet analysis {"connection_id":124973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de2"} 
[2026-07-08 00:12:41] local.INFO: Extracted packet for processing {"connection_id":124973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de2"} 
[2026-07-08 00:12:41] local.INFO: GPS Element Parsed {"raw_longitude":761950528,"raw_latitude":102318392,"longitude_deg":76.1950528,"latitude_deg":10.2318392,"altitude":12,"angle":348,"satellites":41,"speed":35,"hex_longitude":"2d6a7140","hex_latitude":"06194138","is_valid_coordinates":true} 
[2026-07-08 00:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563119616001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132389695429541888,"note":"Value kept but may cause issues"} 
[2026-07-08 00:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7671741253928439808,"note":"Value kept but may cause issues"} 
[2026-07-08 00:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783449696000,"timestamp_ms":1783449696000,"timestamp_seconds":1783449696,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de2b700"} 
[2026-07-08 00:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 00:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124973,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124973,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563119616001,"66":27908,"6":206,"19":40704,"24":35,"16":132389695429541888,"45":7671741253928439808},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,19,24,16,45]} 
[2026-07-08 00:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563119616001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:12:41] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-07-08 00:12:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-08 00:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132389695429541888,"km_value":132389695429541.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":7671741253928439808,"description":"Unknown IO ID 45"} 
[2026-07-08 00:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563119616001,"power":27908,"unknown_6":206,"unknown_19":40704,"ignition":35,"odometer":null,"unknown_45":7671741253928439808}} 
[2026-07-08 00:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":124973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448446,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:12:41] local.INFO: GPS data processed {"connection_id":124973,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:12:41] local.INFO: Acknowledgment sent {"connection_id":124973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:12:58] local.INFO: TCP Data received {"connection_id":124974,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:12:58] local.INFO: Processing buffer {"connection_id":124974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:12:58] local.INFO: IMEI packet received {"connection_id":124974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":124974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:12:58] local.INFO: TCP Data received {"connection_id":124874,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124874,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:12:58] local.INFO: Processing buffer {"connection_id":124874,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:12:58] local.INFO: IMEI packet received {"connection_id":124874,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":124874,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:13:03] local.INFO: TCP Data received {"connection_id":124974,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:13:03] local.INFO: Processing buffer {"connection_id":124974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:13:03] local.INFO: IMEI packet received {"connection_id":124974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":124974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:13:03] local.INFO: TCP Data received {"connection_id":124874,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124874,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:13:03] local.INFO: Processing buffer {"connection_id":124874,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:13:03] local.INFO: IMEI packet received {"connection_id":124874,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":124874,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:13:03] local.INFO: TCP Data received {"connection_id":124974,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de1b530012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de1b530012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:13:03] local.INFO: Processing buffer {"connection_id":124974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de1b530012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:13:03] local.INFO: Packet analysis {"connection_id":124974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de1"} 
[2026-07-08 00:13:03] local.INFO: Extracted packet for processing {"connection_id":124974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de1"} 
[2026-07-08 00:13:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563028224001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783449630000,"timestamp_ms":1783449630000,"timestamp_seconds":1783449630,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de1b530"} 
[2026-07-08 00:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00: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-07-08 00:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563028224001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563028224001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:13:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:13:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563028224001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":124974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:13:03] local.INFO: GPS data processed {"connection_id":124974,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:13:03] local.INFO: Acknowledgment sent {"connection_id":124974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:13:04] local.INFO: TCP Data received {"connection_id":124874,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de2e5e0012d6a6800061963f8000d015528..."} 
[2026-07-08 00:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de2e5e0012d6a6800061963f8000d015528..."} 
[2026-07-08 00:13:04] local.INFO: Processing buffer {"connection_id":124874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de2e5e0012d6a6800061963f8000d015528..."} 
[2026-07-08 00:13:04] local.INFO: Packet analysis {"connection_id":124874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de2"} 
[2026-07-08 00:13:04] local.INFO: Extracted packet for processing {"connection_id":124874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de2"} 
[2026-07-08 00:13:04] local.INFO: GPS Element Parsed {"raw_longitude":761948160,"raw_latitude":102327288,"longitude_deg":76.194816,"latitude_deg":10.2327288,"altitude":13,"angle":341,"satellites":40,"speed":22,"hex_longitude":"2d6a6800","hex_latitude":"061963f8","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563122176001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132390142106140672,"note":"Value kept but may cause issues"} 
[2026-07-08 00:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7669982035326351360,"note":"Value kept but may cause issues"} 
[2026-07-08 00:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783449708000,"timestamp_ms":1783449708000,"timestamp_seconds":1783449708,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de2e5e0"} 
[2026-07-08 00:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:13: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-07-08 00: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 00:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563122176001,"66":27832,"6":206,"19":40704,"24":22,"16":132390142106140672,"45":7669982035326351360},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,19,24,16,45]} 
[2026-07-08 00:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563122176001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:13:04] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-07-08 00:13:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-08 00:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132390142106140672,"km_value":132390142106140.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7669982035326351360,"description":"Unknown IO ID 45"} 
[2026-07-08 00:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563122176001,"power":27832,"unknown_6":206,"unknown_19":40704,"ignition":22,"odometer":null,"unknown_45":7669982035326351360}} 
[2026-07-08 00:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":124874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448448,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:13:05] local.INFO: GPS data processed {"connection_id":124874,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:13:05] local.INFO: Acknowledgment sent {"connection_id":124874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:13:35] local.INFO: TCP Data received {"connection_id":124974,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de1b530012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de1b530012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:13:35] local.INFO: Processing buffer {"connection_id":124974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de1b530012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:13:35] local.INFO: Packet analysis {"connection_id":124974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de1"} 
[2026-07-08 00:13:35] local.INFO: Extracted packet for processing {"connection_id":124974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de1"} 
[2026-07-08 00:13:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563028224001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783449630000,"timestamp_ms":1783449630000,"timestamp_seconds":1783449630,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de1b530"} 
[2026-07-08 00:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 00:13: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-07-08 00:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563028224001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563028224001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:13:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:13:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563028224001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":124974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:13:35] local.INFO: GPS data processed {"connection_id":124974,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:13:35] local.INFO: Acknowledgment sent {"connection_id":124974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:13:36] local.INFO: TCP Data received {"connection_id":124874,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de318a8012d6a5b00061985a0001101522a..."} 
[2026-07-08 00:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de318a8012d6a5b00061985a0001101522a..."} 
[2026-07-08 00:13:36] local.INFO: Processing buffer {"connection_id":124874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de318a8012d6a5b00061985a0001101522a..."} 
[2026-07-08 00:13:36] local.INFO: Packet analysis {"connection_id":124874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de3"} 
[2026-07-08 00:13:36] local.INFO: Extracted packet for processing {"connection_id":124874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de3"} 
[2026-07-08 00:13:36] local.INFO: GPS Element Parsed {"raw_longitude":761944832,"raw_latitude":102335904,"longitude_deg":76.1944832,"latitude_deg":10.2335904,"altitude":17,"angle":338,"satellites":42,"speed":30,"hex_longitude":"2d6a5b00","hex_latitude":"061985a0","is_valid_coordinates":true} 
[2026-07-08 00:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563125248001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132390588782739456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7667378391794055168,"note":"Value kept but may cause issues"} 
[2026-07-08 00:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783449721000,"timestamp_ms":1783449721000,"timestamp_seconds":1783449721,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de318a8"} 
[2026-07-08 00:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-08 00:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563125248001,"66":27952,"5":206,"19":40704,"24":30,"16":132390588782739456,"45":7667378391794055168},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,19,24,16,45]} 
[2026-07-08 00:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563125248001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:13:36] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-08 00:13:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-08 00:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132390588782739456,"km_value":132390588782739.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":7667378391794055168,"description":"Unknown IO ID 45"} 
[2026-07-08 00:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563125248001,"power":27952,"unknown_5":206,"unknown_19":40704,"ignition":30,"odometer":null,"unknown_45":7667378391794055168}} 
[2026-07-08 00:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":124874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448450,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:13:36] local.INFO: GPS data processed {"connection_id":124874,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:13:36] local.INFO: Acknowledgment sent {"connection_id":124874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:13:58] local.INFO: TCP Data received {"connection_id":124875,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124875,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:13:58] local.INFO: Processing buffer {"connection_id":124875,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:13:58] local.INFO: IMEI packet received {"connection_id":124875,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":124875,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:13:58] local.INFO: TCP Data received {"connection_id":126963,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:13:58] local.INFO: Processing buffer {"connection_id":126963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:13:58] local.INFO: IMEI packet received {"connection_id":126963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":126963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:14:01] local.INFO: TCP Data received {"connection_id":124875,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124875,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:14:01] local.INFO: Processing buffer {"connection_id":124875,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:14:01] local.INFO: IMEI packet received {"connection_id":124875,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":124875,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:14:03] local.INFO: TCP Data received {"connection_id":124875,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124875,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:14:03] local.INFO: Processing buffer {"connection_id":124875,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:14:03] local.INFO: IMEI packet received {"connection_id":124875,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":124875,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:14:03] local.INFO: TCP Data received {"connection_id":126963,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:14:03] local.INFO: Processing buffer {"connection_id":126963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:14:03] local.INFO: IMEI packet received {"connection_id":126963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":126963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:14:03] local.INFO: TCP Data received {"connection_id":124875,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de34b70012d6a4f000619a8a00012015428..."} 
[2026-07-08 00:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de34b70012d6a4f000619a8a00012015428..."} 
[2026-07-08 00:14:03] local.INFO: Processing buffer {"connection_id":124875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de34b70012d6a4f000619a8a00012015428..."} 
[2026-07-08 00:14:03] local.INFO: Packet analysis {"connection_id":124875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de3"} 
[2026-07-08 00:14:03] local.INFO: Extracted packet for processing {"connection_id":124875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de3"} 
[2026-07-08 00:14:03] local.INFO: GPS Element Parsed {"raw_longitude":761941760,"raw_latitude":102344864,"longitude_deg":76.194176,"latitude_deg":10.2344864,"altitude":18,"angle":340,"satellites":40,"speed":33,"hex_longitude":"2d6a4f00","hex_latitude":"0619a8a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563128576001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132391048344240128,"note":"Value kept but may cause issues"} 
[2026-07-08 00:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7663719217099022336,"note":"Value kept but may cause issues"} 
[2026-07-08 00:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783449734000,"timestamp_ms":1783449734000,"timestamp_seconds":1783449734,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de34b70"} 
[2026-07-08 00:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:14: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-07-08 00: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-08 00:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124875,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124875,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563128576001,"66":27908,"5":206,"19":40704,"24":33,"16":132391048344240128,"45":7663719217099022336},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,19,24,16,45]} 
[2026-07-08 00:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563128576001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:14:03] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-08 00:14:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-08 00:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132391048344240128,"km_value":132391048344240.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7663719217099022336,"description":"Unknown IO ID 45"} 
[2026-07-08 00:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563128576001,"power":27908,"unknown_5":206,"unknown_19":40704,"ignition":33,"odometer":null,"unknown_45":7663719217099022336}} 
[2026-07-08 00:14:03] local.INFO: TCP Data received {"connection_id":126963,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de1b530012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de1b530012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:14:03] local.INFO: Processing buffer {"connection_id":126963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de1b530012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:14:03] local.INFO: Packet analysis {"connection_id":126963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de1"} 
[2026-07-08 00:14:03] local.INFO: Extracted packet for processing {"connection_id":126963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de1"} 
[2026-07-08 00:14:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563028224001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783449630000,"timestamp_ms":1783449630000,"timestamp_seconds":1783449630,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de1b530"} 
[2026-07-08 00:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 00:14: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-07-08 00: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-07-08 00:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563028224001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563028224001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:14:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:14:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563028224001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":124875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448451,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:14:03] local.INFO: GPS data processed {"connection_id":124875,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:14:03] local.INFO: Acknowledgment sent {"connection_id":124875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":126963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:14:03] local.INFO: GPS data processed {"connection_id":126963,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:14:03] local.INFO: Acknowledgment sent {"connection_id":126963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:14:09] local.INFO: TCP Data received {"connection_id":124875,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de37280012d6a42c00619cb780011015326..."} 
[2026-07-08 00:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de37280012d6a42c00619cb780011015326..."} 
[2026-07-08 00:14:09] local.INFO: Processing buffer {"connection_id":124875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de37280012d6a42c00619cb780011015326..."} 
[2026-07-08 00:14:09] local.INFO: Packet analysis {"connection_id":124875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de3"} 
[2026-07-08 00:14:09] local.INFO: Extracted packet for processing {"connection_id":124875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de3"} 
[2026-07-08 00:14:09] local.INFO: GPS Element Parsed {"raw_longitude":761938624,"raw_latitude":102353784,"longitude_deg":76.1938624,"latitude_deg":10.2353784,"altitude":17,"angle":339,"satellites":38,"speed":40,"hex_longitude":"2d6a42c0","hex_latitude":"0619cb78","is_valid_coordinates":true} 
[2026-07-08 00:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563131904001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132391507905740800,"note":"Value kept but may cause issues"} 
[2026-07-08 00:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7660341517380788224,"note":"Value kept but may cause issues"} 
[2026-07-08 00:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783449744000,"timestamp_ms":1783449744000,"timestamp_seconds":1783449744,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de37280"} 
[2026-07-08 00:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 00:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124875,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124875,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563131904001,"66":27974,"5":206,"19":40704,"24":40,"16":132391507905740800,"45":7660341517380788224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,19,24,16,45]} 
[2026-07-08 00:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563131904001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:14:09] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-08 00:14:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-08 00:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132391507905740800,"km_value":132391507905740.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":7660341517380788224,"description":"Unknown IO ID 45"} 
[2026-07-08 00:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563131904001,"power":27974,"unknown_5":206,"unknown_19":40704,"ignition":40,"odometer":null,"unknown_45":7660341517380788224}} 
[2026-07-08 00:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":124875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448453,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:14:09] local.INFO: GPS data processed {"connection_id":124875,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:14:09] local.INFO: Acknowledgment sent {"connection_id":124875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:14:35] local.INFO: TCP Data received {"connection_id":126963,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de1b530012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de1b530012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:14:35] local.INFO: Processing buffer {"connection_id":126963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de1b530012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:14:35] local.INFO: Packet analysis {"connection_id":126963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de1"} 
[2026-07-08 00:14:35] local.INFO: Extracted packet for processing {"connection_id":126963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de1"} 
[2026-07-08 00:14:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563028224001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783449630000,"timestamp_ms":1783449630000,"timestamp_seconds":1783449630,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de1b530"} 
[2026-07-08 00:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00: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-07-08 00:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563028224001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563028224001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:14:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:14:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563028224001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":126963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:14:35] local.INFO: GPS data processed {"connection_id":126963,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:14:35] local.INFO: Acknowledgment sent {"connection_id":126963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:14:40] local.INFO: TCP Data received {"connection_id":124875,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de395a8012d6a37800619ece00010015523..."} 
[2026-07-08 00:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de395a8012d6a37800619ece00010015523..."} 
[2026-07-08 00:14:40] local.INFO: Processing buffer {"connection_id":124875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de395a8012d6a37800619ece00010015523..."} 
[2026-07-08 00:14:40] local.INFO: Packet analysis {"connection_id":124875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de3"} 
[2026-07-08 00:14:40] local.INFO: Extracted packet for processing {"connection_id":124875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de3"} 
[2026-07-08 00:14:40] local.INFO: GPS Element Parsed {"raw_longitude":761935744,"raw_latitude":102362336,"longitude_deg":76.1935744,"latitude_deg":10.2362336,"altitude":16,"angle":341,"satellites":35,"speed":41,"hex_longitude":"2d6a3780","hex_latitude":"0619ece0","is_valid_coordinates":true} 
[2026-07-08 00:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563134464001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132391945992404992,"note":"Value kept but may cause issues"} 
[2026-07-08 00:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7656893448918366208,"note":"Value kept but may cause issues"} 
[2026-07-08 00:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783449753000,"timestamp_ms":1783449753000,"timestamp_seconds":1783449753,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de395a8"} 
[2026-07-08 00:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-08 00:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124875,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124875,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563134464001,"66":27876,"5":206,"19":40704,"24":41,"16":132391945992404992,"45":7656893448918366208},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,19,24,16,45]} 
[2026-07-08 00:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563134464001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:14:40] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-08 00:14:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-08 00:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132391945992404992,"km_value":132391945992404.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":7656893448918366208,"description":"Unknown IO ID 45"} 
[2026-07-08 00:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563134464001,"power":27876,"unknown_5":206,"unknown_19":40704,"ignition":41,"odometer":null,"unknown_45":7656893448918366208}} 
[2026-07-08 00:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":124875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448455,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:14:40] local.INFO: GPS data processed {"connection_id":124875,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:14:40] local.INFO: Acknowledgment sent {"connection_id":124875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:14:57] local.INFO: TCP Data received {"connection_id":124975,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:14:57] local.INFO: Processing buffer {"connection_id":124975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:14:57] local.INFO: IMEI packet received {"connection_id":124975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":124975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:14:58] local.INFO: TCP Data received {"connection_id":124876,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:14:58] local.INFO: Processing buffer {"connection_id":124876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:14:58] local.INFO: IMEI packet received {"connection_id":124876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":124876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:15:03] local.INFO: TCP Data received {"connection_id":124975,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:15:03] local.INFO: Processing buffer {"connection_id":124975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:15:03] local.INFO: IMEI packet received {"connection_id":124975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":124975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:15:03] local.INFO: TCP Data received {"connection_id":124876,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:15:03] local.INFO: Processing buffer {"connection_id":124876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:15:03] local.INFO: IMEI packet received {"connection_id":124876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":124876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:15:03] local.INFO: TCP Data received {"connection_id":124975,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de1b530012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de1b530012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:15:03] local.INFO: Processing buffer {"connection_id":124975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de1b530012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:15:03] local.INFO: Packet analysis {"connection_id":124975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de1"} 
[2026-07-08 00:15:03] local.INFO: Extracted packet for processing {"connection_id":124975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de1"} 
[2026-07-08 00:15:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563028224001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783449630000,"timestamp_ms":1783449630000,"timestamp_seconds":1783449630,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de1b530"} 
[2026-07-08 00:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 00:15: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-07-08 00: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-07-08 00:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563028224001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563028224001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:15:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:15:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563028224001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":124975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:15:03] local.INFO: GPS data processed {"connection_id":124975,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:15:03] local.INFO: Acknowledgment sent {"connection_id":124975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:15:04] local.INFO: TCP Data received {"connection_id":124876,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de3b8d0012d6a2e80061a10d8000e015c28..."} 
[2026-07-08 00:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de3b8d0012d6a2e80061a10d8000e015c28..."} 
[2026-07-08 00:15:04] local.INFO: Processing buffer {"connection_id":124876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de3b8d0012d6a2e80061a10d8000e015c28..."} 
[2026-07-08 00:15:04] local.INFO: Packet analysis {"connection_id":124876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de3"} 
[2026-07-08 00:15:04] local.INFO: Extracted packet for processing {"connection_id":124876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de3"} 
[2026-07-08 00:15:04] local.INFO: GPS Element Parsed {"raw_longitude":761933440,"raw_latitude":102371544,"longitude_deg":76.193344,"latitude_deg":10.2371544,"altitude":14,"angle":348,"satellites":40,"speed":42,"hex_longitude":"2d6a2e80","hex_latitude":"061a10d8","is_valid_coordinates":true} 
[2026-07-08 00:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563136768001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132392405553905664,"note":"Value kept but may cause issues"} 
[2026-07-08 00:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7653726855432560640,"note":"Value kept but may cause issues"} 
[2026-07-08 00:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783449762000,"timestamp_ms":1783449762000,"timestamp_seconds":1783449762,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de3b8d0"} 
[2026-07-08 00:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:15: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-07-08 00:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 00:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563136768001,"66":27984,"5":206,"19":40704,"24":42,"16":132392405553905664,"45":7653726855432560640},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,19,24,16,45]} 
[2026-07-08 00:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563136768001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:15:04] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-08 00:15:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-08 00:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132392405553905664,"km_value":132392405553905.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7653726855432560640,"description":"Unknown IO ID 45"} 
[2026-07-08 00:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563136768001,"power":27984,"unknown_5":206,"unknown_19":40704,"ignition":42,"odometer":null,"unknown_45":7653726855432560640}} 
[2026-07-08 00:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":124876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448457,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:15:04] local.INFO: GPS data processed {"connection_id":124876,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:15:04] local.INFO: Acknowledgment sent {"connection_id":124876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:15:35] local.INFO: TCP Data received {"connection_id":124975,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de1b530012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de1b530012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:15:35] local.INFO: Processing buffer {"connection_id":124975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de1b530012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:15:35] local.INFO: Packet analysis {"connection_id":124975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de1"} 
[2026-07-08 00:15:35] local.INFO: Extracted packet for processing {"connection_id":124975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de1"} 
[2026-07-08 00:15:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563028224001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783449630000,"timestamp_ms":1783449630000,"timestamp_seconds":1783449630,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de1b530"} 
[2026-07-08 00:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 00:15: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-07-08 00: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-07-08 00:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563028224001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563028224001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:15:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:15:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563028224001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":124975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:15:35] local.INFO: GPS data processed {"connection_id":124975,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:15:35] local.INFO: Acknowledgment sent {"connection_id":124975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:15:37] local.INFO: TCP Data received {"connection_id":124876,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de3dbf8012d6a2300061a3580000b015328..."} 
[2026-07-08 00:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de3dbf8012d6a2300061a3580000b015328..."} 
[2026-07-08 00:15:37] local.INFO: Processing buffer {"connection_id":124876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de3dbf8012d6a2300061a3580000b015328..."} 
[2026-07-08 00:15:37] local.INFO: Packet analysis {"connection_id":124876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de3"} 
[2026-07-08 00:15:37] local.INFO: Extracted packet for processing {"connection_id":124876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de3"} 
[2026-07-08 00:15:37] local.INFO: GPS Element Parsed {"raw_longitude":761930496,"raw_latitude":102380928,"longitude_deg":76.1930496,"latitude_deg":10.2380928,"altitude":11,"angle":339,"satellites":40,"speed":43,"hex_longitude":"2d6a2300","hex_latitude":"061a3580","is_valid_coordinates":true} 
[2026-07-08 00:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563139072001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132392882295275520,"note":"Value kept but may cause issues"} 
[2026-07-08 00:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7651193580644521984,"note":"Value kept but may cause issues"} 
[2026-07-08 00:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783449771000,"timestamp_ms":1783449771000,"timestamp_seconds":1783449771,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de3dbf8"} 
[2026-07-08 00:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-08 00:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563139072001,"66":27941,"53":206,"19":40704,"24":43,"16":132392882295275520,"45":7651193580644521984},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,19,24,16,45]} 
[2026-07-08 00:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563139072001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:15:37] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-08 00:15:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-08 00:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132392882295275520,"km_value":132392882295275.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7651193580644521984,"description":"Unknown IO ID 45"} 
[2026-07-08 00:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563139072001,"power":27941,"unknown_53":206,"unknown_19":40704,"ignition":43,"odometer":null,"unknown_45":7651193580644521984}} 
[2026-07-08 00:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":124876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448459,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:15:37] local.INFO: GPS data processed {"connection_id":124876,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:15:37] local.INFO: Acknowledgment sent {"connection_id":124876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:15:57] local.INFO: TCP Data received {"connection_id":126964,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:15:57] local.INFO: Processing buffer {"connection_id":126964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:15:57] local.INFO: IMEI packet received {"connection_id":126964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":126964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:16:00] local.INFO: TCP Data received {"connection_id":126965,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126965,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:16:00] local.INFO: Processing buffer {"connection_id":126965,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:16:00] local.INFO: IMEI packet received {"connection_id":126965,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":126965,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:16:02] local.INFO: TCP Data received {"connection_id":126965,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126965,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:16:03] local.INFO: Processing buffer {"connection_id":126965,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:16:03] local.INFO: IMEI packet received {"connection_id":126965,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":126965,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:16:03] local.INFO: TCP Data received {"connection_id":126964,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:16:03] local.INFO: Processing buffer {"connection_id":126964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:16:03] local.INFO: IMEI packet received {"connection_id":126964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":126964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:16:04] local.INFO: TCP Data received {"connection_id":126964,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de1b530012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de1b530012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:16:04] local.INFO: Processing buffer {"connection_id":126964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de1b530012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:16:04] local.INFO: Packet analysis {"connection_id":126964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de1"} 
[2026-07-08 00:16:04] local.INFO: Extracted packet for processing {"connection_id":126964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de1"} 
[2026-07-08 00:16:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563028224001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783449630000,"timestamp_ms":1783449630000,"timestamp_seconds":1783449630,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de1b530"} 
[2026-07-08 00:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00: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-07-08 00: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-07-08 00:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563028224001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563028224001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:16:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:16:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563028224001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":126964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:16:04] local.INFO: GPS data processed {"connection_id":126964,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:16:04] local.INFO: Acknowledgment sent {"connection_id":126964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:16:07] local.INFO: TCP Data received {"connection_id":126965,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126965,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:16:08] local.INFO: Processing buffer {"connection_id":126965,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:16:08] local.INFO: IMEI packet received {"connection_id":126965,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":126965,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:16:08] local.INFO: TCP Data received {"connection_id":126965,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de5cc10012d696a00061bc238000b01582b..."} 
[2026-07-08 00:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de5cc10012d696a00061bc238000b01582b..."} 
[2026-07-08 00:16:09] local.INFO: Processing buffer {"connection_id":126965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de5cc10012d696a00061bc238000b01582b..."} 
[2026-07-08 00:16:09] local.INFO: Packet analysis {"connection_id":126965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de5"} 
[2026-07-08 00:16:09] local.INFO: Extracted packet for processing {"connection_id":126965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de5"} 
[2026-07-08 00:16:09] local.INFO: GPS Element Parsed {"raw_longitude":761883136,"raw_latitude":102482488,"longitude_deg":76.1883136,"latitude_deg":10.2482488,"altitude":11,"angle":344,"satellites":43,"speed":21,"hex_longitude":"2d696a00","hex_latitude":"061bc238","is_valid_coordinates":true} 
[2026-07-08 00:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563171072001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132398311133937664,"note":"Value kept but may cause issues"} 
[2026-07-08 00:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7600457716118675456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783449898000,"timestamp_ms":1783449898000,"timestamp_seconds":1783449898,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de5cc10"} 
[2026-07-08 00:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 00:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126965,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126965,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563171072001,"66":27843,"55":206,"19":40704,"24":21,"16":132398311133937664,"45":7600457716118675456},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,19,24,16,45]} 
[2026-07-08 00:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563171072001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:16:09] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-07-08 00:16:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-08 00:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132398311133937664,"km_value":132398311133937.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":7600457716118675456,"description":"Unknown IO ID 45"} 
[2026-07-08 00:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563171072001,"power":27843,"unknown_55":206,"unknown_19":40704,"ignition":21,"odometer":null,"unknown_45":7600457716118675456}} 
[2026-07-08 00:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":126965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448461,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:16:09] local.INFO: GPS data processed {"connection_id":126965,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:16:09] local.INFO: Acknowledgment sent {"connection_id":126965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:16:34] local.INFO: TCP Data received {"connection_id":126964,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de64cf8012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de64cf8012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:16:34] local.INFO: Processing buffer {"connection_id":126964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de64cf8012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:16:34] local.INFO: Packet analysis {"connection_id":126964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de6"} 
[2026-07-08 00:16:34] local.INFO: Extracted packet for processing {"connection_id":126964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de6"} 
[2026-07-08 00:16:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563105280001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783449931000,"timestamp_ms":1783449931000,"timestamp_seconds":1783449931,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de64cf8"} 
[2026-07-08 00:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:16: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-07-08 00: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-07-08 00:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563105280001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563105280001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:16:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:16:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563105280001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":126964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:16:34] local.INFO: GPS data processed {"connection_id":126964,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:16:34] local.INFO: Acknowledgment sent {"connection_id":126964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:16:41] local.INFO: TCP Data received {"connection_id":126965,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de5cff8012d6969c0061bc428000b01642b..."} 
[2026-07-08 00:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de5cff8012d6969c0061bc428000b01642b..."} 
[2026-07-08 00:16:41] local.INFO: Processing buffer {"connection_id":126965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de5cff8012d6969c0061bc428000b01642b..."} 
[2026-07-08 00:16:41] local.INFO: Packet analysis {"connection_id":126965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de5"} 
[2026-07-08 00:16:41] local.INFO: Extracted packet for processing {"connection_id":126965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de5"} 
[2026-07-08 00:16:41] local.INFO: GPS Element Parsed {"raw_longitude":761883072,"raw_latitude":102482984,"longitude_deg":76.1883072,"latitude_deg":10.2482984,"altitude":11,"angle":356,"satellites":43,"speed":20,"hex_longitude":"2d6969c0","hex_latitude":"061bc428","is_valid_coordinates":true} 
[2026-07-08 00:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563173888001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132398332608774144,"note":"Value kept but may cause issues"} 
[2026-07-08 00:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7595883747749279744,"note":"Value kept but may cause issues"} 
[2026-07-08 00:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783449899000,"timestamp_ms":1783449899000,"timestamp_seconds":1783449899,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de5cff8"} 
[2026-07-08 00:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 00:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":126965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":126965,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":126965,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563173888001,"66":27984,"55":206,"19":40704,"24":20,"16":132398332608774144,"45":7595883747749279744},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,19,24,16,45]} 
[2026-07-08 00:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563173888001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:16:41] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-07-08 00:16:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-08 00:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132398332608774144,"km_value":132398332608774.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":7595883747749279744,"description":"Unknown IO ID 45"} 
[2026-07-08 00:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563173888001,"power":27984,"unknown_55":206,"unknown_19":40704,"ignition":20,"odometer":null,"unknown_45":7595883747749279744}} 
[2026-07-08 00:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":126965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448463,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:16:41] local.INFO: GPS data processed {"connection_id":126965,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:16:41] local.INFO: Acknowledgment sent {"connection_id":126965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:16:56] local.INFO: TCP Data received {"connection_id":126967,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126967,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:16:56] local.INFO: Processing buffer {"connection_id":126967,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:16:56] local.INFO: IMEI packet received {"connection_id":126967,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":126967,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:16:57] local.INFO: TCP Data received {"connection_id":126967,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126967,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:16:57] local.INFO: Processing buffer {"connection_id":126967,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:16:57] local.INFO: IMEI packet received {"connection_id":126967,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":126967,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:16:58] local.INFO: TCP Data received {"connection_id":126966,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:16:58] local.INFO: Processing buffer {"connection_id":126966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:16:58] local.INFO: IMEI packet received {"connection_id":126966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":126966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:17:03] local.INFO: TCP Data received {"connection_id":126967,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126967,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:17:03] local.INFO: Processing buffer {"connection_id":126967,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:17:03] local.INFO: IMEI packet received {"connection_id":126967,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":126967,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:17:03] local.INFO: TCP Data received {"connection_id":126966,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:17:03] local.INFO: Processing buffer {"connection_id":126966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:17:03] local.INFO: IMEI packet received {"connection_id":126966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":126966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:17:03] local.INFO: TCP Data received {"connection_id":126966,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de64cf8012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de64cf8012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:17:03] local.INFO: Processing buffer {"connection_id":126966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de64cf8012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:17:03] local.INFO: Packet analysis {"connection_id":126966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de6"} 
[2026-07-08 00:17:03] local.INFO: Extracted packet for processing {"connection_id":126966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de6"} 
[2026-07-08 00:17:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563105280001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783449931000,"timestamp_ms":1783449931000,"timestamp_seconds":1783449931,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de64cf8"} 
[2026-07-08 00:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563105280001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563105280001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:17:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:17:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563105280001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":126966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:17:03] local.INFO: GPS data processed {"connection_id":126966,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:17:03] local.INFO: Acknowledgment sent {"connection_id":126966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:17:06] local.INFO: TCP Data received {"connection_id":126967,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de5df98012d696880061bccf8000b01512b..."} 
[2026-07-08 00:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de5df98012d696880061bccf8000b01512b..."} 
[2026-07-08 00:17:06] local.INFO: Processing buffer {"connection_id":126967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de5df98012d696880061bccf8000b01512b..."} 
[2026-07-08 00:17:06] local.INFO: Packet analysis {"connection_id":126967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de5"} 
[2026-07-08 00:17:06] local.INFO: Extracted packet for processing {"connection_id":126967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de5"} 
[2026-07-08 00:17:06] local.INFO: GPS Element Parsed {"raw_longitude":761882752,"raw_latitude":102485240,"longitude_deg":76.1882752,"latitude_deg":10.248524,"altitude":11,"angle":337,"satellites":43,"speed":25,"hex_longitude":"2d696880","hex_latitude":"061bccf8","is_valid_coordinates":true} 
[2026-07-08 00:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563174144001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132398444277923840,"note":"Value kept but may cause issues"} 
[2026-07-08 00:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7595813379005229056,"note":"Value kept but may cause issues"} 
[2026-07-08 00:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783449903000,"timestamp_ms":1783449903000,"timestamp_seconds":1783449903,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de5df98"} 
[2026-07-08 00:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-08 00:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126967,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126967,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563174144001,"66":27952,"55":206,"19":40704,"24":25,"16":132398444277923840,"45":7595813379005229056},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,19,24,16,45]} 
[2026-07-08 00:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563174144001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:17:06] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-07-08 00:17:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-08 00:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132398444277923840,"km_value":132398444277923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7595813379005229056,"description":"Unknown IO ID 45"} 
[2026-07-08 00:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563174144001,"power":27952,"unknown_55":206,"unknown_19":40704,"ignition":25,"odometer":null,"unknown_45":7595813379005229056}} 
[2026-07-08 00:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":126967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448465,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:17:06] local.INFO: GPS data processed {"connection_id":126967,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:17:06] local.INFO: Acknowledgment sent {"connection_id":126967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:17:35] local.INFO: TCP Data received {"connection_id":126966,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de64cf8012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de64cf8012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:17:35] local.INFO: Processing buffer {"connection_id":126966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de64cf8012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:17:35] local.INFO: Packet analysis {"connection_id":126966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de6"} 
[2026-07-08 00:17:35] local.INFO: Extracted packet for processing {"connection_id":126966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de6"} 
[2026-07-08 00:17:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563105280001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783449931000,"timestamp_ms":1783449931000,"timestamp_seconds":1783449931,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de64cf8"} 
[2026-07-08 00:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:17: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-07-08 00:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:17: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-07-08 00:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563105280001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563105280001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:17:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:17:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563105280001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":126966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:17:35] local.INFO: GPS data processed {"connection_id":126966,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:17:35] local.INFO: Acknowledgment sent {"connection_id":126966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:17:38] local.INFO: TCP Data received {"connection_id":126967,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de76250012d689480061da428000c01462e..."} 
[2026-07-08 00:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de76250012d689480061da428000c01462e..."} 
[2026-07-08 00:17:38] local.INFO: Processing buffer {"connection_id":126967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de76250012d689480061da428000c01462e..."} 
[2026-07-08 00:17:38] local.INFO: Packet analysis {"connection_id":126967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de7"} 
[2026-07-08 00:17:38] local.INFO: Extracted packet for processing {"connection_id":126967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de7"} 
[2026-07-08 00:17:38] local.INFO: GPS Element Parsed {"raw_longitude":761828480,"raw_latitude":102605864,"longitude_deg":76.182848,"latitude_deg":10.2605864,"altitude":12,"angle":326,"satellites":46,"speed":59,"hex_longitude":"2d689480","hex_latitude":"061da428","is_valid_coordinates":true} 
[2026-07-08 00:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563198976001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132404878138933248,"note":"Value kept but may cause issues"} 
[2026-07-08 00:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7541207233552871424,"note":"Value kept but may cause issues"} 
[2026-07-08 00:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783450002000,"timestamp_ms":1783450002000,"timestamp_seconds":1783450002,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de76250"} 
[2026-07-08 00:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 00:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126967,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126967,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563198976001,"66":27952,"210":206,"19":40704,"24":59,"16":132404878138933248,"45":7541207233552871424},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,19,24,16,45]} 
[2026-07-08 00:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563198976001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:17:38] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-07-08 00:17:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-08 00:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132404878138933248,"km_value":132404878138933.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7541207233552871424,"description":"Unknown IO ID 45"} 
[2026-07-08 00:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563198976001,"power":27952,"unknown_210":206,"unknown_19":40704,"ignition":59,"odometer":null,"unknown_45":7541207233552871424}} 
[2026-07-08 00:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":126967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448467,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:17:38] local.INFO: GPS data processed {"connection_id":126967,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:17:38] local.INFO: Acknowledgment sent {"connection_id":126967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:17:57] local.INFO: TCP Data received {"connection_id":126969,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126969,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:17:57] local.INFO: Processing buffer {"connection_id":126969,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:17:57] local.INFO: IMEI packet received {"connection_id":126969,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":126969,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:17:58] local.INFO: TCP Data received {"connection_id":126968,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:17:58] local.INFO: Processing buffer {"connection_id":126968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:17:58] local.INFO: IMEI packet received {"connection_id":126968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":126968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:18:03] local.INFO: TCP Data received {"connection_id":126968,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:18:03] local.INFO: Processing buffer {"connection_id":126968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:18:03] local.INFO: IMEI packet received {"connection_id":126968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":126968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:18:03] local.INFO: TCP Data received {"connection_id":126969,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126969,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:18:03] local.INFO: Processing buffer {"connection_id":126969,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:18:03] local.INFO: IMEI packet received {"connection_id":126969,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":126969,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:18:03] local.INFO: TCP Data received {"connection_id":126968,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de64cf8012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de64cf8012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:18:03] local.INFO: Processing buffer {"connection_id":126968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de64cf8012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:18:03] local.INFO: Packet analysis {"connection_id":126968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de6"} 
[2026-07-08 00:18:03] local.INFO: Extracted packet for processing {"connection_id":126968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de6"} 
[2026-07-08 00:18:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563105280001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783449931000,"timestamp_ms":1783449931000,"timestamp_seconds":1783449931,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de64cf8"} 
[2026-07-08 00:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563105280001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563105280001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:18:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:18:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563105280001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":126968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:18:03] local.INFO: GPS data processed {"connection_id":126968,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:18:03] local.INFO: Acknowledgment sent {"connection_id":126968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:18:05] local.INFO: TCP Data received {"connection_id":126969,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de77da8012d687d80061dc548000b01442f..."} 
[2026-07-08 00:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de77da8012d687d80061dc548000b01442f..."} 
[2026-07-08 00:18:05] local.INFO: Processing buffer {"connection_id":126969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de77da8012d687d80061dc548000b01442f..."} 
[2026-07-08 00:18:05] local.INFO: Packet analysis {"connection_id":126969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de7"} 
[2026-07-08 00:18:05] local.INFO: Extracted packet for processing {"connection_id":126969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de7"} 
[2026-07-08 00:18:05] local.INFO: GPS Element Parsed {"raw_longitude":761822592,"raw_latitude":102614344,"longitude_deg":76.1822592,"latitude_deg":10.2614344,"altitude":11,"angle":324,"satellites":47,"speed":57,"hex_longitude":"2d687d80","hex_latitude":"061dc548","is_valid_coordinates":true} 
[2026-07-08 00:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563200512001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132405376355139584,"note":"Value kept but may cause issues"} 
[2026-07-08 00:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7535788840253138944,"note":"Value kept but may cause issues"} 
[2026-07-08 00:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783450009000,"timestamp_ms":1783450009000,"timestamp_seconds":1783450009,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de77da8"} 
[2026-07-08 00:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-08 00:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126969,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126969,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563200512001,"66":27626,"210":206,"19":40704,"24":57,"16":132405376355139584,"45":7535788840253138944},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,19,24,16,45]} 
[2026-07-08 00:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563200512001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:18:05] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-07-08 00:18:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-08 00:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132405376355139584,"km_value":132405376355139.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7535788840253138944,"description":"Unknown IO ID 45"} 
[2026-07-08 00:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563200512001,"power":27626,"unknown_210":206,"unknown_19":40704,"ignition":57,"odometer":null,"unknown_45":7535788840253138944}} 
[2026-07-08 00:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":126969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448469,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:18:05] local.INFO: GPS data processed {"connection_id":126969,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:18:05] local.INFO: Acknowledgment sent {"connection_id":126969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:18:35] local.INFO: TCP Data received {"connection_id":126968,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de64cf8012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de64cf8012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:18:35] local.INFO: Processing buffer {"connection_id":126968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de64cf8012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:18:35] local.INFO: Packet analysis {"connection_id":126968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de6"} 
[2026-07-08 00:18:35] local.INFO: Extracted packet for processing {"connection_id":126968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de6"} 
[2026-07-08 00:18:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563105280001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783449931000,"timestamp_ms":1783449931000,"timestamp_seconds":1783449931,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de64cf8"} 
[2026-07-08 00:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:18: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-07-08 00:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563105280001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563105280001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:18:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:18:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563105280001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":126968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:18:35] local.INFO: GPS data processed {"connection_id":126968,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:18:35] local.INFO: Acknowledgment sent {"connection_id":126968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:18:36] local.INFO: TCP Data received {"connection_id":126969,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de79900012d686840061de648000901482f..."} 
[2026-07-08 00:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de79900012d686840061de648000901482f..."} 
[2026-07-08 00:18:36] local.INFO: Processing buffer {"connection_id":126969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de79900012d686840061de648000901482f..."} 
[2026-07-08 00:18:36] local.INFO: Packet analysis {"connection_id":126969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de7"} 
[2026-07-08 00:18:36] local.INFO: Extracted packet for processing {"connection_id":126969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de7"} 
[2026-07-08 00:18:36] local.INFO: GPS Element Parsed {"raw_longitude":761817152,"raw_latitude":102622792,"longitude_deg":76.1817152,"latitude_deg":10.2622792,"altitude":9,"angle":328,"satellites":47,"speed":55,"hex_longitude":"2d686840","hex_latitude":"061de648","is_valid_coordinates":true} 
[2026-07-08 00:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563202304001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132405861686444032,"note":"Value kept but may cause issues"} 
[2026-07-08 00:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7529314915790964736,"note":"Value kept but may cause issues"} 
[2026-07-08 00:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783450016000,"timestamp_ms":1783450016000,"timestamp_seconds":1783450016,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de79900"} 
[2026-07-08 00:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-08 00:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126969,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126969,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563202304001,"66":27843,"210":206,"19":40704,"24":55,"16":132405861686444032,"45":7529314915790964736},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,19,24,16,45]} 
[2026-07-08 00:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563202304001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:18:36] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-07-08 00:18:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-08 00:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132405861686444032,"km_value":132405861686444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":7529314915790964736,"description":"Unknown IO ID 45"} 
[2026-07-08 00:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563202304001,"power":27843,"unknown_210":206,"unknown_19":40704,"ignition":55,"odometer":null,"unknown_45":7529314915790964736}} 
[2026-07-08 00:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":126969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448471,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:18:36] local.INFO: GPS data processed {"connection_id":126969,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:18:36] local.INFO: Acknowledgment sent {"connection_id":126969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:18:57] local.INFO: TCP Data received {"connection_id":124976,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:18:57] local.INFO: Processing buffer {"connection_id":124976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:18:57] local.INFO: IMEI packet received {"connection_id":124976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":124976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:18:58] local.INFO: TCP Data received {"connection_id":125706,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125706,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:18:58] local.INFO: Processing buffer {"connection_id":125706,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:18:58] local.INFO: IMEI packet received {"connection_id":125706,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":125706,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:19:03] local.INFO: TCP Data received {"connection_id":125706,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125706,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:19:03] local.INFO: Processing buffer {"connection_id":125706,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:19:03] local.INFO: IMEI packet received {"connection_id":125706,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":125706,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:19:03] local.INFO: TCP Data received {"connection_id":124976,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:19:03] local.INFO: Processing buffer {"connection_id":124976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:19:03] local.INFO: IMEI packet received {"connection_id":124976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":124976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:19:03] local.INFO: TCP Data received {"connection_id":125706,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de7b458012d6854c0061e07200009014b2d..."} 
[2026-07-08 00:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de7b458012d6854c0061e07200009014b2d..."} 
[2026-07-08 00:19:03] local.INFO: Processing buffer {"connection_id":125706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de7b458012d6854c0061e07200009014b2d..."} 
[2026-07-08 00:19:03] local.INFO: Packet analysis {"connection_id":125706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de7"} 
[2026-07-08 00:19:03] local.INFO: Extracted packet for processing {"connection_id":125706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de7"} 
[2026-07-08 00:19:03] local.INFO: GPS Element Parsed {"raw_longitude":761812160,"raw_latitude":102631200,"longitude_deg":76.181216,"latitude_deg":10.26312,"altitude":9,"angle":331,"satellites":45,"speed":54,"hex_longitude":"2d6854c0","hex_latitude":"061e0720","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563204096001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132406334132846592,"note":"Value kept but may cause issues"} 
[2026-07-08 00:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7523333572538025984,"note":"Value kept but may cause issues"} 
[2026-07-08 00:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783450023000,"timestamp_ms":1783450023000,"timestamp_seconds":1783450023,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de7b458"} 
[2026-07-08 00:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:19: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-07-08 00: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 00:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125706,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125706,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563204096001,"66":27876,"211":206,"19":40704,"24":54,"16":132406334132846592,"45":7523333572538025984},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,19,24,16,45]} 
[2026-07-08 00:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563204096001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:19:03] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-07-08 00:19:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-08 00:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132406334132846592,"km_value":132406334132846.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7523333572538025984,"description":"Unknown IO ID 45"} 
[2026-07-08 00:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563204096001,"power":27876,"unknown_211":206,"unknown_19":40704,"ignition":54,"odometer":null,"unknown_45":7523333572538025984}} 
[2026-07-08 00:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":125706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448472,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:19:03] local.INFO: GPS data processed {"connection_id":125706,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:19:03] local.INFO: Acknowledgment sent {"connection_id":125706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:19:04] local.INFO: TCP Data received {"connection_id":124976,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de64cf8012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de64cf8012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:19:04] local.INFO: Processing buffer {"connection_id":124976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de64cf8012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:19:04] local.INFO: Packet analysis {"connection_id":124976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de6"} 
[2026-07-08 00:19:04] local.INFO: Extracted packet for processing {"connection_id":124976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de6"} 
[2026-07-08 00:19:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563105280001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783449931000,"timestamp_ms":1783449931000,"timestamp_seconds":1783449931,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de64cf8"} 
[2026-07-08 00:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:19: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-07-08 00:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563105280001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563105280001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:19:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:19:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563105280001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":124976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:19:04] local.INFO: GPS data processed {"connection_id":124976,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:19:04] local.INFO: Acknowledgment sent {"connection_id":124976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:19:35] local.INFO: TCP Data received {"connection_id":124976,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de64cf8012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de64cf8012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:19:35] local.INFO: Processing buffer {"connection_id":124976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de64cf8012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:19:35] local.INFO: Packet analysis {"connection_id":124976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de6"} 
[2026-07-08 00:19:35] local.INFO: Extracted packet for processing {"connection_id":124976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de6"} 
[2026-07-08 00:19:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563105280001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783449931000,"timestamp_ms":1783449931000,"timestamp_seconds":1783449931,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de64cf8"} 
[2026-07-08 00:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:19: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-07-08 00:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563105280001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563105280001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:19:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:19:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563105280001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":124976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:19:35] local.INFO: GPS data processed {"connection_id":124976,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:19:35] local.INFO: Acknowledgment sent {"connection_id":124976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:19:35] local.INFO: TCP Data received {"connection_id":125706,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de7cfb0012d6843c0061e27980009014e2e..."} 
[2026-07-08 00:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de7cfb0012d6843c0061e27980009014e2e..."} 
[2026-07-08 00:19:35] local.INFO: Processing buffer {"connection_id":125706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de7cfb0012d6843c0061e27980009014e2e..."} 
[2026-07-08 00:19:35] local.INFO: Packet analysis {"connection_id":125706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de7"} 
[2026-07-08 00:19:35] local.INFO: Extracted packet for processing {"connection_id":125706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de7"} 
[2026-07-08 00:19:35] local.INFO: GPS Element Parsed {"raw_longitude":761807808,"raw_latitude":102639512,"longitude_deg":76.1807808,"latitude_deg":10.2639512,"altitude":9,"angle":334,"satellites":46,"speed":53,"hex_longitude":"2d6843c0","hex_latitude":"061e2798","is_valid_coordinates":true} 
[2026-07-08 00:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563205888001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132406789399379968,"note":"Value kept but may cause issues"} 
[2026-07-08 00:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7517844810494320640,"note":"Value kept but may cause issues"} 
[2026-07-08 00:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783450030000,"timestamp_ms":1783450030000,"timestamp_seconds":1783450030,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de7cfb0"} 
[2026-07-08 00:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 00:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125706,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125706,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563205888001,"66":27789,"211":206,"19":40704,"24":53,"16":132406789399379968,"45":7517844810494320640},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,19,24,16,45]} 
[2026-07-08 00:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563205888001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:19:35] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-07-08 00:19:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-08 00:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132406789399379968,"km_value":132406789399379.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7517844810494320640,"description":"Unknown IO ID 45"} 
[2026-07-08 00:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563205888001,"power":27789,"unknown_211":206,"unknown_19":40704,"ignition":53,"odometer":null,"unknown_45":7517844810494320640}} 
[2026-07-08 00:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":125706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448475,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:19:35] local.INFO: GPS data processed {"connection_id":125706,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:19:35] local.INFO: Acknowledgment sent {"connection_id":125706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:19:57] local.INFO: TCP Data received {"connection_id":124977,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:19:57] local.INFO: Processing buffer {"connection_id":124977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:19:57] local.INFO: IMEI packet received {"connection_id":124977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":124977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:20:00] local.INFO: TCP Data received {"connection_id":124877,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124877,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:20:00] local.INFO: Processing buffer {"connection_id":124877,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:20:00] local.INFO: IMEI packet received {"connection_id":124877,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":124877,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:20:02] local.INFO: TCP Data received {"connection_id":124877,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124877,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:20:03] local.INFO: Processing buffer {"connection_id":124877,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:20:03] local.INFO: IMEI packet received {"connection_id":124877,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":124877,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:20:03] local.INFO: TCP Data received {"connection_id":124977,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:20:03] local.INFO: Processing buffer {"connection_id":124977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:20:03] local.INFO: IMEI packet received {"connection_id":124977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":124977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:20:04] local.INFO: TCP Data received {"connection_id":124977,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de64cf8012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de64cf8012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:20:04] local.INFO: Processing buffer {"connection_id":124977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de64cf8012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:20:04] local.INFO: Packet analysis {"connection_id":124977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de6"} 
[2026-07-08 00:20:04] local.INFO: Extracted packet for processing {"connection_id":124977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de6"} 
[2026-07-08 00:20:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563105280001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783449931000,"timestamp_ms":1783449931000,"timestamp_seconds":1783449931,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de64cf8"} 
[2026-07-08 00:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:20: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-07-08 00: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-07-08 00:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563105280001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563105280001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:20:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:20:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563105280001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":124977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:20:04] local.INFO: GPS data processed {"connection_id":124977,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:20:04] local.INFO: Acknowledgment sent {"connection_id":124977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:20:09] local.INFO: TCP Data received {"connection_id":124877,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124877,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:20:09] local.INFO: Processing buffer {"connection_id":124877,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:20:09] local.INFO: IMEI packet received {"connection_id":124877,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":124877,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:20:10] local.INFO: TCP Data received {"connection_id":124877,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de97590012d677980061f64b8000d01382c..."} 
[2026-07-08 00:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de97590012d677980061f64b8000d01382c..."} 
[2026-07-08 00:20:10] local.INFO: Processing buffer {"connection_id":124877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de97590012d677980061f64b8000d01382c..."} 
[2026-07-08 00:20:10] local.INFO: Packet analysis {"connection_id":124877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de9"} 
[2026-07-08 00:20:10] local.INFO: Extracted packet for processing {"connection_id":124877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de9"} 
[2026-07-08 00:20:10] local.INFO: GPS Element Parsed {"raw_longitude":761756032,"raw_latitude":102720696,"longitude_deg":76.1756032,"latitude_deg":10.2720696,"altitude":13,"angle":312,"satellites":44,"speed":43,"hex_longitude":"2d677980","hex_latitude":"061f64b8","is_valid_coordinates":true} 
[2026-07-08 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-07-08 00:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563233024001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132411488093601792,"note":"Value kept but may cause issues"} 
[2026-07-08 00:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7464364564940666880,"note":"Value kept but may cause issues"} 
[2026-07-08 00:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783450138000,"timestamp_ms":1783450138000,"timestamp_seconds":1783450138,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de97590"} 
[2026-07-08 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-07-08 00:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-08 00:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 00:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124877,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124877,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563233024001,"66":27800,"237":206,"19":40704,"24":43,"16":132411488093601792,"45":7464364564940666880},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,19,24,16,45]} 
[2026-07-08 00:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563233024001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:20:10] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-08 00:20:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-08 00:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132411488093601792,"km_value":132411488093601.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7464364564940666880,"description":"Unknown IO ID 45"} 
[2026-07-08 00:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563233024001,"power":27800,"unknown_237":206,"unknown_19":40704,"ignition":43,"odometer":null,"unknown_45":7464364564940666880}} 
[2026-07-08 00:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":124877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448477,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:20:10] local.INFO: GPS data processed {"connection_id":124877,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:20:10] local.INFO: Acknowledgment sent {"connection_id":124877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:20:35] local.INFO: TCP Data received {"connection_id":124977,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de64cf8012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de64cf8012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:20:35] local.INFO: Processing buffer {"connection_id":124977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de64cf8012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:20:35] local.INFO: Packet analysis {"connection_id":124977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de6"} 
[2026-07-08 00:20:35] local.INFO: Extracted packet for processing {"connection_id":124977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de6"} 
[2026-07-08 00:20:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563105280001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783449931000,"timestamp_ms":1783449931000,"timestamp_seconds":1783449931,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de64cf8"} 
[2026-07-08 00:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:20: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-07-08 00:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563105280001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563105280001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:20:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:20:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563105280001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":124977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:20:35] local.INFO: GPS data processed {"connection_id":124977,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:20:35] local.INFO: Acknowledgment sent {"connection_id":124977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:20:42] local.INFO: TCP Data received {"connection_id":124877,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de994d0012d676040061f7e10000c013e2d..."} 
[2026-07-08 00:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de994d0012d676040061f7e10000c013e2d..."} 
[2026-07-08 00:20:42] local.INFO: Processing buffer {"connection_id":124877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de994d0012d676040061f7e10000c013e2d..."} 
[2026-07-08 00:20:42] local.INFO: Packet analysis {"connection_id":124877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de9"} 
[2026-07-08 00:20:42] local.INFO: Extracted packet for processing {"connection_id":124877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de9"} 
[2026-07-08 00:20:42] local.INFO: GPS Element Parsed {"raw_longitude":761749568,"raw_latitude":102727184,"longitude_deg":76.1749568,"latitude_deg":10.2727184,"altitude":12,"angle":318,"satellites":45,"speed":46,"hex_longitude":"2d676040","hex_latitude":"061f7e10","is_valid_coordinates":true} 
[2026-07-08 00:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563235328001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132411930475233280,"note":"Value kept but may cause issues"} 
[2026-07-08 00:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7456131421873420288,"note":"Value kept but may cause issues"} 
[2026-07-08 00:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783450146000,"timestamp_ms":1783450146000,"timestamp_seconds":1783450146,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de994d0"} 
[2026-07-08 00:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00: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-07-08 00: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 00:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124877,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124877,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563235328001,"66":27800,"237":206,"19":40704,"24":46,"16":132411930475233280,"45":7456131421873420288},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,19,24,16,45]} 
[2026-07-08 00:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563235328001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:20:42] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-08 00:20:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-08 00:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132411930475233280,"km_value":132411930475233.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":7456131421873420288,"description":"Unknown IO ID 45"} 
[2026-07-08 00:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563235328001,"power":27800,"unknown_237":206,"unknown_19":40704,"ignition":46,"odometer":null,"unknown_45":7456131421873420288}} 
[2026-07-08 00:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":124877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448479,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:20:42] local.INFO: GPS data processed {"connection_id":124877,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:20:42] local.INFO: Acknowledgment sent {"connection_id":124877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:20:58] local.INFO: TCP Data received {"connection_id":124878,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124878,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:20:58] local.INFO: Processing buffer {"connection_id":124878,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:20:58] local.INFO: IMEI packet received {"connection_id":124878,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":124878,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:21:03] local.INFO: TCP Data received {"connection_id":124879,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:21:03] local.INFO: Processing buffer {"connection_id":124879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:21:03] local.INFO: IMEI packet received {"connection_id":124879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":124879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:21:03] local.INFO: TCP Data received {"connection_id":124878,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124878,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:21:03] local.INFO: Processing buffer {"connection_id":124878,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:21:03] local.INFO: IMEI packet received {"connection_id":124878,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":124878,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:21:06] local.INFO: TCP Data received {"connection_id":124878,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de9b410012d6747c0061f9a58000d013f2d..."} 
[2026-07-08 00:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de9b410012d6747c0061f9a58000d013f2d..."} 
[2026-07-08 00:21:06] local.INFO: Processing buffer {"connection_id":124878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de9b410012d6747c0061f9a58000d013f2d..."} 
[2026-07-08 00:21:06] local.INFO: Packet analysis {"connection_id":124878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de9"} 
[2026-07-08 00:21:06] local.INFO: Extracted packet for processing {"connection_id":124878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de9"} 
[2026-07-08 00:21:06] local.INFO: GPS Element Parsed {"raw_longitude":761743296,"raw_latitude":102734424,"longitude_deg":76.1743296,"latitude_deg":10.2734424,"altitude":13,"angle":319,"satellites":45,"speed":48,"hex_longitude":"2d6747c0","hex_latitude":"061f9a58","is_valid_coordinates":true} 
[2026-07-08 00:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563237376001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132412390036733952,"note":"Value kept but may cause issues"} 
[2026-07-08 00:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7449024178713137152,"note":"Value kept but may cause issues"} 
[2026-07-08 00:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783450154000,"timestamp_ms":1783450154000,"timestamp_seconds":1783450154,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de9b410"} 
[2026-07-08 00:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 00:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124878,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124878,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563237376001,"66":27843,"237":206,"19":40704,"24":48,"16":132412390036733952,"45":7449024178713137152},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,19,24,16,45]} 
[2026-07-08 00:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563237376001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:21:06] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-08 00:21:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-08 00:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132412390036733952,"km_value":132412390036733.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7449024178713137152,"description":"Unknown IO ID 45"} 
[2026-07-08 00:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563237376001,"power":27843,"unknown_237":206,"unknown_19":40704,"ignition":48,"odometer":null,"unknown_45":7449024178713137152}} 
[2026-07-08 00:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":124878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448480,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:21:06] local.INFO: GPS data processed {"connection_id":124878,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:21:06] local.INFO: Acknowledgment sent {"connection_id":124878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:21:08] local.INFO: TCP Data received {"connection_id":124879,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:21:08] local.INFO: Processing buffer {"connection_id":124879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:21:08] local.INFO: IMEI packet received {"connection_id":124879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":124879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:21:08] local.INFO: TCP Data received {"connection_id":124879,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3de64cf8012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3de64cf8012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:21:08] local.INFO: Processing buffer {"connection_id":124879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3de64cf8012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:21:08] local.INFO: Packet analysis {"connection_id":124879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3de6"} 
[2026-07-08 00:21:08] local.INFO: Extracted packet for processing {"connection_id":124879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3de6"} 
[2026-07-08 00:21:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563105280001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783449931000,"timestamp_ms":1783449931000,"timestamp_seconds":1783449931,"priority":1,"record_length":96,"hex_timestamp":"0000019f3de64cf8"} 
[2026-07-08 00:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563105280001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563105280001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:21:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:21:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563105280001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":124879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:21:08] local.INFO: GPS data processed {"connection_id":124879,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:21:08] local.INFO: Acknowledgment sent {"connection_id":124879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:21:11] local.INFO: TCP Data received {"connection_id":124879,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3deae4c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3deae4c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:21:11] local.INFO: Processing buffer {"connection_id":124879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3deae4c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:21:11] local.INFO: Packet analysis {"connection_id":124879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dea"} 
[2026-07-08 00:21:11] local.INFO: Extracted packet for processing {"connection_id":124879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dea"} 
[2026-07-08 00:21:11] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563182336001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783450232000,"timestamp_ms":1783450232000,"timestamp_seconds":1783450232,"priority":1,"record_length":96,"hex_timestamp":"0000019f3deae4c0"} 
[2026-07-08 00:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 00:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563182336001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563182336001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:21:11] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:21:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563182336001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":124879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:21:11] local.INFO: GPS data processed {"connection_id":124879,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:21:11] local.INFO: Acknowledgment sent {"connection_id":124879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:21:38] local.INFO: TCP Data received {"connection_id":124878,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3deb0fb8012d66c6000620cdf80011016130..."} 
[2026-07-08 00:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3deb0fb8012d66c6000620cdf80011016130..."} 
[2026-07-08 00:21:38] local.INFO: Processing buffer {"connection_id":124878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3deb0fb8012d66c6000620cdf80011016130..."} 
[2026-07-08 00:21:38] local.INFO: Packet analysis {"connection_id":124878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3deb"} 
[2026-07-08 00:21:38] local.INFO: Extracted packet for processing {"connection_id":124878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3deb"} 
[2026-07-08 00:21:38] local.INFO: GPS Element Parsed {"raw_longitude":761710080,"raw_latitude":102813176,"longitude_deg":76.171008,"latitude_deg":10.2813176,"altitude":17,"angle":353,"satellites":48,"speed":47,"hex_longitude":"2d66c600","hex_latitude":"0620cdf8","is_valid_coordinates":true} 
[2026-07-08 00:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563261184001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132416109478412288,"note":"Value kept but may cause issues"} 
[2026-07-08 00:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7405677032320512000,"note":"Value kept but may cause issues"} 
[2026-07-08 00:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783450243000,"timestamp_ms":1783450243000,"timestamp_seconds":1783450243,"priority":1,"record_length":96,"hex_timestamp":"0000019f3deb0fb8"} 
[2026-07-08 00:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 00:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124878,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124878,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563261184001,"66":27789,"82":206,"19":40704,"24":47,"16":132416109478412288,"45":7405677032320512000},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,19,24,16,45]} 
[2026-07-08 00:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563261184001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:21:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-08 00:21:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-08 00:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132416109478412288,"km_value":132416109478412.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7405677032320512000,"description":"Unknown IO ID 45"} 
[2026-07-08 00:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563261184001,"power":27789,"unknown_82":206,"unknown_19":40704,"ignition":47,"odometer":null,"unknown_45":7405677032320512000}} 
[2026-07-08 00:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":124878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448483,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:21:38] local.INFO: GPS data processed {"connection_id":124878,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:21:38] local.INFO: Acknowledgment sent {"connection_id":124878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:21:42] local.INFO: TCP Data received {"connection_id":124879,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3deae4c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3deae4c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:21:42] local.INFO: Processing buffer {"connection_id":124879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3deae4c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:21:42] local.INFO: Packet analysis {"connection_id":124879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dea"} 
[2026-07-08 00:21:42] local.INFO: Extracted packet for processing {"connection_id":124879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dea"} 
[2026-07-08 00:21:42] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 00:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563182336001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783450232000,"timestamp_ms":1783450232000,"timestamp_seconds":1783450232,"priority":1,"record_length":96,"hex_timestamp":"0000019f3deae4c0"} 
[2026-07-08 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-07-08 00:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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-07-08 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-07-08 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-07-08 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-07-08 00:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563182336001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563182336001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:21:42] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:21:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563182336001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":124879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:21:42] local.INFO: GPS data processed {"connection_id":124879,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:21:42] local.INFO: Acknowledgment sent {"connection_id":124879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:21:58] local.INFO: TCP Data received {"connection_id":126970,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:21:58] local.INFO: Processing buffer {"connection_id":126970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:21:58] local.INFO: IMEI packet received {"connection_id":126970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":126970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:22:03] local.INFO: TCP Data received {"connection_id":126970,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:22:03] local.INFO: Processing buffer {"connection_id":126970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:22:03] local.INFO: IMEI packet received {"connection_id":126970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":126970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:22:03] local.INFO: TCP Data received {"connection_id":126971,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126971,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:22:03] local.INFO: Processing buffer {"connection_id":126971,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:22:03] local.INFO: IMEI packet received {"connection_id":126971,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":126971,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:22:03] local.INFO: TCP Data received {"connection_id":126970,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f3deae4c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3deae4c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:22:03] local.INFO: Processing buffer {"connection_id":126970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3deae4c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:22:03] local.INFO: Packet analysis {"connection_id":126970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dea"} 
[2026-07-08 00:22:03] local.INFO: Extracted packet for processing {"connection_id":126970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dea"} 
[2026-07-08 00:22:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563182336001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783450232000,"timestamp_ms":1783450232000,"timestamp_seconds":1783450232,"priority":1,"record_length":96,"hex_timestamp":"0000019f3deae4c0"} 
[2026-07-08 00:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 00:22: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-07-08 00:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563182336001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563182336001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:22:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:22:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563182336001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":126970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:22:03] local.INFO: GPS data processed {"connection_id":126970,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:22:03] local.INFO: Acknowledgment sent {"connection_id":126970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:22:04] local.INFO: TCP Data received {"connection_id":126971,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126971,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:22:04] local.INFO: Processing buffer {"connection_id":126971,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:22:04] local.INFO: IMEI packet received {"connection_id":126971,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":126971,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:22:05] local.INFO: TCP Data received {"connection_id":126971,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3deb1f58012d66c2800620e028001001552f..."} 
[2026-07-08 00:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3deb1f58012d66c2800620e028001001552f..."} 
[2026-07-08 00:22:05] local.INFO: Processing buffer {"connection_id":126971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3deb1f58012d66c2800620e028001001552f..."} 
[2026-07-08 00:22:05] local.INFO: Packet analysis {"connection_id":126971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3deb"} 
[2026-07-08 00:22:05] local.INFO: Extracted packet for processing {"connection_id":126971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3deb"} 
[2026-07-08 00:22:05] local.INFO: GPS Element Parsed {"raw_longitude":761709184,"raw_latitude":102817832,"longitude_deg":76.1709184,"latitude_deg":10.2817832,"altitude":16,"angle":341,"satellites":47,"speed":48,"hex_longitude":"2d66c280","hex_latitude":"0620e028","is_valid_coordinates":true} 
[2026-07-08 00:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563262208001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132416341406646272,"note":"Value kept but may cause issues"} 
[2026-07-08 00:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7405606663577532416,"note":"Value kept but may cause issues"} 
[2026-07-08 00:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783450247000,"timestamp_ms":1783450247000,"timestamp_seconds":1783450247,"priority":1,"record_length":96,"hex_timestamp":"0000019f3deb1f58"} 
[2026-07-08 00:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-08 00:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126971,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126971,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563262208001,"66":27832,"82":206,"19":40704,"24":48,"16":132416341406646272,"45":7405606663577532416},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,19,24,16,45]} 
[2026-07-08 00:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563262208001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:22:05] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-08 00:22:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-08 00:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132416341406646272,"km_value":132416341406646.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7405606663577532416,"description":"Unknown IO ID 45"} 
[2026-07-08 00:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563262208001,"power":27832,"unknown_82":206,"unknown_19":40704,"ignition":48,"odometer":null,"unknown_45":7405606663577532416}} 
[2026-07-08 00:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":126971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448486,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:22:05] local.INFO: GPS data processed {"connection_id":126971,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:22:05] local.INFO: Acknowledgment sent {"connection_id":126971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:22:08] local.INFO: TCP Data received {"connection_id":126971,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3deb3ab0012d66b54006210068000e01582f..."} 
[2026-07-08 00:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3deb3ab0012d66b54006210068000e01582f..."} 
[2026-07-08 00:22:08] local.INFO: Processing buffer {"connection_id":126971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3deb3ab0012d66b54006210068000e01582f..."} 
[2026-07-08 00:22:08] local.INFO: Packet analysis {"connection_id":126971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3deb"} 
[2026-07-08 00:22:08] local.INFO: Extracted packet for processing {"connection_id":126971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3deb"} 
[2026-07-08 00:22:08] local.INFO: GPS Element Parsed {"raw_longitude":761705792,"raw_latitude":102826088,"longitude_deg":76.1705792,"latitude_deg":10.2826088,"altitude":14,"angle":344,"satellites":47,"speed":52,"hex_longitude":"2d66b540","hex_latitude":"06210068","is_valid_coordinates":true} 
[2026-07-08 00:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563263232001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132416775198343168,"note":"Value kept but may cause issues"} 
[2026-07-08 00:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7404621501160237056,"note":"Value kept but may cause issues"} 
[2026-07-08 00:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783450254000,"timestamp_ms":1783450254000,"timestamp_seconds":1783450254,"priority":1,"record_length":96,"hex_timestamp":"0000019f3deb3ab0"} 
[2026-07-08 00:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-08 00:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126971,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126971,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563263232001,"66":27984,"82":206,"19":40704,"24":52,"16":132416775198343168,"45":7404621501160237056},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,19,24,16,45]} 
[2026-07-08 00:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563263232001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:22:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-08 00:22:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-08 00:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132416775198343168,"km_value":132416775198343.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":7404621501160237056,"description":"Unknown IO ID 45"} 
[2026-07-08 00:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563263232001,"power":27984,"unknown_82":206,"unknown_19":40704,"ignition":52,"odometer":null,"unknown_45":7404621501160237056}} 
[2026-07-08 00:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":126971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448487,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:22:08] local.INFO: GPS data processed {"connection_id":126971,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:22:08] local.INFO: Acknowledgment sent {"connection_id":126971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:22:35] local.INFO: TCP Data received {"connection_id":126970,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f3deae4c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3deae4c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:22:35] local.INFO: Processing buffer {"connection_id":126970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3deae4c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:22:35] local.INFO: Packet analysis {"connection_id":126970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dea"} 
[2026-07-08 00:22:35] local.INFO: Extracted packet for processing {"connection_id":126970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dea"} 
[2026-07-08 00:22:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563182336001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783450232000,"timestamp_ms":1783450232000,"timestamp_seconds":1783450232,"priority":1,"record_length":96,"hex_timestamp":"0000019f3deae4c0"} 
[2026-07-08 00:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 00:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563182336001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563182336001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:22:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:22:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563182336001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":126970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:22:35] local.INFO: GPS data processed {"connection_id":126970,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:22:35] local.INFO: Acknowledgment sent {"connection_id":126970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:22:39] local.INFO: TCP Data received {"connection_id":126971,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3deb5608012d66ab00062122b0000e015830..."} 
[2026-07-08 00:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3deb5608012d66ab00062122b0000e015830..."} 
[2026-07-08 00:22:39] local.INFO: Processing buffer {"connection_id":126971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3deb5608012d66ab00062122b0000e015830..."} 
[2026-07-08 00:22:39] local.INFO: Packet analysis {"connection_id":126971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3deb"} 
[2026-07-08 00:22:39] local.INFO: Extracted packet for processing {"connection_id":126971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3deb"} 
[2026-07-08 00:22:39] local.INFO: GPS Element Parsed {"raw_longitude":761703168,"raw_latitude":102834864,"longitude_deg":76.1703168,"latitude_deg":10.2834864,"altitude":14,"angle":344,"satellites":48,"speed":50,"hex_longitude":"2d66ab00","hex_latitude":"062122b0","is_valid_coordinates":true} 
[2026-07-08 00:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563265024001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132417217579974656,"note":"Value kept but may cause issues"} 
[2026-07-08 00:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7400891957720934400,"note":"Value kept but may cause issues"} 
[2026-07-08 00:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783450261000,"timestamp_ms":1783450261000,"timestamp_seconds":1783450261,"priority":1,"record_length":96,"hex_timestamp":"0000019f3deb5608"} 
[2026-07-08 00:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-08 00:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126971,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126971,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563265024001,"66":27767,"82":206,"19":40704,"24":50,"16":132417217579974656,"45":7400891957720934400},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,19,24,16,45]} 
[2026-07-08 00:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563265024001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:22:39] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-08 00:22:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-08 00:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132417217579974656,"km_value":132417217579974.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":7400891957720934400,"description":"Unknown IO ID 45"} 
[2026-07-08 00:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563265024001,"power":27767,"unknown_82":206,"unknown_19":40704,"ignition":50,"odometer":null,"unknown_45":7400891957720934400}} 
[2026-07-08 00:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":126971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448489,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:22:39] local.INFO: GPS data processed {"connection_id":126971,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:22:39] local.INFO: Acknowledgment sent {"connection_id":126971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:22:57] local.INFO: TCP Data received {"connection_id":125707,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:22:57] local.INFO: Processing buffer {"connection_id":125707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:22:57] local.INFO: IMEI packet received {"connection_id":125707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":125707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:22:58] local.INFO: TCP Data received {"connection_id":126972,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:22:58] local.INFO: Processing buffer {"connection_id":126972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:22:58] local.INFO: IMEI packet received {"connection_id":126972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":126972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:22:58] local.INFO: TCP Data received {"connection_id":126972,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:22:58] local.INFO: Processing buffer {"connection_id":126972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:22:58] local.INFO: IMEI packet received {"connection_id":126972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":126972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:23:02] local.INFO: TCP Data received {"connection_id":126972,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:23:02] local.INFO: Processing buffer {"connection_id":126972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:23:02] local.INFO: IMEI packet received {"connection_id":126972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":126972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:23:03] local.INFO: TCP Data received {"connection_id":125707,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:23:03] local.INFO: Processing buffer {"connection_id":125707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:23:03] local.INFO: IMEI packet received {"connection_id":125707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":125707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:23:03] local.INFO: TCP Data received {"connection_id":125707,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3deae4c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3deae4c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:23:03] local.INFO: Processing buffer {"connection_id":125707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3deae4c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:23:03] local.INFO: Packet analysis {"connection_id":125707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dea"} 
[2026-07-08 00:23:03] local.INFO: Extracted packet for processing {"connection_id":125707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dea"} 
[2026-07-08 00:23:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563182336001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783450232000,"timestamp_ms":1783450232000,"timestamp_seconds":1783450232,"priority":1,"record_length":96,"hex_timestamp":"0000019f3deae4c0"} 
[2026-07-08 00:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 00:23: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-07-08 00:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563182336001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563182336001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:23:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:23:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563182336001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":125707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:23:03] local.INFO: GPS data processed {"connection_id":125707,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:23:03] local.INFO: Acknowledgment sent {"connection_id":125707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:23:03] local.INFO: TCP Data received {"connection_id":126972,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dec3898012d663b4006223458001001382e..."} 
[2026-07-08 00:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dec3898012d663b4006223458001001382e..."} 
[2026-07-08 00:23:03] local.INFO: Processing buffer {"connection_id":126972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dec3898012d663b4006223458001001382e..."} 
[2026-07-08 00:23:03] local.INFO: Packet analysis {"connection_id":126972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dec"} 
[2026-07-08 00:23:03] local.INFO: Extracted packet for processing {"connection_id":126972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dec"} 
[2026-07-08 00:23:03] local.INFO: GPS Element Parsed {"raw_longitude":761674560,"raw_latitude":102904920,"longitude_deg":76.167456,"latitude_deg":10.290492,"altitude":16,"angle":312,"satellites":46,"speed":56,"hex_longitude":"2d663b40","hex_latitude":"06223458","is_valid_coordinates":true} 
[2026-07-08 00:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563280640001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132421001446162432,"note":"Value kept but may cause issues"} 
[2026-07-08 00:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7370563028999495680,"note":"Value kept but may cause issues"} 
[2026-07-08 00:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783450319000,"timestamp_ms":1783450319000,"timestamp_seconds":1783450319,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dec3898"} 
[2026-07-08 00:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:23: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-07-08 00: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 00:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563280640001,"66":27800,"82":206,"19":40704,"24":56,"16":132421001446162432,"45":7370563028999495680},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,19,24,16,45]} 
[2026-07-08 00:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563280640001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:23:04] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-08 00:23:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-08 00:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132421001446162432,"km_value":132421001446162.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7370563028999495680,"description":"Unknown IO ID 45"} 
[2026-07-08 00:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563280640001,"power":27800,"unknown_82":206,"unknown_19":40704,"ignition":56,"odometer":null,"unknown_45":7370563028999495680}} 
[2026-07-08 00:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":126972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448491,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:23:04] local.INFO: GPS data processed {"connection_id":126972,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:23:04] local.INFO: Acknowledgment sent {"connection_id":126972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:23:35] local.INFO: TCP Data received {"connection_id":125707,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3deae4c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3deae4c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:23:35] local.INFO: Processing buffer {"connection_id":125707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3deae4c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:23:35] local.INFO: Packet analysis {"connection_id":125707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dea"} 
[2026-07-08 00:23:35] local.INFO: Extracted packet for processing {"connection_id":125707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dea"} 
[2026-07-08 00:23:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563182336001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783450232000,"timestamp_ms":1783450232000,"timestamp_seconds":1783450232,"priority":1,"record_length":96,"hex_timestamp":"0000019f3deae4c0"} 
[2026-07-08 00:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 00:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563182336001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563182336001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:23:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:23:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563182336001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":125707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:23:35] local.INFO: GPS data processed {"connection_id":125707,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:23:35] local.INFO: Acknowledgment sent {"connection_id":125707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:23:35] local.INFO: TCP Data received {"connection_id":126972,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dec53f0012d661f40062250500010013f2b..."} 
[2026-07-08 00:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dec53f0012d661f40062250500010013f2b..."} 
[2026-07-08 00:23:35] local.INFO: Processing buffer {"connection_id":126972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dec53f0012d661f40062250500010013f2b..."} 
[2026-07-08 00:23:35] local.INFO: Packet analysis {"connection_id":126972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dec"} 
[2026-07-08 00:23:35] local.INFO: Extracted packet for processing {"connection_id":126972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dec"} 
[2026-07-08 00:23:35] local.INFO: GPS Element Parsed {"raw_longitude":761667392,"raw_latitude":102912080,"longitude_deg":76.1667392,"latitude_deg":10.291208,"altitude":16,"angle":319,"satellites":43,"speed":57,"hex_longitude":"2d661f40","hex_latitude":"06225050","is_valid_coordinates":true} 
[2026-07-08 00:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563281664001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132421486777466880,"note":"Value kept but may cause issues"} 
[2026-07-08 00:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7366552010582415360,"note":"Value kept but may cause issues"} 
[2026-07-08 00:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783450326000,"timestamp_ms":1783450326000,"timestamp_seconds":1783450326,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dec53f0"} 
[2026-07-08 00:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 00:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563281664001,"66":27908,"83":206,"19":40704,"24":57,"16":132421486777466880,"45":7366552010582415360},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,19,24,16,45]} 
[2026-07-08 00:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563281664001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:23:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-08 00:23:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-08 00:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132421486777466880,"km_value":132421486777466.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7366552010582415360,"description":"Unknown IO ID 45"} 
[2026-07-08 00:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563281664001,"power":27908,"unknown_83":206,"unknown_19":40704,"ignition":57,"odometer":null,"unknown_45":7366552010582415360}} 
[2026-07-08 00:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":126972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448493,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:23:35] local.INFO: GPS data processed {"connection_id":126972,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:23:35] local.INFO: Acknowledgment sent {"connection_id":126972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:24:02] local.INFO: TCP Data received {"connection_id":124880,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124880,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:24:02] local.INFO: Processing buffer {"connection_id":124880,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:24:02] local.INFO: IMEI packet received {"connection_id":124880,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":124880,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:24:03] local.INFO: TCP Data received {"connection_id":124880,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124880,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:24:03] local.INFO: Processing buffer {"connection_id":124880,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:24:03] local.INFO: IMEI packet received {"connection_id":124880,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":124880,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:24:03] local.INFO: TCP Data received {"connection_id":126973,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:24:03] local.INFO: Processing buffer {"connection_id":126973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:24:03] local.INFO: IMEI packet received {"connection_id":126973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":126973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:24:04] local.INFO: TCP Data received {"connection_id":124880,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dec6f48012d66028006226c58000f01382f..."} 
[2026-07-08 00:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dec6f48012d66028006226c58000f01382f..."} 
[2026-07-08 00:24:04] local.INFO: Processing buffer {"connection_id":124880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dec6f48012d66028006226c58000f01382f..."} 
[2026-07-08 00:24:04] local.INFO: Packet analysis {"connection_id":124880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dec"} 
[2026-07-08 00:24:04] local.INFO: Extracted packet for processing {"connection_id":124880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dec"} 
[2026-07-08 00:24:04] local.INFO: GPS Element Parsed {"raw_longitude":761660032,"raw_latitude":102919256,"longitude_deg":76.1660032,"latitude_deg":10.2919256,"altitude":15,"angle":312,"satellites":47,"speed":56,"hex_longitude":"2d660280","hex_latitude":"06226c58","is_valid_coordinates":true} 
[2026-07-08 00:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563283456001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132421984993673216,"note":"Value kept but may cause issues"} 
[2026-07-08 00:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7358670711236349952,"note":"Value kept but may cause issues"} 
[2026-07-08 00:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783450333000,"timestamp_ms":1783450333000,"timestamp_seconds":1783450333,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dec6f48"} 
[2026-07-08 00:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:24: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-07-08 00: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 00:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124880,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124880,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563283456001,"66":27887,"83":206,"19":40704,"24":56,"16":132421984993673216,"45":7358670711236349952},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,19,24,16,45]} 
[2026-07-08 00:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563283456001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:24:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-08 00:24:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-08 00:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132421984993673216,"km_value":132421984993673.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7358670711236349952,"description":"Unknown IO ID 45"} 
[2026-07-08 00:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563283456001,"power":27887,"unknown_83":206,"unknown_19":40704,"ignition":56,"odometer":null,"unknown_45":7358670711236349952}} 
[2026-07-08 00:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":124880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448494,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:24:04] local.INFO: GPS data processed {"connection_id":124880,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:24:04] local.INFO: Acknowledgment sent {"connection_id":124880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:24:08] local.INFO: TCP Data received {"connection_id":126973,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:24:08] local.INFO: Processing buffer {"connection_id":126973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:24:08] local.INFO: IMEI packet received {"connection_id":126973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":126973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:24:09] local.INFO: TCP Data received {"connection_id":126973,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3deae4c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3deae4c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:24:09] local.INFO: Processing buffer {"connection_id":126973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3deae4c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:24:09] local.INFO: Packet analysis {"connection_id":126973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dea"} 
[2026-07-08 00:24:09] local.INFO: Extracted packet for processing {"connection_id":126973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dea"} 
[2026-07-08 00:24:09] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563182336001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783450232000,"timestamp_ms":1783450232000,"timestamp_seconds":1783450232,"priority":1,"record_length":96,"hex_timestamp":"0000019f3deae4c0"} 
[2026-07-08 00:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 00:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563182336001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563182336001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:24:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:24:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563182336001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":126973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:24:09] local.INFO: GPS data processed {"connection_id":126973,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:24:09] local.INFO: Acknowledgment sent {"connection_id":126973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:24:09] local.INFO: TCP Data received {"connection_id":124880,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dec8aa0012d65e70006228738000e013230..."} 
[2026-07-08 00:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dec8aa0012d65e70006228738000e013230..."} 
[2026-07-08 00:24:09] local.INFO: Processing buffer {"connection_id":124880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dec8aa0012d65e70006228738000e013230..."} 
[2026-07-08 00:24:09] local.INFO: Packet analysis {"connection_id":124880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dec"} 
[2026-07-08 00:24:09] local.INFO: Extracted packet for processing {"connection_id":124880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dec"} 
[2026-07-08 00:24:09] local.INFO: GPS Element Parsed {"raw_longitude":761652992,"raw_latitude":102926136,"longitude_deg":76.1652992,"latitude_deg":10.2926136,"altitude":14,"angle":306,"satellites":48,"speed":55,"hex_longitude":"2d65e700","hex_latitude":"06228738","is_valid_coordinates":true} 
[2026-07-08 00:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563285248001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132422457440075776,"note":"Value kept but may cause issues"} 
[2026-07-08 00:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7350578305657755648,"note":"Value kept but may cause issues"} 
[2026-07-08 00:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783450340000,"timestamp_ms":1783450340000,"timestamp_seconds":1783450340,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dec8aa0"} 
[2026-07-08 00:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-08 00:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124880,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124880,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563285248001,"66":27984,"83":206,"19":40704,"24":55,"16":132422457440075776,"45":7350578305657755648},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,19,24,16,45]} 
[2026-07-08 00:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563285248001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:24:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-08 00:24:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-08 00:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132422457440075776,"km_value":132422457440075.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":7350578305657755648,"description":"Unknown IO ID 45"} 
[2026-07-08 00:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563285248001,"power":27984,"unknown_83":206,"unknown_19":40704,"ignition":55,"odometer":null,"unknown_45":7350578305657755648}} 
[2026-07-08 00:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":124880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448496,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:24:09] local.INFO: GPS data processed {"connection_id":124880,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:24:09] local.INFO: Acknowledgment sent {"connection_id":124880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:24:13] local.INFO: TCP Data received {"connection_id":126973,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3deae4c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3deae4c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:24:13] local.INFO: Processing buffer {"connection_id":126973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3deae4c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:24:13] local.INFO: Packet analysis {"connection_id":126973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dea"} 
[2026-07-08 00:24:13] local.INFO: Extracted packet for processing {"connection_id":126973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dea"} 
[2026-07-08 00:24:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563182336001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783450232000,"timestamp_ms":1783450232000,"timestamp_seconds":1783450232,"priority":1,"record_length":96,"hex_timestamp":"0000019f3deae4c0"} 
[2026-07-08 00:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:24:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 00:24:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:24:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":126973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":126973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":126973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563182336001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563182336001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:24:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:24:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563182336001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":126973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:24:13] local.INFO: GPS data processed {"connection_id":126973,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:24:13] local.INFO: Acknowledgment sent {"connection_id":126973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:24:41] local.INFO: TCP Data received {"connection_id":124880,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dec9a40012d65d480062291a0000d01252e..."} 
[2026-07-08 00:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dec9a40012d65d480062291a0000d01252e..."} 
[2026-07-08 00:24:41] local.INFO: Processing buffer {"connection_id":124880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dec9a40012d65d480062291a0000d01252e..."} 
[2026-07-08 00:24:41] local.INFO: Packet analysis {"connection_id":124880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dec"} 
[2026-07-08 00:24:41] local.INFO: Extracted packet for processing {"connection_id":124880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dec"} 
[2026-07-08 00:24:41] local.INFO: GPS Element Parsed {"raw_longitude":761648256,"raw_latitude":102928800,"longitude_deg":76.1648256,"latitude_deg":10.29288,"altitude":13,"angle":293,"satellites":46,"speed":51,"hex_longitude":"2d65d480","hex_latitude":"062291a0","is_valid_coordinates":true} 
[2026-07-08 00:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563287040001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132422719433080832,"note":"Value kept but may cause issues"} 
[2026-07-08 00:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7342837743799973888,"note":"Value kept but may cause issues"} 
[2026-07-08 00:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783450344000,"timestamp_ms":1783450344000,"timestamp_seconds":1783450344,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dec9a40"} 
[2026-07-08 00:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-08 00:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124880,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124880,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563287040001,"66":27800,"83":206,"19":40704,"24":51,"16":132422719433080832,"45":7342837743799973888},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,19,24,16,45]} 
[2026-07-08 00:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563287040001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:24:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-08 00:24:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-08 00:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132422719433080832,"km_value":132422719433080.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":7342837743799973888,"description":"Unknown IO ID 45"} 
[2026-07-08 00:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563287040001,"power":27800,"unknown_83":206,"unknown_19":40704,"ignition":51,"odometer":null,"unknown_45":7342837743799973888}} 
[2026-07-08 00:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":124880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448498,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:24:42] local.INFO: GPS data processed {"connection_id":124880,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:24:42] local.INFO: Acknowledgment sent {"connection_id":124880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:24:58] local.INFO: TCP Data received {"connection_id":125708,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:24:58] local.INFO: Processing buffer {"connection_id":125708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:24:58] local.INFO: IMEI packet received {"connection_id":125708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":125708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:24:58] local.INFO: TCP Data received {"connection_id":126974,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126974,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:24:58] local.INFO: Processing buffer {"connection_id":126974,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:24:58] local.INFO: IMEI packet received {"connection_id":126974,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":126974,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:25:03] local.INFO: TCP Data received {"connection_id":125708,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:25:03] local.INFO: Processing buffer {"connection_id":125708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:25:03] local.INFO: IMEI packet received {"connection_id":125708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":125708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:25:03] local.INFO: TCP Data received {"connection_id":126974,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126974,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:25:03] local.INFO: Processing buffer {"connection_id":126974,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:25:03] local.INFO: IMEI packet received {"connection_id":126974,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":126974,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:25:05] local.INFO: TCP Data received {"connection_id":126974,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3deca210012d65cac006229468000c01162d..."} 
[2026-07-08 00:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3deca210012d65cac006229468000c01162d..."} 
[2026-07-08 00:25:05] local.INFO: Processing buffer {"connection_id":126974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3deca210012d65cac006229468000c01162d..."} 
[2026-07-08 00:25:05] local.INFO: Packet analysis {"connection_id":126974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dec"} 
[2026-07-08 00:25:05] local.INFO: Extracted packet for processing {"connection_id":126974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dec"} 
[2026-07-08 00:25:05] local.INFO: GPS Element Parsed {"raw_longitude":761645760,"raw_latitude":102929512,"longitude_deg":76.164576,"latitude_deg":10.2929512,"altitude":12,"angle":278,"satellites":45,"speed":51,"hex_longitude":"2d65cac0","hex_latitude":"06229468","is_valid_coordinates":true} 
[2026-07-08 00:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563288064001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132422843987132416,"note":"Value kept but may cause issues"} 
[2026-07-08 00:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7337630456731508736,"note":"Value kept but may cause issues"} 
[2026-07-08 00:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783450346000,"timestamp_ms":1783450346000,"timestamp_seconds":1783450346,"priority":1,"record_length":96,"hex_timestamp":"0000019f3deca210"} 
[2026-07-08 00:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 00:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126974,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126974,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563288064001,"66":27908,"83":206,"19":40704,"24":51,"16":132422843987132416,"45":7337630456731508736},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,19,24,16,45]} 
[2026-07-08 00:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563288064001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:25:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-08 00:25:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-08 00:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132422843987132416,"km_value":132422843987132.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7337630456731508736,"description":"Unknown IO ID 45"} 
[2026-07-08 00:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563288064001,"power":27908,"unknown_83":206,"unknown_19":40704,"ignition":51,"odometer":null,"unknown_45":7337630456731508736}} 
[2026-07-08 00:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":126974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448499,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:25:05] local.INFO: GPS data processed {"connection_id":126974,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:25:05] local.INFO: Acknowledgment sent {"connection_id":126974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:25:16] local.INFO: TCP Data received {"connection_id":125708,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3deae4c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3deae4c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:25:16] local.INFO: Processing buffer {"connection_id":125708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3deae4c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:25:16] local.INFO: Packet analysis {"connection_id":125708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dea"} 
[2026-07-08 00:25:16] local.INFO: Extracted packet for processing {"connection_id":125708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dea"} 
[2026-07-08 00:25:16] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563182336001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783450232000,"timestamp_ms":1783450232000,"timestamp_seconds":1783450232,"priority":1,"record_length":96,"hex_timestamp":"0000019f3deae4c0"} 
[2026-07-08 00:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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-07-08 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-07-08 00:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":125708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":125708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":125708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563182336001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563182336001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:25:16] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:25:16] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563182336001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":125708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:25:16] local.INFO: GPS data processed {"connection_id":125708,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:25:16] local.INFO: Acknowledgment sent {"connection_id":125708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:25:37] local.INFO: TCP Data received {"connection_id":126974,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3decf418012d656c8006229a20000c011829..."} 
[2026-07-08 00:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3decf418012d656c8006229a20000c011829..."} 
[2026-07-08 00:25:37] local.INFO: Processing buffer {"connection_id":126974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3decf418012d656c8006229a20000c011829..."} 
[2026-07-08 00:25:37] local.INFO: Packet analysis {"connection_id":126974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dec"} 
[2026-07-08 00:25:37] local.INFO: Extracted packet for processing {"connection_id":126974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dec"} 
[2026-07-08 00:25:37] local.INFO: GPS Element Parsed {"raw_longitude":761621632,"raw_latitude":102930976,"longitude_deg":76.1621632,"latitude_deg":10.2930976,"altitude":12,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d656c80","hex_latitude":"06229a20","is_valid_coordinates":true} 
[2026-07-08 00:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563288576001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132422904116674560,"note":"Value kept but may cause issues"} 
[2026-07-08 00:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7334886075708762112,"note":"Value kept but may cause issues"} 
[2026-07-08 00:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783450367000,"timestamp_ms":1783450367000,"timestamp_seconds":1783450367,"priority":1,"record_length":96,"hex_timestamp":"0000019f3decf418"} 
[2026-07-08 00:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 00:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126974,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126974,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563288576001,"66":27930,"83":206,"19":40704,"24":0,"16":132422904116674560,"45":7334886075708762112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,19,24,16,45]} 
[2026-07-08 00:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563288576001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:25:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-08 00:25:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-08 00:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132422904116674560,"km_value":132422904116674.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7334886075708762112,"description":"Unknown IO ID 45"} 
[2026-07-08 00:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563288576001,"power":27930,"unknown_83":206,"unknown_19":40704,"ignition":0,"odometer":null,"unknown_45":7334886075708762112}} 
[2026-07-08 00:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":126974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448501,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:25:37] local.INFO: GPS data processed {"connection_id":126974,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:25:37] local.INFO: Acknowledgment sent {"connection_id":126974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:25:58] local.INFO: TCP Data received {"connection_id":125709,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:25:58] local.INFO: Processing buffer {"connection_id":125709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:25:58] local.INFO: IMEI packet received {"connection_id":125709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":125709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:26:00] local.INFO: TCP Data received {"connection_id":126975,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126975,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:26:00] local.INFO: Processing buffer {"connection_id":126975,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:26:00] local.INFO: IMEI packet received {"connection_id":126975,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":126975,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:26:02] local.INFO: TCP Data received {"connection_id":126975,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126975,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:26:02] local.INFO: Processing buffer {"connection_id":126975,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:26:02] local.INFO: IMEI packet received {"connection_id":126975,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":126975,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:26:03] local.INFO: TCP Data received {"connection_id":125709,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:26:03] local.INFO: Processing buffer {"connection_id":125709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:26:03] local.INFO: IMEI packet received {"connection_id":125709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":125709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:26:03] local.INFO: TCP Data received {"connection_id":126975,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126975,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:26:03] local.INFO: Processing buffer {"connection_id":126975,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:26:03] local.INFO: IMEI packet received {"connection_id":126975,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":126975,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:26:04] local.INFO: TCP Data received {"connection_id":125709,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3deae4c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3deae4c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:26:04] local.INFO: Processing buffer {"connection_id":125709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3deae4c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:26:04] local.INFO: Packet analysis {"connection_id":125709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dea"} 
[2026-07-08 00:26:04] local.INFO: Extracted packet for processing {"connection_id":125709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dea"} 
[2026-07-08 00:26:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563182336001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783450232000,"timestamp_ms":1783450232000,"timestamp_seconds":1783450232,"priority":1,"record_length":96,"hex_timestamp":"0000019f3deae4c0"} 
[2026-07-08 00:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:26:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 00:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:26:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563182336001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563182336001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:26:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:26:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563182336001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":125709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:26:04] local.INFO: GPS data processed {"connection_id":125709,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:26:04] local.INFO: Acknowledgment sent {"connection_id":125709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:26:08] local.INFO: TCP Data received {"connection_id":126975,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126975,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:26:08] local.INFO: Processing buffer {"connection_id":126975,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:26:08] local.INFO: IMEI packet received {"connection_id":126975,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":126975,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:26:10] local.INFO: TCP Data received {"connection_id":126975,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3deeec00012d63ee800623cce8000d01582c..."} 
[2026-07-08 00:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3deeec00012d63ee800623cce8000d01582c..."} 
[2026-07-08 00:26:10] local.INFO: Processing buffer {"connection_id":126975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3deeec00012d63ee800623cce8000d01582c..."} 
[2026-07-08 00:26:10] local.INFO: Packet analysis {"connection_id":126975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dee"} 
[2026-07-08 00:26:10] local.INFO: Extracted packet for processing {"connection_id":126975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dee"} 
[2026-07-08 00:26:10] local.INFO: GPS Element Parsed {"raw_longitude":761523840,"raw_latitude":103009512,"longitude_deg":76.152384,"latitude_deg":10.3009512,"altitude":13,"angle":344,"satellites":44,"speed":42,"hex_longitude":"2d63ee80","hex_latitude":"0623cce8","is_valid_coordinates":true} 
[2026-07-08 00:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563324672001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132426013672996864,"note":"Value kept but may cause issues"} 
[2026-07-08 00:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7203437261603035136,"note":"Value kept but may cause issues"} 
[2026-07-08 00:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783450496000,"timestamp_ms":1783450496000,"timestamp_seconds":1783450496,"priority":1,"record_length":96,"hex_timestamp":"0000019f3deeec00"} 
[2026-07-08 00:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-08 00:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126975,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126975,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563324672001,"66":27930,"254":206,"19":40704,"24":42,"16":132426013672996864,"45":7203437261603035136},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,19,24,16,45]} 
[2026-07-08 00:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563324672001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:26:10] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-08 00:26:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-08 00:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132426013672996864,"km_value":132426013672996.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7203437261603035136,"description":"Unknown IO ID 45"} 
[2026-07-08 00:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563324672001,"power":27930,"unknown_254":206,"unknown_19":40704,"ignition":42,"odometer":null,"unknown_45":7203437261603035136}} 
[2026-07-08 00:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":126975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448503,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:26:10] local.INFO: GPS data processed {"connection_id":126975,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:26:10] local.INFO: Acknowledgment sent {"connection_id":126975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:26:12] local.INFO: TCP Data received {"connection_id":126975,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3def0f28012d63e6000623f2e8000a01612d..."} 
[2026-07-08 00:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3def0f28012d63e6000623f2e8000a01612d..."} 
[2026-07-08 00:26:12] local.INFO: Processing buffer {"connection_id":126975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3def0f28012d63e6000623f2e8000a01612d..."} 
[2026-07-08 00:26:12] local.INFO: Packet analysis {"connection_id":126975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3def"} 
[2026-07-08 00:26:12] local.INFO: Extracted packet for processing {"connection_id":126975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3def"} 
[2026-07-08 00:26:12] local.INFO: GPS Element Parsed {"raw_longitude":761521664,"raw_latitude":103019240,"longitude_deg":76.1521664,"latitude_deg":10.301924,"altitude":10,"angle":353,"satellites":45,"speed":45,"hex_longitude":"2d63e600","hex_latitude":"0623f2e8","is_valid_coordinates":true} 
[2026-07-08 00:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563326976001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132426499004301312,"note":"Value kept but may cause issues"} 
[2026-07-08 00:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7200833618070792192,"note":"Value kept but may cause issues"} 
[2026-07-08 00:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783450505000,"timestamp_ms":1783450505000,"timestamp_seconds":1783450505,"priority":1,"record_length":96,"hex_timestamp":"0000019f3def0f28"} 
[2026-07-08 00:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:26: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-07-08 00: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-08 00:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":126975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":126975,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":126975,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563326976001,"66":27930,"254":206,"19":40704,"24":45,"16":132426499004301312,"45":7200833618070792192},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,19,24,16,45]} 
[2026-07-08 00:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563326976001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:26:12] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-08 00:26:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-07-08 00:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132426499004301312,"km_value":132426499004301.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":7200833618070792192,"description":"Unknown IO ID 45"} 
[2026-07-08 00:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563326976001,"power":27930,"unknown_254":206,"unknown_19":40704,"ignition":45,"odometer":null,"unknown_45":7200833618070792192}} 
[2026-07-08 00:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":126975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448504,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:26:12] local.INFO: GPS data processed {"connection_id":126975,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:26:12] local.INFO: Acknowledgment sent {"connection_id":126975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:26:34] local.INFO: TCP Data received {"connection_id":125709,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3def7c88012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3def7c88012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:26:34] local.INFO: Processing buffer {"connection_id":125709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3def7c88012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:26:34] local.INFO: Packet analysis {"connection_id":125709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3def"} 
[2026-07-08 00:26:34] local.INFO: Extracted packet for processing {"connection_id":125709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3def"} 
[2026-07-08 00:26:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563259392001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783450533000,"timestamp_ms":1783450533000,"timestamp_seconds":1783450533,"priority":1,"record_length":96,"hex_timestamp":"0000019f3def7c88"} 
[2026-07-08 00:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 00:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563259392001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563259392001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:26:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:26:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563259392001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":125709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:26:34] local.INFO: GPS data processed {"connection_id":125709,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:26:34] local.INFO: Acknowledgment sent {"connection_id":125709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:26:57] local.INFO: TCP Data received {"connection_id":124978,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:26:57] local.INFO: Processing buffer {"connection_id":124978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:26:57] local.INFO: IMEI packet received {"connection_id":124978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":124978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:26:58] local.INFO: TCP Data received {"connection_id":125710,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125710,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:26:58] local.INFO: Processing buffer {"connection_id":125710,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:26:58] local.INFO: IMEI packet received {"connection_id":125710,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":125710,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:26:58] local.INFO: TCP Data received {"connection_id":125710,"ip":"117.224.129.116","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-08 00:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125710,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-08 00:26:58] local.INFO: Processing buffer {"connection_id":125710,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-08 00:26:58] local.INFO: IMEI packet received {"connection_id":125710,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":125710,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:26:59] local.INFO: TCP Data received {"connection_id":125710,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125710,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:26:59] local.INFO: Processing buffer {"connection_id":125710,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-08 00:26:59] local.INFO: IMEI packet received {"connection_id":125710,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":125710,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:27:03] local.INFO: TCP Data received {"connection_id":124978,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:27:03] local.INFO: Processing buffer {"connection_id":124978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:27:03] local.INFO: IMEI packet received {"connection_id":124978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":124978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:27:03] local.INFO: TCP Data received {"connection_id":124978,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3def7c88012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3def7c88012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:27:03] local.INFO: Processing buffer {"connection_id":124978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3def7c88012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:27:03] local.INFO: Packet analysis {"connection_id":124978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3def"} 
[2026-07-08 00:27:03] local.INFO: Extracted packet for processing {"connection_id":124978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3def"} 
[2026-07-08 00:27:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563259392001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783450533000,"timestamp_ms":1783450533000,"timestamp_seconds":1783450533,"priority":1,"record_length":96,"hex_timestamp":"0000019f3def7c88"} 
[2026-07-08 00:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 00:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563259392001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563259392001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:27:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:27:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563259392001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":124978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:27:03] local.INFO: GPS data processed {"connection_id":124978,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:27:03] local.INFO: Acknowledgment sent {"connection_id":124978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:27:35] local.INFO: TCP Data received {"connection_id":124978,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3def7c88012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3def7c88012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:27:35] local.INFO: Processing buffer {"connection_id":124978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3def7c88012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:27:35] local.INFO: Packet analysis {"connection_id":124978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3def"} 
[2026-07-08 00:27:35] local.INFO: Extracted packet for processing {"connection_id":124978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3def"} 
[2026-07-08 00:27:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563259392001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783450533000,"timestamp_ms":1783450533000,"timestamp_seconds":1783450533,"priority":1,"record_length":96,"hex_timestamp":"0000019f3def7c88"} 
[2026-07-08 00:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 00:27: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-07-08 00:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563259392001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563259392001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:27:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:27:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563259392001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":124978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:27:35] local.INFO: GPS data processed {"connection_id":124978,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:27:35] local.INFO: Acknowledgment sent {"connection_id":124978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:28:03] local.INFO: TCP Data received {"connection_id":126976,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:28:03] local.INFO: Processing buffer {"connection_id":126976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:28:03] local.INFO: IMEI packet received {"connection_id":126976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":126976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:28:08] local.INFO: TCP Data received {"connection_id":126976,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:28:08] local.INFO: Processing buffer {"connection_id":126976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:28:08] local.INFO: IMEI packet received {"connection_id":126976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":126976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:28:08] local.INFO: TCP Data received {"connection_id":126976,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3def7c88012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3def7c88012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:28:08] local.INFO: Processing buffer {"connection_id":126976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3def7c88012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:28:08] local.INFO: Packet analysis {"connection_id":126976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3def"} 
[2026-07-08 00:28:08] local.INFO: Extracted packet for processing {"connection_id":126976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3def"} 
[2026-07-08 00:28:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563259392001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783450533000,"timestamp_ms":1783450533000,"timestamp_seconds":1783450533,"priority":1,"record_length":96,"hex_timestamp":"0000019f3def7c88"} 
[2026-07-08 00:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 00:28: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-07-08 00:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563259392001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563259392001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:28:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:28:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563259392001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":126976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:28:08] local.INFO: GPS data processed {"connection_id":126976,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:28:08] local.INFO: Acknowledgment sent {"connection_id":126976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:28:13] local.INFO: TCP Data received {"connection_id":126976,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3def7c88012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3def7c88012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:28:13] local.INFO: Processing buffer {"connection_id":126976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3def7c88012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:28:13] local.INFO: Packet analysis {"connection_id":126976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3def"} 
[2026-07-08 00:28:13] local.INFO: Extracted packet for processing {"connection_id":126976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3def"} 
[2026-07-08 00:28:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 00:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563259392001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783450533000,"timestamp_ms":1783450533000,"timestamp_seconds":1783450533,"priority":1,"record_length":96,"hex_timestamp":"0000019f3def7c88"} 
[2026-07-08 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-07-08 00:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":97,"data_length":795,"current_offset":136} 
[2026-07-08 00:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 00:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":126976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":126976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":126976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563259392001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563259392001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:28:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:28:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563259392001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":126976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:28:13] local.INFO: GPS data processed {"connection_id":126976,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:28:13] local.INFO: Acknowledgment sent {"connection_id":126976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:28:58] local.INFO: TCP Data received {"connection_id":124882,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:28:58] local.INFO: Processing buffer {"connection_id":124882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:28:58] local.INFO: IMEI packet received {"connection_id":124882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":124882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:29:03] local.INFO: TCP Data received {"connection_id":124882,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:29:03] local.INFO: Processing buffer {"connection_id":124882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:29:03] local.INFO: IMEI packet received {"connection_id":124882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":124882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:29:03] local.INFO: TCP Data received {"connection_id":124882,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3def7c88012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3def7c88012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:29:03] local.INFO: Processing buffer {"connection_id":124882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3def7c88012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:29:03] local.INFO: Packet analysis {"connection_id":124882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3def"} 
[2026-07-08 00:29:03] local.INFO: Extracted packet for processing {"connection_id":124882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3def"} 
[2026-07-08 00:29:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563259392001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783450533000,"timestamp_ms":1783450533000,"timestamp_seconds":1783450533,"priority":1,"record_length":96,"hex_timestamp":"0000019f3def7c88"} 
[2026-07-08 00:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 00:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563259392001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563259392001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:29:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:29:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563259392001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":124882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:29:03] local.INFO: GPS data processed {"connection_id":124882,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:29:03] local.INFO: Acknowledgment sent {"connection_id":124882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:29:35] local.INFO: TCP Data received {"connection_id":124882,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3def7c88012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3def7c88012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:29:35] local.INFO: Processing buffer {"connection_id":124882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3def7c88012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:29:35] local.INFO: Packet analysis {"connection_id":124882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3def"} 
[2026-07-08 00:29:35] local.INFO: Extracted packet for processing {"connection_id":124882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3def"} 
[2026-07-08 00:29:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563259392001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783450533000,"timestamp_ms":1783450533000,"timestamp_seconds":1783450533,"priority":1,"record_length":96,"hex_timestamp":"0000019f3def7c88"} 
[2026-07-08 00:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 00:29: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-07-08 00:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563259392001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563259392001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:29:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:29:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563259392001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":124882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:29:35] local.INFO: GPS data processed {"connection_id":124882,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:29:35] local.INFO: Acknowledgment sent {"connection_id":124882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:29:58] local.INFO: TCP Data received {"connection_id":124883,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:29:58] local.INFO: Processing buffer {"connection_id":124883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:29:58] local.INFO: IMEI packet received {"connection_id":124883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":124883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:30:03] local.INFO: TCP Data received {"connection_id":124883,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:30:03] local.INFO: Processing buffer {"connection_id":124883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:30:03] local.INFO: IMEI packet received {"connection_id":124883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":124883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:30:04] local.INFO: TCP Data received {"connection_id":124883,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3def7c88012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3def7c88012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:30:04] local.INFO: Processing buffer {"connection_id":124883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3def7c88012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:30:04] local.INFO: Packet analysis {"connection_id":124883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3def"} 
[2026-07-08 00:30:04] local.INFO: Extracted packet for processing {"connection_id":124883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3def"} 
[2026-07-08 00:30:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563259392001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783450533000,"timestamp_ms":1783450533000,"timestamp_seconds":1783450533,"priority":1,"record_length":96,"hex_timestamp":"0000019f3def7c88"} 
[2026-07-08 00:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":97,"data_length":795,"current_offset":136} 
[2026-07-08 00:30: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-07-08 00: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-07-08 00:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563259392001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563259392001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:30:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:30:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563259392001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":124883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:30:04] local.INFO: GPS data processed {"connection_id":124883,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:30:04] local.INFO: Acknowledgment sent {"connection_id":124883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:30:35] local.INFO: TCP Data received {"connection_id":124883,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3def7c88012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3def7c88012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:30:35] local.INFO: Processing buffer {"connection_id":124883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3def7c88012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:30:35] local.INFO: Packet analysis {"connection_id":124883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3def"} 
[2026-07-08 00:30:35] local.INFO: Extracted packet for processing {"connection_id":124883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3def"} 
[2026-07-08 00:30:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563259392001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783450533000,"timestamp_ms":1783450533000,"timestamp_seconds":1783450533,"priority":1,"record_length":96,"hex_timestamp":"0000019f3def7c88"} 
[2026-07-08 00:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 00:30: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-07-08 00:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563259392001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563259392001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:30:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:30:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563259392001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":124883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:30:35] local.INFO: GPS data processed {"connection_id":124883,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:30:35] local.INFO: Acknowledgment sent {"connection_id":124883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:30:58] local.INFO: TCP Data received {"connection_id":126977,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:30:58] local.INFO: Processing buffer {"connection_id":126977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:30:58] local.INFO: IMEI packet received {"connection_id":126977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":126977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:31:03] local.INFO: TCP Data received {"connection_id":126977,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:31:03] local.INFO: Processing buffer {"connection_id":126977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:31:03] local.INFO: IMEI packet received {"connection_id":126977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":126977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:31:03] local.INFO: TCP Data received {"connection_id":126977,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3def7c88012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3def7c88012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:31:03] local.INFO: Processing buffer {"connection_id":126977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3def7c88012dc5eb400537d5a00034014430..."} 
[2026-07-08 00:31:03] local.INFO: Packet analysis {"connection_id":126977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3def"} 
[2026-07-08 00:31:03] local.INFO: Extracted packet for processing {"connection_id":126977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3def"} 
[2026-07-08 00:31:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563259392001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783450533000,"timestamp_ms":1783450533000,"timestamp_seconds":1783450533,"priority":1,"record_length":96,"hex_timestamp":"0000019f3def7c88"} 
[2026-07-08 00:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 00:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563259392001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563259392001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:31:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:31:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563259392001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":126977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:31:03] local.INFO: GPS data processed {"connection_id":126977,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:31:03] local.INFO: Acknowledgment sent {"connection_id":126977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:31:34] local.INFO: TCP Data received {"connection_id":126977,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3df41450012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3df41450012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:31:34] local.INFO: Processing buffer {"connection_id":126977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3df41450012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:31:34] local.INFO: Packet analysis {"connection_id":126977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3df4"} 
[2026-07-08 00:31:34] local.INFO: Extracted packet for processing {"connection_id":126977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3df4"} 
[2026-07-08 00:31:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":51,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563336448001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783450834000,"timestamp_ms":1783450834000,"timestamp_seconds":1783450834,"priority":1,"record_length":96,"hex_timestamp":"0000019f3df41450"} 
[2026-07-08 00:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 00:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563336448001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563336448001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:31:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:31:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563336448001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":126977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:31:34] local.INFO: GPS data processed {"connection_id":126977,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:31:34] local.INFO: Acknowledgment sent {"connection_id":126977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:31:58] local.INFO: TCP Data received {"connection_id":125712,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:31:58] local.INFO: Processing buffer {"connection_id":125712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:31:58] local.INFO: IMEI packet received {"connection_id":125712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":125712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:32:02] local.INFO: TCP Data received {"connection_id":124981,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124981,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:32:02] local.INFO: Processing buffer {"connection_id":124981,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:32:02] local.INFO: IMEI packet received {"connection_id":124981,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":124981,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:32:03] local.INFO: TCP Data received {"connection_id":125712,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:32:03] local.INFO: Processing buffer {"connection_id":125712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:32:03] local.INFO: IMEI packet received {"connection_id":125712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":125712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:32:03] local.INFO: TCP Data received {"connection_id":124981,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124981,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:32:03] local.INFO: Processing buffer {"connection_id":124981,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:32:03] local.INFO: IMEI packet received {"connection_id":124981,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":124981,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:32:03] local.INFO: TCP Data received {"connection_id":125712,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3df41450012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3df41450012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:32:03] local.INFO: Processing buffer {"connection_id":125712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3df41450012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:32:03] local.INFO: Packet analysis {"connection_id":125712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3df4"} 
[2026-07-08 00:32:03] local.INFO: Extracted packet for processing {"connection_id":125712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3df4"} 
[2026-07-08 00:32:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":51,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563336448001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783450834000,"timestamp_ms":1783450834000,"timestamp_seconds":1783450834,"priority":1,"record_length":96,"hex_timestamp":"0000019f3df41450"} 
[2026-07-08 00:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 00:32: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-07-08 00: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-07-08 00:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563336448001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563336448001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:32:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:32:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563336448001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":125712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:32:03] local.INFO: GPS data processed {"connection_id":125712,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:32:03] local.INFO: Acknowledgment sent {"connection_id":125712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:32:04] local.INFO: TCP Data received {"connection_id":124981,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3df475f8012d61d90006291cd0000e014e2e..."} 
[2026-07-08 00:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3df475f8012d61d90006291cd0000e014e2e..."} 
[2026-07-08 00:32:04] local.INFO: Processing buffer {"connection_id":124981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3df475f8012d61d90006291cd0000e014e2e..."} 
[2026-07-08 00:32:04] local.INFO: Packet analysis {"connection_id":124981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3df4"} 
[2026-07-08 00:32:04] local.INFO: Extracted packet for processing {"connection_id":124981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3df4"} 
[2026-07-08 00:32:04] local.INFO: GPS Element Parsed {"raw_longitude":761387264,"raw_latitude":103357648,"longitude_deg":76.1387264,"latitude_deg":10.3357648,"altitude":14,"angle":334,"satellites":46,"speed":59,"hex_longitude":"2d61d900","hex_latitude":"06291cd0","is_valid_coordinates":true} 
[2026-07-08 00:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563418368001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132444499212238848,"note":"Value kept but may cause issues"} 
[2026-07-08 00:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7055099948965879808,"note":"Value kept but may cause issues"} 
[2026-07-08 00:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783450859000,"timestamp_ms":1783450859000,"timestamp_seconds":1783450859,"priority":1,"record_length":96,"hex_timestamp":"0000019f3df475f8"} 
[2026-07-08 00:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:32: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-07-08 00:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 00:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124981,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124981,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563418368001,"66":27800,"13":206,"19":40192,"24":59,"16":132444499212238848,"45":7055099948965879808},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-07-08 00:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563418368001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:32:04] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-07-08 00:32:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-08 00:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132444499212238848,"km_value":132444499212238.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7055099948965879808,"description":"Unknown IO ID 45"} 
[2026-07-08 00:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563418368001,"power":27800,"unknown_13":206,"unknown_19":40192,"ignition":59,"odometer":null,"unknown_45":7055099948965879808}} 
[2026-07-08 00:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":124981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448517,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:32:04] local.INFO: GPS data processed {"connection_id":124981,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:32:04] local.INFO: Acknowledgment sent {"connection_id":124981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:32:18] local.INFO: TCP Data received {"connection_id":124981,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3df48d68012d61ca4006293ce0000c01512b..."} 
[2026-07-08 00:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3df48d68012d61ca4006293ce0000c01512b..."} 
[2026-07-08 00:32:18] local.INFO: Processing buffer {"connection_id":124981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3df48d68012d61ca4006293ce0000c01512b..."} 
[2026-07-08 00:32:18] local.INFO: Packet analysis {"connection_id":124981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3df4"} 
[2026-07-08 00:32:18] local.INFO: Extracted packet for processing {"connection_id":124981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3df4"} 
[2026-07-08 00:32:18] local.INFO: GPS Element Parsed {"raw_longitude":761383488,"raw_latitude":103365856,"longitude_deg":76.1383488,"latitude_deg":10.3365856,"altitude":12,"angle":337,"satellites":43,"speed":59,"hex_longitude":"2d61ca40","hex_latitude":"06293ce0","is_valid_coordinates":true} 
[2026-07-08 00:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563419904001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132444933003935744,"note":"Value kept but may cause issues"} 
[2026-07-08 00:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7050666718084780032,"note":"Value kept but may cause issues"} 
[2026-07-08 00:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783450865000,"timestamp_ms":1783450865000,"timestamp_seconds":1783450865,"priority":1,"record_length":96,"hex_timestamp":"0000019f3df48d68"} 
[2026-07-08 00:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 00:32:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:32:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":124981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":124981,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":124981,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563419904001,"66":27974,"13":206,"19":40192,"24":59,"16":132444933003935744,"45":7050666718084780032},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-07-08 00:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563419904001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:32:18] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-07-08 00:32:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-08 00:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132444933003935744,"km_value":132444933003935.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":7050666718084780032,"description":"Unknown IO ID 45"} 
[2026-07-08 00:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563419904001,"power":27974,"unknown_13":206,"unknown_19":40192,"ignition":59,"odometer":null,"unknown_45":7050666718084780032}} 
[2026-07-08 00:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":124981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448518,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:32:19] local.INFO: GPS data processed {"connection_id":124981,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:32:19] local.INFO: Acknowledgment sent {"connection_id":124981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:32:35] local.INFO: TCP Data received {"connection_id":125712,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3df41450012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3df41450012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:32:35] local.INFO: Processing buffer {"connection_id":125712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3df41450012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:32:35] local.INFO: Packet analysis {"connection_id":125712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3df4"} 
[2026-07-08 00:32:35] local.INFO: Extracted packet for processing {"connection_id":125712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3df4"} 
[2026-07-08 00:32:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":51,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563336448001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783450834000,"timestamp_ms":1783450834000,"timestamp_seconds":1783450834,"priority":1,"record_length":96,"hex_timestamp":"0000019f3df41450"} 
[2026-07-08 00:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 00:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:32: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-07-08 00:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563336448001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563336448001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:32:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:32:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563336448001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":125712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:32:35] local.INFO: GPS data processed {"connection_id":125712,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:32:35] local.INFO: Acknowledgment sent {"connection_id":125712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:32:58] local.INFO: TCP Data received {"connection_id":126978,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:32:58] local.INFO: Processing buffer {"connection_id":126978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:32:58] local.INFO: IMEI packet received {"connection_id":126978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":126978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:32:58] local.INFO: TCP Data received {"connection_id":124884,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:32:58] local.INFO: Processing buffer {"connection_id":124884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:32:58] local.INFO: IMEI packet received {"connection_id":124884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":124884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:33:00] local.INFO: TCP Data received {"connection_id":126978,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:33:00] local.INFO: Processing buffer {"connection_id":126978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:33:00] local.INFO: IMEI packet received {"connection_id":126978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":126978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:33:03] local.INFO: TCP Data received {"connection_id":124884,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:33:03] local.INFO: Processing buffer {"connection_id":124884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:33:03] local.INFO: IMEI packet received {"connection_id":124884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":124884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:33:03] local.INFO: TCP Data received {"connection_id":126978,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:33:03] local.INFO: Processing buffer {"connection_id":126978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:33:03] local.INFO: IMEI packet received {"connection_id":126978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":126978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:33:04] local.INFO: TCP Data received {"connection_id":124884,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3df41450012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3df41450012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:33:04] local.INFO: Processing buffer {"connection_id":124884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3df41450012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:33:04] local.INFO: Packet analysis {"connection_id":124884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3df4"} 
[2026-07-08 00:33:04] local.INFO: Extracted packet for processing {"connection_id":124884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3df4"} 
[2026-07-08 00:33:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":51,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563336448001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783450834000,"timestamp_ms":1783450834000,"timestamp_seconds":1783450834,"priority":1,"record_length":96,"hex_timestamp":"0000019f3df41450"} 
[2026-07-08 00:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":151,"data_length":795,"current_offset":136} 
[2026-07-08 00:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563336448001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563336448001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:33:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:33:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563336448001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":124884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:33:04] local.INFO: GPS data processed {"connection_id":124884,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:33:04] local.INFO: Acknowledgment sent {"connection_id":124884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:33:04] local.INFO: TCP Data received {"connection_id":126978,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3df4a4d8012d61be4006295d98000a01542c..."} 
[2026-07-08 00:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3df4a4d8012d61be4006295d98000a01542c..."} 
[2026-07-08 00:33:04] local.INFO: Processing buffer {"connection_id":126978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3df4a4d8012d61be4006295d98000a01542c..."} 
[2026-07-08 00:33:04] local.INFO: Packet analysis {"connection_id":126978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3df4"} 
[2026-07-08 00:33:04] local.INFO: Extracted packet for processing {"connection_id":126978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3df4"} 
[2026-07-08 00:33:04] local.INFO: GPS Element Parsed {"raw_longitude":761380416,"raw_latitude":103374232,"longitude_deg":76.1380416,"latitude_deg":10.3374232,"altitude":10,"angle":340,"satellites":44,"speed":59,"hex_longitude":"2d61be40","hex_latitude":"06295d98","is_valid_coordinates":true} 
[2026-07-08 00:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563421440001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132445366795632640,"note":"Value kept but may cause issues"} 
[2026-07-08 00:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7046514962180399104,"note":"Value kept but may cause issues"} 
[2026-07-08 00:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783450871000,"timestamp_ms":1783450871000,"timestamp_seconds":1783450871,"priority":1,"record_length":96,"hex_timestamp":"0000019f3df4a4d8"} 
[2026-07-08 00:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:33: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-07-08 00:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-08 00:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563421440001,"66":27821,"13":206,"19":40192,"24":59,"16":132445366795632640,"45":7046514962180399104},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-07-08 00:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563421440001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:33:04] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-07-08 00:33:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-08 00:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132445366795632640,"km_value":132445366795632.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7046514962180399104,"description":"Unknown IO ID 45"} 
[2026-07-08 00:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563421440001,"power":27821,"unknown_13":206,"unknown_19":40192,"ignition":59,"odometer":null,"unknown_45":7046514962180399104}} 
[2026-07-08 00:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":126978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448521,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:33:04] local.INFO: GPS data processed {"connection_id":126978,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:33:04] local.INFO: Acknowledgment sent {"connection_id":126978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:33:35] local.INFO: TCP Data received {"connection_id":124884,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3df41450012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3df41450012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:33:35] local.INFO: Processing buffer {"connection_id":124884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3df41450012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:33:35] local.INFO: Packet analysis {"connection_id":124884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3df4"} 
[2026-07-08 00:33:35] local.INFO: Extracted packet for processing {"connection_id":124884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3df4"} 
[2026-07-08 00:33:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":51,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563336448001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783450834000,"timestamp_ms":1783450834000,"timestamp_seconds":1783450834,"priority":1,"record_length":96,"hex_timestamp":"0000019f3df41450"} 
[2026-07-08 00:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 00:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:33: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-07-08 00:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563336448001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563336448001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:33:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:33:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563336448001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":124884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:33:35] local.INFO: GPS data processed {"connection_id":124884,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:33:35] local.INFO: Acknowledgment sent {"connection_id":124884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:33:37] local.INFO: TCP Data received {"connection_id":126978,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3df60850012d60d980062b3388000d014d2c..."} 
[2026-07-08 00:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3df60850012d60d980062b3388000d014d2c..."} 
[2026-07-08 00:33:37] local.INFO: Processing buffer {"connection_id":126978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3df60850012d60d980062b3388000d014d2c..."} 
[2026-07-08 00:33:37] local.INFO: Packet analysis {"connection_id":126978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3df6"} 
[2026-07-08 00:33:37] local.INFO: Extracted packet for processing {"connection_id":126978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3df6"} 
[2026-07-08 00:33:37] local.INFO: GPS Element Parsed {"raw_longitude":761321856,"raw_latitude":103494536,"longitude_deg":76.1321856,"latitude_deg":10.3494536,"altitude":13,"angle":333,"satellites":44,"speed":56,"hex_longitude":"2d60d980","hex_latitude":"062b3388","is_valid_coordinates":true} 
[2026-07-08 00:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563444480001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132451856491216896,"note":"Value kept but may cause issues"} 
[2026-07-08 00:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6984308992358094848,"note":"Value kept but may cause issues"} 
[2026-07-08 00:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783450962000,"timestamp_ms":1783450962000,"timestamp_seconds":1783450962,"priority":1,"record_length":96,"hex_timestamp":"0000019f3df60850"} 
[2026-07-08 00:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 00:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563444480001,"66":27832,"122":206,"19":40192,"24":56,"16":132451856491216896,"45":6984308992358094848},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,19,24,16,45]} 
[2026-07-08 00:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563444480001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:33:37] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-08 00:33:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-08 00:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132451856491216896,"km_value":132451856491216.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6984308992358094848,"description":"Unknown IO ID 45"} 
[2026-07-08 00:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563444480001,"power":27832,"unknown_122":206,"unknown_19":40192,"ignition":56,"odometer":null,"unknown_45":6984308992358094848}} 
[2026-07-08 00:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":126978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448523,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:33:37] local.INFO: GPS data processed {"connection_id":126978,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:33:37] local.INFO: Acknowledgment sent {"connection_id":126978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:33:58] local.INFO: TCP Data received {"connection_id":125713,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:33:58] local.INFO: Processing buffer {"connection_id":125713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:33:58] local.INFO: IMEI packet received {"connection_id":125713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":125713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:34:03] local.INFO: TCP Data received {"connection_id":125713,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:34:03] local.INFO: Processing buffer {"connection_id":125713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:34:03] local.INFO: IMEI packet received {"connection_id":125713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":125713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:34:03] local.INFO: TCP Data received {"connection_id":124885,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124885,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:34:03] local.INFO: Processing buffer {"connection_id":124885,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:34:03] local.INFO: IMEI packet received {"connection_id":124885,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":124885,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:34:04] local.INFO: TCP Data received {"connection_id":124885,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124885,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:34:04] local.INFO: Processing buffer {"connection_id":124885,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:34:04] local.INFO: IMEI packet received {"connection_id":124885,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":124885,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:34:07] local.INFO: TCP Data received {"connection_id":125713,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3df41450012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3df41450012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:34:07] local.INFO: Processing buffer {"connection_id":125713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3df41450012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:34:07] local.INFO: Packet analysis {"connection_id":125713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3df4"} 
[2026-07-08 00:34:07] local.INFO: Extracted packet for processing {"connection_id":125713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3df4"} 
[2026-07-08 00:34:07] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":51,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563336448001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783450834000,"timestamp_ms":1783450834000,"timestamp_seconds":1783450834,"priority":1,"record_length":96,"hex_timestamp":"0000019f3df41450"} 
[2026-07-08 00:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 00:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563336448001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563336448001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:34:07] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:34:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563336448001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":125713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:34:07] local.INFO: GPS data processed {"connection_id":125713,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:34:07] local.INFO: Acknowledgment sent {"connection_id":125713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:34:08] local.INFO: TCP Data received {"connection_id":124885,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124885,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:34:08] local.INFO: Processing buffer {"connection_id":124885,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:34:08] local.INFO: IMEI packet received {"connection_id":124885,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":124885,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:34:10] local.INFO: TCP Data received {"connection_id":124885,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3df623a8012d60cac0062b5768000f01562c..."} 
[2026-07-08 00:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3df623a8012d60cac0062b5768000f01562c..."} 
[2026-07-08 00:34:10] local.INFO: Processing buffer {"connection_id":124885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3df623a8012d60cac0062b5768000f01562c..."} 
[2026-07-08 00:34:10] local.INFO: Packet analysis {"connection_id":124885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3df6"} 
[2026-07-08 00:34:10] local.INFO: Extracted packet for processing {"connection_id":124885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3df6"} 
[2026-07-08 00:34:10] local.INFO: GPS Element Parsed {"raw_longitude":761318080,"raw_latitude":103503720,"longitude_deg":76.131808,"latitude_deg":10.350372,"altitude":15,"angle":342,"satellites":44,"speed":57,"hex_longitude":"2d60cac0","hex_latitude":"062b5768","is_valid_coordinates":true} 
[2026-07-08 00:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563446272001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132452337527554048,"note":"Value kept but may cause issues"} 
[2026-07-08 00:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6978749861570250752,"note":"Value kept but may cause issues"} 
[2026-07-08 00:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783450969000,"timestamp_ms":1783450969000,"timestamp_seconds":1783450969,"priority":1,"record_length":96,"hex_timestamp":"0000019f3df623a8"} 
[2026-07-08 00:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-08 00:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124885,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124885,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563446272001,"66":27908,"122":206,"19":40192,"24":57,"16":132452337527554048,"45":6978749861570250752},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,19,24,16,45]} 
[2026-07-08 00:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563446272001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:34:10] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-08 00:34:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-08 00:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132452337527554048,"km_value":132452337527554.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6978749861570250752,"description":"Unknown IO ID 45"} 
[2026-07-08 00:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563446272001,"power":27908,"unknown_122":206,"unknown_19":40192,"ignition":57,"odometer":null,"unknown_45":6978749861570250752}} 
[2026-07-08 00:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":124885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448525,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:34:10] local.INFO: GPS data processed {"connection_id":124885,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:34:10] local.INFO: Acknowledgment sent {"connection_id":124885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:34:12] local.INFO: TCP Data received {"connection_id":124885,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3df63f00012d60c180062b7e600010015d2b..."} 
[2026-07-08 00:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3df63f00012d60c180062b7e600010015d2b..."} 
[2026-07-08 00:34:12] local.INFO: Processing buffer {"connection_id":124885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3df63f00012d60c180062b7e600010015d2b..."} 
[2026-07-08 00:34:12] local.INFO: Packet analysis {"connection_id":124885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3df6"} 
[2026-07-08 00:34:12] local.INFO: Extracted packet for processing {"connection_id":124885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3df6"} 
[2026-07-08 00:34:12] local.INFO: GPS Element Parsed {"raw_longitude":761315712,"raw_latitude":103513696,"longitude_deg":76.1315712,"latitude_deg":10.3513696,"altitude":16,"angle":349,"satellites":43,"speed":60,"hex_longitude":"2d60c180","hex_latitude":"062b7e60","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563448064001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132452835743760384,"note":"Value kept but may cause issues"} 
[2026-07-08 00:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6974598105666119680,"note":"Value kept but may cause issues"} 
[2026-07-08 00:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783450976000,"timestamp_ms":1783450976000,"timestamp_seconds":1783450976,"priority":1,"record_length":96,"hex_timestamp":"0000019f3df63f00"} 
[2026-07-08 00:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:34: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-07-08 00: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 00:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124885,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124885,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563448064001,"66":27952,"121":206,"19":40192,"24":60,"16":132452835743760384,"45":6974598105666119680},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,19,24,16,45]} 
[2026-07-08 00:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563448064001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:34:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 00:34:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-08 00:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132452835743760384,"km_value":132452835743760.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6974598105666119680,"description":"Unknown IO ID 45"} 
[2026-07-08 00:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563448064001,"power":27952,"unknown_121":206,"unknown_19":40192,"ignition":60,"odometer":null,"unknown_45":6974598105666119680}} 
[2026-07-08 00:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":124885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448526,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:34:12] local.INFO: GPS data processed {"connection_id":124885,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:34:12] local.INFO: Acknowledgment sent {"connection_id":124885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:34:43] local.INFO: TCP Data received {"connection_id":125713,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3df41450012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3df41450012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:34:43] local.INFO: Processing buffer {"connection_id":125713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3df41450012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:34:43] local.INFO: Packet analysis {"connection_id":125713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3df4"} 
[2026-07-08 00:34:43] local.INFO: Extracted packet for processing {"connection_id":125713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3df4"} 
[2026-07-08 00:34:43] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":51,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563336448001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:34:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783450834000,"timestamp_ms":1783450834000,"timestamp_seconds":1783450834,"priority":1,"record_length":96,"hex_timestamp":"0000019f3df41450"} 
[2026-07-08 00:34:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:34:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 00:34:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:34:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":125713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":125713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":125713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:34:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563336448001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563336448001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:34:43] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:34:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563336448001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":125713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:34:43] local.INFO: GPS data processed {"connection_id":125713,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:34:43] local.INFO: Acknowledgment sent {"connection_id":125713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:34:56] local.INFO: TCP Data received {"connection_id":126979,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126979,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:34:56] local.INFO: Processing buffer {"connection_id":126979,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:34:56] local.INFO: IMEI packet received {"connection_id":126979,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":126979,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:34:57] local.INFO: TCP Data received {"connection_id":126980,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:34:57] local.INFO: Processing buffer {"connection_id":126980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:34:57] local.INFO: IMEI packet received {"connection_id":126980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":126980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:34:58] local.INFO: TCP Data received {"connection_id":126979,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126979,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:34:58] local.INFO: Processing buffer {"connection_id":126979,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:34:58] local.INFO: IMEI packet received {"connection_id":126979,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":126979,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:35:02] local.INFO: TCP Data received {"connection_id":126980,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:35:02] local.INFO: Processing buffer {"connection_id":126980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:35:02] local.INFO: IMEI packet received {"connection_id":126980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":126980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:35:03] local.INFO: TCP Data received {"connection_id":126979,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126979,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:35:03] local.INFO: Processing buffer {"connection_id":126979,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:35:03] local.INFO: IMEI packet received {"connection_id":126979,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":126979,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:35:03] local.INFO: TCP Data received {"connection_id":126980,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3df41450012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3df41450012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:35:03] local.INFO: Processing buffer {"connection_id":126980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3df41450012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:35:03] local.INFO: Packet analysis {"connection_id":126980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3df4"} 
[2026-07-08 00:35:03] local.INFO: Extracted packet for processing {"connection_id":126980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3df4"} 
[2026-07-08 00:35:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":51,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563336448001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783450834000,"timestamp_ms":1783450834000,"timestamp_seconds":1783450834,"priority":1,"record_length":96,"hex_timestamp":"0000019f3df41450"} 
[2026-07-08 00:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 00:35: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-07-08 00: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-07-08 00:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563336448001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563336448001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:35:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:35:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563336448001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":126980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:35:03] local.INFO: GPS data processed {"connection_id":126980,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:35:03] local.INFO: Acknowledgment sent {"connection_id":126980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:35:06] local.INFO: TCP Data received {"connection_id":126979,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3df74c88012d603980062cf520000701502e..."} 
[2026-07-08 00:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3df74c88012d603980062cf520000701502e..."} 
[2026-07-08 00:35:06] local.INFO: Processing buffer {"connection_id":126979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3df74c88012d603980062cf520000701502e..."} 
[2026-07-08 00:35:06] local.INFO: Packet analysis {"connection_id":126979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3df7"} 
[2026-07-08 00:35:06] local.INFO: Extracted packet for processing {"connection_id":126979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3df7"} 
[2026-07-08 00:35:06] local.INFO: GPS Element Parsed {"raw_longitude":761280896,"raw_latitude":103609632,"longitude_deg":76.1280896,"latitude_deg":10.3609632,"altitude":7,"angle":336,"satellites":46,"speed":58,"hex_longitude":"2d603980","hex_latitude":"062cf520","is_valid_coordinates":true} 
[2026-07-08 00:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563465728001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132457796430987264,"note":"Value kept but may cause issues"} 
[2026-07-08 00:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6938358202439323648,"note":"Value kept but may cause issues"} 
[2026-07-08 00:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783451045000,"timestamp_ms":1783451045000,"timestamp_seconds":1783451045,"priority":1,"record_length":96,"hex_timestamp":"0000019f3df74c88"} 
[2026-07-08 00:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-08 00:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126979,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126979,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563465728001,"66":27800,"175":206,"19":40192,"24":58,"16":132457796430987264,"45":6938358202439323648},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,19,24,16,45]} 
[2026-07-08 00:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563465728001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:35:06] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-08 00:35:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-08 00:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132457796430987264,"km_value":132457796430987.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6938358202439323648,"description":"Unknown IO ID 45"} 
[2026-07-08 00:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563465728001,"power":27800,"unknown_175":206,"unknown_19":40192,"ignition":58,"odometer":null,"unknown_45":6938358202439323648}} 
[2026-07-08 00:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":126979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448529,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:35:06] local.INFO: GPS data processed {"connection_id":126979,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:35:06] local.INFO: Acknowledgment sent {"connection_id":126979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:35:34] local.INFO: TCP Data received {"connection_id":126980,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3df41450012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3df41450012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:35:34] local.INFO: Processing buffer {"connection_id":126980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3df41450012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:35:34] local.INFO: Packet analysis {"connection_id":126980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3df4"} 
[2026-07-08 00:35:34] local.INFO: Extracted packet for processing {"connection_id":126980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3df4"} 
[2026-07-08 00:35:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":51,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563336448001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783450834000,"timestamp_ms":1783450834000,"timestamp_seconds":1783450834,"priority":1,"record_length":96,"hex_timestamp":"0000019f3df41450"} 
[2026-07-08 00:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 00:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563336448001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563336448001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:35:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:35:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563336448001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":126980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:35:34] local.INFO: GPS data processed {"connection_id":126980,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:35:34] local.INFO: Acknowledgment sent {"connection_id":126980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:35:38] local.INFO: TCP Data received {"connection_id":126979,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3df763f8012d602b40062d14d0000701502b..."} 
[2026-07-08 00:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3df763f8012d602b40062d14d0000701502b..."} 
[2026-07-08 00:35:38] local.INFO: Processing buffer {"connection_id":126979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3df763f8012d602b40062d14d0000701502b..."} 
[2026-07-08 00:35:38] local.INFO: Packet analysis {"connection_id":126979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3df7"} 
[2026-07-08 00:35:38] local.INFO: Extracted packet for processing {"connection_id":126979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3df7"} 
[2026-07-08 00:35:38] local.INFO: GPS Element Parsed {"raw_longitude":761277248,"raw_latitude":103617744,"longitude_deg":76.1277248,"latitude_deg":10.3617744,"altitude":7,"angle":336,"satellites":43,"speed":59,"hex_longitude":"2d602b40","hex_latitude":"062d14d0","is_valid_coordinates":true} 
[2026-07-08 00:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563467520001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132458225927716864,"note":"Value kept but may cause issues"} 
[2026-07-08 00:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6933713865326010368,"note":"Value kept but may cause issues"} 
[2026-07-08 00:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783451051000,"timestamp_ms":1783451051000,"timestamp_seconds":1783451051,"priority":1,"record_length":96,"hex_timestamp":"0000019f3df763f8"} 
[2026-07-08 00:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 00:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126979,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126979,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563467520001,"66":27876,"175":206,"19":40192,"24":59,"16":132458225927716864,"45":6933713865326010368},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,19,24,16,45]} 
[2026-07-08 00:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563467520001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:35:38] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-08 00:35:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-08 00:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132458225927716864,"km_value":132458225927716.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6933713865326010368,"description":"Unknown IO ID 45"} 
[2026-07-08 00:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563467520001,"power":27876,"unknown_175":206,"unknown_19":40192,"ignition":59,"odometer":null,"unknown_45":6933713865326010368}} 
[2026-07-08 00:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":126979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448531,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:35:38] local.INFO: GPS data processed {"connection_id":126979,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:35:38] local.INFO: Acknowledgment sent {"connection_id":126979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:35:57] local.INFO: TCP Data received {"connection_id":124886,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:35:57] local.INFO: Processing buffer {"connection_id":124886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:35:57] local.INFO: IMEI packet received {"connection_id":124886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":124886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:35:58] local.INFO: TCP Data received {"connection_id":125714,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125714,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:35:58] local.INFO: Processing buffer {"connection_id":125714,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:35:58] local.INFO: IMEI packet received {"connection_id":125714,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":125714,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:35:59] local.INFO: TCP Data received {"connection_id":125714,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125714,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:35:59] local.INFO: Processing buffer {"connection_id":125714,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:35:59] local.INFO: IMEI packet received {"connection_id":125714,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":125714,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:36:02] local.INFO: TCP Data received {"connection_id":124886,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:36:02] local.INFO: Processing buffer {"connection_id":124886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:36:02] local.INFO: IMEI packet received {"connection_id":124886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":124886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:36:03] local.INFO: TCP Data received {"connection_id":125714,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125714,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:36:03] local.INFO: Processing buffer {"connection_id":125714,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:36:03] local.INFO: IMEI packet received {"connection_id":125714,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":125714,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:36:05] local.INFO: TCP Data received {"connection_id":125714,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3df77f50012d601a80062d39a0000601502a..."} 
[2026-07-08 00:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3df77f50012d601a80062d39a0000601502a..."} 
[2026-07-08 00:36:05] local.INFO: Processing buffer {"connection_id":125714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3df77f50012d601a80062d39a0000601502a..."} 
[2026-07-08 00:36:05] local.INFO: Packet analysis {"connection_id":125714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3df7"} 
[2026-07-08 00:36:05] local.INFO: Extracted packet for processing {"connection_id":125714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3df7"} 
[2026-07-08 00:36:05] local.INFO: GPS Element Parsed {"raw_longitude":761272960,"raw_latitude":103627168,"longitude_deg":76.127296,"latitude_deg":10.3627168,"altitude":6,"angle":336,"satellites":42,"speed":58,"hex_longitude":"2d601a80","hex_latitude":"062d39a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563469056001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132458728438890496,"note":"Value kept but may cause issues"} 
[2026-07-08 00:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6929702846909960192,"note":"Value kept but may cause issues"} 
[2026-07-08 00:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783451058000,"timestamp_ms":1783451058000,"timestamp_seconds":1783451058,"priority":1,"record_length":96,"hex_timestamp":"0000019f3df77f50"} 
[2026-07-08 00:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 00:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125714,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125714,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563469056001,"66":27952,"175":206,"19":40192,"24":58,"16":132458728438890496,"45":6929702846909960192},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,19,24,16,45]} 
[2026-07-08 00:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563469056001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:36:05] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-08 00:36:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-08 00:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132458728438890496,"km_value":132458728438890.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6929702846909960192,"description":"Unknown IO ID 45"} 
[2026-07-08 00:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563469056001,"power":27952,"unknown_175":206,"unknown_19":40192,"ignition":58,"odometer":null,"unknown_45":6929702846909960192}} 
[2026-07-08 00:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":125714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448532,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:36:05] local.INFO: GPS data processed {"connection_id":125714,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:36:05] local.INFO: Acknowledgment sent {"connection_id":125714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:36:06] local.INFO: TCP Data received {"connection_id":124886,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3df41450012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3df41450012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:36:06] local.INFO: Processing buffer {"connection_id":124886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3df41450012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:36:06] local.INFO: Packet analysis {"connection_id":124886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3df4"} 
[2026-07-08 00:36:06] local.INFO: Extracted packet for processing {"connection_id":124886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3df4"} 
[2026-07-08 00:36:06] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":51,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563336448001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783450834000,"timestamp_ms":1783450834000,"timestamp_seconds":1783450834,"priority":1,"record_length":96,"hex_timestamp":"0000019f3df41450"} 
[2026-07-08 00:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":151,"data_length":795,"current_offset":136} 
[2026-07-08 00:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563336448001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563336448001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:36:06] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:36:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563336448001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":124886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:36:06] local.INFO: GPS data processed {"connection_id":124886,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:36:06] local.INFO: Acknowledgment sent {"connection_id":124886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:36:37] local.INFO: TCP Data received {"connection_id":125714,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3df8cf40012d5f91c0062efb68000d016428..."} 
[2026-07-08 00:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3df8cf40012d5f91c0062efb68000d016428..."} 
[2026-07-08 00:36:37] local.INFO: Processing buffer {"connection_id":125714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3df8cf40012d5f91c0062efb68000d016428..."} 
[2026-07-08 00:36:37] local.INFO: Packet analysis {"connection_id":125714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3df8"} 
[2026-07-08 00:36:37] local.INFO: Extracted packet for processing {"connection_id":125714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3df8"} 
[2026-07-08 00:36:37] local.INFO: GPS Element Parsed {"raw_longitude":761237952,"raw_latitude":103742312,"longitude_deg":76.1237952,"latitude_deg":10.3742312,"altitude":13,"angle":356,"satellites":40,"speed":26,"hex_longitude":"2d5f91c0","hex_latitude":"062efb68","is_valid_coordinates":true} 
[2026-07-08 00:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563491328001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132464599659184128,"note":"Value kept but may cause issues"} 
[2026-07-08 00:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6887551969178193920,"note":"Value kept but may cause issues"} 
[2026-07-08 00:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783451144000,"timestamp_ms":1783451144000,"timestamp_seconds":1783451144,"priority":1,"record_length":96,"hex_timestamp":"0000019f3df8cf40"} 
[2026-07-08 00:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-08 00:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125714,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125714,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563491328001,"66":27767,"174":206,"19":40192,"24":26,"16":132464599659184128,"45":6887551969178193920},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,19,24,16,45]} 
[2026-07-08 00:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563491328001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:36:37] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-08 00:36:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-08 00:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132464599659184128,"km_value":132464599659184.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6887551969178193920,"description":"Unknown IO ID 45"} 
[2026-07-08 00:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563491328001,"power":27767,"unknown_174":206,"unknown_19":40192,"ignition":26,"odometer":null,"unknown_45":6887551969178193920}} 
[2026-07-08 00:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":125714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448534,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:36:37] local.INFO: GPS data processed {"connection_id":125714,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:36:37] local.INFO: Acknowledgment sent {"connection_id":125714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:36:37] local.INFO: TCP Data received {"connection_id":124886,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3df8ac18012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3df8ac18012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:36:37] local.INFO: Processing buffer {"connection_id":124886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3df8ac18012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:36:37] local.INFO: Packet analysis {"connection_id":124886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3df8"} 
[2026-07-08 00:36:37] local.INFO: Extracted packet for processing {"connection_id":124886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3df8"} 
[2026-07-08 00:36:37] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":51,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563413504001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783451135000,"timestamp_ms":1783451135000,"timestamp_seconds":1783451135,"priority":1,"record_length":96,"hex_timestamp":"0000019f3df8ac18"} 
[2026-07-08 00:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563413504001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563413504001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:36:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:36:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563413504001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":124886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:36:37] local.INFO: GPS data processed {"connection_id":124886,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:36:37] local.INFO: Acknowledgment sent {"connection_id":124886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:36:57] local.INFO: TCP Data received {"connection_id":124983,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124983,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:36:57] local.INFO: Processing buffer {"connection_id":124983,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:36:57] local.INFO: IMEI packet received {"connection_id":124983,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":124983,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:36:58] local.INFO: TCP Data received {"connection_id":124982,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:36:58] local.INFO: Processing buffer {"connection_id":124982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:36:58] local.INFO: IMEI packet received {"connection_id":124982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":124982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:37:00] local.INFO: TCP Data received {"connection_id":124983,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124983,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:37:00] local.INFO: Processing buffer {"connection_id":124983,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:37:00] local.INFO: IMEI packet received {"connection_id":124983,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":124983,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:37:02] local.INFO: TCP Data received {"connection_id":124982,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:37:03] local.INFO: Processing buffer {"connection_id":124982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:37:03] local.INFO: IMEI packet received {"connection_id":124982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":124982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:37:03] local.INFO: TCP Data received {"connection_id":124983,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124983,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:37:03] local.INFO: Processing buffer {"connection_id":124983,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:37:03] local.INFO: IMEI packet received {"connection_id":124983,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":124983,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:37:03] local.INFO: TCP Data received {"connection_id":124982,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3df8ac18012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3df8ac18012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:37:03] local.INFO: Processing buffer {"connection_id":124982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3df8ac18012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:37:03] local.INFO: Packet analysis {"connection_id":124982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3df8"} 
[2026-07-08 00:37:03] local.INFO: Extracted packet for processing {"connection_id":124982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3df8"} 
[2026-07-08 00:37:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":51,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563413504001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783451135000,"timestamp_ms":1783451135000,"timestamp_seconds":1783451135,"priority":1,"record_length":96,"hex_timestamp":"0000019f3df8ac18"} 
[2026-07-08 00:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563413504001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563413504001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:37:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:37:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563413504001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":124982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:37:03] local.INFO: GPS data processed {"connection_id":124982,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:37:03] local.INFO: Acknowledgment sent {"connection_id":124982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:37:04] local.INFO: TCP Data received {"connection_id":124983,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3df8daf8012d5f90c0062f0310000d01592d..."} 
[2026-07-08 00:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3df8daf8012d5f90c0062f0310000d01592d..."} 
[2026-07-08 00:37:04] local.INFO: Processing buffer {"connection_id":124983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3df8daf8012d5f90c0062f0310000d01592d..."} 
[2026-07-08 00:37:04] local.INFO: Packet analysis {"connection_id":124983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3df8"} 
[2026-07-08 00:37:04] local.INFO: Extracted packet for processing {"connection_id":124983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3df8"} 
[2026-07-08 00:37:04] local.INFO: GPS Element Parsed {"raw_longitude":761237696,"raw_latitude":103744272,"longitude_deg":76.1237696,"latitude_deg":10.3744272,"altitude":13,"angle":345,"satellites":45,"speed":28,"hex_longitude":"2d5f90c0","hex_latitude":"062f0310","is_valid_coordinates":true} 
[2026-07-08 00:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563492864001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132464698443431936,"note":"Value kept but may cause issues"} 
[2026-07-08 00:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6886496438016763904,"note":"Value kept but may cause issues"} 
[2026-07-08 00:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783451147000,"timestamp_ms":1783451147000,"timestamp_seconds":1783451147,"priority":1,"record_length":96,"hex_timestamp":"0000019f3df8daf8"} 
[2026-07-08 00:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:37: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-07-08 00: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 00:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124983,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124983,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563492864001,"66":27713,"174":206,"19":40192,"24":28,"16":132464698443431936,"45":6886496438016763904},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,19,24,16,45]} 
[2026-07-08 00:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563492864001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:37:04] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-08 00:37:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-08 00:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132464698443431936,"km_value":132464698443431.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6886496438016763904,"description":"Unknown IO ID 45"} 
[2026-07-08 00:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563492864001,"power":27713,"unknown_174":206,"unknown_19":40192,"ignition":28,"odometer":null,"unknown_45":6886496438016763904}} 
[2026-07-08 00:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":124983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448537,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:37:04] local.INFO: GPS data processed {"connection_id":124983,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:37:04] local.INFO: Acknowledgment sent {"connection_id":124983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:37:35] local.INFO: TCP Data received {"connection_id":124982,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3df8ac18012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3df8ac18012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:37:35] local.INFO: Processing buffer {"connection_id":124982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3df8ac18012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:37:35] local.INFO: Packet analysis {"connection_id":124982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3df8"} 
[2026-07-08 00:37:35] local.INFO: Extracted packet for processing {"connection_id":124982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3df8"} 
[2026-07-08 00:37:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":51,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563413504001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783451135000,"timestamp_ms":1783451135000,"timestamp_seconds":1783451135,"priority":1,"record_length":96,"hex_timestamp":"0000019f3df8ac18"} 
[2026-07-08 00:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:37: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-07-08 00:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563413504001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563413504001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:37:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:37:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563413504001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":124982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:37:35] local.INFO: GPS data processed {"connection_id":124982,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:37:35] local.INFO: Acknowledgment sent {"connection_id":124982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:37:38] local.INFO: TCP Data received {"connection_id":124983,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3df8f650012d5f8a40062f1520000d014a2b..."} 
[2026-07-08 00:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3df8f650012d5f8a40062f1520000d014a2b..."} 
[2026-07-08 00:37:38] local.INFO: Processing buffer {"connection_id":124983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3df8f650012d5f8a40062f1520000d014a2b..."} 
[2026-07-08 00:37:38] local.INFO: Packet analysis {"connection_id":124983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3df8"} 
[2026-07-08 00:37:38] local.INFO: Extracted packet for processing {"connection_id":124983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3df8"} 
[2026-07-08 00:37:38] local.INFO: GPS Element Parsed {"raw_longitude":761236032,"raw_latitude":103748896,"longitude_deg":76.1236032,"latitude_deg":10.3748896,"altitude":13,"angle":330,"satellites":43,"speed":24,"hex_longitude":"2d5f8a40","hex_latitude":"062f1520","is_valid_coordinates":true} 
[2026-07-08 00:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563493632001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132464934666633216,"note":"Value kept but may cause issues"} 
[2026-07-08 00:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6886214963040555008,"note":"Value kept but may cause issues"} 
[2026-07-08 00:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783451154000,"timestamp_ms":1783451154000,"timestamp_seconds":1783451154,"priority":1,"record_length":96,"hex_timestamp":"0000019f3df8f650"} 
[2026-07-08 00:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 00:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124983,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124983,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563493632001,"66":27952,"174":206,"19":40192,"24":24,"16":132464934666633216,"45":6886214963040555008},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,19,24,16,45]} 
[2026-07-08 00:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563493632001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:37:38] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-08 00:37:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-08 00:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132464934666633216,"km_value":132464934666633.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6886214963040555008,"description":"Unknown IO ID 45"} 
[2026-07-08 00:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563493632001,"power":27952,"unknown_174":206,"unknown_19":40192,"ignition":24,"odometer":null,"unknown_45":6886214963040555008}} 
[2026-07-08 00:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":124983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448539,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:37:38] local.INFO: GPS data processed {"connection_id":124983,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:37:38] local.INFO: Acknowledgment sent {"connection_id":124983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:37:58] local.INFO: TCP Data received {"connection_id":125715,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:37:58] local.INFO: Processing buffer {"connection_id":125715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:37:58] local.INFO: IMEI packet received {"connection_id":125715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":125715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:37:59] local.INFO: TCP Data received {"connection_id":125716,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125716,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:37:59] local.INFO: Processing buffer {"connection_id":125716,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:37:59] local.INFO: IMEI packet received {"connection_id":125716,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":125716,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:38:02] local.INFO: TCP Data received {"connection_id":125715,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:38:02] local.INFO: Processing buffer {"connection_id":125715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:38:02] local.INFO: IMEI packet received {"connection_id":125715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":125715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:38:03] local.INFO: TCP Data received {"connection_id":125716,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125716,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:38:03] local.INFO: Processing buffer {"connection_id":125716,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:38:03] local.INFO: IMEI packet received {"connection_id":125716,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":125716,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:38:03] local.INFO: TCP Data received {"connection_id":125715,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3df8ac18012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3df8ac18012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:38:03] local.INFO: Processing buffer {"connection_id":125715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3df8ac18012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:38:03] local.INFO: Packet analysis {"connection_id":125715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3df8"} 
[2026-07-08 00:38:03] local.INFO: Extracted packet for processing {"connection_id":125715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3df8"} 
[2026-07-08 00:38:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":51,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563413504001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783451135000,"timestamp_ms":1783451135000,"timestamp_seconds":1783451135,"priority":1,"record_length":96,"hex_timestamp":"0000019f3df8ac18"} 
[2026-07-08 00:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:38: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-07-08 00:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563413504001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563413504001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:38:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:38:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563413504001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":125715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:38:03] local.INFO: GPS data processed {"connection_id":125715,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:38:03] local.INFO: Acknowledgment sent {"connection_id":125715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:38:06] local.INFO: TCP Data received {"connection_id":125716,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125716,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:38:06] local.INFO: Processing buffer {"connection_id":125716,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:38:06] local.INFO: IMEI packet received {"connection_id":125716,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":125716,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:38:07] local.INFO: TCP Data received {"connection_id":125716,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dfa32b8012d5f10c006309310000f01572c..."} 
[2026-07-08 00:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dfa32b8012d5f10c006309310000f01572c..."} 
[2026-07-08 00:38:07] local.INFO: Processing buffer {"connection_id":125716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dfa32b8012d5f10c006309310000f01572c..."} 
[2026-07-08 00:38:07] local.INFO: Packet analysis {"connection_id":125716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dfa"} 
[2026-07-08 00:38:07] local.INFO: Extracted packet for processing {"connection_id":125716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dfa"} 
[2026-07-08 00:38:07] local.INFO: GPS Element Parsed {"raw_longitude":761204928,"raw_latitude":103846672,"longitude_deg":76.1204928,"latitude_deg":10.3846672,"altitude":15,"angle":343,"satellites":44,"speed":58,"hex_longitude":"2d5f10c0","hex_latitude":"06309310","is_valid_coordinates":true} 
[2026-07-08 00:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563514624001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132469921123663872,"note":"Value kept but may cause issues"} 
[2026-07-08 00:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6852649072091822080,"note":"Value kept but may cause issues"} 
[2026-07-08 00:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783451235000,"timestamp_ms":1783451235000,"timestamp_seconds":1783451235,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dfa32b8"} 
[2026-07-08 00:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:38: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-07-08 00:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 00:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125716,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125716,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563514624001,"66":27941,"43":206,"19":40192,"24":58,"16":132469921123663872,"45":6852649072091822080},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,19,24,16,45]} 
[2026-07-08 00:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563514624001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:38:07] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-08 00:38:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-08 00:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132469921123663872,"km_value":132469921123663.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6852649072091822080,"description":"Unknown IO ID 45"} 
[2026-07-08 00:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563514624001,"power":27941,"unknown_43":206,"unknown_19":40192,"ignition":58,"odometer":null,"unknown_45":6852649072091822080}} 
[2026-07-08 00:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":125716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448541,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:38:07] local.INFO: GPS data processed {"connection_id":125716,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:38:07] local.INFO: Acknowledgment sent {"connection_id":125716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:38:08] local.INFO: TCP Data received {"connection_id":125716,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dfa4a28012d5f05400630b3f8001001532e..."} 
[2026-07-08 00:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dfa4a28012d5f05400630b3f8001001532e..."} 
[2026-07-08 00:38:08] local.INFO: Processing buffer {"connection_id":125716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dfa4a28012d5f05400630b3f8001001532e..."} 
[2026-07-08 00:38:08] local.INFO: Packet analysis {"connection_id":125716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dfa"} 
[2026-07-08 00:38:08] local.INFO: Extracted packet for processing {"connection_id":125716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dfa"} 
[2026-07-08 00:38:08] local.INFO: GPS Element Parsed {"raw_longitude":761201984,"raw_latitude":103855096,"longitude_deg":76.1201984,"latitude_deg":10.3855096,"altitude":16,"angle":339,"satellites":46,"speed":58,"hex_longitude":"2d5f0540","hex_latitude":"0630b3f8","is_valid_coordinates":true} 
[2026-07-08 00:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563516160001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132470354915360768,"note":"Value kept but may cause issues"} 
[2026-07-08 00:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6850186166047805440,"note":"Value kept but may cause issues"} 
[2026-07-08 00:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783451241000,"timestamp_ms":1783451241000,"timestamp_seconds":1783451241,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dfa4a28"} 
[2026-07-08 00:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-08 00:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1076,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125716,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125716,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563516160001,"66":27767,"43":206,"19":40192,"24":58,"16":132470354915360768,"45":6850186166047805440},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,19,24,16,45]} 
[2026-07-08 00:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563516160001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:38:08] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-08 00:38:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-08 00:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132470354915360768,"km_value":132470354915360.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6850186166047805440,"description":"Unknown IO ID 45"} 
[2026-07-08 00:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563516160001,"power":27767,"unknown_43":206,"unknown_19":40192,"ignition":58,"odometer":null,"unknown_45":6850186166047805440}} 
[2026-07-08 00:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":125716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448542,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:38:09] local.INFO: GPS data processed {"connection_id":125716,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:38:09] local.INFO: Acknowledgment sent {"connection_id":125716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:38:34] local.INFO: TCP Data received {"connection_id":125715,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3df8ac18012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3df8ac18012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:38:34] local.INFO: Processing buffer {"connection_id":125715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3df8ac18012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:38:34] local.INFO: Packet analysis {"connection_id":125715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3df8"} 
[2026-07-08 00:38:34] local.INFO: Extracted packet for processing {"connection_id":125715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3df8"} 
[2026-07-08 00:38:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":51,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563413504001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783451135000,"timestamp_ms":1783451135000,"timestamp_seconds":1783451135,"priority":1,"record_length":96,"hex_timestamp":"0000019f3df8ac18"} 
[2026-07-08 00:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:38: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-07-08 00: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-07-08 00:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:38: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-07-08 00:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563413504001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563413504001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:38:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:38:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563413504001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":125715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:38:34] local.INFO: GPS data processed {"connection_id":125715,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:38:34] local.INFO: Acknowledgment sent {"connection_id":125715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:38:40] local.INFO: TCP Data received {"connection_id":125716,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dfa6580012d5ef8000630da08001001552e..."} 
[2026-07-08 00:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dfa6580012d5ef8000630da08001001552e..."} 
[2026-07-08 00:38:40] local.INFO: Processing buffer {"connection_id":125716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dfa6580012d5ef8000630da08001001552e..."} 
[2026-07-08 00:38:40] local.INFO: Packet analysis {"connection_id":125716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dfa"} 
[2026-07-08 00:38:40] local.INFO: Extracted packet for processing {"connection_id":125716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dfa"} 
[2026-07-08 00:38:40] local.INFO: GPS Element Parsed {"raw_longitude":761198592,"raw_latitude":103864840,"longitude_deg":76.1198592,"latitude_deg":10.386484,"altitude":16,"angle":341,"satellites":46,"speed":58,"hex_longitude":"2d5ef800","hex_latitude":"0630da08","is_valid_coordinates":true} 
[2026-07-08 00:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563517696001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132470853131567104,"note":"Value kept but may cause issues"} 
[2026-07-08 00:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6846949203817789440,"note":"Value kept but may cause issues"} 
[2026-07-08 00:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783451248000,"timestamp_ms":1783451248000,"timestamp_seconds":1783451248,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dfa6580"} 
[2026-07-08 00:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:38:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 00:38:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:38:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125716,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125716,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563517696001,"66":27876,"43":206,"19":40192,"24":58,"16":132470853131567104,"45":6846949203817789440},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,19,24,16,45]} 
[2026-07-08 00:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563517696001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:38:40] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-08 00:38:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-08 00:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132470853131567104,"km_value":132470853131567.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":6846949203817789440,"description":"Unknown IO ID 45"} 
[2026-07-08 00:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563517696001,"power":27876,"unknown_43":206,"unknown_19":40192,"ignition":58,"odometer":null,"unknown_45":6846949203817789440}} 
[2026-07-08 00:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":125716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448544,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:38:40] local.INFO: GPS data processed {"connection_id":125716,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:38:40] local.INFO: Acknowledgment sent {"connection_id":125716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:38:57] local.INFO: TCP Data received {"connection_id":126981,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:38:57] local.INFO: Processing buffer {"connection_id":126981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:38:57] local.INFO: IMEI packet received {"connection_id":126981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":126981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:38:58] local.INFO: TCP Data received {"connection_id":125717,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125717,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:38:58] local.INFO: Processing buffer {"connection_id":125717,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:38:58] local.INFO: IMEI packet received {"connection_id":125717,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":125717,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:38:59] local.INFO: TCP Data received {"connection_id":125717,"ip":"117.224.129.116","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-08 00:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125717,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-08 00:38:59] local.INFO: Processing buffer {"connection_id":125717,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-08 00:38:59] local.INFO: IMEI packet received {"connection_id":125717,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":125717,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:39:03] local.INFO: TCP Data received {"connection_id":126981,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:39:03] local.INFO: Processing buffer {"connection_id":126981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:39:03] local.INFO: IMEI packet received {"connection_id":126981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":126981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:39:03] local.INFO: TCP Data received {"connection_id":125717,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125717,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:39:03] local.INFO: Processing buffer {"connection_id":125717,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-08 00:39:03] local.INFO: IMEI packet received {"connection_id":125717,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":125717,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:39:03] local.INFO: TCP Data received {"connection_id":126981,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3df8ac18012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3df8ac18012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:39:03] local.INFO: Processing buffer {"connection_id":126981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3df8ac18012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:39:03] local.INFO: Packet analysis {"connection_id":126981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3df8"} 
[2026-07-08 00:39:03] local.INFO: Extracted packet for processing {"connection_id":126981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3df8"} 
[2026-07-08 00:39:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":51,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563413504001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783451135000,"timestamp_ms":1783451135000,"timestamp_seconds":1783451135,"priority":1,"record_length":96,"hex_timestamp":"0000019f3df8ac18"} 
[2026-07-08 00:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563413504001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563413504001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:39:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:39:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563413504001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":126981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:39:03] local.INFO: GPS data processed {"connection_id":126981,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:39:03] local.INFO: Acknowledgment sent {"connection_id":126981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:39:06] local.INFO: TCP Data received {"connection_id":125717,"ip":"117.224.129.116","data_length":1360,"data_hex":"000000000000030f8e0a0000019f3dfa80d8012d5eeb400630ff18001101552e..."} 
[2026-07-08 00:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125717,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019f3dfa80d8012d5eeb400630ff18001101552e..."} 
[2026-07-08 00:39:06] local.INFO: Processing buffer {"connection_id":125717,"buffer_length":1377,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a0000019f3d..."} 
[2026-07-08 00:39:06] local.INFO: IMEI packet received {"connection_id":125717,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":125717,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:39:08] local.INFO: TCP Data received {"connection_id":125717,"ip":"117.224.129.116","data_length":230,"data_hex":"2d5f28c006302d40000f015b2e003b0000000a000400ef0100714e00f0010045..."} 
[2026-07-08 00:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125717,"packet_length":230,"packet_hex":"2d5f28c006302d40000f015b2e003b0000000a000400ef0100714e00f0010045..."} 
[2026-07-08 00:39:08] local.INFO: Processing buffer {"connection_id":125717,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f3dfa80d8012d5eeb400630ff18001101552e..."} 
[2026-07-08 00:39:08] local.INFO: Packet analysis {"connection_id":125717,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3dfa"} 
[2026-07-08 00:39:08] local.INFO: Extracted packet for processing {"connection_id":125717,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dfa"} 
[2026-07-08 00:39:08] local.INFO: GPS Element Parsed {"raw_longitude":761195328,"raw_latitude":103874328,"longitude_deg":76.1195328,"latitude_deg":10.3874328,"altitude":17,"angle":341,"satellites":46,"speed":55,"hex_longitude":"2d5eeb40","hex_latitude":"0630ff18","is_valid_coordinates":true} 
[2026-07-08 00:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563519488001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132471338462871552,"note":"Value kept but may cause issues"} 
[2026-07-08 00:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6843219660378867712,"note":"Value kept but may cause issues"} 
[2026-07-08 00:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783451255000,"timestamp_ms":1783451255000,"timestamp_seconds":1783451255,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dfa80d8"} 
[2026-07-08 00:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 00:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125717,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125717,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563519488001,"66":27876,"43":206,"19":40192,"24":55,"16":132471338462871552,"45":6843219660378867712},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,19,24,16,45]} 
[2026-07-08 00:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563519488001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:39:08] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-08 00:39:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-08 00:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132471338462871552,"km_value":132471338462871.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6843219660378867712,"description":"Unknown IO ID 45"} 
[2026-07-08 00:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563519488001,"power":27876,"unknown_43":206,"unknown_19":40192,"ignition":55,"odometer":null,"unknown_45":6843219660378867712}} 
[2026-07-08 00:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":125717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448546,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:39:08] local.INFO: GPS data processed {"connection_id":125717,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:39:08] local.INFO: Acknowledgment sent {"connection_id":125717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:39:08] local.INFO: Packet analysis {"connection_id":125717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dfa"} 
[2026-07-08 00:39:08] local.INFO: Extracted packet for processing {"connection_id":125717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dfa"} 
[2026-07-08 00:39:08] local.INFO: GPS Element Parsed {"raw_longitude":761192192,"raw_latitude":103883448,"longitude_deg":76.1192192,"latitude_deg":10.3883448,"altitude":20,"angle":341,"satellites":47,"speed":54,"hex_longitude":"2d5edf00","hex_latitude":"063122b8","is_valid_coordinates":true} 
[2026-07-08 00:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563521280001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132471806614306816,"note":"Value kept but may cause issues"} 
[2026-07-08 00:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6839630854428235776,"note":"Value kept but may cause issues"} 
[2026-07-08 00:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783451262000,"timestamp_ms":1783451262000,"timestamp_seconds":1783451262,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dfa9c30"} 
[2026-07-08 00:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 00:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125717,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125717,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563521280001,"66":27952,"43":206,"19":40192,"24":54,"16":132471806614306816,"45":6839630854428235776},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,19,24,16,45]} 
[2026-07-08 00:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563521280001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:39:08] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-08 00:39:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-08 00:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132471806614306816,"km_value":132471806614306.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6839630854428235776,"description":"Unknown IO ID 45"} 
[2026-07-08 00:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563521280001,"power":27952,"unknown_43":206,"unknown_19":40192,"ignition":54,"odometer":null,"unknown_45":6839630854428235776}} 
[2026-07-08 00:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":125717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448547,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:39:08] local.INFO: GPS data processed {"connection_id":125717,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:39:08] local.INFO: Acknowledgment sent {"connection_id":125717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:39:09] local.INFO: TCP Data received {"connection_id":125717,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dfab788012d5ed380063145c80015015830..."} 
[2026-07-08 00:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dfab788012d5ed380063145c80015015830..."} 
[2026-07-08 00:39:09] local.INFO: Processing buffer {"connection_id":125717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dfab788012d5ed380063145c80015015830..."} 
[2026-07-08 00:39:09] local.INFO: Packet analysis {"connection_id":125717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dfa"} 
[2026-07-08 00:39:09] local.INFO: Extracted packet for processing {"connection_id":125717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dfa"} 
[2026-07-08 00:39:09] local.INFO: GPS Element Parsed {"raw_longitude":761189248,"raw_latitude":103892424,"longitude_deg":76.1189248,"latitude_deg":10.3892424,"altitude":21,"angle":344,"satellites":48,"speed":53,"hex_longitude":"2d5ed380","hex_latitude":"063145c8","is_valid_coordinates":true} 
[2026-07-08 00:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563523072001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132472261880840192,"note":"Value kept but may cause issues"} 
[2026-07-08 00:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6836182785965864960,"note":"Value kept but may cause issues"} 
[2026-07-08 00:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783451269000,"timestamp_ms":1783451269000,"timestamp_seconds":1783451269,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dfab788"} 
[2026-07-08 00:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-08 00:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125717,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125717,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563523072001,"66":27843,"43":206,"19":40192,"24":53,"16":132472261880840192,"45":6836182785965864960},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,19,24,16,45]} 
[2026-07-08 00:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563523072001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:39:09] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-08 00:39:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-08 00:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132472261880840192,"km_value":132472261880840.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6836182785965864960,"description":"Unknown IO ID 45"} 
[2026-07-08 00:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563523072001,"power":27843,"unknown_43":206,"unknown_19":40192,"ignition":53,"odometer":null,"unknown_45":6836182785965864960}} 
[2026-07-08 00:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":125717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448548,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:39:09] local.INFO: GPS data processed {"connection_id":125717,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:39:09] local.INFO: Acknowledgment sent {"connection_id":125717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:39:10] local.INFO: TCP Data received {"connection_id":125717,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dfad2e0012d5ecd4006316a500015016431..."} 
[2026-07-08 00:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dfad2e0012d5ecd4006316a500015016431..."} 
[2026-07-08 00:39:10] local.INFO: Processing buffer {"connection_id":125717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dfad2e0012d5ecd4006316a500015016431..."} 
[2026-07-08 00:39:10] local.INFO: Packet analysis {"connection_id":125717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dfa"} 
[2026-07-08 00:39:10] local.INFO: Extracted packet for processing {"connection_id":125717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dfa"} 
[2026-07-08 00:39:10] local.INFO: GPS Element Parsed {"raw_longitude":761187648,"raw_latitude":103901776,"longitude_deg":76.1187648,"latitude_deg":10.3901776,"altitude":21,"angle":356,"satellites":49,"speed":55,"hex_longitude":"2d5ecd40","hex_latitude":"06316a50","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563524864001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132472725737308160,"note":"Value kept but may cause issues"} 
[2026-07-08 00:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6832945823735990272,"note":"Value kept but may cause issues"} 
[2026-07-08 00:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783451276000,"timestamp_ms":1783451276000,"timestamp_seconds":1783451276,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dfad2e0"} 
[2026-07-08 00:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 00:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125717,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125717,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563524864001,"66":27745,"43":206,"19":40192,"24":55,"16":132472725737308160,"45":6832945823735990272},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,19,24,16,45]} 
[2026-07-08 00:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563524864001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:39:10] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-08 00:39:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-08 00:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132472725737308160,"km_value":132472725737308.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6832945823735990272,"description":"Unknown IO ID 45"} 
[2026-07-08 00:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563524864001,"power":27745,"unknown_43":206,"unknown_19":40192,"ignition":55,"odometer":null,"unknown_45":6832945823735990272}} 
[2026-07-08 00:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":125717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448549,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:39:10] local.INFO: GPS data processed {"connection_id":125717,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:39:10] local.INFO: Acknowledgment sent {"connection_id":125717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:39:37] local.INFO: TCP Data received {"connection_id":126981,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3df8ac18012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3df8ac18012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:39:37] local.INFO: Processing buffer {"connection_id":126981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3df8ac18012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:39:37] local.INFO: Packet analysis {"connection_id":126981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3df8"} 
[2026-07-08 00:39:37] local.INFO: Extracted packet for processing {"connection_id":126981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3df8"} 
[2026-07-08 00:39:37] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":51,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563413504001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783451135000,"timestamp_ms":1783451135000,"timestamp_seconds":1783451135,"priority":1,"record_length":96,"hex_timestamp":"0000019f3df8ac18"} 
[2026-07-08 00:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00: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-07-08 00:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563413504001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563413504001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:39:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:39:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563413504001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":126981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:39:37] local.INFO: GPS data processed {"connection_id":126981,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:39:37] local.INFO: Acknowledgment sent {"connection_id":126981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:39:42] local.INFO: TCP Data received {"connection_id":125717,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dfad2e0012d5ecd4006316a500015016431..."} 
[2026-07-08 00:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dfad2e0012d5ecd4006316a500015016431..."} 
[2026-07-08 00:39:42] local.INFO: Processing buffer {"connection_id":125717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dfad2e0012d5ecd4006316a500015016431..."} 
[2026-07-08 00:39:42] local.INFO: Packet analysis {"connection_id":125717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dfa"} 
[2026-07-08 00:39:42] local.INFO: Extracted packet for processing {"connection_id":125717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dfa"} 
[2026-07-08 00:39:42] local.INFO: GPS Element Parsed {"raw_longitude":761187648,"raw_latitude":103901776,"longitude_deg":76.1187648,"latitude_deg":10.3901776,"altitude":21,"angle":356,"satellites":49,"speed":55,"hex_longitude":"2d5ecd40","hex_latitude":"06316a50","is_valid_coordinates":true} 
[2026-07-08 00:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563526656001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132472725737308160,"note":"Value kept but may cause issues"} 
[2026-07-08 00:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6831186605133942784,"note":"Value kept but may cause issues"} 
[2026-07-08 00:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783451276000,"timestamp_ms":1783451276000,"timestamp_seconds":1783451276,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dfad2e0"} 
[2026-07-08 00:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:39: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-07-08 00:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 00:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":125717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":125717,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":125717,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563526656001,"66":27745,"43":206,"19":40192,"24":55,"16":132472725737308160,"45":6831186605133942784},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,19,24,16,45]} 
[2026-07-08 00:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563526656001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:39:42] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-08 00:39:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-08 00:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132472725737308160,"km_value":132472725737308.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6831186605133942784,"description":"Unknown IO ID 45"} 
[2026-07-08 00:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563526656001,"power":27745,"unknown_43":206,"unknown_19":40192,"ignition":55,"odometer":null,"unknown_45":6831186605133942784}} 
[2026-07-08 00:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":125717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448551,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:39:42] local.INFO: GPS data processed {"connection_id":125717,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:39:42] local.INFO: Acknowledgment sent {"connection_id":125717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:39:57] local.INFO: TCP Data received {"connection_id":124984,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124984,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:39:57] local.INFO: Processing buffer {"connection_id":124984,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:39:57] local.INFO: IMEI packet received {"connection_id":124984,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":124984,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:39:57] local.INFO: TCP Data received {"connection_id":124887,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:39:57] local.INFO: Processing buffer {"connection_id":124887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:39:57] local.INFO: IMEI packet received {"connection_id":124887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":124887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:39:58] local.INFO: TCP Data received {"connection_id":124984,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124984,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:39:58] local.INFO: Processing buffer {"connection_id":124984,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:39:58] local.INFO: IMEI packet received {"connection_id":124984,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":124984,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:40:03] local.INFO: TCP Data received {"connection_id":124887,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:40:03] local.INFO: Processing buffer {"connection_id":124887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:40:03] local.INFO: IMEI packet received {"connection_id":124887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":124887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:40:03] local.INFO: TCP Data received {"connection_id":124984,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124984,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:40:03] local.INFO: Processing buffer {"connection_id":124984,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:40:03] local.INFO: IMEI packet received {"connection_id":124984,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":124984,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:40:03] local.INFO: TCP Data received {"connection_id":124887,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3df8ac18012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3df8ac18012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:40:03] local.INFO: Processing buffer {"connection_id":124887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3df8ac18012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:40:03] local.INFO: Packet analysis {"connection_id":124887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3df8"} 
[2026-07-08 00:40:03] local.INFO: Extracted packet for processing {"connection_id":124887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3df8"} 
[2026-07-08 00:40:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":51,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563413504001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783451135000,"timestamp_ms":1783451135000,"timestamp_seconds":1783451135,"priority":1,"record_length":96,"hex_timestamp":"0000019f3df8ac18"} 
[2026-07-08 00:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563413504001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563413504001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:40:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:40:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563413504001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":124887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:40:04] local.INFO: GPS data processed {"connection_id":124887,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:40:04] local.INFO: Acknowledgment sent {"connection_id":124887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:40:05] local.INFO: TCP Data received {"connection_id":124984,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dfbc510012d5e7c400632bc48000c014d2c..."} 
[2026-07-08 00:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dfbc510012d5e7c400632bc48000c014d2c..."} 
[2026-07-08 00:40:05] local.INFO: Processing buffer {"connection_id":124984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dfbc510012d5e7c400632bc48000c014d2c..."} 
[2026-07-08 00:40:05] local.INFO: Packet analysis {"connection_id":124984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dfb"} 
[2026-07-08 00:40:05] local.INFO: Extracted packet for processing {"connection_id":124984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dfb"} 
[2026-07-08 00:40:05] local.INFO: GPS Element Parsed {"raw_longitude":761166912,"raw_latitude":103988296,"longitude_deg":76.1166912,"latitude_deg":10.3988296,"altitude":12,"angle":333,"satellites":44,"speed":56,"hex_longitude":"2d5e7c40","hex_latitude":"0632bc48","is_valid_coordinates":true} 
[2026-07-08 00:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563540736001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132477162438524928,"note":"Value kept but may cause issues"} 
[2026-07-08 00:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6813524050365192192,"note":"Value kept but may cause issues"} 
[2026-07-08 00:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783451338000,"timestamp_ms":1783451338000,"timestamp_seconds":1783451338,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dfbc510"} 
[2026-07-08 00:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 00:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563540736001,"66":27995,"2":206,"19":40192,"24":56,"16":132477162438524928,"45":6813524050365192192},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-07-08 00:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563540736001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:40:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-08 00:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132477162438524928,"km_value":132477162438524.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6813524050365192192,"description":"Unknown IO ID 45"} 
[2026-07-08 00:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563540736001,"power":27995,"power_alt":206,"unknown_19":40192,"ignition":56,"odometer":null,"unknown_45":6813524050365192192}} 
[2026-07-08 00:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":124984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448553,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:40:05] local.INFO: GPS data processed {"connection_id":124984,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:40:05] local.INFO: Acknowledgment sent {"connection_id":124984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:40:37] local.INFO: TCP Data received {"connection_id":124887,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3df8ac18012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3df8ac18012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:40:37] local.INFO: Processing buffer {"connection_id":124887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3df8ac18012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:40:37] local.INFO: Packet analysis {"connection_id":124887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3df8"} 
[2026-07-08 00:40:37] local.INFO: Extracted packet for processing {"connection_id":124887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3df8"} 
[2026-07-08 00:40:37] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":51,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563413504001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783451135000,"timestamp_ms":1783451135000,"timestamp_seconds":1783451135,"priority":1,"record_length":96,"hex_timestamp":"0000019f3df8ac18"} 
[2026-07-08 00:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00: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-07-08 00:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563413504001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563413504001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:40:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:40:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563413504001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":124887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:40:37] local.INFO: GPS data processed {"connection_id":124887,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:40:37] local.INFO: Acknowledgment sent {"connection_id":124887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:40:40] local.INFO: TCP Data received {"connection_id":124984,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dfbe068012d5e6b400632dec8000d014e2e..."} 
[2026-07-08 00:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dfbe068012d5e6b400632dec8000d014e2e..."} 
[2026-07-08 00:40:40] local.INFO: Processing buffer {"connection_id":124984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dfbe068012d5e6b400632dec8000d014e2e..."} 
[2026-07-08 00:40:40] local.INFO: Packet analysis {"connection_id":124984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dfb"} 
[2026-07-08 00:40:40] local.INFO: Extracted packet for processing {"connection_id":124984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dfb"} 
[2026-07-08 00:40:40] local.INFO: GPS Element Parsed {"raw_longitude":761162560,"raw_latitude":103997128,"longitude_deg":76.116256,"latitude_deg":10.3997128,"altitude":13,"angle":334,"satellites":46,"speed":56,"hex_longitude":"2d5e6b40","hex_latitude":"0632dec8","is_valid_coordinates":true} 
[2026-07-08 00:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563542528001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132477639179894784,"note":"Value kept but may cause issues"} 
[2026-07-08 00:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6808387132042528768,"note":"Value kept but may cause issues"} 
[2026-07-08 00:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783451345000,"timestamp_ms":1783451345000,"timestamp_seconds":1783451345,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dfbe068"} 
[2026-07-08 00:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-08 00:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563542528001,"66":27745,"2":206,"19":40192,"24":56,"16":132477639179894784,"45":6808387132042528768},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-07-08 00:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563542528001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:40:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-08 00:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132477639179894784,"km_value":132477639179894.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":6808387132042528768,"description":"Unknown IO ID 45"} 
[2026-07-08 00:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563542528001,"power":27745,"power_alt":206,"unknown_19":40192,"ignition":56,"odometer":null,"unknown_45":6808387132042528768}} 
[2026-07-08 00:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":124984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448555,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:40:40] local.INFO: GPS data processed {"connection_id":124984,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:40:40] local.INFO: Acknowledgment sent {"connection_id":124984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:40:58] local.INFO: TCP Data received {"connection_id":124985,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124985,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:40:58] local.INFO: Processing buffer {"connection_id":124985,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:40:58] local.INFO: IMEI packet received {"connection_id":124985,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":124985,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:41:00] local.INFO: TCP Data received {"connection_id":124985,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124985,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:41:00] local.INFO: Processing buffer {"connection_id":124985,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:41:00] local.INFO: IMEI packet received {"connection_id":124985,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":124985,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:41:03] local.INFO: TCP Data received {"connection_id":124986,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:41:03] local.INFO: Processing buffer {"connection_id":124986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:41:03] local.INFO: IMEI packet received {"connection_id":124986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":124986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:41:04] local.INFO: TCP Data received {"connection_id":124985,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124985,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:41:04] local.INFO: Processing buffer {"connection_id":124985,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:41:04] local.INFO: IMEI packet received {"connection_id":124985,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":124985,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:41:05] local.INFO: TCP Data received {"connection_id":124985,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dfbfbc0012d5e5a00063301e8000e014e2e..."} 
[2026-07-08 00:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dfbfbc0012d5e5a00063301e8000e014e2e..."} 
[2026-07-08 00:41:05] local.INFO: Processing buffer {"connection_id":124985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dfbfbc0012d5e5a00063301e8000e014e2e..."} 
[2026-07-08 00:41:05] local.INFO: Packet analysis {"connection_id":124985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dfb"} 
[2026-07-08 00:41:05] local.INFO: Extracted packet for processing {"connection_id":124985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dfb"} 
[2026-07-08 00:41:05] local.INFO: GPS Element Parsed {"raw_longitude":761158144,"raw_latitude":104006120,"longitude_deg":76.1158144,"latitude_deg":10.400612,"altitude":14,"angle":334,"satellites":46,"speed":57,"hex_longitude":"2d5e5a00","hex_latitude":"063301e8","is_valid_coordinates":true} 
[2026-07-08 00:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563544320001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132478124511199232,"note":"Value kept but may cause issues"} 
[2026-07-08 00:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6803602057440708608,"note":"Value kept but may cause issues"} 
[2026-07-08 00:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783451352000,"timestamp_ms":1783451352000,"timestamp_seconds":1783451352,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dfbfbc0"} 
[2026-07-08 00:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 00:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124985,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124985,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563544320001,"66":28006,"2":206,"19":40192,"24":57,"16":132478124511199232,"45":6803602057440708608},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-07-08 00:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563544320001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:41:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-08 00:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132478124511199232,"km_value":132478124511199.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6803602057440708608,"description":"Unknown IO ID 45"} 
[2026-07-08 00:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563544320001,"power":28006,"power_alt":206,"unknown_19":40192,"ignition":57,"odometer":null,"unknown_45":6803602057440708608}} 
[2026-07-08 00:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":124985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448556,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:41:05] local.INFO: GPS data processed {"connection_id":124985,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:41:05] local.INFO: Acknowledgment sent {"connection_id":124985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:41:07] local.INFO: TCP Data received {"connection_id":124986,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:41:07] local.INFO: Processing buffer {"connection_id":124986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:41:07] local.INFO: IMEI packet received {"connection_id":124986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":124986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:41:08] local.INFO: TCP Data received {"connection_id":124986,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3df8ac18012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3df8ac18012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:41:08] local.INFO: Processing buffer {"connection_id":124986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3df8ac18012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:41:08] local.INFO: Packet analysis {"connection_id":124986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3df8"} 
[2026-07-08 00:41:08] local.INFO: Extracted packet for processing {"connection_id":124986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3df8"} 
[2026-07-08 00:41:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":51,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563413504001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783451135000,"timestamp_ms":1783451135000,"timestamp_seconds":1783451135,"priority":1,"record_length":96,"hex_timestamp":"0000019f3df8ac18"} 
[2026-07-08 00:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563413504001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563413504001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:41:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:41:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563413504001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":124986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:41:08] local.INFO: GPS data processed {"connection_id":124986,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:41:08] local.INFO: Acknowledgment sent {"connection_id":124986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:41:13] local.INFO: TCP Data received {"connection_id":124986,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3df8ac18012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3df8ac18012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:41:13] local.INFO: Processing buffer {"connection_id":124986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3df8ac18012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:41:13] local.INFO: Packet analysis {"connection_id":124986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3df8"} 
[2026-07-08 00:41:13] local.INFO: Extracted packet for processing {"connection_id":124986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3df8"} 
[2026-07-08 00:41:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":51,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563413504001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783451135000,"timestamp_ms":1783451135000,"timestamp_seconds":1783451135,"priority":1,"record_length":96,"hex_timestamp":"0000019f3df8ac18"} 
[2026-07-08 00:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563413504001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563413504001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:41:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:41:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563413504001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":124986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:41:13] local.INFO: GPS data processed {"connection_id":124986,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:41:13] local.INFO: Acknowledgment sent {"connection_id":124986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:41:37] local.INFO: TCP Data received {"connection_id":124985,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dfd5f38012d5d73400634d5400010014e2d..."} 
[2026-07-08 00:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dfd5f38012d5d73400634d5400010014e2d..."} 
[2026-07-08 00:41:37] local.INFO: Processing buffer {"connection_id":124985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dfd5f38012d5d73400634d5400010014e2d..."} 
[2026-07-08 00:41:37] local.INFO: Packet analysis {"connection_id":124985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dfd"} 
[2026-07-08 00:41:37] local.INFO: Extracted packet for processing {"connection_id":124985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dfd"} 
[2026-07-08 00:41:37] local.INFO: GPS Element Parsed {"raw_longitude":761099072,"raw_latitude":104125760,"longitude_deg":76.1099072,"latitude_deg":10.412576,"altitude":16,"angle":334,"satellites":45,"speed":55,"hex_longitude":"2d5d7340","hex_latitude":"0634d540","is_valid_coordinates":true} 
[2026-07-08 00:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563567616001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132484588436979712,"note":"Value kept but may cause issues"} 
[2026-07-08 00:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6738581337851252736,"note":"Value kept but may cause issues"} 
[2026-07-08 00:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783451443000,"timestamp_ms":1783451443000,"timestamp_seconds":1783451443,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dfd5f38"} 
[2026-07-08 00:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 00:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124985,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124985,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563567616001,"66":27843,"2":206,"19":40192,"24":55,"16":132484588436979712,"45":6738581337851252736},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-07-08 00:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563567616001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:41:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-08 00:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132484588436979712,"km_value":132484588436979.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6738581337851252736,"description":"Unknown IO ID 45"} 
[2026-07-08 00:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563567616001,"power":27843,"power_alt":206,"unknown_19":40192,"ignition":55,"odometer":null,"unknown_45":6738581337851252736}} 
[2026-07-08 00:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":124985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448559,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:41:37] local.INFO: GPS data processed {"connection_id":124985,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:41:37] local.INFO: Acknowledgment sent {"connection_id":124985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:41:57] local.INFO: TCP Data received {"connection_id":124987,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:41:57] local.INFO: Processing buffer {"connection_id":124987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:41:57] local.INFO: IMEI packet received {"connection_id":124987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":124987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:42:02] local.INFO: TCP Data received {"connection_id":124987,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:42:02] local.INFO: Processing buffer {"connection_id":124987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:42:02] local.INFO: IMEI packet received {"connection_id":124987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":124987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:42:03] local.INFO: TCP Data received {"connection_id":124987,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dfd43e0012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dfd43e0012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:42:03] local.INFO: Processing buffer {"connection_id":124987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dfd43e0012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:42:03] local.INFO: Packet analysis {"connection_id":124987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dfd"} 
[2026-07-08 00:42:03] local.INFO: Extracted packet for processing {"connection_id":124987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dfd"} 
[2026-07-08 00:42:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":50,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563490560001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783451436000,"timestamp_ms":1783451436000,"timestamp_seconds":1783451436,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dfd43e0"} 
[2026-07-08 00:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:42: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-07-08 00:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563490560001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563490560001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:42:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:42:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563490560001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":124987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:42:03] local.INFO: GPS data processed {"connection_id":124987,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:42:03] local.INFO: Acknowledgment sent {"connection_id":124987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:42:04] local.INFO: TCP Data received {"connection_id":126982,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126982,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:42:04] local.INFO: Processing buffer {"connection_id":126982,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:42:04] local.INFO: IMEI packet received {"connection_id":126982,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":126982,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:42:06] local.INFO: TCP Data received {"connection_id":126982,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126982,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:42:06] local.INFO: Processing buffer {"connection_id":126982,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:42:06] local.INFO: IMEI packet received {"connection_id":126982,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":126982,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:42:08] local.INFO: TCP Data received {"connection_id":126982,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126982,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:42:08] local.INFO: Processing buffer {"connection_id":126982,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:42:08] local.INFO: IMEI packet received {"connection_id":126982,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":126982,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:42:11] local.INFO: TCP Data received {"connection_id":126982,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dfd7a90012d5d62400634f7e00010014d2e..."} 
[2026-07-08 00:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dfd7a90012d5d62400634f7e00010014d2e..."} 
[2026-07-08 00:42:11] local.INFO: Processing buffer {"connection_id":126982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dfd7a90012d5d62400634f7e00010014d2e..."} 
[2026-07-08 00:42:11] local.INFO: Packet analysis {"connection_id":126982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dfd"} 
[2026-07-08 00:42:11] local.INFO: Extracted packet for processing {"connection_id":126982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dfd"} 
[2026-07-08 00:42:11] local.INFO: GPS Element Parsed {"raw_longitude":761094720,"raw_latitude":104134624,"longitude_deg":76.109472,"latitude_deg":10.4134624,"altitude":16,"angle":333,"satellites":46,"speed":56,"hex_longitude":"2d5d6240","hex_latitude":"0634f7e0","is_valid_coordinates":true} 
[2026-07-08 00:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563569408001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132485065178349568,"note":"Value kept but may cause issues"} 
[2026-07-08 00:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6733796263249395712,"note":"Value kept but may cause issues"} 
[2026-07-08 00:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783451450000,"timestamp_ms":1783451450000,"timestamp_seconds":1783451450,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dfd7a90"} 
[2026-07-08 00:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 00:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126982,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126982,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563569408001,"66":27767,"2":206,"19":40192,"24":56,"16":132485065178349568,"45":6733796263249395712},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-07-08 00:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563569408001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:42:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-08 00:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132485065178349568,"km_value":132485065178349.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6733796263249395712,"description":"Unknown IO ID 45"} 
[2026-07-08 00:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563569408001,"power":27767,"power_alt":206,"unknown_19":40192,"ignition":56,"odometer":null,"unknown_45":6733796263249395712}} 
[2026-07-08 00:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":126982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448561,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:42:11] local.INFO: GPS data processed {"connection_id":126982,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:42:11] local.INFO: Acknowledgment sent {"connection_id":126982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:42:34] local.INFO: TCP Data received {"connection_id":124987,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dfd43e0012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dfd43e0012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:42:34] local.INFO: Processing buffer {"connection_id":124987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dfd43e0012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:42:34] local.INFO: Packet analysis {"connection_id":124987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dfd"} 
[2026-07-08 00:42:34] local.INFO: Extracted packet for processing {"connection_id":124987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dfd"} 
[2026-07-08 00:42:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":50,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563490560001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783451436000,"timestamp_ms":1783451436000,"timestamp_seconds":1783451436,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dfd43e0"} 
[2026-07-08 00:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:42: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-07-08 00: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-07-08 00:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:42: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-07-08 00:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563490560001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563490560001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:42:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:42:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563490560001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":124987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:42:34] local.INFO: GPS data processed {"connection_id":124987,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:42:34] local.INFO: Acknowledgment sent {"connection_id":124987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:42:43] local.INFO: TCP Data received {"connection_id":126982,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dfd95e8012d5d508006351bf80010014d2e..."} 
[2026-07-08 00:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dfd95e8012d5d508006351bf80010014d2e..."} 
[2026-07-08 00:42:43] local.INFO: Processing buffer {"connection_id":126982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dfd95e8012d5d508006351bf80010014d2e..."} 
[2026-07-08 00:42:43] local.INFO: Packet analysis {"connection_id":126982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dfd"} 
[2026-07-08 00:42:43] local.INFO: Extracted packet for processing {"connection_id":126982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dfd"} 
[2026-07-08 00:42:43] local.INFO: GPS Element Parsed {"raw_longitude":761090176,"raw_latitude":104143864,"longitude_deg":76.1090176,"latitude_deg":10.4143864,"altitude":16,"angle":333,"satellites":46,"speed":60,"hex_longitude":"2d5d5080","hex_latitude":"06351bf8","is_valid_coordinates":true} 
[2026-07-08 00:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563571200001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132485563394555904,"note":"Value kept but may cause issues"} 
[2026-07-08 00:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6729011188647583744,"note":"Value kept but may cause issues"} 
[2026-07-08 00:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783451457000,"timestamp_ms":1783451457000,"timestamp_seconds":1783451457,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dfd95e8"} 
[2026-07-08 00:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:42:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 00:42:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:42:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":126982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":126982,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":126982,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563571200001,"66":27952,"2":206,"19":40192,"24":60,"16":132485563394555904,"45":6729011188647583744},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-07-08 00:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563571200001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:42:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-07-08 00:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132485563394555904,"km_value":132485563394555.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":6729011188647583744,"description":"Unknown IO ID 45"} 
[2026-07-08 00:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563571200001,"power":27952,"power_alt":206,"unknown_19":40192,"ignition":60,"odometer":null,"unknown_45":6729011188647583744}} 
[2026-07-08 00:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":126982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448563,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:42:43] local.INFO: GPS data processed {"connection_id":126982,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:42:43] local.INFO: Acknowledgment sent {"connection_id":126982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:42:57] local.INFO: TCP Data received {"connection_id":125718,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:42:57] local.INFO: Processing buffer {"connection_id":125718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:42:57] local.INFO: IMEI packet received {"connection_id":125718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":125718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:43:02] local.INFO: TCP Data received {"connection_id":125718,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:43:02] local.INFO: Processing buffer {"connection_id":125718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:43:02] local.INFO: IMEI packet received {"connection_id":125718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":125718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:43:03] local.INFO: TCP Data received {"connection_id":125718,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dfd43e0012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dfd43e0012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:43:03] local.INFO: Processing buffer {"connection_id":125718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dfd43e0012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:43:03] local.INFO: Packet analysis {"connection_id":125718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dfd"} 
[2026-07-08 00:43:03] local.INFO: Extracted packet for processing {"connection_id":125718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dfd"} 
[2026-07-08 00:43:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":50,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563490560001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783451436000,"timestamp_ms":1783451436000,"timestamp_seconds":1783451436,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dfd43e0"} 
[2026-07-08 00:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:43: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-07-08 00:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563490560001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563490560001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:43:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:43:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563490560001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":125718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:43:03] local.INFO: GPS data processed {"connection_id":125718,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:43:03] local.INFO: Acknowledgment sent {"connection_id":125718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:43:12] local.INFO: TCP Data received {"connection_id":126983,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126983,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:43:12] local.INFO: Processing buffer {"connection_id":126983,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:43:12] local.INFO: IMEI packet received {"connection_id":126983,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":126983,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:43:13] local.INFO: TCP Data received {"connection_id":126983,"ip":"117.224.129.116","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-08 00:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126983,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-08 00:43:13] local.INFO: Processing buffer {"connection_id":126983,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-08 00:43:13] local.INFO: IMEI packet received {"connection_id":126983,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":126983,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:43:14] local.INFO: TCP Data received {"connection_id":126983,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dfeaf28012d5c71c006367cf8000a014e2f..."} 
[2026-07-08 00:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dfeaf28012d5c71c006367cf8000a014e2f..."} 
[2026-07-08 00:43:14] local.INFO: Processing buffer {"connection_id":126983,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a0000019f3d..."} 
[2026-07-08 00:43:14] local.INFO: IMEI packet received {"connection_id":126983,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":126983,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:43:15] local.INFO: TCP Data received {"connection_id":126983,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dfeca80012d5c60000636a150000a014e2c..."} 
[2026-07-08 00:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dfeca80012d5c60000636a150000a014e2c..."} 
[2026-07-08 00:43:15] local.INFO: Processing buffer {"connection_id":126983,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f3dfeaf28012d5c71c006367cf8000a014e2f..."} 
[2026-07-08 00:43:15] local.INFO: Packet analysis {"connection_id":126983,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3dfe"} 
[2026-07-08 00:43:15] local.INFO: Extracted packet for processing {"connection_id":126983,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dfe"} 
[2026-07-08 00:43:15] local.INFO: GPS Element Parsed {"raw_longitude":761033152,"raw_latitude":104234232,"longitude_deg":76.1033152,"latitude_deg":10.4234232,"altitude":10,"angle":334,"satellites":47,"speed":58,"hex_longitude":"2d5c71c0","hex_latitude":"06367cf8","is_valid_coordinates":true} 
[2026-07-08 00:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563589888001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132490734535180288,"note":"Value kept but may cause issues"} 
[2026-07-08 00:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6665608950166953984,"note":"Value kept but may cause issues"} 
[2026-07-08 00:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783451529000,"timestamp_ms":1783451529000,"timestamp_seconds":1783451529,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dfeaf28"} 
[2026-07-08 00:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 00:43:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":126983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":126983,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":126983,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563589888001,"66":27745,"115":206,"19":38400,"24":58,"16":132490734535180288,"45":6665608950166953984},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-07-08 00:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563589888001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:43:15] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-08 00:43:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-08 00:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132490734535180288,"km_value":132490734535180.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":6665608950166953984,"description":"Unknown IO ID 45"} 
[2026-07-08 00:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563589888001,"power":27745,"unknown_115":206,"unknown_19":38400,"ignition":58,"odometer":null,"unknown_45":6665608950166953984}} 
[2026-07-08 00:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":126983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448565,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:43:15] local.INFO: GPS data processed {"connection_id":126983,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:43:15] local.INFO: Acknowledgment sent {"connection_id":126983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:43:15] local.INFO: Packet analysis {"connection_id":126983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dfe"} 
[2026-07-08 00:43:15] local.INFO: Extracted packet for processing {"connection_id":126983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dfe"} 
[2026-07-08 00:43:15] local.INFO: GPS Element Parsed {"raw_longitude":761028608,"raw_latitude":104243536,"longitude_deg":76.1028608,"latitude_deg":10.4243536,"altitude":10,"angle":334,"satellites":44,"speed":58,"hex_longitude":"2d5c6000","hex_latitude":"0636a150","is_valid_coordinates":true} 
[2026-07-08 00:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563591424001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132491237046353920,"note":"Value kept but may cause issues"} 
[2026-07-08 00:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6661316456774170624,"note":"Value kept but may cause issues"} 
[2026-07-08 00:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783451536000,"timestamp_ms":1783451536000,"timestamp_seconds":1783451536,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dfeca80"} 
[2026-07-08 00:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 00:43:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":126983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":126983,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":126983,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563591424001,"66":27941,"115":206,"19":38400,"24":58,"16":132491237046353920,"45":6661316456774170624},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-07-08 00:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563591424001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:43:15] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-08 00:43:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-08 00:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132491237046353920,"km_value":132491237046353.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":6661316456774170624,"description":"Unknown IO ID 45"} 
[2026-07-08 00:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563591424001,"power":27941,"unknown_115":206,"unknown_19":38400,"ignition":58,"odometer":null,"unknown_45":6661316456774170624}} 
[2026-07-08 00:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":126983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448566,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:43:15] local.INFO: GPS data processed {"connection_id":126983,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:43:15] local.INFO: Acknowledgment sent {"connection_id":126983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:43:16] local.INFO: TCP Data received {"connection_id":126983,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dfee5d8012d5c4e000636c598000a014e2e..."} 
[2026-07-08 00:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dfee5d8012d5c4e000636c598000a014e2e..."} 
[2026-07-08 00:43:16] local.INFO: Processing buffer {"connection_id":126983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dfee5d8012d5c4e000636c598000a014e2e..."} 
[2026-07-08 00:43:16] local.INFO: Packet analysis {"connection_id":126983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dfe"} 
[2026-07-08 00:43:16] local.INFO: Extracted packet for processing {"connection_id":126983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dfe"} 
[2026-07-08 00:43:16] local.INFO: GPS Element Parsed {"raw_longitude":761024000,"raw_latitude":104252824,"longitude_deg":76.1024,"latitude_deg":10.4252824,"altitude":10,"angle":334,"satellites":46,"speed":58,"hex_longitude":"2d5c4e00","hex_latitude":"0636c598","is_valid_coordinates":true} 
[2026-07-08 00:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563593216001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132491739557527552,"note":"Value kept but may cause issues"} 
[2026-07-08 00:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6656320275939938304,"note":"Value kept but may cause issues"} 
[2026-07-08 00:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783451543000,"timestamp_ms":1783451543000,"timestamp_seconds":1783451543,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dfee5d8"} 
[2026-07-08 00:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-08 00:43:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1076,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:43:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":126983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":126983,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":126983,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563593216001,"66":27984,"115":206,"19":38400,"24":58,"16":132491739557527552,"45":6656320275939938304},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-07-08 00:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563593216001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:43:16] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-08 00:43:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-08 00:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132491739557527552,"km_value":132491739557527.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":6656320275939938304,"description":"Unknown IO ID 45"} 
[2026-07-08 00:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563593216001,"power":27984,"unknown_115":206,"unknown_19":38400,"ignition":58,"odometer":null,"unknown_45":6656320275939938304}} 
[2026-07-08 00:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":126983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448567,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:43:16] local.INFO: GPS data processed {"connection_id":126983,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:43:16] local.INFO: Acknowledgment sent {"connection_id":126983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:43:34] local.INFO: TCP Data received {"connection_id":125718,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dfd43e0012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dfd43e0012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:43:34] local.INFO: Processing buffer {"connection_id":125718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dfd43e0012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:43:34] local.INFO: Packet analysis {"connection_id":125718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dfd"} 
[2026-07-08 00:43:34] local.INFO: Extracted packet for processing {"connection_id":125718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dfd"} 
[2026-07-08 00:43:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":50,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563490560001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783451436000,"timestamp_ms":1783451436000,"timestamp_seconds":1783451436,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dfd43e0"} 
[2026-07-08 00:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:43: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-07-08 00:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:43: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-07-08 00:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563490560001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563490560001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:43:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:43:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563490560001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":125718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:43:34] local.INFO: GPS data processed {"connection_id":125718,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:43:34] local.INFO: Acknowledgment sent {"connection_id":125718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:43:55] local.INFO: TCP Data received {"connection_id":124888,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124888,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:43:55] local.INFO: Processing buffer {"connection_id":124888,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:43:55] local.INFO: IMEI packet received {"connection_id":124888,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":124888,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:43:59] local.INFO: TCP Data received {"connection_id":124888,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124888,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:43:59] local.INFO: Processing buffer {"connection_id":124888,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:43:59] local.INFO: IMEI packet received {"connection_id":124888,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":124888,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:44:01] local.INFO: TCP Data received {"connection_id":124888,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124888,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:44:01] local.INFO: Processing buffer {"connection_id":124888,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:44:01] local.INFO: IMEI packet received {"connection_id":124888,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":124888,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:44:02] local.INFO: TCP Data received {"connection_id":124888,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dff0130012d5c3e000636e848000a01502e..."} 
[2026-07-08 00:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dff0130012d5c3e000636e848000a01502e..."} 
[2026-07-08 00:44:02] local.INFO: Processing buffer {"connection_id":124888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dff0130012d5c3e000636e848000a01502e..."} 
[2026-07-08 00:44:02] local.INFO: Packet analysis {"connection_id":124888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dff"} 
[2026-07-08 00:44:02] local.INFO: Extracted packet for processing {"connection_id":124888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dff"} 
[2026-07-08 00:44:02] local.INFO: GPS Element Parsed {"raw_longitude":761019904,"raw_latitude":104261704,"longitude_deg":76.1019904,"latitude_deg":10.4261704,"altitude":10,"angle":336,"satellites":46,"speed":51,"hex_longitude":"2d5c3e00","hex_latitude":"0636e848","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563595008001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132492212003930112,"note":"Value kept but may cause issues"} 
[2026-07-08 00:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6651253726361524224,"note":"Value kept but may cause issues"} 
[2026-07-08 00:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783451550000,"timestamp_ms":1783451550000,"timestamp_seconds":1783451550,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dff0130"} 
[2026-07-08 00:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:44: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-07-08 00: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-08 00:44:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124888,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124888,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563595008001,"66":27832,"115":206,"19":38400,"24":51,"16":132492212003930112,"45":6651253726361524224},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-07-08 00:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563595008001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:44:02] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-08 00:44:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-08 00:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132492212003930112,"km_value":132492212003930.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6651253726361524224,"description":"Unknown IO ID 45"} 
[2026-07-08 00:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563595008001,"power":27832,"unknown_115":206,"unknown_19":38400,"ignition":51,"odometer":null,"unknown_45":6651253726361524224}} 
[2026-07-08 00:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":124888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448569,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:44:02] local.INFO: GPS data processed {"connection_id":124888,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:44:02] local.INFO: Acknowledgment sent {"connection_id":124888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:44:03] local.INFO: TCP Data received {"connection_id":124889,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:44:03] local.INFO: Processing buffer {"connection_id":124889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:44:03] local.INFO: IMEI packet received {"connection_id":124889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":124889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:44:03] local.INFO: TCP Data received {"connection_id":124888,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dff1c88012d5c2fc006370460000a01442e..."} 
[2026-07-08 00:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dff1c88012d5c2fc006370460000a01442e..."} 
[2026-07-08 00:44:03] local.INFO: Processing buffer {"connection_id":124888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dff1c88012d5c2fc006370460000a01442e..."} 
[2026-07-08 00:44:03] local.INFO: Packet analysis {"connection_id":124888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dff"} 
[2026-07-08 00:44:03] local.INFO: Extracted packet for processing {"connection_id":124888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dff"} 
[2026-07-08 00:44:03] local.INFO: GPS Element Parsed {"raw_longitude":761016256,"raw_latitude":104268896,"longitude_deg":76.1016256,"latitude_deg":10.4268896,"altitude":10,"angle":324,"satellites":46,"speed":44,"hex_longitude":"2d5c2fc0","hex_latitude":"06370460","is_valid_coordinates":true} 
[2026-07-08 00:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563596800001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132492602845954048,"note":"Value kept but may cause issues"} 
[2026-07-08 00:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6646750126736427008,"note":"Value kept but may cause issues"} 
[2026-07-08 00:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783451557000,"timestamp_ms":1783451557000,"timestamp_seconds":1783451557,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dff1c88"} 
[2026-07-08 00:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:44: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-07-08 00: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-08 00:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124888,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124888,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563596800001,"66":27789,"115":206,"19":38400,"24":44,"16":132492602845954048,"45":6646750126736427008},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-07-08 00:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563596800001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:44:03] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-08 00:44:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-08 00:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132492602845954048,"km_value":132492602845954.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6646750126736427008,"description":"Unknown IO ID 45"} 
[2026-07-08 00:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563596800001,"power":27789,"unknown_115":206,"unknown_19":38400,"ignition":44,"odometer":null,"unknown_45":6646750126736427008}} 
[2026-07-08 00:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":124888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448570,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:44:03] local.INFO: GPS data processed {"connection_id":124888,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:44:03] local.INFO: Acknowledgment sent {"connection_id":124888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:44:07] local.INFO: TCP Data received {"connection_id":124889,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:44:07] local.INFO: Processing buffer {"connection_id":124889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:44:07] local.INFO: IMEI packet received {"connection_id":124889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":124889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:44:08] local.INFO: TCP Data received {"connection_id":124889,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dfd43e0012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dfd43e0012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:44:08] local.INFO: Processing buffer {"connection_id":124889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dfd43e0012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:44:08] local.INFO: Packet analysis {"connection_id":124889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dfd"} 
[2026-07-08 00:44:08] local.INFO: Extracted packet for processing {"connection_id":124889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dfd"} 
[2026-07-08 00:44:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":50,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563490560001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783451436000,"timestamp_ms":1783451436000,"timestamp_seconds":1783451436,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dfd43e0"} 
[2026-07-08 00:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563490560001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563490560001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:44:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:44:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563490560001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":124889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:44:08] local.INFO: GPS data processed {"connection_id":124889,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:44:08] local.INFO: Acknowledgment sent {"connection_id":124889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:44:13] local.INFO: TCP Data received {"connection_id":124889,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dfd43e0012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dfd43e0012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:44:13] local.INFO: Processing buffer {"connection_id":124889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dfd43e0012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:44:13] local.INFO: Packet analysis {"connection_id":124889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dfd"} 
[2026-07-08 00:44:13] local.INFO: Extracted packet for processing {"connection_id":124889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dfd"} 
[2026-07-08 00:44:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":50,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563490560001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783451436000,"timestamp_ms":1783451436000,"timestamp_seconds":1783451436,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dfd43e0"} 
[2026-07-08 00:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:44:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563490560001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563490560001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:44:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:44:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563490560001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":124889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:44:13] local.INFO: GPS data processed {"connection_id":124889,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:44:13] local.INFO: Acknowledgment sent {"connection_id":124889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:44:36] local.INFO: TCP Data received {"connection_id":124888,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dff3bc8012d5c1d40063721b8000a014d2d..."} 
[2026-07-08 00:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dff3bc8012d5c1d40063721b8000a014d2d..."} 
[2026-07-08 00:44:36] local.INFO: Processing buffer {"connection_id":124888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dff3bc8012d5c1d40063721b8000a014d2d..."} 
[2026-07-08 00:44:36] local.INFO: Packet analysis {"connection_id":124888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dff"} 
[2026-07-08 00:44:36] local.INFO: Extracted packet for processing {"connection_id":124888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dff"} 
[2026-07-08 00:44:36] local.INFO: GPS Element Parsed {"raw_longitude":761011520,"raw_latitude":104276408,"longitude_deg":76.101152,"latitude_deg":10.4276408,"altitude":10,"angle":333,"satellites":45,"speed":42,"hex_longitude":"2d5c1d40","hex_latitude":"063721b8","is_valid_coordinates":true} 
[2026-07-08 00:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563598592001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132493032342683648,"note":"Value kept but may cause issues"} 
[2026-07-08 00:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6642739108320141312,"note":"Value kept but may cause issues"} 
[2026-07-08 00:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783451565000,"timestamp_ms":1783451565000,"timestamp_seconds":1783451565,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dff3bc8"} 
[2026-07-08 00:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-08 00:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124888,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124888,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563598592001,"66":27745,"115":206,"19":38400,"24":42,"16":132493032342683648,"45":6642739108320141312},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-07-08 00:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563598592001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:44:36] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-08 00:44:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-08 00:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132493032342683648,"km_value":132493032342683.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6642739108320141312,"description":"Unknown IO ID 45"} 
[2026-07-08 00:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563598592001,"power":27745,"unknown_115":206,"unknown_19":38400,"ignition":42,"odometer":null,"unknown_45":6642739108320141312}} 
[2026-07-08 00:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":124888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448573,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:44:36] local.INFO: GPS data processed {"connection_id":124888,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:44:36] local.INFO: Acknowledgment sent {"connection_id":124888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:44:57] local.INFO: TCP Data received {"connection_id":126985,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126985,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:44:57] local.INFO: Processing buffer {"connection_id":126985,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:44:57] local.INFO: IMEI packet received {"connection_id":126985,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":126985,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:44:58] local.INFO: TCP Data received {"connection_id":126984,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:44:58] local.INFO: Processing buffer {"connection_id":126984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:44:58] local.INFO: IMEI packet received {"connection_id":126984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":126984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:44:58] local.INFO: TCP Data received {"connection_id":126985,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126985,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:44:58] local.INFO: Processing buffer {"connection_id":126985,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:44:58] local.INFO: IMEI packet received {"connection_id":126985,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":126985,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:45:02] local.INFO: TCP Data received {"connection_id":126984,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:45:02] local.INFO: Processing buffer {"connection_id":126984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:45:02] local.INFO: IMEI packet received {"connection_id":126984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":126984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:45:03] local.INFO: TCP Data received {"connection_id":126984,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dfd43e0012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dfd43e0012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:45:03] local.INFO: Processing buffer {"connection_id":126984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dfd43e0012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:45:03] local.INFO: Packet analysis {"connection_id":126984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dfd"} 
[2026-07-08 00:45:03] local.INFO: Extracted packet for processing {"connection_id":126984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dfd"} 
[2026-07-08 00:45:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":50,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563490560001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783451436000,"timestamp_ms":1783451436000,"timestamp_seconds":1783451436,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dfd43e0"} 
[2026-07-08 00:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563490560001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563490560001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:45:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:45:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563490560001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":126984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:45:03] local.INFO: GPS data processed {"connection_id":126984,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:45:03] local.INFO: Acknowledgment sent {"connection_id":126984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:45:04] local.INFO: TCP Data received {"connection_id":126985,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126985,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:45:04] local.INFO: Processing buffer {"connection_id":126985,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:45:04] local.INFO: IMEI packet received {"connection_id":126985,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":126985,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:45:05] local.INFO: TCP Data received {"connection_id":126985,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e005120012d5b820006387cd0000901502d..."} 
[2026-07-08 00:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e005120012d5b820006387cd0000901502d..."} 
[2026-07-08 00:45:05] local.INFO: Processing buffer {"connection_id":126985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e005120012d5b820006387cd0000901502d..."} 
[2026-07-08 00:45:05] local.INFO: Packet analysis {"connection_id":126985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e00"} 
[2026-07-08 00:45:05] local.INFO: Extracted packet for processing {"connection_id":126985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e00"} 
[2026-07-08 00:45:05] local.INFO: GPS Element Parsed {"raw_longitude":760971776,"raw_latitude":104365264,"longitude_deg":76.0971776,"latitude_deg":10.4365264,"altitude":9,"angle":336,"satellites":45,"speed":53,"hex_longitude":"2d5b8200","hex_latitude":"06387cd0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 00:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563617024001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132497739626840064,"note":"Value kept but may cause issues"} 
[2026-07-08 00:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6597773480813148160,"note":"Value kept but may cause issues"} 
[2026-07-08 00:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783451636000,"timestamp_ms":1783451636000,"timestamp_seconds":1783451636,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e005120"} 
[2026-07-08 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-07-08 00:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-08 00:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 00:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126985,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126985,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563617024001,"66":27843,"115":206,"19":38400,"24":53,"16":132497739626840064,"45":6597773480813148160},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-07-08 00:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563617024001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:45:05] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-08 00:45:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-08 00:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132497739626840064,"km_value":132497739626840.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6597773480813148160,"description":"Unknown IO ID 45"} 
[2026-07-08 00:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563617024001,"power":27843,"unknown_115":206,"unknown_19":38400,"ignition":53,"odometer":null,"unknown_45":6597773480813148160}} 
[2026-07-08 00:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":126985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448575,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:45:05] local.INFO: GPS data processed {"connection_id":126985,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:45:05] local.INFO: Acknowledgment sent {"connection_id":126985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:45:08] local.INFO: TCP Data received {"connection_id":126984,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dfd43e0012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dfd43e0012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:45:08] local.INFO: Processing buffer {"connection_id":126984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dfd43e0012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:45:08] local.INFO: Packet analysis {"connection_id":126984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dfd"} 
[2026-07-08 00:45:08] local.INFO: Extracted packet for processing {"connection_id":126984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dfd"} 
[2026-07-08 00:45:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":50,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563490560001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783451436000,"timestamp_ms":1783451436000,"timestamp_seconds":1783451436,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dfd43e0"} 
[2026-07-08 00:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563490560001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563490560001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:45:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:45:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563490560001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":126984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:45:08] local.INFO: GPS data processed {"connection_id":126984,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:45:08] local.INFO: Acknowledgment sent {"connection_id":126984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:45:37] local.INFO: TCP Data received {"connection_id":126985,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e006c78012d5b704006389c98000901462d..."} 
[2026-07-08 00:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e006c78012d5b704006389c98000901462d..."} 
[2026-07-08 00:45:37] local.INFO: Processing buffer {"connection_id":126985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e006c78012d5b704006389c98000901462d..."} 
[2026-07-08 00:45:37] local.INFO: Packet analysis {"connection_id":126985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e00"} 
[2026-07-08 00:45:37] local.INFO: Extracted packet for processing {"connection_id":126985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e00"} 
[2026-07-08 00:45:37] local.INFO: GPS Element Parsed {"raw_longitude":760967232,"raw_latitude":104373400,"longitude_deg":76.0967232,"latitude_deg":10.43734,"altitude":9,"angle":326,"satellites":45,"speed":52,"hex_longitude":"2d5b7040","hex_latitude":"06389c98","is_valid_coordinates":true} 
[2026-07-08 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-07-08 00:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563618816001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132498190598406144,"note":"Value kept but may cause issues"} 
[2026-07-08 00:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6593832831141335040,"note":"Value kept but may cause issues"} 
[2026-07-08 00:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783451643000,"timestamp_ms":1783451643000,"timestamp_seconds":1783451643,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e006c78"} 
[2026-07-08 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-07-08 00:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 00:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 00:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126985,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126985,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563618816001,"66":27952,"115":206,"19":38400,"24":52,"16":132498190598406144,"45":6593832831141335040},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-07-08 00:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563618816001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:45:37] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-08 00:45:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-08 00:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132498190598406144,"km_value":132498190598406.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6593832831141335040,"description":"Unknown IO ID 45"} 
[2026-07-08 00:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563618816001,"power":27952,"unknown_115":206,"unknown_19":38400,"ignition":52,"odometer":null,"unknown_45":6593832831141335040}} 
[2026-07-08 00:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":126985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448577,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:45:37] local.INFO: GPS data processed {"connection_id":126985,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:45:37] local.INFO: Acknowledgment sent {"connection_id":126985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:45:39] local.INFO: TCP Data received {"connection_id":126984,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dfd43e0012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dfd43e0012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:45:39] local.INFO: Processing buffer {"connection_id":126984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dfd43e0012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:45:39] local.INFO: Packet analysis {"connection_id":126984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dfd"} 
[2026-07-08 00:45:39] local.INFO: Extracted packet for processing {"connection_id":126984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dfd"} 
[2026-07-08 00:45:39] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":50,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563490560001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783451436000,"timestamp_ms":1783451436000,"timestamp_seconds":1783451436,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dfd43e0"} 
[2026-07-08 00:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:45:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:45:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563490560001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563490560001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:45:39] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:45:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563490560001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":126984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:45:39] local.INFO: GPS data processed {"connection_id":126984,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:45:39] local.INFO: Acknowledgment sent {"connection_id":126984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:45:57] local.INFO: TCP Data received {"connection_id":124890,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124890,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:45:57] local.INFO: Processing buffer {"connection_id":124890,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:45:57] local.INFO: IMEI packet received {"connection_id":124890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":124890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:45:57] local.INFO: TCP Data received {"connection_id":124988,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:45:57] local.INFO: Processing buffer {"connection_id":124988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:45:57] local.INFO: IMEI packet received {"connection_id":124988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":124988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:46:02] local.INFO: TCP Data received {"connection_id":124988,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:46:02] local.INFO: Processing buffer {"connection_id":124988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:46:02] local.INFO: IMEI packet received {"connection_id":124988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":124988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:46:03] local.INFO: TCP Data received {"connection_id":124890,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124890,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:46:03] local.INFO: Processing buffer {"connection_id":124890,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:46:03] local.INFO: IMEI packet received {"connection_id":124890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":124890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:46:03] local.INFO: TCP Data received {"connection_id":124890,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124890,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:46:03] local.INFO: Processing buffer {"connection_id":124890,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:46:03] local.INFO: IMEI packet received {"connection_id":124890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":124890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:46:03] local.INFO: TCP Data received {"connection_id":124988,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3dfd43e0012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3dfd43e0012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:46:03] local.INFO: Processing buffer {"connection_id":124988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3dfd43e0012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:46:03] local.INFO: Packet analysis {"connection_id":124988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3dfd"} 
[2026-07-08 00:46:03] local.INFO: Extracted packet for processing {"connection_id":124988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3dfd"} 
[2026-07-08 00:46:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":50,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563490560001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783451436000,"timestamp_ms":1783451436000,"timestamp_seconds":1783451436,"priority":1,"record_length":96,"hex_timestamp":"0000019f3dfd43e0"} 
[2026-07-08 00:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563490560001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563490560001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:46:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:46:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563490560001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":124988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:46:03] local.INFO: GPS data processed {"connection_id":124988,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:46:03] local.INFO: Acknowledgment sent {"connection_id":124988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:46:04] local.INFO: TCP Data received {"connection_id":124890,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e0087d0012d5b5b800638b998000901432e..."} 
[2026-07-08 00:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e0087d0012d5b5b800638b998000901432e..."} 
[2026-07-08 00:46:04] local.INFO: Processing buffer {"connection_id":124890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e0087d0012d5b5b800638b998000901432e..."} 
[2026-07-08 00:46:04] local.INFO: Packet analysis {"connection_id":124890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e00"} 
[2026-07-08 00:46:04] local.INFO: Extracted packet for processing {"connection_id":124890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e00"} 
[2026-07-08 00:46:04] local.INFO: GPS Element Parsed {"raw_longitude":760961920,"raw_latitude":104380824,"longitude_deg":76.096192,"latitude_deg":10.4380824,"altitude":9,"angle":323,"satellites":46,"speed":41,"hex_longitude":"2d5b5b80","hex_latitude":"0638b998","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563620608001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132498632980037632,"note":"Value kept but may cause issues"} 
[2026-07-08 00:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6588836650306803712,"note":"Value kept but may cause issues"} 
[2026-07-08 00:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783451650000,"timestamp_ms":1783451650000,"timestamp_seconds":1783451650,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e0087d0"} 
[2026-07-08 00:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:46: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-07-08 00: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-08 00:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563620608001,"66":27876,"115":206,"19":38400,"24":41,"16":132498632980037632,"45":6588836650306803712},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-07-08 00:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563620608001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:46:04] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-08 00:46:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-08 00:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132498632980037632,"km_value":132498632980037.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6588836650306803712,"description":"Unknown IO ID 45"} 
[2026-07-08 00:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563620608001,"power":27876,"unknown_115":206,"unknown_19":38400,"ignition":41,"odometer":null,"unknown_45":6588836650306803712}} 
[2026-07-08 00:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":124890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448580,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:46:04] local.INFO: GPS data processed {"connection_id":124890,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:46:04] local.INFO: Acknowledgment sent {"connection_id":124890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:46:09] local.INFO: TCP Data received {"connection_id":124890,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e00aee0012d5b44800638d8f8000901442c..."} 
[2026-07-08 00:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e00aee0012d5b44800638d8f8000901442c..."} 
[2026-07-08 00:46:09] local.INFO: Processing buffer {"connection_id":124890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e00aee0012d5b44800638d8f8000901442c..."} 
[2026-07-08 00:46:09] local.INFO: Packet analysis {"connection_id":124890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e00"} 
[2026-07-08 00:46:09] local.INFO: Extracted packet for processing {"connection_id":124890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e00"} 
[2026-07-08 00:46:09] local.INFO: GPS Element Parsed {"raw_longitude":760956032,"raw_latitude":104388856,"longitude_deg":76.0956032,"latitude_deg":10.4388856,"altitude":9,"angle":324,"satellites":44,"speed":41,"hex_longitude":"2d5b4480","hex_latitude":"0638d8f8","is_valid_coordinates":true} 
[2026-07-08 00:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563622400001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132499114016374784,"note":"Value kept but may cause issues"} 
[2026-07-08 00:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6582996044541958144,"note":"Value kept but may cause issues"} 
[2026-07-08 00:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783451660000,"timestamp_ms":1783451660000,"timestamp_seconds":1783451660,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e00aee0"} 
[2026-07-08 00:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 00:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563622400001,"66":27876,"115":206,"19":38400,"24":41,"16":132499114016374784,"45":6582996044541958144},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-07-08 00:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563622400001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:46:09] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-08 00:46:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-08 00:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132499114016374784,"km_value":132499114016374.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6582996044541958144,"description":"Unknown IO ID 45"} 
[2026-07-08 00:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563622400001,"power":27876,"unknown_115":206,"unknown_19":38400,"ignition":41,"odometer":null,"unknown_45":6582996044541958144}} 
[2026-07-08 00:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":124890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448581,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:46:09] local.INFO: GPS data processed {"connection_id":124890,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:46:09] local.INFO: Acknowledgment sent {"connection_id":124890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:46:34] local.INFO: TCP Data received {"connection_id":124988,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e01dba8012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e01dba8012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:46:34] local.INFO: Processing buffer {"connection_id":124988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e01dba8012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:46:34] local.INFO: Packet analysis {"connection_id":124988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e01"} 
[2026-07-08 00:46:34] local.INFO: Extracted packet for processing {"connection_id":124988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e01"} 
[2026-07-08 00:46:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":51,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563567616001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783451737000,"timestamp_ms":1783451737000,"timestamp_seconds":1783451737,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e01dba8"} 
[2026-07-08 00:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":86,"data_length":795,"current_offset":136} 
[2026-07-08 00:46: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-07-08 00:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563567616001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563567616001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:46:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:46:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563567616001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":124988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:46:34] local.INFO: GPS data processed {"connection_id":124988,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:46:34] local.INFO: Acknowledgment sent {"connection_id":124988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:46:40] local.INFO: TCP Data received {"connection_id":124890,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e00d208012d5b2d400638f8700009014329..."} 
[2026-07-08 00:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e00d208012d5b2d400638f8700009014329..."} 
[2026-07-08 00:46:40] local.INFO: Processing buffer {"connection_id":124890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e00d208012d5b2d400638f8700009014329..."} 
[2026-07-08 00:46:40] local.INFO: Packet analysis {"connection_id":124890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e00"} 
[2026-07-08 00:46:40] local.INFO: Extracted packet for processing {"connection_id":124890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e00"} 
[2026-07-08 00:46:40] local.INFO: GPS Element Parsed {"raw_longitude":760950080,"raw_latitude":104396912,"longitude_deg":76.095008,"latitude_deg":10.4396912,"altitude":9,"angle":323,"satellites":41,"speed":47,"hex_longitude":"2d5b2d40","hex_latitude":"0638f870","is_valid_coordinates":true} 
[2026-07-08 00:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563624960001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132499595052711936,"note":"Value kept but may cause issues"} 
[2026-07-08 00:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6576522120079669248,"note":"Value kept but may cause issues"} 
[2026-07-08 00:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783451669000,"timestamp_ms":1783451669000,"timestamp_seconds":1783451669,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e00d208"} 
[2026-07-08 00:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 00:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:46:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563624960001,"66":27800,"117":206,"19":38400,"24":47,"16":132499595052711936,"45":6576522120079669248},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,19,24,16,45]} 
[2026-07-08 00:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563624960001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:46:40] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-08 00:46:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-08 00:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132499595052711936,"km_value":132499595052711.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":6576522120079669248,"description":"Unknown IO ID 45"} 
[2026-07-08 00:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563624960001,"power":27800,"unknown_117":206,"unknown_19":38400,"ignition":47,"odometer":null,"unknown_45":6576522120079669248}} 
[2026-07-08 00:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":124890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448583,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:46:41] local.INFO: GPS data processed {"connection_id":124890,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:46:41] local.INFO: Acknowledgment sent {"connection_id":124890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:46:57] local.INFO: TCP Data received {"connection_id":124989,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:46:57] local.INFO: Processing buffer {"connection_id":124989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:46:57] local.INFO: IMEI packet received {"connection_id":124989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":124989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:46:58] local.INFO: TCP Data received {"connection_id":125719,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125719,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:46:58] local.INFO: Processing buffer {"connection_id":125719,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:46:58] local.INFO: IMEI packet received {"connection_id":125719,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":125719,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:47:02] local.INFO: TCP Data received {"connection_id":124989,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:47:02] local.INFO: Processing buffer {"connection_id":124989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:47:02] local.INFO: IMEI packet received {"connection_id":124989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":124989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:47:03] local.INFO: TCP Data received {"connection_id":125719,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125719,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:47:03] local.INFO: Processing buffer {"connection_id":125719,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:47:03] local.INFO: IMEI packet received {"connection_id":125719,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":125719,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:47:03] local.INFO: TCP Data received {"connection_id":124989,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e01dba8012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e01dba8012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:47:03] local.INFO: Processing buffer {"connection_id":124989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e01dba8012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:47:03] local.INFO: Packet analysis {"connection_id":124989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e01"} 
[2026-07-08 00:47:03] local.INFO: Extracted packet for processing {"connection_id":124989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e01"} 
[2026-07-08 00:47:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":51,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563567616001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783451737000,"timestamp_ms":1783451737000,"timestamp_seconds":1783451737,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e01dba8"} 
[2026-07-08 00:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 00:47: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-07-08 00: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-07-08 00:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563567616001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563567616001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:47:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:47:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563567616001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":124989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:47:03] local.INFO: GPS data processed {"connection_id":124989,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:47:03] local.INFO: Acknowledgment sent {"connection_id":124989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:47:05] local.INFO: TCP Data received {"connection_id":125719,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e00f918012d5b17c006391500000b01432b..."} 
[2026-07-08 00:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e00f918012d5b17c006391500000b01432b..."} 
[2026-07-08 00:47:05] local.INFO: Processing buffer {"connection_id":125719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e00f918012d5b17c006391500000b01432b..."} 
[2026-07-08 00:47:05] local.INFO: Packet analysis {"connection_id":125719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e00"} 
[2026-07-08 00:47:05] local.INFO: Extracted packet for processing {"connection_id":125719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e00"} 
[2026-07-08 00:47:05] local.INFO: GPS Element Parsed {"raw_longitude":760944576,"raw_latitude":104404224,"longitude_deg":76.0944576,"latitude_deg":10.4404224,"altitude":11,"angle":323,"satellites":43,"speed":20,"hex_longitude":"2d5b17c0","hex_latitude":"06391500","is_valid_coordinates":true} 
[2026-07-08 00:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563627264001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132500037434343424,"note":"Value kept but may cause issues"} 
[2026-07-08 00:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6569977826873208832,"note":"Value kept but may cause issues"} 
[2026-07-08 00:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783451679000,"timestamp_ms":1783451679000,"timestamp_seconds":1783451679,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e00f918"} 
[2026-07-08 00:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 00:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125719,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125719,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563627264001,"66":27843,"117":206,"19":38400,"24":20,"16":132500037434343424,"45":6569977826873208832},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,19,24,16,45]} 
[2026-07-08 00:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563627264001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:47:05] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-08 00:47:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-08 00:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132500037434343424,"km_value":132500037434343.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6569977826873208832,"description":"Unknown IO ID 45"} 
[2026-07-08 00:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563627264001,"power":27843,"unknown_117":206,"unknown_19":38400,"ignition":20,"odometer":null,"unknown_45":6569977826873208832}} 
[2026-07-08 00:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":125719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448585,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:47:05] local.INFO: GPS data processed {"connection_id":125719,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:47:05] local.INFO: Acknowledgment sent {"connection_id":125719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:47:35] local.INFO: TCP Data received {"connection_id":124989,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e01dba8012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e01dba8012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:47:35] local.INFO: Processing buffer {"connection_id":124989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e01dba8012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:47:35] local.INFO: Packet analysis {"connection_id":124989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e01"} 
[2026-07-08 00:47:35] local.INFO: Extracted packet for processing {"connection_id":124989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e01"} 
[2026-07-08 00:47:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":51,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563567616001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783451737000,"timestamp_ms":1783451737000,"timestamp_seconds":1783451737,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e01dba8"} 
[2026-07-08 00:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 00:47: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-07-08 00:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563567616001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563567616001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:47:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:47:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563567616001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":124989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:47:35] local.INFO: GPS data processed {"connection_id":124989,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:47:35] local.INFO: Acknowledgment sent {"connection_id":124989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:47:38] local.INFO: TCP Data received {"connection_id":125719,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e02d1c0012d5a5600063ab340000c014d2f..."} 
[2026-07-08 00:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e02d1c0012d5a5600063ab340000c014d2f..."} 
[2026-07-08 00:47:38] local.INFO: Processing buffer {"connection_id":125719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e02d1c0012d5a5600063ab340000c014d2f..."} 
[2026-07-08 00:47:38] local.INFO: Packet analysis {"connection_id":125719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e02"} 
[2026-07-08 00:47:38] local.INFO: Extracted packet for processing {"connection_id":125719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e02"} 
[2026-07-08 00:47:38] local.INFO: GPS Element Parsed {"raw_longitude":760894976,"raw_latitude":104510272,"longitude_deg":76.0894976,"latitude_deg":10.4510272,"altitude":12,"angle":333,"satellites":47,"speed":51,"hex_longitude":"2d5a5600","hex_latitude":"063ab340","is_valid_coordinates":true} 
[2026-07-08 00:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563659008001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132505715381108736,"note":"Value kept but may cause issues"} 
[2026-07-08 00:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6513542094069676032,"note":"Value kept but may cause issues"} 
[2026-07-08 00:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783451800000,"timestamp_ms":1783451800000,"timestamp_seconds":1783451800,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e02d1c0"} 
[2026-07-08 00:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-08 00:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125719,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125719,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563659008001,"66":27604,"117":206,"19":38400,"24":51,"16":132505715381108736,"45":6513542094069676032},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,19,24,16,45]} 
[2026-07-08 00:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563659008001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:47:38] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-08 00:47:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-08 00:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132505715381108736,"km_value":132505715381108.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6513542094069676032,"description":"Unknown IO ID 45"} 
[2026-07-08 00:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563659008001,"power":27604,"unknown_117":206,"unknown_19":38400,"ignition":51,"odometer":null,"unknown_45":6513542094069676032}} 
[2026-07-08 00:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":125719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448587,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:47:38] local.INFO: GPS data processed {"connection_id":125719,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:47:38] local.INFO: Acknowledgment sent {"connection_id":125719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:48:00] local.INFO: TCP Data received {"connection_id":125721,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125721,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:48:00] local.INFO: Processing buffer {"connection_id":125721,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:48:00] local.INFO: IMEI packet received {"connection_id":125721,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":125721,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:48:02] local.INFO: TCP Data received {"connection_id":125721,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125721,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:48:02] local.INFO: Processing buffer {"connection_id":125721,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:48:02] local.INFO: IMEI packet received {"connection_id":125721,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":125721,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:48:02] local.INFO: TCP Data received {"connection_id":125720,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:48:02] local.INFO: Processing buffer {"connection_id":125720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:48:02] local.INFO: IMEI packet received {"connection_id":125720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":125720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:48:07] local.INFO: TCP Data received {"connection_id":125720,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:48:07] local.INFO: Processing buffer {"connection_id":125720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:48:07] local.INFO: IMEI packet received {"connection_id":125720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":125720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:48:08] local.INFO: TCP Data received {"connection_id":125721,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125721,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:48:08] local.INFO: Processing buffer {"connection_id":125721,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:48:08] local.INFO: IMEI packet received {"connection_id":125721,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":125721,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:48:08] local.INFO: TCP Data received {"connection_id":125721,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e02ed18012d5a4440063ad438000d014a2d..."} 
[2026-07-08 00:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e02ed18012d5a4440063ad438000d014a2d..."} 
[2026-07-08 00:48:08] local.INFO: Processing buffer {"connection_id":125721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e02ed18012d5a4440063ad438000d014a2d..."} 
[2026-07-08 00:48:08] local.INFO: Packet analysis {"connection_id":125721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e02"} 
[2026-07-08 00:48:08] local.INFO: Extracted packet for processing {"connection_id":125721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e02"} 
[2026-07-08 00:48:08] local.INFO: GPS Element Parsed {"raw_longitude":760890432,"raw_latitude":104518712,"longitude_deg":76.0890432,"latitude_deg":10.4518712,"altitude":13,"angle":330,"satellites":45,"speed":54,"hex_longitude":"2d5a4440","hex_latitude":"063ad438","is_valid_coordinates":true} 
[2026-07-08 00:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563660800001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132506179237576704,"note":"Value kept but may cause issues"} 
[2026-07-08 00:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6509390338165260288,"note":"Value kept but may cause issues"} 
[2026-07-08 00:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783451807000,"timestamp_ms":1783451807000,"timestamp_seconds":1783451807,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e02ed18"} 
[2026-07-08 00:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-08 00:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125721,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125721,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563660800001,"66":27995,"117":206,"19":38400,"24":54,"16":132506179237576704,"45":6509390338165260288},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,19,24,16,45]} 
[2026-07-08 00:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563660800001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:48:08] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-08 00:48:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-08 00:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132506179237576704,"km_value":132506179237576.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6509390338165260288,"description":"Unknown IO ID 45"} 
[2026-07-08 00:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563660800001,"power":27995,"unknown_117":206,"unknown_19":38400,"ignition":54,"odometer":null,"unknown_45":6509390338165260288}} 
[2026-07-08 00:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":125721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448588,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:48:08] local.INFO: GPS data processed {"connection_id":125721,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:48:08] local.INFO: Acknowledgment sent {"connection_id":125721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:48:08] local.INFO: TCP Data received {"connection_id":125720,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e01dba8012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e01dba8012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:48:08] local.INFO: Processing buffer {"connection_id":125720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e01dba8012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:48:08] local.INFO: Packet analysis {"connection_id":125720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e01"} 
[2026-07-08 00:48:08] local.INFO: Extracted packet for processing {"connection_id":125720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e01"} 
[2026-07-08 00:48:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":51,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563567616001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783451737000,"timestamp_ms":1783451737000,"timestamp_seconds":1783451737,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e01dba8"} 
[2026-07-08 00:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":86,"data_length":795,"current_offset":136} 
[2026-07-08 00:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563567616001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563567616001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:48:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:48:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563567616001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":125720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:48:09] local.INFO: GPS data processed {"connection_id":125720,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:48:09] local.INFO: Acknowledgment sent {"connection_id":125720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:48:13] local.INFO: TCP Data received {"connection_id":125720,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e01dba8012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e01dba8012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:48:13] local.INFO: Processing buffer {"connection_id":125720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e01dba8012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:48:13] local.INFO: Packet analysis {"connection_id":125720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e01"} 
[2026-07-08 00:48:13] local.INFO: Extracted packet for processing {"connection_id":125720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e01"} 
[2026-07-08 00:48:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":51,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563567616001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783451737000,"timestamp_ms":1783451737000,"timestamp_seconds":1783451737,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e01dba8"} 
[2026-07-08 00:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:48:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 00:48:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:48:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563567616001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563567616001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:48:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:48:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563567616001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":125720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:48:13] local.INFO: GPS data processed {"connection_id":125720,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:48:13] local.INFO: Acknowledgment sent {"connection_id":125720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:48:54] local.INFO: TCP Data received {"connection_id":125721,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e030870012d5a3140063af438000d01432d..."} 
[2026-07-08 00:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e030870012d5a3140063af438000d01432d..."} 
[2026-07-08 00:48:54] local.INFO: Processing buffer {"connection_id":125721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e030870012d5a3140063af438000d01432d..."} 
[2026-07-08 00:48:54] local.INFO: Packet analysis {"connection_id":125721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e03"} 
[2026-07-08 00:48:54] local.INFO: Extracted packet for processing {"connection_id":125721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e03"} 
[2026-07-08 00:48:54] local.INFO: GPS Element Parsed {"raw_longitude":760885568,"raw_latitude":104526904,"longitude_deg":76.0885568,"latitude_deg":10.4526904,"altitude":13,"angle":323,"satellites":45,"speed":54,"hex_longitude":"2d5a3140","hex_latitude":"063af438","is_valid_coordinates":true} 
[2026-07-08 00:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563662592001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132506638799077376,"note":"Value kept but may cause issues"} 
[2026-07-08 00:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6504394157330806784,"note":"Value kept but may cause issues"} 
[2026-07-08 00:48:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783451814000,"timestamp_ms":1783451814000,"timestamp_seconds":1783451814,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e030870"} 
[2026-07-08 00:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-08 00:48:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:48:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":125721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":125721,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":125721,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563662592001,"66":27789,"86":206,"19":38400,"24":54,"16":132506638799077376,"45":6504394157330806784},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,19,24,16,45]} 
[2026-07-08 00:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563662592001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:48:54] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-08 00:48:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-08 00:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132506638799077376,"km_value":132506638799077.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":6504394157330806784,"description":"Unknown IO ID 45"} 
[2026-07-08 00:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563662592001,"power":27789,"unknown_86":206,"unknown_19":38400,"ignition":54,"odometer":null,"unknown_45":6504394157330806784}} 
[2026-07-08 00:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":125721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448591,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:48:54] local.INFO: GPS data processed {"connection_id":125721,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:48:54] local.INFO: Acknowledgment sent {"connection_id":125721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:48:57] local.INFO: TCP Data received {"connection_id":126986,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:48:57] local.INFO: Processing buffer {"connection_id":126986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:48:57] local.INFO: IMEI packet received {"connection_id":126986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":126986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:48:59] local.INFO: TCP Data received {"connection_id":124990,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:48:59] local.INFO: Processing buffer {"connection_id":124990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:48:59] local.INFO: IMEI packet received {"connection_id":124990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":124990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:49:00] local.INFO: TCP Data received {"connection_id":124990,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:49:00] local.INFO: Processing buffer {"connection_id":124990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:49:00] local.INFO: IMEI packet received {"connection_id":124990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":124990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:49:02] local.INFO: TCP Data received {"connection_id":126986,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:49:02] local.INFO: Processing buffer {"connection_id":126986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:49:02] local.INFO: IMEI packet received {"connection_id":126986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":126986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:49:03] local.INFO: TCP Data received {"connection_id":124990,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:49:03] local.INFO: Processing buffer {"connection_id":124990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:49:03] local.INFO: IMEI packet received {"connection_id":124990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":124990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:49:03] local.INFO: TCP Data received {"connection_id":126986,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e01dba8012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e01dba8012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:49:03] local.INFO: Processing buffer {"connection_id":126986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e01dba8012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:49:03] local.INFO: Packet analysis {"connection_id":126986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e01"} 
[2026-07-08 00:49:03] local.INFO: Extracted packet for processing {"connection_id":126986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e01"} 
[2026-07-08 00:49:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":51,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563567616001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783451737000,"timestamp_ms":1783451737000,"timestamp_seconds":1783451737,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e01dba8"} 
[2026-07-08 00:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 00:49: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-07-08 00: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-07-08 00:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:49:03] 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-07-08 00:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563567616001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563567616001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:49:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:49:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563567616001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":126986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:49:03] local.INFO: GPS data processed {"connection_id":126986,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:49:03] local.INFO: Acknowledgment sent {"connection_id":126986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:49:04] local.INFO: TCP Data received {"connection_id":124990,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e040e28012d599000063c44b8000c014e2d..."} 
[2026-07-08 00:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e040e28012d599000063c44b8000c014e2d..."} 
[2026-07-08 00:49:04] local.INFO: Processing buffer {"connection_id":124990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e040e28012d599000063c44b8000c014e2d..."} 
[2026-07-08 00:49:04] local.INFO: Packet analysis {"connection_id":124990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e04"} 
[2026-07-08 00:49:04] local.INFO: Extracted packet for processing {"connection_id":124990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e04"} 
[2026-07-08 00:49:04] local.INFO: GPS Element Parsed {"raw_longitude":760844288,"raw_latitude":104613048,"longitude_deg":76.0844288,"latitude_deg":10.4613048,"altitude":12,"angle":334,"satellites":45,"speed":58,"hex_longitude":"2d599000","hex_latitude":"063c44b8","is_valid_coordinates":true} 
[2026-07-08 00:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563680000001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132511320313430016,"note":"Value kept but may cause issues"} 
[2026-07-08 00:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6457880417451468800,"note":"Value kept but may cause issues"} 
[2026-07-08 00:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783451881000,"timestamp_ms":1783451881000,"timestamp_seconds":1783451881,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e040e28"} 
[2026-07-08 00:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:49: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-07-08 00: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 00:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563680000001,"66":27952,"86":206,"19":38400,"24":58,"16":132511320313430016,"45":6457880417451468800},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,19,24,16,45]} 
[2026-07-08 00:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563680000001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:49:04] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-08 00:49:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-08 00:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132511320313430016,"km_value":132511320313430.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6457880417451468800,"description":"Unknown IO ID 45"} 
[2026-07-08 00:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563680000001,"power":27952,"unknown_86":206,"unknown_19":38400,"ignition":58,"odometer":null,"unknown_45":6457880417451468800}} 
[2026-07-08 00:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":124990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448593,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:49:04] local.INFO: GPS data processed {"connection_id":124990,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:49:04] local.INFO: Acknowledgment sent {"connection_id":124990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:49:08] local.INFO: TCP Data received {"connection_id":126986,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e01dba8012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e01dba8012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:49:08] local.INFO: Processing buffer {"connection_id":126986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e01dba8012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:49:08] local.INFO: Packet analysis {"connection_id":126986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e01"} 
[2026-07-08 00:49:08] local.INFO: Extracted packet for processing {"connection_id":126986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e01"} 
[2026-07-08 00:49:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":51,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563567616001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783451737000,"timestamp_ms":1783451737000,"timestamp_seconds":1783451737,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e01dba8"} 
[2026-07-08 00:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 00:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:49:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:49:08] 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-07-08 00:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563567616001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563567616001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:49:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:49:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563567616001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":126986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:49:08] local.INFO: GPS data processed {"connection_id":126986,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:49:08] local.INFO: Acknowledgment sent {"connection_id":126986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:49:39] local.INFO: TCP Data received {"connection_id":126986,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e01dba8012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e01dba8012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:49:39] local.INFO: Processing buffer {"connection_id":126986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e01dba8012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:49:39] local.INFO: Packet analysis {"connection_id":126986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e01"} 
[2026-07-08 00:49:39] local.INFO: Extracted packet for processing {"connection_id":126986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e01"} 
[2026-07-08 00:49:39] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":51,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563567616001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783451737000,"timestamp_ms":1783451737000,"timestamp_seconds":1783451737,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e01dba8"} 
[2026-07-08 00:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 00:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563567616001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563567616001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:49:39] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:49:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563567616001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":126986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:49:39] local.INFO: GPS data processed {"connection_id":126986,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:49:39] local.INFO: Acknowledgment sent {"connection_id":126986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:49:46] local.INFO: TCP Data received {"connection_id":124990,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e042980012d597e00063c68c8000c014d2c..."} 
[2026-07-08 00:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e042980012d597e00063c68c8000c014d2c..."} 
[2026-07-08 00:49:46] local.INFO: Processing buffer {"connection_id":124990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e042980012d597e00063c68c8000c014d2c..."} 
[2026-07-08 00:49:46] local.INFO: Packet analysis {"connection_id":124990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e04"} 
[2026-07-08 00:49:46] local.INFO: Extracted packet for processing {"connection_id":124990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e04"} 
[2026-07-08 00:49:46] local.INFO: GPS Element Parsed {"raw_longitude":760839680,"raw_latitude":104622280,"longitude_deg":76.083968,"latitude_deg":10.462228,"altitude":12,"angle":333,"satellites":44,"speed":58,"hex_longitude":"2d597e00","hex_latitude":"063c68c8","is_valid_coordinates":true} 
[2026-07-08 00:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563681536001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132511818529636352,"note":"Value kept but may cause issues"} 
[2026-07-08 00:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6453658292802861056,"note":"Value kept but may cause issues"} 
[2026-07-08 00:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783451888000,"timestamp_ms":1783451888000,"timestamp_seconds":1783451888,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e042980"} 
[2026-07-08 00:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-08 00:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":124990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":124990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":124990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563681536001,"66":27767,"86":206,"19":38400,"24":58,"16":132511818529636352,"45":6453658292802861056},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,19,24,16,45]} 
[2026-07-08 00:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563681536001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:49:46] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-08 00:49:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-08 00:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132511818529636352,"km_value":132511818529636.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":6453658292802861056,"description":"Unknown IO ID 45"} 
[2026-07-08 00:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563681536001,"power":27767,"unknown_86":206,"unknown_19":38400,"ignition":58,"odometer":null,"unknown_45":6453658292802861056}} 
[2026-07-08 00:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":124990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448596,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:49:46] local.INFO: GPS data processed {"connection_id":124990,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:49:46] local.INFO: Acknowledgment sent {"connection_id":124990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:49:57] local.INFO: TCP Data received {"connection_id":124991,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:49:57] local.INFO: Processing buffer {"connection_id":124991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:49:57] local.INFO: IMEI packet received {"connection_id":124991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":124991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:50:02] local.INFO: TCP Data received {"connection_id":124991,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:50:02] local.INFO: Processing buffer {"connection_id":124991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:50:02] local.INFO: IMEI packet received {"connection_id":124991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":124991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:50:03] local.INFO: TCP Data received {"connection_id":124991,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e01dba8012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e01dba8012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:50:03] local.INFO: Processing buffer {"connection_id":124991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e01dba8012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:50:03] local.INFO: Packet analysis {"connection_id":124991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e01"} 
[2026-07-08 00:50:03] local.INFO: Extracted packet for processing {"connection_id":124991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e01"} 
[2026-07-08 00:50:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":51,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563567616001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783451737000,"timestamp_ms":1783451737000,"timestamp_seconds":1783451737,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e01dba8"} 
[2026-07-08 00:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 00:50: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-07-08 00:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563567616001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563567616001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:50:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:50:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563567616001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":124991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:50:03] local.INFO: GPS data processed {"connection_id":124991,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:50:03] local.INFO: Acknowledgment sent {"connection_id":124991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:50:09] local.INFO: TCP Data received {"connection_id":124891,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124891,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:50:09] local.INFO: Processing buffer {"connection_id":124891,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:50:09] local.INFO: IMEI packet received {"connection_id":124891,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":124891,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:50:12] local.INFO: TCP Data received {"connection_id":124891,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124891,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:50:12] local.INFO: Processing buffer {"connection_id":124891,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:50:12] local.INFO: IMEI packet received {"connection_id":124891,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":124891,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:50:16] local.INFO: TCP Data received {"connection_id":124891,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124891,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:50:16] local.INFO: Processing buffer {"connection_id":124891,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:50:16] local.INFO: IMEI packet received {"connection_id":124891,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":124891,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:50:18] local.INFO: TCP Data received {"connection_id":124891,"ip":"117.224.129.116","data_length":1360,"data_hex":"000000000000030f8e0a0000019f3e0517c8012d5900c0063d8888001201422d..."} 
[2026-07-08 00:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124891,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019f3e0517c8012d5900c0063d8888001201422d..."} 
[2026-07-08 00:50:18] local.INFO: Processing buffer {"connection_id":124891,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019f3e0517c8012d5900c0063d8888001201422d..."} 
[2026-07-08 00:50:18] local.INFO: Packet analysis {"connection_id":124891,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019f3e05"} 
[2026-07-08 00:50:18] local.INFO: Extracted packet for processing {"connection_id":124891,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019f3e05"} 
[2026-07-08 00:50:18] local.INFO: GPS Element Parsed {"raw_longitude":760807616,"raw_latitude":104695944,"longitude_deg":76.0807616,"latitude_deg":10.4695944,"altitude":18,"angle":322,"satellites":45,"speed":32,"hex_longitude":"2d5900c0","hex_latitude":"063d8888","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563697408001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132515748424712192,"note":"Value kept but may cause issues"} 
[2026-07-08 00:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6417418389571801088,"note":"Value kept but may cause issues"} 
[2026-07-08 00:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783451949000,"timestamp_ms":1783451949000,"timestamp_seconds":1783451949,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e0517c8"} 
[2026-07-08 00:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 00:50:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":124891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":124891,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":124891,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563697408001,"66":27365,"87":206,"19":38400,"24":32,"16":132515748424712192,"45":6417418389571801088},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,19,24,16,45]} 
[2026-07-08 00:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563697408001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:50:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-08 00:50:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-08 00:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132515748424712192,"km_value":132515748424712.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6417418389571801088,"description":"Unknown IO ID 45"} 
[2026-07-08 00:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563697408001,"power":27365,"unknown_87":206,"unknown_19":38400,"ignition":32,"odometer":null,"unknown_45":6417418389571801088}} 
[2026-07-08 00:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":124891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448598,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:50:18] local.INFO: GPS data processed {"connection_id":124891,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:50:18] local.INFO: Acknowledgment sent {"connection_id":124891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:50:18] local.INFO: Packet analysis {"connection_id":124891,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019f3e05"} 
[2026-07-08 00:50:18] local.INFO: Incomplete packet, waiting for more data {"connection_id":124891,"needed":795,"available":565} 
[2026-07-08 00:50:19] local.INFO: TCP Data received {"connection_id":124891,"ip":"117.224.129.116","data_length":230,"data_hex":"2d592ec0063d1a80000d015130003b0000000a000400ef0100714e00f0010045..."} 
[2026-07-08 00:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124891,"packet_length":230,"packet_hex":"2d592ec0063d1a80000d015130003b0000000a000400ef0100714e00f0010045..."} 
[2026-07-08 00:50:19] local.INFO: Processing buffer {"connection_id":124891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e052768012d58fa40063d93b0001001522e..."} 
[2026-07-08 00:50:19] local.INFO: Packet analysis {"connection_id":124891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e05"} 
[2026-07-08 00:50:19] local.INFO: Extracted packet for processing {"connection_id":124891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e05"} 
[2026-07-08 00:50:19] local.INFO: GPS Element Parsed {"raw_longitude":760805952,"raw_latitude":104698800,"longitude_deg":76.0805952,"latitude_deg":10.46988,"altitude":16,"angle":338,"satellites":46,"speed":32,"hex_longitude":"2d58fa40","hex_latitude":"063d93b0","is_valid_coordinates":true} 
[2026-07-08 00:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563698944001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132515907338502144,"note":"Value kept but may cause issues"} 
[2026-07-08 00:50:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6413337002410280960,"note":"Value kept but may cause issues"} 
[2026-07-08 00:50:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783451953000,"timestamp_ms":1783451953000,"timestamp_seconds":1783451953,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e052768"} 
[2026-07-08 00:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:50:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 00:50:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:50:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":124891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":124891,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":124891,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:50:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563698944001,"66":27941,"87":206,"19":38400,"24":32,"16":132515907338502144,"45":6413337002410280960},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,19,24,16,45]} 
[2026-07-08 00:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563698944001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:50:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-08 00:50:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-08 00:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132515907338502144,"km_value":132515907338502.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:50:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6413337002410280960,"description":"Unknown IO ID 45"} 
[2026-07-08 00:50:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563698944001,"power":27941,"unknown_87":206,"unknown_19":38400,"ignition":32,"odometer":null,"unknown_45":6413337002410280960}} 
[2026-07-08 00:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":124891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448599,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:50:19] local.INFO: GPS data processed {"connection_id":124891,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:50:19] local.INFO: Acknowledgment sent {"connection_id":124891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:50:34] local.INFO: TCP Data received {"connection_id":124991,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e01dba8012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e01dba8012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:50:34] local.INFO: Processing buffer {"connection_id":124991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e01dba8012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:50:34] local.INFO: Packet analysis {"connection_id":124991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e01"} 
[2026-07-08 00:50:34] local.INFO: Extracted packet for processing {"connection_id":124991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e01"} 
[2026-07-08 00:50:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":51,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563567616001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783451737000,"timestamp_ms":1783451737000,"timestamp_seconds":1783451737,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e01dba8"} 
[2026-07-08 00:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 00:50: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-07-08 00: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-07-08 00:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563567616001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563567616001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:50:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:50:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563567616001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":124991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:50:34] local.INFO: GPS data processed {"connection_id":124991,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:50:34] local.INFO: Acknowledgment sent {"connection_id":124991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:50:57] local.INFO: TCP Data received {"connection_id":124993,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124993,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:50:57] local.INFO: Processing buffer {"connection_id":124993,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:50:57] local.INFO: IMEI packet received {"connection_id":124993,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":124993,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:50:57] local.INFO: TCP Data received {"connection_id":124992,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:50:57] local.INFO: Processing buffer {"connection_id":124992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:50:57] local.INFO: IMEI packet received {"connection_id":124992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":124992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:50:58] local.INFO: TCP Data received {"connection_id":124993,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124993,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:50:58] local.INFO: Processing buffer {"connection_id":124993,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:50:58] local.INFO: IMEI packet received {"connection_id":124993,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":124993,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:51:02] local.INFO: TCP Data received {"connection_id":124992,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:51:02] local.INFO: Processing buffer {"connection_id":124992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:51:02] local.INFO: IMEI packet received {"connection_id":124992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":124992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:51:03] local.INFO: TCP Data received {"connection_id":124992,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e01dba8012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e01dba8012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:51:03] local.INFO: Processing buffer {"connection_id":124992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e01dba8012dc5eb400537d5a00034014433..."} 
[2026-07-08 00:51:03] local.INFO: Packet analysis {"connection_id":124992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e01"} 
[2026-07-08 00:51:03] local.INFO: Extracted packet for processing {"connection_id":124992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e01"} 
[2026-07-08 00:51:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":51,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563567616001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783451737000,"timestamp_ms":1783451737000,"timestamp_seconds":1783451737,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e01dba8"} 
[2026-07-08 00:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 00:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563567616001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563567616001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:51:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:51:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563567616001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":124992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:51:03] local.INFO: GPS data processed {"connection_id":124992,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:51:03] local.INFO: Acknowledgment sent {"connection_id":124992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:51:04] local.INFO: TCP Data received {"connection_id":124993,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124993,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:51:04] local.INFO: Processing buffer {"connection_id":124993,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:51:04] local.INFO: IMEI packet received {"connection_id":124993,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":124993,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:51:05] local.INFO: TCP Data received {"connection_id":124993,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e054a90012d58ed00063db4a8001301552e..."} 
[2026-07-08 00:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e054a90012d58ed00063db4a8001301552e..."} 
[2026-07-08 00:51:05] local.INFO: Processing buffer {"connection_id":124993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e054a90012d58ed00063db4a8001301552e..."} 
[2026-07-08 00:51:05] local.INFO: Packet analysis {"connection_id":124993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e05"} 
[2026-07-08 00:51:05] local.INFO: Extracted packet for processing {"connection_id":124993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e05"} 
[2026-07-08 00:51:05] local.INFO: GPS Element Parsed {"raw_longitude":760802560,"raw_latitude":104707240,"longitude_deg":76.080256,"latitude_deg":10.470724,"altitude":19,"angle":341,"satellites":46,"speed":43,"hex_longitude":"2d58ed00","hex_latitude":"063db4a8","is_valid_coordinates":true} 
[2026-07-08 00:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563699968001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132516349720133632,"note":"Value kept but may cause issues"} 
[2026-07-08 00:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6411507415062392832,"note":"Value kept but may cause issues"} 
[2026-07-08 00:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783451962000,"timestamp_ms":1783451962000,"timestamp_seconds":1783451962,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e054a90"} 
[2026-07-08 00:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-08 00:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1076,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124993,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124993,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563699968001,"66":27821,"87":206,"19":38400,"24":43,"16":132516349720133632,"45":6411507415062392832},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,19,24,16,45]} 
[2026-07-08 00:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563699968001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:51:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-08 00:51:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-08 00:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132516349720133632,"km_value":132516349720133.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6411507415062392832,"description":"Unknown IO ID 45"} 
[2026-07-08 00:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563699968001,"power":27821,"unknown_87":206,"unknown_19":38400,"ignition":43,"odometer":null,"unknown_45":6411507415062392832}} 
[2026-07-08 00:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":124993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448602,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:51:05] local.INFO: GPS data processed {"connection_id":124993,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:51:05] local.INFO: Acknowledgment sent {"connection_id":124993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:51:34] local.INFO: TCP Data received {"connection_id":124992,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e067370012dc5eb400537d5a00034014434..."} 
[2026-07-08 00:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e067370012dc5eb400537d5a00034014434..."} 
[2026-07-08 00:51:34] local.INFO: Processing buffer {"connection_id":124992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e067370012dc5eb400537d5a00034014434..."} 
[2026-07-08 00:51:34] local.INFO: Packet analysis {"connection_id":124992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e06"} 
[2026-07-08 00:51:34] local.INFO: Extracted packet for processing {"connection_id":124992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e06"} 
[2026-07-08 00:51:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":52,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563644672001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783452038000,"timestamp_ms":1783452038000,"timestamp_seconds":1783452038,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e067370"} 
[2026-07-08 00:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563644672001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563644672001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:51:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:51:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563644672001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":124992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:51:34] local.INFO: GPS data processed {"connection_id":124992,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:51:34] local.INFO: Acknowledgment sent {"connection_id":124992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:51:37] local.INFO: TCP Data received {"connection_id":124993,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e0692b0012d5817c0063f3938000901492e..."} 
[2026-07-08 00:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e0692b0012d5817c0063f3938000901492e..."} 
[2026-07-08 00:51:37] local.INFO: Processing buffer {"connection_id":124993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e0692b0012d5817c0063f3938000901492e..."} 
[2026-07-08 00:51:37] local.INFO: Packet analysis {"connection_id":124993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e06"} 
[2026-07-08 00:51:37] local.INFO: Extracted packet for processing {"connection_id":124993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e06"} 
[2026-07-08 00:51:37] local.INFO: GPS Element Parsed {"raw_longitude":760747968,"raw_latitude":104806712,"longitude_deg":76.0747968,"latitude_deg":10.4806712,"altitude":9,"angle":329,"satellites":46,"speed":59,"hex_longitude":"2d5817c0","hex_latitude":"063f3938","is_valid_coordinates":true} 
[2026-07-08 00:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563722240001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132521868753108992,"note":"Value kept but may cause issues"} 
[2026-07-08 00:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6352749513699694592,"note":"Value kept but may cause issues"} 
[2026-07-08 00:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783452046000,"timestamp_ms":1783452046000,"timestamp_seconds":1783452046,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e0692b0"} 
[2026-07-08 00:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-08 00:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124993,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124993,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563722240001,"66":27767,"137":206,"19":38400,"24":59,"16":132521868753108992,"45":6352749513699694592},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,19,24,16,45]} 
[2026-07-08 00:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563722240001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:51:37] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-08 00:51:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-08 00:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132521868753108992,"km_value":132521868753108.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6352749513699694592,"description":"Unknown IO ID 45"} 
[2026-07-08 00:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563722240001,"power":27767,"unknown_137":206,"unknown_19":38400,"ignition":59,"odometer":null,"unknown_45":6352749513699694592}} 
[2026-07-08 00:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":124993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448604,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:51:37] local.INFO: GPS data processed {"connection_id":124993,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:51:37] local.INFO: Acknowledgment sent {"connection_id":124993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:51:58] local.INFO: TCP Data received {"connection_id":124892,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124892,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:51:58] local.INFO: Processing buffer {"connection_id":124892,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:51:58] local.INFO: IMEI packet received {"connection_id":124892,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":124892,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:52:02] local.INFO: TCP Data received {"connection_id":126987,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:52:02] local.INFO: Processing buffer {"connection_id":126987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:52:02] local.INFO: IMEI packet received {"connection_id":126987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":126987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:52:03] local.INFO: TCP Data received {"connection_id":124892,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124892,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:52:03] local.INFO: Processing buffer {"connection_id":124892,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:52:03] local.INFO: IMEI packet received {"connection_id":124892,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":124892,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:52:05] local.INFO: TCP Data received {"connection_id":124892,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e06aa20012d580500063f56a0000a01462c..."} 
[2026-07-08 00:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e06aa20012d580500063f56a0000a01462c..."} 
[2026-07-08 00:52:05] local.INFO: Processing buffer {"connection_id":124892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e06aa20012d580500063f56a0000a01462c..."} 
[2026-07-08 00:52:05] local.INFO: Packet analysis {"connection_id":124892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e06"} 
[2026-07-08 00:52:05] local.INFO: Extracted packet for processing {"connection_id":124892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e06"} 
[2026-07-08 00:52:05] local.INFO: GPS Element Parsed {"raw_longitude":760743168,"raw_latitude":104814240,"longitude_deg":76.0743168,"latitude_deg":10.481424,"altitude":10,"angle":326,"satellites":44,"speed":58,"hex_longitude":"2d580500","hex_latitude":"063f56a0","is_valid_coordinates":true} 
[2026-07-08 00:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563723776001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132522298249838592,"note":"Value kept but may cause issues"} 
[2026-07-08 00:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6347753332865054720,"note":"Value kept but may cause issues"} 
[2026-07-08 00:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783452052000,"timestamp_ms":1783452052000,"timestamp_seconds":1783452052,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e06aa20"} 
[2026-07-08 00:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 00:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563723776001,"66":27876,"137":206,"19":38400,"24":58,"16":132522298249838592,"45":6347753332865054720},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,19,24,16,45]} 
[2026-07-08 00:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563723776001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:52:05] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-08 00:52:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-08 00:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132522298249838592,"km_value":132522298249838.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6347753332865054720,"description":"Unknown IO ID 45"} 
[2026-07-08 00:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563723776001,"power":27876,"unknown_137":206,"unknown_19":38400,"ignition":58,"odometer":null,"unknown_45":6347753332865054720}} 
[2026-07-08 00:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":124892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448605,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:52:05] local.INFO: GPS data processed {"connection_id":124892,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:52:05] local.INFO: Acknowledgment sent {"connection_id":124892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:52:07] local.INFO: TCP Data received {"connection_id":126987,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:52:07] local.INFO: Processing buffer {"connection_id":126987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:52:07] local.INFO: IMEI packet received {"connection_id":126987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":126987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:52:08] local.INFO: TCP Data received {"connection_id":126987,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e067370012dc5eb400537d5a00034014434..."} 
[2026-07-08 00:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e067370012dc5eb400537d5a00034014434..."} 
[2026-07-08 00:52:08] local.INFO: Processing buffer {"connection_id":126987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e067370012dc5eb400537d5a00034014434..."} 
[2026-07-08 00:52:08] local.INFO: Packet analysis {"connection_id":126987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e06"} 
[2026-07-08 00:52:08] local.INFO: Extracted packet for processing {"connection_id":126987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e06"} 
[2026-07-08 00:52:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":52,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563644672001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783452038000,"timestamp_ms":1783452038000,"timestamp_seconds":1783452038,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e067370"} 
[2026-07-08 00:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563644672001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563644672001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:52:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:52:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563644672001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":126987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:52:08] local.INFO: GPS data processed {"connection_id":126987,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:52:08] local.INFO: Acknowledgment sent {"connection_id":126987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:52:13] local.INFO: TCP Data received {"connection_id":126987,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e067370012dc5eb400537d5a00034014434..."} 
[2026-07-08 00:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e067370012dc5eb400537d5a00034014434..."} 
[2026-07-08 00:52:13] local.INFO: Processing buffer {"connection_id":126987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e067370012dc5eb400537d5a00034014434..."} 
[2026-07-08 00:52:13] local.INFO: Packet analysis {"connection_id":126987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e06"} 
[2026-07-08 00:52:13] local.INFO: Extracted packet for processing {"connection_id":126987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e06"} 
[2026-07-08 00:52:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":52,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563644672001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:52:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:52:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783452038000,"timestamp_ms":1783452038000,"timestamp_seconds":1783452038,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e067370"} 
[2026-07-08 00:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:52:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:52:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":126987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":126987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":126987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:52:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563644672001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563644672001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:52:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:52:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:52:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563644672001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":126987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:52:13] local.INFO: GPS data processed {"connection_id":126987,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:52:13] local.INFO: Acknowledgment sent {"connection_id":126987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:52:46] local.INFO: TCP Data received {"connection_id":124892,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e06c190012d57f0c0063f72f0000901432e..."} 
[2026-07-08 00:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e06c190012d57f0c0063f72f0000901432e..."} 
[2026-07-08 00:52:46] local.INFO: Processing buffer {"connection_id":124892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e06c190012d57f0c0063f72f0000901432e..."} 
[2026-07-08 00:52:46] local.INFO: Packet analysis {"connection_id":124892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e06"} 
[2026-07-08 00:52:46] local.INFO: Extracted packet for processing {"connection_id":124892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e06"} 
[2026-07-08 00:52:46] local.INFO: GPS Element Parsed {"raw_longitude":760737984,"raw_latitude":104821488,"longitude_deg":76.0737984,"latitude_deg":10.4821488,"altitude":9,"angle":323,"satellites":46,"speed":59,"hex_longitude":"2d57f0c0","hex_latitude":"063f72f0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563725312001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132522732041535488,"note":"Value kept but may cause issues"} 
[2026-07-08 00:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6342475677053657088,"note":"Value kept but may cause issues"} 
[2026-07-08 00:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783452058000,"timestamp_ms":1783452058000,"timestamp_seconds":1783452058,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e06c190"} 
[2026-07-08 00:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 00:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":124892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":124892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":124892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563725312001,"66":27974,"137":206,"19":38400,"24":59,"16":132522732041535488,"45":6342475677053657088},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,19,24,16,45]} 
[2026-07-08 00:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563725312001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:52:46] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-08 00:52:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-08 00:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132522732041535488,"km_value":132522732041535.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":6342475677053657088,"description":"Unknown IO ID 45"} 
[2026-07-08 00:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563725312001,"power":27974,"unknown_137":206,"unknown_19":38400,"ignition":59,"odometer":null,"unknown_45":6342475677053657088}} 
[2026-07-08 00:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":124892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448608,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:52:46] local.INFO: GPS data processed {"connection_id":124892,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:52:46] local.INFO: Acknowledgment sent {"connection_id":124892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:52:57] local.INFO: TCP Data received {"connection_id":126988,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126988,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:52:57] local.INFO: Processing buffer {"connection_id":126988,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:52:57] local.INFO: IMEI packet received {"connection_id":126988,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":126988,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:52:57] local.INFO: TCP Data received {"connection_id":124994,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:52:57] local.INFO: Processing buffer {"connection_id":124994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:52:57] local.INFO: IMEI packet received {"connection_id":124994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":124994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:53:02] local.INFO: TCP Data received {"connection_id":124994,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:53:02] local.INFO: Processing buffer {"connection_id":124994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:53:02] local.INFO: IMEI packet received {"connection_id":124994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":124994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:53:03] local.INFO: TCP Data received {"connection_id":126988,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126988,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:53:03] local.INFO: Processing buffer {"connection_id":126988,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:53:03] local.INFO: IMEI packet received {"connection_id":126988,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":126988,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:53:03] local.INFO: TCP Data received {"connection_id":124994,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e067370012dc5eb400537d5a00034014434..."} 
[2026-07-08 00:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e067370012dc5eb400537d5a00034014434..."} 
[2026-07-08 00:53:03] local.INFO: Processing buffer {"connection_id":124994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e067370012dc5eb400537d5a00034014434..."} 
[2026-07-08 00:53:03] local.INFO: Packet analysis {"connection_id":124994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e06"} 
[2026-07-08 00:53:03] local.INFO: Extracted packet for processing {"connection_id":124994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e06"} 
[2026-07-08 00:53:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":52,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563644672001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783452038000,"timestamp_ms":1783452038000,"timestamp_seconds":1783452038,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e067370"} 
[2026-07-08 00:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563644672001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563644672001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:53:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:53:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563644672001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":124994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:53:03] local.INFO: GPS data processed {"connection_id":124994,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:53:03] local.INFO: Acknowledgment sent {"connection_id":124994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:53:04] local.INFO: TCP Data received {"connection_id":126988,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e06d900012d57dc00063f8f20000a01432e..."} 
[2026-07-08 00:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e06d900012d57dc00063f8f20000a01432e..."} 
[2026-07-08 00:53:04] local.INFO: Processing buffer {"connection_id":126988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e06d900012d57dc00063f8f20000a01432e..."} 
[2026-07-08 00:53:04] local.INFO: Packet analysis {"connection_id":126988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e06"} 
[2026-07-08 00:53:04] local.INFO: Extracted packet for processing {"connection_id":126988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e06"} 
[2026-07-08 00:53:04] local.INFO: GPS Element Parsed {"raw_longitude":760732672,"raw_latitude":104828704,"longitude_deg":76.0732672,"latitude_deg":10.4828704,"altitude":10,"angle":323,"satellites":46,"speed":58,"hex_longitude":"2d57dc00","hex_latitude":"063f8f20","is_valid_coordinates":true} 
[2026-07-08 00:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563726848001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132523161538265088,"note":"Value kept but may cause issues"} 
[2026-07-08 00:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6336775808777121792,"note":"Value kept but may cause issues"} 
[2026-07-08 00:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783452064000,"timestamp_ms":1783452064000,"timestamp_seconds":1783452064,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e06d900"} 
[2026-07-08 00:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:53: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-07-08 00:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-08 00:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126988,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126988,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563726848001,"66":27767,"137":206,"19":38400,"24":58,"16":132523161538265088,"45":6336775808777121792},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,19,24,16,45]} 
[2026-07-08 00:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563726848001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:53:04] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-08 00:53:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-07-08 00:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132523161538265088,"km_value":132523161538265.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6336775808777121792,"description":"Unknown IO ID 45"} 
[2026-07-08 00:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563726848001,"power":27767,"unknown_137":206,"unknown_19":38400,"ignition":58,"odometer":null,"unknown_45":6336775808777121792}} 
[2026-07-08 00:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":126988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448610,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:53:04] local.INFO: GPS data processed {"connection_id":126988,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:53:04] local.INFO: Acknowledgment sent {"connection_id":126988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:53:34] local.INFO: TCP Data received {"connection_id":124994,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e067370012dc5eb400537d5a00034014434..."} 
[2026-07-08 00:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e067370012dc5eb400537d5a00034014434..."} 
[2026-07-08 00:53:34] local.INFO: Processing buffer {"connection_id":124994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e067370012dc5eb400537d5a00034014434..."} 
[2026-07-08 00:53:34] local.INFO: Packet analysis {"connection_id":124994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e06"} 
[2026-07-08 00:53:34] local.INFO: Extracted packet for processing {"connection_id":124994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e06"} 
[2026-07-08 00:53:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":52,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563644672001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783452038000,"timestamp_ms":1783452038000,"timestamp_seconds":1783452038,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e067370"} 
[2026-07-08 00:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:53: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-07-08 00: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-07-08 00:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563644672001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563644672001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:53:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:53:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563644672001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":124994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:53:35] local.INFO: GPS data processed {"connection_id":124994,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:53:35] local.INFO: Acknowledgment sent {"connection_id":124994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:53:36] local.INFO: TCP Data received {"connection_id":126988,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e082508012d5704800640f030000a014d2e..."} 
[2026-07-08 00:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e082508012d5704800640f030000a014d2e..."} 
[2026-07-08 00:53:36] local.INFO: Processing buffer {"connection_id":126988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e082508012d5704800640f030000a014d2e..."} 
[2026-07-08 00:53:36] local.INFO: Packet analysis {"connection_id":126988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e08"} 
[2026-07-08 00:53:36] local.INFO: Extracted packet for processing {"connection_id":126988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e08"} 
[2026-07-08 00:53:36] local.INFO: GPS Element Parsed {"raw_longitude":760677504,"raw_latitude":104919088,"longitude_deg":76.0677504,"latitude_deg":10.4919088,"altitude":10,"angle":333,"satellites":46,"speed":30,"hex_longitude":"2d570480","hex_latitude":"0640f030","is_valid_coordinates":true} 
[2026-07-08 00:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563747584001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132528294024183808,"note":"Value kept but may cause issues"} 
[2026-07-08 00:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6274851313923725312,"note":"Value kept but may cause issues"} 
[2026-07-08 00:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783452149000,"timestamp_ms":1783452149000,"timestamp_seconds":1783452149,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e082508"} 
[2026-07-08 00:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 00:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126988,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126988,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563747584001,"66":27843,"186":206,"19":38144,"24":30,"16":132528294024183808,"45":6274851313923725312},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,19,24,16,45]} 
[2026-07-08 00:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563747584001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:53:36] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-08 00:53:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 00:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132528294024183808,"km_value":132528294024183.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6274851313923725312,"description":"Unknown IO ID 45"} 
[2026-07-08 00:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563747584001,"power":27843,"unknown_186":206,"unknown_19":38144,"ignition":30,"odometer":null,"unknown_45":6274851313923725312}} 
[2026-07-08 00:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":126988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448612,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:53:36] local.INFO: GPS data processed {"connection_id":126988,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:53:36] local.INFO: Acknowledgment sent {"connection_id":126988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:53:57] local.INFO: TCP Data received {"connection_id":124995,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:53:57] local.INFO: Processing buffer {"connection_id":124995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:53:57] local.INFO: IMEI packet received {"connection_id":124995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":124995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:54:02] local.INFO: TCP Data received {"connection_id":124995,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:54:02] local.INFO: Processing buffer {"connection_id":124995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:54:02] local.INFO: IMEI packet received {"connection_id":124995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":124995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:54:03] local.INFO: TCP Data received {"connection_id":124995,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e067370012dc5eb400537d5a00034014434..."} 
[2026-07-08 00:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e067370012dc5eb400537d5a00034014434..."} 
[2026-07-08 00:54:03] local.INFO: Processing buffer {"connection_id":124995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e067370012dc5eb400537d5a00034014434..."} 
[2026-07-08 00:54:03] local.INFO: Packet analysis {"connection_id":124995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e06"} 
[2026-07-08 00:54:03] local.INFO: Extracted packet for processing {"connection_id":124995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e06"} 
[2026-07-08 00:54:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":52,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563644672001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783452038000,"timestamp_ms":1783452038000,"timestamp_seconds":1783452038,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e067370"} 
[2026-07-08 00:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563644672001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563644672001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:54:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:54:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563644672001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":124995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:54:03] local.INFO: GPS data processed {"connection_id":124995,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:54:03] local.INFO: Acknowledgment sent {"connection_id":124995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:54:03] local.INFO: TCP Data received {"connection_id":125722,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125722,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:54:03] local.INFO: Processing buffer {"connection_id":125722,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:54:03] local.INFO: IMEI packet received {"connection_id":125722,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":125722,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:54:08] local.INFO: TCP Data received {"connection_id":125722,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125722,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:54:08] local.INFO: Processing buffer {"connection_id":125722,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:54:08] local.INFO: IMEI packet received {"connection_id":125722,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":125722,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:54:10] local.INFO: TCP Data received {"connection_id":125722,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e085fa0012d56f44006410d900009013e32..."} 
[2026-07-08 00:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e085fa0012d56f44006410d900009013e32..."} 
[2026-07-08 00:54:10] local.INFO: Processing buffer {"connection_id":125722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e085fa0012d56f44006410d900009013e32..."} 
[2026-07-08 00:54:10] local.INFO: Packet analysis {"connection_id":125722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e08"} 
[2026-07-08 00:54:10] local.INFO: Extracted packet for processing {"connection_id":125722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e08"} 
[2026-07-08 00:54:10] local.INFO: GPS Element Parsed {"raw_longitude":760673344,"raw_latitude":104926608,"longitude_deg":76.0673344,"latitude_deg":10.4926608,"altitude":9,"angle":318,"satellites":50,"speed":26,"hex_longitude":"2d56f440","hex_latitude":"06410d90","is_valid_coordinates":true} 
[2026-07-08 00:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563750144001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132528706341044224,"note":"Value kept but may cause issues"} 
[2026-07-08 00:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6270277345554214912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783452164000,"timestamp_ms":1783452164000,"timestamp_seconds":1783452164,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e085fa0"} 
[2026-07-08 00:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 00:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125722,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125722,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563750144001,"66":27995,"186":206,"19":38144,"24":26,"16":132528706341044224,"45":6270277345554214912},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,19,24,16,45]} 
[2026-07-08 00:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563750144001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:54:10] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-08 00:54:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 00:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132528706341044224,"km_value":132528706341044.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6270277345554214912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563750144001,"power":27995,"unknown_186":206,"unknown_19":38144,"ignition":26,"odometer":null,"unknown_45":6270277345554214912}} 
[2026-07-08 00:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":125722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448614,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:54:10] local.INFO: GPS data processed {"connection_id":125722,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:54:10] local.INFO: Acknowledgment sent {"connection_id":125722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:54:11] local.INFO: TCP Data received {"connection_id":125722,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e088a98012d56dc8006412790000a014128..."} 
[2026-07-08 00:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e088a98012d56dc8006412790000a014128..."} 
[2026-07-08 00:54:11] local.INFO: Processing buffer {"connection_id":125722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e088a98012d56dc8006412790000a014128..."} 
[2026-07-08 00:54:11] local.INFO: Packet analysis {"connection_id":125722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e08"} 
[2026-07-08 00:54:11] local.INFO: Extracted packet for processing {"connection_id":125722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e08"} 
[2026-07-08 00:54:11] local.INFO: GPS Element Parsed {"raw_longitude":760667264,"raw_latitude":104933264,"longitude_deg":76.0667264,"latitude_deg":10.4933264,"altitude":10,"angle":321,"satellites":40,"speed":33,"hex_longitude":"2d56dc80","hex_latitude":"06412790","is_valid_coordinates":true} 
[2026-07-08 00:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563753984001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132529144427708416,"note":"Value kept but may cause issues"} 
[2026-07-08 00:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6265703377184591872,"note":"Value kept but may cause issues"} 
[2026-07-08 00:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783452175000,"timestamp_ms":1783452175000,"timestamp_seconds":1783452175,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e088a98"} 
[2026-07-08 00:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-08 00:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125722,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125722,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563753984001,"66":28006,"186":206,"19":38144,"24":33,"16":132529144427708416,"45":6265703377184591872},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,19,24,16,45]} 
[2026-07-08 00:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563753984001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:54:11] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-08 00:54:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 00:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132529144427708416,"km_value":132529144427708.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6265703377184591872,"description":"Unknown IO ID 45"} 
[2026-07-08 00:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563753984001,"power":28006,"unknown_186":206,"unknown_19":38144,"ignition":33,"odometer":null,"unknown_45":6265703377184591872}} 
[2026-07-08 00:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":125722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448615,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:54:11] local.INFO: GPS data processed {"connection_id":125722,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:54:11] local.INFO: Acknowledgment sent {"connection_id":125722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:54:34] local.INFO: TCP Data received {"connection_id":124995,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e067370012dc5eb400537d5a00034014434..."} 
[2026-07-08 00:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e067370012dc5eb400537d5a00034014434..."} 
[2026-07-08 00:54:34] local.INFO: Processing buffer {"connection_id":124995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e067370012dc5eb400537d5a00034014434..."} 
[2026-07-08 00:54:34] local.INFO: Packet analysis {"connection_id":124995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e06"} 
[2026-07-08 00:54:34] local.INFO: Extracted packet for processing {"connection_id":124995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e06"} 
[2026-07-08 00:54:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":52,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563644672001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783452038000,"timestamp_ms":1783452038000,"timestamp_seconds":1783452038,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e067370"} 
[2026-07-08 00:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:54: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-07-08 00:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563644672001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563644672001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:54:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:54:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563644672001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":124995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:54:34] local.INFO: GPS data processed {"connection_id":124995,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:54:34] local.INFO: Acknowledgment sent {"connection_id":124995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:54:42] local.INFO: TCP Data received {"connection_id":125722,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e08b978012d56c6c006414630000a014623..."} 
[2026-07-08 00:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e08b978012d56c6c006414630000a014623..."} 
[2026-07-08 00:54:42] local.INFO: Processing buffer {"connection_id":125722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e08b978012d56c6c006414630000a014623..."} 
[2026-07-08 00:54:42] local.INFO: Packet analysis {"connection_id":125722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e08"} 
[2026-07-08 00:54:42] local.INFO: Extracted packet for processing {"connection_id":125722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e08"} 
[2026-07-08 00:54:42] local.INFO: GPS Element Parsed {"raw_longitude":760661696,"raw_latitude":104941104,"longitude_deg":76.0661696,"latitude_deg":10.4941104,"altitude":10,"angle":326,"satellites":35,"speed":29,"hex_longitude":"2d56c6c0","hex_latitude":"06414630","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563756800001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132529608284176384,"note":"Value kept but may cause issues"} 
[2026-07-08 00:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6259018346489417728,"note":"Value kept but may cause issues"} 
[2026-07-08 00:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783452187000,"timestamp_ms":1783452187000,"timestamp_seconds":1783452187,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e08b978"} 
[2026-07-08 00:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:54: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-07-08 00: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 00:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":125722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":125722,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":125722,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563756800001,"66":27843,"186":206,"19":38144,"24":29,"16":132529608284176384,"45":6259018346489417728},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,19,24,16,45]} 
[2026-07-08 00:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563756800001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:54:42] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-08 00:54:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 00:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132529608284176384,"km_value":132529608284176.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6259018346489417728,"description":"Unknown IO ID 45"} 
[2026-07-08 00:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563756800001,"power":27843,"unknown_186":206,"unknown_19":38144,"ignition":29,"odometer":null,"unknown_45":6259018346489417728}} 
[2026-07-08 00:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":125722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448617,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:54:42] local.INFO: GPS data processed {"connection_id":125722,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:54:42] local.INFO: Acknowledgment sent {"connection_id":125722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:54:58] local.INFO: TCP Data received {"connection_id":126989,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126989,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:54:58] local.INFO: Processing buffer {"connection_id":126989,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:54:58] local.INFO: IMEI packet received {"connection_id":126989,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":126989,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:54:58] local.INFO: TCP Data received {"connection_id":125723,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:54:58] local.INFO: Processing buffer {"connection_id":125723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:54:58] local.INFO: IMEI packet received {"connection_id":125723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":125723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:55:02] local.INFO: TCP Data received {"connection_id":125723,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:55:02] local.INFO: Processing buffer {"connection_id":125723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:55:02] local.INFO: IMEI packet received {"connection_id":125723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":125723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:55:03] local.INFO: TCP Data received {"connection_id":126989,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126989,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:55:03] local.INFO: Processing buffer {"connection_id":126989,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:55:03] local.INFO: IMEI packet received {"connection_id":126989,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":126989,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:55:03] local.INFO: TCP Data received {"connection_id":125723,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e067370012dc5eb400537d5a00034014434..."} 
[2026-07-08 00:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e067370012dc5eb400537d5a00034014434..."} 
[2026-07-08 00:55:03] local.INFO: Processing buffer {"connection_id":125723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e067370012dc5eb400537d5a00034014434..."} 
[2026-07-08 00:55:03] local.INFO: Packet analysis {"connection_id":125723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e06"} 
[2026-07-08 00:55:03] local.INFO: Extracted packet for processing {"connection_id":125723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e06"} 
[2026-07-08 00:55:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":52,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563644672001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783452038000,"timestamp_ms":1783452038000,"timestamp_seconds":1783452038,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e067370"} 
[2026-07-08 00:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563644672001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563644672001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:55:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:55:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563644672001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":125723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:55:03] local.INFO: GPS data processed {"connection_id":125723,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:55:03] local.INFO: Acknowledgment sent {"connection_id":125723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:55:05] local.INFO: TCP Data received {"connection_id":126989,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e08e858012d56b2c006416608000b014a26..."} 
[2026-07-08 00:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e08e858012d56b2c006416608000b014a26..."} 
[2026-07-08 00:55:05] local.INFO: Processing buffer {"connection_id":126989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e08e858012d56b2c006416608000b014a26..."} 
[2026-07-08 00:55:05] local.INFO: Packet analysis {"connection_id":126989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e08"} 
[2026-07-08 00:55:05] local.INFO: Extracted packet for processing {"connection_id":126989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e08"} 
[2026-07-08 00:55:05] local.INFO: GPS Element Parsed {"raw_longitude":760656576,"raw_latitude":104949256,"longitude_deg":76.0656576,"latitude_deg":10.4949256,"altitude":11,"angle":330,"satellites":38,"speed":32,"hex_longitude":"2d56b2c0","hex_latitude":"06416608","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563759872001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132530072140644352,"note":"Value kept but may cause issues"} 
[2026-07-08 00:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6252896265747968000,"note":"Value kept but may cause issues"} 
[2026-07-08 00:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783452199000,"timestamp_ms":1783452199000,"timestamp_seconds":1783452199,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e08e858"} 
[2026-07-08 00:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 00:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126989,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126989,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563759872001,"66":27887,"186":206,"19":38144,"24":32,"16":132530072140644352,"45":6252896265747968000},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,19,24,16,45]} 
[2026-07-08 00:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563759872001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:55:05] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-08 00:55:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 00:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132530072140644352,"km_value":132530072140644.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6252896265747968000,"description":"Unknown IO ID 45"} 
[2026-07-08 00:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563759872001,"power":27887,"unknown_186":206,"unknown_19":38144,"ignition":32,"odometer":null,"unknown_45":6252896265747968000}} 
[2026-07-08 00:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":126989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448619,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:55:05] local.INFO: GPS data processed {"connection_id":126989,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:55:05] local.INFO: Acknowledgment sent {"connection_id":126989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:55:34] local.INFO: TCP Data received {"connection_id":125723,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e067370012dc5eb400537d5a00034014434..."} 
[2026-07-08 00:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e067370012dc5eb400537d5a00034014434..."} 
[2026-07-08 00:55:34] local.INFO: Processing buffer {"connection_id":125723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e067370012dc5eb400537d5a00034014434..."} 
[2026-07-08 00:55:34] local.INFO: Packet analysis {"connection_id":125723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e06"} 
[2026-07-08 00:55:34] local.INFO: Extracted packet for processing {"connection_id":125723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e06"} 
[2026-07-08 00:55:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":52,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563644672001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783452038000,"timestamp_ms":1783452038000,"timestamp_seconds":1783452038,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e067370"} 
[2026-07-08 00:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:55: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-07-08 00: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-07-08 00:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563644672001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563644672001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:55:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:55:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563644672001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":125723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:55:34] local.INFO: GPS data processed {"connection_id":125723,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:55:34] local.INFO: Acknowledgment sent {"connection_id":125723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:55:38] local.INFO: TCP Data received {"connection_id":126989,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e091f08012d56a18006418588000c014e2e..."} 
[2026-07-08 00:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e091f08012d56a18006418588000c014e2e..."} 
[2026-07-08 00:55:38] local.INFO: Processing buffer {"connection_id":126989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e091f08012d56a18006418588000c014e2e..."} 
[2026-07-08 00:55:38] local.INFO: Packet analysis {"connection_id":126989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e09"} 
[2026-07-08 00:55:38] local.INFO: Extracted packet for processing {"connection_id":126989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e09"} 
[2026-07-08 00:55:38] local.INFO: GPS Element Parsed {"raw_longitude":760652160,"raw_latitude":104957320,"longitude_deg":76.065216,"latitude_deg":10.495732,"altitude":12,"angle":334,"satellites":46,"speed":30,"hex_longitude":"2d56a180","hex_latitude":"06418588","is_valid_coordinates":true} 
[2026-07-08 00:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563762944001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132530514522275840,"note":"Value kept but may cause issues"} 
[2026-07-08 00:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6247266766215841792,"note":"Value kept but may cause issues"} 
[2026-07-08 00:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783452213000,"timestamp_ms":1783452213000,"timestamp_seconds":1783452213,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e091f08"} 
[2026-07-08 00:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-08 00:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126989,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126989,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563762944001,"66":27767,"186":206,"19":38144,"24":30,"16":132530514522275840,"45":6247266766215841792},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,19,24,16,45]} 
[2026-07-08 00:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563762944001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:55:38] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-08 00:55:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 00:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132530514522275840,"km_value":132530514522275.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6247266766215841792,"description":"Unknown IO ID 45"} 
[2026-07-08 00:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563762944001,"power":27767,"unknown_186":206,"unknown_19":38144,"ignition":30,"odometer":null,"unknown_45":6247266766215841792}} 
[2026-07-08 00:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":126989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448621,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:55:38] local.INFO: GPS data processed {"connection_id":126989,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:55:38] local.INFO: Acknowledgment sent {"connection_id":126989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:55:56] local.INFO: TCP Data received {"connection_id":124893,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124893,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:55:56] local.INFO: Processing buffer {"connection_id":124893,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:55:56] local.INFO: IMEI packet received {"connection_id":124893,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":124893,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:55:57] local.INFO: TCP Data received {"connection_id":126990,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:55:57] local.INFO: Processing buffer {"connection_id":126990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:55:57] local.INFO: IMEI packet received {"connection_id":126990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":126990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:55:57] local.INFO: TCP Data received {"connection_id":124893,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124893,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:55:57] local.INFO: Processing buffer {"connection_id":124893,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:55:57] local.INFO: IMEI packet received {"connection_id":124893,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":124893,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:56:02] local.INFO: TCP Data received {"connection_id":126990,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:56:02] local.INFO: Processing buffer {"connection_id":126990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:56:02] local.INFO: IMEI packet received {"connection_id":126990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":126990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:56:03] local.INFO: TCP Data received {"connection_id":124893,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124893,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:56:03] local.INFO: Processing buffer {"connection_id":124893,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:56:03] local.INFO: IMEI packet received {"connection_id":124893,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":124893,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:56:03] local.INFO: TCP Data received {"connection_id":126990,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e067370012dc5eb400537d5a00034014434..."} 
[2026-07-08 00:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e067370012dc5eb400537d5a00034014434..."} 
[2026-07-08 00:56:03] local.INFO: Processing buffer {"connection_id":126990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e067370012dc5eb400537d5a00034014434..."} 
[2026-07-08 00:56:03] local.INFO: Packet analysis {"connection_id":126990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e06"} 
[2026-07-08 00:56:03] local.INFO: Extracted packet for processing {"connection_id":126990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e06"} 
[2026-07-08 00:56:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":52,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563644672001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783452038000,"timestamp_ms":1783452038000,"timestamp_seconds":1783452038,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e067370"} 
[2026-07-08 00:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 00:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:56: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-07-08 00:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563644672001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563644672001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:56:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:56:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563644672001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":126990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:56:03] local.INFO: GPS data processed {"connection_id":126990,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:56:03] local.INFO: Acknowledgment sent {"connection_id":126990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:56:04] local.INFO: TCP Data received {"connection_id":124893,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e0a8280012d55f0800642d3900007014e30..."} 
[2026-07-08 00:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e0a8280012d55f0800642d3900007014e30..."} 
[2026-07-08 00:56:04] local.INFO: Processing buffer {"connection_id":124893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e0a8280012d55f0800642d3900007014e30..."} 
[2026-07-08 00:56:04] local.INFO: Packet analysis {"connection_id":124893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e0a"} 
[2026-07-08 00:56:04] local.INFO: Extracted packet for processing {"connection_id":124893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e0a"} 
[2026-07-08 00:56:04] local.INFO: GPS Element Parsed {"raw_longitude":760606848,"raw_latitude":105042832,"longitude_deg":76.0606848,"latitude_deg":10.5042832,"altitude":7,"angle":334,"satellites":48,"speed":59,"hex_longitude":"2d55f080","hex_latitude":"0642d390","is_valid_coordinates":true} 
[2026-07-08 00:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563788288001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132535204626563072,"note":"Value kept but may cause issues"} 
[2026-07-08 00:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6196882745406523392,"note":"Value kept but may cause issues"} 
[2026-07-08 00:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783452304000,"timestamp_ms":1783452304000,"timestamp_seconds":1783452304,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e0a8280"} 
[2026-07-08 00:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:56: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-07-08 00: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 00:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":124893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":124893,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":124893,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563788288001,"66":27789,"187":206,"19":38144,"24":59,"16":132535204626563072,"45":6196882745406523392},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,19,24,16,45]} 
[2026-07-08 00:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563788288001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:56:04] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-08 00:56:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 00:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132535204626563072,"km_value":132535204626563.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6196882745406523392,"description":"Unknown IO ID 45"} 
[2026-07-08 00:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563788288001,"power":27789,"unknown_187":206,"unknown_19":38144,"ignition":59,"odometer":null,"unknown_45":6196882745406523392}} 
[2026-07-08 00:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":124893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448623,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:56:04] local.INFO: GPS data processed {"connection_id":124893,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:56:04] local.INFO: Acknowledgment sent {"connection_id":124893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:56:35] local.INFO: TCP Data received {"connection_id":126990,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e0b0b38012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e0b0b38012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:56:35] local.INFO: Processing buffer {"connection_id":126990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e0b0b38012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:56:35] local.INFO: Packet analysis {"connection_id":126990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e0b"} 
[2026-07-08 00:56:35] local.INFO: Extracted packet for processing {"connection_id":126990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e0b"} 
[2026-07-08 00:56:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":50,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563721728001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783452339000,"timestamp_ms":1783452339000,"timestamp_seconds":1783452339,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e0b0b38"} 
[2026-07-08 00:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 00:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:56: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-07-08 00:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563721728001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563721728001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:56:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:56:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563721728001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":126990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:56:35] local.INFO: GPS data processed {"connection_id":126990,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:56:35] local.INFO: Acknowledgment sent {"connection_id":126990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:56:36] local.INFO: TCP Data received {"connection_id":124893,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e0a9dd8012d55df400642f8080008014e2f..."} 
[2026-07-08 00:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e0a9dd8012d55df400642f8080008014e2f..."} 
[2026-07-08 00:56:36] local.INFO: Processing buffer {"connection_id":124893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e0a9dd8012d55df400642f8080008014e2f..."} 
[2026-07-08 00:56:36] local.INFO: Packet analysis {"connection_id":124893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e0a"} 
[2026-07-08 00:56:36] local.INFO: Extracted packet for processing {"connection_id":124893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e0a"} 
[2026-07-08 00:56:36] local.INFO: GPS Element Parsed {"raw_longitude":760602432,"raw_latitude":105052168,"longitude_deg":76.0602432,"latitude_deg":10.5052168,"altitude":8,"angle":334,"satellites":47,"speed":58,"hex_longitude":"2d55df40","hex_latitude":"0642f808","is_valid_coordinates":true} 
[2026-07-08 00:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563789824001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132535702842769408,"note":"Value kept but may cause issues"} 
[2026-07-08 00:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6192590252013752320,"note":"Value kept but may cause issues"} 
[2026-07-08 00:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783452311000,"timestamp_ms":1783452311000,"timestamp_seconds":1783452311,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e0a9dd8"} 
[2026-07-08 00:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-08 00:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124893,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124893,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563789824001,"66":27800,"187":206,"19":38144,"24":58,"16":132535702842769408,"45":6192590252013752320},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,19,24,16,45]} 
[2026-07-08 00:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563789824001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:56:36] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-08 00:56:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 00:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132535702842769408,"km_value":132535702842769.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6192590252013752320,"description":"Unknown IO ID 45"} 
[2026-07-08 00:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563789824001,"power":27800,"unknown_187":206,"unknown_19":38144,"ignition":58,"odometer":null,"unknown_45":6192590252013752320}} 
[2026-07-08 00:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":124893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448625,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:56:36] local.INFO: GPS data processed {"connection_id":124893,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:56:36] local.INFO: Acknowledgment sent {"connection_id":124893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:56:57] local.INFO: TCP Data received {"connection_id":125724,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125724,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:56:57] local.INFO: Processing buffer {"connection_id":125724,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:56:57] local.INFO: IMEI packet received {"connection_id":125724,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":125724,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:56:57] local.INFO: TCP Data received {"connection_id":124996,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:56:57] local.INFO: Processing buffer {"connection_id":124996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:56:57] local.INFO: IMEI packet received {"connection_id":124996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":124996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:57:02] local.INFO: TCP Data received {"connection_id":125724,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125724,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:57:02] local.INFO: Processing buffer {"connection_id":125724,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:57:02] local.INFO: IMEI packet received {"connection_id":125724,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":125724,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:57:02] local.INFO: TCP Data received {"connection_id":124996,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:57:02] local.INFO: Processing buffer {"connection_id":124996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:57:02] local.INFO: IMEI packet received {"connection_id":124996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":124996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:57:03] local.INFO: TCP Data received {"connection_id":124996,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e0b0b38012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e0b0b38012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:57:03] local.INFO: Processing buffer {"connection_id":124996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e0b0b38012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:57:03] local.INFO: Packet analysis {"connection_id":124996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e0b"} 
[2026-07-08 00:57:03] local.INFO: Extracted packet for processing {"connection_id":124996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e0b"} 
[2026-07-08 00:57:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":50,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563721728001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783452339000,"timestamp_ms":1783452339000,"timestamp_seconds":1783452339,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e0b0b38"} 
[2026-07-08 00:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 00:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563721728001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563721728001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:57:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:57:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563721728001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":124996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:57:03] local.INFO: GPS data processed {"connection_id":124996,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:57:03] local.INFO: Acknowledgment sent {"connection_id":124996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:57:04] local.INFO: TCP Data received {"connection_id":125724,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e0ab930012d55ce4006431b98000a014e2e..."} 
[2026-07-08 00:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e0ab930012d55ce4006431b98000a014e2e..."} 
[2026-07-08 00:57:04] local.INFO: Processing buffer {"connection_id":125724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e0ab930012d55ce4006431b98000a014e2e..."} 
[2026-07-08 00:57:04] local.INFO: Packet analysis {"connection_id":125724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e0a"} 
[2026-07-08 00:57:04] local.INFO: Extracted packet for processing {"connection_id":125724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e0a"} 
[2026-07-08 00:57:04] local.INFO: GPS Element Parsed {"raw_longitude":760598080,"raw_latitude":105061272,"longitude_deg":76.059808,"latitude_deg":10.5061272,"altitude":10,"angle":334,"satellites":46,"speed":56,"hex_longitude":"2d55ce40","hex_latitude":"06431b98","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563791616001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132536188174073856,"note":"Value kept but may cause issues"} 
[2026-07-08 00:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6187734808667883520,"note":"Value kept but may cause issues"} 
[2026-07-08 00:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783452318000,"timestamp_ms":1783452318000,"timestamp_seconds":1783452318,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e0ab930"} 
[2026-07-08 00:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:57: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-07-08 00: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 00:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125724,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125724,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563791616001,"66":27843,"187":206,"19":38144,"24":56,"16":132536188174073856,"45":6187734808667883520},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,19,24,16,45]} 
[2026-07-08 00:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563791616001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:57:04] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-08 00:57:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 00:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132536188174073856,"km_value":132536188174073.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6187734808667883520,"description":"Unknown IO ID 45"} 
[2026-07-08 00:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563791616001,"power":27843,"unknown_187":206,"unknown_19":38144,"ignition":56,"odometer":null,"unknown_45":6187734808667883520}} 
[2026-07-08 00:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":125724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448627,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:57:04] local.INFO: GPS data processed {"connection_id":125724,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:57:04] local.INFO: Acknowledgment sent {"connection_id":125724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:57:34] local.INFO: TCP Data received {"connection_id":124996,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e0b0b38012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e0b0b38012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:57:34] local.INFO: Processing buffer {"connection_id":124996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e0b0b38012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:57:34] local.INFO: Packet analysis {"connection_id":124996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e0b"} 
[2026-07-08 00:57:34] local.INFO: Extracted packet for processing {"connection_id":124996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e0b"} 
[2026-07-08 00:57:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":50,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563721728001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783452339000,"timestamp_ms":1783452339000,"timestamp_seconds":1783452339,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e0b0b38"} 
[2026-07-08 00:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 00:57: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-07-08 00: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-07-08 00:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563721728001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563721728001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:57:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:57:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563721728001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":124996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:57:34] local.INFO: GPS data processed {"connection_id":124996,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:57:34] local.INFO: Acknowledgment sent {"connection_id":124996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:57:39] local.INFO: TCP Data received {"connection_id":125724,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e0c0d08012d54e6000644ce00000f014730..."} 
[2026-07-08 00:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e0c0d08012d54e6000644ce00000f014730..."} 
[2026-07-08 00:57:39] local.INFO: Processing buffer {"connection_id":125724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e0c0d08012d54e6000644ce00000f014730..."} 
[2026-07-08 00:57:39] local.INFO: Packet analysis {"connection_id":125724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e0c"} 
[2026-07-08 00:57:39] local.INFO: Extracted packet for processing {"connection_id":125724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e0c"} 
[2026-07-08 00:57:39] local.INFO: GPS Element Parsed {"raw_longitude":760538624,"raw_latitude":105172480,"longitude_deg":76.0538624,"latitude_deg":10.517248,"altitude":15,"angle":327,"satellites":48,"speed":58,"hex_longitude":"2d54e600","hex_latitude":"0644ce00","is_valid_coordinates":true} 
[2026-07-08 00:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563813888001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132542287027634176,"note":"Value kept but may cause issues"} 
[2026-07-08 00:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6123347407773908992,"note":"Value kept but may cause issues"} 
[2026-07-08 00:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783452405000,"timestamp_ms":1783452405000,"timestamp_seconds":1783452405,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e0c0d08"} 
[2026-07-08 00:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-08 00:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125724,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125724,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563813888001,"66":27876,"176":206,"19":38144,"24":58,"16":132542287027634176,"45":6123347407773908992},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,19,24,16,45]} 
[2026-07-08 00:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563813888001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:57:39] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-08 00:57:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 00:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132542287027634176,"km_value":132542287027634.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":6123347407773908992,"description":"Unknown IO ID 45"} 
[2026-07-08 00:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563813888001,"power":27876,"unknown_176":206,"unknown_19":38144,"ignition":58,"odometer":null,"unknown_45":6123347407773908992}} 
[2026-07-08 00:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":125724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448629,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:57:39] local.INFO: GPS data processed {"connection_id":125724,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:57:39] local.INFO: Acknowledgment sent {"connection_id":125724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:57:57] local.INFO: TCP Data received {"connection_id":124894,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:57:57] local.INFO: Processing buffer {"connection_id":124894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:57:57] local.INFO: IMEI packet received {"connection_id":124894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":124894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:58:01] local.INFO: TCP Data received {"connection_id":126991,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126991,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:58:01] local.INFO: Processing buffer {"connection_id":126991,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:58:01] local.INFO: IMEI packet received {"connection_id":126991,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":126991,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:58:02] local.INFO: TCP Data received {"connection_id":124894,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:58:02] local.INFO: Processing buffer {"connection_id":124894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:58:02] local.INFO: IMEI packet received {"connection_id":124894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":124894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:58:03] local.INFO: TCP Data received {"connection_id":126991,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126991,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:58:03] local.INFO: Processing buffer {"connection_id":126991,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:58:03] local.INFO: IMEI packet received {"connection_id":126991,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":126991,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:58:03] local.INFO: TCP Data received {"connection_id":124894,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e0b0b38012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e0b0b38012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:58:03] local.INFO: Processing buffer {"connection_id":124894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e0b0b38012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:58:03] local.INFO: Packet analysis {"connection_id":124894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e0b"} 
[2026-07-08 00:58:03] local.INFO: Extracted packet for processing {"connection_id":124894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e0b"} 
[2026-07-08 00:58:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":50,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563721728001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783452339000,"timestamp_ms":1783452339000,"timestamp_seconds":1783452339,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e0b0b38"} 
[2026-07-08 00:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 00:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:58: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-07-08 00:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563721728001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563721728001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:58:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:58:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563721728001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":124894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:58:03] local.INFO: GPS data processed {"connection_id":124894,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:58:03] local.INFO: Acknowledgment sent {"connection_id":124894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:58:08] local.INFO: TCP Data received {"connection_id":126991,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126991,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:58:08] local.INFO: Processing buffer {"connection_id":126991,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:58:08] local.INFO: IMEI packet received {"connection_id":126991,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":126991,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:58:12] local.INFO: TCP Data received {"connection_id":126991,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e0c2478012d54d2c00644ebb0000f014731..."} 
[2026-07-08 00:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e0c2478012d54d2c00644ebb0000f014731..."} 
[2026-07-08 00:58:12] local.INFO: Processing buffer {"connection_id":126991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e0c2478012d54d2c00644ebb0000f014731..."} 
[2026-07-08 00:58:12] local.INFO: Packet analysis {"connection_id":126991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e0c"} 
[2026-07-08 00:58:12] local.INFO: Extracted packet for processing {"connection_id":126991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e0c"} 
[2026-07-08 00:58:12] local.INFO: GPS Element Parsed {"raw_longitude":760533696,"raw_latitude":105180080,"longitude_deg":76.0533696,"latitude_deg":10.518008,"altitude":15,"angle":327,"satellites":49,"speed":60,"hex_longitude":"2d54d2c0","hex_latitude":"0644ebb0","is_valid_coordinates":true} 
[2026-07-08 00:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563815680001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132542720819331072,"note":"Value kept but may cause issues"} 
[2026-07-08 00:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6117577170753552384,"note":"Value kept but may cause issues"} 
[2026-07-08 00:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783452411000,"timestamp_ms":1783452411000,"timestamp_seconds":1783452411,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e0c2478"} 
[2026-07-08 00:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:58: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-07-08 00:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 00:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":126991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":126991,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":126991,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563815680001,"66":27767,"176":206,"19":38144,"24":60,"16":132542720819331072,"45":6117577170753552384},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,19,24,16,45]} 
[2026-07-08 00:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563815680001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:58:12] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-08 00:58:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 00:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132542720819331072,"km_value":132542720819331.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6117577170753552384,"description":"Unknown IO ID 45"} 
[2026-07-08 00:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563815680001,"power":27767,"unknown_176":206,"unknown_19":38144,"ignition":60,"odometer":null,"unknown_45":6117577170753552384}} 
[2026-07-08 00:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":126991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448631,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:58:12] local.INFO: GPS data processed {"connection_id":126991,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:58:12] local.INFO: Acknowledgment sent {"connection_id":126991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:58:17] local.INFO: TCP Data received {"connection_id":126991,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e0c3be8012d54bf8006450990000e014731..."} 
[2026-07-08 00:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e0c3be8012d54bf8006450990000e014731..."} 
[2026-07-08 00:58:17] local.INFO: Processing buffer {"connection_id":126991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e0c3be8012d54bf8006450990000e014731..."} 
[2026-07-08 00:58:17] local.INFO: Packet analysis {"connection_id":126991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e0c"} 
[2026-07-08 00:58:17] local.INFO: Extracted packet for processing {"connection_id":126991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e0c"} 
[2026-07-08 00:58:17] local.INFO: GPS Element Parsed {"raw_longitude":760528768,"raw_latitude":105187728,"longitude_deg":76.0528768,"latitude_deg":10.5187728,"altitude":14,"angle":327,"satellites":49,"speed":59,"hex_longitude":"2d54bf80","hex_latitude":"06450990","is_valid_coordinates":true} 
[2026-07-08 00:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563817216001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132543158905995264,"note":"Value kept but may cause issues"} 
[2026-07-08 00:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6112158777453817856,"note":"Value kept but may cause issues"} 
[2026-07-08 00:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783452417000,"timestamp_ms":1783452417000,"timestamp_seconds":1783452417,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e0c3be8"} 
[2026-07-08 00:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 00:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:58:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":126991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":126991,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":126991,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563817216001,"66":27843,"177":206,"19":38144,"24":59,"16":132543158905995264,"45":6112158777453817856},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-07-08 00:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563817216001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:58:17] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-08 00:58:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 00:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132543158905995264,"km_value":132543158905995.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":6112158777453817856,"description":"Unknown IO ID 45"} 
[2026-07-08 00:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563817216001,"power":27843,"unknown_177":206,"unknown_19":38144,"ignition":59,"odometer":null,"unknown_45":6112158777453817856}} 
[2026-07-08 00:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":126991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448632,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:58:17] local.INFO: GPS data processed {"connection_id":126991,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:58:17] local.INFO: Acknowledgment sent {"connection_id":126991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:58:34] local.INFO: TCP Data received {"connection_id":124894,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e0b0b38012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e0b0b38012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:58:34] local.INFO: Processing buffer {"connection_id":124894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e0b0b38012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:58:34] local.INFO: Packet analysis {"connection_id":124894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e0b"} 
[2026-07-08 00:58:34] local.INFO: Extracted packet for processing {"connection_id":124894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e0b"} 
[2026-07-08 00:58:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":50,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563721728001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783452339000,"timestamp_ms":1783452339000,"timestamp_seconds":1783452339,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e0b0b38"} 
[2026-07-08 00:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 00:58: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-07-08 00: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-07-08 00:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:58: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-07-08 00:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563721728001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563721728001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:58:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:58:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563721728001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":124894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:58:34] local.INFO: GPS data processed {"connection_id":124894,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:58:34] local.INFO: Acknowledgment sent {"connection_id":124894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:58:57] local.INFO: TCP Data received {"connection_id":125725,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:58:57] local.INFO: Processing buffer {"connection_id":125725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:58:57] local.INFO: IMEI packet received {"connection_id":125725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":125725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:59:02] local.INFO: TCP Data received {"connection_id":125725,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:59:02] local.INFO: Processing buffer {"connection_id":125725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:59:02] local.INFO: IMEI packet received {"connection_id":125725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 00:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":125725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:59:03] local.INFO: TCP Data received {"connection_id":125725,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e0b0b38012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e0b0b38012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:59:03] local.INFO: Processing buffer {"connection_id":125725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e0b0b38012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:59:03] local.INFO: Packet analysis {"connection_id":125725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e0b"} 
[2026-07-08 00:59:03] local.INFO: Extracted packet for processing {"connection_id":125725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e0b"} 
[2026-07-08 00:59:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":50,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563721728001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783452339000,"timestamp_ms":1783452339000,"timestamp_seconds":1783452339,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e0b0b38"} 
[2026-07-08 00:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 00:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:59: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-07-08 00:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563721728001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563721728001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:59:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:59:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563721728001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":125725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:59:03] local.INFO: GPS data processed {"connection_id":125725,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:59:03] local.INFO: Acknowledgment sent {"connection_id":125725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:59:12] local.INFO: TCP Data received {"connection_id":126992,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126992,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:59:12] local.INFO: Processing buffer {"connection_id":126992,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:59:12] local.INFO: IMEI packet received {"connection_id":126992,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":126992,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:59:13] local.INFO: TCP Data received {"connection_id":126992,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126992,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:59:13] local.INFO: Processing buffer {"connection_id":126992,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:59:13] local.INFO: IMEI packet received {"connection_id":126992,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":126992,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 00:59:28] local.INFO: TCP Data received {"connection_id":126992,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e0d6c98012d53f740064677d00008014a30..."} 
[2026-07-08 00:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e0d6c98012d53f740064677d00008014a30..."} 
[2026-07-08 00:59:28] local.INFO: Processing buffer {"connection_id":126992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e0d6c98012d53f740064677d00008014a30..."} 
[2026-07-08 00:59:28] local.INFO: Packet analysis {"connection_id":126992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e0d"} 
[2026-07-08 00:59:28] local.INFO: Extracted packet for processing {"connection_id":126992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e0d"} 
[2026-07-08 00:59:28] local.INFO: GPS Element Parsed {"raw_longitude":760477504,"raw_latitude":105281488,"longitude_deg":76.0477504,"latitude_deg":10.5281488,"altitude":8,"angle":330,"satellites":48,"speed":34,"hex_longitude":"2d53f740","hex_latitude":"064677d0","is_valid_coordinates":true} 
[2026-07-08 00:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563835648001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132548321456685056,"note":"Value kept but may cause issues"} 
[2026-07-08 00:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6055582307158753280,"note":"Value kept but may cause issues"} 
[2026-07-08 00:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783452495000,"timestamp_ms":1783452495000,"timestamp_seconds":1783452495,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e0d6c98"} 
[2026-07-08 00:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 00:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 00:59:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00:59:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":126992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":126992,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":126992,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563835648001,"66":27908,"177":206,"19":38144,"24":34,"16":132548321456685056,"45":6055582307158753280},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-07-08 00:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563835648001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:59:28] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-08 00:59:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 00:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132548321456685056,"km_value":132548321456685.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6055582307158753280,"description":"Unknown IO ID 45"} 
[2026-07-08 00:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563835648001,"power":27908,"unknown_177":206,"unknown_19":38144,"ignition":34,"odometer":null,"unknown_45":6055582307158753280}} 
[2026-07-08 00:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":126992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448635,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:59:28] local.INFO: GPS data processed {"connection_id":126992,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:59:28] local.INFO: Acknowledgment sent {"connection_id":126992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:59:33] local.INFO: TCP Data received {"connection_id":126992,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e0d93a8012d53e7c0064698a00009015332..."} 
[2026-07-08 00:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e0d93a8012d53e7c0064698a00009015332..."} 
[2026-07-08 00:59:33] local.INFO: Processing buffer {"connection_id":126992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e0d93a8012d53e7c0064698a00009015332..."} 
[2026-07-08 00:59:33] local.INFO: Packet analysis {"connection_id":126992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e0d"} 
[2026-07-08 00:59:33] local.INFO: Extracted packet for processing {"connection_id":126992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e0d"} 
[2026-07-08 00:59:33] local.INFO: GPS Element Parsed {"raw_longitude":760473536,"raw_latitude":105289888,"longitude_deg":76.0473536,"latitude_deg":10.5289888,"altitude":9,"angle":339,"satellites":50,"speed":40,"hex_longitude":"2d53e7c0","hex_latitude":"064698a0","is_valid_coordinates":true} 
[2026-07-08 00: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-07-08 00:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563838720001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132548772428251136,"note":"Value kept but may cause issues"} 
[2026-07-08 00:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6050375020091789312,"note":"Value kept but may cause issues"} 
[2026-07-08 00:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783452505000,"timestamp_ms":1783452505000,"timestamp_seconds":1783452505,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e0d93a8"} 
[2026-07-08 00:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00: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-07-08 00: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 00:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 00: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-07-08 00:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126992,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126992,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 00:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 00:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 00:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 00:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563838720001,"66":27821,"177":206,"19":38144,"24":40,"16":132548772428251136,"45":6050375020091789312},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-07-08 00:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 00:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 00:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563838720001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:59:33] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-08 00:59:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 00:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132548772428251136,"km_value":132548772428251.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6050375020091789312,"description":"Unknown IO ID 45"} 
[2026-07-08 00:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563838720001,"power":27821,"unknown_177":206,"unknown_19":38144,"ignition":40,"odometer":null,"unknown_45":6050375020091789312}} 
[2026-07-08 00:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":126992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448636,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:59:33] local.INFO: GPS data processed {"connection_id":126992,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:59:33] local.INFO: Acknowledgment sent {"connection_id":126992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:59:34] local.INFO: TCP Data received {"connection_id":125725,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e0b0b38012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e0b0b38012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:59:34] local.INFO: Processing buffer {"connection_id":125725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e0b0b38012dc5eb400537d5a00034014432..."} 
[2026-07-08 00:59:34] local.INFO: Packet analysis {"connection_id":125725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e0b"} 
[2026-07-08 00:59:34] local.INFO: Extracted packet for processing {"connection_id":125725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e0b"} 
[2026-07-08 00:59:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":50,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 00:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 00:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563721728001,"note":"Value kept but may cause issues"} 
[2026-07-08 00:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 00:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 00:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 00:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783452339000,"timestamp_ms":1783452339000,"timestamp_seconds":1783452339,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e0b0b38"} 
[2026-07-08 00:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 00:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 00:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 00:59: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-07-08 00:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 00:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 00:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 00:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 00:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 00:59: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-07-08 00:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 00:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 00:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563721728001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 00:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 00:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 00:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563721728001,"description":"Unknown IO ID 0"} 
[2026-07-08 00:59:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 00:59:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 00:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 00:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 00:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563721728001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 00:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":125725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 00:59:34] local.INFO: GPS data processed {"connection_id":125725,"processed":1,"errors":0,"total":1} 
[2026-07-08 00:59:34] local.INFO: Acknowledgment sent {"connection_id":125725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 00:59:56] local.INFO: TCP Data received {"connection_id":124895,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124895,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:59:56] local.INFO: Processing buffer {"connection_id":124895,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:59:56] local.INFO: IMEI packet received {"connection_id":124895,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 00:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":124895,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:59:57] local.INFO: TCP Data received {"connection_id":124997,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:59:57] local.INFO: Processing buffer {"connection_id":124997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 00:59:57] local.INFO: IMEI packet received {"connection_id":124997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 00:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":124997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 00:59:58] local.INFO: TCP Data received {"connection_id":124895,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124895,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:59:58] local.INFO: Processing buffer {"connection_id":124895,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 00:59:58] local.INFO: IMEI packet received {"connection_id":124895,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 00:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":124895,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:00:02] local.INFO: TCP Data received {"connection_id":124997,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:00:02] local.INFO: Processing buffer {"connection_id":124997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:00:02] local.INFO: IMEI packet received {"connection_id":124997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":124997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:00:03] local.INFO: TCP Data received {"connection_id":124895,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124895,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:00:03] local.INFO: Processing buffer {"connection_id":124895,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:00:03] local.INFO: IMEI packet received {"connection_id":124895,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":124895,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:00:05] local.INFO: TCP Data received {"connection_id":124895,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e0daf00012d53e1000646b3f0000a016030..."} 
[2026-07-08 01:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e0daf00012d53e1000646b3f0000a016030..."} 
[2026-07-08 01:00:05] local.INFO: Processing buffer {"connection_id":124895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e0daf00012d53e1000646b3f0000a016030..."} 
[2026-07-08 01:00:05] local.INFO: Packet analysis {"connection_id":124895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e0d"} 
[2026-07-08 01:00:05] local.INFO: Extracted packet for processing {"connection_id":124895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e0d"} 
[2026-07-08 01:00:05] local.INFO: GPS Element Parsed {"raw_longitude":760471808,"raw_latitude":105296880,"longitude_deg":76.0471808,"latitude_deg":10.529688,"altitude":10,"angle":352,"satellites":48,"speed":41,"hex_longitude":"2d53e100","hex_latitude":"0646b3f0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563841280001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132549120320602112,"note":"Value kept but may cause issues"} 
[2026-07-08 01:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6046012157954924544,"note":"Value kept but may cause issues"} 
[2026-07-08 01:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783452512000,"timestamp_ms":1783452512000,"timestamp_seconds":1783452512,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e0daf00"} 
[2026-07-08 01:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 01:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124895,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124895,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563841280001,"66":27876,"177":206,"19":38144,"24":41,"16":132549120320602112,"45":6046012157954924544},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-07-08 01:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563841280001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:00:05] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-08 01:00:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 01:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132549120320602112,"km_value":132549120320602.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6046012157954924544,"description":"Unknown IO ID 45"} 
[2026-07-08 01:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563841280001,"power":27876,"unknown_177":206,"unknown_19":38144,"ignition":41,"odometer":null,"unknown_45":6046012157954924544}} 
[2026-07-08 01:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":124895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448638,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:00:05] local.INFO: GPS data processed {"connection_id":124895,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:00:05] local.INFO: Acknowledgment sent {"connection_id":124895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:00:41] local.INFO: TCP Data received {"connection_id":124895,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e0dd228012d53dc400646daa0000b016630..."} 
[2026-07-08 01:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e0dd228012d53dc400646daa0000b016630..."} 
[2026-07-08 01:00:41] local.INFO: Processing buffer {"connection_id":124895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e0dd228012d53dc400646daa0000b016630..."} 
[2026-07-08 01:00:41] local.INFO: Packet analysis {"connection_id":124895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e0d"} 
[2026-07-08 01:00:41] local.INFO: Extracted packet for processing {"connection_id":124895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e0d"} 
[2026-07-08 01:00:41] local.INFO: GPS Element Parsed {"raw_longitude":760470592,"raw_latitude":105306784,"longitude_deg":76.0470592,"latitude_deg":10.5306784,"altitude":11,"angle":358,"satellites":48,"speed":46,"hex_longitude":"2d53dc40","hex_latitude":"0646daa0","is_valid_coordinates":true} 
[2026-07-08 01:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563843072001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132549605651906560,"note":"Value kept but may cause issues"} 
[2026-07-08 01:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6044112201863917568,"note":"Value kept but may cause issues"} 
[2026-07-08 01:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783452521000,"timestamp_ms":1783452521000,"timestamp_seconds":1783452521,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e0dd228"} 
[2026-07-08 01:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 01:00:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124895,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124895,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563843072001,"66":27832,"69":206,"19":38144,"24":46,"16":132549605651906560,"45":6044112201863917568},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,19,24,16,45]} 
[2026-07-08 01:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563843072001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:00:41] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-08 01:00:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 01:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132549605651906560,"km_value":132549605651906.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6044112201863917568,"description":"Unknown IO ID 45"} 
[2026-07-08 01:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563843072001,"power":27832,"unknown_69":206,"unknown_19":38144,"ignition":46,"odometer":null,"unknown_45":6044112201863917568}} 
[2026-07-08 01:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":124895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448639,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:00:41] local.INFO: GPS data processed {"connection_id":124895,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:00:41] local.INFO: Acknowledgment sent {"connection_id":124895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:00:57] local.INFO: TCP Data received {"connection_id":125727,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:00:57] local.INFO: Processing buffer {"connection_id":125727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:00:57] local.INFO: IMEI packet received {"connection_id":125727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":125727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:00:57] local.INFO: TCP Data received {"connection_id":125726,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125726,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:00:57] local.INFO: Processing buffer {"connection_id":125726,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:00:57] local.INFO: IMEI packet received {"connection_id":125726,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":125726,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:01:02] local.INFO: TCP Data received {"connection_id":125727,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:01:02] local.INFO: Processing buffer {"connection_id":125727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:01:02] local.INFO: IMEI packet received {"connection_id":125727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":125727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:01:03] local.INFO: TCP Data received {"connection_id":125727,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e0b0b38012dc5eb400537d5a00034014432..."} 
[2026-07-08 01:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e0b0b38012dc5eb400537d5a00034014432..."} 
[2026-07-08 01:01:03] local.INFO: Processing buffer {"connection_id":125727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e0b0b38012dc5eb400537d5a00034014432..."} 
[2026-07-08 01:01:03] local.INFO: Packet analysis {"connection_id":125727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e0b"} 
[2026-07-08 01:01:03] local.INFO: Extracted packet for processing {"connection_id":125727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e0b"} 
[2026-07-08 01:01:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":50,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563721728001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783452339000,"timestamp_ms":1783452339000,"timestamp_seconds":1783452339,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e0b0b38"} 
[2026-07-08 01:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:01: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-07-08 01:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563721728001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563721728001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:01:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:01:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563721728001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":125727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:01:03] local.INFO: GPS data processed {"connection_id":125727,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:01:03] local.INFO: Acknowledgment sent {"connection_id":125727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:01:03] local.INFO: TCP Data received {"connection_id":125726,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125726,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:01:03] local.INFO: Processing buffer {"connection_id":125726,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:01:03] local.INFO: IMEI packet received {"connection_id":125726,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":125726,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:01:05] local.INFO: TCP Data received {"connection_id":125726,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e0df550012d53dc400646ff28000c01642f..."} 
[2026-07-08 01:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e0df550012d53dc400646ff28000c01642f..."} 
[2026-07-08 01:01:05] local.INFO: Processing buffer {"connection_id":125726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e0df550012d53dc400646ff28000c01642f..."} 
[2026-07-08 01:01:05] local.INFO: Packet analysis {"connection_id":125726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e0d"} 
[2026-07-08 01:01:05] local.INFO: Extracted packet for processing {"connection_id":125726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e0d"} 
[2026-07-08 01:01:05] local.INFO: GPS Element Parsed {"raw_longitude":760470592,"raw_latitude":105316136,"longitude_deg":76.0470592,"latitude_deg":10.5316136,"altitude":12,"angle":356,"satellites":47,"speed":35,"hex_longitude":"2d53dc40","hex_latitude":"0646ff28","is_valid_coordinates":true} 
[2026-07-08 01:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563845376001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132550060918439936,"note":"Value kept but may cause issues"} 
[2026-07-08 01:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042775195727077376,"note":"Value kept but may cause issues"} 
[2026-07-08 01:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783452530000,"timestamp_ms":1783452530000,"timestamp_seconds":1783452530,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e0df550"} 
[2026-07-08 01:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-08 01:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563845376001,"66":27952,"69":206,"19":38144,"24":35,"16":132550060918439936,"45":6042775195727077376},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,19,24,16,45]} 
[2026-07-08 01:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563845376001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:01:05] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-08 01:01:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 01:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132550060918439936,"km_value":132550060918439.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042775195727077376,"description":"Unknown IO ID 45"} 
[2026-07-08 01:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563845376001,"power":27952,"unknown_69":206,"unknown_19":38144,"ignition":35,"odometer":null,"unknown_45":6042775195727077376}} 
[2026-07-08 01:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":125726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448641,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:01:06] local.INFO: GPS data processed {"connection_id":125726,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:01:06] local.INFO: Acknowledgment sent {"connection_id":125726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:01:34] local.INFO: TCP Data received {"connection_id":125727,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e0fa300012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e0fa300012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:01:34] local.INFO: Processing buffer {"connection_id":125727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e0fa300012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:01:34] local.INFO: Packet analysis {"connection_id":125727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e0f"} 
[2026-07-08 01:01:34] local.INFO: Extracted packet for processing {"connection_id":125727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e0f"} 
[2026-07-08 01:01:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563798784001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783452640000,"timestamp_ms":1783452640000,"timestamp_seconds":1783452640,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e0fa300"} 
[2026-07-08 01:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 01:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:01: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-07-08 01:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563798784001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563798784001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:01:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:01:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563798784001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":125727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:01:34] local.INFO: GPS data processed {"connection_id":125727,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:01:34] local.INFO: Acknowledgment sent {"connection_id":125727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:01:37] local.INFO: TCP Data received {"connection_id":125726,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e0fb688012d537b000648f3e8000a014d2d..."} 
[2026-07-08 01:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e0fb688012d537b000648f3e8000a014d2d..."} 
[2026-07-08 01:01:37] local.INFO: Processing buffer {"connection_id":125726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e0fb688012d537b000648f3e8000a014d2d..."} 
[2026-07-08 01:01:37] local.INFO: Packet analysis {"connection_id":125726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e0f"} 
[2026-07-08 01:01:37] local.INFO: Extracted packet for processing {"connection_id":125726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e0f"} 
[2026-07-08 01:01:37] local.INFO: GPS Element Parsed {"raw_longitude":760445696,"raw_latitude":105444328,"longitude_deg":76.0445696,"latitude_deg":10.5444328,"altitude":10,"angle":333,"satellites":45,"speed":61,"hex_longitude":"2d537b00","hex_latitude":"0648f3e8","is_valid_coordinates":true} 
[2026-07-08 01:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563875584001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132556520549253120,"note":"Value kept but may cause issues"} 
[2026-07-08 01:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6019764616414107648,"note":"Value kept but may cause issues"} 
[2026-07-08 01:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783452645000,"timestamp_ms":1783452645000,"timestamp_seconds":1783452645,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e0fb688"} 
[2026-07-08 01:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 01:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563875584001,"66":27767,"87":206,"19":38144,"24":61,"16":132556520549253120,"45":6019764616414107648},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,19,24,16,45]} 
[2026-07-08 01:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563875584001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:01:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-08 01:01:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 01:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132556520549253120,"km_value":132556520549253.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6019764616414107648,"description":"Unknown IO ID 45"} 
[2026-07-08 01:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563875584001,"power":27767,"unknown_87":206,"unknown_19":38144,"ignition":61,"odometer":null,"unknown_45":6019764616414107648}} 
[2026-07-08 01:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":125726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448643,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:01:37] local.INFO: GPS data processed {"connection_id":125726,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:01:37] local.INFO: Acknowledgment sent {"connection_id":125726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:01:57] local.INFO: TCP Data received {"connection_id":124998,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:01:57] local.INFO: Processing buffer {"connection_id":124998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:01:57] local.INFO: IMEI packet received {"connection_id":124998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":124998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:02:03] local.INFO: TCP Data received {"connection_id":124998,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:02:03] local.INFO: Processing buffer {"connection_id":124998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:02:03] local.INFO: IMEI packet received {"connection_id":124998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":124998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:02:03] local.INFO: TCP Data received {"connection_id":124896,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124896,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:02:03] local.INFO: Processing buffer {"connection_id":124896,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:02:03] local.INFO: IMEI packet received {"connection_id":124896,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":124896,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:02:03] local.INFO: TCP Data received {"connection_id":124998,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e0fa300012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e0fa300012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:02:03] local.INFO: Processing buffer {"connection_id":124998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e0fa300012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:02:03] local.INFO: Packet analysis {"connection_id":124998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e0f"} 
[2026-07-08 01:02:03] local.INFO: Extracted packet for processing {"connection_id":124998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e0f"} 
[2026-07-08 01:02:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563798784001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783452640000,"timestamp_ms":1783452640000,"timestamp_seconds":1783452640,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e0fa300"} 
[2026-07-08 01:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 01:02: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-07-08 01: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-07-08 01:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:02: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-07-08 01:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563798784001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563798784001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:02:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:02:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563798784001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":124998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:02:04] local.INFO: GPS data processed {"connection_id":124998,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:02:04] local.INFO: Acknowledgment sent {"connection_id":124998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:02:07] local.INFO: TCP Data received {"connection_id":124896,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124896,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:02:07] local.INFO: Processing buffer {"connection_id":124896,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:02:07] local.INFO: IMEI packet received {"connection_id":124896,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":124896,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:02:07] local.INFO: TCP Data received {"connection_id":124896,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124896,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:02:07] local.INFO: Processing buffer {"connection_id":124896,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:02:07] local.INFO: IMEI packet received {"connection_id":124896,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":124896,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:02:08] local.INFO: TCP Data received {"connection_id":124896,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e0fcdf8012d5369c0064913e80008014a30..."} 
[2026-07-08 01:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e0fcdf8012d5369c0064913e80008014a30..."} 
[2026-07-08 01:02:08] local.INFO: Processing buffer {"connection_id":124896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e0fcdf8012d5369c0064913e80008014a30..."} 
[2026-07-08 01:02:08] local.INFO: Packet analysis {"connection_id":124896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e0f"} 
[2026-07-08 01:02:08] local.INFO: Extracted packet for processing {"connection_id":124896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e0f"} 
[2026-07-08 01:02:08] local.INFO: GPS Element Parsed {"raw_longitude":760441280,"raw_latitude":105452520,"longitude_deg":76.044128,"latitude_deg":10.545252,"altitude":8,"angle":330,"satellites":48,"speed":61,"hex_longitude":"2d5369c0","hex_latitude":"064913e8","is_valid_coordinates":true} 
[2026-07-08 01:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563877120001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132556967225851904,"note":"Value kept but may cause issues"} 
[2026-07-08 01:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6015401754277177344,"note":"Value kept but may cause issues"} 
[2026-07-08 01:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783452651000,"timestamp_ms":1783452651000,"timestamp_seconds":1783452651,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e0fcdf8"} 
[2026-07-08 01:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 01:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124896,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124896,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563877120001,"66":27865,"87":206,"19":38144,"24":61,"16":132556967225851904,"45":6015401754277177344},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,19,24,16,45]} 
[2026-07-08 01:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563877120001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:02:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-08 01:02:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 01:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132556967225851904,"km_value":132556967225851.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6015401754277177344,"description":"Unknown IO ID 45"} 
[2026-07-08 01:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563877120001,"power":27865,"unknown_87":206,"unknown_19":38144,"ignition":61,"odometer":null,"unknown_45":6015401754277177344}} 
[2026-07-08 01:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":124896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448645,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:02:08] local.INFO: GPS data processed {"connection_id":124896,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:02:08] local.INFO: Acknowledgment sent {"connection_id":124896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:02:19] local.INFO: TCP Data received {"connection_id":124896,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e0fe568012d535780064932f0000601492e..."} 
[2026-07-08 01:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e0fe568012d535780064932f0000601492e..."} 
[2026-07-08 01:02:19] local.INFO: Processing buffer {"connection_id":124896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e0fe568012d535780064932f0000601492e..."} 
[2026-07-08 01:02:19] local.INFO: Packet analysis {"connection_id":124896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e0f"} 
[2026-07-08 01:02:19] local.INFO: Extracted packet for processing {"connection_id":124896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e0f"} 
[2026-07-08 01:02:19] local.INFO: GPS Element Parsed {"raw_longitude":760436608,"raw_latitude":105460464,"longitude_deg":76.0436608,"latitude_deg":10.5460464,"altitude":6,"angle":329,"satellites":46,"speed":60,"hex_longitude":"2d535780","hex_latitude":"064932f0","is_valid_coordinates":true} 
[2026-07-08 01:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563878656001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132557413902450688,"note":"Value kept but may cause issues"} 
[2026-07-08 01:02:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6010546310931015680,"note":"Value kept but may cause issues"} 
[2026-07-08 01:02:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783452657000,"timestamp_ms":1783452657000,"timestamp_seconds":1783452657,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e0fe568"} 
[2026-07-08 01:02:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:02:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 01:02:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:02:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:02:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":124896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":124896,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":124896,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:02:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563878656001,"66":27974,"87":206,"19":38144,"24":60,"16":132557413902450688,"45":6010546310931015680},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,19,24,16,45]} 
[2026-07-08 01:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563878656001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:02:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-08 01:02:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 01:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132557413902450688,"km_value":132557413902450.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:02:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6010546310931015680,"description":"Unknown IO ID 45"} 
[2026-07-08 01:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563878656001,"power":27974,"unknown_87":206,"unknown_19":38144,"ignition":60,"odometer":null,"unknown_45":6010546310931015680}} 
[2026-07-08 01:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":124896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448646,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:02:19] local.INFO: GPS data processed {"connection_id":124896,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:02:19] local.INFO: Acknowledgment sent {"connection_id":124896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:02:34] local.INFO: TCP Data received {"connection_id":124998,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e0fa300012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e0fa300012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:02:34] local.INFO: Processing buffer {"connection_id":124998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e0fa300012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:02:34] local.INFO: Packet analysis {"connection_id":124998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e0f"} 
[2026-07-08 01:02:34] local.INFO: Extracted packet for processing {"connection_id":124998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e0f"} 
[2026-07-08 01:02:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563798784001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783452640000,"timestamp_ms":1783452640000,"timestamp_seconds":1783452640,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e0fa300"} 
[2026-07-08 01:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 01:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:02: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-07-08 01:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563798784001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563798784001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:02:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:02:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563798784001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":124998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:02:34] local.INFO: GPS data processed {"connection_id":124998,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:02:34] local.INFO: Acknowledgment sent {"connection_id":124998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:02:54] local.INFO: TCP Data received {"connection_id":124997,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e0b0b38012dc5eb400537d5a00034014432..."} 
[2026-07-08 01:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e0b0b38012dc5eb400537d5a00034014432..."} 
[2026-07-08 01:02:54] local.INFO: Processing buffer {"connection_id":124997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e0b0b38012dc5eb400537d5a00034014432..."} 
[2026-07-08 01:02:54] local.INFO: Packet analysis {"connection_id":124997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e0b"} 
[2026-07-08 01:02:54] local.INFO: Extracted packet for processing {"connection_id":124997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e0b"} 
[2026-07-08 01:02:54] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":50,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563721728001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:02:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783452339000,"timestamp_ms":1783452339000,"timestamp_seconds":1783452339,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e0b0b38"} 
[2026-07-08 01:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:02:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:02: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-07-08 01: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-07-08 01:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":124997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":124997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":124997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:02: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-07-08 01:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563721728001,"66":25495,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563721728001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:02:54] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:02:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563721728001,"power":25495,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":124997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:02:54] local.INFO: GPS data processed {"connection_id":124997,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:02:54] local.INFO: Acknowledgment sent {"connection_id":124997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:02:57] local.INFO: TCP Data received {"connection_id":124897,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:02:57] local.INFO: Processing buffer {"connection_id":124897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:02:57] local.INFO: IMEI packet received {"connection_id":124897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":124897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:03:00] local.INFO: TCP Data received {"connection_id":126993,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126993,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:03:00] local.INFO: Processing buffer {"connection_id":126993,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:03:00] local.INFO: IMEI packet received {"connection_id":126993,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":126993,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:03:02] local.INFO: TCP Data received {"connection_id":124897,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:03:02] local.INFO: Processing buffer {"connection_id":124897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:03:02] local.INFO: IMEI packet received {"connection_id":124897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":124897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:03:03] local.INFO: TCP Data received {"connection_id":124897,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e0fa300012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e0fa300012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:03:03] local.INFO: Processing buffer {"connection_id":124897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e0fa300012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:03:03] local.INFO: Packet analysis {"connection_id":124897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e0f"} 
[2026-07-08 01:03:03] local.INFO: Extracted packet for processing {"connection_id":124897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e0f"} 
[2026-07-08 01:03:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563798784001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783452640000,"timestamp_ms":1783452640000,"timestamp_seconds":1783452640,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e0fa300"} 
[2026-07-08 01:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 01:03: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-07-08 01: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-07-08 01:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:03: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-07-08 01:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563798784001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563798784001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:03:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:03:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563798784001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":124897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:03:03] local.INFO: GPS data processed {"connection_id":124897,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:03:03] local.INFO: Acknowledgment sent {"connection_id":124897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:03:03] local.INFO: TCP Data received {"connection_id":126993,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126993,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:03:03] local.INFO: Processing buffer {"connection_id":126993,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:03:03] local.INFO: IMEI packet received {"connection_id":126993,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":126993,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:03:09] local.INFO: TCP Data received {"connection_id":126993,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126993,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:03:09] local.INFO: Processing buffer {"connection_id":126993,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:03:09] local.INFO: IMEI packet received {"connection_id":126993,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":126993,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:03:11] local.INFO: TCP Data received {"connection_id":126993,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e10fac0012d525ec0064a78680009014c2f..."} 
[2026-07-08 01:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e10fac0012d525ec0064a78680009014c2f..."} 
[2026-07-08 01:03:11] local.INFO: Processing buffer {"connection_id":126993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e10fac0012d525ec0064a78680009014c2f..."} 
[2026-07-08 01:03:11] local.INFO: Packet analysis {"connection_id":126993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e10"} 
[2026-07-08 01:03:11] local.INFO: Extracted packet for processing {"connection_id":126993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e10"} 
[2026-07-08 01:03:11] local.INFO: GPS Element Parsed {"raw_longitude":760372928,"raw_latitude":105543784,"longitude_deg":76.0372928,"latitude_deg":10.5543784,"altitude":9,"angle":332,"satellites":47,"speed":57,"hex_longitude":"2d525ec0","hex_latitude":"064a7868","is_valid_coordinates":true} 
[2026-07-08 01:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563896576001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132562494848761856,"note":"Value kept but may cause issues"} 
[2026-07-08 01:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5940740516727812096,"note":"Value kept but may cause issues"} 
[2026-07-08 01:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783452728000,"timestamp_ms":1783452728000,"timestamp_seconds":1783452728,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e10fac0"} 
[2026-07-08 01:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 01:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126993,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126993,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563896576001,"66":27789,"87":206,"19":38144,"24":57,"16":132562494848761856,"45":5940740516727812096},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,19,24,16,45]} 
[2026-07-08 01:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563896576001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:03:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-08 01:03:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 01:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132562494848761856,"km_value":132562494848761.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5940740516727812096,"description":"Unknown IO ID 45"} 
[2026-07-08 01:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563896576001,"power":27789,"unknown_87":206,"unknown_19":38144,"ignition":57,"odometer":null,"unknown_45":5940740516727812096}} 
[2026-07-08 01:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":126993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448650,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:03:11] local.INFO: GPS data processed {"connection_id":126993,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:03:11] local.INFO: Acknowledgment sent {"connection_id":126993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:03:14] local.INFO: TCP Data received {"connection_id":126993,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e111618012d524cc0064a9b70000b014d30..."} 
[2026-07-08 01:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e111618012d524cc0064a9b70000b014d30..."} 
[2026-07-08 01:03:14] local.INFO: Processing buffer {"connection_id":126993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e111618012d524cc0064a9b70000b014d30..."} 
[2026-07-08 01:03:14] local.INFO: Packet analysis {"connection_id":126993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e11"} 
[2026-07-08 01:03:14] local.INFO: Extracted packet for processing {"connection_id":126993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e11"} 
[2026-07-08 01:03:14] local.INFO: GPS Element Parsed {"raw_longitude":760368320,"raw_latitude":105552752,"longitude_deg":76.036832,"latitude_deg":10.5552752,"altitude":11,"angle":333,"satellites":48,"speed":56,"hex_longitude":"2d524cc0","hex_latitude":"064a9b70","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563898368001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132562980180066304,"note":"Value kept but may cause issues"} 
[2026-07-08 01:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5935392492172634112,"note":"Value kept but may cause issues"} 
[2026-07-08 01:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783452735000,"timestamp_ms":1783452735000,"timestamp_seconds":1783452735,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e111618"} 
[2026-07-08 01:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:03:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-08 01:03:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":126993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":126993,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":126993,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563898368001,"66":27865,"89":206,"19":38144,"24":56,"16":132562980180066304,"45":5935392492172634112},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,19,24,16,45]} 
[2026-07-08 01:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563898368001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:03:14] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-08 01:03:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 01:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132562980180066304,"km_value":132562980180066.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5935392492172634112,"description":"Unknown IO ID 45"} 
[2026-07-08 01:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563898368001,"power":27865,"unknown_89":206,"unknown_19":38144,"ignition":56,"odometer":null,"unknown_45":5935392492172634112}} 
[2026-07-08 01:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":126993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448651,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:03:14] local.INFO: GPS data processed {"connection_id":126993,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:03:14] local.INFO: Acknowledgment sent {"connection_id":126993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:03:34] local.INFO: TCP Data received {"connection_id":124897,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e0fa300012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e0fa300012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:03:34] local.INFO: Processing buffer {"connection_id":124897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e0fa300012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:03:34] local.INFO: Packet analysis {"connection_id":124897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e0f"} 
[2026-07-08 01:03:34] local.INFO: Extracted packet for processing {"connection_id":124897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e0f"} 
[2026-07-08 01:03:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563798784001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783452640000,"timestamp_ms":1783452640000,"timestamp_seconds":1783452640,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e0fa300"} 
[2026-07-08 01:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 01:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:03: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-07-08 01:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563798784001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563798784001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:03:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:03:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563798784001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":124897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:03:34] local.INFO: GPS data processed {"connection_id":124897,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:03:34] local.INFO: Acknowledgment sent {"connection_id":124897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:03:57] local.INFO: TCP Data received {"connection_id":125000,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:03:57] local.INFO: Processing buffer {"connection_id":125000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:03:57] local.INFO: IMEI packet received {"connection_id":125000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":125000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:04:02] local.INFO: TCP Data received {"connection_id":125000,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:04:02] local.INFO: Processing buffer {"connection_id":125000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:04:02] local.INFO: IMEI packet received {"connection_id":125000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":125000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:04:03] local.INFO: TCP Data received {"connection_id":125000,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e0fa300012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e0fa300012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:04:03] local.INFO: Processing buffer {"connection_id":125000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e0fa300012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:04:03] local.INFO: Packet analysis {"connection_id":125000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e0f"} 
[2026-07-08 01:04:03] local.INFO: Extracted packet for processing {"connection_id":125000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e0f"} 
[2026-07-08 01:04:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563798784001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783452640000,"timestamp_ms":1783452640000,"timestamp_seconds":1783452640,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e0fa300"} 
[2026-07-08 01:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 01:04: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-07-08 01:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:04: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-07-08 01:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563798784001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563798784001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:04:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:04:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563798784001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":125000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:04:03] local.INFO: GPS data processed {"connection_id":125000,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:04:03] local.INFO: Acknowledgment sent {"connection_id":125000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:04:31] local.INFO: TCP Data received {"connection_id":124999,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124999,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:04:31] local.INFO: Processing buffer {"connection_id":124999,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:04:31] local.INFO: IMEI packet received {"connection_id":124999,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":124999,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:04:34] local.INFO: TCP Data received {"connection_id":125000,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e0fa300012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e0fa300012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:04:34] local.INFO: Processing buffer {"connection_id":125000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e0fa300012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:04:34] local.INFO: Packet analysis {"connection_id":125000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e0f"} 
[2026-07-08 01:04:34] local.INFO: Extracted packet for processing {"connection_id":125000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e0f"} 
[2026-07-08 01:04:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563798784001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783452640000,"timestamp_ms":1783452640000,"timestamp_seconds":1783452640,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e0fa300"} 
[2026-07-08 01:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 01:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:04: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-07-08 01:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563798784001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563798784001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:04:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:04:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563798784001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":125000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:04:34] local.INFO: GPS data processed {"connection_id":125000,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:04:34] local.INFO: Acknowledgment sent {"connection_id":125000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:04:57] local.INFO: TCP Data received {"connection_id":125001,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:04:57] local.INFO: Processing buffer {"connection_id":125001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:04:57] local.INFO: IMEI packet received {"connection_id":125001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":125001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:04:58] local.INFO: TCP Data received {"connection_id":124999,"ip":"117.224.129.116","data_length":51,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-08 01:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124999,"packet_length":51,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-08 01:04:58] local.INFO: Processing buffer {"connection_id":124999,"buffer_length":51,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-08 01:04:58] local.INFO: IMEI packet received {"connection_id":124999,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":124999,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:04:59] local.INFO: TCP Data received {"connection_id":124999,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e128d18012d516b80064c3e580005002021..."} 
[2026-07-08 01:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e128d18012d516b80064c3e580005002021..."} 
[2026-07-08 01:04:59] local.INFO: Processing buffer {"connection_id":124999,"buffer_length":829,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-08 01:04:59] local.INFO: IMEI packet received {"connection_id":124999,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":124999,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:05:02] local.INFO: TCP Data received {"connection_id":125001,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:05:02] local.INFO: Processing buffer {"connection_id":125001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:05:02] local.INFO: IMEI packet received {"connection_id":125001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":125001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:05:03] local.INFO: TCP Data received {"connection_id":125001,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e0fa300012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e0fa300012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:05:03] local.INFO: Processing buffer {"connection_id":125001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e0fa300012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:05:03] local.INFO: Packet analysis {"connection_id":125001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e0f"} 
[2026-07-08 01:05:03] local.INFO: Extracted packet for processing {"connection_id":125001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e0f"} 
[2026-07-08 01:05:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563798784001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783452640000,"timestamp_ms":1783452640000,"timestamp_seconds":1783452640,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e0fa300"} 
[2026-07-08 01:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 01:05: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-07-08 01:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:05: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-07-08 01:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563798784001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563798784001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:05:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:05:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563798784001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":125001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:05:03] local.INFO: GPS data processed {"connection_id":125001,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:05:03] local.INFO: Acknowledgment sent {"connection_id":125001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:05:03] local.INFO: TCP Data received {"connection_id":125002,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125002,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:05:03] local.INFO: Processing buffer {"connection_id":125002,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:05:03] local.INFO: IMEI packet received {"connection_id":125002,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":125002,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:05:05] local.INFO: TCP Data received {"connection_id":125002,"ip":"117.224.129.116","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-08 01:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125002,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-08 01:05:05] local.INFO: Processing buffer {"connection_id":125002,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-08 01:05:05] local.INFO: IMEI packet received {"connection_id":125002,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":125002,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:05:07] local.INFO: TCP Data received {"connection_id":125002,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125002,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:05:07] local.INFO: Processing buffer {"connection_id":125002,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-08 01:05:07] local.INFO: IMEI packet received {"connection_id":125002,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":125002,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:05:08] local.INFO: TCP Data received {"connection_id":125002,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e1298d0012d517000064c42d00005000a23..."} 
[2026-07-08 01:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e1298d0012d517000064c42d00005000a23..."} 
[2026-07-08 01:05:08] local.INFO: Processing buffer {"connection_id":125002,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a0000019f3e..."} 
[2026-07-08 01:05:08] local.INFO: IMEI packet received {"connection_id":125002,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":125002,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:05:11] local.INFO: TCP Data received {"connection_id":125002,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e129cb8012d517040064c45300006016127..."} 
[2026-07-08 01:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e129cb8012d517040064c45300006016127..."} 
[2026-07-08 01:05:11] local.INFO: Processing buffer {"connection_id":125002,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f3e1298d0012d517000064c42d00005000a23..."} 
[2026-07-08 01:05:11] local.INFO: Packet analysis {"connection_id":125002,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3e12"} 
[2026-07-08 01:05:11] local.INFO: Extracted packet for processing {"connection_id":125002,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e12"} 
[2026-07-08 01:05:11] local.INFO: GPS Element Parsed {"raw_longitude":760311808,"raw_latitude":105661136,"longitude_deg":76.0311808,"latitude_deg":10.5661136,"altitude":5,"angle":10,"satellites":35,"speed":23,"hex_longitude":"2d517000","hex_latitude":"064c42d0","is_valid_coordinates":true} 
[2026-07-08 01:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563924736001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132568997429248000,"note":"Value kept but may cause issues"} 
[2026-07-08 01:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5866923704117516288,"note":"Value kept but may cause issues"} 
[2026-07-08 01:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783452834000,"timestamp_ms":1783452834000,"timestamp_seconds":1783452834,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e1298d0"} 
[2026-07-08 01:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 01:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125002,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125002,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563924736001,"66":27908,"89":206,"19":38144,"24":23,"16":132568997429248000,"45":5866923704117516288},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,19,24,16,45]} 
[2026-07-08 01:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563924736001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:05:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-08 01:05:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 01:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132568997429248000,"km_value":132568997429248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5866923704117516288,"description":"Unknown IO ID 45"} 
[2026-07-08 01:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563924736001,"power":27908,"unknown_89":206,"unknown_19":38144,"ignition":23,"odometer":null,"unknown_45":5866923704117516288}} 
[2026-07-08 01:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":125002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448656,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:05:11] local.INFO: GPS data processed {"connection_id":125002,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:05:11] local.INFO: Acknowledgment sent {"connection_id":125002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:05:11] local.INFO: Packet analysis {"connection_id":125002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e12"} 
[2026-07-08 01:05:11] local.INFO: Extracted packet for processing {"connection_id":125002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e12"} 
[2026-07-08 01:05:11] local.INFO: GPS Element Parsed {"raw_longitude":760311872,"raw_latitude":105661744,"longitude_deg":76.0311872,"latitude_deg":10.5661744,"altitude":6,"angle":353,"satellites":39,"speed":24,"hex_longitude":"2d517040","hex_latitude":"064c4530","is_valid_coordinates":true} 
[2026-07-08 01:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563925504001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132569027494019072,"note":"Value kept but may cause issues"} 
[2026-07-08 01:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5868190341513007104,"note":"Value kept but may cause issues"} 
[2026-07-08 01:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783452835000,"timestamp_ms":1783452835000,"timestamp_seconds":1783452835,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e129cb8"} 
[2026-07-08 01:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 01:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125002,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125002,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563925504001,"66":27800,"89":206,"19":38144,"24":24,"16":132569027494019072,"45":5868190341513007104},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,19,24,16,45]} 
[2026-07-08 01:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563925504001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:05:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-08 01:05:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 01:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132569027494019072,"km_value":132569027494019.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5868190341513007104,"description":"Unknown IO ID 45"} 
[2026-07-08 01:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563925504001,"power":27800,"unknown_89":206,"unknown_19":38144,"ignition":24,"odometer":null,"unknown_45":5868190341513007104}} 
[2026-07-08 01:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":125002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448657,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:05:11] local.INFO: GPS data processed {"connection_id":125002,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:05:11] local.INFO: Acknowledgment sent {"connection_id":125002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:05:34] local.INFO: TCP Data received {"connection_id":125001,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e0fa300012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e0fa300012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:05:34] local.INFO: Processing buffer {"connection_id":125001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e0fa300012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:05:34] local.INFO: Packet analysis {"connection_id":125001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e0f"} 
[2026-07-08 01:05:34] local.INFO: Extracted packet for processing {"connection_id":125001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e0f"} 
[2026-07-08 01:05:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563798784001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783452640000,"timestamp_ms":1783452640000,"timestamp_seconds":1783452640,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e0fa300"} 
[2026-07-08 01:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 01:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:05: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-07-08 01:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563798784001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563798784001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:05:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:05:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563798784001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":125001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:05:34] local.INFO: GPS data processed {"connection_id":125001,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:05:34] local.INFO: Acknowledgment sent {"connection_id":125001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:05:43] local.INFO: TCP Data received {"connection_id":125002,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e12a488012d516f40064c4a68000701512b..."} 
[2026-07-08 01:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e12a488012d516f40064c4a68000701512b..."} 
[2026-07-08 01:05:43] local.INFO: Processing buffer {"connection_id":125002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e12a488012d516f40064c4a68000701512b..."} 
[2026-07-08 01:05:43] local.INFO: Packet analysis {"connection_id":125002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e12"} 
[2026-07-08 01:05:43] local.INFO: Extracted packet for processing {"connection_id":125002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e12"} 
[2026-07-08 01:05:43] local.INFO: GPS Element Parsed {"raw_longitude":760311616,"raw_latitude":105663080,"longitude_deg":76.0311616,"latitude_deg":10.566308,"altitude":7,"angle":337,"satellites":43,"speed":29,"hex_longitude":"2d516f40","hex_latitude":"064c4a68","is_valid_coordinates":true} 
[2026-07-08 01:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563925760001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132569096213495808,"note":"Value kept but may cause issues"} 
[2026-07-08 01:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5868260710257340416,"note":"Value kept but may cause issues"} 
[2026-07-08 01:05:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783452837000,"timestamp_ms":1783452837000,"timestamp_seconds":1783452837,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e12a488"} 
[2026-07-08 01:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:05:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 01:05:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:05:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":125002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":125002,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":125002,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563925760001,"66":27745,"89":206,"19":38144,"24":29,"16":132569096213495808,"45":5868260710257340416},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,19,24,16,45]} 
[2026-07-08 01:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563925760001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:05:43] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-08 01:05:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 01:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132569096213495808,"km_value":132569096213495.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5868260710257340416,"description":"Unknown IO ID 45"} 
[2026-07-08 01:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563925760001,"power":27745,"unknown_89":206,"unknown_19":38144,"ignition":29,"odometer":null,"unknown_45":5868260710257340416}} 
[2026-07-08 01:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":125002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448659,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:05:43] local.INFO: GPS data processed {"connection_id":125002,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:05:43] local.INFO: Acknowledgment sent {"connection_id":125002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:05:57] local.INFO: TCP Data received {"connection_id":126995,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:05:57] local.INFO: Processing buffer {"connection_id":126995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:05:57] local.INFO: IMEI packet received {"connection_id":126995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":126995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:05:57] local.INFO: TCP Data received {"connection_id":126994,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126994,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:05:57] local.INFO: Processing buffer {"connection_id":126994,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:05:57] local.INFO: IMEI packet received {"connection_id":126994,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":126994,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:06:00] local.INFO: TCP Data received {"connection_id":126994,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126994,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:06:00] local.INFO: Processing buffer {"connection_id":126994,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:06:00] local.INFO: IMEI packet received {"connection_id":126994,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":126994,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:06:02] local.INFO: TCP Data received {"connection_id":126995,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:06:02] local.INFO: Processing buffer {"connection_id":126995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:06:02] local.INFO: IMEI packet received {"connection_id":126995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":126995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:06:03] local.INFO: TCP Data received {"connection_id":126994,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126994,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:06:03] local.INFO: Processing buffer {"connection_id":126994,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:06:03] local.INFO: IMEI packet received {"connection_id":126994,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":126994,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:06:03] local.INFO: TCP Data received {"connection_id":126995,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e0fa300012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e0fa300012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:06:03] local.INFO: Processing buffer {"connection_id":126995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e0fa300012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:06:03] local.INFO: Packet analysis {"connection_id":126995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e0f"} 
[2026-07-08 01:06:03] local.INFO: Extracted packet for processing {"connection_id":126995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e0f"} 
[2026-07-08 01:06:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563798784001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783452640000,"timestamp_ms":1783452640000,"timestamp_seconds":1783452640,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e0fa300"} 
[2026-07-08 01:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 01:06: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-07-08 01: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-07-08 01:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563798784001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563798784001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:06:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:06:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563798784001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":126995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:06:03] local.INFO: GPS data processed {"connection_id":126995,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:06:03] local.INFO: Acknowledgment sent {"connection_id":126995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:06:04] local.INFO: TCP Data received {"connection_id":126994,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e12cb98012d515fc0064c6b800008014a2d..."} 
[2026-07-08 01:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e12cb98012d515fc0064c6b800008014a2d..."} 
[2026-07-08 01:06:04] local.INFO: Processing buffer {"connection_id":126994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e12cb98012d515fc0064c6b800008014a2d..."} 
[2026-07-08 01:06:04] local.INFO: Packet analysis {"connection_id":126994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e12"} 
[2026-07-08 01:06:04] local.INFO: Extracted packet for processing {"connection_id":126994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e12"} 
[2026-07-08 01:06:04] local.INFO: GPS Element Parsed {"raw_longitude":760307648,"raw_latitude":105671552,"longitude_deg":76.0307648,"latitude_deg":10.5671552,"altitude":8,"angle":330,"satellites":45,"speed":42,"hex_longitude":"2d515fc0","hex_latitude":"064c6b80","is_valid_coordinates":true} 
[2026-07-08 01:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563926272001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132569547185061888,"note":"Value kept but may cause issues"} 
[2026-07-08 01:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5867979235280971776,"note":"Value kept but may cause issues"} 
[2026-07-08 01:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783452847000,"timestamp_ms":1783452847000,"timestamp_seconds":1783452847,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e12cb98"} 
[2026-07-08 01:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:06: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-07-08 01: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 01:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126994,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126994,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563926272001,"66":27843,"89":206,"19":38144,"24":42,"16":132569547185061888,"45":5867979235280971776},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,19,24,16,45]} 
[2026-07-08 01:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563926272001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:06:04] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-08 01:06:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 01:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132569547185061888,"km_value":132569547185061.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5867979235280971776,"description":"Unknown IO ID 45"} 
[2026-07-08 01:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563926272001,"power":27843,"unknown_89":206,"unknown_19":38144,"ignition":42,"odometer":null,"unknown_45":5867979235280971776}} 
[2026-07-08 01:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":126994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448661,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:06:04] local.INFO: GPS data processed {"connection_id":126994,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:06:04] local.INFO: Acknowledgment sent {"connection_id":126994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:06:34] local.INFO: TCP Data received {"connection_id":126995,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e143ac8012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e143ac8012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:06:34] local.INFO: Processing buffer {"connection_id":126995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e143ac8012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:06:34] local.INFO: Packet analysis {"connection_id":126995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e14"} 
[2026-07-08 01:06:34] local.INFO: Extracted packet for processing {"connection_id":126995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e14"} 
[2026-07-08 01:06:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563875840001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783452941000,"timestamp_ms":1783452941000,"timestamp_seconds":1783452941,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e143ac8"} 
[2026-07-08 01:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:06: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-07-08 01: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-07-08 01:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563875840001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563875840001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:06:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:06:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563875840001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":126995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:06:34] local.INFO: GPS data processed {"connection_id":126995,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:06:34] local.INFO: Acknowledgment sent {"connection_id":126995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:06:36] local.INFO: TCP Data received {"connection_id":126994,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e12eec0012d514bc0064c8bc0000701412c..."} 
[2026-07-08 01:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e12eec0012d514bc0064c8bc0000701412c..."} 
[2026-07-08 01:06:36] local.INFO: Processing buffer {"connection_id":126994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e12eec0012d514bc0064c8bc0000701412c..."} 
[2026-07-08 01:06:36] local.INFO: Packet analysis {"connection_id":126994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e12"} 
[2026-07-08 01:06:36] local.INFO: Extracted packet for processing {"connection_id":126994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e12"} 
[2026-07-08 01:06:36] local.INFO: GPS Element Parsed {"raw_longitude":760302528,"raw_latitude":105679808,"longitude_deg":76.0302528,"latitude_deg":10.5679808,"altitude":7,"angle":321,"satellites":44,"speed":46,"hex_longitude":"2d514bc0","hex_latitude":"064c8bc0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563928832001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132570019631464448,"note":"Value kept but may cause issues"} 
[2026-07-08 01:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5863616373144125440,"note":"Value kept but may cause issues"} 
[2026-07-08 01:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783452856000,"timestamp_ms":1783452856000,"timestamp_seconds":1783452856,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e12eec0"} 
[2026-07-08 01:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 01:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126994,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126994,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563928832001,"66":27821,"34":206,"19":38144,"24":46,"16":132570019631464448,"45":5863616373144125440},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-07-08 01:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563928832001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:06:36] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-08 01:06:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 01:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132570019631464448,"km_value":132570019631464.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5863616373144125440,"description":"Unknown IO ID 45"} 
[2026-07-08 01:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563928832001,"power":27821,"unknown_34":206,"unknown_19":38144,"ignition":46,"odometer":null,"unknown_45":5863616373144125440}} 
[2026-07-08 01:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":126994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448663,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:06:36] local.INFO: GPS data processed {"connection_id":126994,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:06:36] local.INFO: Acknowledgment sent {"connection_id":126994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:06:57] local.INFO: TCP Data received {"connection_id":124898,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:06:57] local.INFO: Processing buffer {"connection_id":124898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:06:57] local.INFO: IMEI packet received {"connection_id":124898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":124898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:07:02] local.INFO: TCP Data received {"connection_id":124898,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:07:02] local.INFO: Processing buffer {"connection_id":124898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:07:02] local.INFO: IMEI packet received {"connection_id":124898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":124898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:07:03] local.INFO: TCP Data received {"connection_id":124899,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124899,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:07:03] local.INFO: Processing buffer {"connection_id":124899,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:07:03] local.INFO: IMEI packet received {"connection_id":124899,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":124899,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:07:03] local.INFO: TCP Data received {"connection_id":124898,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e143ac8012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e143ac8012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:07:03] local.INFO: Processing buffer {"connection_id":124898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e143ac8012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:07:03] local.INFO: Packet analysis {"connection_id":124898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e14"} 
[2026-07-08 01:07:03] local.INFO: Extracted packet for processing {"connection_id":124898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e14"} 
[2026-07-08 01:07:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563875840001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783452941000,"timestamp_ms":1783452941000,"timestamp_seconds":1783452941,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e143ac8"} 
[2026-07-08 01:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563875840001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563875840001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:07:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:07:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563875840001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":124898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:07:03] local.INFO: GPS data processed {"connection_id":124898,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:07:03] local.INFO: Acknowledgment sent {"connection_id":124898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:07:07] local.INFO: TCP Data received {"connection_id":124899,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124899,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:07:07] local.INFO: Processing buffer {"connection_id":124899,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:07:07] local.INFO: IMEI packet received {"connection_id":124899,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":124899,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:07:09] local.INFO: TCP Data received {"connection_id":124899,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e1311e8012d513540064caa280008014c2d..."} 
[2026-07-08 01:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e1311e8012d513540064caa280008014c2d..."} 
[2026-07-08 01:07:09] local.INFO: Processing buffer {"connection_id":124899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e1311e8012d513540064caa280008014c2d..."} 
[2026-07-08 01:07:09] local.INFO: Packet analysis {"connection_id":124899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e13"} 
[2026-07-08 01:07:09] local.INFO: Extracted packet for processing {"connection_id":124899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e13"} 
[2026-07-08 01:07:09] local.INFO: GPS Element Parsed {"raw_longitude":760296768,"raw_latitude":105687592,"longitude_deg":76.0296768,"latitude_deg":10.5687592,"altitude":8,"angle":332,"satellites":45,"speed":42,"hex_longitude":"2d513540","hex_latitude":"064caa28","is_valid_coordinates":true} 
[2026-07-08 01:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563931136001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132570483487932416,"note":"Value kept but may cause issues"} 
[2026-07-08 01:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5857986873612025856,"note":"Value kept but may cause issues"} 
[2026-07-08 01:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783452865000,"timestamp_ms":1783452865000,"timestamp_seconds":1783452865,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e1311e8"} 
[2026-07-08 01:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 01:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124899,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124899,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563931136001,"66":27767,"34":206,"19":38144,"24":42,"16":132570483487932416,"45":5857986873612025856},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-07-08 01:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563931136001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:07:09] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-08 01:07:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 01:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132570483487932416,"km_value":132570483487932.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":5857986873612025856,"description":"Unknown IO ID 45"} 
[2026-07-08 01:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563931136001,"power":27767,"unknown_34":206,"unknown_19":38144,"ignition":42,"odometer":null,"unknown_45":5857986873612025856}} 
[2026-07-08 01:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":124899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448665,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:07:09] local.INFO: GPS data processed {"connection_id":124899,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:07:09] local.INFO: Acknowledgment sent {"connection_id":124899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:07:14] local.INFO: TCP Data received {"connection_id":124899,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e1311e8012d513540064caa280008014c2d..."} 
[2026-07-08 01:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e1311e8012d513540064caa280008014c2d..."} 
[2026-07-08 01:07:14] local.INFO: Processing buffer {"connection_id":124899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e1311e8012d513540064caa280008014c2d..."} 
[2026-07-08 01:07:14] local.INFO: Packet analysis {"connection_id":124899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e13"} 
[2026-07-08 01:07:14] local.INFO: Extracted packet for processing {"connection_id":124899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e13"} 
[2026-07-08 01:07:14] local.INFO: GPS Element Parsed {"raw_longitude":760296768,"raw_latitude":105687592,"longitude_deg":76.0296768,"latitude_deg":10.5687592,"altitude":8,"angle":332,"satellites":45,"speed":42,"hex_longitude":"2d513540","hex_latitude":"064caa28","is_valid_coordinates":true} 
[2026-07-08 01:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563933440001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132570483487932416,"note":"Value kept but may cause issues"} 
[2026-07-08 01:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5851653686638028800,"note":"Value kept but may cause issues"} 
[2026-07-08 01:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783452865000,"timestamp_ms":1783452865000,"timestamp_seconds":1783452865,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e1311e8"} 
[2026-07-08 01:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 01:07:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124899,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124899,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563933440001,"66":27767,"34":206,"19":38144,"24":42,"16":132570483487932416,"45":5851653686638028800},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-07-08 01:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563933440001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:07:14] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-08 01:07:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 01:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132570483487932416,"km_value":132570483487932.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5851653686638028800,"description":"Unknown IO ID 45"} 
[2026-07-08 01:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563933440001,"power":27767,"unknown_34":206,"unknown_19":38144,"ignition":42,"odometer":null,"unknown_45":5851653686638028800}} 
[2026-07-08 01:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":124899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448666,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:07:14] local.INFO: GPS data processed {"connection_id":124899,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:07:14] local.INFO: Acknowledgment sent {"connection_id":124899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:07:34] local.INFO: TCP Data received {"connection_id":124898,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e143ac8012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e143ac8012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:07:34] local.INFO: Processing buffer {"connection_id":124898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e143ac8012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:07:34] local.INFO: Packet analysis {"connection_id":124898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e14"} 
[2026-07-08 01:07:34] local.INFO: Extracted packet for processing {"connection_id":124898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e14"} 
[2026-07-08 01:07:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563875840001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783452941000,"timestamp_ms":1783452941000,"timestamp_seconds":1783452941,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e143ac8"} 
[2026-07-08 01:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:07: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-07-08 01: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-07-08 01:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563875840001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563875840001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:07:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:07:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563875840001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":124898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:07:34] local.INFO: GPS data processed {"connection_id":124898,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:07:34] local.INFO: Acknowledgment sent {"connection_id":124898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:07:58] local.INFO: TCP Data received {"connection_id":125729,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:07:58] local.INFO: Processing buffer {"connection_id":125729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:07:58] local.INFO: IMEI packet received {"connection_id":125729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":125729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:07:58] local.INFO: TCP Data received {"connection_id":125728,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125728,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:07:58] local.INFO: Processing buffer {"connection_id":125728,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:07:58] local.INFO: IMEI packet received {"connection_id":125728,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":125728,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:08:02] local.INFO: TCP Data received {"connection_id":125729,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:08:02] local.INFO: Processing buffer {"connection_id":125729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:08:02] local.INFO: IMEI packet received {"connection_id":125729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":125729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:08:03] local.INFO: TCP Data received {"connection_id":125729,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e143ac8012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e143ac8012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:08:03] local.INFO: Processing buffer {"connection_id":125729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e143ac8012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:08:03] local.INFO: Packet analysis {"connection_id":125729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e14"} 
[2026-07-08 01:08:03] local.INFO: Extracted packet for processing {"connection_id":125729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e14"} 
[2026-07-08 01:08:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563875840001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783452941000,"timestamp_ms":1783452941000,"timestamp_seconds":1783452941,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e143ac8"} 
[2026-07-08 01:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563875840001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563875840001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:08:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:08:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563875840001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":125729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:08:03] local.INFO: GPS data processed {"connection_id":125729,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:08:03] local.INFO: Acknowledgment sent {"connection_id":125729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:08:06] local.INFO: TCP Data received {"connection_id":125728,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125728,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:08:06] local.INFO: Processing buffer {"connection_id":125728,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:08:06] local.INFO: IMEI packet received {"connection_id":125728,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":125728,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:08:08] local.INFO: TCP Data received {"connection_id":125728,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e151970012d50ab80064dce78000701482c..."} 
[2026-07-08 01:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e151970012d50ab80064dce78000701482c..."} 
[2026-07-08 01:08:08] local.INFO: Processing buffer {"connection_id":125728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e151970012d50ab80064dce78000701482c..."} 
[2026-07-08 01:08:08] local.INFO: Packet analysis {"connection_id":125728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e15"} 
[2026-07-08 01:08:08] local.INFO: Extracted packet for processing {"connection_id":125728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e15"} 
[2026-07-08 01:08:08] local.INFO: GPS Element Parsed {"raw_longitude":760261504,"raw_latitude":105762424,"longitude_deg":76.0261504,"latitude_deg":10.5762424,"altitude":7,"angle":328,"satellites":44,"speed":17,"hex_longitude":"2d50ab80","hex_latitude":"064dce78","is_valid_coordinates":true} 
[2026-07-08 01:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563967488001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132574516462223360,"note":"Value kept but may cause issues"} 
[2026-07-08 01:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5812880508615292928,"note":"Value kept but may cause issues"} 
[2026-07-08 01:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783452998000,"timestamp_ms":1783452998000,"timestamp_seconds":1783452998,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e151970"} 
[2026-07-08 01:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 01:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125728,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125728,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563967488001,"66":27745,"34":206,"19":38144,"24":17,"16":132574516462223360,"45":5812880508615292928},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-07-08 01:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563967488001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:08:08] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-08 01:08:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 01:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132574516462223360,"km_value":132574516462223.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5812880508615292928,"description":"Unknown IO ID 45"} 
[2026-07-08 01:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563967488001,"power":27745,"unknown_34":206,"unknown_19":38144,"ignition":17,"odometer":null,"unknown_45":5812880508615292928}} 
[2026-07-08 01:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":125728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448669,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:08:08] local.INFO: GPS data processed {"connection_id":125728,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:08:08] local.INFO: Acknowledgment sent {"connection_id":125728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:08:34] local.INFO: TCP Data received {"connection_id":125729,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e143ac8012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e143ac8012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:08:34] local.INFO: Processing buffer {"connection_id":125729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e143ac8012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:08:34] local.INFO: Packet analysis {"connection_id":125729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e14"} 
[2026-07-08 01:08:34] local.INFO: Extracted packet for processing {"connection_id":125729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e14"} 
[2026-07-08 01:08:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563875840001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783452941000,"timestamp_ms":1783452941000,"timestamp_seconds":1783452941,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e143ac8"} 
[2026-07-08 01:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:08: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-07-08 01:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563875840001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563875840001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:08:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:08:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563875840001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":125729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:08:34] local.INFO: GPS data processed {"connection_id":125729,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:08:34] local.INFO: Acknowledgment sent {"connection_id":125729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:08:40] local.INFO: TCP Data received {"connection_id":125728,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e155020012d50a040064de620000501532e..."} 
[2026-07-08 01:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e155020012d50a040064de620000501532e..."} 
[2026-07-08 01:08:40] local.INFO: Processing buffer {"connection_id":125728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e155020012d50a040064de620000501532e..."} 
[2026-07-08 01:08:40] local.INFO: Packet analysis {"connection_id":125728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e15"} 
[2026-07-08 01:08:40] local.INFO: Extracted packet for processing {"connection_id":125728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e15"} 
[2026-07-08 01:08:40] local.INFO: GPS Element Parsed {"raw_longitude":760258624,"raw_latitude":105768480,"longitude_deg":76.0258624,"latitude_deg":10.576848,"altitude":5,"angle":339,"satellites":46,"speed":15,"hex_longitude":"2d50a040","hex_latitude":"064de620","is_valid_coordinates":true} 
[2026-07-08 01:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563967488001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132574842879737856,"note":"Value kept but may cause issues"} 
[2026-07-08 01:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5812880508615292928,"note":"Value kept but may cause issues"} 
[2026-07-08 01:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783453012000,"timestamp_ms":1783453012000,"timestamp_seconds":1783453012,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e155020"} 
[2026-07-08 01:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 01:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125728,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125728,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563967488001,"66":27952,"34":206,"19":38144,"24":15,"16":132574842879737856,"45":5812880508615292928},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-07-08 01:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563967488001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:08:40] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-08 01:08:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 01:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132574842879737856,"km_value":132574842879737.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":5812880508615292928,"description":"Unknown IO ID 45"} 
[2026-07-08 01:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563967488001,"power":27952,"unknown_34":206,"unknown_19":38144,"ignition":15,"odometer":null,"unknown_45":5812880508615292928}} 
[2026-07-08 01:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":125728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448671,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:08:40] local.INFO: GPS data processed {"connection_id":125728,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:08:40] local.INFO: Acknowledgment sent {"connection_id":125728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:08:57] local.INFO: TCP Data received {"connection_id":126997,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:08:57] local.INFO: Processing buffer {"connection_id":126997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:08:57] local.INFO: IMEI packet received {"connection_id":126997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":126997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:08:57] local.INFO: TCP Data received {"connection_id":126996,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126996,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:08:57] local.INFO: Processing buffer {"connection_id":126996,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:08:57] local.INFO: IMEI packet received {"connection_id":126996,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":126996,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:09:02] local.INFO: TCP Data received {"connection_id":126997,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:09:02] local.INFO: Processing buffer {"connection_id":126997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:09:02] local.INFO: IMEI packet received {"connection_id":126997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":126997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:09:03] local.INFO: TCP Data received {"connection_id":126996,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126996,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:09:03] local.INFO: Processing buffer {"connection_id":126996,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:09:03] local.INFO: IMEI packet received {"connection_id":126996,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":126996,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:09:03] local.INFO: TCP Data received {"connection_id":126997,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e143ac8012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e143ac8012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:09:03] local.INFO: Processing buffer {"connection_id":126997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e143ac8012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:09:03] local.INFO: Packet analysis {"connection_id":126997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e14"} 
[2026-07-08 01:09:03] local.INFO: Extracted packet for processing {"connection_id":126997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e14"} 
[2026-07-08 01:09:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563875840001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783452941000,"timestamp_ms":1783452941000,"timestamp_seconds":1783452941,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e143ac8"} 
[2026-07-08 01:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563875840001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563875840001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:09:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:09:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563875840001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":126997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:09:03] local.INFO: GPS data processed {"connection_id":126997,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:09:03] local.INFO: Acknowledgment sent {"connection_id":126997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:09:04] local.INFO: TCP Data received {"connection_id":126996,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e159288012d509240064e0520000401482c..."} 
[2026-07-08 01:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e159288012d509240064e0520000401482c..."} 
[2026-07-08 01:09:04] local.INFO: Processing buffer {"connection_id":126996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e159288012d509240064e0520000401482c..."} 
[2026-07-08 01:09:04] local.INFO: Packet analysis {"connection_id":126996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e15"} 
[2026-07-08 01:09:04] local.INFO: Extracted packet for processing {"connection_id":126996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e15"} 
[2026-07-08 01:09:04] local.INFO: GPS Element Parsed {"raw_longitude":760255040,"raw_latitude":105776416,"longitude_deg":76.025504,"latitude_deg":10.5776416,"altitude":4,"angle":328,"satellites":44,"speed":16,"hex_longitude":"2d509240","hex_latitude":"064e0520","is_valid_coordinates":true} 
[2026-07-08 01:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563971072001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132575263786532864,"note":"Value kept but may cause issues"} 
[2026-07-08 01:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5809713915128848384,"note":"Value kept but may cause issues"} 
[2026-07-08 01:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783453029000,"timestamp_ms":1783453029000,"timestamp_seconds":1783453029,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e159288"} 
[2026-07-08 01:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:09: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-07-08 01: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-08 01:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126996,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126996,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563971072001,"66":27821,"34":206,"19":38144,"24":16,"16":132575263786532864,"45":5809713915128848384},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-07-08 01:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563971072001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:09:04] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-08 01:09:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 01:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132575263786532864,"km_value":132575263786532.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5809713915128848384,"description":"Unknown IO ID 45"} 
[2026-07-08 01:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563971072001,"power":27821,"unknown_34":206,"unknown_19":38144,"ignition":16,"odometer":null,"unknown_45":5809713915128848384}} 
[2026-07-08 01:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":126996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448673,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:09:04] local.INFO: GPS data processed {"connection_id":126996,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:09:04] local.INFO: Acknowledgment sent {"connection_id":126996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:09:34] local.INFO: TCP Data received {"connection_id":126997,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e143ac8012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e143ac8012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:09:34] local.INFO: Processing buffer {"connection_id":126997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e143ac8012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:09:34] local.INFO: Packet analysis {"connection_id":126997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e14"} 
[2026-07-08 01:09:34] local.INFO: Extracted packet for processing {"connection_id":126997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e14"} 
[2026-07-08 01:09:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563875840001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783452941000,"timestamp_ms":1783452941000,"timestamp_seconds":1783452941,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e143ac8"} 
[2026-07-08 01:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:09: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-07-08 01: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-07-08 01:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563875840001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563875840001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:09:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:09:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563875840001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":126997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:09:34] local.INFO: GPS data processed {"connection_id":126997,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:09:34] local.INFO: Acknowledgment sent {"connection_id":126997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:09:37] local.INFO: TCP Data received {"connection_id":126996,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e15e490012d507fc0064e22c8000a014a2e..."} 
[2026-07-08 01:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e15e490012d507fc0064e22c8000a014a2e..."} 
[2026-07-08 01:09:37] local.INFO: Processing buffer {"connection_id":126996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e15e490012d507fc0064e22c8000a014a2e..."} 
[2026-07-08 01:09:37] local.INFO: Packet analysis {"connection_id":126996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e15"} 
[2026-07-08 01:09:37] local.INFO: Extracted packet for processing {"connection_id":126996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e15"} 
[2026-07-08 01:09:37] local.INFO: GPS Element Parsed {"raw_longitude":760250304,"raw_latitude":105784008,"longitude_deg":76.0250304,"latitude_deg":10.5784008,"altitude":10,"angle":330,"satellites":46,"speed":15,"hex_longitude":"2d507fc0","hex_latitude":"064e22c8","is_valid_coordinates":true} 
[2026-07-08 01:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563975424001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132575697578229760,"note":"Value kept but may cause issues"} 
[2026-07-08 01:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5805773265456930816,"note":"Value kept but may cause issues"} 
[2026-07-08 01:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783453050000,"timestamp_ms":1783453050000,"timestamp_seconds":1783453050,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e15e490"} 
[2026-07-08 01:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 01:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126996,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126996,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563975424001,"66":27832,"34":206,"19":38144,"24":15,"16":132575697578229760,"45":5805773265456930816},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-07-08 01:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563975424001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:09:37] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-08 01:09:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 01:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132575697578229760,"km_value":132575697578229.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5805773265456930816,"description":"Unknown IO ID 45"} 
[2026-07-08 01:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563975424001,"power":27832,"unknown_34":206,"unknown_19":38144,"ignition":15,"odometer":null,"unknown_45":5805773265456930816}} 
[2026-07-08 01:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":126996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448675,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:09:37] local.INFO: GPS data processed {"connection_id":126996,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:09:37] local.INFO: Acknowledgment sent {"connection_id":126996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:09:57] local.INFO: TCP Data received {"connection_id":124900,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:09:57] local.INFO: Processing buffer {"connection_id":124900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:09:57] local.INFO: IMEI packet received {"connection_id":124900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":124900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:09:57] local.INFO: TCP Data received {"connection_id":125730,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125730,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:09:57] local.INFO: Processing buffer {"connection_id":125730,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:09:57] local.INFO: IMEI packet received {"connection_id":125730,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":125730,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:10:02] local.INFO: TCP Data received {"connection_id":124900,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:10:02] local.INFO: Processing buffer {"connection_id":124900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:10:02] local.INFO: IMEI packet received {"connection_id":124900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":124900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:10:03] local.INFO: TCP Data received {"connection_id":125730,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125730,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:10:03] local.INFO: Processing buffer {"connection_id":125730,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:10:03] local.INFO: IMEI packet received {"connection_id":125730,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":125730,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:10:03] local.INFO: TCP Data received {"connection_id":124900,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e143ac8012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e143ac8012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:10:03] local.INFO: Processing buffer {"connection_id":124900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e143ac8012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:10:03] local.INFO: Packet analysis {"connection_id":124900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e14"} 
[2026-07-08 01:10:03] local.INFO: Extracted packet for processing {"connection_id":124900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e14"} 
[2026-07-08 01:10:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563875840001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783452941000,"timestamp_ms":1783452941000,"timestamp_seconds":1783452941,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e143ac8"} 
[2026-07-08 01:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563875840001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563875840001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:10:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:10:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563875840001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":124900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:10:03] local.INFO: GPS data processed {"connection_id":124900,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:10:03] local.INFO: Acknowledgment sent {"connection_id":124900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:10:04] local.INFO: TCP Data received {"connection_id":125730,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e15e490012d507fc0064e22c8000a014a2e..."} 
[2026-07-08 01:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e15e490012d507fc0064e22c8000a014a2e..."} 
[2026-07-08 01:10:04] local.INFO: Processing buffer {"connection_id":125730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e15e490012d507fc0064e22c8000a014a2e..."} 
[2026-07-08 01:10:04] local.INFO: Packet analysis {"connection_id":125730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e15"} 
[2026-07-08 01:10:04] local.INFO: Extracted packet for processing {"connection_id":125730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e15"} 
[2026-07-08 01:10:04] local.INFO: GPS Element Parsed {"raw_longitude":760250304,"raw_latitude":105784008,"longitude_deg":76.0250304,"latitude_deg":10.5784008,"altitude":10,"angle":330,"satellites":46,"speed":15,"hex_longitude":"2d507fc0","hex_latitude":"064e22c8","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563980800001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132575697578229760,"note":"Value kept but may cause issues"} 
[2026-07-08 01:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5800565978389727232,"note":"Value kept but may cause issues"} 
[2026-07-08 01:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783453050000,"timestamp_ms":1783453050000,"timestamp_seconds":1783453050,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e15e490"} 
[2026-07-08 01:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:10: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-07-08 01: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-08 01:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125730,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125730,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563980800001,"66":27832,"34":206,"19":38144,"24":15,"16":132575697578229760,"45":5800565978389727232},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-07-08 01:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563980800001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:10:04] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-08 01:10:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 01:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132575697578229760,"km_value":132575697578229.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5800565978389727232,"description":"Unknown IO ID 45"} 
[2026-07-08 01:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563980800001,"power":27832,"unknown_34":206,"unknown_19":38144,"ignition":15,"odometer":null,"unknown_45":5800565978389727232}} 
[2026-07-08 01:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":125730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448677,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:10:04] local.INFO: GPS data processed {"connection_id":125730,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:10:04] local.INFO: Acknowledgment sent {"connection_id":125730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:10:34] local.INFO: TCP Data received {"connection_id":124900,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e143ac8012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e143ac8012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:10:34] local.INFO: Processing buffer {"connection_id":124900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e143ac8012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:10:34] local.INFO: Packet analysis {"connection_id":124900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e14"} 
[2026-07-08 01:10:34] local.INFO: Extracted packet for processing {"connection_id":124900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e14"} 
[2026-07-08 01:10:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563875840001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783452941000,"timestamp_ms":1783452941000,"timestamp_seconds":1783452941,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e143ac8"} 
[2026-07-08 01:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:10: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-07-08 01: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-07-08 01:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563875840001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563875840001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:10:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:10:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563875840001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":124900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:10:34] local.INFO: GPS data processed {"connection_id":124900,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:10:34] local.INFO: Acknowledgment sent {"connection_id":124900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:10:36] local.INFO: TCP Data received {"connection_id":125730,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e161758012d507080064e3860000901362e..."} 
[2026-07-08 01:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e161758012d507080064e3860000901362e..."} 
[2026-07-08 01:10:36] local.INFO: Processing buffer {"connection_id":125730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e161758012d507080064e3860000901362e..."} 
[2026-07-08 01:10:36] local.INFO: Packet analysis {"connection_id":125730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e16"} 
[2026-07-08 01:10:36] local.INFO: Extracted packet for processing {"connection_id":125730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e16"} 
[2026-07-08 01:10:36] local.INFO: GPS Element Parsed {"raw_longitude":760246400,"raw_latitude":105789536,"longitude_deg":76.02464,"latitude_deg":10.5789536,"altitude":9,"angle":310,"satellites":46,"speed":29,"hex_longitude":"2d507080","hex_latitude":"064e3860","is_valid_coordinates":true} 
[2026-07-08 01:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563980800001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132576023995744256,"note":"Value kept but may cause issues"} 
[2026-07-08 01:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5800565978389727232,"note":"Value kept but may cause issues"} 
[2026-07-08 01:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783453063000,"timestamp_ms":1783453063000,"timestamp_seconds":1783453063,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e161758"} 
[2026-07-08 01:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-08 01:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125730,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125730,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563980800001,"66":27908,"35":206,"19":38144,"24":29,"16":132576023995744256,"45":5800565978389727232},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-08 01:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563980800001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:10:36] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-08 01:10:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 01:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132576023995744256,"km_value":132576023995744.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5800565978389727232,"description":"Unknown IO ID 45"} 
[2026-07-08 01:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563980800001,"power":27908,"unknown_35":206,"unknown_19":38144,"ignition":29,"odometer":null,"unknown_45":5800565978389727232}} 
[2026-07-08 01:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":125730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448679,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:10:36] local.INFO: GPS data processed {"connection_id":125730,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:10:36] local.INFO: Acknowledgment sent {"connection_id":125730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:10:58] local.INFO: TCP Data received {"connection_id":125731,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125731,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:10:58] local.INFO: Processing buffer {"connection_id":125731,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:10:58] local.INFO: IMEI packet received {"connection_id":125731,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":125731,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:11:02] local.INFO: TCP Data received {"connection_id":125003,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:11:02] local.INFO: Processing buffer {"connection_id":125003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:11:02] local.INFO: IMEI packet received {"connection_id":125003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":125003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:11:04] local.INFO: TCP Data received {"connection_id":125731,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125731,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:11:04] local.INFO: Processing buffer {"connection_id":125731,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:11:04] local.INFO: IMEI packet received {"connection_id":125731,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":125731,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:11:05] local.INFO: TCP Data received {"connection_id":125731,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e17d4a8012d4f7e40064e5538000901502d..."} 
[2026-07-08 01:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e17d4a8012d4f7e40064e5538000901502d..."} 
[2026-07-08 01:11:05] local.INFO: Processing buffer {"connection_id":125731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e17d4a8012d4f7e40064e5538000901502d..."} 
[2026-07-08 01:11:05] local.INFO: Packet analysis {"connection_id":125731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e17"} 
[2026-07-08 01:11:05] local.INFO: Extracted packet for processing {"connection_id":125731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e17"} 
[2026-07-08 01:11:05] local.INFO: GPS Element Parsed {"raw_longitude":760184384,"raw_latitude":105796920,"longitude_deg":76.0184384,"latitude_deg":10.579692,"altitude":9,"angle":336,"satellites":45,"speed":29,"hex_longitude":"2d4f7e40","hex_latitude":"064e5538","is_valid_coordinates":true} 
[2026-07-08 01:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132577102032535552,"note":"Value kept but may cause issues"} 
[2026-07-08 01:11:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,35,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 01:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783453177000,"timestamp_ms":1783453177000,"timestamp_seconds":1783453177,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e17d4a8"} 
[2026-07-08 01:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:11: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-08 01:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125731,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125731,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27745,"35":206,"19":38144,"24":29,"16":132577102032535552},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16]} 
[2026-07-08 01:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-08 01:11:05] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-08 01:11:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 01:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132577102032535552,"km_value":132577102032535.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:11:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27745,"unknown_35":206,"unknown_19":38144,"ignition":29,"odometer":null}} 
[2026-07-08 01:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":125731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448680,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:11:05] local.INFO: GPS data processed {"connection_id":125731,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:11:05] local.INFO: Acknowledgment sent {"connection_id":125731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:11:07] local.INFO: TCP Data received {"connection_id":125003,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:11:07] local.INFO: Processing buffer {"connection_id":125003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:11:07] local.INFO: IMEI packet received {"connection_id":125003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":125003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:11:08] local.INFO: TCP Data received {"connection_id":125003,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e143ac8012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e143ac8012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:11:08] local.INFO: Processing buffer {"connection_id":125003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e143ac8012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:11:08] local.INFO: Packet analysis {"connection_id":125003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e14"} 
[2026-07-08 01:11:08] local.INFO: Extracted packet for processing {"connection_id":125003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e14"} 
[2026-07-08 01:11:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563875840001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783452941000,"timestamp_ms":1783452941000,"timestamp_seconds":1783452941,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e143ac8"} 
[2026-07-08 01:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563875840001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563875840001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:11:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:11:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563875840001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":125003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:11:08] local.INFO: GPS data processed {"connection_id":125003,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:11:08] local.INFO: Acknowledgment sent {"connection_id":125003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:11:13] local.INFO: TCP Data received {"connection_id":125003,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e143ac8012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e143ac8012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:11:13] local.INFO: Processing buffer {"connection_id":125003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e143ac8012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:11:13] local.INFO: Packet analysis {"connection_id":125003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e14"} 
[2026-07-08 01:11:13] local.INFO: Extracted packet for processing {"connection_id":125003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e14"} 
[2026-07-08 01:11:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563875840001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783452941000,"timestamp_ms":1783452941000,"timestamp_seconds":1783452941,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e143ac8"} 
[2026-07-08 01:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:11: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-07-08 01:11:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563875840001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563875840001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:11:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:11:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563875840001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":125003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:11:13] local.INFO: GPS data processed {"connection_id":125003,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:11:13] local.INFO: Acknowledgment sent {"connection_id":125003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:11:36] local.INFO: TCP Data received {"connection_id":125731,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e1826b0012d4f5940064e8cd8000a01512e..."} 
[2026-07-08 01:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e1826b0012d4f5940064e8cd8000a01512e..."} 
[2026-07-08 01:11:36] local.INFO: Processing buffer {"connection_id":125731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e1826b0012d4f5940064e8cd8000a01512e..."} 
[2026-07-08 01:11:36] local.INFO: Packet analysis {"connection_id":125731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e18"} 
[2026-07-08 01:11:36] local.INFO: Extracted packet for processing {"connection_id":125731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e18"} 
[2026-07-08 01:11:36] local.INFO: GPS Element Parsed {"raw_longitude":760174912,"raw_latitude":105811160,"longitude_deg":76.0174912,"latitude_deg":10.581116,"altitude":10,"angle":337,"satellites":46,"speed":31,"hex_longitude":"2d4f5940","hex_latitude":"064e8cd8","is_valid_coordinates":true} 
[2026-07-08 01:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564013312001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132577102032535552,"note":"Value kept but may cause issues"} 
[2026-07-08 01:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5728086171890038784,"note":"Value kept but may cause issues"} 
[2026-07-08 01:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783453198000,"timestamp_ms":1783453198000,"timestamp_seconds":1783453198,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e1826b0"} 
[2026-07-08 01:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 01:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125731,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125731,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564013312001,"66":27767,"35":206,"19":38144,"24":31,"16":132577102032535552,"45":5728086171890038784},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-07-08 01:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564013312001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:11:36] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-08 01:11:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 01:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132577102032535552,"km_value":132577102032535.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5728086171890038784,"description":"Unknown IO ID 45"} 
[2026-07-08 01:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564013312001,"power":27767,"unknown_35":206,"unknown_19":38144,"ignition":31,"odometer":null,"unknown_45":5728086171890038784}} 
[2026-07-08 01:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":125731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448683,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:11:36] local.INFO: GPS data processed {"connection_id":125731,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:11:36] local.INFO: Acknowledgment sent {"connection_id":125731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:11:57] local.INFO: TCP Data received {"connection_id":125732,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:11:57] local.INFO: Processing buffer {"connection_id":125732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:11:57] local.INFO: IMEI packet received {"connection_id":125732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":125732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:11:58] local.INFO: TCP Data received {"connection_id":125733,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125733,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:11:58] local.INFO: Processing buffer {"connection_id":125733,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:11:58] local.INFO: IMEI packet received {"connection_id":125733,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":125733,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:12:02] local.INFO: TCP Data received {"connection_id":125733,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125733,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:12:02] local.INFO: Processing buffer {"connection_id":125733,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:12:02] local.INFO: IMEI packet received {"connection_id":125733,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":125733,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:12:02] local.INFO: TCP Data received {"connection_id":125732,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:12:02] local.INFO: Processing buffer {"connection_id":125732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:12:02] local.INFO: IMEI packet received {"connection_id":125732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":125732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:12:03] local.INFO: TCP Data received {"connection_id":125732,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e18d290012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e18d290012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:12:03] local.INFO: Processing buffer {"connection_id":125732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e18d290012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:12:03] local.INFO: Packet analysis {"connection_id":125732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e18"} 
[2026-07-08 01:12:03] local.INFO: Extracted packet for processing {"connection_id":125732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e18"} 
[2026-07-08 01:12:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563952896001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783453242000,"timestamp_ms":1783453242000,"timestamp_seconds":1783453242,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e18d290"} 
[2026-07-08 01:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:12: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-07-08 01:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563952896001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563952896001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:12:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:12:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563952896001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":125732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:12:03] local.INFO: GPS data processed {"connection_id":125732,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:12:03] local.INFO: Acknowledgment sent {"connection_id":125732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:12:04] local.INFO: TCP Data received {"connection_id":125733,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125733,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:12:04] local.INFO: Processing buffer {"connection_id":125733,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:12:04] local.INFO: IMEI packet received {"connection_id":125733,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":125733,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:12:05] local.INFO: TCP Data received {"connection_id":125733,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e1878b8012d4f37c0064ec460000b014a2f..."} 
[2026-07-08 01:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e1878b8012d4f37c0064ec460000b014a2f..."} 
[2026-07-08 01:12:05] local.INFO: Processing buffer {"connection_id":125733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e1878b8012d4f37c0064ec460000b014a2f..."} 
[2026-07-08 01:12:05] local.INFO: Packet analysis {"connection_id":125733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e18"} 
[2026-07-08 01:12:05] local.INFO: Extracted packet for processing {"connection_id":125733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e18"} 
[2026-07-08 01:12:05] local.INFO: GPS Element Parsed {"raw_longitude":760166336,"raw_latitude":105825376,"longitude_deg":76.0166336,"latitude_deg":10.5825376,"altitude":11,"angle":330,"satellites":47,"speed":31,"hex_longitude":"2d4f37c0","hex_latitude":"064ec460","is_valid_coordinates":true} 
[2026-07-08 01:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564018688001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132577102032535552,"note":"Value kept but may cause issues"} 
[2026-07-08 01:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5717671597755389952,"note":"Value kept but may cause issues"} 
[2026-07-08 01:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783453219000,"timestamp_ms":1783453219000,"timestamp_seconds":1783453219,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e1878b8"} 
[2026-07-08 01:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 01:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125733,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125733,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564018688001,"66":27789,"233":206,"19":38144,"24":31,"16":132577102032535552,"45":5717671597755389952},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,19,24,16,45]} 
[2026-07-08 01:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564018688001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:12:05] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-07-08 01:12:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 01:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132577102032535552,"km_value":132577102032535.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5717671597755389952,"description":"Unknown IO ID 45"} 
[2026-07-08 01:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564018688001,"power":27789,"unknown_233":206,"unknown_19":38144,"ignition":31,"odometer":null,"unknown_45":5717671597755389952}} 
[2026-07-08 01:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":125733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448685,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:12:06] local.INFO: GPS data processed {"connection_id":125733,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:12:06] local.INFO: Acknowledgment sent {"connection_id":125733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:12:08] local.INFO: TCP Data received {"connection_id":125733,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e18cac0012d4f1900064f03f8000b014c30..."} 
[2026-07-08 01:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e18cac0012d4f1900064f03f8000b014c30..."} 
[2026-07-08 01:12:08] local.INFO: Processing buffer {"connection_id":125733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e18cac0012d4f1900064f03f8000b014c30..."} 
[2026-07-08 01:12:08] local.INFO: Packet analysis {"connection_id":125733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e18"} 
[2026-07-08 01:12:08] local.INFO: Extracted packet for processing {"connection_id":125733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e18"} 
[2026-07-08 01:12:08] local.INFO: GPS Element Parsed {"raw_longitude":760158464,"raw_latitude":105841656,"longitude_deg":76.0158464,"latitude_deg":10.5841656,"altitude":11,"angle":332,"satellites":48,"speed":44,"hex_longitude":"2d4f1900","hex_latitude":"064f03f8","is_valid_coordinates":true} 
[2026-07-08 01:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564024064001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132577102032535552,"note":"Value kept but may cause issues"} 
[2026-07-08 01:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5708242186039222272,"note":"Value kept but may cause issues"} 
[2026-07-08 01:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783453240000,"timestamp_ms":1783453240000,"timestamp_seconds":1783453240,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e18cac0"} 
[2026-07-08 01:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-08 01:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:12:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125733,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125733,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564024064001,"66":27745,"233":206,"19":38144,"24":44,"16":132577102032535552,"45":5708242186039222272},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,19,24,16,45]} 
[2026-07-08 01:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564024064001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:12:08] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-07-08 01:12:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 01:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132577102032535552,"km_value":132577102032535.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5708242186039222272,"description":"Unknown IO ID 45"} 
[2026-07-08 01:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564024064001,"power":27745,"unknown_233":206,"unknown_19":38144,"ignition":44,"odometer":null,"unknown_45":5708242186039222272}} 
[2026-07-08 01:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":125733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448686,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:12:08] local.INFO: GPS data processed {"connection_id":125733,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:12:08] local.INFO: Acknowledgment sent {"connection_id":125733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:12:34] local.INFO: TCP Data received {"connection_id":125732,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e18d290012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e18d290012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:12:34] local.INFO: Processing buffer {"connection_id":125732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e18d290012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:12:34] local.INFO: Packet analysis {"connection_id":125732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e18"} 
[2026-07-08 01:12:34] local.INFO: Extracted packet for processing {"connection_id":125732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e18"} 
[2026-07-08 01:12:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563952896001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783453242000,"timestamp_ms":1783453242000,"timestamp_seconds":1783453242,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e18d290"} 
[2026-07-08 01:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:12: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-07-08 01: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-07-08 01:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:12: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-07-08 01:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563952896001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563952896001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:12:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:12:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563952896001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":125732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:12:34] local.INFO: GPS data processed {"connection_id":125732,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:12:34] local.INFO: Acknowledgment sent {"connection_id":125732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:12:40] local.INFO: TCP Data received {"connection_id":125733,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e191cc8012d4ef200064f4a20000c014c2d..."} 
[2026-07-08 01:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e191cc8012d4ef200064f4a20000c014c2d..."} 
[2026-07-08 01:12:41] local.INFO: Processing buffer {"connection_id":125733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e191cc8012d4ef200064f4a20000c014c2d..."} 
[2026-07-08 01:12:41] local.INFO: Packet analysis {"connection_id":125733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e19"} 
[2026-07-08 01:12:41] local.INFO: Extracted packet for processing {"connection_id":125733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e19"} 
[2026-07-08 01:12:41] local.INFO: GPS Element Parsed {"raw_longitude":760148480,"raw_latitude":105859616,"longitude_deg":76.014848,"latitude_deg":10.5859616,"altitude":12,"angle":332,"satellites":45,"speed":0,"hex_longitude":"2d4ef200","hex_latitude":"064f4a20","is_valid_coordinates":true} 
[2026-07-08 01:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564029440001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132577102032535552,"note":"Value kept but may cause issues"} 
[2026-07-08 01:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5699586830509537280,"note":"Value kept but may cause issues"} 
[2026-07-08 01:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783453261000,"timestamp_ms":1783453261000,"timestamp_seconds":1783453261,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e191cc8"} 
[2026-07-08 01:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 01:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125733,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125733,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564029440001,"66":27908,"233":206,"19":38144,"24":0,"16":132577102032535552,"45":5699586830509537280},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,19,24,16,45]} 
[2026-07-08 01:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564029440001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:12:41] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-07-08 01:12:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 01:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132577102032535552,"km_value":132577102032535.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":5699586830509537280,"description":"Unknown IO ID 45"} 
[2026-07-08 01:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564029440001,"power":27908,"unknown_233":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5699586830509537280}} 
[2026-07-08 01:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":125733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448688,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:12:41] local.INFO: GPS data processed {"connection_id":125733,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:12:41] local.INFO: Acknowledgment sent {"connection_id":125733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:12:57] local.INFO: TCP Data received {"connection_id":126998,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:12:57] local.INFO: Processing buffer {"connection_id":126998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:12:57] local.INFO: IMEI packet received {"connection_id":126998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":126998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:12:58] local.INFO: TCP Data received {"connection_id":126999,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126999,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:12:58] local.INFO: Processing buffer {"connection_id":126999,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:12:58] local.INFO: IMEI packet received {"connection_id":126999,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":126999,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:13:02] local.INFO: TCP Data received {"connection_id":126998,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:13:02] local.INFO: Processing buffer {"connection_id":126998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:13:02] local.INFO: IMEI packet received {"connection_id":126998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":126998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:13:03] local.INFO: TCP Data received {"connection_id":126998,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e18d290012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e18d290012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:13:03] local.INFO: Processing buffer {"connection_id":126998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e18d290012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:13:03] local.INFO: Packet analysis {"connection_id":126998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e18"} 
[2026-07-08 01:13:03] local.INFO: Extracted packet for processing {"connection_id":126998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e18"} 
[2026-07-08 01:13:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563952896001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783453242000,"timestamp_ms":1783453242000,"timestamp_seconds":1783453242,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e18d290"} 
[2026-07-08 01:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:13: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-07-08 01:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563952896001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563952896001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:13:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:13:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563952896001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":126998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:13:03] local.INFO: GPS data processed {"connection_id":126998,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:13:03] local.INFO: Acknowledgment sent {"connection_id":126998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:13:03] local.INFO: TCP Data received {"connection_id":126999,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126999,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:13:03] local.INFO: Processing buffer {"connection_id":126999,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:13:03] local.INFO: IMEI packet received {"connection_id":126999,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":126999,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:13:04] local.INFO: TCP Data received {"connection_id":126999,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e19dc300100000000000000000000000000..."} 
[2026-07-08 01:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e19dc300100000000000000000000000000..."} 
[2026-07-08 01:13:04] local.INFO: Processing buffer {"connection_id":126999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e19dc300100000000000000000000000000..."} 
[2026-07-08 01:13:04] local.INFO: Packet analysis {"connection_id":126999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e19"} 
[2026-07-08 01:13:04] local.INFO: Extracted packet for processing {"connection_id":126999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e19"} 
[2026-07-08 01:13: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-07-08 01: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-07-08 01:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564034816001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132577102032535552,"note":"Value kept but may cause issues"} 
[2026-07-08 01:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5688609306422419456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783453310000,"timestamp_ms":1783453310000,"timestamp_seconds":1783453310,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e19dc30"} 
[2026-07-08 01:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:13: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-07-08 01: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 01:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126999,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126999,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":126999,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-08 01:13:04] local.INFO: GPS data processed {"connection_id":126999,"processed":0,"errors":0,"total":1} 
[2026-07-08 01:13:04] local.INFO: Acknowledgment sent {"connection_id":126999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:13:34] local.INFO: TCP Data received {"connection_id":126998,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e18d290012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e18d290012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:13:34] local.INFO: Processing buffer {"connection_id":126998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e18d290012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:13:34] local.INFO: Packet analysis {"connection_id":126998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e18"} 
[2026-07-08 01:13:34] local.INFO: Extracted packet for processing {"connection_id":126998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e18"} 
[2026-07-08 01:13:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563952896001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783453242000,"timestamp_ms":1783453242000,"timestamp_seconds":1783453242,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e18d290"} 
[2026-07-08 01:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:13: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-07-08 01:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:13: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-07-08 01:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563952896001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563952896001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:13:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:13:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563952896001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":126998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:13:34] local.INFO: GPS data processed {"connection_id":126998,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:13:34] local.INFO: Acknowledgment sent {"connection_id":126998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:13:57] local.INFO: TCP Data received {"connection_id":127000,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:13:57] local.INFO: Processing buffer {"connection_id":127000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:13:57] local.INFO: IMEI packet received {"connection_id":127000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":127000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:14:02] local.INFO: TCP Data received {"connection_id":127000,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:14:02] local.INFO: Processing buffer {"connection_id":127000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:14:02] local.INFO: IMEI packet received {"connection_id":127000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":127000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:14:03] local.INFO: TCP Data received {"connection_id":127001,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127001,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:14:03] local.INFO: Processing buffer {"connection_id":127001,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:14:03] local.INFO: IMEI packet received {"connection_id":127001,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":127001,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:14:03] local.INFO: TCP Data received {"connection_id":127000,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e18d290012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e18d290012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:14:03] local.INFO: Processing buffer {"connection_id":127000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e18d290012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:14:03] local.INFO: Packet analysis {"connection_id":127000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e18"} 
[2026-07-08 01:14:03] local.INFO: Extracted packet for processing {"connection_id":127000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e18"} 
[2026-07-08 01:14:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563952896001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783453242000,"timestamp_ms":1783453242000,"timestamp_seconds":1783453242,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e18d290"} 
[2026-07-08 01:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:14: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-07-08 01:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563952896001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563952896001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:14:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:14:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563952896001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":127000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:14:03] local.INFO: GPS data processed {"connection_id":127000,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:14:03] local.INFO: Acknowledgment sent {"connection_id":127000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:14:03] local.INFO: TCP Data received {"connection_id":126999,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e198e10012d4e9c00064fe5c00010014b30..."} 
[2026-07-08 01:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e198e10012d4e9c00064fe5c00010014b30..."} 
[2026-07-08 01:14:03] local.INFO: Processing buffer {"connection_id":126999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e198e10012d4e9c00064fe5c00010014b30..."} 
[2026-07-08 01:14:03] local.INFO: Packet analysis {"connection_id":126999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e19"} 
[2026-07-08 01:14:03] local.INFO: Extracted packet for processing {"connection_id":126999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e19"} 
[2026-07-08 01:14:03] local.INFO: GPS Element Parsed {"raw_longitude":760126464,"raw_latitude":105899456,"longitude_deg":76.0126464,"latitude_deg":10.5899456,"altitude":16,"angle":331,"satellites":48,"speed":61,"hex_longitude":"2d4e9c00","hex_latitude":"064fe5c0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132577102032535552,"note":"Value kept but may cause issues"} 
[2026-07-08 01:14:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,233,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 01:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783453290000,"timestamp_ms":1783453290000,"timestamp_seconds":1783453290,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e198e10"} 
[2026-07-08 01:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:14: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 01:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126999,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126999,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27767,"233":206,"19":38144,"24":61,"16":132577102032535552},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,19,24,16]} 
[2026-07-08 01:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-08 01:14:03] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-07-08 01:14:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 01:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132577102032535552,"km_value":132577102032535.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:14:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27767,"unknown_233":206,"unknown_19":38144,"ignition":61,"odometer":null}} 
[2026-07-08 01:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":126999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448692,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:14:04] local.INFO: GPS data processed {"connection_id":126999,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:14:04] local.INFO: Acknowledgment sent {"connection_id":126999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:14:05] local.INFO: TCP Data received {"connection_id":127001,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127001,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:14:05] local.INFO: Processing buffer {"connection_id":127001,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:14:05] local.INFO: IMEI packet received {"connection_id":127001,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":127001,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:14:06] local.INFO: TCP Data received {"connection_id":127001,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e19e018012d4e730006503a08000c014f2d..."} 
[2026-07-08 01:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e19e018012d4e730006503a08000c014f2d..."} 
[2026-07-08 01:14:06] local.INFO: Processing buffer {"connection_id":127001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e19e018012d4e730006503a08000c014f2d..."} 
[2026-07-08 01:14:06] local.INFO: Packet analysis {"connection_id":127001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e19"} 
[2026-07-08 01:14:06] local.INFO: Extracted packet for processing {"connection_id":127001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e19"} 
[2026-07-08 01:14:06] local.INFO: GPS Element Parsed {"raw_longitude":760115968,"raw_latitude":105921032,"longitude_deg":76.0115968,"latitude_deg":10.5921032,"altitude":12,"angle":335,"satellites":45,"speed":0,"hex_longitude":"2d4e7300","hex_latitude":"06503a08","is_valid_coordinates":true} 
[2026-07-08 01:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564042240001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132577102032535552,"note":"Value kept but may cause issues"} 
[2026-07-08 01:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5664402458435502080,"note":"Value kept but may cause issues"} 
[2026-07-08 01:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783453311000,"timestamp_ms":1783453311000,"timestamp_seconds":1783453311,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e19e018"} 
[2026-07-08 01:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 01:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127001,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127001,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564042240001,"66":27974,"235":206,"19":38144,"24":0,"16":132577102032535552,"45":5664402458435502080},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,19,24,16,45]} 
[2026-07-08 01:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564042240001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:14:06] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-08 01:14:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 01:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132577102032535552,"km_value":132577102032535.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5664402458435502080,"description":"Unknown IO ID 45"} 
[2026-07-08 01:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564042240001,"power":27974,"unknown_235":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5664402458435502080}} 
[2026-07-08 01:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":127001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448693,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:14:06] local.INFO: GPS data processed {"connection_id":127001,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:14:06] local.INFO: Acknowledgment sent {"connection_id":127001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:14:08] local.INFO: TCP Data received {"connection_id":127001,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e1a9f800100000000000000000000000000..."} 
[2026-07-08 01:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e1a9f800100000000000000000000000000..."} 
[2026-07-08 01:14:08] local.INFO: Processing buffer {"connection_id":127001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e1a9f800100000000000000000000000000..."} 
[2026-07-08 01:14:08] local.INFO: Packet analysis {"connection_id":127001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e1a"} 
[2026-07-08 01:14:08] local.INFO: Extracted packet for processing {"connection_id":127001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e1a"} 
[2026-07-08 01:14:08] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-08 01:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564047616001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132577102032535552,"note":"Value kept but may cause issues"} 
[2026-07-08 01:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5652861984395888640,"note":"Value kept but may cause issues"} 
[2026-07-08 01:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783453360000,"timestamp_ms":1783453360000,"timestamp_seconds":1783453360,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e1a9f80"} 
[2026-07-08 01:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-08 01:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":127001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":127001,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":127001,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":127001,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-08 01:14:08] local.INFO: GPS data processed {"connection_id":127001,"processed":0,"errors":0,"total":1} 
[2026-07-08 01:14:08] local.INFO: Acknowledgment sent {"connection_id":127001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:14:34] local.INFO: TCP Data received {"connection_id":127000,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e18d290012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e18d290012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:14:34] local.INFO: Processing buffer {"connection_id":127000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e18d290012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:14:34] local.INFO: Packet analysis {"connection_id":127000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e18"} 
[2026-07-08 01:14:34] local.INFO: Extracted packet for processing {"connection_id":127000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e18"} 
[2026-07-08 01:14:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563952896001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783453242000,"timestamp_ms":1783453242000,"timestamp_seconds":1783453242,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e18d290"} 
[2026-07-08 01:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:14: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-07-08 01:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:14: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-07-08 01:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563952896001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563952896001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:14:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:14:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563952896001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":127000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:14:34] local.INFO: GPS data processed {"connection_id":127000,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:14:34] local.INFO: Acknowledgment sent {"connection_id":127000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:14:40] local.INFO: TCP Data received {"connection_id":127001,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e1a4990012d4e2a800650e3f0000d01512f..."} 
[2026-07-08 01:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e1a4990012d4e2a800650e3f0000d01512f..."} 
[2026-07-08 01:14:40] local.INFO: Processing buffer {"connection_id":127001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e1a4990012d4e2a800650e3f0000d01512f..."} 
[2026-07-08 01:14:40] local.INFO: Packet analysis {"connection_id":127001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e1a"} 
[2026-07-08 01:14:40] local.INFO: Extracted packet for processing {"connection_id":127001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e1a"} 
[2026-07-08 01:14:40] local.INFO: GPS Element Parsed {"raw_longitude":760097408,"raw_latitude":105964528,"longitude_deg":76.0097408,"latitude_deg":10.5964528,"altitude":13,"angle":337,"satellites":47,"speed":58,"hex_longitude":"2d4e2a80","hex_latitude":"0650e3f0","is_valid_coordinates":true} 
[2026-07-08 01:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132577102032535552,"note":"Value kept but may cause issues"} 
[2026-07-08 01:14:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,235,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 01:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783453338000,"timestamp_ms":1783453338000,"timestamp_seconds":1783453338,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e1a4990"} 
[2026-07-08 01:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:14:40] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 01:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":127001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":127001,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":127001,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27876,"235":206,"19":38144,"24":58,"16":132577102032535552},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,19,24,16]} 
[2026-07-08 01:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-08 01:14:40] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-08 01:14:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 01:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132577102032535552,"km_value":132577102032535.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:14:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27876,"unknown_235":206,"unknown_19":38144,"ignition":58,"odometer":null}} 
[2026-07-08 01:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":127001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448695,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:14:40] local.INFO: GPS data processed {"connection_id":127001,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:14:40] local.INFO: Acknowledgment sent {"connection_id":127001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:14:57] local.INFO: TCP Data received {"connection_id":125735,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:14:57] local.INFO: Processing buffer {"connection_id":125735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:14:57] local.INFO: IMEI packet received {"connection_id":125735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":125735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:14:57] local.INFO: TCP Data received {"connection_id":125734,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125734,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:14:57] local.INFO: Processing buffer {"connection_id":125734,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:14:57] local.INFO: IMEI packet received {"connection_id":125734,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":125734,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:15:02] local.INFO: TCP Data received {"connection_id":125735,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:15:02] local.INFO: Processing buffer {"connection_id":125735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:15:02] local.INFO: IMEI packet received {"connection_id":125735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":125735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:15:03] local.INFO: TCP Data received {"connection_id":125734,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125734,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:15:03] local.INFO: Processing buffer {"connection_id":125734,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:15:03] local.INFO: IMEI packet received {"connection_id":125734,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":125734,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:15:03] local.INFO: TCP Data received {"connection_id":125735,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e18d290012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e18d290012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:15:03] local.INFO: Processing buffer {"connection_id":125735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e18d290012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:15:03] local.INFO: Packet analysis {"connection_id":125735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e18"} 
[2026-07-08 01:15:03] local.INFO: Extracted packet for processing {"connection_id":125735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e18"} 
[2026-07-08 01:15:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563952896001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783453242000,"timestamp_ms":1783453242000,"timestamp_seconds":1783453242,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e18d290"} 
[2026-07-08 01:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:15: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-07-08 01:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563952896001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563952896001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:15:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:15:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563952896001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":125735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:15:03] local.INFO: GPS data processed {"connection_id":125735,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:15:03] local.INFO: Acknowledgment sent {"connection_id":125735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:15:04] local.INFO: TCP Data received {"connection_id":125734,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e1a9b98012d4e070006513948000b015131..."} 
[2026-07-08 01:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e1a9b98012d4e070006513948000b015131..."} 
[2026-07-08 01:15:04] local.INFO: Processing buffer {"connection_id":125734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e1a9b98012d4e070006513948000b015131..."} 
[2026-07-08 01:15:04] local.INFO: Packet analysis {"connection_id":125734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e1a"} 
[2026-07-08 01:15:04] local.INFO: Extracted packet for processing {"connection_id":125734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e1a"} 
[2026-07-08 01:15:04] local.INFO: GPS Element Parsed {"raw_longitude":760088320,"raw_latitude":105986376,"longitude_deg":76.008832,"latitude_deg":10.5986376,"altitude":11,"angle":337,"satellites":49,"speed":0,"hex_longitude":"2d4e0700","hex_latitude":"06513948","is_valid_coordinates":true} 
[2026-07-08 01:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564054528001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132577102032535552,"note":"Value kept but may cause issues"} 
[2026-07-08 01:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5632455048595501056,"note":"Value kept but may cause issues"} 
[2026-07-08 01:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783453359000,"timestamp_ms":1783453359000,"timestamp_seconds":1783453359,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e1a9b98"} 
[2026-07-08 01:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:15: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-07-08 01:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 01:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564054528001,"66":27952,"235":206,"19":38144,"24":0,"16":132577102032535552,"45":5632455048595501056},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,19,24,16,45]} 
[2026-07-08 01:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564054528001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:15:04] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-08 01:15:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 01:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132577102032535552,"km_value":132577102032535.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5632455048595501056,"description":"Unknown IO ID 45"} 
[2026-07-08 01:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564054528001,"power":27952,"unknown_235":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5632455048595501056}} 
[2026-07-08 01:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":125734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448697,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:15:04] local.INFO: GPS data processed {"connection_id":125734,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:15:04] local.INFO: Acknowledgment sent {"connection_id":125734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:15:34] local.INFO: TCP Data received {"connection_id":125735,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e18d290012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e18d290012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:15:34] local.INFO: Processing buffer {"connection_id":125735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e18d290012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:15:34] local.INFO: Packet analysis {"connection_id":125735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e18"} 
[2026-07-08 01:15:34] local.INFO: Extracted packet for processing {"connection_id":125735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e18"} 
[2026-07-08 01:15:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563952896001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783453242000,"timestamp_ms":1783453242000,"timestamp_seconds":1783453242,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e18d290"} 
[2026-07-08 01:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:15: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-07-08 01:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:15: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-07-08 01:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563952896001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563952896001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:15:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:15:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563952896001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":125735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:15:34] local.INFO: GPS data processed {"connection_id":125735,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:15:34] local.INFO: Acknowledgment sent {"connection_id":125735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:15:36] local.INFO: TCP Data received {"connection_id":125734,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e1b5b000100000000000000000000000000..."} 
[2026-07-08 01:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e1b5b000100000000000000000000000000..."} 
[2026-07-08 01:15:36] local.INFO: Processing buffer {"connection_id":125734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e1b5b000100000000000000000000000000..."} 
[2026-07-08 01:15:36] local.INFO: Packet analysis {"connection_id":125734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e1b"} 
[2026-07-08 01:15:36] local.INFO: Extracted packet for processing {"connection_id":125734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e1b"} 
[2026-07-08 01:15:36] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-08 01:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564059904001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132577102032535552,"note":"Value kept but may cause issues"} 
[2026-07-08 01:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5622462686927865856,"note":"Value kept but may cause issues"} 
[2026-07-08 01:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783453408000,"timestamp_ms":1783453408000,"timestamp_seconds":1783453408,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e1b5b00"} 
[2026-07-08 01:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-08 01:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":125734,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-08 01:15:36] local.INFO: GPS data processed {"connection_id":125734,"processed":0,"errors":0,"total":1} 
[2026-07-08 01:15:36] local.INFO: Acknowledgment sent {"connection_id":125734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:15:58] local.INFO: TCP Data received {"connection_id":127002,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127002,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:15:58] local.INFO: Processing buffer {"connection_id":127002,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:15:58] local.INFO: IMEI packet received {"connection_id":127002,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":127002,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:16:02] local.INFO: TCP Data received {"connection_id":125736,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:16:02] local.INFO: Processing buffer {"connection_id":125736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:16:02] local.INFO: IMEI packet received {"connection_id":125736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":125736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:16:03] local.INFO: TCP Data received {"connection_id":127002,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127002,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:16:03] local.INFO: Processing buffer {"connection_id":127002,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:16:03] local.INFO: IMEI packet received {"connection_id":127002,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":127002,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:16:04] local.INFO: TCP Data received {"connection_id":127002,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e1b0510012d4dc1000651e1c8000e01502d..."} 
[2026-07-08 01:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e1b0510012d4dc1000651e1c8000e01502d..."} 
[2026-07-08 01:16:04] local.INFO: Processing buffer {"connection_id":127002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e1b0510012d4dc1000651e1c8000e01502d..."} 
[2026-07-08 01:16:04] local.INFO: Packet analysis {"connection_id":127002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e1b"} 
[2026-07-08 01:16:04] local.INFO: Extracted packet for processing {"connection_id":127002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e1b"} 
[2026-07-08 01:16:04] local.INFO: GPS Element Parsed {"raw_longitude":760070400,"raw_latitude":106029512,"longitude_deg":76.00704,"latitude_deg":10.6029512,"altitude":14,"angle":336,"satellites":45,"speed":57,"hex_longitude":"2d4dc100","hex_latitude":"0651e1c8","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132577102032535552,"note":"Value kept but may cause issues"} 
[2026-07-08 01:16:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,235,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 01:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783453386000,"timestamp_ms":1783453386000,"timestamp_seconds":1783453386,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e1b0510"} 
[2026-07-08 01:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:16: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-08 01:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":127002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":127002,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":127002,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27887,"235":206,"19":38144,"24":57,"16":132577102032535552},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,19,24,16]} 
[2026-07-08 01:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-08 01:16:04] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-08 01:16:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-07-08 01:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132577102032535552,"km_value":132577102032535.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:16:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27887,"unknown_235":206,"unknown_19":38144,"ignition":57,"odometer":null}} 
[2026-07-08 01:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":127002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448699,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:16:04] local.INFO: GPS data processed {"connection_id":127002,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:16:04] local.INFO: Acknowledgment sent {"connection_id":127002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:16:07] local.INFO: TCP Data received {"connection_id":125736,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:16:07] local.INFO: Processing buffer {"connection_id":125736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:16:07] local.INFO: IMEI packet received {"connection_id":125736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":125736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:16:08] local.INFO: TCP Data received {"connection_id":125736,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e18d290012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e18d290012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:16:08] local.INFO: Processing buffer {"connection_id":125736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e18d290012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:16:08] local.INFO: Packet analysis {"connection_id":125736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e18"} 
[2026-07-08 01:16:08] local.INFO: Extracted packet for processing {"connection_id":125736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e18"} 
[2026-07-08 01:16:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563952896001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783453242000,"timestamp_ms":1783453242000,"timestamp_seconds":1783453242,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e18d290"} 
[2026-07-08 01:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563952896001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563952896001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:16:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:16:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563952896001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":125736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:16:08] local.INFO: GPS data processed {"connection_id":125736,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:16:08] local.INFO: Acknowledgment sent {"connection_id":125736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:16:09] local.INFO: TCP Data received {"connection_id":127002,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e1b5718012d4d96c006523440000e014b2b..."} 
[2026-07-08 01:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e1b5718012d4d96c006523440000e014b2b..."} 
[2026-07-08 01:16:09] local.INFO: Processing buffer {"connection_id":127002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e1b5718012d4d96c006523440000e014b2b..."} 
[2026-07-08 01:16:09] local.INFO: Packet analysis {"connection_id":127002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e1b"} 
[2026-07-08 01:16:09] local.INFO: Extracted packet for processing {"connection_id":127002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e1b"} 
[2026-07-08 01:16:09] local.INFO: GPS Element Parsed {"raw_longitude":760059584,"raw_latitude":106050624,"longitude_deg":76.0059584,"latitude_deg":10.6050624,"altitude":14,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d4d96c0","hex_latitude":"06523440","is_valid_coordinates":true} 
[2026-07-08 01:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564066816001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132577102032535552,"note":"Value kept but may cause issues"} 
[2026-07-08 01:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5602759438569162752,"note":"Value kept but may cause issues"} 
[2026-07-08 01:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783453407000,"timestamp_ms":1783453407000,"timestamp_seconds":1783453407,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e1b5718"} 
[2026-07-08 01:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-08 01:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":127002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":127002,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":127002,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564066816001,"66":27713,"135":206,"28":31488,"24":0,"16":132577102032535552,"45":5602759438569162752},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,28,24,16,45]} 
[2026-07-08 01:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564066816001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:16:09] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-08 01:16:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-07-08 01:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132577102032535552,"km_value":132577102032535.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":5602759438569162752,"description":"Unknown IO ID 45"} 
[2026-07-08 01:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564066816001,"power":27713,"unknown_135":206,"unknown_28":31488,"ignition":0,"odometer":null,"unknown_45":5602759438569162752}} 
[2026-07-08 01:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":127002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448701,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:16:09] local.INFO: GPS data processed {"connection_id":127002,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:16:09] local.INFO: Acknowledgment sent {"connection_id":127002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:16:13] local.INFO: TCP Data received {"connection_id":125736,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e18d290012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e18d290012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:16:13] local.INFO: Processing buffer {"connection_id":125736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e18d290012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:16:13] local.INFO: Packet analysis {"connection_id":125736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e18"} 
[2026-07-08 01:16:13] local.INFO: Extracted packet for processing {"connection_id":125736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e18"} 
[2026-07-08 01:16:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456563952896001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783453242000,"timestamp_ms":1783453242000,"timestamp_seconds":1783453242,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e18d290"} 
[2026-07-08 01:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:16:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:16:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:16:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456563952896001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456563952896001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:16:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:16:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456563952896001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":125736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:16:13] local.INFO: GPS data processed {"connection_id":125736,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:16:13] local.INFO: Acknowledgment sent {"connection_id":125736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:16:41] local.INFO: TCP Data received {"connection_id":127002,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e1c16800100000000000000000000000000..."} 
[2026-07-08 01:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e1c16800100000000000000000000000000..."} 
[2026-07-08 01:16:41] local.INFO: Processing buffer {"connection_id":127002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e1c16800100000000000000000000000000..."} 
[2026-07-08 01:16:41] local.INFO: Packet analysis {"connection_id":127002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e1c"} 
[2026-07-08 01:16:41] local.INFO: Extracted packet for processing {"connection_id":127002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e1c"} 
[2026-07-08 01:16:41] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-08 01:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564072192001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132577102032535552,"note":"Value kept but may cause issues"} 
[2026-07-08 01:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5590867120808542208,"note":"Value kept but may cause issues"} 
[2026-07-08 01:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783453456000,"timestamp_ms":1783453456000,"timestamp_seconds":1783453456,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e1c1680"} 
[2026-07-08 01:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 01:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":127002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":127002,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":127002,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":127002,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-08 01:16:41] local.INFO: GPS data processed {"connection_id":127002,"processed":0,"errors":0,"total":1} 
[2026-07-08 01:16:41] local.INFO: Acknowledgment sent {"connection_id":127002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:16:57] local.INFO: TCP Data received {"connection_id":124901,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124901,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:16:57] local.INFO: Processing buffer {"connection_id":124901,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:16:57] local.INFO: IMEI packet received {"connection_id":124901,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":124901,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:16:58] local.INFO: TCP Data received {"connection_id":124902,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:16:58] local.INFO: Processing buffer {"connection_id":124902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:16:58] local.INFO: IMEI packet received {"connection_id":124902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":124902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:17:01] local.INFO: TCP Data received {"connection_id":124901,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124901,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:17:01] local.INFO: Processing buffer {"connection_id":124901,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:17:01] local.INFO: IMEI packet received {"connection_id":124901,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":124901,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:17:02] local.INFO: TCP Data received {"connection_id":124901,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e1bc090012d4d3e000652d7480009014b2b..."} 
[2026-07-08 01:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e1bc090012d4d3e000652d7480009014b2b..."} 
[2026-07-08 01:17:02] local.INFO: Processing buffer {"connection_id":124901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e1bc090012d4d3e000652d7480009014b2b..."} 
[2026-07-08 01:17:02] local.INFO: Packet analysis {"connection_id":124901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e1b"} 
[2026-07-08 01:17:02] local.INFO: Extracted packet for processing {"connection_id":124901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e1b"} 
[2026-07-08 01:17:02] local.INFO: GPS Element Parsed {"raw_longitude":760036864,"raw_latitude":106092360,"longitude_deg":76.0036864,"latitude_deg":10.609236,"altitude":9,"angle":331,"satellites":43,"speed":59,"hex_longitude":"2d4d3e00","hex_latitude":"0652d748","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132577102032535552,"note":"Value kept but may cause issues"} 
[2026-07-08 01:17:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,135,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 01:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783453434000,"timestamp_ms":1783453434000,"timestamp_seconds":1783453434,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e1bc090"} 
[2026-07-08 01:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:17: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 01:17:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124901,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124901,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27843,"135":206,"28":31488,"24":59,"16":132577102032535552},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,28,24,16]} 
[2026-07-08 01:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-08 01:17:02] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-08 01:17:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-07-08 01:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132577102032535552,"km_value":132577102032535.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:17:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27843,"unknown_135":206,"unknown_28":31488,"ignition":59,"odometer":null}} 
[2026-07-08 01:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":124901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448703,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:17:02] local.INFO: GPS data processed {"connection_id":124901,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:17:02] local.INFO: Acknowledgment sent {"connection_id":124901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:17:02] local.INFO: TCP Data received {"connection_id":124902,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:17:02] local.INFO: Processing buffer {"connection_id":124902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:17:02] local.INFO: IMEI packet received {"connection_id":124902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":124902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:17:03] local.INFO: TCP Data received {"connection_id":124902,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e1d6a58012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e1d6a58012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:17:03] local.INFO: Processing buffer {"connection_id":124902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e1d6a58012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:17:03] local.INFO: Packet analysis {"connection_id":124902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e1d"} 
[2026-07-08 01:17:03] local.INFO: Extracted packet for processing {"connection_id":124902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e1d"} 
[2026-07-08 01:17:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564029952001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783453543000,"timestamp_ms":1783453543000,"timestamp_seconds":1783453543,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e1d6a58"} 
[2026-07-08 01:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564029952001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564029952001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:17:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:17:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564029952001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":124902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:17:03] local.INFO: GPS data processed {"connection_id":124902,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:17:03] local.INFO: Acknowledgment sent {"connection_id":124902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:17:34] local.INFO: TCP Data received {"connection_id":124901,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e1c1298012d4d0f4006532710000901442f..."} 
[2026-07-08 01:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e1c1298012d4d0f4006532710000901442f..."} 
[2026-07-08 01:17:34] local.INFO: Processing buffer {"connection_id":124901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e1c1298012d4d0f4006532710000901442f..."} 
[2026-07-08 01:17:34] local.INFO: Packet analysis {"connection_id":124901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e1c"} 
[2026-07-08 01:17:34] local.INFO: Extracted packet for processing {"connection_id":124901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e1c"} 
[2026-07-08 01:17:34] local.INFO: GPS Element Parsed {"raw_longitude":760024896,"raw_latitude":106112784,"longitude_deg":76.0024896,"latitude_deg":10.6112784,"altitude":9,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2d4d0f40","hex_latitude":"06532710","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564079104001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132577102032535552,"note":"Value kept but may cause issues"} 
[2026-07-08 01:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5565886216636155904,"note":"Value kept but may cause issues"} 
[2026-07-08 01:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783453455000,"timestamp_ms":1783453455000,"timestamp_seconds":1783453455,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e1c1298"} 
[2026-07-08 01:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 01:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124901,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124901,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564079104001,"66":27821,"77":206,"28":31488,"24":0,"16":132577102032535552,"45":5565886216636155904},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,28,24,16,45]} 
[2026-07-08 01:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564079104001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:17:34] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-07-08 01:17:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-07-08 01:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132577102032535552,"km_value":132577102032535.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5565886216636155904,"description":"Unknown IO ID 45"} 
[2026-07-08 01:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564079104001,"power":27821,"unknown_77":206,"unknown_28":31488,"ignition":0,"odometer":null,"unknown_45":5565886216636155904}} 
[2026-07-08 01:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":124901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448705,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:17:34] local.INFO: GPS data processed {"connection_id":124901,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:17:34] local.INFO: Acknowledgment sent {"connection_id":124901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:17:34] local.INFO: TCP Data received {"connection_id":124902,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e1d6a58012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e1d6a58012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:17:34] local.INFO: Processing buffer {"connection_id":124902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e1d6a58012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:17:34] local.INFO: Packet analysis {"connection_id":124902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e1d"} 
[2026-07-08 01:17:34] local.INFO: Extracted packet for processing {"connection_id":124902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e1d"} 
[2026-07-08 01:17:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564029952001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783453543000,"timestamp_ms":1783453543000,"timestamp_seconds":1783453543,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e1d6a58"} 
[2026-07-08 01:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:17: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-07-08 01: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-07-08 01:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564029952001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564029952001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:17:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:17:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564029952001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":124902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:17:34] local.INFO: GPS data processed {"connection_id":124902,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:17:34] local.INFO: Acknowledgment sent {"connection_id":124902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:17:57] local.INFO: TCP Data received {"connection_id":125004,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:17:57] local.INFO: Processing buffer {"connection_id":125004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:17:57] local.INFO: IMEI packet received {"connection_id":125004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":125004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:17:57] local.INFO: TCP Data received {"connection_id":125737,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125737,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:17:57] local.INFO: Processing buffer {"connection_id":125737,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:17:57] local.INFO: IMEI packet received {"connection_id":125737,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":125737,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:18:01] local.INFO: TCP Data received {"connection_id":125737,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125737,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:18:01] local.INFO: Processing buffer {"connection_id":125737,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:18:01] local.INFO: IMEI packet received {"connection_id":125737,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":125737,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:18:02] local.INFO: TCP Data received {"connection_id":125004,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:18:02] local.INFO: Processing buffer {"connection_id":125004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:18:02] local.INFO: IMEI packet received {"connection_id":125004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":125004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:18:02] local.INFO: TCP Data received {"connection_id":125737,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e1e8780012d4b3b0006565dd80009015b30..."} 
[2026-07-08 01:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e1e8780012d4b3b0006565dd80009015b30..."} 
[2026-07-08 01:18:02] local.INFO: Processing buffer {"connection_id":125737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e1e8780012d4b3b0006565dd80009015b30..."} 
[2026-07-08 01:18:02] local.INFO: Packet analysis {"connection_id":125737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e1e"} 
[2026-07-08 01:18:02] local.INFO: Extracted packet for processing {"connection_id":125737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e1e"} 
[2026-07-08 01:18:02] local.INFO: GPS Element Parsed {"raw_longitude":759905024,"raw_latitude":106323416,"longitude_deg":75.9905024,"latitude_deg":10.6323416,"altitude":9,"angle":347,"satellites":48,"speed":58,"hex_longitude":"2d4b3b00","hex_latitude":"06565dd8","is_valid_coordinates":true} 
[2026-07-08 01:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564124160001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132577535824232448,"note":"Value kept but may cause issues"} 
[2026-07-08 01:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5423037666012416000,"note":"Value kept but may cause issues"} 
[2026-07-08 01:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783453616000,"timestamp_ms":1783453616000,"timestamp_seconds":1783453616,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e1e8780"} 
[2026-07-08 01:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:18: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-07-08 01:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 01:18:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:18:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125737,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125737,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564124160001,"66":27343,"76":206,"28":31488,"24":58,"16":132577535824232448,"45":5423037666012416000},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,28,24,16,45]} 
[2026-07-08 01:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564124160001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:18:02] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-07-08 01:18:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-07-08 01:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132577535824232448,"km_value":132577535824232.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5423037666012416000,"description":"Unknown IO ID 45"} 
[2026-07-08 01:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564124160001,"power":27343,"unknown_76":206,"unknown_28":31488,"ignition":58,"odometer":null,"unknown_45":5423037666012416000}} 
[2026-07-08 01:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":125737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448707,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:18:02] local.INFO: GPS data processed {"connection_id":125737,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:18:02] local.INFO: Acknowledgment sent {"connection_id":125737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:18:03] local.INFO: TCP Data received {"connection_id":125004,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e1d6a58012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e1d6a58012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:18:03] local.INFO: Processing buffer {"connection_id":125004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e1d6a58012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:18:03] local.INFO: Packet analysis {"connection_id":125004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e1d"} 
[2026-07-08 01:18:03] local.INFO: Extracted packet for processing {"connection_id":125004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e1d"} 
[2026-07-08 01:18:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564029952001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783453543000,"timestamp_ms":1783453543000,"timestamp_seconds":1783453543,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e1d6a58"} 
[2026-07-08 01:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564029952001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564029952001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:18:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:18:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564029952001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":125004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:18:03] local.INFO: GPS data processed {"connection_id":125004,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:18:03] local.INFO: Acknowledgment sent {"connection_id":125004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:18:34] local.INFO: TCP Data received {"connection_id":125737,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e1e9ef0012d4b320006567f680009015430..."} 
[2026-07-08 01:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e1e9ef0012d4b320006567f680009015430..."} 
[2026-07-08 01:18:34] local.INFO: Processing buffer {"connection_id":125737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e1e9ef0012d4b320006567f680009015430..."} 
[2026-07-08 01:18:34] local.INFO: Packet analysis {"connection_id":125737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e1e"} 
[2026-07-08 01:18:34] local.INFO: Extracted packet for processing {"connection_id":125737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e1e"} 
[2026-07-08 01:18:34] local.INFO: GPS Element Parsed {"raw_longitude":759902720,"raw_latitude":106332008,"longitude_deg":75.990272,"latitude_deg":10.6332008,"altitude":9,"angle":340,"satellites":48,"speed":59,"hex_longitude":"2d4b3200","hex_latitude":"06567f68","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564125696001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132577965320962048,"note":"Value kept but may cause issues"} 
[2026-07-08 01:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5420926603689318400,"note":"Value kept but may cause issues"} 
[2026-07-08 01:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783453622000,"timestamp_ms":1783453622000,"timestamp_seconds":1783453622,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e1e9ef0"} 
[2026-07-08 01:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 01:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125737,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125737,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564125696001,"66":27680,"76":206,"28":31488,"24":59,"16":132577965320962048,"45":5420926603689318400},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,28,24,16,45]} 
[2026-07-08 01:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564125696001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:18:34] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-07-08 01:18:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-07-08 01:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132577965320962048,"km_value":132577965320962.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5420926603689318400,"description":"Unknown IO ID 45"} 
[2026-07-08 01:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564125696001,"power":27680,"unknown_76":206,"unknown_28":31488,"ignition":59,"odometer":null,"unknown_45":5420926603689318400}} 
[2026-07-08 01:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":125737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448709,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:18:34] local.INFO: GPS data processed {"connection_id":125737,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:18:34] local.INFO: Acknowledgment sent {"connection_id":125737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:18:35] local.INFO: TCP Data received {"connection_id":125004,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e1d6a58012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e1d6a58012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:18:35] local.INFO: Processing buffer {"connection_id":125004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e1d6a58012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:18:35] local.INFO: Packet analysis {"connection_id":125004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e1d"} 
[2026-07-08 01:18:35] local.INFO: Extracted packet for processing {"connection_id":125004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e1d"} 
[2026-07-08 01:18:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564029952001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783453543000,"timestamp_ms":1783453543000,"timestamp_seconds":1783453543,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e1d6a58"} 
[2026-07-08 01:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:18: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-07-08 01:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564029952001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564029952001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:18:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:18:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564029952001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":125004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:18:35] local.INFO: GPS data processed {"connection_id":125004,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:18:35] local.INFO: Acknowledgment sent {"connection_id":125004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:18:57] local.INFO: TCP Data received {"connection_id":124903,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:18:57] local.INFO: Processing buffer {"connection_id":124903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:18:57] local.INFO: IMEI packet received {"connection_id":124903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":124903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:18:57] local.INFO: TCP Data received {"connection_id":127003,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127003,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:18:57] local.INFO: Processing buffer {"connection_id":127003,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:18:57] local.INFO: IMEI packet received {"connection_id":127003,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":127003,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:18:58] local.INFO: TCP Data received {"connection_id":127003,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127003,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:18:58] local.INFO: Processing buffer {"connection_id":127003,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:18:58] local.INFO: IMEI packet received {"connection_id":127003,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":127003,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:19:02] local.INFO: TCP Data received {"connection_id":124903,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:19:02] local.INFO: Processing buffer {"connection_id":124903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:19:02] local.INFO: IMEI packet received {"connection_id":124903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":124903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:19:03] local.INFO: TCP Data received {"connection_id":124903,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e1d6a58012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e1d6a58012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:19:03] local.INFO: Processing buffer {"connection_id":124903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e1d6a58012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:19:03] local.INFO: Packet analysis {"connection_id":124903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e1d"} 
[2026-07-08 01:19:03] local.INFO: Extracted packet for processing {"connection_id":124903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e1d"} 
[2026-07-08 01:19:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564029952001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783453543000,"timestamp_ms":1783453543000,"timestamp_seconds":1783453543,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e1d6a58"} 
[2026-07-08 01:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564029952001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564029952001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:19:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:19:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564029952001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":124903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:19:03] local.INFO: GPS data processed {"connection_id":124903,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:19:03] local.INFO: Acknowledgment sent {"connection_id":124903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:19:04] local.INFO: TCP Data received {"connection_id":127003,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127003,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:19:04] local.INFO: Processing buffer {"connection_id":127003,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:19:04] local.INFO: IMEI packet received {"connection_id":127003,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":127003,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:19:06] local.INFO: TCP Data received {"connection_id":127003,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e1eba48012d4b22000656a440000a014d2f..."} 
[2026-07-08 01:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e1eba48012d4b22000656a440000a014d2f..."} 
[2026-07-08 01:19:06] local.INFO: Processing buffer {"connection_id":127003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e1eba48012d4b22000656a440000a014d2f..."} 
[2026-07-08 01:19:06] local.INFO: Packet analysis {"connection_id":127003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e1e"} 
[2026-07-08 01:19:06] local.INFO: Extracted packet for processing {"connection_id":127003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e1e"} 
[2026-07-08 01:19:06] local.INFO: GPS Element Parsed {"raw_longitude":759898624,"raw_latitude":106341440,"longitude_deg":75.9898624,"latitude_deg":10.634144,"altitude":10,"angle":333,"satellites":47,"speed":59,"hex_longitude":"2d4b2200","hex_latitude":"0656a440","is_valid_coordinates":true} 
[2026-07-08 01:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564127232001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132578463537168384,"note":"Value kept but may cause issues"} 
[2026-07-08 01:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5418393328901122048,"note":"Value kept but may cause issues"} 
[2026-07-08 01:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783453629000,"timestamp_ms":1783453629000,"timestamp_seconds":1783453629,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e1eba48"} 
[2026-07-08 01:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01: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":108,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-08 01:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1026,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127003,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127003,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564127232001,"66":27865,"76":206,"28":31488,"24":59,"16":132578463537168384,"45":5418393328901122048},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,28,24,16,45]} 
[2026-07-08 01:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564127232001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:19:06] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-07-08 01:19:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-07-08 01:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132578463537168384,"km_value":132578463537168.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5418393328901122048,"description":"Unknown IO ID 45"} 
[2026-07-08 01:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564127232001,"power":27865,"unknown_76":206,"unknown_28":31488,"ignition":59,"odometer":null,"unknown_45":5418393328901122048}} 
[2026-07-08 01:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":127003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448712,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:19:06] local.INFO: GPS data processed {"connection_id":127003,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:19:06] local.INFO: Acknowledgment sent {"connection_id":127003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:19:35] local.INFO: TCP Data received {"connection_id":124903,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e1d6a58012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e1d6a58012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:19:35] local.INFO: Processing buffer {"connection_id":124903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e1d6a58012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:19:35] local.INFO: Packet analysis {"connection_id":124903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e1d"} 
[2026-07-08 01:19:35] local.INFO: Extracted packet for processing {"connection_id":124903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e1d"} 
[2026-07-08 01:19:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564029952001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783453543000,"timestamp_ms":1783453543000,"timestamp_seconds":1783453543,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e1d6a58"} 
[2026-07-08 01:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:19: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-07-08 01:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564029952001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564029952001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:19:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:19:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564029952001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":124903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:19:35] local.INFO: GPS data processed {"connection_id":124903,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:19:35] local.INFO: Acknowledgment sent {"connection_id":124903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:19:39] local.INFO: TCP Data received {"connection_id":127003,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e2019d8012d4a3fc0065877d80009014c30..."} 
[2026-07-08 01:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e2019d8012d4a3fc0065877d80009014c30..."} 
[2026-07-08 01:19:39] local.INFO: Processing buffer {"connection_id":127003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e2019d8012d4a3fc0065877d80009014c30..."} 
[2026-07-08 01:19:39] local.INFO: Packet analysis {"connection_id":127003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e20"} 
[2026-07-08 01:19:39] local.INFO: Extracted packet for processing {"connection_id":127003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e20"} 
[2026-07-08 01:19:39] local.INFO: GPS Element Parsed {"raw_longitude":759840704,"raw_latitude":106461144,"longitude_deg":75.9840704,"latitude_deg":10.6461144,"altitude":9,"angle":332,"satellites":48,"speed":59,"hex_longitude":"2d4a3fc0","hex_latitude":"065877d8","is_valid_coordinates":true} 
[2026-07-08 01:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564150528001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132584893103210496,"note":"Value kept but may cause issues"} 
[2026-07-08 01:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354920721683918848,"note":"Value kept but may cause issues"} 
[2026-07-08 01:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783453719000,"timestamp_ms":1783453719000,"timestamp_seconds":1783453719,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e2019d8"} 
[2026-07-08 01:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 01:19:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:19:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":127003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":127003,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":127003,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564150528001,"66":27843,"76":206,"28":31488,"24":59,"16":132584893103210496,"45":5354920721683918848},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,28,24,16,45]} 
[2026-07-08 01:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564150528001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:19:39] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-07-08 01:19:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-07-08 01:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132584893103210496,"km_value":132584893103210.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354920721683918848,"description":"Unknown IO ID 45"} 
[2026-07-08 01:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564150528001,"power":27843,"unknown_76":206,"unknown_28":31488,"ignition":59,"odometer":null,"unknown_45":5354920721683918848}} 
[2026-07-08 01:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":127003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448714,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:19:39] local.INFO: GPS data processed {"connection_id":127003,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:19:39] local.INFO: Acknowledgment sent {"connection_id":127003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:20:02] local.INFO: TCP Data received {"connection_id":124904,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:20:02] local.INFO: Processing buffer {"connection_id":124904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:20:02] local.INFO: IMEI packet received {"connection_id":124904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":124904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:20:07] local.INFO: TCP Data received {"connection_id":124904,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:20:07] local.INFO: Processing buffer {"connection_id":124904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:20:07] local.INFO: IMEI packet received {"connection_id":124904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":124904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:20:08] local.INFO: TCP Data received {"connection_id":125005,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125005,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:20:08] local.INFO: Processing buffer {"connection_id":125005,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:20:08] local.INFO: IMEI packet received {"connection_id":125005,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":125005,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:20:08] local.INFO: TCP Data received {"connection_id":124904,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e1d6a58012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e1d6a58012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:20:08] local.INFO: Processing buffer {"connection_id":124904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e1d6a58012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:20:08] local.INFO: Packet analysis {"connection_id":124904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e1d"} 
[2026-07-08 01:20:08] local.INFO: Extracted packet for processing {"connection_id":124904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e1d"} 
[2026-07-08 01:20:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564029952001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783453543000,"timestamp_ms":1783453543000,"timestamp_seconds":1783453543,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e1d6a58"} 
[2026-07-08 01:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564029952001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564029952001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:20:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:20:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564029952001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":124904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:20:08] local.INFO: GPS data processed {"connection_id":124904,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:20:08] local.INFO: Acknowledgment sent {"connection_id":124904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:20:13] local.INFO: TCP Data received {"connection_id":124904,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e1d6a58012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e1d6a58012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:20:13] local.INFO: Processing buffer {"connection_id":124904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e1d6a58012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:20:13] local.INFO: Packet analysis {"connection_id":124904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e1d"} 
[2026-07-08 01:20:13] local.INFO: Extracted packet for processing {"connection_id":124904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e1d"} 
[2026-07-08 01:20:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564029952001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783453543000,"timestamp_ms":1783453543000,"timestamp_seconds":1783453543,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e1d6a58"} 
[2026-07-08 01:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:20:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564029952001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564029952001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:20:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:20:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564029952001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":124904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:20:13] local.INFO: GPS data processed {"connection_id":124904,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:20:13] local.INFO: Acknowledgment sent {"connection_id":124904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:20:55] local.INFO: TCP Data received {"connection_id":125005,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125005,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:20:55] local.INFO: Processing buffer {"connection_id":125005,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:20:55] local.INFO: IMEI packet received {"connection_id":125005,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":125005,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:20:57] local.INFO: TCP Data received {"connection_id":127004,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127004,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:20:57] local.INFO: Processing buffer {"connection_id":127004,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:20:57] local.INFO: IMEI packet received {"connection_id":127004,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":127004,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:20:57] local.INFO: TCP Data received {"connection_id":125006,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:20:57] local.INFO: Processing buffer {"connection_id":125006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:20:57] local.INFO: IMEI packet received {"connection_id":125006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":125006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:21:02] local.INFO: TCP Data received {"connection_id":127004,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127004,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:21:02] local.INFO: Processing buffer {"connection_id":127004,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:21:02] local.INFO: IMEI packet received {"connection_id":127004,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":127004,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:21:02] local.INFO: TCP Data received {"connection_id":125006,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:21:02] local.INFO: Processing buffer {"connection_id":125006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:21:02] local.INFO: IMEI packet received {"connection_id":125006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":125006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:21:03] local.INFO: TCP Data received {"connection_id":125006,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e1d6a58012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e1d6a58012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:21:03] local.INFO: Processing buffer {"connection_id":125006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e1d6a58012dc5eb400537d5a00034014430..."} 
[2026-07-08 01:21:03] local.INFO: Packet analysis {"connection_id":125006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e1d"} 
[2026-07-08 01:21:03] local.INFO: Extracted packet for processing {"connection_id":125006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e1d"} 
[2026-07-08 01:21:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564029952001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783453543000,"timestamp_ms":1783453543000,"timestamp_seconds":1783453543,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e1d6a58"} 
[2026-07-08 01:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564029952001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564029952001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:21:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:21:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564029952001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":125006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:21:03] local.INFO: GPS data processed {"connection_id":125006,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:21:03] local.INFO: Acknowledgment sent {"connection_id":125006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:21:03] local.INFO: TCP Data received {"connection_id":127004,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e215a28012d495dc0065a1078001001482e..."} 
[2026-07-08 01:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e215a28012d495dc0065a1078001001482e..."} 
[2026-07-08 01:21:03] local.INFO: Processing buffer {"connection_id":127004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e215a28012d495dc0065a1078001001482e..."} 
[2026-07-08 01:21:03] local.INFO: Packet analysis {"connection_id":127004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e21"} 
[2026-07-08 01:21:03] local.INFO: Extracted packet for processing {"connection_id":127004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e21"} 
[2026-07-08 01:21:03] local.INFO: GPS Element Parsed {"raw_longitude":759782848,"raw_latitude":106565752,"longitude_deg":75.9782848,"latitude_deg":10.6565752,"altitude":16,"angle":328,"satellites":46,"speed":59,"hex_longitude":"2d495dc0","hex_latitude":"065a1078","is_valid_coordinates":true} 
[2026-07-08 01:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564171520001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132590669834223616,"note":"Value kept but may cause issues"} 
[2026-07-08 01:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5292081433160120320,"note":"Value kept but may cause issues"} 
[2026-07-08 01:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783453801000,"timestamp_ms":1783453801000,"timestamp_seconds":1783453801,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e215a28"} 
[2026-07-08 01:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:21: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-07-08 01: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-08 01:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127004,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127004,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564171520001,"66":27865,"76":206,"28":31488,"24":59,"16":132590669834223616,"45":5292081433160120320},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,28,24,16,45]} 
[2026-07-08 01:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564171520001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:21:03] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-07-08 01:21:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-07-08 01:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132590669834223616,"km_value":132590669834223.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5292081433160120320,"description":"Unknown IO ID 45"} 
[2026-07-08 01:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564171520001,"power":27865,"unknown_76":206,"unknown_28":31488,"ignition":59,"odometer":null,"unknown_45":5292081433160120320}} 
[2026-07-08 01:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":127004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448718,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:21:03] local.INFO: GPS data processed {"connection_id":127004,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:21:03] local.INFO: Acknowledgment sent {"connection_id":127004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:21:34] local.INFO: TCP Data received {"connection_id":125006,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e220220012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e220220012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:21:34] local.INFO: Processing buffer {"connection_id":125006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e220220012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:21:34] local.INFO: Packet analysis {"connection_id":125006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e22"} 
[2026-07-08 01:21:34] local.INFO: Extracted packet for processing {"connection_id":125006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e22"} 
[2026-07-08 01:21:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564107008001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783453844000,"timestamp_ms":1783453844000,"timestamp_seconds":1783453844,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e220220"} 
[2026-07-08 01:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:21: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-07-08 01:21:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564107008001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564107008001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:21:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:21:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564107008001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":125006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:21:34] local.INFO: GPS data processed {"connection_id":125006,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:21:34] local.INFO: Acknowledgment sent {"connection_id":125006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:21:57] local.INFO: TCP Data received {"connection_id":124905,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:21:57] local.INFO: Processing buffer {"connection_id":124905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:21:57] local.INFO: IMEI packet received {"connection_id":124905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":124905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:22:02] local.INFO: TCP Data received {"connection_id":124905,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:22:02] local.INFO: Processing buffer {"connection_id":124905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:22:02] local.INFO: IMEI packet received {"connection_id":124905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":124905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:22:03] local.INFO: TCP Data received {"connection_id":124905,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e220220012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e220220012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:22:03] local.INFO: Processing buffer {"connection_id":124905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e220220012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:22:03] local.INFO: Packet analysis {"connection_id":124905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e22"} 
[2026-07-08 01:22:03] local.INFO: Extracted packet for processing {"connection_id":124905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e22"} 
[2026-07-08 01:22:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564107008001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783453844000,"timestamp_ms":1783453844000,"timestamp_seconds":1783453844,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e220220"} 
[2026-07-08 01:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564107008001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564107008001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:22:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:22:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564107008001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":124905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:22:03] local.INFO: GPS data processed {"connection_id":124905,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:22:03] local.INFO: Acknowledgment sent {"connection_id":124905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:22:08] local.INFO: TCP Data received {"connection_id":127005,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127005,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:22:08] local.INFO: Processing buffer {"connection_id":127005,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:22:08] local.INFO: IMEI packet received {"connection_id":127005,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":127005,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:22:08] local.INFO: TCP Data received {"connection_id":127005,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127005,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:22:08] local.INFO: Processing buffer {"connection_id":127005,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:22:08] local.INFO: IMEI packet received {"connection_id":127005,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":127005,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:22:13] local.INFO: TCP Data received {"connection_id":127005,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127005,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:22:13] local.INFO: Processing buffer {"connection_id":127005,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:22:13] local.INFO: IMEI packet received {"connection_id":127005,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":127005,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:22:14] local.INFO: TCP Data received {"connection_id":127005,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e225040012d48f080065b6668000c01432d..."} 
[2026-07-08 01:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e225040012d48f080065b6668000c01432d..."} 
[2026-07-08 01:22:14] local.INFO: Processing buffer {"connection_id":127005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e225040012d48f080065b6668000c01432d..."} 
[2026-07-08 01:22:14] local.INFO: Packet analysis {"connection_id":127005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e22"} 
[2026-07-08 01:22:14] local.INFO: Extracted packet for processing {"connection_id":127005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e22"} 
[2026-07-08 01:22:14] local.INFO: GPS Element Parsed {"raw_longitude":759754880,"raw_latitude":106653288,"longitude_deg":75.975488,"latitude_deg":10.6653288,"altitude":12,"angle":323,"satellites":45,"speed":59,"hex_longitude":"2d48f080","hex_latitude":"065b6668","is_valid_coordinates":true} 
[2026-07-08 01:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564187392001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132595192434786304,"note":"Value kept but may cause issues"} 
[2026-07-08 01:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5262385823139311616,"note":"Value kept but may cause issues"} 
[2026-07-08 01:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783453864000,"timestamp_ms":1783453864000,"timestamp_seconds":1783453864,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e225040"} 
[2026-07-08 01:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:22:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 01:22:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:22:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":127005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":127005,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":127005,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564187392001,"66":27767,"52":206,"19":47872,"24":59,"16":132595192434786304,"45":5262385823139311616},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,19,24,16,45]} 
[2026-07-08 01:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564187392001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:22:14] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-08 01:22:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-07-08 01:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132595192434786304,"km_value":132595192434786.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5262385823139311616,"description":"Unknown IO ID 45"} 
[2026-07-08 01:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564187392001,"power":27767,"unknown_52":206,"unknown_19":47872,"ignition":59,"odometer":null,"unknown_45":5262385823139311616}} 
[2026-07-08 01:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":127005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448721,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:22:14] local.INFO: GPS data processed {"connection_id":127005,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:22:14] local.INFO: Acknowledgment sent {"connection_id":127005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:22:30] local.INFO: TCP Data received {"connection_id":127004,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e217198012d494ec0065a2ff0000f015331..."} 
[2026-07-08 01:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e217198012d494ec0065a2ff0000f015331..."} 
[2026-07-08 01:22:30] local.INFO: Processing buffer {"connection_id":127004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e217198012d494ec0065a2ff0000f015331..."} 
[2026-07-08 01:22:30] local.INFO: Packet analysis {"connection_id":127004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e21"} 
[2026-07-08 01:22:30] local.INFO: Extracted packet for processing {"connection_id":127004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e21"} 
[2026-07-08 01:22:30] local.INFO: GPS Element Parsed {"raw_longitude":759779008,"raw_latitude":106573808,"longitude_deg":75.9779008,"latitude_deg":10.6573808,"altitude":15,"angle":339,"satellites":49,"speed":59,"hex_longitude":"2d494ec0","hex_latitude":"065a2ff0","is_valid_coordinates":true} 
[2026-07-08 01:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564173056001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132591099330953216,"note":"Value kept but may cause issues"} 
[2026-07-08 01:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5286592671116195840,"note":"Value kept but may cause issues"} 
[2026-07-08 01:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783453807000,"timestamp_ms":1783453807000,"timestamp_seconds":1783453807,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e217198"} 
[2026-07-08 01:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 01:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":127004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":127004,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":127004,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564173056001,"66":27952,"76":206,"28":31488,"24":59,"16":132591099330953216,"45":5286592671116195840},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,28,24,16,45]} 
[2026-07-08 01:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564173056001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:22:30] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-07-08 01:22:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-07-08 01:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132591099330953216,"km_value":132591099330953.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5286592671116195840,"description":"Unknown IO ID 45"} 
[2026-07-08 01:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564173056001,"power":27952,"unknown_76":206,"unknown_28":31488,"ignition":59,"odometer":null,"unknown_45":5286592671116195840}} 
[2026-07-08 01:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":127004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448722,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:22:30] local.INFO: GPS data processed {"connection_id":127004,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:22:30] local.INFO: Acknowledgment sent {"connection_id":127004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:22:34] local.INFO: TCP Data received {"connection_id":124905,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e220220012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e220220012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:22:34] local.INFO: Processing buffer {"connection_id":124905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e220220012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:22:34] local.INFO: Packet analysis {"connection_id":124905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e22"} 
[2026-07-08 01:22:34] local.INFO: Extracted packet for processing {"connection_id":124905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e22"} 
[2026-07-08 01:22:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564107008001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783453844000,"timestamp_ms":1783453844000,"timestamp_seconds":1783453844,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e220220"} 
[2026-07-08 01:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:22: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-07-08 01:22:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564107008001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564107008001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:22:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:22:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564107008001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":124905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:22:34] local.INFO: GPS data processed {"connection_id":124905,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:22:34] local.INFO: Acknowledgment sent {"connection_id":124905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:22:57] local.INFO: TCP Data received {"connection_id":125738,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125738,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:22:57] local.INFO: Processing buffer {"connection_id":125738,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:22:57] local.INFO: IMEI packet received {"connection_id":125738,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":125738,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:23:02] local.INFO: TCP Data received {"connection_id":125738,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125738,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:23:02] local.INFO: Processing buffer {"connection_id":125738,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:23:02] local.INFO: IMEI packet received {"connection_id":125738,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":125738,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:23:02] local.INFO: TCP Data received {"connection_id":125739,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:23:02] local.INFO: Processing buffer {"connection_id":125739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:23:02] local.INFO: IMEI packet received {"connection_id":125739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":125739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:23:03] local.INFO: TCP Data received {"connection_id":125738,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e235210012d483a40065cafe80008015a31..."} 
[2026-07-08 01:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e235210012d483a40065cafe80008015a31..."} 
[2026-07-08 01:23:03] local.INFO: Processing buffer {"connection_id":125738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e235210012d483a40065cafe80008015a31..."} 
[2026-07-08 01:23:03] local.INFO: Packet analysis {"connection_id":125738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e23"} 
[2026-07-08 01:23:03] local.INFO: Extracted packet for processing {"connection_id":125738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e23"} 
[2026-07-08 01:23:03] local.INFO: GPS Element Parsed {"raw_longitude":759708224,"raw_latitude":106737640,"longitude_deg":75.9708224,"latitude_deg":10.673764,"altitude":8,"angle":346,"satellites":49,"speed":58,"hex_longitude":"2d483a40","hex_latitude":"065cafe8","is_valid_coordinates":true} 
[2026-07-08 01:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564204288001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132599921193779200,"note":"Value kept but may cause issues"} 
[2026-07-08 01:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5207075990236866560,"note":"Value kept but may cause issues"} 
[2026-07-08 01:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783453930000,"timestamp_ms":1783453930000,"timestamp_seconds":1783453930,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e235210"} 
[2026-07-08 01:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:23: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-07-08 01: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 01:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125738,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125738,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564204288001,"66":27800,"51":206,"28":31488,"24":58,"16":132599921193779200,"45":5207075990236866560},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,28,24,16,45]} 
[2026-07-08 01:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564204288001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:23:03] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-08 01:23:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-07-08 01:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132599921193779200,"km_value":132599921193779.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5207075990236866560,"description":"Unknown IO ID 45"} 
[2026-07-08 01:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564204288001,"power":27800,"unknown_51":206,"unknown_28":31488,"ignition":58,"odometer":null,"unknown_45":5207075990236866560}} 
[2026-07-08 01:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":125738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448724,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:23:03] local.INFO: GPS data processed {"connection_id":125738,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:23:03] local.INFO: Acknowledgment sent {"connection_id":125738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:23:11] local.INFO: TCP Data received {"connection_id":125739,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:23:11] local.INFO: Processing buffer {"connection_id":125739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:23:11] local.INFO: IMEI packet received {"connection_id":125739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":125739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:23:11] local.INFO: TCP Data received {"connection_id":125739,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e220220012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e220220012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:23:11] local.INFO: Processing buffer {"connection_id":125739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e220220012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:23:11] local.INFO: Packet analysis {"connection_id":125739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e22"} 
[2026-07-08 01:23:11] local.INFO: Extracted packet for processing {"connection_id":125739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e22"} 
[2026-07-08 01:23:11] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564107008001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783453844000,"timestamp_ms":1783453844000,"timestamp_seconds":1783453844,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e220220"} 
[2026-07-08 01:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564107008001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564107008001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:23:11] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:23:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564107008001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":125739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:23:11] local.INFO: GPS data processed {"connection_id":125739,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:23:11] local.INFO: Acknowledgment sent {"connection_id":125739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:23:12] local.INFO: TCP Data received {"connection_id":125739,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e220220012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e220220012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:23:12] local.INFO: Processing buffer {"connection_id":125739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e220220012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:23:12] local.INFO: Packet analysis {"connection_id":125739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e22"} 
[2026-07-08 01:23:12] local.INFO: Extracted packet for processing {"connection_id":125739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e22"} 
[2026-07-08 01:23:12] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564107008001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783453844000,"timestamp_ms":1783453844000,"timestamp_seconds":1783453844,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e220220"} 
[2026-07-08 01:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564107008001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564107008001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:23:12] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:23:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564107008001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":125739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:23:12] local.INFO: GPS data processed {"connection_id":125739,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:23:12] local.INFO: Acknowledgment sent {"connection_id":125739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:23:42] local.INFO: TCP Data received {"connection_id":125738,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e236d68012d483080065cd7000009015831..."} 
[2026-07-08 01:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e236d68012d483080065cd7000009015831..."} 
[2026-07-08 01:23:42] local.INFO: Processing buffer {"connection_id":125738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e236d68012d483080065cd7000009015831..."} 
[2026-07-08 01:23:42] local.INFO: Packet analysis {"connection_id":125738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e23"} 
[2026-07-08 01:23:42] local.INFO: Extracted packet for processing {"connection_id":125738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e23"} 
[2026-07-08 01:23:42] local.INFO: GPS Element Parsed {"raw_longitude":759705728,"raw_latitude":106747648,"longitude_deg":75.9705728,"latitude_deg":10.6747648,"altitude":9,"angle":344,"satellites":49,"speed":57,"hex_longitude":"2d483080","hex_latitude":"065cd700","is_valid_coordinates":true} 
[2026-07-08 01:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564206080001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132600423704952832,"note":"Value kept but may cause issues"} 
[2026-07-08 01:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5204542715449042944,"note":"Value kept but may cause issues"} 
[2026-07-08 01:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783453937000,"timestamp_ms":1783453937000,"timestamp_seconds":1783453937,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e236d68"} 
[2026-07-08 01:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 01:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":125738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":125738,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":125738,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564206080001,"66":27952,"51":206,"28":31488,"24":57,"16":132600423704952832,"45":5204542715449042944},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,28,24,16,45]} 
[2026-07-08 01:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564206080001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:23:42] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-08 01:23:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-07-08 01:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132600423704952832,"km_value":132600423704952.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":5204542715449042944,"description":"Unknown IO ID 45"} 
[2026-07-08 01:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564206080001,"power":27952,"unknown_51":206,"unknown_28":31488,"ignition":57,"odometer":null,"unknown_45":5204542715449042944}} 
[2026-07-08 01:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":125738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448727,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:23:42] local.INFO: GPS data processed {"connection_id":125738,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:23:42] local.INFO: Acknowledgment sent {"connection_id":125738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:23:57] local.INFO: TCP Data received {"connection_id":125740,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:23:57] local.INFO: Processing buffer {"connection_id":125740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:23:57] local.INFO: IMEI packet received {"connection_id":125740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":125740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:23:58] local.INFO: TCP Data received {"connection_id":125741,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125741,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:23:58] local.INFO: Processing buffer {"connection_id":125741,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:23:58] local.INFO: IMEI packet received {"connection_id":125741,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":125741,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:24:00] local.INFO: TCP Data received {"connection_id":125741,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125741,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:24:00] local.INFO: Processing buffer {"connection_id":125741,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:24:00] local.INFO: IMEI packet received {"connection_id":125741,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":125741,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:24:02] local.INFO: TCP Data received {"connection_id":125741,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125741,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:24:02] local.INFO: Processing buffer {"connection_id":125741,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:24:02] local.INFO: IMEI packet received {"connection_id":125741,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":125741,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:24:02] local.INFO: TCP Data received {"connection_id":125740,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:24:02] local.INFO: Processing buffer {"connection_id":125740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:24:02] local.INFO: IMEI packet received {"connection_id":125740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":125740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:24:04] local.INFO: TCP Data received {"connection_id":125741,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e2388c0012d482440065cfc20000c015432..."} 
[2026-07-08 01:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e2388c0012d482440065cfc20000c015432..."} 
[2026-07-08 01:24:04] local.INFO: Processing buffer {"connection_id":125741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e2388c0012d482440065cfc20000c015432..."} 
[2026-07-08 01:24:04] local.INFO: Packet analysis {"connection_id":125741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e23"} 
[2026-07-08 01:24:04] local.INFO: Extracted packet for processing {"connection_id":125741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e23"} 
[2026-07-08 01:24:04] local.INFO: GPS Element Parsed {"raw_longitude":759702592,"raw_latitude":106757152,"longitude_deg":75.9702592,"latitude_deg":10.6757152,"altitude":12,"angle":340,"satellites":50,"speed":55,"hex_longitude":"2d482440","hex_latitude":"065cfc20","is_valid_coordinates":true} 
[2026-07-08 01:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564207872001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132600909036257280,"note":"Value kept but may cause issues"} 
[2026-07-08 01:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5201798334428676096,"note":"Value kept but may cause issues"} 
[2026-07-08 01:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783453944000,"timestamp_ms":1783453944000,"timestamp_seconds":1783453944,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e2388c0"} 
[2026-07-08 01:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:24: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-07-08 01: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-08 01:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125741,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125741,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564207872001,"66":27984,"51":206,"28":31488,"24":55,"16":132600909036257280,"45":5201798334428676096},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,28,24,16,45]} 
[2026-07-08 01:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564207872001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:24:04] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-08 01:24:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-07-08 01:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132600909036257280,"km_value":132600909036257.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5201798334428676096,"description":"Unknown IO ID 45"} 
[2026-07-08 01:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564207872001,"power":27984,"unknown_51":206,"unknown_28":31488,"ignition":55,"odometer":null,"unknown_45":5201798334428676096}} 
[2026-07-08 01:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":125741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448728,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:24:04] local.INFO: GPS data processed {"connection_id":125741,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:24:04] local.INFO: Acknowledgment sent {"connection_id":125741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:24:17] local.INFO: TCP Data received {"connection_id":125740,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e220220012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e220220012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:24:17] local.INFO: Processing buffer {"connection_id":125740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e220220012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:24:17] local.INFO: Packet analysis {"connection_id":125740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e22"} 
[2026-07-08 01:24:17] local.INFO: Extracted packet for processing {"connection_id":125740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e22"} 
[2026-07-08 01:24:17] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564107008001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783453844000,"timestamp_ms":1783453844000,"timestamp_seconds":1783453844,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e220220"} 
[2026-07-08 01:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:24: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-07-08 01:24:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":125740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":125740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":125740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564107008001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564107008001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:24:17] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:24:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564107008001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":125740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:24:17] local.INFO: GPS data processed {"connection_id":125740,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:24:17] local.INFO: Acknowledgment sent {"connection_id":125740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:24:36] local.INFO: TCP Data received {"connection_id":125741,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e24b588012d476cc0065e8dd8000a01502f..."} 
[2026-07-08 01:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e24b588012d476cc0065e8dd8000a01502f..."} 
[2026-07-08 01:24:36] local.INFO: Processing buffer {"connection_id":125741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e24b588012d476cc0065e8dd8000a01502f..."} 
[2026-07-08 01:24:36] local.INFO: Packet analysis {"connection_id":125741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e24"} 
[2026-07-08 01:24:36] local.INFO: Extracted packet for processing {"connection_id":125741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e24"} 
[2026-07-08 01:24:36] local.INFO: GPS Element Parsed {"raw_longitude":759655616,"raw_latitude":106859992,"longitude_deg":75.9655616,"latitude_deg":10.6859992,"altitude":10,"angle":336,"satellites":47,"speed":58,"hex_longitude":"2d476cc0","hex_latitude":"065e8dd8","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564227840001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132606372234657792,"note":"Value kept but may cause issues"} 
[2026-07-08 01:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5150640257438181376,"note":"Value kept but may cause issues"} 
[2026-07-08 01:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783454021000,"timestamp_ms":1783454021000,"timestamp_seconds":1783454021,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e24b588"} 
[2026-07-08 01:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-08 01:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125741,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125741,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564227840001,"66":27800,"52":206,"19":47872,"24":58,"16":132606372234657792,"45":5150640257438181376},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,19,24,16,45]} 
[2026-07-08 01:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564227840001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:24:36] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-08 01:24:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-07-08 01:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132606372234657792,"km_value":132606372234657.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5150640257438181376,"description":"Unknown IO ID 45"} 
[2026-07-08 01:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564227840001,"power":27800,"unknown_52":206,"unknown_19":47872,"ignition":58,"odometer":null,"unknown_45":5150640257438181376}} 
[2026-07-08 01:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":125741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448730,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:24:36] local.INFO: GPS data processed {"connection_id":125741,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:24:36] local.INFO: Acknowledgment sent {"connection_id":125741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:24:57] local.INFO: TCP Data received {"connection_id":124906,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:24:57] local.INFO: Processing buffer {"connection_id":124906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:24:57] local.INFO: IMEI packet received {"connection_id":124906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":124906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:24:57] local.INFO: TCP Data received {"connection_id":127006,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127006,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:24:57] local.INFO: Processing buffer {"connection_id":127006,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:24:57] local.INFO: IMEI packet received {"connection_id":127006,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":127006,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:24:59] local.INFO: TCP Data received {"connection_id":127006,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127006,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:24:59] local.INFO: Processing buffer {"connection_id":127006,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:24:59] local.INFO: IMEI packet received {"connection_id":127006,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":127006,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:25:02] local.INFO: TCP Data received {"connection_id":124906,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:25:02] local.INFO: Processing buffer {"connection_id":124906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:25:02] local.INFO: IMEI packet received {"connection_id":124906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":124906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:25:03] local.INFO: TCP Data received {"connection_id":127006,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127006,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:25:03] local.INFO: Processing buffer {"connection_id":127006,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:25:03] local.INFO: IMEI packet received {"connection_id":127006,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":127006,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:25:03] local.INFO: TCP Data received {"connection_id":124906,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e220220012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e220220012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:25:03] local.INFO: Processing buffer {"connection_id":124906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e220220012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:25:03] local.INFO: Packet analysis {"connection_id":124906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e22"} 
[2026-07-08 01:25:03] local.INFO: Extracted packet for processing {"connection_id":124906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e22"} 
[2026-07-08 01:25:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564107008001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783453844000,"timestamp_ms":1783453844000,"timestamp_seconds":1783453844,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e220220"} 
[2026-07-08 01:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564107008001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564107008001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:25:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:25:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564107008001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":124906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:25:03] local.INFO: GPS data processed {"connection_id":124906,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:25:03] local.INFO: Acknowledgment sent {"connection_id":124906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:25:04] local.INFO: TCP Data received {"connection_id":127006,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e24d0e0012d475c40065eb2e8000a015030..."} 
[2026-07-08 01:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e24d0e0012d475c40065eb2e8000a015030..."} 
[2026-07-08 01:25:04] local.INFO: Processing buffer {"connection_id":127006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e24d0e0012d475c40065eb2e8000a015030..."} 
[2026-07-08 01:25:04] local.INFO: Packet analysis {"connection_id":127006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e24"} 
[2026-07-08 01:25:04] local.INFO: Extracted packet for processing {"connection_id":127006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e24"} 
[2026-07-08 01:25:04] local.INFO: GPS Element Parsed {"raw_longitude":759651392,"raw_latitude":106869480,"longitude_deg":75.9651392,"latitude_deg":10.686948,"altitude":10,"angle":336,"satellites":48,"speed":58,"hex_longitude":"2d475c40","hex_latitude":"065eb2e8","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564229376001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132606874745831424,"note":"Value kept but may cause issues"} 
[2026-07-08 01:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5146699607766325248,"note":"Value kept but may cause issues"} 
[2026-07-08 01:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783454028000,"timestamp_ms":1783454028000,"timestamp_seconds":1783454028,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e24d0e0"} 
[2026-07-08 01:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:25: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-07-08 01: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 01:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":127006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":127006,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":127006,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564229376001,"66":27767,"52":206,"19":47872,"24":58,"16":132606874745831424,"45":5146699607766325248},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,19,24,16,45]} 
[2026-07-08 01:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564229376001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:25:04] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-08 01:25:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-07-08 01:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132606874745831424,"km_value":132606874745831.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5146699607766325248,"description":"Unknown IO ID 45"} 
[2026-07-08 01:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564229376001,"power":27767,"unknown_52":206,"unknown_19":47872,"ignition":58,"odometer":null,"unknown_45":5146699607766325248}} 
[2026-07-08 01:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":127006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448732,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:25:04] local.INFO: GPS data processed {"connection_id":127006,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:25:04] local.INFO: Acknowledgment sent {"connection_id":127006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:25:34] local.INFO: TCP Data received {"connection_id":124906,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e220220012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e220220012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:25:34] local.INFO: Processing buffer {"connection_id":124906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e220220012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:25:34] local.INFO: Packet analysis {"connection_id":124906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e22"} 
[2026-07-08 01:25:34] local.INFO: Extracted packet for processing {"connection_id":124906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e22"} 
[2026-07-08 01:25:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564107008001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783453844000,"timestamp_ms":1783453844000,"timestamp_seconds":1783453844,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e220220"} 
[2026-07-08 01:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:25: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-07-08 01: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-07-08 01:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564107008001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564107008001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:25:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:25:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564107008001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":124906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:25:34] local.INFO: GPS data processed {"connection_id":124906,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:25:34] local.INFO: Acknowledgment sent {"connection_id":124906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:25:36] local.INFO: TCP Data received {"connection_id":127006,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e24e850012d474e00065ed2b8000a015030..."} 
[2026-07-08 01:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e24e850012d474e00065ed2b8000a015030..."} 
[2026-07-08 01:25:36] local.INFO: Processing buffer {"connection_id":127006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e24e850012d474e00065ed2b8000a015030..."} 
[2026-07-08 01:25:36] local.INFO: Packet analysis {"connection_id":127006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e24"} 
[2026-07-08 01:25:36] local.INFO: Extracted packet for processing {"connection_id":127006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e24"} 
[2026-07-08 01:25:36] local.INFO: GPS Element Parsed {"raw_longitude":759647744,"raw_latitude":106877624,"longitude_deg":75.9647744,"latitude_deg":10.6877624,"altitude":10,"angle":336,"satellites":48,"speed":59,"hex_longitude":"2d474e00","hex_latitude":"065ed2b8","is_valid_coordinates":true} 
[2026-07-08 01:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564231168001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132607308537528320,"note":"Value kept but may cause issues"} 
[2026-07-08 01:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5142055270653028352,"note":"Value kept but may cause issues"} 
[2026-07-08 01:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783454034000,"timestamp_ms":1783454034000,"timestamp_seconds":1783454034,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e24e850"} 
[2026-07-08 01:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 01:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127006,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127006,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564231168001,"66":27745,"52":206,"19":47872,"24":59,"16":132607308537528320,"45":5142055270653028352},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,19,24,16,45]} 
[2026-07-08 01:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564231168001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:25:36] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-08 01:25:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-07-08 01:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132607308537528320,"km_value":132607308537528.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5142055270653028352,"description":"Unknown IO ID 45"} 
[2026-07-08 01:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564231168001,"power":27745,"unknown_52":206,"unknown_19":47872,"ignition":59,"odometer":null,"unknown_45":5142055270653028352}} 
[2026-07-08 01:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":127006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448734,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:25:36] local.INFO: GPS data processed {"connection_id":127006,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:25:36] local.INFO: Acknowledgment sent {"connection_id":127006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:25:57] local.INFO: TCP Data received {"connection_id":125742,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:25:57] local.INFO: Processing buffer {"connection_id":125742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:25:57] local.INFO: IMEI packet received {"connection_id":125742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":125742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:26:02] local.INFO: TCP Data received {"connection_id":125742,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:26:02] local.INFO: Processing buffer {"connection_id":125742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:26:02] local.INFO: IMEI packet received {"connection_id":125742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":125742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:26:03] local.INFO: TCP Data received {"connection_id":124907,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124907,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:26:03] local.INFO: Processing buffer {"connection_id":124907,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:26:03] local.INFO: IMEI packet received {"connection_id":124907,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":124907,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:26:03] local.INFO: TCP Data received {"connection_id":125742,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e220220012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e220220012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:26:03] local.INFO: Processing buffer {"connection_id":125742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e220220012dc5eb400537d5a00034014431..."} 
[2026-07-08 01:26:03] local.INFO: Packet analysis {"connection_id":125742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e22"} 
[2026-07-08 01:26:03] local.INFO: Extracted packet for processing {"connection_id":125742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e22"} 
[2026-07-08 01:26:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564107008001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783453844000,"timestamp_ms":1783453844000,"timestamp_seconds":1783453844,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e220220"} 
[2026-07-08 01:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564107008001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564107008001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:26:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:26:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564107008001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":125742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:26:03] local.INFO: GPS data processed {"connection_id":125742,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:26:03] local.INFO: Acknowledgment sent {"connection_id":125742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:26:04] local.INFO: TCP Data received {"connection_id":124907,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124907,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:26:04] local.INFO: Processing buffer {"connection_id":124907,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:26:04] local.INFO: IMEI packet received {"connection_id":124907,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":124907,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:26:09] local.INFO: TCP Data received {"connection_id":124907,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124907,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:26:09] local.INFO: Processing buffer {"connection_id":124907,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:26:09] local.INFO: IMEI packet received {"connection_id":124907,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":124907,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:26:10] local.INFO: TCP Data received {"connection_id":124907,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e25fda8012d46a60006604538000e015a31..."} 
[2026-07-08 01:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e25fda8012d46a60006604538000e015a31..."} 
[2026-07-08 01:26:10] local.INFO: Processing buffer {"connection_id":124907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e25fda8012d46a60006604538000e015a31..."} 
[2026-07-08 01:26:10] local.INFO: Packet analysis {"connection_id":124907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e25"} 
[2026-07-08 01:26:10] local.INFO: Extracted packet for processing {"connection_id":124907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e25"} 
[2026-07-08 01:26:10] local.INFO: GPS Element Parsed {"raw_longitude":759604736,"raw_latitude":106972472,"longitude_deg":75.9604736,"latitude_deg":10.6972472,"altitude":14,"angle":346,"satellites":49,"speed":56,"hex_longitude":"2d46a600","hex_latitude":"06604538","is_valid_coordinates":true} 
[2026-07-08 01:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564249088001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132612368009003008,"note":"Value kept but may cause issues"} 
[2026-07-08 01:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5093360099705976832,"note":"Value kept but may cause issues"} 
[2026-07-08 01:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783454105000,"timestamp_ms":1783454105000,"timestamp_seconds":1783454105,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e25fda8"} 
[2026-07-08 01:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 01:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124907,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124907,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564249088001,"66":27430,"52":206,"19":47872,"24":56,"16":132612368009003008,"45":5093360099705976832},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,19,24,16,45]} 
[2026-07-08 01:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564249088001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:26:10] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-08 01:26:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-07-08 01:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132612368009003008,"km_value":132612368009003.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5093360099705976832,"description":"Unknown IO ID 45"} 
[2026-07-08 01:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564249088001,"power":27430,"unknown_52":206,"unknown_19":47872,"ignition":56,"odometer":null,"unknown_45":5093360099705976832}} 
[2026-07-08 01:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":124907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448736,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:26:10] local.INFO: GPS data processed {"connection_id":124907,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:26:10] local.INFO: Acknowledgment sent {"connection_id":124907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:26:11] local.INFO: TCP Data received {"connection_id":124907,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e261900012d469cc006606b70000f015a31..."} 
[2026-07-08 01:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e261900012d469cc006606b70000f015a31..."} 
[2026-07-08 01:26:11] local.INFO: Processing buffer {"connection_id":124907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e261900012d469cc006606b70000f015a31..."} 
[2026-07-08 01:26:11] local.INFO: Packet analysis {"connection_id":124907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e26"} 
[2026-07-08 01:26:11] local.INFO: Extracted packet for processing {"connection_id":124907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e26"} 
[2026-07-08 01:26:11] local.INFO: GPS Element Parsed {"raw_longitude":759602368,"raw_latitude":106982256,"longitude_deg":75.9602368,"latitude_deg":10.6982256,"altitude":15,"angle":346,"satellites":49,"speed":57,"hex_longitude":"2d469cc0","hex_latitude":"06606b70","is_valid_coordinates":true} 
[2026-07-08 01:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564250880001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132612853340307456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5090756456173877248,"note":"Value kept but may cause issues"} 
[2026-07-08 01:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783454112000,"timestamp_ms":1783454112000,"timestamp_seconds":1783454112,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e261900"} 
[2026-07-08 01:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-08 01:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1075,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124907,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124907,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564250880001,"66":27952,"52":206,"19":47872,"24":57,"16":132612853340307456,"45":5090756456173877248},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,19,24,16,45]} 
[2026-07-08 01:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564250880001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:26:11] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-08 01:26:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-07-08 01:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132612853340307456,"km_value":132612853340307.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5090756456173877248,"description":"Unknown IO ID 45"} 
[2026-07-08 01:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564250880001,"power":27952,"unknown_52":206,"unknown_19":47872,"ignition":57,"odometer":null,"unknown_45":5090756456173877248}} 
[2026-07-08 01:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":124907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448737,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:26:11] local.INFO: GPS data processed {"connection_id":124907,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:26:11] local.INFO: Acknowledgment sent {"connection_id":124907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:26:37] local.INFO: TCP Data received {"connection_id":125742,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e2699e8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e2699e8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:26:37] local.INFO: Processing buffer {"connection_id":125742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e2699e8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:26:37] local.INFO: Packet analysis {"connection_id":125742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e26"} 
[2026-07-08 01:26:37] local.INFO: Extracted packet for processing {"connection_id":125742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e26"} 
[2026-07-08 01:26:37] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564184064001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783454145000,"timestamp_ms":1783454145000,"timestamp_seconds":1783454145,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e2699e8"} 
[2026-07-08 01:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564184064001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564184064001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:26:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:26:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564184064001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":125742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:26:37] local.INFO: GPS data processed {"connection_id":125742,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:26:37] local.INFO: Acknowledgment sent {"connection_id":125742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:27:02] local.INFO: TCP Data received {"connection_id":125743,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:27:02] local.INFO: Processing buffer {"connection_id":125743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:27:02] local.INFO: IMEI packet received {"connection_id":125743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":125743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:27:07] local.INFO: TCP Data received {"connection_id":125743,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:27:07] local.INFO: Processing buffer {"connection_id":125743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:27:07] local.INFO: IMEI packet received {"connection_id":125743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":125743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:27:08] local.INFO: TCP Data received {"connection_id":125743,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e2699e8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e2699e8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:27:08] local.INFO: Processing buffer {"connection_id":125743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e2699e8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:27:08] local.INFO: Packet analysis {"connection_id":125743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e26"} 
[2026-07-08 01:27:08] local.INFO: Extracted packet for processing {"connection_id":125743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e26"} 
[2026-07-08 01:27:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564184064001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783454145000,"timestamp_ms":1783454145000,"timestamp_seconds":1783454145,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e2699e8"} 
[2026-07-08 01:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564184064001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564184064001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:27:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:27:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564184064001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":125743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:27:08] local.INFO: GPS data processed {"connection_id":125743,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:27:08] local.INFO: Acknowledgment sent {"connection_id":125743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:27:13] local.INFO: TCP Data received {"connection_id":125743,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e2699e8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e2699e8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:27:13] local.INFO: Processing buffer {"connection_id":125743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e2699e8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:27:13] local.INFO: Packet analysis {"connection_id":125743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e26"} 
[2026-07-08 01:27:13] local.INFO: Extracted packet for processing {"connection_id":125743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e26"} 
[2026-07-08 01:27:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564184064001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783454145000,"timestamp_ms":1783454145000,"timestamp_seconds":1783454145,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e2699e8"} 
[2026-07-08 01:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:27: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-07-08 01:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564184064001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564184064001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:27:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:27:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564184064001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":125743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:27:13] local.INFO: GPS data processed {"connection_id":125743,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:27:13] local.INFO: Acknowledgment sent {"connection_id":125743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:27:30] local.INFO: TCP Data received {"connection_id":125744,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125744,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:27:30] local.INFO: Processing buffer {"connection_id":125744,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:27:30] local.INFO: IMEI packet received {"connection_id":125744,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":125744,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:27:33] local.INFO: TCP Data received {"connection_id":125744,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125744,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:27:33] local.INFO: Processing buffer {"connection_id":125744,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:27:33] local.INFO: IMEI packet received {"connection_id":125744,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":125744,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:27:37] local.INFO: TCP Data received {"connection_id":125744,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125744,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:27:37] local.INFO: Processing buffer {"connection_id":125744,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:27:37] local.INFO: IMEI packet received {"connection_id":125744,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":125744,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:27:39] local.INFO: TCP Data received {"connection_id":125744,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e273df8012d46038006620248000901502e..."} 
[2026-07-08 01:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e273df8012d46038006620248000901502e..."} 
[2026-07-08 01:27:39] local.INFO: Processing buffer {"connection_id":125744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e273df8012d46038006620248000901502e..."} 
[2026-07-08 01:27:39] local.INFO: Packet analysis {"connection_id":125744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e27"} 
[2026-07-08 01:27:39] local.INFO: Extracted packet for processing {"connection_id":125744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e27"} 
[2026-07-08 01:27:39] local.INFO: GPS Element Parsed {"raw_longitude":759563136,"raw_latitude":107086408,"longitude_deg":75.9563136,"latitude_deg":10.7086408,"altitude":9,"angle":336,"satellites":46,"speed":59,"hex_longitude":"2d460380","hex_latitude":"06620248","is_valid_coordinates":true} 
[2026-07-08 01:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564270336001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132618252114198528,"note":"Value kept but may cause issues"} 
[2026-07-08 01:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5049027790903605248,"note":"Value kept but may cause issues"} 
[2026-07-08 01:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783454187000,"timestamp_ms":1783454187000,"timestamp_seconds":1783454187,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e273df8"} 
[2026-07-08 01:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-08 01:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125744,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125744,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564270336001,"66":27832,"25":206,"18":6656,"24":59,"16":132618252114198528,"45":5049027790903605248},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,18,24,16,45]} 
[2026-07-08 01:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564270336001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:27:39] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-07-08 01:27:39] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-07-08 01:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132618252114198528,"km_value":132618252114198.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":5049027790903605248,"description":"Unknown IO ID 45"} 
[2026-07-08 01:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564270336001,"power":27832,"unknown_25":206,"unknown_18":6656,"ignition":59,"odometer":null,"unknown_45":5049027790903605248}} 
[2026-07-08 01:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":125744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448741,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:27:39] local.INFO: GPS data processed {"connection_id":125744,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:27:39] local.INFO: Acknowledgment sent {"connection_id":125744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:27:57] local.INFO: TCP Data received {"connection_id":124908,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:27:57] local.INFO: Processing buffer {"connection_id":124908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:27:57] local.INFO: IMEI packet received {"connection_id":124908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":124908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:27:59] local.INFO: TCP Data received {"connection_id":124907,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e263070012d46950006608d70000e015b30..."} 
[2026-07-08 01:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e263070012d46950006608d70000e015b30..."} 
[2026-07-08 01:27:59] local.INFO: Processing buffer {"connection_id":124907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e263070012d46950006608d70000e015b30..."} 
[2026-07-08 01:27:59] local.INFO: Packet analysis {"connection_id":124907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e26"} 
[2026-07-08 01:27:59] local.INFO: Extracted packet for processing {"connection_id":124907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e26"} 
[2026-07-08 01:27:59] local.INFO: GPS Element Parsed {"raw_longitude":759600384,"raw_latitude":106990960,"longitude_deg":75.9600384,"latitude_deg":10.699096,"altitude":14,"angle":347,"satellites":48,"speed":60,"hex_longitude":"2d469500","hex_latitude":"06608d70","is_valid_coordinates":true} 
[2026-07-08 01:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564252672001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132613287132004352,"note":"Value kept but may cause issues"} 
[2026-07-08 01:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5088152812641808384,"note":"Value kept but may cause issues"} 
[2026-07-08 01:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783454118000,"timestamp_ms":1783454118000,"timestamp_seconds":1783454118,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e263070"} 
[2026-07-08 01:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-08 01:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":124907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":124907,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":124907,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564252672001,"66":27832,"52":206,"19":47872,"24":60,"16":132613287132004352,"45":5088152812641808384},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,19,24,16,45]} 
[2026-07-08 01:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564252672001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:27:59] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-08 01:27:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-07-08 01:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132613287132004352,"km_value":132613287132004.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5088152812641808384,"description":"Unknown IO ID 45"} 
[2026-07-08 01:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564252672001,"power":27832,"unknown_52":206,"unknown_19":47872,"ignition":60,"odometer":null,"unknown_45":5088152812641808384}} 
[2026-07-08 01:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":124907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448742,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:27:59] local.INFO: GPS data processed {"connection_id":124907,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:27:59] local.INFO: Acknowledgment sent {"connection_id":124907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:28:02] local.INFO: TCP Data received {"connection_id":124908,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:28:02] local.INFO: Processing buffer {"connection_id":124908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:28:02] local.INFO: IMEI packet received {"connection_id":124908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":124908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:28:03] local.INFO: TCP Data received {"connection_id":124908,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e2699e8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e2699e8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:28:03] local.INFO: Processing buffer {"connection_id":124908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e2699e8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:28:03] local.INFO: Packet analysis {"connection_id":124908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e26"} 
[2026-07-08 01:28:03] local.INFO: Extracted packet for processing {"connection_id":124908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e26"} 
[2026-07-08 01:28:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564184064001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783454145000,"timestamp_ms":1783454145000,"timestamp_seconds":1783454145,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e2699e8"} 
[2026-07-08 01:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564184064001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564184064001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:28:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:28:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564184064001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":124908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:28:03] local.INFO: GPS data processed {"connection_id":124908,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:28:03] local.INFO: Acknowledgment sent {"connection_id":124908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:28:34] local.INFO: TCP Data received {"connection_id":125007,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125007,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:28:34] local.INFO: Processing buffer {"connection_id":125007,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:28:34] local.INFO: IMEI packet received {"connection_id":125007,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":125007,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:28:34] local.INFO: TCP Data received {"connection_id":124908,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e2699e8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e2699e8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:28:34] local.INFO: Processing buffer {"connection_id":124908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e2699e8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:28:34] local.INFO: Packet analysis {"connection_id":124908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e26"} 
[2026-07-08 01:28:34] local.INFO: Extracted packet for processing {"connection_id":124908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e26"} 
[2026-07-08 01:28:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564184064001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783454145000,"timestamp_ms":1783454145000,"timestamp_seconds":1783454145,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e2699e8"} 
[2026-07-08 01:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:28: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-07-08 01: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-07-08 01:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564184064001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564184064001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:28:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:28:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564184064001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":124908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:28:34] local.INFO: GPS data processed {"connection_id":124908,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:28:34] local.INFO: Acknowledgment sent {"connection_id":124908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:28:38] local.INFO: TCP Data received {"connection_id":125007,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125007,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:28:38] local.INFO: Processing buffer {"connection_id":125007,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:28:38] local.INFO: IMEI packet received {"connection_id":125007,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":125007,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:28:40] local.INFO: TCP Data received {"connection_id":125007,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125007,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:28:40] local.INFO: Processing buffer {"connection_id":125007,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:28:40] local.INFO: IMEI packet received {"connection_id":125007,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":125007,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:28:41] local.INFO: TCP Data received {"connection_id":125007,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e285350012d454a4006636ef8000f015530..."} 
[2026-07-08 01:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e285350012d454a4006636ef8000f015530..."} 
[2026-07-08 01:28:41] local.INFO: Processing buffer {"connection_id":125007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e285350012d454a4006636ef8000f015530..."} 
[2026-07-08 01:28:41] local.INFO: Packet analysis {"connection_id":125007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e28"} 
[2026-07-08 01:28:41] local.INFO: Extracted packet for processing {"connection_id":125007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e28"} 
[2026-07-08 01:28:41] local.INFO: GPS Element Parsed {"raw_longitude":759515712,"raw_latitude":107179768,"longitude_deg":75.9515712,"latitude_deg":10.7179768,"altitude":15,"angle":341,"satellites":48,"speed":60,"hex_longitude":"2d454a40","hex_latitude":"06636ef8","is_valid_coordinates":true} 
[2026-07-08 01:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564288512001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132623324470575104,"note":"Value kept but may cause issues"} 
[2026-07-08 01:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4996110495305807872,"note":"Value kept but may cause issues"} 
[2026-07-08 01:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783454258000,"timestamp_ms":1783454258000,"timestamp_seconds":1783454258,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e285350"} 
[2026-07-08 01:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 01:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125007,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125007,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564288512001,"66":27789,"25":206,"18":6656,"24":60,"16":132623324470575104,"45":4996110495305807872},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,18,24,16,45]} 
[2026-07-08 01:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564288512001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:28:41] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-07-08 01:28:41] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-07-08 01:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132623324470575104,"km_value":132623324470575.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":4996110495305807872,"description":"Unknown IO ID 45"} 
[2026-07-08 01:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564288512001,"power":27789,"unknown_25":206,"unknown_18":6656,"ignition":60,"odometer":null,"unknown_45":4996110495305807872}} 
[2026-07-08 01:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":125007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448745,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:28:41] local.INFO: GPS data processed {"connection_id":125007,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:28:41] local.INFO: Acknowledgment sent {"connection_id":125007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:28:57] local.INFO: TCP Data received {"connection_id":125745,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:28:57] local.INFO: Processing buffer {"connection_id":125745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:28:57] local.INFO: IMEI packet received {"connection_id":125745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":125745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:29:02] local.INFO: TCP Data received {"connection_id":125745,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:29:02] local.INFO: Processing buffer {"connection_id":125745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:29:02] local.INFO: IMEI packet received {"connection_id":125745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":125745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:29:03] local.INFO: TCP Data received {"connection_id":125745,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e2699e8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e2699e8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:29:03] local.INFO: Processing buffer {"connection_id":125745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e2699e8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:29:03] local.INFO: Packet analysis {"connection_id":125745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e26"} 
[2026-07-08 01:29:03] local.INFO: Extracted packet for processing {"connection_id":125745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e26"} 
[2026-07-08 01:29:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564184064001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783454145000,"timestamp_ms":1783454145000,"timestamp_seconds":1783454145,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e2699e8"} 
[2026-07-08 01:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564184064001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564184064001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:29:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:29:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564184064001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":125745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:29:03] local.INFO: GPS data processed {"connection_id":125745,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:29:03] local.INFO: Acknowledgment sent {"connection_id":125745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:29:05] local.INFO: TCP Data received {"connection_id":124909,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124909,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:29:05] local.INFO: Processing buffer {"connection_id":124909,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:29:05] local.INFO: IMEI packet received {"connection_id":124909,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":124909,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:29:08] local.INFO: TCP Data received {"connection_id":124909,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124909,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:29:08] local.INFO: Processing buffer {"connection_id":124909,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:29:08] local.INFO: IMEI packet received {"connection_id":124909,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":124909,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:29:11] local.INFO: TCP Data received {"connection_id":124909,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124909,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:29:11] local.INFO: Processing buffer {"connection_id":124909,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:29:11] local.INFO: IMEI packet received {"connection_id":124909,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":124909,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:29:13] local.INFO: TCP Data received {"connection_id":124909,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e286ac0012d453ec006639030000e01552f..."} 
[2026-07-08 01:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e286ac0012d453ec006639030000e01552f..."} 
[2026-07-08 01:29:13] local.INFO: Processing buffer {"connection_id":124909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e286ac0012d453ec006639030000e01552f..."} 
[2026-07-08 01:29:13] local.INFO: Packet analysis {"connection_id":124909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e28"} 
[2026-07-08 01:29:13] local.INFO: Extracted packet for processing {"connection_id":124909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e28"} 
[2026-07-08 01:29:13] local.INFO: GPS Element Parsed {"raw_longitude":759512768,"raw_latitude":107188272,"longitude_deg":75.9512768,"latitude_deg":10.7188272,"altitude":14,"angle":341,"satellites":47,"speed":59,"hex_longitude":"2d453ec0","hex_latitude":"06639030","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564290048001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132623758262272000,"note":"Value kept but may cause issues"} 
[2026-07-08 01:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4992873533075814400,"note":"Value kept but may cause issues"} 
[2026-07-08 01:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783454264000,"timestamp_ms":1783454264000,"timestamp_seconds":1783454264,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e286ac0"} 
[2026-07-08 01:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:29:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-08 01:29:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124909,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124909,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:29:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564290048001,"66":27832,"224":206,"18":6656,"24":59,"16":132623758262272000,"45":4992873533075814400},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,18,24,16,45]} 
[2026-07-08 01:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564290048001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:29:13] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-08 01:29:13] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-07-08 01:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132623758262272000,"km_value":132623758262272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4992873533075814400,"description":"Unknown IO ID 45"} 
[2026-07-08 01:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564290048001,"power":27832,"unknown_224":206,"unknown_18":6656,"ignition":59,"odometer":null,"unknown_45":4992873533075814400}} 
[2026-07-08 01:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":124909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448747,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:29:13] local.INFO: GPS data processed {"connection_id":124909,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:29:13] local.INFO: Acknowledgment sent {"connection_id":124909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:29:34] local.INFO: TCP Data received {"connection_id":125745,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e2699e8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e2699e8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:29:34] local.INFO: Processing buffer {"connection_id":125745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e2699e8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:29:34] local.INFO: Packet analysis {"connection_id":125745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e26"} 
[2026-07-08 01:29:34] local.INFO: Extracted packet for processing {"connection_id":125745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e26"} 
[2026-07-08 01:29:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564184064001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783454145000,"timestamp_ms":1783454145000,"timestamp_seconds":1783454145,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e2699e8"} 
[2026-07-08 01:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:29: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-07-08 01: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-07-08 01:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564184064001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564184064001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:29:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:29:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564184064001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":125745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:29:34] local.INFO: GPS data processed {"connection_id":125745,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:29:34] local.INFO: Acknowledgment sent {"connection_id":125745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:29:57] local.INFO: TCP Data received {"connection_id":125008,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:29:57] local.INFO: Processing buffer {"connection_id":125008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:29:57] local.INFO: IMEI packet received {"connection_id":125008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":125008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:29:58] local.INFO: TCP Data received {"connection_id":125009,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125009,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:29:58] local.INFO: Processing buffer {"connection_id":125009,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:29:58] local.INFO: IMEI packet received {"connection_id":125009,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":125009,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:29:59] local.INFO: TCP Data received {"connection_id":125009,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125009,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:29:59] local.INFO: Processing buffer {"connection_id":125009,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:29:59] local.INFO: IMEI packet received {"connection_id":125009,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":125009,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:30:02] local.INFO: TCP Data received {"connection_id":125008,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:30:02] local.INFO: Processing buffer {"connection_id":125008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:30:02] local.INFO: IMEI packet received {"connection_id":125008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":125008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:30:03] local.INFO: TCP Data received {"connection_id":125009,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125009,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:30:03] local.INFO: Processing buffer {"connection_id":125009,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:30:03] local.INFO: IMEI packet received {"connection_id":125009,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":125009,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:30:03] local.INFO: TCP Data received {"connection_id":125008,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e2699e8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e2699e8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:30:03] local.INFO: Processing buffer {"connection_id":125008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e2699e8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:30:03] local.INFO: Packet analysis {"connection_id":125008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e26"} 
[2026-07-08 01:30:03] local.INFO: Extracted packet for processing {"connection_id":125008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e26"} 
[2026-07-08 01:30:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564184064001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783454145000,"timestamp_ms":1783454145000,"timestamp_seconds":1783454145,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e2699e8"} 
[2026-07-08 01:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564184064001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564184064001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:30:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:30:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564184064001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":125008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:30:03] local.INFO: GPS data processed {"connection_id":125008,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:30:03] local.INFO: Acknowledgment sent {"connection_id":125008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:30:04] local.INFO: TCP Data received {"connection_id":125009,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e297c30012d44b6c006650a90000e01532f..."} 
[2026-07-08 01:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e297c30012d44b6c006650a90000e01532f..."} 
[2026-07-08 01:30:04] local.INFO: Processing buffer {"connection_id":125009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e297c30012d44b6c006650a90000e01532f..."} 
[2026-07-08 01:30:04] local.INFO: Packet analysis {"connection_id":125009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e29"} 
[2026-07-08 01:30:04] local.INFO: Extracted packet for processing {"connection_id":125009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e29"} 
[2026-07-08 01:30:04] local.INFO: GPS Element Parsed {"raw_longitude":759477952,"raw_latitude":107285136,"longitude_deg":75.9477952,"latitude_deg":10.7285136,"altitude":14,"angle":339,"satellites":47,"speed":55,"hex_longitude":"2d44b6c0","hex_latitude":"06650a90","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564307712001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132628744719302656,"note":"Value kept but may cause issues"} 
[2026-07-08 01:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4955296623709575168,"note":"Value kept but may cause issues"} 
[2026-07-08 01:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783454334000,"timestamp_ms":1783454334000,"timestamp_seconds":1783454334,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e297c30"} 
[2026-07-08 01:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:30: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-07-08 01: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 01:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125009,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125009,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564307712001,"66":27974,"224":206,"18":6656,"24":55,"16":132628744719302656,"45":4955296623709575168},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,18,24,16,45]} 
[2026-07-08 01:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564307712001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:30:04] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-08 01:30:04] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-07-08 01:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132628744719302656,"km_value":132628744719302.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":4955296623709575168,"description":"Unknown IO ID 45"} 
[2026-07-08 01:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564307712001,"power":27974,"unknown_224":206,"unknown_18":6656,"ignition":55,"odometer":null,"unknown_45":4955296623709575168}} 
[2026-07-08 01:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":125009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448750,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:30:04] local.INFO: GPS data processed {"connection_id":125009,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:30:04] local.INFO: Acknowledgment sent {"connection_id":125009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:30:34] local.INFO: TCP Data received {"connection_id":125008,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e2699e8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e2699e8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:30:34] local.INFO: Processing buffer {"connection_id":125008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e2699e8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:30:34] local.INFO: Packet analysis {"connection_id":125008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e26"} 
[2026-07-08 01:30:34] local.INFO: Extracted packet for processing {"connection_id":125008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e26"} 
[2026-07-08 01:30:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564184064001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783454145000,"timestamp_ms":1783454145000,"timestamp_seconds":1783454145,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e2699e8"} 
[2026-07-08 01:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:30: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-07-08 01:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564184064001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564184064001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:30:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:30:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564184064001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":125008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:30:34] local.INFO: GPS data processed {"connection_id":125008,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:30:34] local.INFO: Acknowledgment sent {"connection_id":125008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:30:50] local.INFO: TCP Data received {"connection_id":125009,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e299788012d44a90006652e30001001522f..."} 
[2026-07-08 01:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e299788012d44a90006652e30001001522f..."} 
[2026-07-08 01:30:50] local.INFO: Processing buffer {"connection_id":125009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e299788012d44a90006652e30001001522f..."} 
[2026-07-08 01:30:50] local.INFO: Packet analysis {"connection_id":125009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e29"} 
[2026-07-08 01:30:50] local.INFO: Extracted packet for processing {"connection_id":125009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e29"} 
[2026-07-08 01:30:50] local.INFO: GPS Element Parsed {"raw_longitude":759474432,"raw_latitude":107294256,"longitude_deg":75.9474432,"latitude_deg":10.7294256,"altitude":16,"angle":338,"satellites":47,"speed":55,"hex_longitude":"2d44a900","hex_latitude":"06652e30","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564309504001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132629217165705216,"note":"Value kept but may cause issues"} 
[2026-07-08 01:30:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4951355974037966848,"note":"Value kept but may cause issues"} 
[2026-07-08 01:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783454341000,"timestamp_ms":1783454341000,"timestamp_seconds":1783454341,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e299788"} 
[2026-07-08 01:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-08 01:30:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":125009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":125009,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":125009,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:30:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564309504001,"66":27821,"224":206,"18":6656,"24":55,"16":132629217165705216,"45":4951355974037966848},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,18,24,16,45]} 
[2026-07-08 01:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564309504001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:30:50] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-08 01:30:50] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-07-08 01:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132629217165705216,"km_value":132629217165705.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:30:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":4951355974037966848,"description":"Unknown IO ID 45"} 
[2026-07-08 01:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564309504001,"power":27821,"unknown_224":206,"unknown_18":6656,"ignition":55,"odometer":null,"unknown_45":4951355974037966848}} 
[2026-07-08 01:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":125009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448752,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:30:50] local.INFO: GPS data processed {"connection_id":125009,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:30:50] local.INFO: Acknowledgment sent {"connection_id":125009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:30:57] local.INFO: TCP Data received {"connection_id":125010,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:30:57] local.INFO: Processing buffer {"connection_id":125010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:30:57] local.INFO: IMEI packet received {"connection_id":125010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":125010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:31:02] local.INFO: TCP Data received {"connection_id":125010,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:31:02] local.INFO: Processing buffer {"connection_id":125010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:31:02] local.INFO: IMEI packet received {"connection_id":125010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":125010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:31:03] local.INFO: TCP Data received {"connection_id":125010,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e2699e8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e2699e8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:31:03] local.INFO: Processing buffer {"connection_id":125010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e2699e8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:31:03] local.INFO: Packet analysis {"connection_id":125010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e26"} 
[2026-07-08 01:31:03] local.INFO: Extracted packet for processing {"connection_id":125010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e26"} 
[2026-07-08 01:31:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564184064001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783454145000,"timestamp_ms":1783454145000,"timestamp_seconds":1783454145,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e2699e8"} 
[2026-07-08 01:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:31: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-07-08 01:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564184064001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564184064001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:31:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:31:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564184064001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":125010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:31:03] local.INFO: GPS data processed {"connection_id":125010,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:31:03] local.INFO: Acknowledgment sent {"connection_id":125010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:31:06] local.INFO: TCP Data received {"connection_id":127007,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127007,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:31:06] local.INFO: Processing buffer {"connection_id":127007,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:31:06] local.INFO: IMEI packet received {"connection_id":127007,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":127007,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:31:08] local.INFO: TCP Data received {"connection_id":127007,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127007,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:31:08] local.INFO: Processing buffer {"connection_id":127007,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:31:08] local.INFO: IMEI packet received {"connection_id":127007,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":127007,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:31:12] local.INFO: TCP Data received {"connection_id":127007,"ip":"117.224.129.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127007,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:31:12] local.INFO: Processing buffer {"connection_id":127007,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:31:12] local.INFO: IMEI packet received {"connection_id":127007,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":127007,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:31:13] local.INFO: TCP Data received {"connection_id":127007,"ip":"117.224.129.116","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e2aa128012d4415c006669b20000701522d..."} 
[2026-07-08 01:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e2aa128012d4415c006669b20000701522d..."} 
[2026-07-08 01:31:13] local.INFO: Processing buffer {"connection_id":127007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e2aa128012d4415c006669b20000701522d..."} 
[2026-07-08 01:31:13] local.INFO: Packet analysis {"connection_id":127007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e2a"} 
[2026-07-08 01:31:13] local.INFO: Extracted packet for processing {"connection_id":127007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e2a"} 
[2026-07-08 01:31:13] local.INFO: GPS Element Parsed {"raw_longitude":759436736,"raw_latitude":107387680,"longitude_deg":75.9436736,"latitude_deg":10.738768,"altitude":7,"angle":338,"satellites":45,"speed":58,"hex_longitude":"2d4415c0","hex_latitude":"06669b20","is_valid_coordinates":true} 
[2026-07-08 01:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564327168001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132634096248553472,"note":"Value kept but may cause issues"} 
[2026-07-08 01:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4909134727555465216,"note":"Value kept but may cause issues"} 
[2026-07-08 01:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783454409000,"timestamp_ms":1783454409000,"timestamp_seconds":1783454409,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e2aa128"} 
[2026-07-08 01:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 01:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":127007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":127007,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":127007,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.129.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564327168001,"66":27876,"115":206,"18":6656,"24":58,"16":132634096248553472,"45":4909134727555465216},"client_ip":"117.224.129.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,18,24,16,45]} 
[2026-07-08 01:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564327168001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:31:13] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-08 01:31:13] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-07-08 01:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132634096248553472,"km_value":132634096248553.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4909134727555465216,"description":"Unknown IO ID 45"} 
[2026-07-08 01:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564327168001,"power":27876,"unknown_115":206,"unknown_18":6656,"ignition":58,"odometer":null,"unknown_45":4909134727555465216}} 
[2026-07-08 01:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":127007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448754,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:31:13] local.INFO: GPS data processed {"connection_id":127007,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:31:13] local.INFO: Acknowledgment sent {"connection_id":127007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:31:34] local.INFO: TCP Data received {"connection_id":125010,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e2b31b0012dc5eb400537d5a0003401442b..."} 
[2026-07-08 01:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e2b31b0012dc5eb400537d5a0003401442b..."} 
[2026-07-08 01:31:34] local.INFO: Processing buffer {"connection_id":125010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e2b31b0012dc5eb400537d5a0003401442b..."} 
[2026-07-08 01:31:34] local.INFO: Packet analysis {"connection_id":125010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e2b"} 
[2026-07-08 01:31:34] local.INFO: Extracted packet for processing {"connection_id":125010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e2b"} 
[2026-07-08 01:31:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564261120001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783454446000,"timestamp_ms":1783454446000,"timestamp_seconds":1783454446,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e2b31b0"} 
[2026-07-08 01:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:31: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-07-08 01:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:31: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-07-08 01:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564261120001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564261120001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:31:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:31:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564261120001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":125010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:31:34] local.INFO: GPS data processed {"connection_id":125010,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:31:34] local.INFO: Acknowledgment sent {"connection_id":125010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:31:57] local.INFO: TCP Data received {"connection_id":125746,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:31:57] local.INFO: Processing buffer {"connection_id":125746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:31:57] local.INFO: IMEI packet received {"connection_id":125746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":125746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:32:02] local.INFO: TCP Data received {"connection_id":125746,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:32:02] local.INFO: Processing buffer {"connection_id":125746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:32:02] local.INFO: IMEI packet received {"connection_id":125746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":125746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:32:03] local.INFO: TCP Data received {"connection_id":125746,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e2b31b0012dc5eb400537d5a0003401442b..."} 
[2026-07-08 01:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e2b31b0012dc5eb400537d5a0003401442b..."} 
[2026-07-08 01:32:03] local.INFO: Processing buffer {"connection_id":125746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e2b31b0012dc5eb400537d5a0003401442b..."} 
[2026-07-08 01:32:03] local.INFO: Packet analysis {"connection_id":125746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e2b"} 
[2026-07-08 01:32:03] local.INFO: Extracted packet for processing {"connection_id":125746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e2b"} 
[2026-07-08 01:32:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564261120001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783454446000,"timestamp_ms":1783454446000,"timestamp_seconds":1783454446,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e2b31b0"} 
[2026-07-08 01:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:32: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-07-08 01:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564261120001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564261120001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:32:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:32:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564261120001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":125746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:32:03] local.INFO: GPS data processed {"connection_id":125746,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:32:03] local.INFO: Acknowledgment sent {"connection_id":125746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:32:34] local.INFO: TCP Data received {"connection_id":125746,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e2b31b0012dc5eb400537d5a0003401442b..."} 
[2026-07-08 01:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e2b31b0012dc5eb400537d5a0003401442b..."} 
[2026-07-08 01:32:34] local.INFO: Processing buffer {"connection_id":125746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e2b31b0012dc5eb400537d5a0003401442b..."} 
[2026-07-08 01:32:34] local.INFO: Packet analysis {"connection_id":125746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e2b"} 
[2026-07-08 01:32:34] local.INFO: Extracted packet for processing {"connection_id":125746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e2b"} 
[2026-07-08 01:32:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564261120001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783454446000,"timestamp_ms":1783454446000,"timestamp_seconds":1783454446,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e2b31b0"} 
[2026-07-08 01:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:32:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:32: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-07-08 01: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-07-08 01:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:32: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-07-08 01:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564261120001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564261120001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:32:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:32:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564261120001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":125746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:32:34] local.INFO: GPS data processed {"connection_id":125746,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:32:34] local.INFO: Acknowledgment sent {"connection_id":125746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:32:57] local.INFO: TCP Data received {"connection_id":125747,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:32:57] local.INFO: Processing buffer {"connection_id":125747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:32:57] local.INFO: IMEI packet received {"connection_id":125747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":125747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:33:02] local.INFO: TCP Data received {"connection_id":125747,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:33:02] local.INFO: Processing buffer {"connection_id":125747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:33:02] local.INFO: IMEI packet received {"connection_id":125747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":125747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:33:03] local.INFO: TCP Data received {"connection_id":125747,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e2b31b0012dc5eb400537d5a0003401442b..."} 
[2026-07-08 01:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e2b31b0012dc5eb400537d5a0003401442b..."} 
[2026-07-08 01:33:03] local.INFO: Processing buffer {"connection_id":125747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e2b31b0012dc5eb400537d5a0003401442b..."} 
[2026-07-08 01:33:03] local.INFO: Packet analysis {"connection_id":125747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e2b"} 
[2026-07-08 01:33:03] local.INFO: Extracted packet for processing {"connection_id":125747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e2b"} 
[2026-07-08 01:33:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564261120001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783454446000,"timestamp_ms":1783454446000,"timestamp_seconds":1783454446,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e2b31b0"} 
[2026-07-08 01:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:33: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-07-08 01:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564261120001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564261120001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:33:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:33:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564261120001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":125747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:33:03] local.INFO: GPS data processed {"connection_id":125747,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:33:03] local.INFO: Acknowledgment sent {"connection_id":125747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:33:34] local.INFO: TCP Data received {"connection_id":125747,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e2b31b0012dc5eb400537d5a0003401442b..."} 
[2026-07-08 01:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e2b31b0012dc5eb400537d5a0003401442b..."} 
[2026-07-08 01:33:34] local.INFO: Processing buffer {"connection_id":125747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e2b31b0012dc5eb400537d5a0003401442b..."} 
[2026-07-08 01:33:34] local.INFO: Packet analysis {"connection_id":125747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e2b"} 
[2026-07-08 01:33:34] local.INFO: Extracted packet for processing {"connection_id":125747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e2b"} 
[2026-07-08 01:33:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564261120001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783454446000,"timestamp_ms":1783454446000,"timestamp_seconds":1783454446,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e2b31b0"} 
[2026-07-08 01:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:33: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-07-08 01: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-07-08 01:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:33: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-07-08 01:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564261120001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564261120001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:33:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:33:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564261120001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":125747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:33:34] local.INFO: GPS data processed {"connection_id":125747,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:33:34] local.INFO: Acknowledgment sent {"connection_id":125747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:33:57] local.INFO: TCP Data received {"connection_id":124910,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:33:57] local.INFO: Processing buffer {"connection_id":124910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:33:57] local.INFO: IMEI packet received {"connection_id":124910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":124910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:34:02] local.INFO: TCP Data received {"connection_id":124910,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:34:02] local.INFO: Processing buffer {"connection_id":124910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:34:02] local.INFO: IMEI packet received {"connection_id":124910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":124910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:34:03] local.INFO: TCP Data received {"connection_id":124910,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e2b31b0012dc5eb400537d5a0003401442b..."} 
[2026-07-08 01:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e2b31b0012dc5eb400537d5a0003401442b..."} 
[2026-07-08 01:34:03] local.INFO: Processing buffer {"connection_id":124910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e2b31b0012dc5eb400537d5a0003401442b..."} 
[2026-07-08 01:34:03] local.INFO: Packet analysis {"connection_id":124910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e2b"} 
[2026-07-08 01:34:03] local.INFO: Extracted packet for processing {"connection_id":124910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e2b"} 
[2026-07-08 01:34:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564261120001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783454446000,"timestamp_ms":1783454446000,"timestamp_seconds":1783454446,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e2b31b0"} 
[2026-07-08 01:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564261120001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564261120001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:34:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:34:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564261120001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":124910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:34:03] local.INFO: GPS data processed {"connection_id":124910,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:34:03] local.INFO: Acknowledgment sent {"connection_id":124910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:34:34] local.INFO: TCP Data received {"connection_id":124910,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e2b31b0012dc5eb400537d5a0003401442b..."} 
[2026-07-08 01:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e2b31b0012dc5eb400537d5a0003401442b..."} 
[2026-07-08 01:34:34] local.INFO: Processing buffer {"connection_id":124910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e2b31b0012dc5eb400537d5a0003401442b..."} 
[2026-07-08 01:34:34] local.INFO: Packet analysis {"connection_id":124910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e2b"} 
[2026-07-08 01:34:34] local.INFO: Extracted packet for processing {"connection_id":124910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e2b"} 
[2026-07-08 01:34:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564261120001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783454446000,"timestamp_ms":1783454446000,"timestamp_seconds":1783454446,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e2b31b0"} 
[2026-07-08 01:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:34: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-07-08 01:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564261120001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564261120001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:34:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:34:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564261120001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":124910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:34:34] local.INFO: GPS data processed {"connection_id":124910,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:34:34] local.INFO: Acknowledgment sent {"connection_id":124910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:34:58] local.INFO: TCP Data received {"connection_id":125011,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:34:58] local.INFO: Processing buffer {"connection_id":125011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:34:58] local.INFO: IMEI packet received {"connection_id":125011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":125011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:35:02] local.INFO: TCP Data received {"connection_id":125011,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:35:02] local.INFO: Processing buffer {"connection_id":125011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:35:02] local.INFO: IMEI packet received {"connection_id":125011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":125011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:35:03] local.INFO: TCP Data received {"connection_id":125011,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e2b31b0012dc5eb400537d5a0003401442b..."} 
[2026-07-08 01:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e2b31b0012dc5eb400537d5a0003401442b..."} 
[2026-07-08 01:35:03] local.INFO: Processing buffer {"connection_id":125011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e2b31b0012dc5eb400537d5a0003401442b..."} 
[2026-07-08 01:35:03] local.INFO: Packet analysis {"connection_id":125011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e2b"} 
[2026-07-08 01:35:03] local.INFO: Extracted packet for processing {"connection_id":125011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e2b"} 
[2026-07-08 01:35:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564261120001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783454446000,"timestamp_ms":1783454446000,"timestamp_seconds":1783454446,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e2b31b0"} 
[2026-07-08 01:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564261120001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564261120001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:35:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:35:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564261120001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":125011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:35:03] local.INFO: GPS data processed {"connection_id":125011,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:35:03] local.INFO: Acknowledgment sent {"connection_id":125011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:35:38] local.INFO: TCP Data received {"connection_id":124911,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:35:38] local.INFO: Processing buffer {"connection_id":124911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:35:38] local.INFO: IMEI packet received {"connection_id":124911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":124911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:35:38] local.INFO: TCP Data received {"connection_id":125011,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e2b31b0012dc5eb400537d5a0003401442b..."} 
[2026-07-08 01:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e2b31b0012dc5eb400537d5a0003401442b..."} 
[2026-07-08 01:35:38] local.INFO: Processing buffer {"connection_id":125011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e2b31b0012dc5eb400537d5a0003401442b..."} 
[2026-07-08 01:35:38] local.INFO: Packet analysis {"connection_id":125011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e2b"} 
[2026-07-08 01:35:38] local.INFO: Extracted packet for processing {"connection_id":125011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e2b"} 
[2026-07-08 01:35:38] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564261120001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783454446000,"timestamp_ms":1783454446000,"timestamp_seconds":1783454446,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e2b31b0"} 
[2026-07-08 01:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564261120001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564261120001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:35:38] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:35:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564261120001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":125011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:35:38] local.INFO: GPS data processed {"connection_id":125011,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:35:38] local.INFO: Acknowledgment sent {"connection_id":125011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:35:57] local.INFO: TCP Data received {"connection_id":127008,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:35:57] local.INFO: Processing buffer {"connection_id":127008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:35:57] local.INFO: IMEI packet received {"connection_id":127008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":127008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:36:02] local.INFO: TCP Data received {"connection_id":127008,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:36:02] local.INFO: Processing buffer {"connection_id":127008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:36:02] local.INFO: IMEI packet received {"connection_id":127008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":127008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:36:03] local.INFO: TCP Data received {"connection_id":127008,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e2b31b0012dc5eb400537d5a0003401442b..."} 
[2026-07-08 01:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e2b31b0012dc5eb400537d5a0003401442b..."} 
[2026-07-08 01:36:03] local.INFO: Processing buffer {"connection_id":127008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e2b31b0012dc5eb400537d5a0003401442b..."} 
[2026-07-08 01:36:03] local.INFO: Packet analysis {"connection_id":127008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e2b"} 
[2026-07-08 01:36:03] local.INFO: Extracted packet for processing {"connection_id":127008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e2b"} 
[2026-07-08 01:36:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564261120001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783454446000,"timestamp_ms":1783454446000,"timestamp_seconds":1783454446,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e2b31b0"} 
[2026-07-08 01:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564261120001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564261120001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:36:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:36:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564261120001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":127008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:36:03] local.INFO: GPS data processed {"connection_id":127008,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:36:03] local.INFO: Acknowledgment sent {"connection_id":127008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:36:07] local.INFO: TCP Data received {"connection_id":124912,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124912,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:36:07] local.INFO: Processing buffer {"connection_id":124912,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:36:07] local.INFO: IMEI packet received {"connection_id":124912,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":124912,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:36:34] local.INFO: TCP Data received {"connection_id":127008,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e2fc978012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e2fc978012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:36:34] local.INFO: Processing buffer {"connection_id":127008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e2fc978012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:36:34] local.INFO: Packet analysis {"connection_id":127008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e2f"} 
[2026-07-08 01:36:34] local.INFO: Extracted packet for processing {"connection_id":127008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e2f"} 
[2026-07-08 01:36:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564338176001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783454747000,"timestamp_ms":1783454747000,"timestamp_seconds":1783454747,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e2fc978"} 
[2026-07-08 01:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:36: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-07-08 01: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-07-08 01:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564338176001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564338176001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:36:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:36:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564338176001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":127008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:36:34] local.INFO: GPS data processed {"connection_id":127008,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:36:34] local.INFO: Acknowledgment sent {"connection_id":127008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:36:57] local.INFO: TCP Data received {"connection_id":125749,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:36:57] local.INFO: Processing buffer {"connection_id":125749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:36:57] local.INFO: IMEI packet received {"connection_id":125749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":125749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:37:02] local.INFO: TCP Data received {"connection_id":125749,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:37:02] local.INFO: Processing buffer {"connection_id":125749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:37:02] local.INFO: IMEI packet received {"connection_id":125749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":125749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:37:03] local.INFO: TCP Data received {"connection_id":125749,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e2fc978012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e2fc978012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:37:03] local.INFO: Processing buffer {"connection_id":125749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e2fc978012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:37:03] local.INFO: Packet analysis {"connection_id":125749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e2f"} 
[2026-07-08 01:37:03] local.INFO: Extracted packet for processing {"connection_id":125749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e2f"} 
[2026-07-08 01:37:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564338176001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783454747000,"timestamp_ms":1783454747000,"timestamp_seconds":1783454747,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e2fc978"} 
[2026-07-08 01:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564338176001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564338176001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:37:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:37:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564338176001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":125749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:37:03] local.INFO: GPS data processed {"connection_id":125749,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:37:03] local.INFO: Acknowledgment sent {"connection_id":125749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:37:34] local.INFO: TCP Data received {"connection_id":125749,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e2fc978012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e2fc978012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:37:34] local.INFO: Processing buffer {"connection_id":125749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e2fc978012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:37:34] local.INFO: Packet analysis {"connection_id":125749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e2f"} 
[2026-07-08 01:37:34] local.INFO: Extracted packet for processing {"connection_id":125749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e2f"} 
[2026-07-08 01:37:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564338176001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783454747000,"timestamp_ms":1783454747000,"timestamp_seconds":1783454747,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e2fc978"} 
[2026-07-08 01:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:37: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-07-08 01:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564338176001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564338176001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:37:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:37:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564338176001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":125749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:37:34] local.INFO: GPS data processed {"connection_id":125749,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:37:34] local.INFO: Acknowledgment sent {"connection_id":125749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:37:57] local.INFO: TCP Data received {"connection_id":125013,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:37:57] local.INFO: Processing buffer {"connection_id":125013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:37:57] local.INFO: IMEI packet received {"connection_id":125013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":125013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:38:02] local.INFO: TCP Data received {"connection_id":125013,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:38:02] local.INFO: Processing buffer {"connection_id":125013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:38:02] local.INFO: IMEI packet received {"connection_id":125013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":125013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:38:03] local.INFO: TCP Data received {"connection_id":125013,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e2fc978012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e2fc978012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:38:03] local.INFO: Processing buffer {"connection_id":125013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e2fc978012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:38:03] local.INFO: Packet analysis {"connection_id":125013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e2f"} 
[2026-07-08 01:38:03] local.INFO: Extracted packet for processing {"connection_id":125013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e2f"} 
[2026-07-08 01:38:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564338176001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783454747000,"timestamp_ms":1783454747000,"timestamp_seconds":1783454747,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e2fc978"} 
[2026-07-08 01:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564338176001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564338176001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:38:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:38:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564338176001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":125013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:38:03] local.INFO: GPS data processed {"connection_id":125013,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:38:03] local.INFO: Acknowledgment sent {"connection_id":125013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:38:34] local.INFO: TCP Data received {"connection_id":125013,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e2fc978012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e2fc978012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:38:34] local.INFO: Processing buffer {"connection_id":125013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e2fc978012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:38:34] local.INFO: Packet analysis {"connection_id":125013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e2f"} 
[2026-07-08 01:38:34] local.INFO: Extracted packet for processing {"connection_id":125013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e2f"} 
[2026-07-08 01:38:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564338176001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783454747000,"timestamp_ms":1783454747000,"timestamp_seconds":1783454747,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e2fc978"} 
[2026-07-08 01:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:38: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-07-08 01: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-07-08 01:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564338176001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564338176001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:38:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:38:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564338176001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":125013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:38:34] local.INFO: GPS data processed {"connection_id":125013,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:38:34] local.INFO: Acknowledgment sent {"connection_id":125013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:38:57] local.INFO: TCP Data received {"connection_id":127009,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:38:57] local.INFO: Processing buffer {"connection_id":127009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:38:57] local.INFO: IMEI packet received {"connection_id":127009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":127009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:39:02] local.INFO: TCP Data received {"connection_id":127009,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:39:02] local.INFO: Processing buffer {"connection_id":127009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:39:02] local.INFO: IMEI packet received {"connection_id":127009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":127009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:39:03] local.INFO: TCP Data received {"connection_id":127009,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e2fc978012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e2fc978012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:39:03] local.INFO: Processing buffer {"connection_id":127009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e2fc978012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:39:03] local.INFO: Packet analysis {"connection_id":127009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e2f"} 
[2026-07-08 01:39:03] local.INFO: Extracted packet for processing {"connection_id":127009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e2f"} 
[2026-07-08 01:39:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564338176001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783454747000,"timestamp_ms":1783454747000,"timestamp_seconds":1783454747,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e2fc978"} 
[2026-07-08 01:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564338176001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564338176001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:39:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:39:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564338176001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":127009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:39:03] local.INFO: GPS data processed {"connection_id":127009,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:39:03] local.INFO: Acknowledgment sent {"connection_id":127009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:39:34] local.INFO: TCP Data received {"connection_id":127009,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e2fc978012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e2fc978012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:39:34] local.INFO: Processing buffer {"connection_id":127009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e2fc978012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:39:34] local.INFO: Packet analysis {"connection_id":127009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e2f"} 
[2026-07-08 01:39:34] local.INFO: Extracted packet for processing {"connection_id":127009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e2f"} 
[2026-07-08 01:39:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564338176001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783454747000,"timestamp_ms":1783454747000,"timestamp_seconds":1783454747,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e2fc978"} 
[2026-07-08 01:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:39: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-07-08 01: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-07-08 01:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564338176001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564338176001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:39:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:39:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564338176001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":127009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:39:34] local.INFO: GPS data processed {"connection_id":127009,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:39:34] local.INFO: Acknowledgment sent {"connection_id":127009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:39:58] local.INFO: TCP Data received {"connection_id":127010,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:39:58] local.INFO: Processing buffer {"connection_id":127010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:39:58] local.INFO: IMEI packet received {"connection_id":127010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":127010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:40:02] local.INFO: TCP Data received {"connection_id":127010,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:40:02] local.INFO: Processing buffer {"connection_id":127010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:40:02] local.INFO: IMEI packet received {"connection_id":127010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":127010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:40:03] local.INFO: TCP Data received {"connection_id":127010,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e2fc978012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e2fc978012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:40:03] local.INFO: Processing buffer {"connection_id":127010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e2fc978012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:40:03] local.INFO: Packet analysis {"connection_id":127010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e2f"} 
[2026-07-08 01:40:03] local.INFO: Extracted packet for processing {"connection_id":127010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e2f"} 
[2026-07-08 01:40:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564338176001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783454747000,"timestamp_ms":1783454747000,"timestamp_seconds":1783454747,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e2fc978"} 
[2026-07-08 01:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564338176001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564338176001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:40:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:40:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564338176001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":127010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:40:03] local.INFO: GPS data processed {"connection_id":127010,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:40:03] local.INFO: Acknowledgment sent {"connection_id":127010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:40:34] local.INFO: TCP Data received {"connection_id":127010,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e2fc978012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e2fc978012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:40:34] local.INFO: Processing buffer {"connection_id":127010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e2fc978012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:40:34] local.INFO: Packet analysis {"connection_id":127010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e2f"} 
[2026-07-08 01:40:34] local.INFO: Extracted packet for processing {"connection_id":127010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e2f"} 
[2026-07-08 01:40:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564338176001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783454747000,"timestamp_ms":1783454747000,"timestamp_seconds":1783454747,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e2fc978"} 
[2026-07-08 01:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:40: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-07-08 01:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564338176001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564338176001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:40:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:40:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564338176001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":127010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:40:34] local.INFO: GPS data processed {"connection_id":127010,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:40:34] local.INFO: Acknowledgment sent {"connection_id":127010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:40:57] local.INFO: TCP Data received {"connection_id":125751,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:40:57] local.INFO: Processing buffer {"connection_id":125751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:40:57] local.INFO: IMEI packet received {"connection_id":125751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":125751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:41:02] local.INFO: TCP Data received {"connection_id":125751,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:41:02] local.INFO: Processing buffer {"connection_id":125751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:41:02] local.INFO: IMEI packet received {"connection_id":125751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":125751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:41:03] local.INFO: TCP Data received {"connection_id":125751,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e2fc978012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e2fc978012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:41:03] local.INFO: Processing buffer {"connection_id":125751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e2fc978012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:41:03] local.INFO: Packet analysis {"connection_id":125751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e2f"} 
[2026-07-08 01:41:03] local.INFO: Extracted packet for processing {"connection_id":125751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e2f"} 
[2026-07-08 01:41:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564338176001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783454747000,"timestamp_ms":1783454747000,"timestamp_seconds":1783454747,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e2fc978"} 
[2026-07-08 01:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564338176001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564338176001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:41:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:41:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564338176001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":125751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:41:03] local.INFO: GPS data processed {"connection_id":125751,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:41:03] local.INFO: Acknowledgment sent {"connection_id":125751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:41:12] local.INFO: TCP Data received {"connection_id":125752,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125752,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:41:12] local.INFO: Processing buffer {"connection_id":125752,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:41:12] local.INFO: IMEI packet received {"connection_id":125752,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":125752,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:41:35] local.INFO: TCP Data received {"connection_id":125751,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e346140012dc5eb400537d5a0003401442d..."} 
[2026-07-08 01:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e346140012dc5eb400537d5a0003401442d..."} 
[2026-07-08 01:41:35] local.INFO: Processing buffer {"connection_id":125751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e346140012dc5eb400537d5a0003401442d..."} 
[2026-07-08 01:41:35] local.INFO: Packet analysis {"connection_id":125751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e34"} 
[2026-07-08 01:41:35] local.INFO: Extracted packet for processing {"connection_id":125751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e34"} 
[2026-07-08 01:41:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564415232001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783455048000,"timestamp_ms":1783455048000,"timestamp_seconds":1783455048,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e346140"} 
[2026-07-08 01:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:41: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-07-08 01:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564415232001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564415232001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:41:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:41:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564415232001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":125751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:41:35] local.INFO: GPS data processed {"connection_id":125751,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:41:35] local.INFO: Acknowledgment sent {"connection_id":125751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:41:57] local.INFO: TCP Data received {"connection_id":125753,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:41:57] local.INFO: Processing buffer {"connection_id":125753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:41:57] local.INFO: IMEI packet received {"connection_id":125753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":125753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:42:02] local.INFO: TCP Data received {"connection_id":125753,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:42:02] local.INFO: Processing buffer {"connection_id":125753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:42:02] local.INFO: IMEI packet received {"connection_id":125753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":125753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:42:03] local.INFO: TCP Data received {"connection_id":125014,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125014,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:42:03] local.INFO: Processing buffer {"connection_id":125014,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:42:03] local.INFO: IMEI packet received {"connection_id":125014,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":125014,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:42:03] local.INFO: TCP Data received {"connection_id":125753,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e346140012dc5eb400537d5a0003401442d..."} 
[2026-07-08 01:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e346140012dc5eb400537d5a0003401442d..."} 
[2026-07-08 01:42:03] local.INFO: Processing buffer {"connection_id":125753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e346140012dc5eb400537d5a0003401442d..."} 
[2026-07-08 01:42:03] local.INFO: Packet analysis {"connection_id":125753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e34"} 
[2026-07-08 01:42:03] local.INFO: Extracted packet for processing {"connection_id":125753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e34"} 
[2026-07-08 01:42:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564415232001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783455048000,"timestamp_ms":1783455048000,"timestamp_seconds":1783455048,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e346140"} 
[2026-07-08 01:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564415232001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564415232001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:42:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:42:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564415232001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":125753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:42:03] local.INFO: GPS data processed {"connection_id":125753,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:42:03] local.INFO: Acknowledgment sent {"connection_id":125753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:42:34] local.INFO: TCP Data received {"connection_id":125753,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e346140012dc5eb400537d5a0003401442d..."} 
[2026-07-08 01:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e346140012dc5eb400537d5a0003401442d..."} 
[2026-07-08 01:42:34] local.INFO: Processing buffer {"connection_id":125753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e346140012dc5eb400537d5a0003401442d..."} 
[2026-07-08 01:42:34] local.INFO: Packet analysis {"connection_id":125753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e34"} 
[2026-07-08 01:42:34] local.INFO: Extracted packet for processing {"connection_id":125753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e34"} 
[2026-07-08 01:42:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564415232001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783455048000,"timestamp_ms":1783455048000,"timestamp_seconds":1783455048,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e346140"} 
[2026-07-08 01:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:42: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-07-08 01: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-07-08 01:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564415232001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564415232001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:42:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:42:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564415232001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":125753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:42:34] local.INFO: GPS data processed {"connection_id":125753,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:42:34] local.INFO: Acknowledgment sent {"connection_id":125753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:42:57] local.INFO: TCP Data received {"connection_id":125754,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:42:57] local.INFO: Processing buffer {"connection_id":125754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:42:57] local.INFO: IMEI packet received {"connection_id":125754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":125754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:43:02] local.INFO: TCP Data received {"connection_id":125754,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:43:02] local.INFO: Processing buffer {"connection_id":125754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:43:02] local.INFO: IMEI packet received {"connection_id":125754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":125754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:43:03] local.INFO: TCP Data received {"connection_id":125754,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e346140012dc5eb400537d5a0003401442d..."} 
[2026-07-08 01:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e346140012dc5eb400537d5a0003401442d..."} 
[2026-07-08 01:43:03] local.INFO: Processing buffer {"connection_id":125754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e346140012dc5eb400537d5a0003401442d..."} 
[2026-07-08 01:43:03] local.INFO: Packet analysis {"connection_id":125754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e34"} 
[2026-07-08 01:43:03] local.INFO: Extracted packet for processing {"connection_id":125754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e34"} 
[2026-07-08 01:43:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564415232001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783455048000,"timestamp_ms":1783455048000,"timestamp_seconds":1783455048,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e346140"} 
[2026-07-08 01:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564415232001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564415232001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:43:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:43:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564415232001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":125754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:43:03] local.INFO: GPS data processed {"connection_id":125754,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:43:03] local.INFO: Acknowledgment sent {"connection_id":125754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:43:34] local.INFO: TCP Data received {"connection_id":125754,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e346140012dc5eb400537d5a0003401442d..."} 
[2026-07-08 01:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e346140012dc5eb400537d5a0003401442d..."} 
[2026-07-08 01:43:34] local.INFO: Processing buffer {"connection_id":125754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e346140012dc5eb400537d5a0003401442d..."} 
[2026-07-08 01:43:34] local.INFO: Packet analysis {"connection_id":125754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e34"} 
[2026-07-08 01:43:34] local.INFO: Extracted packet for processing {"connection_id":125754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e34"} 
[2026-07-08 01:43:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564415232001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783455048000,"timestamp_ms":1783455048000,"timestamp_seconds":1783455048,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e346140"} 
[2026-07-08 01:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:43: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-07-08 01:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564415232001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564415232001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:43:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:43:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564415232001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":125754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:43:34] local.INFO: GPS data processed {"connection_id":125754,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:43:34] local.INFO: Acknowledgment sent {"connection_id":125754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:43:57] local.INFO: TCP Data received {"connection_id":125755,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:43:57] local.INFO: Processing buffer {"connection_id":125755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:43:57] local.INFO: IMEI packet received {"connection_id":125755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":125755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:44:02] local.INFO: TCP Data received {"connection_id":125755,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:44:02] local.INFO: Processing buffer {"connection_id":125755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:44:02] local.INFO: IMEI packet received {"connection_id":125755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":125755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:44:03] local.INFO: TCP Data received {"connection_id":125755,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e346140012dc5eb400537d5a0003401442d..."} 
[2026-07-08 01:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e346140012dc5eb400537d5a0003401442d..."} 
[2026-07-08 01:44:03] local.INFO: Processing buffer {"connection_id":125755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e346140012dc5eb400537d5a0003401442d..."} 
[2026-07-08 01:44:03] local.INFO: Packet analysis {"connection_id":125755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e34"} 
[2026-07-08 01:44:03] local.INFO: Extracted packet for processing {"connection_id":125755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e34"} 
[2026-07-08 01:44:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564415232001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783455048000,"timestamp_ms":1783455048000,"timestamp_seconds":1783455048,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e346140"} 
[2026-07-08 01:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564415232001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564415232001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:44:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:44:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564415232001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":125755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:44:03] local.INFO: GPS data processed {"connection_id":125755,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:44:03] local.INFO: Acknowledgment sent {"connection_id":125755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:44:34] local.INFO: TCP Data received {"connection_id":125755,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e346140012dc5eb400537d5a0003401442d..."} 
[2026-07-08 01:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e346140012dc5eb400537d5a0003401442d..."} 
[2026-07-08 01:44:34] local.INFO: Processing buffer {"connection_id":125755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e346140012dc5eb400537d5a0003401442d..."} 
[2026-07-08 01:44:34] local.INFO: Packet analysis {"connection_id":125755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e34"} 
[2026-07-08 01:44:34] local.INFO: Extracted packet for processing {"connection_id":125755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e34"} 
[2026-07-08 01:44:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564415232001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783455048000,"timestamp_ms":1783455048000,"timestamp_seconds":1783455048,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e346140"} 
[2026-07-08 01:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:44: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-07-08 01:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564415232001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564415232001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:44:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:44:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564415232001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":125755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:44:34] local.INFO: GPS data processed {"connection_id":125755,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:44:34] local.INFO: Acknowledgment sent {"connection_id":125755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:44:57] local.INFO: TCP Data received {"connection_id":124917,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:44:57] local.INFO: Processing buffer {"connection_id":124917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:44:57] local.INFO: IMEI packet received {"connection_id":124917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":124917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:45:02] local.INFO: TCP Data received {"connection_id":124917,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:45:02] local.INFO: Processing buffer {"connection_id":124917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:45:02] local.INFO: IMEI packet received {"connection_id":124917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":124917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:45:03] local.INFO: TCP Data received {"connection_id":124917,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e346140012dc5eb400537d5a0003401442d..."} 
[2026-07-08 01:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e346140012dc5eb400537d5a0003401442d..."} 
[2026-07-08 01:45:03] local.INFO: Processing buffer {"connection_id":124917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e346140012dc5eb400537d5a0003401442d..."} 
[2026-07-08 01:45:03] local.INFO: Packet analysis {"connection_id":124917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e34"} 
[2026-07-08 01:45:03] local.INFO: Extracted packet for processing {"connection_id":124917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e34"} 
[2026-07-08 01:45:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564415232001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783455048000,"timestamp_ms":1783455048000,"timestamp_seconds":1783455048,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e346140"} 
[2026-07-08 01:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564415232001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564415232001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:45:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:45:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564415232001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":124917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:45:03] local.INFO: GPS data processed {"connection_id":124917,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:45:03] local.INFO: Acknowledgment sent {"connection_id":124917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:45:34] local.INFO: TCP Data received {"connection_id":124917,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e346140012dc5eb400537d5a0003401442d..."} 
[2026-07-08 01:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e346140012dc5eb400537d5a0003401442d..."} 
[2026-07-08 01:45:34] local.INFO: Processing buffer {"connection_id":124917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e346140012dc5eb400537d5a0003401442d..."} 
[2026-07-08 01:45:34] local.INFO: Packet analysis {"connection_id":124917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e34"} 
[2026-07-08 01:45:34] local.INFO: Extracted packet for processing {"connection_id":124917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e34"} 
[2026-07-08 01:45:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564415232001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783455048000,"timestamp_ms":1783455048000,"timestamp_seconds":1783455048,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e346140"} 
[2026-07-08 01:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:45:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:45: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-07-08 01: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-07-08 01:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564415232001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564415232001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:45:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:45:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564415232001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":124917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:45:34] local.INFO: GPS data processed {"connection_id":124917,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:45:34] local.INFO: Acknowledgment sent {"connection_id":124917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:45:57] local.INFO: TCP Data received {"connection_id":124920,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:45:57] local.INFO: Processing buffer {"connection_id":124920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:45:57] local.INFO: IMEI packet received {"connection_id":124920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":124920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:46:02] local.INFO: TCP Data received {"connection_id":124920,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:46:02] local.INFO: Processing buffer {"connection_id":124920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:46:02] local.INFO: IMEI packet received {"connection_id":124920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":124920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:46:03] local.INFO: TCP Data received {"connection_id":124920,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e346140012dc5eb400537d5a0003401442d..."} 
[2026-07-08 01:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e346140012dc5eb400537d5a0003401442d..."} 
[2026-07-08 01:46:03] local.INFO: Processing buffer {"connection_id":124920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e346140012dc5eb400537d5a0003401442d..."} 
[2026-07-08 01:46:03] local.INFO: Packet analysis {"connection_id":124920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e34"} 
[2026-07-08 01:46:03] local.INFO: Extracted packet for processing {"connection_id":124920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e34"} 
[2026-07-08 01:46:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564415232001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783455048000,"timestamp_ms":1783455048000,"timestamp_seconds":1783455048,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e346140"} 
[2026-07-08 01:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564415232001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564415232001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:46:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:46:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564415232001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":124920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:46:03] local.INFO: GPS data processed {"connection_id":124920,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:46:03] local.INFO: Acknowledgment sent {"connection_id":124920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:46:34] local.INFO: TCP Data received {"connection_id":124920,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e38f908012dc5eb400537d5a0003401442c..."} 
[2026-07-08 01:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e38f908012dc5eb400537d5a0003401442c..."} 
[2026-07-08 01:46:34] local.INFO: Processing buffer {"connection_id":124920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e38f908012dc5eb400537d5a0003401442c..."} 
[2026-07-08 01:46:34] local.INFO: Packet analysis {"connection_id":124920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e38"} 
[2026-07-08 01:46:34] local.INFO: Extracted packet for processing {"connection_id":124920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e38"} 
[2026-07-08 01:46:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564492288001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783455349000,"timestamp_ms":1783455349000,"timestamp_seconds":1783455349,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e38f908"} 
[2026-07-08 01:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:46: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-07-08 01:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564492288001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564492288001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:46:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:46:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564492288001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":124920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:46:34] local.INFO: GPS data processed {"connection_id":124920,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:46:34] local.INFO: Acknowledgment sent {"connection_id":124920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:47:02] local.INFO: TCP Data received {"connection_id":125015,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:47:02] local.INFO: Processing buffer {"connection_id":125015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:47:02] local.INFO: IMEI packet received {"connection_id":125015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":125015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:47:07] local.INFO: TCP Data received {"connection_id":124921,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124921,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:47:07] local.INFO: Processing buffer {"connection_id":124921,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:47:07] local.INFO: IMEI packet received {"connection_id":124921,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":124921,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:47:07] local.INFO: TCP Data received {"connection_id":125015,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:47:07] local.INFO: Processing buffer {"connection_id":125015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:47:07] local.INFO: IMEI packet received {"connection_id":125015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":125015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:47:08] local.INFO: TCP Data received {"connection_id":125015,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e38f908012dc5eb400537d5a0003401442c..."} 
[2026-07-08 01:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e38f908012dc5eb400537d5a0003401442c..."} 
[2026-07-08 01:47:08] local.INFO: Processing buffer {"connection_id":125015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e38f908012dc5eb400537d5a0003401442c..."} 
[2026-07-08 01:47:08] local.INFO: Packet analysis {"connection_id":125015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e38"} 
[2026-07-08 01:47:08] local.INFO: Extracted packet for processing {"connection_id":125015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e38"} 
[2026-07-08 01:47:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564492288001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783455349000,"timestamp_ms":1783455349000,"timestamp_seconds":1783455349,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e38f908"} 
[2026-07-08 01:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564492288001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564492288001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:47:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:47:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564492288001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":125015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:47:08] local.INFO: GPS data processed {"connection_id":125015,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:47:08] local.INFO: Acknowledgment sent {"connection_id":125015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:47:39] local.INFO: TCP Data received {"connection_id":125015,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e38f908012dc5eb400537d5a0003401442c..."} 
[2026-07-08 01:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e38f908012dc5eb400537d5a0003401442c..."} 
[2026-07-08 01:47:39] local.INFO: Processing buffer {"connection_id":125015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e38f908012dc5eb400537d5a0003401442c..."} 
[2026-07-08 01:47:39] local.INFO: Packet analysis {"connection_id":125015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e38"} 
[2026-07-08 01:47:39] local.INFO: Extracted packet for processing {"connection_id":125015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e38"} 
[2026-07-08 01:47:39] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564492288001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783455349000,"timestamp_ms":1783455349000,"timestamp_seconds":1783455349,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e38f908"} 
[2026-07-08 01:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:47:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:47: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-07-08 01:47:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:47:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564492288001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564492288001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:47:39] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:47:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564492288001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":125015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:47:39] local.INFO: GPS data processed {"connection_id":125015,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:47:39] local.INFO: Acknowledgment sent {"connection_id":125015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:47:57] local.INFO: TCP Data received {"connection_id":125757,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:47:57] local.INFO: Processing buffer {"connection_id":125757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:47:57] local.INFO: IMEI packet received {"connection_id":125757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":125757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:48:02] local.INFO: TCP Data received {"connection_id":125757,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:48:02] local.INFO: Processing buffer {"connection_id":125757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:48:02] local.INFO: IMEI packet received {"connection_id":125757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":125757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:48:03] local.INFO: TCP Data received {"connection_id":125757,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e38f908012dc5eb400537d5a0003401442c..."} 
[2026-07-08 01:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e38f908012dc5eb400537d5a0003401442c..."} 
[2026-07-08 01:48:03] local.INFO: Processing buffer {"connection_id":125757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e38f908012dc5eb400537d5a0003401442c..."} 
[2026-07-08 01:48:03] local.INFO: Packet analysis {"connection_id":125757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e38"} 
[2026-07-08 01:48:03] local.INFO: Extracted packet for processing {"connection_id":125757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e38"} 
[2026-07-08 01:48:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564492288001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783455349000,"timestamp_ms":1783455349000,"timestamp_seconds":1783455349,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e38f908"} 
[2026-07-08 01:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564492288001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564492288001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:48:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:48:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564492288001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":125757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:48:03] local.INFO: GPS data processed {"connection_id":125757,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:48:03] local.INFO: Acknowledgment sent {"connection_id":125757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:48:34] local.INFO: TCP Data received {"connection_id":125757,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e38f908012dc5eb400537d5a0003401442c..."} 
[2026-07-08 01:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e38f908012dc5eb400537d5a0003401442c..."} 
[2026-07-08 01:48:34] local.INFO: Processing buffer {"connection_id":125757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e38f908012dc5eb400537d5a0003401442c..."} 
[2026-07-08 01:48:34] local.INFO: Packet analysis {"connection_id":125757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e38"} 
[2026-07-08 01:48:34] local.INFO: Extracted packet for processing {"connection_id":125757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e38"} 
[2026-07-08 01:48:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564492288001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783455349000,"timestamp_ms":1783455349000,"timestamp_seconds":1783455349,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e38f908"} 
[2026-07-08 01:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:48: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-07-08 01:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564492288001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564492288001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:48:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:48:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564492288001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":125757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:48:34] local.INFO: GPS data processed {"connection_id":125757,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:48:34] local.INFO: Acknowledgment sent {"connection_id":125757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:48:57] local.INFO: TCP Data received {"connection_id":125016,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:48:57] local.INFO: Processing buffer {"connection_id":125016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:48:57] local.INFO: IMEI packet received {"connection_id":125016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":125016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:49:02] local.INFO: TCP Data received {"connection_id":125016,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:49:02] local.INFO: Processing buffer {"connection_id":125016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:49:02] local.INFO: IMEI packet received {"connection_id":125016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":125016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:49:03] local.INFO: TCP Data received {"connection_id":125016,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e38f908012dc5eb400537d5a0003401442c..."} 
[2026-07-08 01:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e38f908012dc5eb400537d5a0003401442c..."} 
[2026-07-08 01:49:03] local.INFO: Processing buffer {"connection_id":125016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e38f908012dc5eb400537d5a0003401442c..."} 
[2026-07-08 01:49:03] local.INFO: Packet analysis {"connection_id":125016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e38"} 
[2026-07-08 01:49:03] local.INFO: Extracted packet for processing {"connection_id":125016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e38"} 
[2026-07-08 01:49:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564492288001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783455349000,"timestamp_ms":1783455349000,"timestamp_seconds":1783455349,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e38f908"} 
[2026-07-08 01:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564492288001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564492288001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:49:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:49:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564492288001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":125016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:49:03] local.INFO: GPS data processed {"connection_id":125016,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:49:03] local.INFO: Acknowledgment sent {"connection_id":125016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:49:34] local.INFO: TCP Data received {"connection_id":125016,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e38f908012dc5eb400537d5a0003401442c..."} 
[2026-07-08 01:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e38f908012dc5eb400537d5a0003401442c..."} 
[2026-07-08 01:49:34] local.INFO: Processing buffer {"connection_id":125016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e38f908012dc5eb400537d5a0003401442c..."} 
[2026-07-08 01:49:34] local.INFO: Packet analysis {"connection_id":125016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e38"} 
[2026-07-08 01:49:34] local.INFO: Extracted packet for processing {"connection_id":125016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e38"} 
[2026-07-08 01:49:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564492288001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783455349000,"timestamp_ms":1783455349000,"timestamp_seconds":1783455349,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e38f908"} 
[2026-07-08 01:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:49: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-07-08 01: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-07-08 01:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564492288001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564492288001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:49:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:49:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564492288001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":125016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:49:34] local.INFO: GPS data processed {"connection_id":125016,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:49:34] local.INFO: Acknowledgment sent {"connection_id":125016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:49:57] local.INFO: TCP Data received {"connection_id":125017,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:49:57] local.INFO: Processing buffer {"connection_id":125017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:49:57] local.INFO: IMEI packet received {"connection_id":125017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":125017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:50:02] local.INFO: TCP Data received {"connection_id":125017,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:50:02] local.INFO: Processing buffer {"connection_id":125017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:50:02] local.INFO: IMEI packet received {"connection_id":125017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":125017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:50:03] local.INFO: TCP Data received {"connection_id":125017,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e38f908012dc5eb400537d5a0003401442c..."} 
[2026-07-08 01:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e38f908012dc5eb400537d5a0003401442c..."} 
[2026-07-08 01:50:03] local.INFO: Processing buffer {"connection_id":125017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e38f908012dc5eb400537d5a0003401442c..."} 
[2026-07-08 01:50:03] local.INFO: Packet analysis {"connection_id":125017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e38"} 
[2026-07-08 01:50:03] local.INFO: Extracted packet for processing {"connection_id":125017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e38"} 
[2026-07-08 01:50:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564492288001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783455349000,"timestamp_ms":1783455349000,"timestamp_seconds":1783455349,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e38f908"} 
[2026-07-08 01:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564492288001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564492288001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:50:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:50:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564492288001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":125017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:50:03] local.INFO: GPS data processed {"connection_id":125017,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:50:03] local.INFO: Acknowledgment sent {"connection_id":125017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:50:35] local.INFO: TCP Data received {"connection_id":125017,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e38f908012dc5eb400537d5a0003401442c..."} 
[2026-07-08 01:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e38f908012dc5eb400537d5a0003401442c..."} 
[2026-07-08 01:50:35] local.INFO: Processing buffer {"connection_id":125017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e38f908012dc5eb400537d5a0003401442c..."} 
[2026-07-08 01:50:35] local.INFO: Packet analysis {"connection_id":125017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e38"} 
[2026-07-08 01:50:35] local.INFO: Extracted packet for processing {"connection_id":125017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e38"} 
[2026-07-08 01:50:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564492288001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783455349000,"timestamp_ms":1783455349000,"timestamp_seconds":1783455349,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e38f908"} 
[2026-07-08 01:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564492288001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564492288001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:50:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:50:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564492288001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":125017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:50:35] local.INFO: GPS data processed {"connection_id":125017,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:50:35] local.INFO: Acknowledgment sent {"connection_id":125017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:51:02] local.INFO: TCP Data received {"connection_id":125018,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:51:02] local.INFO: Processing buffer {"connection_id":125018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:51:02] local.INFO: IMEI packet received {"connection_id":125018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":125018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:51:07] local.INFO: TCP Data received {"connection_id":125018,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:51:07] local.INFO: Processing buffer {"connection_id":125018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:51:07] local.INFO: IMEI packet received {"connection_id":125018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":125018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:51:08] local.INFO: TCP Data received {"connection_id":125018,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e38f908012dc5eb400537d5a0003401442c..."} 
[2026-07-08 01:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e38f908012dc5eb400537d5a0003401442c..."} 
[2026-07-08 01:51:08] local.INFO: Processing buffer {"connection_id":125018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e38f908012dc5eb400537d5a0003401442c..."} 
[2026-07-08 01:51:08] local.INFO: Packet analysis {"connection_id":125018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e38"} 
[2026-07-08 01:51:08] local.INFO: Extracted packet for processing {"connection_id":125018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e38"} 
[2026-07-08 01:51:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564492288001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783455349000,"timestamp_ms":1783455349000,"timestamp_seconds":1783455349,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e38f908"} 
[2026-07-08 01:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:51:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564492288001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564492288001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:51:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:51:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564492288001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":125018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:51:08] local.INFO: GPS data processed {"connection_id":125018,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:51:08] local.INFO: Acknowledgment sent {"connection_id":125018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:51:13] local.INFO: TCP Data received {"connection_id":125018,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e38f908012dc5eb400537d5a0003401442c..."} 
[2026-07-08 01:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e38f908012dc5eb400537d5a0003401442c..."} 
[2026-07-08 01:51:13] local.INFO: Processing buffer {"connection_id":125018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e38f908012dc5eb400537d5a0003401442c..."} 
[2026-07-08 01:51:13] local.INFO: Packet analysis {"connection_id":125018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e38"} 
[2026-07-08 01:51:13] local.INFO: Extracted packet for processing {"connection_id":125018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e38"} 
[2026-07-08 01:51:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564492288001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783455349000,"timestamp_ms":1783455349000,"timestamp_seconds":1783455349,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e38f908"} 
[2026-07-08 01:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 01:51: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-07-08 01:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564492288001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564492288001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:51:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:51:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564492288001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":125018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:51:13] local.INFO: GPS data processed {"connection_id":125018,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:51:13] local.INFO: Acknowledgment sent {"connection_id":125018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:51:57] local.INFO: TCP Data received {"connection_id":124923,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:51:57] local.INFO: Processing buffer {"connection_id":124923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:51:57] local.INFO: IMEI packet received {"connection_id":124923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":124923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:52:02] local.INFO: TCP Data received {"connection_id":124923,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:52:02] local.INFO: Processing buffer {"connection_id":124923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:52:02] local.INFO: IMEI packet received {"connection_id":124923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":124923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:52:03] local.INFO: TCP Data received {"connection_id":124923,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e3d90d0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e3d90d0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:52:03] local.INFO: Processing buffer {"connection_id":124923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e3d90d0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:52:03] local.INFO: Packet analysis {"connection_id":124923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e3d"} 
[2026-07-08 01:52:03] local.INFO: Extracted packet for processing {"connection_id":124923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e3d"} 
[2026-07-08 01:52:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564569344001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783455650000,"timestamp_ms":1783455650000,"timestamp_seconds":1783455650,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e3d90d0"} 
[2026-07-08 01:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:52:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564569344001,"66":25451,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564569344001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:52:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:52:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564569344001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":124923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:52:03] local.INFO: GPS data processed {"connection_id":124923,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:52:03] local.INFO: Acknowledgment sent {"connection_id":124923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:52:34] local.INFO: TCP Data received {"connection_id":124923,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e3d90d0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e3d90d0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:52:34] local.INFO: Processing buffer {"connection_id":124923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e3d90d0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:52:34] local.INFO: Packet analysis {"connection_id":124923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e3d"} 
[2026-07-08 01:52:34] local.INFO: Extracted packet for processing {"connection_id":124923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e3d"} 
[2026-07-08 01:52:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564569344001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783455650000,"timestamp_ms":1783455650000,"timestamp_seconds":1783455650,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e3d90d0"} 
[2026-07-08 01:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:52:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:52: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-07-08 01:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564569344001,"66":25451,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564569344001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:52:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:52:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564569344001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":124923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:52:34] local.INFO: GPS data processed {"connection_id":124923,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:52:34] local.INFO: Acknowledgment sent {"connection_id":124923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:52:37] local.INFO: TCP Data received {"connection_id":127013,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127013,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:52:37] local.INFO: Processing buffer {"connection_id":127013,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:52:37] local.INFO: IMEI packet received {"connection_id":127013,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":127013,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:52:57] local.INFO: TCP Data received {"connection_id":125759,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:52:57] local.INFO: Processing buffer {"connection_id":125759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:52:57] local.INFO: IMEI packet received {"connection_id":125759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":125759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:53:02] local.INFO: TCP Data received {"connection_id":125760,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125760,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:53:02] local.INFO: Processing buffer {"connection_id":125760,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:53:02] local.INFO: IMEI packet received {"connection_id":125760,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":125760,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:53:02] local.INFO: TCP Data received {"connection_id":125759,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:53:02] local.INFO: Processing buffer {"connection_id":125759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:53:02] local.INFO: IMEI packet received {"connection_id":125759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":125759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:53:03] local.INFO: TCP Data received {"connection_id":125759,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e3d90d0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e3d90d0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:53:03] local.INFO: Processing buffer {"connection_id":125759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e3d90d0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:53:03] local.INFO: Packet analysis {"connection_id":125759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e3d"} 
[2026-07-08 01:53:03] local.INFO: Extracted packet for processing {"connection_id":125759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e3d"} 
[2026-07-08 01:53:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564569344001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783455650000,"timestamp_ms":1783455650000,"timestamp_seconds":1783455650,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e3d90d0"} 
[2026-07-08 01:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564569344001,"66":25451,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564569344001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:53:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:53:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564569344001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":125759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:53:03] local.INFO: GPS data processed {"connection_id":125759,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:53:03] local.INFO: Acknowledgment sent {"connection_id":125759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:53:34] local.INFO: TCP Data received {"connection_id":125759,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e3d90d0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e3d90d0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:53:34] local.INFO: Processing buffer {"connection_id":125759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e3d90d0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:53:34] local.INFO: Packet analysis {"connection_id":125759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e3d"} 
[2026-07-08 01:53:34] local.INFO: Extracted packet for processing {"connection_id":125759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e3d"} 
[2026-07-08 01:53:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564569344001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783455650000,"timestamp_ms":1783455650000,"timestamp_seconds":1783455650,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e3d90d0"} 
[2026-07-08 01:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:53: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-07-08 01: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-07-08 01:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564569344001,"66":25451,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564569344001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:53:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:53:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564569344001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":125759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:53:34] local.INFO: GPS data processed {"connection_id":125759,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:53:34] local.INFO: Acknowledgment sent {"connection_id":125759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:53:57] local.INFO: TCP Data received {"connection_id":127014,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:53:57] local.INFO: Processing buffer {"connection_id":127014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:53:57] local.INFO: IMEI packet received {"connection_id":127014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":127014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:54:02] local.INFO: TCP Data received {"connection_id":127014,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:54:02] local.INFO: Processing buffer {"connection_id":127014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:54:02] local.INFO: IMEI packet received {"connection_id":127014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":127014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:54:03] local.INFO: TCP Data received {"connection_id":127014,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e3d90d0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e3d90d0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:54:03] local.INFO: Processing buffer {"connection_id":127014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e3d90d0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:54:03] local.INFO: Packet analysis {"connection_id":127014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e3d"} 
[2026-07-08 01:54:03] local.INFO: Extracted packet for processing {"connection_id":127014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e3d"} 
[2026-07-08 01:54:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564569344001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783455650000,"timestamp_ms":1783455650000,"timestamp_seconds":1783455650,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e3d90d0"} 
[2026-07-08 01:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564569344001,"66":25451,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564569344001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:54:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:54:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564569344001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":127014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:54:03] local.INFO: GPS data processed {"connection_id":127014,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:54:03] local.INFO: Acknowledgment sent {"connection_id":127014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:54:34] local.INFO: TCP Data received {"connection_id":127014,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e3d90d0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e3d90d0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:54:34] local.INFO: Processing buffer {"connection_id":127014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e3d90d0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:54:34] local.INFO: Packet analysis {"connection_id":127014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e3d"} 
[2026-07-08 01:54:34] local.INFO: Extracted packet for processing {"connection_id":127014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e3d"} 
[2026-07-08 01:54:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564569344001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783455650000,"timestamp_ms":1783455650000,"timestamp_seconds":1783455650,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e3d90d0"} 
[2026-07-08 01:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:54: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-07-08 01:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564569344001,"66":25451,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564569344001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:54:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:54:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564569344001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":127014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:54:34] local.INFO: GPS data processed {"connection_id":127014,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:54:34] local.INFO: Acknowledgment sent {"connection_id":127014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:54:57] local.INFO: TCP Data received {"connection_id":124924,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:54:57] local.INFO: Processing buffer {"connection_id":124924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:54:57] local.INFO: IMEI packet received {"connection_id":124924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":124924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:55:02] local.INFO: TCP Data received {"connection_id":124924,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:55:02] local.INFO: Processing buffer {"connection_id":124924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:55:02] local.INFO: IMEI packet received {"connection_id":124924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":124924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:55:03] local.INFO: TCP Data received {"connection_id":124924,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e3d90d0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e3d90d0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:55:03] local.INFO: Processing buffer {"connection_id":124924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e3d90d0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:55:03] local.INFO: Packet analysis {"connection_id":124924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e3d"} 
[2026-07-08 01:55:03] local.INFO: Extracted packet for processing {"connection_id":124924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e3d"} 
[2026-07-08 01:55:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564569344001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783455650000,"timestamp_ms":1783455650000,"timestamp_seconds":1783455650,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e3d90d0"} 
[2026-07-08 01:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564569344001,"66":25451,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564569344001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:55:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:55:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564569344001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":124924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:55:03] local.INFO: GPS data processed {"connection_id":124924,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:55:03] local.INFO: Acknowledgment sent {"connection_id":124924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:55:34] local.INFO: TCP Data received {"connection_id":124924,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e3d90d0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e3d90d0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:55:34] local.INFO: Processing buffer {"connection_id":124924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e3d90d0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:55:34] local.INFO: Packet analysis {"connection_id":124924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e3d"} 
[2026-07-08 01:55:34] local.INFO: Extracted packet for processing {"connection_id":124924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e3d"} 
[2026-07-08 01:55:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564569344001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783455650000,"timestamp_ms":1783455650000,"timestamp_seconds":1783455650,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e3d90d0"} 
[2026-07-08 01:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:55: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-07-08 01: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-07-08 01:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564569344001,"66":25451,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564569344001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:55:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:55:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564569344001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":124924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:55:34] local.INFO: GPS data processed {"connection_id":124924,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:55:34] local.INFO: Acknowledgment sent {"connection_id":124924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:56:02] local.INFO: TCP Data received {"connection_id":124925,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:56:02] local.INFO: Processing buffer {"connection_id":124925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:56:02] local.INFO: IMEI packet received {"connection_id":124925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":124925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:56:07] local.INFO: TCP Data received {"connection_id":124925,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:56:07] local.INFO: Processing buffer {"connection_id":124925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:56:07] local.INFO: IMEI packet received {"connection_id":124925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":124925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:56:08] local.INFO: TCP Data received {"connection_id":124925,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e3d90d0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e3d90d0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:56:08] local.INFO: Processing buffer {"connection_id":124925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e3d90d0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:56:08] local.INFO: Packet analysis {"connection_id":124925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e3d"} 
[2026-07-08 01:56:08] local.INFO: Extracted packet for processing {"connection_id":124925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e3d"} 
[2026-07-08 01:56:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564569344001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783455650000,"timestamp_ms":1783455650000,"timestamp_seconds":1783455650,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e3d90d0"} 
[2026-07-08 01:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:56:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564569344001,"66":25451,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564569344001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:56:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:56:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564569344001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":124925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:56:08] local.INFO: GPS data processed {"connection_id":124925,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:56:08] local.INFO: Acknowledgment sent {"connection_id":124925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:56:13] local.INFO: TCP Data received {"connection_id":124925,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e3d90d0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e3d90d0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:56:13] local.INFO: Processing buffer {"connection_id":124925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e3d90d0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 01:56:13] local.INFO: Packet analysis {"connection_id":124925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e3d"} 
[2026-07-08 01:56:13] local.INFO: Extracted packet for processing {"connection_id":124925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e3d"} 
[2026-07-08 01:56:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564569344001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783455650000,"timestamp_ms":1783455650000,"timestamp_seconds":1783455650,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e3d90d0"} 
[2026-07-08 01:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 01:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:56:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564569344001,"66":25451,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564569344001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:56:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:56:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564569344001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":124925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:56:13] local.INFO: GPS data processed {"connection_id":124925,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:56:13] local.INFO: Acknowledgment sent {"connection_id":124925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:56:57] local.INFO: TCP Data received {"connection_id":125020,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:56:57] local.INFO: Processing buffer {"connection_id":125020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:56:57] local.INFO: IMEI packet received {"connection_id":125020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":125020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:57:02] local.INFO: TCP Data received {"connection_id":125020,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:57:02] local.INFO: Processing buffer {"connection_id":125020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:57:02] local.INFO: IMEI packet received {"connection_id":125020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":125020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:57:03] local.INFO: TCP Data received {"connection_id":125020,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e422898012dc5eb400537d5a0003401442f..."} 
[2026-07-08 01:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e422898012dc5eb400537d5a0003401442f..."} 
[2026-07-08 01:57:03] local.INFO: Processing buffer {"connection_id":125020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e422898012dc5eb400537d5a0003401442f..."} 
[2026-07-08 01:57:03] local.INFO: Packet analysis {"connection_id":125020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e42"} 
[2026-07-08 01:57:03] local.INFO: Extracted packet for processing {"connection_id":125020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e42"} 
[2026-07-08 01:57:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564646400001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783455951000,"timestamp_ms":1783455951000,"timestamp_seconds":1783455951,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e422898"} 
[2026-07-08 01:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 01:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564646400001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564646400001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:57:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:57:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564646400001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":125020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:57:03] local.INFO: GPS data processed {"connection_id":125020,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:57:03] local.INFO: Acknowledgment sent {"connection_id":125020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:57:34] local.INFO: TCP Data received {"connection_id":125020,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e422898012dc5eb400537d5a0003401442f..."} 
[2026-07-08 01:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e422898012dc5eb400537d5a0003401442f..."} 
[2026-07-08 01:57:34] local.INFO: Processing buffer {"connection_id":125020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e422898012dc5eb400537d5a0003401442f..."} 
[2026-07-08 01:57:34] local.INFO: Packet analysis {"connection_id":125020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e42"} 
[2026-07-08 01:57:34] local.INFO: Extracted packet for processing {"connection_id":125020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e42"} 
[2026-07-08 01:57:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564646400001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783455951000,"timestamp_ms":1783455951000,"timestamp_seconds":1783455951,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e422898"} 
[2026-07-08 01:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 01:57: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-07-08 01: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-07-08 01:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564646400001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564646400001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:57:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:57:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564646400001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":125020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:57:34] local.INFO: GPS data processed {"connection_id":125020,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:57:34] local.INFO: Acknowledgment sent {"connection_id":125020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:57:57] local.INFO: TCP Data received {"connection_id":124927,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:57:57] local.INFO: Processing buffer {"connection_id":124927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:57:57] local.INFO: IMEI packet received {"connection_id":124927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":124927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:58:02] local.INFO: TCP Data received {"connection_id":124927,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:58:02] local.INFO: Processing buffer {"connection_id":124927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:58:02] local.INFO: IMEI packet received {"connection_id":124927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":124927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:58:03] local.INFO: TCP Data received {"connection_id":124927,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e422898012dc5eb400537d5a0003401442f..."} 
[2026-07-08 01:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e422898012dc5eb400537d5a0003401442f..."} 
[2026-07-08 01:58:03] local.INFO: Processing buffer {"connection_id":124927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e422898012dc5eb400537d5a0003401442f..."} 
[2026-07-08 01:58:03] local.INFO: Packet analysis {"connection_id":124927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e42"} 
[2026-07-08 01:58:03] local.INFO: Extracted packet for processing {"connection_id":124927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e42"} 
[2026-07-08 01:58:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564646400001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783455951000,"timestamp_ms":1783455951000,"timestamp_seconds":1783455951,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e422898"} 
[2026-07-08 01:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 01:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01: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-07-08 01:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564646400001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564646400001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:58:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:58:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564646400001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":124927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:58:03] local.INFO: GPS data processed {"connection_id":124927,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:58:03] local.INFO: Acknowledgment sent {"connection_id":124927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:58:34] local.INFO: TCP Data received {"connection_id":124927,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e422898012dc5eb400537d5a0003401442f..."} 
[2026-07-08 01:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e422898012dc5eb400537d5a0003401442f..."} 
[2026-07-08 01:58:34] local.INFO: Processing buffer {"connection_id":124927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e422898012dc5eb400537d5a0003401442f..."} 
[2026-07-08 01:58:34] local.INFO: Packet analysis {"connection_id":124927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e42"} 
[2026-07-08 01:58:34] local.INFO: Extracted packet for processing {"connection_id":124927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e42"} 
[2026-07-08 01:58:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01: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-07-08 01:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564646400001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783455951000,"timestamp_ms":1783455951000,"timestamp_seconds":1783455951,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e422898"} 
[2026-07-08 01:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 01:58: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-07-08 01: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-07-08 01:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564646400001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564646400001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:58:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:58:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564646400001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":124927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:58:34] local.INFO: GPS data processed {"connection_id":124927,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:58:34] local.INFO: Acknowledgment sent {"connection_id":124927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:58:38] local.INFO: TCP Data received {"connection_id":124928,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124928,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:58:38] local.INFO: Processing buffer {"connection_id":124928,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:58:38] local.INFO: IMEI packet received {"connection_id":124928,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":124928,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:58:57] local.INFO: TCP Data received {"connection_id":127015,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:58:57] local.INFO: Processing buffer {"connection_id":127015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:58:57] local.INFO: IMEI packet received {"connection_id":127015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":127015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:59:02] local.INFO: TCP Data received {"connection_id":125021,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125021,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:59:02] local.INFO: Processing buffer {"connection_id":125021,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:59:02] local.INFO: IMEI packet received {"connection_id":125021,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":125021,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:59:02] local.INFO: TCP Data received {"connection_id":127015,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:59:02] local.INFO: Processing buffer {"connection_id":127015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:59:02] local.INFO: IMEI packet received {"connection_id":127015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 01:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":127015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:59:03] local.INFO: TCP Data received {"connection_id":127015,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e422898012dc5eb400537d5a0003401442f..."} 
[2026-07-08 01:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e422898012dc5eb400537d5a0003401442f..."} 
[2026-07-08 01:59:03] local.INFO: Processing buffer {"connection_id":127015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e422898012dc5eb400537d5a0003401442f..."} 
[2026-07-08 01:59:03] local.INFO: Packet analysis {"connection_id":127015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e42"} 
[2026-07-08 01:59:03] local.INFO: Extracted packet for processing {"connection_id":127015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e42"} 
[2026-07-08 01:59:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564646400001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783455951000,"timestamp_ms":1783455951000,"timestamp_seconds":1783455951,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e422898"} 
[2026-07-08 01:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 01:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564646400001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564646400001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:59:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:59:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564646400001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":127015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:59:03] local.INFO: GPS data processed {"connection_id":127015,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:59:03] local.INFO: Acknowledgment sent {"connection_id":127015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:59:08] local.INFO: TCP Data received {"connection_id":125021,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125021,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:59:08] local.INFO: Processing buffer {"connection_id":125021,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:59:08] local.INFO: IMEI packet received {"connection_id":125021,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 01:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":125021,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 01:59:13] local.INFO: TCP Data received {"connection_id":125021,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e436118012d41a000067e9eb0001101572c..."} 
[2026-07-08 01:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e436118012d41a000067e9eb0001101572c..."} 
[2026-07-08 01:59:13] local.INFO: Processing buffer {"connection_id":125021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e436118012d41a000067e9eb0001101572c..."} 
[2026-07-08 01:59:13] local.INFO: Packet analysis {"connection_id":125021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e43"} 
[2026-07-08 01:59:13] local.INFO: Extracted packet for processing {"connection_id":125021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e43"} 
[2026-07-08 01:59:13] local.INFO: GPS Element Parsed {"raw_longitude":759275520,"raw_latitude":108961456,"longitude_deg":75.927552,"latitude_deg":10.8961456,"altitude":17,"angle":343,"satellites":44,"speed":58,"hex_longitude":"2d41a000","hex_latitude":"067e9eb0","is_valid_coordinates":true} 
[2026-07-08 01:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564742400001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132727138125086720,"note":"Value kept but may cause issues"} 
[2026-07-08 01:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4731312911421356032,"note":"Value kept but may cause issues"} 
[2026-07-08 01:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783456031000,"timestamp_ms":1783456031000,"timestamp_seconds":1783456031,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e436118"} 
[2026-07-08 01:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 01:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-08 01:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 01:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125021,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125021,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 01:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 01:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 01:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564742400001,"66":27789,"76":206,"86":48384,"24":58,"16":132727138125086720,"45":4731312911421356032},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,86,24,16,45]} 
[2026-07-08 01:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 01:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 01:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564742400001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:59:13] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-07-08 01:59:13] local.INFO: Unknown IO ID detected {"io_id":86,"value":48384,"description":"Unknown IO ID 86"} 
[2026-07-08 01:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132727138125086720,"km_value":132727138125086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4731312911421356032,"description":"Unknown IO ID 45"} 
[2026-07-08 01:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564742400001,"power":27789,"unknown_76":206,"unknown_86":48384,"ignition":58,"odometer":null,"unknown_45":4731312911421356032}} 
[2026-07-08 01:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":125021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448811,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:59:13] local.INFO: GPS data processed {"connection_id":125021,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:59:13] local.INFO: Acknowledgment sent {"connection_id":125021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:59:34] local.INFO: TCP Data received {"connection_id":127015,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e422898012dc5eb400537d5a0003401442f..."} 
[2026-07-08 01:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e422898012dc5eb400537d5a0003401442f..."} 
[2026-07-08 01:59:34] local.INFO: Processing buffer {"connection_id":127015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e422898012dc5eb400537d5a0003401442f..."} 
[2026-07-08 01:59:34] local.INFO: Packet analysis {"connection_id":127015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e42"} 
[2026-07-08 01:59:34] local.INFO: Extracted packet for processing {"connection_id":127015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e42"} 
[2026-07-08 01:59:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 01:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 01:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564646400001,"note":"Value kept but may cause issues"} 
[2026-07-08 01:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 01:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 01:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 01:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783455951000,"timestamp_ms":1783455951000,"timestamp_seconds":1783455951,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e422898"} 
[2026-07-08 01:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 01:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 01:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 01:59: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-07-08 01:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 01:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 01:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 01:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 01:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 01:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 01:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 01:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 01:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564646400001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 01:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 01:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 01:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564646400001,"description":"Unknown IO ID 0"} 
[2026-07-08 01:59:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 01:59:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 01:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 01:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 01:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564646400001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 01:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":127015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 01:59:34] local.INFO: GPS data processed {"connection_id":127015,"processed":1,"errors":0,"total":1} 
[2026-07-08 01:59:34] local.INFO: Acknowledgment sent {"connection_id":127015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 01:59:55] local.INFO: TCP Data received {"connection_id":124929,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124929,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:59:55] local.INFO: Processing buffer {"connection_id":124929,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 01:59:55] local.INFO: IMEI packet received {"connection_id":124929,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 01:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":124929,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 01:59:57] local.INFO: TCP Data received {"connection_id":125022,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:59:57] local.INFO: Processing buffer {"connection_id":125022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 01:59:57] local.INFO: IMEI packet received {"connection_id":125022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 01:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":125022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:00:02] local.INFO: TCP Data received {"connection_id":125022,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:00:02] local.INFO: Processing buffer {"connection_id":125022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:00:02] local.INFO: IMEI packet received {"connection_id":125022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":125022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:00:03] local.INFO: TCP Data received {"connection_id":125022,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e422898012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e422898012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:00:03] local.INFO: Processing buffer {"connection_id":125022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e422898012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:00:03] local.INFO: Packet analysis {"connection_id":125022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e42"} 
[2026-07-08 02:00:03] local.INFO: Extracted packet for processing {"connection_id":125022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e42"} 
[2026-07-08 02:00:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564646400001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783455951000,"timestamp_ms":1783455951000,"timestamp_seconds":1783455951,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e422898"} 
[2026-07-08 02:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 02:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02: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-07-08 02:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564646400001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564646400001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:00:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:00:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564646400001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":125022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:00:03] local.INFO: GPS data processed {"connection_id":125022,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:00:03] local.INFO: Acknowledgment sent {"connection_id":125022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:00:34] local.INFO: TCP Data received {"connection_id":125022,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e422898012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e422898012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:00:34] local.INFO: Processing buffer {"connection_id":125022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e422898012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:00:34] local.INFO: Packet analysis {"connection_id":125022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e42"} 
[2026-07-08 02:00:34] local.INFO: Extracted packet for processing {"connection_id":125022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e42"} 
[2026-07-08 02:00:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564646400001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783455951000,"timestamp_ms":1783455951000,"timestamp_seconds":1783455951,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e422898"} 
[2026-07-08 02:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 02:00: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-07-08 02: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-07-08 02:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564646400001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564646400001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:00:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:00:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564646400001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":125022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:00:34] local.INFO: GPS data processed {"connection_id":125022,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:00:34] local.INFO: Acknowledgment sent {"connection_id":125022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:01:02] local.INFO: TCP Data received {"connection_id":125763,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:01:02] local.INFO: Processing buffer {"connection_id":125763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:01:02] local.INFO: IMEI packet received {"connection_id":125763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":125763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:01:07] local.INFO: TCP Data received {"connection_id":125763,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:01:07] local.INFO: Processing buffer {"connection_id":125763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:01:07] local.INFO: IMEI packet received {"connection_id":125763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":125763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:01:08] local.INFO: TCP Data received {"connection_id":125763,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e422898012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e422898012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:01:08] local.INFO: Processing buffer {"connection_id":125763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e422898012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:01:08] local.INFO: Packet analysis {"connection_id":125763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e42"} 
[2026-07-08 02:01:08] local.INFO: Extracted packet for processing {"connection_id":125763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e42"} 
[2026-07-08 02:01:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564646400001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783455951000,"timestamp_ms":1783455951000,"timestamp_seconds":1783455951,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e422898"} 
[2026-07-08 02:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 02:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564646400001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564646400001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:01:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:01:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564646400001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":125763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:01:08] local.INFO: GPS data processed {"connection_id":125763,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:01:08] local.INFO: Acknowledgment sent {"connection_id":125763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:01:39] local.INFO: TCP Data received {"connection_id":125763,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e46c060012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e46c060012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:01:39] local.INFO: Processing buffer {"connection_id":125763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e46c060012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:01:39] local.INFO: Packet analysis {"connection_id":125763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e46"} 
[2026-07-08 02:01:39] local.INFO: Extracted packet for processing {"connection_id":125763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e46"} 
[2026-07-08 02:01:39] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564723456001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783456252000,"timestamp_ms":1783456252000,"timestamp_seconds":1783456252,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e46c060"} 
[2026-07-08 02:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 02:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:01:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564723456001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564723456001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:01:39] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:01:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564723456001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":125763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:01:39] local.INFO: GPS data processed {"connection_id":125763,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:01:39] local.INFO: Acknowledgment sent {"connection_id":125763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:01:57] local.INFO: TCP Data received {"connection_id":127017,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:01:57] local.INFO: Processing buffer {"connection_id":127017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:01:57] local.INFO: IMEI packet received {"connection_id":127017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":127017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:02:02] local.INFO: TCP Data received {"connection_id":127017,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:02:02] local.INFO: Processing buffer {"connection_id":127017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:02:02] local.INFO: IMEI packet received {"connection_id":127017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":127017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:02:03] local.INFO: TCP Data received {"connection_id":127017,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e46c060012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e46c060012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:02:03] local.INFO: Processing buffer {"connection_id":127017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e46c060012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:02:03] local.INFO: Packet analysis {"connection_id":127017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e46"} 
[2026-07-08 02:02:03] local.INFO: Extracted packet for processing {"connection_id":127017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e46"} 
[2026-07-08 02:02:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564723456001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783456252000,"timestamp_ms":1783456252000,"timestamp_seconds":1783456252,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e46c060"} 
[2026-07-08 02:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 02:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02: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-07-08 02:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564723456001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564723456001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:02:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:02:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564723456001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":127017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:02:03] local.INFO: GPS data processed {"connection_id":127017,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:02:03] local.INFO: Acknowledgment sent {"connection_id":127017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:02:34] local.INFO: TCP Data received {"connection_id":127017,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e46c060012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e46c060012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:02:34] local.INFO: Processing buffer {"connection_id":127017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e46c060012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:02:34] local.INFO: Packet analysis {"connection_id":127017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e46"} 
[2026-07-08 02:02:34] local.INFO: Extracted packet for processing {"connection_id":127017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e46"} 
[2026-07-08 02:02:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564723456001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783456252000,"timestamp_ms":1783456252000,"timestamp_seconds":1783456252,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e46c060"} 
[2026-07-08 02:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 02:02: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-07-08 02: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-07-08 02:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564723456001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564723456001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:02:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:02:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564723456001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":127017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:02:34] local.INFO: GPS data processed {"connection_id":127017,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:02:34] local.INFO: Acknowledgment sent {"connection_id":127017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:02:57] local.INFO: TCP Data received {"connection_id":125764,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:02:57] local.INFO: Processing buffer {"connection_id":125764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:02:57] local.INFO: IMEI packet received {"connection_id":125764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":125764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:03:02] local.INFO: TCP Data received {"connection_id":125764,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:03:02] local.INFO: Processing buffer {"connection_id":125764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:03:02] local.INFO: IMEI packet received {"connection_id":125764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":125764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:03:03] local.INFO: TCP Data received {"connection_id":125764,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e46c060012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e46c060012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:03:03] local.INFO: Processing buffer {"connection_id":125764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e46c060012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:03:03] local.INFO: Packet analysis {"connection_id":125764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e46"} 
[2026-07-08 02:03:03] local.INFO: Extracted packet for processing {"connection_id":125764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e46"} 
[2026-07-08 02:03:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564723456001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783456252000,"timestamp_ms":1783456252000,"timestamp_seconds":1783456252,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e46c060"} 
[2026-07-08 02:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 02:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02: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-07-08 02:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564723456001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564723456001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:03:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:03:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564723456001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":125764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:03:03] local.INFO: GPS data processed {"connection_id":125764,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:03:03] local.INFO: Acknowledgment sent {"connection_id":125764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:03:34] local.INFO: TCP Data received {"connection_id":125764,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e46c060012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e46c060012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:03:34] local.INFO: Processing buffer {"connection_id":125764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e46c060012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:03:34] local.INFO: Packet analysis {"connection_id":125764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e46"} 
[2026-07-08 02:03:34] local.INFO: Extracted packet for processing {"connection_id":125764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e46"} 
[2026-07-08 02:03:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564723456001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783456252000,"timestamp_ms":1783456252000,"timestamp_seconds":1783456252,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e46c060"} 
[2026-07-08 02:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 02:03: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-07-08 02: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-07-08 02:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564723456001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564723456001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:03:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:03:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564723456001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":125764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:03:34] local.INFO: GPS data processed {"connection_id":125764,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:03:34] local.INFO: Acknowledgment sent {"connection_id":125764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:04:02] local.INFO: TCP Data received {"connection_id":127018,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:04:02] local.INFO: Processing buffer {"connection_id":127018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:04:02] local.INFO: IMEI packet received {"connection_id":127018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":127018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:04:07] local.INFO: TCP Data received {"connection_id":127018,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:04:07] local.INFO: Processing buffer {"connection_id":127018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:04:07] local.INFO: IMEI packet received {"connection_id":127018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":127018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:04:08] local.INFO: TCP Data received {"connection_id":127018,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e46c060012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e46c060012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:04:08] local.INFO: Processing buffer {"connection_id":127018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e46c060012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:04:08] local.INFO: Packet analysis {"connection_id":127018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e46"} 
[2026-07-08 02:04:08] local.INFO: Extracted packet for processing {"connection_id":127018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e46"} 
[2026-07-08 02:04:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564723456001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783456252000,"timestamp_ms":1783456252000,"timestamp_seconds":1783456252,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e46c060"} 
[2026-07-08 02:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 02:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":127018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":127018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":127018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564723456001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564723456001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:04:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:04:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564723456001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":127018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:04:08] local.INFO: GPS data processed {"connection_id":127018,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:04:08] local.INFO: Acknowledgment sent {"connection_id":127018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:04:13] local.INFO: TCP Data received {"connection_id":127018,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e46c060012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e46c060012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:04:13] local.INFO: Processing buffer {"connection_id":127018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e46c060012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:04:13] local.INFO: Packet analysis {"connection_id":127018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e46"} 
[2026-07-08 02:04:13] local.INFO: Extracted packet for processing {"connection_id":127018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e46"} 
[2026-07-08 02:04:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564723456001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783456252000,"timestamp_ms":1783456252000,"timestamp_seconds":1783456252,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e46c060"} 
[2026-07-08 02:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 02:04:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":127018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":127018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":127018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564723456001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564723456001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:04:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:04:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564723456001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":127018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:04:13] local.INFO: GPS data processed {"connection_id":127018,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:04:13] local.INFO: Acknowledgment sent {"connection_id":127018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:04:57] local.INFO: TCP Data received {"connection_id":127020,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:04:57] local.INFO: Processing buffer {"connection_id":127020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:04:57] local.INFO: IMEI packet received {"connection_id":127020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":127020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:05:02] local.INFO: TCP Data received {"connection_id":127020,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:05:02] local.INFO: Processing buffer {"connection_id":127020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:05:02] local.INFO: IMEI packet received {"connection_id":127020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":127020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:05:03] local.INFO: TCP Data received {"connection_id":127020,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e46c060012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e46c060012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:05:03] local.INFO: Processing buffer {"connection_id":127020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e46c060012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:05:03] local.INFO: Packet analysis {"connection_id":127020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e46"} 
[2026-07-08 02:05:03] local.INFO: Extracted packet for processing {"connection_id":127020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e46"} 
[2026-07-08 02:05:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564723456001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783456252000,"timestamp_ms":1783456252000,"timestamp_seconds":1783456252,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e46c060"} 
[2026-07-08 02:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 02:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564723456001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564723456001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:05:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:05:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564723456001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":127020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:05:03] local.INFO: GPS data processed {"connection_id":127020,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:05:03] local.INFO: Acknowledgment sent {"connection_id":127020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:05:19] local.INFO: TCP Data received {"connection_id":125023,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125023,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:05:19] local.INFO: Processing buffer {"connection_id":125023,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:05:19] local.INFO: IMEI packet received {"connection_id":125023,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 02:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":125023,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:05:34] local.INFO: TCP Data received {"connection_id":127020,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e46c060012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e46c060012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:05:34] local.INFO: Processing buffer {"connection_id":127020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e46c060012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:05:34] local.INFO: Packet analysis {"connection_id":127020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e46"} 
[2026-07-08 02:05:34] local.INFO: Extracted packet for processing {"connection_id":127020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e46"} 
[2026-07-08 02:05:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564723456001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783456252000,"timestamp_ms":1783456252000,"timestamp_seconds":1783456252,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e46c060"} 
[2026-07-08 02:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 02:05: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-07-08 02:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564723456001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564723456001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:05:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:05:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564723456001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":127020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:05:34] local.INFO: GPS data processed {"connection_id":127020,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:05:34] local.INFO: Acknowledgment sent {"connection_id":127020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:05:57] local.INFO: TCP Data received {"connection_id":124931,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:05:57] local.INFO: Processing buffer {"connection_id":124931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:05:57] local.INFO: IMEI packet received {"connection_id":124931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":124931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:05:57] local.INFO: TCP Data received {"connection_id":125766,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125766,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:05:57] local.INFO: Processing buffer {"connection_id":125766,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:05:57] local.INFO: IMEI packet received {"connection_id":125766,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 02:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":125766,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:06:02] local.INFO: TCP Data received {"connection_id":124931,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:06:02] local.INFO: Processing buffer {"connection_id":124931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:06:02] local.INFO: IMEI packet received {"connection_id":124931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":124931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:06:03] local.INFO: TCP Data received {"connection_id":124931,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e46c060012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e46c060012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:06:03] local.INFO: Processing buffer {"connection_id":124931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e46c060012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:06:03] local.INFO: Packet analysis {"connection_id":124931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e46"} 
[2026-07-08 02:06:03] local.INFO: Extracted packet for processing {"connection_id":124931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e46"} 
[2026-07-08 02:06:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564723456001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783456252000,"timestamp_ms":1783456252000,"timestamp_seconds":1783456252,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e46c060"} 
[2026-07-08 02:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 02:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02: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-07-08 02:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564723456001,"66":25462,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564723456001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:06:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:06:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564723456001,"power":25462,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":124931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:06:03] local.INFO: GPS data processed {"connection_id":124931,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:06:03] local.INFO: Acknowledgment sent {"connection_id":124931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:06:34] local.INFO: TCP Data received {"connection_id":124931,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e4b5828012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e4b5828012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:06:34] local.INFO: Processing buffer {"connection_id":124931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e4b5828012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:06:34] local.INFO: Packet analysis {"connection_id":124931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e4b"} 
[2026-07-08 02:06:34] local.INFO: Extracted packet for processing {"connection_id":124931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e4b"} 
[2026-07-08 02:06:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564800512001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783456553000,"timestamp_ms":1783456553000,"timestamp_seconds":1783456553,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e4b5828"} 
[2026-07-08 02:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 02:06: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-07-08 02: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-07-08 02:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564800512001,"66":25451,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564800512001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:06:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:06:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564800512001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":124931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:06:34] local.INFO: GPS data processed {"connection_id":124931,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:06:34] local.INFO: Acknowledgment sent {"connection_id":124931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:06:57] local.INFO: TCP Data received {"connection_id":125024,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:06:57] local.INFO: Processing buffer {"connection_id":125024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:06:57] local.INFO: IMEI packet received {"connection_id":125024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":125024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:07:02] local.INFO: TCP Data received {"connection_id":125024,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:07:02] local.INFO: Processing buffer {"connection_id":125024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:07:02] local.INFO: IMEI packet received {"connection_id":125024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":125024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:07:03] local.INFO: TCP Data received {"connection_id":125024,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e4b5828012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e4b5828012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:07:03] local.INFO: Processing buffer {"connection_id":125024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e4b5828012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:07:03] local.INFO: Packet analysis {"connection_id":125024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e4b"} 
[2026-07-08 02:07:03] local.INFO: Extracted packet for processing {"connection_id":125024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e4b"} 
[2026-07-08 02:07:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564800512001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783456553000,"timestamp_ms":1783456553000,"timestamp_seconds":1783456553,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e4b5828"} 
[2026-07-08 02:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":118,"data_length":795,"current_offset":136} 
[2026-07-08 02:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564800512001,"66":25451,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564800512001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:07:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:07:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564800512001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":125024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:07:03] local.INFO: GPS data processed {"connection_id":125024,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:07:03] local.INFO: Acknowledgment sent {"connection_id":125024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:07:34] local.INFO: TCP Data received {"connection_id":125024,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e4b5828012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e4b5828012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:07:34] local.INFO: Processing buffer {"connection_id":125024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e4b5828012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:07:34] local.INFO: Packet analysis {"connection_id":125024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e4b"} 
[2026-07-08 02:07:34] local.INFO: Extracted packet for processing {"connection_id":125024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e4b"} 
[2026-07-08 02:07:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564800512001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783456553000,"timestamp_ms":1783456553000,"timestamp_seconds":1783456553,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e4b5828"} 
[2026-07-08 02:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":118,"data_length":795,"current_offset":136} 
[2026-07-08 02:07: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-07-08 02: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-07-08 02:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564800512001,"66":25451,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564800512001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:07:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:07:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564800512001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":125024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:07:34] local.INFO: GPS data processed {"connection_id":125024,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:07:34] local.INFO: Acknowledgment sent {"connection_id":125024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:08:02] local.INFO: TCP Data received {"connection_id":124933,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:08:02] local.INFO: Processing buffer {"connection_id":124933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:08:02] local.INFO: IMEI packet received {"connection_id":124933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":124933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:08:07] local.INFO: TCP Data received {"connection_id":124933,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:08:07] local.INFO: Processing buffer {"connection_id":124933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:08:07] local.INFO: IMEI packet received {"connection_id":124933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":124933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:08:08] local.INFO: TCP Data received {"connection_id":124933,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e4b5828012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e4b5828012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:08:08] local.INFO: Processing buffer {"connection_id":124933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e4b5828012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:08:08] local.INFO: Packet analysis {"connection_id":124933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e4b"} 
[2026-07-08 02:08:08] local.INFO: Extracted packet for processing {"connection_id":124933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e4b"} 
[2026-07-08 02:08:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564800512001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783456553000,"timestamp_ms":1783456553000,"timestamp_seconds":1783456553,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e4b5828"} 
[2026-07-08 02:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 02:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564800512001,"66":25451,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564800512001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:08:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:08:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564800512001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":124933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:08:08] local.INFO: GPS data processed {"connection_id":124933,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:08:08] local.INFO: Acknowledgment sent {"connection_id":124933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:08:13] local.INFO: TCP Data received {"connection_id":124933,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e4b5828012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e4b5828012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:08:13] local.INFO: Processing buffer {"connection_id":124933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e4b5828012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:08:13] local.INFO: Packet analysis {"connection_id":124933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e4b"} 
[2026-07-08 02:08:13] local.INFO: Extracted packet for processing {"connection_id":124933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e4b"} 
[2026-07-08 02:08:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564800512001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783456553000,"timestamp_ms":1783456553000,"timestamp_seconds":1783456553,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e4b5828"} 
[2026-07-08 02:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:08:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 02:08: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-07-08 02:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564800512001,"66":25451,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564800512001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:08:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:08:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564800512001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":124933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:08:13] local.INFO: GPS data processed {"connection_id":124933,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:08:13] local.INFO: Acknowledgment sent {"connection_id":124933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:08:57] local.INFO: TCP Data received {"connection_id":127021,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:08:57] local.INFO: Processing buffer {"connection_id":127021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:08:57] local.INFO: IMEI packet received {"connection_id":127021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":127021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:09:02] local.INFO: TCP Data received {"connection_id":127021,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:09:02] local.INFO: Processing buffer {"connection_id":127021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:09:02] local.INFO: IMEI packet received {"connection_id":127021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":127021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:09:03] local.INFO: TCP Data received {"connection_id":127021,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e4b5828012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e4b5828012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:09:03] local.INFO: Processing buffer {"connection_id":127021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e4b5828012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:09:03] local.INFO: Packet analysis {"connection_id":127021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e4b"} 
[2026-07-08 02:09:03] local.INFO: Extracted packet for processing {"connection_id":127021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e4b"} 
[2026-07-08 02:09:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564800512001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783456553000,"timestamp_ms":1783456553000,"timestamp_seconds":1783456553,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e4b5828"} 
[2026-07-08 02:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 02:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02: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-07-08 02:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564800512001,"66":25451,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564800512001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:09:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:09:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564800512001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":127021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:09:03] local.INFO: GPS data processed {"connection_id":127021,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:09:03] local.INFO: Acknowledgment sent {"connection_id":127021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:09:34] local.INFO: TCP Data received {"connection_id":127021,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e4b5828012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e4b5828012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:09:34] local.INFO: Processing buffer {"connection_id":127021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e4b5828012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:09:34] local.INFO: Packet analysis {"connection_id":127021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e4b"} 
[2026-07-08 02:09:34] local.INFO: Extracted packet for processing {"connection_id":127021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e4b"} 
[2026-07-08 02:09:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564800512001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783456553000,"timestamp_ms":1783456553000,"timestamp_seconds":1783456553,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e4b5828"} 
[2026-07-08 02:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 02:09: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-07-08 02: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-07-08 02:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564800512001,"66":25451,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564800512001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:09:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:09:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564800512001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":127021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:09:34] local.INFO: GPS data processed {"connection_id":127021,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:09:34] local.INFO: Acknowledgment sent {"connection_id":127021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:09:57] local.INFO: TCP Data received {"connection_id":125027,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:09:57] local.INFO: Processing buffer {"connection_id":125027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:09:57] local.INFO: IMEI packet received {"connection_id":125027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":125027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:10:02] local.INFO: TCP Data received {"connection_id":125027,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:10:02] local.INFO: Processing buffer {"connection_id":125027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:10:02] local.INFO: IMEI packet received {"connection_id":125027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":125027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:10:03] local.INFO: TCP Data received {"connection_id":125027,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e4b5828012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e4b5828012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:10:03] local.INFO: Processing buffer {"connection_id":125027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e4b5828012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:10:03] local.INFO: Packet analysis {"connection_id":125027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e4b"} 
[2026-07-08 02:10:03] local.INFO: Extracted packet for processing {"connection_id":125027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e4b"} 
[2026-07-08 02:10:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564800512001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783456553000,"timestamp_ms":1783456553000,"timestamp_seconds":1783456553,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e4b5828"} 
[2026-07-08 02:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 02:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02: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-07-08 02:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564800512001,"66":25451,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564800512001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:10:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:10:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564800512001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":125027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:10:03] local.INFO: GPS data processed {"connection_id":125027,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:10:03] local.INFO: Acknowledgment sent {"connection_id":125027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:10:34] local.INFO: TCP Data received {"connection_id":125027,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e4b5828012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e4b5828012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:10:34] local.INFO: Processing buffer {"connection_id":125027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e4b5828012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:10:34] local.INFO: Packet analysis {"connection_id":125027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e4b"} 
[2026-07-08 02:10:34] local.INFO: Extracted packet for processing {"connection_id":125027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e4b"} 
[2026-07-08 02:10:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564800512001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783456553000,"timestamp_ms":1783456553000,"timestamp_seconds":1783456553,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e4b5828"} 
[2026-07-08 02:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 02:10: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-07-08 02: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-07-08 02:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564800512001,"66":25451,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564800512001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:10:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:10:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564800512001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":125027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:10:34] local.INFO: GPS data processed {"connection_id":125027,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:10:34] local.INFO: Acknowledgment sent {"connection_id":125027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:10:58] local.INFO: TCP Data received {"connection_id":125768,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:10:58] local.INFO: Processing buffer {"connection_id":125768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:10:58] local.INFO: IMEI packet received {"connection_id":125768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":125768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:11:02] local.INFO: TCP Data received {"connection_id":125768,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:11:02] local.INFO: Processing buffer {"connection_id":125768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:11:02] local.INFO: IMEI packet received {"connection_id":125768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":125768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:11:03] local.INFO: TCP Data received {"connection_id":125768,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e4b5828012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e4b5828012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:11:03] local.INFO: Processing buffer {"connection_id":125768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e4b5828012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:11:03] local.INFO: Packet analysis {"connection_id":125768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e4b"} 
[2026-07-08 02:11:03] local.INFO: Extracted packet for processing {"connection_id":125768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e4b"} 
[2026-07-08 02:11:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564800512001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783456553000,"timestamp_ms":1783456553000,"timestamp_seconds":1783456553,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e4b5828"} 
[2026-07-08 02:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 02:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564800512001,"66":25451,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564800512001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:11:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:11:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564800512001,"power":25451,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":125768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:11:03] local.INFO: GPS data processed {"connection_id":125768,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:11:03] local.INFO: Acknowledgment sent {"connection_id":125768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:11:17] local.INFO: TCP Data received {"connection_id":125769,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125769,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:11:17] local.INFO: Processing buffer {"connection_id":125769,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:11:17] local.INFO: IMEI packet received {"connection_id":125769,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 02:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":125769,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:11:34] local.INFO: TCP Data received {"connection_id":125768,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e4feff0012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e4feff0012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:11:34] local.INFO: Processing buffer {"connection_id":125768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e4feff0012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:11:34] local.INFO: Packet analysis {"connection_id":125768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e4f"} 
[2026-07-08 02:11:34] local.INFO: Extracted packet for processing {"connection_id":125768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e4f"} 
[2026-07-08 02:11:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564877568001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783456854000,"timestamp_ms":1783456854000,"timestamp_seconds":1783456854,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e4feff0"} 
[2026-07-08 02:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 02:11: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-07-08 02:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564877568001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564877568001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:11:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:11:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564877568001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":125768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:11:34] local.INFO: GPS data processed {"connection_id":125768,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:11:34] local.INFO: Acknowledgment sent {"connection_id":125768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:11:56] local.INFO: TCP Data received {"connection_id":125028,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125028,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:11:56] local.INFO: Processing buffer {"connection_id":125028,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:11:56] local.INFO: IMEI packet received {"connection_id":125028,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 02:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":125028,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:11:57] local.INFO: TCP Data received {"connection_id":125028,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125028,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:11:57] local.INFO: Processing buffer {"connection_id":125028,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:11:57] local.INFO: IMEI packet received {"connection_id":125028,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 02:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":125028,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:12:02] local.INFO: TCP Data received {"connection_id":125770,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:12:02] local.INFO: Processing buffer {"connection_id":125770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:12:02] local.INFO: IMEI packet received {"connection_id":125770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":125770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:12:03] local.INFO: TCP Data received {"connection_id":125028,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125028,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:12:03] local.INFO: Processing buffer {"connection_id":125028,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:12:03] local.INFO: IMEI packet received {"connection_id":125028,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 02:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":125028,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:12:07] local.INFO: TCP Data received {"connection_id":125770,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:12:07] local.INFO: Processing buffer {"connection_id":125770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:12:07] local.INFO: IMEI packet received {"connection_id":125770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":125770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:12:08] local.INFO: TCP Data received {"connection_id":125770,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e4feff0012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e4feff0012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:12:08] local.INFO: Processing buffer {"connection_id":125770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e4feff0012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:12:08] local.INFO: Packet analysis {"connection_id":125770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e4f"} 
[2026-07-08 02:12:08] local.INFO: Extracted packet for processing {"connection_id":125770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e4f"} 
[2026-07-08 02:12:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564877568001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783456854000,"timestamp_ms":1783456854000,"timestamp_seconds":1783456854,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e4feff0"} 
[2026-07-08 02:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 02:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:12:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564877568001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564877568001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:12:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:12:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564877568001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":125770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:12:08] local.INFO: GPS data processed {"connection_id":125770,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:12:08] local.INFO: Acknowledgment sent {"connection_id":125770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:12:13] local.INFO: TCP Data received {"connection_id":125770,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e4feff0012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e4feff0012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:12:13] local.INFO: Processing buffer {"connection_id":125770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e4feff0012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:12:13] local.INFO: Packet analysis {"connection_id":125770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e4f"} 
[2026-07-08 02:12:13] local.INFO: Extracted packet for processing {"connection_id":125770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e4f"} 
[2026-07-08 02:12:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564877568001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783456854000,"timestamp_ms":1783456854000,"timestamp_seconds":1783456854,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e4feff0"} 
[2026-07-08 02:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":107,"data_length":795,"current_offset":136} 
[2026-07-08 02:12:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:12:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564877568001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564877568001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:12:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:12:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564877568001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":125770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:12:13] local.INFO: GPS data processed {"connection_id":125770,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:12:13] local.INFO: Acknowledgment sent {"connection_id":125770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:12:57] local.INFO: TCP Data received {"connection_id":127023,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:12:57] local.INFO: Processing buffer {"connection_id":127023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:12:57] local.INFO: IMEI packet received {"connection_id":127023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":127023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:13:02] local.INFO: TCP Data received {"connection_id":127023,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:13:02] local.INFO: Processing buffer {"connection_id":127023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:13:02] local.INFO: IMEI packet received {"connection_id":127023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":127023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:13:03] local.INFO: TCP Data received {"connection_id":127023,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e4feff0012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e4feff0012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:13:03] local.INFO: Processing buffer {"connection_id":127023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e4feff0012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:13:03] local.INFO: Packet analysis {"connection_id":127023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e4f"} 
[2026-07-08 02:13:03] local.INFO: Extracted packet for processing {"connection_id":127023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e4f"} 
[2026-07-08 02:13:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564877568001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783456854000,"timestamp_ms":1783456854000,"timestamp_seconds":1783456854,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e4feff0"} 
[2026-07-08 02:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":107,"data_length":795,"current_offset":136} 
[2026-07-08 02:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564877568001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564877568001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:13:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:13:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564877568001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":127023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:13:03] local.INFO: GPS data processed {"connection_id":127023,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:13:03] local.INFO: Acknowledgment sent {"connection_id":127023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:13:34] local.INFO: TCP Data received {"connection_id":127023,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e4feff0012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e4feff0012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:13:34] local.INFO: Processing buffer {"connection_id":127023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e4feff0012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:13:34] local.INFO: Packet analysis {"connection_id":127023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e4f"} 
[2026-07-08 02:13:34] local.INFO: Extracted packet for processing {"connection_id":127023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e4f"} 
[2026-07-08 02:13:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564877568001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783456854000,"timestamp_ms":1783456854000,"timestamp_seconds":1783456854,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e4feff0"} 
[2026-07-08 02:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 02:13: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-07-08 02:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564877568001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564877568001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:13:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:13:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564877568001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":127023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:13:34] local.INFO: GPS data processed {"connection_id":127023,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:13:34] local.INFO: Acknowledgment sent {"connection_id":127023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:13:57] local.INFO: TCP Data received {"connection_id":125772,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:13:57] local.INFO: Processing buffer {"connection_id":125772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:13:57] local.INFO: IMEI packet received {"connection_id":125772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":125772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:14:02] local.INFO: TCP Data received {"connection_id":125772,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:14:02] local.INFO: Processing buffer {"connection_id":125772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:14:02] local.INFO: IMEI packet received {"connection_id":125772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":125772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:14:03] local.INFO: TCP Data received {"connection_id":125772,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e4feff0012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e4feff0012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:14:03] local.INFO: Processing buffer {"connection_id":125772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e4feff0012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:14:03] local.INFO: Packet analysis {"connection_id":125772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e4f"} 
[2026-07-08 02:14:03] local.INFO: Extracted packet for processing {"connection_id":125772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e4f"} 
[2026-07-08 02:14:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564877568001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783456854000,"timestamp_ms":1783456854000,"timestamp_seconds":1783456854,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e4feff0"} 
[2026-07-08 02:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 02:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02: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-07-08 02:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564877568001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564877568001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:14:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:14:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564877568001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":125772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:14:03] local.INFO: GPS data processed {"connection_id":125772,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:14:03] local.INFO: Acknowledgment sent {"connection_id":125772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:14:34] local.INFO: TCP Data received {"connection_id":125772,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e4feff0012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e4feff0012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:14:34] local.INFO: Processing buffer {"connection_id":125772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e4feff0012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:14:34] local.INFO: Packet analysis {"connection_id":125772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e4f"} 
[2026-07-08 02:14:34] local.INFO: Extracted packet for processing {"connection_id":125772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e4f"} 
[2026-07-08 02:14:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564877568001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783456854000,"timestamp_ms":1783456854000,"timestamp_seconds":1783456854,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e4feff0"} 
[2026-07-08 02:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 02:14: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-07-08 02:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564877568001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564877568001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:14:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:14:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564877568001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":125772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:14:34] local.INFO: GPS data processed {"connection_id":125772,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:14:34] local.INFO: Acknowledgment sent {"connection_id":125772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:14:57] local.INFO: TCP Data received {"connection_id":127025,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:14:57] local.INFO: Processing buffer {"connection_id":127025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:14:57] local.INFO: IMEI packet received {"connection_id":127025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":127025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:15:02] local.INFO: TCP Data received {"connection_id":127025,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:15:02] local.INFO: Processing buffer {"connection_id":127025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:15:02] local.INFO: IMEI packet received {"connection_id":127025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":127025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:15:03] local.INFO: TCP Data received {"connection_id":127025,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e4feff0012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e4feff0012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:15:03] local.INFO: Processing buffer {"connection_id":127025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e4feff0012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:15:03] local.INFO: Packet analysis {"connection_id":127025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e4f"} 
[2026-07-08 02:15:03] local.INFO: Extracted packet for processing {"connection_id":127025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e4f"} 
[2026-07-08 02:15:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564877568001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783456854000,"timestamp_ms":1783456854000,"timestamp_seconds":1783456854,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e4feff0"} 
[2026-07-08 02:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 02:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02: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-07-08 02:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564877568001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564877568001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:15:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:15:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564877568001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":127025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:15:03] local.INFO: GPS data processed {"connection_id":127025,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:15:03] local.INFO: Acknowledgment sent {"connection_id":127025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:15:34] local.INFO: TCP Data received {"connection_id":127025,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e4feff0012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e4feff0012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:15:34] local.INFO: Processing buffer {"connection_id":127025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e4feff0012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:15:34] local.INFO: Packet analysis {"connection_id":127025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e4f"} 
[2026-07-08 02:15:34] local.INFO: Extracted packet for processing {"connection_id":127025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e4f"} 
[2026-07-08 02:15:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564877568001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783456854000,"timestamp_ms":1783456854000,"timestamp_seconds":1783456854,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e4feff0"} 
[2026-07-08 02:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 02:15: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-07-08 02:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564877568001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564877568001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:15:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:15:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564877568001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":127025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:15:34] local.INFO: GPS data processed {"connection_id":127025,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:15:34] local.INFO: Acknowledgment sent {"connection_id":127025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:15:57] local.INFO: TCP Data received {"connection_id":125029,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:15:57] local.INFO: Processing buffer {"connection_id":125029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:15:57] local.INFO: IMEI packet received {"connection_id":125029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":125029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:16:02] local.INFO: TCP Data received {"connection_id":125029,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:16:02] local.INFO: Processing buffer {"connection_id":125029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:16:02] local.INFO: IMEI packet received {"connection_id":125029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":125029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:16:06] local.INFO: TCP Data received {"connection_id":125029,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e4feff0012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e4feff0012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:16:06] local.INFO: Processing buffer {"connection_id":125029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e4feff0012dc5eb400537d5a00034014430..."} 
[2026-07-08 02:16:06] local.INFO: Packet analysis {"connection_id":125029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e4f"} 
[2026-07-08 02:16:06] local.INFO: Extracted packet for processing {"connection_id":125029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e4f"} 
[2026-07-08 02:16:06] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564877568001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783456854000,"timestamp_ms":1783456854000,"timestamp_seconds":1783456854,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e4feff0"} 
[2026-07-08 02:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 02:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02: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-07-08 02:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564877568001,"66":25473,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564877568001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:16:06] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:16:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564877568001,"power":25473,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":125029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:16:06] local.INFO: GPS data processed {"connection_id":125029,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:16:06] local.INFO: Acknowledgment sent {"connection_id":125029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:16:37] local.INFO: TCP Data received {"connection_id":125029,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e5487b8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e5487b8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:16:37] local.INFO: Processing buffer {"connection_id":125029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e5487b8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:16:37] local.INFO: Packet analysis {"connection_id":125029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e54"} 
[2026-07-08 02:16:37] local.INFO: Extracted packet for processing {"connection_id":125029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e54"} 
[2026-07-08 02:16:37] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564954624001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783457155000,"timestamp_ms":1783457155000,"timestamp_seconds":1783457155,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e5487b8"} 
[2026-07-08 02:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 02:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564954624001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564954624001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:16:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:16:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564954624001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":125029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:16:37] local.INFO: GPS data processed {"connection_id":125029,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:16:37] local.INFO: Acknowledgment sent {"connection_id":125029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:16:57] local.INFO: TCP Data received {"connection_id":124936,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:16:57] local.INFO: Processing buffer {"connection_id":124936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:16:57] local.INFO: IMEI packet received {"connection_id":124936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":124936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:17:02] local.INFO: TCP Data received {"connection_id":124936,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:17:02] local.INFO: Processing buffer {"connection_id":124936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:17:02] local.INFO: IMEI packet received {"connection_id":124936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":124936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:17:03] local.INFO: TCP Data received {"connection_id":124936,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e5487b8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e5487b8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:17:03] local.INFO: Processing buffer {"connection_id":124936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e5487b8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:17:03] local.INFO: Packet analysis {"connection_id":124936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e54"} 
[2026-07-08 02:17:03] local.INFO: Extracted packet for processing {"connection_id":124936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e54"} 
[2026-07-08 02:17:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564954624001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783457155000,"timestamp_ms":1783457155000,"timestamp_seconds":1783457155,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e5487b8"} 
[2026-07-08 02:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 02:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02: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-07-08 02:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:17: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-07-08 02:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564954624001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564954624001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:17:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:17:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564954624001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":124936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:17:03] local.INFO: GPS data processed {"connection_id":124936,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:17:03] local.INFO: Acknowledgment sent {"connection_id":124936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:17:18] local.INFO: TCP Data received {"connection_id":125030,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125030,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:17:18] local.INFO: Processing buffer {"connection_id":125030,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:17:18] local.INFO: IMEI packet received {"connection_id":125030,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 02:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":125030,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:17:34] local.INFO: TCP Data received {"connection_id":124936,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e5487b8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e5487b8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:17:34] local.INFO: Processing buffer {"connection_id":124936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e5487b8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:17:34] local.INFO: Packet analysis {"connection_id":124936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e54"} 
[2026-07-08 02:17:34] local.INFO: Extracted packet for processing {"connection_id":124936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e54"} 
[2026-07-08 02:17:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564954624001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783457155000,"timestamp_ms":1783457155000,"timestamp_seconds":1783457155,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e5487b8"} 
[2026-07-08 02:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 02:17: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-07-08 02: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-07-08 02:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:17: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-07-08 02:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564954624001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564954624001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:17:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:17:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564954624001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":124936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:17:34] local.INFO: GPS data processed {"connection_id":124936,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:17:34] local.INFO: Acknowledgment sent {"connection_id":124936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:17:56] local.INFO: TCP Data received {"connection_id":127026,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127026,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:17:56] local.INFO: Processing buffer {"connection_id":127026,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:17:56] local.INFO: IMEI packet received {"connection_id":127026,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 02:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":127026,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:18:02] local.INFO: TCP Data received {"connection_id":127027,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:18:02] local.INFO: Processing buffer {"connection_id":127027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:18:02] local.INFO: IMEI packet received {"connection_id":127027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":127027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:18:07] local.INFO: TCP Data received {"connection_id":127027,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:18:07] local.INFO: Processing buffer {"connection_id":127027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:18:07] local.INFO: IMEI packet received {"connection_id":127027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":127027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:18:08] local.INFO: TCP Data received {"connection_id":127027,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e5487b8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e5487b8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:18:08] local.INFO: Processing buffer {"connection_id":127027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e5487b8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:18:08] local.INFO: Packet analysis {"connection_id":127027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e54"} 
[2026-07-08 02:18:08] local.INFO: Extracted packet for processing {"connection_id":127027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e54"} 
[2026-07-08 02:18:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564954624001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783457155000,"timestamp_ms":1783457155000,"timestamp_seconds":1783457155,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e5487b8"} 
[2026-07-08 02:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 02:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":127027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":127027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":127027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564954624001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564954624001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:18:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:18:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564954624001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":127027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:18:08] local.INFO: GPS data processed {"connection_id":127027,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:18:08] local.INFO: Acknowledgment sent {"connection_id":127027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:18:13] local.INFO: TCP Data received {"connection_id":127027,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e5487b8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e5487b8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:18:13] local.INFO: Processing buffer {"connection_id":127027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e5487b8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:18:13] local.INFO: Packet analysis {"connection_id":127027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e54"} 
[2026-07-08 02:18:13] local.INFO: Extracted packet for processing {"connection_id":127027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e54"} 
[2026-07-08 02:18:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564954624001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783457155000,"timestamp_ms":1783457155000,"timestamp_seconds":1783457155,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e5487b8"} 
[2026-07-08 02:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:18:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 02:18:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:18:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":127027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":127027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":127027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564954624001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564954624001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:18:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:18:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564954624001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":127027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:18:13] local.INFO: GPS data processed {"connection_id":127027,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:18:13] local.INFO: Acknowledgment sent {"connection_id":127027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:18:57] local.INFO: TCP Data received {"connection_id":125774,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:18:57] local.INFO: Processing buffer {"connection_id":125774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:18:57] local.INFO: IMEI packet received {"connection_id":125774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":125774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:19:02] local.INFO: TCP Data received {"connection_id":125774,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:19:02] local.INFO: Processing buffer {"connection_id":125774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:19:02] local.INFO: IMEI packet received {"connection_id":125774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":125774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:19:03] local.INFO: TCP Data received {"connection_id":125774,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e5487b8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e5487b8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:19:03] local.INFO: Processing buffer {"connection_id":125774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e5487b8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:19:03] local.INFO: Packet analysis {"connection_id":125774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e54"} 
[2026-07-08 02:19:03] local.INFO: Extracted packet for processing {"connection_id":125774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e54"} 
[2026-07-08 02:19:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564954624001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783457155000,"timestamp_ms":1783457155000,"timestamp_seconds":1783457155,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e5487b8"} 
[2026-07-08 02:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 02:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02: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-07-08 02:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:19: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-07-08 02:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564954624001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564954624001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:19:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:19:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564954624001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":125774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:19:03] local.INFO: GPS data processed {"connection_id":125774,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:19:03] local.INFO: Acknowledgment sent {"connection_id":125774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:19:34] local.INFO: TCP Data received {"connection_id":125774,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e5487b8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e5487b8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:19:34] local.INFO: Processing buffer {"connection_id":125774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e5487b8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:19:34] local.INFO: Packet analysis {"connection_id":125774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e54"} 
[2026-07-08 02:19:34] local.INFO: Extracted packet for processing {"connection_id":125774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e54"} 
[2026-07-08 02:19:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564954624001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783457155000,"timestamp_ms":1783457155000,"timestamp_seconds":1783457155,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e5487b8"} 
[2026-07-08 02:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 02:19: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-07-08 02: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-07-08 02:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:19: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-07-08 02:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564954624001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564954624001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:19:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:19:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564954624001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":125774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:19:34] local.INFO: GPS data processed {"connection_id":125774,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:19:34] local.INFO: Acknowledgment sent {"connection_id":125774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:19:57] local.INFO: TCP Data received {"connection_id":124938,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:19:57] local.INFO: Processing buffer {"connection_id":124938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:19:57] local.INFO: IMEI packet received {"connection_id":124938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":124938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:20:02] local.INFO: TCP Data received {"connection_id":124938,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:20:02] local.INFO: Processing buffer {"connection_id":124938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:20:02] local.INFO: IMEI packet received {"connection_id":124938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":124938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:20:03] local.INFO: TCP Data received {"connection_id":124938,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e5487b8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e5487b8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:20:03] local.INFO: Processing buffer {"connection_id":124938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e5487b8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:20:03] local.INFO: Packet analysis {"connection_id":124938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e54"} 
[2026-07-08 02:20:03] local.INFO: Extracted packet for processing {"connection_id":124938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e54"} 
[2026-07-08 02:20:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564954624001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783457155000,"timestamp_ms":1783457155000,"timestamp_seconds":1783457155,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e5487b8"} 
[2026-07-08 02:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 02:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02: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-07-08 02:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564954624001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564954624001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:20:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:20:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564954624001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":124938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:20:03] local.INFO: GPS data processed {"connection_id":124938,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:20:03] local.INFO: Acknowledgment sent {"connection_id":124938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:20:37] local.INFO: TCP Data received {"connection_id":125031,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:20:37] local.INFO: Processing buffer {"connection_id":125031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:20:37] local.INFO: IMEI packet received {"connection_id":125031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":125031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:21:07] local.INFO: TCP Data received {"connection_id":124939,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:21:07] local.INFO: Processing buffer {"connection_id":124939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:21:07] local.INFO: IMEI packet received {"connection_id":124939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":124939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:21:12] local.INFO: TCP Data received {"connection_id":124939,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:21:12] local.INFO: Processing buffer {"connection_id":124939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:21:12] local.INFO: IMEI packet received {"connection_id":124939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":124939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:21:13] local.INFO: TCP Data received {"connection_id":124939,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e5487b8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e5487b8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:21:13] local.INFO: Processing buffer {"connection_id":124939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e5487b8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:21:13] local.INFO: Packet analysis {"connection_id":124939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e54"} 
[2026-07-08 02:21:13] local.INFO: Extracted packet for processing {"connection_id":124939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e54"} 
[2026-07-08 02:21:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456564954624001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783457155000,"timestamp_ms":1783457155000,"timestamp_seconds":1783457155,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e5487b8"} 
[2026-07-08 02:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:21:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 02:21:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:21:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456564954624001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456564954624001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:21:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:21:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456564954624001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":124939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:21:13] local.INFO: GPS data processed {"connection_id":124939,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:21:13] local.INFO: Acknowledgment sent {"connection_id":124939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:22:02] local.INFO: TCP Data received {"connection_id":125777,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:22:02] local.INFO: Processing buffer {"connection_id":125777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:22:02] local.INFO: IMEI packet received {"connection_id":125777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":125777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:22:07] local.INFO: TCP Data received {"connection_id":125777,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:22:07] local.INFO: Processing buffer {"connection_id":125777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:22:07] local.INFO: IMEI packet received {"connection_id":125777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":125777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:22:08] local.INFO: TCP Data received {"connection_id":125777,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e591f80012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e591f80012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:22:08] local.INFO: Processing buffer {"connection_id":125777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e591f80012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:22:08] local.INFO: Packet analysis {"connection_id":125777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e59"} 
[2026-07-08 02:22:08] local.INFO: Extracted packet for processing {"connection_id":125777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e59"} 
[2026-07-08 02:22:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565031680001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783457456000,"timestamp_ms":1783457456000,"timestamp_seconds":1783457456,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e591f80"} 
[2026-07-08 02:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 02:22: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-07-08 02:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565031680001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565031680001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:22:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:22:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565031680001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":125777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:22:08] local.INFO: GPS data processed {"connection_id":125777,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:22:08] local.INFO: Acknowledgment sent {"connection_id":125777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:22:12] local.INFO: TCP Data received {"connection_id":125777,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e591f80012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e591f80012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:22:12] local.INFO: Processing buffer {"connection_id":125777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e591f80012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:22:12] local.INFO: Packet analysis {"connection_id":125777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e59"} 
[2026-07-08 02:22:12] local.INFO: Extracted packet for processing {"connection_id":125777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e59"} 
[2026-07-08 02:22:12] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565031680001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783457456000,"timestamp_ms":1783457456000,"timestamp_seconds":1783457456,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e591f80"} 
[2026-07-08 02:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 02:22: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-07-08 02:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565031680001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565031680001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:22:12] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:22:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565031680001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":125777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:22:13] local.INFO: GPS data processed {"connection_id":125777,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:22:13] local.INFO: Acknowledgment sent {"connection_id":125777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:22:57] local.INFO: TCP Data received {"connection_id":124941,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:22:57] local.INFO: Processing buffer {"connection_id":124941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:22:57] local.INFO: IMEI packet received {"connection_id":124941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":124941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:23:01] local.INFO: TCP Data received {"connection_id":124942,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124942,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:23:01] local.INFO: Processing buffer {"connection_id":124942,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:23:01] local.INFO: IMEI packet received {"connection_id":124942,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 02:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":124942,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:23:02] local.INFO: TCP Data received {"connection_id":124941,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:23:02] local.INFO: Processing buffer {"connection_id":124941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:23:02] local.INFO: IMEI packet received {"connection_id":124941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":124941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:23:03] local.INFO: TCP Data received {"connection_id":124941,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e591f80012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e591f80012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:23:03] local.INFO: Processing buffer {"connection_id":124941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e591f80012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:23:03] local.INFO: Packet analysis {"connection_id":124941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e59"} 
[2026-07-08 02:23:03] local.INFO: Extracted packet for processing {"connection_id":124941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e59"} 
[2026-07-08 02:23:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565031680001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783457456000,"timestamp_ms":1783457456000,"timestamp_seconds":1783457456,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e591f80"} 
[2026-07-08 02:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 02:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:23: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-07-08 02:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565031680001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565031680001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:23:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:23:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565031680001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":124941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:23:03] local.INFO: GPS data processed {"connection_id":124941,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:23:03] local.INFO: Acknowledgment sent {"connection_id":124941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:23:34] local.INFO: TCP Data received {"connection_id":124941,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e591f80012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e591f80012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:23:34] local.INFO: Processing buffer {"connection_id":124941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e591f80012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:23:34] local.INFO: Packet analysis {"connection_id":124941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e59"} 
[2026-07-08 02:23:34] local.INFO: Extracted packet for processing {"connection_id":124941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e59"} 
[2026-07-08 02:23:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565031680001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783457456000,"timestamp_ms":1783457456000,"timestamp_seconds":1783457456,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e591f80"} 
[2026-07-08 02:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 02:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:23: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-07-08 02:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565031680001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565031680001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:23:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:23:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565031680001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":124941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:23:34] local.INFO: GPS data processed {"connection_id":124941,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:23:34] local.INFO: Acknowledgment sent {"connection_id":124941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:23:57] local.INFO: TCP Data received {"connection_id":127028,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:23:57] local.INFO: Processing buffer {"connection_id":127028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:23:57] local.INFO: IMEI packet received {"connection_id":127028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":127028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:24:02] local.INFO: TCP Data received {"connection_id":127028,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:24:02] local.INFO: Processing buffer {"connection_id":127028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:24:02] local.INFO: IMEI packet received {"connection_id":127028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":127028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:24:03] local.INFO: TCP Data received {"connection_id":127028,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e591f80012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e591f80012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:24:03] local.INFO: Processing buffer {"connection_id":127028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e591f80012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:24:03] local.INFO: Packet analysis {"connection_id":127028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e59"} 
[2026-07-08 02:24:03] local.INFO: Extracted packet for processing {"connection_id":127028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e59"} 
[2026-07-08 02:24:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565031680001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783457456000,"timestamp_ms":1783457456000,"timestamp_seconds":1783457456,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e591f80"} 
[2026-07-08 02:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 02:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02: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-07-08 02:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565031680001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565031680001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:24:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:24:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565031680001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":127028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:24:03] local.INFO: GPS data processed {"connection_id":127028,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:24:03] local.INFO: Acknowledgment sent {"connection_id":127028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:24:34] local.INFO: TCP Data received {"connection_id":127028,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e591f80012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e591f80012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:24:34] local.INFO: Processing buffer {"connection_id":127028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e591f80012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:24:34] local.INFO: Packet analysis {"connection_id":127028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e59"} 
[2026-07-08 02:24:34] local.INFO: Extracted packet for processing {"connection_id":127028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e59"} 
[2026-07-08 02:24:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565031680001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783457456000,"timestamp_ms":1783457456000,"timestamp_seconds":1783457456,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e591f80"} 
[2026-07-08 02:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":97,"data_length":795,"current_offset":136} 
[2026-07-08 02:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02: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-07-08 02:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565031680001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565031680001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:24:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:24:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565031680001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":127028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:24:34] local.INFO: GPS data processed {"connection_id":127028,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:24:34] local.INFO: Acknowledgment sent {"connection_id":127028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:24:57] local.INFO: TCP Data received {"connection_id":125779,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:24:57] local.INFO: Processing buffer {"connection_id":125779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:24:57] local.INFO: IMEI packet received {"connection_id":125779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":125779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:25:02] local.INFO: TCP Data received {"connection_id":125779,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:25:02] local.INFO: Processing buffer {"connection_id":125779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:25:02] local.INFO: IMEI packet received {"connection_id":125779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":125779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:25:03] local.INFO: TCP Data received {"connection_id":125779,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e591f80012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e591f80012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:25:03] local.INFO: Processing buffer {"connection_id":125779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e591f80012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:25:03] local.INFO: Packet analysis {"connection_id":125779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e59"} 
[2026-07-08 02:25:03] local.INFO: Extracted packet for processing {"connection_id":125779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e59"} 
[2026-07-08 02:25:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565031680001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783457456000,"timestamp_ms":1783457456000,"timestamp_seconds":1783457456,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e591f80"} 
[2026-07-08 02:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 02:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02: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-07-08 02:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565031680001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565031680001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:25:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:25:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565031680001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":125779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:25:03] local.INFO: GPS data processed {"connection_id":125779,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:25:03] local.INFO: Acknowledgment sent {"connection_id":125779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:25:34] local.INFO: TCP Data received {"connection_id":125779,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e591f80012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e591f80012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:25:34] local.INFO: Processing buffer {"connection_id":125779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e591f80012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:25:34] local.INFO: Packet analysis {"connection_id":125779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e59"} 
[2026-07-08 02:25:34] local.INFO: Extracted packet for processing {"connection_id":125779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e59"} 
[2026-07-08 02:25:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565031680001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783457456000,"timestamp_ms":1783457456000,"timestamp_seconds":1783457456,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e591f80"} 
[2026-07-08 02:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 02:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02: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-07-08 02:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565031680001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565031680001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:25:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:25:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565031680001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":125779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:25:34] local.INFO: GPS data processed {"connection_id":125779,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:25:34] local.INFO: Acknowledgment sent {"connection_id":125779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:25:58] local.INFO: TCP Data received {"connection_id":125032,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:25:58] local.INFO: Processing buffer {"connection_id":125032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:25:58] local.INFO: IMEI packet received {"connection_id":125032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":125032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:26:02] local.INFO: TCP Data received {"connection_id":125032,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:26:02] local.INFO: Processing buffer {"connection_id":125032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:26:02] local.INFO: IMEI packet received {"connection_id":125032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":125032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:26:03] local.INFO: TCP Data received {"connection_id":125032,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e591f80012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e591f80012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:26:03] local.INFO: Processing buffer {"connection_id":125032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e591f80012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:26:03] local.INFO: Packet analysis {"connection_id":125032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e59"} 
[2026-07-08 02:26:03] local.INFO: Extracted packet for processing {"connection_id":125032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e59"} 
[2026-07-08 02:26:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565031680001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783457456000,"timestamp_ms":1783457456000,"timestamp_seconds":1783457456,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e591f80"} 
[2026-07-08 02:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 02:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02: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-07-08 02:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565031680001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565031680001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:26:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:26:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565031680001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":125032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:26:03] local.INFO: GPS data processed {"connection_id":125032,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:26:03] local.INFO: Acknowledgment sent {"connection_id":125032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:26:34] local.INFO: TCP Data received {"connection_id":125032,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e591f80012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e591f80012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:26:34] local.INFO: Processing buffer {"connection_id":125032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e591f80012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:26:34] local.INFO: Packet analysis {"connection_id":125032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e59"} 
[2026-07-08 02:26:34] local.INFO: Extracted packet for processing {"connection_id":125032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e59"} 
[2026-07-08 02:26:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565031680001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783457456000,"timestamp_ms":1783457456000,"timestamp_seconds":1783457456,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e591f80"} 
[2026-07-08 02:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 02:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02: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-07-08 02:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565031680001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565031680001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:26:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:26:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565031680001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":125032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:26:34] local.INFO: GPS data processed {"connection_id":125032,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:26:34] local.INFO: Acknowledgment sent {"connection_id":125032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:27:02] local.INFO: TCP Data received {"connection_id":125781,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:27:02] local.INFO: Processing buffer {"connection_id":125781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:27:02] local.INFO: IMEI packet received {"connection_id":125781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":125781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:27:07] local.INFO: TCP Data received {"connection_id":125781,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:27:07] local.INFO: Processing buffer {"connection_id":125781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:27:07] local.INFO: IMEI packet received {"connection_id":125781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":125781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:27:08] local.INFO: TCP Data received {"connection_id":125781,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e5db748012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e5db748012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:27:08] local.INFO: Processing buffer {"connection_id":125781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e5db748012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:27:08] local.INFO: Packet analysis {"connection_id":125781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e5d"} 
[2026-07-08 02:27:08] local.INFO: Extracted packet for processing {"connection_id":125781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e5d"} 
[2026-07-08 02:27:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565108736001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783457757000,"timestamp_ms":1783457757000,"timestamp_seconds":1783457757,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e5db748"} 
[2026-07-08 02:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 02:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565108736001,"66":25321,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565108736001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:27:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:27:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565108736001,"power":25321,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":125781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:27:08] local.INFO: GPS data processed {"connection_id":125781,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:27:08] local.INFO: Acknowledgment sent {"connection_id":125781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:27:13] local.INFO: TCP Data received {"connection_id":125781,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e5db748012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e5db748012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:27:13] local.INFO: Processing buffer {"connection_id":125781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e5db748012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:27:13] local.INFO: Packet analysis {"connection_id":125781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e5d"} 
[2026-07-08 02:27:13] local.INFO: Extracted packet for processing {"connection_id":125781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e5d"} 
[2026-07-08 02:27:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565108736001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783457757000,"timestamp_ms":1783457757000,"timestamp_seconds":1783457757,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e5db748"} 
[2026-07-08 02:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 02:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565108736001,"66":25321,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565108736001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:27:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:27:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565108736001,"power":25321,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":125781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:27:13] local.INFO: GPS data processed {"connection_id":125781,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:27:13] local.INFO: Acknowledgment sent {"connection_id":125781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:27:59] local.INFO: TCP Data received {"connection_id":127030,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:27:59] local.INFO: Processing buffer {"connection_id":127030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:27:59] local.INFO: IMEI packet received {"connection_id":127030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":127030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:28:02] local.INFO: TCP Data received {"connection_id":127030,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:28:02] local.INFO: Processing buffer {"connection_id":127030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:28:02] local.INFO: IMEI packet received {"connection_id":127030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":127030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:28:12] local.INFO: TCP Data received {"connection_id":127030,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e5db748012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e5db748012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:28:12] local.INFO: Processing buffer {"connection_id":127030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e5db748012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:28:12] local.INFO: Packet analysis {"connection_id":127030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e5d"} 
[2026-07-08 02:28:12] local.INFO: Extracted packet for processing {"connection_id":127030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e5d"} 
[2026-07-08 02:28:12] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565108736001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783457757000,"timestamp_ms":1783457757000,"timestamp_seconds":1783457757,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e5db748"} 
[2026-07-08 02:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 02:28: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-07-08 02:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":127030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":127030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":127030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565108736001,"66":25321,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565108736001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:28:12] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:28:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565108736001,"power":25321,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":127030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:28:12] local.INFO: GPS data processed {"connection_id":127030,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:28:12] local.INFO: Acknowledgment sent {"connection_id":127030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:28:13] local.INFO: TCP Data received {"connection_id":127030,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e5db748012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e5db748012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:28:13] local.INFO: Processing buffer {"connection_id":127030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e5db748012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:28:13] local.INFO: Packet analysis {"connection_id":127030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e5d"} 
[2026-07-08 02:28:13] local.INFO: Extracted packet for processing {"connection_id":127030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e5d"} 
[2026-07-08 02:28:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565108736001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783457757000,"timestamp_ms":1783457757000,"timestamp_seconds":1783457757,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e5db748"} 
[2026-07-08 02:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":97,"data_length":795,"current_offset":136} 
[2026-07-08 02:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":127030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":127030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":127030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565108736001,"66":25321,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565108736001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:28:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:28:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565108736001,"power":25321,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":127030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:28:13] local.INFO: GPS data processed {"connection_id":127030,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:28:13] local.INFO: Acknowledgment sent {"connection_id":127030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:28:57] local.INFO: TCP Data received {"connection_id":125783,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125783,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:28:57] local.INFO: Processing buffer {"connection_id":125783,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:28:57] local.INFO: IMEI packet received {"connection_id":125783,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 02:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":125783,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:28:57] local.INFO: TCP Data received {"connection_id":125784,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:28:57] local.INFO: Processing buffer {"connection_id":125784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:28:57] local.INFO: IMEI packet received {"connection_id":125784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":125784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:29:02] local.INFO: TCP Data received {"connection_id":125784,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:29:02] local.INFO: Processing buffer {"connection_id":125784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:29:02] local.INFO: IMEI packet received {"connection_id":125784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":125784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:29:03] local.INFO: TCP Data received {"connection_id":125784,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e5db748012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e5db748012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:29:03] local.INFO: Processing buffer {"connection_id":125784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e5db748012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:29:03] local.INFO: Packet analysis {"connection_id":125784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e5d"} 
[2026-07-08 02:29:03] local.INFO: Extracted packet for processing {"connection_id":125784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e5d"} 
[2026-07-08 02:29:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565108736001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783457757000,"timestamp_ms":1783457757000,"timestamp_seconds":1783457757,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e5db748"} 
[2026-07-08 02:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 02:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565108736001,"66":25321,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565108736001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:29:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:29:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565108736001,"power":25321,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":125784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:29:03] local.INFO: GPS data processed {"connection_id":125784,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:29:03] local.INFO: Acknowledgment sent {"connection_id":125784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:29:34] local.INFO: TCP Data received {"connection_id":125784,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e5db748012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e5db748012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:29:34] local.INFO: Processing buffer {"connection_id":125784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e5db748012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:29:34] local.INFO: Packet analysis {"connection_id":125784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e5d"} 
[2026-07-08 02:29:34] local.INFO: Extracted packet for processing {"connection_id":125784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e5d"} 
[2026-07-08 02:29:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565108736001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783457757000,"timestamp_ms":1783457757000,"timestamp_seconds":1783457757,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e5db748"} 
[2026-07-08 02:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 02:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02: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-07-08 02:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565108736001,"66":25321,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565108736001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:29:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:29:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565108736001,"power":25321,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":125784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:29:34] local.INFO: GPS data processed {"connection_id":125784,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:29:34] local.INFO: Acknowledgment sent {"connection_id":125784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:29:57] local.INFO: TCP Data received {"connection_id":125785,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:29:57] local.INFO: Processing buffer {"connection_id":125785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:29:57] local.INFO: IMEI packet received {"connection_id":125785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":125785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:30:02] local.INFO: TCP Data received {"connection_id":125785,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:30:02] local.INFO: Processing buffer {"connection_id":125785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:30:02] local.INFO: IMEI packet received {"connection_id":125785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":125785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:30:03] local.INFO: TCP Data received {"connection_id":125785,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e5db748012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e5db748012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:30:03] local.INFO: Processing buffer {"connection_id":125785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e5db748012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:30:03] local.INFO: Packet analysis {"connection_id":125785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e5d"} 
[2026-07-08 02:30:03] local.INFO: Extracted packet for processing {"connection_id":125785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e5d"} 
[2026-07-08 02:30:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565108736001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783457757000,"timestamp_ms":1783457757000,"timestamp_seconds":1783457757,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e5db748"} 
[2026-07-08 02:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 02:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565108736001,"66":25321,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565108736001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:30:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:30:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565108736001,"power":25321,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":125785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:30:03] local.INFO: GPS data processed {"connection_id":125785,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:30:03] local.INFO: Acknowledgment sent {"connection_id":125785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:30:34] local.INFO: TCP Data received {"connection_id":125785,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e5db748012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e5db748012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:30:34] local.INFO: Processing buffer {"connection_id":125785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e5db748012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:30:34] local.INFO: Packet analysis {"connection_id":125785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e5d"} 
[2026-07-08 02:30:34] local.INFO: Extracted packet for processing {"connection_id":125785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e5d"} 
[2026-07-08 02:30:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565108736001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783457757000,"timestamp_ms":1783457757000,"timestamp_seconds":1783457757,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e5db748"} 
[2026-07-08 02:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 02:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565108736001,"66":25321,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565108736001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:30:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:30:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565108736001,"power":25321,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":125785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:30:34] local.INFO: GPS data processed {"connection_id":125785,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:30:34] local.INFO: Acknowledgment sent {"connection_id":125785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:30:57] local.INFO: TCP Data received {"connection_id":125033,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:30:57] local.INFO: Processing buffer {"connection_id":125033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:30:57] local.INFO: IMEI packet received {"connection_id":125033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":125033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:31:02] local.INFO: TCP Data received {"connection_id":125033,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:31:02] local.INFO: Processing buffer {"connection_id":125033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:31:02] local.INFO: IMEI packet received {"connection_id":125033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":125033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:31:03] local.INFO: TCP Data received {"connection_id":125033,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e5db748012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e5db748012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:31:03] local.INFO: Processing buffer {"connection_id":125033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e5db748012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:31:03] local.INFO: Packet analysis {"connection_id":125033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e5d"} 
[2026-07-08 02:31:03] local.INFO: Extracted packet for processing {"connection_id":125033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e5d"} 
[2026-07-08 02:31:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565108736001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783457757000,"timestamp_ms":1783457757000,"timestamp_seconds":1783457757,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e5db748"} 
[2026-07-08 02:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 02:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02: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-07-08 02:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565108736001,"66":25321,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565108736001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:31:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:31:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565108736001,"power":25321,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":125033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:31:03] local.INFO: GPS data processed {"connection_id":125033,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:31:03] local.INFO: Acknowledgment sent {"connection_id":125033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:31:34] local.INFO: TCP Data received {"connection_id":125033,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e5db748012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e5db748012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:31:34] local.INFO: Processing buffer {"connection_id":125033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e5db748012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:31:34] local.INFO: Packet analysis {"connection_id":125033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e5d"} 
[2026-07-08 02:31:34] local.INFO: Extracted packet for processing {"connection_id":125033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e5d"} 
[2026-07-08 02:31:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565108736001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783457757000,"timestamp_ms":1783457757000,"timestamp_seconds":1783457757,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e5db748"} 
[2026-07-08 02:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 02:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565108736001,"66":25321,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565108736001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:31:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:31:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565108736001,"power":25321,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":125033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:31:34] local.INFO: GPS data processed {"connection_id":125033,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:31:34] local.INFO: Acknowledgment sent {"connection_id":125033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:32:02] local.INFO: TCP Data received {"connection_id":125786,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:32:02] local.INFO: Processing buffer {"connection_id":125786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:32:02] local.INFO: IMEI packet received {"connection_id":125786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":125786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:32:07] local.INFO: TCP Data received {"connection_id":125786,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:32:07] local.INFO: Processing buffer {"connection_id":125786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:32:07] local.INFO: IMEI packet received {"connection_id":125786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":125786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:32:08] local.INFO: TCP Data received {"connection_id":125786,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e624f10012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e624f10012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:32:08] local.INFO: Processing buffer {"connection_id":125786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e624f10012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:32:08] local.INFO: Packet analysis {"connection_id":125786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e62"} 
[2026-07-08 02:32:08] local.INFO: Extracted packet for processing {"connection_id":125786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e62"} 
[2026-07-08 02:32:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565185792001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783458058000,"timestamp_ms":1783458058000,"timestamp_seconds":1783458058,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e624f10"} 
[2026-07-08 02:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 02:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565185792001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565185792001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:32:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:32:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565185792001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":125786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:32:08] local.INFO: GPS data processed {"connection_id":125786,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:32:08] local.INFO: Acknowledgment sent {"connection_id":125786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:32:12] local.INFO: TCP Data received {"connection_id":125786,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e624f10012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e624f10012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:32:12] local.INFO: Processing buffer {"connection_id":125786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e624f10012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:32:12] local.INFO: Packet analysis {"connection_id":125786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e62"} 
[2026-07-08 02:32:12] local.INFO: Extracted packet for processing {"connection_id":125786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e62"} 
[2026-07-08 02:32:12] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565185792001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783458058000,"timestamp_ms":1783458058000,"timestamp_seconds":1783458058,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e624f10"} 
[2026-07-08 02:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 02:32:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02: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-07-08 02:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565185792001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565185792001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:32:12] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:32:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565185792001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":125786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:32:12] local.INFO: GPS data processed {"connection_id":125786,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:32:12] local.INFO: Acknowledgment sent {"connection_id":125786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:32:57] local.INFO: TCP Data received {"connection_id":127032,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:32:57] local.INFO: Processing buffer {"connection_id":127032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:32:57] local.INFO: IMEI packet received {"connection_id":127032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":127032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:33:02] local.INFO: TCP Data received {"connection_id":127032,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:33:02] local.INFO: Processing buffer {"connection_id":127032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:33:02] local.INFO: IMEI packet received {"connection_id":127032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":127032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:33:03] local.INFO: TCP Data received {"connection_id":127032,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e624f10012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e624f10012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:33:03] local.INFO: Processing buffer {"connection_id":127032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e624f10012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:33:03] local.INFO: Packet analysis {"connection_id":127032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e62"} 
[2026-07-08 02:33:03] local.INFO: Extracted packet for processing {"connection_id":127032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e62"} 
[2026-07-08 02:33:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565185792001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783458058000,"timestamp_ms":1783458058000,"timestamp_seconds":1783458058,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e624f10"} 
[2026-07-08 02:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 02:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:33: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-07-08 02:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565185792001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565185792001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:33:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:33:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565185792001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":127032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:33:03] local.INFO: GPS data processed {"connection_id":127032,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:33:03] local.INFO: Acknowledgment sent {"connection_id":127032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:33:34] local.INFO: TCP Data received {"connection_id":127032,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e624f10012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e624f10012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:33:34] local.INFO: Processing buffer {"connection_id":127032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e624f10012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:33:34] local.INFO: Packet analysis {"connection_id":127032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e62"} 
[2026-07-08 02:33:34] local.INFO: Extracted packet for processing {"connection_id":127032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e62"} 
[2026-07-08 02:33:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565185792001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783458058000,"timestamp_ms":1783458058000,"timestamp_seconds":1783458058,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e624f10"} 
[2026-07-08 02:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 02:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02: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-07-08 02:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:33: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-07-08 02:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565185792001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565185792001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:33:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:33:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565185792001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":127032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:33:34] local.INFO: GPS data processed {"connection_id":127032,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:33:34] local.INFO: Acknowledgment sent {"connection_id":127032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:33:57] local.INFO: TCP Data received {"connection_id":127033,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:33:57] local.INFO: Processing buffer {"connection_id":127033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:33:57] local.INFO: IMEI packet received {"connection_id":127033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":127033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:34:02] local.INFO: TCP Data received {"connection_id":127033,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:34:02] local.INFO: Processing buffer {"connection_id":127033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:34:02] local.INFO: IMEI packet received {"connection_id":127033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":127033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:34:03] local.INFO: TCP Data received {"connection_id":127033,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e624f10012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e624f10012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:34:03] local.INFO: Processing buffer {"connection_id":127033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e624f10012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:34:03] local.INFO: Packet analysis {"connection_id":127033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e62"} 
[2026-07-08 02:34:03] local.INFO: Extracted packet for processing {"connection_id":127033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e62"} 
[2026-07-08 02:34:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565185792001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783458058000,"timestamp_ms":1783458058000,"timestamp_seconds":1783458058,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e624f10"} 
[2026-07-08 02:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 02:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565185792001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565185792001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:34:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:34:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565185792001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":127033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:34:03] local.INFO: GPS data processed {"connection_id":127033,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:34:03] local.INFO: Acknowledgment sent {"connection_id":127033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:34:34] local.INFO: TCP Data received {"connection_id":127033,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e624f10012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e624f10012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:34:34] local.INFO: Processing buffer {"connection_id":127033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e624f10012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:34:34] local.INFO: Packet analysis {"connection_id":127033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e62"} 
[2026-07-08 02:34:34] local.INFO: Extracted packet for processing {"connection_id":127033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e62"} 
[2026-07-08 02:34:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565185792001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783458058000,"timestamp_ms":1783458058000,"timestamp_seconds":1783458058,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e624f10"} 
[2026-07-08 02:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 02:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565185792001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565185792001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:34:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:34:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565185792001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":127033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:34:34] local.INFO: GPS data processed {"connection_id":127033,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:34:34] local.INFO: Acknowledgment sent {"connection_id":127033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:34:41] local.INFO: TCP Data received {"connection_id":124946,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124946,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:34:41] local.INFO: Processing buffer {"connection_id":124946,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:34:41] local.INFO: IMEI packet received {"connection_id":124946,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 02:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":124946,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:34:57] local.INFO: TCP Data received {"connection_id":127035,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127035,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:34:57] local.INFO: Processing buffer {"connection_id":127035,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:34:57] local.INFO: IMEI packet received {"connection_id":127035,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 02:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":127035,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:34:57] local.INFO: TCP Data received {"connection_id":127034,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:34:57] local.INFO: Processing buffer {"connection_id":127034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:34:57] local.INFO: IMEI packet received {"connection_id":127034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":127034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:35:02] local.INFO: TCP Data received {"connection_id":127034,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:35:02] local.INFO: Processing buffer {"connection_id":127034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:35:02] local.INFO: IMEI packet received {"connection_id":127034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":127034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:35:03] local.INFO: TCP Data received {"connection_id":127034,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e624f10012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e624f10012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:35:03] local.INFO: Processing buffer {"connection_id":127034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e624f10012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:35:03] local.INFO: Packet analysis {"connection_id":127034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e62"} 
[2026-07-08 02:35:03] local.INFO: Extracted packet for processing {"connection_id":127034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e62"} 
[2026-07-08 02:35:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565185792001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783458058000,"timestamp_ms":1783458058000,"timestamp_seconds":1783458058,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e624f10"} 
[2026-07-08 02:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 02:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02: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-07-08 02:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565185792001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565185792001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:35:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:35:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565185792001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":127034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:35:03] local.INFO: GPS data processed {"connection_id":127034,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:35:03] local.INFO: Acknowledgment sent {"connection_id":127034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:35:34] local.INFO: TCP Data received {"connection_id":127034,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e624f10012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e624f10012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:35:34] local.INFO: Processing buffer {"connection_id":127034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e624f10012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:35:34] local.INFO: Packet analysis {"connection_id":127034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e62"} 
[2026-07-08 02:35:34] local.INFO: Extracted packet for processing {"connection_id":127034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e62"} 
[2026-07-08 02:35:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565185792001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783458058000,"timestamp_ms":1783458058000,"timestamp_seconds":1783458058,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e624f10"} 
[2026-07-08 02:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 02:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565185792001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565185792001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:35:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:35:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565185792001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":127034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:35:34] local.INFO: GPS data processed {"connection_id":127034,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:35:34] local.INFO: Acknowledgment sent {"connection_id":127034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:35:58] local.INFO: TCP Data received {"connection_id":125788,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:35:58] local.INFO: Processing buffer {"connection_id":125788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:35:58] local.INFO: IMEI packet received {"connection_id":125788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":125788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:36:02] local.INFO: TCP Data received {"connection_id":125788,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:36:02] local.INFO: Processing buffer {"connection_id":125788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:36:02] local.INFO: IMEI packet received {"connection_id":125788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":125788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:36:03] local.INFO: TCP Data received {"connection_id":125788,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e624f10012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e624f10012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:36:03] local.INFO: Processing buffer {"connection_id":125788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e624f10012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:36:03] local.INFO: Packet analysis {"connection_id":125788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e62"} 
[2026-07-08 02:36:03] local.INFO: Extracted packet for processing {"connection_id":125788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e62"} 
[2026-07-08 02:36:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565185792001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783458058000,"timestamp_ms":1783458058000,"timestamp_seconds":1783458058,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e624f10"} 
[2026-07-08 02:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 02:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565185792001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565185792001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:36:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:36:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565185792001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":125788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:36:03] local.INFO: GPS data processed {"connection_id":125788,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:36:03] local.INFO: Acknowledgment sent {"connection_id":125788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:36:34] local.INFO: TCP Data received {"connection_id":125788,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e624f10012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e624f10012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:36:34] local.INFO: Processing buffer {"connection_id":125788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e624f10012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:36:34] local.INFO: Packet analysis {"connection_id":125788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e62"} 
[2026-07-08 02:36:34] local.INFO: Extracted packet for processing {"connection_id":125788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e62"} 
[2026-07-08 02:36:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565185792001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783458058000,"timestamp_ms":1783458058000,"timestamp_seconds":1783458058,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e624f10"} 
[2026-07-08 02:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 02:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02: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-07-08 02:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565185792001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565185792001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:36:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:36:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565185792001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":125788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:36:34] local.INFO: GPS data processed {"connection_id":125788,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:36:34] local.INFO: Acknowledgment sent {"connection_id":125788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:36:57] local.INFO: TCP Data received {"connection_id":125789,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:36:57] local.INFO: Processing buffer {"connection_id":125789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:36:57] local.INFO: IMEI packet received {"connection_id":125789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":125789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:37:02] local.INFO: TCP Data received {"connection_id":125789,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:37:02] local.INFO: Processing buffer {"connection_id":125789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:37:02] local.INFO: IMEI packet received {"connection_id":125789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":125789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:37:03] local.INFO: TCP Data received {"connection_id":125789,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e66e6d8012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e66e6d8012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:37:03] local.INFO: Processing buffer {"connection_id":125789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e66e6d8012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:37:03] local.INFO: Packet analysis {"connection_id":125789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e66"} 
[2026-07-08 02:37:03] local.INFO: Extracted packet for processing {"connection_id":125789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e66"} 
[2026-07-08 02:37:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565262848001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783458359000,"timestamp_ms":1783458359000,"timestamp_seconds":1783458359,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e66e6d8"} 
[2026-07-08 02:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 02:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02: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-07-08 02:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565262848001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565262848001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:37:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:37:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565262848001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":125789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:37:03] local.INFO: GPS data processed {"connection_id":125789,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:37:03] local.INFO: Acknowledgment sent {"connection_id":125789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:37:34] local.INFO: TCP Data received {"connection_id":125789,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e66e6d8012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e66e6d8012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:37:34] local.INFO: Processing buffer {"connection_id":125789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e66e6d8012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:37:34] local.INFO: Packet analysis {"connection_id":125789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e66"} 
[2026-07-08 02:37:34] local.INFO: Extracted packet for processing {"connection_id":125789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e66"} 
[2026-07-08 02:37:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565262848001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783458359000,"timestamp_ms":1783458359000,"timestamp_seconds":1783458359,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e66e6d8"} 
[2026-07-08 02:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 02:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565262848001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565262848001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:37:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:37:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565262848001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":125789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:37:34] local.INFO: GPS data processed {"connection_id":125789,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:37:34] local.INFO: Acknowledgment sent {"connection_id":125789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:38:02] local.INFO: TCP Data received {"connection_id":125036,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:38:02] local.INFO: Processing buffer {"connection_id":125036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:38:02] local.INFO: IMEI packet received {"connection_id":125036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":125036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:38:07] local.INFO: TCP Data received {"connection_id":125036,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:38:07] local.INFO: Processing buffer {"connection_id":125036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:38:07] local.INFO: IMEI packet received {"connection_id":125036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":125036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:38:08] local.INFO: TCP Data received {"connection_id":125036,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e66e6d8012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e66e6d8012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:38:08] local.INFO: Processing buffer {"connection_id":125036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e66e6d8012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:38:08] local.INFO: Packet analysis {"connection_id":125036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e66"} 
[2026-07-08 02:38:08] local.INFO: Extracted packet for processing {"connection_id":125036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e66"} 
[2026-07-08 02:38:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565262848001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783458359000,"timestamp_ms":1783458359000,"timestamp_seconds":1783458359,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e66e6d8"} 
[2026-07-08 02:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 02:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565262848001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565262848001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:38:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:38:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565262848001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":125036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:38:08] local.INFO: GPS data processed {"connection_id":125036,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:38:08] local.INFO: Acknowledgment sent {"connection_id":125036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:38:13] local.INFO: TCP Data received {"connection_id":125036,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e66e6d8012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e66e6d8012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:38:13] local.INFO: Processing buffer {"connection_id":125036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e66e6d8012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:38:13] local.INFO: Packet analysis {"connection_id":125036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e66"} 
[2026-07-08 02:38:13] local.INFO: Extracted packet for processing {"connection_id":125036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e66"} 
[2026-07-08 02:38:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565262848001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783458359000,"timestamp_ms":1783458359000,"timestamp_seconds":1783458359,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e66e6d8"} 
[2026-07-08 02:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:38:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 02:38:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:38:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565262848001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565262848001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:38:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:38:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565262848001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":125036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:38:13] local.INFO: GPS data processed {"connection_id":125036,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:38:13] local.INFO: Acknowledgment sent {"connection_id":125036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:38:57] local.INFO: TCP Data received {"connection_id":124947,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:38:57] local.INFO: Processing buffer {"connection_id":124947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:38:57] local.INFO: IMEI packet received {"connection_id":124947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":124947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:39:02] local.INFO: TCP Data received {"connection_id":124947,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:39:02] local.INFO: Processing buffer {"connection_id":124947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:39:02] local.INFO: IMEI packet received {"connection_id":124947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":124947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:39:03] local.INFO: TCP Data received {"connection_id":124947,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e66e6d8012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e66e6d8012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:39:03] local.INFO: Processing buffer {"connection_id":124947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e66e6d8012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:39:03] local.INFO: Packet analysis {"connection_id":124947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e66"} 
[2026-07-08 02:39:03] local.INFO: Extracted packet for processing {"connection_id":124947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e66"} 
[2026-07-08 02:39:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565262848001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783458359000,"timestamp_ms":1783458359000,"timestamp_seconds":1783458359,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e66e6d8"} 
[2026-07-08 02:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 02:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02: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-07-08 02:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565262848001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565262848001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:39:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:39:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565262848001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":124947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:39:03] local.INFO: GPS data processed {"connection_id":124947,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:39:03] local.INFO: Acknowledgment sent {"connection_id":124947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:39:34] local.INFO: TCP Data received {"connection_id":124947,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e66e6d8012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e66e6d8012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:39:34] local.INFO: Processing buffer {"connection_id":124947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e66e6d8012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:39:34] local.INFO: Packet analysis {"connection_id":124947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e66"} 
[2026-07-08 02:39:34] local.INFO: Extracted packet for processing {"connection_id":124947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e66"} 
[2026-07-08 02:39:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565262848001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783458359000,"timestamp_ms":1783458359000,"timestamp_seconds":1783458359,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e66e6d8"} 
[2026-07-08 02:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 02:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02: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-07-08 02:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565262848001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565262848001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:39:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:39:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565262848001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":124947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:39:34] local.INFO: GPS data processed {"connection_id":124947,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:39:34] local.INFO: Acknowledgment sent {"connection_id":124947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:39:57] local.INFO: TCP Data received {"connection_id":124948,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:39:57] local.INFO: Processing buffer {"connection_id":124948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:39:57] local.INFO: IMEI packet received {"connection_id":124948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":124948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:40:02] local.INFO: TCP Data received {"connection_id":124948,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:40:02] local.INFO: Processing buffer {"connection_id":124948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:40:02] local.INFO: IMEI packet received {"connection_id":124948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":124948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:40:06] local.INFO: TCP Data received {"connection_id":124948,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e66e6d8012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e66e6d8012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:40:06] local.INFO: Processing buffer {"connection_id":124948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e66e6d8012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:40:06] local.INFO: Packet analysis {"connection_id":124948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e66"} 
[2026-07-08 02:40:06] local.INFO: Extracted packet for processing {"connection_id":124948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e66"} 
[2026-07-08 02:40:06] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565262848001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783458359000,"timestamp_ms":1783458359000,"timestamp_seconds":1783458359,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e66e6d8"} 
[2026-07-08 02:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":75,"data_length":795,"current_offset":136} 
[2026-07-08 02:40: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-07-08 02:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565262848001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565262848001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:40:06] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:40:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565262848001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":124948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:40:06] local.INFO: GPS data processed {"connection_id":124948,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:40:06] local.INFO: Acknowledgment sent {"connection_id":124948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:40:26] local.INFO: TCP Data received {"connection_id":127036,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127036,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:40:26] local.INFO: Processing buffer {"connection_id":127036,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:40:26] local.INFO: IMEI packet received {"connection_id":127036,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 02:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":127036,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:40:37] local.INFO: TCP Data received {"connection_id":124948,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e66e6d8012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e66e6d8012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:40:37] local.INFO: Processing buffer {"connection_id":124948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e66e6d8012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:40:37] local.INFO: Packet analysis {"connection_id":124948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e66"} 
[2026-07-08 02:40:37] local.INFO: Extracted packet for processing {"connection_id":124948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e66"} 
[2026-07-08 02:40:37] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565262848001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783458359000,"timestamp_ms":1783458359000,"timestamp_seconds":1783458359,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e66e6d8"} 
[2026-07-08 02:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":75,"data_length":795,"current_offset":136} 
[2026-07-08 02:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565262848001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565262848001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:40:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:40:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565262848001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":124948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:40:37] local.INFO: GPS data processed {"connection_id":124948,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:40:37] local.INFO: Acknowledgment sent {"connection_id":124948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:40:58] local.INFO: TCP Data received {"connection_id":127037,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:40:58] local.INFO: Processing buffer {"connection_id":127037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:40:58] local.INFO: IMEI packet received {"connection_id":127037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":127037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:40:58] local.INFO: TCP Data received {"connection_id":127038,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127038,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:40:58] local.INFO: Processing buffer {"connection_id":127038,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:40:58] local.INFO: IMEI packet received {"connection_id":127038,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 02:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":127038,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:41:02] local.INFO: TCP Data received {"connection_id":127037,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:41:02] local.INFO: Processing buffer {"connection_id":127037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:41:02] local.INFO: IMEI packet received {"connection_id":127037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":127037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:41:03] local.INFO: TCP Data received {"connection_id":127037,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e66e6d8012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e66e6d8012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:41:03] local.INFO: Processing buffer {"connection_id":127037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e66e6d8012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:41:03] local.INFO: Packet analysis {"connection_id":127037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e66"} 
[2026-07-08 02:41:03] local.INFO: Extracted packet for processing {"connection_id":127037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e66"} 
[2026-07-08 02:41:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565262848001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783458359000,"timestamp_ms":1783458359000,"timestamp_seconds":1783458359,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e66e6d8"} 
[2026-07-08 02:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 02:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02: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-07-08 02:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565262848001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565262848001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:41:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:41:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565262848001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":127037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:41:03] local.INFO: GPS data processed {"connection_id":127037,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:41:03] local.INFO: Acknowledgment sent {"connection_id":127037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:41:34] local.INFO: TCP Data received {"connection_id":127037,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e66e6d8012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e66e6d8012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:41:34] local.INFO: Processing buffer {"connection_id":127037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e66e6d8012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:41:34] local.INFO: Packet analysis {"connection_id":127037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e66"} 
[2026-07-08 02:41:34] local.INFO: Extracted packet for processing {"connection_id":127037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e66"} 
[2026-07-08 02:41:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565262848001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783458359000,"timestamp_ms":1783458359000,"timestamp_seconds":1783458359,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e66e6d8"} 
[2026-07-08 02:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 02:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:41:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565262848001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565262848001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:41:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:41:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565262848001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":127037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:41:34] local.INFO: GPS data processed {"connection_id":127037,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:41:34] local.INFO: Acknowledgment sent {"connection_id":127037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:41:57] local.INFO: TCP Data received {"connection_id":125037,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:41:57] local.INFO: Processing buffer {"connection_id":125037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:41:57] local.INFO: IMEI packet received {"connection_id":125037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":125037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:42:02] local.INFO: TCP Data received {"connection_id":125037,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:42:02] local.INFO: Processing buffer {"connection_id":125037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:42:02] local.INFO: IMEI packet received {"connection_id":125037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":125037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:42:05] local.INFO: TCP Data received {"connection_id":125037,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e6b7ea0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e6b7ea0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:42:05] local.INFO: Processing buffer {"connection_id":125037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e6b7ea0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:42:05] local.INFO: Packet analysis {"connection_id":125037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e6b"} 
[2026-07-08 02:42:05] local.INFO: Extracted packet for processing {"connection_id":125037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e6b"} 
[2026-07-08 02:42:05] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565339904001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783458660000,"timestamp_ms":1783458660000,"timestamp_seconds":1783458660,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e6b7ea0"} 
[2026-07-08 02:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02: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-07-08 02:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565339904001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565339904001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:42:05] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:42:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565339904001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":125037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:42:05] local.INFO: GPS data processed {"connection_id":125037,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:42:05] local.INFO: Acknowledgment sent {"connection_id":125037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:42:36] local.INFO: TCP Data received {"connection_id":125037,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e6b7ea0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e6b7ea0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:42:36] local.INFO: Processing buffer {"connection_id":125037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e6b7ea0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:42:36] local.INFO: Packet analysis {"connection_id":125037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e6b"} 
[2026-07-08 02:42:36] local.INFO: Extracted packet for processing {"connection_id":125037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e6b"} 
[2026-07-08 02:42:36] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565339904001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783458660000,"timestamp_ms":1783458660000,"timestamp_seconds":1783458660,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e6b7ea0"} 
[2026-07-08 02:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":31,"data_length":795,"current_offset":136} 
[2026-07-08 02:42: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-07-08 02:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565339904001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565339904001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:42:36] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:42:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565339904001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":125037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:42:36] local.INFO: GPS data processed {"connection_id":125037,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:42:36] local.INFO: Acknowledgment sent {"connection_id":125037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:43:02] local.INFO: TCP Data received {"connection_id":127039,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:43:02] local.INFO: Processing buffer {"connection_id":127039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:43:02] local.INFO: IMEI packet received {"connection_id":127039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":127039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:43:07] local.INFO: TCP Data received {"connection_id":127039,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:43:07] local.INFO: Processing buffer {"connection_id":127039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:43:07] local.INFO: IMEI packet received {"connection_id":127039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":127039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:43:08] local.INFO: TCP Data received {"connection_id":127039,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e6b7ea0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e6b7ea0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:43:08] local.INFO: Processing buffer {"connection_id":127039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e6b7ea0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:43:08] local.INFO: Packet analysis {"connection_id":127039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e6b"} 
[2026-07-08 02:43:08] local.INFO: Extracted packet for processing {"connection_id":127039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e6b"} 
[2026-07-08 02:43:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565339904001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783458660000,"timestamp_ms":1783458660000,"timestamp_seconds":1783458660,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e6b7ea0"} 
[2026-07-08 02:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 02:43:08] 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-07-08 02:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":127039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":127039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":127039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565339904001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565339904001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:43:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:43:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565339904001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":127039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:43:08] local.INFO: GPS data processed {"connection_id":127039,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:43:08] local.INFO: Acknowledgment sent {"connection_id":127039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:43:12] local.INFO: TCP Data received {"connection_id":127039,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e6b7ea0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e6b7ea0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:43:12] local.INFO: Processing buffer {"connection_id":127039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e6b7ea0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:43:12] local.INFO: Packet analysis {"connection_id":127039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e6b"} 
[2026-07-08 02:43:12] local.INFO: Extracted packet for processing {"connection_id":127039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e6b"} 
[2026-07-08 02:43:12] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565339904001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783458660000,"timestamp_ms":1783458660000,"timestamp_seconds":1783458660,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e6b7ea0"} 
[2026-07-08 02:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 02:43:12] 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-07-08 02:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":127039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":127039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":127039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565339904001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565339904001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:43:12] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:43:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565339904001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":127039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:43:12] local.INFO: GPS data processed {"connection_id":127039,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:43:12] local.INFO: Acknowledgment sent {"connection_id":127039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:43:57] local.INFO: TCP Data received {"connection_id":124950,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:43:57] local.INFO: Processing buffer {"connection_id":124950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:43:57] local.INFO: IMEI packet received {"connection_id":124950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":124950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:44:02] local.INFO: TCP Data received {"connection_id":124950,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:44:02] local.INFO: Processing buffer {"connection_id":124950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:44:02] local.INFO: IMEI packet received {"connection_id":124950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":124950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:44:03] local.INFO: TCP Data received {"connection_id":124950,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e6b7ea0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e6b7ea0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:44:03] local.INFO: Processing buffer {"connection_id":124950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e6b7ea0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:44:03] local.INFO: Packet analysis {"connection_id":124950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e6b"} 
[2026-07-08 02:44:03] local.INFO: Extracted packet for processing {"connection_id":124950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e6b"} 
[2026-07-08 02:44:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565339904001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783458660000,"timestamp_ms":1783458660000,"timestamp_seconds":1783458660,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e6b7ea0"} 
[2026-07-08 02:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 02:44:03] 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-07-08 02:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565339904001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565339904001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:44:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:44:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565339904001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":124950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:44:03] local.INFO: GPS data processed {"connection_id":124950,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:44:03] local.INFO: Acknowledgment sent {"connection_id":124950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:44:34] local.INFO: TCP Data received {"connection_id":124950,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e6b7ea0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e6b7ea0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:44:34] local.INFO: Processing buffer {"connection_id":124950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e6b7ea0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:44:34] local.INFO: Packet analysis {"connection_id":124950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e6b"} 
[2026-07-08 02:44:34] local.INFO: Extracted packet for processing {"connection_id":124950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e6b"} 
[2026-07-08 02:44:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565339904001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783458660000,"timestamp_ms":1783458660000,"timestamp_seconds":1783458660,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e6b7ea0"} 
[2026-07-08 02:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 02:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565339904001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565339904001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:44:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:44:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565339904001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":124950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:44:34] local.INFO: GPS data processed {"connection_id":124950,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:44:34] local.INFO: Acknowledgment sent {"connection_id":124950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:44:57] local.INFO: TCP Data received {"connection_id":125792,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:44:57] local.INFO: Processing buffer {"connection_id":125792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:44:57] local.INFO: IMEI packet received {"connection_id":125792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":125792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:45:02] local.INFO: TCP Data received {"connection_id":125792,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:45:02] local.INFO: Processing buffer {"connection_id":125792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:45:02] local.INFO: IMEI packet received {"connection_id":125792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":125792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:45:03] local.INFO: TCP Data received {"connection_id":125792,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e6b7ea0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e6b7ea0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:45:03] local.INFO: Processing buffer {"connection_id":125792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e6b7ea0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:45:03] local.INFO: Packet analysis {"connection_id":125792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e6b"} 
[2026-07-08 02:45:03] local.INFO: Extracted packet for processing {"connection_id":125792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e6b"} 
[2026-07-08 02:45:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565339904001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783458660000,"timestamp_ms":1783458660000,"timestamp_seconds":1783458660,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e6b7ea0"} 
[2026-07-08 02:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 02:45:03] 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-07-08 02: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-07-08 02:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565339904001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565339904001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:45:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:45:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565339904001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":125792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:45:03] local.INFO: GPS data processed {"connection_id":125792,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:45:03] local.INFO: Acknowledgment sent {"connection_id":125792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:45:34] local.INFO: TCP Data received {"connection_id":125792,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e6b7ea0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e6b7ea0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:45:34] local.INFO: Processing buffer {"connection_id":125792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e6b7ea0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:45:34] local.INFO: Packet analysis {"connection_id":125792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e6b"} 
[2026-07-08 02:45:34] local.INFO: Extracted packet for processing {"connection_id":125792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e6b"} 
[2026-07-08 02:45:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565339904001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783458660000,"timestamp_ms":1783458660000,"timestamp_seconds":1783458660,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e6b7ea0"} 
[2026-07-08 02:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:45:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":31,"data_length":795,"current_offset":136} 
[2026-07-08 02:45:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02: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-07-08 02:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565339904001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565339904001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:45:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:45:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565339904001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":125792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:45:34] local.INFO: GPS data processed {"connection_id":125792,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:45:34] local.INFO: Acknowledgment sent {"connection_id":125792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:45:57] local.INFO: TCP Data received {"connection_id":124952,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:45:57] local.INFO: Processing buffer {"connection_id":124952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:45:57] local.INFO: IMEI packet received {"connection_id":124952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":124952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:46:02] local.INFO: TCP Data received {"connection_id":124952,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:46:02] local.INFO: Processing buffer {"connection_id":124952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:46:02] local.INFO: IMEI packet received {"connection_id":124952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":124952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:46:03] local.INFO: TCP Data received {"connection_id":124952,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e6b7ea0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e6b7ea0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:46:03] local.INFO: Processing buffer {"connection_id":124952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e6b7ea0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:46:03] local.INFO: Packet analysis {"connection_id":124952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e6b"} 
[2026-07-08 02:46:03] local.INFO: Extracted packet for processing {"connection_id":124952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e6b"} 
[2026-07-08 02:46:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565339904001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783458660000,"timestamp_ms":1783458660000,"timestamp_seconds":1783458660,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e6b7ea0"} 
[2026-07-08 02:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 02:46:03] 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-07-08 02: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-07-08 02:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565339904001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565339904001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:46:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:46:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565339904001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":124952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:46:03] local.INFO: GPS data processed {"connection_id":124952,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:46:03] local.INFO: Acknowledgment sent {"connection_id":124952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:46:33] local.INFO: TCP Data received {"connection_id":124951,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124951,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:46:33] local.INFO: Processing buffer {"connection_id":124951,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:46:33] local.INFO: IMEI packet received {"connection_id":124951,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 02:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":124951,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:46:34] local.INFO: TCP Data received {"connection_id":124952,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e6b7ea0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e6b7ea0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:46:34] local.INFO: Processing buffer {"connection_id":124952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e6b7ea0012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:46:34] local.INFO: Packet analysis {"connection_id":124952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e6b"} 
[2026-07-08 02:46:34] local.INFO: Extracted packet for processing {"connection_id":124952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e6b"} 
[2026-07-08 02:46:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565339904001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783458660000,"timestamp_ms":1783458660000,"timestamp_seconds":1783458660,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e6b7ea0"} 
[2026-07-08 02:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":31,"data_length":795,"current_offset":136} 
[2026-07-08 02:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565339904001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565339904001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:46:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:46:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565339904001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":124952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:46:34] local.INFO: GPS data processed {"connection_id":124952,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:46:34] local.INFO: Acknowledgment sent {"connection_id":124952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:46:57] local.INFO: TCP Data received {"connection_id":124953,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:46:57] local.INFO: Processing buffer {"connection_id":124953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:46:57] local.INFO: IMEI packet received {"connection_id":124953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":124953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:46:57] local.INFO: TCP Data received {"connection_id":125039,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125039,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:46:57] local.INFO: Processing buffer {"connection_id":125039,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:46:57] local.INFO: IMEI packet received {"connection_id":125039,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 02:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":125039,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:47:02] local.INFO: TCP Data received {"connection_id":124953,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:47:02] local.INFO: Processing buffer {"connection_id":124953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:47:02] local.INFO: IMEI packet received {"connection_id":124953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":124953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:47:03] local.INFO: TCP Data received {"connection_id":124953,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e701668012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e701668012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:47:03] local.INFO: Processing buffer {"connection_id":124953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e701668012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:47:03] local.INFO: Packet analysis {"connection_id":124953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e70"} 
[2026-07-08 02:47:03] local.INFO: Extracted packet for processing {"connection_id":124953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e70"} 
[2026-07-08 02:47:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565416960001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783458961000,"timestamp_ms":1783458961000,"timestamp_seconds":1783458961,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e701668"} 
[2026-07-08 02:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 02:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02: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-07-08 02:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565416960001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565416960001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:47:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:47:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565416960001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":124953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:47:03] local.INFO: GPS data processed {"connection_id":124953,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:47:03] local.INFO: Acknowledgment sent {"connection_id":124953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:47:34] local.INFO: TCP Data received {"connection_id":124953,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e701668012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e701668012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:47:34] local.INFO: Processing buffer {"connection_id":124953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e701668012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:47:34] local.INFO: Packet analysis {"connection_id":124953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e70"} 
[2026-07-08 02:47:34] local.INFO: Extracted packet for processing {"connection_id":124953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e70"} 
[2026-07-08 02:47:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565416960001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783458961000,"timestamp_ms":1783458961000,"timestamp_seconds":1783458961,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e701668"} 
[2026-07-08 02:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 02:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565416960001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565416960001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:47:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:47:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565416960001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":124953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:47:34] local.INFO: GPS data processed {"connection_id":124953,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:47:34] local.INFO: Acknowledgment sent {"connection_id":124953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:48:02] local.INFO: TCP Data received {"connection_id":127042,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:48:02] local.INFO: Processing buffer {"connection_id":127042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:48:02] local.INFO: IMEI packet received {"connection_id":127042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":127042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:48:07] local.INFO: TCP Data received {"connection_id":127042,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:48:07] local.INFO: Processing buffer {"connection_id":127042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:48:07] local.INFO: IMEI packet received {"connection_id":127042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":127042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:48:08] local.INFO: TCP Data received {"connection_id":127042,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e701668012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e701668012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:48:08] local.INFO: Processing buffer {"connection_id":127042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e701668012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:48:08] local.INFO: Packet analysis {"connection_id":127042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e70"} 
[2026-07-08 02:48:08] local.INFO: Extracted packet for processing {"connection_id":127042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e70"} 
[2026-07-08 02:48:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565416960001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783458961000,"timestamp_ms":1783458961000,"timestamp_seconds":1783458961,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e701668"} 
[2026-07-08 02:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":97,"data_length":795,"current_offset":136} 
[2026-07-08 02:48: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-07-08 02:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":127042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":127042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":127042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565416960001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565416960001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:48:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:48:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565416960001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":127042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:48:08] local.INFO: GPS data processed {"connection_id":127042,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:48:08] local.INFO: Acknowledgment sent {"connection_id":127042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:48:13] local.INFO: TCP Data received {"connection_id":127042,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e701668012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e701668012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:48:13] local.INFO: Processing buffer {"connection_id":127042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e701668012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:48:13] local.INFO: Packet analysis {"connection_id":127042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e70"} 
[2026-07-08 02:48:13] local.INFO: Extracted packet for processing {"connection_id":127042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e70"} 
[2026-07-08 02:48:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565416960001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783458961000,"timestamp_ms":1783458961000,"timestamp_seconds":1783458961,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e701668"} 
[2026-07-08 02:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:48:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 02:48:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:48:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":127042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":127042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":127042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565416960001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565416960001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:48:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:48:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565416960001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":127042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:48:13] local.INFO: GPS data processed {"connection_id":127042,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:48:13] local.INFO: Acknowledgment sent {"connection_id":127042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:48:57] local.INFO: TCP Data received {"connection_id":127043,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:48:57] local.INFO: Processing buffer {"connection_id":127043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:48:57] local.INFO: IMEI packet received {"connection_id":127043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":127043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:49:02] local.INFO: TCP Data received {"connection_id":127043,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:49:02] local.INFO: Processing buffer {"connection_id":127043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:49:02] local.INFO: IMEI packet received {"connection_id":127043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":127043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:49:03] local.INFO: TCP Data received {"connection_id":127043,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e701668012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e701668012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:49:03] local.INFO: Processing buffer {"connection_id":127043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e701668012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:49:03] local.INFO: Packet analysis {"connection_id":127043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e70"} 
[2026-07-08 02:49:03] local.INFO: Extracted packet for processing {"connection_id":127043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e70"} 
[2026-07-08 02:49:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565416960001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783458961000,"timestamp_ms":1783458961000,"timestamp_seconds":1783458961,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e701668"} 
[2026-07-08 02:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 02:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02: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-07-08 02:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565416960001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565416960001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:49:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:49:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565416960001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":127043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:49:03] local.INFO: GPS data processed {"connection_id":127043,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:49:03] local.INFO: Acknowledgment sent {"connection_id":127043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:49:34] local.INFO: TCP Data received {"connection_id":127043,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e701668012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e701668012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:49:34] local.INFO: Processing buffer {"connection_id":127043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e701668012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:49:34] local.INFO: Packet analysis {"connection_id":127043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e70"} 
[2026-07-08 02:49:34] local.INFO: Extracted packet for processing {"connection_id":127043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e70"} 
[2026-07-08 02:49:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565416960001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783458961000,"timestamp_ms":1783458961000,"timestamp_seconds":1783458961,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e701668"} 
[2026-07-08 02:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 02:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02: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-07-08 02:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565416960001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565416960001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:49:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:49:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565416960001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":127043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:49:34] local.INFO: GPS data processed {"connection_id":127043,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:49:34] local.INFO: Acknowledgment sent {"connection_id":127043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:49:57] local.INFO: TCP Data received {"connection_id":124955,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:49:57] local.INFO: Processing buffer {"connection_id":124955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:49:57] local.INFO: IMEI packet received {"connection_id":124955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":124955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:50:02] local.INFO: TCP Data received {"connection_id":124955,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:50:02] local.INFO: Processing buffer {"connection_id":124955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:50:02] local.INFO: IMEI packet received {"connection_id":124955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":124955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:50:08] local.INFO: TCP Data received {"connection_id":124955,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e701668012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e701668012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:50:08] local.INFO: Processing buffer {"connection_id":124955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e701668012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:50:08] local.INFO: Packet analysis {"connection_id":124955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e70"} 
[2026-07-08 02:50:08] local.INFO: Extracted packet for processing {"connection_id":124955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e70"} 
[2026-07-08 02:50:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565416960001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783458961000,"timestamp_ms":1783458961000,"timestamp_seconds":1783458961,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e701668"} 
[2026-07-08 02:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 02:50: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-07-08 02:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565416960001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565416960001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:50:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:50:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565416960001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":124955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:50:08] local.INFO: GPS data processed {"connection_id":124955,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:50:08] local.INFO: Acknowledgment sent {"connection_id":124955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:50:39] local.INFO: TCP Data received {"connection_id":124955,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e701668012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e701668012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:50:39] local.INFO: Processing buffer {"connection_id":124955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e701668012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:50:39] local.INFO: Packet analysis {"connection_id":124955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e70"} 
[2026-07-08 02:50:39] local.INFO: Extracted packet for processing {"connection_id":124955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e70"} 
[2026-07-08 02:50:39] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565416960001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783458961000,"timestamp_ms":1783458961000,"timestamp_seconds":1783458961,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e701668"} 
[2026-07-08 02:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 02:50: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-07-08 02:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":124955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":124955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":124955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565416960001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565416960001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:50:39] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:50:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565416960001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":124955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:50:39] local.INFO: GPS data processed {"connection_id":124955,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:50:39] local.INFO: Acknowledgment sent {"connection_id":124955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:50:57] local.INFO: TCP Data received {"connection_id":127046,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:50:57] local.INFO: Processing buffer {"connection_id":127046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:50:57] local.INFO: IMEI packet received {"connection_id":127046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":127046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:51:02] local.INFO: TCP Data received {"connection_id":127046,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:51:02] local.INFO: Processing buffer {"connection_id":127046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:51:02] local.INFO: IMEI packet received {"connection_id":127046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":127046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:51:03] local.INFO: TCP Data received {"connection_id":127046,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e701668012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e701668012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:51:03] local.INFO: Processing buffer {"connection_id":127046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e701668012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:51:03] local.INFO: Packet analysis {"connection_id":127046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e70"} 
[2026-07-08 02:51:03] local.INFO: Extracted packet for processing {"connection_id":127046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e70"} 
[2026-07-08 02:51:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565416960001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783458961000,"timestamp_ms":1783458961000,"timestamp_seconds":1783458961,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e701668"} 
[2026-07-08 02:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 02:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02: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-07-08 02:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565416960001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565416960001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:51:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:51:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565416960001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":127046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:51:03] local.INFO: GPS data processed {"connection_id":127046,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:51:03] local.INFO: Acknowledgment sent {"connection_id":127046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:51:34] local.INFO: TCP Data received {"connection_id":127046,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e701668012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e701668012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:51:34] local.INFO: Processing buffer {"connection_id":127046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e701668012dc5eb400537d5a0003401442f..."} 
[2026-07-08 02:51:34] local.INFO: Packet analysis {"connection_id":127046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e70"} 
[2026-07-08 02:51:34] local.INFO: Extracted packet for processing {"connection_id":127046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e70"} 
[2026-07-08 02:51:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565416960001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783458961000,"timestamp_ms":1783458961000,"timestamp_seconds":1783458961,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e701668"} 
[2026-07-08 02:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 02:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02: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-07-08 02:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565416960001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565416960001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:51:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:51:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565416960001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":127046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:51:34] local.INFO: GPS data processed {"connection_id":127046,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:51:34] local.INFO: Acknowledgment sent {"connection_id":127046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:51:57] local.INFO: TCP Data received {"connection_id":124957,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:51:57] local.INFO: Processing buffer {"connection_id":124957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:51:57] local.INFO: IMEI packet received {"connection_id":124957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":124957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:52:02] local.INFO: TCP Data received {"connection_id":124957,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:52:02] local.INFO: Processing buffer {"connection_id":124957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:52:02] local.INFO: IMEI packet received {"connection_id":124957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":124957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:52:03] local.INFO: TCP Data received {"connection_id":124957,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e74ae30012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e74ae30012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:52:03] local.INFO: Processing buffer {"connection_id":124957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e74ae30012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:52:03] local.INFO: Packet analysis {"connection_id":124957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e74"} 
[2026-07-08 02:52:03] local.INFO: Extracted packet for processing {"connection_id":124957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e74"} 
[2026-07-08 02:52:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565494016001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783459262000,"timestamp_ms":1783459262000,"timestamp_seconds":1783459262,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e74ae30"} 
[2026-07-08 02:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 02:52: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-07-08 02:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565494016001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565494016001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:52:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:52:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565494016001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":124957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:52:03] local.INFO: GPS data processed {"connection_id":124957,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:52:03] local.INFO: Acknowledgment sent {"connection_id":124957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:52:33] local.INFO: TCP Data received {"connection_id":124956,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124956,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:52:33] local.INFO: Processing buffer {"connection_id":124956,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:52:33] local.INFO: IMEI packet received {"connection_id":124956,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 02:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":124956,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:52:34] local.INFO: TCP Data received {"connection_id":124957,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e74ae30012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e74ae30012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:52:34] local.INFO: Processing buffer {"connection_id":124957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e74ae30012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:52:34] local.INFO: Packet analysis {"connection_id":124957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e74"} 
[2026-07-08 02:52:34] local.INFO: Extracted packet for processing {"connection_id":124957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e74"} 
[2026-07-08 02:52:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565494016001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783459262000,"timestamp_ms":1783459262000,"timestamp_seconds":1783459262,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e74ae30"} 
[2026-07-08 02:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:52:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 02:52:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565494016001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565494016001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:52:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:52:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565494016001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":124957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:52:34] local.INFO: GPS data processed {"connection_id":124957,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:52:34] local.INFO: Acknowledgment sent {"connection_id":124957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:53:02] local.INFO: TCP Data received {"connection_id":124958,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:53:02] local.INFO: Processing buffer {"connection_id":124958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:53:02] local.INFO: IMEI packet received {"connection_id":124958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":124958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:53:04] local.INFO: TCP Data received {"connection_id":127048,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127048,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:53:04] local.INFO: Processing buffer {"connection_id":127048,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:53:04] local.INFO: IMEI packet received {"connection_id":127048,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 02:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":127048,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:53:07] local.INFO: TCP Data received {"connection_id":124958,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:53:07] local.INFO: Processing buffer {"connection_id":124958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:53:07] local.INFO: IMEI packet received {"connection_id":124958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":124958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:53:08] local.INFO: TCP Data received {"connection_id":124958,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e74ae30012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e74ae30012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:53:08] local.INFO: Processing buffer {"connection_id":124958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e74ae30012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:53:08] local.INFO: Packet analysis {"connection_id":124958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e74"} 
[2026-07-08 02:53:08] local.INFO: Extracted packet for processing {"connection_id":124958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e74"} 
[2026-07-08 02:53:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565494016001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:53:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783459262000,"timestamp_ms":1783459262000,"timestamp_seconds":1783459262,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e74ae30"} 
[2026-07-08 02:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 02:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:53:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565494016001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565494016001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:53:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:53:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565494016001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":124958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:53:08] local.INFO: GPS data processed {"connection_id":124958,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:53:08] local.INFO: Acknowledgment sent {"connection_id":124958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:53:12] local.INFO: TCP Data received {"connection_id":124958,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e74ae30012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e74ae30012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:53:12] local.INFO: Processing buffer {"connection_id":124958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e74ae30012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:53:12] local.INFO: Packet analysis {"connection_id":124958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e74"} 
[2026-07-08 02:53:12] local.INFO: Extracted packet for processing {"connection_id":124958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e74"} 
[2026-07-08 02:53:12] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565494016001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783459262000,"timestamp_ms":1783459262000,"timestamp_seconds":1783459262,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e74ae30"} 
[2026-07-08 02:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 02:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565494016001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565494016001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:53:12] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:53:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565494016001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":124958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:53:12] local.INFO: GPS data processed {"connection_id":124958,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:53:12] local.INFO: Acknowledgment sent {"connection_id":124958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:53:57] local.INFO: TCP Data received {"connection_id":125794,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:53:57] local.INFO: Processing buffer {"connection_id":125794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:53:57] local.INFO: IMEI packet received {"connection_id":125794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":125794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:54:02] local.INFO: TCP Data received {"connection_id":125794,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:54:02] local.INFO: Processing buffer {"connection_id":125794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:54:02] local.INFO: IMEI packet received {"connection_id":125794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":125794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:54:03] local.INFO: TCP Data received {"connection_id":125794,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e74ae30012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e74ae30012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:54:03] local.INFO: Processing buffer {"connection_id":125794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e74ae30012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:54:03] local.INFO: Packet analysis {"connection_id":125794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e74"} 
[2026-07-08 02:54:03] local.INFO: Extracted packet for processing {"connection_id":125794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e74"} 
[2026-07-08 02:54:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565494016001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783459262000,"timestamp_ms":1783459262000,"timestamp_seconds":1783459262,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e74ae30"} 
[2026-07-08 02:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 02:54: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-07-08 02:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565494016001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565494016001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:54:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:54:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565494016001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":125794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:54:03] local.INFO: GPS data processed {"connection_id":125794,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:54:03] local.INFO: Acknowledgment sent {"connection_id":125794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:54:34] local.INFO: TCP Data received {"connection_id":125794,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e74ae30012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e74ae30012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:54:34] local.INFO: Processing buffer {"connection_id":125794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e74ae30012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:54:34] local.INFO: Packet analysis {"connection_id":125794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e74"} 
[2026-07-08 02:54:34] local.INFO: Extracted packet for processing {"connection_id":125794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e74"} 
[2026-07-08 02:54:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565494016001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783459262000,"timestamp_ms":1783459262000,"timestamp_seconds":1783459262,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e74ae30"} 
[2026-07-08 02:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 02:54: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-07-08 02:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565494016001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565494016001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:54:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:54:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565494016001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":125794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:54:34] local.INFO: GPS data processed {"connection_id":125794,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:54:34] local.INFO: Acknowledgment sent {"connection_id":125794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:54:57] local.INFO: TCP Data received {"connection_id":124959,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:54:57] local.INFO: Processing buffer {"connection_id":124959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:54:57] local.INFO: IMEI packet received {"connection_id":124959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":124959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:55:05] local.INFO: TCP Data received {"connection_id":124959,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:55:05] local.INFO: Processing buffer {"connection_id":124959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:55:05] local.INFO: IMEI packet received {"connection_id":124959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":124959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:55:06] local.INFO: TCP Data received {"connection_id":124959,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e74ae30012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e74ae30012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:55:06] local.INFO: Processing buffer {"connection_id":124959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e74ae30012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:55:06] local.INFO: Packet analysis {"connection_id":124959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e74"} 
[2026-07-08 02:55:06] local.INFO: Extracted packet for processing {"connection_id":124959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e74"} 
[2026-07-08 02:55:06] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565494016001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783459262000,"timestamp_ms":1783459262000,"timestamp_seconds":1783459262,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e74ae30"} 
[2026-07-08 02:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":86,"data_length":795,"current_offset":136} 
[2026-07-08 02:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565494016001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565494016001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:55:06] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:55:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565494016001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":124959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:55:06] local.INFO: GPS data processed {"connection_id":124959,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:55:06] local.INFO: Acknowledgment sent {"connection_id":124959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:55:41] local.INFO: TCP Data received {"connection_id":124959,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e74ae30012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e74ae30012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:55:41] local.INFO: Processing buffer {"connection_id":124959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e74ae30012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:55:41] local.INFO: Packet analysis {"connection_id":124959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e74"} 
[2026-07-08 02:55:41] local.INFO: Extracted packet for processing {"connection_id":124959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e74"} 
[2026-07-08 02:55:41] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565494016001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783459262000,"timestamp_ms":1783459262000,"timestamp_seconds":1783459262,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e74ae30"} 
[2026-07-08 02:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 02:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565494016001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565494016001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:55:41] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:55:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565494016001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":124959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:55:41] local.INFO: GPS data processed {"connection_id":124959,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:55:41] local.INFO: Acknowledgment sent {"connection_id":124959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:55:57] local.INFO: TCP Data received {"connection_id":127051,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:55:57] local.INFO: Processing buffer {"connection_id":127051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:55:57] local.INFO: IMEI packet received {"connection_id":127051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":127051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:56:02] local.INFO: TCP Data received {"connection_id":127051,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:56:02] local.INFO: Processing buffer {"connection_id":127051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:56:02] local.INFO: IMEI packet received {"connection_id":127051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":127051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:56:03] local.INFO: TCP Data received {"connection_id":127051,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e74ae30012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e74ae30012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:56:03] local.INFO: Processing buffer {"connection_id":127051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e74ae30012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:56:03] local.INFO: Packet analysis {"connection_id":127051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e74"} 
[2026-07-08 02:56:03] local.INFO: Extracted packet for processing {"connection_id":127051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e74"} 
[2026-07-08 02:56:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565494016001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783459262000,"timestamp_ms":1783459262000,"timestamp_seconds":1783459262,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e74ae30"} 
[2026-07-08 02:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 02:56: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-07-08 02: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-07-08 02:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565494016001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565494016001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:56:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:56:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565494016001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":127051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:56:03] local.INFO: GPS data processed {"connection_id":127051,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:56:03] local.INFO: Acknowledgment sent {"connection_id":127051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:56:34] local.INFO: TCP Data received {"connection_id":127051,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e74ae30012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e74ae30012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:56:34] local.INFO: Processing buffer {"connection_id":127051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e74ae30012dc5eb400537d5a00034014431..."} 
[2026-07-08 02:56:34] local.INFO: Packet analysis {"connection_id":127051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e74"} 
[2026-07-08 02:56:34] local.INFO: Extracted packet for processing {"connection_id":127051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e74"} 
[2026-07-08 02:56:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565494016001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783459262000,"timestamp_ms":1783459262000,"timestamp_seconds":1783459262,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e74ae30"} 
[2026-07-08 02:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 02:56: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-07-08 02: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-07-08 02:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565494016001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565494016001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:56:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:56:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565494016001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":127051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:56:34] local.INFO: GPS data processed {"connection_id":127051,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:56:34] local.INFO: Acknowledgment sent {"connection_id":127051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:56:57] local.INFO: TCP Data received {"connection_id":124960,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:56:57] local.INFO: Processing buffer {"connection_id":124960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:56:57] local.INFO: IMEI packet received {"connection_id":124960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":124960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:57:02] local.INFO: TCP Data received {"connection_id":124960,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:57:02] local.INFO: Processing buffer {"connection_id":124960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:57:02] local.INFO: IMEI packet received {"connection_id":124960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":124960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:57:03] local.INFO: TCP Data received {"connection_id":124960,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e7945f8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e7945f8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:57:03] local.INFO: Processing buffer {"connection_id":124960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e7945f8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:57:03] local.INFO: Packet analysis {"connection_id":124960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e79"} 
[2026-07-08 02:57:03] local.INFO: Extracted packet for processing {"connection_id":124960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e79"} 
[2026-07-08 02:57:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565571072001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783459563000,"timestamp_ms":1783459563000,"timestamp_seconds":1783459563,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e7945f8"} 
[2026-07-08 02:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 02:57: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-07-08 02:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565571072001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565571072001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:57:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:57:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565571072001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":124960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:57:03] local.INFO: GPS data processed {"connection_id":124960,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:57:03] local.INFO: Acknowledgment sent {"connection_id":124960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:57:34] local.INFO: TCP Data received {"connection_id":124960,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e7945f8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e7945f8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:57:34] local.INFO: Processing buffer {"connection_id":124960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e7945f8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:57:34] local.INFO: Packet analysis {"connection_id":124960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e79"} 
[2026-07-08 02:57:34] local.INFO: Extracted packet for processing {"connection_id":124960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e79"} 
[2026-07-08 02:57:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565571072001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783459563000,"timestamp_ms":1783459563000,"timestamp_seconds":1783459563,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e7945f8"} 
[2026-07-08 02:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 02:57: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-07-08 02: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-07-08 02:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565571072001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565571072001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:57:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:57:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565571072001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":124960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:57:34] local.INFO: GPS data processed {"connection_id":124960,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:57:34] local.INFO: Acknowledgment sent {"connection_id":124960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:57:57] local.INFO: TCP Data received {"connection_id":125041,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:57:57] local.INFO: Processing buffer {"connection_id":125041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:57:57] local.INFO: IMEI packet received {"connection_id":125041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":125041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:58:02] local.INFO: TCP Data received {"connection_id":125041,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:58:02] local.INFO: Processing buffer {"connection_id":125041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:58:02] local.INFO: IMEI packet received {"connection_id":125041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":125041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:58:03] local.INFO: TCP Data received {"connection_id":125041,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e7945f8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e7945f8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:58:03] local.INFO: Processing buffer {"connection_id":125041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e7945f8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:58:03] local.INFO: Packet analysis {"connection_id":125041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e79"} 
[2026-07-08 02:58:03] local.INFO: Extracted packet for processing {"connection_id":125041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e79"} 
[2026-07-08 02:58:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565571072001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783459563000,"timestamp_ms":1783459563000,"timestamp_seconds":1783459563,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e7945f8"} 
[2026-07-08 02:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 02:58: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-07-08 02: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-07-08 02:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565571072001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565571072001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:58:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:58:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565571072001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":125041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:58:03] local.INFO: GPS data processed {"connection_id":125041,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:58:03] local.INFO: Acknowledgment sent {"connection_id":125041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:58:30] local.INFO: TCP Data received {"connection_id":125796,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125796,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:58:30] local.INFO: Processing buffer {"connection_id":125796,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:58:30] local.INFO: IMEI packet received {"connection_id":125796,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 02:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":125796,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:58:34] local.INFO: TCP Data received {"connection_id":125041,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e7945f8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e7945f8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:58:34] local.INFO: Processing buffer {"connection_id":125041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e7945f8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:58:34] local.INFO: Packet analysis {"connection_id":125041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e79"} 
[2026-07-08 02:58:34] local.INFO: Extracted packet for processing {"connection_id":125041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e79"} 
[2026-07-08 02:58:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565571072001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783459563000,"timestamp_ms":1783459563000,"timestamp_seconds":1783459563,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e7945f8"} 
[2026-07-08 02:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 02:58: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-07-08 02: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-07-08 02:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565571072001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565571072001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:58:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:58:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565571072001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":125041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:58:34] local.INFO: GPS data processed {"connection_id":125041,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:58:34] local.INFO: Acknowledgment sent {"connection_id":125041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:59:00] local.INFO: TCP Data received {"connection_id":125043,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125043,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:59:00] local.INFO: Processing buffer {"connection_id":125043,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 02:59:00] local.INFO: IMEI packet received {"connection_id":125043,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 02:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":125043,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:59:02] local.INFO: TCP Data received {"connection_id":125042,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:59:02] local.INFO: Processing buffer {"connection_id":125042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:59:02] local.INFO: IMEI packet received {"connection_id":125042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":125042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 02:59:07] local.INFO: TCP Data received {"connection_id":125042,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:59:07] local.INFO: Processing buffer {"connection_id":125042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:59:07] local.INFO: IMEI packet received {"connection_id":125042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 02:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":125042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 02:59:08] local.INFO: TCP Data received {"connection_id":125042,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e7945f8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e7945f8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:59:08] local.INFO: Processing buffer {"connection_id":125042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e7945f8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:59:08] local.INFO: Packet analysis {"connection_id":125042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e79"} 
[2026-07-08 02:59:08] local.INFO: Extracted packet for processing {"connection_id":125042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e79"} 
[2026-07-08 02:59:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 02:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565571072001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783459563000,"timestamp_ms":1783459563000,"timestamp_seconds":1783459563,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e7945f8"} 
[2026-07-08 02:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 02:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 02:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565571072001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565571072001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:59:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:59:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565571072001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":125042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:59:08] local.INFO: GPS data processed {"connection_id":125042,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:59:08] local.INFO: Acknowledgment sent {"connection_id":125042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:59:39] local.INFO: TCP Data received {"connection_id":125042,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e7945f8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e7945f8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:59:39] local.INFO: Processing buffer {"connection_id":125042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e7945f8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 02:59:39] local.INFO: Packet analysis {"connection_id":125042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e79"} 
[2026-07-08 02:59:39] local.INFO: Extracted packet for processing {"connection_id":125042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e79"} 
[2026-07-08 02:59:39] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 02: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-07-08 02:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565571072001,"note":"Value kept but may cause issues"} 
[2026-07-08 02:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 02:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 02:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 02:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783459563000,"timestamp_ms":1783459563000,"timestamp_seconds":1783459563,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e7945f8"} 
[2026-07-08 02:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 02:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 02:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 02: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-07-08 02:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 02:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 02:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 02:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 02:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 02:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 02:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 02:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565571072001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 02:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 02:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 02:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565571072001,"description":"Unknown IO ID 0"} 
[2026-07-08 02:59:39] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 02:59:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 02:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 02:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 02:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565571072001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 02:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":125042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 02:59:39] local.INFO: GPS data processed {"connection_id":125042,"processed":1,"errors":0,"total":1} 
[2026-07-08 02:59:39] local.INFO: Acknowledgment sent {"connection_id":125042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 02:59:57] local.INFO: TCP Data received {"connection_id":125797,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:59:57] local.INFO: Processing buffer {"connection_id":125797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 02:59:57] local.INFO: IMEI packet received {"connection_id":125797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 02:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":125797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:00:02] local.INFO: TCP Data received {"connection_id":125797,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:00:02] local.INFO: Processing buffer {"connection_id":125797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:00:02] local.INFO: IMEI packet received {"connection_id":125797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":125797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:00:03] local.INFO: TCP Data received {"connection_id":125797,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e7945f8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 03:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e7945f8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 03:00:03] local.INFO: Processing buffer {"connection_id":125797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e7945f8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 03:00:03] local.INFO: Packet analysis {"connection_id":125797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e79"} 
[2026-07-08 03:00:03] local.INFO: Extracted packet for processing {"connection_id":125797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e79"} 
[2026-07-08 03:00:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565571072001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783459563000,"timestamp_ms":1783459563000,"timestamp_seconds":1783459563,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e7945f8"} 
[2026-07-08 03:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:00: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-07-08 03: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-07-08 03:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565571072001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565571072001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:00:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:00:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565571072001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":125797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:00:03] local.INFO: GPS data processed {"connection_id":125797,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:00:03] local.INFO: Acknowledgment sent {"connection_id":125797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:00:36] local.INFO: TCP Data received {"connection_id":125797,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e7945f8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 03:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e7945f8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 03:00:36] local.INFO: Processing buffer {"connection_id":125797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e7945f8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 03:00:36] local.INFO: Packet analysis {"connection_id":125797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e79"} 
[2026-07-08 03:00:36] local.INFO: Extracted packet for processing {"connection_id":125797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e79"} 
[2026-07-08 03:00:36] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565571072001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783459563000,"timestamp_ms":1783459563000,"timestamp_seconds":1783459563,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e7945f8"} 
[2026-07-08 03:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:00: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-07-08 03: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-07-08 03:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565571072001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565571072001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:00:36] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:00:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565571072001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":125797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:00:36] local.INFO: GPS data processed {"connection_id":125797,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:00:36] local.INFO: Acknowledgment sent {"connection_id":125797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:00:57] local.INFO: TCP Data received {"connection_id":125798,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:00:57] local.INFO: Processing buffer {"connection_id":125798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:00:57] local.INFO: IMEI packet received {"connection_id":125798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":125798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:01:02] local.INFO: TCP Data received {"connection_id":125798,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:01:02] local.INFO: Processing buffer {"connection_id":125798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:01:02] local.INFO: IMEI packet received {"connection_id":125798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":125798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:01:03] local.INFO: TCP Data received {"connection_id":125798,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e7945f8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 03:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e7945f8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 03:01:03] local.INFO: Processing buffer {"connection_id":125798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e7945f8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 03:01:03] local.INFO: Packet analysis {"connection_id":125798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e79"} 
[2026-07-08 03:01:03] local.INFO: Extracted packet for processing {"connection_id":125798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e79"} 
[2026-07-08 03:01:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565571072001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783459563000,"timestamp_ms":1783459563000,"timestamp_seconds":1783459563,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e7945f8"} 
[2026-07-08 03:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:01: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-07-08 03:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565571072001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565571072001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:01:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:01:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565571072001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":125798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:01:03] local.INFO: GPS data processed {"connection_id":125798,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:01:03] local.INFO: Acknowledgment sent {"connection_id":125798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:01:34] local.INFO: TCP Data received {"connection_id":125798,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e7945f8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 03:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e7945f8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 03:01:34] local.INFO: Processing buffer {"connection_id":125798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e7945f8012dc5eb400537d5a0003401442e..."} 
[2026-07-08 03:01:34] local.INFO: Packet analysis {"connection_id":125798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e79"} 
[2026-07-08 03:01:34] local.INFO: Extracted packet for processing {"connection_id":125798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e79"} 
[2026-07-08 03:01:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565571072001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783459563000,"timestamp_ms":1783459563000,"timestamp_seconds":1783459563,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e7945f8"} 
[2026-07-08 03:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:01: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-07-08 03:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565571072001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565571072001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:01:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:01:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565571072001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":125798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:01:34] local.INFO: GPS data processed {"connection_id":125798,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:01:34] local.INFO: Acknowledgment sent {"connection_id":125798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:01:57] local.INFO: TCP Data received {"connection_id":124963,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:01:57] local.INFO: Processing buffer {"connection_id":124963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:01:57] local.INFO: IMEI packet received {"connection_id":124963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":124963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:02:02] local.INFO: TCP Data received {"connection_id":124963,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:02:02] local.INFO: Processing buffer {"connection_id":124963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:02:02] local.INFO: IMEI packet received {"connection_id":124963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":124963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:02:03] local.INFO: TCP Data received {"connection_id":124963,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e7dddc0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 03:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e7dddc0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 03:02:03] local.INFO: Processing buffer {"connection_id":124963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e7dddc0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 03:02:03] local.INFO: Packet analysis {"connection_id":124963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e7d"} 
[2026-07-08 03:02:03] local.INFO: Extracted packet for processing {"connection_id":124963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e7d"} 
[2026-07-08 03:02:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565648128001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783459864000,"timestamp_ms":1783459864000,"timestamp_seconds":1783459864,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e7dddc0"} 
[2026-07-08 03:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 03:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565648128001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565648128001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:02:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:02:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565648128001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":124963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:02:03] local.INFO: GPS data processed {"connection_id":124963,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:02:03] local.INFO: Acknowledgment sent {"connection_id":124963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:02:33] local.INFO: TCP Data received {"connection_id":124963,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e7dddc0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 03:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e7dddc0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 03:02:33] local.INFO: Processing buffer {"connection_id":124963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e7dddc0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 03:02:33] local.INFO: Packet analysis {"connection_id":124963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e7d"} 
[2026-07-08 03:02:33] local.INFO: Extracted packet for processing {"connection_id":124963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e7d"} 
[2026-07-08 03:02:33] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565648128001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783459864000,"timestamp_ms":1783459864000,"timestamp_seconds":1783459864,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e7dddc0"} 
[2026-07-08 03:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":97,"data_length":795,"current_offset":136} 
[2026-07-08 03:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03: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-07-08 03:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565648128001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565648128001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:02:33] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:02:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565648128001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":124963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:02:33] local.INFO: GPS data processed {"connection_id":124963,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:02:33] local.INFO: Acknowledgment sent {"connection_id":124963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:03:02] local.INFO: TCP Data received {"connection_id":127053,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:03:02] local.INFO: Processing buffer {"connection_id":127053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:03:02] local.INFO: IMEI packet received {"connection_id":127053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":127053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:03:07] local.INFO: TCP Data received {"connection_id":127053,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:03:07] local.INFO: Processing buffer {"connection_id":127053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:03:07] local.INFO: IMEI packet received {"connection_id":127053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":127053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:03:08] local.INFO: TCP Data received {"connection_id":127053,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e7dddc0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 03:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e7dddc0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 03:03:08] local.INFO: Processing buffer {"connection_id":127053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e7dddc0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 03:03:08] local.INFO: Packet analysis {"connection_id":127053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e7d"} 
[2026-07-08 03:03:08] local.INFO: Extracted packet for processing {"connection_id":127053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e7d"} 
[2026-07-08 03:03:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565648128001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783459864000,"timestamp_ms":1783459864000,"timestamp_seconds":1783459864,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e7dddc0"} 
[2026-07-08 03:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 03:03: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-07-08 03:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":127053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":127053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":127053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565648128001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565648128001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:03:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:03:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565648128001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":127053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:03:08] local.INFO: GPS data processed {"connection_id":127053,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:03:08] local.INFO: Acknowledgment sent {"connection_id":127053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:03:12] local.INFO: TCP Data received {"connection_id":127053,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e7dddc0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 03:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e7dddc0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 03:03:12] local.INFO: Processing buffer {"connection_id":127053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e7dddc0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 03:03:12] local.INFO: Packet analysis {"connection_id":127053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e7d"} 
[2026-07-08 03:03:12] local.INFO: Extracted packet for processing {"connection_id":127053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e7d"} 
[2026-07-08 03:03:12] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565648128001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783459864000,"timestamp_ms":1783459864000,"timestamp_seconds":1783459864,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e7dddc0"} 
[2026-07-08 03:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 03:03: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-07-08 03:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":127053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":127053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":127053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565648128001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565648128001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:03:12] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:03:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565648128001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":127053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:03:12] local.INFO: GPS data processed {"connection_id":127053,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:03:12] local.INFO: Acknowledgment sent {"connection_id":127053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:03:57] local.INFO: TCP Data received {"connection_id":124965,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:03:57] local.INFO: Processing buffer {"connection_id":124965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:03:57] local.INFO: IMEI packet received {"connection_id":124965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":124965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:04:02] local.INFO: TCP Data received {"connection_id":124965,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:04:02] local.INFO: Processing buffer {"connection_id":124965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:04:02] local.INFO: IMEI packet received {"connection_id":124965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":124965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:04:03] local.INFO: TCP Data received {"connection_id":124965,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e7dddc0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 03:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e7dddc0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 03:04:03] local.INFO: Processing buffer {"connection_id":124965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e7dddc0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 03:04:03] local.INFO: Packet analysis {"connection_id":124965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e7d"} 
[2026-07-08 03:04:03] local.INFO: Extracted packet for processing {"connection_id":124965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e7d"} 
[2026-07-08 03:04:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565648128001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783459864000,"timestamp_ms":1783459864000,"timestamp_seconds":1783459864,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e7dddc0"} 
[2026-07-08 03:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 03:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565648128001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565648128001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:04:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:04:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565648128001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":124965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:04:03] local.INFO: GPS data processed {"connection_id":124965,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:04:03] local.INFO: Acknowledgment sent {"connection_id":124965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:04:34] local.INFO: TCP Data received {"connection_id":124965,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e7dddc0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 03:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e7dddc0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 03:04:34] local.INFO: Processing buffer {"connection_id":124965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e7dddc0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 03:04:34] local.INFO: Packet analysis {"connection_id":124965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e7d"} 
[2026-07-08 03:04:34] local.INFO: Extracted packet for processing {"connection_id":124965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e7d"} 
[2026-07-08 03:04:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565648128001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783459864000,"timestamp_ms":1783459864000,"timestamp_seconds":1783459864,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e7dddc0"} 
[2026-07-08 03:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 03:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03: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-07-08 03:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565648128001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565648128001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:04:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:04:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565648128001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":124965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:04:34] local.INFO: GPS data processed {"connection_id":124965,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:04:34] local.INFO: Acknowledgment sent {"connection_id":124965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:04:38] local.INFO: TCP Data received {"connection_id":124966,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124966,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:04:38] local.INFO: Processing buffer {"connection_id":124966,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:04:38] local.INFO: IMEI packet received {"connection_id":124966,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 03:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":124966,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:04:57] local.INFO: TCP Data received {"connection_id":127054,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:04:57] local.INFO: Processing buffer {"connection_id":127054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:04:57] local.INFO: IMEI packet received {"connection_id":127054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":127054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:04:57] local.INFO: TCP Data received {"connection_id":127055,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127055,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:04:57] local.INFO: Processing buffer {"connection_id":127055,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:04:57] local.INFO: IMEI packet received {"connection_id":127055,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 03:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":127055,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:05:02] local.INFO: TCP Data received {"connection_id":127054,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:05:02] local.INFO: Processing buffer {"connection_id":127054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:05:02] local.INFO: IMEI packet received {"connection_id":127054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":127054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:05:03] local.INFO: TCP Data received {"connection_id":127054,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e7dddc0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 03:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e7dddc0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 03:05:03] local.INFO: Processing buffer {"connection_id":127054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e7dddc0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 03:05:03] local.INFO: Packet analysis {"connection_id":127054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e7d"} 
[2026-07-08 03:05:03] local.INFO: Extracted packet for processing {"connection_id":127054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e7d"} 
[2026-07-08 03:05:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565648128001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783459864000,"timestamp_ms":1783459864000,"timestamp_seconds":1783459864,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e7dddc0"} 
[2026-07-08 03:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 03:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565648128001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565648128001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:05:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:05:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565648128001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":127054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:05:03] local.INFO: GPS data processed {"connection_id":127054,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:05:03] local.INFO: Acknowledgment sent {"connection_id":127054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:05:34] local.INFO: TCP Data received {"connection_id":127054,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e7dddc0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 03:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e7dddc0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 03:05:34] local.INFO: Processing buffer {"connection_id":127054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e7dddc0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 03:05:34] local.INFO: Packet analysis {"connection_id":127054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e7d"} 
[2026-07-08 03:05:34] local.INFO: Extracted packet for processing {"connection_id":127054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e7d"} 
[2026-07-08 03:05:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565648128001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783459864000,"timestamp_ms":1783459864000,"timestamp_seconds":1783459864,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e7dddc0"} 
[2026-07-08 03:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 03:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565648128001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565648128001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:05:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:05:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565648128001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":127054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:05:34] local.INFO: GPS data processed {"connection_id":127054,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:05:34] local.INFO: Acknowledgment sent {"connection_id":127054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:05:57] local.INFO: TCP Data received {"connection_id":125799,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:05:57] local.INFO: Processing buffer {"connection_id":125799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:05:57] local.INFO: IMEI packet received {"connection_id":125799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":125799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:06:02] local.INFO: TCP Data received {"connection_id":125799,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:06:02] local.INFO: Processing buffer {"connection_id":125799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:06:02] local.INFO: IMEI packet received {"connection_id":125799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":125799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:06:03] local.INFO: TCP Data received {"connection_id":125799,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e7dddc0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 03:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e7dddc0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 03:06:03] local.INFO: Processing buffer {"connection_id":125799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e7dddc0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 03:06:03] local.INFO: Packet analysis {"connection_id":125799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e7d"} 
[2026-07-08 03:06:03] local.INFO: Extracted packet for processing {"connection_id":125799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e7d"} 
[2026-07-08 03:06:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565648128001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783459864000,"timestamp_ms":1783459864000,"timestamp_seconds":1783459864,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e7dddc0"} 
[2026-07-08 03:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 03:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03: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-07-08 03:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:06: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-07-08 03:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565648128001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565648128001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:06:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:06:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565648128001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":125799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:06:03] local.INFO: GPS data processed {"connection_id":125799,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:06:03] local.INFO: Acknowledgment sent {"connection_id":125799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:06:34] local.INFO: TCP Data received {"connection_id":125799,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e7dddc0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 03:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e7dddc0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 03:06:34] local.INFO: Processing buffer {"connection_id":125799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e7dddc0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 03:06:34] local.INFO: Packet analysis {"connection_id":125799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e7d"} 
[2026-07-08 03:06:34] local.INFO: Extracted packet for processing {"connection_id":125799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e7d"} 
[2026-07-08 03:06:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565648128001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783459864000,"timestamp_ms":1783459864000,"timestamp_seconds":1783459864,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e7dddc0"} 
[2026-07-08 03:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 03:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03: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-07-08 03:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:06: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-07-08 03:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565648128001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565648128001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:06:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:06:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565648128001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":125799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:06:34] local.INFO: GPS data processed {"connection_id":125799,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:06:34] local.INFO: Acknowledgment sent {"connection_id":125799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:06:57] local.INFO: TCP Data received {"connection_id":127056,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:06:57] local.INFO: Processing buffer {"connection_id":127056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:06:57] local.INFO: IMEI packet received {"connection_id":127056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":127056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:07:02] local.INFO: TCP Data received {"connection_id":127056,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:07:02] local.INFO: Processing buffer {"connection_id":127056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:07:02] local.INFO: IMEI packet received {"connection_id":127056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":127056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:07:03] local.INFO: TCP Data received {"connection_id":127056,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e827588012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e827588012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:07:03] local.INFO: Processing buffer {"connection_id":127056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e827588012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:07:03] local.INFO: Packet analysis {"connection_id":127056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e82"} 
[2026-07-08 03:07:03] local.INFO: Extracted packet for processing {"connection_id":127056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e82"} 
[2026-07-08 03:07:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":50,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565725184001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783460165000,"timestamp_ms":1783460165000,"timestamp_seconds":1783460165,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e827588"} 
[2026-07-08 03:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:07: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-07-08 03:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565725184001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565725184001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:07:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:07:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565725184001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":127056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:07:03] local.INFO: GPS data processed {"connection_id":127056,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:07:03] local.INFO: Acknowledgment sent {"connection_id":127056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:07:34] local.INFO: TCP Data received {"connection_id":127056,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e827588012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e827588012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:07:34] local.INFO: Processing buffer {"connection_id":127056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e827588012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:07:34] local.INFO: Packet analysis {"connection_id":127056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e82"} 
[2026-07-08 03:07:34] local.INFO: Extracted packet for processing {"connection_id":127056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e82"} 
[2026-07-08 03:07:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":50,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565725184001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783460165000,"timestamp_ms":1783460165000,"timestamp_seconds":1783460165,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e827588"} 
[2026-07-08 03:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:07: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-07-08 03: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-07-08 03:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565725184001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565725184001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:07:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:07:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565725184001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":127056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:07:34] local.INFO: GPS data processed {"connection_id":127056,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:07:34] local.INFO: Acknowledgment sent {"connection_id":127056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:08:02] local.INFO: TCP Data received {"connection_id":124970,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:08:02] local.INFO: Processing buffer {"connection_id":124970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:08:02] local.INFO: IMEI packet received {"connection_id":124970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":124970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:08:07] local.INFO: TCP Data received {"connection_id":124970,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:08:07] local.INFO: Processing buffer {"connection_id":124970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:08:07] local.INFO: IMEI packet received {"connection_id":124970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":124970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:08:08] local.INFO: TCP Data received {"connection_id":124970,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e827588012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e827588012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:08:08] local.INFO: Processing buffer {"connection_id":124970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e827588012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:08:08] local.INFO: Packet analysis {"connection_id":124970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e82"} 
[2026-07-08 03:08:08] local.INFO: Extracted packet for processing {"connection_id":124970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e82"} 
[2026-07-08 03:08:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":50,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565725184001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783460165000,"timestamp_ms":1783460165000,"timestamp_seconds":1783460165,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e827588"} 
[2026-07-08 03:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565725184001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565725184001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:08:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:08:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565725184001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":124970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:08:08] local.INFO: GPS data processed {"connection_id":124970,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:08:08] local.INFO: Acknowledgment sent {"connection_id":124970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:08:12] local.INFO: TCP Data received {"connection_id":124970,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e827588012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e827588012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:08:12] local.INFO: Processing buffer {"connection_id":124970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e827588012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:08:12] local.INFO: Packet analysis {"connection_id":124970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e82"} 
[2026-07-08 03:08:12] local.INFO: Extracted packet for processing {"connection_id":124970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e82"} 
[2026-07-08 03:08:12] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":50,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565725184001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783460165000,"timestamp_ms":1783460165000,"timestamp_seconds":1783460165,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e827588"} 
[2026-07-08 03:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:08:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565725184001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565725184001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:08:12] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:08:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565725184001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":124970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:08:12] local.INFO: GPS data processed {"connection_id":124970,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:08:12] local.INFO: Acknowledgment sent {"connection_id":124970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:08:57] local.INFO: TCP Data received {"connection_id":125800,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:08:57] local.INFO: Processing buffer {"connection_id":125800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:08:57] local.INFO: IMEI packet received {"connection_id":125800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":125800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:09:02] local.INFO: TCP Data received {"connection_id":125800,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:09:02] local.INFO: Processing buffer {"connection_id":125800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:09:02] local.INFO: IMEI packet received {"connection_id":125800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":125800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:09:03] local.INFO: TCP Data received {"connection_id":125800,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e827588012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e827588012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:09:03] local.INFO: Processing buffer {"connection_id":125800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e827588012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:09:03] local.INFO: Packet analysis {"connection_id":125800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e82"} 
[2026-07-08 03:09:03] local.INFO: Extracted packet for processing {"connection_id":125800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e82"} 
[2026-07-08 03:09:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":50,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565725184001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783460165000,"timestamp_ms":1783460165000,"timestamp_seconds":1783460165,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e827588"} 
[2026-07-08 03:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:09: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-07-08 03: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-07-08 03:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565725184001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565725184001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:09:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:09:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565725184001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":125800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:09:03] local.INFO: GPS data processed {"connection_id":125800,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:09:03] local.INFO: Acknowledgment sent {"connection_id":125800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:09:34] local.INFO: TCP Data received {"connection_id":125800,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e827588012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e827588012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:09:34] local.INFO: Processing buffer {"connection_id":125800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e827588012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:09:34] local.INFO: Packet analysis {"connection_id":125800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e82"} 
[2026-07-08 03:09:34] local.INFO: Extracted packet for processing {"connection_id":125800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e82"} 
[2026-07-08 03:09:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":50,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565725184001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783460165000,"timestamp_ms":1783460165000,"timestamp_seconds":1783460165,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e827588"} 
[2026-07-08 03:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:09: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-07-08 03: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-07-08 03:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565725184001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565725184001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:09:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:09:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565725184001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":125800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:09:34] local.INFO: GPS data processed {"connection_id":125800,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:09:34] local.INFO: Acknowledgment sent {"connection_id":125800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:09:57] local.INFO: TCP Data received {"connection_id":125802,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:09:57] local.INFO: Processing buffer {"connection_id":125802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:09:57] local.INFO: IMEI packet received {"connection_id":125802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":125802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:10:02] local.INFO: TCP Data received {"connection_id":125802,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:10:02] local.INFO: Processing buffer {"connection_id":125802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:10:02] local.INFO: IMEI packet received {"connection_id":125802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":125802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:10:03] local.INFO: TCP Data received {"connection_id":125801,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:10:03] local.INFO: Processing buffer {"connection_id":125801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:10:03] local.INFO: IMEI packet received {"connection_id":125801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 03:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":125801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:10:03] local.INFO: TCP Data received {"connection_id":125802,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e827588012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e827588012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:10:03] local.INFO: Processing buffer {"connection_id":125802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e827588012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:10:03] local.INFO: Packet analysis {"connection_id":125802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e82"} 
[2026-07-08 03:10:03] local.INFO: Extracted packet for processing {"connection_id":125802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e82"} 
[2026-07-08 03:10:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":50,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565725184001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783460165000,"timestamp_ms":1783460165000,"timestamp_seconds":1783460165,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e827588"} 
[2026-07-08 03:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:10: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-07-08 03: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-07-08 03:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565725184001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565725184001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:10:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:10:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565725184001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":125802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:10:03] local.INFO: GPS data processed {"connection_id":125802,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:10:03] local.INFO: Acknowledgment sent {"connection_id":125802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:10:34] local.INFO: TCP Data received {"connection_id":125802,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e827588012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e827588012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:10:34] local.INFO: Processing buffer {"connection_id":125802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e827588012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:10:34] local.INFO: Packet analysis {"connection_id":125802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e82"} 
[2026-07-08 03:10:34] local.INFO: Extracted packet for processing {"connection_id":125802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e82"} 
[2026-07-08 03:10:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":50,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565725184001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783460165000,"timestamp_ms":1783460165000,"timestamp_seconds":1783460165,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e827588"} 
[2026-07-08 03:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:10: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-07-08 03: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-07-08 03:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565725184001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565725184001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:10:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:10:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565725184001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":125802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:10:34] local.INFO: GPS data processed {"connection_id":125802,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:10:34] local.INFO: Acknowledgment sent {"connection_id":125802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:10:57] local.INFO: TCP Data received {"connection_id":125046,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:10:57] local.INFO: Processing buffer {"connection_id":125046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:10:57] local.INFO: IMEI packet received {"connection_id":125046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":125046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:11:02] local.INFO: TCP Data received {"connection_id":125046,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:11:02] local.INFO: Processing buffer {"connection_id":125046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:11:02] local.INFO: IMEI packet received {"connection_id":125046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":125046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:11:03] local.INFO: TCP Data received {"connection_id":125046,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e827588012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e827588012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:11:03] local.INFO: Processing buffer {"connection_id":125046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e827588012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:11:03] local.INFO: Packet analysis {"connection_id":125046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e82"} 
[2026-07-08 03:11:03] local.INFO: Extracted packet for processing {"connection_id":125046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e82"} 
[2026-07-08 03:11:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":50,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565725184001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783460165000,"timestamp_ms":1783460165000,"timestamp_seconds":1783460165,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e827588"} 
[2026-07-08 03:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:11: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-07-08 03:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565725184001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565725184001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:11:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:11:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565725184001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":125046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:11:03] local.INFO: GPS data processed {"connection_id":125046,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:11:03] local.INFO: Acknowledgment sent {"connection_id":125046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:11:34] local.INFO: TCP Data received {"connection_id":125046,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e827588012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e827588012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:11:34] local.INFO: Processing buffer {"connection_id":125046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e827588012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:11:34] local.INFO: Packet analysis {"connection_id":125046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e82"} 
[2026-07-08 03:11:34] local.INFO: Extracted packet for processing {"connection_id":125046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e82"} 
[2026-07-08 03:11:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":50,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565725184001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783460165000,"timestamp_ms":1783460165000,"timestamp_seconds":1783460165,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e827588"} 
[2026-07-08 03:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:11: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-07-08 03:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565725184001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565725184001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:11:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:11:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565725184001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":125046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:11:34] local.INFO: GPS data processed {"connection_id":125046,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:11:34] local.INFO: Acknowledgment sent {"connection_id":125046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:11:58] local.INFO: TCP Data received {"connection_id":125047,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:11:58] local.INFO: Processing buffer {"connection_id":125047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:11:58] local.INFO: IMEI packet received {"connection_id":125047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":125047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:12:02] local.INFO: TCP Data received {"connection_id":125047,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:12:02] local.INFO: Processing buffer {"connection_id":125047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:12:02] local.INFO: IMEI packet received {"connection_id":125047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":125047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:12:03] local.INFO: TCP Data received {"connection_id":125047,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e870d50012dc5eb400537d5a00034014431..."} 
[2026-07-08 03:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e870d50012dc5eb400537d5a00034014431..."} 
[2026-07-08 03:12:03] local.INFO: Processing buffer {"connection_id":125047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e870d50012dc5eb400537d5a00034014431..."} 
[2026-07-08 03:12:03] local.INFO: Packet analysis {"connection_id":125047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e87"} 
[2026-07-08 03:12:03] local.INFO: Extracted packet for processing {"connection_id":125047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e87"} 
[2026-07-08 03:12:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565802240001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783460466000,"timestamp_ms":1783460466000,"timestamp_seconds":1783460466,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e870d50"} 
[2026-07-08 03:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 03:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03: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-07-08 03:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565802240001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565802240001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:12:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:12:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565802240001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":125047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:12:03] local.INFO: GPS data processed {"connection_id":125047,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:12:03] local.INFO: Acknowledgment sent {"connection_id":125047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:12:34] local.INFO: TCP Data received {"connection_id":125047,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e870d50012dc5eb400537d5a00034014431..."} 
[2026-07-08 03:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e870d50012dc5eb400537d5a00034014431..."} 
[2026-07-08 03:12:34] local.INFO: Processing buffer {"connection_id":125047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e870d50012dc5eb400537d5a00034014431..."} 
[2026-07-08 03:12:34] local.INFO: Packet analysis {"connection_id":125047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e87"} 
[2026-07-08 03:12:34] local.INFO: Extracted packet for processing {"connection_id":125047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e87"} 
[2026-07-08 03:12:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565802240001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783460466000,"timestamp_ms":1783460466000,"timestamp_seconds":1783460466,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e870d50"} 
[2026-07-08 03:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 03:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03: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-07-08 03:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565802240001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565802240001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:12:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:12:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565802240001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":125047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:12:34] local.INFO: GPS data processed {"connection_id":125047,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:12:34] local.INFO: Acknowledgment sent {"connection_id":125047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:13:02] local.INFO: TCP Data received {"connection_id":125803,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:13:02] local.INFO: Processing buffer {"connection_id":125803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:13:02] local.INFO: IMEI packet received {"connection_id":125803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":125803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:13:07] local.INFO: TCP Data received {"connection_id":125803,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:13:07] local.INFO: Processing buffer {"connection_id":125803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:13:07] local.INFO: IMEI packet received {"connection_id":125803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":125803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:13:08] local.INFO: TCP Data received {"connection_id":125803,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e870d50012dc5eb400537d5a00034014431..."} 
[2026-07-08 03:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e870d50012dc5eb400537d5a00034014431..."} 
[2026-07-08 03:13:08] local.INFO: Processing buffer {"connection_id":125803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e870d50012dc5eb400537d5a00034014431..."} 
[2026-07-08 03:13:08] local.INFO: Packet analysis {"connection_id":125803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e87"} 
[2026-07-08 03:13:08] local.INFO: Extracted packet for processing {"connection_id":125803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e87"} 
[2026-07-08 03:13:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565802240001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783460466000,"timestamp_ms":1783460466000,"timestamp_seconds":1783460466,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e870d50"} 
[2026-07-08 03:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 03:13: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-07-08 03:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565802240001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565802240001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:13:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:13:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565802240001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":125803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:13:08] local.INFO: GPS data processed {"connection_id":125803,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:13:08] local.INFO: Acknowledgment sent {"connection_id":125803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:13:12] local.INFO: TCP Data received {"connection_id":125803,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e870d50012dc5eb400537d5a00034014431..."} 
[2026-07-08 03:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e870d50012dc5eb400537d5a00034014431..."} 
[2026-07-08 03:13:12] local.INFO: Processing buffer {"connection_id":125803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e870d50012dc5eb400537d5a00034014431..."} 
[2026-07-08 03:13:12] local.INFO: Packet analysis {"connection_id":125803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e87"} 
[2026-07-08 03:13:12] local.INFO: Extracted packet for processing {"connection_id":125803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e87"} 
[2026-07-08 03:13:12] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565802240001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783460466000,"timestamp_ms":1783460466000,"timestamp_seconds":1783460466,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e870d50"} 
[2026-07-08 03:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03: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-07-08 03:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565802240001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565802240001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:13:12] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:13:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565802240001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":125803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:13:12] local.INFO: GPS data processed {"connection_id":125803,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:13:12] local.INFO: Acknowledgment sent {"connection_id":125803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:13:57] local.INFO: TCP Data received {"connection_id":127060,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:13:57] local.INFO: Processing buffer {"connection_id":127060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:13:57] local.INFO: IMEI packet received {"connection_id":127060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":127060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:14:02] local.INFO: TCP Data received {"connection_id":127060,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:14:02] local.INFO: Processing buffer {"connection_id":127060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:14:02] local.INFO: IMEI packet received {"connection_id":127060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":127060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:14:03] local.INFO: TCP Data received {"connection_id":127060,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e870d50012dc5eb400537d5a00034014431..."} 
[2026-07-08 03:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e870d50012dc5eb400537d5a00034014431..."} 
[2026-07-08 03:14:03] local.INFO: Processing buffer {"connection_id":127060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e870d50012dc5eb400537d5a00034014431..."} 
[2026-07-08 03:14:03] local.INFO: Packet analysis {"connection_id":127060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e87"} 
[2026-07-08 03:14:03] local.INFO: Extracted packet for processing {"connection_id":127060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e87"} 
[2026-07-08 03:14:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565802240001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783460466000,"timestamp_ms":1783460466000,"timestamp_seconds":1783460466,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e870d50"} 
[2026-07-08 03:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 03:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03: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-07-08 03:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565802240001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565802240001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:14:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:14:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565802240001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":127060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:14:03] local.INFO: GPS data processed {"connection_id":127060,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:14:03] local.INFO: Acknowledgment sent {"connection_id":127060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:14:34] local.INFO: TCP Data received {"connection_id":127060,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e870d50012dc5eb400537d5a00034014431..."} 
[2026-07-08 03:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e870d50012dc5eb400537d5a00034014431..."} 
[2026-07-08 03:14:34] local.INFO: Processing buffer {"connection_id":127060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e870d50012dc5eb400537d5a00034014431..."} 
[2026-07-08 03:14:34] local.INFO: Packet analysis {"connection_id":127060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e87"} 
[2026-07-08 03:14:34] local.INFO: Extracted packet for processing {"connection_id":127060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e87"} 
[2026-07-08 03:14:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565802240001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783460466000,"timestamp_ms":1783460466000,"timestamp_seconds":1783460466,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e870d50"} 
[2026-07-08 03:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 03:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565802240001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565802240001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:14:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:14:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565802240001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":127060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:14:34] local.INFO: GPS data processed {"connection_id":127060,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:14:34] local.INFO: Acknowledgment sent {"connection_id":127060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:14:57] local.INFO: TCP Data received {"connection_id":125048,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:14:57] local.INFO: Processing buffer {"connection_id":125048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:14:57] local.INFO: IMEI packet received {"connection_id":125048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":125048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:15:02] local.INFO: TCP Data received {"connection_id":125048,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:15:02] local.INFO: Processing buffer {"connection_id":125048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:15:02] local.INFO: IMEI packet received {"connection_id":125048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":125048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:15:03] local.INFO: TCP Data received {"connection_id":125048,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e870d50012dc5eb400537d5a00034014431..."} 
[2026-07-08 03:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e870d50012dc5eb400537d5a00034014431..."} 
[2026-07-08 03:15:03] local.INFO: Processing buffer {"connection_id":125048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e870d50012dc5eb400537d5a00034014431..."} 
[2026-07-08 03:15:03] local.INFO: Packet analysis {"connection_id":125048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e87"} 
[2026-07-08 03:15:03] local.INFO: Extracted packet for processing {"connection_id":125048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e87"} 
[2026-07-08 03:15:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565802240001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783460466000,"timestamp_ms":1783460466000,"timestamp_seconds":1783460466,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e870d50"} 
[2026-07-08 03:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 03:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03: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-07-08 03:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565802240001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565802240001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:15:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:15:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565802240001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":125048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:15:03] local.INFO: GPS data processed {"connection_id":125048,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:15:03] local.INFO: Acknowledgment sent {"connection_id":125048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:15:34] local.INFO: TCP Data received {"connection_id":125048,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e870d50012dc5eb400537d5a00034014431..."} 
[2026-07-08 03:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e870d50012dc5eb400537d5a00034014431..."} 
[2026-07-08 03:15:34] local.INFO: Processing buffer {"connection_id":125048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e870d50012dc5eb400537d5a00034014431..."} 
[2026-07-08 03:15:34] local.INFO: Packet analysis {"connection_id":125048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e87"} 
[2026-07-08 03:15:34] local.INFO: Extracted packet for processing {"connection_id":125048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e87"} 
[2026-07-08 03:15:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565802240001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783460466000,"timestamp_ms":1783460466000,"timestamp_seconds":1783460466,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e870d50"} 
[2026-07-08 03:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 03:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565802240001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565802240001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:15:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:15:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565802240001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":125048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:15:34] local.INFO: GPS data processed {"connection_id":125048,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:15:34] local.INFO: Acknowledgment sent {"connection_id":125048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:15:37] local.INFO: TCP Data received {"connection_id":125049,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125049,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:15:37] local.INFO: Processing buffer {"connection_id":125049,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:15:37] local.INFO: IMEI packet received {"connection_id":125049,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 03:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":125049,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:15:57] local.INFO: TCP Data received {"connection_id":127062,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:15:57] local.INFO: Processing buffer {"connection_id":127062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:15:57] local.INFO: IMEI packet received {"connection_id":127062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":127062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:15:57] local.INFO: TCP Data received {"connection_id":125804,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125804,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:15:57] local.INFO: Processing buffer {"connection_id":125804,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:15:57] local.INFO: IMEI packet received {"connection_id":125804,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 03:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":125804,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:16:02] local.INFO: TCP Data received {"connection_id":127062,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:16:02] local.INFO: Processing buffer {"connection_id":127062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:16:02] local.INFO: IMEI packet received {"connection_id":127062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":127062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:16:03] local.INFO: TCP Data received {"connection_id":127062,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e870d50012dc5eb400537d5a00034014431..."} 
[2026-07-08 03:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e870d50012dc5eb400537d5a00034014431..."} 
[2026-07-08 03:16:03] local.INFO: Processing buffer {"connection_id":127062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e870d50012dc5eb400537d5a00034014431..."} 
[2026-07-08 03:16:03] local.INFO: Packet analysis {"connection_id":127062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e87"} 
[2026-07-08 03:16:03] local.INFO: Extracted packet for processing {"connection_id":127062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e87"} 
[2026-07-08 03:16:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565802240001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783460466000,"timestamp_ms":1783460466000,"timestamp_seconds":1783460466,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e870d50"} 
[2026-07-08 03:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 03:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03: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-07-08 03:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565802240001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565802240001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:16:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:16:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565802240001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":127062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:16:03] local.INFO: GPS data processed {"connection_id":127062,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:16:03] local.INFO: Acknowledgment sent {"connection_id":127062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:16:34] local.INFO: TCP Data received {"connection_id":127062,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e870d50012dc5eb400537d5a00034014431..."} 
[2026-07-08 03:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e870d50012dc5eb400537d5a00034014431..."} 
[2026-07-08 03:16:34] local.INFO: Processing buffer {"connection_id":127062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e870d50012dc5eb400537d5a00034014431..."} 
[2026-07-08 03:16:34] local.INFO: Packet analysis {"connection_id":127062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e87"} 
[2026-07-08 03:16:34] local.INFO: Extracted packet for processing {"connection_id":127062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e87"} 
[2026-07-08 03:16:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":49,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565802240001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783460466000,"timestamp_ms":1783460466000,"timestamp_seconds":1783460466,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e870d50"} 
[2026-07-08 03:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 03:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03: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-07-08 03:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565802240001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565802240001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:16:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:16:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565802240001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":127062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:16:34] local.INFO: GPS data processed {"connection_id":127062,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:16:34] local.INFO: Acknowledgment sent {"connection_id":127062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:16:57] local.INFO: TCP Data received {"connection_id":125805,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:16:57] local.INFO: Processing buffer {"connection_id":125805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:16:57] local.INFO: IMEI packet received {"connection_id":125805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":125805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:17:02] local.INFO: TCP Data received {"connection_id":125805,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:17:02] local.INFO: Processing buffer {"connection_id":125805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:17:02] local.INFO: IMEI packet received {"connection_id":125805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":125805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:17:02] local.INFO: TCP Data received {"connection_id":125805,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e8ba518012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e8ba518012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:17:02] local.INFO: Processing buffer {"connection_id":125805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e8ba518012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:17:02] local.INFO: Packet analysis {"connection_id":125805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e8b"} 
[2026-07-08 03:17:02] local.INFO: Extracted packet for processing {"connection_id":125805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e8b"} 
[2026-07-08 03:17:02] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":50,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565879296001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783460767000,"timestamp_ms":1783460767000,"timestamp_seconds":1783460767,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e8ba518"} 
[2026-07-08 03:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 03:17:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03: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-07-08 03:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565879296001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565879296001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:17:02] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:17:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565879296001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":125805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:17:02] local.INFO: GPS data processed {"connection_id":125805,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:17:02] local.INFO: Acknowledgment sent {"connection_id":125805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:17:33] local.INFO: TCP Data received {"connection_id":125805,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e8ba518012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e8ba518012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:17:33] local.INFO: Processing buffer {"connection_id":125805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e8ba518012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:17:33] local.INFO: Packet analysis {"connection_id":125805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e8b"} 
[2026-07-08 03:17:33] local.INFO: Extracted packet for processing {"connection_id":125805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e8b"} 
[2026-07-08 03:17:33] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":50,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565879296001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783460767000,"timestamp_ms":1783460767000,"timestamp_seconds":1783460767,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e8ba518"} 
[2026-07-08 03:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 03:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03: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-07-08 03:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565879296001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565879296001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:17:33] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:17:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565879296001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":125805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:17:34] local.INFO: GPS data processed {"connection_id":125805,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:17:34] local.INFO: Acknowledgment sent {"connection_id":125805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:18:02] local.INFO: TCP Data received {"connection_id":125051,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:18:02] local.INFO: Processing buffer {"connection_id":125051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:18:02] local.INFO: IMEI packet received {"connection_id":125051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":125051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:18:07] local.INFO: TCP Data received {"connection_id":125051,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:18:07] local.INFO: Processing buffer {"connection_id":125051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:18:07] local.INFO: IMEI packet received {"connection_id":125051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":125051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:18:08] local.INFO: TCP Data received {"connection_id":125051,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e8ba518012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e8ba518012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:18:08] local.INFO: Processing buffer {"connection_id":125051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e8ba518012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:18:08] local.INFO: Packet analysis {"connection_id":125051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e8b"} 
[2026-07-08 03:18:08] local.INFO: Extracted packet for processing {"connection_id":125051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e8b"} 
[2026-07-08 03:18:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":50,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565879296001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783460767000,"timestamp_ms":1783460767000,"timestamp_seconds":1783460767,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e8ba518"} 
[2026-07-08 03:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 03:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565879296001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565879296001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:18:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:18:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565879296001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":125051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:18:08] local.INFO: GPS data processed {"connection_id":125051,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:18:08] local.INFO: Acknowledgment sent {"connection_id":125051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:18:12] local.INFO: TCP Data received {"connection_id":125051,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e8ba518012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e8ba518012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:18:12] local.INFO: Processing buffer {"connection_id":125051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e8ba518012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:18:12] local.INFO: Packet analysis {"connection_id":125051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e8b"} 
[2026-07-08 03:18:12] local.INFO: Extracted packet for processing {"connection_id":125051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e8b"} 
[2026-07-08 03:18:12] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":50,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565879296001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783460767000,"timestamp_ms":1783460767000,"timestamp_seconds":1783460767,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e8ba518"} 
[2026-07-08 03:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 03:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565879296001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565879296001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:18:12] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:18:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565879296001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":125051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:18:12] local.INFO: GPS data processed {"connection_id":125051,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:18:12] local.INFO: Acknowledgment sent {"connection_id":125051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:18:57] local.INFO: TCP Data received {"connection_id":125052,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:18:57] local.INFO: Processing buffer {"connection_id":125052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:18:57] local.INFO: IMEI packet received {"connection_id":125052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":125052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:19:02] local.INFO: TCP Data received {"connection_id":125052,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:19:02] local.INFO: Processing buffer {"connection_id":125052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:19:02] local.INFO: IMEI packet received {"connection_id":125052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":125052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:19:03] local.INFO: TCP Data received {"connection_id":125052,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e8ba518012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e8ba518012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:19:03] local.INFO: Processing buffer {"connection_id":125052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e8ba518012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:19:03] local.INFO: Packet analysis {"connection_id":125052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e8b"} 
[2026-07-08 03:19:03] local.INFO: Extracted packet for processing {"connection_id":125052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e8b"} 
[2026-07-08 03:19:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":50,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565879296001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783460767000,"timestamp_ms":1783460767000,"timestamp_seconds":1783460767,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e8ba518"} 
[2026-07-08 03:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 03:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03: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-07-08 03:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565879296001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565879296001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:19:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:19:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565879296001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":125052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:19:03] local.INFO: GPS data processed {"connection_id":125052,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:19:03] local.INFO: Acknowledgment sent {"connection_id":125052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:19:34] local.INFO: TCP Data received {"connection_id":125052,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e8ba518012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e8ba518012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:19:34] local.INFO: Processing buffer {"connection_id":125052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e8ba518012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:19:34] local.INFO: Packet analysis {"connection_id":125052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e8b"} 
[2026-07-08 03:19:34] local.INFO: Extracted packet for processing {"connection_id":125052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e8b"} 
[2026-07-08 03:19:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":50,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565879296001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783460767000,"timestamp_ms":1783460767000,"timestamp_seconds":1783460767,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e8ba518"} 
[2026-07-08 03:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 03:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03: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-07-08 03:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565879296001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565879296001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:19:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:19:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565879296001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":125052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:19:34] local.INFO: GPS data processed {"connection_id":125052,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:19:34] local.INFO: Acknowledgment sent {"connection_id":125052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:19:57] local.INFO: TCP Data received {"connection_id":124973,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:19:57] local.INFO: Processing buffer {"connection_id":124973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:19:57] local.INFO: IMEI packet received {"connection_id":124973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":124973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:20:02] local.INFO: TCP Data received {"connection_id":124973,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:20:02] local.INFO: Processing buffer {"connection_id":124973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:20:02] local.INFO: IMEI packet received {"connection_id":124973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":124973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:20:03] local.INFO: TCP Data received {"connection_id":124973,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e8ba518012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e8ba518012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:20:03] local.INFO: Processing buffer {"connection_id":124973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e8ba518012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:20:03] local.INFO: Packet analysis {"connection_id":124973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e8b"} 
[2026-07-08 03:20:03] local.INFO: Extracted packet for processing {"connection_id":124973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e8b"} 
[2026-07-08 03:20:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":50,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565879296001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783460767000,"timestamp_ms":1783460767000,"timestamp_seconds":1783460767,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e8ba518"} 
[2026-07-08 03:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 03:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03: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-07-08 03:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565879296001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565879296001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:20:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:20:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565879296001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":124973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:20:03] local.INFO: GPS data processed {"connection_id":124973,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:20:03] local.INFO: Acknowledgment sent {"connection_id":124973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:20:34] local.INFO: TCP Data received {"connection_id":124973,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e8ba518012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e8ba518012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:20:34] local.INFO: Processing buffer {"connection_id":124973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e8ba518012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:20:34] local.INFO: Packet analysis {"connection_id":124973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e8b"} 
[2026-07-08 03:20:34] local.INFO: Extracted packet for processing {"connection_id":124973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e8b"} 
[2026-07-08 03:20:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":50,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565879296001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783460767000,"timestamp_ms":1783460767000,"timestamp_seconds":1783460767,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e8ba518"} 
[2026-07-08 03:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 03:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03: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-07-08 03:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565879296001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565879296001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:20:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:20:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565879296001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":124973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:20:34] local.INFO: GPS data processed {"connection_id":124973,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:20:34] local.INFO: Acknowledgment sent {"connection_id":124973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:20:57] local.INFO: TCP Data received {"connection_id":127065,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:20:57] local.INFO: Processing buffer {"connection_id":127065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:20:57] local.INFO: IMEI packet received {"connection_id":127065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":127065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:21:02] local.INFO: TCP Data received {"connection_id":127065,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:21:02] local.INFO: Processing buffer {"connection_id":127065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:21:02] local.INFO: IMEI packet received {"connection_id":127065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":127065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:21:03] local.INFO: TCP Data received {"connection_id":127065,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e8ba518012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e8ba518012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:21:03] local.INFO: Processing buffer {"connection_id":127065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e8ba518012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:21:03] local.INFO: Packet analysis {"connection_id":127065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e8b"} 
[2026-07-08 03:21:03] local.INFO: Extracted packet for processing {"connection_id":127065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e8b"} 
[2026-07-08 03:21:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":50,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565879296001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783460767000,"timestamp_ms":1783460767000,"timestamp_seconds":1783460767,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e8ba518"} 
[2026-07-08 03:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 03:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565879296001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565879296001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:21:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:21:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565879296001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":127065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:21:03] local.INFO: GPS data processed {"connection_id":127065,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:21:03] local.INFO: Acknowledgment sent {"connection_id":127065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:21:27] local.INFO: TCP Data received {"connection_id":127066,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127066,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:21:27] local.INFO: Processing buffer {"connection_id":127066,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:21:27] local.INFO: IMEI packet received {"connection_id":127066,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 03:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":127066,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:21:34] local.INFO: TCP Data received {"connection_id":127065,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e8ba518012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e8ba518012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:21:34] local.INFO: Processing buffer {"connection_id":127065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e8ba518012dc5eb400537d5a00034014432..."} 
[2026-07-08 03:21:34] local.INFO: Packet analysis {"connection_id":127065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e8b"} 
[2026-07-08 03:21:34] local.INFO: Extracted packet for processing {"connection_id":127065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e8b"} 
[2026-07-08 03:21:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":50,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565879296001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783460767000,"timestamp_ms":1783460767000,"timestamp_seconds":1783460767,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e8ba518"} 
[2026-07-08 03:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 03:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03:21:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565879296001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565879296001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:21:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:21:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565879296001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":127065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:21:34] local.INFO: GPS data processed {"connection_id":127065,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:21:34] local.INFO: Acknowledgment sent {"connection_id":127065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:21:57] local.INFO: TCP Data received {"connection_id":124974,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:21:57] local.INFO: Processing buffer {"connection_id":124974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:21:57] local.INFO: IMEI packet received {"connection_id":124974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":124974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:21:57] local.INFO: TCP Data received {"connection_id":124975,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124975,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:21:57] local.INFO: Processing buffer {"connection_id":124975,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:21:57] local.INFO: IMEI packet received {"connection_id":124975,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 03:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":124975,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:22:02] local.INFO: TCP Data received {"connection_id":124974,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:22:02] local.INFO: Processing buffer {"connection_id":124974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:22:02] local.INFO: IMEI packet received {"connection_id":124974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":124974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:22:02] local.INFO: TCP Data received {"connection_id":124974,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e903ce0012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e903ce0012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:22:02] local.INFO: Processing buffer {"connection_id":124974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e903ce0012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:22:02] local.INFO: Packet analysis {"connection_id":124974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e90"} 
[2026-07-08 03:22:02] local.INFO: Extracted packet for processing {"connection_id":124974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e90"} 
[2026-07-08 03:22:02] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565956352001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783461068000,"timestamp_ms":1783461068000,"timestamp_seconds":1783461068,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e903ce0"} 
[2026-07-08 03:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 03:22: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-07-08 03:22:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565956352001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565956352001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:22:02] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:22:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565956352001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":124974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:22:02] local.INFO: GPS data processed {"connection_id":124974,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:22:02] local.INFO: Acknowledgment sent {"connection_id":124974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:22:33] local.INFO: TCP Data received {"connection_id":124974,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e903ce0012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e903ce0012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:22:33] local.INFO: Processing buffer {"connection_id":124974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e903ce0012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:22:33] local.INFO: Packet analysis {"connection_id":124974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e90"} 
[2026-07-08 03:22:33] local.INFO: Extracted packet for processing {"connection_id":124974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e90"} 
[2026-07-08 03:22:33] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565956352001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783461068000,"timestamp_ms":1783461068000,"timestamp_seconds":1783461068,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e903ce0"} 
[2026-07-08 03:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 03:22: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-07-08 03: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-07-08 03:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":124974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":124974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":124974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565956352001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565956352001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:22:33] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:22:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565956352001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":124974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:22:33] local.INFO: GPS data processed {"connection_id":124974,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:22:33] local.INFO: Acknowledgment sent {"connection_id":124974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:22:57] local.INFO: TCP Data received {"connection_id":125806,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:22:57] local.INFO: Processing buffer {"connection_id":125806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:22:57] local.INFO: IMEI packet received {"connection_id":125806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":125806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:23:02] local.INFO: TCP Data received {"connection_id":125806,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:23:02] local.INFO: Processing buffer {"connection_id":125806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:23:02] local.INFO: IMEI packet received {"connection_id":125806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":125806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:23:03] local.INFO: TCP Data received {"connection_id":125806,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e903ce0012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e903ce0012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:23:03] local.INFO: Processing buffer {"connection_id":125806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e903ce0012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:23:03] local.INFO: Packet analysis {"connection_id":125806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e90"} 
[2026-07-08 03:23:03] local.INFO: Extracted packet for processing {"connection_id":125806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e90"} 
[2026-07-08 03:23:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565956352001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783461068000,"timestamp_ms":1783461068000,"timestamp_seconds":1783461068,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e903ce0"} 
[2026-07-08 03:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 03:23: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-07-08 03:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:23: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-07-08 03:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565956352001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565956352001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:23:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:23:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565956352001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":125806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:23:03] local.INFO: GPS data processed {"connection_id":125806,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:23:03] local.INFO: Acknowledgment sent {"connection_id":125806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:23:34] local.INFO: TCP Data received {"connection_id":125806,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e903ce0012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e903ce0012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:23:34] local.INFO: Processing buffer {"connection_id":125806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e903ce0012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:23:34] local.INFO: Packet analysis {"connection_id":125806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e90"} 
[2026-07-08 03:23:34] local.INFO: Extracted packet for processing {"connection_id":125806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e90"} 
[2026-07-08 03:23:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565956352001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783461068000,"timestamp_ms":1783461068000,"timestamp_seconds":1783461068,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e903ce0"} 
[2026-07-08 03:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 03:23: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-07-08 03:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:23: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-07-08 03:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565956352001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565956352001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:23:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:23:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565956352001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":125806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:23:34] local.INFO: GPS data processed {"connection_id":125806,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:23:34] local.INFO: Acknowledgment sent {"connection_id":125806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:23:57] local.INFO: TCP Data received {"connection_id":127067,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:23:57] local.INFO: Processing buffer {"connection_id":127067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:23:57] local.INFO: IMEI packet received {"connection_id":127067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":127067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:24:02] local.INFO: TCP Data received {"connection_id":127067,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:24:02] local.INFO: Processing buffer {"connection_id":127067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:24:02] local.INFO: IMEI packet received {"connection_id":127067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":127067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:24:03] local.INFO: TCP Data received {"connection_id":127067,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e903ce0012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e903ce0012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:24:03] local.INFO: Processing buffer {"connection_id":127067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e903ce0012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:24:03] local.INFO: Packet analysis {"connection_id":127067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e90"} 
[2026-07-08 03:24:03] local.INFO: Extracted packet for processing {"connection_id":127067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e90"} 
[2026-07-08 03:24:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565956352001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783461068000,"timestamp_ms":1783461068000,"timestamp_seconds":1783461068,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e903ce0"} 
[2026-07-08 03:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 03:24: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-07-08 03: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-07-08 03:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565956352001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565956352001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:24:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:24:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565956352001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":127067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:24:03] local.INFO: GPS data processed {"connection_id":127067,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:24:03] local.INFO: Acknowledgment sent {"connection_id":127067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:24:34] local.INFO: TCP Data received {"connection_id":127067,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e903ce0012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e903ce0012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:24:34] local.INFO: Processing buffer {"connection_id":127067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e903ce0012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:24:34] local.INFO: Packet analysis {"connection_id":127067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e90"} 
[2026-07-08 03:24:34] local.INFO: Extracted packet for processing {"connection_id":127067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e90"} 
[2026-07-08 03:24:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565956352001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783461068000,"timestamp_ms":1783461068000,"timestamp_seconds":1783461068,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e903ce0"} 
[2026-07-08 03:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":53,"data_length":795,"current_offset":136} 
[2026-07-08 03:24: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-07-08 03: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-07-08 03:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565956352001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565956352001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:24:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:24:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565956352001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":127067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:24:34] local.INFO: GPS data processed {"connection_id":127067,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:24:34] local.INFO: Acknowledgment sent {"connection_id":127067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:24:57] local.INFO: TCP Data received {"connection_id":125053,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:24:57] local.INFO: Processing buffer {"connection_id":125053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:24:57] local.INFO: IMEI packet received {"connection_id":125053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":125053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:25:02] local.INFO: TCP Data received {"connection_id":125053,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:25:02] local.INFO: Processing buffer {"connection_id":125053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:25:02] local.INFO: IMEI packet received {"connection_id":125053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":125053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:25:03] local.INFO: TCP Data received {"connection_id":125053,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e903ce0012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e903ce0012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:25:03] local.INFO: Processing buffer {"connection_id":125053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e903ce0012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:25:03] local.INFO: Packet analysis {"connection_id":125053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e90"} 
[2026-07-08 03:25:03] local.INFO: Extracted packet for processing {"connection_id":125053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e90"} 
[2026-07-08 03:25:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565956352001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783461068000,"timestamp_ms":1783461068000,"timestamp_seconds":1783461068,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e903ce0"} 
[2026-07-08 03:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 03:25: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-07-08 03: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-07-08 03:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565956352001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565956352001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:25:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:25:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565956352001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":125053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:25:03] local.INFO: GPS data processed {"connection_id":125053,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:25:03] local.INFO: Acknowledgment sent {"connection_id":125053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:25:34] local.INFO: TCP Data received {"connection_id":125053,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e903ce0012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e903ce0012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:25:34] local.INFO: Processing buffer {"connection_id":125053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e903ce0012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:25:34] local.INFO: Packet analysis {"connection_id":125053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e90"} 
[2026-07-08 03:25:34] local.INFO: Extracted packet for processing {"connection_id":125053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e90"} 
[2026-07-08 03:25:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565956352001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783461068000,"timestamp_ms":1783461068000,"timestamp_seconds":1783461068,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e903ce0"} 
[2026-07-08 03:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 03:25: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-07-08 03: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-07-08 03:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565956352001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565956352001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:25:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:25:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565956352001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":125053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:25:34] local.INFO: GPS data processed {"connection_id":125053,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:25:34] local.INFO: Acknowledgment sent {"connection_id":125053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:25:57] local.INFO: TCP Data received {"connection_id":125807,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:25:57] local.INFO: Processing buffer {"connection_id":125807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:25:57] local.INFO: IMEI packet received {"connection_id":125807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":125807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:26:02] local.INFO: TCP Data received {"connection_id":125807,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:26:02] local.INFO: Processing buffer {"connection_id":125807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:26:02] local.INFO: IMEI packet received {"connection_id":125807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":125807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:26:03] local.INFO: TCP Data received {"connection_id":125807,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e903ce0012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e903ce0012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:26:03] local.INFO: Processing buffer {"connection_id":125807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e903ce0012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:26:03] local.INFO: Packet analysis {"connection_id":125807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e90"} 
[2026-07-08 03:26:03] local.INFO: Extracted packet for processing {"connection_id":125807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e90"} 
[2026-07-08 03:26:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565956352001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783461068000,"timestamp_ms":1783461068000,"timestamp_seconds":1783461068,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e903ce0"} 
[2026-07-08 03:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 03:26: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-07-08 03:26:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565956352001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565956352001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:26:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:26:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565956352001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":125807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:26:03] local.INFO: GPS data processed {"connection_id":125807,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:26:03] local.INFO: Acknowledgment sent {"connection_id":125807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:26:34] local.INFO: TCP Data received {"connection_id":125807,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e903ce0012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e903ce0012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:26:34] local.INFO: Processing buffer {"connection_id":125807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e903ce0012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:26:34] local.INFO: Packet analysis {"connection_id":125807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e90"} 
[2026-07-08 03:26:34] local.INFO: Extracted packet for processing {"connection_id":125807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e90"} 
[2026-07-08 03:26:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456565956352001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783461068000,"timestamp_ms":1783461068000,"timestamp_seconds":1783461068,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e903ce0"} 
[2026-07-08 03:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 03:26: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-07-08 03: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-07-08 03:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456565956352001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456565956352001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:26:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:26:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456565956352001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":125807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:26:34] local.INFO: GPS data processed {"connection_id":125807,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:26:34] local.INFO: Acknowledgment sent {"connection_id":125807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:26:57] local.INFO: TCP Data received {"connection_id":127070,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:26:57] local.INFO: Processing buffer {"connection_id":127070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:26:57] local.INFO: IMEI packet received {"connection_id":127070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":127070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:27:02] local.INFO: TCP Data received {"connection_id":127070,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:27:02] local.INFO: Processing buffer {"connection_id":127070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:27:02] local.INFO: IMEI packet received {"connection_id":127070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":127070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:27:03] local.INFO: TCP Data received {"connection_id":127070,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e94d4a8012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e94d4a8012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:27:03] local.INFO: Processing buffer {"connection_id":127070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e94d4a8012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:27:03] local.INFO: Packet analysis {"connection_id":127070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e94"} 
[2026-07-08 03:27:03] local.INFO: Extracted packet for processing {"connection_id":127070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e94"} 
[2026-07-08 03:27:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566033408001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783461369000,"timestamp_ms":1783461369000,"timestamp_seconds":1783461369,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e94d4a8"} 
[2026-07-08 03:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 03:27: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-07-08 03: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-07-08 03:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566033408001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566033408001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:27:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:27:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566033408001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":127070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:27:03] local.INFO: GPS data processed {"connection_id":127070,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:27:03] local.INFO: Acknowledgment sent {"connection_id":127070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:27:27] local.INFO: TCP Data received {"connection_id":127069,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127069,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:27:27] local.INFO: Processing buffer {"connection_id":127069,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:27:27] local.INFO: IMEI packet received {"connection_id":127069,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 03:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":127069,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:27:34] local.INFO: TCP Data received {"connection_id":127070,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e94d4a8012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e94d4a8012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:27:34] local.INFO: Processing buffer {"connection_id":127070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e94d4a8012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:27:34] local.INFO: Packet analysis {"connection_id":127070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e94"} 
[2026-07-08 03:27:34] local.INFO: Extracted packet for processing {"connection_id":127070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e94"} 
[2026-07-08 03:27:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566033408001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783461369000,"timestamp_ms":1783461369000,"timestamp_seconds":1783461369,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e94d4a8"} 
[2026-07-08 03:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 03:27: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-07-08 03:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566033408001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566033408001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:27:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:27:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566033408001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":127070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:27:34] local.INFO: GPS data processed {"connection_id":127070,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:27:34] local.INFO: Acknowledgment sent {"connection_id":127070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:27:58] local.INFO: TCP Data received {"connection_id":124977,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:27:58] local.INFO: Processing buffer {"connection_id":124977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:27:58] local.INFO: IMEI packet received {"connection_id":124977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":124977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:28:02] local.INFO: TCP Data received {"connection_id":124977,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:28:02] local.INFO: Processing buffer {"connection_id":124977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:28:02] local.INFO: IMEI packet received {"connection_id":124977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":124977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:28:02] local.INFO: TCP Data received {"connection_id":125056,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125056,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:28:02] local.INFO: Processing buffer {"connection_id":125056,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:28:02] local.INFO: IMEI packet received {"connection_id":125056,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 03:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":125056,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:28:02] local.INFO: TCP Data received {"connection_id":124977,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e94d4a8012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e94d4a8012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:28:02] local.INFO: Processing buffer {"connection_id":124977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e94d4a8012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:28:02] local.INFO: Packet analysis {"connection_id":124977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e94"} 
[2026-07-08 03:28:02] local.INFO: Extracted packet for processing {"connection_id":124977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e94"} 
[2026-07-08 03:28:02] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566033408001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783461369000,"timestamp_ms":1783461369000,"timestamp_seconds":1783461369,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e94d4a8"} 
[2026-07-08 03:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 03:28: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-07-08 03:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566033408001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566033408001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:28:02] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:28:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566033408001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":124977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:28:02] local.INFO: GPS data processed {"connection_id":124977,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:28:02] local.INFO: Acknowledgment sent {"connection_id":124977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:28:07] local.INFO: TCP Data received {"connection_id":124977,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e94d4a8012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e94d4a8012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:28:07] local.INFO: Processing buffer {"connection_id":124977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e94d4a8012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:28:07] local.INFO: Packet analysis {"connection_id":124977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e94"} 
[2026-07-08 03:28:07] local.INFO: Extracted packet for processing {"connection_id":124977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e94"} 
[2026-07-08 03:28:07] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566033408001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783461369000,"timestamp_ms":1783461369000,"timestamp_seconds":1783461369,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e94d4a8"} 
[2026-07-08 03:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 03:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566033408001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566033408001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:28:07] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:28:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566033408001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":124977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:28:07] local.INFO: GPS data processed {"connection_id":124977,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:28:07] local.INFO: Acknowledgment sent {"connection_id":124977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:28:38] local.INFO: TCP Data received {"connection_id":124977,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e94d4a8012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e94d4a8012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:28:38] local.INFO: Processing buffer {"connection_id":124977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e94d4a8012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:28:38] local.INFO: Packet analysis {"connection_id":124977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e94"} 
[2026-07-08 03:28:38] local.INFO: Extracted packet for processing {"connection_id":124977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e94"} 
[2026-07-08 03:28:38] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566033408001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783461369000,"timestamp_ms":1783461369000,"timestamp_seconds":1783461369,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e94d4a8"} 
[2026-07-08 03:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 03:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566033408001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566033408001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:28:38] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:28:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566033408001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":124977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:28:38] local.INFO: GPS data processed {"connection_id":124977,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:28:38] local.INFO: Acknowledgment sent {"connection_id":124977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:28:57] local.INFO: TCP Data received {"connection_id":124978,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:28:57] local.INFO: Processing buffer {"connection_id":124978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:28:57] local.INFO: IMEI packet received {"connection_id":124978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":124978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:29:02] local.INFO: TCP Data received {"connection_id":124978,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:29:02] local.INFO: Processing buffer {"connection_id":124978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:29:02] local.INFO: IMEI packet received {"connection_id":124978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":124978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:29:03] local.INFO: TCP Data received {"connection_id":124978,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e94d4a8012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e94d4a8012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:29:03] local.INFO: Processing buffer {"connection_id":124978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e94d4a8012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:29:03] local.INFO: Packet analysis {"connection_id":124978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e94"} 
[2026-07-08 03:29:03] local.INFO: Extracted packet for processing {"connection_id":124978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e94"} 
[2026-07-08 03:29:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566033408001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783461369000,"timestamp_ms":1783461369000,"timestamp_seconds":1783461369,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e94d4a8"} 
[2026-07-08 03:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 03:29: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-07-08 03:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566033408001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566033408001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:29:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:29:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566033408001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":124978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:29:03] local.INFO: GPS data processed {"connection_id":124978,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:29:03] local.INFO: Acknowledgment sent {"connection_id":124978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:29:34] local.INFO: TCP Data received {"connection_id":124978,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e94d4a8012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e94d4a8012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:29:34] local.INFO: Processing buffer {"connection_id":124978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e94d4a8012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:29:34] local.INFO: Packet analysis {"connection_id":124978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e94"} 
[2026-07-08 03:29:34] local.INFO: Extracted packet for processing {"connection_id":124978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e94"} 
[2026-07-08 03:29:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566033408001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783461369000,"timestamp_ms":1783461369000,"timestamp_seconds":1783461369,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e94d4a8"} 
[2026-07-08 03:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 03:29: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-07-08 03: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-07-08 03:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566033408001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566033408001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:29:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:29:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566033408001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":124978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:29:34] local.INFO: GPS data processed {"connection_id":124978,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:29:34] local.INFO: Acknowledgment sent {"connection_id":124978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:29:57] local.INFO: TCP Data received {"connection_id":127072,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:29:57] local.INFO: Processing buffer {"connection_id":127072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:29:57] local.INFO: IMEI packet received {"connection_id":127072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":127072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:30:02] local.INFO: TCP Data received {"connection_id":127072,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:30:02] local.INFO: Processing buffer {"connection_id":127072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:30:02] local.INFO: IMEI packet received {"connection_id":127072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":127072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:30:03] local.INFO: TCP Data received {"connection_id":127072,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e94d4a8012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e94d4a8012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:30:03] local.INFO: Processing buffer {"connection_id":127072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e94d4a8012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:30:03] local.INFO: Packet analysis {"connection_id":127072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e94"} 
[2026-07-08 03:30:03] local.INFO: Extracted packet for processing {"connection_id":127072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e94"} 
[2026-07-08 03:30:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566033408001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783461369000,"timestamp_ms":1783461369000,"timestamp_seconds":1783461369,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e94d4a8"} 
[2026-07-08 03:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 03:30: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-07-08 03:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566033408001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566033408001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:30:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:30:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566033408001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":127072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:30:03] local.INFO: GPS data processed {"connection_id":127072,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:30:03] local.INFO: Acknowledgment sent {"connection_id":127072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:30:34] local.INFO: TCP Data received {"connection_id":127072,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e94d4a8012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e94d4a8012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:30:34] local.INFO: Processing buffer {"connection_id":127072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e94d4a8012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:30:34] local.INFO: Packet analysis {"connection_id":127072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e94"} 
[2026-07-08 03:30:34] local.INFO: Extracted packet for processing {"connection_id":127072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e94"} 
[2026-07-08 03:30:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566033408001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783461369000,"timestamp_ms":1783461369000,"timestamp_seconds":1783461369,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e94d4a8"} 
[2026-07-08 03:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 03:30: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-07-08 03:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566033408001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566033408001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:30:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:30:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566033408001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":127072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:30:34] local.INFO: GPS data processed {"connection_id":127072,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:30:34] local.INFO: Acknowledgment sent {"connection_id":127072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:30:57] local.INFO: TCP Data received {"connection_id":125808,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:30:57] local.INFO: Processing buffer {"connection_id":125808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:30:57] local.INFO: IMEI packet received {"connection_id":125808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":125808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:31:02] local.INFO: TCP Data received {"connection_id":125808,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:31:02] local.INFO: Processing buffer {"connection_id":125808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:31:02] local.INFO: IMEI packet received {"connection_id":125808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":125808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:31:03] local.INFO: TCP Data received {"connection_id":125808,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e94d4a8012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e94d4a8012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:31:03] local.INFO: Processing buffer {"connection_id":125808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e94d4a8012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:31:03] local.INFO: Packet analysis {"connection_id":125808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e94"} 
[2026-07-08 03:31:03] local.INFO: Extracted packet for processing {"connection_id":125808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e94"} 
[2026-07-08 03:31:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566033408001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783461369000,"timestamp_ms":1783461369000,"timestamp_seconds":1783461369,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e94d4a8"} 
[2026-07-08 03:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 03:31: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-07-08 03: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-07-08 03:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:31: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-07-08 03:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566033408001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566033408001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:31:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:31:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566033408001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":125808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:31:03] local.INFO: GPS data processed {"connection_id":125808,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:31:03] local.INFO: Acknowledgment sent {"connection_id":125808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:31:34] local.INFO: TCP Data received {"connection_id":125808,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e94d4a8012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e94d4a8012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:31:34] local.INFO: Processing buffer {"connection_id":125808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e94d4a8012dc5eb400537d5a00034014430..."} 
[2026-07-08 03:31:34] local.INFO: Packet analysis {"connection_id":125808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e94"} 
[2026-07-08 03:31:34] local.INFO: Extracted packet for processing {"connection_id":125808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e94"} 
[2026-07-08 03:31:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566033408001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783461369000,"timestamp_ms":1783461369000,"timestamp_seconds":1783461369,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e94d4a8"} 
[2026-07-08 03:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 03:31: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-07-08 03:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:31: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-07-08 03:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566033408001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566033408001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:31:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:31:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566033408001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":125808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:31:34] local.INFO: GPS data processed {"connection_id":125808,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:31:34] local.INFO: Acknowledgment sent {"connection_id":125808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:31:57] local.INFO: TCP Data received {"connection_id":125809,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:31:57] local.INFO: Processing buffer {"connection_id":125809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:31:57] local.INFO: IMEI packet received {"connection_id":125809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":125809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:32:02] local.INFO: TCP Data received {"connection_id":125809,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:32:02] local.INFO: Processing buffer {"connection_id":125809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:32:02] local.INFO: IMEI packet received {"connection_id":125809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":125809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:32:03] local.INFO: TCP Data received {"connection_id":125809,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e996c70012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e996c70012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:32:03] local.INFO: Processing buffer {"connection_id":125809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e996c70012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:32:03] local.INFO: Packet analysis {"connection_id":125809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e99"} 
[2026-07-08 03:32:03] local.INFO: Extracted packet for processing {"connection_id":125809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e99"} 
[2026-07-08 03:32:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566110464001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783461670000,"timestamp_ms":1783461670000,"timestamp_seconds":1783461670,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e996c70"} 
[2026-07-08 03:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 03:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03: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-07-08 03:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566110464001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566110464001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:32:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:32:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566110464001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":125809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:32:03] local.INFO: GPS data processed {"connection_id":125809,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:32:03] local.INFO: Acknowledgment sent {"connection_id":125809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:32:34] local.INFO: TCP Data received {"connection_id":125809,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e996c70012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e996c70012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:32:34] local.INFO: Processing buffer {"connection_id":125809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e996c70012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:32:34] local.INFO: Packet analysis {"connection_id":125809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e99"} 
[2026-07-08 03:32:34] local.INFO: Extracted packet for processing {"connection_id":125809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e99"} 
[2026-07-08 03:32:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566110464001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783461670000,"timestamp_ms":1783461670000,"timestamp_seconds":1783461670,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e996c70"} 
[2026-07-08 03:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:32:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 03:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03: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-07-08 03:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566110464001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566110464001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:32:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:32:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566110464001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":125809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:32:34] local.INFO: GPS data processed {"connection_id":125809,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:32:34] local.INFO: Acknowledgment sent {"connection_id":125809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:32:57] local.INFO: TCP Data received {"connection_id":124981,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:32:57] local.INFO: Processing buffer {"connection_id":124981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:32:57] local.INFO: IMEI packet received {"connection_id":124981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":124981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:33:02] local.INFO: TCP Data received {"connection_id":124981,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:33:02] local.INFO: Processing buffer {"connection_id":124981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:33:02] local.INFO: IMEI packet received {"connection_id":124981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":124981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:33:03] local.INFO: TCP Data received {"connection_id":124981,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e996c70012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e996c70012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:33:03] local.INFO: Processing buffer {"connection_id":124981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e996c70012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:33:03] local.INFO: Packet analysis {"connection_id":124981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e99"} 
[2026-07-08 03:33:03] local.INFO: Extracted packet for processing {"connection_id":124981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e99"} 
[2026-07-08 03:33:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566110464001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783461670000,"timestamp_ms":1783461670000,"timestamp_seconds":1783461670,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e996c70"} 
[2026-07-08 03:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 03:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566110464001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566110464001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:33:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:33:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566110464001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":124981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:33:03] local.INFO: GPS data processed {"connection_id":124981,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:33:03] local.INFO: Acknowledgment sent {"connection_id":124981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:33:34] local.INFO: TCP Data received {"connection_id":124981,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e996c70012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e996c70012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:33:34] local.INFO: Processing buffer {"connection_id":124981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e996c70012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:33:34] local.INFO: Packet analysis {"connection_id":124981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e99"} 
[2026-07-08 03:33:34] local.INFO: Extracted packet for processing {"connection_id":124981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e99"} 
[2026-07-08 03:33:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566110464001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783461670000,"timestamp_ms":1783461670000,"timestamp_seconds":1783461670,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e996c70"} 
[2026-07-08 03:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 03:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03: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-07-08 03:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566110464001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566110464001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:33:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:33:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566110464001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":124981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":448999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:33:34] local.INFO: GPS data processed {"connection_id":124981,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:33:34] local.INFO: Acknowledgment sent {"connection_id":124981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:33:37] local.INFO: TCP Data received {"connection_id":125810,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125810,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:33:37] local.INFO: Processing buffer {"connection_id":125810,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:33:37] local.INFO: IMEI packet received {"connection_id":125810,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 03:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":125810,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:33:57] local.INFO: TCP Data received {"connection_id":125057,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125057,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:33:57] local.INFO: Processing buffer {"connection_id":125057,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:33:57] local.INFO: IMEI packet received {"connection_id":125057,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 03:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":125057,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:33:57] local.INFO: TCP Data received {"connection_id":127074,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:33:57] local.INFO: Processing buffer {"connection_id":127074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:33:57] local.INFO: IMEI packet received {"connection_id":127074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":127074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:34:02] local.INFO: TCP Data received {"connection_id":127074,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:34:02] local.INFO: Processing buffer {"connection_id":127074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:34:02] local.INFO: IMEI packet received {"connection_id":127074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":127074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:34:03] local.INFO: TCP Data received {"connection_id":127074,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e996c70012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e996c70012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:34:03] local.INFO: Processing buffer {"connection_id":127074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e996c70012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:34:03] local.INFO: Packet analysis {"connection_id":127074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e99"} 
[2026-07-08 03:34:03] local.INFO: Extracted packet for processing {"connection_id":127074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e99"} 
[2026-07-08 03:34:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566110464001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783461670000,"timestamp_ms":1783461670000,"timestamp_seconds":1783461670,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e996c70"} 
[2026-07-08 03:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":97,"data_length":795,"current_offset":136} 
[2026-07-08 03:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566110464001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566110464001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:34:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:34:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566110464001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":127074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:34:03] local.INFO: GPS data processed {"connection_id":127074,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:34:03] local.INFO: Acknowledgment sent {"connection_id":127074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:34:34] local.INFO: TCP Data received {"connection_id":127074,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e996c70012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e996c70012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:34:34] local.INFO: Processing buffer {"connection_id":127074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e996c70012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:34:34] local.INFO: Packet analysis {"connection_id":127074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e99"} 
[2026-07-08 03:34:34] local.INFO: Extracted packet for processing {"connection_id":127074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e99"} 
[2026-07-08 03:34:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566110464001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783461670000,"timestamp_ms":1783461670000,"timestamp_seconds":1783461670,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e996c70"} 
[2026-07-08 03:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 03:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566110464001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566110464001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:34:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:34:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566110464001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":127074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:34:34] local.INFO: GPS data processed {"connection_id":127074,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:34:34] local.INFO: Acknowledgment sent {"connection_id":127074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:34:57] local.INFO: TCP Data received {"connection_id":127075,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:34:57] local.INFO: Processing buffer {"connection_id":127075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:34:57] local.INFO: IMEI packet received {"connection_id":127075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":127075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:35:02] local.INFO: TCP Data received {"connection_id":127075,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:35:02] local.INFO: Processing buffer {"connection_id":127075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:35:02] local.INFO: IMEI packet received {"connection_id":127075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":127075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:35:03] local.INFO: TCP Data received {"connection_id":127075,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e996c70012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e996c70012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:35:03] local.INFO: Processing buffer {"connection_id":127075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e996c70012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:35:03] local.INFO: Packet analysis {"connection_id":127075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e99"} 
[2026-07-08 03:35:03] local.INFO: Extracted packet for processing {"connection_id":127075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e99"} 
[2026-07-08 03:35:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566110464001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783461670000,"timestamp_ms":1783461670000,"timestamp_seconds":1783461670,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e996c70"} 
[2026-07-08 03:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 03:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03: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-07-08 03:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566110464001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566110464001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:35:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:35:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566110464001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":127075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:35:03] local.INFO: GPS data processed {"connection_id":127075,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:35:03] local.INFO: Acknowledgment sent {"connection_id":127075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:35:34] local.INFO: TCP Data received {"connection_id":127075,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e996c70012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e996c70012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:35:34] local.INFO: Processing buffer {"connection_id":127075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e996c70012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:35:34] local.INFO: Packet analysis {"connection_id":127075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e99"} 
[2026-07-08 03:35:34] local.INFO: Extracted packet for processing {"connection_id":127075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e99"} 
[2026-07-08 03:35:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566110464001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783461670000,"timestamp_ms":1783461670000,"timestamp_seconds":1783461670,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e996c70"} 
[2026-07-08 03:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 03:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566110464001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566110464001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:35:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:35:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566110464001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":127075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:35:34] local.INFO: GPS data processed {"connection_id":127075,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:35:34] local.INFO: Acknowledgment sent {"connection_id":127075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:35:57] local.INFO: TCP Data received {"connection_id":125059,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:35:57] local.INFO: Processing buffer {"connection_id":125059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:35:57] local.INFO: IMEI packet received {"connection_id":125059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":125059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:36:02] local.INFO: TCP Data received {"connection_id":125059,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:36:02] local.INFO: Processing buffer {"connection_id":125059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:36:02] local.INFO: IMEI packet received {"connection_id":125059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":125059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:36:03] local.INFO: TCP Data received {"connection_id":125059,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e996c70012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e996c70012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:36:03] local.INFO: Processing buffer {"connection_id":125059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e996c70012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:36:03] local.INFO: Packet analysis {"connection_id":125059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e99"} 
[2026-07-08 03:36:03] local.INFO: Extracted packet for processing {"connection_id":125059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e99"} 
[2026-07-08 03:36:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566110464001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783461670000,"timestamp_ms":1783461670000,"timestamp_seconds":1783461670,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e996c70"} 
[2026-07-08 03:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 03:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566110464001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566110464001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:36:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:36:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566110464001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":125059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:36:03] local.INFO: GPS data processed {"connection_id":125059,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:36:03] local.INFO: Acknowledgment sent {"connection_id":125059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:36:34] local.INFO: TCP Data received {"connection_id":125059,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e996c70012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e996c70012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:36:34] local.INFO: Processing buffer {"connection_id":125059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e996c70012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:36:34] local.INFO: Packet analysis {"connection_id":125059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e99"} 
[2026-07-08 03:36:34] local.INFO: Extracted packet for processing {"connection_id":125059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e99"} 
[2026-07-08 03:36:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566110464001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783461670000,"timestamp_ms":1783461670000,"timestamp_seconds":1783461670,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e996c70"} 
[2026-07-08 03:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 03:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03: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-07-08 03:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566110464001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566110464001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:36:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:36:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566110464001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":125059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:36:34] local.INFO: GPS data processed {"connection_id":125059,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:36:34] local.INFO: Acknowledgment sent {"connection_id":125059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:36:57] local.INFO: TCP Data received {"connection_id":125812,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:36:57] local.INFO: Processing buffer {"connection_id":125812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:36:57] local.INFO: IMEI packet received {"connection_id":125812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":125812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:37:02] local.INFO: TCP Data received {"connection_id":125812,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:37:02] local.INFO: Processing buffer {"connection_id":125812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:37:02] local.INFO: IMEI packet received {"connection_id":125812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":125812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:37:03] local.INFO: TCP Data received {"connection_id":125812,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e9e0438012dc5eb400537d5a0003401442c..."} 
[2026-07-08 03:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e9e0438012dc5eb400537d5a0003401442c..."} 
[2026-07-08 03:37:03] local.INFO: Processing buffer {"connection_id":125812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e9e0438012dc5eb400537d5a0003401442c..."} 
[2026-07-08 03:37:03] local.INFO: Packet analysis {"connection_id":125812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e9e"} 
[2026-07-08 03:37:03] local.INFO: Extracted packet for processing {"connection_id":125812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e9e"} 
[2026-07-08 03:37:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566187520001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783461971000,"timestamp_ms":1783461971000,"timestamp_seconds":1783461971,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e9e0438"} 
[2026-07-08 03:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03: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-07-08 03:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566187520001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566187520001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:37:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:37:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566187520001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":125812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:37:03] local.INFO: GPS data processed {"connection_id":125812,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:37:03] local.INFO: Acknowledgment sent {"connection_id":125812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:37:34] local.INFO: TCP Data received {"connection_id":125812,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e9e0438012dc5eb400537d5a0003401442c..."} 
[2026-07-08 03:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e9e0438012dc5eb400537d5a0003401442c..."} 
[2026-07-08 03:37:34] local.INFO: Processing buffer {"connection_id":125812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e9e0438012dc5eb400537d5a0003401442c..."} 
[2026-07-08 03:37:34] local.INFO: Packet analysis {"connection_id":125812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e9e"} 
[2026-07-08 03:37:34] local.INFO: Extracted packet for processing {"connection_id":125812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e9e"} 
[2026-07-08 03:37:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566187520001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783461971000,"timestamp_ms":1783461971000,"timestamp_seconds":1783461971,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e9e0438"} 
[2026-07-08 03:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:37: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-07-08 03:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566187520001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566187520001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:37:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:37:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566187520001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":125812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:37:34] local.INFO: GPS data processed {"connection_id":125812,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:37:34] local.INFO: Acknowledgment sent {"connection_id":125812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:37:57] local.INFO: TCP Data received {"connection_id":125062,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:37:57] local.INFO: Processing buffer {"connection_id":125062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:37:57] local.INFO: IMEI packet received {"connection_id":125062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":125062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:38:02] local.INFO: TCP Data received {"connection_id":125062,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:38:02] local.INFO: Processing buffer {"connection_id":125062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:38:02] local.INFO: IMEI packet received {"connection_id":125062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":125062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:38:03] local.INFO: TCP Data received {"connection_id":125062,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e9e0438012dc5eb400537d5a0003401442c..."} 
[2026-07-08 03:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e9e0438012dc5eb400537d5a0003401442c..."} 
[2026-07-08 03:38:03] local.INFO: Processing buffer {"connection_id":125062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e9e0438012dc5eb400537d5a0003401442c..."} 
[2026-07-08 03:38:03] local.INFO: Packet analysis {"connection_id":125062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e9e"} 
[2026-07-08 03:38:03] local.INFO: Extracted packet for processing {"connection_id":125062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e9e"} 
[2026-07-08 03:38:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566187520001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783461971000,"timestamp_ms":1783461971000,"timestamp_seconds":1783461971,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e9e0438"} 
[2026-07-08 03:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03: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-07-08 03:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566187520001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566187520001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:38:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:38:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566187520001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":125062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:38:03] local.INFO: GPS data processed {"connection_id":125062,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:38:03] local.INFO: Acknowledgment sent {"connection_id":125062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:38:34] local.INFO: TCP Data received {"connection_id":125062,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e9e0438012dc5eb400537d5a0003401442c..."} 
[2026-07-08 03:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e9e0438012dc5eb400537d5a0003401442c..."} 
[2026-07-08 03:38:34] local.INFO: Processing buffer {"connection_id":125062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e9e0438012dc5eb400537d5a0003401442c..."} 
[2026-07-08 03:38:34] local.INFO: Packet analysis {"connection_id":125062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e9e"} 
[2026-07-08 03:38:34] local.INFO: Extracted packet for processing {"connection_id":125062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e9e"} 
[2026-07-08 03:38:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566187520001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783461971000,"timestamp_ms":1783461971000,"timestamp_seconds":1783461971,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e9e0438"} 
[2026-07-08 03:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:38: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-07-08 03: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-07-08 03:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566187520001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566187520001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:38:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:38:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566187520001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":125062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:38:34] local.INFO: GPS data processed {"connection_id":125062,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:38:34] local.INFO: Acknowledgment sent {"connection_id":125062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:38:57] local.INFO: TCP Data received {"connection_id":124982,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:38:57] local.INFO: Processing buffer {"connection_id":124982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:38:57] local.INFO: IMEI packet received {"connection_id":124982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":124982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:39:02] local.INFO: TCP Data received {"connection_id":124982,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:39:02] local.INFO: Processing buffer {"connection_id":124982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:39:02] local.INFO: IMEI packet received {"connection_id":124982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":124982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:39:03] local.INFO: TCP Data received {"connection_id":124982,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e9e0438012dc5eb400537d5a0003401442c..."} 
[2026-07-08 03:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e9e0438012dc5eb400537d5a0003401442c..."} 
[2026-07-08 03:39:03] local.INFO: Processing buffer {"connection_id":124982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e9e0438012dc5eb400537d5a0003401442c..."} 
[2026-07-08 03:39:03] local.INFO: Packet analysis {"connection_id":124982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e9e"} 
[2026-07-08 03:39:03] local.INFO: Extracted packet for processing {"connection_id":124982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e9e"} 
[2026-07-08 03:39:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566187520001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783461971000,"timestamp_ms":1783461971000,"timestamp_seconds":1783461971,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e9e0438"} 
[2026-07-08 03:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:39: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-07-08 03: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-07-08 03:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566187520001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566187520001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:39:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:39:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566187520001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":124982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:39:03] local.INFO: GPS data processed {"connection_id":124982,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:39:03] local.INFO: Acknowledgment sent {"connection_id":124982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:39:22] local.INFO: TCP Data received {"connection_id":127077,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127077,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:39:22] local.INFO: Processing buffer {"connection_id":127077,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:39:22] local.INFO: IMEI packet received {"connection_id":127077,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 03:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":127077,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:39:34] local.INFO: TCP Data received {"connection_id":124982,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e9e0438012dc5eb400537d5a0003401442c..."} 
[2026-07-08 03:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e9e0438012dc5eb400537d5a0003401442c..."} 
[2026-07-08 03:39:34] local.INFO: Processing buffer {"connection_id":124982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e9e0438012dc5eb400537d5a0003401442c..."} 
[2026-07-08 03:39:34] local.INFO: Packet analysis {"connection_id":124982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e9e"} 
[2026-07-08 03:39:34] local.INFO: Extracted packet for processing {"connection_id":124982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e9e"} 
[2026-07-08 03:39:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566187520001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783461971000,"timestamp_ms":1783461971000,"timestamp_seconds":1783461971,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e9e0438"} 
[2026-07-08 03:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:39: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-07-08 03: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-07-08 03:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566187520001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566187520001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:39:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:39:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566187520001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":124982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:39:34] local.INFO: GPS data processed {"connection_id":124982,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:39:34] local.INFO: Acknowledgment sent {"connection_id":124982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:39:57] local.INFO: TCP Data received {"connection_id":127078,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:39:57] local.INFO: Processing buffer {"connection_id":127078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:39:57] local.INFO: IMEI packet received {"connection_id":127078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":127078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:39:57] local.INFO: TCP Data received {"connection_id":125063,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125063,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:39:57] local.INFO: Processing buffer {"connection_id":125063,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:39:57] local.INFO: IMEI packet received {"connection_id":125063,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 03:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":125063,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:40:02] local.INFO: TCP Data received {"connection_id":127078,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:40:02] local.INFO: Processing buffer {"connection_id":127078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:40:02] local.INFO: IMEI packet received {"connection_id":127078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":127078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:40:03] local.INFO: TCP Data received {"connection_id":127078,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e9e0438012dc5eb400537d5a0003401442c..."} 
[2026-07-08 03:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e9e0438012dc5eb400537d5a0003401442c..."} 
[2026-07-08 03:40:03] local.INFO: Processing buffer {"connection_id":127078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e9e0438012dc5eb400537d5a0003401442c..."} 
[2026-07-08 03:40:03] local.INFO: Packet analysis {"connection_id":127078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e9e"} 
[2026-07-08 03:40:03] local.INFO: Extracted packet for processing {"connection_id":127078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e9e"} 
[2026-07-08 03:40:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566187520001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783461971000,"timestamp_ms":1783461971000,"timestamp_seconds":1783461971,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e9e0438"} 
[2026-07-08 03:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:40: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-07-08 03:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566187520001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566187520001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:40:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:40:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566187520001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":127078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:40:03] local.INFO: GPS data processed {"connection_id":127078,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:40:03] local.INFO: Acknowledgment sent {"connection_id":127078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:40:34] local.INFO: TCP Data received {"connection_id":127078,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e9e0438012dc5eb400537d5a0003401442c..."} 
[2026-07-08 03:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e9e0438012dc5eb400537d5a0003401442c..."} 
[2026-07-08 03:40:34] local.INFO: Processing buffer {"connection_id":127078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e9e0438012dc5eb400537d5a0003401442c..."} 
[2026-07-08 03:40:34] local.INFO: Packet analysis {"connection_id":127078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e9e"} 
[2026-07-08 03:40:34] local.INFO: Extracted packet for processing {"connection_id":127078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e9e"} 
[2026-07-08 03:40:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566187520001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783461971000,"timestamp_ms":1783461971000,"timestamp_seconds":1783461971,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e9e0438"} 
[2026-07-08 03:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:40: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-07-08 03:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566187520001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566187520001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:40:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:40:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566187520001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":127078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:40:34] local.INFO: GPS data processed {"connection_id":127078,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:40:34] local.INFO: Acknowledgment sent {"connection_id":127078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:40:57] local.INFO: TCP Data received {"connection_id":124983,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:40:57] local.INFO: Processing buffer {"connection_id":124983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:40:57] local.INFO: IMEI packet received {"connection_id":124983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":124983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:41:02] local.INFO: TCP Data received {"connection_id":124983,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:41:02] local.INFO: Processing buffer {"connection_id":124983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:41:02] local.INFO: IMEI packet received {"connection_id":124983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":124983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:41:03] local.INFO: TCP Data received {"connection_id":124983,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e9e0438012dc5eb400537d5a0003401442c..."} 
[2026-07-08 03:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e9e0438012dc5eb400537d5a0003401442c..."} 
[2026-07-08 03:41:03] local.INFO: Processing buffer {"connection_id":124983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e9e0438012dc5eb400537d5a0003401442c..."} 
[2026-07-08 03:41:03] local.INFO: Packet analysis {"connection_id":124983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e9e"} 
[2026-07-08 03:41:03] local.INFO: Extracted packet for processing {"connection_id":124983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e9e"} 
[2026-07-08 03:41:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566187520001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783461971000,"timestamp_ms":1783461971000,"timestamp_seconds":1783461971,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e9e0438"} 
[2026-07-08 03:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:41: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-07-08 03: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-07-08 03:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566187520001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566187520001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:41:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:41:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566187520001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":124983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:41:03] local.INFO: GPS data processed {"connection_id":124983,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:41:03] local.INFO: Acknowledgment sent {"connection_id":124983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:41:34] local.INFO: TCP Data received {"connection_id":124983,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3e9e0438012dc5eb400537d5a0003401442c..."} 
[2026-07-08 03:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3e9e0438012dc5eb400537d5a0003401442c..."} 
[2026-07-08 03:41:34] local.INFO: Processing buffer {"connection_id":124983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3e9e0438012dc5eb400537d5a0003401442c..."} 
[2026-07-08 03:41:34] local.INFO: Packet analysis {"connection_id":124983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3e9e"} 
[2026-07-08 03:41:34] local.INFO: Extracted packet for processing {"connection_id":124983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3e9e"} 
[2026-07-08 03:41:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566187520001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783461971000,"timestamp_ms":1783461971000,"timestamp_seconds":1783461971,"priority":1,"record_length":96,"hex_timestamp":"0000019f3e9e0438"} 
[2026-07-08 03:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:41: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-07-08 03:41:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566187520001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566187520001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:41:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:41:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566187520001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":124983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:41:34] local.INFO: GPS data processed {"connection_id":124983,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:41:34] local.INFO: Acknowledgment sent {"connection_id":124983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:41:57] local.INFO: TCP Data received {"connection_id":124984,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:41:57] local.INFO: Processing buffer {"connection_id":124984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:41:57] local.INFO: IMEI packet received {"connection_id":124984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":124984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:42:02] local.INFO: TCP Data received {"connection_id":124984,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:42:02] local.INFO: Processing buffer {"connection_id":124984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:42:02] local.INFO: IMEI packet received {"connection_id":124984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":124984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:42:03] local.INFO: TCP Data received {"connection_id":124984,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ea29c00012dc5eb400537d5a0003401442b..."} 
[2026-07-08 03:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ea29c00012dc5eb400537d5a0003401442b..."} 
[2026-07-08 03:42:03] local.INFO: Processing buffer {"connection_id":124984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ea29c00012dc5eb400537d5a0003401442b..."} 
[2026-07-08 03:42:03] local.INFO: Packet analysis {"connection_id":124984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ea2"} 
[2026-07-08 03:42:03] local.INFO: Extracted packet for processing {"connection_id":124984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ea2"} 
[2026-07-08 03:42:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566264576001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783462272000,"timestamp_ms":1783462272000,"timestamp_seconds":1783462272,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ea29c00"} 
[2026-07-08 03:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:42: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-07-08 03:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566264576001,"66":25321,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566264576001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:42:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:42:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566264576001,"power":25321,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":124984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:42:03] local.INFO: GPS data processed {"connection_id":124984,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:42:03] local.INFO: Acknowledgment sent {"connection_id":124984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:42:34] local.INFO: TCP Data received {"connection_id":124984,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ea29c00012dc5eb400537d5a0003401442b..."} 
[2026-07-08 03:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ea29c00012dc5eb400537d5a0003401442b..."} 
[2026-07-08 03:42:34] local.INFO: Processing buffer {"connection_id":124984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ea29c00012dc5eb400537d5a0003401442b..."} 
[2026-07-08 03:42:34] local.INFO: Packet analysis {"connection_id":124984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ea2"} 
[2026-07-08 03:42:34] local.INFO: Extracted packet for processing {"connection_id":124984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ea2"} 
[2026-07-08 03:42:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566264576001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783462272000,"timestamp_ms":1783462272000,"timestamp_seconds":1783462272,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ea29c00"} 
[2026-07-08 03:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:42: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-07-08 03: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-07-08 03:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566264576001,"66":25321,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566264576001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:42:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:42:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566264576001,"power":25321,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":124984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:42:34] local.INFO: GPS data processed {"connection_id":124984,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:42:34] local.INFO: Acknowledgment sent {"connection_id":124984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:42:57] local.INFO: TCP Data received {"connection_id":127080,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:42:57] local.INFO: Processing buffer {"connection_id":127080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:42:57] local.INFO: IMEI packet received {"connection_id":127080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":127080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:43:02] local.INFO: TCP Data received {"connection_id":127080,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:43:02] local.INFO: Processing buffer {"connection_id":127080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:43:02] local.INFO: IMEI packet received {"connection_id":127080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":127080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:43:03] local.INFO: TCP Data received {"connection_id":127080,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ea29c00012dc5eb400537d5a0003401442b..."} 
[2026-07-08 03:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ea29c00012dc5eb400537d5a0003401442b..."} 
[2026-07-08 03:43:03] local.INFO: Processing buffer {"connection_id":127080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ea29c00012dc5eb400537d5a0003401442b..."} 
[2026-07-08 03:43:03] local.INFO: Packet analysis {"connection_id":127080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ea2"} 
[2026-07-08 03:43:03] local.INFO: Extracted packet for processing {"connection_id":127080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ea2"} 
[2026-07-08 03:43:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566264576001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783462272000,"timestamp_ms":1783462272000,"timestamp_seconds":1783462272,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ea29c00"} 
[2026-07-08 03:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:43: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-07-08 03: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-07-08 03:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566264576001,"66":25321,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566264576001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:43:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:43:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566264576001,"power":25321,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":127080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:43:03] local.INFO: GPS data processed {"connection_id":127080,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:43:03] local.INFO: Acknowledgment sent {"connection_id":127080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:43:34] local.INFO: TCP Data received {"connection_id":127080,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ea29c00012dc5eb400537d5a0003401442b..."} 
[2026-07-08 03:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ea29c00012dc5eb400537d5a0003401442b..."} 
[2026-07-08 03:43:34] local.INFO: Processing buffer {"connection_id":127080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ea29c00012dc5eb400537d5a0003401442b..."} 
[2026-07-08 03:43:34] local.INFO: Packet analysis {"connection_id":127080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ea2"} 
[2026-07-08 03:43:34] local.INFO: Extracted packet for processing {"connection_id":127080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ea2"} 
[2026-07-08 03:43:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566264576001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783462272000,"timestamp_ms":1783462272000,"timestamp_seconds":1783462272,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ea29c00"} 
[2026-07-08 03:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:43: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-07-08 03:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566264576001,"66":25321,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566264576001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:43:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:43:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566264576001,"power":25321,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":127080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:43:34] local.INFO: GPS data processed {"connection_id":127080,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:43:34] local.INFO: Acknowledgment sent {"connection_id":127080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:43:57] local.INFO: TCP Data received {"connection_id":125815,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:43:57] local.INFO: Processing buffer {"connection_id":125815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:43:57] local.INFO: IMEI packet received {"connection_id":125815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":125815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:44:02] local.INFO: TCP Data received {"connection_id":125815,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:44:02] local.INFO: Processing buffer {"connection_id":125815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:44:02] local.INFO: IMEI packet received {"connection_id":125815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":125815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:44:03] local.INFO: TCP Data received {"connection_id":125815,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ea29c00012dc5eb400537d5a0003401442b..."} 
[2026-07-08 03:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ea29c00012dc5eb400537d5a0003401442b..."} 
[2026-07-08 03:44:03] local.INFO: Processing buffer {"connection_id":125815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ea29c00012dc5eb400537d5a0003401442b..."} 
[2026-07-08 03:44:03] local.INFO: Packet analysis {"connection_id":125815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ea2"} 
[2026-07-08 03:44:03] local.INFO: Extracted packet for processing {"connection_id":125815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ea2"} 
[2026-07-08 03:44:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566264576001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783462272000,"timestamp_ms":1783462272000,"timestamp_seconds":1783462272,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ea29c00"} 
[2026-07-08 03:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:44: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-07-08 03:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566264576001,"66":25321,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566264576001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:44:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:44:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566264576001,"power":25321,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":125815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:44:03] local.INFO: GPS data processed {"connection_id":125815,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:44:03] local.INFO: Acknowledgment sent {"connection_id":125815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:44:34] local.INFO: TCP Data received {"connection_id":125815,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ea29c00012dc5eb400537d5a0003401442b..."} 
[2026-07-08 03:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ea29c00012dc5eb400537d5a0003401442b..."} 
[2026-07-08 03:44:34] local.INFO: Processing buffer {"connection_id":125815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ea29c00012dc5eb400537d5a0003401442b..."} 
[2026-07-08 03:44:34] local.INFO: Packet analysis {"connection_id":125815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ea2"} 
[2026-07-08 03:44:34] local.INFO: Extracted packet for processing {"connection_id":125815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ea2"} 
[2026-07-08 03:44:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566264576001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783462272000,"timestamp_ms":1783462272000,"timestamp_seconds":1783462272,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ea29c00"} 
[2026-07-08 03:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:44: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-07-08 03:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566264576001,"66":25321,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566264576001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:44:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:44:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566264576001,"power":25321,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":125815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:44:34] local.INFO: GPS data processed {"connection_id":125815,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:44:34] local.INFO: Acknowledgment sent {"connection_id":125815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:44:57] local.INFO: TCP Data received {"connection_id":125064,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:44:57] local.INFO: Processing buffer {"connection_id":125064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:44:57] local.INFO: IMEI packet received {"connection_id":125064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":125064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:45:02] local.INFO: TCP Data received {"connection_id":125064,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:45:02] local.INFO: Processing buffer {"connection_id":125064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:45:02] local.INFO: IMEI packet received {"connection_id":125064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":125064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:45:03] local.INFO: TCP Data received {"connection_id":125064,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ea29c00012dc5eb400537d5a0003401442b..."} 
[2026-07-08 03:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ea29c00012dc5eb400537d5a0003401442b..."} 
[2026-07-08 03:45:03] local.INFO: Processing buffer {"connection_id":125064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ea29c00012dc5eb400537d5a0003401442b..."} 
[2026-07-08 03:45:03] local.INFO: Packet analysis {"connection_id":125064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ea2"} 
[2026-07-08 03:45:03] local.INFO: Extracted packet for processing {"connection_id":125064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ea2"} 
[2026-07-08 03:45:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566264576001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783462272000,"timestamp_ms":1783462272000,"timestamp_seconds":1783462272,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ea29c00"} 
[2026-07-08 03:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:45: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-07-08 03: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-07-08 03:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566264576001,"66":25321,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566264576001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:45:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:45:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566264576001,"power":25321,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":125064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:45:03] local.INFO: GPS data processed {"connection_id":125064,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:45:03] local.INFO: Acknowledgment sent {"connection_id":125064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:45:32] local.INFO: TCP Data received {"connection_id":125065,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125065,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:45:32] local.INFO: Processing buffer {"connection_id":125065,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:45:32] local.INFO: IMEI packet received {"connection_id":125065,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 03:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":125065,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:45:34] local.INFO: TCP Data received {"connection_id":125064,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ea29c00012dc5eb400537d5a0003401442b..."} 
[2026-07-08 03:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ea29c00012dc5eb400537d5a0003401442b..."} 
[2026-07-08 03:45:34] local.INFO: Processing buffer {"connection_id":125064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ea29c00012dc5eb400537d5a0003401442b..."} 
[2026-07-08 03:45:34] local.INFO: Packet analysis {"connection_id":125064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ea2"} 
[2026-07-08 03:45:34] local.INFO: Extracted packet for processing {"connection_id":125064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ea2"} 
[2026-07-08 03:45:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566264576001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783462272000,"timestamp_ms":1783462272000,"timestamp_seconds":1783462272,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ea29c00"} 
[2026-07-08 03:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:45:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03: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-07-08 03: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-07-08 03:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566264576001,"66":25321,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566264576001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:45:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:45:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566264576001,"power":25321,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":125064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:45:34] local.INFO: GPS data processed {"connection_id":125064,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:45:34] local.INFO: Acknowledgment sent {"connection_id":125064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:45:57] local.INFO: TCP Data received {"connection_id":124986,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:45:57] local.INFO: Processing buffer {"connection_id":124986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:45:57] local.INFO: IMEI packet received {"connection_id":124986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":124986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:45:59] local.INFO: TCP Data received {"connection_id":125066,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125066,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:45:59] local.INFO: Processing buffer {"connection_id":125066,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:45:59] local.INFO: IMEI packet received {"connection_id":125066,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 03:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":125066,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:46:02] local.INFO: TCP Data received {"connection_id":124986,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:46:02] local.INFO: Processing buffer {"connection_id":124986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:46:02] local.INFO: IMEI packet received {"connection_id":124986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":124986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:46:03] local.INFO: TCP Data received {"connection_id":124986,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ea29c00012dc5eb400537d5a0003401442b..."} 
[2026-07-08 03:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ea29c00012dc5eb400537d5a0003401442b..."} 
[2026-07-08 03:46:03] local.INFO: Processing buffer {"connection_id":124986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ea29c00012dc5eb400537d5a0003401442b..."} 
[2026-07-08 03:46:03] local.INFO: Packet analysis {"connection_id":124986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ea2"} 
[2026-07-08 03:46:03] local.INFO: Extracted packet for processing {"connection_id":124986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ea2"} 
[2026-07-08 03:46:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566264576001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783462272000,"timestamp_ms":1783462272000,"timestamp_seconds":1783462272,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ea29c00"} 
[2026-07-08 03:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:46: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-07-08 03: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-07-08 03:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566264576001,"66":25321,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566264576001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:46:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:46:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566264576001,"power":25321,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":124986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:46:03] local.INFO: GPS data processed {"connection_id":124986,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:46:03] local.INFO: Acknowledgment sent {"connection_id":124986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:46:34] local.INFO: TCP Data received {"connection_id":124986,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ea29c00012dc5eb400537d5a0003401442b..."} 
[2026-07-08 03:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ea29c00012dc5eb400537d5a0003401442b..."} 
[2026-07-08 03:46:34] local.INFO: Processing buffer {"connection_id":124986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ea29c00012dc5eb400537d5a0003401442b..."} 
[2026-07-08 03:46:34] local.INFO: Packet analysis {"connection_id":124986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ea2"} 
[2026-07-08 03:46:34] local.INFO: Extracted packet for processing {"connection_id":124986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ea2"} 
[2026-07-08 03:46:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566264576001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783462272000,"timestamp_ms":1783462272000,"timestamp_seconds":1783462272,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ea29c00"} 
[2026-07-08 03:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:46: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-07-08 03:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566264576001,"66":25321,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566264576001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:46:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:46:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566264576001,"power":25321,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":124986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:46:34] local.INFO: GPS data processed {"connection_id":124986,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:46:34] local.INFO: Acknowledgment sent {"connection_id":124986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:46:57] local.INFO: TCP Data received {"connection_id":127081,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:46:57] local.INFO: Processing buffer {"connection_id":127081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:46:57] local.INFO: IMEI packet received {"connection_id":127081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":127081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:47:02] local.INFO: TCP Data received {"connection_id":127081,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:47:02] local.INFO: Processing buffer {"connection_id":127081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:47:02] local.INFO: IMEI packet received {"connection_id":127081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":127081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:47:03] local.INFO: TCP Data received {"connection_id":127081,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ea733c8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ea733c8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:47:03] local.INFO: Processing buffer {"connection_id":127081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ea733c8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:47:03] local.INFO: Packet analysis {"connection_id":127081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ea7"} 
[2026-07-08 03:47:03] local.INFO: Extracted packet for processing {"connection_id":127081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ea7"} 
[2026-07-08 03:47:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566341632001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783462573000,"timestamp_ms":1783462573000,"timestamp_seconds":1783462573,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ea733c8"} 
[2026-07-08 03:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 03:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03: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-07-08 03:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566341632001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566341632001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:47:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:47:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566341632001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":127081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:47:03] local.INFO: GPS data processed {"connection_id":127081,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:47:03] local.INFO: Acknowledgment sent {"connection_id":127081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:47:34] local.INFO: TCP Data received {"connection_id":127081,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ea733c8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ea733c8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:47:34] local.INFO: Processing buffer {"connection_id":127081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ea733c8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:47:34] local.INFO: Packet analysis {"connection_id":127081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ea7"} 
[2026-07-08 03:47:34] local.INFO: Extracted packet for processing {"connection_id":127081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ea7"} 
[2026-07-08 03:47:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566341632001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783462573000,"timestamp_ms":1783462573000,"timestamp_seconds":1783462573,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ea733c8"} 
[2026-07-08 03:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 03:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566341632001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566341632001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:47:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:47:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566341632001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":127081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:47:34] local.INFO: GPS data processed {"connection_id":127081,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:47:34] local.INFO: Acknowledgment sent {"connection_id":127081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:47:57] local.INFO: TCP Data received {"connection_id":127082,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:47:57] local.INFO: Processing buffer {"connection_id":127082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:47:57] local.INFO: IMEI packet received {"connection_id":127082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":127082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:48:02] local.INFO: TCP Data received {"connection_id":127082,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:48:02] local.INFO: Processing buffer {"connection_id":127082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:48:02] local.INFO: IMEI packet received {"connection_id":127082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":127082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:48:03] local.INFO: TCP Data received {"connection_id":127082,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ea733c8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ea733c8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:48:03] local.INFO: Processing buffer {"connection_id":127082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ea733c8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:48:03] local.INFO: Packet analysis {"connection_id":127082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ea7"} 
[2026-07-08 03:48:03] local.INFO: Extracted packet for processing {"connection_id":127082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ea7"} 
[2026-07-08 03:48:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566341632001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783462573000,"timestamp_ms":1783462573000,"timestamp_seconds":1783462573,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ea733c8"} 
[2026-07-08 03:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 03:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566341632001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566341632001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:48:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:48:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566341632001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":127082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:48:03] local.INFO: GPS data processed {"connection_id":127082,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:48:03] local.INFO: Acknowledgment sent {"connection_id":127082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:48:34] local.INFO: TCP Data received {"connection_id":127082,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ea733c8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ea733c8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:48:34] local.INFO: Processing buffer {"connection_id":127082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ea733c8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:48:34] local.INFO: Packet analysis {"connection_id":127082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ea7"} 
[2026-07-08 03:48:34] local.INFO: Extracted packet for processing {"connection_id":127082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ea7"} 
[2026-07-08 03:48:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566341632001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783462573000,"timestamp_ms":1783462573000,"timestamp_seconds":1783462573,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ea733c8"} 
[2026-07-08 03:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 03:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566341632001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566341632001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:48:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:48:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566341632001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":127082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:48:34] local.INFO: GPS data processed {"connection_id":127082,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:48:34] local.INFO: Acknowledgment sent {"connection_id":127082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:48:57] local.INFO: TCP Data received {"connection_id":125067,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:48:57] local.INFO: Processing buffer {"connection_id":125067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:48:57] local.INFO: IMEI packet received {"connection_id":125067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":125067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:49:02] local.INFO: TCP Data received {"connection_id":125067,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:49:02] local.INFO: Processing buffer {"connection_id":125067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:49:02] local.INFO: IMEI packet received {"connection_id":125067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":125067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:49:03] local.INFO: TCP Data received {"connection_id":125067,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ea733c8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ea733c8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:49:03] local.INFO: Processing buffer {"connection_id":125067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ea733c8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:49:03] local.INFO: Packet analysis {"connection_id":125067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ea7"} 
[2026-07-08 03:49:03] local.INFO: Extracted packet for processing {"connection_id":125067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ea7"} 
[2026-07-08 03:49:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566341632001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783462573000,"timestamp_ms":1783462573000,"timestamp_seconds":1783462573,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ea733c8"} 
[2026-07-08 03:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 03:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03: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-07-08 03:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566341632001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566341632001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:49:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:49:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566341632001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":125067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:49:03] local.INFO: GPS data processed {"connection_id":125067,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:49:03] local.INFO: Acknowledgment sent {"connection_id":125067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:49:34] local.INFO: TCP Data received {"connection_id":125067,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ea733c8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ea733c8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:49:34] local.INFO: Processing buffer {"connection_id":125067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ea733c8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:49:34] local.INFO: Packet analysis {"connection_id":125067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ea7"} 
[2026-07-08 03:49:34] local.INFO: Extracted packet for processing {"connection_id":125067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ea7"} 
[2026-07-08 03:49:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566341632001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783462573000,"timestamp_ms":1783462573000,"timestamp_seconds":1783462573,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ea733c8"} 
[2026-07-08 03:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 03:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03: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-07-08 03:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566341632001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566341632001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:49:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:49:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566341632001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":125067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:49:34] local.INFO: GPS data processed {"connection_id":125067,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:49:34] local.INFO: Acknowledgment sent {"connection_id":125067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:49:57] local.INFO: TCP Data received {"connection_id":125068,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:49:57] local.INFO: Processing buffer {"connection_id":125068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:49:57] local.INFO: IMEI packet received {"connection_id":125068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":125068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:50:02] local.INFO: TCP Data received {"connection_id":125068,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:50:02] local.INFO: Processing buffer {"connection_id":125068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:50:02] local.INFO: IMEI packet received {"connection_id":125068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":125068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:50:03] local.INFO: TCP Data received {"connection_id":125068,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ea733c8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ea733c8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:50:03] local.INFO: Processing buffer {"connection_id":125068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ea733c8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:50:03] local.INFO: Packet analysis {"connection_id":125068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ea7"} 
[2026-07-08 03:50:03] local.INFO: Extracted packet for processing {"connection_id":125068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ea7"} 
[2026-07-08 03:50:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566341632001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783462573000,"timestamp_ms":1783462573000,"timestamp_seconds":1783462573,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ea733c8"} 
[2026-07-08 03:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 03:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:50: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-07-08 03:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566341632001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566341632001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:50:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:50:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566341632001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":125068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:50:03] local.INFO: GPS data processed {"connection_id":125068,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:50:03] local.INFO: Acknowledgment sent {"connection_id":125068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:50:34] local.INFO: TCP Data received {"connection_id":125068,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ea733c8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ea733c8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:50:34] local.INFO: Processing buffer {"connection_id":125068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ea733c8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:50:34] local.INFO: Packet analysis {"connection_id":125068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ea7"} 
[2026-07-08 03:50:34] local.INFO: Extracted packet for processing {"connection_id":125068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ea7"} 
[2026-07-08 03:50:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566341632001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783462573000,"timestamp_ms":1783462573000,"timestamp_seconds":1783462573,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ea733c8"} 
[2026-07-08 03:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 03:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03: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-07-08 03:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:50: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-07-08 03:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566341632001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566341632001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:50:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:50:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566341632001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":125068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:50:34] local.INFO: GPS data processed {"connection_id":125068,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:50:34] local.INFO: Acknowledgment sent {"connection_id":125068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:50:57] local.INFO: TCP Data received {"connection_id":125819,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:50:57] local.INFO: Processing buffer {"connection_id":125819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:50:57] local.INFO: IMEI packet received {"connection_id":125819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":125819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:51:02] local.INFO: TCP Data received {"connection_id":125819,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:51:02] local.INFO: Processing buffer {"connection_id":125819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:51:02] local.INFO: IMEI packet received {"connection_id":125819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":125819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:51:03] local.INFO: TCP Data received {"connection_id":125819,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ea733c8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ea733c8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:51:03] local.INFO: Processing buffer {"connection_id":125819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ea733c8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:51:03] local.INFO: Packet analysis {"connection_id":125819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ea7"} 
[2026-07-08 03:51:03] local.INFO: Extracted packet for processing {"connection_id":125819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ea7"} 
[2026-07-08 03:51:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566341632001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783462573000,"timestamp_ms":1783462573000,"timestamp_seconds":1783462573,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ea733c8"} 
[2026-07-08 03:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 03:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03: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-07-08 03:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:51: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-07-08 03:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566341632001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566341632001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:51:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:51:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566341632001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":125819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:51:03] local.INFO: GPS data processed {"connection_id":125819,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:51:03] local.INFO: Acknowledgment sent {"connection_id":125819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:51:34] local.INFO: TCP Data received {"connection_id":125819,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ea733c8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ea733c8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:51:34] local.INFO: Processing buffer {"connection_id":125819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ea733c8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 03:51:34] local.INFO: Packet analysis {"connection_id":125819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ea7"} 
[2026-07-08 03:51:34] local.INFO: Extracted packet for processing {"connection_id":125819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ea7"} 
[2026-07-08 03:51:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566341632001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783462573000,"timestamp_ms":1783462573000,"timestamp_seconds":1783462573,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ea733c8"} 
[2026-07-08 03:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 03:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03: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-07-08 03:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566341632001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566341632001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:51:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:51:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566341632001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":125819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:51:34] local.INFO: GPS data processed {"connection_id":125819,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:51:34] local.INFO: Acknowledgment sent {"connection_id":125819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:51:37] local.INFO: TCP Data received {"connection_id":127083,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127083,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:51:37] local.INFO: Processing buffer {"connection_id":127083,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:51:37] local.INFO: IMEI packet received {"connection_id":127083,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 03:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":127083,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:51:55] local.INFO: TCP Data received {"connection_id":125820,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125820,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:51:55] local.INFO: Processing buffer {"connection_id":125820,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:51:55] local.INFO: IMEI packet received {"connection_id":125820,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 03:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":125820,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:51:57] local.INFO: TCP Data received {"connection_id":125821,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:51:57] local.INFO: Processing buffer {"connection_id":125821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:51:57] local.INFO: IMEI packet received {"connection_id":125821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":125821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:52:02] local.INFO: TCP Data received {"connection_id":125821,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:52:02] local.INFO: Processing buffer {"connection_id":125821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:52:02] local.INFO: IMEI packet received {"connection_id":125821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":125821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:52:03] local.INFO: TCP Data received {"connection_id":125821,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eabcb90012dc5eb400537d5a00034014429..."} 
[2026-07-08 03:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eabcb90012dc5eb400537d5a00034014429..."} 
[2026-07-08 03:52:03] local.INFO: Processing buffer {"connection_id":125821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eabcb90012dc5eb400537d5a00034014429..."} 
[2026-07-08 03:52:03] local.INFO: Packet analysis {"connection_id":125821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eab"} 
[2026-07-08 03:52:03] local.INFO: Extracted packet for processing {"connection_id":125821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eab"} 
[2026-07-08 03:52:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566418688001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783462874000,"timestamp_ms":1783462874000,"timestamp_seconds":1783462874,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eabcb90"} 
[2026-07-08 03:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:52: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-07-08 03:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566418688001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566418688001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:52:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:52:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566418688001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":125821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:52:03] local.INFO: GPS data processed {"connection_id":125821,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:52:03] local.INFO: Acknowledgment sent {"connection_id":125821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:52:34] local.INFO: TCP Data received {"connection_id":125821,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eabcb90012dc5eb400537d5a00034014429..."} 
[2026-07-08 03:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eabcb90012dc5eb400537d5a00034014429..."} 
[2026-07-08 03:52:34] local.INFO: Processing buffer {"connection_id":125821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eabcb90012dc5eb400537d5a00034014429..."} 
[2026-07-08 03:52:34] local.INFO: Packet analysis {"connection_id":125821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eab"} 
[2026-07-08 03:52:34] local.INFO: Extracted packet for processing {"connection_id":125821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eab"} 
[2026-07-08 03:52:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566418688001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783462874000,"timestamp_ms":1783462874000,"timestamp_seconds":1783462874,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eabcb90"} 
[2026-07-08 03:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:52:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:52:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566418688001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566418688001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:52:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:52:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566418688001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":125821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:52:34] local.INFO: GPS data processed {"connection_id":125821,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:52:34] local.INFO: Acknowledgment sent {"connection_id":125821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:52:57] local.INFO: TCP Data received {"connection_id":124988,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:52:57] local.INFO: Processing buffer {"connection_id":124988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:52:57] local.INFO: IMEI packet received {"connection_id":124988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":124988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:53:02] local.INFO: TCP Data received {"connection_id":124988,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:53:02] local.INFO: Processing buffer {"connection_id":124988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:53:02] local.INFO: IMEI packet received {"connection_id":124988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":124988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:53:03] local.INFO: TCP Data received {"connection_id":124988,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eabcb90012dc5eb400537d5a00034014429..."} 
[2026-07-08 03:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eabcb90012dc5eb400537d5a00034014429..."} 
[2026-07-08 03:53:03] local.INFO: Processing buffer {"connection_id":124988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eabcb90012dc5eb400537d5a00034014429..."} 
[2026-07-08 03:53:03] local.INFO: Packet analysis {"connection_id":124988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eab"} 
[2026-07-08 03:53:03] local.INFO: Extracted packet for processing {"connection_id":124988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eab"} 
[2026-07-08 03:53:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566418688001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783462874000,"timestamp_ms":1783462874000,"timestamp_seconds":1783462874,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eabcb90"} 
[2026-07-08 03:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:53: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-07-08 03:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566418688001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566418688001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:53:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:53:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566418688001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":124988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:53:03] local.INFO: GPS data processed {"connection_id":124988,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:53:03] local.INFO: Acknowledgment sent {"connection_id":124988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:53:34] local.INFO: TCP Data received {"connection_id":124988,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eabcb90012dc5eb400537d5a00034014429..."} 
[2026-07-08 03:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eabcb90012dc5eb400537d5a00034014429..."} 
[2026-07-08 03:53:34] local.INFO: Processing buffer {"connection_id":124988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eabcb90012dc5eb400537d5a00034014429..."} 
[2026-07-08 03:53:34] local.INFO: Packet analysis {"connection_id":124988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eab"} 
[2026-07-08 03:53:34] local.INFO: Extracted packet for processing {"connection_id":124988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eab"} 
[2026-07-08 03:53:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566418688001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783462874000,"timestamp_ms":1783462874000,"timestamp_seconds":1783462874,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eabcb90"} 
[2026-07-08 03:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:53: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-07-08 03: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-07-08 03:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566418688001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566418688001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:53:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:53:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566418688001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":124988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:53:34] local.INFO: GPS data processed {"connection_id":124988,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:53:34] local.INFO: Acknowledgment sent {"connection_id":124988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:53:57] local.INFO: TCP Data received {"connection_id":125069,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:53:57] local.INFO: Processing buffer {"connection_id":125069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:53:57] local.INFO: IMEI packet received {"connection_id":125069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":125069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:54:02] local.INFO: TCP Data received {"connection_id":125069,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:54:02] local.INFO: Processing buffer {"connection_id":125069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:54:02] local.INFO: IMEI packet received {"connection_id":125069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":125069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:54:03] local.INFO: TCP Data received {"connection_id":125069,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eabcb90012dc5eb400537d5a00034014429..."} 
[2026-07-08 03:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eabcb90012dc5eb400537d5a00034014429..."} 
[2026-07-08 03:54:03] local.INFO: Processing buffer {"connection_id":125069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eabcb90012dc5eb400537d5a00034014429..."} 
[2026-07-08 03:54:03] local.INFO: Packet analysis {"connection_id":125069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eab"} 
[2026-07-08 03:54:03] local.INFO: Extracted packet for processing {"connection_id":125069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eab"} 
[2026-07-08 03:54:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566418688001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783462874000,"timestamp_ms":1783462874000,"timestamp_seconds":1783462874,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eabcb90"} 
[2026-07-08 03:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:54: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-07-08 03:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566418688001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566418688001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:54:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:54:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566418688001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":125069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:54:03] local.INFO: GPS data processed {"connection_id":125069,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:54:03] local.INFO: Acknowledgment sent {"connection_id":125069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:54:34] local.INFO: TCP Data received {"connection_id":125069,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eabcb90012dc5eb400537d5a00034014429..."} 
[2026-07-08 03:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eabcb90012dc5eb400537d5a00034014429..."} 
[2026-07-08 03:54:34] local.INFO: Processing buffer {"connection_id":125069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eabcb90012dc5eb400537d5a00034014429..."} 
[2026-07-08 03:54:34] local.INFO: Packet analysis {"connection_id":125069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eab"} 
[2026-07-08 03:54:34] local.INFO: Extracted packet for processing {"connection_id":125069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eab"} 
[2026-07-08 03:54:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566418688001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783462874000,"timestamp_ms":1783462874000,"timestamp_seconds":1783462874,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eabcb90"} 
[2026-07-08 03:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:54: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-07-08 03:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566418688001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566418688001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:54:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:54:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566418688001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":125069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:54:34] local.INFO: GPS data processed {"connection_id":125069,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:54:34] local.INFO: Acknowledgment sent {"connection_id":125069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:54:57] local.INFO: TCP Data received {"connection_id":127085,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:54:57] local.INFO: Processing buffer {"connection_id":127085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:54:57] local.INFO: IMEI packet received {"connection_id":127085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":127085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:55:02] local.INFO: TCP Data received {"connection_id":127085,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:55:02] local.INFO: Processing buffer {"connection_id":127085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:55:02] local.INFO: IMEI packet received {"connection_id":127085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":127085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:55:03] local.INFO: TCP Data received {"connection_id":127085,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eabcb90012dc5eb400537d5a00034014429..."} 
[2026-07-08 03:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eabcb90012dc5eb400537d5a00034014429..."} 
[2026-07-08 03:55:03] local.INFO: Processing buffer {"connection_id":127085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eabcb90012dc5eb400537d5a00034014429..."} 
[2026-07-08 03:55:03] local.INFO: Packet analysis {"connection_id":127085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eab"} 
[2026-07-08 03:55:03] local.INFO: Extracted packet for processing {"connection_id":127085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eab"} 
[2026-07-08 03:55:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566418688001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783462874000,"timestamp_ms":1783462874000,"timestamp_seconds":1783462874,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eabcb90"} 
[2026-07-08 03:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:55: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-07-08 03: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-07-08 03:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566418688001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566418688001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:55:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:55:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566418688001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":127085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:55:03] local.INFO: GPS data processed {"connection_id":127085,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:55:03] local.INFO: Acknowledgment sent {"connection_id":127085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:55:34] local.INFO: TCP Data received {"connection_id":127085,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eabcb90012dc5eb400537d5a00034014429..."} 
[2026-07-08 03:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eabcb90012dc5eb400537d5a00034014429..."} 
[2026-07-08 03:55:34] local.INFO: Processing buffer {"connection_id":127085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eabcb90012dc5eb400537d5a00034014429..."} 
[2026-07-08 03:55:34] local.INFO: Packet analysis {"connection_id":127085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eab"} 
[2026-07-08 03:55:34] local.INFO: Extracted packet for processing {"connection_id":127085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eab"} 
[2026-07-08 03:55:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566418688001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783462874000,"timestamp_ms":1783462874000,"timestamp_seconds":1783462874,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eabcb90"} 
[2026-07-08 03:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:55: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-07-08 03: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-07-08 03:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566418688001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566418688001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:55:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:55:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566418688001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":127085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:55:34] local.INFO: GPS data processed {"connection_id":127085,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:55:34] local.INFO: Acknowledgment sent {"connection_id":127085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:55:57] local.INFO: TCP Data received {"connection_id":125824,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:55:57] local.INFO: Processing buffer {"connection_id":125824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:55:57] local.INFO: IMEI packet received {"connection_id":125824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":125824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:56:02] local.INFO: TCP Data received {"connection_id":125824,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:56:02] local.INFO: Processing buffer {"connection_id":125824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:56:02] local.INFO: IMEI packet received {"connection_id":125824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":125824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:56:03] local.INFO: TCP Data received {"connection_id":125824,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eabcb90012dc5eb400537d5a00034014429..."} 
[2026-07-08 03:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eabcb90012dc5eb400537d5a00034014429..."} 
[2026-07-08 03:56:03] local.INFO: Processing buffer {"connection_id":125824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eabcb90012dc5eb400537d5a00034014429..."} 
[2026-07-08 03:56:03] local.INFO: Packet analysis {"connection_id":125824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eab"} 
[2026-07-08 03:56:03] local.INFO: Extracted packet for processing {"connection_id":125824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eab"} 
[2026-07-08 03:56:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566418688001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783462874000,"timestamp_ms":1783462874000,"timestamp_seconds":1783462874,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eabcb90"} 
[2026-07-08 03:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:56: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-07-08 03: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-07-08 03:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566418688001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566418688001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:56:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:56:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566418688001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":125824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:56:03] local.INFO: GPS data processed {"connection_id":125824,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:56:03] local.INFO: Acknowledgment sent {"connection_id":125824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:56:34] local.INFO: TCP Data received {"connection_id":125824,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eabcb90012dc5eb400537d5a00034014429..."} 
[2026-07-08 03:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eabcb90012dc5eb400537d5a00034014429..."} 
[2026-07-08 03:56:34] local.INFO: Processing buffer {"connection_id":125824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eabcb90012dc5eb400537d5a00034014429..."} 
[2026-07-08 03:56:34] local.INFO: Packet analysis {"connection_id":125824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eab"} 
[2026-07-08 03:56:34] local.INFO: Extracted packet for processing {"connection_id":125824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eab"} 
[2026-07-08 03:56:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566418688001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783462874000,"timestamp_ms":1783462874000,"timestamp_seconds":1783462874,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eabcb90"} 
[2026-07-08 03:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 03:56: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-07-08 03: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-07-08 03:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566418688001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566418688001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:56:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:56:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566418688001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":125824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:56:34] local.INFO: GPS data processed {"connection_id":125824,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:56:34] local.INFO: Acknowledgment sent {"connection_id":125824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:56:57] local.INFO: TCP Data received {"connection_id":125825,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:56:57] local.INFO: Processing buffer {"connection_id":125825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:56:57] local.INFO: IMEI packet received {"connection_id":125825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":125825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:57:02] local.INFO: TCP Data received {"connection_id":125825,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:57:02] local.INFO: Processing buffer {"connection_id":125825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:57:02] local.INFO: IMEI packet received {"connection_id":125825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":125825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:57:03] local.INFO: TCP Data received {"connection_id":125825,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eb06358012dc5eb400537d5a0003401442e..."} 
[2026-07-08 03:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eb06358012dc5eb400537d5a0003401442e..."} 
[2026-07-08 03:57:03] local.INFO: Processing buffer {"connection_id":125825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eb06358012dc5eb400537d5a0003401442e..."} 
[2026-07-08 03:57:03] local.INFO: Packet analysis {"connection_id":125825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eb0"} 
[2026-07-08 03:57:03] local.INFO: Extracted packet for processing {"connection_id":125825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eb0"} 
[2026-07-08 03:57:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566495744001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783463175000,"timestamp_ms":1783463175000,"timestamp_seconds":1783463175,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eb06358"} 
[2026-07-08 03:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 03:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566495744001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566495744001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:57:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:57:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566495744001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":125825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:57:03] local.INFO: GPS data processed {"connection_id":125825,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:57:03] local.INFO: Acknowledgment sent {"connection_id":125825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:57:21] local.INFO: TCP Data received {"connection_id":127086,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127086,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:57:21] local.INFO: Processing buffer {"connection_id":127086,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:57:21] local.INFO: IMEI packet received {"connection_id":127086,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 03:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":127086,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:57:34] local.INFO: TCP Data received {"connection_id":125825,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eb06358012dc5eb400537d5a0003401442e..."} 
[2026-07-08 03:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eb06358012dc5eb400537d5a0003401442e..."} 
[2026-07-08 03:57:34] local.INFO: Processing buffer {"connection_id":125825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eb06358012dc5eb400537d5a0003401442e..."} 
[2026-07-08 03:57:34] local.INFO: Packet analysis {"connection_id":125825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eb0"} 
[2026-07-08 03:57:34] local.INFO: Extracted packet for processing {"connection_id":125825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eb0"} 
[2026-07-08 03:57:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566495744001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783463175000,"timestamp_ms":1783463175000,"timestamp_seconds":1783463175,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eb06358"} 
[2026-07-08 03:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 03:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03: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-07-08 03:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566495744001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566495744001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:57:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:57:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566495744001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":125825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:57:34] local.INFO: GPS data processed {"connection_id":125825,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:57:34] local.INFO: Acknowledgment sent {"connection_id":125825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:57:59] local.INFO: TCP Data received {"connection_id":125826,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:57:59] local.INFO: Processing buffer {"connection_id":125826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:57:59] local.INFO: IMEI packet received {"connection_id":125826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":125826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:58:02] local.INFO: TCP Data received {"connection_id":125826,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:58:02] local.INFO: Processing buffer {"connection_id":125826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:58:02] local.INFO: IMEI packet received {"connection_id":125826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":125826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:58:02] local.INFO: TCP Data received {"connection_id":124990,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:58:02] local.INFO: Processing buffer {"connection_id":124990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 03:58:02] local.INFO: IMEI packet received {"connection_id":124990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 03:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":124990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:58:03] local.INFO: TCP Data received {"connection_id":125826,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eb06358012dc5eb400537d5a0003401442e..."} 
[2026-07-08 03:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eb06358012dc5eb400537d5a0003401442e..."} 
[2026-07-08 03:58:03] local.INFO: Processing buffer {"connection_id":125826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eb06358012dc5eb400537d5a0003401442e..."} 
[2026-07-08 03:58:03] local.INFO: Packet analysis {"connection_id":125826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eb0"} 
[2026-07-08 03:58:03] local.INFO: Extracted packet for processing {"connection_id":125826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eb0"} 
[2026-07-08 03:58:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03: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-07-08 03:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566495744001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783463175000,"timestamp_ms":1783463175000,"timestamp_seconds":1783463175,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eb06358"} 
[2026-07-08 03:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 03:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03: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-07-08 03:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566495744001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566495744001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:58:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:58:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566495744001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":125826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:58:03] local.INFO: GPS data processed {"connection_id":125826,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:58:03] local.INFO: Acknowledgment sent {"connection_id":125826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:58:07] local.INFO: TCP Data received {"connection_id":125826,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eb06358012dc5eb400537d5a0003401442e..."} 
[2026-07-08 03:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eb06358012dc5eb400537d5a0003401442e..."} 
[2026-07-08 03:58:07] local.INFO: Processing buffer {"connection_id":125826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eb06358012dc5eb400537d5a0003401442e..."} 
[2026-07-08 03:58:07] local.INFO: Packet analysis {"connection_id":125826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eb0"} 
[2026-07-08 03:58:07] local.INFO: Extracted packet for processing {"connection_id":125826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eb0"} 
[2026-07-08 03:58:07] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566495744001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783463175000,"timestamp_ms":1783463175000,"timestamp_seconds":1783463175,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eb06358"} 
[2026-07-08 03:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 03:58: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-07-08 03:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566495744001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566495744001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:58:07] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:58:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566495744001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":125826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:58:07] local.INFO: GPS data processed {"connection_id":125826,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:58:07] local.INFO: Acknowledgment sent {"connection_id":125826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:58:42] local.INFO: TCP Data received {"connection_id":125826,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eb06358012dc5eb400537d5a0003401442e..."} 
[2026-07-08 03:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eb06358012dc5eb400537d5a0003401442e..."} 
[2026-07-08 03:58:42] local.INFO: Processing buffer {"connection_id":125826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eb06358012dc5eb400537d5a0003401442e..."} 
[2026-07-08 03:58:42] local.INFO: Packet analysis {"connection_id":125826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eb0"} 
[2026-07-08 03:58:42] local.INFO: Extracted packet for processing {"connection_id":125826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eb0"} 
[2026-07-08 03:58:42] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566495744001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783463175000,"timestamp_ms":1783463175000,"timestamp_seconds":1783463175,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eb06358"} 
[2026-07-08 03:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 03:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":125826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":125826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":125826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566495744001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566495744001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:58:42] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:58:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566495744001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":125826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:58:42] local.INFO: GPS data processed {"connection_id":125826,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:58:42] local.INFO: Acknowledgment sent {"connection_id":125826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:58:57] local.INFO: TCP Data received {"connection_id":127088,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:58:57] local.INFO: Processing buffer {"connection_id":127088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:58:57] local.INFO: IMEI packet received {"connection_id":127088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":127088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 03:59:02] local.INFO: TCP Data received {"connection_id":127088,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:59:02] local.INFO: Processing buffer {"connection_id":127088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:59:02] local.INFO: IMEI packet received {"connection_id":127088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 03:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":127088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 03:59:03] local.INFO: TCP Data received {"connection_id":127088,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eb06358012dc5eb400537d5a0003401442e..."} 
[2026-07-08 03:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eb06358012dc5eb400537d5a0003401442e..."} 
[2026-07-08 03:59:03] local.INFO: Processing buffer {"connection_id":127088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eb06358012dc5eb400537d5a0003401442e..."} 
[2026-07-08 03:59:03] local.INFO: Packet analysis {"connection_id":127088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eb0"} 
[2026-07-08 03:59:03] local.INFO: Extracted packet for processing {"connection_id":127088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eb0"} 
[2026-07-08 03:59:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566495744001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783463175000,"timestamp_ms":1783463175000,"timestamp_seconds":1783463175,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eb06358"} 
[2026-07-08 03:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 03:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566495744001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566495744001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:59:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:59:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566495744001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":127088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:59:03] local.INFO: GPS data processed {"connection_id":127088,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:59:03] local.INFO: Acknowledgment sent {"connection_id":127088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:59:34] local.INFO: TCP Data received {"connection_id":127088,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eb06358012dc5eb400537d5a0003401442e..."} 
[2026-07-08 03:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eb06358012dc5eb400537d5a0003401442e..."} 
[2026-07-08 03:59:34] local.INFO: Processing buffer {"connection_id":127088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eb06358012dc5eb400537d5a0003401442e..."} 
[2026-07-08 03:59:34] local.INFO: Packet analysis {"connection_id":127088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eb0"} 
[2026-07-08 03:59:34] local.INFO: Extracted packet for processing {"connection_id":127088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eb0"} 
[2026-07-08 03:59:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 03:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 03:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566495744001,"note":"Value kept but may cause issues"} 
[2026-07-08 03:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 03:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 03:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 03:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783463175000,"timestamp_ms":1783463175000,"timestamp_seconds":1783463175,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eb06358"} 
[2026-07-08 03:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 03:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 03:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 03:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 03:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 03:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 03:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 03:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 03:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 03:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 03:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 03:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 03:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566495744001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 03:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 03:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 03:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566495744001,"description":"Unknown IO ID 0"} 
[2026-07-08 03:59:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 03:59:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 03:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 03:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 03:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566495744001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 03:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":127088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 03:59:34] local.INFO: GPS data processed {"connection_id":127088,"processed":1,"errors":0,"total":1} 
[2026-07-08 03:59:34] local.INFO: Acknowledgment sent {"connection_id":127088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 03:59:57] local.INFO: TCP Data received {"connection_id":127089,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:59:57] local.INFO: Processing buffer {"connection_id":127089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 03:59:57] local.INFO: IMEI packet received {"connection_id":127089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 03:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":127089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:00:02] local.INFO: TCP Data received {"connection_id":127089,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:00:02] local.INFO: Processing buffer {"connection_id":127089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:00:02] local.INFO: IMEI packet received {"connection_id":127089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":127089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:00:03] local.INFO: TCP Data received {"connection_id":127089,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eb06358012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eb06358012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:00:03] local.INFO: Processing buffer {"connection_id":127089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eb06358012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:00:03] local.INFO: Packet analysis {"connection_id":127089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eb0"} 
[2026-07-08 04:00:03] local.INFO: Extracted packet for processing {"connection_id":127089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eb0"} 
[2026-07-08 04:00:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566495744001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783463175000,"timestamp_ms":1783463175000,"timestamp_seconds":1783463175,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eb06358"} 
[2026-07-08 04:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 04:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04: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-07-08 04:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566495744001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566495744001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:00:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:00:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566495744001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":127089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:00:03] local.INFO: GPS data processed {"connection_id":127089,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:00:03] local.INFO: Acknowledgment sent {"connection_id":127089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:00:34] local.INFO: TCP Data received {"connection_id":127089,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eb06358012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eb06358012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:00:34] local.INFO: Processing buffer {"connection_id":127089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eb06358012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:00:34] local.INFO: Packet analysis {"connection_id":127089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eb0"} 
[2026-07-08 04:00:34] local.INFO: Extracted packet for processing {"connection_id":127089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eb0"} 
[2026-07-08 04:00:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566495744001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783463175000,"timestamp_ms":1783463175000,"timestamp_seconds":1783463175,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eb06358"} 
[2026-07-08 04:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 04:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04: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-07-08 04:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566495744001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566495744001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:00:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:00:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566495744001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":127089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:00:34] local.INFO: GPS data processed {"connection_id":127089,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:00:34] local.INFO: Acknowledgment sent {"connection_id":127089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:00:57] local.INFO: TCP Data received {"connection_id":125071,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:00:57] local.INFO: Processing buffer {"connection_id":125071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:00:57] local.INFO: IMEI packet received {"connection_id":125071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":125071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:01:02] local.INFO: TCP Data received {"connection_id":125071,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:01:02] local.INFO: Processing buffer {"connection_id":125071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:01:02] local.INFO: IMEI packet received {"connection_id":125071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":125071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:01:03] local.INFO: TCP Data received {"connection_id":125071,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eb06358012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eb06358012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:01:03] local.INFO: Processing buffer {"connection_id":125071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eb06358012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:01:03] local.INFO: Packet analysis {"connection_id":125071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eb0"} 
[2026-07-08 04:01:03] local.INFO: Extracted packet for processing {"connection_id":125071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eb0"} 
[2026-07-08 04:01:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566495744001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783463175000,"timestamp_ms":1783463175000,"timestamp_seconds":1783463175,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eb06358"} 
[2026-07-08 04:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 04:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566495744001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566495744001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:01:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:01:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566495744001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":125071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:01:03] local.INFO: GPS data processed {"connection_id":125071,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:01:03] local.INFO: Acknowledgment sent {"connection_id":125071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:01:34] local.INFO: TCP Data received {"connection_id":125071,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eb06358012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eb06358012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:01:34] local.INFO: Processing buffer {"connection_id":125071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eb06358012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:01:34] local.INFO: Packet analysis {"connection_id":125071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eb0"} 
[2026-07-08 04:01:34] local.INFO: Extracted packet for processing {"connection_id":125071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eb0"} 
[2026-07-08 04:01:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566495744001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783463175000,"timestamp_ms":1783463175000,"timestamp_seconds":1783463175,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eb06358"} 
[2026-07-08 04:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 04:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566495744001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566495744001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:01:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:01:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566495744001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":125071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:01:34] local.INFO: GPS data processed {"connection_id":125071,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:01:34] local.INFO: Acknowledgment sent {"connection_id":125071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:02:02] local.INFO: TCP Data received {"connection_id":127091,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:02:02] local.INFO: Processing buffer {"connection_id":127091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:02:02] local.INFO: IMEI packet received {"connection_id":127091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":127091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:02:07] local.INFO: TCP Data received {"connection_id":127091,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:02:07] local.INFO: Processing buffer {"connection_id":127091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:02:07] local.INFO: IMEI packet received {"connection_id":127091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":127091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:02:08] local.INFO: TCP Data received {"connection_id":127091,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eb4fb20012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eb4fb20012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:02:08] local.INFO: Processing buffer {"connection_id":127091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eb4fb20012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:02:08] local.INFO: Packet analysis {"connection_id":127091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eb4"} 
[2026-07-08 04:02:08] local.INFO: Extracted packet for processing {"connection_id":127091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eb4"} 
[2026-07-08 04:02:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566572800001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783463476000,"timestamp_ms":1783463476000,"timestamp_seconds":1783463476,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eb4fb20"} 
[2026-07-08 04:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 04:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":127091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":127091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":127091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566572800001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566572800001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:02:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:02:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566572800001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":127091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:02:08] local.INFO: GPS data processed {"connection_id":127091,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:02:08] local.INFO: Acknowledgment sent {"connection_id":127091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:02:12] local.INFO: TCP Data received {"connection_id":127091,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eb4fb20012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eb4fb20012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:02:12] local.INFO: Processing buffer {"connection_id":127091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eb4fb20012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:02:12] local.INFO: Packet analysis {"connection_id":127091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eb4"} 
[2026-07-08 04:02:12] local.INFO: Extracted packet for processing {"connection_id":127091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eb4"} 
[2026-07-08 04:02:12] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566572800001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783463476000,"timestamp_ms":1783463476000,"timestamp_seconds":1783463476,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eb4fb20"} 
[2026-07-08 04:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 04:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:02:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":127091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":127091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":127091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566572800001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566572800001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:02:12] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:02:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566572800001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":127091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:02:12] local.INFO: GPS data processed {"connection_id":127091,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:02:12] local.INFO: Acknowledgment sent {"connection_id":127091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:02:57] local.INFO: TCP Data received {"connection_id":125828,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:02:57] local.INFO: Processing buffer {"connection_id":125828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:02:57] local.INFO: IMEI packet received {"connection_id":125828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":125828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:03:02] local.INFO: TCP Data received {"connection_id":125828,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:03:02] local.INFO: Processing buffer {"connection_id":125828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:03:02] local.INFO: IMEI packet received {"connection_id":125828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":125828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:03:03] local.INFO: TCP Data received {"connection_id":125828,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eb4fb20012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eb4fb20012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:03:03] local.INFO: Processing buffer {"connection_id":125828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eb4fb20012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:03:03] local.INFO: Packet analysis {"connection_id":125828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eb4"} 
[2026-07-08 04:03:03] local.INFO: Extracted packet for processing {"connection_id":125828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eb4"} 
[2026-07-08 04:03:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566572800001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783463476000,"timestamp_ms":1783463476000,"timestamp_seconds":1783463476,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eb4fb20"} 
[2026-07-08 04:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 04:03: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-07-08 04: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-07-08 04:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566572800001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566572800001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:03:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:03:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566572800001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":125828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:03:03] local.INFO: GPS data processed {"connection_id":125828,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:03:03] local.INFO: Acknowledgment sent {"connection_id":125828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:03:27] local.INFO: TCP Data received {"connection_id":125829,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125829,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:03:27] local.INFO: Processing buffer {"connection_id":125829,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:03:27] local.INFO: IMEI packet received {"connection_id":125829,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 04:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":125829,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:03:34] local.INFO: TCP Data received {"connection_id":125828,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eb4fb20012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eb4fb20012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:03:34] local.INFO: Processing buffer {"connection_id":125828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eb4fb20012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:03:34] local.INFO: Packet analysis {"connection_id":125828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eb4"} 
[2026-07-08 04:03:34] local.INFO: Extracted packet for processing {"connection_id":125828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eb4"} 
[2026-07-08 04:03:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566572800001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783463476000,"timestamp_ms":1783463476000,"timestamp_seconds":1783463476,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eb4fb20"} 
[2026-07-08 04:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 04:03: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-07-08 04: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-07-08 04:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566572800001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566572800001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:03:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:03:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566572800001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":125828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:03:34] local.INFO: GPS data processed {"connection_id":125828,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:03:34] local.INFO: Acknowledgment sent {"connection_id":125828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:03:57] local.INFO: TCP Data received {"connection_id":125830,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:03:57] local.INFO: Processing buffer {"connection_id":125830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:03:57] local.INFO: IMEI packet received {"connection_id":125830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":125830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:04:01] local.INFO: TCP Data received {"connection_id":125831,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125831,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:04:01] local.INFO: Processing buffer {"connection_id":125831,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:04:01] local.INFO: IMEI packet received {"connection_id":125831,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 04:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":125831,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:04:02] local.INFO: TCP Data received {"connection_id":125830,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:04:02] local.INFO: Processing buffer {"connection_id":125830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:04:02] local.INFO: IMEI packet received {"connection_id":125830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":125830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:04:03] local.INFO: TCP Data received {"connection_id":125830,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eb4fb20012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eb4fb20012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:04:03] local.INFO: Processing buffer {"connection_id":125830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eb4fb20012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:04:03] local.INFO: Packet analysis {"connection_id":125830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eb4"} 
[2026-07-08 04:04:03] local.INFO: Extracted packet for processing {"connection_id":125830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eb4"} 
[2026-07-08 04:04:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566572800001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783463476000,"timestamp_ms":1783463476000,"timestamp_seconds":1783463476,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eb4fb20"} 
[2026-07-08 04:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 04:04: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-07-08 04:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566572800001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566572800001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:04:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:04:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566572800001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":125830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:04:03] local.INFO: GPS data processed {"connection_id":125830,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:04:03] local.INFO: Acknowledgment sent {"connection_id":125830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:04:34] local.INFO: TCP Data received {"connection_id":125830,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eb4fb20012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eb4fb20012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:04:34] local.INFO: Processing buffer {"connection_id":125830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eb4fb20012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:04:34] local.INFO: Packet analysis {"connection_id":125830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eb4"} 
[2026-07-08 04:04:34] local.INFO: Extracted packet for processing {"connection_id":125830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eb4"} 
[2026-07-08 04:04:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566572800001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783463476000,"timestamp_ms":1783463476000,"timestamp_seconds":1783463476,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eb4fb20"} 
[2026-07-08 04:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 04:04: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-07-08 04: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-07-08 04:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566572800001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566572800001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:04:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:04:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566572800001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":125830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:04:34] local.INFO: GPS data processed {"connection_id":125830,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:04:34] local.INFO: Acknowledgment sent {"connection_id":125830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:04:57] local.INFO: TCP Data received {"connection_id":127093,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:04:57] local.INFO: Processing buffer {"connection_id":127093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:04:57] local.INFO: IMEI packet received {"connection_id":127093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":127093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:05:02] local.INFO: TCP Data received {"connection_id":127093,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:05:02] local.INFO: Processing buffer {"connection_id":127093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:05:02] local.INFO: IMEI packet received {"connection_id":127093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":127093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:05:03] local.INFO: TCP Data received {"connection_id":127093,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eb4fb20012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eb4fb20012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:05:03] local.INFO: Processing buffer {"connection_id":127093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eb4fb20012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:05:03] local.INFO: Packet analysis {"connection_id":127093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eb4"} 
[2026-07-08 04:05:03] local.INFO: Extracted packet for processing {"connection_id":127093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eb4"} 
[2026-07-08 04:05:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566572800001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783463476000,"timestamp_ms":1783463476000,"timestamp_seconds":1783463476,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eb4fb20"} 
[2026-07-08 04:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 04:05: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-07-08 04:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566572800001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566572800001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:05:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:05:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566572800001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":127093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:05:03] local.INFO: GPS data processed {"connection_id":127093,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:05:03] local.INFO: Acknowledgment sent {"connection_id":127093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:05:34] local.INFO: TCP Data received {"connection_id":127093,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eb4fb20012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eb4fb20012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:05:34] local.INFO: Processing buffer {"connection_id":127093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eb4fb20012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:05:34] local.INFO: Packet analysis {"connection_id":127093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eb4"} 
[2026-07-08 04:05:34] local.INFO: Extracted packet for processing {"connection_id":127093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eb4"} 
[2026-07-08 04:05:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566572800001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783463476000,"timestamp_ms":1783463476000,"timestamp_seconds":1783463476,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eb4fb20"} 
[2026-07-08 04:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 04:05: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-07-08 04:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566572800001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566572800001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:05:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:05:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566572800001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":127093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:05:34] local.INFO: GPS data processed {"connection_id":127093,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:05:34] local.INFO: Acknowledgment sent {"connection_id":127093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:05:57] local.INFO: TCP Data received {"connection_id":124994,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:05:57] local.INFO: Processing buffer {"connection_id":124994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:05:57] local.INFO: IMEI packet received {"connection_id":124994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":124994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:06:02] local.INFO: TCP Data received {"connection_id":124994,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:06:02] local.INFO: Processing buffer {"connection_id":124994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:06:02] local.INFO: IMEI packet received {"connection_id":124994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":124994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:06:03] local.INFO: TCP Data received {"connection_id":124994,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eb4fb20012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eb4fb20012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:06:03] local.INFO: Processing buffer {"connection_id":124994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eb4fb20012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:06:03] local.INFO: Packet analysis {"connection_id":124994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eb4"} 
[2026-07-08 04:06:03] local.INFO: Extracted packet for processing {"connection_id":124994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eb4"} 
[2026-07-08 04:06:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566572800001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783463476000,"timestamp_ms":1783463476000,"timestamp_seconds":1783463476,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eb4fb20"} 
[2026-07-08 04:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 04:06: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-07-08 04: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-07-08 04:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566572800001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566572800001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:06:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:06:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566572800001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":124994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:06:03] local.INFO: GPS data processed {"connection_id":124994,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:06:03] local.INFO: Acknowledgment sent {"connection_id":124994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:06:34] local.INFO: TCP Data received {"connection_id":124994,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eb4fb20012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eb4fb20012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:06:34] local.INFO: Processing buffer {"connection_id":124994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eb4fb20012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:06:34] local.INFO: Packet analysis {"connection_id":124994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eb4"} 
[2026-07-08 04:06:34] local.INFO: Extracted packet for processing {"connection_id":124994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eb4"} 
[2026-07-08 04:06:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566572800001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783463476000,"timestamp_ms":1783463476000,"timestamp_seconds":1783463476,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eb4fb20"} 
[2026-07-08 04:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 04:06: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-07-08 04: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-07-08 04:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566572800001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566572800001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:06:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:06:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566572800001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":124994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:06:34] local.INFO: GPS data processed {"connection_id":124994,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:06:34] local.INFO: Acknowledgment sent {"connection_id":124994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:07:02] local.INFO: TCP Data received {"connection_id":125072,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:07:02] local.INFO: Processing buffer {"connection_id":125072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:07:02] local.INFO: IMEI packet received {"connection_id":125072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":125072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:07:07] local.INFO: TCP Data received {"connection_id":125072,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:07:07] local.INFO: Processing buffer {"connection_id":125072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:07:07] local.INFO: IMEI packet received {"connection_id":125072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":125072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:07:08] local.INFO: TCP Data received {"connection_id":125072,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eb992e8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eb992e8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:07:08] local.INFO: Processing buffer {"connection_id":125072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eb992e8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:07:08] local.INFO: Packet analysis {"connection_id":125072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eb9"} 
[2026-07-08 04:07:08] local.INFO: Extracted packet for processing {"connection_id":125072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eb9"} 
[2026-07-08 04:07:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566649856001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783463777000,"timestamp_ms":1783463777000,"timestamp_seconds":1783463777,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eb992e8"} 
[2026-07-08 04:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 04:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566649856001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566649856001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:07:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:07:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566649856001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":125072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:07:08] local.INFO: GPS data processed {"connection_id":125072,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:07:08] local.INFO: Acknowledgment sent {"connection_id":125072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:07:12] local.INFO: TCP Data received {"connection_id":125072,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eb992e8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eb992e8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:07:12] local.INFO: Processing buffer {"connection_id":125072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eb992e8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:07:12] local.INFO: Packet analysis {"connection_id":125072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eb9"} 
[2026-07-08 04:07:12] local.INFO: Extracted packet for processing {"connection_id":125072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eb9"} 
[2026-07-08 04:07:12] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566649856001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783463777000,"timestamp_ms":1783463777000,"timestamp_seconds":1783463777,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eb992e8"} 
[2026-07-08 04:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 04:07:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566649856001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566649856001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:07:12] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:07:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566649856001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":125072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:07:12] local.INFO: GPS data processed {"connection_id":125072,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:07:12] local.INFO: Acknowledgment sent {"connection_id":125072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:07:57] local.INFO: TCP Data received {"connection_id":125834,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:07:57] local.INFO: Processing buffer {"connection_id":125834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:07:57] local.INFO: IMEI packet received {"connection_id":125834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":125834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:08:02] local.INFO: TCP Data received {"connection_id":125834,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:08:02] local.INFO: Processing buffer {"connection_id":125834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:08:02] local.INFO: IMEI packet received {"connection_id":125834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":125834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:08:03] local.INFO: TCP Data received {"connection_id":125834,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eb992e8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eb992e8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:08:03] local.INFO: Processing buffer {"connection_id":125834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eb992e8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:08:03] local.INFO: Packet analysis {"connection_id":125834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eb9"} 
[2026-07-08 04:08:03] local.INFO: Extracted packet for processing {"connection_id":125834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eb9"} 
[2026-07-08 04:08:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566649856001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783463777000,"timestamp_ms":1783463777000,"timestamp_seconds":1783463777,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eb992e8"} 
[2026-07-08 04:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 04:08: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-07-08 04:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566649856001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566649856001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:08:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:08:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566649856001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":125834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:08:03] local.INFO: GPS data processed {"connection_id":125834,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:08:03] local.INFO: Acknowledgment sent {"connection_id":125834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:08:34] local.INFO: TCP Data received {"connection_id":125834,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eb992e8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eb992e8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:08:34] local.INFO: Processing buffer {"connection_id":125834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eb992e8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:08:34] local.INFO: Packet analysis {"connection_id":125834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eb9"} 
[2026-07-08 04:08:34] local.INFO: Extracted packet for processing {"connection_id":125834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eb9"} 
[2026-07-08 04:08:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566649856001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783463777000,"timestamp_ms":1783463777000,"timestamp_seconds":1783463777,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eb992e8"} 
[2026-07-08 04:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 04:08: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-07-08 04:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566649856001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566649856001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:08:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:08:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566649856001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":125834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:08:34] local.INFO: GPS data processed {"connection_id":125834,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:08:34] local.INFO: Acknowledgment sent {"connection_id":125834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:08:57] local.INFO: TCP Data received {"connection_id":127094,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:08:57] local.INFO: Processing buffer {"connection_id":127094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:08:57] local.INFO: IMEI packet received {"connection_id":127094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":127094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:09:02] local.INFO: TCP Data received {"connection_id":127094,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:09:02] local.INFO: Processing buffer {"connection_id":127094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:09:02] local.INFO: IMEI packet received {"connection_id":127094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":127094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:09:03] local.INFO: TCP Data received {"connection_id":127094,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eb992e8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eb992e8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:09:03] local.INFO: Processing buffer {"connection_id":127094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eb992e8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:09:03] local.INFO: Packet analysis {"connection_id":127094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eb9"} 
[2026-07-08 04:09:03] local.INFO: Extracted packet for processing {"connection_id":127094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eb9"} 
[2026-07-08 04:09:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566649856001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783463777000,"timestamp_ms":1783463777000,"timestamp_seconds":1783463777,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eb992e8"} 
[2026-07-08 04:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 04:09: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-07-08 04: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-07-08 04:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566649856001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566649856001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:09:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:09:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566649856001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":127094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:09:03] local.INFO: GPS data processed {"connection_id":127094,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:09:03] local.INFO: Acknowledgment sent {"connection_id":127094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:09:27] local.INFO: TCP Data received {"connection_id":125835,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125835,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:09:27] local.INFO: Processing buffer {"connection_id":125835,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:09:27] local.INFO: IMEI packet received {"connection_id":125835,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 04:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":125835,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:09:34] local.INFO: TCP Data received {"connection_id":127094,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eb992e8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eb992e8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:09:34] local.INFO: Processing buffer {"connection_id":127094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eb992e8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:09:34] local.INFO: Packet analysis {"connection_id":127094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eb9"} 
[2026-07-08 04:09:34] local.INFO: Extracted packet for processing {"connection_id":127094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eb9"} 
[2026-07-08 04:09:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566649856001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783463777000,"timestamp_ms":1783463777000,"timestamp_seconds":1783463777,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eb992e8"} 
[2026-07-08 04:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 04:09: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-07-08 04: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-07-08 04:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566649856001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566649856001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:09:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:09:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566649856001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":127094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:09:34] local.INFO: GPS data processed {"connection_id":127094,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:09:34] local.INFO: Acknowledgment sent {"connection_id":127094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:09:57] local.INFO: TCP Data received {"connection_id":125074,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:09:57] local.INFO: Processing buffer {"connection_id":125074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:09:57] local.INFO: IMEI packet received {"connection_id":125074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":125074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:09:58] local.INFO: TCP Data received {"connection_id":125073,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125073,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:09:58] local.INFO: Processing buffer {"connection_id":125073,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:09:58] local.INFO: IMEI packet received {"connection_id":125073,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 04:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":125073,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:10:02] local.INFO: TCP Data received {"connection_id":125074,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:10:02] local.INFO: Processing buffer {"connection_id":125074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:10:02] local.INFO: IMEI packet received {"connection_id":125074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":125074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:10:03] local.INFO: TCP Data received {"connection_id":125074,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eb992e8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eb992e8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:10:03] local.INFO: Processing buffer {"connection_id":125074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eb992e8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:10:03] local.INFO: Packet analysis {"connection_id":125074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eb9"} 
[2026-07-08 04:10:03] local.INFO: Extracted packet for processing {"connection_id":125074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eb9"} 
[2026-07-08 04:10:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566649856001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783463777000,"timestamp_ms":1783463777000,"timestamp_seconds":1783463777,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eb992e8"} 
[2026-07-08 04:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 04:10: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-07-08 04: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-07-08 04:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566649856001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566649856001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:10:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:10:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566649856001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":125074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:10:03] local.INFO: GPS data processed {"connection_id":125074,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:10:03] local.INFO: Acknowledgment sent {"connection_id":125074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:10:34] local.INFO: TCP Data received {"connection_id":125074,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eb992e8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eb992e8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:10:34] local.INFO: Processing buffer {"connection_id":125074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eb992e8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:10:34] local.INFO: Packet analysis {"connection_id":125074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eb9"} 
[2026-07-08 04:10:34] local.INFO: Extracted packet for processing {"connection_id":125074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eb9"} 
[2026-07-08 04:10:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566649856001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783463777000,"timestamp_ms":1783463777000,"timestamp_seconds":1783463777,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eb992e8"} 
[2026-07-08 04:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 04:10: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-07-08 04: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-07-08 04:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566649856001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566649856001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:10:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:10:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566649856001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":125074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:10:34] local.INFO: GPS data processed {"connection_id":125074,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:10:34] local.INFO: Acknowledgment sent {"connection_id":125074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:10:57] local.INFO: TCP Data received {"connection_id":124996,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:10:57] local.INFO: Processing buffer {"connection_id":124996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:10:57] local.INFO: IMEI packet received {"connection_id":124996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":124996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:11:02] local.INFO: TCP Data received {"connection_id":124996,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:11:02] local.INFO: Processing buffer {"connection_id":124996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:11:02] local.INFO: IMEI packet received {"connection_id":124996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":124996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:11:03] local.INFO: TCP Data received {"connection_id":124996,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eb992e8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eb992e8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:11:03] local.INFO: Processing buffer {"connection_id":124996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eb992e8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:11:03] local.INFO: Packet analysis {"connection_id":124996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eb9"} 
[2026-07-08 04:11:03] local.INFO: Extracted packet for processing {"connection_id":124996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eb9"} 
[2026-07-08 04:11:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566649856001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783463777000,"timestamp_ms":1783463777000,"timestamp_seconds":1783463777,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eb992e8"} 
[2026-07-08 04:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 04:11: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-07-08 04:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566649856001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566649856001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:11:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:11:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566649856001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":124996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:11:03] local.INFO: GPS data processed {"connection_id":124996,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:11:03] local.INFO: Acknowledgment sent {"connection_id":124996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:11:34] local.INFO: TCP Data received {"connection_id":124996,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eb992e8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eb992e8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:11:34] local.INFO: Processing buffer {"connection_id":124996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eb992e8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:11:34] local.INFO: Packet analysis {"connection_id":124996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eb9"} 
[2026-07-08 04:11:34] local.INFO: Extracted packet for processing {"connection_id":124996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eb9"} 
[2026-07-08 04:11:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566649856001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783463777000,"timestamp_ms":1783463777000,"timestamp_seconds":1783463777,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eb992e8"} 
[2026-07-08 04:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 04:11: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-07-08 04:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566649856001,"66":25441,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566649856001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:11:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:11:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566649856001,"power":25441,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":124996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:11:34] local.INFO: GPS data processed {"connection_id":124996,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:11:34] local.INFO: Acknowledgment sent {"connection_id":124996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:12:02] local.INFO: TCP Data received {"connection_id":125075,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:12:02] local.INFO: Processing buffer {"connection_id":125075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:12:02] local.INFO: IMEI packet received {"connection_id":125075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":125075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:12:07] local.INFO: TCP Data received {"connection_id":125075,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:12:07] local.INFO: Processing buffer {"connection_id":125075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:12:07] local.INFO: IMEI packet received {"connection_id":125075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":125075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:12:08] local.INFO: TCP Data received {"connection_id":125075,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ebe2ab0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ebe2ab0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:12:08] local.INFO: Processing buffer {"connection_id":125075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ebe2ab0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:12:08] local.INFO: Packet analysis {"connection_id":125075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ebe"} 
[2026-07-08 04:12:08] local.INFO: Extracted packet for processing {"connection_id":125075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ebe"} 
[2026-07-08 04:12:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566726912001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783464078000,"timestamp_ms":1783464078000,"timestamp_seconds":1783464078,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ebe2ab0"} 
[2026-07-08 04:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 04:12: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-07-08 04:12:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566726912001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566726912001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:12:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:12:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566726912001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":125075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:12:08] local.INFO: GPS data processed {"connection_id":125075,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:12:08] local.INFO: Acknowledgment sent {"connection_id":125075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:12:12] local.INFO: TCP Data received {"connection_id":125075,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ebe2ab0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ebe2ab0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:12:12] local.INFO: Processing buffer {"connection_id":125075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ebe2ab0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:12:12] local.INFO: Packet analysis {"connection_id":125075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ebe"} 
[2026-07-08 04:12:12] local.INFO: Extracted packet for processing {"connection_id":125075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ebe"} 
[2026-07-08 04:12:12] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566726912001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783464078000,"timestamp_ms":1783464078000,"timestamp_seconds":1783464078,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ebe2ab0"} 
[2026-07-08 04:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 04:12: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-07-08 04:12:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566726912001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566726912001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:12:12] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:12:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566726912001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":125075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:12:12] local.INFO: GPS data processed {"connection_id":125075,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:12:12] local.INFO: Acknowledgment sent {"connection_id":125075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:12:57] local.INFO: TCP Data received {"connection_id":127096,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:12:57] local.INFO: Processing buffer {"connection_id":127096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:12:57] local.INFO: IMEI packet received {"connection_id":127096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":127096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:13:02] local.INFO: TCP Data received {"connection_id":127096,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:13:02] local.INFO: Processing buffer {"connection_id":127096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:13:02] local.INFO: IMEI packet received {"connection_id":127096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":127096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:13:03] local.INFO: TCP Data received {"connection_id":127096,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ebe2ab0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ebe2ab0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:13:03] local.INFO: Processing buffer {"connection_id":127096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ebe2ab0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:13:03] local.INFO: Packet analysis {"connection_id":127096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ebe"} 
[2026-07-08 04:13:03] local.INFO: Extracted packet for processing {"connection_id":127096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ebe"} 
[2026-07-08 04:13:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566726912001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783464078000,"timestamp_ms":1783464078000,"timestamp_seconds":1783464078,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ebe2ab0"} 
[2026-07-08 04:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":97,"data_length":795,"current_offset":136} 
[2026-07-08 04:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566726912001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566726912001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:13:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:13:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566726912001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":127096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:13:03] local.INFO: GPS data processed {"connection_id":127096,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:13:03] local.INFO: Acknowledgment sent {"connection_id":127096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:13:34] local.INFO: TCP Data received {"connection_id":127096,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ebe2ab0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ebe2ab0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:13:34] local.INFO: Processing buffer {"connection_id":127096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ebe2ab0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:13:34] local.INFO: Packet analysis {"connection_id":127096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ebe"} 
[2026-07-08 04:13:34] local.INFO: Extracted packet for processing {"connection_id":127096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ebe"} 
[2026-07-08 04:13:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566726912001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783464078000,"timestamp_ms":1783464078000,"timestamp_seconds":1783464078,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ebe2ab0"} 
[2026-07-08 04:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 04:13:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566726912001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566726912001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:13:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:13:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566726912001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":127096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:13:34] local.INFO: GPS data processed {"connection_id":127096,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:13:34] local.INFO: Acknowledgment sent {"connection_id":127096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:13:57] local.INFO: TCP Data received {"connection_id":127097,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:13:57] local.INFO: Processing buffer {"connection_id":127097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:13:57] local.INFO: IMEI packet received {"connection_id":127097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":127097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:14:02] local.INFO: TCP Data received {"connection_id":127097,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:14:02] local.INFO: Processing buffer {"connection_id":127097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:14:02] local.INFO: IMEI packet received {"connection_id":127097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":127097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:14:03] local.INFO: TCP Data received {"connection_id":127097,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ebe2ab0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ebe2ab0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:14:03] local.INFO: Processing buffer {"connection_id":127097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ebe2ab0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:14:03] local.INFO: Packet analysis {"connection_id":127097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ebe"} 
[2026-07-08 04:14:03] local.INFO: Extracted packet for processing {"connection_id":127097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ebe"} 
[2026-07-08 04:14:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566726912001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783464078000,"timestamp_ms":1783464078000,"timestamp_seconds":1783464078,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ebe2ab0"} 
[2026-07-08 04:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 04:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04: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-07-08 04:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566726912001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566726912001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:14:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:14:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566726912001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":127097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:14:03] local.INFO: GPS data processed {"connection_id":127097,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:14:03] local.INFO: Acknowledgment sent {"connection_id":127097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:14:34] local.INFO: TCP Data received {"connection_id":127097,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ebe2ab0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ebe2ab0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:14:34] local.INFO: Processing buffer {"connection_id":127097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ebe2ab0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:14:34] local.INFO: Packet analysis {"connection_id":127097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ebe"} 
[2026-07-08 04:14:34] local.INFO: Extracted packet for processing {"connection_id":127097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ebe"} 
[2026-07-08 04:14:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566726912001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783464078000,"timestamp_ms":1783464078000,"timestamp_seconds":1783464078,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ebe2ab0"} 
[2026-07-08 04:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 04:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566726912001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566726912001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:14:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:14:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566726912001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":127097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:14:34] local.INFO: GPS data processed {"connection_id":127097,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:14:34] local.INFO: Acknowledgment sent {"connection_id":127097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:14:57] local.INFO: TCP Data received {"connection_id":124998,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:14:57] local.INFO: Processing buffer {"connection_id":124998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:14:57] local.INFO: IMEI packet received {"connection_id":124998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":124998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:15:02] local.INFO: TCP Data received {"connection_id":124998,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:15:02] local.INFO: Processing buffer {"connection_id":124998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:15:02] local.INFO: IMEI packet received {"connection_id":124998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":124998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:15:03] local.INFO: TCP Data received {"connection_id":124998,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ebe2ab0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ebe2ab0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:15:03] local.INFO: Processing buffer {"connection_id":124998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ebe2ab0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:15:03] local.INFO: Packet analysis {"connection_id":124998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ebe"} 
[2026-07-08 04:15:03] local.INFO: Extracted packet for processing {"connection_id":124998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ebe"} 
[2026-07-08 04:15:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566726912001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783464078000,"timestamp_ms":1783464078000,"timestamp_seconds":1783464078,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ebe2ab0"} 
[2026-07-08 04:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 04:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04: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-07-08 04:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566726912001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566726912001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:15:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:15:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566726912001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":124998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:15:03] local.INFO: GPS data processed {"connection_id":124998,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:15:03] local.INFO: Acknowledgment sent {"connection_id":124998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:15:20] local.INFO: TCP Data received {"connection_id":125076,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125076,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:15:20] local.INFO: Processing buffer {"connection_id":125076,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:15:20] local.INFO: IMEI packet received {"connection_id":125076,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 04:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":125076,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:15:34] local.INFO: TCP Data received {"connection_id":124998,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ebe2ab0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ebe2ab0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:15:34] local.INFO: Processing buffer {"connection_id":124998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ebe2ab0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:15:34] local.INFO: Packet analysis {"connection_id":124998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ebe"} 
[2026-07-08 04:15:34] local.INFO: Extracted packet for processing {"connection_id":124998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ebe"} 
[2026-07-08 04:15:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566726912001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783464078000,"timestamp_ms":1783464078000,"timestamp_seconds":1783464078,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ebe2ab0"} 
[2026-07-08 04:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 04:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566726912001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566726912001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:15:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:15:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566726912001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":124998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:15:34] local.INFO: GPS data processed {"connection_id":124998,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:15:34] local.INFO: Acknowledgment sent {"connection_id":124998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:15:57] local.INFO: TCP Data received {"connection_id":127098,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:15:57] local.INFO: Processing buffer {"connection_id":127098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:15:57] local.INFO: IMEI packet received {"connection_id":127098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":127098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:15:57] local.INFO: TCP Data received {"connection_id":124999,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124999,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:15:57] local.INFO: Processing buffer {"connection_id":124999,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:15:57] local.INFO: IMEI packet received {"connection_id":124999,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 04:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":124999,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:16:02] local.INFO: TCP Data received {"connection_id":127098,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:16:02] local.INFO: Processing buffer {"connection_id":127098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:16:02] local.INFO: IMEI packet received {"connection_id":127098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":127098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:16:03] local.INFO: TCP Data received {"connection_id":127098,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ebe2ab0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ebe2ab0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:16:03] local.INFO: Processing buffer {"connection_id":127098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ebe2ab0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:16:03] local.INFO: Packet analysis {"connection_id":127098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ebe"} 
[2026-07-08 04:16:03] local.INFO: Extracted packet for processing {"connection_id":127098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ebe"} 
[2026-07-08 04:16:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566726912001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783464078000,"timestamp_ms":1783464078000,"timestamp_seconds":1783464078,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ebe2ab0"} 
[2026-07-08 04:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 04:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04: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-07-08 04:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566726912001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566726912001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:16:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:16:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566726912001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":127098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:16:03] local.INFO: GPS data processed {"connection_id":127098,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:16:03] local.INFO: Acknowledgment sent {"connection_id":127098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:16:34] local.INFO: TCP Data received {"connection_id":127098,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ebe2ab0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ebe2ab0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:16:34] local.INFO: Processing buffer {"connection_id":127098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ebe2ab0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 04:16:34] local.INFO: Packet analysis {"connection_id":127098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ebe"} 
[2026-07-08 04:16:34] local.INFO: Extracted packet for processing {"connection_id":127098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ebe"} 
[2026-07-08 04:16:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566726912001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783464078000,"timestamp_ms":1783464078000,"timestamp_seconds":1783464078,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ebe2ab0"} 
[2026-07-08 04:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 04:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04: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-07-08 04:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566726912001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566726912001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:16:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:16:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566726912001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":127098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:16:34] local.INFO: GPS data processed {"connection_id":127098,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:16:34] local.INFO: Acknowledgment sent {"connection_id":127098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:17:02] local.INFO: TCP Data received {"connection_id":125000,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:17:02] local.INFO: Processing buffer {"connection_id":125000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:17:02] local.INFO: IMEI packet received {"connection_id":125000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":125000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:17:07] local.INFO: TCP Data received {"connection_id":125000,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:17:07] local.INFO: Processing buffer {"connection_id":125000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:17:07] local.INFO: IMEI packet received {"connection_id":125000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":125000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:17:08] local.INFO: TCP Data received {"connection_id":125000,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ec2c278012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ec2c278012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:17:08] local.INFO: Processing buffer {"connection_id":125000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ec2c278012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:17:08] local.INFO: Packet analysis {"connection_id":125000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ec2"} 
[2026-07-08 04:17:08] local.INFO: Extracted packet for processing {"connection_id":125000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ec2"} 
[2026-07-08 04:17:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566803968001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783464379000,"timestamp_ms":1783464379000,"timestamp_seconds":1783464379,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ec2c278"} 
[2026-07-08 04:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 04:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566803968001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566803968001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:17:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:17:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566803968001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":125000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:17:08] local.INFO: GPS data processed {"connection_id":125000,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:17:08] local.INFO: Acknowledgment sent {"connection_id":125000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:17:12] local.INFO: TCP Data received {"connection_id":125000,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ec2c278012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ec2c278012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:17:12] local.INFO: Processing buffer {"connection_id":125000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ec2c278012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:17:12] local.INFO: Packet analysis {"connection_id":125000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ec2"} 
[2026-07-08 04:17:12] local.INFO: Extracted packet for processing {"connection_id":125000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ec2"} 
[2026-07-08 04:17:12] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566803968001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783464379000,"timestamp_ms":1783464379000,"timestamp_seconds":1783464379,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ec2c278"} 
[2026-07-08 04:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":75,"data_length":795,"current_offset":136} 
[2026-07-08 04:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566803968001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566803968001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:17:12] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:17:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566803968001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":125000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:17:12] local.INFO: GPS data processed {"connection_id":125000,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:17:12] local.INFO: Acknowledgment sent {"connection_id":125000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:17:57] local.INFO: TCP Data received {"connection_id":127100,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:17:57] local.INFO: Processing buffer {"connection_id":127100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:17:57] local.INFO: IMEI packet received {"connection_id":127100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":127100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:18:02] local.INFO: TCP Data received {"connection_id":127100,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:18:02] local.INFO: Processing buffer {"connection_id":127100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:18:02] local.INFO: IMEI packet received {"connection_id":127100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":127100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:18:02] local.INFO: TCP Data received {"connection_id":127100,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ec2c278012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ec2c278012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:18:02] local.INFO: Processing buffer {"connection_id":127100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ec2c278012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:18:02] local.INFO: Packet analysis {"connection_id":127100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ec2"} 
[2026-07-08 04:18:02] local.INFO: Extracted packet for processing {"connection_id":127100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ec2"} 
[2026-07-08 04:18:02] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566803968001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783464379000,"timestamp_ms":1783464379000,"timestamp_seconds":1783464379,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ec2c278"} 
[2026-07-08 04:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 04:18:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:18:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566803968001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566803968001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:18:02] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:18:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566803968001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":127100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:18:02] local.INFO: GPS data processed {"connection_id":127100,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:18:02] local.INFO: Acknowledgment sent {"connection_id":127100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:18:34] local.INFO: TCP Data received {"connection_id":127100,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ec2c278012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ec2c278012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:18:34] local.INFO: Processing buffer {"connection_id":127100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ec2c278012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:18:34] local.INFO: Packet analysis {"connection_id":127100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ec2"} 
[2026-07-08 04:18:34] local.INFO: Extracted packet for processing {"connection_id":127100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ec2"} 
[2026-07-08 04:18:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566803968001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783464379000,"timestamp_ms":1783464379000,"timestamp_seconds":1783464379,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ec2c278"} 
[2026-07-08 04:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":75,"data_length":795,"current_offset":136} 
[2026-07-08 04:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04: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-07-08 04:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:18: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-07-08 04:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566803968001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566803968001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:18:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:18:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566803968001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":127100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:18:34] local.INFO: GPS data processed {"connection_id":127100,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:18:34] local.INFO: Acknowledgment sent {"connection_id":127100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:18:57] local.INFO: TCP Data received {"connection_id":125838,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:18:57] local.INFO: Processing buffer {"connection_id":125838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:18:57] local.INFO: IMEI packet received {"connection_id":125838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":125838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:19:02] local.INFO: TCP Data received {"connection_id":125838,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:19:02] local.INFO: Processing buffer {"connection_id":125838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:19:02] local.INFO: IMEI packet received {"connection_id":125838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":125838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:19:02] local.INFO: TCP Data received {"connection_id":125838,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ec2c278012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ec2c278012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:19:02] local.INFO: Processing buffer {"connection_id":125838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ec2c278012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:19:02] local.INFO: Packet analysis {"connection_id":125838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ec2"} 
[2026-07-08 04:19:02] local.INFO: Extracted packet for processing {"connection_id":125838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ec2"} 
[2026-07-08 04:19:02] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566803968001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783464379000,"timestamp_ms":1783464379000,"timestamp_seconds":1783464379,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ec2c278"} 
[2026-07-08 04:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:19:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 04:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566803968001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566803968001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:19:02] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:19:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566803968001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":125838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:19:02] local.INFO: GPS data processed {"connection_id":125838,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:19:02] local.INFO: Acknowledgment sent {"connection_id":125838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:19:33] local.INFO: TCP Data received {"connection_id":125838,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ec2c278012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ec2c278012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:19:33] local.INFO: Processing buffer {"connection_id":125838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ec2c278012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:19:33] local.INFO: Packet analysis {"connection_id":125838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ec2"} 
[2026-07-08 04:19:33] local.INFO: Extracted packet for processing {"connection_id":125838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ec2"} 
[2026-07-08 04:19:33] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566803968001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783464379000,"timestamp_ms":1783464379000,"timestamp_seconds":1783464379,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ec2c278"} 
[2026-07-08 04:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 04:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04: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-07-08 04:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:19: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-07-08 04:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566803968001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566803968001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:19:33] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:19:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566803968001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":125838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:19:33] local.INFO: GPS data processed {"connection_id":125838,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:19:33] local.INFO: Acknowledgment sent {"connection_id":125838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:19:57] local.INFO: TCP Data received {"connection_id":125839,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:19:57] local.INFO: Processing buffer {"connection_id":125839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:19:57] local.INFO: IMEI packet received {"connection_id":125839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":125839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:20:02] local.INFO: TCP Data received {"connection_id":125839,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:20:02] local.INFO: Processing buffer {"connection_id":125839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:20:02] local.INFO: IMEI packet received {"connection_id":125839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":125839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:20:03] local.INFO: TCP Data received {"connection_id":125839,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ec2c278012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ec2c278012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:20:03] local.INFO: Processing buffer {"connection_id":125839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ec2c278012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:20:03] local.INFO: Packet analysis {"connection_id":125839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ec2"} 
[2026-07-08 04:20:03] local.INFO: Extracted packet for processing {"connection_id":125839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ec2"} 
[2026-07-08 04:20:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566803968001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783464379000,"timestamp_ms":1783464379000,"timestamp_seconds":1783464379,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ec2c278"} 
[2026-07-08 04:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 04:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04: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-07-08 04:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566803968001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566803968001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:20:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:20:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566803968001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":125839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:20:03] local.INFO: GPS data processed {"connection_id":125839,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:20:03] local.INFO: Acknowledgment sent {"connection_id":125839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:20:34] local.INFO: TCP Data received {"connection_id":125839,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ec2c278012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ec2c278012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:20:34] local.INFO: Processing buffer {"connection_id":125839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ec2c278012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:20:34] local.INFO: Packet analysis {"connection_id":125839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ec2"} 
[2026-07-08 04:20:34] local.INFO: Extracted packet for processing {"connection_id":125839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ec2"} 
[2026-07-08 04:20:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566803968001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783464379000,"timestamp_ms":1783464379000,"timestamp_seconds":1783464379,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ec2c278"} 
[2026-07-08 04:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 04:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04: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-07-08 04:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566803968001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566803968001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:20:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:20:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566803968001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":125839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:20:34] local.INFO: GPS data processed {"connection_id":125839,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:20:34] local.INFO: Acknowledgment sent {"connection_id":125839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:20:57] local.INFO: TCP Data received {"connection_id":125079,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:20:57] local.INFO: Processing buffer {"connection_id":125079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:20:57] local.INFO: IMEI packet received {"connection_id":125079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":125079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:21:02] local.INFO: TCP Data received {"connection_id":125079,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:21:02] local.INFO: Processing buffer {"connection_id":125079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:21:02] local.INFO: IMEI packet received {"connection_id":125079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":125079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:21:03] local.INFO: TCP Data received {"connection_id":125079,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ec2c278012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ec2c278012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:21:03] local.INFO: Processing buffer {"connection_id":125079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ec2c278012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:21:03] local.INFO: Packet analysis {"connection_id":125079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ec2"} 
[2026-07-08 04:21:03] local.INFO: Extracted packet for processing {"connection_id":125079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ec2"} 
[2026-07-08 04:21:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566803968001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783464379000,"timestamp_ms":1783464379000,"timestamp_seconds":1783464379,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ec2c278"} 
[2026-07-08 04:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 04:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566803968001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566803968001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:21:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:21:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566803968001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":125079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:21:03] local.INFO: GPS data processed {"connection_id":125079,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:21:03] local.INFO: Acknowledgment sent {"connection_id":125079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:21:33] local.INFO: TCP Data received {"connection_id":125078,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125078,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:21:33] local.INFO: Processing buffer {"connection_id":125078,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:21:33] local.INFO: IMEI packet received {"connection_id":125078,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 04:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":125078,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:21:34] local.INFO: TCP Data received {"connection_id":125079,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ec2c278012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ec2c278012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:21:34] local.INFO: Processing buffer {"connection_id":125079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ec2c278012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:21:34] local.INFO: Packet analysis {"connection_id":125079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ec2"} 
[2026-07-08 04:21:34] local.INFO: Extracted packet for processing {"connection_id":125079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ec2"} 
[2026-07-08 04:21:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566803968001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783464379000,"timestamp_ms":1783464379000,"timestamp_seconds":1783464379,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ec2c278"} 
[2026-07-08 04:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 04:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:21:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566803968001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566803968001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:21:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:21:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566803968001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":125079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:21:34] local.INFO: GPS data processed {"connection_id":125079,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:21:34] local.INFO: Acknowledgment sent {"connection_id":125079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:21:57] local.INFO: TCP Data received {"connection_id":127101,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127101,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:21:57] local.INFO: Processing buffer {"connection_id":127101,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:21:57] local.INFO: IMEI packet received {"connection_id":127101,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 04:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":127101,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:21:58] local.INFO: TCP Data received {"connection_id":125840,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:21:58] local.INFO: Processing buffer {"connection_id":125840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:21:58] local.INFO: IMEI packet received {"connection_id":125840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":125840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:22:02] local.INFO: TCP Data received {"connection_id":125840,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:22:02] local.INFO: Processing buffer {"connection_id":125840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:22:02] local.INFO: IMEI packet received {"connection_id":125840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":125840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:22:07] local.INFO: TCP Data received {"connection_id":125840,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:22:07] local.INFO: Processing buffer {"connection_id":125840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:22:07] local.INFO: IMEI packet received {"connection_id":125840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":125840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:22:08] local.INFO: TCP Data received {"connection_id":125840,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ec75a40012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ec75a40012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:22:08] local.INFO: Processing buffer {"connection_id":125840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ec75a40012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:22:08] local.INFO: Packet analysis {"connection_id":125840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ec7"} 
[2026-07-08 04:22:08] local.INFO: Extracted packet for processing {"connection_id":125840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ec7"} 
[2026-07-08 04:22:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566881024001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783464680000,"timestamp_ms":1783464680000,"timestamp_seconds":1783464680,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ec75a40"} 
[2026-07-08 04:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 04:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566881024001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566881024001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:22:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:22:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566881024001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":125840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:22:08] local.INFO: GPS data processed {"connection_id":125840,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:22:08] local.INFO: Acknowledgment sent {"connection_id":125840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:22:12] local.INFO: TCP Data received {"connection_id":125840,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ec75a40012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ec75a40012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:22:12] local.INFO: Processing buffer {"connection_id":125840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ec75a40012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:22:12] local.INFO: Packet analysis {"connection_id":125840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ec7"} 
[2026-07-08 04:22:12] local.INFO: Extracted packet for processing {"connection_id":125840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ec7"} 
[2026-07-08 04:22:12] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566881024001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783464680000,"timestamp_ms":1783464680000,"timestamp_seconds":1783464680,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ec75a40"} 
[2026-07-08 04:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 04:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566881024001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566881024001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:22:12] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:22:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566881024001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":125840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:22:12] local.INFO: GPS data processed {"connection_id":125840,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:22:12] local.INFO: Acknowledgment sent {"connection_id":125840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:22:59] local.INFO: TCP Data received {"connection_id":127102,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:22:59] local.INFO: Processing buffer {"connection_id":127102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:22:59] local.INFO: IMEI packet received {"connection_id":127102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":127102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:23:02] local.INFO: TCP Data received {"connection_id":127102,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:23:02] local.INFO: Processing buffer {"connection_id":127102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:23:02] local.INFO: IMEI packet received {"connection_id":127102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":127102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:23:06] local.INFO: TCP Data received {"connection_id":127102,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ec75a40012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ec75a40012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:23:06] local.INFO: Processing buffer {"connection_id":127102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ec75a40012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:23:06] local.INFO: Packet analysis {"connection_id":127102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ec7"} 
[2026-07-08 04:23:06] local.INFO: Extracted packet for processing {"connection_id":127102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ec7"} 
[2026-07-08 04:23:06] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566881024001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783464680000,"timestamp_ms":1783464680000,"timestamp_seconds":1783464680,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ec75a40"} 
[2026-07-08 04:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 04:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566881024001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566881024001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:23:06] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:23:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566881024001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":127102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:23:06] local.INFO: GPS data processed {"connection_id":127102,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:23:06] local.INFO: Acknowledgment sent {"connection_id":127102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:23:28] local.INFO: TCP Data received {"connection_id":127102,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ec75a40012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ec75a40012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:23:28] local.INFO: Processing buffer {"connection_id":127102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ec75a40012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:23:28] local.INFO: Packet analysis {"connection_id":127102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ec7"} 
[2026-07-08 04:23:28] local.INFO: Extracted packet for processing {"connection_id":127102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ec7"} 
[2026-07-08 04:23:28] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566881024001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783464680000,"timestamp_ms":1783464680000,"timestamp_seconds":1783464680,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ec75a40"} 
[2026-07-08 04:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 04:23:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:23:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":127102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":127102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":127102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:23: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-07-08 04:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566881024001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566881024001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:23:28] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:23:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566881024001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":127102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:23:28] local.INFO: GPS data processed {"connection_id":127102,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:23:28] local.INFO: Acknowledgment sent {"connection_id":127102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:23:57] local.INFO: TCP Data received {"connection_id":125842,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:23:57] local.INFO: Processing buffer {"connection_id":125842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:23:57] local.INFO: IMEI packet received {"connection_id":125842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":125842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:24:02] local.INFO: TCP Data received {"connection_id":125842,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:24:02] local.INFO: Processing buffer {"connection_id":125842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:24:02] local.INFO: IMEI packet received {"connection_id":125842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":125842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:24:03] local.INFO: TCP Data received {"connection_id":125842,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ec75a40012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ec75a40012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:24:03] local.INFO: Processing buffer {"connection_id":125842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ec75a40012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:24:03] local.INFO: Packet analysis {"connection_id":125842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ec7"} 
[2026-07-08 04:24:03] local.INFO: Extracted packet for processing {"connection_id":125842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ec7"} 
[2026-07-08 04:24:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566881024001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783464680000,"timestamp_ms":1783464680000,"timestamp_seconds":1783464680,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ec75a40"} 
[2026-07-08 04:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 04:24: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-07-08 04: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-07-08 04:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566881024001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566881024001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:24:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:24:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566881024001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":125842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:24:03] local.INFO: GPS data processed {"connection_id":125842,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:24:03] local.INFO: Acknowledgment sent {"connection_id":125842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:24:34] local.INFO: TCP Data received {"connection_id":125842,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ec75a40012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ec75a40012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:24:34] local.INFO: Processing buffer {"connection_id":125842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ec75a40012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:24:34] local.INFO: Packet analysis {"connection_id":125842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ec7"} 
[2026-07-08 04:24:34] local.INFO: Extracted packet for processing {"connection_id":125842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ec7"} 
[2026-07-08 04:24:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566881024001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783464680000,"timestamp_ms":1783464680000,"timestamp_seconds":1783464680,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ec75a40"} 
[2026-07-08 04:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":86,"data_length":795,"current_offset":136} 
[2026-07-08 04:24: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-07-08 04: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-07-08 04:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566881024001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566881024001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:24:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:24:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566881024001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":125842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:24:34] local.INFO: GPS data processed {"connection_id":125842,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:24:34] local.INFO: Acknowledgment sent {"connection_id":125842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:24:57] local.INFO: TCP Data received {"connection_id":127104,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:24:57] local.INFO: Processing buffer {"connection_id":127104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:24:57] local.INFO: IMEI packet received {"connection_id":127104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":127104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:25:02] local.INFO: TCP Data received {"connection_id":127104,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:25:02] local.INFO: Processing buffer {"connection_id":127104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:25:02] local.INFO: IMEI packet received {"connection_id":127104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":127104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:25:03] local.INFO: TCP Data received {"connection_id":127104,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ec75a40012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ec75a40012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:25:03] local.INFO: Processing buffer {"connection_id":127104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ec75a40012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:25:03] local.INFO: Packet analysis {"connection_id":127104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ec7"} 
[2026-07-08 04:25:03] local.INFO: Extracted packet for processing {"connection_id":127104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ec7"} 
[2026-07-08 04:25:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566881024001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783464680000,"timestamp_ms":1783464680000,"timestamp_seconds":1783464680,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ec75a40"} 
[2026-07-08 04:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 04:25: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-07-08 04: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-07-08 04:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566881024001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566881024001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:25:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:25:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566881024001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":127104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:25:03] local.INFO: GPS data processed {"connection_id":127104,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:25:03] local.INFO: Acknowledgment sent {"connection_id":127104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:25:34] local.INFO: TCP Data received {"connection_id":127104,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ec75a40012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ec75a40012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:25:34] local.INFO: Processing buffer {"connection_id":127104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ec75a40012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:25:34] local.INFO: Packet analysis {"connection_id":127104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ec7"} 
[2026-07-08 04:25:34] local.INFO: Extracted packet for processing {"connection_id":127104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ec7"} 
[2026-07-08 04:25:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566881024001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783464680000,"timestamp_ms":1783464680000,"timestamp_seconds":1783464680,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ec75a40"} 
[2026-07-08 04:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 04:25: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-07-08 04: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-07-08 04:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566881024001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566881024001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:25:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:25:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566881024001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":127104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:25:34] local.INFO: GPS data processed {"connection_id":127104,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:25:34] local.INFO: Acknowledgment sent {"connection_id":127104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:25:57] local.INFO: TCP Data received {"connection_id":125005,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:25:57] local.INFO: Processing buffer {"connection_id":125005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:25:57] local.INFO: IMEI packet received {"connection_id":125005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":125005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:26:02] local.INFO: TCP Data received {"connection_id":125005,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:26:02] local.INFO: Processing buffer {"connection_id":125005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:26:02] local.INFO: IMEI packet received {"connection_id":125005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":125005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:26:03] local.INFO: TCP Data received {"connection_id":125005,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ec75a40012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ec75a40012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:26:03] local.INFO: Processing buffer {"connection_id":125005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ec75a40012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:26:03] local.INFO: Packet analysis {"connection_id":125005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ec7"} 
[2026-07-08 04:26:03] local.INFO: Extracted packet for processing {"connection_id":125005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ec7"} 
[2026-07-08 04:26:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566881024001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783464680000,"timestamp_ms":1783464680000,"timestamp_seconds":1783464680,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ec75a40"} 
[2026-07-08 04:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 04:26: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-07-08 04: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-07-08 04:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566881024001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566881024001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:26:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:26:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566881024001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":125005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:26:03] local.INFO: GPS data processed {"connection_id":125005,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:26:03] local.INFO: Acknowledgment sent {"connection_id":125005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:26:34] local.INFO: TCP Data received {"connection_id":125005,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ec75a40012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ec75a40012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:26:34] local.INFO: Processing buffer {"connection_id":125005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ec75a40012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:26:34] local.INFO: Packet analysis {"connection_id":125005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ec7"} 
[2026-07-08 04:26:34] local.INFO: Extracted packet for processing {"connection_id":125005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ec7"} 
[2026-07-08 04:26:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566881024001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783464680000,"timestamp_ms":1783464680000,"timestamp_seconds":1783464680,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ec75a40"} 
[2026-07-08 04:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 04:26: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-07-08 04: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-07-08 04:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566881024001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566881024001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:26:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:26:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566881024001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":125005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:26:34] local.INFO: GPS data processed {"connection_id":125005,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:26:34] local.INFO: Acknowledgment sent {"connection_id":125005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:26:59] local.INFO: TCP Data received {"connection_id":125081,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:26:59] local.INFO: Processing buffer {"connection_id":125081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:26:59] local.INFO: IMEI packet received {"connection_id":125081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":125081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:27:02] local.INFO: TCP Data received {"connection_id":125081,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:27:02] local.INFO: Processing buffer {"connection_id":125081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:27:02] local.INFO: IMEI packet received {"connection_id":125081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":125081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:27:02] local.INFO: TCP Data received {"connection_id":125082,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125082,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:27:02] local.INFO: Processing buffer {"connection_id":125082,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:27:02] local.INFO: IMEI packet received {"connection_id":125082,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 04:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":125082,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:27:07] local.INFO: TCP Data received {"connection_id":125081,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:27:07] local.INFO: Processing buffer {"connection_id":125081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:27:07] local.INFO: IMEI packet received {"connection_id":125081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":125081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:27:08] local.INFO: TCP Data received {"connection_id":125081,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ecbf208012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ecbf208012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:27:08] local.INFO: Processing buffer {"connection_id":125081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ecbf208012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:27:08] local.INFO: Packet analysis {"connection_id":125081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ecb"} 
[2026-07-08 04:27:08] local.INFO: Extracted packet for processing {"connection_id":125081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ecb"} 
[2026-07-08 04:27:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566958080001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783464981000,"timestamp_ms":1783464981000,"timestamp_seconds":1783464981,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ecbf208"} 
[2026-07-08 04:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 04:27:08] 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-07-08 04:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566958080001,"66":25343,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566958080001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:27:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:27:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566958080001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":125081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:27:08] local.INFO: GPS data processed {"connection_id":125081,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:27:08] local.INFO: Acknowledgment sent {"connection_id":125081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:27:12] local.INFO: TCP Data received {"connection_id":125081,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ecbf208012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ecbf208012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:27:12] local.INFO: Processing buffer {"connection_id":125081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ecbf208012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:27:12] local.INFO: Packet analysis {"connection_id":125081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ecb"} 
[2026-07-08 04:27:12] local.INFO: Extracted packet for processing {"connection_id":125081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ecb"} 
[2026-07-08 04:27:12] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566958080001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783464981000,"timestamp_ms":1783464981000,"timestamp_seconds":1783464981,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ecbf208"} 
[2026-07-08 04:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 04:27:12] 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-07-08 04:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566958080001,"66":25343,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566958080001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:27:12] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:27:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566958080001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":125081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:27:12] local.INFO: GPS data processed {"connection_id":125081,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:27:12] local.INFO: Acknowledgment sent {"connection_id":125081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:27:57] local.INFO: TCP Data received {"connection_id":127105,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:27:57] local.INFO: Processing buffer {"connection_id":127105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:27:57] local.INFO: IMEI packet received {"connection_id":127105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":127105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:28:02] local.INFO: TCP Data received {"connection_id":127105,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:28:02] local.INFO: Processing buffer {"connection_id":127105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:28:02] local.INFO: IMEI packet received {"connection_id":127105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":127105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:28:03] local.INFO: TCP Data received {"connection_id":127105,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ecbf208012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ecbf208012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:28:03] local.INFO: Processing buffer {"connection_id":127105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ecbf208012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:28:03] local.INFO: Packet analysis {"connection_id":127105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ecb"} 
[2026-07-08 04:28:03] local.INFO: Extracted packet for processing {"connection_id":127105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ecb"} 
[2026-07-08 04:28:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566958080001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783464981000,"timestamp_ms":1783464981000,"timestamp_seconds":1783464981,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ecbf208"} 
[2026-07-08 04:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 04:28:03] 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-07-08 04: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-07-08 04:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566958080001,"66":25343,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566958080001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:28:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:28:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566958080001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":127105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:28:03] local.INFO: GPS data processed {"connection_id":127105,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:28:03] local.INFO: Acknowledgment sent {"connection_id":127105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:28:34] local.INFO: TCP Data received {"connection_id":127105,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ecbf208012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ecbf208012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:28:34] local.INFO: Processing buffer {"connection_id":127105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ecbf208012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:28:34] local.INFO: Packet analysis {"connection_id":127105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ecb"} 
[2026-07-08 04:28:34] local.INFO: Extracted packet for processing {"connection_id":127105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ecb"} 
[2026-07-08 04:28:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566958080001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783464981000,"timestamp_ms":1783464981000,"timestamp_seconds":1783464981,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ecbf208"} 
[2026-07-08 04:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 04:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04: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-07-08 04:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566958080001,"66":25343,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566958080001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:28:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:28:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566958080001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":127105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:28:34] local.INFO: GPS data processed {"connection_id":127105,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:28:34] local.INFO: Acknowledgment sent {"connection_id":127105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:28:57] local.INFO: TCP Data received {"connection_id":125083,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:28:57] local.INFO: Processing buffer {"connection_id":125083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:28:57] local.INFO: IMEI packet received {"connection_id":125083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":125083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:29:02] local.INFO: TCP Data received {"connection_id":125083,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:29:02] local.INFO: Processing buffer {"connection_id":125083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:29:02] local.INFO: IMEI packet received {"connection_id":125083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":125083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:29:03] local.INFO: TCP Data received {"connection_id":125083,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ecbf208012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ecbf208012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:29:03] local.INFO: Processing buffer {"connection_id":125083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ecbf208012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:29:03] local.INFO: Packet analysis {"connection_id":125083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ecb"} 
[2026-07-08 04:29:03] local.INFO: Extracted packet for processing {"connection_id":125083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ecb"} 
[2026-07-08 04:29:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566958080001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783464981000,"timestamp_ms":1783464981000,"timestamp_seconds":1783464981,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ecbf208"} 
[2026-07-08 04:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 04:29:03] 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-07-08 04:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566958080001,"66":25343,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566958080001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:29:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:29:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566958080001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":125083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:29:03] local.INFO: GPS data processed {"connection_id":125083,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:29:03] local.INFO: Acknowledgment sent {"connection_id":125083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:29:34] local.INFO: TCP Data received {"connection_id":125083,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ecbf208012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ecbf208012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:29:34] local.INFO: Processing buffer {"connection_id":125083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ecbf208012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:29:34] local.INFO: Packet analysis {"connection_id":125083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ecb"} 
[2026-07-08 04:29:34] local.INFO: Extracted packet for processing {"connection_id":125083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ecb"} 
[2026-07-08 04:29:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566958080001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783464981000,"timestamp_ms":1783464981000,"timestamp_seconds":1783464981,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ecbf208"} 
[2026-07-08 04:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 04:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04: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-07-08 04:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566958080001,"66":25343,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566958080001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:29:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:29:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566958080001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":125083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:29:34] local.INFO: GPS data processed {"connection_id":125083,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:29:34] local.INFO: Acknowledgment sent {"connection_id":125083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:29:57] local.INFO: TCP Data received {"connection_id":127106,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:29:57] local.INFO: Processing buffer {"connection_id":127106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:29:57] local.INFO: IMEI packet received {"connection_id":127106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":127106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:30:02] local.INFO: TCP Data received {"connection_id":127106,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:30:02] local.INFO: Processing buffer {"connection_id":127106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:30:02] local.INFO: IMEI packet received {"connection_id":127106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":127106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:30:03] local.INFO: TCP Data received {"connection_id":127106,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ecbf208012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ecbf208012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:30:03] local.INFO: Processing buffer {"connection_id":127106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ecbf208012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:30:03] local.INFO: Packet analysis {"connection_id":127106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ecb"} 
[2026-07-08 04:30:03] local.INFO: Extracted packet for processing {"connection_id":127106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ecb"} 
[2026-07-08 04:30:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566958080001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783464981000,"timestamp_ms":1783464981000,"timestamp_seconds":1783464981,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ecbf208"} 
[2026-07-08 04:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 04:30:03] 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-07-08 04:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566958080001,"66":25343,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566958080001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:30:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:30:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566958080001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":127106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:30:03] local.INFO: GPS data processed {"connection_id":127106,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:30:03] local.INFO: Acknowledgment sent {"connection_id":127106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:30:34] local.INFO: TCP Data received {"connection_id":127106,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ecbf208012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ecbf208012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:30:34] local.INFO: Processing buffer {"connection_id":127106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ecbf208012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:30:34] local.INFO: Packet analysis {"connection_id":127106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ecb"} 
[2026-07-08 04:30:34] local.INFO: Extracted packet for processing {"connection_id":127106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ecb"} 
[2026-07-08 04:30:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566958080001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783464981000,"timestamp_ms":1783464981000,"timestamp_seconds":1783464981,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ecbf208"} 
[2026-07-08 04:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 04:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566958080001,"66":25343,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566958080001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:30:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:30:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566958080001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":127106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:30:34] local.INFO: GPS data processed {"connection_id":127106,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:30:34] local.INFO: Acknowledgment sent {"connection_id":127106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:30:57] local.INFO: TCP Data received {"connection_id":125844,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:30:57] local.INFO: Processing buffer {"connection_id":125844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:30:57] local.INFO: IMEI packet received {"connection_id":125844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":125844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:31:02] local.INFO: TCP Data received {"connection_id":125844,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:31:02] local.INFO: Processing buffer {"connection_id":125844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:31:02] local.INFO: IMEI packet received {"connection_id":125844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":125844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:31:03] local.INFO: TCP Data received {"connection_id":125844,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ecbf208012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ecbf208012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:31:03] local.INFO: Processing buffer {"connection_id":125844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ecbf208012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:31:03] local.INFO: Packet analysis {"connection_id":125844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ecb"} 
[2026-07-08 04:31:03] local.INFO: Extracted packet for processing {"connection_id":125844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ecb"} 
[2026-07-08 04:31:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566958080001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783464981000,"timestamp_ms":1783464981000,"timestamp_seconds":1783464981,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ecbf208"} 
[2026-07-08 04:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 04:31:03] 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-07-08 04: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-07-08 04:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566958080001,"66":25343,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566958080001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:31:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:31:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566958080001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":125844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:31:03] local.INFO: GPS data processed {"connection_id":125844,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:31:03] local.INFO: Acknowledgment sent {"connection_id":125844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:31:34] local.INFO: TCP Data received {"connection_id":125844,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ecbf208012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ecbf208012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:31:34] local.INFO: Processing buffer {"connection_id":125844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ecbf208012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:31:34] local.INFO: Packet analysis {"connection_id":125844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ecb"} 
[2026-07-08 04:31:34] local.INFO: Extracted packet for processing {"connection_id":125844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ecb"} 
[2026-07-08 04:31:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456566958080001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783464981000,"timestamp_ms":1783464981000,"timestamp_seconds":1783464981,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ecbf208"} 
[2026-07-08 04:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 04:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456566958080001,"66":25343,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456566958080001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:31:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:31:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456566958080001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":125844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:31:34] local.INFO: GPS data processed {"connection_id":125844,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:31:34] local.INFO: Acknowledgment sent {"connection_id":125844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:32:00] local.INFO: TCP Data received {"connection_id":125010,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:32:00] local.INFO: Processing buffer {"connection_id":125010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:32:00] local.INFO: IMEI packet received {"connection_id":125010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":125010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:32:02] local.INFO: TCP Data received {"connection_id":125010,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:32:02] local.INFO: Processing buffer {"connection_id":125010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:32:02] local.INFO: IMEI packet received {"connection_id":125010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":125010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:32:07] local.INFO: TCP Data received {"connection_id":125010,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:32:07] local.INFO: Processing buffer {"connection_id":125010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:32:07] local.INFO: IMEI packet received {"connection_id":125010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":125010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:32:12] local.INFO: TCP Data received {"connection_id":125010,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ed089d0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ed089d0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:32:12] local.INFO: Processing buffer {"connection_id":125010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ed089d0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:32:12] local.INFO: Packet analysis {"connection_id":125010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ed0"} 
[2026-07-08 04:32:12] local.INFO: Extracted packet for processing {"connection_id":125010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ed0"} 
[2026-07-08 04:32:12] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567035136001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783465282000,"timestamp_ms":1783465282000,"timestamp_seconds":1783465282,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ed089d0"} 
[2026-07-08 04:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 04:32:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04: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-07-08 04:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567035136001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567035136001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:32:12] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:32:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567035136001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":125010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:32:12] local.INFO: GPS data processed {"connection_id":125010,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:32:12] local.INFO: Acknowledgment sent {"connection_id":125010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:32:32] local.INFO: TCP Data received {"connection_id":125009,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125009,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:32:32] local.INFO: Processing buffer {"connection_id":125009,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:32:32] local.INFO: IMEI packet received {"connection_id":125009,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 04:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":125009,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:32:57] local.INFO: TCP Data received {"connection_id":125084,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:32:57] local.INFO: Processing buffer {"connection_id":125084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:32:57] local.INFO: IMEI packet received {"connection_id":125084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":125084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:32:57] local.INFO: TCP Data received {"connection_id":125085,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125085,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:32:57] local.INFO: Processing buffer {"connection_id":125085,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:32:57] local.INFO: IMEI packet received {"connection_id":125085,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 04:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":125085,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:33:02] local.INFO: TCP Data received {"connection_id":125084,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:33:02] local.INFO: Processing buffer {"connection_id":125084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:33:02] local.INFO: IMEI packet received {"connection_id":125084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":125084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:33:03] local.INFO: TCP Data received {"connection_id":125084,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ed089d0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ed089d0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:33:03] local.INFO: Processing buffer {"connection_id":125084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ed089d0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:33:03] local.INFO: Packet analysis {"connection_id":125084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ed0"} 
[2026-07-08 04:33:03] local.INFO: Extracted packet for processing {"connection_id":125084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ed0"} 
[2026-07-08 04:33:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567035136001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783465282000,"timestamp_ms":1783465282000,"timestamp_seconds":1783465282,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ed089d0"} 
[2026-07-08 04:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 04:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567035136001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567035136001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:33:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:33:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567035136001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":125084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:33:03] local.INFO: GPS data processed {"connection_id":125084,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:33:03] local.INFO: Acknowledgment sent {"connection_id":125084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:33:34] local.INFO: TCP Data received {"connection_id":125084,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ed089d0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ed089d0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:33:34] local.INFO: Processing buffer {"connection_id":125084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ed089d0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:33:34] local.INFO: Packet analysis {"connection_id":125084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ed0"} 
[2026-07-08 04:33:34] local.INFO: Extracted packet for processing {"connection_id":125084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ed0"} 
[2026-07-08 04:33:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567035136001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783465282000,"timestamp_ms":1783465282000,"timestamp_seconds":1783465282,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ed089d0"} 
[2026-07-08 04:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 04:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04: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-07-08 04:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567035136001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567035136001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:33:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:33:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567035136001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":125084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:33:34] local.INFO: GPS data processed {"connection_id":125084,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:33:34] local.INFO: Acknowledgment sent {"connection_id":125084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:33:57] local.INFO: TCP Data received {"connection_id":125845,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:33:57] local.INFO: Processing buffer {"connection_id":125845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:33:57] local.INFO: IMEI packet received {"connection_id":125845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":125845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:34:02] local.INFO: TCP Data received {"connection_id":125845,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:34:02] local.INFO: Processing buffer {"connection_id":125845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:34:02] local.INFO: IMEI packet received {"connection_id":125845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":125845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:34:03] local.INFO: TCP Data received {"connection_id":125845,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ed089d0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ed089d0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:34:03] local.INFO: Processing buffer {"connection_id":125845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ed089d0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:34:03] local.INFO: Packet analysis {"connection_id":125845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ed0"} 
[2026-07-08 04:34:03] local.INFO: Extracted packet for processing {"connection_id":125845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ed0"} 
[2026-07-08 04:34:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567035136001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783465282000,"timestamp_ms":1783465282000,"timestamp_seconds":1783465282,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ed089d0"} 
[2026-07-08 04:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 04:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567035136001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567035136001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:34:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:34:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567035136001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":125845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:34:03] local.INFO: GPS data processed {"connection_id":125845,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:34:03] local.INFO: Acknowledgment sent {"connection_id":125845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:34:34] local.INFO: TCP Data received {"connection_id":125845,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ed089d0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ed089d0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:34:34] local.INFO: Processing buffer {"connection_id":125845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ed089d0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:34:34] local.INFO: Packet analysis {"connection_id":125845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ed0"} 
[2026-07-08 04:34:34] local.INFO: Extracted packet for processing {"connection_id":125845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ed0"} 
[2026-07-08 04:34:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567035136001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783465282000,"timestamp_ms":1783465282000,"timestamp_seconds":1783465282,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ed089d0"} 
[2026-07-08 04:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 04:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567035136001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567035136001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:34:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:34:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567035136001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":125845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:34:34] local.INFO: GPS data processed {"connection_id":125845,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:34:34] local.INFO: Acknowledgment sent {"connection_id":125845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:34:57] local.INFO: TCP Data received {"connection_id":127108,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:34:57] local.INFO: Processing buffer {"connection_id":127108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:34:57] local.INFO: IMEI packet received {"connection_id":127108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":127108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:35:02] local.INFO: TCP Data received {"connection_id":127108,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:35:02] local.INFO: Processing buffer {"connection_id":127108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:35:02] local.INFO: IMEI packet received {"connection_id":127108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":127108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:35:03] local.INFO: TCP Data received {"connection_id":127108,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ed089d0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ed089d0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:35:03] local.INFO: Processing buffer {"connection_id":127108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ed089d0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:35:03] local.INFO: Packet analysis {"connection_id":127108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ed0"} 
[2026-07-08 04:35:03] local.INFO: Extracted packet for processing {"connection_id":127108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ed0"} 
[2026-07-08 04:35:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567035136001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783465282000,"timestamp_ms":1783465282000,"timestamp_seconds":1783465282,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ed089d0"} 
[2026-07-08 04:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 04:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04: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-07-08 04:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567035136001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567035136001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:35:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:35:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567035136001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":127108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:35:03] local.INFO: GPS data processed {"connection_id":127108,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:35:03] local.INFO: Acknowledgment sent {"connection_id":127108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:35:34] local.INFO: TCP Data received {"connection_id":127108,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ed089d0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ed089d0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:35:34] local.INFO: Processing buffer {"connection_id":127108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ed089d0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:35:34] local.INFO: Packet analysis {"connection_id":127108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ed0"} 
[2026-07-08 04:35:34] local.INFO: Extracted packet for processing {"connection_id":127108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ed0"} 
[2026-07-08 04:35:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567035136001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783465282000,"timestamp_ms":1783465282000,"timestamp_seconds":1783465282,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ed089d0"} 
[2026-07-08 04:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 04:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567035136001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567035136001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:35:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:35:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567035136001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":127108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:35:34] local.INFO: GPS data processed {"connection_id":127108,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:35:34] local.INFO: Acknowledgment sent {"connection_id":127108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:35:57] local.INFO: TCP Data received {"connection_id":125846,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:35:57] local.INFO: Processing buffer {"connection_id":125846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:35:57] local.INFO: IMEI packet received {"connection_id":125846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":125846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:36:02] local.INFO: TCP Data received {"connection_id":125846,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:36:02] local.INFO: Processing buffer {"connection_id":125846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:36:02] local.INFO: IMEI packet received {"connection_id":125846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":125846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:36:03] local.INFO: TCP Data received {"connection_id":125846,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ed089d0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ed089d0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:36:03] local.INFO: Processing buffer {"connection_id":125846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ed089d0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:36:03] local.INFO: Packet analysis {"connection_id":125846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ed0"} 
[2026-07-08 04:36:03] local.INFO: Extracted packet for processing {"connection_id":125846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ed0"} 
[2026-07-08 04:36:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567035136001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783465282000,"timestamp_ms":1783465282000,"timestamp_seconds":1783465282,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ed089d0"} 
[2026-07-08 04:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 04:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567035136001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567035136001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:36:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:36:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567035136001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":125846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:36:03] local.INFO: GPS data processed {"connection_id":125846,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:36:03] local.INFO: Acknowledgment sent {"connection_id":125846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:36:34] local.INFO: TCP Data received {"connection_id":125846,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ed089d0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ed089d0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:36:34] local.INFO: Processing buffer {"connection_id":125846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ed089d0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:36:34] local.INFO: Packet analysis {"connection_id":125846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ed0"} 
[2026-07-08 04:36:34] local.INFO: Extracted packet for processing {"connection_id":125846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ed0"} 
[2026-07-08 04:36:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567035136001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783465282000,"timestamp_ms":1783465282000,"timestamp_seconds":1783465282,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ed089d0"} 
[2026-07-08 04:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 04:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04: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-07-08 04:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567035136001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567035136001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:36:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:36:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567035136001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":125846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:36:34] local.INFO: GPS data processed {"connection_id":125846,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:36:34] local.INFO: Acknowledgment sent {"connection_id":125846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:37:01] local.INFO: TCP Data received {"connection_id":125012,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:37:01] local.INFO: Processing buffer {"connection_id":125012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:37:01] local.INFO: IMEI packet received {"connection_id":125012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":125012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:37:02] local.INFO: TCP Data received {"connection_id":125012,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:37:02] local.INFO: Processing buffer {"connection_id":125012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:37:02] local.INFO: IMEI packet received {"connection_id":125012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":125012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:37:07] local.INFO: TCP Data received {"connection_id":125012,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:37:07] local.INFO: Processing buffer {"connection_id":125012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:37:07] local.INFO: IMEI packet received {"connection_id":125012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":125012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:37:08] local.INFO: TCP Data received {"connection_id":125012,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ed52198012dc5eb400537d5a0003401442b..."} 
[2026-07-08 04:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ed52198012dc5eb400537d5a0003401442b..."} 
[2026-07-08 04:37:08] local.INFO: Processing buffer {"connection_id":125012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ed52198012dc5eb400537d5a0003401442b..."} 
[2026-07-08 04:37:08] local.INFO: Packet analysis {"connection_id":125012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ed5"} 
[2026-07-08 04:37:08] local.INFO: Extracted packet for processing {"connection_id":125012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ed5"} 
[2026-07-08 04:37:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567112192001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783465583000,"timestamp_ms":1783465583000,"timestamp_seconds":1783465583,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ed52198"} 
[2026-07-08 04:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 04:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567112192001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567112192001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:37:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:37:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567112192001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":125012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:37:08] local.INFO: GPS data processed {"connection_id":125012,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:37:08] local.INFO: Acknowledgment sent {"connection_id":125012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:37:39] local.INFO: TCP Data received {"connection_id":125012,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ed52198012dc5eb400537d5a0003401442b..."} 
[2026-07-08 04:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ed52198012dc5eb400537d5a0003401442b..."} 
[2026-07-08 04:37:39] local.INFO: Processing buffer {"connection_id":125012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ed52198012dc5eb400537d5a0003401442b..."} 
[2026-07-08 04:37:39] local.INFO: Packet analysis {"connection_id":125012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ed5"} 
[2026-07-08 04:37:39] local.INFO: Extracted packet for processing {"connection_id":125012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ed5"} 
[2026-07-08 04:37:39] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567112192001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783465583000,"timestamp_ms":1783465583000,"timestamp_seconds":1783465583,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ed52198"} 
[2026-07-08 04:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 04:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567112192001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567112192001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:37:39] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:37:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567112192001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":125012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:37:39] local.INFO: GPS data processed {"connection_id":125012,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:37:39] local.INFO: Acknowledgment sent {"connection_id":125012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:37:57] local.INFO: TCP Data received {"connection_id":125086,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:37:57] local.INFO: Processing buffer {"connection_id":125086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:37:57] local.INFO: IMEI packet received {"connection_id":125086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":125086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:38:02] local.INFO: TCP Data received {"connection_id":125086,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:38:02] local.INFO: Processing buffer {"connection_id":125086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:38:02] local.INFO: IMEI packet received {"connection_id":125086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":125086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:38:06] local.INFO: TCP Data received {"connection_id":125086,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ed52198012dc5eb400537d5a0003401442b..."} 
[2026-07-08 04:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ed52198012dc5eb400537d5a0003401442b..."} 
[2026-07-08 04:38:06] local.INFO: Processing buffer {"connection_id":125086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ed52198012dc5eb400537d5a0003401442b..."} 
[2026-07-08 04:38:06] local.INFO: Packet analysis {"connection_id":125086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ed5"} 
[2026-07-08 04:38:06] local.INFO: Extracted packet for processing {"connection_id":125086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ed5"} 
[2026-07-08 04:38:06] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567112192001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783465583000,"timestamp_ms":1783465583000,"timestamp_seconds":1783465583,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ed52198"} 
[2026-07-08 04:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 04:38: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-07-08 04:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567112192001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567112192001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:38:06] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:38:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567112192001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":125086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:38:06] local.INFO: GPS data processed {"connection_id":125086,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:38:06] local.INFO: Acknowledgment sent {"connection_id":125086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:38:22] local.INFO: TCP Data received {"connection_id":125087,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125087,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:38:22] local.INFO: Processing buffer {"connection_id":125087,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:38:22] local.INFO: IMEI packet received {"connection_id":125087,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 04:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":125087,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:38:37] local.INFO: TCP Data received {"connection_id":125086,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ed52198012dc5eb400537d5a0003401442b..."} 
[2026-07-08 04:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ed52198012dc5eb400537d5a0003401442b..."} 
[2026-07-08 04:38:37] local.INFO: Processing buffer {"connection_id":125086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ed52198012dc5eb400537d5a0003401442b..."} 
[2026-07-08 04:38:37] local.INFO: Packet analysis {"connection_id":125086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ed5"} 
[2026-07-08 04:38:37] local.INFO: Extracted packet for processing {"connection_id":125086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ed5"} 
[2026-07-08 04:38:37] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567112192001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783465583000,"timestamp_ms":1783465583000,"timestamp_seconds":1783465583,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ed52198"} 
[2026-07-08 04:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":53,"data_length":795,"current_offset":136} 
[2026-07-08 04:38: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-07-08 04:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567112192001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567112192001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:38:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:38:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567112192001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":125086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:38:37] local.INFO: GPS data processed {"connection_id":125086,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:38:37] local.INFO: Acknowledgment sent {"connection_id":125086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:38:57] local.INFO: TCP Data received {"connection_id":125848,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125848,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:38:57] local.INFO: Processing buffer {"connection_id":125848,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:38:57] local.INFO: IMEI packet received {"connection_id":125848,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 04:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":125848,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:38:57] local.INFO: TCP Data received {"connection_id":125088,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:38:57] local.INFO: Processing buffer {"connection_id":125088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:38:57] local.INFO: IMEI packet received {"connection_id":125088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":125088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:39:02] local.INFO: TCP Data received {"connection_id":125088,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:39:02] local.INFO: Processing buffer {"connection_id":125088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:39:02] local.INFO: IMEI packet received {"connection_id":125088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":125088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:39:03] local.INFO: TCP Data received {"connection_id":125088,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ed52198012dc5eb400537d5a0003401442b..."} 
[2026-07-08 04:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ed52198012dc5eb400537d5a0003401442b..."} 
[2026-07-08 04:39:03] local.INFO: Processing buffer {"connection_id":125088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ed52198012dc5eb400537d5a0003401442b..."} 
[2026-07-08 04:39:03] local.INFO: Packet analysis {"connection_id":125088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ed5"} 
[2026-07-08 04:39:03] local.INFO: Extracted packet for processing {"connection_id":125088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ed5"} 
[2026-07-08 04:39:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567112192001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783465583000,"timestamp_ms":1783465583000,"timestamp_seconds":1783465583,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ed52198"} 
[2026-07-08 04:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 04:39: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-07-08 04: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-07-08 04:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567112192001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567112192001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:39:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:39:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567112192001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":125088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:39:03] local.INFO: GPS data processed {"connection_id":125088,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:39:03] local.INFO: Acknowledgment sent {"connection_id":125088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:39:34] local.INFO: TCP Data received {"connection_id":125088,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ed52198012dc5eb400537d5a0003401442b..."} 
[2026-07-08 04:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ed52198012dc5eb400537d5a0003401442b..."} 
[2026-07-08 04:39:34] local.INFO: Processing buffer {"connection_id":125088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ed52198012dc5eb400537d5a0003401442b..."} 
[2026-07-08 04:39:34] local.INFO: Packet analysis {"connection_id":125088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ed5"} 
[2026-07-08 04:39:34] local.INFO: Extracted packet for processing {"connection_id":125088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ed5"} 
[2026-07-08 04:39:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567112192001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783465583000,"timestamp_ms":1783465583000,"timestamp_seconds":1783465583,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ed52198"} 
[2026-07-08 04:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 04:39: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-07-08 04: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-07-08 04:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567112192001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567112192001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:39:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:39:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567112192001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":125088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:39:34] local.INFO: GPS data processed {"connection_id":125088,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:39:34] local.INFO: Acknowledgment sent {"connection_id":125088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:39:57] local.INFO: TCP Data received {"connection_id":125849,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:39:57] local.INFO: Processing buffer {"connection_id":125849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:39:57] local.INFO: IMEI packet received {"connection_id":125849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":125849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:40:02] local.INFO: TCP Data received {"connection_id":125849,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:40:02] local.INFO: Processing buffer {"connection_id":125849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:40:02] local.INFO: IMEI packet received {"connection_id":125849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":125849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:40:02] local.INFO: TCP Data received {"connection_id":125849,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ed52198012dc5eb400537d5a0003401442b..."} 
[2026-07-08 04:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ed52198012dc5eb400537d5a0003401442b..."} 
[2026-07-08 04:40:02] local.INFO: Processing buffer {"connection_id":125849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ed52198012dc5eb400537d5a0003401442b..."} 
[2026-07-08 04:40:02] local.INFO: Packet analysis {"connection_id":125849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ed5"} 
[2026-07-08 04:40:02] local.INFO: Extracted packet for processing {"connection_id":125849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ed5"} 
[2026-07-08 04:40:02] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567112192001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783465583000,"timestamp_ms":1783465583000,"timestamp_seconds":1783465583,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ed52198"} 
[2026-07-08 04:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 04:40: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-07-08 04:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567112192001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567112192001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:40:02] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:40:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567112192001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":125849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:40:02] local.INFO: GPS data processed {"connection_id":125849,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:40:02] local.INFO: Acknowledgment sent {"connection_id":125849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:40:33] local.INFO: TCP Data received {"connection_id":125849,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ed52198012dc5eb400537d5a0003401442b..."} 
[2026-07-08 04:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ed52198012dc5eb400537d5a0003401442b..."} 
[2026-07-08 04:40:33] local.INFO: Processing buffer {"connection_id":125849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ed52198012dc5eb400537d5a0003401442b..."} 
[2026-07-08 04:40:33] local.INFO: Packet analysis {"connection_id":125849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ed5"} 
[2026-07-08 04:40:33] local.INFO: Extracted packet for processing {"connection_id":125849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ed5"} 
[2026-07-08 04:40:33] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567112192001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783465583000,"timestamp_ms":1783465583000,"timestamp_seconds":1783465583,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ed52198"} 
[2026-07-08 04:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 04:40: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-07-08 04: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-07-08 04:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567112192001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567112192001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:40:33] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:40:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567112192001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":125849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:40:33] local.INFO: GPS data processed {"connection_id":125849,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:40:33] local.INFO: Acknowledgment sent {"connection_id":125849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:40:57] local.INFO: TCP Data received {"connection_id":125013,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:40:57] local.INFO: Processing buffer {"connection_id":125013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:40:57] local.INFO: IMEI packet received {"connection_id":125013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":125013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:41:02] local.INFO: TCP Data received {"connection_id":125013,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:41:02] local.INFO: Processing buffer {"connection_id":125013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:41:02] local.INFO: IMEI packet received {"connection_id":125013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":125013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:41:03] local.INFO: TCP Data received {"connection_id":125013,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ed52198012dc5eb400537d5a0003401442b..."} 
[2026-07-08 04:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ed52198012dc5eb400537d5a0003401442b..."} 
[2026-07-08 04:41:03] local.INFO: Processing buffer {"connection_id":125013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ed52198012dc5eb400537d5a0003401442b..."} 
[2026-07-08 04:41:03] local.INFO: Packet analysis {"connection_id":125013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ed5"} 
[2026-07-08 04:41:03] local.INFO: Extracted packet for processing {"connection_id":125013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ed5"} 
[2026-07-08 04:41:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567112192001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783465583000,"timestamp_ms":1783465583000,"timestamp_seconds":1783465583,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ed52198"} 
[2026-07-08 04:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 04:41: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-07-08 04: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-07-08 04:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567112192001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567112192001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:41:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:41:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567112192001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":125013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:41:03] local.INFO: GPS data processed {"connection_id":125013,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:41:03] local.INFO: Acknowledgment sent {"connection_id":125013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:41:34] local.INFO: TCP Data received {"connection_id":125013,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ed52198012dc5eb400537d5a0003401442b..."} 
[2026-07-08 04:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ed52198012dc5eb400537d5a0003401442b..."} 
[2026-07-08 04:41:34] local.INFO: Processing buffer {"connection_id":125013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ed52198012dc5eb400537d5a0003401442b..."} 
[2026-07-08 04:41:34] local.INFO: Packet analysis {"connection_id":125013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ed5"} 
[2026-07-08 04:41:34] local.INFO: Extracted packet for processing {"connection_id":125013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ed5"} 
[2026-07-08 04:41:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567112192001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783465583000,"timestamp_ms":1783465583000,"timestamp_seconds":1783465583,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ed52198"} 
[2026-07-08 04:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 04:41: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-07-08 04:41:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567112192001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567112192001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:41:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:41:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567112192001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":125013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:41:34] local.INFO: GPS data processed {"connection_id":125013,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:41:34] local.INFO: Acknowledgment sent {"connection_id":125013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:42:02] local.INFO: TCP Data received {"connection_id":125089,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:42:02] local.INFO: Processing buffer {"connection_id":125089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:42:02] local.INFO: IMEI packet received {"connection_id":125089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":125089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:42:02] local.INFO: TCP Data received {"connection_id":125089,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:42:02] local.INFO: Processing buffer {"connection_id":125089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:42:02] local.INFO: IMEI packet received {"connection_id":125089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":125089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:42:07] local.INFO: TCP Data received {"connection_id":125089,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:42:07] local.INFO: Processing buffer {"connection_id":125089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:42:07] local.INFO: IMEI packet received {"connection_id":125089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":125089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:42:07] local.INFO: TCP Data received {"connection_id":125089,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ed9b960012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ed9b960012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:42:07] local.INFO: Processing buffer {"connection_id":125089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ed9b960012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:42:07] local.INFO: Packet analysis {"connection_id":125089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ed9"} 
[2026-07-08 04:42:07] local.INFO: Extracted packet for processing {"connection_id":125089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ed9"} 
[2026-07-08 04:42:07] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567189248001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783465884000,"timestamp_ms":1783465884000,"timestamp_seconds":1783465884,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ed9b960"} 
[2026-07-08 04:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 04:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567189248001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567189248001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:42:07] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:42:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567189248001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":125089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:42:07] local.INFO: GPS data processed {"connection_id":125089,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:42:07] local.INFO: Acknowledgment sent {"connection_id":125089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:42:38] local.INFO: TCP Data received {"connection_id":125089,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ed9b960012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ed9b960012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:42:38] local.INFO: Processing buffer {"connection_id":125089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ed9b960012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:42:38] local.INFO: Packet analysis {"connection_id":125089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ed9"} 
[2026-07-08 04:42:38] local.INFO: Extracted packet for processing {"connection_id":125089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ed9"} 
[2026-07-08 04:42:38] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567189248001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783465884000,"timestamp_ms":1783465884000,"timestamp_seconds":1783465884,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ed9b960"} 
[2026-07-08 04:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 04:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567189248001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567189248001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:42:38] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:42:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567189248001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":125089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:42:38] local.INFO: GPS data processed {"connection_id":125089,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:42:38] local.INFO: Acknowledgment sent {"connection_id":125089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:42:57] local.INFO: TCP Data received {"connection_id":127111,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:42:57] local.INFO: Processing buffer {"connection_id":127111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:42:57] local.INFO: IMEI packet received {"connection_id":127111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":127111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:43:02] local.INFO: TCP Data received {"connection_id":127111,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:43:02] local.INFO: Processing buffer {"connection_id":127111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:43:02] local.INFO: IMEI packet received {"connection_id":127111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":127111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:43:02] local.INFO: TCP Data received {"connection_id":127111,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ed9b960012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ed9b960012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:43:02] local.INFO: Processing buffer {"connection_id":127111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ed9b960012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:43:02] local.INFO: Packet analysis {"connection_id":127111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ed9"} 
[2026-07-08 04:43:02] local.INFO: Extracted packet for processing {"connection_id":127111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ed9"} 
[2026-07-08 04:43:02] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567189248001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783465884000,"timestamp_ms":1783465884000,"timestamp_seconds":1783465884,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ed9b960"} 
[2026-07-08 04:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 04:43: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-07-08 04:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567189248001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567189248001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:43:02] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:43:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567189248001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":127111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:43:02] local.INFO: GPS data processed {"connection_id":127111,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:43:02] local.INFO: Acknowledgment sent {"connection_id":127111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:43:33] local.INFO: TCP Data received {"connection_id":127111,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ed9b960012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ed9b960012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:43:33] local.INFO: Processing buffer {"connection_id":127111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ed9b960012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:43:33] local.INFO: Packet analysis {"connection_id":127111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ed9"} 
[2026-07-08 04:43:33] local.INFO: Extracted packet for processing {"connection_id":127111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ed9"} 
[2026-07-08 04:43:33] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567189248001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783465884000,"timestamp_ms":1783465884000,"timestamp_seconds":1783465884,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ed9b960"} 
[2026-07-08 04:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 04:43: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-07-08 04:43:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:43: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-07-08 04:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567189248001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567189248001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:43:33] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:43:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567189248001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":127111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:43:33] local.INFO: GPS data processed {"connection_id":127111,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:43:33] local.INFO: Acknowledgment sent {"connection_id":127111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:43:57] local.INFO: TCP Data received {"connection_id":127113,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:43:57] local.INFO: Processing buffer {"connection_id":127113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:43:57] local.INFO: IMEI packet received {"connection_id":127113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":127113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:44:02] local.INFO: TCP Data received {"connection_id":127113,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:44:02] local.INFO: Processing buffer {"connection_id":127113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:44:02] local.INFO: IMEI packet received {"connection_id":127113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":127113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:44:03] local.INFO: TCP Data received {"connection_id":127113,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ed9b960012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ed9b960012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:44:03] local.INFO: Processing buffer {"connection_id":127113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ed9b960012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:44:03] local.INFO: Packet analysis {"connection_id":127113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ed9"} 
[2026-07-08 04:44:03] local.INFO: Extracted packet for processing {"connection_id":127113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ed9"} 
[2026-07-08 04:44:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567189248001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783465884000,"timestamp_ms":1783465884000,"timestamp_seconds":1783465884,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ed9b960"} 
[2026-07-08 04:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 04:44: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-07-08 04:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:44: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-07-08 04:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567189248001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567189248001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:44:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:44:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567189248001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":127113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:44:03] local.INFO: GPS data processed {"connection_id":127113,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:44:03] local.INFO: Acknowledgment sent {"connection_id":127113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:44:34] local.INFO: TCP Data received {"connection_id":127113,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ed9b960012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ed9b960012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:44:34] local.INFO: Processing buffer {"connection_id":127113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ed9b960012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:44:34] local.INFO: Packet analysis {"connection_id":127113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ed9"} 
[2026-07-08 04:44:34] local.INFO: Extracted packet for processing {"connection_id":127113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ed9"} 
[2026-07-08 04:44:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567189248001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783465884000,"timestamp_ms":1783465884000,"timestamp_seconds":1783465884,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ed9b960"} 
[2026-07-08 04:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 04:44: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-07-08 04:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567189248001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567189248001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:44:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:44:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567189248001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":127113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:44:34] local.INFO: GPS data processed {"connection_id":127113,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:44:34] local.INFO: Acknowledgment sent {"connection_id":127113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:44:57] local.INFO: TCP Data received {"connection_id":125091,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:44:57] local.INFO: Processing buffer {"connection_id":125091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:44:57] local.INFO: IMEI packet received {"connection_id":125091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":125091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:44:57] local.INFO: TCP Data received {"connection_id":125016,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125016,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:44:57] local.INFO: Processing buffer {"connection_id":125016,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:44:57] local.INFO: IMEI packet received {"connection_id":125016,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 04:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":125016,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:45:02] local.INFO: TCP Data received {"connection_id":125091,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:45:02] local.INFO: Processing buffer {"connection_id":125091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:45:02] local.INFO: IMEI packet received {"connection_id":125091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":125091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:45:03] local.INFO: TCP Data received {"connection_id":125091,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ed9b960012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ed9b960012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:45:03] local.INFO: Processing buffer {"connection_id":125091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ed9b960012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:45:03] local.INFO: Packet analysis {"connection_id":125091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ed9"} 
[2026-07-08 04:45:03] local.INFO: Extracted packet for processing {"connection_id":125091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ed9"} 
[2026-07-08 04:45:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567189248001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783465884000,"timestamp_ms":1783465884000,"timestamp_seconds":1783465884,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ed9b960"} 
[2026-07-08 04:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 04:45: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-07-08 04: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-07-08 04:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567189248001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567189248001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:45:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:45:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567189248001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":125091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:45:03] local.INFO: GPS data processed {"connection_id":125091,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:45:03] local.INFO: Acknowledgment sent {"connection_id":125091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:45:34] local.INFO: TCP Data received {"connection_id":125091,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ed9b960012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ed9b960012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:45:34] local.INFO: Processing buffer {"connection_id":125091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ed9b960012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:45:34] local.INFO: Packet analysis {"connection_id":125091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ed9"} 
[2026-07-08 04:45:34] local.INFO: Extracted packet for processing {"connection_id":125091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ed9"} 
[2026-07-08 04:45:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567189248001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783465884000,"timestamp_ms":1783465884000,"timestamp_seconds":1783465884,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ed9b960"} 
[2026-07-08 04:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:45:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":53,"data_length":795,"current_offset":136} 
[2026-07-08 04:45: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-07-08 04: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-07-08 04:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567189248001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567189248001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:45:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:45:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567189248001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":125091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:45:34] local.INFO: GPS data processed {"connection_id":125091,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:45:34] local.INFO: Acknowledgment sent {"connection_id":125091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:45:57] local.INFO: TCP Data received {"connection_id":125851,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:45:57] local.INFO: Processing buffer {"connection_id":125851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:45:57] local.INFO: IMEI packet received {"connection_id":125851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":125851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:46:02] local.INFO: TCP Data received {"connection_id":125851,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:46:02] local.INFO: Processing buffer {"connection_id":125851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:46:02] local.INFO: IMEI packet received {"connection_id":125851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":125851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:46:03] local.INFO: TCP Data received {"connection_id":125851,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ed9b960012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ed9b960012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:46:03] local.INFO: Processing buffer {"connection_id":125851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ed9b960012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:46:03] local.INFO: Packet analysis {"connection_id":125851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ed9"} 
[2026-07-08 04:46:03] local.INFO: Extracted packet for processing {"connection_id":125851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ed9"} 
[2026-07-08 04:46:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567189248001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783465884000,"timestamp_ms":1783465884000,"timestamp_seconds":1783465884,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ed9b960"} 
[2026-07-08 04:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 04:46: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-07-08 04: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-07-08 04:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:46: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-07-08 04:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567189248001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567189248001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:46:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:46:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567189248001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":125851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:46:03] local.INFO: GPS data processed {"connection_id":125851,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:46:03] local.INFO: Acknowledgment sent {"connection_id":125851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:46:33] local.INFO: TCP Data received {"connection_id":125851,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ed9b960012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ed9b960012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:46:33] local.INFO: Processing buffer {"connection_id":125851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ed9b960012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:46:33] local.INFO: Packet analysis {"connection_id":125851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ed9"} 
[2026-07-08 04:46:33] local.INFO: Extracted packet for processing {"connection_id":125851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ed9"} 
[2026-07-08 04:46:33] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567189248001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783465884000,"timestamp_ms":1783465884000,"timestamp_seconds":1783465884,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ed9b960"} 
[2026-07-08 04:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 04:46: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-07-08 04:46:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:46: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-07-08 04:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567189248001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567189248001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:46:33] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:46:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567189248001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":125851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:46:33] local.INFO: GPS data processed {"connection_id":125851,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:46:33] local.INFO: Acknowledgment sent {"connection_id":125851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:47:02] local.INFO: TCP Data received {"connection_id":125092,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:47:02] local.INFO: Processing buffer {"connection_id":125092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:47:02] local.INFO: IMEI packet received {"connection_id":125092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":125092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:47:03] local.INFO: TCP Data received {"connection_id":125092,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:47:03] local.INFO: Processing buffer {"connection_id":125092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:47:03] local.INFO: IMEI packet received {"connection_id":125092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":125092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:47:03] local.INFO: TCP Data received {"connection_id":125092,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ede5128012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ede5128012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:47:03] local.INFO: Processing buffer {"connection_id":125092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ede5128012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:47:03] local.INFO: Packet analysis {"connection_id":125092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ede"} 
[2026-07-08 04:47:03] local.INFO: Extracted packet for processing {"connection_id":125092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ede"} 
[2026-07-08 04:47:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567266304001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783466185000,"timestamp_ms":1783466185000,"timestamp_seconds":1783466185,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ede5128"} 
[2026-07-08 04:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 04:47:03] 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-07-08 04: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-07-08 04:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:47: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-07-08 04:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567266304001,"66":25321,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567266304001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:47:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:47:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567266304001,"power":25321,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":125092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:47:03] local.INFO: GPS data processed {"connection_id":125092,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:47:03] local.INFO: Acknowledgment sent {"connection_id":125092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:47:07] local.INFO: TCP Data received {"connection_id":125092,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ede5128012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ede5128012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:47:07] local.INFO: Processing buffer {"connection_id":125092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ede5128012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:47:07] local.INFO: Packet analysis {"connection_id":125092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ede"} 
[2026-07-08 04:47:07] local.INFO: Extracted packet for processing {"connection_id":125092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ede"} 
[2026-07-08 04:47:07] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567266304001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783466185000,"timestamp_ms":1783466185000,"timestamp_seconds":1783466185,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ede5128"} 
[2026-07-08 04:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 04:47:07] 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-07-08 04:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567266304001,"66":25321,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567266304001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:47:07] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:47:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567266304001,"power":25321,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":125092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:47:07] local.INFO: GPS data processed {"connection_id":125092,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:47:07] local.INFO: Acknowledgment sent {"connection_id":125092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:47:32] local.INFO: TCP Data received {"connection_id":127114,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-07-08 04:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127114,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-07-08 04:47:32] local.INFO: Processing buffer {"connection_id":127114,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-07-08 04:47:32] local.INFO: Packet analysis {"connection_id":127114,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-07-08 04:47:32] local.INFO: Extracted packet for processing {"connection_id":127114,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-07-08 04:47: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-07-08 04:47:32] 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-07-08 04:47:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-07-08 04:47:32] 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-07-08 04:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-07-08 04:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-07-08 04:47:32] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127114,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-07-08 04:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127114,"device_imei":null,"avl_records_count":1} 
[2026-07-08 04:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127114,"device_imei":null,"avl_records_count":1} 
[2026-07-08 04:47:32] 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-07-08 04:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":127114,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-08 04:47:32] local.INFO: GPS data processed {"connection_id":127114,"processed":0,"errors":0,"total":1} 
[2026-07-08 04:47:32] local.INFO: Acknowledgment sent {"connection_id":127114,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:47:38] local.INFO: TCP Data received {"connection_id":125092,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ede5128012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ede5128012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:47:38] local.INFO: Processing buffer {"connection_id":125092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ede5128012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:47:38] local.INFO: Packet analysis {"connection_id":125092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ede"} 
[2026-07-08 04:47:38] local.INFO: Extracted packet for processing {"connection_id":125092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ede"} 
[2026-07-08 04:47:38] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567266304001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783466185000,"timestamp_ms":1783466185000,"timestamp_seconds":1783466185,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ede5128"} 
[2026-07-08 04:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":31,"data_length":795,"current_offset":136} 
[2026-07-08 04:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567266304001,"66":25321,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567266304001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:47:38] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:47:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567266304001,"power":25321,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":125092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:47:38] local.INFO: GPS data processed {"connection_id":125092,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:47:38] local.INFO: Acknowledgment sent {"connection_id":125092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:47:57] local.INFO: TCP Data received {"connection_id":125853,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:47:57] local.INFO: Processing buffer {"connection_id":125853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:47:57] local.INFO: IMEI packet received {"connection_id":125853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":125853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:48:02] local.INFO: TCP Data received {"connection_id":125853,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:48:02] local.INFO: Processing buffer {"connection_id":125853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:48:02] local.INFO: IMEI packet received {"connection_id":125853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":125853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:48:03] local.INFO: TCP Data received {"connection_id":125853,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ede5128012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ede5128012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:48:03] local.INFO: Processing buffer {"connection_id":125853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ede5128012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:48:03] local.INFO: Packet analysis {"connection_id":125853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ede"} 
[2026-07-08 04:48:03] local.INFO: Extracted packet for processing {"connection_id":125853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ede"} 
[2026-07-08 04:48:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567266304001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783466185000,"timestamp_ms":1783466185000,"timestamp_seconds":1783466185,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ede5128"} 
[2026-07-08 04:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 04:48:03] 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-07-08 04:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567266304001,"66":25321,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567266304001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:48:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:48:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567266304001,"power":25321,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":125853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:48:03] local.INFO: GPS data processed {"connection_id":125853,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:48:03] local.INFO: Acknowledgment sent {"connection_id":125853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:48:34] local.INFO: TCP Data received {"connection_id":125853,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ede5128012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ede5128012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:48:34] local.INFO: Processing buffer {"connection_id":125853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ede5128012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:48:34] local.INFO: Packet analysis {"connection_id":125853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ede"} 
[2026-07-08 04:48:34] local.INFO: Extracted packet for processing {"connection_id":125853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ede"} 
[2026-07-08 04:48:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567266304001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783466185000,"timestamp_ms":1783466185000,"timestamp_seconds":1783466185,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ede5128"} 
[2026-07-08 04:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":31,"data_length":795,"current_offset":136} 
[2026-07-08 04:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567266304001,"66":25321,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567266304001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:48:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:48:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567266304001,"power":25321,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":125853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:48:34] local.INFO: GPS data processed {"connection_id":125853,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:48:34] local.INFO: Acknowledgment sent {"connection_id":125853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:48:57] local.INFO: TCP Data received {"connection_id":127115,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:48:57] local.INFO: Processing buffer {"connection_id":127115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:48:57] local.INFO: IMEI packet received {"connection_id":127115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":127115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:49:02] local.INFO: TCP Data received {"connection_id":127115,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:49:02] local.INFO: Processing buffer {"connection_id":127115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:49:02] local.INFO: IMEI packet received {"connection_id":127115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":127115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:49:03] local.INFO: TCP Data received {"connection_id":127115,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ede5128012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ede5128012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:49:03] local.INFO: Processing buffer {"connection_id":127115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ede5128012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:49:03] local.INFO: Packet analysis {"connection_id":127115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ede"} 
[2026-07-08 04:49:03] local.INFO: Extracted packet for processing {"connection_id":127115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ede"} 
[2026-07-08 04:49:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567266304001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783466185000,"timestamp_ms":1783466185000,"timestamp_seconds":1783466185,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ede5128"} 
[2026-07-08 04:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 04:49:03] 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-07-08 04: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-07-08 04:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:49:03] 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-07-08 04:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567266304001,"66":25321,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567266304001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:49:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:49:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567266304001,"power":25321,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":127115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:49:03] local.INFO: GPS data processed {"connection_id":127115,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:49:03] local.INFO: Acknowledgment sent {"connection_id":127115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:49:34] local.INFO: TCP Data received {"connection_id":127115,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ede5128012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ede5128012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:49:34] local.INFO: Processing buffer {"connection_id":127115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ede5128012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:49:34] local.INFO: Packet analysis {"connection_id":127115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ede"} 
[2026-07-08 04:49:34] local.INFO: Extracted packet for processing {"connection_id":127115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ede"} 
[2026-07-08 04:49:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567266304001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783466185000,"timestamp_ms":1783466185000,"timestamp_seconds":1783466185,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ede5128"} 
[2026-07-08 04:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 04:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04: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-07-08 04:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:49:34] 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-07-08 04:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567266304001,"66":25321,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567266304001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:49:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:49:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567266304001,"power":25321,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":127115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:49:34] local.INFO: GPS data processed {"connection_id":127115,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:49:34] local.INFO: Acknowledgment sent {"connection_id":127115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:49:57] local.INFO: TCP Data received {"connection_id":127116,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:49:57] local.INFO: Processing buffer {"connection_id":127116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:49:57] local.INFO: IMEI packet received {"connection_id":127116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":127116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:50:02] local.INFO: TCP Data received {"connection_id":127116,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:50:02] local.INFO: Processing buffer {"connection_id":127116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:50:02] local.INFO: IMEI packet received {"connection_id":127116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":127116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:50:03] local.INFO: TCP Data received {"connection_id":127116,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ede5128012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ede5128012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:50:03] local.INFO: Processing buffer {"connection_id":127116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ede5128012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:50:03] local.INFO: Packet analysis {"connection_id":127116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ede"} 
[2026-07-08 04:50:03] local.INFO: Extracted packet for processing {"connection_id":127116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ede"} 
[2026-07-08 04:50:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567266304001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783466185000,"timestamp_ms":1783466185000,"timestamp_seconds":1783466185,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ede5128"} 
[2026-07-08 04:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 04:50:03] 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-07-08 04:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567266304001,"66":25321,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567266304001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:50:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:50:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567266304001,"power":25321,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":127116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:50:03] local.INFO: GPS data processed {"connection_id":127116,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:50:03] local.INFO: Acknowledgment sent {"connection_id":127116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:50:34] local.INFO: TCP Data received {"connection_id":127116,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ede5128012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ede5128012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:50:34] local.INFO: Processing buffer {"connection_id":127116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ede5128012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:50:34] local.INFO: Packet analysis {"connection_id":127116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ede"} 
[2026-07-08 04:50:34] local.INFO: Extracted packet for processing {"connection_id":127116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ede"} 
[2026-07-08 04:50:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567266304001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783466185000,"timestamp_ms":1783466185000,"timestamp_seconds":1783466185,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ede5128"} 
[2026-07-08 04:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 04:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04: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-07-08 04:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567266304001,"66":25321,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567266304001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:50:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:50:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567266304001,"power":25321,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":127116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:50:34] local.INFO: GPS data processed {"connection_id":127116,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:50:34] local.INFO: Acknowledgment sent {"connection_id":127116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:50:57] local.INFO: TCP Data received {"connection_id":125856,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:50:57] local.INFO: Processing buffer {"connection_id":125856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:50:57] local.INFO: IMEI packet received {"connection_id":125856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":125856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:50:57] local.INFO: TCP Data received {"connection_id":125855,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125855,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:50:57] local.INFO: Processing buffer {"connection_id":125855,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:50:57] local.INFO: IMEI packet received {"connection_id":125855,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 04:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":125855,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:51:02] local.INFO: TCP Data received {"connection_id":125856,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:51:02] local.INFO: Processing buffer {"connection_id":125856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:51:02] local.INFO: IMEI packet received {"connection_id":125856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":125856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:51:03] local.INFO: TCP Data received {"connection_id":125856,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ede5128012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ede5128012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:51:03] local.INFO: Processing buffer {"connection_id":125856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ede5128012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:51:03] local.INFO: Packet analysis {"connection_id":125856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ede"} 
[2026-07-08 04:51:03] local.INFO: Extracted packet for processing {"connection_id":125856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ede"} 
[2026-07-08 04:51:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567266304001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783466185000,"timestamp_ms":1783466185000,"timestamp_seconds":1783466185,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ede5128"} 
[2026-07-08 04:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 04:51:03] 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-07-08 04: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-07-08 04:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567266304001,"66":25321,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567266304001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:51:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:51:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567266304001,"power":25321,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":125856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:51:03] local.INFO: GPS data processed {"connection_id":125856,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:51:03] local.INFO: Acknowledgment sent {"connection_id":125856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:51:34] local.INFO: TCP Data received {"connection_id":125856,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ede5128012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ede5128012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:51:34] local.INFO: Processing buffer {"connection_id":125856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ede5128012dc5eb400537d5a0003401442e..."} 
[2026-07-08 04:51:34] local.INFO: Packet analysis {"connection_id":125856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ede"} 
[2026-07-08 04:51:34] local.INFO: Extracted packet for processing {"connection_id":125856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ede"} 
[2026-07-08 04:51:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567266304001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783466185000,"timestamp_ms":1783466185000,"timestamp_seconds":1783466185,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ede5128"} 
[2026-07-08 04:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 04:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04: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-07-08 04:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567266304001,"66":25321,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567266304001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:51:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:51:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567266304001,"power":25321,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":125856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:51:34] local.INFO: GPS data processed {"connection_id":125856,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:51:34] local.INFO: Acknowledgment sent {"connection_id":125856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:52:02] local.INFO: TCP Data received {"connection_id":127117,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:52:02] local.INFO: Processing buffer {"connection_id":127117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:52:02] local.INFO: IMEI packet received {"connection_id":127117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":127117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:52:04] local.INFO: TCP Data received {"connection_id":127117,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:52:04] local.INFO: Processing buffer {"connection_id":127117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:52:04] local.INFO: IMEI packet received {"connection_id":127117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":127117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:52:04] local.INFO: TCP Data received {"connection_id":127117,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ee2e8f0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ee2e8f0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:52:04] local.INFO: Processing buffer {"connection_id":127117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ee2e8f0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:52:04] local.INFO: Packet analysis {"connection_id":127117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ee2"} 
[2026-07-08 04:52:04] local.INFO: Extracted packet for processing {"connection_id":127117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ee2"} 
[2026-07-08 04:52:04] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567343360001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783466486000,"timestamp_ms":1783466486000,"timestamp_seconds":1783466486,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ee2e8f0"} 
[2026-07-08 04:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 04:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04: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-07-08 04:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":127117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":127117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":127117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567343360001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567343360001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:52:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:52:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567343360001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":127117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:52:04] local.INFO: GPS data processed {"connection_id":127117,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:52:04] local.INFO: Acknowledgment sent {"connection_id":127117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:52:07] local.INFO: TCP Data received {"connection_id":127117,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ee2e8f0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ee2e8f0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:52:07] local.INFO: Processing buffer {"connection_id":127117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ee2e8f0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:52:07] local.INFO: Packet analysis {"connection_id":127117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ee2"} 
[2026-07-08 04:52:07] local.INFO: Extracted packet for processing {"connection_id":127117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ee2"} 
[2026-07-08 04:52:07] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567343360001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783466486000,"timestamp_ms":1783466486000,"timestamp_seconds":1783466486,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ee2e8f0"} 
[2026-07-08 04:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 04:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567343360001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567343360001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:52:07] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:52:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567343360001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":127117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:52:07] local.INFO: GPS data processed {"connection_id":127117,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:52:07] local.INFO: Acknowledgment sent {"connection_id":127117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:52:38] local.INFO: TCP Data received {"connection_id":127117,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ee2e8f0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ee2e8f0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:52:38] local.INFO: Processing buffer {"connection_id":127117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ee2e8f0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:52:38] local.INFO: Packet analysis {"connection_id":127117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ee2"} 
[2026-07-08 04:52:38] local.INFO: Extracted packet for processing {"connection_id":127117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ee2"} 
[2026-07-08 04:52:38] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567343360001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783466486000,"timestamp_ms":1783466486000,"timestamp_seconds":1783466486,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ee2e8f0"} 
[2026-07-08 04:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 04:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567343360001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567343360001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:52:38] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:52:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567343360001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":127117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:52:38] local.INFO: GPS data processed {"connection_id":127117,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:52:38] local.INFO: Acknowledgment sent {"connection_id":127117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:52:57] local.INFO: TCP Data received {"connection_id":127118,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:52:57] local.INFO: Processing buffer {"connection_id":127118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:52:57] local.INFO: IMEI packet received {"connection_id":127118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":127118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:53:02] local.INFO: TCP Data received {"connection_id":127118,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:53:02] local.INFO: Processing buffer {"connection_id":127118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:53:02] local.INFO: IMEI packet received {"connection_id":127118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":127118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:53:03] local.INFO: TCP Data received {"connection_id":127118,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ee2e8f0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ee2e8f0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:53:03] local.INFO: Processing buffer {"connection_id":127118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ee2e8f0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:53:03] local.INFO: Packet analysis {"connection_id":127118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ee2"} 
[2026-07-08 04:53:03] local.INFO: Extracted packet for processing {"connection_id":127118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ee2"} 
[2026-07-08 04:53:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567343360001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783466486000,"timestamp_ms":1783466486000,"timestamp_seconds":1783466486,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ee2e8f0"} 
[2026-07-08 04:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 04:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567343360001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567343360001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:53:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:53:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567343360001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":127118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:53:03] local.INFO: GPS data processed {"connection_id":127118,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:53:03] local.INFO: Acknowledgment sent {"connection_id":127118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:53:34] local.INFO: TCP Data received {"connection_id":127118,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ee2e8f0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ee2e8f0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:53:34] local.INFO: Processing buffer {"connection_id":127118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ee2e8f0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:53:34] local.INFO: Packet analysis {"connection_id":127118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ee2"} 
[2026-07-08 04:53:34] local.INFO: Extracted packet for processing {"connection_id":127118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ee2"} 
[2026-07-08 04:53:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567343360001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783466486000,"timestamp_ms":1783466486000,"timestamp_seconds":1783466486,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ee2e8f0"} 
[2026-07-08 04:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 04:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04: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-07-08 04:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567343360001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567343360001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:53:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:53:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567343360001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":127118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:53:34] local.INFO: GPS data processed {"connection_id":127118,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:53:34] local.INFO: Acknowledgment sent {"connection_id":127118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:53:57] local.INFO: TCP Data received {"connection_id":125096,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:53:57] local.INFO: Processing buffer {"connection_id":125096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:53:57] local.INFO: IMEI packet received {"connection_id":125096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":125096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:54:02] local.INFO: TCP Data received {"connection_id":125096,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:54:02] local.INFO: Processing buffer {"connection_id":125096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:54:02] local.INFO: IMEI packet received {"connection_id":125096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":125096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:54:03] local.INFO: TCP Data received {"connection_id":125096,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ee2e8f0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ee2e8f0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:54:03] local.INFO: Processing buffer {"connection_id":125096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ee2e8f0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:54:03] local.INFO: Packet analysis {"connection_id":125096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ee2"} 
[2026-07-08 04:54:03] local.INFO: Extracted packet for processing {"connection_id":125096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ee2"} 
[2026-07-08 04:54:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567343360001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783466486000,"timestamp_ms":1783466486000,"timestamp_seconds":1783466486,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ee2e8f0"} 
[2026-07-08 04:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 04:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567343360001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567343360001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:54:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:54:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567343360001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":125096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:54:03] local.INFO: GPS data processed {"connection_id":125096,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:54:03] local.INFO: Acknowledgment sent {"connection_id":125096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:54:34] local.INFO: TCP Data received {"connection_id":125096,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ee2e8f0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ee2e8f0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:54:34] local.INFO: Processing buffer {"connection_id":125096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ee2e8f0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:54:34] local.INFO: Packet analysis {"connection_id":125096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ee2"} 
[2026-07-08 04:54:34] local.INFO: Extracted packet for processing {"connection_id":125096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ee2"} 
[2026-07-08 04:54:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567343360001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783466486000,"timestamp_ms":1783466486000,"timestamp_seconds":1783466486,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ee2e8f0"} 
[2026-07-08 04:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 04:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567343360001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567343360001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:54:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:54:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567343360001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":125096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:54:34] local.INFO: GPS data processed {"connection_id":125096,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:54:34] local.INFO: Acknowledgment sent {"connection_id":125096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:54:57] local.INFO: TCP Data received {"connection_id":125098,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:54:57] local.INFO: Processing buffer {"connection_id":125098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:54:57] local.INFO: IMEI packet received {"connection_id":125098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":125098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:55:02] local.INFO: TCP Data received {"connection_id":125098,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:55:02] local.INFO: Processing buffer {"connection_id":125098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:55:02] local.INFO: IMEI packet received {"connection_id":125098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":125098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:55:03] local.INFO: TCP Data received {"connection_id":125098,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ee2e8f0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ee2e8f0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:55:03] local.INFO: Processing buffer {"connection_id":125098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ee2e8f0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:55:03] local.INFO: Packet analysis {"connection_id":125098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ee2"} 
[2026-07-08 04:55:03] local.INFO: Extracted packet for processing {"connection_id":125098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ee2"} 
[2026-07-08 04:55:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567343360001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783466486000,"timestamp_ms":1783466486000,"timestamp_seconds":1783466486,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ee2e8f0"} 
[2026-07-08 04:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 04:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04: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-07-08 04:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:55: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-07-08 04:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567343360001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567343360001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:55:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:55:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567343360001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":125098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:55:03] local.INFO: GPS data processed {"connection_id":125098,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:55:03] local.INFO: Acknowledgment sent {"connection_id":125098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:55:34] local.INFO: TCP Data received {"connection_id":125098,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ee2e8f0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ee2e8f0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:55:34] local.INFO: Processing buffer {"connection_id":125098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ee2e8f0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:55:34] local.INFO: Packet analysis {"connection_id":125098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ee2"} 
[2026-07-08 04:55:34] local.INFO: Extracted packet for processing {"connection_id":125098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ee2"} 
[2026-07-08 04:55:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567343360001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783466486000,"timestamp_ms":1783466486000,"timestamp_seconds":1783466486,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ee2e8f0"} 
[2026-07-08 04:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 04:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04: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-07-08 04:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:55: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-07-08 04:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567343360001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567343360001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:55:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:55:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567343360001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":125098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:55:34] local.INFO: GPS data processed {"connection_id":125098,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:55:34] local.INFO: Acknowledgment sent {"connection_id":125098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:55:57] local.INFO: TCP Data received {"connection_id":125858,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:55:57] local.INFO: Processing buffer {"connection_id":125858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:55:57] local.INFO: IMEI packet received {"connection_id":125858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":125858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:56:02] local.INFO: TCP Data received {"connection_id":125858,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:56:02] local.INFO: Processing buffer {"connection_id":125858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:56:02] local.INFO: IMEI packet received {"connection_id":125858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":125858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:56:03] local.INFO: TCP Data received {"connection_id":125858,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ee2e8f0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ee2e8f0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:56:03] local.INFO: Processing buffer {"connection_id":125858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ee2e8f0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:56:03] local.INFO: Packet analysis {"connection_id":125858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ee2"} 
[2026-07-08 04:56:03] local.INFO: Extracted packet for processing {"connection_id":125858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ee2"} 
[2026-07-08 04:56:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567343360001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783466486000,"timestamp_ms":1783466486000,"timestamp_seconds":1783466486,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ee2e8f0"} 
[2026-07-08 04:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 04:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04: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-07-08 04:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567343360001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567343360001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:56:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:56:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567343360001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":125858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:56:03] local.INFO: GPS data processed {"connection_id":125858,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:56:03] local.INFO: Acknowledgment sent {"connection_id":125858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:56:22] local.INFO: TCP Data received {"connection_id":127119,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127119,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:56:22] local.INFO: Processing buffer {"connection_id":127119,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:56:22] local.INFO: IMEI packet received {"connection_id":127119,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 04:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":127119,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:56:34] local.INFO: TCP Data received {"connection_id":125858,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ee2e8f0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ee2e8f0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:56:34] local.INFO: Processing buffer {"connection_id":125858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ee2e8f0012dc5eb400537d5a0003401442c..."} 
[2026-07-08 04:56:34] local.INFO: Packet analysis {"connection_id":125858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ee2"} 
[2026-07-08 04:56:34] local.INFO: Extracted packet for processing {"connection_id":125858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ee2"} 
[2026-07-08 04:56:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567343360001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783466486000,"timestamp_ms":1783466486000,"timestamp_seconds":1783466486,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ee2e8f0"} 
[2026-07-08 04:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 04:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04: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-07-08 04:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567343360001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567343360001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:56:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:56:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567343360001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":125858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:56:34] local.INFO: GPS data processed {"connection_id":125858,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:56:34] local.INFO: Acknowledgment sent {"connection_id":125858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:57:02] local.INFO: TCP Data received {"connection_id":125099,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:57:02] local.INFO: Processing buffer {"connection_id":125099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:57:02] local.INFO: IMEI packet received {"connection_id":125099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":125099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:57:02] local.INFO: TCP Data received {"connection_id":125018,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125018,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:57:02] local.INFO: Processing buffer {"connection_id":125018,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 04:57:02] local.INFO: IMEI packet received {"connection_id":125018,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 04:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":125018,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:57:05] local.INFO: TCP Data received {"connection_id":125099,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:57:05] local.INFO: Processing buffer {"connection_id":125099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:57:05] local.INFO: IMEI packet received {"connection_id":125099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":125099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:57:06] local.INFO: TCP Data received {"connection_id":125099,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ee780b8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 04:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ee780b8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 04:57:06] local.INFO: Processing buffer {"connection_id":125099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ee780b8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 04:57:06] local.INFO: Packet analysis {"connection_id":125099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ee7"} 
[2026-07-08 04:57:06] local.INFO: Extracted packet for processing {"connection_id":125099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ee7"} 
[2026-07-08 04:57:06] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567420416001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783466787000,"timestamp_ms":1783466787000,"timestamp_seconds":1783466787,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ee780b8"} 
[2026-07-08 04:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 04:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567420416001,"66":25343,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567420416001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:57:06] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:57:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567420416001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":125099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:57:06] local.INFO: GPS data processed {"connection_id":125099,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:57:06] local.INFO: Acknowledgment sent {"connection_id":125099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:57:07] local.INFO: TCP Data received {"connection_id":125099,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ee780b8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 04:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ee780b8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 04:57:07] local.INFO: Processing buffer {"connection_id":125099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ee780b8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 04:57:07] local.INFO: Packet analysis {"connection_id":125099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ee7"} 
[2026-07-08 04:57:07] local.INFO: Extracted packet for processing {"connection_id":125099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ee7"} 
[2026-07-08 04:57:07] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567420416001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783466787000,"timestamp_ms":1783466787000,"timestamp_seconds":1783466787,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ee780b8"} 
[2026-07-08 04:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 04:57:07] 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-07-08 04:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567420416001,"66":25343,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567420416001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:57:07] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:57:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567420416001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":125099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:57:07] local.INFO: GPS data processed {"connection_id":125099,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:57:07] local.INFO: Acknowledgment sent {"connection_id":125099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:57:38] local.INFO: TCP Data received {"connection_id":125099,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ee780b8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 04:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ee780b8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 04:57:38] local.INFO: Processing buffer {"connection_id":125099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ee780b8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 04:57:38] local.INFO: Packet analysis {"connection_id":125099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ee7"} 
[2026-07-08 04:57:38] local.INFO: Extracted packet for processing {"connection_id":125099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ee7"} 
[2026-07-08 04:57:38] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567420416001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783466787000,"timestamp_ms":1783466787000,"timestamp_seconds":1783466787,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ee780b8"} 
[2026-07-08 04:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":31,"data_length":795,"current_offset":136} 
[2026-07-08 04:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567420416001,"66":25343,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567420416001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:57:38] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:57:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567420416001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":125099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:57:38] local.INFO: GPS data processed {"connection_id":125099,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:57:38] local.INFO: Acknowledgment sent {"connection_id":125099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:57:57] local.INFO: TCP Data received {"connection_id":127121,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:57:57] local.INFO: Processing buffer {"connection_id":127121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:57:57] local.INFO: IMEI packet received {"connection_id":127121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":127121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:58:02] local.INFO: TCP Data received {"connection_id":127121,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:58:02] local.INFO: Processing buffer {"connection_id":127121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:58:02] local.INFO: IMEI packet received {"connection_id":127121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":127121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:58:03] local.INFO: TCP Data received {"connection_id":127121,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ee780b8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 04:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ee780b8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 04:58:03] local.INFO: Processing buffer {"connection_id":127121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ee780b8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 04:58:03] local.INFO: Packet analysis {"connection_id":127121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ee7"} 
[2026-07-08 04:58:03] local.INFO: Extracted packet for processing {"connection_id":127121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ee7"} 
[2026-07-08 04:58:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567420416001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783466787000,"timestamp_ms":1783466787000,"timestamp_seconds":1783466787,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ee780b8"} 
[2026-07-08 04:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 04:58:03] 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-07-08 04: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-07-08 04:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567420416001,"66":25343,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567420416001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:58:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:58:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567420416001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":127121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:58:03] local.INFO: GPS data processed {"connection_id":127121,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:58:03] local.INFO: Acknowledgment sent {"connection_id":127121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:58:34] local.INFO: TCP Data received {"connection_id":127121,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ee780b8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 04:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ee780b8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 04:58:34] local.INFO: Processing buffer {"connection_id":127121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ee780b8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 04:58:34] local.INFO: Packet analysis {"connection_id":127121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ee7"} 
[2026-07-08 04:58:34] local.INFO: Extracted packet for processing {"connection_id":127121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ee7"} 
[2026-07-08 04:58:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04: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-07-08 04:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567420416001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783466787000,"timestamp_ms":1783466787000,"timestamp_seconds":1783466787,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ee780b8"} 
[2026-07-08 04:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 04:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04: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-07-08 04:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567420416001,"66":25343,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567420416001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:58:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:58:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567420416001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":127121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:58:34] local.INFO: GPS data processed {"connection_id":127121,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:58:34] local.INFO: Acknowledgment sent {"connection_id":127121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:58:57] local.INFO: TCP Data received {"connection_id":125859,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:58:57] local.INFO: Processing buffer {"connection_id":125859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:58:57] local.INFO: IMEI packet received {"connection_id":125859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":125859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 04:59:02] local.INFO: TCP Data received {"connection_id":125859,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:59:02] local.INFO: Processing buffer {"connection_id":125859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:59:02] local.INFO: IMEI packet received {"connection_id":125859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 04:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":125859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 04:59:03] local.INFO: TCP Data received {"connection_id":125859,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ee780b8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 04:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ee780b8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 04:59:03] local.INFO: Processing buffer {"connection_id":125859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ee780b8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 04:59:03] local.INFO: Packet analysis {"connection_id":125859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ee7"} 
[2026-07-08 04:59:03] local.INFO: Extracted packet for processing {"connection_id":125859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ee7"} 
[2026-07-08 04:59:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567420416001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783466787000,"timestamp_ms":1783466787000,"timestamp_seconds":1783466787,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ee780b8"} 
[2026-07-08 04:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 04:59:03] 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-07-08 04:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567420416001,"66":25343,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567420416001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:59:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:59:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567420416001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":125859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:59:03] local.INFO: GPS data processed {"connection_id":125859,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:59:03] local.INFO: Acknowledgment sent {"connection_id":125859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:59:34] local.INFO: TCP Data received {"connection_id":125859,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ee780b8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 04:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ee780b8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 04:59:34] local.INFO: Processing buffer {"connection_id":125859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ee780b8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 04:59:34] local.INFO: Packet analysis {"connection_id":125859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ee7"} 
[2026-07-08 04:59:34] local.INFO: Extracted packet for processing {"connection_id":125859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ee7"} 
[2026-07-08 04:59:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 04:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 04:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567420416001,"note":"Value kept but may cause issues"} 
[2026-07-08 04:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 04:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 04:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 04:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783466787000,"timestamp_ms":1783466787000,"timestamp_seconds":1783466787,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ee780b8"} 
[2026-07-08 04:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 04:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 04:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 04:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 04:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 04:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 04:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 04:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 04:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 04:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 04:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 04:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 04:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567420416001,"66":25343,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 04:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 04:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 04:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567420416001,"description":"Unknown IO ID 0"} 
[2026-07-08 04:59:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 04:59:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 04:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 04:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 04:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567420416001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 04:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":125859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 04:59:34] local.INFO: GPS data processed {"connection_id":125859,"processed":1,"errors":0,"total":1} 
[2026-07-08 04:59:34] local.INFO: Acknowledgment sent {"connection_id":125859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 04:59:57] local.INFO: TCP Data received {"connection_id":127123,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:59:57] local.INFO: Processing buffer {"connection_id":127123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 04:59:57] local.INFO: IMEI packet received {"connection_id":127123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 04:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":127123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:00:02] local.INFO: TCP Data received {"connection_id":127123,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:00:02] local.INFO: Processing buffer {"connection_id":127123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:00:02] local.INFO: IMEI packet received {"connection_id":127123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":127123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:00:13] local.INFO: TCP Data received {"connection_id":127123,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ee780b8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ee780b8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:00:13] local.INFO: Processing buffer {"connection_id":127123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ee780b8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:00:13] local.INFO: Packet analysis {"connection_id":127123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ee7"} 
[2026-07-08 05:00:13] local.INFO: Extracted packet for processing {"connection_id":127123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ee7"} 
[2026-07-08 05:00:13] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567420416001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783466787000,"timestamp_ms":1783466787000,"timestamp_seconds":1783466787,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ee780b8"} 
[2026-07-08 05:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 05:00:13] 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-07-08 05:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":127123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":127123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":127123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567420416001,"66":25343,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567420416001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:00:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:00:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567420416001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":127123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:00:13] local.INFO: GPS data processed {"connection_id":127123,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:00:13] local.INFO: Acknowledgment sent {"connection_id":127123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:01:02] local.INFO: TCP Data received {"connection_id":125101,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:01:02] local.INFO: Processing buffer {"connection_id":125101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:01:02] local.INFO: IMEI packet received {"connection_id":125101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":125101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:01:07] local.INFO: TCP Data received {"connection_id":125101,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:01:07] local.INFO: Processing buffer {"connection_id":125101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:01:07] local.INFO: IMEI packet received {"connection_id":125101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":125101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:01:08] local.INFO: TCP Data received {"connection_id":125101,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ee780b8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ee780b8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:01:08] local.INFO: Processing buffer {"connection_id":125101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ee780b8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:01:08] local.INFO: Packet analysis {"connection_id":125101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ee7"} 
[2026-07-08 05:01:08] local.INFO: Extracted packet for processing {"connection_id":125101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ee7"} 
[2026-07-08 05:01:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567420416001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783466787000,"timestamp_ms":1783466787000,"timestamp_seconds":1783466787,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ee780b8"} 
[2026-07-08 05:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 05:01:08] 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-07-08 05:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567420416001,"66":25343,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567420416001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:01:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:01:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567420416001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":125101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:01:08] local.INFO: GPS data processed {"connection_id":125101,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:01:08] local.INFO: Acknowledgment sent {"connection_id":125101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:01:20] local.INFO: TCP Data received {"connection_id":125101,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ee780b8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ee780b8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:01:20] local.INFO: Processing buffer {"connection_id":125101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ee780b8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:01:20] local.INFO: Packet analysis {"connection_id":125101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ee7"} 
[2026-07-08 05:01:20] local.INFO: Extracted packet for processing {"connection_id":125101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ee7"} 
[2026-07-08 05:01:20] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567420416001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783466787000,"timestamp_ms":1783466787000,"timestamp_seconds":1783466787,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ee780b8"} 
[2026-07-08 05:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 05:01: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-07-08 05:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":125101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":125101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":125101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567420416001,"66":25343,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567420416001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:01:20] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:01:20] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567420416001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":125101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:01:20] local.INFO: GPS data processed {"connection_id":125101,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:01:20] local.INFO: Acknowledgment sent {"connection_id":125101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:01:57] local.INFO: TCP Data received {"connection_id":125860,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:01:57] local.INFO: Processing buffer {"connection_id":125860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:01:57] local.INFO: IMEI packet received {"connection_id":125860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":125860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:02:02] local.INFO: TCP Data received {"connection_id":125860,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:02:02] local.INFO: Processing buffer {"connection_id":125860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:02:02] local.INFO: IMEI packet received {"connection_id":125860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":125860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:02:03] local.INFO: TCP Data received {"connection_id":125860,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ee780b8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ee780b8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:02:03] local.INFO: Processing buffer {"connection_id":125860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ee780b8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:02:03] local.INFO: Packet analysis {"connection_id":125860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ee7"} 
[2026-07-08 05:02:03] local.INFO: Extracted packet for processing {"connection_id":125860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ee7"} 
[2026-07-08 05:02:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05: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-07-08 05:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567420416001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783466787000,"timestamp_ms":1783466787000,"timestamp_seconds":1783466787,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ee780b8"} 
[2026-07-08 05:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 05:02:03] 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-07-08 05: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-07-08 05:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:02: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-07-08 05:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567420416001,"66":25343,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567420416001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:02:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:02:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567420416001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":125860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:02:03] local.INFO: GPS data processed {"connection_id":125860,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:02:03] local.INFO: Acknowledgment sent {"connection_id":125860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:02:27] local.INFO: TCP Data received {"connection_id":125861,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125861,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:02:27] local.INFO: Processing buffer {"connection_id":125861,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:02:27] local.INFO: IMEI packet received {"connection_id":125861,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 05:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":125861,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:02:34] local.INFO: TCP Data received {"connection_id":125860,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eec1880012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eec1880012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:02:34] local.INFO: Processing buffer {"connection_id":125860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eec1880012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:02:34] local.INFO: Packet analysis {"connection_id":125860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eec"} 
[2026-07-08 05:02:34] local.INFO: Extracted packet for processing {"connection_id":125860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eec"} 
[2026-07-08 05:02:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05: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-07-08 05:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567497472001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783467088000,"timestamp_ms":1783467088000,"timestamp_seconds":1783467088,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eec1880"} 
[2026-07-08 05:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 05:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05: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-07-08 05:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:02: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-07-08 05:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567497472001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567497472001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:02:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:02:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567497472001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":125860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:02:34] local.INFO: GPS data processed {"connection_id":125860,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:02:34] local.INFO: Acknowledgment sent {"connection_id":125860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:02:57] local.INFO: TCP Data received {"connection_id":125103,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:02:57] local.INFO: Processing buffer {"connection_id":125103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:02:57] local.INFO: IMEI packet received {"connection_id":125103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":125103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:02:58] local.INFO: TCP Data received {"connection_id":125102,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125102,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:02:58] local.INFO: Processing buffer {"connection_id":125102,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:02:58] local.INFO: IMEI packet received {"connection_id":125102,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 05:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":125102,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:03:02] local.INFO: TCP Data received {"connection_id":125103,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:03:02] local.INFO: Processing buffer {"connection_id":125103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:03:02] local.INFO: IMEI packet received {"connection_id":125103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":125103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:03:27] local.INFO: TCP Data received {"connection_id":125103,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eec1880012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eec1880012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:03:27] local.INFO: Processing buffer {"connection_id":125103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eec1880012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:03:27] local.INFO: Packet analysis {"connection_id":125103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eec"} 
[2026-07-08 05:03:27] local.INFO: Extracted packet for processing {"connection_id":125103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eec"} 
[2026-07-08 05:03:27] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567497472001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783467088000,"timestamp_ms":1783467088000,"timestamp_seconds":1783467088,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eec1880"} 
[2026-07-08 05:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 05:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":125103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":125103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":125103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:03: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-07-08 05:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567497472001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567497472001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:03:27] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:03:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567497472001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":125103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:03:27] local.INFO: GPS data processed {"connection_id":125103,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:03:27] local.INFO: Acknowledgment sent {"connection_id":125103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:03:57] local.INFO: TCP Data received {"connection_id":127124,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:03:57] local.INFO: Processing buffer {"connection_id":127124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:03:57] local.INFO: IMEI packet received {"connection_id":127124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":127124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:04:02] local.INFO: TCP Data received {"connection_id":127124,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:04:02] local.INFO: Processing buffer {"connection_id":127124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:04:02] local.INFO: IMEI packet received {"connection_id":127124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":127124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:04:02] local.INFO: TCP Data received {"connection_id":127124,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eec1880012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eec1880012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:04:02] local.INFO: Processing buffer {"connection_id":127124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eec1880012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:04:02] local.INFO: Packet analysis {"connection_id":127124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eec"} 
[2026-07-08 05:04:02] local.INFO: Extracted packet for processing {"connection_id":127124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eec"} 
[2026-07-08 05:04:02] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567497472001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783467088000,"timestamp_ms":1783467088000,"timestamp_seconds":1783467088,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eec1880"} 
[2026-07-08 05:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 05:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:04:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567497472001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567497472001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:04:02] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:04:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567497472001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":127124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:04:02] local.INFO: GPS data processed {"connection_id":127124,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:04:02] local.INFO: Acknowledgment sent {"connection_id":127124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:04:33] local.INFO: TCP Data received {"connection_id":127124,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eec1880012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eec1880012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:04:33] local.INFO: Processing buffer {"connection_id":127124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eec1880012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:04:33] local.INFO: Packet analysis {"connection_id":127124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eec"} 
[2026-07-08 05:04:33] local.INFO: Extracted packet for processing {"connection_id":127124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eec"} 
[2026-07-08 05:04:33] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567497472001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783467088000,"timestamp_ms":1783467088000,"timestamp_seconds":1783467088,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eec1880"} 
[2026-07-08 05:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 05:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:04:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:04: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-07-08 05:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567497472001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567497472001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:04:33] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:04:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567497472001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":127124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:04:33] local.INFO: GPS data processed {"connection_id":127124,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:04:33] local.INFO: Acknowledgment sent {"connection_id":127124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:04:57] local.INFO: TCP Data received {"connection_id":125862,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:04:57] local.INFO: Processing buffer {"connection_id":125862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:04:57] local.INFO: IMEI packet received {"connection_id":125862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":125862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:05:02] local.INFO: TCP Data received {"connection_id":125862,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:05:02] local.INFO: Processing buffer {"connection_id":125862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:05:02] local.INFO: IMEI packet received {"connection_id":125862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":125862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:05:02] local.INFO: TCP Data received {"connection_id":125862,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eec1880012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eec1880012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:05:02] local.INFO: Processing buffer {"connection_id":125862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eec1880012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:05:02] local.INFO: Packet analysis {"connection_id":125862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eec"} 
[2026-07-08 05:05:02] local.INFO: Extracted packet for processing {"connection_id":125862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eec"} 
[2026-07-08 05:05:02] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567497472001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783467088000,"timestamp_ms":1783467088000,"timestamp_seconds":1783467088,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eec1880"} 
[2026-07-08 05:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:05:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 05:05:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:05:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567497472001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567497472001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:05:02] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:05:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567497472001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":125862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:05:02] local.INFO: GPS data processed {"connection_id":125862,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:05:02] local.INFO: Acknowledgment sent {"connection_id":125862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:05:33] local.INFO: TCP Data received {"connection_id":125862,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eec1880012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eec1880012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:05:33] local.INFO: Processing buffer {"connection_id":125862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eec1880012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:05:33] local.INFO: Packet analysis {"connection_id":125862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eec"} 
[2026-07-08 05:05:33] local.INFO: Extracted packet for processing {"connection_id":125862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eec"} 
[2026-07-08 05:05:33] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567497472001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783467088000,"timestamp_ms":1783467088000,"timestamp_seconds":1783467088,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eec1880"} 
[2026-07-08 05:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 05:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:05:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:05: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-07-08 05:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567497472001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567497472001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:05:33] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:05:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567497472001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":125862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:05:33] local.INFO: GPS data processed {"connection_id":125862,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:05:33] local.INFO: Acknowledgment sent {"connection_id":125862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:05:57] local.INFO: TCP Data received {"connection_id":125021,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:05:57] local.INFO: Processing buffer {"connection_id":125021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:05:57] local.INFO: IMEI packet received {"connection_id":125021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":125021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:06:02] local.INFO: TCP Data received {"connection_id":125021,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:06:02] local.INFO: Processing buffer {"connection_id":125021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:06:02] local.INFO: IMEI packet received {"connection_id":125021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":125021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:06:02] local.INFO: TCP Data received {"connection_id":125021,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eec1880012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eec1880012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:06:02] local.INFO: Processing buffer {"connection_id":125021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eec1880012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:06:02] local.INFO: Packet analysis {"connection_id":125021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eec"} 
[2026-07-08 05:06:02] local.INFO: Extracted packet for processing {"connection_id":125021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eec"} 
[2026-07-08 05:06:02] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567497472001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783467088000,"timestamp_ms":1783467088000,"timestamp_seconds":1783467088,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eec1880"} 
[2026-07-08 05:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 05:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567497472001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567497472001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:06:02] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:06:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567497472001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":125021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:06:02] local.INFO: GPS data processed {"connection_id":125021,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:06:02] local.INFO: Acknowledgment sent {"connection_id":125021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:06:33] local.INFO: TCP Data received {"connection_id":125021,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3eec1880012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3eec1880012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:06:33] local.INFO: Processing buffer {"connection_id":125021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3eec1880012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:06:33] local.INFO: Packet analysis {"connection_id":125021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3eec"} 
[2026-07-08 05:06:33] local.INFO: Extracted packet for processing {"connection_id":125021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3eec"} 
[2026-07-08 05:06:33] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567497472001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783467088000,"timestamp_ms":1783467088000,"timestamp_seconds":1783467088,"priority":1,"record_length":96,"hex_timestamp":"0000019f3eec1880"} 
[2026-07-08 05:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 05:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:06:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:06: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-07-08 05:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567497472001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567497472001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:06:33] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:06:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567497472001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":125021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:06:33] local.INFO: GPS data processed {"connection_id":125021,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:06:33] local.INFO: Acknowledgment sent {"connection_id":125021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:07:02] local.INFO: TCP Data received {"connection_id":125105,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:07:02] local.INFO: Processing buffer {"connection_id":125105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:07:02] local.INFO: IMEI packet received {"connection_id":125105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":125105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:07:07] local.INFO: TCP Data received {"connection_id":125105,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:07:07] local.INFO: Processing buffer {"connection_id":125105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:07:07] local.INFO: IMEI packet received {"connection_id":125105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":125105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:07:07] local.INFO: TCP Data received {"connection_id":125105,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ef0b048012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ef0b048012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:07:07] local.INFO: Processing buffer {"connection_id":125105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ef0b048012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:07:07] local.INFO: Packet analysis {"connection_id":125105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ef0"} 
[2026-07-08 05:07:07] local.INFO: Extracted packet for processing {"connection_id":125105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ef0"} 
[2026-07-08 05:07:07] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567574528001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783467389000,"timestamp_ms":1783467389000,"timestamp_seconds":1783467389,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ef0b048"} 
[2026-07-08 05:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 05:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567574528001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567574528001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:07:07] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:07:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567574528001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":125105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:07:07] local.INFO: GPS data processed {"connection_id":125105,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:07:07] local.INFO: Acknowledgment sent {"connection_id":125105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:07:38] local.INFO: TCP Data received {"connection_id":125105,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ef0b048012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ef0b048012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:07:38] local.INFO: Processing buffer {"connection_id":125105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ef0b048012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:07:38] local.INFO: Packet analysis {"connection_id":125105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ef0"} 
[2026-07-08 05:07:38] local.INFO: Extracted packet for processing {"connection_id":125105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ef0"} 
[2026-07-08 05:07:38] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567574528001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783467389000,"timestamp_ms":1783467389000,"timestamp_seconds":1783467389,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ef0b048"} 
[2026-07-08 05:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 05:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567574528001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567574528001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:07:38] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:07:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567574528001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":125105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:07:38] local.INFO: GPS data processed {"connection_id":125105,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:07:38] local.INFO: Acknowledgment sent {"connection_id":125105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:07:57] local.INFO: TCP Data received {"connection_id":127126,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:07:57] local.INFO: Processing buffer {"connection_id":127126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:07:57] local.INFO: IMEI packet received {"connection_id":127126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":127126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:08:02] local.INFO: TCP Data received {"connection_id":127126,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:08:02] local.INFO: Processing buffer {"connection_id":127126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:08:02] local.INFO: IMEI packet received {"connection_id":127126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":127126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:08:02] local.INFO: TCP Data received {"connection_id":127126,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ef0b048012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ef0b048012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:08:02] local.INFO: Processing buffer {"connection_id":127126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ef0b048012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:08:02] local.INFO: Packet analysis {"connection_id":127126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ef0"} 
[2026-07-08 05:08:02] local.INFO: Extracted packet for processing {"connection_id":127126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ef0"} 
[2026-07-08 05:08:02] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05: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-07-08 05:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567574528001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783467389000,"timestamp_ms":1783467389000,"timestamp_seconds":1783467389,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ef0b048"} 
[2026-07-08 05:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:08:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 05:08: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-07-08 05: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-07-08 05:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567574528001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567574528001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:08:02] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:08:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567574528001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":127126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:08:02] local.INFO: GPS data processed {"connection_id":127126,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:08:02] local.INFO: Acknowledgment sent {"connection_id":127126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:08:33] local.INFO: TCP Data received {"connection_id":127126,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ef0b048012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ef0b048012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:08:33] local.INFO: Processing buffer {"connection_id":127126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ef0b048012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:08:33] local.INFO: Packet analysis {"connection_id":127126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ef0"} 
[2026-07-08 05:08:33] local.INFO: Extracted packet for processing {"connection_id":127126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ef0"} 
[2026-07-08 05:08:33] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567574528001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783467389000,"timestamp_ms":1783467389000,"timestamp_seconds":1783467389,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ef0b048"} 
[2026-07-08 05:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 05:08: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-07-08 05:08:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:08: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-07-08 05:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567574528001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567574528001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:08:33] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:08:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567574528001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":127126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:08:33] local.INFO: GPS data processed {"connection_id":127126,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:08:33] local.INFO: Acknowledgment sent {"connection_id":127126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:08:34] local.INFO: TCP Data received {"connection_id":125022,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125022,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:08:34] local.INFO: Processing buffer {"connection_id":125022,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:08:34] local.INFO: IMEI packet received {"connection_id":125022,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 05:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":125022,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:08:57] local.INFO: TCP Data received {"connection_id":125864,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:08:57] local.INFO: Processing buffer {"connection_id":125864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:08:57] local.INFO: IMEI packet received {"connection_id":125864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":125864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:08:57] local.INFO: TCP Data received {"connection_id":125865,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125865,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:08:57] local.INFO: Processing buffer {"connection_id":125865,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:08:57] local.INFO: IMEI packet received {"connection_id":125865,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 05:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":125865,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:09:02] local.INFO: TCP Data received {"connection_id":125864,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:09:02] local.INFO: Processing buffer {"connection_id":125864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:09:02] local.INFO: IMEI packet received {"connection_id":125864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":125864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:09:02] local.INFO: TCP Data received {"connection_id":125864,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ef0b048012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ef0b048012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:09:02] local.INFO: Processing buffer {"connection_id":125864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ef0b048012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:09:02] local.INFO: Packet analysis {"connection_id":125864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ef0"} 
[2026-07-08 05:09:02] local.INFO: Extracted packet for processing {"connection_id":125864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ef0"} 
[2026-07-08 05:09:02] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567574528001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783467389000,"timestamp_ms":1783467389000,"timestamp_seconds":1783467389,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ef0b048"} 
[2026-07-08 05:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 05:09: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-07-08 05:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567574528001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567574528001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:09:02] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:09:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567574528001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":125864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:09:02] local.INFO: GPS data processed {"connection_id":125864,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:09:02] local.INFO: Acknowledgment sent {"connection_id":125864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:09:33] local.INFO: TCP Data received {"connection_id":125864,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ef0b048012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ef0b048012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:09:33] local.INFO: Processing buffer {"connection_id":125864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ef0b048012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:09:33] local.INFO: Packet analysis {"connection_id":125864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ef0"} 
[2026-07-08 05:09:33] local.INFO: Extracted packet for processing {"connection_id":125864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ef0"} 
[2026-07-08 05:09:33] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567574528001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783467389000,"timestamp_ms":1783467389000,"timestamp_seconds":1783467389,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ef0b048"} 
[2026-07-08 05:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 05:09: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-07-08 05:09:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:09: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-07-08 05:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567574528001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567574528001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:09:33] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:09:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567574528001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":125864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:09:33] local.INFO: GPS data processed {"connection_id":125864,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:09:33] local.INFO: Acknowledgment sent {"connection_id":125864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:09:57] local.INFO: TCP Data received {"connection_id":125107,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:09:57] local.INFO: Processing buffer {"connection_id":125107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:09:57] local.INFO: IMEI packet received {"connection_id":125107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":125107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:10:02] local.INFO: TCP Data received {"connection_id":125107,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:10:02] local.INFO: Processing buffer {"connection_id":125107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:10:02] local.INFO: IMEI packet received {"connection_id":125107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":125107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:10:02] local.INFO: TCP Data received {"connection_id":125107,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ef0b048012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ef0b048012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:10:02] local.INFO: Processing buffer {"connection_id":125107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ef0b048012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:10:02] local.INFO: Packet analysis {"connection_id":125107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ef0"} 
[2026-07-08 05:10:02] local.INFO: Extracted packet for processing {"connection_id":125107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ef0"} 
[2026-07-08 05:10:02] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567574528001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783467389000,"timestamp_ms":1783467389000,"timestamp_seconds":1783467389,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ef0b048"} 
[2026-07-08 05:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 05:10: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-07-08 05:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567574528001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567574528001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:10:02] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:10:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567574528001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":125107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:10:02] local.INFO: GPS data processed {"connection_id":125107,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:10:02] local.INFO: Acknowledgment sent {"connection_id":125107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:10:33] local.INFO: TCP Data received {"connection_id":125107,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ef0b048012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ef0b048012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:10:33] local.INFO: Processing buffer {"connection_id":125107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ef0b048012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:10:33] local.INFO: Packet analysis {"connection_id":125107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ef0"} 
[2026-07-08 05:10:33] local.INFO: Extracted packet for processing {"connection_id":125107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ef0"} 
[2026-07-08 05:10:33] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567574528001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783467389000,"timestamp_ms":1783467389000,"timestamp_seconds":1783467389,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ef0b048"} 
[2026-07-08 05:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 05:10: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-07-08 05:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:10: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-07-08 05:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567574528001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567574528001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:10:33] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:10:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567574528001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":125107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:10:33] local.INFO: GPS data processed {"connection_id":125107,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:10:33] local.INFO: Acknowledgment sent {"connection_id":125107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:10:57] local.INFO: TCP Data received {"connection_id":125866,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:10:57] local.INFO: Processing buffer {"connection_id":125866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:10:57] local.INFO: IMEI packet received {"connection_id":125866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":125866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:11:02] local.INFO: TCP Data received {"connection_id":125866,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:11:02] local.INFO: Processing buffer {"connection_id":125866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:11:02] local.INFO: IMEI packet received {"connection_id":125866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":125866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:11:02] local.INFO: TCP Data received {"connection_id":125866,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ef0b048012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ef0b048012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:11:02] local.INFO: Processing buffer {"connection_id":125866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ef0b048012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:11:02] local.INFO: Packet analysis {"connection_id":125866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ef0"} 
[2026-07-08 05:11:02] local.INFO: Extracted packet for processing {"connection_id":125866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ef0"} 
[2026-07-08 05:11:02] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567574528001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783467389000,"timestamp_ms":1783467389000,"timestamp_seconds":1783467389,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ef0b048"} 
[2026-07-08 05:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 05:11: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-07-08 05:11:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567574528001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567574528001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:11:02] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:11:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567574528001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":125866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:11:02] local.INFO: GPS data processed {"connection_id":125866,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:11:02] local.INFO: Acknowledgment sent {"connection_id":125866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:11:36] local.INFO: TCP Data received {"connection_id":125866,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ef0b048012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ef0b048012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:11:36] local.INFO: Processing buffer {"connection_id":125866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ef0b048012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:11:36] local.INFO: Packet analysis {"connection_id":125866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ef0"} 
[2026-07-08 05:11:36] local.INFO: Extracted packet for processing {"connection_id":125866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ef0"} 
[2026-07-08 05:11:36] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567574528001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783467389000,"timestamp_ms":1783467389000,"timestamp_seconds":1783467389,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ef0b048"} 
[2026-07-08 05:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":53,"data_length":795,"current_offset":136} 
[2026-07-08 05:11: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-07-08 05:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:11: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-07-08 05:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567574528001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567574528001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:11:36] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:11:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567574528001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":125866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:11:36] local.INFO: GPS data processed {"connection_id":125866,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:11:36] local.INFO: Acknowledgment sent {"connection_id":125866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:11:57] local.INFO: TCP Data received {"connection_id":125023,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:11:57] local.INFO: Processing buffer {"connection_id":125023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:11:57] local.INFO: IMEI packet received {"connection_id":125023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":125023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:12:02] local.INFO: TCP Data received {"connection_id":125023,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:12:02] local.INFO: Processing buffer {"connection_id":125023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:12:02] local.INFO: IMEI packet received {"connection_id":125023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":125023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:12:02] local.INFO: TCP Data received {"connection_id":125023,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ef0b048012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ef0b048012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:12:02] local.INFO: Processing buffer {"connection_id":125023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ef0b048012dc5eb400537d5a0003401442e..."} 
[2026-07-08 05:12:02] local.INFO: Packet analysis {"connection_id":125023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ef0"} 
[2026-07-08 05:12:02] local.INFO: Extracted packet for processing {"connection_id":125023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ef0"} 
[2026-07-08 05:12:02] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567574528001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783467389000,"timestamp_ms":1783467389000,"timestamp_seconds":1783467389,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ef0b048"} 
[2026-07-08 05:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 05:12: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-07-08 05:12:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567574528001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567574528001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:12:02] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:12:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567574528001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":125023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:12:02] local.INFO: GPS data processed {"connection_id":125023,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:12:02] local.INFO: Acknowledgment sent {"connection_id":125023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:12:33] local.INFO: TCP Data received {"connection_id":125023,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ef54810012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ef54810012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:12:33] local.INFO: Processing buffer {"connection_id":125023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ef54810012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:12:33] local.INFO: Packet analysis {"connection_id":125023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ef5"} 
[2026-07-08 05:12:33] local.INFO: Extracted packet for processing {"connection_id":125023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ef5"} 
[2026-07-08 05:12:33] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567651584001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783467690000,"timestamp_ms":1783467690000,"timestamp_seconds":1783467690,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ef54810"} 
[2026-07-08 05:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 05:12:33] 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-07-08 05:12:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:12: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-07-08 05:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567651584001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567651584001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:12:33] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:12:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567651584001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":125023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:12:33] local.INFO: GPS data processed {"connection_id":125023,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:12:33] local.INFO: Acknowledgment sent {"connection_id":125023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:12:57] local.INFO: TCP Data received {"connection_id":125108,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:12:57] local.INFO: Processing buffer {"connection_id":125108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:12:57] local.INFO: IMEI packet received {"connection_id":125108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":125108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:13:02] local.INFO: TCP Data received {"connection_id":125108,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:13:02] local.INFO: Processing buffer {"connection_id":125108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:13:02] local.INFO: IMEI packet received {"connection_id":125108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":125108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:13:02] local.INFO: TCP Data received {"connection_id":125108,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ef54810012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ef54810012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:13:02] local.INFO: Processing buffer {"connection_id":125108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ef54810012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:13:02] local.INFO: Packet analysis {"connection_id":125108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ef5"} 
[2026-07-08 05:13:02] local.INFO: Extracted packet for processing {"connection_id":125108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ef5"} 
[2026-07-08 05:13:02] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567651584001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783467690000,"timestamp_ms":1783467690000,"timestamp_seconds":1783467690,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ef54810"} 
[2026-07-08 05:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 05:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:13:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567651584001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567651584001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:13:02] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:13:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567651584001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":125108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:13:02] local.INFO: GPS data processed {"connection_id":125108,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:13:02] local.INFO: Acknowledgment sent {"connection_id":125108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:13:33] local.INFO: TCP Data received {"connection_id":125108,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ef54810012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ef54810012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:13:33] local.INFO: Processing buffer {"connection_id":125108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ef54810012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:13:33] local.INFO: Packet analysis {"connection_id":125108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ef5"} 
[2026-07-08 05:13:33] local.INFO: Extracted packet for processing {"connection_id":125108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ef5"} 
[2026-07-08 05:13:33] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567651584001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783467690000,"timestamp_ms":1783467690000,"timestamp_seconds":1783467690,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ef54810"} 
[2026-07-08 05:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 05:13:33] 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-07-08 05:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:13: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-07-08 05:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567651584001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567651584001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:13:33] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:13:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567651584001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":125108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:13:33] local.INFO: GPS data processed {"connection_id":125108,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:13:33] local.INFO: Acknowledgment sent {"connection_id":125108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:13:57] local.INFO: TCP Data received {"connection_id":125025,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:13:57] local.INFO: Processing buffer {"connection_id":125025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:13:57] local.INFO: IMEI packet received {"connection_id":125025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":125025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:14:02] local.INFO: TCP Data received {"connection_id":125025,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:14:02] local.INFO: Processing buffer {"connection_id":125025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:14:02] local.INFO: IMEI packet received {"connection_id":125025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":125025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:14:02] local.INFO: TCP Data received {"connection_id":125025,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ef54810012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ef54810012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:14:02] local.INFO: Processing buffer {"connection_id":125025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ef54810012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:14:02] local.INFO: Packet analysis {"connection_id":125025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ef5"} 
[2026-07-08 05:14:02] local.INFO: Extracted packet for processing {"connection_id":125025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ef5"} 
[2026-07-08 05:14:02] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567651584001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783467690000,"timestamp_ms":1783467690000,"timestamp_seconds":1783467690,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ef54810"} 
[2026-07-08 05:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 05:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:14:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567651584001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567651584001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:14:02] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:14:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567651584001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":125025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:14:02] local.INFO: GPS data processed {"connection_id":125025,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:14:02] local.INFO: Acknowledgment sent {"connection_id":125025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:14:35] local.INFO: TCP Data received {"connection_id":125025,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ef54810012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ef54810012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:14:35] local.INFO: Processing buffer {"connection_id":125025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ef54810012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:14:35] local.INFO: Packet analysis {"connection_id":125025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ef5"} 
[2026-07-08 05:14:35] local.INFO: Extracted packet for processing {"connection_id":125025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ef5"} 
[2026-07-08 05:14:35] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567651584001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783467690000,"timestamp_ms":1783467690000,"timestamp_seconds":1783467690,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ef54810"} 
[2026-07-08 05:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":31,"data_length":795,"current_offset":136} 
[2026-07-08 05:14: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-07-08 05:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:14: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-07-08 05:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567651584001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567651584001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:14:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:14:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567651584001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":125025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:14:35] local.INFO: GPS data processed {"connection_id":125025,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:14:35] local.INFO: Acknowledgment sent {"connection_id":125025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:14:57] local.INFO: TCP Data received {"connection_id":125868,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125868,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:14:57] local.INFO: Processing buffer {"connection_id":125868,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:14:57] local.INFO: IMEI packet received {"connection_id":125868,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 05:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":125868,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:15:02] local.INFO: TCP Data received {"connection_id":125869,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:15:02] local.INFO: Processing buffer {"connection_id":125869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:15:02] local.INFO: IMEI packet received {"connection_id":125869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":125869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:15:07] local.INFO: TCP Data received {"connection_id":125869,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:15:07] local.INFO: Processing buffer {"connection_id":125869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:15:07] local.INFO: IMEI packet received {"connection_id":125869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":125869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:15:07] local.INFO: TCP Data received {"connection_id":125869,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ef54810012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ef54810012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:15:07] local.INFO: Processing buffer {"connection_id":125869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ef54810012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:15:07] local.INFO: Packet analysis {"connection_id":125869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ef5"} 
[2026-07-08 05:15:07] local.INFO: Extracted packet for processing {"connection_id":125869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ef5"} 
[2026-07-08 05:15:07] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567651584001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783467690000,"timestamp_ms":1783467690000,"timestamp_seconds":1783467690,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ef54810"} 
[2026-07-08 05:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 05:15:07] 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-07-08 05:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567651584001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567651584001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:15:07] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:15:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567651584001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":125869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:15:07] local.INFO: GPS data processed {"connection_id":125869,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:15:07] local.INFO: Acknowledgment sent {"connection_id":125869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:15:12] local.INFO: TCP Data received {"connection_id":125869,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ef54810012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ef54810012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:15:12] local.INFO: Processing buffer {"connection_id":125869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ef54810012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:15:12] local.INFO: Packet analysis {"connection_id":125869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ef5"} 
[2026-07-08 05:15:12] local.INFO: Extracted packet for processing {"connection_id":125869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ef5"} 
[2026-07-08 05:15:12] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567651584001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783467690000,"timestamp_ms":1783467690000,"timestamp_seconds":1783467690,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ef54810"} 
[2026-07-08 05:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 05:15:12] 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-07-08 05:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567651584001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567651584001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:15:12] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:15:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567651584001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":125869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:15:12] local.INFO: GPS data processed {"connection_id":125869,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:15:12] local.INFO: Acknowledgment sent {"connection_id":125869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:15:57] local.INFO: TCP Data received {"connection_id":127128,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:15:57] local.INFO: Processing buffer {"connection_id":127128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:15:57] local.INFO: IMEI packet received {"connection_id":127128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":127128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:16:02] local.INFO: TCP Data received {"connection_id":127128,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:16:02] local.INFO: Processing buffer {"connection_id":127128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:16:02] local.INFO: IMEI packet received {"connection_id":127128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":127128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:16:02] local.INFO: TCP Data received {"connection_id":127128,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ef54810012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ef54810012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:16:02] local.INFO: Processing buffer {"connection_id":127128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ef54810012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:16:02] local.INFO: Packet analysis {"connection_id":127128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ef5"} 
[2026-07-08 05:16:02] local.INFO: Extracted packet for processing {"connection_id":127128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ef5"} 
[2026-07-08 05:16:02] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567651584001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783467690000,"timestamp_ms":1783467690000,"timestamp_seconds":1783467690,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ef54810"} 
[2026-07-08 05:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:16:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 05:16:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:16:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567651584001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567651584001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:16:02] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:16:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567651584001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":127128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:16:02] local.INFO: GPS data processed {"connection_id":127128,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:16:02] local.INFO: Acknowledgment sent {"connection_id":127128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:16:33] local.INFO: TCP Data received {"connection_id":127128,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ef54810012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ef54810012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:16:33] local.INFO: Processing buffer {"connection_id":127128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ef54810012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:16:33] local.INFO: Packet analysis {"connection_id":127128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ef5"} 
[2026-07-08 05:16:33] local.INFO: Extracted packet for processing {"connection_id":127128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ef5"} 
[2026-07-08 05:16:33] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567651584001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783467690000,"timestamp_ms":1783467690000,"timestamp_seconds":1783467690,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ef54810"} 
[2026-07-08 05:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 05:16:33] 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-07-08 05:16:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:16: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-07-08 05:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567651584001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567651584001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:16:33] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:16:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567651584001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":127128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:16:33] local.INFO: GPS data processed {"connection_id":127128,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:16:33] local.INFO: Acknowledgment sent {"connection_id":127128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:16:57] local.INFO: TCP Data received {"connection_id":125026,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:16:57] local.INFO: Processing buffer {"connection_id":125026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:16:57] local.INFO: IMEI packet received {"connection_id":125026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":125026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:17:02] local.INFO: TCP Data received {"connection_id":125026,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:17:02] local.INFO: Processing buffer {"connection_id":125026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:17:02] local.INFO: IMEI packet received {"connection_id":125026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":125026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:17:02] local.INFO: TCP Data received {"connection_id":125026,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ef54810012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ef54810012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:17:02] local.INFO: Processing buffer {"connection_id":125026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ef54810012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:17:02] local.INFO: Packet analysis {"connection_id":125026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ef5"} 
[2026-07-08 05:17:02] local.INFO: Extracted packet for processing {"connection_id":125026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ef5"} 
[2026-07-08 05:17:02] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05: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-07-08 05:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567651584001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783467690000,"timestamp_ms":1783467690000,"timestamp_seconds":1783467690,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ef54810"} 
[2026-07-08 05:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 05:17:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05: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-07-08 05:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567651584001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567651584001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:17:02] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:17:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567651584001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":125026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:17:02] local.INFO: GPS data processed {"connection_id":125026,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:17:02] local.INFO: Acknowledgment sent {"connection_id":125026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:17:33] local.INFO: TCP Data received {"connection_id":125026,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ef9dfd8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ef9dfd8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:17:33] local.INFO: Processing buffer {"connection_id":125026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ef9dfd8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:17:33] local.INFO: Packet analysis {"connection_id":125026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ef9"} 
[2026-07-08 05:17:33] local.INFO: Extracted packet for processing {"connection_id":125026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ef9"} 
[2026-07-08 05:17:33] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05: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-07-08 05:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567728640001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783467991000,"timestamp_ms":1783467991000,"timestamp_seconds":1783467991,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ef9dfd8"} 
[2026-07-08 05:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 05:17: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-07-08 05: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-07-08 05:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:17: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-07-08 05:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567728640001,"66":25343,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567728640001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:17:33] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:17:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567728640001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":125026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:17:33] local.INFO: GPS data processed {"connection_id":125026,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:17:33] local.INFO: Acknowledgment sent {"connection_id":125026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:17:57] local.INFO: TCP Data received {"connection_id":125111,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:17:57] local.INFO: Processing buffer {"connection_id":125111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:17:57] local.INFO: IMEI packet received {"connection_id":125111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":125111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:18:02] local.INFO: TCP Data received {"connection_id":125111,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:18:02] local.INFO: Processing buffer {"connection_id":125111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:18:02] local.INFO: IMEI packet received {"connection_id":125111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":125111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:18:03] local.INFO: TCP Data received {"connection_id":125111,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ef9dfd8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ef9dfd8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:18:03] local.INFO: Processing buffer {"connection_id":125111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ef9dfd8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:18:03] local.INFO: Packet analysis {"connection_id":125111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ef9"} 
[2026-07-08 05:18:03] local.INFO: Extracted packet for processing {"connection_id":125111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ef9"} 
[2026-07-08 05:18:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05: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-07-08 05:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567728640001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783467991000,"timestamp_ms":1783467991000,"timestamp_seconds":1783467991,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ef9dfd8"} 
[2026-07-08 05:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 05:18: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-07-08 05: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-07-08 05:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567728640001,"66":25343,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567728640001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:18:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:18:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567728640001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":125111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:18:03] local.INFO: GPS data processed {"connection_id":125111,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:18:03] local.INFO: Acknowledgment sent {"connection_id":125111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:18:34] local.INFO: TCP Data received {"connection_id":125111,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ef9dfd8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ef9dfd8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:18:34] local.INFO: Processing buffer {"connection_id":125111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ef9dfd8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:18:34] local.INFO: Packet analysis {"connection_id":125111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ef9"} 
[2026-07-08 05:18:34] local.INFO: Extracted packet for processing {"connection_id":125111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ef9"} 
[2026-07-08 05:18:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05: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-07-08 05:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567728640001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783467991000,"timestamp_ms":1783467991000,"timestamp_seconds":1783467991,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ef9dfd8"} 
[2026-07-08 05:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":53,"data_length":795,"current_offset":136} 
[2026-07-08 05:18: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-07-08 05: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-07-08 05:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567728640001,"66":25343,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567728640001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:18:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:18:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567728640001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":125111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:18:34] local.INFO: GPS data processed {"connection_id":125111,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:18:34] local.INFO: Acknowledgment sent {"connection_id":125111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:18:57] local.INFO: TCP Data received {"connection_id":125028,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:18:57] local.INFO: Processing buffer {"connection_id":125028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:18:57] local.INFO: IMEI packet received {"connection_id":125028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":125028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:19:02] local.INFO: TCP Data received {"connection_id":125028,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:19:02] local.INFO: Processing buffer {"connection_id":125028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:19:02] local.INFO: IMEI packet received {"connection_id":125028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":125028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:19:03] local.INFO: TCP Data received {"connection_id":125028,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ef9dfd8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ef9dfd8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:19:03] local.INFO: Processing buffer {"connection_id":125028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ef9dfd8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:19:03] local.INFO: Packet analysis {"connection_id":125028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ef9"} 
[2026-07-08 05:19:03] local.INFO: Extracted packet for processing {"connection_id":125028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ef9"} 
[2026-07-08 05:19:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05: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-07-08 05:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567728640001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783467991000,"timestamp_ms":1783467991000,"timestamp_seconds":1783467991,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ef9dfd8"} 
[2026-07-08 05:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 05:19: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-07-08 05: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-07-08 05:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567728640001,"66":25343,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567728640001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:19:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:19:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567728640001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":125028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:19:03] local.INFO: GPS data processed {"connection_id":125028,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:19:03] local.INFO: Acknowledgment sent {"connection_id":125028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:19:34] local.INFO: TCP Data received {"connection_id":125028,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ef9dfd8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ef9dfd8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:19:34] local.INFO: Processing buffer {"connection_id":125028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ef9dfd8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:19:34] local.INFO: Packet analysis {"connection_id":125028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ef9"} 
[2026-07-08 05:19:34] local.INFO: Extracted packet for processing {"connection_id":125028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ef9"} 
[2026-07-08 05:19:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05: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-07-08 05:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567728640001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783467991000,"timestamp_ms":1783467991000,"timestamp_seconds":1783467991,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ef9dfd8"} 
[2026-07-08 05:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 05:19: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-07-08 05: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-07-08 05:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567728640001,"66":25343,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567728640001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:19:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:19:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567728640001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":125028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:19:34] local.INFO: GPS data processed {"connection_id":125028,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:19:34] local.INFO: Acknowledgment sent {"connection_id":125028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:19:57] local.INFO: TCP Data received {"connection_id":127132,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:19:57] local.INFO: Processing buffer {"connection_id":127132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:19:57] local.INFO: IMEI packet received {"connection_id":127132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":127132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:20:02] local.INFO: TCP Data received {"connection_id":127132,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:20:02] local.INFO: Processing buffer {"connection_id":127132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:20:02] local.INFO: IMEI packet received {"connection_id":127132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":127132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:20:03] local.INFO: TCP Data received {"connection_id":127132,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ef9dfd8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ef9dfd8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:20:03] local.INFO: Processing buffer {"connection_id":127132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ef9dfd8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:20:03] local.INFO: Packet analysis {"connection_id":127132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ef9"} 
[2026-07-08 05:20:03] local.INFO: Extracted packet for processing {"connection_id":127132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ef9"} 
[2026-07-08 05:20:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05: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-07-08 05:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567728640001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783467991000,"timestamp_ms":1783467991000,"timestamp_seconds":1783467991,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ef9dfd8"} 
[2026-07-08 05:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 05:20: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-07-08 05: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-07-08 05:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567728640001,"66":25343,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567728640001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:20:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:20:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567728640001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":127132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:20:03] local.INFO: GPS data processed {"connection_id":127132,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:20:03] local.INFO: Acknowledgment sent {"connection_id":127132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:20:22] local.INFO: TCP Data received {"connection_id":127131,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127131,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:20:22] local.INFO: Processing buffer {"connection_id":127131,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:20:22] local.INFO: IMEI packet received {"connection_id":127131,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 05:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":127131,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:20:34] local.INFO: TCP Data received {"connection_id":127132,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ef9dfd8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ef9dfd8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:20:34] local.INFO: Processing buffer {"connection_id":127132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ef9dfd8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:20:34] local.INFO: Packet analysis {"connection_id":127132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ef9"} 
[2026-07-08 05:20:34] local.INFO: Extracted packet for processing {"connection_id":127132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ef9"} 
[2026-07-08 05:20:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05: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-07-08 05:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567728640001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783467991000,"timestamp_ms":1783467991000,"timestamp_seconds":1783467991,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ef9dfd8"} 
[2026-07-08 05:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 05:20: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-07-08 05: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-07-08 05:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567728640001,"66":25343,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567728640001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:20:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:20:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567728640001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":127132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:20:34] local.INFO: GPS data processed {"connection_id":127132,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:20:34] local.INFO: Acknowledgment sent {"connection_id":127132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:20:57] local.INFO: TCP Data received {"connection_id":125029,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125029,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:20:57] local.INFO: Processing buffer {"connection_id":125029,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:20:57] local.INFO: IMEI packet received {"connection_id":125029,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 05:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":125029,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:21:02] local.INFO: TCP Data received {"connection_id":125030,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:21:02] local.INFO: Processing buffer {"connection_id":125030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:21:02] local.INFO: IMEI packet received {"connection_id":125030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":125030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:21:07] local.INFO: TCP Data received {"connection_id":125030,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:21:07] local.INFO: Processing buffer {"connection_id":125030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:21:07] local.INFO: IMEI packet received {"connection_id":125030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":125030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:21:08] local.INFO: TCP Data received {"connection_id":125030,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ef9dfd8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ef9dfd8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:21:08] local.INFO: Processing buffer {"connection_id":125030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ef9dfd8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:21:08] local.INFO: Packet analysis {"connection_id":125030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ef9"} 
[2026-07-08 05:21:08] local.INFO: Extracted packet for processing {"connection_id":125030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ef9"} 
[2026-07-08 05:21:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567728640001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783467991000,"timestamp_ms":1783467991000,"timestamp_seconds":1783467991,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ef9dfd8"} 
[2026-07-08 05:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 05:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567728640001,"66":25343,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567728640001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:21:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:21:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567728640001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":125030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:21:08] local.INFO: GPS data processed {"connection_id":125030,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:21:08] local.INFO: Acknowledgment sent {"connection_id":125030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:21:12] local.INFO: TCP Data received {"connection_id":125030,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ef9dfd8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ef9dfd8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:21:12] local.INFO: Processing buffer {"connection_id":125030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ef9dfd8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:21:12] local.INFO: Packet analysis {"connection_id":125030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ef9"} 
[2026-07-08 05:21:12] local.INFO: Extracted packet for processing {"connection_id":125030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ef9"} 
[2026-07-08 05:21:12] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567728640001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783467991000,"timestamp_ms":1783467991000,"timestamp_seconds":1783467991,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ef9dfd8"} 
[2026-07-08 05:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 05:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567728640001,"66":25343,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567728640001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:21:12] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:21:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567728640001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":125030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:21:12] local.INFO: GPS data processed {"connection_id":125030,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:21:12] local.INFO: Acknowledgment sent {"connection_id":125030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:21:57] local.INFO: TCP Data received {"connection_id":125112,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:21:57] local.INFO: Processing buffer {"connection_id":125112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:21:57] local.INFO: IMEI packet received {"connection_id":125112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":125112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:22:02] local.INFO: TCP Data received {"connection_id":125112,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:22:02] local.INFO: Processing buffer {"connection_id":125112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:22:02] local.INFO: IMEI packet received {"connection_id":125112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":125112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:22:03] local.INFO: TCP Data received {"connection_id":125112,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ef9dfd8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ef9dfd8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:22:03] local.INFO: Processing buffer {"connection_id":125112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ef9dfd8012dc5eb400537d5a0003401442d..."} 
[2026-07-08 05:22:03] local.INFO: Packet analysis {"connection_id":125112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ef9"} 
[2026-07-08 05:22:03] local.INFO: Extracted packet for processing {"connection_id":125112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ef9"} 
[2026-07-08 05:22:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05: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-07-08 05:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567728640001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783467991000,"timestamp_ms":1783467991000,"timestamp_seconds":1783467991,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ef9dfd8"} 
[2026-07-08 05:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 05:22: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-07-08 05:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567728640001,"66":25343,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567728640001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:22:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:22:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567728640001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":125112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:22:03] local.INFO: GPS data processed {"connection_id":125112,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:22:03] local.INFO: Acknowledgment sent {"connection_id":125112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:22:33] local.INFO: TCP Data received {"connection_id":125112,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3efe77a0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3efe77a0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:22:33] local.INFO: Processing buffer {"connection_id":125112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3efe77a0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:22:33] local.INFO: Packet analysis {"connection_id":125112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3efe"} 
[2026-07-08 05:22:33] local.INFO: Extracted packet for processing {"connection_id":125112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3efe"} 
[2026-07-08 05:22:33] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05: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-07-08 05:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567805696001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783468292000,"timestamp_ms":1783468292000,"timestamp_seconds":1783468292,"priority":1,"record_length":96,"hex_timestamp":"0000019f3efe77a0"} 
[2026-07-08 05:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 05:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05: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-07-08 05:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567805696001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567805696001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:22:33] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:22:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567805696001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":125112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:22:33] local.INFO: GPS data processed {"connection_id":125112,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:22:33] local.INFO: Acknowledgment sent {"connection_id":125112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:22:56] local.INFO: TCP Data received {"connection_id":125114,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:22:56] local.INFO: Processing buffer {"connection_id":125114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:22:56] local.INFO: IMEI packet received {"connection_id":125114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":125114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:23:02] local.INFO: TCP Data received {"connection_id":125114,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:23:02] local.INFO: Processing buffer {"connection_id":125114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:23:02] local.INFO: IMEI packet received {"connection_id":125114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":125114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:23:03] local.INFO: TCP Data received {"connection_id":125114,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3efe77a0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3efe77a0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:23:03] local.INFO: Processing buffer {"connection_id":125114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3efe77a0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:23:03] local.INFO: Packet analysis {"connection_id":125114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3efe"} 
[2026-07-08 05:23:03] local.INFO: Extracted packet for processing {"connection_id":125114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3efe"} 
[2026-07-08 05:23:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567805696001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783468292000,"timestamp_ms":1783468292000,"timestamp_seconds":1783468292,"priority":1,"record_length":96,"hex_timestamp":"0000019f3efe77a0"} 
[2026-07-08 05:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 05:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567805696001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567805696001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:23:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:23:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567805696001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":125114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:23:03] local.INFO: GPS data processed {"connection_id":125114,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:23:03] local.INFO: Acknowledgment sent {"connection_id":125114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:23:34] local.INFO: TCP Data received {"connection_id":125114,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3efe77a0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3efe77a0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:23:34] local.INFO: Processing buffer {"connection_id":125114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3efe77a0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:23:34] local.INFO: Packet analysis {"connection_id":125114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3efe"} 
[2026-07-08 05:23:34] local.INFO: Extracted packet for processing {"connection_id":125114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3efe"} 
[2026-07-08 05:23:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567805696001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783468292000,"timestamp_ms":1783468292000,"timestamp_seconds":1783468292,"priority":1,"record_length":96,"hex_timestamp":"0000019f3efe77a0"} 
[2026-07-08 05:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 05:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567805696001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567805696001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:23:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:23:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567805696001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":125114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:23:34] local.INFO: GPS data processed {"connection_id":125114,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:23:34] local.INFO: Acknowledgment sent {"connection_id":125114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:23:56] local.INFO: TCP Data received {"connection_id":125115,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:23:56] local.INFO: Processing buffer {"connection_id":125115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:23:56] local.INFO: IMEI packet received {"connection_id":125115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":125115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:24:02] local.INFO: TCP Data received {"connection_id":125115,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:24:02] local.INFO: Processing buffer {"connection_id":125115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:24:02] local.INFO: IMEI packet received {"connection_id":125115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":125115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:24:03] local.INFO: TCP Data received {"connection_id":125115,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3efe77a0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3efe77a0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:24:03] local.INFO: Processing buffer {"connection_id":125115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3efe77a0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:24:03] local.INFO: Packet analysis {"connection_id":125115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3efe"} 
[2026-07-08 05:24:03] local.INFO: Extracted packet for processing {"connection_id":125115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3efe"} 
[2026-07-08 05:24:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05: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-07-08 05:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567805696001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783468292000,"timestamp_ms":1783468292000,"timestamp_seconds":1783468292,"priority":1,"record_length":96,"hex_timestamp":"0000019f3efe77a0"} 
[2026-07-08 05:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 05:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05: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-07-08 05:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567805696001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567805696001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:24:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:24:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567805696001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":125115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:24:03] local.INFO: GPS data processed {"connection_id":125115,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:24:03] local.INFO: Acknowledgment sent {"connection_id":125115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:24:34] local.INFO: TCP Data received {"connection_id":125115,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3efe77a0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3efe77a0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:24:34] local.INFO: Processing buffer {"connection_id":125115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3efe77a0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:24:34] local.INFO: Packet analysis {"connection_id":125115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3efe"} 
[2026-07-08 05:24:34] local.INFO: Extracted packet for processing {"connection_id":125115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3efe"} 
[2026-07-08 05:24:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05: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-07-08 05:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567805696001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783468292000,"timestamp_ms":1783468292000,"timestamp_seconds":1783468292,"priority":1,"record_length":96,"hex_timestamp":"0000019f3efe77a0"} 
[2026-07-08 05:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 05:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05: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-07-08 05:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567805696001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567805696001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:24:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:24:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567805696001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":125115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:24:34] local.INFO: GPS data processed {"connection_id":125115,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:24:34] local.INFO: Acknowledgment sent {"connection_id":125115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:24:56] local.INFO: TCP Data received {"connection_id":125872,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:24:56] local.INFO: Processing buffer {"connection_id":125872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:24:56] local.INFO: IMEI packet received {"connection_id":125872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":125872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:25:02] local.INFO: TCP Data received {"connection_id":125872,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:25:02] local.INFO: Processing buffer {"connection_id":125872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:25:02] local.INFO: IMEI packet received {"connection_id":125872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":125872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:25:03] local.INFO: TCP Data received {"connection_id":125872,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3efe77a0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3efe77a0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:25:03] local.INFO: Processing buffer {"connection_id":125872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3efe77a0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:25:03] local.INFO: Packet analysis {"connection_id":125872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3efe"} 
[2026-07-08 05:25:03] local.INFO: Extracted packet for processing {"connection_id":125872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3efe"} 
[2026-07-08 05:25:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05: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-07-08 05:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567805696001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783468292000,"timestamp_ms":1783468292000,"timestamp_seconds":1783468292,"priority":1,"record_length":96,"hex_timestamp":"0000019f3efe77a0"} 
[2026-07-08 05:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 05:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05: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-07-08 05:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567805696001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567805696001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:25:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:25:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567805696001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":125872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:25:03] local.INFO: GPS data processed {"connection_id":125872,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:25:03] local.INFO: Acknowledgment sent {"connection_id":125872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:25:34] local.INFO: TCP Data received {"connection_id":125872,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3efe77a0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3efe77a0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:25:34] local.INFO: Processing buffer {"connection_id":125872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3efe77a0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:25:34] local.INFO: Packet analysis {"connection_id":125872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3efe"} 
[2026-07-08 05:25:34] local.INFO: Extracted packet for processing {"connection_id":125872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3efe"} 
[2026-07-08 05:25:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05: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-07-08 05:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567805696001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783468292000,"timestamp_ms":1783468292000,"timestamp_seconds":1783468292,"priority":1,"record_length":96,"hex_timestamp":"0000019f3efe77a0"} 
[2026-07-08 05:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 05:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05: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-07-08 05:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567805696001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567805696001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:25:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:25:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567805696001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":125872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:25:34] local.INFO: GPS data processed {"connection_id":125872,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:25:34] local.INFO: Acknowledgment sent {"connection_id":125872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:26:02] local.INFO: TCP Data received {"connection_id":127133,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:26:02] local.INFO: Processing buffer {"connection_id":127133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:26:02] local.INFO: IMEI packet received {"connection_id":127133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":127133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:26:07] local.INFO: TCP Data received {"connection_id":127133,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:26:07] local.INFO: Processing buffer {"connection_id":127133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:26:07] local.INFO: IMEI packet received {"connection_id":127133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":127133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:26:08] local.INFO: TCP Data received {"connection_id":127133,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3efe77a0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3efe77a0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:26:08] local.INFO: Processing buffer {"connection_id":127133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3efe77a0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:26:08] local.INFO: Packet analysis {"connection_id":127133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3efe"} 
[2026-07-08 05:26:08] local.INFO: Extracted packet for processing {"connection_id":127133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3efe"} 
[2026-07-08 05:26:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567805696001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783468292000,"timestamp_ms":1783468292000,"timestamp_seconds":1783468292,"priority":1,"record_length":96,"hex_timestamp":"0000019f3efe77a0"} 
[2026-07-08 05:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 05:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":127133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":127133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":127133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567805696001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567805696001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:26:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:26:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567805696001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":127133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:26:08] local.INFO: GPS data processed {"connection_id":127133,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:26:08] local.INFO: Acknowledgment sent {"connection_id":127133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:26:12] local.INFO: TCP Data received {"connection_id":127133,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3efe77a0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3efe77a0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:26:12] local.INFO: Processing buffer {"connection_id":127133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3efe77a0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:26:12] local.INFO: Packet analysis {"connection_id":127133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3efe"} 
[2026-07-08 05:26:12] local.INFO: Extracted packet for processing {"connection_id":127133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3efe"} 
[2026-07-08 05:26:12] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567805696001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783468292000,"timestamp_ms":1783468292000,"timestamp_seconds":1783468292,"priority":1,"record_length":96,"hex_timestamp":"0000019f3efe77a0"} 
[2026-07-08 05:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 05:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":127133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":127133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":127133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567805696001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567805696001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:26:12] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:26:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567805696001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":127133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:26:12] local.INFO: GPS data processed {"connection_id":127133,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:26:12] local.INFO: Acknowledgment sent {"connection_id":127133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:26:22] local.INFO: TCP Data received {"connection_id":127134,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127134,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:26:22] local.INFO: Processing buffer {"connection_id":127134,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:26:22] local.INFO: IMEI packet received {"connection_id":127134,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 05:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":127134,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:26:57] local.INFO: TCP Data received {"connection_id":127135,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:26:57] local.INFO: Processing buffer {"connection_id":127135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:26:57] local.INFO: IMEI packet received {"connection_id":127135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":127135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:26:57] local.INFO: TCP Data received {"connection_id":125873,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125873,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:26:57] local.INFO: Processing buffer {"connection_id":125873,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:26:57] local.INFO: IMEI packet received {"connection_id":125873,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 05:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":125873,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:27:02] local.INFO: TCP Data received {"connection_id":127135,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:27:02] local.INFO: Processing buffer {"connection_id":127135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:27:02] local.INFO: IMEI packet received {"connection_id":127135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":127135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:27:03] local.INFO: TCP Data received {"connection_id":127135,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3efe77a0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3efe77a0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:27:03] local.INFO: Processing buffer {"connection_id":127135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3efe77a0012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:27:03] local.INFO: Packet analysis {"connection_id":127135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3efe"} 
[2026-07-08 05:27:03] local.INFO: Extracted packet for processing {"connection_id":127135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3efe"} 
[2026-07-08 05:27:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05: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-07-08 05:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567805696001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783468292000,"timestamp_ms":1783468292000,"timestamp_seconds":1783468292,"priority":1,"record_length":96,"hex_timestamp":"0000019f3efe77a0"} 
[2026-07-08 05:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 05:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05: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-07-08 05:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567805696001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567805696001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:27:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:27:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567805696001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":127135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:27:03] local.INFO: GPS data processed {"connection_id":127135,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:27:03] local.INFO: Acknowledgment sent {"connection_id":127135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:27:33] local.INFO: TCP Data received {"connection_id":127135,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f030f68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f030f68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:27:33] local.INFO: Processing buffer {"connection_id":127135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f030f68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:27:33] local.INFO: Packet analysis {"connection_id":127135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f03"} 
[2026-07-08 05:27:33] local.INFO: Extracted packet for processing {"connection_id":127135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f03"} 
[2026-07-08 05:27:33] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05: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-07-08 05:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567882752001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783468593000,"timestamp_ms":1783468593000,"timestamp_seconds":1783468593,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f030f68"} 
[2026-07-08 05:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 05:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05: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-07-08 05:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567882752001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567882752001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:27:33] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:27:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567882752001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":127135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:27:33] local.INFO: GPS data processed {"connection_id":127135,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:27:33] local.INFO: Acknowledgment sent {"connection_id":127135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:27:56] local.INFO: TCP Data received {"connection_id":125116,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:27:56] local.INFO: Processing buffer {"connection_id":125116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:27:56] local.INFO: IMEI packet received {"connection_id":125116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":125116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:28:02] local.INFO: TCP Data received {"connection_id":125116,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:28:02] local.INFO: Processing buffer {"connection_id":125116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:28:02] local.INFO: IMEI packet received {"connection_id":125116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":125116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:28:03] local.INFO: TCP Data received {"connection_id":125116,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f030f68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f030f68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:28:03] local.INFO: Processing buffer {"connection_id":125116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f030f68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:28:03] local.INFO: Packet analysis {"connection_id":125116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f03"} 
[2026-07-08 05:28:03] local.INFO: Extracted packet for processing {"connection_id":125116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f03"} 
[2026-07-08 05:28:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05: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-07-08 05:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567882752001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783468593000,"timestamp_ms":1783468593000,"timestamp_seconds":1783468593,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f030f68"} 
[2026-07-08 05:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 05:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05: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-07-08 05:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567882752001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567882752001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:28:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:28:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567882752001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":125116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:28:03] local.INFO: GPS data processed {"connection_id":125116,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:28:03] local.INFO: Acknowledgment sent {"connection_id":125116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:28:34] local.INFO: TCP Data received {"connection_id":125116,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f030f68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f030f68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:28:34] local.INFO: Processing buffer {"connection_id":125116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f030f68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:28:34] local.INFO: Packet analysis {"connection_id":125116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f03"} 
[2026-07-08 05:28:34] local.INFO: Extracted packet for processing {"connection_id":125116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f03"} 
[2026-07-08 05:28:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05: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-07-08 05:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567882752001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783468593000,"timestamp_ms":1783468593000,"timestamp_seconds":1783468593,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f030f68"} 
[2026-07-08 05:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 05:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05: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-07-08 05:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567882752001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567882752001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:28:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:28:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567882752001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":125116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:28:34] local.INFO: GPS data processed {"connection_id":125116,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:28:34] local.INFO: Acknowledgment sent {"connection_id":125116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:28:56] local.INFO: TCP Data received {"connection_id":125034,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:28:57] local.INFO: Processing buffer {"connection_id":125034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:28:57] local.INFO: IMEI packet received {"connection_id":125034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":125034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:29:02] local.INFO: TCP Data received {"connection_id":125034,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:29:02] local.INFO: Processing buffer {"connection_id":125034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:29:02] local.INFO: IMEI packet received {"connection_id":125034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":125034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:29:03] local.INFO: TCP Data received {"connection_id":125034,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f030f68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f030f68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:29:03] local.INFO: Processing buffer {"connection_id":125034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f030f68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:29:03] local.INFO: Packet analysis {"connection_id":125034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f03"} 
[2026-07-08 05:29:03] local.INFO: Extracted packet for processing {"connection_id":125034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f03"} 
[2026-07-08 05:29:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567882752001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783468593000,"timestamp_ms":1783468593000,"timestamp_seconds":1783468593,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f030f68"} 
[2026-07-08 05:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 05:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567882752001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567882752001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:29:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:29:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567882752001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":125034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:29:03] local.INFO: GPS data processed {"connection_id":125034,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:29:03] local.INFO: Acknowledgment sent {"connection_id":125034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:29:33] local.INFO: TCP Data received {"connection_id":125034,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f030f68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f030f68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:29:33] local.INFO: Processing buffer {"connection_id":125034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f030f68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:29:33] local.INFO: Packet analysis {"connection_id":125034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f03"} 
[2026-07-08 05:29:33] local.INFO: Extracted packet for processing {"connection_id":125034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f03"} 
[2026-07-08 05:29:33] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05: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-07-08 05:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567882752001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783468593000,"timestamp_ms":1783468593000,"timestamp_seconds":1783468593,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f030f68"} 
[2026-07-08 05:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 05:29:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05: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-07-08 05:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567882752001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567882752001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:29:33] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:29:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567882752001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":125034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:29:34] local.INFO: GPS data processed {"connection_id":125034,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:29:34] local.INFO: Acknowledgment sent {"connection_id":125034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:30:02] local.INFO: TCP Data received {"connection_id":125118,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:30:02] local.INFO: Processing buffer {"connection_id":125118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:30:02] local.INFO: IMEI packet received {"connection_id":125118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":125118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:30:07] local.INFO: TCP Data received {"connection_id":125118,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:30:07] local.INFO: Processing buffer {"connection_id":125118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:30:07] local.INFO: IMEI packet received {"connection_id":125118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":125118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:30:08] local.INFO: TCP Data received {"connection_id":125118,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f030f68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f030f68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:30:08] local.INFO: Processing buffer {"connection_id":125118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f030f68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:30:08] local.INFO: Packet analysis {"connection_id":125118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f03"} 
[2026-07-08 05:30:08] local.INFO: Extracted packet for processing {"connection_id":125118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f03"} 
[2026-07-08 05:30:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567882752001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783468593000,"timestamp_ms":1783468593000,"timestamp_seconds":1783468593,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f030f68"} 
[2026-07-08 05:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 05:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567882752001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567882752001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:30:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:30:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567882752001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":125118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:30:08] local.INFO: GPS data processed {"connection_id":125118,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:30:08] local.INFO: Acknowledgment sent {"connection_id":125118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:30:12] local.INFO: TCP Data received {"connection_id":125118,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f030f68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f030f68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:30:12] local.INFO: Processing buffer {"connection_id":125118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f030f68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:30:12] local.INFO: Packet analysis {"connection_id":125118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f03"} 
[2026-07-08 05:30:12] local.INFO: Extracted packet for processing {"connection_id":125118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f03"} 
[2026-07-08 05:30:12] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567882752001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783468593000,"timestamp_ms":1783468593000,"timestamp_seconds":1783468593,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f030f68"} 
[2026-07-08 05:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":75,"data_length":795,"current_offset":136} 
[2026-07-08 05:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567882752001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567882752001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:30:12] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:30:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567882752001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":125118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:30:12] local.INFO: GPS data processed {"connection_id":125118,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:30:12] local.INFO: Acknowledgment sent {"connection_id":125118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:30:57] local.INFO: TCP Data received {"connection_id":125119,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:30:57] local.INFO: Processing buffer {"connection_id":125119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:30:57] local.INFO: IMEI packet received {"connection_id":125119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":125119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:31:02] local.INFO: TCP Data received {"connection_id":125119,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:31:02] local.INFO: Processing buffer {"connection_id":125119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:31:02] local.INFO: IMEI packet received {"connection_id":125119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":125119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:31:03] local.INFO: TCP Data received {"connection_id":125119,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f030f68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f030f68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:31:03] local.INFO: Processing buffer {"connection_id":125119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f030f68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:31:03] local.INFO: Packet analysis {"connection_id":125119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f03"} 
[2026-07-08 05:31:03] local.INFO: Extracted packet for processing {"connection_id":125119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f03"} 
[2026-07-08 05:31:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05: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-07-08 05:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567882752001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783468593000,"timestamp_ms":1783468593000,"timestamp_seconds":1783468593,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f030f68"} 
[2026-07-08 05:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 05:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05: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-07-08 05:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567882752001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567882752001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:31:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:31:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567882752001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":125119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:31:03] local.INFO: GPS data processed {"connection_id":125119,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:31:03] local.INFO: Acknowledgment sent {"connection_id":125119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:31:34] local.INFO: TCP Data received {"connection_id":125119,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f030f68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f030f68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:31:34] local.INFO: Processing buffer {"connection_id":125119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f030f68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:31:34] local.INFO: Packet analysis {"connection_id":125119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f03"} 
[2026-07-08 05:31:34] local.INFO: Extracted packet for processing {"connection_id":125119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f03"} 
[2026-07-08 05:31:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567882752001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783468593000,"timestamp_ms":1783468593000,"timestamp_seconds":1783468593,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f030f68"} 
[2026-07-08 05:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 05:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567882752001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567882752001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:31:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:31:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567882752001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":125119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:31:34] local.INFO: GPS data processed {"connection_id":125119,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:31:34] local.INFO: Acknowledgment sent {"connection_id":125119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:31:56] local.INFO: TCP Data received {"connection_id":127137,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:31:56] local.INFO: Processing buffer {"connection_id":127137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:31:56] local.INFO: IMEI packet received {"connection_id":127137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":127137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:32:02] local.INFO: TCP Data received {"connection_id":127137,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:32:02] local.INFO: Processing buffer {"connection_id":127137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:32:02] local.INFO: IMEI packet received {"connection_id":127137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":127137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:32:03] local.INFO: TCP Data received {"connection_id":127137,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f030f68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f030f68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:32:03] local.INFO: Processing buffer {"connection_id":127137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f030f68012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:32:03] local.INFO: Packet analysis {"connection_id":127137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f03"} 
[2026-07-08 05:32:03] local.INFO: Extracted packet for processing {"connection_id":127137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f03"} 
[2026-07-08 05:32:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05: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-07-08 05:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567882752001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783468593000,"timestamp_ms":1783468593000,"timestamp_seconds":1783468593,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f030f68"} 
[2026-07-08 05:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 05:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05: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-07-08 05:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567882752001,"66":25430,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567882752001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:32:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:32:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567882752001,"power":25430,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":127137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:32:03] local.INFO: GPS data processed {"connection_id":127137,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:32:03] local.INFO: Acknowledgment sent {"connection_id":127137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:32:27] local.INFO: TCP Data received {"connection_id":127138,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127138,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:32:27] local.INFO: Processing buffer {"connection_id":127138,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:32:27] local.INFO: IMEI packet received {"connection_id":127138,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 05:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":127138,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:32:33] local.INFO: TCP Data received {"connection_id":127137,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f07a730012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f07a730012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:32:33] local.INFO: Processing buffer {"connection_id":127137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f07a730012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:32:33] local.INFO: Packet analysis {"connection_id":127137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f07"} 
[2026-07-08 05:32:33] local.INFO: Extracted packet for processing {"connection_id":127137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f07"} 
[2026-07-08 05:32:33] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05: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-07-08 05:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567959808001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783468894000,"timestamp_ms":1783468894000,"timestamp_seconds":1783468894,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f07a730"} 
[2026-07-08 05:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 05:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05: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-07-08 05:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567959808001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567959808001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:32:33] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:32:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567959808001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":127137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:32:33] local.INFO: GPS data processed {"connection_id":127137,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:32:33] local.INFO: Acknowledgment sent {"connection_id":127137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:32:56] local.INFO: TCP Data received {"connection_id":125037,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:32:56] local.INFO: Processing buffer {"connection_id":125037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:32:56] local.INFO: IMEI packet received {"connection_id":125037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":125037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:32:57] local.INFO: TCP Data received {"connection_id":125036,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125036,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:32:57] local.INFO: Processing buffer {"connection_id":125036,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:32:57] local.INFO: IMEI packet received {"connection_id":125036,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 05:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":125036,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:33:02] local.INFO: TCP Data received {"connection_id":125037,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:33:02] local.INFO: Processing buffer {"connection_id":125037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:33:02] local.INFO: IMEI packet received {"connection_id":125037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":125037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:33:03] local.INFO: TCP Data received {"connection_id":125037,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f07a730012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f07a730012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:33:03] local.INFO: Processing buffer {"connection_id":125037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f07a730012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:33:03] local.INFO: Packet analysis {"connection_id":125037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f07"} 
[2026-07-08 05:33:03] local.INFO: Extracted packet for processing {"connection_id":125037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f07"} 
[2026-07-08 05:33:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567959808001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783468894000,"timestamp_ms":1783468894000,"timestamp_seconds":1783468894,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f07a730"} 
[2026-07-08 05:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 05:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567959808001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567959808001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:33:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:33:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567959808001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":125037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:33:03] local.INFO: GPS data processed {"connection_id":125037,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:33:03] local.INFO: Acknowledgment sent {"connection_id":125037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:33:34] local.INFO: TCP Data received {"connection_id":125037,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f07a730012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f07a730012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:33:34] local.INFO: Processing buffer {"connection_id":125037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f07a730012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:33:34] local.INFO: Packet analysis {"connection_id":125037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f07"} 
[2026-07-08 05:33:34] local.INFO: Extracted packet for processing {"connection_id":125037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f07"} 
[2026-07-08 05:33:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05: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-07-08 05:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567959808001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783468894000,"timestamp_ms":1783468894000,"timestamp_seconds":1783468894,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f07a730"} 
[2026-07-08 05:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 05:33: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-07-08 05: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-07-08 05:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567959808001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567959808001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:33:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:33:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567959808001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":125037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:33:34] local.INFO: GPS data processed {"connection_id":125037,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:33:34] local.INFO: Acknowledgment sent {"connection_id":125037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:33:56] local.INFO: TCP Data received {"connection_id":125875,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:33:56] local.INFO: Processing buffer {"connection_id":125875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:33:56] local.INFO: IMEI packet received {"connection_id":125875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":125875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:34:02] local.INFO: TCP Data received {"connection_id":125875,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:34:02] local.INFO: Processing buffer {"connection_id":125875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:34:02] local.INFO: IMEI packet received {"connection_id":125875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":125875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:34:03] local.INFO: TCP Data received {"connection_id":125875,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f07a730012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f07a730012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:34:03] local.INFO: Processing buffer {"connection_id":125875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f07a730012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:34:03] local.INFO: Packet analysis {"connection_id":125875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f07"} 
[2026-07-08 05:34:03] local.INFO: Extracted packet for processing {"connection_id":125875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f07"} 
[2026-07-08 05:34:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567959808001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783468894000,"timestamp_ms":1783468894000,"timestamp_seconds":1783468894,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f07a730"} 
[2026-07-08 05:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 05:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567959808001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567959808001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:34:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:34:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567959808001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":125875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:34:03] local.INFO: GPS data processed {"connection_id":125875,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:34:03] local.INFO: Acknowledgment sent {"connection_id":125875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:34:34] local.INFO: TCP Data received {"connection_id":125875,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f07a730012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f07a730012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:34:34] local.INFO: Processing buffer {"connection_id":125875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f07a730012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:34:34] local.INFO: Packet analysis {"connection_id":125875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f07"} 
[2026-07-08 05:34:34] local.INFO: Extracted packet for processing {"connection_id":125875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f07"} 
[2026-07-08 05:34:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567959808001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783468894000,"timestamp_ms":1783468894000,"timestamp_seconds":1783468894,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f07a730"} 
[2026-07-08 05:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 05:34: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-07-08 05:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567959808001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567959808001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:34:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:34:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567959808001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":125875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:34:34] local.INFO: GPS data processed {"connection_id":125875,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:34:34] local.INFO: Acknowledgment sent {"connection_id":125875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:35:02] local.INFO: TCP Data received {"connection_id":125038,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:35:02] local.INFO: Processing buffer {"connection_id":125038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:35:02] local.INFO: IMEI packet received {"connection_id":125038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":125038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:35:07] local.INFO: TCP Data received {"connection_id":125038,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:35:07] local.INFO: Processing buffer {"connection_id":125038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:35:07] local.INFO: IMEI packet received {"connection_id":125038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":125038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:35:08] local.INFO: TCP Data received {"connection_id":125038,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f07a730012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f07a730012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:35:08] local.INFO: Processing buffer {"connection_id":125038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f07a730012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:35:08] local.INFO: Packet analysis {"connection_id":125038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f07"} 
[2026-07-08 05:35:08] local.INFO: Extracted packet for processing {"connection_id":125038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f07"} 
[2026-07-08 05:35:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567959808001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783468894000,"timestamp_ms":1783468894000,"timestamp_seconds":1783468894,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f07a730"} 
[2026-07-08 05:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 05:35:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567959808001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567959808001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:35:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:35:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567959808001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":125038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:35:08] local.INFO: GPS data processed {"connection_id":125038,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:35:08] local.INFO: Acknowledgment sent {"connection_id":125038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:35:12] local.INFO: TCP Data received {"connection_id":125038,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f07a730012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f07a730012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:35:12] local.INFO: Processing buffer {"connection_id":125038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f07a730012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:35:12] local.INFO: Packet analysis {"connection_id":125038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f07"} 
[2026-07-08 05:35:12] local.INFO: Extracted packet for processing {"connection_id":125038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f07"} 
[2026-07-08 05:35:12] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567959808001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783468894000,"timestamp_ms":1783468894000,"timestamp_seconds":1783468894,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f07a730"} 
[2026-07-08 05:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 05:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567959808001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567959808001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:35:12] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:35:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567959808001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":125038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:35:12] local.INFO: GPS data processed {"connection_id":125038,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:35:12] local.INFO: Acknowledgment sent {"connection_id":125038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:35:57] local.INFO: TCP Data received {"connection_id":125877,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:35:57] local.INFO: Processing buffer {"connection_id":125877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:35:57] local.INFO: IMEI packet received {"connection_id":125877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":125877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:36:02] local.INFO: TCP Data received {"connection_id":125877,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:36:02] local.INFO: Processing buffer {"connection_id":125877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:36:02] local.INFO: IMEI packet received {"connection_id":125877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":125877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:36:03] local.INFO: TCP Data received {"connection_id":125877,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f07a730012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f07a730012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:36:03] local.INFO: Processing buffer {"connection_id":125877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f07a730012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:36:03] local.INFO: Packet analysis {"connection_id":125877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f07"} 
[2026-07-08 05:36:03] local.INFO: Extracted packet for processing {"connection_id":125877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f07"} 
[2026-07-08 05:36:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567959808001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783468894000,"timestamp_ms":1783468894000,"timestamp_seconds":1783468894,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f07a730"} 
[2026-07-08 05:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 05:36: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-07-08 05:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567959808001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567959808001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:36:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:36:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567959808001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":125877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:36:03] local.INFO: GPS data processed {"connection_id":125877,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:36:03] local.INFO: Acknowledgment sent {"connection_id":125877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:36:34] local.INFO: TCP Data received {"connection_id":125877,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f07a730012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f07a730012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:36:34] local.INFO: Processing buffer {"connection_id":125877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f07a730012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:36:34] local.INFO: Packet analysis {"connection_id":125877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f07"} 
[2026-07-08 05:36:34] local.INFO: Extracted packet for processing {"connection_id":125877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f07"} 
[2026-07-08 05:36:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05: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-07-08 05:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567959808001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783468894000,"timestamp_ms":1783468894000,"timestamp_seconds":1783468894,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f07a730"} 
[2026-07-08 05:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 05:36: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-07-08 05: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-07-08 05:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567959808001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567959808001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:36:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:36:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567959808001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":125877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:36:34] local.INFO: GPS data processed {"connection_id":125877,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:36:34] local.INFO: Acknowledgment sent {"connection_id":125877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:36:57] local.INFO: TCP Data received {"connection_id":125040,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:36:57] local.INFO: Processing buffer {"connection_id":125040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:36:57] local.INFO: IMEI packet received {"connection_id":125040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":125040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:37:02] local.INFO: TCP Data received {"connection_id":125040,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:37:02] local.INFO: Processing buffer {"connection_id":125040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:37:02] local.INFO: IMEI packet received {"connection_id":125040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":125040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:37:03] local.INFO: TCP Data received {"connection_id":125040,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f07a730012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f07a730012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:37:03] local.INFO: Processing buffer {"connection_id":125040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f07a730012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:37:03] local.INFO: Packet analysis {"connection_id":125040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f07"} 
[2026-07-08 05:37:03] local.INFO: Extracted packet for processing {"connection_id":125040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f07"} 
[2026-07-08 05:37:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05: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-07-08 05:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456567959808001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783468894000,"timestamp_ms":1783468894000,"timestamp_seconds":1783468894,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f07a730"} 
[2026-07-08 05:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 05:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05: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-07-08 05:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456567959808001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456567959808001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:37:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:37:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456567959808001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":125040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:37:03] local.INFO: GPS data processed {"connection_id":125040,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:37:03] local.INFO: Acknowledgment sent {"connection_id":125040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:37:33] local.INFO: TCP Data received {"connection_id":125040,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f0c3ef8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f0c3ef8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:37:33] local.INFO: Processing buffer {"connection_id":125040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f0c3ef8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:37:33] local.INFO: Packet analysis {"connection_id":125040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f0c"} 
[2026-07-08 05:37:33] local.INFO: Extracted packet for processing {"connection_id":125040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f0c"} 
[2026-07-08 05:37:33] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05: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-07-08 05:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568036864001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783469195000,"timestamp_ms":1783469195000,"timestamp_seconds":1783469195,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f0c3ef8"} 
[2026-07-08 05:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 05:37: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-07-08 05: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-07-08 05:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568036864001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568036864001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:37:33] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:37:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568036864001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":125040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:37:33] local.INFO: GPS data processed {"connection_id":125040,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:37:33] local.INFO: Acknowledgment sent {"connection_id":125040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:37:56] local.INFO: TCP Data received {"connection_id":125121,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:37:56] local.INFO: Processing buffer {"connection_id":125121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:37:56] local.INFO: IMEI packet received {"connection_id":125121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":125121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:38:01] local.INFO: TCP Data received {"connection_id":125121,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:38:01] local.INFO: Processing buffer {"connection_id":125121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:38:01] local.INFO: IMEI packet received {"connection_id":125121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":125121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:38:02] local.INFO: TCP Data received {"connection_id":125121,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f0c3ef8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f0c3ef8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:38:02] local.INFO: Processing buffer {"connection_id":125121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f0c3ef8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:38:02] local.INFO: Packet analysis {"connection_id":125121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f0c"} 
[2026-07-08 05:38:02] local.INFO: Extracted packet for processing {"connection_id":125121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f0c"} 
[2026-07-08 05:38:02] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568036864001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783469195000,"timestamp_ms":1783469195000,"timestamp_seconds":1783469195,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f0c3ef8"} 
[2026-07-08 05:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 05:38: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-07-08 05:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568036864001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568036864001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:38:02] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:38:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568036864001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":125121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:38:02] local.INFO: GPS data processed {"connection_id":125121,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:38:02] local.INFO: Acknowledgment sent {"connection_id":125121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:38:33] local.INFO: TCP Data received {"connection_id":125121,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f0c3ef8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f0c3ef8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:38:33] local.INFO: Processing buffer {"connection_id":125121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f0c3ef8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:38:33] local.INFO: Packet analysis {"connection_id":125121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f0c"} 
[2026-07-08 05:38:33] local.INFO: Extracted packet for processing {"connection_id":125121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f0c"} 
[2026-07-08 05:38:33] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568036864001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783469195000,"timestamp_ms":1783469195000,"timestamp_seconds":1783469195,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f0c3ef8"} 
[2026-07-08 05:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 05:38: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-07-08 05:38:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:38: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-07-08 05:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568036864001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568036864001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:38:33] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:38:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568036864001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":125121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:38:33] local.INFO: GPS data processed {"connection_id":125121,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:38:33] local.INFO: Acknowledgment sent {"connection_id":125121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:38:56] local.INFO: TCP Data received {"connection_id":125041,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:38:56] local.INFO: Processing buffer {"connection_id":125041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:38:56] local.INFO: IMEI packet received {"connection_id":125041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":125041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:38:57] local.INFO: TCP Data received {"connection_id":127140,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127140,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:38:57] local.INFO: Processing buffer {"connection_id":127140,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:38:57] local.INFO: IMEI packet received {"connection_id":127140,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 05:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":127140,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:39:01] local.INFO: TCP Data received {"connection_id":125041,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:39:01] local.INFO: Processing buffer {"connection_id":125041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:39:01] local.INFO: IMEI packet received {"connection_id":125041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":125041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:39:02] local.INFO: TCP Data received {"connection_id":125041,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f0c3ef8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f0c3ef8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:39:02] local.INFO: Processing buffer {"connection_id":125041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f0c3ef8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:39:02] local.INFO: Packet analysis {"connection_id":125041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f0c"} 
[2026-07-08 05:39:02] local.INFO: Extracted packet for processing {"connection_id":125041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f0c"} 
[2026-07-08 05:39:02] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568036864001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783469195000,"timestamp_ms":1783469195000,"timestamp_seconds":1783469195,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f0c3ef8"} 
[2026-07-08 05:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 05:39: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-07-08 05:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568036864001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568036864001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:39:02] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:39:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568036864001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":125041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:39:02] local.INFO: GPS data processed {"connection_id":125041,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:39:02] local.INFO: Acknowledgment sent {"connection_id":125041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:39:33] local.INFO: TCP Data received {"connection_id":125041,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f0c3ef8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f0c3ef8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:39:33] local.INFO: Processing buffer {"connection_id":125041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f0c3ef8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:39:33] local.INFO: Packet analysis {"connection_id":125041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f0c"} 
[2026-07-08 05:39:33] local.INFO: Extracted packet for processing {"connection_id":125041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f0c"} 
[2026-07-08 05:39:33] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05: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-07-08 05:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568036864001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783469195000,"timestamp_ms":1783469195000,"timestamp_seconds":1783469195,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f0c3ef8"} 
[2026-07-08 05:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 05:39: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-07-08 05: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-07-08 05:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:39: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-07-08 05:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568036864001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568036864001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:39:33] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:39:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568036864001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":125041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:39:33] local.INFO: GPS data processed {"connection_id":125041,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:39:33] local.INFO: Acknowledgment sent {"connection_id":125041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:39:56] local.INFO: TCP Data received {"connection_id":125879,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:39:56] local.INFO: Processing buffer {"connection_id":125879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:39:56] local.INFO: IMEI packet received {"connection_id":125879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":125879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:40:02] local.INFO: TCP Data received {"connection_id":125879,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:40:02] local.INFO: Processing buffer {"connection_id":125879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:40:02] local.INFO: IMEI packet received {"connection_id":125879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":125879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:40:02] local.INFO: TCP Data received {"connection_id":125879,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f0c3ef8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f0c3ef8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:40:02] local.INFO: Processing buffer {"connection_id":125879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f0c3ef8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:40:02] local.INFO: Packet analysis {"connection_id":125879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f0c"} 
[2026-07-08 05:40:02] local.INFO: Extracted packet for processing {"connection_id":125879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f0c"} 
[2026-07-08 05:40:02] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568036864001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783469195000,"timestamp_ms":1783469195000,"timestamp_seconds":1783469195,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f0c3ef8"} 
[2026-07-08 05:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 05:40: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-07-08 05:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568036864001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568036864001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:40:02] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:40:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568036864001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":125879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:40:03] local.INFO: GPS data processed {"connection_id":125879,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:40:03] local.INFO: Acknowledgment sent {"connection_id":125879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:40:34] local.INFO: TCP Data received {"connection_id":125879,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f0c3ef8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f0c3ef8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:40:34] local.INFO: Processing buffer {"connection_id":125879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f0c3ef8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:40:34] local.INFO: Packet analysis {"connection_id":125879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f0c"} 
[2026-07-08 05:40:34] local.INFO: Extracted packet for processing {"connection_id":125879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f0c"} 
[2026-07-08 05:40:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568036864001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783469195000,"timestamp_ms":1783469195000,"timestamp_seconds":1783469195,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f0c3ef8"} 
[2026-07-08 05:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 05:40: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-07-08 05:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568036864001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568036864001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:40:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:40:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568036864001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":125879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:40:34] local.INFO: GPS data processed {"connection_id":125879,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:40:34] local.INFO: Acknowledgment sent {"connection_id":125879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:41:02] local.INFO: TCP Data received {"connection_id":125043,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:41:02] local.INFO: Processing buffer {"connection_id":125043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:41:02] local.INFO: IMEI packet received {"connection_id":125043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":125043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:41:07] local.INFO: TCP Data received {"connection_id":125043,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:41:07] local.INFO: Processing buffer {"connection_id":125043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:41:07] local.INFO: IMEI packet received {"connection_id":125043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":125043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:41:08] local.INFO: TCP Data received {"connection_id":125043,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f0c3ef8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f0c3ef8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:41:08] local.INFO: Processing buffer {"connection_id":125043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f0c3ef8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:41:08] local.INFO: Packet analysis {"connection_id":125043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f0c"} 
[2026-07-08 05:41:08] local.INFO: Extracted packet for processing {"connection_id":125043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f0c"} 
[2026-07-08 05:41:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568036864001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783469195000,"timestamp_ms":1783469195000,"timestamp_seconds":1783469195,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f0c3ef8"} 
[2026-07-08 05:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 05:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568036864001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568036864001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:41:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:41:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568036864001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":125043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:41:08] local.INFO: GPS data processed {"connection_id":125043,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:41:08] local.INFO: Acknowledgment sent {"connection_id":125043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:41:12] local.INFO: TCP Data received {"connection_id":125043,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f0c3ef8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f0c3ef8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:41:12] local.INFO: Processing buffer {"connection_id":125043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f0c3ef8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:41:12] local.INFO: Packet analysis {"connection_id":125043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f0c"} 
[2026-07-08 05:41:12] local.INFO: Extracted packet for processing {"connection_id":125043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f0c"} 
[2026-07-08 05:41:12] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568036864001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783469195000,"timestamp_ms":1783469195000,"timestamp_seconds":1783469195,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f0c3ef8"} 
[2026-07-08 05:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 05:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568036864001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568036864001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:41:12] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:41:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568036864001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":125043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:41:12] local.INFO: GPS data processed {"connection_id":125043,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:41:12] local.INFO: Acknowledgment sent {"connection_id":125043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:41:57] local.INFO: TCP Data received {"connection_id":125880,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:41:57] local.INFO: Processing buffer {"connection_id":125880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:41:57] local.INFO: IMEI packet received {"connection_id":125880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":125880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:42:02] local.INFO: TCP Data received {"connection_id":125880,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:42:02] local.INFO: Processing buffer {"connection_id":125880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:42:02] local.INFO: IMEI packet received {"connection_id":125880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":125880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:42:02] local.INFO: TCP Data received {"connection_id":125880,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f0c3ef8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f0c3ef8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:42:02] local.INFO: Processing buffer {"connection_id":125880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f0c3ef8012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:42:02] local.INFO: Packet analysis {"connection_id":125880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f0c"} 
[2026-07-08 05:42:02] local.INFO: Extracted packet for processing {"connection_id":125880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f0c"} 
[2026-07-08 05:42:02] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05: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-07-08 05:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568036864001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783469195000,"timestamp_ms":1783469195000,"timestamp_seconds":1783469195,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f0c3ef8"} 
[2026-07-08 05:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 05:42: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-07-08 05: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-07-08 05:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568036864001,"66":25419,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568036864001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:42:02] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:42:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568036864001,"power":25419,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":125880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:42:03] local.INFO: GPS data processed {"connection_id":125880,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:42:03] local.INFO: Acknowledgment sent {"connection_id":125880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:42:33] local.INFO: TCP Data received {"connection_id":125880,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f10d6c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f10d6c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:42:33] local.INFO: Processing buffer {"connection_id":125880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f10d6c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:42:33] local.INFO: Packet analysis {"connection_id":125880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f10"} 
[2026-07-08 05:42:33] local.INFO: Extracted packet for processing {"connection_id":125880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f10"} 
[2026-07-08 05:42:33] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568113920001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783469496000,"timestamp_ms":1783469496000,"timestamp_seconds":1783469496,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f10d6c0"} 
[2026-07-08 05:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 05:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:42:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568113920001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568113920001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:42:33] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:42:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568113920001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":125880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:42:33] local.INFO: GPS data processed {"connection_id":125880,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:42:33] local.INFO: Acknowledgment sent {"connection_id":125880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:42:56] local.INFO: TCP Data received {"connection_id":127142,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:42:56] local.INFO: Processing buffer {"connection_id":127142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:42:56] local.INFO: IMEI packet received {"connection_id":127142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":127142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:43:02] local.INFO: TCP Data received {"connection_id":127142,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:43:02] local.INFO: Processing buffer {"connection_id":127142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:43:02] local.INFO: IMEI packet received {"connection_id":127142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":127142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:43:03] local.INFO: TCP Data received {"connection_id":127142,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f10d6c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f10d6c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:43:03] local.INFO: Processing buffer {"connection_id":127142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f10d6c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:43:03] local.INFO: Packet analysis {"connection_id":127142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f10"} 
[2026-07-08 05:43:03] local.INFO: Extracted packet for processing {"connection_id":127142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f10"} 
[2026-07-08 05:43:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05: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-07-08 05:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568113920001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783469496000,"timestamp_ms":1783469496000,"timestamp_seconds":1783469496,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f10d6c0"} 
[2026-07-08 05:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 05:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05: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-07-08 05:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568113920001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568113920001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:43:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:43:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568113920001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":127142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:43:03] local.INFO: GPS data processed {"connection_id":127142,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:43:03] local.INFO: Acknowledgment sent {"connection_id":127142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:43:34] local.INFO: TCP Data received {"connection_id":127142,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f10d6c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f10d6c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:43:34] local.INFO: Processing buffer {"connection_id":127142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f10d6c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:43:34] local.INFO: Packet analysis {"connection_id":127142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f10"} 
[2026-07-08 05:43:34] local.INFO: Extracted packet for processing {"connection_id":127142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f10"} 
[2026-07-08 05:43:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568113920001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783469496000,"timestamp_ms":1783469496000,"timestamp_seconds":1783469496,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f10d6c0"} 
[2026-07-08 05:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 05:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568113920001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568113920001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:43:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:43:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568113920001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":127142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:43:34] local.INFO: GPS data processed {"connection_id":127142,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:43:34] local.INFO: Acknowledgment sent {"connection_id":127142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:43:56] local.INFO: TCP Data received {"connection_id":125881,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:43:56] local.INFO: Processing buffer {"connection_id":125881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:43:56] local.INFO: IMEI packet received {"connection_id":125881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":125881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:44:01] local.INFO: TCP Data received {"connection_id":125881,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:44:01] local.INFO: Processing buffer {"connection_id":125881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:44:01] local.INFO: IMEI packet received {"connection_id":125881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":125881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:44:02] local.INFO: TCP Data received {"connection_id":125881,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f10d6c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f10d6c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:44:02] local.INFO: Processing buffer {"connection_id":125881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f10d6c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:44:02] local.INFO: Packet analysis {"connection_id":125881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f10"} 
[2026-07-08 05:44:02] local.INFO: Extracted packet for processing {"connection_id":125881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f10"} 
[2026-07-08 05:44:02] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05: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-07-08 05:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568113920001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783469496000,"timestamp_ms":1783469496000,"timestamp_seconds":1783469496,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f10d6c0"} 
[2026-07-08 05:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 05:44:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05: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-07-08 05:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568113920001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568113920001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:44:02] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:44:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568113920001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":125881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:44:02] local.INFO: GPS data processed {"connection_id":125881,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:44:02] local.INFO: Acknowledgment sent {"connection_id":125881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:44:17] local.INFO: TCP Data received {"connection_id":125044,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125044,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:44:17] local.INFO: Processing buffer {"connection_id":125044,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:44:17] local.INFO: IMEI packet received {"connection_id":125044,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 05:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":125044,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:44:33] local.INFO: TCP Data received {"connection_id":125881,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f10d6c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f10d6c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:44:33] local.INFO: Processing buffer {"connection_id":125881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f10d6c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:44:33] local.INFO: Packet analysis {"connection_id":125881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f10"} 
[2026-07-08 05:44:33] local.INFO: Extracted packet for processing {"connection_id":125881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f10"} 
[2026-07-08 05:44:33] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568113920001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783469496000,"timestamp_ms":1783469496000,"timestamp_seconds":1783469496,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f10d6c0"} 
[2026-07-08 05:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 05:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:44:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:44: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-07-08 05:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568113920001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568113920001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:44:33] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:44:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568113920001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":125881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:44:33] local.INFO: GPS data processed {"connection_id":125881,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:44:33] local.INFO: Acknowledgment sent {"connection_id":125881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:44:56] local.INFO: TCP Data received {"connection_id":125045,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:44:56] local.INFO: Processing buffer {"connection_id":125045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:44:56] local.INFO: IMEI packet received {"connection_id":125045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":125045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:44:57] local.INFO: TCP Data received {"connection_id":125123,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125123,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:44:57] local.INFO: Processing buffer {"connection_id":125123,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:44:57] local.INFO: IMEI packet received {"connection_id":125123,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 05:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":125123,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:45:01] local.INFO: TCP Data received {"connection_id":125045,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:45:01] local.INFO: Processing buffer {"connection_id":125045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:45:01] local.INFO: IMEI packet received {"connection_id":125045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":125045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:45:02] local.INFO: TCP Data received {"connection_id":125045,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f10d6c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f10d6c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:45:02] local.INFO: Processing buffer {"connection_id":125045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f10d6c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:45:02] local.INFO: Packet analysis {"connection_id":125045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f10"} 
[2026-07-08 05:45:02] local.INFO: Extracted packet for processing {"connection_id":125045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f10"} 
[2026-07-08 05:45:02] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05: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-07-08 05:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568113920001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783469496000,"timestamp_ms":1783469496000,"timestamp_seconds":1783469496,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f10d6c0"} 
[2026-07-08 05:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 05:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05: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-07-08 05:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568113920001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568113920001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:45:02] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:45:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568113920001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":125045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:45:02] local.INFO: GPS data processed {"connection_id":125045,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:45:02] local.INFO: Acknowledgment sent {"connection_id":125045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:45:33] local.INFO: TCP Data received {"connection_id":125045,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f10d6c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f10d6c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:45:33] local.INFO: Processing buffer {"connection_id":125045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f10d6c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:45:33] local.INFO: Packet analysis {"connection_id":125045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f10"} 
[2026-07-08 05:45:33] local.INFO: Extracted packet for processing {"connection_id":125045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f10"} 
[2026-07-08 05:45:33] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568113920001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783469496000,"timestamp_ms":1783469496000,"timestamp_seconds":1783469496,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f10d6c0"} 
[2026-07-08 05:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 05:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:45: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-07-08 05:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568113920001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568113920001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:45:33] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:45:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568113920001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":125045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:45:33] local.INFO: GPS data processed {"connection_id":125045,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:45:33] local.INFO: Acknowledgment sent {"connection_id":125045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:45:56] local.INFO: TCP Data received {"connection_id":125046,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:45:56] local.INFO: Processing buffer {"connection_id":125046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:45:56] local.INFO: IMEI packet received {"connection_id":125046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":125046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:46:02] local.INFO: TCP Data received {"connection_id":125046,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:46:02] local.INFO: Processing buffer {"connection_id":125046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:46:02] local.INFO: IMEI packet received {"connection_id":125046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":125046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:46:03] local.INFO: TCP Data received {"connection_id":125046,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f10d6c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f10d6c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:46:03] local.INFO: Processing buffer {"connection_id":125046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f10d6c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:46:03] local.INFO: Packet analysis {"connection_id":125046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f10"} 
[2026-07-08 05:46:03] local.INFO: Extracted packet for processing {"connection_id":125046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f10"} 
[2026-07-08 05:46:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05: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-07-08 05:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568113920001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783469496000,"timestamp_ms":1783469496000,"timestamp_seconds":1783469496,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f10d6c0"} 
[2026-07-08 05:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 05:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05: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-07-08 05:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568113920001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568113920001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:46:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:46:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568113920001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":125046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:46:03] local.INFO: GPS data processed {"connection_id":125046,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:46:03] local.INFO: Acknowledgment sent {"connection_id":125046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:46:34] local.INFO: TCP Data received {"connection_id":125046,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f10d6c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f10d6c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:46:34] local.INFO: Processing buffer {"connection_id":125046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f10d6c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:46:34] local.INFO: Packet analysis {"connection_id":125046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f10"} 
[2026-07-08 05:46:34] local.INFO: Extracted packet for processing {"connection_id":125046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f10"} 
[2026-07-08 05:46:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568113920001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783469496000,"timestamp_ms":1783469496000,"timestamp_seconds":1783469496,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f10d6c0"} 
[2026-07-08 05:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":75,"data_length":795,"current_offset":136} 
[2026-07-08 05:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568113920001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568113920001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:46:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:46:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568113920001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":125046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:46:34] local.INFO: GPS data processed {"connection_id":125046,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:46:34] local.INFO: Acknowledgment sent {"connection_id":125046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:47:02] local.INFO: TCP Data received {"connection_id":125882,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:47:02] local.INFO: Processing buffer {"connection_id":125882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:47:02] local.INFO: IMEI packet received {"connection_id":125882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":125882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:47:07] local.INFO: TCP Data received {"connection_id":125882,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:47:07] local.INFO: Processing buffer {"connection_id":125882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:47:07] local.INFO: IMEI packet received {"connection_id":125882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":125882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:47:07] local.INFO: TCP Data received {"connection_id":125882,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f10d6c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f10d6c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:47:07] local.INFO: Processing buffer {"connection_id":125882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f10d6c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:47:07] local.INFO: Packet analysis {"connection_id":125882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f10"} 
[2026-07-08 05:47:07] local.INFO: Extracted packet for processing {"connection_id":125882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f10"} 
[2026-07-08 05:47:07] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568113920001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783469496000,"timestamp_ms":1783469496000,"timestamp_seconds":1783469496,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f10d6c0"} 
[2026-07-08 05:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 05:47: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-07-08 05:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:47:07] 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-07-08 05:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568113920001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568113920001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:47:07] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:47:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568113920001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":125882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:47:07] local.INFO: GPS data processed {"connection_id":125882,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:47:07] local.INFO: Acknowledgment sent {"connection_id":125882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:47:12] local.INFO: TCP Data received {"connection_id":125882,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f10d6c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f10d6c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:47:12] local.INFO: Processing buffer {"connection_id":125882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f10d6c0012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:47:12] local.INFO: Packet analysis {"connection_id":125882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f10"} 
[2026-07-08 05:47:12] local.INFO: Extracted packet for processing {"connection_id":125882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f10"} 
[2026-07-08 05:47:12] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568113920001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783469496000,"timestamp_ms":1783469496000,"timestamp_seconds":1783469496,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f10d6c0"} 
[2026-07-08 05:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":75,"data_length":795,"current_offset":136} 
[2026-07-08 05:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:47:12] 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-07-08 05:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568113920001,"66":25397,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568113920001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:47:12] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:47:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568113920001,"power":25397,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":125882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:47:12] local.INFO: GPS data processed {"connection_id":125882,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:47:12] local.INFO: Acknowledgment sent {"connection_id":125882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:47:56] local.INFO: TCP Data received {"connection_id":125124,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:47:56] local.INFO: Processing buffer {"connection_id":125124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:47:56] local.INFO: IMEI packet received {"connection_id":125124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":125124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:48:02] local.INFO: TCP Data received {"connection_id":125124,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:48:02] local.INFO: Processing buffer {"connection_id":125124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:48:02] local.INFO: IMEI packet received {"connection_id":125124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":125124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:48:02] local.INFO: TCP Data received {"connection_id":125124,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f156e88012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f156e88012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:48:02] local.INFO: Processing buffer {"connection_id":125124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f156e88012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:48:02] local.INFO: Packet analysis {"connection_id":125124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f15"} 
[2026-07-08 05:48:02] local.INFO: Extracted packet for processing {"connection_id":125124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f15"} 
[2026-07-08 05:48:02] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568190976001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783469797000,"timestamp_ms":1783469797000,"timestamp_seconds":1783469797,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f156e88"} 
[2026-07-08 05:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 05:48: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-07-08 05:48:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568190976001,"66":25321,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568190976001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:48:02] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:48:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568190976001,"power":25321,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":125124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:48:02] local.INFO: GPS data processed {"connection_id":125124,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:48:02] local.INFO: Acknowledgment sent {"connection_id":125124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:48:33] local.INFO: TCP Data received {"connection_id":125124,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f156e88012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f156e88012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:48:33] local.INFO: Processing buffer {"connection_id":125124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f156e88012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:48:33] local.INFO: Packet analysis {"connection_id":125124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f15"} 
[2026-07-08 05:48:33] local.INFO: Extracted packet for processing {"connection_id":125124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f15"} 
[2026-07-08 05:48:33] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568190976001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783469797000,"timestamp_ms":1783469797000,"timestamp_seconds":1783469797,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f156e88"} 
[2026-07-08 05:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":53,"data_length":795,"current_offset":136} 
[2026-07-08 05:48: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-07-08 05:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568190976001,"66":25321,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568190976001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:48:33] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:48:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568190976001,"power":25321,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":125124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:48:33] local.INFO: GPS data processed {"connection_id":125124,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:48:33] local.INFO: Acknowledgment sent {"connection_id":125124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:48:56] local.INFO: TCP Data received {"connection_id":125884,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:48:56] local.INFO: Processing buffer {"connection_id":125884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:48:56] local.INFO: IMEI packet received {"connection_id":125884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":125884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:49:02] local.INFO: TCP Data received {"connection_id":125884,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:49:02] local.INFO: Processing buffer {"connection_id":125884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:49:02] local.INFO: IMEI packet received {"connection_id":125884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":125884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:49:02] local.INFO: TCP Data received {"connection_id":125884,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f156e88012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f156e88012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:49:02] local.INFO: Processing buffer {"connection_id":125884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f156e88012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:49:02] local.INFO: Packet analysis {"connection_id":125884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f15"} 
[2026-07-08 05:49:02] local.INFO: Extracted packet for processing {"connection_id":125884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f15"} 
[2026-07-08 05:49:02] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568190976001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:49:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783469797000,"timestamp_ms":1783469797000,"timestamp_seconds":1783469797,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f156e88"} 
[2026-07-08 05:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 05:49: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-07-08 05:49:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568190976001,"66":25321,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568190976001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:49:02] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:49:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568190976001,"power":25321,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":125884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:49:02] local.INFO: GPS data processed {"connection_id":125884,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:49:02] local.INFO: Acknowledgment sent {"connection_id":125884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:49:33] local.INFO: TCP Data received {"connection_id":125884,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f156e88012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f156e88012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:49:33] local.INFO: Processing buffer {"connection_id":125884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f156e88012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:49:33] local.INFO: Packet analysis {"connection_id":125884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f15"} 
[2026-07-08 05:49:33] local.INFO: Extracted packet for processing {"connection_id":125884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f15"} 
[2026-07-08 05:49:33] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05: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-07-08 05:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568190976001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783469797000,"timestamp_ms":1783469797000,"timestamp_seconds":1783469797,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f156e88"} 
[2026-07-08 05:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":53,"data_length":795,"current_offset":136} 
[2026-07-08 05:49: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-07-08 05: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-07-08 05:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568190976001,"66":25321,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568190976001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:49:33] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:49:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568190976001,"power":25321,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":125884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:49:33] local.INFO: GPS data processed {"connection_id":125884,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:49:33] local.INFO: Acknowledgment sent {"connection_id":125884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:49:56] local.INFO: TCP Data received {"connection_id":127145,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:49:56] local.INFO: Processing buffer {"connection_id":127145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:49:56] local.INFO: IMEI packet received {"connection_id":127145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":127145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:50:02] local.INFO: TCP Data received {"connection_id":127145,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:50:02] local.INFO: Processing buffer {"connection_id":127145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:50:02] local.INFO: IMEI packet received {"connection_id":127145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":127145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:50:02] local.INFO: TCP Data received {"connection_id":127145,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f156e88012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f156e88012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:50:02] local.INFO: Processing buffer {"connection_id":127145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f156e88012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:50:02] local.INFO: Packet analysis {"connection_id":127145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f15"} 
[2026-07-08 05:50:02] local.INFO: Extracted packet for processing {"connection_id":127145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f15"} 
[2026-07-08 05:50:02] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568190976001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783469797000,"timestamp_ms":1783469797000,"timestamp_seconds":1783469797,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f156e88"} 
[2026-07-08 05:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 05:50: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-07-08 05:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568190976001,"66":25321,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568190976001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:50:02] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:50:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568190976001,"power":25321,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":127145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:50:02] local.INFO: GPS data processed {"connection_id":127145,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:50:02] local.INFO: Acknowledgment sent {"connection_id":127145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:50:27] local.INFO: TCP Data received {"connection_id":125049,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125049,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:50:27] local.INFO: Processing buffer {"connection_id":125049,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:50:27] local.INFO: IMEI packet received {"connection_id":125049,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 05:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":125049,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:50:36] local.INFO: TCP Data received {"connection_id":127145,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f156e88012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f156e88012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:50:36] local.INFO: Processing buffer {"connection_id":127145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f156e88012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:50:36] local.INFO: Packet analysis {"connection_id":127145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f15"} 
[2026-07-08 05:50:36] local.INFO: Extracted packet for processing {"connection_id":127145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f15"} 
[2026-07-08 05:50:36] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 05:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568190976001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783469797000,"timestamp_ms":1783469797000,"timestamp_seconds":1783469797,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f156e88"} 
[2026-07-08 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-07-08 05:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":53,"data_length":795,"current_offset":136} 
[2026-07-08 05:50: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-07-08 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-07-08 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-07-08 05:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568190976001,"66":25321,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568190976001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:50:36] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:50:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568190976001,"power":25321,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":127145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:50:36] local.INFO: GPS data processed {"connection_id":127145,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:50:36] local.INFO: Acknowledgment sent {"connection_id":127145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:50:57] local.INFO: TCP Data received {"connection_id":125050,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125050,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:50:57] local.INFO: Processing buffer {"connection_id":125050,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:50:57] local.INFO: IMEI packet received {"connection_id":125050,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 05:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":125050,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:51:02] local.INFO: TCP Data received {"connection_id":125051,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:51:02] local.INFO: Processing buffer {"connection_id":125051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:51:02] local.INFO: IMEI packet received {"connection_id":125051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":125051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:51:08] local.INFO: TCP Data received {"connection_id":125051,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:51:08] local.INFO: Processing buffer {"connection_id":125051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:51:08] local.INFO: IMEI packet received {"connection_id":125051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":125051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:51:08] local.INFO: TCP Data received {"connection_id":125051,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f156e88012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f156e88012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:51:08] local.INFO: Processing buffer {"connection_id":125051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f156e88012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:51:08] local.INFO: Packet analysis {"connection_id":125051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f15"} 
[2026-07-08 05:51:08] local.INFO: Extracted packet for processing {"connection_id":125051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f15"} 
[2026-07-08 05:51:08] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568190976001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783469797000,"timestamp_ms":1783469797000,"timestamp_seconds":1783469797,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f156e88"} 
[2026-07-08 05:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 05:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:51:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568190976001,"66":25321,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568190976001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:51:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:51:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568190976001,"power":25321,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":125051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:51:08] local.INFO: GPS data processed {"connection_id":125051,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:51:08] local.INFO: Acknowledgment sent {"connection_id":125051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:51:12] local.INFO: TCP Data received {"connection_id":125051,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f156e88012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f156e88012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:51:12] local.INFO: Processing buffer {"connection_id":125051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f156e88012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:51:12] local.INFO: Packet analysis {"connection_id":125051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f15"} 
[2026-07-08 05:51:12] local.INFO: Extracted packet for processing {"connection_id":125051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f15"} 
[2026-07-08 05:51:12] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568190976001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783469797000,"timestamp_ms":1783469797000,"timestamp_seconds":1783469797,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f156e88"} 
[2026-07-08 05:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 05:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568190976001,"66":25321,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568190976001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:51:12] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:51:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568190976001,"power":25321,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":125051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:51:12] local.INFO: GPS data processed {"connection_id":125051,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:51:12] local.INFO: Acknowledgment sent {"connection_id":125051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:51:57] local.INFO: TCP Data received {"connection_id":125052,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:51:57] local.INFO: Processing buffer {"connection_id":125052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:51:57] local.INFO: IMEI packet received {"connection_id":125052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":125052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:52:02] local.INFO: TCP Data received {"connection_id":125052,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:52:02] local.INFO: Processing buffer {"connection_id":125052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:52:02] local.INFO: IMEI packet received {"connection_id":125052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":125052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:52:02] local.INFO: TCP Data received {"connection_id":125052,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f156e88012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f156e88012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:52:02] local.INFO: Processing buffer {"connection_id":125052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f156e88012dc5eb400537d5a0003401442f..."} 
[2026-07-08 05:52:02] local.INFO: Packet analysis {"connection_id":125052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f15"} 
[2026-07-08 05:52:02] local.INFO: Extracted packet for processing {"connection_id":125052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f15"} 
[2026-07-08 05:52:02] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568190976001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783469797000,"timestamp_ms":1783469797000,"timestamp_seconds":1783469797,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f156e88"} 
[2026-07-08 05:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 05:52: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-07-08 05:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568190976001,"66":25321,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568190976001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:52:02] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:52:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568190976001,"power":25321,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":125052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:52:03] local.INFO: GPS data processed {"connection_id":125052,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:52:03] local.INFO: Acknowledgment sent {"connection_id":125052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:52:33] local.INFO: TCP Data received {"connection_id":125052,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f1a0650012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f1a0650012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:52:33] local.INFO: Processing buffer {"connection_id":125052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f1a0650012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:52:33] local.INFO: Packet analysis {"connection_id":125052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f1a"} 
[2026-07-08 05:52:33] local.INFO: Extracted packet for processing {"connection_id":125052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f1a"} 
[2026-07-08 05:52:33] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568268032001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783470098000,"timestamp_ms":1783470098000,"timestamp_seconds":1783470098,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f1a0650"} 
[2026-07-08 05:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 05:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:52:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568268032001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568268032001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:52:33] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:52:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568268032001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":125052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:52:33] local.INFO: GPS data processed {"connection_id":125052,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:52:33] local.INFO: Acknowledgment sent {"connection_id":125052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:52:56] local.INFO: TCP Data received {"connection_id":127147,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:52:56] local.INFO: Processing buffer {"connection_id":127147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:52:56] local.INFO: IMEI packet received {"connection_id":127147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":127147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:53:02] local.INFO: TCP Data received {"connection_id":127147,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:53:02] local.INFO: Processing buffer {"connection_id":127147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:53:02] local.INFO: IMEI packet received {"connection_id":127147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":127147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:53:02] local.INFO: TCP Data received {"connection_id":127147,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f1a0650012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f1a0650012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:53:02] local.INFO: Processing buffer {"connection_id":127147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f1a0650012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:53:02] local.INFO: Packet analysis {"connection_id":127147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f1a"} 
[2026-07-08 05:53:02] local.INFO: Extracted packet for processing {"connection_id":127147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f1a"} 
[2026-07-08 05:53:02] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05: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-07-08 05:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568268032001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783470098000,"timestamp_ms":1783470098000,"timestamp_seconds":1783470098,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f1a0650"} 
[2026-07-08 05:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 05:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05: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-07-08 05:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568268032001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568268032001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:53:02] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:53:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568268032001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":127147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:53:02] local.INFO: GPS data processed {"connection_id":127147,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:53:02] local.INFO: Acknowledgment sent {"connection_id":127147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:53:33] local.INFO: TCP Data received {"connection_id":127147,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f1a0650012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f1a0650012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:53:33] local.INFO: Processing buffer {"connection_id":127147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f1a0650012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:53:33] local.INFO: Packet analysis {"connection_id":127147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f1a"} 
[2026-07-08 05:53:33] local.INFO: Extracted packet for processing {"connection_id":127147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f1a"} 
[2026-07-08 05:53:33] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568268032001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783470098000,"timestamp_ms":1783470098000,"timestamp_seconds":1783470098,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f1a0650"} 
[2026-07-08 05:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 05:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:53:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568268032001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568268032001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:53:33] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:53:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568268032001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":127147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:53:33] local.INFO: GPS data processed {"connection_id":127147,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:53:33] local.INFO: Acknowledgment sent {"connection_id":127147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:53:56] local.INFO: TCP Data received {"connection_id":125127,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:53:56] local.INFO: Processing buffer {"connection_id":125127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:53:56] local.INFO: IMEI packet received {"connection_id":125127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":125127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:54:02] local.INFO: TCP Data received {"connection_id":125127,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:54:02] local.INFO: Processing buffer {"connection_id":125127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:54:02] local.INFO: IMEI packet received {"connection_id":125127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":125127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:54:02] local.INFO: TCP Data received {"connection_id":125127,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f1a0650012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f1a0650012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:54:02] local.INFO: Processing buffer {"connection_id":125127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f1a0650012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:54:02] local.INFO: Packet analysis {"connection_id":125127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f1a"} 
[2026-07-08 05:54:02] local.INFO: Extracted packet for processing {"connection_id":125127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f1a"} 
[2026-07-08 05:54:02] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568268032001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783470098000,"timestamp_ms":1783470098000,"timestamp_seconds":1783470098,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f1a0650"} 
[2026-07-08 05:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 05:54:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:54:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568268032001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568268032001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:54:02] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:54:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568268032001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":125127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:54:03] local.INFO: GPS data processed {"connection_id":125127,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:54:03] local.INFO: Acknowledgment sent {"connection_id":125127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:54:33] local.INFO: TCP Data received {"connection_id":125127,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f1a0650012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f1a0650012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:54:33] local.INFO: Processing buffer {"connection_id":125127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f1a0650012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:54:33] local.INFO: Packet analysis {"connection_id":125127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f1a"} 
[2026-07-08 05:54:33] local.INFO: Extracted packet for processing {"connection_id":125127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f1a"} 
[2026-07-08 05:54:33] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568268032001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783470098000,"timestamp_ms":1783470098000,"timestamp_seconds":1783470098,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f1a0650"} 
[2026-07-08 05:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 05:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568268032001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568268032001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:54:33] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:54:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568268032001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":125127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:54:33] local.INFO: GPS data processed {"connection_id":125127,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:54:33] local.INFO: Acknowledgment sent {"connection_id":125127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:54:56] local.INFO: TCP Data received {"connection_id":127148,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:54:56] local.INFO: Processing buffer {"connection_id":127148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:54:56] local.INFO: IMEI packet received {"connection_id":127148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":127148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:55:02] local.INFO: TCP Data received {"connection_id":127148,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:55:02] local.INFO: Processing buffer {"connection_id":127148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:55:02] local.INFO: IMEI packet received {"connection_id":127148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":127148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:55:03] local.INFO: TCP Data received {"connection_id":127148,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f1a0650012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f1a0650012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:55:03] local.INFO: Processing buffer {"connection_id":127148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f1a0650012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:55:03] local.INFO: Packet analysis {"connection_id":127148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f1a"} 
[2026-07-08 05:55:03] local.INFO: Extracted packet for processing {"connection_id":127148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f1a"} 
[2026-07-08 05:55:03] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05: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-07-08 05:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568268032001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783470098000,"timestamp_ms":1783470098000,"timestamp_seconds":1783470098,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f1a0650"} 
[2026-07-08 05:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 05:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05: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-07-08 05:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568268032001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568268032001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:55:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:55:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568268032001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":127148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:55:03] local.INFO: GPS data processed {"connection_id":127148,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:55:03] local.INFO: Acknowledgment sent {"connection_id":127148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:55:34] local.INFO: TCP Data received {"connection_id":127148,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f1a0650012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f1a0650012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:55:34] local.INFO: Processing buffer {"connection_id":127148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f1a0650012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:55:34] local.INFO: Packet analysis {"connection_id":127148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f1a"} 
[2026-07-08 05:55:34] local.INFO: Extracted packet for processing {"connection_id":127148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f1a"} 
[2026-07-08 05:55:34] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568268032001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783470098000,"timestamp_ms":1783470098000,"timestamp_seconds":1783470098,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f1a0650"} 
[2026-07-08 05:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 05:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05: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-07-08 05:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568268032001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568268032001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:55:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:55:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568268032001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":127148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:55:34] local.INFO: GPS data processed {"connection_id":127148,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:55:34] local.INFO: Acknowledgment sent {"connection_id":127148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:55:56] local.INFO: TCP Data received {"connection_id":125053,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:55:56] local.INFO: Processing buffer {"connection_id":125053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:55:56] local.INFO: IMEI packet received {"connection_id":125053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":125053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:56:01] local.INFO: TCP Data received {"connection_id":125053,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:56:01] local.INFO: Processing buffer {"connection_id":125053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:56:01] local.INFO: IMEI packet received {"connection_id":125053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":125053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:56:02] local.INFO: TCP Data received {"connection_id":125053,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f1a0650012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f1a0650012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:56:02] local.INFO: Processing buffer {"connection_id":125053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f1a0650012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:56:02] local.INFO: Packet analysis {"connection_id":125053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f1a"} 
[2026-07-08 05:56:02] local.INFO: Extracted packet for processing {"connection_id":125053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f1a"} 
[2026-07-08 05:56:02] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568268032001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783470098000,"timestamp_ms":1783470098000,"timestamp_seconds":1783470098,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f1a0650"} 
[2026-07-08 05:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 05:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568268032001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568268032001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:56:02] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:56:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568268032001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":125053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:56:02] local.INFO: GPS data processed {"connection_id":125053,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:56:02] local.INFO: Acknowledgment sent {"connection_id":125053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:56:12] local.INFO: TCP Data received {"connection_id":125886,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125886,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:56:12] local.INFO: Processing buffer {"connection_id":125886,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:56:12] local.INFO: IMEI packet received {"connection_id":125886,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 05:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":125886,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:56:33] local.INFO: TCP Data received {"connection_id":125053,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f1a0650012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f1a0650012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:56:33] local.INFO: Processing buffer {"connection_id":125053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f1a0650012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:56:33] local.INFO: Packet analysis {"connection_id":125053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f1a"} 
[2026-07-08 05:56:33] local.INFO: Extracted packet for processing {"connection_id":125053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f1a"} 
[2026-07-08 05:56:33] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568268032001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783470098000,"timestamp_ms":1783470098000,"timestamp_seconds":1783470098,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f1a0650"} 
[2026-07-08 05:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 05:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:56:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:56: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-07-08 05:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568268032001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568268032001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:56:33] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:56:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568268032001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":125053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:56:33] local.INFO: GPS data processed {"connection_id":125053,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:56:33] local.INFO: Acknowledgment sent {"connection_id":125053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:57:01] local.INFO: TCP Data received {"connection_id":127149,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:57:01] local.INFO: Processing buffer {"connection_id":127149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:57:01] local.INFO: IMEI packet received {"connection_id":127149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":127149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:57:02] local.INFO: TCP Data received {"connection_id":127150,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127150,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:57:02] local.INFO: Processing buffer {"connection_id":127150,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 05:57:02] local.INFO: IMEI packet received {"connection_id":127150,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 05:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":127150,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:57:07] local.INFO: TCP Data received {"connection_id":127149,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:57:07] local.INFO: Processing buffer {"connection_id":127149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:57:07] local.INFO: IMEI packet received {"connection_id":127149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":127149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:57:09] local.INFO: TCP Data received {"connection_id":127149,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f1a0650012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f1a0650012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:57:09] local.INFO: Processing buffer {"connection_id":127149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f1a0650012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:57:09] local.INFO: Packet analysis {"connection_id":127149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f1a"} 
[2026-07-08 05:57:09] local.INFO: Extracted packet for processing {"connection_id":127149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f1a"} 
[2026-07-08 05:57:09] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568268032001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783470098000,"timestamp_ms":1783470098000,"timestamp_seconds":1783470098,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f1a0650"} 
[2026-07-08 05:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 05:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":127149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":127149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":127149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568268032001,"66":25375,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568268032001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:57:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:57:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568268032001,"power":25375,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":127149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:57:09] local.INFO: GPS data processed {"connection_id":127149,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:57:09] local.INFO: Acknowledgment sent {"connection_id":127149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:57:40] local.INFO: TCP Data received {"connection_id":127149,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f1e9e18012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f1e9e18012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:57:40] local.INFO: Processing buffer {"connection_id":127149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f1e9e18012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:57:40] local.INFO: Packet analysis {"connection_id":127149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f1e"} 
[2026-07-08 05:57:40] local.INFO: Extracted packet for processing {"connection_id":127149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f1e"} 
[2026-07-08 05:57:40] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568345088001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783470399000,"timestamp_ms":1783470399000,"timestamp_seconds":1783470399,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f1e9e18"} 
[2026-07-08 05:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 05:57:40] 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-07-08 05:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":127149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":127149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":127149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568345088001,"66":25343,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568345088001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:57:40] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:57:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568345088001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":127149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:57:40] local.INFO: GPS data processed {"connection_id":127149,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:57:40] local.INFO: Acknowledgment sent {"connection_id":127149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:57:57] local.INFO: TCP Data received {"connection_id":125129,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:57:57] local.INFO: Processing buffer {"connection_id":125129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:57:57] local.INFO: IMEI packet received {"connection_id":125129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":125129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:58:02] local.INFO: TCP Data received {"connection_id":125129,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:58:02] local.INFO: Processing buffer {"connection_id":125129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:58:02] local.INFO: IMEI packet received {"connection_id":125129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":125129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:58:02] local.INFO: TCP Data received {"connection_id":125129,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f1e9e18012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f1e9e18012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:58:02] local.INFO: Processing buffer {"connection_id":125129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f1e9e18012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:58:02] local.INFO: Packet analysis {"connection_id":125129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f1e"} 
[2026-07-08 05:58:02] local.INFO: Extracted packet for processing {"connection_id":125129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f1e"} 
[2026-07-08 05:58:02] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05: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-07-08 05:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568345088001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783470399000,"timestamp_ms":1783470399000,"timestamp_seconds":1783470399,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f1e9e18"} 
[2026-07-08 05:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 05:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05: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-07-08 05:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568345088001,"66":25343,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568345088001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:58:02] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:58:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568345088001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":125129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:58:02] local.INFO: GPS data processed {"connection_id":125129,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:58:02] local.INFO: Acknowledgment sent {"connection_id":125129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:58:33] local.INFO: TCP Data received {"connection_id":125129,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f1e9e18012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f1e9e18012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:58:33] local.INFO: Processing buffer {"connection_id":125129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f1e9e18012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:58:33] local.INFO: Packet analysis {"connection_id":125129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f1e"} 
[2026-07-08 05:58:33] local.INFO: Extracted packet for processing {"connection_id":125129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f1e"} 
[2026-07-08 05:58:33] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568345088001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783470399000,"timestamp_ms":1783470399000,"timestamp_seconds":1783470399,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f1e9e18"} 
[2026-07-08 05:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 05:58:33] 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-07-08 05:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568345088001,"66":25343,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568345088001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:58:33] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:58:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568345088001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":125129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:58:33] local.INFO: GPS data processed {"connection_id":125129,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:58:33] local.INFO: Acknowledgment sent {"connection_id":125129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:58:56] local.INFO: TCP Data received {"connection_id":125054,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:58:56] local.INFO: Processing buffer {"connection_id":125054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:58:56] local.INFO: IMEI packet received {"connection_id":125054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":125054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:59:02] local.INFO: TCP Data received {"connection_id":125054,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:59:02] local.INFO: Processing buffer {"connection_id":125054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:59:02] local.INFO: IMEI packet received {"connection_id":125054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":125054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:59:02] local.INFO: TCP Data received {"connection_id":125054,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f201518012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f201518012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:59:02] local.INFO: Processing buffer {"connection_id":125054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f201518012dc5eb400537d5a00034014430..."} 
[2026-07-08 05:59:02] local.INFO: Packet analysis {"connection_id":125054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f20"} 
[2026-07-08 05:59:02] local.INFO: Extracted packet for processing {"connection_id":125054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f20"} 
[2026-07-08 05:59:02] local.INFO: GPS Element Parsed {"raw_longitude":767945536,"raw_latitude":87545248,"longitude_deg":76.7945536,"latitude_deg":8.7545248,"altitude":52,"angle":324,"satellites":48,"speed":0,"hex_longitude":"2dc5eb40","hex_latitude":"0537d5a0","is_valid_coordinates":true} 
[2026-07-08 05:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 05:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568422144001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783470495000,"timestamp_ms":1783470495000,"timestamp_seconds":1783470495,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f201518"} 
[2026-07-08 05:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 05:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 05:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 05:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568422144001,"66":25343,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568422144001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:59:02] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:59:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568422144001,"power":25343,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":125054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:59:03] local.INFO: GPS data processed {"connection_id":125054,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:59:03] local.INFO: Acknowledgment sent {"connection_id":125054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:59:33] local.INFO: TCP Data received {"connection_id":125054,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f2076c0012dc5e6000537dc780034014f30..."} 
[2026-07-08 05:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f2076c0012dc5e6000537dc780034014f30..."} 
[2026-07-08 05:59:33] local.INFO: Processing buffer {"connection_id":125054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f2076c0012dc5e6000537dc780034014f30..."} 
[2026-07-08 05:59:33] local.INFO: Packet analysis {"connection_id":125054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f20"} 
[2026-07-08 05:59:33] local.INFO: Extracted packet for processing {"connection_id":125054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f20"} 
[2026-07-08 05:59:33] local.INFO: GPS Element Parsed {"raw_longitude":767944192,"raw_latitude":87547000,"longitude_deg":76.7944192,"latitude_deg":8.7547,"altitude":52,"angle":335,"satellites":48,"speed":0,"hex_longitude":"2dc5e600","hex_latitude":"0537dc78","is_valid_coordinates":true} 
[2026-07-08 05: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-07-08 05:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568446720001,"note":"Value kept but may cause issues"} 
[2026-07-08 05:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 05:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4185181037554982912,"note":"Value kept but may cause issues"} 
[2026-07-08 05:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 05:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783470520000,"timestamp_ms":1783470520000,"timestamp_seconds":1783470520,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f2076c0"} 
[2026-07-08 05:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 05:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 05:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 05: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-07-08 05:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 05:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 05:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 05:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 05:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 05:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 05:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 05:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568446720001,"66":27767,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4185181037554982912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 05:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 05:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 05:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568446720001,"description":"Unknown IO ID 0"} 
[2026-07-08 05:59:33] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 05:59:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 05:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 05:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4185181037554982912,"description":"Unknown IO ID 45"} 
[2026-07-08 05:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568446720001,"power":27767,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4185181037554982912}} 
[2026-07-08 05:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":125054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 05:59:33] local.INFO: GPS data processed {"connection_id":125054,"processed":1,"errors":0,"total":1} 
[2026-07-08 05:59:33] local.INFO: Acknowledgment sent {"connection_id":125054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 05:59:56] local.INFO: TCP Data received {"connection_id":125130,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:59:56] local.INFO: Processing buffer {"connection_id":125130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:59:56] local.INFO: IMEI packet received {"connection_id":125130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 05:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":125130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 05:59:57] local.INFO: TCP Data received {"connection_id":125130,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:59:57] local.INFO: Processing buffer {"connection_id":125130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:59:57] local.INFO: IMEI packet received {"connection_id":125130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":125130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 05:59:58] local.INFO: TCP Data received {"connection_id":125130,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:59:58] local.INFO: Processing buffer {"connection_id":125130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 05:59:58] local.INFO: IMEI packet received {"connection_id":125130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 05:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":125130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:00:02] local.INFO: TCP Data received {"connection_id":125130,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:00:02] local.INFO: Processing buffer {"connection_id":125130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:00:02] local.INFO: IMEI packet received {"connection_id":125130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":125130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:00:03] local.INFO: TCP Data received {"connection_id":125130,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f20c8c8012dc5e6000537dc780034014f31..."} 
[2026-07-08 06:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f20c8c8012dc5e6000537dc780034014f31..."} 
[2026-07-08 06:00:03] local.INFO: Processing buffer {"connection_id":125130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f20c8c8012dc5e6000537dc780034014f31..."} 
[2026-07-08 06:00:03] local.INFO: Packet analysis {"connection_id":125130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f20"} 
[2026-07-08 06:00:03] local.INFO: Extracted packet for processing {"connection_id":125130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f20"} 
[2026-07-08 06:00:03] local.INFO: GPS Element Parsed {"raw_longitude":767944192,"raw_latitude":87547000,"longitude_deg":76.7944192,"latitude_deg":8.7547,"altitude":52,"angle":335,"satellites":49,"speed":0,"hex_longitude":"2dc5e600","hex_latitude":"0537dc78","is_valid_coordinates":true} 
[2026-07-08 06: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-07-08 06:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568453120001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011299502227456,"note":"Value kept but may cause issues"} 
[2026-07-08 06:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186658781182265344,"note":"Value kept but may cause issues"} 
[2026-07-08 06:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783470541000,"timestamp_ms":1783470541000,"timestamp_seconds":1783470541,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f20c8c8"} 
[2026-07-08 06:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 06:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06: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-07-08 06:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568453120001,"66":27647,"113":206,"80":35072,"24":0,"16":342011299502227456,"45":-4186658781182265344},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 06:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568453120001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:00:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 06:00:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 06:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011299502227456,"km_value":342011299502227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186658781182265344,"description":"Unknown IO ID 45"} 
[2026-07-08 06:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568453120001,"power":27647,"unknown_113":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4186658781182265344}} 
[2026-07-08 06:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":125130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:00:03] local.INFO: GPS data processed {"connection_id":125130,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:00:03] local.INFO: Acknowledgment sent {"connection_id":125130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:00:34] local.INFO: TCP Data received {"connection_id":125130,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f210748012dc5e6400537dd180032000f30..."} 
[2026-07-08 06:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f210748012dc5e6400537dd180032000f30..."} 
[2026-07-08 06:00:34] local.INFO: Processing buffer {"connection_id":125130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f210748012dc5e6400537dd180032000f30..."} 
[2026-07-08 06:00:34] local.INFO: Packet analysis {"connection_id":125130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f21"} 
[2026-07-08 06:00:34] local.INFO: Extracted packet for processing {"connection_id":125130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f21"} 
[2026-07-08 06:00:34] local.INFO: GPS Element Parsed {"raw_longitude":767944256,"raw_latitude":87547160,"longitude_deg":76.7944256,"latitude_deg":8.754716,"altitude":50,"angle":15,"satellites":48,"speed":8,"hex_longitude":"2dc5e640","hex_latitude":"0537dd18","is_valid_coordinates":true} 
[2026-07-08 06: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-07-08 06:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568458496001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011308092162048,"note":"Value kept but may cause issues"} 
[2026-07-08 06:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186658781182265344,"note":"Value kept but may cause issues"} 
[2026-07-08 06:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783470557000,"timestamp_ms":1783470557000,"timestamp_seconds":1783470557,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f210748"} 
[2026-07-08 06:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 06:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":3028,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06: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-07-08 06:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568458496001,"66":27745,"113":206,"80":35072,"24":8,"16":342011308092162048,"45":-4186658781182265344},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 06:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568458496001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:00:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 06:00:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 06:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011308092162048,"km_value":342011308092162.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186658781182265344,"description":"Unknown IO ID 45"} 
[2026-07-08 06:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568458496001,"power":27745,"unknown_113":206,"unknown_80":35072,"ignition":8,"odometer":null,"unknown_45":-4186658781182265344}} 
[2026-07-08 06:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":125130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:00:34] local.INFO: GPS data processed {"connection_id":125130,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:00:34] local.INFO: Acknowledgment sent {"connection_id":125130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:01:02] local.INFO: TCP Data received {"connection_id":125887,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:01:02] local.INFO: Processing buffer {"connection_id":125887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:01:02] local.INFO: IMEI packet received {"connection_id":125887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":125887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:01:02] local.INFO: TCP Data received {"connection_id":125887,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:01:02] local.INFO: Processing buffer {"connection_id":125887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:01:02] local.INFO: IMEI packet received {"connection_id":125887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":125887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:01:03] local.INFO: TCP Data received {"connection_id":125887,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f210f18012dc5e6c00537deb80032000131..."} 
[2026-07-08 06:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f210f18012dc5e6c00537deb80032000131..."} 
[2026-07-08 06:01:03] local.INFO: Processing buffer {"connection_id":125887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f210f18012dc5e6c00537deb80032000131..."} 
[2026-07-08 06:01:03] local.INFO: Packet analysis {"connection_id":125887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f21"} 
[2026-07-08 06:01:03] local.INFO: Extracted packet for processing {"connection_id":125887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f21"} 
[2026-07-08 06:01:03] local.INFO: GPS Element Parsed {"raw_longitude":767944384,"raw_latitude":87547576,"longitude_deg":76.7944384,"latitude_deg":8.7547576,"altitude":50,"angle":1,"satellites":49,"speed":8,"hex_longitude":"2dc5e6c0","hex_latitude":"0537deb8","is_valid_coordinates":true} 
[2026-07-08 06:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568462592001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011329566998528,"note":"Value kept but may cause issues"} 
[2026-07-08 06:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186588412438046720,"note":"Value kept but may cause issues"} 
[2026-07-08 06:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783470559000,"timestamp_ms":1783470559000,"timestamp_seconds":1783470559,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f210f18"} 
[2026-07-08 06:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 06:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568462592001,"66":27626,"113":206,"80":35072,"24":8,"16":342011329566998528,"45":-4186588412438046720},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 06:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568462592001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:01:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 06:01:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 06:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011329566998528,"km_value":342011329566998.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186588412438046720,"description":"Unknown IO ID 45"} 
[2026-07-08 06:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568462592001,"power":27626,"unknown_113":206,"unknown_80":35072,"ignition":8,"odometer":null,"unknown_45":-4186588412438046720}} 
[2026-07-08 06:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":125887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:01:03] local.INFO: GPS data processed {"connection_id":125887,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:01:03] local.INFO: Acknowledgment sent {"connection_id":125887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:01:07] local.INFO: TCP Data received {"connection_id":125887,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f211300012dc5e6800537df800032015831..."} 
[2026-07-08 06:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f211300012dc5e6800537df800032015831..."} 
[2026-07-08 06:01:07] local.INFO: Processing buffer {"connection_id":125887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f211300012dc5e6800537df800032015831..."} 
[2026-07-08 06:01:07] local.INFO: Packet analysis {"connection_id":125887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f21"} 
[2026-07-08 06:01:07] local.INFO: Extracted packet for processing {"connection_id":125887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f21"} 
[2026-07-08 06:01:07] local.INFO: GPS Element Parsed {"raw_longitude":767944320,"raw_latitude":87547776,"longitude_deg":76.794432,"latitude_deg":8.7547776,"altitude":50,"angle":344,"satellites":49,"speed":7,"hex_longitude":"2dc5e680","hex_latitude":"0537df80","is_valid_coordinates":true} 
[2026-07-08 06:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568463104001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011338156933120,"note":"Value kept but may cause issues"} 
[2026-07-08 06:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186447674949584896,"note":"Value kept but may cause issues"} 
[2026-07-08 06:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783470560000,"timestamp_ms":1783470560000,"timestamp_seconds":1783470560,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f211300"} 
[2026-07-08 06:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-08 06:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568463104001,"66":27713,"113":206,"80":35072,"24":7,"16":342011338156933120,"45":-4186447674949584896},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-08 06:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568463104001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:01:07] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 06:01:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 06:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011338156933120,"km_value":342011338156933.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186447674949584896,"description":"Unknown IO ID 45"} 
[2026-07-08 06:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568463104001,"power":27713,"unknown_113":206,"unknown_80":35072,"ignition":7,"odometer":null,"unknown_45":-4186447674949584896}} 
[2026-07-08 06:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":125887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:01:07] local.INFO: GPS data processed {"connection_id":125887,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:01:07] local.INFO: Acknowledgment sent {"connection_id":125887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:01:38] local.INFO: TCP Data received {"connection_id":125887,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f216120012dc5db40053800f0003401532e..."} 
[2026-07-08 06:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f216120012dc5db40053800f0003401532e..."} 
[2026-07-08 06:01:38] local.INFO: Processing buffer {"connection_id":125887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f216120012dc5db40053800f0003401532e..."} 
[2026-07-08 06:01:38] local.INFO: Packet analysis {"connection_id":125887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f21"} 
[2026-07-08 06:01:38] local.INFO: Extracted packet for processing {"connection_id":125887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f21"} 
[2026-07-08 06:01:38] local.INFO: GPS Element Parsed {"raw_longitude":767941440,"raw_latitude":87556336,"longitude_deg":76.794144,"latitude_deg":8.7556336,"altitude":52,"angle":339,"satellites":46,"speed":27,"hex_longitude":"2dc5db40","hex_latitude":"053800f0","is_valid_coordinates":true} 
[2026-07-08 06:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568463360001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342011780538564608,"note":"Value kept but may cause issues"} 
[2026-07-08 06:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4186518043693711360,"note":"Value kept but may cause issues"} 
[2026-07-08 06:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783470580000,"timestamp_ms":1783470580000,"timestamp_seconds":1783470580,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f216120"} 
[2026-07-08 06:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 06:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568463360001,"66":27691,"241":206,"80":35072,"24":27,"16":342011780538564608,"45":-4186518043693711360},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-07-08 06:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568463360001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:01:38] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-07-08 06:01:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 06:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342011780538564608,"km_value":342011780538564.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4186518043693711360,"description":"Unknown IO ID 45"} 
[2026-07-08 06:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568463360001,"power":27691,"unknown_241":206,"unknown_80":35072,"ignition":27,"odometer":null,"unknown_45":-4186518043693711360}} 
[2026-07-08 06:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":125887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:01:38] local.INFO: GPS data processed {"connection_id":125887,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:01:38] local.INFO: Acknowledgment sent {"connection_id":125887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:01:56] local.INFO: TCP Data received {"connection_id":125057,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:01:56] local.INFO: Processing buffer {"connection_id":125057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:01:56] local.INFO: IMEI packet received {"connection_id":125057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":125057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:02:02] local.INFO: TCP Data received {"connection_id":125057,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:02:02] local.INFO: Processing buffer {"connection_id":125057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:02:02] local.INFO: IMEI packet received {"connection_id":125057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":125057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:02:05] local.INFO: TCP Data received {"connection_id":125057,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f219000012dc5ce0005382470003501542f..."} 
[2026-07-08 06:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f219000012dc5ce0005382470003501542f..."} 
[2026-07-08 06:02:05] local.INFO: Processing buffer {"connection_id":125057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f219000012dc5ce0005382470003501542f..."} 
[2026-07-08 06:02:05] local.INFO: Packet analysis {"connection_id":125057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f21"} 
[2026-07-08 06:02:05] local.INFO: Extracted packet for processing {"connection_id":125057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f21"} 
[2026-07-08 06:02:05] local.INFO: GPS Element Parsed {"raw_longitude":767938048,"raw_latitude":87565424,"longitude_deg":76.7938048,"latitude_deg":8.7565424,"altitude":53,"angle":340,"satellites":47,"speed":34,"hex_longitude":"2dc5ce00","hex_latitude":"05382470","is_valid_coordinates":true} 
[2026-07-08 06:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568468480001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342012248689999872,"note":"Value kept but may cause issues"} 
[2026-07-08 06:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4189684637179514880,"note":"Value kept but may cause issues"} 
[2026-07-08 06:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783470592000,"timestamp_ms":1783470592000,"timestamp_seconds":1783470592,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f219000"} 
[2026-07-08 06:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 06:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568468480001,"66":27767,"241":206,"80":35072,"24":34,"16":342012248689999872,"45":-4189684637179514880},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-07-08 06:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568468480001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:02:05] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-07-08 06:02:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 06:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342012248689999872,"km_value":342012248689999.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4189684637179514880,"description":"Unknown IO ID 45"} 
[2026-07-08 06:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568468480001,"power":27767,"unknown_241":206,"unknown_80":35072,"ignition":34,"odometer":null,"unknown_45":-4189684637179514880}} 
[2026-07-08 06:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":125057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:02:05] local.INFO: GPS data processed {"connection_id":125057,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:02:05] local.INFO: Acknowledgment sent {"connection_id":125057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:02:22] local.INFO: TCP Data received {"connection_id":125131,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125131,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:02:22] local.INFO: Processing buffer {"connection_id":125131,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:02:22] local.INFO: IMEI packet received {"connection_id":125131,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 06:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":125131,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:02:37] local.INFO: TCP Data received {"connection_id":125057,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f232258012dc5544005395a800034014131..."} 
[2026-07-08 06:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f232258012dc5544005395a800034014131..."} 
[2026-07-08 06:02:37] local.INFO: Processing buffer {"connection_id":125057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f232258012dc5544005395a800034014131..."} 
[2026-07-08 06:02:37] local.INFO: Packet analysis {"connection_id":125057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f23"} 
[2026-07-08 06:02:37] local.INFO: Extracted packet for processing {"connection_id":125057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f23"} 
[2026-07-08 06:02:37] local.INFO: GPS Element Parsed {"raw_longitude":767906880,"raw_latitude":87644800,"longitude_deg":76.790688,"latitude_deg":8.76448,"altitude":52,"angle":321,"satellites":49,"speed":40,"hex_longitude":"2dc55440","hex_latitude":"05395a80","is_valid_coordinates":true} 
[2026-07-08 06:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568495872001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342016397628407808,"note":"Value kept but may cause issues"} 
[2026-07-08 06:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4223109790642870272,"note":"Value kept but may cause issues"} 
[2026-07-08 06:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783470695000,"timestamp_ms":1783470695000,"timestamp_seconds":1783470695,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f232258"} 
[2026-07-08 06:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":105,"n8_eight_byte":213,"data_length":795,"current_offset":136} 
[2026-07-08 06:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2640,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568495872001,"66":27713,"255":206,"80":35072,"24":40,"16":342016397628407808,"45":-4223109790642870272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,80,24,16,45]} 
[2026-07-08 06:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568495872001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:02:37] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-08 06:02:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 06:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342016397628407808,"km_value":342016397628407.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4223109790642870272,"description":"Unknown IO ID 45"} 
[2026-07-08 06:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568495872001,"power":27713,"unknown_255":206,"unknown_80":35072,"ignition":40,"odometer":null,"unknown_45":-4223109790642870272}} 
[2026-07-08 06:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":125057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:02:37] local.INFO: GPS data processed {"connection_id":125057,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:02:37] local.INFO: Acknowledgment sent {"connection_id":125057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:02:57] local.INFO: TCP Data received {"connection_id":125889,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125889,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:02:57] local.INFO: Processing buffer {"connection_id":125889,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:02:57] local.INFO: IMEI packet received {"connection_id":125889,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 06:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":125889,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:03:02] local.INFO: TCP Data received {"connection_id":127152,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:03:02] local.INFO: Processing buffer {"connection_id":127152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:03:02] local.INFO: IMEI packet received {"connection_id":127152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":127152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:03:04] local.INFO: TCP Data received {"connection_id":127152,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:03:04] local.INFO: Processing buffer {"connection_id":127152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:03:04] local.INFO: IMEI packet received {"connection_id":127152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":127152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:03:07] local.INFO: TCP Data received {"connection_id":127152,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:03:07] local.INFO: Processing buffer {"connection_id":127152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:03:07] local.INFO: IMEI packet received {"connection_id":127152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":127152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:03:08] local.INFO: TCP Data received {"connection_id":127152,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f234580012dc53cc0053977e8003201402d..."} 
[2026-07-08 06:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f234580012dc53cc0053977e8003201402d..."} 
[2026-07-08 06:03:08] local.INFO: Processing buffer {"connection_id":127152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f234580012dc53cc0053977e8003201402d..."} 
[2026-07-08 06:03:08] local.INFO: Packet analysis {"connection_id":127152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f23"} 
[2026-07-08 06:03:08] local.INFO: Extracted packet for processing {"connection_id":127152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f23"} 
[2026-07-08 06:03:08] local.INFO: GPS Element Parsed {"raw_longitude":767900864,"raw_latitude":87652328,"longitude_deg":76.7900864,"latitude_deg":8.7652328,"altitude":50,"angle":320,"satellites":45,"speed":44,"hex_longitude":"2dc53cc0","hex_latitude":"053977e8","is_valid_coordinates":true} 
[2026-07-08 06:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568497920001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342016861484875776,"note":"Value kept but may cause issues"} 
[2026-07-08 06:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4227683759012806656,"note":"Value kept but may cause issues"} 
[2026-07-08 06:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783470704000,"timestamp_ms":1783470704000,"timestamp_seconds":1783470704,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f234580"} 
[2026-07-08 06:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 06:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":127152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":127152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":127152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568497920001,"66":27626,"255":206,"80":35072,"24":44,"16":342016861484875776,"45":-4227683759012806656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,80,24,16,45]} 
[2026-07-08 06:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568497920001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:03:08] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-08 06:03:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 06:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342016861484875776,"km_value":342016861484875.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4227683759012806656,"description":"Unknown IO ID 45"} 
[2026-07-08 06:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568497920001,"power":27626,"unknown_255":206,"unknown_80":35072,"ignition":44,"odometer":null,"unknown_45":-4227683759012806656}} 
[2026-07-08 06:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":127152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:03:08] local.INFO: GPS data processed {"connection_id":127152,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:03:08] local.INFO: Acknowledgment sent {"connection_id":127152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:03:38] local.INFO: TCP Data received {"connection_id":127152,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f2364c0012dc525c0053994f8003101432c..."} 
[2026-07-08 06:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f2364c0012dc525c0053994f8003101432c..."} 
[2026-07-08 06:03:38] local.INFO: Processing buffer {"connection_id":127152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f2364c0012dc525c0053994f8003101432c..."} 
[2026-07-08 06:03:38] local.INFO: Packet analysis {"connection_id":127152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f23"} 
[2026-07-08 06:03:38] local.INFO: Extracted packet for processing {"connection_id":127152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f23"} 
[2026-07-08 06:03:38] local.INFO: GPS Element Parsed {"raw_longitude":767894976,"raw_latitude":87659768,"longitude_deg":76.7894976,"latitude_deg":8.7659768,"altitude":49,"angle":323,"satellites":44,"speed":49,"hex_longitude":"2dc525c0","hex_latitude":"053994f8","is_valid_coordinates":true} 
[2026-07-08 06:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568500224001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342017321046376448,"note":"Value kept but may cause issues"} 
[2026-07-08 06:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4234298420963579904,"note":"Value kept but may cause issues"} 
[2026-07-08 06:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783470712000,"timestamp_ms":1783470712000,"timestamp_seconds":1783470712,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f2364c0"} 
[2026-07-08 06:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-08 06:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568500224001,"66":27745,"255":206,"80":35072,"24":49,"16":342017321046376448,"45":-4234298420963579904},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,80,24,16,45]} 
[2026-07-08 06:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568500224001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:03:38] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-08 06:03:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 06:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342017321046376448,"km_value":342017321046376.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4234298420963579904,"description":"Unknown IO ID 45"} 
[2026-07-08 06:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568500224001,"power":27745,"unknown_255":206,"unknown_80":35072,"ignition":49,"odometer":null,"unknown_45":-4234298420963579904}} 
[2026-07-08 06:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":127152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:03:38] local.INFO: GPS data processed {"connection_id":127152,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:03:38] local.INFO: Acknowledgment sent {"connection_id":127152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:04:02] local.INFO: TCP Data received {"connection_id":125133,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:04:02] local.INFO: Processing buffer {"connection_id":125133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:04:02] local.INFO: IMEI packet received {"connection_id":125133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":125133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:04:02] local.INFO: TCP Data received {"connection_id":125133,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:04:02] local.INFO: Processing buffer {"connection_id":125133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:04:02] local.INFO: IMEI packet received {"connection_id":125133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":125133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:04:03] local.INFO: TCP Data received {"connection_id":125133,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f2489b8012dc4c300053abb30001d01492f..."} 
[2026-07-08 06:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f2489b8012dc4c300053abb30001d01492f..."} 
[2026-07-08 06:04:03] local.INFO: Processing buffer {"connection_id":125133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f2489b8012dc4c300053abb30001d01492f..."} 
[2026-07-08 06:04:03] local.INFO: Packet analysis {"connection_id":125133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f24"} 
[2026-07-08 06:04:03] local.INFO: Extracted packet for processing {"connection_id":125133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f24"} 
[2026-07-08 06:04:03] local.INFO: GPS Element Parsed {"raw_longitude":767869696,"raw_latitude":87735088,"longitude_deg":76.7869696,"latitude_deg":8.7735088,"altitude":29,"angle":329,"satellites":47,"speed":47,"hex_longitude":"2dc4c300","hex_latitude":"053abb30","is_valid_coordinates":true} 
[2026-07-08 06:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568519424001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342021212286746624,"note":"Value kept but may cause issues"} 
[2026-07-08 06:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4263290343545720832,"note":"Value kept but may cause issues"} 
[2026-07-08 06:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783470787000,"timestamp_ms":1783470787000,"timestamp_seconds":1783470787,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f2489b8"} 
[2026-07-08 06:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 06:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568519424001,"66":27691,"255":206,"80":35072,"24":47,"16":342021212286746624,"45":-4263290343545720832},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,80,24,16,45]} 
[2026-07-08 06:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568519424001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:04:03] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-08 06:04:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 06:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342021212286746624,"km_value":342021212286746.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4263290343545720832,"description":"Unknown IO ID 45"} 
[2026-07-08 06:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568519424001,"power":27691,"unknown_255":206,"unknown_80":35072,"ignition":47,"odometer":null,"unknown_45":-4263290343545720832}} 
[2026-07-08 06:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":125133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:04:03] local.INFO: GPS data processed {"connection_id":125133,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:04:03] local.INFO: Acknowledgment sent {"connection_id":125133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:04:07] local.INFO: TCP Data received {"connection_id":125133,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f24a8f8012dc4b100053ad958001c01482e..."} 
[2026-07-08 06:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f24a8f8012dc4b100053ad958001c01482e..."} 
[2026-07-08 06:04:07] local.INFO: Processing buffer {"connection_id":125133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f24a8f8012dc4b100053ad958001c01482e..."} 
[2026-07-08 06:04:07] local.INFO: Packet analysis {"connection_id":125133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f24"} 
[2026-07-08 06:04:07] local.INFO: Extracted packet for processing {"connection_id":125133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f24"} 
[2026-07-08 06:04:07] local.INFO: GPS Element Parsed {"raw_longitude":767865088,"raw_latitude":87742808,"longitude_deg":76.7865088,"latitude_deg":8.7742808,"altitude":28,"angle":328,"satellites":46,"speed":41,"hex_longitude":"2dc4b100","hex_latitude":"053ad958","is_valid_coordinates":true} 
[2026-07-08 06:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568521472001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342021646078443520,"note":"Value kept but may cause issues"} 
[2026-07-08 06:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4268567999356915712,"note":"Value kept but may cause issues"} 
[2026-07-08 06:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783470795000,"timestamp_ms":1783470795000,"timestamp_seconds":1783470795,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f24a8f8"} 
[2026-07-08 06:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 06:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568521472001,"66":27821,"255":206,"80":35072,"24":41,"16":342021646078443520,"45":-4268567999356915712},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,80,24,16,45]} 
[2026-07-08 06:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568521472001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:04:07] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-08 06:04:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 06:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342021646078443520,"km_value":342021646078443.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4268567999356915712,"description":"Unknown IO ID 45"} 
[2026-07-08 06:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568521472001,"power":27821,"unknown_255":206,"unknown_80":35072,"ignition":41,"odometer":null,"unknown_45":-4268567999356915712}} 
[2026-07-08 06:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":125133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:04:07] local.INFO: GPS data processed {"connection_id":125133,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:04:07] local.INFO: Acknowledgment sent {"connection_id":125133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:04:39] local.INFO: TCP Data received {"connection_id":125133,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f24cc20012dc49e40053af940001c01492c..."} 
[2026-07-08 06:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f24cc20012dc49e40053af940001c01492c..."} 
[2026-07-08 06:04:39] local.INFO: Processing buffer {"connection_id":125133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f24cc20012dc49e40053af940001c01492c..."} 
[2026-07-08 06:04:39] local.INFO: Packet analysis {"connection_id":125133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f24"} 
[2026-07-08 06:04:39] local.INFO: Extracted packet for processing {"connection_id":125133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f24"} 
[2026-07-08 06:04:39] local.INFO: GPS Element Parsed {"raw_longitude":767860288,"raw_latitude":87750976,"longitude_deg":76.7860288,"latitude_deg":8.7750976,"altitude":28,"angle":329,"satellites":44,"speed":39,"hex_longitude":"2dc49e40","hex_latitude":"053af940","is_valid_coordinates":true} 
[2026-07-08 06:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568523520001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342022105639944192,"note":"Value kept but may cause issues"} 
[2026-07-08 06:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4273634548935731200,"note":"Value kept but may cause issues"} 
[2026-07-08 06:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783470804000,"timestamp_ms":1783470804000,"timestamp_seconds":1783470804,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f24cc20"} 
[2026-07-08 06:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 06:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568523520001,"66":27767,"255":206,"80":35072,"24":39,"16":342022105639944192,"45":-4273634548935731200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,80,24,16,45]} 
[2026-07-08 06:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568523520001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:04:39] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-08 06:04:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 06:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342022105639944192,"km_value":342022105639944.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4273634548935731200,"description":"Unknown IO ID 45"} 
[2026-07-08 06:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568523520001,"power":27767,"unknown_255":206,"unknown_80":35072,"ignition":39,"odometer":null,"unknown_45":-4273634548935731200}} 
[2026-07-08 06:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":125133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:04:40] local.INFO: GPS data processed {"connection_id":125133,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:04:40] local.INFO: Acknowledgment sent {"connection_id":125133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:04:57] local.INFO: TCP Data received {"connection_id":125890,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:04:57] local.INFO: Processing buffer {"connection_id":125890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:04:57] local.INFO: IMEI packet received {"connection_id":125890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":125890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:05:00] local.INFO: TCP Data received {"connection_id":125890,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:05:00] local.INFO: Processing buffer {"connection_id":125890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:05:00] local.INFO: IMEI packet received {"connection_id":125890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":125890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:05:01] local.INFO: TCP Data received {"connection_id":125890,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f24f330012dc48a80053b19c0001f014a29..."} 
[2026-07-08 06:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f24f330012dc48a80053b19c0001f014a29..."} 
[2026-07-08 06:05:01] local.INFO: Processing buffer {"connection_id":125890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f24f330012dc48a80053b19c0001f014a29..."} 
[2026-07-08 06:05:01] local.INFO: Packet analysis {"connection_id":125890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f24"} 
[2026-07-08 06:05:01] local.INFO: Extracted packet for processing {"connection_id":125890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f24"} 
[2026-07-08 06:05:01] local.INFO: GPS Element Parsed {"raw_longitude":767855232,"raw_latitude":87759296,"longitude_deg":76.7855232,"latitude_deg":8.7759296,"altitude":31,"angle":330,"satellites":41,"speed":40,"hex_longitude":"2dc48a80","hex_latitude":"053b19c0","is_valid_coordinates":true} 
[2026-07-08 06: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-07-08 06:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568525824001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342022573791379456,"note":"Value kept but may cause issues"} 
[2026-07-08 06:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4278912204746964992,"note":"Value kept but may cause issues"} 
[2026-07-08 06:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783470814000,"timestamp_ms":1783470814000,"timestamp_seconds":1783470814,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f24f330"} 
[2026-07-08 06:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06: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-07-08 06: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 06:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06: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-07-08 06:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568525824001,"66":27745,"255":206,"80":35072,"24":40,"16":342022573791379456,"45":-4278912204746964992},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,80,24,16,45]} 
[2026-07-08 06:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568525824001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:05:01] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-08 06:05:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 06:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342022573791379456,"km_value":342022573791379.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4278912204746964992,"description":"Unknown IO ID 45"} 
[2026-07-08 06:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568525824001,"power":27745,"unknown_255":206,"unknown_80":35072,"ignition":40,"odometer":null,"unknown_45":-4278912204746964992}} 
[2026-07-08 06:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":125890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:05:01] local.INFO: GPS data processed {"connection_id":125890,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:05:01] local.INFO: Acknowledgment sent {"connection_id":125890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:05:02] local.INFO: TCP Data received {"connection_id":125890,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f251658012dc47840053b39080023014928..."} 
[2026-07-08 06:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f251658012dc47840053b39080023014928..."} 
[2026-07-08 06:05:02] local.INFO: Processing buffer {"connection_id":125890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f251658012dc47840053b39080023014928..."} 
[2026-07-08 06:05:02] local.INFO: Packet analysis {"connection_id":125890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f25"} 
[2026-07-08 06:05:02] local.INFO: Extracted packet for processing {"connection_id":125890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f25"} 
[2026-07-08 06:05:02] local.INFO: GPS Element Parsed {"raw_longitude":767850560,"raw_latitude":87767304,"longitude_deg":76.785056,"latitude_deg":8.7767304,"altitude":35,"angle":329,"satellites":40,"speed":40,"hex_longitude":"2dc47840","hex_latitude":"053b3908","is_valid_coordinates":true} 
[2026-07-08 06:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568528384001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342023024762945536,"note":"Value kept but may cause issues"} 
[2026-07-08 06:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4284471335534870528,"note":"Value kept but may cause issues"} 
[2026-07-08 06:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783470823000,"timestamp_ms":1783470823000,"timestamp_seconds":1783470823,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f251658"} 
[2026-07-08 06:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:05:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 06:05:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:05:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568528384001,"66":27658,"255":206,"80":35072,"24":40,"16":342023024762945536,"45":-4284471335534870528},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,80,24,16,45]} 
[2026-07-08 06:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568528384001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:05:02] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-08 06:05:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 06:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342023024762945536,"km_value":342023024762945.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4284471335534870528,"description":"Unknown IO ID 45"} 
[2026-07-08 06:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568528384001,"power":27658,"unknown_255":206,"unknown_80":35072,"ignition":40,"odometer":null,"unknown_45":-4284471335534870528}} 
[2026-07-08 06:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":125890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:05:02] local.INFO: GPS data processed {"connection_id":125890,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:05:02] local.INFO: Acknowledgment sent {"connection_id":125890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:05:33] local.INFO: TCP Data received {"connection_id":125890,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f253d68012dc46600053b5748002601472c..."} 
[2026-07-08 06:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f253d68012dc46600053b5748002601472c..."} 
[2026-07-08 06:05:33] local.INFO: Processing buffer {"connection_id":125890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f253d68012dc46600053b5748002601472c..."} 
[2026-07-08 06:05:33] local.INFO: Packet analysis {"connection_id":125890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f25"} 
[2026-07-08 06:05:33] local.INFO: Extracted packet for processing {"connection_id":125890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f25"} 
[2026-07-08 06:05:33] local.INFO: GPS Element Parsed {"raw_longitude":767845888,"raw_latitude":87775048,"longitude_deg":76.7845888,"latitude_deg":8.7775048,"altitude":38,"angle":327,"satellites":44,"speed":33,"hex_longitude":"2dc46600","hex_latitude":"053b5748","is_valid_coordinates":true} 
[2026-07-08 06:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568530688001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342023458554642432,"note":"Value kept but may cause issues"} 
[2026-07-08 06:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4289608253857789952,"note":"Value kept but may cause issues"} 
[2026-07-08 06:05:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,80,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 06:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783470833000,"timestamp_ms":1783470833000,"timestamp_seconds":1783470833,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f253d68"} 
[2026-07-08 06:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 06:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:05:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568530688001,"66":27658,"80":35072,"24":33,"16":342023458554642432,"45":-4289608253857789952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,24,16,45]} 
[2026-07-08 06:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568530688001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:05:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-07-08 06:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342023458554642432,"km_value":342023458554642.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4289608253857789952,"description":"Unknown IO ID 45"} 
[2026-07-08 06:05:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456568530688001,"power":27658,"unknown_80":35072,"ignition":33,"odometer":null,"unknown_45":-4289608253857789952}} 
[2026-07-08 06:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":125890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:05:33] local.INFO: GPS data processed {"connection_id":125890,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:05:33] local.INFO: Acknowledgment sent {"connection_id":125890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:05:54] local.INFO: TCP Data received {"connection_id":125134,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:05:54] local.INFO: Processing buffer {"connection_id":125134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:05:54] local.INFO: IMEI packet received {"connection_id":125134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":125134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:05:55] local.INFO: TCP Data received {"connection_id":125134,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:05:55] local.INFO: Processing buffer {"connection_id":125134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:05:55] local.INFO: IMEI packet received {"connection_id":125134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":125134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:05:56] local.INFO: TCP Data received {"connection_id":125134,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:05:56] local.INFO: Processing buffer {"connection_id":125134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:05:56] local.INFO: IMEI packet received {"connection_id":125134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":125134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:05:56] local.INFO: TCP Data received {"connection_id":125134,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:05:56] local.INFO: Processing buffer {"connection_id":125134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:05:56] local.INFO: IMEI packet received {"connection_id":125134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":125134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:08:22] local.INFO: TCP Data received {"connection_id":125891,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125891,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:08:22] local.INFO: Processing buffer {"connection_id":125891,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:08:22] local.INFO: IMEI packet received {"connection_id":125891,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 06:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":125891,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:08:57] local.INFO: TCP Data received {"connection_id":125892,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125892,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:08:57] local.INFO: Processing buffer {"connection_id":125892,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:08:57] local.INFO: IMEI packet received {"connection_id":125892,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 06:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":125892,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:11:01] local.INFO: TCP Data received {"connection_id":127157,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:11:01] local.INFO: Processing buffer {"connection_id":127157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:11:01] local.INFO: IMEI packet received {"connection_id":127157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":127157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:11:04] local.INFO: TCP Data received {"connection_id":127157,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:11:04] local.INFO: Processing buffer {"connection_id":127157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:11:04] local.INFO: IMEI packet received {"connection_id":127157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":127157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:11:10] local.INFO: TCP Data received {"connection_id":127157,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:11:10] local.INFO: Processing buffer {"connection_id":127157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:11:10] local.INFO: IMEI packet received {"connection_id":127157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":127157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:11:11] local.INFO: TCP Data received {"connection_id":127157,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f2aded0012dc13400053f4d50003301342e..."} 
[2026-07-08 06:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f2aded0012dc13400053f4d50003301342e..."} 
[2026-07-08 06:11:11] local.INFO: Processing buffer {"connection_id":127157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f2aded0012dc13400053f4d50003301342e..."} 
[2026-07-08 06:11:11] local.INFO: Packet analysis {"connection_id":127157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f2a"} 
[2026-07-08 06:11:11] local.INFO: Extracted packet for processing {"connection_id":127157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f2a"} 
[2026-07-08 06:11:11] local.INFO: GPS Element Parsed {"raw_longitude":767636480,"raw_latitude":88034640,"longitude_deg":76.763648,"latitude_deg":8.803464,"altitude":51,"angle":308,"satellites":46,"speed":59,"hex_longitude":"2dc13400","hex_latitude":"053f4d50","is_valid_coordinates":true} 
[2026-07-08 06:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568626432001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342040818812452864,"note":"Value kept but may cause issues"} 
[2026-07-08 06:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4518095566135238656,"note":"Value kept but may cause issues"} 
[2026-07-08 06:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783471202000,"timestamp_ms":1783471202000,"timestamp_seconds":1783471202,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f2aded0"} 
[2026-07-08 06:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 06:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":127157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":127157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":127157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568626432001,"66":27137,"218":206,"84":5376,"24":59,"16":342040818812452864,"45":-4518095566135238656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,84,24,16,45]} 
[2026-07-08 06:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568626432001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:11:11] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-07-08 06:11:11] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-08 06:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342040818812452864,"km_value":342040818812452.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4518095566135238656,"description":"Unknown IO ID 45"} 
[2026-07-08 06:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568626432001,"power":27137,"unknown_218":206,"unknown_84":5376,"ignition":59,"odometer":null,"unknown_45":-4518095566135238656}} 
[2026-07-08 06:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":127157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:11:11] local.INFO: GPS data processed {"connection_id":127157,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:11:11] local.INFO: Acknowledgment sent {"connection_id":127157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:11:56] local.INFO: TCP Data received {"connection_id":127158,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:11:56] local.INFO: Processing buffer {"connection_id":127158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:11:56] local.INFO: IMEI packet received {"connection_id":127158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":127158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:11:57] local.INFO: TCP Data received {"connection_id":127158,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:11:57] local.INFO: Processing buffer {"connection_id":127158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:11:57] local.INFO: IMEI packet received {"connection_id":127158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":127158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:12:02] local.INFO: TCP Data received {"connection_id":127158,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:12:02] local.INFO: Processing buffer {"connection_id":127158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:12:02] local.INFO: IMEI packet received {"connection_id":127158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":127158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:12:03] local.INFO: TCP Data received {"connection_id":127158,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f2bd4e8012dc08bc005408748003b014231..."} 
[2026-07-08 06:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f2bd4e8012dc08bc005408748003b014231..."} 
[2026-07-08 06:12:03] local.INFO: Processing buffer {"connection_id":127158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f2bd4e8012dc08bc005408748003b014231..."} 
[2026-07-08 06:12:03] local.INFO: Packet analysis {"connection_id":127158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f2b"} 
[2026-07-08 06:12:03] local.INFO: Extracted packet for processing {"connection_id":127158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f2b"} 
[2026-07-08 06:12:03] local.INFO: GPS Element Parsed {"raw_longitude":767593408,"raw_latitude":88115016,"longitude_deg":76.7593408,"latitude_deg":8.8115016,"altitude":59,"angle":322,"satellites":49,"speed":55,"hex_longitude":"2dc08bc0","hex_latitude":"05408748","is_valid_coordinates":true} 
[2026-07-08 06: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-07-08 06:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568642048001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342045294168375296,"note":"Value kept but may cause issues"} 
[2026-07-08 06:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4565805574668079104,"note":"Value kept but may cause issues"} 
[2026-07-08 06:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783471265000,"timestamp_ms":1783471265000,"timestamp_seconds":1783471265,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f2bd4e8"} 
[2026-07-08 06:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 06:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06: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-07-08 06:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568642048001,"66":27647,"95":206,"84":5376,"24":55,"16":342045294168375296,"45":-4565805574668079104},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,84,24,16,45]} 
[2026-07-08 06:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568642048001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:12:03] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-08 06:12:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-08 06:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342045294168375296,"km_value":342045294168375.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4565805574668079104,"description":"Unknown IO ID 45"} 
[2026-07-08 06:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568642048001,"power":27647,"unknown_95":206,"unknown_84":5376,"ignition":55,"odometer":null,"unknown_45":-4565805574668079104}} 
[2026-07-08 06:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":127158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:12:03] local.INFO: GPS data processed {"connection_id":127158,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:12:03] local.INFO: Acknowledgment sent {"connection_id":127158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:12:34] local.INFO: TCP Data received {"connection_id":127158,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f2bf040012dc074000540a5e8003d014230..."} 
[2026-07-08 06:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f2bf040012dc074000540a5e8003d014230..."} 
[2026-07-08 06:12:34] local.INFO: Processing buffer {"connection_id":127158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f2bf040012dc074000540a5e8003d014230..."} 
[2026-07-08 06:12:34] local.INFO: Packet analysis {"connection_id":127158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f2b"} 
[2026-07-08 06:12:34] local.INFO: Extracted packet for processing {"connection_id":127158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f2b"} 
[2026-07-08 06:12:34] local.INFO: GPS Element Parsed {"raw_longitude":767587328,"raw_latitude":88122856,"longitude_deg":76.7587328,"latitude_deg":8.8122856,"altitude":61,"angle":322,"satellites":48,"speed":56,"hex_longitude":"2dc07400","hex_latitude":"0540a5e8","is_valid_coordinates":true} 
[2026-07-08 06: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-07-08 06:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568643840001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342045770909745152,"note":"Value kept but may cause issues"} 
[2026-07-08 06:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4572349867874629632,"note":"Value kept but may cause issues"} 
[2026-07-08 06:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783471272000,"timestamp_ms":1783471272000,"timestamp_seconds":1783471272,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f2bf040"} 
[2026-07-08 06:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 06:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":3028,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06: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-07-08 06:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568643840001,"66":27691,"95":206,"84":5376,"24":56,"16":342045770909745152,"45":-4572349867874629632},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,84,24,16,45]} 
[2026-07-08 06:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568643840001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:12:34] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-08 06:12:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-08 06:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342045770909745152,"km_value":342045770909745.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4572349867874629632,"description":"Unknown IO ID 45"} 
[2026-07-08 06:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568643840001,"power":27691,"unknown_95":206,"unknown_84":5376,"ignition":56,"odometer":null,"unknown_45":-4572349867874629632}} 
[2026-07-08 06:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":127158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:12:34] local.INFO: GPS data processed {"connection_id":127158,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:12:34] local.INFO: Acknowledgment sent {"connection_id":127158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:12:56] local.INFO: TCP Data received {"connection_id":127159,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:12:56] local.INFO: Processing buffer {"connection_id":127159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:12:56] local.INFO: IMEI packet received {"connection_id":127159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":127159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:12:57] local.INFO: TCP Data received {"connection_id":127159,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:12:57] local.INFO: Processing buffer {"connection_id":127159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:12:57] local.INFO: IMEI packet received {"connection_id":127159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":127159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:13:02] local.INFO: TCP Data received {"connection_id":127159,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:13:02] local.INFO: Processing buffer {"connection_id":127159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:13:02] local.INFO: IMEI packet received {"connection_id":127159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":127159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:13:03] local.INFO: TCP Data received {"connection_id":127159,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f2c0b98012dc05dc00540c628003e014931..."} 
[2026-07-08 06:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f2c0b98012dc05dc00540c628003e014931..."} 
[2026-07-08 06:13:03] local.INFO: Processing buffer {"connection_id":127159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f2c0b98012dc05dc00540c628003e014931..."} 
[2026-07-08 06:13:03] local.INFO: Packet analysis {"connection_id":127159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f2c"} 
[2026-07-08 06:13:03] local.INFO: Extracted packet for processing {"connection_id":127159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f2c"} 
[2026-07-08 06:13:03] local.INFO: GPS Element Parsed {"raw_longitude":767581632,"raw_latitude":88131112,"longitude_deg":76.7581632,"latitude_deg":8.8131112,"altitude":62,"angle":329,"satellites":49,"speed":58,"hex_longitude":"2dc05dc0","hex_latitude":"0540c628","is_valid_coordinates":true} 
[2026-07-08 06:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568645632001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342046256241049600,"note":"Value kept but may cause issues"} 
[2026-07-08 06:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4579034898569500672,"note":"Value kept but may cause issues"} 
[2026-07-08 06:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783471279000,"timestamp_ms":1783471279000,"timestamp_seconds":1783471279,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f2c0b98"} 
[2026-07-08 06:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 06:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568645632001,"66":27658,"97":206,"84":5376,"24":58,"16":342046256241049600,"45":-4579034898569500672},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,84,24,16,45]} 
[2026-07-08 06:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568645632001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:13:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-08 06:13:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-08 06:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342046256241049600,"km_value":342046256241049.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4579034898569500672,"description":"Unknown IO ID 45"} 
[2026-07-08 06:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568645632001,"power":27658,"unknown_97":206,"unknown_84":5376,"ignition":58,"odometer":null,"unknown_45":-4579034898569500672}} 
[2026-07-08 06:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":127159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:13:03] local.INFO: GPS data processed {"connection_id":127159,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:13:03] local.INFO: Acknowledgment sent {"connection_id":127159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:13:37] local.INFO: TCP Data received {"connection_id":127159,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f2d3478012dbf6d00054226c80032014730..."} 
[2026-07-08 06:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f2d3478012dbf6d00054226c80032014730..."} 
[2026-07-08 06:13:37] local.INFO: Processing buffer {"connection_id":127159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f2d3478012dbf6d00054226c80032014730..."} 
[2026-07-08 06:13:37] local.INFO: Packet analysis {"connection_id":127159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f2d"} 
[2026-07-08 06:13:37] local.INFO: Extracted packet for processing {"connection_id":127159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f2d"} 
[2026-07-08 06:13:37] local.INFO: GPS Element Parsed {"raw_longitude":767520000,"raw_latitude":88221384,"longitude_deg":76.752,"latitude_deg":8.8221384,"altitude":50,"angle":327,"satellites":48,"speed":34,"hex_longitude":"2dbf6d00","hex_latitude":"054226c8","is_valid_coordinates":true} 
[2026-07-08 06:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568664576001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342051543345790976,"note":"Value kept but may cause issues"} 
[2026-07-08 06:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4646518524212606976,"note":"Value kept but may cause issues"} 
[2026-07-08 06:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783471355000,"timestamp_ms":1783471355000,"timestamp_seconds":1783471355,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f2d3478"} 
[2026-07-08 06:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 06:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568664576001,"66":27691,"118":206,"84":5376,"24":34,"16":342051543345790976,"45":-4646518524212606976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,84,24,16,45]} 
[2026-07-08 06:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568664576001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:13:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-08 06:13:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-08 06:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342051543345790976,"km_value":342051543345791.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4646518524212606976,"description":"Unknown IO ID 45"} 
[2026-07-08 06:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568664576001,"power":27691,"unknown_118":206,"unknown_84":5376,"ignition":34,"odometer":null,"unknown_45":-4646518524212606976}} 
[2026-07-08 06:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":127159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:13:37] local.INFO: GPS data processed {"connection_id":127159,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:13:37] local.INFO: Acknowledgment sent {"connection_id":127159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:14:01] local.INFO: TCP Data received {"connection_id":125139,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:14:01] local.INFO: Processing buffer {"connection_id":125139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:14:01] local.INFO: IMEI packet received {"connection_id":125139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":125139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:14:01] local.INFO: TCP Data received {"connection_id":125139,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:14:01] local.INFO: Processing buffer {"connection_id":125139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:14:01] local.INFO: IMEI packet received {"connection_id":125139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":125139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:14:07] local.INFO: TCP Data received {"connection_id":125139,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:14:07] local.INFO: Processing buffer {"connection_id":125139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:14:07] local.INFO: IMEI packet received {"connection_id":125139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":125139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:14:08] local.INFO: TCP Data received {"connection_id":125139,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f2d4be8012dbf6300054239580032015430..."} 
[2026-07-08 06:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f2d4be8012dbf6300054239580032015430..."} 
[2026-07-08 06:14:08] local.INFO: Processing buffer {"connection_id":125139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f2d4be8012dbf6300054239580032015430..."} 
[2026-07-08 06:14:08] local.INFO: Packet analysis {"connection_id":125139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f2d"} 
[2026-07-08 06:14:08] local.INFO: Extracted packet for processing {"connection_id":125139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f2d"} 
[2026-07-08 06:14:08] local.INFO: GPS Element Parsed {"raw_longitude":767517440,"raw_latitude":88226136,"longitude_deg":76.751744,"latitude_deg":8.8226136,"altitude":50,"angle":340,"satellites":48,"speed":38,"hex_longitude":"2dbf6300","hex_latitude":"05423958","is_valid_coordinates":true} 
[2026-07-08 06:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568666880001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342051801043828736,"note":"Value kept but may cause issues"} 
[2026-07-08 06:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4653062817419180032,"note":"Value kept but may cause issues"} 
[2026-07-08 06:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783471361000,"timestamp_ms":1783471361000,"timestamp_seconds":1783471361,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f2d4be8"} 
[2026-07-08 06:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 06:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568666880001,"66":27713,"118":206,"84":5376,"24":38,"16":342051801043828736,"45":-4653062817419180032},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,84,24,16,45]} 
[2026-07-08 06:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568666880001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:14:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-08 06:14:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-08 06:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342051801043828736,"km_value":342051801043828.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4653062817419180032,"description":"Unknown IO ID 45"} 
[2026-07-08 06:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568666880001,"power":27713,"unknown_118":206,"unknown_84":5376,"ignition":38,"odometer":null,"unknown_45":-4653062817419180032}} 
[2026-07-08 06:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":125139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:14:08] local.INFO: GPS data processed {"connection_id":125139,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:14:08] local.INFO: Acknowledgment sent {"connection_id":125139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:14:22] local.INFO: TCP Data received {"connection_id":125059,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125059,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:14:22] local.INFO: Processing buffer {"connection_id":125059,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:14:22] local.INFO: IMEI packet received {"connection_id":125059,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 06:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":125059,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:14:39] local.INFO: TCP Data received {"connection_id":125139,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f2d6f10012dbf51c005425ae00032014a2f..."} 
[2026-07-08 06:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f2d6f10012dbf51c005425ae00032014a2f..."} 
[2026-07-08 06:14:39] local.INFO: Processing buffer {"connection_id":125139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f2d6f10012dbf51c005425ae00032014a2f..."} 
[2026-07-08 06:14:39] local.INFO: Packet analysis {"connection_id":125139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f2d"} 
[2026-07-08 06:14:39] local.INFO: Extracted packet for processing {"connection_id":125139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f2d"} 
[2026-07-08 06:14:39] local.INFO: GPS Element Parsed {"raw_longitude":767513024,"raw_latitude":88234720,"longitude_deg":76.7513024,"latitude_deg":8.823472,"altitude":50,"angle":330,"satellites":47,"speed":47,"hex_longitude":"2dbf51c0","hex_latitude":"05425ae0","is_valid_coordinates":true} 
[2026-07-08 06:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568668416001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342052269195264000,"note":"Value kept but may cause issues"} 
[2026-07-08 06:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4655877567185070080,"note":"Value kept but may cause issues"} 
[2026-07-08 06:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783471370000,"timestamp_ms":1783471370000,"timestamp_seconds":1783471370,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f2d6f10"} 
[2026-07-08 06:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 06:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568668416001,"66":27658,"118":206,"84":5376,"24":47,"16":342052269195264000,"45":-4655877567185070080},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,84,24,16,45]} 
[2026-07-08 06:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568668416001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:14:39] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-08 06:14:39] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-08 06:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342052269195264000,"km_value":342052269195264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4655877567185070080,"description":"Unknown IO ID 45"} 
[2026-07-08 06:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568668416001,"power":27658,"unknown_118":206,"unknown_84":5376,"ignition":47,"odometer":null,"unknown_45":-4655877567185070080}} 
[2026-07-08 06:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":125139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:14:40] local.INFO: GPS data processed {"connection_id":125139,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:14:40] local.INFO: Acknowledgment sent {"connection_id":125139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:14:57] local.INFO: TCP Data received {"connection_id":125896,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125896,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:14:57] local.INFO: Processing buffer {"connection_id":125896,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:14:57] local.INFO: IMEI packet received {"connection_id":125896,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 06:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":125896,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:14:59] local.INFO: TCP Data received {"connection_id":125895,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:14:59] local.INFO: Processing buffer {"connection_id":125895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:14:59] local.INFO: IMEI packet received {"connection_id":125895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":125895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:14:59] local.INFO: TCP Data received {"connection_id":125895,"ip":"42.106.6.16","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 06:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125895,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 06:14:59] local.INFO: Processing buffer {"connection_id":125895,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 06:14:59] local.INFO: IMEI packet received {"connection_id":125895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":125895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:15:01] local.INFO: TCP Data received {"connection_id":125895,"ip":"42.106.6.16","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f3f..."} 
[2026-07-08 06:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125895,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f3f..."} 
[2026-07-08 06:15:01] local.INFO: Processing buffer {"connection_id":125895,"buffer_length":829,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 06:15:01] local.INFO: IMEI packet received {"connection_id":125895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":125895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:15:02] local.INFO: TCP Data received {"connection_id":125895,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f2e97f0012dbe64400543c2080037013c30..."} 
[2026-07-08 06:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f2e97f0012dbe64400543c2080037013c30..."} 
[2026-07-08 06:15:02] local.INFO: Processing buffer {"connection_id":125895,"buffer_length":1607,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f3f..."} 
[2026-07-08 06:15:02] local.INFO: IMEI packet received {"connection_id":125895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":125895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:15:02] local.INFO: TCP Data received {"connection_id":125896,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125896,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:15:02] local.INFO: Processing buffer {"connection_id":125896,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:15:02] local.INFO: IMEI packet received {"connection_id":125896,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 06:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":125896,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:15:04] local.INFO: TCP Data received {"connection_id":125896,"ip":"42.106.6.19","data_length":93,"data_hex":"00000000000000518e010000019f3f1391f8012d0d600006ea09800014005427..."} 
[2026-07-08 06:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125896,"packet_length":93,"packet_hex":"00000000000000518e010000019f3f1391f8012d0d600006ea09800014005427..."} 
[2026-07-08 06:15:04] local.INFO: Processing buffer {"connection_id":125896,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f3f1391f8012d0d600006ea09800014005427..."} 
[2026-07-08 06:15:04] local.INFO: Packet analysis {"connection_id":125896,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f3f13"} 
[2026-07-08 06:15:04] local.INFO: Extracted packet for processing {"connection_id":125896,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f3f13"} 
[2026-07-08 06:15:04] local.INFO: GPS Element Parsed {"raw_longitude":755851264,"raw_latitude":116001152,"longitude_deg":75.5851264,"latitude_deg":11.6001152,"altitude":20,"angle":84,"satellites":39,"speed":0,"hex_longitude":"2d0d6000","hex_latitude":"06ea0980","is_valid_coordinates":true} 
[2026-07-08 06:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-08 06:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:15:04] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:15:04] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-08 06:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125896,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-08 06:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125896,"device_imei":"862567071632322","avl_records_count":0} 
[2026-07-08 06:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125896,"device_imei":"862567071632322","avl_records_count":0} 
[2026-07-08 06:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.19","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-08 06:15:04] local.WARNING: DEBUG: No valid data to process  
[2026-07-08 06:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":125896,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-08 06:15:04] local.ERROR: GPS data processing failed {"connection_id":125896,"error":"No valid data to process"} 
[2026-07-08 06:15:04] local.INFO: Acknowledgment sent {"connection_id":125896,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-08 06:15:07] local.INFO: TCP Data received {"connection_id":125895,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f2eaf60012dbe4b800543dba00038013c2e..."} 
[2026-07-08 06:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f2eaf60012dbe4b800543dba00038013c2e..."} 
[2026-07-08 06:15:07] local.INFO: Processing buffer {"connection_id":125895,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a0000019f3f2e8080012dbe7c800543a8c80037013f30..."} 
[2026-07-08 06:15:07] local.INFO: Packet analysis {"connection_id":125895,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a0000019f3f2e"} 
[2026-07-08 06:15:07] local.INFO: Extracted packet for processing {"connection_id":125895,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3f2e"} 
[2026-07-08 06:15:07] local.INFO: GPS Element Parsed {"raw_longitude":767458432,"raw_latitude":88320200,"longitude_deg":76.7458432,"latitude_deg":8.83202,"altitude":55,"angle":319,"satellites":48,"speed":58,"hex_longitude":"2dbe7c80","hex_latitude":"0543a8c8","is_valid_coordinates":true} 
[2026-07-08 06:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568687616001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342057204112687104,"note":"Value kept but may cause issues"} 
[2026-07-08 06:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4717098374596798464,"note":"Value kept but may cause issues"} 
[2026-07-08 06:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783471440000,"timestamp_ms":1783471440000,"timestamp_seconds":1783471440,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f2e8080"} 
[2026-07-08 06:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 06:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568687616001,"66":27658,"109":206,"84":5376,"24":58,"16":342057204112687104,"45":-4717098374596798464},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,84,24,16,45]} 
[2026-07-08 06:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568687616001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:15:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 06:15:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-08 06:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342057204112687104,"km_value":342057204112687.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4717098374596798464,"description":"Unknown IO ID 45"} 
[2026-07-08 06:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568687616001,"power":27658,"unknown_109":206,"unknown_84":5376,"ignition":58,"odometer":null,"unknown_45":-4717098374596798464}} 
[2026-07-08 06:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":125895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:15:07] local.INFO: GPS data processed {"connection_id":125895,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:15:07] local.INFO: Acknowledgment sent {"connection_id":125895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:15:07] local.INFO: Packet analysis {"connection_id":125895,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3f2e"} 
[2026-07-08 06:15:07] local.INFO: Extracted packet for processing {"connection_id":125895,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f2e"} 
[2026-07-08 06:15:07] local.INFO: GPS Element Parsed {"raw_longitude":767452224,"raw_latitude":88326664,"longitude_deg":76.7452224,"latitude_deg":8.8326664,"altitude":55,"angle":316,"satellites":48,"speed":60,"hex_longitude":"2dbe6440","hex_latitude":"0543c208","is_valid_coordinates":true} 
[2026-07-08 06:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568688640001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342057637904384000,"note":"Value kept but may cause issues"} 
[2026-07-08 06:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4720757549292795904,"note":"Value kept but may cause issues"} 
[2026-07-08 06:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783471446000,"timestamp_ms":1783471446000,"timestamp_seconds":1783471446,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f2e97f0"} 
[2026-07-08 06:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 06:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568688640001,"66":27767,"109":206,"84":5376,"24":60,"16":342057637904384000,"45":-4720757549292795904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,84,24,16,45]} 
[2026-07-08 06:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568688640001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:15:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 06:15:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-08 06:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342057637904384000,"km_value":342057637904384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4720757549292795904,"description":"Unknown IO ID 45"} 
[2026-07-08 06:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568688640001,"power":27767,"unknown_109":206,"unknown_84":5376,"ignition":60,"odometer":null,"unknown_45":-4720757549292795904}} 
[2026-07-08 06:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":125895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:15:07] local.INFO: GPS data processed {"connection_id":125895,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:15:07] local.INFO: Acknowledgment sent {"connection_id":125895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:15:07] local.INFO: Packet analysis {"connection_id":125895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f2e"} 
[2026-07-08 06:15:07] local.INFO: Extracted packet for processing {"connection_id":125895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f2e"} 
[2026-07-08 06:15:07] local.INFO: GPS Element Parsed {"raw_longitude":767445888,"raw_latitude":88333216,"longitude_deg":76.7445888,"latitude_deg":8.8333216,"altitude":56,"angle":316,"satellites":46,"speed":60,"hex_longitude":"2dbe4b80","hex_latitude":"0543dba0","is_valid_coordinates":true} 
[2026-07-08 06:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568690176001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342058075991048192,"note":"Value kept but may cause issues"} 
[2026-07-08 06:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4727583317476374528,"note":"Value kept but may cause issues"} 
[2026-07-08 06:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783471452000,"timestamp_ms":1783471452000,"timestamp_seconds":1783471452,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f2eaf60"} 
[2026-07-08 06:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 06:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568690176001,"66":27713,"109":206,"84":5376,"24":60,"16":342058075991048192,"45":-4727583317476374528},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,84,24,16,45]} 
[2026-07-08 06:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568690176001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:15:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 06:15:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-08 06:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342058075991048192,"km_value":342058075991048.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4727583317476374528,"description":"Unknown IO ID 45"} 
[2026-07-08 06:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568690176001,"power":27713,"unknown_109":206,"unknown_84":5376,"ignition":60,"odometer":null,"unknown_45":-4727583317476374528}} 
[2026-07-08 06:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":125895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:15:07] local.INFO: GPS data processed {"connection_id":125895,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:15:07] local.INFO: Acknowledgment sent {"connection_id":125895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:15:40] local.INFO: TCP Data received {"connection_id":125895,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f2ec6d0012dbe31400543f3b00037013131..."} 
[2026-07-08 06:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f2ec6d0012dbe31400543f3b00037013131..."} 
[2026-07-08 06:15:40] local.INFO: Processing buffer {"connection_id":125895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f2ec6d0012dbe31400543f3b00037013131..."} 
[2026-07-08 06:15:40] local.INFO: Packet analysis {"connection_id":125895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f2e"} 
[2026-07-08 06:15:40] local.INFO: Extracted packet for processing {"connection_id":125895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f2e"} 
[2026-07-08 06:15:40] local.INFO: GPS Element Parsed {"raw_longitude":767439168,"raw_latitude":88339376,"longitude_deg":76.7439168,"latitude_deg":8.8339376,"altitude":55,"angle":305,"satellites":49,"speed":59,"hex_longitude":"2dbe3140","hex_latitude":"0543f3b0","is_valid_coordinates":true} 
[2026-07-08 06:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568691712001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342058514077712384,"note":"Value kept but may cause issues"} 
[2026-07-08 06:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4734549823148285952,"note":"Value kept but may cause issues"} 
[2026-07-08 06:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783471458000,"timestamp_ms":1783471458000,"timestamp_seconds":1783471458,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f2ec6d0"} 
[2026-07-08 06:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 06:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:15:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568691712001,"66":27658,"109":206,"84":5376,"24":59,"16":342058514077712384,"45":-4734549823148285952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,84,24,16,45]} 
[2026-07-08 06:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568691712001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:15:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 06:15:40] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-08 06:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342058514077712384,"km_value":342058514077712.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4734549823148285952,"description":"Unknown IO ID 45"} 
[2026-07-08 06:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568691712001,"power":27658,"unknown_109":206,"unknown_84":5376,"ignition":59,"odometer":null,"unknown_45":-4734549823148285952}} 
[2026-07-08 06:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":125895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:15:40] local.INFO: GPS data processed {"connection_id":125895,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:15:40] local.INFO: Acknowledgment sent {"connection_id":125895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:15:57] local.INFO: TCP Data received {"connection_id":125061,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:15:57] local.INFO: Processing buffer {"connection_id":125061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:15:57] local.INFO: IMEI packet received {"connection_id":125061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":125061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:15:57] local.INFO: TCP Data received {"connection_id":125060,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125060,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:15:57] local.INFO: Processing buffer {"connection_id":125060,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:15:57] local.INFO: IMEI packet received {"connection_id":125060,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 06:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":125060,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:15:58] local.INFO: TCP Data received {"connection_id":125061,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:15:58] local.INFO: Processing buffer {"connection_id":125061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:15:58] local.INFO: IMEI packet received {"connection_id":125061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":125061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:16:02] local.INFO: TCP Data received {"connection_id":125061,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:16:02] local.INFO: Processing buffer {"connection_id":125061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:16:02] local.INFO: IMEI packet received {"connection_id":125061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":125061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:16:02] local.INFO: TCP Data received {"connection_id":125061,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f2ec6d0012dbe31400543f3b00037013131..."} 
[2026-07-08 06:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f2ec6d0012dbe31400543f3b00037013131..."} 
[2026-07-08 06:16:02] local.INFO: Processing buffer {"connection_id":125061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f2ec6d0012dbe31400543f3b00037013131..."} 
[2026-07-08 06:16:02] local.INFO: Packet analysis {"connection_id":125061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f2e"} 
[2026-07-08 06:16:02] local.INFO: Extracted packet for processing {"connection_id":125061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f2e"} 
[2026-07-08 06:16:02] local.INFO: GPS Element Parsed {"raw_longitude":767439168,"raw_latitude":88339376,"longitude_deg":76.7439168,"latitude_deg":8.8339376,"altitude":55,"angle":305,"satellites":49,"speed":59,"hex_longitude":"2dbe3140","hex_latitude":"0543f3b0","is_valid_coordinates":true} 
[2026-07-08 06:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568693248001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342058514077712384,"note":"Value kept but may cause issues"} 
[2026-07-08 06:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4741938541285363712,"note":"Value kept but may cause issues"} 
[2026-07-08 06:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783471458000,"timestamp_ms":1783471458000,"timestamp_seconds":1783471458,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f2ec6d0"} 
[2026-07-08 06:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:16: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-07-08 06:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 06:16:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:16:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568693248001,"66":27658,"109":206,"84":5376,"24":59,"16":342058514077712384,"45":-4741938541285363712},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,84,24,16,45]} 
[2026-07-08 06:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568693248001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:16:02] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 06:16:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-08 06:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342058514077712384,"km_value":342058514077712.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4741938541285363712,"description":"Unknown IO ID 45"} 
[2026-07-08 06:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568693248001,"power":27658,"unknown_109":206,"unknown_84":5376,"ignition":59,"odometer":null,"unknown_45":-4741938541285363712}} 
[2026-07-08 06:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":125061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:16:03] local.INFO: GPS data processed {"connection_id":125061,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:16:03] local.INFO: Acknowledgment sent {"connection_id":125061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:16:38] local.INFO: TCP Data received {"connection_id":125061,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f2fff50012dbcf940054537b00038014431..."} 
[2026-07-08 06:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f2fff50012dbcf940054537b00038014431..."} 
[2026-07-08 06:16:38] local.INFO: Processing buffer {"connection_id":125061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f2fff50012dbcf940054537b00038014431..."} 
[2026-07-08 06:16:38] local.INFO: Packet analysis {"connection_id":125061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f2f"} 
[2026-07-08 06:16:38] local.INFO: Extracted packet for processing {"connection_id":125061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f2f"} 
[2026-07-08 06:16:38] local.INFO: GPS Element Parsed {"raw_longitude":767359296,"raw_latitude":88422320,"longitude_deg":76.7359296,"latitude_deg":8.842232,"altitude":56,"angle":324,"satellites":49,"speed":59,"hex_longitude":"2dbcf940","hex_latitude":"054537b0","is_valid_coordinates":true} 
[2026-07-08 06:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568712192001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342064290808725504,"note":"Value kept but may cause issues"} 
[2026-07-08 06:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4823918128232972288,"note":"Value kept but may cause issues"} 
[2026-07-08 06:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783471538000,"timestamp_ms":1783471538000,"timestamp_seconds":1783471538,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f2fff50"} 
[2026-07-08 06:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 06:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568712192001,"66":27713,"57":206,"84":5376,"24":59,"16":342064290808725504,"45":-4823918128232972288},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,84,24,16,45]} 
[2026-07-08 06:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568712192001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:16:38] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-07-08 06:16:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-08 06:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342064290808725504,"km_value":342064290808725.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4823918128232972288,"description":"Unknown IO ID 45"} 
[2026-07-08 06:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568712192001,"power":27713,"unknown_57":206,"unknown_84":5376,"ignition":59,"odometer":null,"unknown_45":-4823918128232972288}} 
[2026-07-08 06:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":125061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:16:38] local.INFO: GPS data processed {"connection_id":125061,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:16:38] local.INFO: Acknowledgment sent {"connection_id":125061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:16:56] local.INFO: TCP Data received {"connection_id":125140,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:16:56] local.INFO: Processing buffer {"connection_id":125140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:16:56] local.INFO: IMEI packet received {"connection_id":125140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":125140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:16:57] local.INFO: TCP Data received {"connection_id":125140,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:16:57] local.INFO: Processing buffer {"connection_id":125140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:16:57] local.INFO: IMEI packet received {"connection_id":125140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":125140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:17:02] local.INFO: TCP Data received {"connection_id":125140,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:17:02] local.INFO: Processing buffer {"connection_id":125140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:17:02] local.INFO: IMEI packet received {"connection_id":125140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":125140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:17:02] local.INFO: TCP Data received {"connection_id":125140,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f3016c0012dbce54005455450003901472f..."} 
[2026-07-08 06:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f3016c0012dbce54005455450003901472f..."} 
[2026-07-08 06:17:02] local.INFO: Processing buffer {"connection_id":125140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f3016c0012dbce54005455450003901472f..."} 
[2026-07-08 06:17:02] local.INFO: Packet analysis {"connection_id":125140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f30"} 
[2026-07-08 06:17:02] local.INFO: Extracted packet for processing {"connection_id":125140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f30"} 
[2026-07-08 06:17:02] local.INFO: GPS Element Parsed {"raw_longitude":767354176,"raw_latitude":88429648,"longitude_deg":76.7354176,"latitude_deg":8.8429648,"altitude":57,"angle":327,"satellites":47,"speed":59,"hex_longitude":"2dbce540","hex_latitude":"05455450","is_valid_coordinates":true} 
[2026-07-08 06: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-07-08 06:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568713728001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342064720305455104,"note":"Value kept but may cause issues"} 
[2026-07-08 06:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4829758733997854720,"note":"Value kept but may cause issues"} 
[2026-07-08 06:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783471544000,"timestamp_ms":1783471544000,"timestamp_seconds":1783471544,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f3016c0"} 
[2026-07-08 06:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:17: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-07-08 06: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 06:17:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06: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-07-08 06:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568713728001,"66":27745,"57":206,"84":5376,"24":59,"16":342064720305455104,"45":-4829758733997854720},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,84,24,16,45]} 
[2026-07-08 06:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568713728001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:17:02] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-07-08 06:17:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-08 06:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342064720305455104,"km_value":342064720305455.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4829758733997854720,"description":"Unknown IO ID 45"} 
[2026-07-08 06:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568713728001,"power":27745,"unknown_57":206,"unknown_84":5376,"ignition":59,"odometer":null,"unknown_45":-4829758733997854720}} 
[2026-07-08 06:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":125140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:17:02] local.INFO: GPS data processed {"connection_id":125140,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:17:02] local.INFO: Acknowledgment sent {"connection_id":125140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:17:34] local.INFO: TCP Data received {"connection_id":125140,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f302e30012dbcd580054573580039015130..."} 
[2026-07-08 06:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f302e30012dbcd580054573580039015130..."} 
[2026-07-08 06:17:34] local.INFO: Processing buffer {"connection_id":125140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f302e30012dbcd580054573580039015130..."} 
[2026-07-08 06:17:34] local.INFO: Packet analysis {"connection_id":125140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f30"} 
[2026-07-08 06:17:34] local.INFO: Extracted packet for processing {"connection_id":125140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f30"} 
[2026-07-08 06:17:34] local.INFO: GPS Element Parsed {"raw_longitude":767350144,"raw_latitude":88437592,"longitude_deg":76.7350144,"latitude_deg":8.8437592,"altitude":57,"angle":337,"satellites":48,"speed":59,"hex_longitude":"2dbcd580","hex_latitude":"05457358","is_valid_coordinates":true} 
[2026-07-08 06: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-07-08 06:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568715264001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342065154097152000,"note":"Value kept but may cause issues"} 
[2026-07-08 06:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4835388233530191872,"note":"Value kept but may cause issues"} 
[2026-07-08 06:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783471550000,"timestamp_ms":1783471550000,"timestamp_seconds":1783471550,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f302e30"} 
[2026-07-08 06:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 06:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06: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-07-08 06:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568715264001,"66":27800,"57":206,"84":5376,"24":59,"16":342065154097152000,"45":-4835388233530191872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,84,24,16,45]} 
[2026-07-08 06:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568715264001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:17:34] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-07-08 06:17:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-08 06:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342065154097152000,"km_value":342065154097152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4835388233530191872,"description":"Unknown IO ID 45"} 
[2026-07-08 06:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568715264001,"power":27800,"unknown_57":206,"unknown_84":5376,"ignition":59,"odometer":null,"unknown_45":-4835388233530191872}} 
[2026-07-08 06:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":125140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:17:34] local.INFO: GPS data processed {"connection_id":125140,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:17:34] local.INFO: Acknowledgment sent {"connection_id":125140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:17:57] local.INFO: TCP Data received {"connection_id":127160,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:17:57] local.INFO: Processing buffer {"connection_id":127160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:17:57] local.INFO: IMEI packet received {"connection_id":127160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":127160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:17:58] local.INFO: TCP Data received {"connection_id":127160,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:17:58] local.INFO: Processing buffer {"connection_id":127160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:17:58] local.INFO: IMEI packet received {"connection_id":127160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":127160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:18:02] local.INFO: TCP Data received {"connection_id":127160,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:18:02] local.INFO: Processing buffer {"connection_id":127160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:18:02] local.INFO: IMEI packet received {"connection_id":127160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":127160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:18:03] local.INFO: TCP Data received {"connection_id":127160,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f312448012dbc3d400546b448002f01432f..."} 
[2026-07-08 06:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f312448012dbc3d400546b448002f01432f..."} 
[2026-07-08 06:18:03] local.INFO: Processing buffer {"connection_id":127160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f312448012dbc3d400546b448002f01432f..."} 
[2026-07-08 06:18:03] local.INFO: Packet analysis {"connection_id":127160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f31"} 
[2026-07-08 06:18:03] local.INFO: Extracted packet for processing {"connection_id":127160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f31"} 
[2026-07-08 06:18:03] local.INFO: GPS Element Parsed {"raw_longitude":767311168,"raw_latitude":88519752,"longitude_deg":76.7311168,"latitude_deg":8.8519752,"altitude":47,"angle":323,"satellites":47,"speed":60,"hex_longitude":"2dbc3d40","hex_latitude":"0546b448","is_valid_coordinates":true} 
[2026-07-08 06: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-07-08 06:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568731392001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342069719647387648,"note":"Value kept but may cause issues"} 
[2026-07-08 06:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4876272473876127744,"note":"Value kept but may cause issues"} 
[2026-07-08 06:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783471613000,"timestamp_ms":1783471613000,"timestamp_seconds":1783471613,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f312448"} 
[2026-07-08 06:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 06:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06: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-07-08 06:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568731392001,"66":27767,"59":206,"84":5376,"24":60,"16":342069719647387648,"45":-4876272473876127744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,84,24,16,45]} 
[2026-07-08 06:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568731392001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:18:03] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-07-08 06:18:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-08 06:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342069719647387648,"km_value":342069719647387.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4876272473876127744,"description":"Unknown IO ID 45"} 
[2026-07-08 06:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568731392001,"power":27767,"unknown_59":206,"unknown_84":5376,"ignition":60,"odometer":null,"unknown_45":-4876272473876127744}} 
[2026-07-08 06:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":127160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:18:03] local.INFO: GPS data processed {"connection_id":127160,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:18:03] local.INFO: Acknowledgment sent {"connection_id":127160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:18:34] local.INFO: TCP Data received {"connection_id":127160,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f313bb8012dbc28c00546d0c8002e014330..."} 
[2026-07-08 06:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f313bb8012dbc28c00546d0c8002e014330..."} 
[2026-07-08 06:18:34] local.INFO: Processing buffer {"connection_id":127160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f313bb8012dbc28c00546d0c8002e014330..."} 
[2026-07-08 06:18:34] local.INFO: Packet analysis {"connection_id":127160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f31"} 
[2026-07-08 06:18:34] local.INFO: Extracted packet for processing {"connection_id":127160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f31"} 
[2026-07-08 06:18:34] local.INFO: GPS Element Parsed {"raw_longitude":767305920,"raw_latitude":88527048,"longitude_deg":76.730592,"latitude_deg":8.8527048,"altitude":46,"angle":323,"satellites":48,"speed":58,"hex_longitude":"2dbc28c0","hex_latitude":"0546d0c8","is_valid_coordinates":true} 
[2026-07-08 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-07-08 06:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568732928001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342070157734051840,"note":"Value kept but may cause issues"} 
[2026-07-08 06:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4882676029594515456,"note":"Value kept but may cause issues"} 
[2026-07-08 06:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783471619000,"timestamp_ms":1783471619000,"timestamp_seconds":1783471619,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f313bb8"} 
[2026-07-08 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-07-08 06:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 06:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 06:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568732928001,"66":27745,"112":206,"84":5376,"24":58,"16":342070157734051840,"45":-4882676029594515456},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,84,24,16,45]} 
[2026-07-08 06:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568732928001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:18:34] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 06:18:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-08 06:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342070157734051840,"km_value":342070157734051.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4882676029594515456,"description":"Unknown IO ID 45"} 
[2026-07-08 06:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568732928001,"power":27745,"unknown_112":206,"unknown_84":5376,"ignition":58,"odometer":null,"unknown_45":-4882676029594515456}} 
[2026-07-08 06:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":127160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:18:34] local.INFO: GPS data processed {"connection_id":127160,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:18:34] local.INFO: Acknowledgment sent {"connection_id":127160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:18:56] local.INFO: TCP Data received {"connection_id":125142,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:18:56] local.INFO: Processing buffer {"connection_id":125142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:18:56] local.INFO: IMEI packet received {"connection_id":125142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":125142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:19:01] local.INFO: TCP Data received {"connection_id":125142,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:19:01] local.INFO: Processing buffer {"connection_id":125142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:19:01] local.INFO: IMEI packet received {"connection_id":125142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":125142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:19:02] local.INFO: TCP Data received {"connection_id":125142,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f3254f8012dbae6400547d3080024012931..."} 
[2026-07-08 06:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f3254f8012dbae6400547d3080024012931..."} 
[2026-07-08 06:19:02] local.INFO: Processing buffer {"connection_id":125142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f3254f8012dbae6400547d3080024012931..."} 
[2026-07-08 06:19:02] local.INFO: Packet analysis {"connection_id":125142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f32"} 
[2026-07-08 06:19:02] local.INFO: Extracted packet for processing {"connection_id":125142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f32"} 
[2026-07-08 06:19:02] local.INFO: GPS Element Parsed {"raw_longitude":767223360,"raw_latitude":88593160,"longitude_deg":76.722336,"latitude_deg":8.859316,"altitude":36,"angle":297,"satellites":49,"speed":60,"hex_longitude":"2dbae640","hex_latitude":"0547d308","is_valid_coordinates":true} 
[2026-07-08 06:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568751360001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342075281630035968,"note":"Value kept but may cause issues"} 
[2026-07-08 06:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4970496222310576128,"note":"Value kept but may cause issues"} 
[2026-07-08 06:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783471691000,"timestamp_ms":1783471691000,"timestamp_seconds":1783471691,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f3254f8"} 
[2026-07-08 06:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:19: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-07-08 06:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 06:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568751360001,"66":27745,"112":206,"84":5376,"24":60,"16":342075281630035968,"45":-4970496222310576128},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,84,24,16,45]} 
[2026-07-08 06:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568751360001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:19:02] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 06:19:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-08 06:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342075281630035968,"km_value":342075281630035.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4970496222310576128,"description":"Unknown IO ID 45"} 
[2026-07-08 06:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568751360001,"power":27745,"unknown_112":206,"unknown_84":5376,"ignition":60,"odometer":null,"unknown_45":-4970496222310576128}} 
[2026-07-08 06:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":125142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:19:02] local.INFO: GPS data processed {"connection_id":125142,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:19:02] local.INFO: Acknowledgment sent {"connection_id":125142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:19:33] local.INFO: TCP Data received {"connection_id":125142,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f326c68012dbac7000547e3780023012a31..."} 
[2026-07-08 06:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f326c68012dbac7000547e3780023012a31..."} 
[2026-07-08 06:19:33] local.INFO: Processing buffer {"connection_id":125142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f326c68012dbac7000547e3780023012a31..."} 
[2026-07-08 06:19:33] local.INFO: Packet analysis {"connection_id":125142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f32"} 
[2026-07-08 06:19:33] local.INFO: Extracted packet for processing {"connection_id":125142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f32"} 
[2026-07-08 06:19:33] local.INFO: GPS Element Parsed {"raw_longitude":767215360,"raw_latitude":88597368,"longitude_deg":76.721536,"latitude_deg":8.8597368,"altitude":35,"angle":298,"satellites":49,"speed":59,"hex_longitude":"2dbac700","hex_latitude":"0547e378","is_valid_coordinates":true} 
[2026-07-08 06: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-07-08 06:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568752896001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342075715421732864,"note":"Value kept but may cause issues"} 
[2026-07-08 06:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4979221946587478016,"note":"Value kept but may cause issues"} 
[2026-07-08 06:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783471697000,"timestamp_ms":1783471697000,"timestamp_seconds":1783471697,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f326c68"} 
[2026-07-08 06:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 06:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06: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-07-08 06:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568752896001,"66":27767,"112":206,"84":5376,"24":59,"16":342075715421732864,"45":-4979221946587478016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,84,24,16,45]} 
[2026-07-08 06:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568752896001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:19:33] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 06:19:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-08 06:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342075715421732864,"km_value":342075715421732.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4979221946587478016,"description":"Unknown IO ID 45"} 
[2026-07-08 06:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568752896001,"power":27767,"unknown_112":206,"unknown_84":5376,"ignition":59,"odometer":null,"unknown_45":-4979221946587478016}} 
[2026-07-08 06:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":125142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:19:33] local.INFO: GPS data processed {"connection_id":125142,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:19:33] local.INFO: Acknowledgment sent {"connection_id":125142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:21:12] local.INFO: TCP Data received {"connection_id":125144,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:21:12] local.INFO: Processing buffer {"connection_id":125144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:21:12] local.INFO: IMEI packet received {"connection_id":125144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":125144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:21:13] local.INFO: TCP Data received {"connection_id":125144,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:21:13] local.INFO: Processing buffer {"connection_id":125144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:21:13] local.INFO: IMEI packet received {"connection_id":125144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":125144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:21:17] local.INFO: TCP Data received {"connection_id":125144,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:21:17] local.INFO: Processing buffer {"connection_id":125144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:21:17] local.INFO: IMEI packet received {"connection_id":125144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":125144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:21:17] local.INFO: TCP Data received {"connection_id":125144,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f337dd8012db95380054880a0001b010831..."} 
[2026-07-08 06:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f337dd8012db95380054880a0001b010831..."} 
[2026-07-08 06:21:17] local.INFO: Processing buffer {"connection_id":125144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f337dd8012db95380054880a0001b010831..."} 
[2026-07-08 06:21:17] local.INFO: Packet analysis {"connection_id":125144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f33"} 
[2026-07-08 06:21:17] local.INFO: Extracted packet for processing {"connection_id":125144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f33"} 
[2026-07-08 06:21:17] local.INFO: GPS Element Parsed {"raw_longitude":767120256,"raw_latitude":88637600,"longitude_deg":76.7120256,"latitude_deg":8.86376,"altitude":27,"angle":264,"satellites":49,"speed":59,"hex_longitude":"2db95380","hex_latitude":"054880a0","is_valid_coordinates":true} 
[2026-07-08 06:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568770816001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342080783483142144,"note":"Value kept but may cause issues"} 
[2026-07-08 06:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5082382525540493312,"note":"Value kept but may cause issues"} 
[2026-07-08 06:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783471767000,"timestamp_ms":1783471767000,"timestamp_seconds":1783471767,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f337dd8"} 
[2026-07-08 06:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 06:21:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":125144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":125144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":125144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568770816001,"66":27745,"113":206,"84":5376,"24":59,"16":342080783483142144,"45":-5082382525540493312},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,84,24,16,45]} 
[2026-07-08 06:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568770816001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:21:17] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-08 06:21:17] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-08 06:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342080783483142144,"km_value":342080783483142.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5082382525540493312,"description":"Unknown IO ID 45"} 
[2026-07-08 06:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568770816001,"power":27745,"unknown_113":206,"unknown_84":5376,"ignition":59,"odometer":null,"unknown_45":-5082382525540493312}} 
[2026-07-08 06:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":125144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:21:17] local.INFO: GPS data processed {"connection_id":125144,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:21:17] local.INFO: Acknowledgment sent {"connection_id":125144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:21:27] local.INFO: TCP Data received {"connection_id":125898,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125898,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:21:27] local.INFO: Processing buffer {"connection_id":125898,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:21:27] local.INFO: IMEI packet received {"connection_id":125898,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 06:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":125898,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:21:56] local.INFO: TCP Data received {"connection_id":125063,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:21:56] local.INFO: Processing buffer {"connection_id":125063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:21:56] local.INFO: IMEI packet received {"connection_id":125063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":125063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:21:57] local.INFO: TCP Data received {"connection_id":125062,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125062,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:21:57] local.INFO: Processing buffer {"connection_id":125062,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:21:57] local.INFO: IMEI packet received {"connection_id":125062,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 06:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":125062,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:22:02] local.INFO: TCP Data received {"connection_id":125063,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:22:02] local.INFO: Processing buffer {"connection_id":125063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:22:02] local.INFO: IMEI packet received {"connection_id":125063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":125063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:22:03] local.INFO: TCP Data received {"connection_id":125063,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f34cdc8012db77c80054868d8000b013a2e..."} 
[2026-07-08 06:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f34cdc8012db77c80054868d8000b013a2e..."} 
[2026-07-08 06:22:03] local.INFO: Processing buffer {"connection_id":125063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f34cdc8012db77c80054868d8000b013a2e..."} 
[2026-07-08 06:22:03] local.INFO: Packet analysis {"connection_id":125063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f34"} 
[2026-07-08 06:22:03] local.INFO: Extracted packet for processing {"connection_id":125063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f34"} 
[2026-07-08 06:22:03] local.INFO: GPS Element Parsed {"raw_longitude":766999680,"raw_latitude":88631512,"longitude_deg":76.699968,"latitude_deg":8.8631512,"altitude":11,"angle":314,"satellites":46,"speed":29,"hex_longitude":"2db77c80","hex_latitude":"054868d8","is_valid_coordinates":true} 
[2026-07-08 06: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-07-08 06:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568793600001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342086847976964096,"note":"Value kept but may cause issues"} 
[2026-07-08 06:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5223331120130277376,"note":"Value kept but may cause issues"} 
[2026-07-08 06:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783471853000,"timestamp_ms":1783471853000,"timestamp_seconds":1783471853,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f34cdc8"} 
[2026-07-08 06:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 06:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568793600001,"66":27658,"37":206,"84":5376,"24":29,"16":342086847976964096,"45":-5223331120130277376},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,84,24,16,45]} 
[2026-07-08 06:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568793600001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:22:03] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-08 06:22:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-08 06:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342086847976964096,"km_value":342086847976964.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5223331120130277376,"description":"Unknown IO ID 45"} 
[2026-07-08 06:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568793600001,"power":27658,"unknown_37":206,"unknown_84":5376,"ignition":29,"odometer":null,"unknown_45":-5223331120130277376}} 
[2026-07-08 06:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":125063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:22:03] local.INFO: GPS data processed {"connection_id":125063,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:22:03] local.INFO: Acknowledgment sent {"connection_id":125063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:22:34] local.INFO: TCP Data received {"connection_id":125063,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f34e150012db7710005487268000a012430..."} 
[2026-07-08 06:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f34e150012db7710005487268000a012430..."} 
[2026-07-08 06:22:34] local.INFO: Processing buffer {"connection_id":125063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f34e150012db7710005487268000a012430..."} 
[2026-07-08 06:22:34] local.INFO: Packet analysis {"connection_id":125063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f34"} 
[2026-07-08 06:22:34] local.INFO: Extracted packet for processing {"connection_id":125063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f34"} 
[2026-07-08 06:22:34] local.INFO: GPS Element Parsed {"raw_longitude":766996736,"raw_latitude":88633960,"longitude_deg":76.6996736,"latitude_deg":8.863396,"altitude":10,"angle":292,"satellites":48,"speed":31,"hex_longitude":"2db77100","hex_latitude":"05487268","is_valid_coordinates":true} 
[2026-07-08 06: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-07-08 06:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568794368001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342087032660557824,"note":"Value kept but may cause issues"} 
[2026-07-08 06:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5225160707478595584,"note":"Value kept but may cause issues"} 
[2026-07-08 06:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783471858000,"timestamp_ms":1783471858000,"timestamp_seconds":1783471858,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f34e150"} 
[2026-07-08 06:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 06:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:22:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568794368001,"66":27658,"37":206,"84":5376,"24":31,"16":342087032660557824,"45":-5225160707478595584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,84,24,16,45]} 
[2026-07-08 06:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568794368001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:22:34] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-08 06:22:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-08 06:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342087032660557824,"km_value":342087032660557.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5225160707478595584,"description":"Unknown IO ID 45"} 
[2026-07-08 06:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568794368001,"power":27658,"unknown_37":206,"unknown_84":5376,"ignition":31,"odometer":null,"unknown_45":-5225160707478595584}} 
[2026-07-08 06:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":125063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:22:34] local.INFO: GPS data processed {"connection_id":125063,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:22:34] local.INFO: Acknowledgment sent {"connection_id":125063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:22:56] local.INFO: TCP Data received {"connection_id":125145,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:22:56] local.INFO: Processing buffer {"connection_id":125145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:22:56] local.INFO: IMEI packet received {"connection_id":125145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":125145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:23:02] local.INFO: TCP Data received {"connection_id":125145,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:23:02] local.INFO: Processing buffer {"connection_id":125145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:23:02] local.INFO: IMEI packet received {"connection_id":125145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":125145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:23:03] local.INFO: TCP Data received {"connection_id":125145,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f34e920012db76b40054873f8000a01142f..."} 
[2026-07-08 06:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f34e920012db76b40054873f8000a01142f..."} 
[2026-07-08 06:23:03] local.INFO: Processing buffer {"connection_id":125145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f34e920012db76b40054873f8000a01142f..."} 
[2026-07-08 06:23:03] local.INFO: Packet analysis {"connection_id":125145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f34"} 
[2026-07-08 06:23:03] local.INFO: Extracted packet for processing {"connection_id":125145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f34"} 
[2026-07-08 06:23:03] local.INFO: GPS Element Parsed {"raw_longitude":766995264,"raw_latitude":88634360,"longitude_deg":76.6995264,"latitude_deg":8.863436,"altitude":10,"angle":276,"satellites":47,"speed":31,"hex_longitude":"2db76b40","hex_latitude":"054873f8","is_valid_coordinates":true} 
[2026-07-08 06:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568795648001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342087105675001856,"note":"Value kept but may cause issues"} 
[2026-07-08 06:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5228397669710141440,"note":"Value kept but may cause issues"} 
[2026-07-08 06:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783471860000,"timestamp_ms":1783471860000,"timestamp_seconds":1783471860,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f34e920"} 
[2026-07-08 06:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 06:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568795648001,"66":27658,"37":206,"84":5376,"24":31,"16":342087105675001856,"45":-5228397669710141440},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,84,24,16,45]} 
[2026-07-08 06:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568795648001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:23:03] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-08 06:23:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-08 06:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342087105675001856,"km_value":342087105675001.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5228397669710141440,"description":"Unknown IO ID 45"} 
[2026-07-08 06:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568795648001,"power":27658,"unknown_37":206,"unknown_84":5376,"ignition":31,"odometer":null,"unknown_45":-5228397669710141440}} 
[2026-07-08 06:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":125145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:23:03] local.INFO: GPS data processed {"connection_id":125145,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:23:03] local.INFO: Acknowledgment sent {"connection_id":125145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:23:34] local.INFO: TCP Data received {"connection_id":125145,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f350c48012db74b8005487470000a010930..."} 
[2026-07-08 06:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f350c48012db74b8005487470000a010930..."} 
[2026-07-08 06:23:34] local.INFO: Processing buffer {"connection_id":125145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f350c48012db74b8005487470000a010930..."} 
[2026-07-08 06:23:34] local.INFO: Packet analysis {"connection_id":125145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f35"} 
[2026-07-08 06:23:34] local.INFO: Extracted packet for processing {"connection_id":125145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f35"} 
[2026-07-08 06:23:34] local.INFO: GPS Element Parsed {"raw_longitude":766987136,"raw_latitude":88634480,"longitude_deg":76.6987136,"latitude_deg":8.863448,"altitude":10,"angle":265,"satellites":48,"speed":32,"hex_longitude":"2db74b80","hex_latitude":"05487470","is_valid_coordinates":true} 
[2026-07-08 06:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568796160001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342087496517025792,"note":"Value kept but may cause issues"} 
[2026-07-08 06:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5230016150826125312,"note":"Value kept but may cause issues"} 
[2026-07-08 06:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783471869000,"timestamp_ms":1783471869000,"timestamp_seconds":1783471869,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f350c48"} 
[2026-07-08 06:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 06:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568796160001,"66":27647,"37":206,"84":5376,"24":32,"16":342087496517025792,"45":-5230016150826125312},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,84,24,16,45]} 
[2026-07-08 06:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568796160001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:23:34] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-08 06:23:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-08 06:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342087496517025792,"km_value":342087496517025.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5230016150826125312,"description":"Unknown IO ID 45"} 
[2026-07-08 06:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568796160001,"power":27647,"unknown_37":206,"unknown_84":5376,"ignition":32,"odometer":null,"unknown_45":-5230016150826125312}} 
[2026-07-08 06:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":125145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:23:34] local.INFO: GPS data processed {"connection_id":125145,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:23:34] local.INFO: Acknowledgment sent {"connection_id":125145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:23:56] local.INFO: TCP Data received {"connection_id":125146,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:23:56] local.INFO: Processing buffer {"connection_id":125146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:23:56] local.INFO: IMEI packet received {"connection_id":125146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":125146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:24:02] local.INFO: TCP Data received {"connection_id":125146,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:24:02] local.INFO: Processing buffer {"connection_id":125146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:24:02] local.INFO: IMEI packet received {"connection_id":125146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":125146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:24:06] local.INFO: TCP Data received {"connection_id":125146,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f355e50012db72a0005487160000a010831..."} 
[2026-07-08 06:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f355e50012db72a0005487160000a010831..."} 
[2026-07-08 06:24:06] local.INFO: Processing buffer {"connection_id":125146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f355e50012db72a0005487160000a010831..."} 
[2026-07-08 06:24:06] local.INFO: Packet analysis {"connection_id":125146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f35"} 
[2026-07-08 06:24:06] local.INFO: Extracted packet for processing {"connection_id":125146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f35"} 
[2026-07-08 06:24:06] local.INFO: GPS Element Parsed {"raw_longitude":766978560,"raw_latitude":88633696,"longitude_deg":76.697856,"latitude_deg":8.8633696,"altitude":10,"angle":264,"satellites":49,"speed":19,"hex_longitude":"2db72a00","hex_latitude":"05487160","is_valid_coordinates":true} 
[2026-07-08 06:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568798464001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342087908833886208,"note":"Value kept but may cause issues"} 
[2026-07-08 06:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5238952981336657920,"note":"Value kept but may cause issues"} 
[2026-07-08 06:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783471890000,"timestamp_ms":1783471890000,"timestamp_seconds":1783471890,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f355e50"} 
[2026-07-08 06:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 06:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":3028,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568798464001,"66":27745,"37":206,"84":5376,"24":19,"16":342087908833886208,"45":-5238952981336657920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,84,24,16,45]} 
[2026-07-08 06:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568798464001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:24:06] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-08 06:24:06] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-07-08 06:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342087908833886208,"km_value":342087908833886.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5238952981336657920,"description":"Unknown IO ID 45"} 
[2026-07-08 06:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568798464001,"power":27745,"unknown_37":206,"unknown_84":5376,"ignition":19,"odometer":null,"unknown_45":-5238952981336657920}} 
[2026-07-08 06:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":125146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:24:06] local.INFO: GPS data processed {"connection_id":125146,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:24:06] local.INFO: Acknowledgment sent {"connection_id":125146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:24:37] local.INFO: TCP Data received {"connection_id":125146,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f373ec8012db595c0054885480005011529..."} 
[2026-07-08 06:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f373ec8012db595c0054885480005011529..."} 
[2026-07-08 06:24:37] local.INFO: Processing buffer {"connection_id":125146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f373ec8012db595c0054885480005011529..."} 
[2026-07-08 06:24:37] local.INFO: Packet analysis {"connection_id":125146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f37"} 
[2026-07-08 06:24:37] local.INFO: Extracted packet for processing {"connection_id":125146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f37"} 
[2026-07-08 06:24:37] local.INFO: GPS Element Parsed {"raw_longitude":766875072,"raw_latitude":88638792,"longitude_deg":76.6875072,"latitude_deg":8.8638792,"altitude":5,"angle":277,"satellites":41,"speed":39,"hex_longitude":"2db595c0","hex_latitude":"05488548","is_valid_coordinates":true} 
[2026-07-08 06:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568833280001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342092921060720640,"note":"Value kept but may cause issues"} 
[2026-07-08 06:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5351754078252687360,"note":"Value kept but may cause issues"} 
[2026-07-08 06:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783472013000,"timestamp_ms":1783472013000,"timestamp_seconds":1783472013,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f373ec8"} 
[2026-07-08 06:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 06:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568833280001,"66":27571,"94":206,"84":6400,"24":39,"16":342092921060720640,"45":-5351754078252687360},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,84,24,16,45]} 
[2026-07-08 06:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568833280001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:24:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-07-08 06:24:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-07-08 06:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342092921060720640,"km_value":342092921060720.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5351754078252687360,"description":"Unknown IO ID 45"} 
[2026-07-08 06:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568833280001,"power":27571,"unknown_94":206,"unknown_84":6400,"ignition":39,"odometer":null,"unknown_45":-5351754078252687360}} 
[2026-07-08 06:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":125146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:24:37] local.INFO: GPS data processed {"connection_id":125146,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:24:37] local.INFO: Acknowledgment sent {"connection_id":125146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:25:02] local.INFO: TCP Data received {"connection_id":127162,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:25:02] local.INFO: Processing buffer {"connection_id":127162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:25:02] local.INFO: IMEI packet received {"connection_id":127162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":127162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:25:04] local.INFO: TCP Data received {"connection_id":127162,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:25:04] local.INFO: Processing buffer {"connection_id":127162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:25:04] local.INFO: IMEI packet received {"connection_id":127162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":127162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:25:04] local.INFO: TCP Data received {"connection_id":127162,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f376da8012db57100054888f8000801122e..."} 
[2026-07-08 06:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f376da8012db57100054888f8000801122e..."} 
[2026-07-08 06:25:04] local.INFO: Processing buffer {"connection_id":127162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f376da8012db57100054888f8000801122e..."} 
[2026-07-08 06:25:04] local.INFO: Packet analysis {"connection_id":127162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f37"} 
[2026-07-08 06:25:04] local.INFO: Extracted packet for processing {"connection_id":127162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f37"} 
[2026-07-08 06:25:04] local.INFO: GPS Element Parsed {"raw_longitude":766865664,"raw_latitude":88639736,"longitude_deg":76.6865664,"latitude_deg":8.8639736,"altitude":8,"angle":274,"satellites":46,"speed":29,"hex_longitude":"2db57100","hex_latitude":"054888f8","is_valid_coordinates":true} 
[2026-07-08 06: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-07-08 06:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568835328001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342093372032286720,"note":"Value kept but may cause issues"} 
[2026-07-08 06:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5362168652390643712,"note":"Value kept but may cause issues"} 
[2026-07-08 06:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783472025000,"timestamp_ms":1783472025000,"timestamp_seconds":1783472025,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f376da8"} 
[2026-07-08 06:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 06:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06: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-07-08 06:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":127162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":127162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":127162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568835328001,"66":27767,"94":206,"84":6400,"24":29,"16":342093372032286720,"45":-5362168652390643712},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,84,24,16,45]} 
[2026-07-08 06:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568835328001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:25:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-07-08 06:25:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-07-08 06:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342093372032286720,"km_value":342093372032286.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5362168652390643712,"description":"Unknown IO ID 45"} 
[2026-07-08 06:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568835328001,"power":27767,"unknown_94":206,"unknown_84":6400,"ignition":29,"odometer":null,"unknown_45":-5362168652390643712}} 
[2026-07-08 06:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":127162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:25:04] local.INFO: GPS data processed {"connection_id":127162,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:25:04] local.INFO: Acknowledgment sent {"connection_id":127162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:25:07] local.INFO: TCP Data received {"connection_id":127162,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f379c88012db54c4005488d68000e01152e..."} 
[2026-07-08 06:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f379c88012db54c4005488d68000e01152e..."} 
[2026-07-08 06:25:07] local.INFO: Processing buffer {"connection_id":127162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f379c88012db54c4005488d68000e01152e..."} 
[2026-07-08 06:25:07] local.INFO: Packet analysis {"connection_id":127162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f37"} 
[2026-07-08 06:25:07] local.INFO: Extracted packet for processing {"connection_id":127162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f37"} 
[2026-07-08 06:25:07] local.INFO: GPS Element Parsed {"raw_longitude":766856256,"raw_latitude":88640872,"longitude_deg":76.6856256,"latitude_deg":8.8640872,"altitude":14,"angle":277,"satellites":46,"speed":33,"hex_longitude":"2db54c40","hex_latitude":"05488d68","is_valid_coordinates":true} 
[2026-07-08 06:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568838400001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342093827298820096,"note":"Value kept but may cause issues"} 
[2026-07-08 06:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5372512857784518656,"note":"Value kept but may cause issues"} 
[2026-07-08 06:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783472037000,"timestamp_ms":1783472037000,"timestamp_seconds":1783472037,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f379c88"} 
[2026-07-08 06:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 06:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568838400001,"66":27745,"94":206,"84":6400,"24":33,"16":342093827298820096,"45":-5372512857784518656},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,84,24,16,45]} 
[2026-07-08 06:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568838400001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:25:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-07-08 06:25:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-07-08 06:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342093827298820096,"km_value":342093827298820.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5372512857784518656,"description":"Unknown IO ID 45"} 
[2026-07-08 06:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568838400001,"power":27745,"unknown_94":206,"unknown_84":6400,"ignition":33,"odometer":null,"unknown_45":-5372512857784518656}} 
[2026-07-08 06:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":127162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:25:07] local.INFO: GPS data processed {"connection_id":127162,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:25:07] local.INFO: Acknowledgment sent {"connection_id":127162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:25:38] local.INFO: TCP Data received {"connection_id":127162,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f37c780012db52600054892e8001501162c..."} 
[2026-07-08 06:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f37c780012db52600054892e8001501162c..."} 
[2026-07-08 06:25:38] local.INFO: Processing buffer {"connection_id":127162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f37c780012db52600054892e8001501162c..."} 
[2026-07-08 06:25:38] local.INFO: Packet analysis {"connection_id":127162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f37"} 
[2026-07-08 06:25:38] local.INFO: Extracted packet for processing {"connection_id":127162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f37"} 
[2026-07-08 06:25:38] local.INFO: GPS Element Parsed {"raw_longitude":766846464,"raw_latitude":88642280,"longitude_deg":76.6846464,"latitude_deg":8.864228,"altitude":21,"angle":278,"satellites":44,"speed":38,"hex_longitude":"2db52600","hex_latitude":"054892e8","is_valid_coordinates":true} 
[2026-07-08 06:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568841472001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342094299745222656,"note":"Value kept but may cause issues"} 
[2026-07-08 06:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5382857063178344448,"note":"Value kept but may cause issues"} 
[2026-07-08 06:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783472048000,"timestamp_ms":1783472048000,"timestamp_seconds":1783472048,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f37c780"} 
[2026-07-08 06:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 06:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568841472001,"66":27767,"94":206,"84":6400,"24":38,"16":342094299745222656,"45":-5382857063178344448},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,84,24,16,45]} 
[2026-07-08 06:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568841472001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:25:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-07-08 06:25:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-07-08 06:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342094299745222656,"km_value":342094299745222.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5382857063178344448,"description":"Unknown IO ID 45"} 
[2026-07-08 06:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568841472001,"power":27767,"unknown_94":206,"unknown_84":6400,"ignition":38,"odometer":null,"unknown_45":-5382857063178344448}} 
[2026-07-08 06:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":127162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:25:38] local.INFO: GPS data processed {"connection_id":127162,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:25:38] local.INFO: Acknowledgment sent {"connection_id":127162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:26:42] local.INFO: TCP Data received {"connection_id":125065,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:26:42] local.INFO: Processing buffer {"connection_id":125065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:26:42] local.INFO: IMEI packet received {"connection_id":125065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":125065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:27:06] local.INFO: TCP Data received {"connection_id":125067,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:27:06] local.INFO: Processing buffer {"connection_id":125067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:27:06] local.INFO: IMEI packet received {"connection_id":125067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":125067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:27:27] local.INFO: TCP Data received {"connection_id":125066,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125066,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:27:27] local.INFO: Processing buffer {"connection_id":125066,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:27:27] local.INFO: IMEI packet received {"connection_id":125066,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 06:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":125066,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:27:57] local.INFO: TCP Data received {"connection_id":125148,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125148,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:27:57] local.INFO: Processing buffer {"connection_id":125148,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:27:57] local.INFO: IMEI packet received {"connection_id":125148,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 06:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":125148,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:32:09] local.INFO: TCP Data received {"connection_id":125901,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:32:09] local.INFO: Processing buffer {"connection_id":125901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:32:09] local.INFO: IMEI packet received {"connection_id":125901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":125901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:32:11] local.INFO: TCP Data received {"connection_id":125901,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f3e4f60012dad2c400549cce0000f012331..."} 
[2026-07-08 06:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f3e4f60012dad2c400549cce0000f012331..."} 
[2026-07-08 06:32:11] local.INFO: Processing buffer {"connection_id":125901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f3e4f60012dad2c400549cce0000f012331..."} 
[2026-07-08 06:32:11] local.INFO: Packet analysis {"connection_id":125901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f3e"} 
[2026-07-08 06:32:11] local.INFO: Extracted packet for processing {"connection_id":125901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f3e"} 
[2026-07-08 06:32:11] local.INFO: GPS Element Parsed {"raw_longitude":766323776,"raw_latitude":88722656,"longitude_deg":76.6323776,"latitude_deg":8.8722656,"altitude":15,"angle":291,"satellites":49,"speed":46,"hex_longitude":"2dad2c40","hex_latitude":"0549cce0","is_valid_coordinates":true} 
[2026-07-08 06:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568953088001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342120524815532032,"note":"Value kept but may cause issues"} 
[2026-07-08 06:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5964454733786007552,"note":"Value kept but may cause issues"} 
[2026-07-08 06:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783472476000,"timestamp_ms":1783472476000,"timestamp_seconds":1783472476,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f3e4f60"} 
[2026-07-08 06:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 06:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568953088001,"66":27647,"152":206,"84":6400,"24":46,"16":342120524815532032,"45":-5964454733786007552},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,84,24,16,45]} 
[2026-07-08 06:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568953088001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:32:11] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-08 06:32:11] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-07-08 06:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342120524815532032,"km_value":342120524815532.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5964454733786007552,"description":"Unknown IO ID 45"} 
[2026-07-08 06:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568953088001,"power":27647,"unknown_152":206,"unknown_84":6400,"ignition":46,"odometer":null,"unknown_45":-5964454733786007552}} 
[2026-07-08 06:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":125901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:32:11] local.INFO: GPS data processed {"connection_id":125901,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:32:11] local.INFO: Acknowledgment sent {"connection_id":125901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:32:42] local.INFO: TCP Data received {"connection_id":125901,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f3e6ea0012dad09800549de400010012731..."} 
[2026-07-08 06:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f3e6ea0012dad09800549de400010012731..."} 
[2026-07-08 06:32:42] local.INFO: Processing buffer {"connection_id":125901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f3e6ea0012dad09800549de400010012731..."} 
[2026-07-08 06:32:42] local.INFO: Packet analysis {"connection_id":125901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f3e"} 
[2026-07-08 06:32:42] local.INFO: Extracted packet for processing {"connection_id":125901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f3e"} 
[2026-07-08 06:32:42] local.INFO: GPS Element Parsed {"raw_longitude":766314880,"raw_latitude":88727104,"longitude_deg":76.631488,"latitude_deg":8.8727104,"altitude":16,"angle":295,"satellites":49,"speed":51,"hex_longitude":"2dad0980","hex_latitude":"0549de40","is_valid_coordinates":true} 
[2026-07-08 06:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568953856001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342121001556901888,"note":"Value kept but may cause issues"} 
[2026-07-08 06:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5968325014715572224,"note":"Value kept but may cause issues"} 
[2026-07-08 06:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783472484000,"timestamp_ms":1783472484000,"timestamp_seconds":1783472484,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f3e6ea0"} 
[2026-07-08 06:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 06:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":3028,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":125901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":125901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":125901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568953856001,"66":27821,"152":206,"84":6400,"24":51,"16":342121001556901888,"45":-5968325014715572224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,84,24,16,45]} 
[2026-07-08 06:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568953856001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:32:42] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-08 06:32:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-07-08 06:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342121001556901888,"km_value":342121001556901.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5968325014715572224,"description":"Unknown IO ID 45"} 
[2026-07-08 06:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568953856001,"power":27821,"unknown_152":206,"unknown_84":6400,"ignition":51,"odometer":null,"unknown_45":-5968325014715572224}} 
[2026-07-08 06:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":125901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:32:42] local.INFO: GPS data processed {"connection_id":125901,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:32:42] local.INFO: Acknowledgment sent {"connection_id":125901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:32:56] local.INFO: TCP Data received {"connection_id":127165,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:32:56] local.INFO: Processing buffer {"connection_id":127165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:32:56] local.INFO: IMEI packet received {"connection_id":127165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":127165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:33:01] local.INFO: TCP Data received {"connection_id":127165,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:33:01] local.INFO: Processing buffer {"connection_id":127165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:33:01] local.INFO: IMEI packet received {"connection_id":127165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":127165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:33:01] local.INFO: TCP Data received {"connection_id":127165,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:33:01] local.INFO: Processing buffer {"connection_id":127165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:33:01] local.INFO: IMEI packet received {"connection_id":127165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":127165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:33:23] local.INFO: TCP Data received {"connection_id":127165,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f3e89f8012dace8400549ee080010012830..."} 
[2026-07-08 06:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f3e89f8012dace8400549ee080010012830..."} 
[2026-07-08 06:33:23] local.INFO: Processing buffer {"connection_id":127165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f3e89f8012dace8400549ee080010012830..."} 
[2026-07-08 06:33:23] local.INFO: Packet analysis {"connection_id":127165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f3e"} 
[2026-07-08 06:33:23] local.INFO: Extracted packet for processing {"connection_id":127165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f3e"} 
[2026-07-08 06:33:23] local.INFO: GPS Element Parsed {"raw_longitude":766306368,"raw_latitude":88731144,"longitude_deg":76.6306368,"latitude_deg":8.8731144,"altitude":16,"angle":296,"satellites":48,"speed":53,"hex_longitude":"2dace840","hex_latitude":"0549ee08","is_valid_coordinates":true} 
[2026-07-08 06: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-07-08 06:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568955904001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342121452528467968,"note":"Value kept but may cause issues"} 
[2026-07-08 06:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5978106270155128832,"note":"Value kept but may cause issues"} 
[2026-07-08 06:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783472491000,"timestamp_ms":1783472491000,"timestamp_seconds":1783472491,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f3e89f8"} 
[2026-07-08 06:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:33:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 06:33:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06: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-07-08 06:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":127165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":127165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":127165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568955904001,"66":27767,"152":206,"84":6400,"24":53,"16":342121452528467968,"45":-5978106270155128832},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,84,24,16,45]} 
[2026-07-08 06:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568955904001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:33:23] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-08 06:33:23] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-07-08 06:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342121452528467968,"km_value":342121452528467.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5978106270155128832,"description":"Unknown IO ID 45"} 
[2026-07-08 06:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568955904001,"power":27767,"unknown_152":206,"unknown_84":6400,"ignition":53,"odometer":null,"unknown_45":-5978106270155128832}} 
[2026-07-08 06:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":127165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:33:23] local.INFO: GPS data processed {"connection_id":127165,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:33:23] local.INFO: Acknowledgment sent {"connection_id":127165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:33:27] local.INFO: TCP Data received {"connection_id":125903,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125903,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:33:27] local.INFO: Processing buffer {"connection_id":125903,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:33:27] local.INFO: IMEI packet received {"connection_id":125903,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 06:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":125903,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:33:32] local.INFO: TCP Data received {"connection_id":127165,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f3ea550012dacc8c00549fd88000f01282e..."} 
[2026-07-08 06:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f3ea550012dacc8c00549fd88000f01282e..."} 
[2026-07-08 06:33:32] local.INFO: Processing buffer {"connection_id":127165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f3ea550012dacc8c00549fd88000f01282e..."} 
[2026-07-08 06:33:32] local.INFO: Packet analysis {"connection_id":127165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f3e"} 
[2026-07-08 06:33:32] local.INFO: Extracted packet for processing {"connection_id":127165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f3e"} 
[2026-07-08 06:33:32] local.INFO: GPS Element Parsed {"raw_longitude":766298304,"raw_latitude":88735112,"longitude_deg":76.6298304,"latitude_deg":8.8735112,"altitude":15,"angle":296,"satellites":46,"speed":49,"hex_longitude":"2dacc8c0","hex_latitude":"0549fd88","is_valid_coordinates":true} 
[2026-07-08 06:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568957696001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342121886320164864,"note":"Value kept but may cause issues"} 
[2026-07-08 06:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5987465313129723904,"note":"Value kept but may cause issues"} 
[2026-07-08 06:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783472498000,"timestamp_ms":1783472498000,"timestamp_seconds":1783472498,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f3ea550"} 
[2026-07-08 06:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 06:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06: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-07-08 06:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568957696001,"66":27658,"152":206,"84":6400,"24":49,"16":342121886320164864,"45":-5987465313129723904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,84,24,16,45]} 
[2026-07-08 06:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568957696001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:33:32] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-08 06:33:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-07-08 06:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342121886320164864,"km_value":342121886320164.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5987465313129723904,"description":"Unknown IO ID 45"} 
[2026-07-08 06:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568957696001,"power":27658,"unknown_152":206,"unknown_84":6400,"ignition":49,"odometer":null,"unknown_45":-5987465313129723904}} 
[2026-07-08 06:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":127165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:33:32] local.INFO: GPS data processed {"connection_id":127165,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:33:32] local.INFO: Acknowledgment sent {"connection_id":127165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:34:02] local.INFO: TCP Data received {"connection_id":125152,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125152,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:34:02] local.INFO: Processing buffer {"connection_id":125152,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:34:02] local.INFO: IMEI packet received {"connection_id":125152,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 06:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":125152,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:34:07] local.INFO: TCP Data received {"connection_id":125904,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:34:07] local.INFO: Processing buffer {"connection_id":125904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:34:07] local.INFO: IMEI packet received {"connection_id":125904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":125904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:34:08] local.INFO: TCP Data received {"connection_id":125904,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:34:08] local.INFO: Processing buffer {"connection_id":125904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:34:08] local.INFO: IMEI packet received {"connection_id":125904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":125904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:34:11] local.INFO: TCP Data received {"connection_id":125904,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:34:11] local.INFO: Processing buffer {"connection_id":125904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:34:11] local.INFO: IMEI packet received {"connection_id":125904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":125904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:34:12] local.INFO: TCP Data received {"connection_id":125904,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f3fd600012dab4a00054a60a0001301062e..."} 
[2026-07-08 06:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f3fd600012dab4a00054a60a0001301062e..."} 
[2026-07-08 06:34:12] local.INFO: Processing buffer {"connection_id":125904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f3fd600012dab4a00054a60a0001301062e..."} 
[2026-07-08 06:34:12] local.INFO: Packet analysis {"connection_id":125904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f3f"} 
[2026-07-08 06:34:12] local.INFO: Extracted packet for processing {"connection_id":125904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f3f"} 
[2026-07-08 06:34:12] local.INFO: GPS Element Parsed {"raw_longitude":766200320,"raw_latitude":88760480,"longitude_deg":76.620032,"latitude_deg":8.876048,"altitude":19,"angle":262,"satellites":46,"speed":44,"hex_longitude":"2dab4a00","hex_latitude":"054a60a0","is_valid_coordinates":true} 
[2026-07-08 06: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-07-08 06:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568977664001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342126924316803072,"note":"Value kept but may cause issues"} 
[2026-07-08 06:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6094144329295212544,"note":"Value kept but may cause issues"} 
[2026-07-08 06:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783472576000,"timestamp_ms":1783472576000,"timestamp_seconds":1783472576,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f3fd600"} 
[2026-07-08 06:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 06:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06: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-07-08 06:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568977664001,"66":27767,"34":206,"84":6144,"24":44,"16":342126924316803072,"45":-6094144329295212544},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,84,24,16,45]} 
[2026-07-08 06:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568977664001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:34:12] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-08 06:34:12] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342126924316803072,"km_value":342126924316803.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6094144329295212544,"description":"Unknown IO ID 45"} 
[2026-07-08 06:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568977664001,"power":27767,"unknown_34":206,"unknown_84":6144,"ignition":44,"odometer":null,"unknown_45":-6094144329295212544}} 
[2026-07-08 06:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":125904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:34:12] local.INFO: GPS data processed {"connection_id":125904,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:34:12] local.INFO: Acknowledgment sent {"connection_id":125904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:34:55] local.INFO: TCP Data received {"connection_id":125153,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:34:55] local.INFO: Processing buffer {"connection_id":125153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:34:55] local.INFO: IMEI packet received {"connection_id":125153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":125153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:34:56] local.INFO: TCP Data received {"connection_id":125153,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:34:56] local.INFO: Processing buffer {"connection_id":125153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:34:56] local.INFO: IMEI packet received {"connection_id":125153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":125153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:35:02] local.INFO: TCP Data received {"connection_id":125153,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:35:02] local.INFO: Processing buffer {"connection_id":125153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:35:02] local.INFO: IMEI packet received {"connection_id":125153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":125153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:35:03] local.INFO: TCP Data received {"connection_id":125153,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f3ff540012dab2600054a5b80001401022d..."} 
[2026-07-08 06:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f3ff540012dab2600054a5b80001401022d..."} 
[2026-07-08 06:35:03] local.INFO: Processing buffer {"connection_id":125153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f3ff540012dab2600054a5b80001401022d..."} 
[2026-07-08 06:35:03] local.INFO: Packet analysis {"connection_id":125153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f3f"} 
[2026-07-08 06:35:03] local.INFO: Extracted packet for processing {"connection_id":125153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f3f"} 
[2026-07-08 06:35:03] local.INFO: GPS Element Parsed {"raw_longitude":766191104,"raw_latitude":88759168,"longitude_deg":76.6191104,"latitude_deg":8.8759168,"altitude":20,"angle":258,"satellites":45,"speed":41,"hex_longitude":"2dab2600","hex_latitude":"054a5b80","is_valid_coordinates":true} 
[2026-07-08 06: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-07-08 06:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456568979456001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342127370993401856,"note":"Value kept but may cause issues"} 
[2026-07-08 06:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6104066322224603136,"note":"Value kept but may cause issues"} 
[2026-07-08 06:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783472584000,"timestamp_ms":1783472584000,"timestamp_seconds":1783472584,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f3ff540"} 
[2026-07-08 06:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 06:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06: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-07-08 06:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456568979456001,"66":27767,"34":206,"84":6144,"24":41,"16":342127370993401856,"45":-6104066322224603136},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,84,24,16,45]} 
[2026-07-08 06:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456568979456001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:35:03] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-08 06:35:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342127370993401856,"km_value":342127370993401.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6104066322224603136,"description":"Unknown IO ID 45"} 
[2026-07-08 06:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456568979456001,"power":27767,"unknown_34":206,"unknown_84":6144,"ignition":41,"odometer":null,"unknown_45":-6104066322224603136}} 
[2026-07-08 06:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":125153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:35:03] local.INFO: GPS data processed {"connection_id":125153,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:35:03] local.INFO: Acknowledgment sent {"connection_id":125153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:35:36] local.INFO: TCP Data received {"connection_id":125153,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f416088012da989c0054ac3580011012531..."} 
[2026-07-08 06:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f416088012da989c0054ac3580011012531..."} 
[2026-07-08 06:35:36] local.INFO: Processing buffer {"connection_id":125153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f416088012da989c0054ac3580011012531..."} 
[2026-07-08 06:35:36] local.INFO: Packet analysis {"connection_id":125153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f41"} 
[2026-07-08 06:35:36] local.INFO: Extracted packet for processing {"connection_id":125153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f41"} 
[2026-07-08 06:35:36] local.INFO: GPS Element Parsed {"raw_longitude":766085568,"raw_latitude":88785752,"longitude_deg":76.6085568,"latitude_deg":8.8785752,"altitude":17,"angle":293,"satellites":49,"speed":35,"hex_longitude":"2da989c0","hex_latitude":"054ac358","is_valid_coordinates":true} 
[2026-07-08 06: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-07-08 06:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569002752001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342132683867947008,"note":"Value kept but may cause issues"} 
[2026-07-08 06:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6220737700065617920,"note":"Value kept but may cause issues"} 
[2026-07-08 06:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783472677000,"timestamp_ms":1783472677000,"timestamp_seconds":1783472677,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f416088"} 
[2026-07-08 06:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 06:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06: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-07-08 06:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569002752001,"66":27713,"115":206,"84":6144,"24":35,"16":342132683867947008,"45":-6220737700065617920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-07-08 06:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569002752001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:35:36] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-08 06:35:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342132683867947008,"km_value":342132683867947.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6220737700065617920,"description":"Unknown IO ID 45"} 
[2026-07-08 06:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569002752001,"power":27713,"unknown_115":206,"unknown_84":6144,"ignition":35,"odometer":null,"unknown_45":-6220737700065617920}} 
[2026-07-08 06:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":125153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:35:36] local.INFO: GPS data processed {"connection_id":125153,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:35:36] local.INFO: Acknowledgment sent {"connection_id":125153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:35:57] local.INFO: TCP Data received {"connection_id":125070,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:35:57] local.INFO: Processing buffer {"connection_id":125070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:35:57] local.INFO: IMEI packet received {"connection_id":125070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":125070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:36:01] local.INFO: TCP Data received {"connection_id":125070,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:36:01] local.INFO: Processing buffer {"connection_id":125070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:36:01] local.INFO: IMEI packet received {"connection_id":125070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":125070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:36:02] local.INFO: TCP Data received {"connection_id":125070,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f418798012da96640054ad1680011012332..."} 
[2026-07-08 06:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f418798012da96640054ad1680011012332..."} 
[2026-07-08 06:36:02] local.INFO: Processing buffer {"connection_id":125070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f418798012da96640054ad1680011012332..."} 
[2026-07-08 06:36:02] local.INFO: Packet analysis {"connection_id":125070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f41"} 
[2026-07-08 06:36:02] local.INFO: Extracted packet for processing {"connection_id":125070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f41"} 
[2026-07-08 06:36:02] local.INFO: GPS Element Parsed {"raw_longitude":766076480,"raw_latitude":88789352,"longitude_deg":76.607648,"latitude_deg":8.8789352,"altitude":17,"angle":291,"satellites":50,"speed":41,"hex_longitude":"2da96640","hex_latitude":"054ad168","is_valid_coordinates":true} 
[2026-07-08 06:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569005312001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342133152019382272,"note":"Value kept but may cause issues"} 
[2026-07-08 06:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6230237480528685056,"note":"Value kept but may cause issues"} 
[2026-07-08 06:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783472687000,"timestamp_ms":1783472687000,"timestamp_seconds":1783472687,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f418798"} 
[2026-07-08 06:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:36: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-07-08 06: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 06:36:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569005312001,"66":27767,"115":206,"84":6144,"24":41,"16":342133152019382272,"45":-6230237480528685056},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-07-08 06:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569005312001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:36:02] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-08 06:36:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342133152019382272,"km_value":342133152019382.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6230237480528685056,"description":"Unknown IO ID 45"} 
[2026-07-08 06:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569005312001,"power":27767,"unknown_115":206,"unknown_84":6144,"ignition":41,"odometer":null,"unknown_45":-6230237480528685056}} 
[2026-07-08 06:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":125070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:36:02] local.INFO: GPS data processed {"connection_id":125070,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:36:02] local.INFO: Acknowledgment sent {"connection_id":125070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:36:33] local.INFO: TCP Data received {"connection_id":125070,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f41aac0012da94340054adfe8001301242f..."} 
[2026-07-08 06:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f41aac0012da94340054adfe8001301242f..."} 
[2026-07-08 06:36:33] local.INFO: Processing buffer {"connection_id":125070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f41aac0012da94340054adfe8001301242f..."} 
[2026-07-08 06:36:33] local.INFO: Packet analysis {"connection_id":125070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f41"} 
[2026-07-08 06:36:33] local.INFO: Extracted packet for processing {"connection_id":125070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f41"} 
[2026-07-08 06:36:33] local.INFO: GPS Element Parsed {"raw_longitude":766067520,"raw_latitude":88793064,"longitude_deg":76.606752,"latitude_deg":8.8793064,"altitude":19,"angle":292,"satellites":47,"speed":44,"hex_longitude":"2da94340","hex_latitude":"054adfe8","is_valid_coordinates":true} 
[2026-07-08 06:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569007872001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342133620170817536,"note":"Value kept but may cause issues"} 
[2026-07-08 06:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6240229842200991744,"note":"Value kept but may cause issues"} 
[2026-07-08 06:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783472696000,"timestamp_ms":1783472696000,"timestamp_seconds":1783472696,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f41aac0"} 
[2026-07-08 06:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 06:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:36:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569007872001,"66":27745,"115":206,"84":6144,"24":44,"16":342133620170817536,"45":-6240229842200991744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-07-08 06:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569007872001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:36:33] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-08 06:36:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342133620170817536,"km_value":342133620170817.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6240229842200991744,"description":"Unknown IO ID 45"} 
[2026-07-08 06:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569007872001,"power":27745,"unknown_115":206,"unknown_84":6144,"ignition":44,"odometer":null,"unknown_45":-6240229842200991744}} 
[2026-07-08 06:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":125070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:36:33] local.INFO: GPS data processed {"connection_id":125070,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:36:33] local.INFO: Acknowledgment sent {"connection_id":125070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:37:01] local.INFO: TCP Data received {"connection_id":125154,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:37:01] local.INFO: Processing buffer {"connection_id":125154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:37:01] local.INFO: IMEI packet received {"connection_id":125154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":125154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:37:06] local.INFO: TCP Data received {"connection_id":125154,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:37:06] local.INFO: Processing buffer {"connection_id":125154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:37:06] local.INFO: IMEI packet received {"connection_id":125154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":125154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:37:07] local.INFO: TCP Data received {"connection_id":125154,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f41cde8012da92000054aed88001301222e..."} 
[2026-07-08 06:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f41cde8012da92000054aed88001301222e..."} 
[2026-07-08 06:37:07] local.INFO: Processing buffer {"connection_id":125154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f41cde8012da92000054aed88001301222e..."} 
[2026-07-08 06:37:07] local.INFO: Packet analysis {"connection_id":125154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f41"} 
[2026-07-08 06:37:07] local.INFO: Extracted packet for processing {"connection_id":125154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f41"} 
[2026-07-08 06:37:07] local.INFO: GPS Element Parsed {"raw_longitude":766058496,"raw_latitude":88796552,"longitude_deg":76.6058496,"latitude_deg":8.8796552,"altitude":19,"angle":290,"satellites":46,"speed":43,"hex_longitude":"2da92000","hex_latitude":"054aed88","is_valid_coordinates":true} 
[2026-07-08 06:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569010176001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342134084027285504,"note":"Value kept but may cause issues"} 
[2026-07-08 06:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6250081466384914432,"note":"Value kept but may cause issues"} 
[2026-07-08 06:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783472705000,"timestamp_ms":1783472705000,"timestamp_seconds":1783472705,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f41cde8"} 
[2026-07-08 06:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 06:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569010176001,"66":27789,"115":206,"84":6144,"24":43,"16":342134084027285504,"45":-6250081466384914432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-07-08 06:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569010176001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:37:07] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-08 06:37:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342134084027285504,"km_value":342134084027285.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6250081466384914432,"description":"Unknown IO ID 45"} 
[2026-07-08 06:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569010176001,"power":27789,"unknown_115":206,"unknown_84":6144,"ignition":43,"odometer":null,"unknown_45":-6250081466384914432}} 
[2026-07-08 06:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":125154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:37:07] local.INFO: GPS data processed {"connection_id":125154,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:37:07] local.INFO: Acknowledgment sent {"connection_id":125154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:37:39] local.INFO: TCP Data received {"connection_id":125154,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f436428012da79440054b8538000f014e30..."} 
[2026-07-08 06:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f436428012da79440054b8538000f014e30..."} 
[2026-07-08 06:37:39] local.INFO: Processing buffer {"connection_id":125154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f436428012da79440054b8538000f014e30..."} 
[2026-07-08 06:37:39] local.INFO: Packet analysis {"connection_id":125154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f43"} 
[2026-07-08 06:37:39] local.INFO: Extracted packet for processing {"connection_id":125154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f43"} 
[2026-07-08 06:37:39] local.INFO: GPS Element Parsed {"raw_longitude":765957184,"raw_latitude":88835384,"longitude_deg":76.5957184,"latitude_deg":8.8835384,"altitude":15,"angle":334,"satellites":48,"speed":40,"hex_longitude":"2da79440","hex_latitude":"054b8538","is_valid_coordinates":true} 
[2026-07-08 06:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569038080001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342139465621307392,"note":"Value kept but may cause issues"} 
[2026-07-08 06:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6368441694081761280,"note":"Value kept but may cause issues"} 
[2026-07-08 06:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783472809000,"timestamp_ms":1783472809000,"timestamp_seconds":1783472809,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f436428"} 
[2026-07-08 06:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 06:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569038080001,"66":27713,"76":206,"84":6144,"24":40,"16":342139465621307392,"45":-6368441694081761280},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,84,24,16,45]} 
[2026-07-08 06:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569038080001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:37:39] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-07-08 06:37:39] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342139465621307392,"km_value":342139465621307.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6368441694081761280,"description":"Unknown IO ID 45"} 
[2026-07-08 06:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569038080001,"power":27713,"unknown_76":206,"unknown_84":6144,"ignition":40,"odometer":null,"unknown_45":-6368441694081761280}} 
[2026-07-08 06:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":125154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:37:39] local.INFO: GPS data processed {"connection_id":125154,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:37:39] local.INFO: Acknowledgment sent {"connection_id":125154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:37:57] local.INFO: TCP Data received {"connection_id":125155,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:37:57] local.INFO: Processing buffer {"connection_id":125155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:37:57] local.INFO: IMEI packet received {"connection_id":125155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":125155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:38:07] local.INFO: TCP Data received {"connection_id":125155,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:38:07] local.INFO: Processing buffer {"connection_id":125155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:38:07] local.INFO: IMEI packet received {"connection_id":125155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":125155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:38:15] local.INFO: TCP Data received {"connection_id":125155,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f436bf8012da79240054b8d08000f016430..."} 
[2026-07-08 06:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f436bf8012da79240054b8d08000f016430..."} 
[2026-07-08 06:38:15] local.INFO: Processing buffer {"connection_id":125155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f436bf8012da79240054b8d08000f016430..."} 
[2026-07-08 06:38:15] local.INFO: Packet analysis {"connection_id":125155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f43"} 
[2026-07-08 06:38:15] local.INFO: Extracted packet for processing {"connection_id":125155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f43"} 
[2026-07-08 06:38:15] local.INFO: GPS Element Parsed {"raw_longitude":765956672,"raw_latitude":88837384,"longitude_deg":76.5956672,"latitude_deg":8.8837384,"altitude":15,"angle":356,"satellites":48,"speed":42,"hex_longitude":"2da79240","hex_latitude":"054b8d08","is_valid_coordinates":true} 
[2026-07-08 06:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569039104001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342139564405555200,"note":"Value kept but may cause issues"} 
[2026-07-08 06:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6371397181336373248,"note":"Value kept but may cause issues"} 
[2026-07-08 06:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783472811000,"timestamp_ms":1783472811000,"timestamp_seconds":1783472811,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f436bf8"} 
[2026-07-08 06:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 06:38:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:38:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":125155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":125155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":125155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569039104001,"66":27463,"76":206,"84":6144,"24":42,"16":342139564405555200,"45":-6371397181336373248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,84,24,16,45]} 
[2026-07-08 06:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569039104001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:38:15] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-07-08 06:38:15] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342139564405555200,"km_value":342139564405555.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6371397181336373248,"description":"Unknown IO ID 45"} 
[2026-07-08 06:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569039104001,"power":27463,"unknown_76":206,"unknown_84":6144,"ignition":42,"odometer":null,"unknown_45":-6371397181336373248}} 
[2026-07-08 06:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":125155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:38:15] local.INFO: GPS data processed {"connection_id":125155,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:38:15] local.INFO: Acknowledgment sent {"connection_id":125155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:38:56] local.INFO: TCP Data received {"connection_id":125906,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:38:56] local.INFO: Processing buffer {"connection_id":125906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:38:56] local.INFO: IMEI packet received {"connection_id":125906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":125906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:38:57] local.INFO: TCP Data received {"connection_id":125906,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:38:57] local.INFO: Processing buffer {"connection_id":125906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:38:57] local.INFO: IMEI packet received {"connection_id":125906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":125906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:39:00] local.INFO: TCP Data received {"connection_id":125906,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:39:00] local.INFO: Processing buffer {"connection_id":125906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:39:00] local.INFO: IMEI packet received {"connection_id":125906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":125906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:39:01] local.INFO: TCP Data received {"connection_id":125906,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:39:01] local.INFO: Processing buffer {"connection_id":125906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:39:01] local.INFO: IMEI packet received {"connection_id":125906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":125906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:39:02] local.INFO: TCP Data received {"connection_id":125906,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f447598012da71240054bc1880015010830..."} 
[2026-07-08 06:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f447598012da71240054bc1880015010830..."} 
[2026-07-08 06:39:02] local.INFO: Processing buffer {"connection_id":125906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f447598012da71240054bc1880015010830..."} 
[2026-07-08 06:39:02] local.INFO: Packet analysis {"connection_id":125906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f44"} 
[2026-07-08 06:39:02] local.INFO: Extracted packet for processing {"connection_id":125906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f44"} 
[2026-07-08 06:39:02] local.INFO: GPS Element Parsed {"raw_longitude":765923904,"raw_latitude":88850824,"longitude_deg":76.5923904,"latitude_deg":8.8850824,"altitude":21,"angle":264,"satellites":48,"speed":29,"hex_longitude":"2da71240","hex_latitude":"054bc188","is_valid_coordinates":true} 
[2026-07-08 06:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569053952001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342141806378483712,"note":"Value kept but may cause issues"} 
[2026-07-08 06:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6397996566631286784,"note":"Value kept but may cause issues"} 
[2026-07-08 06:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783472879000,"timestamp_ms":1783472879000,"timestamp_seconds":1783472879,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f447598"} 
[2026-07-08 06:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:39: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-07-08 06:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 06:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569053952001,"66":27843,"145":206,"84":6144,"24":29,"16":342141806378483712,"45":-6397996566631286784},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,84,24,16,45]} 
[2026-07-08 06:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569053952001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:39:02] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-08 06:39:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342141806378483712,"km_value":342141806378483.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6397996566631286784,"description":"Unknown IO ID 45"} 
[2026-07-08 06:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569053952001,"power":27843,"unknown_145":206,"unknown_84":6144,"ignition":29,"odometer":null,"unknown_45":-6397996566631286784}} 
[2026-07-08 06:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":125906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:39:02] local.INFO: GPS data processed {"connection_id":125906,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:39:02] local.INFO: Acknowledgment sent {"connection_id":125906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:39:03] local.INFO: TCP Data received {"connection_id":125906,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f448920012da70440054bc1b0001701152c..."} 
[2026-07-08 06:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f448920012da70440054bc1b0001701152c..."} 
[2026-07-08 06:39:03] local.INFO: Processing buffer {"connection_id":125906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f448920012da70440054bc1b0001701152c..."} 
[2026-07-08 06:39:03] local.INFO: Packet analysis {"connection_id":125906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f44"} 
[2026-07-08 06:39:03] local.INFO: Extracted packet for processing {"connection_id":125906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f44"} 
[2026-07-08 06:39:03] local.INFO: GPS Element Parsed {"raw_longitude":765920320,"raw_latitude":88850864,"longitude_deg":76.592032,"latitude_deg":8.8850864,"altitude":23,"angle":277,"satellites":44,"speed":26,"hex_longitude":"2da70440","hex_latitude":"054bc1b0","is_valid_coordinates":true} 
[2026-07-08 06: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-07-08 06:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569057024001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342141978177175552,"note":"Value kept but may cause issues"} 
[2026-07-08 06:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6407988928304805888,"note":"Value kept but may cause issues"} 
[2026-07-08 06:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783472884000,"timestamp_ms":1783472884000,"timestamp_seconds":1783472884,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f448920"} 
[2026-07-08 06:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 06:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06: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-07-08 06:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569057024001,"66":27691,"145":206,"84":6144,"24":26,"16":342141978177175552,"45":-6407988928304805888},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,84,24,16,45]} 
[2026-07-08 06:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569057024001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:39:03] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-08 06:39:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342141978177175552,"km_value":342141978177175.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6407988928304805888,"description":"Unknown IO ID 45"} 
[2026-07-08 06:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569057024001,"power":27691,"unknown_145":206,"unknown_84":6144,"ignition":26,"odometer":null,"unknown_45":-6407988928304805888}} 
[2026-07-08 06:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":125906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:39:03] local.INFO: GPS data processed {"connection_id":125906,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:39:03] local.INFO: Acknowledgment sent {"connection_id":125906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:39:22] local.INFO: TCP Data received {"connection_id":125907,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125907,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:39:22] local.INFO: Processing buffer {"connection_id":125907,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:39:22] local.INFO: IMEI packet received {"connection_id":125907,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 06:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":125907,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:39:47] local.INFO: TCP Data received {"connection_id":125906,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f44a860012da6f280054bc4a80015012231..."} 
[2026-07-08 06:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f44a860012da6f280054bc4a80015012231..."} 
[2026-07-08 06:39:47] local.INFO: Processing buffer {"connection_id":125906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f44a860012da6f280054bc4a80015012231..."} 
[2026-07-08 06:39:47] local.INFO: Packet analysis {"connection_id":125906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f44"} 
[2026-07-08 06:39:47] local.INFO: Extracted packet for processing {"connection_id":125906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f44"} 
[2026-07-08 06:39:47] local.INFO: GPS Element Parsed {"raw_longitude":765915776,"raw_latitude":88851624,"longitude_deg":76.5915776,"latitude_deg":8.8851624,"altitude":21,"angle":290,"satellites":49,"speed":25,"hex_longitude":"2da6f280","hex_latitude":"054bc4a8","is_valid_coordinates":true} 
[2026-07-08 06:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569058304001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342142201515474944,"note":"Value kept but may cause issues"} 
[2026-07-08 06:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6411929577978744832,"note":"Value kept but may cause issues"} 
[2026-07-08 06:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783472892000,"timestamp_ms":1783472892000,"timestamp_seconds":1783472892,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f44a860"} 
[2026-07-08 06:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 06:39:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":125906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":125906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":125906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569058304001,"66":27669,"145":206,"84":6144,"24":25,"16":342142201515474944,"45":-6411929577978744832},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,84,24,16,45]} 
[2026-07-08 06:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569058304001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:39:47] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-08 06:39:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342142201515474944,"km_value":342142201515474.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6411929577978744832,"description":"Unknown IO ID 45"} 
[2026-07-08 06:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569058304001,"power":27669,"unknown_145":206,"unknown_84":6144,"ignition":25,"odometer":null,"unknown_45":-6411929577978744832}} 
[2026-07-08 06:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":125906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:39:47] local.INFO: GPS data processed {"connection_id":125906,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:39:47] local.INFO: Acknowledgment sent {"connection_id":125906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:39:56] local.INFO: TCP Data received {"connection_id":125158,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:39:56] local.INFO: Processing buffer {"connection_id":125158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:39:56] local.INFO: IMEI packet received {"connection_id":125158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":125158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:39:57] local.INFO: TCP Data received {"connection_id":125157,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125157,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:39:57] local.INFO: Processing buffer {"connection_id":125157,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:39:57] local.INFO: IMEI packet received {"connection_id":125157,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 06:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":125157,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:40:01] local.INFO: TCP Data received {"connection_id":125158,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:40:01] local.INFO: Processing buffer {"connection_id":125158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:40:01] local.INFO: IMEI packet received {"connection_id":125158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":125158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:40:01] local.INFO: TCP Data received {"connection_id":125158,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:40:01] local.INFO: Processing buffer {"connection_id":125158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:40:01] local.INFO: IMEI packet received {"connection_id":125158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":125158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:40:02] local.INFO: TCP Data received {"connection_id":125158,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f44b800012da6e880054bc978001401302f..."} 
[2026-07-08 06:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f44b800012da6e880054bc978001401302f..."} 
[2026-07-08 06:40:02] local.INFO: Processing buffer {"connection_id":125158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f44b800012da6e880054bc978001401302f..."} 
[2026-07-08 06:40:02] local.INFO: Packet analysis {"connection_id":125158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f44"} 
[2026-07-08 06:40:02] local.INFO: Extracted packet for processing {"connection_id":125158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f44"} 
[2026-07-08 06:40:02] local.INFO: GPS Element Parsed {"raw_longitude":765913216,"raw_latitude":88852856,"longitude_deg":76.5913216,"latitude_deg":8.8852856,"altitude":20,"angle":304,"satellites":47,"speed":29,"hex_longitude":"2da6e880","hex_latitude":"054bc978","is_valid_coordinates":true} 
[2026-07-08 06:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569060352001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342142334659461120,"note":"Value kept but may cause issues"} 
[2026-07-08 06:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6416925758815164416,"note":"Value kept but may cause issues"} 
[2026-07-08 06:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783472896000,"timestamp_ms":1783472896000,"timestamp_seconds":1783472896,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f44b800"} 
[2026-07-08 06:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:40: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-07-08 06: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":108,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-07-08 06:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":927,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569060352001,"66":27691,"144":206,"84":6144,"24":29,"16":342142334659461120,"45":-6416925758815164416},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,84,24,16,45]} 
[2026-07-08 06:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569060352001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:40:02] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-07-08 06:40:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342142334659461120,"km_value":342142334659461.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6416925758815164416,"description":"Unknown IO ID 45"} 
[2026-07-08 06:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569060352001,"power":27691,"unknown_144":206,"unknown_84":6144,"ignition":29,"odometer":null,"unknown_45":-6416925758815164416}} 
[2026-07-08 06:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":125158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:40:02] local.INFO: GPS data processed {"connection_id":125158,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:40:02] local.INFO: Acknowledgment sent {"connection_id":125158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:40:04] local.INFO: TCP Data received {"connection_id":125158,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f44c3b8012da6e200054bcf180013014031..."} 
[2026-07-08 06:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f44c3b8012da6e200054bcf180013014031..."} 
[2026-07-08 06:40:04] local.INFO: Processing buffer {"connection_id":125158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f44c3b8012da6e200054bcf180013014031..."} 
[2026-07-08 06:40:04] local.INFO: Packet analysis {"connection_id":125158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f44"} 
[2026-07-08 06:40:04] local.INFO: Extracted packet for processing {"connection_id":125158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f44"} 
[2026-07-08 06:40:04] local.INFO: GPS Element Parsed {"raw_longitude":765911552,"raw_latitude":88854296,"longitude_deg":76.5911552,"latitude_deg":8.8854296,"altitude":19,"angle":320,"satellites":49,"speed":30,"hex_longitude":"2da6e200","hex_latitude":"054bcf18","is_valid_coordinates":true} 
[2026-07-08 06: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-07-08 06:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569061376001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342142442033643520,"note":"Value kept but may cause issues"} 
[2026-07-08 06:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6419740508581955584,"note":"Value kept but may cause issues"} 
[2026-07-08 06:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783472899000,"timestamp_ms":1783472899000,"timestamp_seconds":1783472899,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f44c3b8"} 
[2026-07-08 06:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 06:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06: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-07-08 06:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569061376001,"66":27745,"144":206,"84":6144,"24":30,"16":342142442033643520,"45":-6419740508581955584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,84,24,16,45]} 
[2026-07-08 06:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569061376001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:40:04] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-07-08 06:40:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342142442033643520,"km_value":342142442033643.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6419740508581955584,"description":"Unknown IO ID 45"} 
[2026-07-08 06:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569061376001,"power":27745,"unknown_144":206,"unknown_84":6144,"ignition":30,"odometer":null,"unknown_45":-6419740508581955584}} 
[2026-07-08 06:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":125158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:40:04] local.INFO: GPS data processed {"connection_id":125158,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:40:04] local.INFO: Acknowledgment sent {"connection_id":125158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:40:42] local.INFO: TCP Data received {"connection_id":125158,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f45f850012da61ec0054c4fd80008013b2b..."} 
[2026-07-08 06:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f45f850012da61ec0054c4fd80008013b2b..."} 
[2026-07-08 06:40:42] local.INFO: Processing buffer {"connection_id":125158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f45f850012da61ec0054c4fd80008013b2b..."} 
[2026-07-08 06:40:42] local.INFO: Packet analysis {"connection_id":125158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f45"} 
[2026-07-08 06:40:42] local.INFO: Extracted packet for processing {"connection_id":125158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f45"} 
[2026-07-08 06:40:42] local.INFO: GPS Element Parsed {"raw_longitude":765861568,"raw_latitude":88887256,"longitude_deg":76.5861568,"latitude_deg":8.8887256,"altitude":8,"angle":315,"satellites":43,"speed":46,"hex_longitude":"2da61ec0","hex_latitude":"054c4fd8","is_valid_coordinates":true} 
[2026-07-08 06: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-07-08 06:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569079808001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342145667554082816,"note":"Value kept but may cause issues"} 
[2026-07-08 06:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6468857892010944512,"note":"Value kept but may cause issues"} 
[2026-07-08 06:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783472978000,"timestamp_ms":1783472978000,"timestamp_seconds":1783472978,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f45f850"} 
[2026-07-08 06:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 06:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":125158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":125158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":125158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569079808001,"66":27669,"219":206,"84":6144,"24":46,"16":342145667554082816,"45":-6468857892010944512},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,84,24,16,45]} 
[2026-07-08 06:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569079808001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:40:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-08 06:40:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342145667554082816,"km_value":342145667554082.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6468857892010944512,"description":"Unknown IO ID 45"} 
[2026-07-08 06:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569079808001,"power":27669,"unknown_219":206,"unknown_84":6144,"ignition":46,"odometer":null,"unknown_45":-6468857892010944512}} 
[2026-07-08 06:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":125158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:40:42] local.INFO: GPS data processed {"connection_id":125158,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:40:42] local.INFO: Acknowledgment sent {"connection_id":125158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:41:02] local.INFO: TCP Data received {"connection_id":125072,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:41:02] local.INFO: Processing buffer {"connection_id":125072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:41:02] local.INFO: IMEI packet received {"connection_id":125072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":125072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:41:02] local.INFO: TCP Data received {"connection_id":125072,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:41:02] local.INFO: Processing buffer {"connection_id":125072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:41:02] local.INFO: IMEI packet received {"connection_id":125072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":125072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:41:06] local.INFO: TCP Data received {"connection_id":125072,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:41:06] local.INFO: Processing buffer {"connection_id":125072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:41:06] local.INFO: IMEI packet received {"connection_id":125072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":125072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:41:07] local.INFO: TCP Data received {"connection_id":125072,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f460fc0012da60b80054c6258000a012e2c..."} 
[2026-07-08 06:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f460fc0012da60b80054c6258000a012e2c..."} 
[2026-07-08 06:41:07] local.INFO: Processing buffer {"connection_id":125072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f460fc0012da60b80054c6258000a012e2c..."} 
[2026-07-08 06:41:07] local.INFO: Packet analysis {"connection_id":125072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f46"} 
[2026-07-08 06:41:07] local.INFO: Extracted packet for processing {"connection_id":125072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f46"} 
[2026-07-08 06:41:07] local.INFO: GPS Element Parsed {"raw_longitude":765856640,"raw_latitude":88891992,"longitude_deg":76.585664,"latitude_deg":8.8891992,"altitude":10,"angle":302,"satellites":44,"speed":45,"hex_longitude":"2da60b80","hex_latitude":"054c6258","is_valid_coordinates":true} 
[2026-07-08 06:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569082368001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342145998266564608,"note":"Value kept but may cause issues"} 
[2026-07-08 06:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6476528085124524032,"note":"Value kept but may cause issues"} 
[2026-07-08 06:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783472984000,"timestamp_ms":1783472984000,"timestamp_seconds":1783472984,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f460fc0"} 
[2026-07-08 06:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-07-08 06:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":927,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569082368001,"66":27713,"219":206,"84":6144,"24":45,"16":342145998266564608,"45":-6476528085124524032},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,84,24,16,45]} 
[2026-07-08 06:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569082368001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:41:07] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-08 06:41:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342145998266564608,"km_value":342145998266564.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6476528085124524032,"description":"Unknown IO ID 45"} 
[2026-07-08 06:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569082368001,"power":27713,"unknown_219":206,"unknown_84":6144,"ignition":45,"odometer":null,"unknown_45":-6476528085124524032}} 
[2026-07-08 06:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":125072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:41:07] local.INFO: GPS data processed {"connection_id":125072,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:41:07] local.INFO: Acknowledgment sent {"connection_id":125072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:41:11] local.INFO: TCP Data received {"connection_id":125072,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f4632e8012da5ebc0054c7250000f01292a..."} 
[2026-07-08 06:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f4632e8012da5ebc0054c7250000f01292a..."} 
[2026-07-08 06:41:11] local.INFO: Processing buffer {"connection_id":125072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f4632e8012da5ebc0054c7250000f01292a..."} 
[2026-07-08 06:41:11] local.INFO: Packet analysis {"connection_id":125072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f46"} 
[2026-07-08 06:41:11] local.INFO: Extracted packet for processing {"connection_id":125072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f46"} 
[2026-07-08 06:41:11] local.INFO: GPS Element Parsed {"raw_longitude":765848512,"raw_latitude":88896080,"longitude_deg":76.5848512,"latitude_deg":8.889608,"altitude":15,"angle":297,"satellites":42,"speed":31,"hex_longitude":"2da5ebc0","hex_latitude":"054c7250","is_valid_coordinates":true} 
[2026-07-08 06:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569083904001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342146432058261504,"note":"Value kept but may cause issues"} 
[2026-07-08 06:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6481946478424991744,"note":"Value kept but may cause issues"} 
[2026-07-08 06:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783472993000,"timestamp_ms":1783472993000,"timestamp_seconds":1783472993,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f4632e8"} 
[2026-07-08 06:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 06:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:41:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569083904001,"66":27745,"219":206,"84":6144,"24":31,"16":342146432058261504,"45":-6481946478424991744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,84,24,16,45]} 
[2026-07-08 06:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569083904001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:41:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-08 06:41:11] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342146432058261504,"km_value":342146432058261.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6481946478424991744,"description":"Unknown IO ID 45"} 
[2026-07-08 06:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569083904001,"power":27745,"unknown_219":206,"unknown_84":6144,"ignition":31,"odometer":null,"unknown_45":-6481946478424991744}} 
[2026-07-08 06:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":125072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:41:11] local.INFO: GPS data processed {"connection_id":125072,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:41:11] local.INFO: Acknowledgment sent {"connection_id":125072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:41:55] local.INFO: TCP Data received {"connection_id":125073,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:41:55] local.INFO: Processing buffer {"connection_id":125073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:41:55] local.INFO: IMEI packet received {"connection_id":125073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":125073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:41:56] local.INFO: TCP Data received {"connection_id":125073,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:41:56] local.INFO: Processing buffer {"connection_id":125073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:41:56] local.INFO: IMEI packet received {"connection_id":125073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":125073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:42:02] local.INFO: TCP Data received {"connection_id":125073,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:42:02] local.INFO: Processing buffer {"connection_id":125073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:42:02] local.INFO: IMEI packet received {"connection_id":125073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":125073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:42:03] local.INFO: TCP Data received {"connection_id":125073,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f472ce8012da50a40054ce2f8000e01292e..."} 
[2026-07-08 06:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f472ce8012da50a40054ce2f8000e01292e..."} 
[2026-07-08 06:42:03] local.INFO: Processing buffer {"connection_id":125073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f472ce8012da50a40054ce2f8000e01292e..."} 
[2026-07-08 06:42:03] local.INFO: Packet analysis {"connection_id":125073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f47"} 
[2026-07-08 06:42:03] local.INFO: Extracted packet for processing {"connection_id":125073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f47"} 
[2026-07-08 06:42:03] local.INFO: GPS Element Parsed {"raw_longitude":765790784,"raw_latitude":88924920,"longitude_deg":76.5790784,"latitude_deg":8.892492,"altitude":14,"angle":297,"satellites":46,"speed":42,"hex_longitude":"2da50a40","hex_latitude":"054ce2f8","is_valid_coordinates":true} 
[2026-07-08 06:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569100544001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342149550204518400,"note":"Value kept but may cause issues"} 
[2026-07-08 06:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6545207979433342976,"note":"Value kept but may cause issues"} 
[2026-07-08 06:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783473057000,"timestamp_ms":1783473057000,"timestamp_seconds":1783473057,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f472ce8"} 
[2026-07-08 06:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 06:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569100544001,"66":27767,"214":206,"84":6144,"24":42,"16":342149550204518400,"45":-6545207979433342976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,84,24,16,45]} 
[2026-07-08 06:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569100544001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:42:03] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-08 06:42:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342149550204518400,"km_value":342149550204518.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6545207979433342976,"description":"Unknown IO ID 45"} 
[2026-07-08 06:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569100544001,"power":27767,"unknown_214":206,"unknown_84":6144,"ignition":42,"odometer":null,"unknown_45":-6545207979433342976}} 
[2026-07-08 06:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":125073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:42:03] local.INFO: GPS data processed {"connection_id":125073,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:42:03] local.INFO: Acknowledgment sent {"connection_id":125073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:42:07] local.INFO: TCP Data received {"connection_id":125073,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f475010012da4e780054cf240000e011e32..."} 
[2026-07-08 06:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f475010012da4e780054cf240000e011e32..."} 
[2026-07-08 06:42:07] local.INFO: Processing buffer {"connection_id":125073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f475010012da4e780054cf240000e011e32..."} 
[2026-07-08 06:42:07] local.INFO: Packet analysis {"connection_id":125073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f47"} 
[2026-07-08 06:42:07] local.INFO: Extracted packet for processing {"connection_id":125073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f47"} 
[2026-07-08 06:42:07] local.INFO: GPS Element Parsed {"raw_longitude":765781888,"raw_latitude":88928832,"longitude_deg":76.5781888,"latitude_deg":8.8928832,"altitude":14,"angle":286,"satellites":50,"speed":44,"hex_longitude":"2da4e780","hex_latitude":"054cf240","is_valid_coordinates":true} 
[2026-07-08 06:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569102592001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342150018355953664,"note":"Value kept but may cause issues"} 
[2026-07-08 06:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6554355916175378432,"note":"Value kept but may cause issues"} 
[2026-07-08 06:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783473066000,"timestamp_ms":1783473066000,"timestamp_seconds":1783473066,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f475010"} 
[2026-07-08 06:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 06:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569102592001,"66":27539,"214":206,"84":6144,"24":44,"16":342150018355953664,"45":-6554355916175378432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,84,24,16,45]} 
[2026-07-08 06:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569102592001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:42:07] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-08 06:42:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342150018355953664,"km_value":342150018355953.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6554355916175378432,"description":"Unknown IO ID 45"} 
[2026-07-08 06:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569102592001,"power":27539,"unknown_214":206,"unknown_84":6144,"ignition":44,"odometer":null,"unknown_45":-6554355916175378432}} 
[2026-07-08 06:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":125073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:42:07] local.INFO: GPS data processed {"connection_id":125073,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:42:07] local.INFO: Acknowledgment sent {"connection_id":125073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:42:38] local.INFO: TCP Data received {"connection_id":125073,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f475010012da4e780054cf240000e011e32..."} 
[2026-07-08 06:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f475010012da4e780054cf240000e011e32..."} 
[2026-07-08 06:42:38] local.INFO: Processing buffer {"connection_id":125073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f475010012da4e780054cf240000e011e32..."} 
[2026-07-08 06:42:38] local.INFO: Packet analysis {"connection_id":125073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f47"} 
[2026-07-08 06:42:38] local.INFO: Extracted packet for processing {"connection_id":125073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f47"} 
[2026-07-08 06:42:38] local.INFO: GPS Element Parsed {"raw_longitude":765781888,"raw_latitude":88928832,"longitude_deg":76.5781888,"latitude_deg":8.8928832,"altitude":14,"angle":286,"satellites":50,"speed":44,"hex_longitude":"2da4e780","hex_latitude":"054cf240","is_valid_coordinates":true} 
[2026-07-08 06:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569104896001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342150018355953664,"note":"Value kept but may cause issues"} 
[2026-07-08 06:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6564137171615072256,"note":"Value kept but may cause issues"} 
[2026-07-08 06:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783473066000,"timestamp_ms":1783473066000,"timestamp_seconds":1783473066,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f475010"} 
[2026-07-08 06:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-08 06:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569104896001,"66":27539,"214":206,"84":6144,"24":44,"16":342150018355953664,"45":-6564137171615072256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,84,24,16,45]} 
[2026-07-08 06:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569104896001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:42:38] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-08 06:42:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342150018355953664,"km_value":342150018355953.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6564137171615072256,"description":"Unknown IO ID 45"} 
[2026-07-08 06:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569104896001,"power":27539,"unknown_214":206,"unknown_84":6144,"ignition":44,"odometer":null,"unknown_45":-6564137171615072256}} 
[2026-07-08 06:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":125073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:42:38] local.INFO: GPS data processed {"connection_id":125073,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:42:38] local.INFO: Acknowledgment sent {"connection_id":125073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:42:54] local.INFO: TCP Data received {"connection_id":125909,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:42:54] local.INFO: Processing buffer {"connection_id":125909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:42:54] local.INFO: IMEI packet received {"connection_id":125909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":125909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:42:56] local.INFO: TCP Data received {"connection_id":125909,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:42:56] local.INFO: Processing buffer {"connection_id":125909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:42:56] local.INFO: IMEI packet received {"connection_id":125909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":125909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:42:58] local.INFO: TCP Data received {"connection_id":125909,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:42:58] local.INFO: Processing buffer {"connection_id":125909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:42:58] local.INFO: IMEI packet received {"connection_id":125909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":125909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:43:02] local.INFO: TCP Data received {"connection_id":125909,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:43:02] local.INFO: Processing buffer {"connection_id":125909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:43:02] local.INFO: IMEI packet received {"connection_id":125909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":125909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:43:03] local.INFO: TCP Data received {"connection_id":125909,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f4826e8012da42140054d1ad0000c00032d..."} 
[2026-07-08 06:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f4826e8012da42140054d1ad0000c00032d..."} 
[2026-07-08 06:43:03] local.INFO: Processing buffer {"connection_id":125909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f4826e8012da42140054d1ad0000c00032d..."} 
[2026-07-08 06:43:03] local.INFO: Packet analysis {"connection_id":125909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f48"} 
[2026-07-08 06:43:03] local.INFO: Extracted packet for processing {"connection_id":125909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f48"} 
[2026-07-08 06:43:03] local.INFO: GPS Element Parsed {"raw_longitude":765731136,"raw_latitude":88939216,"longitude_deg":76.5731136,"latitude_deg":8.8939216,"altitude":12,"angle":3,"satellites":45,"speed":32,"hex_longitude":"2da42140","hex_latitude":"054d1ad0","is_valid_coordinates":true} 
[2026-07-08 06: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-07-08 06:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569118464001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342152603926265856,"note":"Value kept but may cause issues"} 
[2026-07-08 06:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6619939585745674240,"note":"Value kept but may cause issues"} 
[2026-07-08 06:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783473121000,"timestamp_ms":1783473121000,"timestamp_seconds":1783473121,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f4826e8"} 
[2026-07-08 06:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 06:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06: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-07-08 06:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569118464001,"66":27767,"164":206,"84":6144,"24":32,"16":342152603926265856,"45":-6619939585745674240},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,84,24,16,45]} 
[2026-07-08 06:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569118464001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:43:03] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-08 06:43:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342152603926265856,"km_value":342152603926265.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6619939585745674240,"description":"Unknown IO ID 45"} 
[2026-07-08 06:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569118464001,"power":27767,"unknown_164":206,"unknown_84":6144,"ignition":32,"odometer":null,"unknown_45":-6619939585745674240}} 
[2026-07-08 06:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":125909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:43:03] local.INFO: GPS data processed {"connection_id":125909,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:43:03] local.INFO: Acknowledgment sent {"connection_id":125909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:43:04] local.INFO: TCP Data received {"connection_id":125909,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f483a70012da421c0054d2d80000a01612d..."} 
[2026-07-08 06:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f483a70012da421c0054d2d80000a01612d..."} 
[2026-07-08 06:43:04] local.INFO: Processing buffer {"connection_id":125909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f483a70012da421c0054d2d80000a01612d..."} 
[2026-07-08 06:43:04] local.INFO: Packet analysis {"connection_id":125909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f48"} 
[2026-07-08 06:43:04] local.INFO: Extracted packet for processing {"connection_id":125909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f48"} 
[2026-07-08 06:43:04] local.INFO: GPS Element Parsed {"raw_longitude":765731264,"raw_latitude":88944000,"longitude_deg":76.5731264,"latitude_deg":8.8944,"altitude":10,"angle":353,"satellites":45,"speed":41,"hex_longitude":"2da421c0","hex_latitude":"054d2d80","is_valid_coordinates":true} 
[2026-07-08 06: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-07-08 06:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569118976001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342152835854499840,"note":"Value kept but may cause issues"} 
[2026-07-08 06:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6619939585745301504,"note":"Value kept but may cause issues"} 
[2026-07-08 06:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783473126000,"timestamp_ms":1783473126000,"timestamp_seconds":1783473126,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f483a70"} 
[2026-07-08 06:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 06:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06: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-07-08 06:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569118976001,"66":27745,"166":206,"84":6144,"24":41,"16":342152835854499840,"45":-6619939585745301504},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,84,24,16,45]} 
[2026-07-08 06:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569118976001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:43:04] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-08 06:43:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342152835854499840,"km_value":342152835854499.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6619939585745301504,"description":"Unknown IO ID 45"} 
[2026-07-08 06:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569118976001,"power":27745,"unknown_166":206,"unknown_84":6144,"ignition":41,"odometer":null,"unknown_45":-6619939585745301504}} 
[2026-07-08 06:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":125909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:43:04] local.INFO: GPS data processed {"connection_id":125909,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:43:04] local.INFO: Acknowledgment sent {"connection_id":125909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:43:35] local.INFO: TCP Data received {"connection_id":125909,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f48e268012da37c80054d4b300010012d26..."} 
[2026-07-08 06:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f48e268012da37c80054d4b300010012d26..."} 
[2026-07-08 06:43:35] local.INFO: Processing buffer {"connection_id":125909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f48e268012da37c80054d4b300010012d26..."} 
[2026-07-08 06:43:35] local.INFO: Packet analysis {"connection_id":125909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f48"} 
[2026-07-08 06:43:35] local.INFO: Extracted packet for processing {"connection_id":125909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f48"} 
[2026-07-08 06:43:35] local.INFO: GPS Element Parsed {"raw_longitude":765688960,"raw_latitude":88951600,"longitude_deg":76.568896,"latitude_deg":8.89516,"altitude":16,"angle":301,"satellites":38,"speed":32,"hex_longitude":"2da37c80","hex_latitude":"054d4b30","is_valid_coordinates":true} 
[2026-07-08 06:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569130752001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342155017697886208,"note":"Value kept but may cause issues"} 
[2026-07-08 06:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6664553369550952448,"note":"Value kept but may cause issues"} 
[2026-07-08 06:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783473169000,"timestamp_ms":1783473169000,"timestamp_seconds":1783473169,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f48e268"} 
[2026-07-08 06:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 06:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569130752001,"66":27713,"166":206,"84":6144,"24":32,"16":342155017697886208,"45":-6664553369550952448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,84,24,16,45]} 
[2026-07-08 06:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569130752001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:43:35] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-08 06:43:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342155017697886208,"km_value":342155017697886.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6664553369550952448,"description":"Unknown IO ID 45"} 
[2026-07-08 06:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569130752001,"power":27713,"unknown_166":206,"unknown_84":6144,"ignition":32,"odometer":null,"unknown_45":-6664553369550952448}} 
[2026-07-08 06:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":125909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:43:35] local.INFO: GPS data processed {"connection_id":125909,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:43:35] local.INFO: Acknowledgment sent {"connection_id":125909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:43:57] local.INFO: TCP Data received {"connection_id":125162,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:43:57] local.INFO: Processing buffer {"connection_id":125162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:43:57] local.INFO: IMEI packet received {"connection_id":125162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":125162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:44:01] local.INFO: TCP Data received {"connection_id":125162,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:44:01] local.INFO: Processing buffer {"connection_id":125162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:44:01] local.INFO: IMEI packet received {"connection_id":125162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":125162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:44:01] local.INFO: TCP Data received {"connection_id":125162,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f48ea38012da37900054d4fb0001001452c..."} 
[2026-07-08 06:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f48ea38012da37900054d4fb0001001452c..."} 
[2026-07-08 06:44:01] local.INFO: Processing buffer {"connection_id":125162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f48ea38012da37900054d4fb0001001452c..."} 
[2026-07-08 06:44:01] local.INFO: Packet analysis {"connection_id":125162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f48"} 
[2026-07-08 06:44:01] local.INFO: Extracted packet for processing {"connection_id":125162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f48"} 
[2026-07-08 06:44:01] local.INFO: GPS Element Parsed {"raw_longitude":765688064,"raw_latitude":88952752,"longitude_deg":76.5688064,"latitude_deg":8.8952752,"altitude":16,"angle":325,"satellites":44,"speed":28,"hex_longitude":"2da37900","hex_latitude":"054d4fb0","is_valid_coordinates":true} 
[2026-07-08 06:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569131264001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342155086417362944,"note":"Value kept but may cause issues"} 
[2026-07-08 06:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6666312588155211776,"note":"Value kept but may cause issues"} 
[2026-07-08 06:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783473171000,"timestamp_ms":1783473171000,"timestamp_seconds":1783473171,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f48ea38"} 
[2026-07-08 06:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 06:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569131264001,"66":27647,"166":206,"84":6144,"24":28,"16":342155086417362944,"45":-6666312588155211776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,84,24,16,45]} 
[2026-07-08 06:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569131264001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:44:01] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-08 06:44:01] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342155086417362944,"km_value":342155086417362.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6666312588155211776,"description":"Unknown IO ID 45"} 
[2026-07-08 06:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569131264001,"power":27647,"unknown_166":206,"unknown_84":6144,"ignition":28,"odometer":null,"unknown_45":-6666312588155211776}} 
[2026-07-08 06:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":125162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:44:01] local.INFO: GPS data processed {"connection_id":125162,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:44:01] local.INFO: Acknowledgment sent {"connection_id":125162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:44:33] local.INFO: TCP Data received {"connection_id":125162,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f497ac0012da32440054d9d20000e01402d..."} 
[2026-07-08 06:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f497ac0012da32440054d9d20000e01402d..."} 
[2026-07-08 06:44:33] local.INFO: Processing buffer {"connection_id":125162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f497ac0012da32440054d9d20000e01402d..."} 
[2026-07-08 06:44:33] local.INFO: Packet analysis {"connection_id":125162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f49"} 
[2026-07-08 06:44:33] local.INFO: Extracted packet for processing {"connection_id":125162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f49"} 
[2026-07-08 06:44:33] local.INFO: GPS Element Parsed {"raw_longitude":765666368,"raw_latitude":88972576,"longitude_deg":76.5666368,"latitude_deg":8.8972576,"altitude":14,"angle":320,"satellites":45,"speed":40,"hex_longitude":"2da32440","hex_latitude":"054d9d20","is_valid_coordinates":true} 
[2026-07-08 06:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569140992001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342156770044542976,"note":"Value kept but may cause issues"} 
[2026-07-08 06:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6690449067402969088,"note":"Value kept but may cause issues"} 
[2026-07-08 06:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783473208000,"timestamp_ms":1783473208000,"timestamp_seconds":1783473208,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f497ac0"} 
[2026-07-08 06:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 06:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:44:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569140992001,"66":27658,"182":206,"84":6144,"24":40,"16":342156770044542976,"45":-6690449067402969088},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,84,24,16,45]} 
[2026-07-08 06:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569140992001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:44:33] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-08 06:44:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342156770044542976,"km_value":342156770044543.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6690449067402969088,"description":"Unknown IO ID 45"} 
[2026-07-08 06:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569140992001,"power":27658,"unknown_182":206,"unknown_84":6144,"ignition":40,"odometer":null,"unknown_45":-6690449067402969088}} 
[2026-07-08 06:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":125162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:44:33] local.INFO: GPS data processed {"connection_id":125162,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:44:33] local.INFO: Acknowledgment sent {"connection_id":125162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:44:57] local.INFO: TCP Data received {"connection_id":125074,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:44:57] local.INFO: Processing buffer {"connection_id":125074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:44:57] local.INFO: IMEI packet received {"connection_id":125074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":125074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:45:00] local.INFO: TCP Data received {"connection_id":125074,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:45:00] local.INFO: Processing buffer {"connection_id":125074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:45:00] local.INFO: IMEI packet received {"connection_id":125074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":125074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:45:01] local.INFO: TCP Data received {"connection_id":125074,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f499de8012da30d40054dbc80000e01462e..."} 
[2026-07-08 06:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f499de8012da30d40054dbc80000e01462e..."} 
[2026-07-08 06:45:01] local.INFO: Processing buffer {"connection_id":125074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f499de8012da30d40054dbc80000e01462e..."} 
[2026-07-08 06:45:01] local.INFO: Packet analysis {"connection_id":125074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f49"} 
[2026-07-08 06:45:01] local.INFO: Extracted packet for processing {"connection_id":125074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f49"} 
[2026-07-08 06:45:01] local.INFO: GPS Element Parsed {"raw_longitude":765660480,"raw_latitude":88980608,"longitude_deg":76.566048,"latitude_deg":8.8980608,"altitude":14,"angle":326,"satellites":46,"speed":41,"hex_longitude":"2da30d40","hex_latitude":"054dbc80","is_valid_coordinates":true} 
[2026-07-08 06:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569141248001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342157251080880128,"note":"Value kept but may cause issues"} 
[2026-07-08 06:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6691152754844557312,"note":"Value kept but may cause issues"} 
[2026-07-08 06:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783473217000,"timestamp_ms":1783473217000,"timestamp_seconds":1783473217,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f499de8"} 
[2026-07-08 06:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:45: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-07-08 06:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 06:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569141248001,"66":27767,"182":206,"84":6144,"24":41,"16":342157251080880128,"45":-6691152754844557312},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,84,24,16,45]} 
[2026-07-08 06:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569141248001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:45:01] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-08 06:45:01] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342157251080880128,"km_value":342157251080880.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6691152754844557312,"description":"Unknown IO ID 45"} 
[2026-07-08 06:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569141248001,"power":27767,"unknown_182":206,"unknown_84":6144,"ignition":41,"odometer":null,"unknown_45":-6691152754844557312}} 
[2026-07-08 06:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":125074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:45:01] local.INFO: GPS data processed {"connection_id":125074,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:45:01] local.INFO: Acknowledgment sent {"connection_id":125074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:45:25] local.INFO: TCP Data received {"connection_id":125910,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125910,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:45:25] local.INFO: Processing buffer {"connection_id":125910,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:45:25] local.INFO: IMEI packet received {"connection_id":125910,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 06:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":125910,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:45:32] local.INFO: TCP Data received {"connection_id":125074,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f49d498012da2f880054dd9a0000d01432e..."} 
[2026-07-08 06:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f49d498012da2f880054dd9a0000d01432e..."} 
[2026-07-08 06:45:32] local.INFO: Processing buffer {"connection_id":125074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f49d498012da2f880054dd9a0000d01432e..."} 
[2026-07-08 06:45:32] local.INFO: Packet analysis {"connection_id":125074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f49"} 
[2026-07-08 06:45:32] local.INFO: Extracted packet for processing {"connection_id":125074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f49"} 
[2026-07-08 06:45:32] local.INFO: GPS Element Parsed {"raw_longitude":765655168,"raw_latitude":88988064,"longitude_deg":76.5655168,"latitude_deg":8.8988064,"altitude":13,"angle":323,"satellites":46,"speed":20,"hex_longitude":"2da2f880","hex_latitude":"054dd9a0","is_valid_coordinates":true} 
[2026-07-08 06:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569143552001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342157693462511616,"note":"Value kept but may cause issues"} 
[2026-07-08 06:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6697626679306846208,"note":"Value kept but may cause issues"} 
[2026-07-08 06:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783473231000,"timestamp_ms":1783473231000,"timestamp_seconds":1783473231,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f49d498"} 
[2026-07-08 06:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 06:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569143552001,"66":27691,"182":206,"84":6144,"24":20,"16":342157693462511616,"45":-6697626679306846208},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,84,24,16,45]} 
[2026-07-08 06:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569143552001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:45:32] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-08 06:45:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342157693462511616,"km_value":342157693462511.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6697626679306846208,"description":"Unknown IO ID 45"} 
[2026-07-08 06:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569143552001,"power":27691,"unknown_182":206,"unknown_84":6144,"ignition":20,"odometer":null,"unknown_45":-6697626679306846208}} 
[2026-07-08 06:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":125074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:45:32] local.INFO: GPS data processed {"connection_id":125074,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:45:32] local.INFO: Acknowledgment sent {"connection_id":125074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:45:56] local.INFO: TCP Data received {"connection_id":127167,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:45:56] local.INFO: Processing buffer {"connection_id":127167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:45:56] local.INFO: IMEI packet received {"connection_id":127167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":127167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:45:57] local.INFO: TCP Data received {"connection_id":125075,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125075,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:45:57] local.INFO: Processing buffer {"connection_id":125075,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:45:57] local.INFO: IMEI packet received {"connection_id":125075,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 06:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":125075,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:46:00] local.INFO: TCP Data received {"connection_id":127167,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:46:00] local.INFO: Processing buffer {"connection_id":127167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:46:00] local.INFO: IMEI packet received {"connection_id":127167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":127167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:46:01] local.INFO: TCP Data received {"connection_id":127167,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:46:01] local.INFO: Processing buffer {"connection_id":127167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:46:01] local.INFO: IMEI packet received {"connection_id":127167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":127167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:46:02] local.INFO: TCP Data received {"connection_id":127167,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f4a26a0012da2e500054df490000c01442f..."} 
[2026-07-08 06:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f4a26a0012da2e500054df490000c01442f..."} 
[2026-07-08 06:46:02] local.INFO: Processing buffer {"connection_id":127167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f4a26a0012da2e500054df490000c01442f..."} 
[2026-07-08 06:46:02] local.INFO: Packet analysis {"connection_id":127167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f4a"} 
[2026-07-08 06:46:02] local.INFO: Extracted packet for processing {"connection_id":127167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f4a"} 
[2026-07-08 06:46:02] local.INFO: GPS Element Parsed {"raw_longitude":765650176,"raw_latitude":88994960,"longitude_deg":76.5650176,"latitude_deg":8.899496,"altitude":12,"angle":324,"satellites":47,"speed":31,"hex_longitude":"2da2e500","hex_latitude":"054df490","is_valid_coordinates":true} 
[2026-07-08 06:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569147136001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342158105779372032,"note":"Value kept but may cause issues"} 
[2026-07-08 06:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6703467285071683584,"note":"Value kept but may cause issues"} 
[2026-07-08 06:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783473252000,"timestamp_ms":1783473252000,"timestamp_seconds":1783473252,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f4a26a0"} 
[2026-07-08 06:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 06:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569147136001,"66":27789,"183":206,"84":6144,"24":31,"16":342158105779372032,"45":-6703467285071683584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,84,24,16,45]} 
[2026-07-08 06:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569147136001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:46:02] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-08 06:46:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342158105779372032,"km_value":342158105779372.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6703467285071683584,"description":"Unknown IO ID 45"} 
[2026-07-08 06:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569147136001,"power":27789,"unknown_183":206,"unknown_84":6144,"ignition":31,"odometer":null,"unknown_45":-6703467285071683584}} 
[2026-07-08 06:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":127167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:46:02] local.INFO: GPS data processed {"connection_id":127167,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:46:02] local.INFO: Acknowledgment sent {"connection_id":127167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:46:07] local.INFO: TCP Data received {"connection_id":127167,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f4a4db0012da2d040054e12c8000f014231..."} 
[2026-07-08 06:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f4a4db0012da2d040054e12c8000f014231..."} 
[2026-07-08 06:46:07] local.INFO: Processing buffer {"connection_id":127167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f4a4db0012da2d040054e12c8000f014231..."} 
[2026-07-08 06:46:07] local.INFO: Packet analysis {"connection_id":127167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f4a"} 
[2026-07-08 06:46:07] local.INFO: Extracted packet for processing {"connection_id":127167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f4a"} 
[2026-07-08 06:46:07] local.INFO: GPS Element Parsed {"raw_longitude":765644864,"raw_latitude":89002696,"longitude_deg":76.5644864,"latitude_deg":8.9002696,"altitude":15,"angle":322,"satellites":49,"speed":33,"hex_longitude":"2da2d040","hex_latitude":"054e12c8","is_valid_coordinates":true} 
[2026-07-08 06:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569152512001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342158561045905408,"note":"Value kept but may cause issues"} 
[2026-07-08 06:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6708956047115776000,"note":"Value kept but may cause issues"} 
[2026-07-08 06:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783473262000,"timestamp_ms":1783473262000,"timestamp_seconds":1783473262,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f4a4db0"} 
[2026-07-08 06:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-08 06:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569152512001,"66":27800,"22":206,"84":6144,"24":33,"16":342158561045905408,"45":-6708956047115776000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,84,24,16,45]} 
[2026-07-08 06:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569152512001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:46:07] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-08 06:46:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342158561045905408,"km_value":342158561045905.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6708956047115776000,"description":"Unknown IO ID 45"} 
[2026-07-08 06:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569152512001,"power":27800,"unknown_22":206,"unknown_84":6144,"ignition":33,"odometer":null,"unknown_45":-6708956047115776000}} 
[2026-07-08 06:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":127167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:46:07] local.INFO: GPS data processed {"connection_id":127167,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:46:07] local.INFO: Acknowledgment sent {"connection_id":127167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:46:38] local.INFO: TCP Data received {"connection_id":127167,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f4b8a18012da23900054f53c0000d015e30..."} 
[2026-07-08 06:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f4b8a18012da23900054f53c0000d015e30..."} 
[2026-07-08 06:46:38] local.INFO: Processing buffer {"connection_id":127167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f4b8a18012da23900054f53c0000d015e30..."} 
[2026-07-08 06:46:38] local.INFO: Packet analysis {"connection_id":127167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f4b"} 
[2026-07-08 06:46:38] local.INFO: Extracted packet for processing {"connection_id":127167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f4b"} 
[2026-07-08 06:46:38] local.INFO: GPS Element Parsed {"raw_longitude":765606144,"raw_latitude":89084864,"longitude_deg":76.5606144,"latitude_deg":8.9084864,"altitude":13,"angle":350,"satellites":48,"speed":50,"hex_longitude":"2da23900","hex_latitude":"054f53c0","is_valid_coordinates":true} 
[2026-07-08 06:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569174016001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342163006337056768,"note":"Value kept but may cause issues"} 
[2026-07-08 06:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6755610524485072896,"note":"Value kept but may cause issues"} 
[2026-07-08 06:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783473343000,"timestamp_ms":1783473343000,"timestamp_seconds":1783473343,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f4b8a18"} 
[2026-07-08 06:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 06:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569174016001,"66":27767,"238":206,"84":6144,"24":50,"16":342163006337056768,"45":-6755610524485072896},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,84,24,16,45]} 
[2026-07-08 06:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569174016001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:46:38] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-07-08 06:46:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342163006337056768,"km_value":342163006337056.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6755610524485072896,"description":"Unknown IO ID 45"} 
[2026-07-08 06:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569174016001,"power":27767,"unknown_238":206,"unknown_84":6144,"ignition":50,"odometer":null,"unknown_45":-6755610524485072896}} 
[2026-07-08 06:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":127167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:46:38] local.INFO: GPS data processed {"connection_id":127167,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:46:38] local.INFO: Acknowledgment sent {"connection_id":127167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:46:56] local.INFO: TCP Data received {"connection_id":125163,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:46:56] local.INFO: Processing buffer {"connection_id":125163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:46:56] local.INFO: IMEI packet received {"connection_id":125163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":125163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:47:02] local.INFO: TCP Data received {"connection_id":125163,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:47:02] local.INFO: Processing buffer {"connection_id":125163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:47:02] local.INFO: IMEI packet received {"connection_id":125163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":125163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:47:03] local.INFO: TCP Data received {"connection_id":125163,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f4ba570012da23380054f7748000c015b30..."} 
[2026-07-08 06:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f4ba570012da23380054f7748000c015b30..."} 
[2026-07-08 06:47:03] local.INFO: Processing buffer {"connection_id":125163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f4ba570012da23380054f7748000c015b30..."} 
[2026-07-08 06:47:03] local.INFO: Packet analysis {"connection_id":125163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f4b"} 
[2026-07-08 06:47:03] local.INFO: Extracted packet for processing {"connection_id":125163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f4b"} 
[2026-07-08 06:47:03] local.INFO: GPS Element Parsed {"raw_longitude":765604736,"raw_latitude":89093960,"longitude_deg":76.5604736,"latitude_deg":8.909396,"altitude":12,"angle":347,"satellites":48,"speed":55,"hex_longitude":"2da23380","hex_latitude":"054f7748","is_valid_coordinates":true} 
[2026-07-08 06: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-07-08 06:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569175808001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342163453013655552,"note":"Value kept but may cause issues"} 
[2026-07-08 06:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6757369743086993408,"note":"Value kept but may cause issues"} 
[2026-07-08 06:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783473350000,"timestamp_ms":1783473350000,"timestamp_seconds":1783473350,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f4ba570"} 
[2026-07-08 06:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06: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-07-08 06:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 06:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06: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-07-08 06:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569175808001,"66":27767,"238":206,"84":6144,"24":55,"16":342163453013655552,"45":-6757369743086993408},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,84,24,16,45]} 
[2026-07-08 06:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569175808001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:47:03] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-07-08 06:47:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342163453013655552,"km_value":342163453013655.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6757369743086993408,"description":"Unknown IO ID 45"} 
[2026-07-08 06:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569175808001,"power":27767,"unknown_238":206,"unknown_84":6144,"ignition":55,"odometer":null,"unknown_45":-6757369743086993408}} 
[2026-07-08 06:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":125163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:47:03] local.INFO: GPS data processed {"connection_id":125163,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:47:03] local.INFO: Acknowledgment sent {"connection_id":125163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:47:34] local.INFO: TCP Data received {"connection_id":125163,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f4bc0c8012da22d80054f9c38000b01622e..."} 
[2026-07-08 06:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f4bc0c8012da22d80054f9c38000b01622e..."} 
[2026-07-08 06:47:34] local.INFO: Processing buffer {"connection_id":125163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f4bc0c8012da22d80054f9c38000b01622e..."} 
[2026-07-08 06:47:34] local.INFO: Packet analysis {"connection_id":125163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f4b"} 
[2026-07-08 06:47:34] local.INFO: Extracted packet for processing {"connection_id":125163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f4b"} 
[2026-07-08 06:47:34] local.INFO: GPS Element Parsed {"raw_longitude":765603200,"raw_latitude":89103416,"longitude_deg":76.56032,"latitude_deg":8.9103416,"altitude":11,"angle":354,"satellites":46,"speed":51,"hex_longitude":"2da22d80","hex_latitude":"054f9c38","is_valid_coordinates":true} 
[2026-07-08 06:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569177600001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342163916870123520,"note":"Value kept but may cause issues"} 
[2026-07-08 06:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6758917855456573440,"note":"Value kept but may cause issues"} 
[2026-07-08 06:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783473357000,"timestamp_ms":1783473357000,"timestamp_seconds":1783473357,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f4bc0c8"} 
[2026-07-08 06:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:47: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-07-08 06: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 06:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569177600001,"66":27767,"238":206,"84":6144,"24":51,"16":342163916870123520,"45":-6758917855456573440},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,84,24,16,45]} 
[2026-07-08 06:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569177600001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:47:34] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-07-08 06:47:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342163916870123520,"km_value":342163916870123.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6758917855456573440,"description":"Unknown IO ID 45"} 
[2026-07-08 06:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569177600001,"power":27767,"unknown_238":206,"unknown_84":6144,"ignition":51,"odometer":null,"unknown_45":-6758917855456573440}} 
[2026-07-08 06:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":125163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:47:34] local.INFO: GPS data processed {"connection_id":125163,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:47:34] local.INFO: Acknowledgment sent {"connection_id":125163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:48:00] local.INFO: TCP Data received {"connection_id":127169,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:48:00] local.INFO: Processing buffer {"connection_id":127169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:48:00] local.INFO: IMEI packet received {"connection_id":127169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":127169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:48:04] local.INFO: TCP Data received {"connection_id":127169,"ip":"42.106.6.16","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 06:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127169,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 06:48:04] local.INFO: Processing buffer {"connection_id":127169,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 06:48:04] local.INFO: IMEI packet received {"connection_id":127169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":127169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:48:05] local.INFO: TCP Data received {"connection_id":127169,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f4be008012da229c0054fc0b0000b01602f..."} 
[2026-07-08 06:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f4be008012da229c0054fc0b0000b01602f..."} 
[2026-07-08 06:48:05] local.INFO: Processing buffer {"connection_id":127169,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f3f..."} 
[2026-07-08 06:48:05] local.INFO: IMEI packet received {"connection_id":127169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":127169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:48:12] local.INFO: TCP Data received {"connection_id":127169,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f4c0330012da22540054fe4e0000b016132..."} 
[2026-07-08 06:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f4c0330012da22540054fe4e0000b016132..."} 
[2026-07-08 06:48:12] local.INFO: Processing buffer {"connection_id":127169,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f3f4be008012da229c0054fc0b0000b01602f..."} 
[2026-07-08 06:48:12] local.INFO: Packet analysis {"connection_id":127169,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3f4b"} 
[2026-07-08 06:48:12] local.INFO: Extracted packet for processing {"connection_id":127169,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f4b"} 
[2026-07-08 06:48:12] local.INFO: GPS Element Parsed {"raw_longitude":765602240,"raw_latitude":89112752,"longitude_deg":76.560224,"latitude_deg":8.9112752,"altitude":11,"angle":352,"satellites":47,"speed":43,"hex_longitude":"2da229c0","hex_latitude":"054fc0b0","is_valid_coordinates":true} 
[2026-07-08 06: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-07-08 06:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569179392001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342164372136656896,"note":"Value kept but may cause issues"} 
[2026-07-08 06:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6760606705314416640,"note":"Value kept but may cause issues"} 
[2026-07-08 06:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783473365000,"timestamp_ms":1783473365000,"timestamp_seconds":1783473365,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f4be008"} 
[2026-07-08 06:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 06:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06: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-07-08 06:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":127169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":127169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":127169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569179392001,"66":27767,"238":206,"84":6144,"24":43,"16":342164372136656896,"45":-6760606705314416640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,84,24,16,45]} 
[2026-07-08 06:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569179392001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:48:12] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-07-08 06:48:12] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342164372136656896,"km_value":342164372136656.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6760606705314416640,"description":"Unknown IO ID 45"} 
[2026-07-08 06:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569179392001,"power":27767,"unknown_238":206,"unknown_84":6144,"ignition":43,"odometer":null,"unknown_45":-6760606705314416640}} 
[2026-07-08 06:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":127169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:48:12] local.INFO: GPS data processed {"connection_id":127169,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:48:12] local.INFO: Acknowledgment sent {"connection_id":127169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:48:12] local.INFO: Packet analysis {"connection_id":127169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f4c"} 
[2026-07-08 06:48:12] local.INFO: Extracted packet for processing {"connection_id":127169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f4c"} 
[2026-07-08 06:48:12] local.INFO: GPS Element Parsed {"raw_longitude":765601088,"raw_latitude":89122016,"longitude_deg":76.5601088,"latitude_deg":8.9122016,"altitude":11,"angle":353,"satellites":50,"speed":37,"hex_longitude":"2da22540","hex_latitude":"054fe4e0","is_valid_coordinates":true} 
[2026-07-08 06: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-07-08 06:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569181440001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342164823108222976,"note":"Value kept but may cause issues"} 
[2026-07-08 06:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6761662236474691584,"note":"Value kept but may cause issues"} 
[2026-07-08 06:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783473374000,"timestamp_ms":1783473374000,"timestamp_seconds":1783473374,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f4c0330"} 
[2026-07-08 06:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 06:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06: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-07-08 06:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":127169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":127169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":127169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569181440001,"66":27691,"238":206,"84":6144,"24":37,"16":342164823108222976,"45":-6761662236474691584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,84,24,16,45]} 
[2026-07-08 06:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569181440001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:48:12] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-07-08 06:48:12] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342164823108222976,"km_value":342164823108223.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6761662236474691584,"description":"Unknown IO ID 45"} 
[2026-07-08 06:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569181440001,"power":27691,"unknown_238":206,"unknown_84":6144,"ignition":37,"odometer":null,"unknown_45":-6761662236474691584}} 
[2026-07-08 06:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":127169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:48:12] local.INFO: GPS data processed {"connection_id":127169,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:48:12] local.INFO: Acknowledgment sent {"connection_id":127169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:49:00] local.INFO: TCP Data received {"connection_id":125911,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:49:00] local.INFO: Processing buffer {"connection_id":125911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:49:00] local.INFO: IMEI packet received {"connection_id":125911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":125911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:49:01] local.INFO: TCP Data received {"connection_id":125911,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:49:01] local.INFO: Processing buffer {"connection_id":125911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:49:01] local.INFO: IMEI packet received {"connection_id":125911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":125911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:49:07] local.INFO: TCP Data received {"connection_id":125911,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:49:07] local.INFO: Processing buffer {"connection_id":125911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:49:07] local.INFO: IMEI packet received {"connection_id":125911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":125911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:49:07] local.INFO: TCP Data received {"connection_id":125911,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f4d85e8012da1e40005515a68000801482e..."} 
[2026-07-08 06:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f4d85e8012da1e40005515a68000801482e..."} 
[2026-07-08 06:49:07] local.INFO: Processing buffer {"connection_id":125911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f4d85e8012da1e40005515a68000801482e..."} 
[2026-07-08 06:49:07] local.INFO: Packet analysis {"connection_id":125911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f4d"} 
[2026-07-08 06:49:07] local.INFO: Extracted packet for processing {"connection_id":125911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f4d"} 
[2026-07-08 06:49:07] local.INFO: GPS Element Parsed {"raw_longitude":765584384,"raw_latitude":89217640,"longitude_deg":76.5584384,"latitude_deg":8.921764,"altitude":8,"angle":328,"satellites":46,"speed":36,"hex_longitude":"2da1e400","hex_latitude":"05515a68","is_valid_coordinates":true} 
[2026-07-08 06:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569207296001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342169556162183168,"note":"Value kept but may cause issues"} 
[2026-07-08 06:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6778409997563389952,"note":"Value kept but may cause issues"} 
[2026-07-08 06:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783473473000,"timestamp_ms":1783473473000,"timestamp_seconds":1783473473,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f4d85e8"} 
[2026-07-08 06:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 06:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569207296001,"66":27745,"124":206,"84":6144,"24":36,"16":342169556162183168,"45":-6778409997563389952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,84,24,16,45]} 
[2026-07-08 06:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569207296001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:49:07] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-07-08 06:49:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342169556162183168,"km_value":342169556162183.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6778409997563389952,"description":"Unknown IO ID 45"} 
[2026-07-08 06:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569207296001,"power":27745,"unknown_124":206,"unknown_84":6144,"ignition":36,"odometer":null,"unknown_45":-6778409997563389952}} 
[2026-07-08 06:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":125911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:49:07] local.INFO: GPS data processed {"connection_id":125911,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:49:07] local.INFO: Acknowledgment sent {"connection_id":125911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:49:08] local.INFO: TCP Data received {"connection_id":125164,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 06:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 06:49:08] local.INFO: Processing buffer {"connection_id":125164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 06:49:08] local.INFO: IMEI packet received {"connection_id":125164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 06:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":125164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:49:08] local.INFO: TCP Data received {"connection_id":125164,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 06:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 06:49:08] local.INFO: Processing buffer {"connection_id":125164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 06:49:08] local.INFO: IMEI packet received {"connection_id":125164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 06:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":125164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:49:13] local.INFO: TCP Data received {"connection_id":125164,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 06:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 06:49:13] local.INFO: Processing buffer {"connection_id":125164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 06:49:13] local.INFO: IMEI packet received {"connection_id":125164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 06:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":125164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:49:15] local.INFO: TCP Data received {"connection_id":125164,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a00000000000052080100000000000000000000000000..."} 
[2026-07-08 06:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125164,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000052080100000000000000000000000000..."} 
[2026-07-08 06:49:15] local.INFO: Processing buffer {"connection_id":125164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000052080100000000000000000000000000..."} 
[2026-07-08 06:49:15] local.INFO: Packet analysis {"connection_id":125164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-08 06:49:15] local.INFO: Extracted packet for processing {"connection_id":125164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-08 06:49:15] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-08 06:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-08 06:49:15] 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-07-08 06:49:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":21000,"timestamp_seconds":21,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 06:49:15] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-08 06:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":125164,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":125164,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-08 06:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":125164,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-08 06:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-08 06:49:15] local.WARNING: DEBUG: No valid data to process  
[2026-07-08 06:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":125164,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-08 06:49:15] local.ERROR: GPS data processing failed {"connection_id":125164,"error":"No valid data to process"} 
[2026-07-08 06:49:15] local.INFO: Acknowledgment sent {"connection_id":125164,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-08 06:49:38] local.INFO: TCP Data received {"connection_id":125911,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f4da910012da1d10005517b600007014833..."} 
[2026-07-08 06:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f4da910012da1d10005517b600007014833..."} 
[2026-07-08 06:49:38] local.INFO: Processing buffer {"connection_id":125911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f4da910012da1d10005517b600007014833..."} 
[2026-07-08 06:49:38] local.INFO: Packet analysis {"connection_id":125911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f4d"} 
[2026-07-08 06:49:38] local.INFO: Extracted packet for processing {"connection_id":125911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f4d"} 
[2026-07-08 06:49:38] local.INFO: GPS Element Parsed {"raw_longitude":765579520,"raw_latitude":89226080,"longitude_deg":76.557952,"latitude_deg":8.922608,"altitude":7,"angle":328,"satellites":51,"speed":44,"hex_longitude":"2da1d100","hex_latitude":"05517b60","is_valid_coordinates":true} 
[2026-07-08 06:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569209088001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342170028608585728,"note":"Value kept but may cause issues"} 
[2026-07-08 06:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6781295116073408512,"note":"Value kept but may cause issues"} 
[2026-07-08 06:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783473482000,"timestamp_ms":1783473482000,"timestamp_seconds":1783473482,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f4da910"} 
[2026-07-08 06:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 06:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569209088001,"66":27713,"124":206,"84":6144,"24":44,"16":342170028608585728,"45":-6781295116073408512},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,84,24,16,45]} 
[2026-07-08 06:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569209088001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:49:38] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-07-08 06:49:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342170028608585728,"km_value":342170028608585.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6781295116073408512,"description":"Unknown IO ID 45"} 
[2026-07-08 06:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569209088001,"power":27713,"unknown_124":206,"unknown_84":6144,"ignition":44,"odometer":null,"unknown_45":-6781295116073408512}} 
[2026-07-08 06:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":125911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:49:38] local.INFO: GPS data processed {"connection_id":125911,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:49:38] local.INFO: Acknowledgment sent {"connection_id":125911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:49:46] local.INFO: TCP Data received {"connection_id":125164,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a00000000000052080100000000000000000000000000..."} 
[2026-07-08 06:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125164,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000052080100000000000000000000000000..."} 
[2026-07-08 06:49:46] local.INFO: Processing buffer {"connection_id":125164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000052080100000000000000000000000000..."} 
[2026-07-08 06:49:46] local.INFO: Packet analysis {"connection_id":125164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-08 06:49:46] local.INFO: Extracted packet for processing {"connection_id":125164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-08 06:49:46] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-08 06:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-08 06:49:46] 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-07-08 06:49:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":21000,"timestamp_seconds":21,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 06:49:46] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-08 06:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":125164,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":125164,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-08 06:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":125164,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-08 06:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-08 06:49:46] local.WARNING: DEBUG: No valid data to process  
[2026-07-08 06:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":125164,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-08 06:49:46] local.ERROR: GPS data processing failed {"connection_id":125164,"error":"No valid data to process"} 
[2026-07-08 06:49:46] local.INFO: Acknowledgment sent {"connection_id":125164,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-08 06:49:54] local.INFO: TCP Data received {"connection_id":125165,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:49:54] local.INFO: Processing buffer {"connection_id":125165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:49:54] local.INFO: IMEI packet received {"connection_id":125165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":125165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:49:57] local.INFO: TCP Data received {"connection_id":125165,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:49:57] local.INFO: Processing buffer {"connection_id":125165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:49:57] local.INFO: IMEI packet received {"connection_id":125165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":125165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:50:02] local.INFO: TCP Data received {"connection_id":125165,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:50:02] local.INFO: Processing buffer {"connection_id":125165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:50:02] local.INFO: IMEI packet received {"connection_id":125165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":125165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:50:02] local.INFO: TCP Data received {"connection_id":125165,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f4dcc38012da1be4005519938000701492f..."} 
[2026-07-08 06:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f4dcc38012da1be4005519938000701492f..."} 
[2026-07-08 06:50:02] local.INFO: Processing buffer {"connection_id":125165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f4dcc38012da1be4005519938000701492f..."} 
[2026-07-08 06:50:02] local.INFO: Packet analysis {"connection_id":125165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f4d"} 
[2026-07-08 06:50:02] local.INFO: Extracted packet for processing {"connection_id":125165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f4d"} 
[2026-07-08 06:50:02] local.INFO: GPS Element Parsed {"raw_longitude":765574720,"raw_latitude":89233720,"longitude_deg":76.557472,"latitude_deg":8.923372,"altitude":7,"angle":329,"satellites":47,"speed":35,"hex_longitude":"2da1be40","hex_latitude":"05519938","is_valid_coordinates":true} 
[2026-07-08 06:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569211392001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342170462400282624,"note":"Value kept but may cause issues"} 
[2026-07-08 06:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6786643140628750336,"note":"Value kept but may cause issues"} 
[2026-07-08 06:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783473491000,"timestamp_ms":1783473491000,"timestamp_seconds":1783473491,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f4dcc38"} 
[2026-07-08 06:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:50: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-07-08 06:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 06:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569211392001,"66":27767,"124":206,"84":6144,"24":35,"16":342170462400282624,"45":-6786643140628750336},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,84,24,16,45]} 
[2026-07-08 06:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569211392001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:50:02] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-07-08 06:50:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342170462400282624,"km_value":342170462400282.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6786643140628750336,"description":"Unknown IO ID 45"} 
[2026-07-08 06:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569211392001,"power":27767,"unknown_124":206,"unknown_84":6144,"ignition":35,"odometer":null,"unknown_45":-6786643140628750336}} 
[2026-07-08 06:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":125165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:50:02] local.INFO: GPS data processed {"connection_id":125165,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:50:02] local.INFO: Acknowledgment sent {"connection_id":125165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:50:34] local.INFO: TCP Data received {"connection_id":125165,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f4f0c88012da100c005521c380005012d29..."} 
[2026-07-08 06:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f4f0c88012da100c005521c380005012d29..."} 
[2026-07-08 06:50:34] local.INFO: Processing buffer {"connection_id":125165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f4f0c88012da100c005521c380005012d29..."} 
[2026-07-08 06:50:34] local.INFO: Packet analysis {"connection_id":125165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f4f"} 
[2026-07-08 06:50:34] local.INFO: Extracted packet for processing {"connection_id":125165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f4f"} 
[2026-07-08 06:50:34] local.INFO: GPS Element Parsed {"raw_longitude":765526208,"raw_latitude":89267256,"longitude_deg":76.5526208,"latitude_deg":8.9267256,"altitude":5,"angle":301,"satellites":41,"speed":44,"hex_longitude":"2da100c0","hex_latitude":"05521c38","is_valid_coordinates":true} 
[2026-07-08 06: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-07-08 06:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569232640001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342173391567978496,"note":"Value kept but may cause issues"} 
[2026-07-08 06:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6836464211497089024,"note":"Value kept but may cause issues"} 
[2026-07-08 06:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783473573000,"timestamp_ms":1783473573000,"timestamp_seconds":1783473573,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f4f0c88"} 
[2026-07-08 06:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:50: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-07-08 06: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 06:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06: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-07-08 06:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569232640001,"66":27745,"125":206,"84":6144,"24":44,"16":342173391567978496,"45":-6836464211497089024},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,84,24,16,45]} 
[2026-07-08 06:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569232640001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:50:34] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-07-08 06:50:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342173391567978496,"km_value":342173391567978.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6836464211497089024,"description":"Unknown IO ID 45"} 
[2026-07-08 06:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569232640001,"power":27745,"unknown_125":206,"unknown_84":6144,"ignition":44,"odometer":null,"unknown_45":-6836464211497089024}} 
[2026-07-08 06:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":125165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:50:34] local.INFO: GPS data processed {"connection_id":125165,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:50:34] local.INFO: Acknowledgment sent {"connection_id":125165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:50:42] local.INFO: TCP Data received {"connection_id":125164,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a00000000000052080100000000000000000000000000..."} 
[2026-07-08 06:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125164,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000052080100000000000000000000000000..."} 
[2026-07-08 06:50:42] local.INFO: Processing buffer {"connection_id":125164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000052080100000000000000000000000000..."} 
[2026-07-08 06:50:42] local.INFO: Packet analysis {"connection_id":125164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-08 06:50:42] local.INFO: Extracted packet for processing {"connection_id":125164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-08 06:50:42] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-08 06:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103502990937161728,"note":"Value kept but may cause issues"} 
[2026-07-08 06:50:42] 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-07-08 06:50:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":21000,"timestamp_seconds":21,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 06:50:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-08 06:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":125164,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":125164,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-08 06:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":125164,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-08 06:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-08 06:50:42] local.WARNING: DEBUG: No valid data to process  
[2026-07-08 06:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":125164,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-08 06:50:42] local.ERROR: GPS data processing failed {"connection_id":125164,"error":"No valid data to process"} 
[2026-07-08 06:50:42] local.INFO: Acknowledgment sent {"connection_id":125164,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-08 06:50:57] local.INFO: TCP Data received {"connection_id":125078,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:50:57] local.INFO: Processing buffer {"connection_id":125078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:50:57] local.INFO: IMEI packet received {"connection_id":125078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":125078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:50:58] local.INFO: TCP Data received {"connection_id":125078,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:50:58] local.INFO: Processing buffer {"connection_id":125078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:50:58] local.INFO: IMEI packet received {"connection_id":125078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":125078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:50:59] local.INFO: TCP Data received {"connection_id":125078,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f4f2fb0012da0e300055230d8000401342f..."} 
[2026-07-08 06:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f4f2fb0012da0e300055230d8000401342f..."} 
[2026-07-08 06:50:59] local.INFO: Processing buffer {"connection_id":125078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f4f2fb0012da0e300055230d8000401342f..."} 
[2026-07-08 06:50:59] local.INFO: Packet analysis {"connection_id":125078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f4f"} 
[2026-07-08 06:50:59] local.INFO: Extracted packet for processing {"connection_id":125078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f4f"} 
[2026-07-08 06:50:59] local.INFO: GPS Element Parsed {"raw_longitude":765518592,"raw_latitude":89272536,"longitude_deg":76.5518592,"latitude_deg":8.9272536,"altitude":4,"angle":308,"satellites":47,"speed":33,"hex_longitude":"2da0e300","hex_latitude":"055230d8","is_valid_coordinates":true} 
[2026-07-08 06:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569234688001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342173838244577280,"note":"Value kept but may cause issues"} 
[2026-07-08 06:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6845260304518203392,"note":"Value kept but may cause issues"} 
[2026-07-08 06:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783473582000,"timestamp_ms":1783473582000,"timestamp_seconds":1783473582,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f4f2fb0"} 
[2026-07-08 06:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 06:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":125078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":125078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":125078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569234688001,"66":27669,"125":206,"84":6144,"24":33,"16":342173838244577280,"45":-6845260304518203392},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,84,24,16,45]} 
[2026-07-08 06:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569234688001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:50:59] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-07-08 06:50:59] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342173838244577280,"km_value":342173838244577.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6845260304518203392,"description":"Unknown IO ID 45"} 
[2026-07-08 06:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569234688001,"power":27669,"unknown_125":206,"unknown_84":6144,"ignition":33,"odometer":null,"unknown_45":-6845260304518203392}} 
[2026-07-08 06:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":125078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:50:59] local.INFO: GPS data processed {"connection_id":125078,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:50:59] local.INFO: Acknowledgment sent {"connection_id":125078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:51:13] local.INFO: TCP Data received {"connection_id":125164,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f505c78012d7e424005d357880009004f13..."} 
[2026-07-08 06:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f505c78012d7e424005d357880009004f13..."} 
[2026-07-08 06:51:13] local.INFO: Processing buffer {"connection_id":125164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f505c78012d7e424005d357880009004f13..."} 
[2026-07-08 06:51:13] local.INFO: Packet analysis {"connection_id":125164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f50"} 
[2026-07-08 06:51:13] local.INFO: Extracted packet for processing {"connection_id":125164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f50"} 
[2026-07-08 06:51:13] local.INFO: GPS Element Parsed {"raw_longitude":763249216,"raw_latitude":97736584,"longitude_deg":76.3249216,"latitude_deg":9.7736584,"altitude":9,"angle":79,"satellites":19,"speed":9,"hex_longitude":"2d7e4240","hex_latitude":"05d35788","is_valid_coordinates":true} 
[2026-07-08 06:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569256448001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103503441908727808,"note":"Value kept but may cause issues"} 
[2026-07-08 06:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097623116029849600,"note":"Value kept but may cause issues"} 
[2026-07-08 06:51: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-07-08 06:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783473659000,"timestamp_ms":1783473659000,"timestamp_seconds":1783473659,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f505c78"} 
[2026-07-08 06:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-08 06:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 06:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 06:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 06:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 06:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569256448001,"66":11547,"109":206,"85":15104,"24":9,"16":103503441908727808,"45":9097623116029849600},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 06:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 06:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 06:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569256448001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:51:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 06:51:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 06:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103503441908727808,"km_value":103503441908727.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097623116029849600,"description":"Unknown IO ID 45"} 
[2026-07-08 06:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569256448001,"power":11547,"unknown_109":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9097623116029849600}} 
[2026-07-08 06:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":125164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449379,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:51:13] local.INFO: GPS data processed {"connection_id":125164,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:51:13] local.INFO: Acknowledgment sent {"connection_id":125164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:51:22] local.INFO: TCP Data received {"connection_id":127170,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127170,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:51:22] local.INFO: Processing buffer {"connection_id":127170,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:51:22] local.INFO: IMEI packet received {"connection_id":127170,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 06:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":127170,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:51:30] local.INFO: TCP Data received {"connection_id":125078,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f4f56c0012da0c4c0055249b0000501372e..."} 
[2026-07-08 06:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f4f56c0012da0c4c0055249b0000501372e..."} 
[2026-07-08 06:51:30] local.INFO: Processing buffer {"connection_id":125078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f4f56c0012da0c4c0055249b0000501372e..."} 
[2026-07-08 06:51:30] local.INFO: Packet analysis {"connection_id":125078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f4f"} 
[2026-07-08 06:51:30] local.INFO: Extracted packet for processing {"connection_id":125078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f4f"} 
[2026-07-08 06:51:30] local.INFO: GPS Element Parsed {"raw_longitude":765510848,"raw_latitude":89278896,"longitude_deg":76.5510848,"latitude_deg":8.9278896,"altitude":5,"angle":311,"satellites":46,"speed":45,"hex_longitude":"2da0c4c0","hex_latitude":"055249b0","is_valid_coordinates":true} 
[2026-07-08 06:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569236992001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342174319280914432,"note":"Value kept but may cause issues"} 
[2026-07-08 06:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6853634185073993728,"note":"Value kept but may cause issues"} 
[2026-07-08 06:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783473592000,"timestamp_ms":1783473592000,"timestamp_seconds":1783473592,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f4f56c0"} 
[2026-07-08 06:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-07-08 06:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":927,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":125078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":125078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":125078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569236992001,"66":27658,"116":206,"84":6144,"24":45,"16":342174319280914432,"45":-6853634185073993728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,84,24,16,45]} 
[2026-07-08 06:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569236992001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:51:30] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-08 06:51:30] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342174319280914432,"km_value":342174319280914.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6853634185073993728,"description":"Unknown IO ID 45"} 
[2026-07-08 06:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569236992001,"power":27658,"unknown_116":206,"unknown_84":6144,"ignition":45,"odometer":null,"unknown_45":-6853634185073993728}} 
[2026-07-08 06:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":125078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:51:30] local.INFO: GPS data processed {"connection_id":125078,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:51:30] local.INFO: Acknowledgment sent {"connection_id":125078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:51:44] local.INFO: TCP Data received {"connection_id":125164,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f5073e8012d7e4a8005d358800008005a13..."} 
[2026-07-08 06:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f5073e8012d7e4a8005d358800008005a13..."} 
[2026-07-08 06:51:44] local.INFO: Processing buffer {"connection_id":125164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f5073e8012d7e4a8005d358800008005a13..."} 
[2026-07-08 06:51:44] local.INFO: Packet analysis {"connection_id":125164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f50"} 
[2026-07-08 06:51:44] local.INFO: Extracted packet for processing {"connection_id":125164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f50"} 
[2026-07-08 06:51:44] local.INFO: GPS Element Parsed {"raw_longitude":763251328,"raw_latitude":97736832,"longitude_deg":76.3251328,"latitude_deg":9.7736832,"altitude":8,"angle":90,"satellites":19,"speed":20,"hex_longitude":"2d7e4a80","hex_latitude":"05d35880","is_valid_coordinates":true} 
[2026-07-08 06:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569256704001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103503544987942912,"note":"Value kept but may cause issues"} 
[2026-07-08 06:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097904591006566400,"note":"Value kept but may cause issues"} 
[2026-07-08 06:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783473665000,"timestamp_ms":1783473665000,"timestamp_seconds":1783473665,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f5073e8"} 
[2026-07-08 06:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-08 06:51:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:51:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":125164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":125164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 06:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":125164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 06:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 06:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 06:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569256704001,"66":12667,"109":206,"85":15104,"24":20,"16":103503544987942912,"45":9097904591006566400},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 06:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 06:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 06:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569256704001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:51:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 06:51:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 06:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103503544987942912,"km_value":103503544987942.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097904591006566400,"description":"Unknown IO ID 45"} 
[2026-07-08 06:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569256704001,"power":12667,"unknown_109":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9097904591006566400}} 
[2026-07-08 06:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":125164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449381,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:51:44] local.INFO: GPS data processed {"connection_id":125164,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:51:44] local.INFO: Acknowledgment sent {"connection_id":125164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:51:57] local.INFO: TCP Data received {"connection_id":127171,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:51:57] local.INFO: Processing buffer {"connection_id":127171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:51:57] local.INFO: IMEI packet received {"connection_id":127171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":127171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:51:57] local.INFO: TCP Data received {"connection_id":127171,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:51:57] local.INFO: Processing buffer {"connection_id":127171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:51:57] local.INFO: IMEI packet received {"connection_id":127171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":127171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:52:02] local.INFO: TCP Data received {"connection_id":127171,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:52:02] local.INFO: Processing buffer {"connection_id":127171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:52:02] local.INFO: IMEI packet received {"connection_id":127171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":127171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:52:02] local.INFO: TCP Data received {"connection_id":125913,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125913,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:52:02] local.INFO: Processing buffer {"connection_id":125913,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:52:02] local.INFO: IMEI packet received {"connection_id":125913,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 06:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":125913,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:52:02] local.INFO: TCP Data received {"connection_id":127171,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f506c18012d9fd9000552e4680005015434..."} 
[2026-07-08 06:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f506c18012d9fd9000552e4680005015434..."} 
[2026-07-08 06:52:02] local.INFO: Processing buffer {"connection_id":127171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f506c18012d9fd9000552e4680005015434..."} 
[2026-07-08 06:52:02] local.INFO: Packet analysis {"connection_id":127171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f50"} 
[2026-07-08 06:52:02] local.INFO: Extracted packet for processing {"connection_id":127171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f50"} 
[2026-07-08 06:52:02] local.INFO: GPS Element Parsed {"raw_longitude":765450496,"raw_latitude":89318504,"longitude_deg":76.5450496,"latitude_deg":8.9318504,"altitude":5,"angle":340,"satellites":52,"speed":23,"hex_longitude":"2d9fd900","hex_latitude":"0552e468","is_valid_coordinates":true} 
[2026-07-08 06:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569256448001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342177905578606592,"note":"Value kept but may cause issues"} 
[2026-07-08 06:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6927028785240211456,"note":"Value kept but may cause issues"} 
[2026-07-08 06:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783473663000,"timestamp_ms":1783473663000,"timestamp_seconds":1783473663,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f506c18"} 
[2026-07-08 06:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:52: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-07-08 06:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 06:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569256448001,"66":27767,"115":206,"84":6144,"24":23,"16":342177905578606592,"45":-6927028785240211456},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-07-08 06:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569256448001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:52:02] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-08 06:52:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342177905578606592,"km_value":342177905578606.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6927028785240211456,"description":"Unknown IO ID 45"} 
[2026-07-08 06:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569256448001,"power":27767,"unknown_115":206,"unknown_84":6144,"ignition":23,"odometer":null,"unknown_45":-6927028785240211456}} 
[2026-07-08 06:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":127171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:52:02] local.INFO: GPS data processed {"connection_id":127171,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:52:02] local.INFO: Acknowledgment sent {"connection_id":127171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:52:39] local.INFO: TCP Data received {"connection_id":127171,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f5077d0012d9fd7400552eb900006016034..."} 
[2026-07-08 06:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f5077d0012d9fd7400552eb900006016034..."} 
[2026-07-08 06:52:39] local.INFO: Processing buffer {"connection_id":127171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f5077d0012d9fd7400552eb900006016034..."} 
[2026-07-08 06:52:39] local.INFO: Packet analysis {"connection_id":127171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f50"} 
[2026-07-08 06:52:39] local.INFO: Extracted packet for processing {"connection_id":127171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f50"} 
[2026-07-08 06:52:39] local.INFO: GPS Element Parsed {"raw_longitude":765450048,"raw_latitude":89320336,"longitude_deg":76.5450048,"latitude_deg":8.9320336,"altitude":6,"angle":352,"satellites":52,"speed":25,"hex_longitude":"2d9fd740","hex_latitude":"0552eb90","is_valid_coordinates":true} 
[2026-07-08 06:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569257728001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342177995772919808,"note":"Value kept but may cause issues"} 
[2026-07-08 06:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6928506528867260416,"note":"Value kept but may cause issues"} 
[2026-07-08 06:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783473666000,"timestamp_ms":1783473666000,"timestamp_seconds":1783473666,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f5077d0"} 
[2026-07-08 06:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:52:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 06:52:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:52:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":127171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":127171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":127171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569257728001,"66":27713,"115":206,"84":6144,"24":25,"16":342177995772919808,"45":-6928506528867260416},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-07-08 06:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569257728001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:52:39] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-08 06:52:39] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342177995772919808,"km_value":342177995772919.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6928506528867260416,"description":"Unknown IO ID 45"} 
[2026-07-08 06:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569257728001,"power":27713,"unknown_115":206,"unknown_84":6144,"ignition":25,"odometer":null,"unknown_45":-6928506528867260416}} 
[2026-07-08 06:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":127171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:52:39] local.INFO: GPS data processed {"connection_id":127171,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:52:39] local.INFO: Acknowledgment sent {"connection_id":127171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:52:58] local.INFO: TCP Data received {"connection_id":127172,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:52:58] local.INFO: Processing buffer {"connection_id":127172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:52:58] local.INFO: IMEI packet received {"connection_id":127172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":127172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:53:02] local.INFO: TCP Data received {"connection_id":127172,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:53:02] local.INFO: Processing buffer {"connection_id":127172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:53:02] local.INFO: IMEI packet received {"connection_id":127172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":127172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:53:03] local.INFO: TCP Data received {"connection_id":127172,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f50aa98012d9fd3c005530f98000a015e33..."} 
[2026-07-08 06:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f50aa98012d9fd3c005530f98000a015e33..."} 
[2026-07-08 06:53:03] local.INFO: Processing buffer {"connection_id":127172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f50aa98012d9fd3c005530f98000a015e33..."} 
[2026-07-08 06:53:03] local.INFO: Packet analysis {"connection_id":127172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f50"} 
[2026-07-08 06:53:03] local.INFO: Extracted packet for processing {"connection_id":127172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f50"} 
[2026-07-08 06:53:03] local.INFO: GPS Element Parsed {"raw_longitude":765449152,"raw_latitude":89329560,"longitude_deg":76.5449152,"latitude_deg":8.932956,"altitude":10,"angle":350,"satellites":51,"speed":29,"hex_longitude":"2d9fd3c0","hex_latitude":"05530f98","is_valid_coordinates":true} 
[2026-07-08 06:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569258496001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342178446744485888,"note":"Value kept but may cause issues"} 
[2026-07-08 06:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6928999110076035072,"note":"Value kept but may cause issues"} 
[2026-07-08 06:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783473679000,"timestamp_ms":1783473679000,"timestamp_seconds":1783473679,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f50aa98"} 
[2026-07-08 06:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:53: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-07-08 06:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 06:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569258496001,"66":27713,"115":206,"84":6144,"24":29,"16":342178446744485888,"45":-6928999110076035072},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-07-08 06:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569258496001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:53:03] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-08 06:53:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342178446744485888,"km_value":342178446744485.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6928999110076035072,"description":"Unknown IO ID 45"} 
[2026-07-08 06:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569258496001,"power":27713,"unknown_115":206,"unknown_84":6144,"ignition":29,"odometer":null,"unknown_45":-6928999110076035072}} 
[2026-07-08 06:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":127172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:53:03] local.INFO: GPS data processed {"connection_id":127172,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:53:03] local.INFO: Acknowledgment sent {"connection_id":127172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:53:34] local.INFO: TCP Data received {"connection_id":127172,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f50f0e8012d9fcfc0055332b0000c016232..."} 
[2026-07-08 06:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f50f0e8012d9fcfc0055332b0000c016232..."} 
[2026-07-08 06:53:34] local.INFO: Processing buffer {"connection_id":127172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f50f0e8012d9fcfc0055332b0000c016232..."} 
[2026-07-08 06:53:34] local.INFO: Packet analysis {"connection_id":127172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f50"} 
[2026-07-08 06:53:34] local.INFO: Extracted packet for processing {"connection_id":127172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f50"} 
[2026-07-08 06:53:34] local.INFO: GPS Element Parsed {"raw_longitude":765448128,"raw_latitude":89338544,"longitude_deg":76.5448128,"latitude_deg":8.9338544,"altitude":12,"angle":354,"satellites":50,"speed":26,"hex_longitude":"2d9fcfc0","hex_latitude":"055332b0","is_valid_coordinates":true} 
[2026-07-08 06: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-07-08 06:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569261824001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342178884831150080,"note":"Value kept but may cause issues"} 
[2026-07-08 06:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6929984272492161024,"note":"Value kept but may cause issues"} 
[2026-07-08 06:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783473697000,"timestamp_ms":1783473697000,"timestamp_seconds":1783473697,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f50f0e8"} 
[2026-07-08 06:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:53: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-07-08 06: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 06:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06: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-07-08 06:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569261824001,"66":27745,"115":206,"84":6144,"24":26,"16":342178884831150080,"45":-6929984272492161024},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-07-08 06:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569261824001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:53:34] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-08 06:53:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342178884831150080,"km_value":342178884831150.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6929984272492161024,"description":"Unknown IO ID 45"} 
[2026-07-08 06:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569261824001,"power":27745,"unknown_115":206,"unknown_84":6144,"ignition":26,"odometer":null,"unknown_45":-6929984272492161024}} 
[2026-07-08 06:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":127172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:53:34] local.INFO: GPS data processed {"connection_id":127172,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:53:34] local.INFO: Acknowledgment sent {"connection_id":127172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:53:47] local.INFO: TCP Data received {"connection_id":127173,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 06:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 06:53:47] local.INFO: Processing buffer {"connection_id":127173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 06:53:47] local.INFO: IMEI packet received {"connection_id":127173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 06:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":127173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:53:51] local.INFO: TCP Data received {"connection_id":127173,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 06:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 06:53:51] local.INFO: Processing buffer {"connection_id":127173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 06:53:51] local.INFO: IMEI packet received {"connection_id":127173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 06:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":127173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:53:52] local.INFO: TCP Data received {"connection_id":127173,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f51b438012d7eabc005d320300006004a13..."} 
[2026-07-08 06:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f51b438012d7eabc005d320300006004a13..."} 
[2026-07-08 06:53:52] local.INFO: Processing buffer {"connection_id":127173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f51b438012d7eabc005d320300006004a13..."} 
[2026-07-08 06:53:52] local.INFO: Packet analysis {"connection_id":127173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f51"} 
[2026-07-08 06:53:52] local.INFO: Extracted packet for processing {"connection_id":127173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f51"} 
[2026-07-08 06:53:52] local.INFO: GPS Element Parsed {"raw_longitude":763276224,"raw_latitude":97722416,"longitude_deg":76.3276224,"latitude_deg":9.7722416,"altitude":6,"angle":74,"satellites":19,"speed":23,"hex_longitude":"2d7eabc0","hex_latitude":"05d32030","is_valid_coordinates":true} 
[2026-07-08 06:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569274880001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103505735421263872,"note":"Value kept but may cause issues"} 
[2026-07-08 06:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9118874476766611456,"note":"Value kept but may cause issues"} 
[2026-07-08 06:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783473747000,"timestamp_ms":1783473747000,"timestamp_seconds":1783473747,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f51b438"} 
[2026-07-08 06:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:53:52] 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-07-08 06:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-07-08 06:53:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:53:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":127173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":127173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 06:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":127173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 06:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 06:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 06:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569274880001,"66":13559,"109":206,"85":15104,"24":23,"16":103505735421263872,"45":9118874476766611456},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 06:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 06:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 06:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569274880001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:53:52] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 06:53:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 06:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103505735421263872,"km_value":103505735421263.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9118874476766611456,"description":"Unknown IO ID 45"} 
[2026-07-08 06:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569274880001,"power":13559,"unknown_109":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9118874476766611456}} 
[2026-07-08 06:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":127173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449386,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:53:52] local.INFO: GPS data processed {"connection_id":127173,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:53:52] local.INFO: Acknowledgment sent {"connection_id":127173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:53:56] local.INFO: TCP Data received {"connection_id":125914,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:53:56] local.INFO: Processing buffer {"connection_id":125914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:53:56] local.INFO: IMEI packet received {"connection_id":125914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":125914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:54:02] local.INFO: TCP Data received {"connection_id":125914,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:54:02] local.INFO: Processing buffer {"connection_id":125914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:54:02] local.INFO: IMEI packet received {"connection_id":125914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":125914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:54:03] local.INFO: TCP Data received {"connection_id":125914,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f512b80012d9fcc8005535640000f016432..."} 
[2026-07-08 06:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f512b80012d9fcc8005535640000f016432..."} 
[2026-07-08 06:54:03] local.INFO: Processing buffer {"connection_id":125914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f512b80012d9fcc8005535640000f016432..."} 
[2026-07-08 06:54:03] local.INFO: Packet analysis {"connection_id":125914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f51"} 
[2026-07-08 06:54:03] local.INFO: Extracted packet for processing {"connection_id":125914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f51"} 
[2026-07-08 06:54:03] local.INFO: GPS Element Parsed {"raw_longitude":765447296,"raw_latitude":89347648,"longitude_deg":76.5447296,"latitude_deg":8.9347648,"altitude":15,"angle":356,"satellites":50,"speed":25,"hex_longitude":"2d9fcc80","hex_latitude":"05535640","is_valid_coordinates":true} 
[2026-07-08 06:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569266432001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342179327212781568,"note":"Value kept but may cause issues"} 
[2026-07-08 06:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6931110172396703744,"note":"Value kept but may cause issues"} 
[2026-07-08 06:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783473712000,"timestamp_ms":1783473712000,"timestamp_seconds":1783473712,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f512b80"} 
[2026-07-08 06:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:54: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-07-08 06: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 06:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569266432001,"66":27745,"115":206,"84":6144,"24":25,"16":342179327212781568,"45":-6931110172396703744},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-07-08 06:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569266432001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:54:03] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-08 06:54:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-07-08 06:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342179327212781568,"km_value":342179327212781.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6931110172396703744,"description":"Unknown IO ID 45"} 
[2026-07-08 06:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569266432001,"power":27745,"unknown_115":206,"unknown_84":6144,"ignition":25,"odometer":null,"unknown_45":-6931110172396703744}} 
[2026-07-08 06:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":125914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:54:03] local.INFO: GPS data processed {"connection_id":125914,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:54:03] local.INFO: Acknowledgment sent {"connection_id":125914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:54:22] local.INFO: TCP Data received {"connection_id":127173,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f530428012d7f668005d392600006004f13..."} 
[2026-07-08 06:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f530428012d7f668005d392600006004f13..."} 
[2026-07-08 06:54:22] local.INFO: Processing buffer {"connection_id":127173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f530428012d7f668005d392600006004f13..."} 
[2026-07-08 06:54:22] local.INFO: Packet analysis {"connection_id":127173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f53"} 
[2026-07-08 06:54:22] local.INFO: Extracted packet for processing {"connection_id":127173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f53"} 
[2026-07-08 06:54:22] local.INFO: GPS Element Parsed {"raw_longitude":763324032,"raw_latitude":97751648,"longitude_deg":76.3324032,"latitude_deg":9.7751648,"altitude":6,"angle":79,"satellites":19,"speed":38,"hex_longitude":"2d7f6680","hex_latitude":"05d39260","is_valid_coordinates":true} 
[2026-07-08 06: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-07-08 06:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569300224001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103508578689613824,"note":"Value kept but may cause issues"} 
[2026-07-08 06:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9176013897047318528,"note":"Value kept but may cause issues"} 
[2026-07-08 06:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783473833000,"timestamp_ms":1783473833000,"timestamp_seconds":1783473833,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f530428"} 
[2026-07-08 06:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:54:22] 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-07-08 06: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-08 06:54:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 06:54:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-08 06:54:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-08 06:54:22] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13454701,"corrected_to":0} 
[2026-07-08 06:54:22] local.WARNING: Large IO value detected {"io_id":211,"raw_value":3325908333408490240,"note":"Value kept but may cause issues"} 
[2026-07-08 06:54:22] local.WARNING: Large IO value detected {"io_id":115,"raw_value":2684431743,"note":"Value kept but may cause issues"} 
[2026-07-08 06:54:22] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728653,"note":"Value kept but may cause issues"} 
[2026-07-08 06:54:22] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3136356352,"note":"Value kept but may cause issues"} 
[2026-07-08 06:54:22] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57787500785980731,"note":"Value kept but may cause issues"} 
[2026-07-08 06:54:22] local.WARNING: Large IO value detected {"io_id":82,"raw_value":3546586001468456965,"note":"Value kept but may cause issues"} 
[2026-07-08 06:54:22] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,109,85,24,241,157,16,188,159,217,45,128,123,8,19,10,66,187,205,112,9,174,1,240,247,227,63,211,4,113,20,115,5,64,239,52,2,111,12,7,82],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0},{"io_id":247,"original":13454701,"validated":0}]} 
[2026-07-08 06:54:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432417114090373120,"timestamp_seconds":432417114090373.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 06:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":127173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":127173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 06:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":127173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 06:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 06:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 06:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569300224001,"66":13319,"109":206,"85":15104,"24":38,"16":103508578689613824,"45":9176013897047318528},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 06:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 06:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 06:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569300224001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:54:22] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 06:54:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 06:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103508578689613824,"km_value":103508578689613.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9176013897047318528,"description":"Unknown IO ID 45"} 
[2026-07-08 06:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569300224001,"power":13319,"unknown_109":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9176013897047318528}} 
[2026-07-08 06:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":127173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449388,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:54:22] local.INFO: GPS data processed {"connection_id":127173,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:54:22] local.INFO: Acknowledgment sent {"connection_id":127173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:54:43] local.INFO: TCP Data received {"connection_id":125914,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f52cd78012d9eeb00055467c00005013932..."} 
[2026-07-08 06:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f52cd78012d9eeb00055467c00005013932..."} 
[2026-07-08 06:54:43] local.INFO: Processing buffer {"connection_id":125914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f52cd78012d9eeb00055467c00005013932..."} 
[2026-07-08 06:54:43] local.INFO: Packet analysis {"connection_id":125914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f52"} 
[2026-07-08 06:54:43] local.INFO: Extracted packet for processing {"connection_id":125914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f52"} 
[2026-07-08 06:54:43] local.INFO: GPS Element Parsed {"raw_longitude":765389568,"raw_latitude":89417664,"longitude_deg":76.5389568,"latitude_deg":8.9417664,"altitude":5,"angle":313,"satellites":50,"speed":61,"hex_longitude":"2d9eeb00","hex_latitude":"055467c0","is_valid_coordinates":true} 
[2026-07-08 06:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569295872001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342184146166087680,"note":"Value kept but may cause issues"} 
[2026-07-08 06:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6986842217766881280,"note":"Value kept but may cause issues"} 
[2026-07-08 06:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783473819000,"timestamp_ms":1783473819000,"timestamp_seconds":1783473819,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f52cd78"} 
[2026-07-08 06:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:54:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 06:54:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:54:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":125914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":125914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":125914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569295872001,"66":27713,"196":206,"84":7168,"24":61,"16":342184146166087680,"45":-6986842217766881280},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,84,24,16,45]} 
[2026-07-08 06:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569295872001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:54:43] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-08 06:54:43] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 06:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342184146166087680,"km_value":342184146166087.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6986842217766881280,"description":"Unknown IO ID 45"} 
[2026-07-08 06:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569295872001,"power":27713,"unknown_196":206,"unknown_84":7168,"ignition":61,"odometer":null,"unknown_45":-6986842217766881280}} 
[2026-07-08 06:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":125914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:54:43] local.INFO: GPS data processed {"connection_id":125914,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:54:43] local.INFO: Acknowledgment sent {"connection_id":125914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:54:53] local.INFO: TCP Data received {"connection_id":127173,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f533308012d7f8b4005d394a00009005815..."} 
[2026-07-08 06:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f533308012d7f8b4005d394a00009005815..."} 
[2026-07-08 06:54:53] local.INFO: Processing buffer {"connection_id":127173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f533308012d7f8b4005d394a00009005815..."} 
[2026-07-08 06:54:53] local.INFO: Packet analysis {"connection_id":127173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f53"} 
[2026-07-08 06:54:53] local.INFO: Extracted packet for processing {"connection_id":127173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f53"} 
[2026-07-08 06:54:53] local.INFO: GPS Element Parsed {"raw_longitude":763333440,"raw_latitude":97752224,"longitude_deg":76.333344,"latitude_deg":9.7752224,"altitude":9,"angle":88,"satellites":21,"speed":22,"hex_longitude":"2d7f8b40","hex_latitude":"05d394a0","is_valid_coordinates":true} 
[2026-07-08 06: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-07-08 06:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569301248001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103509029661179904,"note":"Value kept but may cause issues"} 
[2026-07-08 06:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9180165652954112000,"note":"Value kept but may cause issues"} 
[2026-07-08 06:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783473845000,"timestamp_ms":1783473845000,"timestamp_seconds":1783473845,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f533308"} 
[2026-07-08 06:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:54:53] 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-07-08 06: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-08 06:54:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 06:54:53] local.WARNING: Large IO value detected {"io_id":187,"raw_value":3472883712,"note":"Value kept but may cause issues"} 
[2026-07-08 06:54:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-08 06:54:53] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-08 06:54:53] local.WARNING: Large IO value detected {"io_id":181,"raw_value":57787500785980731,"note":"Value kept but may cause issues"} 
[2026-07-08 06:54:53] local.WARNING: Large IO value detected {"io_id":211,"raw_value":3591620724307530496,"note":"Value kept but may cause issues"} 
[2026-07-08 06:54:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":327726,"corrected_to":0} 
[2026-07-08 06:54:53] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2315308365,"note":"Value kept but may cause issues"} 
[2026-07-08 06:54:53] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3137994752,"note":"Value kept but may cause issues"} 
[2026-07-08 06:54:53] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3543351296,"note":"Value kept but may cause issues"} 
[2026-07-08 06:54:53] local.WARNING: Large IO value detected {"io_id":82,"raw_value":7487235675419475973,"note":"Value kept but may cause issues"} 
[2026-07-08 06:54:53] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,109,85,24,241,157,16,188,159,244,45,192,141,6,19,10,66,217,128,123,8,187,205,1,240,181,227,63,211,4,113,40,135,12,200,239,52,2,111,5,82],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0},{"io_id":200,"original":327726,"validated":0}]} 
[2026-07-08 06:54:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432432507253030912,"timestamp_seconds":432432507253030.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 06:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":127173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":127173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 06:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":127173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 06:54:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 06:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 06:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569301248001,"66":13352,"109":206,"85":15104,"24":22,"16":103509029661179904,"45":9180165652954112000},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 06:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 06:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 06:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569301248001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:54:53] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 06:54:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 06:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103509029661179904,"km_value":103509029661179.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9180165652954112000,"description":"Unknown IO ID 45"} 
[2026-07-08 06:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569301248001,"power":13352,"unknown_109":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9180165652954112000}} 
[2026-07-08 06:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":127173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449390,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:54:53] local.INFO: GPS data processed {"connection_id":127173,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:54:53] local.INFO: Acknowledgment sent {"connection_id":127173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:54:56] local.INFO: TCP Data received {"connection_id":125916,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:54:56] local.INFO: Processing buffer {"connection_id":125916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:54:56] local.INFO: IMEI packet received {"connection_id":125916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":125916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:54:59] local.INFO: TCP Data received {"connection_id":125916,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:54:59] local.INFO: Processing buffer {"connection_id":125916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:54:59] local.INFO: IMEI packet received {"connection_id":125916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":125916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:55:02] local.INFO: TCP Data received {"connection_id":125916,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:55:02] local.INFO: Processing buffer {"connection_id":125916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:55:02] local.INFO: IMEI packet received {"connection_id":125916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":125916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:55:03] local.INFO: TCP Data received {"connection_id":125916,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f52e4e8012d9ed2c0055482000005014132..."} 
[2026-07-08 06:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f52e4e8012d9ed2c0055482000005014132..."} 
[2026-07-08 06:55:03] local.INFO: Processing buffer {"connection_id":125916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f52e4e8012d9ed2c0055482000005014132..."} 
[2026-07-08 06:55:03] local.INFO: Packet analysis {"connection_id":125916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f52"} 
[2026-07-08 06:55:03] local.INFO: Extracted packet for processing {"connection_id":125916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f52"} 
[2026-07-08 06:55:03] local.INFO: GPS Element Parsed {"raw_longitude":765383360,"raw_latitude":89424384,"longitude_deg":76.538336,"latitude_deg":8.9424384,"altitude":5,"angle":321,"satellites":50,"speed":59,"hex_longitude":"2d9ed2c0","hex_latitude":"05548200","is_valid_coordinates":true} 
[2026-07-08 06: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-07-08 06:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569297664001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342184584252751872,"note":"Value kept but may cause issues"} 
[2026-07-08 06:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6995497573299011584,"note":"Value kept but may cause issues"} 
[2026-07-08 06:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783473825000,"timestamp_ms":1783473825000,"timestamp_seconds":1783473825,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f52e4e8"} 
[2026-07-08 06:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 06:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06: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-07-08 06:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569297664001,"66":27745,"196":206,"84":7168,"24":59,"16":342184584252751872,"45":-6995497573299011584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,84,24,16,45]} 
[2026-07-08 06:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569297664001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:55:03] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-08 06:55:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 06:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342184584252751872,"km_value":342184584252751.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6995497573299011584,"description":"Unknown IO ID 45"} 
[2026-07-08 06:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569297664001,"power":27745,"unknown_196":206,"unknown_84":7168,"ignition":59,"odometer":null,"unknown_45":-6995497573299011584}} 
[2026-07-08 06:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":125916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:55:03] local.INFO: GPS data processed {"connection_id":125916,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:55:03] local.INFO: Acknowledgment sent {"connection_id":125916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:55:24] local.INFO: TCP Data received {"connection_id":127173,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f5365d0012d7faf0005d395c8000d005817..."} 
[2026-07-08 06:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f5365d0012d7faf0005d395c8000d005817..."} 
[2026-07-08 06:55:24] local.INFO: Processing buffer {"connection_id":127173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f5365d0012d7faf0005d395c8000d005817..."} 
[2026-07-08 06:55:24] local.INFO: Packet analysis {"connection_id":127173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f53"} 
[2026-07-08 06:55:24] local.INFO: Extracted packet for processing {"connection_id":127173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f53"} 
[2026-07-08 06:55:24] local.INFO: GPS Element Parsed {"raw_longitude":763342592,"raw_latitude":97752520,"longitude_deg":76.3342592,"latitude_deg":9.775252,"altitude":13,"angle":88,"satellites":23,"speed":31,"hex_longitude":"2d7faf00","hex_latitude":"05d395c8","is_valid_coordinates":true} 
[2026-07-08 06:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569304320001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103509467747844096,"note":"Value kept but may cause issues"} 
[2026-07-08 06:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190509858348376064,"note":"Value kept but may cause issues"} 
[2026-07-08 06:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783473858000,"timestamp_ms":1783473858000,"timestamp_seconds":1783473858,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f5365d0"} 
[2026-07-08 06:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-08 06:55:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":127173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":127173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 06:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":127173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 06:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 06:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 06:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569304320001,"66":13319,"109":206,"85":15104,"24":31,"16":103509467747844096,"45":9190509858348376064},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 06:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 06:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 06:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569304320001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:55:24] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 06:55:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 06:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103509467747844096,"km_value":103509467747844.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190509858348376064,"description":"Unknown IO ID 45"} 
[2026-07-08 06:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569304320001,"power":13319,"unknown_109":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9190509858348376064}} 
[2026-07-08 06:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":127173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449392,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:55:25] local.INFO: GPS data processed {"connection_id":127173,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:55:25] local.INFO: Acknowledgment sent {"connection_id":127173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:55:34] local.INFO: TCP Data received {"connection_id":125916,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f52fc58012d9ebec005549f380004014a33..."} 
[2026-07-08 06:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f52fc58012d9ebec005549f380004014a33..."} 
[2026-07-08 06:55:34] local.INFO: Processing buffer {"connection_id":125916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f52fc58012d9ebec005549f380004014a33..."} 
[2026-07-08 06:55:34] local.INFO: Packet analysis {"connection_id":125916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f52"} 
[2026-07-08 06:55:34] local.INFO: Extracted packet for processing {"connection_id":125916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f52"} 
[2026-07-08 06:55:34] local.INFO: GPS Element Parsed {"raw_longitude":765378240,"raw_latitude":89431864,"longitude_deg":76.537824,"latitude_deg":8.9431864,"altitude":4,"angle":330,"satellites":51,"speed":59,"hex_longitude":"2d9ebec0","hex_latitude":"05549f38","is_valid_coordinates":true} 
[2026-07-08 06:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569299200001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342185022339416064,"note":"Value kept but may cause issues"} 
[2026-07-08 06:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7002323341482524672,"note":"Value kept but may cause issues"} 
[2026-07-08 06:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783473831000,"timestamp_ms":1783473831000,"timestamp_seconds":1783473831,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f52fc58"} 
[2026-07-08 06:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 06:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06: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-07-08 06:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569299200001,"66":27745,"196":206,"84":7168,"24":59,"16":342185022339416064,"45":-7002323341482524672},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,84,24,16,45]} 
[2026-07-08 06:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569299200001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:55:34] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-08 06:55:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 06:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342185022339416064,"km_value":342185022339416.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7002323341482524672,"description":"Unknown IO ID 45"} 
[2026-07-08 06:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569299200001,"power":27745,"unknown_196":206,"unknown_84":7168,"ignition":59,"odometer":null,"unknown_45":-7002323341482524672}} 
[2026-07-08 06:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":125916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:55:34] local.INFO: GPS data processed {"connection_id":125916,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:55:34] local.INFO: Acknowledgment sent {"connection_id":125916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:55:55] local.INFO: TCP Data received {"connection_id":127173,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f5482f8012d80870005d37cd0000700681b..."} 
[2026-07-08 06:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f5482f8012d80870005d37cd0000700681b..."} 
[2026-07-08 06:55:55] local.INFO: Processing buffer {"connection_id":127173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f5482f8012d80870005d37cd0000700681b..."} 
[2026-07-08 06:55:55] local.INFO: Packet analysis {"connection_id":127173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f54"} 
[2026-07-08 06:55:55] local.INFO: Extracted packet for processing {"connection_id":127173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f54"} 
[2026-07-08 06:55:55] local.INFO: GPS Element Parsed {"raw_longitude":763397888,"raw_latitude":97746128,"longitude_deg":76.3397888,"latitude_deg":9.7746128,"altitude":7,"angle":104,"satellites":27,"speed":26,"hex_longitude":"2d808700","hex_latitude":"05d37cd0","is_valid_coordinates":true} 
[2026-07-08 06:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569324544001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103512255181619200,"note":"Value kept but may cause issues"} 
[2026-07-08 06:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9192128289416742912,"note":"Value kept but may cause issues"} 
[2026-07-08 06:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783473931000,"timestamp_ms":1783473931000,"timestamp_seconds":1783473931,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f5482f8"} 
[2026-07-08 06:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-08 06:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":127173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":127173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 06:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":127173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 06:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 06:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 06:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569324544001,"66":13102,"167":206,"85":15104,"24":26,"16":103512255181619200,"45":-9192128289416742912},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-08 06:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 06:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 06:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569324544001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:55:55] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-08 06:55:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 06:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103512255181619200,"km_value":103512255181619.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9192128289416742912,"description":"Unknown IO ID 45"} 
[2026-07-08 06:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569324544001,"power":13102,"unknown_167":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9192128289416742912}} 
[2026-07-08 06:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":127173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449394,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:55:55] local.INFO: GPS data processed {"connection_id":127173,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:55:55] local.INFO: Acknowledgment sent {"connection_id":127173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:56:01] local.INFO: TCP Data received {"connection_id":125167,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:56:01] local.INFO: Processing buffer {"connection_id":125167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:56:01] local.INFO: IMEI packet received {"connection_id":125167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":125167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:56:01] local.INFO: TCP Data received {"connection_id":125167,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:56:01] local.INFO: Processing buffer {"connection_id":125167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:56:01] local.INFO: IMEI packet received {"connection_id":125167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":125167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:56:07] local.INFO: TCP Data received {"connection_id":125167,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:56:07] local.INFO: Processing buffer {"connection_id":125167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:56:07] local.INFO: IMEI packet received {"connection_id":125167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":125167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:56:08] local.INFO: TCP Data received {"connection_id":125167,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f53ee88012d9e57800555f5f00006015b33..."} 
[2026-07-08 06:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f53ee88012d9e57800555f5f00006015b33..."} 
[2026-07-08 06:56:08] local.INFO: Processing buffer {"connection_id":125167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f53ee88012d9e57800555f5f00006015b33..."} 
[2026-07-08 06:56:08] local.INFO: Packet analysis {"connection_id":125167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f53"} 
[2026-07-08 06:56:08] local.INFO: Extracted packet for processing {"connection_id":125167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f53"} 
[2026-07-08 06:56:08] local.INFO: GPS Element Parsed {"raw_longitude":765351808,"raw_latitude":89519600,"longitude_deg":76.5351808,"latitude_deg":8.95196,"altitude":6,"angle":347,"satellites":51,"speed":59,"hex_longitude":"2d9e5780","hex_latitude":"0555f5f0","is_valid_coordinates":true} 
[2026-07-08 06:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569315072001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342189471925534720,"note":"Value kept but may cause issues"} 
[2026-07-08 06:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7034692963782119424,"note":"Value kept but may cause issues"} 
[2026-07-08 06:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783473893000,"timestamp_ms":1783473893000,"timestamp_seconds":1783473893,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f53ee88"} 
[2026-07-08 06:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 06:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:56:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569315072001,"66":27745,"178":206,"84":7168,"24":59,"16":342189471925534720,"45":-7034692963782119424},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,84,24,16,45]} 
[2026-07-08 06:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569315072001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:56:08] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-08 06:56:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 06:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342189471925534720,"km_value":342189471925534.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7034692963782119424,"description":"Unknown IO ID 45"} 
[2026-07-08 06:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569315072001,"power":27745,"unknown_178":206,"unknown_84":7168,"ignition":59,"odometer":null,"unknown_45":-7034692963782119424}} 
[2026-07-08 06:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":125167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:56:08] local.INFO: GPS data processed {"connection_id":125167,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:56:08] local.INFO: Acknowledgment sent {"connection_id":125167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:56:27] local.INFO: TCP Data received {"connection_id":127173,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f54cd30012d80a88005d37160000300671b..."} 
[2026-07-08 06:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f54cd30012d80a88005d37160000300671b..."} 
[2026-07-08 06:56:27] local.INFO: Processing buffer {"connection_id":127173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f54cd30012d80a88005d37160000300671b..."} 
[2026-07-08 06:56:27] local.INFO: Packet analysis {"connection_id":127173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f54"} 
[2026-07-08 06:56:27] local.INFO: Extracted packet for processing {"connection_id":127173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f54"} 
[2026-07-08 06:56:27] local.INFO: GPS Element Parsed {"raw_longitude":763406464,"raw_latitude":97743200,"longitude_deg":76.3406464,"latitude_deg":9.77432,"altitude":3,"angle":103,"satellites":27,"speed":16,"hex_longitude":"2d80a880","hex_latitude":"05d37160","is_valid_coordinates":true} 
[2026-07-08 06:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569326336001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103512688973316096,"note":"Value kept but may cause issues"} 
[2026-07-08 06:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9185372889975828480,"note":"Value kept but may cause issues"} 
[2026-07-08 06:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783473950000,"timestamp_ms":1783473950000,"timestamp_seconds":1783473950,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f54cd30"} 
[2026-07-08 06:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-08 06:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:56:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":127173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":127173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 06:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":127173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 06:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 06:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 06:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569326336001,"66":12939,"167":206,"85":15104,"24":16,"16":103512688973316096,"45":-9185372889975828480},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-08 06:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 06:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 06:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569326336001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:56:27] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-08 06:56:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 06:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103512688973316096,"km_value":103512688973316.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9185372889975828480,"description":"Unknown IO ID 45"} 
[2026-07-08 06:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569326336001,"power":12939,"unknown_167":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":-9185372889975828480}} 
[2026-07-08 06:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":127173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449396,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:56:27] local.INFO: GPS data processed {"connection_id":127173,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:56:27] local.INFO: Acknowledgment sent {"connection_id":127173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:56:38] local.INFO: TCP Data received {"connection_id":125167,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f5405f8012d9e4ec0055617f00005015633..."} 
[2026-07-08 06:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f5405f8012d9e4ec0055617f00005015633..."} 
[2026-07-08 06:56:38] local.INFO: Processing buffer {"connection_id":125167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f5405f8012d9e4ec0055617f00005015633..."} 
[2026-07-08 06:56:38] local.INFO: Packet analysis {"connection_id":125167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f54"} 
[2026-07-08 06:56:38] local.INFO: Extracted packet for processing {"connection_id":125167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f54"} 
[2026-07-08 06:56:38] local.INFO: GPS Element Parsed {"raw_longitude":765349568,"raw_latitude":89528304,"longitude_deg":76.5349568,"latitude_deg":8.9528304,"altitude":5,"angle":342,"satellites":51,"speed":59,"hex_longitude":"2d9e4ec0","hex_latitude":"055617f0","is_valid_coordinates":true} 
[2026-07-08 06:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569316608001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342189910012198912,"note":"Value kept but may cause issues"} 
[2026-07-08 06:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7037015132337737728,"note":"Value kept but may cause issues"} 
[2026-07-08 06:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783473899000,"timestamp_ms":1783473899000,"timestamp_seconds":1783473899,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f5405f8"} 
[2026-07-08 06:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 06:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569316608001,"66":27745,"179":206,"84":7168,"24":59,"16":342189910012198912,"45":-7037015132337737728},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,84,24,16,45]} 
[2026-07-08 06:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569316608001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:56:38] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-08 06:56:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 06:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342189910012198912,"km_value":342189910012198.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7037015132337737728,"description":"Unknown IO ID 45"} 
[2026-07-08 06:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569316608001,"power":27745,"unknown_179":206,"unknown_84":7168,"ignition":59,"odometer":null,"unknown_45":-7037015132337737728}} 
[2026-07-08 06:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":125167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:56:38] local.INFO: GPS data processed {"connection_id":125167,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:56:38] local.INFO: Acknowledgment sent {"connection_id":125167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:56:58] local.INFO: TCP Data received {"connection_id":127173,"ip":"42.106.6.40","data_length":93,"data_hex":"00000000000000518e010000019f3f55bf60012d80c78005d2f460000600781b..."} 
[2026-07-08 06:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127173,"packet_length":93,"packet_hex":"00000000000000518e010000019f3f55bf60012d80c78005d2f460000600781b..."} 
[2026-07-08 06:56:58] local.INFO: Processing buffer {"connection_id":127173,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f3f55bf60012d80c78005d2f460000600781b..."} 
[2026-07-08 06:56:58] local.INFO: Packet analysis {"connection_id":127173,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f3f55"} 
[2026-07-08 06:56:58] local.INFO: Extracted packet for processing {"connection_id":127173,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f3f55"} 
[2026-07-08 06:56:58] local.INFO: GPS Element Parsed {"raw_longitude":763414400,"raw_latitude":97711200,"longitude_deg":76.34144,"latitude_deg":9.77112,"altitude":6,"angle":120,"satellites":27,"speed":21,"hex_longitude":"2d80c780","hex_latitude":"05d2f460","is_valid_coordinates":true} 
[2026-07-08 06:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-08 06:56:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:56:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:56:58] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:56:58] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-08 06:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":127173,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-08 06:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":127173,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-08 06:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":127173,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-08 06:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-08 06:56:58] local.WARNING: DEBUG: No valid data to process  
[2026-07-08 06:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":127173,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-08 06:56:58] local.ERROR: GPS data processing failed {"connection_id":127173,"error":"No valid data to process"} 
[2026-07-08 06:56:58] local.INFO: Acknowledgment sent {"connection_id":127173,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-08 06:57:00] local.INFO: TCP Data received {"connection_id":125168,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:57:00] local.INFO: Processing buffer {"connection_id":125168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:57:00] local.INFO: IMEI packet received {"connection_id":125168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":125168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:57:00] local.INFO: TCP Data received {"connection_id":125168,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:57:00] local.INFO: Processing buffer {"connection_id":125168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:57:00] local.INFO: IMEI packet received {"connection_id":125168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":125168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:57:01] local.INFO: TCP Data received {"connection_id":125168,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:57:01] local.INFO: Processing buffer {"connection_id":125168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:57:01] local.INFO: IMEI packet received {"connection_id":125168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":125168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:57:02] local.INFO: TCP Data received {"connection_id":125168,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f541d68012d9e43c0055639180004015433..."} 
[2026-07-08 06:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f541d68012d9e43c0055639180004015433..."} 
[2026-07-08 06:57:02] local.INFO: Processing buffer {"connection_id":125168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f541d68012d9e43c0055639180004015433..."} 
[2026-07-08 06:57:02] local.INFO: Packet analysis {"connection_id":125168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f54"} 
[2026-07-08 06:57:02] local.INFO: Extracted packet for processing {"connection_id":125168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f54"} 
[2026-07-08 06:57:02] local.INFO: GPS Element Parsed {"raw_longitude":765346752,"raw_latitude":89536792,"longitude_deg":76.5346752,"latitude_deg":8.9536792,"altitude":4,"angle":340,"satellites":51,"speed":59,"hex_longitude":"2d9e43c0","hex_latitude":"05563918","is_valid_coordinates":true} 
[2026-07-08 06: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-07-08 06:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569318144001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342190343803895808,"note":"Value kept but may cause issues"} 
[2026-07-08 06:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7039478038381727744,"note":"Value kept but may cause issues"} 
[2026-07-08 06:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783473905000,"timestamp_ms":1783473905000,"timestamp_seconds":1783473905,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f541d68"} 
[2026-07-08 06:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 06:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06: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-07-08 06:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569318144001,"66":27821,"179":206,"84":7168,"24":59,"16":342190343803895808,"45":-7039478038381727744},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,84,24,16,45]} 
[2026-07-08 06:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569318144001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:57:02] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-08 06:57:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 06:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342190343803895808,"km_value":342190343803895.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7039478038381727744,"description":"Unknown IO ID 45"} 
[2026-07-08 06:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569318144001,"power":27821,"unknown_179":206,"unknown_84":7168,"ignition":59,"odometer":null,"unknown_45":-7039478038381727744}} 
[2026-07-08 06:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":125168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:57:02] local.INFO: GPS data processed {"connection_id":125168,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:57:02] local.INFO: Acknowledgment sent {"connection_id":125168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:57:16] local.INFO: TCP Data received {"connection_id":125168,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f5434d8012d9e3740055659c00004015233..."} 
[2026-07-08 06:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f5434d8012d9e3740055659c00004015233..."} 
[2026-07-08 06:57:16] local.INFO: Processing buffer {"connection_id":125168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f5434d8012d9e3740055659c00004015233..."} 
[2026-07-08 06:57:16] local.INFO: Packet analysis {"connection_id":125168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f54"} 
[2026-07-08 06:57:16] local.INFO: Extracted packet for processing {"connection_id":125168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f54"} 
[2026-07-08 06:57:16] local.INFO: GPS Element Parsed {"raw_longitude":765343552,"raw_latitude":89545152,"longitude_deg":76.5343552,"latitude_deg":8.9545152,"altitude":4,"angle":338,"satellites":51,"speed":59,"hex_longitude":"2d9e3740","hex_latitude":"055659c0","is_valid_coordinates":true} 
[2026-07-08 06:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569319680001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342190777595592704,"note":"Value kept but may cause issues"} 
[2026-07-08 06:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7042574263123372032,"note":"Value kept but may cause issues"} 
[2026-07-08 06:57:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783473911000,"timestamp_ms":1783473911000,"timestamp_seconds":1783473911,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f5434d8"} 
[2026-07-08 06:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:57:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 06:57:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:57:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":125168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":125168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":125168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569319680001,"66":27767,"179":206,"84":7168,"24":59,"16":342190777595592704,"45":-7042574263123372032},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,84,24,16,45]} 
[2026-07-08 06:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569319680001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:57:16] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-08 06:57:16] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 06:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342190777595592704,"km_value":342190777595592.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7042574263123372032,"description":"Unknown IO ID 45"} 
[2026-07-08 06:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569319680001,"power":27767,"unknown_179":206,"unknown_84":7168,"ignition":59,"odometer":null,"unknown_45":-7042574263123372032}} 
[2026-07-08 06:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":125168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:57:16] local.INFO: GPS data processed {"connection_id":125168,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:57:16] local.INFO: Acknowledgment sent {"connection_id":125168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:57:22] local.INFO: TCP Data received {"connection_id":125917,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125917,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:57:22] local.INFO: Processing buffer {"connection_id":125917,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:57:22] local.INFO: IMEI packet received {"connection_id":125917,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 06:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":125917,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:57:29] local.INFO: TCP Data received {"connection_id":127173,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f55c348012d80c90005d2f330000600871b..."} 
[2026-07-08 06:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f55c348012d80c90005d2f330000600871b..."} 
[2026-07-08 06:57:29] local.INFO: Processing buffer {"connection_id":127173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f55c348012d80c90005d2f330000600871b..."} 
[2026-07-08 06:57:29] local.INFO: Packet analysis {"connection_id":127173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f55"} 
[2026-07-08 06:57:29] local.INFO: Extracted packet for processing {"connection_id":127173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f55"} 
[2026-07-08 06:57:29] local.INFO: GPS Element Parsed {"raw_longitude":763414784,"raw_latitude":97710896,"longitude_deg":76.3414784,"latitude_deg":9.7710896,"altitude":6,"angle":135,"satellites":27,"speed":18,"hex_longitude":"2d80c900","hex_latitude":"05d2f330","is_valid_coordinates":true} 
[2026-07-08 06:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569347072001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103514668953239552,"note":"Value kept but may cause issues"} 
[2026-07-08 06:57:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9167217753986932736,"note":"Value kept but may cause issues"} 
[2026-07-08 06:57:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783474013000,"timestamp_ms":1783474013000,"timestamp_seconds":1783474013,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f55c348"} 
[2026-07-08 06:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:57:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-08 06:57:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:57:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":127173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":127173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 06:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":127173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 06:57:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 06:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 06:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569347072001,"66":13276,"208":206,"85":15104,"24":18,"16":103514668953239552,"45":-9167217753986932736},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-08 06:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 06:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 06:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569347072001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:57:29] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-08 06:57:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 06:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103514668953239552,"km_value":103514668953239.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:57:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9167217753986932736,"description":"Unknown IO ID 45"} 
[2026-07-08 06:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569347072001,"power":13276,"unknown_208":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":-9167217753986932736}} 
[2026-07-08 06:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":127173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449400,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:57:29] local.INFO: GPS data processed {"connection_id":127173,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:57:29] local.INFO: Acknowledgment sent {"connection_id":127173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:57:47] local.INFO: TCP Data received {"connection_id":125918,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 06:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125918,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 06:57:47] local.INFO: Processing buffer {"connection_id":125918,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 06:57:47] local.INFO: IMEI packet received {"connection_id":125918,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 06:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":125918,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:57:53] local.INFO: TCP Data received {"connection_id":125918,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 06:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125918,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 06:57:53] local.INFO: Processing buffer {"connection_id":125918,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 06:57:53] local.INFO: IMEI packet received {"connection_id":125918,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 06:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":125918,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:57:53] local.INFO: TCP Data received {"connection_id":125918,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f55c730012d80c98005d2f198000700a41b..."} 
[2026-07-08 06:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f55c730012d80c98005d2f198000700a41b..."} 
[2026-07-08 06:57:53] local.INFO: Processing buffer {"connection_id":125918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f55c730012d80c98005d2f198000700a41b..."} 
[2026-07-08 06:57:53] local.INFO: Packet analysis {"connection_id":125918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f55"} 
[2026-07-08 06:57:53] local.INFO: Extracted packet for processing {"connection_id":125918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f55"} 
[2026-07-08 06:57:53] local.INFO: GPS Element Parsed {"raw_longitude":763414912,"raw_latitude":97710488,"longitude_deg":76.3414912,"latitude_deg":9.7710488,"altitude":7,"angle":164,"satellites":27,"speed":17,"hex_longitude":"2d80c980","hex_latitude":"05d2f198","is_valid_coordinates":true} 
[2026-07-08 06: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-07-08 06:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569347328001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103514690428076032,"note":"Value kept but may cause issues"} 
[2026-07-08 06:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9166795541521944576,"note":"Value kept but may cause issues"} 
[2026-07-08 06:57: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-07-08 06:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783474014000,"timestamp_ms":1783474014000,"timestamp_seconds":1783474014,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f55c730"} 
[2026-07-08 06:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:57: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-07-08 06: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-08 06:57:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06: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-07-08 06:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 06:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 06:57:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 06:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 06:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569347328001,"66":13624,"208":206,"85":15104,"24":17,"16":103514690428076032,"45":-9166795541521944576},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-08 06:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 06:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 06:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569347328001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:57:53] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-08 06:57:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 06:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103514690428076032,"km_value":103514690428076.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9166795541521944576,"description":"Unknown IO ID 45"} 
[2026-07-08 06:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569347328001,"power":13624,"unknown_208":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9166795541521944576}} 
[2026-07-08 06:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":125918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449401,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:57:53] local.INFO: GPS data processed {"connection_id":125918,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:57:53] local.INFO: Acknowledgment sent {"connection_id":125918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:57:57] local.INFO: TCP Data received {"connection_id":127176,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:57:57] local.INFO: Processing buffer {"connection_id":127176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:57:57] local.INFO: IMEI packet received {"connection_id":127176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":127176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:57:57] local.INFO: TCP Data received {"connection_id":127175,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127175,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:57:57] local.INFO: Processing buffer {"connection_id":127175,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 06:57:57] local.INFO: IMEI packet received {"connection_id":127175,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 06:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":127175,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:57:57] local.INFO: TCP Data received {"connection_id":127176,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:57:57] local.INFO: Processing buffer {"connection_id":127176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:57:57] local.INFO: IMEI packet received {"connection_id":127176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":127176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:58:02] local.INFO: TCP Data received {"connection_id":127176,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:58:02] local.INFO: Processing buffer {"connection_id":127176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:58:02] local.INFO: IMEI packet received {"connection_id":127176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":127176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:58:03] local.INFO: TCP Data received {"connection_id":127176,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f55a408012d9da7000557d5c00005015c33..."} 
[2026-07-08 06:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f55a408012d9da7000557d5c00005015c33..."} 
[2026-07-08 06:58:03] local.INFO: Processing buffer {"connection_id":127176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f55a408012d9da7000557d5c00005015c33..."} 
[2026-07-08 06:58:03] local.INFO: Packet analysis {"connection_id":127176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f55"} 
[2026-07-08 06:58:03] local.INFO: Extracted packet for processing {"connection_id":127176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f55"} 
[2026-07-08 06:58:03] local.INFO: GPS Element Parsed {"raw_longitude":765306624,"raw_latitude":89642432,"longitude_deg":76.5306624,"latitude_deg":8.9642432,"altitude":5,"angle":348,"satellites":51,"speed":41,"hex_longitude":"2d9da700","hex_latitude":"0557d5c0","is_valid_coordinates":true} 
[2026-07-08 06: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-07-08 06:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569342720001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342195828477132800,"note":"Value kept but may cause issues"} 
[2026-07-08 06:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7084232559651903488,"note":"Value kept but may cause issues"} 
[2026-07-08 06:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783474005000,"timestamp_ms":1783474005000,"timestamp_seconds":1783474005,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f55a408"} 
[2026-07-08 06:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:58: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-07-08 06: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 06:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06: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-07-08 06:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569342720001,"66":27767,"179":206,"84":7168,"24":41,"16":342195828477132800,"45":-7084232559651903488},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,84,24,16,45]} 
[2026-07-08 06:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569342720001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:58:03] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-08 06:58:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 06:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342195828477132800,"km_value":342195828477132.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7084232559651903488,"description":"Unknown IO ID 45"} 
[2026-07-08 06:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569342720001,"power":27767,"unknown_179":206,"unknown_84":7168,"ignition":41,"odometer":null,"unknown_45":-7084232559651903488}} 
[2026-07-08 06:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":127176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:58:03] local.INFO: GPS data processed {"connection_id":127176,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:58:03] local.INFO: Acknowledgment sent {"connection_id":127176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:58:24] local.INFO: TCP Data received {"connection_id":125918,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f56f010012d811c4005d265180004009d1b..."} 
[2026-07-08 06:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f56f010012d811c4005d265180004009d1b..."} 
[2026-07-08 06:58:24] local.INFO: Processing buffer {"connection_id":125918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f56f010012d811c4005d265180004009d1b..."} 
[2026-07-08 06:58:24] local.INFO: Packet analysis {"connection_id":125918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f56"} 
[2026-07-08 06:58:24] local.INFO: Extracted packet for processing {"connection_id":125918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f56"} 
[2026-07-08 06:58:24] local.INFO: GPS Element Parsed {"raw_longitude":763436096,"raw_latitude":97674520,"longitude_deg":76.3436096,"latitude_deg":9.767452,"altitude":4,"angle":157,"satellites":27,"speed":24,"hex_longitude":"2d811c40","hex_latitude":"05d26518","is_valid_coordinates":true} 
[2026-07-08 06:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569366784001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103517039775186944,"note":"Value kept but may cause issues"} 
[2026-07-08 06:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9143503487208308736,"note":"Value kept but may cause issues"} 
[2026-07-08 06:58: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-07-08 06:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783474090000,"timestamp_ms":1783474090000,"timestamp_seconds":1783474090,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f56f010"} 
[2026-07-08 06:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:58:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-08 06:58:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:58:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 06:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 06:58:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 06:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 06:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569366784001,"66":13722,"208":206,"85":15104,"24":24,"16":103517039775186944,"45":-9143503487208308736},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-08 06:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 06:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 06:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569366784001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:58:24] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-08 06:58:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 06:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103517039775186944,"km_value":103517039775186.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9143503487208308736,"description":"Unknown IO ID 45"} 
[2026-07-08 06:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569366784001,"power":13722,"unknown_208":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9143503487208308736}} 
[2026-07-08 06:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":125918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449403,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:58:24] local.INFO: GPS data processed {"connection_id":125918,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:58:24] local.INFO: Acknowledgment sent {"connection_id":125918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:58:33] local.INFO: TCP Data received {"connection_id":127176,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f55e670012d9da2400557fa480005016631..."} 
[2026-07-08 06:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f55e670012d9da2400557fa480005016631..."} 
[2026-07-08 06:58:33] local.INFO: Processing buffer {"connection_id":127176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f55e670012d9da2400557fa480005016631..."} 
[2026-07-08 06:58:33] local.INFO: Packet analysis {"connection_id":127176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f55"} 
[2026-07-08 06:58:33] local.INFO: Extracted packet for processing {"connection_id":127176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f55"} 
[2026-07-08 06:58:33] local.INFO: GPS Element Parsed {"raw_longitude":765305408,"raw_latitude":89651784,"longitude_deg":76.5305408,"latitude_deg":8.9651784,"altitude":5,"angle":358,"satellites":49,"speed":28,"hex_longitude":"2d9da240","hex_latitude":"0557fa48","is_valid_coordinates":true} 
[2026-07-08 06:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569345280001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342196288038633472,"note":"Value kept but may cause issues"} 
[2026-07-08 06:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7086695465695723520,"note":"Value kept but may cause issues"} 
[2026-07-08 06:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783474022000,"timestamp_ms":1783474022000,"timestamp_seconds":1783474022,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f55e670"} 
[2026-07-08 06:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 06:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569345280001,"66":27767,"162":206,"84":7168,"24":28,"16":342196288038633472,"45":-7086695465695723520},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,84,24,16,45]} 
[2026-07-08 06:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569345280001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:58:33] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-07-08 06:58:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 06:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342196288038633472,"km_value":342196288038633.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7086695465695723520,"description":"Unknown IO ID 45"} 
[2026-07-08 06:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569345280001,"power":27767,"unknown_162":206,"unknown_84":7168,"ignition":28,"odometer":null,"unknown_45":-7086695465695723520}} 
[2026-07-08 06:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":127176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:58:33] local.INFO: GPS data processed {"connection_id":127176,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:58:33] local.INFO: Acknowledgment sent {"connection_id":127176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:58:46] local.INFO: TCP Data received {"connection_id":125080,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 06:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125080,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 06:58:46] local.INFO: Processing buffer {"connection_id":125080,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 06:58:46] local.INFO: IMEI packet received {"connection_id":125080,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 06:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":125080,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:58:47] local.INFO: TCP Data received {"connection_id":125080,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 06:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125080,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 06:58:47] local.INFO: Processing buffer {"connection_id":125080,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 06:58:47] local.INFO: IMEI packet received {"connection_id":125080,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 06:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":125080,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:58:52] local.INFO: TCP Data received {"connection_id":125080,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 06:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125080,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 06:58:52] local.INFO: Processing buffer {"connection_id":125080,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 06:58:52] local.INFO: IMEI packet received {"connection_id":125080,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 06:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":125080,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:58:53] local.INFO: TCP Data received {"connection_id":125080,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f56f3f8012d811c4005d26248000400b01b..."} 
[2026-07-08 06:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f56f3f8012d811c4005d26248000400b01b..."} 
[2026-07-08 06:58:53] local.INFO: Processing buffer {"connection_id":125080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f56f3f8012d811c4005d26248000400b01b..."} 
[2026-07-08 06:58:53] local.INFO: Packet analysis {"connection_id":125080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f56"} 
[2026-07-08 06:58:53] local.INFO: Extracted packet for processing {"connection_id":125080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f56"} 
[2026-07-08 06:58:53] local.INFO: GPS Element Parsed {"raw_longitude":763436096,"raw_latitude":97673800,"longitude_deg":76.3436096,"latitude_deg":9.76738,"altitude":4,"angle":176,"satellites":27,"speed":27,"hex_longitude":"2d811c40","hex_latitude":"05d26248","is_valid_coordinates":true} 
[2026-07-08 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-07-08 06:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569367040001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103517074134925312,"note":"Value kept but may cause issues"} 
[2026-07-08 06:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9143362749720094720,"note":"Value kept but may cause issues"} 
[2026-07-08 06:58: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-07-08 06:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783474091000,"timestamp_ms":1783474091000,"timestamp_seconds":1783474091,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f56f3f8"} 
[2026-07-08 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-07-08 06:58: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-07-08 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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-07-08 06:58: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-07-08 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-07-08 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-07-08 06:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125080,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 06:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125080,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 06:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 06:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 06:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569367040001,"66":13722,"208":206,"85":15104,"24":27,"16":103517074134925312,"45":-9143362749720094720},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-08 06:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 06:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 06:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569367040001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:58:53] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-08 06:58:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 06:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103517074134925312,"km_value":103517074134925.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9143362749720094720,"description":"Unknown IO ID 45"} 
[2026-07-08 06:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569367040001,"power":13722,"unknown_208":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9143362749720094720}} 
[2026-07-08 06:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":125080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449405,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:58:53] local.INFO: GPS data processed {"connection_id":125080,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:58:53] local.INFO: Acknowledgment sent {"connection_id":125080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:58:59] local.INFO: TCP Data received {"connection_id":125170,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:58:59] local.INFO: Processing buffer {"connection_id":125170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:58:59] local.INFO: IMEI packet received {"connection_id":125170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":125170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:59:01] local.INFO: TCP Data received {"connection_id":125170,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:59:01] local.INFO: Processing buffer {"connection_id":125170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:59:01] local.INFO: IMEI packet received {"connection_id":125170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":125170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 06:59:01] local.INFO: TCP Data received {"connection_id":125170,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f560998012d9da400055817b80004000931..."} 
[2026-07-08 06:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f560998012d9da400055817b80004000931..."} 
[2026-07-08 06:59:01] local.INFO: Processing buffer {"connection_id":125170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f560998012d9da400055817b80004000931..."} 
[2026-07-08 06:59:01] local.INFO: Packet analysis {"connection_id":125170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f56"} 
[2026-07-08 06:59:01] local.INFO: Extracted packet for processing {"connection_id":125170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f56"} 
[2026-07-08 06:59:01] local.INFO: GPS Element Parsed {"raw_longitude":765305856,"raw_latitude":89659320,"longitude_deg":76.5305856,"latitude_deg":8.965932,"altitude":4,"angle":9,"satellites":49,"speed":39,"hex_longitude":"2d9da400","hex_latitude":"055817b8","is_valid_coordinates":true} 
[2026-07-08 06: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-07-08 06:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569349632001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342196657405820928,"note":"Value kept but may cause issues"} 
[2026-07-08 06:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7088032471832705024,"note":"Value kept but may cause issues"} 
[2026-07-08 06:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783474031000,"timestamp_ms":1783474031000,"timestamp_seconds":1783474031,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f560998"} 
[2026-07-08 06:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 06:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06: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-07-08 06:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569349632001,"66":27615,"162":206,"84":7168,"24":39,"16":342196657405820928,"45":-7088032471832705024},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,84,24,16,45]} 
[2026-07-08 06:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569349632001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:59:01] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-07-08 06:59:01] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 06:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342196657405820928,"km_value":342196657405820.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7088032471832705024,"description":"Unknown IO ID 45"} 
[2026-07-08 06:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569349632001,"power":27615,"unknown_162":206,"unknown_84":7168,"ignition":39,"odometer":null,"unknown_45":-7088032471832705024}} 
[2026-07-08 06:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":125170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:59:01] local.INFO: GPS data processed {"connection_id":125170,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:59:01] local.INFO: Acknowledgment sent {"connection_id":125170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:59:02] local.INFO: TCP Data received {"connection_id":125170,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f5628d8012d9dacc0055836600003001531..."} 
[2026-07-08 06:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f5628d8012d9dacc0055836600003001531..."} 
[2026-07-08 06:59:02] local.INFO: Processing buffer {"connection_id":125170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f5628d8012d9dacc0055836600003001531..."} 
[2026-07-08 06:59:02] local.INFO: Packet analysis {"connection_id":125170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f56"} 
[2026-07-08 06:59:02] local.INFO: Extracted packet for processing {"connection_id":125170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f56"} 
[2026-07-08 06:59:02] local.INFO: GPS Element Parsed {"raw_longitude":765308096,"raw_latitude":89667168,"longitude_deg":76.5308096,"latitude_deg":8.9667168,"altitude":3,"angle":21,"satellites":49,"speed":43,"hex_longitude":"2d9dacc0","hex_latitude":"05583660","is_valid_coordinates":true} 
[2026-07-08 06:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569351936001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342197052542812160,"note":"Value kept but may cause issues"} 
[2026-07-08 06:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7087539890621532160,"note":"Value kept but may cause issues"} 
[2026-07-08 06:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783474039000,"timestamp_ms":1783474039000,"timestamp_seconds":1783474039,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f5628d8"} 
[2026-07-08 06:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:59: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-07-08 06: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-08 06:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569351936001,"66":27658,"162":206,"84":7168,"24":43,"16":342197052542812160,"45":-7087539890621532160},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,84,24,16,45]} 
[2026-07-08 06:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569351936001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:59:02] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-07-08 06:59:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 06:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342197052542812160,"km_value":342197052542812.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7087539890621532160,"description":"Unknown IO ID 45"} 
[2026-07-08 06:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569351936001,"power":27658,"unknown_162":206,"unknown_84":7168,"ignition":43,"odometer":null,"unknown_45":-7087539890621532160}} 
[2026-07-08 06:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":125170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:59:02] local.INFO: GPS data processed {"connection_id":125170,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:59:02] local.INFO: Acknowledgment sent {"connection_id":125170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:59:24] local.INFO: TCP Data received {"connection_id":125080,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f56ffb0012d811a8005d25938000400bf1b..."} 
[2026-07-08 06:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f56ffb0012d811a8005d25938000400bf1b..."} 
[2026-07-08 06:59:24] local.INFO: Processing buffer {"connection_id":125080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f56ffb0012d811a8005d25938000400bf1b..."} 
[2026-07-08 06:59:24] local.INFO: Packet analysis {"connection_id":125080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f56"} 
[2026-07-08 06:59:24] local.INFO: Extracted packet for processing {"connection_id":125080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f56"} 
[2026-07-08 06:59:24] local.INFO: GPS Element Parsed {"raw_longitude":763435648,"raw_latitude":97671480,"longitude_deg":76.3435648,"latitude_deg":9.767148,"altitude":4,"angle":191,"satellites":27,"speed":30,"hex_longitude":"2d811a80","hex_latitude":"05d25938","is_valid_coordinates":true} 
[2026-07-08 06:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569367296001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103517190099042304,"note":"Value kept but may cause issues"} 
[2026-07-08 06:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9143362749720279040,"note":"Value kept but may cause issues"} 
[2026-07-08 06:59: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-07-08 06:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783474094000,"timestamp_ms":1783474094000,"timestamp_seconds":1783474094,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f56ffb0"} 
[2026-07-08 06:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-07-08 06:59:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125080,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 06:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125080,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 06:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 06:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 06:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569367296001,"66":13624,"208":206,"85":15104,"24":30,"16":103517190099042304,"45":-9143362749720279040},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-08 06:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 06:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 06:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569367296001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:59:24] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-08 06:59:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 06:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103517190099042304,"km_value":103517190099042.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9143362749720279040,"description":"Unknown IO ID 45"} 
[2026-07-08 06:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569367296001,"power":13624,"unknown_208":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9143362749720279040}} 
[2026-07-08 06:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":125080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449408,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:59:24] local.INFO: GPS data processed {"connection_id":125080,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:59:24] local.INFO: Acknowledgment sent {"connection_id":125080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:59:34] local.INFO: TCP Data received {"connection_id":125170,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f564818012d9dbd40055855580004002131..."} 
[2026-07-08 06:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f564818012d9dbd40055855580004002131..."} 
[2026-07-08 06:59:34] local.INFO: Processing buffer {"connection_id":125170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f564818012d9dbd40055855580004002131..."} 
[2026-07-08 06:59:34] local.INFO: Packet analysis {"connection_id":125170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f56"} 
[2026-07-08 06:59:34] local.INFO: Extracted packet for processing {"connection_id":125170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f56"} 
[2026-07-08 06:59:34] local.INFO: GPS Element Parsed {"raw_longitude":765312320,"raw_latitude":89675096,"longitude_deg":76.531232,"latitude_deg":8.9675096,"altitude":4,"angle":33,"satellites":49,"speed":48,"hex_longitude":"2d9dbd40","hex_latitude":"05585558","is_valid_coordinates":true} 
[2026-07-08 06:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 06:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569353984001,"note":"Value kept but may cause issues"} 
[2026-07-08 06:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342197490629476352,"note":"Value kept but may cause issues"} 
[2026-07-08 06:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7085076984573304832,"note":"Value kept but may cause issues"} 
[2026-07-08 06:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 06:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783474047000,"timestamp_ms":1783474047000,"timestamp_seconds":1783474047,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f564818"} 
[2026-07-08 06:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 06:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 06:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 06:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 06:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 06:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 06:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 06:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 06:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 06:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 06:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 06:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 06:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569353984001,"66":27658,"162":206,"84":7168,"24":48,"16":342197490629476352,"45":-7085076984573304832},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,84,24,16,45]} 
[2026-07-08 06:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 06:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 06:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569353984001,"description":"Unknown IO ID 0"} 
[2026-07-08 06:59:34] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-07-08 06:59:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 06:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342197490629476352,"km_value":342197490629476.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 06:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7085076984573304832,"description":"Unknown IO ID 45"} 
[2026-07-08 06:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569353984001,"power":27658,"unknown_162":206,"unknown_84":7168,"ignition":48,"odometer":null,"unknown_45":-7085076984573304832}} 
[2026-07-08 06:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":125170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 06:59:34] local.INFO: GPS data processed {"connection_id":125170,"processed":1,"errors":0,"total":1} 
[2026-07-08 06:59:34] local.INFO: Acknowledgment sent {"connection_id":125170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 06:59:47] local.INFO: TCP Data received {"connection_id":125171,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 06:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 06:59:47] local.INFO: Processing buffer {"connection_id":125171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 06:59:47] local.INFO: IMEI packet received {"connection_id":125171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 06:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":125171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:59:56] local.INFO: TCP Data received {"connection_id":125173,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:59:56] local.INFO: Processing buffer {"connection_id":125173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:59:56] local.INFO: IMEI packet received {"connection_id":125173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 06:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":125173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 06:59:57] local.INFO: TCP Data received {"connection_id":125173,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:59:57] local.INFO: Processing buffer {"connection_id":125173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 06:59:57] local.INFO: IMEI packet received {"connection_id":125173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 06:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":125173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:00:00] local.INFO: TCP Data received {"connection_id":125173,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:00:00] local.INFO: Processing buffer {"connection_id":125173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:00:00] local.INFO: IMEI packet received {"connection_id":125173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":125173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:00:02] local.INFO: TCP Data received {"connection_id":125173,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:00:02] local.INFO: Processing buffer {"connection_id":125173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:00:02] local.INFO: IMEI packet received {"connection_id":125173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":125173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:00:03] local.INFO: TCP Data received {"connection_id":125173,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f579038012d9e440005593cb8000b001434..."} 
[2026-07-08 07:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f579038012d9e440005593cb8000b001434..."} 
[2026-07-08 07:00:03] local.INFO: Processing buffer {"connection_id":125173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f579038012d9e440005593cb8000b001434..."} 
[2026-07-08 07:00:03] local.INFO: Packet analysis {"connection_id":125173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f57"} 
[2026-07-08 07:00:03] local.INFO: Extracted packet for processing {"connection_id":125173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f57"} 
[2026-07-08 07:00:03] local.INFO: GPS Element Parsed {"raw_longitude":765346816,"raw_latitude":89734328,"longitude_deg":76.5346816,"latitude_deg":8.9734328,"altitude":11,"angle":20,"satellites":52,"speed":46,"hex_longitude":"2d9e4400","hex_latitude":"05593cb8","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569375488001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342200819229130752,"note":"Value kept but may cause issues"} 
[2026-07-08 07:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7046585281492998144,"note":"Value kept but may cause issues"} 
[2026-07-08 07:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783474131000,"timestamp_ms":1783474131000,"timestamp_seconds":1783474131,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f579038"} 
[2026-07-08 07:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 07:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569375488001,"66":26876,"161":206,"84":7168,"24":46,"16":342200819229130752,"45":-7046585281492998144},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,84,24,16,45]} 
[2026-07-08 07:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569375488001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:00:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-08 07:00:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 07:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342200819229130752,"km_value":342200819229130.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7046585281492998144,"description":"Unknown IO ID 45"} 
[2026-07-08 07:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569375488001,"power":26876,"unknown_161":206,"unknown_84":7168,"ignition":46,"odometer":null,"unknown_45":-7046585281492998144}} 
[2026-07-08 07:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":125173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:00:03] local.INFO: GPS data processed {"connection_id":125173,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:00:03] local.INFO: Acknowledgment sent {"connection_id":125173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:00:07] local.INFO: TCP Data received {"connection_id":125173,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f57af78012d9e4e00055960700008000934..."} 
[2026-07-08 07:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f57af78012d9e4e00055960700008000934..."} 
[2026-07-08 07:00:07] local.INFO: Processing buffer {"connection_id":125173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f57af78012d9e4e00055960700008000934..."} 
[2026-07-08 07:00:07] local.INFO: Packet analysis {"connection_id":125173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f57"} 
[2026-07-08 07:00:07] local.INFO: Extracted packet for processing {"connection_id":125173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f57"} 
[2026-07-08 07:00:07] local.INFO: GPS Element Parsed {"raw_longitude":765349376,"raw_latitude":89743472,"longitude_deg":76.5349376,"latitude_deg":8.9743472,"altitude":8,"angle":9,"satellites":52,"speed":46,"hex_longitude":"2d9e4e00","hex_latitude":"05596070","is_valid_coordinates":true} 
[2026-07-08 07:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569377536001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342201278790631424,"note":"Value kept but may cause issues"} 
[2026-07-08 07:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7042503894328625152,"note":"Value kept but may cause issues"} 
[2026-07-08 07:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783474139000,"timestamp_ms":1783474139000,"timestamp_seconds":1783474139,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f57af78"} 
[2026-07-08 07:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-07-08 07:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2986,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569377536001,"66":27767,"118":206,"84":7168,"24":46,"16":342201278790631424,"45":-7042503894328625152},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,84,24,16,45]} 
[2026-07-08 07:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569377536001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:00:07] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-08 07:00:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 07:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342201278790631424,"km_value":342201278790631.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7042503894328625152,"description":"Unknown IO ID 45"} 
[2026-07-08 07:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569377536001,"power":27767,"unknown_118":206,"unknown_84":7168,"ignition":46,"odometer":null,"unknown_45":-7042503894328625152}} 
[2026-07-08 07:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":125173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:00:07] local.INFO: GPS data processed {"connection_id":125173,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:00:07] local.INFO: Acknowledgment sent {"connection_id":125173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:00:08] local.INFO: TCP Data received {"connection_id":125171,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:00:08] local.INFO: Processing buffer {"connection_id":125171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:00:08] local.INFO: IMEI packet received {"connection_id":125171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":125171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:00:09] local.INFO: TCP Data received {"connection_id":125171,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:00:09] local.INFO: Processing buffer {"connection_id":125171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:00:09] local.INFO: IMEI packet received {"connection_id":125171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":125171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:00:09] local.INFO: TCP Data received {"connection_id":125171,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f580180012d81148005d18b100003005c1b..."} 
[2026-07-08 07:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f580180012d81148005d18b100003005c1b..."} 
[2026-07-08 07:00:09] local.INFO: Processing buffer {"connection_id":125171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f580180012d81148005d18b100003005c1b..."} 
[2026-07-08 07:00:09] local.INFO: Packet analysis {"connection_id":125171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f58"} 
[2026-07-08 07:00:09] local.INFO: Extracted packet for processing {"connection_id":125171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f58"} 
[2026-07-08 07:00:09] local.INFO: GPS Element Parsed {"raw_longitude":763434112,"raw_latitude":97618704,"longitude_deg":76.3434112,"latitude_deg":9.7618704,"altitude":3,"angle":92,"satellites":27,"speed":15,"hex_longitude":"2d811480","hex_latitude":"05d18b10","is_valid_coordinates":true} 
[2026-07-08 07:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569384704001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103519801439158272,"note":"Value kept but may cause issues"} 
[2026-07-08 07:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9145896024524767232,"note":"Value kept but may cause issues"} 
[2026-07-08 07:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783474160000,"timestamp_ms":1783474160000,"timestamp_seconds":1783474160,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f580180"} 
[2026-07-08 07:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-08 07:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569384704001,"66":13656,"208":206,"85":15104,"24":15,"16":103519801439158272,"45":-9145896024524767232},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-08 07:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569384704001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:00:09] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-08 07:00:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103519801439158272,"km_value":103519801439158.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9145896024524767232,"description":"Unknown IO ID 45"} 
[2026-07-08 07:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569384704001,"power":13656,"unknown_208":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":-9145896024524767232}} 
[2026-07-08 07:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":125171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449412,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:00:09] local.INFO: GPS data processed {"connection_id":125171,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:00:09] local.INFO: Acknowledgment sent {"connection_id":125171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:00:10] local.INFO: TCP Data received {"connection_id":125171,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f583060012d81394005d187e8000400661b..."} 
[2026-07-08 07:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f583060012d81394005d187e8000400661b..."} 
[2026-07-08 07:00:10] local.INFO: Processing buffer {"connection_id":125171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f583060012d81394005d187e8000400661b..."} 
[2026-07-08 07:00:10] local.INFO: Packet analysis {"connection_id":125171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f58"} 
[2026-07-08 07:00:10] local.INFO: Extracted packet for processing {"connection_id":125171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f58"} 
[2026-07-08 07:00:10] local.INFO: GPS Element Parsed {"raw_longitude":763443520,"raw_latitude":97617896,"longitude_deg":76.344352,"latitude_deg":9.7617896,"altitude":4,"angle":102,"satellites":27,"speed":36,"hex_longitude":"2d813940","hex_latitude":"05d187e8","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569384960001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103520252410724352,"note":"Value kept but may cause issues"} 
[2026-07-08 07:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9145544180803891200,"note":"Value kept but may cause issues"} 
[2026-07-08 07:00: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-07-08 07:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783474172000,"timestamp_ms":1783474172000,"timestamp_seconds":1783474172,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f583060"} 
[2026-07-08 07:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-07-08 07:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569384960001,"66":13515,"208":206,"85":15104,"24":36,"16":103520252410724352,"45":-9145544180803891200},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-08 07:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569384960001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:00:10] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-08 07:00:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103520252410724352,"km_value":103520252410724.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9145544180803891200,"description":"Unknown IO ID 45"} 
[2026-07-08 07:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569384960001,"power":13515,"unknown_208":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9145544180803891200}} 
[2026-07-08 07:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":125171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449413,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:00:10] local.INFO: GPS data processed {"connection_id":125171,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:00:10] local.INFO: Acknowledgment sent {"connection_id":125171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:00:41] local.INFO: TCP Data received {"connection_id":125173,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f57d688012d9e5200055985900007000033..."} 
[2026-07-08 07:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f57d688012d9e5200055985900007000033..."} 
[2026-07-08 07:00:41] local.INFO: Processing buffer {"connection_id":125173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f57d688012d9e5200055985900007000033..."} 
[2026-07-08 07:00:41] local.INFO: Packet analysis {"connection_id":125173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f57"} 
[2026-07-08 07:00:41] local.INFO: Extracted packet for processing {"connection_id":125173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f57"} 
[2026-07-08 07:00:41] local.INFO: GPS Element Parsed {"raw_longitude":765350400,"raw_latitude":89752976,"longitude_deg":76.53504,"latitude_deg":8.9752976,"altitude":7,"angle":0,"satellites":51,"speed":30,"hex_longitude":"2d9e5200","hex_latitude":"05598590","is_valid_coordinates":true} 
[2026-07-08 07:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569379584001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342201742647099392,"note":"Value kept but may cause issues"} 
[2026-07-08 07:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7039689144559177728,"note":"Value kept but may cause issues"} 
[2026-07-08 07:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783474149000,"timestamp_ms":1783474149000,"timestamp_seconds":1783474149,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f57d688"} 
[2026-07-08 07:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 07:00:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569379584001,"66":27658,"118":206,"84":7168,"24":30,"16":342201742647099392,"45":-7039689144559177728},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,84,24,16,45]} 
[2026-07-08 07:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569379584001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:00:41] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-08 07:00:41] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 07:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342201742647099392,"km_value":342201742647099.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7039689144559177728,"description":"Unknown IO ID 45"} 
[2026-07-08 07:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569379584001,"power":27658,"unknown_118":206,"unknown_84":7168,"ignition":30,"odometer":null,"unknown_45":-7039689144559177728}} 
[2026-07-08 07:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":125173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:00:41] local.INFO: GPS data processed {"connection_id":125173,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:00:41] local.INFO: Acknowledgment sent {"connection_id":125173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:00:47] local.INFO: TCP Data received {"connection_id":125081,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125081,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:00:47] local.INFO: Processing buffer {"connection_id":125081,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:00:47] local.INFO: IMEI packet received {"connection_id":125081,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":125081,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:00:48] local.INFO: TCP Data received {"connection_id":125081,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125081,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:00:48] local.INFO: Processing buffer {"connection_id":125081,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:00:48] local.INFO: IMEI packet received {"connection_id":125081,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":125081,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:00:53] local.INFO: TCP Data received {"connection_id":125081,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125081,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:00:53] local.INFO: Processing buffer {"connection_id":125081,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:00:53] local.INFO: IMEI packet received {"connection_id":125081,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":125081,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:00:54] local.INFO: TCP Data received {"connection_id":125081,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f585f40012d815ac005d18348000600581b..."} 
[2026-07-08 07:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f585f40012d815ac005d18348000600581b..."} 
[2026-07-08 07:00:54] local.INFO: Processing buffer {"connection_id":125081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f585f40012d815ac005d18348000600581b..."} 
[2026-07-08 07:00:54] local.INFO: Packet analysis {"connection_id":125081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f58"} 
[2026-07-08 07:00:54] local.INFO: Extracted packet for processing {"connection_id":125081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f58"} 
[2026-07-08 07:00:54] local.INFO: GPS Element Parsed {"raw_longitude":763452096,"raw_latitude":97616712,"longitude_deg":76.3452096,"latitude_deg":9.7616712,"altitude":6,"angle":88,"satellites":27,"speed":21,"hex_longitude":"2d815ac0","hex_latitude":"05d18348","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569388032001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103520664727584768,"note":"Value kept but may cause issues"} 
[2026-07-08 07:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9135199975409981440,"note":"Value kept but may cause issues"} 
[2026-07-08 07:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783474184000,"timestamp_ms":1783474184000,"timestamp_seconds":1783474184,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f585f40"} 
[2026-07-08 07:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07: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-07-08 07: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-08 07:00:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":125081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":125081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":125081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:00:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569388032001,"66":13515,"208":206,"85":15104,"24":21,"16":103520664727584768,"45":-9135199975409981440},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-08 07:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569388032001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:00:54] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-08 07:00:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103520664727584768,"km_value":103520664727584.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9135199975409981440,"description":"Unknown IO ID 45"} 
[2026-07-08 07:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569388032001,"power":13515,"unknown_208":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9135199975409981440}} 
[2026-07-08 07:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":125081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449415,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:00:54] local.INFO: GPS data processed {"connection_id":125081,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:00:54] local.INFO: Acknowledgment sent {"connection_id":125081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:00:56] local.INFO: TCP Data received {"connection_id":125174,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:00:56] local.INFO: Processing buffer {"connection_id":125174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:00:56] local.INFO: IMEI packet received {"connection_id":125174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":125174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:00:59] local.INFO: TCP Data received {"connection_id":125174,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:00:59] local.INFO: Processing buffer {"connection_id":125174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:00:59] local.INFO: IMEI packet received {"connection_id":125174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":125174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:01:02] local.INFO: TCP Data received {"connection_id":125174,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:01:02] local.INFO: Processing buffer {"connection_id":125174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:01:02] local.INFO: IMEI packet received {"connection_id":125174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":125174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:01:03] local.INFO: TCP Data received {"connection_id":125174,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f57f1e0012d9e4fc005599a600007015e33..."} 
[2026-07-08 07:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f57f1e0012d9e4fc005599a600007015e33..."} 
[2026-07-08 07:01:03] local.INFO: Processing buffer {"connection_id":125174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f57f1e0012d9e4fc005599a600007015e33..."} 
[2026-07-08 07:01:03] local.INFO: Packet analysis {"connection_id":125174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f57"} 
[2026-07-08 07:01:03] local.INFO: Extracted packet for processing {"connection_id":125174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f57"} 
[2026-07-08 07:01:03] local.INFO: GPS Element Parsed {"raw_longitude":765349824,"raw_latitude":89758304,"longitude_deg":76.5349824,"latitude_deg":8.9758304,"altitude":7,"angle":350,"satellites":51,"speed":30,"hex_longitude":"2d9e4fc0","hex_latitude":"05599a60","is_valid_coordinates":true} 
[2026-07-08 07:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569382144001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342202004640104448,"note":"Value kept but may cause issues"} 
[2026-07-08 07:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7038563244649902080,"note":"Value kept but may cause issues"} 
[2026-07-08 07:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783474156000,"timestamp_ms":1783474156000,"timestamp_seconds":1783474156,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f57f1e0"} 
[2026-07-08 07:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 07:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569382144001,"66":27821,"118":206,"84":7168,"24":30,"16":342202004640104448,"45":-7038563244649902080},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,84,24,16,45]} 
[2026-07-08 07:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569382144001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:01:03] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-08 07:01:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 07:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342202004640104448,"km_value":342202004640104.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7038563244649902080,"description":"Unknown IO ID 45"} 
[2026-07-08 07:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569382144001,"power":27821,"unknown_118":206,"unknown_84":7168,"ignition":30,"odometer":null,"unknown_45":-7038563244649902080}} 
[2026-07-08 07:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":125174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:01:03] local.INFO: GPS data processed {"connection_id":125174,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:01:03] local.INFO: Acknowledgment sent {"connection_id":125174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:01:25] local.INFO: TCP Data received {"connection_id":125081,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f599f90012d81ca8005d183d0000c005f1b..."} 
[2026-07-08 07:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f599f90012d81ca8005d183d0000c005f1b..."} 
[2026-07-08 07:01:25] local.INFO: Processing buffer {"connection_id":125081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f599f90012d81ca8005d183d0000c005f1b..."} 
[2026-07-08 07:01:25] local.INFO: Packet analysis {"connection_id":125081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f59"} 
[2026-07-08 07:01:25] local.INFO: Extracted packet for processing {"connection_id":125081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f59"} 
[2026-07-08 07:01:25] local.INFO: GPS Element Parsed {"raw_longitude":763480704,"raw_latitude":97616848,"longitude_deg":76.3480704,"latitude_deg":9.7616848,"altitude":12,"angle":95,"satellites":27,"speed":18,"hex_longitude":"2d81ca80","hex_latitude":"05d183d0","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569406976001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103522069181890560,"note":"Value kept but may cause issues"} 
[2026-07-08 07:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9098537859693633536,"note":"Value kept but may cause issues"} 
[2026-07-08 07:01:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783474266000,"timestamp_ms":1783474266000,"timestamp_seconds":1783474266,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f599f90"} 
[2026-07-08 07:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:01:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-08 07:01: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-07-08 07: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-07-08 07:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":125081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":125081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":125081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:01:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569406976001,"66":13656,"63":206,"85":15104,"24":18,"16":103522069181890560,"45":-9098537859693633536},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-08 07:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569406976001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:01:25] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-08 07:01:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103522069181890560,"km_value":103522069181890.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9098537859693633536,"description":"Unknown IO ID 45"} 
[2026-07-08 07:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569406976001,"power":13656,"unknown_63":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":-9098537859693633536}} 
[2026-07-08 07:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":125081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449417,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:01:25] local.INFO: GPS data processed {"connection_id":125081,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:01:25] local.INFO: Acknowledgment sent {"connection_id":125081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:01:34] local.INFO: TCP Data received {"connection_id":125174,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f57fd98012d9e4d000559a2880007014d34..."} 
[2026-07-08 07:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f57fd98012d9e4d000559a2880007014d34..."} 
[2026-07-08 07:01:34] local.INFO: Processing buffer {"connection_id":125174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f57fd98012d9e4d000559a2880007014d34..."} 
[2026-07-08 07:01:34] local.INFO: Packet analysis {"connection_id":125174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f57"} 
[2026-07-08 07:01:34] local.INFO: Extracted packet for processing {"connection_id":125174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f57"} 
[2026-07-08 07:01:34] local.INFO: GPS Element Parsed {"raw_longitude":765349120,"raw_latitude":89760392,"longitude_deg":76.534912,"latitude_deg":8.9760392,"altitude":7,"angle":333,"satellites":52,"speed":28,"hex_longitude":"2d9e4d00","hex_latitude":"0559a288","is_valid_coordinates":true} 
[2026-07-08 07:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569383936001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342202112014286848,"note":"Value kept but may cause issues"} 
[2026-07-08 07:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7039196563346137088,"note":"Value kept but may cause issues"} 
[2026-07-08 07:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783474159000,"timestamp_ms":1783474159000,"timestamp_seconds":1783474159,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f57fd98"} 
[2026-07-08 07:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 07:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569383936001,"66":27713,"118":206,"84":7168,"24":28,"16":342202112014286848,"45":-7039196563346137088},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,84,24,16,45]} 
[2026-07-08 07:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569383936001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:01:34] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-08 07:01:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 07:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342202112014286848,"km_value":342202112014286.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7039196563346137088,"description":"Unknown IO ID 45"} 
[2026-07-08 07:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569383936001,"power":27713,"unknown_118":206,"unknown_84":7168,"ignition":28,"odometer":null,"unknown_45":-7039196563346137088}} 
[2026-07-08 07:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":125174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:01:34] local.INFO: GPS data processed {"connection_id":125174,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:01:34] local.INFO: Acknowledgment sent {"connection_id":125174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:01:48] local.INFO: TCP Data received {"connection_id":125082,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:01:48] local.INFO: Processing buffer {"connection_id":125082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:01:48] local.INFO: IMEI packet received {"connection_id":125082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":125082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:01:56] local.INFO: TCP Data received {"connection_id":125082,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:01:56] local.INFO: Processing buffer {"connection_id":125082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:01:56] local.INFO: IMEI packet received {"connection_id":125082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":125082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:01:56] local.INFO: TCP Data received {"connection_id":125082,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:01:56] local.INFO: Processing buffer {"connection_id":125082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:01:56] local.INFO: IMEI packet received {"connection_id":125082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":125082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:01:56] local.INFO: TCP Data received {"connection_id":125920,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:01:56] local.INFO: Processing buffer {"connection_id":125920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:01:56] local.INFO: IMEI packet received {"connection_id":125920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":125920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:01:57] local.INFO: TCP Data received {"connection_id":125082,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f59af30012d81d24005d18228000c00701b..."} 
[2026-07-08 07:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f59af30012d81d24005d18228000c00701b..."} 
[2026-07-08 07:01:57] local.INFO: Processing buffer {"connection_id":125082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f59af30012d81d24005d18228000c00701b..."} 
[2026-07-08 07:01:57] local.INFO: Packet analysis {"connection_id":125082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f59"} 
[2026-07-08 07:01:57] local.INFO: Extracted packet for processing {"connection_id":125082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f59"} 
[2026-07-08 07:01:57] local.INFO: GPS Element Parsed {"raw_longitude":763482688,"raw_latitude":97616424,"longitude_deg":76.3482688,"latitude_deg":9.7616424,"altitude":12,"angle":112,"satellites":27,"speed":23,"hex_longitude":"2d81d240","hex_latitude":"05d18228","is_valid_coordinates":true} 
[2026-07-08 07:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569412096001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103522167966138368,"note":"Value kept but may cause issues"} 
[2026-07-08 07:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9094315735043026944,"note":"Value kept but may cause issues"} 
[2026-07-08 07:01:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783474270000,"timestamp_ms":1783474270000,"timestamp_seconds":1783474270,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f59af30"} 
[2026-07-08 07:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:01:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-07-08 07:01: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-07-08 07:01:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":125082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":125082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":125082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:01:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569412096001,"66":13580,"63":206,"85":15104,"24":23,"16":103522167966138368,"45":-9094315735043026944},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-08 07:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569412096001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:01:57] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-08 07:01:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103522167966138368,"km_value":103522167966138.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9094315735043026944,"description":"Unknown IO ID 45"} 
[2026-07-08 07:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569412096001,"power":13580,"unknown_63":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9094315735043026944}} 
[2026-07-08 07:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":125082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449419,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:01:57] local.INFO: GPS data processed {"connection_id":125082,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:01:57] local.INFO: Acknowledgment sent {"connection_id":125082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:01:57] local.INFO: TCP Data received {"connection_id":125920,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:01:57] local.INFO: Processing buffer {"connection_id":125920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:01:57] local.INFO: IMEI packet received {"connection_id":125920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":125920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:01:57] local.INFO: TCP Data received {"connection_id":125082,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f59c6a0012d81e2c005d17b58000e005c1b..."} 
[2026-07-08 07:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f59c6a0012d81e2c005d17b58000e005c1b..."} 
[2026-07-08 07:01:57] local.INFO: Processing buffer {"connection_id":125082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f59c6a0012d81e2c005d17b58000e005c1b..."} 
[2026-07-08 07:01:57] local.INFO: Packet analysis {"connection_id":125082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f59"} 
[2026-07-08 07:01:57] local.INFO: Extracted packet for processing {"connection_id":125082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f59"} 
[2026-07-08 07:01:57] local.INFO: GPS Element Parsed {"raw_longitude":763486912,"raw_latitude":97614680,"longitude_deg":76.3486912,"latitude_deg":9.761468,"altitude":14,"angle":92,"satellites":27,"speed":36,"hex_longitude":"2d81e2c0","hex_latitude":"05d17b58","is_valid_coordinates":true} 
[2026-07-08 07:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569413120001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103522391304437760,"note":"Value kept but may cause issues"} 
[2026-07-08 07:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9092134303973627904,"note":"Value kept but may cause issues"} 
[2026-07-08 07:01:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783474276000,"timestamp_ms":1783474276000,"timestamp_seconds":1783474276,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f59c6a0"} 
[2026-07-08 07:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:01:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-08 07:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751607751,"note":"Value kept but may cause issues"} 
[2026-07-08 07:01:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 07:01:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":805306368,"corrected_to":0} 
[2026-07-08 07:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2173681669,"note":"Value kept but may cause issues"} 
[2026-07-08 07:01:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":8054679137459109888,"note":"Value kept but may cause issues"} 
[2026-07-08 07:01:57] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-08 07:01:57] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391991,"note":"Value kept but may cause issues"} 
[2026-07-08 07:01:57] local.WARNING: Large IO value detected {"io_id":209,"raw_value":2235564045,"note":"Value kept but may cause issues"} 
[2026-07-08 07:01:57] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634273972910032,"note":"Value kept but may cause issues"} 
[2026-07-08 07:01:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010120398,"corrected_to":0} 
[2026-07-08 07:01:57] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-08 07:01:57] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3356033024,"note":"Value kept but may cause issues"} 
[2026-07-08 07:01:57] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3515467776,"note":"Value kept but may cause issues"} 
[2026-07-08 07:01:57] local.WARNING: Large IO value detected {"io_id":129,"raw_value":-9151308045293715445,"note":"Value kept but may cause issues"} 
[2026-07-08 07:01:57] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-2521789876852961707,"note":"Value kept but may cause issues"} 
[2026-07-08 07:01:57] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755506815369457,"note":"Value kept but may cause issues"} 
[2026-07-08 07:01:57] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,63,85,24,241,157,16,200,159,45,128,131,12,27,10,66,81,132,13,26,208,42,1,240,51,227,209,4,113,205,33,137,112,239,2,111,5,11,129,49,59],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":200,"original":805306368,"validated":0},{"io_id":205,"original":2010120398,"validated":0}]} 
[2026-07-08 07:01:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864814389723070464,"timestamp_seconds":864814389723070.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 07:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":125082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":125082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":125082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:01:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569413120001,"66":13580,"65":206,"85":15104,"24":36,"16":103522391304437760,"45":-9092134303973627904},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-07-08 07:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569413120001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:01:57] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-08 07:01:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103522391304437760,"km_value":103522391304437.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9092134303973627904,"description":"Unknown IO ID 45"} 
[2026-07-08 07:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569413120001,"power":13580,"unknown_65":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9092134303973627904}} 
[2026-07-08 07:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":125082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449420,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:01:58] local.INFO: GPS data processed {"connection_id":125082,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:01:58] local.INFO: Acknowledgment sent {"connection_id":125082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:02:02] local.INFO: TCP Data received {"connection_id":125920,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:02:02] local.INFO: Processing buffer {"connection_id":125920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:02:02] local.INFO: IMEI packet received {"connection_id":125920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":125920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:02:02] local.INFO: TCP Data received {"connection_id":125920,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f599ba8012d9e40c0055afd580008016734..."} 
[2026-07-08 07:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f599ba8012d9e40c0055afd580008016734..."} 
[2026-07-08 07:02:02] local.INFO: Processing buffer {"connection_id":125920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f599ba8012d9e40c0055afd580008016734..."} 
[2026-07-08 07:02:02] local.INFO: Packet analysis {"connection_id":125920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f59"} 
[2026-07-08 07:02:02] local.INFO: Extracted packet for processing {"connection_id":125920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f59"} 
[2026-07-08 07:02:02] local.INFO: GPS Element Parsed {"raw_longitude":765345984,"raw_latitude":89849176,"longitude_deg":76.5345984,"latitude_deg":8.9849176,"altitude":8,"angle":359,"satellites":52,"speed":54,"hex_longitude":"2d9e40c0","hex_latitude":"055afd58","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569409792001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342206441341321216,"note":"Value kept but may cause issues"} 
[2026-07-08 07:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043137212999426048,"note":"Value kept but may cause issues"} 
[2026-07-08 07:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783474265000,"timestamp_ms":1783474265000,"timestamp_seconds":1783474265,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f599ba8"} 
[2026-07-08 07:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:02:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 07:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569409792001,"66":27767,"248":206,"84":7168,"24":54,"16":342206441341321216,"45":-7043137212999426048},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-07-08 07:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569409792001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:02:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 07:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342206441341321216,"km_value":342206441341321.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043137212999426048,"description":"Unknown IO ID 45"} 
[2026-07-08 07:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569409792001,"power":27767,"tamper_alert":206,"unknown_84":7168,"ignition":54,"odometer":null,"unknown_45":-7043137212999426048}} 
[2026-07-08 07:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":125920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:02:02] local.INFO: GPS data processed {"connection_id":125920,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:02:02] local.INFO: Acknowledgment sent {"connection_id":125920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:02:29] local.INFO: TCP Data received {"connection_id":125082,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f5ab8d0012d82998005d16218000b00601c..."} 
[2026-07-08 07:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f5ab8d0012d82998005d16218000b00601c..."} 
[2026-07-08 07:02:29] local.INFO: Processing buffer {"connection_id":125082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f5ab8d0012d82998005d16218000b00601c..."} 
[2026-07-08 07:02:29] local.INFO: Packet analysis {"connection_id":125082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f5a"} 
[2026-07-08 07:02:29] local.INFO: Extracted packet for processing {"connection_id":125082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f5a"} 
[2026-07-08 07:02:29] local.INFO: GPS Element Parsed {"raw_longitude":763533696,"raw_latitude":97608216,"longitude_deg":76.3533696,"latitude_deg":9.7608216,"altitude":11,"angle":96,"satellites":28,"speed":12,"hex_longitude":"2d829980","hex_latitude":"05d16218","is_valid_coordinates":true} 
[2026-07-08 07:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569430272001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103524749241483264,"note":"Value kept but may cause issues"} 
[2026-07-08 07:02:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036472627331188736,"note":"Value kept but may cause issues"} 
[2026-07-08 07:02:29] 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-07-08 07:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783474338000,"timestamp_ms":1783474338000,"timestamp_seconds":1783474338,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f5ab8d0"} 
[2026-07-08 07:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:02:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-08 07:02:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:02:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":125082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":125082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":125082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:02:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569430272001,"66":13450,"64":206,"85":15104,"24":12,"16":103524749241483264,"45":-9036472627331188736},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-08 07:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569430272001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:02:29] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-08 07:02:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103524749241483264,"km_value":103524749241483.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:02:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036472627331188736,"description":"Unknown IO ID 45"} 
[2026-07-08 07:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569430272001,"power":13450,"unknown_64":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9036472627331188736}} 
[2026-07-08 07:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":125082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449422,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:02:29] local.INFO: GPS data processed {"connection_id":125082,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:02:29] local.INFO: Acknowledgment sent {"connection_id":125082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:02:33] local.INFO: TCP Data received {"connection_id":125920,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f59b700012d9e3f40055b24700007016234..."} 
[2026-07-08 07:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f59b700012d9e3f40055b24700007016234..."} 
[2026-07-08 07:02:33] local.INFO: Processing buffer {"connection_id":125920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f59b700012d9e3f40055b24700007016234..."} 
[2026-07-08 07:02:33] local.INFO: Packet analysis {"connection_id":125920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f59"} 
[2026-07-08 07:02:33] local.INFO: Extracted packet for processing {"connection_id":125920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f59"} 
[2026-07-08 07:02:33] local.INFO: GPS Element Parsed {"raw_longitude":765345600,"raw_latitude":89859184,"longitude_deg":76.53456,"latitude_deg":8.9859184,"altitude":7,"angle":354,"satellites":52,"speed":57,"hex_longitude":"2d9e3f40","hex_latitude":"055b2470","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569411840001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342206926672625664,"note":"Value kept but may cause issues"} 
[2026-07-08 07:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043418687973533696,"note":"Value kept but may cause issues"} 
[2026-07-08 07:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783474272000,"timestamp_ms":1783474272000,"timestamp_seconds":1783474272,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f59b700"} 
[2026-07-08 07:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 07:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569411840001,"66":27691,"248":206,"84":7168,"24":57,"16":342206926672625664,"45":-7043418687973533696},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-07-08 07:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569411840001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:02:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 07:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342206926672625664,"km_value":342206926672625.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043418687973533696,"description":"Unknown IO ID 45"} 
[2026-07-08 07:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569411840001,"power":27691,"tamper_alert":206,"unknown_84":7168,"ignition":57,"odometer":null,"unknown_45":-7043418687973533696}} 
[2026-07-08 07:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":125920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:02:33] local.INFO: GPS data processed {"connection_id":125920,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:02:33] local.INFO: Acknowledgment sent {"connection_id":125920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:02:43] local.INFO: TCP Data received {"connection_id":125175,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:02:43] local.INFO: Processing buffer {"connection_id":125175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:02:43] local.INFO: IMEI packet received {"connection_id":125175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":125175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:02:47] local.INFO: TCP Data received {"connection_id":125175,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:02:47] local.INFO: Processing buffer {"connection_id":125175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:02:47] local.INFO: IMEI packet received {"connection_id":125175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":125175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:02:51] local.INFO: TCP Data received {"connection_id":125175,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:02:51] local.INFO: Processing buffer {"connection_id":125175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:02:51] local.INFO: IMEI packet received {"connection_id":125175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":125175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:02:52] local.INFO: TCP Data received {"connection_id":125175,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f5ac0a0012d829e8005d16298000b00551b..."} 
[2026-07-08 07:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f5ac0a0012d829e8005d16298000b00551b..."} 
[2026-07-08 07:02:52] local.INFO: Processing buffer {"connection_id":125175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f5ac0a0012d829e8005d16298000b00551b..."} 
[2026-07-08 07:02:52] local.INFO: Packet analysis {"connection_id":125175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f5a"} 
[2026-07-08 07:02:52] local.INFO: Extracted packet for processing {"connection_id":125175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f5a"} 
[2026-07-08 07:02:52] local.INFO: GPS Element Parsed {"raw_longitude":763534976,"raw_latitude":97608344,"longitude_deg":76.3534976,"latitude_deg":9.7608344,"altitude":11,"angle":85,"satellites":27,"speed":26,"hex_longitude":"2d829e80","hex_latitude":"05d16298","is_valid_coordinates":true} 
[2026-07-08 07:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569430528001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103524809371025408,"note":"Value kept but may cause issues"} 
[2026-07-08 07:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036050414866130944,"note":"Value kept but may cause issues"} 
[2026-07-08 07:02:52] 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-07-08 07:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783474340000,"timestamp_ms":1783474340000,"timestamp_seconds":1783474340,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f5ac0a0"} 
[2026-07-08 07:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-08 07:02:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:02:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":125175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":125175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":125175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569430528001,"66":13602,"64":206,"85":15104,"24":26,"16":103524809371025408,"45":-9036050414866130944},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-08 07:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569430528001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:02:52] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-08 07:02:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103524809371025408,"km_value":103524809371025.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036050414866130944,"description":"Unknown IO ID 45"} 
[2026-07-08 07:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569430528001,"power":13602,"unknown_64":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9036050414866130944}} 
[2026-07-08 07:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":125175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:02:52] local.INFO: GPS data processed {"connection_id":125175,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:02:52] local.INFO: Acknowledgment sent {"connection_id":125175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:02:58] local.INFO: TCP Data received {"connection_id":125922,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:02:58] local.INFO: Processing buffer {"connection_id":125922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:02:58] local.INFO: IMEI packet received {"connection_id":125922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":125922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:03:02] local.INFO: TCP Data received {"connection_id":125922,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:03:02] local.INFO: Processing buffer {"connection_id":125922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:03:02] local.INFO: IMEI packet received {"connection_id":125922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":125922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:03:07] local.INFO: TCP Data received {"connection_id":125922,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:03:07] local.INFO: Processing buffer {"connection_id":125922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:03:07] local.INFO: IMEI packet received {"connection_id":125922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":125922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:03:08] local.INFO: TCP Data received {"connection_id":125922,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f59d258012d9e3940055b4a100008015d32..."} 
[2026-07-08 07:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f59d258012d9e3940055b4a100008015d32..."} 
[2026-07-08 07:03:08] local.INFO: Processing buffer {"connection_id":125922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f59d258012d9e3940055b4a100008015d32..."} 
[2026-07-08 07:03:08] local.INFO: Packet analysis {"connection_id":125922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f59"} 
[2026-07-08 07:03:08] local.INFO: Extracted packet for processing {"connection_id":125922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f59"} 
[2026-07-08 07:03:08] local.INFO: GPS Element Parsed {"raw_longitude":765344064,"raw_latitude":89868816,"longitude_deg":76.5344064,"latitude_deg":8.9868816,"altitude":8,"angle":349,"satellites":50,"speed":55,"hex_longitude":"2d9e3940","hex_latitude":"055b4a10","is_valid_coordinates":true} 
[2026-07-08 07:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569413632001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342207399119028224,"note":"Value kept but may cause issues"} 
[2026-07-08 07:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043840900436037632,"note":"Value kept but may cause issues"} 
[2026-07-08 07:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783474279000,"timestamp_ms":1783474279000,"timestamp_seconds":1783474279,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f59d258"} 
[2026-07-08 07:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 07:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569413632001,"66":27658,"248":206,"84":7168,"24":55,"16":342207399119028224,"45":-7043840900436037632},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-07-08 07:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569413632001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:03:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 07:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342207399119028224,"km_value":342207399119028.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043840900436037632,"description":"Unknown IO ID 45"} 
[2026-07-08 07:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569413632001,"power":27658,"tamper_alert":206,"unknown_84":7168,"ignition":55,"odometer":null,"unknown_45":-7043840900436037632}} 
[2026-07-08 07:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":125922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:03:08] local.INFO: GPS data processed {"connection_id":125922,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:03:08] local.INFO: Acknowledgment sent {"connection_id":125922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:03:15] local.INFO: TCP Data received {"connection_id":125922,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f59edb0012d9e3140055b71500008015c33..."} 
[2026-07-08 07:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f59edb0012d9e3140055b71500008015c33..."} 
[2026-07-08 07:03:15] local.INFO: Processing buffer {"connection_id":125922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f59edb0012d9e3140055b71500008015c33..."} 
[2026-07-08 07:03:15] local.INFO: Packet analysis {"connection_id":125922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f59"} 
[2026-07-08 07:03:15] local.INFO: Extracted packet for processing {"connection_id":125922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f59"} 
[2026-07-08 07:03:15] local.INFO: GPS Element Parsed {"raw_longitude":765342016,"raw_latitude":89878864,"longitude_deg":76.5342016,"latitude_deg":8.9878864,"altitude":8,"angle":348,"satellites":51,"speed":61,"hex_longitude":"2d9e3140","hex_latitude":"055b7150","is_valid_coordinates":true} 
[2026-07-08 07:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569415424001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342207897335234560,"note":"Value kept but may cause issues"} 
[2026-07-08 07:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7045529750293835776,"note":"Value kept but may cause issues"} 
[2026-07-08 07:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783474286000,"timestamp_ms":1783474286000,"timestamp_seconds":1783474286,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f59edb0"} 
[2026-07-08 07:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:03: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-07-08 07: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 07:03:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":125922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":125922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":125922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569415424001,"66":27767,"247":206,"84":7168,"24":61,"16":342207897335234560,"45":-7045529750293835776},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,84,24,16,45]} 
[2026-07-08 07:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569415424001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:03:15] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 07:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342207897335234560,"km_value":342207897335234.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7045529750293835776,"description":"Unknown IO ID 45"} 
[2026-07-08 07:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569415424001,"power":27767,"internal_battery_voltage":206,"unknown_84":7168,"ignition":61,"odometer":null,"unknown_45":-7045529750293835776}} 
[2026-07-08 07:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":125922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:03:15] local.INFO: GPS data processed {"connection_id":125922,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:03:15] local.INFO: Acknowledgment sent {"connection_id":125922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:03:22] local.INFO: TCP Data received {"connection_id":125921,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125921,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:03:22] local.INFO: Processing buffer {"connection_id":125921,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:03:22] local.INFO: IMEI packet received {"connection_id":125921,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 07:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":125921,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:03:23] local.INFO: TCP Data received {"connection_id":125175,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f5ad428012d82af4005d16278000b00611c..."} 
[2026-07-08 07:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f5ad428012d82af4005d16278000b00611c..."} 
[2026-07-08 07:03:23] local.INFO: Processing buffer {"connection_id":125175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f5ad428012d82af4005d16278000b00611c..."} 
[2026-07-08 07:03:23] local.INFO: Packet analysis {"connection_id":125175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f5a"} 
[2026-07-08 07:03:23] local.INFO: Extracted packet for processing {"connection_id":125175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f5a"} 
[2026-07-08 07:03:23] local.INFO: GPS Element Parsed {"raw_longitude":763539264,"raw_latitude":97608312,"longitude_deg":76.3539264,"latitude_deg":9.7608312,"altitude":11,"angle":97,"satellites":28,"speed":35,"hex_longitude":"2d82af40","hex_latitude":"05d16278","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569431040001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103525015529455616,"note":"Value kept but may cause issues"} 
[2026-07-08 07:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034643039982544896,"note":"Value kept but may cause issues"} 
[2026-07-08 07:03:23] 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-07-08 07:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783474345000,"timestamp_ms":1783474345000,"timestamp_seconds":1783474345,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f5ad428"} 
[2026-07-08 07:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:03:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-07-08 07:03:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":125175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":125175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":125175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569431040001,"66":13798,"64":206,"85":15104,"24":35,"16":103525015529455616,"45":-9034643039982544896},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-08 07:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569431040001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:03:23] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-08 07:03:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103525015529455616,"km_value":103525015529455.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034643039982544896,"description":"Unknown IO ID 45"} 
[2026-07-08 07:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569431040001,"power":13798,"unknown_64":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9034643039982544896}} 
[2026-07-08 07:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":125175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449427,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:03:23] local.INFO: GPS data processed {"connection_id":125175,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:03:23] local.INFO: Acknowledgment sent {"connection_id":125175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:03:47] local.INFO: TCP Data received {"connection_id":125176,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125176,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:03:47] local.INFO: Processing buffer {"connection_id":125176,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:03:47] local.INFO: IMEI packet received {"connection_id":125176,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":125176,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:03:52] local.INFO: TCP Data received {"connection_id":125176,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125176,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:03:52] local.INFO: Processing buffer {"connection_id":125176,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:03:52] local.INFO: IMEI packet received {"connection_id":125176,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":125176,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:03:53] local.INFO: TCP Data received {"connection_id":125176,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f5bc270012d83340005d152f8000900011c..."} 
[2026-07-08 07:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f5bc270012d83340005d152f8000900011c..."} 
[2026-07-08 07:03:53] local.INFO: Processing buffer {"connection_id":125176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f5bc270012d83340005d152f8000900011c..."} 
[2026-07-08 07:03:53] local.INFO: Packet analysis {"connection_id":125176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f5b"} 
[2026-07-08 07:03:53] local.INFO: Extracted packet for processing {"connection_id":125176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f5b"} 
[2026-07-08 07:03:53] local.INFO: GPS Element Parsed {"raw_longitude":763573248,"raw_latitude":97604344,"longitude_deg":76.3573248,"latitude_deg":9.7604344,"altitude":9,"angle":1,"satellites":28,"speed":1,"hex_longitude":"2d833400","hex_latitude":"05d152f8","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569447424001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103526746401275904,"note":"Value kept but may cause issues"} 
[2026-07-08 07:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992562530965344256,"note":"Value kept but may cause issues"} 
[2026-07-08 07:03:53] 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-07-08 07:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783474406000,"timestamp_ms":1783474406000,"timestamp_seconds":1783474406,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f5bc270"} 
[2026-07-08 07:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:03: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-07-08 07: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-08 07:03:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569447424001,"66":12906,"64":206,"85":15104,"24":1,"16":103526746401275904,"45":-8992562530965344256},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-08 07:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569447424001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:03:53] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-08 07:03:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103526746401275904,"km_value":103526746401275.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992562530965344256,"description":"Unknown IO ID 45"} 
[2026-07-08 07:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569447424001,"power":12906,"unknown_64":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":-8992562530965344256}} 
[2026-07-08 07:03:53] local.INFO: TCP Data received {"connection_id":127178,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:03:53] local.INFO: Processing buffer {"connection_id":127178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:03:53] local.INFO: IMEI packet received {"connection_id":127178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":127178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":125176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449428,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:03:53] local.INFO: GPS data processed {"connection_id":125176,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:03:53] local.INFO: Acknowledgment sent {"connection_id":125176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:03:56] local.INFO: TCP Data received {"connection_id":127178,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:03:56] local.INFO: Processing buffer {"connection_id":127178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:03:56] local.INFO: IMEI packet received {"connection_id":127178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":127178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:03:57] local.INFO: TCP Data received {"connection_id":125177,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125177,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:03:57] local.INFO: Processing buffer {"connection_id":125177,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:03:57] local.INFO: IMEI packet received {"connection_id":125177,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 07:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":125177,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:04:02] local.INFO: TCP Data received {"connection_id":127178,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:04:02] local.INFO: Processing buffer {"connection_id":127178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:04:02] local.INFO: IMEI packet received {"connection_id":127178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":127178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:04:02] local.INFO: TCP Data received {"connection_id":127178,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f5a0520012d9e29c0055b93c80008015a33..."} 
[2026-07-08 07:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f5a0520012d9e29c0055b93c80008015a33..."} 
[2026-07-08 07:04:02] local.INFO: Processing buffer {"connection_id":127178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f5a0520012d9e29c0055b93c80008015a33..."} 
[2026-07-08 07:04:02] local.INFO: Packet analysis {"connection_id":127178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f5a"} 
[2026-07-08 07:04:02] local.INFO: Extracted packet for processing {"connection_id":127178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f5a"} 
[2026-07-08 07:04:02] local.INFO: GPS Element Parsed {"raw_longitude":765340096,"raw_latitude":89887688,"longitude_deg":76.5340096,"latitude_deg":8.9887688,"altitude":8,"angle":346,"satellites":51,"speed":55,"hex_longitude":"2d9e29c0","hex_latitude":"055b93c8","is_valid_coordinates":true} 
[2026-07-08 07:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569417216001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342208335421898752,"note":"Value kept but may cause issues"} 
[2026-07-08 07:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7047781550104948736,"note":"Value kept but may cause issues"} 
[2026-07-08 07:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783474292000,"timestamp_ms":1783474292000,"timestamp_seconds":1783474292,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f5a0520"} 
[2026-07-08 07:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 07:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:04:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569417216001,"66":27767,"247":206,"84":7168,"24":55,"16":342208335421898752,"45":-7047781550104948736},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,84,24,16,45]} 
[2026-07-08 07:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569417216001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:04:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 07:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342208335421898752,"km_value":342208335421898.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7047781550104948736,"description":"Unknown IO ID 45"} 
[2026-07-08 07:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569417216001,"power":27767,"internal_battery_voltage":206,"unknown_84":7168,"ignition":55,"odometer":null,"unknown_45":-7047781550104948736}} 
[2026-07-08 07:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":127178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:04:02] local.INFO: GPS data processed {"connection_id":127178,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:04:02] local.INFO: Acknowledgment sent {"connection_id":127178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:04:25] local.INFO: TCP Data received {"connection_id":125176,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f5bd5f8012d83344005d15430000900161c..."} 
[2026-07-08 07:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f5bd5f8012d83344005d15430000900161c..."} 
[2026-07-08 07:04:25] local.INFO: Processing buffer {"connection_id":125176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f5bd5f8012d83344005d15430000900161c..."} 
[2026-07-08 07:04:25] local.INFO: Packet analysis {"connection_id":125176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f5b"} 
[2026-07-08 07:04:25] local.INFO: Extracted packet for processing {"connection_id":125176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f5b"} 
[2026-07-08 07:04:25] local.INFO: GPS Element Parsed {"raw_longitude":763573312,"raw_latitude":97604656,"longitude_deg":76.3573312,"latitude_deg":9.7604656,"altitude":9,"angle":22,"satellites":28,"speed":3,"hex_longitude":"2d833440","hex_latitude":"05d15430","is_valid_coordinates":true} 
[2026-07-08 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-07-08 07:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569447936001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103526763581145088,"note":"Value kept but may cause issues"} 
[2026-07-08 07:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992562530965325824,"note":"Value kept but may cause issues"} 
[2026-07-08 07:04:25] 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-07-08 07:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783474411000,"timestamp_ms":1783474411000,"timestamp_seconds":1783474411,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f5bd5f8"} 
[2026-07-08 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-07-08 07:04:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-08 07:04:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 07:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":125176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":125176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":125176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:04:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569447936001,"66":13656,"64":206,"85":15104,"24":3,"16":103526763581145088,"45":-8992562530965325824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-08 07:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569447936001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:04:25] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-08 07:04:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103526763581145088,"km_value":103526763581145.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992562530965325824,"description":"Unknown IO ID 45"} 
[2026-07-08 07:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569447936001,"power":13656,"unknown_64":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":-8992562530965325824}} 
[2026-07-08 07:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":125176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449430,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:04:25] local.INFO: GPS data processed {"connection_id":125176,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:04:25] local.INFO: Acknowledgment sent {"connection_id":125176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:04:33] local.INFO: TCP Data received {"connection_id":127178,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f5bfd08012d9e1180055d13800009001832..."} 
[2026-07-08 07:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f5bfd08012d9e1180055d13800009001832..."} 
[2026-07-08 07:04:33] local.INFO: Processing buffer {"connection_id":127178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f5bfd08012d9e1180055d13800009001832..."} 
[2026-07-08 07:04:33] local.INFO: Packet analysis {"connection_id":127178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f5b"} 
[2026-07-08 07:04:33] local.INFO: Extracted packet for processing {"connection_id":127178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f5b"} 
[2026-07-08 07:04:33] local.INFO: GPS Element Parsed {"raw_longitude":765333888,"raw_latitude":89985920,"longitude_deg":76.5333888,"latitude_deg":8.998592,"altitude":9,"angle":24,"satellites":50,"speed":53,"hex_longitude":"2d9e1180","hex_latitude":"055d1380","is_valid_coordinates":true} 
[2026-07-08 07:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569449728001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342213235979583488,"note":"Value kept but may cause issues"} 
[2026-07-08 07:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7060659030264451072,"note":"Value kept but may cause issues"} 
[2026-07-08 07:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783474421000,"timestamp_ms":1783474421000,"timestamp_seconds":1783474421,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f5bfd08"} 
[2026-07-08 07:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 07:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:04:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569449728001,"66":27593,"145":206,"84":7168,"24":53,"16":342213235979583488,"45":-7060659030264451072},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,84,24,16,45]} 
[2026-07-08 07:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569449728001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:04:33] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-08 07:04:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 07:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342213235979583488,"km_value":342213235979583.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7060659030264451072,"description":"Unknown IO ID 45"} 
[2026-07-08 07:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569449728001,"power":27593,"unknown_145":206,"unknown_84":7168,"ignition":53,"odometer":null,"unknown_45":-7060659030264451072}} 
[2026-07-08 07:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":127178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:04:33] local.INFO: GPS data processed {"connection_id":127178,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:04:33] local.INFO: Acknowledgment sent {"connection_id":127178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:04:47] local.INFO: TCP Data received {"connection_id":125083,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:04:47] local.INFO: Processing buffer {"connection_id":125083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:04:47] local.INFO: IMEI packet received {"connection_id":125083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":125083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:04:52] local.INFO: TCP Data received {"connection_id":125083,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:04:52] local.INFO: Processing buffer {"connection_id":125083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:04:52] local.INFO: IMEI packet received {"connection_id":125083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":125083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:04:53] local.INFO: TCP Data received {"connection_id":125083,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f5be598012d83348005d15520000900091c..."} 
[2026-07-08 07:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f5be598012d83348005d15520000900091c..."} 
[2026-07-08 07:04:53] local.INFO: Processing buffer {"connection_id":125083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f5be598012d83348005d15520000900091c..."} 
[2026-07-08 07:04:53] local.INFO: Packet analysis {"connection_id":125083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f5b"} 
[2026-07-08 07:04:53] local.INFO: Extracted packet for processing {"connection_id":125083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f5b"} 
[2026-07-08 07:04:53] local.INFO: GPS Element Parsed {"raw_longitude":763573376,"raw_latitude":97604896,"longitude_deg":76.3573376,"latitude_deg":9.7604896,"altitude":9,"angle":9,"satellites":28,"speed":1,"hex_longitude":"2d833480","hex_latitude":"05d15520","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569449216001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103526776466046976,"note":"Value kept but may cause issues"} 
[2026-07-08 07:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992492162221068288,"note":"Value kept but may cause issues"} 
[2026-07-08 07:04:53] 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-07-08 07:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783474415000,"timestamp_ms":1783474415000,"timestamp_seconds":1783474415,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f5be598"} 
[2026-07-08 07:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:04:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-07-08 07:04:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:04:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569449216001,"66":13406,"64":206,"85":15104,"24":1,"16":103526776466046976,"45":-8992492162221068288},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-08 07:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569449216001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:04:53] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-08 07:04:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103526776466046976,"km_value":103526776466046.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992492162221068288,"description":"Unknown IO ID 45"} 
[2026-07-08 07:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569449216001,"power":13406,"unknown_64":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":-8992492162221068288}} 
[2026-07-08 07:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":125083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449432,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:04:53] local.INFO: GPS data processed {"connection_id":125083,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:04:53] local.INFO: Acknowledgment sent {"connection_id":125083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:04:56] local.INFO: TCP Data received {"connection_id":125178,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:04:56] local.INFO: Processing buffer {"connection_id":125178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:04:56] local.INFO: IMEI packet received {"connection_id":125178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":125178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:05:02] local.INFO: TCP Data received {"connection_id":125178,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:05:02] local.INFO: Processing buffer {"connection_id":125178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:05:02] local.INFO: IMEI packet received {"connection_id":125178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":125178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:05:03] local.INFO: TCP Data received {"connection_id":125178,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f5c1860012d9e2440055d35700009002032..."} 
[2026-07-08 07:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f5c1860012d9e2440055d35700009002032..."} 
[2026-07-08 07:05:03] local.INFO: Processing buffer {"connection_id":125178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f5c1860012d9e2440055d35700009002032..."} 
[2026-07-08 07:05:03] local.INFO: Packet analysis {"connection_id":125178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f5c"} 
[2026-07-08 07:05:03] local.INFO: Extracted packet for processing {"connection_id":125178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f5c"} 
[2026-07-08 07:05:03] local.INFO: GPS Element Parsed {"raw_longitude":765338688,"raw_latitude":89994608,"longitude_deg":76.5338688,"latitude_deg":8.9994608,"altitude":9,"angle":32,"satellites":50,"speed":58,"hex_longitude":"2d9e2440","hex_latitude":"055d3570","is_valid_coordinates":true} 
[2026-07-08 07:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569451776001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342213717015920640,"note":"Value kept but may cause issues"} 
[2026-07-08 07:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7056718380588105728,"note":"Value kept but may cause issues"} 
[2026-07-08 07:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783474428000,"timestamp_ms":1783474428000,"timestamp_seconds":1783474428,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f5c1860"} 
[2026-07-08 07:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-08 07:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569451776001,"66":27658,"145":206,"84":7168,"24":58,"16":342213717015920640,"45":-7056718380588105728},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,84,24,16,45]} 
[2026-07-08 07:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569451776001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:05:03] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-08 07:05:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 07:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342213717015920640,"km_value":342213717015920.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7056718380588105728,"description":"Unknown IO ID 45"} 
[2026-07-08 07:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569451776001,"power":27658,"unknown_145":206,"unknown_84":7168,"ignition":58,"odometer":null,"unknown_45":-7056718380588105728}} 
[2026-07-08 07:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":125178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:05:03] local.INFO: GPS data processed {"connection_id":125178,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:05:03] local.INFO: Acknowledgment sent {"connection_id":125178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:05:33] local.INFO: TCP Data received {"connection_id":125083,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f5be980012d83348005d15548000901651c..."} 
[2026-07-08 07:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f5be980012d83348005d15548000901651c..."} 
[2026-07-08 07:05:33] local.INFO: Processing buffer {"connection_id":125083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f5be980012d83348005d15548000901651c..."} 
[2026-07-08 07:05:33] local.INFO: Packet analysis {"connection_id":125083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f5b"} 
[2026-07-08 07:05:33] local.INFO: Extracted packet for processing {"connection_id":125083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f5b"} 
[2026-07-08 07:05:33] local.INFO: GPS Element Parsed {"raw_longitude":763573376,"raw_latitude":97604936,"longitude_deg":76.3573376,"latitude_deg":9.7604936,"altitude":9,"angle":357,"satellites":28,"speed":1,"hex_longitude":"2d833480","hex_latitude":"05d15548","is_valid_coordinates":true} 
[2026-07-08 07:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569450240001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103526776466046976,"note":"Value kept but may cause issues"} 
[2026-07-08 07:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992421793476829184,"note":"Value kept but may cause issues"} 
[2026-07-08 07:05:33] 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-07-08 07:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783474416000,"timestamp_ms":1783474416000,"timestamp_seconds":1783474416,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f5be980"} 
[2026-07-08 07:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-08 07:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:05:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569450240001,"66":13428,"64":206,"85":15104,"24":1,"16":103526776466046976,"45":-8992421793476829184},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-08 07:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569450240001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:05:33] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-08 07:05:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103526776466046976,"km_value":103526776466046.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992421793476829184,"description":"Unknown IO ID 45"} 
[2026-07-08 07:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569450240001,"power":13428,"unknown_64":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":-8992421793476829184}} 
[2026-07-08 07:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":125083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449434,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:05:33] local.INFO: GPS data processed {"connection_id":125083,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:05:33] local.INFO: Acknowledgment sent {"connection_id":125083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:05:34] local.INFO: TCP Data received {"connection_id":125178,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f5c33b8012d9e3940055d56880009002033..."} 
[2026-07-08 07:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f5c33b8012d9e3940055d56880009002033..."} 
[2026-07-08 07:05:34] local.INFO: Processing buffer {"connection_id":125178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f5c33b8012d9e3940055d56880009002033..."} 
[2026-07-08 07:05:34] local.INFO: Packet analysis {"connection_id":125178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f5c"} 
[2026-07-08 07:05:34] local.INFO: Extracted packet for processing {"connection_id":125178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f5c"} 
[2026-07-08 07:05:34] local.INFO: GPS Element Parsed {"raw_longitude":765344064,"raw_latitude":90003080,"longitude_deg":76.5344064,"latitude_deg":9.000308,"altitude":9,"angle":32,"satellites":51,"speed":50,"hex_longitude":"2d9e3940","hex_latitude":"055d5688","is_valid_coordinates":true} 
[2026-07-08 07:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569453568001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342214202347225088,"note":"Value kept but may cause issues"} 
[2026-07-08 07:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7051440724772556800,"note":"Value kept but may cause issues"} 
[2026-07-08 07:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783474435000,"timestamp_ms":1783474435000,"timestamp_seconds":1783474435,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f5c33b8"} 
[2026-07-08 07:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 07:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569453568001,"66":27745,"145":206,"84":7168,"24":50,"16":342214202347225088,"45":-7051440724772556800},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,84,24,16,45]} 
[2026-07-08 07:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569453568001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:05:34] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-08 07:05:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 07:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342214202347225088,"km_value":342214202347225.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7051440724772556800,"description":"Unknown IO ID 45"} 
[2026-07-08 07:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569453568001,"power":27745,"unknown_145":206,"unknown_84":7168,"ignition":50,"odometer":null,"unknown_45":-7051440724772556800}} 
[2026-07-08 07:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":125178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:05:34] local.INFO: GPS data processed {"connection_id":125178,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:05:34] local.INFO: Acknowledgment sent {"connection_id":125178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:05:48] local.INFO: TCP Data received {"connection_id":125084,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:05:48] local.INFO: Processing buffer {"connection_id":125084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:05:48] local.INFO: IMEI packet received {"connection_id":125084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":125084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:05:52] local.INFO: TCP Data received {"connection_id":125084,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:05:52] local.INFO: Processing buffer {"connection_id":125084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:05:52] local.INFO: IMEI packet received {"connection_id":125084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":125084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:05:53] local.INFO: TCP Data received {"connection_id":125084,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f5bed68012d83348005d155600009015b1c..."} 
[2026-07-08 07:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f5bed68012d83348005d155600009015b1c..."} 
[2026-07-08 07:05:53] local.INFO: Processing buffer {"connection_id":125084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f5bed68012d83348005d155600009015b1c..."} 
[2026-07-08 07:05:53] local.INFO: Packet analysis {"connection_id":125084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f5b"} 
[2026-07-08 07:05:53] local.INFO: Extracted packet for processing {"connection_id":125084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f5b"} 
[2026-07-08 07:05:53] local.INFO: GPS Element Parsed {"raw_longitude":763573376,"raw_latitude":97604960,"longitude_deg":76.3573376,"latitude_deg":9.760496,"altitude":9,"angle":347,"satellites":28,"speed":0,"hex_longitude":"2d833480","hex_latitude":"05d15560","is_valid_coordinates":true} 
[2026-07-08 07:05: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-07-08 07:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569450496001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103526780761014272,"note":"Value kept but may cause issues"} 
[2026-07-08 07:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992421793476818944,"note":"Value kept but may cause issues"} 
[2026-07-08 07:05:53] 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-07-08 07:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783474417000,"timestamp_ms":1783474417000,"timestamp_seconds":1783474417,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f5bed68"} 
[2026-07-08 07:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-08 07:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569450496001,"66":13059,"64":206,"85":15104,"24":0,"16":103526780761014272,"45":-8992421793476818944},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-08 07:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569450496001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:05:53] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-08 07:05:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103526780761014272,"km_value":103526780761014.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992421793476818944,"description":"Unknown IO ID 45"} 
[2026-07-08 07:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569450496001,"power":13059,"unknown_64":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992421793476818944}} 
[2026-07-08 07:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":125084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449436,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:05:53] local.INFO: GPS data processed {"connection_id":125084,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:05:53] local.INFO: Acknowledgment sent {"connection_id":125084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:05:54] local.INFO: TCP Data received {"connection_id":127179,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:05:54] local.INFO: Processing buffer {"connection_id":127179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:05:54] local.INFO: IMEI packet received {"connection_id":127179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":127179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:05:57] local.INFO: TCP Data received {"connection_id":127179,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:05:57] local.INFO: Processing buffer {"connection_id":127179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:05:57] local.INFO: IMEI packet received {"connection_id":127179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":127179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:06:02] local.INFO: TCP Data received {"connection_id":127179,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:06:02] local.INFO: Processing buffer {"connection_id":127179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:06:02] local.INFO: IMEI packet received {"connection_id":127179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":127179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:06:02] local.INFO: TCP Data received {"connection_id":127179,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f5c6e50012d9e4c00055d73f00009002034..."} 
[2026-07-08 07:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f5c6e50012d9e4c00055d73f00009002034..."} 
[2026-07-08 07:06:02] local.INFO: Processing buffer {"connection_id":127179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f5c6e50012d9e4c00055d73f00009002034..."} 
[2026-07-08 07:06:02] local.INFO: Packet analysis {"connection_id":127179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f5c"} 
[2026-07-08 07:06:02] local.INFO: Extracted packet for processing {"connection_id":127179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f5c"} 
[2026-07-08 07:06:02] local.INFO: GPS Element Parsed {"raw_longitude":765348864,"raw_latitude":90010608,"longitude_deg":76.5348864,"latitude_deg":9.0010608,"altitude":9,"angle":32,"satellites":52,"speed":16,"hex_longitude":"2d9e4c00","hex_latitude":"055d73f0","is_valid_coordinates":true} 
[2026-07-08 07:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569455360001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342214636138921984,"note":"Value kept but may cause issues"} 
[2026-07-08 07:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7045529750259464192,"note":"Value kept but may cause issues"} 
[2026-07-08 07:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783474450000,"timestamp_ms":1783474450000,"timestamp_seconds":1783474450,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f5c6e50"} 
[2026-07-08 07:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:06: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-07-08 07:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 07:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569455360001,"66":27767,"145":206,"84":7168,"24":16,"16":342214636138921984,"45":-7045529750259464192},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,84,24,16,45]} 
[2026-07-08 07:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569455360001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:06:02] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-08 07:06:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 07:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342214636138921984,"km_value":342214636138922.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7045529750259464192,"description":"Unknown IO ID 45"} 
[2026-07-08 07:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569455360001,"power":27767,"unknown_145":206,"unknown_84":7168,"ignition":16,"odometer":null,"unknown_45":-7045529750259464192}} 
[2026-07-08 07:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":127179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:06:02] local.INFO: GPS data processed {"connection_id":127179,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:06:02] local.INFO: Acknowledgment sent {"connection_id":127179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:06:24] local.INFO: TCP Data received {"connection_id":125084,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f5bed68012d83348005d155600009015b1c..."} 
[2026-07-08 07:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f5bed68012d83348005d155600009015b1c..."} 
[2026-07-08 07:06:24] local.INFO: Processing buffer {"connection_id":125084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f5bed68012d83348005d155600009015b1c..."} 
[2026-07-08 07:06:24] local.INFO: Packet analysis {"connection_id":125084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f5b"} 
[2026-07-08 07:06:24] local.INFO: Extracted packet for processing {"connection_id":125084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f5b"} 
[2026-07-08 07:06:24] local.INFO: GPS Element Parsed {"raw_longitude":763573376,"raw_latitude":97604960,"longitude_deg":76.3573376,"latitude_deg":9.760496,"altitude":9,"angle":347,"satellites":28,"speed":0,"hex_longitude":"2d833480","hex_latitude":"05d15560","is_valid_coordinates":true} 
[2026-07-08 07:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569450752001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103526780761014272,"note":"Value kept but may cause issues"} 
[2026-07-08 07:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992421793476812800,"note":"Value kept but may cause issues"} 
[2026-07-08 07:06:24] 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-07-08 07:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783474417000,"timestamp_ms":1783474417000,"timestamp_seconds":1783474417,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f5bed68"} 
[2026-07-08 07:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:06:24] 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-07-08 07:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 07:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303174857575758,"note":"Value kept but may cause issues"} 
[2026-07-08 07:06:24] local.WARNING: Large IO value detected {"io_id":64,"raw_value":58077557095399428,"note":"Value kept but may cause issues"} 
[2026-07-08 07:06:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 07:06:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312817358,"corrected_to":0} 
[2026-07-08 07:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2201223173,"note":"Value kept but may cause issues"} 
[2026-07-08 07:06:24] local.WARNING: Large IO value detected {"io_id":186,"raw_value":2684431747,"note":"Value kept but may cause issues"} 
[2026-07-08 07:06:24] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407118,"note":"Value kept but may cause issues"} 
[2026-07-08 07:06:24] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3439722496,"note":"Value kept but may cause issues"} 
[2026-07-08 07:06:24] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3511715840,"note":"Value kept but may cause issues"} 
[2026-07-08 07:06:24] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,64,85,24,241,157,16,205,159,233,45,128,9,28,10,66,229,213,1,240,88,227,63,209,4,113,186,52,176,239,2,111,5],"length":486,"final_offset":616,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1312817358,"validated":0}]} 
[2026-07-08 07:06:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648899997135274223,"timestamp_seconds":648899997135274.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 07:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569450752001,"66":13059,"64":206,"85":15104,"24":0,"16":103526780761014272,"45":-8992421793476812800},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-08 07:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569450752001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:06:24] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-08 07:06:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103526780761014272,"km_value":103526780761014.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992421793476812800,"description":"Unknown IO ID 45"} 
[2026-07-08 07:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569450752001,"power":13059,"unknown_64":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992421793476812800}} 
[2026-07-08 07:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":125084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449438,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:06:24] local.INFO: GPS data processed {"connection_id":125084,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:06:24] local.INFO: Acknowledgment sent {"connection_id":125084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:06:34] local.INFO: TCP Data received {"connection_id":127179,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f5cc058012d9e51c0055d7db8000a001e33..."} 
[2026-07-08 07:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f5cc058012d9e51c0055d7db8000a001e33..."} 
[2026-07-08 07:06:34] local.INFO: Processing buffer {"connection_id":127179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f5cc058012d9e51c0055d7db8000a001e33..."} 
[2026-07-08 07:06:34] local.INFO: Packet analysis {"connection_id":127179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f5c"} 
[2026-07-08 07:06:34] local.INFO: Extracted packet for processing {"connection_id":127179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f5c"} 
[2026-07-08 07:06:34] local.INFO: GPS Element Parsed {"raw_longitude":765350336,"raw_latitude":90013112,"longitude_deg":76.5350336,"latitude_deg":9.0013112,"altitude":10,"angle":30,"satellites":51,"speed":4,"hex_longitude":"2d9e51c0","hex_latitude":"055d7db8","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569459200001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342214773577875456,"note":"Value kept but may cause issues"} 
[2026-07-08 07:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7040252094444212224,"note":"Value kept but may cause issues"} 
[2026-07-08 07:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783474471000,"timestamp_ms":1783474471000,"timestamp_seconds":1783474471,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f5cc058"} 
[2026-07-08 07:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 07:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569459200001,"66":27658,"143":206,"84":7168,"24":4,"16":342214773577875456,"45":-7040252094444212224},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,84,24,16,45]} 
[2026-07-08 07:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569459200001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:06:34] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-08 07:06:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 07:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342214773577875456,"km_value":342214773577875.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7040252094444212224,"description":"Unknown IO ID 45"} 
[2026-07-08 07:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569459200001,"power":27658,"unknown_143":206,"unknown_84":7168,"ignition":4,"odometer":null,"unknown_45":-7040252094444212224}} 
[2026-07-08 07:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":127179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:06:34] local.INFO: GPS data processed {"connection_id":127179,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:06:34] local.INFO: Acknowledgment sent {"connection_id":127179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:06:47] local.INFO: TCP Data received {"connection_id":125180,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125180,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:06:47] local.INFO: Processing buffer {"connection_id":125180,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:06:47] local.INFO: IMEI packet received {"connection_id":125180,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":125180,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:06:52] local.INFO: TCP Data received {"connection_id":125180,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125180,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:06:52] local.INFO: Processing buffer {"connection_id":125180,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:06:52] local.INFO: IMEI packet received {"connection_id":125180,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":125180,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:06:53] local.INFO: TCP Data received {"connection_id":125180,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f5bed68012d83348005d155600009015b1c..."} 
[2026-07-08 07:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f5bed68012d83348005d155600009015b1c..."} 
[2026-07-08 07:06:53] local.INFO: Processing buffer {"connection_id":125180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f5bed68012d83348005d155600009015b1c..."} 
[2026-07-08 07:06:53] local.INFO: Packet analysis {"connection_id":125180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f5b"} 
[2026-07-08 07:06:53] local.INFO: Extracted packet for processing {"connection_id":125180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f5b"} 
[2026-07-08 07:06:53] local.INFO: GPS Element Parsed {"raw_longitude":763573376,"raw_latitude":97604960,"longitude_deg":76.3573376,"latitude_deg":9.760496,"altitude":9,"angle":347,"satellites":28,"speed":0,"hex_longitude":"2d833480","hex_latitude":"05d15560","is_valid_coordinates":true} 
[2026-07-08 07:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569450752001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103526780761014272,"note":"Value kept but may cause issues"} 
[2026-07-08 07:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992421793476812800,"note":"Value kept but may cause issues"} 
[2026-07-08 07:06:53] 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-07-08 07:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783474417000,"timestamp_ms":1783474417000,"timestamp_seconds":1783474417,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f5bed68"} 
[2026-07-08 07:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:06:53] 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-07-08 07: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 07:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303174857575758,"note":"Value kept but may cause issues"} 
[2026-07-08 07:06:53] local.WARNING: Large IO value detected {"io_id":64,"raw_value":58077557095399428,"note":"Value kept but may cause issues"} 
[2026-07-08 07:06:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 07:06:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312817358,"corrected_to":0} 
[2026-07-08 07:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2201223173,"note":"Value kept but may cause issues"} 
[2026-07-08 07:06:53] local.WARNING: Large IO value detected {"io_id":186,"raw_value":2684431747,"note":"Value kept but may cause issues"} 
[2026-07-08 07:06:53] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407118,"note":"Value kept but may cause issues"} 
[2026-07-08 07:06:53] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3439722496,"note":"Value kept but may cause issues"} 
[2026-07-08 07:06:53] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3511715840,"note":"Value kept but may cause issues"} 
[2026-07-08 07:06:53] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,64,85,24,241,157,16,205,159,233,45,128,9,28,10,66,229,213,1,240,88,227,63,209,4,113,186,52,176,239,2,111,5],"length":486,"final_offset":616,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1312817358,"validated":0}]} 
[2026-07-08 07:06:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648899997135274223,"timestamp_seconds":648899997135274.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 07:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:06:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569450752001,"66":13059,"64":206,"85":15104,"24":0,"16":103526780761014272,"45":-8992421793476812800},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-08 07:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569450752001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:06:53] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-08 07:06:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103526780761014272,"km_value":103526780761014.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992421793476812800,"description":"Unknown IO ID 45"} 
[2026-07-08 07:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569450752001,"power":13059,"unknown_64":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992421793476812800}} 
[2026-07-08 07:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":125180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449440,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:06:53] local.INFO: GPS data processed {"connection_id":125180,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:06:53] local.INFO: Acknowledgment sent {"connection_id":125180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:06:55] local.INFO: TCP Data received {"connection_id":125086,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:06:55] local.INFO: Processing buffer {"connection_id":125086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:06:55] local.INFO: IMEI packet received {"connection_id":125086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":125086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:06:56] local.INFO: TCP Data received {"connection_id":125086,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:06:56] local.INFO: Processing buffer {"connection_id":125086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:06:56] local.INFO: IMEI packet received {"connection_id":125086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":125086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:06:59] local.INFO: TCP Data received {"connection_id":125086,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:06:59] local.INFO: Processing buffer {"connection_id":125086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:06:59] local.INFO: IMEI packet received {"connection_id":125086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":125086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:07:00] local.INFO: TCP Data received {"connection_id":125086,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:07:00] local.INFO: Processing buffer {"connection_id":125086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:07:00] local.INFO: IMEI packet received {"connection_id":125086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":125086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:07:01] local.INFO: TCP Data received {"connection_id":125086,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f5e4ec8012d9ea6c0055ec5480007016731..."} 
[2026-07-08 07:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f5e4ec8012d9ea6c0055ec5480007016731..."} 
[2026-07-08 07:07:01] local.INFO: Processing buffer {"connection_id":125086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f5e4ec8012d9ea6c0055ec5480007016731..."} 
[2026-07-08 07:07:01] local.INFO: Packet analysis {"connection_id":125086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f5e"} 
[2026-07-08 07:07:01] local.INFO: Extracted packet for processing {"connection_id":125086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f5e"} 
[2026-07-08 07:07:01] local.INFO: GPS Element Parsed {"raw_longitude":765372096,"raw_latitude":90096968,"longitude_deg":76.5372096,"latitude_deg":9.0096968,"altitude":7,"angle":359,"satellites":49,"speed":33,"hex_longitude":"2d9ea6c0","hex_latitude":"055ec548","is_valid_coordinates":true} 
[2026-07-08 07:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569487872001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342219004120662016,"note":"Value kept but may cause issues"} 
[2026-07-08 07:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7015482296473890816,"note":"Value kept but may cause issues"} 
[2026-07-08 07:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783474573000,"timestamp_ms":1783474573000,"timestamp_seconds":1783474573,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f5e4ec8"} 
[2026-07-08 07:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 07:07:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569487872001,"66":27919,"129":206,"84":7168,"24":33,"16":342219004120662016,"45":-7015482296473890816},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,84,24,16,45]} 
[2026-07-08 07:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569487872001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:07:01] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-08 07:07:01] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 07:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342219004120662016,"km_value":342219004120662.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7015482296473890816,"description":"Unknown IO ID 45"} 
[2026-07-08 07:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569487872001,"power":27919,"unknown_129":206,"unknown_84":7168,"ignition":33,"odometer":null,"unknown_45":-7015482296473890816}} 
[2026-07-08 07:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":125086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:07:01] local.INFO: GPS data processed {"connection_id":125086,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:07:01] local.INFO: Acknowledgment sent {"connection_id":125086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:07:24] local.INFO: TCP Data received {"connection_id":125180,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f5bed68012d83348005d155600009015b1c..."} 
[2026-07-08 07:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f5bed68012d83348005d155600009015b1c..."} 
[2026-07-08 07:07:24] local.INFO: Processing buffer {"connection_id":125180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f5bed68012d83348005d155600009015b1c..."} 
[2026-07-08 07:07:24] local.INFO: Packet analysis {"connection_id":125180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f5b"} 
[2026-07-08 07:07:24] local.INFO: Extracted packet for processing {"connection_id":125180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f5b"} 
[2026-07-08 07:07:24] local.INFO: GPS Element Parsed {"raw_longitude":763573376,"raw_latitude":97604960,"longitude_deg":76.3573376,"latitude_deg":9.760496,"altitude":9,"angle":347,"satellites":28,"speed":0,"hex_longitude":"2d833480","hex_latitude":"05d15560","is_valid_coordinates":true} 
[2026-07-08 07:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569450752001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103526780761014272,"note":"Value kept but may cause issues"} 
[2026-07-08 07:07:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992421793476812800,"note":"Value kept but may cause issues"} 
[2026-07-08 07:07:24] 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-07-08 07:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783474417000,"timestamp_ms":1783474417000,"timestamp_seconds":1783474417,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f5bed68"} 
[2026-07-08 07:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:07:24] 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-07-08 07:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 07:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303174857575758,"note":"Value kept but may cause issues"} 
[2026-07-08 07:07:24] local.WARNING: Large IO value detected {"io_id":64,"raw_value":58077557095399428,"note":"Value kept but may cause issues"} 
[2026-07-08 07:07:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 07:07:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312817358,"corrected_to":0} 
[2026-07-08 07:07:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2201223173,"note":"Value kept but may cause issues"} 
[2026-07-08 07:07:24] local.WARNING: Large IO value detected {"io_id":186,"raw_value":2684431747,"note":"Value kept but may cause issues"} 
[2026-07-08 07:07:24] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407118,"note":"Value kept but may cause issues"} 
[2026-07-08 07:07:24] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3439722496,"note":"Value kept but may cause issues"} 
[2026-07-08 07:07:24] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3511715840,"note":"Value kept but may cause issues"} 
[2026-07-08 07:07:24] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,64,85,24,241,157,16,205,159,233,45,128,9,28,10,66,229,213,1,240,88,227,63,209,4,113,186,52,176,239,2,111,5],"length":486,"final_offset":616,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1312817358,"validated":0}]} 
[2026-07-08 07:07:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648899997135274223,"timestamp_seconds":648899997135274.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 07:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:07:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569450752001,"66":13059,"64":206,"85":15104,"24":0,"16":103526780761014272,"45":-8992421793476812800},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-08 07:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569450752001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:07:24] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-08 07:07:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103526780761014272,"km_value":103526780761014.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:07:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992421793476812800,"description":"Unknown IO ID 45"} 
[2026-07-08 07:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569450752001,"power":13059,"unknown_64":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992421793476812800}} 
[2026-07-08 07:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":125180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449442,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:07:24] local.INFO: GPS data processed {"connection_id":125180,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:07:24] local.INFO: Acknowledgment sent {"connection_id":125180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:07:32] local.INFO: TCP Data received {"connection_id":125086,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f5e4ec8012d9ea6c0055ec5480007016731..."} 
[2026-07-08 07:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f5e4ec8012d9ea6c0055ec5480007016731..."} 
[2026-07-08 07:07:32] local.INFO: Processing buffer {"connection_id":125086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f5e4ec8012d9ea6c0055ec5480007016731..."} 
[2026-07-08 07:07:32] local.INFO: Packet analysis {"connection_id":125086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f5e"} 
[2026-07-08 07:07:32] local.INFO: Extracted packet for processing {"connection_id":125086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f5e"} 
[2026-07-08 07:07:32] local.INFO: GPS Element Parsed {"raw_longitude":765372096,"raw_latitude":90096968,"longitude_deg":76.5372096,"latitude_deg":9.0096968,"altitude":7,"angle":359,"satellites":49,"speed":33,"hex_longitude":"2d9ea6c0","hex_latitude":"055ec548","is_valid_coordinates":true} 
[2026-07-08 07:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569490688001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342219004120662016,"note":"Value kept but may cause issues"} 
[2026-07-08 07:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7014708240285612032,"note":"Value kept but may cause issues"} 
[2026-07-08 07:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783474573000,"timestamp_ms":1783474573000,"timestamp_seconds":1783474573,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f5e4ec8"} 
[2026-07-08 07:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 07:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569490688001,"66":27919,"129":206,"84":7168,"24":33,"16":342219004120662016,"45":-7014708240285612032},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,84,24,16,45]} 
[2026-07-08 07:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569490688001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:07:32] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-08 07:07:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 07:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342219004120662016,"km_value":342219004120662.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7014708240285612032,"description":"Unknown IO ID 45"} 
[2026-07-08 07:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569490688001,"power":27919,"unknown_129":206,"unknown_84":7168,"ignition":33,"odometer":null,"unknown_45":-7014708240285612032}} 
[2026-07-08 07:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":125086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:07:32] local.INFO: GPS data processed {"connection_id":125086,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:07:32] local.INFO: Acknowledgment sent {"connection_id":125086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:07:52] local.INFO: TCP Data received {"connection_id":127180,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127180,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:07:52] local.INFO: Processing buffer {"connection_id":127180,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:07:52] local.INFO: IMEI packet received {"connection_id":127180,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":127180,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:07:56] local.INFO: TCP Data received {"connection_id":125088,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:07:56] local.INFO: Processing buffer {"connection_id":125088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:07:56] local.INFO: IMEI packet received {"connection_id":125088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":125088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:07:57] local.INFO: TCP Data received {"connection_id":127180,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127180,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:07:57] local.INFO: Processing buffer {"connection_id":127180,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:07:57] local.INFO: IMEI packet received {"connection_id":127180,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":127180,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:07:58] local.INFO: TCP Data received {"connection_id":127180,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f5bed68012d83348005d155600009015b1c..."} 
[2026-07-08 07:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f5bed68012d83348005d155600009015b1c..."} 
[2026-07-08 07:07:58] local.INFO: Processing buffer {"connection_id":127180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f5bed68012d83348005d155600009015b1c..."} 
[2026-07-08 07:07:58] local.INFO: Packet analysis {"connection_id":127180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f5b"} 
[2026-07-08 07:07:58] local.INFO: Extracted packet for processing {"connection_id":127180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f5b"} 
[2026-07-08 07:07:58] local.INFO: GPS Element Parsed {"raw_longitude":763573376,"raw_latitude":97604960,"longitude_deg":76.3573376,"latitude_deg":9.760496,"altitude":9,"angle":347,"satellites":28,"speed":0,"hex_longitude":"2d833480","hex_latitude":"05d15560","is_valid_coordinates":true} 
[2026-07-08 07:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569450752001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103526780761014272,"note":"Value kept but may cause issues"} 
[2026-07-08 07:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992421793476812800,"note":"Value kept but may cause issues"} 
[2026-07-08 07:07:58] 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-07-08 07:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783474417000,"timestamp_ms":1783474417000,"timestamp_seconds":1783474417,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f5bed68"} 
[2026-07-08 07:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:07:58] 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-07-08 07:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 07:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303174857575758,"note":"Value kept but may cause issues"} 
[2026-07-08 07:07:58] local.WARNING: Large IO value detected {"io_id":64,"raw_value":58077557095399428,"note":"Value kept but may cause issues"} 
[2026-07-08 07:07:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 07:07:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312817358,"corrected_to":0} 
[2026-07-08 07:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2201223173,"note":"Value kept but may cause issues"} 
[2026-07-08 07:07:58] local.WARNING: Large IO value detected {"io_id":186,"raw_value":2684431747,"note":"Value kept but may cause issues"} 
[2026-07-08 07:07:58] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407118,"note":"Value kept but may cause issues"} 
[2026-07-08 07:07:58] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3439722496,"note":"Value kept but may cause issues"} 
[2026-07-08 07:07:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3511715840,"note":"Value kept but may cause issues"} 
[2026-07-08 07:07:58] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,64,85,24,241,157,16,205,159,233,45,128,9,28,10,66,229,213,1,240,88,227,63,209,4,113,186,52,176,239,2,111,5],"length":486,"final_offset":616,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1312817358,"validated":0}]} 
[2026-07-08 07:07:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648899997135274223,"timestamp_seconds":648899997135274.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 07:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":127180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":127180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":127180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:07:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569450752001,"66":13059,"64":206,"85":15104,"24":0,"16":103526780761014272,"45":-8992421793476812800},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-08 07:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569450752001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:07:58] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-08 07:07:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103526780761014272,"km_value":103526780761014.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992421793476812800,"description":"Unknown IO ID 45"} 
[2026-07-08 07:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569450752001,"power":13059,"unknown_64":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992421793476812800}} 
[2026-07-08 07:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":127180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449444,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:07:58] local.INFO: GPS data processed {"connection_id":127180,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:07:58] local.INFO: Acknowledgment sent {"connection_id":127180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:08:00] local.INFO: TCP Data received {"connection_id":125088,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:08:00] local.INFO: Processing buffer {"connection_id":125088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:08:00] local.INFO: IMEI packet received {"connection_id":125088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":125088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:08:01] local.INFO: TCP Data received {"connection_id":125088,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:08:01] local.INFO: Processing buffer {"connection_id":125088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:08:01] local.INFO: IMEI packet received {"connection_id":125088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":125088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:08:02] local.INFO: TCP Data received {"connection_id":125088,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f5e6250012d9ea600055ed0400007015a32..."} 
[2026-07-08 07:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f5e6250012d9ea600055ed0400007015a32..."} 
[2026-07-08 07:08:02] local.INFO: Processing buffer {"connection_id":125088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f5e6250012d9ea600055ed0400007015a32..."} 
[2026-07-08 07:08:02] local.INFO: Packet analysis {"connection_id":125088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f5e"} 
[2026-07-08 07:08:02] local.INFO: Extracted packet for processing {"connection_id":125088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f5e"} 
[2026-07-08 07:08:02] local.INFO: GPS Element Parsed {"raw_longitude":765371904,"raw_latitude":90099776,"longitude_deg":76.5371904,"latitude_deg":9.0099776,"altitude":7,"angle":346,"satellites":50,"speed":12,"hex_longitude":"2d9ea600","hex_latitude":"055ed040","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569490688001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342219141559615488,"note":"Value kept but may cause issues"} 
[2026-07-08 07:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7014708240285612032,"note":"Value kept but may cause issues"} 
[2026-07-08 07:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783474578000,"timestamp_ms":1783474578000,"timestamp_seconds":1783474578,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f5e6250"} 
[2026-07-08 07:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:08:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 07:08:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569490688001,"66":27745,"129":206,"84":7168,"24":12,"16":342219141559615488,"45":-7014708240285612032},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,84,24,16,45]} 
[2026-07-08 07:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569490688001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:08:02] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-08 07:08:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 07:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342219141559615488,"km_value":342219141559615.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7014708240285612032,"description":"Unknown IO ID 45"} 
[2026-07-08 07:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569490688001,"power":27745,"unknown_129":206,"unknown_84":7168,"ignition":12,"odometer":null,"unknown_45":-7014708240285612032}} 
[2026-07-08 07:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":125088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:08:02] local.INFO: GPS data processed {"connection_id":125088,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:08:02] local.INFO: Acknowledgment sent {"connection_id":125088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:08:08] local.INFO: TCP Data received {"connection_id":125088,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f5e6e08012d9ea540055ed3880006014f33..."} 
[2026-07-08 07:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f5e6e08012d9ea540055ed3880006014f33..."} 
[2026-07-08 07:08:08] local.INFO: Processing buffer {"connection_id":125088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f5e6e08012d9ea540055ed3880006014f33..."} 
[2026-07-08 07:08:08] local.INFO: Packet analysis {"connection_id":125088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f5e"} 
[2026-07-08 07:08:08] local.INFO: Extracted packet for processing {"connection_id":125088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f5e"} 
[2026-07-08 07:08:08] local.INFO: GPS Element Parsed {"raw_longitude":765371712,"raw_latitude":90100616,"longitude_deg":76.5371712,"latitude_deg":9.0100616,"altitude":6,"angle":335,"satellites":51,"speed":14,"hex_longitude":"2d9ea540","hex_latitude":"055ed388","is_valid_coordinates":true} 
[2026-07-08 07:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569491968001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342219180214321152,"note":"Value kept but may cause issues"} 
[2026-07-08 07:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7014919346517426176,"note":"Value kept but may cause issues"} 
[2026-07-08 07:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783474581000,"timestamp_ms":1783474581000,"timestamp_seconds":1783474581,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f5e6e08"} 
[2026-07-08 07:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 07:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569491968001,"66":27745,"129":206,"84":7168,"24":14,"16":342219180214321152,"45":-7014919346517426176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,84,24,16,45]} 
[2026-07-08 07:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569491968001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:08:08] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-08 07:08:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 07:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342219180214321152,"km_value":342219180214321.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7014919346517426176,"description":"Unknown IO ID 45"} 
[2026-07-08 07:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569491968001,"power":27745,"unknown_129":206,"unknown_84":7168,"ignition":14,"odometer":null,"unknown_45":-7014919346517426176}} 
[2026-07-08 07:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":125088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:08:08] local.INFO: GPS data processed {"connection_id":125088,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:08:08] local.INFO: Acknowledgment sent {"connection_id":125088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:08:29] local.INFO: TCP Data received {"connection_id":127180,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f5bed68012d83348005d155600009015b1c..."} 
[2026-07-08 07:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f5bed68012d83348005d155600009015b1c..."} 
[2026-07-08 07:08:29] local.INFO: Processing buffer {"connection_id":127180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f5bed68012d83348005d155600009015b1c..."} 
[2026-07-08 07:08:29] local.INFO: Packet analysis {"connection_id":127180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f5b"} 
[2026-07-08 07:08:29] local.INFO: Extracted packet for processing {"connection_id":127180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f5b"} 
[2026-07-08 07:08:29] local.INFO: GPS Element Parsed {"raw_longitude":763573376,"raw_latitude":97604960,"longitude_deg":76.3573376,"latitude_deg":9.760496,"altitude":9,"angle":347,"satellites":28,"speed":0,"hex_longitude":"2d833480","hex_latitude":"05d15560","is_valid_coordinates":true} 
[2026-07-08 07:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569450752001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103526780761014272,"note":"Value kept but may cause issues"} 
[2026-07-08 07:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992421793476812800,"note":"Value kept but may cause issues"} 
[2026-07-08 07:08:29] 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-07-08 07:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783474417000,"timestamp_ms":1783474417000,"timestamp_seconds":1783474417,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f5bed68"} 
[2026-07-08 07:08:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:08:29] 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-07-08 07: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 07:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303174857575758,"note":"Value kept but may cause issues"} 
[2026-07-08 07:08:29] local.WARNING: Large IO value detected {"io_id":64,"raw_value":58077557095399428,"note":"Value kept but may cause issues"} 
[2026-07-08 07:08:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 07:08:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312817358,"corrected_to":0} 
[2026-07-08 07:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2201223173,"note":"Value kept but may cause issues"} 
[2026-07-08 07:08:29] local.WARNING: Large IO value detected {"io_id":186,"raw_value":2684431747,"note":"Value kept but may cause issues"} 
[2026-07-08 07:08:29] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407118,"note":"Value kept but may cause issues"} 
[2026-07-08 07:08:29] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3439722496,"note":"Value kept but may cause issues"} 
[2026-07-08 07:08:29] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3511715840,"note":"Value kept but may cause issues"} 
[2026-07-08 07:08:29] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,64,85,24,241,157,16,205,159,233,45,128,9,28,10,66,229,213,1,240,88,227,63,209,4,113,186,52,176,239,2,111,5],"length":486,"final_offset":616,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1312817358,"validated":0}]} 
[2026-07-08 07:08:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648899997135274223,"timestamp_seconds":648899997135274.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 07:08:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":127180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":127180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":127180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:08:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569450752001,"66":13059,"64":206,"85":15104,"24":0,"16":103526780761014272,"45":-8992421793476812800},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-08 07:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569450752001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:08:29] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-08 07:08:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103526780761014272,"km_value":103526780761014.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992421793476812800,"description":"Unknown IO ID 45"} 
[2026-07-08 07:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569450752001,"power":13059,"unknown_64":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992421793476812800}} 
[2026-07-08 07:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":127180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449447,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:08:29] local.INFO: GPS data processed {"connection_id":127180,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:08:29] local.INFO: Acknowledgment sent {"connection_id":127180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:08:40] local.INFO: TCP Data received {"connection_id":125088,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f5fb240012d9ea140055fed580006001633..."} 
[2026-07-08 07:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f5fb240012d9ea140055fed580006001633..."} 
[2026-07-08 07:08:40] local.INFO: Processing buffer {"connection_id":125088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f5fb240012d9ea140055fed580006001633..."} 
[2026-07-08 07:08:40] local.INFO: Packet analysis {"connection_id":125088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f5f"} 
[2026-07-08 07:08:40] local.INFO: Extracted packet for processing {"connection_id":125088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f5f"} 
[2026-07-08 07:08:40] local.INFO: GPS Element Parsed {"raw_longitude":765370688,"raw_latitude":90172760,"longitude_deg":76.5370688,"latitude_deg":9.017276,"altitude":6,"angle":22,"satellites":51,"speed":57,"hex_longitude":"2d9ea140","hex_latitude":"055fed58","is_valid_coordinates":true} 
[2026-07-08 07:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569512192001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342222822346588160,"note":"Value kept but may cause issues"} 
[2026-07-08 07:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7020056264826007552,"note":"Value kept but may cause issues"} 
[2026-07-08 07:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783474664000,"timestamp_ms":1783474664000,"timestamp_seconds":1783474664,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f5fb240"} 
[2026-07-08 07:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 07:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569512192001,"66":27615,"127":206,"84":7168,"24":57,"16":342222822346588160,"45":-7020056264826007552},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,84,24,16,45]} 
[2026-07-08 07:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569512192001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:08:40] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-07-08 07:08:40] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 07:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342222822346588160,"km_value":342222822346588.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7020056264826007552,"description":"Unknown IO ID 45"} 
[2026-07-08 07:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569512192001,"power":27615,"unknown_127":206,"unknown_84":7168,"ignition":57,"odometer":null,"unknown_45":-7020056264826007552}} 
[2026-07-08 07:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":125088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:08:40] local.INFO: GPS data processed {"connection_id":125088,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:08:40] local.INFO: Acknowledgment sent {"connection_id":125088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:08:47] local.INFO: TCP Data received {"connection_id":125181,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:08:47] local.INFO: Processing buffer {"connection_id":125181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:08:47] local.INFO: IMEI packet received {"connection_id":125181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":125181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:08:52] local.INFO: TCP Data received {"connection_id":125181,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:08:52] local.INFO: Processing buffer {"connection_id":125181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:08:52] local.INFO: IMEI packet received {"connection_id":125181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":125181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:08:56] local.INFO: TCP Data received {"connection_id":127181,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:08:56] local.INFO: Processing buffer {"connection_id":127181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:08:56] local.INFO: IMEI packet received {"connection_id":127181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":127181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:08:59] local.INFO: TCP Data received {"connection_id":127181,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:08:59] local.INFO: Processing buffer {"connection_id":127181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:08:59] local.INFO: IMEI packet received {"connection_id":127181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":127181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:09:01] local.INFO: TCP Data received {"connection_id":127181,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:09:01] local.INFO: Processing buffer {"connection_id":127181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:09:01] local.INFO: IMEI packet received {"connection_id":127181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":127181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:09:02] local.INFO: TCP Data received {"connection_id":127181,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f5fcd98012d9eb180056010a00007001c33..."} 
[2026-07-08 07:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f5fcd98012d9eb180056010a00007001c33..."} 
[2026-07-08 07:09:02] local.INFO: Processing buffer {"connection_id":127181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f5fcd98012d9eb180056010a00007001c33..."} 
[2026-07-08 07:09:02] local.INFO: Packet analysis {"connection_id":127181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f5f"} 
[2026-07-08 07:09:02] local.INFO: Extracted packet for processing {"connection_id":127181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f5f"} 
[2026-07-08 07:09:02] local.INFO: GPS Element Parsed {"raw_longitude":765374848,"raw_latitude":90181792,"longitude_deg":76.5374848,"latitude_deg":9.0181792,"altitude":7,"angle":28,"satellites":51,"speed":53,"hex_longitude":"2d9eb180","hex_latitude":"056010a0","is_valid_coordinates":true} 
[2026-07-08 07:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569513984001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342223303382925312,"note":"Value kept but may cause issues"} 
[2026-07-08 07:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7016256352638117888,"note":"Value kept but may cause issues"} 
[2026-07-08 07:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783474671000,"timestamp_ms":1783474671000,"timestamp_seconds":1783474671,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f5fcd98"} 
[2026-07-08 07:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-08 07:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569513984001,"66":27789,"175":206,"84":7168,"24":53,"16":342223303382925312,"45":-7016256352638117888},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,84,24,16,45]} 
[2026-07-08 07:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569513984001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:09:02] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-08 07:09:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 07:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342223303382925312,"km_value":342223303382925.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7016256352638117888,"description":"Unknown IO ID 45"} 
[2026-07-08 07:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569513984001,"power":27789,"unknown_175":206,"unknown_84":7168,"ignition":53,"odometer":null,"unknown_45":-7016256352638117888}} 
[2026-07-08 07:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":127181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:09:02] local.INFO: GPS data processed {"connection_id":127181,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:09:02] local.INFO: Acknowledgment sent {"connection_id":127181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:09:14] local.INFO: TCP Data received {"connection_id":125181,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f6090e8012d83360005d15580000a015b23..."} 
[2026-07-08 07:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f6090e8012d83360005d15580000a015b23..."} 
[2026-07-08 07:09:14] local.INFO: Processing buffer {"connection_id":125181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f6090e8012d83360005d15580000a015b23..."} 
[2026-07-08 07:09:14] local.INFO: Packet analysis {"connection_id":125181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f60"} 
[2026-07-08 07:09:14] local.INFO: Extracted packet for processing {"connection_id":125181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f60"} 
[2026-07-08 07:09:14] local.INFO: GPS Element Parsed {"raw_longitude":763573760,"raw_latitude":97604992,"longitude_deg":76.357376,"latitude_deg":9.7604992,"altitude":10,"angle":347,"satellites":35,"speed":0,"hex_longitude":"2d833600","hex_latitude":"05d15580","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569450752001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103526780761014272,"note":"Value kept but may cause issues"} 
[2026-07-08 07:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992421793476812800,"note":"Value kept but may cause issues"} 
[2026-07-08 07:09:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783474721000,"timestamp_ms":1783474721000,"timestamp_seconds":1783474721,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f6090e8"} 
[2026-07-08 07:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:09:14] 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-07-08 07: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 07:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303169941851470,"note":"Value kept but may cause issues"} 
[2026-07-08 07:09:14] local.WARNING: Large IO value detected {"io_id":64,"raw_value":58077557095399426,"note":"Value kept but may cause issues"} 
[2026-07-08 07:09:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 07:09:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312817358,"corrected_to":0} 
[2026-07-08 07:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2201239557,"note":"Value kept but may cause issues"} 
[2026-07-08 07:09:14] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3439788032,"note":"Value kept but may cause issues"} 
[2026-07-08 07:09:14] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3511857152,"note":"Value kept but may cause issues"} 
[2026-07-08 07:09:14] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,64,85,24,241,157,16,205,159,237,45,128,9,28,10,66,233,229,1,240,94,227,63,209,4,113,3,194,52,248,239,50,2,111,5],"length":486,"final_offset":616,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1312817358,"validated":0}]} 
[2026-07-08 07:09:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648899997135274224,"timestamp_seconds":648899997135274.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 07:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":125181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":125181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":125181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569450752001,"66":12809,"221":206,"85":15104,"24":0,"16":103526780761014272,"45":-8992421793476812800},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-08 07:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569450752001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:09:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-08 07:09:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103526780761014272,"km_value":103526780761014.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992421793476812800,"description":"Unknown IO ID 45"} 
[2026-07-08 07:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569450752001,"power":12809,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992421793476812800}} 
[2026-07-08 07:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":125181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449450,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:09:14] local.INFO: GPS data processed {"connection_id":125181,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:09:14] local.INFO: Acknowledgment sent {"connection_id":125181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:09:22] local.INFO: TCP Data received {"connection_id":125924,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:09:22] local.INFO: Processing buffer {"connection_id":125924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:09:22] local.INFO: IMEI packet received {"connection_id":125924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 07:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":125924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:09:39] local.INFO: TCP Data received {"connection_id":127181,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f5fe8f0012d9ec48005602dd80007002430..."} 
[2026-07-08 07:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f5fe8f0012d9ec48005602dd80007002430..."} 
[2026-07-08 07:09:39] local.INFO: Processing buffer {"connection_id":127181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f5fe8f0012d9ec48005602dd80007002430..."} 
[2026-07-08 07:09:39] local.INFO: Packet analysis {"connection_id":127181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f5f"} 
[2026-07-08 07:09:39] local.INFO: Extracted packet for processing {"connection_id":127181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f5f"} 
[2026-07-08 07:09:39] local.INFO: GPS Element Parsed {"raw_longitude":765379712,"raw_latitude":90189272,"longitude_deg":76.5379712,"latitude_deg":9.0189272,"altitude":7,"angle":36,"satellites":48,"speed":47,"hex_longitude":"2d9ec480","hex_latitude":"05602dd8","is_valid_coordinates":true} 
[2026-07-08 07:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569515776001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342223732879654912,"note":"Value kept but may cause issues"} 
[2026-07-08 07:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7011682384264257536,"note":"Value kept but may cause issues"} 
[2026-07-08 07:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783474678000,"timestamp_ms":1783474678000,"timestamp_seconds":1783474678,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f5fe8f0"} 
[2026-07-08 07:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-08 07:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":127181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":127181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":127181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569515776001,"66":27713,"175":206,"84":7168,"24":47,"16":342223732879654912,"45":-7011682384264257536},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,84,24,16,45]} 
[2026-07-08 07:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569515776001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:09:39] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-08 07:09:39] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 07:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342223732879654912,"km_value":342223732879654.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7011682384264257536,"description":"Unknown IO ID 45"} 
[2026-07-08 07:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569515776001,"power":27713,"unknown_175":206,"unknown_84":7168,"ignition":47,"odometer":null,"unknown_45":-7011682384264257536}} 
[2026-07-08 07:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":127181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:09:39] local.INFO: GPS data processed {"connection_id":127181,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:09:39] local.INFO: Acknowledgment sent {"connection_id":127181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:09:47] local.INFO: TCP Data received {"connection_id":125089,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125089,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:09:47] local.INFO: Processing buffer {"connection_id":125089,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:09:47] local.INFO: IMEI packet received {"connection_id":125089,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":125089,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:09:52] local.INFO: TCP Data received {"connection_id":125089,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125089,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:09:52] local.INFO: Processing buffer {"connection_id":125089,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:09:52] local.INFO: IMEI packet received {"connection_id":125089,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":125089,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:09:53] local.INFO: TCP Data received {"connection_id":125089,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f6090e8012d83360005d15580000a015b23..."} 
[2026-07-08 07:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f6090e8012d83360005d15580000a015b23..."} 
[2026-07-08 07:09:53] local.INFO: Processing buffer {"connection_id":125089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f6090e8012d83360005d15580000a015b23..."} 
[2026-07-08 07:09:53] local.INFO: Packet analysis {"connection_id":125089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f60"} 
[2026-07-08 07:09:53] local.INFO: Extracted packet for processing {"connection_id":125089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f60"} 
[2026-07-08 07:09:53] local.INFO: GPS Element Parsed {"raw_longitude":763573760,"raw_latitude":97604992,"longitude_deg":76.357376,"latitude_deg":9.7604992,"altitude":10,"angle":347,"satellites":35,"speed":0,"hex_longitude":"2d833600","hex_latitude":"05d15580","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569450752001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103526780761014272,"note":"Value kept but may cause issues"} 
[2026-07-08 07:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992421793476812800,"note":"Value kept but may cause issues"} 
[2026-07-08 07:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783474721000,"timestamp_ms":1783474721000,"timestamp_seconds":1783474721,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f6090e8"} 
[2026-07-08 07:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:09:53] 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-07-08 07: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 07:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303169941851470,"note":"Value kept but may cause issues"} 
[2026-07-08 07:09:53] local.WARNING: Large IO value detected {"io_id":64,"raw_value":58077557095399426,"note":"Value kept but may cause issues"} 
[2026-07-08 07:09:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 07:09:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312817358,"corrected_to":0} 
[2026-07-08 07:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2201239557,"note":"Value kept but may cause issues"} 
[2026-07-08 07:09:53] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3439788032,"note":"Value kept but may cause issues"} 
[2026-07-08 07:09:53] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3511857152,"note":"Value kept but may cause issues"} 
[2026-07-08 07:09:53] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,64,85,24,241,157,16,205,159,237,45,128,9,28,10,66,233,229,1,240,94,227,63,209,4,113,3,194,52,248,239,50,2,111,5],"length":486,"final_offset":616,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1312817358,"validated":0}]} 
[2026-07-08 07:09:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648899997135274224,"timestamp_seconds":648899997135274.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 07:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569450752001,"66":12809,"221":206,"85":15104,"24":0,"16":103526780761014272,"45":-8992421793476812800},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-08 07:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569450752001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:09:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-08 07:09:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103526780761014272,"km_value":103526780761014.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992421793476812800,"description":"Unknown IO ID 45"} 
[2026-07-08 07:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569450752001,"power":12809,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992421793476812800}} 
[2026-07-08 07:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":125089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449452,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:09:53] local.INFO: GPS data processed {"connection_id":125089,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:09:53] local.INFO: Acknowledgment sent {"connection_id":125089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:09:57] local.INFO: TCP Data received {"connection_id":125925,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125925,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:09:57] local.INFO: Processing buffer {"connection_id":125925,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:09:57] local.INFO: IMEI packet received {"connection_id":125925,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 07:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":125925,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:10:08] local.INFO: TCP Data received {"connection_id":125090,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:10:08] local.INFO: Processing buffer {"connection_id":125090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:10:08] local.INFO: IMEI packet received {"connection_id":125090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":125090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:10:11] local.INFO: TCP Data received {"connection_id":125090,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:10:11] local.INFO: Processing buffer {"connection_id":125090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:10:11] local.INFO: IMEI packet received {"connection_id":125090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":125090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:10:17] local.INFO: TCP Data received {"connection_id":125090,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:10:17] local.INFO: Processing buffer {"connection_id":125090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:10:17] local.INFO: IMEI packet received {"connection_id":125090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":125090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:10:18] local.INFO: TCP Data received {"connection_id":125090,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f600448012d9edb80056048280007002a33..."} 
[2026-07-08 07:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f600448012d9edb80056048280007002a33..."} 
[2026-07-08 07:10:18] local.INFO: Processing buffer {"connection_id":125090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f600448012d9edb80056048280007002a33..."} 
[2026-07-08 07:10:18] local.INFO: Packet analysis {"connection_id":125090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f60"} 
[2026-07-08 07:10:18] local.INFO: Extracted packet for processing {"connection_id":125090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f60"} 
[2026-07-08 07:10:18] local.INFO: GPS Element Parsed {"raw_longitude":765385600,"raw_latitude":90196008,"longitude_deg":76.53856,"latitude_deg":9.0196008,"altitude":7,"angle":42,"satellites":51,"speed":54,"hex_longitude":"2d9edb80","hex_latitude":"05604828","is_valid_coordinates":true} 
[2026-07-08 07:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569517568001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342224166671351808,"note":"Value kept but may cause issues"} 
[2026-07-08 07:10:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7006334359704840192,"note":"Value kept but may cause issues"} 
[2026-07-08 07:10:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783474685000,"timestamp_ms":1783474685000,"timestamp_seconds":1783474685,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f600448"} 
[2026-07-08 07:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:10:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 07:10:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:10:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":125090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":125090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":125090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:10:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569517568001,"66":27745,"175":206,"84":7168,"24":54,"16":342224166671351808,"45":-7006334359704840192},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,84,24,16,45]} 
[2026-07-08 07:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569517568001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:10:18] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-08 07:10:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 07:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342224166671351808,"km_value":342224166671351.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:10:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7006334359704840192,"description":"Unknown IO ID 45"} 
[2026-07-08 07:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569517568001,"power":27745,"unknown_175":206,"unknown_84":7168,"ignition":54,"odometer":null,"unknown_45":-7006334359704840192}} 
[2026-07-08 07:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":125090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:10:18] local.INFO: GPS data processed {"connection_id":125090,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:10:18] local.INFO: Acknowledgment sent {"connection_id":125090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:10:25] local.INFO: TCP Data received {"connection_id":125089,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f6090e8012d83360005d15580000a015b23..."} 
[2026-07-08 07:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f6090e8012d83360005d15580000a015b23..."} 
[2026-07-08 07:10:25] local.INFO: Processing buffer {"connection_id":125089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f6090e8012d83360005d15580000a015b23..."} 
[2026-07-08 07:10:25] local.INFO: Packet analysis {"connection_id":125089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f60"} 
[2026-07-08 07:10:25] local.INFO: Extracted packet for processing {"connection_id":125089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f60"} 
[2026-07-08 07:10:25] local.INFO: GPS Element Parsed {"raw_longitude":763573760,"raw_latitude":97604992,"longitude_deg":76.357376,"latitude_deg":9.7604992,"altitude":10,"angle":347,"satellites":35,"speed":0,"hex_longitude":"2d833600","hex_latitude":"05d15580","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569450752001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103526780761014272,"note":"Value kept but may cause issues"} 
[2026-07-08 07:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992421793476812800,"note":"Value kept but may cause issues"} 
[2026-07-08 07:10:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783474721000,"timestamp_ms":1783474721000,"timestamp_seconds":1783474721,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f6090e8"} 
[2026-07-08 07:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:10:25] 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-07-08 07: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 07:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303169941851470,"note":"Value kept but may cause issues"} 
[2026-07-08 07:10:25] local.WARNING: Large IO value detected {"io_id":64,"raw_value":58077557095399426,"note":"Value kept but may cause issues"} 
[2026-07-08 07:10:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 07:10:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312817358,"corrected_to":0} 
[2026-07-08 07:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2201239557,"note":"Value kept but may cause issues"} 
[2026-07-08 07:10:25] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3439788032,"note":"Value kept but may cause issues"} 
[2026-07-08 07:10:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3511857152,"note":"Value kept but may cause issues"} 
[2026-07-08 07:10:25] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,64,85,24,241,157,16,205,159,237,45,128,9,28,10,66,233,229,1,240,94,227,63,209,4,113,3,194,52,248,239,50,2,111,5],"length":486,"final_offset":616,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1312817358,"validated":0}]} 
[2026-07-08 07:10:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648899997135274224,"timestamp_seconds":648899997135274.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 07:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":125089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":125089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":125089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:10:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569450752001,"66":12809,"221":206,"85":15104,"24":0,"16":103526780761014272,"45":-8992421793476812800},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-08 07:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569450752001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:10:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-08 07:10:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103526780761014272,"km_value":103526780761014.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992421793476812800,"description":"Unknown IO ID 45"} 
[2026-07-08 07:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569450752001,"power":12809,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992421793476812800}} 
[2026-07-08 07:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":125089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449454,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:10:25] local.INFO: GPS data processed {"connection_id":125089,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:10:25] local.INFO: Acknowledgment sent {"connection_id":125089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:10:47] local.INFO: TCP Data received {"connection_id":127182,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127182,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:10:47] local.INFO: Processing buffer {"connection_id":127182,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:10:47] local.INFO: IMEI packet received {"connection_id":127182,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":127182,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:10:52] local.INFO: TCP Data received {"connection_id":127182,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127182,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:10:52] local.INFO: Processing buffer {"connection_id":127182,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:10:52] local.INFO: IMEI packet received {"connection_id":127182,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":127182,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:10:53] local.INFO: TCP Data received {"connection_id":127182,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f6090e8012d83360005d15580000a015b23..."} 
[2026-07-08 07:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f6090e8012d83360005d15580000a015b23..."} 
[2026-07-08 07:10:53] local.INFO: Processing buffer {"connection_id":127182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f6090e8012d83360005d15580000a015b23..."} 
[2026-07-08 07:10:53] local.INFO: Packet analysis {"connection_id":127182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f60"} 
[2026-07-08 07:10:53] local.INFO: Extracted packet for processing {"connection_id":127182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f60"} 
[2026-07-08 07:10:53] local.INFO: GPS Element Parsed {"raw_longitude":763573760,"raw_latitude":97604992,"longitude_deg":76.357376,"latitude_deg":9.7604992,"altitude":10,"angle":347,"satellites":35,"speed":0,"hex_longitude":"2d833600","hex_latitude":"05d15580","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569450752001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103526780761014272,"note":"Value kept but may cause issues"} 
[2026-07-08 07:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992421793476812800,"note":"Value kept but may cause issues"} 
[2026-07-08 07:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783474721000,"timestamp_ms":1783474721000,"timestamp_seconds":1783474721,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f6090e8"} 
[2026-07-08 07:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:10:53] 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-07-08 07: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 07:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303169941851470,"note":"Value kept but may cause issues"} 
[2026-07-08 07:10:53] local.WARNING: Large IO value detected {"io_id":64,"raw_value":58077557095399426,"note":"Value kept but may cause issues"} 
[2026-07-08 07:10:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 07:10:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312817358,"corrected_to":0} 
[2026-07-08 07:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2201239557,"note":"Value kept but may cause issues"} 
[2026-07-08 07:10:53] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3439788032,"note":"Value kept but may cause issues"} 
[2026-07-08 07:10:53] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3511857152,"note":"Value kept but may cause issues"} 
[2026-07-08 07:10:53] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,64,85,24,241,157,16,205,159,237,45,128,9,28,10,66,233,229,1,240,94,227,63,209,4,113,3,194,52,248,239,50,2,111,5],"length":486,"final_offset":616,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1312817358,"validated":0}]} 
[2026-07-08 07:10:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648899997135274224,"timestamp_seconds":648899997135274.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 07:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":127182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":127182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":127182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569450752001,"66":12809,"221":206,"85":15104,"24":0,"16":103526780761014272,"45":-8992421793476812800},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-08 07:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569450752001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:10:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-08 07:10:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103526780761014272,"km_value":103526780761014.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992421793476812800,"description":"Unknown IO ID 45"} 
[2026-07-08 07:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569450752001,"power":12809,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992421793476812800}} 
[2026-07-08 07:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":127182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449455,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:10:53] local.INFO: GPS data processed {"connection_id":127182,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:10:53] local.INFO: Acknowledgment sent {"connection_id":127182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:10:57] local.INFO: TCP Data received {"connection_id":125182,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:10:57] local.INFO: Processing buffer {"connection_id":125182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:10:57] local.INFO: IMEI packet received {"connection_id":125182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":125182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:11:02] local.INFO: TCP Data received {"connection_id":125182,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:11:02] local.INFO: Processing buffer {"connection_id":125182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:11:02] local.INFO: IMEI packet received {"connection_id":125182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":125182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:11:02] local.INFO: TCP Data received {"connection_id":125182,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f617378012d9f7cc005617be00009000534..."} 
[2026-07-08 07:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f617378012d9f7cc005617be00009000534..."} 
[2026-07-08 07:11:02] local.INFO: Processing buffer {"connection_id":125182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f617378012d9f7cc005617be00009000534..."} 
[2026-07-08 07:11:02] local.INFO: Packet analysis {"connection_id":125182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f61"} 
[2026-07-08 07:11:02] local.INFO: Extracted packet for processing {"connection_id":125182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f61"} 
[2026-07-08 07:11:02] local.INFO: GPS Element Parsed {"raw_longitude":765426880,"raw_latitude":90274784,"longitude_deg":76.542688,"latitude_deg":9.0274784,"altitude":9,"angle":5,"satellites":52,"speed":45,"hex_longitude":"2d9f7cc0","hex_latitude":"05617be0","is_valid_coordinates":true} 
[2026-07-08 07:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569541376001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342228659207143424,"note":"Value kept but may cause issues"} 
[2026-07-08 07:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6955317020156487680,"note":"Value kept but may cause issues"} 
[2026-07-08 07:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783474779000,"timestamp_ms":1783474779000,"timestamp_seconds":1783474779,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f617378"} 
[2026-07-08 07:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 07:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:11:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569541376001,"66":27767,"206":206,"84":7168,"24":45,"16":342228659207143424,"45":-6955317020156487680},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,84,24,16,45]} 
[2026-07-08 07:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569541376001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:11:02] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-08 07:11:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 07:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342228659207143424,"km_value":342228659207143.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6955317020156487680,"description":"Unknown IO ID 45"} 
[2026-07-08 07:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569541376001,"power":27767,"unknown_206":206,"unknown_84":7168,"ignition":45,"odometer":null,"unknown_45":-6955317020156487680}} 
[2026-07-08 07:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":125182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:11:02] local.INFO: GPS data processed {"connection_id":125182,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:11:02] local.INFO: Acknowledgment sent {"connection_id":125182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:11:24] local.INFO: TCP Data received {"connection_id":127182,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f6090e8012d83360005d15580000a015b23..."} 
[2026-07-08 07:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f6090e8012d83360005d15580000a015b23..."} 
[2026-07-08 07:11:24] local.INFO: Processing buffer {"connection_id":127182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f6090e8012d83360005d15580000a015b23..."} 
[2026-07-08 07:11:24] local.INFO: Packet analysis {"connection_id":127182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f60"} 
[2026-07-08 07:11:24] local.INFO: Extracted packet for processing {"connection_id":127182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f60"} 
[2026-07-08 07:11:24] local.INFO: GPS Element Parsed {"raw_longitude":763573760,"raw_latitude":97604992,"longitude_deg":76.357376,"latitude_deg":9.7604992,"altitude":10,"angle":347,"satellites":35,"speed":0,"hex_longitude":"2d833600","hex_latitude":"05d15580","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569450752001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103526780761014272,"note":"Value kept but may cause issues"} 
[2026-07-08 07:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992421793476812800,"note":"Value kept but may cause issues"} 
[2026-07-08 07:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783474721000,"timestamp_ms":1783474721000,"timestamp_seconds":1783474721,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f6090e8"} 
[2026-07-08 07:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:11:24] 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-07-08 07: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 07:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303169941851470,"note":"Value kept but may cause issues"} 
[2026-07-08 07:11:24] local.WARNING: Large IO value detected {"io_id":64,"raw_value":58077557095399426,"note":"Value kept but may cause issues"} 
[2026-07-08 07:11:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 07:11:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312817358,"corrected_to":0} 
[2026-07-08 07:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2201239557,"note":"Value kept but may cause issues"} 
[2026-07-08 07:11:24] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3439788032,"note":"Value kept but may cause issues"} 
[2026-07-08 07:11:24] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3511857152,"note":"Value kept but may cause issues"} 
[2026-07-08 07:11:24] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,64,85,24,241,157,16,205,159,237,45,128,9,28,10,66,233,229,1,240,94,227,63,209,4,113,3,194,52,248,239,50,2,111,5],"length":486,"final_offset":616,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1312817358,"validated":0}]} 
[2026-07-08 07:11:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648899997135274224,"timestamp_seconds":648899997135274.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 07:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":127182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":127182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":127182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569450752001,"66":12809,"221":206,"85":15104,"24":0,"16":103526780761014272,"45":-8992421793476812800},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-08 07:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569450752001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:11:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-08 07:11:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103526780761014272,"km_value":103526780761014.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992421793476812800,"description":"Unknown IO ID 45"} 
[2026-07-08 07:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569450752001,"power":12809,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992421793476812800}} 
[2026-07-08 07:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":127182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449457,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:11:24] local.INFO: GPS data processed {"connection_id":127182,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:11:24] local.INFO: Acknowledgment sent {"connection_id":127182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:11:34] local.INFO: TCP Data received {"connection_id":125182,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f6192b8012d9f80800561a0300009000834..."} 
[2026-07-08 07:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f6192b8012d9f80800561a0300009000834..."} 
[2026-07-08 07:11:34] local.INFO: Processing buffer {"connection_id":125182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f6192b8012d9f80800561a0300009000834..."} 
[2026-07-08 07:11:34] local.INFO: Packet analysis {"connection_id":125182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f61"} 
[2026-07-08 07:11:34] local.INFO: Extracted packet for processing {"connection_id":125182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f61"} 
[2026-07-08 07:11:34] local.INFO: GPS Element Parsed {"raw_longitude":765427840,"raw_latitude":90284080,"longitude_deg":76.542784,"latitude_deg":9.028408,"altitude":9,"angle":8,"satellites":52,"speed":47,"hex_longitude":"2d9f8080","hex_latitude":"0561a030","is_valid_coordinates":true} 
[2026-07-08 07:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569543424001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342229110178709504,"note":"Value kept but may cause issues"} 
[2026-07-08 07:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6954472595224010752,"note":"Value kept but may cause issues"} 
[2026-07-08 07:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783474787000,"timestamp_ms":1783474787000,"timestamp_seconds":1783474787,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f6192b8"} 
[2026-07-08 07:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 07:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569543424001,"66":27745,"206":206,"84":7168,"24":47,"16":342229110178709504,"45":-6954472595224010752},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,84,24,16,45]} 
[2026-07-08 07:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569543424001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:11:34] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-08 07:11:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 07:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342229110178709504,"km_value":342229110178709.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6954472595224010752,"description":"Unknown IO ID 45"} 
[2026-07-08 07:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569543424001,"power":27745,"unknown_206":206,"unknown_84":7168,"ignition":47,"odometer":null,"unknown_45":-6954472595224010752}} 
[2026-07-08 07:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":125182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:11:34] local.INFO: GPS data processed {"connection_id":125182,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:11:34] local.INFO: Acknowledgment sent {"connection_id":125182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:11:47] local.INFO: TCP Data received {"connection_id":125184,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125184,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:11:47] local.INFO: Processing buffer {"connection_id":125184,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:11:47] local.INFO: IMEI packet received {"connection_id":125184,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":125184,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:11:52] local.INFO: TCP Data received {"connection_id":125184,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125184,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:11:52] local.INFO: Processing buffer {"connection_id":125184,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:11:52] local.INFO: IMEI packet received {"connection_id":125184,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":125184,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:11:53] local.INFO: TCP Data received {"connection_id":125184,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f6090e8012d83360005d15580000a015b23..."} 
[2026-07-08 07:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f6090e8012d83360005d15580000a015b23..."} 
[2026-07-08 07:11:53] local.INFO: Processing buffer {"connection_id":125184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f6090e8012d83360005d15580000a015b23..."} 
[2026-07-08 07:11:53] local.INFO: Packet analysis {"connection_id":125184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f60"} 
[2026-07-08 07:11:53] local.INFO: Extracted packet for processing {"connection_id":125184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f60"} 
[2026-07-08 07:11:53] local.INFO: GPS Element Parsed {"raw_longitude":763573760,"raw_latitude":97604992,"longitude_deg":76.357376,"latitude_deg":9.7604992,"altitude":10,"angle":347,"satellites":35,"speed":0,"hex_longitude":"2d833600","hex_latitude":"05d15580","is_valid_coordinates":true} 
[2026-07-08 07:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569450752001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103526780761014272,"note":"Value kept but may cause issues"} 
[2026-07-08 07:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992421793476812800,"note":"Value kept but may cause issues"} 
[2026-07-08 07:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783474721000,"timestamp_ms":1783474721000,"timestamp_seconds":1783474721,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f6090e8"} 
[2026-07-08 07:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:11:53] 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-07-08 07: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 07:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303169941851470,"note":"Value kept but may cause issues"} 
[2026-07-08 07:11:53] local.WARNING: Large IO value detected {"io_id":64,"raw_value":58077557095399426,"note":"Value kept but may cause issues"} 
[2026-07-08 07:11:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 07:11:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312817358,"corrected_to":0} 
[2026-07-08 07:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2201239557,"note":"Value kept but may cause issues"} 
[2026-07-08 07:11:53] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3439788032,"note":"Value kept but may cause issues"} 
[2026-07-08 07:11:53] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3511857152,"note":"Value kept but may cause issues"} 
[2026-07-08 07:11:53] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,64,85,24,241,157,16,205,159,237,45,128,9,28,10,66,233,229,1,240,94,227,63,209,4,113,3,194,52,248,239,50,2,111,5],"length":486,"final_offset":616,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1312817358,"validated":0}]} 
[2026-07-08 07:11:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648899997135274224,"timestamp_seconds":648899997135274.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 07:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569450752001,"66":12809,"221":206,"85":15104,"24":0,"16":103526780761014272,"45":-8992421793476812800},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-08 07:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569450752001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:11:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-08 07:11:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103526780761014272,"km_value":103526780761014.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992421793476812800,"description":"Unknown IO ID 45"} 
[2026-07-08 07:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569450752001,"power":12809,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992421793476812800}} 
[2026-07-08 07:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":125184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449459,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:11:53] local.INFO: GPS data processed {"connection_id":125184,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:11:53] local.INFO: Acknowledgment sent {"connection_id":125184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:12:02] local.INFO: TCP Data received {"connection_id":127183,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:12:02] local.INFO: Processing buffer {"connection_id":127183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:12:02] local.INFO: IMEI packet received {"connection_id":127183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":127183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:12:05] local.INFO: TCP Data received {"connection_id":127183,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:12:05] local.INFO: Processing buffer {"connection_id":127183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:12:05] local.INFO: IMEI packet received {"connection_id":127183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":127183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:12:06] local.INFO: TCP Data received {"connection_id":127183,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f61b1f8012d9f85c00561c3800009000835..."} 
[2026-07-08 07:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f61b1f8012d9f85c00561c3800009000835..."} 
[2026-07-08 07:12:06] local.INFO: Processing buffer {"connection_id":127183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f61b1f8012d9f85c00561c3800009000835..."} 
[2026-07-08 07:12:06] local.INFO: Packet analysis {"connection_id":127183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f61"} 
[2026-07-08 07:12:06] local.INFO: Extracted packet for processing {"connection_id":127183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f61"} 
[2026-07-08 07:12:06] local.INFO: GPS Element Parsed {"raw_longitude":765429184,"raw_latitude":90293120,"longitude_deg":76.5429184,"latitude_deg":9.029312,"altitude":9,"angle":8,"satellites":53,"speed":41,"hex_longitude":"2d9f85c0","hex_latitude":"0561c380","is_valid_coordinates":true} 
[2026-07-08 07:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569545472001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342229552560340992,"note":"Value kept but may cause issues"} 
[2026-07-08 07:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6953417064058966016,"note":"Value kept but may cause issues"} 
[2026-07-08 07:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783474795000,"timestamp_ms":1783474795000,"timestamp_seconds":1783474795,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f61b1f8"} 
[2026-07-08 07:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 07:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569545472001,"66":27745,"206":206,"84":7168,"24":41,"16":342229552560340992,"45":-6953417064058966016},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,84,24,16,45]} 
[2026-07-08 07:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569545472001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:12:06] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-08 07:12:06] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 07:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342229552560340992,"km_value":342229552560341.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6953417064058966016,"description":"Unknown IO ID 45"} 
[2026-07-08 07:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569545472001,"power":27745,"unknown_206":206,"unknown_84":7168,"ignition":41,"odometer":null,"unknown_45":-6953417064058966016}} 
[2026-07-08 07:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":127183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:12:06] local.INFO: GPS data processed {"connection_id":127183,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:12:06] local.INFO: Acknowledgment sent {"connection_id":127183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:12:24] local.INFO: TCP Data received {"connection_id":125184,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f63cd08012d83360005d15580000a015b27..."} 
[2026-07-08 07:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f63cd08012d83360005d15580000a015b27..."} 
[2026-07-08 07:12:24] local.INFO: Processing buffer {"connection_id":125184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f63cd08012d83360005d15580000a015b27..."} 
[2026-07-08 07:12:24] local.INFO: Packet analysis {"connection_id":125184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f63"} 
[2026-07-08 07:12:24] local.INFO: Extracted packet for processing {"connection_id":125184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f63"} 
[2026-07-08 07:12:24] local.INFO: GPS Element Parsed {"raw_longitude":763573760,"raw_latitude":97604992,"longitude_deg":76.357376,"latitude_deg":9.7604992,"altitude":10,"angle":347,"satellites":39,"speed":0,"hex_longitude":"2d833600","hex_latitude":"05d15580","is_valid_coordinates":true} 
[2026-07-08 07:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569528576001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103526780761014272,"note":"Value kept but may cause issues"} 
[2026-07-08 07:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8991999581011738624,"note":"Value kept but may cause issues"} 
[2026-07-08 07:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783474933000,"timestamp_ms":1783474933000,"timestamp_seconds":1783474933,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f63cd08"} 
[2026-07-08 07:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:12:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 07: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-08 07:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":144115188243629056,"note":"Value kept but may cause issues"} 
[2026-07-08 07:12:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 07:12:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312817358,"corrected_to":0} 
[2026-07-08 07:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2201255941,"note":"Value kept but may cause issues"} 
[2026-07-08 07:12:24] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-08 07:12:24] local.WARNING: Large IO value detected {"io_id":63,"raw_value":6609771330038608896,"note":"Value kept but may cause issues"} 
[2026-07-08 07:12:24] local.WARNING: Large IO value detected {"io_id":213,"raw_value":4160826755,"note":"Value kept but may cause issues"} 
[2026-07-08 07:12:24] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3440050176,"note":"Value kept but may cause issues"} 
[2026-07-08 07:12:24] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3363432457494851556,"note":"Value kept but may cause issues"} 
[2026-07-08 07:12:24] local.WARNING: Large IO value detected {"io_id":50,"raw_value":7638330703985299029,"note":"Value kept but may cause issues"} 
[2026-07-08 07:12:24] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755403736154353,"note":"Value kept but may cause issues"} 
[2026-07-08 07:12:24] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,221,85,24,241,157,16,205,159,237,45,128,9,28,10,66,64,233,1,240,116,227,63,209,4,113,213,52,48,239,53,2,111,5,50,59,7],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1312817358,"validated":0}]} 
[2026-07-08 07:12:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720957621237972992,"timestamp_seconds":720957621237973.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 07:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569528576001,"66":12689,"221":206,"85":15104,"24":0,"16":103526780761014272,"45":-8991999581011738624},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-08 07:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569528576001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:12:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-08 07:12:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103526780761014272,"km_value":103526780761014.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8991999581011738624,"description":"Unknown IO ID 45"} 
[2026-07-08 07:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569528576001,"power":12689,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8991999581011738624}} 
[2026-07-08 07:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":125184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449461,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:12:24] local.INFO: GPS data processed {"connection_id":125184,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:12:24] local.INFO: Acknowledgment sent {"connection_id":125184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:12:37] local.INFO: TCP Data received {"connection_id":127183,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f61e4c0012d9f8ac00561e7500009000734..."} 
[2026-07-08 07:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f61e4c0012d9f8ac00561e7500009000734..."} 
[2026-07-08 07:12:37] local.INFO: Processing buffer {"connection_id":127183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f61e4c0012d9f8ac00561e7500009000734..."} 
[2026-07-08 07:12:37] local.INFO: Packet analysis {"connection_id":127183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f61"} 
[2026-07-08 07:12:37] local.INFO: Extracted packet for processing {"connection_id":127183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f61"} 
[2026-07-08 07:12:37] local.INFO: GPS Element Parsed {"raw_longitude":765430464,"raw_latitude":90302288,"longitude_deg":76.5430464,"latitude_deg":9.0302288,"altitude":9,"angle":7,"satellites":52,"speed":22,"hex_longitude":"2d9f8ac0","hex_latitude":"0561e750","is_valid_coordinates":true} 
[2026-07-08 07:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569547520001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342230003531907072,"note":"Value kept but may cause issues"} 
[2026-07-08 07:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6951939320428920832,"note":"Value kept but may cause issues"} 
[2026-07-08 07:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783474808000,"timestamp_ms":1783474808000,"timestamp_seconds":1783474808,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f61e4c0"} 
[2026-07-08 07:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 07:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569547520001,"66":27745,"206":206,"84":7168,"24":22,"16":342230003531907072,"45":-6951939320428920832},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,84,24,16,45]} 
[2026-07-08 07:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569547520001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:12:37] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-08 07:12:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 07:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342230003531907072,"km_value":342230003531907.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6951939320428920832,"description":"Unknown IO ID 45"} 
[2026-07-08 07:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569547520001,"power":27745,"unknown_206":206,"unknown_84":7168,"ignition":22,"odometer":null,"unknown_45":-6951939320428920832}} 
[2026-07-08 07:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":127183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:12:37] local.INFO: GPS data processed {"connection_id":127183,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:12:37] local.INFO: Acknowledgment sent {"connection_id":127183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:12:48] local.INFO: TCP Data received {"connection_id":127184,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127184,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:12:48] local.INFO: Processing buffer {"connection_id":127184,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:12:48] local.INFO: IMEI packet received {"connection_id":127184,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":127184,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:12:49] local.INFO: TCP Data received {"connection_id":127184,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127184,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:12:49] local.INFO: Processing buffer {"connection_id":127184,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:12:49] local.INFO: IMEI packet received {"connection_id":127184,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":127184,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:12:52] local.INFO: TCP Data received {"connection_id":127184,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127184,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:12:52] local.INFO: Processing buffer {"connection_id":127184,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:12:52] local.INFO: IMEI packet received {"connection_id":127184,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":127184,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:12:56] local.INFO: TCP Data received {"connection_id":125185,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:12:56] local.INFO: Processing buffer {"connection_id":125185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:12:56] local.INFO: IMEI packet received {"connection_id":125185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":125185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:12:56] local.INFO: TCP Data received {"connection_id":127184,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f63cd08012d83360005d15580000a015b27..."} 
[2026-07-08 07:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f63cd08012d83360005d15580000a015b27..."} 
[2026-07-08 07:12:56] local.INFO: Processing buffer {"connection_id":127184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f63cd08012d83360005d15580000a015b27..."} 
[2026-07-08 07:12:56] local.INFO: Packet analysis {"connection_id":127184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f63"} 
[2026-07-08 07:12:56] local.INFO: Extracted packet for processing {"connection_id":127184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f63"} 
[2026-07-08 07:12:56] local.INFO: GPS Element Parsed {"raw_longitude":763573760,"raw_latitude":97604992,"longitude_deg":76.357376,"latitude_deg":9.7604992,"altitude":10,"angle":347,"satellites":39,"speed":0,"hex_longitude":"2d833600","hex_latitude":"05d15580","is_valid_coordinates":true} 
[2026-07-08 07:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569582848001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103526780761014272,"note":"Value kept but may cause issues"} 
[2026-07-08 07:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8991999581011738624,"note":"Value kept but may cause issues"} 
[2026-07-08 07:12:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783474933000,"timestamp_ms":1783474933000,"timestamp_seconds":1783474933,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f63cd08"} 
[2026-07-08 07:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:12:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 07:12:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:12:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":127184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":127184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":127184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569582848001,"66":12689,"221":206,"85":15104,"24":0,"16":103526780761014272,"45":-8991999581011738624},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-08 07:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569582848001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:12:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-08 07:12:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103526780761014272,"km_value":103526780761014.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8991999581011738624,"description":"Unknown IO ID 45"} 
[2026-07-08 07:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569582848001,"power":12689,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8991999581011738624}} 
[2026-07-08 07:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":127184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449463,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:12:56] local.INFO: GPS data processed {"connection_id":127184,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:12:56] local.INFO: Acknowledgment sent {"connection_id":127184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:12:56] local.INFO: TCP Data received {"connection_id":125185,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:12:56] local.INFO: Processing buffer {"connection_id":125185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:12:56] local.INFO: IMEI packet received {"connection_id":125185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":125185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:12:57] local.INFO: TCP Data received {"connection_id":127184,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f6403b8012d83344005d154c8000800cb27..."} 
[2026-07-08 07:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f6403b8012d83344005d154c8000800cb27..."} 
[2026-07-08 07:12:57] local.INFO: Processing buffer {"connection_id":127184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f6403b8012d83344005d154c8000800cb27..."} 
[2026-07-08 07:12:57] local.INFO: Packet analysis {"connection_id":127184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f64"} 
[2026-07-08 07:12:57] local.INFO: Extracted packet for processing {"connection_id":127184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f64"} 
[2026-07-08 07:12:57] local.INFO: GPS Element Parsed {"raw_longitude":763573312,"raw_latitude":97604808,"longitude_deg":76.3573312,"latitude_deg":9.7604808,"altitude":8,"angle":203,"satellites":39,"speed":8,"hex_longitude":"2d833440","hex_latitude":"05d154c8","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569582848001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103526789350948864,"note":"Value kept but may cause issues"} 
[2026-07-08 07:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8991999581011738624,"note":"Value kept but may cause issues"} 
[2026-07-08 07:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783474947000,"timestamp_ms":1783474947000,"timestamp_seconds":1783474947,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f6403b8"} 
[2026-07-08 07:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:12:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 07:12:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:12:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":127184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":127184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":127184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569582848001,"66":13091,"221":206,"85":15104,"24":8,"16":103526789350948864,"45":-8991999581011738624},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-08 07:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569582848001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:12:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-08 07:12:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103526789350948864,"km_value":103526789350948.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8991999581011738624,"description":"Unknown IO ID 45"} 
[2026-07-08 07:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569582848001,"power":13091,"unknown_221":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-8991999581011738624}} 
[2026-07-08 07:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":127184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449464,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:12:57] local.INFO: GPS data processed {"connection_id":127184,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:12:57] local.INFO: Acknowledgment sent {"connection_id":127184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:12:57] local.INFO: TCP Data received {"connection_id":127184,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f640b88012d83334005d15358000800e027..."} 
[2026-07-08 07:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f640b88012d83334005d15358000800e027..."} 
[2026-07-08 07:12:57] local.INFO: Processing buffer {"connection_id":127184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f640b88012d83334005d15358000800e027..."} 
[2026-07-08 07:12:57] local.INFO: Packet analysis {"connection_id":127184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f64"} 
[2026-07-08 07:12:57] local.INFO: Extracted packet for processing {"connection_id":127184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f64"} 
[2026-07-08 07:12:57] local.INFO: GPS Element Parsed {"raw_longitude":763573056,"raw_latitude":97604440,"longitude_deg":76.3573056,"latitude_deg":9.760444,"altitude":8,"angle":224,"satellites":39,"speed":7,"hex_longitude":"2d833340","hex_latitude":"05d15358","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569586432001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103526810825785344,"note":"Value kept but may cause issues"} 
[2026-07-08 07:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992492162221029376,"note":"Value kept but may cause issues"} 
[2026-07-08 07:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783474949000,"timestamp_ms":1783474949000,"timestamp_seconds":1783474949,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f640b88"} 
[2026-07-08 07:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:12: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-07-08 07: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-08 07:12:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:12:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":127184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":127184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":127184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569586432001,"66":13091,"221":206,"85":15104,"24":7,"16":103526810825785344,"45":-8992492162221029376},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-08 07:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569586432001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:12:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-08 07:12:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103526810825785344,"km_value":103526810825785.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992492162221029376,"description":"Unknown IO ID 45"} 
[2026-07-08 07:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569586432001,"power":13091,"unknown_221":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-8992492162221029376}} 
[2026-07-08 07:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":127184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449465,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:12:57] local.INFO: GPS data processed {"connection_id":127184,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:12:57] local.INFO: Acknowledgment sent {"connection_id":127184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:13:02] local.INFO: TCP Data received {"connection_id":125185,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:13:02] local.INFO: Processing buffer {"connection_id":125185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:13:02] local.INFO: IMEI packet received {"connection_id":125185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":125185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:13:03] local.INFO: TCP Data received {"connection_id":125185,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f639a40012d9f0d8005635ea80006014d31..."} 
[2026-07-08 07:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f639a40012d9f0d8005635ea80006014d31..."} 
[2026-07-08 07:13:03] local.INFO: Processing buffer {"connection_id":125185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f639a40012d9f0d8005635ea80006014d31..."} 
[2026-07-08 07:13:03] local.INFO: Packet analysis {"connection_id":125185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f63"} 
[2026-07-08 07:13:03] local.INFO: Extracted packet for processing {"connection_id":125185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f63"} 
[2026-07-08 07:13:03] local.INFO: GPS Element Parsed {"raw_longitude":765398400,"raw_latitude":90398376,"longitude_deg":76.53984,"latitude_deg":9.0398376,"altitude":6,"angle":333,"satellites":49,"speed":31,"hex_longitude":"2d9f0d80","hex_latitude":"05635ea8","is_valid_coordinates":true} 
[2026-07-08 07:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569577216001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342234959924166656,"note":"Value kept but may cause issues"} 
[2026-07-08 07:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6981494192958644224,"note":"Value kept but may cause issues"} 
[2026-07-08 07:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783474920000,"timestamp_ms":1783474920000,"timestamp_seconds":1783474920,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f639a40"} 
[2026-07-08 07:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:13: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-07-08 07: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 07:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569577216001,"66":27713,"109":206,"84":7168,"24":31,"16":342234959924166656,"45":-6981494192958644224},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,84,24,16,45]} 
[2026-07-08 07:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569577216001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:13:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 07:13:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 07:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342234959924166656,"km_value":342234959924166.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6981494192958644224,"description":"Unknown IO ID 45"} 
[2026-07-08 07:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569577216001,"power":27713,"unknown_109":206,"unknown_84":7168,"ignition":31,"odometer":null,"unknown_45":-6981494192958644224}} 
[2026-07-08 07:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":125185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:13:03] local.INFO: GPS data processed {"connection_id":125185,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:13:03] local.INFO: Acknowledgment sent {"connection_id":125185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:13:35] local.INFO: TCP Data received {"connection_id":125185,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f63a210012d9f0bc0056363d80006015c31..."} 
[2026-07-08 07:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f63a210012d9f0bc0056363d80006015c31..."} 
[2026-07-08 07:13:35] local.INFO: Processing buffer {"connection_id":125185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f63a210012d9f0bc0056363d80006015c31..."} 
[2026-07-08 07:13:35] local.INFO: Packet analysis {"connection_id":125185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f63"} 
[2026-07-08 07:13:35] local.INFO: Extracted packet for processing {"connection_id":125185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f63"} 
[2026-07-08 07:13:35] local.INFO: GPS Element Parsed {"raw_longitude":765397952,"raw_latitude":90399704,"longitude_deg":76.5397952,"latitude_deg":9.0399704,"altitude":6,"angle":348,"satellites":49,"speed":25,"hex_longitude":"2d9f0bc0","hex_latitude":"056363d8","is_valid_coordinates":true} 
[2026-07-08 07:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569579520001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342235028643643392,"note":"Value kept but may cause issues"} 
[2026-07-08 07:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6985786686351431680,"note":"Value kept but may cause issues"} 
[2026-07-08 07:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783474922000,"timestamp_ms":1783474922000,"timestamp_seconds":1783474922,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f63a210"} 
[2026-07-08 07:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 07:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569579520001,"66":27669,"109":206,"84":7168,"24":25,"16":342235028643643392,"45":-6985786686351431680},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,84,24,16,45]} 
[2026-07-08 07:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569579520001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:13:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 07:13:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 07:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342235028643643392,"km_value":342235028643643.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6985786686351431680,"description":"Unknown IO ID 45"} 
[2026-07-08 07:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569579520001,"power":27669,"unknown_109":206,"unknown_84":7168,"ignition":25,"odometer":null,"unknown_45":-6985786686351431680}} 
[2026-07-08 07:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":125185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:13:35] local.INFO: GPS data processed {"connection_id":125185,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:13:35] local.INFO: Acknowledgment sent {"connection_id":125185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:13:47] local.INFO: TCP Data received {"connection_id":125926,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125926,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:13:47] local.INFO: Processing buffer {"connection_id":125926,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:13:47] local.INFO: IMEI packet received {"connection_id":125926,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":125926,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:13:55] local.INFO: TCP Data received {"connection_id":127185,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:13:55] local.INFO: Processing buffer {"connection_id":127185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:13:55] local.INFO: IMEI packet received {"connection_id":127185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":127185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:13:56] local.INFO: TCP Data received {"connection_id":125926,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125926,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:13:56] local.INFO: Processing buffer {"connection_id":125926,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:13:56] local.INFO: IMEI packet received {"connection_id":125926,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":125926,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:13:56] local.INFO: TCP Data received {"connection_id":127185,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:13:56] local.INFO: Processing buffer {"connection_id":127185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:13:56] local.INFO: IMEI packet received {"connection_id":127185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":127185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:13:57] local.INFO: TCP Data received {"connection_id":125926,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f64e260012d82954005d164a80008015b27..."} 
[2026-07-08 07:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f64e260012d82954005d164a80008015b27..."} 
[2026-07-08 07:13:57] local.INFO: Processing buffer {"connection_id":125926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f64e260012d82954005d164a80008015b27..."} 
[2026-07-08 07:13:57] local.INFO: Packet analysis {"connection_id":125926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f64"} 
[2026-07-08 07:13:57] local.INFO: Extracted packet for processing {"connection_id":125926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f64"} 
[2026-07-08 07:13:57] local.INFO: GPS Element Parsed {"raw_longitude":763532608,"raw_latitude":97608872,"longitude_deg":76.3532608,"latitude_deg":9.7608872,"altitude":8,"angle":347,"satellites":39,"speed":13,"hex_longitude":"2d829540","hex_latitude":"05d164a8","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569600512001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103528782215774208,"note":"Value kept but may cause issues"} 
[2026-07-08 07:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036965208540401664,"note":"Value kept but may cause issues"} 
[2026-07-08 07:13:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783475004000,"timestamp_ms":1783475004000,"timestamp_seconds":1783475004,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f64e260"} 
[2026-07-08 07:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:13:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-08 07:13:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 07:13:57] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2969567232,"note":"Value kept but may cause issues"} 
[2026-07-08 07:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2193555461,"note":"Value kept but may cause issues"} 
[2026-07-08 07:13:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-08 07:13:57] local.WARNING: Large IO value detected {"io_id":209,"raw_value":5953758741761500928,"note":"Value kept but may cause issues"} 
[2026-07-08 07:13:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1725759694,"corrected_to":0} 
[2026-07-08 07:13:57] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3455385600,"note":"Value kept but may cause issues"} 
[2026-07-08 07:13:57] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3512039424,"note":"Value kept but may cause issues"} 
[2026-07-08 07:13:57] local.WARNING: Large IO value detected {"io_id":181,"raw_value":57815469613012283,"note":"Value kept but may cause issues"} 
[2026-07-08 07:13:57] local.WARNING: Large IO value detected {"io_id":100,"raw_value":1675340356367958021,"note":"Value kept but may cause issues"} 
[2026-07-08 07:13:57] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,221,85,24,241,157,16,206,159,214,45,128,98,8,39,10,66,210,97,7,187,64,1,240,133,227,63,209,4,113,205,36,229,192,37,239,52,2,111,5,181,100],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1725759694,"validated":0}]} 
[2026-07-08 07:13:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576821559621648384,"timestamp_seconds":576821559621648.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 07:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":125926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":125926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":125926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569600512001,"66":13689,"221":206,"85":15104,"24":13,"16":103528782215774208,"45":-9036965208540401664},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-08 07:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569600512001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:13:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-08 07:13:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103528782215774208,"km_value":103528782215774.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036965208540401664,"description":"Unknown IO ID 45"} 
[2026-07-08 07:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569600512001,"power":13689,"unknown_221":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":-9036965208540401664}} 
[2026-07-08 07:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":125926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449468,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:13:57] local.INFO: GPS data processed {"connection_id":125926,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:13:57] local.INFO: Acknowledgment sent {"connection_id":125926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:14:04] local.INFO: TCP Data received {"connection_id":127185,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:14:04] local.INFO: Processing buffer {"connection_id":127185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:14:04] local.INFO: IMEI packet received {"connection_id":127185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":127185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:14:04] local.INFO: TCP Data received {"connection_id":127185,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f63bd68012d9f0840056374c00006014b32..."} 
[2026-07-08 07:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f63bd68012d9f0840056374c00006014b32..."} 
[2026-07-08 07:14:04] local.INFO: Processing buffer {"connection_id":127185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f63bd68012d9f0840056374c00006014b32..."} 
[2026-07-08 07:14:04] local.INFO: Packet analysis {"connection_id":127185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f63"} 
[2026-07-08 07:14:04] local.INFO: Extracted packet for processing {"connection_id":127185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f63"} 
[2026-07-08 07:14:04] local.INFO: GPS Element Parsed {"raw_longitude":765397056,"raw_latitude":90404032,"longitude_deg":76.5397056,"latitude_deg":9.0404032,"altitude":6,"angle":331,"satellites":50,"speed":28,"hex_longitude":"2d9f0840","hex_latitude":"056374c0","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569580032001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342235243392008192,"note":"Value kept but may cause issues"} 
[2026-07-08 07:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6986279267560335360,"note":"Value kept but may cause issues"} 
[2026-07-08 07:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783474929000,"timestamp_ms":1783474929000,"timestamp_seconds":1783474929,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f63bd68"} 
[2026-07-08 07:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":108,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-07-08 07:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":927,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569580032001,"66":27821,"109":206,"84":7168,"24":28,"16":342235243392008192,"45":-6986279267560335360},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,84,24,16,45]} 
[2026-07-08 07:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569580032001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:14:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 07:14:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-07-08 07:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342235243392008192,"km_value":342235243392008.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6986279267560335360,"description":"Unknown IO ID 45"} 
[2026-07-08 07:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569580032001,"power":27821,"unknown_109":206,"unknown_84":7168,"ignition":28,"odometer":null,"unknown_45":-6986279267560335360}} 
[2026-07-08 07:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":127185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:14:05] local.INFO: GPS data processed {"connection_id":127185,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:14:05] local.INFO: Acknowledgment sent {"connection_id":127185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:14:41] local.INFO: TCP Data received {"connection_id":125926,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f64ee18012d82950005d169780008000227..."} 
[2026-07-08 07:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f64ee18012d82950005d169780008000227..."} 
[2026-07-08 07:14:41] local.INFO: Processing buffer {"connection_id":125926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f64ee18012d82950005d169780008000227..."} 
[2026-07-08 07:14:41] local.INFO: Packet analysis {"connection_id":125926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f64"} 
[2026-07-08 07:14:41] local.INFO: Extracted packet for processing {"connection_id":125926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f64"} 
[2026-07-08 07:14:41] local.INFO: GPS Element Parsed {"raw_longitude":763532544,"raw_latitude":97610104,"longitude_deg":76.3532544,"latitude_deg":9.7610104,"altitude":8,"angle":2,"satellites":39,"speed":20,"hex_longitude":"2d829500","hex_latitude":"05d16978","is_valid_coordinates":true} 
[2026-07-08 07:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569601024001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103528842345316352,"note":"Value kept but may cause issues"} 
[2026-07-08 07:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037246683516983296,"note":"Value kept but may cause issues"} 
[2026-07-08 07:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783475007000,"timestamp_ms":1783475007000,"timestamp_seconds":1783475007,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f64ee18"} 
[2026-07-08 07:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:14: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-07-08 07: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-07-08 07:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569601024001,"66":13765,"221":206,"85":15104,"24":20,"16":103528842345316352,"45":-9037246683516983296},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-08 07:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569601024001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:14:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-08 07:14:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103528842345316352,"km_value":103528842345316.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037246683516983296,"description":"Unknown IO ID 45"} 
[2026-07-08 07:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569601024001,"power":13765,"unknown_221":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9037246683516983296}} 
[2026-07-08 07:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":125926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449470,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:14:41] local.INFO: GPS data processed {"connection_id":125926,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:14:41] local.INFO: Acknowledgment sent {"connection_id":125926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:14:45] local.INFO: TCP Data received {"connection_id":125092,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125092,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:14:45] local.INFO: Processing buffer {"connection_id":125092,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:14:45] local.INFO: IMEI packet received {"connection_id":125092,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":125092,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:14:48] local.INFO: TCP Data received {"connection_id":125092,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125092,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:14:48] local.INFO: Processing buffer {"connection_id":125092,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:14:48] local.INFO: IMEI packet received {"connection_id":125092,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":125092,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:14:52] local.INFO: TCP Data received {"connection_id":125092,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125092,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:14:52] local.INFO: Processing buffer {"connection_id":125092,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:14:52] local.INFO: IMEI packet received {"connection_id":125092,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":125092,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:14:53] local.INFO: TCP Data received {"connection_id":125092,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f651910012d8296c005d18c400008016326..."} 
[2026-07-08 07:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f651910012d8296c005d18c400008016326..."} 
[2026-07-08 07:14:53] local.INFO: Processing buffer {"connection_id":125092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f651910012d8296c005d18c400008016326..."} 
[2026-07-08 07:14:53] local.INFO: Packet analysis {"connection_id":125092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f65"} 
[2026-07-08 07:14:53] local.INFO: Extracted packet for processing {"connection_id":125092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f65"} 
[2026-07-08 07:14:53] local.INFO: GPS Element Parsed {"raw_longitude":763532992,"raw_latitude":97619008,"longitude_deg":76.3532992,"latitude_deg":9.7619008,"altitude":8,"angle":355,"satellites":38,"speed":33,"hex_longitude":"2d8296c0","hex_latitude":"05d18c40","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569601792001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103529271842045952,"note":"Value kept but may cause issues"} 
[2026-07-08 07:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037317052260845568,"note":"Value kept but may cause issues"} 
[2026-07-08 07:14:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783475018000,"timestamp_ms":1783475018000,"timestamp_seconds":1783475018,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f651910"} 
[2026-07-08 07:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:14:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-07-08 07:14:53] 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-07-08 07: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-07-08 07:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:14:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569601792001,"66":13319,"221":206,"85":15104,"24":33,"16":103529271842045952,"45":-9037317052260845568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-08 07:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569601792001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:14:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-08 07:14:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103529271842045952,"km_value":103529271842045.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037317052260845568,"description":"Unknown IO ID 45"} 
[2026-07-08 07:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569601792001,"power":13319,"unknown_221":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9037317052260845568}} 
[2026-07-08 07:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":125092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449471,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:14:53] local.INFO: GPS data processed {"connection_id":125092,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:14:53] local.INFO: Acknowledgment sent {"connection_id":125092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:14:56] local.INFO: TCP Data received {"connection_id":127187,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:14:56] local.INFO: Processing buffer {"connection_id":127187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:14:56] local.INFO: IMEI packet received {"connection_id":127187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":127187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:14:58] local.INFO: TCP Data received {"connection_id":127187,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:14:58] local.INFO: Processing buffer {"connection_id":127187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:14:58] local.INFO: IMEI packet received {"connection_id":127187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":127187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:15:02] local.INFO: TCP Data received {"connection_id":127185,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f6547f0012d9e73800564b3c80008014f33..."} 
[2026-07-08 07:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f6547f0012d9e73800564b3c80008014f33..."} 
[2026-07-08 07:15:02] local.INFO: Processing buffer {"connection_id":127185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f6547f0012d9e73800564b3c80008014f33..."} 
[2026-07-08 07:15:02] local.INFO: Packet analysis {"connection_id":127185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f65"} 
[2026-07-08 07:15:02] local.INFO: Extracted packet for processing {"connection_id":127185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f65"} 
[2026-07-08 07:15:02] local.INFO: GPS Element Parsed {"raw_longitude":765358976,"raw_latitude":90485704,"longitude_deg":76.5358976,"latitude_deg":9.0485704,"altitude":8,"angle":335,"satellites":51,"speed":20,"hex_longitude":"2d9e7380","hex_latitude":"0564b3c8","is_valid_coordinates":true} 
[2026-07-08 07:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569606656001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342240126769823744,"note":"Value kept but may cause issues"} 
[2026-07-08 07:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7027796826603591680,"note":"Value kept but may cause issues"} 
[2026-07-08 07:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783475030000,"timestamp_ms":1783475030000,"timestamp_seconds":1783475030,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f6547f0"} 
[2026-07-08 07:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:15:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-08 07:15:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:15:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569606656001,"66":27691,"95":206,"84":8448,"24":20,"16":342240126769823744,"45":-7027796826603591680},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,84,24,16,45]} 
[2026-07-08 07:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569606656001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:15:02] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-08 07:15:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-08 07:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342240126769823744,"km_value":342240126769823.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7027796826603591680,"description":"Unknown IO ID 45"} 
[2026-07-08 07:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569606656001,"power":27691,"unknown_95":206,"unknown_84":8448,"ignition":20,"odometer":null,"unknown_45":-7027796826603591680}} 
[2026-07-08 07:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":127185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:15:02] local.INFO: GPS data processed {"connection_id":127185,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:15:02] local.INFO: Acknowledgment sent {"connection_id":127185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:15:02] local.INFO: TCP Data received {"connection_id":127187,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:15:02] local.INFO: Processing buffer {"connection_id":127187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:15:02] local.INFO: IMEI packet received {"connection_id":127187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":127187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:15:04] local.INFO: TCP Data received {"connection_id":127187,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f654bd8012d9e72c00564b5b00008015d31..."} 
[2026-07-08 07:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f654bd8012d9e72c00564b5b00008015d31..."} 
[2026-07-08 07:15:04] local.INFO: Processing buffer {"connection_id":127187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f654bd8012d9e72c00564b5b00008015d31..."} 
[2026-07-08 07:15:04] local.INFO: Packet analysis {"connection_id":127187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f65"} 
[2026-07-08 07:15:04] local.INFO: Extracted packet for processing {"connection_id":127187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f65"} 
[2026-07-08 07:15:04] local.INFO: GPS Element Parsed {"raw_longitude":765358784,"raw_latitude":90486192,"longitude_deg":76.5358784,"latitude_deg":9.0486192,"altitude":8,"angle":349,"satellites":49,"speed":20,"hex_longitude":"2d9e72c0","hex_latitude":"0564b5b0","is_valid_coordinates":true} 
[2026-07-08 07:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569607680001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342240148244660224,"note":"Value kept but may cause issues"} 
[2026-07-08 07:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7029133832742516736,"note":"Value kept but may cause issues"} 
[2026-07-08 07:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783475031000,"timestamp_ms":1783475031000,"timestamp_seconds":1783475031,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f654bd8"} 
[2026-07-08 07:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 07:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":127187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":127187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":127187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569607680001,"66":27691,"95":206,"84":8448,"24":20,"16":342240148244660224,"45":-7029133832742516736},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,84,24,16,45]} 
[2026-07-08 07:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569607680001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:15:04] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-08 07:15:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-08 07:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342240148244660224,"km_value":342240148244660.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7029133832742516736,"description":"Unknown IO ID 45"} 
[2026-07-08 07:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569607680001,"power":27691,"unknown_95":206,"unknown_84":8448,"ignition":20,"odometer":null,"unknown_45":-7029133832742516736}} 
[2026-07-08 07:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":127187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:15:04] local.INFO: GPS data processed {"connection_id":127187,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:15:04] local.INFO: Acknowledgment sent {"connection_id":127187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:15:09] local.INFO: TCP Data received {"connection_id":127187,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f654fc0012d9e72800564b7c00009000231..."} 
[2026-07-08 07:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f654fc0012d9e72800564b7c00009000231..."} 
[2026-07-08 07:15:09] local.INFO: Processing buffer {"connection_id":127187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f654fc0012d9e72800564b7c00009000231..."} 
[2026-07-08 07:15:09] local.INFO: Packet analysis {"connection_id":127187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f65"} 
[2026-07-08 07:15:09] local.INFO: Extracted packet for processing {"connection_id":127187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f65"} 
[2026-07-08 07:15:09] local.INFO: GPS Element Parsed {"raw_longitude":765358720,"raw_latitude":90486720,"longitude_deg":76.535872,"latitude_deg":9.048672,"altitude":9,"angle":2,"satellites":49,"speed":22,"hex_longitude":"2d9e7280","hex_latitude":"0564b7c0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 07:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569607936001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342240174014464000,"note":"Value kept but may cause issues"} 
[2026-07-08 07:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7029344938974924800,"note":"Value kept but may cause issues"} 
[2026-07-08 07:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783475032000,"timestamp_ms":1783475032000,"timestamp_seconds":1783475032,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f654fc0"} 
[2026-07-08 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-07-08 07:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 07:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 07:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":127187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":127187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":127187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569607936001,"66":27745,"95":206,"84":8448,"24":22,"16":342240174014464000,"45":-7029344938974924800},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,84,24,16,45]} 
[2026-07-08 07:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569607936001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:15:09] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-08 07:15:09] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-08 07:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342240174014464000,"km_value":342240174014464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7029344938974924800,"description":"Unknown IO ID 45"} 
[2026-07-08 07:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569607936001,"power":27745,"unknown_95":206,"unknown_84":8448,"ignition":22,"odometer":null,"unknown_45":-7029344938974924800}} 
[2026-07-08 07:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":127187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:15:09] local.INFO: GPS data processed {"connection_id":127187,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:15:09] local.INFO: Acknowledgment sent {"connection_id":127187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:15:22] local.INFO: TCP Data received {"connection_id":125187,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125187,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:15:22] local.INFO: Processing buffer {"connection_id":125187,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:15:22] local.INFO: IMEI packet received {"connection_id":125187,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 07:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":125187,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:15:24] local.INFO: TCP Data received {"connection_id":125092,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f654bd8012d82950005d1b0780008000625..."} 
[2026-07-08 07:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f654bd8012d82950005d1b0780008000625..."} 
[2026-07-08 07:15:24] local.INFO: Processing buffer {"connection_id":125092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f654bd8012d82950005d1b0780008000625..."} 
[2026-07-08 07:15:24] local.INFO: Packet analysis {"connection_id":125092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f65"} 
[2026-07-08 07:15:24] local.INFO: Extracted packet for processing {"connection_id":125092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f65"} 
[2026-07-08 07:15:24] local.INFO: GPS Element Parsed {"raw_longitude":763532544,"raw_latitude":97628280,"longitude_deg":76.3532544,"latitude_deg":9.762828,"altitude":8,"angle":6,"satellites":37,"speed":24,"hex_longitude":"2d829500","hex_latitude":"05d1b078","is_valid_coordinates":true} 
[2026-07-08 07:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569604608001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103529722813612032,"note":"Value kept but may cause issues"} 
[2026-07-08 07:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036824471049322496,"note":"Value kept but may cause issues"} 
[2026-07-08 07:15:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783475031000,"timestamp_ms":1783475031000,"timestamp_seconds":1783475031,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f654bd8"} 
[2026-07-08 07:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:15:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-08 07:15:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 07:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2190901253,"note":"Value kept but may cause issues"} 
[2026-07-08 07:15:24] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3657433088,"note":"Value kept but may cause issues"} 
[2026-07-08 07:15:24] local.WARNING: Large IO value detected {"io_id":100,"raw_value":-7201254509186711547,"note":"Value kept but may cause issues"} 
[2026-07-08 07:15:24] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-08 07:15:24] local.WARNING: Large IO value detected {"io_id":209,"raw_value":6786924668530599168,"note":"Value kept but may cause issues"} 
[2026-07-08 07:15:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1725759694,"corrected_to":0} 
[2026-07-08 07:15:24] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3221302658,"note":"Value kept but may cause issues"} 
[2026-07-08 07:15:24] local.WARNING: Large IO value detected {"io_id":151,"raw_value":2147864929,"note":"Value kept but may cause issues"} 
[2026-07-08 07:15:24] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3470065664,"note":"Value kept but may cause issues"} 
[2026-07-08 07:15:24] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3512842240,"note":"Value kept but may cause issues"} 
[2026-07-08 07:15:24] local.WARNING: Large IO value detected {"io_id":133,"raw_value":57815469613012283,"note":"Value kept but may cause issues"} 
[2026-07-08 07:15:24] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,221,85,24,241,157,16,207,159,238,45,105,8,39,10,66,206,226,64,100,218,1,240,7,227,63,209,4,113,205,210,151,152,239,52,2,111,5,34,133],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1725759694,"validated":0}]} 
[2026-07-08 07:15:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576851242142203904,"timestamp_seconds":576851242142203.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 07:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569604608001,"66":13428,"221":206,"85":15104,"24":24,"16":103529722813612032,"45":-9036824471049322496},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-08 07:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569604608001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:15:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-08 07:15:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103529722813612032,"km_value":103529722813612.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036824471049322496,"description":"Unknown IO ID 45"} 
[2026-07-08 07:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569604608001,"power":13428,"unknown_221":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9036824471049322496}} 
[2026-07-08 07:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":125092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449475,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:15:24] local.INFO: GPS data processed {"connection_id":125092,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:15:24] local.INFO: Acknowledgment sent {"connection_id":125092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:15:56] local.INFO: TCP Data received {"connection_id":125188,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:15:56] local.INFO: Processing buffer {"connection_id":125188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:15:56] local.INFO: IMEI packet received {"connection_id":125188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":125188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:15:59] local.INFO: TCP Data received {"connection_id":125188,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:15:59] local.INFO: Processing buffer {"connection_id":125188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:15:59] local.INFO: IMEI packet received {"connection_id":125188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":125188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:16:01] local.INFO: TCP Data received {"connection_id":125188,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:16:01] local.INFO: Processing buffer {"connection_id":125188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:16:01] local.INFO: IMEI packet received {"connection_id":125188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":125188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:16:02] local.INFO: TCP Data received {"connection_id":125189,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125189,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:16:02] local.INFO: Processing buffer {"connection_id":125189,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:16:02] local.INFO: IMEI packet received {"connection_id":125189,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 07:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":125189,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:16:02] local.INFO: TCP Data received {"connection_id":125188,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f659228012d9e70c00564daf00009016132..."} 
[2026-07-08 07:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f659228012d9e70c00564daf00009016132..."} 
[2026-07-08 07:16:02] local.INFO: Processing buffer {"connection_id":125188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f659228012d9e70c00564daf00009016132..."} 
[2026-07-08 07:16:02] local.INFO: Packet analysis {"connection_id":125188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f65"} 
[2026-07-08 07:16:02] local.INFO: Extracted packet for processing {"connection_id":125188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f65"} 
[2026-07-08 07:16:02] local.INFO: GPS Element Parsed {"raw_longitude":765358272,"raw_latitude":90495728,"longitude_deg":76.5358272,"latitude_deg":9.0495728,"altitude":9,"angle":353,"satellites":50,"speed":30,"hex_longitude":"2d9e70c0","hex_latitude":"0564daf0","is_valid_coordinates":true} 
[2026-07-08 07:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569608192001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342240616396095488,"note":"Value kept but may cause issues"} 
[2026-07-08 07:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7029415307718967296,"note":"Value kept but may cause issues"} 
[2026-07-08 07:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783475049000,"timestamp_ms":1783475049000,"timestamp_seconds":1783475049,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f659228"} 
[2026-07-08 07:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:16:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 07:16:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:16:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569608192001,"66":27691,"95":206,"84":8448,"24":30,"16":342240616396095488,"45":-7029415307718967296},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,84,24,16,45]} 
[2026-07-08 07:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569608192001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:16:02] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-08 07:16:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-08 07:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342240616396095488,"km_value":342240616396095.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7029415307718967296,"description":"Unknown IO ID 45"} 
[2026-07-08 07:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569608192001,"power":27691,"unknown_95":206,"unknown_84":8448,"ignition":30,"odometer":null,"unknown_45":-7029415307718967296}} 
[2026-07-08 07:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":125188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:16:02] local.INFO: GPS data processed {"connection_id":125188,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:16:02] local.INFO: Acknowledgment sent {"connection_id":125188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:16:03] local.INFO: TCP Data received {"connection_id":125190,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125190,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:16:03] local.INFO: Processing buffer {"connection_id":125190,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:16:03] local.INFO: IMEI packet received {"connection_id":125190,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":125190,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:16:07] local.INFO: TCP Data received {"connection_id":125190,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125190,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:16:07] local.INFO: Processing buffer {"connection_id":125190,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:16:07] local.INFO: IMEI packet received {"connection_id":125190,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":125190,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:16:08] local.INFO: TCP Data received {"connection_id":125190,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f654bd8012d82950005d1b0780008000625..."} 
[2026-07-08 07:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f654bd8012d82950005d1b0780008000625..."} 
[2026-07-08 07:16:08] local.INFO: Processing buffer {"connection_id":125190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f654bd8012d82950005d1b0780008000625..."} 
[2026-07-08 07:16:08] local.INFO: Packet analysis {"connection_id":125190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f65"} 
[2026-07-08 07:16:08] local.INFO: Extracted packet for processing {"connection_id":125190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f65"} 
[2026-07-08 07:16:08] local.INFO: GPS Element Parsed {"raw_longitude":763532544,"raw_latitude":97628280,"longitude_deg":76.3532544,"latitude_deg":9.762828,"altitude":8,"angle":6,"satellites":37,"speed":24,"hex_longitude":"2d829500","hex_latitude":"05d1b078","is_valid_coordinates":true} 
[2026-07-08 07:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569607936001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103529722813612032,"note":"Value kept but may cause issues"} 
[2026-07-08 07:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037317052256192512,"note":"Value kept but may cause issues"} 
[2026-07-08 07:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783475031000,"timestamp_ms":1783475031000,"timestamp_seconds":1783475031,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f654bd8"} 
[2026-07-08 07:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:16: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-07-08 07:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-08 07:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569607936001,"66":13428,"221":206,"85":15104,"24":24,"16":103529722813612032,"45":-9037317052256192512},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-08 07:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569607936001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:16:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-08 07:16:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103529722813612032,"km_value":103529722813612.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037317052256192512,"description":"Unknown IO ID 45"} 
[2026-07-08 07:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569607936001,"power":13428,"unknown_221":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9037317052256192512}} 
[2026-07-08 07:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":125190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449477,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:16:08] local.INFO: GPS data processed {"connection_id":125190,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:16:08] local.INFO: Acknowledgment sent {"connection_id":125190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:16:33] local.INFO: TCP Data received {"connection_id":125188,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f65bd20012d9e6bc00564fed8000a015e2c..."} 
[2026-07-08 07:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f65bd20012d9e6bc00564fed8000a015e2c..."} 
[2026-07-08 07:16:33] local.INFO: Processing buffer {"connection_id":125188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f65bd20012d9e6bc00564fed8000a015e2c..."} 
[2026-07-08 07:16:33] local.INFO: Packet analysis {"connection_id":125188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f65"} 
[2026-07-08 07:16:33] local.INFO: Extracted packet for processing {"connection_id":125188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f65"} 
[2026-07-08 07:16:33] local.INFO: GPS Element Parsed {"raw_longitude":765356992,"raw_latitude":90504920,"longitude_deg":76.5356992,"latitude_deg":9.050492,"altitude":10,"angle":350,"satellites":44,"speed":34,"hex_longitude":"2d9e6bc0","hex_latitude":"0564fed8","is_valid_coordinates":true} 
[2026-07-08 07:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569612544001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342241067367661568,"note":"Value kept but may cause issues"} 
[2026-07-08 07:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7029907888925904896,"note":"Value kept but may cause issues"} 
[2026-07-08 07:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783475060000,"timestamp_ms":1783475060000,"timestamp_seconds":1783475060,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f65bd20"} 
[2026-07-08 07:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 07:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:16:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569612544001,"66":27745,"95":206,"84":8448,"24":34,"16":342241067367661568,"45":-7029907888925904896},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,84,24,16,45]} 
[2026-07-08 07:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569612544001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:16:33] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-08 07:16:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-08 07:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342241067367661568,"km_value":342241067367661.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7029907888925904896,"description":"Unknown IO ID 45"} 
[2026-07-08 07:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569612544001,"power":27745,"unknown_95":206,"unknown_84":8448,"ignition":34,"odometer":null,"unknown_45":-7029907888925904896}} 
[2026-07-08 07:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":125188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:16:33] local.INFO: GPS data processed {"connection_id":125188,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:16:33] local.INFO: Acknowledgment sent {"connection_id":125188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:16:47] local.INFO: TCP Data received {"connection_id":125191,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:16:47] local.INFO: Processing buffer {"connection_id":125191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:16:47] local.INFO: IMEI packet received {"connection_id":125191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":125191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:16:52] local.INFO: TCP Data received {"connection_id":125191,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:16:52] local.INFO: Processing buffer {"connection_id":125191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:16:52] local.INFO: IMEI packet received {"connection_id":125191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":125191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:16:53] local.INFO: TCP Data received {"connection_id":125191,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f657ab8012d82974005d1d4980009016724..."} 
[2026-07-08 07:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f657ab8012d82974005d1d4980009016724..."} 
[2026-07-08 07:16:53] local.INFO: Processing buffer {"connection_id":125191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f657ab8012d82974005d1d4980009016724..."} 
[2026-07-08 07:16:53] local.INFO: Packet analysis {"connection_id":125191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f65"} 
[2026-07-08 07:16:53] local.INFO: Extracted packet for processing {"connection_id":125191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f65"} 
[2026-07-08 07:16:53] local.INFO: GPS Element Parsed {"raw_longitude":763533120,"raw_latitude":97637528,"longitude_deg":76.353312,"latitude_deg":9.7637528,"altitude":9,"angle":359,"satellites":36,"speed":37,"hex_longitude":"2d829740","hex_latitude":"05d1d498","is_valid_coordinates":true} 
[2026-07-08 07:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569607936001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103530173785178112,"note":"Value kept but may cause issues"} 
[2026-07-08 07:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037317052256192512,"note":"Value kept but may cause issues"} 
[2026-07-08 07:16:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783475043000,"timestamp_ms":1783475043000,"timestamp_seconds":1783475043,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f657ab8"} 
[2026-07-08 07:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-08 07:16:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:16:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569607936001,"66":13493,"221":206,"85":15104,"24":37,"16":103530173785178112,"45":-9037317052256192512},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-08 07:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569607936001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:16:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-08 07:16:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103530173785178112,"km_value":103530173785178.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037317052256192512,"description":"Unknown IO ID 45"} 
[2026-07-08 07:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569607936001,"power":13493,"unknown_221":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9037317052256192512}} 
[2026-07-08 07:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":125191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449479,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:16:53] local.INFO: GPS data processed {"connection_id":125191,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:16:53] local.INFO: Acknowledgment sent {"connection_id":125191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:16:56] local.INFO: TCP Data received {"connection_id":125093,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:16:56] local.INFO: Processing buffer {"connection_id":125093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:16:56] local.INFO: IMEI packet received {"connection_id":125093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":125093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:17:02] local.INFO: TCP Data received {"connection_id":125093,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:17:02] local.INFO: Processing buffer {"connection_id":125093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:17:02] local.INFO: IMEI packet received {"connection_id":125093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":125093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:17:03] local.INFO: TCP Data received {"connection_id":125093,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f65e818012d9e664005652310000a016028..."} 
[2026-07-08 07:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f65e818012d9e664005652310000a016028..."} 
[2026-07-08 07:17:03] local.INFO: Processing buffer {"connection_id":125093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f65e818012d9e664005652310000a016028..."} 
[2026-07-08 07:17:03] local.INFO: Packet analysis {"connection_id":125093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f65"} 
[2026-07-08 07:17:03] local.INFO: Extracted packet for processing {"connection_id":125093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f65"} 
[2026-07-08 07:17:03] local.INFO: GPS Element Parsed {"raw_longitude":765355584,"raw_latitude":90514192,"longitude_deg":76.5355584,"latitude_deg":9.0514192,"altitude":10,"angle":352,"satellites":40,"speed":35,"hex_longitude":"2d9e6640","hex_latitude":"05652310","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569615360001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342241518339227648,"note":"Value kept but may cause issues"} 
[2026-07-08 07:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7031315263807105024,"note":"Value kept but may cause issues"} 
[2026-07-08 07:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783475071000,"timestamp_ms":1783475071000,"timestamp_seconds":1783475071,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f65e818"} 
[2026-07-08 07:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 07:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569615360001,"66":27930,"95":206,"84":8448,"24":35,"16":342241518339227648,"45":-7031315263807105024},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,84,24,16,45]} 
[2026-07-08 07:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569615360001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:17:03] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-08 07:17:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-08 07:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342241518339227648,"km_value":342241518339227.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7031315263807105024,"description":"Unknown IO ID 45"} 
[2026-07-08 07:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569615360001,"power":27930,"unknown_95":206,"unknown_84":8448,"ignition":35,"odometer":null,"unknown_45":-7031315263807105024}} 
[2026-07-08 07:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":125093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:17:03] local.INFO: GPS data processed {"connection_id":125093,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:17:03] local.INFO: Acknowledgment sent {"connection_id":125093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:17:24] local.INFO: TCP Data received {"connection_id":125191,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f683dc0012d828a4005d2daa00008016029..."} 
[2026-07-08 07:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f683dc0012d828a4005d2daa00008016029..."} 
[2026-07-08 07:17:24] local.INFO: Processing buffer {"connection_id":125191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f683dc0012d828a4005d2daa00008016029..."} 
[2026-07-08 07:17:24] local.INFO: Packet analysis {"connection_id":125191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f68"} 
[2026-07-08 07:17:24] local.INFO: Extracted packet for processing {"connection_id":125191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f68"} 
[2026-07-08 07:17:24] local.INFO: GPS Element Parsed {"raw_longitude":763529792,"raw_latitude":97704608,"longitude_deg":76.3529792,"latitude_deg":9.7704608,"altitude":8,"angle":352,"satellites":41,"speed":33,"hex_longitude":"2d828a40","hex_latitude":"05d2daa0","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569654272001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103533450845224960,"note":"Value kept but may cause issues"} 
[2026-07-08 07:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9039005902099361792,"note":"Value kept but may cause issues"} 
[2026-07-08 07:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783475224000,"timestamp_ms":1783475224000,"timestamp_seconds":1783475224,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f683dc0"} 
[2026-07-08 07:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:17:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-08 07:17:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:17:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569654272001,"66":13515,"63":206,"85":15104,"24":33,"16":103533450845224960,"45":-9039005902099361792},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-08 07:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569654272001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:17:24] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-08 07:17:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103533450845224960,"km_value":103533450845224.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9039005902099361792,"description":"Unknown IO ID 45"} 
[2026-07-08 07:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569654272001,"power":13515,"unknown_63":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9039005902099361792}} 
[2026-07-08 07:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":125191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449481,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:17:24] local.INFO: GPS data processed {"connection_id":125191,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:17:24] local.INFO: Acknowledgment sent {"connection_id":125191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:17:34] local.INFO: TCP Data received {"connection_id":125093,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f660f28012d9e61c005654920000901632a..."} 
[2026-07-08 07:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f660f28012d9e61c005654920000901632a..."} 
[2026-07-08 07:17:34] local.INFO: Processing buffer {"connection_id":125093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f660f28012d9e61c005654920000901632a..."} 
[2026-07-08 07:17:34] local.INFO: Packet analysis {"connection_id":125093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f66"} 
[2026-07-08 07:17:34] local.INFO: Extracted packet for processing {"connection_id":125093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f66"} 
[2026-07-08 07:17:34] local.INFO: GPS Element Parsed {"raw_longitude":765354432,"raw_latitude":90523936,"longitude_deg":76.5354432,"latitude_deg":9.0523936,"altitude":9,"angle":355,"satellites":42,"speed":42,"hex_longitude":"2d9e61c0","hex_latitude":"05654920","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569618176001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342241995080597504,"note":"Value kept but may cause issues"} 
[2026-07-08 07:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7032863376176640000,"note":"Value kept but may cause issues"} 
[2026-07-08 07:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783475081000,"timestamp_ms":1783475081000,"timestamp_seconds":1783475081,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f660f28"} 
[2026-07-08 07:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:17: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-07-08 07: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-08 07:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569618176001,"66":27745,"95":206,"84":8448,"24":42,"16":342241995080597504,"45":-7032863376176640000},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,84,24,16,45]} 
[2026-07-08 07:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569618176001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:17:34] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-08 07:17:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-08 07:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342241995080597504,"km_value":342241995080597.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7032863376176640000,"description":"Unknown IO ID 45"} 
[2026-07-08 07:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569618176001,"power":27745,"unknown_95":206,"unknown_84":8448,"ignition":42,"odometer":null,"unknown_45":-7032863376176640000}} 
[2026-07-08 07:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":125093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:17:34] local.INFO: GPS data processed {"connection_id":125093,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:17:34] local.INFO: Acknowledgment sent {"connection_id":125093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:17:52] local.INFO: TCP Data received {"connection_id":125927,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125927,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:17:52] local.INFO: Processing buffer {"connection_id":125927,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:17:52] local.INFO: IMEI packet received {"connection_id":125927,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":125927,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:17:56] local.INFO: TCP Data received {"connection_id":125927,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125927,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:17:56] local.INFO: Processing buffer {"connection_id":125927,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:17:56] local.INFO: IMEI packet received {"connection_id":125927,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":125927,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:17:57] local.INFO: TCP Data received {"connection_id":125927,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f6868b8012d8283c005d2fd28000a015c28..."} 
[2026-07-08 07:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f6868b8012d8283c005d2fd28000a015c28..."} 
[2026-07-08 07:17:57] local.INFO: Processing buffer {"connection_id":125927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f6868b8012d8283c005d2fd28000a015c28..."} 
[2026-07-08 07:17:57] local.INFO: Packet analysis {"connection_id":125927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f68"} 
[2026-07-08 07:17:57] local.INFO: Extracted packet for processing {"connection_id":125927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f68"} 
[2026-07-08 07:17:57] local.INFO: GPS Element Parsed {"raw_longitude":763528128,"raw_latitude":97713448,"longitude_deg":76.3528128,"latitude_deg":9.7713448,"altitude":10,"angle":348,"satellites":40,"speed":29,"hex_longitude":"2d8283c0","hex_latitude":"05d2fd28","is_valid_coordinates":true} 
[2026-07-08 07:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569657344001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103533884636921856,"note":"Value kept but may cause issues"} 
[2026-07-08 07:17:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9040342908236292096,"note":"Value kept but may cause issues"} 
[2026-07-08 07:17:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783475235000,"timestamp_ms":1783475235000,"timestamp_seconds":1783475235,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f6868b8"} 
[2026-07-08 07:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07: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-07-08 07: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-08 07:17: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-07-08 07:17:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":125927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":125927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":125927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:17:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569657344001,"66":13515,"221":206,"85":15104,"24":29,"16":103533884636921856,"45":-9040342908236292096},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-08 07:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569657344001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:17:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-08 07:17:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103533884636921856,"km_value":103533884636921.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:17:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9040342908236292096,"description":"Unknown IO ID 45"} 
[2026-07-08 07:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569657344001,"power":13515,"unknown_221":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9040342908236292096}} 
[2026-07-08 07:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":125927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449483,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:17:57] local.INFO: GPS data processed {"connection_id":125927,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:17:57] local.INFO: Acknowledgment sent {"connection_id":125927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:17:58] local.INFO: TCP Data received {"connection_id":125927,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f688028012d82820005d30a80000c01672a..."} 
[2026-07-08 07:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f688028012d82820005d30a80000c01672a..."} 
[2026-07-08 07:17:58] local.INFO: Processing buffer {"connection_id":125927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f688028012d82820005d30a80000c01672a..."} 
[2026-07-08 07:17:58] local.INFO: Packet analysis {"connection_id":125927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f68"} 
[2026-07-08 07:17:58] local.INFO: Extracted packet for processing {"connection_id":125927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f68"} 
[2026-07-08 07:17:58] local.INFO: GPS Element Parsed {"raw_longitude":763527680,"raw_latitude":97716864,"longitude_deg":76.352768,"latitude_deg":9.7716864,"altitude":12,"angle":359,"satellites":42,"speed":20,"hex_longitude":"2d828200","hex_latitude":"05d30a80","is_valid_coordinates":true} 
[2026-07-08 07:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569660160001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103534052140646400,"note":"Value kept but may cause issues"} 
[2026-07-08 07:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042172495582648320,"note":"Value kept but may cause issues"} 
[2026-07-08 07:17:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783475241000,"timestamp_ms":1783475241000,"timestamp_seconds":1783475241,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f688028"} 
[2026-07-08 07:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:17:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-08 07:17:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:17:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":125927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":125927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":125927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569660160001,"66":13341,"221":206,"85":15104,"24":20,"16":103534052140646400,"45":-9042172495582648320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-08 07:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569660160001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:17:58] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-08 07:17:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103534052140646400,"km_value":103534052140646.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042172495582648320,"description":"Unknown IO ID 45"} 
[2026-07-08 07:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569660160001,"power":13341,"unknown_221":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9042172495582648320}} 
[2026-07-08 07:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":125927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449484,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:17:58] local.INFO: GPS data processed {"connection_id":125927,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:17:58] local.INFO: Acknowledgment sent {"connection_id":125927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:18:02] local.INFO: TCP Data received {"connection_id":125929,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:18:02] local.INFO: Processing buffer {"connection_id":125929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:18:02] local.INFO: IMEI packet received {"connection_id":125929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":125929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:18:02] local.INFO: TCP Data received {"connection_id":125929,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:18:02] local.INFO: Processing buffer {"connection_id":125929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:18:02] local.INFO: IMEI packet received {"connection_id":125929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":125929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:18:03] local.INFO: TCP Data received {"connection_id":125929,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f680710012d9e5a0005668158000b015c34..."} 
[2026-07-08 07:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f680710012d9e5a0005668158000b015c34..."} 
[2026-07-08 07:18:03] local.INFO: Processing buffer {"connection_id":125929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f680710012d9e5a0005668158000b015c34..."} 
[2026-07-08 07:18:03] local.INFO: Packet analysis {"connection_id":125929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f68"} 
[2026-07-08 07:18:03] local.INFO: Extracted packet for processing {"connection_id":125929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f68"} 
[2026-07-08 07:18:03] local.INFO: GPS Element Parsed {"raw_longitude":765352448,"raw_latitude":90603864,"longitude_deg":76.5352448,"latitude_deg":9.0603864,"altitude":11,"angle":348,"satellites":52,"speed":31,"hex_longitude":"2d9e5a00","hex_latitude":"05668158","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569649664001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342245899205869568,"note":"Value kept but may cause issues"} 
[2026-07-08 07:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7034763332248809472,"note":"Value kept but may cause issues"} 
[2026-07-08 07:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783475210000,"timestamp_ms":1783475210000,"timestamp_seconds":1783475210,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f680710"} 
[2026-07-08 07:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 07:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569649664001,"66":27615,"111":206,"84":8448,"24":31,"16":342245899205869568,"45":-7034763332248809472},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-07-08 07:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569649664001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:18:03] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-08 07:18:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-08 07:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342245899205869568,"km_value":342245899205869.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7034763332248809472,"description":"Unknown IO ID 45"} 
[2026-07-08 07:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569649664001,"power":27615,"unknown_111":206,"unknown_84":8448,"ignition":31,"odometer":null,"unknown_45":-7034763332248809472}} 
[2026-07-08 07:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":125929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:18:03] local.INFO: GPS data processed {"connection_id":125929,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:18:03] local.INFO: Acknowledgment sent {"connection_id":125929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:18:07] local.INFO: TCP Data received {"connection_id":125929,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f683208012d9e51c00566a3f0000c015b30..."} 
[2026-07-08 07:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f683208012d9e51c00566a3f0000c015b30..."} 
[2026-07-08 07:18:07] local.INFO: Processing buffer {"connection_id":125929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f683208012d9e51c00566a3f0000c015b30..."} 
[2026-07-08 07:18:07] local.INFO: Packet analysis {"connection_id":125929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f68"} 
[2026-07-08 07:18:07] local.INFO: Extracted packet for processing {"connection_id":125929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f68"} 
[2026-07-08 07:18:07] local.INFO: GPS Element Parsed {"raw_longitude":765350336,"raw_latitude":90612720,"longitude_deg":76.5350336,"latitude_deg":9.061272,"altitude":12,"angle":347,"satellites":48,"speed":34,"hex_longitude":"2d9e51c0","hex_latitude":"0566a3f0","is_valid_coordinates":true} 
[2026-07-08 07:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569653760001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342246341587501056,"note":"Value kept but may cause issues"} 
[2026-07-08 07:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7036311444618389504,"note":"Value kept but may cause issues"} 
[2026-07-08 07:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783475221000,"timestamp_ms":1783475221000,"timestamp_seconds":1783475221,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f683208"} 
[2026-07-08 07:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-08 07:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569653760001,"66":27767,"112":206,"84":8448,"24":34,"16":342246341587501056,"45":-7036311444618389504},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,84,24,16,45]} 
[2026-07-08 07:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569653760001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:18:07] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 07:18:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-08 07:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342246341587501056,"km_value":342246341587501.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7036311444618389504,"description":"Unknown IO ID 45"} 
[2026-07-08 07:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569653760001,"power":27767,"unknown_112":206,"unknown_84":8448,"ignition":34,"odometer":null,"unknown_45":-7036311444618389504}} 
[2026-07-08 07:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":125929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:18:07] local.INFO: GPS data processed {"connection_id":125929,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:18:07] local.INFO: Acknowledgment sent {"connection_id":125929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:18:34] local.INFO: TCP Data received {"connection_id":125927,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f68b2f0012d82818005d32e78000d01672a..."} 
[2026-07-08 07:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f68b2f0012d82818005d32e78000d01672a..."} 
[2026-07-08 07:18:34] local.INFO: Processing buffer {"connection_id":125927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f68b2f0012d82818005d32e78000d01672a..."} 
[2026-07-08 07:18:34] local.INFO: Packet analysis {"connection_id":125927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f68"} 
[2026-07-08 07:18:34] local.INFO: Extracted packet for processing {"connection_id":125927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f68"} 
[2026-07-08 07:18:34] local.INFO: GPS Element Parsed {"raw_longitude":763527552,"raw_latitude":97726072,"longitude_deg":76.3527552,"latitude_deg":9.7726072,"altitude":13,"angle":359,"satellites":42,"speed":30,"hex_longitude":"2d828180","hex_latitude":"05d32e78","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569661696001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103534498817245184,"note":"Value kept but may cause issues"} 
[2026-07-08 07:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042665076791017472,"note":"Value kept but may cause issues"} 
[2026-07-08 07:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783475254000,"timestamp_ms":1783475254000,"timestamp_seconds":1783475254,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f68b2f0"} 
[2026-07-08 07:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-08 07:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569661696001,"66":13504,"221":206,"85":15104,"24":30,"16":103534498817245184,"45":-9042665076791017472},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-08 07:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569661696001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:18:34] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-08 07:18:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103534498817245184,"km_value":103534498817245.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042665076791017472,"description":"Unknown IO ID 45"} 
[2026-07-08 07:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569661696001,"power":13504,"unknown_221":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9042665076791017472}} 
[2026-07-08 07:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":125927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449487,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:18:34] local.INFO: GPS data processed {"connection_id":125927,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:18:34] local.INFO: Acknowledgment sent {"connection_id":125927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:18:38] local.INFO: TCP Data received {"connection_id":125929,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f6868b8012d9e4b400566c878000b016032..."} 
[2026-07-08 07:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f6868b8012d9e4b400566c878000b016032..."} 
[2026-07-08 07:18:38] local.INFO: Processing buffer {"connection_id":125929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f6868b8012d9e4b400566c878000b016032..."} 
[2026-07-08 07:18:38] local.INFO: Packet analysis {"connection_id":125929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f68"} 
[2026-07-08 07:18:38] local.INFO: Extracted packet for processing {"connection_id":125929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f68"} 
[2026-07-08 07:18:38] local.INFO: GPS Element Parsed {"raw_longitude":765348672,"raw_latitude":90622072,"longitude_deg":76.5348672,"latitude_deg":9.0622072,"altitude":11,"angle":352,"satellites":50,"speed":32,"hex_longitude":"2d9e4b40","hex_latitude":"0566c878","is_valid_coordinates":true} 
[2026-07-08 07:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569656576001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342246801149001728,"note":"Value kept but may cause issues"} 
[2026-07-08 07:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7038633613173985280,"note":"Value kept but may cause issues"} 
[2026-07-08 07:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783475235000,"timestamp_ms":1783475235000,"timestamp_seconds":1783475235,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f6868b8"} 
[2026-07-08 07:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 07:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569656576001,"66":27713,"112":206,"84":8448,"24":32,"16":342246801149001728,"45":-7038633613173985280},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,84,24,16,45]} 
[2026-07-08 07:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569656576001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:18:38] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 07:18:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-08 07:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342246801149001728,"km_value":342246801149001.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7038633613173985280,"description":"Unknown IO ID 45"} 
[2026-07-08 07:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569656576001,"power":27713,"unknown_112":206,"unknown_84":8448,"ignition":32,"odometer":null,"unknown_45":-7038633613173985280}} 
[2026-07-08 07:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":125929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:18:38] local.INFO: GPS data processed {"connection_id":125929,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:18:38] local.INFO: Acknowledgment sent {"connection_id":125929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:18:43] local.INFO: TCP Data received {"connection_id":127189,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127189,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:18:43] local.INFO: Processing buffer {"connection_id":127189,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:18:43] local.INFO: IMEI packet received {"connection_id":127189,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":127189,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:18:44] local.INFO: TCP Data received {"connection_id":127189,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127189,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:18:44] local.INFO: Processing buffer {"connection_id":127189,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:18:44] local.INFO: IMEI packet received {"connection_id":127189,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":127189,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:18:45] local.INFO: TCP Data received {"connection_id":127189,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127189,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:18:45] local.INFO: Processing buffer {"connection_id":127189,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:18:45] local.INFO: IMEI packet received {"connection_id":127189,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":127189,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:18:47] local.INFO: TCP Data received {"connection_id":127189,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127189,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:18:47] local.INFO: Processing buffer {"connection_id":127189,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:18:47] local.INFO: IMEI packet received {"connection_id":127189,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":127189,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:18:56] local.INFO: TCP Data received {"connection_id":125192,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:18:56] local.INFO: Processing buffer {"connection_id":125192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:18:56] local.INFO: IMEI packet received {"connection_id":125192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":125192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:18:56] local.INFO: TCP Data received {"connection_id":125192,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:18:56] local.INFO: Processing buffer {"connection_id":125192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:18:56] local.INFO: IMEI packet received {"connection_id":125192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":125192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:19:02] local.INFO: TCP Data received {"connection_id":125192,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:19:02] local.INFO: Processing buffer {"connection_id":125192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:19:02] local.INFO: IMEI packet received {"connection_id":125192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":125192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:19:03] local.INFO: TCP Data received {"connection_id":125192,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f688fc8012d9e46800566ead0000a016032..."} 
[2026-07-08 07:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f688fc8012d9e46800566ead0000a016032..."} 
[2026-07-08 07:19:03] local.INFO: Processing buffer {"connection_id":125192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f688fc8012d9e46800566ead0000a016032..."} 
[2026-07-08 07:19:03] local.INFO: Packet analysis {"connection_id":125192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f68"} 
[2026-07-08 07:19:03] local.INFO: Extracted packet for processing {"connection_id":125192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f68"} 
[2026-07-08 07:19:03] local.INFO: GPS Element Parsed {"raw_longitude":765347456,"raw_latitude":90630864,"longitude_deg":76.5347456,"latitude_deg":9.0630864,"altitude":10,"angle":352,"satellites":50,"speed":34,"hex_longitude":"2d9e4680","hex_latitude":"0566ead0","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569660160001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342247230645731328,"note":"Value kept but may cause issues"} 
[2026-07-08 07:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7040463200520210432,"note":"Value kept but may cause issues"} 
[2026-07-08 07:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783475245000,"timestamp_ms":1783475245000,"timestamp_seconds":1783475245,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f688fc8"} 
[2026-07-08 07:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 07:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569660160001,"66":27767,"112":206,"84":8448,"24":34,"16":342247230645731328,"45":-7040463200520210432},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,84,24,16,45]} 
[2026-07-08 07:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569660160001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:19:03] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 07:19:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-08 07:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342247230645731328,"km_value":342247230645731.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7040463200520210432,"description":"Unknown IO ID 45"} 
[2026-07-08 07:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569660160001,"power":27767,"unknown_112":206,"unknown_84":8448,"ignition":34,"odometer":null,"unknown_45":-7040463200520210432}} 
[2026-07-08 07:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":125192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:19:04] local.INFO: GPS data processed {"connection_id":125192,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:19:04] local.INFO: Acknowledgment sent {"connection_id":125192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:19:37] local.INFO: TCP Data received {"connection_id":125192,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f68d230012d9e428005670d28000b01612f..."} 
[2026-07-08 07:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f68d230012d9e428005670d28000b01612f..."} 
[2026-07-08 07:19:37] local.INFO: Processing buffer {"connection_id":125192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f68d230012d9e428005670d28000b01612f..."} 
[2026-07-08 07:19:37] local.INFO: Packet analysis {"connection_id":125192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f68"} 
[2026-07-08 07:19:37] local.INFO: Extracted packet for processing {"connection_id":125192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f68"} 
[2026-07-08 07:19:37] local.INFO: GPS Element Parsed {"raw_longitude":765346432,"raw_latitude":90639656,"longitude_deg":76.5346432,"latitude_deg":9.0639656,"altitude":11,"angle":353,"satellites":47,"speed":33,"hex_longitude":"2d9e4280","hex_latitude":"05670d28","is_valid_coordinates":true} 
[2026-07-08 07:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569662720001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342247664437428224,"note":"Value kept but may cause issues"} 
[2026-07-08 07:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7041800206657335296,"note":"Value kept but may cause issues"} 
[2026-07-08 07:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783475262000,"timestamp_ms":1783475262000,"timestamp_seconds":1783475262,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f68d230"} 
[2026-07-08 07:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 07:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569662720001,"66":27800,"112":206,"84":8448,"24":33,"16":342247664437428224,"45":-7041800206657335296},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,84,24,16,45]} 
[2026-07-08 07:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569662720001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:19:37] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 07:19:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-08 07:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342247664437428224,"km_value":342247664437428.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7041800206657335296,"description":"Unknown IO ID 45"} 
[2026-07-08 07:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569662720001,"power":27800,"unknown_112":206,"unknown_84":8448,"ignition":33,"odometer":null,"unknown_45":-7041800206657335296}} 
[2026-07-08 07:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":125192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:19:37] local.INFO: GPS data processed {"connection_id":125192,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:19:37] local.INFO: Acknowledgment sent {"connection_id":125192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:19:53] local.INFO: TCP Data received {"connection_id":127190,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:19:53] local.INFO: Processing buffer {"connection_id":127190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:19:53] local.INFO: IMEI packet received {"connection_id":127190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":127190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:19:57] local.INFO: TCP Data received {"connection_id":127190,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:19:57] local.INFO: Processing buffer {"connection_id":127190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:19:57] local.INFO: IMEI packet received {"connection_id":127190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":127190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:20:02] local.INFO: TCP Data received {"connection_id":127190,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:20:02] local.INFO: Processing buffer {"connection_id":127190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:20:02] local.INFO: IMEI packet received {"connection_id":127190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":127190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:20:03] local.INFO: TCP Data received {"connection_id":127190,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f68f558012d9e3dc005673040000b01602d..."} 
[2026-07-08 07:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f68f558012d9e3dc005673040000b01602d..."} 
[2026-07-08 07:20:03] local.INFO: Processing buffer {"connection_id":127190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f68f558012d9e3dc005673040000b01602d..."} 
[2026-07-08 07:20:03] local.INFO: Packet analysis {"connection_id":127190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f68"} 
[2026-07-08 07:20:03] local.INFO: Extracted packet for processing {"connection_id":127190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f68"} 
[2026-07-08 07:20:03] local.INFO: GPS Element Parsed {"raw_longitude":765345216,"raw_latitude":90648640,"longitude_deg":76.5345216,"latitude_deg":9.064864,"altitude":11,"angle":352,"satellites":45,"speed":44,"hex_longitude":"2d9e3dc0","hex_latitude":"05673040","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569667072001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342248102524092416,"note":"Value kept but may cause issues"} 
[2026-07-08 07:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7042926106561927168,"note":"Value kept but may cause issues"} 
[2026-07-08 07:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783475271000,"timestamp_ms":1783475271000,"timestamp_seconds":1783475271,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f68f558"} 
[2026-07-08 07:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 07:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569667072001,"66":27745,"112":206,"84":8448,"24":44,"16":342248102524092416,"45":-7042926106561927168},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,84,24,16,45]} 
[2026-07-08 07:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569667072001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:20:03] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 07:20:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-08 07:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342248102524092416,"km_value":342248102524092.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7042926106561927168,"description":"Unknown IO ID 45"} 
[2026-07-08 07:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569667072001,"power":27745,"unknown_112":206,"unknown_84":8448,"ignition":44,"odometer":null,"unknown_45":-7042926106561927168}} 
[2026-07-08 07:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":127190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:20:03] local.INFO: GPS data processed {"connection_id":127190,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:20:03] local.INFO: Acknowledgment sent {"connection_id":127190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:20:34] local.INFO: TCP Data received {"connection_id":127190,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f6a60a0012d9e05c00568bcb0000d014a33..."} 
[2026-07-08 07:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f6a60a0012d9e05c00568bcb0000d014a33..."} 
[2026-07-08 07:20:34] local.INFO: Processing buffer {"connection_id":127190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f6a60a0012d9e05c00568bcb0000d014a33..."} 
[2026-07-08 07:20:34] local.INFO: Packet analysis {"connection_id":127190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f6a"} 
[2026-07-08 07:20:34] local.INFO: Extracted packet for processing {"connection_id":127190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f6a"} 
[2026-07-08 07:20:34] local.INFO: GPS Element Parsed {"raw_longitude":765330880,"raw_latitude":90750128,"longitude_deg":76.533088,"latitude_deg":9.0750128,"altitude":13,"angle":330,"satellites":51,"speed":47,"hex_longitude":"2d9e05c0","hex_latitude":"0568bcb0","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569691136001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342253110455959552,"note":"Value kept but may cause issues"} 
[2026-07-08 07:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7055733217976147968,"note":"Value kept but may cause issues"} 
[2026-07-08 07:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783475364000,"timestamp_ms":1783475364000,"timestamp_seconds":1783475364,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f6a60a0"} 
[2026-07-08 07:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-08 07:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569691136001,"66":27767,"12":206,"84":8448,"24":47,"16":342253110455959552,"45":-7055733217976147968},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,84,24,16,45]} 
[2026-07-08 07:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569691136001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:20:34] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-07-08 07:20:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-08 07:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342253110455959552,"km_value":342253110455959.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7055733217976147968,"description":"Unknown IO ID 45"} 
[2026-07-08 07:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569691136001,"power":27767,"unknown_12":206,"unknown_84":8448,"ignition":47,"odometer":null,"unknown_45":-7055733217976147968}} 
[2026-07-08 07:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":127190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:20:34] local.INFO: GPS data processed {"connection_id":127190,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:20:34] local.INFO: Acknowledgment sent {"connection_id":127190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:20:58] local.INFO: TCP Data received {"connection_id":125195,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:20:58] local.INFO: Processing buffer {"connection_id":125195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:20:58] local.INFO: IMEI packet received {"connection_id":125195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":125195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:20:58] local.INFO: TCP Data received {"connection_id":125195,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:20:58] local.INFO: Processing buffer {"connection_id":125195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:20:58] local.INFO: IMEI packet received {"connection_id":125195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":125195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:21:02] local.INFO: TCP Data received {"connection_id":125195,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:21:02] local.INFO: Processing buffer {"connection_id":125195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:21:02] local.INFO: IMEI packet received {"connection_id":125195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":125195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:21:03] local.INFO: TCP Data received {"connection_id":125195,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f6a7fe0012d9df1800568dd50000d014833..."} 
[2026-07-08 07:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f6a7fe0012d9df1800568dd50000d014833..."} 
[2026-07-08 07:21:03] local.INFO: Processing buffer {"connection_id":125195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f6a7fe0012d9df1800568dd50000d014833..."} 
[2026-07-08 07:21:03] local.INFO: Packet analysis {"connection_id":125195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f6a"} 
[2026-07-08 07:21:03] local.INFO: Extracted packet for processing {"connection_id":125195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f6a"} 
[2026-07-08 07:21:03] local.INFO: GPS Element Parsed {"raw_longitude":765325696,"raw_latitude":90758480,"longitude_deg":76.5325696,"latitude_deg":9.075848,"altitude":13,"angle":328,"satellites":51,"speed":46,"hex_longitude":"2d9df180","hex_latitude":"0568dd50","is_valid_coordinates":true} 
[2026-07-08 07:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569693184001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342253582902362112,"note":"Value kept but may cause issues"} 
[2026-07-08 07:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7060025711368818688,"note":"Value kept but may cause issues"} 
[2026-07-08 07:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783475372000,"timestamp_ms":1783475372000,"timestamp_seconds":1783475372,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f6a7fe0"} 
[2026-07-08 07:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:21: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-07-08 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 07:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569693184001,"66":27745,"195":206,"84":8448,"24":46,"16":342253582902362112,"45":-7060025711368818688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-07-08 07:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569693184001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:21:03] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-08 07:21:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-08 07:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342253582902362112,"km_value":342253582902362.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7060025711368818688,"description":"Unknown IO ID 45"} 
[2026-07-08 07:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569693184001,"power":27745,"unknown_195":206,"unknown_84":8448,"ignition":46,"odometer":null,"unknown_45":-7060025711368818688}} 
[2026-07-08 07:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":125195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:21:03] local.INFO: GPS data processed {"connection_id":125195,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:21:03] local.INFO: Acknowledgment sent {"connection_id":125195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:21:04] local.INFO: TCP Data received {"connection_id":125195,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f6aa6f0012d9ddf000568fc88000c014f30..."} 
[2026-07-08 07:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f6aa6f0012d9ddf000568fc88000c014f30..."} 
[2026-07-08 07:21:04] local.INFO: Processing buffer {"connection_id":125195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f6aa6f0012d9ddf000568fc88000c014f30..."} 
[2026-07-08 07:21:04] local.INFO: Packet analysis {"connection_id":125195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f6a"} 
[2026-07-08 07:21:04] local.INFO: Extracted packet for processing {"connection_id":125195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f6a"} 
[2026-07-08 07:21:04] local.INFO: GPS Element Parsed {"raw_longitude":765320960,"raw_latitude":90766472,"longitude_deg":76.532096,"latitude_deg":9.0766472,"altitude":12,"angle":335,"satellites":48,"speed":32,"hex_longitude":"2d9ddf00","hex_latitude":"0568fc88","is_valid_coordinates":true} 
[2026-07-08 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-07-08 07:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569695232001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342254033873928192,"note":"Value kept but may cause issues"} 
[2026-07-08 07:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7065725579645071360,"note":"Value kept but may cause issues"} 
[2026-07-08 07:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783475382000,"timestamp_ms":1783475382000,"timestamp_seconds":1783475382,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f6aa6f0"} 
[2026-07-08 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-07-08 07:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 07:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 07:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569695232001,"66":27745,"195":206,"84":8448,"24":32,"16":342254033873928192,"45":-7065725579645071360},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-07-08 07:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569695232001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:21:04] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-08 07:21:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-08 07:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342254033873928192,"km_value":342254033873928.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7065725579645071360,"description":"Unknown IO ID 45"} 
[2026-07-08 07:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569695232001,"power":27745,"unknown_195":206,"unknown_84":8448,"ignition":32,"odometer":null,"unknown_45":-7065725579645071360}} 
[2026-07-08 07:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":125195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:21:04] local.INFO: GPS data processed {"connection_id":125195,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:21:04] local.INFO: Acknowledgment sent {"connection_id":125195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:21:32] local.INFO: TCP Data received {"connection_id":125196,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125196,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:21:32] local.INFO: Processing buffer {"connection_id":125196,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:21:32] local.INFO: IMEI packet received {"connection_id":125196,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 07:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":125196,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:21:34] local.INFO: TCP Data received {"connection_id":125195,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f6aed40012d9dd18005691eb0000c015730..."} 
[2026-07-08 07:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f6aed40012d9dd18005691eb0000c015730..."} 
[2026-07-08 07:21:34] local.INFO: Processing buffer {"connection_id":125195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f6aed40012d9dd18005691eb0000c015730..."} 
[2026-07-08 07:21:34] local.INFO: Packet analysis {"connection_id":125195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f6a"} 
[2026-07-08 07:21:34] local.INFO: Extracted packet for processing {"connection_id":125195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f6a"} 
[2026-07-08 07:21:34] local.INFO: GPS Element Parsed {"raw_longitude":765317504,"raw_latitude":90775216,"longitude_deg":76.5317504,"latitude_deg":9.0775216,"altitude":12,"angle":343,"satellites":48,"speed":31,"hex_longitude":"2d9dd180","hex_latitude":"05691eb0","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569697792001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342254489140461568,"note":"Value kept but may cause issues"} 
[2026-07-08 07:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7070932866712172544,"note":"Value kept but may cause issues"} 
[2026-07-08 07:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783475400000,"timestamp_ms":1783475400000,"timestamp_seconds":1783475400,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f6aed40"} 
[2026-07-08 07:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 07:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:21:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569697792001,"66":27745,"195":206,"84":8448,"24":31,"16":342254489140461568,"45":-7070932866712172544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-07-08 07:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569697792001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:21:34] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-08 07:21:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-08 07:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342254489140461568,"km_value":342254489140461.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7070932866712172544,"description":"Unknown IO ID 45"} 
[2026-07-08 07:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569697792001,"power":27745,"unknown_195":206,"unknown_84":8448,"ignition":31,"odometer":null,"unknown_45":-7070932866712172544}} 
[2026-07-08 07:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":125195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:21:34] local.INFO: GPS data processed {"connection_id":125195,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:21:34] local.INFO: Acknowledgment sent {"connection_id":125195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:21:57] local.INFO: TCP Data received {"connection_id":127192,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:21:57] local.INFO: Processing buffer {"connection_id":127192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:21:57] local.INFO: IMEI packet received {"connection_id":127192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":127192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:21:57] local.INFO: TCP Data received {"connection_id":127191,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127191,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:21:57] local.INFO: Processing buffer {"connection_id":127191,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:21:57] local.INFO: IMEI packet received {"connection_id":127191,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 07:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":127191,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:22:01] local.INFO: TCP Data received {"connection_id":127192,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:22:01] local.INFO: Processing buffer {"connection_id":127192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:22:01] local.INFO: IMEI packet received {"connection_id":127192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":127192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:22:03] local.INFO: TCP Data received {"connection_id":127192,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f6b1068012d9dc64005693fc8000c01542d..."} 
[2026-07-08 07:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f6b1068012d9dc64005693fc8000c01542d..."} 
[2026-07-08 07:22:03] local.INFO: Processing buffer {"connection_id":127192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f6b1068012d9dc64005693fc8000c01542d..."} 
[2026-07-08 07:22:03] local.INFO: Packet analysis {"connection_id":127192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f6b"} 
[2026-07-08 07:22:03] local.INFO: Extracted packet for processing {"connection_id":127192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f6b"} 
[2026-07-08 07:22:03] local.INFO: GPS Element Parsed {"raw_longitude":765314624,"raw_latitude":90783688,"longitude_deg":76.5314624,"latitude_deg":9.0783688,"altitude":12,"angle":340,"satellites":45,"speed":43,"hex_longitude":"2d9dc640","hex_latitude":"05693fc8","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569702400001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342254922932158464,"note":"Value kept but may cause issues"} 
[2026-07-08 07:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7074732778895527936,"note":"Value kept but may cause issues"} 
[2026-07-08 07:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783475409000,"timestamp_ms":1783475409000,"timestamp_seconds":1783475409,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f6b1068"} 
[2026-07-08 07:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 07:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569702400001,"66":27691,"195":206,"84":8448,"24":43,"16":342254922932158464,"45":-7074732778895527936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-07-08 07:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569702400001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:22:03] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-08 07:22:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-08 07:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342254922932158464,"km_value":342254922932158.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7074732778895527936,"description":"Unknown IO ID 45"} 
[2026-07-08 07:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569702400001,"power":27691,"unknown_195":206,"unknown_84":8448,"ignition":43,"odometer":null,"unknown_45":-7074732778895527936}} 
[2026-07-08 07:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":127192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:22:03] local.INFO: GPS data processed {"connection_id":127192,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:22:03] local.INFO: Acknowledgment sent {"connection_id":127192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:22:33] local.INFO: TCP Data received {"connection_id":127192,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f6b2fa8012d9dba8005696168000c01542d..."} 
[2026-07-08 07:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f6b2fa8012d9dba8005696168000c01542d..."} 
[2026-07-08 07:22:33] local.INFO: Processing buffer {"connection_id":127192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f6b2fa8012d9dba8005696168000c01542d..."} 
[2026-07-08 07:22:33] local.INFO: Packet analysis {"connection_id":127192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f6b"} 
[2026-07-08 07:22:33] local.INFO: Extracted packet for processing {"connection_id":127192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f6b"} 
[2026-07-08 07:22:33] local.INFO: GPS Element Parsed {"raw_longitude":765311616,"raw_latitude":90792296,"longitude_deg":76.5311616,"latitude_deg":9.0792296,"altitude":12,"angle":340,"satellites":45,"speed":45,"hex_longitude":"2d9dba80","hex_latitude":"05696168","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569704704001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342255365313789952,"note":"Value kept but may cause issues"} 
[2026-07-08 07:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077899372381353984,"note":"Value kept but may cause issues"} 
[2026-07-08 07:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783475417000,"timestamp_ms":1783475417000,"timestamp_seconds":1783475417,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f6b2fa8"} 
[2026-07-08 07:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 07:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569704704001,"66":27800,"195":206,"84":8448,"24":45,"16":342255365313789952,"45":-7077899372381353984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-07-08 07:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569704704001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:22:33] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-08 07:22:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-08 07:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342255365313789952,"km_value":342255365313789.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077899372381353984,"description":"Unknown IO ID 45"} 
[2026-07-08 07:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569704704001,"power":27800,"unknown_195":206,"unknown_84":8448,"ignition":45,"odometer":null,"unknown_45":-7077899372381353984}} 
[2026-07-08 07:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":127192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:22:33] local.INFO: GPS data processed {"connection_id":127192,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:22:33] local.INFO: Acknowledgment sent {"connection_id":127192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:22:56] local.INFO: TCP Data received {"connection_id":125097,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:22:56] local.INFO: Processing buffer {"connection_id":125097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:22:56] local.INFO: IMEI packet received {"connection_id":125097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":125097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:23:02] local.INFO: TCP Data received {"connection_id":125097,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:23:02] local.INFO: Processing buffer {"connection_id":125097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:23:02] local.INFO: IMEI packet received {"connection_id":125097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":125097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:23:14] local.INFO: TCP Data received {"connection_id":125097,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f6b4ee8012d9dadc005698528000b01552d..."} 
[2026-07-08 07:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f6b4ee8012d9dadc005698528000b01552d..."} 
[2026-07-08 07:23:14] local.INFO: Processing buffer {"connection_id":125097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f6b4ee8012d9dadc005698528000b01552d..."} 
[2026-07-08 07:23:14] local.INFO: Packet analysis {"connection_id":125097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f6b"} 
[2026-07-08 07:23:14] local.INFO: Extracted packet for processing {"connection_id":125097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f6b"} 
[2026-07-08 07:23:14] local.INFO: GPS Element Parsed {"raw_longitude":765308352,"raw_latitude":90801448,"longitude_deg":76.5308352,"latitude_deg":9.0801448,"altitude":11,"angle":341,"satellites":45,"speed":47,"hex_longitude":"2d9dadc0","hex_latitude":"05698528","is_valid_coordinates":true} 
[2026-07-08 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-07-08 07:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569706752001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342255833465225216,"note":"Value kept but may cause issues"} 
[2026-07-08 07:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7081206703355500544,"note":"Value kept but may cause issues"} 
[2026-07-08 07:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783475425000,"timestamp_ms":1783475425000,"timestamp_seconds":1783475425,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f6b4ee8"} 
[2026-07-08 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-07-08 07:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 07:23:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 07:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":125097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":125097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":125097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569706752001,"66":27713,"193":206,"84":8448,"24":47,"16":342255833465225216,"45":-7081206703355500544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,84,24,16,45]} 
[2026-07-08 07:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569706752001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:23:14] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-08 07:23:14] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-08 07:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342255833465225216,"km_value":342255833465225.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7081206703355500544,"description":"Unknown IO ID 45"} 
[2026-07-08 07:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569706752001,"power":27713,"unknown_193":206,"unknown_84":8448,"ignition":47,"odometer":null,"unknown_45":-7081206703355500544}} 
[2026-07-08 07:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":125097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:23:14] local.INFO: GPS data processed {"connection_id":125097,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:23:14] local.INFO: Acknowledgment sent {"connection_id":125097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:23:52] local.INFO: TCP Data received {"connection_id":125098,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125098,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:23:52] local.INFO: Processing buffer {"connection_id":125098,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:23:52] local.INFO: IMEI packet received {"connection_id":125098,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":125098,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:23:56] local.INFO: TCP Data received {"connection_id":125199,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:23:56] local.INFO: Processing buffer {"connection_id":125199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:23:56] local.INFO: IMEI packet received {"connection_id":125199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":125199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:23:57] local.INFO: TCP Data received {"connection_id":125199,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:23:57] local.INFO: Processing buffer {"connection_id":125199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:23:57] local.INFO: IMEI packet received {"connection_id":125199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":125199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:24:01] local.INFO: TCP Data received {"connection_id":125199,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:24:01] local.INFO: Processing buffer {"connection_id":125199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:24:01] local.INFO: IMEI packet received {"connection_id":125199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":125199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:24:02] local.INFO: TCP Data received {"connection_id":125199,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f6d9cc0012d9cee40056b8de0000d015f35..."} 
[2026-07-08 07:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f6d9cc0012d9cee40056b8de0000d015f35..."} 
[2026-07-08 07:24:02] local.INFO: Processing buffer {"connection_id":125199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f6d9cc0012d9cee40056b8de0000d015f35..."} 
[2026-07-08 07:24:02] local.INFO: Packet analysis {"connection_id":125199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f6d"} 
[2026-07-08 07:24:02] local.INFO: Extracted packet for processing {"connection_id":125199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f6d"} 
[2026-07-08 07:24:02] local.INFO: GPS Element Parsed {"raw_longitude":765259328,"raw_latitude":90934752,"longitude_deg":76.5259328,"latitude_deg":9.0934752,"altitude":13,"angle":351,"satellites":53,"speed":48,"hex_longitude":"2d9cee40","hex_latitude":"056b8de0","is_valid_coordinates":true} 
[2026-07-08 07:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569745408001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342262731182702592,"note":"Value kept but may cause issues"} 
[2026-07-08 07:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7135461005082365952,"note":"Value kept but may cause issues"} 
[2026-07-08 07:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783475576000,"timestamp_ms":1783475576000,"timestamp_seconds":1783475576,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f6d9cc0"} 
[2026-07-08 07:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:24: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-07-08 07:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-08 07:24:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:24:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569745408001,"66":27604,"51":206,"84":8448,"24":48,"16":342262731182702592,"45":-7135461005082365952},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,84,24,16,45]} 
[2026-07-08 07:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569745408001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:24:02] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-08 07:24:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-08 07:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342262731182702592,"km_value":342262731182702.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7135461005082365952,"description":"Unknown IO ID 45"} 
[2026-07-08 07:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569745408001,"power":27604,"unknown_51":206,"unknown_84":8448,"ignition":48,"odometer":null,"unknown_45":-7135461005082365952}} 
[2026-07-08 07:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":125199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:24:02] local.INFO: GPS data processed {"connection_id":125199,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:24:02] local.INFO: Acknowledgment sent {"connection_id":125199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:24:05] local.INFO: TCP Data received {"connection_id":125098,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125098,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:24:05] local.INFO: Processing buffer {"connection_id":125098,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:24:05] local.INFO: IMEI packet received {"connection_id":125098,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":125098,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:24:06] local.INFO: TCP Data received {"connection_id":125098,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f6dd758012d82134005d5bc580006006328..."} 
[2026-07-08 07:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f6dd758012d82134005d5bc580006006328..."} 
[2026-07-08 07:24:06] local.INFO: Processing buffer {"connection_id":125098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f6dd758012d82134005d5bc580006006328..."} 
[2026-07-08 07:24:06] local.INFO: Packet analysis {"connection_id":125098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f6d"} 
[2026-07-08 07:24:06] local.INFO: Extracted packet for processing {"connection_id":125098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f6d"} 
[2026-07-08 07:24:06] local.INFO: GPS Element Parsed {"raw_longitude":763499328,"raw_latitude":97893464,"longitude_deg":76.3499328,"latitude_deg":9.7893464,"altitude":6,"angle":99,"satellites":40,"speed":31,"hex_longitude":"2d821340","hex_latitude":"05d5bc58","is_valid_coordinates":true} 
[2026-07-08 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-07-08 07:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569750784001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103546984287174656,"note":"Value kept but may cause issues"} 
[2026-07-08 07:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9075527280276664320,"note":"Value kept but may cause issues"} 
[2026-07-08 07:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783475591000,"timestamp_ms":1783475591000,"timestamp_seconds":1783475591,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f6dd758"} 
[2026-07-08 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-07-08 07:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-08 07:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 07:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569750784001,"66":13254,"165":206,"85":15104,"24":31,"16":103546984287174656,"45":-9075527280276664320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-07-08 07:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569750784001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:24:06] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-08 07:24:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103546984287174656,"km_value":103546984287174.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9075527280276664320,"description":"Unknown IO ID 45"} 
[2026-07-08 07:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569750784001,"power":13254,"unknown_165":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9075527280276664320}} 
[2026-07-08 07:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":125098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449500,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:24:06] local.INFO: GPS data processed {"connection_id":125098,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:24:06] local.INFO: Acknowledgment sent {"connection_id":125098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:24:07] local.INFO: TCP Data received {"connection_id":125098,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f6ddf28012d82198005d5bc48000500552a..."} 
[2026-07-08 07:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f6ddf28012d82198005d5bc48000500552a..."} 
[2026-07-08 07:24:07] local.INFO: Processing buffer {"connection_id":125098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f6ddf28012d82198005d5bc48000500552a..."} 
[2026-07-08 07:24:07] local.INFO: Packet analysis {"connection_id":125098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f6d"} 
[2026-07-08 07:24:07] local.INFO: Extracted packet for processing {"connection_id":125098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f6d"} 
[2026-07-08 07:24:07] local.INFO: GPS Element Parsed {"raw_longitude":763500928,"raw_latitude":97893448,"longitude_deg":76.3500928,"latitude_deg":9.7893448,"altitude":5,"angle":85,"satellites":42,"speed":26,"hex_longitude":"2d821980","hex_latitude":"05d5bc48","is_valid_coordinates":true} 
[2026-07-08 07:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569751296001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103547057301618688,"note":"Value kept but may cause issues"} 
[2026-07-08 07:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9073838430416513024,"note":"Value kept but may cause issues"} 
[2026-07-08 07:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783475593000,"timestamp_ms":1783475593000,"timestamp_seconds":1783475593,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f6ddf28"} 
[2026-07-08 07:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:24: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-07-08 07:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-08 07:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569751296001,"66":13254,"165":206,"85":15104,"24":26,"16":103547057301618688,"45":-9073838430416513024},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-07-08 07:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569751296001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:24:07] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-08 07:24:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103547057301618688,"km_value":103547057301618.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9073838430416513024,"description":"Unknown IO ID 45"} 
[2026-07-08 07:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569751296001,"power":13254,"unknown_165":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9073838430416513024}} 
[2026-07-08 07:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":125098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449501,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:24:07] local.INFO: GPS data processed {"connection_id":125098,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:24:07] local.INFO: Acknowledgment sent {"connection_id":125098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:24:36] local.INFO: TCP Data received {"connection_id":125199,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f6d9cc0012d9cee40056b8de0000d015f35..."} 
[2026-07-08 07:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f6d9cc0012d9cee40056b8de0000d015f35..."} 
[2026-07-08 07:24:36] local.INFO: Processing buffer {"connection_id":125199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f6d9cc0012d9cee40056b8de0000d015f35..."} 
[2026-07-08 07:24:36] local.INFO: Packet analysis {"connection_id":125199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f6d"} 
[2026-07-08 07:24:36] local.INFO: Extracted packet for processing {"connection_id":125199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f6d"} 
[2026-07-08 07:24:36] local.INFO: GPS Element Parsed {"raw_longitude":765259328,"raw_latitude":90934752,"longitude_deg":76.5259328,"latitude_deg":9.0934752,"altitude":13,"angle":351,"satellites":53,"speed":48,"hex_longitude":"2d9cee40","hex_latitude":"056b8de0","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569747456001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342262731182702592,"note":"Value kept but may cause issues"} 
[2026-07-08 07:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7138697967312183296,"note":"Value kept but may cause issues"} 
[2026-07-08 07:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783475576000,"timestamp_ms":1783475576000,"timestamp_seconds":1783475576,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f6d9cc0"} 
[2026-07-08 07:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-08 07:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569747456001,"66":27604,"51":206,"84":8448,"24":48,"16":342262731182702592,"45":-7138697967312183296},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,84,24,16,45]} 
[2026-07-08 07:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569747456001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:24:36] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-08 07:24:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-08 07:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342262731182702592,"km_value":342262731182702.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7138697967312183296,"description":"Unknown IO ID 45"} 
[2026-07-08 07:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569747456001,"power":27604,"unknown_51":206,"unknown_84":8448,"ignition":48,"odometer":null,"unknown_45":-7138697967312183296}} 
[2026-07-08 07:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":125199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:24:36] local.INFO: GPS data processed {"connection_id":125199,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:24:36] local.INFO: Acknowledgment sent {"connection_id":125199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:24:47] local.INFO: TCP Data received {"connection_id":125930,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125930,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:24:47] local.INFO: Processing buffer {"connection_id":125930,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:24:47] local.INFO: IMEI packet received {"connection_id":125930,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":125930,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:24:52] local.INFO: TCP Data received {"connection_id":125930,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125930,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:24:52] local.INFO: Processing buffer {"connection_id":125930,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:24:52] local.INFO: IMEI packet received {"connection_id":125930,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":125930,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:24:52] local.INFO: TCP Data received {"connection_id":125930,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125930,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:24:52] local.INFO: Processing buffer {"connection_id":125930,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:24:52] local.INFO: IMEI packet received {"connection_id":125930,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":125930,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:24:53] local.INFO: TCP Data received {"connection_id":125930,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f6f0808012d82a30005d5fa200006001a29..."} 
[2026-07-08 07:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f6f0808012d82a30005d5fa200006001a29..."} 
[2026-07-08 07:24:53] local.INFO: Processing buffer {"connection_id":125930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f6f0808012d82a30005d5fa200006001a29..."} 
[2026-07-08 07:24:53] local.INFO: Packet analysis {"connection_id":125930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f6f"} 
[2026-07-08 07:24:53] local.INFO: Extracted packet for processing {"connection_id":125930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f6f"} 
[2026-07-08 07:24:53] local.INFO: GPS Element Parsed {"raw_longitude":763536128,"raw_latitude":97909280,"longitude_deg":76.3536128,"latitude_deg":9.790928,"altitude":6,"angle":26,"satellites":41,"speed":7,"hex_longitude":"2d82a300","hex_latitude":"05d5fa20","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569771008001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103548972857032704,"note":"Value kept but may cause issues"} 
[2026-07-08 07:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033446771254521856,"note":"Value kept but may cause issues"} 
[2026-07-08 07:24:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783475669000,"timestamp_ms":1783475669000,"timestamp_seconds":1783475669,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f6f0808"} 
[2026-07-08 07:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:24:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-07-08 07:24:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:24:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569771008001,"66":13656,"157":206,"85":15104,"24":7,"16":103548972857032704,"45":-9033446771254521856},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-07-08 07:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569771008001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:24:53] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 07:24:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103548972857032704,"km_value":103548972857032.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033446771254521856,"description":"Unknown IO ID 45"} 
[2026-07-08 07:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569771008001,"power":13656,"unknown_157":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9033446771254521856}} 
[2026-07-08 07:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":125930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449503,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:24:53] local.INFO: GPS data processed {"connection_id":125930,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:24:53] local.INFO: Acknowledgment sent {"connection_id":125930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:24:55] local.INFO: TCP Data received {"connection_id":125930,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f6f0bf0012d82a38005d5faf80006000529..."} 
[2026-07-08 07:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f6f0bf0012d82a38005d5faf80006000529..."} 
[2026-07-08 07:24:55] local.INFO: Processing buffer {"connection_id":125930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f6f0bf0012d82a38005d5faf80006000529..."} 
[2026-07-08 07:24:55] local.INFO: Packet analysis {"connection_id":125930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f6f"} 
[2026-07-08 07:24:55] local.INFO: Extracted packet for processing {"connection_id":125930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f6f"} 
[2026-07-08 07:24:55] local.INFO: GPS Element Parsed {"raw_longitude":763536256,"raw_latitude":97909496,"longitude_deg":76.3536256,"latitude_deg":9.7909496,"altitude":6,"angle":5,"satellites":41,"speed":10,"hex_longitude":"2d82a380","hex_latitude":"05d5faf8","is_valid_coordinates":true} 
[2026-07-08 07:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569771264001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103548985741934592,"note":"Value kept but may cause issues"} 
[2026-07-08 07:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033376402510307328,"note":"Value kept but may cause issues"} 
[2026-07-08 07:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783475670000,"timestamp_ms":1783475670000,"timestamp_seconds":1783475670,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f6f0bf0"} 
[2026-07-08 07:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-07-08 07:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":125930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":125930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":125930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569771264001,"66":13374,"157":206,"85":15104,"24":10,"16":103548985741934592,"45":-9033376402510307328},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-07-08 07:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569771264001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:24:55] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 07:24:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103548985741934592,"km_value":103548985741934.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033376402510307328,"description":"Unknown IO ID 45"} 
[2026-07-08 07:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569771264001,"power":13374,"unknown_157":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9033376402510307328}} 
[2026-07-08 07:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":125930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449504,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:24:55] local.INFO: GPS data processed {"connection_id":125930,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:24:55] local.INFO: Acknowledgment sent {"connection_id":125930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:25:07] local.INFO: TCP Data received {"connection_id":127194,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:25:07] local.INFO: Processing buffer {"connection_id":127194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:25:07] local.INFO: IMEI packet received {"connection_id":127194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":127194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:25:07] local.INFO: TCP Data received {"connection_id":127194,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:25:07] local.INFO: Processing buffer {"connection_id":127194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:25:07] local.INFO: IMEI packet received {"connection_id":127194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":127194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:25:12] local.INFO: TCP Data received {"connection_id":127194,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:25:12] local.INFO: Processing buffer {"connection_id":127194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:25:12] local.INFO: IMEI packet received {"connection_id":127194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":127194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:25:12] local.INFO: TCP Data received {"connection_id":127194,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f6dac60012d9ce980056ba138000d015435..."} 
[2026-07-08 07:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f6dac60012d9ce980056ba138000d015435..."} 
[2026-07-08 07:25:12] local.INFO: Processing buffer {"connection_id":127194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f6dac60012d9ce980056ba138000d015435..."} 
[2026-07-08 07:25:12] local.INFO: Packet analysis {"connection_id":127194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f6d"} 
[2026-07-08 07:25:12] local.INFO: Extracted packet for processing {"connection_id":127194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f6d"} 
[2026-07-08 07:25:12] local.INFO: GPS Element Parsed {"raw_longitude":765258112,"raw_latitude":90939704,"longitude_deg":76.5258112,"latitude_deg":9.0939704,"altitude":13,"angle":340,"satellites":53,"speed":52,"hex_longitude":"2d9ce980","hex_latitude":"056ba138","is_valid_coordinates":true} 
[2026-07-08 07:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569747456001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342262975995838464,"note":"Value kept but may cause issues"} 
[2026-07-08 07:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7138697967312183296,"note":"Value kept but may cause issues"} 
[2026-07-08 07:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783475580000,"timestamp_ms":1783475580000,"timestamp_seconds":1783475580,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f6dac60"} 
[2026-07-08 07:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-08 07:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":127194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":127194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":127194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569747456001,"66":27691,"51":206,"84":8448,"24":52,"16":342262975995838464,"45":-7138697967312183296},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,84,24,16,45]} 
[2026-07-08 07:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569747456001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:25:12] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-08 07:25:12] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-08 07:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342262975995838464,"km_value":342262975995838.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7138697967312183296,"description":"Unknown IO ID 45"} 
[2026-07-08 07:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569747456001,"power":27691,"unknown_51":206,"unknown_84":8448,"ignition":52,"odometer":null,"unknown_45":-7138697967312183296}} 
[2026-07-08 07:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":127194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:25:12] local.INFO: GPS data processed {"connection_id":127194,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:25:12] local.INFO: Acknowledgment sent {"connection_id":127194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:25:26] local.INFO: TCP Data received {"connection_id":125930,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f6f0fd8012d82a30005d5fc380006015b2a..."} 
[2026-07-08 07:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f6f0fd8012d82a30005d5fc380006015b2a..."} 
[2026-07-08 07:25:26] local.INFO: Processing buffer {"connection_id":125930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f6f0fd8012d82a30005d5fc380006015b2a..."} 
[2026-07-08 07:25:26] local.INFO: Packet analysis {"connection_id":125930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f6f"} 
[2026-07-08 07:25:26] local.INFO: Extracted packet for processing {"connection_id":125930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f6f"} 
[2026-07-08 07:25:26] local.INFO: GPS Element Parsed {"raw_longitude":763536128,"raw_latitude":97909816,"longitude_deg":76.3536128,"latitude_deg":9.7909816,"altitude":6,"angle":347,"satellites":42,"speed":13,"hex_longitude":"2d82a300","hex_latitude":"05d5fc38","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569771520001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103548998626836480,"note":"Value kept but may cause issues"} 
[2026-07-08 07:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033235665021896704,"note":"Value kept but may cause issues"} 
[2026-07-08 07:25:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783475671000,"timestamp_ms":1783475671000,"timestamp_seconds":1783475671,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f6f0fd8"} 
[2026-07-08 07:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:25: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-07-08 07: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":62,"data_length":795,"current_offset":136} 
[2026-07-08 07:25: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-07-08 07: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-07-08 07:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":125930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":125930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":125930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:25:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569771520001,"66":13374,"157":206,"85":15104,"24":13,"16":103548998626836480,"45":-9033235665021896704},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-07-08 07:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569771520001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:25:26] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 07:25:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103548998626836480,"km_value":103548998626836.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033235665021896704,"description":"Unknown IO ID 45"} 
[2026-07-08 07:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569771520001,"power":13374,"unknown_157":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":-9033235665021896704}} 
[2026-07-08 07:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":125930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449506,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:25:26] local.INFO: GPS data processed {"connection_id":125930,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:25:26] local.INFO: Acknowledgment sent {"connection_id":125930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:25:47] local.INFO: TCP Data received {"connection_id":125931,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:25:47] local.INFO: Processing buffer {"connection_id":125931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:25:47] local.INFO: IMEI packet received {"connection_id":125931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":125931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:25:48] local.INFO: TCP Data received {"connection_id":125931,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:25:48] local.INFO: Processing buffer {"connection_id":125931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:25:48] local.INFO: IMEI packet received {"connection_id":125931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":125931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:25:52] local.INFO: TCP Data received {"connection_id":125931,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:25:52] local.INFO: Processing buffer {"connection_id":125931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:25:52] local.INFO: IMEI packet received {"connection_id":125931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":125931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:25:54] local.INFO: TCP Data received {"connection_id":125931,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f6fb3e8012d82b84005d632880008001427..."} 
[2026-07-08 07:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f6fb3e8012d82b84005d632880008001427..."} 
[2026-07-08 07:25:54] local.INFO: Processing buffer {"connection_id":125931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f6fb3e8012d82b84005d632880008001427..."} 
[2026-07-08 07:25:54] local.INFO: Packet analysis {"connection_id":125931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f6f"} 
[2026-07-08 07:25:54] local.INFO: Extracted packet for processing {"connection_id":125931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f6f"} 
[2026-07-08 07:25:54] local.INFO: GPS Element Parsed {"raw_longitude":763541568,"raw_latitude":97923720,"longitude_deg":76.3541568,"latitude_deg":9.792372,"altitude":8,"angle":20,"satellites":39,"speed":20,"hex_longitude":"2d82b840","hex_latitude":"05d63288","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569782272001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103549836145459200,"note":"Value kept but may cause issues"} 
[2026-07-08 07:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027676534228334592,"note":"Value kept but may cause issues"} 
[2026-07-08 07:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783475713000,"timestamp_ms":1783475713000,"timestamp_seconds":1783475713,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f6fb3e8"} 
[2026-07-08 07:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-08 07:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751607777,"note":"Value kept but may cause issues"} 
[2026-07-08 07:25:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 07:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2191998981,"note":"Value kept but may cause issues"} 
[2026-07-08 07:25:54] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3003121664,"note":"Value kept but may cause issues"} 
[2026-07-08 07:25:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":8061885336667553792,"note":"Value kept but may cause issues"} 
[2026-07-08 07:25:54] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-08 07:25:54] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635115786512029,"note":"Value kept but may cause issues"} 
[2026-07-08 07:25:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795307214,"corrected_to":0} 
[2026-07-08 07:25:54] local.WARNING: Large IO value detected {"io_id":97,"raw_value":3758173570,"note":"Value kept but may cause issues"} 
[2026-07-08 07:25:54] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2147866133,"note":"Value kept but may cause issues"} 
[2026-07-08 07:25:54] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-2233559299693425067,"note":"Value kept but may cause issues"} 
[2026-07-08 07:25:54] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-08 07:25:54] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3784704000,"note":"Value kept but may cause issues"} 
[2026-07-08 07:25:54] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3591735296,"note":"Value kept but may cause issues"} 
[2026-07-08 07:25:54] local.WARNING: Large IO value detected {"io_id":130,"raw_value":-7043623400176615417,"note":"Value kept but may cause issues"} 
[2026-07-08 07:25:54] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755450980794609,"note":"Value kept but may cause issues"} 
[2026-07-08 07:25:54] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,157,85,24,241,16,226,159,164,45,64,8,40,10,66,225,156,128,42,125,192,1,240,227,63,214,4,113,205,14,97,160,41,239,52,2,111,5,7,11,130,59],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2795307214,"validated":0}]} 
[2026-07-08 07:25:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576499407010201600,"timestamp_seconds":576499407010201.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 07:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":125931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":125931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":125931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569782272001,"66":13656,"157":206,"85":15104,"24":20,"16":103549836145459200,"45":-9027676534228334592},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-07-08 07:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569782272001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:25:54] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 07:25:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103549836145459200,"km_value":103549836145459.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027676534228334592,"description":"Unknown IO ID 45"} 
[2026-07-08 07:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569782272001,"power":13656,"unknown_157":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9027676534228334592}} 
[2026-07-08 07:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":125931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449507,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:25:54] local.INFO: GPS data processed {"connection_id":125931,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:25:54] local.INFO: Acknowledgment sent {"connection_id":125931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:25:54] local.INFO: TCP Data received {"connection_id":125099,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:25:54] local.INFO: Processing buffer {"connection_id":125099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:25:54] local.INFO: IMEI packet received {"connection_id":125099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":125099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:25:57] local.INFO: TCP Data received {"connection_id":125099,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:25:57] local.INFO: Processing buffer {"connection_id":125099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:25:57] local.INFO: IMEI packet received {"connection_id":125099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":125099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:26:00] local.INFO: TCP Data received {"connection_id":125099,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:26:00] local.INFO: Processing buffer {"connection_id":125099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:26:00] local.INFO: IMEI packet received {"connection_id":125099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":125099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:26:01] local.INFO: TCP Data received {"connection_id":125099,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f6f5628012d9c2b40056d1478000c016432..."} 
[2026-07-08 07:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f6f5628012d9c2b40056d1478000c016432..."} 
[2026-07-08 07:26:01] local.INFO: Processing buffer {"connection_id":125099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f6f5628012d9c2b40056d1478000c016432..."} 
[2026-07-08 07:26:01] local.INFO: Packet analysis {"connection_id":125099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f6f"} 
[2026-07-08 07:26:01] local.INFO: Extracted packet for processing {"connection_id":125099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f6f"} 
[2026-07-08 07:26:01] local.INFO: GPS Element Parsed {"raw_longitude":765209408,"raw_latitude":91034744,"longitude_deg":76.5209408,"latitude_deg":9.1034744,"altitude":12,"angle":356,"satellites":50,"speed":34,"hex_longitude":"2d9c2b40","hex_latitude":"056d1478","is_valid_coordinates":true} 
[2026-07-08 07:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569775360001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342268194381103104,"note":"Value kept but may cause issues"} 
[2026-07-08 07:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7192530056583411712,"note":"Value kept but may cause issues"} 
[2026-07-08 07:26:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783475689000,"timestamp_ms":1783475689000,"timestamp_seconds":1783475689,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f6f5628"} 
[2026-07-08 07:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:26: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-07-08 07:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 07:26:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:26:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:26:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569775360001,"66":27745,"53":206,"84":8448,"24":34,"16":342268194381103104,"45":-7192530056583411712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,84,24,16,45]} 
[2026-07-08 07:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569775360001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:26:01] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-08 07:26:01] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-08 07:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342268194381103104,"km_value":342268194381103.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7192530056583411712,"description":"Unknown IO ID 45"} 
[2026-07-08 07:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569775360001,"power":27745,"unknown_53":206,"unknown_84":8448,"ignition":34,"odometer":null,"unknown_45":-7192530056583411712}} 
[2026-07-08 07:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":125099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:26:01] local.INFO: GPS data processed {"connection_id":125099,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:26:01] local.INFO: Acknowledgment sent {"connection_id":125099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:26:25] local.INFO: TCP Data received {"connection_id":125931,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f6fdee0012d82c10005d654200009001129..."} 
[2026-07-08 07:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f6fdee0012d82c10005d654200009001129..."} 
[2026-07-08 07:26:25] local.INFO: Processing buffer {"connection_id":125931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f6fdee0012d82c10005d654200009001129..."} 
[2026-07-08 07:26:25] local.INFO: Packet analysis {"connection_id":125931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f6f"} 
[2026-07-08 07:26:25] local.INFO: Extracted packet for processing {"connection_id":125931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f6f"} 
[2026-07-08 07:26:25] local.INFO: GPS Element Parsed {"raw_longitude":763543808,"raw_latitude":97932320,"longitude_deg":76.3543808,"latitude_deg":9.793232,"altitude":9,"angle":17,"satellites":41,"speed":37,"hex_longitude":"2d82c100","hex_latitude":"05d65420","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569782528001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103550265642188800,"note":"Value kept but may cause issues"} 
[2026-07-08 07:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027395059251509248,"note":"Value kept but may cause issues"} 
[2026-07-08 07:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783475724000,"timestamp_ms":1783475724000,"timestamp_seconds":1783475724,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f6fdee0"} 
[2026-07-08 07:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-07-08 07:26:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":125931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":125931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":125931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569782528001,"66":13352,"157":206,"85":15104,"24":37,"16":103550265642188800,"45":-9027395059251509248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-07-08 07:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569782528001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:26:25] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 07:26:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103550265642188800,"km_value":103550265642188.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027395059251509248,"description":"Unknown IO ID 45"} 
[2026-07-08 07:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569782528001,"power":13352,"unknown_157":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9027395059251509248}} 
[2026-07-08 07:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":125931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449509,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:26:25] local.INFO: GPS data processed {"connection_id":125931,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:26:25] local.INFO: Acknowledgment sent {"connection_id":125931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:26:33] local.INFO: TCP Data received {"connection_id":125099,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f6f5df8012d9c2a40056d1b60000c015832..."} 
[2026-07-08 07:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f6f5df8012d9c2a40056d1b60000c015832..."} 
[2026-07-08 07:26:33] local.INFO: Processing buffer {"connection_id":125099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f6f5df8012d9c2a40056d1b60000c015832..."} 
[2026-07-08 07:26:33] local.INFO: Packet analysis {"connection_id":125099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f6f"} 
[2026-07-08 07:26:33] local.INFO: Extracted packet for processing {"connection_id":125099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f6f"} 
[2026-07-08 07:26:33] local.INFO: GPS Element Parsed {"raw_longitude":765209152,"raw_latitude":91036512,"longitude_deg":76.5209152,"latitude_deg":9.1036512,"altitude":12,"angle":344,"satellites":50,"speed":37,"hex_longitude":"2d9c2a40","hex_latitude":"056d1b60","is_valid_coordinates":true} 
[2026-07-08 07:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569776384001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342268280280449024,"note":"Value kept but may cause issues"} 
[2026-07-08 07:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7193585587745163264,"note":"Value kept but may cause issues"} 
[2026-07-08 07:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783475691000,"timestamp_ms":1783475691000,"timestamp_seconds":1783475691,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f6f5df8"} 
[2026-07-08 07:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 07:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569776384001,"66":27691,"53":206,"84":8448,"24":37,"16":342268280280449024,"45":-7193585587745163264},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,84,24,16,45]} 
[2026-07-08 07:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569776384001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:26:33] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-08 07:26:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-08 07:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342268280280449024,"km_value":342268280280449.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7193585587745163264,"description":"Unknown IO ID 45"} 
[2026-07-08 07:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569776384001,"power":27691,"unknown_53":206,"unknown_84":8448,"ignition":37,"odometer":null,"unknown_45":-7193585587745163264}} 
[2026-07-08 07:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":125099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:26:33] local.INFO: GPS data processed {"connection_id":125099,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:26:33] local.INFO: Acknowledgment sent {"connection_id":125099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:26:47] local.INFO: TCP Data received {"connection_id":125201,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125201,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:26:47] local.INFO: Processing buffer {"connection_id":125201,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:26:47] local.INFO: IMEI packet received {"connection_id":125201,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":125201,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:26:52] local.INFO: TCP Data received {"connection_id":125201,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125201,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:26:52] local.INFO: Processing buffer {"connection_id":125201,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:26:52] local.INFO: IMEI packet received {"connection_id":125201,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":125201,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:26:53] local.INFO: TCP Data received {"connection_id":125201,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f7005f0012d82cd0005d675500008000927..."} 
[2026-07-08 07:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f7005f0012d82cd0005d675500008000927..."} 
[2026-07-08 07:26:53] local.INFO: Processing buffer {"connection_id":125201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f7005f0012d82cd0005d675500008000927..."} 
[2026-07-08 07:26:53] local.INFO: Packet analysis {"connection_id":125201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f70"} 
[2026-07-08 07:26:53] local.INFO: Extracted packet for processing {"connection_id":125201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f70"} 
[2026-07-08 07:26:53] local.INFO: GPS Element Parsed {"raw_longitude":763546880,"raw_latitude":97940816,"longitude_deg":76.354688,"latitude_deg":9.7940816,"altitude":8,"angle":9,"satellites":39,"speed":30,"hex_longitude":"2d82cd00","hex_latitude":"05d67550","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569785344001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103550703728852992,"note":"Value kept but may cause issues"} 
[2026-07-08 07:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9024932153203089408,"note":"Value kept but may cause issues"} 
[2026-07-08 07:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783475734000,"timestamp_ms":1783475734000,"timestamp_seconds":1783475734,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f7005f0"} 
[2026-07-08 07:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-08 07:26: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-07-08 07: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-07-08 07:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:26:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569785344001,"66":13374,"157":206,"85":15104,"24":30,"16":103550703728852992,"45":-9024932153203089408},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-07-08 07:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569785344001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:26:53] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 07:26:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103550703728852992,"km_value":103550703728852.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9024932153203089408,"description":"Unknown IO ID 45"} 
[2026-07-08 07:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569785344001,"power":13374,"unknown_157":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9024932153203089408}} 
[2026-07-08 07:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":125201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449511,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:26:53] local.INFO: GPS data processed {"connection_id":125201,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:26:53] local.INFO: Acknowledgment sent {"connection_id":125201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:27:24] local.INFO: TCP Data received {"connection_id":125201,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f702148012d82ce8005d683500009016629..."} 
[2026-07-08 07:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f702148012d82ce8005d683500009016629..."} 
[2026-07-08 07:27:24] local.INFO: Processing buffer {"connection_id":125201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f702148012d82ce8005d683500009016629..."} 
[2026-07-08 07:27:24] local.INFO: Packet analysis {"connection_id":125201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f70"} 
[2026-07-08 07:27:24] local.INFO: Extracted packet for processing {"connection_id":125201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f70"} 
[2026-07-08 07:27:24] local.INFO: GPS Element Parsed {"raw_longitude":763547264,"raw_latitude":97944400,"longitude_deg":76.3547264,"latitude_deg":9.79444,"altitude":9,"angle":358,"satellites":41,"speed":10,"hex_longitude":"2d82ce80","hex_latitude":"05d68350","is_valid_coordinates":true} 
[2026-07-08 07:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569787904001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103550879822512128,"note":"Value kept but may cause issues"} 
[2026-07-08 07:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9021554453480386560,"note":"Value kept but may cause issues"} 
[2026-07-08 07:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783475741000,"timestamp_ms":1783475741000,"timestamp_seconds":1783475741,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f702148"} 
[2026-07-08 07:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-08 07:27:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:27:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569787904001,"66":13363,"157":206,"85":15104,"24":10,"16":103550879822512128,"45":-9021554453480386560},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-07-08 07:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569787904001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:27:24] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 07:27:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103550879822512128,"km_value":103550879822512.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9021554453480386560,"description":"Unknown IO ID 45"} 
[2026-07-08 07:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569787904001,"power":13363,"unknown_157":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9021554453480386560}} 
[2026-07-08 07:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":125201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449512,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:27:24] local.INFO: GPS data processed {"connection_id":125201,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:27:24] local.INFO: Acknowledgment sent {"connection_id":125201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:27:27] local.INFO: TCP Data received {"connection_id":125932,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125932,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:27:27] local.INFO: Processing buffer {"connection_id":125932,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:27:27] local.INFO: IMEI packet received {"connection_id":125932,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 07:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":125932,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:27:31] local.INFO: TCP Data received {"connection_id":125100,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:27:31] local.INFO: Processing buffer {"connection_id":125100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:27:31] local.INFO: IMEI packet received {"connection_id":125100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":125100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:27:32] local.INFO: TCP Data received {"connection_id":125100,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:27:32] local.INFO: Processing buffer {"connection_id":125100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:27:32] local.INFO: IMEI packet received {"connection_id":125100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":125100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:27:36] local.INFO: TCP Data received {"connection_id":125100,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:27:36] local.INFO: Processing buffer {"connection_id":125100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:27:36] local.INFO: IMEI packet received {"connection_id":125100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":125100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:27:37] local.INFO: TCP Data received {"connection_id":125100,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f70d4f8012d9be540056e52b8000c016534..."} 
[2026-07-08 07:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f70d4f8012d9be540056e52b8000c016534..."} 
[2026-07-08 07:27:37] local.INFO: Processing buffer {"connection_id":125100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f70d4f8012d9be540056e52b8000c016534..."} 
[2026-07-08 07:27:37] local.INFO: Packet analysis {"connection_id":125100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f70"} 
[2026-07-08 07:27:37] local.INFO: Extracted packet for processing {"connection_id":125100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f70"} 
[2026-07-08 07:27:37] local.INFO: GPS Element Parsed {"raw_longitude":765191488,"raw_latitude":91116216,"longitude_deg":76.5191488,"latitude_deg":9.1116216,"altitude":12,"angle":357,"satellites":52,"speed":48,"hex_longitude":"2d9be540","hex_latitude":"056e52b8","is_valid_coordinates":true} 
[2026-07-08 07:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569799424001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342272274600034304,"note":"Value kept but may cause issues"} 
[2026-07-08 07:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7212936992375607296,"note":"Value kept but may cause issues"} 
[2026-07-08 07:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783475787000,"timestamp_ms":1783475787000,"timestamp_seconds":1783475787,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f70d4f8"} 
[2026-07-08 07:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-07-08 07:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569799424001,"66":27691,"53":206,"84":8448,"24":48,"16":342272274600034304,"45":-7212936992375607296},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,84,24,16,45]} 
[2026-07-08 07:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569799424001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:27:37] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-08 07:27:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-08 07:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342272274600034304,"km_value":342272274600034.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7212936992375607296,"description":"Unknown IO ID 45"} 
[2026-07-08 07:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569799424001,"power":27691,"unknown_53":206,"unknown_84":8448,"ignition":48,"odometer":null,"unknown_45":-7212936992375607296}} 
[2026-07-08 07:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":125100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:27:37] local.INFO: GPS data processed {"connection_id":125100,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:27:37] local.INFO: Acknowledgment sent {"connection_id":125100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:27:47] local.INFO: TCP Data received {"connection_id":127196,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127196,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:27:47] local.INFO: Processing buffer {"connection_id":127196,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:27:47] local.INFO: IMEI packet received {"connection_id":127196,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":127196,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:27:52] local.INFO: TCP Data received {"connection_id":127196,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127196,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:27:52] local.INFO: Processing buffer {"connection_id":127196,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:27:52] local.INFO: IMEI packet received {"connection_id":127196,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":127196,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:27:53] local.INFO: TCP Data received {"connection_id":127196,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f702918012d82ce4005d684f8000a015429..."} 
[2026-07-08 07:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f702918012d82ce4005d684f8000a015429..."} 
[2026-07-08 07:27:53] local.INFO: Processing buffer {"connection_id":127196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f702918012d82ce4005d684f8000a015429..."} 
[2026-07-08 07:27:53] local.INFO: Packet analysis {"connection_id":127196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f70"} 
[2026-07-08 07:27:53] local.INFO: Extracted packet for processing {"connection_id":127196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f70"} 
[2026-07-08 07:27:53] local.INFO: GPS Element Parsed {"raw_longitude":763547200,"raw_latitude":97944824,"longitude_deg":76.35472,"latitude_deg":9.7944824,"altitude":10,"angle":340,"satellites":41,"speed":9,"hex_longitude":"2d82ce40","hex_latitude":"05d684f8","is_valid_coordinates":true} 
[2026-07-08 07:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569789696001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103550901297348608,"note":"Value kept but may cause issues"} 
[2026-07-08 07:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9021132241014403072,"note":"Value kept but may cause issues"} 
[2026-07-08 07:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783475743000,"timestamp_ms":1783475743000,"timestamp_seconds":1783475743,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f702918"} 
[2026-07-08 07:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:27:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-08 07:27:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:27:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":127196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":127196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":127196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569789696001,"66":13330,"157":206,"85":15104,"24":9,"16":103550901297348608,"45":-9021132241014403072},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-07-08 07:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569789696001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:27:53] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 07:27:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103550901297348608,"km_value":103550901297348.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9021132241014403072,"description":"Unknown IO ID 45"} 
[2026-07-08 07:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569789696001,"power":13330,"unknown_157":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9021132241014403072}} 
[2026-07-08 07:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":127196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449514,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:27:53] local.INFO: GPS data processed {"connection_id":127196,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:27:53] local.INFO: Acknowledgment sent {"connection_id":127196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:27:57] local.INFO: TCP Data received {"connection_id":125202,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125202,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:27:57] local.INFO: Processing buffer {"connection_id":125202,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:27:57] local.INFO: IMEI packet received {"connection_id":125202,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 07:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":125202,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:28:01] local.INFO: TCP Data received {"connection_id":125933,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:28:01] local.INFO: Processing buffer {"connection_id":125933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:28:01] local.INFO: IMEI packet received {"connection_id":125933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":125933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:28:02] local.INFO: TCP Data received {"connection_id":125933,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:28:02] local.INFO: Processing buffer {"connection_id":125933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:28:02] local.INFO: IMEI packet received {"connection_id":125933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":125933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:28:07] local.INFO: TCP Data received {"connection_id":125933,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:28:07] local.INFO: Processing buffer {"connection_id":125933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:28:07] local.INFO: IMEI packet received {"connection_id":125933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":125933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:28:07] local.INFO: TCP Data received {"connection_id":125933,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f70f438012d9be680056e7908000d000233..."} 
[2026-07-08 07:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f70f438012d9be680056e7908000d000233..."} 
[2026-07-08 07:28:07] local.INFO: Processing buffer {"connection_id":125933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f70f438012d9be680056e7908000d000233..."} 
[2026-07-08 07:28:07] local.INFO: Packet analysis {"connection_id":125933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f70"} 
[2026-07-08 07:28:07] local.INFO: Extracted packet for processing {"connection_id":125933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f70"} 
[2026-07-08 07:28:07] local.INFO: GPS Element Parsed {"raw_longitude":765191808,"raw_latitude":91126024,"longitude_deg":76.5191808,"latitude_deg":9.1126024,"altitude":13,"angle":2,"satellites":51,"speed":51,"hex_longitude":"2d9be680","hex_latitude":"056e7908","is_valid_coordinates":true} 
[2026-07-08 07:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569801472001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342272751341404160,"note":"Value kept but may cause issues"} 
[2026-07-08 07:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7213288836094052352,"note":"Value kept but may cause issues"} 
[2026-07-08 07:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783475795000,"timestamp_ms":1783475795000,"timestamp_seconds":1783475795,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f70f438"} 
[2026-07-08 07:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 07:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569801472001,"66":27767,"53":206,"84":8448,"24":51,"16":342272751341404160,"45":-7213288836094052352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,84,24,16,45]} 
[2026-07-08 07:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569801472001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:28:07] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-08 07:28:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-08 07:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342272751341404160,"km_value":342272751341404.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7213288836094052352,"description":"Unknown IO ID 45"} 
[2026-07-08 07:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569801472001,"power":27767,"unknown_53":206,"unknown_84":8448,"ignition":51,"odometer":null,"unknown_45":-7213288836094052352}} 
[2026-07-08 07:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":125933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:28:07] local.INFO: GPS data processed {"connection_id":125933,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:28:07] local.INFO: Acknowledgment sent {"connection_id":125933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:28:25] local.INFO: TCP Data received {"connection_id":127196,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f722cb8012d82b70005d6a650000800042e..."} 
[2026-07-08 07:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f722cb8012d82b70005d6a650000800042e..."} 
[2026-07-08 07:28:25] local.INFO: Processing buffer {"connection_id":127196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f722cb8012d82b70005d6a650000800042e..."} 
[2026-07-08 07:28:25] local.INFO: Packet analysis {"connection_id":127196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f72"} 
[2026-07-08 07:28:25] local.INFO: Extracted packet for processing {"connection_id":127196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f72"} 
[2026-07-08 07:28:25] local.INFO: GPS Element Parsed {"raw_longitude":763541248,"raw_latitude":97953360,"longitude_deg":76.3541248,"latitude_deg":9.795336,"altitude":8,"angle":4,"satellites":46,"speed":22,"hex_longitude":"2d82b700","hex_latitude":"05d6a650","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569820416001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103551451053162496,"note":"Value kept but may cause issues"} 
[2026-07-08 07:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027817271709407232,"note":"Value kept but may cause issues"} 
[2026-07-08 07:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783475875000,"timestamp_ms":1783475875000,"timestamp_seconds":1783475875,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f722cb8"} 
[2026-07-08 07:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:28: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-07-08 07: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":248,"data_length":795,"current_offset":136} 
[2026-07-08 07:28:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":127196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":127196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":127196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:28:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569820416001,"66":13243,"156":206,"85":15104,"24":22,"16":103551451053162496,"45":-9027817271709407232},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-08 07:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569820416001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:28:25] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 07:28:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103551451053162496,"km_value":103551451053162.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027817271709407232,"description":"Unknown IO ID 45"} 
[2026-07-08 07:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569820416001,"power":13243,"unknown_156":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9027817271709407232}} 
[2026-07-08 07:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":127196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449516,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:28:25] local.INFO: GPS data processed {"connection_id":127196,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:28:25] local.INFO: Acknowledgment sent {"connection_id":127196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:28:45] local.INFO: TCP Data received {"connection_id":125933,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f720d78012d9bad4005700200000d000836..."} 
[2026-07-08 07:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f720d78012d9bad4005700200000d000836..."} 
[2026-07-08 07:28:45] local.INFO: Processing buffer {"connection_id":125933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f720d78012d9bad4005700200000d000836..."} 
[2026-07-08 07:28:45] local.INFO: Packet analysis {"connection_id":125933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f72"} 
[2026-07-08 07:28:45] local.INFO: Extracted packet for processing {"connection_id":125933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f72"} 
[2026-07-08 07:28:45] local.INFO: GPS Element Parsed {"raw_longitude":765177152,"raw_latitude":91226624,"longitude_deg":76.5177152,"latitude_deg":9.1226624,"altitude":13,"angle":8,"satellites":54,"speed":17,"hex_longitude":"2d9bad40","hex_latitude":"05700200","is_valid_coordinates":true} 
[2026-07-08 07:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569819392001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342277690553794560,"note":"Value kept but may cause issues"} 
[2026-07-08 07:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7227714428624599040,"note":"Value kept but may cause issues"} 
[2026-07-08 07:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783475867000,"timestamp_ms":1783475867000,"timestamp_seconds":1783475867,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f720d78"} 
[2026-07-08 07:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 07:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":125933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":125933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":125933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569819392001,"66":27745,"91":206,"84":8448,"24":17,"16":342277690553794560,"45":-7227714428624599040},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,84,24,16,45]} 
[2026-07-08 07:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569819392001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:28:45] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-08 07:28:45] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-08 07:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342277690553794560,"km_value":342277690553794.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7227714428624599040,"description":"Unknown IO ID 45"} 
[2026-07-08 07:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569819392001,"power":27745,"unknown_91":206,"unknown_84":8448,"ignition":17,"odometer":null,"unknown_45":-7227714428624599040}} 
[2026-07-08 07:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":125933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:28:45] local.INFO: GPS data processed {"connection_id":125933,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:28:45] local.INFO: Acknowledgment sent {"connection_id":125933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:28:52] local.INFO: TCP Data received {"connection_id":125101,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125101,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:28:52] local.INFO: Processing buffer {"connection_id":125101,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:28:52] local.INFO: IMEI packet received {"connection_id":125101,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":125101,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:28:57] local.INFO: TCP Data received {"connection_id":125101,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125101,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:28:57] local.INFO: Processing buffer {"connection_id":125101,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:28:57] local.INFO: IMEI packet received {"connection_id":125101,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":125101,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:28:58] local.INFO: TCP Data received {"connection_id":125101,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f7253c8012d82b9c005d6cc00000701672e..."} 
[2026-07-08 07:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f7253c8012d82b9c005d6cc00000701672e..."} 
[2026-07-08 07:28:58] local.INFO: Processing buffer {"connection_id":125101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f7253c8012d82b9c005d6cc00000701672e..."} 
[2026-07-08 07:28:58] local.INFO: Packet analysis {"connection_id":125101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f72"} 
[2026-07-08 07:28:58] local.INFO: Extracted packet for processing {"connection_id":125101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f72"} 
[2026-07-08 07:28:58] local.INFO: GPS Element Parsed {"raw_longitude":763541952,"raw_latitude":97963008,"longitude_deg":76.3541952,"latitude_deg":9.7963008,"altitude":7,"angle":359,"satellites":46,"speed":45,"hex_longitude":"2d82b9c0","hex_latitude":"05d6cc00","is_valid_coordinates":true} 
[2026-07-08 07:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569824000001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103551923499565056,"note":"Value kept but may cause issues"} 
[2026-07-08 07:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027746902964809728,"note":"Value kept but may cause issues"} 
[2026-07-08 07:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783475885000,"timestamp_ms":1783475885000,"timestamp_seconds":1783475885,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f7253c8"} 
[2026-07-08 07:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-08 07:28: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-07-08 07:28:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":125101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":125101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":125101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569824000001,"66":12906,"156":206,"85":15104,"24":45,"16":103551923499565056,"45":-9027746902964809728},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-08 07:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569824000001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:28:58] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 07:28:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103551923499565056,"km_value":103551923499565.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027746902964809728,"description":"Unknown IO ID 45"} 
[2026-07-08 07:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569824000001,"power":12906,"unknown_156":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":-9027746902964809728}} 
[2026-07-08 07:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":125101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449518,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:28:58] local.INFO: GPS data processed {"connection_id":125101,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:28:58] local.INFO: Acknowledgment sent {"connection_id":125101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:28:59] local.INFO: TCP Data received {"connection_id":125101,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f727ec0012d82b74005d6f0a8000601642d..."} 
[2026-07-08 07:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f727ec0012d82b74005d6f0a8000601642d..."} 
[2026-07-08 07:28:59] local.INFO: Processing buffer {"connection_id":125101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f727ec0012d82b74005d6f0a8000601642d..."} 
[2026-07-08 07:28:59] local.INFO: Packet analysis {"connection_id":125101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f72"} 
[2026-07-08 07:28:59] local.INFO: Extracted packet for processing {"connection_id":125101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f72"} 
[2026-07-08 07:28:59] local.INFO: GPS Element Parsed {"raw_longitude":763541312,"raw_latitude":97972392,"longitude_deg":76.3541312,"latitude_deg":9.7972392,"altitude":6,"angle":356,"satellites":45,"speed":34,"hex_longitude":"2d82b740","hex_latitude":"05d6f0a8","is_valid_coordinates":true} 
[2026-07-08 07:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569826560001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103552378766098432,"note":"Value kept but may cause issues"} 
[2026-07-08 07:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026972846776385536,"note":"Value kept but may cause issues"} 
[2026-07-08 07:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783475896000,"timestamp_ms":1783475896000,"timestamp_seconds":1783475896,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f727ec0"} 
[2026-07-08 07:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:28: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":106,"data_length":795,"current_offset":136} 
[2026-07-08 07:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":125101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":125101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":125101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569826560001,"66":12809,"156":206,"85":15104,"24":34,"16":103552378766098432,"45":-9026972846776385536},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-08 07:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569826560001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:28:59] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 07:28:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103552378766098432,"km_value":103552378766098.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026972846776385536,"description":"Unknown IO ID 45"} 
[2026-07-08 07:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569826560001,"power":12809,"unknown_156":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9026972846776385536}} 
[2026-07-08 07:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":125101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449519,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:28:59] local.INFO: GPS data processed {"connection_id":125101,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:28:59] local.INFO: Acknowledgment sent {"connection_id":125101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:29:05] local.INFO: TCP Data received {"connection_id":127198,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:29:05] local.INFO: Processing buffer {"connection_id":127198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:29:05] local.INFO: IMEI packet received {"connection_id":127198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":127198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:29:06] local.INFO: TCP Data received {"connection_id":127198,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:29:06] local.INFO: Processing buffer {"connection_id":127198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:29:06] local.INFO: IMEI packet received {"connection_id":127198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":127198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:29:11] local.INFO: TCP Data received {"connection_id":127198,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:29:11] local.INFO: Processing buffer {"connection_id":127198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:29:11] local.INFO: IMEI packet received {"connection_id":127198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":127198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:29:12] local.INFO: TCP Data received {"connection_id":127198,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f720d78012d9bad4005700200000d000836..."} 
[2026-07-08 07:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f720d78012d9bad4005700200000d000836..."} 
[2026-07-08 07:29:12] local.INFO: Processing buffer {"connection_id":127198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f720d78012d9bad4005700200000d000836..."} 
[2026-07-08 07:29:12] local.INFO: Packet analysis {"connection_id":127198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f72"} 
[2026-07-08 07:29:12] local.INFO: Extracted packet for processing {"connection_id":127198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f72"} 
[2026-07-08 07:29:12] local.INFO: GPS Element Parsed {"raw_longitude":765177152,"raw_latitude":91226624,"longitude_deg":76.5177152,"latitude_deg":9.1226624,"altitude":13,"angle":8,"satellites":54,"speed":17,"hex_longitude":"2d9bad40","hex_latitude":"05700200","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569821952001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342277690553794560,"note":"Value kept but may cause issues"} 
[2026-07-08 07:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7229051434761584640,"note":"Value kept but may cause issues"} 
[2026-07-08 07:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783475867000,"timestamp_ms":1783475867000,"timestamp_seconds":1783475867,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f720d78"} 
[2026-07-08 07:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 07:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":127198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":127198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":127198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569821952001,"66":27745,"91":206,"84":8448,"24":17,"16":342277690553794560,"45":-7229051434761584640},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,84,24,16,45]} 
[2026-07-08 07:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569821952001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:29:12] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-08 07:29:12] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-08 07:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342277690553794560,"km_value":342277690553794.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7229051434761584640,"description":"Unknown IO ID 45"} 
[2026-07-08 07:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569821952001,"power":27745,"unknown_91":206,"unknown_84":8448,"ignition":17,"odometer":null,"unknown_45":-7229051434761584640}} 
[2026-07-08 07:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":127198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:29:12] local.INFO: GPS data processed {"connection_id":127198,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:29:12] local.INFO: Acknowledgment sent {"connection_id":127198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:29:30] local.INFO: TCP Data received {"connection_id":125101,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f72a5d0012d82b1c005d714980008015d2d..."} 
[2026-07-08 07:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f72a5d0012d82b1c005d714980008015d2d..."} 
[2026-07-08 07:29:30] local.INFO: Processing buffer {"connection_id":125101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f72a5d0012d82b1c005d714980008015d2d..."} 
[2026-07-08 07:29:30] local.INFO: Packet analysis {"connection_id":125101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f72"} 
[2026-07-08 07:29:30] local.INFO: Extracted packet for processing {"connection_id":125101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f72"} 
[2026-07-08 07:29:30] local.INFO: GPS Element Parsed {"raw_longitude":763539904,"raw_latitude":97981592,"longitude_deg":76.3539904,"latitude_deg":9.7981592,"altitude":8,"angle":349,"satellites":45,"speed":33,"hex_longitude":"2d82b1c0","hex_latitude":"05d71498","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569829376001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103552829737664512,"note":"Value kept but may cause issues"} 
[2026-07-08 07:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027676534215759872,"note":"Value kept but may cause issues"} 
[2026-07-08 07:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783475906000,"timestamp_ms":1783475906000,"timestamp_seconds":1783475906,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f72a5d0"} 
[2026-07-08 07:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-08 07:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":432345564395340800,"note":"Value kept but may cause issues"} 
[2026-07-08 07:29:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 07:29:30] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":2049,"corrected_to":0} 
[2026-07-08 07:29:30] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-08 07:29:30] local.WARNING: Large IO value detected {"io_id":63,"raw_value":8120500306602800832,"note":"Value kept but may cause issues"} 
[2026-07-08 07:29:30] local.WARNING: Large IO value detected {"io_id":214,"raw_value":2682781706,"note":"Value kept but may cause issues"} 
[2026-07-08 07:29:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795241678,"corrected_to":0} 
[2026-07-08 07:29:30] local.WARNING: Large IO value detected {"io_id":81,"raw_value":4160826754,"note":"Value kept but may cause issues"} 
[2026-07-08 07:29:30] local.WARNING: Large IO value detected {"io_id":182,"raw_value":3221608095,"note":"Value kept but may cause issues"} 
[2026-07-08 07:29:30] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3815571456,"note":"Value kept but may cause issues"} 
[2026-07-08 07:29:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2981919514825761750,"note":"Value kept but may cause issues"} 
[2026-07-08 07:29:30] local.WARNING: Large IO value detected {"io_id":50,"raw_value":5332488074272230997,"note":"Value kept but may cause issues"} 
[2026-07-08 07:29:30] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-08 07:29:30] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,156,85,24,241,157,16,228,159,83,45,192,204,7,46,10,66,227,44,166,8,246,1,240,248,63,214,4,113,205,81,182,232,239,49,2,111,5,50,59,109],"length":535,"final_offset":665,"validated_count":41,"validation_warnings":[{"io_id":246,"original":2049,"validated":0},{"io_id":205,"original":2795241678,"validated":0}]} 
[2026-07-08 07:29:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432737183642812416,"timestamp_seconds":432737183642812.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 07:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":125101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":125101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":125101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569829376001,"66":12982,"156":206,"85":15104,"24":33,"16":103552829737664512,"45":-9027676534215759872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-08 07:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569829376001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:29:30] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 07:29:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103552829737664512,"km_value":103552829737664.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027676534215759872,"description":"Unknown IO ID 45"} 
[2026-07-08 07:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569829376001,"power":12982,"unknown_156":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9027676534215759872}} 
[2026-07-08 07:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":125101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449521,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:29:30] local.INFO: GPS data processed {"connection_id":125101,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:29:30] local.INFO: Acknowledgment sent {"connection_id":125101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:29:43] local.INFO: TCP Data received {"connection_id":127199,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127199,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:29:43] local.INFO: Processing buffer {"connection_id":127199,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:29:43] local.INFO: IMEI packet received {"connection_id":127199,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":127199,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:29:47] local.INFO: TCP Data received {"connection_id":127199,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127199,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:29:47] local.INFO: Processing buffer {"connection_id":127199,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:29:47] local.INFO: IMEI packet received {"connection_id":127199,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":127199,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:29:51] local.INFO: TCP Data received {"connection_id":127199,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127199,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:29:51] local.INFO: Processing buffer {"connection_id":127199,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:29:51] local.INFO: IMEI packet received {"connection_id":127199,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":127199,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:29:51] local.INFO: TCP Data received {"connection_id":127199,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f72cce0012d82ac4005d73a10000a01612d..."} 
[2026-07-08 07:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f72cce0012d82ac4005d73a10000a01612d..."} 
[2026-07-08 07:29:51] local.INFO: Processing buffer {"connection_id":127199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f72cce0012d82ac4005d73a10000a01612d..."} 
[2026-07-08 07:29:51] local.INFO: Packet analysis {"connection_id":127199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f72"} 
[2026-07-08 07:29:51] local.INFO: Extracted packet for processing {"connection_id":127199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f72"} 
[2026-07-08 07:29:51] local.INFO: GPS Element Parsed {"raw_longitude":763538496,"raw_latitude":97991184,"longitude_deg":76.3538496,"latitude_deg":9.7991184,"altitude":10,"angle":353,"satellites":45,"speed":42,"hex_longitude":"2d82ac40","hex_latitude":"05d73a10","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569831936001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103553302184067072,"note":"Value kept but may cause issues"} 
[2026-07-08 07:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9029224646585313280,"note":"Value kept but may cause issues"} 
[2026-07-08 07:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783475916000,"timestamp_ms":1783475916000,"timestamp_seconds":1783475916,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f72cce0"} 
[2026-07-08 07:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-08 07:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569831936001,"66":12982,"156":206,"85":15104,"24":42,"16":103553302184067072,"45":-9029224646585313280},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-08 07:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569831936001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:29:51] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 07:29:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103553302184067072,"km_value":103553302184067.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9029224646585313280,"description":"Unknown IO ID 45"} 
[2026-07-08 07:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569831936001,"power":12982,"unknown_156":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-9029224646585313280}} 
[2026-07-08 07:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":127199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449522,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:29:51] local.INFO: GPS data processed {"connection_id":127199,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:29:51] local.INFO: Acknowledgment sent {"connection_id":127199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:29:56] local.INFO: TCP Data received {"connection_id":125102,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:29:56] local.INFO: Processing buffer {"connection_id":125102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:29:56] local.INFO: IMEI packet received {"connection_id":125102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":125102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:29:59] local.INFO: TCP Data received {"connection_id":125102,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:29:59] local.INFO: Processing buffer {"connection_id":125102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:29:59] local.INFO: IMEI packet received {"connection_id":125102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":125102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:30:02] local.INFO: TCP Data received {"connection_id":125102,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:30:02] local.INFO: Processing buffer {"connection_id":125102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:30:02] local.INFO: IMEI packet received {"connection_id":125102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":125102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:30:02] local.INFO: TCP Data received {"connection_id":125102,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f7322d0012d9b58400570ff20000b015f35..."} 
[2026-07-08 07:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f7322d0012d9b58400570ff20000b015f35..."} 
[2026-07-08 07:30:02] local.INFO: Processing buffer {"connection_id":125102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f7322d0012d9b58400570ff20000b015f35..."} 
[2026-07-08 07:30:02] local.INFO: Packet analysis {"connection_id":125102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f73"} 
[2026-07-08 07:30:02] local.INFO: Extracted packet for processing {"connection_id":125102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f73"} 
[2026-07-08 07:30:02] local.INFO: GPS Element Parsed {"raw_longitude":765155392,"raw_latitude":91291424,"longitude_deg":76.5155392,"latitude_deg":9.1291424,"altitude":11,"angle":351,"satellites":53,"speed":26,"hex_longitude":"2d9b5840","hex_latitude":"0570ff20","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569839104001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342281062103121920,"note":"Value kept but may cause issues"} 
[2026-07-08 07:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7253258282742671360,"note":"Value kept but may cause issues"} 
[2026-07-08 07:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783475938000,"timestamp_ms":1783475938000,"timestamp_seconds":1783475938,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f7322d0"} 
[2026-07-08 07:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 07:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569839104001,"66":27745,"93":206,"84":8448,"24":26,"16":342281062103121920,"45":-7253258282742671360},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,84,24,16,45]} 
[2026-07-08 07:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569839104001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:30:02] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-08 07:30:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-08 07:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342281062103121920,"km_value":342281062103121.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7253258282742671360,"description":"Unknown IO ID 45"} 
[2026-07-08 07:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569839104001,"power":27745,"unknown_93":206,"unknown_84":8448,"ignition":26,"odometer":null,"unknown_45":-7253258282742671360}} 
[2026-07-08 07:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":125102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:30:02] local.INFO: GPS data processed {"connection_id":125102,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:30:02] local.INFO: Acknowledgment sent {"connection_id":125102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:30:22] local.INFO: TCP Data received {"connection_id":127199,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f731b00012d82a84005d75988000a01622c..."} 
[2026-07-08 07:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f731b00012d82a84005d75988000a01622c..."} 
[2026-07-08 07:30:22] local.INFO: Processing buffer {"connection_id":127199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f731b00012d82a84005d75988000a01622c..."} 
[2026-07-08 07:30:22] local.INFO: Packet analysis {"connection_id":127199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f73"} 
[2026-07-08 07:30:22] local.INFO: Extracted packet for processing {"connection_id":127199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f73"} 
[2026-07-08 07:30:22] local.INFO: GPS Element Parsed {"raw_longitude":763537472,"raw_latitude":97999240,"longitude_deg":76.3537472,"latitude_deg":9.799924,"altitude":10,"angle":354,"satellites":44,"speed":23,"hex_longitude":"2d82a840","hex_latitude":"05d75988","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569834496001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103553701616025600,"note":"Value kept but may cause issues"} 
[2026-07-08 07:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9030772758954766336,"note":"Value kept but may cause issues"} 
[2026-07-08 07:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783475936000,"timestamp_ms":1783475936000,"timestamp_seconds":1783475936,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f731b00"} 
[2026-07-08 07:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-08 07:30: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-07-08 07: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-07-08 07:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":127199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":127199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":127199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569834496001,"66":13461,"155":206,"85":15104,"24":23,"16":103553701616025600,"45":-9030772758954766336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-08 07:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569834496001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:30:22] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-08 07:30:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103553701616025600,"km_value":103553701616025.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9030772758954766336,"description":"Unknown IO ID 45"} 
[2026-07-08 07:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569834496001,"power":13461,"unknown_155":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9030772758954766336}} 
[2026-07-08 07:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":127199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449524,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:30:22] local.INFO: GPS data processed {"connection_id":127199,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:30:22] local.INFO: Acknowledgment sent {"connection_id":127199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:30:42] local.INFO: TCP Data received {"connection_id":125102,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f732e88012d9b560005710798000b015335..."} 
[2026-07-08 07:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f732e88012d9b560005710798000b015335..."} 
[2026-07-08 07:30:42] local.INFO: Processing buffer {"connection_id":125102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f732e88012d9b560005710798000b015335..."} 
[2026-07-08 07:30:42] local.INFO: Packet analysis {"connection_id":125102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f73"} 
[2026-07-08 07:30:42] local.INFO: Extracted packet for processing {"connection_id":125102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f73"} 
[2026-07-08 07:30:42] local.INFO: GPS Element Parsed {"raw_longitude":765154816,"raw_latitude":91293592,"longitude_deg":76.5154816,"latitude_deg":9.1293592,"altitude":11,"angle":339,"satellites":53,"speed":32,"hex_longitude":"2d9b5600","hex_latitude":"05710798","is_valid_coordinates":true} 
[2026-07-08 07:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569840128001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342281169477304320,"note":"Value kept but may cause issues"} 
[2026-07-08 07:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7252976807765401600,"note":"Value kept but may cause issues"} 
[2026-07-08 07:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783475941000,"timestamp_ms":1783475941000,"timestamp_seconds":1783475941,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f732e88"} 
[2026-07-08 07:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 07:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":125102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":125102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":125102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569840128001,"66":27745,"93":206,"84":8448,"24":32,"16":342281169477304320,"45":-7252976807765401600},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,84,24,16,45]} 
[2026-07-08 07:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569840128001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:30:42] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-08 07:30:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-07-08 07:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342281169477304320,"km_value":342281169477304.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7252976807765401600,"description":"Unknown IO ID 45"} 
[2026-07-08 07:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569840128001,"power":27745,"unknown_93":206,"unknown_84":8448,"ignition":32,"odometer":null,"unknown_45":-7252976807765401600}} 
[2026-07-08 07:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":125102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:30:42] local.INFO: GPS data processed {"connection_id":125102,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:30:42] local.INFO: Acknowledgment sent {"connection_id":125102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:30:46] local.INFO: TCP Data received {"connection_id":125103,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125103,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:30:47] local.INFO: Processing buffer {"connection_id":125103,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:30:47] local.INFO: IMEI packet received {"connection_id":125103,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":125103,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:30:47] local.INFO: TCP Data received {"connection_id":125103,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125103,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:30:47] local.INFO: Processing buffer {"connection_id":125103,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:30:47] local.INFO: IMEI packet received {"connection_id":125103,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":125103,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:30:52] local.INFO: TCP Data received {"connection_id":125103,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125103,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:30:52] local.INFO: Processing buffer {"connection_id":125103,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:30:52] local.INFO: IMEI packet received {"connection_id":125103,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":125103,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:30:53] local.INFO: TCP Data received {"connection_id":125103,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f74a1a0012d82858005d89188000c015b2c..."} 
[2026-07-08 07:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f74a1a0012d82858005d89188000c015b2c..."} 
[2026-07-08 07:30:53] local.INFO: Processing buffer {"connection_id":125103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f74a1a0012d82858005d89188000c015b2c..."} 
[2026-07-08 07:30:53] local.INFO: Packet analysis {"connection_id":125103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f74"} 
[2026-07-08 07:30:53] local.INFO: Extracted packet for processing {"connection_id":125103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f74"} 
[2026-07-08 07:30:53] local.INFO: GPS Element Parsed {"raw_longitude":763528576,"raw_latitude":98079112,"longitude_deg":76.3528576,"latitude_deg":9.8079112,"altitude":12,"angle":347,"satellites":44,"speed":43,"hex_longitude":"2d828580","hex_latitude":"05d89188","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569863424001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103557648690970624,"note":"Value kept but may cause issues"} 
[2026-07-08 07:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9038724427026014208,"note":"Value kept but may cause issues"} 
[2026-07-08 07:30:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783476036000,"timestamp_ms":1783476036000,"timestamp_seconds":1783476036,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f74a1a0"} 
[2026-07-08 07:30:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:30:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-08 07:30:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:30:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:30:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569863424001,"66":13015,"47":206,"85":15104,"24":43,"16":103557648690970624,"45":-9038724427026014208},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-08 07:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569863424001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:30:53] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-08 07:30:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103557648690970624,"km_value":103557648690970.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:30:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9038724427026014208,"description":"Unknown IO ID 45"} 
[2026-07-08 07:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569863424001,"power":13015,"unknown_47":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":-9038724427026014208}} 
[2026-07-08 07:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":125103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449526,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:30:53] local.INFO: GPS data processed {"connection_id":125103,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:30:53] local.INFO: Acknowledgment sent {"connection_id":125103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:30:56] local.INFO: TCP Data received {"connection_id":125203,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:30:56] local.INFO: Processing buffer {"connection_id":125203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:30:56] local.INFO: IMEI packet received {"connection_id":125203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":125203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:31:01] local.INFO: TCP Data received {"connection_id":125203,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:31:01] local.INFO: Processing buffer {"connection_id":125203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:31:01] local.INFO: IMEI packet received {"connection_id":125203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":125203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:31:01] local.INFO: TCP Data received {"connection_id":125203,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:31:01] local.INFO: Processing buffer {"connection_id":125203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:31:01] local.INFO: IMEI packet received {"connection_id":125203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":125203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:31:02] local.INFO: TCP Data received {"connection_id":125203,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f743058012d9af4c00571d488000f015732..."} 
[2026-07-08 07:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f743058012d9af4c00571d488000f015732..."} 
[2026-07-08 07:31:02] local.INFO: Processing buffer {"connection_id":125203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f743058012d9af4c00571d488000f015732..."} 
[2026-07-08 07:31:02] local.INFO: Packet analysis {"connection_id":125203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f74"} 
[2026-07-08 07:31:02] local.INFO: Extracted packet for processing {"connection_id":125203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f74"} 
[2026-07-08 07:31:02] local.INFO: GPS Element Parsed {"raw_longitude":765129920,"raw_latitude":91346056,"longitude_deg":76.512992,"latitude_deg":9.1346056,"altitude":15,"angle":343,"satellites":50,"speed":47,"hex_longitude":"2d9af4c0","hex_latitude":"0571d488","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569855744001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342284102939967488,"note":"Value kept but may cause issues"} 
[2026-07-08 07:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7278379924401934336,"note":"Value kept but may cause issues"} 
[2026-07-08 07:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783476007000,"timestamp_ms":1783476007000,"timestamp_seconds":1783476007,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f743058"} 
[2026-07-08 07:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:31: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-07-08 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 07:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569855744001,"66":27713,"162":206,"85":15872,"24":47,"16":342284102939967488,"45":-7278379924401934336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-07-08 07:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569855744001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:31:02] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-07-08 07:31:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 07:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342284102939967488,"km_value":342284102939967.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7278379924401934336,"description":"Unknown IO ID 45"} 
[2026-07-08 07:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569855744001,"power":27713,"unknown_162":206,"unknown_85":15872,"ignition":47,"odometer":null,"unknown_45":-7278379924401934336}} 
[2026-07-08 07:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":125203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:31:02] local.INFO: GPS data processed {"connection_id":125203,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:31:02] local.INFO: Acknowledgment sent {"connection_id":125203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:31:07] local.INFO: TCP Data received {"connection_id":125203,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f744f98012d9ae9800571f870000e01552f..."} 
[2026-07-08 07:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f744f98012d9ae9800571f870000e01552f..."} 
[2026-07-08 07:31:07] local.INFO: Processing buffer {"connection_id":125203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f744f98012d9ae9800571f870000e01552f..."} 
[2026-07-08 07:31:07] local.INFO: Packet analysis {"connection_id":125203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f74"} 
[2026-07-08 07:31:07] local.INFO: Extracted packet for processing {"connection_id":125203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f74"} 
[2026-07-08 07:31:07] local.INFO: GPS Element Parsed {"raw_longitude":765127040,"raw_latitude":91355248,"longitude_deg":76.512704,"latitude_deg":9.1355248,"altitude":14,"angle":341,"satellites":47,"speed":51,"hex_longitude":"2d9ae980","hex_latitude":"0571f870","is_valid_coordinates":true} 
[2026-07-08 07:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569857792001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342284571091402752,"note":"Value kept but may cause issues"} 
[2026-07-08 07:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7280983567934126080,"note":"Value kept but may cause issues"} 
[2026-07-08 07:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783476015000,"timestamp_ms":1783476015000,"timestamp_seconds":1783476015,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f744f98"} 
[2026-07-08 07:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 07:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569857792001,"66":27767,"162":206,"85":15872,"24":51,"16":342284571091402752,"45":-7280983567934126080},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-07-08 07:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569857792001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:31:07] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-07-08 07:31:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 07:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342284571091402752,"km_value":342284571091402.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7280983567934126080,"description":"Unknown IO ID 45"} 
[2026-07-08 07:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569857792001,"power":27767,"unknown_162":206,"unknown_85":15872,"ignition":51,"odometer":null,"unknown_45":-7280983567934126080}} 
[2026-07-08 07:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":125203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:31:07] local.INFO: GPS data processed {"connection_id":125203,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:31:07] local.INFO: Acknowledgment sent {"connection_id":125203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:31:24] local.INFO: TCP Data received {"connection_id":125103,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f74a970012d8284c005d89a70000c01662c..."} 
[2026-07-08 07:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f74a970012d8284c005d89a70000c01662c..."} 
[2026-07-08 07:31:24] local.INFO: Processing buffer {"connection_id":125103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f74a970012d8284c005d89a70000c01662c..."} 
[2026-07-08 07:31:24] local.INFO: Packet analysis {"connection_id":125103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f74"} 
[2026-07-08 07:31:24] local.INFO: Extracted packet for processing {"connection_id":125103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f74"} 
[2026-07-08 07:31:24] local.INFO: GPS Element Parsed {"raw_longitude":763528384,"raw_latitude":98081392,"longitude_deg":76.3528384,"latitude_deg":9.8081392,"altitude":12,"angle":358,"satellites":44,"speed":46,"hex_longitude":"2d8284c0","hex_latitude":"05d89a70","is_valid_coordinates":true} 
[2026-07-08 07:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569865216001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103557760360120320,"note":"Value kept but may cause issues"} 
[2026-07-08 07:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041679914279794688,"note":"Value kept but may cause issues"} 
[2026-07-08 07:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783476038000,"timestamp_ms":1783476038000,"timestamp_seconds":1783476038,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f74a970"} 
[2026-07-08 07:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-08 07:31: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-07-08 07:31:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569865216001,"66":12939,"47":206,"85":15104,"24":46,"16":103557760360120320,"45":-9041679914279794688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-08 07:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569865216001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:31:24] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-08 07:31:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103557760360120320,"km_value":103557760360120.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041679914279794688,"description":"Unknown IO ID 45"} 
[2026-07-08 07:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569865216001,"power":12939,"unknown_47":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":-9041679914279794688}} 
[2026-07-08 07:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":125103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449529,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:31:24] local.INFO: GPS data processed {"connection_id":125103,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:31:24] local.INFO: Acknowledgment sent {"connection_id":125103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:31:38] local.INFO: TCP Data received {"connection_id":125203,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f746af0012d9adc40057219f0000c014f30..."} 
[2026-07-08 07:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f746af0012d9adc40057219f0000c014f30..."} 
[2026-07-08 07:31:38] local.INFO: Processing buffer {"connection_id":125203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f746af0012d9adc40057219f0000c014f30..."} 
[2026-07-08 07:31:38] local.INFO: Packet analysis {"connection_id":125203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f74"} 
[2026-07-08 07:31:38] local.INFO: Extracted packet for processing {"connection_id":125203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f74"} 
[2026-07-08 07:31:38] local.INFO: GPS Element Parsed {"raw_longitude":765123648,"raw_latitude":91363824,"longitude_deg":76.5123648,"latitude_deg":9.1363824,"altitude":12,"angle":335,"satellites":48,"speed":51,"hex_longitude":"2d9adc40","hex_latitude":"057219f0","is_valid_coordinates":true} 
[2026-07-08 07:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569859840001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342285013473034240,"note":"Value kept but may cause issues"} 
[2026-07-08 07:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7284150161419767808,"note":"Value kept but may cause issues"} 
[2026-07-08 07:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783476022000,"timestamp_ms":1783476022000,"timestamp_seconds":1783476022,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f746af0"} 
[2026-07-08 07:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 07:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569859840001,"66":27691,"162":206,"85":15872,"24":51,"16":342285013473034240,"45":-7284150161419767808},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-07-08 07:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569859840001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:31:38] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-07-08 07:31:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 07:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342285013473034240,"km_value":342285013473034.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7284150161419767808,"description":"Unknown IO ID 45"} 
[2026-07-08 07:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569859840001,"power":27691,"unknown_162":206,"unknown_85":15872,"ignition":51,"odometer":null,"unknown_45":-7284150161419767808}} 
[2026-07-08 07:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":125203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:31:38] local.INFO: GPS data processed {"connection_id":125203,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:31:38] local.INFO: Acknowledgment sent {"connection_id":125203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:31:47] local.INFO: TCP Data received {"connection_id":125936,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125936,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:31:47] local.INFO: Processing buffer {"connection_id":125936,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:31:47] local.INFO: IMEI packet received {"connection_id":125936,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":125936,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:31:52] local.INFO: TCP Data received {"connection_id":125936,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125936,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:31:52] local.INFO: Processing buffer {"connection_id":125936,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:31:52] local.INFO: IMEI packet received {"connection_id":125936,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":125936,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:31:53] local.INFO: TCP Data received {"connection_id":125936,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f74c4c8012d82850005d8bdf0000d01652b..."} 
[2026-07-08 07:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f74c4c8012d82850005d8bdf0000d01652b..."} 
[2026-07-08 07:31:53] local.INFO: Processing buffer {"connection_id":125936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f74c4c8012d82850005d8bdf0000d01652b..."} 
[2026-07-08 07:31:53] local.INFO: Packet analysis {"connection_id":125936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f74"} 
[2026-07-08 07:31:53] local.INFO: Extracted packet for processing {"connection_id":125936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f74"} 
[2026-07-08 07:31:53] local.INFO: GPS Element Parsed {"raw_longitude":763528448,"raw_latitude":98090480,"longitude_deg":76.3528448,"latitude_deg":9.809048,"altitude":13,"angle":357,"satellites":43,"speed":51,"hex_longitude":"2d828500","hex_latitude":"05d8bdf0","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569865728001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103558198446784512,"note":"Value kept but may cause issues"} 
[2026-07-08 07:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041891020511744000,"note":"Value kept but may cause issues"} 
[2026-07-08 07:31:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783476045000,"timestamp_ms":1783476045000,"timestamp_seconds":1783476045,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f74c4c8"} 
[2026-07-08 07:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:31:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-08 07:31:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:31:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569865728001,"66":13102,"47":206,"85":15104,"24":51,"16":103558198446784512,"45":-9041891020511744000},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-08 07:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569865728001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:31:53] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-08 07:31:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103558198446784512,"km_value":103558198446784.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041891020511744000,"description":"Unknown IO ID 45"} 
[2026-07-08 07:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569865728001,"power":13102,"unknown_47":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":-9041891020511744000}} 
[2026-07-08 07:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":125936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449531,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:31:53] local.INFO: GPS data processed {"connection_id":125936,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:31:53] local.INFO: Acknowledgment sent {"connection_id":125936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:32:02] local.INFO: TCP Data received {"connection_id":125204,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:32:02] local.INFO: Processing buffer {"connection_id":125204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:32:02] local.INFO: IMEI packet received {"connection_id":125204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":125204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:32:02] local.INFO: TCP Data received {"connection_id":125204,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:32:02] local.INFO: Processing buffer {"connection_id":125204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:32:02] local.INFO: IMEI packet received {"connection_id":125204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":125204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:32:03] local.INFO: TCP Data received {"connection_id":125204,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f748648012d9ad04005723a28000c015c32..."} 
[2026-07-08 07:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f748648012d9ad04005723a28000c015c32..."} 
[2026-07-08 07:32:03] local.INFO: Processing buffer {"connection_id":125204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f748648012d9ad04005723a28000c015c32..."} 
[2026-07-08 07:32:03] local.INFO: Packet analysis {"connection_id":125204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f74"} 
[2026-07-08 07:32:03] local.INFO: Extracted packet for processing {"connection_id":125204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f74"} 
[2026-07-08 07:32:03] local.INFO: GPS Element Parsed {"raw_longitude":765120576,"raw_latitude":91372072,"longitude_deg":76.5120576,"latitude_deg":9.1372072,"altitude":12,"angle":348,"satellites":50,"speed":47,"hex_longitude":"2d9ad040","hex_latitude":"05723a28","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569861632001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342285442969763840,"note":"Value kept but may cause issues"} 
[2026-07-08 07:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7287879704858988544,"note":"Value kept but may cause issues"} 
[2026-07-08 07:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783476029000,"timestamp_ms":1783476029000,"timestamp_seconds":1783476029,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f748648"} 
[2026-07-08 07:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:32: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-07-08 07: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 07:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569861632001,"66":27658,"162":206,"85":15872,"24":47,"16":342285442969763840,"45":-7287879704858988544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-07-08 07:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569861632001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:32:03] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-07-08 07:32:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 07:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342285442969763840,"km_value":342285442969763.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7287879704858988544,"description":"Unknown IO ID 45"} 
[2026-07-08 07:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569861632001,"power":27658,"unknown_162":206,"unknown_85":15872,"ignition":47,"odometer":null,"unknown_45":-7287879704858988544}} 
[2026-07-08 07:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":125204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:32:03] local.INFO: GPS data processed {"connection_id":125204,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:32:03] local.INFO: Acknowledgment sent {"connection_id":125204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:32:07] local.INFO: TCP Data received {"connection_id":125204,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f74a588012d9ace0005725f98000d016631..."} 
[2026-07-08 07:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f74a588012d9ace0005725f98000d016631..."} 
[2026-07-08 07:32:07] local.INFO: Processing buffer {"connection_id":125204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f74a588012d9ace0005725f98000d016631..."} 
[2026-07-08 07:32:07] local.INFO: Packet analysis {"connection_id":125204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f74"} 
[2026-07-08 07:32:07] local.INFO: Extracted packet for processing {"connection_id":125204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f74"} 
[2026-07-08 07:32:07] local.INFO: GPS Element Parsed {"raw_longitude":765120000,"raw_latitude":91381656,"longitude_deg":76.512,"latitude_deg":9.1381656,"altitude":13,"angle":358,"satellites":49,"speed":49,"hex_longitude":"2d9ace00","hex_latitude":"05725f98","is_valid_coordinates":true} 
[2026-07-08 07:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569863424001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342285906826231808,"note":"Value kept but may cause issues"} 
[2026-07-08 07:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7291257404577404928,"note":"Value kept but may cause issues"} 
[2026-07-08 07:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783476037000,"timestamp_ms":1783476037000,"timestamp_seconds":1783476037,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f74a588"} 
[2026-07-08 07:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 07:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569863424001,"66":27691,"162":206,"85":15872,"24":49,"16":342285906826231808,"45":-7291257404577404928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-07-08 07:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569863424001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:32:07] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-07-08 07:32:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 07:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342285906826231808,"km_value":342285906826231.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7291257404577404928,"description":"Unknown IO ID 45"} 
[2026-07-08 07:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569863424001,"power":27691,"unknown_162":206,"unknown_85":15872,"ignition":49,"odometer":null,"unknown_45":-7291257404577404928}} 
[2026-07-08 07:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":125204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:32:07] local.INFO: GPS data processed {"connection_id":125204,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:32:07] local.INFO: Acknowledgment sent {"connection_id":125204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:32:26] local.INFO: TCP Data received {"connection_id":125936,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f74e408012d82828005d8e478000b01632c..."} 
[2026-07-08 07:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f74e408012d82828005d8e478000b01632c..."} 
[2026-07-08 07:32:26] local.INFO: Processing buffer {"connection_id":125936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f74e408012d82828005d8e478000b01632c..."} 
[2026-07-08 07:32:26] local.INFO: Packet analysis {"connection_id":125936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f74"} 
[2026-07-08 07:32:26] local.INFO: Extracted packet for processing {"connection_id":125936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f74"} 
[2026-07-08 07:32:26] local.INFO: GPS Element Parsed {"raw_longitude":763527808,"raw_latitude":98100344,"longitude_deg":76.3527808,"latitude_deg":9.8100344,"altitude":11,"angle":355,"satellites":44,"speed":47,"hex_longitude":"2d828280","hex_latitude":"05d8e478","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569867520001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103558679483121664,"note":"Value kept but may cause issues"} 
[2026-07-08 07:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041820651765239808,"note":"Value kept but may cause issues"} 
[2026-07-08 07:32:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783476053000,"timestamp_ms":1783476053000,"timestamp_seconds":1783476053,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f74e408"} 
[2026-07-08 07:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:32:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":46,"data_length":795,"current_offset":136} 
[2026-07-08 07:32:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":125936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":125936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":125936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569867520001,"66":13254,"47":206,"85":15104,"24":47,"16":103558679483121664,"45":-9041820651765239808},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-08 07:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569867520001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:32:26] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-08 07:32:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103558679483121664,"km_value":103558679483121.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041820651765239808,"description":"Unknown IO ID 45"} 
[2026-07-08 07:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569867520001,"power":13254,"unknown_47":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":-9041820651765239808}} 
[2026-07-08 07:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":125936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449534,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:32:26] local.INFO: GPS data processed {"connection_id":125936,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:32:26] local.INFO: Acknowledgment sent {"connection_id":125936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:32:38] local.INFO: TCP Data received {"connection_id":125204,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f74c4c8012d9acec0057282a8000c000133..."} 
[2026-07-08 07:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f74c4c8012d9acec0057282a8000c000133..."} 
[2026-07-08 07:32:38] local.INFO: Processing buffer {"connection_id":125204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f74c4c8012d9acec0057282a8000c000133..."} 
[2026-07-08 07:32:38] local.INFO: Packet analysis {"connection_id":125204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f74"} 
[2026-07-08 07:32:38] local.INFO: Extracted packet for processing {"connection_id":125204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f74"} 
[2026-07-08 07:32:38] local.INFO: GPS Element Parsed {"raw_longitude":765120192,"raw_latitude":91390632,"longitude_deg":76.5120192,"latitude_deg":9.1390632,"altitude":12,"angle":1,"satellites":51,"speed":37,"hex_longitude":"2d9acec0","hex_latitude":"057282a8","is_valid_coordinates":true} 
[2026-07-08 07:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569865472001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342286344912896000,"note":"Value kept but may cause issues"} 
[2026-07-08 07:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7291890723272550400,"note":"Value kept but may cause issues"} 
[2026-07-08 07:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783476045000,"timestamp_ms":1783476045000,"timestamp_seconds":1783476045,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f74c4c8"} 
[2026-07-08 07:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 07:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569865472001,"66":27626,"162":206,"85":15872,"24":37,"16":342286344912896000,"45":-7291890723272550400},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-07-08 07:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569865472001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:32:38] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-07-08 07:32:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 07:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342286344912896000,"km_value":342286344912896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7291890723272550400,"description":"Unknown IO ID 45"} 
[2026-07-08 07:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569865472001,"power":27626,"unknown_162":206,"unknown_85":15872,"ignition":37,"odometer":null,"unknown_45":-7291890723272550400}} 
[2026-07-08 07:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":125204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:32:38] local.INFO: GPS data processed {"connection_id":125204,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:32:38] local.INFO: Acknowledgment sent {"connection_id":125204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:32:47] local.INFO: TCP Data received {"connection_id":125205,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125205,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:32:47] local.INFO: Processing buffer {"connection_id":125205,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:32:47] local.INFO: IMEI packet received {"connection_id":125205,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":125205,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:32:52] local.INFO: TCP Data received {"connection_id":125205,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125205,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:32:52] local.INFO: Processing buffer {"connection_id":125205,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:32:52] local.INFO: IMEI packet received {"connection_id":125205,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":125205,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:32:55] local.INFO: TCP Data received {"connection_id":127200,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:32:55] local.INFO: Processing buffer {"connection_id":127200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:32:55] local.INFO: IMEI packet received {"connection_id":127200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":127200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:32:56] local.INFO: TCP Data received {"connection_id":127200,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:32:56] local.INFO: Processing buffer {"connection_id":127200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:32:56] local.INFO: IMEI packet received {"connection_id":127200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":127200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:33:01] local.INFO: TCP Data received {"connection_id":125205,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f763bc8012d822e4005da60a0000801552c..."} 
[2026-07-08 07:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f763bc8012d822e4005da60a0000801552c..."} 
[2026-07-08 07:33:01] local.INFO: Processing buffer {"connection_id":125205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f763bc8012d822e4005da60a0000801552c..."} 
[2026-07-08 07:33:01] local.INFO: Packet analysis {"connection_id":125205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f76"} 
[2026-07-08 07:33:01] local.INFO: Extracted packet for processing {"connection_id":125205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f76"} 
[2026-07-08 07:33:01] local.INFO: GPS Element Parsed {"raw_longitude":763506240,"raw_latitude":98197664,"longitude_deg":76.350624,"latitude_deg":9.8197664,"altitude":8,"angle":341,"satellites":44,"speed":55,"hex_longitude":"2d822e40","hex_latitude":"05da60a0","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569890304001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103563537091133440,"note":"Value kept but may cause issues"} 
[2026-07-08 07:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9063916437411985408,"note":"Value kept but may cause issues"} 
[2026-07-08 07:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783476141000,"timestamp_ms":1783476141000,"timestamp_seconds":1783476141,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f763bc8"} 
[2026-07-08 07:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-08 07:33:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569890304001,"66":12178,"71":206,"85":15104,"24":55,"16":103563537091133440,"45":-9063916437411985408},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-08 07:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569890304001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:33:01] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-08 07:33:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103563537091133440,"km_value":103563537091133.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9063916437411985408,"description":"Unknown IO ID 45"} 
[2026-07-08 07:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569890304001,"power":12178,"unknown_71":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":-9063916437411985408}} 
[2026-07-08 07:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":125205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449536,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:33:01] local.INFO: GPS data processed {"connection_id":125205,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:33:01] local.INFO: Acknowledgment sent {"connection_id":125205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:33:02] local.INFO: TCP Data received {"connection_id":127200,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:33:02] local.INFO: Processing buffer {"connection_id":127200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:33:02] local.INFO: IMEI packet received {"connection_id":127200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":127200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:33:02] local.INFO: TCP Data received {"connection_id":127200,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f74d468012d9ad04005728ff0000c000e31..."} 
[2026-07-08 07:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f74d468012d9ad04005728ff0000c000e31..."} 
[2026-07-08 07:33:02] local.INFO: Processing buffer {"connection_id":127200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f74d468012d9ad04005728ff0000c000e31..."} 
[2026-07-08 07:33:02] local.INFO: Packet analysis {"connection_id":127200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f74"} 
[2026-07-08 07:33:02] local.INFO: Extracted packet for processing {"connection_id":127200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f74"} 
[2026-07-08 07:33:02] local.INFO: GPS Element Parsed {"raw_longitude":765120576,"raw_latitude":91394032,"longitude_deg":76.5120576,"latitude_deg":9.1394032,"altitude":12,"angle":14,"satellites":49,"speed":31,"hex_longitude":"2d9ad040","hex_latitude":"05728ff0","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569867520001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342286508121653248,"note":"Value kept but may cause issues"} 
[2026-07-08 07:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7291679617037719552,"note":"Value kept but may cause issues"} 
[2026-07-08 07:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783476049000,"timestamp_ms":1783476049000,"timestamp_seconds":1783476049,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f74d468"} 
[2026-07-08 07:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07: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-07-08 07: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-08 07:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569867520001,"66":27593,"162":206,"85":15872,"24":31,"16":342286508121653248,"45":-7291679617037719552},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-07-08 07:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569867520001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:33:02] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-07-08 07:33:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 07:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342286508121653248,"km_value":342286508121653.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7291679617037719552,"description":"Unknown IO ID 45"} 
[2026-07-08 07:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569867520001,"power":27593,"unknown_162":206,"unknown_85":15872,"ignition":31,"odometer":null,"unknown_45":-7291679617037719552}} 
[2026-07-08 07:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":127200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:33:03] local.INFO: GPS data processed {"connection_id":127200,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:33:03] local.INFO: Acknowledgment sent {"connection_id":127200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:33:27] local.INFO: TCP Data received {"connection_id":125937,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125937,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:33:27] local.INFO: Processing buffer {"connection_id":125937,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:33:27] local.INFO: IMEI packet received {"connection_id":125937,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 07:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":125937,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:33:32] local.INFO: TCP Data received {"connection_id":125205,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f771e58012d81660005da85900005012e2c..."} 
[2026-07-08 07:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f771e58012d81660005da85900005012e2c..."} 
[2026-07-08 07:33:32] local.INFO: Processing buffer {"connection_id":125205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f771e58012d81660005da85900005012e2c..."} 
[2026-07-08 07:33:32] local.INFO: Packet analysis {"connection_id":125205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f77"} 
[2026-07-08 07:33:32] local.INFO: Extracted packet for processing {"connection_id":125205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f77"} 
[2026-07-08 07:33:32] local.INFO: GPS Element Parsed {"raw_longitude":763454976,"raw_latitude":98207120,"longitude_deg":76.3454976,"latitude_deg":9.820712,"altitude":5,"angle":302,"satellites":44,"speed":27,"hex_longitude":"2d816600","hex_latitude":"05da8590","is_valid_coordinates":true} 
[2026-07-08 07:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569906432001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103566474848763904,"note":"Value kept but may cause issues"} 
[2026-07-08 07:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9121196595167930368,"note":"Value kept but may cause issues"} 
[2026-07-08 07:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783476199000,"timestamp_ms":1783476199000,"timestamp_seconds":1783476199,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f771e58"} 
[2026-07-08 07:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:33: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-07-08 07:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-08 07:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569906432001,"66":12982,"71":206,"85":15104,"24":27,"16":103566474848763904,"45":-9121196595167930368},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-08 07:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569906432001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:33:32] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-08 07:33:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103566474848763904,"km_value":103566474848763.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9121196595167930368,"description":"Unknown IO ID 45"} 
[2026-07-08 07:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569906432001,"power":12982,"unknown_71":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9121196595167930368}} 
[2026-07-08 07:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":125205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449538,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:33:32] local.INFO: GPS data processed {"connection_id":125205,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:33:32] local.INFO: Acknowledgment sent {"connection_id":125205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:33:33] local.INFO: TCP Data received {"connection_id":127200,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f768dd0012d9af940057418d0000c01652a..."} 
[2026-07-08 07:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f768dd0012d9af940057418d0000c01652a..."} 
[2026-07-08 07:33:33] local.INFO: Processing buffer {"connection_id":127200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f768dd0012d9af940057418d0000c01652a..."} 
[2026-07-08 07:33:33] local.INFO: Packet analysis {"connection_id":127200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f76"} 
[2026-07-08 07:33:33] local.INFO: Extracted packet for processing {"connection_id":127200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f76"} 
[2026-07-08 07:33:33] local.INFO: GPS Element Parsed {"raw_longitude":765131072,"raw_latitude":91494608,"longitude_deg":76.5131072,"latitude_deg":9.1494608,"altitude":12,"angle":357,"satellites":42,"speed":12,"hex_longitude":"2d9af940","hex_latitude":"057418d0","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569896448001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342291451629010944,"note":"Value kept but may cause issues"} 
[2026-07-08 07:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7279716930501206016,"note":"Value kept but may cause issues"} 
[2026-07-08 07:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783476162000,"timestamp_ms":1783476162000,"timestamp_seconds":1783476162,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f768dd0"} 
[2026-07-08 07:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-08 07:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569896448001,"66":27669,"161":206,"85":15872,"24":12,"16":342291451629010944,"45":-7279716930501206016},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-07-08 07:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569896448001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:33:33] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-08 07:33:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 07:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342291451629010944,"km_value":342291451629010.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7279716930501206016,"description":"Unknown IO ID 45"} 
[2026-07-08 07:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569896448001,"power":27669,"unknown_161":206,"unknown_85":15872,"ignition":12,"odometer":null,"unknown_45":-7279716930501206016}} 
[2026-07-08 07:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":127200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:33:33] local.INFO: GPS data processed {"connection_id":127200,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:33:33] local.INFO: Acknowledgment sent {"connection_id":127200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:33:48] local.INFO: TCP Data received {"connection_id":125105,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125105,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:33:48] local.INFO: Processing buffer {"connection_id":125105,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:33:48] local.INFO: IMEI packet received {"connection_id":125105,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":125105,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:33:51] local.INFO: TCP Data received {"connection_id":125105,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125105,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:33:51] local.INFO: Processing buffer {"connection_id":125105,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:33:51] local.INFO: IMEI packet received {"connection_id":125105,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":125105,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:33:52] local.INFO: TCP Data received {"connection_id":125105,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125105,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:33:52] local.INFO: Processing buffer {"connection_id":125105,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:33:52] local.INFO: IMEI packet received {"connection_id":125105,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":125105,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:33:56] local.INFO: TCP Data received {"connection_id":125105,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125105,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:33:56] local.INFO: Processing buffer {"connection_id":125105,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:33:56] local.INFO: IMEI packet received {"connection_id":125105,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":125105,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:33:56] local.INFO: TCP Data received {"connection_id":125105,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f772628012d81630005da89e0000501482b..."} 
[2026-07-08 07:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f772628012d81630005da89e0000501482b..."} 
[2026-07-08 07:33:56] local.INFO: Processing buffer {"connection_id":125105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f772628012d81630005da89e0000501482b..."} 
[2026-07-08 07:33:56] local.INFO: Packet analysis {"connection_id":125105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f77"} 
[2026-07-08 07:33:56] local.INFO: Extracted packet for processing {"connection_id":125105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f77"} 
[2026-07-08 07:33:56] local.INFO: GPS Element Parsed {"raw_longitude":763454208,"raw_latitude":98208224,"longitude_deg":76.3454208,"latitude_deg":9.8208224,"altitude":5,"angle":328,"satellites":43,"speed":25,"hex_longitude":"2d816300","hex_latitude":"05da89e0","is_valid_coordinates":true} 
[2026-07-08 07:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569906944001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103566543568240640,"note":"Value kept but may cause issues"} 
[2026-07-08 07:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9122603970051338240,"note":"Value kept but may cause issues"} 
[2026-07-08 07:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783476201000,"timestamp_ms":1783476201000,"timestamp_seconds":1783476201,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f772628"} 
[2026-07-08 07:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-08 07:33:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:33:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":125105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":125105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":125105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569906944001,"66":12841,"71":206,"85":15104,"24":25,"16":103566543568240640,"45":-9122603970051338240},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-08 07:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569906944001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:33:57] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-08 07:33:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103566543568240640,"km_value":103566543568240.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9122603970051338240,"description":"Unknown IO ID 45"} 
[2026-07-08 07:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569906944001,"power":12841,"unknown_71":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9122603970051338240}} 
[2026-07-08 07:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":125105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449540,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:33:57] local.INFO: GPS data processed {"connection_id":125105,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:33:57] local.INFO: Acknowledgment sent {"connection_id":125105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:33:57] local.INFO: TCP Data received {"connection_id":125206,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125206,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:33:57] local.INFO: Processing buffer {"connection_id":125206,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:33:57] local.INFO: IMEI packet received {"connection_id":125206,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 07:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":125206,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:33:57] local.INFO: TCP Data received {"connection_id":125106,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:33:57] local.INFO: Processing buffer {"connection_id":125106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:33:57] local.INFO: IMEI packet received {"connection_id":125106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":125106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:33:57] local.INFO: TCP Data received {"connection_id":125105,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f772a10012d81628005da8cf0000501552a..."} 
[2026-07-08 07:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f772a10012d81628005da8cf0000501552a..."} 
[2026-07-08 07:33:57] local.INFO: Processing buffer {"connection_id":125105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f772a10012d81628005da8cf0000501552a..."} 
[2026-07-08 07:33:57] local.INFO: Packet analysis {"connection_id":125105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f77"} 
[2026-07-08 07:33:57] local.INFO: Extracted packet for processing {"connection_id":125105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f77"} 
[2026-07-08 07:33:57] local.INFO: GPS Element Parsed {"raw_longitude":763454080,"raw_latitude":98209008,"longitude_deg":76.345408,"latitude_deg":9.8209008,"altitude":5,"angle":341,"satellites":42,"speed":28,"hex_longitude":"2d816280","hex_latitude":"05da8cf0","is_valid_coordinates":true} 
[2026-07-08 07:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569907456001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103566582222946304,"note":"Value kept but may cause issues"} 
[2026-07-08 07:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9123448394981187584,"note":"Value kept but may cause issues"} 
[2026-07-08 07:33:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783476202000,"timestamp_ms":1783476202000,"timestamp_seconds":1783476202,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f772a10"} 
[2026-07-08 07:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:33:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-08 07:33:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:33:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":125105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":125105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":125105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:33:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569907456001,"66":12841,"71":206,"85":15104,"24":28,"16":103566582222946304,"45":-9123448394981187584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-08 07:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569907456001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:33:57] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-08 07:33:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103566582222946304,"km_value":103566582222946.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9123448394981187584,"description":"Unknown IO ID 45"} 
[2026-07-08 07:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569907456001,"power":12841,"unknown_71":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9123448394981187584}} 
[2026-07-08 07:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":125105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449541,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:33:58] local.INFO: GPS data processed {"connection_id":125105,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:33:58] local.INFO: Acknowledgment sent {"connection_id":125105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:34:01] local.INFO: TCP Data received {"connection_id":125106,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:34:01] local.INFO: Processing buffer {"connection_id":125106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:34:01] local.INFO: IMEI packet received {"connection_id":125106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":125106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:34:02] local.INFO: TCP Data received {"connection_id":125106,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f7695a0012d9af84005741bf8000e01542f..."} 
[2026-07-08 07:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f7695a0012d9af84005741bf8000e01542f..."} 
[2026-07-08 07:34:02] local.INFO: Processing buffer {"connection_id":125106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f7695a0012d9af84005741bf8000e01542f..."} 
[2026-07-08 07:34:02] local.INFO: Packet analysis {"connection_id":125106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f76"} 
[2026-07-08 07:34:02] local.INFO: Extracted packet for processing {"connection_id":125106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f76"} 
[2026-07-08 07:34:02] local.INFO: GPS Element Parsed {"raw_longitude":765130816,"raw_latitude":91495416,"longitude_deg":76.5130816,"latitude_deg":9.1495416,"altitude":14,"angle":340,"satellites":47,"speed":18,"hex_longitude":"2d9af840","hex_latitude":"05741bf8","is_valid_coordinates":true} 
[2026-07-08 07:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569897472001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342291490283716608,"note":"Value kept but may cause issues"} 
[2026-07-08 07:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7279716930500898816,"note":"Value kept but may cause issues"} 
[2026-07-08 07:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783476164000,"timestamp_ms":1783476164000,"timestamp_seconds":1783476164,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f7695a0"} 
[2026-07-08 07:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:34:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-07-08 07:34:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":927,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:34:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569897472001,"66":26810,"161":206,"85":15872,"24":18,"16":342291490283716608,"45":-7279716930500898816},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-07-08 07:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569897472001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:34:02] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-08 07:34:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 07:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342291490283716608,"km_value":342291490283716.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7279716930500898816,"description":"Unknown IO ID 45"} 
[2026-07-08 07:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569897472001,"power":26810,"unknown_161":206,"unknown_85":15872,"ignition":18,"odometer":null,"unknown_45":-7279716930500898816}} 
[2026-07-08 07:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":125106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:34:02] local.INFO: GPS data processed {"connection_id":125106,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:34:02] local.INFO: Acknowledgment sent {"connection_id":125106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:34:33] local.INFO: TCP Data received {"connection_id":125106,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f76a928012d9af480057426700011016430..."} 
[2026-07-08 07:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f76a928012d9af480057426700011016430..."} 
[2026-07-08 07:34:33] local.INFO: Processing buffer {"connection_id":125106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f76a928012d9af480057426700011016430..."} 
[2026-07-08 07:34:33] local.INFO: Packet analysis {"connection_id":125106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f76"} 
[2026-07-08 07:34:33] local.INFO: Extracted packet for processing {"connection_id":125106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f76"} 
[2026-07-08 07:34:33] local.INFO: GPS Element Parsed {"raw_longitude":765129856,"raw_latitude":91498096,"longitude_deg":76.5129856,"latitude_deg":9.1498096,"altitude":17,"angle":356,"satellites":48,"speed":27,"hex_longitude":"2d9af480","hex_latitude":"05742670","is_valid_coordinates":true} 
[2026-07-08 07:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569897984001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342291632017637376,"note":"Value kept but may cause issues"} 
[2026-07-08 07:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7279998405477402624,"note":"Value kept but may cause issues"} 
[2026-07-08 07:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783476169000,"timestamp_ms":1783476169000,"timestamp_seconds":1783476169,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f76a928"} 
[2026-07-08 07:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-07-08 07:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2392,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569897984001,"66":27571,"161":206,"85":15872,"24":27,"16":342291632017637376,"45":-7279998405477402624},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-07-08 07:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569897984001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:34:33] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-08 07:34:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 07:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342291632017637376,"km_value":342291632017637.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7279998405477402624,"description":"Unknown IO ID 45"} 
[2026-07-08 07:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569897984001,"power":27571,"unknown_161":206,"unknown_85":15872,"ignition":27,"odometer":null,"unknown_45":-7279998405477402624}} 
[2026-07-08 07:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":125106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:34:33] local.INFO: GPS data processed {"connection_id":125106,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:34:33] local.INFO: Acknowledgment sent {"connection_id":125106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:34:34] local.INFO: TCP Data received {"connection_id":125105,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f775120012d8156c005dab208000601532a..."} 
[2026-07-08 07:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f775120012d8156c005dab208000601532a..."} 
[2026-07-08 07:34:34] local.INFO: Processing buffer {"connection_id":125105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f775120012d8156c005dab208000601532a..."} 
[2026-07-08 07:34:34] local.INFO: Packet analysis {"connection_id":125105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f77"} 
[2026-07-08 07:34:34] local.INFO: Extracted packet for processing {"connection_id":125105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f77"} 
[2026-07-08 07:34:34] local.INFO: GPS Element Parsed {"raw_longitude":763451072,"raw_latitude":98218504,"longitude_deg":76.3451072,"latitude_deg":9.8218504,"altitude":6,"angle":339,"satellites":42,"speed":46,"hex_longitude":"2d8156c0","hex_latitude":"05dab208","is_valid_coordinates":true} 
[2026-07-08 07:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569907712001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103567063259283456,"note":"Value kept but may cause issues"} 
[2026-07-08 07:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9123589132469342208,"note":"Value kept but may cause issues"} 
[2026-07-08 07:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783476212000,"timestamp_ms":1783476212000,"timestamp_seconds":1783476212,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f775120"} 
[2026-07-08 07:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-08 07:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569907712001,"66":13091,"71":206,"85":15104,"24":46,"16":103567063259283456,"45":-9123589132469342208},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-08 07:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569907712001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:34:34] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-08 07:34:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103567063259283456,"km_value":103567063259283.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9123589132469342208,"description":"Unknown IO ID 45"} 
[2026-07-08 07:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569907712001,"power":13091,"unknown_71":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":-9123589132469342208}} 
[2026-07-08 07:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":125105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449544,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:34:34] local.INFO: GPS data processed {"connection_id":125105,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:34:34] local.INFO: Acknowledgment sent {"connection_id":125105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:34:44] local.INFO: TCP Data received {"connection_id":125107,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125107,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:34:44] local.INFO: Processing buffer {"connection_id":125107,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:34:44] local.INFO: IMEI packet received {"connection_id":125107,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":125107,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:34:47] local.INFO: TCP Data received {"connection_id":125107,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125107,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:34:47] local.INFO: Processing buffer {"connection_id":125107,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:34:47] local.INFO: IMEI packet received {"connection_id":125107,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":125107,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:34:52] local.INFO: TCP Data received {"connection_id":125107,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125107,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:34:52] local.INFO: Processing buffer {"connection_id":125107,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:34:52] local.INFO: IMEI packet received {"connection_id":125107,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":125107,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:34:52] local.INFO: TCP Data received {"connection_id":125107,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f784b20012d80e98005db99b0000501472c..."} 
[2026-07-08 07:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f784b20012d80e98005db99b0000501472c..."} 
[2026-07-08 07:34:52] local.INFO: Processing buffer {"connection_id":125107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f784b20012d80e98005db99b0000501472c..."} 
[2026-07-08 07:34:52] local.INFO: Packet analysis {"connection_id":125107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f78"} 
[2026-07-08 07:34:52] local.INFO: Extracted packet for processing {"connection_id":125107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f78"} 
[2026-07-08 07:34:52] local.INFO: GPS Element Parsed {"raw_longitude":763423104,"raw_latitude":98277808,"longitude_deg":76.3423104,"latitude_deg":9.8277808,"altitude":5,"angle":327,"satellites":44,"speed":54,"hex_longitude":"2d80e980","hex_latitude":"05db99b0","is_valid_coordinates":true} 
[2026-07-08 07:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569926656001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103570280189788160,"note":"Value kept but may cause issues"} 
[2026-07-08 07:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9157647604633718784,"note":"Value kept but may cause issues"} 
[2026-07-08 07:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783476276000,"timestamp_ms":1783476276000,"timestamp_seconds":1783476276,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f784b20"} 
[2026-07-08 07:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-08 07:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:34:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":125107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":125107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":125107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569926656001,"66":13559,"153":206,"85":15104,"24":54,"16":103570280189788160,"45":-9157647604633718784},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-07-08 07:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569926656001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:34:52] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-08 07:34:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103570280189788160,"km_value":103570280189788.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9157647604633718784,"description":"Unknown IO ID 45"} 
[2026-07-08 07:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569926656001,"power":13559,"unknown_153":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":-9157647604633718784}} 
[2026-07-08 07:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":125107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449545,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:34:52] local.INFO: GPS data processed {"connection_id":125107,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:34:52] local.INFO: Acknowledgment sent {"connection_id":125107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:35:02] local.INFO: TCP Data received {"connection_id":125109,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:35:02] local.INFO: Processing buffer {"connection_id":125109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:35:02] local.INFO: IMEI packet received {"connection_id":125109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":125109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:35:05] local.INFO: TCP Data received {"connection_id":125109,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:35:05] local.INFO: Processing buffer {"connection_id":125109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:35:05] local.INFO: IMEI packet received {"connection_id":125109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":125109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:35:05] local.INFO: TCP Data received {"connection_id":125109,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f77ba98012d9a85000574cbe0000c014232..."} 
[2026-07-08 07:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f77ba98012d9a85000574cbe0000c014232..."} 
[2026-07-08 07:35:05] local.INFO: Processing buffer {"connection_id":125109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f77ba98012d9a85000574cbe0000c014232..."} 
[2026-07-08 07:35:05] local.INFO: Packet analysis {"connection_id":125109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f77"} 
[2026-07-08 07:35:05] local.INFO: Extracted packet for processing {"connection_id":125109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f77"} 
[2026-07-08 07:35:05] local.INFO: GPS Element Parsed {"raw_longitude":765101312,"raw_latitude":91540448,"longitude_deg":76.5101312,"latitude_deg":9.1540448,"altitude":12,"angle":322,"satellites":50,"speed":40,"hex_longitude":"2d9a8500","hex_latitude":"0574cbe0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 07:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569914624001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342294299192328192,"note":"Value kept but may cause issues"} 
[2026-07-08 07:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7305753365836474368,"note":"Value kept but may cause issues"} 
[2026-07-08 07:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783476239000,"timestamp_ms":1783476239000,"timestamp_seconds":1783476239,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f77ba98"} 
[2026-07-08 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-07-08 07:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 07:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 07:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569914624001,"66":27745,"150":206,"85":15872,"24":40,"16":342294299192328192,"45":-7305753365836474368},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,85,24,16,45]} 
[2026-07-08 07:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569914624001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:35:05] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-07-08 07:35:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 07:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342294299192328192,"km_value":342294299192328.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7305753365836474368,"description":"Unknown IO ID 45"} 
[2026-07-08 07:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569914624001,"power":27745,"unknown_150":206,"unknown_85":15872,"ignition":40,"odometer":null,"unknown_45":-7305753365836474368}} 
[2026-07-08 07:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":125109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:35:05] local.INFO: GPS data processed {"connection_id":125109,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:35:05] local.INFO: Acknowledgment sent {"connection_id":125109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:35:23] local.INFO: TCP Data received {"connection_id":125107,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f786678012d80d28005dbbac0000701472c..."} 
[2026-07-08 07:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f786678012d80d28005dbbac0000701472c..."} 
[2026-07-08 07:35:23] local.INFO: Processing buffer {"connection_id":125107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f786678012d80d28005dbbac0000701472c..."} 
[2026-07-08 07:35:23] local.INFO: Packet analysis {"connection_id":125107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f78"} 
[2026-07-08 07:35:23] local.INFO: Extracted packet for processing {"connection_id":125107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f78"} 
[2026-07-08 07:35:23] local.INFO: GPS Element Parsed {"raw_longitude":763417216,"raw_latitude":98286272,"longitude_deg":76.3417216,"latitude_deg":9.8286272,"altitude":7,"angle":327,"satellites":44,"speed":58,"hex_longitude":"2d80d280","hex_latitude":"05dbbac0","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569926656001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103570778405994496,"note":"Value kept but may cause issues"} 
[2026-07-08 07:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9157647604633718784,"note":"Value kept but may cause issues"} 
[2026-07-08 07:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783476283000,"timestamp_ms":1783476283000,"timestamp_seconds":1783476283,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f786678"} 
[2026-07-08 07:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:35:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-08 07:35:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":125107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":125107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":125107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:35:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569926656001,"66":13243,"154":206,"85":15104,"24":58,"16":103570778405994496,"45":-9157647604633718784},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-07-08 07:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569926656001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:35:23] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-08 07:35:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103570778405994496,"km_value":103570778405994.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9157647604633718784,"description":"Unknown IO ID 45"} 
[2026-07-08 07:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569926656001,"power":13243,"unknown_154":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":-9157647604633718784}} 
[2026-07-08 07:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":125107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449547,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:35:23] local.INFO: GPS data processed {"connection_id":125107,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:35:23] local.INFO: Acknowledgment sent {"connection_id":125107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:35:37] local.INFO: TCP Data received {"connection_id":125109,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f77ce20012d9a7a800574dde0000d014e32..."} 
[2026-07-08 07:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f77ce20012d9a7a800574dde0000d014e32..."} 
[2026-07-08 07:35:37] local.INFO: Processing buffer {"connection_id":125109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f77ce20012d9a7a800574dde0000d014e32..."} 
[2026-07-08 07:35:37] local.INFO: Packet analysis {"connection_id":125109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f77"} 
[2026-07-08 07:35:37] local.INFO: Extracted packet for processing {"connection_id":125109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f77"} 
[2026-07-08 07:35:37] local.INFO: GPS Element Parsed {"raw_longitude":765098624,"raw_latitude":91545056,"longitude_deg":76.5098624,"latitude_deg":9.1545056,"altitude":13,"angle":334,"satellites":50,"speed":44,"hex_longitude":"2d9a7a80","hex_latitude":"0574dde0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 07:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569917184001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342294556890365952,"note":"Value kept but may cause issues"} 
[2026-07-08 07:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7312438396531777536,"note":"Value kept but may cause issues"} 
[2026-07-08 07:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783476244000,"timestamp_ms":1783476244000,"timestamp_seconds":1783476244,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f77ce20"} 
[2026-07-08 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-07-08 07:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 07:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 07:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569917184001,"66":27745,"150":206,"85":15872,"24":44,"16":342294556890365952,"45":-7312438396531777536},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,85,24,16,45]} 
[2026-07-08 07:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569917184001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:35:37] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-07-08 07:35:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 07:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342294556890365952,"km_value":342294556890365.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7312438396531777536,"description":"Unknown IO ID 45"} 
[2026-07-08 07:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569917184001,"power":27745,"unknown_150":206,"unknown_85":15872,"ignition":44,"odometer":null,"unknown_45":-7312438396531777536}} 
[2026-07-08 07:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":125109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:35:37] local.INFO: GPS data processed {"connection_id":125109,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:35:37] local.INFO: Acknowledgment sent {"connection_id":125109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:35:47] local.INFO: TCP Data received {"connection_id":125110,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125110,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:35:47] local.INFO: Processing buffer {"connection_id":125110,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:35:47] local.INFO: IMEI packet received {"connection_id":125110,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":125110,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:35:52] local.INFO: TCP Data received {"connection_id":125110,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125110,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:35:52] local.INFO: Processing buffer {"connection_id":125110,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:35:52] local.INFO: IMEI packet received {"connection_id":125110,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":125110,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:35:53] local.INFO: TCP Data received {"connection_id":125110,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f7881d0012d80c18005dbdad8000701512d..."} 
[2026-07-08 07:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f7881d0012d80c18005dbdad8000701512d..."} 
[2026-07-08 07:35:53] local.INFO: Processing buffer {"connection_id":125110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f7881d0012d80c18005dbdad8000701512d..."} 
[2026-07-08 07:35:53] local.INFO: Packet analysis {"connection_id":125110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f78"} 
[2026-07-08 07:35:53] local.INFO: Extracted packet for processing {"connection_id":125110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f78"} 
[2026-07-08 07:35:53] local.INFO: GPS Element Parsed {"raw_longitude":763412864,"raw_latitude":98294488,"longitude_deg":76.3412864,"latitude_deg":9.8294488,"altitude":7,"angle":337,"satellites":45,"speed":51,"hex_longitude":"2d80c180","hex_latitude":"05dbdad8","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569928448001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103571229377560576,"note":"Value kept but may cause issues"} 
[2026-07-08 07:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9164121529095897088,"note":"Value kept but may cause issues"} 
[2026-07-08 07:35:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783476290000,"timestamp_ms":1783476290000,"timestamp_seconds":1783476290,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f7881d0"} 
[2026-07-08 07:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:35: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-07-08 07: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-08 07:35:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:35:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569928448001,"66":13222,"154":206,"85":15104,"24":51,"16":103571229377560576,"45":-9164121529095897088},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-07-08 07:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569928448001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:35:53] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-08 07:35:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103571229377560576,"km_value":103571229377560.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9164121529095897088,"description":"Unknown IO ID 45"} 
[2026-07-08 07:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569928448001,"power":13222,"unknown_154":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":-9164121529095897088}} 
[2026-07-08 07:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":125110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449549,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:35:53] local.INFO: GPS data processed {"connection_id":125110,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:35:53] local.INFO: Acknowledgment sent {"connection_id":125110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:35:57] local.INFO: TCP Data received {"connection_id":125111,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:35:57] local.INFO: Processing buffer {"connection_id":125111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:35:57] local.INFO: IMEI packet received {"connection_id":125111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":125111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:36:01] local.INFO: TCP Data received {"connection_id":125111,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:36:01] local.INFO: Processing buffer {"connection_id":125111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:36:01] local.INFO: IMEI packet received {"connection_id":125111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":125111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:36:02] local.INFO: TCP Data received {"connection_id":125111,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f77ed60012d9a6d0005750160000d015530..."} 
[2026-07-08 07:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f77ed60012d9a6d0005750160000d015530..."} 
[2026-07-08 07:36:02] local.INFO: Processing buffer {"connection_id":125111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f77ed60012d9a6d0005750160000d015530..."} 
[2026-07-08 07:36:02] local.INFO: Packet analysis {"connection_id":125111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f77"} 
[2026-07-08 07:36:02] local.INFO: Extracted packet for processing {"connection_id":125111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f77"} 
[2026-07-08 07:36:02] local.INFO: GPS Element Parsed {"raw_longitude":765095168,"raw_latitude":91554144,"longitude_deg":76.5095168,"latitude_deg":9.1554144,"altitude":13,"angle":341,"satellites":48,"speed":52,"hex_longitude":"2d9a6d00","hex_latitude":"05750160","is_valid_coordinates":true} 
[2026-07-08 07:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569918464001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342295029336768512,"note":"Value kept but may cause issues"} 
[2026-07-08 07:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7315393883786059776,"note":"Value kept but may cause issues"} 
[2026-07-08 07:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783476252000,"timestamp_ms":1783476252000,"timestamp_seconds":1783476252,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f77ed60"} 
[2026-07-08 07:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:36: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-07-08 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 07:36:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569918464001,"66":27713,"150":206,"85":15872,"24":52,"16":342295029336768512,"45":-7315393883786059776},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,85,24,16,45]} 
[2026-07-08 07:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569918464001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:36:02] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-07-08 07:36:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 07:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342295029336768512,"km_value":342295029336768.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7315393883786059776,"description":"Unknown IO ID 45"} 
[2026-07-08 07:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569918464001,"power":27713,"unknown_150":206,"unknown_85":15872,"ignition":52,"odometer":null,"unknown_45":-7315393883786059776}} 
[2026-07-08 07:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":125111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:36:02] local.INFO: GPS data processed {"connection_id":125111,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:36:02] local.INFO: Acknowledgment sent {"connection_id":125111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:36:24] local.INFO: TCP Data received {"connection_id":125110,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f79ae98012d7feec005dc8eb0000901012c..."} 
[2026-07-08 07:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f79ae98012d7feec005dc8eb0000901012c..."} 
[2026-07-08 07:36:24] local.INFO: Processing buffer {"connection_id":125110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f79ae98012d7feec005dc8eb0000901012c..."} 
[2026-07-08 07:36:24] local.INFO: Packet analysis {"connection_id":125110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f79"} 
[2026-07-08 07:36:24] local.INFO: Extracted packet for processing {"connection_id":125110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f79"} 
[2026-07-08 07:36:24] local.INFO: GPS Element Parsed {"raw_longitude":763358912,"raw_latitude":98340528,"longitude_deg":76.3358912,"latitude_deg":9.8340528,"altitude":9,"angle":257,"satellites":44,"speed":53,"hex_longitude":"2d7feec0","hex_latitude":"05dc8eb0","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569948160001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103575532934791168,"note":"Value kept but may cause issues"} 
[2026-07-08 07:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9217672143400640512,"note":"Value kept but may cause issues"} 
[2026-07-08 07:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783476367000,"timestamp_ms":1783476367000,"timestamp_seconds":1783476367,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f79ae98"} 
[2026-07-08 07:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-08 07:36:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569948160001,"66":13276,"251":206,"85":15104,"24":53,"16":103575532934791168,"45":-9217672143400640512},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-08 07:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569948160001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:36:24] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-08 07:36:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103575532934791168,"km_value":103575532934791.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9217672143400640512,"description":"Unknown IO ID 45"} 
[2026-07-08 07:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569948160001,"power":13276,"unknown_251":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":-9217672143400640512}} 
[2026-07-08 07:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":125110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449551,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:36:24] local.INFO: GPS data processed {"connection_id":125110,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:36:24] local.INFO: Acknowledgment sent {"connection_id":125110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:36:33] local.INFO: TCP Data received {"connection_id":125111,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f7808b8012d9a6140057524e0000c015630..."} 
[2026-07-08 07:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f7808b8012d9a6140057524e0000c015630..."} 
[2026-07-08 07:36:33] local.INFO: Processing buffer {"connection_id":125111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f7808b8012d9a6140057524e0000c015630..."} 
[2026-07-08 07:36:33] local.INFO: Packet analysis {"connection_id":125111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f78"} 
[2026-07-08 07:36:33] local.INFO: Extracted packet for processing {"connection_id":125111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f78"} 
[2026-07-08 07:36:33] local.INFO: GPS Element Parsed {"raw_longitude":765092160,"raw_latitude":91563232,"longitude_deg":76.509216,"latitude_deg":9.1563232,"altitude":12,"angle":342,"satellites":48,"speed":53,"hex_longitude":"2d9a6140","hex_latitude":"057524e0","is_valid_coordinates":true} 
[2026-07-08 07:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569920512001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342295493193236480,"note":"Value kept but may cause issues"} 
[2026-07-08 07:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7319193795969327104,"note":"Value kept but may cause issues"} 
[2026-07-08 07:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783476259000,"timestamp_ms":1783476259000,"timestamp_seconds":1783476259,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f7808b8"} 
[2026-07-08 07:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 07:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:36:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569920512001,"66":27745,"150":206,"85":15872,"24":53,"16":342295493193236480,"45":-7319193795969327104},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,85,24,16,45]} 
[2026-07-08 07:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569920512001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:36:33] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-07-08 07:36:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 07:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342295493193236480,"km_value":342295493193236.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7319193795969327104,"description":"Unknown IO ID 45"} 
[2026-07-08 07:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569920512001,"power":27745,"unknown_150":206,"unknown_85":15872,"ignition":53,"odometer":null,"unknown_45":-7319193795969327104}} 
[2026-07-08 07:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":125111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:36:33] local.INFO: GPS data processed {"connection_id":125111,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:36:33] local.INFO: Acknowledgment sent {"connection_id":125111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:36:56] local.INFO: TCP Data received {"connection_id":125939,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:36:56] local.INFO: Processing buffer {"connection_id":125939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:36:56] local.INFO: IMEI packet received {"connection_id":125939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":125939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:36:59] local.INFO: TCP Data received {"connection_id":125939,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:36:59] local.INFO: Processing buffer {"connection_id":125939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:36:59] local.INFO: IMEI packet received {"connection_id":125939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":125939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:37:01] local.INFO: TCP Data received {"connection_id":125939,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:37:01] local.INFO: Processing buffer {"connection_id":125939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:37:01] local.INFO: IMEI packet received {"connection_id":125939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":125939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:37:02] local.INFO: TCP Data received {"connection_id":125939,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f79ae98012d997440057647b8000b014132..."} 
[2026-07-08 07:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f79ae98012d997440057647b8000b014132..."} 
[2026-07-08 07:37:02] local.INFO: Processing buffer {"connection_id":125939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f79ae98012d997440057647b8000b014132..."} 
[2026-07-08 07:37:02] local.INFO: Packet analysis {"connection_id":125939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f79"} 
[2026-07-08 07:37:02] local.INFO: Extracted packet for processing {"connection_id":125939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f79"} 
[2026-07-08 07:37:02] local.INFO: GPS Element Parsed {"raw_longitude":765031488,"raw_latitude":91637688,"longitude_deg":76.5031488,"latitude_deg":9.1637688,"altitude":11,"angle":321,"satellites":50,"speed":60,"hex_longitude":"2d997440","hex_latitude":"057647b8","is_valid_coordinates":true} 
[2026-07-08 07:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569948416001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342300282081771520,"note":"Value kept but may cause issues"} 
[2026-07-08 07:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7382455296965400576,"note":"Value kept but may cause issues"} 
[2026-07-08 07:37:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783476367000,"timestamp_ms":1783476367000,"timestamp_seconds":1783476367,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f79ae98"} 
[2026-07-08 07:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:37:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 07:37:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:37:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569948416001,"66":27658,"109":206,"85":15872,"24":60,"16":342300282081771520,"45":-7382455296965400576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 07:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569948416001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:37:02] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 07:37:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 07:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342300282081771520,"km_value":342300282081771.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7382455296965400576,"description":"Unknown IO ID 45"} 
[2026-07-08 07:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569948416001,"power":27658,"unknown_109":206,"unknown_85":15872,"ignition":60,"odometer":null,"unknown_45":-7382455296965400576}} 
[2026-07-08 07:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":125939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:37:02] local.INFO: GPS data processed {"connection_id":125939,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:37:02] local.INFO: Acknowledgment sent {"connection_id":125939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:37:22] local.INFO: TCP Data received {"connection_id":125940,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:37:22] local.INFO: Processing buffer {"connection_id":125940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:37:22] local.INFO: IMEI packet received {"connection_id":125940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":125940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:37:23] local.INFO: TCP Data received {"connection_id":125940,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:37:23] local.INFO: Processing buffer {"connection_id":125940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:37:23] local.INFO: IMEI packet received {"connection_id":125940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":125940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:37:29] local.INFO: TCP Data received {"connection_id":125940,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:37:29] local.INFO: Processing buffer {"connection_id":125940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:37:29] local.INFO: IMEI packet received {"connection_id":125940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":125940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:37:31] local.INFO: TCP Data received {"connection_id":125940,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f7aac80012d7f698005dcfc48000901472c..."} 
[2026-07-08 07:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f7aac80012d7f698005dcfc48000901472c..."} 
[2026-07-08 07:37:31] local.INFO: Processing buffer {"connection_id":125940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f7aac80012d7f698005dcfc48000901472c..."} 
[2026-07-08 07:37:31] local.INFO: Packet analysis {"connection_id":125940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f7a"} 
[2026-07-08 07:37:31] local.INFO: Extracted packet for processing {"connection_id":125940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f7a"} 
[2026-07-08 07:37:31] local.INFO: GPS Element Parsed {"raw_longitude":763324800,"raw_latitude":98368584,"longitude_deg":76.33248,"latitude_deg":9.8368584,"altitude":9,"angle":327,"satellites":44,"speed":57,"hex_longitude":"2d7f6980","hex_latitude":"05dcfc48","is_valid_coordinates":true} 
[2026-07-08 07:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569966592001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103578238764187648,"note":"Value kept but may cause issues"} 
[2026-07-08 07:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9181010078042179584,"note":"Value kept but may cause issues"} 
[2026-07-08 07:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783476432000,"timestamp_ms":1783476432000,"timestamp_seconds":1783476432,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f7aac80"} 
[2026-07-08 07:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-08 07:37: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-07-08 07:37:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":125940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":125940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":125940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569966592001,"66":13559,"251":206,"85":15104,"24":57,"16":103578238764187648,"45":9181010078042179584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-08 07:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569966592001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:37:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-08 07:37:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103578238764187648,"km_value":103578238764187.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9181010078042179584,"description":"Unknown IO ID 45"} 
[2026-07-08 07:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569966592001,"power":13559,"unknown_251":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":9181010078042179584}} 
[2026-07-08 07:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":125940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449554,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:37:31] local.INFO: GPS data processed {"connection_id":125940,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:37:31] local.INFO: Acknowledgment sent {"connection_id":125940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:37:37] local.INFO: TCP Data received {"connection_id":125939,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f79c9f0012d995d00057666c0000b014130..."} 
[2026-07-08 07:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f79c9f0012d995d00057666c0000b014130..."} 
[2026-07-08 07:37:37] local.INFO: Processing buffer {"connection_id":125939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f79c9f0012d995d00057666c0000b014130..."} 
[2026-07-08 07:37:37] local.INFO: Packet analysis {"connection_id":125939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f79"} 
[2026-07-08 07:37:37] local.INFO: Extracted packet for processing {"connection_id":125939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f79"} 
[2026-07-08 07:37:37] local.INFO: GPS Element Parsed {"raw_longitude":765025536,"raw_latitude":91645632,"longitude_deg":76.5025536,"latitude_deg":9.1645632,"altitude":11,"angle":321,"satellites":48,"speed":54,"hex_longitude":"2d995d00","hex_latitude":"057666c0","is_valid_coordinates":true} 
[2026-07-08 07:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569949952001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342300763118108672,"note":"Value kept but may cause issues"} 
[2026-07-08 07:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7389210696404715520,"note":"Value kept but may cause issues"} 
[2026-07-08 07:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783476374000,"timestamp_ms":1783476374000,"timestamp_seconds":1783476374,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f79c9f0"} 
[2026-07-08 07:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 07:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569949952001,"66":27691,"60":206,"85":15872,"24":54,"16":342300763118108672,"45":-7389210696404715520},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-08 07:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569949952001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:37:37] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-08 07:37:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 07:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342300763118108672,"km_value":342300763118108.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7389210696404715520,"description":"Unknown IO ID 45"} 
[2026-07-08 07:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569949952001,"power":27691,"unknown_60":206,"unknown_85":15872,"ignition":54,"odometer":null,"unknown_45":-7389210696404715520}} 
[2026-07-08 07:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":125939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:37:37] local.INFO: GPS data processed {"connection_id":125939,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:37:37] local.INFO: Acknowledgment sent {"connection_id":125939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:37:58] local.INFO: TCP Data received {"connection_id":125112,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:37:58] local.INFO: Processing buffer {"connection_id":125112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:37:58] local.INFO: IMEI packet received {"connection_id":125112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":125112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:38:01] local.INFO: TCP Data received {"connection_id":125112,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:38:01] local.INFO: Processing buffer {"connection_id":125112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:38:01] local.INFO: IMEI packet received {"connection_id":125112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":125112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:38:07] local.INFO: TCP Data received {"connection_id":125112,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:38:07] local.INFO: Processing buffer {"connection_id":125112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:38:07] local.INFO: IMEI packet received {"connection_id":125112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":125112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:38:07] local.INFO: TCP Data received {"connection_id":125207,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125207,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:38:07] local.INFO: Processing buffer {"connection_id":125207,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:38:07] local.INFO: IMEI packet received {"connection_id":125207,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":125207,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:38:07] local.INFO: TCP Data received {"connection_id":125112,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f79e548012d9945c005768588000b014330..."} 
[2026-07-08 07:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f79e548012d9945c005768588000b014330..."} 
[2026-07-08 07:38:07] local.INFO: Processing buffer {"connection_id":125112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f79e548012d9945c005768588000b014330..."} 
[2026-07-08 07:38:07] local.INFO: Packet analysis {"connection_id":125112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f79"} 
[2026-07-08 07:38:07] local.INFO: Extracted packet for processing {"connection_id":125112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f79"} 
[2026-07-08 07:38:07] local.INFO: GPS Element Parsed {"raw_longitude":765019584,"raw_latitude":91653512,"longitude_deg":76.5019584,"latitude_deg":9.1653512,"altitude":11,"angle":323,"satellites":48,"speed":56,"hex_longitude":"2d9945c0","hex_latitude":"05768588","is_valid_coordinates":true} 
[2026-07-08 07:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569951744001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342301235564511232,"note":"Value kept but may cause issues"} 
[2026-07-08 07:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7395754989611204608,"note":"Value kept but may cause issues"} 
[2026-07-08 07:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783476381000,"timestamp_ms":1783476381000,"timestamp_seconds":1783476381,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f79e548"} 
[2026-07-08 07:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 07:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569951744001,"66":27713,"60":206,"85":15872,"24":56,"16":342301235564511232,"45":-7395754989611204608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-08 07:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569951744001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:38:07] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-08 07:38:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 07:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342301235564511232,"km_value":342301235564511.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7395754989611204608,"description":"Unknown IO ID 45"} 
[2026-07-08 07:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569951744001,"power":27713,"unknown_60":206,"unknown_85":15872,"ignition":56,"odometer":null,"unknown_45":-7395754989611204608}} 
[2026-07-08 07:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":125112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:38:07] local.INFO: GPS data processed {"connection_id":125112,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:38:07] local.INFO: Acknowledgment sent {"connection_id":125112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:38:11] local.INFO: TCP Data received {"connection_id":125112,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f7a00a0012d992e800576a5e8000c014530..."} 
[2026-07-08 07:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f7a00a0012d992e800576a5e8000c014530..."} 
[2026-07-08 07:38:11] local.INFO: Processing buffer {"connection_id":125112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f7a00a0012d992e800576a5e8000c014530..."} 
[2026-07-08 07:38:11] local.INFO: Packet analysis {"connection_id":125112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f7a"} 
[2026-07-08 07:38:11] local.INFO: Extracted packet for processing {"connection_id":125112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f7a"} 
[2026-07-08 07:38:11] local.INFO: GPS Element Parsed {"raw_longitude":765013632,"raw_latitude":91661800,"longitude_deg":76.5013632,"latitude_deg":9.16618,"altitude":12,"angle":325,"satellites":48,"speed":58,"hex_longitude":"2d992e80","hex_latitude":"0576a5e8","is_valid_coordinates":true} 
[2026-07-08 07:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569953536001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342301729485750272,"note":"Value kept but may cause issues"} 
[2026-07-08 07:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7402299282817710080,"note":"Value kept but may cause issues"} 
[2026-07-08 07:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783476388000,"timestamp_ms":1783476388000,"timestamp_seconds":1783476388,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f7a00a0"} 
[2026-07-08 07:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 07:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569953536001,"66":27745,"60":206,"85":15872,"24":58,"16":342301729485750272,"45":-7402299282817710080},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-08 07:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569953536001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:38:11] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-08 07:38:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 07:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342301729485750272,"km_value":342301729485750.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7402299282817710080,"description":"Unknown IO ID 45"} 
[2026-07-08 07:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569953536001,"power":27745,"unknown_60":206,"unknown_85":15872,"ignition":58,"odometer":null,"unknown_45":-7402299282817710080}} 
[2026-07-08 07:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":125112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:38:11] local.INFO: GPS data processed {"connection_id":125112,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:38:11] local.INFO: Acknowledgment sent {"connection_id":125112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:38:12] local.INFO: TCP Data received {"connection_id":125207,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125207,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:38:12] local.INFO: Processing buffer {"connection_id":125207,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:38:12] local.INFO: IMEI packet received {"connection_id":125207,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":125207,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:38:13] local.INFO: TCP Data received {"connection_id":125207,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f7ac7d8012d7f53c005dd1a680008014c2f..."} 
[2026-07-08 07:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f7ac7d8012d7f53c005dd1a680008014c2f..."} 
[2026-07-08 07:38:13] local.INFO: Processing buffer {"connection_id":125207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f7ac7d8012d7f53c005dd1a680008014c2f..."} 
[2026-07-08 07:38:13] local.INFO: Packet analysis {"connection_id":125207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f7a"} 
[2026-07-08 07:38:13] local.INFO: Extracted packet for processing {"connection_id":125207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f7a"} 
[2026-07-08 07:38:13] local.INFO: GPS Element Parsed {"raw_longitude":763319232,"raw_latitude":98376296,"longitude_deg":76.3319232,"latitude_deg":9.8376296,"altitude":8,"angle":332,"satellites":47,"speed":48,"hex_longitude":"2d7f53c0","hex_latitude":"05dd1a68","is_valid_coordinates":true} 
[2026-07-08 07:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569966592001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103578698325688320,"note":"Value kept but may cause issues"} 
[2026-07-08 07:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9181010078042179584,"note":"Value kept but may cause issues"} 
[2026-07-08 07:38: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-07-08 07:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783476439000,"timestamp_ms":1783476439000,"timestamp_seconds":1783476439,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f7ac7d8"} 
[2026-07-08 07:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:38:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":247,"data_length":795,"current_offset":136} 
[2026-07-08 07:38:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:38:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569966592001,"66":13450,"251":206,"85":15104,"24":48,"16":103578698325688320,"45":9181010078042179584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-08 07:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569966592001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:38:13] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-08 07:38:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103578698325688320,"km_value":103578698325688.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9181010078042179584,"description":"Unknown IO ID 45"} 
[2026-07-08 07:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569966592001,"power":13450,"unknown_251":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9181010078042179584}} 
[2026-07-08 07:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":125207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449558,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:38:13] local.INFO: GPS data processed {"connection_id":125207,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:38:13] local.INFO: Acknowledgment sent {"connection_id":125207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:38:18] local.INFO: TCP Data received {"connection_id":125207,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f7acfa8012d7f508005dd2370000701582f..."} 
[2026-07-08 07:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f7acfa8012d7f508005dd2370000701582f..."} 
[2026-07-08 07:38:18] local.INFO: Processing buffer {"connection_id":125207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f7acfa8012d7f508005dd2370000701582f..."} 
[2026-07-08 07:38:18] local.INFO: Packet analysis {"connection_id":125207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f7a"} 
[2026-07-08 07:38:18] local.INFO: Extracted packet for processing {"connection_id":125207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f7a"} 
[2026-07-08 07:38:18] local.INFO: GPS Element Parsed {"raw_longitude":763318400,"raw_latitude":98378608,"longitude_deg":76.33184,"latitude_deg":9.8378608,"altitude":7,"angle":344,"satellites":47,"speed":47,"hex_longitude":"2d7f5080","hex_latitude":"05dd2370","is_valid_coordinates":true} 
[2026-07-08 07:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569968384001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103578818584772608,"note":"Value kept but may cause issues"} 
[2026-07-08 07:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9174887997300697088,"note":"Value kept but may cause issues"} 
[2026-07-08 07:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783476441000,"timestamp_ms":1783476441000,"timestamp_seconds":1783476441,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f7acfa8"} 
[2026-07-08 07:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-08 07:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":125207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":125207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":125207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569968384001,"66":12874,"251":206,"85":15104,"24":47,"16":103578818584772608,"45":9174887997300697088},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-08 07:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569968384001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:38:18] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-08 07:38:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103578818584772608,"km_value":103578818584772.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9174887997300697088,"description":"Unknown IO ID 45"} 
[2026-07-08 07:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569968384001,"power":12874,"unknown_251":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":9174887997300697088}} 
[2026-07-08 07:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":125207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449559,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:38:18] local.INFO: GPS data processed {"connection_id":125207,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:38:18] local.INFO: Acknowledgment sent {"connection_id":125207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:38:47] local.INFO: TCP Data received {"connection_id":125113,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125113,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:38:47] local.INFO: Processing buffer {"connection_id":125113,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:38:47] local.INFO: IMEI packet received {"connection_id":125113,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":125113,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:38:53] local.INFO: TCP Data received {"connection_id":125113,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125113,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:38:53] local.INFO: Processing buffer {"connection_id":125113,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:38:53] local.INFO: IMEI packet received {"connection_id":125113,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":125113,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:38:53] local.INFO: TCP Data received {"connection_id":125113,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f7aeee8012d7f480005dd48f80007015d2f..."} 
[2026-07-08 07:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f7aeee8012d7f480005dd48f80007015d2f..."} 
[2026-07-08 07:38:53] local.INFO: Processing buffer {"connection_id":125113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f7aeee8012d7f480005dd48f80007015d2f..."} 
[2026-07-08 07:38:53] local.INFO: Packet analysis {"connection_id":125113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f7a"} 
[2026-07-08 07:38:53] local.INFO: Extracted packet for processing {"connection_id":125113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f7a"} 
[2026-07-08 07:38:53] local.INFO: GPS Element Parsed {"raw_longitude":763316224,"raw_latitude":98388216,"longitude_deg":76.3316224,"latitude_deg":9.8388216,"altitude":7,"angle":349,"satellites":47,"speed":43,"hex_longitude":"2d7f4800","hex_latitude":"05dd48f8","is_valid_coordinates":true} 
[2026-07-08 07:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569968896001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103579295326142464,"note":"Value kept but may cause issues"} 
[2026-07-08 07:38:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9173973203626979328,"note":"Value kept but may cause issues"} 
[2026-07-08 07:38:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783476449000,"timestamp_ms":1783476449000,"timestamp_seconds":1783476449,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f7aeee8"} 
[2026-07-08 07:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:38:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-08 07:38:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:38:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:38:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569968896001,"66":13276,"155":206,"85":15104,"24":43,"16":103579295326142464,"45":9173973203626979328},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-08 07:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569968896001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:38:53] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-08 07:38:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103579295326142464,"km_value":103579295326142.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:38:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9173973203626979328,"description":"Unknown IO ID 45"} 
[2026-07-08 07:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569968896001,"power":13276,"unknown_155":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9173973203626979328}} 
[2026-07-08 07:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":125113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449560,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:38:53] local.INFO: GPS data processed {"connection_id":125113,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:38:53] local.INFO: Acknowledgment sent {"connection_id":125113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:38:55] local.INFO: TCP Data received {"connection_id":127203,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:38:55] local.INFO: Processing buffer {"connection_id":127203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:38:55] local.INFO: IMEI packet received {"connection_id":127203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":127203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:38:57] local.INFO: TCP Data received {"connection_id":127203,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:38:57] local.INFO: Processing buffer {"connection_id":127203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:38:57] local.INFO: IMEI packet received {"connection_id":127203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":127203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:39:01] local.INFO: TCP Data received {"connection_id":127203,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:39:01] local.INFO: Processing buffer {"connection_id":127203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:39:01] local.INFO: IMEI packet received {"connection_id":127203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":127203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:39:02] local.INFO: TCP Data received {"connection_id":127203,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f7b48c0012d987f000577ac30000e014732..."} 
[2026-07-08 07:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f7b48c0012d987f000577ac30000e014732..."} 
[2026-07-08 07:39:02] local.INFO: Processing buffer {"connection_id":127203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f7b48c0012d987f000577ac30000e014732..."} 
[2026-07-08 07:39:02] local.INFO: Packet analysis {"connection_id":127203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f7b"} 
[2026-07-08 07:39:02] local.INFO: Extracted packet for processing {"connection_id":127203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f7b"} 
[2026-07-08 07:39:02] local.INFO: GPS Element Parsed {"raw_longitude":764968704,"raw_latitude":91728944,"longitude_deg":76.4968704,"latitude_deg":9.1728944,"altitude":14,"angle":327,"satellites":50,"speed":37,"hex_longitude":"2d987f00","hex_latitude":"0577ac30","is_valid_coordinates":true} 
[2026-07-08 07:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569974528001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342305637905989632,"note":"Value kept but may cause issues"} 
[2026-07-08 07:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7452472197399111680,"note":"Value kept but may cause issues"} 
[2026-07-08 07:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783476472000,"timestamp_ms":1783476472000,"timestamp_seconds":1783476472,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f7b48c0"} 
[2026-07-08 07:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 07:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569974528001,"66":27658,"161":206,"85":15872,"24":37,"16":342305637905989632,"45":-7452472197399111680},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-07-08 07:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569974528001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:39:02] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-08 07:39:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 07:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342305637905989632,"km_value":342305637905989.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7452472197399111680,"description":"Unknown IO ID 45"} 
[2026-07-08 07:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569974528001,"power":27658,"unknown_161":206,"unknown_85":15872,"ignition":37,"odometer":null,"unknown_45":-7452472197399111680}} 
[2026-07-08 07:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":127203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:39:02] local.INFO: GPS data processed {"connection_id":127203,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:39:02] local.INFO: Acknowledgment sent {"connection_id":127203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:39:24] local.INFO: TCP Data received {"connection_id":125113,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f7b0e28012d7f3f8005dd6d680009015930..."} 
[2026-07-08 07:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f7b0e28012d7f3f8005dd6d680009015930..."} 
[2026-07-08 07:39:24] local.INFO: Processing buffer {"connection_id":125113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f7b0e28012d7f3f8005dd6d680009015930..."} 
[2026-07-08 07:39:24] local.INFO: Packet analysis {"connection_id":125113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f7b"} 
[2026-07-08 07:39:24] local.INFO: Extracted packet for processing {"connection_id":125113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f7b"} 
[2026-07-08 07:39:24] local.INFO: GPS Element Parsed {"raw_longitude":763314048,"raw_latitude":98397544,"longitude_deg":76.3314048,"latitude_deg":9.8397544,"altitude":9,"angle":345,"satellites":48,"speed":53,"hex_longitude":"2d7f3f80","hex_latitude":"05dd6d68","is_valid_coordinates":true} 
[2026-07-08 07:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569970944001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103579759182610432,"note":"Value kept but may cause issues"} 
[2026-07-08 07:39:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9171580666327398400,"note":"Value kept but may cause issues"} 
[2026-07-08 07:39:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783476457000,"timestamp_ms":1783476457000,"timestamp_seconds":1783476457,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f7b0e28"} 
[2026-07-08 07:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:39:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-08 07:39:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:39:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:39:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569970944001,"66":13450,"155":206,"85":15104,"24":53,"16":103579759182610432,"45":9171580666327398400},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-08 07:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569970944001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:39:24] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-08 07:39:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103579759182610432,"km_value":103579759182610.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:39:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9171580666327398400,"description":"Unknown IO ID 45"} 
[2026-07-08 07:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569970944001,"power":13450,"unknown_155":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":9171580666327398400}} 
[2026-07-08 07:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":125113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449562,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:39:25] local.INFO: GPS data processed {"connection_id":125113,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:39:25] local.INFO: Acknowledgment sent {"connection_id":125113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:39:27] local.INFO: TCP Data received {"connection_id":127204,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127204,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:39:27] local.INFO: Processing buffer {"connection_id":127204,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:39:27] local.INFO: IMEI packet received {"connection_id":127204,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 07:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":127204,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:39:33] local.INFO: TCP Data received {"connection_id":127203,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f7b77a0012d986c400577c968000f014431..."} 
[2026-07-08 07:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f7b77a0012d986c400577c968000f014431..."} 
[2026-07-08 07:39:33] local.INFO: Processing buffer {"connection_id":127203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f7b77a0012d986c400577c968000f014431..."} 
[2026-07-08 07:39:33] local.INFO: Packet analysis {"connection_id":127203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f7b"} 
[2026-07-08 07:39:33] local.INFO: Extracted packet for processing {"connection_id":127203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f7b"} 
[2026-07-08 07:39:33] local.INFO: GPS Element Parsed {"raw_longitude":764963904,"raw_latitude":91736424,"longitude_deg":76.4963904,"latitude_deg":9.1736424,"altitude":15,"angle":324,"satellites":49,"speed":29,"hex_longitude":"2d986c40","hex_latitude":"0577c968","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569976832001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342306067402719232,"note":"Value kept but may cause issues"} 
[2026-07-08 07:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7458242434419642368,"note":"Value kept but may cause issues"} 
[2026-07-08 07:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783476484000,"timestamp_ms":1783476484000,"timestamp_seconds":1783476484,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f7b77a0"} 
[2026-07-08 07:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 07:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569976832001,"66":27821,"161":206,"85":15872,"24":29,"16":342306067402719232,"45":-7458242434419642368},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-07-08 07:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569976832001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:39:33] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-08 07:39:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 07:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342306067402719232,"km_value":342306067402719.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7458242434419642368,"description":"Unknown IO ID 45"} 
[2026-07-08 07:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569976832001,"power":27821,"unknown_161":206,"unknown_85":15872,"ignition":29,"odometer":null,"unknown_45":-7458242434419642368}} 
[2026-07-08 07:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":127203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:39:33] local.INFO: GPS data processed {"connection_id":127203,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:39:33] local.INFO: Acknowledgment sent {"connection_id":127203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:39:47] local.INFO: TCP Data received {"connection_id":127205,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127205,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:39:47] local.INFO: Processing buffer {"connection_id":127205,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:39:47] local.INFO: IMEI packet received {"connection_id":127205,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":127205,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:39:54] local.INFO: TCP Data received {"connection_id":127205,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127205,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:39:54] local.INFO: Processing buffer {"connection_id":127205,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:39:54] local.INFO: IMEI packet received {"connection_id":127205,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":127205,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:39:57] local.INFO: TCP Data received {"connection_id":127207,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127207,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:39:57] local.INFO: Processing buffer {"connection_id":127207,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:39:57] local.INFO: IMEI packet received {"connection_id":127207,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 07:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":127207,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:39:57] local.INFO: TCP Data received {"connection_id":127206,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:39:57] local.INFO: Processing buffer {"connection_id":127206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:39:57] local.INFO: IMEI packet received {"connection_id":127206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":127206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:39:59] local.INFO: TCP Data received {"connection_id":127205,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f7cb408012d7ecf8005deb828000901632d..."} 
[2026-07-08 07:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f7cb408012d7ecf8005deb828000901632d..."} 
[2026-07-08 07:39:59] local.INFO: Processing buffer {"connection_id":127205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f7cb408012d7ecf8005deb828000901632d..."} 
[2026-07-08 07:39:59] local.INFO: Packet analysis {"connection_id":127205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f7c"} 
[2026-07-08 07:39:59] local.INFO: Extracted packet for processing {"connection_id":127205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f7c"} 
[2026-07-08 07:39:59] local.INFO: GPS Element Parsed {"raw_longitude":763285376,"raw_latitude":98482216,"longitude_deg":76.3285376,"latitude_deg":9.8482216,"altitude":9,"angle":355,"satellites":45,"speed":35,"hex_longitude":"2d7ecf80","hex_latitude":"05deb828","is_valid_coordinates":true} 
[2026-07-08 07:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569998592001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103584131459317760,"note":"Value kept but may cause issues"} 
[2026-07-08 07:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9139422150260330496,"note":"Value kept but may cause issues"} 
[2026-07-08 07:39:59] 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-07-08 07:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783476565000,"timestamp_ms":1783476565000,"timestamp_seconds":1783476565,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f7cb408"} 
[2026-07-08 07:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:39: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":149,"data_length":795,"current_offset":136} 
[2026-07-08 07:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:39:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":127205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":127205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":127205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569998592001,"66":13493,"205":206,"85":15104,"24":35,"16":103584131459317760,"45":9139422150260330496},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-07-08 07:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569998592001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:39:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103584131459317760,"km_value":103584131459317.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9139422150260330496,"description":"Unknown IO ID 45"} 
[2026-07-08 07:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569998592001,"power":13493,"cell_id":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9139422150260330496}} 
[2026-07-08 07:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":127205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449564,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:39:59] local.INFO: GPS data processed {"connection_id":127205,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:39:59] local.INFO: Acknowledgment sent {"connection_id":127205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:40:01] local.INFO: TCP Data received {"connection_id":127206,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:40:01] local.INFO: Processing buffer {"connection_id":127206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:40:01] local.INFO: IMEI packet received {"connection_id":127206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":127206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:40:02] local.INFO: TCP Data received {"connection_id":127206,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f7ba680012d9857400577e8c0000e014833..."} 
[2026-07-08 07:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f7ba680012d9857400577e8c0000e014833..."} 
[2026-07-08 07:40:02] local.INFO: Processing buffer {"connection_id":127206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f7ba680012d9857400577e8c0000e014833..."} 
[2026-07-08 07:40:02] local.INFO: Packet analysis {"connection_id":127206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f7b"} 
[2026-07-08 07:40:02] local.INFO: Extracted packet for processing {"connection_id":127206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f7b"} 
[2026-07-08 07:40:02] local.INFO: GPS Element Parsed {"raw_longitude":764958528,"raw_latitude":91744448,"longitude_deg":76.4958528,"latitude_deg":9.1744448,"altitude":14,"angle":328,"satellites":51,"speed":33,"hex_longitude":"2d985740","hex_latitude":"0577e8c0","is_valid_coordinates":true} 
[2026-07-08 07:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456569979904001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342306535554154496,"note":"Value kept but may cause issues"} 
[2026-07-08 07:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7463520090231052288,"note":"Value kept but may cause issues"} 
[2026-07-08 07:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783476496000,"timestamp_ms":1783476496000,"timestamp_seconds":1783476496,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f7ba680"} 
[2026-07-08 07:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:40: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-07-08 07:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 07:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456569979904001,"66":27745,"161":206,"85":15872,"24":33,"16":342306535554154496,"45":-7463520090231052288},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-07-08 07:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456569979904001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:40:02] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-08 07:40:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 07:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342306535554154496,"km_value":342306535554154.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7463520090231052288,"description":"Unknown IO ID 45"} 
[2026-07-08 07:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456569979904001,"power":27745,"unknown_161":206,"unknown_85":15872,"ignition":33,"odometer":null,"unknown_45":-7463520090231052288}} 
[2026-07-08 07:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":127206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:40:02] local.INFO: GPS data processed {"connection_id":127206,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:40:02] local.INFO: Acknowledgment sent {"connection_id":127206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:40:33] local.INFO: TCP Data received {"connection_id":127206,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f7ce2e8012d97b6800578e2f8000a015132..."} 
[2026-07-08 07:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f7ce2e8012d97b6800578e2f8000a015132..."} 
[2026-07-08 07:40:33] local.INFO: Processing buffer {"connection_id":127206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f7ce2e8012d97b6800578e2f8000a015132..."} 
[2026-07-08 07:40:33] local.INFO: Packet analysis {"connection_id":127206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f7c"} 
[2026-07-08 07:40:33] local.INFO: Extracted packet for processing {"connection_id":127206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f7c"} 
[2026-07-08 07:40:33] local.INFO: GPS Element Parsed {"raw_longitude":764917376,"raw_latitude":91808504,"longitude_deg":76.4917376,"latitude_deg":9.1808504,"altitude":10,"angle":337,"satellites":50,"speed":46,"hex_longitude":"2d97b680","hex_latitude":"0578e2f8","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570001664001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342310246405898240,"note":"Value kept but may cause issues"} 
[2026-07-08 07:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7510456042581221376,"note":"Value kept but may cause issues"} 
[2026-07-08 07:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783476577000,"timestamp_ms":1783476577000,"timestamp_seconds":1783476577,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f7ce2e8"} 
[2026-07-08 07:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-08 07:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570001664001,"66":27800,"70":206,"85":15872,"24":46,"16":342310246405898240,"45":-7510456042581221376},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,85,24,16,45]} 
[2026-07-08 07:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570001664001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:40:33] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-08 07:40:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 07:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342310246405898240,"km_value":342310246405898.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7510456042581221376,"description":"Unknown IO ID 45"} 
[2026-07-08 07:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570001664001,"power":27800,"unknown_70":206,"unknown_85":15872,"ignition":46,"odometer":null,"unknown_45":-7510456042581221376}} 
[2026-07-08 07:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":127206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:40:33] local.INFO: GPS data processed {"connection_id":127206,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:40:33] local.INFO: Acknowledgment sent {"connection_id":127206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:40:35] local.INFO: TCP Data received {"connection_id":127205,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f7cdb18012d7ecd8005dedba8000a01622b..."} 
[2026-07-08 07:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f7cdb18012d7ecd8005dedba8000a01622b..."} 
[2026-07-08 07:40:35] local.INFO: Processing buffer {"connection_id":127205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f7cdb18012d7ecd8005dedba8000a01622b..."} 
[2026-07-08 07:40:35] local.INFO: Packet analysis {"connection_id":127205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f7c"} 
[2026-07-08 07:40:35] local.INFO: Extracted packet for processing {"connection_id":127205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f7c"} 
[2026-07-08 07:40:35] local.INFO: GPS Element Parsed {"raw_longitude":763284864,"raw_latitude":98491304,"longitude_deg":76.3284864,"latitude_deg":9.8491304,"altitude":10,"angle":354,"satellites":43,"speed":34,"hex_longitude":"2d7ecd80","hex_latitude":"05dedba8","is_valid_coordinates":true} 
[2026-07-08 07:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570000640001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103584573840949248,"note":"Value kept but may cause issues"} 
[2026-07-08 07:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9137662931657828352,"note":"Value kept but may cause issues"} 
[2026-07-08 07:40:35] 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-07-08 07:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783476575000,"timestamp_ms":1783476575000,"timestamp_seconds":1783476575,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f7cdb18"} 
[2026-07-08 07:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-08 07:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":127205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":127205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":127205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570000640001,"66":13319,"205":206,"85":15104,"24":34,"16":103584573840949248,"45":9137662931657828352},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-07-08 07:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570000640001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:40:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103584573840949248,"km_value":103584573840949.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9137662931657828352,"description":"Unknown IO ID 45"} 
[2026-07-08 07:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570000640001,"power":13319,"cell_id":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9137662931657828352}} 
[2026-07-08 07:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":127205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449567,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:40:35] local.INFO: GPS data processed {"connection_id":127205,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:40:35] local.INFO: Acknowledgment sent {"connection_id":127205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:40:48] local.INFO: TCP Data received {"connection_id":125208,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125208,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:40:48] local.INFO: Processing buffer {"connection_id":125208,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:40:48] local.INFO: IMEI packet received {"connection_id":125208,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":125208,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:40:51] local.INFO: TCP Data received {"connection_id":125208,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125208,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:40:51] local.INFO: Processing buffer {"connection_id":125208,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:40:51] local.INFO: IMEI packet received {"connection_id":125208,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":125208,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:40:52] local.INFO: TCP Data received {"connection_id":125208,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f7cf288012d7ec98005deef88000a015029..."} 
[2026-07-08 07:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f7cf288012d7ec98005deef88000a015029..."} 
[2026-07-08 07:40:52] local.INFO: Processing buffer {"connection_id":125208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f7cf288012d7ec98005deef88000a015029..."} 
[2026-07-08 07:40:52] local.INFO: Packet analysis {"connection_id":125208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f7c"} 
[2026-07-08 07:40:52] local.INFO: Extracted packet for processing {"connection_id":125208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f7c"} 
[2026-07-08 07:40:52] local.INFO: GPS Element Parsed {"raw_longitude":763283840,"raw_latitude":98496392,"longitude_deg":76.328384,"latitude_deg":9.8496392,"altitude":10,"angle":336,"satellites":41,"speed":35,"hex_longitude":"2d7ec980","hex_latitude":"05deef88","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570003200001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103584827244019712,"note":"Value kept but may cause issues"} 
[2026-07-08 07:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9137099981706733568,"note":"Value kept but may cause issues"} 
[2026-07-08 07:40:52] 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-07-08 07:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783476581000,"timestamp_ms":1783476581000,"timestamp_seconds":1783476581,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f7cf288"} 
[2026-07-08 07:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-08 07:40:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 07:40:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-08 07:40:52] local.WARNING: Large IO value detected {"io_id":222,"raw_value":38280631214288640,"note":"Value kept but may cause issues"} 
[2026-07-08 07:40:52] local.WARNING: Large IO value detected {"io_id":251,"raw_value":2147868209,"note":"Value kept but may cause issues"} 
[2026-07-08 07:40:52] local.WARNING: Large IO value detected {"io_id":111,"raw_value":4288479232,"note":"Value kept but may cause issues"} 
[2026-07-08 07:40:52] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3725553664,"note":"Value kept but may cause issues"} 
[2026-07-08 07:40:52] local.WARNING: Large IO value detected {"io_id":29,"raw_value":57885769637713211,"note":"Value kept but may cause issues"} 
[2026-07-08 07:40:52] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-5323253464635179003,"note":"Value kept but may cause issues"} 
[2026-07-08 07:40:52] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,205,85,24,241,157,16,1,159,180,45,128,184,9,10,66,148,192,154,8,109,240,187,227,63,222,4,113,49,47,251,239,52,2,111,5,29,123],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[]} 
[2026-07-08 07:40:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720965352181334016,"timestamp_seconds":720965352181334.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 07:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":125208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":125208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":125208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:40:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570003200001,"66":13450,"205":206,"85":15104,"24":35,"16":103584827244019712,"45":9137099981706733568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-07-08 07:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570003200001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:40:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103584827244019712,"km_value":103584827244019.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9137099981706733568,"description":"Unknown IO ID 45"} 
[2026-07-08 07:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570003200001,"power":13450,"cell_id":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9137099981706733568}} 
[2026-07-08 07:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":125208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449568,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:40:52] local.INFO: GPS data processed {"connection_id":125208,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:40:52] local.INFO: Acknowledgment sent {"connection_id":125208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:40:55] local.INFO: TCP Data received {"connection_id":125114,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:40:55] local.INFO: Processing buffer {"connection_id":125114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:40:55] local.INFO: IMEI packet received {"connection_id":125114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":125114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:40:56] local.INFO: TCP Data received {"connection_id":125114,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:40:56] local.INFO: Processing buffer {"connection_id":125114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:40:56] local.INFO: IMEI packet received {"connection_id":125114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":125114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:41:02] local.INFO: TCP Data received {"connection_id":125114,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:41:02] local.INFO: Processing buffer {"connection_id":125114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:41:02] local.INFO: IMEI packet received {"connection_id":125114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":125114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:41:03] local.INFO: TCP Data received {"connection_id":125114,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f7d0228012d97a60005790558000b014e34..."} 
[2026-07-08 07:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f7d0228012d97a60005790558000b014e34..."} 
[2026-07-08 07:41:03] local.INFO: Processing buffer {"connection_id":125114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f7d0228012d97a60005790558000b014e34..."} 
[2026-07-08 07:41:03] local.INFO: Packet analysis {"connection_id":125114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f7d"} 
[2026-07-08 07:41:03] local.INFO: Extracted packet for processing {"connection_id":125114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f7d"} 
[2026-07-08 07:41:03] local.INFO: GPS Element Parsed {"raw_longitude":764913152,"raw_latitude":91817304,"longitude_deg":76.4913152,"latitude_deg":9.1817304,"altitude":11,"angle":334,"satellites":52,"speed":49,"hex_longitude":"2d97a600","hex_latitude":"05790558","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570003712001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342310714557333504,"note":"Value kept but may cause issues"} 
[2026-07-08 07:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7514678167229761536,"note":"Value kept but may cause issues"} 
[2026-07-08 07:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783476585000,"timestamp_ms":1783476585000,"timestamp_seconds":1783476585,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f7d0228"} 
[2026-07-08 07:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 07:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570003712001,"66":27745,"70":206,"85":15872,"24":49,"16":342310714557333504,"45":-7514678167229761536},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,85,24,16,45]} 
[2026-07-08 07:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570003712001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:41:03] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-08 07:41:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 07:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342310714557333504,"km_value":342310714557333.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7514678167229761536,"description":"Unknown IO ID 45"} 
[2026-07-08 07:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570003712001,"power":27745,"unknown_70":206,"unknown_85":15872,"ignition":49,"odometer":null,"unknown_45":-7514678167229761536}} 
[2026-07-08 07:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":125114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:41:03] local.INFO: GPS data processed {"connection_id":125114,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:41:03] local.INFO: Acknowledgment sent {"connection_id":125114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:41:23] local.INFO: TCP Data received {"connection_id":125208,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f7cfa58012d7ec60005def5a0000a014428..."} 
[2026-07-08 07:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f7cfa58012d7ec60005def5a0000a014428..."} 
[2026-07-08 07:41:23] local.INFO: Processing buffer {"connection_id":125208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f7cfa58012d7ec60005def5a0000a014428..."} 
[2026-07-08 07:41:23] local.INFO: Packet analysis {"connection_id":125208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f7c"} 
[2026-07-08 07:41:23] local.INFO: Extracted packet for processing {"connection_id":125208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f7c"} 
[2026-07-08 07:41:23] local.INFO: GPS Element Parsed {"raw_longitude":763282944,"raw_latitude":98497952,"longitude_deg":76.3282944,"latitude_deg":9.8497952,"altitude":10,"angle":324,"satellites":40,"speed":36,"hex_longitude":"2d7ec600","hex_latitude":"05def5a0","is_valid_coordinates":true} 
[2026-07-08 07:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570004736001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103584913143365632,"note":"Value kept but may cause issues"} 
[2026-07-08 07:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9135974081801193472,"note":"Value kept but may cause issues"} 
[2026-07-08 07:41:23] 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-07-08 07:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783476583000,"timestamp_ms":1783476583000,"timestamp_seconds":1783476583,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f7cfa58"} 
[2026-07-08 07:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:41:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-08 07:41:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:41:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":125208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":125208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":125208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570004736001,"66":13472,"205":206,"85":15104,"24":36,"16":103584913143365632,"45":9135974081801193472},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-07-08 07:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570004736001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:41:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103584913143365632,"km_value":103584913143365.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9135974081801193472,"description":"Unknown IO ID 45"} 
[2026-07-08 07:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570004736001,"power":13472,"cell_id":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9135974081801193472}} 
[2026-07-08 07:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":125208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449570,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:41:23] local.INFO: GPS data processed {"connection_id":125208,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:41:23] local.INFO: Acknowledgment sent {"connection_id":125208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:41:36] local.INFO: TCP Data received {"connection_id":125114,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f7d1d80012d9797c0057926f0000c015233..."} 
[2026-07-08 07:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f7d1d80012d9797c0057926f0000c015233..."} 
[2026-07-08 07:41:36] local.INFO: Processing buffer {"connection_id":125114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f7d1d80012d9797c0057926f0000c015233..."} 
[2026-07-08 07:41:36] local.INFO: Packet analysis {"connection_id":125114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f7d"} 
[2026-07-08 07:41:36] local.INFO: Extracted packet for processing {"connection_id":125114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f7d"} 
[2026-07-08 07:41:36] local.INFO: GPS Element Parsed {"raw_longitude":764909504,"raw_latitude":91825904,"longitude_deg":76.4909504,"latitude_deg":9.1825904,"altitude":12,"angle":338,"satellites":51,"speed":55,"hex_longitude":"2d9797c0","hex_latitude":"057926f0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 07:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570005760001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342311169823866880,"note":"Value kept but may cause issues"} 
[2026-07-08 07:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7519322504343234560,"note":"Value kept but may cause issues"} 
[2026-07-08 07:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783476592000,"timestamp_ms":1783476592000,"timestamp_seconds":1783476592,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f7d1d80"} 
[2026-07-08 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-07-08 07:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 07:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 07:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570005760001,"66":27800,"70":206,"85":15872,"24":55,"16":342311169823866880,"45":-7519322504343234560},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,85,24,16,45]} 
[2026-07-08 07:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570005760001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:41:36] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-08 07:41:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 07:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342311169823866880,"km_value":342311169823866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7519322504343234560,"description":"Unknown IO ID 45"} 
[2026-07-08 07:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570005760001,"power":27800,"unknown_70":206,"unknown_85":15872,"ignition":55,"odometer":null,"unknown_45":-7519322504343234560}} 
[2026-07-08 07:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":125114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:41:36] local.INFO: GPS data processed {"connection_id":125114,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:41:36] local.INFO: Acknowledgment sent {"connection_id":125114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:41:51] local.INFO: TCP Data received {"connection_id":125941,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125941,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:41:51] local.INFO: Processing buffer {"connection_id":125941,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:41:51] local.INFO: IMEI packet received {"connection_id":125941,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":125941,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:41:52] local.INFO: TCP Data received {"connection_id":125941,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125941,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:41:52] local.INFO: Processing buffer {"connection_id":125941,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:41:52] local.INFO: IMEI packet received {"connection_id":125941,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":125941,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:41:53] local.INFO: TCP Data received {"connection_id":125941,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125941,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:41:53] local.INFO: Processing buffer {"connection_id":125941,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:41:53] local.INFO: IMEI packet received {"connection_id":125941,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":125941,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:41:54] local.INFO: TCP Data received {"connection_id":125941,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f7e80f8012d7e3f8005e04cd00009015d2d..."} 
[2026-07-08 07:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f7e80f8012d7e3f8005e04cd00009015d2d..."} 
[2026-07-08 07:41:54] local.INFO: Processing buffer {"connection_id":125941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f7e80f8012d7e3f8005e04cd00009015d2d..."} 
[2026-07-08 07:41:54] local.INFO: Packet analysis {"connection_id":125941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f7e"} 
[2026-07-08 07:41:54] local.INFO: Extracted packet for processing {"connection_id":125941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f7e"} 
[2026-07-08 07:41:54] local.INFO: GPS Element Parsed {"raw_longitude":763248512,"raw_latitude":98585808,"longitude_deg":76.3248512,"latitude_deg":9.8585808,"altitude":9,"angle":349,"satellites":45,"speed":41,"hex_longitude":"2d7e3f80","hex_latitude":"05e04cd0","is_valid_coordinates":true} 
[2026-07-08 07:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570028800001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103589534528176128,"note":"Value kept but may cause issues"} 
[2026-07-08 07:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9100226759779612672,"note":"Value kept but may cause issues"} 
[2026-07-08 07:41: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-07-08 07:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783476683000,"timestamp_ms":1783476683000,"timestamp_seconds":1783476683,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f7e80f8"} 
[2026-07-08 07:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:41:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-07-08 07:41:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":125941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":125941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":125941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:41:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570028800001,"66":13276,"207":206,"85":15104,"24":41,"16":103589534528176128,"45":9100226759779612672},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-08 07:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570028800001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:41:54] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-08 07:41:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103589534528176128,"km_value":103589534528176.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9100226759779612672,"description":"Unknown IO ID 45"} 
[2026-07-08 07:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570028800001,"power":13276,"unknown_207":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9100226759779612672}} 
[2026-07-08 07:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":125941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449572,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:41:54] local.INFO: GPS data processed {"connection_id":125941,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:41:54] local.INFO: Acknowledgment sent {"connection_id":125941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:41:55] local.INFO: TCP Data received {"connection_id":125941,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f7e80f8012d7e3f8005e04cd00009015d2d..."} 
[2026-07-08 07:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f7e80f8012d7e3f8005e04cd00009015d2d..."} 
[2026-07-08 07:41:55] local.INFO: Processing buffer {"connection_id":125941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f7e80f8012d7e3f8005e04cd00009015d2d..."} 
[2026-07-08 07:41:55] local.INFO: Packet analysis {"connection_id":125941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f7e"} 
[2026-07-08 07:41:55] local.INFO: Extracted packet for processing {"connection_id":125941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f7e"} 
[2026-07-08 07:41:55] local.INFO: GPS Element Parsed {"raw_longitude":763248512,"raw_latitude":98585808,"longitude_deg":76.3248512,"latitude_deg":9.8585808,"altitude":9,"angle":349,"satellites":45,"speed":41,"hex_longitude":"2d7e3f80","hex_latitude":"05e04cd0","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570030848001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103589534528176128,"note":"Value kept but may cause issues"} 
[2026-07-08 07:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097130535038013440,"note":"Value kept but may cause issues"} 
[2026-07-08 07:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783476683000,"timestamp_ms":1783476683000,"timestamp_seconds":1783476683,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f7e80f8"} 
[2026-07-08 07:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-08 07:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":125941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":125941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":125941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570030848001,"66":13276,"207":206,"85":15104,"24":41,"16":103589534528176128,"45":9097130535038013440},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-08 07:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570030848001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:41:55] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-08 07:41:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103589534528176128,"km_value":103589534528176.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097130535038013440,"description":"Unknown IO ID 45"} 
[2026-07-08 07:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570030848001,"power":13276,"unknown_207":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9097130535038013440}} 
[2026-07-08 07:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":125941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449573,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:41:55] local.INFO: GPS data processed {"connection_id":125941,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:41:55] local.INFO: Acknowledgment sent {"connection_id":125941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:41:56] local.INFO: TCP Data received {"connection_id":127209,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:41:56] local.INFO: Processing buffer {"connection_id":127209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:41:56] local.INFO: IMEI packet received {"connection_id":127209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":127209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:41:57] local.INFO: TCP Data received {"connection_id":127209,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:41:57] local.INFO: Processing buffer {"connection_id":127209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:41:57] local.INFO: IMEI packet received {"connection_id":127209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":127209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:42:02] local.INFO: TCP Data received {"connection_id":127209,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:42:02] local.INFO: Processing buffer {"connection_id":127209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:42:02] local.INFO: IMEI packet received {"connection_id":127209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":127209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:42:02] local.INFO: TCP Data received {"connection_id":127209,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f7d3cc0012d97890005794880000c014e34..."} 
[2026-07-08 07:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f7d3cc0012d97890005794880000c014e34..."} 
[2026-07-08 07:42:02] local.INFO: Processing buffer {"connection_id":127209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f7d3cc0012d97890005794880000c014e34..."} 
[2026-07-08 07:42:02] local.INFO: Packet analysis {"connection_id":127209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f7d"} 
[2026-07-08 07:42:02] local.INFO: Extracted packet for processing {"connection_id":127209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f7d"} 
[2026-07-08 07:42:02] local.INFO: GPS Element Parsed {"raw_longitude":764905728,"raw_latitude":91834496,"longitude_deg":76.4905728,"latitude_deg":9.1834496,"altitude":12,"angle":334,"satellites":52,"speed":40,"hex_longitude":"2d978900","hex_latitude":"05794880","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570007552001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342311625090400256,"note":"Value kept but may cause issues"} 
[2026-07-08 07:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7523333522759159808,"note":"Value kept but may cause issues"} 
[2026-07-08 07:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783476600000,"timestamp_ms":1783476600000,"timestamp_seconds":1783476600,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f7d3cc0"} 
[2026-07-08 07:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:42: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-07-08 07: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 07:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570007552001,"66":27745,"70":206,"85":15872,"24":40,"16":342311625090400256,"45":-7523333522759159808},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,85,24,16,45]} 
[2026-07-08 07:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570007552001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:42:02] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-08 07:42:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 07:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342311625090400256,"km_value":342311625090400.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7523333522759159808,"description":"Unknown IO ID 45"} 
[2026-07-08 07:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570007552001,"power":27745,"unknown_70":206,"unknown_85":15872,"ignition":40,"odometer":null,"unknown_45":-7523333522759159808}} 
[2026-07-08 07:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":127209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:42:02] local.INFO: GPS data processed {"connection_id":127209,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:42:02] local.INFO: Acknowledgment sent {"connection_id":127209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:42:27] local.INFO: TCP Data received {"connection_id":125941,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f7ea420012d7e3c8005e071b80009015f2d..."} 
[2026-07-08 07:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f7ea420012d7e3c8005e071b80009015f2d..."} 
[2026-07-08 07:42:27] local.INFO: Processing buffer {"connection_id":125941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f7ea420012d7e3c8005e071b80009015f2d..."} 
[2026-07-08 07:42:27] local.INFO: Packet analysis {"connection_id":125941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f7e"} 
[2026-07-08 07:42:27] local.INFO: Extracted packet for processing {"connection_id":125941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f7e"} 
[2026-07-08 07:42:27] local.INFO: GPS Element Parsed {"raw_longitude":763247744,"raw_latitude":98595256,"longitude_deg":76.3247744,"latitude_deg":9.8595256,"altitude":9,"angle":351,"satellites":45,"speed":45,"hex_longitude":"2d7e3c80","hex_latitude":"05e071b8","is_valid_coordinates":true} 
[2026-07-08 07:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570030848001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103589994089676800,"note":"Value kept but may cause issues"} 
[2026-07-08 07:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097130535038013440,"note":"Value kept but may cause issues"} 
[2026-07-08 07:42:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783476692000,"timestamp_ms":1783476692000,"timestamp_seconds":1783476692,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f7ea420"} 
[2026-07-08 07:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:42:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-08 07:42:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":125941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":125941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":125941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570030848001,"66":13515,"207":206,"85":15104,"24":45,"16":103589994089676800,"45":9097130535038013440},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-08 07:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570030848001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:42:27] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-08 07:42:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103589994089676800,"km_value":103589994089676.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097130535038013440,"description":"Unknown IO ID 45"} 
[2026-07-08 07:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570030848001,"power":13515,"unknown_207":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9097130535038013440}} 
[2026-07-08 07:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":125941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449575,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:42:27] local.INFO: GPS data processed {"connection_id":125941,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:42:27] local.INFO: Acknowledgment sent {"connection_id":125941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:42:33] local.INFO: TCP Data received {"connection_id":127209,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f7e9480012d96e180057ad7a0000a015630..."} 
[2026-07-08 07:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f7e9480012d96e180057ad7a0000a015630..."} 
[2026-07-08 07:42:33] local.INFO: Processing buffer {"connection_id":127209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f7e9480012d96e180057ad7a0000a015630..."} 
[2026-07-08 07:42:33] local.INFO: Packet analysis {"connection_id":127209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f7e"} 
[2026-07-08 07:42:33] local.INFO: Extracted packet for processing {"connection_id":127209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f7e"} 
[2026-07-08 07:42:33] local.INFO: GPS Element Parsed {"raw_longitude":764862848,"raw_latitude":91936672,"longitude_deg":76.4862848,"latitude_deg":9.1936672,"altitude":10,"angle":342,"satellites":48,"speed":47,"hex_longitude":"2d96e180","hex_latitude":"057ad7a0","is_valid_coordinates":true} 
[2026-07-08 07:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570029824001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342317023864291328,"note":"Value kept but may cause issues"} 
[2026-07-08 07:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7571606481239048192,"note":"Value kept but may cause issues"} 
[2026-07-08 07:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783476688000,"timestamp_ms":1783476688000,"timestamp_seconds":1783476688,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f7e9480"} 
[2026-07-08 07:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 07:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:42:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570029824001,"66":27669,"120":206,"85":15360,"24":47,"16":342317023864291328,"45":-7571606481239048192},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-07-08 07:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570029824001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:42:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 07:42:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 07:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342317023864291328,"km_value":342317023864291.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7571606481239048192,"description":"Unknown IO ID 45"} 
[2026-07-08 07:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570029824001,"power":27669,"unknown_120":206,"unknown_85":15360,"ignition":47,"odometer":null,"unknown_45":-7571606481239048192}} 
[2026-07-08 07:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":127209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:42:33] local.INFO: GPS data processed {"connection_id":127209,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:42:33] local.INFO: Acknowledgment sent {"connection_id":127209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:42:45] local.INFO: TCP Data received {"connection_id":125209,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125209,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:42:45] local.INFO: Processing buffer {"connection_id":125209,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:42:45] local.INFO: IMEI packet received {"connection_id":125209,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":125209,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:42:48] local.INFO: TCP Data received {"connection_id":125209,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125209,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:42:48] local.INFO: Processing buffer {"connection_id":125209,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:42:48] local.INFO: IMEI packet received {"connection_id":125209,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":125209,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:42:48] local.INFO: TCP Data received {"connection_id":125209,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125209,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:42:48] local.INFO: Processing buffer {"connection_id":125209,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:42:48] local.INFO: IMEI packet received {"connection_id":125209,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":125209,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:42:52] local.INFO: TCP Data received {"connection_id":125209,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125209,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:42:52] local.INFO: Processing buffer {"connection_id":125209,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:42:52] local.INFO: IMEI packet received {"connection_id":125209,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":125209,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:42:53] local.INFO: TCP Data received {"connection_id":125209,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f7fa208012d7e13c005e111e0000a00172c..."} 
[2026-07-08 07:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f7fa208012d7e13c005e111e0000a00172c..."} 
[2026-07-08 07:42:53] local.INFO: Processing buffer {"connection_id":125209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f7fa208012d7e13c005e111e0000a00172c..."} 
[2026-07-08 07:42:53] local.INFO: Packet analysis {"connection_id":125209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f7f"} 
[2026-07-08 07:42:53] local.INFO: Extracted packet for processing {"connection_id":125209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f7f"} 
[2026-07-08 07:42:53] local.INFO: GPS Element Parsed {"raw_longitude":763237312,"raw_latitude":98636256,"longitude_deg":76.3237312,"latitude_deg":9.8636256,"altitude":10,"angle":23,"satellites":44,"speed":29,"hex_longitude":"2d7e13c0","hex_latitude":"05e111e0","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570049024001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103592201702866944,"note":"Value kept but may cause issues"} 
[2026-07-08 07:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084112317377486848,"note":"Value kept but may cause issues"} 
[2026-07-08 07:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783476757000,"timestamp_ms":1783476757000,"timestamp_seconds":1783476757,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f7fa208"} 
[2026-07-08 07:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:42: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-07-08 07: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-08 07:42:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570049024001,"66":13461,"60":206,"85":15104,"24":29,"16":103592201702866944,"45":9084112317377486848},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-08 07:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570049024001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:42:53] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-08 07:42:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103592201702866944,"km_value":103592201702866.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084112317377486848,"description":"Unknown IO ID 45"} 
[2026-07-08 07:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570049024001,"power":13461,"unknown_60":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9084112317377486848}} 
[2026-07-08 07:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":125209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449577,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:42:53] local.INFO: GPS data processed {"connection_id":125209,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:42:53] local.INFO: Acknowledgment sent {"connection_id":125209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:42:56] local.INFO: TCP Data received {"connection_id":127211,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:42:56] local.INFO: Processing buffer {"connection_id":127211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:42:56] local.INFO: IMEI packet received {"connection_id":127211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":127211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:43:02] local.INFO: TCP Data received {"connection_id":127211,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:43:02] local.INFO: Processing buffer {"connection_id":127211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:43:02] local.INFO: IMEI packet received {"connection_id":127211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":127211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:43:02] local.INFO: TCP Data received {"connection_id":127211,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f7ebf78012d96d600057af958000b01552f..."} 
[2026-07-08 07:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f7ebf78012d96d600057af958000b01552f..."} 
[2026-07-08 07:43:02] local.INFO: Processing buffer {"connection_id":127211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f7ebf78012d96d600057af958000b01552f..."} 
[2026-07-08 07:43:02] local.INFO: Packet analysis {"connection_id":127211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f7e"} 
[2026-07-08 07:43:02] local.INFO: Extracted packet for processing {"connection_id":127211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f7e"} 
[2026-07-08 07:43:02] local.INFO: GPS Element Parsed {"raw_longitude":764859904,"raw_latitude":91945304,"longitude_deg":76.4859904,"latitude_deg":9.1945304,"altitude":11,"angle":341,"satellites":47,"speed":29,"hex_longitude":"2d96d600","hex_latitude":"057af958","is_valid_coordinates":true} 
[2026-07-08 07:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570032128001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342317466245922816,"note":"Value kept but may cause issues"} 
[2026-07-08 07:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7574632337236320256,"note":"Value kept but may cause issues"} 
[2026-07-08 07:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783476699000,"timestamp_ms":1783476699000,"timestamp_seconds":1783476699,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f7ebf78"} 
[2026-07-08 07:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":108,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-07-08 07:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":927,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570032128001,"66":27691,"120":206,"85":15360,"24":29,"16":342317466245922816,"45":-7574632337236320256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-07-08 07:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570032128001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:43:02] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 07:43:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 07:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342317466245922816,"km_value":342317466245922.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7574632337236320256,"description":"Unknown IO ID 45"} 
[2026-07-08 07:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570032128001,"power":27691,"unknown_120":206,"unknown_85":15360,"ignition":29,"odometer":null,"unknown_45":-7574632337236320256}} 
[2026-07-08 07:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":127211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:43:02] local.INFO: GPS data processed {"connection_id":127211,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:43:02] local.INFO: Acknowledgment sent {"connection_id":127211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:43:24] local.INFO: TCP Data received {"connection_id":125209,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f7fa9d8012d7e16c005e116e0000a00232c..."} 
[2026-07-08 07:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f7fa9d8012d7e16c005e116e0000a00232c..."} 
[2026-07-08 07:43:24] local.INFO: Processing buffer {"connection_id":125209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f7fa9d8012d7e16c005e116e0000a00232c..."} 
[2026-07-08 07:43:24] local.INFO: Packet analysis {"connection_id":125209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f7f"} 
[2026-07-08 07:43:24] local.INFO: Extracted packet for processing {"connection_id":125209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f7f"} 
[2026-07-08 07:43:24] local.INFO: GPS Element Parsed {"raw_longitude":763238080,"raw_latitude":98637536,"longitude_deg":76.323808,"latitude_deg":9.8637536,"altitude":10,"angle":35,"satellites":44,"speed":27,"hex_longitude":"2d7e16c0","hex_latitude":"05e116e0","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570049792001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103592274717310976,"note":"Value kept but may cause issues"} 
[2026-07-08 07:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084816004819836928,"note":"Value kept but may cause issues"} 
[2026-07-08 07:43:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783476759000,"timestamp_ms":1783476759000,"timestamp_seconds":1783476759,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f7fa9d8"} 
[2026-07-08 07:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:43: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-07-08 07: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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-07-08 07:43:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:43:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570049792001,"66":13461,"60":206,"85":15104,"24":27,"16":103592274717310976,"45":9084816004819836928},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-08 07:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570049792001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:43:24] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-08 07:43:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103592274717310976,"km_value":103592274717310.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084816004819836928,"description":"Unknown IO ID 45"} 
[2026-07-08 07:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570049792001,"power":13461,"unknown_60":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9084816004819836928}} 
[2026-07-08 07:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":125209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449579,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:43:24] local.INFO: GPS data processed {"connection_id":125209,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:43:24] local.INFO: Acknowledgment sent {"connection_id":125209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:43:34] local.INFO: TCP Data received {"connection_id":127211,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f7eea70012d96c9c0057b1e18000b015635..."} 
[2026-07-08 07:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f7eea70012d96c9c0057b1e18000b015635..."} 
[2026-07-08 07:43:34] local.INFO: Processing buffer {"connection_id":127211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f7eea70012d96c9c0057b1e18000b015635..."} 
[2026-07-08 07:43:34] local.INFO: Packet analysis {"connection_id":127211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f7e"} 
[2026-07-08 07:43:34] local.INFO: Extracted packet for processing {"connection_id":127211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f7e"} 
[2026-07-08 07:43:34] local.INFO: GPS Element Parsed {"raw_longitude":764856768,"raw_latitude":91954712,"longitude_deg":76.4856768,"latitude_deg":9.1954712,"altitude":11,"angle":342,"satellites":53,"speed":41,"hex_longitude":"2d96c9c0","hex_latitude":"057b1e18","is_valid_coordinates":true} 
[2026-07-08 07:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570034944001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342317942987292672,"note":"Value kept but may cause issues"} 
[2026-07-08 07:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7577869299466283008,"note":"Value kept but may cause issues"} 
[2026-07-08 07:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783476710000,"timestamp_ms":1783476710000,"timestamp_seconds":1783476710,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f7eea70"} 
[2026-07-08 07:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:43: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-07-08 07: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 07:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570034944001,"66":27713,"120":206,"85":15360,"24":41,"16":342317942987292672,"45":-7577869299466283008},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-07-08 07:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570034944001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:43:34] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 07:43:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 07:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342317942987292672,"km_value":342317942987292.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7577869299466283008,"description":"Unknown IO ID 45"} 
[2026-07-08 07:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570034944001,"power":27713,"unknown_120":206,"unknown_85":15360,"ignition":41,"odometer":null,"unknown_45":-7577869299466283008}} 
[2026-07-08 07:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":127211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:43:34] local.INFO: GPS data processed {"connection_id":127211,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:43:34] local.INFO: Acknowledgment sent {"connection_id":127211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:43:47] local.INFO: TCP Data received {"connection_id":125943,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:43:47] local.INFO: Processing buffer {"connection_id":125943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:43:47] local.INFO: IMEI packet received {"connection_id":125943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":125943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:43:50] local.INFO: TCP Data received {"connection_id":125943,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:43:50] local.INFO: Processing buffer {"connection_id":125943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:43:50] local.INFO: IMEI packet received {"connection_id":125943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":125943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:43:51] local.INFO: TCP Data received {"connection_id":125943,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f7fbd60012d7e1dc005e12280000900112f..."} 
[2026-07-08 07:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f7fbd60012d7e1dc005e12280000900112f..."} 
[2026-07-08 07:43:51] local.INFO: Processing buffer {"connection_id":125943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f7fbd60012d7e1dc005e12280000900112f..."} 
[2026-07-08 07:43:51] local.INFO: Packet analysis {"connection_id":125943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f7f"} 
[2026-07-08 07:43:51] local.INFO: Extracted packet for processing {"connection_id":125943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f7f"} 
[2026-07-08 07:43:51] local.INFO: GPS Element Parsed {"raw_longitude":763239872,"raw_latitude":98640512,"longitude_deg":76.3239872,"latitude_deg":9.8640512,"altitude":9,"angle":17,"satellites":47,"speed":27,"hex_longitude":"2d7e1dc0","hex_latitude":"05e12280","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570050304001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103592446516002816,"note":"Value kept but may cause issues"} 
[2026-07-08 07:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085660429750296576,"note":"Value kept but may cause issues"} 
[2026-07-08 07:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783476764000,"timestamp_ms":1783476764000,"timestamp_seconds":1783476764,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f7fbd60"} 
[2026-07-08 07:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:43: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-07-08 07: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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-07-08 07:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570050304001,"66":13243,"60":206,"85":15104,"24":27,"16":103592446516002816,"45":9085660429750296576},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-08 07:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570050304001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:43:51] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-08 07:43:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103592446516002816,"km_value":103592446516002.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085660429750296576,"description":"Unknown IO ID 45"} 
[2026-07-08 07:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570050304001,"power":13243,"unknown_60":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9085660429750296576}} 
[2026-07-08 07:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":125943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449581,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:43:51] local.INFO: GPS data processed {"connection_id":125943,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:43:51] local.INFO: Acknowledgment sent {"connection_id":125943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:43:56] local.INFO: TCP Data received {"connection_id":125211,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:43:56] local.INFO: Processing buffer {"connection_id":125211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:43:56] local.INFO: IMEI packet received {"connection_id":125211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":125211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:44:01] local.INFO: TCP Data received {"connection_id":125211,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:44:01] local.INFO: Processing buffer {"connection_id":125211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:44:01] local.INFO: IMEI packet received {"connection_id":125211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":125211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:44:01] local.INFO: TCP Data received {"connection_id":125211,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:44:01] local.INFO: Processing buffer {"connection_id":125211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:44:01] local.INFO: IMEI packet received {"connection_id":125211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":125211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:44:02] local.INFO: TCP Data received {"connection_id":125211,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f800b80012d966400057c8768000b01542f..."} 
[2026-07-08 07:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f800b80012d966400057c8768000b01542f..."} 
[2026-07-08 07:44:02] local.INFO: Processing buffer {"connection_id":125211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f800b80012d966400057c8768000b01542f..."} 
[2026-07-08 07:44:02] local.INFO: Packet analysis {"connection_id":125211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f80"} 
[2026-07-08 07:44:02] local.INFO: Extracted packet for processing {"connection_id":125211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f80"} 
[2026-07-08 07:44:02] local.INFO: GPS Element Parsed {"raw_longitude":764830720,"raw_latitude":92047208,"longitude_deg":76.483072,"latitude_deg":9.2047208,"altitude":11,"angle":340,"satellites":47,"speed":60,"hex_longitude":"2d966400","hex_latitude":"057c8768","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570055168001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342322603026808832,"note":"Value kept but may cause issues"} 
[2026-07-08 07:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606509378322653184,"note":"Value kept but may cause issues"} 
[2026-07-08 07:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783476784000,"timestamp_ms":1783476784000,"timestamp_seconds":1783476784,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f800b80"} 
[2026-07-08 07:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:44: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-07-08 07: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-08 07:44:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570055168001,"66":27691,"236":206,"85":15360,"24":60,"16":342322603026808832,"45":-7606509378322653184},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-07-08 07:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570055168001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:44:02] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-08 07:44:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 07:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342322603026808832,"km_value":342322603026808.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606509378322653184,"description":"Unknown IO ID 45"} 
[2026-07-08 07:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570055168001,"power":27691,"unknown_236":206,"unknown_85":15360,"ignition":60,"odometer":null,"unknown_45":-7606509378322653184}} 
[2026-07-08 07:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":125211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:44:02] local.INFO: GPS data processed {"connection_id":125211,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:44:02] local.INFO: Acknowledgment sent {"connection_id":125211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:44:07] local.INFO: TCP Data received {"connection_id":125211,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f8022f0012d965840057ca918000b015430..."} 
[2026-07-08 07:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f8022f0012d965840057ca918000b015430..."} 
[2026-07-08 07:44:07] local.INFO: Processing buffer {"connection_id":125211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f8022f0012d965840057ca918000b015430..."} 
[2026-07-08 07:44:07] local.INFO: Packet analysis {"connection_id":125211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f80"} 
[2026-07-08 07:44:07] local.INFO: Extracted packet for processing {"connection_id":125211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f80"} 
[2026-07-08 07:44:07] local.INFO: GPS Element Parsed {"raw_longitude":764827712,"raw_latitude":92055832,"longitude_deg":76.4827712,"latitude_deg":9.2055832,"altitude":11,"angle":340,"satellites":48,"speed":60,"hex_longitude":"2d965840","hex_latitude":"057ca918","is_valid_coordinates":true} 
[2026-07-08 07:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570056704001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342323045408440320,"note":"Value kept but may cause issues"} 
[2026-07-08 07:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7609957446785210368,"note":"Value kept but may cause issues"} 
[2026-07-08 07:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783476790000,"timestamp_ms":1783476790000,"timestamp_seconds":1783476790,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f8022f0"} 
[2026-07-08 07:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 07:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570056704001,"66":27843,"236":206,"85":15360,"24":60,"16":342323045408440320,"45":-7609957446785210368},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-07-08 07:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570056704001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:44:07] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-08 07:44:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 07:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342323045408440320,"km_value":342323045408440.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7609957446785210368,"description":"Unknown IO ID 45"} 
[2026-07-08 07:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570056704001,"power":27843,"unknown_236":206,"unknown_85":15360,"ignition":60,"odometer":null,"unknown_45":-7609957446785210368}} 
[2026-07-08 07:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":125211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:44:07] local.INFO: GPS data processed {"connection_id":125211,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:44:07] local.INFO: Acknowledgment sent {"connection_id":125211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:44:22] local.INFO: TCP Data received {"connection_id":125943,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f80ea28012d7e250005e20e08000b011f2e..."} 
[2026-07-08 07:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f80ea28012d7e250005e20e08000b011f2e..."} 
[2026-07-08 07:44:22] local.INFO: Processing buffer {"connection_id":125943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f80ea28012d7e250005e20e08000b011f2e..."} 
[2026-07-08 07:44:22] local.INFO: Packet analysis {"connection_id":125943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f80"} 
[2026-07-08 07:44:22] local.INFO: Extracted packet for processing {"connection_id":125943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f80"} 
[2026-07-08 07:44:22] local.INFO: GPS Element Parsed {"raw_longitude":763241728,"raw_latitude":98700808,"longitude_deg":76.3241728,"latitude_deg":9.8700808,"altitude":11,"angle":287,"satellites":46,"speed":23,"hex_longitude":"2d7e2500","hex_latitude":"05e20e08","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570071040001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103595465878011904,"note":"Value kept but may cause issues"} 
[2026-07-08 07:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9090234398138001408,"note":"Value kept but may cause issues"} 
[2026-07-08 07:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783476841000,"timestamp_ms":1783476841000,"timestamp_seconds":1783476841,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f80ea28"} 
[2026-07-08 07:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:44: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-07-08 07: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-08 07:44:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570071040001,"66":13406,"60":206,"85":15104,"24":23,"16":103595465878011904,"45":9090234398138001408},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-08 07:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570071040001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:44:22] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-08 07:44:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103595465878011904,"km_value":103595465878011.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9090234398138001408,"description":"Unknown IO ID 45"} 
[2026-07-08 07:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570071040001,"power":13406,"unknown_60":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9090234398138001408}} 
[2026-07-08 07:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":125943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449584,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:44:22] local.INFO: GPS data processed {"connection_id":125943,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:44:22] local.INFO: Acknowledgment sent {"connection_id":125943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:44:38] local.INFO: TCP Data received {"connection_id":125211,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f803a60012d964b40057cc9e8000b015233..."} 
[2026-07-08 07:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f803a60012d964b40057cc9e8000b015233..."} 
[2026-07-08 07:44:38] local.INFO: Processing buffer {"connection_id":125211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f803a60012d964b40057cc9e8000b015233..."} 
[2026-07-08 07:44:38] local.INFO: Packet analysis {"connection_id":125211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f80"} 
[2026-07-08 07:44:38] local.INFO: Extracted packet for processing {"connection_id":125211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f80"} 
[2026-07-08 07:44:38] local.INFO: GPS Element Parsed {"raw_longitude":764824384,"raw_latitude":92064232,"longitude_deg":76.4824384,"latitude_deg":9.2064232,"altitude":11,"angle":338,"satellites":51,"speed":59,"hex_longitude":"2d964b40","hex_latitude":"057cc9e8","is_valid_coordinates":true} 
[2026-07-08 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-07-08 07:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570058240001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342323483495104512,"note":"Value kept but may cause issues"} 
[2026-07-08 07:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7613264777759352832,"note":"Value kept but may cause issues"} 
[2026-07-08 07:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783476796000,"timestamp_ms":1783476796000,"timestamp_seconds":1783476796,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f803a60"} 
[2026-07-08 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-07-08 07:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 07:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 07:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570058240001,"66":27789,"236":206,"85":15360,"24":59,"16":342323483495104512,"45":-7613264777759352832},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-07-08 07:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570058240001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:44:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-08 07:44:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 07:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342323483495104512,"km_value":342323483495104.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7613264777759352832,"description":"Unknown IO ID 45"} 
[2026-07-08 07:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570058240001,"power":27789,"unknown_236":206,"unknown_85":15360,"ignition":59,"odometer":null,"unknown_45":-7613264777759352832}} 
[2026-07-08 07:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":125211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:44:38] local.INFO: GPS data processed {"connection_id":125211,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:44:38] local.INFO: Acknowledgment sent {"connection_id":125211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:44:46] local.INFO: TCP Data received {"connection_id":125944,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125944,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:44:46] local.INFO: Processing buffer {"connection_id":125944,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:44:46] local.INFO: IMEI packet received {"connection_id":125944,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":125944,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:44:47] local.INFO: TCP Data received {"connection_id":125944,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125944,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:44:47] local.INFO: Processing buffer {"connection_id":125944,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:44:47] local.INFO: IMEI packet received {"connection_id":125944,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":125944,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:44:52] local.INFO: TCP Data received {"connection_id":125944,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125944,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:44:52] local.INFO: Processing buffer {"connection_id":125944,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:44:52] local.INFO: IMEI packet received {"connection_id":125944,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":125944,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:44:53] local.INFO: TCP Data received {"connection_id":125944,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f80fdb0012d7e170005e20f90000a01122b..."} 
[2026-07-08 07:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f80fdb0012d7e170005e20f90000a01122b..."} 
[2026-07-08 07:44:53] local.INFO: Processing buffer {"connection_id":125944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f80fdb0012d7e170005e20f90000a01122b..."} 
[2026-07-08 07:44:53] local.INFO: Packet analysis {"connection_id":125944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f80"} 
[2026-07-08 07:44:53] local.INFO: Extracted packet for processing {"connection_id":125944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f80"} 
[2026-07-08 07:44:53] local.INFO: GPS Element Parsed {"raw_longitude":763238144,"raw_latitude":98701200,"longitude_deg":76.3238144,"latitude_deg":9.87012,"altitude":10,"angle":274,"satellites":43,"speed":24,"hex_longitude":"2d7e1700","hex_latitude":"05e20f90","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570071296001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103595637676703744,"note":"Value kept but may cause issues"} 
[2026-07-08 07:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9089671448184621056,"note":"Value kept but may cause issues"} 
[2026-07-08 07:44:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783476846000,"timestamp_ms":1783476846000,"timestamp_seconds":1783476846,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f80fdb0"} 
[2026-07-08 07:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:44: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-07-08 07: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-08 07:44:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:44:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570071296001,"66":13363,"60":206,"85":15104,"24":24,"16":103595637676703744,"45":9089671448184621056},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-08 07:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570071296001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:44:53] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-08 07:44:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103595637676703744,"km_value":103595637676703.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9089671448184621056,"description":"Unknown IO ID 45"} 
[2026-07-08 07:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570071296001,"power":13363,"unknown_60":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9089671448184621056}} 
[2026-07-08 07:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":125944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449586,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:44:53] local.INFO: GPS data processed {"connection_id":125944,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:44:53] local.INFO: Acknowledgment sent {"connection_id":125944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:45:02] local.INFO: TCP Data received {"connection_id":127213,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:45:02] local.INFO: Processing buffer {"connection_id":127213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:45:02] local.INFO: IMEI packet received {"connection_id":127213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":127213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:45:02] local.INFO: TCP Data received {"connection_id":127213,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:45:02] local.INFO: Processing buffer {"connection_id":127213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:45:02] local.INFO: IMEI packet received {"connection_id":127213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":127213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:45:07] local.INFO: TCP Data received {"connection_id":127213,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:45:07] local.INFO: Processing buffer {"connection_id":127213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:45:07] local.INFO: IMEI packet received {"connection_id":127213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":127213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:45:08] local.INFO: TCP Data received {"connection_id":127213,"ip":"42.106.6.17","data_length":1348,"data_hex":"000000000000030f8e0a0000019f3f8051d0012d963f00057cead0000c015333..."} 
[2026-07-08 07:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127213,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019f3f8051d0012d963f00057cead0000c015333..."} 
[2026-07-08 07:45:08] local.INFO: Processing buffer {"connection_id":127213,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019f3f8051d0012d963f00057cead0000c015333..."} 
[2026-07-08 07:45:08] local.INFO: Packet analysis {"connection_id":127213,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019f3f80"} 
[2026-07-08 07:45:08] local.INFO: Extracted packet for processing {"connection_id":127213,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f3f80"} 
[2026-07-08 07:45:08] local.INFO: GPS Element Parsed {"raw_longitude":764821248,"raw_latitude":92072656,"longitude_deg":76.4821248,"latitude_deg":9.2072656,"altitude":12,"angle":339,"satellites":51,"speed":59,"hex_longitude":"2d963f00","hex_latitude":"057cead0","is_valid_coordinates":true} 
[2026-07-08 07:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570059776001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342323921581768704,"note":"Value kept but may cause issues"} 
[2026-07-08 07:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7616923952454440960,"note":"Value kept but may cause issues"} 
[2026-07-08 07:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783476802000,"timestamp_ms":1783476802000,"timestamp_seconds":1783476802,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f8051d0"} 
[2026-07-08 07:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-08 07:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":127213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":127213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":127213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570059776001,"66":27745,"236":206,"85":15360,"24":59,"16":342323921581768704,"45":-7616923952454440960},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-07-08 07:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570059776001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:45:08] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-08 07:45:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 07:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342323921581768704,"km_value":342323921581768.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7616923952454440960,"description":"Unknown IO ID 45"} 
[2026-07-08 07:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570059776001,"power":27745,"unknown_236":206,"unknown_85":15360,"ignition":59,"odometer":null,"unknown_45":-7616923952454440960}} 
[2026-07-08 07:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":127213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:45:08] local.INFO: GPS data processed {"connection_id":127213,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:45:08] local.INFO: Acknowledgment sent {"connection_id":127213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:45:08] local.INFO: Packet analysis {"connection_id":127213,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f3f80"} 
[2026-07-08 07:45:08] local.INFO: Incomplete packet, waiting for more data {"connection_id":127213,"needed":795,"available":553} 
[2026-07-08 07:45:08] local.INFO: TCP Data received {"connection_id":127213,"ip":"42.106.6.17","data_length":242,"data_hex":"0000000000019f3f7fbd60012d968680057c2028000c01573400360000000a00..."} 
[2026-07-08 07:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127213,"packet_length":242,"packet_hex":"0000000000019f3f7fbd60012d968680057c2028000c01573400360000000a00..."} 
[2026-07-08 07:45:08] local.INFO: Processing buffer {"connection_id":127213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f806940012d963300057d0bc8000c015533..."} 
[2026-07-08 07:45:08] local.INFO: Packet analysis {"connection_id":127213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f80"} 
[2026-07-08 07:45:08] local.INFO: Extracted packet for processing {"connection_id":127213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f80"} 
[2026-07-08 07:45:08] local.INFO: GPS Element Parsed {"raw_longitude":764818176,"raw_latitude":92081096,"longitude_deg":76.4818176,"latitude_deg":9.2081096,"altitude":12,"angle":341,"satellites":51,"speed":59,"hex_longitude":"2d963300","hex_latitude":"057d0bc8","is_valid_coordinates":true} 
[2026-07-08 07:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570061312001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342324355373465600,"note":"Value kept but may cause issues"} 
[2026-07-08 07:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7620372020916989952,"note":"Value kept but may cause issues"} 
[2026-07-08 07:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783476808000,"timestamp_ms":1783476808000,"timestamp_seconds":1783476808,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f806940"} 
[2026-07-08 07:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 07:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":127213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":127213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":127213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570061312001,"66":27713,"236":206,"85":15360,"24":59,"16":342324355373465600,"45":-7620372020916989952},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-07-08 07:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570061312001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:45:08] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-08 07:45:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 07:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342324355373465600,"km_value":342324355373465.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7620372020916989952,"description":"Unknown IO ID 45"} 
[2026-07-08 07:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570061312001,"power":27713,"unknown_236":206,"unknown_85":15360,"ignition":59,"odometer":null,"unknown_45":-7620372020916989952}} 
[2026-07-08 07:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":127213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:45:08] local.INFO: GPS data processed {"connection_id":127213,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:45:08] local.INFO: Acknowledgment sent {"connection_id":127213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:45:12] local.INFO: TCP Data received {"connection_id":127213,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f8080b0012d962840057d2d18000c015535..."} 
[2026-07-08 07:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f8080b0012d962840057d2d18000c015535..."} 
[2026-07-08 07:45:12] local.INFO: Processing buffer {"connection_id":127213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f8080b0012d962840057d2d18000c015535..."} 
[2026-07-08 07:45:12] local.INFO: Packet analysis {"connection_id":127213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f80"} 
[2026-07-08 07:45:12] local.INFO: Extracted packet for processing {"connection_id":127213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f80"} 
[2026-07-08 07:45:12] local.INFO: GPS Element Parsed {"raw_longitude":764815424,"raw_latitude":92089624,"longitude_deg":76.4815424,"latitude_deg":9.2089624,"altitude":12,"angle":341,"satellites":53,"speed":59,"hex_longitude":"2d962840","hex_latitude":"057d2d18","is_valid_coordinates":true} 
[2026-07-08 07:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570062848001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342324789165162496,"note":"Value kept but may cause issues"} 
[2026-07-08 07:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7623749720635357184,"note":"Value kept but may cause issues"} 
[2026-07-08 07:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783476814000,"timestamp_ms":1783476814000,"timestamp_seconds":1783476814,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f8080b0"} 
[2026-07-08 07:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 07:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":127213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":127213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":127213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570062848001,"66":27691,"236":206,"85":15360,"24":59,"16":342324789165162496,"45":-7623749720635357184},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-07-08 07:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570062848001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:45:12] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-08 07:45:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 07:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342324789165162496,"km_value":342324789165162.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7623749720635357184,"description":"Unknown IO ID 45"} 
[2026-07-08 07:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570062848001,"power":27691,"unknown_236":206,"unknown_85":15360,"ignition":59,"odometer":null,"unknown_45":-7623749720635357184}} 
[2026-07-08 07:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":127213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:45:12] local.INFO: GPS data processed {"connection_id":127213,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:45:12] local.INFO: Acknowledgment sent {"connection_id":127213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:45:17] local.INFO: TCP Data received {"connection_id":127212,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127212,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:45:17] local.INFO: Processing buffer {"connection_id":127212,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:45:17] local.INFO: IMEI packet received {"connection_id":127212,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 07:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":127212,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:45:24] local.INFO: TCP Data received {"connection_id":125944,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f8124c0012d7e0f8005e21000000901212d..."} 
[2026-07-08 07:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f8124c0012d7e0f8005e21000000901212d..."} 
[2026-07-08 07:45:24] local.INFO: Processing buffer {"connection_id":125944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f8124c0012d7e0f8005e21000000901212d..."} 
[2026-07-08 07:45:24] local.INFO: Packet analysis {"connection_id":125944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f81"} 
[2026-07-08 07:45:24] local.INFO: Extracted packet for processing {"connection_id":125944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f81"} 
[2026-07-08 07:45:24] local.INFO: GPS Element Parsed {"raw_longitude":763236224,"raw_latitude":98701312,"longitude_deg":76.3236224,"latitude_deg":9.8701312,"altitude":9,"angle":289,"satellites":45,"speed":8,"hex_longitude":"2d7e0f80","hex_latitude":"05e21000","is_valid_coordinates":true} 
[2026-07-08 07:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570072576001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103595732165984256,"note":"Value kept but may cause issues"} 
[2026-07-08 07:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085730798510772224,"note":"Value kept but may cause issues"} 
[2026-07-08 07:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783476856000,"timestamp_ms":1783476856000,"timestamp_seconds":1783476856,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f8124c0"} 
[2026-07-08 07:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:45: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-07-08 07:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-08 07:45:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:45:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:45:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570072576001,"66":13341,"61":206,"85":15104,"24":8,"16":103595732165984256,"45":9085730798510772224},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-08 07:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570072576001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:45:24] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-08 07:45:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103595732165984256,"km_value":103595732165984.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085730798510772224,"description":"Unknown IO ID 45"} 
[2026-07-08 07:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570072576001,"power":13341,"unknown_61":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9085730798510772224}} 
[2026-07-08 07:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":125944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449590,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:45:24] local.INFO: GPS data processed {"connection_id":125944,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:45:24] local.INFO: Acknowledgment sent {"connection_id":125944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:45:47] local.INFO: TCP Data received {"connection_id":125115,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125115,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:45:47] local.INFO: Processing buffer {"connection_id":125115,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:45:47] local.INFO: IMEI packet received {"connection_id":125115,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":125115,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:45:52] local.INFO: TCP Data received {"connection_id":125115,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125115,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:45:52] local.INFO: Processing buffer {"connection_id":125115,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:45:52] local.INFO: IMEI packet received {"connection_id":125115,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":125115,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:45:53] local.INFO: TCP Data received {"connection_id":125115,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f814400012d7e024005e212c8000901102c..."} 
[2026-07-08 07:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f814400012d7e024005e212c8000901102c..."} 
[2026-07-08 07:45:53] local.INFO: Processing buffer {"connection_id":125115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f814400012d7e024005e212c8000901102c..."} 
[2026-07-08 07:45:53] local.INFO: Packet analysis {"connection_id":125115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f81"} 
[2026-07-08 07:45:53] local.INFO: Extracted packet for processing {"connection_id":125115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f81"} 
[2026-07-08 07:45:53] local.INFO: GPS Element Parsed {"raw_longitude":763232832,"raw_latitude":98702024,"longitude_deg":76.3232832,"latitude_deg":9.8702024,"altitude":9,"angle":272,"satellites":44,"speed":23,"hex_longitude":"2d7e0240","hex_latitude":"05e212c8","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570075136001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103595899669708800,"note":"Value kept but may cause issues"} 
[2026-07-08 07:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9083619736185470976,"note":"Value kept but may cause issues"} 
[2026-07-08 07:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783476864000,"timestamp_ms":1783476864000,"timestamp_seconds":1783476864,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f814400"} 
[2026-07-08 07:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07: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-07-08 07: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-08 07:45:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570075136001,"66":13298,"61":206,"85":15104,"24":23,"16":103595899669708800,"45":9083619736185470976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-08 07:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570075136001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:45:53] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-08 07:45:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103595899669708800,"km_value":103595899669708.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9083619736185470976,"description":"Unknown IO ID 45"} 
[2026-07-08 07:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570075136001,"power":13298,"unknown_61":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9083619736185470976}} 
[2026-07-08 07:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":125115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449591,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:45:53] local.INFO: GPS data processed {"connection_id":125115,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:45:53] local.INFO: Acknowledgment sent {"connection_id":125115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:45:53] local.INFO: TCP Data received {"connection_id":125116,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:45:53] local.INFO: Processing buffer {"connection_id":125116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:45:53] local.INFO: IMEI packet received {"connection_id":125116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":125116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:45:57] local.INFO: TCP Data received {"connection_id":125116,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:45:57] local.INFO: Processing buffer {"connection_id":125116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:45:57] local.INFO: IMEI packet received {"connection_id":125116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":125116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:46:00] local.INFO: TCP Data received {"connection_id":125116,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:46:00] local.INFO: Processing buffer {"connection_id":125116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:46:00] local.INFO: IMEI packet received {"connection_id":125116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":125116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:46:00] local.INFO: TCP Data received {"connection_id":125116,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f81d488012d95a540057eb378000a015734..."} 
[2026-07-08 07:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f81d488012d95a540057eb378000a015734..."} 
[2026-07-08 07:46:00] local.INFO: Processing buffer {"connection_id":125116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f81d488012d95a540057eb378000a015734..."} 
[2026-07-08 07:46:00] local.INFO: Packet analysis {"connection_id":125116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f81"} 
[2026-07-08 07:46:00] local.INFO: Extracted packet for processing {"connection_id":125116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f81"} 
[2026-07-08 07:46:00] local.INFO: GPS Element Parsed {"raw_longitude":764781888,"raw_latitude":92189560,"longitude_deg":76.4781888,"latitude_deg":9.218956,"altitude":10,"angle":343,"satellites":52,"speed":52,"hex_longitude":"2d95a540","hex_latitude":"057eb378","is_valid_coordinates":true} 
[2026-07-08 07:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570084608001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342329895881277440,"note":"Value kept but may cause issues"} 
[2026-07-08 07:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7660341467582433280,"note":"Value kept but may cause issues"} 
[2026-07-08 07:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783476901000,"timestamp_ms":1783476901000,"timestamp_seconds":1783476901,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f81d488"} 
[2026-07-08 07:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 07:46:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:46:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570084608001,"66":27745,"236":206,"85":15360,"24":52,"16":342329895881277440,"45":-7660341467582433280},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-07-08 07:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570084608001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:46:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-08 07:46:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 07:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342329895881277440,"km_value":342329895881277.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7660341467582433280,"description":"Unknown IO ID 45"} 
[2026-07-08 07:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570084608001,"power":27745,"unknown_236":206,"unknown_85":15360,"ignition":52,"odometer":null,"unknown_45":-7660341467582433280}} 
[2026-07-08 07:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":125116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:46:00] local.INFO: GPS data processed {"connection_id":125116,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:46:00] local.INFO: Acknowledgment sent {"connection_id":125116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:46:01] local.INFO: TCP Data received {"connection_id":125116,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f81efe0012d959a40057ed5b8000a015533..."} 
[2026-07-08 07:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f81efe0012d959a40057ed5b8000a015533..."} 
[2026-07-08 07:46:01] local.INFO: Processing buffer {"connection_id":125116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f81efe0012d959a40057ed5b8000a015533..."} 
[2026-07-08 07:46:01] local.INFO: Packet analysis {"connection_id":125116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f81"} 
[2026-07-08 07:46:01] local.INFO: Extracted packet for processing {"connection_id":125116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f81"} 
[2026-07-08 07:46:01] local.INFO: GPS Element Parsed {"raw_longitude":764779072,"raw_latitude":92198328,"longitude_deg":76.4779072,"latitude_deg":9.2198328,"altitude":10,"angle":341,"satellites":51,"speed":53,"hex_longitude":"2d959a40","hex_latitude":"057ed5b8","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570086656001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342330342557876224,"note":"Value kept but may cause issues"} 
[2026-07-08 07:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7663648798556325888,"note":"Value kept but may cause issues"} 
[2026-07-08 07:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783476908000,"timestamp_ms":1783476908000,"timestamp_seconds":1783476908,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f81efe0"} 
[2026-07-08 07:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 07:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570086656001,"66":27745,"236":206,"85":15360,"24":53,"16":342330342557876224,"45":-7663648798556325888},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-07-08 07:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570086656001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:46:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-08 07:46:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 07:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342330342557876224,"km_value":342330342557876.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7663648798556325888,"description":"Unknown IO ID 45"} 
[2026-07-08 07:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570086656001,"power":27745,"unknown_236":206,"unknown_85":15360,"ignition":53,"odometer":null,"unknown_45":-7663648798556325888}} 
[2026-07-08 07:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":125116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:46:01] local.INFO: GPS data processed {"connection_id":125116,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:46:01] local.INFO: Acknowledgment sent {"connection_id":125116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:46:02] local.INFO: TCP Data received {"connection_id":125945,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125945,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:46:02] local.INFO: Processing buffer {"connection_id":125945,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:46:02] local.INFO: IMEI packet received {"connection_id":125945,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 07:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":125945,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:46:24] local.INFO: TCP Data received {"connection_id":125115,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f82bee8012d7cd70005e205c8000a01052e..."} 
[2026-07-08 07:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f82bee8012d7cd70005e205c8000a01052e..."} 
[2026-07-08 07:46:24] local.INFO: Processing buffer {"connection_id":125115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f82bee8012d7cd70005e205c8000a01052e..."} 
[2026-07-08 07:46:24] local.INFO: Packet analysis {"connection_id":125115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f82"} 
[2026-07-08 07:46:24] local.INFO: Extracted packet for processing {"connection_id":125115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f82"} 
[2026-07-08 07:46:24] local.INFO: GPS Element Parsed {"raw_longitude":763156224,"raw_latitude":98698696,"longitude_deg":76.3156224,"latitude_deg":9.8698696,"altitude":10,"angle":261,"satellites":46,"speed":27,"hex_longitude":"2d7cd700","hex_latitude":"05e205c8","is_valid_coordinates":true} 
[2026-07-08 07:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570101248001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103599631996289024,"note":"Value kept but may cause issues"} 
[2026-07-08 07:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8997910605776547840,"note":"Value kept but may cause issues"} 
[2026-07-08 07:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783476961000,"timestamp_ms":1783476961000,"timestamp_seconds":1783476961,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f82bee8"} 
[2026-07-08 07:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:46:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-08 07:46:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 07:46:24] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-08 07:46:24] local.WARNING: Large IO value detected {"io_id":63,"raw_value":2182541313,"note":"Value kept but may cause issues"} 
[2026-07-08 07:46:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805792974,"corrected_to":0} 
[2026-07-08 07:46:24] local.WARNING: Large IO value detected {"io_id":243,"raw_value":3355520381,"note":"Value kept but may cause issues"} 
[2026-07-08 07:46:24] local.WARNING: Large IO value detected {"io_id":115,"raw_value":2147869186,"note":"Value kept but may cause issues"} 
[2026-07-08 07:46:24] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3321941415,"note":"Value kept but may cause issues"} 
[2026-07-08 07:46:24] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3791613952,"note":"Value kept but may cause issues"} 
[2026-07-08 07:46:24] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57886250674050363,"note":"Value kept but may cause issues"} 
[2026-07-08 07:46:24] local.WARNING: Large IO value detected {"io_id":129,"raw_value":-7635851873311883259,"note":"Value kept but may cause issues"} 
[2026-07-08 07:46:24] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-324259125908198400,"note":"Value kept but may cause issues"} 
[2026-07-08 07:46:24] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,61,85,24,241,157,16,15,159,155,45,64,11,10,46,66,104,14,58,128,1,240,117,227,63,226,4,113,205,243,115,136,44,239,51,2,112,5,21,7,129,225],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2805792974,"validated":0}]} 
[2026-07-08 07:46:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720849916344860672,"timestamp_seconds":720849916344860.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 07:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570101248001,"66":13015,"61":206,"85":15104,"24":27,"16":103599631996289024,"45":8997910605776547840},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-08 07:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570101248001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:46:24] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-08 07:46:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103599631996289024,"km_value":103599631996289.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8997910605776547840,"description":"Unknown IO ID 45"} 
[2026-07-08 07:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570101248001,"power":13015,"unknown_61":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8997910605776547840}} 
[2026-07-08 07:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":125115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449594,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:46:24] local.INFO: GPS data processed {"connection_id":125115,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:46:24] local.INFO: Acknowledgment sent {"connection_id":125115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:46:32] local.INFO: TCP Data received {"connection_id":125116,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f820b38012d958ec0057efa40000a015733..."} 
[2026-07-08 07:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f820b38012d958ec0057efa40000a015733..."} 
[2026-07-08 07:46:32] local.INFO: Processing buffer {"connection_id":125116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f820b38012d958ec0057efa40000a015733..."} 
[2026-07-08 07:46:32] local.INFO: Packet analysis {"connection_id":125116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f82"} 
[2026-07-08 07:46:32] local.INFO: Extracted packet for processing {"connection_id":125116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f82"} 
[2026-07-08 07:46:32] local.INFO: GPS Element Parsed {"raw_longitude":764776128,"raw_latitude":92207680,"longitude_deg":76.4776128,"latitude_deg":9.220768,"altitude":10,"angle":343,"satellites":51,"speed":57,"hex_longitude":"2d958ec0","hex_latitude":"057efa40","is_valid_coordinates":true} 
[2026-07-08 07:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570088448001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342330815004278784,"note":"Value kept but may cause issues"} 
[2026-07-08 07:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7666745023297898496,"note":"Value kept but may cause issues"} 
[2026-07-08 07:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783476915000,"timestamp_ms":1783476915000,"timestamp_seconds":1783476915,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f820b38"} 
[2026-07-08 07:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 07:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570088448001,"66":27593,"236":206,"85":15360,"24":57,"16":342330815004278784,"45":-7666745023297898496},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-07-08 07:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570088448001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:46:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-08 07:46:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 07:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342330815004278784,"km_value":342330815004278.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7666745023297898496,"description":"Unknown IO ID 45"} 
[2026-07-08 07:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570088448001,"power":27593,"unknown_236":206,"unknown_85":15360,"ignition":57,"odometer":null,"unknown_45":-7666745023297898496}} 
[2026-07-08 07:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":125116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:46:32] local.INFO: GPS data processed {"connection_id":125116,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:46:32] local.INFO: Acknowledgment sent {"connection_id":125116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:46:47] local.INFO: TCP Data received {"connection_id":125212,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125212,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:46:47] local.INFO: Processing buffer {"connection_id":125212,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:46:47] local.INFO: IMEI packet received {"connection_id":125212,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":125212,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:46:48] local.INFO: TCP Data received {"connection_id":125212,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125212,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:46:48] local.INFO: Processing buffer {"connection_id":125212,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:46:48] local.INFO: IMEI packet received {"connection_id":125212,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":125212,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:46:52] local.INFO: TCP Data received {"connection_id":125212,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125212,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:46:52] local.INFO: Processing buffer {"connection_id":125212,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:46:52] local.INFO: IMEI packet received {"connection_id":125212,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":125212,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:46:53] local.INFO: TCP Data received {"connection_id":125212,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f82caa0012d7cce0005e20550000a01102d..."} 
[2026-07-08 07:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f82caa0012d7cce0005e20550000a01102d..."} 
[2026-07-08 07:46:53] local.INFO: Processing buffer {"connection_id":125212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f82caa0012d7cce0005e20550000a01102d..."} 
[2026-07-08 07:46:53] local.INFO: Packet analysis {"connection_id":125212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f82"} 
[2026-07-08 07:46:53] local.INFO: Extracted packet for processing {"connection_id":125212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f82"} 
[2026-07-08 07:46:53] local.INFO: GPS Element Parsed {"raw_longitude":763153920,"raw_latitude":98698576,"longitude_deg":76.315392,"latitude_deg":9.8698576,"altitude":10,"angle":272,"satellites":45,"speed":34,"hex_longitude":"2d7cce00","hex_latitude":"05e20550","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570102016001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103599743665438720,"note":"Value kept but may cause issues"} 
[2026-07-08 07:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8995658805962721280,"note":"Value kept but may cause issues"} 
[2026-07-08 07:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783476964000,"timestamp_ms":1783476964000,"timestamp_seconds":1783476964,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f82caa0"} 
[2026-07-08 07:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07: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-07-08 07: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-08 07:46:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570102016001,"66":13515,"61":206,"85":15104,"24":34,"16":103599743665438720,"45":8995658805962721280},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-08 07:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570102016001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:46:53] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-08 07:46:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103599743665438720,"km_value":103599743665438.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8995658805962721280,"description":"Unknown IO ID 45"} 
[2026-07-08 07:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570102016001,"power":13515,"unknown_61":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8995658805962721280}} 
[2026-07-08 07:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":125212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449596,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:46:53] local.INFO: GPS data processed {"connection_id":125212,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:46:53] local.INFO: Acknowledgment sent {"connection_id":125212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:46:57] local.INFO: TCP Data received {"connection_id":125946,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:46:57] local.INFO: Processing buffer {"connection_id":125946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:46:57] local.INFO: IMEI packet received {"connection_id":125946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":125946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:46:58] local.INFO: TCP Data received {"connection_id":125946,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:46:58] local.INFO: Processing buffer {"connection_id":125946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:46:58] local.INFO: IMEI packet received {"connection_id":125946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":125946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:46:59] local.INFO: TCP Data received {"connection_id":125946,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f822690012d9583c0057f20d00009015833..."} 
[2026-07-08 07:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f822690012d9583c0057f20d00009015833..."} 
[2026-07-08 07:46:59] local.INFO: Processing buffer {"connection_id":125946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f822690012d9583c0057f20d00009015833..."} 
[2026-07-08 07:46:59] local.INFO: Packet analysis {"connection_id":125946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f82"} 
[2026-07-08 07:46:59] local.INFO: Extracted packet for processing {"connection_id":125946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f82"} 
[2026-07-08 07:46:59] local.INFO: GPS Element Parsed {"raw_longitude":764773312,"raw_latitude":92217552,"longitude_deg":76.4773312,"latitude_deg":9.2217552,"altitude":9,"angle":344,"satellites":51,"speed":57,"hex_longitude":"2d9583c0","hex_latitude":"057f20d0","is_valid_coordinates":true} 
[2026-07-08 07:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570090240001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342331313220485120,"note":"Value kept but may cause issues"} 
[2026-07-08 07:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7669981985527676928,"note":"Value kept but may cause issues"} 
[2026-07-08 07:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783476922000,"timestamp_ms":1783476922000,"timestamp_seconds":1783476922,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f822690"} 
[2026-07-08 07:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-08 07:46:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:46:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":125946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":125946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":125946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570090240001,"66":27767,"236":206,"85":15360,"24":57,"16":342331313220485120,"45":-7669981985527676928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-07-08 07:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570090240001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:46:59] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-08 07:46:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 07:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342331313220485120,"km_value":342331313220485.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7669981985527676928,"description":"Unknown IO ID 45"} 
[2026-07-08 07:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570090240001,"power":27767,"unknown_236":206,"unknown_85":15360,"ignition":57,"odometer":null,"unknown_45":-7669981985527676928}} 
[2026-07-08 07:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":125946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:46:59] local.INFO: GPS data processed {"connection_id":125946,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:46:59] local.INFO: Acknowledgment sent {"connection_id":125946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:47:25] local.INFO: TCP Data received {"connection_id":125212,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f83bcd0012d7c364005e1de50000700fd29..."} 
[2026-07-08 07:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f83bcd0012d7c364005e1de50000700fd29..."} 
[2026-07-08 07:47:25] local.INFO: Processing buffer {"connection_id":125212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f83bcd0012d7c364005e1de50000700fd29..."} 
[2026-07-08 07:47:25] local.INFO: Packet analysis {"connection_id":125212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f83"} 
[2026-07-08 07:47:25] local.INFO: Extracted packet for processing {"connection_id":125212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f83"} 
[2026-07-08 07:47:25] local.INFO: GPS Element Parsed {"raw_longitude":763115072,"raw_latitude":98688592,"longitude_deg":76.3115072,"latitude_deg":9.8688592,"altitude":7,"angle":253,"satellites":41,"speed":16,"hex_longitude":"2d7c3640","hex_latitude":"05e1de50","is_valid_coordinates":true} 
[2026-07-08 07:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570118144001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103601934098759680,"note":"Value kept but may cause issues"} 
[2026-07-08 07:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951185759639937024,"note":"Value kept but may cause issues"} 
[2026-07-08 07:47:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783477026000,"timestamp_ms":1783477026000,"timestamp_seconds":1783477026,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f83bcd0"} 
[2026-07-08 07:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-08 07:47:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:47:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":125212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":125212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":125212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570118144001,"66":13189,"169":206,"85":15104,"24":16,"16":103601934098759680,"45":8951185759639937024},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-08 07:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570118144001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:47:25] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-08 07:47:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103601934098759680,"km_value":103601934098759.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951185759639937024,"description":"Unknown IO ID 45"} 
[2026-07-08 07:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570118144001,"power":13189,"unknown_169":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8951185759639937024}} 
[2026-07-08 07:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":125212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449598,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:47:25] local.INFO: GPS data processed {"connection_id":125212,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:47:25] local.INFO: Acknowledgment sent {"connection_id":125212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:47:30] local.INFO: TCP Data received {"connection_id":125946,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f833fd0012d94eb400580a090000a015433..."} 
[2026-07-08 07:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f833fd0012d94eb400580a090000a015433..."} 
[2026-07-08 07:47:30] local.INFO: Processing buffer {"connection_id":125946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f833fd0012d94eb400580a090000a015433..."} 
[2026-07-08 07:47:30] local.INFO: Packet analysis {"connection_id":125946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f83"} 
[2026-07-08 07:47:30] local.INFO: Extracted packet for processing {"connection_id":125946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f83"} 
[2026-07-08 07:47:30] local.INFO: GPS Element Parsed {"raw_longitude":764734272,"raw_latitude":92315792,"longitude_deg":76.4734272,"latitude_deg":9.2315792,"altitude":10,"angle":340,"satellites":51,"speed":58,"hex_longitude":"2d94eb40","hex_latitude":"0580a090","is_valid_coordinates":true} 
[2026-07-08 07:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570108672001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342336445706403840,"note":"Value kept but may cause issues"} 
[2026-07-08 07:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7712203232009123840,"note":"Value kept but may cause issues"} 
[2026-07-08 07:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783476994000,"timestamp_ms":1783476994000,"timestamp_seconds":1783476994,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f833fd0"} 
[2026-07-08 07:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:47:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-08 07:47:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:47:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":125946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":125946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":125946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570108672001,"66":27745,"237":206,"85":15360,"24":58,"16":342336445706403840,"45":-7712203232009123840},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-07-08 07:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570108672001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:47:30] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-08 07:47:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 07:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342336445706403840,"km_value":342336445706403.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7712203232009123840,"description":"Unknown IO ID 45"} 
[2026-07-08 07:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570108672001,"power":27745,"unknown_237":206,"unknown_85":15360,"ignition":58,"odometer":null,"unknown_45":-7712203232009123840}} 
[2026-07-08 07:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":125946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:47:30] local.INFO: GPS data processed {"connection_id":125946,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:47:30] local.INFO: Acknowledgment sent {"connection_id":125946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:47:52] local.INFO: TCP Data received {"connection_id":125948,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:47:52] local.INFO: Processing buffer {"connection_id":125948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:47:52] local.INFO: IMEI packet received {"connection_id":125948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":125948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:47:53] local.INFO: TCP Data received {"connection_id":125948,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:47:53] local.INFO: Processing buffer {"connection_id":125948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:47:53] local.INFO: IMEI packet received {"connection_id":125948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":125948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:47:54] local.INFO: TCP Data received {"connection_id":125948,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f83c4a0012d7c32c005e1dd900008010c2c..."} 
[2026-07-08 07:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f83c4a0012d7c32c005e1dd900008010c2c..."} 
[2026-07-08 07:47:54] local.INFO: Processing buffer {"connection_id":125948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f83c4a0012d7c32c005e1dd900008010c2c..."} 
[2026-07-08 07:47:54] local.INFO: Packet analysis {"connection_id":125948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f83"} 
[2026-07-08 07:47:54] local.INFO: Extracted packet for processing {"connection_id":125948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f83"} 
[2026-07-08 07:47:54] local.INFO: GPS Element Parsed {"raw_longitude":763114176,"raw_latitude":98688400,"longitude_deg":76.3114176,"latitude_deg":9.86884,"altitude":8,"angle":268,"satellites":44,"speed":20,"hex_longitude":"2d7c32c0","hex_latitude":"05e1dd90","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570118656001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103601981343399936,"note":"Value kept but may cause issues"} 
[2026-07-08 07:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950411703453896704,"note":"Value kept but may cause issues"} 
[2026-07-08 07:47:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783477028000,"timestamp_ms":1783477028000,"timestamp_seconds":1783477028,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f83c4a0"} 
[2026-07-08 07:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:47:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-08 07:47:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":125948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":125948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":125948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:47:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570118656001,"66":13276,"169":206,"85":15104,"24":20,"16":103601981343399936,"45":8950411703453896704},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-08 07:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570118656001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:47:54] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-08 07:47:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103601981343399936,"km_value":103601981343399.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950411703453896704,"description":"Unknown IO ID 45"} 
[2026-07-08 07:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570118656001,"power":13276,"unknown_169":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8950411703453896704}} 
[2026-07-08 07:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":125948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449600,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:47:54] local.INFO: GPS data processed {"connection_id":125948,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:47:54] local.INFO: Acknowledgment sent {"connection_id":125948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:47:55] local.INFO: TCP Data received {"connection_id":125948,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f83f380012d7c0f0005e1dbe8000801062c..."} 
[2026-07-08 07:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f83f380012d7c0f0005e1dbe8000801062c..."} 
[2026-07-08 07:47:55] local.INFO: Processing buffer {"connection_id":125948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f83f380012d7c0f0005e1dbe8000801062c..."} 
[2026-07-08 07:47:55] local.INFO: Packet analysis {"connection_id":125948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f83"} 
[2026-07-08 07:47:55] local.INFO: Extracted packet for processing {"connection_id":125948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f83"} 
[2026-07-08 07:47:55] local.INFO: GPS Element Parsed {"raw_longitude":763105024,"raw_latitude":98687976,"longitude_deg":76.3105024,"latitude_deg":9.8687976,"altitude":8,"angle":262,"satellites":44,"speed":31,"hex_longitude":"2d7c0f00","hex_latitude":"05e1dbe8","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570119168001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103602419430064128,"note":"Value kept but may cause issues"} 
[2026-07-08 07:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949426541035360256,"note":"Value kept but may cause issues"} 
[2026-07-08 07:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783477040000,"timestamp_ms":1783477040000,"timestamp_seconds":1783477040,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f83f380"} 
[2026-07-08 07:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:47: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-07-08 07: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-08 07:47:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":125948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":125948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":125948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570119168001,"66":13341,"43":206,"85":15104,"24":31,"16":103602419430064128,"45":8949426541035360256},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-08 07:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570119168001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:47:55] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-08 07:47:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103602419430064128,"km_value":103602419430064.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949426541035360256,"description":"Unknown IO ID 45"} 
[2026-07-08 07:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570119168001,"power":13341,"unknown_43":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8949426541035360256}} 
[2026-07-08 07:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":125948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449601,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:47:55] local.INFO: GPS data processed {"connection_id":125948,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:47:55] local.INFO: Acknowledgment sent {"connection_id":125948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:47:56] local.INFO: TCP Data received {"connection_id":127214,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:47:56] local.INFO: Processing buffer {"connection_id":127214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:47:56] local.INFO: IMEI packet received {"connection_id":127214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":127214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:47:59] local.INFO: TCP Data received {"connection_id":127214,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:47:59] local.INFO: Processing buffer {"connection_id":127214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:47:59] local.INFO: IMEI packet received {"connection_id":127214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":127214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:48:00] local.INFO: TCP Data received {"connection_id":127214,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f835b28012d94ddc00580c640000a015533..."} 
[2026-07-08 07:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f835b28012d94ddc00580c640000a015533..."} 
[2026-07-08 07:48:00] local.INFO: Processing buffer {"connection_id":127214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f835b28012d94ddc00580c640000a015533..."} 
[2026-07-08 07:48:00] local.INFO: Packet analysis {"connection_id":127214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f83"} 
[2026-07-08 07:48:00] local.INFO: Extracted packet for processing {"connection_id":127214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f83"} 
[2026-07-08 07:48:00] local.INFO: GPS Element Parsed {"raw_longitude":764730816,"raw_latitude":92325440,"longitude_deg":76.4730816,"latitude_deg":9.232544,"altitude":10,"angle":341,"satellites":51,"speed":58,"hex_longitude":"2d94ddc0","hex_latitude":"0580c640","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570110464001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342336939627642880,"note":"Value kept but may cause issues"} 
[2026-07-08 07:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7716003144192192512,"note":"Value kept but may cause issues"} 
[2026-07-08 07:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783477001000,"timestamp_ms":1783477001000,"timestamp_seconds":1783477001,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f835b28"} 
[2026-07-08 07:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 07:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":127214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":127214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":127214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570110464001,"66":27745,"19":206,"85":15360,"24":58,"16":342336939627642880,"45":-7716003144192192512},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-07-08 07:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570110464001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:48:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-08 07:48:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 07:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342336939627642880,"km_value":342336939627642.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7716003144192192512,"description":"Unknown IO ID 45"} 
[2026-07-08 07:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570110464001,"power":27745,"unknown_19":206,"unknown_85":15360,"ignition":58,"odometer":null,"unknown_45":-7716003144192192512}} 
[2026-07-08 07:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":127214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:48:00] local.INFO: GPS data processed {"connection_id":127214,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:48:00] local.INFO: Acknowledgment sent {"connection_id":127214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:48:26] local.INFO: TCP Data received {"connection_id":125948,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f841a90012d7bf38005e1d940000801112f..."} 
[2026-07-08 07:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f841a90012d7bf38005e1d940000801112f..."} 
[2026-07-08 07:48:26] local.INFO: Processing buffer {"connection_id":125948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f841a90012d7bf38005e1d940000801112f..."} 
[2026-07-08 07:48:26] local.INFO: Packet analysis {"connection_id":125948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f84"} 
[2026-07-08 07:48:26] local.INFO: Extracted packet for processing {"connection_id":125948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f84"} 
[2026-07-08 07:48:26] local.INFO: GPS Element Parsed {"raw_longitude":763097984,"raw_latitude":98687296,"longitude_deg":76.3097984,"latitude_deg":9.8687296,"altitude":8,"angle":273,"satellites":47,"speed":23,"hex_longitude":"2d7bf380","hex_latitude":"05e1d940","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570122240001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103602758732480512,"note":"Value kept but may cause issues"} 
[2026-07-08 07:48:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939363810617845760,"note":"Value kept but may cause issues"} 
[2026-07-08 07:48:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783477050000,"timestamp_ms":1783477050000,"timestamp_seconds":1783477050,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f841a90"} 
[2026-07-08 07:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:48: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-07-08 07: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-08 07:48: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-07-08 07: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-07-08 07:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":125948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":125948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":125948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:48:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570122240001,"66":13330,"43":206,"85":15104,"24":23,"16":103602758732480512,"45":8939363810617845760},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-08 07:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570122240001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:48:26] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-08 07:48:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103602758732480512,"km_value":103602758732480.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939363810617845760,"description":"Unknown IO ID 45"} 
[2026-07-08 07:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570122240001,"power":13330,"unknown_43":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8939363810617845760}} 
[2026-07-08 07:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":125948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449603,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:48:26] local.INFO: GPS data processed {"connection_id":125948,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:48:26] local.INFO: Acknowledgment sent {"connection_id":125948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:48:31] local.INFO: TCP Data received {"connection_id":127214,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f837680012d94cfc00580eb18000a015333..."} 
[2026-07-08 07:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f837680012d94cfc00580eb18000a015333..."} 
[2026-07-08 07:48:31] local.INFO: Processing buffer {"connection_id":127214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f837680012d94cfc00580eb18000a015333..."} 
[2026-07-08 07:48:31] local.INFO: Packet analysis {"connection_id":127214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f83"} 
[2026-07-08 07:48:31] local.INFO: Extracted packet for processing {"connection_id":127214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f83"} 
[2026-07-08 07:48:31] local.INFO: GPS Element Parsed {"raw_longitude":764727232,"raw_latitude":92334872,"longitude_deg":76.4727232,"latitude_deg":9.2334872,"altitude":10,"angle":339,"satellites":51,"speed":54,"hex_longitude":"2d94cfc0","hex_latitude":"0580eb18","is_valid_coordinates":true} 
[2026-07-08 07:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570112256001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342337429253914624,"note":"Value kept but may cause issues"} 
[2026-07-08 07:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7719803056375316480,"note":"Value kept but may cause issues"} 
[2026-07-08 07:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783477008000,"timestamp_ms":1783477008000,"timestamp_seconds":1783477008,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f837680"} 
[2026-07-08 07:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:48: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-07-08 07:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 07:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:48:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":127214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":127214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":127214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570112256001,"66":27691,"19":206,"85":15360,"24":54,"16":342337429253914624,"45":-7719803056375316480},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-07-08 07:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570112256001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:48:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-08 07:48:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 07:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342337429253914624,"km_value":342337429253914.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7719803056375316480,"description":"Unknown IO ID 45"} 
[2026-07-08 07:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570112256001,"power":27691,"unknown_19":206,"unknown_85":15360,"ignition":54,"odometer":null,"unknown_45":-7719803056375316480}} 
[2026-07-08 07:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":127214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:48:31] local.INFO: GPS data processed {"connection_id":127214,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:48:31] local.INFO: Acknowledgment sent {"connection_id":127214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:48:48] local.INFO: TCP Data received {"connection_id":125118,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125118,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:48:48] local.INFO: Processing buffer {"connection_id":125118,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:48:48] local.INFO: IMEI packet received {"connection_id":125118,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":125118,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:48:52] local.INFO: TCP Data received {"connection_id":125118,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125118,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:48:52] local.INFO: Processing buffer {"connection_id":125118,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:48:52] local.INFO: IMEI packet received {"connection_id":125118,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":125118,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:48:53] local.INFO: TCP Data received {"connection_id":125118,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f845910012d7be2c005e1db58000801202e..."} 
[2026-07-08 07:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f845910012d7be2c005e1db58000801202e..."} 
[2026-07-08 07:48:53] local.INFO: Processing buffer {"connection_id":125118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f845910012d7be2c005e1db58000801202e..."} 
[2026-07-08 07:48:53] local.INFO: Packet analysis {"connection_id":125118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f84"} 
[2026-07-08 07:48:53] local.INFO: Extracted packet for processing {"connection_id":125118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f84"} 
[2026-07-08 07:48:53] local.INFO: GPS Element Parsed {"raw_longitude":763093696,"raw_latitude":98687832,"longitude_deg":76.3093696,"latitude_deg":9.8687832,"altitude":8,"angle":288,"satellites":46,"speed":10,"hex_longitude":"2d7be2c0","hex_latitude":"05e1db58","is_valid_coordinates":true} 
[2026-07-08 07:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570124800001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103602969185878016,"note":"Value kept but may cause issues"} 
[2026-07-08 07:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931623248758128640,"note":"Value kept but may cause issues"} 
[2026-07-08 07:48:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783477066000,"timestamp_ms":1783477066000,"timestamp_seconds":1783477066,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f845910"} 
[2026-07-08 07:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:48:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-08 07:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-08 07:48:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 07:48:53] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277581765214075088,"note":"Value kept but may cause issues"} 
[2026-07-08 07:48:53] local.WARNING: Large IO value detected {"io_id":63,"raw_value":2209677313,"note":"Value kept but may cause issues"} 
[2026-07-08 07:48:53] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-1328561855700063232,"note":"Value kept but may cause issues"} 
[2026-07-08 07:48:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805792974,"corrected_to":0} 
[2026-07-08 07:48:53] local.WARNING: Large IO value detected {"io_id":58,"raw_value":3221610977,"note":"Value kept but may cause issues"} 
[2026-07-08 07:48:53] local.WARNING: Large IO value detected {"io_id":51,"raw_value":57886250674050363,"note":"Value kept but may cause issues"} 
[2026-07-08 07:48:53] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3790206976,"note":"Value kept but may cause issues"} 
[2026-07-08 07:48:53] local.WARNING: Large IO value detected {"io_id":131,"raw_value":-7937593048370675707,"note":"Value kept but may cause issues"} 
[2026-07-08 07:48:53] local.WARNING: Large IO value detected {"io_id":20,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-08 07:48:53] local.WARNING: Large IO value detected {"io_id":167,"raw_value":4395740101771008000,"note":"Value kept but may cause issues"} 
[2026-07-08 07:48:53] local.WARNING: Large IO value detected {"io_id":83,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-08 07:48:53] local.INFO: IO Element Parsed {"io_data_count":48,"io_data_keys":[0,43,85,24,241,157,16,18,159,243,45,219,8,44,10,66,17,196,192,221,169,188,64,1,240,133,227,63,225,4,113,205,12,173,58,144,42,239,51,61,2,112,5,22,131,20,167,83],"length":626,"final_offset":756,"validated_count":48,"validation_warnings":[{"io_id":205,"original":2805792974,"validated":0}]} 
[2026-07-08 07:48:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576761120842776576,"timestamp_seconds":576761120842776.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 07:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570124800001,"66":13243,"43":206,"85":15104,"24":10,"16":103602969185878016,"45":8931623248758128640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-08 07:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570124800001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:48:53] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-08 07:48:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103602969185878016,"km_value":103602969185878.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931623248758128640,"description":"Unknown IO ID 45"} 
[2026-07-08 07:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570124800001,"power":13243,"unknown_43":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8931623248758128640}} 
[2026-07-08 07:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":125118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449605,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:48:53] local.INFO: GPS data processed {"connection_id":125118,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:48:53] local.INFO: Acknowledgment sent {"connection_id":125118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:48:57] local.INFO: TCP Data received {"connection_id":125949,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:48:57] local.INFO: Processing buffer {"connection_id":125949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:48:57] local.INFO: IMEI packet received {"connection_id":125949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":125949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:49:02] local.INFO: TCP Data received {"connection_id":125949,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:49:02] local.INFO: Processing buffer {"connection_id":125949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:49:02] local.INFO: IMEI packet received {"connection_id":125949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":125949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:49:02] local.INFO: TCP Data received {"connection_id":125949,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f8493a8012d9484000581b658000b000431..."} 
[2026-07-08 07:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f8493a8012d9484000581b658000b000431..."} 
[2026-07-08 07:49:02] local.INFO: Processing buffer {"connection_id":125949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f8493a8012d9484000581b658000b000431..."} 
[2026-07-08 07:49:02] local.INFO: Packet analysis {"connection_id":125949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f84"} 
[2026-07-08 07:49:02] local.INFO: Extracted packet for processing {"connection_id":125949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f84"} 
[2026-07-08 07:49:02] local.INFO: GPS Element Parsed {"raw_longitude":764707840,"raw_latitude":92386904,"longitude_deg":76.470784,"latitude_deg":9.2386904,"altitude":11,"angle":4,"satellites":49,"speed":26,"hex_longitude":"2d948400","hex_latitude":"0581b658","is_valid_coordinates":true} 
[2026-07-08 07:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570131968001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342340143673245696,"note":"Value kept but may cause issues"} 
[2026-07-08 07:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7744924698031513600,"note":"Value kept but may cause issues"} 
[2026-07-08 07:49:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783477081000,"timestamp_ms":1783477081000,"timestamp_seconds":1783477081,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f8493a8"} 
[2026-07-08 07:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:49: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-07-08 07:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 07:49:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:49:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570131968001,"66":27691,"17":206,"85":15360,"24":26,"16":342340143673245696,"45":-7744924698031513600},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-07-08 07:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570131968001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:49:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 07:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342340143673245696,"km_value":342340143673245.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7744924698031513600,"description":"Unknown IO ID 45"} 
[2026-07-08 07:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570131968001,"power":27691,"axis_x":206,"unknown_85":15360,"ignition":26,"odometer":null,"unknown_45":-7744924698031513600}} 
[2026-07-08 07:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":125949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:49:02] local.INFO: GPS data processed {"connection_id":125949,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:49:02] local.INFO: Acknowledgment sent {"connection_id":125949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:49:25] local.INFO: TCP Data received {"connection_id":125118,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f847080012d7bd90005e1dd20000901132c..."} 
[2026-07-08 07:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f847080012d7bd90005e1dd20000901132c..."} 
[2026-07-08 07:49:25] local.INFO: Processing buffer {"connection_id":125118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f847080012d7bd90005e1dd20000901132c..."} 
[2026-07-08 07:49:25] local.INFO: Packet analysis {"connection_id":125118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f84"} 
[2026-07-08 07:49:25] local.INFO: Extracted packet for processing {"connection_id":125118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f84"} 
[2026-07-08 07:49:25] local.INFO: GPS Element Parsed {"raw_longitude":763091200,"raw_latitude":98688288,"longitude_deg":76.30912,"latitude_deg":9.8688288,"altitude":9,"angle":275,"satellites":44,"speed":20,"hex_longitude":"2d7bd900","hex_latitude":"05e1dd20","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570128896001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926908542898362368,"note":"Value kept but may cause issues"} 
[2026-07-08 07:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103603089444962304,"note":"Value kept but may cause issues"} 
[2026-07-08 07:49:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 07:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783477072000,"timestamp_ms":1783477072000,"timestamp_seconds":1783477072,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f847080"} 
[2026-07-08 07:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:49:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-08 07:49: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-07-08 07: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-07-08 07:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":125118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":125118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":125118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:49:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570128896001,"66":13298,"45":8926908542898362368,"85":15104,"24":20,"16":103603089444962304},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-07-08 07:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570128896001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926908542898362368,"description":"Unknown IO ID 45"} 
[2026-07-08 07:49:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103603089444962304,"km_value":103603089444962.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:49:25] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456570128896001,"power":13298,"unknown_45":8926908542898362368,"unknown_85":15104,"ignition":20,"odometer":null}} 
[2026-07-08 07:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":125118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449607,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:49:25] local.INFO: GPS data processed {"connection_id":125118,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:49:25] local.INFO: Acknowledgment sent {"connection_id":125118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:49:33] local.INFO: TCP Data received {"connection_id":125949,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f849f60012d9484800581be90000b015e33..."} 
[2026-07-08 07:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f849f60012d9484800581be90000b015e33..."} 
[2026-07-08 07:49:33] local.INFO: Processing buffer {"connection_id":125949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f849f60012d9484800581be90000b015e33..."} 
[2026-07-08 07:49:33] local.INFO: Packet analysis {"connection_id":125949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f84"} 
[2026-07-08 07:49:33] local.INFO: Extracted packet for processing {"connection_id":125949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f84"} 
[2026-07-08 07:49:33] local.INFO: GPS Element Parsed {"raw_longitude":764707968,"raw_latitude":92389008,"longitude_deg":76.4707968,"latitude_deg":9.2389008,"altitude":11,"angle":350,"satellites":51,"speed":29,"hex_longitude":"2d948480","hex_latitude":"0581be90","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570132736001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342340246752460800,"note":"Value kept but may cause issues"} 
[2026-07-08 07:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7745065435519363072,"note":"Value kept but may cause issues"} 
[2026-07-08 07:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783477084000,"timestamp_ms":1783477084000,"timestamp_seconds":1783477084,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f849f60"} 
[2026-07-08 07:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 07:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570132736001,"66":27713,"17":206,"85":15360,"24":29,"16":342340246752460800,"45":-7745065435519363072},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-07-08 07:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570132736001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:49:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 07:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342340246752460800,"km_value":342340246752460.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7745065435519363072,"description":"Unknown IO ID 45"} 
[2026-07-08 07:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570132736001,"power":27713,"axis_x":206,"unknown_85":15360,"ignition":29,"odometer":null,"unknown_45":-7745065435519363072}} 
[2026-07-08 07:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":125949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:49:34] local.INFO: GPS data processed {"connection_id":125949,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:49:34] local.INFO: Acknowledgment sent {"connection_id":125949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:49:47] local.INFO: TCP Data received {"connection_id":125950,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125950,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:49:47] local.INFO: Processing buffer {"connection_id":125950,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:49:47] local.INFO: IMEI packet received {"connection_id":125950,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":125950,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:49:48] local.INFO: TCP Data received {"connection_id":125950,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125950,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:49:48] local.INFO: Processing buffer {"connection_id":125950,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:49:48] local.INFO: IMEI packet received {"connection_id":125950,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":125950,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:49:51] local.INFO: TCP Data received {"connection_id":125950,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125950,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:49:51] local.INFO: Processing buffer {"connection_id":125950,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:49:51] local.INFO: IMEI packet received {"connection_id":125950,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":125950,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:49:52] local.INFO: TCP Data received {"connection_id":125950,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f85d7e0012d7b494005e1ae50000b00f629..."} 
[2026-07-08 07:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f85d7e0012d7b494005e1ae50000b00f629..."} 
[2026-07-08 07:49:52] local.INFO: Processing buffer {"connection_id":125950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f85d7e0012d7b494005e1ae50000b00f629..."} 
[2026-07-08 07:49:52] local.INFO: Packet analysis {"connection_id":125950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f85"} 
[2026-07-08 07:49:52] local.INFO: Extracted packet for processing {"connection_id":125950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f85"} 
[2026-07-08 07:49:52] local.INFO: GPS Element Parsed {"raw_longitude":763054400,"raw_latitude":98676304,"longitude_deg":76.30544,"latitude_deg":9.8676304,"altitude":11,"angle":246,"satellites":41,"speed":1,"hex_longitude":"2d7b4940","hex_latitude":"05e1ae50","is_valid_coordinates":true} 
[2026-07-08 07:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570149632001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103604996410441728,"note":"Value kept but may cause issues"} 
[2026-07-08 07:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887783521132888064,"note":"Value kept but may cause issues"} 
[2026-07-08 07:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783477164000,"timestamp_ms":1783477164000,"timestamp_seconds":1783477164,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f85d7e0"} 
[2026-07-08 07:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 07:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165009349966,"note":"Value kept but may cause issues"} 
[2026-07-08 07:49:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 07:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":58077557095399454,"note":"Value kept but may cause issues"} 
[2026-07-08 07:49:52] local.WARNING: Large IO value detected {"io_id":19,"raw_value":2835349504,"note":"Value kept but may cause issues"} 
[2026-07-08 07:49:52] local.WARNING: Large IO value detected {"io_id":63,"raw_value":2231181313,"note":"Value kept but may cause issues"} 
[2026-07-08 07:49:52] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3102736398,"note":"Value kept but may cause issues"} 
[2026-07-08 07:49:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-07-08 07:49:52] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607153998,"note":"Value kept but may cause issues"} 
[2026-07-08 07:49:52] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3787511808,"note":"Value kept but may cause issues"} 
[2026-07-08 07:49:52] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,169,85,24,241,157,16,20,159,126,45,192,178,13,46,10,66,19,94,179,14,47,128,1,240,161,227,63,225,4,113,205,35,206,8,40,239,50,2,112,5,30],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-07-08 07:49:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864979398071484416,"timestamp_seconds":864979398071484.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 07:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":125950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":125950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":125950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570149632001,"66":12776,"169":206,"85":15104,"24":1,"16":103604996410441728,"45":8887783521132888064},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-08 07:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570149632001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:49:52] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-08 07:49:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103604996410441728,"km_value":103604996410441.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887783521132888064,"description":"Unknown IO ID 45"} 
[2026-07-08 07:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570149632001,"power":12776,"unknown_169":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8887783521132888064}} 
[2026-07-08 07:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":125950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449609,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:49:52] local.INFO: GPS data processed {"connection_id":125950,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:49:52] local.INFO: Acknowledgment sent {"connection_id":125950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:49:56] local.INFO: TCP Data received {"connection_id":125213,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:49:56] local.INFO: Processing buffer {"connection_id":125213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:49:56] local.INFO: IMEI packet received {"connection_id":125213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":125213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:49:56] local.INFO: TCP Data received {"connection_id":125213,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:49:56] local.INFO: Processing buffer {"connection_id":125213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:49:56] local.INFO: IMEI packet received {"connection_id":125213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":125213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:50:02] local.INFO: TCP Data received {"connection_id":125213,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:50:02] local.INFO: Processing buffer {"connection_id":125213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:50:02] local.INFO: IMEI packet received {"connection_id":125213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":125213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:50:02] local.INFO: TCP Data received {"connection_id":125213,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f84a730012d9482400581c480000b014f32..."} 
[2026-07-08 07:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f84a730012d9482400581c480000b014f32..."} 
[2026-07-08 07:50:02] local.INFO: Processing buffer {"connection_id":125213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f84a730012d9482400581c480000b014f32..."} 
[2026-07-08 07:50:02] local.INFO: Packet analysis {"connection_id":125213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f84"} 
[2026-07-08 07:50:02] local.INFO: Extracted packet for processing {"connection_id":125213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f84"} 
[2026-07-08 07:50:02] local.INFO: GPS Element Parsed {"raw_longitude":764707392,"raw_latitude":92390528,"longitude_deg":76.4707392,"latitude_deg":9.2390528,"altitude":11,"angle":335,"satellites":50,"speed":33,"hex_longitude":"2d948240","hex_latitude":"0581c480","is_valid_coordinates":true} 
[2026-07-08 07:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570133504001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342340324061872128,"note":"Value kept but may cause issues"} 
[2026-07-08 07:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7744924698030469120,"note":"Value kept but may cause issues"} 
[2026-07-08 07:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783477086000,"timestamp_ms":1783477086000,"timestamp_seconds":1783477086,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f84a730"} 
[2026-07-08 07:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 07:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570133504001,"66":27365,"17":206,"85":15360,"24":33,"16":342340324061872128,"45":-7744924698030469120},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-07-08 07:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570133504001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:50:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 07:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342340324061872128,"km_value":342340324061872.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7744924698030469120,"description":"Unknown IO ID 45"} 
[2026-07-08 07:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570133504001,"power":27365,"axis_x":206,"unknown_85":15360,"ignition":33,"odometer":null,"unknown_45":-7744924698030469120}} 
[2026-07-08 07:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":125213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:50:02] local.INFO: GPS data processed {"connection_id":125213,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:50:02] local.INFO: Acknowledgment sent {"connection_id":125213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:50:27] local.INFO: TCP Data received {"connection_id":125950,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f85dfb0012d7b48c005e1ae20000b010228..."} 
[2026-07-08 07:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f85dfb0012d7b48c005e1ae20000b010228..."} 
[2026-07-08 07:50:27] local.INFO: Processing buffer {"connection_id":125950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f85dfb0012d7b48c005e1ae20000b010228..."} 
[2026-07-08 07:50:27] local.INFO: Packet analysis {"connection_id":125950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f85"} 
[2026-07-08 07:50:27] local.INFO: Extracted packet for processing {"connection_id":125950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f85"} 
[2026-07-08 07:50:27] local.INFO: GPS Element Parsed {"raw_longitude":763054272,"raw_latitude":98676256,"longitude_deg":76.3054272,"latitude_deg":9.8676256,"altitude":11,"angle":258,"satellites":40,"speed":3,"hex_longitude":"2d7b48c0","hex_latitude":"05e1ae20","is_valid_coordinates":true} 
[2026-07-08 07:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570153984001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103605005000376320,"note":"Value kept but may cause issues"} 
[2026-07-08 07:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883702133970325504,"note":"Value kept but may cause issues"} 
[2026-07-08 07:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783477166000,"timestamp_ms":1783477166000,"timestamp_seconds":1783477166,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f85dfb0"} 
[2026-07-08 07:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-08 07:50:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":125950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":125950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":125950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570153984001,"66":12885,"169":206,"85":15104,"24":3,"16":103605005000376320,"45":8883702133970325504},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-08 07:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570153984001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:50:27] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-08 07:50:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103605005000376320,"km_value":103605005000376.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883702133970325504,"description":"Unknown IO ID 45"} 
[2026-07-08 07:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570153984001,"power":12885,"unknown_169":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8883702133970325504}} 
[2026-07-08 07:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":125950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449611,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:50:27] local.INFO: GPS data processed {"connection_id":125950,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:50:27] local.INFO: Acknowledgment sent {"connection_id":125950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:50:34] local.INFO: TCP Data received {"connection_id":125213,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f84ce40012d9473800581e7d0000c015132..."} 
[2026-07-08 07:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f84ce40012d9473800581e7d0000c015132..."} 
[2026-07-08 07:50:34] local.INFO: Processing buffer {"connection_id":125213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f84ce40012d9473800581e7d0000c015132..."} 
[2026-07-08 07:50:34] local.INFO: Packet analysis {"connection_id":125213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f84"} 
[2026-07-08 07:50:34] local.INFO: Extracted packet for processing {"connection_id":125213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f84"} 
[2026-07-08 07:50:34] local.INFO: GPS Element Parsed {"raw_longitude":764703616,"raw_latitude":92399568,"longitude_deg":76.4703616,"latitude_deg":9.2399568,"altitude":12,"angle":337,"satellites":50,"speed":41,"hex_longitude":"2d947380","hex_latitude":"0581e7d0","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570134016001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342340800803241984,"note":"Value kept but may cause issues"} 
[2026-07-08 07:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7745558016727678976,"note":"Value kept but may cause issues"} 
[2026-07-08 07:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783477096000,"timestamp_ms":1783477096000,"timestamp_seconds":1783477096,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f84ce40"} 
[2026-07-08 07:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:50: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-07-08 07: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 07:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570134016001,"66":27691,"17":206,"85":15360,"24":41,"16":342340800803241984,"45":-7745558016727678976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-07-08 07:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570134016001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:50:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 07:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342340800803241984,"km_value":342340800803242.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7745558016727678976,"description":"Unknown IO ID 45"} 
[2026-07-08 07:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570134016001,"power":27691,"axis_x":206,"unknown_85":15360,"ignition":41,"odometer":null,"unknown_45":-7745558016727678976}} 
[2026-07-08 07:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":125213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:50:34] local.INFO: GPS data processed {"connection_id":125213,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:50:34] local.INFO: Acknowledgment sent {"connection_id":125213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:50:47] local.INFO: TCP Data received {"connection_id":125119,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:50:47] local.INFO: Processing buffer {"connection_id":125119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:50:47] local.INFO: IMEI packet received {"connection_id":125119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":125119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:50:50] local.INFO: TCP Data received {"connection_id":125119,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:50:50] local.INFO: Processing buffer {"connection_id":125119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:50:50] local.INFO: IMEI packet received {"connection_id":125119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":125119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:50:51] local.INFO: TCP Data received {"connection_id":125119,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:50:51] local.INFO: Processing buffer {"connection_id":125119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:50:51] local.INFO: IMEI packet received {"connection_id":125119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":125119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:50:52] local.INFO: TCP Data received {"connection_id":125119,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f86b2a0012d7b428005e18400000a00ae22..."} 
[2026-07-08 07:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f86b2a0012d7b428005e18400000a00ae22..."} 
[2026-07-08 07:50:52] local.INFO: Processing buffer {"connection_id":125119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f86b2a0012d7b428005e18400000a00ae22..."} 
[2026-07-08 07:50:52] local.INFO: Packet analysis {"connection_id":125119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f86"} 
[2026-07-08 07:50:52] local.INFO: Extracted packet for processing {"connection_id":125119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f86"} 
[2026-07-08 07:50:52] local.INFO: GPS Element Parsed {"raw_longitude":763052672,"raw_latitude":98665472,"longitude_deg":76.3052672,"latitude_deg":9.8665472,"altitude":10,"angle":174,"satellites":34,"speed":39,"hex_longitude":"2d7b4280","hex_latitude":"05e18400","is_valid_coordinates":true} 
[2026-07-08 07:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570164992001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103605619180699648,"note":"Value kept but may cause issues"} 
[2026-07-08 07:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880887384202878976,"note":"Value kept but may cause issues"} 
[2026-07-08 07:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783477220000,"timestamp_ms":1783477220000,"timestamp_seconds":1783477220,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f86b2a0"} 
[2026-07-08 07:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-08 07:50:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:50:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":125119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":125119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":125119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:50:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570164992001,"66":12906,"169":206,"85":15104,"24":39,"16":103605619180699648,"45":8880887384202878976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-08 07:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570164992001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:50:52] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-08 07:50:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103605619180699648,"km_value":103605619180699.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880887384202878976,"description":"Unknown IO ID 45"} 
[2026-07-08 07:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570164992001,"power":12906,"unknown_169":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8880887384202878976}} 
[2026-07-08 07:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":125119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449613,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:50:52] local.INFO: GPS data processed {"connection_id":125119,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:50:52] local.INFO: Acknowledgment sent {"connection_id":125119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:50:53] local.INFO: TCP Data received {"connection_id":125119,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f86d9b0012d7b488005e16118000b00aa1e..."} 
[2026-07-08 07:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f86d9b0012d7b488005e16118000b00aa1e..."} 
[2026-07-08 07:50:53] local.INFO: Processing buffer {"connection_id":125119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f86d9b0012d7b488005e16118000b00aa1e..."} 
[2026-07-08 07:50:53] local.INFO: Packet analysis {"connection_id":125119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f86"} 
[2026-07-08 07:50:53] local.INFO: Extracted packet for processing {"connection_id":125119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f86"} 
[2026-07-08 07:50:53] local.INFO: GPS Element Parsed {"raw_longitude":763054208,"raw_latitude":98656536,"longitude_deg":76.3054208,"latitude_deg":9.8656536,"altitude":11,"angle":170,"satellites":30,"speed":21,"hex_longitude":"2d7b4880","hex_latitude":"05e16118","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570168320001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103606061562331136,"note":"Value kept but may cause issues"} 
[2026-07-08 07:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881802177874755584,"note":"Value kept but may cause issues"} 
[2026-07-08 07:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783477230000,"timestamp_ms":1783477230000,"timestamp_seconds":1783477230,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f86d9b0"} 
[2026-07-08 07:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-08 07:50:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570168320001,"66":13243,"169":206,"85":15104,"24":21,"16":103606061562331136,"45":8881802177874755584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-08 07:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570168320001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:50:53] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-08 07:50:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103606061562331136,"km_value":103606061562331.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881802177874755584,"description":"Unknown IO ID 45"} 
[2026-07-08 07:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570168320001,"power":13243,"unknown_169":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8881802177874755584}} 
[2026-07-08 07:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":125119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449614,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:50:53] local.INFO: GPS data processed {"connection_id":125119,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:50:53] local.INFO: Acknowledgment sent {"connection_id":125119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:51:02] local.INFO: TCP Data received {"connection_id":127216,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:51:02] local.INFO: Processing buffer {"connection_id":127216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:51:02] local.INFO: IMEI packet received {"connection_id":127216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":127216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:51:02] local.INFO: TCP Data received {"connection_id":127216,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:51:02] local.INFO: Processing buffer {"connection_id":127216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:51:02] local.INFO: IMEI packet received {"connection_id":127216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":127216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:51:06] local.INFO: TCP Data received {"connection_id":127216,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:51:06] local.INFO: Processing buffer {"connection_id":127216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:51:06] local.INFO: IMEI packet received {"connection_id":127216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":127216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:51:07] local.INFO: TCP Data received {"connection_id":127216,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f864158012d93f68005833a38000c015634..."} 
[2026-07-08 07:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f864158012d93f68005833a38000c015634..."} 
[2026-07-08 07:51:07] local.INFO: Processing buffer {"connection_id":127216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f864158012d93f68005833a38000c015634..."} 
[2026-07-08 07:51:07] local.INFO: Packet analysis {"connection_id":127216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f86"} 
[2026-07-08 07:51:07] local.INFO: Extracted packet for processing {"connection_id":127216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f86"} 
[2026-07-08 07:51:07] local.INFO: GPS Element Parsed {"raw_longitude":764671616,"raw_latitude":92486200,"longitude_deg":76.4671616,"latitude_deg":9.24862,"altitude":12,"angle":342,"satellites":52,"speed":44,"hex_longitude":"2d93f680","hex_latitude":"05833a38","is_valid_coordinates":true} 
[2026-07-08 07:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570159872001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342345293339033600,"note":"Value kept but may cause issues"} 
[2026-07-08 07:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7784049719769421824,"note":"Value kept but may cause issues"} 
[2026-07-08 07:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783477191000,"timestamp_ms":1783477191000,"timestamp_seconds":1783477191,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f864158"} 
[2026-07-08 07:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 07:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570159872001,"66":27745,"168":206,"85":15360,"24":44,"16":342345293339033600,"45":-7784049719769421824},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-08 07:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570159872001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:51:07] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-08 07:51:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 07:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342345293339033600,"km_value":342345293339033.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7784049719769421824,"description":"Unknown IO ID 45"} 
[2026-07-08 07:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570159872001,"power":27745,"unknown_168":206,"unknown_85":15360,"ignition":44,"odometer":null,"unknown_45":-7784049719769421824}} 
[2026-07-08 07:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":127216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:51:07] local.INFO: GPS data processed {"connection_id":127216,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:51:07] local.INFO: Acknowledgment sent {"connection_id":127216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:51:08] local.INFO: TCP Data received {"connection_id":127216,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f866098012d93ea0005835eb8000c015435..."} 
[2026-07-08 07:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f866098012d93ea0005835eb8000c015435..."} 
[2026-07-08 07:51:08] local.INFO: Processing buffer {"connection_id":127216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f866098012d93ea0005835eb8000c015435..."} 
[2026-07-08 07:51:08] local.INFO: Packet analysis {"connection_id":127216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f86"} 
[2026-07-08 07:51:08] local.INFO: Extracted packet for processing {"connection_id":127216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f86"} 
[2026-07-08 07:51:08] local.INFO: GPS Element Parsed {"raw_longitude":764668416,"raw_latitude":92495544,"longitude_deg":76.4668416,"latitude_deg":9.2495544,"altitude":12,"angle":340,"satellites":53,"speed":53,"hex_longitude":"2d93ea00","hex_latitude":"05835eb8","is_valid_coordinates":true} 
[2026-07-08 07:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570160896001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342345774375370752,"note":"Value kept but may cause issues"} 
[2026-07-08 07:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7784894144698501120,"note":"Value kept but may cause issues"} 
[2026-07-08 07:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783477199000,"timestamp_ms":1783477199000,"timestamp_seconds":1783477199,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f866098"} 
[2026-07-08 07:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 07:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:51:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":127216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":127216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":127216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570160896001,"66":27713,"168":206,"85":15360,"24":53,"16":342345774375370752,"45":-7784894144698501120},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-08 07:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570160896001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:51:08] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-08 07:51:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 07:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342345774375370752,"km_value":342345774375370.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7784894144698501120,"description":"Unknown IO ID 45"} 
[2026-07-08 07:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570160896001,"power":27713,"unknown_168":206,"unknown_85":15360,"ignition":53,"odometer":null,"unknown_45":-7784894144698501120}} 
[2026-07-08 07:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":127216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:51:08] local.INFO: GPS data processed {"connection_id":127216,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:51:08] local.INFO: Acknowledgment sent {"connection_id":127216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:51:17] local.INFO: TCP Data received {"connection_id":125215,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125215,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:51:17] local.INFO: Processing buffer {"connection_id":125215,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:51:17] local.INFO: IMEI packet received {"connection_id":125215,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 07:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":125215,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:51:24] local.INFO: TCP Data received {"connection_id":125119,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f86e180012d7b48c005e15db0000b00bc20..."} 
[2026-07-08 07:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f86e180012d7b48c005e15db0000b00bc20..."} 
[2026-07-08 07:51:24] local.INFO: Processing buffer {"connection_id":125119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f86e180012d7b48c005e15db0000b00bc20..."} 
[2026-07-08 07:51:24] local.INFO: Packet analysis {"connection_id":125119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f86"} 
[2026-07-08 07:51:24] local.INFO: Extracted packet for processing {"connection_id":125119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f86"} 
[2026-07-08 07:51:24] local.INFO: GPS Element Parsed {"raw_longitude":763054272,"raw_latitude":98655664,"longitude_deg":76.3054272,"latitude_deg":9.8655664,"altitude":11,"angle":188,"satellites":32,"speed":14,"hex_longitude":"2d7b48c0","hex_latitude":"05e15db0","is_valid_coordinates":true} 
[2026-07-08 07:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570170880001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103606104512004096,"note":"Value kept but may cause issues"} 
[2026-07-08 07:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883491027732731904,"note":"Value kept but may cause issues"} 
[2026-07-08 07:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783477232000,"timestamp_ms":1783477232000,"timestamp_seconds":1783477232,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f86e180"} 
[2026-07-08 07:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:51:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-08 07:51:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:51:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570170880001,"66":12298,"169":206,"85":15104,"24":14,"16":103606104512004096,"45":8883491027732731904},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-08 07:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570170880001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:51:24] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-08 07:51:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103606104512004096,"km_value":103606104512004.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883491027732731904,"description":"Unknown IO ID 45"} 
[2026-07-08 07:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570170880001,"power":12298,"unknown_169":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8883491027732731904}} 
[2026-07-08 07:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":125119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449617,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:51:24] local.INFO: GPS data processed {"connection_id":125119,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:51:24] local.INFO: Acknowledgment sent {"connection_id":125119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:51:39] local.INFO: TCP Data received {"connection_id":127216,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f867bf0012d93dd0005838360000d015533..."} 
[2026-07-08 07:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f867bf0012d93dd0005838360000d015533..."} 
[2026-07-08 07:51:39] local.INFO: Processing buffer {"connection_id":127216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f867bf0012d93dd0005838360000d015533..."} 
[2026-07-08 07:51:39] local.INFO: Packet analysis {"connection_id":127216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f86"} 
[2026-07-08 07:51:39] local.INFO: Extracted packet for processing {"connection_id":127216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f86"} 
[2026-07-08 07:51:39] local.INFO: GPS Element Parsed {"raw_longitude":764665088,"raw_latitude":92504928,"longitude_deg":76.4665088,"latitude_deg":9.2504928,"altitude":13,"angle":341,"satellites":51,"speed":59,"hex_longitude":"2d93dd00","hex_latitude":"05838360","is_valid_coordinates":true} 
[2026-07-08 07:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570162944001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342346255411707904,"note":"Value kept but may cause issues"} 
[2026-07-08 07:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7788412581904992256,"note":"Value kept but may cause issues"} 
[2026-07-08 07:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783477206000,"timestamp_ms":1783477206000,"timestamp_seconds":1783477206,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f867bf0"} 
[2026-07-08 07:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 07:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:51:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":127216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":127216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":127216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570162944001,"66":27745,"168":206,"85":15360,"24":59,"16":342346255411707904,"45":-7788412581904992256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-08 07:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570162944001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:51:39] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-08 07:51:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 07:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342346255411707904,"km_value":342346255411707.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7788412581904992256,"description":"Unknown IO ID 45"} 
[2026-07-08 07:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570162944001,"power":27745,"unknown_168":206,"unknown_85":15360,"ignition":59,"odometer":null,"unknown_45":-7788412581904992256}} 
[2026-07-08 07:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":127216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:51:39] local.INFO: GPS data processed {"connection_id":127216,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:51:39] local.INFO: Acknowledgment sent {"connection_id":127216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:51:48] local.INFO: TCP Data received {"connection_id":125951,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125951,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:51:48] local.INFO: Processing buffer {"connection_id":125951,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:51:48] local.INFO: IMEI packet received {"connection_id":125951,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":125951,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:51:52] local.INFO: TCP Data received {"connection_id":125951,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125951,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:51:52] local.INFO: Processing buffer {"connection_id":125951,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:51:52] local.INFO: IMEI packet received {"connection_id":125951,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":125951,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:51:53] local.INFO: TCP Data received {"connection_id":125951,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f86e568012d7b484005e15cc0000b00d01e..."} 
[2026-07-08 07:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f86e568012d7b484005e15cc0000b00d01e..."} 
[2026-07-08 07:51:53] local.INFO: Processing buffer {"connection_id":125951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f86e568012d7b484005e15cc0000b00d01e..."} 
[2026-07-08 07:51:53] local.INFO: Packet analysis {"connection_id":125951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f86"} 
[2026-07-08 07:51:53] local.INFO: Extracted packet for processing {"connection_id":125951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f86"} 
[2026-07-08 07:51:53] local.INFO: GPS Element Parsed {"raw_longitude":763054144,"raw_latitude":98655424,"longitude_deg":76.3054144,"latitude_deg":9.8655424,"altitude":11,"angle":208,"satellites":30,"speed":9,"hex_longitude":"2d7b4840","hex_latitude":"05e15cc0","is_valid_coordinates":true} 
[2026-07-08 07:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570171392001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103606117396905984,"note":"Value kept but may cause issues"} 
[2026-07-08 07:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883561396476686336,"note":"Value kept but may cause issues"} 
[2026-07-08 07:51:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783477233000,"timestamp_ms":1783477233000,"timestamp_seconds":1783477233,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f86e568"} 
[2026-07-08 07:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 07:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":423809059029385472,"note":"Value kept but may cause issues"} 
[2026-07-08 07:51:53] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436550369792,"note":"Value kept but may cause issues"} 
[2026-07-08 07:51:53] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185968,"note":"Value kept but may cause issues"} 
[2026-07-08 07:51:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 07:51:53] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4577465162141629248,"note":"Value kept but may cause issues"} 
[2026-07-08 07:51:53] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832597,"note":"Value kept but may cause issues"} 
[2026-07-08 07:51:53] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3712374351118008526,"note":"Value kept but may cause issues"} 
[2026-07-08 07:51:53] local.WARNING: Large IO value detected {"io_id":20,"raw_value":5692549928996306945,"note":"Value kept but may cause issues"} 
[2026-07-08 07:51:53] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3221610923,"note":"Value kept but may cause issues"} 
[2026-07-08 07:51:53] local.WARNING: Large IO value detected {"io_id":225,"raw_value":2853699594,"note":"Value kept but may cause issues"} 
[2026-07-08 07:51:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812870862,"corrected_to":0} 
[2026-07-08 07:51:53] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3786139648,"note":"Value kept but may cause issues"} 
[2026-07-08 07:51:53] local.WARNING: Large IO value detected {"io_id":36,"raw_value":281474977366020,"note":"Value kept but may cause issues"} 
[2026-07-08 07:51:53] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,169,85,24,241,157,16,21,159,217,45,128,97,11,30,10,66,178,132,34,20,127,64,1,240,62,227,63,225,4,113,205,5,116,35,239,52,2,112,36],"length":534,"final_offset":664,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2812870862,"validated":0}]} 
[2026-07-08 07:51:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792840380043100160,"timestamp_seconds":792840380043100.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 07:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125951,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125951,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:51:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570171392001,"66":12298,"169":206,"85":15104,"24":9,"16":103606117396905984,"45":8883561396476686336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-08 07:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570171392001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:51:53] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-08 07:51:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103606117396905984,"km_value":103606117396905.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883561396476686336,"description":"Unknown IO ID 45"} 
[2026-07-08 07:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570171392001,"power":12298,"unknown_169":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8883561396476686336}} 
[2026-07-08 07:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":125951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449619,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:51:53] local.INFO: GPS data processed {"connection_id":125951,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:51:53] local.INFO: Acknowledgment sent {"connection_id":125951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:51:57] local.INFO: TCP Data received {"connection_id":125120,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:51:57] local.INFO: Processing buffer {"connection_id":125120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:51:57] local.INFO: IMEI packet received {"connection_id":125120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":125120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:51:57] local.INFO: TCP Data received {"connection_id":125952,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125952,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:51:57] local.INFO: Processing buffer {"connection_id":125952,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:51:57] local.INFO: IMEI packet received {"connection_id":125952,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 07:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":125952,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:52:08] local.INFO: TCP Data received {"connection_id":125120,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:52:08] local.INFO: Processing buffer {"connection_id":125120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:52:08] local.INFO: IMEI packet received {"connection_id":125120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":125120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:52:15] local.INFO: TCP Data received {"connection_id":125120,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f869360012d93d1400583a538000d015434..."} 
[2026-07-08 07:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f869360012d93d1400583a538000d015434..."} 
[2026-07-08 07:52:15] local.INFO: Processing buffer {"connection_id":125120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f869360012d93d1400583a538000d015434..."} 
[2026-07-08 07:52:15] local.INFO: Packet analysis {"connection_id":125120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f86"} 
[2026-07-08 07:52:15] local.INFO: Extracted packet for processing {"connection_id":125120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f86"} 
[2026-07-08 07:52:15] local.INFO: GPS Element Parsed {"raw_longitude":764662080,"raw_latitude":92513592,"longitude_deg":76.466208,"latitude_deg":9.2513592,"altitude":13,"angle":340,"satellites":52,"speed":60,"hex_longitude":"2d93d140","hex_latitude":"0583a538","is_valid_coordinates":true} 
[2026-07-08 07:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570164736001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342346697793339392,"note":"Value kept but may cause issues"} 
[2026-07-08 07:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7792071756599828480,"note":"Value kept but may cause issues"} 
[2026-07-08 07:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783477212000,"timestamp_ms":1783477212000,"timestamp_seconds":1783477212,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f869360"} 
[2026-07-08 07:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 07:52:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":125120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":125120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":125120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570164736001,"66":27767,"168":206,"85":15360,"24":60,"16":342346697793339392,"45":-7792071756599828480},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-08 07:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570164736001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:52:15] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-08 07:52:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 07:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342346697793339392,"km_value":342346697793339.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7792071756599828480,"description":"Unknown IO ID 45"} 
[2026-07-08 07:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570164736001,"power":27767,"unknown_168":206,"unknown_85":15360,"ignition":60,"odometer":null,"unknown_45":-7792071756599828480}} 
[2026-07-08 07:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":125120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:52:15] local.INFO: GPS data processed {"connection_id":125120,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:52:15] local.INFO: Acknowledgment sent {"connection_id":125120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:52:16] local.INFO: TCP Data received {"connection_id":125120,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f86aad0012d93c6400583c698000d015735..."} 
[2026-07-08 07:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f86aad0012d93c6400583c698000d015735..."} 
[2026-07-08 07:52:16] local.INFO: Processing buffer {"connection_id":125120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f86aad0012d93c6400583c698000d015735..."} 
[2026-07-08 07:52:16] local.INFO: Packet analysis {"connection_id":125120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f86"} 
[2026-07-08 07:52:16] local.INFO: Extracted packet for processing {"connection_id":125120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f86"} 
[2026-07-08 07:52:16] local.INFO: GPS Element Parsed {"raw_longitude":764659264,"raw_latitude":92522136,"longitude_deg":76.4659264,"latitude_deg":9.2522136,"altitude":13,"angle":343,"satellites":53,"speed":59,"hex_longitude":"2d93c640","hex_latitude":"0583c698","is_valid_coordinates":true} 
[2026-07-08 07:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570166272001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342347135880003584,"note":"Value kept but may cause issues"} 
[2026-07-08 07:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7795379087573960704,"note":"Value kept but may cause issues"} 
[2026-07-08 07:52:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783477218000,"timestamp_ms":1783477218000,"timestamp_seconds":1783477218,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f86aad0"} 
[2026-07-08 07:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 07:52:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:52:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":125120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":125120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":125120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570166272001,"66":27767,"17":206,"85":15360,"24":59,"16":342347135880003584,"45":-7795379087573960704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-07-08 07:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570166272001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:52:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 07:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342347135880003584,"km_value":342347135880003.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7795379087573960704,"description":"Unknown IO ID 45"} 
[2026-07-08 07:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570166272001,"power":27767,"axis_x":206,"unknown_85":15360,"ignition":59,"odometer":null,"unknown_45":-7795379087573960704}} 
[2026-07-08 07:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":125120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:52:16] local.INFO: GPS data processed {"connection_id":125120,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:52:16] local.INFO: Acknowledgment sent {"connection_id":125120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:52:25] local.INFO: TCP Data received {"connection_id":125951,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f872000012d7b454005e15dc0000b015027..."} 
[2026-07-08 07:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f872000012d7b454005e15dc0000b015027..."} 
[2026-07-08 07:52:25] local.INFO: Processing buffer {"connection_id":125951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f872000012d7b454005e15dc0000b015027..."} 
[2026-07-08 07:52:25] local.INFO: Packet analysis {"connection_id":125951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f87"} 
[2026-07-08 07:52:25] local.INFO: Extracted packet for processing {"connection_id":125951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f87"} 
[2026-07-08 07:52:25] local.INFO: GPS Element Parsed {"raw_longitude":763053376,"raw_latitude":98655680,"longitude_deg":76.3053376,"latitude_deg":9.865568,"altitude":11,"angle":336,"satellites":39,"speed":5,"hex_longitude":"2d7b4540","hex_latitude":"05e15dc0","is_valid_coordinates":true} 
[2026-07-08 07:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570171648001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103606181821415424,"note":"Value kept but may cause issues"} 
[2026-07-08 07:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883420658988269568,"note":"Value kept but may cause issues"} 
[2026-07-08 07:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783477248000,"timestamp_ms":1783477248000,"timestamp_seconds":1783477248,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f872000"} 
[2026-07-08 07:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:52:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 07:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":423808852870955250,"note":"Value kept but may cause issues"} 
[2026-07-08 07:52:25] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436567147008,"note":"Value kept but may cause issues"} 
[2026-07-08 07:52:25] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185968,"note":"Value kept but may cause issues"} 
[2026-07-08 07:52:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 07:52:25] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4577469457108925248,"note":"Value kept but may cause issues"} 
[2026-07-08 07:52:25] local.WARNING: Large IO value detected {"io_id":225,"raw_value":2837446666,"note":"Value kept but may cause issues"} 
[2026-07-08 07:52:25] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832597,"note":"Value kept but may cause issues"} 
[2026-07-08 07:52:25] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3758254772321845454,"note":"Value kept but may cause issues"} 
[2026-07-08 07:52:25] local.WARNING: Large IO value detected {"io_id":20,"raw_value":5764607523034234881,"note":"Value kept but may cause issues"} 
[2026-07-08 07:52:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812870862,"corrected_to":0} 
[2026-07-08 07:52:25] local.WARNING: Large IO value detected {"io_id":123,"raw_value":4026609019,"note":"Value kept but may cause issues"} 
[2026-07-08 07:52:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3786113024,"note":"Value kept but may cause issues"} 
[2026-07-08 07:52:25] local.WARNING: Large IO value detected {"io_id":35,"raw_value":562949954076676,"note":"Value kept but may cause issues"} 
[2026-07-08 07:52:25] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,169,85,24,241,157,16,21,159,225,45,192,93,11,32,10,66,217,128,97,30,178,1,240,106,227,20,63,4,113,205,9,123,36,239,52,2,112,5,35],"length":534,"final_offset":664,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2812870862,"validated":0}]} 
[2026-07-08 07:52:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792862361685393408,"timestamp_seconds":792862361685393.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 07:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":125951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":125951,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":125951,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:52:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570171648001,"66":13243,"169":206,"85":15104,"24":5,"16":103606181821415424,"45":8883420658988269568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-08 07:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570171648001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:52:25] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-08 07:52:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103606181821415424,"km_value":103606181821415.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883420658988269568,"description":"Unknown IO ID 45"} 
[2026-07-08 07:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570171648001,"power":13243,"unknown_169":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8883420658988269568}} 
[2026-07-08 07:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":125951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449622,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:52:25] local.INFO: GPS data processed {"connection_id":125951,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:52:25] local.INFO: Acknowledgment sent {"connection_id":125951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:52:47] local.INFO: TCP Data received {"connection_id":125953,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125953,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:52:47] local.INFO: Processing buffer {"connection_id":125953,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:52:47] local.INFO: IMEI packet received {"connection_id":125953,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":125953,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:52:51] local.INFO: TCP Data received {"connection_id":125953,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125953,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:52:51] local.INFO: Processing buffer {"connection_id":125953,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:52:51] local.INFO: IMEI packet received {"connection_id":125953,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":125953,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:52:52] local.INFO: TCP Data received {"connection_id":125953,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125953,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:52:52] local.INFO: Processing buffer {"connection_id":125953,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:52:52] local.INFO: IMEI packet received {"connection_id":125953,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":125953,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:52:53] local.INFO: TCP Data received {"connection_id":125953,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f8727d0012d7b448005e16030000b016028..."} 
[2026-07-08 07:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f8727d0012d7b448005e16030000b016028..."} 
[2026-07-08 07:52:53] local.INFO: Processing buffer {"connection_id":125953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f8727d0012d7b448005e16030000b016028..."} 
[2026-07-08 07:52:53] local.INFO: Packet analysis {"connection_id":125953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f87"} 
[2026-07-08 07:52:53] local.INFO: Extracted packet for processing {"connection_id":125953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f87"} 
[2026-07-08 07:52:53] local.INFO: GPS Element Parsed {"raw_longitude":763053184,"raw_latitude":98656304,"longitude_deg":76.3053184,"latitude_deg":9.8656304,"altitude":11,"angle":352,"satellites":40,"speed":17,"hex_longitude":"2d7b4480","hex_latitude":"05e16030","is_valid_coordinates":true} 
[2026-07-08 07:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570175488001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103606211886186496,"note":"Value kept but may cause issues"} 
[2026-07-08 07:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882576234058203136,"note":"Value kept but may cause issues"} 
[2026-07-08 07:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783477250000,"timestamp_ms":1783477250000,"timestamp_seconds":1783477250,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f8727d0"} 
[2026-07-08 07:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:52:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-08 07:52:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:52:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:52:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570175488001,"66":13406,"169":206,"85":15104,"24":17,"16":103606211886186496,"45":8882576234058203136},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-08 07:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570175488001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:52:53] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-08 07:52:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103606211886186496,"km_value":103606211886186.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882576234058203136,"description":"Unknown IO ID 45"} 
[2026-07-08 07:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570175488001,"power":13406,"unknown_169":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8882576234058203136}} 
[2026-07-08 07:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":125953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449623,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:52:53] local.INFO: GPS data processed {"connection_id":125953,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:52:53] local.INFO: Acknowledgment sent {"connection_id":125953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:52:58] local.INFO: TCP Data received {"connection_id":125953,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f8756b0012d7b3f0005e183b8000b01611f..."} 
[2026-07-08 07:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f8756b0012d7b3f0005e183b8000b01611f..."} 
[2026-07-08 07:52:58] local.INFO: Processing buffer {"connection_id":125953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f8756b0012d7b3f0005e183b8000b01611f..."} 
[2026-07-08 07:52:58] local.INFO: Packet analysis {"connection_id":125953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f87"} 
[2026-07-08 07:52:58] local.INFO: Extracted packet for processing {"connection_id":125953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f87"} 
[2026-07-08 07:52:58] local.INFO: GPS Element Parsed {"raw_longitude":763051776,"raw_latitude":98665400,"longitude_deg":76.3051776,"latitude_deg":9.86654,"altitude":11,"angle":353,"satellites":31,"speed":29,"hex_longitude":"2d7b3f00","hex_latitude":"05e183b8","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570176000001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103606658562785280,"note":"Value kept but may cause issues"} 
[2026-07-08 07:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882365127825829888,"note":"Value kept but may cause issues"} 
[2026-07-08 07:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783477262000,"timestamp_ms":1783477262000,"timestamp_seconds":1783477262,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f8756b0"} 
[2026-07-08 07:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:52:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-08 07:52: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-07-08 07: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-07-08 07:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":125953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":125953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":125953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:52:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570176000001,"66":13472,"169":206,"85":15104,"24":29,"16":103606658562785280,"45":8882365127825829888},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-08 07:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570176000001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:52:58] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-08 07:52:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103606658562785280,"km_value":103606658562785.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882365127825829888,"description":"Unknown IO ID 45"} 
[2026-07-08 07:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570176000001,"power":13472,"unknown_169":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8882365127825829888}} 
[2026-07-08 07:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":125953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449624,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:52:58] local.INFO: GPS data processed {"connection_id":125953,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:52:58] local.INFO: Acknowledgment sent {"connection_id":125953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:53:30] local.INFO: TCP Data received {"connection_id":125953,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f878590012d7b3ac005e1a788000b01621e..."} 
[2026-07-08 07:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f878590012d7b3ac005e1a788000b01621e..."} 
[2026-07-08 07:53:30] local.INFO: Processing buffer {"connection_id":125953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f878590012d7b3ac005e1a788000b01621e..."} 
[2026-07-08 07:53:30] local.INFO: Packet analysis {"connection_id":125953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f87"} 
[2026-07-08 07:53:30] local.INFO: Extracted packet for processing {"connection_id":125953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f87"} 
[2026-07-08 07:53:30] local.INFO: GPS Element Parsed {"raw_longitude":763050688,"raw_latitude":98674568,"longitude_deg":76.3050688,"latitude_deg":9.8674568,"altitude":11,"angle":354,"satellites":30,"speed":30,"hex_longitude":"2d7b3ac0","hex_latitude":"05e1a788","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570179072001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103607109534351360,"note":"Value kept but may cause issues"} 
[2026-07-08 07:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880817015456249856,"note":"Value kept but may cause issues"} 
[2026-07-08 07:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783477274000,"timestamp_ms":1783477274000,"timestamp_seconds":1783477274,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f878590"} 
[2026-07-08 07:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-08 07:53: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-07-08 07: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-07-08 07:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":125953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":125953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":125953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570179072001,"66":13559,"169":206,"85":15104,"24":30,"16":103607109534351360,"45":8880817015456249856},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-08 07:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570179072001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:53:30] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-08 07:53:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103607109534351360,"km_value":103607109534351.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880817015456249856,"description":"Unknown IO ID 45"} 
[2026-07-08 07:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570179072001,"power":13559,"unknown_169":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8880817015456249856}} 
[2026-07-08 07:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":125953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449625,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:53:31] local.INFO: GPS data processed {"connection_id":125953,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:53:31] local.INFO: Acknowledgment sent {"connection_id":125953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:53:36] local.INFO: TCP Data received {"connection_id":125955,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:53:36] local.INFO: Processing buffer {"connection_id":125955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:53:36] local.INFO: IMEI packet received {"connection_id":125955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":125955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:53:39] local.INFO: TCP Data received {"connection_id":125955,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:53:39] local.INFO: Processing buffer {"connection_id":125955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:53:39] local.INFO: IMEI packet received {"connection_id":125955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":125955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:53:47] local.INFO: TCP Data received {"connection_id":125216,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125216,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:53:47] local.INFO: Processing buffer {"connection_id":125216,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:53:47] local.INFO: IMEI packet received {"connection_id":125216,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":125216,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:53:52] local.INFO: TCP Data received {"connection_id":125216,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125216,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:53:52] local.INFO: Processing buffer {"connection_id":125216,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:53:52] local.INFO: IMEI packet received {"connection_id":125216,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":125216,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:53:53] local.INFO: TCP Data received {"connection_id":125216,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f87b088012d7b37c005e1cd38000b01621f..."} 
[2026-07-08 07:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f87b088012d7b37c005e1cd38000b01621f..."} 
[2026-07-08 07:53:53] local.INFO: Processing buffer {"connection_id":125216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f87b088012d7b37c005e1cd38000b01621f..."} 
[2026-07-08 07:53:53] local.INFO: Packet analysis {"connection_id":125216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f87"} 
[2026-07-08 07:53:53] local.INFO: Extracted packet for processing {"connection_id":125216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f87"} 
[2026-07-08 07:53:53] local.INFO: GPS Element Parsed {"raw_longitude":763049920,"raw_latitude":98684216,"longitude_deg":76.304992,"latitude_deg":9.8684216,"altitude":11,"angle":354,"satellites":31,"speed":42,"hex_longitude":"2d7b37c0","hex_latitude":"05e1cd38","is_valid_coordinates":true} 
[2026-07-08 07:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570182144001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103607577685786624,"note":"Value kept but may cause issues"} 
[2026-07-08 07:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879620746807576576,"note":"Value kept but may cause issues"} 
[2026-07-08 07:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783477285000,"timestamp_ms":1783477285000,"timestamp_seconds":1783477285,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f87b088"} 
[2026-07-08 07:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-08 07:53:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:53:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570182144001,"66":13504,"169":206,"85":15104,"24":42,"16":103607577685786624,"45":8879620746807576576},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-08 07:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570182144001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:53:53] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-08 07:53:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103607577685786624,"km_value":103607577685786.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879620746807576576,"description":"Unknown IO ID 45"} 
[2026-07-08 07:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570182144001,"power":13504,"unknown_169":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8879620746807576576}} 
[2026-07-08 07:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":125216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449626,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:53:53] local.INFO: GPS data processed {"connection_id":125216,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:53:53] local.INFO: Acknowledgment sent {"connection_id":125216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:53:56] local.INFO: TCP Data received {"connection_id":125121,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:53:56] local.INFO: Processing buffer {"connection_id":125121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:53:56] local.INFO: IMEI packet received {"connection_id":125121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":125121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:53:57] local.INFO: TCP Data received {"connection_id":125121,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:53:57] local.INFO: Processing buffer {"connection_id":125121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:53:57] local.INFO: IMEI packet received {"connection_id":125121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 07:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":125121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:54:24] local.INFO: TCP Data received {"connection_id":125216,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f89c7b0012d7b05c005e34d48000301571f..."} 
[2026-07-08 07:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f89c7b0012d7b05c005e34d48000301571f..."} 
[2026-07-08 07:54:24] local.INFO: Processing buffer {"connection_id":125216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f89c7b0012d7b05c005e34d48000301571f..."} 
[2026-07-08 07:54:24] local.INFO: Packet analysis {"connection_id":125216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f89"} 
[2026-07-08 07:54:24] local.INFO: Extracted packet for processing {"connection_id":125216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f89"} 
[2026-07-08 07:54:24] local.INFO: GPS Element Parsed {"raw_longitude":763037120,"raw_latitude":98782536,"longitude_deg":76.303712,"latitude_deg":9.8782536,"altitude":3,"angle":343,"satellites":31,"speed":29,"hex_longitude":"2d7b05c0","hex_latitude":"05e34d48","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570217984001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103612392344125440,"note":"Value kept but may cause issues"} 
[2026-07-08 07:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865054416789065728,"note":"Value kept but may cause issues"} 
[2026-07-08 07:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783477422000,"timestamp_ms":1783477422000,"timestamp_seconds":1783477422,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f89c7b0"} 
[2026-07-08 07:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:54:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-08 07:54:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570217984001,"66":13406,"97":206,"85":15104,"24":29,"16":103612392344125440,"45":8865054416789065728},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-08 07:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570217984001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:54:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-08 07:54:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103612392344125440,"km_value":103612392344125.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865054416789065728,"description":"Unknown IO ID 45"} 
[2026-07-08 07:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570217984001,"power":13406,"unknown_97":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8865054416789065728}} 
[2026-07-08 07:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":125216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449627,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:54:24] local.INFO: GPS data processed {"connection_id":125216,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:54:24] local.INFO: Acknowledgment sent {"connection_id":125216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:54:52] local.INFO: TCP Data received {"connection_id":125217,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125217,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:54:52] local.INFO: Processing buffer {"connection_id":125217,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:54:52] local.INFO: IMEI packet received {"connection_id":125217,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":125217,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:54:53] local.INFO: TCP Data received {"connection_id":125217,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125217,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:54:53] local.INFO: Processing buffer {"connection_id":125217,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:54:53] local.INFO: IMEI packet received {"connection_id":125217,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":125217,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:54:54] local.INFO: TCP Data received {"connection_id":125217,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f89f2a8012d7af9c005e36e580009015929..."} 
[2026-07-08 07:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f89f2a8012d7af9c005e36e580009015929..."} 
[2026-07-08 07:54:54] local.INFO: Processing buffer {"connection_id":125217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f89f2a8012d7af9c005e36e580009015929..."} 
[2026-07-08 07:54:54] local.INFO: Packet analysis {"connection_id":125217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f89"} 
[2026-07-08 07:54:54] local.INFO: Extracted packet for processing {"connection_id":125217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f89"} 
[2026-07-08 07:54:54] local.INFO: GPS Element Parsed {"raw_longitude":763034048,"raw_latitude":98791000,"longitude_deg":76.3034048,"latitude_deg":9.8791,"altitude":9,"angle":345,"satellites":41,"speed":25,"hex_longitude":"2d7af9c0","hex_latitude":"05e36e58","is_valid_coordinates":true} 
[2026-07-08 07:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570220032001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103612826135822336,"note":"Value kept but may cause issues"} 
[2026-07-08 07:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864702573069551616,"note":"Value kept but may cause issues"} 
[2026-07-08 07:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783477433000,"timestamp_ms":1783477433000,"timestamp_seconds":1783477433,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f89f2a8"} 
[2026-07-08 07:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:54: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-07-08 07:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-08 07:54:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":125217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":125217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":125217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570220032001,"66":13037,"97":206,"85":15104,"24":25,"16":103612826135822336,"45":8864702573069551616},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-08 07:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570220032001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:54:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-08 07:54:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103612826135822336,"km_value":103612826135822.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864702573069551616,"description":"Unknown IO ID 45"} 
[2026-07-08 07:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570220032001,"power":13037,"unknown_97":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8864702573069551616}} 
[2026-07-08 07:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":125217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449628,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:54:54] local.INFO: GPS data processed {"connection_id":125217,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:54:54] local.INFO: Acknowledgment sent {"connection_id":125217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:55:09] local.INFO: TCP Data received {"connection_id":125217,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f8a40c8012d7af18005e38c00000b01552a..."} 
[2026-07-08 07:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f8a40c8012d7af18005e38c00000b01552a..."} 
[2026-07-08 07:55:09] local.INFO: Processing buffer {"connection_id":125217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f8a40c8012d7af18005e38c00000b01552a..."} 
[2026-07-08 07:55:09] local.INFO: Packet analysis {"connection_id":125217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f8a"} 
[2026-07-08 07:55:09] local.INFO: Extracted packet for processing {"connection_id":125217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f8a"} 
[2026-07-08 07:55:09] local.INFO: GPS Element Parsed {"raw_longitude":763031936,"raw_latitude":98798592,"longitude_deg":76.3031936,"latitude_deg":9.8798592,"altitude":11,"angle":341,"satellites":42,"speed":12,"hex_longitude":"2d7af180","hex_latitude":"05e38c00","is_valid_coordinates":true} 
[2026-07-08 07:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570222848001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103613212682878976,"note":"Value kept but may cause issues"} 
[2026-07-08 07:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8861324873351190528,"note":"Value kept but may cause issues"} 
[2026-07-08 07:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783477453000,"timestamp_ms":1783477453000,"timestamp_seconds":1783477453,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f8a40c8"} 
[2026-07-08 07:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-08 07:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:55:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570222848001,"66":13091,"97":206,"85":15104,"24":12,"16":103613212682878976,"45":8861324873351190528},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-08 07:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570222848001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:55:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-08 07:55:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103613212682878976,"km_value":103613212682878.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8861324873351190528,"description":"Unknown IO ID 45"} 
[2026-07-08 07:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570222848001,"power":13091,"unknown_97":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8861324873351190528}} 
[2026-07-08 07:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":125217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449629,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:55:09] local.INFO: GPS data processed {"connection_id":125217,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:55:09] local.INFO: Acknowledgment sent {"connection_id":125217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:55:52] local.INFO: TCP Data received {"connection_id":127218,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127218,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:55:52] local.INFO: Processing buffer {"connection_id":127218,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:55:52] local.INFO: IMEI packet received {"connection_id":127218,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":127218,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:56:02] local.INFO: TCP Data received {"connection_id":127218,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127218,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:56:02] local.INFO: Processing buffer {"connection_id":127218,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:56:02] local.INFO: IMEI packet received {"connection_id":127218,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":127218,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:56:04] local.INFO: TCP Data received {"connection_id":127218,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f8a8718012d7ae6c005e3ad28000b01572a..."} 
[2026-07-08 07:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f8a8718012d7ae6c005e3ad28000b01572a..."} 
[2026-07-08 07:56:04] local.INFO: Processing buffer {"connection_id":127218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f8a8718012d7ae6c005e3ad28000b01572a..."} 
[2026-07-08 07:56:04] local.INFO: Packet analysis {"connection_id":127218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f8a"} 
[2026-07-08 07:56:04] local.INFO: Extracted packet for processing {"connection_id":127218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f8a"} 
[2026-07-08 07:56:04] local.INFO: GPS Element Parsed {"raw_longitude":763029184,"raw_latitude":98807080,"longitude_deg":76.3029184,"latitude_deg":9.880708,"altitude":11,"angle":343,"satellites":42,"speed":35,"hex_longitude":"2d7ae6c0","hex_latitude":"05e3ad28","is_valid_coordinates":true} 
[2026-07-08 07:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570227968001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103613646474575872,"note":"Value kept but may cause issues"} 
[2026-07-08 07:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859002704795271168,"note":"Value kept but may cause issues"} 
[2026-07-08 07:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783477471000,"timestamp_ms":1783477471000,"timestamp_seconds":1783477471,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f8a8718"} 
[2026-07-08 07:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-08 07:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":127218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":127218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":127218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 07:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 07:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 07:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570227968001,"66":13254,"97":206,"85":15104,"24":35,"16":103613646474575872,"45":8859002704795271168},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-08 07:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 07:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 07:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570227968001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:56:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-08 07:56:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 07:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103613646474575872,"km_value":103613646474575.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859002704795271168,"description":"Unknown IO ID 45"} 
[2026-07-08 07:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570227968001,"power":13254,"unknown_97":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8859002704795271168}} 
[2026-07-08 07:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":127218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449630,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:56:04] local.INFO: GPS data processed {"connection_id":127218,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:56:04] local.INFO: Acknowledgment sent {"connection_id":127218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:56:47] local.INFO: TCP Data received {"connection_id":127220,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127220,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:56:47] local.INFO: Processing buffer {"connection_id":127220,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:56:47] local.INFO: IMEI packet received {"connection_id":127220,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":127220,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:57:24] local.INFO: TCP Data received {"connection_id":125219,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125219,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:57:24] local.INFO: Processing buffer {"connection_id":125219,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:57:24] local.INFO: IMEI packet received {"connection_id":125219,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 07:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":125219,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:57:27] local.INFO: TCP Data received {"connection_id":125123,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125123,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:57:27] local.INFO: Processing buffer {"connection_id":125123,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:57:27] local.INFO: IMEI packet received {"connection_id":125123,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 07:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":125123,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:57:27] local.INFO: TCP Data received {"connection_id":125219,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125219,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:57:27] local.INFO: Processing buffer {"connection_id":125219,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 07:57:27] local.INFO: IMEI packet received {"connection_id":125219,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 07:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":125219,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 07:57:57] local.INFO: TCP Data received {"connection_id":125124,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125124,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:57:57] local.INFO: Processing buffer {"connection_id":125124,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 07:57:57] local.INFO: IMEI packet received {"connection_id":125124,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 07:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":125124,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:59:02] local.INFO: TCP Data received {"connection_id":125959,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:59:02] local.INFO: Processing buffer {"connection_id":125959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:59:02] local.INFO: IMEI packet received {"connection_id":125959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":125959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 07:59:02] local.INFO: TCP Data received {"connection_id":125959,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f8cb1c8012d914380058837d80009010431..."} 
[2026-07-08 07:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f8cb1c8012d914380058837d80009010431..."} 
[2026-07-08 07:59:02] local.INFO: Processing buffer {"connection_id":125959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f8cb1c8012d914380058837d80009010431..."} 
[2026-07-08 07:59:02] local.INFO: Packet analysis {"connection_id":125959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f8c"} 
[2026-07-08 07:59:02] local.INFO: Extracted packet for processing {"connection_id":125959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f8c"} 
[2026-07-08 07:59:02] local.INFO: GPS Element Parsed {"raw_longitude":764494720,"raw_latitude":92813272,"longitude_deg":76.449472,"latitude_deg":9.2813272,"altitude":9,"angle":260,"satellites":49,"speed":31,"hex_longitude":"2d914380","hex_latitude":"058837d8","is_valid_coordinates":true} 
[2026-07-08 07:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 07:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570266624001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342365939246825472,"note":"Value kept but may cause issues"} 
[2026-07-08 07:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7968838041895030784,"note":"Value kept but may cause issues"} 
[2026-07-08 07:59:02] 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-07-08 07:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783477613000,"timestamp_ms":1783477613000,"timestamp_seconds":1783477613,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f8cb1c8"} 
[2026-07-08 07:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:59: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-07-08 07: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 07:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 07:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570266624001,"66":27821,"111":206,"85":14080,"24":31,"16":342365939246825472,"45":-7968838041895030784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-07-08 07:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570266624001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:59:02] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-08 07:59:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 07:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342365939246825472,"km_value":342365939246825.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7968838041895030784,"description":"Unknown IO ID 45"} 
[2026-07-08 07:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570266624001,"power":27821,"unknown_111":206,"unknown_85":14080,"ignition":31,"odometer":null,"unknown_45":-7968838041895030784}} 
[2026-07-08 07:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":125959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:59:02] local.INFO: GPS data processed {"connection_id":125959,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:59:02] local.INFO: Acknowledgment sent {"connection_id":125959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:59:33] local.INFO: TCP Data received {"connection_id":125959,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f8e4fd8012d8fdbc00588b3400008013d35..."} 
[2026-07-08 07:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f8e4fd8012d8fdbc00588b3400008013d35..."} 
[2026-07-08 07:59:33] local.INFO: Processing buffer {"connection_id":125959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f8e4fd8012d8fdbc00588b3400008013d35..."} 
[2026-07-08 07:59:33] local.INFO: Packet analysis {"connection_id":125959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f8e"} 
[2026-07-08 07:59:33] local.INFO: Extracted packet for processing {"connection_id":125959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f8e"} 
[2026-07-08 07:59:33] local.INFO: GPS Element Parsed {"raw_longitude":764402624,"raw_latitude":92844864,"longitude_deg":76.4402624,"latitude_deg":9.2844864,"altitude":8,"angle":317,"satellites":53,"speed":42,"hex_longitude":"2d8fdbc0","hex_latitude":"0588b340","is_valid_coordinates":true} 
[2026-07-08 07: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-07-08 07:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570293504001,"note":"Value kept but may cause issues"} 
[2026-07-08 07:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342370805444771840,"note":"Value kept but may cause issues"} 
[2026-07-08 07:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8073687470713567232,"note":"Value kept but may cause issues"} 
[2026-07-08 07:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 07:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783477719000,"timestamp_ms":1783477719000,"timestamp_seconds":1783477719,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f8e4fd8"} 
[2026-07-08 07:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 07:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 07: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 07:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 07: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-07-08 07:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 07:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 07:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 07:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 07:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 07:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 07:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 07:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570293504001,"66":27800,"208":206,"85":14080,"24":42,"16":342370805444771840,"45":-8073687470713567232},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-08 07:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 07:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 07:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570293504001,"description":"Unknown IO ID 0"} 
[2026-07-08 07:59:33] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-08 07:59:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 07:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342370805444771840,"km_value":342370805444771.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 07:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8073687470713567232,"description":"Unknown IO ID 45"} 
[2026-07-08 07:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570293504001,"power":27800,"unknown_208":206,"unknown_85":14080,"ignition":42,"odometer":null,"unknown_45":-8073687470713567232}} 
[2026-07-08 07:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":125959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 07:59:33] local.INFO: GPS data processed {"connection_id":125959,"processed":1,"errors":0,"total":1} 
[2026-07-08 07:59:33] local.INFO: Acknowledgment sent {"connection_id":125959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 07:59:56] local.INFO: TCP Data received {"connection_id":125125,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:59:56] local.INFO: Processing buffer {"connection_id":125125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 07:59:56] local.INFO: IMEI packet received {"connection_id":125125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 07:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":125125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:00:00] local.INFO: TCP Data received {"connection_id":125125,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:00:00] local.INFO: Processing buffer {"connection_id":125125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:00:00] local.INFO: IMEI packet received {"connection_id":125125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":125125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:00:01] local.INFO: TCP Data received {"connection_id":125125,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:00:01] local.INFO: Processing buffer {"connection_id":125125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:00:01] local.INFO: IMEI packet received {"connection_id":125125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":125125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:00:05] local.INFO: TCP Data received {"connection_id":125125,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f8e6b30012d8fc9400588cd880009014935..."} 
[2026-07-08 08:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f8e6b30012d8fc9400588cd880009014935..."} 
[2026-07-08 08:00:05] local.INFO: Processing buffer {"connection_id":125125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f8e6b30012d8fc9400588cd880009014935..."} 
[2026-07-08 08:00:05] local.INFO: Packet analysis {"connection_id":125125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f8e"} 
[2026-07-08 08:00:05] local.INFO: Extracted packet for processing {"connection_id":125125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f8e"} 
[2026-07-08 08:00:05] local.INFO: GPS Element Parsed {"raw_longitude":764397888,"raw_latitude":92851592,"longitude_deg":76.4397888,"latitude_deg":9.2851592,"altitude":9,"angle":329,"satellites":53,"speed":50,"hex_longitude":"2d8fc940","hex_latitude":"0588cd88","is_valid_coordinates":true} 
[2026-07-08 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-07-08 08:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570296064001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342371204876730368,"note":"Value kept but may cause issues"} 
[2026-07-08 08:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8080653976385404928,"note":"Value kept but may cause issues"} 
[2026-07-08 08:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783477726000,"timestamp_ms":1783477726000,"timestamp_seconds":1783477726,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f8e6b30"} 
[2026-07-08 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-07-08 08:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 08:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 08:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570296064001,"66":27767,"208":206,"85":14080,"24":50,"16":342371204876730368,"45":-8080653976385404928},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-08 08:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570296064001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:00:05] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-08 08:00:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 08:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342371204876730368,"km_value":342371204876730.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8080653976385404928,"description":"Unknown IO ID 45"} 
[2026-07-08 08:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570296064001,"power":27767,"unknown_208":206,"unknown_85":14080,"ignition":50,"odometer":null,"unknown_45":-8080653976385404928}} 
[2026-07-08 08:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":125125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:00:05] local.INFO: GPS data processed {"connection_id":125125,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:00:05] local.INFO: Acknowledgment sent {"connection_id":125125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:00:07] local.INFO: TCP Data received {"connection_id":125125,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f8e8688012d8fb9c00588f0000008015135..."} 
[2026-07-08 08:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f8e8688012d8fb9c00588f0000008015135..."} 
[2026-07-08 08:00:07] local.INFO: Processing buffer {"connection_id":125125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f8e8688012d8fb9c00588f0000008015135..."} 
[2026-07-08 08:00:07] local.INFO: Packet analysis {"connection_id":125125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f8e"} 
[2026-07-08 08:00:07] local.INFO: Extracted packet for processing {"connection_id":125125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f8e"} 
[2026-07-08 08:00:07] local.INFO: GPS Element Parsed {"raw_longitude":764393920,"raw_latitude":92860416,"longitude_deg":76.439392,"latitude_deg":9.2860416,"altitude":8,"angle":337,"satellites":53,"speed":58,"hex_longitude":"2d8fb9c0","hex_latitude":"0588f000","is_valid_coordinates":true} 
[2026-07-08 08:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570297856001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342371673028165632,"note":"Value kept but may cause issues"} 
[2026-07-08 08:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8085861263452829696,"note":"Value kept but may cause issues"} 
[2026-07-08 08:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783477733000,"timestamp_ms":1783477733000,"timestamp_seconds":1783477733,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f8e8688"} 
[2026-07-08 08:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 08:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570297856001,"66":27300,"208":206,"85":14080,"24":58,"16":342371673028165632,"45":-8085861263452829696},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-08 08:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570297856001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:00:07] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-08 08:00:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 08:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342371673028165632,"km_value":342371673028165.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8085861263452829696,"description":"Unknown IO ID 45"} 
[2026-07-08 08:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570297856001,"power":27300,"unknown_208":206,"unknown_85":14080,"ignition":58,"odometer":null,"unknown_45":-8085861263452829696}} 
[2026-07-08 08:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":125125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:00:07] local.INFO: GPS data processed {"connection_id":125125,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:00:07] local.INFO: Acknowledgment sent {"connection_id":125125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:00:42] local.INFO: TCP Data received {"connection_id":125125,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f8ea1e0012d8faac0058913800009014e35..."} 
[2026-07-08 08:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f8ea1e0012d8faac0058913800009014e35..."} 
[2026-07-08 08:00:42] local.INFO: Processing buffer {"connection_id":125125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f8ea1e0012d8faac0058913800009014e35..."} 
[2026-07-08 08:00:42] local.INFO: Packet analysis {"connection_id":125125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f8e"} 
[2026-07-08 08:00:42] local.INFO: Extracted packet for processing {"connection_id":125125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f8e"} 
[2026-07-08 08:00:42] local.INFO: GPS Element Parsed {"raw_longitude":764390080,"raw_latitude":92869504,"longitude_deg":76.439008,"latitude_deg":9.2869504,"altitude":9,"angle":334,"satellites":53,"speed":54,"hex_longitude":"2d8faac0","hex_latitude":"05891380","is_valid_coordinates":true} 
[2026-07-08 08:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570299648001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342372149769535488,"note":"Value kept but may cause issues"} 
[2026-07-08 08:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8090224125589585920,"note":"Value kept but may cause issues"} 
[2026-07-08 08:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783477740000,"timestamp_ms":1783477740000,"timestamp_seconds":1783477740,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f8ea1e0"} 
[2026-07-08 08:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-08 08:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":125125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":125125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":125125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570299648001,"66":27800,"209":206,"85":14080,"24":54,"16":342372149769535488,"45":-8090224125589585920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-07-08 08:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570299648001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:00:42] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-08 08:00:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 08:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342372149769535488,"km_value":342372149769535.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8090224125589585920,"description":"Unknown IO ID 45"} 
[2026-07-08 08:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570299648001,"power":27800,"unknown_209":206,"unknown_85":14080,"ignition":54,"odometer":null,"unknown_45":-8090224125589585920}} 
[2026-07-08 08:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":125125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:00:42] local.INFO: GPS data processed {"connection_id":125125,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:00:42] local.INFO: Acknowledgment sent {"connection_id":125125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:00:56] local.INFO: TCP Data received {"connection_id":125963,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:00:56] local.INFO: Processing buffer {"connection_id":125963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:00:56] local.INFO: IMEI packet received {"connection_id":125963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":125963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:01:05] local.INFO: TCP Data received {"connection_id":125963,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:01:05] local.INFO: Processing buffer {"connection_id":125963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:01:05] local.INFO: IMEI packet received {"connection_id":125963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":125963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:01:41] local.INFO: TCP Data received {"connection_id":125963,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:01:41] local.INFO: Processing buffer {"connection_id":125963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:01:41] local.INFO: IMEI packet received {"connection_id":125963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":125963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:02:16] local.INFO: TCP Data received {"connection_id":127224,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:02:16] local.INFO: Processing buffer {"connection_id":127224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:02:16] local.INFO: IMEI packet received {"connection_id":127224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":127224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:02:47] local.INFO: TCP Data received {"connection_id":125127,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125127,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:02:47] local.INFO: Processing buffer {"connection_id":125127,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:02:47] local.INFO: IMEI packet received {"connection_id":125127,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":125127,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:02:52] local.INFO: TCP Data received {"connection_id":125127,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125127,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:02:52] local.INFO: Processing buffer {"connection_id":125127,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:02:52] local.INFO: IMEI packet received {"connection_id":125127,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":125127,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:02:53] local.INFO: TCP Data received {"connection_id":125127,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f90c4c0012d7b110005e31f68000b00a02a..."} 
[2026-07-08 08:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f90c4c0012d7b110005e31f68000b00a02a..."} 
[2026-07-08 08:02:53] local.INFO: Processing buffer {"connection_id":125127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f90c4c0012d7b110005e31f68000b00a02a..."} 
[2026-07-08 08:02:53] local.INFO: Packet analysis {"connection_id":125127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f90"} 
[2026-07-08 08:02:53] local.INFO: Extracted packet for processing {"connection_id":125127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f90"} 
[2026-07-08 08:02:53] local.INFO: GPS Element Parsed {"raw_longitude":763040000,"raw_latitude":98770792,"longitude_deg":76.304,"latitude_deg":9.8770792,"altitude":11,"angle":160,"satellites":42,"speed":7,"hex_longitude":"2d7b1100","hex_latitude":"05e31f68","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570332160001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103622915014000640,"note":"Value kept but may cause issues"} 
[2026-07-08 08:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866672897905512448,"note":"Value kept but may cause issues"} 
[2026-07-08 08:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783477880000,"timestamp_ms":1783477880000,"timestamp_seconds":1783477880,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f90c4c0"} 
[2026-07-08 08:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-08 08:02:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570332160001,"66":13135,"97":206,"85":15104,"24":7,"16":103622915014000640,"45":8866672897905512448},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-08 08:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570332160001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:02:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-08 08:02:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 08:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103622915014000640,"km_value":103622915014000.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866672897905512448,"description":"Unknown IO ID 45"} 
[2026-07-08 08:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570332160001,"power":13135,"unknown_97":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8866672897905512448}} 
[2026-07-08 08:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":125127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449636,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:02:53] local.INFO: GPS data processed {"connection_id":125127,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:02:53] local.INFO: Acknowledgment sent {"connection_id":125127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:03:22] local.INFO: TCP Data received {"connection_id":127226,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127226,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:03:22] local.INFO: Processing buffer {"connection_id":127226,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:03:22] local.INFO: IMEI packet received {"connection_id":127226,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 08:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":127226,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:03:25] local.INFO: TCP Data received {"connection_id":125127,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f910728012d7b124005e31c78000b009927..."} 
[2026-07-08 08:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f910728012d7b124005e31c78000b009927..."} 
[2026-07-08 08:03:25] local.INFO: Processing buffer {"connection_id":125127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f910728012d7b124005e31c78000b009927..."} 
[2026-07-08 08:03:25] local.INFO: Packet analysis {"connection_id":125127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f91"} 
[2026-07-08 08:03:25] local.INFO: Extracted packet for processing {"connection_id":125127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f91"} 
[2026-07-08 08:03:25] local.INFO: GPS Element Parsed {"raw_longitude":763040320,"raw_latitude":98770040,"longitude_deg":76.304032,"latitude_deg":9.877004,"altitude":11,"angle":153,"satellites":39,"speed":0,"hex_longitude":"2d7b1240","hex_latitude":"05e31c78","is_valid_coordinates":true} 
[2026-07-08 08:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570337280001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103622957963673600,"note":"Value kept but may cause issues"} 
[2026-07-08 08:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867869166554540032,"note":"Value kept but may cause issues"} 
[2026-07-08 08:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783477897000,"timestamp_ms":1783477897000,"timestamp_seconds":1783477897,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f910728"} 
[2026-07-08 08:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:03: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-07-08 08: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-08 08:03: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-07-08 08: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-07-08 08:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":125127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":125127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":125127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:03:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570337280001,"66":13091,"97":206,"85":15104,"24":0,"16":103622957963673600,"45":8867869166554540032},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-08 08:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570337280001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:03:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-08 08:03:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 08:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103622957963673600,"km_value":103622957963673.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867869166554540032,"description":"Unknown IO ID 45"} 
[2026-07-08 08:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570337280001,"power":13091,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8867869166554540032}} 
[2026-07-08 08:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":125127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449637,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:03:25] local.INFO: GPS data processed {"connection_id":125127,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:03:25] local.INFO: Acknowledgment sent {"connection_id":125127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:03:47] local.INFO: TCP Data received {"connection_id":127227,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127227,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:03:47] local.INFO: Processing buffer {"connection_id":127227,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:03:47] local.INFO: IMEI packet received {"connection_id":127227,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":127227,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:03:52] local.INFO: TCP Data received {"connection_id":127227,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127227,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:03:52] local.INFO: Processing buffer {"connection_id":127227,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:03:52] local.INFO: IMEI packet received {"connection_id":127227,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":127227,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:03:53] local.INFO: TCP Data received {"connection_id":127227,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f910728012d7b124005e31c78000b009927..."} 
[2026-07-08 08:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f910728012d7b124005e31c78000b009927..."} 
[2026-07-08 08:03:53] local.INFO: Processing buffer {"connection_id":127227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f910728012d7b124005e31c78000b009927..."} 
[2026-07-08 08:03:53] local.INFO: Packet analysis {"connection_id":127227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f91"} 
[2026-07-08 08:03:53] local.INFO: Extracted packet for processing {"connection_id":127227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f91"} 
[2026-07-08 08:03:53] local.INFO: GPS Element Parsed {"raw_longitude":763040320,"raw_latitude":98770040,"longitude_deg":76.304032,"latitude_deg":9.877004,"altitude":11,"angle":153,"satellites":39,"speed":0,"hex_longitude":"2d7b1240","hex_latitude":"05e31c78","is_valid_coordinates":true} 
[2026-07-08 08:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570341632001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103622957963673600,"note":"Value kept but may cause issues"} 
[2026-07-08 08:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868221010275235840,"note":"Value kept but may cause issues"} 
[2026-07-08 08:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783477897000,"timestamp_ms":1783477897000,"timestamp_seconds":1783477897,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f910728"} 
[2026-07-08 08:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:03:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 08:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-08 08:03:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:03:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":127227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":127227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":127227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570341632001,"66":13091,"97":206,"85":15104,"24":0,"16":103622957963673600,"45":8868221010275235840},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-08 08:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570341632001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:03:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-08 08:03:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 08:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103622957963673600,"km_value":103622957963673.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868221010275235840,"description":"Unknown IO ID 45"} 
[2026-07-08 08:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570341632001,"power":13091,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8868221010275235840}} 
[2026-07-08 08:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":127227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449638,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:03:53] local.INFO: GPS data processed {"connection_id":127227,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:03:53] local.INFO: Acknowledgment sent {"connection_id":127227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:04:02] local.INFO: TCP Data received {"connection_id":127229,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127229,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:04:02] local.INFO: Processing buffer {"connection_id":127229,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:04:02] local.INFO: IMEI packet received {"connection_id":127229,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 08:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":127229,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:04:24] local.INFO: TCP Data received {"connection_id":127227,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f9112e0012d7b124005e31c78000b009929..."} 
[2026-07-08 08:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f9112e0012d7b124005e31c78000b009929..."} 
[2026-07-08 08:04:24] local.INFO: Processing buffer {"connection_id":127227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f9112e0012d7b124005e31c78000b009929..."} 
[2026-07-08 08:04:24] local.INFO: Packet analysis {"connection_id":127227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f91"} 
[2026-07-08 08:04:24] local.INFO: Extracted packet for processing {"connection_id":127227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f91"} 
[2026-07-08 08:04:24] local.INFO: GPS Element Parsed {"raw_longitude":763040320,"raw_latitude":98770040,"longitude_deg":76.304032,"latitude_deg":9.877004,"altitude":11,"angle":153,"satellites":41,"speed":0,"hex_longitude":"2d7b1240","hex_latitude":"05e31c78","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570341632001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103622957963673600,"note":"Value kept but may cause issues"} 
[2026-07-08 08:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868221010275235840,"note":"Value kept but may cause issues"} 
[2026-07-08 08:04:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783477900000,"timestamp_ms":1783477900000,"timestamp_seconds":1783477900,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f9112e0"} 
[2026-07-08 08:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 08: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-08 08:04:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":127227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":127227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":127227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:04:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570341632001,"66":12950,"97":206,"85":15104,"24":0,"16":103622957963673600,"45":8868221010275235840},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-08 08:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570341632001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:04:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-08 08:04:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 08:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103622957963673600,"km_value":103622957963673.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868221010275235840,"description":"Unknown IO ID 45"} 
[2026-07-08 08:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570341632001,"power":12950,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8868221010275235840}} 
[2026-07-08 08:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":127227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449639,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:04:24] local.INFO: GPS data processed {"connection_id":127227,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:04:24] local.INFO: Acknowledgment sent {"connection_id":127227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:04:52] local.INFO: TCP Data received {"connection_id":125222,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:04:52] local.INFO: Processing buffer {"connection_id":125222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:04:52] local.INFO: IMEI packet received {"connection_id":125222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":125222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:04:57] local.INFO: TCP Data received {"connection_id":125222,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:04:57] local.INFO: Processing buffer {"connection_id":125222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:04:57] local.INFO: IMEI packet received {"connection_id":125222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":125222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:04:58] local.INFO: TCP Data received {"connection_id":125222,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f9116c8012d7b124005e31c78000b00992a..."} 
[2026-07-08 08:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f9116c8012d7b124005e31c78000b00992a..."} 
[2026-07-08 08:04:58] local.INFO: Processing buffer {"connection_id":125222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f9116c8012d7b124005e31c78000b00992a..."} 
[2026-07-08 08:04:58] local.INFO: Packet analysis {"connection_id":125222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f91"} 
[2026-07-08 08:04:58] local.INFO: Extracted packet for processing {"connection_id":125222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f91"} 
[2026-07-08 08:04:58] local.INFO: GPS Element Parsed {"raw_longitude":763040320,"raw_latitude":98770040,"longitude_deg":76.304032,"latitude_deg":9.877004,"altitude":11,"angle":153,"satellites":42,"speed":0,"hex_longitude":"2d7b1240","hex_latitude":"05e31c78","is_valid_coordinates":true} 
[2026-07-08 08:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570342400001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103622957963673600,"note":"Value kept but may cause issues"} 
[2026-07-08 08:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868221010275235840,"note":"Value kept but may cause issues"} 
[2026-07-08 08:04:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783477901000,"timestamp_ms":1783477901000,"timestamp_seconds":1783477901,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f9116c8"} 
[2026-07-08 08:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 08: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-08 08:04:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":125222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":125222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":125222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:04:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570342400001,"66":12863,"97":206,"85":15104,"24":0,"16":103622957963673600,"45":8868221010275235840},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-08 08:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570342400001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:04:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-08 08:04:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 08:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103622957963673600,"km_value":103622957963673.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868221010275235840,"description":"Unknown IO ID 45"} 
[2026-07-08 08:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570342400001,"power":12863,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8868221010275235840}} 
[2026-07-08 08:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":125222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449640,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:04:58] local.INFO: GPS data processed {"connection_id":125222,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:04:58] local.INFO: Acknowledgment sent {"connection_id":125222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:07:21] local.INFO: TCP Data received {"connection_id":127230,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:07:22] local.INFO: Processing buffer {"connection_id":127230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:07:22] local.INFO: IMEI packet received {"connection_id":127230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":127230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:07:22] local.INFO: TCP Data received {"connection_id":127230,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f949938012d8b9400058d87900005011134..."} 
[2026-07-08 08:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f949938012d8b9400058d87900005011134..."} 
[2026-07-08 08:07:22] local.INFO: Processing buffer {"connection_id":127230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f949938012d8b9400058d87900005011134..."} 
[2026-07-08 08:07:22] local.INFO: Packet analysis {"connection_id":127230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f94"} 
[2026-07-08 08:07:22] local.INFO: Extracted packet for processing {"connection_id":127230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f94"} 
[2026-07-08 08:07:22] local.INFO: GPS Element Parsed {"raw_longitude":764122112,"raw_latitude":93161360,"longitude_deg":76.4122112,"latitude_deg":9.316136,"altitude":5,"angle":273,"satellites":52,"speed":56,"hex_longitude":"2d8b9400","hex_latitude":"058d8790","is_valid_coordinates":true} 
[2026-07-08 08:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570399488001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342395754909794304,"note":"Value kept but may cause issues"} 
[2026-07-08 08:07:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8377398970501650432,"note":"Value kept but may cause issues"} 
[2026-07-08 08:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783478131000,"timestamp_ms":1783478131000,"timestamp_seconds":1783478131,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f949938"} 
[2026-07-08 08:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 08:07:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:07:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":127230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":127230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":127230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:07: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-07-08 08:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570399488001,"66":27658,"15":206,"85":14080,"24":56,"16":342395754909794304,"45":-8377398970501650432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-08 08:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570399488001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:07:22] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-08 08:07:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 08:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342395754909794304,"km_value":342395754909794.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:07:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8377398970501650432,"description":"Unknown IO ID 45"} 
[2026-07-08 08:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570399488001,"power":27658,"unknown_15":206,"unknown_85":14080,"ignition":56,"odometer":null,"unknown_45":-8377398970501650432}} 
[2026-07-08 08:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":127230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:07:22] local.INFO: GPS data processed {"connection_id":127230,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:07:22] local.INFO: Acknowledgment sent {"connection_id":127230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:07:54] local.INFO: TCP Data received {"connection_id":125965,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:07:54] local.INFO: Processing buffer {"connection_id":125965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:07:54] local.INFO: IMEI packet received {"connection_id":125965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":125965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:07:57] local.INFO: TCP Data received {"connection_id":125965,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:07:57] local.INFO: Processing buffer {"connection_id":125965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:07:57] local.INFO: IMEI packet received {"connection_id":125965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":125965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:08:00] local.INFO: TCP Data received {"connection_id":125965,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:08:00] local.INFO: Processing buffer {"connection_id":125965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:08:00] local.INFO: IMEI packet received {"connection_id":125965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":125965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:08:01] local.INFO: TCP Data received {"connection_id":125965,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f95f4e0012d89f740058d9570000500fd33..."} 
[2026-07-08 08:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f95f4e0012d89f740058d9570000500fd33..."} 
[2026-07-08 08:08:01] local.INFO: Processing buffer {"connection_id":125965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f95f4e0012d89f740058d9570000500fd33..."} 
[2026-07-08 08:08:01] local.INFO: Packet analysis {"connection_id":125965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f95"} 
[2026-07-08 08:08:01] local.INFO: Extracted packet for processing {"connection_id":125965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f95"} 
[2026-07-08 08:08:01] local.INFO: GPS Element Parsed {"raw_longitude":764016448,"raw_latitude":93164912,"longitude_deg":76.4016448,"latitude_deg":9.3164912,"altitude":5,"angle":253,"satellites":51,"speed":40,"hex_longitude":"2d89f740","hex_latitude":"058d9570","is_valid_coordinates":true} 
[2026-07-08 08:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570422272001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342400831561138176,"note":"Value kept but may cause issues"} 
[2026-07-08 08:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8495336985742196736,"note":"Value kept but may cause issues"} 
[2026-07-08 08:08:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783478220000,"timestamp_ms":1783478220000,"timestamp_seconds":1783478220,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f95f4e0"} 
[2026-07-08 08:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 08:08:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:08:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570422272001,"66":27800,"15":206,"85":14080,"24":40,"16":342400831561138176,"45":-8495336985742196736},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-08 08:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570422272001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:08:01] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-08 08:08:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 08:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342400831561138176,"km_value":342400831561138.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8495336985742196736,"description":"Unknown IO ID 45"} 
[2026-07-08 08:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570422272001,"power":27800,"unknown_15":206,"unknown_85":14080,"ignition":40,"odometer":null,"unknown_45":-8495336985742196736}} 
[2026-07-08 08:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":125965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:08:01] local.INFO: GPS data processed {"connection_id":125965,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:08:01] local.INFO: Acknowledgment sent {"connection_id":125965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:08:33] local.INFO: TCP Data received {"connection_id":125965,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f95f4e0012d89f740058d9570000500fd33..."} 
[2026-07-08 08:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f95f4e0012d89f740058d9570000500fd33..."} 
[2026-07-08 08:08:33] local.INFO: Processing buffer {"connection_id":125965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f95f4e0012d89f740058d9570000500fd33..."} 
[2026-07-08 08:08:33] local.INFO: Packet analysis {"connection_id":125965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f95"} 
[2026-07-08 08:08:33] local.INFO: Extracted packet for processing {"connection_id":125965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f95"} 
[2026-07-08 08:08:33] local.INFO: GPS Element Parsed {"raw_longitude":764016448,"raw_latitude":93164912,"longitude_deg":76.4016448,"latitude_deg":9.3164912,"altitude":5,"angle":253,"satellites":51,"speed":40,"hex_longitude":"2d89f740","hex_latitude":"058d9570","is_valid_coordinates":true} 
[2026-07-08 08:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570424320001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342400831561138176,"note":"Value kept but may cause issues"} 
[2026-07-08 08:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8505258978671497216,"note":"Value kept but may cause issues"} 
[2026-07-08 08:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783478220000,"timestamp_ms":1783478220000,"timestamp_seconds":1783478220,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f95f4e0"} 
[2026-07-08 08:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 08:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:08:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570424320001,"66":27800,"15":206,"85":14080,"24":40,"16":342400831561138176,"45":-8505258978671497216},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-08 08:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570424320001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:08:33] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-08 08:08:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 08:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342400831561138176,"km_value":342400831561138.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8505258978671497216,"description":"Unknown IO ID 45"} 
[2026-07-08 08:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570424320001,"power":27800,"unknown_15":206,"unknown_85":14080,"ignition":40,"odometer":null,"unknown_45":-8505258978671497216}} 
[2026-07-08 08:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":125965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:08:33] local.INFO: GPS data processed {"connection_id":125965,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:08:33] local.INFO: Acknowledgment sent {"connection_id":125965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:09:02] local.INFO: TCP Data received {"connection_id":125224,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:09:02] local.INFO: Processing buffer {"connection_id":125224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:09:02] local.INFO: IMEI packet received {"connection_id":125224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":125224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:09:02] local.INFO: TCP Data received {"connection_id":125224,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:09:02] local.INFO: Processing buffer {"connection_id":125224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:09:02] local.INFO: IMEI packet received {"connection_id":125224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":125224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:09:03] local.INFO: TCP Data received {"connection_id":125224,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f96b830012d895680058d83c80005010733..."} 
[2026-07-08 08:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f96b830012d895680058d83c80005010733..."} 
[2026-07-08 08:09:03] local.INFO: Processing buffer {"connection_id":125224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f96b830012d895680058d83c80005010733..."} 
[2026-07-08 08:09:03] local.INFO: Packet analysis {"connection_id":125224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f96"} 
[2026-07-08 08:09:03] local.INFO: Extracted packet for processing {"connection_id":125224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f96"} 
[2026-07-08 08:09:03] local.INFO: GPS Element Parsed {"raw_longitude":763975296,"raw_latitude":93160392,"longitude_deg":76.3975296,"latitude_deg":9.3160392,"altitude":5,"angle":263,"satellites":51,"speed":45,"hex_longitude":"2d895680","hex_latitude":"058d83c8","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570435072001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342402841605832704,"note":"Value kept but may cause issues"} 
[2026-07-08 08:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8540513719505434624,"note":"Value kept but may cause issues"} 
[2026-07-08 08:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783478270000,"timestamp_ms":1783478270000,"timestamp_seconds":1783478270,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f96b830"} 
[2026-07-08 08:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 08:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570435072001,"66":27800,"15":206,"85":14080,"24":45,"16":342402841605832704,"45":-8540513719505434624},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-08 08:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570435072001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:09:03] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-08 08:09:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 08:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342402841605832704,"km_value":342402841605832.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8540513719505434624,"description":"Unknown IO ID 45"} 
[2026-07-08 08:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570435072001,"power":27800,"unknown_15":206,"unknown_85":14080,"ignition":45,"odometer":null,"unknown_45":-8540513719505434624}} 
[2026-07-08 08:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":125224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:09:03] local.INFO: GPS data processed {"connection_id":125224,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:09:03] local.INFO: Acknowledgment sent {"connection_id":125224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:09:07] local.INFO: TCP Data received {"connection_id":125224,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f96d770012d892ec0058d7f080006010732..."} 
[2026-07-08 08:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f96d770012d892ec0058d7f080006010732..."} 
[2026-07-08 08:09:07] local.INFO: Processing buffer {"connection_id":125224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f96d770012d892ec0058d7f080006010732..."} 
[2026-07-08 08:09:07] local.INFO: Packet analysis {"connection_id":125224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f96"} 
[2026-07-08 08:09:07] local.INFO: Extracted packet for processing {"connection_id":125224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f96"} 
[2026-07-08 08:09:07] local.INFO: GPS Element Parsed {"raw_longitude":763965120,"raw_latitude":93159176,"longitude_deg":76.396512,"latitude_deg":9.3159176,"altitude":6,"angle":263,"satellites":50,"speed":54,"hex_longitude":"2d892ec0","hex_latitude":"058d7f08","is_valid_coordinates":true} 
[2026-07-08 08:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570437120001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342403331232104448,"note":"Value kept but may cause issues"} 
[2026-07-08 08:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8550506081178892288,"note":"Value kept but may cause issues"} 
[2026-07-08 08:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783478278000,"timestamp_ms":1783478278000,"timestamp_seconds":1783478278,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f96d770"} 
[2026-07-08 08:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 08:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570437120001,"66":27658,"15":206,"85":14080,"24":54,"16":342403331232104448,"45":-8550506081178892288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-08 08:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570437120001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:09:07] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-08 08:09:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 08:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342403331232104448,"km_value":342403331232104.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8550506081178892288,"description":"Unknown IO ID 45"} 
[2026-07-08 08:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570437120001,"power":27658,"unknown_15":206,"unknown_85":14080,"ignition":54,"odometer":null,"unknown_45":-8550506081178892288}} 
[2026-07-08 08:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":125224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:09:07] local.INFO: GPS data processed {"connection_id":125224,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:09:07] local.INFO: Acknowledgment sent {"connection_id":125224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:09:27] local.INFO: TCP Data received {"connection_id":127232,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127232,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:09:27] local.INFO: Processing buffer {"connection_id":127232,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:09:27] local.INFO: IMEI packet received {"connection_id":127232,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 08:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":127232,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:09:38] local.INFO: TCP Data received {"connection_id":125224,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f96f2c8012d890700058d7aa80007010733..."} 
[2026-07-08 08:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f96f2c8012d890700058d7aa80007010733..."} 
[2026-07-08 08:09:38] local.INFO: Processing buffer {"connection_id":125224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f96f2c8012d890700058d7aa80007010733..."} 
[2026-07-08 08:09:38] local.INFO: Packet analysis {"connection_id":125224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f96"} 
[2026-07-08 08:09:38] local.INFO: Extracted packet for processing {"connection_id":125224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f96"} 
[2026-07-08 08:09:38] local.INFO: GPS Element Parsed {"raw_longitude":763954944,"raw_latitude":93158056,"longitude_deg":76.3954944,"latitude_deg":9.3158056,"altitude":7,"angle":263,"satellites":51,"speed":61,"hex_longitude":"2d890700","hex_latitude":"058d7aa8","is_valid_coordinates":true} 
[2026-07-08 08:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570439168001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342403820858376192,"note":"Value kept but may cause issues"} 
[2026-07-08 08:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8561694711503452160,"note":"Value kept but may cause issues"} 
[2026-07-08 08:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783478285000,"timestamp_ms":1783478285000,"timestamp_seconds":1783478285,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f96f2c8"} 
[2026-07-08 08:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 08:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570439168001,"66":27658,"15":206,"85":14080,"24":61,"16":342403820858376192,"45":-8561694711503452160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-08 08:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570439168001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:09:38] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-08 08:09:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 08:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342403820858376192,"km_value":342403820858376.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8561694711503452160,"description":"Unknown IO ID 45"} 
[2026-07-08 08:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570439168001,"power":27658,"unknown_15":206,"unknown_85":14080,"ignition":61,"odometer":null,"unknown_45":-8561694711503452160}} 
[2026-07-08 08:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":125224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:09:38] local.INFO: GPS data processed {"connection_id":125224,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:09:38] local.INFO: Acknowledgment sent {"connection_id":125224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:09:57] local.INFO: TCP Data received {"connection_id":125966,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:09:57] local.INFO: Processing buffer {"connection_id":125966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:09:57] local.INFO: IMEI packet received {"connection_id":125966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":125966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:09:57] local.INFO: TCP Data received {"connection_id":125967,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125967,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:09:57] local.INFO: Processing buffer {"connection_id":125967,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:09:57] local.INFO: IMEI packet received {"connection_id":125967,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 08:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":125967,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:10:00] local.INFO: TCP Data received {"connection_id":125966,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:10:00] local.INFO: Processing buffer {"connection_id":125966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:10:00] local.INFO: IMEI packet received {"connection_id":125966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":125966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:10:06] local.INFO: TCP Data received {"connection_id":125966,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f970a38012d88e340058d76780006010733..."} 
[2026-07-08 08:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f970a38012d88e340058d76780006010733..."} 
[2026-07-08 08:10:06] local.INFO: Processing buffer {"connection_id":125966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f970a38012d88e340058d76780006010733..."} 
[2026-07-08 08:10:06] local.INFO: Packet analysis {"connection_id":125966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f97"} 
[2026-07-08 08:10:06] local.INFO: Extracted packet for processing {"connection_id":125966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f97"} 
[2026-07-08 08:10:06] local.INFO: GPS Element Parsed {"raw_longitude":763945792,"raw_latitude":93156984,"longitude_deg":76.3945792,"latitude_deg":9.3156984,"altitude":6,"angle":263,"satellites":51,"speed":60,"hex_longitude":"2d88e340","hex_latitude":"058d7678","is_valid_coordinates":true} 
[2026-07-08 08:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570440960001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342404263240007680,"note":"Value kept but may cause issues"} 
[2026-07-08 08:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8572883341827987456,"note":"Value kept but may cause issues"} 
[2026-07-08 08:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783478291000,"timestamp_ms":1783478291000,"timestamp_seconds":1783478291,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f970a38"} 
[2026-07-08 08:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 08:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570440960001,"66":27767,"15":206,"85":14080,"24":60,"16":342404263240007680,"45":-8572883341827987456},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-08 08:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570440960001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:10:06] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-08 08:10:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 08:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342404263240007680,"km_value":342404263240007.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8572883341827987456,"description":"Unknown IO ID 45"} 
[2026-07-08 08:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570440960001,"power":27767,"unknown_15":206,"unknown_85":14080,"ignition":60,"odometer":null,"unknown_45":-8572883341827987456}} 
[2026-07-08 08:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":125966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:10:06] local.INFO: GPS data processed {"connection_id":125966,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:10:06] local.INFO: Acknowledgment sent {"connection_id":125966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:10:38] local.INFO: TCP Data received {"connection_id":125966,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f9846a0012d87a580058db7300007013436..."} 
[2026-07-08 08:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f9846a0012d87a580058db7300007013436..."} 
[2026-07-08 08:10:38] local.INFO: Processing buffer {"connection_id":125966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f9846a0012d87a580058db7300007013436..."} 
[2026-07-08 08:10:38] local.INFO: Packet analysis {"connection_id":125966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f98"} 
[2026-07-08 08:10:38] local.INFO: Extracted packet for processing {"connection_id":125966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f98"} 
[2026-07-08 08:10:38] local.INFO: GPS Element Parsed {"raw_longitude":763864448,"raw_latitude":93173552,"longitude_deg":76.3864448,"latitude_deg":9.3173552,"altitude":7,"angle":308,"satellites":54,"speed":31,"hex_longitude":"2d87a580","hex_latitude":"058db730","is_valid_coordinates":true} 
[2026-07-08 08:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570460672001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342408476602925056,"note":"Value kept but may cause issues"} 
[2026-07-08 08:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8664573815488954368,"note":"Value kept but may cause issues"} 
[2026-07-08 08:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783478372000,"timestamp_ms":1783478372000,"timestamp_seconds":1783478372,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f9846a0"} 
[2026-07-08 08:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 08:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570460672001,"66":27767,"87":206,"85":14592,"24":31,"16":342408476602925056,"45":-8664573815488954368},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,85,24,16,45]} 
[2026-07-08 08:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570460672001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:10:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-08 08:10:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 08:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342408476602925056,"km_value":342408476602925.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8664573815488954368,"description":"Unknown IO ID 45"} 
[2026-07-08 08:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570460672001,"power":27767,"unknown_87":206,"unknown_85":14592,"ignition":31,"odometer":null,"unknown_45":-8664573815488954368}} 
[2026-07-08 08:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":125966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:10:38] local.INFO: GPS data processed {"connection_id":125966,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:10:38] local.INFO: Acknowledgment sent {"connection_id":125966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:10:57] local.INFO: TCP Data received {"connection_id":125225,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:10:57] local.INFO: Processing buffer {"connection_id":125225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:10:57] local.INFO: IMEI packet received {"connection_id":125225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":125225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:11:01] local.INFO: TCP Data received {"connection_id":125225,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:11:01] local.INFO: Processing buffer {"connection_id":125225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:11:01] local.INFO: IMEI packet received {"connection_id":125225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":125225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:11:02] local.INFO: TCP Data received {"connection_id":125225,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f987198012d878840058dce880007013436..."} 
[2026-07-08 08:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f987198012d878840058dce880007013436..."} 
[2026-07-08 08:11:02] local.INFO: Processing buffer {"connection_id":125225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f987198012d878840058dce880007013436..."} 
[2026-07-08 08:11:02] local.INFO: Packet analysis {"connection_id":125225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f98"} 
[2026-07-08 08:11:02] local.INFO: Extracted packet for processing {"connection_id":125225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f98"} 
[2026-07-08 08:11:02] local.INFO: GPS Element Parsed {"raw_longitude":763856960,"raw_latitude":93179528,"longitude_deg":76.385696,"latitude_deg":9.3179528,"altitude":7,"angle":308,"satellites":54,"speed":32,"hex_longitude":"2d878840","hex_latitude":"058dce88","is_valid_coordinates":true} 
[2026-07-08 08:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570463232001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342408936164425728,"note":"Value kept but may cause issues"} 
[2026-07-08 08:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8672384746091237376,"note":"Value kept but may cause issues"} 
[2026-07-08 08:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783478383000,"timestamp_ms":1783478383000,"timestamp_seconds":1783478383,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f987198"} 
[2026-07-08 08:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:11: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-07-08 08:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 08:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:11:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570463232001,"66":27865,"87":206,"85":14592,"24":32,"16":342408936164425728,"45":-8672384746091237376},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,85,24,16,45]} 
[2026-07-08 08:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570463232001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:11:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-08 08:11:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 08:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342408936164425728,"km_value":342408936164425.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8672384746091237376,"description":"Unknown IO ID 45"} 
[2026-07-08 08:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570463232001,"power":27865,"unknown_87":206,"unknown_85":14592,"ignition":32,"odometer":null,"unknown_45":-8672384746091237376}} 
[2026-07-08 08:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":125225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:11:02] local.INFO: GPS data processed {"connection_id":125225,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:11:02] local.INFO: Acknowledgment sent {"connection_id":125225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:11:33] local.INFO: TCP Data received {"connection_id":125225,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f9898a8012d876d40058de4980007013336..."} 
[2026-07-08 08:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f9898a8012d876d40058de4980007013336..."} 
[2026-07-08 08:11:33] local.INFO: Processing buffer {"connection_id":125225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f9898a8012d876d40058de4980007013336..."} 
[2026-07-08 08:11:33] local.INFO: Packet analysis {"connection_id":125225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f98"} 
[2026-07-08 08:11:33] local.INFO: Extracted packet for processing {"connection_id":125225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f98"} 
[2026-07-08 08:11:33] local.INFO: GPS Element Parsed {"raw_longitude":763850048,"raw_latitude":93185176,"longitude_deg":76.3850048,"latitude_deg":9.3185176,"altitude":7,"angle":307,"satellites":54,"speed":39,"hex_longitude":"2d876d40","hex_latitude":"058de498","is_valid_coordinates":true} 
[2026-07-08 08:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570466048001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342409365661155328,"note":"Value kept but may cause issues"} 
[2026-07-08 08:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8680617889158494208,"note":"Value kept but may cause issues"} 
[2026-07-08 08:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783478393000,"timestamp_ms":1783478393000,"timestamp_seconds":1783478393,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f9898a8"} 
[2026-07-08 08:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 08:11:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:11:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570466048001,"66":27745,"87":206,"85":14592,"24":39,"16":342409365661155328,"45":-8680617889158494208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,85,24,16,45]} 
[2026-07-08 08:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570466048001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:11:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-08 08:11:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 08:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342409365661155328,"km_value":342409365661155.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8680617889158494208,"description":"Unknown IO ID 45"} 
[2026-07-08 08:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570466048001,"power":27745,"unknown_87":206,"unknown_85":14592,"ignition":39,"odometer":null,"unknown_45":-8680617889158494208}} 
[2026-07-08 08:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":125225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:11:33] local.INFO: GPS data processed {"connection_id":125225,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:11:33] local.INFO: Acknowledgment sent {"connection_id":125225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:11:57] local.INFO: TCP Data received {"connection_id":125131,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:11:57] local.INFO: Processing buffer {"connection_id":125131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:11:57] local.INFO: IMEI packet received {"connection_id":125131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":125131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:11:57] local.INFO: TCP Data received {"connection_id":125131,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:11:57] local.INFO: Processing buffer {"connection_id":125131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:11:57] local.INFO: IMEI packet received {"connection_id":125131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":125131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:12:02] local.INFO: TCP Data received {"connection_id":125131,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:12:02] local.INFO: Processing buffer {"connection_id":125131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:12:02] local.INFO: IMEI packet received {"connection_id":125131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":125131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:12:02] local.INFO: TCP Data received {"connection_id":125131,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f99b1e8012d868100058e6f180007013d32..."} 
[2026-07-08 08:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f99b1e8012d868100058e6f180007013d32..."} 
[2026-07-08 08:12:02] local.INFO: Processing buffer {"connection_id":125131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f99b1e8012d868100058e6f180007013d32..."} 
[2026-07-08 08:12:02] local.INFO: Packet analysis {"connection_id":125131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f99"} 
[2026-07-08 08:12:02] local.INFO: Extracted packet for processing {"connection_id":125131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f99"} 
[2026-07-08 08:12:02] local.INFO: GPS Element Parsed {"raw_longitude":763789568,"raw_latitude":93220632,"longitude_deg":76.3789568,"latitude_deg":9.3220632,"altitude":7,"angle":317,"satellites":50,"speed":55,"hex_longitude":"2d868100","hex_latitude":"058e6f18","is_valid_coordinates":true} 
[2026-07-08 08:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570485248001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342412767275253760,"note":"Value kept but may cause issues"} 
[2026-07-08 08:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8747327458629978112,"note":"Value kept but may cause issues"} 
[2026-07-08 08:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783478465000,"timestamp_ms":1783478465000,"timestamp_seconds":1783478465,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f99b1e8"} 
[2026-07-08 08:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:12: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-07-08 08:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 08:12:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:12:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570485248001,"66":27767,"89":206,"85":14592,"24":55,"16":342412767275253760,"45":-8747327458629978112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-07-08 08:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570485248001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:12:02] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-08 08:12:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 08:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342412767275253760,"km_value":342412767275253.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8747327458629978112,"description":"Unknown IO ID 45"} 
[2026-07-08 08:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570485248001,"power":27767,"unknown_89":206,"unknown_85":14592,"ignition":55,"odometer":null,"unknown_45":-8747327458629978112}} 
[2026-07-08 08:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":125131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:12:02] local.INFO: GPS data processed {"connection_id":125131,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:12:02] local.INFO: Acknowledgment sent {"connection_id":125131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:12:34] local.INFO: TCP Data received {"connection_id":125131,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f99cd40012d866900058e8f400007014830..."} 
[2026-07-08 08:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f99cd40012d866900058e8f400007014830..."} 
[2026-07-08 08:12:34] local.INFO: Processing buffer {"connection_id":125131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f99cd40012d866900058e8f400007014830..."} 
[2026-07-08 08:12:34] local.INFO: Packet analysis {"connection_id":125131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f99"} 
[2026-07-08 08:12:34] local.INFO: Extracted packet for processing {"connection_id":125131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f99"} 
[2026-07-08 08:12:34] local.INFO: GPS Element Parsed {"raw_longitude":763783424,"raw_latitude":93228864,"longitude_deg":76.3783424,"latitude_deg":9.3228864,"altitude":7,"angle":328,"satellites":48,"speed":61,"hex_longitude":"2d866900","hex_latitude":"058e8f40","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570487040001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342413265491460096,"note":"Value kept but may cause issues"} 
[2026-07-08 08:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8754716176767051776,"note":"Value kept but may cause issues"} 
[2026-07-08 08:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783478472000,"timestamp_ms":1783478472000,"timestamp_seconds":1783478472,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f99cd40"} 
[2026-07-08 08:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:12: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-07-08 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 08:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570487040001,"66":27713,"89":206,"85":14592,"24":61,"16":342413265491460096,"45":-8754716176767051776},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-07-08 08:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570487040001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:12:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-08 08:12:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 08:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342413265491460096,"km_value":342413265491460.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8754716176767051776,"description":"Unknown IO ID 45"} 
[2026-07-08 08:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570487040001,"power":27713,"unknown_89":206,"unknown_85":14592,"ignition":61,"odometer":null,"unknown_45":-8754716176767051776}} 
[2026-07-08 08:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":125131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:12:34] local.INFO: GPS data processed {"connection_id":125131,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:12:34] local.INFO: Acknowledgment sent {"connection_id":125131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:12:56] local.INFO: TCP Data received {"connection_id":125226,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:12:56] local.INFO: Processing buffer {"connection_id":125226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:12:56] local.INFO: IMEI packet received {"connection_id":125226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":125226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:12:57] local.INFO: TCP Data received {"connection_id":125226,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:12:57] local.INFO: Processing buffer {"connection_id":125226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:12:57] local.INFO: IMEI packet received {"connection_id":125226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":125226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:13:01] local.INFO: TCP Data received {"connection_id":125226,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:13:01] local.INFO: Processing buffer {"connection_id":125226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:13:01] local.INFO: IMEI packet received {"connection_id":125226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":125226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:13:02] local.INFO: TCP Data received {"connection_id":125226,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f99e4b0012d865680058eadd8000601492d..."} 
[2026-07-08 08:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f99e4b0012d865680058eadd8000601492d..."} 
[2026-07-08 08:13:02] local.INFO: Processing buffer {"connection_id":125226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f99e4b0012d865680058eadd8000601492d..."} 
[2026-07-08 08:13:02] local.INFO: Packet analysis {"connection_id":125226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f99"} 
[2026-07-08 08:13:02] local.INFO: Extracted packet for processing {"connection_id":125226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f99"} 
[2026-07-08 08:13:02] local.INFO: GPS Element Parsed {"raw_longitude":763778688,"raw_latitude":93236696,"longitude_deg":76.3778688,"latitude_deg":9.3236696,"altitude":6,"angle":329,"satellites":45,"speed":60,"hex_longitude":"2d865680","hex_latitude":"058eadd8","is_valid_coordinates":true} 
[2026-07-08 08:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570488832001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342413707873091584,"note":"Value kept but may cause issues"} 
[2026-07-08 08:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8761471576206000128,"note":"Value kept but may cause issues"} 
[2026-07-08 08:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783478478000,"timestamp_ms":1783478478000,"timestamp_seconds":1783478478,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f99e4b0"} 
[2026-07-08 08:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 08:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:13:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570488832001,"66":27745,"89":206,"85":14592,"24":60,"16":342413707873091584,"45":-8761471576206000128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-07-08 08:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570488832001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:13:02] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-08 08:13:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 08:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342413707873091584,"km_value":342413707873091.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8761471576206000128,"description":"Unknown IO ID 45"} 
[2026-07-08 08:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570488832001,"power":27745,"unknown_89":206,"unknown_85":14592,"ignition":60,"odometer":null,"unknown_45":-8761471576206000128}} 
[2026-07-08 08:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":125226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:13:02] local.INFO: GPS data processed {"connection_id":125226,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:13:02] local.INFO: Acknowledgment sent {"connection_id":125226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:13:33] local.INFO: TCP Data received {"connection_id":125226,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f9b1d30012d85cac0058ff6280005014d31..."} 
[2026-07-08 08:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f9b1d30012d85cac0058ff6280005014d31..."} 
[2026-07-08 08:13:33] local.INFO: Processing buffer {"connection_id":125226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f9b1d30012d85cac0058ff6280005014d31..."} 
[2026-07-08 08:13:33] local.INFO: Packet analysis {"connection_id":125226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f9b"} 
[2026-07-08 08:13:33] local.INFO: Extracted packet for processing {"connection_id":125226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f9b"} 
[2026-07-08 08:13:33] local.INFO: GPS Element Parsed {"raw_longitude":763742912,"raw_latitude":93320744,"longitude_deg":76.3742912,"latitude_deg":9.3320744,"altitude":5,"angle":333,"satellites":49,"speed":45,"hex_longitude":"2d85cac0","hex_latitude":"058ff628","is_valid_coordinates":true} 
[2026-07-08 08:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570509824001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342418140279341056,"note":"Value kept but may cause issues"} 
[2026-07-08 08:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8804326141387827200,"note":"Value kept but may cause issues"} 
[2026-07-08 08:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783478558000,"timestamp_ms":1783478558000,"timestamp_seconds":1783478558,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f9b1d30"} 
[2026-07-08 08:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 08:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570509824001,"66":27767,"173":206,"85":14592,"24":45,"16":342418140279341056,"45":-8804326141387827200},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-07-08 08:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570509824001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:13:33] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-08 08:13:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 08:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342418140279341056,"km_value":342418140279341.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8804326141387827200,"description":"Unknown IO ID 45"} 
[2026-07-08 08:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570509824001,"power":27767,"unknown_173":206,"unknown_85":14592,"ignition":45,"odometer":null,"unknown_45":-8804326141387827200}} 
[2026-07-08 08:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":125226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:13:33] local.INFO: GPS data processed {"connection_id":125226,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:13:33] local.INFO: Acknowledgment sent {"connection_id":125226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:13:55] local.INFO: TCP Data received {"connection_id":125969,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:13:55] local.INFO: Processing buffer {"connection_id":125969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:13:55] local.INFO: IMEI packet received {"connection_id":125969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":125969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:13:56] local.INFO: TCP Data received {"connection_id":125969,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:13:56] local.INFO: Processing buffer {"connection_id":125969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:13:56] local.INFO: IMEI packet received {"connection_id":125969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":125969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:14:01] local.INFO: TCP Data received {"connection_id":125969,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:14:01] local.INFO: Processing buffer {"connection_id":125969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:14:01] local.INFO: IMEI packet received {"connection_id":125969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":125969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:14:02] local.INFO: TCP Data received {"connection_id":125969,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f9b3c70012d85b980059017200006014d33..."} 
[2026-07-08 08:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f9b3c70012d85b980059017200006014d33..."} 
[2026-07-08 08:14:02] local.INFO: Processing buffer {"connection_id":125969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f9b3c70012d85b980059017200006014d33..."} 
[2026-07-08 08:14:02] local.INFO: Packet analysis {"connection_id":125969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f9b"} 
[2026-07-08 08:14:02] local.INFO: Extracted packet for processing {"connection_id":125969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f9b"} 
[2026-07-08 08:14:02] local.INFO: GPS Element Parsed {"raw_longitude":763738496,"raw_latitude":93329184,"longitude_deg":76.3738496,"latitude_deg":9.3329184,"altitude":6,"angle":333,"satellites":51,"speed":51,"hex_longitude":"2d85b980","hex_latitude":"05901720","is_valid_coordinates":true} 
[2026-07-08 08:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570510848001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342418604135809024,"note":"Value kept but may cause issues"} 
[2026-07-08 08:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8806014991246940160,"note":"Value kept but may cause issues"} 
[2026-07-08 08:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783478566000,"timestamp_ms":1783478566000,"timestamp_seconds":1783478566,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f9b3c70"} 
[2026-07-08 08:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:14: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-07-08 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 08:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:14:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570510848001,"66":27767,"173":206,"85":14592,"24":51,"16":342418604135809024,"45":-8806014991246940160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-07-08 08:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570510848001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:14:02] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-08 08:14:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 08:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342418604135809024,"km_value":342418604135809.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8806014991246940160,"description":"Unknown IO ID 45"} 
[2026-07-08 08:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570510848001,"power":27767,"unknown_173":206,"unknown_85":14592,"ignition":51,"odometer":null,"unknown_45":-8806014991246940160}} 
[2026-07-08 08:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":125969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:14:02] local.INFO: GPS data processed {"connection_id":125969,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:14:02] local.INFO: Acknowledgment sent {"connection_id":125969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:14:02] local.INFO: TCP Data received {"connection_id":125969,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f9b57c8012d85a900059039200006014f32..."} 
[2026-07-08 08:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f9b57c8012d85a900059039200006014f32..."} 
[2026-07-08 08:14:02] local.INFO: Processing buffer {"connection_id":125969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f9b57c8012d85a900059039200006014f32..."} 
[2026-07-08 08:14:02] local.INFO: Packet analysis {"connection_id":125969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f9b"} 
[2026-07-08 08:14:02] local.INFO: Extracted packet for processing {"connection_id":125969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f9b"} 
[2026-07-08 08:14:02] local.INFO: GPS Element Parsed {"raw_longitude":763734272,"raw_latitude":93337888,"longitude_deg":76.3734272,"latitude_deg":9.3337888,"altitude":6,"angle":335,"satellites":50,"speed":58,"hex_longitude":"2d85a900","hex_latitude":"05903920","is_valid_coordinates":true} 
[2026-07-08 08:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570512896001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342419072287244288,"note":"Value kept but may cause issues"} 
[2026-07-08 08:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8810870434593038336,"note":"Value kept but may cause issues"} 
[2026-07-08 08:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783478573000,"timestamp_ms":1783478573000,"timestamp_seconds":1783478573,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f9b57c8"} 
[2026-07-08 08:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:14: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-07-08 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 08:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:14:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570512896001,"66":27658,"173":206,"85":14592,"24":58,"16":342419072287244288,"45":-8810870434593038336},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-07-08 08:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570512896001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:14:02] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-08 08:14:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 08:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342419072287244288,"km_value":342419072287244.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8810870434593038336,"description":"Unknown IO ID 45"} 
[2026-07-08 08:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570512896001,"power":27658,"unknown_173":206,"unknown_85":14592,"ignition":58,"odometer":null,"unknown_45":-8810870434593038336}} 
[2026-07-08 08:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":125969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:14:02] local.INFO: GPS data processed {"connection_id":125969,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:14:02] local.INFO: Acknowledgment sent {"connection_id":125969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:14:07] local.INFO: TCP Data received {"connection_id":125227,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125227,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:14:07] local.INFO: Processing buffer {"connection_id":125227,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:14:07] local.INFO: IMEI packet received {"connection_id":125227,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":125227,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:14:13] local.INFO: TCP Data received {"connection_id":125227,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125227,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:14:13] local.INFO: Processing buffer {"connection_id":125227,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:14:13] local.INFO: IMEI packet received {"connection_id":125227,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":125227,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:14:28] local.INFO: TCP Data received {"connection_id":125227,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f9b9648012d7a9f0005e409c8000c007f27..."} 
[2026-07-08 08:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f9b9648012d7a9f0005e409c8000c007f27..."} 
[2026-07-08 08:14:28] local.INFO: Processing buffer {"connection_id":125227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f9b9648012d7a9f0005e409c8000c007f27..."} 
[2026-07-08 08:14:28] local.INFO: Packet analysis {"connection_id":125227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f9b"} 
[2026-07-08 08:14:28] local.INFO: Extracted packet for processing {"connection_id":125227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f9b"} 
[2026-07-08 08:14:28] local.INFO: GPS Element Parsed {"raw_longitude":763010816,"raw_latitude":98830792,"longitude_deg":76.3010816,"latitude_deg":9.8830792,"altitude":12,"angle":127,"satellites":39,"speed":0,"hex_longitude":"2d7a9f00","hex_latitude":"05e409c8","is_valid_coordinates":true} 
[2026-07-08 08:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570513408001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103629529263636480,"note":"Value kept but may cause issues"} 
[2026-07-08 08:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835781019224885248,"note":"Value kept but may cause issues"} 
[2026-07-08 08:14:28] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-07-08 08:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783478589000,"timestamp_ms":1783478589000,"timestamp_seconds":1783478589,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f9b9648"} 
[2026-07-08 08:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:14:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-08 08:14:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":125227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":125227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":125227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570513408001,"66":13015,"24":0,"16":103629529263636480,"45":8835781019224885248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-07-08 08:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570513408001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103629529263636480,"km_value":103629529263636.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835781019224885248,"description":"Unknown IO ID 45"} 
[2026-07-08 08:14:28] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":456570513408001,"power":13015,"ignition":0,"odometer":null,"unknown_45":8835781019224885248}} 
[2026-07-08 08:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":125227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449657,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:14:28] local.INFO: GPS data processed {"connection_id":125227,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:14:28] local.INFO: Acknowledgment sent {"connection_id":125227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:14:33] local.INFO: TCP Data received {"connection_id":125969,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f9b6f38012d859b0005905a180007015232..."} 
[2026-07-08 08:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f9b6f38012d859b0005905a180007015232..."} 
[2026-07-08 08:14:33] local.INFO: Processing buffer {"connection_id":125969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f9b6f38012d859b0005905a180007015232..."} 
[2026-07-08 08:14:33] local.INFO: Packet analysis {"connection_id":125969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f9b"} 
[2026-07-08 08:14:33] local.INFO: Extracted packet for processing {"connection_id":125969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f9b"} 
[2026-07-08 08:14:33] local.INFO: GPS Element Parsed {"raw_longitude":763730688,"raw_latitude":93346328,"longitude_deg":76.3730688,"latitude_deg":9.3346328,"altitude":7,"angle":338,"satellites":50,"speed":60,"hex_longitude":"2d859b00","hex_latitude":"05905a18","is_valid_coordinates":true} 
[2026-07-08 08:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570514688001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342419514668875776,"note":"Value kept but may cause issues"} 
[2026-07-08 08:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8815514771706535936,"note":"Value kept but may cause issues"} 
[2026-07-08 08:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783478579000,"timestamp_ms":1783478579000,"timestamp_seconds":1783478579,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f9b6f38"} 
[2026-07-08 08:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 08:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:14:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570514688001,"66":27767,"173":206,"85":14592,"24":60,"16":342419514668875776,"45":-8815514771706535936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-07-08 08:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570514688001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:14:33] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-08 08:14:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 08:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342419514668875776,"km_value":342419514668875.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8815514771706535936,"description":"Unknown IO ID 45"} 
[2026-07-08 08:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570514688001,"power":27767,"unknown_173":206,"unknown_85":14592,"ignition":60,"odometer":null,"unknown_45":-8815514771706535936}} 
[2026-07-08 08:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":125969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:14:33] local.INFO: GPS data processed {"connection_id":125969,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:14:33] local.INFO: Acknowledgment sent {"connection_id":125969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:14:47] local.INFO: TCP Data received {"connection_id":125228,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125228,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:14:47] local.INFO: Processing buffer {"connection_id":125228,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:14:47] local.INFO: IMEI packet received {"connection_id":125228,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":125228,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:14:47] local.INFO: TCP Data received {"connection_id":125228,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125228,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:14:47] local.INFO: Processing buffer {"connection_id":125228,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:14:47] local.INFO: IMEI packet received {"connection_id":125228,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":125228,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:14:48] local.INFO: TCP Data received {"connection_id":125228,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125228,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:14:48] local.INFO: Processing buffer {"connection_id":125228,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:14:48] local.INFO: IMEI packet received {"connection_id":125228,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":125228,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:14:49] local.INFO: TCP Data received {"connection_id":125228,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125228,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:14:49] local.INFO: Processing buffer {"connection_id":125228,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:14:49] local.INFO: IMEI packet received {"connection_id":125228,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":125228,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:14:56] local.INFO: TCP Data received {"connection_id":125133,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:14:56] local.INFO: Processing buffer {"connection_id":125133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:14:56] local.INFO: IMEI packet received {"connection_id":125133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":125133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:15:02] local.INFO: TCP Data received {"connection_id":125133,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:15:02] local.INFO: Processing buffer {"connection_id":125133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:15:02] local.INFO: IMEI packet received {"connection_id":125133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":125133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:15:02] local.INFO: TCP Data received {"connection_id":125133,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f9c7108012d8508c00591bf500006015132..."} 
[2026-07-08 08:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f9c7108012d8508c00591bf500006015132..."} 
[2026-07-08 08:15:02] local.INFO: Processing buffer {"connection_id":125133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f9c7108012d8508c00591bf500006015132..."} 
[2026-07-08 08:15:02] local.INFO: Packet analysis {"connection_id":125133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f9c"} 
[2026-07-08 08:15:02] local.INFO: Extracted packet for processing {"connection_id":125133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f9c"} 
[2026-07-08 08:15:02] local.INFO: GPS Element Parsed {"raw_longitude":763693248,"raw_latitude":93437776,"longitude_deg":76.3693248,"latitude_deg":9.3437776,"altitude":6,"angle":337,"satellites":50,"speed":59,"hex_longitude":"2d8508c0","hex_latitude":"0591bf50","is_valid_coordinates":true} 
[2026-07-08 08:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570531584001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342424299262443520,"note":"Value kept but may cause issues"} 
[2026-07-08 08:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8856539749538635776,"note":"Value kept but may cause issues"} 
[2026-07-08 08:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783478645000,"timestamp_ms":1783478645000,"timestamp_seconds":1783478645,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f9c7108"} 
[2026-07-08 08:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:15: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-07-08 08:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 08:15:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:15:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570531584001,"66":27745,"148":206,"85":14592,"24":59,"16":342424299262443520,"45":-8856539749538635776},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,85,24,16,45]} 
[2026-07-08 08:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570531584001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:15:02] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-07-08 08:15:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 08:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342424299262443520,"km_value":342424299262443.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8856539749538635776,"description":"Unknown IO ID 45"} 
[2026-07-08 08:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570531584001,"power":27745,"unknown_148":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-8856539749538635776}} 
[2026-07-08 08:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":125133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:15:02] local.INFO: GPS data processed {"connection_id":125133,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:15:02] local.INFO: Acknowledgment sent {"connection_id":125133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:15:22] local.INFO: TCP Data received {"connection_id":125229,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125229,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:15:22] local.INFO: Processing buffer {"connection_id":125229,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:15:22] local.INFO: IMEI packet received {"connection_id":125229,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 08:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":125229,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:15:33] local.INFO: TCP Data received {"connection_id":125133,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f9c8878012d84fc000591dfe00006015231..."} 
[2026-07-08 08:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f9c8878012d84fc000591dfe00006015231..."} 
[2026-07-08 08:15:33] local.INFO: Processing buffer {"connection_id":125133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f9c8878012d84fc000591dfe00006015231..."} 
[2026-07-08 08:15:33] local.INFO: Packet analysis {"connection_id":125133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f9c"} 
[2026-07-08 08:15:33] local.INFO: Extracted packet for processing {"connection_id":125133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f9c"} 
[2026-07-08 08:15:33] local.INFO: GPS Element Parsed {"raw_longitude":763689984,"raw_latitude":93446112,"longitude_deg":76.3689984,"latitude_deg":9.3446112,"altitude":6,"angle":338,"satellites":49,"speed":59,"hex_longitude":"2d84fc00","hex_latitude":"0591dfe0","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570533120001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342424733054140416,"note":"Value kept but may cause issues"} 
[2026-07-08 08:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8860621136698847232,"note":"Value kept but may cause issues"} 
[2026-07-08 08:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783478651000,"timestamp_ms":1783478651000,"timestamp_seconds":1783478651,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f9c8878"} 
[2026-07-08 08:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 08:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570533120001,"66":27691,"148":206,"85":14592,"24":59,"16":342424733054140416,"45":-8860621136698847232},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,85,24,16,45]} 
[2026-07-08 08:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570533120001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:15:33] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-07-08 08:15:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 08:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342424733054140416,"km_value":342424733054140.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8860621136698847232,"description":"Unknown IO ID 45"} 
[2026-07-08 08:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570533120001,"power":27691,"unknown_148":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-8860621136698847232}} 
[2026-07-08 08:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":125133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:15:33] local.INFO: GPS data processed {"connection_id":125133,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:15:33] local.INFO: Acknowledgment sent {"connection_id":125133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:15:56] local.INFO: TCP Data received {"connection_id":125230,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:15:56] local.INFO: Processing buffer {"connection_id":125230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:15:56] local.INFO: IMEI packet received {"connection_id":125230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":125230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:15:57] local.INFO: TCP Data received {"connection_id":127236,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127236,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:15:57] local.INFO: Processing buffer {"connection_id":127236,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:15:57] local.INFO: IMEI packet received {"connection_id":127236,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 08:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":127236,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:15:59] local.INFO: TCP Data received {"connection_id":125230,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:15:59] local.INFO: Processing buffer {"connection_id":125230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:15:59] local.INFO: IMEI packet received {"connection_id":125230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":125230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:16:01] local.INFO: TCP Data received {"connection_id":125230,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:16:01] local.INFO: Processing buffer {"connection_id":125230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:16:01] local.INFO: IMEI packet received {"connection_id":125230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":125230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:16:02] local.INFO: TCP Data received {"connection_id":125230,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f9c9fe8012d84eec0059200780006015232..."} 
[2026-07-08 08:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f9c9fe8012d84eec0059200780006015232..."} 
[2026-07-08 08:16:02] local.INFO: Processing buffer {"connection_id":125230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f9c9fe8012d84eec0059200780006015232..."} 
[2026-07-08 08:16:02] local.INFO: Packet analysis {"connection_id":125230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f9c"} 
[2026-07-08 08:16:02] local.INFO: Extracted packet for processing {"connection_id":125230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f9c"} 
[2026-07-08 08:16:02] local.INFO: GPS Element Parsed {"raw_longitude":763686592,"raw_latitude":93454456,"longitude_deg":76.3686592,"latitude_deg":9.3454456,"altitude":6,"angle":338,"satellites":50,"speed":59,"hex_longitude":"2d84eec0","hex_latitude":"05920078","is_valid_coordinates":true} 
[2026-07-08 08:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570534656001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342425166845837312,"note":"Value kept but may cause issues"} 
[2026-07-08 08:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8864209942649774080,"note":"Value kept but may cause issues"} 
[2026-07-08 08:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783478657000,"timestamp_ms":1783478657000,"timestamp_seconds":1783478657,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f9c9fe8"} 
[2026-07-08 08:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:16:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 08:16:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:16:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570534656001,"66":27908,"148":206,"85":14592,"24":59,"16":342425166845837312,"45":-8864209942649774080},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,85,24,16,45]} 
[2026-07-08 08:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570534656001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:16:02] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-07-08 08:16:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 08:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342425166845837312,"km_value":342425166845837.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8864209942649774080,"description":"Unknown IO ID 45"} 
[2026-07-08 08:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570534656001,"power":27908,"unknown_148":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-8864209942649774080}} 
[2026-07-08 08:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":125230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:16:02] local.INFO: GPS data processed {"connection_id":125230,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:16:02] local.INFO: Acknowledgment sent {"connection_id":125230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:16:34] local.INFO: TCP Data received {"connection_id":125230,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f9dd480012d845300059362f00006015430..."} 
[2026-07-08 08:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f9dd480012d845300059362f00006015430..."} 
[2026-07-08 08:16:34] local.INFO: Processing buffer {"connection_id":125230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f9dd480012d845300059362f00006015430..."} 
[2026-07-08 08:16:34] local.INFO: Packet analysis {"connection_id":125230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f9d"} 
[2026-07-08 08:16:34] local.INFO: Extracted packet for processing {"connection_id":125230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f9d"} 
[2026-07-08 08:16:34] local.INFO: GPS Element Parsed {"raw_longitude":763646720,"raw_latitude":93545200,"longitude_deg":76.364672,"latitude_deg":9.35452,"altitude":6,"angle":340,"satellites":48,"speed":48,"hex_longitude":"2d845300","hex_latitude":"059362f0","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570554368001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342429972914241536,"note":"Value kept but may cause issues"} 
[2026-07-08 08:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8907838564016873472,"note":"Value kept but may cause issues"} 
[2026-07-08 08:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783478736000,"timestamp_ms":1783478736000,"timestamp_seconds":1783478736,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f9dd480"} 
[2026-07-08 08:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:16: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-07-08 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 08:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570554368001,"66":27713,"216":206,"85":14592,"24":48,"16":342429972914241536,"45":-8907838564016873472},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-07-08 08:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570554368001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:16:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-08 08:16:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 08:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342429972914241536,"km_value":342429972914241.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8907838564016873472,"description":"Unknown IO ID 45"} 
[2026-07-08 08:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570554368001,"power":27713,"unknown_216":206,"unknown_85":14592,"ignition":48,"odometer":null,"unknown_45":-8907838564016873472}} 
[2026-07-08 08:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":125230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:16:34] local.INFO: GPS data processed {"connection_id":125230,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:16:34] local.INFO: Acknowledgment sent {"connection_id":125230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:17:00] local.INFO: TCP Data received {"connection_id":127237,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:17:00] local.INFO: Processing buffer {"connection_id":127237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:17:00] local.INFO: IMEI packet received {"connection_id":127237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":127237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:17:01] local.INFO: TCP Data received {"connection_id":127237,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:17:01] local.INFO: Processing buffer {"connection_id":127237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:17:01] local.INFO: IMEI packet received {"connection_id":127237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":127237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:17:07] local.INFO: TCP Data received {"connection_id":127237,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:17:07] local.INFO: Processing buffer {"connection_id":127237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:17:07] local.INFO: IMEI packet received {"connection_id":127237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":127237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:17:08] local.INFO: TCP Data received {"connection_id":127237,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f9df7a8012d844740059386b00005015832..."} 
[2026-07-08 08:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f9df7a8012d844740059386b00005015832..."} 
[2026-07-08 08:17:08] local.INFO: Processing buffer {"connection_id":127237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f9df7a8012d844740059386b00005015832..."} 
[2026-07-08 08:17:08] local.INFO: Packet analysis {"connection_id":127237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f9d"} 
[2026-07-08 08:17:08] local.INFO: Extracted packet for processing {"connection_id":127237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f9d"} 
[2026-07-08 08:17:08] local.INFO: GPS Element Parsed {"raw_longitude":763643712,"raw_latitude":93554352,"longitude_deg":76.3643712,"latitude_deg":9.3554352,"altitude":5,"angle":344,"satellites":50,"speed":39,"hex_longitude":"2d844740","hex_latitude":"059386b0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 08:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570556416001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342430436770709504,"note":"Value kept but may cause issues"} 
[2026-07-08 08:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8911779213688508416,"note":"Value kept but may cause issues"} 
[2026-07-08 08:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783478745000,"timestamp_ms":1783478745000,"timestamp_seconds":1783478745,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f9df7a8"} 
[2026-07-08 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-07-08 08:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 08:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 08:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":127237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":127237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":127237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570556416001,"66":27865,"216":206,"85":14592,"24":39,"16":342430436770709504,"45":-8911779213688508416},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-07-08 08:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570556416001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:17:08] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-08 08:17:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 08:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342430436770709504,"km_value":342430436770709.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8911779213688508416,"description":"Unknown IO ID 45"} 
[2026-07-08 08:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570556416001,"power":27865,"unknown_216":206,"unknown_85":14592,"ignition":39,"odometer":null,"unknown_45":-8911779213688508416}} 
[2026-07-08 08:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":127237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:17:08] local.INFO: GPS data processed {"connection_id":127237,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:17:08] local.INFO: Acknowledgment sent {"connection_id":127237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:17:39] local.INFO: TCP Data received {"connection_id":127237,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f9e1ad0012d843ec00593a9180005015c32..."} 
[2026-07-08 08:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f9e1ad0012d843ec00593a9180005015c32..."} 
[2026-07-08 08:17:39] local.INFO: Processing buffer {"connection_id":127237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f9e1ad0012d843ec00593a9180005015c32..."} 
[2026-07-08 08:17:39] local.INFO: Packet analysis {"connection_id":127237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f9e"} 
[2026-07-08 08:17:39] local.INFO: Extracted packet for processing {"connection_id":127237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f9e"} 
[2026-07-08 08:17:39] local.INFO: GPS Element Parsed {"raw_longitude":763641536,"raw_latitude":93563160,"longitude_deg":76.3641536,"latitude_deg":9.356316,"altitude":5,"angle":348,"satellites":50,"speed":39,"hex_longitude":"2d843ec0","hex_latitude":"0593a918","is_valid_coordinates":true} 
[2026-07-08 08:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570558720001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342430879152340992,"note":"Value kept but may cause issues"} 
[2026-07-08 08:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8915086544662515712,"note":"Value kept but may cause issues"} 
[2026-07-08 08:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783478754000,"timestamp_ms":1783478754000,"timestamp_seconds":1783478754,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f9e1ad0"} 
[2026-07-08 08:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 08:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":127237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":127237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":127237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570558720001,"66":27713,"216":206,"85":14592,"24":39,"16":342430879152340992,"45":-8915086544662515712},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-07-08 08:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570558720001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:17:39] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-08 08:17:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 08:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342430879152340992,"km_value":342430879152341.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8915086544662515712,"description":"Unknown IO ID 45"} 
[2026-07-08 08:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570558720001,"power":27713,"unknown_216":206,"unknown_85":14592,"ignition":39,"odometer":null,"unknown_45":-8915086544662515712}} 
[2026-07-08 08:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":127237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:17:39] local.INFO: GPS data processed {"connection_id":127237,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:17:39] local.INFO: Acknowledgment sent {"connection_id":127237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:17:57] local.INFO: TCP Data received {"connection_id":127238,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:17:57] local.INFO: Processing buffer {"connection_id":127238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:17:57] local.INFO: IMEI packet received {"connection_id":127238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":127238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:17:58] local.INFO: TCP Data received {"connection_id":127238,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:17:58] local.INFO: Processing buffer {"connection_id":127238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:17:58] local.INFO: IMEI packet received {"connection_id":127238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":127238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:18:01] local.INFO: TCP Data received {"connection_id":127238,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:18:01] local.INFO: Processing buffer {"connection_id":127238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:18:01] local.INFO: IMEI packet received {"connection_id":127238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":127238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:18:02] local.INFO: TCP Data received {"connection_id":127238,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f9e3df8012d8438800593ce780007015d32..."} 
[2026-07-08 08:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f9e3df8012d8438800593ce780007015d32..."} 
[2026-07-08 08:18:02] local.INFO: Processing buffer {"connection_id":127238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f9e3df8012d8438800593ce780007015d32..."} 
[2026-07-08 08:18:02] local.INFO: Packet analysis {"connection_id":127238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f9e"} 
[2026-07-08 08:18:02] local.INFO: Extracted packet for processing {"connection_id":127238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f9e"} 
[2026-07-08 08:18:02] local.INFO: GPS Element Parsed {"raw_longitude":763639936,"raw_latitude":93572728,"longitude_deg":76.3639936,"latitude_deg":9.3572728,"altitude":7,"angle":349,"satellites":50,"speed":47,"hex_longitude":"2d843880","hex_latitude":"0593ce78","is_valid_coordinates":true} 
[2026-07-08 08:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570561024001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342431347303776256,"note":"Value kept but may cause issues"} 
[2026-07-08 08:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8917479081962301440,"note":"Value kept but may cause issues"} 
[2026-07-08 08:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783478763000,"timestamp_ms":1783478763000,"timestamp_seconds":1783478763,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f9e3df8"} 
[2026-07-08 08:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 08:18:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:18:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570561024001,"66":27800,"142":206,"85":14592,"24":47,"16":342431347303776256,"45":-8917479081962301440},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,85,24,16,45]} 
[2026-07-08 08:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570561024001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:18:02] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-08 08:18:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 08:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342431347303776256,"km_value":342431347303776.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8917479081962301440,"description":"Unknown IO ID 45"} 
[2026-07-08 08:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570561024001,"power":27800,"unknown_142":206,"unknown_85":14592,"ignition":47,"odometer":null,"unknown_45":-8917479081962301440}} 
[2026-07-08 08:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":127238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:18:02] local.INFO: GPS data processed {"connection_id":127238,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:18:02] local.INFO: Acknowledgment sent {"connection_id":127238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:18:33] local.INFO: TCP Data received {"connection_id":127238,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f9fb110012d83c7c0059556500006015033..."} 
[2026-07-08 08:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f9fb110012d83c7c0059556500006015033..."} 
[2026-07-08 08:18:33] local.INFO: Processing buffer {"connection_id":127238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f9fb110012d83c7c0059556500006015033..."} 
[2026-07-08 08:18:33] local.INFO: Packet analysis {"connection_id":127238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f9f"} 
[2026-07-08 08:18:33] local.INFO: Extracted packet for processing {"connection_id":127238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f9f"} 
[2026-07-08 08:18:33] local.INFO: GPS Element Parsed {"raw_longitude":763611072,"raw_latitude":93673040,"longitude_deg":76.3611072,"latitude_deg":9.367304,"altitude":6,"angle":336,"satellites":51,"speed":47,"hex_longitude":"2d83c7c0","hex_latitude":"05955650","is_valid_coordinates":true} 
[2026-07-08 08:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570585344001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342436423955120128,"note":"Value kept but may cause issues"} 
[2026-07-08 08:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947033954491123712,"note":"Value kept but may cause issues"} 
[2026-07-08 08:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783478858000,"timestamp_ms":1783478858000,"timestamp_seconds":1783478858,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f9fb110"} 
[2026-07-08 08:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 08:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570585344001,"66":27615,"143":206,"85":14592,"24":47,"16":342436423955120128,"45":-8947033954491123712},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,45]} 
[2026-07-08 08:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570585344001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:18:33] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-08 08:18:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 08:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342436423955120128,"km_value":342436423955120.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947033954491123712,"description":"Unknown IO ID 45"} 
[2026-07-08 08:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570585344001,"power":27615,"unknown_143":206,"unknown_85":14592,"ignition":47,"odometer":null,"unknown_45":-8947033954491123712}} 
[2026-07-08 08:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":127238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:18:33] local.INFO: GPS data processed {"connection_id":127238,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:18:33] local.INFO: Acknowledgment sent {"connection_id":127238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:19:02] local.INFO: TCP Data received {"connection_id":125974,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:19:02] local.INFO: Processing buffer {"connection_id":125974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:19:02] local.INFO: IMEI packet received {"connection_id":125974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":125974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:19:03] local.INFO: TCP Data received {"connection_id":125974,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:19:03] local.INFO: Processing buffer {"connection_id":125974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:19:03] local.INFO: IMEI packet received {"connection_id":125974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":125974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:19:05] local.INFO: TCP Data received {"connection_id":125974,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f9fd050012d83b84005957a000008015132..."} 
[2026-07-08 08:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f9fd050012d83b84005957a000008015132..."} 
[2026-07-08 08:19:05] local.INFO: Processing buffer {"connection_id":125974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f9fd050012d83b84005957a000008015132..."} 
[2026-07-08 08:19:05] local.INFO: Packet analysis {"connection_id":125974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f9f"} 
[2026-07-08 08:19:05] local.INFO: Extracted packet for processing {"connection_id":125974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f9f"} 
[2026-07-08 08:19:05] local.INFO: GPS Element Parsed {"raw_longitude":763607104,"raw_latitude":93682176,"longitude_deg":76.3607104,"latitude_deg":9.3682176,"altitude":8,"angle":337,"satellites":50,"speed":50,"hex_longitude":"2d83b840","hex_latitude":"05957a00","is_valid_coordinates":true} 
[2026-07-08 08:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570587648001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342436904991457280,"note":"Value kept but may cause issues"} 
[2026-07-08 08:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8950974604162740224,"note":"Value kept but may cause issues"} 
[2026-07-08 08:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783478866000,"timestamp_ms":1783478866000,"timestamp_seconds":1783478866,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f9fd050"} 
[2026-07-08 08:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-08 08:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570587648001,"66":27767,"143":206,"85":14592,"24":50,"16":342436904991457280,"45":-8950974604162740224},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,45]} 
[2026-07-08 08:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570587648001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:19:05] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-08 08:19:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 08:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342436904991457280,"km_value":342436904991457.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8950974604162740224,"description":"Unknown IO ID 45"} 
[2026-07-08 08:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570587648001,"power":27767,"unknown_143":206,"unknown_85":14592,"ignition":50,"odometer":null,"unknown_45":-8950974604162740224}} 
[2026-07-08 08:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":125974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:19:05] local.INFO: GPS data processed {"connection_id":125974,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:19:05] local.INFO: Acknowledgment sent {"connection_id":125974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:19:07] local.INFO: TCP Data received {"connection_id":125974,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3f9feba8012d83aac005959ce80008015430..."} 
[2026-07-08 08:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3f9feba8012d83aac005959ce80008015430..."} 
[2026-07-08 08:19:07] local.INFO: Processing buffer {"connection_id":125974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3f9feba8012d83aac005959ce80008015430..."} 
[2026-07-08 08:19:07] local.INFO: Packet analysis {"connection_id":125974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3f9f"} 
[2026-07-08 08:19:07] local.INFO: Extracted packet for processing {"connection_id":125974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3f9f"} 
[2026-07-08 08:19:07] local.INFO: GPS Element Parsed {"raw_longitude":763603648,"raw_latitude":93691112,"longitude_deg":76.3603648,"latitude_deg":9.3691112,"altitude":8,"angle":340,"satellites":48,"speed":57,"hex_longitude":"2d83aac0","hex_latitude":"05959ce8","is_valid_coordinates":true} 
[2026-07-08 08:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570589696001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342437368847925248,"note":"Value kept but may cause issues"} 
[2026-07-08 08:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8955337466299416576,"note":"Value kept but may cause issues"} 
[2026-07-08 08:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783478873000,"timestamp_ms":1783478873000,"timestamp_seconds":1783478873,"priority":1,"record_length":96,"hex_timestamp":"0000019f3f9feba8"} 
[2026-07-08 08:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 08:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:19:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570589696001,"66":27604,"143":206,"85":14592,"24":57,"16":342437368847925248,"45":-8955337466299416576},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,45]} 
[2026-07-08 08:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570589696001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:19:07] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-08 08:19:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 08:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342437368847925248,"km_value":342437368847925.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8955337466299416576,"description":"Unknown IO ID 45"} 
[2026-07-08 08:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570589696001,"power":27604,"unknown_143":206,"unknown_85":14592,"ignition":57,"odometer":null,"unknown_45":-8955337466299416576}} 
[2026-07-08 08:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":125974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:19:07] local.INFO: GPS data processed {"connection_id":125974,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:19:07] local.INFO: Acknowledgment sent {"connection_id":125974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:19:15] local.INFO: TCP Data received {"connection_id":125135,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125135,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:19:15] local.INFO: Processing buffer {"connection_id":125135,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:19:15] local.INFO: IMEI packet received {"connection_id":125135,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 08:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":125135,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:19:22] local.INFO: TCP Data received {"connection_id":125135,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125135,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:19:22] local.INFO: Processing buffer {"connection_id":125135,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:19:22] local.INFO: IMEI packet received {"connection_id":125135,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":125135,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:19:22] local.INFO: TCP Data received {"connection_id":125135,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000000000006d600100000000000000000000000000..."} 
[2026-07-08 08:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000006d600100000000000000000000000000..."} 
[2026-07-08 08:19:22] local.INFO: Processing buffer {"connection_id":125135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000006d600100000000000000000000000000..."} 
[2026-07-08 08:19:22] local.INFO: Packet analysis {"connection_id":125135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-08 08:19:22] local.INFO: Extracted packet for processing {"connection_id":125135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-08 08:19:22] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-08 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-07-08 08:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23475857448239104,"note":"Value kept but may cause issues"} 
[2026-07-08 08:19:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 08:19:22] 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-07-08 08:19:22] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-08 08:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125135,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125135,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-08 08:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125135,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-08 08:19:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-08 08:19:22] local.WARNING: DEBUG: No valid data to process  
[2026-07-08 08:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":125135,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-08 08:19:22] local.ERROR: GPS data processing failed {"connection_id":125135,"error":"No valid data to process"} 
[2026-07-08 08:19:22] local.INFO: Acknowledgment sent {"connection_id":125135,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-08 08:19:38] local.INFO: TCP Data received {"connection_id":125974,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa00700012d839f000595bfe80006015630..."} 
[2026-07-08 08:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa00700012d839f000595bfe80006015630..."} 
[2026-07-08 08:19:38] local.INFO: Processing buffer {"connection_id":125974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa00700012d839f000595bfe80006015630..."} 
[2026-07-08 08:19:38] local.INFO: Packet analysis {"connection_id":125974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa0"} 
[2026-07-08 08:19:38] local.INFO: Extracted packet for processing {"connection_id":125974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa0"} 
[2026-07-08 08:19:38] local.INFO: GPS Element Parsed {"raw_longitude":763600640,"raw_latitude":93700072,"longitude_deg":76.360064,"latitude_deg":9.3700072,"altitude":6,"angle":342,"satellites":48,"speed":46,"hex_longitude":"2d839f00","hex_latitude":"0595bfe8","is_valid_coordinates":true} 
[2026-07-08 08:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570591488001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342437828409425920,"note":"Value kept but may cause issues"} 
[2026-07-08 08:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8959137378482722816,"note":"Value kept but may cause issues"} 
[2026-07-08 08:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783478880000,"timestamp_ms":1783478880000,"timestamp_seconds":1783478880,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa00700"} 
[2026-07-08 08:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-08 08:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570591488001,"66":27767,"143":206,"85":14592,"24":46,"16":342437828409425920,"45":-8959137378482722816},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,45]} 
[2026-07-08 08:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570591488001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:19:38] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-08 08:19:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 08:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342437828409425920,"km_value":342437828409425.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8959137378482722816,"description":"Unknown IO ID 45"} 
[2026-07-08 08:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570591488001,"power":27767,"unknown_143":206,"unknown_85":14592,"ignition":46,"odometer":null,"unknown_45":-8959137378482722816}} 
[2026-07-08 08:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":125974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:19:38] local.INFO: GPS data processed {"connection_id":125974,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:19:38] local.INFO: Acknowledgment sent {"connection_id":125974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:19:53] local.INFO: TCP Data received {"connection_id":127240,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127240,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:19:53] local.INFO: Processing buffer {"connection_id":127240,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:19:53] local.INFO: IMEI packet received {"connection_id":127240,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":127240,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:19:54] local.INFO: TCP Data received {"connection_id":125135,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000000000000f2300100000000000000000000000000..."} 
[2026-07-08 08:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125135,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000f2300100000000000000000000000000..."} 
[2026-07-08 08:19:54] local.INFO: Processing buffer {"connection_id":125135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000f2300100000000000000000000000000..."} 
[2026-07-08 08:19:54] local.INFO: Packet analysis {"connection_id":125135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-08 08:19:54] local.INFO: Extracted packet for processing {"connection_id":125135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-08 08:19:54] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23475857448239104,"note":"Value kept but may cause issues"} 
[2026-07-08 08:19:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 08:19:54] 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-07-08 08:19:54] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-08 08:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":125135,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":125135,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-08 08:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":125135,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-08 08:19:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-08 08:19:54] local.WARNING: DEBUG: No valid data to process  
[2026-07-08 08:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":125135,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-08 08:19:54] local.ERROR: GPS data processing failed {"connection_id":125135,"error":"No valid data to process"} 
[2026-07-08 08:19:54] local.INFO: Acknowledgment sent {"connection_id":125135,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-08 08:19:55] local.INFO: TCP Data received {"connection_id":125231,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:19:55] local.INFO: Processing buffer {"connection_id":125231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:19:55] local.INFO: IMEI packet received {"connection_id":125231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":125231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:19:56] local.INFO: TCP Data received {"connection_id":125231,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:19:56] local.INFO: Processing buffer {"connection_id":125231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:19:56] local.INFO: IMEI packet received {"connection_id":125231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":125231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:20:01] local.INFO: TCP Data received {"connection_id":127240,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa11488012d7c3f4005e523b8000400002e..."} 
[2026-07-08 08:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa11488012d7c3f4005e523b8000400002e..."} 
[2026-07-08 08:20:01] local.INFO: Processing buffer {"connection_id":127240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa11488012d7c3f4005e523b8000400002e..."} 
[2026-07-08 08:20:01] local.INFO: Packet analysis {"connection_id":127240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa1"} 
[2026-07-08 08:20:01] local.INFO: Extracted packet for processing {"connection_id":127240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa1"} 
[2026-07-08 08:20:01] local.INFO: GPS Element Parsed {"raw_longitude":763117376,"raw_latitude":98902968,"longitude_deg":76.3117376,"latitude_deg":9.8902968,"altitude":4,"angle":0,"satellites":46,"speed":15,"hex_longitude":"2d7c3f40","hex_latitude":"05e523b8","is_valid_coordinates":true} 
[2026-07-08 08:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570610688001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103639570897174528,"note":"Value kept but may cause issues"} 
[2026-07-08 08:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952874609554892800,"note":"Value kept but may cause issues"} 
[2026-07-08 08:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783478949000,"timestamp_ms":1783478949000,"timestamp_seconds":1783478949,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa11488"} 
[2026-07-08 08:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:20: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-07-08 08:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-08 08:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:20:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127240,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127240,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570610688001,"66":13102,"95":206,"85":15104,"24":15,"16":103639570897174528,"45":8952874609554892800},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-08 08:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570610688001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:20:01] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-08 08:20:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 08:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103639570897174528,"km_value":103639570897174.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952874609554892800,"description":"Unknown IO ID 45"} 
[2026-07-08 08:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570610688001,"power":13102,"unknown_95":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8952874609554892800}} 
[2026-07-08 08:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":127240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449670,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:20:01] local.INFO: GPS data processed {"connection_id":127240,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:20:01] local.INFO: Acknowledgment sent {"connection_id":127240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:20:01] local.INFO: TCP Data received {"connection_id":125231,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:20:01] local.INFO: Processing buffer {"connection_id":125231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:20:01] local.INFO: IMEI packet received {"connection_id":125231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":125231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:20:02] local.INFO: TCP Data received {"connection_id":125231,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa02640012d8394800595e3200005015832..."} 
[2026-07-08 08:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa02640012d8394800595e3200005015832..."} 
[2026-07-08 08:20:02] local.INFO: Processing buffer {"connection_id":125231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa02640012d8394800595e3200005015832..."} 
[2026-07-08 08:20:02] local.INFO: Packet analysis {"connection_id":125231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa0"} 
[2026-07-08 08:20:02] local.INFO: Extracted packet for processing {"connection_id":125231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa0"} 
[2026-07-08 08:20:02] local.INFO: GPS Element Parsed {"raw_longitude":763597952,"raw_latitude":93709088,"longitude_deg":76.3597952,"latitude_deg":9.3709088,"altitude":5,"angle":344,"satellites":50,"speed":48,"hex_longitude":"2d839480","hex_latitude":"0595e320","is_valid_coordinates":true} 
[2026-07-08 08:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570593280001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342438283675959296,"note":"Value kept but may cause issues"} 
[2026-07-08 08:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8962444709456779264,"note":"Value kept but may cause issues"} 
[2026-07-08 08:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783478888000,"timestamp_ms":1783478888000,"timestamp_seconds":1783478888,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa02640"} 
[2026-07-08 08:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:20: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-07-08 08:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 08:20:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:20:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570593280001,"66":27691,"143":206,"85":14592,"24":48,"16":342438283675959296,"45":-8962444709456779264},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,45]} 
[2026-07-08 08:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570593280001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:20:02] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-08 08:20:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 08:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342438283675959296,"km_value":342438283675959.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8962444709456779264,"description":"Unknown IO ID 45"} 
[2026-07-08 08:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570593280001,"power":27691,"unknown_143":206,"unknown_85":14592,"ignition":48,"odometer":null,"unknown_45":-8962444709456779264}} 
[2026-07-08 08:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":125231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:20:02] local.INFO: GPS data processed {"connection_id":125231,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:20:02] local.INFO: Acknowledgment sent {"connection_id":125231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:20:24] local.INFO: TCP Data received {"connection_id":125135,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a00000000000144380100000000000000000000000000..."} 
[2026-07-08 08:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125135,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000144380100000000000000000000000000..."} 
[2026-07-08 08:20:24] local.INFO: Processing buffer {"connection_id":125135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000144380100000000000000000000000000..."} 
[2026-07-08 08:20:24] local.INFO: Packet analysis {"connection_id":125135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-08 08:20:24] local.INFO: Extracted packet for processing {"connection_id":125135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-08 08:20:24] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-08 08:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23475857448239104,"note":"Value kept but may cause issues"} 
[2026-07-08 08:20:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 08:20:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":83000,"timestamp_seconds":83,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 08:20:24] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-08 08:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125135,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125135,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-08 08:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125135,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-08 08:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-08 08:20:24] local.WARNING: DEBUG: No valid data to process  
[2026-07-08 08:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":125135,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-08 08:20:24] local.ERROR: GPS data processing failed {"connection_id":125135,"error":"No valid data to process"} 
[2026-07-08 08:20:24] local.INFO: Acknowledgment sent {"connection_id":125135,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-08 08:20:34] local.INFO: TCP Data received {"connection_id":125231,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa14b38012d830a8005975ae80006015531..."} 
[2026-07-08 08:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa14b38012d830a8005975ae80006015531..."} 
[2026-07-08 08:20:34] local.INFO: Processing buffer {"connection_id":125231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa14b38012d830a8005975ae80006015531..."} 
[2026-07-08 08:20:34] local.INFO: Packet analysis {"connection_id":125231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa1"} 
[2026-07-08 08:20:34] local.INFO: Extracted packet for processing {"connection_id":125231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa1"} 
[2026-07-08 08:20:34] local.INFO: GPS Element Parsed {"raw_longitude":763562624,"raw_latitude":93805288,"longitude_deg":76.3562624,"latitude_deg":9.3805288,"altitude":6,"angle":341,"satellites":49,"speed":45,"hex_longitude":"2d830a80","hex_latitude":"05975ae8","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570612736001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342443257248088064,"note":"Value kept but may cause issues"} 
[2026-07-08 08:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9000725306264862720,"note":"Value kept but may cause issues"} 
[2026-07-08 08:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783478963000,"timestamp_ms":1783478963000,"timestamp_seconds":1783478963,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa14b38"} 
[2026-07-08 08:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-08 08:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570612736001,"66":27800,"18":206,"85":14592,"24":45,"16":342443257248088064,"45":-9000725306264862720},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-07-08 08:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570612736001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:20:34] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-08 08:20:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 08:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342443257248088064,"km_value":342443257248088.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9000725306264862720,"description":"Unknown IO ID 45"} 
[2026-07-08 08:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570612736001,"power":27800,"unknown_18":206,"unknown_85":14592,"ignition":45,"odometer":null,"unknown_45":-9000725306264862720}} 
[2026-07-08 08:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":125231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:20:34] local.INFO: GPS data processed {"connection_id":125231,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:20:34] local.INFO: Acknowledgment sent {"connection_id":125231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:20:34] local.INFO: TCP Data received {"connection_id":127240,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa11c58012d7c3ec005e526880003015c2e..."} 
[2026-07-08 08:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa11c58012d7c3ec005e526880003015c2e..."} 
[2026-07-08 08:20:34] local.INFO: Processing buffer {"connection_id":127240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa11c58012d7c3ec005e526880003015c2e..."} 
[2026-07-08 08:20:34] local.INFO: Packet analysis {"connection_id":127240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa1"} 
[2026-07-08 08:20:34] local.INFO: Extracted packet for processing {"connection_id":127240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa1"} 
[2026-07-08 08:20:34] local.INFO: GPS Element Parsed {"raw_longitude":763117248,"raw_latitude":98903688,"longitude_deg":76.3117248,"latitude_deg":9.8903688,"altitude":3,"angle":348,"satellites":46,"speed":14,"hex_longitude":"2d7c3ec0","hex_latitude":"05e52688","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570610944001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103639605256912896,"note":"Value kept but may cause issues"} 
[2026-07-08 08:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952944978299172864,"note":"Value kept but may cause issues"} 
[2026-07-08 08:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783478951000,"timestamp_ms":1783478951000,"timestamp_seconds":1783478951,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa11c58"} 
[2026-07-08 08:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-08 08:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127240,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127240,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570610944001,"66":13102,"95":206,"85":15104,"24":14,"16":103639605256912896,"45":8952944978299172864},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-08 08:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570610944001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:20:34] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-08 08:20:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 08:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103639605256912896,"km_value":103639605256912.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952944978299172864,"description":"Unknown IO ID 45"} 
[2026-07-08 08:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570610944001,"power":13102,"unknown_95":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8952944978299172864}} 
[2026-07-08 08:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":127240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449673,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:20:34] local.INFO: GPS data processed {"connection_id":127240,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:20:34] local.INFO: Acknowledgment sent {"connection_id":127240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:20:46] local.INFO: TCP Data received {"connection_id":125975,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:20:46] local.INFO: Processing buffer {"connection_id":125975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:20:46] local.INFO: IMEI packet received {"connection_id":125975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":125975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:20:47] local.INFO: TCP Data received {"connection_id":125975,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:20:47] local.INFO: Processing buffer {"connection_id":125975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:20:47] local.INFO: IMEI packet received {"connection_id":125975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":125975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:20:52] local.INFO: TCP Data received {"connection_id":125975,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:20:52] local.INFO: Processing buffer {"connection_id":125975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:20:52] local.INFO: IMEI packet received {"connection_id":125975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":125975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:20:53] local.INFO: TCP Data received {"connection_id":125975,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa24d08012d7bdc8005e5f2480004014c2f..."} 
[2026-07-08 08:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa24d08012d7bdc8005e5f2480004014c2f..."} 
[2026-07-08 08:20:53] local.INFO: Processing buffer {"connection_id":125975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa24d08012d7bdc8005e5f2480004014c2f..."} 
[2026-07-08 08:20:53] local.INFO: Packet analysis {"connection_id":125975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa2"} 
[2026-07-08 08:20:53] local.INFO: Extracted packet for processing {"connection_id":125975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa2"} 
[2026-07-08 08:20:53] local.INFO: GPS Element Parsed {"raw_longitude":763092096,"raw_latitude":98955848,"longitude_deg":76.3092096,"latitude_deg":9.8955848,"altitude":4,"angle":332,"satellites":47,"speed":35,"hex_longitude":"2d7bdc80","hex_latitude":"05e5f248","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570630912001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103642478590033920,"note":"Value kept but may cause issues"} 
[2026-07-08 08:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926275224269012992,"note":"Value kept but may cause issues"} 
[2026-07-08 08:20:53] 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-07-08 08:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783479029000,"timestamp_ms":1783479029000,"timestamp_seconds":1783479029,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa24d08"} 
[2026-07-08 08:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:20:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-08 08:20:53] local.WARNING: Large IO value detected {"io_id":24,"raw_value":3221611939,"note":"Value kept but may cause issues"} 
[2026-07-08 08:20:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 08:20:53] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2348810240,"note":"Value kept but may cause issues"} 
[2026-07-08 08:20:53] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-08 08:20:53] local.WARNING: Large IO value detected {"io_id":63,"raw_value":2715533313,"note":"Value kept but may cause issues"} 
[2026-07-08 08:20:53] local.WARNING: Large IO value detected {"io_id":229,"raw_value":6919780831772355584,"note":"Value kept but may cause issues"} 
[2026-07-08 08:20:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-07-08 08:20:53] local.WARNING: Large IO value detected {"io_id":219,"raw_value":3221302652,"note":"Value kept but may cause issues"} 
[2026-07-08 08:20:53] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3850500096,"note":"Value kept but may cause issues"} 
[2026-07-08 08:20:53] local.WARNING: Large IO value detected {"io_id":62,"raw_value":57799294766176054,"note":"Value kept but may cause issues"} 
[2026-07-08 08:20:53] local.WARNING: Large IO value detected {"io_id":161,"raw_value":-8804535976640790523,"note":"Value kept but may cause issues"} 
[2026-07-08 08:20:53] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,38,87,24,241,157,16,54,159,57,45,128,230,4,10,66,30,192,211,3,39,53,6,1,240,7,227,63,229,113,205,23,219,120,239,51,2,112,5,36,62,161],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1478951118,"validated":0}]} 
[2026-07-08 08:20:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360637812457996288,"timestamp_seconds":360637812457996.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 08:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:20:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570630912001,"66":13254,"38":206,"87":13824,"24":35,"16":103642478590033920,"45":8926275224269012992},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-07-08 08:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570630912001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:20:53] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-08 08:20:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103642478590033920,"km_value":103642478590033.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926275224269012992,"description":"Unknown IO ID 45"} 
[2026-07-08 08:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570630912001,"power":13254,"unknown_38":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8926275224269012992}} 
[2026-07-08 08:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":125975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449674,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:20:54] local.INFO: GPS data processed {"connection_id":125975,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:20:54] local.INFO: Acknowledgment sent {"connection_id":125975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:20:56] local.INFO: TCP Data received {"connection_id":125137,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:20:56] local.INFO: Processing buffer {"connection_id":125137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:20:56] local.INFO: IMEI packet received {"connection_id":125137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":125137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:20:57] local.INFO: TCP Data received {"connection_id":125137,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:20:57] local.INFO: Processing buffer {"connection_id":125137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:20:57] local.INFO: IMEI packet received {"connection_id":125137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":125137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:20:58] local.INFO: TCP Data received {"connection_id":125137,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa17630012d82fdc005977d700005015131..."} 
[2026-07-08 08:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa17630012d82fdc005977d700005015131..."} 
[2026-07-08 08:20:58] local.INFO: Processing buffer {"connection_id":125137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa17630012d82fdc005977d700005015131..."} 
[2026-07-08 08:20:58] local.INFO: Packet analysis {"connection_id":125137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa1"} 
[2026-07-08 08:20:58] local.INFO: Extracted packet for processing {"connection_id":125137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa1"} 
[2026-07-08 08:20:58] local.INFO: GPS Element Parsed {"raw_longitude":763559360,"raw_latitude":93814128,"longitude_deg":76.355936,"latitude_deg":9.3814128,"altitude":5,"angle":337,"satellites":49,"speed":38,"hex_longitude":"2d82fdc0","hex_latitude":"05977d70","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570614528001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342443712514621440,"note":"Value kept but may cause issues"} 
[2026-07-08 08:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9004243743471376384,"note":"Value kept but may cause issues"} 
[2026-07-08 08:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783478974000,"timestamp_ms":1783478974000,"timestamp_seconds":1783478974,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa17630"} 
[2026-07-08 08:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 08:20: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-07-08 08: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-07-08 08:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":125137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":125137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":125137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570614528001,"66":27745,"18":206,"85":14592,"24":38,"16":342443712514621440,"45":-9004243743471376384},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-07-08 08:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570614528001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:20:58] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-08 08:20:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 08:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342443712514621440,"km_value":342443712514621.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9004243743471376384,"description":"Unknown IO ID 45"} 
[2026-07-08 08:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570614528001,"power":27745,"unknown_18":206,"unknown_85":14592,"ignition":38,"odometer":null,"unknown_45":-9004243743471376384}} 
[2026-07-08 08:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":125137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:20:58] local.INFO: GPS data processed {"connection_id":125137,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:20:58] local.INFO: Acknowledgment sent {"connection_id":125137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:21:01] local.INFO: TCP Data received {"connection_id":125135,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a00000000000196400100000000000000000000000000..."} 
[2026-07-08 08:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125135,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000196400100000000000000000000000000..."} 
[2026-07-08 08:21:01] local.INFO: Processing buffer {"connection_id":125135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000196400100000000000000000000000000..."} 
[2026-07-08 08:21:01] local.INFO: Packet analysis {"connection_id":125135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-08 08:21:01] local.INFO: Extracted packet for processing {"connection_id":125135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-08 08:21: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-07-08 08:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23475857448239104,"note":"Value kept but may cause issues"} 
[2026-07-08 08:21:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 08:21:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":104000,"timestamp_seconds":104,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 08:21:01] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-08 08:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125135,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125135,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-08 08:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125135,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-08 08:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-08 08:21:01] local.WARNING: DEBUG: No valid data to process  
[2026-07-08 08:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":125135,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-08 08:21:01] local.ERROR: GPS data processing failed {"connection_id":125135,"error":"No valid data to process"} 
[2026-07-08 08:21:01] local.INFO: Acknowledgment sent {"connection_id":125135,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-08 08:21:12] local.INFO: TCP Data received {"connection_id":125138,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125138,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:21:12] local.INFO: Processing buffer {"connection_id":125138,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:21:12] local.INFO: IMEI packet received {"connection_id":125138,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 08:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":125138,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:21:25] local.INFO: TCP Data received {"connection_id":125975,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa25ca8012d7bd80005e5fe98000301572f..."} 
[2026-07-08 08:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa25ca8012d7bd80005e5fe98000301572f..."} 
[2026-07-08 08:21:25] local.INFO: Processing buffer {"connection_id":125975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa25ca8012d7bd80005e5fe98000301572f..."} 
[2026-07-08 08:21:25] local.INFO: Packet analysis {"connection_id":125975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa2"} 
[2026-07-08 08:21:25] local.INFO: Extracted packet for processing {"connection_id":125975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa2"} 
[2026-07-08 08:21:25] local.INFO: GPS Element Parsed {"raw_longitude":763090944,"raw_latitude":98959000,"longitude_deg":76.3090944,"latitude_deg":9.8959,"altitude":3,"angle":343,"satellites":47,"speed":30,"hex_longitude":"2d7bd800","hex_latitude":"05e5fe98","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570631424001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103642641798791168,"note":"Value kept but may cause issues"} 
[2026-07-08 08:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925149324362532864,"note":"Value kept but may cause issues"} 
[2026-07-08 08:21:25] 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-07-08 08:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783479033000,"timestamp_ms":1783479033000,"timestamp_seconds":1783479033,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa25ca8"} 
[2026-07-08 08:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:21: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-07-08 08: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-08 08:21: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-07-08 08: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-07-08 08:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":125975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":125975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":125975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570631424001,"66":13015,"38":206,"87":13824,"24":30,"16":103642641798791168,"45":8925149324362532864},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-07-08 08:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570631424001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:21:25] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-08 08:21:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103642641798791168,"km_value":103642641798791.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925149324362532864,"description":"Unknown IO ID 45"} 
[2026-07-08 08:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570631424001,"power":13015,"unknown_38":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8925149324362532864}} 
[2026-07-08 08:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":125975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449676,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:21:25] local.INFO: GPS data processed {"connection_id":125975,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:21:25] local.INFO: Acknowledgment sent {"connection_id":125975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:21:29] local.INFO: TCP Data received {"connection_id":125137,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa19d40012d82f00005979fc0000501512f..."} 
[2026-07-08 08:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa19d40012d82f00005979fc0000501512f..."} 
[2026-07-08 08:21:29] local.INFO: Processing buffer {"connection_id":125137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa19d40012d82f00005979fc0000501512f..."} 
[2026-07-08 08:21:29] local.INFO: Packet analysis {"connection_id":125137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa1"} 
[2026-07-08 08:21:29] local.INFO: Extracted packet for processing {"connection_id":125137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa1"} 
[2026-07-08 08:21:29] local.INFO: GPS Element Parsed {"raw_longitude":763555840,"raw_latitude":93822912,"longitude_deg":76.355584,"latitude_deg":9.3822912,"altitude":5,"angle":337,"satellites":47,"speed":39,"hex_longitude":"2d82f000","hex_latitude":"05979fc0","is_valid_coordinates":true} 
[2026-07-08 08:21:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570617344001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342444172076122112,"note":"Value kept but may cause issues"} 
[2026-07-08 08:21:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9007832549422174208,"note":"Value kept but may cause issues"} 
[2026-07-08 08:21:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783478984000,"timestamp_ms":1783478984000,"timestamp_seconds":1783478984,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa19d40"} 
[2026-07-08 08:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:21:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:21:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 08:21:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:21:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":125137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":125137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":125137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:21:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570617344001,"66":27691,"18":206,"85":14592,"24":39,"16":342444172076122112,"45":-9007832549422174208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-07-08 08:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570617344001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:21:29] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-08 08:21:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 08:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342444172076122112,"km_value":342444172076122.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:21:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9007832549422174208,"description":"Unknown IO ID 45"} 
[2026-07-08 08:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570617344001,"power":27691,"unknown_18":206,"unknown_85":14592,"ignition":39,"odometer":null,"unknown_45":-9007832549422174208}} 
[2026-07-08 08:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":125137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:21:29] local.INFO: GPS data processed {"connection_id":125137,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:21:29] local.INFO: Acknowledgment sent {"connection_id":125137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:21:32] local.INFO: TCP Data received {"connection_id":125135,"ip":"42.106.6.23","data_length":93,"data_hex":"00000000000000518e01000000000001e8480100000000000000000000000000..."} 
[2026-07-08 08:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125135,"packet_length":93,"packet_hex":"00000000000000518e01000000000001e8480100000000000000000000000000..."} 
[2026-07-08 08:21:32] local.INFO: Processing buffer {"connection_id":125135,"buffer_length":93,"buffer_hex":"00000000000000518e01000000000001e8480100000000000000000000000000..."} 
[2026-07-08 08:21:32] local.INFO: Packet analysis {"connection_id":125135,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-07-08 08:21:32] local.INFO: Extracted packet for processing {"connection_id":125135,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-07-08 08:21: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-07-08 08:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-08 08:21: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-07-08 08:21: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-07-08 08:21:32] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:21:32] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-08 08:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125135,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-08 08:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125135,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-08 08:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125135,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-08 08:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-08 08:21:32] local.WARNING: DEBUG: No valid data to process  
[2026-07-08 08:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":125135,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-08 08:21:32] local.ERROR: GPS data processing failed {"connection_id":125135,"error":"No valid data to process"} 
[2026-07-08 08:21:32] local.INFO: Acknowledgment sent {"connection_id":125135,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-08 08:21:47] local.INFO: TCP Data received {"connection_id":125232,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125232,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:21:47] local.INFO: Processing buffer {"connection_id":125232,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:21:47] local.INFO: IMEI packet received {"connection_id":125232,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":125232,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:21:47] local.INFO: TCP Data received {"connection_id":125232,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125232,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:21:47] local.INFO: Processing buffer {"connection_id":125232,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:21:47] local.INFO: IMEI packet received {"connection_id":125232,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":125232,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:21:52] local.INFO: TCP Data received {"connection_id":125232,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125232,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:21:52] local.INFO: Processing buffer {"connection_id":125232,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:21:52] local.INFO: IMEI packet received {"connection_id":125232,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":125232,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:21:53] local.INFO: TCP Data received {"connection_id":125232,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa28b88012d7bce4005e61fd0000301582b..."} 
[2026-07-08 08:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa28b88012d7bce4005e61fd0000301582b..."} 
[2026-07-08 08:21:53] local.INFO: Processing buffer {"connection_id":125232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa28b88012d7bce4005e61fd0000301582b..."} 
[2026-07-08 08:21:53] local.INFO: Packet analysis {"connection_id":125232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa2"} 
[2026-07-08 08:21:53] local.INFO: Extracted packet for processing {"connection_id":125232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa2"} 
[2026-07-08 08:21:53] local.INFO: GPS Element Parsed {"raw_longitude":763088448,"raw_latitude":98967504,"longitude_deg":76.3088448,"latitude_deg":9.8967504,"altitude":3,"angle":344,"satellites":43,"speed":26,"hex_longitude":"2d7bce40","hex_latitude":"05e61fd0","is_valid_coordinates":true} 
[2026-07-08 08:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570632448001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103643071295520768,"note":"Value kept but may cause issues"} 
[2026-07-08 08:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923882686968141824,"note":"Value kept but may cause issues"} 
[2026-07-08 08:21:53] 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-07-08 08:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783479045000,"timestamp_ms":1783479045000,"timestamp_seconds":1783479045,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa28b88"} 
[2026-07-08 08:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-08 08:21:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570632448001,"66":13102,"40":206,"87":13824,"24":26,"16":103643071295520768,"45":8923882686968141824},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-07-08 08:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570632448001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:21:53] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-08 08:21:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103643071295520768,"km_value":103643071295520.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923882686968141824,"description":"Unknown IO ID 45"} 
[2026-07-08 08:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570632448001,"power":13102,"unknown_40":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8923882686968141824}} 
[2026-07-08 08:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":125232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449678,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:21:53] local.INFO: GPS data processed {"connection_id":125232,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:21:53] local.INFO: Acknowledgment sent {"connection_id":125232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:21:56] local.INFO: TCP Data received {"connection_id":127241,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:21:56] local.INFO: Processing buffer {"connection_id":127241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:21:56] local.INFO: IMEI packet received {"connection_id":127241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":127241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:21:57] local.INFO: TCP Data received {"connection_id":125976,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125976,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:21:57] local.INFO: Processing buffer {"connection_id":125976,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:21:57] local.INFO: IMEI packet received {"connection_id":125976,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 08:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":125976,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:22:01] local.INFO: TCP Data received {"connection_id":127241,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:22:01] local.INFO: Processing buffer {"connection_id":127241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:22:01] local.INFO: IMEI packet received {"connection_id":127241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":127241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:22:02] local.INFO: TCP Data received {"connection_id":127241,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa1e778012d82e2000597bfc00006014b31..."} 
[2026-07-08 08:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa1e778012d82e2000597bfc00006014b31..."} 
[2026-07-08 08:22:02] local.INFO: Processing buffer {"connection_id":127241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa1e778012d82e2000597bfc00006014b31..."} 
[2026-07-08 08:22:02] local.INFO: Packet analysis {"connection_id":127241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa1"} 
[2026-07-08 08:22:02] local.INFO: Extracted packet for processing {"connection_id":127241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa1"} 
[2026-07-08 08:22:02] local.INFO: GPS Element Parsed {"raw_longitude":763552256,"raw_latitude":93831104,"longitude_deg":76.3552256,"latitude_deg":9.3831104,"altitude":6,"angle":331,"satellites":49,"speed":14,"hex_longitude":"2d82e200","hex_latitude":"0597bfc0","is_valid_coordinates":true} 
[2026-07-08 08:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570619904001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342444605867819008,"note":"Value kept but may cause issues"} 
[2026-07-08 08:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9011702830349697024,"note":"Value kept but may cause issues"} 
[2026-07-08 08:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783479003000,"timestamp_ms":1783479003000,"timestamp_seconds":1783479003,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa1e778"} 
[2026-07-08 08:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:22: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-07-08 08: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 08:22:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:22:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570619904001,"66":27745,"19":206,"85":14592,"24":14,"16":342444605867819008,"45":-9011702830349697024},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-07-08 08:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570619904001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:22:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-08 08:22:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 08:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342444605867819008,"km_value":342444605867819.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9011702830349697024,"description":"Unknown IO ID 45"} 
[2026-07-08 08:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570619904001,"power":27745,"unknown_19":206,"unknown_85":14592,"ignition":14,"odometer":null,"unknown_45":-9011702830349697024}} 
[2026-07-08 08:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":127241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:22:02] local.INFO: GPS data processed {"connection_id":127241,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:22:02] local.INFO: Acknowledgment sent {"connection_id":127241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:22:03] local.INFO: TCP Data received {"connection_id":125135,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000000000023a500100000000000000000000000000..."} 
[2026-07-08 08:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000023a500100000000000000000000000000..."} 
[2026-07-08 08:22:03] local.INFO: Processing buffer {"connection_id":125135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000023a500100000000000000000000000000..."} 
[2026-07-08 08:22:03] local.INFO: Packet analysis {"connection_id":125135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-08 08:22:03] local.INFO: Extracted packet for processing {"connection_id":125135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-08 08:22:03] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23475857448239104,"note":"Value kept but may cause issues"} 
[2026-07-08 08:22:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 08:22:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":146000,"timestamp_seconds":146,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 08:22:03] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-08 08:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125135,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125135,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-08 08:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125135,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-08 08:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-08 08:22:03] local.WARNING: DEBUG: No valid data to process  
[2026-07-08 08:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":125135,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-08 08:22:03] local.ERROR: GPS data processing failed {"connection_id":125135,"error":"No valid data to process"} 
[2026-07-08 08:22:03] local.INFO: Acknowledgment sent {"connection_id":125135,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-08 08:22:24] local.INFO: TCP Data received {"connection_id":125232,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa2aeb0012d7bcb0005e62b480004014a2d..."} 
[2026-07-08 08:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa2aeb0012d7bcb0005e62b480004014a2d..."} 
[2026-07-08 08:22:24] local.INFO: Processing buffer {"connection_id":125232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa2aeb0012d7bcb0005e62b480004014a2d..."} 
[2026-07-08 08:22:24] local.INFO: Packet analysis {"connection_id":125232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa2"} 
[2026-07-08 08:22:24] local.INFO: Extracted packet for processing {"connection_id":125232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa2"} 
[2026-07-08 08:22:24] local.INFO: GPS Element Parsed {"raw_longitude":763087616,"raw_latitude":98970440,"longitude_deg":76.3087616,"latitude_deg":9.897044,"altitude":4,"angle":330,"satellites":45,"speed":7,"hex_longitude":"2d7bcb00","hex_latitude":"05e62b48","is_valid_coordinates":true} 
[2026-07-08 08:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570635520001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103643221619376128,"note":"Value kept but may cause issues"} 
[2026-07-08 08:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921138305947389952,"note":"Value kept but may cause issues"} 
[2026-07-08 08:22:24] 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-07-08 08:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783479054000,"timestamp_ms":1783479054000,"timestamp_seconds":1783479054,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa2aeb0"} 
[2026-07-08 08:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:22:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":46,"data_length":795,"current_offset":136} 
[2026-07-08 08:22:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:22:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:22: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-07-08 08:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570635520001,"66":13189,"40":206,"87":13824,"24":7,"16":103643221619376128,"45":8921138305947389952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-07-08 08:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570635520001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:22:24] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-08 08:22:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103643221619376128,"km_value":103643221619376.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921138305947389952,"description":"Unknown IO ID 45"} 
[2026-07-08 08:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570635520001,"power":13189,"unknown_40":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8921138305947389952}} 
[2026-07-08 08:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":125232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449680,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:22:24] local.INFO: GPS data processed {"connection_id":125232,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:22:24] local.INFO: Acknowledgment sent {"connection_id":125232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:22:34] local.INFO: TCP Data received {"connection_id":127241,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa225f8012d82d4400597dc280008015933..."} 
[2026-07-08 08:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa225f8012d82d4400597dc280008015933..."} 
[2026-07-08 08:22:34] local.INFO: Processing buffer {"connection_id":127241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa225f8012d82d4400597dc280008015933..."} 
[2026-07-08 08:22:34] local.INFO: Packet analysis {"connection_id":127241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa2"} 
[2026-07-08 08:22:34] local.INFO: Extracted packet for processing {"connection_id":127241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa2"} 
[2026-07-08 08:22:34] local.INFO: GPS Element Parsed {"raw_longitude":763548736,"raw_latitude":93838376,"longitude_deg":76.3548736,"latitude_deg":9.3838376,"altitude":8,"angle":345,"satellites":51,"speed":24,"hex_longitude":"2d82d440","hex_latitude":"0597dc28","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570624768001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342444996709842944,"note":"Value kept but may cause issues"} 
[2026-07-08 08:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9015643480021549056,"note":"Value kept but may cause issues"} 
[2026-07-08 08:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783479019000,"timestamp_ms":1783479019000,"timestamp_seconds":1783479019,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa225f8"} 
[2026-07-08 08:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 08:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:22:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570624768001,"66":27647,"19":206,"85":14592,"24":24,"16":342444996709842944,"45":-9015643480021549056},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-07-08 08:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570624768001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:22:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-08 08:22:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 08:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342444996709842944,"km_value":342444996709842.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9015643480021549056,"description":"Unknown IO ID 45"} 
[2026-07-08 08:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570624768001,"power":27647,"unknown_19":206,"unknown_85":14592,"ignition":24,"odometer":null,"unknown_45":-9015643480021549056}} 
[2026-07-08 08:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":127241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:22:34] local.INFO: GPS data processed {"connection_id":127241,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:22:34] local.INFO: Acknowledgment sent {"connection_id":127241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:22:47] local.INFO: TCP Data received {"connection_id":127242,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127242,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:22:47] local.INFO: Processing buffer {"connection_id":127242,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:22:47] local.INFO: IMEI packet received {"connection_id":127242,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":127242,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:22:52] local.INFO: TCP Data received {"connection_id":127242,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127242,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:22:52] local.INFO: Processing buffer {"connection_id":127242,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:22:52] local.INFO: IMEI packet received {"connection_id":127242,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":127242,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:22:54] local.INFO: TCP Data received {"connection_id":127242,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa43938012d7b828005e712d00004013d2d..."} 
[2026-07-08 08:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa43938012d7b828005e712d00004013d2d..."} 
[2026-07-08 08:22:54] local.INFO: Processing buffer {"connection_id":127242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa43938012d7b828005e712d00004013d2d..."} 
[2026-07-08 08:22:54] local.INFO: Packet analysis {"connection_id":127242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa4"} 
[2026-07-08 08:22:54] local.INFO: Extracted packet for processing {"connection_id":127242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa4"} 
[2026-07-08 08:22:54] local.INFO: GPS Element Parsed {"raw_longitude":763069056,"raw_latitude":99029712,"longitude_deg":76.3069056,"latitude_deg":9.9029712,"altitude":4,"angle":317,"satellites":45,"speed":22,"hex_longitude":"2d7b8280","hex_latitude":"05e712d0","is_valid_coordinates":true} 
[2026-07-08 08:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570663168001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103646292520992768,"note":"Value kept but may cause issues"} 
[2026-07-08 08:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900590632663191552,"note":"Value kept but may cause issues"} 
[2026-07-08 08:22:54] 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-07-08 08:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783479155000,"timestamp_ms":1783479155000,"timestamp_seconds":1783479155,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa43938"} 
[2026-07-08 08:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:22:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-08 08:22:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:22:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":127242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":127242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":127242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:22: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-07-08 08:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570663168001,"66":13015,"96":206,"87":13824,"24":22,"16":103646292520992768,"45":8900590632663191552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-08 08:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570663168001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:22:54] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-08 08:22:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103646292520992768,"km_value":103646292520992.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900590632663191552,"description":"Unknown IO ID 45"} 
[2026-07-08 08:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570663168001,"power":13015,"unknown_96":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8900590632663191552}} 
[2026-07-08 08:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":127242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449682,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:22:54] local.INFO: GPS data processed {"connection_id":127242,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:22:54] local.INFO: Acknowledgment sent {"connection_id":127242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:22:54] local.INFO: TCP Data received {"connection_id":125977,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:22:54] local.INFO: Processing buffer {"connection_id":125977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:22:54] local.INFO: IMEI packet received {"connection_id":125977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":125977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:22:57] local.INFO: TCP Data received {"connection_id":125977,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:22:57] local.INFO: Processing buffer {"connection_id":125977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:22:57] local.INFO: IMEI packet received {"connection_id":125977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":125977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:23:01] local.INFO: TCP Data received {"connection_id":125977,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:23:01] local.INFO: Processing buffer {"connection_id":125977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:23:01] local.INFO: IMEI packet received {"connection_id":125977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":125977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:23:02] local.INFO: TCP Data received {"connection_id":125977,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa3c7f0012d82868005990f40000d000732..."} 
[2026-07-08 08:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa3c7f0012d82868005990f40000d000732..."} 
[2026-07-08 08:23:02] local.INFO: Processing buffer {"connection_id":125977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa3c7f0012d82868005990f40000d000732..."} 
[2026-07-08 08:23:02] local.INFO: Packet analysis {"connection_id":125977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa3"} 
[2026-07-08 08:23:02] local.INFO: Extracted packet for processing {"connection_id":125977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa3"} 
[2026-07-08 08:23:02] local.INFO: GPS Element Parsed {"raw_longitude":763528832,"raw_latitude":93916992,"longitude_deg":76.3528832,"latitude_deg":9.3916992,"altitude":13,"angle":7,"satellites":50,"speed":36,"hex_longitude":"2d828680","hex_latitude":"05990f40","is_valid_coordinates":true} 
[2026-07-08 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-07-08 08:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570653440001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342448995324395520,"note":"Value kept but may cause issues"} 
[2026-07-08 08:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041961390324316160,"note":"Value kept but may cause issues"} 
[2026-07-08 08:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783479126000,"timestamp_ms":1783479126000,"timestamp_seconds":1783479126,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa3c7f0"} 
[2026-07-08 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-07-08 08:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 08:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 08:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570653440001,"66":27745,"19":206,"85":14592,"24":36,"16":342448995324395520,"45":-9041961390324316160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-07-08 08:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570653440001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:23:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-08 08:23:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 08:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342448995324395520,"km_value":342448995324395.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041961390324316160,"description":"Unknown IO ID 45"} 
[2026-07-08 08:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570653440001,"power":27745,"unknown_19":206,"unknown_85":14592,"ignition":36,"odometer":null,"unknown_45":-9041961390324316160}} 
[2026-07-08 08:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":125977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:23:02] local.INFO: GPS data processed {"connection_id":125977,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:23:02] local.INFO: Acknowledgment sent {"connection_id":125977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:23:25] local.INFO: TCP Data received {"connection_id":127242,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa448d8012d7b7e0005e717780004014d2d..."} 
[2026-07-08 08:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa448d8012d7b7e0005e717780004014d2d..."} 
[2026-07-08 08:23:25] local.INFO: Processing buffer {"connection_id":127242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa448d8012d7b7e0005e717780004014d2d..."} 
[2026-07-08 08:23:25] local.INFO: Packet analysis {"connection_id":127242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa4"} 
[2026-07-08 08:23:25] local.INFO: Extracted packet for processing {"connection_id":127242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa4"} 
[2026-07-08 08:23:25] local.INFO: GPS Element Parsed {"raw_longitude":763067904,"raw_latitude":99030904,"longitude_deg":76.3067904,"latitude_deg":9.9030904,"altitude":4,"angle":333,"satellites":45,"speed":12,"hex_longitude":"2d7b7e00","hex_latitude":"05e71778","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570663680001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103646374125371392,"note":"Value kept but may cause issues"} 
[2026-07-08 08:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899816576477483008,"note":"Value kept but may cause issues"} 
[2026-07-08 08:23:25] 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-07-08 08:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783479159000,"timestamp_ms":1783479159000,"timestamp_seconds":1783479159,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa448d8"} 
[2026-07-08 08:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08: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-07-08 08: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":215,"data_length":795,"current_offset":136} 
[2026-07-08 08:23:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":127242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":127242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":127242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08: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-07-08 08:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570663680001,"66":12917,"96":206,"87":13824,"24":12,"16":103646374125371392,"45":8899816576477483008},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-08 08:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570663680001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:23:25] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-08 08:23:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103646374125371392,"km_value":103646374125371.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899816576477483008,"description":"Unknown IO ID 45"} 
[2026-07-08 08:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570663680001,"power":12917,"unknown_96":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8899816576477483008}} 
[2026-07-08 08:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":127242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449684,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:23:25] local.INFO: GPS data processed {"connection_id":127242,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:23:25] local.INFO: Acknowledgment sent {"connection_id":127242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:23:33] local.INFO: TCP Data received {"connection_id":125977,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa3c7f0012d82868005990f40000d000732..."} 
[2026-07-08 08:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa3c7f0012d82868005990f40000d000732..."} 
[2026-07-08 08:23:33] local.INFO: Processing buffer {"connection_id":125977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa3c7f0012d82868005990f40000d000732..."} 
[2026-07-08 08:23:33] local.INFO: Packet analysis {"connection_id":125977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa3"} 
[2026-07-08 08:23:33] local.INFO: Extracted packet for processing {"connection_id":125977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa3"} 
[2026-07-08 08:23:33] local.INFO: GPS Element Parsed {"raw_longitude":763528832,"raw_latitude":93916992,"longitude_deg":76.3528832,"latitude_deg":9.3916992,"altitude":13,"angle":7,"satellites":50,"speed":36,"hex_longitude":"2d828680","hex_latitude":"05990f40","is_valid_coordinates":true} 
[2026-07-08 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-07-08 08:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570656256001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342448995324395520,"note":"Value kept but may cause issues"} 
[2026-07-08 08:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041398440368586752,"note":"Value kept but may cause issues"} 
[2026-07-08 08:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783479126000,"timestamp_ms":1783479126000,"timestamp_seconds":1783479126,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa3c7f0"} 
[2026-07-08 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-07-08 08:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 08:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 08:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570656256001,"66":27745,"19":206,"85":14592,"24":36,"16":342448995324395520,"45":-9041398440368586752},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-07-08 08:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570656256001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:23:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-08 08:23:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 08:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342448995324395520,"km_value":342448995324395.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041398440368586752,"description":"Unknown IO ID 45"} 
[2026-07-08 08:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570656256001,"power":27745,"unknown_19":206,"unknown_85":14592,"ignition":36,"odometer":null,"unknown_45":-9041398440368586752}} 
[2026-07-08 08:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":125977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:23:33] local.INFO: GPS data processed {"connection_id":125977,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:23:33] local.INFO: Acknowledgment sent {"connection_id":125977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:23:52] local.INFO: TCP Data received {"connection_id":125141,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125141,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:23:52] local.INFO: Processing buffer {"connection_id":125141,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:23:52] local.INFO: IMEI packet received {"connection_id":125141,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":125141,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:23:56] local.INFO: TCP Data received {"connection_id":127243,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:23:56] local.INFO: Processing buffer {"connection_id":127243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:23:56] local.INFO: IMEI packet received {"connection_id":127243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":127243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:23:57] local.INFO: TCP Data received {"connection_id":125141,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125141,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:23:57] local.INFO: Processing buffer {"connection_id":125141,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:23:57] local.INFO: IMEI packet received {"connection_id":125141,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":125141,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:23:57] local.INFO: TCP Data received {"connection_id":127243,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:23:57] local.INFO: Processing buffer {"connection_id":127243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:23:57] local.INFO: IMEI packet received {"connection_id":127243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":127243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:23:58] local.INFO: TCP Data received {"connection_id":125141,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa44cc0012d7b7dc005e718a0000401592e..."} 
[2026-07-08 08:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa44cc0012d7b7dc005e718a0000401592e..."} 
[2026-07-08 08:23:58] local.INFO: Processing buffer {"connection_id":125141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa44cc0012d7b7dc005e718a0000401592e..."} 
[2026-07-08 08:23:58] local.INFO: Packet analysis {"connection_id":125141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa4"} 
[2026-07-08 08:23:58] local.INFO: Extracted packet for processing {"connection_id":125141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa4"} 
[2026-07-08 08:23:58] local.INFO: GPS Element Parsed {"raw_longitude":763067840,"raw_latitude":99031200,"longitude_deg":76.306784,"latitude_deg":9.90312,"altitude":4,"angle":345,"satellites":46,"speed":13,"hex_longitude":"2d7b7dc0","hex_latitude":"05e718a0","is_valid_coordinates":true} 
[2026-07-08 08:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570664704001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103646387010273280,"note":"Value kept but may cause issues"} 
[2026-07-08 08:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898549939082590208,"note":"Value kept but may cause issues"} 
[2026-07-08 08:23:58] 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-07-08 08:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783479160000,"timestamp_ms":1783479160000,"timestamp_seconds":1783479160,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa44cc0"} 
[2026-07-08 08:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:23: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-07-08 08:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-08 08:23: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-07-08 08:23:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":125141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":125141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":125141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:23: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-07-08 08:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570664704001,"66":13276,"96":206,"87":13824,"24":13,"16":103646387010273280,"45":8898549939082590208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-08 08:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570664704001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:23:58] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-08 08:23:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103646387010273280,"km_value":103646387010273.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898549939082590208,"description":"Unknown IO ID 45"} 
[2026-07-08 08:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570664704001,"power":13276,"unknown_96":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8898549939082590208}} 
[2026-07-08 08:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":125141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449686,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:23:58] local.INFO: GPS data processed {"connection_id":125141,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:23:58] local.INFO: Acknowledgment sent {"connection_id":125141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:24:01] local.INFO: TCP Data received {"connection_id":127243,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:24:01] local.INFO: Processing buffer {"connection_id":127243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:24:01] local.INFO: IMEI packet received {"connection_id":127243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":127243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:24:02] local.INFO: TCP Data received {"connection_id":125141,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa49ae0012d7b75c005e733b80004015d2c..."} 
[2026-07-08 08:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa49ae0012d7b75c005e733b80004015d2c..."} 
[2026-07-08 08:24:02] local.INFO: Processing buffer {"connection_id":125141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa49ae0012d7b75c005e733b80004015d2c..."} 
[2026-07-08 08:24:02] local.INFO: Packet analysis {"connection_id":125141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa4"} 
[2026-07-08 08:24:02] local.INFO: Extracted packet for processing {"connection_id":125141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa4"} 
[2026-07-08 08:24:02] local.INFO: GPS Element Parsed {"raw_longitude":763065792,"raw_latitude":99038136,"longitude_deg":76.3065792,"latitude_deg":9.9038136,"altitude":4,"angle":349,"satellites":44,"speed":0,"hex_longitude":"2d7b75c0","hex_latitude":"05e733b8","is_valid_coordinates":true} 
[2026-07-08 08:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570664960001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103646743492558848,"note":"Value kept but may cause issues"} 
[2026-07-08 08:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898479570338488320,"note":"Value kept but may cause issues"} 
[2026-07-08 08:24:02] 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-07-08 08:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783479180000,"timestamp_ms":1783479180000,"timestamp_seconds":1783479180,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa49ae0"} 
[2026-07-08 08:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:24: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-07-08 08:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-08 08:24:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:24:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:24: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-07-08 08:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570664960001,"66":12961,"96":206,"87":13824,"24":0,"16":103646743492558848,"45":8898479570338488320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-08 08:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570664960001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:24:02] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-08 08:24:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103646743492558848,"km_value":103646743492558.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898479570338488320,"description":"Unknown IO ID 45"} 
[2026-07-08 08:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570664960001,"power":12961,"unknown_96":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8898479570338488320}} 
[2026-07-08 08:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":125141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449687,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:24:02] local.INFO: GPS data processed {"connection_id":125141,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:24:02] local.INFO: Acknowledgment sent {"connection_id":125141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:24:02] local.INFO: TCP Data received {"connection_id":127243,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa3ef00012d828e8005993340000a000f32..."} 
[2026-07-08 08:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa3ef00012d828e8005993340000a000f32..."} 
[2026-07-08 08:24:02] local.INFO: Processing buffer {"connection_id":127243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa3ef00012d828e8005993340000a000f32..."} 
[2026-07-08 08:24:02] local.INFO: Packet analysis {"connection_id":127243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa3"} 
[2026-07-08 08:24:02] local.INFO: Extracted packet for processing {"connection_id":127243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa3"} 
[2026-07-08 08:24:02] local.INFO: GPS Element Parsed {"raw_longitude":763530880,"raw_latitude":93926208,"longitude_deg":76.353088,"latitude_deg":9.3926208,"altitude":10,"angle":15,"satellites":50,"speed":38,"hex_longitude":"2d828e80","hex_latitude":"05993340","is_valid_coordinates":true} 
[2026-07-08 08:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570656256001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342449454885896192,"note":"Value kept but may cause issues"} 
[2026-07-08 08:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041398440368586752,"note":"Value kept but may cause issues"} 
[2026-07-08 08:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783479136000,"timestamp_ms":1783479136000,"timestamp_seconds":1783479136,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa3ef00"} 
[2026-07-08 08:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:24: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-07-08 08:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 08:24:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:24:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570656256001,"66":27713,"6":206,"85":14592,"24":38,"16":342449454885896192,"45":-9041398440368586752},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,85,24,16,45]} 
[2026-07-08 08:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570656256001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:24:02] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-07-08 08:24:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 08:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342449454885896192,"km_value":342449454885896.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041398440368586752,"description":"Unknown IO ID 45"} 
[2026-07-08 08:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570656256001,"power":27713,"unknown_6":206,"unknown_85":14592,"ignition":38,"odometer":null,"unknown_45":-9041398440368586752}} 
[2026-07-08 08:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":127243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:24:02] local.INFO: GPS data processed {"connection_id":127243,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:24:02] local.INFO: Acknowledgment sent {"connection_id":127243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:24:39] local.INFO: TCP Data received {"connection_id":127243,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa419f8012d829940059957580007000f31..."} 
[2026-07-08 08:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa419f8012d829940059957580007000f31..."} 
[2026-07-08 08:24:39] local.INFO: Processing buffer {"connection_id":127243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa419f8012d829940059957580007000f31..."} 
[2026-07-08 08:24:39] local.INFO: Packet analysis {"connection_id":127243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa4"} 
[2026-07-08 08:24:39] local.INFO: Extracted packet for processing {"connection_id":127243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa4"} 
[2026-07-08 08:24:39] local.INFO: GPS Element Parsed {"raw_longitude":763533632,"raw_latitude":93935448,"longitude_deg":76.3533632,"latitude_deg":9.3935448,"altitude":7,"angle":15,"satellites":49,"speed":35,"hex_longitude":"2d829940","hex_latitude":"05995758","is_valid_coordinates":true} 
[2026-07-08 08:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570658816001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342449923037331456,"note":"Value kept but may cause issues"} 
[2026-07-08 08:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9039146640552542208,"note":"Value kept but may cause issues"} 
[2026-07-08 08:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783479147000,"timestamp_ms":1783479147000,"timestamp_seconds":1783479147,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa419f8"} 
[2026-07-08 08:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:24:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 08:24:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:24:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":127243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":127243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":127243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:24:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570658816001,"66":27745,"13":206,"85":14592,"24":35,"16":342449923037331456,"45":-9039146640552542208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,85,24,16,45]} 
[2026-07-08 08:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570658816001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:24:39] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-07-08 08:24:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 08:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342449923037331456,"km_value":342449923037331.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9039146640552542208,"description":"Unknown IO ID 45"} 
[2026-07-08 08:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570658816001,"power":27745,"unknown_13":206,"unknown_85":14592,"ignition":35,"odometer":null,"unknown_45":-9039146640552542208}} 
[2026-07-08 08:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":127243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:24:39] local.INFO: GPS data processed {"connection_id":127243,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:24:39] local.INFO: Acknowledgment sent {"connection_id":127243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:24:43] local.INFO: TCP Data received {"connection_id":125978,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125978,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:24:43] local.INFO: Processing buffer {"connection_id":125978,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:24:43] local.INFO: IMEI packet received {"connection_id":125978,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":125978,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:24:47] local.INFO: TCP Data received {"connection_id":125978,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125978,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:24:47] local.INFO: Processing buffer {"connection_id":125978,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:24:47] local.INFO: IMEI packet received {"connection_id":125978,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":125978,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:24:52] local.INFO: TCP Data received {"connection_id":125978,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125978,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:24:52] local.INFO: Processing buffer {"connection_id":125978,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:24:52] local.INFO: IMEI packet received {"connection_id":125978,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":125978,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:24:53] local.INFO: TCP Data received {"connection_id":125978,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa4ece8012d7b744005e74660000300012e..."} 
[2026-07-08 08:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa4ece8012d7b744005e74660000300012e..."} 
[2026-07-08 08:24:53] local.INFO: Processing buffer {"connection_id":125978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa4ece8012d7b744005e74660000300012e..."} 
[2026-07-08 08:24:53] local.INFO: Packet analysis {"connection_id":125978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa4"} 
[2026-07-08 08:24:53] local.INFO: Extracted packet for processing {"connection_id":125978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa4"} 
[2026-07-08 08:24:53] local.INFO: GPS Element Parsed {"raw_longitude":763065408,"raw_latitude":99042912,"longitude_deg":76.3065408,"latitude_deg":9.9042912,"altitude":3,"angle":1,"satellites":46,"speed":28,"hex_longitude":"2d7b7440","hex_latitude":"05e74660","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570670080001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103646975420792832,"note":"Value kept but may cause issues"} 
[2026-07-08 08:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896227770526578688,"note":"Value kept but may cause issues"} 
[2026-07-08 08:24:53] 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-07-08 08:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783479201000,"timestamp_ms":1783479201000,"timestamp_seconds":1783479201,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa4ece8"} 
[2026-07-08 08:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:24:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-08 08:24: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-07-08 08: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-07-08 08:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:24:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570670080001,"66":13439,"96":206,"87":13824,"24":28,"16":103646975420792832,"45":8896227770526578688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-08 08:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570670080001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:24:53] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-08 08:24:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103646975420792832,"km_value":103646975420792.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896227770526578688,"description":"Unknown IO ID 45"} 
[2026-07-08 08:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570670080001,"power":13439,"unknown_96":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8896227770526578688}} 
[2026-07-08 08:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":125978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449690,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:24:53] local.INFO: GPS data processed {"connection_id":125978,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:24:53] local.INFO: Acknowledgment sent {"connection_id":125978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:24:57] local.INFO: TCP Data received {"connection_id":127244,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:24:57] local.INFO: Processing buffer {"connection_id":127244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:24:57] local.INFO: IMEI packet received {"connection_id":127244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":127244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:25:01] local.INFO: TCP Data received {"connection_id":127244,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:25:01] local.INFO: Processing buffer {"connection_id":127244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:25:01] local.INFO: IMEI packet received {"connection_id":127244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":127244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:25:02] local.INFO: TCP Data received {"connection_id":127244,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa57988012d825080059ad1180009015c31..."} 
[2026-07-08 08:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa57988012d825080059ad1180009015c31..."} 
[2026-07-08 08:25:02] local.INFO: Processing buffer {"connection_id":127244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa57988012d825080059ad1180009015c31..."} 
[2026-07-08 08:25:02] local.INFO: Packet analysis {"connection_id":127244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa5"} 
[2026-07-08 08:25:02] local.INFO: Extracted packet for processing {"connection_id":127244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa5"} 
[2026-07-08 08:25:02] local.INFO: GPS Element Parsed {"raw_longitude":763515008,"raw_latitude":94032152,"longitude_deg":76.3515008,"latitude_deg":9.4032152,"altitude":9,"angle":348,"satellites":49,"speed":45,"hex_longitude":"2d825080","hex_latitude":"059ad118","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570682624001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342454746285604864,"note":"Value kept but may cause issues"} 
[2026-07-08 08:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9054064814293540864,"note":"Value kept but may cause issues"} 
[2026-07-08 08:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783479237000,"timestamp_ms":1783479237000,"timestamp_seconds":1783479237,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa57988"} 
[2026-07-08 08:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:25: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-07-08 08: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-08 08:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570682624001,"66":27691,"177":206,"85":14592,"24":45,"16":342454746285604864,"45":-9054064814293540864},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-07-08 08:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570682624001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:25:02] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-08 08:25:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 08:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342454746285604864,"km_value":342454746285604.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9054064814293540864,"description":"Unknown IO ID 45"} 
[2026-07-08 08:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570682624001,"power":27691,"unknown_177":206,"unknown_85":14592,"ignition":45,"odometer":null,"unknown_45":-9054064814293540864}} 
[2026-07-08 08:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":127244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:25:02] local.INFO: GPS data processed {"connection_id":127244,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:25:02] local.INFO: Acknowledgment sent {"connection_id":127244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:25:24] local.INFO: TCP Data received {"connection_id":125978,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa50070012d7b730005e756980004015d2e..."} 
[2026-07-08 08:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa50070012d7b730005e756980004015d2e..."} 
[2026-07-08 08:25:24] local.INFO: Processing buffer {"connection_id":125978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa50070012d7b730005e756980004015d2e..."} 
[2026-07-08 08:25:24] local.INFO: Packet analysis {"connection_id":125978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa5"} 
[2026-07-08 08:25:24] local.INFO: Extracted packet for processing {"connection_id":125978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa5"} 
[2026-07-08 08:25:24] local.INFO: GPS Element Parsed {"raw_longitude":763065088,"raw_latitude":99047064,"longitude_deg":76.3065088,"latitude_deg":9.9047064,"altitude":4,"angle":349,"satellites":46,"speed":35,"hex_longitude":"2d7b7300","hex_latitude":"05e75698","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570675456001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103647177284255744,"note":"Value kept but may cause issues"} 
[2026-07-08 08:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895805558062735360,"note":"Value kept but may cause issues"} 
[2026-07-08 08:25:24] 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-07-08 08:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783479206000,"timestamp_ms":1783479206000,"timestamp_seconds":1783479206,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa50070"} 
[2026-07-08 08:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:25:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-07-08 08:25:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:25: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-07-08 08:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570675456001,"66":12852,"96":206,"87":13824,"24":35,"16":103647177284255744,"45":8895805558062735360},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-08 08:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570675456001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:25:24] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-08 08:25:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103647177284255744,"km_value":103647177284255.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895805558062735360,"description":"Unknown IO ID 45"} 
[2026-07-08 08:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570675456001,"power":12852,"unknown_96":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8895805558062735360}} 
[2026-07-08 08:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":125978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449692,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:25:24] local.INFO: GPS data processed {"connection_id":125978,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:25:24] local.INFO: Acknowledgment sent {"connection_id":125978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:25:33] local.INFO: TCP Data received {"connection_id":127244,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa5a098012d8248c0059af488000a015d31..."} 
[2026-07-08 08:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa5a098012d8248c0059af488000a015d31..."} 
[2026-07-08 08:25:33] local.INFO: Processing buffer {"connection_id":127244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa5a098012d8248c0059af488000a015d31..."} 
[2026-07-08 08:25:33] local.INFO: Packet analysis {"connection_id":127244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa5"} 
[2026-07-08 08:25:33] local.INFO: Extracted packet for processing {"connection_id":127244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa5"} 
[2026-07-08 08:25:33] local.INFO: GPS Element Parsed {"raw_longitude":763513024,"raw_latitude":94041224,"longitude_deg":76.3513024,"latitude_deg":9.4041224,"altitude":10,"angle":349,"satellites":49,"speed":39,"hex_longitude":"2d8248c0","hex_latitude":"059af488","is_valid_coordinates":true} 
[2026-07-08 08:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570684672001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342455197257170944,"note":"Value kept but may cause issues"} 
[2026-07-08 08:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9056598089081481216,"note":"Value kept but may cause issues"} 
[2026-07-08 08:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783479247000,"timestamp_ms":1783479247000,"timestamp_seconds":1783479247,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa5a098"} 
[2026-07-08 08:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 08:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570684672001,"66":27800,"179":206,"85":14592,"24":39,"16":342455197257170944,"45":-9056598089081481216},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-07-08 08:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570684672001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:25:33] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-08 08:25:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 08:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342455197257170944,"km_value":342455197257170.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9056598089081481216,"description":"Unknown IO ID 45"} 
[2026-07-08 08:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570684672001,"power":27800,"unknown_179":206,"unknown_85":14592,"ignition":39,"odometer":null,"unknown_45":-9056598089081481216}} 
[2026-07-08 08:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":127244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:25:33] local.INFO: GPS data processed {"connection_id":127244,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:25:33] local.INFO: Acknowledgment sent {"connection_id":127244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:25:40] local.INFO: TCP Data received {"connection_id":125142,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125142,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:25:40] local.INFO: Processing buffer {"connection_id":125142,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:25:40] local.INFO: IMEI packet received {"connection_id":125142,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 08:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":125142,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:25:45] local.INFO: TCP Data received {"connection_id":125142,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125142,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:25:45] local.INFO: Processing buffer {"connection_id":125142,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:25:45] local.INFO: IMEI packet received {"connection_id":125142,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":125142,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:25:46] local.INFO: TCP Data received {"connection_id":125142,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa473d00100000000000000000000000000..."} 
[2026-07-08 08:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa473d00100000000000000000000000000..."} 
[2026-07-08 08:25:46] local.INFO: Processing buffer {"connection_id":125142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa473d00100000000000000000000000000..."} 
[2026-07-08 08:25:46] local.INFO: Packet analysis {"connection_id":125142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa4"} 
[2026-07-08 08:25:46] local.INFO: Extracted packet for processing {"connection_id":125142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa4"} 
[2026-07-08 08:25:46] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-08 08:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23475857448239104,"note":"Value kept but may cause issues"} 
[2026-07-08 08:25:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 08:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783479170000,"timestamp_ms":1783479170000,"timestamp_seconds":1783479170,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa473d0"} 
[2026-07-08 08:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:25:46] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:25: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":114,"data_length":795,"current_offset":136} 
[2026-07-08 08:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:25:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":125142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":125142,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":125142,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":125142,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-08 08:25:46] local.INFO: GPS data processed {"connection_id":125142,"processed":0,"errors":0,"total":1} 
[2026-07-08 08:25:46] local.INFO: Acknowledgment sent {"connection_id":125142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:25:56] local.INFO: TCP Data received {"connection_id":125236,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:25:56] local.INFO: Processing buffer {"connection_id":125236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:25:56] local.INFO: IMEI packet received {"connection_id":125236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":125236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:25:57] local.INFO: TCP Data received {"connection_id":125235,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125235,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:25:57] local.INFO: Processing buffer {"connection_id":125235,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:25:57] local.INFO: IMEI packet received {"connection_id":125235,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":125235,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:25:59] local.INFO: TCP Data received {"connection_id":125235,"ip":"42.106.6.18","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-08 08:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125235,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-08 08:25:59] local.INFO: Processing buffer {"connection_id":125235,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-08 08:25:59] local.INFO: IMEI packet received {"connection_id":125235,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":125235,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:25:59] local.INFO: TCP Data received {"connection_id":125236,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:25:59] local.INFO: Processing buffer {"connection_id":125236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:25:59] local.INFO: IMEI packet received {"connection_id":125236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":125236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:26:01] local.INFO: TCP Data received {"connection_id":125235,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa54e90012d7b6e0005e76e300004015f2e..."} 
[2026-07-08 08:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa54e90012d7b6e0005e76e300004015f2e..."} 
[2026-07-08 08:26:01] local.INFO: Processing buffer {"connection_id":125235,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f3f..."} 
[2026-07-08 08:26:01] local.INFO: IMEI packet received {"connection_id":125235,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":125235,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:26:02] local.INFO: TCP Data received {"connection_id":125236,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:26:02] local.INFO: Processing buffer {"connection_id":125236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:26:02] local.INFO: IMEI packet received {"connection_id":125236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":125236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:26:02] local.INFO: TCP Data received {"connection_id":125235,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa58540012d7b674005e78938000301512e..."} 
[2026-07-08 08:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa58540012d7b674005e78938000301512e..."} 
[2026-07-08 08:26:02] local.INFO: Processing buffer {"connection_id":125235,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f3fa54e90012d7b6e0005e76e300004015f2e..."} 
[2026-07-08 08:26:02] local.INFO: Packet analysis {"connection_id":125235,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3fa5"} 
[2026-07-08 08:26:02] local.INFO: Extracted packet for processing {"connection_id":125235,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa5"} 
[2026-07-08 08:26:02] local.INFO: GPS Element Parsed {"raw_longitude":763063808,"raw_latitude":99053104,"longitude_deg":76.3063808,"latitude_deg":9.9053104,"altitude":4,"angle":351,"satellites":46,"speed":20,"hex_longitude":"2d7b6e00","hex_latitude":"05e76e30","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570676736001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103647486521901056,"note":"Value kept but may cause issues"} 
[2026-07-08 08:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895453714342909952,"note":"Value kept but may cause issues"} 
[2026-07-08 08:26:02] 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-07-08 08:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783479226000,"timestamp_ms":1783479226000,"timestamp_seconds":1783479226,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa54e90"} 
[2026-07-08 08:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-08 08:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:26: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-07-08 08:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570676736001,"66":12972,"96":206,"87":13824,"24":20,"16":103647486521901056,"45":8895453714342909952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-08 08:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570676736001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:26:02] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-08 08:26:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103647486521901056,"km_value":103647486521901.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895453714342909952,"description":"Unknown IO ID 45"} 
[2026-07-08 08:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570676736001,"power":12972,"unknown_96":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8895453714342909952}} 
[2026-07-08 08:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":125235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449694,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:26:02] local.INFO: GPS data processed {"connection_id":125235,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:26:02] local.INFO: Acknowledgment sent {"connection_id":125235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:26:02] local.INFO: Packet analysis {"connection_id":125235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa5"} 
[2026-07-08 08:26:02] local.INFO: Extracted packet for processing {"connection_id":125235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa5"} 
[2026-07-08 08:26:02] local.INFO: GPS Element Parsed {"raw_longitude":763062080,"raw_latitude":99060024,"longitude_deg":76.306208,"latitude_deg":9.9060024,"altitude":3,"angle":337,"satellites":46,"speed":14,"hex_longitude":"2d7b6740","hex_latitude":"05e78938","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570681856001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103647830119284736,"note":"Value kept but may cause issues"} 
[2026-07-08 08:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8894046339460902912,"note":"Value kept but may cause issues"} 
[2026-07-08 08:26:02] 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-07-08 08:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783479240000,"timestamp_ms":1783479240000,"timestamp_seconds":1783479240,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa58540"} 
[2026-07-08 08:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-08 08:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:26: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-07-08 08:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570681856001,"66":12982,"96":206,"87":13824,"24":14,"16":103647830119284736,"45":8894046339460902912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-08 08:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570681856001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:26:02] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-08 08:26:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103647830119284736,"km_value":103647830119284.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8894046339460902912,"description":"Unknown IO ID 45"} 
[2026-07-08 08:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570681856001,"power":12982,"unknown_96":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8894046339460902912}} 
[2026-07-08 08:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":125235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449695,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:26:02] local.INFO: GPS data processed {"connection_id":125235,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:26:02] local.INFO: Acknowledgment sent {"connection_id":125235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:26:03] local.INFO: TCP Data received {"connection_id":125236,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa5bfd8012d824200059b1680000a015e30..."} 
[2026-07-08 08:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa5bfd8012d824200059b1680000a015e30..."} 
[2026-07-08 08:26:03] local.INFO: Processing buffer {"connection_id":125236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa5bfd8012d824200059b1680000a015e30..."} 
[2026-07-08 08:26:03] local.INFO: Packet analysis {"connection_id":125236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa5"} 
[2026-07-08 08:26:03] local.INFO: Extracted packet for processing {"connection_id":125236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa5"} 
[2026-07-08 08:26:03] local.INFO: GPS Element Parsed {"raw_longitude":763511296,"raw_latitude":94049920,"longitude_deg":76.3511296,"latitude_deg":9.404992,"altitude":10,"angle":350,"satellites":48,"speed":48,"hex_longitude":"2d824200","hex_latitude":"059b1680","is_valid_coordinates":true} 
[2026-07-08 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-07-08 08:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570687232001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342455626753900544,"note":"Value kept but may cause issues"} 
[2026-07-08 08:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9058779520148666368,"note":"Value kept but may cause issues"} 
[2026-07-08 08:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783479255000,"timestamp_ms":1783479255000,"timestamp_seconds":1783479255,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa5bfd8"} 
[2026-07-08 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-07-08 08:26: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-07-08 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 08:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 08:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570687232001,"66":27658,"179":206,"85":14592,"24":48,"16":342455626753900544,"45":-9058779520148666368},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-07-08 08:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570687232001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:26:03] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-08 08:26:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 08:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342455626753900544,"km_value":342455626753900.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9058779520148666368,"description":"Unknown IO ID 45"} 
[2026-07-08 08:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570687232001,"power":27658,"unknown_179":206,"unknown_85":14592,"ignition":48,"odometer":null,"unknown_45":-9058779520148666368}} 
[2026-07-08 08:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":125236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:26:03] local.INFO: GPS data processed {"connection_id":125236,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:26:03] local.INFO: Acknowledgment sent {"connection_id":125236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:26:03] local.INFO: TCP Data received {"connection_id":125235,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa5d748012d7b620005e79898000301592f..."} 
[2026-07-08 08:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa5d748012d7b620005e79898000301592f..."} 
[2026-07-08 08:26:03] local.INFO: Processing buffer {"connection_id":125235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa5d748012d7b620005e79898000301592f..."} 
[2026-07-08 08:26:03] local.INFO: Packet analysis {"connection_id":125235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa5"} 
[2026-07-08 08:26:03] local.INFO: Extracted packet for processing {"connection_id":125235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa5"} 
[2026-07-08 08:26:03] local.INFO: GPS Element Parsed {"raw_longitude":763060736,"raw_latitude":99063960,"longitude_deg":76.3060736,"latitude_deg":9.906396,"altitude":3,"angle":345,"satellites":47,"speed":10,"hex_longitude":"2d7b6200","hex_latitude":"05e79898","is_valid_coordinates":true} 
[2026-07-08 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-07-08 08:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570685440001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103648036277714944,"note":"Value kept but may cause issues"} 
[2026-07-08 08:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892146383369877504,"note":"Value kept but may cause issues"} 
[2026-07-08 08:26:03] 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-07-08 08:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783479261000,"timestamp_ms":1783479261000,"timestamp_seconds":1783479261,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa5d748"} 
[2026-07-08 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-07-08 08:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-08 08:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 08:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:26: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-07-08 08:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570685440001,"66":13461,"96":206,"87":13824,"24":10,"16":103648036277714944,"45":8892146383369877504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-08 08:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570685440001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:26:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-08 08:26:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103648036277714944,"km_value":103648036277714.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892146383369877504,"description":"Unknown IO ID 45"} 
[2026-07-08 08:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570685440001,"power":13461,"unknown_96":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8892146383369877504}} 
[2026-07-08 08:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":125235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449697,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:26:03] local.INFO: GPS data processed {"connection_id":125235,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:26:03] local.INFO: Acknowledgment sent {"connection_id":125235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:26:20] local.INFO: TCP Data received {"connection_id":125142,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa77d28012d0bb7800702a168000900740c..."} 
[2026-07-08 08:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa77d28012d0bb7800702a168000900740c..."} 
[2026-07-08 08:26:20] local.INFO: Processing buffer {"connection_id":125142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa77d28012d0bb7800702a168000900740c..."} 
[2026-07-08 08:26:20] local.INFO: Packet analysis {"connection_id":125142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa7"} 
[2026-07-08 08:26:20] local.INFO: Extracted packet for processing {"connection_id":125142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa7"} 
[2026-07-08 08:26:20] local.INFO: GPS Element Parsed {"raw_longitude":755742592,"raw_latitude":117612904,"longitude_deg":75.5742592,"latitude_deg":11.7612904,"altitude":9,"angle":116,"satellites":12,"speed":16,"hex_longitude":"2d0bb780","hex_latitude":"0702a168","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570717952001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23476480218497024,"note":"Value kept but may cause issues"} 
[2026-07-08 08:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843580535310817280,"note":"Value kept but may cause issues"} 
[2026-07-08 08:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783479369000,"timestamp_ms":1783479369000,"timestamp_seconds":1783479369,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa77d28"} 
[2026-07-08 08:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 08:26:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":125142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":125142,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":125142,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570717952001,"66":14428,"36":206,"94":11008,"24":16,"16":23476480218497024,"45":843580535310817280},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-07-08 08:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570717952001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:26:20] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-08 08:26:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 08:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23476480218497024,"km_value":23476480218497.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":843580535310817280,"description":"Unknown IO ID 45"} 
[2026-07-08 08:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570717952001,"power":14428,"unknown_36":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":843580535310817280}} 
[2026-07-08 08:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":125142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449698,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:26:20] local.INFO: GPS data processed {"connection_id":125142,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:26:20] local.INFO: Acknowledgment sent {"connection_id":125142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:26:34] local.INFO: TCP Data received {"connection_id":125236,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa70be0012d81fcc0059c66c80006014131..."} 
[2026-07-08 08:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa70be0012d81fcc0059c66c80006014131..."} 
[2026-07-08 08:26:34] local.INFO: Processing buffer {"connection_id":125236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa70be0012d81fcc0059c66c80006014131..."} 
[2026-07-08 08:26:34] local.INFO: Packet analysis {"connection_id":125236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa7"} 
[2026-07-08 08:26:34] local.INFO: Extracted packet for processing {"connection_id":125236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa7"} 
[2026-07-08 08:26:34] local.INFO: GPS Element Parsed {"raw_longitude":763493568,"raw_latitude":94136008,"longitude_deg":76.3493568,"latitude_deg":9.4136008,"altitude":6,"angle":321,"satellites":49,"speed":17,"hex_longitude":"2d81fcc0","hex_latitude":"059c66c8","is_valid_coordinates":true} 
[2026-07-08 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-07-08 08:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570710528001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342459908836294656,"note":"Value kept but may cause issues"} 
[2026-07-08 08:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9079679037145440256,"note":"Value kept but may cause issues"} 
[2026-07-08 08:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783479340000,"timestamp_ms":1783479340000,"timestamp_seconds":1783479340,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa70be0"} 
[2026-07-08 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-07-08 08:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 08:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 08:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570710528001,"66":27713,"192":206,"85":14336,"24":17,"16":342459908836294656,"45":-9079679037145440256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,85,24,16,45]} 
[2026-07-08 08:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570710528001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:26:34] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-08 08:26:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342459908836294656,"km_value":342459908836294.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9079679037145440256,"description":"Unknown IO ID 45"} 
[2026-07-08 08:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570710528001,"power":27713,"unknown_192":206,"unknown_85":14336,"ignition":17,"odometer":null,"unknown_45":-9079679037145440256}} 
[2026-07-08 08:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":125236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:26:34] local.INFO: GPS data processed {"connection_id":125236,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:26:34] local.INFO: Acknowledgment sent {"connection_id":125236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:26:47] local.INFO: TCP Data received {"connection_id":125143,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125143,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:26:47] local.INFO: Processing buffer {"connection_id":125143,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:26:47] local.INFO: IMEI packet received {"connection_id":125143,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":125143,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:26:51] local.INFO: TCP Data received {"connection_id":125142,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa788e0012d0bbb400702a088000900560c..."} 
[2026-07-08 08:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa788e0012d0bbb400702a088000900560c..."} 
[2026-07-08 08:26:51] local.INFO: Processing buffer {"connection_id":125142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa788e0012d0bbb400702a088000900560c..."} 
[2026-07-08 08:26:51] local.INFO: Packet analysis {"connection_id":125142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa7"} 
[2026-07-08 08:26:51] local.INFO: Extracted packet for processing {"connection_id":125142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa7"} 
[2026-07-08 08:26:51] local.INFO: GPS Element Parsed {"raw_longitude":755743552,"raw_latitude":117612680,"longitude_deg":75.5743552,"latitude_deg":11.761268,"altitude":9,"angle":86,"satellites":12,"speed":14,"hex_longitude":"2d0bbb40","hex_latitude":"0702a088","is_valid_coordinates":true} 
[2026-07-08 08:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570718464001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23476531758104576,"note":"Value kept but may cause issues"} 
[2026-07-08 08:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":844284222752516096,"note":"Value kept but may cause issues"} 
[2026-07-08 08:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783479372000,"timestamp_ms":1783479372000,"timestamp_seconds":1783479372,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa788e0"} 
[2026-07-08 08:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 08:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125142,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125142,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570718464001,"66":14515,"36":206,"94":11008,"24":14,"16":23476531758104576,"45":844284222752516096},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-07-08 08:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570718464001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:26:51] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-08 08:26:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 08:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23476531758104576,"km_value":23476531758104.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":844284222752516096,"description":"Unknown IO ID 45"} 
[2026-07-08 08:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570718464001,"power":14515,"unknown_36":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":844284222752516096}} 
[2026-07-08 08:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":125142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449700,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:26:52] local.INFO: GPS data processed {"connection_id":125142,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:26:52] local.INFO: Acknowledgment sent {"connection_id":125142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:26:52] local.INFO: TCP Data received {"connection_id":125143,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125143,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:26:52] local.INFO: Processing buffer {"connection_id":125143,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:26:52] local.INFO: IMEI packet received {"connection_id":125143,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":125143,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:26:52] local.INFO: TCP Data received {"connection_id":125143,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa79c68012d7b550005e8b910000001612f..."} 
[2026-07-08 08:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa79c68012d7b550005e8b910000001612f..."} 
[2026-07-08 08:26:52] local.INFO: Processing buffer {"connection_id":125143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa79c68012d7b550005e8b910000001612f..."} 
[2026-07-08 08:26:52] local.INFO: Packet analysis {"connection_id":125143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa7"} 
[2026-07-08 08:26:52] local.INFO: Extracted packet for processing {"connection_id":125143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa7"} 
[2026-07-08 08:26:52] local.INFO: GPS Element Parsed {"raw_longitude":763057408,"raw_latitude":99137808,"longitude_deg":76.3057408,"latitude_deg":9.9137808,"altitude":0,"angle":353,"satellites":47,"speed":35,"hex_longitude":"2d7b5500","hex_latitude":"05e8b910","is_valid_coordinates":true} 
[2026-07-08 08:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570717952001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103651644050243584,"note":"Value kept but may cause issues"} 
[2026-07-08 08:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887572415015876608,"note":"Value kept but may cause issues"} 
[2026-07-08 08:26:52] 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-07-08 08:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783479377000,"timestamp_ms":1783479377000,"timestamp_seconds":1783479377,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa79c68"} 
[2026-07-08 08:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-08 08:26:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 08:26:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-08 08:26:52] local.WARNING: Large IO value detected {"io_id":63,"raw_value":2800781313,"note":"Value kept but may cause issues"} 
[2026-07-08 08:26:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298137294,"corrected_to":0} 
[2026-07-08 08:26:52] local.WARNING: Large IO value detected {"io_id":181,"raw_value":4026609019,"note":"Value kept but may cause issues"} 
[2026-07-08 08:26:52] local.WARNING: Large IO value detected {"io_id":220,"raw_value":57787444951406390,"note":"Value kept but may cause issues"} 
[2026-07-08 08:26:52] local.WARNING: Large IO value detected {"io_id":166,"raw_value":8606380182759735301,"note":"Value kept but may cause issues"} 
[2026-07-08 08:26:52] local.WARNING: Large IO value detected {"io_id":231,"raw_value":-3015159933321597440,"note":"Value kept but may cause issues"} 
[2026-07-08 08:26:52] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,156,87,24,241,157,16,62,159,74,45,128,110,3,10,66,96,61,43,86,31,64,1,240,227,63,232,4,113,205,29,181,91,48,239,50,2,112,5,27,220,166,231],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1298137294,"validated":0}]} 
[2026-07-08 08:26:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72452511988383744,"timestamp_seconds":72452511988383.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 08:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":125143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":125143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":125143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:26:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570717952001,"66":13178,"156":206,"87":13824,"24":35,"16":103651644050243584,"45":8887572415015876608},"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-07-08 08:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570717952001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:26:52] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 08:26:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103651644050243584,"km_value":103651644050243.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887572415015876608,"description":"Unknown IO ID 45"} 
[2026-07-08 08:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570717952001,"power":13178,"unknown_156":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8887572415015876608}} 
[2026-07-08 08:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":125143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449701,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:26:52] local.INFO: GPS data processed {"connection_id":125143,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:26:52] local.INFO: Acknowledgment sent {"connection_id":125143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:27:01] local.INFO: TCP Data received {"connection_id":127246,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:27:01] local.INFO: Processing buffer {"connection_id":127246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:27:01] local.INFO: IMEI packet received {"connection_id":127246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":127246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:27:03] local.INFO: TCP Data received {"connection_id":127246,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:27:03] local.INFO: Processing buffer {"connection_id":127246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:27:03] local.INFO: IMEI packet received {"connection_id":127246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":127246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:27:04] local.INFO: TCP Data received {"connection_id":127246,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa71b80012d81f840059c6bd80006014e2f..."} 
[2026-07-08 08:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa71b80012d81f840059c6bd80006014e2f..."} 
[2026-07-08 08:27:04] local.INFO: Processing buffer {"connection_id":127246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa71b80012d81f840059c6bd80006014e2f..."} 
[2026-07-08 08:27:04] local.INFO: Packet analysis {"connection_id":127246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa7"} 
[2026-07-08 08:27:04] local.INFO: Extracted packet for processing {"connection_id":127246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa7"} 
[2026-07-08 08:27:04] local.INFO: GPS Element Parsed {"raw_longitude":763492416,"raw_latitude":94137304,"longitude_deg":76.3492416,"latitude_deg":9.4137304,"altitude":6,"angle":334,"satellites":47,"speed":19,"hex_longitude":"2d81f840","hex_latitude":"059c6bd8","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570711040001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342459994735640576,"note":"Value kept but may cause issues"} 
[2026-07-08 08:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9080171618354411520,"note":"Value kept but may cause issues"} 
[2026-07-08 08:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783479344000,"timestamp_ms":1783479344000,"timestamp_seconds":1783479344,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa71b80"} 
[2026-07-08 08:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 08:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":127246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":127246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":127246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570711040001,"66":27745,"192":206,"85":14336,"24":19,"16":342459994735640576,"45":-9080171618354411520},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,85,24,16,45]} 
[2026-07-08 08:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570711040001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:27:04] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-08 08:27:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342459994735640576,"km_value":342459994735640.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9080171618354411520,"description":"Unknown IO ID 45"} 
[2026-07-08 08:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570711040001,"power":27745,"unknown_192":206,"unknown_85":14336,"ignition":19,"odometer":null,"unknown_45":-9080171618354411520}} 
[2026-07-08 08:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":127246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:27:04] local.INFO: GPS data processed {"connection_id":127246,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:27:04] local.INFO: Acknowledgment sent {"connection_id":127246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:27:07] local.INFO: TCP Data received {"connection_id":127246,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa71f68012d81f7c0059c6dc00006015a30..."} 
[2026-07-08 08:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa71f68012d81f7c0059c6dc00006015a30..."} 
[2026-07-08 08:27:07] local.INFO: Processing buffer {"connection_id":127246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa71f68012d81f7c0059c6dc00006015a30..."} 
[2026-07-08 08:27:07] local.INFO: Packet analysis {"connection_id":127246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa7"} 
[2026-07-08 08:27:07] local.INFO: Extracted packet for processing {"connection_id":127246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa7"} 
[2026-07-08 08:27:07] local.INFO: GPS Element Parsed {"raw_longitude":763492288,"raw_latitude":94137792,"longitude_deg":76.3492288,"latitude_deg":9.4137792,"altitude":6,"angle":346,"satellites":48,"speed":21,"hex_longitude":"2d81f7c0","hex_latitude":"059c6dc0","is_valid_coordinates":true} 
[2026-07-08 08:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570712064001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342460020505444352,"note":"Value kept but may cause issues"} 
[2026-07-08 08:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9081438255749277696,"note":"Value kept but may cause issues"} 
[2026-07-08 08:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783479345000,"timestamp_ms":1783479345000,"timestamp_seconds":1783479345,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa71f68"} 
[2026-07-08 08:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 08:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570712064001,"66":27669,"192":206,"85":14336,"24":21,"16":342460020505444352,"45":-9081438255749277696},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,85,24,16,45]} 
[2026-07-08 08:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570712064001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:27:07] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-08 08:27:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342460020505444352,"km_value":342460020505444.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9081438255749277696,"description":"Unknown IO ID 45"} 
[2026-07-08 08:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570712064001,"power":27669,"unknown_192":206,"unknown_85":14336,"ignition":21,"odometer":null,"unknown_45":-9081438255749277696}} 
[2026-07-08 08:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":127246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:27:07] local.INFO: GPS data processed {"connection_id":127246,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:27:07] local.INFO: Acknowledgment sent {"connection_id":127246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:27:22] local.INFO: TCP Data received {"connection_id":125142,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa86788012d0bfa800702a8a0000d002e0c..."} 
[2026-07-08 08:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa86788012d0bfa800702a8a0000d002e0c..."} 
[2026-07-08 08:27:22] local.INFO: Processing buffer {"connection_id":125142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa86788012d0bfa800702a8a0000d002e0c..."} 
[2026-07-08 08:27:22] local.INFO: Packet analysis {"connection_id":125142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa8"} 
[2026-07-08 08:27:22] local.INFO: Extracted packet for processing {"connection_id":125142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa8"} 
[2026-07-08 08:27:22] local.INFO: GPS Element Parsed {"raw_longitude":755759744,"raw_latitude":117614752,"longitude_deg":75.5759744,"latitude_deg":11.7614752,"altitude":13,"angle":46,"satellites":12,"speed":8,"hex_longitude":"2d0bfa80","hex_latitude":"0702a8a0","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570732032001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23477356391825408,"note":"Value kept but may cause issues"} 
[2026-07-08 08:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862580096238962688,"note":"Value kept but may cause issues"} 
[2026-07-08 08:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783479429000,"timestamp_ms":1783479429000,"timestamp_seconds":1783479429,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa86788"} 
[2026-07-08 08:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:27: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-07-08 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 08:27:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125142,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125142,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570732032001,"66":14428,"36":206,"94":11008,"24":8,"16":23477356391825408,"45":862580096238962688},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-07-08 08:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570732032001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:27:22] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-08 08:27:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 08:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23477356391825408,"km_value":23477356391825.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":862580096238962688,"description":"Unknown IO ID 45"} 
[2026-07-08 08:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570732032001,"power":14428,"unknown_36":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":862580096238962688}} 
[2026-07-08 08:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":125142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449704,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:27:23] local.INFO: GPS data processed {"connection_id":125142,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:27:23] local.INFO: Acknowledgment sent {"connection_id":125142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:27:24] local.INFO: TCP Data received {"connection_id":125143,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa7ea88012d7b528005e8cbc80000015d2e..."} 
[2026-07-08 08:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa7ea88012d7b528005e8cbc80000015d2e..."} 
[2026-07-08 08:27:24] local.INFO: Processing buffer {"connection_id":125143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa7ea88012d7b528005e8cbc80000015d2e..."} 
[2026-07-08 08:27:24] local.INFO: Packet analysis {"connection_id":125143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa7"} 
[2026-07-08 08:27:24] local.INFO: Extracted packet for processing {"connection_id":125143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa7"} 
[2026-07-08 08:27:24] local.INFO: GPS Element Parsed {"raw_longitude":763056768,"raw_latitude":99142600,"longitude_deg":76.3056768,"latitude_deg":9.91426,"altitude":0,"angle":349,"satellites":46,"speed":17,"hex_longitude":"2d7b5280","hex_latitude":"05e8cbc8","is_valid_coordinates":true} 
[2026-07-08 08:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570720512001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103651875978477568,"note":"Value kept but may cause issues"} 
[2026-07-08 08:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887009465064820736,"note":"Value kept but may cause issues"} 
[2026-07-08 08:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783479397000,"timestamp_ms":1783479397000,"timestamp_seconds":1783479397,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa7ea88"} 
[2026-07-08 08:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-08 08:27: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-07-08 08:27:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:27: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-07-08 08:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570720512001,"66":13243,"23":206,"87":13824,"24":17,"16":103651875978477568,"45":8887009465064820736},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,87,24,16,45]} 
[2026-07-08 08:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570720512001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:27:24] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-08 08:27:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103651875978477568,"km_value":103651875978477.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887009465064820736,"description":"Unknown IO ID 45"} 
[2026-07-08 08:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570720512001,"power":13243,"unknown_23":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8887009465064820736}} 
[2026-07-08 08:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":125143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449705,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:27:24] local.INFO: GPS data processed {"connection_id":125143,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:27:24] local.INFO: Acknowledgment sent {"connection_id":125143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:27:24] local.INFO: TCP Data received {"connection_id":125144,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125144,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:27:25] local.INFO: Processing buffer {"connection_id":125144,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:27:25] local.INFO: IMEI packet received {"connection_id":125144,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 08:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":125144,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:27:38] local.INFO: TCP Data received {"connection_id":127246,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa74a60012d81ee40059c90800007015930..."} 
[2026-07-08 08:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa74a60012d81ee40059c90800007015930..."} 
[2026-07-08 08:27:38] local.INFO: Processing buffer {"connection_id":127246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa74a60012d81ee40059c90800007015930..."} 
[2026-07-08 08:27:38] local.INFO: Packet analysis {"connection_id":127246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa7"} 
[2026-07-08 08:27:38] local.INFO: Extracted packet for processing {"connection_id":127246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa7"} 
[2026-07-08 08:27:38] local.INFO: GPS Element Parsed {"raw_longitude":763489856,"raw_latitude":94146688,"longitude_deg":76.3489856,"latitude_deg":9.4146688,"altitude":7,"angle":345,"satellites":48,"speed":42,"hex_longitude":"2d81ee40","hex_latitude":"059c9080","is_valid_coordinates":true} 
[2026-07-08 08:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570712320001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342460467182043136,"note":"Value kept but may cause issues"} 
[2026-07-08 08:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9081578993237508096,"note":"Value kept but may cause issues"} 
[2026-07-08 08:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783479356000,"timestamp_ms":1783479356000,"timestamp_seconds":1783479356,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa74a60"} 
[2026-07-08 08:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08: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-07-08 08: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":108,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-07-08 08:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":927,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570712320001,"66":27745,"193":206,"85":14336,"24":42,"16":342460467182043136,"45":-9081578993237508096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,85,24,16,45]} 
[2026-07-08 08:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570712320001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:27:38] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-08 08:27:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342460467182043136,"km_value":342460467182043.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9081578993237508096,"description":"Unknown IO ID 45"} 
[2026-07-08 08:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570712320001,"power":27745,"unknown_193":206,"unknown_85":14336,"ignition":42,"odometer":null,"unknown_45":-9081578993237508096}} 
[2026-07-08 08:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":127246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:27:38] local.INFO: GPS data processed {"connection_id":127246,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:27:38] local.INFO: Acknowledgment sent {"connection_id":127246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:27:52] local.INFO: TCP Data received {"connection_id":127248,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:27:52] local.INFO: Processing buffer {"connection_id":127248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:27:52] local.INFO: IMEI packet received {"connection_id":127248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":127248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:27:53] local.INFO: TCP Data received {"connection_id":127247,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127247,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:27:53] local.INFO: Processing buffer {"connection_id":127247,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:27:53] local.INFO: IMEI packet received {"connection_id":127247,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":127247,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:27:54] local.INFO: TCP Data received {"connection_id":127247,"ip":"42.106.6.18","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-08 08:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127247,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-08 08:27:54] local.INFO: Processing buffer {"connection_id":127247,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-08 08:27:54] local.INFO: IMEI packet received {"connection_id":127247,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":127247,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:27:57] local.INFO: TCP Data received {"connection_id":127248,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:27:57] local.INFO: Processing buffer {"connection_id":127248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:27:57] local.INFO: IMEI packet received {"connection_id":127248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":127248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:27:57] local.INFO: TCP Data received {"connection_id":125237,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125237,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:27:57] local.INFO: Processing buffer {"connection_id":125237,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:27:57] local.INFO: IMEI packet received {"connection_id":125237,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 08:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":125237,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:27:59] local.INFO: TCP Data received {"connection_id":125142,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa86b70012d0bfb000702a910000d003a0c..."} 
[2026-07-08 08:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa86b70012d0bfb000702a910000d003a0c..."} 
[2026-07-08 08:27:59] local.INFO: Processing buffer {"connection_id":125142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa86b70012d0bfb000702a910000d003a0c..."} 
[2026-07-08 08:27:59] local.INFO: Packet analysis {"connection_id":125142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa8"} 
[2026-07-08 08:27:59] local.INFO: Extracted packet for processing {"connection_id":125142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa8"} 
[2026-07-08 08:27:59] local.INFO: GPS Element Parsed {"raw_longitude":755759872,"raw_latitude":117614864,"longitude_deg":75.5759872,"latitude_deg":11.7614864,"altitude":13,"angle":58,"satellites":12,"speed":8,"hex_longitude":"2d0bfb00","hex_latitude":"0702a910","is_valid_coordinates":true} 
[2026-07-08 08:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570733824001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23477364981760000,"note":"Value kept but may cause issues"} 
[2026-07-08 08:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":863143046192603136,"note":"Value kept but may cause issues"} 
[2026-07-08 08:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783479430000,"timestamp_ms":1783479430000,"timestamp_seconds":1783479430,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa86b70"} 
[2026-07-08 08:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 08:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":125142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":125142,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":125142,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570733824001,"66":14461,"36":206,"94":11008,"24":8,"16":23477364981760000,"45":863143046192603136},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-07-08 08:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570733824001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:27:59] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-08 08:27:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 08:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23477364981760000,"km_value":23477364981760,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":863143046192603136,"description":"Unknown IO ID 45"} 
[2026-07-08 08:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570733824001,"power":14461,"unknown_36":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":863143046192603136}} 
[2026-07-08 08:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":125142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449707,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:27:59] local.INFO: GPS data processed {"connection_id":125142,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:27:59] local.INFO: Acknowledgment sent {"connection_id":125142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:28:01] local.INFO: TCP Data received {"connection_id":127247,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127247,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:28:01] local.INFO: Processing buffer {"connection_id":127247,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-08 08:28:01] local.INFO: IMEI packet received {"connection_id":127247,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":127247,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:28:01] local.INFO: TCP Data received {"connection_id":127248,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:28:01] local.INFO: Processing buffer {"connection_id":127248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:28:01] local.INFO: IMEI packet received {"connection_id":127248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":127248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:28:03] local.INFO: TCP Data received {"connection_id":127248,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa769a0012d81e680059cb3480008015c30..."} 
[2026-07-08 08:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa769a0012d81e680059cb3480008015c30..."} 
[2026-07-08 08:28:03] local.INFO: Processing buffer {"connection_id":127248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa769a0012d81e680059cb3480008015c30..."} 
[2026-07-08 08:28:03] local.INFO: Packet analysis {"connection_id":127248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa7"} 
[2026-07-08 08:28:03] local.INFO: Extracted packet for processing {"connection_id":127248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa7"} 
[2026-07-08 08:28:03] local.INFO: GPS Element Parsed {"raw_longitude":763487872,"raw_latitude":94155592,"longitude_deg":76.3487872,"latitude_deg":9.4155592,"altitude":8,"angle":348,"satellites":48,"speed":48,"hex_longitude":"2d81e680","hex_latitude":"059cb348","is_valid_coordinates":true} 
[2026-07-08 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-07-08 08:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570715136001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342460909563674624,"note":"Value kept but may cause issues"} 
[2026-07-08 08:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9084253005513981952,"note":"Value kept but may cause issues"} 
[2026-07-08 08:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783479364000,"timestamp_ms":1783479364000,"timestamp_seconds":1783479364,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa769a0"} 
[2026-07-08 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-07-08 08:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 08:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 08:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570715136001,"66":27647,"193":206,"85":14336,"24":48,"16":342460909563674624,"45":-9084253005513981952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,85,24,16,45]} 
[2026-07-08 08:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570715136001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:28:03] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-08 08:28:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342460909563674624,"km_value":342460909563674.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9084253005513981952,"description":"Unknown IO ID 45"} 
[2026-07-08 08:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570715136001,"power":27647,"unknown_193":206,"unknown_85":14336,"ignition":48,"odometer":null,"unknown_45":-9084253005513981952}} 
[2026-07-08 08:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":127248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:28:03] local.INFO: GPS data processed {"connection_id":127248,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:28:03] local.INFO: Acknowledgment sent {"connection_id":127248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:28:06] local.INFO: TCP Data received {"connection_id":127247,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa81d50012d7b4f0005e8f1a00001016229..."} 
[2026-07-08 08:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa81d50012d7b4f0005e8f1a00001016229..."} 
[2026-07-08 08:28:06] local.INFO: Processing buffer {"connection_id":127247,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f3f..."} 
[2026-07-08 08:28:06] local.INFO: IMEI packet received {"connection_id":127247,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":127247,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:28:07] local.INFO: TCP Data received {"connection_id":127247,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa84078012d7b4a4005e914e8000101632b..."} 
[2026-07-08 08:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa84078012d7b4a4005e914e8000101632b..."} 
[2026-07-08 08:28:07] local.INFO: Processing buffer {"connection_id":127247,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f3fa81d50012d7b4f0005e8f1a00001016229..."} 
[2026-07-08 08:28:07] local.INFO: Packet analysis {"connection_id":127247,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3fa8"} 
[2026-07-08 08:28:07] local.INFO: Extracted packet for processing {"connection_id":127247,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa8"} 
[2026-07-08 08:28:07] local.INFO: GPS Element Parsed {"raw_longitude":763055872,"raw_latitude":99152288,"longitude_deg":76.3055872,"latitude_deg":9.9152288,"altitude":1,"angle":354,"satellites":41,"speed":37,"hex_longitude":"2d7b4f00","hex_latitude":"05e8f1a0","is_valid_coordinates":true} 
[2026-07-08 08:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570725632001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103652348424880128,"note":"Value kept but may cause issues"} 
[2026-07-08 08:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886305777624270848,"note":"Value kept but may cause issues"} 
[2026-07-08 08:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783479410000,"timestamp_ms":1783479410000,"timestamp_seconds":1783479410,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa81d50"} 
[2026-07-08 08:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-08 08:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570725632001,"66":12765,"23":206,"87":13824,"24":37,"16":103652348424880128,"45":8886305777624270848},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,87,24,16,45]} 
[2026-07-08 08:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570725632001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:28:07] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-08 08:28:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103652348424880128,"km_value":103652348424880.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886305777624270848,"description":"Unknown IO ID 45"} 
[2026-07-08 08:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570725632001,"power":12765,"unknown_23":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8886305777624270848}} 
[2026-07-08 08:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":127247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449709,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:28:07] local.INFO: GPS data processed {"connection_id":127247,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:28:07] local.INFO: Acknowledgment sent {"connection_id":127247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:28:07] local.INFO: Packet analysis {"connection_id":127247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa8"} 
[2026-07-08 08:28:07] local.INFO: Extracted packet for processing {"connection_id":127247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa8"} 
[2026-07-08 08:28:07] local.INFO: GPS Element Parsed {"raw_longitude":763054656,"raw_latitude":99161320,"longitude_deg":76.3054656,"latitude_deg":9.916132,"altitude":1,"angle":355,"satellites":43,"speed":40,"hex_longitude":"2d7b4a40","hex_latitude":"05e914e8","is_valid_coordinates":true} 
[2026-07-08 08:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570728960001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103652790806511616,"note":"Value kept but may cause issues"} 
[2026-07-08 08:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885320615208263680,"note":"Value kept but may cause issues"} 
[2026-07-08 08:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783479419000,"timestamp_ms":1783479419000,"timestamp_seconds":1783479419,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa84078"} 
[2026-07-08 08:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-08 08:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570728960001,"66":13493,"23":206,"87":13824,"24":40,"16":103652790806511616,"45":8885320615208263680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,87,24,16,45]} 
[2026-07-08 08:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570728960001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:28:07] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-08 08:28:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103652790806511616,"km_value":103652790806511.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885320615208263680,"description":"Unknown IO ID 45"} 
[2026-07-08 08:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570728960001,"power":13493,"unknown_23":206,"unknown_87":13824,"ignition":40,"odometer":null,"unknown_45":8885320615208263680}} 
[2026-07-08 08:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":127247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449710,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:28:07] local.INFO: GPS data processed {"connection_id":127247,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:28:07] local.INFO: Acknowledgment sent {"connection_id":127247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:28:08] local.INFO: TCP Data received {"connection_id":127247,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa86788012d7b484005e92ec80001000b2a..."} 
[2026-07-08 08:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa86788012d7b484005e92ec80001000b2a..."} 
[2026-07-08 08:28:08] local.INFO: Processing buffer {"connection_id":127247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa86788012d7b484005e92ec80001000b2a..."} 
[2026-07-08 08:28:08] local.INFO: Packet analysis {"connection_id":127247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa8"} 
[2026-07-08 08:28:08] local.INFO: Extracted packet for processing {"connection_id":127247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa8"} 
[2026-07-08 08:28:08] local.INFO: GPS Element Parsed {"raw_longitude":763054144,"raw_latitude":99167944,"longitude_deg":76.3054144,"latitude_deg":9.9167944,"altitude":1,"angle":11,"satellites":42,"speed":8,"hex_longitude":"2d7b4840","hex_latitude":"05e92ec8","is_valid_coordinates":true} 
[2026-07-08 08:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570731264001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103653112929058816,"note":"Value kept but may cause issues"} 
[2026-07-08 08:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883983609071200256,"note":"Value kept but may cause issues"} 
[2026-07-08 08:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783479429000,"timestamp_ms":1783479429000,"timestamp_seconds":1783479429,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa86788"} 
[2026-07-08 08:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-08 08:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":127247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":127247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":127247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:28: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-07-08 08:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570731264001,"66":13037,"23":206,"87":13824,"24":8,"16":103653112929058816,"45":8883983609071200256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,87,24,16,45]} 
[2026-07-08 08:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570731264001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:28:08] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-08 08:28:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103653112929058816,"km_value":103653112929058.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883983609071200256,"description":"Unknown IO ID 45"} 
[2026-07-08 08:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570731264001,"power":13037,"unknown_23":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8883983609071200256}} 
[2026-07-08 08:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":127247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449711,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:28:08] local.INFO: GPS data processed {"connection_id":127247,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:28:08] local.INFO: Acknowledgment sent {"connection_id":127247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:28:30] local.INFO: TCP Data received {"connection_id":125142,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa86f58012d0bfc000702a958000e00490c..."} 
[2026-07-08 08:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa86f58012d0bfc000702a958000e00490c..."} 
[2026-07-08 08:28:30] local.INFO: Processing buffer {"connection_id":125142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa86f58012d0bfc000702a958000e00490c..."} 
[2026-07-08 08:28:30] local.INFO: Packet analysis {"connection_id":125142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa8"} 
[2026-07-08 08:28:30] local.INFO: Extracted packet for processing {"connection_id":125142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa8"} 
[2026-07-08 08:28:30] local.INFO: GPS Element Parsed {"raw_longitude":755760128,"raw_latitude":117614936,"longitude_deg":75.5760128,"latitude_deg":11.7614936,"altitude":14,"angle":73,"satellites":12,"speed":9,"hex_longitude":"2d0bfc00","hex_latitude":"0702a958","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570734080001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23477377866661888,"note":"Value kept but may cause issues"} 
[2026-07-08 08:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":863283783680987136,"note":"Value kept but may cause issues"} 
[2026-07-08 08:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783479431000,"timestamp_ms":1783479431000,"timestamp_seconds":1783479431,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa86f58"} 
[2026-07-08 08:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-08 08:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":125142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":125142,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":125142,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570734080001,"66":14461,"36":206,"94":11008,"24":9,"16":23477377866661888,"45":863283783680987136},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-07-08 08:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570734080001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:28:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-08 08:28:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 08:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23477377866661888,"km_value":23477377866661.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":863283783680987136,"description":"Unknown IO ID 45"} 
[2026-07-08 08:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570734080001,"power":14461,"unknown_36":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":863283783680987136}} 
[2026-07-08 08:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":125142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449712,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:28:31] local.INFO: GPS data processed {"connection_id":125142,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:28:31] local.INFO: Acknowledgment sent {"connection_id":125142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:28:34] local.INFO: TCP Data received {"connection_id":127248,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa8b990012d81a940059dfcd00008016131..."} 
[2026-07-08 08:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa8b990012d81a940059dfcd00008016131..."} 
[2026-07-08 08:28:34] local.INFO: Processing buffer {"connection_id":127248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa8b990012d81a940059dfcd00008016131..."} 
[2026-07-08 08:28:34] local.INFO: Packet analysis {"connection_id":127248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa8"} 
[2026-07-08 08:28:34] local.INFO: Extracted packet for processing {"connection_id":127248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa8"} 
[2026-07-08 08:28:34] local.INFO: GPS Element Parsed {"raw_longitude":763472192,"raw_latitude":94239952,"longitude_deg":76.3472192,"latitude_deg":9.4239952,"altitude":8,"angle":353,"satellites":49,"speed":27,"hex_longitude":"2d81a940","hex_latitude":"059dfcd0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 08:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570738688001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342465088566853632,"note":"Value kept but may cause issues"} 
[2026-07-08 08:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9103745147627659264,"note":"Value kept but may cause issues"} 
[2026-07-08 08:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783479450000,"timestamp_ms":1783479450000,"timestamp_seconds":1783479450,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa8b990"} 
[2026-07-08 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-07-08 08:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 08:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 08:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570738688001,"66":27691,"178":206,"85":14336,"24":27,"16":342465088566853632,"45":-9103745147627659264},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,45]} 
[2026-07-08 08:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570738688001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:28:34] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-08 08:28:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342465088566853632,"km_value":342465088566853.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9103745147627659264,"description":"Unknown IO ID 45"} 
[2026-07-08 08:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570738688001,"power":27691,"unknown_178":206,"unknown_85":14336,"ignition":27,"odometer":null,"unknown_45":-9103745147627659264}} 
[2026-07-08 08:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":127248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:28:34] local.INFO: GPS data processed {"connection_id":127248,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:28:34] local.INFO: Acknowledgment sent {"connection_id":127248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:28:56] local.INFO: TCP Data received {"connection_id":125238,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:28:56] local.INFO: Processing buffer {"connection_id":125238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:28:56] local.INFO: IMEI packet received {"connection_id":125238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":125238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:28:57] local.INFO: TCP Data received {"connection_id":125238,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:28:57] local.INFO: Processing buffer {"connection_id":125238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:28:57] local.INFO: IMEI packet received {"connection_id":125238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":125238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:28:57] local.INFO: TCP Data received {"connection_id":125239,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125239,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:28:57] local.INFO: Processing buffer {"connection_id":125239,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:28:57] local.INFO: IMEI packet received {"connection_id":125239,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":125239,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:29:00] local.INFO: TCP Data received {"connection_id":125239,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125239,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:29:00] local.INFO: Processing buffer {"connection_id":125239,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:29:00] local.INFO: IMEI packet received {"connection_id":125239,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":125239,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:29:01] local.INFO: TCP Data received {"connection_id":125239,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa87ef8012d7b4ac005e92fd8000100542b..."} 
[2026-07-08 08:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa87ef8012d7b4ac005e92fd8000100542b..."} 
[2026-07-08 08:29:01] local.INFO: Processing buffer {"connection_id":125239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa87ef8012d7b4ac005e92fd8000100542b..."} 
[2026-07-08 08:29:01] local.INFO: Packet analysis {"connection_id":125239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa8"} 
[2026-07-08 08:29:01] local.INFO: Extracted packet for processing {"connection_id":125239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa8"} 
[2026-07-08 08:29:01] local.INFO: GPS Element Parsed {"raw_longitude":763054784,"raw_latitude":99168216,"longitude_deg":76.3054784,"latitude_deg":9.9168216,"altitude":1,"angle":84,"satellites":43,"speed":5,"hex_longitude":"2d7b4ac0","hex_latitude":"05e92fd8","is_valid_coordinates":true} 
[2026-07-08 08:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570733824001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103653155878731776,"note":"Value kept but may cause issues"} 
[2026-07-08 08:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883420659119474688,"note":"Value kept but may cause issues"} 
[2026-07-08 08:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783479435000,"timestamp_ms":1783479435000,"timestamp_seconds":1783479435,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa87ef8"} 
[2026-07-08 08:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-08 08:29:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:29: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-07-08 08:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570733824001,"66":13091,"23":206,"87":13824,"24":5,"16":103653155878731776,"45":8883420659119474688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,87,24,16,45]} 
[2026-07-08 08:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570733824001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:29:01] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-08 08:29:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103653155878731776,"km_value":103653155878731.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883420659119474688,"description":"Unknown IO ID 45"} 
[2026-07-08 08:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570733824001,"power":13091,"unknown_23":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8883420659119474688}} 
[2026-07-08 08:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":125239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449714,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:29:01] local.INFO: GPS data processed {"connection_id":125239,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:29:01] local.INFO: Acknowledgment sent {"connection_id":125239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:29:01] local.INFO: TCP Data received {"connection_id":125238,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:29:01] local.INFO: Processing buffer {"connection_id":125238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:29:01] local.INFO: IMEI packet received {"connection_id":125238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":125238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:29:02] local.INFO: TCP Data received {"connection_id":125142,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa8a220012d0c08800702ac48001100560c..."} 
[2026-07-08 08:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa8a220012d0c08800702ac48001100560c..."} 
[2026-07-08 08:29:02] local.INFO: Processing buffer {"connection_id":125142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa8a220012d0c08800702ac48001100560c..."} 
[2026-07-08 08:29:02] local.INFO: Packet analysis {"connection_id":125142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa8"} 
[2026-07-08 08:29:02] local.INFO: Extracted packet for processing {"connection_id":125142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa8"} 
[2026-07-08 08:29:02] local.INFO: GPS Element Parsed {"raw_longitude":755763328,"raw_latitude":117615688,"longitude_deg":75.5763328,"latitude_deg":11.7615688,"altitude":17,"angle":86,"satellites":12,"speed":12,"hex_longitude":"2d0c0880","hex_latitude":"0702ac48","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570734336001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23477532485484544,"note":"Value kept but may cause issues"} 
[2026-07-08 08:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":863565258657716224,"note":"Value kept but may cause issues"} 
[2026-07-08 08:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783479444000,"timestamp_ms":1783479444000,"timestamp_seconds":1783479444,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa8a220"} 
[2026-07-08 08:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:29: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-07-08 08: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-08 08:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125142,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125142,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570734336001,"66":14439,"36":206,"94":11008,"24":12,"16":23477532485484544,"45":863565258657716224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-07-08 08:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570734336001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:29:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-08 08:29:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 08:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23477532485484544,"km_value":23477532485484.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":863565258657716224,"description":"Unknown IO ID 45"} 
[2026-07-08 08:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570734336001,"power":14439,"unknown_36":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":863565258657716224}} 
[2026-07-08 08:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":125142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449715,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:29:02] local.INFO: GPS data processed {"connection_id":125142,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:29:02] local.INFO: Acknowledgment sent {"connection_id":125142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:29:02] local.INFO: TCP Data received {"connection_id":125238,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa8e870012d81a540059e21200009016031..."} 
[2026-07-08 08:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa8e870012d81a540059e21200009016031..."} 
[2026-07-08 08:29:02] local.INFO: Processing buffer {"connection_id":125238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa8e870012d81a540059e21200009016031..."} 
[2026-07-08 08:29:02] local.INFO: Packet analysis {"connection_id":125238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa8"} 
[2026-07-08 08:29:02] local.INFO: Extracted packet for processing {"connection_id":125238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa8"} 
[2026-07-08 08:29:02] local.INFO: GPS Element Parsed {"raw_longitude":763471168,"raw_latitude":94249248,"longitude_deg":76.3471168,"latitude_deg":9.4249248,"altitude":9,"angle":352,"satellites":49,"speed":35,"hex_longitude":"2d81a540","hex_latitude":"059e2120","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570739200001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342465543833387008,"note":"Value kept but may cause issues"} 
[2026-07-08 08:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9103674778883141632,"note":"Value kept but may cause issues"} 
[2026-07-08 08:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783479462000,"timestamp_ms":1783479462000,"timestamp_seconds":1783479462,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa8e870"} 
[2026-07-08 08:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:29:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 08:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570739200001,"66":27800,"178":206,"85":14336,"24":35,"16":342465543833387008,"45":-9103674778883141632},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,45]} 
[2026-07-08 08:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570739200001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:29:02] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-08 08:29:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342465543833387008,"km_value":342465543833387.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9103674778883141632,"description":"Unknown IO ID 45"} 
[2026-07-08 08:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570739200001,"power":27800,"unknown_178":206,"unknown_85":14336,"ignition":35,"odometer":null,"unknown_45":-9103674778883141632}} 
[2026-07-08 08:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":125238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:29:02] local.INFO: GPS data processed {"connection_id":125238,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:29:02] local.INFO: Acknowledgment sent {"connection_id":125238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:29:05] local.INFO: TCP Data received {"connection_id":125238,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa90b98012d819e40059e44a80008015a2e..."} 
[2026-07-08 08:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa90b98012d819e40059e44a80008015a2e..."} 
[2026-07-08 08:29:05] local.INFO: Processing buffer {"connection_id":125238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa90b98012d819e40059e44a80008015a2e..."} 
[2026-07-08 08:29:05] local.INFO: Packet analysis {"connection_id":125238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa9"} 
[2026-07-08 08:29:05] local.INFO: Extracted packet for processing {"connection_id":125238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa9"} 
[2026-07-08 08:29:05] local.INFO: GPS Element Parsed {"raw_longitude":763469376,"raw_latitude":94258344,"longitude_deg":76.3469376,"latitude_deg":9.4258344,"altitude":8,"angle":346,"satellites":46,"speed":43,"hex_longitude":"2d819e40","hex_latitude":"059e44a8","is_valid_coordinates":true} 
[2026-07-08 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-07-08 08:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570742272001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342465990509985792,"note":"Value kept but may cause issues"} 
[2026-07-08 08:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9104800678787604480,"note":"Value kept but may cause issues"} 
[2026-07-08 08:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783479471000,"timestamp_ms":1783479471000,"timestamp_seconds":1783479471,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa90b98"} 
[2026-07-08 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-07-08 08:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 08:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 08:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570742272001,"66":27876,"178":206,"85":14336,"24":43,"16":342465990509985792,"45":-9104800678787604480},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,45]} 
[2026-07-08 08:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570742272001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:29:05] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-08 08:29:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342465990509985792,"km_value":342465990509985.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9104800678787604480,"description":"Unknown IO ID 45"} 
[2026-07-08 08:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570742272001,"power":27876,"unknown_178":206,"unknown_85":14336,"ignition":43,"odometer":null,"unknown_45":-9104800678787604480}} 
[2026-07-08 08:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":125238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:29:05] local.INFO: GPS data processed {"connection_id":125238,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:29:05] local.INFO: Acknowledgment sent {"connection_id":125238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:29:33] local.INFO: TCP Data received {"connection_id":125239,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa8add8012d7b5e4005e930a0000000602b..."} 
[2026-07-08 08:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa8add8012d7b5e4005e930a0000000602b..."} 
[2026-07-08 08:29:33] local.INFO: Processing buffer {"connection_id":125239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa8add8012d7b5e4005e930a0000000602b..."} 
[2026-07-08 08:29:33] local.INFO: Packet analysis {"connection_id":125239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa8"} 
[2026-07-08 08:29:33] local.INFO: Extracted packet for processing {"connection_id":125239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa8"} 
[2026-07-08 08:29:33] local.INFO: GPS Element Parsed {"raw_longitude":763059776,"raw_latitude":99168416,"longitude_deg":76.3059776,"latitude_deg":9.9168416,"altitude":0,"angle":96,"satellites":43,"speed":9,"hex_longitude":"2d7b5e40","hex_latitude":"05e930a0","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570735360001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103653392101933056,"note":"Value kept but may cause issues"} 
[2026-07-08 08:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884124346561320960,"note":"Value kept but may cause issues"} 
[2026-07-08 08:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783479447000,"timestamp_ms":1783479447000,"timestamp_seconds":1783479447,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa8add8"} 
[2026-07-08 08:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:29: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-07-08 08: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-08 08:29:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08: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-07-08 08:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570735360001,"66":12939,"23":206,"87":13824,"24":9,"16":103653392101933056,"45":8884124346561320960},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,87,24,16,45]} 
[2026-07-08 08:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570735360001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:29:33] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-08 08:29:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103653392101933056,"km_value":103653392101933.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884124346561320960,"description":"Unknown IO ID 45"} 
[2026-07-08 08:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570735360001,"power":12939,"unknown_23":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8884124346561320960}} 
[2026-07-08 08:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":125239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449718,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:29:33] local.INFO: GPS data processed {"connection_id":125239,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:29:33] local.INFO: Acknowledgment sent {"connection_id":125239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:29:47] local.INFO: TCP Data received {"connection_id":125146,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125146,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:29:47] local.INFO: Processing buffer {"connection_id":125146,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:29:47] local.INFO: IMEI packet received {"connection_id":125146,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":125146,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:29:50] local.INFO: TCP Data received {"connection_id":125240,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125240,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:29:50] local.INFO: Processing buffer {"connection_id":125240,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:29:50] local.INFO: IMEI packet received {"connection_id":125240,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 08:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":125240,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:29:51] local.INFO: TCP Data received {"connection_id":125146,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125146,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:29:51] local.INFO: Processing buffer {"connection_id":125146,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:29:51] local.INFO: IMEI packet received {"connection_id":125146,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":125146,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:29:51] local.INFO: TCP Data received {"connection_id":125146,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3faa72f8012d7beb4005e960c0000300502a..."} 
[2026-07-08 08:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3faa72f8012d7beb4005e960c0000300502a..."} 
[2026-07-08 08:29:51] local.INFO: Processing buffer {"connection_id":125146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3faa72f8012d7beb4005e960c0000300502a..."} 
[2026-07-08 08:29:51] local.INFO: Packet analysis {"connection_id":125146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3faa"} 
[2026-07-08 08:29:51] local.INFO: Extracted packet for processing {"connection_id":125146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3faa"} 
[2026-07-08 08:29:51] local.INFO: GPS Element Parsed {"raw_longitude":763095872,"raw_latitude":99180736,"longitude_deg":76.3095872,"latitude_deg":9.9180736,"altitude":3,"angle":80,"satellites":42,"speed":14,"hex_longitude":"2d7beb40","hex_latitude":"05e960c0","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570762752001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103655247527804928,"note":"Value kept but may cause issues"} 
[2026-07-08 08:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922967893350313984,"note":"Value kept but may cause issues"} 
[2026-07-08 08:29:51] 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-07-08 08:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783479563000,"timestamp_ms":1783479563000,"timestamp_seconds":1783479563,"priority":1,"record_length":96,"hex_timestamp":"0000019f3faa72f8"} 
[2026-07-08 08:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-08 08:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:29: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-07-08 08:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570762752001,"66":13406,"156":206,"87":13824,"24":14,"16":103655247527804928,"45":8922967893350313984},"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-07-08 08:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570762752001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:29:51] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 08:29:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103655247527804928,"km_value":103655247527804.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922967893350313984,"description":"Unknown IO ID 45"} 
[2026-07-08 08:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570762752001,"power":13406,"unknown_156":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8922967893350313984}} 
[2026-07-08 08:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":125146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449719,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:29:51] local.INFO: GPS data processed {"connection_id":125146,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:29:51] local.INFO: Acknowledgment sent {"connection_id":125146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:29:55] local.INFO: TCP Data received {"connection_id":125240,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125240,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:29:55] local.INFO: Processing buffer {"connection_id":125240,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:29:55] local.INFO: IMEI packet received {"connection_id":125240,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":125240,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:29:55] local.INFO: TCP Data received {"connection_id":125240,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa8a9f0012d0c0ac00702aca80011004a0c..."} 
[2026-07-08 08:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa8a9f0012d0c0ac00702aca80011004a0c..."} 
[2026-07-08 08:29:55] local.INFO: Processing buffer {"connection_id":125240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa8a9f0012d0c0ac00702aca80011004a0c..."} 
[2026-07-08 08:29:55] local.INFO: Packet analysis {"connection_id":125240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa8"} 
[2026-07-08 08:29:55] local.INFO: Extracted packet for processing {"connection_id":125240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa8"} 
[2026-07-08 08:29:55] local.INFO: GPS Element Parsed {"raw_longitude":755763904,"raw_latitude":117615784,"longitude_deg":75.5763904,"latitude_deg":11.7615784,"altitude":17,"angle":74,"satellites":12,"speed":10,"hex_longitude":"2d0c0ac0","hex_latitude":"0702aca8","is_valid_coordinates":true} 
[2026-07-08 08:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570737664001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23477562550255616,"note":"Value kept but may cause issues"} 
[2026-07-08 08:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":867083695866791936,"note":"Value kept but may cause issues"} 
[2026-07-08 08:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783479446000,"timestamp_ms":1783479446000,"timestamp_seconds":1783479446,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa8a9f0"} 
[2026-07-08 08:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-08 08:29:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:29:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":125240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":125240,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":125240,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570737664001,"66":14439,"36":206,"94":11008,"24":10,"16":23477562550255616,"45":867083695866791936},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-07-08 08:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570737664001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:29:55] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-08 08:29:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 08:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23477562550255616,"km_value":23477562550255.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":867083695866791936,"description":"Unknown IO ID 45"} 
[2026-07-08 08:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570737664001,"power":14439,"unknown_36":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":867083695866791936}} 
[2026-07-08 08:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":125240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449720,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:29:56] local.INFO: GPS data processed {"connection_id":125240,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:29:56] local.INFO: Acknowledgment sent {"connection_id":125240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:29:56] local.INFO: TCP Data received {"connection_id":125240,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa8f810012d0c18800702aff0001300530c..."} 
[2026-07-08 08:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa8f810012d0c18800702aff0001300530c..."} 
[2026-07-08 08:29:56] local.INFO: Processing buffer {"connection_id":125240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa8f810012d0c18800702aff0001300530c..."} 
[2026-07-08 08:29:56] local.INFO: Packet analysis {"connection_id":125240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa8"} 
[2026-07-08 08:29:56] local.INFO: Extracted packet for processing {"connection_id":125240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa8"} 
[2026-07-08 08:29:56] local.INFO: GPS Element Parsed {"raw_longitude":755767424,"raw_latitude":117616624,"longitude_deg":75.5767424,"latitude_deg":11.7616624,"altitude":19,"angle":83,"satellites":12,"speed":13,"hex_longitude":"2d0c1880","hex_latitude":"0702aff0","is_valid_coordinates":true} 
[2026-07-08 08:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570738176001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23477747233849344,"note":"Value kept but may cause issues"} 
[2026-07-08 08:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":867717014564415488,"note":"Value kept but may cause issues"} 
[2026-07-08 08:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783479466000,"timestamp_ms":1783479466000,"timestamp_seconds":1783479466,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa8f810"} 
[2026-07-08 08:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-08 08:29:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:29:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":125240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":125240,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":125240,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570738176001,"66":14537,"37":206,"94":11008,"24":13,"16":23477747233849344,"45":867717014564415488},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-08 08:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570738176001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:29:56] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-08 08:29:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 08:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23477747233849344,"km_value":23477747233849.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":867717014564415488,"description":"Unknown IO ID 45"} 
[2026-07-08 08:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570738176001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":867717014564415488}} 
[2026-07-08 08:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":125240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449721,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:29:56] local.INFO: GPS data processed {"connection_id":125240,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:29:56] local.INFO: Acknowledgment sent {"connection_id":125240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:29:58] local.INFO: TCP Data received {"connection_id":125147,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:29:58] local.INFO: Processing buffer {"connection_id":125147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:29:58] local.INFO: IMEI packet received {"connection_id":125147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":125147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:29:59] local.INFO: TCP Data received {"connection_id":125147,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:29:59] local.INFO: Processing buffer {"connection_id":125147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:29:59] local.INFO: IMEI packet received {"connection_id":125147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":125147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:30:00] local.INFO: TCP Data received {"connection_id":125147,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa9c718012d816900059f16e00007015931..."} 
[2026-07-08 08:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa9c718012d816900059f16e00007015931..."} 
[2026-07-08 08:30:00] local.INFO: Processing buffer {"connection_id":125147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa9c718012d816900059f16e00007015931..."} 
[2026-07-08 08:30:00] local.INFO: Packet analysis {"connection_id":125147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa9"} 
[2026-07-08 08:30:00] local.INFO: Extracted packet for processing {"connection_id":125147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa9"} 
[2026-07-08 08:30:00] local.INFO: GPS Element Parsed {"raw_longitude":763455744,"raw_latitude":94312160,"longitude_deg":76.3455744,"latitude_deg":9.431216,"altitude":7,"angle":345,"satellites":49,"speed":23,"hex_longitude":"2d816900","hex_latitude":"059f16e0","is_valid_coordinates":true} 
[2026-07-08 08:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570756608001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342468713519251456,"note":"Value kept but may cause issues"} 
[2026-07-08 08:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9121548439885922304,"note":"Value kept but may cause issues"} 
[2026-07-08 08:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783479519000,"timestamp_ms":1783479519000,"timestamp_seconds":1783479519,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa9c718"} 
[2026-07-08 08:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:30: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 08:30:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:30:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570756608001,"66":27658,"5":206,"85":14336,"24":23,"16":342468713519251456,"45":-9121548439885922304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-07-08 08:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570756608001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:30:00] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-08 08:30:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342468713519251456,"km_value":342468713519251.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9121548439885922304,"description":"Unknown IO ID 45"} 
[2026-07-08 08:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570756608001,"power":27658,"unknown_5":206,"unknown_85":14336,"ignition":23,"odometer":null,"unknown_45":-9121548439885922304}} 
[2026-07-08 08:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":125147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:30:00] local.INFO: GPS data processed {"connection_id":125147,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:30:00] local.INFO: Acknowledgment sent {"connection_id":125147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:30:01] local.INFO: TCP Data received {"connection_id":125147,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa9f5f8012d816200059f3aa80008015e2f..."} 
[2026-07-08 08:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa9f5f8012d816200059f3aa80008015e2f..."} 
[2026-07-08 08:30:01] local.INFO: Processing buffer {"connection_id":125147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa9f5f8012d816200059f3aa80008015e2f..."} 
[2026-07-08 08:30:01] local.INFO: Packet analysis {"connection_id":125147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa9"} 
[2026-07-08 08:30:01] local.INFO: Extracted packet for processing {"connection_id":125147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa9"} 
[2026-07-08 08:30:01] local.INFO: GPS Element Parsed {"raw_longitude":763453952,"raw_latitude":94321320,"longitude_deg":76.3453952,"latitude_deg":9.432132,"altitude":8,"angle":350,"satellites":47,"speed":33,"hex_longitude":"2d816200","hex_latitude":"059f3aa8","is_valid_coordinates":true} 
[2026-07-08 08:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570756864001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342469164490817536,"note":"Value kept but may cause issues"} 
[2026-07-08 08:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9121759546118316032,"note":"Value kept but may cause issues"} 
[2026-07-08 08:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783479531000,"timestamp_ms":1783479531000,"timestamp_seconds":1783479531,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa9f5f8"} 
[2026-07-08 08:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 08:30:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:30:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:30:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570756864001,"66":27658,"5":206,"85":14336,"24":33,"16":342469164490817536,"45":-9121759546118316032},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-07-08 08:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570756864001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:30:01] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-08 08:30:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342469164490817536,"km_value":342469164490817.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9121759546118316032,"description":"Unknown IO ID 45"} 
[2026-07-08 08:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570756864001,"power":27658,"unknown_5":206,"unknown_85":14336,"ignition":33,"odometer":null,"unknown_45":-9121759546118316032}} 
[2026-07-08 08:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":125147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:30:01] local.INFO: GPS data processed {"connection_id":125147,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:30:01] local.INFO: Acknowledgment sent {"connection_id":125147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:30:22] local.INFO: TCP Data received {"connection_id":125146,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3faa9a08012d7bfd0005e964d0000700442e..."} 
[2026-07-08 08:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3faa9a08012d7bfd0005e964d0000700442e..."} 
[2026-07-08 08:30:22] local.INFO: Processing buffer {"connection_id":125146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3faa9a08012d7bfd0005e964d0000700442e..."} 
[2026-07-08 08:30:22] local.INFO: Packet analysis {"connection_id":125146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3faa"} 
[2026-07-08 08:30:22] local.INFO: Extracted packet for processing {"connection_id":125146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3faa"} 
[2026-07-08 08:30:22] local.INFO: GPS Element Parsed {"raw_longitude":763100416,"raw_latitude":99181776,"longitude_deg":76.3100416,"latitude_deg":9.9181776,"altitude":7,"angle":68,"satellites":46,"speed":17,"hex_longitude":"2d7bfd00","hex_latitude":"05e964d0","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570768128001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103655470866104320,"note":"Value kept but may cause issues"} 
[2026-07-08 08:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929301080326586368,"note":"Value kept but may cause issues"} 
[2026-07-08 08:30:22] 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-07-08 08:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783479573000,"timestamp_ms":1783479573000,"timestamp_seconds":1783479573,"priority":1,"record_length":96,"hex_timestamp":"0000019f3faa9a08"} 
[2026-07-08 08:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-08 08:30:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:30: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-07-08 08:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570768128001,"66":13363,"156":206,"87":13824,"24":17,"16":103655470866104320,"45":8929301080326586368},"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-07-08 08:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570768128001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:30:22] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 08:30:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103655470866104320,"km_value":103655470866104.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929301080326586368,"description":"Unknown IO ID 45"} 
[2026-07-08 08:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570768128001,"power":13363,"unknown_156":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8929301080326586368}} 
[2026-07-08 08:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":125146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449724,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:30:22] local.INFO: GPS data processed {"connection_id":125146,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:30:22] local.INFO: Acknowledgment sent {"connection_id":125146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:30:27] local.INFO: TCP Data received {"connection_id":125240,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fa907b0012d0c1e000702afd8001200610c..."} 
[2026-07-08 08:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fa907b0012d0c1e000702afd8001200610c..."} 
[2026-07-08 08:30:27] local.INFO: Processing buffer {"connection_id":125240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fa907b0012d0c1e000702afd8001200610c..."} 
[2026-07-08 08:30:27] local.INFO: Packet analysis {"connection_id":125240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fa9"} 
[2026-07-08 08:30:27] local.INFO: Extracted packet for processing {"connection_id":125240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fa9"} 
[2026-07-08 08:30:27] local.INFO: GPS Element Parsed {"raw_longitude":755768832,"raw_latitude":117616600,"longitude_deg":75.5768832,"latitude_deg":11.76166,"altitude":18,"angle":97,"satellites":12,"speed":11,"hex_longitude":"2d0c1e00","hex_latitude":"0702afd8","is_valid_coordinates":true} 
[2026-07-08 08:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570743296001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23477811658358784,"note":"Value kept but may cause issues"} 
[2026-07-08 08:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":871587295494402048,"note":"Value kept but may cause issues"} 
[2026-07-08 08:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783479470000,"timestamp_ms":1783479470000,"timestamp_seconds":1783479470,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fa907b0"} 
[2026-07-08 08:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-08 08:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":125240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":125240,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":125240,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570743296001,"66":14450,"37":206,"94":11008,"24":11,"16":23477811658358784,"45":871587295494402048},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-08 08:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570743296001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:30:27] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-08 08:30:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 08:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23477811658358784,"km_value":23477811658358.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":871587295494402048,"description":"Unknown IO ID 45"} 
[2026-07-08 08:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570743296001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":871587295494402048}} 
[2026-07-08 08:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":125240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449725,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:30:27] local.INFO: GPS data processed {"connection_id":125240,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:30:27] local.INFO: Acknowledgment sent {"connection_id":125240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:30:38] local.INFO: TCP Data received {"connection_id":125147,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3faa1d08012d815b40059f5d680008015c2f..."} 
[2026-07-08 08:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3faa1d08012d815b40059f5d680008015c2f..."} 
[2026-07-08 08:30:38] local.INFO: Processing buffer {"connection_id":125147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3faa1d08012d815b40059f5d680008015c2f..."} 
[2026-07-08 08:30:38] local.INFO: Packet analysis {"connection_id":125147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3faa"} 
[2026-07-08 08:30:38] local.INFO: Extracted packet for processing {"connection_id":125147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3faa"} 
[2026-07-08 08:30:38] local.INFO: GPS Element Parsed {"raw_longitude":763452224,"raw_latitude":94330216,"longitude_deg":76.3452224,"latitude_deg":9.4330216,"altitude":8,"angle":348,"satellites":47,"speed":38,"hex_longitude":"2d815b40","hex_latitude":"059f5d68","is_valid_coordinates":true} 
[2026-07-08 08:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570759936001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342469606872449024,"note":"Value kept but may cause issues"} 
[2026-07-08 08:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9123729870952945664,"note":"Value kept but may cause issues"} 
[2026-07-08 08:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783479541000,"timestamp_ms":1783479541000,"timestamp_seconds":1783479541,"priority":1,"record_length":96,"hex_timestamp":"0000019f3faa1d08"} 
[2026-07-08 08:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 08:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570759936001,"66":27745,"5":206,"85":14336,"24":38,"16":342469606872449024,"45":-9123729870952945664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-07-08 08:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570759936001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:30:38] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-08 08:30:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342469606872449024,"km_value":342469606872449.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9123729870952945664,"description":"Unknown IO ID 45"} 
[2026-07-08 08:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570759936001,"power":27745,"unknown_5":206,"unknown_85":14336,"ignition":38,"odometer":null,"unknown_45":-9123729870952945664}} 
[2026-07-08 08:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":125147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:30:38] local.INFO: GPS data processed {"connection_id":125147,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:30:38] local.INFO: Acknowledgment sent {"connection_id":125147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:30:42] local.INFO: TCP Data received {"connection_id":125980,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125980,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:30:42] local.INFO: Processing buffer {"connection_id":125980,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:30:42] local.INFO: IMEI packet received {"connection_id":125980,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 08:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":125980,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:30:44] local.INFO: TCP Data received {"connection_id":125980,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125980,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:30:44] local.INFO: Processing buffer {"connection_id":125980,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:30:44] local.INFO: IMEI packet received {"connection_id":125980,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":125980,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:30:45] local.INFO: TCP Data received {"connection_id":125980,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125980,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:30:45] local.INFO: Processing buffer {"connection_id":125980,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:30:45] local.INFO: IMEI packet received {"connection_id":125980,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":125980,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:30:47] local.INFO: TCP Data received {"connection_id":127249,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127249,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:30:47] local.INFO: Processing buffer {"connection_id":127249,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:30:47] local.INFO: IMEI packet received {"connection_id":127249,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":127249,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:30:48] local.INFO: TCP Data received {"connection_id":125980,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125980,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:30:48] local.INFO: Processing buffer {"connection_id":125980,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:30:48] local.INFO: IMEI packet received {"connection_id":125980,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":125980,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:30:49] local.INFO: TCP Data received {"connection_id":125980,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3faba3a8012d0c29400702afc8001901531f..."} 
[2026-07-08 08:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3faba3a8012d0c29400702afc8001901531f..."} 
[2026-07-08 08:30:49] local.INFO: Processing buffer {"connection_id":125980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3faba3a8012d0c29400702afc8001901531f..."} 
[2026-07-08 08:30:49] local.INFO: Packet analysis {"connection_id":125980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fab"} 
[2026-07-08 08:30:49] local.INFO: Extracted packet for processing {"connection_id":125980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fab"} 
[2026-07-08 08:30:49] local.INFO: GPS Element Parsed {"raw_longitude":755771712,"raw_latitude":117616584,"longitude_deg":75.5771712,"latitude_deg":11.7616584,"altitude":25,"angle":339,"satellites":31,"speed":5,"hex_longitude":"2d0c2940","hex_latitude":"0702afc8","is_valid_coordinates":true} 
[2026-07-08 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-07-08 08:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570787840001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23477987752017920,"note":"Value kept but may cause issues"} 
[2026-07-08 08:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876302001354258432,"note":"Value kept but may cause issues"} 
[2026-07-08 08:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783479641000,"timestamp_ms":1783479641000,"timestamp_seconds":1783479641,"priority":1,"record_length":96,"hex_timestamp":"0000019f3faba3a8"} 
[2026-07-08 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-07-08 08:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":57,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 08:30:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1356,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 08:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":125980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":125980,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":125980,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:30:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570787840001,"66":14689,"37":206,"94":11008,"24":5,"16":23477987752017920,"45":876302001354258432},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-08 08:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570787840001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:30:49] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-08 08:30:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 08:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23477987752017920,"km_value":23477987752017.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":876302001354258432,"description":"Unknown IO ID 45"} 
[2026-07-08 08:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570787840001,"power":14689,"unknown_37":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":876302001354258432}} 
[2026-07-08 08:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":125980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449727,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:30:49] local.INFO: GPS data processed {"connection_id":125980,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:30:49] local.INFO: Acknowledgment sent {"connection_id":125980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:30:49] local.INFO: TCP Data received {"connection_id":127249,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127249,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:30:49] local.INFO: Processing buffer {"connection_id":127249,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:30:49] local.INFO: IMEI packet received {"connection_id":127249,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":127249,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:30:56] local.INFO: TCP Data received {"connection_id":127249,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127249,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:30:56] local.INFO: Processing buffer {"connection_id":127249,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:30:56] local.INFO: IMEI packet received {"connection_id":127249,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":127249,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:30:56] local.INFO: TCP Data received {"connection_id":125982,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:30:56] local.INFO: Processing buffer {"connection_id":125982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:30:56] local.INFO: IMEI packet received {"connection_id":125982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":125982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:30:57] local.INFO: TCP Data received {"connection_id":127249,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3faad888012d7c1fc005e97230000900452f..."} 
[2026-07-08 08:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3faad888012d7c1fc005e97230000900452f..."} 
[2026-07-08 08:30:57] local.INFO: Processing buffer {"connection_id":127249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3faad888012d7c1fc005e97230000900452f..."} 
[2026-07-08 08:30:57] local.INFO: Packet analysis {"connection_id":127249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3faa"} 
[2026-07-08 08:30:57] local.INFO: Extracted packet for processing {"connection_id":127249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3faa"} 
[2026-07-08 08:30:57] local.INFO: GPS Element Parsed {"raw_longitude":763109312,"raw_latitude":99185200,"longitude_deg":76.3109312,"latitude_deg":9.91852,"altitude":9,"angle":69,"satellites":47,"speed":25,"hex_longitude":"2d7c1fc0","hex_latitude":"05e97230","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570770688001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103655926132637696,"note":"Value kept but may cause issues"} 
[2026-07-08 08:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8934297261163466752,"note":"Value kept but may cause issues"} 
[2026-07-08 08:30: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-07-08 08:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783479589000,"timestamp_ms":1783479589000,"timestamp_seconds":1783479589,"priority":1,"record_length":96,"hex_timestamp":"0000019f3faad888"} 
[2026-07-08 08:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:30: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-07-08 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-08 08:30: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-07-08 08: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-07-08 08:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":127249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":127249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":127249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:30: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-07-08 08:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570770688001,"66":13243,"156":206,"87":13824,"24":25,"16":103655926132637696,"45":8934297261163466752},"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-07-08 08:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570770688001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:30:57] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 08:30:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103655926132637696,"km_value":103655926132637.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8934297261163466752,"description":"Unknown IO ID 45"} 
[2026-07-08 08:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570770688001,"power":13243,"unknown_156":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8934297261163466752}} 
[2026-07-08 08:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":127249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449728,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:30:57] local.INFO: GPS data processed {"connection_id":127249,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:30:57] local.INFO: Acknowledgment sent {"connection_id":127249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:30:59] local.INFO: TCP Data received {"connection_id":125982,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:30:59] local.INFO: Processing buffer {"connection_id":125982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:30:59] local.INFO: IMEI packet received {"connection_id":125982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":125982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:31:00] local.INFO: TCP Data received {"connection_id":125982,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3faa4418012d8153c0059f81080009015d2d..."} 
[2026-07-08 08:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3faa4418012d8153c0059f81080009015d2d..."} 
[2026-07-08 08:31:00] local.INFO: Processing buffer {"connection_id":125982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3faa4418012d8153c0059f81080009015d2d..."} 
[2026-07-08 08:31:00] local.INFO: Packet analysis {"connection_id":125982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3faa"} 
[2026-07-08 08:31:00] local.INFO: Extracted packet for processing {"connection_id":125982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3faa"} 
[2026-07-08 08:31:00] local.INFO: GPS Element Parsed {"raw_longitude":763450304,"raw_latitude":94339336,"longitude_deg":76.3450304,"latitude_deg":9.4339336,"altitude":9,"angle":349,"satellites":45,"speed":35,"hex_longitude":"2d8153c0","hex_latitude":"059f8108","is_valid_coordinates":true} 
[2026-07-08 08:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570762496001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342470057844015104,"note":"Value kept but may cause issues"} 
[2026-07-08 08:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9125629827043465216,"note":"Value kept but may cause issues"} 
[2026-07-08 08:31:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783479551000,"timestamp_ms":1783479551000,"timestamp_seconds":1783479551,"priority":1,"record_length":96,"hex_timestamp":"0000019f3faa4418"} 
[2026-07-08 08:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:31: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 08:31:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:31:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570762496001,"66":27691,"5":206,"85":14336,"24":35,"16":342470057844015104,"45":-9125629827043465216},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-07-08 08:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570762496001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:31:00] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-08 08:31:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342470057844015104,"km_value":342470057844015.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9125629827043465216,"description":"Unknown IO ID 45"} 
[2026-07-08 08:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570762496001,"power":27691,"unknown_5":206,"unknown_85":14336,"ignition":35,"odometer":null,"unknown_45":-9125629827043465216}} 
[2026-07-08 08:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":125982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:31:00] local.INFO: GPS data processed {"connection_id":125982,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:31:00] local.INFO: Acknowledgment sent {"connection_id":125982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:31:20] local.INFO: TCP Data received {"connection_id":125980,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fabab78012d0c28000702b140001901471f..."} 
[2026-07-08 08:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fabab78012d0c28000702b140001901471f..."} 
[2026-07-08 08:31:20] local.INFO: Processing buffer {"connection_id":125980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fabab78012d0c28000702b140001901471f..."} 
[2026-07-08 08:31:20] local.INFO: Packet analysis {"connection_id":125980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fab"} 
[2026-07-08 08:31:20] local.INFO: Extracted packet for processing {"connection_id":125980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fab"} 
[2026-07-08 08:31:20] local.INFO: GPS Element Parsed {"raw_longitude":755771392,"raw_latitude":117616960,"longitude_deg":75.5771392,"latitude_deg":11.761696,"altitude":25,"angle":327,"satellites":31,"speed":11,"hex_longitude":"2d0c2800","hex_latitude":"0702b140","is_valid_coordinates":true} 
[2026-07-08 08:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570788096001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23478013521821696,"note":"Value kept but may cause issues"} 
[2026-07-08 08:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876302001354295296,"note":"Value kept but may cause issues"} 
[2026-07-08 08:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783479643000,"timestamp_ms":1783479643000,"timestamp_seconds":1783479643,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fabab78"} 
[2026-07-08 08:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:31: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-07-08 08:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 08:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1356,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":125980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":125980,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":125980,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570788096001,"66":14352,"37":206,"94":11008,"24":11,"16":23478013521821696,"45":876302001354295296},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-08 08:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570788096001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:31:20] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-08 08:31:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 08:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23478013521821696,"km_value":23478013521821.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":876302001354295296,"description":"Unknown IO ID 45"} 
[2026-07-08 08:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570788096001,"power":14352,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":876302001354295296}} 
[2026-07-08 08:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":125980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449730,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:31:20] local.INFO: GPS data processed {"connection_id":125980,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:31:20] local.INFO: Acknowledgment sent {"connection_id":125980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:31:28] local.INFO: TCP Data received {"connection_id":127249,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fab26a8012d7c390005e97ac0000200452b..."} 
[2026-07-08 08:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fab26a8012d7c390005e97ac0000200452b..."} 
[2026-07-08 08:31:28] local.INFO: Processing buffer {"connection_id":127249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fab26a8012d7c390005e97ac0000200452b..."} 
[2026-07-08 08:31:28] local.INFO: Packet analysis {"connection_id":127249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fab"} 
[2026-07-08 08:31:28] local.INFO: Extracted packet for processing {"connection_id":127249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fab"} 
[2026-07-08 08:31:28] local.INFO: GPS Element Parsed {"raw_longitude":763115776,"raw_latitude":99187392,"longitude_deg":76.3115776,"latitude_deg":9.9187392,"altitude":2,"angle":69,"satellites":43,"speed":10,"hex_longitude":"2d7c3900","hex_latitude":"05e97ac0","is_valid_coordinates":true} 
[2026-07-08 08:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570774784001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103656252550152192,"note":"Value kept but may cause issues"} 
[2026-07-08 08:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944078516605038592,"note":"Value kept but may cause issues"} 
[2026-07-08 08:31:28] 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-07-08 08:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783479609000,"timestamp_ms":1783479609000,"timestamp_seconds":1783479609,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fab26a8"} 
[2026-07-08 08:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:31:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-08 08:31:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:31:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":127249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":127249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":127249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:31: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-07-08 08:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570774784001,"66":13254,"156":206,"87":13824,"24":10,"16":103656252550152192,"45":8944078516605038592},"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-07-08 08:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570774784001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:31:28] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 08:31:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103656252550152192,"km_value":103656252550152.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944078516605038592,"description":"Unknown IO ID 45"} 
[2026-07-08 08:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570774784001,"power":13254,"unknown_156":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8944078516605038592}} 
[2026-07-08 08:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":127249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449731,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:31:28] local.INFO: GPS data processed {"connection_id":127249,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:31:28] local.INFO: Acknowledgment sent {"connection_id":127249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:31:31] local.INFO: TCP Data received {"connection_id":125982,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3faa6b28012d814d00059fa348000a015c2f..."} 
[2026-07-08 08:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3faa6b28012d814d00059fa348000a015c2f..."} 
[2026-07-08 08:31:31] local.INFO: Processing buffer {"connection_id":125982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3faa6b28012d814d00059fa348000a015c2f..."} 
[2026-07-08 08:31:31] local.INFO: Packet analysis {"connection_id":125982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3faa"} 
[2026-07-08 08:31:31] local.INFO: Extracted packet for processing {"connection_id":125982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3faa"} 
[2026-07-08 08:31:31] local.INFO: GPS Element Parsed {"raw_longitude":763448576,"raw_latitude":94348104,"longitude_deg":76.3448576,"latitude_deg":9.4348104,"altitude":10,"angle":348,"satellites":47,"speed":35,"hex_longitude":"2d814d00","hex_latitude":"059fa348","is_valid_coordinates":true} 
[2026-07-08 08:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570765056001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342470491635712000,"note":"Value kept but may cause issues"} 
[2026-07-08 08:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9127740889366460416,"note":"Value kept but may cause issues"} 
[2026-07-08 08:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783479561000,"timestamp_ms":1783479561000,"timestamp_seconds":1783479561,"priority":1,"record_length":96,"hex_timestamp":"0000019f3faa6b28"} 
[2026-07-08 08:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:31: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-07-08 08:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 08:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":125982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":125982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":125982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:31: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-07-08 08:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570765056001,"66":27745,"5":206,"85":14336,"24":35,"16":342470491635712000,"45":-9127740889366460416},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-07-08 08:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570765056001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:31:31] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-08 08:31:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342470491635712000,"km_value":342470491635712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9127740889366460416,"description":"Unknown IO ID 45"} 
[2026-07-08 08:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570765056001,"power":27745,"unknown_5":206,"unknown_85":14336,"ignition":35,"odometer":null,"unknown_45":-9127740889366460416}} 
[2026-07-08 08:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":125982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:31:31] local.INFO: GPS data processed {"connection_id":125982,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:31:31] local.INFO: Acknowledgment sent {"connection_id":125982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:31:45] local.INFO: TCP Data received {"connection_id":125241,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125241,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:31:45] local.INFO: Processing buffer {"connection_id":125241,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:31:45] local.INFO: IMEI packet received {"connection_id":125241,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 08:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":125241,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:31:47] local.INFO: TCP Data received {"connection_id":127250,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127250,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:31:47] local.INFO: Processing buffer {"connection_id":127250,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:31:47] local.INFO: IMEI packet received {"connection_id":127250,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":127250,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:31:51] local.INFO: TCP Data received {"connection_id":125241,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125241,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:31:51] local.INFO: Processing buffer {"connection_id":125241,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:31:51] local.INFO: IMEI packet received {"connection_id":125241,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":125241,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:31:52] local.INFO: TCP Data received {"connection_id":125241,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fabbb18012d0c24800702b758001901531f..."} 
[2026-07-08 08:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fabbb18012d0c24800702b758001901531f..."} 
[2026-07-08 08:31:52] local.INFO: Processing buffer {"connection_id":125241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fabbb18012d0c24800702b758001901531f..."} 
[2026-07-08 08:31:52] local.INFO: Packet analysis {"connection_id":125241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fab"} 
[2026-07-08 08:31:52] local.INFO: Extracted packet for processing {"connection_id":125241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fab"} 
[2026-07-08 08:31:52] local.INFO: GPS Element Parsed {"raw_longitude":755770496,"raw_latitude":117618520,"longitude_deg":75.5770496,"latitude_deg":11.761852,"altitude":25,"angle":339,"satellites":31,"speed":21,"hex_longitude":"2d0c2480","hex_latitude":"0702b758","is_valid_coordinates":true} 
[2026-07-08 08:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570788608001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23478099421167616,"note":"Value kept but may cause issues"} 
[2026-07-08 08:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875950157633503232,"note":"Value kept but may cause issues"} 
[2026-07-08 08:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783479647000,"timestamp_ms":1783479647000,"timestamp_seconds":1783479647,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fabbb18"} 
[2026-07-08 08:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-08 08:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733138432,"note":"Value kept but may cause issues"} 
[2026-07-08 08:31:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 08:31:52] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-08 08:31:52] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503957872115712,"note":"Value kept but may cause issues"} 
[2026-07-08 08:31:52] local.WARNING: Large IO value detected {"io_id":63,"raw_value":2878349313,"note":"Value kept but may cause issues"} 
[2026-07-08 08:31:52] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-08 08:31:52] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18632641885330213,"note":"Value kept but may cause issues"} 
[2026-07-08 08:31:52] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4323719529365831936,"note":"Value kept but may cause issues"} 
[2026-07-08 08:31:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1529151694,"corrected_to":0} 
[2026-07-08 08:31:52] local.WARNING: Large IO value detected {"io_id":40,"raw_value":84737327486141101,"note":"Value kept but may cause issues"} 
[2026-07-08 08:31:52] local.WARNING: Large IO value detected {"io_id":144,"raw_value":5067035432189952,"note":"Value kept but may cause issues"} 
[2026-07-08 08:31:52] local.WARNING: Large IO value detected {"io_id":12,"raw_value":2774225078543450130,"note":"Value kept but may cause issues"} 
[2026-07-08 08:31:52] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,37,94,24,241,157,16,105,159,163,45,64,175,25,31,10,66,151,1,240,103,227,63,2,4,113,205,62,239,56,83,7,18,206,40,144,12],"length":628,"final_offset":758,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1529151694,"validated":0}]} 
[2026-07-08 08:31:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1801799524395188224,"timestamp_seconds":1801799524395188.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 08:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":125241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":125241,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":125241,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:31:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570788608001,"66":14439,"37":206,"94":11008,"24":21,"16":23478099421167616,"45":875950157633503232},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-08 08:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570788608001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:31:52] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-08 08:31:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 08:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23478099421167616,"km_value":23478099421167.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":875950157633503232,"description":"Unknown IO ID 45"} 
[2026-07-08 08:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570788608001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":21,"odometer":null,"unknown_45":875950157633503232}} 
[2026-07-08 08:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":125241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449733,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:31:52] local.INFO: GPS data processed {"connection_id":125241,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:31:52] local.INFO: Acknowledgment sent {"connection_id":125241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:31:52] local.INFO: TCP Data received {"connection_id":127250,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127250,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:31:52] local.INFO: Processing buffer {"connection_id":127250,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:31:52] local.INFO: IMEI packet received {"connection_id":127250,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":127250,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:31:53] local.INFO: TCP Data received {"connection_id":127250,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fab70e0012d7c5ac005e987b0000400412a..."} 
[2026-07-08 08:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fab70e0012d7c5ac005e987b0000400412a..."} 
[2026-07-08 08:31:53] local.INFO: Processing buffer {"connection_id":127250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fab70e0012d7c5ac005e987b0000400412a..."} 
[2026-07-08 08:31:53] local.INFO: Packet analysis {"connection_id":127250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fab"} 
[2026-07-08 08:31:53] local.INFO: Extracted packet for processing {"connection_id":127250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fab"} 
[2026-07-08 08:31:53] local.INFO: GPS Element Parsed {"raw_longitude":763124416,"raw_latitude":99190704,"longitude_deg":76.3124416,"latitude_deg":9.9190704,"altitude":4,"angle":65,"satellites":42,"speed":18,"hex_longitude":"2d7c5ac0","hex_latitude":"05e987b0","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570779904001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103656694931783680,"note":"Value kept but may cause issues"} 
[2026-07-08 08:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951185759767543808,"note":"Value kept but may cause issues"} 
[2026-07-08 08:31:53] 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-07-08 08:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783479628000,"timestamp_ms":1783479628000,"timestamp_seconds":1783479628,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fab70e0"} 
[2026-07-08 08:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:31:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-08 08:31:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":127250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":127250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":127250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:31:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570779904001,"66":13102,"156":206,"87":13824,"24":18,"16":103656694931783680,"45":8951185759767543808},"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-07-08 08:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570779904001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:31:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 08:31:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103656694931783680,"km_value":103656694931783.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951185759767543808,"description":"Unknown IO ID 45"} 
[2026-07-08 08:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570779904001,"power":13102,"unknown_156":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8951185759767543808}} 
[2026-07-08 08:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":127250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449734,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:31:53] local.INFO: GPS data processed {"connection_id":127250,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:31:53] local.INFO: Acknowledgment sent {"connection_id":127250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:31:57] local.INFO: TCP Data received {"connection_id":127251,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:31:57] local.INFO: Processing buffer {"connection_id":127251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:31:57] local.INFO: IMEI packet received {"connection_id":127251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":127251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:31:57] local.INFO: TCP Data received {"connection_id":127251,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:31:57] local.INFO: Processing buffer {"connection_id":127251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:31:57] local.INFO: IMEI packet received {"connection_id":127251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":127251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:32:01] local.INFO: TCP Data received {"connection_id":127251,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:32:01] local.INFO: Processing buffer {"connection_id":127251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:32:01] local.INFO: IMEI packet received {"connection_id":127251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":127251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:32:02] local.INFO: TCP Data received {"connection_id":127251,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fabf5b0012d80f9c005a132200009015c2a..."} 
[2026-07-08 08:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fabf5b0012d80f9c005a132200009015c2a..."} 
[2026-07-08 08:32:02] local.INFO: Processing buffer {"connection_id":127251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fabf5b0012d80f9c005a132200009015c2a..."} 
[2026-07-08 08:32:02] local.INFO: Packet analysis {"connection_id":127251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fab"} 
[2026-07-08 08:32:02] local.INFO: Extracted packet for processing {"connection_id":127251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fab"} 
[2026-07-08 08:32:02] local.INFO: GPS Element Parsed {"raw_longitude":763427264,"raw_latitude":94450208,"longitude_deg":76.3427264,"latitude_deg":9.4450208,"altitude":9,"angle":348,"satellites":42,"speed":40,"hex_longitude":"2d80f9c0","hex_latitude":"05a13220","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570791168001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342475546812219392,"note":"Value kept but may cause issues"} 
[2026-07-08 08:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9150892206174892032,"note":"Value kept but may cause issues"} 
[2026-07-08 08:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783479662000,"timestamp_ms":1783479662000,"timestamp_seconds":1783479662,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fabf5b0"} 
[2026-07-08 08:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:32: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-07-08 08: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 08:32:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570791168001,"66":27974,"82":206,"85":14336,"24":40,"16":342475546812219392,"45":-9150892206174892032},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-08 08:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570791168001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:32:02] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-08 08:32:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342475546812219392,"km_value":342475546812219.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9150892206174892032,"description":"Unknown IO ID 45"} 
[2026-07-08 08:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570791168001,"power":27974,"unknown_82":206,"unknown_85":14336,"ignition":40,"odometer":null,"unknown_45":-9150892206174892032}} 
[2026-07-08 08:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":127251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:32:02] local.INFO: GPS data processed {"connection_id":127251,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:32:02] local.INFO: Acknowledgment sent {"connection_id":127251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:32:24] local.INFO: TCP Data received {"connection_id":127250,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fad1e90012d7ccb0005e9bd18000900752b..."} 
[2026-07-08 08:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fad1e90012d7ccb0005e9bd18000900752b..."} 
[2026-07-08 08:32:24] local.INFO: Processing buffer {"connection_id":127250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fad1e90012d7ccb0005e9bd18000900752b..."} 
[2026-07-08 08:32:24] local.INFO: Packet analysis {"connection_id":127250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fad"} 
[2026-07-08 08:32:24] local.INFO: Extracted packet for processing {"connection_id":127250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fad"} 
[2026-07-08 08:32:24] local.INFO: GPS Element Parsed {"raw_longitude":763153152,"raw_latitude":99204376,"longitude_deg":76.3153152,"latitude_deg":9.9204376,"altitude":9,"angle":117,"satellites":43,"speed":14,"hex_longitude":"2d7ccb00","hex_latitude":"05e9bd18","is_valid_coordinates":true} 
[2026-07-08 08:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570812672001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103658537472753664,"note":"Value kept but may cause issues"} 
[2026-07-08 08:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8991858893906616320,"note":"Value kept but may cause issues"} 
[2026-07-08 08:32:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783479738000,"timestamp_ms":1783479738000,"timestamp_seconds":1783479738,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fad1e90"} 
[2026-07-08 08:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:32: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-07-08 08:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-08 08:32:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:32:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":127250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":127250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":127250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:32: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-07-08 08:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570812672001,"66":12809,"154":206,"87":13824,"24":14,"16":103658537472753664,"45":8991858893906616320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-07-08 08:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570812672001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:32:24] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-08 08:32:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103658537472753664,"km_value":103658537472753.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8991858893906616320,"description":"Unknown IO ID 45"} 
[2026-07-08 08:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570812672001,"power":12809,"unknown_154":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8991858893906616320}} 
[2026-07-08 08:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":127250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449736,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:32:24] local.INFO: GPS data processed {"connection_id":127250,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:32:24] local.INFO: Acknowledgment sent {"connection_id":127250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:32:25] local.INFO: TCP Data received {"connection_id":125241,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fad1aa8012d0c4d800703c9d80017002720..."} 
[2026-07-08 08:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fad1aa8012d0c4d800703c9d80017002720..."} 
[2026-07-08 08:32:25] local.INFO: Processing buffer {"connection_id":125241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fad1aa8012d0c4d800703c9d80017002720..."} 
[2026-07-08 08:32:25] local.INFO: Packet analysis {"connection_id":125241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fad"} 
[2026-07-08 08:32:25] local.INFO: Extracted packet for processing {"connection_id":125241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fad"} 
[2026-07-08 08:32:25] local.INFO: GPS Element Parsed {"raw_longitude":755780992,"raw_latitude":117688792,"longitude_deg":75.5780992,"latitude_deg":11.7688792,"altitude":23,"angle":39,"satellites":32,"speed":26,"hex_longitude":"2d0c4d80","hex_latitude":"0703c9d8","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570812160001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23482020726308864,"note":"Value kept but may cause issues"} 
[2026-07-08 08:32:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885520306859831296,"note":"Value kept but may cause issues"} 
[2026-07-08 08:32:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783479737000,"timestamp_ms":1783479737000,"timestamp_seconds":1783479737,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fad1aa8"} 
[2026-07-08 08:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:32: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-07-08 08: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-07-08 08:32:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":125241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":125241,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":125241,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:32:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570812160001,"66":14428,"37":206,"94":11008,"24":26,"16":23482020726308864,"45":885520306859831296},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-08 08:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570812160001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:32:25] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-08 08:32:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 08:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23482020726308864,"km_value":23482020726308.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:32:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":885520306859831296,"description":"Unknown IO ID 45"} 
[2026-07-08 08:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570812160001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":26,"odometer":null,"unknown_45":885520306859831296}} 
[2026-07-08 08:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":125241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449737,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:32:25] local.INFO: GPS data processed {"connection_id":125241,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:32:25] local.INFO: Acknowledgment sent {"connection_id":125241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:32:33] local.INFO: TCP Data received {"connection_id":127251,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fac18d8012d80f2c005a155a80009015d2d..."} 
[2026-07-08 08:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fac18d8012d80f2c005a155a80009015d2d..."} 
[2026-07-08 08:32:33] local.INFO: Processing buffer {"connection_id":127251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fac18d8012d80f2c005a155a80009015d2d..."} 
[2026-07-08 08:32:33] local.INFO: Packet analysis {"connection_id":127251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fac"} 
[2026-07-08 08:32:33] local.INFO: Extracted packet for processing {"connection_id":127251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fac"} 
[2026-07-08 08:32:33] local.INFO: GPS Element Parsed {"raw_longitude":763425472,"raw_latitude":94459304,"longitude_deg":76.3425472,"latitude_deg":9.4459304,"altitude":9,"angle":349,"satellites":45,"speed":42,"hex_longitude":"2d80f2c0","hex_latitude":"05a155a8","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570793472001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342475997783785472,"note":"Value kept but may cause issues"} 
[2026-07-08 08:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153073637242036224,"note":"Value kept but may cause issues"} 
[2026-07-08 08:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783479671000,"timestamp_ms":1783479671000,"timestamp_seconds":1783479671,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fac18d8"} 
[2026-07-08 08:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-08 08:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570793472001,"66":27745,"82":206,"85":14336,"24":42,"16":342475997783785472,"45":-9153073637242036224},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-08 08:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570793472001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:32:33] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-08 08:32:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342475997783785472,"km_value":342475997783785.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153073637242036224,"description":"Unknown IO ID 45"} 
[2026-07-08 08:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570793472001,"power":27745,"unknown_82":206,"unknown_85":14336,"ignition":42,"odometer":null,"unknown_45":-9153073637242036224}} 
[2026-07-08 08:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":127251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:32:33] local.INFO: GPS data processed {"connection_id":127251,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:32:33] local.INFO: Acknowledgment sent {"connection_id":127251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:32:44] local.INFO: TCP Data received {"connection_id":127253,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127253,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:32:44] local.INFO: Processing buffer {"connection_id":127253,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:32:44] local.INFO: IMEI packet received {"connection_id":127253,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 08:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":127253,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:32:45] local.INFO: TCP Data received {"connection_id":127253,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127253,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:32:45] local.INFO: Processing buffer {"connection_id":127253,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:32:45] local.INFO: IMEI packet received {"connection_id":127253,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":127253,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:32:47] local.INFO: TCP Data received {"connection_id":127254,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127254,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:32:47] local.INFO: Processing buffer {"connection_id":127254,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:32:47] local.INFO: IMEI packet received {"connection_id":127254,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":127254,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:32:50] local.INFO: TCP Data received {"connection_id":127253,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127253,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:32:50] local.INFO: Processing buffer {"connection_id":127253,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:32:50] local.INFO: IMEI packet received {"connection_id":127253,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":127253,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:32:51] local.INFO: TCP Data received {"connection_id":127253,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fad2278012d0c4f800703ce380018001320..."} 
[2026-07-08 08:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fad2278012d0c4f800703ce380018001320..."} 
[2026-07-08 08:32:51] local.INFO: Processing buffer {"connection_id":127253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fad2278012d0c4f800703ce380018001320..."} 
[2026-07-08 08:32:51] local.INFO: Packet analysis {"connection_id":127253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fad"} 
[2026-07-08 08:32:51] local.INFO: Extracted packet for processing {"connection_id":127253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fad"} 
[2026-07-08 08:32:51] local.INFO: GPS Element Parsed {"raw_longitude":755781504,"raw_latitude":117689912,"longitude_deg":75.5781504,"latitude_deg":11.7689912,"altitude":24,"angle":19,"satellites":32,"speed":24,"hex_longitude":"2d0c4f80","hex_latitude":"0703ce38","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570812672001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23482076560883712,"note":"Value kept but may cause issues"} 
[2026-07-08 08:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886505469278541824,"note":"Value kept but may cause issues"} 
[2026-07-08 08:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783479739000,"timestamp_ms":1783479739000,"timestamp_seconds":1783479739,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fad2278"} 
[2026-07-08 08:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 08:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127253,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127253,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570812672001,"66":14439,"37":206,"94":11008,"24":24,"16":23482076560883712,"45":886505469278541824},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-08 08:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570812672001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:32:51] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-08 08:32:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 08:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23482076560883712,"km_value":23482076560883.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":886505469278541824,"description":"Unknown IO ID 45"} 
[2026-07-08 08:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570812672001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":24,"odometer":null,"unknown_45":886505469278541824}} 
[2026-07-08 08:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":127253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449739,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:32:51] local.INFO: GPS data processed {"connection_id":127253,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:32:51] local.INFO: Acknowledgment sent {"connection_id":127253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:32:52] local.INFO: TCP Data received {"connection_id":127254,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127254,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:32:52] local.INFO: Processing buffer {"connection_id":127254,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:32:52] local.INFO: IMEI packet received {"connection_id":127254,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":127254,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:32:53] local.INFO: TCP Data received {"connection_id":127254,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fad2278012d7ccc4005e9bc380009008e2a..."} 
[2026-07-08 08:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fad2278012d7ccc4005e9bc380009008e2a..."} 
[2026-07-08 08:32:53] local.INFO: Processing buffer {"connection_id":127254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fad2278012d7ccc4005e9bc380009008e2a..."} 
[2026-07-08 08:32:53] local.INFO: Packet analysis {"connection_id":127254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fad"} 
[2026-07-08 08:32:53] local.INFO: Extracted packet for processing {"connection_id":127254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fad"} 
[2026-07-08 08:32:53] local.INFO: GPS Element Parsed {"raw_longitude":763153472,"raw_latitude":99204152,"longitude_deg":76.3153472,"latitude_deg":9.9204152,"altitude":9,"angle":142,"satellites":42,"speed":13,"hex_longitude":"2d7ccc40","hex_latitude":"05e9bc38","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570812928001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103658554652622848,"note":"Value kept but may cause issues"} 
[2026-07-08 08:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992281106371647488,"note":"Value kept but may cause issues"} 
[2026-07-08 08:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783479739000,"timestamp_ms":1783479739000,"timestamp_seconds":1783479739,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fad2278"} 
[2026-07-08 08:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-08 08:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1152921504774620160,"note":"Value kept but may cause issues"} 
[2026-07-08 08:32:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 08:32:53] local.WARNING: Large IO value detected {"io_id":68,"raw_value":3003121664,"note":"Value kept but may cause issues"} 
[2026-07-08 08:32:53] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-08 08:32:53] local.WARNING: Large IO value detected {"io_id":63,"raw_value":-6013959162969680704,"note":"Value kept but may cause issues"} 
[2026-07-08 08:32:53] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3207069704,"note":"Value kept but may cause issues"} 
[2026-07-08 08:32:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1469710542,"corrected_to":0} 
[2026-07-08 08:32:53] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422295,"note":"Value kept but may cause issues"} 
[2026-07-08 08:32:53] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1605322160774033622,"note":"Value kept but may cause issues"} 
[2026-07-08 08:32:53] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-5332036223764476329,"note":"Value kept but may cause issues"} 
[2026-07-08 08:32:53] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755468160663793,"note":"Value kept but may cause issues"} 
[2026-07-08 08:32:53] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,154,87,24,241,157,16,68,159,26,45,128,189,8,43,10,66,11,192,9,40,251,64,1,240,133,227,63,233,4,113,205,20,208,164,41,239,51,2,112,5,50,54,101],"length":535,"final_offset":665,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1469710542,"validated":0}]} 
[2026-07-08 08:32:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648647173886312448,"timestamp_seconds":648647173886312.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 08:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":127254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":127254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":127254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570812928001,"66":12809,"154":206,"87":13824,"24":13,"16":103658554652622848,"45":8992281106371647488},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-07-08 08:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570812928001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:32:53] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-08 08:32:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103658554652622848,"km_value":103658554652622.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992281106371647488,"description":"Unknown IO ID 45"} 
[2026-07-08 08:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570812928001,"power":12809,"unknown_154":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8992281106371647488}} 
[2026-07-08 08:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":127254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449740,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:32:53] local.INFO: GPS data processed {"connection_id":127254,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:32:53] local.INFO: Acknowledgment sent {"connection_id":127254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:32:56] local.INFO: TCP Data received {"connection_id":125148,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:32:56] local.INFO: Processing buffer {"connection_id":125148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:32:56] local.INFO: IMEI packet received {"connection_id":125148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":125148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:33:01] local.INFO: TCP Data received {"connection_id":125148,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:33:01] local.INFO: Processing buffer {"connection_id":125148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:33:01] local.INFO: IMEI packet received {"connection_id":125148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":125148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:33:02] local.INFO: TCP Data received {"connection_id":125148,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fac3818012d80ebc005a177d00008015d2c..."} 
[2026-07-08 08:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fac3818012d80ebc005a177d00008015d2c..."} 
[2026-07-08 08:33:02] local.INFO: Processing buffer {"connection_id":125148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fac3818012d80ebc005a177d00008015d2c..."} 
[2026-07-08 08:33:02] local.INFO: Packet analysis {"connection_id":125148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fac"} 
[2026-07-08 08:33:02] local.INFO: Extracted packet for processing {"connection_id":125148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fac"} 
[2026-07-08 08:33:02] local.INFO: GPS Element Parsed {"raw_longitude":763423680,"raw_latitude":94468048,"longitude_deg":76.342368,"latitude_deg":9.4468048,"altitude":8,"angle":349,"satellites":44,"speed":44,"hex_longitude":"2d80ebc0","hex_latitude":"05a177d0","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570795776001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342476427280515072,"note":"Value kept but may cause issues"} 
[2026-07-08 08:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155043962076682240,"note":"Value kept but may cause issues"} 
[2026-07-08 08:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783479679000,"timestamp_ms":1783479679000,"timestamp_seconds":1783479679,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fac3818"} 
[2026-07-08 08:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 08:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570795776001,"66":27669,"82":206,"85":14336,"24":44,"16":342476427280515072,"45":-9155043962076682240},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-08 08:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570795776001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:33:02] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-08 08:33:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342476427280515072,"km_value":342476427280515.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155043962076682240,"description":"Unknown IO ID 45"} 
[2026-07-08 08:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570795776001,"power":27669,"unknown_82":206,"unknown_85":14336,"ignition":44,"odometer":null,"unknown_45":-9155043962076682240}} 
[2026-07-08 08:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":125148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:33:02] local.INFO: GPS data processed {"connection_id":125148,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:33:02] local.INFO: Acknowledgment sent {"connection_id":125148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:33:22] local.INFO: TCP Data received {"connection_id":127253,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fad2660012d0c4ec00703d1000018000220..."} 
[2026-07-08 08:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fad2660012d0c4ec00703d1000018000220..."} 
[2026-07-08 08:33:22] local.INFO: Processing buffer {"connection_id":127253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fad2660012d0c4ec00703d1000018000220..."} 
[2026-07-08 08:33:22] local.INFO: Packet analysis {"connection_id":127253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fad"} 
[2026-07-08 08:33:22] local.INFO: Extracted packet for processing {"connection_id":127253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fad"} 
[2026-07-08 08:33:22] local.INFO: GPS Element Parsed {"raw_longitude":755781312,"raw_latitude":117690624,"longitude_deg":75.5781312,"latitude_deg":11.7690624,"altitude":24,"angle":2,"satellites":32,"speed":25,"hex_longitude":"2d0c4ec0","hex_latitude":"0703d100","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570813184001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23482110920622080,"note":"Value kept but may cause issues"} 
[2026-07-08 08:33:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887068419232249856,"note":"Value kept but may cause issues"} 
[2026-07-08 08:33: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-07-08 08:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783479740000,"timestamp_ms":1783479740000,"timestamp_seconds":1783479740,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fad2660"} 
[2026-07-08 08:33:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:33:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-08 08:33:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:33:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":127253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":127253,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":127253,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570813184001,"66":14309,"37":206,"94":11008,"24":25,"16":23482110920622080,"45":887068419232249856},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-08 08:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570813184001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:33:22] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-08 08:33:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 08:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23482110920622080,"km_value":23482110920622.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:33:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":887068419232249856,"description":"Unknown IO ID 45"} 
[2026-07-08 08:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570813184001,"power":14309,"unknown_37":206,"unknown_94":11008,"ignition":25,"odometer":null,"unknown_45":887068419232249856}} 
[2026-07-08 08:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":127253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449742,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:33:22] local.INFO: GPS data processed {"connection_id":127253,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:33:22] local.INFO: Acknowledgment sent {"connection_id":127253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:33:25] local.INFO: TCP Data received {"connection_id":127254,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fad2660012d7ccc8005e9bb08000900a82a..."} 
[2026-07-08 08:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fad2660012d7ccc8005e9bb08000900a82a..."} 
[2026-07-08 08:33:25] local.INFO: Processing buffer {"connection_id":127254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fad2660012d7ccc8005e9bb08000900a82a..."} 
[2026-07-08 08:33:25] local.INFO: Packet analysis {"connection_id":127254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fad"} 
[2026-07-08 08:33:25] local.INFO: Extracted packet for processing {"connection_id":127254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fad"} 
[2026-07-08 08:33:25] local.INFO: GPS Element Parsed {"raw_longitude":763153536,"raw_latitude":99203848,"longitude_deg":76.3153536,"latitude_deg":9.9203848,"altitude":9,"angle":168,"satellites":42,"speed":13,"hex_longitude":"2d7ccc80","hex_latitude":"05e9bb08","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570813184001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103658571832492032,"note":"Value kept but may cause issues"} 
[2026-07-08 08:33:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992632950092478464,"note":"Value kept but may cause issues"} 
[2026-07-08 08:33:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783479740000,"timestamp_ms":1783479740000,"timestamp_seconds":1783479740,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fad2660"} 
[2026-07-08 08:33:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:33: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-07-08 08: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-08 08:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1152921504774620160,"note":"Value kept but may cause issues"} 
[2026-07-08 08:33:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 08:33:25] local.WARNING: Large IO value detected {"io_id":68,"raw_value":3372220416,"note":"Value kept but may cause issues"} 
[2026-07-08 08:33:25] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-08 08:33:25] local.WARNING: Large IO value detected {"io_id":63,"raw_value":-5997466488553038016,"note":"Value kept but may cause issues"} 
[2026-07-08 08:33:25] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3201826824,"note":"Value kept but may cause issues"} 
[2026-07-08 08:33:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1469710542,"corrected_to":0} 
[2026-07-08 08:33:25] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":2147560828,"corrected_to":0} 
[2026-07-08 08:33:25] local.WARNING: Large IO value detected {"io_id":184,"raw_value":2147871167,"note":"Value kept but may cause issues"} 
[2026-07-08 08:33:25] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-8862858290535543209,"note":"Value kept but may cause issues"} 
[2026-07-08 08:33:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1604636065535082454,"note":"Value kept but may cause issues"} 
[2026-07-08 08:33:25] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755476750598385,"note":"Value kept but may cause issues"} 
[2026-07-08 08:33:25] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,154,87,24,241,157,16,68,159,30,45,189,9,43,10,66,26,128,8,11,192,1,240,187,227,63,233,4,113,205,19,247,184,40,41,239,51,2,112,5,18,54,116],"length":535,"final_offset":665,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1469710542,"validated":0},{"io_id":247,"original":2147560828,"validated":0}]} 
[2026-07-08 08:33:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648674657381974016,"timestamp_seconds":648674657381974.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 08:33:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":127254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":127254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":127254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08: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-07-08 08:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570813184001,"66":13091,"154":206,"87":13824,"24":13,"16":103658571832492032,"45":8992632950092478464},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-07-08 08:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570813184001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:33:25] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-08 08:33:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103658571832492032,"km_value":103658571832492.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:33:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992632950092478464,"description":"Unknown IO ID 45"} 
[2026-07-08 08:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570813184001,"power":13091,"unknown_154":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8992632950092478464}} 
[2026-07-08 08:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":127254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449743,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:33:25] local.INFO: GPS data processed {"connection_id":127254,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:33:25] local.INFO: Acknowledgment sent {"connection_id":127254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:33:27] local.INFO: TCP Data received {"connection_id":125149,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125149,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:33:27] local.INFO: Processing buffer {"connection_id":125149,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:33:27] local.INFO: IMEI packet received {"connection_id":125149,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 08:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":125149,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:33:39] local.INFO: TCP Data received {"connection_id":125148,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fac5758012d80e50005a19b000008015d2c..."} 
[2026-07-08 08:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fac5758012d80e50005a19b000008015d2c..."} 
[2026-07-08 08:33:39] local.INFO: Processing buffer {"connection_id":125148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fac5758012d80e50005a19b000008015d2c..."} 
[2026-07-08 08:33:39] local.INFO: Packet analysis {"connection_id":125148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fac"} 
[2026-07-08 08:33:39] local.INFO: Extracted packet for processing {"connection_id":125148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fac"} 
[2026-07-08 08:33:39] local.INFO: GPS Element Parsed {"raw_longitude":763421952,"raw_latitude":94477056,"longitude_deg":76.3421952,"latitude_deg":9.4477056,"altitude":8,"angle":349,"satellites":44,"speed":48,"hex_longitude":"2d80e500","hex_latitude":"05a19b00","is_valid_coordinates":true} 
[2026-07-08 08:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570797824001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342476873957113856,"note":"Value kept but may cause issues"} 
[2026-07-08 08:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9157014286911418368,"note":"Value kept but may cause issues"} 
[2026-07-08 08:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783479687000,"timestamp_ms":1783479687000,"timestamp_seconds":1783479687,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fac5758"} 
[2026-07-08 08:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-07-08 08:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":927,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570797824001,"66":27821,"82":206,"85":14336,"24":48,"16":342476873957113856,"45":-9157014286911418368},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-08 08:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570797824001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:33:39] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-08 08:33:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342476873957113856,"km_value":342476873957113.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9157014286911418368,"description":"Unknown IO ID 45"} 
[2026-07-08 08:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570797824001,"power":27821,"unknown_82":206,"unknown_85":14336,"ignition":48,"odometer":null,"unknown_45":-9157014286911418368}} 
[2026-07-08 08:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":125148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:33:39] local.INFO: GPS data processed {"connection_id":125148,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:33:39] local.INFO: Acknowledgment sent {"connection_id":125148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:33:45] local.INFO: TCP Data received {"connection_id":125242,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125242,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:33:45] local.INFO: Processing buffer {"connection_id":125242,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:33:45] local.INFO: IMEI packet received {"connection_id":125242,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 08:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":125242,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:33:47] local.INFO: TCP Data received {"connection_id":127255,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127255,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:33:47] local.INFO: Processing buffer {"connection_id":127255,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:33:47] local.INFO: IMEI packet received {"connection_id":127255,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":127255,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:33:52] local.INFO: TCP Data received {"connection_id":127255,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127255,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:33:52] local.INFO: Processing buffer {"connection_id":127255,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:33:52] local.INFO: IMEI packet received {"connection_id":127255,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":127255,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:33:53] local.INFO: TCP Data received {"connection_id":127255,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fad5d10012d7cce8005e9b618000700512b..."} 
[2026-07-08 08:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fad5d10012d7cce8005e9b618000700512b..."} 
[2026-07-08 08:33:53] local.INFO: Processing buffer {"connection_id":127255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fad5d10012d7cce8005e9b618000700512b..."} 
[2026-07-08 08:33:53] local.INFO: Packet analysis {"connection_id":127255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fad"} 
[2026-07-08 08:33:53] local.INFO: Extracted packet for processing {"connection_id":127255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fad"} 
[2026-07-08 08:33:53] local.INFO: GPS Element Parsed {"raw_longitude":763154048,"raw_latitude":99202584,"longitude_deg":76.3154048,"latitude_deg":9.9202584,"altitude":7,"angle":81,"satellites":43,"speed":5,"hex_longitude":"2d7cce80","hex_latitude":"05e9b618","is_valid_coordinates":true} 
[2026-07-08 08:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570813440001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103658644846936064,"note":"Value kept but may cause issues"} 
[2026-07-08 08:33:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992703318836578304,"note":"Value kept but may cause issues"} 
[2026-07-08 08:33:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783479754000,"timestamp_ms":1783479754000,"timestamp_seconds":1783479754,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fad5d10"} 
[2026-07-08 08:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:33:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-08 08:33:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:33:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":127255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":127255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":127255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:33:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:33:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570813440001,"66":13048,"154":206,"87":13824,"24":5,"16":103658644846936064,"45":8992703318836578304},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-07-08 08:33:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:33:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:33:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570813440001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:33:53] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-08 08:33:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:33:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103658644846936064,"km_value":103658644846936.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:33:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992703318836578304,"description":"Unknown IO ID 45"} 
[2026-07-08 08:33:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570813440001,"power":13048,"unknown_154":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8992703318836578304}} 
[2026-07-08 08:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":127255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449745,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:33:53] local.INFO: GPS data processed {"connection_id":127255,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:33:53] local.INFO: Acknowledgment sent {"connection_id":127255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:33:56] local.INFO: TCP Data received {"connection_id":125983,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:33:56] local.INFO: Processing buffer {"connection_id":125983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:33:56] local.INFO: IMEI packet received {"connection_id":125983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":125983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:33:57] local.INFO: TCP Data received {"connection_id":125150,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125150,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:33:57] local.INFO: Processing buffer {"connection_id":125150,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:33:57] local.INFO: IMEI packet received {"connection_id":125150,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 08:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":125150,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:33:57] local.INFO: TCP Data received {"connection_id":125242,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125242,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:33:57] local.INFO: Processing buffer {"connection_id":125242,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:33:57] local.INFO: IMEI packet received {"connection_id":125242,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":125242,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:33:58] local.INFO: TCP Data received {"connection_id":125242,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125242,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:33:58] local.INFO: Processing buffer {"connection_id":125242,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:33:58] local.INFO: IMEI packet received {"connection_id":125242,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":125242,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:33:59] local.INFO: TCP Data received {"connection_id":125242,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fae2448012d0cb780070485d8001b015720..."} 
[2026-07-08 08:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fae2448012d0cb780070485d8001b015720..."} 
[2026-07-08 08:33:59] local.INFO: Processing buffer {"connection_id":125242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fae2448012d0cb780070485d8001b015720..."} 
[2026-07-08 08:33:59] local.INFO: Packet analysis {"connection_id":125242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fae"} 
[2026-07-08 08:33:59] local.INFO: Extracted packet for processing {"connection_id":125242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fae"} 
[2026-07-08 08:33:59] local.INFO: GPS Element Parsed {"raw_longitude":755808128,"raw_latitude":117736920,"longitude_deg":75.5808128,"latitude_deg":11.773692,"altitude":27,"angle":343,"satellites":32,"speed":29,"hex_longitude":"2d0cb780","hex_latitude":"070485d8","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570829056001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23484872584593408,"note":"Value kept but may cause issues"} 
[2026-07-08 08:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916904766774847488,"note":"Value kept but may cause issues"} 
[2026-07-08 08:33:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 08:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783479805000,"timestamp_ms":1783479805000,"timestamp_seconds":1783479805,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fae2448"} 
[2026-07-08 08:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-08 08:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":125242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":125242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":125242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570829056001,"66":14439,"16":23484872584593408,"94":11008,"24":29,"45":916904766774847488},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-08 08:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570829056001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23484872584593408,"km_value":23484872584593.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:33:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 08:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":916904766774847488,"description":"Unknown IO ID 45"} 
[2026-07-08 08:33:59] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456570829056001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":29,"unknown_45":916904766774847488}} 
[2026-07-08 08:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":125242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449746,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:33:59] local.INFO: GPS data processed {"connection_id":125242,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:33:59] local.INFO: Acknowledgment sent {"connection_id":125242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:33:59] local.INFO: TCP Data received {"connection_id":125242,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fae3000012d0cb3c007048de8001c014a20..."} 
[2026-07-08 08:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fae3000012d0cb3c007048de8001c014a20..."} 
[2026-07-08 08:33:59] local.INFO: Processing buffer {"connection_id":125242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fae3000012d0cb3c007048de8001c014a20..."} 
[2026-07-08 08:33:59] local.INFO: Packet analysis {"connection_id":125242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fae"} 
[2026-07-08 08:33:59] local.INFO: Extracted packet for processing {"connection_id":125242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fae"} 
[2026-07-08 08:33:59] local.INFO: GPS Element Parsed {"raw_longitude":755807168,"raw_latitude":117738984,"longitude_deg":75.5807168,"latitude_deg":11.7738984,"altitude":28,"angle":330,"satellites":32,"speed":31,"hex_longitude":"2d0cb3c0","hex_latitude":"07048de8","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570830080001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23484984253743104,"note":"Value kept but may cause issues"} 
[2026-07-08 08:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916341816822192128,"note":"Value kept but may cause issues"} 
[2026-07-08 08:33:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 08:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783479808000,"timestamp_ms":1783479808000,"timestamp_seconds":1783479808,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fae3000"} 
[2026-07-08 08:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-08 08:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":125242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":125242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":125242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570830080001,"66":14439,"16":23484984253743104,"94":11008,"24":31,"45":916341816822192128},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-08 08:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570830080001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23484984253743104,"km_value":23484984253743.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:33:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 08:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":916341816822192128,"description":"Unknown IO ID 45"} 
[2026-07-08 08:33:59] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456570830080001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":31,"unknown_45":916341816822192128}} 
[2026-07-08 08:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":125242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449747,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:34:00] local.INFO: GPS data processed {"connection_id":125242,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:34:00] local.INFO: Acknowledgment sent {"connection_id":125242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:34:02] local.INFO: TCP Data received {"connection_id":125983,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:34:02] local.INFO: Processing buffer {"connection_id":125983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:34:02] local.INFO: IMEI packet received {"connection_id":125983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":125983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:34:04] local.INFO: TCP Data received {"connection_id":125983,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fac7698012d80de0005a1be580008015c2e..."} 
[2026-07-08 08:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fac7698012d80de0005a1be580008015c2e..."} 
[2026-07-08 08:34:04] local.INFO: Processing buffer {"connection_id":125983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fac7698012d80de0005a1be580008015c2e..."} 
[2026-07-08 08:34:04] local.INFO: Packet analysis {"connection_id":125983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fac"} 
[2026-07-08 08:34:04] local.INFO: Extracted packet for processing {"connection_id":125983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fac"} 
[2026-07-08 08:34:04] local.INFO: GPS Element Parsed {"raw_longitude":763420160,"raw_latitude":94486104,"longitude_deg":76.342016,"latitude_deg":9.4486104,"altitude":8,"angle":348,"satellites":46,"speed":40,"hex_longitude":"2d80de00","hex_latitude":"05a1be58","is_valid_coordinates":true} 
[2026-07-08 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-07-08 08:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570799872001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342477320633712640,"note":"Value kept but may cause issues"} 
[2026-07-08 08:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9158914243001909248,"note":"Value kept but may cause issues"} 
[2026-07-08 08:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783479695000,"timestamp_ms":1783479695000,"timestamp_seconds":1783479695,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fac7698"} 
[2026-07-08 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-07-08 08:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 08:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 08:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570799872001,"66":27821,"82":206,"85":14336,"24":40,"16":342477320633712640,"45":-9158914243001909248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-08 08:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570799872001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:34:04] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-08 08:34:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342477320633712640,"km_value":342477320633712.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9158914243001909248,"description":"Unknown IO ID 45"} 
[2026-07-08 08:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570799872001,"power":27821,"unknown_82":206,"unknown_85":14336,"ignition":40,"odometer":null,"unknown_45":-9158914243001909248}} 
[2026-07-08 08:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":125983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:34:04] local.INFO: GPS data processed {"connection_id":125983,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:34:04] local.INFO: Acknowledgment sent {"connection_id":125983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:34:25] local.INFO: TCP Data received {"connection_id":127255,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fae9d60012d7d15c005ea23e8000900032d..."} 
[2026-07-08 08:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fae9d60012d7d15c005ea23e8000900032d..."} 
[2026-07-08 08:34:25] local.INFO: Processing buffer {"connection_id":127255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fae9d60012d7d15c005ea23e8000900032d..."} 
[2026-07-08 08:34:25] local.INFO: Packet analysis {"connection_id":127255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fae"} 
[2026-07-08 08:34:25] local.INFO: Extracted packet for processing {"connection_id":127255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fae"} 
[2026-07-08 08:34:25] local.INFO: GPS Element Parsed {"raw_longitude":763172288,"raw_latitude":99230696,"longitude_deg":76.3172288,"latitude_deg":9.9230696,"altitude":9,"angle":3,"satellites":45,"speed":16,"hex_longitude":"2d7d15c0","hex_latitude":"05ea23e8","is_valid_coordinates":true} 
[2026-07-08 08:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570837248001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103660706431238144,"note":"Value kept but may cause issues"} 
[2026-07-08 08:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013391729631404032,"note":"Value kept but may cause issues"} 
[2026-07-08 08:34: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-07-08 08:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783479836000,"timestamp_ms":1783479836000,"timestamp_seconds":1783479836,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fae9d60"} 
[2026-07-08 08:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:34: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-07-08 08:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-08 08:34: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-07-08 08:34:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":127255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":127255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":127255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:34:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570837248001,"66":13135,"192":206,"87":13824,"24":16,"16":103660706431238144,"45":9013391729631404032},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-08 08:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570837248001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:34:25] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-08 08:34:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103660706431238144,"km_value":103660706431238.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013391729631404032,"description":"Unknown IO ID 45"} 
[2026-07-08 08:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570837248001,"power":13135,"unknown_192":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":9013391729631404032}} 
[2026-07-08 08:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":127255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449749,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:34:25] local.INFO: GPS data processed {"connection_id":127255,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:34:25] local.INFO: Acknowledgment sent {"connection_id":127255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:34:34] local.INFO: TCP Data received {"connection_id":125983,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3faca190012d80d74005a1e0d00008015d2d..."} 
[2026-07-08 08:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3faca190012d80d74005a1e0d00008015d2d..."} 
[2026-07-08 08:34:34] local.INFO: Processing buffer {"connection_id":125983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3faca190012d80d74005a1e0d00008015d2d..."} 
[2026-07-08 08:34:34] local.INFO: Packet analysis {"connection_id":125983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fac"} 
[2026-07-08 08:34:34] local.INFO: Extracted packet for processing {"connection_id":125983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fac"} 
[2026-07-08 08:34:34] local.INFO: GPS Element Parsed {"raw_longitude":763418432,"raw_latitude":94494928,"longitude_deg":76.3418432,"latitude_deg":9.4494928,"altitude":8,"angle":349,"satellites":45,"speed":32,"hex_longitude":"2d80d740","hex_latitude":"05a1e0d0","is_valid_coordinates":true} 
[2026-07-08 08:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570801920001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342477754425409536,"note":"Value kept but may cause issues"} 
[2026-07-08 08:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9160884567836567552,"note":"Value kept but may cause issues"} 
[2026-07-08 08:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783479706000,"timestamp_ms":1783479706000,"timestamp_seconds":1783479706,"priority":1,"record_length":96,"hex_timestamp":"0000019f3faca190"} 
[2026-07-08 08:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 08:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570801920001,"66":27767,"82":206,"85":14336,"24":32,"16":342477754425409536,"45":-9160884567836567552},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-08 08:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570801920001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:34:34] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-08 08:34:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342477754425409536,"km_value":342477754425409.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9160884567836567552,"description":"Unknown IO ID 45"} 
[2026-07-08 08:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570801920001,"power":27767,"unknown_82":206,"unknown_85":14336,"ignition":32,"odometer":null,"unknown_45":-9160884567836567552}} 
[2026-07-08 08:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":125983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:34:34] local.INFO: GPS data processed {"connection_id":125983,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:34:34] local.INFO: Acknowledgment sent {"connection_id":125983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:34:45] local.INFO: TCP Data received {"connection_id":125984,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125984,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:34:45] local.INFO: Processing buffer {"connection_id":125984,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:34:45] local.INFO: IMEI packet received {"connection_id":125984,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 08:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":125984,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:34:50] local.INFO: TCP Data received {"connection_id":127256,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:34:50] local.INFO: Processing buffer {"connection_id":127256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:34:50] local.INFO: IMEI packet received {"connection_id":127256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":127256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:34:50] local.INFO: TCP Data received {"connection_id":125984,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125984,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:34:50] local.INFO: Processing buffer {"connection_id":125984,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:34:50] local.INFO: IMEI packet received {"connection_id":125984,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":125984,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:34:51] local.INFO: TCP Data received {"connection_id":125984,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fae5ee0012d0c9ec00704abb00020014720..."} 
[2026-07-08 08:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fae5ee0012d0c9ec00704abb00020014720..."} 
[2026-07-08 08:34:51] local.INFO: Processing buffer {"connection_id":125984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fae5ee0012d0c9ec00704abb00020014720..."} 
[2026-07-08 08:34:51] local.INFO: Packet analysis {"connection_id":125984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fae"} 
[2026-07-08 08:34:51] local.INFO: Extracted packet for processing {"connection_id":125984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fae"} 
[2026-07-08 08:34:51] local.INFO: GPS Element Parsed {"raw_longitude":755801792,"raw_latitude":117746608,"longitude_deg":75.5801792,"latitude_deg":11.7746608,"altitude":32,"angle":327,"satellites":32,"speed":29,"hex_longitude":"2d0c9ec0","hex_latitude":"0704abb0","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570830848001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23485435225309184,"note":"Value kept but may cause issues"} 
[2026-07-08 08:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":915286285660055552,"note":"Value kept but may cause issues"} 
[2026-07-08 08:34:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 08:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783479820000,"timestamp_ms":1783479820000,"timestamp_seconds":1783479820,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fae5ee0"} 
[2026-07-08 08:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-08 08:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125984,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125984,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570830848001,"66":14548,"16":23485435225309184,"94":11008,"24":29,"45":915286285660055552},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-08 08:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570830848001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23485435225309184,"km_value":23485435225309.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:34:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 08:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":915286285660055552,"description":"Unknown IO ID 45"} 
[2026-07-08 08:34:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456570830848001,"power":14548,"odometer":null,"unknown_94":11008,"ignition":29,"unknown_45":915286285660055552}} 
[2026-07-08 08:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":125984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449751,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:34:51] local.INFO: GPS data processed {"connection_id":125984,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:34:51] local.INFO: Acknowledgment sent {"connection_id":125984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:34:52] local.INFO: TCP Data received {"connection_id":127256,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:34:52] local.INFO: Processing buffer {"connection_id":127256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:34:52] local.INFO: IMEI packet received {"connection_id":127256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":127256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:34:54] local.INFO: TCP Data received {"connection_id":127256,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:34:54] local.INFO: Processing buffer {"connection_id":127256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:34:54] local.INFO: IMEI packet received {"connection_id":127256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":127256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:35:02] local.INFO: TCP Data received {"connection_id":127256,"ip":"42.106.6.19","data_length":812,"data_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f3f..."} 
[2026-07-08 08:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127256,"packet_length":812,"packet_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f3f..."} 
[2026-07-08 08:35:02] local.INFO: Processing buffer {"connection_id":127256,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f3f..."} 
[2026-07-08 08:35:02] local.INFO: IMEI packet received {"connection_id":127256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:35:02] local.INFO: TCP Data received {"connection_id":125243,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":127256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:35:02] local.INFO: Processing buffer {"connection_id":125243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:35:02] local.INFO: IMEI packet received {"connection_id":125243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":125243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:35:02] local.INFO: TCP Data received {"connection_id":125243,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:35:02] local.INFO: Processing buffer {"connection_id":125243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:35:02] local.INFO: IMEI packet received {"connection_id":125243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":125243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:35:06] local.INFO: TCP Data received {"connection_id":125243,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:35:06] local.INFO: Processing buffer {"connection_id":125243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:35:06] local.INFO: IMEI packet received {"connection_id":125243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":125243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:35:06] local.INFO: TCP Data received {"connection_id":125243,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fae9590012d80974005a367d0000a015f2c..."} 
[2026-07-08 08:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fae9590012d80974005a367d0000a015f2c..."} 
[2026-07-08 08:35:06] local.INFO: Processing buffer {"connection_id":125243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fae9590012d80974005a367d0000a015f2c..."} 
[2026-07-08 08:35:06] local.INFO: Packet analysis {"connection_id":125243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fae"} 
[2026-07-08 08:35:06] local.INFO: Extracted packet for processing {"connection_id":125243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fae"} 
[2026-07-08 08:35:06] local.INFO: GPS Element Parsed {"raw_longitude":763402048,"raw_latitude":94595024,"longitude_deg":76.3402048,"latitude_deg":9.4595024,"altitude":10,"angle":351,"satellites":44,"speed":60,"hex_longitude":"2d809740","hex_latitude":"05a367d0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 08:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570835968001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342482680752898048,"note":"Value kept but may cause issues"} 
[2026-07-08 08:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9179321178785556480,"note":"Value kept but may cause issues"} 
[2026-07-08 08:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783479834000,"timestamp_ms":1783479834000,"timestamp_seconds":1783479834,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fae9590"} 
[2026-07-08 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-07-08 08:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 08:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 08:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570835968001,"66":27800,"17":206,"85":14336,"24":60,"16":342482680752898048,"45":-9179321178785556480},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-07-08 08:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570835968001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:35:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342482680752898048,"km_value":342482680752898.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9179321178785556480,"description":"Unknown IO ID 45"} 
[2026-07-08 08:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570835968001,"power":27800,"axis_x":206,"unknown_85":14336,"ignition":60,"odometer":null,"unknown_45":-9179321178785556480}} 
[2026-07-08 08:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":125243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:35:07] local.INFO: GPS data processed {"connection_id":125243,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:35:07] local.INFO: Acknowledgment sent {"connection_id":125243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:35:07] local.INFO: TCP Data received {"connection_id":125243,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3faead00012d80920005a38ae0000a01602e..."} 
[2026-07-08 08:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3faead00012d80920005a38ae0000a01602e..."} 
[2026-07-08 08:35:07] local.INFO: Processing buffer {"connection_id":125243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3faead00012d80920005a38ae0000a01602e..."} 
[2026-07-08 08:35:07] local.INFO: Packet analysis {"connection_id":125243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fae"} 
[2026-07-08 08:35:07] local.INFO: Extracted packet for processing {"connection_id":125243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fae"} 
[2026-07-08 08:35:07] local.INFO: GPS Element Parsed {"raw_longitude":763400704,"raw_latitude":94604000,"longitude_deg":76.3400704,"latitude_deg":9.4604,"altitude":10,"angle":352,"satellites":46,"speed":59,"hex_longitude":"2d809200","hex_latitude":"05a38ae0","is_valid_coordinates":true} 
[2026-07-08 08:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570837504001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342483118839562240,"note":"Value kept but may cause issues"} 
[2026-07-08 08:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9180798922410962944,"note":"Value kept but may cause issues"} 
[2026-07-08 08:35:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,85,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 08:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783479840000,"timestamp_ms":1783479840000,"timestamp_seconds":1783479840,"priority":1,"record_length":96,"hex_timestamp":"0000019f3faead00"} 
[2026-07-08 08:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 08:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570837504001,"66":27658,"16":342483118839562240,"85":14336,"24":59,"45":-9180798922410962944},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,85,24,45]} 
[2026-07-08 08:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570837504001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342483118839562240,"km_value":342483118839562.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:35:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9180798922410962944,"description":"Unknown IO ID 45"} 
[2026-07-08 08:35:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456570837504001,"power":27658,"odometer":null,"unknown_85":14336,"ignition":59,"unknown_45":-9180798922410962944}} 
[2026-07-08 08:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":125243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:35:07] local.INFO: GPS data processed {"connection_id":125243,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:35:07] local.INFO: Acknowledgment sent {"connection_id":125243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:35:09] local.INFO: TCP Data received {"connection_id":127256,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3faef350012d7d178005ea35e8000a000529..."} 
[2026-07-08 08:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3faef350012d7d178005ea35e8000a000529..."} 
[2026-07-08 08:35:09] local.INFO: Processing buffer {"connection_id":127256,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f3faec088012d7d174005ea33c80008015c2b..."} 
[2026-07-08 08:35:09] local.INFO: Packet analysis {"connection_id":127256,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3fae"} 
[2026-07-08 08:35:09] local.INFO: Extracted packet for processing {"connection_id":127256,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fae"} 
[2026-07-08 08:35:09] local.INFO: GPS Element Parsed {"raw_longitude":763172672,"raw_latitude":99234760,"longitude_deg":76.3172672,"latitude_deg":9.923476,"altitude":8,"angle":348,"satellites":43,"speed":6,"hex_longitude":"2d7d1740","hex_latitude":"05ea33c8","is_valid_coordinates":true} 
[2026-07-08 08:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570838016001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103660903999733760,"note":"Value kept but may cause issues"} 
[2026-07-08 08:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013321360887506944,"note":"Value kept but may cause issues"} 
[2026-07-08 08:35:09] 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-07-08 08:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783479845000,"timestamp_ms":1783479845000,"timestamp_seconds":1783479845,"priority":1,"record_length":96,"hex_timestamp":"0000019f3faec088"} 
[2026-07-08 08:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-08 08:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":127256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":127256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":127256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570838016001,"66":13091,"192":206,"87":13824,"24":6,"16":103660903999733760,"45":9013321360887506944},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-08 08:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570838016001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:35:09] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-08 08:35:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103660903999733760,"km_value":103660903999733.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013321360887506944,"description":"Unknown IO ID 45"} 
[2026-07-08 08:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570838016001,"power":13091,"unknown_192":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9013321360887506944}} 
[2026-07-08 08:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":127256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449754,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:35:09] local.INFO: GPS data processed {"connection_id":127256,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:35:09] local.INFO: Acknowledgment sent {"connection_id":127256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:35:09] local.INFO: Packet analysis {"connection_id":127256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fae"} 
[2026-07-08 08:35:09] local.INFO: Extracted packet for processing {"connection_id":127256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fae"} 
[2026-07-08 08:35:09] local.INFO: GPS Element Parsed {"raw_longitude":763172736,"raw_latitude":99235304,"longitude_deg":76.3172736,"latitude_deg":9.9235304,"altitude":10,"angle":5,"satellites":41,"speed":6,"hex_longitude":"2d7d1780","hex_latitude":"05ea35e8","is_valid_coordinates":true} 
[2026-07-08 08:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570840320001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103660934064504832,"note":"Value kept but may cause issues"} 
[2026-07-08 08:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013743573353613312,"note":"Value kept but may cause issues"} 
[2026-07-08 08:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783479858000,"timestamp_ms":1783479858000,"timestamp_seconds":1783479858,"priority":1,"record_length":96,"hex_timestamp":"0000019f3faef350"} 
[2026-07-08 08:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-08 08:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":127256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":127256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":127256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570840320001,"66":13222,"154":206,"87":13824,"24":6,"16":103660934064504832,"45":9013743573353613312},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-07-08 08:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570840320001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:35:09] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-08 08:35:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103660934064504832,"km_value":103660934064504.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013743573353613312,"description":"Unknown IO ID 45"} 
[2026-07-08 08:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570840320001,"power":13222,"unknown_154":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9013743573353613312}} 
[2026-07-08 08:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":127256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449755,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:35:09] local.INFO: GPS data processed {"connection_id":127256,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:35:09] local.INFO: Acknowledgment sent {"connection_id":127256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:35:12] local.INFO: TCP Data received {"connection_id":125243,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3faec470012d808d0005a3ada80009015f2e..."} 
[2026-07-08 08:35:12] local.INFO: TCP Data received {"connection_id":127256,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3faf31d0012d7d19c005ea58a8000c00042b..."} 
[2026-07-08 08:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3faec470012d808d0005a3ada80009015f2e..."} 
[2026-07-08 08:35:12] local.INFO: Processing buffer {"connection_id":125243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3faec470012d808d0005a3ada80009015f2e..."} 
[2026-07-08 08:35:12] local.INFO: Packet analysis {"connection_id":125243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fae"} 
[2026-07-08 08:35:12] local.INFO: Extracted packet for processing {"connection_id":125243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fae"} 
[2026-07-08 08:35:12] local.INFO: GPS Element Parsed {"raw_longitude":763399424,"raw_latitude":94612904,"longitude_deg":76.3399424,"latitude_deg":9.4612904,"altitude":9,"angle":351,"satellites":46,"speed":59,"hex_longitude":"2d808d00","hex_latitude":"05a3ada8","is_valid_coordinates":true} 
[2026-07-08 08:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570839040001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342483556926226432,"note":"Value kept but may cause issues"} 
[2026-07-08 08:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9182276666036396032,"note":"Value kept but may cause issues"} 
[2026-07-08 08:35:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,85,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 08:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783479846000,"timestamp_ms":1783479846000,"timestamp_seconds":1783479846,"priority":1,"record_length":96,"hex_timestamp":"0000019f3faec470"} 
[2026-07-08 08:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 08:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3faf31d0012d7d19c005ea58a8000c00042b..."} 
[2026-07-08 08:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:35:12] local.INFO: Processing buffer {"connection_id":127256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3faf31d0012d7d19c005ea58a8000c00042b..."} 
[2026-07-08 08:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:35:12] local.INFO: Packet analysis {"connection_id":127256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3faf"} 
[2026-07-08 08:35:12] local.INFO: Extracted packet for processing {"connection_id":127256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3faf"} 
[2026-07-08 08:35:12] local.INFO: GPS Element Parsed {"raw_longitude":763173312,"raw_latitude":99244200,"longitude_deg":76.3173312,"latitude_deg":9.92442,"altitude":12,"angle":4,"satellites":43,"speed":34,"hex_longitude":"2d7d19c0","hex_latitude":"05ea58a8","is_valid_coordinates":true} 
[2026-07-08 08:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570843648001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103661367856201728,"note":"Value kept but may cause issues"} 
[2026-07-08 08:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013813942097930240,"note":"Value kept but may cause issues"} 
[2026-07-08 08:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783479874000,"timestamp_ms":1783479874000,"timestamp_seconds":1783479874,"priority":1,"record_length":96,"hex_timestamp":"0000019f3faf31d0"} 
[2026-07-08 08:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-08 08:35: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-07-08 08:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570839040001,"66":27658,"16":342483556926226432,"85":14336,"24":59,"45":-9182276666036396032},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,85,24,45]} 
[2026-07-08 08:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":127256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":127256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":127256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570839040001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342483556926226432,"km_value":342483556926226.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:35:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570843648001,"66":13059,"154":206,"87":13824,"24":34,"16":103661367856201728,"45":9013813942097930240},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-07-08 08:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9182276666036396032,"description":"Unknown IO ID 45"} 
[2026-07-08 08:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:35:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456570839040001,"power":27658,"odometer":null,"unknown_85":14336,"ignition":59,"unknown_45":-9182276666036396032}} 
[2026-07-08 08:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570843648001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:35:12] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-08 08:35:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103661367856201728,"km_value":103661367856201.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013813942097930240,"description":"Unknown IO ID 45"} 
[2026-07-08 08:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570843648001,"power":13059,"unknown_154":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":9013813942097930240}} 
[2026-07-08 08:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":125243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:35:12] local.INFO: GPS data processed {"connection_id":125243,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:35:12] local.INFO: Acknowledgment sent {"connection_id":125243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":127256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449757,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:35:12] local.INFO: GPS data processed {"connection_id":127256,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:35:12] local.INFO: Acknowledgment sent {"connection_id":127256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:35:31] local.INFO: TCP Data received {"connection_id":125984,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fafa318012d0c6200070528e00020016021..."} 
[2026-07-08 08:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fafa318012d0c6200070528e00020016021..."} 
[2026-07-08 08:35:31] local.INFO: Processing buffer {"connection_id":125984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fafa318012d0c6200070528e00020016021..."} 
[2026-07-08 08:35:31] local.INFO: Packet analysis {"connection_id":125984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3faf"} 
[2026-07-08 08:35:31] local.INFO: Extracted packet for processing {"connection_id":125984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3faf"} 
[2026-07-08 08:35:31] local.INFO: GPS Element Parsed {"raw_longitude":755786240,"raw_latitude":117778656,"longitude_deg":75.578624,"latitude_deg":11.7778656,"altitude":32,"angle":352,"satellites":33,"speed":39,"hex_longitude":"2d0c6200","hex_latitude":"070528e0","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570852608001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23487221931704320,"note":"Value kept but may cause issues"} 
[2026-07-08 08:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893823818693670912,"note":"Value kept but may cause issues"} 
[2026-07-08 08:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783479903000,"timestamp_ms":1783479903000,"timestamp_seconds":1783479903,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fafa318"} 
[2026-07-08 08:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-08 08:35: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-07-08 08: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-07-08 08:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":125984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":125984,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":125984,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570852608001,"66":14428,"95":206,"94":10240,"24":39,"16":23487221931704320,"45":893823818693670912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-08 08:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570852608001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:35:31] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-08 08:35:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 08:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23487221931704320,"km_value":23487221931704.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":893823818693670912,"description":"Unknown IO ID 45"} 
[2026-07-08 08:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570852608001,"power":14428,"unknown_95":206,"unknown_94":10240,"ignition":39,"odometer":null,"unknown_45":893823818693670912}} 
[2026-07-08 08:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":125984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449758,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:35:31] local.INFO: GPS data processed {"connection_id":125984,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:35:31] local.INFO: Acknowledgment sent {"connection_id":125984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:35:50] local.INFO: TCP Data received {"connection_id":127258,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127258,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:35:50] local.INFO: Processing buffer {"connection_id":127258,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:35:50] local.INFO: IMEI packet received {"connection_id":127258,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 08:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":127258,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:35:53] local.INFO: TCP Data received {"connection_id":125244,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:35:53] local.INFO: Processing buffer {"connection_id":125244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:35:53] local.INFO: IMEI packet received {"connection_id":125244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":125244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:35:57] local.INFO: TCP Data received {"connection_id":125244,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:35:57] local.INFO: Processing buffer {"connection_id":125244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:35:57] local.INFO: IMEI packet received {"connection_id":125244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":125244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:36:00] local.INFO: TCP Data received {"connection_id":125244,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:36:00] local.INFO: Processing buffer {"connection_id":125244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:36:00] local.INFO: IMEI packet received {"connection_id":125244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":125244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:36:06] local.INFO: TCP Data received {"connection_id":125244,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3faedfc8012d80868005a3d2880008015c2d..."} 
[2026-07-08 08:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3faedfc8012d80868005a3d2880008015c2d..."} 
[2026-07-08 08:36:06] local.INFO: Processing buffer {"connection_id":125244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3faedfc8012d80868005a3d2880008015c2d..."} 
[2026-07-08 08:36:06] local.INFO: Packet analysis {"connection_id":125244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fae"} 
[2026-07-08 08:36:06] local.INFO: Extracted packet for processing {"connection_id":125244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fae"} 
[2026-07-08 08:36:06] local.INFO: GPS Element Parsed {"raw_longitude":763397760,"raw_latitude":94622344,"longitude_deg":76.339776,"latitude_deg":9.4622344,"altitude":8,"angle":348,"satellites":45,"speed":48,"hex_longitude":"2d808680","hex_latitude":"05a3d288","is_valid_coordinates":true} 
[2026-07-08 08:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570840576001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342484020782694400,"note":"Value kept but may cause issues"} 
[2026-07-08 08:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9183684040917669888,"note":"Value kept but may cause issues"} 
[2026-07-08 08:36:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,85,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 08:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783479853000,"timestamp_ms":1783479853000,"timestamp_seconds":1783479853,"priority":1,"record_length":96,"hex_timestamp":"0000019f3faedfc8"} 
[2026-07-08 08:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 08:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570840576001,"66":27647,"16":342484020782694400,"85":14336,"24":48,"45":-9183684040917669888},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,85,24,45]} 
[2026-07-08 08:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570840576001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342484020782694400,"km_value":342484020782694.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:36:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9183684040917669888,"description":"Unknown IO ID 45"} 
[2026-07-08 08:36:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456570840576001,"power":27647,"odometer":null,"unknown_85":14336,"ignition":48,"unknown_45":-9183684040917669888}} 
[2026-07-08 08:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":125244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:36:06] local.INFO: GPS data processed {"connection_id":125244,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:36:06] local.INFO: Acknowledgment sent {"connection_id":125244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:36:19] local.INFO: TCP Data received {"connection_id":125244,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3faf06d8012d807dc005a3f2e0000801512d..."} 
[2026-07-08 08:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3faf06d8012d807dc005a3f2e0000801512d..."} 
[2026-07-08 08:36:19] local.INFO: Processing buffer {"connection_id":125244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3faf06d8012d807dc005a3f2e0000801512d..."} 
[2026-07-08 08:36:19] local.INFO: Packet analysis {"connection_id":125244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3faf"} 
[2026-07-08 08:36:19] local.INFO: Extracted packet for processing {"connection_id":125244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3faf"} 
[2026-07-08 08:36:19] local.INFO: GPS Element Parsed {"raw_longitude":763395520,"raw_latitude":94630624,"longitude_deg":76.339552,"latitude_deg":9.4630624,"altitude":8,"angle":337,"satellites":45,"speed":23,"hex_longitude":"2d807dc0","hex_latitude":"05a3f2e0","is_valid_coordinates":true} 
[2026-07-08 08:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570842368001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342484437394522112,"note":"Value kept but may cause issues"} 
[2026-07-08 08:36:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9185513628263872512,"note":"Value kept but may cause issues"} 
[2026-07-08 08:36:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,85,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 08:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783479863000,"timestamp_ms":1783479863000,"timestamp_seconds":1783479863,"priority":1,"record_length":96,"hex_timestamp":"0000019f3faf06d8"} 
[2026-07-08 08:36:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:36: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-07-08 08:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 08:36:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":3028,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:36:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:36:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":125244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":125244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":125244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:36:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570842368001,"66":27767,"16":342484437394522112,"85":14336,"24":23,"45":-9185513628263872512},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,85,24,45]} 
[2026-07-08 08:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570842368001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342484437394522112,"km_value":342484437394522.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:36:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:36:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9185513628263872512,"description":"Unknown IO ID 45"} 
[2026-07-08 08:36:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456570842368001,"power":27767,"odometer":null,"unknown_85":14336,"ignition":23,"unknown_45":-9185513628263872512}} 
[2026-07-08 08:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":125244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:36:19] local.INFO: GPS data processed {"connection_id":125244,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:36:19] local.INFO: Acknowledgment sent {"connection_id":125244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:36:28] local.INFO: TCP Data received {"connection_id":127258,"ip":"42.106.6.39","data_length":51,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-08 08:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127258,"packet_length":51,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-08 08:36:28] local.INFO: Processing buffer {"connection_id":127258,"buffer_length":51,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-08 08:36:28] local.INFO: IMEI packet received {"connection_id":127258,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":127258,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:36:52] local.INFO: TCP Data received {"connection_id":125246,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125246,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:36:52] local.INFO: Processing buffer {"connection_id":125246,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:36:52] local.INFO: IMEI packet received {"connection_id":125246,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":125246,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:36:56] local.INFO: TCP Data received {"connection_id":125151,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:36:56] local.INFO: Processing buffer {"connection_id":125151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:36:56] local.INFO: IMEI packet received {"connection_id":125151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":125151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:36:57] local.INFO: TCP Data received {"connection_id":125246,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125246,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:36:57] local.INFO: Processing buffer {"connection_id":125246,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:36:57] local.INFO: IMEI packet received {"connection_id":125246,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":125246,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:36:58] local.INFO: TCP Data received {"connection_id":125246,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3faf6880012d7d1bc005ea7c78000a00042c..."} 
[2026-07-08 08:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3faf6880012d7d1bc005ea7c78000a00042c..."} 
[2026-07-08 08:36:58] local.INFO: Processing buffer {"connection_id":125246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3faf6880012d7d1bc005ea7c78000a00042c..."} 
[2026-07-08 08:36:58] local.INFO: Packet analysis {"connection_id":125246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3faf"} 
[2026-07-08 08:36:58] local.INFO: Extracted packet for processing {"connection_id":125246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3faf"} 
[2026-07-08 08:36:58] local.INFO: GPS Element Parsed {"raw_longitude":763173824,"raw_latitude":99253368,"longitude_deg":76.3173824,"latitude_deg":9.9253368,"altitude":10,"angle":4,"satellites":44,"speed":20,"hex_longitude":"2d7d1bc0","hex_latitude":"05ea7c78","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570847744001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103661814532800512,"note":"Value kept but may cause issues"} 
[2026-07-08 08:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014447260797806592,"note":"Value kept but may cause issues"} 
[2026-07-08 08:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783479888000,"timestamp_ms":1783479888000,"timestamp_seconds":1783479888,"priority":1,"record_length":96,"hex_timestamp":"0000019f3faf6880"} 
[2026-07-08 08:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 08:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303167022615894,"note":"Value kept but may cause issues"} 
[2026-07-08 08:36:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 08:36:58] local.WARNING: Large IO value detected {"io_id":192,"raw_value":58079734643818531,"note":"Value kept but may cause issues"} 
[2026-07-08 08:36:58] local.WARNING: Large IO value detected {"io_id":70,"raw_value":3707764736,"note":"Value kept but may cause issues"} 
[2026-07-08 08:36:58] local.WARNING: Large IO value detected {"io_id":63,"raw_value":2928781313,"note":"Value kept but may cause issues"} 
[2026-07-08 08:36:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455423694,"corrected_to":0} 
[2026-07-08 08:36:58] local.WARNING: Large IO value detected {"io_id":106,"raw_value":2550214013,"note":"Value kept but may cause issues"} 
[2026-07-08 08:36:58] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053505879,"note":"Value kept but may cause issues"} 
[2026-07-08 08:36:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3924365312,"note":"Value kept but may cause issues"} 
[2026-07-08 08:36:58] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,154,87,24,241,157,16,71,159,243,45,128,53,10,41,66,192,64,51,8,43,1,240,79,227,70,63,234,4,113,205,13,106,21,120,239,50,156,2,112,5,7,35],"length":486,"final_offset":616,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1455423694,"validated":0}]} 
[2026-07-08 08:36:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864695711187468288,"timestamp_seconds":864695711187468.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 08:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":125246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":125246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":125246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570847744001,"66":13276,"154":206,"87":13824,"24":20,"16":103661814532800512,"45":9014447260797806592},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-07-08 08:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570847744001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:36:58] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-08 08:36:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103661814532800512,"km_value":103661814532800.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014447260797806592,"description":"Unknown IO ID 45"} 
[2026-07-08 08:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570847744001,"power":13276,"unknown_154":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":9014447260797806592}} 
[2026-07-08 08:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":125246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449761,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:36:58] local.INFO: GPS data processed {"connection_id":125246,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:36:58] local.INFO: Acknowledgment sent {"connection_id":125246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:37:02] local.INFO: TCP Data received {"connection_id":125151,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:37:02] local.INFO: Processing buffer {"connection_id":125151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:37:02] local.INFO: IMEI packet received {"connection_id":125151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":125151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:37:03] local.INFO: TCP Data received {"connection_id":125151,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3faf1678012d807b4005a3fae0000801602d..."} 
[2026-07-08 08:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3faf1678012d807b4005a3fae0000801602d..."} 
[2026-07-08 08:37:03] local.INFO: Processing buffer {"connection_id":125151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3faf1678012d807b4005a3fae0000801602d..."} 
[2026-07-08 08:37:03] local.INFO: Packet analysis {"connection_id":125151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3faf"} 
[2026-07-08 08:37:03] local.INFO: Extracted packet for processing {"connection_id":125151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3faf"} 
[2026-07-08 08:37:03] local.INFO: GPS Element Parsed {"raw_longitude":763394880,"raw_latitude":94632672,"longitude_deg":76.339488,"latitude_deg":9.4632672,"altitude":8,"angle":352,"satellites":45,"speed":20,"hex_longitude":"2d807b40","hex_latitude":"05a3fae0","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570844928001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342484540473737216,"note":"Value kept but may cause issues"} 
[2026-07-08 08:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9187976534307971072,"note":"Value kept but may cause issues"} 
[2026-07-08 08:37:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,85,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 08:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783479867000,"timestamp_ms":1783479867000,"timestamp_seconds":1783479867,"priority":1,"record_length":96,"hex_timestamp":"0000019f3faf1678"} 
[2026-07-08 08:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08: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-07-08 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 08:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570844928001,"66":27745,"16":342484540473737216,"85":14336,"24":20,"45":-9187976534307971072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,85,24,45]} 
[2026-07-08 08:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570844928001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342484540473737216,"km_value":342484540473737.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:37:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9187976534307971072,"description":"Unknown IO ID 45"} 
[2026-07-08 08:37:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456570844928001,"power":27745,"odometer":null,"unknown_85":14336,"ignition":20,"unknown_45":-9187976534307971072}} 
[2026-07-08 08:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":125151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:37:03] local.INFO: GPS data processed {"connection_id":125151,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:37:03] local.INFO: Acknowledgment sent {"connection_id":125151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:37:29] local.INFO: TCP Data received {"connection_id":125246,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb18f48012d7d1d8005eafeb8000b00f82b..."} 
[2026-07-08 08:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb18f48012d7d1d8005eafeb8000b00f82b..."} 
[2026-07-08 08:37:29] local.INFO: Processing buffer {"connection_id":125246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb18f48012d7d1d8005eafeb8000b00f82b..."} 
[2026-07-08 08:37:29] local.INFO: Packet analysis {"connection_id":125246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb1"} 
[2026-07-08 08:37:29] local.INFO: Extracted packet for processing {"connection_id":125246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb1"} 
[2026-07-08 08:37:29] local.INFO: GPS Element Parsed {"raw_longitude":763174272,"raw_latitude":99286712,"longitude_deg":76.3174272,"latitude_deg":9.9286712,"altitude":11,"angle":248,"satellites":43,"speed":8,"hex_longitude":"2d7d1d80","hex_latitude":"05eafeb8","is_valid_coordinates":true} 
[2026-07-08 08:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570886912001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103663480980111360,"note":"Value kept but may cause issues"} 
[2026-07-08 08:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015925004436451328,"note":"Value kept but may cause issues"} 
[2026-07-08 08:37:29] 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-07-08 08:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783480029000,"timestamp_ms":1783480029000,"timestamp_seconds":1783480029,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb18f48"} 
[2026-07-08 08:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:37:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-08 08:37:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:37:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":125246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":125246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":125246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:37:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570886912001,"66":13015,"158":206,"87":13824,"24":8,"16":103663480980111360,"45":9015925004436451328},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-08 08:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570886912001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:37:29] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-08 08:37:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103663480980111360,"km_value":103663480980111.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015925004436451328,"description":"Unknown IO ID 45"} 
[2026-07-08 08:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570886912001,"power":13015,"unknown_158":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9015925004436451328}} 
[2026-07-08 08:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":125246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449763,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:37:29] local.INFO: GPS data processed {"connection_id":125246,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:37:29] local.INFO: Acknowledgment sent {"connection_id":125246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:37:34] local.INFO: TCP Data received {"connection_id":125151,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb0fec0012d7ff08005a52618000a01322c..."} 
[2026-07-08 08:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb0fec0012d7ff08005a52618000a01322c..."} 
[2026-07-08 08:37:34] local.INFO: Processing buffer {"connection_id":125151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb0fec0012d7ff08005a52618000a01322c..."} 
[2026-07-08 08:37:34] local.INFO: Packet analysis {"connection_id":125151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb0"} 
[2026-07-08 08:37:34] local.INFO: Extracted packet for processing {"connection_id":125151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb0"} 
[2026-07-08 08:37:34] local.INFO: GPS Element Parsed {"raw_longitude":763359360,"raw_latitude":94709272,"longitude_deg":76.335936,"latitude_deg":9.4709272,"altitude":10,"angle":306,"satellites":44,"speed":40,"hex_longitude":"2d7ff080","hex_latitude":"05a52618","is_valid_coordinates":true} 
[2026-07-08 08:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570875648001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342488771016523776,"note":"Value kept but may cause issues"} 
[2026-07-08 08:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9219853575401848832,"note":"Value kept but may cause issues"} 
[2026-07-08 08:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783479992000,"timestamp_ms":1783479992000,"timestamp_seconds":1783479992,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb0fec0"} 
[2026-07-08 08:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 08:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570875648001,"66":27767,"54":206,"85":14336,"24":40,"16":342488771016523776,"45":-9219853575401848832},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,85,24,16,45]} 
[2026-07-08 08:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570875648001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:37:34] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-07-08 08:37:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342488771016523776,"km_value":342488771016523.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9219853575401848832,"description":"Unknown IO ID 45"} 
[2026-07-08 08:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570875648001,"power":27767,"unknown_54":206,"unknown_85":14336,"ignition":40,"odometer":null,"unknown_45":-9219853575401848832}} 
[2026-07-08 08:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":125151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:37:34] local.INFO: GPS data processed {"connection_id":125151,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:37:34] local.INFO: Acknowledgment sent {"connection_id":125151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:37:47] local.INFO: TCP Data received {"connection_id":125154,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125154,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:37:47] local.INFO: Processing buffer {"connection_id":125154,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:37:47] local.INFO: IMEI packet received {"connection_id":125154,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":125154,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:37:48] local.INFO: TCP Data received {"connection_id":125154,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125154,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:37:48] local.INFO: Processing buffer {"connection_id":125154,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:37:48] local.INFO: IMEI packet received {"connection_id":125154,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":125154,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:37:52] local.INFO: TCP Data received {"connection_id":125154,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125154,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:37:52] local.INFO: Processing buffer {"connection_id":125154,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:37:52] local.INFO: IMEI packet received {"connection_id":125154,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":125154,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:37:53] local.INFO: TCP Data received {"connection_id":125154,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb1c5f8012d7d090005eaf528001100ed2e..."} 
[2026-07-08 08:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb1c5f8012d7d090005eaf528001100ed2e..."} 
[2026-07-08 08:37:53] local.INFO: Processing buffer {"connection_id":125154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb1c5f8012d7d090005eaf528001100ed2e..."} 
[2026-07-08 08:37:53] local.INFO: Packet analysis {"connection_id":125154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb1"} 
[2026-07-08 08:37:53] local.INFO: Extracted packet for processing {"connection_id":125154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb1"} 
[2026-07-08 08:37:53] local.INFO: GPS Element Parsed {"raw_longitude":763169024,"raw_latitude":99284264,"longitude_deg":76.3169024,"latitude_deg":9.9284264,"altitude":17,"angle":237,"satellites":46,"speed":24,"hex_longitude":"2d7d0900","hex_latitude":"05eaf528","is_valid_coordinates":true} 
[2026-07-08 08:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570887424001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103663760152985600,"note":"Value kept but may cause issues"} 
[2026-07-08 08:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015502791971354624,"note":"Value kept but may cause issues"} 
[2026-07-08 08:37:53] 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-07-08 08:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783480043000,"timestamp_ms":1783480043000,"timestamp_seconds":1783480043,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb1c5f8"} 
[2026-07-08 08:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-08 08:37:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:37:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570887424001,"66":13059,"158":206,"87":13824,"24":24,"16":103663760152985600,"45":9015502791971354624},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-08 08:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570887424001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:37:53] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-08 08:37:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103663760152985600,"km_value":103663760152985.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015502791971354624,"description":"Unknown IO ID 45"} 
[2026-07-08 08:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570887424001,"power":13059,"unknown_158":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":9015502791971354624}} 
[2026-07-08 08:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":125154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449765,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:37:53] local.INFO: GPS data processed {"connection_id":125154,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:37:53] local.INFO: Acknowledgment sent {"connection_id":125154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:37:57] local.INFO: TCP Data received {"connection_id":127259,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:37:57] local.INFO: Processing buffer {"connection_id":127259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:37:57] local.INFO: IMEI packet received {"connection_id":127259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":127259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:37:58] local.INFO: TCP Data received {"connection_id":127259,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:37:58] local.INFO: Processing buffer {"connection_id":127259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:37:58] local.INFO: IMEI packet received {"connection_id":127259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":127259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:38:02] local.INFO: TCP Data received {"connection_id":127259,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:38:02] local.INFO: Processing buffer {"connection_id":127259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:38:02] local.INFO: IMEI packet received {"connection_id":127259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":127259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:38:02] local.INFO: TCP Data received {"connection_id":127259,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb121e8012d7fd3c005a53a90000901302d..."} 
[2026-07-08 08:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb121e8012d7fd3c005a53a90000901302d..."} 
[2026-07-08 08:38:02] local.INFO: Processing buffer {"connection_id":127259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb121e8012d7fd3c005a53a90000901302d..."} 
[2026-07-08 08:38:02] local.INFO: Packet analysis {"connection_id":127259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb1"} 
[2026-07-08 08:38:02] local.INFO: Extracted packet for processing {"connection_id":127259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb1"} 
[2026-07-08 08:38:02] local.INFO: GPS Element Parsed {"raw_longitude":763352000,"raw_latitude":94714512,"longitude_deg":76.3352,"latitude_deg":9.4714512,"altitude":9,"angle":304,"satellites":45,"speed":40,"hex_longitude":"2d7fd3c0","hex_latitude":"05a53a90","is_valid_coordinates":true} 
[2026-07-08 08:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570877952001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342489209103187968,"note":"Value kept but may cause issues"} 
[2026-07-08 08:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9219009198961334272,"note":"Value kept but may cause issues"} 
[2026-07-08 08:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783480001000,"timestamp_ms":1783480001000,"timestamp_seconds":1783480001,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb121e8"} 
[2026-07-08 08:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:38: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-07-08 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 08:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570877952001,"66":27713,"54":206,"85":14336,"24":40,"16":342489209103187968,"45":9219009198961334272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,85,24,16,45]} 
[2026-07-08 08:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570877952001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:38:02] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-07-08 08:38:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342489209103187968,"km_value":342489209103187.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9219009198961334272,"description":"Unknown IO ID 45"} 
[2026-07-08 08:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570877952001,"power":27713,"unknown_54":206,"unknown_85":14336,"ignition":40,"odometer":null,"unknown_45":9219009198961334272}} 
[2026-07-08 08:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":127259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:38:02] local.INFO: GPS data processed {"connection_id":127259,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:38:02] local.INFO: Acknowledgment sent {"connection_id":127259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:38:07] local.INFO: TCP Data received {"connection_id":127259,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb148f8012d7fb28005a54ef0000901292e..."} 
[2026-07-08 08:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb148f8012d7fb28005a54ef0000901292e..."} 
[2026-07-08 08:38:07] local.INFO: Processing buffer {"connection_id":127259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb148f8012d7fb28005a54ef0000901292e..."} 
[2026-07-08 08:38:07] local.INFO: Packet analysis {"connection_id":127259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb1"} 
[2026-07-08 08:38:07] local.INFO: Extracted packet for processing {"connection_id":127259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb1"} 
[2026-07-08 08:38:07] local.INFO: GPS Element Parsed {"raw_longitude":763343488,"raw_latitude":94719728,"longitude_deg":76.3343488,"latitude_deg":9.4719728,"altitude":9,"angle":297,"satellites":46,"speed":41,"hex_longitude":"2d7fb280","hex_latitude":"05a54ef0","is_valid_coordinates":true} 
[2026-07-08 08:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570880256001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342489685844557824,"note":"Value kept but may cause issues"} 
[2026-07-08 08:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9210916793382244352,"note":"Value kept but may cause issues"} 
[2026-07-08 08:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783480011000,"timestamp_ms":1783480011000,"timestamp_seconds":1783480011,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb148f8"} 
[2026-07-08 08:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 08:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570880256001,"66":27767,"32":206,"85":14336,"24":41,"16":342489685844557824,"45":9210916793382244352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,85,24,16,45]} 
[2026-07-08 08:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570880256001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:38:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-08 08:38:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342489685844557824,"km_value":342489685844557.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9210916793382244352,"description":"Unknown IO ID 45"} 
[2026-07-08 08:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570880256001,"power":27767,"unknown_32":206,"unknown_85":14336,"ignition":41,"odometer":null,"unknown_45":9210916793382244352}} 
[2026-07-08 08:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":127259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:38:07] local.INFO: GPS data processed {"connection_id":127259,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:38:07] local.INFO: Acknowledgment sent {"connection_id":127259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:38:24] local.INFO: TCP Data received {"connection_id":125154,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb1d598012d7d034005eaf1c0001100fb2d..."} 
[2026-07-08 08:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb1d598012d7d034005eaf1c0001100fb2d..."} 
[2026-07-08 08:38:24] local.INFO: Processing buffer {"connection_id":125154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb1d598012d7d034005eaf1c0001100fb2d..."} 
[2026-07-08 08:38:24] local.INFO: Packet analysis {"connection_id":125154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb1"} 
[2026-07-08 08:38:24] local.INFO: Extracted packet for processing {"connection_id":125154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb1"} 
[2026-07-08 08:38:24] local.INFO: GPS Element Parsed {"raw_longitude":763167552,"raw_latitude":99283392,"longitude_deg":76.3167552,"latitude_deg":9.9283392,"altitude":17,"angle":251,"satellites":45,"speed":8,"hex_longitude":"2d7d0340","hex_latitude":"05eaf1c0","is_valid_coordinates":true} 
[2026-07-08 08:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570891008001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103663841757364224,"note":"Value kept but may cause issues"} 
[2026-07-08 08:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009732554948159488,"note":"Value kept but may cause issues"} 
[2026-07-08 08:38:24] 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-07-08 08:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783480047000,"timestamp_ms":1783480047000,"timestamp_seconds":1783480047,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb1d598"} 
[2026-07-08 08:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:38: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-07-08 08:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 08:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160999595344,"note":"Value kept but may cause issues"} 
[2026-07-08 08:38:24] local.WARNING: Large IO value detected {"io_id":158,"raw_value":58079734643818505,"note":"Value kept but may cause issues"} 
[2026-07-08 08:38:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 08:38:24] local.WARNING: Large IO value detected {"io_id":63,"raw_value":2977421313,"note":"Value kept but may cause issues"} 
[2026-07-08 08:38:24] local.WARNING: Large IO value detected {"io_id":234,"raw_value":4258267147,"note":"Value kept but may cause issues"} 
[2026-07-08 08:38:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1352532174,"corrected_to":0} 
[2026-07-08 08:38:24] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3940636672,"note":"Value kept but may cause issues"} 
[2026-07-08 08:38:24] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,158,87,24,241,157,16,73,159,143,45,128,254,11,43,10,66,135,255,44,127,64,1,240,237,227,63,234,4,113,205,104,32,96,239,50,2,112,5,7,9],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1352532174,"validated":0}]} 
[2026-07-08 08:38:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225239880470626304,"timestamp_seconds":1225239880470626.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 08:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570891008001,"66":12961,"158":206,"87":13824,"24":8,"16":103663841757364224,"45":9009732554948159488},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-08 08:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570891008001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:38:24] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-08 08:38:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103663841757364224,"km_value":103663841757364.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009732554948159488,"description":"Unknown IO ID 45"} 
[2026-07-08 08:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570891008001,"power":12961,"unknown_158":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9009732554948159488}} 
[2026-07-08 08:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":125154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449768,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:38:24] local.INFO: GPS data processed {"connection_id":125154,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:38:24] local.INFO: Acknowledgment sent {"connection_id":125154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:38:43] local.INFO: TCP Data received {"connection_id":127259,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb173f0012d7f914005a55c80000801292e..."} 
[2026-07-08 08:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb173f0012d7f914005a55c80000801292e..."} 
[2026-07-08 08:38:43] local.INFO: Processing buffer {"connection_id":127259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb173f0012d7f914005a55c80000801292e..."} 
[2026-07-08 08:38:43] local.INFO: Packet analysis {"connection_id":127259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb1"} 
[2026-07-08 08:38:43] local.INFO: Extracted packet for processing {"connection_id":127259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb1"} 
[2026-07-08 08:38:43] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":94723200,"longitude_deg":76.3334976,"latitude_deg":9.47232,"altitude":8,"angle":297,"satellites":46,"speed":33,"hex_longitude":"2d7f9140","hex_latitude":"05a55c80","is_valid_coordinates":true} 
[2026-07-08 08:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570882816001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342490128226189312,"note":"Value kept but may cause issues"} 
[2026-07-08 08:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201557750407950336,"note":"Value kept but may cause issues"} 
[2026-07-08 08:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783480022000,"timestamp_ms":1783480022000,"timestamp_seconds":1783480022,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb173f0"} 
[2026-07-08 08:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:38:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 08:38:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:38:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":127259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":127259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":127259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570882816001,"66":27658,"32":206,"85":14336,"24":33,"16":342490128226189312,"45":9201557750407950336},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,85,24,16,45]} 
[2026-07-08 08:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570882816001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:38:43] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-08 08:38:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342490128226189312,"km_value":342490128226189.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201557750407950336,"description":"Unknown IO ID 45"} 
[2026-07-08 08:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570882816001,"power":27658,"unknown_32":206,"unknown_85":14336,"ignition":33,"odometer":null,"unknown_45":9201557750407950336}} 
[2026-07-08 08:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":127259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:38:43] local.INFO: GPS data processed {"connection_id":127259,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:38:43] local.INFO: Acknowledgment sent {"connection_id":127259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:38:47] local.INFO: TCP Data received {"connection_id":125156,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125156,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:38:47] local.INFO: Processing buffer {"connection_id":125156,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:38:47] local.INFO: IMEI packet received {"connection_id":125156,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":125156,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:38:52] local.INFO: TCP Data received {"connection_id":125156,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125156,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:38:52] local.INFO: Processing buffer {"connection_id":125156,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:38:52] local.INFO: IMEI packet received {"connection_id":125156,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":125156,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:38:53] local.INFO: TCP Data received {"connection_id":125156,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb223b8012d7d024005eaf118001100fd2c..."} 
[2026-07-08 08:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb223b8012d7d024005eaf118001100fd2c..."} 
[2026-07-08 08:38:53] local.INFO: Processing buffer {"connection_id":125156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb223b8012d7d024005eaf118001100fd2c..."} 
[2026-07-08 08:38:53] local.INFO: Packet analysis {"connection_id":125156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb2"} 
[2026-07-08 08:38:53] local.INFO: Extracted packet for processing {"connection_id":125156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb2"} 
[2026-07-08 08:38:53] local.INFO: GPS Element Parsed {"raw_longitude":763167296,"raw_latitude":99283224,"longitude_deg":76.3167296,"latitude_deg":9.9283224,"altitude":17,"angle":253,"satellites":44,"speed":0,"hex_longitude":"2d7d0240","hex_latitude":"05eaf118","is_valid_coordinates":true} 
[2026-07-08 08:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570892032001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103663858937233408,"note":"Value kept but may cause issues"} 
[2026-07-08 08:38:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008114073831849984,"note":"Value kept but may cause issues"} 
[2026-07-08 08:38:53] 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-07-08 08:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783480067000,"timestamp_ms":1783480067000,"timestamp_seconds":1783480067,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb223b8"} 
[2026-07-08 08:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:38:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-08 08:38: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-07-08 08:38:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:38:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570892032001,"66":12743,"158":206,"87":13824,"24":0,"16":103663858937233408,"45":9008114073831849984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-08 08:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570892032001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:38:53] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-08 08:38:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103663858937233408,"km_value":103663858937233.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:38:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008114073831849984,"description":"Unknown IO ID 45"} 
[2026-07-08 08:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570892032001,"power":12743,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9008114073831849984}} 
[2026-07-08 08:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":125156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449770,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:38:53] local.INFO: GPS data processed {"connection_id":125156,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:38:53] local.INFO: Acknowledgment sent {"connection_id":125156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:38:56] local.INFO: TCP Data received {"connection_id":125987,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:38:56] local.INFO: Processing buffer {"connection_id":125987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:38:56] local.INFO: IMEI packet received {"connection_id":125987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":125987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:39:01] local.INFO: TCP Data received {"connection_id":125987,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:39:01] local.INFO: Processing buffer {"connection_id":125987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:39:01] local.INFO: IMEI packet received {"connection_id":125987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":125987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:39:02] local.INFO: TCP Data received {"connection_id":125987,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb17fa8012d7f88c005a56200000901342f..."} 
[2026-07-08 08:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb17fa8012d7f88c005a56200000901342f..."} 
[2026-07-08 08:39:02] local.INFO: Processing buffer {"connection_id":125987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb17fa8012d7f88c005a56200000901342f..."} 
[2026-07-08 08:39:02] local.INFO: Packet analysis {"connection_id":125987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb1"} 
[2026-07-08 08:39:02] local.INFO: Extracted packet for processing {"connection_id":125987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb1"} 
[2026-07-08 08:39:02] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":94724608,"longitude_deg":76.33328,"latitude_deg":9.4724608,"altitude":9,"angle":308,"satellites":47,"speed":32,"hex_longitude":"2d7f88c0","hex_latitude":"05a56200","is_valid_coordinates":true} 
[2026-07-08 08:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570885632001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342490252780240896,"note":"Value kept but may cause issues"} 
[2026-07-08 08:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707433209856,"note":"Value kept but may cause issues"} 
[2026-07-08 08:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783480025000,"timestamp_ms":1783480025000,"timestamp_seconds":1783480025,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb17fa8"} 
[2026-07-08 08:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 08:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570885632001,"66":27691,"32":206,"85":14336,"24":32,"16":342490252780240896,"45":9192198707433209856},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,85,24,16,45]} 
[2026-07-08 08:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570885632001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:39:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-08 08:39:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342490252780240896,"km_value":342490252780240.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707433209856,"description":"Unknown IO ID 45"} 
[2026-07-08 08:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570885632001,"power":27691,"unknown_32":206,"unknown_85":14336,"ignition":32,"odometer":null,"unknown_45":9192198707433209856}} 
[2026-07-08 08:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":125987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:39:02] local.INFO: GPS data processed {"connection_id":125987,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:39:02] local.INFO: Acknowledgment sent {"connection_id":125987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:39:24] local.INFO: TCP Data received {"connection_id":125156,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb275c0012d7d014005eaeff8001101052f..."} 
[2026-07-08 08:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb275c0012d7d014005eaeff8001101052f..."} 
[2026-07-08 08:39:24] local.INFO: Processing buffer {"connection_id":125156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb275c0012d7d014005eaeff8001101052f..."} 
[2026-07-08 08:39:24] local.INFO: Packet analysis {"connection_id":125156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb2"} 
[2026-07-08 08:39:24] local.INFO: Extracted packet for processing {"connection_id":125156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb2"} 
[2026-07-08 08:39:24] local.INFO: GPS Element Parsed {"raw_longitude":763167040,"raw_latitude":99282936,"longitude_deg":76.316704,"latitude_deg":9.9282936,"altitude":17,"angle":261,"satellites":47,"speed":1,"hex_longitude":"2d7d0140","hex_latitude":"05eaeff8","is_valid_coordinates":true} 
[2026-07-08 08:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570897152001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103663876117102592,"note":"Value kept but may cause issues"} 
[2026-07-08 08:39:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007832598855096320,"note":"Value kept but may cause issues"} 
[2026-07-08 08:39:24] 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-07-08 08:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783480088000,"timestamp_ms":1783480088000,"timestamp_seconds":1783480088,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb275c0"} 
[2026-07-08 08:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:39: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-07-08 08:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-08 08:39:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:39:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:39:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570897152001,"66":13222,"158":206,"87":13824,"24":1,"16":103663876117102592,"45":9007832598855096320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-08 08:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570897152001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:39:24] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-08 08:39:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103663876117102592,"km_value":103663876117102.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:39:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007832598855096320,"description":"Unknown IO ID 45"} 
[2026-07-08 08:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570897152001,"power":13222,"unknown_158":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9007832598855096320}} 
[2026-07-08 08:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":125156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449772,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:39:24] local.INFO: GPS data processed {"connection_id":125156,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:39:24] local.INFO: Acknowledgment sent {"connection_id":125156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:39:27] local.INFO: TCP Data received {"connection_id":125157,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125157,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:39:27] local.INFO: Processing buffer {"connection_id":125157,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:39:27] local.INFO: IMEI packet received {"connection_id":125157,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 08:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":125157,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:39:33] local.INFO: TCP Data received {"connection_id":125987,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb30648012d7dd94005a664c00013014930..."} 
[2026-07-08 08:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb30648012d7dd94005a664c00013014930..."} 
[2026-07-08 08:39:33] local.INFO: Processing buffer {"connection_id":125987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb30648012d7dd94005a664c00013014930..."} 
[2026-07-08 08:39:33] local.INFO: Packet analysis {"connection_id":125987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb3"} 
[2026-07-08 08:39:33] local.INFO: Extracted packet for processing {"connection_id":125987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb3"} 
[2026-07-08 08:39:33] local.INFO: GPS Element Parsed {"raw_longitude":763222336,"raw_latitude":94790848,"longitude_deg":76.3222336,"latitude_deg":9.4790848,"altitude":19,"angle":329,"satellites":48,"speed":53,"hex_longitude":"2d7dd940","hex_latitude":"05a664c0","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570910208001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342496489072754688,"note":"Value kept but may cause issues"} 
[2026-07-08 08:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9074682904671885312,"note":"Value kept but may cause issues"} 
[2026-07-08 08:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783480125000,"timestamp_ms":1783480125000,"timestamp_seconds":1783480125,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb30648"} 
[2026-07-08 08:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-08 08:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570910208001,"66":27691,"166":206,"85":14336,"24":53,"16":342496489072754688,"45":9074682904671885312},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-07-08 08:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570910208001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:39:33] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-08 08:39:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342496489072754688,"km_value":342496489072754.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9074682904671885312,"description":"Unknown IO ID 45"} 
[2026-07-08 08:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570910208001,"power":27691,"unknown_166":206,"unknown_85":14336,"ignition":53,"odometer":null,"unknown_45":9074682904671885312}} 
[2026-07-08 08:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":125987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:39:33] local.INFO: GPS data processed {"connection_id":125987,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:39:33] local.INFO: Acknowledgment sent {"connection_id":125987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:39:47] local.INFO: TCP Data received {"connection_id":127261,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127261,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:39:47] local.INFO: Processing buffer {"connection_id":127261,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:39:47] local.INFO: IMEI packet received {"connection_id":127261,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":127261,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:39:52] local.INFO: TCP Data received {"connection_id":127261,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127261,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:39:52] local.INFO: Processing buffer {"connection_id":127261,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:39:52] local.INFO: IMEI packet received {"connection_id":127261,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":127261,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:39:53] local.INFO: TCP Data received {"connection_id":127261,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb28560012d7cff4005eaef98001100fa2f..."} 
[2026-07-08 08:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb28560012d7cff4005eaef98001100fa2f..."} 
[2026-07-08 08:39:53] local.INFO: Processing buffer {"connection_id":127261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb28560012d7cff4005eaef98001100fa2f..."} 
[2026-07-08 08:39:53] local.INFO: Packet analysis {"connection_id":127261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb2"} 
[2026-07-08 08:39:53] local.INFO: Extracted packet for processing {"connection_id":127261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb2"} 
[2026-07-08 08:39:53] local.INFO: GPS Element Parsed {"raw_longitude":763166528,"raw_latitude":99282840,"longitude_deg":76.3166528,"latitude_deg":9.928284,"altitude":17,"angle":250,"satellites":47,"speed":7,"hex_longitude":"2d7cff40","hex_latitude":"05eaef98","is_valid_coordinates":true} 
[2026-07-08 08:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570902528001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103663901886906368,"note":"Value kept but may cause issues"} 
[2026-07-08 08:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007551123878311936,"note":"Value kept but may cause issues"} 
[2026-07-08 08:39:53] 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-07-08 08:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783480092000,"timestamp_ms":1783480092000,"timestamp_seconds":1783480092,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb28560"} 
[2026-07-08 08:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:39:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-08 08:39:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:39:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":127261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":127261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":127261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:39:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570902528001,"66":13243,"158":206,"87":13824,"24":7,"16":103663901886906368,"45":9007551123878311936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-08 08:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570902528001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:39:53] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-08 08:39:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103663901886906368,"km_value":103663901886906.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007551123878311936,"description":"Unknown IO ID 45"} 
[2026-07-08 08:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570902528001,"power":13243,"unknown_158":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":9007551123878311936}} 
[2026-07-08 08:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":127261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449774,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:39:53] local.INFO: GPS data processed {"connection_id":127261,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:39:53] local.INFO: Acknowledgment sent {"connection_id":127261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:39:56] local.INFO: TCP Data received {"connection_id":125158,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:39:56] local.INFO: Processing buffer {"connection_id":125158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:39:56] local.INFO: IMEI packet received {"connection_id":125158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":125158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:39:57] local.INFO: TCP Data received {"connection_id":125988,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125988,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:39:57] local.INFO: Processing buffer {"connection_id":125988,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:39:57] local.INFO: IMEI packet received {"connection_id":125988,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 08:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":125988,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:39:57] local.INFO: TCP Data received {"connection_id":125158,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:39:57] local.INFO: Processing buffer {"connection_id":125158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:39:57] local.INFO: IMEI packet received {"connection_id":125158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":125158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:40:01] local.INFO: TCP Data received {"connection_id":125158,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:40:01] local.INFO: Processing buffer {"connection_id":125158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:40:01] local.INFO: IMEI packet received {"connection_id":125158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":125158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:40:02] local.INFO: TCP Data received {"connection_id":125158,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb30648012d7dd94005a664c00013014930..."} 
[2026-07-08 08:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb30648012d7dd94005a664c00013014930..."} 
[2026-07-08 08:40:02] local.INFO: Processing buffer {"connection_id":125158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb30648012d7dd94005a664c00013014930..."} 
[2026-07-08 08:40:02] local.INFO: Packet analysis {"connection_id":125158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb3"} 
[2026-07-08 08:40:02] local.INFO: Extracted packet for processing {"connection_id":125158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb3"} 
[2026-07-08 08:40:02] local.INFO: GPS Element Parsed {"raw_longitude":763222336,"raw_latitude":94790848,"longitude_deg":76.3222336,"latitude_deg":9.4790848,"altitude":19,"angle":329,"satellites":48,"speed":53,"hex_longitude":"2d7dd940","hex_latitude":"05a664c0","is_valid_coordinates":true} 
[2026-07-08 08:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570912000001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342496489072754688,"note":"Value kept but may cause issues"} 
[2026-07-08 08:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068349717697839104,"note":"Value kept but may cause issues"} 
[2026-07-08 08:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783480125000,"timestamp_ms":1783480125000,"timestamp_seconds":1783480125,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb30648"} 
[2026-07-08 08:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 08:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570912000001,"66":27691,"166":206,"85":14336,"24":53,"16":342496489072754688,"45":9068349717697839104},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-07-08 08:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570912000001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:40:02] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-08 08:40:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342496489072754688,"km_value":342496489072754.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068349717697839104,"description":"Unknown IO ID 45"} 
[2026-07-08 08:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570912000001,"power":27691,"unknown_166":206,"unknown_85":14336,"ignition":53,"odometer":null,"unknown_45":9068349717697839104}} 
[2026-07-08 08:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":125158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:40:02] local.INFO: GPS data processed {"connection_id":125158,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:40:02] local.INFO: Acknowledgment sent {"connection_id":125158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:40:24] local.INFO: TCP Data received {"connection_id":127261,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb29cd0012d7cfa8005eaeee8001101082e..."} 
[2026-07-08 08:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb29cd0012d7cfa8005eaeee8001101082e..."} 
[2026-07-08 08:40:24] local.INFO: Processing buffer {"connection_id":127261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb29cd0012d7cfa8005eaeee8001101082e..."} 
[2026-07-08 08:40:24] local.INFO: Packet analysis {"connection_id":127261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb2"} 
[2026-07-08 08:40:24] local.INFO: Extracted packet for processing {"connection_id":127261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb2"} 
[2026-07-08 08:40:24] local.INFO: GPS Element Parsed {"raw_longitude":763165312,"raw_latitude":99282664,"longitude_deg":76.3165312,"latitude_deg":9.9282664,"altitude":17,"angle":264,"satellites":46,"speed":6,"hex_longitude":"2d7cfa80","hex_latitude":"05eaeee8","is_valid_coordinates":true} 
[2026-07-08 08:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570903552001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103663962016448512,"note":"Value kept but may cause issues"} 
[2026-07-08 08:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9006988173924866048,"note":"Value kept but may cause issues"} 
[2026-07-08 08:40:24] 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-07-08 08:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783480098000,"timestamp_ms":1783480098000,"timestamp_seconds":1783480098,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb29cd0"} 
[2026-07-08 08:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:40: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-07-08 08:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-08 08:40:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:40:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":127261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":127261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":127261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:40:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570903552001,"66":13276,"158":206,"87":13824,"24":6,"16":103663962016448512,"45":9006988173924866048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-08 08:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570903552001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:40:24] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-08 08:40:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103663962016448512,"km_value":103663962016448.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9006988173924866048,"description":"Unknown IO ID 45"} 
[2026-07-08 08:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570903552001,"power":13276,"unknown_158":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9006988173924866048}} 
[2026-07-08 08:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":127261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449776,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:40:24] local.INFO: GPS data processed {"connection_id":127261,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:40:24] local.INFO: Acknowledgment sent {"connection_id":127261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:40:33] local.INFO: TCP Data received {"connection_id":125158,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb31db8012d7dcc0005a68158001201542f..."} 
[2026-07-08 08:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb31db8012d7dcc0005a68158001201542f..."} 
[2026-07-08 08:40:33] local.INFO: Processing buffer {"connection_id":125158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb31db8012d7dcc0005a68158001201542f..."} 
[2026-07-08 08:40:33] local.INFO: Packet analysis {"connection_id":125158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb3"} 
[2026-07-08 08:40:33] local.INFO: Extracted packet for processing {"connection_id":125158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb3"} 
[2026-07-08 08:40:33] local.INFO: GPS Element Parsed {"raw_longitude":763218944,"raw_latitude":94798168,"longitude_deg":76.3218944,"latitude_deg":9.4798168,"altitude":18,"angle":340,"satellites":47,"speed":53,"hex_longitude":"2d7dcc00","hex_latitude":"05a68158","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570912000001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342496879914778624,"note":"Value kept but may cause issues"} 
[2026-07-08 08:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068349717697839104,"note":"Value kept but may cause issues"} 
[2026-07-08 08:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783480131000,"timestamp_ms":1783480131000,"timestamp_seconds":1783480131,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb31db8"} 
[2026-07-08 08:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 08:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570912000001,"66":27658,"166":206,"85":14336,"24":53,"16":342496879914778624,"45":9068349717697839104},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-07-08 08:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570912000001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:40:33] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-08 08:40:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342496879914778624,"km_value":342496879914778.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068349717697839104,"description":"Unknown IO ID 45"} 
[2026-07-08 08:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570912000001,"power":27658,"unknown_166":206,"unknown_85":14336,"ignition":53,"odometer":null,"unknown_45":9068349717697839104}} 
[2026-07-08 08:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":125158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:40:33] local.INFO: GPS data processed {"connection_id":125158,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:40:33] local.INFO: Acknowledgment sent {"connection_id":125158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:40:49] local.INFO: TCP Data received {"connection_id":127262,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127262,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:40:49] local.INFO: Processing buffer {"connection_id":127262,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:40:49] local.INFO: IMEI packet received {"connection_id":127262,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":127262,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:40:52] local.INFO: TCP Data received {"connection_id":127262,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127262,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:40:52] local.INFO: Processing buffer {"connection_id":127262,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:40:52] local.INFO: IMEI packet received {"connection_id":127262,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":127262,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:40:57] local.INFO: TCP Data received {"connection_id":127262,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127262,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:40:57] local.INFO: Processing buffer {"connection_id":127262,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:40:57] local.INFO: IMEI packet received {"connection_id":127262,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":127262,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:40:59] local.INFO: TCP Data received {"connection_id":127262,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb2b828012d7cf68005eaee88001100fb2a..."} 
[2026-07-08 08:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb2b828012d7cf68005eaee88001100fb2a..."} 
[2026-07-08 08:40:59] local.INFO: Processing buffer {"connection_id":127262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb2b828012d7cf68005eaee88001100fb2a..."} 
[2026-07-08 08:40:59] local.INFO: Packet analysis {"connection_id":127262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb2"} 
[2026-07-08 08:40:59] local.INFO: Extracted packet for processing {"connection_id":127262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb2"} 
[2026-07-08 08:40:59] local.INFO: GPS Element Parsed {"raw_longitude":763164288,"raw_latitude":99282568,"longitude_deg":76.3164288,"latitude_deg":9.9282568,"altitude":17,"angle":251,"satellites":42,"speed":2,"hex_longitude":"2d7cf680","hex_latitude":"05eaee88","is_valid_coordinates":true} 
[2026-07-08 08:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570905088001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103664009261088768,"note":"Value kept but may cause issues"} 
[2026-07-08 08:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005651167785445376,"note":"Value kept but may cause issues"} 
[2026-07-08 08:40:59] 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-07-08 08:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783480105000,"timestamp_ms":1783480105000,"timestamp_seconds":1783480105,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb2b828"} 
[2026-07-08 08:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:40: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":220,"data_length":795,"current_offset":136} 
[2026-07-08 08:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":127262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":127262,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":127262,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570905088001,"66":12939,"158":206,"87":13824,"24":2,"16":103664009261088768,"45":9005651167785445376},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-08 08:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570905088001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:40:59] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-08 08:40:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103664009261088768,"km_value":103664009261088.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005651167785445376,"description":"Unknown IO ID 45"} 
[2026-07-08 08:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570905088001,"power":12939,"unknown_158":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9005651167785445376}} 
[2026-07-08 08:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":127262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449778,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:40:59] local.INFO: GPS data processed {"connection_id":127262,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:40:59] local.INFO: Acknowledgment sent {"connection_id":127262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:41:03] local.INFO: TCP Data received {"connection_id":127262,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb30648012d7cf3c005eaeef00011010e24..."} 
[2026-07-08 08:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb30648012d7cf3c005eaeef00011010e24..."} 
[2026-07-08 08:41:03] local.INFO: Processing buffer {"connection_id":127262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb30648012d7cf3c005eaeef00011010e24..."} 
[2026-07-08 08:41:03] local.INFO: Packet analysis {"connection_id":127262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb3"} 
[2026-07-08 08:41:03] local.INFO: Extracted packet for processing {"connection_id":127262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb3"} 
[2026-07-08 08:41:03] local.INFO: GPS Element Parsed {"raw_longitude":763163584,"raw_latitude":99282672,"longitude_deg":76.3163584,"latitude_deg":9.9282672,"altitude":17,"angle":270,"satellites":36,"speed":1,"hex_longitude":"2d7cf3c0","hex_latitude":"05eaeef0","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570906880001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103664043620827136,"note":"Value kept but may cause issues"} 
[2026-07-08 08:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004525267878578176,"note":"Value kept but may cause issues"} 
[2026-07-08 08:41:03] 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-07-08 08:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783480125000,"timestamp_ms":1783480125000,"timestamp_seconds":1783480125,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb30648"} 
[2026-07-08 08:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-08 08:41: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-07-08 08: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-07-08 08:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127262,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127262,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570906880001,"66":13254,"158":206,"87":13824,"24":1,"16":103664043620827136,"45":9004525267878578176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-08 08:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570906880001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:41:03] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-08 08:41:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103664043620827136,"km_value":103664043620827.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004525267878578176,"description":"Unknown IO ID 45"} 
[2026-07-08 08:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570906880001,"power":13254,"unknown_158":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9004525267878578176}} 
[2026-07-08 08:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":127262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449779,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:41:03] local.INFO: GPS data processed {"connection_id":127262,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:41:03] local.INFO: Acknowledgment sent {"connection_id":127262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:41:07] local.INFO: TCP Data received {"connection_id":125247,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:41:07] local.INFO: Processing buffer {"connection_id":125247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:41:07] local.INFO: IMEI packet received {"connection_id":125247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":125247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:41:11] local.INFO: TCP Data received {"connection_id":125247,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:41:11] local.INFO: Processing buffer {"connection_id":125247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:41:11] local.INFO: IMEI packet received {"connection_id":125247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":125247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:41:27] local.INFO: TCP Data received {"connection_id":125247,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:41:27] local.INFO: Processing buffer {"connection_id":125247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:41:27] local.INFO: IMEI packet received {"connection_id":125247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":125247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:41:29] local.INFO: TCP Data received {"connection_id":125247,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb44a80012d7d660005a817000010015b31..."} 
[2026-07-08 08:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb44a80012d7d660005a817000010015b31..."} 
[2026-07-08 08:41:29] local.INFO: Processing buffer {"connection_id":125247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb44a80012d7d660005a817000010015b31..."} 
[2026-07-08 08:41:29] local.INFO: Packet analysis {"connection_id":125247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb4"} 
[2026-07-08 08:41:29] local.INFO: Extracted packet for processing {"connection_id":125247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb4"} 
[2026-07-08 08:41:29] local.INFO: GPS Element Parsed {"raw_longitude":763192832,"raw_latitude":94902016,"longitude_deg":76.3192832,"latitude_deg":9.4902016,"altitude":16,"angle":347,"satellites":49,"speed":56,"hex_longitude":"2d7d6600","hex_latitude":"05a81700","is_valid_coordinates":true} 
[2026-07-08 08:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570931456001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342502068235272192,"note":"Value kept but may cause issues"} 
[2026-07-08 08:41:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9038302263959955456,"note":"Value kept but may cause issues"} 
[2026-07-08 08:41:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783480208000,"timestamp_ms":1783480208000,"timestamp_seconds":1783480208,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb44a80"} 
[2026-07-08 08:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:41:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 08:41:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:41:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":125247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":125247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":125247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:41:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570931456001,"66":27745,"63":206,"85":14336,"24":56,"16":342502068235272192,"45":9038302263959955456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-08 08:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570931456001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:41:29] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-08 08:41:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342502068235272192,"km_value":342502068235272.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:41:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9038302263959955456,"description":"Unknown IO ID 45"} 
[2026-07-08 08:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570931456001,"power":27745,"unknown_63":206,"unknown_85":14336,"ignition":56,"odometer":null,"unknown_45":9038302263959955456}} 
[2026-07-08 08:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":125247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:41:29] local.INFO: GPS data processed {"connection_id":125247,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:41:29] local.INFO: Acknowledgment sent {"connection_id":125247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:41:30] local.INFO: TCP Data received {"connection_id":125247,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb465d8012d7d5d4005a83c600010015b2e..."} 
[2026-07-08 08:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb465d8012d7d5d4005a83c600010015b2e..."} 
[2026-07-08 08:41:30] local.INFO: Processing buffer {"connection_id":125247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb465d8012d7d5d4005a83c600010015b2e..."} 
[2026-07-08 08:41:30] local.INFO: Packet analysis {"connection_id":125247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb4"} 
[2026-07-08 08:41:30] local.INFO: Extracted packet for processing {"connection_id":125247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb4"} 
[2026-07-08 08:41:30] local.INFO: GPS Element Parsed {"raw_longitude":763190592,"raw_latitude":94911584,"longitude_deg":76.3190592,"latitude_deg":9.4911584,"altitude":16,"angle":347,"satellites":46,"speed":55,"hex_longitude":"2d7d5d40","hex_latitude":"05a83c60","is_valid_coordinates":true} 
[2026-07-08 08:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570933248001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342502544976642048,"note":"Value kept but may cause issues"} 
[2026-07-08 08:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9035909726660395008,"note":"Value kept but may cause issues"} 
[2026-07-08 08:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783480215000,"timestamp_ms":1783480215000,"timestamp_seconds":1783480215,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb465d8"} 
[2026-07-08 08:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:41: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-07-08 08:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 08:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:41:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":125247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":125247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":125247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:41: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-07-08 08:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570933248001,"66":27539,"63":206,"85":14336,"24":55,"16":342502544976642048,"45":9035909726660395008},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-08 08:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570933248001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:41:30] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-08 08:41:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342502544976642048,"km_value":342502544976642.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9035909726660395008,"description":"Unknown IO ID 45"} 
[2026-07-08 08:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570933248001,"power":27539,"unknown_63":206,"unknown_85":14336,"ignition":55,"odometer":null,"unknown_45":9035909726660395008}} 
[2026-07-08 08:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":125247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:41:30] local.INFO: GPS data processed {"connection_id":125247,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:41:30] local.INFO: Acknowledgment sent {"connection_id":125247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:41:45] local.INFO: TCP Data received {"connection_id":125159,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125159,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:41:45] local.INFO: Processing buffer {"connection_id":125159,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:41:45] local.INFO: IMEI packet received {"connection_id":125159,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 08:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":125159,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:41:46] local.INFO: TCP Data received {"connection_id":125159,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125159,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:41:46] local.INFO: Processing buffer {"connection_id":125159,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:41:46] local.INFO: IMEI packet received {"connection_id":125159,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":125159,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:41:46] local.INFO: TCP Data received {"connection_id":125159,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125159,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:41:46] local.INFO: Processing buffer {"connection_id":125159,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:41:46] local.INFO: IMEI packet received {"connection_id":125159,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":125159,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:41:47] local.INFO: TCP Data received {"connection_id":125160,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:41:47] local.INFO: Processing buffer {"connection_id":125160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:41:47] local.INFO: IMEI packet received {"connection_id":125160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":125160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:41:48] local.INFO: TCP Data received {"connection_id":125160,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:41:48] local.INFO: Processing buffer {"connection_id":125160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:41:48] local.INFO: IMEI packet received {"connection_id":125160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":125160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:41:52] local.INFO: TCP Data received {"connection_id":125160,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:41:52] local.INFO: Processing buffer {"connection_id":125160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:41:52] local.INFO: IMEI packet received {"connection_id":125160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":125160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:41:53] local.INFO: TCP Data received {"connection_id":125160,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb534e0012d7c594005eac9100007010924..."} 
[2026-07-08 08:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb534e0012d7c594005eac9100007010924..."} 
[2026-07-08 08:41:53] local.INFO: Processing buffer {"connection_id":125160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb534e0012d7c594005eac9100007010924..."} 
[2026-07-08 08:41:53] local.INFO: Packet analysis {"connection_id":125160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb5"} 
[2026-07-08 08:41:53] local.INFO: Extracted packet for processing {"connection_id":125160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb5"} 
[2026-07-08 08:41:53] local.INFO: GPS Element Parsed {"raw_longitude":763124032,"raw_latitude":99272976,"longitude_deg":76.3124032,"latitude_deg":9.9272976,"altitude":7,"angle":265,"satellites":36,"speed":9,"hex_longitude":"2d7c5940","hex_latitude":"05eac910","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570943488001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103666027895717888,"note":"Value kept but may cause issues"} 
[2026-07-08 08:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970044583229573120,"note":"Value kept but may cause issues"} 
[2026-07-08 08:41:53] 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-07-08 08:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783480268000,"timestamp_ms":1783480268000,"timestamp_seconds":1783480268,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb534e0"} 
[2026-07-08 08:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-08 08:41:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570943488001,"66":13135,"8":206,"87":13824,"24":9,"16":103666027895717888,"45":8970044583229573120},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-07-08 08:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570943488001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:41:53] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-08 08:41:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103666027895717888,"km_value":103666027895717.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970044583229573120,"description":"Unknown IO ID 45"} 
[2026-07-08 08:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570943488001,"power":13135,"unknown_8":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8970044583229573120}} 
[2026-07-08 08:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":125160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449782,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:41:53] local.INFO: GPS data processed {"connection_id":125160,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:41:53] local.INFO: Acknowledgment sent {"connection_id":125160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:41:53] local.INFO: TCP Data received {"connection_id":125161,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:41:53] local.INFO: Processing buffer {"connection_id":125161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:41:53] local.INFO: IMEI packet received {"connection_id":125161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":125161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:41:54] local.INFO: TCP Data received {"connection_id":125159,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125159,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:41:54] local.INFO: Processing buffer {"connection_id":125159,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:41:54] local.INFO: IMEI packet received {"connection_id":125159,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":125159,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:41:55] local.INFO: TCP Data received {"connection_id":125160,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb58300012d7c49c005eac7b00009010d2a..."} 
[2026-07-08 08:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb58300012d7c49c005eac7b00009010d2a..."} 
[2026-07-08 08:41:55] local.INFO: Processing buffer {"connection_id":125160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb58300012d7c49c005eac7b00009010d2a..."} 
[2026-07-08 08:41:55] local.INFO: Packet analysis {"connection_id":125160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb5"} 
[2026-07-08 08:41:55] local.INFO: Extracted packet for processing {"connection_id":125160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb5"} 
[2026-07-08 08:41:55] local.INFO: GPS Element Parsed {"raw_longitude":763120064,"raw_latitude":99272624,"longitude_deg":76.3120064,"latitude_deg":9.9272624,"altitude":9,"angle":269,"satellites":42,"speed":8,"hex_longitude":"2d7c49c0","hex_latitude":"05eac7b0","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570948608001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103666221169246208,"note":"Value kept but may cause issues"} 
[2026-07-08 08:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8960263327788371968,"note":"Value kept but may cause issues"} 
[2026-07-08 08:41:55] 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-07-08 08:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783480288000,"timestamp_ms":1783480288000,"timestamp_seconds":1783480288,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb58300"} 
[2026-07-08 08:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-08 08:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":125160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":125160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":125160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570948608001,"66":13124,"8":206,"87":13824,"24":8,"16":103666221169246208,"45":8960263327788371968},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-07-08 08:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570948608001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:41:55] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-08 08:41:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103666221169246208,"km_value":103666221169246.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8960263327788371968,"description":"Unknown IO ID 45"} 
[2026-07-08 08:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570948608001,"power":13124,"unknown_8":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8960263327788371968}} 
[2026-07-08 08:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":125160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449783,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:41:55] local.INFO: GPS data processed {"connection_id":125160,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:41:55] local.INFO: Acknowledgment sent {"connection_id":125160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:41:56] local.INFO: TCP Data received {"connection_id":125159,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb5adf8012d0da3800705bc08001500ac27..."} 
[2026-07-08 08:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb5adf8012d0da3800705bc08001500ac27..."} 
[2026-07-08 08:41:56] local.INFO: Processing buffer {"connection_id":125159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb5adf8012d0da3800705bc08001500ac27..."} 
[2026-07-08 08:41:56] local.INFO: Packet analysis {"connection_id":125159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb5"} 
[2026-07-08 08:41:56] local.INFO: Extracted packet for processing {"connection_id":125159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb5"} 
[2026-07-08 08:41:56] local.INFO: GPS Element Parsed {"raw_longitude":755868544,"raw_latitude":117816328,"longitude_deg":75.5868544,"latitude_deg":11.7816328,"altitude":21,"angle":172,"satellites":39,"speed":12,"hex_longitude":"2d0da380","hex_latitude":"0705bc08","is_valid_coordinates":true} 
[2026-07-08 08:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570955776001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23494433181794304,"note":"Value kept but may cause issues"} 
[2026-07-08 08:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982840280090611712,"note":"Value kept but may cause issues"} 
[2026-07-08 08:41:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783480299000,"timestamp_ms":1783480299000,"timestamp_seconds":1783480299,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb5adf8"} 
[2026-07-08 08:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:41: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-07-08 08: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-08 08:41:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:41:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":125159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":125159,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":125159,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570955776001,"66":14428,"220":206,"94":10240,"24":12,"16":23494433181794304,"45":982840280090611712},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-07-08 08:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570955776001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:41:56] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-08 08:41:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 08:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23494433181794304,"km_value":23494433181794.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":982840280090611712,"description":"Unknown IO ID 45"} 
[2026-07-08 08:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570955776001,"power":14428,"unknown_220":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":982840280090611712}} 
[2026-07-08 08:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":125159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449784,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:41:56] local.INFO: GPS data processed {"connection_id":125159,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:41:56] local.INFO: Acknowledgment sent {"connection_id":125159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:41:56] local.INFO: TCP Data received {"connection_id":125161,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:41:56] local.INFO: Processing buffer {"connection_id":125161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:41:56] local.INFO: IMEI packet received {"connection_id":125161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":125161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:42:01] local.INFO: TCP Data received {"connection_id":125161,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:42:01] local.INFO: Processing buffer {"connection_id":125161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:42:01] local.INFO: IMEI packet received {"connection_id":125161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":125161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:42:02] local.INFO: TCP Data received {"connection_id":125161,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb48130012d7d550005a862000010015d30..."} 
[2026-07-08 08:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb48130012d7d550005a862000010015d30..."} 
[2026-07-08 08:42:02] local.INFO: Processing buffer {"connection_id":125161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb48130012d7d550005a862000010015d30..."} 
[2026-07-08 08:42:02] local.INFO: Packet analysis {"connection_id":125161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb4"} 
[2026-07-08 08:42:02] local.INFO: Extracted packet for processing {"connection_id":125161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb4"} 
[2026-07-08 08:42:02] local.INFO: GPS Element Parsed {"raw_longitude":763188480,"raw_latitude":94921216,"longitude_deg":76.318848,"latitude_deg":9.4921216,"altitude":16,"angle":349,"satellites":48,"speed":56,"hex_longitude":"2d7d5500","hex_latitude":"05a86200","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570935040001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342503021718011904,"note":"Value kept but may cause issues"} 
[2026-07-08 08:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9033446820616626176,"note":"Value kept but may cause issues"} 
[2026-07-08 08:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783480222000,"timestamp_ms":1783480222000,"timestamp_seconds":1783480222,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb48130"} 
[2026-07-08 08:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-08 08:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570935040001,"66":27691,"63":206,"85":14336,"24":56,"16":342503021718011904,"45":9033446820616626176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-08 08:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570935040001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:42:02] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-08 08:42:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342503021718011904,"km_value":342503021718011.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9033446820616626176,"description":"Unknown IO ID 45"} 
[2026-07-08 08:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570935040001,"power":27691,"unknown_63":206,"unknown_85":14336,"ignition":56,"odometer":null,"unknown_45":9033446820616626176}} 
[2026-07-08 08:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":125161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:42:02] local.INFO: GPS data processed {"connection_id":125161,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:42:02] local.INFO: Acknowledgment sent {"connection_id":125161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:42:26] local.INFO: TCP Data received {"connection_id":125160,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb592a0012d7c46c005eac7580009010129..."} 
[2026-07-08 08:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb592a0012d7c46c005eac7580009010129..."} 
[2026-07-08 08:42:26] local.INFO: Processing buffer {"connection_id":125160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb592a0012d7c46c005eac7580009010129..."} 
[2026-07-08 08:42:26] local.INFO: Packet analysis {"connection_id":125160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb5"} 
[2026-07-08 08:42:26] local.INFO: Extracted packet for processing {"connection_id":125160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb5"} 
[2026-07-08 08:42:26] local.INFO: GPS Element Parsed {"raw_longitude":763119296,"raw_latitude":99272536,"longitude_deg":76.3119296,"latitude_deg":9.9272536,"altitude":9,"angle":257,"satellites":41,"speed":6,"hex_longitude":"2d7c46c0","hex_latitude":"05eac758","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570953728001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103666255528984576,"note":"Value kept but may cause issues"} 
[2026-07-08 08:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8955900465649266688,"note":"Value kept but may cause issues"} 
[2026-07-08 08:42:26] 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-07-08 08:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783480292000,"timestamp_ms":1783480292000,"timestamp_seconds":1783480292,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb592a0"} 
[2026-07-08 08:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:42: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-07-08 08: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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-08 08:42: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-07-08 08: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-07-08 08:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":125160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":125160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":125160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:42:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570953728001,"66":12841,"8":206,"87":13824,"24":6,"16":103666255528984576,"45":8955900465649266688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-07-08 08:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570953728001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:42:26] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-08 08:42:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103666255528984576,"km_value":103666255528984.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8955900465649266688,"description":"Unknown IO ID 45"} 
[2026-07-08 08:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570953728001,"power":12841,"unknown_8":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8955900465649266688}} 
[2026-07-08 08:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":125160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449786,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:42:26] local.INFO: GPS data processed {"connection_id":125160,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:42:26] local.INFO: Acknowledgment sent {"connection_id":125160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:42:27] local.INFO: TCP Data received {"connection_id":125159,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb5c180012d0da4000705ba000015001528..."} 
[2026-07-08 08:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb5c180012d0da4000705ba000015001528..."} 
[2026-07-08 08:42:27] local.INFO: Processing buffer {"connection_id":125159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb5c180012d0da4000705ba000015001528..."} 
[2026-07-08 08:42:27] local.INFO: Packet analysis {"connection_id":125159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb5"} 
[2026-07-08 08:42:27] local.INFO: Extracted packet for processing {"connection_id":125159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb5"} 
[2026-07-08 08:42:27] local.INFO: GPS Element Parsed {"raw_longitude":755868672,"raw_latitude":117815808,"longitude_deg":75.5868672,"latitude_deg":11.7815808,"altitude":21,"angle":21,"satellites":40,"speed":0,"hex_longitude":"2d0da400","hex_latitude":"0705ba00","is_valid_coordinates":true} 
[2026-07-08 08:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570956544001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23494467541532672,"note":"Value kept but may cause issues"} 
[2026-07-08 08:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982769911346235392,"note":"Value kept but may cause issues"} 
[2026-07-08 08:42:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783480304000,"timestamp_ms":1783480304000,"timestamp_seconds":1783480304,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb5c180"} 
[2026-07-08 08:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:42: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-07-08 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 08:42:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":125159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":125159,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":125159,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570956544001,"66":14428,"220":206,"94":10240,"24":0,"16":23494467541532672,"45":982769911346235392},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-07-08 08:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570956544001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:42:27] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-08 08:42:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 08:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23494467541532672,"km_value":23494467541532.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":982769911346235392,"description":"Unknown IO ID 45"} 
[2026-07-08 08:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570956544001,"power":14428,"unknown_220":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":982769911346235392}} 
[2026-07-08 08:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":125159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449787,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:42:27] local.INFO: GPS data processed {"connection_id":125159,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:42:27] local.INFO: Acknowledgment sent {"connection_id":125159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:42:37] local.INFO: TCP Data received {"connection_id":125161,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb49c88012d7d4d0005a888400010015c31..."} 
[2026-07-08 08:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb49c88012d7d4d0005a888400010015c31..."} 
[2026-07-08 08:42:37] local.INFO: Processing buffer {"connection_id":125161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb49c88012d7d4d0005a888400010015c31..."} 
[2026-07-08 08:42:37] local.INFO: Packet analysis {"connection_id":125161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb4"} 
[2026-07-08 08:42:37] local.INFO: Extracted packet for processing {"connection_id":125161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb4"} 
[2026-07-08 08:42:37] local.INFO: GPS Element Parsed {"raw_longitude":763186432,"raw_latitude":94931008,"longitude_deg":76.3186432,"latitude_deg":9.4931008,"altitude":16,"angle":348,"satellites":49,"speed":56,"hex_longitude":"2d7d4d00","hex_latitude":"05a88840","is_valid_coordinates":true} 
[2026-07-08 08:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570936832001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342503507049316352,"note":"Value kept but may cause issues"} 
[2026-07-08 08:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9031124652061229056,"note":"Value kept but may cause issues"} 
[2026-07-08 08:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783480229000,"timestamp_ms":1783480229000,"timestamp_seconds":1783480229,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb49c88"} 
[2026-07-08 08:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 08:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570936832001,"66":27658,"63":206,"85":14336,"24":56,"16":342503507049316352,"45":9031124652061229056},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-08 08:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570936832001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:42:37] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-08 08:42:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342503507049316352,"km_value":342503507049316.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9031124652061229056,"description":"Unknown IO ID 45"} 
[2026-07-08 08:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570936832001,"power":27658,"unknown_63":206,"unknown_85":14336,"ignition":56,"odometer":null,"unknown_45":9031124652061229056}} 
[2026-07-08 08:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":125161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:42:37] local.INFO: GPS data processed {"connection_id":125161,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:42:37] local.INFO: Acknowledgment sent {"connection_id":125161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:42:44] local.INFO: TCP Data received {"connection_id":125991,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125991,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:42:44] local.INFO: Processing buffer {"connection_id":125991,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:42:44] local.INFO: IMEI packet received {"connection_id":125991,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 08:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":125991,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:42:44] local.INFO: TCP Data received {"connection_id":125992,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125992,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:42:44] local.INFO: Processing buffer {"connection_id":125992,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:42:44] local.INFO: IMEI packet received {"connection_id":125992,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":125992,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:42:45] local.INFO: TCP Data received {"connection_id":125991,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125991,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:42:45] local.INFO: Processing buffer {"connection_id":125991,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:42:45] local.INFO: IMEI packet received {"connection_id":125991,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":125991,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:42:49] local.INFO: TCP Data received {"connection_id":125992,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125992,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:42:49] local.INFO: Processing buffer {"connection_id":125992,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:42:49] local.INFO: IMEI packet received {"connection_id":125992,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":125992,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:42:50] local.INFO: TCP Data received {"connection_id":125992,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125992,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:42:50] local.INFO: Processing buffer {"connection_id":125992,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:42:50] local.INFO: IMEI packet received {"connection_id":125992,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":125992,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:42:50] local.INFO: TCP Data received {"connection_id":125991,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125991,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:42:50] local.INFO: Processing buffer {"connection_id":125991,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:42:50] local.INFO: IMEI packet received {"connection_id":125991,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":125991,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:42:51] local.INFO: TCP Data received {"connection_id":125991,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb67148012d0da2400705cb900017000928..."} 
[2026-07-08 08:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb67148012d0da2400705cb900017000928..."} 
[2026-07-08 08:42:51] local.INFO: Processing buffer {"connection_id":125991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb67148012d0da2400705cb900017000928..."} 
[2026-07-08 08:42:51] local.INFO: Packet analysis {"connection_id":125991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb6"} 
[2026-07-08 08:42:51] local.INFO: Extracted packet for processing {"connection_id":125991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb6"} 
[2026-07-08 08:42:51] local.INFO: GPS Element Parsed {"raw_longitude":755868224,"raw_latitude":117820304,"longitude_deg":75.5868224,"latitude_deg":11.7820304,"altitude":23,"angle":9,"satellites":40,"speed":11,"hex_longitude":"2d0da240","hex_latitude":"0705cb90","is_valid_coordinates":true} 
[2026-07-08 08:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570967552001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23494716649635840,"note":"Value kept but may cause issues"} 
[2026-07-08 08:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982488436369872896,"note":"Value kept but may cause issues"} 
[2026-07-08 08:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783480349000,"timestamp_ms":1783480349000,"timestamp_seconds":1783480349,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb67148"} 
[2026-07-08 08:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-08 08:42:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125991,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125991,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570967552001,"66":14396,"167":206,"94":11008,"24":11,"16":23494716649635840,"45":982488436369872896},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-08 08:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570967552001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:42:51] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-08 08:42:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 08:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23494716649635840,"km_value":23494716649635.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":982488436369872896,"description":"Unknown IO ID 45"} 
[2026-07-08 08:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570967552001,"power":14396,"unknown_167":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":982488436369872896}} 
[2026-07-08 08:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":125991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449789,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:42:51] local.INFO: GPS data processed {"connection_id":125991,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:42:51] local.INFO: Acknowledgment sent {"connection_id":125991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:42:53] local.INFO: TCP Data received {"connection_id":125992,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb5cd38012d7c418005eac6d00009010d26..."} 
[2026-07-08 08:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb5cd38012d7c418005eac6d00009010d26..."} 
[2026-07-08 08:42:53] local.INFO: Processing buffer {"connection_id":125992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb5cd38012d7c418005eac6d00009010d26..."} 
[2026-07-08 08:42:53] local.INFO: Packet analysis {"connection_id":125992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb5"} 
[2026-07-08 08:42:53] local.INFO: Extracted packet for processing {"connection_id":125992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb5"} 
[2026-07-08 08:42:53] local.INFO: GPS Element Parsed {"raw_longitude":763117952,"raw_latitude":99272400,"longitude_deg":76.3117952,"latitude_deg":9.92724,"altitude":9,"angle":269,"satellites":38,"speed":5,"hex_longitude":"2d7c4180","hex_latitude":"05eac6d0","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570954752001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103666319953494016,"note":"Value kept but may cause issues"} 
[2026-07-08 08:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8955056040719112192,"note":"Value kept but may cause issues"} 
[2026-07-08 08:42:53] 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-07-08 08:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783480307000,"timestamp_ms":1783480307000,"timestamp_seconds":1783480307,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb5cd38"} 
[2026-07-08 08:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:42:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-08 08:42:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570954752001,"66":13352,"10":206,"87":13824,"24":5,"16":103666319953494016,"45":8955056040719112192},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-07-08 08:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570954752001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:42:53] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-08 08:42:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103666319953494016,"km_value":103666319953494.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8955056040719112192,"description":"Unknown IO ID 45"} 
[2026-07-08 08:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570954752001,"power":13352,"unknown_10":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8955056040719112192}} 
[2026-07-08 08:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":125992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449790,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:42:53] local.INFO: GPS data processed {"connection_id":125992,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:42:53] local.INFO: Acknowledgment sent {"connection_id":125992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:42:54] local.INFO: TCP Data received {"connection_id":125992,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb5e4a8012d7c3f0005eac720000a011a26..."} 
[2026-07-08 08:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb5e4a8012d7c3f0005eac720000a011a26..."} 
[2026-07-08 08:42:54] local.INFO: Processing buffer {"connection_id":125992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb5e4a8012d7c3f0005eac720000a011a26..."} 
[2026-07-08 08:42:54] local.INFO: Packet analysis {"connection_id":125992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb5"} 
[2026-07-08 08:42:54] local.INFO: Extracted packet for processing {"connection_id":125992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb5"} 
[2026-07-08 08:42:54] local.INFO: GPS Element Parsed {"raw_longitude":763117312,"raw_latitude":99272480,"longitude_deg":76.3117312,"latitude_deg":9.927248,"altitude":10,"angle":282,"satellites":38,"speed":5,"hex_longitude":"2d7c3f00","hex_latitude":"05eac720","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570958592001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103666354313232384,"note":"Value kept but may cause issues"} 
[2026-07-08 08:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953578297091346432,"note":"Value kept but may cause issues"} 
[2026-07-08 08:42: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-07-08 08:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783480313000,"timestamp_ms":1783480313000,"timestamp_seconds":1783480313,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb5e4a8"} 
[2026-07-08 08:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:42: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-07-08 08: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-08 08:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":125992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":125992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":125992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:42:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570958592001,"66":13200,"10":206,"87":13824,"24":5,"16":103666354313232384,"45":8953578297091346432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-07-08 08:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570958592001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:42:54] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-08 08:42:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103666354313232384,"km_value":103666354313232.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953578297091346432,"description":"Unknown IO ID 45"} 
[2026-07-08 08:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570958592001,"power":13200,"unknown_10":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8953578297091346432}} 
[2026-07-08 08:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":125992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449791,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:42:54] local.INFO: GPS data processed {"connection_id":125992,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:42:54] local.INFO: Acknowledgment sent {"connection_id":125992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:42:58] local.INFO: TCP Data received {"connection_id":125249,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:42:58] local.INFO: Processing buffer {"connection_id":125249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:42:58] local.INFO: IMEI packet received {"connection_id":125249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":125249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:43:00] local.INFO: TCP Data received {"connection_id":125249,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:43:00] local.INFO: Processing buffer {"connection_id":125249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:43:00] local.INFO: IMEI packet received {"connection_id":125249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":125249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:43:01] local.INFO: TCP Data received {"connection_id":125249,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb5dcd8012d7d8f0005a9f7e8000c002231..."} 
[2026-07-08 08:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb5dcd8012d7d8f0005a9f7e8000c002231..."} 
[2026-07-08 08:43:01] local.INFO: Processing buffer {"connection_id":125249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb5dcd8012d7d8f0005a9f7e8000c002231..."} 
[2026-07-08 08:43:01] local.INFO: Packet analysis {"connection_id":125249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb5"} 
[2026-07-08 08:43:01] local.INFO: Extracted packet for processing {"connection_id":125249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb5"} 
[2026-07-08 08:43:01] local.INFO: GPS Element Parsed {"raw_longitude":763203328,"raw_latitude":95025128,"longitude_deg":76.3203328,"latitude_deg":9.5025128,"altitude":12,"angle":34,"satellites":49,"speed":36,"hex_longitude":"2d7d8f00","hex_latitude":"05a9f7e8","is_valid_coordinates":true} 
[2026-07-08 08:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570956544001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342508433376804864,"note":"Value kept but may cause issues"} 
[2026-07-08 08:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9041679963712419840,"note":"Value kept but may cause issues"} 
[2026-07-08 08:43:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783480311000,"timestamp_ms":1783480311000,"timestamp_seconds":1783480311,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb5dcd8"} 
[2026-07-08 08:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:43:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 08:43:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:43:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570956544001,"66":27767,"184":206,"85":14336,"24":36,"16":342508433376804864,"45":9041679963712419840},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,45]} 
[2026-07-08 08:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570956544001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:43:01] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-08 08:43:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342508433376804864,"km_value":342508433376804.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9041679963712419840,"description":"Unknown IO ID 45"} 
[2026-07-08 08:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570956544001,"power":27767,"unknown_184":206,"unknown_85":14336,"ignition":36,"odometer":null,"unknown_45":9041679963712419840}} 
[2026-07-08 08:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":125249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:43:01] local.INFO: GPS data processed {"connection_id":125249,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:43:01] local.INFO: Acknowledgment sent {"connection_id":125249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:43:02] local.INFO: TCP Data received {"connection_id":125249,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb60000012d7da34005aa17c0000b001f31..."} 
[2026-07-08 08:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb60000012d7da34005aa17c0000b001f31..."} 
[2026-07-08 08:43:02] local.INFO: Processing buffer {"connection_id":125249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb60000012d7da34005aa17c0000b001f31..."} 
[2026-07-08 08:43:02] local.INFO: Packet analysis {"connection_id":125249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb6"} 
[2026-07-08 08:43:02] local.INFO: Extracted packet for processing {"connection_id":125249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb6"} 
[2026-07-08 08:43:02] local.INFO: GPS Element Parsed {"raw_longitude":763208512,"raw_latitude":95033280,"longitude_deg":76.3208512,"latitude_deg":9.503328,"altitude":11,"angle":31,"satellites":49,"speed":46,"hex_longitude":"2d7da340","hex_latitude":"05aa17c0","is_valid_coordinates":true} 
[2026-07-08 08:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570959616001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342508901528240128,"note":"Value kept but may cause issues"} 
[2026-07-08 08:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9047450200737048576,"note":"Value kept but may cause issues"} 
[2026-07-08 08:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783480320000,"timestamp_ms":1783480320000,"timestamp_seconds":1783480320,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb60000"} 
[2026-07-08 08:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 08:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570959616001,"66":27463,"184":206,"85":14336,"24":46,"16":342508901528240128,"45":9047450200737048576},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,45]} 
[2026-07-08 08:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570959616001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:43:02] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-08 08:43:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342508901528240128,"km_value":342508901528240.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9047450200737048576,"description":"Unknown IO ID 45"} 
[2026-07-08 08:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570959616001,"power":27463,"unknown_184":206,"unknown_85":14336,"ignition":46,"odometer":null,"unknown_45":9047450200737048576}} 
[2026-07-08 08:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":125249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:43:02] local.INFO: GPS data processed {"connection_id":125249,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:43:02] local.INFO: Acknowledgment sent {"connection_id":125249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:43:22] local.INFO: TCP Data received {"connection_id":125991,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb67d00012d0da2c00705ce800018001b28..."} 
[2026-07-08 08:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb67d00012d0da2c00705ce800018001b28..."} 
[2026-07-08 08:43:22] local.INFO: Processing buffer {"connection_id":125991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb67d00012d0da2c00705ce800018001b28..."} 
[2026-07-08 08:43:22] local.INFO: Packet analysis {"connection_id":125991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb6"} 
[2026-07-08 08:43:22] local.INFO: Extracted packet for processing {"connection_id":125991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb6"} 
[2026-07-08 08:43:22] local.INFO: GPS Element Parsed {"raw_longitude":755868352,"raw_latitude":117821056,"longitude_deg":75.5868352,"latitude_deg":11.7821056,"altitude":24,"angle":27,"satellites":40,"speed":6,"hex_longitude":"2d0da2c0","hex_latitude":"0705ce80","is_valid_coordinates":true} 
[2026-07-08 08:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570969344001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23494755304341504,"note":"Value kept but may cause issues"} 
[2026-07-08 08:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982418067626364928,"note":"Value kept but may cause issues"} 
[2026-07-08 08:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783480352000,"timestamp_ms":1783480352000,"timestamp_seconds":1783480352,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb67d00"} 
[2026-07-08 08:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-08 08:43:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:43:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125991,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125991,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570969344001,"66":14407,"167":206,"94":11008,"24":6,"16":23494755304341504,"45":982418067626364928},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-08 08:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570969344001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:43:22] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-08 08:43:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 08:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23494755304341504,"km_value":23494755304341.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":982418067626364928,"description":"Unknown IO ID 45"} 
[2026-07-08 08:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570969344001,"power":14407,"unknown_167":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":982418067626364928}} 
[2026-07-08 08:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":125991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449794,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:43:22] local.INFO: GPS data processed {"connection_id":125991,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:43:22] local.INFO: Acknowledgment sent {"connection_id":125991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:43:25] local.INFO: TCP Data received {"connection_id":125992,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb71170012d7c264005eb29e00006014b2c..."} 
[2026-07-08 08:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb71170012d7c264005eb29e00006014b2c..."} 
[2026-07-08 08:43:25] local.INFO: Processing buffer {"connection_id":125992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb71170012d7c264005eb29e00006014b2c..."} 
[2026-07-08 08:43:25] local.INFO: Packet analysis {"connection_id":125992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb7"} 
[2026-07-08 08:43:25] local.INFO: Extracted packet for processing {"connection_id":125992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb7"} 
[2026-07-08 08:43:25] local.INFO: GPS Element Parsed {"raw_longitude":763110976,"raw_latitude":99297760,"longitude_deg":76.3110976,"latitude_deg":9.929776,"altitude":6,"angle":331,"satellites":44,"speed":19,"hex_longitude":"2d7c2640","hex_latitude":"05eb29e0","is_valid_coordinates":true} 
[2026-07-08 08:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570979072001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103667681458126848,"note":"Value kept but may cause issues"} 
[2026-07-08 08:43:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946963635144841216,"note":"Value kept but may cause issues"} 
[2026-07-08 08:43: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-07-08 08:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783480390000,"timestamp_ms":1783480390000,"timestamp_seconds":1783480390,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb71170"} 
[2026-07-08 08:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:43: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-07-08 08:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-08 08:43:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:43:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":125992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":125992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":125992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:43:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570979072001,"66":13363,"10":206,"87":13824,"24":19,"16":103667681458126848,"45":8946963635144841216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-07-08 08:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570979072001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:43:25] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-08 08:43:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103667681458126848,"km_value":103667681458126.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:43:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946963635144841216,"description":"Unknown IO ID 45"} 
[2026-07-08 08:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570979072001,"power":13363,"unknown_10":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8946963635144841216}} 
[2026-07-08 08:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":125992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449795,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:43:25] local.INFO: GPS data processed {"connection_id":125992,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:43:25] local.INFO: Acknowledgment sent {"connection_id":125992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:43:33] local.INFO: TCP Data received {"connection_id":125249,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb61f40012d7db88005aa3808000b002132..."} 
[2026-07-08 08:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb61f40012d7db88005aa3808000b002132..."} 
[2026-07-08 08:43:33] local.INFO: Processing buffer {"connection_id":125249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb61f40012d7db88005aa3808000b002132..."} 
[2026-07-08 08:43:33] local.INFO: Packet analysis {"connection_id":125249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb6"} 
[2026-07-08 08:43:33] local.INFO: Extracted packet for processing {"connection_id":125249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb6"} 
[2026-07-08 08:43:33] local.INFO: GPS Element Parsed {"raw_longitude":763213952,"raw_latitude":95041544,"longitude_deg":76.3213952,"latitude_deg":9.5041544,"altitude":11,"angle":33,"satellites":50,"speed":52,"hex_longitude":"2d7db880","hex_latitude":"05aa3808","is_valid_coordinates":true} 
[2026-07-08 08:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570961920001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342509378269609984,"note":"Value kept but may cause issues"} 
[2026-07-08 08:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9053150069017526272,"note":"Value kept but may cause issues"} 
[2026-07-08 08:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783480328000,"timestamp_ms":1783480328000,"timestamp_seconds":1783480328,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb61f40"} 
[2026-07-08 08:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-08 08:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:43:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570961920001,"66":27691,"184":206,"85":14336,"24":52,"16":342509378269609984,"45":9053150069017526272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,45]} 
[2026-07-08 08:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570961920001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:43:33] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-08 08:43:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342509378269609984,"km_value":342509378269610.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9053150069017526272,"description":"Unknown IO ID 45"} 
[2026-07-08 08:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570961920001,"power":27691,"unknown_184":206,"unknown_85":14336,"ignition":52,"odometer":null,"unknown_45":9053150069017526272}} 
[2026-07-08 08:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":125249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:43:33] local.INFO: GPS data processed {"connection_id":125249,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:43:33] local.INFO: Acknowledgment sent {"connection_id":125249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:43:46] local.INFO: TCP Data received {"connection_id":127263,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127263,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:43:46] local.INFO: Processing buffer {"connection_id":127263,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:43:46] local.INFO: IMEI packet received {"connection_id":127263,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 08:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":127263,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:43:47] local.INFO: TCP Data received {"connection_id":127263,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127263,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:43:47] local.INFO: Processing buffer {"connection_id":127263,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:43:47] local.INFO: IMEI packet received {"connection_id":127263,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":127263,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:43:47] local.INFO: TCP Data received {"connection_id":127264,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127264,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:43:47] local.INFO: Processing buffer {"connection_id":127264,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:43:47] local.INFO: IMEI packet received {"connection_id":127264,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":127264,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:43:48] local.INFO: TCP Data received {"connection_id":127264,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127264,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:43:48] local.INFO: Processing buffer {"connection_id":127264,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:43:48] local.INFO: IMEI packet received {"connection_id":127264,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":127264,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:43:48] local.INFO: TCP Data received {"connection_id":127263,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127263,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:43:48] local.INFO: Processing buffer {"connection_id":127263,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:43:48] local.INFO: IMEI packet received {"connection_id":127263,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":127263,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:43:50] local.INFO: TCP Data received {"connection_id":127263,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127263,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:43:50] local.INFO: Processing buffer {"connection_id":127263,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:43:50] local.INFO: IMEI packet received {"connection_id":127263,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":127263,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:43:52] local.INFO: TCP Data received {"connection_id":127263,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb74c08012d0e2c000705ce780016005529..."} 
[2026-07-08 08:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb74c08012d0e2c000705ce780016005529..."} 
[2026-07-08 08:43:52] local.INFO: Processing buffer {"connection_id":127263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb74c08012d0e2c000705ce780016005529..."} 
[2026-07-08 08:43:52] local.INFO: Packet analysis {"connection_id":127263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb7"} 
[2026-07-08 08:43:52] local.INFO: Extracted packet for processing {"connection_id":127263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb7"} 
[2026-07-08 08:43:52] local.INFO: GPS Element Parsed {"raw_longitude":755903488,"raw_latitude":117821048,"longitude_deg":75.5903488,"latitude_deg":11.7821048,"altitude":22,"angle":85,"satellites":41,"speed":19,"hex_longitude":"2d0e2c00","hex_latitude":"0705ce78","is_valid_coordinates":true} 
[2026-07-08 08:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570983168001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23496447521456128,"note":"Value kept but may cause issues"} 
[2026-07-08 08:43:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1020135714505725952,"note":"Value kept but may cause issues"} 
[2026-07-08 08:43:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783480405000,"timestamp_ms":1783480405000,"timestamp_seconds":1783480405,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb74c08"} 
[2026-07-08 08:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-08 08:43:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:43:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":127263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":127263,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":127263,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:43:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570983168001,"66":14396,"167":206,"94":11008,"24":19,"16":23496447521456128,"45":1020135714505725952},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-08 08:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570983168001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:43:52] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-08 08:43:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 08:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23496447521456128,"km_value":23496447521456.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:43:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1020135714505725952,"description":"Unknown IO ID 45"} 
[2026-07-08 08:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570983168001,"power":14396,"unknown_167":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":1020135714505725952}} 
[2026-07-08 08:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":127263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449797,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:43:52] local.INFO: GPS data processed {"connection_id":127263,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:43:52] local.INFO: Acknowledgment sent {"connection_id":127263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:43:52] local.INFO: TCP Data received {"connection_id":127264,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127264,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:43:52] local.INFO: Processing buffer {"connection_id":127264,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:43:52] local.INFO: IMEI packet received {"connection_id":127264,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":127264,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:43:53] local.INFO: TCP Data received {"connection_id":127263,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb786a0012d0e50000705cf880017003d29..."} 
[2026-07-08 08:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb786a0012d0e50000705cf880017003d29..."} 
[2026-07-08 08:43:53] local.INFO: Processing buffer {"connection_id":127263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb786a0012d0e50000705cf880017003d29..."} 
[2026-07-08 08:43:53] local.INFO: Packet analysis {"connection_id":127263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb7"} 
[2026-07-08 08:43:53] local.INFO: Extracted packet for processing {"connection_id":127263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb7"} 
[2026-07-08 08:43:53] local.INFO: GPS Element Parsed {"raw_longitude":755912704,"raw_latitude":117821320,"longitude_deg":75.5912704,"latitude_deg":11.782132,"altitude":23,"angle":61,"satellites":41,"speed":11,"hex_longitude":"2d0e5000","hex_latitude":"0705cf88","is_valid_coordinates":true} 
[2026-07-08 08:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570983680001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23496889903087616,"note":"Value kept but may cause issues"} 
[2026-07-08 08:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1021191245668448256,"note":"Value kept but may cause issues"} 
[2026-07-08 08:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783480420000,"timestamp_ms":1783480420000,"timestamp_seconds":1783480420,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb786a0"} 
[2026-07-08 08:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-08 08:43:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":127263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":127263,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":127263,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:43:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570983680001,"66":14537,"167":206,"94":11008,"24":11,"16":23496889903087616,"45":1021191245668448256},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-08 08:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570983680001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:43:53] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-08 08:43:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 08:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23496889903087616,"km_value":23496889903087.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1021191245668448256,"description":"Unknown IO ID 45"} 
[2026-07-08 08:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570983680001,"power":14537,"unknown_167":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":1021191245668448256}} 
[2026-07-08 08:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":127263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449798,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:43:53] local.INFO: GPS data processed {"connection_id":127263,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:43:53] local.INFO: Acknowledgment sent {"connection_id":127263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:43:54] local.INFO: TCP Data received {"connection_id":127264,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb71558012d7c258005eb2bc8000601592d..."} 
[2026-07-08 08:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb71558012d7c258005eb2bc8000601592d..."} 
[2026-07-08 08:43:54] local.INFO: Processing buffer {"connection_id":127264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb71558012d7c258005eb2bc8000601592d..."} 
[2026-07-08 08:43:54] local.INFO: Packet analysis {"connection_id":127264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb7"} 
[2026-07-08 08:43:54] local.INFO: Extracted packet for processing {"connection_id":127264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb7"} 
[2026-07-08 08:43:54] local.INFO: GPS Element Parsed {"raw_longitude":763110784,"raw_latitude":99298248,"longitude_deg":76.3110784,"latitude_deg":9.9298248,"altitude":6,"angle":345,"satellites":45,"speed":20,"hex_longitude":"2d7c2580","hex_latitude":"05eb2bc8","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570979840001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103667707227930624,"note":"Value kept but may cause issues"} 
[2026-07-08 08:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945908103982473216,"note":"Value kept but may cause issues"} 
[2026-07-08 08:43: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-07-08 08:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783480391000,"timestamp_ms":1783480391000,"timestamp_seconds":1783480391,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb71558"} 
[2026-07-08 08:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:43: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-07-08 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-08 08:43: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-07-08 08: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-07-08 08:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":127264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":127264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":127264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570979840001,"66":13363,"10":206,"87":13824,"24":20,"16":103667707227930624,"45":8945908103982473216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-07-08 08:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570979840001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:43:54] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-08 08:43:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103667707227930624,"km_value":103667707227930.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945908103982473216,"description":"Unknown IO ID 45"} 
[2026-07-08 08:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570979840001,"power":13363,"unknown_10":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8945908103982473216}} 
[2026-07-08 08:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":127264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449799,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:43:54] local.INFO: GPS data processed {"connection_id":127264,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:43:54] local.INFO: Acknowledgment sent {"connection_id":127264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:43:54] local.INFO: TCP Data received {"connection_id":125162,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:43:54] local.INFO: Processing buffer {"connection_id":125162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:43:54] local.INFO: IMEI packet received {"connection_id":125162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":125162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:43:56] local.INFO: TCP Data received {"connection_id":125162,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:43:56] local.INFO: Processing buffer {"connection_id":125162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:43:56] local.INFO: IMEI packet received {"connection_id":125162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":125162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:44:01] local.INFO: TCP Data received {"connection_id":125162,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:44:01] local.INFO: Processing buffer {"connection_id":125162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:44:01] local.INFO: IMEI packet received {"connection_id":125162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":125162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:44:01] local.INFO: TCP Data received {"connection_id":125162,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb63a98012d7dcd0005aa5760000b002233..."} 
[2026-07-08 08:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb63a98012d7dcd0005aa5760000b002233..."} 
[2026-07-08 08:44:01] local.INFO: Processing buffer {"connection_id":125162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb63a98012d7dcd0005aa5760000b002233..."} 
[2026-07-08 08:44:01] local.INFO: Packet analysis {"connection_id":125162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb6"} 
[2026-07-08 08:44:01] local.INFO: Extracted packet for processing {"connection_id":125162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb6"} 
[2026-07-08 08:44:01] local.INFO: GPS Element Parsed {"raw_longitude":763219200,"raw_latitude":95049568,"longitude_deg":76.32192,"latitude_deg":9.5049568,"altitude":11,"angle":34,"satellites":51,"speed":56,"hex_longitude":"2d7dcd00","hex_latitude":"05aa5760","is_valid_coordinates":true} 
[2026-07-08 08:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570963968001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342509842126077952,"note":"Value kept but may cause issues"} 
[2026-07-08 08:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9059131412274743296,"note":"Value kept but may cause issues"} 
[2026-07-08 08:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783480335000,"timestamp_ms":1783480335000,"timestamp_seconds":1783480335,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb63a98"} 
[2026-07-08 08:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 08:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570963968001,"66":27713,"184":206,"85":14336,"24":56,"16":342509842126077952,"45":9059131412274743296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,45]} 
[2026-07-08 08:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570963968001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:44:01] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-08 08:44:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342509842126077952,"km_value":342509842126077.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9059131412274743296,"description":"Unknown IO ID 45"} 
[2026-07-08 08:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570963968001,"power":27713,"unknown_184":206,"unknown_85":14336,"ignition":56,"odometer":null,"unknown_45":9059131412274743296}} 
[2026-07-08 08:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":125162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:44:02] local.INFO: GPS data processed {"connection_id":125162,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:44:02] local.INFO: Acknowledgment sent {"connection_id":125162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:44:24] local.INFO: TCP Data received {"connection_id":127263,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb786a0012d0e50000705cf880017003d29..."} 
[2026-07-08 08:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb786a0012d0e50000705cf880017003d29..."} 
[2026-07-08 08:44:24] local.INFO: Processing buffer {"connection_id":127263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb786a0012d0e50000705cf880017003d29..."} 
[2026-07-08 08:44:24] local.INFO: Packet analysis {"connection_id":127263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb7"} 
[2026-07-08 08:44:24] local.INFO: Extracted packet for processing {"connection_id":127263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb7"} 
[2026-07-08 08:44:24] local.INFO: GPS Element Parsed {"raw_longitude":755912704,"raw_latitude":117821320,"longitude_deg":75.5912704,"latitude_deg":11.782132,"altitude":23,"angle":61,"satellites":41,"speed":11,"hex_longitude":"2d0e5000","hex_latitude":"0705cf88","is_valid_coordinates":true} 
[2026-07-08 08:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570987520001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23496889903087616,"note":"Value kept but may cause issues"} 
[2026-07-08 08:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1031324344830101504,"note":"Value kept but may cause issues"} 
[2026-07-08 08:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783480420000,"timestamp_ms":1783480420000,"timestamp_seconds":1783480420,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb786a0"} 
[2026-07-08 08:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:44: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-07-08 08:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-08 08:44:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":127263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":127263,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":127263,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570987520001,"66":14537,"167":206,"94":11008,"24":11,"16":23496889903087616,"45":1031324344830101504},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-08 08:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570987520001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:44:24] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-08 08:44:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 08:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23496889903087616,"km_value":23496889903087.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1031324344830101504,"description":"Unknown IO ID 45"} 
[2026-07-08 08:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570987520001,"power":14537,"unknown_167":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":1031324344830101504}} 
[2026-07-08 08:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":127263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449801,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:44:24] local.INFO: GPS data processed {"connection_id":127263,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:44:24] local.INFO: Acknowledgment sent {"connection_id":127263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:44:32] local.INFO: TCP Data received {"connection_id":127264,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb74438012d7c238005eb46880004000027..."} 
[2026-07-08 08:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb74438012d7c238005eb46880004000027..."} 
[2026-07-08 08:44:32] local.INFO: Processing buffer {"connection_id":127264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb74438012d7c238005eb46880004000027..."} 
[2026-07-08 08:44:32] local.INFO: Packet analysis {"connection_id":127264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb7"} 
[2026-07-08 08:44:32] local.INFO: Extracted packet for processing {"connection_id":127264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb7"} 
[2026-07-08 08:44:32] local.INFO: GPS Element Parsed {"raw_longitude":763110272,"raw_latitude":99305096,"longitude_deg":76.3110272,"latitude_deg":9.9305096,"altitude":4,"angle":0,"satellites":39,"speed":20,"hex_longitude":"2d7c2380","hex_latitude":"05eb4688","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570980096001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103668037940412416,"note":"Value kept but may cause issues"} 
[2026-07-08 08:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945696997750065152,"note":"Value kept but may cause issues"} 
[2026-07-08 08:44:32] 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-07-08 08:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783480403000,"timestamp_ms":1783480403000,"timestamp_seconds":1783480403,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb74438"} 
[2026-07-08 08:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-08 08:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570980096001,"66":12961,"10":206,"87":13824,"24":20,"16":103668037940412416,"45":8945696997750065152},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-07-08 08:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570980096001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:44:32] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-08 08:44:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103668037940412416,"km_value":103668037940412.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945696997750065152,"description":"Unknown IO ID 45"} 
[2026-07-08 08:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570980096001,"power":12961,"unknown_10":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8945696997750065152}} 
[2026-07-08 08:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":127264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449802,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:44:32] local.INFO: GPS data processed {"connection_id":127264,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:44:32] local.INFO: Acknowledgment sent {"connection_id":127264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:44:45] local.INFO: TCP Data received {"connection_id":125994,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125994,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:44:45] local.INFO: Processing buffer {"connection_id":125994,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:44:45] local.INFO: IMEI packet received {"connection_id":125994,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 08:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":125994,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:44:45] local.INFO: TCP Data received {"connection_id":125994,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125994,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:44:45] local.INFO: Processing buffer {"connection_id":125994,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:44:45] local.INFO: IMEI packet received {"connection_id":125994,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":125994,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:44:47] local.INFO: TCP Data received {"connection_id":125163,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125163,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:44:47] local.INFO: Processing buffer {"connection_id":125163,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:44:47] local.INFO: IMEI packet received {"connection_id":125163,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":125163,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:44:47] local.INFO: TCP Data received {"connection_id":125162,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb77ed0012d7ea84005abc5200008000833..."} 
[2026-07-08 08:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb77ed0012d7ea84005abc5200008000833..."} 
[2026-07-08 08:44:47] local.INFO: Processing buffer {"connection_id":125162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb77ed0012d7ea84005abc5200008000833..."} 
[2026-07-08 08:44:47] local.INFO: Packet analysis {"connection_id":125162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb7"} 
[2026-07-08 08:44:47] local.INFO: Extracted packet for processing {"connection_id":125162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb7"} 
[2026-07-08 08:44:47] local.INFO: GPS Element Parsed {"raw_longitude":763275328,"raw_latitude":95143200,"longitude_deg":76.3275328,"latitude_deg":9.51432,"altitude":8,"angle":8,"satellites":51,"speed":35,"hex_longitude":"2d7ea840","hex_latitude":"05abc520","is_valid_coordinates":true} 
[2026-07-08 08:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570987008001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342515137820753920,"note":"Value kept but may cause issues"} 
[2026-07-08 08:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126615037967147008,"note":"Value kept but may cause issues"} 
[2026-07-08 08:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783480418000,"timestamp_ms":1783480418000,"timestamp_seconds":1783480418,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb77ed0"} 
[2026-07-08 08:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 08:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":125162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":125162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":125162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:44: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-07-08 08:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570987008001,"66":27865,"40":206,"85":14336,"24":35,"16":342515137820753920,"45":9126615037967147008},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,45]} 
[2026-07-08 08:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570987008001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:44:47] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-08 08:44:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342515137820753920,"km_value":342515137820753.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126615037967147008,"description":"Unknown IO ID 45"} 
[2026-07-08 08:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570987008001,"power":27865,"unknown_40":206,"unknown_85":14336,"ignition":35,"odometer":null,"unknown_45":9126615037967147008}} 
[2026-07-08 08:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":125162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:44:47] local.INFO: GPS data processed {"connection_id":125162,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:44:47] local.INFO: Acknowledgment sent {"connection_id":125162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:44:48] local.INFO: TCP Data received {"connection_id":125994,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125994,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:44:48] local.INFO: Processing buffer {"connection_id":125994,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:44:48] local.INFO: IMEI packet received {"connection_id":125994,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":125994,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:44:50] local.INFO: TCP Data received {"connection_id":125994,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125994,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:44:50] local.INFO: Processing buffer {"connection_id":125994,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:44:50] local.INFO: IMEI packet received {"connection_id":125994,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":125994,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:44:51] local.INFO: TCP Data received {"connection_id":125994,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb83668012d0e654007060518001b001228..."} 
[2026-07-08 08:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb83668012d0e654007060518001b001228..."} 
[2026-07-08 08:44:51] local.INFO: Processing buffer {"connection_id":125994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb83668012d0e654007060518001b001228..."} 
[2026-07-08 08:44:51] local.INFO: Packet analysis {"connection_id":125994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb8"} 
[2026-07-08 08:44:51] local.INFO: Extracted packet for processing {"connection_id":125994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb8"} 
[2026-07-08 08:44:51] local.INFO: GPS Element Parsed {"raw_longitude":755918144,"raw_latitude":117835032,"longitude_deg":75.5918144,"latitude_deg":11.7835032,"altitude":27,"angle":18,"satellites":40,"speed":24,"hex_longitude":"2d0e6540","hex_latitude":"07060518","is_valid_coordinates":true} 
[2026-07-08 08:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570998016001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23497731716677632,"note":"Value kept but may cause issues"} 
[2026-07-08 08:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1036602000646400000,"note":"Value kept but may cause issues"} 
[2026-07-08 08:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783480465000,"timestamp_ms":1783480465000,"timestamp_seconds":1783480465,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb83668"} 
[2026-07-08 08:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-08 08:44:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:44:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125994,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125994,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570998016001,"66":14439,"165":206,"94":11008,"24":24,"16":23497731716677632,"45":1036602000646400000},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-08 08:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570998016001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:44:51] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-08 08:44:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 08:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23497731716677632,"km_value":23497731716677.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1036602000646400000,"description":"Unknown IO ID 45"} 
[2026-07-08 08:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570998016001,"power":14439,"unknown_165":206,"unknown_94":11008,"ignition":24,"odometer":null,"unknown_45":1036602000646400000}} 
[2026-07-08 08:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":125994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449804,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:44:51] local.INFO: GPS data processed {"connection_id":125994,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:44:51] local.INFO: Acknowledgment sent {"connection_id":125994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:44:53] local.INFO: TCP Data received {"connection_id":125163,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125163,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:44:53] local.INFO: Processing buffer {"connection_id":125163,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:44:53] local.INFO: IMEI packet received {"connection_id":125163,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":125163,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:44:55] local.INFO: TCP Data received {"connection_id":125163,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb76378012d7c224005eb55b00003015b27..."} 
[2026-07-08 08:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb76378012d7c224005eb55b00003015b27..."} 
[2026-07-08 08:44:55] local.INFO: Processing buffer {"connection_id":125163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb76378012d7c224005eb55b00003015b27..."} 
[2026-07-08 08:44:55] local.INFO: Packet analysis {"connection_id":125163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb7"} 
[2026-07-08 08:44:55] local.INFO: Extracted packet for processing {"connection_id":125163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb7"} 
[2026-07-08 08:44:55] local.INFO: GPS Element Parsed {"raw_longitude":763109952,"raw_latitude":99308976,"longitude_deg":76.3109952,"latitude_deg":9.9308976,"altitude":3,"angle":347,"satellites":39,"speed":11,"hex_longitude":"2d7c2240","hex_latitude":"05eb55b0","is_valid_coordinates":true} 
[2026-07-08 08:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570983168001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103668226918973440,"note":"Value kept but may cause issues"} 
[2026-07-08 08:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945134047798396928,"note":"Value kept but may cause issues"} 
[2026-07-08 08:44:55] 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-07-08 08:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783480411000,"timestamp_ms":1783480411000,"timestamp_seconds":1783480411,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb76378"} 
[2026-07-08 08:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-08 08:44:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:44:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":125163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":125163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":125163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570983168001,"66":13319,"10":206,"87":13824,"24":11,"16":103668226918973440,"45":8945134047798396928},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-07-08 08:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570983168001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:44:55] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-08 08:44:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103668226918973440,"km_value":103668226918973.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945134047798396928,"description":"Unknown IO ID 45"} 
[2026-07-08 08:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570983168001,"power":13319,"unknown_10":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8945134047798396928}} 
[2026-07-08 08:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":125163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449805,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:44:56] local.INFO: GPS data processed {"connection_id":125163,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:44:56] local.INFO: Acknowledgment sent {"connection_id":125163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:44:56] local.INFO: TCP Data received {"connection_id":125164,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:44:56] local.INFO: Processing buffer {"connection_id":125164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:44:56] local.INFO: IMEI packet received {"connection_id":125164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":125164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:44:59] local.INFO: TCP Data received {"connection_id":125164,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:44:59] local.INFO: Processing buffer {"connection_id":125164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:44:59] local.INFO: IMEI packet received {"connection_id":125164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":125164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:45:01] local.INFO: TCP Data received {"connection_id":125164,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:45:01] local.INFO: Processing buffer {"connection_id":125164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:45:01] local.INFO: IMEI packet received {"connection_id":125164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":125164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:45:02] local.INFO: TCP Data received {"connection_id":125164,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb786a0012d7ea88005abcc600008016331..."} 
[2026-07-08 08:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb786a0012d7ea88005abcc600008016331..."} 
[2026-07-08 08:45:02] local.INFO: Processing buffer {"connection_id":125164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb786a0012d7ea88005abcc600008016331..."} 
[2026-07-08 08:45:02] local.INFO: Packet analysis {"connection_id":125164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb7"} 
[2026-07-08 08:45:02] local.INFO: Extracted packet for processing {"connection_id":125164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb7"} 
[2026-07-08 08:45:02] local.INFO: GPS Element Parsed {"raw_longitude":763275392,"raw_latitude":95145056,"longitude_deg":76.3275392,"latitude_deg":9.5145056,"altitude":8,"angle":355,"satellites":49,"speed":37,"hex_longitude":"2d7ea880","hex_latitude":"05abcc60","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570987008001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342515228015067136,"note":"Value kept but may cause issues"} 
[2026-07-08 08:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126615037967147008,"note":"Value kept but may cause issues"} 
[2026-07-08 08:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783480420000,"timestamp_ms":1783480420000,"timestamp_seconds":1783480420,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb786a0"} 
[2026-07-08 08:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:45: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-07-08 08:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 08:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570987008001,"66":27821,"40":206,"85":14336,"24":37,"16":342515228015067136,"45":9126615037967147008},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,45]} 
[2026-07-08 08:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570987008001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:45:02] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-08 08:45:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342515228015067136,"km_value":342515228015067.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126615037967147008,"description":"Unknown IO ID 45"} 
[2026-07-08 08:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570987008001,"power":27821,"unknown_40":206,"unknown_85":14336,"ignition":37,"odometer":null,"unknown_45":9126615037967147008}} 
[2026-07-08 08:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":125164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:45:02] local.INFO: GPS data processed {"connection_id":125164,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:45:02] local.INFO: Acknowledgment sent {"connection_id":125164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:45:07] local.INFO: TCP Data received {"connection_id":125164,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb79e10012d7ea6c005abded80006000633..."} 
[2026-07-08 08:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb79e10012d7ea6c005abded80006000633..."} 
[2026-07-08 08:45:07] local.INFO: Processing buffer {"connection_id":125164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb79e10012d7ea6c005abded80006000633..."} 
[2026-07-08 08:45:07] local.INFO: Packet analysis {"connection_id":125164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb7"} 
[2026-07-08 08:45:07] local.INFO: Extracted packet for processing {"connection_id":125164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb7"} 
[2026-07-08 08:45:07] local.INFO: GPS Element Parsed {"raw_longitude":763274944,"raw_latitude":95149784,"longitude_deg":76.3274944,"latitude_deg":9.5149784,"altitude":6,"angle":6,"satellites":51,"speed":11,"hex_longitude":"2d7ea6c0","hex_latitude":"05abded8","is_valid_coordinates":true} 
[2026-07-08 08:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570987520001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342515455648333824,"note":"Value kept but may cause issues"} 
[2026-07-08 08:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126685406711799808,"note":"Value kept but may cause issues"} 
[2026-07-08 08:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783480426000,"timestamp_ms":1783480426000,"timestamp_seconds":1783480426,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb79e10"} 
[2026-07-08 08:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 08:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570987520001,"66":27789,"40":206,"85":14336,"24":11,"16":342515455648333824,"45":9126685406711799808},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,45]} 
[2026-07-08 08:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570987520001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:45:07] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-08 08:45:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342515455648333824,"km_value":342515455648333.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126685406711799808,"description":"Unknown IO ID 45"} 
[2026-07-08 08:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570987520001,"power":27789,"unknown_40":206,"unknown_85":14336,"ignition":11,"odometer":null,"unknown_45":9126685406711799808}} 
[2026-07-08 08:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":125164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:45:07] local.INFO: GPS data processed {"connection_id":125164,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:45:07] local.INFO: Acknowledgment sent {"connection_id":125164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:45:12] local.INFO: TCP Data received {"connection_id":127265,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127265,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:45:12] local.INFO: Processing buffer {"connection_id":127265,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:45:12] local.INFO: IMEI packet received {"connection_id":127265,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 08:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":127265,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:45:21] local.INFO: TCP Data received {"connection_id":125994,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb87100012d0e7100070622b8001b001d28..."} 
[2026-07-08 08:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb87100012d0e7100070622b8001b001d28..."} 
[2026-07-08 08:45:21] local.INFO: Processing buffer {"connection_id":125994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb87100012d0e7100070622b8001b001d28..."} 
[2026-07-08 08:45:21] local.INFO: Packet analysis {"connection_id":125994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb8"} 
[2026-07-08 08:45:21] local.INFO: Extracted packet for processing {"connection_id":125994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb8"} 
[2026-07-08 08:45:21] local.INFO: GPS Element Parsed {"raw_longitude":755921152,"raw_latitude":117842616,"longitude_deg":75.5921152,"latitude_deg":11.7842616,"altitude":27,"angle":29,"satellites":40,"speed":14,"hex_longitude":"2d0e7100","hex_latitude":"070622b8","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570999040001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23498131148636160,"note":"Value kept but may cause issues"} 
[2026-07-08 08:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1037305688088713216,"note":"Value kept but may cause issues"} 
[2026-07-08 08:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783480480000,"timestamp_ms":1783480480000,"timestamp_seconds":1783480480,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb87100"} 
[2026-07-08 08:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-08 08:45:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":125994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":125994,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":125994,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:45:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570999040001,"66":14428,"165":206,"94":11008,"24":14,"16":23498131148636160,"45":1037305688088713216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-08 08:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570999040001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:45:21] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-08 08:45:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 08:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23498131148636160,"km_value":23498131148636.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1037305688088713216,"description":"Unknown IO ID 45"} 
[2026-07-08 08:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570999040001,"power":14428,"unknown_165":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":1037305688088713216}} 
[2026-07-08 08:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":125994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449808,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:45:22] local.INFO: GPS data processed {"connection_id":125994,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:45:22] local.INFO: Acknowledgment sent {"connection_id":125994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:45:27] local.INFO: TCP Data received {"connection_id":125163,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb918f8012d7be40005ec34600005001d2d..."} 
[2026-07-08 08:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb918f8012d7be40005ec34600005001d2d..."} 
[2026-07-08 08:45:27] local.INFO: Processing buffer {"connection_id":125163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb918f8012d7be40005ec34600005001d2d..."} 
[2026-07-08 08:45:27] local.INFO: Packet analysis {"connection_id":125163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb9"} 
[2026-07-08 08:45:27] local.INFO: Extracted packet for processing {"connection_id":125163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb9"} 
[2026-07-08 08:45:27] local.INFO: GPS Element Parsed {"raw_longitude":763094016,"raw_latitude":99365984,"longitude_deg":76.3094016,"latitude_deg":9.9365984,"altitude":5,"angle":29,"satellites":45,"speed":9,"hex_longitude":"2d7be400","hex_latitude":"05ec3460","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571013632001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103671121726930944,"note":"Value kept but may cause issues"} 
[2026-07-08 08:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927190018048624640,"note":"Value kept but may cause issues"} 
[2026-07-08 08:45: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-07-08 08:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783480523000,"timestamp_ms":1783480523000,"timestamp_seconds":1783480523,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb918f8"} 
[2026-07-08 08:45:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:45:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-08 08:45:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:45:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":125163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":125163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":125163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571013632001,"66":13222,"198":206,"87":13824,"24":9,"16":103671121726930944,"45":8927190018048624640},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-08 08:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571013632001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:45:27] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-08 08:45:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103671121726930944,"km_value":103671121726930.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927190018048624640,"description":"Unknown IO ID 45"} 
[2026-07-08 08:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571013632001,"power":13222,"unknown_198":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8927190018048624640}} 
[2026-07-08 08:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":125163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449809,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:45:27] local.INFO: GPS data processed {"connection_id":125163,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:45:27] local.INFO: Acknowledgment sent {"connection_id":125163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:45:38] local.INFO: TCP Data received {"connection_id":125164,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb7e460012d7eaa0005ac0358000700002f..."} 
[2026-07-08 08:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb7e460012d7eaa0005ac0358000700002f..."} 
[2026-07-08 08:45:38] local.INFO: Processing buffer {"connection_id":125164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb7e460012d7eaa0005ac0358000700002f..."} 
[2026-07-08 08:45:38] local.INFO: Packet analysis {"connection_id":125164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb7"} 
[2026-07-08 08:45:38] local.INFO: Extracted packet for processing {"connection_id":125164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb7"} 
[2026-07-08 08:45:38] local.INFO: GPS Element Parsed {"raw_longitude":763275776,"raw_latitude":95159128,"longitude_deg":76.3275776,"latitude_deg":9.5159128,"altitude":7,"angle":0,"satellites":47,"speed":27,"hex_longitude":"2d7eaa00","hex_latitude":"05ac0358","is_valid_coordinates":true} 
[2026-07-08 08:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570989056001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342515915209834496,"note":"Value kept but may cause issues"} 
[2026-07-08 08:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126192825503766528,"note":"Value kept but may cause issues"} 
[2026-07-08 08:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783480444000,"timestamp_ms":1783480444000,"timestamp_seconds":1783480444,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb7e460"} 
[2026-07-08 08:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-08 08:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570989056001,"66":27767,"40":206,"85":14336,"24":27,"16":342515915209834496,"45":9126192825503766528},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,45]} 
[2026-07-08 08:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570989056001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:45:38] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-08 08:45:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342515915209834496,"km_value":342515915209834.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126192825503766528,"description":"Unknown IO ID 45"} 
[2026-07-08 08:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570989056001,"power":27767,"unknown_40":206,"unknown_85":14336,"ignition":27,"odometer":null,"unknown_45":9126192825503766528}} 
[2026-07-08 08:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":125164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:45:38] local.INFO: GPS data processed {"connection_id":125164,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:45:38] local.INFO: Acknowledgment sent {"connection_id":125164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:45:45] local.INFO: TCP Data received {"connection_id":125251,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125251,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:45:45] local.INFO: Processing buffer {"connection_id":125251,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:45:45] local.INFO: IMEI packet received {"connection_id":125251,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 08:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":125251,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:45:45] local.INFO: TCP Data received {"connection_id":125251,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125251,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:45:45] local.INFO: Processing buffer {"connection_id":125251,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:45:45] local.INFO: IMEI packet received {"connection_id":125251,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":125251,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:45:47] local.INFO: TCP Data received {"connection_id":127266,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127266,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:45:47] local.INFO: Processing buffer {"connection_id":127266,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:45:47] local.INFO: IMEI packet received {"connection_id":127266,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":127266,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:45:50] local.INFO: TCP Data received {"connection_id":125251,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125251,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:45:50] local.INFO: Processing buffer {"connection_id":125251,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:45:50] local.INFO: IMEI packet received {"connection_id":125251,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":125251,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:45:51] local.INFO: TCP Data received {"connection_id":125251,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb943f0012d0e64c007063be80020013528..."} 
[2026-07-08 08:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb943f0012d0e64c007063be80020013528..."} 
[2026-07-08 08:45:51] local.INFO: Processing buffer {"connection_id":125251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb943f0012d0e64c007063be80020013528..."} 
[2026-07-08 08:45:51] local.INFO: Packet analysis {"connection_id":125251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb9"} 
[2026-07-08 08:45:51] local.INFO: Extracted packet for processing {"connection_id":125251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb9"} 
[2026-07-08 08:45:51] local.INFO: GPS Element Parsed {"raw_longitude":755918016,"raw_latitude":117849064,"longitude_deg":75.5918016,"latitude_deg":11.7849064,"altitude":32,"angle":309,"satellites":40,"speed":11,"hex_longitude":"2d0e64c0","hex_latitude":"07063be8","is_valid_coordinates":true} 
[2026-07-08 08:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571016448001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23498534875561984,"note":"Value kept but may cause issues"} 
[2026-07-08 08:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1037376056836427776,"note":"Value kept but may cause issues"} 
[2026-07-08 08:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783480534000,"timestamp_ms":1783480534000,"timestamp_seconds":1783480534,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb943f0"} 
[2026-07-08 08:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:45:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-08 08:45:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:45:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125251,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125251,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571016448001,"66":14428,"165":206,"94":11008,"24":11,"16":23498534875561984,"45":1037376056836427776},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-08 08:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571016448001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:45:51] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-08 08:45:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 08:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23498534875561984,"km_value":23498534875561.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1037376056836427776,"description":"Unknown IO ID 45"} 
[2026-07-08 08:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571016448001,"power":14428,"unknown_165":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":1037376056836427776}} 
[2026-07-08 08:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":125251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449811,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:45:51] local.INFO: GPS data processed {"connection_id":125251,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:45:51] local.INFO: Acknowledgment sent {"connection_id":125251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:45:52] local.INFO: TCP Data received {"connection_id":127266,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127266,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:45:52] local.INFO: Processing buffer {"connection_id":127266,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:45:52] local.INFO: IMEI packet received {"connection_id":127266,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":127266,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:45:53] local.INFO: TCP Data received {"connection_id":127266,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb91ce0012d7be50005ec3530000500382d..."} 
[2026-07-08 08:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb91ce0012d7be50005ec3530000500382d..."} 
[2026-07-08 08:45:53] local.INFO: Processing buffer {"connection_id":127266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb91ce0012d7be50005ec3530000500382d..."} 
[2026-07-08 08:45:53] local.INFO: Packet analysis {"connection_id":127266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb9"} 
[2026-07-08 08:45:53] local.INFO: Extracted packet for processing {"connection_id":127266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb9"} 
[2026-07-08 08:45:53] local.INFO: GPS Element Parsed {"raw_longitude":763094272,"raw_latitude":99366192,"longitude_deg":76.3094272,"latitude_deg":9.9366192,"altitude":5,"angle":56,"satellites":45,"speed":11,"hex_longitude":"2d7be500","hex_latitude":"05ec3530","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571013888001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103671134611832832,"note":"Value kept but may cause issues"} 
[2026-07-08 08:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927260386792857600,"note":"Value kept but may cause issues"} 
[2026-07-08 08:45:53] 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-07-08 08:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783480524000,"timestamp_ms":1783480524000,"timestamp_seconds":1783480524,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb91ce0"} 
[2026-07-08 08:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-08 08:45:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":127266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":127266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":127266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571013888001,"66":12993,"198":206,"87":13824,"24":11,"16":103671134611832832,"45":8927260386792857600},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-08 08:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571013888001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:45:53] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-08 08:45:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103671134611832832,"km_value":103671134611832.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927260386792857600,"description":"Unknown IO ID 45"} 
[2026-07-08 08:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571013888001,"power":12993,"unknown_198":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8927260386792857600}} 
[2026-07-08 08:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":127266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449812,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:45:53] local.INFO: GPS data processed {"connection_id":127266,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:45:53] local.INFO: Acknowledgment sent {"connection_id":127266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:45:56] local.INFO: TCP Data received {"connection_id":125252,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:45:56] local.INFO: Processing buffer {"connection_id":125252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:45:56] local.INFO: IMEI packet received {"connection_id":125252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":125252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:45:57] local.INFO: TCP Data received {"connection_id":125995,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125995,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:45:57] local.INFO: Processing buffer {"connection_id":125995,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:45:57] local.INFO: IMEI packet received {"connection_id":125995,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 08:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":125995,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:46:01] local.INFO: TCP Data received {"connection_id":125252,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:46:01] local.INFO: Processing buffer {"connection_id":125252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:46:01] local.INFO: IMEI packet received {"connection_id":125252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":125252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:46:02] local.INFO: TCP Data received {"connection_id":125252,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb826c8012d7eaac005ac27500007000032..."} 
[2026-07-08 08:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb826c8012d7eaac005ac27500007000032..."} 
[2026-07-08 08:46:02] local.INFO: Processing buffer {"connection_id":125252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb826c8012d7eaac005ac27500007000032..."} 
[2026-07-08 08:46:02] local.INFO: Packet analysis {"connection_id":125252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb8"} 
[2026-07-08 08:46:02] local.INFO: Extracted packet for processing {"connection_id":125252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb8"} 
[2026-07-08 08:46:02] local.INFO: GPS Element Parsed {"raw_longitude":763275968,"raw_latitude":95168336,"longitude_deg":76.3275968,"latitude_deg":9.5168336,"altitude":7,"angle":0,"satellites":50,"speed":23,"hex_longitude":"2d7eaac0","hex_latitude":"05ac2750","is_valid_coordinates":true} 
[2026-07-08 08:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570993664001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342516361886433280,"note":"Value kept but may cause issues"} 
[2026-07-08 08:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127107619180468224,"note":"Value kept but may cause issues"} 
[2026-07-08 08:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783480461000,"timestamp_ms":1783480461000,"timestamp_seconds":1783480461,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb826c8"} 
[2026-07-08 08:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:46: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-07-08 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 08:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570993664001,"66":27745,"170":206,"85":14336,"24":23,"16":342516361886433280,"45":9127107619180468224},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-07-08 08:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570993664001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:46:02] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-08 08:46:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342516361886433280,"km_value":342516361886433.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127107619180468224,"description":"Unknown IO ID 45"} 
[2026-07-08 08:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570993664001,"power":27745,"unknown_170":206,"unknown_85":14336,"ignition":23,"odometer":null,"unknown_45":9127107619180468224}} 
[2026-07-08 08:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":125252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:46:02] local.INFO: GPS data processed {"connection_id":125252,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:46:02] local.INFO: Acknowledgment sent {"connection_id":125252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:46:22] local.INFO: TCP Data received {"connection_id":125251,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb947d8012d0e63c007063ca00020012629..."} 
[2026-07-08 08:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb947d8012d0e63c007063ca00020012629..."} 
[2026-07-08 08:46:22] local.INFO: Processing buffer {"connection_id":125251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb947d8012d0e63c007063ca00020012629..."} 
[2026-07-08 08:46:22] local.INFO: Packet analysis {"connection_id":125251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb9"} 
[2026-07-08 08:46:22] local.INFO: Extracted packet for processing {"connection_id":125251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb9"} 
[2026-07-08 08:46:22] local.INFO: GPS Element Parsed {"raw_longitude":755917760,"raw_latitude":117849248,"longitude_deg":75.591776,"latitude_deg":11.7849248,"altitude":32,"angle":294,"satellites":41,"speed":14,"hex_longitude":"2d0e63c0","hex_latitude":"07063ca0","is_valid_coordinates":true} 
[2026-07-08 08:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571016704001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23498552055431168,"note":"Value kept but may cause issues"} 
[2026-07-08 08:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1037164950603950080,"note":"Value kept but may cause issues"} 
[2026-07-08 08:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783480535000,"timestamp_ms":1783480535000,"timestamp_seconds":1783480535,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb947d8"} 
[2026-07-08 08:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:46: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-07-08 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 08:46:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:46:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125251,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125251,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571016704001,"66":14428,"165":206,"94":11008,"24":14,"16":23498552055431168,"45":1037164950603950080},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-08 08:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571016704001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:46:22] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-08 08:46:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 08:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23498552055431168,"km_value":23498552055431.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1037164950603950080,"description":"Unknown IO ID 45"} 
[2026-07-08 08:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571016704001,"power":14428,"unknown_165":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":1037164950603950080}} 
[2026-07-08 08:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":125251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449814,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:46:23] local.INFO: GPS data processed {"connection_id":125251,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:46:23] local.INFO: Acknowledgment sent {"connection_id":125251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:46:25] local.INFO: TCP Data received {"connection_id":127266,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb920c8012d7be5c005ec35b8000500472d..."} 
[2026-07-08 08:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb920c8012d7be5c005ec35b8000500472d..."} 
[2026-07-08 08:46:25] local.INFO: Processing buffer {"connection_id":127266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb920c8012d7be5c005ec35b8000500472d..."} 
[2026-07-08 08:46:25] local.INFO: Packet analysis {"connection_id":127266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb9"} 
[2026-07-08 08:46:25] local.INFO: Extracted packet for processing {"connection_id":127266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb9"} 
[2026-07-08 08:46:25] local.INFO: GPS Element Parsed {"raw_longitude":763094464,"raw_latitude":99366328,"longitude_deg":76.3094464,"latitude_deg":9.9366328,"altitude":5,"angle":71,"satellites":45,"speed":13,"hex_longitude":"2d7be5c0","hex_latitude":"05ec35b8","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571014144001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103671147496734720,"note":"Value kept but may cause issues"} 
[2026-07-08 08:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927541861769621504,"note":"Value kept but may cause issues"} 
[2026-07-08 08:46:25] 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-07-08 08:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783480525000,"timestamp_ms":1783480525000,"timestamp_seconds":1783480525,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb920c8"} 
[2026-07-08 08:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:46: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-07-08 08: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-08 08:46:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":127266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":127266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":127266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:46:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571014144001,"66":12982,"198":206,"87":13824,"24":13,"16":103671147496734720,"45":8927541861769621504},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-08 08:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571014144001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:46:25] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-08 08:46:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103671147496734720,"km_value":103671147496734.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927541861769621504,"description":"Unknown IO ID 45"} 
[2026-07-08 08:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571014144001,"power":12982,"unknown_198":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8927541861769621504}} 
[2026-07-08 08:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":127266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:46:25] local.INFO: GPS data processed {"connection_id":127266,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:46:25] local.INFO: Acknowledgment sent {"connection_id":127266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:46:33] local.INFO: TCP Data received {"connection_id":125252,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb85d78012d7eab0005ac4a500008016731..."} 
[2026-07-08 08:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb85d78012d7eab0005ac4a500008016731..."} 
[2026-07-08 08:46:33] local.INFO: Processing buffer {"connection_id":125252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb85d78012d7eab0005ac4a500008016731..."} 
[2026-07-08 08:46:33] local.INFO: Packet analysis {"connection_id":125252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb8"} 
[2026-07-08 08:46:33] local.INFO: Extracted packet for processing {"connection_id":125252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb8"} 
[2026-07-08 08:46:33] local.INFO: GPS Element Parsed {"raw_longitude":763276032,"raw_latitude":95177296,"longitude_deg":76.3276032,"latitude_deg":9.5177296,"altitude":8,"angle":359,"satellites":49,"speed":23,"hex_longitude":"2d7eab00","hex_latitude":"05ac4a50","is_valid_coordinates":true} 
[2026-07-08 08:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456570998016001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342516795678130176,"note":"Value kept but may cause issues"} 
[2026-07-08 08:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127318725415358464,"note":"Value kept but may cause issues"} 
[2026-07-08 08:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783480475000,"timestamp_ms":1783480475000,"timestamp_seconds":1783480475,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb85d78"} 
[2026-07-08 08:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 08:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:46:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456570998016001,"66":27658,"170":206,"85":14336,"24":23,"16":342516795678130176,"45":9127318725415358464},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-07-08 08:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456570998016001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:46:33] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-08 08:46:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342516795678130176,"km_value":342516795678130.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127318725415358464,"description":"Unknown IO ID 45"} 
[2026-07-08 08:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456570998016001,"power":27658,"unknown_170":206,"unknown_85":14336,"ignition":23,"odometer":null,"unknown_45":9127318725415358464}} 
[2026-07-08 08:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":125252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:46:33] local.INFO: GPS data processed {"connection_id":125252,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:46:33] local.INFO: Acknowledgment sent {"connection_id":125252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:46:50] local.INFO: TCP Data received {"connection_id":125166,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125166,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:46:50] local.INFO: Processing buffer {"connection_id":125166,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:46:50] local.INFO: IMEI packet received {"connection_id":125166,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 08:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":125166,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:46:53] local.INFO: TCP Data received {"connection_id":125167,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:46:53] local.INFO: Processing buffer {"connection_id":125167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:46:53] local.INFO: IMEI packet received {"connection_id":125167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":125167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:46:54] local.INFO: TCP Data received {"connection_id":125166,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125166,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:46:54] local.INFO: Processing buffer {"connection_id":125166,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:46:54] local.INFO: IMEI packet received {"connection_id":125166,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":125166,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:46:56] local.INFO: TCP Data received {"connection_id":125996,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:46:56] local.INFO: Processing buffer {"connection_id":125996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:46:56] local.INFO: IMEI packet received {"connection_id":125996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":125996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:46:58] local.INFO: TCP Data received {"connection_id":125167,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:46:58] local.INFO: Processing buffer {"connection_id":125167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:46:58] local.INFO: IMEI packet received {"connection_id":125167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":125167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:47:00] local.INFO: TCP Data received {"connection_id":125167,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb92c80012d7bea8005ec36c0000400522d..."} 
[2026-07-08 08:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb92c80012d7bea8005ec36c0000400522d..."} 
[2026-07-08 08:47:00] local.INFO: Processing buffer {"connection_id":125167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb92c80012d7bea8005ec36c0000400522d..."} 
[2026-07-08 08:47:00] local.INFO: Packet analysis {"connection_id":125167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb9"} 
[2026-07-08 08:47:00] local.INFO: Extracted packet for processing {"connection_id":125167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb9"} 
[2026-07-08 08:47:00] local.INFO: GPS Element Parsed {"raw_longitude":763095680,"raw_latitude":99366592,"longitude_deg":76.309568,"latitude_deg":9.9366592,"altitude":4,"angle":82,"satellites":45,"speed":15,"hex_longitude":"2d7bea80","hex_latitude":"05ec36c0","is_valid_coordinates":true} 
[2026-07-08 08:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571014400001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103671207626276864,"note":"Value kept but may cause issues"} 
[2026-07-08 08:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927752968002189312,"note":"Value kept but may cause issues"} 
[2026-07-08 08:47: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-07-08 08:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783480528000,"timestamp_ms":1783480528000,"timestamp_seconds":1783480528,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb92c80"} 
[2026-07-08 08:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:47:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:47: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":182,"data_length":795,"current_offset":136} 
[2026-07-08 08:47:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:47:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571014400001,"66":13102,"198":206,"87":13824,"24":15,"16":103671207626276864,"45":8927752968002189312},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-08 08:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571014400001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:47:00] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-08 08:47:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103671207626276864,"km_value":103671207626276.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927752968002189312,"description":"Unknown IO ID 45"} 
[2026-07-08 08:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571014400001,"power":13102,"unknown_198":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8927752968002189312}} 
[2026-07-08 08:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":125167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449817,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:47:00] local.INFO: GPS data processed {"connection_id":125167,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:47:00] local.INFO: Acknowledgment sent {"connection_id":125167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:47:01] local.INFO: TCP Data received {"connection_id":125996,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:47:01] local.INFO: Processing buffer {"connection_id":125996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:47:01] local.INFO: IMEI packet received {"connection_id":125996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":125996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:47:02] local.INFO: TCP Data received {"connection_id":125167,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb96ee8012d7c0fc005ec3838000900572c..."} 
[2026-07-08 08:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb96ee8012d7c0fc005ec3838000900572c..."} 
[2026-07-08 08:47:02] local.INFO: Processing buffer {"connection_id":125167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb96ee8012d7c0fc005ec3838000900572c..."} 
[2026-07-08 08:47:02] local.INFO: Packet analysis {"connection_id":125167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb9"} 
[2026-07-08 08:47:02] local.INFO: Extracted packet for processing {"connection_id":125167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb9"} 
[2026-07-08 08:47:02] local.INFO: GPS Element Parsed {"raw_longitude":763105216,"raw_latitude":99366968,"longitude_deg":76.3105216,"latitude_deg":9.9366968,"altitude":9,"angle":87,"satellites":44,"speed":37,"hex_longitude":"2d7c0fc0","hex_latitude":"05ec3838","is_valid_coordinates":true} 
[2026-07-08 08:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571015168001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103671662892810240,"note":"Value kept but may cause issues"} 
[2026-07-08 08:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929089974141632512,"note":"Value kept but may cause issues"} 
[2026-07-08 08:47: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-07-08 08:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783480545000,"timestamp_ms":1783480545000,"timestamp_seconds":1783480545,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb96ee8"} 
[2026-07-08 08:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:47: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-07-08 08: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-08 08:47:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571015168001,"66":13319,"198":206,"87":13824,"24":37,"16":103671662892810240,"45":8929089974141632512},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-08 08:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571015168001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:47:02] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-08 08:47:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103671662892810240,"km_value":103671662892810.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929089974141632512,"description":"Unknown IO ID 45"} 
[2026-07-08 08:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571015168001,"power":13319,"unknown_198":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8929089974141632512}} 
[2026-07-08 08:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":125167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449818,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:47:02] local.INFO: GPS data processed {"connection_id":125167,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:47:02] local.INFO: Acknowledgment sent {"connection_id":125167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:47:02] local.INFO: TCP Data received {"connection_id":125166,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb95778012d0e5c4007063ef00021011b28..."} 
[2026-07-08 08:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb95778012d0e5c4007063ef00021011b28..."} 
[2026-07-08 08:47:02] local.INFO: Processing buffer {"connection_id":125166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb95778012d0e5c4007063ef00021011b28..."} 
[2026-07-08 08:47:02] local.INFO: Packet analysis {"connection_id":125166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb9"} 
[2026-07-08 08:47:02] local.INFO: Extracted packet for processing {"connection_id":125166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb9"} 
[2026-07-08 08:47:02] local.INFO: GPS Element Parsed {"raw_longitude":755915840,"raw_latitude":117849840,"longitude_deg":75.591584,"latitude_deg":11.784984,"altitude":33,"angle":283,"satellites":40,"speed":18,"hex_longitude":"2d0e5c40","hex_latitude":"07063ef0","is_valid_coordinates":true} 
[2026-07-08 08:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571016960001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23498646544711680,"note":"Value kept but may cause issues"} 
[2026-07-08 08:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1036883475627286528,"note":"Value kept but may cause issues"} 
[2026-07-08 08:47: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-07-08 08:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783480539000,"timestamp_ms":1783480539000,"timestamp_seconds":1783480539,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb95778"} 
[2026-07-08 08:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08: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-07-08 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 08:47:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125166,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125166,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571016960001,"66":14515,"165":206,"94":11008,"24":18,"16":23498646544711680,"45":1036883475627286528},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-08 08:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571016960001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:47:02] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-08 08:47:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 08:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23498646544711680,"km_value":23498646544711.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1036883475627286528,"description":"Unknown IO ID 45"} 
[2026-07-08 08:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571016960001,"power":14515,"unknown_165":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":1036883475627286528}} 
[2026-07-08 08:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":125166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449819,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:47:02] local.INFO: GPS data processed {"connection_id":125166,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:47:02] local.INFO: Acknowledgment sent {"connection_id":125166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:47:03] local.INFO: TCP Data received {"connection_id":125996,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb89bf8012d7eaa8005ac6e800007016630..."} 
[2026-07-08 08:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb89bf8012d7eaa8005ac6e800007016630..."} 
[2026-07-08 08:47:03] local.INFO: Processing buffer {"connection_id":125996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb89bf8012d7eaa8005ac6e800007016630..."} 
[2026-07-08 08:47:03] local.INFO: Packet analysis {"connection_id":125996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb8"} 
[2026-07-08 08:47:03] local.INFO: Extracted packet for processing {"connection_id":125996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb8"} 
[2026-07-08 08:47:03] local.INFO: GPS Element Parsed {"raw_longitude":763275904,"raw_latitude":95186560,"longitude_deg":76.3275904,"latitude_deg":9.518656,"altitude":7,"angle":358,"satellites":48,"speed":30,"hex_longitude":"2d7eaa80","hex_latitude":"05ac6e80","is_valid_coordinates":true} 
[2026-07-08 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-07-08 08:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571001600001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342517242354728960,"note":"Value kept but may cause issues"} 
[2026-07-08 08:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127389094161829888,"note":"Value kept but may cause issues"} 
[2026-07-08 08:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783480491000,"timestamp_ms":1783480491000,"timestamp_seconds":1783480491,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb89bf8"} 
[2026-07-08 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-07-08 08:47: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-07-08 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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 08:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 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-07-08 08:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571001600001,"66":27800,"170":206,"85":14336,"24":30,"16":342517242354728960,"45":9127389094161829888},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-07-08 08:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571001600001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:47:03] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-08 08:47:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342517242354728960,"km_value":342517242354728.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127389094161829888,"description":"Unknown IO ID 45"} 
[2026-07-08 08:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571001600001,"power":27800,"unknown_170":206,"unknown_85":14336,"ignition":30,"odometer":null,"unknown_45":9127389094161829888}} 
[2026-07-08 08:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":125996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:47:03] local.INFO: GPS data processed {"connection_id":125996,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:47:03] local.INFO: Acknowledgment sent {"connection_id":125996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:47:03] local.INFO: TCP Data received {"connection_id":125166,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb96b00012d0e5440070640080023010c28..."} 
[2026-07-08 08:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb96b00012d0e5440070640080023010c28..."} 
[2026-07-08 08:47:03] local.INFO: Processing buffer {"connection_id":125166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb96b00012d0e5440070640080023010c28..."} 
[2026-07-08 08:47:03] local.INFO: Packet analysis {"connection_id":125166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb9"} 
[2026-07-08 08:47:03] local.INFO: Extracted packet for processing {"connection_id":125166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb9"} 
[2026-07-08 08:47:03] local.INFO: GPS Element Parsed {"raw_longitude":755913792,"raw_latitude":117850120,"longitude_deg":75.5913792,"latitude_deg":11.785012,"altitude":35,"angle":268,"satellites":40,"speed":15,"hex_longitude":"2d0e5440","hex_latitude":"07064008","is_valid_coordinates":true} 
[2026-07-08 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-07-08 08:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571017984001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23498745328959488,"note":"Value kept but may cause issues"} 
[2026-07-08 08:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1034772413302108160,"note":"Value kept but may cause issues"} 
[2026-07-08 08: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-07-08 08:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783480544000,"timestamp_ms":1783480544000,"timestamp_seconds":1783480544,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb96b00"} 
[2026-07-08 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-07-08 08:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 08:47: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-07-08 08: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-07-08 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-07-08 08:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125166,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125166,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571017984001,"66":14439,"165":206,"94":11008,"24":15,"16":23498745328959488,"45":1034772413302108160},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-08 08:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571017984001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:47:03] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-08 08:47:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 08:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23498745328959488,"km_value":23498745328959.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1034772413302108160,"description":"Unknown IO ID 45"} 
[2026-07-08 08:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571017984001,"power":14439,"unknown_165":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":1034772413302108160}} 
[2026-07-08 08:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":125166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449821,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:47:03] local.INFO: GPS data processed {"connection_id":125166,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:47:03] local.INFO: Acknowledgment sent {"connection_id":125166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:47:37] local.INFO: TCP Data received {"connection_id":125996,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fb8cad8012d7ea94005ac91300007016631..."} 
[2026-07-08 08:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fb8cad8012d7ea94005ac91300007016631..."} 
[2026-07-08 08:47:37] local.INFO: Processing buffer {"connection_id":125996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fb8cad8012d7ea94005ac91300007016631..."} 
[2026-07-08 08:47:37] local.INFO: Packet analysis {"connection_id":125996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fb8"} 
[2026-07-08 08:47:37] local.INFO: Extracted packet for processing {"connection_id":125996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fb8"} 
[2026-07-08 08:47:37] local.INFO: GPS Element Parsed {"raw_longitude":763275584,"raw_latitude":95195440,"longitude_deg":76.3275584,"latitude_deg":9.519544,"altitude":7,"angle":358,"satellites":49,"speed":28,"hex_longitude":"2d7ea940","hex_latitude":"05ac9130","is_valid_coordinates":true} 
[2026-07-08 08:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571005696001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342517676146425856,"note":"Value kept but may cause issues"} 
[2026-07-08 08:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127248356675846144,"note":"Value kept but may cause issues"} 
[2026-07-08 08:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783480503000,"timestamp_ms":1783480503000,"timestamp_seconds":1783480503,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fb8cad8"} 
[2026-07-08 08:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 08:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571005696001,"66":27821,"170":206,"85":14336,"24":28,"16":342517676146425856,"45":9127248356675846144},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-07-08 08:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571005696001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:47:37] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-08 08:47:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342517676146425856,"km_value":342517676146425.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127248356675846144,"description":"Unknown IO ID 45"} 
[2026-07-08 08:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571005696001,"power":27821,"unknown_170":206,"unknown_85":14336,"ignition":28,"odometer":null,"unknown_45":9127248356675846144}} 
[2026-07-08 08:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":125996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:47:37] local.INFO: GPS data processed {"connection_id":125996,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:47:37] local.INFO: Acknowledgment sent {"connection_id":125996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:47:45] local.INFO: TCP Data received {"connection_id":125168,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125168,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:47:45] local.INFO: Processing buffer {"connection_id":125168,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:47:45] local.INFO: IMEI packet received {"connection_id":125168,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 08:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":125168,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:47:47] local.INFO: TCP Data received {"connection_id":125253,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125253,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:47:47] local.INFO: Processing buffer {"connection_id":125253,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:47:47] local.INFO: IMEI packet received {"connection_id":125253,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":125253,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:47:48] local.INFO: TCP Data received {"connection_id":125253,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125253,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:47:48] local.INFO: Processing buffer {"connection_id":125253,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:47:48] local.INFO: IMEI packet received {"connection_id":125253,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":125253,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:47:50] local.INFO: TCP Data received {"connection_id":125168,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125168,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:47:50] local.INFO: Processing buffer {"connection_id":125168,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:47:50] local.INFO: IMEI packet received {"connection_id":125168,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":125168,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:47:51] local.INFO: TCP Data received {"connection_id":125168,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fbada30012d0e294007067f280023014327..."} 
[2026-07-08 08:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fbada30012d0e294007067f280023014327..."} 
[2026-07-08 08:47:51] local.INFO: Processing buffer {"connection_id":125168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fbada30012d0e294007067f280023014327..."} 
[2026-07-08 08:47:51] local.INFO: Packet analysis {"connection_id":125168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fba"} 
[2026-07-08 08:47:51] local.INFO: Extracted packet for processing {"connection_id":125168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fba"} 
[2026-07-08 08:47:51] local.INFO: GPS Element Parsed {"raw_longitude":755902784,"raw_latitude":117866280,"longitude_deg":75.5902784,"latitude_deg":11.786628,"altitude":35,"angle":323,"satellites":39,"speed":7,"hex_longitude":"2d0e2940","hex_latitude":"07067f28","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571040256001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23499926444965888,"note":"Value kept but may cause issues"} 
[2026-07-08 08:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1020980139446386688,"note":"Value kept but may cause issues"} 
[2026-07-08 08:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783480638000,"timestamp_ms":1783480638000,"timestamp_seconds":1783480638,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fbada30"} 
[2026-07-08 08:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:47: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-07-08 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 08:47:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125168,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125168,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571040256001,"66":14407,"219":206,"94":10240,"24":7,"16":23499926444965888,"45":1020980139446386688},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-08 08:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571040256001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:47:51] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-08 08:47:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 08:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23499926444965888,"km_value":23499926444965.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1020980139446386688,"description":"Unknown IO ID 45"} 
[2026-07-08 08:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571040256001,"power":14407,"unknown_219":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":1020980139446386688}} 
[2026-07-08 08:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":125168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449823,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:47:51] local.INFO: GPS data processed {"connection_id":125168,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:47:51] local.INFO: Acknowledgment sent {"connection_id":125168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:47:52] local.INFO: TCP Data received {"connection_id":125253,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125253,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:47:52] local.INFO: Processing buffer {"connection_id":125253,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:47:52] local.INFO: IMEI packet received {"connection_id":125253,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":125253,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:47:54] local.INFO: TCP Data received {"connection_id":125253,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fbad648012d7d1a4005ec3e38000d01022e..."} 
[2026-07-08 08:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fbad648012d7d1a4005ec3e38000d01022e..."} 
[2026-07-08 08:47:54] local.INFO: Processing buffer {"connection_id":125253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fbad648012d7d1a4005ec3e38000d01022e..."} 
[2026-07-08 08:47:54] local.INFO: Packet analysis {"connection_id":125253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fba"} 
[2026-07-08 08:47:54] local.INFO: Extracted packet for processing {"connection_id":125253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fba"} 
[2026-07-08 08:47:54] local.INFO: GPS Element Parsed {"raw_longitude":763173440,"raw_latitude":99368504,"longitude_deg":76.317344,"latitude_deg":9.9368504,"altitude":13,"angle":258,"satellites":46,"speed":12,"hex_longitude":"2d7d1a40","hex_latitude":"05ec3e38","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571042816001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103675030147170304,"note":"Value kept but may cause issues"} 
[2026-07-08 08:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014939842038896640,"note":"Value kept but may cause issues"} 
[2026-07-08 08:47: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-07-08 08:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783480637000,"timestamp_ms":1783480637000,"timestamp_seconds":1783480637,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fbad648"} 
[2026-07-08 08:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:47: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-07-08 08: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-08 08:47: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-07-08 08: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-07-08 08:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":125253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":125253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":125253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:47:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571042816001,"66":13222,"110":206,"87":13824,"24":12,"16":103675030147170304,"45":9014939842038896640},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 08:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571042816001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:47:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 08:47:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103675030147170304,"km_value":103675030147170.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014939842038896640,"description":"Unknown IO ID 45"} 
[2026-07-08 08:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571042816001,"power":13222,"unknown_110":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":9014939842038896640}} 
[2026-07-08 08:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":125253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449824,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:47:54] local.INFO: GPS data processed {"connection_id":125253,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:47:54] local.INFO: Acknowledgment sent {"connection_id":125253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:48:01] local.INFO: TCP Data received {"connection_id":127268,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:48:01] local.INFO: Processing buffer {"connection_id":127268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:48:01] local.INFO: IMEI packet received {"connection_id":127268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":127268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:48:06] local.INFO: TCP Data received {"connection_id":127268,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:48:06] local.INFO: Processing buffer {"connection_id":127268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:48:06] local.INFO: IMEI packet received {"connection_id":127268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":127268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:48:07] local.INFO: TCP Data received {"connection_id":127268,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fbac2c0012d7ea34005add598000b016631..."} 
[2026-07-08 08:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fbac2c0012d7ea34005add598000b016631..."} 
[2026-07-08 08:48:07] local.INFO: Processing buffer {"connection_id":127268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fbac2c0012d7ea34005add598000b016631..."} 
[2026-07-08 08:48:07] local.INFO: Packet analysis {"connection_id":127268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fba"} 
[2026-07-08 08:48:07] local.INFO: Extracted packet for processing {"connection_id":127268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fba"} 
[2026-07-08 08:48:07] local.INFO: GPS Element Parsed {"raw_longitude":763274048,"raw_latitude":95278488,"longitude_deg":76.3274048,"latitude_deg":9.5278488,"altitude":11,"angle":358,"satellites":49,"speed":50,"hex_longitude":"2d7ea340","hex_latitude":"05add598","is_valid_coordinates":true} 
[2026-07-08 08:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571039744001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342521717710651392,"note":"Value kept but may cause issues"} 
[2026-07-08 08:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125418769348288512,"note":"Value kept but may cause issues"} 
[2026-07-08 08:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783480632000,"timestamp_ms":1783480632000,"timestamp_seconds":1783480632,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fbac2c0"} 
[2026-07-08 08:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 08:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571039744001,"66":27789,"225":206,"85":14336,"24":50,"16":342521717710651392,"45":9125418769348288512},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-07-08 08:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571039744001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:48:07] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-08 08:48:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 08:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342521717710651392,"km_value":342521717710651.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125418769348288512,"description":"Unknown IO ID 45"} 
[2026-07-08 08:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571039744001,"power":27789,"unknown_225":206,"unknown_85":14336,"ignition":50,"odometer":null,"unknown_45":9125418769348288512}} 
[2026-07-08 08:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":127268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:48:07] local.INFO: GPS data processed {"connection_id":127268,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:48:07] local.INFO: Acknowledgment sent {"connection_id":127268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:48:23] local.INFO: TCP Data received {"connection_id":125168,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fbbb8d8012d0e0280070692c80019004c26..."} 
[2026-07-08 08:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fbbb8d8012d0e0280070692c80019004c26..."} 
[2026-07-08 08:48:23] local.INFO: Processing buffer {"connection_id":125168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fbbb8d8012d0e0280070692c80019004c26..."} 
[2026-07-08 08:48:23] local.INFO: Packet analysis {"connection_id":125168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fbb"} 
[2026-07-08 08:48:23] local.INFO: Extracted packet for processing {"connection_id":125168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fbb"} 
[2026-07-08 08:48:23] local.INFO: GPS Element Parsed {"raw_longitude":755892864,"raw_latitude":117871304,"longitude_deg":75.5892864,"latitude_deg":11.7871304,"altitude":25,"angle":76,"satellites":38,"speed":5,"hex_longitude":"2d0e0280","hex_latitude":"070692c8","is_valid_coordinates":true} 
[2026-07-08 08:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571057152001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23500549215223808,"note":"Value kept but may cause issues"} 
[2026-07-08 08:48:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009158190426853376,"note":"Value kept but may cause issues"} 
[2026-07-08 08:48:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783480695000,"timestamp_ms":1783480695000,"timestamp_seconds":1783480695,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fbbb8d8"} 
[2026-07-08 08:48:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:48:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-08 08:48:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:48:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:48:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":125168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":125168,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":125168,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:48:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571057152001,"66":14439,"219":206,"94":10240,"24":5,"16":23500549215223808,"45":1009158190426853376},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-08 08:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571057152001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:48:23] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-08 08:48:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 08:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23500549215223808,"km_value":23500549215223.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:48:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009158190426853376,"description":"Unknown IO ID 45"} 
[2026-07-08 08:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571057152001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":1009158190426853376}} 
[2026-07-08 08:48:23] local.INFO: DEBUG: GPS processor result {"connection_id":125168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449826,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:48:23] local.INFO: GPS data processed {"connection_id":125168,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:48:23] local.INFO: Acknowledgment sent {"connection_id":125168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:48:25] local.INFO: TCP Data received {"connection_id":125253,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fbb10e0012d7cf6c005ec3a80000e01092d..."} 
[2026-07-08 08:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fbb10e0012d7cf6c005ec3a80000e01092d..."} 
[2026-07-08 08:48:25] local.INFO: Processing buffer {"connection_id":125253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fbb10e0012d7cf6c005ec3a80000e01092d..."} 
[2026-07-08 08:48:25] local.INFO: Packet analysis {"connection_id":125253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fbb"} 
[2026-07-08 08:48:25] local.INFO: Extracted packet for processing {"connection_id":125253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fbb"} 
[2026-07-08 08:48:25] local.INFO: GPS Element Parsed {"raw_longitude":763164352,"raw_latitude":99367552,"longitude_deg":76.3164352,"latitude_deg":9.9367552,"altitude":14,"angle":265,"satellites":45,"speed":25,"hex_longitude":"2d7cf6c0","hex_latitude":"05ec3a80","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571043072001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103675468233834496,"note":"Value kept but may cause issues"} 
[2026-07-08 08:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014587998317983744,"note":"Value kept but may cause issues"} 
[2026-07-08 08:48: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-07-08 08:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783480652000,"timestamp_ms":1783480652000,"timestamp_seconds":1783480652,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fbb10e0"} 
[2026-07-08 08:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:48: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-07-08 08: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":166,"data_length":795,"current_offset":136} 
[2026-07-08 08:48: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-07-08 08: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-07-08 08:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":125253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":125253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":125253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:48:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571043072001,"66":12950,"110":206,"87":13824,"24":25,"16":103675468233834496,"45":9014587998317983744},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 08:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571043072001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:48:25] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 08:48:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103675468233834496,"km_value":103675468233834.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014587998317983744,"description":"Unknown IO ID 45"} 
[2026-07-08 08:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571043072001,"power":12950,"unknown_110":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":9014587998317983744}} 
[2026-07-08 08:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":125253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449827,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:48:26] local.INFO: GPS data processed {"connection_id":125253,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:48:26] local.INFO: Acknowledgment sent {"connection_id":125253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:48:38] local.INFO: TCP Data received {"connection_id":127268,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fbade18012d7ea30005adf8c0000d000030..."} 
[2026-07-08 08:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fbade18012d7ea30005adf8c0000d000030..."} 
[2026-07-08 08:48:38] local.INFO: Processing buffer {"connection_id":127268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fbade18012d7ea30005adf8c0000d000030..."} 
[2026-07-08 08:48:38] local.INFO: Packet analysis {"connection_id":127268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fba"} 
[2026-07-08 08:48:38] local.INFO: Extracted packet for processing {"connection_id":127268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fba"} 
[2026-07-08 08:48:38] local.INFO: GPS Element Parsed {"raw_longitude":763273984,"raw_latitude":95287488,"longitude_deg":76.3273984,"latitude_deg":9.5287488,"altitude":13,"angle":0,"satellites":48,"speed":51,"hex_longitude":"2d7ea300","hex_latitude":"05adf8c0","is_valid_coordinates":true} 
[2026-07-08 08:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571041792001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342522151502348288,"note":"Value kept but may cause issues"} 
[2026-07-08 08:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125207663118227456,"note":"Value kept but may cause issues"} 
[2026-07-08 08:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783480639000,"timestamp_ms":1783480639000,"timestamp_seconds":1783480639,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fbade18"} 
[2026-07-08 08:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-08 08:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571041792001,"66":27832,"250":206,"85":12544,"24":51,"16":342522151502348288,"45":9125207663118227456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 08:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571041792001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:48:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 08:48:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 08:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342522151502348288,"km_value":342522151502348.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125207663118227456,"description":"Unknown IO ID 45"} 
[2026-07-08 08:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571041792001,"power":27832,"unknown_250":206,"unknown_85":12544,"ignition":51,"odometer":null,"unknown_45":9125207663118227456}} 
[2026-07-08 08:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":127268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:48:38] local.INFO: GPS data processed {"connection_id":127268,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:48:38] local.INFO: Acknowledgment sent {"connection_id":127268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:48:45] local.INFO: TCP Data received {"connection_id":127269,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127269,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:48:45] local.INFO: Processing buffer {"connection_id":127269,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:48:45] local.INFO: IMEI packet received {"connection_id":127269,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 08:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":127269,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:48:46] local.INFO: TCP Data received {"connection_id":127269,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127269,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:48:46] local.INFO: Processing buffer {"connection_id":127269,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:48:46] local.INFO: IMEI packet received {"connection_id":127269,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":127269,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:48:46] local.INFO: TCP Data received {"connection_id":127269,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127269,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:48:46] local.INFO: Processing buffer {"connection_id":127269,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:48:46] local.INFO: IMEI packet received {"connection_id":127269,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":127269,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:48:48] local.INFO: TCP Data received {"connection_id":125998,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125998,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:48:48] local.INFO: Processing buffer {"connection_id":125998,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:48:48] local.INFO: IMEI packet received {"connection_id":125998,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":125998,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:48:48] local.INFO: TCP Data received {"connection_id":125998,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125998,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:48:48] local.INFO: Processing buffer {"connection_id":125998,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:48:48] local.INFO: IMEI packet received {"connection_id":125998,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":125998,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:48:50] local.INFO: TCP Data received {"connection_id":127269,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127269,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:48:50] local.INFO: Processing buffer {"connection_id":127269,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:48:50] local.INFO: IMEI packet received {"connection_id":127269,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":127269,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:48:51] local.INFO: TCP Data received {"connection_id":127269,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fbbc0a8012d0e03c0070692780018006028..."} 
[2026-07-08 08:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fbbc0a8012d0e03c0070692780018006028..."} 
[2026-07-08 08:48:51] local.INFO: Processing buffer {"connection_id":127269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fbbc0a8012d0e03c0070692780018006028..."} 
[2026-07-08 08:48:51] local.INFO: Packet analysis {"connection_id":127269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fbb"} 
[2026-07-08 08:48:51] local.INFO: Extracted packet for processing {"connection_id":127269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fbb"} 
[2026-07-08 08:48:51] local.INFO: GPS Element Parsed {"raw_longitude":755893184,"raw_latitude":117871224,"longitude_deg":75.5893184,"latitude_deg":11.7871224,"altitude":24,"angle":96,"satellites":40,"speed":6,"hex_longitude":"2d0e03c0","hex_latitude":"07069278","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571057920001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23500566395092992,"note":"Value kept but may cause issues"} 
[2026-07-08 08:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009510034147821568,"note":"Value kept but may cause issues"} 
[2026-07-08 08:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783480697000,"timestamp_ms":1783480697000,"timestamp_seconds":1783480697,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fbbc0a8"} 
[2026-07-08 08:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":103,"data_length":795,"current_offset":136} 
[2026-07-08 08:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127269,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127269,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571057920001,"66":14428,"219":206,"94":10240,"24":6,"16":23500566395092992,"45":1009510034147821568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-08 08:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571057920001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:48:51] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-08 08:48:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 08:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23500566395092992,"km_value":23500566395092.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009510034147821568,"description":"Unknown IO ID 45"} 
[2026-07-08 08:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571057920001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":1009510034147821568}} 
[2026-07-08 08:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":127269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449829,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:48:51] local.INFO: GPS data processed {"connection_id":127269,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:48:51] local.INFO: Acknowledgment sent {"connection_id":127269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:48:52] local.INFO: TCP Data received {"connection_id":125998,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125998,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:48:52] local.INFO: Processing buffer {"connection_id":125998,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:48:52] local.INFO: IMEI packet received {"connection_id":125998,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":125998,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:48:54] local.INFO: TCP Data received {"connection_id":125998,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fbb4790012d7cd3c005ec39780010010b2b..."} 
[2026-07-08 08:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fbb4790012d7cd3c005ec39780010010b2b..."} 
[2026-07-08 08:48:54] local.INFO: Processing buffer {"connection_id":125998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fbb4790012d7cd3c005ec39780010010b2b..."} 
[2026-07-08 08:48:54] local.INFO: Packet analysis {"connection_id":125998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fbb"} 
[2026-07-08 08:48:54] local.INFO: Extracted packet for processing {"connection_id":125998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fbb"} 
[2026-07-08 08:48:54] local.INFO: GPS Element Parsed {"raw_longitude":763155392,"raw_latitude":99367288,"longitude_deg":76.3155392,"latitude_deg":9.9367288,"altitude":16,"angle":267,"satellites":43,"speed":36,"hex_longitude":"2d7cd3c0","hex_latitude":"05ec3978","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571046912001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103675897730564096,"note":"Value kept but may cause issues"} 
[2026-07-08 08:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004595636644511744,"note":"Value kept but may cause issues"} 
[2026-07-08 08:48: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-07-08 08:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783480666000,"timestamp_ms":1783480666000,"timestamp_seconds":1783480666,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fbb4790"} 
[2026-07-08 08:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-08 08:48:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":125998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":125998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":125998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571046912001,"66":13222,"110":206,"87":13824,"24":36,"16":103675897730564096,"45":9004595636644511744},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 08:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571046912001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:48:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 08:48:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103675897730564096,"km_value":103675897730564.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004595636644511744,"description":"Unknown IO ID 45"} 
[2026-07-08 08:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571046912001,"power":13222,"unknown_110":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":9004595636644511744}} 
[2026-07-08 08:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":125998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449830,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:48:54] local.INFO: GPS data processed {"connection_id":125998,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:48:54] local.INFO: Acknowledgment sent {"connection_id":125998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:48:56] local.INFO: TCP Data received {"connection_id":127269,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fbbc878012d0e0500070691c80018007026..."} 
[2026-07-08 08:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fbbc878012d0e0500070691c80018007026..."} 
[2026-07-08 08:48:56] local.INFO: Processing buffer {"connection_id":127269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fbbc878012d0e0500070691c80018007026..."} 
[2026-07-08 08:48:56] local.INFO: Packet analysis {"connection_id":127269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fbb"} 
[2026-07-08 08:48:56] local.INFO: Extracted packet for processing {"connection_id":127269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fbb"} 
[2026-07-08 08:48:56] local.INFO: GPS Element Parsed {"raw_longitude":755893504,"raw_latitude":117871048,"longitude_deg":75.5893504,"latitude_deg":11.7871048,"altitude":24,"angle":112,"satellites":38,"speed":6,"hex_longitude":"2d0e0500","hex_latitude":"070691c8","is_valid_coordinates":true} 
[2026-07-08 08:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571058432001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23500583574962176,"note":"Value kept but may cause issues"} 
[2026-07-08 08:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009861877868689408,"note":"Value kept but may cause issues"} 
[2026-07-08 08:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783480699000,"timestamp_ms":1783480699000,"timestamp_seconds":1783480699,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fbbc878"} 
[2026-07-08 08:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 08:48:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:48:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":127269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":127269,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":127269,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571058432001,"66":14450,"219":206,"94":10240,"24":6,"16":23500583574962176,"45":1009861877868689408},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-08 08:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571058432001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:48:56] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-08 08:48:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 08:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23500583574962176,"km_value":23500583574962.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009861877868689408,"description":"Unknown IO ID 45"} 
[2026-07-08 08:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571058432001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":1009861877868689408}} 
[2026-07-08 08:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":127269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449831,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:48:56] local.INFO: GPS data processed {"connection_id":127269,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:48:56] local.INFO: Acknowledgment sent {"connection_id":127269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:48:56] local.INFO: TCP Data received {"connection_id":125169,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:48:56] local.INFO: Processing buffer {"connection_id":125169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:48:56] local.INFO: IMEI packet received {"connection_id":125169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":125169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:49:02] local.INFO: TCP Data received {"connection_id":125169,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:49:02] local.INFO: Processing buffer {"connection_id":125169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:49:02] local.INFO: IMEI packet received {"connection_id":125169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":125169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:49:03] local.INFO: TCP Data received {"connection_id":125169,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fbafd58012d7ea34005ae2020000c000032..."} 
[2026-07-08 08:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fbafd58012d7ea34005ae2020000c000032..."} 
[2026-07-08 08:49:03] local.INFO: Processing buffer {"connection_id":125169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fbafd58012d7ea34005ae2020000c000032..."} 
[2026-07-08 08:49:03] local.INFO: Packet analysis {"connection_id":125169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fba"} 
[2026-07-08 08:49:03] local.INFO: Extracted packet for processing {"connection_id":125169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fba"} 
[2026-07-08 08:49:03] local.INFO: GPS Element Parsed {"raw_longitude":763274048,"raw_latitude":95297568,"longitude_deg":76.3274048,"latitude_deg":9.5297568,"altitude":12,"angle":0,"satellites":50,"speed":51,"hex_longitude":"2d7ea340","hex_latitude":"05ae2020","is_valid_coordinates":true} 
[2026-07-08 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-07-08 08:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571043584001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342522641128620032,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125137294376353792,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783480647000,"timestamp_ms":1783480647000,"timestamp_seconds":1783480647,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fbafd58"} 
[2026-07-08 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-07-08 08:49: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-07-08 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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-08 08:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 08:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571043584001,"66":27713,"250":206,"85":12544,"24":51,"16":342522641128620032,"45":9125137294376353792},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 08:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571043584001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:49:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 08:49:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 08:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342522641128620032,"km_value":342522641128620.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125137294376353792,"description":"Unknown IO ID 45"} 
[2026-07-08 08:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571043584001,"power":27713,"unknown_250":206,"unknown_85":12544,"ignition":51,"odometer":null,"unknown_45":9125137294376353792}} 
[2026-07-08 08:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":125169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:49:03] local.INFO: GPS data processed {"connection_id":125169,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:49:03] local.INFO: Acknowledgment sent {"connection_id":125169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:49:26] local.INFO: TCP Data received {"connection_id":125998,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fbb6ab8012d7cad4005ec37980011010b29..."} 
[2026-07-08 08:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fbb6ab8012d7cad4005ec37980011010b29..."} 
[2026-07-08 08:49:26] local.INFO: Processing buffer {"connection_id":125998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fbb6ab8012d7cad4005ec37980011010b29..."} 
[2026-07-08 08:49:26] local.INFO: Packet analysis {"connection_id":125998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fbb"} 
[2026-07-08 08:49:26] local.INFO: Extracted packet for processing {"connection_id":125998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fbb"} 
[2026-07-08 08:49:26] local.INFO: GPS Element Parsed {"raw_longitude":763145536,"raw_latitude":99366808,"longitude_deg":76.3145536,"latitude_deg":9.9366808,"altitude":17,"angle":267,"satellites":41,"speed":45,"hex_longitude":"2d7cad40","hex_latitude":"05ec3798","is_valid_coordinates":true} 
[2026-07-08 08:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571050496001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103676370176966656,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8994744012459571200,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49: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-07-08 08:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783480675000,"timestamp_ms":1783480675000,"timestamp_seconds":1783480675,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fbb6ab8"} 
[2026-07-08 08:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:49: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-07-08 08:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-08 08:49: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-07-08 08:49:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":125998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":125998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":125998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:49:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571050496001,"66":13319,"110":206,"87":13824,"24":45,"16":103676370176966656,"45":8994744012459571200},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 08:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571050496001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:49:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 08:49:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103676370176966656,"km_value":103676370176966.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8994744012459571200,"description":"Unknown IO ID 45"} 
[2026-07-08 08:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571050496001,"power":13319,"unknown_110":206,"unknown_87":13824,"ignition":45,"odometer":null,"unknown_45":8994744012459571200}} 
[2026-07-08 08:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":125998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449833,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:49:26] local.INFO: GPS data processed {"connection_id":125998,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:49:26] local.INFO: Acknowledgment sent {"connection_id":125998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:49:27] local.INFO: TCP Data received {"connection_id":127269,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fbbd430012d0e074007068fc00019008629..."} 
[2026-07-08 08:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fbbd430012d0e074007068fc00019008629..."} 
[2026-07-08 08:49:27] local.INFO: Processing buffer {"connection_id":127269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fbbd430012d0e074007068fc00019008629..."} 
[2026-07-08 08:49:27] local.INFO: Packet analysis {"connection_id":127269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fbb"} 
[2026-07-08 08:49:27] local.INFO: Extracted packet for processing {"connection_id":127269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fbb"} 
[2026-07-08 08:49:27] local.INFO: GPS Element Parsed {"raw_longitude":755894080,"raw_latitude":117870528,"longitude_deg":75.589408,"latitude_deg":11.7870528,"altitude":25,"angle":134,"satellites":41,"speed":10,"hex_longitude":"2d0e0740","hex_latitude":"07068fc0","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571058944001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23500622229667840,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1010213721589532672,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783480702000,"timestamp_ms":1783480702000,"timestamp_seconds":1783480702,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fbbd430"} 
[2026-07-08 08:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:49: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-07-08 08: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-08 08:49: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-07-08 08: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-07-08 08:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":127269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":127269,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":127269,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571058944001,"66":14352,"219":206,"94":10240,"24":10,"16":23500622229667840,"45":1010213721589532672},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-08 08:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571058944001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:49:27] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-08 08:49:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 08:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23500622229667840,"km_value":23500622229667.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1010213721589532672,"description":"Unknown IO ID 45"} 
[2026-07-08 08:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571058944001,"power":14352,"unknown_219":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":1010213721589532672}} 
[2026-07-08 08:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":127269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449834,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:49:27] local.INFO: GPS data processed {"connection_id":127269,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:49:27] local.INFO: Acknowledgment sent {"connection_id":127269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:49:35] local.INFO: TCP Data received {"connection_id":125169,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fbb18b0012d7ea2c005ae46880009016530..."} 
[2026-07-08 08:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fbb18b0012d7ea2c005ae46880009016530..."} 
[2026-07-08 08:49:35] local.INFO: Processing buffer {"connection_id":125169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fbb18b0012d7ea2c005ae46880009016530..."} 
[2026-07-08 08:49:35] local.INFO: Packet analysis {"connection_id":125169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fbb"} 
[2026-07-08 08:49:35] local.INFO: Extracted packet for processing {"connection_id":125169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fbb"} 
[2026-07-08 08:49:35] local.INFO: GPS Element Parsed {"raw_longitude":763273920,"raw_latitude":95307400,"longitude_deg":76.327392,"latitude_deg":9.53074,"altitude":9,"angle":357,"satellites":48,"speed":58,"hex_longitude":"2d7ea2c0","hex_latitude":"05ae4688","is_valid_coordinates":true} 
[2026-07-08 08:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571045632001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342523117869989888,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125207663123111936,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783480654000,"timestamp_ms":1783480654000,"timestamp_seconds":1783480654,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fbb18b0"} 
[2026-07-08 08:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 08:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571045632001,"66":27767,"250":206,"85":12544,"24":58,"16":342523117869989888,"45":9125207663123111936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 08:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571045632001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:49:35] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 08:49:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 08:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342523117869989888,"km_value":342523117869989.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125207663123111936,"description":"Unknown IO ID 45"} 
[2026-07-08 08:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571045632001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":58,"odometer":null,"unknown_45":9125207663123111936}} 
[2026-07-08 08:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":125169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:49:35] local.INFO: GPS data processed {"connection_id":125169,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:49:35] local.INFO: Acknowledgment sent {"connection_id":125169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:49:45] local.INFO: TCP Data received {"connection_id":125254,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125254,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:49:45] local.INFO: Processing buffer {"connection_id":125254,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:49:45] local.INFO: IMEI packet received {"connection_id":125254,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 08:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":125254,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:49:46] local.INFO: TCP Data received {"connection_id":127270,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127270,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:49:46] local.INFO: Processing buffer {"connection_id":127270,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:49:46] local.INFO: IMEI packet received {"connection_id":127270,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":127270,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:49:47] local.INFO: TCP Data received {"connection_id":127270,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127270,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:49:47] local.INFO: Processing buffer {"connection_id":127270,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:49:47] local.INFO: IMEI packet received {"connection_id":127270,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":127270,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:49:49] local.INFO: TCP Data received {"connection_id":125254,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125254,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:49:49] local.INFO: Processing buffer {"connection_id":125254,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:49:49] local.INFO: IMEI packet received {"connection_id":125254,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":125254,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:49:49] local.INFO: TCP Data received {"connection_id":125254,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fbbd818012d0e084007068ed80019009729..."} 
[2026-07-08 08:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fbbd818012d0e084007068ed80019009729..."} 
[2026-07-08 08:49:49] local.INFO: Processing buffer {"connection_id":125254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fbbd818012d0e084007068ed80019009729..."} 
[2026-07-08 08:49:49] local.INFO: Packet analysis {"connection_id":125254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fbb"} 
[2026-07-08 08:49:49] local.INFO: Extracted packet for processing {"connection_id":125254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fbb"} 
[2026-07-08 08:49:49] local.INFO: GPS Element Parsed {"raw_longitude":755894336,"raw_latitude":117870296,"longitude_deg":75.5894336,"latitude_deg":11.7870296,"altitude":25,"angle":151,"satellites":41,"speed":11,"hex_longitude":"2d0e0840","hex_latitude":"07068ed8","is_valid_coordinates":true} 
[2026-07-08 08:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571059712001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23500639409537024,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1010847040286998528,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783480703000,"timestamp_ms":1783480703000,"timestamp_seconds":1783480703,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fbbd818"} 
[2026-07-08 08:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-08 08:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733146112,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49:49] local.WARNING: Large IO value detected {"io_id":125,"raw_value":2684354560,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1573221,"corrected_to":0} 
[2026-07-08 08:49:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2749729073256202250,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49:49] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49:49] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503958216704000,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49:49] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3148685313,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49:49] local.WARNING: Large IO value detected {"io_id":6,"raw_value":2442133528,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49:49] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639178825543643,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49:49] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6485447350503670016,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":802881742,"corrected_to":0} 
[2026-07-08 08:49:49] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49:49] local.WARNING: Large IO value detected {"io_id":104,"raw_value":84739367595607695,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49:49] local.WARNING: Large IO value detected {"io_id":120,"raw_value":6756774518457856,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49:49] local.WARNING: Large IO value detected {"io_id":14,"raw_value":162137311336202264,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49:49] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,219,94,24,241,157,16,125,159,200,45,145,38,10,66,192,146,40,184,128,1,240,103,227,63,6,4,113,205,8,169,41,239,56,2,83,7,206,104,120,14],"length":628,"final_offset":758,"validated_count":41,"validation_warnings":[{"io_id":200,"original":1573221,"validated":0},{"io_id":205,"original":802881742,"validated":0}]} 
[2026-07-08 08:49:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1801587361600634880,"timestamp_seconds":1801587361600635.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 08:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":125254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":125254,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":125254,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571059712001,"66":13820,"219":206,"94":10240,"24":11,"16":23500639409537024,"45":1010847040286998528},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-08 08:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571059712001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:49:49] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-08 08:49:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 08:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23500639409537024,"km_value":23500639409537.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1010847040286998528,"description":"Unknown IO ID 45"} 
[2026-07-08 08:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571059712001,"power":13820,"unknown_219":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":1010847040286998528}} 
[2026-07-08 08:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":125254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449836,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:49:50] local.INFO: GPS data processed {"connection_id":125254,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:49:50] local.INFO: Acknowledgment sent {"connection_id":125254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:49:52] local.INFO: TCP Data received {"connection_id":127270,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127270,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:49:52] local.INFO: Processing buffer {"connection_id":127270,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:49:52] local.INFO: IMEI packet received {"connection_id":127270,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":127270,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:49:53] local.INFO: TCP Data received {"connection_id":127270,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fbb89f8012d7c868005ec36600011010b2c..."} 
[2026-07-08 08:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fbb89f8012d7c868005ec36600011010b2c..."} 
[2026-07-08 08:49:53] local.INFO: Processing buffer {"connection_id":127270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fbb89f8012d7c868005ec36600011010b2c..."} 
[2026-07-08 08:49:53] local.INFO: Packet analysis {"connection_id":127270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fbb"} 
[2026-07-08 08:49:53] local.INFO: Extracted packet for processing {"connection_id":127270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fbb"} 
[2026-07-08 08:49:53] local.INFO: GPS Element Parsed {"raw_longitude":763135616,"raw_latitude":99366496,"longitude_deg":76.3135616,"latitude_deg":9.9366496,"altitude":17,"angle":267,"satellites":44,"speed":49,"hex_longitude":"2d7c8680","hex_latitude":"05ec3660","is_valid_coordinates":true} 
[2026-07-08 08:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571052800001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103676842623369216,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8983907225856088064,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49:53] 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-07-08 08:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783480683000,"timestamp_ms":1783480683000,"timestamp_seconds":1783480683,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fbb89f8"} 
[2026-07-08 08:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:49:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-08 08:49:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49:53] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49:53] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3825205248,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49:53] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3134349313,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49:53] local.WARNING: Large IO value detected {"io_id":236,"raw_value":4897664646311716864,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-07-08 08:49:53] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070409,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49:53] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3963750400,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49:53] local.WARNING: Large IO value detected {"io_id":79,"raw_value":57783107034437430,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49:53] local.WARNING: Large IO value detected {"io_id":186,"raw_value":-7509751083756404731,"note":"Value kept but may cause issues"} 
[2026-07-08 08:49:53] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,110,87,24,241,157,16,85,159,71,45,192,57,43,10,66,84,58,14,214,64,1,240,166,227,83,63,236,4,113,205,11,206,28,32,46,239,51,2,112,5,12,6,79,186],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-07-08 08:49:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225272844345999360,"timestamp_seconds":1225272844345999.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 08:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":127270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":127270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":127270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:49:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571052800001,"66":13341,"110":206,"87":13824,"24":49,"16":103676842623369216,"45":8983907225856088064},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 08:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571052800001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:49:53] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 08:49:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103676842623369216,"km_value":103676842623369.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8983907225856088064,"description":"Unknown IO ID 45"} 
[2026-07-08 08:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571052800001,"power":13341,"unknown_110":206,"unknown_87":13824,"ignition":49,"odometer":null,"unknown_45":8983907225856088064}} 
[2026-07-08 08:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":127270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449837,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:49:53] local.INFO: GPS data processed {"connection_id":127270,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:49:53] local.INFO: Acknowledgment sent {"connection_id":127270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:49:58] local.INFO: TCP Data received {"connection_id":127271,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:49:58] local.INFO: Processing buffer {"connection_id":127271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:49:58] local.INFO: IMEI packet received {"connection_id":127271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":127271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:50:01] local.INFO: TCP Data received {"connection_id":127271,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:50:01] local.INFO: Processing buffer {"connection_id":127271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:50:01] local.INFO: IMEI packet received {"connection_id":127271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":127271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:50:05] local.INFO: TCP Data received {"connection_id":127271,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:50:05] local.INFO: Processing buffer {"connection_id":127271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:50:05] local.INFO: IMEI packet received {"connection_id":127271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":127271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:50:05] local.INFO: TCP Data received {"connection_id":127271,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fbcaef0012d7e954005af7580000800522e..."} 
[2026-07-08 08:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fbcaef0012d7e954005af7580000800522e..."} 
[2026-07-08 08:50:05] local.INFO: Processing buffer {"connection_id":127271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fbcaef0012d7e954005af7580000800522e..."} 
[2026-07-08 08:50:05] local.INFO: Packet analysis {"connection_id":127271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fbc"} 
[2026-07-08 08:50:05] local.INFO: Extracted packet for processing {"connection_id":127271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fbc"} 
[2026-07-08 08:50:05] local.INFO: GPS Element Parsed {"raw_longitude":763270464,"raw_latitude":95384960,"longitude_deg":76.3270464,"latitude_deg":9.538496,"altitude":8,"angle":82,"satellites":46,"speed":10,"hex_longitude":"2d7e9540","hex_latitude":"05af7580","is_valid_coordinates":true} 
[2026-07-08 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-07-08 08:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571073280001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342526914621079552,"note":"Value kept but may cause issues"} 
[2026-07-08 08:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9120704063518062592,"note":"Value kept but may cause issues"} 
[2026-07-08 08:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783480758000,"timestamp_ms":1783480758000,"timestamp_seconds":1783480758,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fbcaef0"} 
[2026-07-08 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-07-08 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-07-08 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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 08:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 08:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571073280001,"66":27800,"27":206,"85":12544,"24":10,"16":342526914621079552,"45":9120704063518062592},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 08:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571073280001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:50:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 08:50:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 08:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342526914621079552,"km_value":342526914621079.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9120704063518062592,"description":"Unknown IO ID 45"} 
[2026-07-08 08:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571073280001,"power":27800,"unknown_27":206,"unknown_85":12544,"ignition":10,"odometer":null,"unknown_45":9120704063518062592}} 
[2026-07-08 08:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":127271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:50:05] local.INFO: GPS data processed {"connection_id":127271,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:50:05] local.INFO: Acknowledgment sent {"connection_id":127271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:50:07] local.INFO: TCP Data received {"connection_id":127271,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fbcb6c0012d7e97c005af75600008005f2e..."} 
[2026-07-08 08:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fbcb6c0012d7e97c005af75600008005f2e..."} 
[2026-07-08 08:50:07] local.INFO: Processing buffer {"connection_id":127271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fbcb6c0012d7e97c005af75600008005f2e..."} 
[2026-07-08 08:50:07] local.INFO: Packet analysis {"connection_id":127271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fbc"} 
[2026-07-08 08:50:07] local.INFO: Extracted packet for processing {"connection_id":127271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fbc"} 
[2026-07-08 08:50:07] local.INFO: GPS Element Parsed {"raw_longitude":763271104,"raw_latitude":95384928,"longitude_deg":76.3271104,"latitude_deg":9.5384928,"altitude":8,"angle":95,"satellites":46,"speed":14,"hex_longitude":"2d7e97c0","hex_latitude":"05af7560","is_valid_coordinates":true} 
[2026-07-08 08:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571074048001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342526944685850624,"note":"Value kept but may cause issues"} 
[2026-07-08 08:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9121267013471535104,"note":"Value kept but may cause issues"} 
[2026-07-08 08:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783480760000,"timestamp_ms":1783480760000,"timestamp_seconds":1783480760,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fbcb6c0"} 
[2026-07-08 08:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 08:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571074048001,"66":27767,"27":206,"85":12544,"24":14,"16":342526944685850624,"45":9121267013471535104},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 08:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571074048001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:50:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 08:50:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 08:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342526944685850624,"km_value":342526944685850.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9121267013471535104,"description":"Unknown IO ID 45"} 
[2026-07-08 08:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571074048001,"power":27767,"unknown_27":206,"unknown_85":12544,"ignition":14,"odometer":null,"unknown_45":9121267013471535104}} 
[2026-07-08 08:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":127271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:50:07] local.INFO: GPS data processed {"connection_id":127271,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:50:07] local.INFO: Acknowledgment sent {"connection_id":127271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:50:21] local.INFO: TCP Data received {"connection_id":125254,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fbbdc00012d0e088007068df0001900a929..."} 
[2026-07-08 08:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fbbdc00012d0e088007068df0001900a929..."} 
[2026-07-08 08:50:21] local.INFO: Processing buffer {"connection_id":125254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fbbdc00012d0e088007068df0001900a929..."} 
[2026-07-08 08:50:21] local.INFO: Packet analysis {"connection_id":125254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fbb"} 
[2026-07-08 08:50:21] local.INFO: Extracted packet for processing {"connection_id":125254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fbb"} 
[2026-07-08 08:50:21] local.INFO: GPS Element Parsed {"raw_longitude":755894400,"raw_latitude":117870064,"longitude_deg":75.58944,"latitude_deg":11.7870064,"altitude":25,"angle":169,"satellites":41,"speed":11,"hex_longitude":"2d0e0880","hex_latitude":"07068df0","is_valid_coordinates":true} 
[2026-07-08 08:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571059968001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23500647999471616,"note":"Value kept but may cause issues"} 
[2026-07-08 08:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011128515263649792,"note":"Value kept but may cause issues"} 
[2026-07-08 08:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783480704000,"timestamp_ms":1783480704000,"timestamp_seconds":1783480704,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fbbdc00"} 
[2026-07-08 08:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-07-08 08:50:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:50:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":125254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":125254,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":125254,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571059968001,"66":13820,"219":206,"94":10240,"24":11,"16":23500647999471616,"45":1011128515263649792},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-08 08:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571059968001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:50:21] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-08 08:50:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 08:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23500647999471616,"km_value":23500647999471.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011128515263649792,"description":"Unknown IO ID 45"} 
[2026-07-08 08:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571059968001,"power":13820,"unknown_219":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":1011128515263649792}} 
[2026-07-08 08:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":125254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449840,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:50:21] local.INFO: GPS data processed {"connection_id":125254,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:50:21] local.INFO: Acknowledgment sent {"connection_id":125254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:50:24] local.INFO: TCP Data received {"connection_id":127270,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fbd5ad0012d7ae4c005ebccc0000e00f22d..."} 
[2026-07-08 08:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fbd5ad0012d7ae4c005ebccc0000e00f22d..."} 
[2026-07-08 08:50:24] local.INFO: Processing buffer {"connection_id":127270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fbd5ad0012d7ae4c005ebccc0000e00f22d..."} 
[2026-07-08 08:50:24] local.INFO: Packet analysis {"connection_id":127270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fbd"} 
[2026-07-08 08:50:24] local.INFO: Extracted packet for processing {"connection_id":127270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fbd"} 
[2026-07-08 08:50:24] local.INFO: GPS Element Parsed {"raw_longitude":763028672,"raw_latitude":99339456,"longitude_deg":76.3028672,"latitude_deg":9.9339456,"altitude":14,"angle":242,"satellites":45,"speed":45,"hex_longitude":"2d7ae4c0","hex_latitude":"05ebccc0","is_valid_coordinates":true} 
[2026-07-08 08:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571083264001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103682194152620032,"note":"Value kept but may cause issues"} 
[2026-07-08 08:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864491466980648960,"note":"Value kept but may cause issues"} 
[2026-07-08 08:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783480802000,"timestamp_ms":1783480802000,"timestamp_seconds":1783480802,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fbd5ad0"} 
[2026-07-08 08:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:50: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-07-08 08:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-08 08:50:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":127270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":127270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":127270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571083264001,"66":13189,"155":206,"87":13824,"24":45,"16":103682194152620032,"45":8864491466980648960},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-07-08 08:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571083264001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:50:24] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-08 08:50:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103682194152620032,"km_value":103682194152620.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864491466980648960,"description":"Unknown IO ID 45"} 
[2026-07-08 08:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571083264001,"power":13189,"unknown_155":206,"unknown_87":13824,"ignition":45,"odometer":null,"unknown_45":8864491466980648960}} 
[2026-07-08 08:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":127270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449841,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:50:24] local.INFO: GPS data processed {"connection_id":127270,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:50:24] local.INFO: Acknowledgment sent {"connection_id":127270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:50:38] local.INFO: TCP Data received {"connection_id":127271,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fbcce30012d7e9dc005af76500006005227..."} 
[2026-07-08 08:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fbcce30012d7e9dc005af76500006005227..."} 
[2026-07-08 08:50:38] local.INFO: Processing buffer {"connection_id":127271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fbcce30012d7e9dc005af76500006005227..."} 
[2026-07-08 08:50:38] local.INFO: Packet analysis {"connection_id":127271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fbc"} 
[2026-07-08 08:50:38] local.INFO: Extracted packet for processing {"connection_id":127271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fbc"} 
[2026-07-08 08:50:38] local.INFO: GPS Element Parsed {"raw_longitude":763272640,"raw_latitude":95385168,"longitude_deg":76.327264,"latitude_deg":9.5385168,"altitude":6,"angle":82,"satellites":39,"speed":6,"hex_longitude":"2d7e9dc0","hex_latitude":"05af7650","is_valid_coordinates":true} 
[2026-07-08 08:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571074560001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342527017700294656,"note":"Value kept but may cause issues"} 
[2026-07-08 08:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9121970700913303552,"note":"Value kept but may cause issues"} 
[2026-07-08 08:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783480766000,"timestamp_ms":1783480766000,"timestamp_seconds":1783480766,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fbcce30"} 
[2026-07-08 08:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 08:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571074560001,"66":27800,"27":206,"85":12544,"24":6,"16":342527017700294656,"45":9121970700913303552},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 08:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571074560001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:50:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 08:50:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 08:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342527017700294656,"km_value":342527017700294.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9121970700913303552,"description":"Unknown IO ID 45"} 
[2026-07-08 08:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571074560001,"power":27800,"unknown_27":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":9121970700913303552}} 
[2026-07-08 08:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":127271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:50:38] local.INFO: GPS data processed {"connection_id":127271,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:50:38] local.INFO: Acknowledgment sent {"connection_id":127271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:50:44] local.INFO: TCP Data received {"connection_id":127272,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127272,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:50:44] local.INFO: Processing buffer {"connection_id":127272,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:50:44] local.INFO: IMEI packet received {"connection_id":127272,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 08:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":127272,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:50:45] local.INFO: TCP Data received {"connection_id":127272,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127272,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:50:45] local.INFO: Processing buffer {"connection_id":127272,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:50:45] local.INFO: IMEI packet received {"connection_id":127272,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":127272,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:50:46] local.INFO: TCP Data received {"connection_id":127272,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127272,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:50:46] local.INFO: Processing buffer {"connection_id":127272,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:50:46] local.INFO: IMEI packet received {"connection_id":127272,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":127272,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:50:47] local.INFO: TCP Data received {"connection_id":125255,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125255,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:50:47] local.INFO: Processing buffer {"connection_id":125255,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:50:47] local.INFO: IMEI packet received {"connection_id":125255,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":125255,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:50:47] local.INFO: TCP Data received {"connection_id":127272,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127272,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:50:47] local.INFO: Processing buffer {"connection_id":127272,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:50:47] local.INFO: IMEI packet received {"connection_id":127272,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":127272,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:50:52] local.INFO: TCP Data received {"connection_id":125255,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125255,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:50:52] local.INFO: Processing buffer {"connection_id":125255,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:50:52] local.INFO: IMEI packet received {"connection_id":125255,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":125255,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:50:53] local.INFO: TCP Data received {"connection_id":125255,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fbd7df8012d7ac50005ebbd10000c00f32e..."} 
[2026-07-08 08:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fbd7df8012d7ac50005ebbd10000c00f32e..."} 
[2026-07-08 08:50:53] local.INFO: Processing buffer {"connection_id":125255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fbd7df8012d7ac50005ebbd10000c00f32e..."} 
[2026-07-08 08:50:53] local.INFO: Packet analysis {"connection_id":125255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fbd"} 
[2026-07-08 08:50:53] local.INFO: Extracted packet for processing {"connection_id":125255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fbd"} 
[2026-07-08 08:50:53] local.INFO: GPS Element Parsed {"raw_longitude":763020544,"raw_latitude":99335440,"longitude_deg":76.3020544,"latitude_deg":9.933544,"altitude":12,"angle":243,"satellites":46,"speed":35,"hex_longitude":"2d7ac500","hex_latitude":"05ebbd10","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571085312001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103682627944316928,"note":"Value kept but may cause issues"} 
[2026-07-08 08:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8855413898980671488,"note":"Value kept but may cause issues"} 
[2026-07-08 08:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783480811000,"timestamp_ms":1783480811000,"timestamp_seconds":1783480811,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fbd7df8"} 
[2026-07-08 08:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-08 08:50:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571085312001,"66":13135,"155":206,"87":13824,"24":35,"16":103682627944316928,"45":8855413898980671488},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-07-08 08:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571085312001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:50:53] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-08 08:50:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103682627944316928,"km_value":103682627944316.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8855413898980671488,"description":"Unknown IO ID 45"} 
[2026-07-08 08:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571085312001,"power":13135,"unknown_155":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8855413898980671488}} 
[2026-07-08 08:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":125255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449843,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:50:53] local.INFO: GPS data processed {"connection_id":125255,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:50:53] local.INFO: Acknowledgment sent {"connection_id":125255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:50:56] local.INFO: TCP Data received {"connection_id":127273,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:50:56] local.INFO: Processing buffer {"connection_id":127273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:50:56] local.INFO: IMEI packet received {"connection_id":127273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":127273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:50:56] local.INFO: TCP Data received {"connection_id":127273,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:50:56] local.INFO: Processing buffer {"connection_id":127273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:50:56] local.INFO: IMEI packet received {"connection_id":127273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":127273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:50:58] local.INFO: TCP Data received {"connection_id":127273,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:50:58] local.INFO: Processing buffer {"connection_id":127273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:50:58] local.INFO: IMEI packet received {"connection_id":127273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":127273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:51:00] local.INFO: TCP Data received {"connection_id":127273,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fbd1c50012d7eb44005af79900006004631..."} 
[2026-07-08 08:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fbd1c50012d7eb44005af79900006004631..."} 
[2026-07-08 08:51:00] local.INFO: Processing buffer {"connection_id":127273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fbd1c50012d7eb44005af79900006004631..."} 
[2026-07-08 08:51:00] local.INFO: Packet analysis {"connection_id":127273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fbd"} 
[2026-07-08 08:51:00] local.INFO: Extracted packet for processing {"connection_id":127273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fbd"} 
[2026-07-08 08:51:00] local.INFO: GPS Element Parsed {"raw_longitude":763278400,"raw_latitude":95386000,"longitude_deg":76.32784,"latitude_deg":9.5386,"altitude":6,"angle":70,"satellites":49,"speed":8,"hex_longitude":"2d7eb440","hex_latitude":"05af7990","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571076096001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342527309758070784,"note":"Value kept but may cause issues"} 
[2026-07-08 08:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123659550773628928,"note":"Value kept but may cause issues"} 
[2026-07-08 08:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783480786000,"timestamp_ms":1783480786000,"timestamp_seconds":1783480786,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fbd1c50"} 
[2026-07-08 08:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 08:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":127273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":127273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":127273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571076096001,"66":27745,"27":206,"85":12544,"24":8,"16":342527309758070784,"45":9123659550773628928},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 08:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571076096001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:51:00] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 08:51:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 08:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342527309758070784,"km_value":342527309758070.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123659550773628928,"description":"Unknown IO ID 45"} 
[2026-07-08 08:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571076096001,"power":27745,"unknown_27":206,"unknown_85":12544,"ignition":8,"odometer":null,"unknown_45":9123659550773628928}} 
[2026-07-08 08:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":127273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:51:00] local.INFO: GPS data processed {"connection_id":127273,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:51:00] local.INFO: Acknowledgment sent {"connection_id":127273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:51:22] local.INFO: TCP Data received {"connection_id":125256,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125256,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:51:22] local.INFO: Processing buffer {"connection_id":125256,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:51:22] local.INFO: IMEI packet received {"connection_id":125256,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 08:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":125256,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:51:24] local.INFO: TCP Data received {"connection_id":125255,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fbda8f0012d7aa40005ebaf78000c00f92e..."} 
[2026-07-08 08:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fbda8f0012d7aa40005ebaf78000c00f92e..."} 
[2026-07-08 08:51:24] local.INFO: Processing buffer {"connection_id":125255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fbda8f0012d7aa40005ebaf78000c00f92e..."} 
[2026-07-08 08:51:24] local.INFO: Packet analysis {"connection_id":125255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fbd"} 
[2026-07-08 08:51:24] local.INFO: Extracted packet for processing {"connection_id":125255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fbd"} 
[2026-07-08 08:51:24] local.INFO: GPS Element Parsed {"raw_longitude":763012096,"raw_latitude":99331960,"longitude_deg":76.3012096,"latitude_deg":9.933196,"altitude":12,"angle":249,"satellites":46,"speed":27,"hex_longitude":"2d7aa400","hex_latitude":"05ebaf78","is_valid_coordinates":true} 
[2026-07-08 08:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571087616001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103683066030981120,"note":"Value kept but may cause issues"} 
[2026-07-08 08:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8846477068469080064,"note":"Value kept but may cause issues"} 
[2026-07-08 08:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783480822000,"timestamp_ms":1783480822000,"timestamp_seconds":1783480822,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fbda8f0"} 
[2026-07-08 08:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:51: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-07-08 08:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-08 08:51:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:51:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571087616001,"66":13222,"155":206,"87":13824,"24":27,"16":103683066030981120,"45":8846477068469080064},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-07-08 08:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571087616001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:51:24] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-08 08:51:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103683066030981120,"km_value":103683066030981.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8846477068469080064,"description":"Unknown IO ID 45"} 
[2026-07-08 08:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571087616001,"power":13222,"unknown_155":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8846477068469080064}} 
[2026-07-08 08:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":125255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449845,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:51:24] local.INFO: GPS data processed {"connection_id":125255,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:51:24] local.INFO: Acknowledgment sent {"connection_id":125255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:51:31] local.INFO: TCP Data received {"connection_id":127273,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fbde770012d7f30c005af57b00005002733..."} 
[2026-07-08 08:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fbde770012d7f30c005af57b00005002733..."} 
[2026-07-08 08:51:31] local.INFO: Processing buffer {"connection_id":127273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fbde770012d7f30c005af57b00005002733..."} 
[2026-07-08 08:51:31] local.INFO: Packet analysis {"connection_id":127273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fbd"} 
[2026-07-08 08:51:31] local.INFO: Extracted packet for processing {"connection_id":127273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fbd"} 
[2026-07-08 08:51:31] local.INFO: GPS Element Parsed {"raw_longitude":763310272,"raw_latitude":95377328,"longitude_deg":76.3310272,"latitude_deg":9.5377328,"altitude":5,"angle":39,"satellites":51,"speed":13,"hex_longitude":"2d7f30c0","hex_latitude":"05af57b0","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571094272001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342529105054400512,"note":"Value kept but may cause issues"} 
[2026-07-08 08:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9164825266115497984,"note":"Value kept but may cause issues"} 
[2026-07-08 08:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783480838000,"timestamp_ms":1783480838000,"timestamp_seconds":1783480838,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fbde770"} 
[2026-07-08 08:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 08:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":127273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":127273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":127273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571094272001,"66":27767,"250":206,"85":12544,"24":13,"16":342529105054400512,"45":9164825266115497984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 08:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571094272001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:51:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 08:51:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 08:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342529105054400512,"km_value":342529105054400.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9164825266115497984,"description":"Unknown IO ID 45"} 
[2026-07-08 08:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571094272001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":13,"odometer":null,"unknown_45":9164825266115497984}} 
[2026-07-08 08:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":127273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:51:31] local.INFO: GPS data processed {"connection_id":127273,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:51:31] local.INFO: Acknowledgment sent {"connection_id":127273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:51:52] local.INFO: TCP Data received {"connection_id":126000,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:51:52] local.INFO: Processing buffer {"connection_id":126000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:51:52] local.INFO: IMEI packet received {"connection_id":126000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":126000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:51:54] local.INFO: TCP Data received {"connection_id":126001,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:51:54] local.INFO: Processing buffer {"connection_id":126001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:51:54] local.INFO: IMEI packet received {"connection_id":126001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":126001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:51:55] local.INFO: TCP Data received {"connection_id":126001,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:51:55] local.INFO: Processing buffer {"connection_id":126001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:51:55] local.INFO: IMEI packet received {"connection_id":126001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":126001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:51:56] local.INFO: TCP Data received {"connection_id":126001,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:51:56] local.INFO: Processing buffer {"connection_id":126001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:51:56] local.INFO: IMEI packet received {"connection_id":126001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":126001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:51:56] local.INFO: TCP Data received {"connection_id":126001,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:51:56] local.INFO: Processing buffer {"connection_id":126001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:51:56] local.INFO: IMEI packet received {"connection_id":126001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":126001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:51:57] local.INFO: TCP Data received {"connection_id":125257,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125257,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:51:57] local.INFO: Processing buffer {"connection_id":125257,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:51:57] local.INFO: IMEI packet received {"connection_id":125257,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 08:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":125257,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:51:57] local.INFO: TCP Data received {"connection_id":126000,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:51:57] local.INFO: Processing buffer {"connection_id":126000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:51:57] local.INFO: IMEI packet received {"connection_id":126000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":126000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:51:58] local.INFO: TCP Data received {"connection_id":126000,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fbde388012d7a80c005eba2a0000b00fb25..."} 
[2026-07-08 08:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fbde388012d7a80c005eba2a0000b00fb25..."} 
[2026-07-08 08:51:58] local.INFO: Processing buffer {"connection_id":126000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fbde388012d7a80c005eba2a0000b00fb25..."} 
[2026-07-08 08:51:58] local.INFO: Packet analysis {"connection_id":126000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fbd"} 
[2026-07-08 08:51:58] local.INFO: Extracted packet for processing {"connection_id":126000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fbd"} 
[2026-07-08 08:51:58] local.INFO: GPS Element Parsed {"raw_longitude":763003072,"raw_latitude":99328672,"longitude_deg":76.3003072,"latitude_deg":9.9328672,"altitude":11,"angle":251,"satellites":37,"speed":26,"hex_longitude":"2d7a80c0","hex_latitude":"05eba2a0","is_valid_coordinates":true} 
[2026-07-08 08:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571090432001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103683525592481792,"note":"Value kept but may cause issues"} 
[2026-07-08 08:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837188394236737536,"note":"Value kept but may cause issues"} 
[2026-07-08 08:51:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783480837000,"timestamp_ms":1783480837000,"timestamp_seconds":1783480837,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fbde388"} 
[2026-07-08 08:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:51:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:51: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":166,"data_length":795,"current_offset":136} 
[2026-07-08 08:51:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:51:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":126000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":126000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":126000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571090432001,"66":12765,"155":206,"87":13824,"24":26,"16":103683525592481792,"45":8837188394236737536},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-07-08 08:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571090432001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:51:58] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-08 08:51:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103683525592481792,"km_value":103683525592481.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837188394236737536,"description":"Unknown IO ID 45"} 
[2026-07-08 08:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571090432001,"power":12765,"unknown_155":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8837188394236737536}} 
[2026-07-08 08:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":126000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449847,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:51:58] local.INFO: GPS data processed {"connection_id":126000,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:51:58] local.INFO: Acknowledgment sent {"connection_id":126000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:52:02] local.INFO: TCP Data received {"connection_id":126000,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fbe31a8012d7a6c8005eb9a90000b00f82b..."} 
[2026-07-08 08:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fbe31a8012d7a6c8005eb9a90000b00f82b..."} 
[2026-07-08 08:52:02] local.INFO: Processing buffer {"connection_id":126000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fbe31a8012d7a6c8005eb9a90000b00f82b..."} 
[2026-07-08 08:52:02] local.INFO: Packet analysis {"connection_id":126000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fbe"} 
[2026-07-08 08:52:02] local.INFO: Extracted packet for processing {"connection_id":126000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fbe"} 
[2026-07-08 08:52:02] local.INFO: GPS Element Parsed {"raw_longitude":762997888,"raw_latitude":99326608,"longitude_deg":76.2997888,"latitude_deg":9.9326608,"altitude":11,"angle":248,"satellites":43,"speed":5,"hex_longitude":"2d7a6c80","hex_latitude":"05eb9a90","is_valid_coordinates":true} 
[2026-07-08 08:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571094272001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103683791880454144,"note":"Value kept but may cause issues"} 
[2026-07-08 08:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8827266401306845184,"note":"Value kept but may cause issues"} 
[2026-07-08 08:52:02] 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-07-08 08:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783480857000,"timestamp_ms":1783480857000,"timestamp_seconds":1783480857,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fbe31a8"} 
[2026-07-08 08:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-08 08:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571094272001,"66":13091,"161":206,"87":13824,"24":5,"16":103683791880454144,"45":8827266401306845184},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-07-08 08:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571094272001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:52:02] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-08 08:52:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103683791880454144,"km_value":103683791880454.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8827266401306845184,"description":"Unknown IO ID 45"} 
[2026-07-08 08:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571094272001,"power":13091,"unknown_161":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8827266401306845184}} 
[2026-07-08 08:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":126000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449848,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:52:02] local.INFO: GPS data processed {"connection_id":126000,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:52:02] local.INFO: Acknowledgment sent {"connection_id":126000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:52:47] local.INFO: TCP Data received {"connection_id":125258,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125258,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:52:47] local.INFO: Processing buffer {"connection_id":125258,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:52:47] local.INFO: IMEI packet received {"connection_id":125258,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":125258,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:52:48] local.INFO: TCP Data received {"connection_id":125258,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125258,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:52:48] local.INFO: Processing buffer {"connection_id":125258,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:52:48] local.INFO: IMEI packet received {"connection_id":125258,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":125258,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:52:49] local.INFO: TCP Data received {"connection_id":125258,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fbf79c8012d7a35c005ebcfb80003014626..."} 
[2026-07-08 08:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fbf79c8012d7a35c005ebcfb80003014626..."} 
[2026-07-08 08:52:49] local.INFO: Processing buffer {"connection_id":125258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fbf79c8012d7a35c005ebcfb80003014626..."} 
[2026-07-08 08:52:49] local.INFO: Packet analysis {"connection_id":125258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fbf"} 
[2026-07-08 08:52:49] local.INFO: Extracted packet for processing {"connection_id":125258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fbf"} 
[2026-07-08 08:52:49] local.INFO: GPS Element Parsed {"raw_longitude":762983872,"raw_latitude":99340216,"longitude_deg":76.2983872,"latitude_deg":9.9340216,"altitude":3,"angle":326,"satellites":38,"speed":4,"hex_longitude":"2d7a35c0","hex_latitude":"05ebcfb8","is_valid_coordinates":true} 
[2026-07-08 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-07-08 08:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571115520001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103684942931689472,"note":"Value kept but may cause issues"} 
[2026-07-08 08:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809885321496250368,"note":"Value kept but may cause issues"} 
[2026-07-08 08:52:49] 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-07-08 08:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783480941000,"timestamp_ms":1783480941000,"timestamp_seconds":1783480941,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fbf79c8"} 
[2026-07-08 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-07-08 08:52: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-07-08 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":198,"data_length":795,"current_offset":136} 
[2026-07-08 08:52: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-07-08 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-07-08 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-07-08 08:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":125258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":125258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":125258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571115520001,"66":13330,"163":206,"87":13824,"24":4,"16":103684942931689472,"45":8809885321496250368},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-08 08:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571115520001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:52:49] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-08 08:52:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103684942931689472,"km_value":103684942931689.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809885321496250368,"description":"Unknown IO ID 45"} 
[2026-07-08 08:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571115520001,"power":13330,"unknown_163":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8809885321496250368}} 
[2026-07-08 08:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":125258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449849,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:52:49] local.INFO: GPS data processed {"connection_id":125258,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:52:49] local.INFO: Acknowledgment sent {"connection_id":125258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:53:20] local.INFO: TCP Data received {"connection_id":125258,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fbf9138012d7a32c005ebd3580004015228..."} 
[2026-07-08 08:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fbf9138012d7a32c005ebd3580004015228..."} 
[2026-07-08 08:53:20] local.INFO: Processing buffer {"connection_id":125258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fbf9138012d7a32c005ebd3580004015228..."} 
[2026-07-08 08:53:20] local.INFO: Packet analysis {"connection_id":125258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fbf"} 
[2026-07-08 08:53:20] local.INFO: Extracted packet for processing {"connection_id":125258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fbf"} 
[2026-07-08 08:53:20] local.INFO: GPS Element Parsed {"raw_longitude":762983104,"raw_latitude":99341144,"longitude_deg":76.2983104,"latitude_deg":9.9341144,"altitude":4,"angle":338,"satellites":40,"speed":8,"hex_longitude":"2d7a32c0","hex_latitude":"05ebd358","is_valid_coordinates":true} 
[2026-07-08 08:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571120896001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103685003061231616,"note":"Value kept but may cause issues"} 
[2026-07-08 08:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8806155778056501248,"note":"Value kept but may cause issues"} 
[2026-07-08 08:53:20] 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-07-08 08:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783480947000,"timestamp_ms":1783480947000,"timestamp_seconds":1783480947,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fbf9138"} 
[2026-07-08 08:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:53: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-07-08 08:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-08 08:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-08 08:53:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 08:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6845244559639701504,"note":"Value kept but may cause issues"} 
[2026-07-08 08:53:20] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3952349184,"note":"Value kept but may cause issues"} 
[2026-07-08 08:53:20] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277027611354305432,"note":"Value kept but may cause issues"} 
[2026-07-08 08:53:20] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3198861313,"note":"Value kept but may cause issues"} 
[2026-07-08 08:53:20] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-7811493506411518208,"note":"Value kept but may cause issues"} 
[2026-07-08 08:53:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765526222,"corrected_to":0} 
[2026-07-08 08:53:20] local.WARNING: Large IO value detected {"io_id":166,"raw_value":3623955834,"note":"Value kept but may cause issues"} 
[2026-07-08 08:53:20] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2147871636,"note":"Value kept but may cause issues"} 
[2026-07-08 08:53:20] local.WARNING: Large IO value detected {"io_id":68,"raw_value":57752539752191798,"note":"Value kept but may cause issues"} 
[2026-07-08 08:53:20] local.WARNING: Large IO value detected {"io_id":190,"raw_value":-6987333527027744763,"note":"Value kept but may cause issues"} 
[2026-07-08 08:53:20] local.WARNING: Large IO value detected {"io_id":14,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-08 08:53:20] local.WARNING: Large IO value detected {"io_id":95,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-08 08:53:20] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,163,87,24,241,157,16,92,159,39,45,182,5,10,66,161,217,64,162,9,41,128,1,240,3,227,63,235,4,113,205,166,83,160,239,51,2,112,11,12,68,190,14,95],"length":626,"final_offset":756,"validated_count":44,"validation_warnings":[{"io_id":205,"original":765526222,"validated":0}]} 
[2026-07-08 08:53:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216531386113458176,"timestamp_seconds":216531386113458.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 08:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":125258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":125258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":125258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571120896001,"66":13222,"163":206,"87":13824,"24":8,"16":103685003061231616,"45":8806155778056501248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-08 08:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571120896001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:53:20] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-08 08:53:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103685003061231616,"km_value":103685003061231.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8806155778056501248,"description":"Unknown IO ID 45"} 
[2026-07-08 08:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571120896001,"power":13222,"unknown_163":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8806155778056501248}} 
[2026-07-08 08:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":125258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449850,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:53:20] local.INFO: GPS data processed {"connection_id":125258,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:53:20] local.INFO: Acknowledgment sent {"connection_id":125258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:53:47] local.INFO: TCP Data received {"connection_id":125261,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125261,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:53:47] local.INFO: Processing buffer {"connection_id":125261,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:53:47] local.INFO: IMEI packet received {"connection_id":125261,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":125261,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:53:53] local.INFO: TCP Data received {"connection_id":125261,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125261,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:53:53] local.INFO: Processing buffer {"connection_id":125261,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:53:53] local.INFO: IMEI packet received {"connection_id":125261,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":125261,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:53:54] local.INFO: TCP Data received {"connection_id":125261,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fbfdf58012d7a238005ebf0980005014d29..."} 
[2026-07-08 08:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fbfdf58012d7a238005ebf0980005014d29..."} 
[2026-07-08 08:53:54] local.INFO: Processing buffer {"connection_id":125261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fbfdf58012d7a238005ebf0980005014d29..."} 
[2026-07-08 08:53:54] local.INFO: Packet analysis {"connection_id":125261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fbf"} 
[2026-07-08 08:53:54] local.INFO: Extracted packet for processing {"connection_id":125261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fbf"} 
[2026-07-08 08:53:54] local.INFO: GPS Element Parsed {"raw_longitude":762979200,"raw_latitude":99348632,"longitude_deg":76.29792,"latitude_deg":9.9348632,"altitude":5,"angle":333,"satellites":41,"speed":20,"hex_longitude":"2d7a2380","hex_latitude":"05ebf098","is_valid_coordinates":true} 
[2026-07-08 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-07-08 08:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571122432001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103685411083124736,"note":"Value kept but may cause issues"} 
[2026-07-08 08:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805311353126606848,"note":"Value kept but may cause issues"} 
[2026-07-08 08:53:54] 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-07-08 08:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783480967000,"timestamp_ms":1783480967000,"timestamp_seconds":1783480967,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fbfdf58"} 
[2026-07-08 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-07-08 08:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":166,"data_length":795,"current_offset":136} 
[2026-07-08 08:53: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-07-08 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-07-08 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-07-08 08:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":125261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":125261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":125261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571122432001,"66":13189,"163":206,"87":13824,"24":20,"16":103685411083124736,"45":8805311353126606848},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-08 08:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571122432001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:53:54] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-08 08:53:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103685411083124736,"km_value":103685411083124.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805311353126606848,"description":"Unknown IO ID 45"} 
[2026-07-08 08:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571122432001,"power":13189,"unknown_163":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8805311353126606848}} 
[2026-07-08 08:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":125261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449851,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:53:54] local.INFO: GPS data processed {"connection_id":125261,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:53:54] local.INFO: Acknowledgment sent {"connection_id":125261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:54:25] local.INFO: TCP Data received {"connection_id":125261,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc01220012d7a160005ec1248000501511f..."} 
[2026-07-08 08:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc01220012d7a160005ec1248000501511f..."} 
[2026-07-08 08:54:25] local.INFO: Processing buffer {"connection_id":125261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc01220012d7a160005ec1248000501511f..."} 
[2026-07-08 08:54:25] local.INFO: Packet analysis {"connection_id":125261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc0"} 
[2026-07-08 08:54:25] local.INFO: Extracted packet for processing {"connection_id":125261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc0"} 
[2026-07-08 08:54:25] local.INFO: GPS Element Parsed {"raw_longitude":762975744,"raw_latitude":99357256,"longitude_deg":76.2975744,"latitude_deg":9.9357256,"altitude":5,"angle":337,"satellites":31,"speed":27,"hex_longitude":"2d7a1600","hex_latitude":"05ec1248","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571127552001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103685862054690816,"note":"Value kept but may cause issues"} 
[2026-07-08 08:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801018859733686272,"note":"Value kept but may cause issues"} 
[2026-07-08 08:54:25] 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-07-08 08:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783480980000,"timestamp_ms":1783480980000,"timestamp_seconds":1783480980,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc01220"} 
[2026-07-08 08:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:54: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-07-08 08: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-08 08:54: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-07-08 08: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-07-08 08:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":125261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":125261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":125261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:54:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571127552001,"66":13015,"163":206,"87":13824,"24":27,"16":103685862054690816,"45":8801018859733686272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-08 08:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571127552001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:54:25] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-08 08:54:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103685862054690816,"km_value":103685862054690.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801018859733686272,"description":"Unknown IO ID 45"} 
[2026-07-08 08:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571127552001,"power":13015,"unknown_163":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8801018859733686272}} 
[2026-07-08 08:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":125261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449852,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:54:25] local.INFO: GPS data processed {"connection_id":125261,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:54:25] local.INFO: Acknowledgment sent {"connection_id":125261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:54:47] local.INFO: TCP Data received {"connection_id":127276,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127276,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:54:47] local.INFO: Processing buffer {"connection_id":127276,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:54:47] local.INFO: IMEI packet received {"connection_id":127276,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":127276,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:54:52] local.INFO: TCP Data received {"connection_id":127276,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127276,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:54:52] local.INFO: Processing buffer {"connection_id":127276,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:54:52] local.INFO: IMEI packet received {"connection_id":127276,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":127276,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:54:53] local.INFO: TCP Data received {"connection_id":127276,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc025a8012d7a12c005ec1b200004014521..."} 
[2026-07-08 08:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc025a8012d7a12c005ec1b200004014521..."} 
[2026-07-08 08:54:53] local.INFO: Processing buffer {"connection_id":127276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc025a8012d7a12c005ec1b200004014521..."} 
[2026-07-08 08:54:53] local.INFO: Packet analysis {"connection_id":127276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc0"} 
[2026-07-08 08:54:53] local.INFO: Extracted packet for processing {"connection_id":127276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc0"} 
[2026-07-08 08:54:53] local.INFO: GPS Element Parsed {"raw_longitude":762974912,"raw_latitude":99359520,"longitude_deg":76.2974912,"latitude_deg":9.935952,"altitude":4,"angle":325,"satellites":33,"speed":8,"hex_longitude":"2d7a12c0","hex_latitude":"05ec1b20","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571130880001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103685978018807808,"note":"Value kept but may cause issues"} 
[2026-07-08 08:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797218947550300160,"note":"Value kept but may cause issues"} 
[2026-07-08 08:54:53] 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-07-08 08:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783480985000,"timestamp_ms":1783480985000,"timestamp_seconds":1783480985,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc025a8"} 
[2026-07-08 08:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:54:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-08 08:54:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":127276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":127276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":127276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:54:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571130880001,"66":12798,"156":206,"87":13824,"24":8,"16":103685978018807808,"45":8797218947550300160},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-08 08:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571130880001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:54:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 08:54:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103685978018807808,"km_value":103685978018807.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797218947550300160,"description":"Unknown IO ID 45"} 
[2026-07-08 08:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571130880001,"power":12798,"unknown_156":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8797218947550300160}} 
[2026-07-08 08:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":127276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449853,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:54:53] local.INFO: GPS data processed {"connection_id":127276,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:54:53] local.INFO: Acknowledgment sent {"connection_id":127276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:55:24] local.INFO: TCP Data received {"connection_id":127276,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc23118012d79f94005ec6c200008014e2f..."} 
[2026-07-08 08:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc23118012d79f94005ec6c200008014e2f..."} 
[2026-07-08 08:55:24] local.INFO: Processing buffer {"connection_id":127276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc23118012d79f94005ec6c200008014e2f..."} 
[2026-07-08 08:55:24] local.INFO: Packet analysis {"connection_id":127276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc2"} 
[2026-07-08 08:55:24] local.INFO: Extracted packet for processing {"connection_id":127276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc2"} 
[2026-07-08 08:55:24] local.INFO: GPS Element Parsed {"raw_longitude":762968384,"raw_latitude":99380256,"longitude_deg":76.2968384,"latitude_deg":9.9380256,"altitude":8,"angle":334,"satellites":47,"speed":1,"hex_longitude":"2d79f940","hex_latitude":"05ec6c20","is_valid_coordinates":true} 
[2026-07-08 08:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571165440001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103687064645533696,"note":"Value kept but may cause issues"} 
[2026-07-08 08:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789196910719821824,"note":"Value kept but may cause issues"} 
[2026-07-08 08:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783481119000,"timestamp_ms":1783481119000,"timestamp_seconds":1783481119,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc23118"} 
[2026-07-08 08:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:55: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-07-08 08:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-08 08:55:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":127276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":127276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":127276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571165440001,"66":13102,"157":206,"87":13824,"24":1,"16":103687064645533696,"45":8789196910719821824},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 08:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571165440001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:55:24] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 08:55:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103687064645533696,"km_value":103687064645533.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789196910719821824,"description":"Unknown IO ID 45"} 
[2026-07-08 08:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571165440001,"power":13102,"unknown_157":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8789196910719821824}} 
[2026-07-08 08:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":127276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449854,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:55:24] local.INFO: GPS data processed {"connection_id":127276,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:55:24] local.INFO: Acknowledgment sent {"connection_id":127276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:55:47] local.INFO: TCP Data received {"connection_id":125175,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:55:47] local.INFO: Processing buffer {"connection_id":125175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:55:47] local.INFO: IMEI packet received {"connection_id":125175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":125175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:55:48] local.INFO: TCP Data received {"connection_id":125175,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:55:48] local.INFO: Processing buffer {"connection_id":125175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:55:48] local.INFO: IMEI packet received {"connection_id":125175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":125175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:55:49] local.INFO: TCP Data received {"connection_id":125174,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125174,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:55:49] local.INFO: Processing buffer {"connection_id":125174,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:55:49] local.INFO: IMEI packet received {"connection_id":125174,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 08:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":125174,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:55:50] local.INFO: TCP Data received {"connection_id":125174,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc219a8012d0d008007074e500028012626..."} 
[2026-07-08 08:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc219a8012d0d008007074e500028012626..."} 
[2026-07-08 08:55:50] local.INFO: Processing buffer {"connection_id":125174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc219a8012d0d008007074e500028012626..."} 
[2026-07-08 08:55:50] local.INFO: Packet analysis {"connection_id":125174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc2"} 
[2026-07-08 08:55:50] local.INFO: Extracted packet for processing {"connection_id":125174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc2"} 
[2026-07-08 08:55:50] local.INFO: GPS Element Parsed {"raw_longitude":755826816,"raw_latitude":117919312,"longitude_deg":75.5826816,"latitude_deg":11.7919312,"altitude":40,"angle":294,"satellites":38,"speed":37,"hex_longitude":"2d0d0080","hex_latitude":"07074e50","is_valid_coordinates":true} 
[2026-07-08 08:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571163904001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23507305198780416,"note":"Value kept but may cause issues"} 
[2026-07-08 08:55:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":940970877330796544,"note":"Value kept but may cause issues"} 
[2026-07-08 08:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783481113000,"timestamp_ms":1783481113000,"timestamp_seconds":1783481113,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc219a8"} 
[2026-07-08 08:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:55: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-07-08 08:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-08 08:55:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:55:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":125174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":125174,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":125174,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:55:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571163904001,"66":14363,"221":206,"94":10240,"24":37,"16":23507305198780416,"45":940970877330796544},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-07-08 08:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571163904001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:55:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-08 08:55:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 08:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23507305198780416,"km_value":23507305198780.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:55:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":940970877330796544,"description":"Unknown IO ID 45"} 
[2026-07-08 08:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571163904001,"power":14363,"unknown_221":206,"unknown_94":10240,"ignition":37,"odometer":null,"unknown_45":940970877330796544}} 
[2026-07-08 08:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":125174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449855,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:55:50] local.INFO: GPS data processed {"connection_id":125174,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:55:50] local.INFO: Acknowledgment sent {"connection_id":125174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:55:52] local.INFO: TCP Data received {"connection_id":125175,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:55:52] local.INFO: Processing buffer {"connection_id":125175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:55:52] local.INFO: IMEI packet received {"connection_id":125175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":125175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:55:53] local.INFO: TCP Data received {"connection_id":125175,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc23500012d79f94005ec6c380008015e2f..."} 
[2026-07-08 08:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc23500012d79f94005ec6c380008015e2f..."} 
[2026-07-08 08:55:53] local.INFO: Processing buffer {"connection_id":125175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc23500012d79f94005ec6c380008015e2f..."} 
[2026-07-08 08:55:53] local.INFO: Packet analysis {"connection_id":125175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc2"} 
[2026-07-08 08:55:53] local.INFO: Extracted packet for processing {"connection_id":125175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc2"} 
[2026-07-08 08:55:53] local.INFO: GPS Element Parsed {"raw_longitude":762968384,"raw_latitude":99380280,"longitude_deg":76.2968384,"latitude_deg":9.938028,"altitude":8,"angle":350,"satellites":47,"speed":0,"hex_longitude":"2d79f940","hex_latitude":"05ec6c38","is_valid_coordinates":true} 
[2026-07-08 08:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571166464001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103687064645533696,"note":"Value kept but may cause issues"} 
[2026-07-08 08:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789126541975756800,"note":"Value kept but may cause issues"} 
[2026-07-08 08:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783481120000,"timestamp_ms":1783481120000,"timestamp_seconds":1783481120,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc23500"} 
[2026-07-08 08:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:55:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-08 08:55:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:55:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571166464001,"66":13472,"157":206,"87":13824,"24":0,"16":103687064645533696,"45":8789126541975756800},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 08:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571166464001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:55:53] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 08:55:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103687064645533696,"km_value":103687064645533.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789126541975756800,"description":"Unknown IO ID 45"} 
[2026-07-08 08:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571166464001,"power":13472,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8789126541975756800}} 
[2026-07-08 08:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":125175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449856,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:55:53] local.INFO: GPS data processed {"connection_id":125175,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:55:53] local.INFO: Acknowledgment sent {"connection_id":125175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:56:21] local.INFO: TCP Data received {"connection_id":125174,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc238e8012d0ce880070756a80027011826..."} 
[2026-07-08 08:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc238e8012d0ce880070756a80027011826..."} 
[2026-07-08 08:56:21] local.INFO: Processing buffer {"connection_id":125174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc238e8012d0ce880070756a80027011826..."} 
[2026-07-08 08:56:21] local.INFO: Packet analysis {"connection_id":125174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc2"} 
[2026-07-08 08:56:21] local.INFO: Extracted packet for processing {"connection_id":125174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc2"} 
[2026-07-08 08:56:21] local.INFO: GPS Element Parsed {"raw_longitude":755820672,"raw_latitude":117921448,"longitude_deg":75.5820672,"latitude_deg":11.7921448,"altitude":39,"angle":280,"satellites":38,"speed":19,"hex_longitude":"2d0ce880","hex_latitude":"070756a8","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571164928001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23507614436425728,"note":"Value kept but may cause issues"} 
[2026-07-08 08:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":936889490168762368,"note":"Value kept but may cause issues"} 
[2026-07-08 08:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783481121000,"timestamp_ms":1783481121000,"timestamp_seconds":1783481121,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc238e8"} 
[2026-07-08 08:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:56: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-07-08 08: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-08 08:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":125174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":125174,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":125174,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571164928001,"66":14548,"221":206,"94":10240,"24":19,"16":23507614436425728,"45":936889490168762368},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-07-08 08:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571164928001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:56:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-08 08:56:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 08:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23507614436425728,"km_value":23507614436425.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":936889490168762368,"description":"Unknown IO ID 45"} 
[2026-07-08 08:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571164928001,"power":14548,"unknown_221":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":936889490168762368}} 
[2026-07-08 08:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":125174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449857,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:56:21] local.INFO: GPS data processed {"connection_id":125174,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:56:21] local.INFO: Acknowledgment sent {"connection_id":125174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:56:24] local.INFO: TCP Data received {"connection_id":125175,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc238e8012d79f94005ec6c88000801522f..."} 
[2026-07-08 08:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc238e8012d79f94005ec6c88000801522f..."} 
[2026-07-08 08:56:24] local.INFO: Processing buffer {"connection_id":125175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc238e8012d79f94005ec6c88000801522f..."} 
[2026-07-08 08:56:24] local.INFO: Packet analysis {"connection_id":125175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc2"} 
[2026-07-08 08:56:24] local.INFO: Extracted packet for processing {"connection_id":125175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc2"} 
[2026-07-08 08:56:24] local.INFO: GPS Element Parsed {"raw_longitude":762968384,"raw_latitude":99380360,"longitude_deg":76.2968384,"latitude_deg":9.938036,"altitude":8,"angle":338,"satellites":47,"speed":0,"hex_longitude":"2d79f940","hex_latitude":"05ec6c88","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571166720001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103687068940500992,"note":"Value kept but may cause issues"} 
[2026-07-08 08:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789126541975762944,"note":"Value kept but may cause issues"} 
[2026-07-08 08:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783481121000,"timestamp_ms":1783481121000,"timestamp_seconds":1783481121,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc238e8"} 
[2026-07-08 08:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:56:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-08 08:56:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:56:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571166720001,"66":13472,"157":206,"87":13824,"24":0,"16":103687068940500992,"45":8789126541975762944},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 08:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571166720001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:56:24] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 08:56:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103687068940500992,"km_value":103687068940500.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789126541975762944,"description":"Unknown IO ID 45"} 
[2026-07-08 08:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571166720001,"power":13472,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8789126541975762944}} 
[2026-07-08 08:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":125175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449858,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:56:24] local.INFO: GPS data processed {"connection_id":125175,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:56:24] local.INFO: Acknowledgment sent {"connection_id":125175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:56:45] local.INFO: TCP Data received {"connection_id":126003,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126003,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:56:45] local.INFO: Processing buffer {"connection_id":126003,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:56:45] local.INFO: IMEI packet received {"connection_id":126003,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 08:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":126003,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:56:47] local.INFO: TCP Data received {"connection_id":125264,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125264,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:56:47] local.INFO: Processing buffer {"connection_id":125264,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:56:47] local.INFO: IMEI packet received {"connection_id":125264,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":125264,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:56:50] local.INFO: TCP Data received {"connection_id":126003,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126003,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:56:50] local.INFO: Processing buffer {"connection_id":126003,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:56:50] local.INFO: IMEI packet received {"connection_id":126003,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":126003,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:56:51] local.INFO: TCP Data received {"connection_id":125264,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125264,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:56:51] local.INFO: Processing buffer {"connection_id":125264,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:56:51] local.INFO: IMEI packet received {"connection_id":125264,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":125264,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:56:51] local.INFO: TCP Data received {"connection_id":126003,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc32348012d0cabc0070761e0001f015328..."} 
[2026-07-08 08:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc32348012d0cabc0070761e0001f015328..."} 
[2026-07-08 08:56:51] local.INFO: Processing buffer {"connection_id":126003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc32348012d0cabc0070761e0001f015328..."} 
[2026-07-08 08:56:51] local.INFO: Packet analysis {"connection_id":126003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc3"} 
[2026-07-08 08:56:51] local.INFO: Extracted packet for processing {"connection_id":126003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc3"} 
[2026-07-08 08:56:51] local.INFO: GPS Element Parsed {"raw_longitude":755805120,"raw_latitude":117924320,"longitude_deg":75.580512,"latitude_deg":11.792432,"altitude":31,"angle":339,"satellites":40,"speed":11,"hex_longitude":"2d0cabc0","hex_latitude":"070761e0","is_valid_coordinates":true} 
[2026-07-08 08:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571182080001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23508477724852224,"note":"Value kept but may cause issues"} 
[2026-07-08 08:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":913104854637932544,"note":"Value kept but may cause issues"} 
[2026-07-08 08:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783481181000,"timestamp_ms":1783481181000,"timestamp_seconds":1783481181,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc32348"} 
[2026-07-08 08:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-08 08:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:56:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126003,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126003,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571182080001,"66":14439,"221":206,"94":10240,"24":11,"16":23508477724852224,"45":913104854637932544},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-07-08 08:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571182080001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:56:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-08 08:56:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 08:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23508477724852224,"km_value":23508477724852.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":913104854637932544,"description":"Unknown IO ID 45"} 
[2026-07-08 08:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571182080001,"power":14439,"unknown_221":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":913104854637932544}} 
[2026-07-08 08:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":126003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449859,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:56:51] local.INFO: GPS data processed {"connection_id":126003,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:56:51] local.INFO: Acknowledgment sent {"connection_id":126003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:56:52] local.INFO: TCP Data received {"connection_id":125264,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125264,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:56:52] local.INFO: Processing buffer {"connection_id":125264,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:56:52] local.INFO: IMEI packet received {"connection_id":125264,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":125264,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:56:53] local.INFO: TCP Data received {"connection_id":125264,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc263e0012d79f78005ec7318000a01602f..."} 
[2026-07-08 08:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc263e0012d79f78005ec7318000a01602f..."} 
[2026-07-08 08:56:53] local.INFO: Processing buffer {"connection_id":125264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc263e0012d79f78005ec7318000a01602f..."} 
[2026-07-08 08:56:53] local.INFO: Packet analysis {"connection_id":125264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc2"} 
[2026-07-08 08:56:53] local.INFO: Extracted packet for processing {"connection_id":125264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc2"} 
[2026-07-08 08:56:53] local.INFO: GPS Element Parsed {"raw_longitude":762967936,"raw_latitude":99382040,"longitude_deg":76.2967936,"latitude_deg":9.938204,"altitude":10,"angle":352,"satellites":47,"speed":7,"hex_longitude":"2d79f780","hex_latitude":"05ec7318","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571166976001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103687154839846912,"note":"Value kept but may cause issues"} 
[2026-07-08 08:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789126541975783424,"note":"Value kept but may cause issues"} 
[2026-07-08 08:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783481132000,"timestamp_ms":1783481132000,"timestamp_seconds":1783481132,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc263e0"} 
[2026-07-08 08:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:56:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-08 08:56:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:56:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571166976001,"66":12917,"157":206,"87":13824,"24":7,"16":103687154839846912,"45":8789126541975783424},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 08:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571166976001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:56:53] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 08:56:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103687154839846912,"km_value":103687154839846.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789126541975783424,"description":"Unknown IO ID 45"} 
[2026-07-08 08:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571166976001,"power":12917,"unknown_157":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8789126541975783424}} 
[2026-07-08 08:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":125264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449860,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:56:53] local.INFO: GPS data processed {"connection_id":125264,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:56:53] local.INFO: Acknowledgment sent {"connection_id":125264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:56:58] local.INFO: TCP Data received {"connection_id":125264,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc267c8012d79f78005ec73e0000a000a2f..."} 
[2026-07-08 08:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc267c8012d79f78005ec73e0000a000a2f..."} 
[2026-07-08 08:56:58] local.INFO: Processing buffer {"connection_id":125264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc267c8012d79f78005ec73e0000a000a2f..."} 
[2026-07-08 08:56:58] local.INFO: Packet analysis {"connection_id":125264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc2"} 
[2026-07-08 08:56:58] local.INFO: Extracted packet for processing {"connection_id":125264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc2"} 
[2026-07-08 08:56:58] local.INFO: GPS Element Parsed {"raw_longitude":762967936,"raw_latitude":99382240,"longitude_deg":76.2967936,"latitude_deg":9.938224,"altitude":10,"angle":10,"satellites":47,"speed":8,"hex_longitude":"2d79f780","hex_latitude":"05ec73e0","is_valid_coordinates":true} 
[2026-07-08 08:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571169792001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103687163429781504,"note":"Value kept but may cause issues"} 
[2026-07-08 08:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788633960766969856,"note":"Value kept but may cause issues"} 
[2026-07-08 08:56:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783481133000,"timestamp_ms":1783481133000,"timestamp_seconds":1783481133,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc267c8"} 
[2026-07-08 08:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:56: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-07-08 08:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-08 08:56: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-07-08 08:56:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":125264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":125264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":125264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571169792001,"66":13091,"157":206,"87":13824,"24":8,"16":103687163429781504,"45":8788633960766969856},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 08:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571169792001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:56:58] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 08:56:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103687163429781504,"km_value":103687163429781.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788633960766969856,"description":"Unknown IO ID 45"} 
[2026-07-08 08:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571169792001,"power":13091,"unknown_157":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8788633960766969856}} 
[2026-07-08 08:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":125264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449861,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:56:58] local.INFO: GPS data processed {"connection_id":125264,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:56:58] local.INFO: Acknowledgment sent {"connection_id":125264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:57:01] local.INFO: TCP Data received {"connection_id":125176,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:57:01] local.INFO: Processing buffer {"connection_id":125176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:57:01] local.INFO: IMEI packet received {"connection_id":125176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":125176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:57:02] local.INFO: TCP Data received {"connection_id":125176,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc048d0012d7f99c005afdba00008014a31..."} 
[2026-07-08 08:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc048d0012d7f99c005afdba00008014a31..."} 
[2026-07-08 08:57:02] local.INFO: Processing buffer {"connection_id":125176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc048d0012d7f99c005afdba00008014a31..."} 
[2026-07-08 08:57:02] local.INFO: Packet analysis {"connection_id":125176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc0"} 
[2026-07-08 08:57:02] local.INFO: Extracted packet for processing {"connection_id":125176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc0"} 
[2026-07-08 08:57:02] local.INFO: GPS Element Parsed {"raw_longitude":763337152,"raw_latitude":95411104,"longitude_deg":76.3337152,"latitude_deg":9.5411104,"altitude":8,"angle":330,"satellites":49,"speed":6,"hex_longitude":"2d7f99c0","hex_latitude":"05afdba0","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571134208001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532077171769344,"note":"Value kept but may cause issues"} 
[2026-07-08 08:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194802351143849984,"note":"Value kept but may cause issues"} 
[2026-07-08 08:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783480994000,"timestamp_ms":1783480994000,"timestamp_seconds":1783480994,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc048d0"} 
[2026-07-08 08:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:57: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-07-08 08: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 08:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571134208001,"66":27713,"250":206,"85":12544,"24":6,"16":342532077171769344,"45":9194802351143849984},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 08:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571134208001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:57:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 08:57:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 08:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532077171769344,"km_value":342532077171769.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194802351143849984,"description":"Unknown IO ID 45"} 
[2026-07-08 08:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571134208001,"power":27713,"unknown_250":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":9194802351143849984}} 
[2026-07-08 08:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":125176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:57:02] local.INFO: GPS data processed {"connection_id":125176,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:57:02] local.INFO: Acknowledgment sent {"connection_id":125176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:57:22] local.INFO: TCP Data received {"connection_id":125265,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125265,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:57:22] local.INFO: Processing buffer {"connection_id":125265,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:57:22] local.INFO: IMEI packet received {"connection_id":125265,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 08:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":125265,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:57:22] local.INFO: TCP Data received {"connection_id":126003,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc3cf28012d0c7d4007077760001e012028..."} 
[2026-07-08 08:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc3cf28012d0c7d4007077760001e012028..."} 
[2026-07-08 08:57:22] local.INFO: Processing buffer {"connection_id":126003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc3cf28012d0c7d4007077760001e012028..."} 
[2026-07-08 08:57:22] local.INFO: Packet analysis {"connection_id":126003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc3"} 
[2026-07-08 08:57:22] local.INFO: Extracted packet for processing {"connection_id":126003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc3"} 
[2026-07-08 08:57:22] local.INFO: GPS Element Parsed {"raw_longitude":755793216,"raw_latitude":117929824,"longitude_deg":75.5793216,"latitude_deg":11.7929824,"altitude":30,"angle":288,"satellites":40,"speed":8,"hex_longitude":"2d0c7d40","hex_latitude":"07077760","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571192064001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23509328128376832,"note":"Value kept but may cause issues"} 
[2026-07-08 08:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":901142168129003520,"note":"Value kept but may cause issues"} 
[2026-07-08 08:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783481225000,"timestamp_ms":1783481225000,"timestamp_seconds":1783481225,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc3cf28"} 
[2026-07-08 08:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:57:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 08:57:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126003,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126003,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571192064001,"66":14450,"221":206,"94":10240,"24":8,"16":23509328128376832,"45":901142168129003520},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-07-08 08:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571192064001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:57:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-08 08:57:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 08:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23509328128376832,"km_value":23509328128376.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":901142168129003520,"description":"Unknown IO ID 45"} 
[2026-07-08 08:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571192064001,"power":14450,"unknown_221":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":901142168129003520}} 
[2026-07-08 08:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":126003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449863,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:57:22] local.INFO: GPS data processed {"connection_id":126003,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:57:22] local.INFO: Acknowledgment sent {"connection_id":126003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:57:29] local.INFO: TCP Data received {"connection_id":125264,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc26f98012d79f80005ec7578000a001d2f..."} 
[2026-07-08 08:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc26f98012d79f80005ec7578000a001d2f..."} 
[2026-07-08 08:57:29] local.INFO: Processing buffer {"connection_id":125264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc26f98012d79f80005ec7578000a001d2f..."} 
[2026-07-08 08:57:29] local.INFO: Packet analysis {"connection_id":125264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc2"} 
[2026-07-08 08:57:29] local.INFO: Extracted packet for processing {"connection_id":125264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc2"} 
[2026-07-08 08:57:29] local.INFO: GPS Element Parsed {"raw_longitude":762968064,"raw_latitude":99382648,"longitude_deg":76.2968064,"latitude_deg":9.9382648,"altitude":10,"angle":29,"satellites":47,"speed":7,"hex_longitude":"2d79f800","hex_latitude":"05ec7578","is_valid_coordinates":true} 
[2026-07-08 08:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571170048001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103687184904617984,"note":"Value kept but may cause issues"} 
[2026-07-08 08:57:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788633960767021056,"note":"Value kept but may cause issues"} 
[2026-07-08 08:57:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783481135000,"timestamp_ms":1783481135000,"timestamp_seconds":1783481135,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc26f98"} 
[2026-07-08 08:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:57:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-08 08:57:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:57:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":125264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":125264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":125264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:57:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571170048001,"66":13091,"157":206,"87":13824,"24":7,"16":103687184904617984,"45":8788633960767021056},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 08:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571170048001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:57:29] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 08:57:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103687184904617984,"km_value":103687184904617.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:57:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788633960767021056,"description":"Unknown IO ID 45"} 
[2026-07-08 08:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571170048001,"power":13091,"unknown_157":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8788633960767021056}} 
[2026-07-08 08:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":125264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449864,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:57:29] local.INFO: GPS data processed {"connection_id":125264,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:57:29] local.INFO: Acknowledgment sent {"connection_id":125264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:57:33] local.INFO: TCP Data received {"connection_id":125176,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc06428012d7f990005afdf080008002032..."} 
[2026-07-08 08:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc06428012d7f990005afdf080008002032..."} 
[2026-07-08 08:57:33] local.INFO: Processing buffer {"connection_id":125176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc06428012d7f990005afdf080008002032..."} 
[2026-07-08 08:57:33] local.INFO: Packet analysis {"connection_id":125176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc0"} 
[2026-07-08 08:57:33] local.INFO: Extracted packet for processing {"connection_id":125176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc0"} 
[2026-07-08 08:57:33] local.INFO: GPS Element Parsed {"raw_longitude":763336960,"raw_latitude":95411976,"longitude_deg":76.333696,"latitude_deg":9.5411976,"altitude":8,"angle":32,"satellites":50,"speed":8,"hex_longitude":"2d7f9900","hex_latitude":"05afdf08","is_valid_coordinates":true} 
[2026-07-08 08:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571134464001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532124416409600,"note":"Value kept but may cause issues"} 
[2026-07-08 08:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194591244911353856,"note":"Value kept but may cause issues"} 
[2026-07-08 08:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783481001000,"timestamp_ms":1783481001000,"timestamp_seconds":1783481001,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc06428"} 
[2026-07-08 08:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 08:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571134464001,"66":27908,"250":206,"85":12544,"24":8,"16":342532124416409600,"45":9194591244911353856},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 08:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571134464001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:57:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 08:57:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 08:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532124416409600,"km_value":342532124416409.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194591244911353856,"description":"Unknown IO ID 45"} 
[2026-07-08 08:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571134464001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":8,"odometer":null,"unknown_45":9194591244911353856}} 
[2026-07-08 08:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":125176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:57:33] local.INFO: GPS data processed {"connection_id":125176,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:57:33] local.INFO: Acknowledgment sent {"connection_id":125176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:57:46] local.INFO: TCP Data received {"connection_id":127279,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127279,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:57:46] local.INFO: Processing buffer {"connection_id":127279,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:57:46] local.INFO: IMEI packet received {"connection_id":127279,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 08:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":127279,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:57:47] local.INFO: TCP Data received {"connection_id":125177,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125177,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:57:47] local.INFO: Processing buffer {"connection_id":125177,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:57:47] local.INFO: IMEI packet received {"connection_id":125177,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":125177,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:57:48] local.INFO: TCP Data received {"connection_id":127279,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127279,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:57:48] local.INFO: Processing buffer {"connection_id":127279,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:57:48] local.INFO: IMEI packet received {"connection_id":127279,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":127279,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:57:49] local.INFO: TCP Data received {"connection_id":127279,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127279,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:57:49] local.INFO: Processing buffer {"connection_id":127279,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:57:49] local.INFO: IMEI packet received {"connection_id":127279,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":127279,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:57:49] local.INFO: TCP Data received {"connection_id":125177,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125177,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:57:49] local.INFO: Processing buffer {"connection_id":125177,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:57:49] local.INFO: IMEI packet received {"connection_id":125177,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":125177,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:57:50] local.INFO: TCP Data received {"connection_id":127279,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc3dae0012d0c7980070777f8001d011528..."} 
[2026-07-08 08:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc3dae0012d0c7980070777f8001d011528..."} 
[2026-07-08 08:57:50] local.INFO: Processing buffer {"connection_id":127279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc3dae0012d0c7980070777f8001d011528..."} 
[2026-07-08 08:57:50] local.INFO: Packet analysis {"connection_id":127279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc3"} 
[2026-07-08 08:57:50] local.INFO: Extracted packet for processing {"connection_id":127279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc3"} 
[2026-07-08 08:57:50] local.INFO: GPS Element Parsed {"raw_longitude":755792256,"raw_latitude":117929976,"longitude_deg":75.5792256,"latitude_deg":11.7929976,"altitude":29,"angle":277,"satellites":40,"speed":15,"hex_longitude":"2d0c7980","hex_latitude":"070777f8","is_valid_coordinates":true} 
[2026-07-08 08:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571193600001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23509379667984384,"note":"Value kept but may cause issues"} 
[2026-07-08 08:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":899945899478179840,"note":"Value kept but may cause issues"} 
[2026-07-08 08:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783481228000,"timestamp_ms":1783481228000,"timestamp_seconds":1783481228,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc3dae0"} 
[2026-07-08 08:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:57: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-07-08 08:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-08 08:57:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:57:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":127279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":127279,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":127279,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571193600001,"66":13624,"221":206,"94":10240,"24":15,"16":23509379667984384,"45":899945899478179840},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-07-08 08:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571193600001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:57:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-08 08:57:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 08:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23509379667984384,"km_value":23509379667984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":899945899478179840,"description":"Unknown IO ID 45"} 
[2026-07-08 08:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571193600001,"power":13624,"unknown_221":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":899945899478179840}} 
[2026-07-08 08:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":127279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449866,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:57:50] local.INFO: GPS data processed {"connection_id":127279,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:57:50] local.INFO: Acknowledgment sent {"connection_id":127279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:57:50] local.INFO: TCP Data received {"connection_id":127279,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc3fa20012d0c6d4007077858001b010728..."} 
[2026-07-08 08:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc3fa20012d0c6d4007077858001b010728..."} 
[2026-07-08 08:57:50] local.INFO: Processing buffer {"connection_id":127279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc3fa20012d0c6d4007077858001b010728..."} 
[2026-07-08 08:57:50] local.INFO: Packet analysis {"connection_id":127279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc3"} 
[2026-07-08 08:57:50] local.INFO: Extracted packet for processing {"connection_id":127279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc3"} 
[2026-07-08 08:57:50] local.INFO: GPS Element Parsed {"raw_longitude":755789120,"raw_latitude":117930072,"longitude_deg":75.578912,"latitude_deg":11.7930072,"altitude":27,"angle":263,"satellites":40,"speed":11,"hex_longitude":"2d0c6d40","hex_latitude":"07077858","is_valid_coordinates":true} 
[2026-07-08 08:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571194368001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23509525696872448,"note":"Value kept but may cause issues"} 
[2026-07-08 08:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":898890368315553792,"note":"Value kept but may cause issues"} 
[2026-07-08 08:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783481236000,"timestamp_ms":1783481236000,"timestamp_seconds":1783481236,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc3fa20"} 
[2026-07-08 08:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-07-08 08:57:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:57:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":127279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":127279,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":127279,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571194368001,"66":14450,"221":206,"94":10240,"24":11,"16":23509525696872448,"45":898890368315553792},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-07-08 08:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571194368001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:57:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-08 08:57:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 08:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23509525696872448,"km_value":23509525696872.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":898890368315553792,"description":"Unknown IO ID 45"} 
[2026-07-08 08:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571194368001,"power":14450,"unknown_221":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":898890368315553792}} 
[2026-07-08 08:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":127279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449867,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:57:50] local.INFO: GPS data processed {"connection_id":127279,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:57:50] local.INFO: Acknowledgment sent {"connection_id":127279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:57:52] local.INFO: TCP Data received {"connection_id":125177,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125177,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:57:52] local.INFO: Processing buffer {"connection_id":125177,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:57:52] local.INFO: IMEI packet received {"connection_id":125177,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":125177,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:57:53] local.INFO: TCP Data received {"connection_id":125177,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc42900012d7a1c0005ec83f0000b008c2d..."} 
[2026-07-08 08:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc42900012d7a1c0005ec83f0000b008c2d..."} 
[2026-07-08 08:57:53] local.INFO: Processing buffer {"connection_id":125177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc42900012d7a1c0005ec83f0000b008c2d..."} 
[2026-07-08 08:57:53] local.INFO: Packet analysis {"connection_id":125177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc4"} 
[2026-07-08 08:57:53] local.INFO: Extracted packet for processing {"connection_id":125177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc4"} 
[2026-07-08 08:57:53] local.INFO: GPS Element Parsed {"raw_longitude":762977280,"raw_latitude":99386352,"longitude_deg":76.297728,"latitude_deg":9.9386352,"altitude":11,"angle":140,"satellites":45,"speed":12,"hex_longitude":"2d7a1c00","hex_latitude":"05ec83f0","is_valid_coordinates":true} 
[2026-07-08 08:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571199232001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103687674530889728,"note":"Value kept but may cause issues"} 
[2026-07-08 08:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798696691185522688,"note":"Value kept but may cause issues"} 
[2026-07-08 08:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783481248000,"timestamp_ms":1783481248000,"timestamp_seconds":1783481248,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc42900"} 
[2026-07-08 08:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:57:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-08 08:57:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:57:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:57:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571199232001,"66":13048,"157":206,"87":13824,"24":12,"16":103687674530889728,"45":8798696691185522688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 08:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571199232001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:57:53] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 08:57:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103687674530889728,"km_value":103687674530889.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798696691185522688,"description":"Unknown IO ID 45"} 
[2026-07-08 08:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571199232001,"power":13048,"unknown_157":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8798696691185522688}} 
[2026-07-08 08:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":125177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449868,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:57:53] local.INFO: GPS data processed {"connection_id":125177,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:57:53] local.INFO: Acknowledgment sent {"connection_id":125177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:58:01] local.INFO: TCP Data received {"connection_id":125266,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:58:01] local.INFO: Processing buffer {"connection_id":125266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:58:01] local.INFO: IMEI packet received {"connection_id":125266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":125266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:58:02] local.INFO: TCP Data received {"connection_id":125267,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125267,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:58:02] local.INFO: Processing buffer {"connection_id":125267,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 08:58:02] local.INFO: IMEI packet received {"connection_id":125267,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 08:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":125267,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:58:06] local.INFO: TCP Data received {"connection_id":125266,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:58:06] local.INFO: Processing buffer {"connection_id":125266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:58:06] local.INFO: IMEI packet received {"connection_id":125266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":125266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:58:07] local.INFO: TCP Data received {"connection_id":125266,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc06810012d7f998005afdfa80008003233..."} 
[2026-07-08 08:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc06810012d7f998005afdfa80008003233..."} 
[2026-07-08 08:58:07] local.INFO: Processing buffer {"connection_id":125266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc06810012d7f998005afdfa80008003233..."} 
[2026-07-08 08:58:07] local.INFO: Packet analysis {"connection_id":125266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc0"} 
[2026-07-08 08:58:07] local.INFO: Extracted packet for processing {"connection_id":125266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc0"} 
[2026-07-08 08:58:07] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95412136,"longitude_deg":76.3337088,"latitude_deg":9.5412136,"altitude":8,"angle":50,"satellites":51,"speed":8,"hex_longitude":"2d7f9980","hex_latitude":"05afdfa8","is_valid_coordinates":true} 
[2026-07-08 08:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571136256001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532137301311488,"note":"Value kept but may cause issues"} 
[2026-07-08 08:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194380138679044096,"note":"Value kept but may cause issues"} 
[2026-07-08 08:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783481002000,"timestamp_ms":1783481002000,"timestamp_seconds":1783481002,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc06810"} 
[2026-07-08 08:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 08:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571136256001,"66":27908,"250":206,"85":12544,"24":8,"16":342532137301311488,"45":9194380138679044096},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 08:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571136256001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:58:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 08:58:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 08:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532137301311488,"km_value":342532137301311.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194380138679044096,"description":"Unknown IO ID 45"} 
[2026-07-08 08:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571136256001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":8,"odometer":null,"unknown_45":9194380138679044096}} 
[2026-07-08 08:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":125266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:58:07] local.INFO: GPS data processed {"connection_id":125266,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:58:07] local.INFO: Acknowledgment sent {"connection_id":125266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:58:22] local.INFO: TCP Data received {"connection_id":127279,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc4b1b8012d0c044007074fb80013010928..."} 
[2026-07-08 08:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc4b1b8012d0c044007074fb80013010928..."} 
[2026-07-08 08:58:22] local.INFO: Processing buffer {"connection_id":127279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc4b1b8012d0c044007074fb80013010928..."} 
[2026-07-08 08:58:22] local.INFO: Packet analysis {"connection_id":127279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc4"} 
[2026-07-08 08:58:22] local.INFO: Extracted packet for processing {"connection_id":127279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc4"} 
[2026-07-08 08:58:22] local.INFO: GPS Element Parsed {"raw_longitude":755762240,"raw_latitude":117919672,"longitude_deg":75.576224,"latitude_deg":11.7919672,"altitude":19,"angle":265,"satellites":40,"speed":35,"hex_longitude":"2d0c0440","hex_latitude":"07074fb8","is_valid_coordinates":true} 
[2026-07-08 08:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571205888001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23511149194510336,"note":"Value kept but may cause issues"} 
[2026-07-08 08:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876653845153001472,"note":"Value kept but may cause issues"} 
[2026-07-08 08:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783481283000,"timestamp_ms":1783481283000,"timestamp_seconds":1783481283,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc4b1b8"} 
[2026-07-08 08:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:58:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-08 08:58:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:58:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":127279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":127279,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":127279,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 08:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 08:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 08:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571205888001,"66":14450,"221":206,"94":10240,"24":35,"16":23511149194510336,"45":876653845153001472},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-07-08 08:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 08:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 08:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571205888001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:58:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-08 08:58:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 08:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23511149194510336,"km_value":23511149194510.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":876653845153001472,"description":"Unknown IO ID 45"} 
[2026-07-08 08:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571205888001,"power":14450,"unknown_221":206,"unknown_94":10240,"ignition":35,"odometer":null,"unknown_45":876653845153001472}} 
[2026-07-08 08:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":127279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449870,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:58:22] local.INFO: GPS data processed {"connection_id":127279,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:58:22] local.INFO: Acknowledgment sent {"connection_id":127279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:58:24] local.INFO: TCP Data received {"connection_id":125177,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc42ce8012d7a1c4005ec82f8000b00a52c..."} 
[2026-07-08 08:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc42ce8012d7a1c4005ec82f8000b00a52c..."} 
[2026-07-08 08:58:24] local.INFO: Processing buffer {"connection_id":125177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc42ce8012d7a1c4005ec82f8000b00a52c..."} 
[2026-07-08 08:58:24] local.INFO: Packet analysis {"connection_id":125177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc4"} 
[2026-07-08 08:58:24] local.INFO: Extracted packet for processing {"connection_id":125177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc4"} 
[2026-07-08 08:58:24] local.INFO: GPS Element Parsed {"raw_longitude":762977344,"raw_latitude":99386104,"longitude_deg":76.2977344,"latitude_deg":9.9386104,"altitude":11,"angle":165,"satellites":44,"speed":9,"hex_longitude":"2d7a1c40","hex_latitude":"05ec82f8","is_valid_coordinates":true} 
[2026-07-08 08:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571199488001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103687687415791616,"note":"Value kept but may cause issues"} 
[2026-07-08 08:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798907797418012672,"note":"Value kept but may cause issues"} 
[2026-07-08 08:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783481249000,"timestamp_ms":1783481249000,"timestamp_seconds":1783481249,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc42ce8"} 
[2026-07-08 08:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:58:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-08 08:58: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-07-08 08:58:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:58:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571199488001,"66":13178,"157":206,"87":13824,"24":9,"16":103687687415791616,"45":8798907797418012672},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 08:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571199488001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:58:24] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 08:58:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103687687415791616,"km_value":103687687415791.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798907797418012672,"description":"Unknown IO ID 45"} 
[2026-07-08 08:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571199488001,"power":13178,"unknown_157":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8798907797418012672}} 
[2026-07-08 08:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":125177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449871,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:58:24] local.INFO: GPS data processed {"connection_id":125177,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:58:24] local.INFO: Acknowledgment sent {"connection_id":125177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:58:38] local.INFO: TCP Data received {"connection_id":125266,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc0ba18012d7f9a4005afdf600008003431..."} 
[2026-07-08 08:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc0ba18012d7f9a4005afdf600008003431..."} 
[2026-07-08 08:58:38] local.INFO: Processing buffer {"connection_id":125266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc0ba18012d7f9a4005afdf600008003431..."} 
[2026-07-08 08:58:38] local.INFO: Packet analysis {"connection_id":125266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc0"} 
[2026-07-08 08:58:38] local.INFO: Extracted packet for processing {"connection_id":125266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc0"} 
[2026-07-08 08:58:38] local.INFO: GPS Element Parsed {"raw_longitude":763337280,"raw_latitude":95412064,"longitude_deg":76.333728,"latitude_deg":9.5412064,"altitude":8,"angle":52,"satellites":49,"speed":0,"hex_longitude":"2d7f9a40","hex_latitude":"05afdf60","is_valid_coordinates":true} 
[2026-07-08 08:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571136512001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532171661049856,"note":"Value kept but may cause issues"} 
[2026-07-08 08:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167440384,"note":"Value kept but may cause issues"} 
[2026-07-08 08:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783481023000,"timestamp_ms":1783481023000,"timestamp_seconds":1783481023,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc0ba18"} 
[2026-07-08 08:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 08:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571136512001,"66":27908,"250":206,"85":12544,"24":0,"16":342532171661049856,"45":9194520876167440384},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 08:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571136512001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:58:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 08:58:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 08:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532171661049856,"km_value":342532171661049.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167440384,"description":"Unknown IO ID 45"} 
[2026-07-08 08:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571136512001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167440384}} 
[2026-07-08 08:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":125266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:58:38] local.INFO: GPS data processed {"connection_id":125266,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:58:38] local.INFO: Acknowledgment sent {"connection_id":125266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:58:44] local.INFO: TCP Data received {"connection_id":125178,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125178,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:58:44] local.INFO: Processing buffer {"connection_id":125178,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:58:44] local.INFO: IMEI packet received {"connection_id":125178,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 08:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":125178,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:58:45] local.INFO: TCP Data received {"connection_id":125178,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125178,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:58:45] local.INFO: Processing buffer {"connection_id":125178,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:58:45] local.INFO: IMEI packet received {"connection_id":125178,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":125178,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:58:46] local.INFO: TCP Data received {"connection_id":125178,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125178,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:58:46] local.INFO: Processing buffer {"connection_id":125178,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:58:46] local.INFO: IMEI packet received {"connection_id":125178,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":125178,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:58:47] local.INFO: TCP Data received {"connection_id":125179,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:58:47] local.INFO: Processing buffer {"connection_id":125179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:58:47] local.INFO: IMEI packet received {"connection_id":125179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":125179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:58:47] local.INFO: TCP Data received {"connection_id":125178,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125178,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:58:47] local.INFO: Processing buffer {"connection_id":125178,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 08:58:47] local.INFO: IMEI packet received {"connection_id":125178,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 08:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":125178,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:58:51] local.INFO: TCP Data received {"connection_id":125179,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:58:51] local.INFO: Processing buffer {"connection_id":125179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:58:51] local.INFO: IMEI packet received {"connection_id":125179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":125179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:58:52] local.INFO: TCP Data received {"connection_id":125179,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:58:52] local.INFO: Processing buffer {"connection_id":125179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:58:52] local.INFO: IMEI packet received {"connection_id":125179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":125179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:58:53] local.INFO: TCP Data received {"connection_id":125179,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc46780012d7a1b4005ec82c8000b00e02b..."} 
[2026-07-08 08:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc46780012d7a1b4005ec82c8000b00e02b..."} 
[2026-07-08 08:58:53] local.INFO: Processing buffer {"connection_id":125179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc46780012d7a1b4005ec82c8000b00e02b..."} 
[2026-07-08 08:58:53] local.INFO: Packet analysis {"connection_id":125179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc4"} 
[2026-07-08 08:58:53] local.INFO: Extracted packet for processing {"connection_id":125179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc4"} 
[2026-07-08 08:58:53] local.INFO: GPS Element Parsed {"raw_longitude":762977088,"raw_latitude":99386056,"longitude_deg":76.2977088,"latitude_deg":9.9386056,"altitude":11,"angle":224,"satellites":43,"speed":8,"hex_longitude":"2d7a1b40","hex_latitude":"05ec82c8","is_valid_coordinates":true} 
[2026-07-08 08: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-07-08 08:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571199744001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103687743250366464,"note":"Value kept but may cause issues"} 
[2026-07-08 08:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798978166162126848,"note":"Value kept but may cause issues"} 
[2026-07-08 08:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783481264000,"timestamp_ms":1783481264000,"timestamp_seconds":1783481264,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc46780"} 
[2026-07-08 08:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-08 08:58:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571199744001,"66":13091,"157":206,"87":13824,"24":8,"16":103687743250366464,"45":8798978166162126848},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 08:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571199744001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:58:53] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 08:58:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103687743250366464,"km_value":103687743250366.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798978166162126848,"description":"Unknown IO ID 45"} 
[2026-07-08 08:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571199744001,"power":13091,"unknown_157":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8798978166162126848}} 
[2026-07-08 08:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":125179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449873,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:58:53] local.INFO: GPS data processed {"connection_id":125179,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:58:53] local.INFO: Acknowledgment sent {"connection_id":125179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:58:56] local.INFO: TCP Data received {"connection_id":125180,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:58:56] local.INFO: Processing buffer {"connection_id":125180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:58:56] local.INFO: IMEI packet received {"connection_id":125180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":125180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:58:58] local.INFO: TCP Data received {"connection_id":125179,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc46b68012d7a1a8005ec8240000b00f32c..."} 
[2026-07-08 08:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc46b68012d7a1a8005ec8240000b00f32c..."} 
[2026-07-08 08:58:58] local.INFO: Processing buffer {"connection_id":125179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc46b68012d7a1a8005ec8240000b00f32c..."} 
[2026-07-08 08:58:58] local.INFO: Packet analysis {"connection_id":125179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc4"} 
[2026-07-08 08:58:58] local.INFO: Extracted packet for processing {"connection_id":125179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc4"} 
[2026-07-08 08:58:58] local.INFO: GPS Element Parsed {"raw_longitude":762976896,"raw_latitude":99385920,"longitude_deg":76.2976896,"latitude_deg":9.938592,"altitude":11,"angle":243,"satellites":44,"speed":10,"hex_longitude":"2d7a1a80","hex_latitude":"05ec8240","is_valid_coordinates":true} 
[2026-07-08 08:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571203584001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103687751840301056,"note":"Value kept but may cause issues"} 
[2026-07-08 08:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798696691185403904,"note":"Value kept but may cause issues"} 
[2026-07-08 08:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783481265000,"timestamp_ms":1783481265000,"timestamp_seconds":1783481265,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc46b68"} 
[2026-07-08 08:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:58: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-07-08 08: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":35,"data_length":795,"current_offset":136} 
[2026-07-08 08:58:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:58:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":125179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":125179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":125179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571203584001,"66":13091,"157":206,"87":13824,"24":10,"16":103687751840301056,"45":8798696691185403904},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 08:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571203584001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:58:58] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 08:58:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103687751840301056,"km_value":103687751840301.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798696691185403904,"description":"Unknown IO ID 45"} 
[2026-07-08 08:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571203584001,"power":13091,"unknown_157":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8798696691185403904}} 
[2026-07-08 08:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":125179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449874,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:58:58] local.INFO: GPS data processed {"connection_id":125179,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:58:58] local.INFO: Acknowledgment sent {"connection_id":125179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:59:01] local.INFO: TCP Data received {"connection_id":125180,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:59:01] local.INFO: Processing buffer {"connection_id":125180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:59:01] local.INFO: IMEI packet received {"connection_id":125180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 08:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":125180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:59:02] local.INFO: TCP Data received {"connection_id":125180,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc10c20012d7f998005afe0380008003432..."} 
[2026-07-08 08:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc10c20012d7f998005afe0380008003432..."} 
[2026-07-08 08:59:02] local.INFO: Processing buffer {"connection_id":125180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc10c20012d7f998005afe0380008003432..."} 
[2026-07-08 08:59:02] local.INFO: Packet analysis {"connection_id":125180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc1"} 
[2026-07-08 08:59:02] local.INFO: Extracted packet for processing {"connection_id":125180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc1"} 
[2026-07-08 08:59:02] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95412280,"longitude_deg":76.3337088,"latitude_deg":9.541228,"altitude":8,"angle":52,"satellites":50,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afe038","is_valid_coordinates":true} 
[2026-07-08 08:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571141888001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 08:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194731982399954944,"note":"Value kept but may cause issues"} 
[2026-07-08 08:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783481044000,"timestamp_ms":1783481044000,"timestamp_seconds":1783481044,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc10c20"} 
[2026-07-08 08:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:59: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-07-08 08: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 08:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571141888001,"66":27745,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9194731982399954944},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 08:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571141888001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:59:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 08:59:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 08:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194731982399954944,"description":"Unknown IO ID 45"} 
[2026-07-08 08:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571141888001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194731982399954944}} 
[2026-07-08 08:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":125180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:59:02] local.INFO: GPS data processed {"connection_id":125180,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:59:02] local.INFO: Acknowledgment sent {"connection_id":125180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:59:29] local.INFO: TCP Data received {"connection_id":125179,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc47720012d7a16c005ec8108000b00fe2b..."} 
[2026-07-08 08:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc47720012d7a16c005ec8108000b00fe2b..."} 
[2026-07-08 08:59:29] local.INFO: Processing buffer {"connection_id":125179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc47720012d7a16c005ec8108000b00fe2b..."} 
[2026-07-08 08:59:29] local.INFO: Packet analysis {"connection_id":125179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc4"} 
[2026-07-08 08:59:29] local.INFO: Extracted packet for processing {"connection_id":125179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc4"} 
[2026-07-08 08:59:29] local.INFO: GPS Element Parsed {"raw_longitude":762975936,"raw_latitude":99385608,"longitude_deg":76.2975936,"latitude_deg":9.9385608,"altitude":11,"angle":254,"satellites":43,"speed":18,"hex_longitude":"2d7a16c0","hex_latitude":"05ec8108","is_valid_coordinates":true} 
[2026-07-08 08:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571203840001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103687803379908608,"note":"Value kept but may cause issues"} 
[2026-07-08 08:59:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798485584952836096,"note":"Value kept but may cause issues"} 
[2026-07-08 08:59:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783481268000,"timestamp_ms":1783481268000,"timestamp_seconds":1783481268,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc47720"} 
[2026-07-08 08:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:59:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":35,"data_length":795,"current_offset":136} 
[2026-07-08 08:59:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08:59:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":125179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":125179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":125179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08: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-07-08 08:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571203840001,"66":13243,"157":206,"87":13824,"24":18,"16":103687803379908608,"45":8798485584952836096},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 08:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571203840001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:59:29] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 08:59:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103687803379908608,"km_value":103687803379908.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:59:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798485584952836096,"description":"Unknown IO ID 45"} 
[2026-07-08 08:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571203840001,"power":13243,"unknown_157":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8798485584952836096}} 
[2026-07-08 08:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":125179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449876,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:59:29] local.INFO: GPS data processed {"connection_id":125179,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:59:29] local.INFO: Acknowledgment sent {"connection_id":125179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:59:33] local.INFO: TCP Data received {"connection_id":125180,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc10c20012d7f998005afe0380008003432..."} 
[2026-07-08 08:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc10c20012d7f998005afe0380008003432..."} 
[2026-07-08 08:59:33] local.INFO: Processing buffer {"connection_id":125180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc10c20012d7f998005afe0380008003432..."} 
[2026-07-08 08:59:33] local.INFO: Packet analysis {"connection_id":125180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc1"} 
[2026-07-08 08:59:33] local.INFO: Extracted packet for processing {"connection_id":125180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc1"} 
[2026-07-08 08:59:33] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":95412280,"longitude_deg":76.3337088,"latitude_deg":9.541228,"altitude":8,"angle":52,"satellites":50,"speed":0,"hex_longitude":"2d7f9980","hex_latitude":"05afe038","is_valid_coordinates":true} 
[2026-07-08 08:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571147264001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 08:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167477248,"note":"Value kept but may cause issues"} 
[2026-07-08 08:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783481044000,"timestamp_ms":1783481044000,"timestamp_seconds":1783481044,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc10c20"} 
[2026-07-08 08:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 08: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 08:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 08: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-07-08 08:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 08:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 08:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 08:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571147264001,"66":27745,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9194520876167477248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 08:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 08:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 08:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571147264001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:59:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 08:59:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 08:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167477248,"description":"Unknown IO ID 45"} 
[2026-07-08 08:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571147264001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167477248}} 
[2026-07-08 08:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":125180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:59:33] local.INFO: GPS data processed {"connection_id":125180,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:59:33] local.INFO: Acknowledgment sent {"connection_id":125180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 08:59:52] local.INFO: TCP Data received {"connection_id":125181,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:59:52] local.INFO: Processing buffer {"connection_id":125181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:59:52] local.INFO: IMEI packet received {"connection_id":125181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 08:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":125181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:59:56] local.INFO: TCP Data received {"connection_id":125269,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:59:56] local.INFO: Processing buffer {"connection_id":125269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 08:59:56] local.INFO: IMEI packet received {"connection_id":125269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 08:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":125269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 08:59:57] local.INFO: TCP Data received {"connection_id":125181,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:59:57] local.INFO: Processing buffer {"connection_id":125181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 08:59:57] local.INFO: IMEI packet received {"connection_id":125181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 08:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":125181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 08:59:58] local.INFO: TCP Data received {"connection_id":125181,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc4c540012d79fb0005ec7738000c00f72a..."} 
[2026-07-08 08:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc4c540012d79fb0005ec7738000c00f72a..."} 
[2026-07-08 08:59:58] local.INFO: Processing buffer {"connection_id":125181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc4c540012d79fb0005ec7738000c00f72a..."} 
[2026-07-08 08:59:58] local.INFO: Packet analysis {"connection_id":125181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc4"} 
[2026-07-08 08:59:58] local.INFO: Extracted packet for processing {"connection_id":125181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc4"} 
[2026-07-08 08:59:58] local.INFO: GPS Element Parsed {"raw_longitude":762968832,"raw_latitude":99383096,"longitude_deg":76.2968832,"latitude_deg":9.9383096,"altitude":12,"angle":247,"satellites":42,"speed":6,"hex_longitude":"2d79fb00","hex_latitude":"05ec7738","is_valid_coordinates":true} 
[2026-07-08 08:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 08:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571204608001,"note":"Value kept but may cause issues"} 
[2026-07-08 08:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103688164157161472,"note":"Value kept but may cause issues"} 
[2026-07-08 08:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797430053790091264,"note":"Value kept but may cause issues"} 
[2026-07-08 08:59:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 08:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783481288000,"timestamp_ms":1783481288000,"timestamp_seconds":1783481288,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc4c540"} 
[2026-07-08 08:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 08:59: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-07-08 08: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-08 08:59: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-07-08 08:59:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 08:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 08:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 08:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":125181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 08:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":125181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":125181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 08:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 08:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 08:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 08:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571204608001,"66":13319,"157":206,"87":13824,"24":6,"16":103688164157161472,"45":8797430053790091264},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 08:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 08:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 08:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571204608001,"description":"Unknown IO ID 0"} 
[2026-07-08 08:59:58] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 08:59:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 08:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103688164157161472,"km_value":103688164157161.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 08:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797430053790091264,"description":"Unknown IO ID 45"} 
[2026-07-08 08:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571204608001,"power":13319,"unknown_157":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8797430053790091264}} 
[2026-07-08 08:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":125181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449878,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 08:59:58] local.INFO: GPS data processed {"connection_id":125181,"processed":1,"errors":0,"total":1} 
[2026-07-08 08:59:58] local.INFO: Acknowledgment sent {"connection_id":125181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:00:01] local.INFO: TCP Data received {"connection_id":125269,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:00:01] local.INFO: Processing buffer {"connection_id":125269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:00:01] local.INFO: IMEI packet received {"connection_id":125269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":125269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:00:01] local.INFO: TCP Data received {"connection_id":125181,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc51748012d79f9c005ec7690000d00f72c..."} 
[2026-07-08 09:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc51748012d79f9c005ec7690000d00f72c..."} 
[2026-07-08 09:00:01] local.INFO: Processing buffer {"connection_id":125181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc51748012d79f9c005ec7690000d00f72c..."} 
[2026-07-08 09:00:01] local.INFO: Packet analysis {"connection_id":125181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc5"} 
[2026-07-08 09:00:01] local.INFO: Extracted packet for processing {"connection_id":125181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc5"} 
[2026-07-08 09:00:01] local.INFO: GPS Element Parsed {"raw_longitude":762968512,"raw_latitude":99382928,"longitude_deg":76.2968512,"latitude_deg":9.9382928,"altitude":13,"angle":247,"satellites":44,"speed":0,"hex_longitude":"2d79f9c0","hex_latitude":"05ec7690","is_valid_coordinates":true} 
[2026-07-08 09:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571209728001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103688181337030656,"note":"Value kept but may cause issues"} 
[2026-07-08 09:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789619123185727488,"note":"Value kept but may cause issues"} 
[2026-07-08 09:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783481309000,"timestamp_ms":1783481309000,"timestamp_seconds":1783481309,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc51748"} 
[2026-07-08 09:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-08 09:00:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 09:00:01] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-08 09:00:01] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3291277313,"note":"Value kept but may cause issues"} 
[2026-07-08 09:00:01] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-8874343022778110976,"note":"Value kept but may cause issues"} 
[2026-07-08 09:00:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-07-08 09:00:01] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802109,"note":"Value kept but may cause issues"} 
[2026-07-08 09:00:01] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968112640,"note":"Value kept but may cause issues"} 
[2026-07-08 09:00:01] local.WARNING: Large IO value detected {"io_id":248,"raw_value":57770114758367030,"note":"Value kept but may cause issues"} 
[2026-07-08 09:00:01] local.WARNING: Large IO value detected {"io_id":196,"raw_value":2391412696967413765,"note":"Value kept but may cause issues"} 
[2026-07-08 09:00:01] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,157,87,24,241,16,95,159,119,45,192,129,11,43,10,66,107,128,130,44,103,64,1,240,35,227,63,236,4,113,205,9,41,28,239,50,2,112,5,248,196],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-07-08 09:00:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864962888216215552,"timestamp_seconds":864962888216215.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 09:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571209728001,"66":12982,"157":206,"87":13824,"24":0,"16":103688181337030656,"45":8789619123185727488},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 09:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571209728001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:00:01] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 09:00:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103688181337030656,"km_value":103688181337030.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789619123185727488,"description":"Unknown IO ID 45"} 
[2026-07-08 09:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571209728001,"power":12982,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8789619123185727488}} 
[2026-07-08 09:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":125181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449879,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:00:01] local.INFO: GPS data processed {"connection_id":125181,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:00:01] local.INFO: Acknowledgment sent {"connection_id":125181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:00:04] local.INFO: TCP Data received {"connection_id":125269,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc5b388012d7f9b4005afe0800009003431..."} 
[2026-07-08 09:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc5b388012d7f9b4005afe0800009003431..."} 
[2026-07-08 09:00:04] local.INFO: Processing buffer {"connection_id":125269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc5b388012d7f9b4005afe0800009003431..."} 
[2026-07-08 09:00:04] local.INFO: Packet analysis {"connection_id":125269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc5"} 
[2026-07-08 09:00:04] local.INFO: Extracted packet for processing {"connection_id":125269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc5"} 
[2026-07-08 09:00:04] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":49,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 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-07-08 09:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571147264001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167477248,"note":"Value kept but may cause issues"} 
[2026-07-08 09:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783481349000,"timestamp_ms":1783481349000,"timestamp_seconds":1783481349,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc5b388"} 
[2026-07-08 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-07-08 09:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 09:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 09:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571147264001,"66":25549,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9194520876167477248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571147264001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:00:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:00:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167477248,"description":"Unknown IO ID 45"} 
[2026-07-08 09:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571147264001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167477248}} 
[2026-07-08 09:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":125269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:00:04] local.INFO: GPS data processed {"connection_id":125269,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:00:04] local.INFO: Acknowledgment sent {"connection_id":125269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:00:32] local.INFO: TCP Data received {"connection_id":125181,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc56950012d79f9c005ec7690000d00f72f..."} 
[2026-07-08 09:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc56950012d79f9c005ec7690000d00f72f..."} 
[2026-07-08 09:00:32] local.INFO: Processing buffer {"connection_id":125181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc56950012d79f9c005ec7690000d00f72f..."} 
[2026-07-08 09:00:32] local.INFO: Packet analysis {"connection_id":125181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc5"} 
[2026-07-08 09:00:32] local.INFO: Extracted packet for processing {"connection_id":125181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc5"} 
[2026-07-08 09:00:32] local.INFO: GPS Element Parsed {"raw_longitude":762968512,"raw_latitude":99382928,"longitude_deg":76.2968512,"latitude_deg":9.9382928,"altitude":13,"angle":247,"satellites":47,"speed":0,"hex_longitude":"2d79f9c0","hex_latitude":"05ec7690","is_valid_coordinates":true} 
[2026-07-08 09:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571215104001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103688181337030656,"note":"Value kept but may cause issues"} 
[2026-07-08 09:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789267279464796160,"note":"Value kept but may cause issues"} 
[2026-07-08 09:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783481330000,"timestamp_ms":1783481330000,"timestamp_seconds":1783481330,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc56950"} 
[2026-07-08 09:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-08 09:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571215104001,"66":13374,"157":206,"87":13824,"24":0,"16":103688181337030656,"45":8789267279464796160},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 09:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571215104001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:00:32] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 09:00:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103688181337030656,"km_value":103688181337030.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789267279464796160,"description":"Unknown IO ID 45"} 
[2026-07-08 09:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571215104001,"power":13374,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8789267279464796160}} 
[2026-07-08 09:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":125181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449881,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:00:32] local.INFO: GPS data processed {"connection_id":125181,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:00:32] local.INFO: Acknowledgment sent {"connection_id":125181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:00:38] local.INFO: TCP Data received {"connection_id":125269,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc5b388012d7f9b4005afe0800009003431..."} 
[2026-07-08 09:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc5b388012d7f9b4005afe0800009003431..."} 
[2026-07-08 09:00:38] local.INFO: Processing buffer {"connection_id":125269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc5b388012d7f9b4005afe0800009003431..."} 
[2026-07-08 09:00:38] local.INFO: Packet analysis {"connection_id":125269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc5"} 
[2026-07-08 09:00:38] local.INFO: Extracted packet for processing {"connection_id":125269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc5"} 
[2026-07-08 09:00:38] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":49,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571147264001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167477248,"note":"Value kept but may cause issues"} 
[2026-07-08 09:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783481349000,"timestamp_ms":1783481349000,"timestamp_seconds":1783481349,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc5b388"} 
[2026-07-08 09:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 09:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571147264001,"66":25549,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9194520876167477248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571147264001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:00:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:00:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167477248,"description":"Unknown IO ID 45"} 
[2026-07-08 09:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571147264001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167477248}} 
[2026-07-08 09:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":125269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:00:38] local.INFO: GPS data processed {"connection_id":125269,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:00:38] local.INFO: Acknowledgment sent {"connection_id":125269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:00:46] local.INFO: TCP Data received {"connection_id":127281,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127281,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:00:46] local.INFO: Processing buffer {"connection_id":127281,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:00:46] local.INFO: IMEI packet received {"connection_id":127281,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":127281,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:00:47] local.INFO: TCP Data received {"connection_id":127281,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127281,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:00:47] local.INFO: Processing buffer {"connection_id":127281,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:00:47] local.INFO: IMEI packet received {"connection_id":127281,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":127281,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:00:49] local.INFO: TCP Data received {"connection_id":127281,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127281,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:00:49] local.INFO: Processing buffer {"connection_id":127281,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:00:49] local.INFO: IMEI packet received {"connection_id":127281,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":127281,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:00:50] local.INFO: TCP Data received {"connection_id":127281,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc5bb58012d79f6c005ec75b0000c00f72e..."} 
[2026-07-08 09:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc5bb58012d79f6c005ec75b0000c00f72e..."} 
[2026-07-08 09:00:50] local.INFO: Processing buffer {"connection_id":127281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc5bb58012d79f6c005ec75b0000c00f72e..."} 
[2026-07-08 09:00:50] local.INFO: Packet analysis {"connection_id":127281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc5"} 
[2026-07-08 09:00:50] local.INFO: Extracted packet for processing {"connection_id":127281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc5"} 
[2026-07-08 09:00:50] local.INFO: GPS Element Parsed {"raw_longitude":762967744,"raw_latitude":99382704,"longitude_deg":76.2967744,"latitude_deg":9.9382704,"altitude":12,"angle":247,"satellites":46,"speed":2,"hex_longitude":"2d79f6c0","hex_latitude":"05ec75b0","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571220480001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103688224286703616,"note":"Value kept but may cause issues"} 
[2026-07-08 09:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789267279464796160,"note":"Value kept but may cause issues"} 
[2026-07-08 09:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783481351000,"timestamp_ms":1783481351000,"timestamp_seconds":1783481351,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc5bb58"} 
[2026-07-08 09:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:00: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-07-08 09: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-08 09:00:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":127281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":127281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":127281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571220480001,"66":13015,"157":206,"87":13824,"24":2,"16":103688224286703616,"45":8789267279464796160},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 09:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571220480001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:00:50] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 09:00:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103688224286703616,"km_value":103688224286703.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789267279464796160,"description":"Unknown IO ID 45"} 
[2026-07-08 09:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571220480001,"power":13015,"unknown_157":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8789267279464796160}} 
[2026-07-08 09:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":127281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449883,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:00:50] local.INFO: GPS data processed {"connection_id":127281,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:00:50] local.INFO: Acknowledgment sent {"connection_id":127281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:00:56] local.INFO: TCP Data received {"connection_id":125183,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:00:56] local.INFO: Processing buffer {"connection_id":125183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:00:56] local.INFO: IMEI packet received {"connection_id":125183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":125183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:01:01] local.INFO: TCP Data received {"connection_id":125183,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:01:01] local.INFO: Processing buffer {"connection_id":125183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:01:01] local.INFO: IMEI packet received {"connection_id":125183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":125183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:01:02] local.INFO: TCP Data received {"connection_id":125183,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc5b388012d7f9b4005afe0800009003431..."} 
[2026-07-08 09:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc5b388012d7f9b4005afe0800009003431..."} 
[2026-07-08 09:01:02] local.INFO: Processing buffer {"connection_id":125183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc5b388012d7f9b4005afe0800009003431..."} 
[2026-07-08 09:01:02] local.INFO: Packet analysis {"connection_id":125183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc5"} 
[2026-07-08 09:01:02] local.INFO: Extracted packet for processing {"connection_id":125183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc5"} 
[2026-07-08 09:01:02] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":49,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571147264001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167477248,"note":"Value kept but may cause issues"} 
[2026-07-08 09:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783481349000,"timestamp_ms":1783481349000,"timestamp_seconds":1783481349,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc5b388"} 
[2026-07-08 09:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 09:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:01:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571147264001,"66":25549,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9194520876167477248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571147264001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:01:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:01:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167477248,"description":"Unknown IO ID 45"} 
[2026-07-08 09:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571147264001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167477248}} 
[2026-07-08 09:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":125183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:01:02] local.INFO: GPS data processed {"connection_id":125183,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:01:02] local.INFO: Acknowledgment sent {"connection_id":125183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:01:21] local.INFO: TCP Data received {"connection_id":127281,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc7a3a0012d79eb0005ecac78001600fa2f..."} 
[2026-07-08 09:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc7a3a0012d79eb0005ecac78001600fa2f..."} 
[2026-07-08 09:01:21] local.INFO: Processing buffer {"connection_id":127281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc7a3a0012d79eb0005ecac78001600fa2f..."} 
[2026-07-08 09:01:21] local.INFO: Packet analysis {"connection_id":127281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc7"} 
[2026-07-08 09:01:21] local.INFO: Extracted packet for processing {"connection_id":127281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc7"} 
[2026-07-08 09:01:21] local.INFO: GPS Element Parsed {"raw_longitude":762964736,"raw_latitude":99396728,"longitude_deg":76.2964736,"latitude_deg":9.9396728,"altitude":22,"angle":250,"satellites":47,"speed":0,"hex_longitude":"2d79eb00","hex_latitude":"05ecac78","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571256320001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103689169179508736,"note":"Value kept but may cause issues"} 
[2026-07-08 09:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8784552573608402944,"note":"Value kept but may cause issues"} 
[2026-07-08 09:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783481476000,"timestamp_ms":1783481476000,"timestamp_seconds":1783481476,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc7a3a0"} 
[2026-07-08 09:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:01: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-07-08 09: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-08 09:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":127281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":127281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":127281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571256320001,"66":13319,"157":206,"87":13824,"24":0,"16":103689169179508736,"45":8784552573608402944},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 09:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571256320001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:01:21] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 09:01:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103689169179508736,"km_value":103689169179508.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8784552573608402944,"description":"Unknown IO ID 45"} 
[2026-07-08 09:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571256320001,"power":13319,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8784552573608402944}} 
[2026-07-08 09:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":127281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449885,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:01:21] local.INFO: GPS data processed {"connection_id":127281,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:01:21] local.INFO: Acknowledgment sent {"connection_id":127281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:01:33] local.INFO: TCP Data received {"connection_id":125183,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc5b388012d7f9b4005afe0800009003431..."} 
[2026-07-08 09:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc5b388012d7f9b4005afe0800009003431..."} 
[2026-07-08 09:01:33] local.INFO: Processing buffer {"connection_id":125183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc5b388012d7f9b4005afe0800009003431..."} 
[2026-07-08 09:01:33] local.INFO: Packet analysis {"connection_id":125183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc5"} 
[2026-07-08 09:01:33] local.INFO: Extracted packet for processing {"connection_id":125183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc5"} 
[2026-07-08 09:01:33] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":49,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571147264001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167477248,"note":"Value kept but may cause issues"} 
[2026-07-08 09:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783481349000,"timestamp_ms":1783481349000,"timestamp_seconds":1783481349,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc5b388"} 
[2026-07-08 09:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 09:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:01:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571147264001,"66":25549,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9194520876167477248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571147264001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:01:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:01:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167477248,"description":"Unknown IO ID 45"} 
[2026-07-08 09:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571147264001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167477248}} 
[2026-07-08 09:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":125183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:01:33] local.INFO: GPS data processed {"connection_id":125183,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:01:33] local.INFO: Acknowledgment sent {"connection_id":125183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:01:47] local.INFO: TCP Data received {"connection_id":126005,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126005,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:01:47] local.INFO: Processing buffer {"connection_id":126005,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:01:47] local.INFO: IMEI packet received {"connection_id":126005,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":126005,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:01:52] local.INFO: TCP Data received {"connection_id":126005,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126005,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:01:52] local.INFO: Processing buffer {"connection_id":126005,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:01:52] local.INFO: IMEI packet received {"connection_id":126005,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":126005,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:01:53] local.INFO: TCP Data received {"connection_id":126005,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc7a788012d79eb0005ecac38001600e42f..."} 
[2026-07-08 09:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc7a788012d79eb0005ecac38001600e42f..."} 
[2026-07-08 09:01:53] local.INFO: Processing buffer {"connection_id":126005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc7a788012d79eb0005ecac38001600e42f..."} 
[2026-07-08 09:01:53] local.INFO: Packet analysis {"connection_id":126005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc7"} 
[2026-07-08 09:01:53] local.INFO: Extracted packet for processing {"connection_id":126005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc7"} 
[2026-07-08 09:01:53] local.INFO: GPS Element Parsed {"raw_longitude":762964736,"raw_latitude":99396664,"longitude_deg":76.2964736,"latitude_deg":9.9396664,"altitude":22,"angle":228,"satellites":47,"speed":0,"hex_longitude":"2d79eb00","hex_latitude":"05ecac38","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571257856001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103689173474476032,"note":"Value kept but may cause issues"} 
[2026-07-08 09:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8785115523561846784,"note":"Value kept but may cause issues"} 
[2026-07-08 09:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783481477000,"timestamp_ms":1783481477000,"timestamp_seconds":1783481477,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc7a788"} 
[2026-07-08 09:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-08 09:01:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 09:01:53] local.WARNING: Large IO value detected {"io_id":96,"raw_value":3019898880,"note":"Value kept but may cause issues"} 
[2026-07-08 09:01:53] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-08 09:01:53] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3345037313,"note":"Value kept but may cause issues"} 
[2026-07-08 09:01:53] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-6163175995558647296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:01:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-07-08 09:01:53] local.WARNING: Large IO value detected {"io_id":65,"raw_value":4160826745,"note":"Value kept but may cause issues"} 
[2026-07-08 09:01:53] local.WARNING: Large IO value detected {"io_id":229,"raw_value":2147871913,"note":"Value kept but may cause issues"} 
[2026-07-08 09:01:53] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3970553856,"note":"Value kept but may cause issues"} 
[2026-07-08 09:01:53] local.WARNING: Large IO value detected {"io_id":182,"raw_value":57770114758367030,"note":"Value kept but may cause issues"} 
[2026-07-08 09:01:53] local.WARNING: Large IO value detected {"io_id":199,"raw_value":4190600748098371589,"note":"Value kept but may cause issues"} 
[2026-07-08 09:01:53] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,157,87,24,241,16,96,159,140,45,172,22,46,10,66,128,171,44,105,1,240,237,227,63,236,4,113,205,2,65,229,48,40,239,51,112,5,9,182,199],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-07-08 09:01:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1585542148604821504,"timestamp_seconds":1585542148604821.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 09:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":126005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":126005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":126005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571257856001,"66":13319,"157":206,"87":13824,"24":0,"16":103689173474476032,"45":8785115523561846784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 09:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571257856001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:01:53] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 09:01:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103689173474476032,"km_value":103689173474476.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8785115523561846784,"description":"Unknown IO ID 45"} 
[2026-07-08 09:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571257856001,"power":13319,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8785115523561846784}} 
[2026-07-08 09:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":126005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449887,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:01:53] local.INFO: GPS data processed {"connection_id":126005,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:01:53] local.INFO: Acknowledgment sent {"connection_id":126005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:02:01] local.INFO: TCP Data received {"connection_id":125272,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:02:01] local.INFO: Processing buffer {"connection_id":125272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:02:01] local.INFO: IMEI packet received {"connection_id":125272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":125272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:02:06] local.INFO: TCP Data received {"connection_id":125272,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:02:06] local.INFO: Processing buffer {"connection_id":125272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:02:06] local.INFO: IMEI packet received {"connection_id":125272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":125272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:02:07] local.INFO: TCP Data received {"connection_id":125272,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc5b388012d7f9b4005afe0800009003431..."} 
[2026-07-08 09:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc5b388012d7f9b4005afe0800009003431..."} 
[2026-07-08 09:02:07] local.INFO: Processing buffer {"connection_id":125272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc5b388012d7f9b4005afe0800009003431..."} 
[2026-07-08 09:02:07] local.INFO: Packet analysis {"connection_id":125272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc5"} 
[2026-07-08 09:02:07] local.INFO: Extracted packet for processing {"connection_id":125272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc5"} 
[2026-07-08 09:02:07] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":49,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571147264001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167477248,"note":"Value kept but may cause issues"} 
[2026-07-08 09:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783481349000,"timestamp_ms":1783481349000,"timestamp_seconds":1783481349,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc5b388"} 
[2026-07-08 09:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 09:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571147264001,"66":25549,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9194520876167477248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571147264001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:02:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:02:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167477248,"description":"Unknown IO ID 45"} 
[2026-07-08 09:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571147264001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167477248}} 
[2026-07-08 09:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":125272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:02:07] local.INFO: GPS data processed {"connection_id":125272,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:02:07] local.INFO: Acknowledgment sent {"connection_id":125272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:02:12] local.INFO: TCP Data received {"connection_id":125272,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc5b388012d7f9b4005afe0800009003431..."} 
[2026-07-08 09:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc5b388012d7f9b4005afe0800009003431..."} 
[2026-07-08 09:02:12] local.INFO: Processing buffer {"connection_id":125272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc5b388012d7f9b4005afe0800009003431..."} 
[2026-07-08 09:02:12] local.INFO: Packet analysis {"connection_id":125272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc5"} 
[2026-07-08 09:02:12] local.INFO: Extracted packet for processing {"connection_id":125272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc5"} 
[2026-07-08 09:02:12] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":49,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571147264001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167477248,"note":"Value kept but may cause issues"} 
[2026-07-08 09:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783481349000,"timestamp_ms":1783481349000,"timestamp_seconds":1783481349,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc5b388"} 
[2026-07-08 09:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 09:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:02:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571147264001,"66":25549,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9194520876167477248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571147264001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:02:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:02:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167477248,"description":"Unknown IO ID 45"} 
[2026-07-08 09:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571147264001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167477248}} 
[2026-07-08 09:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":125272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:02:12] local.INFO: GPS data processed {"connection_id":125272,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:02:12] local.INFO: Acknowledgment sent {"connection_id":125272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:02:24] local.INFO: TCP Data received {"connection_id":126005,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc7af58012d79ea4005ecabf8001600f02f..."} 
[2026-07-08 09:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc7af58012d79ea4005ecabf8001600f02f..."} 
[2026-07-08 09:02:24] local.INFO: Processing buffer {"connection_id":126005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc7af58012d79ea4005ecabf8001600f02f..."} 
[2026-07-08 09:02:24] local.INFO: Packet analysis {"connection_id":126005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc7"} 
[2026-07-08 09:02:24] local.INFO: Extracted packet for processing {"connection_id":126005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc7"} 
[2026-07-08 09:02:24] local.INFO: GPS Element Parsed {"raw_longitude":762964544,"raw_latitude":99396600,"longitude_deg":76.2964544,"latitude_deg":9.93966,"altitude":22,"angle":240,"satellites":47,"speed":3,"hex_longitude":"2d79ea40","hex_latitude":"05ecabf8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571258112001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103689182064410624,"note":"Value kept but may cause issues"} 
[2026-07-08 09:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8785115523561830400,"note":"Value kept but may cause issues"} 
[2026-07-08 09:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783481479000,"timestamp_ms":1783481479000,"timestamp_seconds":1783481479,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc7af58"} 
[2026-07-08 09:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:02:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-08 09:02:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 09:02:24] local.WARNING: Large IO value detected {"io_id":96,"raw_value":3070230528,"note":"Value kept but may cause issues"} 
[2026-07-08 09:02:24] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-08 09:02:24] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3345549313,"note":"Value kept but may cause issues"} 
[2026-07-08 09:02:24] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-6208211991831303680,"note":"Value kept but may cause issues"} 
[2026-07-08 09:02:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-07-08 09:02:24] local.WARNING: Large IO value detected {"io_id":232,"raw_value":3221613738,"note":"Value kept but may cause issues"} 
[2026-07-08 09:02:24] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3970510848,"note":"Value kept but may cause issues"} 
[2026-07-08 09:02:24] local.WARNING: Large IO value detected {"io_id":68,"raw_value":57770114758367030,"note":"Value kept but may cause issues"} 
[2026-07-08 09:02:24] local.WARNING: Large IO value detected {"io_id":199,"raw_value":4472075724809060357,"note":"Value kept but may cause issues"} 
[2026-07-08 09:02:24] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,157,87,24,241,16,96,159,163,45,172,22,47,10,66,140,46,128,1,240,7,227,63,236,4,113,205,97,232,48,38,239,52,2,112,5,6,68,199],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-07-08 09:02:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1585517959349010432,"timestamp_seconds":1585517959349010.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 09:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":126005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":126005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":126005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571258112001,"66":13363,"157":206,"87":13824,"24":3,"16":103689182064410624,"45":8785115523561830400},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 09:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571258112001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:02:24] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 09:02:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103689182064410624,"km_value":103689182064410.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8785115523561830400,"description":"Unknown IO ID 45"} 
[2026-07-08 09:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571258112001,"power":13363,"unknown_157":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8785115523561830400}} 
[2026-07-08 09:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":126005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449890,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:02:24] local.INFO: GPS data processed {"connection_id":126005,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:02:24] local.INFO: Acknowledgment sent {"connection_id":126005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:02:48] local.INFO: TCP Data received {"connection_id":125184,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125184,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:02:48] local.INFO: Processing buffer {"connection_id":125184,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:02:48] local.INFO: IMEI packet received {"connection_id":125184,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":125184,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:02:52] local.INFO: TCP Data received {"connection_id":125184,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125184,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:02:52] local.INFO: Processing buffer {"connection_id":125184,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:02:52] local.INFO: IMEI packet received {"connection_id":125184,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":125184,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:02:53] local.INFO: TCP Data received {"connection_id":125184,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc7b728012d79e9c005ecabe8001601052f..."} 
[2026-07-08 09:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc7b728012d79e9c005ecabe8001601052f..."} 
[2026-07-08 09:02:53] local.INFO: Processing buffer {"connection_id":125184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc7b728012d79e9c005ecabe8001601052f..."} 
[2026-07-08 09:02:53] local.INFO: Packet analysis {"connection_id":125184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc7"} 
[2026-07-08 09:02:53] local.INFO: Extracted packet for processing {"connection_id":125184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc7"} 
[2026-07-08 09:02:53] local.INFO: GPS Element Parsed {"raw_longitude":762964416,"raw_latitude":99396584,"longitude_deg":76.2964416,"latitude_deg":9.9396584,"altitude":22,"angle":261,"satellites":47,"speed":3,"hex_longitude":"2d79e9c0","hex_latitude":"05ecabe8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571258624001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103689186359377920,"note":"Value kept but may cause issues"} 
[2026-07-08 09:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8784904417329281024,"note":"Value kept but may cause issues"} 
[2026-07-08 09:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783481481000,"timestamp_ms":1783481481000,"timestamp_seconds":1783481481,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc7b728"} 
[2026-07-08 09:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-08 09:02:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571258624001,"66":13363,"157":206,"87":13824,"24":3,"16":103689186359377920,"45":8784904417329281024},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 09:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571258624001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:02:53] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 09:02:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103689186359377920,"km_value":103689186359377.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8784904417329281024,"description":"Unknown IO ID 45"} 
[2026-07-08 09:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571258624001,"power":13363,"unknown_157":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8784904417329281024}} 
[2026-07-08 09:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":125184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449891,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:02:53] local.INFO: GPS data processed {"connection_id":125184,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:02:53] local.INFO: Acknowledgment sent {"connection_id":125184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:02:56] local.INFO: TCP Data received {"connection_id":125275,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:02:56] local.INFO: Processing buffer {"connection_id":125275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:02:56] local.INFO: IMEI packet received {"connection_id":125275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":125275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:03:01] local.INFO: TCP Data received {"connection_id":125275,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:03:01] local.INFO: Processing buffer {"connection_id":125275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:03:01] local.INFO: IMEI packet received {"connection_id":125275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":125275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:03:02] local.INFO: TCP Data received {"connection_id":125275,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc5b388012d7f9b4005afe0800009003431..."} 
[2026-07-08 09:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc5b388012d7f9b4005afe0800009003431..."} 
[2026-07-08 09:03:02] local.INFO: Processing buffer {"connection_id":125275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc5b388012d7f9b4005afe0800009003431..."} 
[2026-07-08 09:03:02] local.INFO: Packet analysis {"connection_id":125275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc5"} 
[2026-07-08 09:03:02] local.INFO: Extracted packet for processing {"connection_id":125275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc5"} 
[2026-07-08 09:03:02] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":49,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571147264001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167477248,"note":"Value kept but may cause issues"} 
[2026-07-08 09:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783481349000,"timestamp_ms":1783481349000,"timestamp_seconds":1783481349,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc5b388"} 
[2026-07-08 09:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 09:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:03:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571147264001,"66":25549,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9194520876167477248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571147264001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:03:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:03:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167477248,"description":"Unknown IO ID 45"} 
[2026-07-08 09:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571147264001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167477248}} 
[2026-07-08 09:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":125275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:03:02] local.INFO: GPS data processed {"connection_id":125275,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:03:02] local.INFO: Acknowledgment sent {"connection_id":125275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:03:17] local.INFO: TCP Data received {"connection_id":127282,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127282,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:03:17] local.INFO: Processing buffer {"connection_id":127282,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:03:17] local.INFO: IMEI packet received {"connection_id":127282,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 09:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":127282,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:03:24] local.INFO: TCP Data received {"connection_id":125184,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc97478012d79e10005eca970001000b82e..."} 
[2026-07-08 09:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc97478012d79e10005eca970001000b82e..."} 
[2026-07-08 09:03:24] local.INFO: Processing buffer {"connection_id":125184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc97478012d79e10005eca970001000b82e..."} 
[2026-07-08 09:03:24] local.INFO: Packet analysis {"connection_id":125184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc9"} 
[2026-07-08 09:03:24] local.INFO: Extracted packet for processing {"connection_id":125184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc9"} 
[2026-07-08 09:03:24] local.INFO: GPS Element Parsed {"raw_longitude":762962176,"raw_latitude":99395952,"longitude_deg":76.2962176,"latitude_deg":9.9395952,"altitude":16,"angle":184,"satellites":46,"speed":4,"hex_longitude":"2d79e100","hex_latitude":"05eca970","is_valid_coordinates":true} 
[2026-07-08 09: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":795,"current_offset":40} 
[2026-07-08 09:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571288064001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103689319503364096,"note":"Value kept but may cause issues"} 
[2026-07-08 09:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782300773794568192,"note":"Value kept but may cause issues"} 
[2026-07-08 09:03:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783481595000,"timestamp_ms":1783481595000,"timestamp_seconds":1783481595,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc97478"} 
[2026-07-08 09:03:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:03:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:03: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":94,"data_length":795,"current_offset":136} 
[2026-07-08 09:03:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:03:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:03:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:03:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571288064001,"66":13406,"157":206,"87":13824,"24":4,"16":103689319503364096,"45":8782300773794568192},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 09:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571288064001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:03:24] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 09:03:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103689319503364096,"km_value":103689319503364.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782300773794568192,"description":"Unknown IO ID 45"} 
[2026-07-08 09:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571288064001,"power":13406,"unknown_157":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8782300773794568192}} 
[2026-07-08 09:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":125184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449893,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:03:24] local.INFO: GPS data processed {"connection_id":125184,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:03:24] local.INFO: Acknowledgment sent {"connection_id":125184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:03:33] local.INFO: TCP Data received {"connection_id":125275,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc5b388012d7f9b4005afe0800009003431..."} 
[2026-07-08 09:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc5b388012d7f9b4005afe0800009003431..."} 
[2026-07-08 09:03:33] local.INFO: Processing buffer {"connection_id":125275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc5b388012d7f9b4005afe0800009003431..."} 
[2026-07-08 09:03:33] local.INFO: Packet analysis {"connection_id":125275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc5"} 
[2026-07-08 09:03:33] local.INFO: Extracted packet for processing {"connection_id":125275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc5"} 
[2026-07-08 09:03:33] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":49,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571147264001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167477248,"note":"Value kept but may cause issues"} 
[2026-07-08 09:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783481349000,"timestamp_ms":1783481349000,"timestamp_seconds":1783481349,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc5b388"} 
[2026-07-08 09:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 09:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:03:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571147264001,"66":25549,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9194520876167477248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571147264001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:03:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:03:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167477248,"description":"Unknown IO ID 45"} 
[2026-07-08 09:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571147264001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167477248}} 
[2026-07-08 09:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":125275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:03:33] local.INFO: GPS data processed {"connection_id":125275,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:03:33] local.INFO: Acknowledgment sent {"connection_id":125275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:03:48] local.INFO: TCP Data received {"connection_id":126007,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126007,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:03:48] local.INFO: Processing buffer {"connection_id":126007,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:03:48] local.INFO: IMEI packet received {"connection_id":126007,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":126007,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:03:48] local.INFO: TCP Data received {"connection_id":126007,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126007,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:03:48] local.INFO: Processing buffer {"connection_id":126007,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:03:48] local.INFO: IMEI packet received {"connection_id":126007,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":126007,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:03:50] local.INFO: TCP Data received {"connection_id":126006,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126006,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:03:50] local.INFO: Processing buffer {"connection_id":126006,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:03:50] local.INFO: IMEI packet received {"connection_id":126006,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 09:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":126006,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:03:51] local.INFO: TCP Data received {"connection_id":126006,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc7f990012d0b4f00070601680017001c28..."} 
[2026-07-08 09:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc7f990012d0b4f00070601680017001c28..."} 
[2026-07-08 09:03:51] local.INFO: Processing buffer {"connection_id":126006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc7f990012d0b4f00070601680017001c28..."} 
[2026-07-08 09:03:51] local.INFO: Packet analysis {"connection_id":126006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc7"} 
[2026-07-08 09:03:51] local.INFO: Extracted packet for processing {"connection_id":126006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc7"} 
[2026-07-08 09:03:51] local.INFO: GPS Element Parsed {"raw_longitude":755715840,"raw_latitude":117834088,"longitude_deg":75.571584,"latitude_deg":11.7834088,"altitude":23,"angle":28,"satellites":40,"speed":3,"hex_longitude":"2d0b4f00","hex_latitude":"07060168","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571262464001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23518016847216640,"note":"Value kept but may cause issues"} 
[2026-07-08 09:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814799718998634496,"note":"Value kept but may cause issues"} 
[2026-07-08 09:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783481498000,"timestamp_ms":1783481498000,"timestamp_seconds":1783481498,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc7f990"} 
[2026-07-08 09:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-08 09:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126006,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126006,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571262464001,"66":14537,"165":206,"94":10240,"24":3,"16":23518016847216640,"45":814799718998634496},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-08 09:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571262464001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:03:51] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-08 09:03:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 09:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23518016847216640,"km_value":23518016847216.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":814799718998634496,"description":"Unknown IO ID 45"} 
[2026-07-08 09:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571262464001,"power":14537,"unknown_165":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":814799718998634496}} 
[2026-07-08 09:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":126006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449895,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:03:51] local.INFO: GPS data processed {"connection_id":126006,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:03:51] local.INFO: Acknowledgment sent {"connection_id":126006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:03:52] local.INFO: TCP Data received {"connection_id":126007,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126007,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:03:52] local.INFO: Processing buffer {"connection_id":126007,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:03:52] local.INFO: IMEI packet received {"connection_id":126007,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":126007,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:03:53] local.INFO: TCP Data received {"connection_id":126007,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc97860012d79e10005eca8d0001000aa2f..."} 
[2026-07-08 09:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc97860012d79e10005eca8d0001000aa2f..."} 
[2026-07-08 09:03:53] local.INFO: Processing buffer {"connection_id":126007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc97860012d79e10005eca8d0001000aa2f..."} 
[2026-07-08 09:03:53] local.INFO: Packet analysis {"connection_id":126007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc9"} 
[2026-07-08 09:03:53] local.INFO: Extracted packet for processing {"connection_id":126007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc9"} 
[2026-07-08 09:03:53] local.INFO: GPS Element Parsed {"raw_longitude":762962176,"raw_latitude":99395792,"longitude_deg":76.2962176,"latitude_deg":9.9395792,"altitude":16,"angle":170,"satellites":47,"speed":7,"hex_longitude":"2d79e100","hex_latitude":"05eca8d0","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571288320001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103689328093298688,"note":"Value kept but may cause issues"} 
[2026-07-08 09:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782300773794541568,"note":"Value kept but may cause issues"} 
[2026-07-08 09:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783481596000,"timestamp_ms":1783481596000,"timestamp_seconds":1783481596,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc97860"} 
[2026-07-08 09:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:03:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-08 09:03:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":126007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":126007,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":126007,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571288320001,"66":13189,"157":206,"87":13824,"24":7,"16":103689328093298688,"45":8782300773794541568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 09:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571288320001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:03:53] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 09:03:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103689328093298688,"km_value":103689328093298.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782300773794541568,"description":"Unknown IO ID 45"} 
[2026-07-08 09:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571288320001,"power":13189,"unknown_157":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8782300773794541568}} 
[2026-07-08 09:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":126007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449896,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:03:53] local.INFO: GPS data processed {"connection_id":126007,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:03:53] local.INFO: Acknowledgment sent {"connection_id":126007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:03:56] local.INFO: TCP Data received {"connection_id":125276,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:03:56] local.INFO: Processing buffer {"connection_id":125276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:03:56] local.INFO: IMEI packet received {"connection_id":125276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":125276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:03:57] local.INFO: TCP Data received {"connection_id":125185,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125185,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:03:57] local.INFO: Processing buffer {"connection_id":125185,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:03:57] local.INFO: IMEI packet received {"connection_id":125185,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 09:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":125185,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:04:01] local.INFO: TCP Data received {"connection_id":125276,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:04:01] local.INFO: Processing buffer {"connection_id":125276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:04:01] local.INFO: IMEI packet received {"connection_id":125276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":125276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:04:02] local.INFO: TCP Data received {"connection_id":125276,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc5b388012d7f9b4005afe0800009003431..."} 
[2026-07-08 09:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc5b388012d7f9b4005afe0800009003431..."} 
[2026-07-08 09:04:02] local.INFO: Processing buffer {"connection_id":125276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc5b388012d7f9b4005afe0800009003431..."} 
[2026-07-08 09:04:02] local.INFO: Packet analysis {"connection_id":125276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc5"} 
[2026-07-08 09:04:02] local.INFO: Extracted packet for processing {"connection_id":125276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc5"} 
[2026-07-08 09:04:02] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":49,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571147264001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167477248,"note":"Value kept but may cause issues"} 
[2026-07-08 09:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783481349000,"timestamp_ms":1783481349000,"timestamp_seconds":1783481349,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc5b388"} 
[2026-07-08 09:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 09:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:04:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571147264001,"66":25549,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9194520876167477248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571147264001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:04:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:04:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167477248,"description":"Unknown IO ID 45"} 
[2026-07-08 09:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571147264001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167477248}} 
[2026-07-08 09:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":125276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:04:02] local.INFO: GPS data processed {"connection_id":125276,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:04:02] local.INFO: Acknowledgment sent {"connection_id":125276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:04:22] local.INFO: TCP Data received {"connection_id":126006,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc820a0012d0b534007060ac80018001028..."} 
[2026-07-08 09:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc820a0012d0b534007060ac80018001028..."} 
[2026-07-08 09:04:22] local.INFO: Processing buffer {"connection_id":126006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc820a0012d0b534007060ac80018001028..."} 
[2026-07-08 09:04:22] local.INFO: Packet analysis {"connection_id":126006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc8"} 
[2026-07-08 09:04:22] local.INFO: Extracted packet for processing {"connection_id":126006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc8"} 
[2026-07-08 09:04:22] local.INFO: GPS Element Parsed {"raw_longitude":755716928,"raw_latitude":117836488,"longitude_deg":75.5716928,"latitude_deg":11.7836488,"altitude":24,"angle":16,"satellites":40,"speed":6,"hex_longitude":"2d0b5340","hex_latitude":"07060ac8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571263488001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23518145696235520,"note":"Value kept but may cause issues"} 
[2026-07-08 09:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814870087742875648,"note":"Value kept but may cause issues"} 
[2026-07-08 09:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783481508000,"timestamp_ms":1783481508000,"timestamp_seconds":1783481508,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc820a0"} 
[2026-07-08 09:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-08 09:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126006,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126006,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571263488001,"66":14407,"165":206,"94":10240,"24":6,"16":23518145696235520,"45":814870087742875648},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-08 09:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571263488001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:04:22] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-08 09:04:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 09:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23518145696235520,"km_value":23518145696235.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":814870087742875648,"description":"Unknown IO ID 45"} 
[2026-07-08 09:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571263488001,"power":14407,"unknown_165":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":814870087742875648}} 
[2026-07-08 09:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":126006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449898,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:04:22] local.INFO: GPS data processed {"connection_id":126006,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:04:22] local.INFO: Acknowledgment sent {"connection_id":126006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:04:24] local.INFO: TCP Data received {"connection_id":126007,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc98030012d79e1c005eca6e80010009d2f..."} 
[2026-07-08 09:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc98030012d79e1c005eca6e80010009d2f..."} 
[2026-07-08 09:04:24] local.INFO: Processing buffer {"connection_id":126007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc98030012d79e1c005eca6e80010009d2f..."} 
[2026-07-08 09:04:24] local.INFO: Packet analysis {"connection_id":126007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc9"} 
[2026-07-08 09:04:24] local.INFO: Extracted packet for processing {"connection_id":126007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc9"} 
[2026-07-08 09:04:24] local.INFO: GPS Element Parsed {"raw_longitude":762962368,"raw_latitude":99395304,"longitude_deg":76.2962368,"latitude_deg":9.9395304,"altitude":16,"angle":157,"satellites":47,"speed":12,"hex_longitude":"2d79e1c0","hex_latitude":"05eca6e8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571288576001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103689349568135168,"note":"Value kept but may cause issues"} 
[2026-07-08 09:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782300773794500608,"note":"Value kept but may cause issues"} 
[2026-07-08 09:04:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783481598000,"timestamp_ms":1783481598000,"timestamp_seconds":1783481598,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc98030"} 
[2026-07-08 09:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-08 09:04:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":126007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":126007,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":126007,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:04:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571288576001,"66":13417,"157":206,"87":13824,"24":12,"16":103689349568135168,"45":8782300773794500608},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 09:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571288576001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:04:24] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 09:04:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103689349568135168,"km_value":103689349568135.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782300773794500608,"description":"Unknown IO ID 45"} 
[2026-07-08 09:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571288576001,"power":13417,"unknown_157":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8782300773794500608}} 
[2026-07-08 09:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":126007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449899,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:04:24] local.INFO: GPS data processed {"connection_id":126007,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:04:24] local.INFO: Acknowledgment sent {"connection_id":126007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:04:33] local.INFO: TCP Data received {"connection_id":125276,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc5b388012d7f9b4005afe0800009003431..."} 
[2026-07-08 09:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc5b388012d7f9b4005afe0800009003431..."} 
[2026-07-08 09:04:33] local.INFO: Processing buffer {"connection_id":125276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc5b388012d7f9b4005afe0800009003431..."} 
[2026-07-08 09:04:33] local.INFO: Packet analysis {"connection_id":125276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc5"} 
[2026-07-08 09:04:33] local.INFO: Extracted packet for processing {"connection_id":125276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc5"} 
[2026-07-08 09:04:33] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":49,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571147264001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194520876167477248,"note":"Value kept but may cause issues"} 
[2026-07-08 09:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783481349000,"timestamp_ms":1783481349000,"timestamp_seconds":1783481349,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc5b388"} 
[2026-07-08 09:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 09:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:04:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571147264001,"66":25549,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9194520876167477248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571147264001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:04:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:04:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194520876167477248,"description":"Unknown IO ID 45"} 
[2026-07-08 09:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571147264001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194520876167477248}} 
[2026-07-08 09:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":125276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:04:33] local.INFO: GPS data processed {"connection_id":125276,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:04:33] local.INFO: Acknowledgment sent {"connection_id":125276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:04:45] local.INFO: TCP Data received {"connection_id":125277,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125277,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:04:45] local.INFO: Processing buffer {"connection_id":125277,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:04:45] local.INFO: IMEI packet received {"connection_id":125277,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 09:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":125277,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:04:47] local.INFO: TCP Data received {"connection_id":125278,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125278,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:04:47] local.INFO: Processing buffer {"connection_id":125278,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:04:47] local.INFO: IMEI packet received {"connection_id":125278,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":125278,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:04:47] local.INFO: TCP Data received {"connection_id":125277,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125277,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:04:47] local.INFO: Processing buffer {"connection_id":125277,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:04:47] local.INFO: IMEI packet received {"connection_id":125277,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":125277,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:04:48] local.INFO: TCP Data received {"connection_id":125277,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc86ec0012d0b538007060b400018001026..."} 
[2026-07-08 09:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc86ec0012d0b538007060b400018001026..."} 
[2026-07-08 09:04:48] local.INFO: Processing buffer {"connection_id":125277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc86ec0012d0b538007060b400018001026..."} 
[2026-07-08 09:04:48] local.INFO: Packet analysis {"connection_id":125277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc8"} 
[2026-07-08 09:04:48] local.INFO: Extracted packet for processing {"connection_id":125277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc8"} 
[2026-07-08 09:04:48] local.INFO: GPS Element Parsed {"raw_longitude":755716992,"raw_latitude":117836608,"longitude_deg":75.5716992,"latitude_deg":11.7836608,"altitude":24,"angle":16,"satellites":38,"speed":0,"hex_longitude":"2d0b5380","hex_latitude":"07060b40","is_valid_coordinates":true} 
[2026-07-08 09:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571266048001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23518154286170112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816066356394510336,"note":"Value kept but may cause issues"} 
[2026-07-08 09:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783481528000,"timestamp_ms":1783481528000,"timestamp_seconds":1783481528,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc86ec0"} 
[2026-07-08 09:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-08 09:04:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:04:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":125277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":125277,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":125277,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571266048001,"66":14548,"165":206,"94":10240,"24":0,"16":23518154286170112,"45":816066356394510336},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-08 09:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571266048001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:04:48] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-08 09:04:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 09:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23518154286170112,"km_value":23518154286170.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":816066356394510336,"description":"Unknown IO ID 45"} 
[2026-07-08 09:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571266048001,"power":14548,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":816066356394510336}} 
[2026-07-08 09:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":125277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449901,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:04:48] local.INFO: GPS data processed {"connection_id":125277,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:04:48] local.INFO: Acknowledgment sent {"connection_id":125277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:04:50] local.INFO: TCP Data received {"connection_id":125278,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125278,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:04:50] local.INFO: Processing buffer {"connection_id":125278,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:04:50] local.INFO: IMEI packet received {"connection_id":125278,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":125278,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:04:52] local.INFO: TCP Data received {"connection_id":125278,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125278,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:04:52] local.INFO: Processing buffer {"connection_id":125278,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:04:52] local.INFO: IMEI packet received {"connection_id":125278,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":125278,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:04:56] local.INFO: TCP Data received {"connection_id":125186,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:04:56] local.INFO: Processing buffer {"connection_id":125186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:04:56] local.INFO: IMEI packet received {"connection_id":125186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":125186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:04:57] local.INFO: TCP Data received {"connection_id":125278,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc9ce50012d79ed4005ec8980000d00a02c..."} 
[2026-07-08 09:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc9ce50012d79ed4005ec8980000d00a02c..."} 
[2026-07-08 09:04:57] local.INFO: Processing buffer {"connection_id":125278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc9ce50012d79ed4005ec8980000d00a02c..."} 
[2026-07-08 09:04:57] local.INFO: Packet analysis {"connection_id":125278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc9"} 
[2026-07-08 09:04:57] local.INFO: Extracted packet for processing {"connection_id":125278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc9"} 
[2026-07-08 09:04:57] local.INFO: GPS Element Parsed {"raw_longitude":762965312,"raw_latitude":99387776,"longitude_deg":76.2965312,"latitude_deg":9.9387776,"altitude":13,"angle":160,"satellites":44,"speed":1,"hex_longitude":"2d79ed40","hex_latitude":"05ec8980","is_valid_coordinates":true} 
[2026-07-08 09:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571289088001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103689744705126400,"note":"Value kept but may cause issues"} 
[2026-07-08 09:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782511880026908672,"note":"Value kept but may cause issues"} 
[2026-07-08 09:04:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783481618000,"timestamp_ms":1783481618000,"timestamp_seconds":1783481618,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc9ce50"} 
[2026-07-08 09:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:04:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-07-08 09:04: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-07-08 09:04:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":125278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":125278,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":125278,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:04:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571289088001,"66":13059,"157":206,"87":13824,"24":1,"16":103689744705126400,"45":8782511880026908672},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 09:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571289088001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:04:57] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 09:04:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103689744705126400,"km_value":103689744705126.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782511880026908672,"description":"Unknown IO ID 45"} 
[2026-07-08 09:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571289088001,"power":13059,"unknown_157":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8782511880026908672}} 
[2026-07-08 09:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":125278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449902,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:04:57] local.INFO: GPS data processed {"connection_id":125278,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:04:57] local.INFO: Acknowledgment sent {"connection_id":125278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:05:01] local.INFO: TCP Data received {"connection_id":125186,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:05:01] local.INFO: Processing buffer {"connection_id":125186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:05:01] local.INFO: IMEI packet received {"connection_id":125186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":125186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:05:02] local.INFO: TCP Data received {"connection_id":125186,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fca4b50012d7f9b4005afe080000900342d..."} 
[2026-07-08 09:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fca4b50012d7f9b4005afe080000900342d..."} 
[2026-07-08 09:05:02] local.INFO: Processing buffer {"connection_id":125186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fca4b50012d7f9b4005afe080000900342d..."} 
[2026-07-08 09:05:02] local.INFO: Packet analysis {"connection_id":125186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fca"} 
[2026-07-08 09:05:02] local.INFO: Extracted packet for processing {"connection_id":125186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fca"} 
[2026-07-08 09:05:02] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":45,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571225344001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783481650000,"timestamp_ms":1783481650000,"timestamp_seconds":1783481650,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fca4b50"} 
[2026-07-08 09:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:05:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-08 09:05:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:05:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571225344001,"66":25321,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571225344001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:05:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:05:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571225344001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":125186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:05:02] local.INFO: GPS data processed {"connection_id":125186,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:05:02] local.INFO: Acknowledgment sent {"connection_id":125186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:05:19] local.INFO: TCP Data received {"connection_id":125277,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fcb0ab8012d0b2b4007060768001200ba28..."} 
[2026-07-08 09:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fcb0ab8012d0b2b4007060768001200ba28..."} 
[2026-07-08 09:05:19] local.INFO: Processing buffer {"connection_id":125277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fcb0ab8012d0b2b4007060768001200ba28..."} 
[2026-07-08 09:05:19] local.INFO: Packet analysis {"connection_id":125277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fcb"} 
[2026-07-08 09:05:19] local.INFO: Extracted packet for processing {"connection_id":125277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fcb"} 
[2026-07-08 09:05:19] local.INFO: GPS Element Parsed {"raw_longitude":755706688,"raw_latitude":117835624,"longitude_deg":75.5706688,"latitude_deg":11.7835624,"altitude":18,"angle":186,"satellites":40,"speed":21,"hex_longitude":"2d0b2b40","hex_latitude":"07060768","is_valid_coordinates":true} 
[2026-07-08 09:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571314688001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23519026164531200,"note":"Value kept but may cause issues"} 
[2026-07-08 09:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804807357326002176,"note":"Value kept but may cause issues"} 
[2026-07-08 09:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783481699000,"timestamp_ms":1783481699000,"timestamp_seconds":1783481699,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fcb0ab8"} 
[2026-07-08 09:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:05:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-08 09:05:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":125277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":125277,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":125277,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571314688001,"66":14374,"165":206,"94":10240,"24":21,"16":23519026164531200,"45":804807357326002176},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-08 09:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571314688001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:05:19] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-08 09:05:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 09:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23519026164531200,"km_value":23519026164531.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":804807357326002176,"description":"Unknown IO ID 45"} 
[2026-07-08 09:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571314688001,"power":14374,"unknown_165":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":804807357326002176}} 
[2026-07-08 09:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":125277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449904,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:05:20] local.INFO: GPS data processed {"connection_id":125277,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:05:20] local.INFO: Acknowledgment sent {"connection_id":125277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:05:28] local.INFO: TCP Data received {"connection_id":125278,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc9ddf0012d79ee4005ec87a8000c00922b..."} 
[2026-07-08 09:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc9ddf0012d79ee4005ec87a8000c00922b..."} 
[2026-07-08 09:05:28] local.INFO: Processing buffer {"connection_id":125278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc9ddf0012d79ee4005ec87a8000c00922b..."} 
[2026-07-08 09:05:28] local.INFO: Packet analysis {"connection_id":125278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc9"} 
[2026-07-08 09:05:28] local.INFO: Extracted packet for processing {"connection_id":125278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc9"} 
[2026-07-08 09:05:28] local.INFO: GPS Element Parsed {"raw_longitude":762965568,"raw_latitude":99387304,"longitude_deg":76.2965568,"latitude_deg":9.9387304,"altitude":12,"angle":146,"satellites":43,"speed":8,"hex_longitude":"2d79ee40","hex_latitude":"05ec87a8","is_valid_coordinates":true} 
[2026-07-08 09:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571294208001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103689770474930176,"note":"Value kept but may cause issues"} 
[2026-07-08 09:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8785748842257154048,"note":"Value kept but may cause issues"} 
[2026-07-08 09:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783481622000,"timestamp_ms":1783481622000,"timestamp_seconds":1783481622,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc9ddf0"} 
[2026-07-08 09:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 09:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166099868989,"note":"Value kept but may cause issues"} 
[2026-07-08 09:05:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":58079734643818496,"note":"Value kept but may cause issues"} 
[2026-07-08 09:05:28] local.WARNING: Large IO value detected {"io_id":96,"raw_value":3808428032,"note":"Value kept but may cause issues"} 
[2026-07-08 09:05:28] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3379597313,"note":"Value kept but may cause issues"} 
[2026-07-08 09:05:28] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2849505296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:05:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-07-08 09:05:28] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3758173561,"note":"Value kept but may cause issues"} 
[2026-07-08 09:05:28] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3970646016,"note":"Value kept but may cause issues"} 
[2026-07-08 09:05:28] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,157,87,24,241,16,97,159,128,45,192,166,47,10,66,96,120,168,116,1,240,94,227,63,236,4,113,205,3,57,225,64,239,51,2,112,5,20],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-07-08 09:05:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936924833332133888,"timestamp_seconds":936924833332133.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 09:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":125278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":125278,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":125278,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571294208001,"66":12917,"157":206,"87":13824,"24":8,"16":103689770474930176,"45":8785748842257154048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 09:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571294208001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:05:28] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 09:05:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103689770474930176,"km_value":103689770474930.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8785748842257154048,"description":"Unknown IO ID 45"} 
[2026-07-08 09:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571294208001,"power":12917,"unknown_157":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8785748842257154048}} 
[2026-07-08 09:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":125278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449905,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:05:28] local.INFO: GPS data processed {"connection_id":125278,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:05:28] local.INFO: Acknowledgment sent {"connection_id":125278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:05:33] local.INFO: TCP Data received {"connection_id":125186,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fca4b50012d7f9b4005afe080000900342d..."} 
[2026-07-08 09:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fca4b50012d7f9b4005afe080000900342d..."} 
[2026-07-08 09:05:33] local.INFO: Processing buffer {"connection_id":125186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fca4b50012d7f9b4005afe080000900342d..."} 
[2026-07-08 09:05:33] local.INFO: Packet analysis {"connection_id":125186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fca"} 
[2026-07-08 09:05:33] local.INFO: Extracted packet for processing {"connection_id":125186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fca"} 
[2026-07-08 09:05:33] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":45,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571225344001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783481650000,"timestamp_ms":1783481650000,"timestamp_seconds":1783481650,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fca4b50"} 
[2026-07-08 09:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-08 09:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:05:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571225344001,"66":25321,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571225344001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:05:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:05:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571225344001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":125186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:05:33] local.INFO: GPS data processed {"connection_id":125186,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:05:33] local.INFO: Acknowledgment sent {"connection_id":125186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:05:46] local.INFO: TCP Data received {"connection_id":126008,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126008,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:05:46] local.INFO: Processing buffer {"connection_id":126008,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:05:46] local.INFO: IMEI packet received {"connection_id":126008,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 09:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":126008,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:05:47] local.INFO: TCP Data received {"connection_id":125187,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125187,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:05:47] local.INFO: Processing buffer {"connection_id":125187,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:05:47] local.INFO: IMEI packet received {"connection_id":125187,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":125187,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:05:50] local.INFO: TCP Data received {"connection_id":126008,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126008,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:05:50] local.INFO: Processing buffer {"connection_id":126008,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:05:50] local.INFO: IMEI packet received {"connection_id":126008,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":126008,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:05:51] local.INFO: TCP Data received {"connection_id":126008,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fcb1a58012d0b28c00705fd58001200c628..."} 
[2026-07-08 09:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fcb1a58012d0b28c00705fd58001200c628..."} 
[2026-07-08 09:05:51] local.INFO: Processing buffer {"connection_id":126008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fcb1a58012d0b28c00705fd58001200c628..."} 
[2026-07-08 09:05:51] local.INFO: Packet analysis {"connection_id":126008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fcb"} 
[2026-07-08 09:05:51] local.INFO: Extracted packet for processing {"connection_id":126008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fcb"} 
[2026-07-08 09:05:51] local.INFO: GPS Element Parsed {"raw_longitude":755706048,"raw_latitude":117833048,"longitude_deg":75.5706048,"latitude_deg":11.7833048,"altitude":18,"angle":198,"satellites":40,"speed":31,"hex_longitude":"2d0b28c0","hex_latitude":"0705fd58","is_valid_coordinates":true} 
[2026-07-08 09:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571314944001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23519155013550080,"note":"Value kept but may cause issues"} 
[2026-07-08 09:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804807357325862912,"note":"Value kept but may cause issues"} 
[2026-07-08 09:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783481703000,"timestamp_ms":1783481703000,"timestamp_seconds":1783481703,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fcb1a58"} 
[2026-07-08 09:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-08 09:05:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:05:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126008,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126008,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571314944001,"66":14396,"165":206,"94":10240,"24":31,"16":23519155013550080,"45":804807357325862912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-08 09:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571314944001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:05:51] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-08 09:05:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 09:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23519155013550080,"km_value":23519155013550.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":804807357325862912,"description":"Unknown IO ID 45"} 
[2026-07-08 09:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571314944001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":31,"odometer":null,"unknown_45":804807357325862912}} 
[2026-07-08 09:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":126008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449907,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:05:51] local.INFO: GPS data processed {"connection_id":126008,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:05:51] local.INFO: Acknowledgment sent {"connection_id":126008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:05:52] local.INFO: TCP Data received {"connection_id":125187,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125187,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:05:52] local.INFO: Processing buffer {"connection_id":125187,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:05:52] local.INFO: IMEI packet received {"connection_id":125187,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":125187,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:05:53] local.INFO: TCP Data received {"connection_id":125187,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc9e5c0012d79eec005ec8668000c00a62b..."} 
[2026-07-08 09:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc9e5c0012d79eec005ec8668000c00a62b..."} 
[2026-07-08 09:05:53] local.INFO: Processing buffer {"connection_id":125187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc9e5c0012d79eec005ec8668000c00a62b..."} 
[2026-07-08 09:05:53] local.INFO: Packet analysis {"connection_id":125187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc9"} 
[2026-07-08 09:05:53] local.INFO: Extracted packet for processing {"connection_id":125187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc9"} 
[2026-07-08 09:05:53] local.INFO: GPS Element Parsed {"raw_longitude":762965696,"raw_latitude":99386984,"longitude_deg":76.2965696,"latitude_deg":9.9386984,"altitude":12,"angle":166,"satellites":43,"speed":6,"hex_longitude":"2d79eec0","hex_latitude":"05ec8668","is_valid_coordinates":true} 
[2026-07-08 09:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571295232001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103689787654799360,"note":"Value kept but may cause issues"} 
[2026-07-08 09:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8786030317233743872,"note":"Value kept but may cause issues"} 
[2026-07-08 09:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783481624000,"timestamp_ms":1783481624000,"timestamp_seconds":1783481624,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc9e5c0"} 
[2026-07-08 09:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-08 09:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:05:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571295232001,"66":13276,"157":206,"87":13824,"24":6,"16":103689787654799360,"45":8786030317233743872},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 09:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571295232001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:05:53] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 09:05:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103689787654799360,"km_value":103689787654799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8786030317233743872,"description":"Unknown IO ID 45"} 
[2026-07-08 09:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571295232001,"power":13276,"unknown_157":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8786030317233743872}} 
[2026-07-08 09:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":125187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449908,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:05:53] local.INFO: GPS data processed {"connection_id":125187,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:05:53] local.INFO: Acknowledgment sent {"connection_id":125187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:05:56] local.INFO: TCP Data received {"connection_id":126009,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:05:56] local.INFO: Processing buffer {"connection_id":126009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:05:56] local.INFO: IMEI packet received {"connection_id":126009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":126009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:06:01] local.INFO: TCP Data received {"connection_id":126009,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:06:01] local.INFO: Processing buffer {"connection_id":126009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:06:01] local.INFO: IMEI packet received {"connection_id":126009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":126009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:06:02] local.INFO: TCP Data received {"connection_id":126009,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fca4b50012d7f9b4005afe080000900342d..."} 
[2026-07-08 09:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fca4b50012d7f9b4005afe080000900342d..."} 
[2026-07-08 09:06:02] local.INFO: Processing buffer {"connection_id":126009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fca4b50012d7f9b4005afe080000900342d..."} 
[2026-07-08 09:06:02] local.INFO: Packet analysis {"connection_id":126009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fca"} 
[2026-07-08 09:06:02] local.INFO: Extracted packet for processing {"connection_id":126009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fca"} 
[2026-07-08 09:06:02] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":45,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571225344001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783481650000,"timestamp_ms":1783481650000,"timestamp_seconds":1783481650,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fca4b50"} 
[2026-07-08 09:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-08 09:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571225344001,"66":25321,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571225344001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:06:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:06:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571225344001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":126009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:06:02] local.INFO: GPS data processed {"connection_id":126009,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:06:02] local.INFO: Acknowledgment sent {"connection_id":126009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:06:22] local.INFO: TCP Data received {"connection_id":126008,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fcb35b0012d0b23800705e9d8001100b728..."} 
[2026-07-08 09:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fcb35b0012d0b23800705e9d8001100b728..."} 
[2026-07-08 09:06:22] local.INFO: Processing buffer {"connection_id":126008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fcb35b0012d0b23800705e9d8001100b728..."} 
[2026-07-08 09:06:22] local.INFO: Packet analysis {"connection_id":126008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fcb"} 
[2026-07-08 09:06:22] local.INFO: Extracted packet for processing {"connection_id":126008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fcb"} 
[2026-07-08 09:06:22] local.INFO: GPS Element Parsed {"raw_longitude":755704704,"raw_latitude":117828056,"longitude_deg":75.5704704,"latitude_deg":11.7828056,"altitude":17,"angle":183,"satellites":40,"speed":25,"hex_longitude":"2d0b2380","hex_latitude":"0705e9d8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571315968001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23519404121653248,"note":"Value kept but may cause issues"} 
[2026-07-08 09:06:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804103669883426816,"note":"Value kept but may cause issues"} 
[2026-07-08 09:06:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783481710000,"timestamp_ms":1783481710000,"timestamp_seconds":1783481710,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fcb35b0"} 
[2026-07-08 09:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:06: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-07-08 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-08 09:06:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126008,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126008,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:06:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571315968001,"66":14428,"165":206,"94":10240,"24":25,"16":23519404121653248,"45":804103669883426816},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-08 09:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571315968001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:06:22] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-08 09:06:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 09:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23519404121653248,"km_value":23519404121653.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:06:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":804103669883426816,"description":"Unknown IO ID 45"} 
[2026-07-08 09:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571315968001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":804103669883426816}} 
[2026-07-08 09:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":126008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449910,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:06:22] local.INFO: GPS data processed {"connection_id":126008,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:06:22] local.INFO: Acknowledgment sent {"connection_id":126008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:06:25] local.INFO: TCP Data received {"connection_id":125187,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fc9f178012d79efc005ec83f0000c00972b..."} 
[2026-07-08 09:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fc9f178012d79efc005ec83f0000c00972b..."} 
[2026-07-08 09:06:25] local.INFO: Processing buffer {"connection_id":125187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fc9f178012d79efc005ec83f0000c00972b..."} 
[2026-07-08 09:06:25] local.INFO: Packet analysis {"connection_id":125187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fc9"} 
[2026-07-08 09:06:25] local.INFO: Extracted packet for processing {"connection_id":125187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fc9"} 
[2026-07-08 09:06:25] local.INFO: GPS Element Parsed {"raw_longitude":762965952,"raw_latitude":99386352,"longitude_deg":76.2965952,"latitude_deg":9.9386352,"altitude":12,"angle":151,"satellites":43,"speed":9,"hex_longitude":"2d79efc0","hex_latitude":"05ec83f0","is_valid_coordinates":true} 
[2026-07-08 09:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571295744001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103689822014537728,"note":"Value kept but may cause issues"} 
[2026-07-08 09:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8786171054722017280,"note":"Value kept but may cause issues"} 
[2026-07-08 09:06:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783481627000,"timestamp_ms":1783481627000,"timestamp_seconds":1783481627,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fc9f178"} 
[2026-07-08 09:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:06:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":220,"data_length":795,"current_offset":136} 
[2026-07-08 09:06:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":125187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":125187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":125187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:06:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571295744001,"66":13048,"157":206,"87":13824,"24":9,"16":103689822014537728,"45":8786171054722017280},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 09:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571295744001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:06:25] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 09:06:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103689822014537728,"km_value":103689822014537.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8786171054722017280,"description":"Unknown IO ID 45"} 
[2026-07-08 09:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571295744001,"power":13048,"unknown_157":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8786171054722017280}} 
[2026-07-08 09:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":125187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449911,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:06:25] local.INFO: GPS data processed {"connection_id":125187,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:06:25] local.INFO: Acknowledgment sent {"connection_id":125187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:06:33] local.INFO: TCP Data received {"connection_id":126009,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fca4b50012d7f9b4005afe080000900342d..."} 
[2026-07-08 09:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fca4b50012d7f9b4005afe080000900342d..."} 
[2026-07-08 09:06:33] local.INFO: Processing buffer {"connection_id":126009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fca4b50012d7f9b4005afe080000900342d..."} 
[2026-07-08 09:06:33] local.INFO: Packet analysis {"connection_id":126009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fca"} 
[2026-07-08 09:06:33] local.INFO: Extracted packet for processing {"connection_id":126009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fca"} 
[2026-07-08 09:06:33] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":45,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571225344001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783481650000,"timestamp_ms":1783481650000,"timestamp_seconds":1783481650,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fca4b50"} 
[2026-07-08 09:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-08 09:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:06:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571225344001,"66":25321,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571225344001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:06:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:06:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571225344001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":126009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:06:33] local.INFO: GPS data processed {"connection_id":126009,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:06:33] local.INFO: Acknowledgment sent {"connection_id":126009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:06:45] local.INFO: TCP Data received {"connection_id":126010,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126010,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:06:45] local.INFO: Processing buffer {"connection_id":126010,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:06:45] local.INFO: IMEI packet received {"connection_id":126010,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 09:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":126010,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:06:48] local.INFO: TCP Data received {"connection_id":125188,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125188,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:06:48] local.INFO: Processing buffer {"connection_id":125188,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:06:48] local.INFO: IMEI packet received {"connection_id":125188,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":125188,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:06:50] local.INFO: TCP Data received {"connection_id":126010,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126010,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:06:50] local.INFO: Processing buffer {"connection_id":126010,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:06:50] local.INFO: IMEI packet received {"connection_id":126010,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":126010,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:06:51] local.INFO: TCP Data received {"connection_id":126010,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fcc6278012d0ae780070592e00027010d29..."} 
[2026-07-08 09:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fcc6278012d0ae780070592e00027010d29..."} 
[2026-07-08 09:06:51] local.INFO: Processing buffer {"connection_id":126010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fcc6278012d0ae780070592e00027010d29..."} 
[2026-07-08 09:06:51] local.INFO: Packet analysis {"connection_id":126010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fcc"} 
[2026-07-08 09:06:51] local.INFO: Extracted packet for processing {"connection_id":126010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fcc"} 
[2026-07-08 09:06:51] local.INFO: GPS Element Parsed {"raw_longitude":755689344,"raw_latitude":117805792,"longitude_deg":75.5689344,"latitude_deg":11.7805792,"altitude":39,"angle":269,"satellites":41,"speed":13,"hex_longitude":"2d0ae780","hex_latitude":"070592e0","is_valid_coordinates":true} 
[2026-07-08 09:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571332864001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23521096338767872,"note":"Value kept but may cause issues"} 
[2026-07-08 09:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":791648402157545472,"note":"Value kept but may cause issues"} 
[2026-07-08 09:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783481787000,"timestamp_ms":1783481787000,"timestamp_seconds":1783481787,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fcc6278"} 
[2026-07-08 09:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 09:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:06:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126010,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126010,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571332864001,"66":14515,"165":206,"94":10240,"24":13,"16":23521096338767872,"45":791648402157545472},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-08 09:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571332864001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:06:51] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-08 09:06:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 09:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23521096338767872,"km_value":23521096338767.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":791648402157545472,"description":"Unknown IO ID 45"} 
[2026-07-08 09:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571332864001,"power":14515,"unknown_165":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":791648402157545472}} 
[2026-07-08 09:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":126010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449913,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:06:51] local.INFO: GPS data processed {"connection_id":126010,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:06:51] local.INFO: Acknowledgment sent {"connection_id":126010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:06:52] local.INFO: TCP Data received {"connection_id":125188,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125188,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:06:52] local.INFO: Processing buffer {"connection_id":125188,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:06:52] local.INFO: IMEI packet received {"connection_id":125188,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":125188,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:06:56] local.INFO: TCP Data received {"connection_id":126011,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:06:56] local.INFO: Processing buffer {"connection_id":126011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:06:56] local.INFO: IMEI packet received {"connection_id":126011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":126011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:06:57] local.INFO: TCP Data received {"connection_id":125188,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125188,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:06:57] local.INFO: Processing buffer {"connection_id":125188,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:06:57] local.INFO: IMEI packet received {"connection_id":125188,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":125188,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:06:58] local.INFO: TCP Data received {"connection_id":125188,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fca3f98012d79f80005ec7458000b009e30..."} 
[2026-07-08 09:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fca3f98012d79f80005ec7458000b009e30..."} 
[2026-07-08 09:06:58] local.INFO: Processing buffer {"connection_id":125188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fca3f98012d79f80005ec7458000b009e30..."} 
[2026-07-08 09:06:58] local.INFO: Packet analysis {"connection_id":125188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fca"} 
[2026-07-08 09:06:58] local.INFO: Extracted packet for processing {"connection_id":125188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fca"} 
[2026-07-08 09:06:58] local.INFO: GPS Element Parsed {"raw_longitude":762968064,"raw_latitude":99382360,"longitude_deg":76.2968064,"latitude_deg":9.938236,"altitude":11,"angle":158,"satellites":48,"speed":14,"hex_longitude":"2d79f800","hex_latitude":"05ec7458","is_valid_coordinates":true} 
[2026-07-08 09:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571296512001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103690041057869824,"note":"Value kept but may cause issues"} 
[2026-07-08 09:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8786452529698566144,"note":"Value kept but may cause issues"} 
[2026-07-08 09:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783481647000,"timestamp_ms":1783481647000,"timestamp_seconds":1783481647,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fca3f98"} 
[2026-07-08 09:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:06: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-07-08 09: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-08 09:06: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-07-08 09:06:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":125188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":125188,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":125188,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571296512001,"66":13178,"157":206,"87":13824,"24":14,"16":103690041057869824,"45":8786452529698566144},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 09:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571296512001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:06:58] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 09:06:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103690041057869824,"km_value":103690041057869.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8786452529698566144,"description":"Unknown IO ID 45"} 
[2026-07-08 09:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571296512001,"power":13178,"unknown_157":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8786452529698566144}} 
[2026-07-08 09:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":125188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449914,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:06:58] local.INFO: GPS data processed {"connection_id":125188,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:06:58] local.INFO: Acknowledgment sent {"connection_id":125188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:07:01] local.INFO: TCP Data received {"connection_id":126011,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:07:01] local.INFO: Processing buffer {"connection_id":126011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:07:01] local.INFO: IMEI packet received {"connection_id":126011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":126011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:07:02] local.INFO: TCP Data received {"connection_id":126011,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fca4b50012d7f9b4005afe080000900342d..."} 
[2026-07-08 09:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fca4b50012d7f9b4005afe080000900342d..."} 
[2026-07-08 09:07:02] local.INFO: Processing buffer {"connection_id":126011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fca4b50012d7f9b4005afe080000900342d..."} 
[2026-07-08 09:07:02] local.INFO: Packet analysis {"connection_id":126011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fca"} 
[2026-07-08 09:07:02] local.INFO: Extracted packet for processing {"connection_id":126011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fca"} 
[2026-07-08 09:07:02] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":45,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571225344001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783481650000,"timestamp_ms":1783481650000,"timestamp_seconds":1783481650,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fca4b50"} 
[2026-07-08 09:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-08 09:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:07:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571225344001,"66":25321,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571225344001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:07:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:07:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571225344001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":126011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:07:02] local.INFO: GPS data processed {"connection_id":126011,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:07:02] local.INFO: Acknowledgment sent {"connection_id":126011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:07:03] local.INFO: TCP Data received {"connection_id":125188,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fca91a0012d79fe4005ec6088000a00a32f..."} 
[2026-07-08 09:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fca91a0012d79fe4005ec6088000a00a32f..."} 
[2026-07-08 09:07:03] local.INFO: Processing buffer {"connection_id":125188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fca91a0012d79fe4005ec6088000a00a32f..."} 
[2026-07-08 09:07:03] local.INFO: Packet analysis {"connection_id":125188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fca"} 
[2026-07-08 09:07:03] local.INFO: Extracted packet for processing {"connection_id":125188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fca"} 
[2026-07-08 09:07:03] local.INFO: GPS Element Parsed {"raw_longitude":762969664,"raw_latitude":99377288,"longitude_deg":76.2969664,"latitude_deg":9.9377288,"altitude":10,"angle":163,"satellites":47,"speed":5,"hex_longitude":"2d79fe40","hex_latitude":"05ec6088","is_valid_coordinates":true} 
[2026-07-08 09:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571301632001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103690298755907584,"note":"Value kept but may cause issues"} 
[2026-07-08 09:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788774698255407104,"note":"Value kept but may cause issues"} 
[2026-07-08 09:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783481668000,"timestamp_ms":1783481668000,"timestamp_seconds":1783481668,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fca91a0"} 
[2026-07-08 09:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:07: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-07-08 09: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-08 09:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125188,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125188,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571301632001,"66":13178,"157":206,"87":13824,"24":5,"16":103690298755907584,"45":8788774698255407104},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 09:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571301632001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:07:03] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 09:07:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103690298755907584,"km_value":103690298755907.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788774698255407104,"description":"Unknown IO ID 45"} 
[2026-07-08 09:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571301632001,"power":13178,"unknown_157":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8788774698255407104}} 
[2026-07-08 09:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":125188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449916,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:07:03] local.INFO: GPS data processed {"connection_id":125188,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:07:03] local.INFO: Acknowledgment sent {"connection_id":125188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:07:23] local.INFO: TCP Data received {"connection_id":126010,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fcc6660012d0ae640070593100028012229..."} 
[2026-07-08 09:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fcc6660012d0ae640070593100028012229..."} 
[2026-07-08 09:07:23] local.INFO: Processing buffer {"connection_id":126010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fcc6660012d0ae640070593100028012229..."} 
[2026-07-08 09:07:23] local.INFO: Packet analysis {"connection_id":126010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fcc"} 
[2026-07-08 09:07:23] local.INFO: Extracted packet for processing {"connection_id":126010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fcc"} 
[2026-07-08 09:07:23] local.INFO: GPS Element Parsed {"raw_longitude":755689024,"raw_latitude":117805840,"longitude_deg":75.5689024,"latitude_deg":11.780584,"altitude":40,"angle":290,"satellites":41,"speed":13,"hex_longitude":"2d0ae640","hex_latitude":"07059310","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571337472001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23521109223669760,"note":"Value kept but may cause issues"} 
[2026-07-08 09:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":785737427646078976,"note":"Value kept but may cause issues"} 
[2026-07-08 09:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783481788000,"timestamp_ms":1783481788000,"timestamp_seconds":1783481788,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fcc6660"} 
[2026-07-08 09:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:07: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-07-08 09: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 09:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":126010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":126010,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":126010,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571337472001,"66":14461,"165":206,"94":10240,"24":13,"16":23521109223669760,"45":785737427646078976},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-08 09:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571337472001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:07:23] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-08 09:07:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 09:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23521109223669760,"km_value":23521109223669.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":785737427646078976,"description":"Unknown IO ID 45"} 
[2026-07-08 09:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571337472001,"power":14461,"unknown_165":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":785737427646078976}} 
[2026-07-08 09:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":126010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449917,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:07:23] local.INFO: GPS data processed {"connection_id":126010,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:07:23] local.INFO: Acknowledgment sent {"connection_id":126010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:07:33] local.INFO: TCP Data received {"connection_id":126011,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fca4b50012d7f9b4005afe080000900342d..."} 
[2026-07-08 09:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fca4b50012d7f9b4005afe080000900342d..."} 
[2026-07-08 09:07:33] local.INFO: Processing buffer {"connection_id":126011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fca4b50012d7f9b4005afe080000900342d..."} 
[2026-07-08 09:07:33] local.INFO: Packet analysis {"connection_id":126011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fca"} 
[2026-07-08 09:07:33] local.INFO: Extracted packet for processing {"connection_id":126011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fca"} 
[2026-07-08 09:07:33] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":45,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571225344001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783481650000,"timestamp_ms":1783481650000,"timestamp_seconds":1783481650,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fca4b50"} 
[2026-07-08 09:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-08 09:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571225344001,"66":25321,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571225344001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:07:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:07:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571225344001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":126011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:07:33] local.INFO: GPS data processed {"connection_id":126011,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:07:33] local.INFO: Acknowledgment sent {"connection_id":126011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:07:44] local.INFO: TCP Data received {"connection_id":125280,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:07:44] local.INFO: Processing buffer {"connection_id":125280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:07:44] local.INFO: IMEI packet received {"connection_id":125280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":125280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:07:45] local.INFO: TCP Data received {"connection_id":125281,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125281,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:07:45] local.INFO: Processing buffer {"connection_id":125281,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:07:45] local.INFO: IMEI packet received {"connection_id":125281,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 09:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":125281,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:07:49] local.INFO: TCP Data received {"connection_id":125280,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:07:49] local.INFO: Processing buffer {"connection_id":125280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:07:49] local.INFO: IMEI packet received {"connection_id":125280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":125280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:07:50] local.INFO: TCP Data received {"connection_id":125281,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125281,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:07:50] local.INFO: Processing buffer {"connection_id":125281,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:07:50] local.INFO: IMEI packet received {"connection_id":125281,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":125281,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:07:51] local.INFO: TCP Data received {"connection_id":125281,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fcc7600012d0ae1c0070594e0002a010c29..."} 
[2026-07-08 09:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fcc7600012d0ae1c0070594e0002a010c29..."} 
[2026-07-08 09:07:51] local.INFO: Processing buffer {"connection_id":125281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fcc7600012d0ae1c0070594e0002a010c29..."} 
[2026-07-08 09:07:51] local.INFO: Packet analysis {"connection_id":125281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fcc"} 
[2026-07-08 09:07:51] local.INFO: Extracted packet for processing {"connection_id":125281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fcc"} 
[2026-07-08 09:07:51] local.INFO: GPS Element Parsed {"raw_longitude":755687872,"raw_latitude":117806304,"longitude_deg":75.5687872,"latitude_deg":11.7806304,"altitude":42,"angle":268,"satellites":41,"speed":10,"hex_longitude":"2d0ae1c0","hex_latitude":"070594e0","is_valid_coordinates":true} 
[2026-07-08 09:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571337728001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23521169353211904,"note":"Value kept but may cause issues"} 
[2026-07-08 09:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":785385583925202944,"note":"Value kept but may cause issues"} 
[2026-07-08 09:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783481792000,"timestamp_ms":1783481792000,"timestamp_seconds":1783481792,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fcc7600"} 
[2026-07-08 09:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-08 09:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125281,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125281,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571337728001,"66":14439,"165":206,"94":10240,"24":10,"16":23521169353211904,"45":785385583925202944},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-08 09:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571337728001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:07:51] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-08 09:07:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 09:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23521169353211904,"km_value":23521169353211.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":785385583925202944,"description":"Unknown IO ID 45"} 
[2026-07-08 09:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571337728001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":785385583925202944}} 
[2026-07-08 09:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":125281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449919,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:07:51] local.INFO: GPS data processed {"connection_id":125281,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:07:51] local.INFO: Acknowledgment sent {"connection_id":125281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:07:52] local.INFO: TCP Data received {"connection_id":125280,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:07:52] local.INFO: Processing buffer {"connection_id":125280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:07:52] local.INFO: IMEI packet received {"connection_id":125280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":125280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:07:53] local.INFO: TCP Data received {"connection_id":125280,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fcd50c0012d7a3bc005ebc4b8001700992c..."} 
[2026-07-08 09:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fcd50c0012d7a3bc005ebc4b8001700992c..."} 
[2026-07-08 09:07:53] local.INFO: Processing buffer {"connection_id":125280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fcd50c0012d7a3bc005ebc4b8001700992c..."} 
[2026-07-08 09:07:53] local.INFO: Packet analysis {"connection_id":125280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fcd"} 
[2026-07-08 09:07:53] local.INFO: Extracted packet for processing {"connection_id":125280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fcd"} 
[2026-07-08 09:07:53] local.INFO: GPS Element Parsed {"raw_longitude":762985408,"raw_latitude":99337400,"longitude_deg":76.2985408,"latitude_deg":9.93374,"altitude":23,"angle":153,"satellites":44,"speed":11,"hex_longitude":"2d7a3bc0","hex_latitude":"05ebc4b8","is_valid_coordinates":true} 
[2026-07-08 09:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571347712001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103692407584849920,"note":"Value kept but may cause issues"} 
[2026-07-08 09:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805381721871046656,"note":"Value kept but may cause issues"} 
[2026-07-08 09:07:53] 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-07-08 09:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783481848000,"timestamp_ms":1783481848000,"timestamp_seconds":1783481848,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fcd50c0"} 
[2026-07-08 09:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-08 09:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:07:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571347712001,"66":13178,"156":206,"87":13824,"24":11,"16":103692407584849920,"45":8805381721871046656},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-08 09:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571347712001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:07:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 09:07:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103692407584849920,"km_value":103692407584849.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805381721871046656,"description":"Unknown IO ID 45"} 
[2026-07-08 09:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571347712001,"power":13178,"unknown_156":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8805381721871046656}} 
[2026-07-08 09:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":125280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449920,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:07:53] local.INFO: GPS data processed {"connection_id":125280,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:07:53] local.INFO: Acknowledgment sent {"connection_id":125280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:07:58] local.INFO: TCP Data received {"connection_id":125280,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fcd6830012d7a3ec005ebbfa00018008d2c..."} 
[2026-07-08 09:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fcd6830012d7a3ec005ebbfa00018008d2c..."} 
[2026-07-08 09:07:58] local.INFO: Processing buffer {"connection_id":125280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fcd6830012d7a3ec005ebbfa00018008d2c..."} 
[2026-07-08 09:07:58] local.INFO: Packet analysis {"connection_id":125280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fcd"} 
[2026-07-08 09:07:58] local.INFO: Extracted packet for processing {"connection_id":125280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fcd"} 
[2026-07-08 09:07:58] local.INFO: GPS Element Parsed {"raw_longitude":762986176,"raw_latitude":99336096,"longitude_deg":76.2986176,"latitude_deg":9.9336096,"altitude":24,"angle":141,"satellites":44,"speed":5,"hex_longitude":"2d7a3ec0","hex_latitude":"05ebbfa0","is_valid_coordinates":true} 
[2026-07-08 09:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571353088001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103692480599293952,"note":"Value kept but may cause issues"} 
[2026-07-08 09:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807844627916044288,"note":"Value kept but may cause issues"} 
[2026-07-08 09:07:58] 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-07-08 09:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783481854000,"timestamp_ms":1783481854000,"timestamp_seconds":1783481854,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fcd6830"} 
[2026-07-08 09:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:07: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-07-08 09:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-08 09:07:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:07:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":125280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":125280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":125280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:07:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571353088001,"66":13048,"156":206,"87":13824,"24":5,"16":103692480599293952,"45":8807844627916044288},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-08 09:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571353088001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:07:58] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 09:07:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103692480599293952,"km_value":103692480599293.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807844627916044288,"description":"Unknown IO ID 45"} 
[2026-07-08 09:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571353088001,"power":13048,"unknown_156":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8807844627916044288}} 
[2026-07-08 09:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":125280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449921,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:07:58] local.INFO: GPS data processed {"connection_id":125280,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:07:58] local.INFO: Acknowledgment sent {"connection_id":125280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:08:01] local.INFO: TCP Data received {"connection_id":125190,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:08:01] local.INFO: Processing buffer {"connection_id":125190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:08:01] local.INFO: IMEI packet received {"connection_id":125190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":125190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:08:06] local.INFO: TCP Data received {"connection_id":125190,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:08:06] local.INFO: Processing buffer {"connection_id":125190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:08:06] local.INFO: IMEI packet received {"connection_id":125190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":125190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:08:07] local.INFO: TCP Data received {"connection_id":125190,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fca4b50012d7f9b4005afe080000900342d..."} 
[2026-07-08 09:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fca4b50012d7f9b4005afe080000900342d..."} 
[2026-07-08 09:08:07] local.INFO: Processing buffer {"connection_id":125190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fca4b50012d7f9b4005afe080000900342d..."} 
[2026-07-08 09:08:07] local.INFO: Packet analysis {"connection_id":125190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fca"} 
[2026-07-08 09:08:07] local.INFO: Extracted packet for processing {"connection_id":125190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fca"} 
[2026-07-08 09:08:07] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":45,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571225344001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783481650000,"timestamp_ms":1783481650000,"timestamp_seconds":1783481650,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fca4b50"} 
[2026-07-08 09:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-08 09:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571225344001,"66":25321,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571225344001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:08:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:08:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571225344001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":125190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:08:07] local.INFO: GPS data processed {"connection_id":125190,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:08:07] local.INFO: Acknowledgment sent {"connection_id":125190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:08:22] local.INFO: TCP Data received {"connection_id":125281,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fcc7dd0012d0adf4007059478002b00fe29..."} 
[2026-07-08 09:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fcc7dd0012d0adf4007059478002b00fe29..."} 
[2026-07-08 09:08:22] local.INFO: Processing buffer {"connection_id":125281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fcc7dd0012d0adf4007059478002b00fe29..."} 
[2026-07-08 09:08:22] local.INFO: Packet analysis {"connection_id":125281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fcc"} 
[2026-07-08 09:08:22] local.INFO: Extracted packet for processing {"connection_id":125281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fcc"} 
[2026-07-08 09:08:22] local.INFO: GPS Element Parsed {"raw_longitude":755687232,"raw_latitude":117806200,"longitude_deg":75.5687232,"latitude_deg":11.78062,"altitude":43,"angle":254,"satellites":41,"speed":11,"hex_longitude":"2d0adf40","hex_latitude":"07059478","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571338752001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23521199417982976,"note":"Value kept but may cause issues"} 
[2026-07-08 09:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":784118946530123776,"note":"Value kept but may cause issues"} 
[2026-07-08 09:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783481794000,"timestamp_ms":1783481794000,"timestamp_seconds":1783481794,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fcc7dd0"} 
[2026-07-08 09:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:08: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-07-08 09:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-08 09:08:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125281,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125281,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571338752001,"66":14396,"165":206,"94":10240,"24":11,"16":23521199417982976,"45":784118946530123776},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-08 09:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571338752001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:08:22] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-08 09:08:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 09:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23521199417982976,"km_value":23521199417982.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":784118946530123776,"description":"Unknown IO ID 45"} 
[2026-07-08 09:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571338752001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":784118946530123776}} 
[2026-07-08 09:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":125281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449923,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:08:22] local.INFO: GPS data processed {"connection_id":125281,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:08:22] local.INFO: Acknowledgment sent {"connection_id":125281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:08:29] local.INFO: TCP Data received {"connection_id":125280,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fcd8b58012d7a408005ebbd180018009b2b..."} 
[2026-07-08 09:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fcd8b58012d7a408005ebbd180018009b2b..."} 
[2026-07-08 09:08:29] local.INFO: Processing buffer {"connection_id":125280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fcd8b58012d7a408005ebbd180018009b2b..."} 
[2026-07-08 09:08:29] local.INFO: Packet analysis {"connection_id":125280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fcd"} 
[2026-07-08 09:08:29] local.INFO: Extracted packet for processing {"connection_id":125280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fcd"} 
[2026-07-08 09:08:29] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":99335448,"longitude_deg":76.2986624,"latitude_deg":9.9335448,"altitude":24,"angle":155,"satellites":43,"speed":7,"hex_longitude":"2d7a4080","hex_latitude":"05ebbd18","is_valid_coordinates":true} 
[2026-07-08 09:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571354624001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103692527843934208,"note":"Value kept but may cause issues"} 
[2026-07-08 09:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808689052845842432,"note":"Value kept but may cause issues"} 
[2026-07-08 09:08:29] 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-07-08 09:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783481863000,"timestamp_ms":1783481863000,"timestamp_seconds":1783481863,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fcd8b58"} 
[2026-07-08 09:08:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:08:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-08 09:08:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:08:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:08:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":125280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":125280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":125280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:08:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571354624001,"66":13091,"163":206,"87":13824,"24":7,"16":103692527843934208,"45":8808689052845842432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-08 09:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571354624001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:08:29] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-08 09:08:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103692527843934208,"km_value":103692527843934.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808689052845842432,"description":"Unknown IO ID 45"} 
[2026-07-08 09:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571354624001,"power":13091,"unknown_163":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8808689052845842432}} 
[2026-07-08 09:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":125280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449924,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:08:29] local.INFO: GPS data processed {"connection_id":125280,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:08:29] local.INFO: Acknowledgment sent {"connection_id":125280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:08:38] local.INFO: TCP Data received {"connection_id":125190,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fca4b50012d7f9b4005afe080000900342d..."} 
[2026-07-08 09:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fca4b50012d7f9b4005afe080000900342d..."} 
[2026-07-08 09:08:38] local.INFO: Processing buffer {"connection_id":125190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fca4b50012d7f9b4005afe080000900342d..."} 
[2026-07-08 09:08:38] local.INFO: Packet analysis {"connection_id":125190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fca"} 
[2026-07-08 09:08:38] local.INFO: Extracted packet for processing {"connection_id":125190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fca"} 
[2026-07-08 09:08:38] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":45,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 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-07-08 09:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571225344001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783481650000,"timestamp_ms":1783481650000,"timestamp_seconds":1783481650,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fca4b50"} 
[2026-07-08 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-07-08 09:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":205,"data_length":795,"current_offset":136} 
[2026-07-08 09:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 09:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571225344001,"66":25321,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571225344001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:08:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:08:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571225344001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":125190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:08:38] local.INFO: GPS data processed {"connection_id":125190,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:08:38] local.INFO: Acknowledgment sent {"connection_id":125190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:08:44] local.INFO: TCP Data received {"connection_id":125284,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125284,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:08:44] local.INFO: Processing buffer {"connection_id":125284,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:08:44] local.INFO: IMEI packet received {"connection_id":125284,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 09:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":125284,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:08:44] local.INFO: TCP Data received {"connection_id":125283,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:08:44] local.INFO: Processing buffer {"connection_id":125283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:08:44] local.INFO: IMEI packet received {"connection_id":125283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":125283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:08:45] local.INFO: TCP Data received {"connection_id":125284,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125284,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:08:45] local.INFO: Processing buffer {"connection_id":125284,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:08:45] local.INFO: IMEI packet received {"connection_id":125284,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":125284,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:08:46] local.INFO: TCP Data received {"connection_id":125284,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125284,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:08:46] local.INFO: Processing buffer {"connection_id":125284,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:08:46] local.INFO: IMEI packet received {"connection_id":125284,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":125284,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:08:47] local.INFO: TCP Data received {"connection_id":125284,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125284,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:08:47] local.INFO: Processing buffer {"connection_id":125284,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:08:47] local.INFO: IMEI packet received {"connection_id":125284,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":125284,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:08:47] local.INFO: TCP Data received {"connection_id":125283,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:08:47] local.INFO: Processing buffer {"connection_id":125283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:08:47] local.INFO: IMEI packet received {"connection_id":125283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":125283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:08:52] local.INFO: TCP Data received {"connection_id":125283,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:08:52] local.INFO: Processing buffer {"connection_id":125283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:08:52] local.INFO: IMEI packet received {"connection_id":125283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":125283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:08:53] local.INFO: TCP Data received {"connection_id":125283,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fcdd978012d7a430005ebb7100018009a2a..."} 
[2026-07-08 09:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fcdd978012d7a430005ebb7100018009a2a..."} 
[2026-07-08 09:08:53] local.INFO: Processing buffer {"connection_id":125283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fcdd978012d7a430005ebb7100018009a2a..."} 
[2026-07-08 09:08:53] local.INFO: Packet analysis {"connection_id":125283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fcd"} 
[2026-07-08 09:08:53] local.INFO: Extracted packet for processing {"connection_id":125283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fcd"} 
[2026-07-08 09:08:53] local.INFO: GPS Element Parsed {"raw_longitude":762987264,"raw_latitude":99333904,"longitude_deg":76.2987264,"latitude_deg":9.9333904,"altitude":24,"angle":154,"satellites":42,"speed":0,"hex_longitude":"2d7a4300","hex_latitude":"05ebb710","is_valid_coordinates":true} 
[2026-07-08 09:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571356928001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103692609448312832,"note":"Value kept but may cause issues"} 
[2026-07-08 09:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809181634054920192,"note":"Value kept but may cause issues"} 
[2026-07-08 09:08:53] 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-07-08 09:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783481883000,"timestamp_ms":1783481883000,"timestamp_seconds":1783481883,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fcdd978"} 
[2026-07-08 09:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-08 09:08:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:08:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571356928001,"66":13059,"163":206,"87":13824,"24":0,"16":103692609448312832,"45":8809181634054920192},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-08 09:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571356928001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:08:53] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-08 09:08:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103692609448312832,"km_value":103692609448312.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809181634054920192,"description":"Unknown IO ID 45"} 
[2026-07-08 09:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571356928001,"power":13059,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8809181634054920192}} 
[2026-07-08 09:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":125283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449926,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:08:53] local.INFO: GPS data processed {"connection_id":125283,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:08:53] local.INFO: Acknowledgment sent {"connection_id":125283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:08:56] local.INFO: TCP Data received {"connection_id":125191,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:08:56] local.INFO: Processing buffer {"connection_id":125191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:08:56] local.INFO: IMEI packet received {"connection_id":125191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":125191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:09:01] local.INFO: TCP Data received {"connection_id":125191,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:09:01] local.INFO: Processing buffer {"connection_id":125191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:09:01] local.INFO: IMEI packet received {"connection_id":125191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":125191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:09:02] local.INFO: TCP Data received {"connection_id":125191,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fca4b50012d7f9b4005afe080000900342d..."} 
[2026-07-08 09:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fca4b50012d7f9b4005afe080000900342d..."} 
[2026-07-08 09:09:02] local.INFO: Processing buffer {"connection_id":125191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fca4b50012d7f9b4005afe080000900342d..."} 
[2026-07-08 09:09:02] local.INFO: Packet analysis {"connection_id":125191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fca"} 
[2026-07-08 09:09:02] local.INFO: Extracted packet for processing {"connection_id":125191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fca"} 
[2026-07-08 09:09:02] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":45,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571225344001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783481650000,"timestamp_ms":1783481650000,"timestamp_seconds":1783481650,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fca4b50"} 
[2026-07-08 09:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-08 09:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571225344001,"66":25321,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571225344001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:09:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:09:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571225344001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":125191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:09:02] local.INFO: GPS data processed {"connection_id":125191,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:09:02] local.INFO: Acknowledgment sent {"connection_id":125191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:09:24] local.INFO: TCP Data received {"connection_id":125283,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fce2b80012d7a478005ebae90001500982b..."} 
[2026-07-08 09:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fce2b80012d7a478005ebae90001500982b..."} 
[2026-07-08 09:09:24] local.INFO: Processing buffer {"connection_id":125283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fce2b80012d7a478005ebae90001500982b..."} 
[2026-07-08 09:09:24] local.INFO: Packet analysis {"connection_id":125283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fce"} 
[2026-07-08 09:09:24] local.INFO: Extracted packet for processing {"connection_id":125283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fce"} 
[2026-07-08 09:09:24] local.INFO: GPS Element Parsed {"raw_longitude":762988416,"raw_latitude":99331728,"longitude_deg":76.2988416,"latitude_deg":9.9331728,"altitude":21,"angle":152,"satellites":43,"speed":6,"hex_longitude":"2d7a4780","hex_latitude":"05ebae90","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571362048001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103692729707397120,"note":"Value kept but may cause issues"} 
[2026-07-08 09:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809885321496301568,"note":"Value kept but may cause issues"} 
[2026-07-08 09:09:24] 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-07-08 09:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783481904000,"timestamp_ms":1783481904000,"timestamp_seconds":1783481904,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fce2b80"} 
[2026-07-08 09:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:09:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 09:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303167744036157,"note":"Value kept but may cause issues"} 
[2026-07-08 09:09:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 09:09:24] local.WARNING: Large IO value detected {"io_id":99,"raw_value":2986344448,"note":"Value kept but may cause issues"} 
[2026-07-08 09:09:24] local.WARNING: Large IO value detected {"io_id":156,"raw_value":58079734643818502,"note":"Value kept but may cause issues"} 
[2026-07-08 09:09:24] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3439245313,"note":"Value kept but may cause issues"} 
[2026-07-08 09:09:24] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3612868627,"note":"Value kept but may cause issues"} 
[2026-07-08 09:09:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033633998,"corrected_to":0} 
[2026-07-08 09:09:24] local.WARNING: Large IO value detected {"io_id":176,"raw_value":2550214010,"note":"Value kept but may cause issues"} 
[2026-07-08 09:09:24] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040061,"note":"Value kept but may cause issues"} 
[2026-07-08 09:09:24] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3958415360,"note":"Value kept but may cause issues"} 
[2026-07-08 09:09:24] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,163,87,24,241,157,16,99,159,139,45,128,189,43,10,66,104,192,191,44,156,80,1,240,122,227,63,235,4,113,205,176,40,56,239,51,2,112,5,13,6],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1033633998,"validated":0}]} 
[2026-07-08 09:09:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1729551762089574400,"timestamp_seconds":1729551762089574.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 09:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571362048001,"66":13352,"163":206,"87":13824,"24":6,"16":103692729707397120,"45":8809885321496301568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-08 09:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571362048001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:09:24] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-08 09:09:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103692729707397120,"km_value":103692729707397.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809885321496301568,"description":"Unknown IO ID 45"} 
[2026-07-08 09:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571362048001,"power":13352,"unknown_163":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8809885321496301568}} 
[2026-07-08 09:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":125283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449928,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:09:24] local.INFO: GPS data processed {"connection_id":125283,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:09:24] local.INFO: Acknowledgment sent {"connection_id":125283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:09:27] local.INFO: TCP Data received {"connection_id":125285,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125285,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:09:27] local.INFO: Processing buffer {"connection_id":125285,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:09:27] local.INFO: IMEI packet received {"connection_id":125285,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 09:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":125285,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:09:34] local.INFO: TCP Data received {"connection_id":125191,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fca4b50012d7f9b4005afe080000900342d..."} 
[2026-07-08 09:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fca4b50012d7f9b4005afe080000900342d..."} 
[2026-07-08 09:09:34] local.INFO: Processing buffer {"connection_id":125191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fca4b50012d7f9b4005afe080000900342d..."} 
[2026-07-08 09:09:34] local.INFO: Packet analysis {"connection_id":125191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fca"} 
[2026-07-08 09:09:34] local.INFO: Extracted packet for processing {"connection_id":125191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fca"} 
[2026-07-08 09:09:34] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":45,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571225344001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783481650000,"timestamp_ms":1783481650000,"timestamp_seconds":1783481650,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fca4b50"} 
[2026-07-08 09:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-08 09:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571225344001,"66":25321,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571225344001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:09:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:09:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571225344001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":125191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:09:34] local.INFO: GPS data processed {"connection_id":125191,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:09:34] local.INFO: Acknowledgment sent {"connection_id":125191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:09:47] local.INFO: TCP Data received {"connection_id":126012,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126012,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:09:47] local.INFO: Processing buffer {"connection_id":126012,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:09:47] local.INFO: IMEI packet received {"connection_id":126012,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":126012,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:09:52] local.INFO: TCP Data received {"connection_id":126012,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126012,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:09:52] local.INFO: Processing buffer {"connection_id":126012,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:09:52] local.INFO: IMEI packet received {"connection_id":126012,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":126012,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:09:53] local.INFO: TCP Data received {"connection_id":126012,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fce46d8012d7a494005ebaa880015008c2c..."} 
[2026-07-08 09:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fce46d8012d7a494005ebaa880015008c2c..."} 
[2026-07-08 09:09:53] local.INFO: Processing buffer {"connection_id":126012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fce46d8012d7a494005ebaa880015008c2c..."} 
[2026-07-08 09:09:53] local.INFO: Packet analysis {"connection_id":126012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fce"} 
[2026-07-08 09:09:53] local.INFO: Extracted packet for processing {"connection_id":126012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fce"} 
[2026-07-08 09:09:53] local.INFO: GPS Element Parsed {"raw_longitude":762988864,"raw_latitude":99330696,"longitude_deg":76.2988864,"latitude_deg":9.9330696,"altitude":21,"angle":140,"satellites":44,"speed":2,"hex_longitude":"2d7a4940","hex_latitude":"05ebaa88","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571367424001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103692785541971968,"note":"Value kept but may cause issues"} 
[2026-07-08 09:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8811151958890942464,"note":"Value kept but may cause issues"} 
[2026-07-08 09:09:53] 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-07-08 09:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783481911000,"timestamp_ms":1783481911000,"timestamp_seconds":1783481911,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fce46d8"} 
[2026-07-08 09:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:09:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-08 09:09: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-07-08 09: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-07-08 09:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":126012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":126012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":126012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571367424001,"66":12939,"163":206,"87":13824,"24":2,"16":103692785541971968,"45":8811151958890942464},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-08 09:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571367424001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:09:53] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-08 09:09:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103692785541971968,"km_value":103692785541971.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8811151958890942464,"description":"Unknown IO ID 45"} 
[2026-07-08 09:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571367424001,"power":12939,"unknown_163":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8811151958890942464}} 
[2026-07-08 09:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":126012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449930,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:09:53] local.INFO: GPS data processed {"connection_id":126012,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:09:53] local.INFO: Acknowledgment sent {"connection_id":126012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:09:56] local.INFO: TCP Data received {"connection_id":127285,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:09:56] local.INFO: Processing buffer {"connection_id":127285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:09:56] local.INFO: IMEI packet received {"connection_id":127285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":127285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:10:01] local.INFO: TCP Data received {"connection_id":127285,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:10:01] local.INFO: Processing buffer {"connection_id":127285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:10:01] local.INFO: IMEI packet received {"connection_id":127285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":127285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:10:02] local.INFO: TCP Data received {"connection_id":125286,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125286,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:10:02] local.INFO: Processing buffer {"connection_id":125286,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:10:02] local.INFO: IMEI packet received {"connection_id":125286,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 09:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":125286,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:10:02] local.INFO: TCP Data received {"connection_id":127285,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fcee318012d7f9b4005afe0800009003430..."} 
[2026-07-08 09:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fcee318012d7f9b4005afe0800009003430..."} 
[2026-07-08 09:10:02] local.INFO: Processing buffer {"connection_id":127285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fcee318012d7f9b4005afe0800009003430..."} 
[2026-07-08 09:10:02] local.INFO: Packet analysis {"connection_id":127285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fce"} 
[2026-07-08 09:10:02] local.INFO: Extracted packet for processing {"connection_id":127285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fce"} 
[2026-07-08 09:10:02] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":48,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571302400001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783481951000,"timestamp_ms":1783481951000,"timestamp_seconds":1783481951,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fcee318"} 
[2026-07-08 09:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 09:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571302400001,"66":25321,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571302400001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:10:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:10:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571302400001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":127285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:10:02] local.INFO: GPS data processed {"connection_id":127285,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:10:02] local.INFO: Acknowledgment sent {"connection_id":127285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:10:24] local.INFO: TCP Data received {"connection_id":126012,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fce75b8012d7a49c005eba918001300a12c..."} 
[2026-07-08 09:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fce75b8012d7a49c005eba918001300a12c..."} 
[2026-07-08 09:10:24] local.INFO: Processing buffer {"connection_id":126012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fce75b8012d7a49c005eba918001300a12c..."} 
[2026-07-08 09:10:24] local.INFO: Packet analysis {"connection_id":126012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fce"} 
[2026-07-08 09:10:24] local.INFO: Extracted packet for processing {"connection_id":126012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fce"} 
[2026-07-08 09:10:24] local.INFO: GPS Element Parsed {"raw_longitude":762988992,"raw_latitude":99330328,"longitude_deg":76.2988992,"latitude_deg":9.9330328,"altitude":19,"angle":161,"satellites":44,"speed":3,"hex_longitude":"2d7a49c0","hex_latitude":"05eba918","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571369216001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103692802721841152,"note":"Value kept but may cause issues"} 
[2026-07-08 09:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8811644540099921920,"note":"Value kept but may cause issues"} 
[2026-07-08 09:10:24] 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-07-08 09:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783481923000,"timestamp_ms":1783481923000,"timestamp_seconds":1783481923,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fce75b8"} 
[2026-07-08 09:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-08 09:10:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":126012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":126012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":126012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571369216001,"66":12624,"163":206,"87":13824,"24":3,"16":103692802721841152,"45":8811644540099921920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-08 09:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571369216001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:10:24] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-08 09:10:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103692802721841152,"km_value":103692802721841.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8811644540099921920,"description":"Unknown IO ID 45"} 
[2026-07-08 09:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571369216001,"power":12624,"unknown_163":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8811644540099921920}} 
[2026-07-08 09:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":126012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449932,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:10:24] local.INFO: GPS data processed {"connection_id":126012,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:10:24] local.INFO: Acknowledgment sent {"connection_id":126012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:10:33] local.INFO: TCP Data received {"connection_id":127285,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fcee318012d7f9b4005afe0800009003430..."} 
[2026-07-08 09:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fcee318012d7f9b4005afe0800009003430..."} 
[2026-07-08 09:10:33] local.INFO: Processing buffer {"connection_id":127285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fcee318012d7f9b4005afe0800009003430..."} 
[2026-07-08 09:10:33] local.INFO: Packet analysis {"connection_id":127285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fce"} 
[2026-07-08 09:10:33] local.INFO: Extracted packet for processing {"connection_id":127285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fce"} 
[2026-07-08 09:10:33] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":48,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571302400001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783481951000,"timestamp_ms":1783481951000,"timestamp_seconds":1783481951,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fcee318"} 
[2026-07-08 09:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 09:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571302400001,"66":25321,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571302400001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:10:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:10:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571302400001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":127285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:10:33] local.INFO: GPS data processed {"connection_id":127285,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:10:33] local.INFO: Acknowledgment sent {"connection_id":127285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:10:47] local.INFO: TCP Data received {"connection_id":125287,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125287,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:10:47] local.INFO: Processing buffer {"connection_id":125287,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:10:47] local.INFO: IMEI packet received {"connection_id":125287,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":125287,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:10:49] local.INFO: TCP Data received {"connection_id":125287,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125287,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:10:49] local.INFO: Processing buffer {"connection_id":125287,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:10:49] local.INFO: IMEI packet received {"connection_id":125287,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":125287,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:10:52] local.INFO: TCP Data received {"connection_id":125287,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125287,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:10:52] local.INFO: Processing buffer {"connection_id":125287,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:10:52] local.INFO: IMEI packet received {"connection_id":125287,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":125287,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:10:56] local.INFO: TCP Data received {"connection_id":125289,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:10:56] local.INFO: Processing buffer {"connection_id":125289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:10:56] local.INFO: IMEI packet received {"connection_id":125289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":125289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:11:01] local.INFO: TCP Data received {"connection_id":125289,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:11:01] local.INFO: Processing buffer {"connection_id":125289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:11:01] local.INFO: IMEI packet received {"connection_id":125289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":125289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:11:02] local.INFO: TCP Data received {"connection_id":125289,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fcee318012d7f9b4005afe0800009003430..."} 
[2026-07-08 09:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fcee318012d7f9b4005afe0800009003430..."} 
[2026-07-08 09:11:02] local.INFO: Processing buffer {"connection_id":125289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fcee318012d7f9b4005afe0800009003430..."} 
[2026-07-08 09:11:02] local.INFO: Packet analysis {"connection_id":125289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fce"} 
[2026-07-08 09:11:02] local.INFO: Extracted packet for processing {"connection_id":125289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fce"} 
[2026-07-08 09:11:02] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":48,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571302400001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783481951000,"timestamp_ms":1783481951000,"timestamp_seconds":1783481951,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fcee318"} 
[2026-07-08 09:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 09:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:11:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571302400001,"66":25321,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571302400001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:11:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:11:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571302400001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":125289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:11:02] local.INFO: GPS data processed {"connection_id":125289,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:11:02] local.INFO: Acknowledgment sent {"connection_id":125289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:11:08] local.INFO: TCP Data received {"connection_id":125287,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd00fe0012d7af48005ebd6900013003d2f..."} 
[2026-07-08 09:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd00fe0012d7af48005ebd6900013003d2f..."} 
[2026-07-08 09:11:08] local.INFO: Processing buffer {"connection_id":125287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd00fe0012d7af48005ebd6900013003d2f..."} 
[2026-07-08 09:11:08] local.INFO: Packet analysis {"connection_id":125287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd0"} 
[2026-07-08 09:11:08] local.INFO: Extracted packet for processing {"connection_id":125287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd0"} 
[2026-07-08 09:11:08] local.INFO: GPS Element Parsed {"raw_longitude":763032704,"raw_latitude":99341968,"longitude_deg":76.3032704,"latitude_deg":9.9341968,"altitude":19,"angle":61,"satellites":47,"speed":29,"hex_longitude":"2d7af480","hex_latitude":"05ebd690","is_valid_coordinates":true} 
[2026-07-08 09:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571396096001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103695190723657728,"note":"Value kept but may cause issues"} 
[2026-07-08 09:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850769561864540160,"note":"Value kept but may cause issues"} 
[2026-07-08 09:11:08] 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-07-08 09:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783482028000,"timestamp_ms":1783482028000,"timestamp_seconds":1783482028,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd00fe0"} 
[2026-07-08 09:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-08 09:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571396096001,"66":13222,"156":206,"87":13824,"24":29,"16":103695190723657728,"45":8850769561864540160},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-08 09:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571396096001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:11:08] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 09:11:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103695190723657728,"km_value":103695190723657.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850769561864540160,"description":"Unknown IO ID 45"} 
[2026-07-08 09:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571396096001,"power":13222,"unknown_156":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8850769561864540160}} 
[2026-07-08 09:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":125287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449935,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:11:08] local.INFO: GPS data processed {"connection_id":125287,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:11:08] local.INFO: Acknowledgment sent {"connection_id":125287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:11:14] local.INFO: TCP Data received {"connection_id":125287,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd03ad8012d7b148005ebe6780014003e2f..."} 
[2026-07-08 09:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd03ad8012d7b148005ebe6780014003e2f..."} 
[2026-07-08 09:11:14] local.INFO: Processing buffer {"connection_id":125287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd03ad8012d7b148005ebe6780014003e2f..."} 
[2026-07-08 09:11:14] local.INFO: Packet analysis {"connection_id":125287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd0"} 
[2026-07-08 09:11:14] local.INFO: Extracted packet for processing {"connection_id":125287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd0"} 
[2026-07-08 09:11:14] local.INFO: GPS Element Parsed {"raw_longitude":763040896,"raw_latitude":99346040,"longitude_deg":76.3040896,"latitude_deg":9.934604,"altitude":20,"angle":62,"satellites":47,"speed":35,"hex_longitude":"2d7b1480","hex_latitude":"05ebe678","is_valid_coordinates":true} 
[2026-07-08 09:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571399168001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103695633105289216,"note":"Value kept but may cause issues"} 
[2026-07-08 09:11:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859847129864507392,"note":"Value kept but may cause issues"} 
[2026-07-08 09:11:14] 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-07-08 09:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783482039000,"timestamp_ms":1783482039000,"timestamp_seconds":1783482039,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd03ad8"} 
[2026-07-08 09:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:11:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-08 09:11:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:11:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":125287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":125287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":125287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:11:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571399168001,"66":13059,"156":206,"87":13824,"24":35,"16":103695633105289216,"45":8859847129864507392},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-08 09:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571399168001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:11:14] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 09:11:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103695633105289216,"km_value":103695633105289.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:11:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859847129864507392,"description":"Unknown IO ID 45"} 
[2026-07-08 09:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571399168001,"power":13059,"unknown_156":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8859847129864507392}} 
[2026-07-08 09:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":125287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449936,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:11:14] local.INFO: GPS data processed {"connection_id":125287,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:11:14] local.INFO: Acknowledgment sent {"connection_id":125287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:11:34] local.INFO: TCP Data received {"connection_id":125289,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fcee318012d7f9b4005afe0800009003430..."} 
[2026-07-08 09:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fcee318012d7f9b4005afe0800009003430..."} 
[2026-07-08 09:11:34] local.INFO: Processing buffer {"connection_id":125289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fcee318012d7f9b4005afe0800009003430..."} 
[2026-07-08 09:11:34] local.INFO: Packet analysis {"connection_id":125289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fce"} 
[2026-07-08 09:11:34] local.INFO: Extracted packet for processing {"connection_id":125289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fce"} 
[2026-07-08 09:11:34] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":48,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571302400001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783481951000,"timestamp_ms":1783481951000,"timestamp_seconds":1783481951,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fcee318"} 
[2026-07-08 09:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 09:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571302400001,"66":25321,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571302400001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:11:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:11:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571302400001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":125289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:11:34] local.INFO: GPS data processed {"connection_id":125289,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:11:34] local.INFO: Acknowledgment sent {"connection_id":125289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:11:47] local.INFO: TCP Data received {"connection_id":125193,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:11:47] local.INFO: Processing buffer {"connection_id":125193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:11:47] local.INFO: IMEI packet received {"connection_id":125193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":125193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:11:48] local.INFO: TCP Data received {"connection_id":125193,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:11:48] local.INFO: Processing buffer {"connection_id":125193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:11:48] local.INFO: IMEI packet received {"connection_id":125193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":125193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:11:52] local.INFO: TCP Data received {"connection_id":125193,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:11:52] local.INFO: Processing buffer {"connection_id":125193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:11:52] local.INFO: IMEI packet received {"connection_id":125193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":125193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:11:54] local.INFO: TCP Data received {"connection_id":125193,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd05e00012d7b358005ebf6480016003f30..."} 
[2026-07-08 09:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd05e00012d7b358005ebf6480016003f30..."} 
[2026-07-08 09:11:54] local.INFO: Processing buffer {"connection_id":125193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd05e00012d7b358005ebf6480016003f30..."} 
[2026-07-08 09:11:54] local.INFO: Packet analysis {"connection_id":125193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd0"} 
[2026-07-08 09:11:54] local.INFO: Extracted packet for processing {"connection_id":125193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd0"} 
[2026-07-08 09:11:54] local.INFO: GPS Element Parsed {"raw_longitude":763049344,"raw_latitude":99350088,"longitude_deg":76.3049344,"latitude_deg":9.9350088,"altitude":22,"angle":63,"satellites":48,"speed":47,"hex_longitude":"2d7b3580","hex_latitude":"05ebf648","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571401984001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103696079781888000,"note":"Value kept but may cause issues"} 
[2026-07-08 09:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868854329120290816,"note":"Value kept but may cause issues"} 
[2026-07-08 09:11:54] 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-07-08 09:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783482048000,"timestamp_ms":1783482048000,"timestamp_seconds":1783482048,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd05e00"} 
[2026-07-08 09:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:11:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 09:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162828311853,"note":"Value kept but may cause issues"} 
[2026-07-08 09:11:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 09:11:54] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3482253313,"note":"Value kept but may cause issues"} 
[2026-07-08 09:11:54] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2848456725,"note":"Value kept but may cause issues"} 
[2026-07-08 09:11:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765526222,"corrected_to":0} 
[2026-07-08 09:11:54] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3221613469,"note":"Value kept but may cause issues"} 
[2026-07-08 09:11:54] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3321941293,"note":"Value kept but may cause issues"} 
[2026-07-08 09:11:54] local.WARNING: Large IO value detected {"io_id":163,"raw_value":58079734643818508,"note":"Value kept but may cause issues"} 
[2026-07-08 09:11:54] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3952529408,"note":"Value kept but may cause issues"} 
[2026-07-08 09:11:54] local.INFO: IO Element Parsed {"io_data_count":47,"io_data_keys":[0,156,87,24,241,157,16,102,159,15,45,128,214,19,47,10,66,225,64,198,18,48,101,182,192,1,240,220,227,63,235,4,113,205,27,80,111,216,46,239,51,163,2,112,5,17,12],"length":486,"final_offset":616,"validated_count":47,"validation_warnings":[{"io_id":205,"original":765526222,"validated":0}]} 
[2026-07-08 09:11:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1441220252345237504,"timestamp_seconds":1441220252345237.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 09:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":125193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":125193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":125193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:11:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571401984001,"66":12982,"156":206,"87":13824,"24":47,"16":103696079781888000,"45":8868854329120290816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-08 09:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571401984001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:11:54] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 09:11:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103696079781888000,"km_value":103696079781888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868854329120290816,"description":"Unknown IO ID 45"} 
[2026-07-08 09:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571401984001,"power":12982,"unknown_156":206,"unknown_87":13824,"ignition":47,"odometer":null,"unknown_45":8868854329120290816}} 
[2026-07-08 09:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":125193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449938,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:11:54] local.INFO: GPS data processed {"connection_id":125193,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:11:54] local.INFO: Acknowledgment sent {"connection_id":125193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:12:01] local.INFO: TCP Data received {"connection_id":125194,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:12:01] local.INFO: Processing buffer {"connection_id":125194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:12:01] local.INFO: IMEI packet received {"connection_id":125194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":125194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:12:06] local.INFO: TCP Data received {"connection_id":125194,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:12:06] local.INFO: Processing buffer {"connection_id":125194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:12:06] local.INFO: IMEI packet received {"connection_id":125194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":125194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:12:07] local.INFO: TCP Data received {"connection_id":125194,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fcee318012d7f9b4005afe0800009003430..."} 
[2026-07-08 09:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fcee318012d7f9b4005afe0800009003430..."} 
[2026-07-08 09:12:07] local.INFO: Processing buffer {"connection_id":125194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fcee318012d7f9b4005afe0800009003430..."} 
[2026-07-08 09:12:07] local.INFO: Packet analysis {"connection_id":125194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fce"} 
[2026-07-08 09:12:07] local.INFO: Extracted packet for processing {"connection_id":125194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fce"} 
[2026-07-08 09:12:07] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":48,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571302400001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783481951000,"timestamp_ms":1783481951000,"timestamp_seconds":1783481951,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fcee318"} 
[2026-07-08 09:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 09:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571302400001,"66":25321,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571302400001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:12:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:12:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571302400001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":125194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:12:07] local.INFO: GPS data processed {"connection_id":125194,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:12:07] local.INFO: Acknowledgment sent {"connection_id":125194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:12:12] local.INFO: TCP Data received {"connection_id":125194,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fcee318012d7f9b4005afe0800009003430..."} 
[2026-07-08 09:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fcee318012d7f9b4005afe0800009003430..."} 
[2026-07-08 09:12:12] local.INFO: Processing buffer {"connection_id":125194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fcee318012d7f9b4005afe0800009003430..."} 
[2026-07-08 09:12:12] local.INFO: Packet analysis {"connection_id":125194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fce"} 
[2026-07-08 09:12:12] local.INFO: Extracted packet for processing {"connection_id":125194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fce"} 
[2026-07-08 09:12:12] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":48,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571302400001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783481951000,"timestamp_ms":1783481951000,"timestamp_seconds":1783481951,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fcee318"} 
[2026-07-08 09:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 09:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:12:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571302400001,"66":25321,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571302400001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:12:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:12:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571302400001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":125194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:12:12] local.INFO: GPS data processed {"connection_id":125194,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:12:12] local.INFO: Acknowledgment sent {"connection_id":125194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:12:25] local.INFO: TCP Data received {"connection_id":125193,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd07d40012d7b588005ec06b80017004130..."} 
[2026-07-08 09:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd07d40012d7b588005ec06b80017004130..."} 
[2026-07-08 09:12:25] local.INFO: Processing buffer {"connection_id":125193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd07d40012d7b588005ec06b80017004130..."} 
[2026-07-08 09:12:25] local.INFO: Packet analysis {"connection_id":125193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd0"} 
[2026-07-08 09:12:25] local.INFO: Extracted packet for processing {"connection_id":125193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd0"} 
[2026-07-08 09:12:25] local.INFO: GPS Element Parsed {"raw_longitude":763058304,"raw_latitude":99354296,"longitude_deg":76.3058304,"latitude_deg":9.9354296,"altitude":23,"angle":65,"satellites":48,"speed":38,"hex_longitude":"2d7b5880","hex_latitude":"05ec06b8","is_valid_coordinates":true} 
[2026-07-08 09:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571404288001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103696556523257856,"note":"Value kept but may cause issues"} 
[2026-07-08 09:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878143003352778752,"note":"Value kept but may cause issues"} 
[2026-07-08 09:12: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-07-08 09:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783482056000,"timestamp_ms":1783482056000,"timestamp_seconds":1783482056,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd07d40"} 
[2026-07-08 09:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:12:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-08 09:12:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:12:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":125193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":125193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":125193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:12:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571404288001,"66":12950,"156":206,"87":13824,"24":38,"16":103696556523257856,"45":8878143003352778752},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-08 09:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571404288001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:12:25] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 09:12:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103696556523257856,"km_value":103696556523257.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878143003352778752,"description":"Unknown IO ID 45"} 
[2026-07-08 09:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571404288001,"power":12950,"unknown_156":206,"unknown_87":13824,"ignition":38,"odometer":null,"unknown_45":8878143003352778752}} 
[2026-07-08 09:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":125193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449941,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:12:25] local.INFO: GPS data processed {"connection_id":125193,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:12:25] local.INFO: Acknowledgment sent {"connection_id":125193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:12:47] local.INFO: TCP Data received {"connection_id":125291,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125291,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:12:47] local.INFO: Processing buffer {"connection_id":125291,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:12:47] local.INFO: IMEI packet received {"connection_id":125291,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":125291,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:12:48] local.INFO: TCP Data received {"connection_id":125291,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125291,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:12:48] local.INFO: Processing buffer {"connection_id":125291,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:12:48] local.INFO: IMEI packet received {"connection_id":125291,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":125291,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:12:52] local.INFO: TCP Data received {"connection_id":125291,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125291,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:12:52] local.INFO: Processing buffer {"connection_id":125291,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:12:52] local.INFO: IMEI packet received {"connection_id":125291,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":125291,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:12:53] local.INFO: TCP Data received {"connection_id":125291,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd0ac20012d7b7a8005ec12600016004831..."} 
[2026-07-08 09:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd0ac20012d7b7a8005ec12600016004831..."} 
[2026-07-08 09:12:53] local.INFO: Processing buffer {"connection_id":125291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd0ac20012d7b7a8005ec12600016004831..."} 
[2026-07-08 09:12:53] local.INFO: Packet analysis {"connection_id":125291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd0"} 
[2026-07-08 09:12:53] local.INFO: Extracted packet for processing {"connection_id":125291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd0"} 
[2026-07-08 09:12:53] local.INFO: GPS Element Parsed {"raw_longitude":763067008,"raw_latitude":99357280,"longitude_deg":76.3067008,"latitude_deg":9.935728,"altitude":22,"angle":72,"satellites":49,"speed":22,"hex_longitude":"2d7b7a80","hex_latitude":"05ec1260","is_valid_coordinates":true} 
[2026-07-08 09:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571406336001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103696994609922048,"note":"Value kept but may cause issues"} 
[2026-07-08 09:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887994627538728960,"note":"Value kept but may cause issues"} 
[2026-07-08 09:12:53] 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-07-08 09:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783482068000,"timestamp_ms":1783482068000,"timestamp_seconds":1783482068,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd0ac20"} 
[2026-07-08 09:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:12:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-08 09:12:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:12:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:12:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571406336001,"66":12906,"156":206,"87":13824,"24":22,"16":103696994609922048,"45":8887994627538728960},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-08 09:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571406336001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:12:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 09:12:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103696994609922048,"km_value":103696994609922.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887994627538728960,"description":"Unknown IO ID 45"} 
[2026-07-08 09:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571406336001,"power":12906,"unknown_156":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8887994627538728960}} 
[2026-07-08 09:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":125291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449942,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:12:53] local.INFO: GPS data processed {"connection_id":125291,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:12:53] local.INFO: Acknowledgment sent {"connection_id":125291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:12:58] local.INFO: TCP Data received {"connection_id":125292,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:12:58] local.INFO: Processing buffer {"connection_id":125292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:12:58] local.INFO: IMEI packet received {"connection_id":125292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":125292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:13:01] local.INFO: TCP Data received {"connection_id":125292,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:13:01] local.INFO: Processing buffer {"connection_id":125292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:13:01] local.INFO: IMEI packet received {"connection_id":125292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":125292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:13:02] local.INFO: TCP Data received {"connection_id":125292,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fcee318012d7f9b4005afe0800009003430..."} 
[2026-07-08 09:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fcee318012d7f9b4005afe0800009003430..."} 
[2026-07-08 09:13:02] local.INFO: Processing buffer {"connection_id":125292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fcee318012d7f9b4005afe0800009003430..."} 
[2026-07-08 09:13:02] local.INFO: Packet analysis {"connection_id":125292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fce"} 
[2026-07-08 09:13:02] local.INFO: Extracted packet for processing {"connection_id":125292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fce"} 
[2026-07-08 09:13:02] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":48,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571302400001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783481951000,"timestamp_ms":1783481951000,"timestamp_seconds":1783481951,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fcee318"} 
[2026-07-08 09:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 09:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:13:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571302400001,"66":25321,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571302400001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:13:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:13:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571302400001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":125292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:13:02] local.INFO: GPS data processed {"connection_id":125292,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:13:02] local.INFO: Acknowledgment sent {"connection_id":125292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:13:07] local.INFO: TCP Data received {"connection_id":125292,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fcee318012d7f9b4005afe0800009003430..."} 
[2026-07-08 09:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fcee318012d7f9b4005afe0800009003430..."} 
[2026-07-08 09:13:07] local.INFO: Processing buffer {"connection_id":125292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fcee318012d7f9b4005afe0800009003430..."} 
[2026-07-08 09:13:07] local.INFO: Packet analysis {"connection_id":125292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fce"} 
[2026-07-08 09:13:07] local.INFO: Extracted packet for processing {"connection_id":125292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fce"} 
[2026-07-08 09:13:07] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":48,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571302400001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783481951000,"timestamp_ms":1783481951000,"timestamp_seconds":1783481951,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fcee318"} 
[2026-07-08 09:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 09:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571302400001,"66":25321,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571302400001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:13:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:13:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571302400001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":125292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:13:07] local.INFO: GPS data processed {"connection_id":125292,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:13:07] local.INFO: Acknowledgment sent {"connection_id":125292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:13:26] local.INFO: TCP Data received {"connection_id":125291,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd0dee8012d7b9d0005ec1cd00015004930..."} 
[2026-07-08 09:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd0dee8012d7b9d0005ec1cd00015004930..."} 
[2026-07-08 09:13:26] local.INFO: Processing buffer {"connection_id":125291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd0dee8012d7b9d0005ec1cd00015004930..."} 
[2026-07-08 09:13:26] local.INFO: Packet analysis {"connection_id":125291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd0"} 
[2026-07-08 09:13:26] local.INFO: Extracted packet for processing {"connection_id":125291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd0"} 
[2026-07-08 09:13:26] local.INFO: GPS Element Parsed {"raw_longitude":763075840,"raw_latitude":99359952,"longitude_deg":76.307584,"latitude_deg":9.9359952,"altitude":21,"angle":73,"satellites":48,"speed":34,"hex_longitude":"2d7b9d00","hex_latitude":"05ec1cd0","is_valid_coordinates":true} 
[2026-07-08 09:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571409408001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103697436991553536,"note":"Value kept but may cause issues"} 
[2026-07-08 09:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897564776747655168,"note":"Value kept but may cause issues"} 
[2026-07-08 09:13: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-07-08 09:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783482081000,"timestamp_ms":1783482081000,"timestamp_seconds":1783482081,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd0dee8"} 
[2026-07-08 09:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:13: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-07-08 09: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-07-08 09: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-07-08 09:13:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":125291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":125291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":125291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:13:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571409408001,"66":13135,"198":206,"87":13824,"24":34,"16":103697436991553536,"45":8897564776747655168},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-08 09:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571409408001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:13:26] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-08 09:13:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103697436991553536,"km_value":103697436991553.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897564776747655168,"description":"Unknown IO ID 45"} 
[2026-07-08 09:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571409408001,"power":13135,"unknown_198":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8897564776747655168}} 
[2026-07-08 09:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":125291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449945,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:13:26] local.INFO: GPS data processed {"connection_id":125291,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:13:26] local.INFO: Acknowledgment sent {"connection_id":125291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:13:38] local.INFO: TCP Data received {"connection_id":125292,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fcee318012d7f9b4005afe0800009003430..."} 
[2026-07-08 09:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fcee318012d7f9b4005afe0800009003430..."} 
[2026-07-08 09:13:38] local.INFO: Processing buffer {"connection_id":125292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fcee318012d7f9b4005afe0800009003430..."} 
[2026-07-08 09:13:38] local.INFO: Packet analysis {"connection_id":125292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fce"} 
[2026-07-08 09:13:38] local.INFO: Extracted packet for processing {"connection_id":125292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fce"} 
[2026-07-08 09:13:38] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":48,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571302400001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783481951000,"timestamp_ms":1783481951000,"timestamp_seconds":1783481951,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fcee318"} 
[2026-07-08 09:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 09:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571302400001,"66":25321,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571302400001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:13:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:13:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571302400001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":125292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:13:38] local.INFO: GPS data processed {"connection_id":125292,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:13:38] local.INFO: Acknowledgment sent {"connection_id":125292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:13:47] local.INFO: TCP Data received {"connection_id":125295,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125295,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:13:47] local.INFO: Processing buffer {"connection_id":125295,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:13:47] local.INFO: IMEI packet received {"connection_id":125295,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":125295,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:13:49] local.INFO: TCP Data received {"connection_id":125294,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125294,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:13:49] local.INFO: Processing buffer {"connection_id":125294,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:13:49] local.INFO: IMEI packet received {"connection_id":125294,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 09:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":125294,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:13:50] local.INFO: TCP Data received {"connection_id":125295,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125295,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:13:50] local.INFO: Processing buffer {"connection_id":125295,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:13:50] local.INFO: IMEI packet received {"connection_id":125295,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":125295,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:13:50] local.INFO: TCP Data received {"connection_id":125294,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125294,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:13:50] local.INFO: Processing buffer {"connection_id":125294,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:13:50] local.INFO: IMEI packet received {"connection_id":125294,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":125294,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:13:52] local.INFO: TCP Data received {"connection_id":125295,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125295,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:13:52] local.INFO: Processing buffer {"connection_id":125295,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:13:52] local.INFO: IMEI packet received {"connection_id":125295,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":125295,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:13:54] local.INFO: TCP Data received {"connection_id":125295,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd111b0012d7bbfc005ec2710001400482e..."} 
[2026-07-08 09:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd111b0012d7bbfc005ec2710001400482e..."} 
[2026-07-08 09:13:54] local.INFO: Processing buffer {"connection_id":125295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd111b0012d7bbfc005ec2710001400482e..."} 
[2026-07-08 09:13:54] local.INFO: Packet analysis {"connection_id":125295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd1"} 
[2026-07-08 09:13:54] local.INFO: Extracted packet for processing {"connection_id":125295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd1"} 
[2026-07-08 09:13:54] local.INFO: GPS Element Parsed {"raw_longitude":763084736,"raw_latitude":99362576,"longitude_deg":76.3084736,"latitude_deg":9.9362576,"altitude":20,"angle":72,"satellites":46,"speed":24,"hex_longitude":"2d7bbfc0","hex_latitude":"05ec2710","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571412736001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103697879373185024,"note":"Value kept but may cause issues"} 
[2026-07-08 09:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907275663444856832,"note":"Value kept but may cause issues"} 
[2026-07-08 09:13:54] 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-07-08 09:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783482094000,"timestamp_ms":1783482094000,"timestamp_seconds":1783482094,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd111b0"} 
[2026-07-08 09:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-08 09:13:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":125295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":125295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":125295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571412736001,"66":13243,"198":206,"87":13824,"24":24,"16":103697879373185024,"45":8907275663444856832},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-08 09:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571412736001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:13:54] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-08 09:13:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103697879373185024,"km_value":103697879373185.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907275663444856832,"description":"Unknown IO ID 45"} 
[2026-07-08 09:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571412736001,"power":13243,"unknown_198":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8907275663444856832}} 
[2026-07-08 09:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":125295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449947,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:13:54] local.INFO: GPS data processed {"connection_id":125295,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:13:54] local.INFO: Acknowledgment sent {"connection_id":125295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:13:55] local.INFO: TCP Data received {"connection_id":125294,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125294,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:13:55] local.INFO: Processing buffer {"connection_id":125294,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:13:55] local.INFO: IMEI packet received {"connection_id":125294,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":125294,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:13:56] local.INFO: TCP Data received {"connection_id":125294,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd2b3a8012d0a76800705e898001200b929..."} 
[2026-07-08 09:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd2b3a8012d0a76800705e898001200b929..."} 
[2026-07-08 09:13:56] local.INFO: Processing buffer {"connection_id":125294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd2b3a8012d0a76800705e898001200b929..."} 
[2026-07-08 09:13:56] local.INFO: Packet analysis {"connection_id":125294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd2"} 
[2026-07-08 09:13:56] local.INFO: Extracted packet for processing {"connection_id":125294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd2"} 
[2026-07-08 09:13:56] local.INFO: GPS Element Parsed {"raw_longitude":755660416,"raw_latitude":117827736,"longitude_deg":75.5660416,"latitude_deg":11.7827736,"altitude":18,"angle":185,"satellites":41,"speed":16,"hex_longitude":"2d0a7680","hex_latitude":"0705e898","is_valid_coordinates":true} 
[2026-07-08 09:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571440384001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23524223074959360,"note":"Value kept but may cause issues"} 
[2026-07-08 09:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753578911563958272,"note":"Value kept but may cause issues"} 
[2026-07-08 09:13:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783482201000,"timestamp_ms":1783482201000,"timestamp_seconds":1783482201,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd2b3a8"} 
[2026-07-08 09:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:13:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-08 09:13:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:13:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":125294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":125294,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":125294,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571440384001,"66":14428,"153":206,"94":10240,"24":16,"16":23524223074959360,"45":753578911563958272},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-08 09:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571440384001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:13:56] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-08 09:13:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 09:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23524223074959360,"km_value":23524223074959.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":753578911563958272,"description":"Unknown IO ID 45"} 
[2026-07-08 09:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571440384001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":753578911563958272}} 
[2026-07-08 09:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":125294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449948,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:13:56] local.INFO: GPS data processed {"connection_id":125294,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:13:56] local.INFO: Acknowledgment sent {"connection_id":125294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:13:56] local.INFO: TCP Data received {"connection_id":127287,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:13:56] local.INFO: Processing buffer {"connection_id":127287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:13:56] local.INFO: IMEI packet received {"connection_id":127287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":127287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:13:58] local.INFO: TCP Data received {"connection_id":125294,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd2bf60012d0a75800705e408001300c62a..."} 
[2026-07-08 09:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd2bf60012d0a75800705e408001300c62a..."} 
[2026-07-08 09:13:58] local.INFO: Processing buffer {"connection_id":125294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd2bf60012d0a75800705e408001300c62a..."} 
[2026-07-08 09:13:58] local.INFO: Packet analysis {"connection_id":125294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd2"} 
[2026-07-08 09:13:58] local.INFO: Extracted packet for processing {"connection_id":125294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd2"} 
[2026-07-08 09:13:58] local.INFO: GPS Element Parsed {"raw_longitude":755660160,"raw_latitude":117826568,"longitude_deg":75.566016,"latitude_deg":11.7826568,"altitude":19,"angle":198,"satellites":42,"speed":13,"hex_longitude":"2d0a7580","hex_latitude":"0705e408","is_valid_coordinates":true} 
[2026-07-08 09:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571443456001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23524278909534208,"note":"Value kept but may cause issues"} 
[2026-07-08 09:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753930755283392512,"note":"Value kept but may cause issues"} 
[2026-07-08 09:13:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783482204000,"timestamp_ms":1783482204000,"timestamp_seconds":1783482204,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd2bf60"} 
[2026-07-08 09:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:13:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 09:13:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":125294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":125294,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":125294,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571443456001,"66":14450,"153":206,"94":10240,"24":13,"16":23524278909534208,"45":753930755283392512},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-08 09:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571443456001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:13:58] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-08 09:13:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 09:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23524278909534208,"km_value":23524278909534.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":753930755283392512,"description":"Unknown IO ID 45"} 
[2026-07-08 09:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571443456001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":753930755283392512}} 
[2026-07-08 09:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":125294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449949,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:13:58] local.INFO: GPS data processed {"connection_id":125294,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:13:58] local.INFO: Acknowledgment sent {"connection_id":125294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:14:01] local.INFO: TCP Data received {"connection_id":127287,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:14:01] local.INFO: Processing buffer {"connection_id":127287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:14:01] local.INFO: IMEI packet received {"connection_id":127287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":127287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:14:02] local.INFO: TCP Data received {"connection_id":127287,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fcee318012d7f9b4005afe0800009003430..."} 
[2026-07-08 09:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fcee318012d7f9b4005afe0800009003430..."} 
[2026-07-08 09:14:02] local.INFO: Processing buffer {"connection_id":127287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fcee318012d7f9b4005afe0800009003430..."} 
[2026-07-08 09:14:02] local.INFO: Packet analysis {"connection_id":127287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fce"} 
[2026-07-08 09:14:02] local.INFO: Extracted packet for processing {"connection_id":127287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fce"} 
[2026-07-08 09:14:02] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":48,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571302400001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783481951000,"timestamp_ms":1783481951000,"timestamp_seconds":1783481951,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fcee318"} 
[2026-07-08 09:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 09:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:14:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571302400001,"66":25321,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571302400001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:14:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:14:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571302400001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":127287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:14:02] local.INFO: GPS data processed {"connection_id":127287,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:14:02] local.INFO: Acknowledgment sent {"connection_id":127287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:14:26] local.INFO: TCP Data received {"connection_id":125295,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd14090012d7be28005ec30180014004d2f..."} 
[2026-07-08 09:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd14090012d7be28005ec30180014004d2f..."} 
[2026-07-08 09:14:26] local.INFO: Processing buffer {"connection_id":125295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd14090012d7be28005ec30180014004d2f..."} 
[2026-07-08 09:14:26] local.INFO: Packet analysis {"connection_id":125295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd1"} 
[2026-07-08 09:14:26] local.INFO: Extracted packet for processing {"connection_id":125295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd1"} 
[2026-07-08 09:14:26] local.INFO: GPS Element Parsed {"raw_longitude":763093632,"raw_latitude":99364888,"longitude_deg":76.3093632,"latitude_deg":9.9364888,"altitude":20,"angle":77,"satellites":47,"speed":32,"hex_longitude":"2d7be280","hex_latitude":"05ec3018","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571416064001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103698317459849216,"note":"Value kept but may cause issues"} 
[2026-07-08 09:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917056918886223872,"note":"Value kept but may cause issues"} 
[2026-07-08 09:14: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-07-08 09:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783482106000,"timestamp_ms":1783482106000,"timestamp_seconds":1783482106,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd14090"} 
[2026-07-08 09:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:14: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-07-08 09: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-08 09:14: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-07-08 09: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-07-08 09:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":125295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":125295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":125295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571416064001,"66":13091,"198":206,"87":13824,"24":32,"16":103698317459849216,"45":8917056918886223872},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-08 09:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571416064001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:14:26] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-08 09:14:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103698317459849216,"km_value":103698317459849.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917056918886223872,"description":"Unknown IO ID 45"} 
[2026-07-08 09:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571416064001,"power":13091,"unknown_198":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8917056918886223872}} 
[2026-07-08 09:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":125295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449951,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:14:26] local.INFO: GPS data processed {"connection_id":125295,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:14:26] local.INFO: Acknowledgment sent {"connection_id":125295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:14:29] local.INFO: TCP Data received {"connection_id":125294,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd376f8012d0a72000705dfb8001401602b..."} 
[2026-07-08 09:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd376f8012d0a72000705dfb8001401602b..."} 
[2026-07-08 09:14:29] local.INFO: Processing buffer {"connection_id":125294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd376f8012d0a72000705dfb8001401602b..."} 
[2026-07-08 09:14:29] local.INFO: Packet analysis {"connection_id":125294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd3"} 
[2026-07-08 09:14:29] local.INFO: Extracted packet for processing {"connection_id":125294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd3"} 
[2026-07-08 09:14:29] local.INFO: GPS Element Parsed {"raw_longitude":755659264,"raw_latitude":117825464,"longitude_deg":75.5659264,"latitude_deg":11.7825464,"altitude":20,"angle":352,"satellites":43,"speed":0,"hex_longitude":"2d0a7200","hex_latitude":"0705dfb8","is_valid_coordinates":true} 
[2026-07-08 09:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:14:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571456000001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23524472183062528,"note":"Value kept but may cause issues"} 
[2026-07-08 09:14:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752664117887602688,"note":"Value kept but may cause issues"} 
[2026-07-08 09:14:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:14:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783482251000,"timestamp_ms":1783482251000,"timestamp_seconds":1783482251,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd376f8"} 
[2026-07-08 09:14:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:14:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 09:14:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:14:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:14:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":125294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":125294,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":125294,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:14:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:14:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:14:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571456000001,"66":14428,"153":206,"94":10240,"24":0,"16":23524472183062528,"45":752664117887602688},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-08 09:14:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:14:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:14:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571456000001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:14:29] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-08 09:14:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 09:14:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23524472183062528,"km_value":23524472183062.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:14:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":752664117887602688,"description":"Unknown IO ID 45"} 
[2026-07-08 09:14:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571456000001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":752664117887602688}} 
[2026-07-08 09:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":125294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449952,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:14:30] local.INFO: GPS data processed {"connection_id":125294,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:14:30] local.INFO: Acknowledgment sent {"connection_id":125294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:14:34] local.INFO: TCP Data received {"connection_id":127287,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fcee318012d7f9b4005afe0800009003430..."} 
[2026-07-08 09:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fcee318012d7f9b4005afe0800009003430..."} 
[2026-07-08 09:14:34] local.INFO: Processing buffer {"connection_id":127287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fcee318012d7f9b4005afe0800009003430..."} 
[2026-07-08 09:14:34] local.INFO: Packet analysis {"connection_id":127287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fce"} 
[2026-07-08 09:14:34] local.INFO: Extracted packet for processing {"connection_id":127287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fce"} 
[2026-07-08 09:14:34] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":48,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571302400001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783481951000,"timestamp_ms":1783481951000,"timestamp_seconds":1783481951,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fcee318"} 
[2026-07-08 09:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 09:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571302400001,"66":25321,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571302400001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:14:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:14:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571302400001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":127287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:14:34] local.INFO: GPS data processed {"connection_id":127287,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:14:34] local.INFO: Acknowledgment sent {"connection_id":127287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:14:41] local.INFO: TCP Data received {"connection_id":127288,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127288,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:14:41] local.INFO: Processing buffer {"connection_id":127288,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:14:41] local.INFO: IMEI packet received {"connection_id":127288,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 09:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":127288,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:14:45] local.INFO: TCP Data received {"connection_id":127288,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127288,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:14:45] local.INFO: Processing buffer {"connection_id":127288,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:14:45] local.INFO: IMEI packet received {"connection_id":127288,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":127288,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:14:50] local.INFO: TCP Data received {"connection_id":127288,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127288,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:14:50] local.INFO: Processing buffer {"connection_id":127288,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:14:50] local.INFO: IMEI packet received {"connection_id":127288,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":127288,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:14:51] local.INFO: TCP Data received {"connection_id":127288,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd37ae0012d0a72000705dfd8001401472b..."} 
[2026-07-08 09:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd37ae0012d0a72000705dfd8001401472b..."} 
[2026-07-08 09:14:51] local.INFO: Processing buffer {"connection_id":127288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd37ae0012d0a72000705dfd8001401472b..."} 
[2026-07-08 09:14:51] local.INFO: Packet analysis {"connection_id":127288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd3"} 
[2026-07-08 09:14:51] local.INFO: Extracted packet for processing {"connection_id":127288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd3"} 
[2026-07-08 09:14:51] local.INFO: GPS Element Parsed {"raw_longitude":755659264,"raw_latitude":117825496,"longitude_deg":75.5659264,"latitude_deg":11.7825496,"altitude":20,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d0a7200","hex_latitude":"0705dfd8","is_valid_coordinates":true} 
[2026-07-08 09:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571456256001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23524472183062528,"note":"Value kept but may cause issues"} 
[2026-07-08 09:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752664117887612928,"note":"Value kept but may cause issues"} 
[2026-07-08 09:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783482252000,"timestamp_ms":1783482252000,"timestamp_seconds":1783482252,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd37ae0"} 
[2026-07-08 09:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 09:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127288,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127288,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571456256001,"66":14407,"153":206,"94":10240,"24":0,"16":23524472183062528,"45":752664117887612928},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-08 09:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571456256001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:14:51] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-08 09:14:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 09:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23524472183062528,"km_value":23524472183062.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":752664117887612928,"description":"Unknown IO ID 45"} 
[2026-07-08 09:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571456256001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":752664117887612928}} 
[2026-07-08 09:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":127288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449954,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:14:51] local.INFO: GPS data processed {"connection_id":127288,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:14:51] local.INFO: Acknowledgment sent {"connection_id":127288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:14:52] local.INFO: TCP Data received {"connection_id":127288,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd39638012d0a72000705df40001400ad2b..."} 
[2026-07-08 09:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd39638012d0a72000705df40001400ad2b..."} 
[2026-07-08 09:14:52] local.INFO: Processing buffer {"connection_id":127288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd39638012d0a72000705df40001400ad2b..."} 
[2026-07-08 09:14:52] local.INFO: Packet analysis {"connection_id":127288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd3"} 
[2026-07-08 09:14:52] local.INFO: Extracted packet for processing {"connection_id":127288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd3"} 
[2026-07-08 09:14:52] local.INFO: GPS Element Parsed {"raw_longitude":755659264,"raw_latitude":117825344,"longitude_deg":75.5659264,"latitude_deg":11.7825344,"altitude":20,"angle":173,"satellites":43,"speed":6,"hex_longitude":"2d0a7200","hex_latitude":"0705df40","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571456512001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23524485067964416,"note":"Value kept but may cause issues"} 
[2026-07-08 09:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752664117887621120,"note":"Value kept but may cause issues"} 
[2026-07-08 09:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783482259000,"timestamp_ms":1783482259000,"timestamp_seconds":1783482259,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd39638"} 
[2026-07-08 09:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:14:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-08 09:14:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":127288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":127288,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":127288,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:14:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571456512001,"66":14515,"153":206,"94":10240,"24":6,"16":23524485067964416,"45":752664117887621120},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-08 09:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571456512001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:14:52] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-08 09:14:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 09:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23524485067964416,"km_value":23524485067964.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":752664117887621120,"description":"Unknown IO ID 45"} 
[2026-07-08 09:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571456512001,"power":14515,"unknown_153":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":752664117887621120}} 
[2026-07-08 09:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":127288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449955,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:14:52] local.INFO: GPS data processed {"connection_id":127288,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:14:52] local.INFO: Acknowledgment sent {"connection_id":127288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:14:53] local.INFO: TCP Data received {"connection_id":127289,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127289,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:14:53] local.INFO: Processing buffer {"connection_id":127289,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:14:53] local.INFO: IMEI packet received {"connection_id":127289,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":127289,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:14:53] local.INFO: TCP Data received {"connection_id":127289,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127289,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:14:53] local.INFO: Processing buffer {"connection_id":127289,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:14:53] local.INFO: IMEI packet received {"connection_id":127289,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":127289,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:14:56] local.INFO: TCP Data received {"connection_id":125195,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:14:56] local.INFO: Processing buffer {"connection_id":125195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:14:56] local.INFO: IMEI packet received {"connection_id":125195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":125195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:14:57] local.INFO: TCP Data received {"connection_id":127289,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127289,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:14:57] local.INFO: Processing buffer {"connection_id":127289,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:14:57] local.INFO: IMEI packet received {"connection_id":127289,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":127289,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:14:58] local.INFO: TCP Data received {"connection_id":127289,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd16b88012d7c090005ec34e80014005731..."} 
[2026-07-08 09:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd16b88012d7c090005ec34e80014005731..."} 
[2026-07-08 09:14:58] local.INFO: Processing buffer {"connection_id":127289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd16b88012d7c090005ec34e80014005731..."} 
[2026-07-08 09:14:58] local.INFO: Packet analysis {"connection_id":127289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd1"} 
[2026-07-08 09:14:58] local.INFO: Extracted packet for processing {"connection_id":127289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd1"} 
[2026-07-08 09:14:58] local.INFO: GPS Element Parsed {"raw_longitude":763103488,"raw_latitude":99366120,"longitude_deg":76.3103488,"latitude_deg":9.936612,"altitude":20,"angle":87,"satellites":49,"speed":38,"hex_longitude":"2d7c0900","hex_latitude":"05ec34e8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571419136001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103698794201219072,"note":"Value kept but may cause issues"} 
[2026-07-08 09:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926838174327511040,"note":"Value kept but may cause issues"} 
[2026-07-08 09:14:58] 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-07-08 09:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783482117000,"timestamp_ms":1783482117000,"timestamp_seconds":1783482117,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd16b88"} 
[2026-07-08 09:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":35,"data_length":795,"current_offset":136} 
[2026-07-08 09:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":127289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":127289,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":127289,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571419136001,"66":13059,"198":206,"87":13824,"24":38,"16":103698794201219072,"45":8926838174327511040},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-08 09:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571419136001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:14:58] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-08 09:14:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103698794201219072,"km_value":103698794201219.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926838174327511040,"description":"Unknown IO ID 45"} 
[2026-07-08 09:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571419136001,"power":13059,"unknown_198":206,"unknown_87":13824,"ignition":38,"odometer":null,"unknown_45":8926838174327511040}} 
[2026-07-08 09:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":127289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449956,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:14:58] local.INFO: GPS data processed {"connection_id":127289,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:14:58] local.INFO: Acknowledgment sent {"connection_id":127289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:15:01] local.INFO: TCP Data received {"connection_id":125195,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:15:01] local.INFO: Processing buffer {"connection_id":125195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:15:01] local.INFO: IMEI packet received {"connection_id":125195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":125195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:15:02] local.INFO: TCP Data received {"connection_id":125195,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd37ae0012d7f9b4005afe080000900342e..."} 
[2026-07-08 09:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd37ae0012d7f9b4005afe080000900342e..."} 
[2026-07-08 09:15:02] local.INFO: Processing buffer {"connection_id":125195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd37ae0012d7f9b4005afe080000900342e..."} 
[2026-07-08 09:15:02] local.INFO: Packet analysis {"connection_id":125195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd3"} 
[2026-07-08 09:15:02] local.INFO: Extracted packet for processing {"connection_id":125195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd3"} 
[2026-07-08 09:15:02] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":46,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571379456001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783482252000,"timestamp_ms":1783482252000,"timestamp_seconds":1783482252,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd37ae0"} 
[2026-07-08 09:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:15:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 09:15:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:15:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571379456001,"66":25299,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571379456001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:15:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:15:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571379456001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":125195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:15:02] local.INFO: GPS data processed {"connection_id":125195,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:15:02] local.INFO: Acknowledgment sent {"connection_id":125195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:15:03] local.INFO: TCP Data received {"connection_id":127289,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd19680012d7c2e8005ec36700012005730..."} 
[2026-07-08 09:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd19680012d7c2e8005ec36700012005730..."} 
[2026-07-08 09:15:03] local.INFO: Processing buffer {"connection_id":127289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd19680012d7c2e8005ec36700012005730..."} 
[2026-07-08 09:15:03] local.INFO: Packet analysis {"connection_id":127289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd1"} 
[2026-07-08 09:15:03] local.INFO: Extracted packet for processing {"connection_id":127289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd1"} 
[2026-07-08 09:15:03] local.INFO: GPS Element Parsed {"raw_longitude":763113088,"raw_latitude":99366512,"longitude_deg":76.3113088,"latitude_deg":9.9366512,"altitude":18,"angle":87,"satellites":48,"speed":31,"hex_longitude":"2d7c2e80","hex_latitude":"05ec3670","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571421952001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103699253762719744,"note":"Value kept but may cause issues"} 
[2026-07-08 09:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937674960931186688,"note":"Value kept but may cause issues"} 
[2026-07-08 09:15:03] 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-07-08 09:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783482128000,"timestamp_ms":1783482128000,"timestamp_seconds":1783482128,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd19680"} 
[2026-07-08 09:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 09:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303161721015613,"note":"Value kept but may cause issues"} 
[2026-07-08 09:15:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 09:15:03] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3500941313,"note":"Value kept but may cause issues"} 
[2026-07-08 09:15:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033633998,"corrected_to":0} 
[2026-07-08 09:15:03] local.WARNING: Large IO value detected {"io_id":88,"raw_value":2147871750,"note":"Value kept but may cause issues"} 
[2026-07-08 09:15:03] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2516634941,"note":"Value kept but may cause issues"} 
[2026-07-08 09:15:03] local.WARNING: Large IO value detected {"io_id":156,"raw_value":58079734643818543,"note":"Value kept but may cause issues"} 
[2026-07-08 09:15:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3958786048,"note":"Value kept but may cause issues"} 
[2026-07-08 09:15:03] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,198,87,24,241,157,16,105,159,64,45,128,48,20,47,10,66,17,192,39,46,104,222,1,240,79,227,63,236,4,113,205,22,125,88,184,239,50,156,2,112,5],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1033633998,"validated":0}]} 
[2026-07-08 09:15:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1441247748726063104,"timestamp_seconds":1441247748726063.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 09:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127289,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127289,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571421952001,"66":13091,"198":206,"87":13824,"24":31,"16":103699253762719744,"45":8937674960931186688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-08 09:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571421952001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:15:03] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-08 09:15:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103699253762719744,"km_value":103699253762719.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937674960931186688,"description":"Unknown IO ID 45"} 
[2026-07-08 09:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571421952001,"power":13091,"unknown_198":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8937674960931186688}} 
[2026-07-08 09:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":127289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449958,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:15:03] local.INFO: GPS data processed {"connection_id":127289,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:15:03] local.INFO: Acknowledgment sent {"connection_id":127289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:15:14] local.INFO: TCP Data received {"connection_id":125196,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125196,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:15:14] local.INFO: Processing buffer {"connection_id":125196,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:15:14] local.INFO: IMEI packet received {"connection_id":125196,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 09:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":125196,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:15:23] local.INFO: TCP Data received {"connection_id":127288,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd3e840012d0a75800705c948001500ab29..."} 
[2026-07-08 09:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd3e840012d0a75800705c948001500ab29..."} 
[2026-07-08 09:15:23] local.INFO: Processing buffer {"connection_id":127288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd3e840012d0a75800705c948001500ab29..."} 
[2026-07-08 09:15:23] local.INFO: Packet analysis {"connection_id":127288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd3"} 
[2026-07-08 09:15:23] local.INFO: Extracted packet for processing {"connection_id":127288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd3"} 
[2026-07-08 09:15:23] local.INFO: GPS Element Parsed {"raw_longitude":755660160,"raw_latitude":117819720,"longitude_deg":75.566016,"latitude_deg":11.781972,"altitude":21,"angle":171,"satellites":41,"speed":0,"hex_longitude":"2d0a7580","hex_latitude":"0705c948","is_valid_coordinates":true} 
[2026-07-08 09:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571458304001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23524768535805952,"note":"Value kept but may cause issues"} 
[2026-07-08 09:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752664117887582208,"note":"Value kept but may cause issues"} 
[2026-07-08 09:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783482280000,"timestamp_ms":1783482280000,"timestamp_seconds":1783482280,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd3e840"} 
[2026-07-08 09:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:15:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 09:15:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:15:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":127288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":127288,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":127288,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:15:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571458304001,"66":14374,"153":206,"94":10240,"24":0,"16":23524768535805952,"45":752664117887582208},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-08 09:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571458304001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:15:23] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-08 09:15:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 09:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23524768535805952,"km_value":23524768535805.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":752664117887582208,"description":"Unknown IO ID 45"} 
[2026-07-08 09:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571458304001,"power":14374,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":752664117887582208}} 
[2026-07-08 09:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":127288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449959,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:15:23] local.INFO: GPS data processed {"connection_id":127288,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:15:23] local.INFO: Acknowledgment sent {"connection_id":127288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:15:33] local.INFO: TCP Data received {"connection_id":125195,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd37ae0012d7f9b4005afe080000900342e..."} 
[2026-07-08 09:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd37ae0012d7f9b4005afe080000900342e..."} 
[2026-07-08 09:15:33] local.INFO: Processing buffer {"connection_id":125195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd37ae0012d7f9b4005afe080000900342e..."} 
[2026-07-08 09:15:33] local.INFO: Packet analysis {"connection_id":125195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd3"} 
[2026-07-08 09:15:33] local.INFO: Extracted packet for processing {"connection_id":125195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd3"} 
[2026-07-08 09:15:33] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":46,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571379456001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783482252000,"timestamp_ms":1783482252000,"timestamp_seconds":1783482252,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd37ae0"} 
[2026-07-08 09:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 09:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571379456001,"66":25299,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571379456001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:15:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:15:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571379456001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":125195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:15:33] local.INFO: GPS data processed {"connection_id":125195,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:15:33] local.INFO: Acknowledgment sent {"connection_id":125195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:15:41] local.INFO: TCP Data received {"connection_id":125296,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125296,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:15:41] local.INFO: Processing buffer {"connection_id":125296,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:15:41] local.INFO: IMEI packet received {"connection_id":125296,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 09:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":125296,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:15:45] local.INFO: TCP Data received {"connection_id":125296,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125296,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:15:45] local.INFO: Processing buffer {"connection_id":125296,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:15:45] local.INFO: IMEI packet received {"connection_id":125296,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":125296,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:15:47] local.INFO: TCP Data received {"connection_id":125297,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:15:47] local.INFO: Processing buffer {"connection_id":125297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:15:47] local.INFO: IMEI packet received {"connection_id":125297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":125297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:15:48] local.INFO: TCP Data received {"connection_id":125297,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:15:48] local.INFO: Processing buffer {"connection_id":125297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:15:48] local.INFO: IMEI packet received {"connection_id":125297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":125297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:15:49] local.INFO: TCP Data received {"connection_id":125296,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125296,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:15:49] local.INFO: Processing buffer {"connection_id":125296,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:15:49] local.INFO: IMEI packet received {"connection_id":125296,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":125296,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:15:50] local.INFO: TCP Data received {"connection_id":125296,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd40f50012d0a75800705c890001500c42a..."} 
[2026-07-08 09:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd40f50012d0a75800705c890001500c42a..."} 
[2026-07-08 09:15:50] local.INFO: Processing buffer {"connection_id":125296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd40f50012d0a75800705c890001500c42a..."} 
[2026-07-08 09:15:50] local.INFO: Packet analysis {"connection_id":125296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd4"} 
[2026-07-08 09:15:50] local.INFO: Extracted packet for processing {"connection_id":125296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd4"} 
[2026-07-08 09:15:50] local.INFO: GPS Element Parsed {"raw_longitude":755660160,"raw_latitude":117819536,"longitude_deg":75.566016,"latitude_deg":11.7819536,"altitude":21,"angle":196,"satellites":42,"speed":4,"hex_longitude":"2d0a7580","hex_latitude":"0705c890","is_valid_coordinates":true} 
[2026-07-08 09:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571463680001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23524777125740544,"note":"Value kept but may cause issues"} 
[2026-07-08 09:15:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753649280304629760,"note":"Value kept but may cause issues"} 
[2026-07-08 09:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783482290000,"timestamp_ms":1783482290000,"timestamp_seconds":1783482290,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd40f50"} 
[2026-07-08 09:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:15:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-08 09:15:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:15:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":125296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":125296,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":125296,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:15:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571463680001,"66":14439,"153":206,"94":10240,"24":4,"16":23524777125740544,"45":753649280304629760},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-08 09:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571463680001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:15:50] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-08 09:15:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 09:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23524777125740544,"km_value":23524777125740.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:15:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":753649280304629760,"description":"Unknown IO ID 45"} 
[2026-07-08 09:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571463680001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":753649280304629760}} 
[2026-07-08 09:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":125296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449961,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:15:50] local.INFO: GPS data processed {"connection_id":125296,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:15:50] local.INFO: Acknowledgment sent {"connection_id":125296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:15:52] local.INFO: TCP Data received {"connection_id":125297,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:15:52] local.INFO: Processing buffer {"connection_id":125297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:15:52] local.INFO: IMEI packet received {"connection_id":125297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":125297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:15:54] local.INFO: TCP Data received {"connection_id":125297,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd46540012d7d1a0005ec3df8000b00532c..."} 
[2026-07-08 09:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd46540012d7d1a0005ec3df8000b00532c..."} 
[2026-07-08 09:15:54] local.INFO: Processing buffer {"connection_id":125297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd46540012d7d1a0005ec3df8000b00532c..."} 
[2026-07-08 09:15:54] local.INFO: Packet analysis {"connection_id":125297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd4"} 
[2026-07-08 09:15:54] local.INFO: Extracted packet for processing {"connection_id":125297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd4"} 
[2026-07-08 09:15:54] local.INFO: GPS Element Parsed {"raw_longitude":763173376,"raw_latitude":99368440,"longitude_deg":76.3173376,"latitude_deg":9.936844,"altitude":11,"angle":83,"satellites":44,"speed":0,"hex_longitude":"2d7d1a00","hex_latitude":"05ec3df8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571466496001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103702135685775360,"note":"Value kept but may cause issues"} 
[2026-07-08 09:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014517629573789696,"note":"Value kept but may cause issues"} 
[2026-07-08 09:15: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-07-08 09:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783482312000,"timestamp_ms":1783482312000,"timestamp_seconds":1783482312,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd46540"} 
[2026-07-08 09:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:15:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 09:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163549732181,"note":"Value kept but may cause issues"} 
[2026-07-08 09:15:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 09:15:54] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3536781313,"note":"Value kept but may cause issues"} 
[2026-07-08 09:15:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-07-08 09:15:54] local.WARNING: Large IO value detected {"io_id":198,"raw_value":58079734643818521,"note":"Value kept but may cause issues"} 
[2026-07-08 09:15:54] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3963277312,"note":"Value kept but may cause issues"} 
[2026-07-08 09:15:54] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,110,87,24,241,157,16,108,159,193,45,61,11,10,66,111,64,13,46,29,1,240,215,227,63,236,4,113,205,152,228,47,239,52,198,2,112,5,25],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1439039694,"validated":0}]} 
[2026-07-08 09:15:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792724991450808320,"timestamp_seconds":792724991450808.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 09:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":125297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":125297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":125297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:15:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571466496001,"66":12765,"110":206,"87":13824,"24":0,"16":103702135685775360,"45":9014517629573789696},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571466496001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:15:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:15:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103702135685775360,"km_value":103702135685775.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014517629573789696,"description":"Unknown IO ID 45"} 
[2026-07-08 09:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571466496001,"power":12765,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9014517629573789696}} 
[2026-07-08 09:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":125297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449962,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:15:54] local.INFO: GPS data processed {"connection_id":125297,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:15:54] local.INFO: Acknowledgment sent {"connection_id":125297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:15:56] local.INFO: TCP Data received {"connection_id":127291,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:15:56] local.INFO: Processing buffer {"connection_id":127291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:15:56] local.INFO: IMEI packet received {"connection_id":127291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":127291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:15:57] local.INFO: TCP Data received {"connection_id":127290,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127290,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:15:57] local.INFO: Processing buffer {"connection_id":127290,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:15:57] local.INFO: IMEI packet received {"connection_id":127290,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 09:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":127290,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:16:01] local.INFO: TCP Data received {"connection_id":127291,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:16:01] local.INFO: Processing buffer {"connection_id":127291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:16:01] local.INFO: IMEI packet received {"connection_id":127291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":127291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:16:06] local.INFO: TCP Data received {"connection_id":127291,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd37ae0012d7f9b4005afe080000900342e..."} 
[2026-07-08 09:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd37ae0012d7f9b4005afe080000900342e..."} 
[2026-07-08 09:16:06] local.INFO: Processing buffer {"connection_id":127291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd37ae0012d7f9b4005afe080000900342e..."} 
[2026-07-08 09:16:06] local.INFO: Packet analysis {"connection_id":127291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd3"} 
[2026-07-08 09:16:06] local.INFO: Extracted packet for processing {"connection_id":127291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd3"} 
[2026-07-08 09:16:06] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":46,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571379456001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783482252000,"timestamp_ms":1783482252000,"timestamp_seconds":1783482252,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd37ae0"} 
[2026-07-08 09:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 09:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571379456001,"66":25299,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571379456001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:16:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:16:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571379456001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":127291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:16:06] local.INFO: GPS data processed {"connection_id":127291,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:16:06] local.INFO: Acknowledgment sent {"connection_id":127291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:16:23] local.INFO: TCP Data received {"connection_id":125296,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd41720012d0a75c00705c750001500b52a..."} 
[2026-07-08 09:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd41720012d0a75c00705c750001500b52a..."} 
[2026-07-08 09:16:23] local.INFO: Processing buffer {"connection_id":125296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd41720012d0a75c00705c750001500b52a..."} 
[2026-07-08 09:16:23] local.INFO: Packet analysis {"connection_id":125296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd4"} 
[2026-07-08 09:16:23] local.INFO: Extracted packet for processing {"connection_id":125296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd4"} 
[2026-07-08 09:16:23] local.INFO: GPS Element Parsed {"raw_longitude":755660224,"raw_latitude":117819216,"longitude_deg":75.5660224,"latitude_deg":11.7819216,"altitude":21,"angle":181,"satellites":42,"speed":5,"hex_longitude":"2d0a75c0","hex_latitude":"0705c750","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571466240001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23524794305609728,"note":"Value kept but may cause issues"} 
[2026-07-08 09:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753649280304582656,"note":"Value kept but may cause issues"} 
[2026-07-08 09:16:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783482292000,"timestamp_ms":1783482292000,"timestamp_seconds":1783482292,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd41720"} 
[2026-07-08 09:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:16:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-08 09:16:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":125296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":125296,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":125296,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:16:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571466240001,"66":14352,"153":206,"94":10240,"24":5,"16":23524794305609728,"45":753649280304582656},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-08 09:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571466240001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:16:23] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-08 09:16:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 09:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23524794305609728,"km_value":23524794305609.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":753649280304582656,"description":"Unknown IO ID 45"} 
[2026-07-08 09:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571466240001,"power":14352,"unknown_153":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":753649280304582656}} 
[2026-07-08 09:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":125296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449964,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:16:23] local.INFO: GPS data processed {"connection_id":125296,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:16:23] local.INFO: Acknowledgment sent {"connection_id":125296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:16:25] local.INFO: TCP Data received {"connection_id":125297,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd49808012d7d1c4005ec3f28000d00442c..."} 
[2026-07-08 09:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd49808012d7d1c4005ec3f28000d00442c..."} 
[2026-07-08 09:16:25] local.INFO: Processing buffer {"connection_id":125297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd49808012d7d1c4005ec3f28000d00442c..."} 
[2026-07-08 09:16:25] local.INFO: Packet analysis {"connection_id":125297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd4"} 
[2026-07-08 09:16:25] local.INFO: Extracted packet for processing {"connection_id":125297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd4"} 
[2026-07-08 09:16:25] local.INFO: GPS Element Parsed {"raw_longitude":763173952,"raw_latitude":99368744,"longitude_deg":76.3173952,"latitude_deg":9.9368744,"altitude":13,"angle":68,"satellites":44,"speed":2,"hex_longitude":"2d7d1c40","hex_latitude":"05ec3f28","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571471872001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103702170045513728,"note":"Value kept but may cause issues"} 
[2026-07-08 09:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014517629573789696,"note":"Value kept but may cause issues"} 
[2026-07-08 09:16: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-07-08 09:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783482325000,"timestamp_ms":1783482325000,"timestamp_seconds":1783482325,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd49808"} 
[2026-07-08 09:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:16:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-08 09:16:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":125297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":125297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":125297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:16:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571471872001,"66":12819,"110":206,"87":13824,"24":2,"16":103702170045513728,"45":9014517629573789696},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571471872001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:16:25] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:16:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103702170045513728,"km_value":103702170045513.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014517629573789696,"description":"Unknown IO ID 45"} 
[2026-07-08 09:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571471872001,"power":12819,"unknown_110":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9014517629573789696}} 
[2026-07-08 09:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":125297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449965,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:16:25] local.INFO: GPS data processed {"connection_id":125297,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:16:25] local.INFO: Acknowledgment sent {"connection_id":125297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:16:37] local.INFO: TCP Data received {"connection_id":127291,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd37ae0012d7f9b4005afe080000900342e..."} 
[2026-07-08 09:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd37ae0012d7f9b4005afe080000900342e..."} 
[2026-07-08 09:16:37] local.INFO: Processing buffer {"connection_id":127291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd37ae0012d7f9b4005afe080000900342e..."} 
[2026-07-08 09:16:37] local.INFO: Packet analysis {"connection_id":127291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd3"} 
[2026-07-08 09:16:37] local.INFO: Extracted packet for processing {"connection_id":127291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd3"} 
[2026-07-08 09:16:37] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":46,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571379456001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783482252000,"timestamp_ms":1783482252000,"timestamp_seconds":1783482252,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd37ae0"} 
[2026-07-08 09:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 09:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571379456001,"66":25299,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571379456001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:16:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:16:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571379456001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":127291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:16:37] local.INFO: GPS data processed {"connection_id":127291,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:16:37] local.INFO: Acknowledgment sent {"connection_id":127291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:16:45] local.INFO: TCP Data received {"connection_id":126016,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126016,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:16:45] local.INFO: Processing buffer {"connection_id":126016,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:16:45] local.INFO: IMEI packet received {"connection_id":126016,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 09:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":126016,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:16:45] local.INFO: TCP Data received {"connection_id":126016,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126016,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:16:45] local.INFO: Processing buffer {"connection_id":126016,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:16:45] local.INFO: IMEI packet received {"connection_id":126016,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":126016,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:16:46] local.INFO: TCP Data received {"connection_id":126017,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126017,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:16:46] local.INFO: Processing buffer {"connection_id":126017,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:16:46] local.INFO: IMEI packet received {"connection_id":126017,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":126017,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:16:47] local.INFO: TCP Data received {"connection_id":126017,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126017,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:16:47] local.INFO: Processing buffer {"connection_id":126017,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:16:47] local.INFO: IMEI packet received {"connection_id":126017,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":126017,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:16:49] local.INFO: TCP Data received {"connection_id":126017,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126017,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:16:49] local.INFO: Processing buffer {"connection_id":126017,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:16:49] local.INFO: IMEI packet received {"connection_id":126017,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":126017,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:16:50] local.INFO: TCP Data received {"connection_id":126017,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126017,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:16:50] local.INFO: Processing buffer {"connection_id":126017,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:16:50] local.INFO: IMEI packet received {"connection_id":126017,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":126017,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:16:50] local.INFO: TCP Data received {"connection_id":126016,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126016,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:16:50] local.INFO: Processing buffer {"connection_id":126016,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:16:50] local.INFO: IMEI packet received {"connection_id":126016,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":126016,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:17:00] local.INFO: TCP Data received {"connection_id":126016,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd41b08012d0a75c00705c660001500aa2a..."} 
[2026-07-08 09:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd41b08012d0a75c00705c660001500aa2a..."} 
[2026-07-08 09:17:00] local.INFO: Processing buffer {"connection_id":126016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd41b08012d0a75c00705c660001500aa2a..."} 
[2026-07-08 09:17:00] local.INFO: Packet analysis {"connection_id":126016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd4"} 
[2026-07-08 09:17:00] local.INFO: Extracted packet for processing {"connection_id":126016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd4"} 
[2026-07-08 09:17:00] local.INFO: GPS Element Parsed {"raw_longitude":755660224,"raw_latitude":117818976,"longitude_deg":75.5660224,"latitude_deg":11.7818976,"altitude":21,"angle":170,"satellites":42,"speed":10,"hex_longitude":"2d0a75c0","hex_latitude":"0705c660","is_valid_coordinates":true} 
[2026-07-08 09:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571466752001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23524802895544320,"note":"Value kept but may cause issues"} 
[2026-07-08 09:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753719649048678400,"note":"Value kept but may cause issues"} 
[2026-07-08 09:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783482293000,"timestamp_ms":1783482293000,"timestamp_seconds":1783482293,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd41b08"} 
[2026-07-08 09:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:17: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":16,"data_length":795,"current_offset":136} 
[2026-07-08 09:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733146368,"note":"Value kept but may cause issues"} 
[2026-07-08 09:17:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 09:17:00] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":36864,"corrected_to":0} 
[2026-07-08 09:17:00] local.WARNING: Large IO value detected {"io_id":10,"raw_value":8214573442126053396,"note":"Value kept but may cause issues"} 
[2026-07-08 09:17:00] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-08 09:17:00] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503958582329344,"note":"Value kept but may cause issues"} 
[2026-07-08 09:17:00] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3548045313,"note":"Value kept but may cause issues"} 
[2026-07-08 09:17:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3755474964,"note":"Value kept but may cause issues"} 
[2026-07-08 09:17:00] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639878905227161,"note":"Value kept but may cause issues"} 
[2026-07-08 09:17:00] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6557504944541597952,"note":"Value kept but may cause issues"} 
[2026-07-08 09:17:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1738080462,"corrected_to":0} 
[2026-07-08 09:17:00] local.WARNING: Large IO value detected {"io_id":118,"raw_value":4160826634,"note":"Value kept but may cause issues"} 
[2026-07-08 09:17:00] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-08 09:17:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2472673280,"note":"Value kept but may cause issues"} 
[2026-07-08 09:17:00] local.WARNING: Large IO value detected {"io_id":40,"raw_value":84735452732917215,"note":"Value kept but may cause issues"} 
[2026-07-08 09:17:00] local.WARNING: Large IO value detected {"io_id":96,"raw_value":5629624809684992,"note":"Value kept but may cause issues"} 
[2026-07-08 09:17:00] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,153,94,24,241,157,16,147,159,15,45,128,200,21,42,10,66,232,201,41,150,1,240,179,227,63,5,4,113,205,118,114,184,43,239,56,2,83,7,20,206,40,96],"length":628,"final_offset":758,"validated_count":43,"validation_warnings":[{"io_id":200,"original":36864,"validated":0},{"io_id":205,"original":1738080462,"validated":0}]} 
[2026-07-08 09:17:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1513408666790068224,"timestamp_seconds":1513408666790068.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 09:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126016,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126016,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571466752001,"66":14352,"153":206,"94":10240,"24":10,"16":23524802895544320,"45":753719649048678400},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-08 09:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571466752001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:17:00] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-08 09:17:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 09:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23524802895544320,"km_value":23524802895544.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":753719649048678400,"description":"Unknown IO ID 45"} 
[2026-07-08 09:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571466752001,"power":14352,"unknown_153":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":753719649048678400}} 
[2026-07-08 09:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":126016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449967,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:17:00] local.INFO: GPS data processed {"connection_id":126016,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:17:00] local.INFO: Acknowledgment sent {"connection_id":126016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:17:01] local.INFO: TCP Data received {"connection_id":125298,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:17:01] local.INFO: Processing buffer {"connection_id":125298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:17:01] local.INFO: IMEI packet received {"connection_id":125298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":125298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:17:06] local.INFO: TCP Data received {"connection_id":125298,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:17:06] local.INFO: Processing buffer {"connection_id":125298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:17:06] local.INFO: IMEI packet received {"connection_id":125298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":125298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:17:07] local.INFO: TCP Data received {"connection_id":125298,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd37ae0012d7f9b4005afe080000900342e..."} 
[2026-07-08 09:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd37ae0012d7f9b4005afe080000900342e..."} 
[2026-07-08 09:17:07] local.INFO: Processing buffer {"connection_id":125298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd37ae0012d7f9b4005afe080000900342e..."} 
[2026-07-08 09:17:07] local.INFO: Packet analysis {"connection_id":125298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd3"} 
[2026-07-08 09:17:07] local.INFO: Extracted packet for processing {"connection_id":125298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd3"} 
[2026-07-08 09:17:07] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":46,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571379456001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783482252000,"timestamp_ms":1783482252000,"timestamp_seconds":1783482252,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd37ae0"} 
[2026-07-08 09:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 09:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571379456001,"66":25299,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571379456001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:17:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:17:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571379456001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":125298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:17:07] local.INFO: GPS data processed {"connection_id":125298,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:17:07] local.INFO: Acknowledgment sent {"connection_id":125298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:17:12] local.INFO: TCP Data received {"connection_id":125298,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd37ae0012d7f9b4005afe080000900342e..."} 
[2026-07-08 09:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd37ae0012d7f9b4005afe080000900342e..."} 
[2026-07-08 09:17:12] local.INFO: Processing buffer {"connection_id":125298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd37ae0012d7f9b4005afe080000900342e..."} 
[2026-07-08 09:17:12] local.INFO: Packet analysis {"connection_id":125298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd3"} 
[2026-07-08 09:17:12] local.INFO: Extracted packet for processing {"connection_id":125298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd3"} 
[2026-07-08 09:17:12] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":46,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571379456001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783482252000,"timestamp_ms":1783482252000,"timestamp_seconds":1783482252,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd37ae0"} 
[2026-07-08 09:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 09:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571379456001,"66":25299,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571379456001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:17:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:17:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571379456001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":125298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:17:12] local.INFO: GPS data processed {"connection_id":125298,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:17:12] local.INFO: Acknowledgment sent {"connection_id":125298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:17:45] local.INFO: TCP Data received {"connection_id":125198,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125198,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:17:45] local.INFO: Processing buffer {"connection_id":125198,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:17:45] local.INFO: IMEI packet received {"connection_id":125198,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 09:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":125198,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:17:50] local.INFO: TCP Data received {"connection_id":125198,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125198,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:17:50] local.INFO: Processing buffer {"connection_id":125198,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:17:50] local.INFO: IMEI packet received {"connection_id":125198,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":125198,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:17:51] local.INFO: TCP Data received {"connection_id":125198,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd645b8012d0a4cc007057940000f002b27..."} 
[2026-07-08 09:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd645b8012d0a4cc007057940000f002b27..."} 
[2026-07-08 09:17:51] local.INFO: Processing buffer {"connection_id":125198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd645b8012d0a4cc007057940000f002b27..."} 
[2026-07-08 09:17:51] local.INFO: Packet analysis {"connection_id":125198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd6"} 
[2026-07-08 09:17:51] local.INFO: Extracted packet for processing {"connection_id":125198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd6"} 
[2026-07-08 09:17:51] local.INFO: GPS Element Parsed {"raw_longitude":755649728,"raw_latitude":117799232,"longitude_deg":75.5649728,"latitude_deg":11.7799232,"altitude":15,"angle":43,"satellites":39,"speed":0,"hex_longitude":"2d0a4cc0","hex_latitude":"07057940","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571499776001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23526207349850112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":741405118812354560,"note":"Value kept but may cause issues"} 
[2026-07-08 09:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783482435000,"timestamp_ms":1783482435000,"timestamp_seconds":1783482435,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd645b8"} 
[2026-07-08 09:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-08 09:17: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-07-08 09: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-07-08 09:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125198,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125198,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571499776001,"66":14548,"177":206,"94":10240,"24":0,"16":23526207349850112,"45":741405118812354560},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-08 09:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571499776001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:17:51] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-08 09:17:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 09:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23526207349850112,"km_value":23526207349850.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":741405118812354560,"description":"Unknown IO ID 45"} 
[2026-07-08 09:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571499776001,"power":14548,"unknown_177":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":741405118812354560}} 
[2026-07-08 09:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":125198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449970,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:17:51] local.INFO: GPS data processed {"connection_id":125198,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:17:51] local.INFO: Acknowledgment sent {"connection_id":125198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:17:56] local.INFO: TCP Data received {"connection_id":125299,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:17:56] local.INFO: Processing buffer {"connection_id":125299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:17:56] local.INFO: IMEI packet received {"connection_id":125299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":125299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:18:01] local.INFO: TCP Data received {"connection_id":125299,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:18:01] local.INFO: Processing buffer {"connection_id":125299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:18:01] local.INFO: IMEI packet received {"connection_id":125299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":125299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:18:02] local.INFO: TCP Data received {"connection_id":125299,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd37ae0012d7f9b4005afe080000900342e..."} 
[2026-07-08 09:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd37ae0012d7f9b4005afe080000900342e..."} 
[2026-07-08 09:18:02] local.INFO: Processing buffer {"connection_id":125299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd37ae0012d7f9b4005afe080000900342e..."} 
[2026-07-08 09:18:02] local.INFO: Packet analysis {"connection_id":125299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd3"} 
[2026-07-08 09:18:02] local.INFO: Extracted packet for processing {"connection_id":125299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd3"} 
[2026-07-08 09:18:02] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":46,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571379456001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783482252000,"timestamp_ms":1783482252000,"timestamp_seconds":1783482252,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd37ae0"} 
[2026-07-08 09:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 09:18:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:18:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571379456001,"66":25299,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571379456001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:18:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:18:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571379456001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":125299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:18:02] local.INFO: GPS data processed {"connection_id":125299,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:18:02] local.INFO: Acknowledgment sent {"connection_id":125299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:18:22] local.INFO: TCP Data received {"connection_id":125198,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd64d88012d0a4d0007057988000f003e27..."} 
[2026-07-08 09:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd64d88012d0a4d0007057988000f003e27..."} 
[2026-07-08 09:18:22] local.INFO: Processing buffer {"connection_id":125198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd64d88012d0a4d0007057988000f003e27..."} 
[2026-07-08 09:18:22] local.INFO: Packet analysis {"connection_id":125198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd6"} 
[2026-07-08 09:18:22] local.INFO: Extracted packet for processing {"connection_id":125198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd6"} 
[2026-07-08 09:18:22] local.INFO: GPS Element Parsed {"raw_longitude":755649792,"raw_latitude":117799304,"longitude_deg":75.5649792,"latitude_deg":11.7799304,"altitude":15,"angle":62,"satellites":39,"speed":1,"hex_longitude":"2d0a4d00","hex_latitude":"07057988","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571503360001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23526211644817408,"note":"Value kept but may cause issues"} 
[2026-07-08 09:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":742179174998425600,"note":"Value kept but may cause issues"} 
[2026-07-08 09:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783482437000,"timestamp_ms":1783482437000,"timestamp_seconds":1783482437,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd64d88"} 
[2026-07-08 09:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:18: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-07-08 09: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-08 09:18:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125198,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125198,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571503360001,"66":14548,"177":206,"94":10240,"24":1,"16":23526211644817408,"45":742179174998425600},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-08 09:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571503360001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:18:22] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-08 09:18:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 09:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23526211644817408,"km_value":23526211644817.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":742179174998425600,"description":"Unknown IO ID 45"} 
[2026-07-08 09:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571503360001,"power":14548,"unknown_177":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":742179174998425600}} 
[2026-07-08 09:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":125198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449972,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:18:22] local.INFO: GPS data processed {"connection_id":125198,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:18:22] local.INFO: Acknowledgment sent {"connection_id":125198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:18:33] local.INFO: TCP Data received {"connection_id":125299,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd37ae0012d7f9b4005afe080000900342e..."} 
[2026-07-08 09:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd37ae0012d7f9b4005afe080000900342e..."} 
[2026-07-08 09:18:33] local.INFO: Processing buffer {"connection_id":125299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd37ae0012d7f9b4005afe080000900342e..."} 
[2026-07-08 09:18:33] local.INFO: Packet analysis {"connection_id":125299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd3"} 
[2026-07-08 09:18:33] local.INFO: Extracted packet for processing {"connection_id":125299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd3"} 
[2026-07-08 09:18:33] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":46,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571379456001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783482252000,"timestamp_ms":1783482252000,"timestamp_seconds":1783482252,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd37ae0"} 
[2026-07-08 09:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 09:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571379456001,"66":25299,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571379456001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:18:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:18:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571379456001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":125299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:18:33] local.INFO: GPS data processed {"connection_id":125299,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:18:33] local.INFO: Acknowledgment sent {"connection_id":125299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:18:45] local.INFO: TCP Data received {"connection_id":125301,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125301,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:18:45] local.INFO: Processing buffer {"connection_id":125301,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:18:45] local.INFO: IMEI packet received {"connection_id":125301,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 09:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":125301,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:18:47] local.INFO: TCP Data received {"connection_id":125301,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125301,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:18:47] local.INFO: Processing buffer {"connection_id":125301,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:18:47] local.INFO: IMEI packet received {"connection_id":125301,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":125301,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:18:52] local.INFO: TCP Data received {"connection_id":125301,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125301,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:18:52] local.INFO: Processing buffer {"connection_id":125301,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:18:52] local.INFO: IMEI packet received {"connection_id":125301,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":125301,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:18:56] local.INFO: TCP Data received {"connection_id":125301,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd69ba8012d0a4d8007057a00000f003c29..."} 
[2026-07-08 09:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd69ba8012d0a4d8007057a00000f003c29..."} 
[2026-07-08 09:18:56] local.INFO: Processing buffer {"connection_id":125301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd69ba8012d0a4d8007057a00000f003c29..."} 
[2026-07-08 09:18:56] local.INFO: Packet analysis {"connection_id":125301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd6"} 
[2026-07-08 09:18:56] local.INFO: Extracted packet for processing {"connection_id":125301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd6"} 
[2026-07-08 09:18:56] local.INFO: GPS Element Parsed {"raw_longitude":755649920,"raw_latitude":117799424,"longitude_deg":75.564992,"latitude_deg":11.7799424,"altitude":15,"angle":60,"satellites":41,"speed":0,"hex_longitude":"2d0a4d80","hex_latitude":"07057a00","is_valid_coordinates":true} 
[2026-07-08 09:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571503872001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23526224529719296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":742249543742621696,"note":"Value kept but may cause issues"} 
[2026-07-08 09:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783482457000,"timestamp_ms":1783482457000,"timestamp_seconds":1783482457,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd69ba8"} 
[2026-07-08 09:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:18: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-07-08 09: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-08 09:18:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:18:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":125301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":125301,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":125301,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571503872001,"66":14374,"177":206,"94":10240,"24":0,"16":23526224529719296,"45":742249543742621696},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-08 09:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571503872001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:18:56] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-08 09:18:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 09:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23526224529719296,"km_value":23526224529719.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":742249543742621696,"description":"Unknown IO ID 45"} 
[2026-07-08 09:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571503872001,"power":14374,"unknown_177":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":742249543742621696}} 
[2026-07-08 09:18:56] local.INFO: TCP Data received {"connection_id":125199,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:18:56] local.INFO: Processing buffer {"connection_id":125199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:18:56] local.INFO: IMEI packet received {"connection_id":125199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":125199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":125301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449974,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:18:56] local.INFO: GPS data processed {"connection_id":125301,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:18:56] local.INFO: Acknowledgment sent {"connection_id":125301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:19:01] local.INFO: TCP Data received {"connection_id":125199,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:19:01] local.INFO: Processing buffer {"connection_id":125199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:19:01] local.INFO: IMEI packet received {"connection_id":125199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":125199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:19:02] local.INFO: TCP Data received {"connection_id":125199,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd37ae0012d7f9b4005afe080000900342e..."} 
[2026-07-08 09:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd37ae0012d7f9b4005afe080000900342e..."} 
[2026-07-08 09:19:02] local.INFO: Processing buffer {"connection_id":125199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd37ae0012d7f9b4005afe080000900342e..."} 
[2026-07-08 09:19:02] local.INFO: Packet analysis {"connection_id":125199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd3"} 
[2026-07-08 09:19:02] local.INFO: Extracted packet for processing {"connection_id":125199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd3"} 
[2026-07-08 09:19:02] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":46,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571379456001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783482252000,"timestamp_ms":1783482252000,"timestamp_seconds":1783482252,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd37ae0"} 
[2026-07-08 09:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:19:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 09:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571379456001,"66":25299,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571379456001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:19:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:19:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571379456001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":125199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:19:02] local.INFO: GPS data processed {"connection_id":125199,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:19:02] local.INFO: Acknowledgment sent {"connection_id":125199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:19:28] local.INFO: TCP Data received {"connection_id":125301,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd6da28012d0a4ec007057c100010014b29..."} 
[2026-07-08 09:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd6da28012d0a4ec007057c100010014b29..."} 
[2026-07-08 09:19:28] local.INFO: Processing buffer {"connection_id":125301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd6da28012d0a4ec007057c100010014b29..."} 
[2026-07-08 09:19:28] local.INFO: Packet analysis {"connection_id":125301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd6"} 
[2026-07-08 09:19:28] local.INFO: Extracted packet for processing {"connection_id":125301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd6"} 
[2026-07-08 09:19:28] local.INFO: GPS Element Parsed {"raw_longitude":755650240,"raw_latitude":117799952,"longitude_deg":75.565024,"latitude_deg":11.7799952,"altitude":16,"angle":331,"satellites":41,"speed":7,"hex_longitude":"2d0a4ec0","hex_latitude":"07057c10","is_valid_coordinates":true} 
[2026-07-08 09:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571508992001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23526250299523072,"note":"Value kept but may cause issues"} 
[2026-07-08 09:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":742390281231007744,"note":"Value kept but may cause issues"} 
[2026-07-08 09:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783482473000,"timestamp_ms":1783482473000,"timestamp_seconds":1783482473,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd6da28"} 
[2026-07-08 09:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:19: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-07-08 09:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-08 09:19: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-07-08 09:19:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":125301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":125301,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":125301,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571508992001,"66":13852,"177":206,"94":10240,"24":7,"16":23526250299523072,"45":742390281231007744},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-08 09:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571508992001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:19:28] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-08 09:19:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 09:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23526250299523072,"km_value":23526250299523.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":742390281231007744,"description":"Unknown IO ID 45"} 
[2026-07-08 09:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571508992001,"power":13852,"unknown_177":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":742390281231007744}} 
[2026-07-08 09:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":125301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449976,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:19:28] local.INFO: GPS data processed {"connection_id":125301,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:19:28] local.INFO: Acknowledgment sent {"connection_id":125301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:19:33] local.INFO: TCP Data received {"connection_id":125199,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd37ae0012d7f9b4005afe080000900342e..."} 
[2026-07-08 09:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd37ae0012d7f9b4005afe080000900342e..."} 
[2026-07-08 09:19:33] local.INFO: Processing buffer {"connection_id":125199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd37ae0012d7f9b4005afe080000900342e..."} 
[2026-07-08 09:19:33] local.INFO: Packet analysis {"connection_id":125199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd3"} 
[2026-07-08 09:19:33] local.INFO: Extracted packet for processing {"connection_id":125199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd3"} 
[2026-07-08 09:19:33] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":46,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571379456001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783482252000,"timestamp_ms":1783482252000,"timestamp_seconds":1783482252,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd37ae0"} 
[2026-07-08 09:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 09:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571379456001,"66":25299,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571379456001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:19:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:19:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571379456001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":125199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:19:33] local.INFO: GPS data processed {"connection_id":125199,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:19:33] local.INFO: Acknowledgment sent {"connection_id":125199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:19:45] local.INFO: TCP Data received {"connection_id":126019,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126019,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:19:45] local.INFO: Processing buffer {"connection_id":126019,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:19:45] local.INFO: IMEI packet received {"connection_id":126019,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 09:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":126019,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:19:50] local.INFO: TCP Data received {"connection_id":126019,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126019,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:19:50] local.INFO: Processing buffer {"connection_id":126019,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:19:50] local.INFO: IMEI packet received {"connection_id":126019,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":126019,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:19:51] local.INFO: TCP Data received {"connection_id":126019,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd70138012d0a4ac0070585800010015727..."} 
[2026-07-08 09:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd70138012d0a4ac0070585800010015727..."} 
[2026-07-08 09:19:51] local.INFO: Processing buffer {"connection_id":126019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd70138012d0a4ac0070585800010015727..."} 
[2026-07-08 09:19:51] local.INFO: Packet analysis {"connection_id":126019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd7"} 
[2026-07-08 09:19:51] local.INFO: Extracted packet for processing {"connection_id":126019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd7"} 
[2026-07-08 09:19:51] local.INFO: GPS Element Parsed {"raw_longitude":755649216,"raw_latitude":117802368,"longitude_deg":75.5649216,"latitude_deg":11.7802368,"altitude":16,"angle":343,"satellites":39,"speed":10,"hex_longitude":"2d0a4ac0","hex_latitude":"07058580","is_valid_coordinates":true} 
[2026-07-08 09:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571513088001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23526379148541952,"note":"Value kept but may cause issues"} 
[2026-07-08 09:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":742742124952031232,"note":"Value kept but may cause issues"} 
[2026-07-08 09:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783482483000,"timestamp_ms":1783482483000,"timestamp_seconds":1783482483,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd70138"} 
[2026-07-08 09:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-07-08 09:19:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126019,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126019,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571513088001,"66":14439,"177":206,"94":10240,"24":10,"16":23526379148541952,"45":742742124952031232},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-08 09:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571513088001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:19:51] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-08 09:19:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 09:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23526379148541952,"km_value":23526379148541.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":742742124952031232,"description":"Unknown IO ID 45"} 
[2026-07-08 09:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571513088001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":742742124952031232}} 
[2026-07-08 09:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":126019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449978,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:19:51] local.INFO: GPS data processed {"connection_id":126019,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:19:51] local.INFO: Acknowledgment sent {"connection_id":126019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:19:56] local.INFO: TCP Data received {"connection_id":127293,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:19:56] local.INFO: Processing buffer {"connection_id":127293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:19:56] local.INFO: IMEI packet received {"connection_id":127293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":127293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:20:01] local.INFO: TCP Data received {"connection_id":127293,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:20:01] local.INFO: Processing buffer {"connection_id":127293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:20:01] local.INFO: IMEI packet received {"connection_id":127293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":127293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:20:02] local.INFO: TCP Data received {"connection_id":127293,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd812a8012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd812a8012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:20:02] local.INFO: Processing buffer {"connection_id":127293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd812a8012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:20:02] local.INFO: Packet analysis {"connection_id":127293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd8"} 
[2026-07-08 09:20:02] local.INFO: Extracted packet for processing {"connection_id":127293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd8"} 
[2026-07-08 09:20:02] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":50,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571456512001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783482553000,"timestamp_ms":1783482553000,"timestamp_seconds":1783482553,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd812a8"} 
[2026-07-08 09:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:20:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-08 09:20:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:20:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571456512001,"66":25495,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571456512001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:20:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:20:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571456512001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":127293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:20:02] local.INFO: GPS data processed {"connection_id":127293,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:20:02] local.INFO: Acknowledgment sent {"connection_id":127293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:20:22] local.INFO: TCP Data received {"connection_id":126019,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd8f150012d09e70007056f00000f010827..."} 
[2026-07-08 09:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd8f150012d09e70007056f00000f010827..."} 
[2026-07-08 09:20:22] local.INFO: Processing buffer {"connection_id":126019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd8f150012d09e70007056f00000f010827..."} 
[2026-07-08 09:20:22] local.INFO: Packet analysis {"connection_id":126019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd8"} 
[2026-07-08 09:20:22] local.INFO: Extracted packet for processing {"connection_id":126019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd8"} 
[2026-07-08 09:20:22] local.INFO: GPS Element Parsed {"raw_longitude":755623680,"raw_latitude":117796608,"longitude_deg":75.562368,"latitude_deg":11.7796608,"altitude":15,"angle":264,"satellites":39,"speed":12,"hex_longitude":"2d09e700","hex_latitude":"07056f00","is_valid_coordinates":true} 
[2026-07-08 09:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571547904001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23527813667618816,"note":"Value kept but may cause issues"} 
[2026-07-08 09:20:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":713961308582516736,"note":"Value kept but may cause issues"} 
[2026-07-08 09:20:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783482610000,"timestamp_ms":1783482610000,"timestamp_seconds":1783482610,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd8f150"} 
[2026-07-08 09:20:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:20:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 09:20:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:20:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:20:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126019,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126019,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:20:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571547904001,"66":14243,"177":206,"94":10240,"24":12,"16":23527813667618816,"45":713961308582516736},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-08 09:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571547904001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:20:22] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-08 09:20:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 09:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23527813667618816,"km_value":23527813667618.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:20:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":713961308582516736,"description":"Unknown IO ID 45"} 
[2026-07-08 09:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571547904001,"power":14243,"unknown_177":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":713961308582516736}} 
[2026-07-08 09:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":126019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449980,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:20:23] local.INFO: GPS data processed {"connection_id":126019,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:20:23] local.INFO: Acknowledgment sent {"connection_id":126019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:20:33] local.INFO: TCP Data received {"connection_id":127293,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd812a8012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd812a8012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:20:33] local.INFO: Processing buffer {"connection_id":127293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd812a8012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:20:33] local.INFO: Packet analysis {"connection_id":127293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd8"} 
[2026-07-08 09:20:33] local.INFO: Extracted packet for processing {"connection_id":127293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd8"} 
[2026-07-08 09:20:33] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":50,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571456512001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783482553000,"timestamp_ms":1783482553000,"timestamp_seconds":1783482553,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd812a8"} 
[2026-07-08 09:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-08 09:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:20:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571456512001,"66":25495,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571456512001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:20:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:20:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571456512001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":127293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:20:33] local.INFO: GPS data processed {"connection_id":127293,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:20:33] local.INFO: Acknowledgment sent {"connection_id":127293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:20:45] local.INFO: TCP Data received {"connection_id":125303,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125303,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:20:45] local.INFO: Processing buffer {"connection_id":125303,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:20:45] local.INFO: IMEI packet received {"connection_id":125303,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 09:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":125303,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:20:46] local.INFO: TCP Data received {"connection_id":125303,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125303,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:20:46] local.INFO: Processing buffer {"connection_id":125303,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:20:46] local.INFO: IMEI packet received {"connection_id":125303,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":125303,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:20:46] local.INFO: TCP Data received {"connection_id":125303,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125303,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:20:46] local.INFO: Processing buffer {"connection_id":125303,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:20:46] local.INFO: IMEI packet received {"connection_id":125303,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":125303,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:20:47] local.INFO: TCP Data received {"connection_id":125303,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125303,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:20:47] local.INFO: Processing buffer {"connection_id":125303,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:20:47] local.INFO: IMEI packet received {"connection_id":125303,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":125303,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:20:56] local.INFO: TCP Data received {"connection_id":126022,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:20:56] local.INFO: Processing buffer {"connection_id":126022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:20:56] local.INFO: IMEI packet received {"connection_id":126022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":126022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:21:01] local.INFO: TCP Data received {"connection_id":126022,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:21:01] local.INFO: Processing buffer {"connection_id":126022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:21:01] local.INFO: IMEI packet received {"connection_id":126022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":126022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:21:03] local.INFO: TCP Data received {"connection_id":126022,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd812a8012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd812a8012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:21:03] local.INFO: Processing buffer {"connection_id":126022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd812a8012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:21:03] local.INFO: Packet analysis {"connection_id":126022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd8"} 
[2026-07-08 09:21:03] local.INFO: Extracted packet for processing {"connection_id":126022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd8"} 
[2026-07-08 09:21:03] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":50,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571456512001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783482553000,"timestamp_ms":1783482553000,"timestamp_seconds":1783482553,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd812a8"} 
[2026-07-08 09:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-08 09:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:21: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-07-08 09:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571456512001,"66":25495,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571456512001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:21:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:21:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571456512001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":126022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:21:03] local.INFO: GPS data processed {"connection_id":126022,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:21:03] local.INFO: Acknowledgment sent {"connection_id":126022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:21:06] local.INFO: TCP Data received {"connection_id":126021,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126021,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:21:06] local.INFO: Processing buffer {"connection_id":126021,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:21:06] local.INFO: IMEI packet received {"connection_id":126021,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 09:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":126021,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:21:34] local.INFO: TCP Data received {"connection_id":126022,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd812a8012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd812a8012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:21:34] local.INFO: Processing buffer {"connection_id":126022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd812a8012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:21:34] local.INFO: Packet analysis {"connection_id":126022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd8"} 
[2026-07-08 09:21:34] local.INFO: Extracted packet for processing {"connection_id":126022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd8"} 
[2026-07-08 09:21:34] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":50,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571456512001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783482553000,"timestamp_ms":1783482553000,"timestamp_seconds":1783482553,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd812a8"} 
[2026-07-08 09:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-08 09:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:21:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:21: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-07-08 09:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571456512001,"66":25495,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571456512001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:21:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:21:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571456512001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":126022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:21:34] local.INFO: GPS data processed {"connection_id":126022,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:21:34] local.INFO: Acknowledgment sent {"connection_id":126022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:21:52] local.INFO: TCP Data received {"connection_id":125304,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125304,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:21:52] local.INFO: Processing buffer {"connection_id":125304,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:21:52] local.INFO: IMEI packet received {"connection_id":125304,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":125304,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:21:54] local.INFO: TCP Data received {"connection_id":125304,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd858f8012d7d34c005ec2dd8000400e22a..."} 
[2026-07-08 09:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd858f8012d7d34c005ec2dd8000400e22a..."} 
[2026-07-08 09:21:54] local.INFO: Processing buffer {"connection_id":125304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd858f8012d7d34c005ec2dd8000400e22a..."} 
[2026-07-08 09:21:54] local.INFO: Packet analysis {"connection_id":125304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd8"} 
[2026-07-08 09:21:54] local.INFO: Extracted packet for processing {"connection_id":125304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd8"} 
[2026-07-08 09:21:54] local.INFO: GPS Element Parsed {"raw_longitude":763180224,"raw_latitude":99364312,"longitude_deg":76.3180224,"latitude_deg":9.9364312,"altitude":4,"angle":226,"satellites":42,"speed":2,"hex_longitude":"2d7d34c0","hex_latitude":"05ec2dd8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571535360001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703428470931456,"note":"Value kept but may cause issues"} 
[2026-07-08 09:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453943773184,"note":"Value kept but may cause issues"} 
[2026-07-08 09:21: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-07-08 09:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783482571000,"timestamp_ms":1783482571000,"timestamp_seconds":1783482571,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd858f8"} 
[2026-07-08 09:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:21: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-07-08 09: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-08 09:21:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":125304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":125304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":125304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:21:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571535360001,"66":13091,"110":206,"87":13824,"24":2,"16":103703428470931456,"45":9022117453943773184},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571535360001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:21:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:21:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703428470931456,"km_value":103703428470931.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453943773184,"description":"Unknown IO ID 45"} 
[2026-07-08 09:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571535360001,"power":13091,"unknown_110":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9022117453943773184}} 
[2026-07-08 09:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":125304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449984,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:21:54] local.INFO: GPS data processed {"connection_id":125304,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:21:54] local.INFO: Acknowledgment sent {"connection_id":125304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:21:58] local.INFO: TCP Data received {"connection_id":127296,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127296,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:21:58] local.INFO: Processing buffer {"connection_id":127296,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:21:58] local.INFO: IMEI packet received {"connection_id":127296,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 09:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":127296,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:22:01] local.INFO: TCP Data received {"connection_id":127295,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:22:01] local.INFO: Processing buffer {"connection_id":127295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:22:01] local.INFO: IMEI packet received {"connection_id":127295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":127295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:22:06] local.INFO: TCP Data received {"connection_id":127295,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:22:06] local.INFO: Processing buffer {"connection_id":127295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:22:06] local.INFO: IMEI packet received {"connection_id":127295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":127295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:22:07] local.INFO: TCP Data received {"connection_id":127295,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd812a8012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd812a8012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:22:07] local.INFO: Processing buffer {"connection_id":127295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd812a8012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:22:07] local.INFO: Packet analysis {"connection_id":127295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd8"} 
[2026-07-08 09:22:07] local.INFO: Extracted packet for processing {"connection_id":127295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd8"} 
[2026-07-08 09:22:07] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":50,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571456512001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783482553000,"timestamp_ms":1783482553000,"timestamp_seconds":1783482553,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd812a8"} 
[2026-07-08 09:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-08 09:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571456512001,"66":25495,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571456512001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:22:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:22:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571456512001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":127295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:22:07] local.INFO: GPS data processed {"connection_id":127295,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:22:07] local.INFO: Acknowledgment sent {"connection_id":127295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:22:11] local.INFO: TCP Data received {"connection_id":127295,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd812a8012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd812a8012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:22:11] local.INFO: Processing buffer {"connection_id":127295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd812a8012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:22:11] local.INFO: Packet analysis {"connection_id":127295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd8"} 
[2026-07-08 09:22:11] local.INFO: Extracted packet for processing {"connection_id":127295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd8"} 
[2026-07-08 09:22:11] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":50,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571456512001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783482553000,"timestamp_ms":1783482553000,"timestamp_seconds":1783482553,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd812a8"} 
[2026-07-08 09:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-08 09:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":127295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":127295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":127295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571456512001,"66":25495,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571456512001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:22:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:22:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571456512001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":127295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:22:11] local.INFO: GPS data processed {"connection_id":127295,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:22:11] local.INFO: Acknowledgment sent {"connection_id":127295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:22:26] local.INFO: TCP Data received {"connection_id":125304,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd85ce0012d7d348005ec2de0000400ee27..."} 
[2026-07-08 09:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd85ce0012d7d348005ec2de0000400ee27..."} 
[2026-07-08 09:22:26] local.INFO: Processing buffer {"connection_id":125304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd85ce0012d7d348005ec2de0000400ee27..."} 
[2026-07-08 09:22:26] local.INFO: Packet analysis {"connection_id":125304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd8"} 
[2026-07-08 09:22:26] local.INFO: Extracted packet for processing {"connection_id":125304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd8"} 
[2026-07-08 09:22:26] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":99364320,"longitude_deg":76.318016,"latitude_deg":9.936432,"altitude":4,"angle":238,"satellites":39,"speed":2,"hex_longitude":"2d7d3480","hex_latitude":"05ec2de0","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571538176001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703432765898752,"note":"Value kept but may cause issues"} 
[2026-07-08 09:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022047085199742976,"note":"Value kept but may cause issues"} 
[2026-07-08 09:22: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-07-08 09:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783482572000,"timestamp_ms":1783482572000,"timestamp_seconds":1783482572,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd85ce0"} 
[2026-07-08 09:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:22: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-07-08 09: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-08 09:22: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-07-08 09:22:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":125304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":125304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":125304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:22:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571538176001,"66":13037,"110":206,"87":13824,"24":2,"16":103703432765898752,"45":9022047085199742976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571538176001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:22:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:22:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703432765898752,"km_value":103703432765898.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022047085199742976,"description":"Unknown IO ID 45"} 
[2026-07-08 09:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571538176001,"power":13037,"unknown_110":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9022047085199742976}} 
[2026-07-08 09:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":125304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449987,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:22:26] local.INFO: GPS data processed {"connection_id":125304,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:22:26] local.INFO: Acknowledgment sent {"connection_id":125304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:22:47] local.INFO: TCP Data received {"connection_id":127297,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:22:47] local.INFO: Processing buffer {"connection_id":127297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:22:47] local.INFO: IMEI packet received {"connection_id":127297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":127297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:22:52] local.INFO: TCP Data received {"connection_id":127297,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:22:52] local.INFO: Processing buffer {"connection_id":127297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:22:52] local.INFO: IMEI packet received {"connection_id":127297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":127297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:22:54] local.INFO: TCP Data received {"connection_id":127297,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd860c8012d7d340005ec2dc8000400fb27..."} 
[2026-07-08 09:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd860c8012d7d340005ec2dc8000400fb27..."} 
[2026-07-08 09:22:54] local.INFO: Processing buffer {"connection_id":127297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd860c8012d7d340005ec2dc8000400fb27..."} 
[2026-07-08 09:22:54] local.INFO: Packet analysis {"connection_id":127297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd8"} 
[2026-07-08 09:22:54] local.INFO: Extracted packet for processing {"connection_id":127297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd8"} 
[2026-07-08 09:22:54] local.INFO: GPS Element Parsed {"raw_longitude":763180032,"raw_latitude":99364296,"longitude_deg":76.3180032,"latitude_deg":9.9364296,"altitude":4,"angle":251,"satellites":39,"speed":3,"hex_longitude":"2d7d3400","hex_latitude":"05ec2dc8","is_valid_coordinates":true} 
[2026-07-08 09:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571538432001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703437060866048,"note":"Value kept but may cause issues"} 
[2026-07-08 09:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716455567360,"note":"Value kept but may cause issues"} 
[2026-07-08 09:22: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-07-08 09:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783482573000,"timestamp_ms":1783482573000,"timestamp_seconds":1783482573,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd860c8"} 
[2026-07-08 09:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:22: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-07-08 09: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-08 09:22:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:22:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":127297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":127297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":127297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:22:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571538432001,"66":13037,"110":206,"87":13824,"24":3,"16":103703437060866048,"45":9021976716455567360},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571538432001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:22:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:22:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703437060866048,"km_value":103703437060866.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716455567360,"description":"Unknown IO ID 45"} 
[2026-07-08 09:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571538432001,"power":13037,"unknown_110":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":9021976716455567360}} 
[2026-07-08 09:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":127297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449988,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:22:54] local.INFO: GPS data processed {"connection_id":127297,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:22:54] local.INFO: Acknowledgment sent {"connection_id":127297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:22:56] local.INFO: TCP Data received {"connection_id":127298,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:22:56] local.INFO: Processing buffer {"connection_id":127298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:22:56] local.INFO: IMEI packet received {"connection_id":127298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":127298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:23:01] local.INFO: TCP Data received {"connection_id":127298,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:23:01] local.INFO: Processing buffer {"connection_id":127298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:23:01] local.INFO: IMEI packet received {"connection_id":127298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":127298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:23:13] local.INFO: TCP Data received {"connection_id":127298,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd812a8012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd812a8012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:23:13] local.INFO: Processing buffer {"connection_id":127298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd812a8012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:23:13] local.INFO: Packet analysis {"connection_id":127298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd8"} 
[2026-07-08 09:23:13] local.INFO: Extracted packet for processing {"connection_id":127298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd8"} 
[2026-07-08 09:23:13] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":50,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571456512001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783482553000,"timestamp_ms":1783482553000,"timestamp_seconds":1783482553,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd812a8"} 
[2026-07-08 09:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-08 09:23:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":127298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":127298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":127298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571456512001,"66":25495,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571456512001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:23:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:23:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571456512001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":127298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:23:13] local.INFO: GPS data processed {"connection_id":127298,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:23:13] local.INFO: Acknowledgment sent {"connection_id":127298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:23:27] local.INFO: TCP Data received {"connection_id":127297,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd86c80012d7d330005ec2dc80004010628..."} 
[2026-07-08 09:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd86c80012d7d330005ec2dc80004010628..."} 
[2026-07-08 09:23:27] local.INFO: Processing buffer {"connection_id":127297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd86c80012d7d330005ec2dc80004010628..."} 
[2026-07-08 09:23:27] local.INFO: Packet analysis {"connection_id":127297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd8"} 
[2026-07-08 09:23:27] local.INFO: Extracted packet for processing {"connection_id":127297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd8"} 
[2026-07-08 09:23:27] local.INFO: GPS Element Parsed {"raw_longitude":763179776,"raw_latitude":99364296,"longitude_deg":76.3179776,"latitude_deg":9.9364296,"altitude":4,"angle":262,"satellites":40,"speed":3,"hex_longitude":"2d7d3300","hex_latitude":"05ec2dc8","is_valid_coordinates":true} 
[2026-07-08 09:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571538688001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703449945767936,"note":"Value kept but may cause issues"} 
[2026-07-08 09:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021835978967205888,"note":"Value kept but may cause issues"} 
[2026-07-08 09:23: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-07-08 09:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783482576000,"timestamp_ms":1783482576000,"timestamp_seconds":1783482576,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd86c80"} 
[2026-07-08 09:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:23:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-08 09:23:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":127297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":127297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":127297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571538688001,"66":13037,"110":206,"87":13824,"24":3,"16":103703449945767936,"45":9021835978967205888},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571538688001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:23:27] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:23:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703449945767936,"km_value":103703449945767.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021835978967205888,"description":"Unknown IO ID 45"} 
[2026-07-08 09:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571538688001,"power":13037,"unknown_110":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":9021835978967205888}} 
[2026-07-08 09:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":127297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449990,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:23:27] local.INFO: GPS data processed {"connection_id":127297,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:23:27] local.INFO: Acknowledgment sent {"connection_id":127297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:23:47] local.INFO: TCP Data received {"connection_id":126024,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:23:47] local.INFO: Processing buffer {"connection_id":126024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:23:47] local.INFO: IMEI packet received {"connection_id":126024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":126024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:23:52] local.INFO: TCP Data received {"connection_id":126024,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:23:52] local.INFO: Processing buffer {"connection_id":126024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:23:52] local.INFO: IMEI packet received {"connection_id":126024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":126024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:23:53] local.INFO: TCP Data received {"connection_id":126024,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd87068012d7d32c005ec2dd80004011327..."} 
[2026-07-08 09:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd87068012d7d32c005ec2dd80004011327..."} 
[2026-07-08 09:23:53] local.INFO: Processing buffer {"connection_id":126024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd87068012d7d32c005ec2dd80004011327..."} 
[2026-07-08 09:23:53] local.INFO: Packet analysis {"connection_id":126024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd8"} 
[2026-07-08 09:23:53] local.INFO: Extracted packet for processing {"connection_id":126024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd8"} 
[2026-07-08 09:23:53] local.INFO: GPS Element Parsed {"raw_longitude":763179712,"raw_latitude":99364312,"longitude_deg":76.3179712,"latitude_deg":9.9364312,"altitude":4,"angle":275,"satellites":39,"speed":2,"hex_longitude":"2d7d32c0","hex_latitude":"05ec2dd8","is_valid_coordinates":true} 
[2026-07-08 09:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571539456001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703454240735232,"note":"Value kept but may cause issues"} 
[2026-07-08 09:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021554503990495232,"note":"Value kept but may cause issues"} 
[2026-07-08 09:23:53] 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-07-08 09:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783482577000,"timestamp_ms":1783482577000,"timestamp_seconds":1783482577,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd87068"} 
[2026-07-08 09:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":237,"data_length":795,"current_offset":136} 
[2026-07-08 09:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:23:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":126024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":126024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":126024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571539456001,"66":13189,"110":206,"87":13824,"24":2,"16":103703454240735232,"45":9021554503990495232},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571539456001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:23:53] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:23:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703454240735232,"km_value":103703454240735.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021554503990495232,"description":"Unknown IO ID 45"} 
[2026-07-08 09:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571539456001,"power":13189,"unknown_110":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9021554503990495232}} 
[2026-07-08 09:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":126024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449991,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:23:53] local.INFO: GPS data processed {"connection_id":126024,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:23:53] local.INFO: Acknowledgment sent {"connection_id":126024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:23:56] local.INFO: TCP Data received {"connection_id":125305,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:23:56] local.INFO: Processing buffer {"connection_id":125305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:23:56] local.INFO: IMEI packet received {"connection_id":125305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":125305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:24:01] local.INFO: TCP Data received {"connection_id":125305,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:24:01] local.INFO: Processing buffer {"connection_id":125305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:24:01] local.INFO: IMEI packet received {"connection_id":125305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":125305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:24:02] local.INFO: TCP Data received {"connection_id":125305,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd812a8012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd812a8012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:24:02] local.INFO: Processing buffer {"connection_id":125305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd812a8012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:24:02] local.INFO: Packet analysis {"connection_id":125305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd8"} 
[2026-07-08 09:24:02] local.INFO: Extracted packet for processing {"connection_id":125305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd8"} 
[2026-07-08 09:24:02] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":50,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571456512001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783482553000,"timestamp_ms":1783482553000,"timestamp_seconds":1783482553,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd812a8"} 
[2026-07-08 09:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:24:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-08 09:24:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:24:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571456512001,"66":25495,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571456512001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:24:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:24:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571456512001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":125305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:24:02] local.INFO: GPS data processed {"connection_id":125305,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:24:02] local.INFO: Acknowledgment sent {"connection_id":125305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:24:25] local.INFO: TCP Data received {"connection_id":126024,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd87838012d7d320005ec2db00004012628..."} 
[2026-07-08 09:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd87838012d7d320005ec2db00004012628..."} 
[2026-07-08 09:24:25] local.INFO: Processing buffer {"connection_id":126024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd87838012d7d320005ec2db00004012628..."} 
[2026-07-08 09:24:25] local.INFO: Packet analysis {"connection_id":126024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd8"} 
[2026-07-08 09:24:25] local.INFO: Extracted packet for processing {"connection_id":126024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd8"} 
[2026-07-08 09:24:25] local.INFO: GPS Element Parsed {"raw_longitude":763179520,"raw_latitude":99364272,"longitude_deg":76.317952,"latitude_deg":9.9364272,"altitude":4,"angle":294,"satellites":40,"speed":2,"hex_longitude":"2d7d3200","hex_latitude":"05ec2db0","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571539712001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703462830669824,"note":"Value kept but may cause issues"} 
[2026-07-08 09:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021484135246321664,"note":"Value kept but may cause issues"} 
[2026-07-08 09:24: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-07-08 09:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783482579000,"timestamp_ms":1783482579000,"timestamp_seconds":1783482579,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd87838"} 
[2026-07-08 09:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-08 09:24: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-07-08 09: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-07-08 09:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":126024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":126024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":126024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571539712001,"66":13189,"110":206,"87":13824,"24":2,"16":103703462830669824,"45":9021484135246321664},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571539712001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:24:25] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:24:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703462830669824,"km_value":103703462830669.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021484135246321664,"description":"Unknown IO ID 45"} 
[2026-07-08 09:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571539712001,"power":13189,"unknown_110":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9021484135246321664}} 
[2026-07-08 09:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":126024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449993,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:24:25] local.INFO: GPS data processed {"connection_id":126024,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:24:25] local.INFO: Acknowledgment sent {"connection_id":126024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:24:33] local.INFO: TCP Data received {"connection_id":125305,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd812a8012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd812a8012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:24:33] local.INFO: Processing buffer {"connection_id":125305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd812a8012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:24:33] local.INFO: Packet analysis {"connection_id":125305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd8"} 
[2026-07-08 09:24:33] local.INFO: Extracted packet for processing {"connection_id":125305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd8"} 
[2026-07-08 09:24:33] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":50,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571456512001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783482553000,"timestamp_ms":1783482553000,"timestamp_seconds":1783482553,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd812a8"} 
[2026-07-08 09:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-08 09:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:24:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571456512001,"66":25495,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571456512001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:24:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:24:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571456512001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":125305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:24:33] local.INFO: GPS data processed {"connection_id":125305,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:24:33] local.INFO: Acknowledgment sent {"connection_id":125305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:24:47] local.INFO: TCP Data received {"connection_id":127300,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:24:47] local.INFO: Processing buffer {"connection_id":127300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:24:47] local.INFO: IMEI packet received {"connection_id":127300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":127300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:24:47] local.INFO: TCP Data received {"connection_id":127300,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:24:47] local.INFO: Processing buffer {"connection_id":127300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:24:47] local.INFO: IMEI packet received {"connection_id":127300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":127300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:24:52] local.INFO: TCP Data received {"connection_id":127300,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:24:52] local.INFO: Processing buffer {"connection_id":127300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:24:52] local.INFO: IMEI packet received {"connection_id":127300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":127300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:24:54] local.INFO: TCP Data received {"connection_id":127300,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd887d8012d7d31c005ec2cc00005012828..."} 
[2026-07-08 09:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd887d8012d7d31c005ec2cc00005012828..."} 
[2026-07-08 09:24:54] local.INFO: Processing buffer {"connection_id":127300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd887d8012d7d31c005ec2cc00005012828..."} 
[2026-07-08 09:24:54] local.INFO: Packet analysis {"connection_id":127300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd8"} 
[2026-07-08 09:24:54] local.INFO: Extracted packet for processing {"connection_id":127300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd8"} 
[2026-07-08 09:24:54] local.INFO: GPS Element Parsed {"raw_longitude":763179456,"raw_latitude":99364032,"longitude_deg":76.3179456,"latitude_deg":9.9364032,"altitude":5,"angle":296,"satellites":40,"speed":0,"hex_longitude":"2d7d31c0","hex_latitude":"05ec2cc0","is_valid_coordinates":true} 
[2026-07-08 09:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571540224001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021273029013778432,"note":"Value kept but may cause issues"} 
[2026-07-08 09:24: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-07-08 09:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783482583000,"timestamp_ms":1783482583000,"timestamp_seconds":1783482583,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd887d8"} 
[2026-07-08 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-07-08 09:24: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-07-08 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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-08 09:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 09:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":127300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":127300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":127300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571540224001,"66":13993,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9021273029013778432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571540224001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:24:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:24:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021273029013778432,"description":"Unknown IO ID 45"} 
[2026-07-08 09:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571540224001,"power":13993,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021273029013778432}} 
[2026-07-08 09:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":127300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449995,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:24:54] local.INFO: GPS data processed {"connection_id":127300,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:24:54] local.INFO: Acknowledgment sent {"connection_id":127300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:24:56] local.INFO: TCP Data received {"connection_id":125307,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:24:56] local.INFO: Processing buffer {"connection_id":125307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:24:56] local.INFO: IMEI packet received {"connection_id":125307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":125307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:25:01] local.INFO: TCP Data received {"connection_id":125307,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:25:01] local.INFO: Processing buffer {"connection_id":125307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:25:01] local.INFO: IMEI packet received {"connection_id":125307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":125307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:25:02] local.INFO: TCP Data received {"connection_id":125307,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fdcaa70012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fdcaa70012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:25:02] local.INFO: Processing buffer {"connection_id":125307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fdcaa70012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:25:02] local.INFO: Packet analysis {"connection_id":125307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fdc"} 
[2026-07-08 09:25:02] local.INFO: Extracted packet for processing {"connection_id":125307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fdc"} 
[2026-07-08 09:25:02] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":50,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571533568001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783482854000,"timestamp_ms":1783482854000,"timestamp_seconds":1783482854,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fdcaa70"} 
[2026-07-08 09:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 09:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571533568001,"66":25615,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571533568001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:25:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:25:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571533568001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":125307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:25:02] local.INFO: GPS data processed {"connection_id":125307,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:25:02] local.INFO: Acknowledgment sent {"connection_id":125307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:25:26] local.INFO: TCP Data received {"connection_id":127300,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd887d8012d7d31c005ec2cc00005012828..."} 
[2026-07-08 09:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd887d8012d7d31c005ec2cc00005012828..."} 
[2026-07-08 09:25:26] local.INFO: Processing buffer {"connection_id":127300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd887d8012d7d31c005ec2cc00005012828..."} 
[2026-07-08 09:25:26] local.INFO: Packet analysis {"connection_id":127300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd8"} 
[2026-07-08 09:25:26] local.INFO: Extracted packet for processing {"connection_id":127300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd8"} 
[2026-07-08 09:25:26] local.INFO: GPS Element Parsed {"raw_longitude":763179456,"raw_latitude":99364032,"longitude_deg":76.3179456,"latitude_deg":9.9364032,"altitude":5,"angle":296,"satellites":40,"speed":0,"hex_longitude":"2d7d31c0","hex_latitude":"05ec2cc0","is_valid_coordinates":true} 
[2026-07-08 09:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571541248001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021202660269539328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:25: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-07-08 09:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783482583000,"timestamp_ms":1783482583000,"timestamp_seconds":1783482583,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd887d8"} 
[2026-07-08 09:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:25:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 09:25:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":127300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":127300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":127300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:25:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571541248001,"66":13993,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9021202660269539328},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571541248001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:25:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:25:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021202660269539328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571541248001,"power":13993,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021202660269539328}} 
[2026-07-08 09:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":127300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449997,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:25:26] local.INFO: GPS data processed {"connection_id":127300,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:25:26] local.INFO: Acknowledgment sent {"connection_id":127300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:25:33] local.INFO: TCP Data received {"connection_id":125307,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fdcaa70012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fdcaa70012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:25:33] local.INFO: Processing buffer {"connection_id":125307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fdcaa70012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:25:33] local.INFO: Packet analysis {"connection_id":125307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fdc"} 
[2026-07-08 09:25:33] local.INFO: Extracted packet for processing {"connection_id":125307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fdc"} 
[2026-07-08 09:25:33] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":50,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571533568001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783482854000,"timestamp_ms":1783482854000,"timestamp_seconds":1783482854,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fdcaa70"} 
[2026-07-08 09:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09: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-07-08 09:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571533568001,"66":25615,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571533568001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:25:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:25:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571533568001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":125307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:25:33] local.INFO: GPS data processed {"connection_id":125307,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:25:33] local.INFO: Acknowledgment sent {"connection_id":125307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:25:47] local.INFO: TCP Data received {"connection_id":127301,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127301,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:25:47] local.INFO: Processing buffer {"connection_id":127301,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:25:47] local.INFO: IMEI packet received {"connection_id":127301,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":127301,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:25:52] local.INFO: TCP Data received {"connection_id":127301,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127301,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:25:52] local.INFO: Processing buffer {"connection_id":127301,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:25:52] local.INFO: IMEI packet received {"connection_id":127301,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":127301,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:25:54] local.INFO: TCP Data received {"connection_id":127301,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd88bc0012d7d31c005ec2cc00005012829..."} 
[2026-07-08 09:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd88bc0012d7d31c005ec2cc00005012829..."} 
[2026-07-08 09:25:54] local.INFO: Processing buffer {"connection_id":127301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd88bc0012d7d31c005ec2cc00005012829..."} 
[2026-07-08 09:25:54] local.INFO: Packet analysis {"connection_id":127301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd8"} 
[2026-07-08 09:25:54] local.INFO: Extracted packet for processing {"connection_id":127301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd8"} 
[2026-07-08 09:25:54] local.INFO: GPS Element Parsed {"raw_longitude":763179456,"raw_latitude":99364032,"longitude_deg":76.3179456,"latitude_deg":9.9364032,"altitude":5,"angle":296,"satellites":41,"speed":0,"hex_longitude":"2d7d31c0","hex_latitude":"05ec2cc0","is_valid_coordinates":true} 
[2026-07-08 09:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571541248001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021202660269539328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:25: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-07-08 09:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783482584000,"timestamp_ms":1783482584000,"timestamp_seconds":1783482584,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd88bc0"} 
[2026-07-08 09:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 09:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:25:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":127301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":127301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":127301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571541248001,"66":13993,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9021202660269539328},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571541248001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:25:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:25:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021202660269539328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571541248001,"power":13993,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021202660269539328}} 
[2026-07-08 09:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":127301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":449999,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:25:54] local.INFO: GPS data processed {"connection_id":127301,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:25:54] local.INFO: Acknowledgment sent {"connection_id":127301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:25:56] local.INFO: TCP Data received {"connection_id":127303,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:25:56] local.INFO: Processing buffer {"connection_id":127303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:25:56] local.INFO: IMEI packet received {"connection_id":127303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":127303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:26:01] local.INFO: TCP Data received {"connection_id":127303,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:26:01] local.INFO: Processing buffer {"connection_id":127303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:26:01] local.INFO: IMEI packet received {"connection_id":127303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":127303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:26:02] local.INFO: TCP Data received {"connection_id":127303,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fdcaa70012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fdcaa70012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:26:02] local.INFO: Processing buffer {"connection_id":127303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fdcaa70012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:26:02] local.INFO: Packet analysis {"connection_id":127303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fdc"} 
[2026-07-08 09:26:02] local.INFO: Extracted packet for processing {"connection_id":127303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fdc"} 
[2026-07-08 09:26:02] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":50,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571533568001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783482854000,"timestamp_ms":1783482854000,"timestamp_seconds":1783482854,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fdcaa70"} 
[2026-07-08 09:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 09:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571533568001,"66":25615,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571533568001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:26:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:26:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571533568001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":127303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:26:02] local.INFO: GPS data processed {"connection_id":127303,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:26:02] local.INFO: Acknowledgment sent {"connection_id":127303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:26:25] local.INFO: TCP Data received {"connection_id":127301,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fd88bc0012d7d31c005ec2cc00005012829..."} 
[2026-07-08 09:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fd88bc0012d7d31c005ec2cc00005012829..."} 
[2026-07-08 09:26:25] local.INFO: Processing buffer {"connection_id":127301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fd88bc0012d7d31c005ec2cc00005012829..."} 
[2026-07-08 09:26:25] local.INFO: Packet analysis {"connection_id":127301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fd8"} 
[2026-07-08 09:26:25] local.INFO: Extracted packet for processing {"connection_id":127301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fd8"} 
[2026-07-08 09:26:25] local.INFO: GPS Element Parsed {"raw_longitude":763179456,"raw_latitude":99364032,"longitude_deg":76.3179456,"latitude_deg":9.9364032,"altitude":5,"angle":296,"satellites":41,"speed":0,"hex_longitude":"2d7d31c0","hex_latitude":"05ec2cc0","is_valid_coordinates":true} 
[2026-07-08 09:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571541504001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021202660269539328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:26: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-07-08 09:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783482584000,"timestamp_ms":1783482584000,"timestamp_seconds":1783482584,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fd88bc0"} 
[2026-07-08 09:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 09:26:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":127301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":127301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":127301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571541504001,"66":13993,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9021202660269539328},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571541504001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:26:25] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:26:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021202660269539328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571541504001,"power":13993,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021202660269539328}} 
[2026-07-08 09:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":127301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450001,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:26:25] local.INFO: GPS data processed {"connection_id":127301,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:26:25] local.INFO: Acknowledgment sent {"connection_id":127301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:26:33] local.INFO: TCP Data received {"connection_id":127303,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fdcaa70012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fdcaa70012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:26:33] local.INFO: Processing buffer {"connection_id":127303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fdcaa70012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:26:33] local.INFO: Packet analysis {"connection_id":127303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fdc"} 
[2026-07-08 09:26:33] local.INFO: Extracted packet for processing {"connection_id":127303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fdc"} 
[2026-07-08 09:26:33] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":50,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571533568001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783482854000,"timestamp_ms":1783482854000,"timestamp_seconds":1783482854,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fdcaa70"} 
[2026-07-08 09:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 09:26: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-07-08 09:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571533568001,"66":25615,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571533568001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:26:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:26:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571533568001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":127303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:26:33] local.INFO: GPS data processed {"connection_id":127303,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:26:33] local.INFO: Acknowledgment sent {"connection_id":127303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:26:47] local.INFO: TCP Data received {"connection_id":125308,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125308,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:26:47] local.INFO: Processing buffer {"connection_id":125308,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:26:47] local.INFO: IMEI packet received {"connection_id":125308,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":125308,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:26:52] local.INFO: TCP Data received {"connection_id":125308,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125308,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:26:52] local.INFO: Processing buffer {"connection_id":125308,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:26:52] local.INFO: IMEI packet received {"connection_id":125308,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":125308,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:26:54] local.INFO: TCP Data received {"connection_id":125308,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fdd2770012d7d304005ec2cb8000501282d..."} 
[2026-07-08 09:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fdd2770012d7d304005ec2cb8000501282d..."} 
[2026-07-08 09:26:54] local.INFO: Processing buffer {"connection_id":125308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fdd2770012d7d304005ec2cb8000501282d..."} 
[2026-07-08 09:26:54] local.INFO: Packet analysis {"connection_id":125308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fdd"} 
[2026-07-08 09:26:54] local.INFO: Extracted packet for processing {"connection_id":125308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fdd"} 
[2026-07-08 09:26:54] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":5,"angle":296,"satellites":45,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571541504001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021202660269539328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:26: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-07-08 09:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783482886000,"timestamp_ms":1783482886000,"timestamp_seconds":1783482886,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fdd2770"} 
[2026-07-08 09:26:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:26:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 09:26:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:26:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":125308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":125308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":125308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:26:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571541504001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9021202660269539328},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571541504001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:26:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:26:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021202660269539328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571541504001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021202660269539328}} 
[2026-07-08 09:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":125308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450003,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:26:54] local.INFO: GPS data processed {"connection_id":125308,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:26:54] local.INFO: Acknowledgment sent {"connection_id":125308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:27:01] local.INFO: TCP Data received {"connection_id":126027,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:27:01] local.INFO: Processing buffer {"connection_id":126027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:27:01] local.INFO: IMEI packet received {"connection_id":126027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":126027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:27:06] local.INFO: TCP Data received {"connection_id":126027,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:27:06] local.INFO: Processing buffer {"connection_id":126027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:27:06] local.INFO: IMEI packet received {"connection_id":126027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":126027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:27:07] local.INFO: TCP Data received {"connection_id":126027,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fdcaa70012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fdcaa70012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:27:07] local.INFO: Processing buffer {"connection_id":126027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fdcaa70012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:27:07] local.INFO: Packet analysis {"connection_id":126027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fdc"} 
[2026-07-08 09:27:07] local.INFO: Extracted packet for processing {"connection_id":126027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fdc"} 
[2026-07-08 09:27:07] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":50,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571533568001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783482854000,"timestamp_ms":1783482854000,"timestamp_seconds":1783482854,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fdcaa70"} 
[2026-07-08 09:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 09:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571533568001,"66":25615,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571533568001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:27:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:27:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571533568001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":126027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:27:07] local.INFO: GPS data processed {"connection_id":126027,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:27:07] local.INFO: Acknowledgment sent {"connection_id":126027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:27:12] local.INFO: TCP Data received {"connection_id":126027,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fdcaa70012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fdcaa70012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:27:12] local.INFO: Processing buffer {"connection_id":126027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fdcaa70012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:27:12] local.INFO: Packet analysis {"connection_id":126027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fdc"} 
[2026-07-08 09:27:12] local.INFO: Extracted packet for processing {"connection_id":126027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fdc"} 
[2026-07-08 09:27:12] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":50,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571533568001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783482854000,"timestamp_ms":1783482854000,"timestamp_seconds":1783482854,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fdcaa70"} 
[2026-07-08 09:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 09:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":126027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":126027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":126027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571533568001,"66":25615,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571533568001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:27:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:27:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571533568001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":126027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:27:12] local.INFO: GPS data processed {"connection_id":126027,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:27:12] local.INFO: Acknowledgment sent {"connection_id":126027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:27:22] local.INFO: TCP Data received {"connection_id":126028,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126028,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:27:22] local.INFO: Processing buffer {"connection_id":126028,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:27:22] local.INFO: IMEI packet received {"connection_id":126028,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 09:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":126028,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:27:25] local.INFO: TCP Data received {"connection_id":125308,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fdd2770012d7d304005ec2cb8000501282d..."} 
[2026-07-08 09:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fdd2770012d7d304005ec2cb8000501282d..."} 
[2026-07-08 09:27:25] local.INFO: Processing buffer {"connection_id":125308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fdd2770012d7d304005ec2cb8000501282d..."} 
[2026-07-08 09:27:25] local.INFO: Packet analysis {"connection_id":125308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fdd"} 
[2026-07-08 09:27:25] local.INFO: Extracted packet for processing {"connection_id":125308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fdd"} 
[2026-07-08 09:27:25] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":5,"angle":296,"satellites":45,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571541504001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021202660269539328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:27: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-07-08 09:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783482886000,"timestamp_ms":1783482886000,"timestamp_seconds":1783482886,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fdd2770"} 
[2026-07-08 09:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:27:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 09:27:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:27:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":125308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":125308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":125308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:27:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571541504001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9021202660269539328},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571541504001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:27:25] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:27:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021202660269539328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571541504001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021202660269539328}} 
[2026-07-08 09:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":125308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450006,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:27:25] local.INFO: GPS data processed {"connection_id":125308,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:27:25] local.INFO: Acknowledgment sent {"connection_id":125308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:27:47] local.INFO: TCP Data received {"connection_id":125309,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125309,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:27:47] local.INFO: Processing buffer {"connection_id":125309,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:27:47] local.INFO: IMEI packet received {"connection_id":125309,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":125309,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:27:53] local.INFO: TCP Data received {"connection_id":125309,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125309,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:27:53] local.INFO: Processing buffer {"connection_id":125309,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:27:53] local.INFO: IMEI packet received {"connection_id":125309,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":125309,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:27:54] local.INFO: TCP Data received {"connection_id":125309,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fdd2770012d7d304005ec2cb8000501282d..."} 
[2026-07-08 09:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fdd2770012d7d304005ec2cb8000501282d..."} 
[2026-07-08 09:27:54] local.INFO: Processing buffer {"connection_id":125309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fdd2770012d7d304005ec2cb8000501282d..."} 
[2026-07-08 09:27:54] local.INFO: Packet analysis {"connection_id":125309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fdd"} 
[2026-07-08 09:27:54] local.INFO: Extracted packet for processing {"connection_id":125309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fdd"} 
[2026-07-08 09:27:54] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":5,"angle":296,"satellites":45,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571541504001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021202660269539328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:27: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-07-08 09:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783482886000,"timestamp_ms":1783482886000,"timestamp_seconds":1783482886,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fdd2770"} 
[2026-07-08 09:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 09:27:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":125309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":125309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":125309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571541504001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9021202660269539328},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571541504001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:27:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:27:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021202660269539328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571541504001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021202660269539328}} 
[2026-07-08 09:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":125309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450007,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:27:54] local.INFO: GPS data processed {"connection_id":125309,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:27:54] local.INFO: Acknowledgment sent {"connection_id":125309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:27:56] local.INFO: TCP Data received {"connection_id":127304,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:27:56] local.INFO: Processing buffer {"connection_id":127304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:27:56] local.INFO: IMEI packet received {"connection_id":127304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":127304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:27:57] local.INFO: TCP Data received {"connection_id":127305,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127305,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:27:57] local.INFO: Processing buffer {"connection_id":127305,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:27:57] local.INFO: IMEI packet received {"connection_id":127305,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 09:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":127305,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:28:01] local.INFO: TCP Data received {"connection_id":127304,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:28:01] local.INFO: Processing buffer {"connection_id":127304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:28:01] local.INFO: IMEI packet received {"connection_id":127304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":127304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:28:02] local.INFO: TCP Data received {"connection_id":127304,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fdcaa70012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fdcaa70012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:28:02] local.INFO: Processing buffer {"connection_id":127304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fdcaa70012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:28:02] local.INFO: Packet analysis {"connection_id":127304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fdc"} 
[2026-07-08 09:28:02] local.INFO: Extracted packet for processing {"connection_id":127304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fdc"} 
[2026-07-08 09:28:02] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":50,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571533568001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783482854000,"timestamp_ms":1783482854000,"timestamp_seconds":1783482854,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fdcaa70"} 
[2026-07-08 09:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 09:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571533568001,"66":25615,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571533568001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:28:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:28:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571533568001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":127304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:28:02] local.INFO: GPS data processed {"connection_id":127304,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:28:02] local.INFO: Acknowledgment sent {"connection_id":127304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:28:26] local.INFO: TCP Data received {"connection_id":125309,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fdd2770012d7d304005ec2cb8000501282d..."} 
[2026-07-08 09:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fdd2770012d7d304005ec2cb8000501282d..."} 
[2026-07-08 09:28:26] local.INFO: Processing buffer {"connection_id":125309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fdd2770012d7d304005ec2cb8000501282d..."} 
[2026-07-08 09:28:26] local.INFO: Packet analysis {"connection_id":125309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fdd"} 
[2026-07-08 09:28:26] local.INFO: Extracted packet for processing {"connection_id":125309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fdd"} 
[2026-07-08 09:28:26] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":5,"angle":296,"satellites":45,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571541504001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021202660269539328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:28: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-07-08 09:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783482886000,"timestamp_ms":1783482886000,"timestamp_seconds":1783482886,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fdd2770"} 
[2026-07-08 09:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:28:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 09:28:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":125309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":125309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":125309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:28:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571541504001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9021202660269539328},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571541504001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:28:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:28:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021202660269539328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571541504001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021202660269539328}} 
[2026-07-08 09:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":125309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450009,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:28:26] local.INFO: GPS data processed {"connection_id":125309,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:28:26] local.INFO: Acknowledgment sent {"connection_id":125309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:28:33] local.INFO: TCP Data received {"connection_id":127304,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fdcaa70012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fdcaa70012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:28:33] local.INFO: Processing buffer {"connection_id":127304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fdcaa70012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:28:33] local.INFO: Packet analysis {"connection_id":127304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fdc"} 
[2026-07-08 09:28:33] local.INFO: Extracted packet for processing {"connection_id":127304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fdc"} 
[2026-07-08 09:28:33] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":50,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571533568001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783482854000,"timestamp_ms":1783482854000,"timestamp_seconds":1783482854,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fdcaa70"} 
[2026-07-08 09:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 09:28: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-07-08 09:28:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571533568001,"66":25615,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571533568001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:28:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:28:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571533568001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":127304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:28:33] local.INFO: GPS data processed {"connection_id":127304,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:28:33] local.INFO: Acknowledgment sent {"connection_id":127304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:28:52] local.INFO: TCP Data received {"connection_id":125204,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125204,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:28:52] local.INFO: Processing buffer {"connection_id":125204,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:28:52] local.INFO: IMEI packet received {"connection_id":125204,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":125204,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:28:56] local.INFO: TCP Data received {"connection_id":125205,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:28:56] local.INFO: Processing buffer {"connection_id":125205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:28:56] local.INFO: IMEI packet received {"connection_id":125205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":125205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:28:57] local.INFO: TCP Data received {"connection_id":125204,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125204,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:28:57] local.INFO: Processing buffer {"connection_id":125204,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:28:57] local.INFO: IMEI packet received {"connection_id":125204,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":125204,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:28:59] local.INFO: TCP Data received {"connection_id":125204,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fdd2770012d7d304005ec2cb8000501282d..."} 
[2026-07-08 09:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fdd2770012d7d304005ec2cb8000501282d..."} 
[2026-07-08 09:28:59] local.INFO: Processing buffer {"connection_id":125204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fdd2770012d7d304005ec2cb8000501282d..."} 
[2026-07-08 09:28:59] local.INFO: Packet analysis {"connection_id":125204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fdd"} 
[2026-07-08 09:28:59] local.INFO: Extracted packet for processing {"connection_id":125204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fdd"} 
[2026-07-08 09:28:59] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":5,"angle":296,"satellites":45,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571541504001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021202660269539328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:28:59] 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-07-08 09:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783482886000,"timestamp_ms":1783482886000,"timestamp_seconds":1783482886,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fdd2770"} 
[2026-07-08 09:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:28: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":169,"data_length":795,"current_offset":136} 
[2026-07-08 09:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":125204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":125204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":125204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571541504001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9021202660269539328},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571541504001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:28:59] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:28:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021202660269539328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571541504001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021202660269539328}} 
[2026-07-08 09:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":125204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450011,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:28:59] local.INFO: GPS data processed {"connection_id":125204,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:28:59] local.INFO: Acknowledgment sent {"connection_id":125204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:29:01] local.INFO: TCP Data received {"connection_id":125205,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:29:01] local.INFO: Processing buffer {"connection_id":125205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:29:01] local.INFO: IMEI packet received {"connection_id":125205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":125205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:29:02] local.INFO: TCP Data received {"connection_id":125205,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fdcaa70012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fdcaa70012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:29:02] local.INFO: Processing buffer {"connection_id":125205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fdcaa70012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:29:02] local.INFO: Packet analysis {"connection_id":125205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fdc"} 
[2026-07-08 09:29:02] local.INFO: Extracted packet for processing {"connection_id":125205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fdc"} 
[2026-07-08 09:29:02] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":50,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571533568001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783482854000,"timestamp_ms":1783482854000,"timestamp_seconds":1783482854,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fdcaa70"} 
[2026-07-08 09:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:29:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 09:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571533568001,"66":25615,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571533568001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:29:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:29:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571533568001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":125205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:29:02] local.INFO: GPS data processed {"connection_id":125205,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:29:02] local.INFO: Acknowledgment sent {"connection_id":125205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:29:32] local.INFO: TCP Data received {"connection_id":125204,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fdd2770012d7d304005ec2cb8000501282d..."} 
[2026-07-08 09:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fdd2770012d7d304005ec2cb8000501282d..."} 
[2026-07-08 09:29:32] local.INFO: Processing buffer {"connection_id":125204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fdd2770012d7d304005ec2cb8000501282d..."} 
[2026-07-08 09:29:32] local.INFO: Packet analysis {"connection_id":125204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fdd"} 
[2026-07-08 09:29:32] local.INFO: Extracted packet for processing {"connection_id":125204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fdd"} 
[2026-07-08 09:29:32] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":5,"angle":296,"satellites":45,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571541504001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021202660269539328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:29: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-07-08 09:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783482886000,"timestamp_ms":1783482886000,"timestamp_seconds":1783482886,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fdd2770"} 
[2026-07-08 09:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 09:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571541504001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9021202660269539328},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571541504001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:29:32] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:29:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021202660269539328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571541504001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021202660269539328}} 
[2026-07-08 09:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":125204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450013,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:29:32] local.INFO: GPS data processed {"connection_id":125204,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:29:32] local.INFO: Acknowledgment sent {"connection_id":125204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:29:33] local.INFO: TCP Data received {"connection_id":125205,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fdcaa70012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fdcaa70012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:29:33] local.INFO: Processing buffer {"connection_id":125205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fdcaa70012d7f9b4005afe0800009003432..."} 
[2026-07-08 09:29:33] local.INFO: Packet analysis {"connection_id":125205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fdc"} 
[2026-07-08 09:29:33] local.INFO: Extracted packet for processing {"connection_id":125205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fdc"} 
[2026-07-08 09:29:33] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":50,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571533568001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783482854000,"timestamp_ms":1783482854000,"timestamp_seconds":1783482854,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fdcaa70"} 
[2026-07-08 09:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 09:29: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-07-08 09: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-07-08 09:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571533568001,"66":25615,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571533568001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:29:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:29:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571533568001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":125205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:29:33] local.INFO: GPS data processed {"connection_id":125205,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:29:33] local.INFO: Acknowledgment sent {"connection_id":125205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:29:45] local.INFO: TCP Data received {"connection_id":126030,"ip":"117.225.214.64","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126030,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:29:45] local.INFO: Processing buffer {"connection_id":126030,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:29:45] local.INFO: IMEI packet received {"connection_id":126030,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 09:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":126030,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:29:47] local.INFO: TCP Data received {"connection_id":126029,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126029,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:29:47] local.INFO: Processing buffer {"connection_id":126029,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:29:47] local.INFO: IMEI packet received {"connection_id":126029,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":126029,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:29:48] local.INFO: TCP Data received {"connection_id":126029,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126029,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:29:48] local.INFO: Processing buffer {"connection_id":126029,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:29:48] local.INFO: IMEI packet received {"connection_id":126029,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":126029,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:29:51] local.INFO: TCP Data received {"connection_id":126030,"ip":"117.225.214.64","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126030,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:29:51] local.INFO: Processing buffer {"connection_id":126030,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:29:51] local.INFO: IMEI packet received {"connection_id":126030,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":126030,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:29:52] local.INFO: TCP Data received {"connection_id":126029,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126029,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:29:52] local.INFO: Processing buffer {"connection_id":126029,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:29:52] local.INFO: IMEI packet received {"connection_id":126029,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":126029,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:29:54] local.INFO: TCP Data received {"connection_id":126030,"ip":"117.225.214.64","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe0ec48012d0a95400704e070001b003e27..."} 
[2026-07-08 09:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe0ec48012d0a95400704e070001b003e27..."} 
[2026-07-08 09:29:54] local.INFO: Processing buffer {"connection_id":126030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe0ec48012d0a95400704e070001b003e27..."} 
[2026-07-08 09:29:54] local.INFO: Packet analysis {"connection_id":126030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe0"} 
[2026-07-08 09:29:54] local.INFO: Extracted packet for processing {"connection_id":126030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe0"} 
[2026-07-08 09:29:54] local.INFO: GPS Element Parsed {"raw_longitude":755668288,"raw_latitude":117760112,"longitude_deg":75.5668288,"latitude_deg":11.7760112,"altitude":27,"angle":62,"satellites":39,"speed":12,"hex_longitude":"2d0a9540","hex_latitude":"0704e070","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571681792001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23538173128736768,"note":"Value kept but may cause issues"} 
[2026-07-08 09:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":762163898334834688,"note":"Value kept but may cause issues"} 
[2026-07-08 09:29:54] 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-07-08 09:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783483133000,"timestamp_ms":1783483133000,"timestamp_seconds":1783483133,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe0ec48"} 
[2026-07-08 09:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:29: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-07-08 09: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 09:29:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":126030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":126030,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":126030,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.214.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571681792001,"66":14515,"44":206,"28":32256,"24":12,"16":23538173128736768,"45":762163898334834688},"client_ip":"117.225.214.64","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16,45]} 
[2026-07-08 09:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571681792001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:29:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-08 09:29:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-08 09:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23538173128736768,"km_value":23538173128736.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":762163898334834688,"description":"Unknown IO ID 45"} 
[2026-07-08 09:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571681792001,"power":14515,"unknown_44":206,"unknown_28":32256,"ignition":12,"odometer":null,"unknown_45":762163898334834688}} 
[2026-07-08 09:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":126030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450015,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:29:54] local.INFO: GPS data processed {"connection_id":126030,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:29:54] local.INFO: Acknowledgment sent {"connection_id":126030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:29:54] local.INFO: TCP Data received {"connection_id":126029,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe1bf38012d7d304005ec2cb8000501282c..."} 
[2026-07-08 09:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe1bf38012d7d304005ec2cb8000501282c..."} 
[2026-07-08 09:29:54] local.INFO: Processing buffer {"connection_id":126029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe1bf38012d7d304005ec2cb8000501282c..."} 
[2026-07-08 09:29:54] local.INFO: Packet analysis {"connection_id":126029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:29:54] local.INFO: Extracted packet for processing {"connection_id":126029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:29:54] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":5,"angle":296,"satellites":44,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571618816001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:29: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-07-08 09:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783483187000,"timestamp_ms":1783483187000,"timestamp_seconds":1783483187,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe1bf38"} 
[2026-07-08 09:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:29: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-07-08 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:29:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":126029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":126029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":126029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571618816001,"66":2242,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571618816001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:29:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:29:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571618816001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":126029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450016,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:29:55] local.INFO: GPS data processed {"connection_id":126029,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:29:55] local.INFO: Acknowledgment sent {"connection_id":126029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:29:56] local.INFO: TCP Data received {"connection_id":127307,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:29:56] local.INFO: Processing buffer {"connection_id":127307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:29:56] local.INFO: IMEI packet received {"connection_id":127307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":127307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:30:01] local.INFO: TCP Data received {"connection_id":127307,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:30:01] local.INFO: Processing buffer {"connection_id":127307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:30:01] local.INFO: IMEI packet received {"connection_id":127307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":127307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:30:02] local.INFO: TCP Data received {"connection_id":127307,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe14238012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe14238012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:30:02] local.INFO: Processing buffer {"connection_id":127307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe14238012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:30:02] local.INFO: Packet analysis {"connection_id":127307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:30:02] local.INFO: Extracted packet for processing {"connection_id":127307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:30:02] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":47,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571610624001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783483155000,"timestamp_ms":1783483155000,"timestamp_seconds":1783483155,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe14238"} 
[2026-07-08 09:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 09:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571610624001,"66":25625,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571610624001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:30:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:30:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571610624001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":127307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:30:02] local.INFO: GPS data processed {"connection_id":127307,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:30:02] local.INFO: Acknowledgment sent {"connection_id":127307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:30:28] local.INFO: TCP Data received {"connection_id":126029,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe1bf38012d7d304005ec2cb8000501282c..."} 
[2026-07-08 09:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe1bf38012d7d304005ec2cb8000501282c..."} 
[2026-07-08 09:30:28] local.INFO: Processing buffer {"connection_id":126029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe1bf38012d7d304005ec2cb8000501282c..."} 
[2026-07-08 09:30:28] local.INFO: Packet analysis {"connection_id":126029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:30:28] local.INFO: Extracted packet for processing {"connection_id":126029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:30:28] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":5,"angle":296,"satellites":44,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571618816001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:30:28] 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-07-08 09:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783483187000,"timestamp_ms":1783483187000,"timestamp_seconds":1783483187,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe1bf38"} 
[2026-07-08 09:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:30: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-07-08 09:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:30:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":126029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":126029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":126029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571618816001,"66":2242,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571618816001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:30:28] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:30:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571618816001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":126029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450018,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:30:28] local.INFO: GPS data processed {"connection_id":126029,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:30:28] local.INFO: Acknowledgment sent {"connection_id":126029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:30:31] local.INFO: TCP Data received {"connection_id":126030,"ip":"117.225.214.64","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe1f9d0012d0b58c00704f298001a006524..."} 
[2026-07-08 09:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe1f9d0012d0b58c00704f298001a006524..."} 
[2026-07-08 09:30:31] local.INFO: Processing buffer {"connection_id":126030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe1f9d0012d0b58c00704f298001a006524..."} 
[2026-07-08 09:30:31] local.INFO: Packet analysis {"connection_id":126030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:30:31] local.INFO: Extracted packet for processing {"connection_id":126030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:30:31] local.INFO: GPS Element Parsed {"raw_longitude":755718336,"raw_latitude":117764760,"longitude_deg":75.5718336,"latitude_deg":11.776476,"altitude":26,"angle":101,"satellites":36,"speed":28,"hex_longitude":"2d0b58c0","hex_latitude":"0704f298","is_valid_coordinates":true} 
[2026-07-08 09:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571696896001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23540711454408704,"note":"Value kept but may cause issues"} 
[2026-07-08 09:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":807692475819327488,"note":"Value kept but may cause issues"} 
[2026-07-08 09:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783483202000,"timestamp_ms":1783483202000,"timestamp_seconds":1783483202,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe1f9d0"} 
[2026-07-08 09:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-08 09:30: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-07-08 09:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":126030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":126030,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":126030,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.214.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571696896001,"66":14026,"21":206,"28":32256,"24":28,"16":23540711454408704,"45":807692475819327488},"client_ip":"117.225.214.64","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-07-08 09:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571696896001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:30:31] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-07-08 09:30:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-08 09:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23540711454408704,"km_value":23540711454408.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":807692475819327488,"description":"Unknown IO ID 45"} 
[2026-07-08 09:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571696896001,"power":14026,"unknown_21":206,"unknown_28":32256,"ignition":28,"odometer":null,"unknown_45":807692475819327488}} 
[2026-07-08 09:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":126030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450019,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:30:31] local.INFO: GPS data processed {"connection_id":126030,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:30:31] local.INFO: Acknowledgment sent {"connection_id":126030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:30:36] local.INFO: TCP Data received {"connection_id":127307,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe14238012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe14238012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:30:36] local.INFO: Processing buffer {"connection_id":127307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe14238012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:30:36] local.INFO: Packet analysis {"connection_id":127307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:30:36] local.INFO: Extracted packet for processing {"connection_id":127307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:30:36] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":47,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571610624001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783483155000,"timestamp_ms":1783483155000,"timestamp_seconds":1783483155,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe14238"} 
[2026-07-08 09:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 09:30: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-07-08 09:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571610624001,"66":25625,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571610624001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:30:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:30:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571610624001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":127307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:30:36] local.INFO: GPS data processed {"connection_id":127307,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:30:36] local.INFO: Acknowledgment sent {"connection_id":127307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:30:48] local.INFO: TCP Data received {"connection_id":125206,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:30:48] local.INFO: Processing buffer {"connection_id":125206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:30:48] local.INFO: IMEI packet received {"connection_id":125206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":125206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:30:50] local.INFO: TCP Data received {"connection_id":125311,"ip":"117.225.214.64","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125311,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:30:50] local.INFO: Processing buffer {"connection_id":125311,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:30:50] local.INFO: IMEI packet received {"connection_id":125311,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 09:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":125311,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:30:52] local.INFO: TCP Data received {"connection_id":125206,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:30:52] local.INFO: Processing buffer {"connection_id":125206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:30:52] local.INFO: IMEI packet received {"connection_id":125206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":125206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:30:56] local.INFO: TCP Data received {"connection_id":125311,"ip":"117.225.214.64","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125311,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:30:56] local.INFO: Processing buffer {"connection_id":125311,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:30:56] local.INFO: IMEI packet received {"connection_id":125311,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":125311,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:30:57] local.INFO: TCP Data received {"connection_id":125206,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe1bf38012d7d304005ec2cb8000501282c..."} 
[2026-07-08 09:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe1bf38012d7d304005ec2cb8000501282c..."} 
[2026-07-08 09:30:57] local.INFO: Processing buffer {"connection_id":125206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe1bf38012d7d304005ec2cb8000501282c..."} 
[2026-07-08 09:30:57] local.INFO: Packet analysis {"connection_id":125206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:30:57] local.INFO: Extracted packet for processing {"connection_id":125206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:30:57] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":5,"angle":296,"satellites":44,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571618816001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:30: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-07-08 09:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783483187000,"timestamp_ms":1783483187000,"timestamp_seconds":1783483187,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe1bf38"} 
[2026-07-08 09:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:30: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-07-08 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:30:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":125206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":125206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":125206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:30:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571618816001,"66":2242,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571618816001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:30:57] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:30:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571618816001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":125206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450021,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:30:57] local.INFO: GPS data processed {"connection_id":125206,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:30:57] local.INFO: Acknowledgment sent {"connection_id":125206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:31:01] local.INFO: TCP Data received {"connection_id":126031,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:31:01] local.INFO: Processing buffer {"connection_id":126031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:31:01] local.INFO: IMEI packet received {"connection_id":126031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":126031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:31:02] local.INFO: TCP Data received {"connection_id":125311,"ip":"117.225.214.64","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe201a0012d0b5d000704f1180019007624..."} 
[2026-07-08 09:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe201a0012d0b5d000704f1180019007624..."} 
[2026-07-08 09:31:02] local.INFO: Processing buffer {"connection_id":125311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe201a0012d0b5d000704f1180019007624..."} 
[2026-07-08 09:31:02] local.INFO: Packet analysis {"connection_id":125311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe2"} 
[2026-07-08 09:31:02] local.INFO: Extracted packet for processing {"connection_id":125311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe2"} 
[2026-07-08 09:31:02] local.INFO: GPS Element Parsed {"raw_longitude":755719424,"raw_latitude":117764376,"longitude_deg":75.5719424,"latitude_deg":11.7764376,"altitude":25,"angle":118,"satellites":36,"speed":19,"hex_longitude":"2d0b5d00","hex_latitude":"0704f118","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571699712001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23540767288983552,"note":"Value kept but may cause issues"} 
[2026-07-08 09:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":817614468748056576,"note":"Value kept but may cause issues"} 
[2026-07-08 09:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783483204000,"timestamp_ms":1783483204000,"timestamp_seconds":1783483204,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe201a0"} 
[2026-07-08 09:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:31: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-07-08 09: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":202,"data_length":795,"current_offset":136} 
[2026-07-08 09:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125311,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125311,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.214.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571699712001,"66":14428,"21":206,"28":32256,"24":19,"16":23540767288983552,"45":817614468748056576},"client_ip":"117.225.214.64","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-07-08 09:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571699712001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:31:02] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-07-08 09:31:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-08 09:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23540767288983552,"km_value":23540767288983.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":817614468748056576,"description":"Unknown IO ID 45"} 
[2026-07-08 09:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571699712001,"power":14428,"unknown_21":206,"unknown_28":32256,"ignition":19,"odometer":null,"unknown_45":817614468748056576}} 
[2026-07-08 09:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":125311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450022,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:31:02] local.INFO: GPS data processed {"connection_id":125311,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:31:02] local.INFO: Acknowledgment sent {"connection_id":125311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:31:06] local.INFO: TCP Data received {"connection_id":126031,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:31:06] local.INFO: Processing buffer {"connection_id":126031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:31:06] local.INFO: IMEI packet received {"connection_id":126031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":126031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:31:07] local.INFO: TCP Data received {"connection_id":126031,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe14238012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe14238012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:31:07] local.INFO: Processing buffer {"connection_id":126031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe14238012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:31:07] local.INFO: Packet analysis {"connection_id":126031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:31:07] local.INFO: Extracted packet for processing {"connection_id":126031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:31:07] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":47,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571610624001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783483155000,"timestamp_ms":1783483155000,"timestamp_seconds":1783483155,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe14238"} 
[2026-07-08 09:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 09:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571610624001,"66":25625,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571610624001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:31:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:31:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571610624001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":126031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:31:07] local.INFO: GPS data processed {"connection_id":126031,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:31:07] local.INFO: Acknowledgment sent {"connection_id":126031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:31:12] local.INFO: TCP Data received {"connection_id":126031,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe14238012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe14238012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:31:12] local.INFO: Processing buffer {"connection_id":126031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe14238012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:31:12] local.INFO: Packet analysis {"connection_id":126031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:31:12] local.INFO: Extracted packet for processing {"connection_id":126031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:31:12] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":47,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571610624001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783483155000,"timestamp_ms":1783483155000,"timestamp_seconds":1783483155,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe14238"} 
[2026-07-08 09:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 09:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":126031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":126031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":126031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571610624001,"66":25625,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571610624001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:31:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:31:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571610624001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":126031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:31:12] local.INFO: GPS data processed {"connection_id":126031,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:31:12] local.INFO: Acknowledgment sent {"connection_id":126031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:31:28] local.INFO: TCP Data received {"connection_id":125206,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe1bf38012d7d304005ec2cb8000501282c..."} 
[2026-07-08 09:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe1bf38012d7d304005ec2cb8000501282c..."} 
[2026-07-08 09:31:28] local.INFO: Processing buffer {"connection_id":125206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe1bf38012d7d304005ec2cb8000501282c..."} 
[2026-07-08 09:31:28] local.INFO: Packet analysis {"connection_id":125206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:31:28] local.INFO: Extracted packet for processing {"connection_id":125206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:31:28] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":5,"angle":296,"satellites":44,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571618816001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:31:28] 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-07-08 09:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783483187000,"timestamp_ms":1783483187000,"timestamp_seconds":1783483187,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe1bf38"} 
[2026-07-08 09:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:31: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-07-08 09:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:31:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:31:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":125206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":125206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":125206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:31:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571618816001,"66":2242,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571618816001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:31:28] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:31:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571618816001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":125206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450025,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:31:28] local.INFO: GPS data processed {"connection_id":125206,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:31:28] local.INFO: Acknowledgment sent {"connection_id":125206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:31:45] local.INFO: TCP Data received {"connection_id":127310,"ip":"117.225.214.64","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127310,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:31:45] local.INFO: Processing buffer {"connection_id":127310,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:31:45] local.INFO: IMEI packet received {"connection_id":127310,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 09:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":127310,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:31:49] local.INFO: TCP Data received {"connection_id":127310,"ip":"117.225.214.64","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127310,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:31:49] local.INFO: Processing buffer {"connection_id":127310,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:31:49] local.INFO: IMEI packet received {"connection_id":127310,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":127310,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:31:52] local.INFO: TCP Data received {"connection_id":125312,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125312,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:31:52] local.INFO: Processing buffer {"connection_id":125312,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:31:52] local.INFO: IMEI packet received {"connection_id":125312,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":125312,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:31:55] local.INFO: TCP Data received {"connection_id":127310,"ip":"117.225.214.64","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe32a80012d0bb9400704bc280014003f26..."} 
[2026-07-08 09:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe32a80012d0bb9400704bc280014003f26..."} 
[2026-07-08 09:31:55] local.INFO: Processing buffer {"connection_id":127310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe32a80012d0bb9400704bc280014003f26..."} 
[2026-07-08 09:31:55] local.INFO: Packet analysis {"connection_id":127310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe3"} 
[2026-07-08 09:31:55] local.INFO: Extracted packet for processing {"connection_id":127310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe3"} 
[2026-07-08 09:31:55] local.INFO: GPS Element Parsed {"raw_longitude":755743040,"raw_latitude":117750824,"longitude_deg":75.574304,"latitude_deg":11.7750824,"altitude":20,"angle":63,"satellites":38,"speed":10,"hex_longitude":"2d0bb940","hex_latitude":"0704bc28","is_valid_coordinates":true} 
[2026-07-08 09:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571718912001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23542399376556032,"note":"Value kept but may cause issues"} 
[2026-07-08 09:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843228691625097216,"note":"Value kept but may cause issues"} 
[2026-07-08 09:31:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,28,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 09:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783483280000,"timestamp_ms":1783483280000,"timestamp_seconds":1783483280,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe32a80"} 
[2026-07-08 09:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-08 09:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":127310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":127310,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":127310,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.214.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571718912001,"66":14537,"16":23542399376556032,"28":32256,"24":10,"45":843228691625097216},"client_ip":"117.225.214.64","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,28,24,45]} 
[2026-07-08 09:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571718912001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23542399376556032,"km_value":23542399376556.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:31:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-08 09:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":843228691625097216,"description":"Unknown IO ID 45"} 
[2026-07-08 09:31:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456571718912001,"power":14537,"odometer":null,"unknown_28":32256,"ignition":10,"unknown_45":843228691625097216}} 
[2026-07-08 09:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":127310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450026,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:31:55] local.INFO: GPS data processed {"connection_id":127310,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:31:55] local.INFO: Acknowledgment sent {"connection_id":127310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:31:56] local.INFO: TCP Data received {"connection_id":127310,"ip":"117.225.214.64","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe32e68012d0bb9c00704bcd80014002526..."} 
[2026-07-08 09:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe32e68012d0bb9c00704bcd80014002526..."} 
[2026-07-08 09:31:56] local.INFO: Processing buffer {"connection_id":127310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe32e68012d0bb9c00704bcd80014002526..."} 
[2026-07-08 09:31:56] local.INFO: Packet analysis {"connection_id":127310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe3"} 
[2026-07-08 09:31:56] local.INFO: Extracted packet for processing {"connection_id":127310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe3"} 
[2026-07-08 09:31:56] local.INFO: GPS Element Parsed {"raw_longitude":755743168,"raw_latitude":117751000,"longitude_deg":75.5743168,"latitude_deg":11.7751,"altitude":20,"angle":37,"satellites":38,"speed":7,"hex_longitude":"2d0bb9c0","hex_latitude":"0704bcd8","is_valid_coordinates":true} 
[2026-07-08 09:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571719680001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23542407966490624,"note":"Value kept but may cause issues"} 
[2026-07-08 09:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":844776803997067264,"note":"Value kept but may cause issues"} 
[2026-07-08 09:31:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,28,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 09:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783483281000,"timestamp_ms":1783483281000,"timestamp_seconds":1783483281,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe32e68"} 
[2026-07-08 09:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-08 09:31:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:31:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":127310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":127310,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":127310,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.214.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571719680001,"66":14537,"16":23542407966490624,"28":32256,"24":7,"45":844776803997067264},"client_ip":"117.225.214.64","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,28,24,45]} 
[2026-07-08 09:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571719680001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23542407966490624,"km_value":23542407966490.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:31:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-08 09:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":844776803997067264,"description":"Unknown IO ID 45"} 
[2026-07-08 09:31:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456571719680001,"power":14537,"odometer":null,"unknown_28":32256,"ignition":7,"unknown_45":844776803997067264}} 
[2026-07-08 09:31:56] local.INFO: TCP Data received {"connection_id":125313,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:31:56] local.INFO: Processing buffer {"connection_id":125313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:31:56] local.INFO: IMEI packet received {"connection_id":125313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":125313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":127310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450027,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:31:56] local.INFO: GPS data processed {"connection_id":127310,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:31:56] local.INFO: Acknowledgment sent {"connection_id":127310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:31:57] local.INFO: TCP Data received {"connection_id":125312,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125312,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:31:57] local.INFO: Processing buffer {"connection_id":125312,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:31:57] local.INFO: IMEI packet received {"connection_id":125312,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":125312,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:31:59] local.INFO: TCP Data received {"connection_id":125312,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe1bf38012d7d304005ec2cb8000501282c..."} 
[2026-07-08 09:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe1bf38012d7d304005ec2cb8000501282c..."} 
[2026-07-08 09:31:59] local.INFO: Processing buffer {"connection_id":125312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe1bf38012d7d304005ec2cb8000501282c..."} 
[2026-07-08 09:31:59] local.INFO: Packet analysis {"connection_id":125312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:31:59] local.INFO: Extracted packet for processing {"connection_id":125312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:31:59] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":5,"angle":296,"satellites":44,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571618816001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:31:59] 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-07-08 09:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783483187000,"timestamp_ms":1783483187000,"timestamp_seconds":1783483187,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe1bf38"} 
[2026-07-08 09:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":125312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":125312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":125312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571618816001,"66":2242,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571618816001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:31:59] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:31:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571618816001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":125312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450028,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:31:59] local.INFO: GPS data processed {"connection_id":125312,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:31:59] local.INFO: Acknowledgment sent {"connection_id":125312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:32:01] local.INFO: TCP Data received {"connection_id":125313,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:32:01] local.INFO: Processing buffer {"connection_id":125313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:32:01] local.INFO: IMEI packet received {"connection_id":125313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":125313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:32:02] local.INFO: TCP Data received {"connection_id":125313,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe14238012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe14238012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:32:02] local.INFO: Processing buffer {"connection_id":125313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe14238012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:32:02] local.INFO: Packet analysis {"connection_id":125313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:32:02] local.INFO: Extracted packet for processing {"connection_id":125313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:32:02] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":47,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571610624001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783483155000,"timestamp_ms":1783483155000,"timestamp_seconds":1783483155,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe14238"} 
[2026-07-08 09:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:32:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 09:32:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571610624001,"66":25625,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571610624001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:32:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:32:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571610624001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":125313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:32:02] local.INFO: GPS data processed {"connection_id":125313,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:32:02] local.INFO: Acknowledgment sent {"connection_id":125313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:32:03] local.INFO: TCP Data received {"connection_id":125312,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe1bf38012d7d304005ec2cb8000501282c..."} 
[2026-07-08 09:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe1bf38012d7d304005ec2cb8000501282c..."} 
[2026-07-08 09:32:03] local.INFO: Processing buffer {"connection_id":125312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe1bf38012d7d304005ec2cb8000501282c..."} 
[2026-07-08 09:32:03] local.INFO: Packet analysis {"connection_id":125312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:32:03] local.INFO: Extracted packet for processing {"connection_id":125312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:32:03] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":5,"angle":296,"satellites":44,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571618816001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:32:03] 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-07-08 09:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783483187000,"timestamp_ms":1783483187000,"timestamp_seconds":1783483187,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe1bf38"} 
[2026-07-08 09:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:32: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-07-08 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571618816001,"66":2242,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571618816001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:32:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:32:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571618816001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":125312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450030,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:32:03] local.INFO: GPS data processed {"connection_id":125312,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:32:03] local.INFO: Acknowledgment sent {"connection_id":125312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:32:33] local.INFO: TCP Data received {"connection_id":125313,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe14238012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe14238012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:32:33] local.INFO: Processing buffer {"connection_id":125313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe14238012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:32:33] local.INFO: Packet analysis {"connection_id":125313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:32:33] local.INFO: Extracted packet for processing {"connection_id":125313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:32:33] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":47,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571610624001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783483155000,"timestamp_ms":1783483155000,"timestamp_seconds":1783483155,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe14238"} 
[2026-07-08 09:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 09:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571610624001,"66":25625,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571610624001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:32:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:32:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571610624001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":125313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:32:33] local.INFO: GPS data processed {"connection_id":125313,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:32:33] local.INFO: Acknowledgment sent {"connection_id":125313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:32:45] local.INFO: TCP Data received {"connection_id":127312,"ip":"117.225.214.64","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127312,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:32:45] local.INFO: Processing buffer {"connection_id":127312,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:32:45] local.INFO: IMEI packet received {"connection_id":127312,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 09:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":127312,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:32:47] local.INFO: TCP Data received {"connection_id":127311,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127311,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:32:47] local.INFO: Processing buffer {"connection_id":127311,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:32:47] local.INFO: IMEI packet received {"connection_id":127311,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":127311,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:32:50] local.INFO: TCP Data received {"connection_id":127312,"ip":"117.225.214.64","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127312,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:32:50] local.INFO: Processing buffer {"connection_id":127312,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:32:50] local.INFO: IMEI packet received {"connection_id":127312,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":127312,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:32:52] local.INFO: TCP Data received {"connection_id":127311,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127311,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:32:52] local.INFO: Processing buffer {"connection_id":127311,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:32:52] local.INFO: IMEI packet received {"connection_id":127311,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":127311,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:32:54] local.INFO: TCP Data received {"connection_id":127311,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe1bf38012d7d304005ec2cb8000501282c..."} 
[2026-07-08 09:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe1bf38012d7d304005ec2cb8000501282c..."} 
[2026-07-08 09:32:54] local.INFO: Processing buffer {"connection_id":127311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe1bf38012d7d304005ec2cb8000501282c..."} 
[2026-07-08 09:32:54] local.INFO: Packet analysis {"connection_id":127311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:32:54] local.INFO: Extracted packet for processing {"connection_id":127311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:32:54] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":5,"angle":296,"satellites":44,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571618816001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:32: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-07-08 09:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783483187000,"timestamp_ms":1783483187000,"timestamp_seconds":1783483187,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe1bf38"} 
[2026-07-08 09:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:32: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-07-08 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:32:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":127311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":127311,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":127311,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571618816001,"66":2242,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571618816001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:32:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:32:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571618816001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":127311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450032,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:32:54] local.INFO: GPS data processed {"connection_id":127311,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:32:54] local.INFO: Acknowledgment sent {"connection_id":127311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:32:56] local.INFO: TCP Data received {"connection_id":127312,"ip":"117.225.214.64","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe40928012d0bc88007052c00001e002c27..."} 
[2026-07-08 09:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe40928012d0bc88007052c00001e002c27..."} 
[2026-07-08 09:32:56] local.INFO: Processing buffer {"connection_id":127312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe40928012d0bc88007052c00001e002c27..."} 
[2026-07-08 09:32:56] local.INFO: Packet analysis {"connection_id":127312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe4"} 
[2026-07-08 09:32:56] local.INFO: Extracted packet for processing {"connection_id":127312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe4"} 
[2026-07-08 09:32:56] local.INFO: GPS Element Parsed {"raw_longitude":755746944,"raw_latitude":117779456,"longitude_deg":75.5746944,"latitude_deg":11.7779456,"altitude":30,"angle":44,"satellites":39,"speed":10,"hex_longitude":"2d0bc880","hex_latitude":"07052c00","is_valid_coordinates":true} 
[2026-07-08 09:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571734016001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23543868255371264,"note":"Value kept but may cause issues"} 
[2026-07-08 09:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":848787822422470656,"note":"Value kept but may cause issues"} 
[2026-07-08 09:32:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,28,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 09:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783483337000,"timestamp_ms":1783483337000,"timestamp_seconds":1783483337,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe40928"} 
[2026-07-08 09:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:32:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-08 09:32:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:32:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":127312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":127312,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":127312,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.214.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571734016001,"66":14254,"16":23543868255371264,"28":32256,"24":10,"45":848787822422470656},"client_ip":"117.225.214.64","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,28,24,45]} 
[2026-07-08 09:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571734016001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23543868255371264,"km_value":23543868255371.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:32:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-08 09:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":848787822422470656,"description":"Unknown IO ID 45"} 
[2026-07-08 09:32:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456571734016001,"power":14254,"odometer":null,"unknown_28":32256,"ignition":10,"unknown_45":848787822422470656}} 
[2026-07-08 09:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":127312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450033,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:32:56] local.INFO: GPS data processed {"connection_id":127312,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:32:56] local.INFO: Acknowledgment sent {"connection_id":127312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:32:56] local.INFO: TCP Data received {"connection_id":126033,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:32:56] local.INFO: Processing buffer {"connection_id":126033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:32:56] local.INFO: IMEI packet received {"connection_id":126033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":126033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:33:01] local.INFO: TCP Data received {"connection_id":126033,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:33:01] local.INFO: Processing buffer {"connection_id":126033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:33:01] local.INFO: IMEI packet received {"connection_id":126033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":126033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:33:02] local.INFO: TCP Data received {"connection_id":126033,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe14238012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe14238012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:33:02] local.INFO: Processing buffer {"connection_id":126033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe14238012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:33:02] local.INFO: Packet analysis {"connection_id":126033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:33:02] local.INFO: Extracted packet for processing {"connection_id":126033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:33:02] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":47,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571610624001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783483155000,"timestamp_ms":1783483155000,"timestamp_seconds":1783483155,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe14238"} 
[2026-07-08 09:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 09:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571610624001,"66":25625,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571610624001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:33:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:33:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571610624001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":126033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:33:02] local.INFO: GPS data processed {"connection_id":126033,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:33:02] local.INFO: Acknowledgment sent {"connection_id":126033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:33:21] local.INFO: TCP Data received {"connection_id":125314,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125314,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:33:21] local.INFO: Processing buffer {"connection_id":125314,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:33:21] local.INFO: IMEI packet received {"connection_id":125314,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 09:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":125314,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:33:26] local.INFO: TCP Data received {"connection_id":127311,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe1bf38012d7d304005ec2cb8000501282c..."} 
[2026-07-08 09:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe1bf38012d7d304005ec2cb8000501282c..."} 
[2026-07-08 09:33:26] local.INFO: Processing buffer {"connection_id":127311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe1bf38012d7d304005ec2cb8000501282c..."} 
[2026-07-08 09:33:26] local.INFO: Packet analysis {"connection_id":127311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:33:26] local.INFO: Extracted packet for processing {"connection_id":127311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:33:26] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":5,"angle":296,"satellites":44,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571618816001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:33: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-07-08 09:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783483187000,"timestamp_ms":1783483187000,"timestamp_seconds":1783483187,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe1bf38"} 
[2026-07-08 09:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:33: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-07-08 09:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:33:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":127311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":127311,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":127311,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:33:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571618816001,"66":2242,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571618816001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:33:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:33:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571618816001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":127311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450035,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:33:26] local.INFO: GPS data processed {"connection_id":127311,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:33:26] local.INFO: Acknowledgment sent {"connection_id":127311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:33:32] local.INFO: TCP Data received {"connection_id":127312,"ip":"117.225.214.64","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe40d10012d0bc90007052d30001e001327..."} 
[2026-07-08 09:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe40d10012d0bc90007052d30001e001327..."} 
[2026-07-08 09:33:32] local.INFO: Processing buffer {"connection_id":127312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe40d10012d0bc90007052d30001e001327..."} 
[2026-07-08 09:33:32] local.INFO: Packet analysis {"connection_id":127312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe4"} 
[2026-07-08 09:33:32] local.INFO: Extracted packet for processing {"connection_id":127312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe4"} 
[2026-07-08 09:33:32] local.INFO: GPS Element Parsed {"raw_longitude":755747072,"raw_latitude":117779760,"longitude_deg":75.5747072,"latitude_deg":11.777976,"altitude":30,"angle":19,"satellites":39,"speed":11,"hex_longitude":"2d0bc900","hex_latitude":"07052d30","is_valid_coordinates":true} 
[2026-07-08 09:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571734272001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23543885435240448,"note":"Value kept but may cause issues"} 
[2026-07-08 09:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":849069297399234560,"note":"Value kept but may cause issues"} 
[2026-07-08 09:33:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,28,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 09:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783483338000,"timestamp_ms":1783483338000,"timestamp_seconds":1783483338,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe40d10"} 
[2026-07-08 09:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:33: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-07-08 09: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":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-08 09:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127312,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127312,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.214.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571734272001,"66":13830,"16":23543885435240448,"28":32256,"24":11,"45":849069297399234560},"client_ip":"117.225.214.64","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,28,24,45]} 
[2026-07-08 09:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571734272001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23543885435240448,"km_value":23543885435240.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:33:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-08 09:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":849069297399234560,"description":"Unknown IO ID 45"} 
[2026-07-08 09:33:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456571734272001,"power":13830,"odometer":null,"unknown_28":32256,"ignition":11,"unknown_45":849069297399234560}} 
[2026-07-08 09:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":127312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450036,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:33:33] local.INFO: GPS data processed {"connection_id":127312,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:33:33] local.INFO: Acknowledgment sent {"connection_id":127312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:33:33] local.INFO: TCP Data received {"connection_id":126033,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe14238012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe14238012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:33:33] local.INFO: Processing buffer {"connection_id":126033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe14238012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:33:33] local.INFO: Packet analysis {"connection_id":126033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:33:33] local.INFO: Extracted packet for processing {"connection_id":126033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:33:33] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":47,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571610624001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783483155000,"timestamp_ms":1783483155000,"timestamp_seconds":1783483155,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe14238"} 
[2026-07-08 09:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 09:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:33: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-07-08 09:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571610624001,"66":25625,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571610624001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:33:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:33:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571610624001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":126033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:33:33] local.INFO: GPS data processed {"connection_id":126033,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:33:33] local.INFO: Acknowledgment sent {"connection_id":126033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:33:48] local.INFO: TCP Data received {"connection_id":125207,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125207,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:33:48] local.INFO: Processing buffer {"connection_id":125207,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:33:48] local.INFO: IMEI packet received {"connection_id":125207,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":125207,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:33:52] local.INFO: TCP Data received {"connection_id":125207,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125207,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:33:52] local.INFO: Processing buffer {"connection_id":125207,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:33:52] local.INFO: IMEI packet received {"connection_id":125207,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":125207,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:33:54] local.INFO: TCP Data received {"connection_id":125207,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe1bf38012d7d304005ec2cb8000501282c..."} 
[2026-07-08 09:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe1bf38012d7d304005ec2cb8000501282c..."} 
[2026-07-08 09:33:54] local.INFO: Processing buffer {"connection_id":125207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe1bf38012d7d304005ec2cb8000501282c..."} 
[2026-07-08 09:33:54] local.INFO: Packet analysis {"connection_id":125207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:33:54] local.INFO: Extracted packet for processing {"connection_id":125207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:33:54] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":5,"angle":296,"satellites":44,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571618816001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:33: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-07-08 09:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783483187000,"timestamp_ms":1783483187000,"timestamp_seconds":1783483187,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe1bf38"} 
[2026-07-08 09:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:33: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-07-08 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:33:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":125207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":125207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":125207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571618816001,"66":2242,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571618816001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:33:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:33:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571618816001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":125207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450038,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:33:54] local.INFO: GPS data processed {"connection_id":125207,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:33:54] local.INFO: Acknowledgment sent {"connection_id":125207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:33:56] local.INFO: TCP Data received {"connection_id":127314,"ip":"117.225.214.64","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127314,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:33:56] local.INFO: Processing buffer {"connection_id":127314,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:33:56] local.INFO: IMEI packet received {"connection_id":127314,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 09:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":127314,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:33:56] local.INFO: TCP Data received {"connection_id":127313,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:33:56] local.INFO: Processing buffer {"connection_id":127313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:33:56] local.INFO: IMEI packet received {"connection_id":127313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":127313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:33:56] local.INFO: TCP Data received {"connection_id":126034,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126034,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:33:56] local.INFO: Processing buffer {"connection_id":126034,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:33:56] local.INFO: IMEI packet received {"connection_id":126034,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 09:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":126034,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:34:00] local.INFO: TCP Data received {"connection_id":127314,"ip":"117.225.214.64","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127314,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:34:00] local.INFO: Processing buffer {"connection_id":127314,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:34:00] local.INFO: IMEI packet received {"connection_id":127314,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":127314,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:34:01] local.INFO: TCP Data received {"connection_id":127313,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:34:01] local.INFO: Processing buffer {"connection_id":127313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:34:01] local.INFO: IMEI packet received {"connection_id":127313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":127313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:34:02] local.INFO: TCP Data received {"connection_id":127313,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe14238012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe14238012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:34:02] local.INFO: Processing buffer {"connection_id":127313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe14238012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:34:02] local.INFO: Packet analysis {"connection_id":127313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:34:02] local.INFO: Extracted packet for processing {"connection_id":127313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:34:02] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":47,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571610624001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783483155000,"timestamp_ms":1783483155000,"timestamp_seconds":1783483155,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe14238"} 
[2026-07-08 09:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:34:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 09:34:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:34:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571610624001,"66":25625,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571610624001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:34:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:34:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571610624001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":127313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:34:02] local.INFO: GPS data processed {"connection_id":127313,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:34:02] local.INFO: Acknowledgment sent {"connection_id":127313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:34:12] local.INFO: TCP Data received {"connection_id":127314,"ip":"117.225.214.64","data_length":812,"data_hex":"000f383632353637303732353733323130000000000000030f8e0a0000019f3f..."} 
[2026-07-08 09:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127314,"packet_length":812,"packet_hex":"000f383632353637303732353733323130000000000000030f8e0a0000019f3f..."} 
[2026-07-08 09:34:12] local.INFO: Processing buffer {"connection_id":127314,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a0000019f3f..."} 
[2026-07-08 09:34:12] local.INFO: IMEI packet received {"connection_id":127314,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":127314,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:34:13] local.INFO: TCP Data received {"connection_id":127314,"ip":"117.225.214.64","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe541a8012d0c1600070596d00018001825..."} 
[2026-07-08 09:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe541a8012d0c1600070596d00018001825..."} 
[2026-07-08 09:34:13] local.INFO: Processing buffer {"connection_id":127314,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f3fe539d8012d0c1500070595a80018003525..."} 
[2026-07-08 09:34:13] local.INFO: Packet analysis {"connection_id":127314,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3fe5"} 
[2026-07-08 09:34:13] local.INFO: Extracted packet for processing {"connection_id":127314,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe5"} 
[2026-07-08 09:34:13] local.INFO: GPS Element Parsed {"raw_longitude":755766528,"raw_latitude":117806504,"longitude_deg":75.5766528,"latitude_deg":11.7806504,"altitude":24,"angle":53,"satellites":37,"speed":7,"hex_longitude":"2d0c1500","hex_latitude":"070595a8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571753984001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23546157472940032,"note":"Value kept but may cause issues"} 
[2026-07-08 09:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":870320658147790848,"note":"Value kept but may cause issues"} 
[2026-07-08 09:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783483415000,"timestamp_ms":1783483415000,"timestamp_seconds":1783483415,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe539d8"} 
[2026-07-08 09:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-07-08 09:34:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:34:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:34:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":127314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":127314,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":127314,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:34:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.214.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571753984001,"66":13722,"139":206,"28":32256,"24":7,"16":23546157472940032,"45":870320658147790848},"client_ip":"117.225.214.64","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,28,24,16,45]} 
[2026-07-08 09:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571753984001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:34:14] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-08 09:34:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-08 09:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23546157472940032,"km_value":23546157472940.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":870320658147790848,"description":"Unknown IO ID 45"} 
[2026-07-08 09:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571753984001,"power":13722,"unknown_139":206,"unknown_28":32256,"ignition":7,"odometer":null,"unknown_45":870320658147790848}} 
[2026-07-08 09:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":127314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450040,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:34:14] local.INFO: GPS data processed {"connection_id":127314,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:34:14] local.INFO: Acknowledgment sent {"connection_id":127314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:34:14] local.INFO: Packet analysis {"connection_id":127314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe5"} 
[2026-07-08 09:34:14] local.INFO: Extracted packet for processing {"connection_id":127314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe5"} 
[2026-07-08 09:34:14] local.INFO: GPS Element Parsed {"raw_longitude":755766784,"raw_latitude":117806800,"longitude_deg":75.5766784,"latitude_deg":11.78068,"altitude":24,"angle":24,"satellites":37,"speed":9,"hex_longitude":"2d0c1600","hex_latitude":"070596d0","is_valid_coordinates":true} 
[2026-07-08 09:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571754240001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23546178947776512,"note":"Value kept but may cause issues"} 
[2026-07-08 09:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":870602133124524032,"note":"Value kept but may cause issues"} 
[2026-07-08 09:34:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783483417000,"timestamp_ms":1783483417000,"timestamp_seconds":1783483417,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe541a8"} 
[2026-07-08 09:34:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:34: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-07-08 09:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-07-08 09:34:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:34:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:34:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":127314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":127314,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":127314,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:34:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.214.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571754240001,"66":14591,"139":206,"28":32256,"24":9,"16":23546178947776512,"45":870602133124524032},"client_ip":"117.225.214.64","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,28,24,16,45]} 
[2026-07-08 09:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571754240001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:34:14] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-08 09:34:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-08 09:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23546178947776512,"km_value":23546178947776.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":870602133124524032,"description":"Unknown IO ID 45"} 
[2026-07-08 09:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571754240001,"power":14591,"unknown_139":206,"unknown_28":32256,"ignition":9,"odometer":null,"unknown_45":870602133124524032}} 
[2026-07-08 09:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":127314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450041,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:34:14] local.INFO: GPS data processed {"connection_id":127314,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:34:14] local.INFO: Acknowledgment sent {"connection_id":127314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:34:17] local.INFO: TCP Data received {"connection_id":127314,"ip":"117.225.214.64","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe568b8012d0c1b000705a6680018000c25..."} 
[2026-07-08 09:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe568b8012d0c1b000705a6680018000c25..."} 
[2026-07-08 09:34:17] local.INFO: Processing buffer {"connection_id":127314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe568b8012d0c1b000705a6680018000c25..."} 
[2026-07-08 09:34:17] local.INFO: Packet analysis {"connection_id":127314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe5"} 
[2026-07-08 09:34:17] local.INFO: Extracted packet for processing {"connection_id":127314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe5"} 
[2026-07-08 09:34:17] local.INFO: GPS Element Parsed {"raw_longitude":755768064,"raw_latitude":117810792,"longitude_deg":75.5768064,"latitude_deg":11.7810792,"altitude":24,"angle":12,"satellites":37,"speed":13,"hex_longitude":"2d0c1b00","hex_latitude":"0705a668","is_valid_coordinates":true} 
[2026-07-08 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-07-08 09:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571754752001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23546380811239424,"note":"Value kept but may cause issues"} 
[2026-07-08 09:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":870883608101310464,"note":"Value kept but may cause issues"} 
[2026-07-08 09:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783483427000,"timestamp_ms":1783483427000,"timestamp_seconds":1783483427,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe568b8"} 
[2026-07-08 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-07-08 09:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":56,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 09:34:17] 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-07-08 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-07-08 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-07-08 09:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":127314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":127314,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":127314,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.214.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571754752001,"66":14461,"139":206,"28":32256,"24":13,"16":23546380811239424,"45":870883608101310464},"client_ip":"117.225.214.64","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,28,24,16,45]} 
[2026-07-08 09:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571754752001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:34:17] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-08 09:34:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-08 09:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23546380811239424,"km_value":23546380811239.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":870883608101310464,"description":"Unknown IO ID 45"} 
[2026-07-08 09:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571754752001,"power":14461,"unknown_139":206,"unknown_28":32256,"ignition":13,"odometer":null,"unknown_45":870883608101310464}} 
[2026-07-08 09:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":127314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450042,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:34:18] local.INFO: GPS data processed {"connection_id":127314,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:34:18] local.INFO: Acknowledgment sent {"connection_id":127314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:34:26] local.INFO: TCP Data received {"connection_id":125207,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe1bf38012d7d304005ec2cb8000501282c..."} 
[2026-07-08 09:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe1bf38012d7d304005ec2cb8000501282c..."} 
[2026-07-08 09:34:26] local.INFO: Processing buffer {"connection_id":125207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe1bf38012d7d304005ec2cb8000501282c..."} 
[2026-07-08 09:34:26] local.INFO: Packet analysis {"connection_id":125207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:34:26] local.INFO: Extracted packet for processing {"connection_id":125207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:34:26] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":5,"angle":296,"satellites":44,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571618816001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09: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-07-08 09:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783483187000,"timestamp_ms":1783483187000,"timestamp_seconds":1783483187,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe1bf38"} 
[2026-07-08 09:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:34: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-07-08 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:34:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":125207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":125207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":125207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:34:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571618816001,"66":2242,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571618816001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:34:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:34:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571618816001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":125207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450043,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:34:26] local.INFO: GPS data processed {"connection_id":125207,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:34:26] local.INFO: Acknowledgment sent {"connection_id":125207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:34:33] local.INFO: TCP Data received {"connection_id":127313,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe14238012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe14238012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:34:33] local.INFO: Processing buffer {"connection_id":127313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe14238012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:34:33] local.INFO: Packet analysis {"connection_id":127313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:34:33] local.INFO: Extracted packet for processing {"connection_id":127313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe1"} 
[2026-07-08 09:34:33] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":47,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571610624001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783483155000,"timestamp_ms":1783483155000,"timestamp_seconds":1783483155,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe14238"} 
[2026-07-08 09:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 09:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:34: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-07-08 09:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571610624001,"66":25625,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571610624001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:34:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:34:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571610624001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":127313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:34:33] local.INFO: GPS data processed {"connection_id":127313,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:34:33] local.INFO: Acknowledgment sent {"connection_id":127313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:34:48] local.INFO: TCP Data received {"connection_id":125208,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125208,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:34:48] local.INFO: Processing buffer {"connection_id":125208,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:34:48] local.INFO: IMEI packet received {"connection_id":125208,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":125208,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:34:49] local.INFO: TCP Data received {"connection_id":125208,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125208,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:34:49] local.INFO: Processing buffer {"connection_id":125208,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:34:49] local.INFO: IMEI packet received {"connection_id":125208,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":125208,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:34:52] local.INFO: TCP Data received {"connection_id":125208,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125208,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:34:52] local.INFO: Processing buffer {"connection_id":125208,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:34:52] local.INFO: IMEI packet received {"connection_id":125208,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":125208,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:34:53] local.INFO: TCP Data received {"connection_id":125208,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe65700012d7d304005ec2cb8000a01282a..."} 
[2026-07-08 09:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe65700012d7d304005ec2cb8000a01282a..."} 
[2026-07-08 09:34:53] local.INFO: Processing buffer {"connection_id":125208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe65700012d7d304005ec2cb8000a01282a..."} 
[2026-07-08 09:34:53] local.INFO: Packet analysis {"connection_id":125208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe6"} 
[2026-07-08 09:34:53] local.INFO: Extracted packet for processing {"connection_id":125208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe6"} 
[2026-07-08 09:34:53] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":10,"angle":296,"satellites":42,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571695872001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:34:53] 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-07-08 09:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783483488000,"timestamp_ms":1783483488000,"timestamp_seconds":1783483488,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe65700"} 
[2026-07-08 09:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:34:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-08 09:34:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:34:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:34:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571695872001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571695872001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:34:53] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:34:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571695872001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":125208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450045,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:34:53] local.INFO: GPS data processed {"connection_id":125208,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:34:53] local.INFO: Acknowledgment sent {"connection_id":125208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:34:56] local.INFO: TCP Data received {"connection_id":126035,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:34:56] local.INFO: Processing buffer {"connection_id":126035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:34:56] local.INFO: IMEI packet received {"connection_id":126035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":126035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:35:01] local.INFO: TCP Data received {"connection_id":126035,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:35:01] local.INFO: Processing buffer {"connection_id":126035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:35:01] local.INFO: IMEI packet received {"connection_id":126035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":126035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:35:02] local.INFO: TCP Data received {"connection_id":126035,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe5da00012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe5da00012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:35:02] local.INFO: Processing buffer {"connection_id":126035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe5da00012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:35:02] local.INFO: Packet analysis {"connection_id":126035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe5"} 
[2026-07-08 09:35:02] local.INFO: Extracted packet for processing {"connection_id":126035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe5"} 
[2026-07-08 09:35:02] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":47,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571687680001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783483456000,"timestamp_ms":1783483456000,"timestamp_seconds":1783483456,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe5da00"} 
[2026-07-08 09:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:35:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 09:35:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:35:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571687680001,"66":25625,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571687680001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:35:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:35:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571687680001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":126035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:35:02] local.INFO: GPS data processed {"connection_id":126035,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:35:02] local.INFO: Acknowledgment sent {"connection_id":126035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:35:26] local.INFO: TCP Data received {"connection_id":125208,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe65700012d7d304005ec2cb8000a01282a..."} 
[2026-07-08 09:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe65700012d7d304005ec2cb8000a01282a..."} 
[2026-07-08 09:35:26] local.INFO: Processing buffer {"connection_id":125208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe65700012d7d304005ec2cb8000a01282a..."} 
[2026-07-08 09:35:26] local.INFO: Packet analysis {"connection_id":125208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe6"} 
[2026-07-08 09:35:26] local.INFO: Extracted packet for processing {"connection_id":125208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe6"} 
[2026-07-08 09:35:26] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":10,"angle":296,"satellites":42,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571695872001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:35: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-07-08 09:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783483488000,"timestamp_ms":1783483488000,"timestamp_seconds":1783483488,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe65700"} 
[2026-07-08 09:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:35:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-08 09:35:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":125208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":125208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":125208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:35:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571695872001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571695872001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:35:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:35:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571695872001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":125208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450047,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:35:26] local.INFO: GPS data processed {"connection_id":125208,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:35:26] local.INFO: Acknowledgment sent {"connection_id":125208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:35:34] local.INFO: TCP Data received {"connection_id":126035,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe5da00012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe5da00012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:35:34] local.INFO: Processing buffer {"connection_id":126035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe5da00012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:35:34] local.INFO: Packet analysis {"connection_id":126035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe5"} 
[2026-07-08 09:35:34] local.INFO: Extracted packet for processing {"connection_id":126035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe5"} 
[2026-07-08 09:35:34] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":47,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571687680001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783483456000,"timestamp_ms":1783483456000,"timestamp_seconds":1783483456,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe5da00"} 
[2026-07-08 09:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 09:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571687680001,"66":25625,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571687680001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:35:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:35:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571687680001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":126035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:35:34] local.INFO: GPS data processed {"connection_id":126035,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:35:34] local.INFO: Acknowledgment sent {"connection_id":126035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:35:47] local.INFO: TCP Data received {"connection_id":125210,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:35:47] local.INFO: Processing buffer {"connection_id":125210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:35:47] local.INFO: IMEI packet received {"connection_id":125210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":125210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:35:50] local.INFO: TCP Data received {"connection_id":125211,"ip":"117.225.214.64","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125211,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:35:50] local.INFO: Processing buffer {"connection_id":125211,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:35:50] local.INFO: IMEI packet received {"connection_id":125211,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 09:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":125211,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:35:52] local.INFO: TCP Data received {"connection_id":125210,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:35:52] local.INFO: Processing buffer {"connection_id":125210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:35:52] local.INFO: IMEI packet received {"connection_id":125210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":125210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:35:54] local.INFO: TCP Data received {"connection_id":125210,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe65700012d7d304005ec2cb8000a01282a..."} 
[2026-07-08 09:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe65700012d7d304005ec2cb8000a01282a..."} 
[2026-07-08 09:35:54] local.INFO: Processing buffer {"connection_id":125210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe65700012d7d304005ec2cb8000a01282a..."} 
[2026-07-08 09:35:54] local.INFO: Packet analysis {"connection_id":125210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe6"} 
[2026-07-08 09:35:54] local.INFO: Extracted packet for processing {"connection_id":125210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe6"} 
[2026-07-08 09:35:54] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":10,"angle":296,"satellites":42,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571695872001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:35: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-07-08 09:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783483488000,"timestamp_ms":1783483488000,"timestamp_seconds":1783483488,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe65700"} 
[2026-07-08 09:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-08 09:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":125210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":125210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":125210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571695872001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571695872001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:35:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:35:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571695872001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":125210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450049,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:35:54] local.INFO: GPS data processed {"connection_id":125210,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:35:54] local.INFO: Acknowledgment sent {"connection_id":125210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:35:59] local.INFO: TCP Data received {"connection_id":125211,"ip":"117.225.214.64","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125211,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:35:59] local.INFO: Processing buffer {"connection_id":125211,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:35:59] local.INFO: IMEI packet received {"connection_id":125211,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":125211,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:36:01] local.INFO: TCP Data received {"connection_id":125315,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:36:01] local.INFO: Processing buffer {"connection_id":125315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:36:01] local.INFO: IMEI packet received {"connection_id":125315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":125315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:36:04] local.INFO: TCP Data received {"connection_id":125211,"ip":"117.225.214.64","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125211,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:36:04] local.INFO: Processing buffer {"connection_id":125211,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:36:04] local.INFO: IMEI packet received {"connection_id":125211,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":125211,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:36:05] local.INFO: TCP Data received {"connection_id":125211,"ip":"117.225.214.64","data_length":1360,"data_hex":"000000000000030f8e0a0000019f3fe58410012d0c1c800705aaf8001b001c26..."} 
[2026-07-08 09:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125211,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019f3fe58410012d0c1c800705aaf8001b001c26..."} 
[2026-07-08 09:36:05] local.INFO: Processing buffer {"connection_id":125211,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019f3fe58410012d0c1c800705aaf8001b001c26..."} 
[2026-07-08 09:36:05] local.INFO: Packet analysis {"connection_id":125211,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019f3fe5"} 
[2026-07-08 09:36:05] local.INFO: Extracted packet for processing {"connection_id":125211,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019f3fe5"} 
[2026-07-08 09:36:05] local.INFO: GPS Element Parsed {"raw_longitude":755768448,"raw_latitude":117811960,"longitude_deg":75.5768448,"latitude_deg":11.781196,"altitude":27,"angle":28,"satellites":38,"speed":6,"hex_longitude":"2d0c1c80","hex_latitude":"0705aaf8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571757312001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23546440940781568,"note":"Value kept but may cause issues"} 
[2026-07-08 09:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":872290982985885696,"note":"Value kept but may cause issues"} 
[2026-07-08 09:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783483434000,"timestamp_ms":1783483434000,"timestamp_seconds":1783483434,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe58410"} 
[2026-07-08 09:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:36: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-07-08 09: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-08 09:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125211,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125211,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.214.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571757312001,"66":14428,"139":206,"28":32256,"24":6,"16":23546440940781568,"45":872290982985885696},"client_ip":"117.225.214.64","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,28,24,16,45]} 
[2026-07-08 09:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571757312001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:36:05] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-08 09:36:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-08 09:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23546440940781568,"km_value":23546440940781.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":872290982985885696,"description":"Unknown IO ID 45"} 
[2026-07-08 09:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571757312001,"power":14428,"unknown_139":206,"unknown_28":32256,"ignition":6,"odometer":null,"unknown_45":872290982985885696}} 
[2026-07-08 09:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":125211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450050,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:36:06] local.INFO: GPS data processed {"connection_id":125211,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:36:06] local.INFO: Acknowledgment sent {"connection_id":125211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:36:06] local.INFO: Packet analysis {"connection_id":125211,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019f3fe5"} 
[2026-07-08 09:36:06] local.INFO: Incomplete packet, waiting for more data {"connection_id":125211,"needed":795,"available":565} 
[2026-07-08 09:36:06] local.INFO: TCP Data received {"connection_id":125315,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:36:06] local.INFO: Processing buffer {"connection_id":125315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:36:06] local.INFO: IMEI packet received {"connection_id":125315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":125315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:36:07] local.INFO: TCP Data received {"connection_id":125315,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe5da00012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe5da00012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:36:07] local.INFO: Processing buffer {"connection_id":125315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe5da00012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:36:07] local.INFO: Packet analysis {"connection_id":125315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe5"} 
[2026-07-08 09:36:07] local.INFO: Extracted packet for processing {"connection_id":125315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe5"} 
[2026-07-08 09:36:07] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":47,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571687680001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783483456000,"timestamp_ms":1783483456000,"timestamp_seconds":1783483456,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe5da00"} 
[2026-07-08 09:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 09:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571687680001,"66":25625,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571687680001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:36:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:36:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571687680001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":125315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:36:07] local.INFO: GPS data processed {"connection_id":125315,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:36:07] local.INFO: Acknowledgment sent {"connection_id":125315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:36:08] local.INFO: TCP Data received {"connection_id":125211,"ip":"117.225.214.64","data_length":1025,"data_hex":"2d0c028007059ac00015006d25001b0000000a000400ef0100714f00f0010045..."} 
[2026-07-08 09:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125211,"packet_length":1025,"packet_hex":"2d0c028007059ac00015006d25001b0000000a000400ef0100714f00f0010045..."} 
[2026-07-08 09:36:08] local.INFO: Processing buffer {"connection_id":125211,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f3fe593b0012d0c1d400705ae68001b000827..."} 
[2026-07-08 09:36:08] local.INFO: Packet analysis {"connection_id":125211,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3fe5"} 
[2026-07-08 09:36:08] local.INFO: Extracted packet for processing {"connection_id":125211,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe5"} 
[2026-07-08 09:36:08] local.INFO: GPS Element Parsed {"raw_longitude":755768640,"raw_latitude":117812840,"longitude_deg":75.576864,"latitude_deg":11.781284,"altitude":27,"angle":8,"satellites":39,"speed":11,"hex_longitude":"2d0c1d40","hex_latitude":"0705ae68","is_valid_coordinates":true} 
[2026-07-08 09:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571759104001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23546488185421824,"note":"Value kept but may cause issues"} 
[2026-07-08 09:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":872713195451250688,"note":"Value kept but may cause issues"} 
[2026-07-08 09:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783483438000,"timestamp_ms":1783483438000,"timestamp_seconds":1783483438,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe593b0"} 
[2026-07-08 09:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:36: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-07-08 09: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":92,"data_length":795,"current_offset":136} 
[2026-07-08 09:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125211,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125211,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.214.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571759104001,"66":14080,"139":206,"28":32256,"24":11,"16":23546488185421824,"45":872713195451250688},"client_ip":"117.225.214.64","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,28,24,16,45]} 
[2026-07-08 09:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571759104001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:36:08] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-08 09:36:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-08 09:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23546488185421824,"km_value":23546488185421.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":872713195451250688,"description":"Unknown IO ID 45"} 
[2026-07-08 09:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571759104001,"power":14080,"unknown_139":206,"unknown_28":32256,"ignition":11,"odometer":null,"unknown_45":872713195451250688}} 
[2026-07-08 09:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":125211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450052,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:36:08] local.INFO: GPS data processed {"connection_id":125211,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:36:08] local.INFO: Acknowledgment sent {"connection_id":125211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:36:08] local.INFO: Packet analysis {"connection_id":125211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe5"} 
[2026-07-08 09:36:08] local.INFO: Extracted packet for processing {"connection_id":125211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe5"} 
[2026-07-08 09:36:08] local.INFO: GPS Element Parsed {"raw_longitude":755769856,"raw_latitude":117821776,"longitude_deg":75.5769856,"latitude_deg":11.7821776,"altitude":28,"angle":5,"satellites":39,"speed":20,"hex_longitude":"2d0c2200","hex_latitude":"0705d150","is_valid_coordinates":true} 
[2026-07-08 09:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571760128001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23546926272086016,"note":"Value kept but may cause issues"} 
[2026-07-08 09:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":872924301684008960,"note":"Value kept but may cause issues"} 
[2026-07-08 09:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783483455000,"timestamp_ms":1783483455000,"timestamp_seconds":1783483455,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe5d618"} 
[2026-07-08 09:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:36: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-07-08 09: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-08 09:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454634752,"note":"Value kept but may cause issues"} 
[2026-07-08 09:36:08] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3845773313,"note":"Value kept but may cause issues"} 
[2026-07-08 09:36:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2510815256,"note":"Value kept but may cause issues"} 
[2026-07-08 09:36:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3918201038,"corrected_to":0} 
[2026-07-08 09:36:08] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743977,"note":"Value kept but may cause issues"} 
[2026-07-08 09:36:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2803433472,"note":"Value kept but may cause issues"} 
[2026-07-08 09:36:08] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,139,28,24,241,158,16,167,159,132,45,128,170,27,38,10,66,104,166,37,65,1,240,255,63,5,4,113,205,7,53,20,80,239,2,83,11],"length":479,"final_offset":609,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3918201038,"validated":0}]} 
[2026-07-08 09:36:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1945564002621521920,"timestamp_seconds":1945564002621522.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 09:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125211,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125211,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.214.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571760128001,"66":14407,"139":206,"28":32256,"24":20,"16":23546926272086016,"45":872924301684008960},"client_ip":"117.225.214.64","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,28,24,16,45]} 
[2026-07-08 09:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571760128001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:36:08] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-08 09:36:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-08 09:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23546926272086016,"km_value":23546926272086.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":872924301684008960,"description":"Unknown IO ID 45"} 
[2026-07-08 09:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571760128001,"power":14407,"unknown_139":206,"unknown_28":32256,"ignition":20,"odometer":null,"unknown_45":872924301684008960}} 
[2026-07-08 09:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":125211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450053,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:36:08] local.INFO: GPS data processed {"connection_id":125211,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:36:08] local.INFO: Acknowledgment sent {"connection_id":125211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:36:12] local.INFO: TCP Data received {"connection_id":125315,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe5da00012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe5da00012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:36:12] local.INFO: Processing buffer {"connection_id":125315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe5da00012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:36:12] local.INFO: Packet analysis {"connection_id":125315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe5"} 
[2026-07-08 09:36:12] local.INFO: Extracted packet for processing {"connection_id":125315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe5"} 
[2026-07-08 09:36:12] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":47,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571687680001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783483456000,"timestamp_ms":1783483456000,"timestamp_seconds":1783483456,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe5da00"} 
[2026-07-08 09:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 09:36:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571687680001,"66":25625,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571687680001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:36:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:36:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571687680001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":125315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:36:12] local.INFO: GPS data processed {"connection_id":125315,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:36:12] local.INFO: Acknowledgment sent {"connection_id":125315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:36:26] local.INFO: TCP Data received {"connection_id":125210,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe65700012d7d304005ec2cb8000a01282a..."} 
[2026-07-08 09:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe65700012d7d304005ec2cb8000a01282a..."} 
[2026-07-08 09:36:26] local.INFO: Processing buffer {"connection_id":125210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe65700012d7d304005ec2cb8000a01282a..."} 
[2026-07-08 09:36:26] local.INFO: Packet analysis {"connection_id":125210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe6"} 
[2026-07-08 09:36:26] local.INFO: Extracted packet for processing {"connection_id":125210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe6"} 
[2026-07-08 09:36:26] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":10,"angle":296,"satellites":42,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 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-07-08 09:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571695872001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:36: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-07-08 09:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783483488000,"timestamp_ms":1783483488000,"timestamp_seconds":1783483488,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe65700"} 
[2026-07-08 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-07-08 09:36:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-08 09:36:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 09:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":125210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":125210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":125210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571695872001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571695872001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:36:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:36:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571695872001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":125210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450055,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:36:26] local.INFO: GPS data processed {"connection_id":125210,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:36:26] local.INFO: Acknowledgment sent {"connection_id":125210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:36:45] local.INFO: TCP Data received {"connection_id":126037,"ip":"117.225.214.64","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126037,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:36:45] local.INFO: Processing buffer {"connection_id":126037,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:36:45] local.INFO: IMEI packet received {"connection_id":126037,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 09:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":126037,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:36:50] local.INFO: TCP Data received {"connection_id":126037,"ip":"117.225.214.64","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126037,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:36:50] local.INFO: Processing buffer {"connection_id":126037,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:36:50] local.INFO: IMEI packet received {"connection_id":126037,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":126037,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:36:52] local.INFO: TCP Data received {"connection_id":126038,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126038,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:36:52] local.INFO: Processing buffer {"connection_id":126038,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:36:52] local.INFO: IMEI packet received {"connection_id":126038,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":126038,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:36:56] local.INFO: TCP Data received {"connection_id":125316,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:36:56] local.INFO: Processing buffer {"connection_id":125316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:36:56] local.INFO: IMEI packet received {"connection_id":125316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":125316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:36:57] local.INFO: TCP Data received {"connection_id":126037,"ip":"117.225.214.64","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe7b690012d0c3c4007062e90001c001324..."} 
[2026-07-08 09:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe7b690012d0c3c4007062e90001c001324..."} 
[2026-07-08 09:36:57] local.INFO: Processing buffer {"connection_id":126037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe7b690012d0c3c4007062e90001c001324..."} 
[2026-07-08 09:36:57] local.INFO: Packet analysis {"connection_id":126037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe7"} 
[2026-07-08 09:36:57] local.INFO: Extracted packet for processing {"connection_id":126037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe7"} 
[2026-07-08 09:36:57] local.INFO: GPS Element Parsed {"raw_longitude":755776576,"raw_latitude":117845648,"longitude_deg":75.5776576,"latitude_deg":11.7845648,"altitude":28,"angle":19,"satellites":36,"speed":7,"hex_longitude":"2d0c3c40","hex_latitude":"07062e90","is_valid_coordinates":true} 
[2026-07-08 09:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571795712001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23548236237111296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:36:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881579657226217472,"note":"Value kept but may cause issues"} 
[2026-07-08 09:36:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783483578000,"timestamp_ms":1783483578000,"timestamp_seconds":1783483578,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe7b690"} 
[2026-07-08 09:36:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:36:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-08 09:36:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:36:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:36:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":126037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":126037,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":126037,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:36:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.214.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571795712001,"66":14428,"115":206,"28":32256,"24":7,"16":23548236237111296,"45":881579657226217472},"client_ip":"117.225.214.64","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,28,24,16,45]} 
[2026-07-08 09:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571795712001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:36:57] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-08 09:36:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-08 09:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23548236237111296,"km_value":23548236237111.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:36:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":881579657226217472,"description":"Unknown IO ID 45"} 
[2026-07-08 09:36:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571795712001,"power":14428,"unknown_115":206,"unknown_28":32256,"ignition":7,"odometer":null,"unknown_45":881579657226217472}} 
[2026-07-08 09:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":126037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450056,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:36:57] local.INFO: GPS data processed {"connection_id":126037,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:36:57] local.INFO: Acknowledgment sent {"connection_id":126037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:36:57] local.INFO: TCP Data received {"connection_id":126038,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126038,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:36:57] local.INFO: Processing buffer {"connection_id":126038,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:36:57] local.INFO: IMEI packet received {"connection_id":126038,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":126038,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:36:59] local.INFO: TCP Data received {"connection_id":126038,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe65700012d7d304005ec2cb8000a01282a..."} 
[2026-07-08 09:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe65700012d7d304005ec2cb8000a01282a..."} 
[2026-07-08 09:36:59] local.INFO: Processing buffer {"connection_id":126038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe65700012d7d304005ec2cb8000a01282a..."} 
[2026-07-08 09:36:59] local.INFO: Packet analysis {"connection_id":126038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe6"} 
[2026-07-08 09:36:59] local.INFO: Extracted packet for processing {"connection_id":126038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe6"} 
[2026-07-08 09:36:59] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":10,"angle":296,"satellites":42,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571695872001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:36:59] 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-07-08 09:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783483488000,"timestamp_ms":1783483488000,"timestamp_seconds":1783483488,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe65700"} 
[2026-07-08 09:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:36: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-07-08 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-08 09:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":126038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":126038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":126038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571695872001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571695872001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:36:59] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:36:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571695872001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":126038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450057,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:36:59] local.INFO: GPS data processed {"connection_id":126038,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:36:59] local.INFO: Acknowledgment sent {"connection_id":126038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:37:01] local.INFO: TCP Data received {"connection_id":125316,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:37:01] local.INFO: Processing buffer {"connection_id":125316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:37:01] local.INFO: IMEI packet received {"connection_id":125316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":125316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:37:02] local.INFO: TCP Data received {"connection_id":125316,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe5da00012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe5da00012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:37:02] local.INFO: Processing buffer {"connection_id":125316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe5da00012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:37:02] local.INFO: Packet analysis {"connection_id":125316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe5"} 
[2026-07-08 09:37:02] local.INFO: Extracted packet for processing {"connection_id":125316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe5"} 
[2026-07-08 09:37:02] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":47,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571687680001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:37:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783483456000,"timestamp_ms":1783483456000,"timestamp_seconds":1783483456,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe5da00"} 
[2026-07-08 09:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:37:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 09:37:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:37:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571687680001,"66":25625,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571687680001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:37:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:37:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571687680001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":125316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:37:03] local.INFO: GPS data processed {"connection_id":125316,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:37:03] local.INFO: Acknowledgment sent {"connection_id":125316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:37:03] local.INFO: TCP Data received {"connection_id":126038,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe65700012d7d304005ec2cb8000a01282a..."} 
[2026-07-08 09:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe65700012d7d304005ec2cb8000a01282a..."} 
[2026-07-08 09:37:03] local.INFO: Processing buffer {"connection_id":126038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe65700012d7d304005ec2cb8000a01282a..."} 
[2026-07-08 09:37:03] local.INFO: Packet analysis {"connection_id":126038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe6"} 
[2026-07-08 09:37:03] local.INFO: Extracted packet for processing {"connection_id":126038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe6"} 
[2026-07-08 09:37:03] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":10,"angle":296,"satellites":42,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 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-07-08 09:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571695872001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:37:03] 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-07-08 09:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783483488000,"timestamp_ms":1783483488000,"timestamp_seconds":1783483488,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe65700"} 
[2026-07-08 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-07-08 09:37: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-07-08 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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-08 09:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 09:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571695872001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571695872001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:37:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:37:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571695872001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":126038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450059,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:37:03] local.INFO: GPS data processed {"connection_id":126038,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:37:03] local.INFO: Acknowledgment sent {"connection_id":126038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:37:29] local.INFO: TCP Data received {"connection_id":126037,"ip":"117.225.214.64","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe7be60012d0c3c4007063010001b015925..."} 
[2026-07-08 09:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe7be60012d0c3c4007063010001b015925..."} 
[2026-07-08 09:37:29] local.INFO: Processing buffer {"connection_id":126037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe7be60012d0c3c4007063010001b015925..."} 
[2026-07-08 09:37:29] local.INFO: Packet analysis {"connection_id":126037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe7"} 
[2026-07-08 09:37:29] local.INFO: Extracted packet for processing {"connection_id":126037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe7"} 
[2026-07-08 09:37:29] local.INFO: GPS Element Parsed {"raw_longitude":755776576,"raw_latitude":117846032,"longitude_deg":75.5776576,"latitude_deg":11.7846032,"altitude":27,"angle":345,"satellites":37,"speed":7,"hex_longitude":"2d0c3c40","hex_latitude":"07063010","is_valid_coordinates":true} 
[2026-07-08 09:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571795968001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23548257711947776,"note":"Value kept but may cause issues"} 
[2026-07-08 09:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881650025970438144,"note":"Value kept but may cause issues"} 
[2026-07-08 09:37:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783483580000,"timestamp_ms":1783483580000,"timestamp_seconds":1783483580,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe7be60"} 
[2026-07-08 09:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:37:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 09:37:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:37:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":126037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":126037,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":126037,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:37:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.214.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571795968001,"66":14450,"115":206,"28":32256,"24":7,"16":23548257711947776,"45":881650025970438144},"client_ip":"117.225.214.64","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,28,24,16,45]} 
[2026-07-08 09:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571795968001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:37:29] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-08 09:37:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-08 09:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23548257711947776,"km_value":23548257711947.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":881650025970438144,"description":"Unknown IO ID 45"} 
[2026-07-08 09:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571795968001,"power":14450,"unknown_115":206,"unknown_28":32256,"ignition":7,"odometer":null,"unknown_45":881650025970438144}} 
[2026-07-08 09:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":126037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450060,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:37:29] local.INFO: GPS data processed {"connection_id":126037,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:37:29] local.INFO: Acknowledgment sent {"connection_id":126037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:37:34] local.INFO: TCP Data received {"connection_id":125316,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe5da00012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe5da00012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:37:34] local.INFO: Processing buffer {"connection_id":125316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe5da00012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:37:34] local.INFO: Packet analysis {"connection_id":125316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe5"} 
[2026-07-08 09:37:34] local.INFO: Extracted packet for processing {"connection_id":125316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe5"} 
[2026-07-08 09:37:34] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":47,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 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-07-08 09:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571687680001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783483456000,"timestamp_ms":1783483456000,"timestamp_seconds":1783483456,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe5da00"} 
[2026-07-08 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-07-08 09:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 09:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 09:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571687680001,"66":25625,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571687680001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:37:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:37:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571687680001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":125316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:37:34] local.INFO: GPS data processed {"connection_id":125316,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:37:34] local.INFO: Acknowledgment sent {"connection_id":125316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:37:47] local.INFO: TCP Data received {"connection_id":125214,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:37:47] local.INFO: Processing buffer {"connection_id":125214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:37:47] local.INFO: IMEI packet received {"connection_id":125214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":125214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:37:52] local.INFO: TCP Data received {"connection_id":125214,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:37:52] local.INFO: Processing buffer {"connection_id":125214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:37:52] local.INFO: IMEI packet received {"connection_id":125214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":125214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:37:53] local.INFO: TCP Data received {"connection_id":125214,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe65700012d7d304005ec2cb8000a01282a..."} 
[2026-07-08 09:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe65700012d7d304005ec2cb8000a01282a..."} 
[2026-07-08 09:37:53] local.INFO: Processing buffer {"connection_id":125214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe65700012d7d304005ec2cb8000a01282a..."} 
[2026-07-08 09:37:53] local.INFO: Packet analysis {"connection_id":125214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe6"} 
[2026-07-08 09:37:53] local.INFO: Extracted packet for processing {"connection_id":125214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe6"} 
[2026-07-08 09:37:53] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":10,"angle":296,"satellites":42,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571695872001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:37:53] 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-07-08 09:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783483488000,"timestamp_ms":1783483488000,"timestamp_seconds":1783483488,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe65700"} 
[2026-07-08 09:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-08 09:37:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571695872001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571695872001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:37:53] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:37:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571695872001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":125214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450062,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:37:53] local.INFO: GPS data processed {"connection_id":125214,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:37:53] local.INFO: Acknowledgment sent {"connection_id":125214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:37:56] local.INFO: TCP Data received {"connection_id":125317,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:37:56] local.INFO: Processing buffer {"connection_id":125317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:37:56] local.INFO: IMEI packet received {"connection_id":125317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":125317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:38:01] local.INFO: TCP Data received {"connection_id":125317,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:38:01] local.INFO: Processing buffer {"connection_id":125317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:38:01] local.INFO: IMEI packet received {"connection_id":125317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":125317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:38:02] local.INFO: TCP Data received {"connection_id":125317,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe5da00012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe5da00012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:38:02] local.INFO: Processing buffer {"connection_id":125317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe5da00012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:38:02] local.INFO: Packet analysis {"connection_id":125317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe5"} 
[2026-07-08 09:38:02] local.INFO: Extracted packet for processing {"connection_id":125317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe5"} 
[2026-07-08 09:38:02] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":47,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571687680001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783483456000,"timestamp_ms":1783483456000,"timestamp_seconds":1783483456,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe5da00"} 
[2026-07-08 09:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 09:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571687680001,"66":25625,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571687680001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:38:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:38:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571687680001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":125317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:38:02] local.INFO: GPS data processed {"connection_id":125317,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:38:02] local.INFO: Acknowledgment sent {"connection_id":125317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:38:26] local.INFO: TCP Data received {"connection_id":125214,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe65700012d7d304005ec2cb8000a01282a..."} 
[2026-07-08 09:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe65700012d7d304005ec2cb8000a01282a..."} 
[2026-07-08 09:38:26] local.INFO: Processing buffer {"connection_id":125214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe65700012d7d304005ec2cb8000a01282a..."} 
[2026-07-08 09:38:26] local.INFO: Packet analysis {"connection_id":125214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe6"} 
[2026-07-08 09:38:26] local.INFO: Extracted packet for processing {"connection_id":125214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe6"} 
[2026-07-08 09:38:26] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":10,"angle":296,"satellites":42,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571695872001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:38: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-07-08 09:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783483488000,"timestamp_ms":1783483488000,"timestamp_seconds":1783483488,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe65700"} 
[2026-07-08 09:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:38:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-08 09:38:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:38:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":125214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":125214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":125214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:38:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571695872001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571695872001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:38:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:38:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571695872001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":125214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450064,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:38:26] local.INFO: GPS data processed {"connection_id":125214,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:38:26] local.INFO: Acknowledgment sent {"connection_id":125214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:38:33] local.INFO: TCP Data received {"connection_id":125317,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe5da00012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe5da00012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:38:33] local.INFO: Processing buffer {"connection_id":125317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe5da00012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:38:33] local.INFO: Packet analysis {"connection_id":125317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe5"} 
[2026-07-08 09:38:33] local.INFO: Extracted packet for processing {"connection_id":125317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe5"} 
[2026-07-08 09:38:33] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":47,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571687680001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783483456000,"timestamp_ms":1783483456000,"timestamp_seconds":1783483456,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe5da00"} 
[2026-07-08 09:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 09:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:38:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571687680001,"66":25625,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571687680001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:38:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:38:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571687680001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":125317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:38:33] local.INFO: GPS data processed {"connection_id":125317,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:38:33] local.INFO: Acknowledgment sent {"connection_id":125317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:38:47] local.INFO: TCP Data received {"connection_id":127315,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127315,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:38:48] local.INFO: Processing buffer {"connection_id":127315,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:38:48] local.INFO: IMEI packet received {"connection_id":127315,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":127315,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:38:52] local.INFO: TCP Data received {"connection_id":127315,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127315,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:38:52] local.INFO: Processing buffer {"connection_id":127315,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:38:52] local.INFO: IMEI packet received {"connection_id":127315,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":127315,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:38:56] local.INFO: TCP Data received {"connection_id":127315,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe65700012d7d304005ec2cb8000a01282a..."} 
[2026-07-08 09:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe65700012d7d304005ec2cb8000a01282a..."} 
[2026-07-08 09:38:56] local.INFO: Processing buffer {"connection_id":127315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe65700012d7d304005ec2cb8000a01282a..."} 
[2026-07-08 09:38:56] local.INFO: Packet analysis {"connection_id":127315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe6"} 
[2026-07-08 09:38:56] local.INFO: Extracted packet for processing {"connection_id":127315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe6"} 
[2026-07-08 09:38:56] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":10,"angle":296,"satellites":42,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571695872001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:38:56] 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-07-08 09:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783483488000,"timestamp_ms":1783483488000,"timestamp_seconds":1783483488,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe65700"} 
[2026-07-08 09:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-08 09:38:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:38:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":127315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":127315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":127315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571695872001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571695872001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:38:56] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:38:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571695872001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":127315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450066,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:38:56] local.INFO: GPS data processed {"connection_id":127315,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:38:56] local.INFO: Acknowledgment sent {"connection_id":127315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:38:56] local.INFO: TCP Data received {"connection_id":127316,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:38:56] local.INFO: Processing buffer {"connection_id":127316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:38:56] local.INFO: IMEI packet received {"connection_id":127316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":127316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:39:01] local.INFO: TCP Data received {"connection_id":127316,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:39:01] local.INFO: Processing buffer {"connection_id":127316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:39:01] local.INFO: IMEI packet received {"connection_id":127316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":127316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:39:02] local.INFO: TCP Data received {"connection_id":127316,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe5da00012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe5da00012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:39:02] local.INFO: Processing buffer {"connection_id":127316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe5da00012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:39:02] local.INFO: Packet analysis {"connection_id":127316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe5"} 
[2026-07-08 09:39:02] local.INFO: Extracted packet for processing {"connection_id":127316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe5"} 
[2026-07-08 09:39:02] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":47,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571687680001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783483456000,"timestamp_ms":1783483456000,"timestamp_seconds":1783483456,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe5da00"} 
[2026-07-08 09:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 09:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571687680001,"66":25625,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571687680001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:39:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:39:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571687680001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":127316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:39:02] local.INFO: GPS data processed {"connection_id":127316,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:39:02] local.INFO: Acknowledgment sent {"connection_id":127316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:39:15] local.INFO: TCP Data received {"connection_id":127318,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127318,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:39:15] local.INFO: Processing buffer {"connection_id":127318,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:39:15] local.INFO: IMEI packet received {"connection_id":127318,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 09:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":127318,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:39:20] local.INFO: TCP Data received {"connection_id":127318,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127318,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:39:20] local.INFO: Processing buffer {"connection_id":127318,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:39:20] local.INFO: IMEI packet received {"connection_id":127318,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":127318,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:39:21] local.INFO: TCP Data received {"connection_id":127318,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe91a08012d0c3c00070645d00013008125..."} 
[2026-07-08 09:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe91a08012d0c3c00070645d00013008125..."} 
[2026-07-08 09:39:21] local.INFO: Processing buffer {"connection_id":127318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe91a08012d0c3c00070645d00013008125..."} 
[2026-07-08 09:39:21] local.INFO: Packet analysis {"connection_id":127318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe9"} 
[2026-07-08 09:39:21] local.INFO: Extracted packet for processing {"connection_id":127318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe9"} 
[2026-07-08 09:39:21] local.INFO: GPS Element Parsed {"raw_longitude":755776512,"raw_latitude":117851600,"longitude_deg":75.5776512,"latitude_deg":11.78516,"altitude":19,"angle":129,"satellites":37,"speed":3,"hex_longitude":"2d0c3c00","hex_latitude":"070645d0","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571817472001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23548889072140288,"note":"Value kept but may cause issues"} 
[2026-07-08 09:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881368550995302400,"note":"Value kept but may cause issues"} 
[2026-07-08 09:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783483669000,"timestamp_ms":1783483669000,"timestamp_seconds":1783483669,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe91a08"} 
[2026-07-08 09:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-08 09:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":127318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":127318,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":127318,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571817472001,"66":14428,"115":206,"28":32256,"24":3,"16":23548889072140288,"45":881368550995302400},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,28,24,16,45]} 
[2026-07-08 09:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571817472001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:39:21] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-08 09:39:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-08 09:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23548889072140288,"km_value":23548889072140.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":881368550995302400,"description":"Unknown IO ID 45"} 
[2026-07-08 09:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571817472001,"power":14428,"unknown_115":206,"unknown_28":32256,"ignition":3,"odometer":null,"unknown_45":881368550995302400}} 
[2026-07-08 09:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":127318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450068,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:39:21] local.INFO: GPS data processed {"connection_id":127318,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:39:21] local.INFO: Acknowledgment sent {"connection_id":127318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:39:21] local.INFO: TCP Data received {"connection_id":127317,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127317,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:39:21] local.INFO: Processing buffer {"connection_id":127317,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:39:21] local.INFO: IMEI packet received {"connection_id":127317,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 09:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":127317,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:39:27] local.INFO: TCP Data received {"connection_id":127315,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe65700012d7d304005ec2cb8000a01282a..."} 
[2026-07-08 09:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe65700012d7d304005ec2cb8000a01282a..."} 
[2026-07-08 09:39:27] local.INFO: Processing buffer {"connection_id":127315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe65700012d7d304005ec2cb8000a01282a..."} 
[2026-07-08 09:39:27] local.INFO: Packet analysis {"connection_id":127315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe6"} 
[2026-07-08 09:39:27] local.INFO: Extracted packet for processing {"connection_id":127315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe6"} 
[2026-07-08 09:39:27] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":10,"angle":296,"satellites":42,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571695872001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:39: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-07-08 09:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783483488000,"timestamp_ms":1783483488000,"timestamp_seconds":1783483488,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe65700"} 
[2026-07-08 09:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:39:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-08 09:39:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:39:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":127315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":127315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":127315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571695872001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571695872001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:39:27] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:39:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571695872001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":127315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450069,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:39:28] local.INFO: GPS data processed {"connection_id":127315,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:39:28] local.INFO: Acknowledgment sent {"connection_id":127315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:39:33] local.INFO: TCP Data received {"connection_id":127316,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe5da00012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe5da00012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:39:33] local.INFO: Processing buffer {"connection_id":127316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe5da00012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:39:33] local.INFO: Packet analysis {"connection_id":127316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe5"} 
[2026-07-08 09:39:33] local.INFO: Extracted packet for processing {"connection_id":127316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe5"} 
[2026-07-08 09:39:33] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":47,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571687680001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783483456000,"timestamp_ms":1783483456000,"timestamp_seconds":1783483456,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe5da00"} 
[2026-07-08 09:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 09:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571687680001,"66":25625,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571687680001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:39:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:39:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571687680001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":127316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:39:33] local.INFO: GPS data processed {"connection_id":127316,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:39:33] local.INFO: Acknowledgment sent {"connection_id":127316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:39:45] local.INFO: TCP Data received {"connection_id":125319,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125319,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:39:45] local.INFO: Processing buffer {"connection_id":125319,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:39:45] local.INFO: IMEI packet received {"connection_id":125319,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 09:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":125319,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:39:48] local.INFO: TCP Data received {"connection_id":125320,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125320,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:39:48] local.INFO: Processing buffer {"connection_id":125320,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:39:48] local.INFO: IMEI packet received {"connection_id":125320,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":125320,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:39:50] local.INFO: TCP Data received {"connection_id":125319,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125319,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:39:50] local.INFO: Processing buffer {"connection_id":125319,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:39:50] local.INFO: IMEI packet received {"connection_id":125319,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":125319,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:39:51] local.INFO: TCP Data received {"connection_id":125319,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fe921d8012d0c3d00070645000013007526..."} 
[2026-07-08 09:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fe921d8012d0c3d00070645000013007526..."} 
[2026-07-08 09:39:51] local.INFO: Processing buffer {"connection_id":125319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fe921d8012d0c3d00070645000013007526..."} 
[2026-07-08 09:39:51] local.INFO: Packet analysis {"connection_id":125319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fe9"} 
[2026-07-08 09:39:51] local.INFO: Extracted packet for processing {"connection_id":125319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fe9"} 
[2026-07-08 09:39:51] local.INFO: GPS Element Parsed {"raw_longitude":755776768,"raw_latitude":117851392,"longitude_deg":75.5776768,"latitude_deg":11.7851392,"altitude":19,"angle":117,"satellites":38,"speed":8,"hex_longitude":"2d0c3d00","hex_latitude":"07064500","is_valid_coordinates":true} 
[2026-07-08 09:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571819264001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23548906252009472,"note":"Value kept but may cause issues"} 
[2026-07-08 09:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881579657227784192,"note":"Value kept but may cause issues"} 
[2026-07-08 09:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783483671000,"timestamp_ms":1783483671000,"timestamp_seconds":1783483671,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fe921d8"} 
[2026-07-08 09:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 09:39:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125319,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125319,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571819264001,"66":14515,"115":206,"28":32256,"24":8,"16":23548906252009472,"45":881579657227784192},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,28,24,16,45]} 
[2026-07-08 09:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571819264001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:39:51] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-08 09:39:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-08 09:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23548906252009472,"km_value":23548906252009.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":881579657227784192,"description":"Unknown IO ID 45"} 
[2026-07-08 09:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571819264001,"power":14515,"unknown_115":206,"unknown_28":32256,"ignition":8,"odometer":null,"unknown_45":881579657227784192}} 
[2026-07-08 09:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":125319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450071,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:39:51] local.INFO: GPS data processed {"connection_id":125319,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:39:51] local.INFO: Acknowledgment sent {"connection_id":125319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:39:51] local.INFO: TCP Data received {"connection_id":125320,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125320,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:39:51] local.INFO: Processing buffer {"connection_id":125320,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:39:51] local.INFO: IMEI packet received {"connection_id":125320,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":125320,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:39:52] local.INFO: TCP Data received {"connection_id":125320,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125320,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:39:52] local.INFO: Processing buffer {"connection_id":125320,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:39:52] local.INFO: IMEI packet received {"connection_id":125320,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":125320,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:39:54] local.INFO: TCP Data received {"connection_id":125320,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3feaeec8012d7d304005ec2cb8000a012829..."} 
[2026-07-08 09:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3feaeec8012d7d304005ec2cb8000a012829..."} 
[2026-07-08 09:39:54] local.INFO: Processing buffer {"connection_id":125320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3feaeec8012d7d304005ec2cb8000a012829..."} 
[2026-07-08 09:39:54] local.INFO: Packet analysis {"connection_id":125320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fea"} 
[2026-07-08 09:39:54] local.INFO: Extracted packet for processing {"connection_id":125320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fea"} 
[2026-07-08 09:39:54] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":10,"angle":296,"satellites":41,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571772928001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:39: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-07-08 09:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783483789000,"timestamp_ms":1783483789000,"timestamp_seconds":1783483789,"priority":1,"record_length":96,"hex_timestamp":"0000019f3feaeec8"} 
[2026-07-08 09:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:39:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:39:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":125320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":125320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":125320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:39:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571772928001,"66":2242,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571772928001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:39:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:39:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571772928001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":125320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450072,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:39:54] local.INFO: GPS data processed {"connection_id":125320,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:39:54] local.INFO: Acknowledgment sent {"connection_id":125320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:39:55] local.INFO: TCP Data received {"connection_id":127319,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:39:55] local.INFO: Processing buffer {"connection_id":127319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:39:55] local.INFO: IMEI packet received {"connection_id":127319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":127319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:39:56] local.INFO: TCP Data received {"connection_id":127319,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:39:56] local.INFO: Processing buffer {"connection_id":127319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:39:56] local.INFO: IMEI packet received {"connection_id":127319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":127319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:39:59] local.INFO: TCP Data received {"connection_id":125320,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3feaeec8012d7d304005ec2cb8000a012829..."} 
[2026-07-08 09:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3feaeec8012d7d304005ec2cb8000a012829..."} 
[2026-07-08 09:39:59] local.INFO: Processing buffer {"connection_id":125320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3feaeec8012d7d304005ec2cb8000a012829..."} 
[2026-07-08 09:39:59] local.INFO: Packet analysis {"connection_id":125320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fea"} 
[2026-07-08 09:39:59] local.INFO: Extracted packet for processing {"connection_id":125320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fea"} 
[2026-07-08 09:39:59] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":10,"angle":296,"satellites":41,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571772928001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:39:59] 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-07-08 09:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783483789000,"timestamp_ms":1783483789000,"timestamp_seconds":1783483789,"priority":1,"record_length":96,"hex_timestamp":"0000019f3feaeec8"} 
[2026-07-08 09:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:39: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":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:39:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":125320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":125320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":125320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571772928001,"66":2242,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571772928001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:39:59] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:39:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571772928001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":125320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450073,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:39:59] local.INFO: GPS data processed {"connection_id":125320,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:39:59] local.INFO: Acknowledgment sent {"connection_id":125320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:40:01] local.INFO: TCP Data received {"connection_id":127319,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:40:01] local.INFO: Processing buffer {"connection_id":127319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:40:01] local.INFO: IMEI packet received {"connection_id":127319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":127319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:40:01] local.INFO: TCP Data received {"connection_id":126039,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126039,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:40:01] local.INFO: Processing buffer {"connection_id":126039,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:40:01] local.INFO: IMEI packet received {"connection_id":126039,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 09:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":126039,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:40:02] local.INFO: TCP Data received {"connection_id":127319,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fea71c8012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fea71c8012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:40:02] local.INFO: Processing buffer {"connection_id":127319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fea71c8012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:40:02] local.INFO: Packet analysis {"connection_id":127319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fea"} 
[2026-07-08 09:40:02] local.INFO: Extracted packet for processing {"connection_id":127319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fea"} 
[2026-07-08 09:40:02] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":47,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571764736001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783483757000,"timestamp_ms":1783483757000,"timestamp_seconds":1783483757,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fea71c8"} 
[2026-07-08 09:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 09:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571764736001,"66":25625,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571764736001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:40:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:40:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571764736001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":127319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:40:02] local.INFO: GPS data processed {"connection_id":127319,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:40:02] local.INFO: Acknowledgment sent {"connection_id":127319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:40:22] local.INFO: TCP Data received {"connection_id":125319,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3feb40d0012d0cbb000705b670001a00f426..."} 
[2026-07-08 09:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3feb40d0012d0cbb000705b670001a00f426..."} 
[2026-07-08 09:40:22] local.INFO: Processing buffer {"connection_id":125319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3feb40d0012d0cbb000705b670001a00f426..."} 
[2026-07-08 09:40:22] local.INFO: Packet analysis {"connection_id":125319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3feb"} 
[2026-07-08 09:40:22] local.INFO: Extracted packet for processing {"connection_id":125319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3feb"} 
[2026-07-08 09:40:22] local.INFO: GPS Element Parsed {"raw_longitude":755809024,"raw_latitude":117814896,"longitude_deg":75.5809024,"latitude_deg":11.7814896,"altitude":26,"angle":244,"satellites":38,"speed":7,"hex_longitude":"2d0cbb00","hex_latitude":"0705b670","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571855104001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23551362973302784,"note":"Value kept but may cause issues"} 
[2026-07-08 09:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":917467716749021184,"note":"Value kept but may cause issues"} 
[2026-07-08 09:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783483810000,"timestamp_ms":1783483810000,"timestamp_seconds":1783483810,"priority":1,"record_length":96,"hex_timestamp":"0000019f3feb40d0"} 
[2026-07-08 09:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09: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-07-08 09: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-08 09:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125319,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125319,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571855104001,"66":14439,"220":206,"94":10240,"24":7,"16":23551362973302784,"45":917467716749021184},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-07-08 09:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571855104001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:40:22] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-08 09:40:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 09:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23551362973302784,"km_value":23551362973302.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":917467716749021184,"description":"Unknown IO ID 45"} 
[2026-07-08 09:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571855104001,"power":14439,"unknown_220":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":917467716749021184}} 
[2026-07-08 09:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":125319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450075,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:40:22] local.INFO: GPS data processed {"connection_id":125319,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:40:22] local.INFO: Acknowledgment sent {"connection_id":125319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:40:31] local.INFO: TCP Data received {"connection_id":125320,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3feaeec8012d7d304005ec2cb8000a012829..."} 
[2026-07-08 09:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3feaeec8012d7d304005ec2cb8000a012829..."} 
[2026-07-08 09:40:31] local.INFO: Processing buffer {"connection_id":125320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3feaeec8012d7d304005ec2cb8000a012829..."} 
[2026-07-08 09:40:31] local.INFO: Packet analysis {"connection_id":125320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fea"} 
[2026-07-08 09:40:31] local.INFO: Extracted packet for processing {"connection_id":125320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fea"} 
[2026-07-08 09:40:31] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":10,"angle":296,"satellites":41,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571772928001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:40:31] 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-07-08 09:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783483789000,"timestamp_ms":1783483789000,"timestamp_seconds":1783483789,"priority":1,"record_length":96,"hex_timestamp":"0000019f3feaeec8"} 
[2026-07-08 09:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:40:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":125320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":125320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":125320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571772928001,"66":2242,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571772928001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:40:31] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:40:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571772928001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":125320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450076,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:40:31] local.INFO: GPS data processed {"connection_id":125320,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:40:31] local.INFO: Acknowledgment sent {"connection_id":125320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:40:33] local.INFO: TCP Data received {"connection_id":127319,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fea71c8012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fea71c8012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:40:33] local.INFO: Processing buffer {"connection_id":127319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fea71c8012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:40:33] local.INFO: Packet analysis {"connection_id":127319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fea"} 
[2026-07-08 09:40:33] local.INFO: Extracted packet for processing {"connection_id":127319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fea"} 
[2026-07-08 09:40:33] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":47,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 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-07-08 09:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571764736001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783483757000,"timestamp_ms":1783483757000,"timestamp_seconds":1783483757,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fea71c8"} 
[2026-07-08 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-07-08 09:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 09:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 09:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571764736001,"66":25625,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571764736001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:40:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:40:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571764736001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":127319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:40:33] local.INFO: GPS data processed {"connection_id":127319,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:40:33] local.INFO: Acknowledgment sent {"connection_id":127319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:40:43] local.INFO: TCP Data received {"connection_id":125215,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125215,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:40:43] local.INFO: Processing buffer {"connection_id":125215,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:40:43] local.INFO: IMEI packet received {"connection_id":125215,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 09:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":125215,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:40:45] local.INFO: TCP Data received {"connection_id":125215,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125215,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:40:45] local.INFO: Processing buffer {"connection_id":125215,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:40:45] local.INFO: IMEI packet received {"connection_id":125215,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":125215,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:40:53] local.INFO: TCP Data received {"connection_id":126040,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126040,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:40:53] local.INFO: Processing buffer {"connection_id":126040,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:40:53] local.INFO: IMEI packet received {"connection_id":126040,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":126040,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:40:53] local.INFO: TCP Data received {"connection_id":125215,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125215,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:40:53] local.INFO: Processing buffer {"connection_id":125215,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:40:53] local.INFO: IMEI packet received {"connection_id":125215,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":125215,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:40:58] local.INFO: TCP Data received {"connection_id":125215,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3feb44b8012d0cba800705b620001a010826..."} 
[2026-07-08 09:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3feb44b8012d0cba800705b620001a010826..."} 
[2026-07-08 09:40:58] local.INFO: Processing buffer {"connection_id":125215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3feb44b8012d0cba800705b620001a010826..."} 
[2026-07-08 09:40:58] local.INFO: Packet analysis {"connection_id":125215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3feb"} 
[2026-07-08 09:40:58] local.INFO: Extracted packet for processing {"connection_id":125215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3feb"} 
[2026-07-08 09:40:58] local.INFO: GPS Element Parsed {"raw_longitude":755808896,"raw_latitude":117814816,"longitude_deg":75.5808896,"latitude_deg":11.7814816,"altitude":26,"angle":264,"satellites":38,"speed":9,"hex_longitude":"2d0cba80","hex_latitude":"0705b620","is_valid_coordinates":true} 
[2026-07-08 09:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571855360001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23551371563237376,"note":"Value kept but may cause issues"} 
[2026-07-08 09:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":917326979260641280,"note":"Value kept but may cause issues"} 
[2026-07-08 09:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783483811000,"timestamp_ms":1783483811000,"timestamp_seconds":1783483811,"priority":1,"record_length":96,"hex_timestamp":"0000019f3feb44b8"} 
[2026-07-08 09:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-08 09:40:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:40:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":125215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":125215,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":125215,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571855360001,"66":14439,"220":206,"94":10240,"24":9,"16":23551371563237376,"45":917326979260641280},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-07-08 09:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571855360001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:40:58] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-08 09:40:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 09:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23551371563237376,"km_value":23551371563237.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":917326979260641280,"description":"Unknown IO ID 45"} 
[2026-07-08 09:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571855360001,"power":14439,"unknown_220":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":917326979260641280}} 
[2026-07-08 09:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":125215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450078,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:40:58] local.INFO: GPS data processed {"connection_id":125215,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:40:58] local.INFO: Acknowledgment sent {"connection_id":125215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:40:59] local.INFO: TCP Data received {"connection_id":126040,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126040,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:40:59] local.INFO: Processing buffer {"connection_id":126040,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:40:59] local.INFO: IMEI packet received {"connection_id":126040,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":126040,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:41:01] local.INFO: TCP Data received {"connection_id":125216,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:41:01] local.INFO: Processing buffer {"connection_id":125216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:41:01] local.INFO: IMEI packet received {"connection_id":125216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":125216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:41:02] local.INFO: TCP Data received {"connection_id":126040,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3feaeec8012d7d304005ec2cb8000a012829..."} 
[2026-07-08 09:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3feaeec8012d7d304005ec2cb8000a012829..."} 
[2026-07-08 09:41:02] local.INFO: Processing buffer {"connection_id":126040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3feaeec8012d7d304005ec2cb8000a012829..."} 
[2026-07-08 09:41:02] local.INFO: Packet analysis {"connection_id":126040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fea"} 
[2026-07-08 09:41:02] local.INFO: Extracted packet for processing {"connection_id":126040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fea"} 
[2026-07-08 09:41:02] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":10,"angle":296,"satellites":41,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571772928001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:41: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-07-08 09:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783483789000,"timestamp_ms":1783483789000,"timestamp_seconds":1783483789,"priority":1,"record_length":96,"hex_timestamp":"0000019f3feaeec8"} 
[2026-07-08 09:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571772928001,"66":2242,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571772928001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:41:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:41:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571772928001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":126040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450079,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:41:03] local.INFO: GPS data processed {"connection_id":126040,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:41:03] local.INFO: Acknowledgment sent {"connection_id":126040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:41:04] local.INFO: TCP Data received {"connection_id":126040,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3feaeec8012d7d304005ec2cb8000a012829..."} 
[2026-07-08 09:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3feaeec8012d7d304005ec2cb8000a012829..."} 
[2026-07-08 09:41:04] local.INFO: Processing buffer {"connection_id":126040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3feaeec8012d7d304005ec2cb8000a012829..."} 
[2026-07-08 09:41:04] local.INFO: Packet analysis {"connection_id":126040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fea"} 
[2026-07-08 09:41:04] local.INFO: Extracted packet for processing {"connection_id":126040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fea"} 
[2026-07-08 09:41:04] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":10,"angle":296,"satellites":41,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571772928001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:41:04] 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-07-08 09:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783483789000,"timestamp_ms":1783483789000,"timestamp_seconds":1783483789,"priority":1,"record_length":96,"hex_timestamp":"0000019f3feaeec8"} 
[2026-07-08 09:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571772928001,"66":2242,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571772928001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:41:04] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:41:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571772928001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":126040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450080,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:41:04] local.INFO: GPS data processed {"connection_id":126040,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:41:04] local.INFO: Acknowledgment sent {"connection_id":126040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:41:06] local.INFO: TCP Data received {"connection_id":125216,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:41:06] local.INFO: Processing buffer {"connection_id":125216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:41:06] local.INFO: IMEI packet received {"connection_id":125216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":125216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:41:07] local.INFO: TCP Data received {"connection_id":125216,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fea71c8012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fea71c8012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:41:07] local.INFO: Processing buffer {"connection_id":125216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fea71c8012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:41:07] local.INFO: Packet analysis {"connection_id":125216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fea"} 
[2026-07-08 09:41:07] local.INFO: Extracted packet for processing {"connection_id":125216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fea"} 
[2026-07-08 09:41:07] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":47,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571764736001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783483757000,"timestamp_ms":1783483757000,"timestamp_seconds":1783483757,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fea71c8"} 
[2026-07-08 09:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 09:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571764736001,"66":25625,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571764736001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:41:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:41:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571764736001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":125216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:41:07] local.INFO: GPS data processed {"connection_id":125216,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:41:07] local.INFO: Acknowledgment sent {"connection_id":125216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:41:12] local.INFO: TCP Data received {"connection_id":125216,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fea71c8012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fea71c8012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:41:12] local.INFO: Processing buffer {"connection_id":125216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fea71c8012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:41:12] local.INFO: Packet analysis {"connection_id":125216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fea"} 
[2026-07-08 09:41:12] local.INFO: Extracted packet for processing {"connection_id":125216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fea"} 
[2026-07-08 09:41:12] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":47,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571764736001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783483757000,"timestamp_ms":1783483757000,"timestamp_seconds":1783483757,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fea71c8"} 
[2026-07-08 09:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 09:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571764736001,"66":25625,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571764736001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:41:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:41:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571764736001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":125216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:41:12] local.INFO: GPS data processed {"connection_id":125216,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:41:12] local.INFO: Acknowledgment sent {"connection_id":125216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:41:47] local.INFO: TCP Data received {"connection_id":126041,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126041,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:41:47] local.INFO: Processing buffer {"connection_id":126041,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:41:47] local.INFO: IMEI packet received {"connection_id":126041,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":126041,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:41:50] local.INFO: TCP Data received {"connection_id":126042,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126042,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:41:50] local.INFO: Processing buffer {"connection_id":126042,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:41:50] local.INFO: IMEI packet received {"connection_id":126042,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 09:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":126042,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:41:51] local.INFO: TCP Data received {"connection_id":126042,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126042,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:41:51] local.INFO: Processing buffer {"connection_id":126042,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:41:51] local.INFO: IMEI packet received {"connection_id":126042,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":126042,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:41:52] local.INFO: TCP Data received {"connection_id":126042,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126042,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:41:52] local.INFO: Processing buffer {"connection_id":126042,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:41:52] local.INFO: IMEI packet received {"connection_id":126042,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":126042,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:41:52] local.INFO: TCP Data received {"connection_id":126041,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126041,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:41:52] local.INFO: Processing buffer {"connection_id":126041,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:41:52] local.INFO: IMEI packet received {"connection_id":126041,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":126041,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:41:53] local.INFO: TCP Data received {"connection_id":126042,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126042,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:41:53] local.INFO: Processing buffer {"connection_id":126042,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:41:53] local.INFO: IMEI packet received {"connection_id":126042,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":126042,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:41:56] local.INFO: TCP Data received {"connection_id":126041,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3feaeec8012d7d304005ec2cb8000a012829..."} 
[2026-07-08 09:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3feaeec8012d7d304005ec2cb8000a012829..."} 
[2026-07-08 09:41:56] local.INFO: Processing buffer {"connection_id":126041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3feaeec8012d7d304005ec2cb8000a012829..."} 
[2026-07-08 09:41:56] local.INFO: Packet analysis {"connection_id":126041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fea"} 
[2026-07-08 09:41:56] local.INFO: Extracted packet for processing {"connection_id":126041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fea"} 
[2026-07-08 09:41:56] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":10,"angle":296,"satellites":41,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571772928001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:41:56] 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-07-08 09:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783483789000,"timestamp_ms":1783483789000,"timestamp_seconds":1783483789,"priority":1,"record_length":96,"hex_timestamp":"0000019f3feaeec8"} 
[2026-07-08 09:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:41:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:41:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:41:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":126041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":126041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":126041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571772928001,"66":2242,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571772928001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:41:56] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:41:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571772928001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":126041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450083,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:41:56] local.INFO: GPS data processed {"connection_id":126041,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:41:56] local.INFO: Acknowledgment sent {"connection_id":126041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:41:56] local.INFO: TCP Data received {"connection_id":125322,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:41:56] local.INFO: Processing buffer {"connection_id":125322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:41:56] local.INFO: IMEI packet received {"connection_id":125322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":125322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:42:01] local.INFO: TCP Data received {"connection_id":125322,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:42:01] local.INFO: Processing buffer {"connection_id":125322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:42:01] local.INFO: IMEI packet received {"connection_id":125322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":125322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:42:02] local.INFO: TCP Data received {"connection_id":125322,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fea71c8012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fea71c8012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:42:02] local.INFO: Processing buffer {"connection_id":125322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fea71c8012d7f9b4005afe080000900342f..."} 
[2026-07-08 09:42:02] local.INFO: Packet analysis {"connection_id":125322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fea"} 
[2026-07-08 09:42:02] local.INFO: Extracted packet for processing {"connection_id":125322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fea"} 
[2026-07-08 09:42:02] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":47,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571764736001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783483757000,"timestamp_ms":1783483757000,"timestamp_seconds":1783483757,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fea71c8"} 
[2026-07-08 09:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 09:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571764736001,"66":25625,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571764736001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:42:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:42:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571764736001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":125322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:42:02] local.INFO: GPS data processed {"connection_id":125322,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:42:02] local.INFO: Acknowledgment sent {"connection_id":125322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:42:32] local.INFO: TCP Data received {"connection_id":125322,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3feccb58012d7f9b4005afe0800009003430..."} 
[2026-07-08 09:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3feccb58012d7f9b4005afe0800009003430..."} 
[2026-07-08 09:42:32] local.INFO: Processing buffer {"connection_id":125322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3feccb58012d7f9b4005afe0800009003430..."} 
[2026-07-08 09:42:32] local.INFO: Packet analysis {"connection_id":125322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fec"} 
[2026-07-08 09:42:32] local.INFO: Extracted packet for processing {"connection_id":125322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fec"} 
[2026-07-08 09:42:32] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95412352,"longitude_deg":76.3337536,"latitude_deg":9.5412352,"altitude":9,"angle":52,"satellites":48,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afe080","is_valid_coordinates":true} 
[2026-07-08 09:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571841792001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783483911000,"timestamp_ms":1783483911000,"timestamp_seconds":1783483911,"priority":1,"record_length":96,"hex_timestamp":"0000019f3feccb58"} 
[2026-07-08 09:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 09:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:42: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-07-08 09:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571841792001,"66":25625,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571841792001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:42:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:42:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571841792001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":125322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:42:32] local.INFO: GPS data processed {"connection_id":125322,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:42:32] local.INFO: Acknowledgment sent {"connection_id":125322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:42:47] local.INFO: TCP Data received {"connection_id":125218,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125218,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:42:47] local.INFO: Processing buffer {"connection_id":125218,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:42:47] local.INFO: IMEI packet received {"connection_id":125218,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":125218,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:42:53] local.INFO: TCP Data received {"connection_id":125218,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125218,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:42:53] local.INFO: Processing buffer {"connection_id":125218,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:42:53] local.INFO: IMEI packet received {"connection_id":125218,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":125218,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:42:54] local.INFO: TCP Data received {"connection_id":125218,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3feaeec8012d7d304005ec2cb8000a012829..."} 
[2026-07-08 09:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3feaeec8012d7d304005ec2cb8000a012829..."} 
[2026-07-08 09:42:54] local.INFO: Processing buffer {"connection_id":125218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3feaeec8012d7d304005ec2cb8000a012829..."} 
[2026-07-08 09:42:54] local.INFO: Packet analysis {"connection_id":125218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fea"} 
[2026-07-08 09:42:54] local.INFO: Extracted packet for processing {"connection_id":125218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fea"} 
[2026-07-08 09:42:54] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":10,"angle":296,"satellites":41,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571772928001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:42: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-07-08 09:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783483789000,"timestamp_ms":1783483789000,"timestamp_seconds":1783483789,"priority":1,"record_length":96,"hex_timestamp":"0000019f3feaeec8"} 
[2026-07-08 09:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":125218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":125218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":125218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:42:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571772928001,"66":2242,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571772928001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:42:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:42:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571772928001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":125218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450086,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:42:54] local.INFO: GPS data processed {"connection_id":125218,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:42:54] local.INFO: Acknowledgment sent {"connection_id":125218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:42:56] local.INFO: TCP Data received {"connection_id":127321,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:42:56] local.INFO: Processing buffer {"connection_id":127321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:42:56] local.INFO: IMEI packet received {"connection_id":127321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":127321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:43:01] local.INFO: TCP Data received {"connection_id":127321,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:43:01] local.INFO: Processing buffer {"connection_id":127321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:43:01] local.INFO: IMEI packet received {"connection_id":127321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":127321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:43:02] local.INFO: TCP Data received {"connection_id":127321,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fecd710012d7f9ac005afe1c80009000730..."} 
[2026-07-08 09:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fecd710012d7f9ac005afe1c80009000730..."} 
[2026-07-08 09:43:02] local.INFO: Processing buffer {"connection_id":127321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fecd710012d7f9ac005afe1c80009000730..."} 
[2026-07-08 09:43:02] local.INFO: Packet analysis {"connection_id":127321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fec"} 
[2026-07-08 09:43:02] local.INFO: Extracted packet for processing {"connection_id":127321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fec"} 
[2026-07-08 09:43:02] local.INFO: GPS Element Parsed {"raw_longitude":763337408,"raw_latitude":95412680,"longitude_deg":76.3337408,"latitude_deg":9.541268,"altitude":9,"angle":7,"satellites":48,"speed":0,"hex_longitude":"2d7f9ac0","hex_latitude":"05afe1c8","is_valid_coordinates":true} 
[2026-07-08 09:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571881216001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783483914000,"timestamp_ms":1783483914000,"timestamp_seconds":1783483914,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fecd710"} 
[2026-07-08 09:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 09:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571881216001,"66":25462,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9195013457376739328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571881216001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:43:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:43:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571881216001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376739328}} 
[2026-07-08 09:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":127321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:43:02] local.INFO: GPS data processed {"connection_id":127321,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:43:02] local.INFO: Acknowledgment sent {"connection_id":127321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:43:20] local.INFO: TCP Data received {"connection_id":126041,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3feaeec8012d7d304005ec2cb8000a012829..."} 
[2026-07-08 09:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3feaeec8012d7d304005ec2cb8000a012829..."} 
[2026-07-08 09:43:20] local.INFO: Processing buffer {"connection_id":126041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3feaeec8012d7d304005ec2cb8000a012829..."} 
[2026-07-08 09:43:20] local.INFO: Packet analysis {"connection_id":126041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fea"} 
[2026-07-08 09:43:20] local.INFO: Extracted packet for processing {"connection_id":126041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fea"} 
[2026-07-08 09:43:20] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":10,"angle":296,"satellites":41,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571772928001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:43:20] 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-07-08 09:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783483789000,"timestamp_ms":1783483789000,"timestamp_seconds":1783483789,"priority":1,"record_length":96,"hex_timestamp":"0000019f3feaeec8"} 
[2026-07-08 09:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:43:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":126041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":126041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":126041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571772928001,"66":2242,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571772928001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:43:20] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:43:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571772928001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":126041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450088,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:43:20] local.INFO: GPS data processed {"connection_id":126041,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:43:20] local.INFO: Acknowledgment sent {"connection_id":126041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:43:26] local.INFO: TCP Data received {"connection_id":125218,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3feaeec8012d7d304005ec2cb8000a012829..."} 
[2026-07-08 09:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3feaeec8012d7d304005ec2cb8000a012829..."} 
[2026-07-08 09:43:26] local.INFO: Processing buffer {"connection_id":125218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3feaeec8012d7d304005ec2cb8000a012829..."} 
[2026-07-08 09:43:26] local.INFO: Packet analysis {"connection_id":125218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fea"} 
[2026-07-08 09:43:26] local.INFO: Extracted packet for processing {"connection_id":125218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fea"} 
[2026-07-08 09:43:26] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":10,"angle":296,"satellites":41,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571772928001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:43: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-07-08 09:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783483789000,"timestamp_ms":1783483789000,"timestamp_seconds":1783483789,"priority":1,"record_length":96,"hex_timestamp":"0000019f3feaeec8"} 
[2026-07-08 09:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:43:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:43:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":125218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":125218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":125218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:43:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571772928001,"66":2242,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571772928001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:43:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:43:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571772928001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":125218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450089,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:43:26] local.INFO: GPS data processed {"connection_id":125218,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:43:26] local.INFO: Acknowledgment sent {"connection_id":125218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:43:32] local.INFO: TCP Data received {"connection_id":127321,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fed2918012d7f9ac005afe1c80009000730..."} 
[2026-07-08 09:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fed2918012d7f9ac005afe1c80009000730..."} 
[2026-07-08 09:43:32] local.INFO: Processing buffer {"connection_id":127321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fed2918012d7f9ac005afe1c80009000730..."} 
[2026-07-08 09:43:32] local.INFO: Packet analysis {"connection_id":127321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fed"} 
[2026-07-08 09:43:32] local.INFO: Extracted packet for processing {"connection_id":127321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fed"} 
[2026-07-08 09:43:32] local.INFO: GPS Element Parsed {"raw_longitude":763337408,"raw_latitude":95412680,"longitude_deg":76.3337408,"latitude_deg":9.541268,"altitude":9,"angle":7,"satellites":48,"speed":0,"hex_longitude":"2d7f9ac0","hex_latitude":"05afe1c8","is_valid_coordinates":true} 
[2026-07-08 09:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571881984001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194872719888467968,"note":"Value kept but may cause issues"} 
[2026-07-08 09:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783483935000,"timestamp_ms":1783483935000,"timestamp_seconds":1783483935,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fed2918"} 
[2026-07-08 09:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 09:43: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-07-08 09:43:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:43: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-07-08 09:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571881984001,"66":27984,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9194872719888467968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571881984001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:43:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:43:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194872719888467968,"description":"Unknown IO ID 45"} 
[2026-07-08 09:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571881984001,"power":27984,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194872719888467968}} 
[2026-07-08 09:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":127321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:43:33] local.INFO: GPS data processed {"connection_id":127321,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:43:33] local.INFO: Acknowledgment sent {"connection_id":127321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:43:52] local.INFO: TCP Data received {"connection_id":125219,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125219,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:43:52] local.INFO: Processing buffer {"connection_id":125219,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:43:52] local.INFO: IMEI packet received {"connection_id":125219,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":125219,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:43:56] local.INFO: TCP Data received {"connection_id":125324,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:43:56] local.INFO: Processing buffer {"connection_id":125324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:43:56] local.INFO: IMEI packet received {"connection_id":125324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":125324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:43:57] local.INFO: TCP Data received {"connection_id":125324,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:43:57] local.INFO: Processing buffer {"connection_id":125324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:43:57] local.INFO: IMEI packet received {"connection_id":125324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":125324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:43:57] local.INFO: TCP Data received {"connection_id":125219,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125219,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:43:57] local.INFO: Processing buffer {"connection_id":125219,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:43:57] local.INFO: IMEI packet received {"connection_id":125219,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":125219,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:43:59] local.INFO: TCP Data received {"connection_id":125219,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3feaeec8012d7d304005ec2cb8000a012829..."} 
[2026-07-08 09:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3feaeec8012d7d304005ec2cb8000a012829..."} 
[2026-07-08 09:43:59] local.INFO: Processing buffer {"connection_id":125219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3feaeec8012d7d304005ec2cb8000a012829..."} 
[2026-07-08 09:43:59] local.INFO: Packet analysis {"connection_id":125219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fea"} 
[2026-07-08 09:43:59] local.INFO: Extracted packet for processing {"connection_id":125219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fea"} 
[2026-07-08 09:43:59] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":10,"angle":296,"satellites":41,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571772928001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:43:59] 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-07-08 09:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783483789000,"timestamp_ms":1783483789000,"timestamp_seconds":1783483789,"priority":1,"record_length":96,"hex_timestamp":"0000019f3feaeec8"} 
[2026-07-08 09:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:43: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":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:43:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:43:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":125219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":125219,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":125219,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:43:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571772928001,"66":2242,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571772928001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:43:59] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:43:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571772928001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":125219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450091,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:43:59] local.INFO: GPS data processed {"connection_id":125219,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:43:59] local.INFO: Acknowledgment sent {"connection_id":125219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:44:01] local.INFO: TCP Data received {"connection_id":125324,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:44:01] local.INFO: Processing buffer {"connection_id":125324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:44:01] local.INFO: IMEI packet received {"connection_id":125324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":125324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:44:02] local.INFO: TCP Data received {"connection_id":125324,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fed7b20012d7f9ac005afe1c80009000730..."} 
[2026-07-08 09:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fed7b20012d7f9ac005afe1c80009000730..."} 
[2026-07-08 09:44:02] local.INFO: Processing buffer {"connection_id":125324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fed7b20012d7f9ac005afe1c80009000730..."} 
[2026-07-08 09:44:02] local.INFO: Packet analysis {"connection_id":125324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fed"} 
[2026-07-08 09:44:02] local.INFO: Extracted packet for processing {"connection_id":125324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fed"} 
[2026-07-08 09:44:02] local.INFO: GPS Element Parsed {"raw_longitude":763337408,"raw_latitude":95412680,"longitude_deg":76.3337408,"latitude_deg":9.541268,"altitude":9,"angle":7,"satellites":48,"speed":0,"hex_longitude":"2d7f9ac0","hex_latitude":"05afe1c8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571887360001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194872719888467968,"note":"Value kept but may cause issues"} 
[2026-07-08 09:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783483956000,"timestamp_ms":1783483956000,"timestamp_seconds":1783483956,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fed7b20"} 
[2026-07-08 09:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-08 09:44:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571887360001,"66":27995,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9194872719888467968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571887360001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:44:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:44:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194872719888467968,"description":"Unknown IO ID 45"} 
[2026-07-08 09:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571887360001,"power":27995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194872719888467968}} 
[2026-07-08 09:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":125324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:44:02] local.INFO: GPS data processed {"connection_id":125324,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:44:02] local.INFO: Acknowledgment sent {"connection_id":125324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:44:03] local.INFO: TCP Data received {"connection_id":125219,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3feaeec8012d7d304005ec2cb8000a012829..."} 
[2026-07-08 09:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3feaeec8012d7d304005ec2cb8000a012829..."} 
[2026-07-08 09:44:03] local.INFO: Processing buffer {"connection_id":125219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3feaeec8012d7d304005ec2cb8000a012829..."} 
[2026-07-08 09:44:03] local.INFO: Packet analysis {"connection_id":125219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fea"} 
[2026-07-08 09:44:03] local.INFO: Extracted packet for processing {"connection_id":125219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fea"} 
[2026-07-08 09:44:03] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":10,"angle":296,"satellites":41,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571772928001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:44:03] 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-07-08 09:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783483789000,"timestamp_ms":1783483789000,"timestamp_seconds":1783483789,"priority":1,"record_length":96,"hex_timestamp":"0000019f3feaeec8"} 
[2026-07-08 09:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125219,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125219,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571772928001,"66":2242,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571772928001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:44:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:44:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571772928001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":125219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450093,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:44:03] local.INFO: GPS data processed {"connection_id":125219,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:44:03] local.INFO: Acknowledgment sent {"connection_id":125219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:44:32] local.INFO: TCP Data received {"connection_id":125324,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fedcd28012d7f9ac005afe1c80009000731..."} 
[2026-07-08 09:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fedcd28012d7f9ac005afe1c80009000731..."} 
[2026-07-08 09:44:32] local.INFO: Processing buffer {"connection_id":125324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fedcd28012d7f9ac005afe1c80009000731..."} 
[2026-07-08 09:44:32] local.INFO: Packet analysis {"connection_id":125324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fed"} 
[2026-07-08 09:44:32] local.INFO: Extracted packet for processing {"connection_id":125324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fed"} 
[2026-07-08 09:44:32] local.INFO: GPS Element Parsed {"raw_longitude":763337408,"raw_latitude":95412680,"longitude_deg":76.3337408,"latitude_deg":9.541268,"altitude":9,"angle":7,"satellites":49,"speed":0,"hex_longitude":"2d7f9ac0","hex_latitude":"05afe1c8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571892736001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532218905690112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194872719888467968,"note":"Value kept but may cause issues"} 
[2026-07-08 09:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783483977000,"timestamp_ms":1783483977000,"timestamp_seconds":1783483977,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fedcd28"} 
[2026-07-08 09:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-08 09:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09: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-07-08 09:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571892736001,"66":28006,"250":206,"85":12544,"24":0,"16":342532218905690112,"45":9194872719888467968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571892736001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:44:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:44:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532218905690112,"km_value":342532218905690.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194872719888467968,"description":"Unknown IO ID 45"} 
[2026-07-08 09:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571892736001,"power":28006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194872719888467968}} 
[2026-07-08 09:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":125324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:44:32] local.INFO: GPS data processed {"connection_id":125324,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:44:32] local.INFO: Acknowledgment sent {"connection_id":125324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:44:47] local.INFO: TCP Data received {"connection_id":126044,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126044,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:44:47] local.INFO: Processing buffer {"connection_id":126044,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:44:47] local.INFO: IMEI packet received {"connection_id":126044,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":126044,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:44:52] local.INFO: TCP Data received {"connection_id":126044,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126044,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:44:52] local.INFO: Processing buffer {"connection_id":126044,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:44:52] local.INFO: IMEI packet received {"connection_id":126044,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":126044,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:44:53] local.INFO: TCP Data received {"connection_id":126044,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fef8690012d7d304005ec2cb80016012827..."} 
[2026-07-08 09:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fef8690012d7d304005ec2cb80016012827..."} 
[2026-07-08 09:44:53] local.INFO: Processing buffer {"connection_id":126044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fef8690012d7d304005ec2cb80016012827..."} 
[2026-07-08 09:44:53] local.INFO: Packet analysis {"connection_id":126044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fef"} 
[2026-07-08 09:44:53] local.INFO: Extracted packet for processing {"connection_id":126044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fef"} 
[2026-07-08 09:44:53] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":22,"angle":296,"satellites":39,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571849984001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:44:53] 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-07-08 09:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783484090000,"timestamp_ms":1783484090000,"timestamp_seconds":1783484090,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fef8690"} 
[2026-07-08 09:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:44:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-08 09:44:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":126044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":126044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":126044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:44:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571849984001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571849984001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:44:53] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:44:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571849984001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":126044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450095,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:44:53] local.INFO: GPS data processed {"connection_id":126044,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:44:53] local.INFO: Acknowledgment sent {"connection_id":126044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:44:56] local.INFO: TCP Data received {"connection_id":127323,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:44:57] local.INFO: Processing buffer {"connection_id":127323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:44:57] local.INFO: IMEI packet received {"connection_id":127323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":127323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:45:01] local.INFO: TCP Data received {"connection_id":127323,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:45:01] local.INFO: Processing buffer {"connection_id":127323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:45:01] local.INFO: IMEI packet received {"connection_id":127323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":127323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:45:02] local.INFO: TCP Data received {"connection_id":127323,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fedd8e0012d7f9c4005afe0d0000900c730..."} 
[2026-07-08 09:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fedd8e0012d7f9c4005afe0d0000900c730..."} 
[2026-07-08 09:45:02] local.INFO: Processing buffer {"connection_id":127323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fedd8e0012d7f9c4005afe0d0000900c730..."} 
[2026-07-08 09:45:02] local.INFO: Packet analysis {"connection_id":127323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fed"} 
[2026-07-08 09:45:02] local.INFO: Extracted packet for processing {"connection_id":127323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fed"} 
[2026-07-08 09:45:02] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95412432,"longitude_deg":76.3337792,"latitude_deg":9.5412432,"altitude":9,"angle":199,"satellites":48,"speed":2,"hex_longitude":"2d7f9c40","hex_latitude":"05afe0d0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 09:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571898112001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532240380526592,"note":"Value kept but may cause issues"} 
[2026-07-08 09:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194872719888467968,"note":"Value kept but may cause issues"} 
[2026-07-08 09:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783483980000,"timestamp_ms":1783483980000,"timestamp_seconds":1783483980,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fedd8e0"} 
[2026-07-08 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-07-08 09:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 09:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 09:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571898112001,"66":28050,"250":206,"85":12544,"24":2,"16":342532240380526592,"45":9194872719888467968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571898112001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:45:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:45:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532240380526592,"km_value":342532240380526.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194872719888467968,"description":"Unknown IO ID 45"} 
[2026-07-08 09:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571898112001,"power":28050,"unknown_250":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9194872719888467968}} 
[2026-07-08 09:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":127323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:45:02] local.INFO: GPS data processed {"connection_id":127323,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:45:02] local.INFO: Acknowledgment sent {"connection_id":127323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:45:25] local.INFO: TCP Data received {"connection_id":126044,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fef8690012d7d304005ec2cb80016012827..."} 
[2026-07-08 09:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fef8690012d7d304005ec2cb80016012827..."} 
[2026-07-08 09:45:26] local.INFO: Processing buffer {"connection_id":126044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fef8690012d7d304005ec2cb80016012827..."} 
[2026-07-08 09:45:26] local.INFO: Packet analysis {"connection_id":126044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fef"} 
[2026-07-08 09:45:26] local.INFO: Extracted packet for processing {"connection_id":126044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fef"} 
[2026-07-08 09:45:26] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":22,"angle":296,"satellites":39,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571849984001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:45: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-07-08 09:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783484090000,"timestamp_ms":1783484090000,"timestamp_seconds":1783484090,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fef8690"} 
[2026-07-08 09:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":194,"data_length":795,"current_offset":136} 
[2026-07-08 09:45:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:45:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":126044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":126044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":126044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571849984001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571849984001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:45:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:45:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571849984001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":126044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450097,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:45:26] local.INFO: GPS data processed {"connection_id":126044,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:45:26] local.INFO: Acknowledgment sent {"connection_id":126044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:45:27] local.INFO: TCP Data received {"connection_id":127324,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:45:27] local.INFO: Processing buffer {"connection_id":127324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:45:27] local.INFO: IMEI packet received {"connection_id":127324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 09:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":127324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:45:33] local.INFO: TCP Data received {"connection_id":127323,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fede880012d7f9c0005afdfb8000a00bb30..."} 
[2026-07-08 09:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fede880012d7f9c0005afdfb8000a00bb30..."} 
[2026-07-08 09:45:33] local.INFO: Processing buffer {"connection_id":127323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fede880012d7f9c0005afdfb8000a00bb30..."} 
[2026-07-08 09:45:33] local.INFO: Packet analysis {"connection_id":127323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fed"} 
[2026-07-08 09:45:33] local.INFO: Extracted packet for processing {"connection_id":127323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fed"} 
[2026-07-08 09:45:33] local.INFO: GPS Element Parsed {"raw_longitude":763337728,"raw_latitude":95412152,"longitude_deg":76.3337728,"latitude_deg":9.5412152,"altitude":10,"angle":187,"satellites":48,"speed":1,"hex_longitude":"2d7f9c00","hex_latitude":"05afdfb8","is_valid_coordinates":true} 
[2026-07-08 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-07-08 09:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571898880001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532257560395776,"note":"Value kept but may cause issues"} 
[2026-07-08 09:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195294932353470464,"note":"Value kept but may cause issues"} 
[2026-07-08 09:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783483984000,"timestamp_ms":1783483984000,"timestamp_seconds":1783483984,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fede880"} 
[2026-07-08 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-07-08 09:45: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-07-08 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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-08 09:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 09:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:45: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-07-08 09:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571898880001,"66":27832,"250":206,"85":12544,"24":1,"16":342532257560395776,"45":9195294932353470464},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571898880001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:45:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:45:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532257560395776,"km_value":342532257560395.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195294932353470464,"description":"Unknown IO ID 45"} 
[2026-07-08 09:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571898880001,"power":27832,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9195294932353470464}} 
[2026-07-08 09:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":127323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:45:33] local.INFO: GPS data processed {"connection_id":127323,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:45:33] local.INFO: Acknowledgment sent {"connection_id":127323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:45:47] local.INFO: TCP Data received {"connection_id":125222,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:45:47] local.INFO: Processing buffer {"connection_id":125222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:45:47] local.INFO: IMEI packet received {"connection_id":125222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":125222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:45:52] local.INFO: TCP Data received {"connection_id":125222,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:45:52] local.INFO: Processing buffer {"connection_id":125222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:45:52] local.INFO: IMEI packet received {"connection_id":125222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":125222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:45:54] local.INFO: TCP Data received {"connection_id":125222,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fef8690012d7d304005ec2cb80016012827..."} 
[2026-07-08 09:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fef8690012d7d304005ec2cb80016012827..."} 
[2026-07-08 09:45:54] local.INFO: Processing buffer {"connection_id":125222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fef8690012d7d304005ec2cb80016012827..."} 
[2026-07-08 09:45:54] local.INFO: Packet analysis {"connection_id":125222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fef"} 
[2026-07-08 09:45:54] local.INFO: Extracted packet for processing {"connection_id":125222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fef"} 
[2026-07-08 09:45:54] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":22,"angle":296,"satellites":39,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571849984001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:45: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-07-08 09:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783484090000,"timestamp_ms":1783484090000,"timestamp_seconds":1783484090,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fef8690"} 
[2026-07-08 09:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:45:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:45: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":194,"data_length":795,"current_offset":136} 
[2026-07-08 09:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":125222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":125222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":125222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571849984001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571849984001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:45:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:45:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571849984001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":125222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450099,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:45:54] local.INFO: GPS data processed {"connection_id":125222,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:45:54] local.INFO: Acknowledgment sent {"connection_id":125222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:45:56] local.INFO: TCP Data received {"connection_id":127325,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:45:56] local.INFO: Processing buffer {"connection_id":127325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:45:56] local.INFO: IMEI packet received {"connection_id":127325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":127325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:46:01] local.INFO: TCP Data received {"connection_id":127325,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:46:01] local.INFO: Processing buffer {"connection_id":127325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:46:01] local.INFO: IMEI packet received {"connection_id":127325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":127325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:46:02] local.INFO: TCP Data received {"connection_id":127325,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fedf050012d7f9c0005afdf50000a00ce30..."} 
[2026-07-08 09:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fedf050012d7f9c0005afdf50000a00ce30..."} 
[2026-07-08 09:46:02] local.INFO: Processing buffer {"connection_id":127325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fedf050012d7f9c0005afdf50000a00ce30..."} 
[2026-07-08 09:46:02] local.INFO: Packet analysis {"connection_id":127325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fed"} 
[2026-07-08 09:46:02] local.INFO: Extracted packet for processing {"connection_id":127325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fed"} 
[2026-07-08 09:46:02] local.INFO: GPS Element Parsed {"raw_longitude":763337728,"raw_latitude":95412048,"longitude_deg":76.3337728,"latitude_deg":9.5412048,"altitude":10,"angle":206,"satellites":48,"speed":2,"hex_longitude":"2d7f9c00","hex_latitude":"05afdf50","is_valid_coordinates":true} 
[2026-07-08 09:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571899904001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532261855363072,"note":"Value kept but may cause issues"} 
[2026-07-08 09:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195224563609221120,"note":"Value kept but may cause issues"} 
[2026-07-08 09:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783483986000,"timestamp_ms":1783483986000,"timestamp_seconds":1783483986,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fedf050"} 
[2026-07-08 09:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-08 09:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571899904001,"66":27843,"250":206,"85":12544,"24":2,"16":342532261855363072,"45":9195224563609221120},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 09:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571899904001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:46:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 09:46:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532261855363072,"km_value":342532261855363.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195224563609221120,"description":"Unknown IO ID 45"} 
[2026-07-08 09:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571899904001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9195224563609221120}} 
[2026-07-08 09:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":127325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:46:02] local.INFO: GPS data processed {"connection_id":127325,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:46:02] local.INFO: Acknowledgment sent {"connection_id":127325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:46:10] local.INFO: TCP Data received {"connection_id":125325,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125325,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:46:10] local.INFO: Processing buffer {"connection_id":125325,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:46:10] local.INFO: IMEI packet received {"connection_id":125325,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 09:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":125325,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:46:11] local.INFO: TCP Data received {"connection_id":125325,"ip":"42.106.6.26","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-08 09:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125325,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-08 09:46:11] local.INFO: Processing buffer {"connection_id":125325,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-08 09:46:11] local.INFO: IMEI packet received {"connection_id":125325,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 09:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":125325,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:46:27] local.INFO: TCP Data received {"connection_id":125222,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fef8690012d7d304005ec2cb80016012827..."} 
[2026-07-08 09:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fef8690012d7d304005ec2cb80016012827..."} 
[2026-07-08 09:46:27] local.INFO: Processing buffer {"connection_id":125222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fef8690012d7d304005ec2cb80016012827..."} 
[2026-07-08 09:46:27] local.INFO: Packet analysis {"connection_id":125222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fef"} 
[2026-07-08 09:46:27] local.INFO: Extracted packet for processing {"connection_id":125222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fef"} 
[2026-07-08 09:46:27] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":22,"angle":296,"satellites":39,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571849984001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:46: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-07-08 09:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783484090000,"timestamp_ms":1783484090000,"timestamp_seconds":1783484090,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fef8690"} 
[2026-07-08 09:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:46:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-08 09:46:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":125222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":125222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":125222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571849984001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571849984001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:46:27] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:46:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571849984001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":125222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450101,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:46:27] local.INFO: GPS data processed {"connection_id":125222,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:46:27] local.INFO: Acknowledgment sent {"connection_id":125222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:46:33] local.INFO: TCP Data received {"connection_id":127325,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fee0f90012d7f9b4005afdea8000a00c630..."} 
[2026-07-08 09:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fee0f90012d7f9b4005afdea8000a00c630..."} 
[2026-07-08 09:46:33] local.INFO: Processing buffer {"connection_id":127325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fee0f90012d7f9b4005afdea8000a00c630..."} 
[2026-07-08 09:46:33] local.INFO: Packet analysis {"connection_id":127325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fee"} 
[2026-07-08 09:46:33] local.INFO: Extracted packet for processing {"connection_id":127325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fee"} 
[2026-07-08 09:46:33] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95411880,"longitude_deg":76.3337536,"latitude_deg":9.541188,"altitude":10,"angle":198,"satellites":48,"speed":0,"hex_longitude":"2d7f9b40","hex_latitude":"05afdea8","is_valid_coordinates":true} 
[2026-07-08 09:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571900416001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 09:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195224563609194496,"note":"Value kept but may cause issues"} 
[2026-07-08 09:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783483994000,"timestamp_ms":1783483994000,"timestamp_seconds":1783483994,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fee0f90"} 
[2026-07-08 09:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:46: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-07-08 09:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 09:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:46:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:46: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-07-08 09:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571900416001,"66":27745,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195224563609194496},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 09:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571900416001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:46:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 09:46:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195224563609194496,"description":"Unknown IO ID 45"} 
[2026-07-08 09:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571900416001,"power":27745,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195224563609194496}} 
[2026-07-08 09:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":127325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:46:33] local.INFO: GPS data processed {"connection_id":127325,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:46:33] local.INFO: Acknowledgment sent {"connection_id":127325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:46:53] local.INFO: TCP Data received {"connection_id":125224,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125224,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:46:53] local.INFO: Processing buffer {"connection_id":125224,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:46:53] local.INFO: IMEI packet received {"connection_id":125224,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":125224,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:46:55] local.INFO: TCP Data received {"connection_id":127326,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127326,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:46:55] local.INFO: Processing buffer {"connection_id":127326,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:46:55] local.INFO: IMEI packet received {"connection_id":127326,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 09:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":127326,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:46:56] local.INFO: TCP Data received {"connection_id":127326,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff06150012d0d30000704bb080022005025..."} 
[2026-07-08 09:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff06150012d0d30000704bb080022005025..."} 
[2026-07-08 09:46:56] local.INFO: Processing buffer {"connection_id":127326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff06150012d0d30000704bb080022005025..."} 
[2026-07-08 09:46:56] local.INFO: Packet analysis {"connection_id":127326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff0"} 
[2026-07-08 09:46:56] local.INFO: Extracted packet for processing {"connection_id":127326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff0"} 
[2026-07-08 09:46:56] local.INFO: GPS Element Parsed {"raw_longitude":755838976,"raw_latitude":117750536,"longitude_deg":75.5838976,"latitude_deg":11.7750536,"altitude":34,"angle":80,"satellites":37,"speed":26,"hex_longitude":"2d0d3000","hex_latitude":"0704bb08","is_valid_coordinates":true} 
[2026-07-08 09:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571938560001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23557710934966272,"note":"Value kept but may cause issues"} 
[2026-07-08 09:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":940337558590304256,"note":"Value kept but may cause issues"} 
[2026-07-08 09:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783484146000,"timestamp_ms":1783484146000,"timestamp_seconds":1783484146,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff06150"} 
[2026-07-08 09:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 09:46:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:46:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":127326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":127326,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":127326,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571938560001,"66":14548,"17":206,"94":11008,"24":26,"16":23557710934966272,"45":940337558590304256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 09:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571938560001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:46:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 09:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23557710934966272,"km_value":23557710934966.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":940337558590304256,"description":"Unknown IO ID 45"} 
[2026-07-08 09:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571938560001,"power":14548,"axis_x":206,"unknown_94":11008,"ignition":26,"odometer":null,"unknown_45":940337558590304256}} 
[2026-07-08 09:46:56] local.INFO: TCP Data received {"connection_id":125225,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:46:56] local.INFO: Processing buffer {"connection_id":125225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:46:56] local.INFO: IMEI packet received {"connection_id":125225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":125225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":127326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450103,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:46:56] local.INFO: GPS data processed {"connection_id":127326,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:46:56] local.INFO: Acknowledgment sent {"connection_id":127326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:46:57] local.INFO: TCP Data received {"connection_id":125224,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125224,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:46:57] local.INFO: Processing buffer {"connection_id":125224,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:46:57] local.INFO: IMEI packet received {"connection_id":125224,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":125224,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:46:59] local.INFO: TCP Data received {"connection_id":125224,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fef8690012d7d304005ec2cb80016012827..."} 
[2026-07-08 09:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fef8690012d7d304005ec2cb80016012827..."} 
[2026-07-08 09:46:59] local.INFO: Processing buffer {"connection_id":125224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fef8690012d7d304005ec2cb80016012827..."} 
[2026-07-08 09:46:59] local.INFO: Packet analysis {"connection_id":125224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fef"} 
[2026-07-08 09:46:59] local.INFO: Extracted packet for processing {"connection_id":125224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fef"} 
[2026-07-08 09:46:59] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":22,"angle":296,"satellites":39,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571849984001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:46:59] 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-07-08 09:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783484090000,"timestamp_ms":1783484090000,"timestamp_seconds":1783484090,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fef8690"} 
[2026-07-08 09:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":194,"data_length":795,"current_offset":136} 
[2026-07-08 09:46:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:46:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":125224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":125224,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":125224,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571849984001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571849984001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:46:59] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:46:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571849984001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":125224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450104,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:46:59] local.INFO: GPS data processed {"connection_id":125224,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:46:59] local.INFO: Acknowledgment sent {"connection_id":125224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:47:01] local.INFO: TCP Data received {"connection_id":125225,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:47:01] local.INFO: Processing buffer {"connection_id":125225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:47:01] local.INFO: IMEI packet received {"connection_id":125225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":125225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:47:02] local.INFO: TCP Data received {"connection_id":125225,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fee2318012d7f9a8005afdef0000a012630..."} 
[2026-07-08 09:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fee2318012d7f9a8005afdef0000a012630..."} 
[2026-07-08 09:47:02] local.INFO: Processing buffer {"connection_id":125225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fee2318012d7f9a8005afdef0000a012630..."} 
[2026-07-08 09:47:02] local.INFO: Packet analysis {"connection_id":125225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fee"} 
[2026-07-08 09:47:02] local.INFO: Extracted packet for processing {"connection_id":125225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fee"} 
[2026-07-08 09:47:02] local.INFO: GPS Element Parsed {"raw_longitude":763337344,"raw_latitude":95411952,"longitude_deg":76.3337344,"latitude_deg":9.5411952,"altitude":10,"angle":294,"satellites":48,"speed":0,"hex_longitude":"2d7f9a80","hex_latitude":"05afdef0","is_valid_coordinates":true} 
[2026-07-08 09:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571902464001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 09:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376618496,"note":"Value kept but may cause issues"} 
[2026-07-08 09:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783483999000,"timestamp_ms":1783483999000,"timestamp_seconds":1783483999,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fee2318"} 
[2026-07-08 09:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 09:47:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571902464001,"66":27310,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195013457376618496},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 09:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571902464001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:47:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 09:47:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376618496,"description":"Unknown IO ID 45"} 
[2026-07-08 09:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571902464001,"power":27310,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376618496}} 
[2026-07-08 09:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":125225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:47:02] local.INFO: GPS data processed {"connection_id":125225,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:47:02] local.INFO: Acknowledgment sent {"connection_id":125225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:47:03] local.INFO: TCP Data received {"connection_id":125224,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fef8690012d7d304005ec2cb80016012827..."} 
[2026-07-08 09:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fef8690012d7d304005ec2cb80016012827..."} 
[2026-07-08 09:47:03] local.INFO: Processing buffer {"connection_id":125224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fef8690012d7d304005ec2cb80016012827..."} 
[2026-07-08 09:47:03] local.INFO: Packet analysis {"connection_id":125224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fef"} 
[2026-07-08 09:47:03] local.INFO: Extracted packet for processing {"connection_id":125224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fef"} 
[2026-07-08 09:47:03] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":22,"angle":296,"satellites":39,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571849984001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:47:03] 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-07-08 09:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783484090000,"timestamp_ms":1783484090000,"timestamp_seconds":1783484090,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fef8690"} 
[2026-07-08 09:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":194,"data_length":795,"current_offset":136} 
[2026-07-08 09:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125224,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125224,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571849984001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571849984001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:47:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:47:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571849984001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":125224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450106,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:47:03] local.INFO: GPS data processed {"connection_id":125224,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:47:03] local.INFO: Acknowledgment sent {"connection_id":125224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:47:27] local.INFO: TCP Data received {"connection_id":127326,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff1a1a0012d0d328007046408002200c225..."} 
[2026-07-08 09:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff1a1a0012d0d328007046408002200c225..."} 
[2026-07-08 09:47:27] local.INFO: Processing buffer {"connection_id":127326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff1a1a0012d0d328007046408002200c225..."} 
[2026-07-08 09:47:27] local.INFO: Packet analysis {"connection_id":127326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff1"} 
[2026-07-08 09:47:27] local.INFO: Extracted packet for processing {"connection_id":127326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff1"} 
[2026-07-08 09:47:27] local.INFO: GPS Element Parsed {"raw_longitude":755839616,"raw_latitude":117728264,"longitude_deg":75.5839616,"latitude_deg":11.7728264,"altitude":34,"angle":194,"satellites":37,"speed":12,"hex_longitude":"2d0d3280","hex_latitude":"07046408","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571961600001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23558956475482112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":951103976444026880,"note":"Value kept but may cause issues"} 
[2026-07-08 09:47:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783484228000,"timestamp_ms":1783484228000,"timestamp_seconds":1783484228,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff1a1a0"} 
[2026-07-08 09:47:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:47:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 09:47:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:47:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":127326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":127326,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":127326,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571961600001,"66":14396,"17":206,"94":11008,"24":12,"16":23558956475482112,"45":951103976444026880},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 09:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571961600001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:47:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 09:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23558956475482112,"km_value":23558956475482.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":951103976444026880,"description":"Unknown IO ID 45"} 
[2026-07-08 09:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571961600001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":951103976444026880}} 
[2026-07-08 09:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":127326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450107,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:47:27] local.INFO: GPS data processed {"connection_id":127326,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:47:27] local.INFO: Acknowledgment sent {"connection_id":127326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:47:32] local.INFO: TCP Data received {"connection_id":125225,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fee2318012d7f9a8005afdef0000a012630..."} 
[2026-07-08 09:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fee2318012d7f9a8005afdef0000a012630..."} 
[2026-07-08 09:47:32] local.INFO: Processing buffer {"connection_id":125225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fee2318012d7f9a8005afdef0000a012630..."} 
[2026-07-08 09:47:32] local.INFO: Packet analysis {"connection_id":125225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fee"} 
[2026-07-08 09:47:32] local.INFO: Extracted packet for processing {"connection_id":125225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fee"} 
[2026-07-08 09:47:32] local.INFO: GPS Element Parsed {"raw_longitude":763337344,"raw_latitude":95411952,"longitude_deg":76.3337344,"latitude_deg":9.5411952,"altitude":10,"angle":294,"satellites":48,"speed":0,"hex_longitude":"2d7f9a80","hex_latitude":"05afdef0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 09:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571902464001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 09:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376618496,"note":"Value kept but may cause issues"} 
[2026-07-08 09:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783483999000,"timestamp_ms":1783483999000,"timestamp_seconds":1783483999,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fee2318"} 
[2026-07-08 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-07-08 09:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 09:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 09:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:47: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-07-08 09:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571902464001,"66":27310,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195013457376618496},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 09:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571902464001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:47:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 09:47:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376618496,"description":"Unknown IO ID 45"} 
[2026-07-08 09:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571902464001,"power":27310,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376618496}} 
[2026-07-08 09:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":125225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:47:33] local.INFO: GPS data processed {"connection_id":125225,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:47:33] local.INFO: Acknowledgment sent {"connection_id":125225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:47:45] local.INFO: TCP Data received {"connection_id":125327,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125327,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:47:45] local.INFO: Processing buffer {"connection_id":125327,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:47:45] local.INFO: IMEI packet received {"connection_id":125327,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 09:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":125327,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:47:47] local.INFO: TCP Data received {"connection_id":125326,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125326,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:47:47] local.INFO: Processing buffer {"connection_id":125326,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:47:47] local.INFO: IMEI packet received {"connection_id":125326,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":125326,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:47:50] local.INFO: TCP Data received {"connection_id":125327,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125327,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:47:50] local.INFO: Processing buffer {"connection_id":125327,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:47:50] local.INFO: IMEI packet received {"connection_id":125327,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":125327,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:47:51] local.INFO: TCP Data received {"connection_id":125327,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff1a970012d0d3180070461b8002100cf25..."} 
[2026-07-08 09:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff1a970012d0d3180070461b8002100cf25..."} 
[2026-07-08 09:47:51] local.INFO: Processing buffer {"connection_id":125327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff1a970012d0d3180070461b8002100cf25..."} 
[2026-07-08 09:47:51] local.INFO: Packet analysis {"connection_id":125327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff1"} 
[2026-07-08 09:47:51] local.INFO: Extracted packet for processing {"connection_id":125327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff1"} 
[2026-07-08 09:47:51] local.INFO: GPS Element Parsed {"raw_longitude":755839360,"raw_latitude":117727672,"longitude_deg":75.583936,"latitude_deg":11.7727672,"altitude":33,"angle":207,"satellites":37,"speed":9,"hex_longitude":"2d0d3180","hex_latitude":"070461b8","is_valid_coordinates":true} 
[2026-07-08 09:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571962368001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23558986540253184,"note":"Value kept but may cause issues"} 
[2026-07-08 09:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":950963238955386880,"note":"Value kept but may cause issues"} 
[2026-07-08 09:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783484230000,"timestamp_ms":1783484230000,"timestamp_seconds":1783484230,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff1a970"} 
[2026-07-08 09:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-08 09:47:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125327,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125327,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571962368001,"66":13689,"17":206,"94":11008,"24":9,"16":23558986540253184,"45":950963238955386880},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 09:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571962368001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:47:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 09:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23558986540253184,"km_value":23558986540253.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":950963238955386880,"description":"Unknown IO ID 45"} 
[2026-07-08 09:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571962368001,"power":13689,"axis_x":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":950963238955386880}} 
[2026-07-08 09:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":125327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450109,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:47:51] local.INFO: GPS data processed {"connection_id":125327,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:47:51] local.INFO: Acknowledgment sent {"connection_id":125327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:47:52] local.INFO: TCP Data received {"connection_id":125326,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125326,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:47:52] local.INFO: Processing buffer {"connection_id":125326,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:47:52] local.INFO: IMEI packet received {"connection_id":125326,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":125326,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:47:55] local.INFO: TCP Data received {"connection_id":125326,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fef8690012d7d304005ec2cb80016012827..."} 
[2026-07-08 09:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fef8690012d7d304005ec2cb80016012827..."} 
[2026-07-08 09:47:55] local.INFO: Processing buffer {"connection_id":125326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fef8690012d7d304005ec2cb80016012827..."} 
[2026-07-08 09:47:55] local.INFO: Packet analysis {"connection_id":125326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fef"} 
[2026-07-08 09:47:55] local.INFO: Extracted packet for processing {"connection_id":125326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fef"} 
[2026-07-08 09:47:55] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":22,"angle":296,"satellites":39,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571849984001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:47:55] 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-07-08 09:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783484090000,"timestamp_ms":1783484090000,"timestamp_seconds":1783484090,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fef8690"} 
[2026-07-08 09:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-08 09:47:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":125326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":125326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":125326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571849984001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571849984001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:47:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:47:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571849984001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":125326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450110,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:47:55] local.INFO: GPS data processed {"connection_id":125326,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:47:55] local.INFO: Acknowledgment sent {"connection_id":125326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:47:56] local.INFO: TCP Data received {"connection_id":126045,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:47:56] local.INFO: Processing buffer {"connection_id":126045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:47:56] local.INFO: IMEI packet received {"connection_id":126045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":126045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:48:01] local.INFO: TCP Data received {"connection_id":126045,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:48:01] local.INFO: Processing buffer {"connection_id":126045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:48:01] local.INFO: IMEI packet received {"connection_id":126045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":126045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:48:02] local.INFO: TCP Data received {"connection_id":126045,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fee2318012d7f9a8005afdef0000a012630..."} 
[2026-07-08 09:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fee2318012d7f9a8005afdef0000a012630..."} 
[2026-07-08 09:48:02] local.INFO: Processing buffer {"connection_id":126045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fee2318012d7f9a8005afdef0000a012630..."} 
[2026-07-08 09:48:02] local.INFO: Packet analysis {"connection_id":126045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fee"} 
[2026-07-08 09:48:02] local.INFO: Extracted packet for processing {"connection_id":126045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fee"} 
[2026-07-08 09:48:02] local.INFO: GPS Element Parsed {"raw_longitude":763337344,"raw_latitude":95411952,"longitude_deg":76.3337344,"latitude_deg":9.5411952,"altitude":10,"angle":294,"satellites":48,"speed":0,"hex_longitude":"2d7f9a80","hex_latitude":"05afdef0","is_valid_coordinates":true} 
[2026-07-08 09:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571902464001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 09:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376618496,"note":"Value kept but may cause issues"} 
[2026-07-08 09:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783483999000,"timestamp_ms":1783483999000,"timestamp_seconds":1783483999,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fee2318"} 
[2026-07-08 09:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 09:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:48:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571902464001,"66":27310,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195013457376618496},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 09:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571902464001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:48:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 09:48:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376618496,"description":"Unknown IO ID 45"} 
[2026-07-08 09:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571902464001,"power":27310,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376618496}} 
[2026-07-08 09:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":126045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:48:02] local.INFO: GPS data processed {"connection_id":126045,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:48:02] local.INFO: Acknowledgment sent {"connection_id":126045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:48:22] local.INFO: TCP Data received {"connection_id":125327,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff1c4c8012d0d2f0007045b18001f00bd25..."} 
[2026-07-08 09:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff1c4c8012d0d2f0007045b18001f00bd25..."} 
[2026-07-08 09:48:22] local.INFO: Processing buffer {"connection_id":125327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff1c4c8012d0d2f0007045b18001f00bd25..."} 
[2026-07-08 09:48:22] local.INFO: Packet analysis {"connection_id":125327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff1"} 
[2026-07-08 09:48:22] local.INFO: Extracted packet for processing {"connection_id":125327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff1"} 
[2026-07-08 09:48:22] local.INFO: GPS Element Parsed {"raw_longitude":755838720,"raw_latitude":117725976,"longitude_deg":75.583872,"latitude_deg":11.7725976,"altitude":31,"angle":189,"satellites":37,"speed":10,"hex_longitude":"2d0d2f00","hex_latitude":"07045b18","is_valid_coordinates":true} 
[2026-07-08 09:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571962880001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23559076734566400,"note":"Value kept but may cause issues"} 
[2026-07-08 09:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":950681763978524672,"note":"Value kept but may cause issues"} 
[2026-07-08 09:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783484237000,"timestamp_ms":1783484237000,"timestamp_seconds":1783484237,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff1c4c8"} 
[2026-07-08 09:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:48:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-07-08 09:48:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:48:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125327,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125327,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571962880001,"66":14494,"17":206,"94":11008,"24":10,"16":23559076734566400,"45":950681763978524672},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 09:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571962880001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:48:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 09:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23559076734566400,"km_value":23559076734566.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":950681763978524672,"description":"Unknown IO ID 45"} 
[2026-07-08 09:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571962880001,"power":14494,"axis_x":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":950681763978524672}} 
[2026-07-08 09:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":125327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450112,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:48:22] local.INFO: GPS data processed {"connection_id":125327,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:48:22] local.INFO: Acknowledgment sent {"connection_id":125327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:48:27] local.INFO: TCP Data received {"connection_id":125326,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fef8690012d7d304005ec2cb80016012827..."} 
[2026-07-08 09:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fef8690012d7d304005ec2cb80016012827..."} 
[2026-07-08 09:48:27] local.INFO: Processing buffer {"connection_id":125326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fef8690012d7d304005ec2cb80016012827..."} 
[2026-07-08 09:48:27] local.INFO: Packet analysis {"connection_id":125326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fef"} 
[2026-07-08 09:48:27] local.INFO: Extracted packet for processing {"connection_id":125326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fef"} 
[2026-07-08 09:48:27] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":22,"angle":296,"satellites":39,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571849984001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:48: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-07-08 09:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783484090000,"timestamp_ms":1783484090000,"timestamp_seconds":1783484090,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fef8690"} 
[2026-07-08 09:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-08 09:48:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":125326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":125326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":125326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571849984001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571849984001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:48:27] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:48:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571849984001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":125326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450113,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:48:27] local.INFO: GPS data processed {"connection_id":125326,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:48:27] local.INFO: Acknowledgment sent {"connection_id":125326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:48:33] local.INFO: TCP Data received {"connection_id":126045,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fee2318012d7f9a8005afdef0000a012630..."} 
[2026-07-08 09:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fee2318012d7f9a8005afdef0000a012630..."} 
[2026-07-08 09:48:33] local.INFO: Processing buffer {"connection_id":126045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fee2318012d7f9a8005afdef0000a012630..."} 
[2026-07-08 09:48:33] local.INFO: Packet analysis {"connection_id":126045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fee"} 
[2026-07-08 09:48:33] local.INFO: Extracted packet for processing {"connection_id":126045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fee"} 
[2026-07-08 09:48:33] local.INFO: GPS Element Parsed {"raw_longitude":763337344,"raw_latitude":95411952,"longitude_deg":76.3337344,"latitude_deg":9.5411952,"altitude":10,"angle":294,"satellites":48,"speed":0,"hex_longitude":"2d7f9a80","hex_latitude":"05afdef0","is_valid_coordinates":true} 
[2026-07-08 09:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571902464001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 09:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376618496,"note":"Value kept but may cause issues"} 
[2026-07-08 09:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783483999000,"timestamp_ms":1783483999000,"timestamp_seconds":1783483999,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fee2318"} 
[2026-07-08 09:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 09:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:48: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-07-08 09:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571902464001,"66":27310,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195013457376618496},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 09:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571902464001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:48:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 09:48:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376618496,"description":"Unknown IO ID 45"} 
[2026-07-08 09:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571902464001,"power":27310,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195013457376618496}} 
[2026-07-08 09:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":126045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:48:33] local.INFO: GPS data processed {"connection_id":126045,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:48:33] local.INFO: Acknowledgment sent {"connection_id":126045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:48:45] local.INFO: TCP Data received {"connection_id":127328,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127328,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:48:45] local.INFO: Processing buffer {"connection_id":127328,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:48:45] local.INFO: IMEI packet received {"connection_id":127328,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 09:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":127328,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:48:47] local.INFO: TCP Data received {"connection_id":127328,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127328,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:48:47] local.INFO: Processing buffer {"connection_id":127328,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:48:47] local.INFO: IMEI packet received {"connection_id":127328,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":127328,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:48:47] local.INFO: TCP Data received {"connection_id":125328,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125328,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:48:47] local.INFO: Processing buffer {"connection_id":125328,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:48:47] local.INFO: IMEI packet received {"connection_id":125328,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":125328,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:48:50] local.INFO: TCP Data received {"connection_id":127328,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127328,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:48:50] local.INFO: Processing buffer {"connection_id":127328,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:48:50] local.INFO: IMEI packet received {"connection_id":127328,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":127328,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:48:51] local.INFO: TCP Data received {"connection_id":127328,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff1f3a8012d0d2c4007044c60001d00cc25..."} 
[2026-07-08 09:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff1f3a8012d0d2c4007044c60001d00cc25..."} 
[2026-07-08 09:48:51] local.INFO: Processing buffer {"connection_id":127328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff1f3a8012d0d2c4007044c60001d00cc25..."} 
[2026-07-08 09:48:51] local.INFO: Packet analysis {"connection_id":127328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff1"} 
[2026-07-08 09:48:51] local.INFO: Extracted packet for processing {"connection_id":127328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff1"} 
[2026-07-08 09:48:51] local.INFO: GPS Element Parsed {"raw_longitude":755838016,"raw_latitude":117722208,"longitude_deg":75.5838016,"latitude_deg":11.7722208,"altitude":29,"angle":204,"satellites":37,"speed":8,"hex_longitude":"2d0d2c40","hex_latitude":"07044c60","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571964672001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23559265713127424,"note":"Value kept but may cause issues"} 
[2026-07-08 09:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949978076536313856,"note":"Value kept but may cause issues"} 
[2026-07-08 09:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783484249000,"timestamp_ms":1783484249000,"timestamp_seconds":1783484249,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff1f3a8"} 
[2026-07-08 09:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":158,"data_length":795,"current_offset":136} 
[2026-07-08 09:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127328,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127328,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571964672001,"66":13852,"17":206,"94":11008,"24":8,"16":23559265713127424,"45":949978076536313856},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 09:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571964672001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:48:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 09:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23559265713127424,"km_value":23559265713127.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":949978076536313856,"description":"Unknown IO ID 45"} 
[2026-07-08 09:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571964672001,"power":13852,"axis_x":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":949978076536313856}} 
[2026-07-08 09:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":127328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450115,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:48:51] local.INFO: GPS data processed {"connection_id":127328,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:48:51] local.INFO: Acknowledgment sent {"connection_id":127328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:48:52] local.INFO: TCP Data received {"connection_id":125328,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125328,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:48:52] local.INFO: Processing buffer {"connection_id":125328,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:48:52] local.INFO: IMEI packet received {"connection_id":125328,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":125328,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:48:54] local.INFO: TCP Data received {"connection_id":125328,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fef8690012d7d304005ec2cb80016012827..."} 
[2026-07-08 09:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fef8690012d7d304005ec2cb80016012827..."} 
[2026-07-08 09:48:54] local.INFO: Processing buffer {"connection_id":125328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fef8690012d7d304005ec2cb80016012827..."} 
[2026-07-08 09:48:54] local.INFO: Packet analysis {"connection_id":125328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fef"} 
[2026-07-08 09:48:54] local.INFO: Extracted packet for processing {"connection_id":125328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fef"} 
[2026-07-08 09:48:54] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":22,"angle":296,"satellites":39,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571849984001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:48: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-07-08 09:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783484090000,"timestamp_ms":1783484090000,"timestamp_seconds":1783484090,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fef8690"} 
[2026-07-08 09:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":194,"data_length":795,"current_offset":136} 
[2026-07-08 09:48:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":125328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":125328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":125328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571849984001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571849984001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:48:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:48:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571849984001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":125328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450116,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:48:54] local.INFO: GPS data processed {"connection_id":125328,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:48:54] local.INFO: Acknowledgment sent {"connection_id":125328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:48:58] local.INFO: TCP Data received {"connection_id":127329,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:48:58] local.INFO: Processing buffer {"connection_id":127329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:48:58] local.INFO: IMEI packet received {"connection_id":127329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":127329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:49:01] local.INFO: TCP Data received {"connection_id":127329,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:49:01] local.INFO: Processing buffer {"connection_id":127329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:49:01] local.INFO: IMEI packet received {"connection_id":127329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":127329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:49:06] local.INFO: TCP Data received {"connection_id":127329,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:49:06] local.INFO: Processing buffer {"connection_id":127329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:49:06] local.INFO: IMEI packet received {"connection_id":127329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":127329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:49:07] local.INFO: TCP Data received {"connection_id":127329,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff2bae0012d7f980005afe330000001262c..."} 
[2026-07-08 09:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff2bae0012d7f980005afe330000001262c..."} 
[2026-07-08 09:49:07] local.INFO: Processing buffer {"connection_id":127329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff2bae0012d7f980005afe330000001262c..."} 
[2026-07-08 09:49:07] local.INFO: Packet analysis {"connection_id":127329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff2"} 
[2026-07-08 09:49:07] local.INFO: Extracted packet for processing {"connection_id":127329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff2"} 
[2026-07-08 09:49:07] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 09:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571903744001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 09:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194802351144103936,"note":"Value kept but may cause issues"} 
[2026-07-08 09:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783484300000,"timestamp_ms":1783484300000,"timestamp_seconds":1783484300,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff2bae0"} 
[2026-07-08 09:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-08 09:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571903744001,"66":26136,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194802351144103936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 09:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571903744001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:49:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 09:49:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194802351144103936,"description":"Unknown IO ID 45"} 
[2026-07-08 09:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571903744001,"power":26136,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194802351144103936}} 
[2026-07-08 09:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":127329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:49:07] local.INFO: GPS data processed {"connection_id":127329,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:49:07] local.INFO: Acknowledgment sent {"connection_id":127329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:49:22] local.INFO: TCP Data received {"connection_id":127328,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff1ff60012d0d2b40070449d8001d00be25..."} 
[2026-07-08 09:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff1ff60012d0d2b40070449d8001d00be25..."} 
[2026-07-08 09:49:22] local.INFO: Processing buffer {"connection_id":127328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff1ff60012d0d2b40070449d8001d00be25..."} 
[2026-07-08 09:49:22] local.INFO: Packet analysis {"connection_id":127328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff1"} 
[2026-07-08 09:49:22] local.INFO: Extracted packet for processing {"connection_id":127328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff1"} 
[2026-07-08 09:49:22] local.INFO: GPS Element Parsed {"raw_longitude":755837760,"raw_latitude":117721560,"longitude_deg":75.583776,"latitude_deg":11.772156,"altitude":29,"angle":190,"satellites":37,"speed":8,"hex_longitude":"2d0d2b40","hex_latitude":"070449d8","is_valid_coordinates":true} 
[2026-07-08 09:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571967744001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23559295777898496,"note":"Value kept but may cause issues"} 
[2026-07-08 09:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949204020349394944,"note":"Value kept but may cause issues"} 
[2026-07-08 09:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783484252000,"timestamp_ms":1783484252000,"timestamp_seconds":1783484252,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff1ff60"} 
[2026-07-08 09:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":28,"data_length":795,"current_offset":136} 
[2026-07-08 09:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:49:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":127328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":127328,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":127328,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571967744001,"66":14515,"17":206,"94":11008,"24":8,"16":23559295777898496,"45":949204020349394944},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 09:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571967744001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:49:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 09:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23559295777898496,"km_value":23559295777898.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":949204020349394944,"description":"Unknown IO ID 45"} 
[2026-07-08 09:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571967744001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":949204020349394944}} 
[2026-07-08 09:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":127328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450118,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:49:22] local.INFO: GPS data processed {"connection_id":127328,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:49:22] local.INFO: Acknowledgment sent {"connection_id":127328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:49:26] local.INFO: TCP Data received {"connection_id":125328,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3fef8690012d7d304005ec2cb80016012827..."} 
[2026-07-08 09:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3fef8690012d7d304005ec2cb80016012827..."} 
[2026-07-08 09:49:26] local.INFO: Processing buffer {"connection_id":125328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3fef8690012d7d304005ec2cb80016012827..."} 
[2026-07-08 09:49:26] local.INFO: Packet analysis {"connection_id":125328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3fef"} 
[2026-07-08 09:49:26] local.INFO: Extracted packet for processing {"connection_id":125328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3fef"} 
[2026-07-08 09:49:26] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":22,"angle":296,"satellites":39,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571849984001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:49: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-07-08 09:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783484090000,"timestamp_ms":1783484090000,"timestamp_seconds":1783484090,"priority":1,"record_length":96,"hex_timestamp":"0000019f3fef8690"} 
[2026-07-08 09:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:49:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-08 09:49:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":125328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":125328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":125328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:49:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571849984001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571849984001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:49:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:49:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571849984001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":125328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450119,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:49:26] local.INFO: GPS data processed {"connection_id":125328,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:49:26] local.INFO: Acknowledgment sent {"connection_id":125328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:49:39] local.INFO: TCP Data received {"connection_id":127329,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff2bae0012d7f980005afe330000001262c..."} 
[2026-07-08 09:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff2bae0012d7f980005afe330000001262c..."} 
[2026-07-08 09:49:39] local.INFO: Processing buffer {"connection_id":127329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff2bae0012d7f980005afe330000001262c..."} 
[2026-07-08 09:49:39] local.INFO: Packet analysis {"connection_id":127329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff2"} 
[2026-07-08 09:49:39] local.INFO: Extracted packet for processing {"connection_id":127329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff2"} 
[2026-07-08 09:49:39] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 09:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571903744001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 09:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194802351144103936,"note":"Value kept but may cause issues"} 
[2026-07-08 09:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783484300000,"timestamp_ms":1783484300000,"timestamp_seconds":1783484300,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff2bae0"} 
[2026-07-08 09:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-08 09:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":127329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":127329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":127329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571903744001,"66":26136,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194802351144103936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 09:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571903744001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:49:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 09:49:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194802351144103936,"description":"Unknown IO ID 45"} 
[2026-07-08 09:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571903744001,"power":26136,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194802351144103936}} 
[2026-07-08 09:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":127329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:49:39] local.INFO: GPS data processed {"connection_id":127329,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:49:39] local.INFO: Acknowledgment sent {"connection_id":127329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:49:47] local.INFO: TCP Data received {"connection_id":125330,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:49:47] local.INFO: Processing buffer {"connection_id":125330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:49:47] local.INFO: IMEI packet received {"connection_id":125330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":125330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:49:50] local.INFO: TCP Data received {"connection_id":125329,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125329,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:49:50] local.INFO: Processing buffer {"connection_id":125329,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:49:50] local.INFO: IMEI packet received {"connection_id":125329,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 09:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":125329,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:49:53] local.INFO: TCP Data received {"connection_id":125330,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:49:53] local.INFO: Processing buffer {"connection_id":125330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:49:53] local.INFO: IMEI packet received {"connection_id":125330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":125330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:49:54] local.INFO: TCP Data received {"connection_id":125330,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff41e58012d7d304005ec2cb8001601282b..."} 
[2026-07-08 09:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff41e58012d7d304005ec2cb8001601282b..."} 
[2026-07-08 09:49:54] local.INFO: Processing buffer {"connection_id":125330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff41e58012d7d304005ec2cb8001601282b..."} 
[2026-07-08 09:49:54] local.INFO: Packet analysis {"connection_id":125330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff4"} 
[2026-07-08 09:49:54] local.INFO: Extracted packet for processing {"connection_id":125330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff4"} 
[2026-07-08 09:49:54] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":22,"angle":296,"satellites":43,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571927040001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:49: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-07-08 09:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783484391000,"timestamp_ms":1783484391000,"timestamp_seconds":1783484391,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff41e58"} 
[2026-07-08 09:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:49:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:49:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":125330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":125330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":125330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:49:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571927040001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571927040001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:49:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:49:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571927040001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":125330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450121,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:49:54] local.INFO: GPS data processed {"connection_id":125330,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:49:54] local.INFO: Acknowledgment sent {"connection_id":125330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:49:55] local.INFO: TCP Data received {"connection_id":125329,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125329,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:49:55] local.INFO: Processing buffer {"connection_id":125329,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:49:55] local.INFO: IMEI packet received {"connection_id":125329,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":125329,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:49:56] local.INFO: TCP Data received {"connection_id":125329,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff24d80012d0d2780070438d8001c00c225..."} 
[2026-07-08 09:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff24d80012d0d2780070438d8001c00c225..."} 
[2026-07-08 09:49:56] local.INFO: Processing buffer {"connection_id":125329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff24d80012d0d2780070438d8001c00c225..."} 
[2026-07-08 09:49:56] local.INFO: Packet analysis {"connection_id":125329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff2"} 
[2026-07-08 09:49:56] local.INFO: Extracted packet for processing {"connection_id":125329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff2"} 
[2026-07-08 09:49:56] local.INFO: GPS Element Parsed {"raw_longitude":755836800,"raw_latitude":117717208,"longitude_deg":75.58368,"latitude_deg":11.7717208,"altitude":28,"angle":194,"satellites":37,"speed":0,"hex_longitude":"2d0d2780","hex_latitude":"070438d8","is_valid_coordinates":true} 
[2026-07-08 09:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571968512001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23559519116197888,"note":"Value kept but may cause issues"} 
[2026-07-08 09:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948922545372518400,"note":"Value kept but may cause issues"} 
[2026-07-08 09:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783484272000,"timestamp_ms":1783484272000,"timestamp_seconds":1783484272,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff24d80"} 
[2026-07-08 09:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:49:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 09:49:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:49:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":125329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":125329,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":125329,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571968512001,"66":14439,"17":206,"94":11008,"24":0,"16":23559519116197888,"45":948922545372518400},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 09:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571968512001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:49:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 09:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23559519116197888,"km_value":23559519116197.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":948922545372518400,"description":"Unknown IO ID 45"} 
[2026-07-08 09:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571968512001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":948922545372518400}} 
[2026-07-08 09:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":125329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450122,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:49:56] local.INFO: GPS data processed {"connection_id":125329,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:49:56] local.INFO: Acknowledgment sent {"connection_id":125329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:49:56] local.INFO: TCP Data received {"connection_id":127330,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:49:56] local.INFO: Processing buffer {"connection_id":127330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:49:56] local.INFO: IMEI packet received {"connection_id":127330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":127330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:50:00] local.INFO: TCP Data received {"connection_id":125329,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff28c00012d0d26c007043720001c00d524..."} 
[2026-07-08 09:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff28c00012d0d26c007043720001c00d524..."} 
[2026-07-08 09:50:00] local.INFO: Processing buffer {"connection_id":125329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff28c00012d0d26c007043720001c00d524..."} 
[2026-07-08 09:50:00] local.INFO: Packet analysis {"connection_id":125329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff2"} 
[2026-07-08 09:50:00] local.INFO: Extracted packet for processing {"connection_id":125329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff2"} 
[2026-07-08 09:50:00] local.INFO: GPS Element Parsed {"raw_longitude":755836608,"raw_latitude":117716768,"longitude_deg":75.5836608,"latitude_deg":11.7716768,"altitude":28,"angle":213,"satellites":36,"speed":6,"hex_longitude":"2d0d26c0","hex_latitude":"07043720","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571973632001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23559540591034368,"note":"Value kept but may cause issues"} 
[2026-07-08 09:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947867014208739328,"note":"Value kept but may cause issues"} 
[2026-07-08 09:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783484288000,"timestamp_ms":1783484288000,"timestamp_seconds":1783484288,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff28c00"} 
[2026-07-08 09:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":103,"data_length":795,"current_offset":136} 
[2026-07-08 09:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125329,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125329,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571973632001,"66":14439,"17":206,"94":11008,"24":6,"16":23559540591034368,"45":947867014208739328},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 09:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571973632001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:50:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 09:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23559540591034368,"km_value":23559540591034.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":947867014208739328,"description":"Unknown IO ID 45"} 
[2026-07-08 09:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571973632001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":947867014208739328}} 
[2026-07-08 09:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":125329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450123,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:50:01] local.INFO: GPS data processed {"connection_id":125329,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:50:01] local.INFO: Acknowledgment sent {"connection_id":125329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:50:01] local.INFO: TCP Data received {"connection_id":127330,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:50:01] local.INFO: Processing buffer {"connection_id":127330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:50:01] local.INFO: IMEI packet received {"connection_id":127330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":127330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:50:02] local.INFO: TCP Data received {"connection_id":127330,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff2bae0012d7f980005afe330000001262c..."} 
[2026-07-08 09:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff2bae0012d7f980005afe330000001262c..."} 
[2026-07-08 09:50:02] local.INFO: Processing buffer {"connection_id":127330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff2bae0012d7f980005afe330000001262c..."} 
[2026-07-08 09:50:02] local.INFO: Packet analysis {"connection_id":127330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff2"} 
[2026-07-08 09:50:02] local.INFO: Extracted packet for processing {"connection_id":127330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff2"} 
[2026-07-08 09:50:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 09:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571903744001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 09:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194802351144103936,"note":"Value kept but may cause issues"} 
[2026-07-08 09:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783484300000,"timestamp_ms":1783484300000,"timestamp_seconds":1783484300,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff2bae0"} 
[2026-07-08 09:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-08 09:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571903744001,"66":26136,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194802351144103936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 09:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571903744001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:50:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 09:50:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194802351144103936,"description":"Unknown IO ID 45"} 
[2026-07-08 09:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571903744001,"power":26136,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194802351144103936}} 
[2026-07-08 09:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":127330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:50:02] local.INFO: GPS data processed {"connection_id":127330,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:50:02] local.INFO: Acknowledgment sent {"connection_id":127330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:50:26] local.INFO: TCP Data received {"connection_id":125330,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff41e58012d7d304005ec2cb8001601282b..."} 
[2026-07-08 09:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff41e58012d7d304005ec2cb8001601282b..."} 
[2026-07-08 09:50:26] local.INFO: Processing buffer {"connection_id":125330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff41e58012d7d304005ec2cb8001601282b..."} 
[2026-07-08 09:50:26] local.INFO: Packet analysis {"connection_id":125330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff4"} 
[2026-07-08 09:50:26] local.INFO: Extracted packet for processing {"connection_id":125330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff4"} 
[2026-07-08 09:50:26] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":22,"angle":296,"satellites":43,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571927040001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:50: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-07-08 09:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783484391000,"timestamp_ms":1783484391000,"timestamp_seconds":1783484391,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff41e58"} 
[2026-07-08 09:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:50:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:50:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":125330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":125330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":125330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:50:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571927040001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571927040001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:50:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:50:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571927040001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":125330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450125,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:50:26] local.INFO: GPS data processed {"connection_id":125330,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:50:26] local.INFO: Acknowledgment sent {"connection_id":125330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:50:33] local.INFO: TCP Data received {"connection_id":127330,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff2bae0012d7f980005afe330000001262c..."} 
[2026-07-08 09:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff2bae0012d7f980005afe330000001262c..."} 
[2026-07-08 09:50:33] local.INFO: Processing buffer {"connection_id":127330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff2bae0012d7f980005afe330000001262c..."} 
[2026-07-08 09:50:33] local.INFO: Packet analysis {"connection_id":127330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff2"} 
[2026-07-08 09:50:33] local.INFO: Extracted packet for processing {"connection_id":127330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff2"} 
[2026-07-08 09:50:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571903744001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 09:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194802351144103936,"note":"Value kept but may cause issues"} 
[2026-07-08 09:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783484300000,"timestamp_ms":1783484300000,"timestamp_seconds":1783484300,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff2bae0"} 
[2026-07-08 09:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-08 09:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571903744001,"66":26136,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194802351144103936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 09:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571903744001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:50:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 09:50:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194802351144103936,"description":"Unknown IO ID 45"} 
[2026-07-08 09:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571903744001,"power":26136,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194802351144103936}} 
[2026-07-08 09:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":127330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:50:33] local.INFO: GPS data processed {"connection_id":127330,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:50:33] local.INFO: Acknowledgment sent {"connection_id":127330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:50:43] local.INFO: TCP Data received {"connection_id":125331,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125331,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:50:43] local.INFO: Processing buffer {"connection_id":125331,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:50:43] local.INFO: IMEI packet received {"connection_id":125331,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 09:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":125331,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:50:45] local.INFO: TCP Data received {"connection_id":125331,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125331,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:50:45] local.INFO: Processing buffer {"connection_id":125331,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:50:45] local.INFO: IMEI packet received {"connection_id":125331,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":125331,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:50:50] local.INFO: TCP Data received {"connection_id":125331,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125331,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:50:50] local.INFO: Processing buffer {"connection_id":125331,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:50:50] local.INFO: IMEI packet received {"connection_id":125331,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":125331,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:50:50] local.INFO: TCP Data received {"connection_id":125331,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff48000012d0d2c800703cd000015014127..."} 
[2026-07-08 09:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff48000012d0d2c800703cd000015014127..."} 
[2026-07-08 09:50:50] local.INFO: Processing buffer {"connection_id":125331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff48000012d0d2c800703cd000015014127..."} 
[2026-07-08 09:50:50] local.INFO: Packet analysis {"connection_id":125331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff4"} 
[2026-07-08 09:50:50] local.INFO: Extracted packet for processing {"connection_id":125331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff4"} 
[2026-07-08 09:50:50] local.INFO: GPS Element Parsed {"raw_longitude":755838080,"raw_latitude":117689600,"longitude_deg":75.583808,"latitude_deg":11.76896,"altitude":21,"angle":321,"satellites":39,"speed":7,"hex_longitude":"2d0d2c80","hex_latitude":"0703cd00","is_valid_coordinates":true} 
[2026-07-08 09:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572009984001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23561005174882304,"note":"Value kept but may cause issues"} 
[2026-07-08 09:50:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949626232806072320,"note":"Value kept but may cause issues"} 
[2026-07-08 09:50:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 09:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783484416000,"timestamp_ms":1783484416000,"timestamp_seconds":1783484416,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff48000"} 
[2026-07-08 09:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:50: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-07-08 09:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-08 09:50:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:50:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":125331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":125331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":125331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:50:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572009984001,"66":14428,"16":23561005174882304,"94":11008,"24":7,"45":949626232806072320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-08 09:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572009984001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23561005174882304,"km_value":23561005174882.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:50:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 09:50:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":949626232806072320,"description":"Unknown IO ID 45"} 
[2026-07-08 09:50:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456572009984001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":7,"unknown_45":949626232806072320}} 
[2026-07-08 09:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":125331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450127,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:50:51] local.INFO: GPS data processed {"connection_id":125331,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:50:51] local.INFO: Acknowledgment sent {"connection_id":125331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:50:52] local.INFO: TCP Data received {"connection_id":125228,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125228,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:50:52] local.INFO: Processing buffer {"connection_id":125228,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:50:52] local.INFO: IMEI packet received {"connection_id":125228,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":125228,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:50:56] local.INFO: TCP Data received {"connection_id":127332,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:50:56] local.INFO: Processing buffer {"connection_id":127332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:50:56] local.INFO: IMEI packet received {"connection_id":127332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":127332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:50:57] local.INFO: TCP Data received {"connection_id":125228,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125228,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:50:57] local.INFO: Processing buffer {"connection_id":125228,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:50:57] local.INFO: IMEI packet received {"connection_id":125228,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":125228,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:50:59] local.INFO: TCP Data received {"connection_id":125228,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff41e58012d7d304005ec2cb8001601282b..."} 
[2026-07-08 09:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff41e58012d7d304005ec2cb8001601282b..."} 
[2026-07-08 09:50:59] local.INFO: Processing buffer {"connection_id":125228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff41e58012d7d304005ec2cb8001601282b..."} 
[2026-07-08 09:50:59] local.INFO: Packet analysis {"connection_id":125228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff4"} 
[2026-07-08 09:50:59] local.INFO: Extracted packet for processing {"connection_id":125228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff4"} 
[2026-07-08 09:50:59] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":22,"angle":296,"satellites":43,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571927040001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:50:59] 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-07-08 09:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783484391000,"timestamp_ms":1783484391000,"timestamp_seconds":1783484391,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff41e58"} 
[2026-07-08 09:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":125228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":125228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":125228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571927040001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571927040001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:50:59] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:50:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571927040001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":125228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450128,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:50:59] local.INFO: GPS data processed {"connection_id":125228,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:50:59] local.INFO: Acknowledgment sent {"connection_id":125228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:51:01] local.INFO: TCP Data received {"connection_id":127332,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:51:01] local.INFO: Processing buffer {"connection_id":127332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:51:01] local.INFO: IMEI packet received {"connection_id":127332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":127332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:51:02] local.INFO: TCP Data received {"connection_id":127332,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff2bae0012d7f980005afe330000001262c..."} 
[2026-07-08 09:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff2bae0012d7f980005afe330000001262c..."} 
[2026-07-08 09:51:02] local.INFO: Processing buffer {"connection_id":127332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff2bae0012d7f980005afe330000001262c..."} 
[2026-07-08 09:51:02] local.INFO: Packet analysis {"connection_id":127332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff2"} 
[2026-07-08 09:51:02] local.INFO: Extracted packet for processing {"connection_id":127332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff2"} 
[2026-07-08 09:51:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 09:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571903744001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 09:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194802351144103936,"note":"Value kept but may cause issues"} 
[2026-07-08 09:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783484300000,"timestamp_ms":1783484300000,"timestamp_seconds":1783484300,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff2bae0"} 
[2026-07-08 09:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-08 09:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571903744001,"66":26136,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194802351144103936},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 09:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571903744001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:51:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 09:51:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194802351144103936,"description":"Unknown IO ID 45"} 
[2026-07-08 09:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571903744001,"power":26136,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194802351144103936}} 
[2026-07-08 09:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":127332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:51:02] local.INFO: GPS data processed {"connection_id":127332,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:51:02] local.INFO: Acknowledgment sent {"connection_id":127332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:51:03] local.INFO: TCP Data received {"connection_id":125228,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff41e58012d7d304005ec2cb8001601282b..."} 
[2026-07-08 09:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff41e58012d7d304005ec2cb8001601282b..."} 
[2026-07-08 09:51:03] local.INFO: Processing buffer {"connection_id":125228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff41e58012d7d304005ec2cb8001601282b..."} 
[2026-07-08 09:51:03] local.INFO: Packet analysis {"connection_id":125228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff4"} 
[2026-07-08 09:51:03] local.INFO: Extracted packet for processing {"connection_id":125228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff4"} 
[2026-07-08 09:51:03] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":22,"angle":296,"satellites":43,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 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-07-08 09:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571927040001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:51:03] 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-07-08 09:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783484391000,"timestamp_ms":1783484391000,"timestamp_seconds":1783484391,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff41e58"} 
[2026-07-08 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-07-08 09:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 09:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571927040001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571927040001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:51:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:51:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571927040001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":125228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450130,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:51:04] local.INFO: GPS data processed {"connection_id":125228,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:51:04] local.INFO: Acknowledgment sent {"connection_id":125228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:51:12] local.INFO: TCP Data received {"connection_id":126046,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126046,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:51:12] local.INFO: Processing buffer {"connection_id":126046,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:51:12] local.INFO: IMEI packet received {"connection_id":126046,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 09:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":126046,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:51:22] local.INFO: TCP Data received {"connection_id":125331,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff483e8012d0d2c400703cda80015015427..."} 
[2026-07-08 09:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff483e8012d0d2c400703cda80015015427..."} 
[2026-07-08 09:51:22] local.INFO: Processing buffer {"connection_id":125331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff483e8012d0d2c400703cda80015015427..."} 
[2026-07-08 09:51:22] local.INFO: Packet analysis {"connection_id":125331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff4"} 
[2026-07-08 09:51:22] local.INFO: Extracted packet for processing {"connection_id":125331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff4"} 
[2026-07-08 09:51:22] local.INFO: GPS Element Parsed {"raw_longitude":755838016,"raw_latitude":117689768,"longitude_deg":75.5838016,"latitude_deg":11.7689768,"altitude":21,"angle":340,"satellites":39,"speed":8,"hex_longitude":"2d0d2c40","hex_latitude":"0703cda8","is_valid_coordinates":true} 
[2026-07-08 09:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572010496001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23561013764816896,"note":"Value kept but may cause issues"} 
[2026-07-08 09:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949274389085224960,"note":"Value kept but may cause issues"} 
[2026-07-08 09:51:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 09:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783484417000,"timestamp_ms":1783484417000,"timestamp_seconds":1783484417,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff483e8"} 
[2026-07-08 09:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:51:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 09:51:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:51:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572010496001,"66":14428,"16":23561013764816896,"94":11008,"24":8,"45":949274389085224960},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-08 09:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572010496001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23561013764816896,"km_value":23561013764816.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:51:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 09:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":949274389085224960,"description":"Unknown IO ID 45"} 
[2026-07-08 09:51:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456572010496001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":8,"unknown_45":949274389085224960}} 
[2026-07-08 09:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":125331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450131,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:51:22] local.INFO: GPS data processed {"connection_id":125331,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:51:22] local.INFO: Acknowledgment sent {"connection_id":125331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:51:33] local.INFO: TCP Data received {"connection_id":127332,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff2bae0012d7f980005afe330000001262c..."} 
[2026-07-08 09:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff2bae0012d7f980005afe330000001262c..."} 
[2026-07-08 09:51:33] local.INFO: Processing buffer {"connection_id":127332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff2bae0012d7f980005afe330000001262c..."} 
[2026-07-08 09:51:33] local.INFO: Packet analysis {"connection_id":127332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff2"} 
[2026-07-08 09:51:33] local.INFO: Extracted packet for processing {"connection_id":127332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff2"} 
[2026-07-08 09:51:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 09:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571903744001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 09:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194802351144103936,"note":"Value kept but may cause issues"} 
[2026-07-08 09:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783484300000,"timestamp_ms":1783484300000,"timestamp_seconds":1783484300,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff2bae0"} 
[2026-07-08 09:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-08 09:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:51:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571903744001,"66":26136,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194802351144103936},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 09:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571903744001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:51:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 09:51:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194802351144103936,"description":"Unknown IO ID 45"} 
[2026-07-08 09:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571903744001,"power":26136,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194802351144103936}} 
[2026-07-08 09:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":127332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:51:33] local.INFO: GPS data processed {"connection_id":127332,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:51:33] local.INFO: Acknowledgment sent {"connection_id":127332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:51:45] local.INFO: TCP Data received {"connection_id":125229,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125229,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:51:45] local.INFO: Processing buffer {"connection_id":125229,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:51:45] local.INFO: IMEI packet received {"connection_id":125229,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 09:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":125229,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:51:47] local.INFO: TCP Data received {"connection_id":126047,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126047,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:51:47] local.INFO: Processing buffer {"connection_id":126047,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:51:47] local.INFO: IMEI packet received {"connection_id":126047,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":126047,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:51:50] local.INFO: TCP Data received {"connection_id":125229,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125229,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:51:50] local.INFO: Processing buffer {"connection_id":125229,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:51:50] local.INFO: IMEI packet received {"connection_id":125229,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":125229,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:51:50] local.INFO: TCP Data received {"connection_id":125229,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff487d0012d0d2c000703cea00015016127..."} 
[2026-07-08 09:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff487d0012d0d2c000703cea00015016127..."} 
[2026-07-08 09:51:50] local.INFO: Processing buffer {"connection_id":125229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff487d0012d0d2c000703cea00015016127..."} 
[2026-07-08 09:51:50] local.INFO: Packet analysis {"connection_id":125229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff4"} 
[2026-07-08 09:51:50] local.INFO: Extracted packet for processing {"connection_id":125229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff4"} 
[2026-07-08 09:51:50] local.INFO: GPS Element Parsed {"raw_longitude":755837952,"raw_latitude":117690016,"longitude_deg":75.5837952,"latitude_deg":11.7690016,"altitude":21,"angle":353,"satellites":39,"speed":11,"hex_longitude":"2d0d2c00","hex_latitude":"0703cea0","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572010752001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23561026649718784,"note":"Value kept but may cause issues"} 
[2026-07-08 09:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949204020341090304,"note":"Value kept but may cause issues"} 
[2026-07-08 09:51:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 09:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783484418000,"timestamp_ms":1783484418000,"timestamp_seconds":1783484418,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff487d0"} 
[2026-07-08 09:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:51: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-07-08 09: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":92,"data_length":795,"current_offset":136} 
[2026-07-08 09:51:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":125229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":125229,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":125229,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572010752001,"66":14515,"16":23561026649718784,"94":11008,"24":11,"45":949204020341090304},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-08 09:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572010752001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23561026649718784,"km_value":23561026649718.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:51:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 09:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":949204020341090304,"description":"Unknown IO ID 45"} 
[2026-07-08 09:51:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456572010752001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":11,"unknown_45":949204020341090304}} 
[2026-07-08 09:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":125229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450133,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:51:51] local.INFO: GPS data processed {"connection_id":125229,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:51:51] local.INFO: Acknowledgment sent {"connection_id":125229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:51:52] local.INFO: TCP Data received {"connection_id":126047,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126047,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:51:52] local.INFO: Processing buffer {"connection_id":126047,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:51:52] local.INFO: IMEI packet received {"connection_id":126047,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":126047,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:51:54] local.INFO: TCP Data received {"connection_id":126047,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff41e58012d7d304005ec2cb8001601282b..."} 
[2026-07-08 09:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff41e58012d7d304005ec2cb8001601282b..."} 
[2026-07-08 09:51:54] local.INFO: Processing buffer {"connection_id":126047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff41e58012d7d304005ec2cb8001601282b..."} 
[2026-07-08 09:51:54] local.INFO: Packet analysis {"connection_id":126047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff4"} 
[2026-07-08 09:51:54] local.INFO: Extracted packet for processing {"connection_id":126047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff4"} 
[2026-07-08 09:51:54] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":22,"angle":296,"satellites":43,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571927040001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:51: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-07-08 09:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783484391000,"timestamp_ms":1783484391000,"timestamp_seconds":1783484391,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff41e58"} 
[2026-07-08 09:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:51:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:51:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":126047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":126047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":126047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:51:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571927040001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571927040001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:51:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:51:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571927040001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":126047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450134,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:51:54] local.INFO: GPS data processed {"connection_id":126047,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:51:54] local.INFO: Acknowledgment sent {"connection_id":126047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:51:56] local.INFO: TCP Data received {"connection_id":126048,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:51:56] local.INFO: Processing buffer {"connection_id":126048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:51:56] local.INFO: IMEI packet received {"connection_id":126048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":126048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:51:57] local.INFO: TCP Data received {"connection_id":127333,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127333,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:51:57] local.INFO: Processing buffer {"connection_id":127333,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:51:57] local.INFO: IMEI packet received {"connection_id":127333,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 09:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":127333,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:52:01] local.INFO: TCP Data received {"connection_id":126048,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:52:01] local.INFO: Processing buffer {"connection_id":126048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:52:01] local.INFO: IMEI packet received {"connection_id":126048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":126048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:52:02] local.INFO: TCP Data received {"connection_id":126048,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff2bae0012d7f980005afe330000001262c..."} 
[2026-07-08 09:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff2bae0012d7f980005afe330000001262c..."} 
[2026-07-08 09:52:02] local.INFO: Processing buffer {"connection_id":126048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff2bae0012d7f980005afe330000001262c..."} 
[2026-07-08 09:52:02] local.INFO: Packet analysis {"connection_id":126048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff2"} 
[2026-07-08 09:52:02] local.INFO: Extracted packet for processing {"connection_id":126048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff2"} 
[2026-07-08 09:52:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 09:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571903744001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 09:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194802351144103936,"note":"Value kept but may cause issues"} 
[2026-07-08 09:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783484300000,"timestamp_ms":1783484300000,"timestamp_seconds":1783484300,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff2bae0"} 
[2026-07-08 09:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-08 09:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571903744001,"66":26136,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194802351144103936},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 09:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571903744001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:52:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 09:52:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194802351144103936,"description":"Unknown IO ID 45"} 
[2026-07-08 09:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571903744001,"power":26136,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194802351144103936}} 
[2026-07-08 09:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":126048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:52:02] local.INFO: GPS data processed {"connection_id":126048,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:52:02] local.INFO: Acknowledgment sent {"connection_id":126048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:52:22] local.INFO: TCP Data received {"connection_id":125229,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff61a28012d0d274007043a980015003025..."} 
[2026-07-08 09:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff61a28012d0d274007043a980015003025..."} 
[2026-07-08 09:52:22] local.INFO: Processing buffer {"connection_id":125229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff61a28012d0d274007043a980015003025..."} 
[2026-07-08 09:52:22] local.INFO: Packet analysis {"connection_id":125229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff6"} 
[2026-07-08 09:52:22] local.INFO: Extracted packet for processing {"connection_id":125229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff6"} 
[2026-07-08 09:52:22] local.INFO: GPS Element Parsed {"raw_longitude":755836736,"raw_latitude":117717656,"longitude_deg":75.5836736,"latitude_deg":11.7717656,"altitude":21,"angle":48,"satellites":37,"speed":4,"hex_longitude":"2d0d2740","hex_latitude":"07043a98","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572037120001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23562388154351616,"note":"Value kept but may cause issues"} 
[2026-07-08 09:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947655907976255488,"note":"Value kept but may cause issues"} 
[2026-07-08 09:52:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 09:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783484521000,"timestamp_ms":1783484521000,"timestamp_seconds":1783484521,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff61a28"} 
[2026-07-08 09:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-08 09:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125229,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125229,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572037120001,"66":14450,"16":23562388154351616,"94":11008,"24":4,"45":947655907976255488},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-08 09:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572037120001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23562388154351616,"km_value":23562388154351.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:52:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 09:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":947655907976255488,"description":"Unknown IO ID 45"} 
[2026-07-08 09:52:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456572037120001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":4,"unknown_45":947655907976255488}} 
[2026-07-08 09:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":125229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450136,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:52:22] local.INFO: GPS data processed {"connection_id":125229,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:52:22] local.INFO: Acknowledgment sent {"connection_id":125229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:52:27] local.INFO: TCP Data received {"connection_id":126047,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff41e58012d7d304005ec2cb8001601282b..."} 
[2026-07-08 09:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff41e58012d7d304005ec2cb8001601282b..."} 
[2026-07-08 09:52:27] local.INFO: Processing buffer {"connection_id":126047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff41e58012d7d304005ec2cb8001601282b..."} 
[2026-07-08 09:52:27] local.INFO: Packet analysis {"connection_id":126047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff4"} 
[2026-07-08 09:52:27] local.INFO: Extracted packet for processing {"connection_id":126047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff4"} 
[2026-07-08 09:52:27] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":22,"angle":296,"satellites":43,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571927040001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:52: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-07-08 09:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783484391000,"timestamp_ms":1783484391000,"timestamp_seconds":1783484391,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff41e58"} 
[2026-07-08 09:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":126047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":126047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":126047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571927040001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571927040001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:52:27] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:52:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571927040001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":126047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450137,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:52:27] local.INFO: GPS data processed {"connection_id":126047,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:52:27] local.INFO: Acknowledgment sent {"connection_id":126047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:52:33] local.INFO: TCP Data received {"connection_id":126048,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff2bae0012d7f980005afe330000001262c..."} 
[2026-07-08 09:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff2bae0012d7f980005afe330000001262c..."} 
[2026-07-08 09:52:33] local.INFO: Processing buffer {"connection_id":126048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff2bae0012d7f980005afe330000001262c..."} 
[2026-07-08 09:52:33] local.INFO: Packet analysis {"connection_id":126048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff2"} 
[2026-07-08 09:52:33] local.INFO: Extracted packet for processing {"connection_id":126048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff2"} 
[2026-07-08 09:52:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 09:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571903744001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 09:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194802351144103936,"note":"Value kept but may cause issues"} 
[2026-07-08 09:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783484300000,"timestamp_ms":1783484300000,"timestamp_seconds":1783484300,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff2bae0"} 
[2026-07-08 09:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-08 09:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:52:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571903744001,"66":26136,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194802351144103936},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 09:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571903744001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:52:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 09:52:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194802351144103936,"description":"Unknown IO ID 45"} 
[2026-07-08 09:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571903744001,"power":26136,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194802351144103936}} 
[2026-07-08 09:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":126048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:52:33] local.INFO: GPS data processed {"connection_id":126048,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:52:33] local.INFO: Acknowledgment sent {"connection_id":126048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:52:47] local.INFO: TCP Data received {"connection_id":126049,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126049,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:52:47] local.INFO: Processing buffer {"connection_id":126049,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:52:47] local.INFO: IMEI packet received {"connection_id":126049,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 09:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":126049,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:52:47] local.INFO: TCP Data received {"connection_id":126049,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126049,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:52:47] local.INFO: Processing buffer {"connection_id":126049,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:52:47] local.INFO: IMEI packet received {"connection_id":126049,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":126049,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:52:48] local.INFO: TCP Data received {"connection_id":126050,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126050,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:52:48] local.INFO: Processing buffer {"connection_id":126050,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:52:48] local.INFO: IMEI packet received {"connection_id":126050,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":126050,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:52:50] local.INFO: TCP Data received {"connection_id":126049,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126049,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:52:50] local.INFO: Processing buffer {"connection_id":126049,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:52:50] local.INFO: IMEI packet received {"connection_id":126049,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":126049,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:52:51] local.INFO: TCP Data received {"connection_id":126049,"ip":"42.106.6.22","data_length":1340,"data_hex":"000000000000030f8e0a0000019f3ff61e10012d0d27c007043b380015001e25..."} 
[2026-07-08 09:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126049,"packet_length":1340,"packet_hex":"000000000000030f8e0a0000019f3ff61e10012d0d27c007043b380015001e25..."} 
[2026-07-08 09:52:51] local.INFO: Processing buffer {"connection_id":126049,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a0000019f3ff61e10012d0d27c007043b380015001e25..."} 
[2026-07-08 09:52:51] local.INFO: Packet analysis {"connection_id":126049,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a0000019f3ff6"} 
[2026-07-08 09:52:51] local.INFO: Extracted packet for processing {"connection_id":126049,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a0000019f3ff6"} 
[2026-07-08 09:52:51] local.INFO: GPS Element Parsed {"raw_longitude":755836864,"raw_latitude":117717816,"longitude_deg":75.5836864,"latitude_deg":11.7717816,"altitude":21,"angle":30,"satellites":37,"speed":8,"hex_longitude":"2d0d27c0","hex_latitude":"07043b38","is_valid_coordinates":true} 
[2026-07-08 09:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572037376001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23562396744286208,"note":"Value kept but may cause issues"} 
[2026-07-08 09:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947796645464676352,"note":"Value kept but may cause issues"} 
[2026-07-08 09:52:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 09:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783484522000,"timestamp_ms":1783484522000,"timestamp_seconds":1783484522,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff61e10"} 
[2026-07-08 09:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-08 09:52: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-07-08 09:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126049,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126049,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572037376001,"66":14537,"16":23562396744286208,"94":11008,"24":8,"45":947796645464676352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-08 09:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572037376001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23562396744286208,"km_value":23562396744286.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:52:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 09:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":947796645464676352,"description":"Unknown IO ID 45"} 
[2026-07-08 09:52:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456572037376001,"power":14537,"odometer":null,"unknown_94":11008,"ignition":8,"unknown_45":947796645464676352}} 
[2026-07-08 09:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":126049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450139,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:52:51] local.INFO: GPS data processed {"connection_id":126049,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:52:51] local.INFO: Acknowledgment sent {"connection_id":126049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:52:51] local.INFO: Packet analysis {"connection_id":126049,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a0000019f3ff6"} 
[2026-07-08 09:52:51] local.INFO: Incomplete packet, waiting for more data {"connection_id":126049,"needed":795,"available":545} 
[2026-07-08 09:52:51] local.INFO: TCP Data received {"connection_id":126049,"ip":"42.106.6.22","data_length":250,"data_hex":"e300100053b5bf000000000000019f3ff5a4f8012d0d240007042e3800140166..."} 
[2026-07-08 09:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126049,"packet_length":250,"packet_hex":"e300100053b5bf000000000000019f3ff5a4f8012d0d240007042e3800140166..."} 
[2026-07-08 09:52:51] local.INFO: Processing buffer {"connection_id":126049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff62db0012d0d2980070440600015000f25..."} 
[2026-07-08 09:52:51] local.INFO: Packet analysis {"connection_id":126049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff6"} 
[2026-07-08 09:52:51] local.INFO: Extracted packet for processing {"connection_id":126049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff6"} 
[2026-07-08 09:52:51] local.INFO: GPS Element Parsed {"raw_longitude":755837312,"raw_latitude":117719136,"longitude_deg":75.5837312,"latitude_deg":11.7719136,"altitude":21,"angle":15,"satellites":37,"speed":14,"hex_longitude":"2d0d2980","hex_latitude":"07044060","is_valid_coordinates":true} 
[2026-07-08 09:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572037632001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23562465463762944,"note":"Value kept but may cause issues"} 
[2026-07-08 09:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947937382953072640,"note":"Value kept but may cause issues"} 
[2026-07-08 09:52:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 09:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783484526000,"timestamp_ms":1783484526000,"timestamp_seconds":1783484526,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff62db0"} 
[2026-07-08 09:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-08 09:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126049,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126049,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572037632001,"66":14428,"16":23562465463762944,"94":11008,"24":14,"45":947937382953072640},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-08 09:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572037632001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23562465463762944,"km_value":23562465463762.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:52:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 09:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":947937382953072640,"description":"Unknown IO ID 45"} 
[2026-07-08 09:52:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456572037632001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":14,"unknown_45":947937382953072640}} 
[2026-07-08 09:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":126049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450140,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:52:51] local.INFO: GPS data processed {"connection_id":126049,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:52:51] local.INFO: Acknowledgment sent {"connection_id":126049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:52:52] local.INFO: TCP Data received {"connection_id":126049,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff67fb8012d0d2e00070456d80017000724..."} 
[2026-07-08 09:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff67fb8012d0d2e00070456d80017000724..."} 
[2026-07-08 09:52:52] local.INFO: Processing buffer {"connection_id":126049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff67fb8012d0d2e00070456d80017000724..."} 
[2026-07-08 09:52:52] local.INFO: Packet analysis {"connection_id":126049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff6"} 
[2026-07-08 09:52:52] local.INFO: Extracted packet for processing {"connection_id":126049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff6"} 
[2026-07-08 09:52:52] local.INFO: GPS Element Parsed {"raw_longitude":755838464,"raw_latitude":117724888,"longitude_deg":75.5838464,"latitude_deg":11.7724888,"altitude":23,"angle":7,"satellites":36,"speed":15,"hex_longitude":"2d0d2e00","hex_latitude":"070456d8","is_valid_coordinates":true} 
[2026-07-08 09:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572038656001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23562753226571776,"note":"Value kept but may cause issues"} 
[2026-07-08 09:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948429964162654208,"note":"Value kept but may cause issues"} 
[2026-07-08 09:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783484547000,"timestamp_ms":1783484547000,"timestamp_seconds":1783484547,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff67fb8"} 
[2026-07-08 09:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 09:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:52:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":126049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":126049,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":126049,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572038656001,"66":13678,"17":206,"94":11008,"24":15,"16":23562753226571776,"45":948429964162654208},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 09:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572038656001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:52:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 09:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23562753226571776,"km_value":23562753226571.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":948429964162654208,"description":"Unknown IO ID 45"} 
[2026-07-08 09:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572038656001,"power":13678,"axis_x":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":948429964162654208}} 
[2026-07-08 09:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":126049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450141,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:52:52] local.INFO: GPS data processed {"connection_id":126049,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:52:52] local.INFO: Acknowledgment sent {"connection_id":126049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:52:52] local.INFO: TCP Data received {"connection_id":126050,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126050,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:52:52] local.INFO: Processing buffer {"connection_id":126050,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:52:52] local.INFO: IMEI packet received {"connection_id":126050,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":126050,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:52:53] local.INFO: TCP Data received {"connection_id":126050,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff41e58012d7d304005ec2cb8001601282b..."} 
[2026-07-08 09:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff41e58012d7d304005ec2cb8001601282b..."} 
[2026-07-08 09:52:53] local.INFO: Processing buffer {"connection_id":126050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff41e58012d7d304005ec2cb8001601282b..."} 
[2026-07-08 09:52:53] local.INFO: Packet analysis {"connection_id":126050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff4"} 
[2026-07-08 09:52:53] local.INFO: Extracted packet for processing {"connection_id":126050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff4"} 
[2026-07-08 09:52:53] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":22,"angle":296,"satellites":43,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571927040001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:52:53] 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-07-08 09:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783484391000,"timestamp_ms":1783484391000,"timestamp_seconds":1783484391,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff41e58"} 
[2026-07-08 09:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:52:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:52:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:52:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":126050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":126050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":126050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:52:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571927040001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571927040001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:52:53] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:52:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571927040001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":126050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450142,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:52:53] local.INFO: GPS data processed {"connection_id":126050,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:52:53] local.INFO: Acknowledgment sent {"connection_id":126050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:53:03] local.INFO: TCP Data received {"connection_id":125333,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:53:03] local.INFO: Processing buffer {"connection_id":125333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:53:03] local.INFO: IMEI packet received {"connection_id":125333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":125333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:53:06] local.INFO: TCP Data received {"connection_id":125333,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:53:06] local.INFO: Processing buffer {"connection_id":125333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:53:06] local.INFO: IMEI packet received {"connection_id":125333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":125333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:53:09] local.INFO: TCP Data received {"connection_id":125333,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff2bae0012d7f980005afe330000001262c..."} 
[2026-07-08 09:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff2bae0012d7f980005afe330000001262c..."} 
[2026-07-08 09:53:09] local.INFO: Processing buffer {"connection_id":125333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff2bae0012d7f980005afe330000001262c..."} 
[2026-07-08 09:53:09] local.INFO: Packet analysis {"connection_id":125333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff2"} 
[2026-07-08 09:53:09] local.INFO: Extracted packet for processing {"connection_id":125333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff2"} 
[2026-07-08 09:53:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 09:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571903744001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 09:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194802351144103936,"note":"Value kept but may cause issues"} 
[2026-07-08 09:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783484300000,"timestamp_ms":1783484300000,"timestamp_seconds":1783484300,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff2bae0"} 
[2026-07-08 09:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-08 09:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571903744001,"66":26136,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194802351144103936},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 09:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571903744001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:53:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 09:53:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194802351144103936,"description":"Unknown IO ID 45"} 
[2026-07-08 09:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571903744001,"power":26136,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194802351144103936}} 
[2026-07-08 09:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":125333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:53:09] local.INFO: GPS data processed {"connection_id":125333,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:53:09] local.INFO: Acknowledgment sent {"connection_id":125333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:53:17] local.INFO: TCP Data received {"connection_id":125333,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff2bae0012d7f980005afe330000001262c..."} 
[2026-07-08 09:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff2bae0012d7f980005afe330000001262c..."} 
[2026-07-08 09:53:17] local.INFO: Processing buffer {"connection_id":125333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff2bae0012d7f980005afe330000001262c..."} 
[2026-07-08 09:53:17] local.INFO: Packet analysis {"connection_id":125333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff2"} 
[2026-07-08 09:53:17] local.INFO: Extracted packet for processing {"connection_id":125333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff2"} 
[2026-07-08 09:53:17] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 09:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571903744001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 09:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194802351144103936,"note":"Value kept but may cause issues"} 
[2026-07-08 09:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783484300000,"timestamp_ms":1783484300000,"timestamp_seconds":1783484300,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff2bae0"} 
[2026-07-08 09:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-08 09:53:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:53:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":125333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":125333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":125333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571903744001,"66":26136,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194802351144103936},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 09:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571903744001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:53:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 09:53:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194802351144103936,"description":"Unknown IO ID 45"} 
[2026-07-08 09:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571903744001,"power":26136,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194802351144103936}} 
[2026-07-08 09:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":125333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:53:17] local.INFO: GPS data processed {"connection_id":125333,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:53:17] local.INFO: Acknowledgment sent {"connection_id":125333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:53:23] local.INFO: TCP Data received {"connection_id":126049,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff68f58012d0d2f8007045c280017001925..."} 
[2026-07-08 09:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff68f58012d0d2f8007045c280017001925..."} 
[2026-07-08 09:53:23] local.INFO: Processing buffer {"connection_id":126049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff68f58012d0d2f8007045c280017001925..."} 
[2026-07-08 09:53:23] local.INFO: Packet analysis {"connection_id":126049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff6"} 
[2026-07-08 09:53:23] local.INFO: Extracted packet for processing {"connection_id":126049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff6"} 
[2026-07-08 09:53:23] local.INFO: GPS Element Parsed {"raw_longitude":755838848,"raw_latitude":117726248,"longitude_deg":75.5838848,"latitude_deg":11.7726248,"altitude":23,"angle":25,"satellites":37,"speed":11,"hex_longitude":"2d0d2f80","hex_latitude":"07045c28","is_valid_coordinates":true} 
[2026-07-08 09:53:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572044032001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23562821946048512,"note":"Value kept but may cause issues"} 
[2026-07-08 09:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949696601559324672,"note":"Value kept but may cause issues"} 
[2026-07-08 09:53:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783484551000,"timestamp_ms":1783484551000,"timestamp_seconds":1783484551,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff68f58"} 
[2026-07-08 09:53:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:53:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:53: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":110,"data_length":795,"current_offset":136} 
[2026-07-08 09:53:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:53:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:53:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":126049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":126049,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":126049,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:53:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572044032001,"66":14461,"17":206,"94":11008,"24":11,"16":23562821946048512,"45":949696601559324672},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 09:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572044032001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:53:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 09:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23562821946048512,"km_value":23562821946048.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":949696601559324672,"description":"Unknown IO ID 45"} 
[2026-07-08 09:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572044032001,"power":14461,"axis_x":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":949696601559324672}} 
[2026-07-08 09:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":126049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450145,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:53:24] local.INFO: GPS data processed {"connection_id":126049,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:53:24] local.INFO: Acknowledgment sent {"connection_id":126049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:53:25] local.INFO: TCP Data received {"connection_id":126050,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff41e58012d7d304005ec2cb8001601282b..."} 
[2026-07-08 09:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff41e58012d7d304005ec2cb8001601282b..."} 
[2026-07-08 09:53:25] local.INFO: Processing buffer {"connection_id":126050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff41e58012d7d304005ec2cb8001601282b..."} 
[2026-07-08 09:53:25] local.INFO: Packet analysis {"connection_id":126050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff4"} 
[2026-07-08 09:53:25] local.INFO: Extracted packet for processing {"connection_id":126050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff4"} 
[2026-07-08 09:53:25] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":22,"angle":296,"satellites":43,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571927040001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:53: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-07-08 09:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783484391000,"timestamp_ms":1783484391000,"timestamp_seconds":1783484391,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff41e58"} 
[2026-07-08 09:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:53:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:53:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":126050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":126050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":126050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:53:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571927040001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571927040001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:53:25] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:53:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571927040001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":126050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450146,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:53:25] local.INFO: GPS data processed {"connection_id":126050,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:53:25] local.INFO: Acknowledgment sent {"connection_id":126050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:53:47] local.INFO: TCP Data received {"connection_id":125230,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125230,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:53:47] local.INFO: Processing buffer {"connection_id":125230,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:53:47] local.INFO: IMEI packet received {"connection_id":125230,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 09:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":125230,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:53:47] local.INFO: TCP Data received {"connection_id":125230,"ip":"42.106.6.22","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-08 09:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125230,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-08 09:53:47] local.INFO: Processing buffer {"connection_id":125230,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-08 09:53:47] local.INFO: IMEI packet received {"connection_id":125230,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":125230,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:53:48] local.INFO: TCP Data received {"connection_id":125334,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:53:48] local.INFO: Processing buffer {"connection_id":125334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:53:48] local.INFO: IMEI packet received {"connection_id":125334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":125334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:53:50] local.INFO: TCP Data received {"connection_id":125230,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125230,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:53:50] local.INFO: Processing buffer {"connection_id":125230,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-08 09:53:50] local.INFO: IMEI packet received {"connection_id":125230,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":125230,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:53:51] local.INFO: TCP Data received {"connection_id":125230,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff6aab0012d0d3240070462c00018000625..."} 
[2026-07-08 09:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff6aab0012d0d3240070462c00018000625..."} 
[2026-07-08 09:53:51] local.INFO: Processing buffer {"connection_id":125230,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a0000019f3f..."} 
[2026-07-08 09:53:51] local.INFO: IMEI packet received {"connection_id":125230,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":125230,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:53:52] local.INFO: TCP Data received {"connection_id":125334,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:53:52] local.INFO: Processing buffer {"connection_id":125334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:53:52] local.INFO: IMEI packet received {"connection_id":125334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":125334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:53:53] local.INFO: TCP Data received {"connection_id":125230,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff6be38012d0d33c007046ac8001a001324..."} 
[2026-07-08 09:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff6be38012d0d33c007046ac8001a001324..."} 
[2026-07-08 09:53:53] local.INFO: Processing buffer {"connection_id":125230,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f3ff6aab0012d0d3240070462c00018000625..."} 
[2026-07-08 09:53:53] local.INFO: Packet analysis {"connection_id":125230,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3ff6"} 
[2026-07-08 09:53:53] local.INFO: Extracted packet for processing {"connection_id":125230,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff6"} 
[2026-07-08 09:53:53] local.INFO: GPS Element Parsed {"raw_longitude":755839552,"raw_latitude":117727936,"longitude_deg":75.5839552,"latitude_deg":11.7727936,"altitude":24,"angle":6,"satellites":37,"speed":11,"hex_longitude":"2d0d3240","hex_latitude":"070462c0","is_valid_coordinates":true} 
[2026-07-08 09:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572045056001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23562912140361728,"note":"Value kept but may cause issues"} 
[2026-07-08 09:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":950118814024738816,"note":"Value kept but may cause issues"} 
[2026-07-08 09:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783484558000,"timestamp_ms":1783484558000,"timestamp_seconds":1783484558,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff6aab0"} 
[2026-07-08 09:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-08 09:53:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:53:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125230,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125230,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572045056001,"66":14537,"17":206,"94":11008,"24":11,"16":23562912140361728,"45":950118814024738816},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 09:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572045056001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:53:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 09:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23562912140361728,"km_value":23562912140361.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":950118814024738816,"description":"Unknown IO ID 45"} 
[2026-07-08 09:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572045056001,"power":14537,"axis_x":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":950118814024738816}} 
[2026-07-08 09:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":125230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450147,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:53:54] local.INFO: GPS data processed {"connection_id":125230,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:53:54] local.INFO: Acknowledgment sent {"connection_id":125230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:53:54] local.INFO: Packet analysis {"connection_id":125230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff6"} 
[2026-07-08 09:53:54] local.INFO: Extracted packet for processing {"connection_id":125230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff6"} 
[2026-07-08 09:53:54] local.INFO: GPS Element Parsed {"raw_longitude":755839936,"raw_latitude":117729992,"longitude_deg":75.5839936,"latitude_deg":11.7729992,"altitude":26,"angle":19,"satellites":36,"speed":17,"hex_longitude":"2d0d33c0","hex_latitude":"07046ac8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572046848001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23563010924609536,"note":"Value kept but may cause issues"} 
[2026-07-08 09:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":950892870211125248,"note":"Value kept but may cause issues"} 
[2026-07-08 09:53:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783484563000,"timestamp_ms":1783484563000,"timestamp_seconds":1783484563,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff6be38"} 
[2026-07-08 09:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-08 09:53:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":125230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":125230,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":125230,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572046848001,"66":14450,"17":206,"94":11008,"24":17,"16":23563010924609536,"45":950892870211125248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 09:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572046848001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:53:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 09:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23563010924609536,"km_value":23563010924609.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":950892870211125248,"description":"Unknown IO ID 45"} 
[2026-07-08 09:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572046848001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":950892870211125248}} 
[2026-07-08 09:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":125230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450148,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:53:54] local.INFO: GPS data processed {"connection_id":125230,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:53:54] local.INFO: Acknowledgment sent {"connection_id":125230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:53:55] local.INFO: TCP Data received {"connection_id":125334,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff41e58012d7d304005ec2cb8001601282b..."} 
[2026-07-08 09:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff41e58012d7d304005ec2cb8001601282b..."} 
[2026-07-08 09:53:55] local.INFO: Processing buffer {"connection_id":125334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff41e58012d7d304005ec2cb8001601282b..."} 
[2026-07-08 09:53:55] local.INFO: Packet analysis {"connection_id":125334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff4"} 
[2026-07-08 09:53:55] local.INFO: Extracted packet for processing {"connection_id":125334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff4"} 
[2026-07-08 09:53:55] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":22,"angle":296,"satellites":43,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571927040001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:53:55] 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-07-08 09:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783484391000,"timestamp_ms":1783484391000,"timestamp_seconds":1783484391,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff41e58"} 
[2026-07-08 09:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:53:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":125334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":125334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":125334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571927040001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571927040001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:53:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:53:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571927040001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":125334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450149,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:53:55] local.INFO: GPS data processed {"connection_id":125334,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:53:55] local.INFO: Acknowledgment sent {"connection_id":125334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:53:56] local.INFO: TCP Data received {"connection_id":125335,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:53:56] local.INFO: Processing buffer {"connection_id":125335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:53:56] local.INFO: IMEI packet received {"connection_id":125335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":125335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:53:59] local.INFO: TCP Data received {"connection_id":125335,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:53:59] local.INFO: Processing buffer {"connection_id":125335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:53:59] local.INFO: IMEI packet received {"connection_id":125335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":125335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:54:00] local.INFO: TCP Data received {"connection_id":125335,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff752a8012d7f980005afe330000001262f..."} 
[2026-07-08 09:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff752a8012d7f980005afe330000001262f..."} 
[2026-07-08 09:54:00] local.INFO: Processing buffer {"connection_id":125335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff752a8012d7f980005afe330000001262f..."} 
[2026-07-08 09:54:00] local.INFO: Packet analysis {"connection_id":125335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff7"} 
[2026-07-08 09:54:00] local.INFO: Extracted packet for processing {"connection_id":125335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff7"} 
[2026-07-08 09:54:00] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 09:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571980800001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 09:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 09:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783484601000,"timestamp_ms":1783484601000,"timestamp_seconds":1783484601,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff752a8"} 
[2026-07-08 09:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-08 09:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571980800001,"66":25897,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 09:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571980800001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:54:00] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 09:54:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 09:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571980800001,"power":25897,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 09:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":125335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:54:00] local.INFO: GPS data processed {"connection_id":125335,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:54:00] local.INFO: Acknowledgment sent {"connection_id":125335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:54:25] local.INFO: TCP Data received {"connection_id":125230,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff6d5a8012d0d3740070474b0001b000823..."} 
[2026-07-08 09:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff6d5a8012d0d3740070474b0001b000823..."} 
[2026-07-08 09:54:25] local.INFO: Processing buffer {"connection_id":125230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff6d5a8012d0d3740070474b0001b000823..."} 
[2026-07-08 09:54:25] local.INFO: Packet analysis {"connection_id":125230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff6"} 
[2026-07-08 09:54:25] local.INFO: Extracted packet for processing {"connection_id":125230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff6"} 
[2026-07-08 09:54:25] local.INFO: GPS Element Parsed {"raw_longitude":755840832,"raw_latitude":117732528,"longitude_deg":75.5840832,"latitude_deg":11.7732528,"altitude":27,"angle":8,"satellites":35,"speed":15,"hex_longitude":"2d0d3740","hex_latitude":"070474b0","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572048128001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23563144068595712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":951315082676717568,"note":"Value kept but may cause issues"} 
[2026-07-08 09:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783484569000,"timestamp_ms":1783484569000,"timestamp_seconds":1783484569,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff6d5a8"} 
[2026-07-08 09:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:54: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-07-08 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-08 09:54:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":125230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":125230,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":125230,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:54:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572048128001,"66":14450,"17":206,"94":11008,"24":15,"16":23563144068595712,"45":951315082676717568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 09:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572048128001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:54:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 09:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23563144068595712,"km_value":23563144068595.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":951315082676717568,"description":"Unknown IO ID 45"} 
[2026-07-08 09:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572048128001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":951315082676717568}} 
[2026-07-08 09:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":125230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450151,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:54:25] local.INFO: GPS data processed {"connection_id":125230,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:54:25] local.INFO: Acknowledgment sent {"connection_id":125230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:54:26] local.INFO: TCP Data received {"connection_id":125334,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff41e58012d7d304005ec2cb8001601282b..."} 
[2026-07-08 09:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff41e58012d7d304005ec2cb8001601282b..."} 
[2026-07-08 09:54:26] local.INFO: Processing buffer {"connection_id":125334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff41e58012d7d304005ec2cb8001601282b..."} 
[2026-07-08 09:54:26] local.INFO: Packet analysis {"connection_id":125334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff4"} 
[2026-07-08 09:54:26] local.INFO: Extracted packet for processing {"connection_id":125334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff4"} 
[2026-07-08 09:54:26] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":22,"angle":296,"satellites":43,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571927040001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:54: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-07-08 09:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783484391000,"timestamp_ms":1783484391000,"timestamp_seconds":1783484391,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff41e58"} 
[2026-07-08 09:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:54:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:54:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":125334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":125334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":125334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:54:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571927040001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571927040001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:54:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:54:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571927040001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":125334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450152,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:54:26] local.INFO: GPS data processed {"connection_id":125334,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:54:26] local.INFO: Acknowledgment sent {"connection_id":125334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:54:31] local.INFO: TCP Data received {"connection_id":125335,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff752a8012d7f980005afe330000001262f..."} 
[2026-07-08 09:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff752a8012d7f980005afe330000001262f..."} 
[2026-07-08 09:54:31] local.INFO: Processing buffer {"connection_id":125335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff752a8012d7f980005afe330000001262f..."} 
[2026-07-08 09:54:31] local.INFO: Packet analysis {"connection_id":125335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff7"} 
[2026-07-08 09:54:31] local.INFO: Extracted packet for processing {"connection_id":125335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff7"} 
[2026-07-08 09:54:31] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571980800001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 09:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 09:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783484601000,"timestamp_ms":1783484601000,"timestamp_seconds":1783484601,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff752a8"} 
[2026-07-08 09:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-08 09:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":125335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":125335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":125335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571980800001,"66":25897,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 09:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571980800001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:54:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 09:54:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 09:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571980800001,"power":25897,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 09:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":125335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:54:31] local.INFO: GPS data processed {"connection_id":125335,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:54:31] local.INFO: Acknowledgment sent {"connection_id":125335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:54:45] local.INFO: TCP Data received {"connection_id":125231,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125231,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:54:45] local.INFO: Processing buffer {"connection_id":125231,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:54:45] local.INFO: IMEI packet received {"connection_id":125231,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 09:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":125231,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:54:47] local.INFO: TCP Data received {"connection_id":126052,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126052,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:54:47] local.INFO: Processing buffer {"connection_id":126052,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:54:47] local.INFO: IMEI packet received {"connection_id":126052,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":126052,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:54:48] local.INFO: TCP Data received {"connection_id":125231,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125231,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:54:48] local.INFO: Processing buffer {"connection_id":125231,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:54:48] local.INFO: IMEI packet received {"connection_id":125231,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":125231,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:54:48] local.INFO: TCP Data received {"connection_id":125231,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125231,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:54:48] local.INFO: Processing buffer {"connection_id":125231,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:54:48] local.INFO: IMEI packet received {"connection_id":125231,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":125231,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:54:52] local.INFO: TCP Data received {"connection_id":126052,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126052,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:54:52] local.INFO: Processing buffer {"connection_id":126052,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:54:52] local.INFO: IMEI packet received {"connection_id":126052,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":126052,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:54:53] local.INFO: TCP Data received {"connection_id":126052,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff41e58012d7d304005ec2cb8001601282b..."} 
[2026-07-08 09:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff41e58012d7d304005ec2cb8001601282b..."} 
[2026-07-08 09:54:53] local.INFO: Processing buffer {"connection_id":126052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff41e58012d7d304005ec2cb8001601282b..."} 
[2026-07-08 09:54:53] local.INFO: Packet analysis {"connection_id":126052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff4"} 
[2026-07-08 09:54:53] local.INFO: Extracted packet for processing {"connection_id":126052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff4"} 
[2026-07-08 09:54:53] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":22,"angle":296,"satellites":43,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571927040001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:54:53] 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-07-08 09:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783484391000,"timestamp_ms":1783484391000,"timestamp_seconds":1783484391,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff41e58"} 
[2026-07-08 09:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:54:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:54:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":126052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":126052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":126052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:54:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571927040001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571927040001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:54:53] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:54:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571927040001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":126052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450154,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:54:53] local.INFO: GPS data processed {"connection_id":126052,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:54:53] local.INFO: Acknowledgment sent {"connection_id":126052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:54:56] local.INFO: TCP Data received {"connection_id":125336,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:54:56] local.INFO: Processing buffer {"connection_id":125336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:54:56] local.INFO: IMEI packet received {"connection_id":125336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":125336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:54:56] local.INFO: TCP Data received {"connection_id":125231,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125231,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:54:56] local.INFO: Processing buffer {"connection_id":125231,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:54:56] local.INFO: IMEI packet received {"connection_id":125231,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":125231,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:54:57] local.INFO: TCP Data received {"connection_id":125231,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff848c0012d0ce7800704bfd80026010a24..."} 
[2026-07-08 09:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff848c0012d0ce7800704bfd80026010a24..."} 
[2026-07-08 09:54:57] local.INFO: Processing buffer {"connection_id":125231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff848c0012d0ce7800704bfd80026010a24..."} 
[2026-07-08 09:54:57] local.INFO: Packet analysis {"connection_id":125231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff8"} 
[2026-07-08 09:54:57] local.INFO: Extracted packet for processing {"connection_id":125231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff8"} 
[2026-07-08 09:54:57] local.INFO: GPS Element Parsed {"raw_longitude":755820416,"raw_latitude":117751768,"longitude_deg":75.5820416,"latitude_deg":11.7751768,"altitude":38,"angle":266,"satellites":36,"speed":11,"hex_longitude":"2d0ce780","hex_latitude":"0704bfd8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572071936001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23565042444140544,"note":"Value kept but may cause issues"} 
[2026-07-08 09:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":934637690311981056,"note":"Value kept but may cause issues"} 
[2026-07-08 09:54:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783484664000,"timestamp_ms":1783484664000,"timestamp_seconds":1783484664,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff848c0"} 
[2026-07-08 09:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 09:54:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":125231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":125231,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":125231,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:54:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572071936001,"66":14580,"17":206,"94":11008,"24":11,"16":23565042444140544,"45":934637690311981056},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 09:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572071936001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:54:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 09:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23565042444140544,"km_value":23565042444140.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":934637690311981056,"description":"Unknown IO ID 45"} 
[2026-07-08 09:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572071936001,"power":14580,"axis_x":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":934637690311981056}} 
[2026-07-08 09:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":125231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450155,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:54:57] local.INFO: GPS data processed {"connection_id":125231,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:54:57] local.INFO: Acknowledgment sent {"connection_id":125231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:54:58] local.INFO: TCP Data received {"connection_id":125231,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff85090012d0ce5800704bf70002600fc24..."} 
[2026-07-08 09:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff85090012d0ce5800704bf70002600fc24..."} 
[2026-07-08 09:54:58] local.INFO: Processing buffer {"connection_id":125231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff85090012d0ce5800704bf70002600fc24..."} 
[2026-07-08 09:54:58] local.INFO: Packet analysis {"connection_id":125231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff8"} 
[2026-07-08 09:54:58] local.INFO: Extracted packet for processing {"connection_id":125231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff8"} 
[2026-07-08 09:54:58] local.INFO: GPS Element Parsed {"raw_longitude":755819904,"raw_latitude":117751664,"longitude_deg":75.5819904,"latitude_deg":11.7751664,"altitude":38,"angle":252,"satellites":36,"speed":8,"hex_longitude":"2d0ce580","hex_latitude":"0704bf70","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572073984001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23565063918977024,"note":"Value kept but may cause issues"} 
[2026-07-08 09:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":929852615708104704,"note":"Value kept but may cause issues"} 
[2026-07-08 09:54:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783484666000,"timestamp_ms":1783484666000,"timestamp_seconds":1783484666,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff85090"} 
[2026-07-08 09:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:54:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-07-08 09:54:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":125231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":125231,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":125231,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:54:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572073984001,"66":14407,"17":206,"94":11008,"24":8,"16":23565063918977024,"45":929852615708104704},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 09:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572073984001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:54:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 09:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23565063918977024,"km_value":23565063918977.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":929852615708104704,"description":"Unknown IO ID 45"} 
[2026-07-08 09:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572073984001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":929852615708104704}} 
[2026-07-08 09:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":125231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450156,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:54:58] local.INFO: GPS data processed {"connection_id":125231,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:54:58] local.INFO: Acknowledgment sent {"connection_id":125231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:55:01] local.INFO: TCP Data received {"connection_id":125336,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:55:01] local.INFO: Processing buffer {"connection_id":125336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:55:01] local.INFO: IMEI packet received {"connection_id":125336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":125336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:55:02] local.INFO: TCP Data received {"connection_id":125336,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff752a8012d7f980005afe330000001262f..."} 
[2026-07-08 09:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff752a8012d7f980005afe330000001262f..."} 
[2026-07-08 09:55:02] local.INFO: Processing buffer {"connection_id":125336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff752a8012d7f980005afe330000001262f..."} 
[2026-07-08 09:55:02] local.INFO: Packet analysis {"connection_id":125336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff7"} 
[2026-07-08 09:55:02] local.INFO: Extracted packet for processing {"connection_id":125336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff7"} 
[2026-07-08 09:55:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571980800001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 09:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 09:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783484601000,"timestamp_ms":1783484601000,"timestamp_seconds":1783484601,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff752a8"} 
[2026-07-08 09:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:55:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-08 09:55:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571980800001,"66":25897,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 09:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571980800001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:55:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 09:55:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 09:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571980800001,"power":25897,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 09:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":125336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:55:02] local.INFO: GPS data processed {"connection_id":125336,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:55:02] local.INFO: Acknowledgment sent {"connection_id":125336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:55:25] local.INFO: TCP Data received {"connection_id":126052,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff8b620012d7d304005ec2cb80015012826..."} 
[2026-07-08 09:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff8b620012d7d304005ec2cb80015012826..."} 
[2026-07-08 09:55:25] local.INFO: Processing buffer {"connection_id":126052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff8b620012d7d304005ec2cb80015012826..."} 
[2026-07-08 09:55:25] local.INFO: Packet analysis {"connection_id":126052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff8"} 
[2026-07-08 09:55:25] local.INFO: Extracted packet for processing {"connection_id":126052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff8"} 
[2026-07-08 09:55:25] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":21,"angle":296,"satellites":38,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 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-07-08 09:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572004096001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:55: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-07-08 09:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783484692000,"timestamp_ms":1783484692000,"timestamp_seconds":1783484692,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff8b620"} 
[2026-07-08 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-07-08 09:55:25] 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-07-08 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:55:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 09:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":126052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":126052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":126052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:55:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572004096001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572004096001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:55:25] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:55:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572004096001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":126052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450158,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:55:25] local.INFO: GPS data processed {"connection_id":126052,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:55:25] local.INFO: Acknowledgment sent {"connection_id":126052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:55:29] local.INFO: TCP Data received {"connection_id":125231,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff913e0012d0c93400704c788002700a025..."} 
[2026-07-08 09:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff913e0012d0c93400704c788002700a025..."} 
[2026-07-08 09:55:29] local.INFO: Processing buffer {"connection_id":125231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff913e0012d0c93400704c788002700a025..."} 
[2026-07-08 09:55:29] local.INFO: Packet analysis {"connection_id":125231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff9"} 
[2026-07-08 09:55:29] local.INFO: Extracted packet for processing {"connection_id":125231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff9"} 
[2026-07-08 09:55:29] local.INFO: GPS Element Parsed {"raw_longitude":755798848,"raw_latitude":117753736,"longitude_deg":75.5798848,"latitude_deg":11.7753736,"altitude":39,"angle":160,"satellites":37,"speed":23,"hex_longitude":"2d0c9340","hex_latitude":"0704c788","is_valid_coordinates":true} 
[2026-07-08 09:55:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572086272001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23566249329950720,"note":"Value kept but may cause issues"} 
[2026-07-08 09:55:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905645767711866880,"note":"Value kept but may cause issues"} 
[2026-07-08 09:55:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783484716000,"timestamp_ms":1783484716000,"timestamp_seconds":1783484716,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff913e0"} 
[2026-07-08 09:55:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:55:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:55:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-08 09:55:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:55:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:55:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":125231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":125231,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":125231,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:55:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572086272001,"66":14428,"95":206,"94":10240,"24":23,"16":23566249329950720,"45":905645767711866880},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-08 09:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572086272001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:55:29] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-08 09:55:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 09:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23566249329950720,"km_value":23566249329950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:55:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":905645767711866880,"description":"Unknown IO ID 45"} 
[2026-07-08 09:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572086272001,"power":14428,"unknown_95":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":905645767711866880}} 
[2026-07-08 09:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":125231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450159,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:55:29] local.INFO: GPS data processed {"connection_id":125231,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:55:29] local.INFO: Acknowledgment sent {"connection_id":125231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:55:33] local.INFO: TCP Data received {"connection_id":125336,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff752a8012d7f980005afe330000001262f..."} 
[2026-07-08 09:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff752a8012d7f980005afe330000001262f..."} 
[2026-07-08 09:55:33] local.INFO: Processing buffer {"connection_id":125336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff752a8012d7f980005afe330000001262f..."} 
[2026-07-08 09:55:33] local.INFO: Packet analysis {"connection_id":125336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff7"} 
[2026-07-08 09:55:33] local.INFO: Extracted packet for processing {"connection_id":125336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff7"} 
[2026-07-08 09:55:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 09:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571980800001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 09:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 09:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783484601000,"timestamp_ms":1783484601000,"timestamp_seconds":1783484601,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff752a8"} 
[2026-07-08 09:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-08 09:55:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:55:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571980800001,"66":25897,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 09:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571980800001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:55:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 09:55:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 09:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571980800001,"power":25897,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 09:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":125336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:55:33] local.INFO: GPS data processed {"connection_id":125336,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:55:33] local.INFO: Acknowledgment sent {"connection_id":125336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:55:45] local.INFO: TCP Data received {"connection_id":126054,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126054,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:55:45] local.INFO: Processing buffer {"connection_id":126054,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:55:45] local.INFO: IMEI packet received {"connection_id":126054,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 09:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":126054,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:55:47] local.INFO: TCP Data received {"connection_id":125337,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125337,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:55:47] local.INFO: Processing buffer {"connection_id":125337,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:55:47] local.INFO: IMEI packet received {"connection_id":125337,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":125337,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:55:50] local.INFO: TCP Data received {"connection_id":126054,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126054,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:55:50] local.INFO: Processing buffer {"connection_id":126054,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:55:50] local.INFO: IMEI packet received {"connection_id":126054,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":126054,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:55:51] local.INFO: TCP Data received {"connection_id":126054,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff93ed8012d0ca2000704a8280026009324..."} 
[2026-07-08 09:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff93ed8012d0ca2000704a8280026009324..."} 
[2026-07-08 09:55:51] local.INFO: Processing buffer {"connection_id":126054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff93ed8012d0ca2000704a8280026009324..."} 
[2026-07-08 09:55:51] local.INFO: Packet analysis {"connection_id":126054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff9"} 
[2026-07-08 09:55:51] local.INFO: Extracted packet for processing {"connection_id":126054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff9"} 
[2026-07-08 09:55:51] local.INFO: GPS Element Parsed {"raw_longitude":755802624,"raw_latitude":117745704,"longitude_deg":75.5802624,"latitude_deg":11.7745704,"altitude":38,"angle":147,"satellites":36,"speed":37,"hex_longitude":"2d0ca200","hex_latitude":"0704a828","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572087296001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23566678826680320,"note":"Value kept but may cause issues"} 
[2026-07-08 09:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":906138348920735744,"note":"Value kept but may cause issues"} 
[2026-07-08 09:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783484727000,"timestamp_ms":1783484727000,"timestamp_seconds":1783484727,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff93ed8"} 
[2026-07-08 09:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 09:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126054,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126054,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572087296001,"66":14461,"95":206,"94":10240,"24":37,"16":23566678826680320,"45":906138348920735744},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-08 09:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572087296001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:55:51] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-08 09:55:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 09:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23566678826680320,"km_value":23566678826680.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":906138348920735744,"description":"Unknown IO ID 45"} 
[2026-07-08 09:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572087296001,"power":14461,"unknown_95":206,"unknown_94":10240,"ignition":37,"odometer":null,"unknown_45":906138348920735744}} 
[2026-07-08 09:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":126054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450161,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:55:51] local.INFO: GPS data processed {"connection_id":126054,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:55:51] local.INFO: Acknowledgment sent {"connection_id":126054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:55:52] local.INFO: TCP Data received {"connection_id":125337,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125337,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:55:52] local.INFO: Processing buffer {"connection_id":125337,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:55:52] local.INFO: IMEI packet received {"connection_id":125337,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":125337,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:55:53] local.INFO: TCP Data received {"connection_id":125337,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff8b620012d7d304005ec2cb80015012826..."} 
[2026-07-08 09:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff8b620012d7d304005ec2cb80015012826..."} 
[2026-07-08 09:55:53] local.INFO: Processing buffer {"connection_id":125337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff8b620012d7d304005ec2cb80015012826..."} 
[2026-07-08 09:55:53] local.INFO: Packet analysis {"connection_id":125337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff8"} 
[2026-07-08 09:55:53] local.INFO: Extracted packet for processing {"connection_id":125337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff8"} 
[2026-07-08 09:55:53] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":21,"angle":296,"satellites":38,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572004096001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:55:53] 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-07-08 09:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783484692000,"timestamp_ms":1783484692000,"timestamp_seconds":1783484692,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff8b620"} 
[2026-07-08 09:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:55:53] 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-07-08 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:55:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:55:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572004096001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572004096001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:55:53] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:55:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572004096001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":125337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450162,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:55:53] local.INFO: GPS data processed {"connection_id":125337,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:55:53] local.INFO: Acknowledgment sent {"connection_id":125337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:55:56] local.INFO: TCP Data received {"connection_id":126055,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:55:56] local.INFO: Processing buffer {"connection_id":126055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:55:56] local.INFO: IMEI packet received {"connection_id":126055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":126055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:56:01] local.INFO: TCP Data received {"connection_id":126055,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:56:01] local.INFO: Processing buffer {"connection_id":126055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:56:01] local.INFO: IMEI packet received {"connection_id":126055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":126055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:56:02] local.INFO: TCP Data received {"connection_id":126055,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff752a8012d7f980005afe330000001262f..."} 
[2026-07-08 09:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff752a8012d7f980005afe330000001262f..."} 
[2026-07-08 09:56:02] local.INFO: Processing buffer {"connection_id":126055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff752a8012d7f980005afe330000001262f..."} 
[2026-07-08 09:56:02] local.INFO: Packet analysis {"connection_id":126055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff7"} 
[2026-07-08 09:56:02] local.INFO: Extracted packet for processing {"connection_id":126055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff7"} 
[2026-07-08 09:56:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 09:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571980800001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 09:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 09:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783484601000,"timestamp_ms":1783484601000,"timestamp_seconds":1783484601,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff752a8"} 
[2026-07-08 09:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-08 09:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571980800001,"66":25897,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 09:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571980800001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:56:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 09:56:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 09:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571980800001,"power":25897,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 09:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":126055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:56:02] local.INFO: GPS data processed {"connection_id":126055,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:56:02] local.INFO: Acknowledgment sent {"connection_id":126055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:56:22] local.INFO: TCP Data received {"connection_id":126054,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff93ed8012d0ca2000704a8280026009324..."} 
[2026-07-08 09:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff93ed8012d0ca2000704a8280026009324..."} 
[2026-07-08 09:56:22] local.INFO: Processing buffer {"connection_id":126054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff93ed8012d0ca2000704a8280026009324..."} 
[2026-07-08 09:56:22] local.INFO: Packet analysis {"connection_id":126054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff9"} 
[2026-07-08 09:56:22] local.INFO: Extracted packet for processing {"connection_id":126054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff9"} 
[2026-07-08 09:56:22] local.INFO: GPS Element Parsed {"raw_longitude":755802624,"raw_latitude":117745704,"longitude_deg":75.5802624,"latitude_deg":11.7745704,"altitude":38,"angle":147,"satellites":36,"speed":37,"hex_longitude":"2d0ca200","hex_latitude":"0704a828","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572090112001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23566678826680320,"note":"Value kept but may cause issues"} 
[2026-07-08 09:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":910290104825161728,"note":"Value kept but may cause issues"} 
[2026-07-08 09:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783484727000,"timestamp_ms":1783484727000,"timestamp_seconds":1783484727,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff93ed8"} 
[2026-07-08 09:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:56:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-08 09:56:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126054,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126054,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572090112001,"66":14461,"95":206,"94":10240,"24":37,"16":23566678826680320,"45":910290104825161728},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-08 09:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572090112001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:56:22] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-08 09:56:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 09:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23566678826680320,"km_value":23566678826680.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":910290104825161728,"description":"Unknown IO ID 45"} 
[2026-07-08 09:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572090112001,"power":14461,"unknown_95":206,"unknown_94":10240,"ignition":37,"odometer":null,"unknown_45":910290104825161728}} 
[2026-07-08 09:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":126054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450164,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:56:22] local.INFO: GPS data processed {"connection_id":126054,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:56:22] local.INFO: Acknowledgment sent {"connection_id":126054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:56:27] local.INFO: TCP Data received {"connection_id":125337,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff8b620012d7d304005ec2cb80015012826..."} 
[2026-07-08 09:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff8b620012d7d304005ec2cb80015012826..."} 
[2026-07-08 09:56:27] local.INFO: Processing buffer {"connection_id":125337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff8b620012d7d304005ec2cb80015012826..."} 
[2026-07-08 09:56:27] local.INFO: Packet analysis {"connection_id":125337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff8"} 
[2026-07-08 09:56:27] local.INFO: Extracted packet for processing {"connection_id":125337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff8"} 
[2026-07-08 09:56:27] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":21,"angle":296,"satellites":38,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572004096001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:56: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-07-08 09:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783484692000,"timestamp_ms":1783484692000,"timestamp_seconds":1783484692,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff8b620"} 
[2026-07-08 09:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:56:27] 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-07-08 09:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:56:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":125337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":125337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":125337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572004096001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572004096001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:56:27] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:56:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572004096001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":125337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450165,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:56:27] local.INFO: GPS data processed {"connection_id":125337,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:56:27] local.INFO: Acknowledgment sent {"connection_id":125337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:56:33] local.INFO: TCP Data received {"connection_id":126055,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff752a8012d7f980005afe330000001262f..."} 
[2026-07-08 09:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff752a8012d7f980005afe330000001262f..."} 
[2026-07-08 09:56:33] local.INFO: Processing buffer {"connection_id":126055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff752a8012d7f980005afe330000001262f..."} 
[2026-07-08 09:56:33] local.INFO: Packet analysis {"connection_id":126055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff7"} 
[2026-07-08 09:56:33] local.INFO: Extracted packet for processing {"connection_id":126055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff7"} 
[2026-07-08 09:56:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 09:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571980800001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 09:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 09:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783484601000,"timestamp_ms":1783484601000,"timestamp_seconds":1783484601,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff752a8"} 
[2026-07-08 09:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-08 09:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:56:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571980800001,"66":25897,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 09:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571980800001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:56:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 09:56:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 09:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571980800001,"power":25897,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 09:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":126055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:56:33] local.INFO: GPS data processed {"connection_id":126055,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:56:33] local.INFO: Acknowledgment sent {"connection_id":126055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:56:45] local.INFO: TCP Data received {"connection_id":125233,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125233,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:56:45] local.INFO: Processing buffer {"connection_id":125233,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:56:45] local.INFO: IMEI packet received {"connection_id":125233,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 09:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":125233,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:56:45] local.INFO: TCP Data received {"connection_id":125233,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125233,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:56:45] local.INFO: Processing buffer {"connection_id":125233,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:56:45] local.INFO: IMEI packet received {"connection_id":125233,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":125233,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:56:48] local.INFO: TCP Data received {"connection_id":125232,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125232,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:56:48] local.INFO: Processing buffer {"connection_id":125232,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:56:48] local.INFO: IMEI packet received {"connection_id":125232,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":125232,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:56:50] local.INFO: TCP Data received {"connection_id":125233,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125233,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:56:50] local.INFO: Processing buffer {"connection_id":125233,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:56:50] local.INFO: IMEI packet received {"connection_id":125233,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":125233,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:56:52] local.INFO: TCP Data received {"connection_id":125232,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125232,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:56:52] local.INFO: Processing buffer {"connection_id":125232,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:56:52] local.INFO: IMEI packet received {"connection_id":125232,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":125232,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:56:53] local.INFO: TCP Data received {"connection_id":125232,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff8b620012d7d304005ec2cb80015012826..."} 
[2026-07-08 09:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff8b620012d7d304005ec2cb80015012826..."} 
[2026-07-08 09:56:53] local.INFO: Processing buffer {"connection_id":125232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff8b620012d7d304005ec2cb80015012826..."} 
[2026-07-08 09:56:53] local.INFO: Packet analysis {"connection_id":125232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff8"} 
[2026-07-08 09:56:53] local.INFO: Extracted packet for processing {"connection_id":125232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff8"} 
[2026-07-08 09:56:53] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":21,"angle":296,"satellites":38,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572004096001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:56:53] 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-07-08 09:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783484692000,"timestamp_ms":1783484692000,"timestamp_seconds":1783484692,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff8b620"} 
[2026-07-08 09:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:56:53] 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-07-08 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:56:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:56:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572004096001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572004096001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:56:53] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:56:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572004096001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":125232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450167,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:56:53] local.INFO: GPS data processed {"connection_id":125232,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:56:53] local.INFO: Acknowledgment sent {"connection_id":125232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:56:55] local.INFO: TCP Data received {"connection_id":125233,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125233,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:56:55] local.INFO: Processing buffer {"connection_id":125233,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:56:55] local.INFO: IMEI packet received {"connection_id":125233,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":125233,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:56:56] local.INFO: TCP Data received {"connection_id":125233,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ffa5430012d0c54400703e498001600d426..."} 
[2026-07-08 09:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ffa5430012d0c54400703e498001600d426..."} 
[2026-07-08 09:56:56] local.INFO: Processing buffer {"connection_id":125233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ffa5430012d0c54400703e498001600d426..."} 
[2026-07-08 09:56:56] local.INFO: Packet analysis {"connection_id":125233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ffa"} 
[2026-07-08 09:56:56] local.INFO: Extracted packet for processing {"connection_id":125233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ffa"} 
[2026-07-08 09:56:56] local.INFO: GPS Element Parsed {"raw_longitude":755782720,"raw_latitude":117695640,"longitude_deg":75.578272,"latitude_deg":11.769564,"altitude":22,"angle":212,"satellites":38,"speed":12,"hex_longitude":"2d0c5440","hex_latitude":"0703e498","is_valid_coordinates":true} 
[2026-07-08 09:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572107520001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23569681008820224,"note":"Value kept but may cause issues"} 
[2026-07-08 09:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":889390587791812608,"note":"Value kept but may cause issues"} 
[2026-07-08 09:56:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 09:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783484798000,"timestamp_ms":1783484798000,"timestamp_seconds":1783484798,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ffa5430"} 
[2026-07-08 09:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-08 09:56:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:56:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":125233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":125233,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":125233,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572107520001,"66":14515,"16":23569681008820224,"94":11008,"24":12,"45":889390587791812608},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-08 09:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572107520001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23569681008820224,"km_value":23569681008820.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:56:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 09:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":889390587791812608,"description":"Unknown IO ID 45"} 
[2026-07-08 09:56:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456572107520001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":12,"unknown_45":889390587791812608}} 
[2026-07-08 09:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":125233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450168,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:56:56] local.INFO: GPS data processed {"connection_id":125233,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:56:56] local.INFO: Acknowledgment sent {"connection_id":125233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:57:00] local.INFO: TCP Data received {"connection_id":125233,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ffa5818012d0c53800703e3a0001600c226..."} 
[2026-07-08 09:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ffa5818012d0c53800703e3a0001600c226..."} 
[2026-07-08 09:57:00] local.INFO: Processing buffer {"connection_id":125233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ffa5818012d0c53800703e3a0001600c226..."} 
[2026-07-08 09:57:00] local.INFO: Packet analysis {"connection_id":125233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ffa"} 
[2026-07-08 09:57:00] local.INFO: Extracted packet for processing {"connection_id":125233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ffa"} 
[2026-07-08 09:57:00] local.INFO: GPS Element Parsed {"raw_longitude":755782528,"raw_latitude":117695392,"longitude_deg":75.5782528,"latitude_deg":11.7695392,"altitude":22,"angle":194,"satellites":38,"speed":9,"hex_longitude":"2d0c5380","hex_latitude":"0703e3a0","is_valid_coordinates":true} 
[2026-07-08 09:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572108288001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23569693893722112,"note":"Value kept but may cause issues"} 
[2026-07-08 09:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888405425373091840,"note":"Value kept but may cause issues"} 
[2026-07-08 09:57:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 09:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783484799000,"timestamp_ms":1783484799000,"timestamp_seconds":1783484799,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ffa5818"} 
[2026-07-08 09:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 09:57: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-07-08 09:57: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-07-08 09:57:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125233,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125233,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572108288001,"66":14363,"16":23569693893722112,"94":11008,"24":9,"45":888405425373091840},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-08 09:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572108288001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23569693893722112,"km_value":23569693893722.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:57:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 09:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":888405425373091840,"description":"Unknown IO ID 45"} 
[2026-07-08 09:57:00] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456572108288001,"power":14363,"odometer":null,"unknown_94":11008,"ignition":9,"unknown_45":888405425373091840}} 
[2026-07-08 09:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":125233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450169,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:57:01] local.INFO: GPS data processed {"connection_id":125233,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:57:01] local.INFO: Acknowledgment sent {"connection_id":125233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:57:01] local.INFO: TCP Data received {"connection_id":125234,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:57:01] local.INFO: Processing buffer {"connection_id":125234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:57:01] local.INFO: IMEI packet received {"connection_id":125234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":125234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:57:06] local.INFO: TCP Data received {"connection_id":125234,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:57:06] local.INFO: Processing buffer {"connection_id":125234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:57:06] local.INFO: IMEI packet received {"connection_id":125234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":125234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:57:07] local.INFO: TCP Data received {"connection_id":125234,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff752a8012d7f980005afe330000001262f..."} 
[2026-07-08 09:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff752a8012d7f980005afe330000001262f..."} 
[2026-07-08 09:57:07] local.INFO: Processing buffer {"connection_id":125234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff752a8012d7f980005afe330000001262f..."} 
[2026-07-08 09:57:07] local.INFO: Packet analysis {"connection_id":125234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff7"} 
[2026-07-08 09:57:07] local.INFO: Extracted packet for processing {"connection_id":125234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff7"} 
[2026-07-08 09:57:07] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 09:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571980800001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 09:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 09:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783484601000,"timestamp_ms":1783484601000,"timestamp_seconds":1783484601,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff752a8"} 
[2026-07-08 09:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-08 09:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571980800001,"66":25897,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 09:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571980800001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:57:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 09:57:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 09:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571980800001,"power":25897,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 09:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":125234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:57:07] local.INFO: GPS data processed {"connection_id":125234,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:57:07] local.INFO: Acknowledgment sent {"connection_id":125234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:57:12] local.INFO: TCP Data received {"connection_id":125234,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff752a8012d7f980005afe330000001262f..."} 
[2026-07-08 09:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff752a8012d7f980005afe330000001262f..."} 
[2026-07-08 09:57:12] local.INFO: Processing buffer {"connection_id":125234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff752a8012d7f980005afe330000001262f..."} 
[2026-07-08 09:57:12] local.INFO: Packet analysis {"connection_id":125234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff7"} 
[2026-07-08 09:57:12] local.INFO: Extracted packet for processing {"connection_id":125234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff7"} 
[2026-07-08 09:57:12] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 09:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571980800001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 09:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 09:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783484601000,"timestamp_ms":1783484601000,"timestamp_seconds":1783484601,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff752a8"} 
[2026-07-08 09:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-08 09:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571980800001,"66":25897,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 09:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571980800001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:57:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 09:57:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 09:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571980800001,"power":25897,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 09:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":125234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:57:12] local.INFO: GPS data processed {"connection_id":125234,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:57:12] local.INFO: Acknowledgment sent {"connection_id":125234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:57:17] local.INFO: TCP Data received {"connection_id":127335,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127335,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:57:17] local.INFO: Processing buffer {"connection_id":127335,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:57:17] local.INFO: IMEI packet received {"connection_id":127335,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 09:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":127335,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:57:26] local.INFO: TCP Data received {"connection_id":125232,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff8b620012d7d304005ec2cb80015012826..."} 
[2026-07-08 09:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff8b620012d7d304005ec2cb80015012826..."} 
[2026-07-08 09:57:26] local.INFO: Processing buffer {"connection_id":125232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff8b620012d7d304005ec2cb80015012826..."} 
[2026-07-08 09:57:26] local.INFO: Packet analysis {"connection_id":125232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff8"} 
[2026-07-08 09:57:26] local.INFO: Extracted packet for processing {"connection_id":125232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff8"} 
[2026-07-08 09:57:26] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":21,"angle":296,"satellites":38,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572004096001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:57: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-07-08 09:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783484692000,"timestamp_ms":1783484692000,"timestamp_seconds":1783484692,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff8b620"} 
[2026-07-08 09:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:57:26] 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-07-08 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:57:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":125232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":125232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":125232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:57:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572004096001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572004096001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:57:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:57:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572004096001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":125232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450172,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:57:26] local.INFO: GPS data processed {"connection_id":125232,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:57:26] local.INFO: Acknowledgment sent {"connection_id":125232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:57:42] local.INFO: TCP Data received {"connection_id":127336,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127336,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:57:42] local.INFO: Processing buffer {"connection_id":127336,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:57:42] local.INFO: IMEI packet received {"connection_id":127336,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 09:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":127336,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:57:45] local.INFO: TCP Data received {"connection_id":127336,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127336,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:57:45] local.INFO: Processing buffer {"connection_id":127336,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:57:45] local.INFO: IMEI packet received {"connection_id":127336,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":127336,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:57:48] local.INFO: TCP Data received {"connection_id":126056,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126056,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:57:48] local.INFO: Processing buffer {"connection_id":126056,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:57:48] local.INFO: IMEI packet received {"connection_id":126056,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":126056,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:57:50] local.INFO: TCP Data received {"connection_id":127336,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127336,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:57:50] local.INFO: Processing buffer {"connection_id":127336,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:57:50] local.INFO: IMEI packet received {"connection_id":127336,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":127336,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:57:51] local.INFO: TCP Data received {"connection_id":127336,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ffa5c00012d0c53800703e310001500ab25..."} 
[2026-07-08 09:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ffa5c00012d0c53800703e310001500ab25..."} 
[2026-07-08 09:57:51] local.INFO: Processing buffer {"connection_id":127336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ffa5c00012d0c53800703e310001500ab25..."} 
[2026-07-08 09:57:51] local.INFO: Packet analysis {"connection_id":127336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ffa"} 
[2026-07-08 09:57:51] local.INFO: Extracted packet for processing {"connection_id":127336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ffa"} 
[2026-07-08 09:57:51] local.INFO: GPS Element Parsed {"raw_longitude":755782528,"raw_latitude":117695248,"longitude_deg":75.5782528,"latitude_deg":11.7695248,"altitude":21,"angle":171,"satellites":37,"speed":6,"hex_longitude":"2d0c5380","hex_latitude":"0703e310","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572108544001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23569702483656704,"note":"Value kept but may cause issues"} 
[2026-07-08 09:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888194319140495360,"note":"Value kept but may cause issues"} 
[2026-07-08 09:57:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 09:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783484800000,"timestamp_ms":1783484800000,"timestamp_seconds":1783484800,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ffa5c00"} 
[2026-07-08 09:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:57: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-07-08 09: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-08 09:57:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127336,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127336,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572108544001,"66":14363,"16":23569702483656704,"94":11008,"24":6,"45":888194319140495360},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-08 09:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572108544001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23569702483656704,"km_value":23569702483656.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:57:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 09:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":888194319140495360,"description":"Unknown IO ID 45"} 
[2026-07-08 09:57:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456572108544001,"power":14363,"odometer":null,"unknown_94":11008,"ignition":6,"unknown_45":888194319140495360}} 
[2026-07-08 09:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":127336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450173,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:57:51] local.INFO: GPS data processed {"connection_id":127336,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:57:51] local.INFO: Acknowledgment sent {"connection_id":127336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:57:52] local.INFO: TCP Data received {"connection_id":126056,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126056,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:57:52] local.INFO: Processing buffer {"connection_id":126056,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:57:52] local.INFO: IMEI packet received {"connection_id":126056,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":126056,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:57:54] local.INFO: TCP Data received {"connection_id":126056,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff8b620012d7d304005ec2cb80015012826..."} 
[2026-07-08 09:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff8b620012d7d304005ec2cb80015012826..."} 
[2026-07-08 09:57:54] local.INFO: Processing buffer {"connection_id":126056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff8b620012d7d304005ec2cb80015012826..."} 
[2026-07-08 09:57:54] local.INFO: Packet analysis {"connection_id":126056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff8"} 
[2026-07-08 09:57:54] local.INFO: Extracted packet for processing {"connection_id":126056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff8"} 
[2026-07-08 09:57:54] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":21,"angle":296,"satellites":38,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572004096001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:57: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-07-08 09:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783484692000,"timestamp_ms":1783484692000,"timestamp_seconds":1783484692,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff8b620"} 
[2026-07-08 09:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:57:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":126056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":126056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":126056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:57:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572004096001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572004096001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:57:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:57:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572004096001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":126056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450174,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:57:54] local.INFO: GPS data processed {"connection_id":126056,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:57:54] local.INFO: Acknowledgment sent {"connection_id":126056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:57:55] local.INFO: TCP Data received {"connection_id":127336,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ffa63d0012d0c54400703e2480015007e25..."} 
[2026-07-08 09:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ffa63d0012d0c54400703e2480015007e25..."} 
[2026-07-08 09:57:55] local.INFO: Processing buffer {"connection_id":127336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ffa63d0012d0c54400703e2480015007e25..."} 
[2026-07-08 09:57:55] local.INFO: Packet analysis {"connection_id":127336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ffa"} 
[2026-07-08 09:57:55] local.INFO: Extracted packet for processing {"connection_id":127336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ffa"} 
[2026-07-08 09:57:55] local.INFO: GPS Element Parsed {"raw_longitude":755782720,"raw_latitude":117695048,"longitude_deg":75.578272,"latitude_deg":11.7695048,"altitude":21,"angle":126,"satellites":37,"speed":5,"hex_longitude":"2d0c5440","hex_latitude":"0703e248","is_valid_coordinates":true} 
[2026-07-08 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-07-08 09:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572108800001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23569711073591296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888194319140458496,"note":"Value kept but may cause issues"} 
[2026-07-08 09:57:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 09:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783484802000,"timestamp_ms":1783484802000,"timestamp_seconds":1783484802,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ffa63d0"} 
[2026-07-08 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-07-08 09:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-08 09:57:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 09:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":127336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":127336,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":127336,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572108800001,"66":14580,"16":23569711073591296,"94":11008,"24":5,"45":888194319140458496},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-08 09:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572108800001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23569711073591296,"km_value":23569711073591.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:57:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 09:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":888194319140458496,"description":"Unknown IO ID 45"} 
[2026-07-08 09:57:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456572108800001,"power":14580,"odometer":null,"unknown_94":11008,"ignition":5,"unknown_45":888194319140458496}} 
[2026-07-08 09:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":127336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450175,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:57:56] local.INFO: GPS data processed {"connection_id":127336,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:57:56] local.INFO: Acknowledgment sent {"connection_id":127336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:57:56] local.INFO: TCP Data received {"connection_id":126057,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:57:56] local.INFO: Processing buffer {"connection_id":126057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:57:56] local.INFO: IMEI packet received {"connection_id":126057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":126057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:57:56] local.INFO: TCP Data received {"connection_id":125339,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125339,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:57:56] local.INFO: Processing buffer {"connection_id":125339,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 09:57:56] local.INFO: IMEI packet received {"connection_id":125339,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 09:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":125339,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:58:01] local.INFO: TCP Data received {"connection_id":126057,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:58:01] local.INFO: Processing buffer {"connection_id":126057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:58:01] local.INFO: IMEI packet received {"connection_id":126057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":126057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:58:03] local.INFO: TCP Data received {"connection_id":126057,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff752a8012d7f980005afe330000001262f..."} 
[2026-07-08 09:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff752a8012d7f980005afe330000001262f..."} 
[2026-07-08 09:58:03] local.INFO: Processing buffer {"connection_id":126057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff752a8012d7f980005afe330000001262f..."} 
[2026-07-08 09:58:03] local.INFO: Packet analysis {"connection_id":126057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff7"} 
[2026-07-08 09:58:03] local.INFO: Extracted packet for processing {"connection_id":126057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff7"} 
[2026-07-08 09:58:03] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 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-07-08 09:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571980800001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 09:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 09:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783484601000,"timestamp_ms":1783484601000,"timestamp_seconds":1783484601,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff752a8"} 
[2026-07-08 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-07-08 09:58: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-07-08 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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-08 09:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 09:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571980800001,"66":25897,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 09:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571980800001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:58:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 09:58:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 09:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571980800001,"power":25897,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 09:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":126057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:58:03] local.INFO: GPS data processed {"connection_id":126057,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:58:03] local.INFO: Acknowledgment sent {"connection_id":126057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:58:26] local.INFO: TCP Data received {"connection_id":126056,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff8b620012d7d304005ec2cb80015012826..."} 
[2026-07-08 09:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff8b620012d7d304005ec2cb80015012826..."} 
[2026-07-08 09:58:26] local.INFO: Processing buffer {"connection_id":126056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff8b620012d7d304005ec2cb80015012826..."} 
[2026-07-08 09:58:26] local.INFO: Packet analysis {"connection_id":126056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff8"} 
[2026-07-08 09:58:26] local.INFO: Extracted packet for processing {"connection_id":126056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff8"} 
[2026-07-08 09:58:26] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":21,"angle":296,"satellites":38,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 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-07-08 09:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572004096001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:58: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-07-08 09:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783484692000,"timestamp_ms":1783484692000,"timestamp_seconds":1783484692,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff8b620"} 
[2026-07-08 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-07-08 09:58:26] 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-07-08 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:58:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 09:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":126056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":126056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":126056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:58:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572004096001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572004096001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:58:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:58:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572004096001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":126056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450177,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:58:26] local.INFO: GPS data processed {"connection_id":126056,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:58:26] local.INFO: Acknowledgment sent {"connection_id":126056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:58:26] local.INFO: TCP Data received {"connection_id":127336,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ffbdad0012d0c63c0070397e8002100d326..."} 
[2026-07-08 09:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ffbdad0012d0c63c0070397e8002100d326..."} 
[2026-07-08 09:58:26] local.INFO: Processing buffer {"connection_id":127336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ffbdad0012d0c63c0070397e8002100d326..."} 
[2026-07-08 09:58:26] local.INFO: Packet analysis {"connection_id":127336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ffb"} 
[2026-07-08 09:58:26] local.INFO: Extracted packet for processing {"connection_id":127336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ffb"} 
[2026-07-08 09:58:26] local.INFO: GPS Element Parsed {"raw_longitude":755786688,"raw_latitude":117676008,"longitude_deg":75.5786688,"latitude_deg":11.7676008,"altitude":33,"angle":211,"satellites":38,"speed":5,"hex_longitude":"2d0c63c0","hex_latitude":"070397e8","is_valid_coordinates":true} 
[2026-07-08 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-07-08 09:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572130560001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23570952319139840,"note":"Value kept but may cause issues"} 
[2026-07-08 09:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892838656251445248,"note":"Value kept but may cause issues"} 
[2026-07-08 09:58:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 09:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783484898000,"timestamp_ms":1783484898000,"timestamp_seconds":1783484898,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ffbdad0"} 
[2026-07-08 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-07-08 09:58: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-07-08 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-08 09:58:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 09:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":127336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":127336,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":127336,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 09:58:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 09:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 09:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572130560001,"66":14450,"16":23570952319139840,"94":11008,"24":5,"45":892838656251445248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-08 09:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 09:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 09:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572130560001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23570952319139840,"km_value":23570952319139.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:58:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 09:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":892838656251445248,"description":"Unknown IO ID 45"} 
[2026-07-08 09:58:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456572130560001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":5,"unknown_45":892838656251445248}} 
[2026-07-08 09:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":127336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450178,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:58:27] local.INFO: GPS data processed {"connection_id":127336,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:58:27] local.INFO: Acknowledgment sent {"connection_id":127336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:58:34] local.INFO: TCP Data received {"connection_id":126057,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff752a8012d7f980005afe330000001262f..."} 
[2026-07-08 09:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff752a8012d7f980005afe330000001262f..."} 
[2026-07-08 09:58:34] local.INFO: Processing buffer {"connection_id":126057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff752a8012d7f980005afe330000001262f..."} 
[2026-07-08 09:58:34] local.INFO: Packet analysis {"connection_id":126057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff7"} 
[2026-07-08 09:58:34] local.INFO: Extracted packet for processing {"connection_id":126057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff7"} 
[2026-07-08 09:58:34] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 09: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-07-08 09:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456571980800001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 09:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 09:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783484601000,"timestamp_ms":1783484601000,"timestamp_seconds":1783484601,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff752a8"} 
[2026-07-08 09:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-08 09:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09: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-07-08 09:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456571980800001,"66":25897,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 09:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456571980800001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:58:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 09:58:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 09:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456571980800001,"power":25897,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 09:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":126057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:58:34] local.INFO: GPS data processed {"connection_id":126057,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:58:34] local.INFO: Acknowledgment sent {"connection_id":126057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:58:42] local.INFO: TCP Data received {"connection_id":125235,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125235,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:58:42] local.INFO: Processing buffer {"connection_id":125235,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:58:42] local.INFO: IMEI packet received {"connection_id":125235,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 09:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":125235,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:58:43] local.INFO: TCP Data received {"connection_id":125235,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125235,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:58:43] local.INFO: Processing buffer {"connection_id":125235,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:58:43] local.INFO: IMEI packet received {"connection_id":125235,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":125235,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:58:44] local.INFO: TCP Data received {"connection_id":125235,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125235,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:58:44] local.INFO: Processing buffer {"connection_id":125235,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:58:44] local.INFO: IMEI packet received {"connection_id":125235,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":125235,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:58:45] local.INFO: TCP Data received {"connection_id":125235,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125235,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:58:45] local.INFO: Processing buffer {"connection_id":125235,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 09:58:45] local.INFO: IMEI packet received {"connection_id":125235,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 09:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":125235,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:58:47] local.INFO: TCP Data received {"connection_id":126058,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126058,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:58:47] local.INFO: Processing buffer {"connection_id":126058,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:58:47] local.INFO: IMEI packet received {"connection_id":126058,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":126058,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:58:52] local.INFO: TCP Data received {"connection_id":126058,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126058,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:58:52] local.INFO: Processing buffer {"connection_id":126058,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:58:52] local.INFO: IMEI packet received {"connection_id":126058,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":126058,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:58:55] local.INFO: TCP Data received {"connection_id":126058,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff8b620012d7d304005ec2cb80015012826..."} 
[2026-07-08 09:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff8b620012d7d304005ec2cb80015012826..."} 
[2026-07-08 09:58:55] local.INFO: Processing buffer {"connection_id":126058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff8b620012d7d304005ec2cb80015012826..."} 
[2026-07-08 09:58:55] local.INFO: Packet analysis {"connection_id":126058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff8"} 
[2026-07-08 09:58:55] local.INFO: Extracted packet for processing {"connection_id":126058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff8"} 
[2026-07-08 09:58:55] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":21,"angle":296,"satellites":38,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572004096001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:58:55] 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-07-08 09:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783484692000,"timestamp_ms":1783484692000,"timestamp_seconds":1783484692,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff8b620"} 
[2026-07-08 09:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:58:55] 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-07-08 09:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:58:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:58:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":126058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":126058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":126058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572004096001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572004096001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:58:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:58:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572004096001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":126058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450180,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:58:55] local.INFO: GPS data processed {"connection_id":126058,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:58:55] local.INFO: Acknowledgment sent {"connection_id":126058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:58:56] local.INFO: TCP Data received {"connection_id":127337,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:58:56] local.INFO: Processing buffer {"connection_id":127337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:58:56] local.INFO: IMEI packet received {"connection_id":127337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":127337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:59:00] local.INFO: TCP Data received {"connection_id":127337,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:59:00] local.INFO: Processing buffer {"connection_id":127337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:59:00] local.INFO: IMEI packet received {"connection_id":127337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 09:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":127337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:59:01] local.INFO: TCP Data received {"connection_id":127337,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ffbea70012d7f980005afe3300000012630..."} 
[2026-07-08 09:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ffbea70012d7f980005afe3300000012630..."} 
[2026-07-08 09:59:01] local.INFO: Processing buffer {"connection_id":127337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ffbea70012d7f980005afe3300000012630..."} 
[2026-07-08 09:59:01] local.INFO: Packet analysis {"connection_id":127337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ffb"} 
[2026-07-08 09:59:01] local.INFO: Extracted packet for processing {"connection_id":127337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ffb"} 
[2026-07-08 09:59:01] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":48,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 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-07-08 09:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572057856001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 09:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 09:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783484902000,"timestamp_ms":1783484902000,"timestamp_seconds":1783484902,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ffbea70"} 
[2026-07-08 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-07-08 09:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-08 09:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 09:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572057856001,"66":25832,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 09:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572057856001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:59:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 09:59:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 09:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572057856001,"power":25832,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 09:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":127337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:59:01] local.INFO: GPS data processed {"connection_id":127337,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:59:01] local.INFO: Acknowledgment sent {"connection_id":127337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:59:29] local.INFO: TCP Data received {"connection_id":126058,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ff8b620012d7d304005ec2cb80015012826..."} 
[2026-07-08 09:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ff8b620012d7d304005ec2cb80015012826..."} 
[2026-07-08 09:59:29] local.INFO: Processing buffer {"connection_id":126058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ff8b620012d7d304005ec2cb80015012826..."} 
[2026-07-08 09:59:29] local.INFO: Packet analysis {"connection_id":126058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ff8"} 
[2026-07-08 09:59:29] local.INFO: Extracted packet for processing {"connection_id":126058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ff8"} 
[2026-07-08 09:59:29] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":21,"angle":296,"satellites":38,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572004096001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:59:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:59:29] 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-07-08 09:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783484692000,"timestamp_ms":1783484692000,"timestamp_seconds":1783484692,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ff8b620"} 
[2026-07-08 09:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:59:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:59:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:59:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":126058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":126058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":126058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:59:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572004096001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572004096001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:59:29] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:59:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:59:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572004096001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":126058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450182,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:59:29] local.INFO: GPS data processed {"connection_id":126058,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:59:29] local.INFO: Acknowledgment sent {"connection_id":126058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:59:32] local.INFO: TCP Data received {"connection_id":127337,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ffbea70012d7f980005afe3300000012630..."} 
[2026-07-08 09:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ffbea70012d7f980005afe3300000012630..."} 
[2026-07-08 09:59:32] local.INFO: Processing buffer {"connection_id":127337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ffbea70012d7f980005afe3300000012630..."} 
[2026-07-08 09:59:32] local.INFO: Packet analysis {"connection_id":127337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ffb"} 
[2026-07-08 09:59:32] local.INFO: Extracted packet for processing {"connection_id":127337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ffb"} 
[2026-07-08 09:59:32] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":48,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 09:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572057856001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 09:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 09:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 09:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783484902000,"timestamp_ms":1783484902000,"timestamp_seconds":1783484902,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ffbea70"} 
[2026-07-08 09:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-08 09:59:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 09:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 09:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 09:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572057856001,"66":25832,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 09:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 09:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 09:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572057856001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:59:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 09:59:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 09:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 09:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572057856001,"power":25832,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 09:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":127337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:59:32] local.INFO: GPS data processed {"connection_id":127337,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:59:32] local.INFO: Acknowledgment sent {"connection_id":127337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:59:53] local.INFO: TCP Data received {"connection_id":127340,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:59:53] local.INFO: Processing buffer {"connection_id":127340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:59:53] local.INFO: IMEI packet received {"connection_id":127340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 09:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":127340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:59:55] local.INFO: TCP Data received {"connection_id":127340,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:59:55] local.INFO: Processing buffer {"connection_id":127340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 09:59:55] local.INFO: IMEI packet received {"connection_id":127340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 09:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":127340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 09:59:56] local.INFO: TCP Data received {"connection_id":126060,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:59:56] local.INFO: Processing buffer {"connection_id":126060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 09:59:56] local.INFO: IMEI packet received {"connection_id":126060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 09:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":126060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 09:59:57] local.INFO: TCP Data received {"connection_id":127340,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ffd4de8012d7d304005ec2cb8001501282a..."} 
[2026-07-08 09:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ffd4de8012d7d304005ec2cb8001501282a..."} 
[2026-07-08 09:59:57] local.INFO: Processing buffer {"connection_id":127340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ffd4de8012d7d304005ec2cb8001501282a..."} 
[2026-07-08 09:59:57] local.INFO: Packet analysis {"connection_id":127340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ffd"} 
[2026-07-08 09:59:57] local.INFO: Extracted packet for processing {"connection_id":127340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ffd"} 
[2026-07-08 09:59:57] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":21,"angle":296,"satellites":42,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572081152001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:59: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-07-08 09:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783484993000,"timestamp_ms":1783484993000,"timestamp_seconds":1783484993,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ffd4de8"} 
[2026-07-08 09:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:59:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:59:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:59:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":127340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":127340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":127340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:59:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572081152001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572081152001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:59:57] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:59:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572081152001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":127340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450184,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:59:57] local.INFO: GPS data processed {"connection_id":127340,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:59:57] local.INFO: Acknowledgment sent {"connection_id":127340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 09:59:59] local.INFO: TCP Data received {"connection_id":127340,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ffd4de8012d7d304005ec2cb8001501282a..."} 
[2026-07-08 09:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ffd4de8012d7d304005ec2cb8001501282a..."} 
[2026-07-08 09:59:59] local.INFO: Processing buffer {"connection_id":127340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ffd4de8012d7d304005ec2cb8001501282a..."} 
[2026-07-08 09:59:59] local.INFO: Packet analysis {"connection_id":127340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ffd"} 
[2026-07-08 09:59:59] local.INFO: Extracted packet for processing {"connection_id":127340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ffd"} 
[2026-07-08 09:59:59] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":21,"angle":296,"satellites":42,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 09:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 09:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572081152001,"note":"Value kept but may cause issues"} 
[2026-07-08 09:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 09:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 09:59:59] 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-07-08 09:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783484993000,"timestamp_ms":1783484993000,"timestamp_seconds":1783484993,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ffd4de8"} 
[2026-07-08 09:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 09:59: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-07-08 09:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 09:59:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 09:59:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 09:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 09:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 09:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":127340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 09:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":127340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":127340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 09:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 09:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 09:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 09:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572081152001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 09:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 09:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 09:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572081152001,"description":"Unknown IO ID 0"} 
[2026-07-08 09:59:59] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 09:59:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 09:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 09:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 09:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572081152001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 09:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":127340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450185,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 09:59:59] local.INFO: GPS data processed {"connection_id":127340,"processed":1,"errors":0,"total":1} 
[2026-07-08 09:59:59] local.INFO: Acknowledgment sent {"connection_id":127340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:00:01] local.INFO: TCP Data received {"connection_id":126060,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:00:01] local.INFO: Processing buffer {"connection_id":126060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:00:01] local.INFO: IMEI packet received {"connection_id":126060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":126060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:00:02] local.INFO: TCP Data received {"connection_id":126060,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ffbea70012d7f980005afe3300000012630..."} 
[2026-07-08 10:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ffbea70012d7f980005afe3300000012630..."} 
[2026-07-08 10:00:02] local.INFO: Processing buffer {"connection_id":126060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ffbea70012d7f980005afe3300000012630..."} 
[2026-07-08 10:00:02] local.INFO: Packet analysis {"connection_id":126060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ffb"} 
[2026-07-08 10:00:02] local.INFO: Extracted packet for processing {"connection_id":126060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ffb"} 
[2026-07-08 10:00:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":48,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572057856001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783484902000,"timestamp_ms":1783484902000,"timestamp_seconds":1783484902,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ffbea70"} 
[2026-07-08 10:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:00:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-08 10:00:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572057856001,"66":25832,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572057856001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:00:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:00:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572057856001,"power":25832,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":126060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:00:02] local.INFO: GPS data processed {"connection_id":126060,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:00:02] local.INFO: Acknowledgment sent {"connection_id":126060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:00:31] local.INFO: TCP Data received {"connection_id":127340,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ffd4de8012d7d304005ec2cb8001501282a..."} 
[2026-07-08 10:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ffd4de8012d7d304005ec2cb8001501282a..."} 
[2026-07-08 10:00:31] local.INFO: Processing buffer {"connection_id":127340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ffd4de8012d7d304005ec2cb8001501282a..."} 
[2026-07-08 10:00:31] local.INFO: Packet analysis {"connection_id":127340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ffd"} 
[2026-07-08 10:00:31] local.INFO: Extracted packet for processing {"connection_id":127340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ffd"} 
[2026-07-08 10:00:31] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99364024,"longitude_deg":76.3179072,"latitude_deg":9.9364024,"altitude":21,"angle":296,"satellites":42,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-07-08 10:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572081152001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 10:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447804471296,"note":"Value kept but may cause issues"} 
[2026-07-08 10:00:31] 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-07-08 10:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783484993000,"timestamp_ms":1783484993000,"timestamp_seconds":1783484993,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ffd4de8"} 
[2026-07-08 10:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:00: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":183,"data_length":795,"current_offset":136} 
[2026-07-08 10:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:00:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":127340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":127340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 10:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":127340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 10:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 10:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 10:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572081152001,"66":2231,"110":206,"87":13824,"24":0,"16":103703475715571712,"45":9020780447804471296},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 10:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 10:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 10:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572081152001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:00:31] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 10:00:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 10:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447804471296,"description":"Unknown IO ID 45"} 
[2026-07-08 10:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572081152001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447804471296}} 
[2026-07-08 10:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":127340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450187,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:00:31] local.INFO: GPS data processed {"connection_id":127340,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:00:31] local.INFO: Acknowledgment sent {"connection_id":127340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:00:33] local.INFO: TCP Data received {"connection_id":126060,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ffbea70012d7f980005afe3300000012630..."} 
[2026-07-08 10:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ffbea70012d7f980005afe3300000012630..."} 
[2026-07-08 10:00:33] local.INFO: Processing buffer {"connection_id":126060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ffbea70012d7f980005afe3300000012630..."} 
[2026-07-08 10:00:33] local.INFO: Packet analysis {"connection_id":126060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ffb"} 
[2026-07-08 10:00:33] local.INFO: Extracted packet for processing {"connection_id":126060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ffb"} 
[2026-07-08 10:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":48,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572057856001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783484902000,"timestamp_ms":1783484902000,"timestamp_seconds":1783484902,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ffbea70"} 
[2026-07-08 10:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-08 10:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572057856001,"66":25832,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572057856001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:00:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:00:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572057856001,"power":25832,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":126060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:00:33] local.INFO: GPS data processed {"connection_id":126060,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:00:33] local.INFO: Acknowledgment sent {"connection_id":126060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:00:47] local.INFO: TCP Data received {"connection_id":125237,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 10:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125237,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 10:00:47] local.INFO: Processing buffer {"connection_id":125237,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 10:00:47] local.INFO: IMEI packet received {"connection_id":125237,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 10:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":125237,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:00:56] local.INFO: TCP Data received {"connection_id":125239,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:00:56] local.INFO: Processing buffer {"connection_id":125239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:00:56] local.INFO: IMEI packet received {"connection_id":125239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":125239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:01:01] local.INFO: TCP Data received {"connection_id":125239,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:01:01] local.INFO: Processing buffer {"connection_id":125239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:01:01] local.INFO: IMEI packet received {"connection_id":125239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":125239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:01:01] local.INFO: TCP Data received {"connection_id":125239,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ffbea70012d7f980005afe3300000012630..."} 
[2026-07-08 10:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ffbea70012d7f980005afe3300000012630..."} 
[2026-07-08 10:01:01] local.INFO: Processing buffer {"connection_id":125239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ffbea70012d7f980005afe3300000012630..."} 
[2026-07-08 10:01:01] local.INFO: Packet analysis {"connection_id":125239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ffb"} 
[2026-07-08 10:01:01] local.INFO: Extracted packet for processing {"connection_id":125239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ffb"} 
[2026-07-08 10:01:01] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":48,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572057856001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:01:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783484902000,"timestamp_ms":1783484902000,"timestamp_seconds":1783484902,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ffbea70"} 
[2026-07-08 10:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:01:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-08 10:01:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:01:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572057856001,"66":25832,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572057856001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:01:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:01:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572057856001,"power":25832,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":125239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:01:02] local.INFO: GPS data processed {"connection_id":125239,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:01:02] local.INFO: Acknowledgment sent {"connection_id":125239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:01:33] local.INFO: TCP Data received {"connection_id":125239,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ffbea70012d7f980005afe3300000012630..."} 
[2026-07-08 10:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ffbea70012d7f980005afe3300000012630..."} 
[2026-07-08 10:01:33] local.INFO: Processing buffer {"connection_id":125239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ffbea70012d7f980005afe3300000012630..."} 
[2026-07-08 10:01:33] local.INFO: Packet analysis {"connection_id":125239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ffb"} 
[2026-07-08 10:01:33] local.INFO: Extracted packet for processing {"connection_id":125239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ffb"} 
[2026-07-08 10:01:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":48,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572057856001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783484902000,"timestamp_ms":1783484902000,"timestamp_seconds":1783484902,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ffbea70"} 
[2026-07-08 10:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-08 10:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:01:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572057856001,"66":25832,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572057856001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:01:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:01:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572057856001,"power":25832,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":125239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:01:33] local.INFO: GPS data processed {"connection_id":125239,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:01:33] local.INFO: Acknowledgment sent {"connection_id":125239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:02:01] local.INFO: TCP Data received {"connection_id":127341,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:02:01] local.INFO: Processing buffer {"connection_id":127341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:02:01] local.INFO: IMEI packet received {"connection_id":127341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":127341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:02:06] local.INFO: TCP Data received {"connection_id":127341,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:02:06] local.INFO: Processing buffer {"connection_id":127341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:02:06] local.INFO: IMEI packet received {"connection_id":127341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":127341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:02:07] local.INFO: TCP Data received {"connection_id":127341,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ffbea70012d7f980005afe3300000012630..."} 
[2026-07-08 10:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ffbea70012d7f980005afe3300000012630..."} 
[2026-07-08 10:02:07] local.INFO: Processing buffer {"connection_id":127341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ffbea70012d7f980005afe3300000012630..."} 
[2026-07-08 10:02:07] local.INFO: Packet analysis {"connection_id":127341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ffb"} 
[2026-07-08 10:02:07] local.INFO: Extracted packet for processing {"connection_id":127341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ffb"} 
[2026-07-08 10:02:07] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":48,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572057856001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783484902000,"timestamp_ms":1783484902000,"timestamp_seconds":1783484902,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ffbea70"} 
[2026-07-08 10:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-08 10:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572057856001,"66":25832,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572057856001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:02:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:02:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572057856001,"power":25832,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":127341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:02:07] local.INFO: GPS data processed {"connection_id":127341,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:02:07] local.INFO: Acknowledgment sent {"connection_id":127341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:02:38] local.INFO: TCP Data received {"connection_id":127341,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ffbea70012d7f980005afe3300000012630..."} 
[2026-07-08 10:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ffbea70012d7f980005afe3300000012630..."} 
[2026-07-08 10:02:38] local.INFO: Processing buffer {"connection_id":127341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ffbea70012d7f980005afe3300000012630..."} 
[2026-07-08 10:02:38] local.INFO: Packet analysis {"connection_id":127341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ffb"} 
[2026-07-08 10:02:38] local.INFO: Extracted packet for processing {"connection_id":127341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ffb"} 
[2026-07-08 10:02:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":48,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572057856001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783484902000,"timestamp_ms":1783484902000,"timestamp_seconds":1783484902,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ffbea70"} 
[2026-07-08 10:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-08 10:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572057856001,"66":25832,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572057856001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:02:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:02:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572057856001,"power":25832,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":127341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:02:38] local.INFO: GPS data processed {"connection_id":127341,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:02:38] local.INFO: Acknowledgment sent {"connection_id":127341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:02:56] local.INFO: TCP Data received {"connection_id":126063,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:02:56] local.INFO: Processing buffer {"connection_id":126063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:02:56] local.INFO: IMEI packet received {"connection_id":126063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":126063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:03:01] local.INFO: TCP Data received {"connection_id":126063,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:03:01] local.INFO: Processing buffer {"connection_id":126063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:03:01] local.INFO: IMEI packet received {"connection_id":126063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":126063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:03:02] local.INFO: TCP Data received {"connection_id":126063,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ffbea70012d7f980005afe3300000012630..."} 
[2026-07-08 10:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ffbea70012d7f980005afe3300000012630..."} 
[2026-07-08 10:03:02] local.INFO: Processing buffer {"connection_id":126063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ffbea70012d7f980005afe3300000012630..."} 
[2026-07-08 10:03:02] local.INFO: Packet analysis {"connection_id":126063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ffb"} 
[2026-07-08 10:03:02] local.INFO: Extracted packet for processing {"connection_id":126063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ffb"} 
[2026-07-08 10:03:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":48,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572057856001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783484902000,"timestamp_ms":1783484902000,"timestamp_seconds":1783484902,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ffbea70"} 
[2026-07-08 10:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-08 10:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:03:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572057856001,"66":25832,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572057856001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:03:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:03:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572057856001,"power":25832,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":126063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:03:02] local.INFO: GPS data processed {"connection_id":126063,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:03:02] local.INFO: Acknowledgment sent {"connection_id":126063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:03:16] local.INFO: TCP Data received {"connection_id":125341,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125341,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:03:16] local.INFO: Processing buffer {"connection_id":125341,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:03:16] local.INFO: IMEI packet received {"connection_id":125341,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 10:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":125341,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:03:33] local.INFO: TCP Data received {"connection_id":126063,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3ffbea70012d7f980005afe3300000012630..."} 
[2026-07-08 10:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3ffbea70012d7f980005afe3300000012630..."} 
[2026-07-08 10:03:33] local.INFO: Processing buffer {"connection_id":126063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3ffbea70012d7f980005afe3300000012630..."} 
[2026-07-08 10:03:33] local.INFO: Packet analysis {"connection_id":126063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3ffb"} 
[2026-07-08 10:03:33] local.INFO: Extracted packet for processing {"connection_id":126063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3ffb"} 
[2026-07-08 10:03:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":48,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572057856001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783484902000,"timestamp_ms":1783484902000,"timestamp_seconds":1783484902,"priority":1,"record_length":96,"hex_timestamp":"0000019f3ffbea70"} 
[2026-07-08 10:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-08 10:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:03:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572057856001,"66":25832,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572057856001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:03:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:03:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572057856001,"power":25832,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":126063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:03:33] local.INFO: GPS data processed {"connection_id":126063,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:03:33] local.INFO: Acknowledgment sent {"connection_id":126063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:03:55] local.INFO: TCP Data received {"connection_id":126065,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126065,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:03:55] local.INFO: Processing buffer {"connection_id":126065,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:03:55] local.INFO: IMEI packet received {"connection_id":126065,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":126065,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:03:57] local.INFO: TCP Data received {"connection_id":126064,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126064,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:03:57] local.INFO: Processing buffer {"connection_id":126064,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:03:57] local.INFO: IMEI packet received {"connection_id":126064,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 10:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":126064,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:04:00] local.INFO: TCP Data received {"connection_id":126065,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126065,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:04:00] local.INFO: Processing buffer {"connection_id":126065,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:04:00] local.INFO: IMEI packet received {"connection_id":126065,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":126065,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:04:01] local.INFO: TCP Data received {"connection_id":126065,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4000a560012d0b6dc0070344e80016012623..."} 
[2026-07-08 10:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4000a560012d0b6dc0070344e80016012623..."} 
[2026-07-08 10:04:01] local.INFO: Processing buffer {"connection_id":126065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4000a560012d0b6dc0070344e80016012623..."} 
[2026-07-08 10:04:01] local.INFO: Packet analysis {"connection_id":126065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4000"} 
[2026-07-08 10:04:01] local.INFO: Extracted packet for processing {"connection_id":126065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4000"} 
[2026-07-08 10:04:01] local.INFO: GPS Element Parsed {"raw_longitude":755723712,"raw_latitude":117654760,"longitude_deg":75.5723712,"latitude_deg":11.765476,"altitude":22,"angle":294,"satellites":35,"speed":0,"hex_longitude":"2d0b6dc0","hex_latitude":"070344e8","is_valid_coordinates":true} 
[2026-07-08 10:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572209152001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23575084077678592,"note":"Value kept but may cause issues"} 
[2026-07-08 10:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":823947655695878144,"note":"Value kept but may cause issues"} 
[2026-07-08 10:04: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-07-08 10:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783485212000,"timestamp_ms":1783485212000,"timestamp_seconds":1783485212,"priority":1,"record_length":96,"hex_timestamp":"0000019f4000a560"} 
[2026-07-08 10:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:04: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-07-08 10:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-08 10:04:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:04:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126065,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126065,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572209152001,"66":14515,"17":206,"94":11008,"24":0,"16":23575084077678592,"45":823947655695878144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572209152001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:04:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23575084077678592,"km_value":23575084077678.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":823947655695878144,"description":"Unknown IO ID 45"} 
[2026-07-08 10:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572209152001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":823947655695878144}} 
[2026-07-08 10:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":126065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450195,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:04:01] local.INFO: GPS data processed {"connection_id":126065,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:04:01] local.INFO: Acknowledgment sent {"connection_id":126065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:04:04] local.INFO: TCP Data received {"connection_id":127342,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:04:04] local.INFO: Processing buffer {"connection_id":127342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:04:04] local.INFO: IMEI packet received {"connection_id":127342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":127342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:04:04] local.INFO: TCP Data received {"connection_id":127342,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:04:04] local.INFO: Processing buffer {"connection_id":127342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:04:04] local.INFO: IMEI packet received {"connection_id":127342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":127342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:04:05] local.INFO: TCP Data received {"connection_id":127342,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40008238012d7f980005afe330000001262e..."} 
[2026-07-08 10:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40008238012d7f980005afe330000001262e..."} 
[2026-07-08 10:04:05] local.INFO: Processing buffer {"connection_id":127342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40008238012d7f980005afe330000001262e..."} 
[2026-07-08 10:04:05] local.INFO: Packet analysis {"connection_id":127342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4000"} 
[2026-07-08 10:04:05] local.INFO: Extracted packet for processing {"connection_id":127342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4000"} 
[2026-07-08 10:04:05] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":46,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572134912001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783485203000,"timestamp_ms":1783485203000,"timestamp_seconds":1783485203,"priority":1,"record_length":96,"hex_timestamp":"0000019f40008238"} 
[2026-07-08 10:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-08 10:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572134912001,"66":25702,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572134912001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:04:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:04:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572134912001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":127342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:04:05] local.INFO: GPS data processed {"connection_id":127342,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:04:05] local.INFO: Acknowledgment sent {"connection_id":127342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:04:05] local.INFO: TCP Data received {"connection_id":127342,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40008238012d7f980005afe330000001262e..."} 
[2026-07-08 10:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40008238012d7f980005afe330000001262e..."} 
[2026-07-08 10:04:05] local.INFO: Processing buffer {"connection_id":127342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40008238012d7f980005afe330000001262e..."} 
[2026-07-08 10:04:05] local.INFO: Packet analysis {"connection_id":127342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4000"} 
[2026-07-08 10:04:05] local.INFO: Extracted packet for processing {"connection_id":127342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4000"} 
[2026-07-08 10:04:05] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":46,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572134912001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783485203000,"timestamp_ms":1783485203000,"timestamp_seconds":1783485203,"priority":1,"record_length":96,"hex_timestamp":"0000019f40008238"} 
[2026-07-08 10:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-08 10:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572134912001,"66":25702,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572134912001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:04:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:04:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572134912001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":127342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:04:05] local.INFO: GPS data processed {"connection_id":127342,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:04:05] local.INFO: Acknowledgment sent {"connection_id":127342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:04:37] local.INFO: TCP Data received {"connection_id":127342,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40008238012d7f980005afe330000001262e..."} 
[2026-07-08 10:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40008238012d7f980005afe330000001262e..."} 
[2026-07-08 10:04:37] local.INFO: Processing buffer {"connection_id":127342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40008238012d7f980005afe330000001262e..."} 
[2026-07-08 10:04:37] local.INFO: Packet analysis {"connection_id":127342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4000"} 
[2026-07-08 10:04:37] local.INFO: Extracted packet for processing {"connection_id":127342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4000"} 
[2026-07-08 10:04:37] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":46,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572134912001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783485203000,"timestamp_ms":1783485203000,"timestamp_seconds":1783485203,"priority":1,"record_length":96,"hex_timestamp":"0000019f40008238"} 
[2026-07-08 10:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-08 10:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572134912001,"66":25702,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572134912001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:04:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:04:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572134912001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":127342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:04:37] local.INFO: GPS data processed {"connection_id":127342,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:04:37] local.INFO: Acknowledgment sent {"connection_id":127342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:04:56] local.INFO: TCP Data received {"connection_id":126067,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:04:56] local.INFO: Processing buffer {"connection_id":126067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:04:56] local.INFO: IMEI packet received {"connection_id":126067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":126067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:05:01] local.INFO: TCP Data received {"connection_id":126067,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:05:01] local.INFO: Processing buffer {"connection_id":126067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:05:01] local.INFO: IMEI packet received {"connection_id":126067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":126067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:05:02] local.INFO: TCP Data received {"connection_id":126067,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40008238012d7f980005afe330000001262e..."} 
[2026-07-08 10:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40008238012d7f980005afe330000001262e..."} 
[2026-07-08 10:05:02] local.INFO: Processing buffer {"connection_id":126067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40008238012d7f980005afe330000001262e..."} 
[2026-07-08 10:05:02] local.INFO: Packet analysis {"connection_id":126067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4000"} 
[2026-07-08 10:05:02] local.INFO: Extracted packet for processing {"connection_id":126067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4000"} 
[2026-07-08 10:05:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":46,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572134912001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783485203000,"timestamp_ms":1783485203000,"timestamp_seconds":1783485203,"priority":1,"record_length":96,"hex_timestamp":"0000019f40008238"} 
[2026-07-08 10:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:05:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-08 10:05:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:05:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572134912001,"66":25702,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572134912001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:05:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:05:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572134912001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":126067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:05:03] local.INFO: GPS data processed {"connection_id":126067,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:05:03] local.INFO: Acknowledgment sent {"connection_id":126067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:05:34] local.INFO: TCP Data received {"connection_id":126067,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40008238012d7f980005afe330000001262e..."} 
[2026-07-08 10:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40008238012d7f980005afe330000001262e..."} 
[2026-07-08 10:05:34] local.INFO: Processing buffer {"connection_id":126067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40008238012d7f980005afe330000001262e..."} 
[2026-07-08 10:05:34] local.INFO: Packet analysis {"connection_id":126067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4000"} 
[2026-07-08 10:05:34] local.INFO: Extracted packet for processing {"connection_id":126067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4000"} 
[2026-07-08 10:05:34] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":46,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572134912001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783485203000,"timestamp_ms":1783485203000,"timestamp_seconds":1783485203,"priority":1,"record_length":96,"hex_timestamp":"0000019f40008238"} 
[2026-07-08 10:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-08 10:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572134912001,"66":25702,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572134912001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:05:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:05:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572134912001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":126067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:05:34] local.INFO: GPS data processed {"connection_id":126067,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:05:34] local.INFO: Acknowledgment sent {"connection_id":126067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:05:53] local.INFO: TCP Data received {"connection_id":125240,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125240,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:05:53] local.INFO: Processing buffer {"connection_id":125240,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:05:53] local.INFO: IMEI packet received {"connection_id":125240,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":125240,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:05:55] local.INFO: TCP Data received {"connection_id":125240,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125240,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:05:55] local.INFO: Processing buffer {"connection_id":125240,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:05:55] local.INFO: IMEI packet received {"connection_id":125240,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":125240,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:05:57] local.INFO: TCP Data received {"connection_id":125240,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125240,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:05:57] local.INFO: Processing buffer {"connection_id":125240,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:05:57] local.INFO: IMEI packet received {"connection_id":125240,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":125240,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:05:58] local.INFO: TCP Data received {"connection_id":125240,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f400233d0012d0b404007037d500017003e24..."} 
[2026-07-08 10:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f400233d0012d0b404007037d500017003e24..."} 
[2026-07-08 10:05:58] local.INFO: Processing buffer {"connection_id":125240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f400233d0012d0b404007037d500017003e24..."} 
[2026-07-08 10:05:58] local.INFO: Packet analysis {"connection_id":125240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4002"} 
[2026-07-08 10:05:58] local.INFO: Extracted packet for processing {"connection_id":125240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4002"} 
[2026-07-08 10:05:58] local.INFO: GPS Element Parsed {"raw_longitude":755712064,"raw_latitude":117669200,"longitude_deg":75.5712064,"latitude_deg":11.76692,"altitude":23,"angle":62,"satellites":36,"speed":15,"hex_longitude":"2d0b4040","hex_latitude":"07037d50","is_valid_coordinates":true} 
[2026-07-08 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-07-08 10:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572239872001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23576617381003264,"note":"Value kept but may cause issues"} 
[2026-07-08 10:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":809944275608184832,"note":"Value kept but may cause issues"} 
[2026-07-08 10:05:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783485314000,"timestamp_ms":1783485314000,"timestamp_seconds":1783485314,"priority":1,"record_length":96,"hex_timestamp":"0000019f400233d0"} 
[2026-07-08 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-07-08 10:05:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-08 10:05:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 10:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":125240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":125240,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":125240,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:05:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572239872001,"66":14428,"37":206,"94":11008,"24":15,"16":23576617381003264,"45":809944275608184832},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-08 10:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572239872001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:05:58] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-08 10:05:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23576617381003264,"km_value":23576617381003.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":809944275608184832,"description":"Unknown IO ID 45"} 
[2026-07-08 10:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572239872001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":809944275608184832}} 
[2026-07-08 10:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":125240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450201,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:05:58] local.INFO: GPS data processed {"connection_id":125240,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:05:58] local.INFO: Acknowledgment sent {"connection_id":125240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:06:01] local.INFO: TCP Data received {"connection_id":125343,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:06:01] local.INFO: Processing buffer {"connection_id":125343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:06:01] local.INFO: IMEI packet received {"connection_id":125343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":125343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:06:06] local.INFO: TCP Data received {"connection_id":125343,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:06:06] local.INFO: Processing buffer {"connection_id":125343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:06:06] local.INFO: IMEI packet received {"connection_id":125343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":125343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:06:07] local.INFO: TCP Data received {"connection_id":125343,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40008238012d7f980005afe330000001262e..."} 
[2026-07-08 10:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40008238012d7f980005afe330000001262e..."} 
[2026-07-08 10:06:07] local.INFO: Processing buffer {"connection_id":125343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40008238012d7f980005afe330000001262e..."} 
[2026-07-08 10:06:07] local.INFO: Packet analysis {"connection_id":125343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4000"} 
[2026-07-08 10:06:07] local.INFO: Extracted packet for processing {"connection_id":125343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4000"} 
[2026-07-08 10:06:07] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":46,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572134912001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783485203000,"timestamp_ms":1783485203000,"timestamp_seconds":1783485203,"priority":1,"record_length":96,"hex_timestamp":"0000019f40008238"} 
[2026-07-08 10:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-08 10:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572134912001,"66":25702,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572134912001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:06:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:06:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572134912001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":125343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:06:07] local.INFO: GPS data processed {"connection_id":125343,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:06:07] local.INFO: Acknowledgment sent {"connection_id":125343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:06:12] local.INFO: TCP Data received {"connection_id":125343,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40008238012d7f980005afe330000001262e..."} 
[2026-07-08 10:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40008238012d7f980005afe330000001262e..."} 
[2026-07-08 10:06:12] local.INFO: Processing buffer {"connection_id":125343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40008238012d7f980005afe330000001262e..."} 
[2026-07-08 10:06:12] local.INFO: Packet analysis {"connection_id":125343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4000"} 
[2026-07-08 10:06:12] local.INFO: Extracted packet for processing {"connection_id":125343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4000"} 
[2026-07-08 10:06:12] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":46,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572134912001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783485203000,"timestamp_ms":1783485203000,"timestamp_seconds":1783485203,"priority":1,"record_length":96,"hex_timestamp":"0000019f40008238"} 
[2026-07-08 10:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-08 10:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572134912001,"66":25702,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572134912001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:06:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:06:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572134912001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":125343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:06:12] local.INFO: GPS data processed {"connection_id":125343,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:06:12] local.INFO: Acknowledgment sent {"connection_id":125343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:06:29] local.INFO: TCP Data received {"connection_id":125240,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f400331b8012d0b35000703fe70000f001724..."} 
[2026-07-08 10:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f400331b8012d0b35000703fe70000f001724..."} 
[2026-07-08 10:06:29] local.INFO: Processing buffer {"connection_id":125240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f400331b8012d0b35000703fe70000f001724..."} 
[2026-07-08 10:06:29] local.INFO: Packet analysis {"connection_id":125240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4003"} 
[2026-07-08 10:06:29] local.INFO: Extracted packet for processing {"connection_id":125240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4003"} 
[2026-07-08 10:06:29] local.INFO: GPS Element Parsed {"raw_longitude":755709184,"raw_latitude":117702256,"longitude_deg":75.5709184,"latitude_deg":11.7702256,"altitude":15,"angle":23,"satellites":36,"speed":16,"hex_longitude":"2d0b3500","hex_latitude":"0703fe70","is_valid_coordinates":true} 
[2026-07-08 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-07-08 10:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572256768001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23578309598117888,"note":"Value kept but may cause issues"} 
[2026-07-08 10:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":807340632082024448,"note":"Value kept but may cause issues"} 
[2026-07-08 10:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783485379000,"timestamp_ms":1783485379000,"timestamp_seconds":1783485379,"priority":1,"record_length":96,"hex_timestamp":"0000019f400331b8"} 
[2026-07-08 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-07-08 10:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-08 10:06:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 10:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":125240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":125240,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":125240,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:06:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572256768001,"66":14450,"96":206,"94":10240,"24":16,"16":23578309598117888,"45":807340632082024448},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-08 10:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572256768001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:06:29] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-08 10:06:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 10:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23578309598117888,"km_value":23578309598117.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":807340632082024448,"description":"Unknown IO ID 45"} 
[2026-07-08 10:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572256768001,"power":14450,"unknown_96":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":807340632082024448}} 
[2026-07-08 10:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":125240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450204,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:06:29] local.INFO: GPS data processed {"connection_id":125240,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:06:29] local.INFO: Acknowledgment sent {"connection_id":125240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:06:45] local.INFO: TCP Data received {"connection_id":126068,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126068,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:06:45] local.INFO: Processing buffer {"connection_id":126068,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:06:45] local.INFO: IMEI packet received {"connection_id":126068,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":126068,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:06:46] local.INFO: TCP Data received {"connection_id":126068,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126068,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:06:46] local.INFO: Processing buffer {"connection_id":126068,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:06:46] local.INFO: IMEI packet received {"connection_id":126068,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":126068,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:06:50] local.INFO: TCP Data received {"connection_id":126068,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126068,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:06:50] local.INFO: Processing buffer {"connection_id":126068,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:06:50] local.INFO: IMEI packet received {"connection_id":126068,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":126068,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:06:51] local.INFO: TCP Data received {"connection_id":126068,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f400335a0012d0b35c00703ffd0000f002324..."} 
[2026-07-08 10:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f400335a0012d0b35c00703ffd0000f002324..."} 
[2026-07-08 10:06:51] local.INFO: Processing buffer {"connection_id":126068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f400335a0012d0b35c00703ffd0000f002324..."} 
[2026-07-08 10:06:51] local.INFO: Packet analysis {"connection_id":126068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4003"} 
[2026-07-08 10:06:51] local.INFO: Extracted packet for processing {"connection_id":126068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4003"} 
[2026-07-08 10:06:51] local.INFO: GPS Element Parsed {"raw_longitude":755709376,"raw_latitude":117702608,"longitude_deg":75.5709376,"latitude_deg":11.7702608,"altitude":15,"angle":35,"satellites":36,"speed":16,"hex_longitude":"2d0b35c0","hex_latitude":"0703ffd0","is_valid_coordinates":true} 
[2026-07-08 10:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572257024001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23578331072954368,"note":"Value kept but may cause issues"} 
[2026-07-08 10:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":807551738314649600,"note":"Value kept but may cause issues"} 
[2026-07-08 10:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783485380000,"timestamp_ms":1783485380000,"timestamp_seconds":1783485380,"priority":1,"record_length":96,"hex_timestamp":"0000019f400335a0"} 
[2026-07-08 10:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 10:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-08 10:06: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-07-08 10:06:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126068,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126068,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572257024001,"66":14515,"96":206,"94":10240,"24":16,"16":23578331072954368,"45":807551738314649600},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-08 10:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572257024001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:06:51] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-08 10:06:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 10:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23578331072954368,"km_value":23578331072954.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":807551738314649600,"description":"Unknown IO ID 45"} 
[2026-07-08 10:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572257024001,"power":14515,"unknown_96":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":807551738314649600}} 
[2026-07-08 10:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":126068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450205,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:06:51] local.INFO: GPS data processed {"connection_id":126068,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:06:51] local.INFO: Acknowledgment sent {"connection_id":126068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:06:54] local.INFO: TCP Data received {"connection_id":126068,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f40034d10012d0b3b4007040a70000d001624..."} 
[2026-07-08 10:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40034d10012d0b3b4007040a70000d001624..."} 
[2026-07-08 10:06:54] local.INFO: Processing buffer {"connection_id":126068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40034d10012d0b3b4007040a70000d001624..."} 
[2026-07-08 10:06:54] local.INFO: Packet analysis {"connection_id":126068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4003"} 
[2026-07-08 10:06:54] local.INFO: Extracted packet for processing {"connection_id":126068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4003"} 
[2026-07-08 10:06:54] local.INFO: GPS Element Parsed {"raw_longitude":755710784,"raw_latitude":117705328,"longitude_deg":75.5710784,"latitude_deg":11.7705328,"altitude":13,"angle":22,"satellites":36,"speed":21,"hex_longitude":"2d0b3b40","hex_latitude":"07040a70","is_valid_coordinates":true} 
[2026-07-08 10:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572257280001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23578477101842432,"note":"Value kept but may cause issues"} 
[2026-07-08 10:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":807762844547272704,"note":"Value kept but may cause issues"} 
[2026-07-08 10:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783485386000,"timestamp_ms":1783485386000,"timestamp_seconds":1783485386,"priority":1,"record_length":96,"hex_timestamp":"0000019f40034d10"} 
[2026-07-08 10:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 10:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 10:06:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:06:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":126068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":126068,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":126068,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572257280001,"66":14515,"96":206,"94":10240,"24":21,"16":23578477101842432,"45":807762844547272704},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-08 10:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572257280001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:06:54] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-08 10:06:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 10:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23578477101842432,"km_value":23578477101842.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":807762844547272704,"description":"Unknown IO ID 45"} 
[2026-07-08 10:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572257280001,"power":14515,"unknown_96":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":807762844547272704}} 
[2026-07-08 10:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":126068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450206,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:06:55] local.INFO: GPS data processed {"connection_id":126068,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:06:55] local.INFO: Acknowledgment sent {"connection_id":126068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:06:56] local.INFO: TCP Data received {"connection_id":126069,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:06:56] local.INFO: Processing buffer {"connection_id":126069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:06:56] local.INFO: IMEI packet received {"connection_id":126069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":126069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:07:01] local.INFO: TCP Data received {"connection_id":126069,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:07:01] local.INFO: Processing buffer {"connection_id":126069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:07:01] local.INFO: IMEI packet received {"connection_id":126069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":126069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:07:02] local.INFO: TCP Data received {"connection_id":126069,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40008238012d7f980005afe330000001262e..."} 
[2026-07-08 10:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40008238012d7f980005afe330000001262e..."} 
[2026-07-08 10:07:02] local.INFO: Processing buffer {"connection_id":126069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40008238012d7f980005afe330000001262e..."} 
[2026-07-08 10:07:02] local.INFO: Packet analysis {"connection_id":126069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4000"} 
[2026-07-08 10:07:02] local.INFO: Extracted packet for processing {"connection_id":126069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4000"} 
[2026-07-08 10:07:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":46,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572134912001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783485203000,"timestamp_ms":1783485203000,"timestamp_seconds":1783485203,"priority":1,"record_length":96,"hex_timestamp":"0000019f40008238"} 
[2026-07-08 10:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-08 10:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:07:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572134912001,"66":25702,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572134912001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:07:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:07:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572134912001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":126069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:07:02] local.INFO: GPS data processed {"connection_id":126069,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:07:02] local.INFO: Acknowledgment sent {"connection_id":126069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:07:25] local.INFO: TCP Data received {"connection_id":126068,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f400358c8012d0b3d0007041130000c000923..."} 
[2026-07-08 10:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f400358c8012d0b3d0007041130000c000923..."} 
[2026-07-08 10:07:25] local.INFO: Processing buffer {"connection_id":126068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f400358c8012d0b3d0007041130000c000923..."} 
[2026-07-08 10:07:25] local.INFO: Packet analysis {"connection_id":126068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4003"} 
[2026-07-08 10:07:25] local.INFO: Extracted packet for processing {"connection_id":126068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4003"} 
[2026-07-08 10:07:25] local.INFO: GPS Element Parsed {"raw_longitude":755711232,"raw_latitude":117707056,"longitude_deg":75.5711232,"latitude_deg":11.7707056,"altitude":12,"angle":9,"satellites":35,"speed":22,"hex_longitude":"2d0b3d00","hex_latitude":"07041130","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572258816001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23578563001188352,"note":"Value kept but may cause issues"} 
[2026-07-08 10:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":809310956919877632,"note":"Value kept but may cause issues"} 
[2026-07-08 10:07: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-07-08 10:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783485389000,"timestamp_ms":1783485389000,"timestamp_seconds":1783485389,"priority":1,"record_length":96,"hex_timestamp":"0000019f400358c8"} 
[2026-07-08 10:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:07:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 10: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 10:07: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-07-08 10: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-07-08 10:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":126068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":126068,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":126068,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:07:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572258816001,"66":14341,"96":206,"94":10240,"24":22,"16":23578563001188352,"45":809310956919877632},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-08 10:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572258816001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:07:25] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-08 10:07:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 10:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23578563001188352,"km_value":23578563001188.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":809310956919877632,"description":"Unknown IO ID 45"} 
[2026-07-08 10:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572258816001,"power":14341,"unknown_96":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":809310956919877632}} 
[2026-07-08 10:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":126068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450208,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:07:26] local.INFO: GPS data processed {"connection_id":126068,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:07:26] local.INFO: Acknowledgment sent {"connection_id":126068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:07:33] local.INFO: TCP Data received {"connection_id":126069,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40008238012d7f980005afe330000001262e..."} 
[2026-07-08 10:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40008238012d7f980005afe330000001262e..."} 
[2026-07-08 10:07:33] local.INFO: Processing buffer {"connection_id":126069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40008238012d7f980005afe330000001262e..."} 
[2026-07-08 10:07:33] local.INFO: Packet analysis {"connection_id":126069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4000"} 
[2026-07-08 10:07:33] local.INFO: Extracted packet for processing {"connection_id":126069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4000"} 
[2026-07-08 10:07:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":46,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572134912001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783485203000,"timestamp_ms":1783485203000,"timestamp_seconds":1783485203,"priority":1,"record_length":96,"hex_timestamp":"0000019f40008238"} 
[2026-07-08 10:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-08 10:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572134912001,"66":25702,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572134912001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:07:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:07:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572134912001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":126069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:07:33] local.INFO: GPS data processed {"connection_id":126069,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:07:33] local.INFO: Acknowledgment sent {"connection_id":126069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:07:45] local.INFO: TCP Data received {"connection_id":127344,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127344,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:07:45] local.INFO: Processing buffer {"connection_id":127344,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:07:45] local.INFO: IMEI packet received {"connection_id":127344,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":127344,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:07:48] local.INFO: TCP Data received {"connection_id":127344,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127344,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:07:48] local.INFO: Processing buffer {"connection_id":127344,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:07:48] local.INFO: IMEI packet received {"connection_id":127344,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":127344,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:07:49] local.INFO: TCP Data received {"connection_id":127344,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f40042fa0012d0b6140070437080010008a21..."} 
[2026-07-08 10:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40042fa0012d0b6140070437080010008a21..."} 
[2026-07-08 10:07:49] local.INFO: Processing buffer {"connection_id":127344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40042fa0012d0b6140070437080010008a21..."} 
[2026-07-08 10:07:49] local.INFO: Packet analysis {"connection_id":127344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4004"} 
[2026-07-08 10:07:49] local.INFO: Extracted packet for processing {"connection_id":127344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4004"} 
[2026-07-08 10:07:49] local.INFO: GPS Element Parsed {"raw_longitude":755720512,"raw_latitude":117716744,"longitude_deg":75.5720512,"latitude_deg":11.7716744,"altitude":16,"angle":138,"satellites":33,"speed":7,"hex_longitude":"2d0b6140","hex_latitude":"07043708","is_valid_coordinates":true} 
[2026-07-08 10:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572273408001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23579447764451328,"note":"Value kept but may cause issues"} 
[2026-07-08 10:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":819866268549470208,"note":"Value kept but may cause issues"} 
[2026-07-08 10:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783485444000,"timestamp_ms":1783485444000,"timestamp_seconds":1783485444,"priority":1,"record_length":96,"hex_timestamp":"0000019f40042fa0"} 
[2026-07-08 10:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 10:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-08 10:07:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":127344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":127344,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":127344,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572273408001,"66":13580,"96":206,"94":10240,"24":7,"16":23579447764451328,"45":819866268549470208},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-08 10:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572273408001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:07:49] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-08 10:07:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 10:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23579447764451328,"km_value":23579447764451.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":819866268549470208,"description":"Unknown IO ID 45"} 
[2026-07-08 10:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572273408001,"power":13580,"unknown_96":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":819866268549470208}} 
[2026-07-08 10:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":127344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450210,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:07:49] local.INFO: GPS data processed {"connection_id":127344,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:07:49] local.INFO: Acknowledgment sent {"connection_id":127344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:07:56] local.INFO: TCP Data received {"connection_id":126070,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:07:56] local.INFO: Processing buffer {"connection_id":126070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:07:56] local.INFO: IMEI packet received {"connection_id":126070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":126070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:08:01] local.INFO: TCP Data received {"connection_id":126070,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:08:01] local.INFO: Processing buffer {"connection_id":126070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:08:01] local.INFO: IMEI packet received {"connection_id":126070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":126070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:08:02] local.INFO: TCP Data received {"connection_id":126070,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40008238012d7f980005afe330000001262e..."} 
[2026-07-08 10:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40008238012d7f980005afe330000001262e..."} 
[2026-07-08 10:08:02] local.INFO: Processing buffer {"connection_id":126070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40008238012d7f980005afe330000001262e..."} 
[2026-07-08 10:08:02] local.INFO: Packet analysis {"connection_id":126070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4000"} 
[2026-07-08 10:08:02] local.INFO: Extracted packet for processing {"connection_id":126070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4000"} 
[2026-07-08 10:08:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":46,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572134912001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783485203000,"timestamp_ms":1783485203000,"timestamp_seconds":1783485203,"priority":1,"record_length":96,"hex_timestamp":"0000019f40008238"} 
[2026-07-08 10:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:08:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-08 10:08:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572134912001,"66":25702,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572134912001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:08:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:08:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572134912001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":126070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:08:02] local.INFO: GPS data processed {"connection_id":126070,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:08:02] local.INFO: Acknowledgment sent {"connection_id":126070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:08:20] local.INFO: TCP Data received {"connection_id":127344,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f40043388012d0b6200070436a00010009a21..."} 
[2026-07-08 10:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40043388012d0b6200070436a00010009a21..."} 
[2026-07-08 10:08:20] local.INFO: Processing buffer {"connection_id":127344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40043388012d0b6200070436a00010009a21..."} 
[2026-07-08 10:08:20] local.INFO: Packet analysis {"connection_id":127344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4004"} 
[2026-07-08 10:08:20] local.INFO: Extracted packet for processing {"connection_id":127344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4004"} 
[2026-07-08 10:08:20] local.INFO: GPS Element Parsed {"raw_longitude":755720704,"raw_latitude":117716640,"longitude_deg":75.5720704,"latitude_deg":11.771664,"altitude":16,"angle":154,"satellites":33,"speed":6,"hex_longitude":"2d0b6200","hex_latitude":"070436a0","is_valid_coordinates":true} 
[2026-07-08 10:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572273664001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23579456354385920,"note":"Value kept but may cause issues"} 
[2026-07-08 10:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":820007006037805056,"note":"Value kept but may cause issues"} 
[2026-07-08 10:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783485445000,"timestamp_ms":1783485445000,"timestamp_seconds":1783485445,"priority":1,"record_length":96,"hex_timestamp":"0000019f40043388"} 
[2026-07-08 10:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 10:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-08 10:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751535044,"note":"Value kept but may cause issues"} 
[2026-07-08 10:08:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 10:08:20] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3221685291,"note":"Value kept but may cause issues"} 
[2026-07-08 10:08:20] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6278862369909112842,"note":"Value kept but may cause issues"} 
[2026-07-08 10:08:20] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-08 10:08:20] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639084336264032,"note":"Value kept but may cause issues"} 
[2026-07-08 10:08:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":861929678,"corrected_to":0} 
[2026-07-08 10:08:20] local.WARNING: Large IO value detected {"io_id":182,"raw_value":2281778443,"note":"Value kept but may cause issues"} 
[2026-07-08 10:08:20] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3003174195,"note":"Value kept but may cause issues"} 
[2026-07-08 10:08:20] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-08 10:08:20] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3303473152,"note":"Value kept but may cause issues"} 
[2026-07-08 10:08:20] local.WARNING: Large IO value detected {"io_id":11,"raw_value":4071261777447878668,"note":"Value kept but may cause issues"} 
[2026-07-08 10:08:20] local.WARNING: Large IO value detected {"io_id":53,"raw_value":7926560964709764702,"note":"Value kept but may cause issues"} 
[2026-07-08 10:08:20] local.WARNING: Large IO value detected {"io_id":40,"raw_value":6755463865696497,"note":"Value kept but may cause issues"} 
[2026-07-08 10:08:20] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,96,94,24,241,157,16,197,159,43,45,192,55,33,10,66,39,15,35,128,1,240,179,227,64,4,113,205,18,182,120,239,56,2,83,7,11,6,53,40],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":861929678,"validated":0}]} 
[2026-07-08 10:08:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153073378945859584,"timestamp_seconds":1153073378945859.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 10:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":127344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":127344,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":127344,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572273664001,"66":13580,"96":206,"94":10240,"24":6,"16":23579456354385920,"45":820007006037805056},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-08 10:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572273664001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:08:20] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-08 10:08:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 10:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23579456354385920,"km_value":23579456354385.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":820007006037805056,"description":"Unknown IO ID 45"} 
[2026-07-08 10:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572273664001,"power":13580,"unknown_96":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":820007006037805056}} 
[2026-07-08 10:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":127344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450212,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:08:20] local.INFO: GPS data processed {"connection_id":127344,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:08:20] local.INFO: Acknowledgment sent {"connection_id":127344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:08:33] local.INFO: TCP Data received {"connection_id":126070,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40008238012d7f980005afe330000001262e..."} 
[2026-07-08 10:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40008238012d7f980005afe330000001262e..."} 
[2026-07-08 10:08:33] local.INFO: Processing buffer {"connection_id":126070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40008238012d7f980005afe330000001262e..."} 
[2026-07-08 10:08:33] local.INFO: Packet analysis {"connection_id":126070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4000"} 
[2026-07-08 10:08:33] local.INFO: Extracted packet for processing {"connection_id":126070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4000"} 
[2026-07-08 10:08:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":46,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572134912001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783485203000,"timestamp_ms":1783485203000,"timestamp_seconds":1783485203,"priority":1,"record_length":96,"hex_timestamp":"0000019f40008238"} 
[2026-07-08 10:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-08 10:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:08:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572134912001,"66":25702,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572134912001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:08:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:08:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572134912001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":126070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:08:33] local.INFO: GPS data processed {"connection_id":126070,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:08:33] local.INFO: Acknowledgment sent {"connection_id":126070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:08:45] local.INFO: TCP Data received {"connection_id":125344,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125344,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:08:45] local.INFO: Processing buffer {"connection_id":125344,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:08:45] local.INFO: IMEI packet received {"connection_id":125344,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":125344,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:08:45] local.INFO: TCP Data received {"connection_id":125344,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125344,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:08:45] local.INFO: Processing buffer {"connection_id":125344,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:08:45] local.INFO: IMEI packet received {"connection_id":125344,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":125344,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:08:50] local.INFO: TCP Data received {"connection_id":125344,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125344,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:08:50] local.INFO: Processing buffer {"connection_id":125344,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:08:50] local.INFO: IMEI packet received {"connection_id":125344,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":125344,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:08:51] local.INFO: TCP Data received {"connection_id":125344,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f40043b58012d0b62c0070435b0001100a820..."} 
[2026-07-08 10:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40043b58012d0b62c0070435b0001100a820..."} 
[2026-07-08 10:08:51] local.INFO: Processing buffer {"connection_id":125344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40043b58012d0b62c0070435b0001100a820..."} 
[2026-07-08 10:08:51] local.INFO: Packet analysis {"connection_id":125344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4004"} 
[2026-07-08 10:08:51] local.INFO: Extracted packet for processing {"connection_id":125344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4004"} 
[2026-07-08 10:08:51] local.INFO: GPS Element Parsed {"raw_longitude":755720896,"raw_latitude":117716400,"longitude_deg":75.5720896,"latitude_deg":11.77164,"altitude":17,"angle":168,"satellites":32,"speed":6,"hex_longitude":"2d0b62c0","hex_latitude":"070435b0","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572273920001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23579473534255104,"note":"Value kept but may cause issues"} 
[2026-07-08 10:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":820218112270311424,"note":"Value kept but may cause issues"} 
[2026-07-08 10:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783485447000,"timestamp_ms":1783485447000,"timestamp_seconds":1783485447,"priority":1,"record_length":96,"hex_timestamp":"0000019f40043b58"} 
[2026-07-08 10:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 10: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-08 10:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751535044,"note":"Value kept but may cause issues"} 
[2026-07-08 10:08:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 10:08:51] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-08 10:08:51] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639689926652768,"note":"Value kept but may cause issues"} 
[2026-07-08 10:08:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":861929678,"corrected_to":0} 
[2026-07-08 10:08:51] local.WARNING: Large IO value detected {"io_id":252,"raw_value":3623955723,"note":"Value kept but may cause issues"} 
[2026-07-08 10:08:51] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2738414193978953310,"note":"Value kept but may cause issues"} 
[2026-07-08 10:08:51] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-08 10:08:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3308519424,"note":"Value kept but may cause issues"} 
[2026-07-08 10:08:51] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3909132191017730059,"note":"Value kept but may cause issues"} 
[2026-07-08 10:08:51] local.WARNING: Large IO value detected {"io_id":40,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-07-08 10:08:51] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,96,94,24,241,157,16,197,159,47,45,64,55,33,10,66,43,192,39,1,240,103,227,4,113,205,6,252,82,128,35,239,56,2,83,7,11,40],"length":577,"final_offset":707,"validated_count":38,"validation_warnings":[{"io_id":205,"original":861929678,"validated":0}]} 
[2026-07-08 10:08:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153090971131838464,"timestamp_seconds":1153090971131838.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 10:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125344,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125344,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572273920001,"66":14396,"96":206,"94":10240,"24":6,"16":23579473534255104,"45":820218112270311424},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-08 10:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572273920001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:08:51] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-08 10:08:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 10:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23579473534255104,"km_value":23579473534255.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":820218112270311424,"description":"Unknown IO ID 45"} 
[2026-07-08 10:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572273920001,"power":14396,"unknown_96":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":820218112270311424}} 
[2026-07-08 10:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":125344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450214,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:08:51] local.INFO: GPS data processed {"connection_id":125344,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:08:51] local.INFO: Acknowledgment sent {"connection_id":125344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:08:56] local.INFO: TCP Data received {"connection_id":127346,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:08:56] local.INFO: Processing buffer {"connection_id":127346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:08:56] local.INFO: IMEI packet received {"connection_id":127346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":127346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:09:01] local.INFO: TCP Data received {"connection_id":127346,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:09:01] local.INFO: Processing buffer {"connection_id":127346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:09:01] local.INFO: IMEI packet received {"connection_id":127346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":127346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:09:02] local.INFO: TCP Data received {"connection_id":127346,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40008238012d7f980005afe330000001262e..."} 
[2026-07-08 10:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40008238012d7f980005afe330000001262e..."} 
[2026-07-08 10:09:02] local.INFO: Processing buffer {"connection_id":127346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40008238012d7f980005afe330000001262e..."} 
[2026-07-08 10:09:02] local.INFO: Packet analysis {"connection_id":127346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4000"} 
[2026-07-08 10:09:02] local.INFO: Extracted packet for processing {"connection_id":127346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4000"} 
[2026-07-08 10:09:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":46,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572134912001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783485203000,"timestamp_ms":1783485203000,"timestamp_seconds":1783485203,"priority":1,"record_length":96,"hex_timestamp":"0000019f40008238"} 
[2026-07-08 10:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-08 10:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572134912001,"66":25702,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572134912001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:09:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:09:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572134912001,"power":25702,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":127346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:09:02] local.INFO: GPS data processed {"connection_id":127346,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:09:02] local.INFO: Acknowledgment sent {"connection_id":127346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:09:22] local.INFO: TCP Data received {"connection_id":125344,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4005e520012d0b8d800703c118001f009622..."} 
[2026-07-08 10:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4005e520012d0b8d800703c118001f009622..."} 
[2026-07-08 10:09:22] local.INFO: Processing buffer {"connection_id":125344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4005e520012d0b8d800703c118001f009622..."} 
[2026-07-08 10:09:22] local.INFO: Packet analysis {"connection_id":125344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4005"} 
[2026-07-08 10:09:22] local.INFO: Extracted packet for processing {"connection_id":125344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4005"} 
[2026-07-08 10:09:22] local.INFO: GPS Element Parsed {"raw_longitude":755731840,"raw_latitude":117686552,"longitude_deg":75.573184,"latitude_deg":11.7686552,"altitude":31,"angle":150,"satellites":34,"speed":12,"hex_longitude":"2d0b8d80","hex_latitude":"0703c118","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572301824001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23581311780257792,"note":"Value kept but may cause issues"} 
[2026-07-08 10:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":832251167517169664,"note":"Value kept but may cause issues"} 
[2026-07-08 10:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783485556000,"timestamp_ms":1783485556000,"timestamp_seconds":1783485556,"priority":1,"record_length":96,"hex_timestamp":"0000019f4005e520"} 
[2026-07-08 10:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 10: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-08 10:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125344,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125344,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572301824001,"66":14428,"96":206,"94":10240,"24":12,"16":23581311780257792,"45":832251167517169664},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-08 10:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572301824001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:09:22] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-08 10:09:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 10:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23581311780257792,"km_value":23581311780257.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":832251167517169664,"description":"Unknown IO ID 45"} 
[2026-07-08 10:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572301824001,"power":14428,"unknown_96":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":832251167517169664}} 
[2026-07-08 10:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":125344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450216,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:09:22] local.INFO: GPS data processed {"connection_id":125344,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:09:22] local.INFO: Acknowledgment sent {"connection_id":125344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:09:27] local.INFO: TCP Data received {"connection_id":127345,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127345,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:09:27] local.INFO: Processing buffer {"connection_id":127345,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:09:27] local.INFO: IMEI packet received {"connection_id":127345,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 10:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":127345,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:09:33] local.INFO: TCP Data received {"connection_id":127346,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40051a00012d7f980005afe3300000012629..."} 
[2026-07-08 10:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40051a00012d7f980005afe3300000012629..."} 
[2026-07-08 10:09:33] local.INFO: Processing buffer {"connection_id":127346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40051a00012d7f980005afe3300000012629..."} 
[2026-07-08 10:09:33] local.INFO: Packet analysis {"connection_id":127346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4005"} 
[2026-07-08 10:09:33] local.INFO: Extracted packet for processing {"connection_id":127346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4005"} 
[2026-07-08 10:09:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572211968001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783485504000,"timestamp_ms":1783485504000,"timestamp_seconds":1783485504,"priority":1,"record_length":96,"hex_timestamp":"0000019f40051a00"} 
[2026-07-08 10:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 10:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:09:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572211968001,"66":25691,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572211968001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:09:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:09:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572211968001,"power":25691,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":127346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:09:33] local.INFO: GPS data processed {"connection_id":127346,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:09:33] local.INFO: Acknowledgment sent {"connection_id":127346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:09:56] local.INFO: TCP Data received {"connection_id":126073,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:09:56] local.INFO: Processing buffer {"connection_id":126073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:09:56] local.INFO: IMEI packet received {"connection_id":126073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":126073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:09:57] local.INFO: TCP Data received {"connection_id":125241,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125241,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:09:57] local.INFO: Processing buffer {"connection_id":125241,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:09:57] local.INFO: IMEI packet received {"connection_id":125241,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 10:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":125241,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:10:00] local.INFO: TCP Data received {"connection_id":126072,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126072,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:10:00] local.INFO: Processing buffer {"connection_id":126072,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:10:00] local.INFO: IMEI packet received {"connection_id":126072,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":126072,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:10:01] local.INFO: TCP Data received {"connection_id":126073,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:10:01] local.INFO: Processing buffer {"connection_id":126073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:10:01] local.INFO: IMEI packet received {"connection_id":126073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":126073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:10:02] local.INFO: TCP Data received {"connection_id":126073,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40051a00012d7f980005afe3300000012629..."} 
[2026-07-08 10:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40051a00012d7f980005afe3300000012629..."} 
[2026-07-08 10:10:02] local.INFO: Processing buffer {"connection_id":126073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40051a00012d7f980005afe3300000012629..."} 
[2026-07-08 10:10:02] local.INFO: Packet analysis {"connection_id":126073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4005"} 
[2026-07-08 10:10:02] local.INFO: Extracted packet for processing {"connection_id":126073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4005"} 
[2026-07-08 10:10:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572211968001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783485504000,"timestamp_ms":1783485504000,"timestamp_seconds":1783485504,"priority":1,"record_length":96,"hex_timestamp":"0000019f40051a00"} 
[2026-07-08 10:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 10:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572211968001,"66":25691,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572211968001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:10:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:10:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572211968001,"power":25691,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":126073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:10:02] local.INFO: GPS data processed {"connection_id":126073,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:10:02] local.INFO: Acknowledgment sent {"connection_id":126073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:10:30] local.INFO: TCP Data received {"connection_id":126072,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126072,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:10:30] local.INFO: Processing buffer {"connection_id":126072,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:10:30] local.INFO: IMEI packet received {"connection_id":126072,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":126072,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:10:33] local.INFO: TCP Data received {"connection_id":126073,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40051a00012d7f980005afe3300000012629..."} 
[2026-07-08 10:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40051a00012d7f980005afe3300000012629..."} 
[2026-07-08 10:10:33] local.INFO: Processing buffer {"connection_id":126073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40051a00012d7f980005afe3300000012629..."} 
[2026-07-08 10:10:33] local.INFO: Packet analysis {"connection_id":126073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4005"} 
[2026-07-08 10:10:33] local.INFO: Extracted packet for processing {"connection_id":126073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4005"} 
[2026-07-08 10:10:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572211968001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783485504000,"timestamp_ms":1783485504000,"timestamp_seconds":1783485504,"priority":1,"record_length":96,"hex_timestamp":"0000019f40051a00"} 
[2026-07-08 10:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 10:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572211968001,"66":25691,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572211968001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:10:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:10:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572211968001,"power":25691,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":126073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:10:33] local.INFO: GPS data processed {"connection_id":126073,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:10:33] local.INFO: Acknowledgment sent {"connection_id":126073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:10:55] local.INFO: TCP Data received {"connection_id":125242,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125242,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:10:55] local.INFO: Processing buffer {"connection_id":125242,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:10:55] local.INFO: IMEI packet received {"connection_id":125242,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":125242,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:11:01] local.INFO: TCP Data received {"connection_id":125244,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:11:01] local.INFO: Processing buffer {"connection_id":125244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:11:01] local.INFO: IMEI packet received {"connection_id":125244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":125244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:11:06] local.INFO: TCP Data received {"connection_id":125244,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:11:06] local.INFO: Processing buffer {"connection_id":125244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:11:06] local.INFO: IMEI packet received {"connection_id":125244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":125244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:11:07] local.INFO: TCP Data received {"connection_id":125244,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40051a00012d7f980005afe3300000012629..."} 
[2026-07-08 10:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40051a00012d7f980005afe3300000012629..."} 
[2026-07-08 10:11:07] local.INFO: Processing buffer {"connection_id":125244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40051a00012d7f980005afe3300000012629..."} 
[2026-07-08 10:11:07] local.INFO: Packet analysis {"connection_id":125244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4005"} 
[2026-07-08 10:11:07] local.INFO: Extracted packet for processing {"connection_id":125244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4005"} 
[2026-07-08 10:11:07] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572211968001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783485504000,"timestamp_ms":1783485504000,"timestamp_seconds":1783485504,"priority":1,"record_length":96,"hex_timestamp":"0000019f40051a00"} 
[2026-07-08 10:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 10:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572211968001,"66":25691,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572211968001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:11:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:11:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572211968001,"power":25691,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":125244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:11:07] local.INFO: GPS data processed {"connection_id":125244,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:11:07] local.INFO: Acknowledgment sent {"connection_id":125244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:11:12] local.INFO: TCP Data received {"connection_id":125244,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40051a00012d7f980005afe3300000012629..."} 
[2026-07-08 10:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40051a00012d7f980005afe3300000012629..."} 
[2026-07-08 10:11:12] local.INFO: Processing buffer {"connection_id":125244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40051a00012d7f980005afe3300000012629..."} 
[2026-07-08 10:11:12] local.INFO: Packet analysis {"connection_id":125244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4005"} 
[2026-07-08 10:11:12] local.INFO: Extracted packet for processing {"connection_id":125244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4005"} 
[2026-07-08 10:11:12] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572211968001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783485504000,"timestamp_ms":1783485504000,"timestamp_seconds":1783485504,"priority":1,"record_length":96,"hex_timestamp":"0000019f40051a00"} 
[2026-07-08 10:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 10:11:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572211968001,"66":25691,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572211968001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:11:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:11:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572211968001,"power":25691,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":125244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:11:12] local.INFO: GPS data processed {"connection_id":125244,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:11:12] local.INFO: Acknowledgment sent {"connection_id":125244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:11:18] local.INFO: TCP Data received {"connection_id":125242,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125242,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:11:18] local.INFO: Processing buffer {"connection_id":125242,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:11:18] local.INFO: IMEI packet received {"connection_id":125242,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":125242,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:11:56] local.INFO: TCP Data received {"connection_id":125246,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:11:56] local.INFO: Processing buffer {"connection_id":125246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:11:56] local.INFO: IMEI packet received {"connection_id":125246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":125246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:12:01] local.INFO: TCP Data received {"connection_id":125246,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:12:01] local.INFO: Processing buffer {"connection_id":125246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:12:01] local.INFO: IMEI packet received {"connection_id":125246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":125246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:12:02] local.INFO: TCP Data received {"connection_id":125246,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f40051a00012d7f980005afe3300000012629..."} 
[2026-07-08 10:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40051a00012d7f980005afe3300000012629..."} 
[2026-07-08 10:12:02] local.INFO: Processing buffer {"connection_id":125246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40051a00012d7f980005afe3300000012629..."} 
[2026-07-08 10:12:02] local.INFO: Packet analysis {"connection_id":125246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4005"} 
[2026-07-08 10:12:02] local.INFO: Extracted packet for processing {"connection_id":125246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4005"} 
[2026-07-08 10:12:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572211968001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783485504000,"timestamp_ms":1783485504000,"timestamp_seconds":1783485504,"priority":1,"record_length":96,"hex_timestamp":"0000019f40051a00"} 
[2026-07-08 10:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 10:12:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:12:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572211968001,"66":25691,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572211968001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:12:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:12:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572211968001,"power":25691,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":125246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:12:02] local.INFO: GPS data processed {"connection_id":125246,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:12:02] local.INFO: Acknowledgment sent {"connection_id":125246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:12:33] local.INFO: TCP Data received {"connection_id":125246,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f40051a00012d7f980005afe3300000012629..."} 
[2026-07-08 10:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40051a00012d7f980005afe3300000012629..."} 
[2026-07-08 10:12:33] local.INFO: Processing buffer {"connection_id":125246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40051a00012d7f980005afe3300000012629..."} 
[2026-07-08 10:12:33] local.INFO: Packet analysis {"connection_id":125246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4005"} 
[2026-07-08 10:12:33] local.INFO: Extracted packet for processing {"connection_id":125246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4005"} 
[2026-07-08 10:12:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572211968001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783485504000,"timestamp_ms":1783485504000,"timestamp_seconds":1783485504,"priority":1,"record_length":96,"hex_timestamp":"0000019f40051a00"} 
[2026-07-08 10:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 10:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:12:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572211968001,"66":25691,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572211968001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:12:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:12:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572211968001,"power":25691,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":125246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:12:33] local.INFO: GPS data processed {"connection_id":125246,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:12:33] local.INFO: Acknowledgment sent {"connection_id":125246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:12:56] local.INFO: TCP Data received {"connection_id":125345,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:12:56] local.INFO: Processing buffer {"connection_id":125345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:12:56] local.INFO: IMEI packet received {"connection_id":125345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":125345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:13:01] local.INFO: TCP Data received {"connection_id":125345,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:13:01] local.INFO: Processing buffer {"connection_id":125345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:13:01] local.INFO: IMEI packet received {"connection_id":125345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":125345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:13:02] local.INFO: TCP Data received {"connection_id":125345,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f40051a00012d7f980005afe3300000012629..."} 
[2026-07-08 10:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40051a00012d7f980005afe3300000012629..."} 
[2026-07-08 10:13:02] local.INFO: Processing buffer {"connection_id":125345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40051a00012d7f980005afe3300000012629..."} 
[2026-07-08 10:13:02] local.INFO: Packet analysis {"connection_id":125345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4005"} 
[2026-07-08 10:13:02] local.INFO: Extracted packet for processing {"connection_id":125345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4005"} 
[2026-07-08 10:13:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572211968001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783485504000,"timestamp_ms":1783485504000,"timestamp_seconds":1783485504,"priority":1,"record_length":96,"hex_timestamp":"0000019f40051a00"} 
[2026-07-08 10:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 10:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:13:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572211968001,"66":25691,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572211968001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:13:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:13:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572211968001,"power":25691,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":125345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:13:02] local.INFO: GPS data processed {"connection_id":125345,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:13:02] local.INFO: Acknowledgment sent {"connection_id":125345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:13:33] local.INFO: TCP Data received {"connection_id":125345,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f40051a00012d7f980005afe3300000012629..."} 
[2026-07-08 10:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40051a00012d7f980005afe3300000012629..."} 
[2026-07-08 10:13:33] local.INFO: Processing buffer {"connection_id":125345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40051a00012d7f980005afe3300000012629..."} 
[2026-07-08 10:13:33] local.INFO: Packet analysis {"connection_id":125345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4005"} 
[2026-07-08 10:13:33] local.INFO: Extracted packet for processing {"connection_id":125345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4005"} 
[2026-07-08 10:13:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572211968001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783485504000,"timestamp_ms":1783485504000,"timestamp_seconds":1783485504,"priority":1,"record_length":96,"hex_timestamp":"0000019f40051a00"} 
[2026-07-08 10:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 10:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572211968001,"66":25691,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572211968001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:13:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:13:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572211968001,"power":25691,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":125345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:13:33] local.INFO: GPS data processed {"connection_id":125345,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:13:33] local.INFO: Acknowledgment sent {"connection_id":125345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:13:56] local.INFO: TCP Data received {"connection_id":126076,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:13:56] local.INFO: Processing buffer {"connection_id":126076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:13:56] local.INFO: IMEI packet received {"connection_id":126076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":126076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:14:01] local.INFO: TCP Data received {"connection_id":126076,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:14:01] local.INFO: Processing buffer {"connection_id":126076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:14:01] local.INFO: IMEI packet received {"connection_id":126076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":126076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:14:02] local.INFO: TCP Data received {"connection_id":126076,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f40051a00012d7f980005afe3300000012629..."} 
[2026-07-08 10:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40051a00012d7f980005afe3300000012629..."} 
[2026-07-08 10:14:02] local.INFO: Processing buffer {"connection_id":126076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40051a00012d7f980005afe3300000012629..."} 
[2026-07-08 10:14:02] local.INFO: Packet analysis {"connection_id":126076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4005"} 
[2026-07-08 10:14:02] local.INFO: Extracted packet for processing {"connection_id":126076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4005"} 
[2026-07-08 10:14:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572211968001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783485504000,"timestamp_ms":1783485504000,"timestamp_seconds":1783485504,"priority":1,"record_length":96,"hex_timestamp":"0000019f40051a00"} 
[2026-07-08 10:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 10:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:14:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572211968001,"66":25691,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572211968001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:14:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:14:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572211968001,"power":25691,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":126076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:14:02] local.INFO: GPS data processed {"connection_id":126076,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:14:02] local.INFO: Acknowledgment sent {"connection_id":126076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:14:33] local.INFO: TCP Data received {"connection_id":126076,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4009b1c8012d7f980005afe330000001262f..."} 
[2026-07-08 10:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4009b1c8012d7f980005afe330000001262f..."} 
[2026-07-08 10:14:33] local.INFO: Processing buffer {"connection_id":126076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4009b1c8012d7f980005afe330000001262f..."} 
[2026-07-08 10:14:33] local.INFO: Packet analysis {"connection_id":126076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4009"} 
[2026-07-08 10:14:33] local.INFO: Extracted packet for processing {"connection_id":126076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4009"} 
[2026-07-08 10:14:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572289024001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783485805000,"timestamp_ms":1783485805000,"timestamp_seconds":1783485805,"priority":1,"record_length":96,"hex_timestamp":"0000019f4009b1c8"} 
[2026-07-08 10:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-08 10:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:14:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572289024001,"66":25647,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572289024001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:14:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:14:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572289024001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":126076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:14:33] local.INFO: GPS data processed {"connection_id":126076,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:14:33] local.INFO: Acknowledgment sent {"connection_id":126076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:14:56] local.INFO: TCP Data received {"connection_id":127348,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:14:56] local.INFO: Processing buffer {"connection_id":127348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:14:56] local.INFO: IMEI packet received {"connection_id":127348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":127348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:15:01] local.INFO: TCP Data received {"connection_id":127348,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:15:01] local.INFO: Processing buffer {"connection_id":127348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:15:01] local.INFO: IMEI packet received {"connection_id":127348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":127348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:15:02] local.INFO: TCP Data received {"connection_id":127348,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4009b1c8012d7f980005afe330000001262f..."} 
[2026-07-08 10:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4009b1c8012d7f980005afe330000001262f..."} 
[2026-07-08 10:15:02] local.INFO: Processing buffer {"connection_id":127348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4009b1c8012d7f980005afe330000001262f..."} 
[2026-07-08 10:15:02] local.INFO: Packet analysis {"connection_id":127348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4009"} 
[2026-07-08 10:15:02] local.INFO: Extracted packet for processing {"connection_id":127348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4009"} 
[2026-07-08 10:15:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572289024001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783485805000,"timestamp_ms":1783485805000,"timestamp_seconds":1783485805,"priority":1,"record_length":96,"hex_timestamp":"0000019f4009b1c8"} 
[2026-07-08 10:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:15:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-08 10:15:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:15:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572289024001,"66":25647,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572289024001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:15:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:15:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572289024001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":127348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:15:02] local.INFO: GPS data processed {"connection_id":127348,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:15:02] local.INFO: Acknowledgment sent {"connection_id":127348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:15:27] local.INFO: TCP Data received {"connection_id":125346,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125346,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:15:27] local.INFO: Processing buffer {"connection_id":125346,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:15:27] local.INFO: IMEI packet received {"connection_id":125346,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 10:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":125346,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:15:33] local.INFO: TCP Data received {"connection_id":127348,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4009b1c8012d7f980005afe330000001262f..."} 
[2026-07-08 10:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4009b1c8012d7f980005afe330000001262f..."} 
[2026-07-08 10:15:33] local.INFO: Processing buffer {"connection_id":127348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4009b1c8012d7f980005afe330000001262f..."} 
[2026-07-08 10:15:33] local.INFO: Packet analysis {"connection_id":127348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4009"} 
[2026-07-08 10:15:33] local.INFO: Extracted packet for processing {"connection_id":127348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4009"} 
[2026-07-08 10:15:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572289024001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783485805000,"timestamp_ms":1783485805000,"timestamp_seconds":1783485805,"priority":1,"record_length":96,"hex_timestamp":"0000019f4009b1c8"} 
[2026-07-08 10:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-08 10:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572289024001,"66":25647,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572289024001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:15:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:15:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572289024001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":127348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:15:33] local.INFO: GPS data processed {"connection_id":127348,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:15:33] local.INFO: Acknowledgment sent {"connection_id":127348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:15:56] local.INFO: TCP Data received {"connection_id":126077,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:15:56] local.INFO: Processing buffer {"connection_id":126077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:15:56] local.INFO: IMEI packet received {"connection_id":126077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":126077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:15:57] local.INFO: TCP Data received {"connection_id":125347,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125347,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:15:57] local.INFO: Processing buffer {"connection_id":125347,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:15:57] local.INFO: IMEI packet received {"connection_id":125347,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 10:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":125347,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:16:01] local.INFO: TCP Data received {"connection_id":126077,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:16:01] local.INFO: Processing buffer {"connection_id":126077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:16:01] local.INFO: IMEI packet received {"connection_id":126077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":126077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:16:02] local.INFO: TCP Data received {"connection_id":126077,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4009b1c8012d7f980005afe330000001262f..."} 
[2026-07-08 10:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4009b1c8012d7f980005afe330000001262f..."} 
[2026-07-08 10:16:02] local.INFO: Processing buffer {"connection_id":126077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4009b1c8012d7f980005afe330000001262f..."} 
[2026-07-08 10:16:02] local.INFO: Packet analysis {"connection_id":126077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4009"} 
[2026-07-08 10:16:02] local.INFO: Extracted packet for processing {"connection_id":126077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4009"} 
[2026-07-08 10:16:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572289024001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783485805000,"timestamp_ms":1783485805000,"timestamp_seconds":1783485805,"priority":1,"record_length":96,"hex_timestamp":"0000019f4009b1c8"} 
[2026-07-08 10:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:16:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-08 10:16:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:16:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572289024001,"66":25647,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572289024001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:16:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:16:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572289024001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":126077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:16:02] local.INFO: GPS data processed {"connection_id":126077,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:16:02] local.INFO: Acknowledgment sent {"connection_id":126077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:16:20] local.INFO: TCP Data received {"connection_id":125250,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125250,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:16:20] local.INFO: Processing buffer {"connection_id":125250,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:16:20] local.INFO: IMEI packet received {"connection_id":125250,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":125250,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:16:22] local.INFO: TCP Data received {"connection_id":125250,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f400a88a0012d0b138007029f68001601531e..."} 
[2026-07-08 10:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f400a88a0012d0b138007029f68001601531e..."} 
[2026-07-08 10:16:22] local.INFO: Processing buffer {"connection_id":125250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f400a88a0012d0b138007029f68001601531e..."} 
[2026-07-08 10:16:22] local.INFO: Packet analysis {"connection_id":125250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f400a"} 
[2026-07-08 10:16:22] local.INFO: Extracted packet for processing {"connection_id":125250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f400a"} 
[2026-07-08 10:16:22] local.INFO: GPS Element Parsed {"raw_longitude":755700608,"raw_latitude":117612392,"longitude_deg":75.5700608,"latitude_deg":11.7612392,"altitude":22,"angle":339,"satellites":30,"speed":1,"hex_longitude":"2d0b1380","hex_latitude":"07029f68","is_valid_coordinates":true} 
[2026-07-08 10:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572376576001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798051957827635200,"note":"Value kept but may cause issues"} 
[2026-07-08 10:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783485860000,"timestamp_ms":1783485860000,"timestamp_seconds":1783485860,"priority":1,"record_length":96,"hex_timestamp":"0000019f400a88a0"} 
[2026-07-08 10:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 10: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-08 10:16:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:16:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125250,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125250,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572376576001,"66":14515,"17":206,"94":11008,"24":1,"16":23586744913887232,"45":798051957827635200},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572376576001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:16:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":798051957827635200,"description":"Unknown IO ID 45"} 
[2026-07-08 10:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572376576001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":798051957827635200}} 
[2026-07-08 10:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":125250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450231,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:16:22] local.INFO: GPS data processed {"connection_id":125250,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:16:22] local.INFO: Acknowledgment sent {"connection_id":125250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:16:33] local.INFO: TCP Data received {"connection_id":126077,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4009b1c8012d7f980005afe330000001262f..."} 
[2026-07-08 10:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4009b1c8012d7f980005afe330000001262f..."} 
[2026-07-08 10:16:33] local.INFO: Processing buffer {"connection_id":126077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4009b1c8012d7f980005afe330000001262f..."} 
[2026-07-08 10:16:33] local.INFO: Packet analysis {"connection_id":126077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4009"} 
[2026-07-08 10:16:33] local.INFO: Extracted packet for processing {"connection_id":126077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4009"} 
[2026-07-08 10:16:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572289024001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783485805000,"timestamp_ms":1783485805000,"timestamp_seconds":1783485805,"priority":1,"record_length":96,"hex_timestamp":"0000019f4009b1c8"} 
[2026-07-08 10:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-08 10:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:16:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572289024001,"66":25647,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572289024001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:16:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:16:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572289024001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":126077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:16:33] local.INFO: GPS data processed {"connection_id":126077,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:16:33] local.INFO: Acknowledgment sent {"connection_id":126077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:16:45] local.INFO: TCP Data received {"connection_id":127349,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127349,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:16:45] local.INFO: Processing buffer {"connection_id":127349,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:16:45] local.INFO: IMEI packet received {"connection_id":127349,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":127349,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:16:50] local.INFO: TCP Data received {"connection_id":127349,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127349,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:16:50] local.INFO: Processing buffer {"connection_id":127349,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:16:50] local.INFO: IMEI packet received {"connection_id":127349,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":127349,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:16:51] local.INFO: TCP Data received {"connection_id":127349,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f400a8c88012d0b138007029f90001601521e..."} 
[2026-07-08 10:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f400a8c88012d0b138007029f90001601521e..."} 
[2026-07-08 10:16:51] local.INFO: Processing buffer {"connection_id":127349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f400a8c88012d0b138007029f90001601521e..."} 
[2026-07-08 10:16:51] local.INFO: Packet analysis {"connection_id":127349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f400a"} 
[2026-07-08 10:16:51] local.INFO: Extracted packet for processing {"connection_id":127349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f400a"} 
[2026-07-08 10:16:51] local.INFO: GPS Element Parsed {"raw_longitude":755700608,"raw_latitude":117612432,"longitude_deg":75.5700608,"latitude_deg":11.7612432,"altitude":22,"angle":338,"satellites":30,"speed":1,"hex_longitude":"2d0b1380","hex_latitude":"07029f90","is_valid_coordinates":true} 
[2026-07-08 10:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572380160001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798122326571837440,"note":"Value kept but may cause issues"} 
[2026-07-08 10:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783485861000,"timestamp_ms":1783485861000,"timestamp_seconds":1783485861,"priority":1,"record_length":96,"hex_timestamp":"0000019f400a8c88"} 
[2026-07-08 10:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 10:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 10:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127349,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127349,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572380160001,"66":14559,"17":206,"94":11008,"24":1,"16":23586744913887232,"45":798122326571837440},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572380160001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:16:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":798122326571837440,"description":"Unknown IO ID 45"} 
[2026-07-08 10:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572380160001,"power":14559,"axis_x":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":798122326571837440}} 
[2026-07-08 10:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":127349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450233,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:16:52] local.INFO: GPS data processed {"connection_id":127349,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:16:52] local.INFO: Acknowledgment sent {"connection_id":127349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:16:56] local.INFO: TCP Data received {"connection_id":126078,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:16:56] local.INFO: Processing buffer {"connection_id":126078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:16:56] local.INFO: IMEI packet received {"connection_id":126078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":126078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:17:01] local.INFO: TCP Data received {"connection_id":126078,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:17:01] local.INFO: Processing buffer {"connection_id":126078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:17:01] local.INFO: IMEI packet received {"connection_id":126078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":126078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:17:02] local.INFO: TCP Data received {"connection_id":126078,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4009b1c8012d7f980005afe330000001262f..."} 
[2026-07-08 10:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4009b1c8012d7f980005afe330000001262f..."} 
[2026-07-08 10:17:02] local.INFO: Processing buffer {"connection_id":126078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4009b1c8012d7f980005afe330000001262f..."} 
[2026-07-08 10:17:02] local.INFO: Packet analysis {"connection_id":126078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4009"} 
[2026-07-08 10:17:02] local.INFO: Extracted packet for processing {"connection_id":126078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4009"} 
[2026-07-08 10:17:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572289024001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783485805000,"timestamp_ms":1783485805000,"timestamp_seconds":1783485805,"priority":1,"record_length":96,"hex_timestamp":"0000019f4009b1c8"} 
[2026-07-08 10:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-08 10:17:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572289024001,"66":25647,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572289024001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:17:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:17:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572289024001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":126078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:17:02] local.INFO: GPS data processed {"connection_id":126078,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:17:02] local.INFO: Acknowledgment sent {"connection_id":126078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:17:23] local.INFO: TCP Data received {"connection_id":127349,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f400a8c88012d0b138007029f90001601521e..."} 
[2026-07-08 10:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f400a8c88012d0b138007029f90001601521e..."} 
[2026-07-08 10:17:23] local.INFO: Processing buffer {"connection_id":127349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f400a8c88012d0b138007029f90001601521e..."} 
[2026-07-08 10:17:23] local.INFO: Packet analysis {"connection_id":127349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f400a"} 
[2026-07-08 10:17:23] local.INFO: Extracted packet for processing {"connection_id":127349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f400a"} 
[2026-07-08 10:17:23] local.INFO: GPS Element Parsed {"raw_longitude":755700608,"raw_latitude":117612432,"longitude_deg":75.5700608,"latitude_deg":11.7612432,"altitude":22,"angle":338,"satellites":30,"speed":1,"hex_longitude":"2d0b1380","hex_latitude":"07029f90","is_valid_coordinates":true} 
[2026-07-08 10:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572380416001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798122326571847680,"note":"Value kept but may cause issues"} 
[2026-07-08 10:17:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783485861000,"timestamp_ms":1783485861000,"timestamp_seconds":1783485861,"priority":1,"record_length":96,"hex_timestamp":"0000019f400a8c88"} 
[2026-07-08 10:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:17:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-08 10:17:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":127349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":127349,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":127349,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:17:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572380416001,"66":14559,"17":206,"94":11008,"24":1,"16":23586744913887232,"45":798122326571847680},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572380416001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:17:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":798122326571847680,"description":"Unknown IO ID 45"} 
[2026-07-08 10:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572380416001,"power":14559,"axis_x":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":798122326571847680}} 
[2026-07-08 10:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":127349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450235,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:17:23] local.INFO: GPS data processed {"connection_id":127349,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:17:23] local.INFO: Acknowledgment sent {"connection_id":127349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:17:33] local.INFO: TCP Data received {"connection_id":126078,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4009b1c8012d7f980005afe330000001262f..."} 
[2026-07-08 10:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4009b1c8012d7f980005afe330000001262f..."} 
[2026-07-08 10:17:33] local.INFO: Processing buffer {"connection_id":126078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4009b1c8012d7f980005afe330000001262f..."} 
[2026-07-08 10:17:33] local.INFO: Packet analysis {"connection_id":126078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4009"} 
[2026-07-08 10:17:33] local.INFO: Extracted packet for processing {"connection_id":126078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4009"} 
[2026-07-08 10:17:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572289024001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783485805000,"timestamp_ms":1783485805000,"timestamp_seconds":1783485805,"priority":1,"record_length":96,"hex_timestamp":"0000019f4009b1c8"} 
[2026-07-08 10:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-08 10:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572289024001,"66":25647,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572289024001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:17:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:17:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572289024001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":126078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:17:33] local.INFO: GPS data processed {"connection_id":126078,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:17:33] local.INFO: Acknowledgment sent {"connection_id":126078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:17:50] local.INFO: TCP Data received {"connection_id":125252,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125252,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:17:50] local.INFO: Processing buffer {"connection_id":125252,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:17:50] local.INFO: IMEI packet received {"connection_id":125252,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":125252,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:17:55] local.INFO: TCP Data received {"connection_id":125252,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125252,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:17:55] local.INFO: Processing buffer {"connection_id":125252,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:17:55] local.INFO: IMEI packet received {"connection_id":125252,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":125252,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:17:56] local.INFO: TCP Data received {"connection_id":125348,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:17:56] local.INFO: Processing buffer {"connection_id":125348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:17:56] local.INFO: IMEI packet received {"connection_id":125348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":125348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:17:57] local.INFO: TCP Data received {"connection_id":125252,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f400a9458012d0b134007029fa0001601341e..."} 
[2026-07-08 10:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f400a9458012d0b134007029fa0001601341e..."} 
[2026-07-08 10:17:57] local.INFO: Processing buffer {"connection_id":125252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f400a9458012d0b134007029fa0001601341e..."} 
[2026-07-08 10:17:57] local.INFO: Packet analysis {"connection_id":125252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f400a"} 
[2026-07-08 10:17:57] local.INFO: Extracted packet for processing {"connection_id":125252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f400a"} 
[2026-07-08 10:17:57] local.INFO: GPS Element Parsed {"raw_longitude":755700544,"raw_latitude":117612448,"longitude_deg":75.5700544,"latitude_deg":11.7612448,"altitude":22,"angle":308,"satellites":30,"speed":0,"hex_longitude":"2d0b1340","hex_latitude":"07029fa0","is_valid_coordinates":true} 
[2026-07-08 10:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572380416001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:17:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798122326571847680,"note":"Value kept but may cause issues"} 
[2026-07-08 10:17:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783485863000,"timestamp_ms":1783485863000,"timestamp_seconds":1783485863,"priority":1,"record_length":96,"hex_timestamp":"0000019f400a9458"} 
[2026-07-08 10:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:17:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-08 10:17:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:17:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":125252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":125252,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":125252,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:17:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572380416001,"66":14559,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":798122326571847680},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572380416001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:17:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:17:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":798122326571847680,"description":"Unknown IO ID 45"} 
[2026-07-08 10:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572380416001,"power":14559,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798122326571847680}} 
[2026-07-08 10:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":125252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450237,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:17:57] local.INFO: GPS data processed {"connection_id":125252,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:17:57] local.INFO: Acknowledgment sent {"connection_id":125252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:18:01] local.INFO: TCP Data received {"connection_id":125348,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:18:01] local.INFO: Processing buffer {"connection_id":125348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:18:01] local.INFO: IMEI packet received {"connection_id":125348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":125348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:18:01] local.INFO: TCP Data received {"connection_id":125348,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4009b1c8012d7f980005afe330000001262f..."} 
[2026-07-08 10:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4009b1c8012d7f980005afe330000001262f..."} 
[2026-07-08 10:18:01] local.INFO: Processing buffer {"connection_id":125348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4009b1c8012d7f980005afe330000001262f..."} 
[2026-07-08 10:18:01] local.INFO: Packet analysis {"connection_id":125348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4009"} 
[2026-07-08 10:18:01] local.INFO: Extracted packet for processing {"connection_id":125348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4009"} 
[2026-07-08 10:18:01] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572289024001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783485805000,"timestamp_ms":1783485805000,"timestamp_seconds":1783485805,"priority":1,"record_length":96,"hex_timestamp":"0000019f4009b1c8"} 
[2026-07-08 10:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-08 10:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572289024001,"66":25647,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572289024001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:18:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:18:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572289024001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":125348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:18:01] local.INFO: GPS data processed {"connection_id":125348,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:18:01] local.INFO: Acknowledgment sent {"connection_id":125348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:18:02] local.INFO: TCP Data received {"connection_id":125252,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f400a9458012d0b134007029fa0001601341e..."} 
[2026-07-08 10:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f400a9458012d0b134007029fa0001601341e..."} 
[2026-07-08 10:18:02] local.INFO: Processing buffer {"connection_id":125252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f400a9458012d0b134007029fa0001601341e..."} 
[2026-07-08 10:18:02] local.INFO: Packet analysis {"connection_id":125252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f400a"} 
[2026-07-08 10:18:02] local.INFO: Extracted packet for processing {"connection_id":125252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f400a"} 
[2026-07-08 10:18:02] local.INFO: GPS Element Parsed {"raw_longitude":755700544,"raw_latitude":117612448,"longitude_deg":75.5700544,"latitude_deg":11.7612448,"altitude":22,"angle":308,"satellites":30,"speed":0,"hex_longitude":"2d0b1340","hex_latitude":"07029fa0","is_valid_coordinates":true} 
[2026-07-08 10:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572380416001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798122326571847680,"note":"Value kept but may cause issues"} 
[2026-07-08 10:18: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-07-08 10:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783485863000,"timestamp_ms":1783485863000,"timestamp_seconds":1783485863,"priority":1,"record_length":96,"hex_timestamp":"0000019f400a9458"} 
[2026-07-08 10:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-08 10:18:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:18:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125252,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125252,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572380416001,"66":14559,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":798122326571847680},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572380416001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:18:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":798122326571847680,"description":"Unknown IO ID 45"} 
[2026-07-08 10:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572380416001,"power":14559,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798122326571847680}} 
[2026-07-08 10:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":125252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450239,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:18:02] local.INFO: GPS data processed {"connection_id":125252,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:18:02] local.INFO: Acknowledgment sent {"connection_id":125252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:18:33] local.INFO: TCP Data received {"connection_id":125348,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4009b1c8012d7f980005afe330000001262f..."} 
[2026-07-08 10:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4009b1c8012d7f980005afe330000001262f..."} 
[2026-07-08 10:18:33] local.INFO: Processing buffer {"connection_id":125348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4009b1c8012d7f980005afe330000001262f..."} 
[2026-07-08 10:18:33] local.INFO: Packet analysis {"connection_id":125348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4009"} 
[2026-07-08 10:18:33] local.INFO: Extracted packet for processing {"connection_id":125348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4009"} 
[2026-07-08 10:18:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572289024001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783485805000,"timestamp_ms":1783485805000,"timestamp_seconds":1783485805,"priority":1,"record_length":96,"hex_timestamp":"0000019f4009b1c8"} 
[2026-07-08 10:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-08 10:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572289024001,"66":25647,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572289024001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:18:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:18:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572289024001,"power":25647,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":125348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:18:33] local.INFO: GPS data processed {"connection_id":125348,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:18:33] local.INFO: Acknowledgment sent {"connection_id":125348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:18:45] local.INFO: TCP Data received {"connection_id":126079,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126079,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:18:45] local.INFO: Processing buffer {"connection_id":126079,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:18:45] local.INFO: IMEI packet received {"connection_id":126079,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":126079,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:18:50] local.INFO: TCP Data received {"connection_id":126079,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126079,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:18:50] local.INFO: Processing buffer {"connection_id":126079,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:18:50] local.INFO: IMEI packet received {"connection_id":126079,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":126079,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:18:51] local.INFO: TCP Data received {"connection_id":126079,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f400a9458012d0b134007029fa0001601341e..."} 
[2026-07-08 10:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f400a9458012d0b134007029fa0001601341e..."} 
[2026-07-08 10:18:51] local.INFO: Processing buffer {"connection_id":126079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f400a9458012d0b134007029fa0001601341e..."} 
[2026-07-08 10:18:51] local.INFO: Packet analysis {"connection_id":126079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f400a"} 
[2026-07-08 10:18:51] local.INFO: Extracted packet for processing {"connection_id":126079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f400a"} 
[2026-07-08 10:18:51] local.INFO: GPS Element Parsed {"raw_longitude":755700544,"raw_latitude":117612448,"longitude_deg":75.5700544,"latitude_deg":11.7612448,"altitude":22,"angle":308,"satellites":30,"speed":0,"hex_longitude":"2d0b1340","hex_latitude":"07029fa0","is_valid_coordinates":true} 
[2026-07-08 10:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572380416001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798122326571847680,"note":"Value kept but may cause issues"} 
[2026-07-08 10:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783485863000,"timestamp_ms":1783485863000,"timestamp_seconds":1783485863,"priority":1,"record_length":96,"hex_timestamp":"0000019f400a9458"} 
[2026-07-08 10:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-08 10:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126079,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126079,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572380416001,"66":14559,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":798122326571847680},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572380416001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:18:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":798122326571847680,"description":"Unknown IO ID 45"} 
[2026-07-08 10:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572380416001,"power":14559,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798122326571847680}} 
[2026-07-08 10:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":126079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450241,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:18:51] local.INFO: GPS data processed {"connection_id":126079,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:18:51] local.INFO: Acknowledgment sent {"connection_id":126079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:19:01] local.INFO: TCP Data received {"connection_id":127351,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:19:01] local.INFO: Processing buffer {"connection_id":127351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:19:01] local.INFO: IMEI packet received {"connection_id":127351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":127351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:19:04] local.INFO: TCP Data received {"connection_id":127351,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:19:04] local.INFO: Processing buffer {"connection_id":127351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:19:04] local.INFO: IMEI packet received {"connection_id":127351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":127351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:19:05] local.INFO: TCP Data received {"connection_id":127351,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f400e4990012d7f980005afe330000001262f..."} 
[2026-07-08 10:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f400e4990012d7f980005afe330000001262f..."} 
[2026-07-08 10:19:05] local.INFO: Processing buffer {"connection_id":127351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f400e4990012d7f980005afe330000001262f..."} 
[2026-07-08 10:19:05] local.INFO: Packet analysis {"connection_id":127351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f400e"} 
[2026-07-08 10:19:05] local.INFO: Extracted packet for processing {"connection_id":127351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f400e"} 
[2026-07-08 10:19:05] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572366080001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783486106000,"timestamp_ms":1783486106000,"timestamp_seconds":1783486106,"priority":1,"record_length":96,"hex_timestamp":"0000019f400e4990"} 
[2026-07-08 10:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 10:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572366080001,"66":25625,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572366080001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:19:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:19:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572366080001,"power":25625,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":127351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:19:05] local.INFO: GPS data processed {"connection_id":127351,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:19:05] local.INFO: Acknowledgment sent {"connection_id":127351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:19:06] local.INFO: TCP Data received {"connection_id":127351,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f400e4990012d7f980005afe330000001262f..."} 
[2026-07-08 10:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f400e4990012d7f980005afe330000001262f..."} 
[2026-07-08 10:19:06] local.INFO: Processing buffer {"connection_id":127351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f400e4990012d7f980005afe330000001262f..."} 
[2026-07-08 10:19:06] local.INFO: Packet analysis {"connection_id":127351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f400e"} 
[2026-07-08 10:19:06] local.INFO: Extracted packet for processing {"connection_id":127351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f400e"} 
[2026-07-08 10:19:06] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572366080001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783486106000,"timestamp_ms":1783486106000,"timestamp_seconds":1783486106,"priority":1,"record_length":96,"hex_timestamp":"0000019f400e4990"} 
[2026-07-08 10:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 10:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572366080001,"66":25625,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572366080001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:19:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:19:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572366080001,"power":25625,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":127351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:19:06] local.INFO: GPS data processed {"connection_id":127351,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:19:06] local.INFO: Acknowledgment sent {"connection_id":127351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:19:23] local.INFO: TCP Data received {"connection_id":126079,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f400a9458012d0b134007029fa0001601341e..."} 
[2026-07-08 10:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f400a9458012d0b134007029fa0001601341e..."} 
[2026-07-08 10:19:23] local.INFO: Processing buffer {"connection_id":126079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f400a9458012d0b134007029fa0001601341e..."} 
[2026-07-08 10:19:23] local.INFO: Packet analysis {"connection_id":126079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f400a"} 
[2026-07-08 10:19:23] local.INFO: Extracted packet for processing {"connection_id":126079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f400a"} 
[2026-07-08 10:19:23] local.INFO: GPS Element Parsed {"raw_longitude":755700544,"raw_latitude":117612448,"longitude_deg":75.5700544,"latitude_deg":11.7612448,"altitude":22,"angle":308,"satellites":30,"speed":0,"hex_longitude":"2d0b1340","hex_latitude":"07029fa0","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572380416001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798122326571847680,"note":"Value kept but may cause issues"} 
[2026-07-08 10:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783485863000,"timestamp_ms":1783485863000,"timestamp_seconds":1783485863,"priority":1,"record_length":96,"hex_timestamp":"0000019f400a9458"} 
[2026-07-08 10:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:19:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-08 10:19:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":126079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":126079,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":126079,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:19:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572380416001,"66":14559,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":798122326571847680},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572380416001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:19:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":798122326571847680,"description":"Unknown IO ID 45"} 
[2026-07-08 10:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572380416001,"power":14559,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798122326571847680}} 
[2026-07-08 10:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":126079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450244,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:19:23] local.INFO: GPS data processed {"connection_id":126079,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:19:23] local.INFO: Acknowledgment sent {"connection_id":126079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:19:38] local.INFO: TCP Data received {"connection_id":127351,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f400e4990012d7f980005afe330000001262f..."} 
[2026-07-08 10:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f400e4990012d7f980005afe330000001262f..."} 
[2026-07-08 10:19:38] local.INFO: Processing buffer {"connection_id":127351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f400e4990012d7f980005afe330000001262f..."} 
[2026-07-08 10:19:38] local.INFO: Packet analysis {"connection_id":127351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f400e"} 
[2026-07-08 10:19:38] local.INFO: Extracted packet for processing {"connection_id":127351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f400e"} 
[2026-07-08 10:19:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572366080001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783486106000,"timestamp_ms":1783486106000,"timestamp_seconds":1783486106,"priority":1,"record_length":96,"hex_timestamp":"0000019f400e4990"} 
[2026-07-08 10:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 10:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572366080001,"66":25625,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572366080001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:19:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:19:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572366080001,"power":25625,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":127351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:19:38] local.INFO: GPS data processed {"connection_id":127351,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:19:38] local.INFO: Acknowledgment sent {"connection_id":127351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:19:45] local.INFO: TCP Data received {"connection_id":125349,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125349,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:19:45] local.INFO: Processing buffer {"connection_id":125349,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:19:45] local.INFO: IMEI packet received {"connection_id":125349,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":125349,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:19:50] local.INFO: TCP Data received {"connection_id":125349,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125349,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:19:50] local.INFO: Processing buffer {"connection_id":125349,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:19:50] local.INFO: IMEI packet received {"connection_id":125349,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":125349,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:19:51] local.INFO: TCP Data received {"connection_id":125349,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f400f2c20012d0b130007029fc00015013425..."} 
[2026-07-08 10:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f400f2c20012d0b130007029fc00015013425..."} 
[2026-07-08 10:19:51] local.INFO: Processing buffer {"connection_id":125349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f400f2c20012d0b130007029fc00015013425..."} 
[2026-07-08 10:19:51] local.INFO: Packet analysis {"connection_id":125349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f400f"} 
[2026-07-08 10:19:51] local.INFO: Extracted packet for processing {"connection_id":125349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f400f"} 
[2026-07-08 10:19:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":21,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572380928001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798051957827674112,"note":"Value kept but may cause issues"} 
[2026-07-08 10:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783486164000,"timestamp_ms":1783486164000,"timestamp_seconds":1783486164,"priority":1,"record_length":96,"hex_timestamp":"0000019f400f2c20"} 
[2026-07-08 10:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-08 10:19:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125349,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125349,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572380928001,"66":12841,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":798051957827674112},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572380928001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:19:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":798051957827674112,"description":"Unknown IO ID 45"} 
[2026-07-08 10:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572380928001,"power":12841,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798051957827674112}} 
[2026-07-08 10:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":125349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450246,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:19:52] local.INFO: GPS data processed {"connection_id":125349,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:19:52] local.INFO: Acknowledgment sent {"connection_id":125349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:19:59] local.INFO: TCP Data received {"connection_id":126082,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:19:59] local.INFO: Processing buffer {"connection_id":126082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:19:59] local.INFO: IMEI packet received {"connection_id":126082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":126082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:20:01] local.INFO: TCP Data received {"connection_id":126082,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:20:01] local.INFO: Processing buffer {"connection_id":126082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:20:01] local.INFO: IMEI packet received {"connection_id":126082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":126082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:20:01] local.INFO: TCP Data received {"connection_id":126082,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f400e4990012d7f980005afe330000001262f..."} 
[2026-07-08 10:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f400e4990012d7f980005afe330000001262f..."} 
[2026-07-08 10:20:01] local.INFO: Processing buffer {"connection_id":126082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f400e4990012d7f980005afe330000001262f..."} 
[2026-07-08 10:20:01] local.INFO: Packet analysis {"connection_id":126082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f400e"} 
[2026-07-08 10:20:01] local.INFO: Extracted packet for processing {"connection_id":126082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f400e"} 
[2026-07-08 10:20:01] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572366080001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783486106000,"timestamp_ms":1783486106000,"timestamp_seconds":1783486106,"priority":1,"record_length":96,"hex_timestamp":"0000019f400e4990"} 
[2026-07-08 10:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 10:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:20:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572366080001,"66":25625,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572366080001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:20:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:20:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572366080001,"power":25625,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":126082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:20:01] local.INFO: GPS data processed {"connection_id":126082,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:20:01] local.INFO: Acknowledgment sent {"connection_id":126082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:20:07] local.INFO: TCP Data received {"connection_id":126082,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f400e4990012d7f980005afe330000001262f..."} 
[2026-07-08 10:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f400e4990012d7f980005afe330000001262f..."} 
[2026-07-08 10:20:07] local.INFO: Processing buffer {"connection_id":126082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f400e4990012d7f980005afe330000001262f..."} 
[2026-07-08 10:20:07] local.INFO: Packet analysis {"connection_id":126082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f400e"} 
[2026-07-08 10:20:07] local.INFO: Extracted packet for processing {"connection_id":126082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f400e"} 
[2026-07-08 10:20:07] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572366080001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783486106000,"timestamp_ms":1783486106000,"timestamp_seconds":1783486106,"priority":1,"record_length":96,"hex_timestamp":"0000019f400e4990"} 
[2026-07-08 10:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 10:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572366080001,"66":25625,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572366080001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:20:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:20:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572366080001,"power":25625,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":126082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:20:07] local.INFO: GPS data processed {"connection_id":126082,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:20:07] local.INFO: Acknowledgment sent {"connection_id":126082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:20:23] local.INFO: TCP Data received {"connection_id":125349,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f400f2c20012d0b130007029fc00015013425..."} 
[2026-07-08 10:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f400f2c20012d0b130007029fc00015013425..."} 
[2026-07-08 10:20:23] local.INFO: Processing buffer {"connection_id":125349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f400f2c20012d0b130007029fc00015013425..."} 
[2026-07-08 10:20:23] local.INFO: Packet analysis {"connection_id":125349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f400f"} 
[2026-07-08 10:20:23] local.INFO: Extracted packet for processing {"connection_id":125349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f400f"} 
[2026-07-08 10:20:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":21,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 10:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572380928001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798051957827674112,"note":"Value kept but may cause issues"} 
[2026-07-08 10:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783486164000,"timestamp_ms":1783486164000,"timestamp_seconds":1783486164,"priority":1,"record_length":96,"hex_timestamp":"0000019f400f2c20"} 
[2026-07-08 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-07-08 10:20:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-08 10:20:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 10:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":125349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":125349,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":125349,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:20:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572380928001,"66":12841,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":798051957827674112},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572380928001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:20:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":798051957827674112,"description":"Unknown IO ID 45"} 
[2026-07-08 10:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572380928001,"power":12841,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798051957827674112}} 
[2026-07-08 10:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":125349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450249,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:20:23] local.INFO: GPS data processed {"connection_id":125349,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:20:23] local.INFO: Acknowledgment sent {"connection_id":125349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:20:38] local.INFO: TCP Data received {"connection_id":126082,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f400e4990012d7f980005afe330000001262f..."} 
[2026-07-08 10:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f400e4990012d7f980005afe330000001262f..."} 
[2026-07-08 10:20:38] local.INFO: Processing buffer {"connection_id":126082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f400e4990012d7f980005afe330000001262f..."} 
[2026-07-08 10:20:38] local.INFO: Packet analysis {"connection_id":126082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f400e"} 
[2026-07-08 10:20:38] local.INFO: Extracted packet for processing {"connection_id":126082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f400e"} 
[2026-07-08 10:20:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572366080001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783486106000,"timestamp_ms":1783486106000,"timestamp_seconds":1783486106,"priority":1,"record_length":96,"hex_timestamp":"0000019f400e4990"} 
[2026-07-08 10:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 10:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572366080001,"66":25625,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572366080001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:20:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:20:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572366080001,"power":25625,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":126082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:20:38] local.INFO: GPS data processed {"connection_id":126082,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:20:38] local.INFO: Acknowledgment sent {"connection_id":126082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:20:45] local.INFO: TCP Data received {"connection_id":125253,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125253,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:20:45] local.INFO: Processing buffer {"connection_id":125253,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:20:45] local.INFO: IMEI packet received {"connection_id":125253,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":125253,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:20:50] local.INFO: TCP Data received {"connection_id":125253,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125253,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:20:50] local.INFO: Processing buffer {"connection_id":125253,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:20:50] local.INFO: IMEI packet received {"connection_id":125253,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":125253,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:20:53] local.INFO: TCP Data received {"connection_id":125253,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f400f2c20012d0b130007029fc00015013425..."} 
[2026-07-08 10:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f400f2c20012d0b130007029fc00015013425..."} 
[2026-07-08 10:20:53] local.INFO: Processing buffer {"connection_id":125253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f400f2c20012d0b130007029fc00015013425..."} 
[2026-07-08 10:20:53] local.INFO: Packet analysis {"connection_id":125253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f400f"} 
[2026-07-08 10:20:53] local.INFO: Extracted packet for processing {"connection_id":125253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f400f"} 
[2026-07-08 10:20:53] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":21,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 10:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572380928001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798051957827674112,"note":"Value kept but may cause issues"} 
[2026-07-08 10:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783486164000,"timestamp_ms":1783486164000,"timestamp_seconds":1783486164,"priority":1,"record_length":96,"hex_timestamp":"0000019f400f2c20"} 
[2026-07-08 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-07-08 10:20:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-08 10:20:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 10:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125253,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125253,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:20:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572380928001,"66":12841,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":798051957827674112},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572380928001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:20:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":798051957827674112,"description":"Unknown IO ID 45"} 
[2026-07-08 10:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572380928001,"power":12841,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798051957827674112}} 
[2026-07-08 10:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":125253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450251,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:20:53] local.INFO: GPS data processed {"connection_id":125253,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:20:53] local.INFO: Acknowledgment sent {"connection_id":125253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:20:56] local.INFO: TCP Data received {"connection_id":127352,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:20:56] local.INFO: Processing buffer {"connection_id":127352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:20:56] local.INFO: IMEI packet received {"connection_id":127352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":127352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:21:01] local.INFO: TCP Data received {"connection_id":127352,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:21:01] local.INFO: Processing buffer {"connection_id":127352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:21:01] local.INFO: IMEI packet received {"connection_id":127352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":127352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:21:02] local.INFO: TCP Data received {"connection_id":127352,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f400e4990012d7f980005afe330000001262f..."} 
[2026-07-08 10:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f400e4990012d7f980005afe330000001262f..."} 
[2026-07-08 10:21:02] local.INFO: Processing buffer {"connection_id":127352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f400e4990012d7f980005afe330000001262f..."} 
[2026-07-08 10:21:02] local.INFO: Packet analysis {"connection_id":127352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f400e"} 
[2026-07-08 10:21:02] local.INFO: Extracted packet for processing {"connection_id":127352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f400e"} 
[2026-07-08 10:21:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572366080001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783486106000,"timestamp_ms":1783486106000,"timestamp_seconds":1783486106,"priority":1,"record_length":96,"hex_timestamp":"0000019f400e4990"} 
[2026-07-08 10:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 10:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572366080001,"66":25625,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572366080001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:21:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:21:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572366080001,"power":25625,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":127352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:21:02] local.INFO: GPS data processed {"connection_id":127352,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:21:02] local.INFO: Acknowledgment sent {"connection_id":127352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:21:24] local.INFO: TCP Data received {"connection_id":125253,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f400f2c20012d0b130007029fc00015013425..."} 
[2026-07-08 10:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f400f2c20012d0b130007029fc00015013425..."} 
[2026-07-08 10:21:24] local.INFO: Processing buffer {"connection_id":125253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f400f2c20012d0b130007029fc00015013425..."} 
[2026-07-08 10:21:24] local.INFO: Packet analysis {"connection_id":125253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f400f"} 
[2026-07-08 10:21:24] local.INFO: Extracted packet for processing {"connection_id":125253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f400f"} 
[2026-07-08 10:21:24] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":21,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 10:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572380928001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798051957827674112,"note":"Value kept but may cause issues"} 
[2026-07-08 10:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783486164000,"timestamp_ms":1783486164000,"timestamp_seconds":1783486164,"priority":1,"record_length":96,"hex_timestamp":"0000019f400f2c20"} 
[2026-07-08 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-07-08 10:21:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-08 10:21:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 10:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125253,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125253,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:21:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572380928001,"66":12841,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":798051957827674112},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572380928001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:21:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":798051957827674112,"description":"Unknown IO ID 45"} 
[2026-07-08 10:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572380928001,"power":12841,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798051957827674112}} 
[2026-07-08 10:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":125253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450253,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:21:25] local.INFO: GPS data processed {"connection_id":125253,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:21:25] local.INFO: Acknowledgment sent {"connection_id":125253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:21:27] local.INFO: TCP Data received {"connection_id":125254,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125254,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:21:27] local.INFO: Processing buffer {"connection_id":125254,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:21:27] local.INFO: IMEI packet received {"connection_id":125254,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 10:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":125254,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:21:33] local.INFO: TCP Data received {"connection_id":127352,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f400e4990012d7f980005afe330000001262f..."} 
[2026-07-08 10:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f400e4990012d7f980005afe330000001262f..."} 
[2026-07-08 10:21:33] local.INFO: Processing buffer {"connection_id":127352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f400e4990012d7f980005afe330000001262f..."} 
[2026-07-08 10:21:33] local.INFO: Packet analysis {"connection_id":127352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f400e"} 
[2026-07-08 10:21:33] local.INFO: Extracted packet for processing {"connection_id":127352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f400e"} 
[2026-07-08 10:21:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572366080001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783486106000,"timestamp_ms":1783486106000,"timestamp_seconds":1783486106,"priority":1,"record_length":96,"hex_timestamp":"0000019f400e4990"} 
[2026-07-08 10:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:21:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 10:21:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:21:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572366080001,"66":25625,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572366080001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:21:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:21:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572366080001,"power":25625,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":127352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:21:33] local.INFO: GPS data processed {"connection_id":127352,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:21:33] local.INFO: Acknowledgment sent {"connection_id":127352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:21:50] local.INFO: TCP Data received {"connection_id":127353,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127353,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:21:50] local.INFO: Processing buffer {"connection_id":127353,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:21:50] local.INFO: IMEI packet received {"connection_id":127353,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":127353,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:21:55] local.INFO: TCP Data received {"connection_id":127353,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127353,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:21:55] local.INFO: Processing buffer {"connection_id":127353,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:21:55] local.INFO: IMEI packet received {"connection_id":127353,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":127353,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:21:56] local.INFO: TCP Data received {"connection_id":127353,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f400f2c20012d0b130007029fc00015013425..."} 
[2026-07-08 10:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f400f2c20012d0b130007029fc00015013425..."} 
[2026-07-08 10:21:56] local.INFO: Processing buffer {"connection_id":127353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f400f2c20012d0b130007029fc00015013425..."} 
[2026-07-08 10:21:56] local.INFO: Packet analysis {"connection_id":127353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f400f"} 
[2026-07-08 10:21:56] local.INFO: Extracted packet for processing {"connection_id":127353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f400f"} 
[2026-07-08 10:21:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":21,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572380928001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798051957827674112,"note":"Value kept but may cause issues"} 
[2026-07-08 10:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783486164000,"timestamp_ms":1783486164000,"timestamp_seconds":1783486164,"priority":1,"record_length":96,"hex_timestamp":"0000019f400f2c20"} 
[2026-07-08 10:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:21:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-08 10:21:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:21:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":127353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":127353,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":127353,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572380928001,"66":12841,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":798051957827674112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572380928001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:21:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":798051957827674112,"description":"Unknown IO ID 45"} 
[2026-07-08 10:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572380928001,"power":12841,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798051957827674112}} 
[2026-07-08 10:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":127353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450255,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:21:56] local.INFO: GPS data processed {"connection_id":127353,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:21:56] local.INFO: Acknowledgment sent {"connection_id":127353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:21:56] local.INFO: TCP Data received {"connection_id":127355,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:21:56] local.INFO: Processing buffer {"connection_id":127355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:21:56] local.INFO: IMEI packet received {"connection_id":127355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":127355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:21:56] local.INFO: TCP Data received {"connection_id":127354,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127354,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:21:56] local.INFO: Processing buffer {"connection_id":127354,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:21:56] local.INFO: IMEI packet received {"connection_id":127354,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 10:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":127354,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:22:01] local.INFO: TCP Data received {"connection_id":127355,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:22:01] local.INFO: Processing buffer {"connection_id":127355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:22:01] local.INFO: IMEI packet received {"connection_id":127355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":127355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:22:01] local.INFO: TCP Data received {"connection_id":127353,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f400f2c20012d0b130007029fc00015013425..."} 
[2026-07-08 10:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f400f2c20012d0b130007029fc00015013425..."} 
[2026-07-08 10:22:01] local.INFO: Processing buffer {"connection_id":127353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f400f2c20012d0b130007029fc00015013425..."} 
[2026-07-08 10:22:01] local.INFO: Packet analysis {"connection_id":127353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f400f"} 
[2026-07-08 10:22:01] local.INFO: Extracted packet for processing {"connection_id":127353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f400f"} 
[2026-07-08 10:22:01] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":21,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572380928001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798051957827674112,"note":"Value kept but may cause issues"} 
[2026-07-08 10:22: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-07-08 10:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783486164000,"timestamp_ms":1783486164000,"timestamp_seconds":1783486164,"priority":1,"record_length":96,"hex_timestamp":"0000019f400f2c20"} 
[2026-07-08 10:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:22:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-08 10:22:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:22:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127353,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127353,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:22:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572380928001,"66":12841,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":798051957827674112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572380928001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:22:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":798051957827674112,"description":"Unknown IO ID 45"} 
[2026-07-08 10:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572380928001,"power":12841,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798051957827674112}} 
[2026-07-08 10:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":127353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450256,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:22:01] local.INFO: GPS data processed {"connection_id":127353,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:22:01] local.INFO: Acknowledgment sent {"connection_id":127353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:22:02] local.INFO: TCP Data received {"connection_id":127355,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f400e4990012d7f980005afe330000001262f..."} 
[2026-07-08 10:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f400e4990012d7f980005afe330000001262f..."} 
[2026-07-08 10:22:02] local.INFO: Processing buffer {"connection_id":127355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f400e4990012d7f980005afe330000001262f..."} 
[2026-07-08 10:22:02] local.INFO: Packet analysis {"connection_id":127355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f400e"} 
[2026-07-08 10:22:02] local.INFO: Extracted packet for processing {"connection_id":127355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f400e"} 
[2026-07-08 10:22:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572366080001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783486106000,"timestamp_ms":1783486106000,"timestamp_seconds":1783486106,"priority":1,"record_length":96,"hex_timestamp":"0000019f400e4990"} 
[2026-07-08 10:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 10:22:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:22:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572366080001,"66":25625,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572366080001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:22:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:22:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572366080001,"power":25625,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":127355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:22:02] local.INFO: GPS data processed {"connection_id":127355,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:22:02] local.INFO: Acknowledgment sent {"connection_id":127355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:22:32] local.INFO: TCP Data received {"connection_id":127355,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f400e4990012d7f980005afe330000001262f..."} 
[2026-07-08 10:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f400e4990012d7f980005afe330000001262f..."} 
[2026-07-08 10:22:32] local.INFO: Processing buffer {"connection_id":127355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f400e4990012d7f980005afe330000001262f..."} 
[2026-07-08 10:22:32] local.INFO: Packet analysis {"connection_id":127355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f400e"} 
[2026-07-08 10:22:32] local.INFO: Extracted packet for processing {"connection_id":127355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f400e"} 
[2026-07-08 10:22:32] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572366080001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783486106000,"timestamp_ms":1783486106000,"timestamp_seconds":1783486106,"priority":1,"record_length":96,"hex_timestamp":"0000019f400e4990"} 
[2026-07-08 10:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 10:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:22: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-07-08 10:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572366080001,"66":25625,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572366080001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:22:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:22:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572366080001,"power":25625,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":127355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:22:32] local.INFO: GPS data processed {"connection_id":127355,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:22:32] local.INFO: Acknowledgment sent {"connection_id":127355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:22:46] local.INFO: TCP Data received {"connection_id":125255,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125255,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:22:46] local.INFO: Processing buffer {"connection_id":125255,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:22:46] local.INFO: IMEI packet received {"connection_id":125255,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":125255,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:22:51] local.INFO: TCP Data received {"connection_id":125255,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125255,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:22:51] local.INFO: Processing buffer {"connection_id":125255,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:22:51] local.INFO: IMEI packet received {"connection_id":125255,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":125255,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:22:53] local.INFO: TCP Data received {"connection_id":125255,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f400f2c20012d0b130007029fc00015013425..."} 
[2026-07-08 10:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f400f2c20012d0b130007029fc00015013425..."} 
[2026-07-08 10:22:53] local.INFO: Processing buffer {"connection_id":125255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f400f2c20012d0b130007029fc00015013425..."} 
[2026-07-08 10:22:53] local.INFO: Packet analysis {"connection_id":125255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f400f"} 
[2026-07-08 10:22:53] local.INFO: Extracted packet for processing {"connection_id":125255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f400f"} 
[2026-07-08 10:22:53] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":21,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 10:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572380928001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798051957827674112,"note":"Value kept but may cause issues"} 
[2026-07-08 10:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783486164000,"timestamp_ms":1783486164000,"timestamp_seconds":1783486164,"priority":1,"record_length":96,"hex_timestamp":"0000019f400f2c20"} 
[2026-07-08 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-07-08 10:22:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-08 10:22:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:22:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 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-07-08 10:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125255,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125255,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:22:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572380928001,"66":12841,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":798051957827674112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572380928001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:22:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":798051957827674112,"description":"Unknown IO ID 45"} 
[2026-07-08 10:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572380928001,"power":12841,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798051957827674112}} 
[2026-07-08 10:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":125255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450259,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:22:53] local.INFO: GPS data processed {"connection_id":125255,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:22:53] local.INFO: Acknowledgment sent {"connection_id":125255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:22:56] local.INFO: TCP Data received {"connection_id":125255,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f400f2c20012d0b130007029fc00015013425..."} 
[2026-07-08 10:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f400f2c20012d0b130007029fc00015013425..."} 
[2026-07-08 10:22:56] local.INFO: Processing buffer {"connection_id":125255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f400f2c20012d0b130007029fc00015013425..."} 
[2026-07-08 10:22:56] local.INFO: Packet analysis {"connection_id":125255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f400f"} 
[2026-07-08 10:22:56] local.INFO: Extracted packet for processing {"connection_id":125255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f400f"} 
[2026-07-08 10:22:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":21,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572380928001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798051957827674112,"note":"Value kept but may cause issues"} 
[2026-07-08 10:22:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783486164000,"timestamp_ms":1783486164000,"timestamp_seconds":1783486164,"priority":1,"record_length":96,"hex_timestamp":"0000019f400f2c20"} 
[2026-07-08 10:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:22:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-08 10:22:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:22:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":125255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":125255,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":125255,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572380928001,"66":12841,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":798051957827674112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572380928001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:22:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":798051957827674112,"description":"Unknown IO ID 45"} 
[2026-07-08 10:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572380928001,"power":12841,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798051957827674112}} 
[2026-07-08 10:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":125255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450260,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:22:56] local.INFO: GPS data processed {"connection_id":125255,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:22:56] local.INFO: Acknowledgment sent {"connection_id":125255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:22:56] local.INFO: TCP Data received {"connection_id":127356,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:22:56] local.INFO: Processing buffer {"connection_id":127356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:22:56] local.INFO: IMEI packet received {"connection_id":127356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":127356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:23:01] local.INFO: TCP Data received {"connection_id":127356,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:23:01] local.INFO: Processing buffer {"connection_id":127356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:23:01] local.INFO: IMEI packet received {"connection_id":127356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":127356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:23:02] local.INFO: TCP Data received {"connection_id":127356,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f400e4990012d7f980005afe330000001262f..."} 
[2026-07-08 10:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f400e4990012d7f980005afe330000001262f..."} 
[2026-07-08 10:23:02] local.INFO: Processing buffer {"connection_id":127356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f400e4990012d7f980005afe330000001262f..."} 
[2026-07-08 10:23:02] local.INFO: Packet analysis {"connection_id":127356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f400e"} 
[2026-07-08 10:23:02] local.INFO: Extracted packet for processing {"connection_id":127356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f400e"} 
[2026-07-08 10:23:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572366080001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783486106000,"timestamp_ms":1783486106000,"timestamp_seconds":1783486106,"priority":1,"record_length":96,"hex_timestamp":"0000019f400e4990"} 
[2026-07-08 10:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 10:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572366080001,"66":25625,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572366080001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:23:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:23:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572366080001,"power":25625,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":127356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:23:02] local.INFO: GPS data processed {"connection_id":127356,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:23:02] local.INFO: Acknowledgment sent {"connection_id":127356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:23:27] local.INFO: TCP Data received {"connection_id":125255,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f400f2c20012d0b130007029fc00015013425..."} 
[2026-07-08 10:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f400f2c20012d0b130007029fc00015013425..."} 
[2026-07-08 10:23:27] local.INFO: Processing buffer {"connection_id":125255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f400f2c20012d0b130007029fc00015013425..."} 
[2026-07-08 10:23:27] local.INFO: Packet analysis {"connection_id":125255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f400f"} 
[2026-07-08 10:23:27] local.INFO: Extracted packet for processing {"connection_id":125255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f400f"} 
[2026-07-08 10:23:27] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":21,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 10:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572380928001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798051957827674112,"note":"Value kept but may cause issues"} 
[2026-07-08 10:23:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783486164000,"timestamp_ms":1783486164000,"timestamp_seconds":1783486164,"priority":1,"record_length":96,"hex_timestamp":"0000019f400f2c20"} 
[2026-07-08 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-07-08 10:23:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-08 10:23:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 10:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":125255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":125255,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":125255,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572380928001,"66":12841,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":798051957827674112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572380928001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:23:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":798051957827674112,"description":"Unknown IO ID 45"} 
[2026-07-08 10:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572380928001,"power":12841,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798051957827674112}} 
[2026-07-08 10:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":125255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450262,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:23:27] local.INFO: GPS data processed {"connection_id":125255,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:23:27] local.INFO: Acknowledgment sent {"connection_id":125255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:23:33] local.INFO: TCP Data received {"connection_id":127356,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f400e4990012d7f980005afe330000001262f..."} 
[2026-07-08 10:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f400e4990012d7f980005afe330000001262f..."} 
[2026-07-08 10:23:33] local.INFO: Processing buffer {"connection_id":127356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f400e4990012d7f980005afe330000001262f..."} 
[2026-07-08 10:23:33] local.INFO: Packet analysis {"connection_id":127356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f400e"} 
[2026-07-08 10:23:33] local.INFO: Extracted packet for processing {"connection_id":127356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f400e"} 
[2026-07-08 10:23:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":47,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572366080001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783486106000,"timestamp_ms":1783486106000,"timestamp_seconds":1783486106,"priority":1,"record_length":96,"hex_timestamp":"0000019f400e4990"} 
[2026-07-08 10:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 10:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572366080001,"66":25625,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572366080001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:23:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:23:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572366080001,"power":25625,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":127356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:23:33] local.INFO: GPS data processed {"connection_id":127356,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:23:33] local.INFO: Acknowledgment sent {"connection_id":127356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:23:45] local.INFO: TCP Data received {"connection_id":125256,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125256,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:23:45] local.INFO: Processing buffer {"connection_id":125256,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:23:45] local.INFO: IMEI packet received {"connection_id":125256,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":125256,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:23:50] local.INFO: TCP Data received {"connection_id":125256,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125256,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:23:50] local.INFO: Processing buffer {"connection_id":125256,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:23:50] local.INFO: IMEI packet received {"connection_id":125256,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":125256,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:23:51] local.INFO: TCP Data received {"connection_id":125256,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f400f2c20012d0b130007029fc00015013425..."} 
[2026-07-08 10:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f400f2c20012d0b130007029fc00015013425..."} 
[2026-07-08 10:23:51] local.INFO: Processing buffer {"connection_id":125256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f400f2c20012d0b130007029fc00015013425..."} 
[2026-07-08 10:23:51] local.INFO: Packet analysis {"connection_id":125256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f400f"} 
[2026-07-08 10:23:51] local.INFO: Extracted packet for processing {"connection_id":125256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f400f"} 
[2026-07-08 10:23:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":21,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572380928001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798051957827674112,"note":"Value kept but may cause issues"} 
[2026-07-08 10:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783486164000,"timestamp_ms":1783486164000,"timestamp_seconds":1783486164,"priority":1,"record_length":96,"hex_timestamp":"0000019f400f2c20"} 
[2026-07-08 10:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-08 10:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125256,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125256,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572380928001,"66":12841,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":798051957827674112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572380928001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:23:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":798051957827674112,"description":"Unknown IO ID 45"} 
[2026-07-08 10:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572380928001,"power":12841,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798051957827674112}} 
[2026-07-08 10:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":125256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450264,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:23:51] local.INFO: GPS data processed {"connection_id":125256,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:23:51] local.INFO: Acknowledgment sent {"connection_id":125256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:24:01] local.INFO: TCP Data received {"connection_id":125351,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:24:01] local.INFO: Processing buffer {"connection_id":125351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:24:01] local.INFO: IMEI packet received {"connection_id":125351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":125351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:24:05] local.INFO: TCP Data received {"connection_id":125351,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:24:05] local.INFO: Processing buffer {"connection_id":125351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:24:05] local.INFO: IMEI packet received {"connection_id":125351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":125351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:24:09] local.INFO: TCP Data received {"connection_id":125351,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4012e158012d7f980005afe330000001262d..."} 
[2026-07-08 10:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4012e158012d7f980005afe330000001262d..."} 
[2026-07-08 10:24:09] local.INFO: Processing buffer {"connection_id":125351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4012e158012d7f980005afe330000001262d..."} 
[2026-07-08 10:24:09] local.INFO: Packet analysis {"connection_id":125351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4012"} 
[2026-07-08 10:24:09] local.INFO: Extracted packet for processing {"connection_id":125351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4012"} 
[2026-07-08 10:24:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572443136001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783486407000,"timestamp_ms":1783486407000,"timestamp_seconds":1783486407,"priority":1,"record_length":96,"hex_timestamp":"0000019f4012e158"} 
[2026-07-08 10:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 10:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572443136001,"66":25604,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572443136001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:24:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:24:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572443136001,"power":25604,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":125351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:24:09] local.INFO: GPS data processed {"connection_id":125351,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:24:09] local.INFO: Acknowledgment sent {"connection_id":125351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:24:25] local.INFO: TCP Data received {"connection_id":125256,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f400f2c20012d0b130007029fc00015013425..."} 
[2026-07-08 10:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f400f2c20012d0b130007029fc00015013425..."} 
[2026-07-08 10:24:25] local.INFO: Processing buffer {"connection_id":125256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f400f2c20012d0b130007029fc00015013425..."} 
[2026-07-08 10:24:25] local.INFO: Packet analysis {"connection_id":125256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f400f"} 
[2026-07-08 10:24:25] local.INFO: Extracted packet for processing {"connection_id":125256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f400f"} 
[2026-07-08 10:24:25] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":21,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572380928001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798051957827674112,"note":"Value kept but may cause issues"} 
[2026-07-08 10:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783486164000,"timestamp_ms":1783486164000,"timestamp_seconds":1783486164,"priority":1,"record_length":96,"hex_timestamp":"0000019f400f2c20"} 
[2026-07-08 10:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-08 10:24:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":125256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":125256,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":125256,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572380928001,"66":12841,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":798051957827674112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572380928001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:24:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":798051957827674112,"description":"Unknown IO ID 45"} 
[2026-07-08 10:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572380928001,"power":12841,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798051957827674112}} 
[2026-07-08 10:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":125256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450266,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:24:25] local.INFO: GPS data processed {"connection_id":125256,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:24:25] local.INFO: Acknowledgment sent {"connection_id":125256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:24:40] local.INFO: TCP Data received {"connection_id":125351,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4012e158012d7f980005afe330000001262d..."} 
[2026-07-08 10:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4012e158012d7f980005afe330000001262d..."} 
[2026-07-08 10:24:40] local.INFO: Processing buffer {"connection_id":125351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4012e158012d7f980005afe330000001262d..."} 
[2026-07-08 10:24:40] local.INFO: Packet analysis {"connection_id":125351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4012"} 
[2026-07-08 10:24:40] local.INFO: Extracted packet for processing {"connection_id":125351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4012"} 
[2026-07-08 10:24:40] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572443136001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783486407000,"timestamp_ms":1783486407000,"timestamp_seconds":1783486407,"priority":1,"record_length":96,"hex_timestamp":"0000019f4012e158"} 
[2026-07-08 10:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:24:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 10:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572443136001,"66":25604,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572443136001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:24:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:24:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572443136001,"power":25604,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":125351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:24:40] local.INFO: GPS data processed {"connection_id":125351,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:24:40] local.INFO: Acknowledgment sent {"connection_id":125351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:24:45] local.INFO: TCP Data received {"connection_id":125257,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125257,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:24:45] local.INFO: Processing buffer {"connection_id":125257,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:24:45] local.INFO: IMEI packet received {"connection_id":125257,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":125257,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:24:54] local.INFO: TCP Data received {"connection_id":125257,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125257,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:24:54] local.INFO: Processing buffer {"connection_id":125257,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:24:54] local.INFO: IMEI packet received {"connection_id":125257,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":125257,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:24:55] local.INFO: TCP Data received {"connection_id":125257,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4013c3e8012d0b130007029fc00015013428..."} 
[2026-07-08 10:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4013c3e8012d0b130007029fc00015013428..."} 
[2026-07-08 10:24:55] local.INFO: Processing buffer {"connection_id":125257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4013c3e8012d0b130007029fc00015013428..."} 
[2026-07-08 10:24:55] local.INFO: Packet analysis {"connection_id":125257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4013"} 
[2026-07-08 10:24:55] local.INFO: Extracted packet for processing {"connection_id":125257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4013"} 
[2026-07-08 10:24:55] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":21,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572457984001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783486465000,"timestamp_ms":1783486465000,"timestamp_seconds":1783486465,"priority":1,"record_length":96,"hex_timestamp":"0000019f4013c3e8"} 
[2026-07-08 10:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-08 10:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":125257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":125257,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":125257,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572457984001,"66":12711,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572457984001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:24:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572457984001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":125257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450268,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:24:55] local.INFO: GPS data processed {"connection_id":125257,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:24:55] local.INFO: Acknowledgment sent {"connection_id":125257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:24:56] local.INFO: TCP Data received {"connection_id":125354,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:24:56] local.INFO: Processing buffer {"connection_id":125354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:24:56] local.INFO: IMEI packet received {"connection_id":125354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":125354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:25:01] local.INFO: TCP Data received {"connection_id":125354,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:25:01] local.INFO: Processing buffer {"connection_id":125354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:25:01] local.INFO: IMEI packet received {"connection_id":125354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":125354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:25:02] local.INFO: TCP Data received {"connection_id":125354,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4012e158012d7f980005afe330000001262d..."} 
[2026-07-08 10:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4012e158012d7f980005afe330000001262d..."} 
[2026-07-08 10:25:02] local.INFO: Processing buffer {"connection_id":125354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4012e158012d7f980005afe330000001262d..."} 
[2026-07-08 10:25:02] local.INFO: Packet analysis {"connection_id":125354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4012"} 
[2026-07-08 10:25:02] local.INFO: Extracted packet for processing {"connection_id":125354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4012"} 
[2026-07-08 10:25:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572443136001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783486407000,"timestamp_ms":1783486407000,"timestamp_seconds":1783486407,"priority":1,"record_length":96,"hex_timestamp":"0000019f4012e158"} 
[2026-07-08 10:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 10:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572443136001,"66":25604,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572443136001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:25:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:25:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572443136001,"power":25604,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":125354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:25:02] local.INFO: GPS data processed {"connection_id":125354,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:25:02] local.INFO: Acknowledgment sent {"connection_id":125354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:25:33] local.INFO: TCP Data received {"connection_id":125354,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4012e158012d7f980005afe330000001262d..."} 
[2026-07-08 10:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4012e158012d7f980005afe330000001262d..."} 
[2026-07-08 10:25:33] local.INFO: Processing buffer {"connection_id":125354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4012e158012d7f980005afe330000001262d..."} 
[2026-07-08 10:25:33] local.INFO: Packet analysis {"connection_id":125354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4012"} 
[2026-07-08 10:25:33] local.INFO: Extracted packet for processing {"connection_id":125354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4012"} 
[2026-07-08 10:25:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572443136001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783486407000,"timestamp_ms":1783486407000,"timestamp_seconds":1783486407,"priority":1,"record_length":96,"hex_timestamp":"0000019f4012e158"} 
[2026-07-08 10:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 10:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:25: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-07-08 10:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572443136001,"66":25604,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572443136001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:25:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:25:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572443136001,"power":25604,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":125354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:25:33] local.INFO: GPS data processed {"connection_id":125354,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:25:33] local.INFO: Acknowledgment sent {"connection_id":125354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:25:40] local.INFO: TCP Data received {"connection_id":125257,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4013c3e8012d0b130007029fc00015013428..."} 
[2026-07-08 10:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4013c3e8012d0b130007029fc00015013428..."} 
[2026-07-08 10:25:40] local.INFO: Processing buffer {"connection_id":125257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4013c3e8012d0b130007029fc00015013428..."} 
[2026-07-08 10:25:40] local.INFO: Packet analysis {"connection_id":125257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4013"} 
[2026-07-08 10:25:40] local.INFO: Extracted packet for processing {"connection_id":125257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4013"} 
[2026-07-08 10:25:40] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":21,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572457984001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:25:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:25:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783486465000,"timestamp_ms":1783486465000,"timestamp_seconds":1783486465,"priority":1,"record_length":96,"hex_timestamp":"0000019f4013c3e8"} 
[2026-07-08 10:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:25:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-08 10:25: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-07-08 10:25:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125257,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125257,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572457984001,"66":12711,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572457984001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:25:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:25:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572457984001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":125257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450271,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:25:40] local.INFO: GPS data processed {"connection_id":125257,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:25:40] local.INFO: Acknowledgment sent {"connection_id":125257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:25:50] local.INFO: TCP Data received {"connection_id":127357,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127357,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:25:50] local.INFO: Processing buffer {"connection_id":127357,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:25:50] local.INFO: IMEI packet received {"connection_id":127357,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":127357,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:25:55] local.INFO: TCP Data received {"connection_id":127357,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127357,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:25:55] local.INFO: Processing buffer {"connection_id":127357,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:25:55] local.INFO: IMEI packet received {"connection_id":127357,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":127357,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:25:56] local.INFO: TCP Data received {"connection_id":127359,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:25:56] local.INFO: Processing buffer {"connection_id":127359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:25:56] local.INFO: IMEI packet received {"connection_id":127359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":127359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:25:56] local.INFO: TCP Data received {"connection_id":127357,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4013c3e8012d0b130007029fc00015013428..."} 
[2026-07-08 10:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4013c3e8012d0b130007029fc00015013428..."} 
[2026-07-08 10:25:56] local.INFO: Processing buffer {"connection_id":127357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4013c3e8012d0b130007029fc00015013428..."} 
[2026-07-08 10:25:56] local.INFO: Packet analysis {"connection_id":127357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4013"} 
[2026-07-08 10:25:56] local.INFO: Extracted packet for processing {"connection_id":127357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4013"} 
[2026-07-08 10:25:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":21,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572457984001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783486465000,"timestamp_ms":1783486465000,"timestamp_seconds":1783486465,"priority":1,"record_length":96,"hex_timestamp":"0000019f4013c3e8"} 
[2026-07-08 10:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:25:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-08 10:25:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:25:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":127357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":127357,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":127357,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572457984001,"66":12711,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572457984001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:25:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572457984001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":127357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450272,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:25:56] local.INFO: GPS data processed {"connection_id":127357,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:25:56] local.INFO: Acknowledgment sent {"connection_id":127357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:26:01] local.INFO: TCP Data received {"connection_id":127357,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4013c3e8012d0b130007029fc00015013428..."} 
[2026-07-08 10:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4013c3e8012d0b130007029fc00015013428..."} 
[2026-07-08 10:26:01] local.INFO: Processing buffer {"connection_id":127357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4013c3e8012d0b130007029fc00015013428..."} 
[2026-07-08 10:26:01] local.INFO: Packet analysis {"connection_id":127357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4013"} 
[2026-07-08 10:26:01] local.INFO: Extracted packet for processing {"connection_id":127357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4013"} 
[2026-07-08 10:26:01] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":21,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572457984001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:26: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-07-08 10:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783486465000,"timestamp_ms":1783486465000,"timestamp_seconds":1783486465,"priority":1,"record_length":96,"hex_timestamp":"0000019f4013c3e8"} 
[2026-07-08 10:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:26:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-08 10:26:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:26:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127357,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127357,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:26:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572457984001,"66":12711,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572457984001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:26:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572457984001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":127357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450273,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:26:01] local.INFO: GPS data processed {"connection_id":127357,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:26:01] local.INFO: Acknowledgment sent {"connection_id":127357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:26:01] local.INFO: TCP Data received {"connection_id":127359,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:26:01] local.INFO: Processing buffer {"connection_id":127359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:26:01] local.INFO: IMEI packet received {"connection_id":127359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":127359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:26:01] local.INFO: TCP Data received {"connection_id":127359,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4012e158012d7f980005afe330000001262d..."} 
[2026-07-08 10:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4012e158012d7f980005afe330000001262d..."} 
[2026-07-08 10:26:01] local.INFO: Processing buffer {"connection_id":127359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4012e158012d7f980005afe330000001262d..."} 
[2026-07-08 10:26:01] local.INFO: Packet analysis {"connection_id":127359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4012"} 
[2026-07-08 10:26:01] local.INFO: Extracted packet for processing {"connection_id":127359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4012"} 
[2026-07-08 10:26:01] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572443136001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:26:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783486407000,"timestamp_ms":1783486407000,"timestamp_seconds":1783486407,"priority":1,"record_length":96,"hex_timestamp":"0000019f4012e158"} 
[2026-07-08 10:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:26:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 10:26:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:26:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:26:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572443136001,"66":25604,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572443136001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:26:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:26:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572443136001,"power":25604,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":127359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:26:02] local.INFO: GPS data processed {"connection_id":127359,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:26:02] local.INFO: Acknowledgment sent {"connection_id":127359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:26:32] local.INFO: TCP Data received {"connection_id":127359,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4012e158012d7f980005afe330000001262d..."} 
[2026-07-08 10:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4012e158012d7f980005afe330000001262d..."} 
[2026-07-08 10:26:32] local.INFO: Processing buffer {"connection_id":127359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4012e158012d7f980005afe330000001262d..."} 
[2026-07-08 10:26:32] local.INFO: Packet analysis {"connection_id":127359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4012"} 
[2026-07-08 10:26:32] local.INFO: Extracted packet for processing {"connection_id":127359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4012"} 
[2026-07-08 10:26:32] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572443136001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783486407000,"timestamp_ms":1783486407000,"timestamp_seconds":1783486407,"priority":1,"record_length":96,"hex_timestamp":"0000019f4012e158"} 
[2026-07-08 10:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 10:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:26: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-07-08 10:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572443136001,"66":25604,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572443136001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:26:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:26:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572443136001,"power":25604,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":127359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:26:32] local.INFO: GPS data processed {"connection_id":127359,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:26:32] local.INFO: Acknowledgment sent {"connection_id":127359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:26:45] local.INFO: TCP Data received {"connection_id":125355,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125355,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:26:45] local.INFO: Processing buffer {"connection_id":125355,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:26:45] local.INFO: IMEI packet received {"connection_id":125355,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":125355,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:26:50] local.INFO: TCP Data received {"connection_id":125355,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125355,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:26:50] local.INFO: Processing buffer {"connection_id":125355,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:26:50] local.INFO: IMEI packet received {"connection_id":125355,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":125355,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:26:51] local.INFO: TCP Data received {"connection_id":125355,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4013c3e8012d0b130007029fc00015013428..."} 
[2026-07-08 10:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4013c3e8012d0b130007029fc00015013428..."} 
[2026-07-08 10:26:51] local.INFO: Processing buffer {"connection_id":125355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4013c3e8012d0b130007029fc00015013428..."} 
[2026-07-08 10:26:51] local.INFO: Packet analysis {"connection_id":125355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4013"} 
[2026-07-08 10:26:51] local.INFO: Extracted packet for processing {"connection_id":125355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4013"} 
[2026-07-08 10:26:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":21,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 10:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572457984001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783486465000,"timestamp_ms":1783486465000,"timestamp_seconds":1783486465,"priority":1,"record_length":96,"hex_timestamp":"0000019f4013c3e8"} 
[2026-07-08 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-07-08 10:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-08 10:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 10:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572457984001,"66":12711,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572457984001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:26:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572457984001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":125355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450276,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:26:51] local.INFO: GPS data processed {"connection_id":125355,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:26:51] local.INFO: Acknowledgment sent {"connection_id":125355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:26:56] local.INFO: TCP Data received {"connection_id":125355,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4013c3e8012d0b130007029fc00015013428..."} 
[2026-07-08 10:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4013c3e8012d0b130007029fc00015013428..."} 
[2026-07-08 10:26:56] local.INFO: Processing buffer {"connection_id":125355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4013c3e8012d0b130007029fc00015013428..."} 
[2026-07-08 10:26:56] local.INFO: Packet analysis {"connection_id":125355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4013"} 
[2026-07-08 10:26:56] local.INFO: Extracted packet for processing {"connection_id":125355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4013"} 
[2026-07-08 10:26:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":21,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 10:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572457984001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783486465000,"timestamp_ms":1783486465000,"timestamp_seconds":1783486465,"priority":1,"record_length":96,"hex_timestamp":"0000019f4013c3e8"} 
[2026-07-08 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-07-08 10:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-08 10:26:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 10:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":125355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":125355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":125355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572457984001,"66":12711,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572457984001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:26:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572457984001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":125355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450277,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:26:56] local.INFO: GPS data processed {"connection_id":125355,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:26:56] local.INFO: Acknowledgment sent {"connection_id":125355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:26:56] local.INFO: TCP Data received {"connection_id":127361,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:26:56] local.INFO: Processing buffer {"connection_id":127361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:26:56] local.INFO: IMEI packet received {"connection_id":127361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":127361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:27:01] local.INFO: TCP Data received {"connection_id":127361,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:27:01] local.INFO: Processing buffer {"connection_id":127361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:27:01] local.INFO: IMEI packet received {"connection_id":127361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":127361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:27:02] local.INFO: TCP Data received {"connection_id":127361,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4012e158012d7f980005afe330000001262d..."} 
[2026-07-08 10:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4012e158012d7f980005afe330000001262d..."} 
[2026-07-08 10:27:02] local.INFO: Processing buffer {"connection_id":127361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4012e158012d7f980005afe330000001262d..."} 
[2026-07-08 10:27:02] local.INFO: Packet analysis {"connection_id":127361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4012"} 
[2026-07-08 10:27:02] local.INFO: Extracted packet for processing {"connection_id":127361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4012"} 
[2026-07-08 10:27:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572443136001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783486407000,"timestamp_ms":1783486407000,"timestamp_seconds":1783486407,"priority":1,"record_length":96,"hex_timestamp":"0000019f4012e158"} 
[2026-07-08 10:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 10:27:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:27:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572443136001,"66":25604,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572443136001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:27:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:27:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572443136001,"power":25604,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":127361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:27:02] local.INFO: GPS data processed {"connection_id":127361,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:27:02] local.INFO: Acknowledgment sent {"connection_id":127361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:27:22] local.INFO: TCP Data received {"connection_id":127360,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127360,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:27:22] local.INFO: Processing buffer {"connection_id":127360,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:27:22] local.INFO: IMEI packet received {"connection_id":127360,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 10:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":127360,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:27:27] local.INFO: TCP Data received {"connection_id":125355,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4013c3e8012d0b130007029fc00015013428..."} 
[2026-07-08 10:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4013c3e8012d0b130007029fc00015013428..."} 
[2026-07-08 10:27:27] local.INFO: Processing buffer {"connection_id":125355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4013c3e8012d0b130007029fc00015013428..."} 
[2026-07-08 10:27:27] local.INFO: Packet analysis {"connection_id":125355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4013"} 
[2026-07-08 10:27:27] local.INFO: Extracted packet for processing {"connection_id":125355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4013"} 
[2026-07-08 10:27:27] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":21,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572457984001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783486465000,"timestamp_ms":1783486465000,"timestamp_seconds":1783486465,"priority":1,"record_length":96,"hex_timestamp":"0000019f4013c3e8"} 
[2026-07-08 10:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-08 10:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":125355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":125355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":125355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572457984001,"66":12711,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572457984001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:27:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572457984001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":125355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450279,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:27:27] local.INFO: GPS data processed {"connection_id":125355,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:27:27] local.INFO: Acknowledgment sent {"connection_id":125355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:27:36] local.INFO: TCP Data received {"connection_id":126083,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:27:36] local.INFO: Processing buffer {"connection_id":126083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:27:36] local.INFO: IMEI packet received {"connection_id":126083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":126083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:27:45] local.INFO: TCP Data received {"connection_id":126084,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126084,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:27:45] local.INFO: Processing buffer {"connection_id":126084,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:27:45] local.INFO: IMEI packet received {"connection_id":126084,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":126084,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:27:53] local.INFO: TCP Data received {"connection_id":126084,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126084,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:27:53] local.INFO: Processing buffer {"connection_id":126084,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:27:53] local.INFO: IMEI packet received {"connection_id":126084,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":126084,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:27:54] local.INFO: TCP Data received {"connection_id":126084,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4013c3e8012d0b130007029fc00015013428..."} 
[2026-07-08 10:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4013c3e8012d0b130007029fc00015013428..."} 
[2026-07-08 10:27:54] local.INFO: Processing buffer {"connection_id":126084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4013c3e8012d0b130007029fc00015013428..."} 
[2026-07-08 10:27:54] local.INFO: Packet analysis {"connection_id":126084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4013"} 
[2026-07-08 10:27:54] local.INFO: Extracted packet for processing {"connection_id":126084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4013"} 
[2026-07-08 10:27:54] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":21,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 10:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572457984001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783486465000,"timestamp_ms":1783486465000,"timestamp_seconds":1783486465,"priority":1,"record_length":96,"hex_timestamp":"0000019f4013c3e8"} 
[2026-07-08 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-07-08 10:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-08 10:27:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 10:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":126084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":126084,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":126084,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:27:54] 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-07-08 10:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572457984001,"66":12711,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 10:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572457984001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:27:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572457984001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":126084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450280,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:27:54] local.INFO: GPS data processed {"connection_id":126084,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:27:54] local.INFO: Acknowledgment sent {"connection_id":126084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:27:56] local.INFO: TCP Data received {"connection_id":127362,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127362,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:27:56] local.INFO: Processing buffer {"connection_id":127362,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:27:56] local.INFO: IMEI packet received {"connection_id":127362,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 10:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":127362,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:28:11] local.INFO: TCP Data received {"connection_id":125258,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:28:11] local.INFO: Processing buffer {"connection_id":125258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:28:11] local.INFO: IMEI packet received {"connection_id":125258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":125258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:28:16] local.INFO: TCP Data received {"connection_id":125258,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:28:16] local.INFO: Processing buffer {"connection_id":125258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:28:16] local.INFO: IMEI packet received {"connection_id":125258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":125258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:28:17] local.INFO: TCP Data received {"connection_id":125258,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4012e158012d7f980005afe330000001262d..."} 
[2026-07-08 10:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4012e158012d7f980005afe330000001262d..."} 
[2026-07-08 10:28:17] local.INFO: Processing buffer {"connection_id":125258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4012e158012d7f980005afe330000001262d..."} 
[2026-07-08 10:28:17] local.INFO: Packet analysis {"connection_id":125258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4012"} 
[2026-07-08 10:28:17] local.INFO: Extracted packet for processing {"connection_id":125258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4012"} 
[2026-07-08 10:28:17] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572443136001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783486407000,"timestamp_ms":1783486407000,"timestamp_seconds":1783486407,"priority":1,"record_length":96,"hex_timestamp":"0000019f4012e158"} 
[2026-07-08 10:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 10:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":125258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":125258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":125258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572443136001,"66":25604,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572443136001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:28:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:28:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572443136001,"power":25604,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":125258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:28:17] local.INFO: GPS data processed {"connection_id":125258,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:28:17] local.INFO: Acknowledgment sent {"connection_id":125258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:28:22] local.INFO: TCP Data received {"connection_id":125258,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4012e158012d7f980005afe330000001262d..."} 
[2026-07-08 10:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4012e158012d7f980005afe330000001262d..."} 
[2026-07-08 10:28:22] local.INFO: Processing buffer {"connection_id":125258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4012e158012d7f980005afe330000001262d..."} 
[2026-07-08 10:28:22] local.INFO: Packet analysis {"connection_id":125258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4012"} 
[2026-07-08 10:28:22] local.INFO: Extracted packet for processing {"connection_id":125258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4012"} 
[2026-07-08 10:28:22] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 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-07-08 10:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572443136001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783486407000,"timestamp_ms":1783486407000,"timestamp_seconds":1783486407,"priority":1,"record_length":96,"hex_timestamp":"0000019f4012e158"} 
[2026-07-08 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-07-08 10:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 10:28:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 10:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572443136001,"66":25604,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572443136001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:28:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:28:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572443136001,"power":25604,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":125258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:28:22] local.INFO: GPS data processed {"connection_id":125258,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:28:22] local.INFO: Acknowledgment sent {"connection_id":125258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:28:26] local.INFO: TCP Data received {"connection_id":126084,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4013c3e8012d0b130007029fc00015013428..."} 
[2026-07-08 10:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4013c3e8012d0b130007029fc00015013428..."} 
[2026-07-08 10:28:26] local.INFO: Processing buffer {"connection_id":126084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4013c3e8012d0b130007029fc00015013428..."} 
[2026-07-08 10:28:26] local.INFO: Packet analysis {"connection_id":126084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4013"} 
[2026-07-08 10:28:26] local.INFO: Extracted packet for processing {"connection_id":126084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4013"} 
[2026-07-08 10:28:26] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":21,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572457984001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:28:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783486465000,"timestamp_ms":1783486465000,"timestamp_seconds":1783486465,"priority":1,"record_length":96,"hex_timestamp":"0000019f4013c3e8"} 
[2026-07-08 10:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:28:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-08 10:28:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":126084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":126084,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":126084,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:28:26] 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-07-08 10:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572457984001,"66":12711,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 10:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572457984001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:28:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572457984001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":126084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450283,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:28:26] local.INFO: GPS data processed {"connection_id":126084,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:28:26] local.INFO: Acknowledgment sent {"connection_id":126084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:28:45] local.INFO: TCP Data received {"connection_id":127363,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127363,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:28:45] local.INFO: Processing buffer {"connection_id":127363,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:28:45] local.INFO: IMEI packet received {"connection_id":127363,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":127363,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:28:50] local.INFO: TCP Data received {"connection_id":127363,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127363,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:28:50] local.INFO: Processing buffer {"connection_id":127363,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:28:50] local.INFO: IMEI packet received {"connection_id":127363,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":127363,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:28:51] local.INFO: TCP Data received {"connection_id":127363,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4013c3e8012d0b130007029fc00015013428..."} 
[2026-07-08 10:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4013c3e8012d0b130007029fc00015013428..."} 
[2026-07-08 10:28:51] local.INFO: Processing buffer {"connection_id":127363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4013c3e8012d0b130007029fc00015013428..."} 
[2026-07-08 10:28:51] local.INFO: Packet analysis {"connection_id":127363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4013"} 
[2026-07-08 10:28:51] local.INFO: Extracted packet for processing {"connection_id":127363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4013"} 
[2026-07-08 10:28:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":21,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572457984001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783486465000,"timestamp_ms":1783486465000,"timestamp_seconds":1783486465,"priority":1,"record_length":96,"hex_timestamp":"0000019f4013c3e8"} 
[2026-07-08 10:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-08 10:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127363,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127363,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:28:51] 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-07-08 10:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572457984001,"66":12711,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 10:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572457984001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:28:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572457984001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":127363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450284,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:28:51] local.INFO: GPS data processed {"connection_id":127363,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:28:51] local.INFO: Acknowledgment sent {"connection_id":127363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:28:56] local.INFO: TCP Data received {"connection_id":125356,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:28:56] local.INFO: Processing buffer {"connection_id":125356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:28:56] local.INFO: IMEI packet received {"connection_id":125356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":125356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:29:05] local.INFO: TCP Data received {"connection_id":125356,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:29:05] local.INFO: Processing buffer {"connection_id":125356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:29:05] local.INFO: IMEI packet received {"connection_id":125356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":125356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:29:06] local.INFO: TCP Data received {"connection_id":125356,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4012e158012d7f980005afe330000001262d..."} 
[2026-07-08 10:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4012e158012d7f980005afe330000001262d..."} 
[2026-07-08 10:29:06] local.INFO: Processing buffer {"connection_id":125356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4012e158012d7f980005afe330000001262d..."} 
[2026-07-08 10:29:06] local.INFO: Packet analysis {"connection_id":125356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4012"} 
[2026-07-08 10:29:06] local.INFO: Extracted packet for processing {"connection_id":125356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4012"} 
[2026-07-08 10:29:06] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572443136001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783486407000,"timestamp_ms":1783486407000,"timestamp_seconds":1783486407,"priority":1,"record_length":96,"hex_timestamp":"0000019f4012e158"} 
[2026-07-08 10:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 10:29: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-07-08 10:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572443136001,"66":25604,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572443136001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:29:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:29:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572443136001,"power":25604,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":125356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:29:06] local.INFO: GPS data processed {"connection_id":125356,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:29:06] local.INFO: Acknowledgment sent {"connection_id":125356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:29:23] local.INFO: TCP Data received {"connection_id":127363,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4013c3e8012d0b130007029fc00015013428..."} 
[2026-07-08 10:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4013c3e8012d0b130007029fc00015013428..."} 
[2026-07-08 10:29:23] local.INFO: Processing buffer {"connection_id":127363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4013c3e8012d0b130007029fc00015013428..."} 
[2026-07-08 10:29:23] local.INFO: Packet analysis {"connection_id":127363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4013"} 
[2026-07-08 10:29:23] local.INFO: Extracted packet for processing {"connection_id":127363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4013"} 
[2026-07-08 10:29:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":21,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572457984001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783486465000,"timestamp_ms":1783486465000,"timestamp_seconds":1783486465,"priority":1,"record_length":96,"hex_timestamp":"0000019f4013c3e8"} 
[2026-07-08 10:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:29:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-08 10:29:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":127363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":127363,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":127363,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:29:23] 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-07-08 10:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572457984001,"66":12711,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 10:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572457984001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:29:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572457984001,"power":12711,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":127363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450286,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:29:23] local.INFO: GPS data processed {"connection_id":127363,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:29:23] local.INFO: Acknowledgment sent {"connection_id":127363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:29:37] local.INFO: TCP Data received {"connection_id":125356,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f40177920012d7f980005afe330000001262d..."} 
[2026-07-08 10:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40177920012d7f980005afe330000001262d..."} 
[2026-07-08 10:29:37] local.INFO: Processing buffer {"connection_id":125356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40177920012d7f980005afe330000001262d..."} 
[2026-07-08 10:29:37] local.INFO: Packet analysis {"connection_id":125356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4017"} 
[2026-07-08 10:29:37] local.INFO: Extracted packet for processing {"connection_id":125356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4017"} 
[2026-07-08 10:29:37] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572520192001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783486708000,"timestamp_ms":1783486708000,"timestamp_seconds":1783486708,"priority":1,"record_length":96,"hex_timestamp":"0000019f40177920"} 
[2026-07-08 10:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 10:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572520192001,"66":25615,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572520192001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:29:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:29:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572520192001,"power":25615,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":125356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:29:37] local.INFO: GPS data processed {"connection_id":125356,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:29:37] local.INFO: Acknowledgment sent {"connection_id":125356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:29:50] local.INFO: TCP Data received {"connection_id":126085,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126085,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:29:50] local.INFO: Processing buffer {"connection_id":126085,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:29:50] local.INFO: IMEI packet received {"connection_id":126085,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":126085,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:29:55] local.INFO: TCP Data received {"connection_id":126085,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126085,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:29:55] local.INFO: Processing buffer {"connection_id":126085,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:29:55] local.INFO: IMEI packet received {"connection_id":126085,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":126085,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:29:56] local.INFO: TCP Data received {"connection_id":125259,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:29:56] local.INFO: Processing buffer {"connection_id":125259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:29:56] local.INFO: IMEI packet received {"connection_id":125259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":125259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:29:56] local.INFO: TCP Data received {"connection_id":126085,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f401857c8012d0b130007029fc0000e013426..."} 
[2026-07-08 10:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f401857c8012d0b130007029fc0000e013426..."} 
[2026-07-08 10:29:56] local.INFO: Processing buffer {"connection_id":126085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f401857c8012d0b130007029fc0000e013426..."} 
[2026-07-08 10:29:56] local.INFO: Packet analysis {"connection_id":126085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4018"} 
[2026-07-08 10:29:56] local.INFO: Extracted packet for processing {"connection_id":126085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4018"} 
[2026-07-08 10:29:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":14,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572535040001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783486765000,"timestamp_ms":1783486765000,"timestamp_seconds":1783486765,"priority":1,"record_length":96,"hex_timestamp":"0000019f401857c8"} 
[2026-07-08 10:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-08 10:29:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:29:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":126085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":126085,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":126085,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:29:56] 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-07-08 10:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572535040001,"66":12678,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 10:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572535040001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:29:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572535040001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":126085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450288,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:29:56] local.INFO: GPS data processed {"connection_id":126085,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:29:56] local.INFO: Acknowledgment sent {"connection_id":126085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:30:00] local.INFO: TCP Data received {"connection_id":126085,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f401857c8012d0b130007029fc0000e013426..."} 
[2026-07-08 10:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f401857c8012d0b130007029fc0000e013426..."} 
[2026-07-08 10:30:00] local.INFO: Processing buffer {"connection_id":126085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f401857c8012d0b130007029fc0000e013426..."} 
[2026-07-08 10:30:00] local.INFO: Packet analysis {"connection_id":126085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4018"} 
[2026-07-08 10:30:00] local.INFO: Extracted packet for processing {"connection_id":126085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4018"} 
[2026-07-08 10:30:00] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":14,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572535040001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783486765000,"timestamp_ms":1783486765000,"timestamp_seconds":1783486765,"priority":1,"record_length":96,"hex_timestamp":"0000019f401857c8"} 
[2026-07-08 10:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:30: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":167,"data_length":795,"current_offset":136} 
[2026-07-08 10:30:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:30:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126085,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126085,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:30:00] 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-07-08 10:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572535040001,"66":12678,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 10:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572535040001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:30:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572535040001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":126085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450289,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:30:00] local.INFO: GPS data processed {"connection_id":126085,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:30:00] local.INFO: Acknowledgment sent {"connection_id":126085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:30:01] local.INFO: TCP Data received {"connection_id":125259,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:30:01] local.INFO: Processing buffer {"connection_id":125259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:30:01] local.INFO: IMEI packet received {"connection_id":125259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":125259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:30:02] local.INFO: TCP Data received {"connection_id":125259,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f40177920012d7f980005afe330000001262d..."} 
[2026-07-08 10:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40177920012d7f980005afe330000001262d..."} 
[2026-07-08 10:30:02] local.INFO: Processing buffer {"connection_id":125259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40177920012d7f980005afe330000001262d..."} 
[2026-07-08 10:30:02] local.INFO: Packet analysis {"connection_id":125259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4017"} 
[2026-07-08 10:30:02] local.INFO: Extracted packet for processing {"connection_id":125259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4017"} 
[2026-07-08 10:30:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572520192001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783486708000,"timestamp_ms":1783486708000,"timestamp_seconds":1783486708,"priority":1,"record_length":96,"hex_timestamp":"0000019f40177920"} 
[2026-07-08 10:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 10:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572520192001,"66":25615,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572520192001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:30:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:30:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572520192001,"power":25615,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":125259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:30:02] local.INFO: GPS data processed {"connection_id":125259,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:30:02] local.INFO: Acknowledgment sent {"connection_id":125259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:30:33] local.INFO: TCP Data received {"connection_id":125259,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f40177920012d7f980005afe330000001262d..."} 
[2026-07-08 10:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40177920012d7f980005afe330000001262d..."} 
[2026-07-08 10:30:33] local.INFO: Processing buffer {"connection_id":125259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40177920012d7f980005afe330000001262d..."} 
[2026-07-08 10:30:33] local.INFO: Packet analysis {"connection_id":125259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4017"} 
[2026-07-08 10:30:33] local.INFO: Extracted packet for processing {"connection_id":125259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4017"} 
[2026-07-08 10:30:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572520192001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783486708000,"timestamp_ms":1783486708000,"timestamp_seconds":1783486708,"priority":1,"record_length":96,"hex_timestamp":"0000019f40177920"} 
[2026-07-08 10:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 10:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:30:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572520192001,"66":25615,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572520192001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:30:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:30:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572520192001,"power":25615,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":125259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:30:33] local.INFO: GPS data processed {"connection_id":125259,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:30:33] local.INFO: Acknowledgment sent {"connection_id":125259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:30:45] local.INFO: TCP Data received {"connection_id":127364,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127364,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:30:45] local.INFO: Processing buffer {"connection_id":127364,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:30:45] local.INFO: IMEI packet received {"connection_id":127364,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":127364,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:30:50] local.INFO: TCP Data received {"connection_id":127364,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127364,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:30:50] local.INFO: Processing buffer {"connection_id":127364,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:30:50] local.INFO: IMEI packet received {"connection_id":127364,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":127364,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:30:54] local.INFO: TCP Data received {"connection_id":127364,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f401857c8012d0b130007029fc0000e013426..."} 
[2026-07-08 10:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f401857c8012d0b130007029fc0000e013426..."} 
[2026-07-08 10:30:54] local.INFO: Processing buffer {"connection_id":127364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f401857c8012d0b130007029fc0000e013426..."} 
[2026-07-08 10:30:54] local.INFO: Packet analysis {"connection_id":127364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4018"} 
[2026-07-08 10:30:54] local.INFO: Extracted packet for processing {"connection_id":127364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4018"} 
[2026-07-08 10:30:54] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":14,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 10:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572535040001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783486765000,"timestamp_ms":1783486765000,"timestamp_seconds":1783486765,"priority":1,"record_length":96,"hex_timestamp":"0000019f401857c8"} 
[2026-07-08 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-07-08 10:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-08 10:30:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 10:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":127364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":127364,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":127364,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:30:54] 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-07-08 10:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572535040001,"66":12678,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 10:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572535040001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:30:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572535040001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":127364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450292,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:30:54] local.INFO: GPS data processed {"connection_id":127364,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:30:54] local.INFO: Acknowledgment sent {"connection_id":127364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:30:56] local.INFO: TCP Data received {"connection_id":126087,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:30:56] local.INFO: Processing buffer {"connection_id":126087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:30:56] local.INFO: IMEI packet received {"connection_id":126087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":126087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:31:01] local.INFO: TCP Data received {"connection_id":126087,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:31:01] local.INFO: Processing buffer {"connection_id":126087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:31:01] local.INFO: IMEI packet received {"connection_id":126087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":126087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:31:02] local.INFO: TCP Data received {"connection_id":126087,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f40177920012d7f980005afe330000001262d..."} 
[2026-07-08 10:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40177920012d7f980005afe330000001262d..."} 
[2026-07-08 10:31:02] local.INFO: Processing buffer {"connection_id":126087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40177920012d7f980005afe330000001262d..."} 
[2026-07-08 10:31:02] local.INFO: Packet analysis {"connection_id":126087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4017"} 
[2026-07-08 10:31:02] local.INFO: Extracted packet for processing {"connection_id":126087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4017"} 
[2026-07-08 10:31:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572520192001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783486708000,"timestamp_ms":1783486708000,"timestamp_seconds":1783486708,"priority":1,"record_length":96,"hex_timestamp":"0000019f40177920"} 
[2026-07-08 10:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:31:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 10:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:31:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572520192001,"66":25615,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572520192001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:31:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:31:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572520192001,"power":25615,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":126087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:31:02] local.INFO: GPS data processed {"connection_id":126087,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:31:02] local.INFO: Acknowledgment sent {"connection_id":126087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:31:26] local.INFO: TCP Data received {"connection_id":127364,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f401857c8012d0b130007029fc0000e013426..."} 
[2026-07-08 10:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f401857c8012d0b130007029fc0000e013426..."} 
[2026-07-08 10:31:26] local.INFO: Processing buffer {"connection_id":127364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f401857c8012d0b130007029fc0000e013426..."} 
[2026-07-08 10:31:26] local.INFO: Packet analysis {"connection_id":127364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4018"} 
[2026-07-08 10:31:26] local.INFO: Extracted packet for processing {"connection_id":127364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4018"} 
[2026-07-08 10:31:26] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":14,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572535040001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:31:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783486765000,"timestamp_ms":1783486765000,"timestamp_seconds":1783486765,"priority":1,"record_length":96,"hex_timestamp":"0000019f401857c8"} 
[2026-07-08 10:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-08 10:31:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:31:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":127364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":127364,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":127364,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:31:26] 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-07-08 10:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572535040001,"66":12678,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 10:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572535040001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:31:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572535040001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":127364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450294,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:31:26] local.INFO: GPS data processed {"connection_id":127364,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:31:26] local.INFO: Acknowledgment sent {"connection_id":127364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:31:33] local.INFO: TCP Data received {"connection_id":126087,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f40177920012d7f980005afe330000001262d..."} 
[2026-07-08 10:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40177920012d7f980005afe330000001262d..."} 
[2026-07-08 10:31:33] local.INFO: Processing buffer {"connection_id":126087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40177920012d7f980005afe330000001262d..."} 
[2026-07-08 10:31:33] local.INFO: Packet analysis {"connection_id":126087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4017"} 
[2026-07-08 10:31:33] local.INFO: Extracted packet for processing {"connection_id":126087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4017"} 
[2026-07-08 10:31:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572520192001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783486708000,"timestamp_ms":1783486708000,"timestamp_seconds":1783486708,"priority":1,"record_length":96,"hex_timestamp":"0000019f40177920"} 
[2026-07-08 10:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 10:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:31:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572520192001,"66":25615,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572520192001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:31:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:31:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572520192001,"power":25615,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":126087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:31:33] local.INFO: GPS data processed {"connection_id":126087,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:31:33] local.INFO: Acknowledgment sent {"connection_id":126087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:31:50] local.INFO: TCP Data received {"connection_id":125260,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125260,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:31:50] local.INFO: Processing buffer {"connection_id":125260,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:31:50] local.INFO: IMEI packet received {"connection_id":125260,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":125260,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:31:57] local.INFO: TCP Data received {"connection_id":125260,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125260,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:31:57] local.INFO: Processing buffer {"connection_id":125260,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:31:57] local.INFO: IMEI packet received {"connection_id":125260,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":125260,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:32:00] local.INFO: TCP Data received {"connection_id":125260,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f401857c8012d0b130007029fc0000e013426..."} 
[2026-07-08 10:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f401857c8012d0b130007029fc0000e013426..."} 
[2026-07-08 10:32:00] local.INFO: Processing buffer {"connection_id":125260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f401857c8012d0b130007029fc0000e013426..."} 
[2026-07-08 10:32:00] local.INFO: Packet analysis {"connection_id":125260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4018"} 
[2026-07-08 10:32:00] local.INFO: Extracted packet for processing {"connection_id":125260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4018"} 
[2026-07-08 10:32:00] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":14,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572535040001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:32:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783486765000,"timestamp_ms":1783486765000,"timestamp_seconds":1783486765,"priority":1,"record_length":96,"hex_timestamp":"0000019f401857c8"} 
[2026-07-08 10:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:32:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:32: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":167,"data_length":795,"current_offset":136} 
[2026-07-08 10:32:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:32:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125260,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125260,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:32:00] 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-07-08 10:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572535040001,"66":12678,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 10:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572535040001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:32:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572535040001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":125260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450296,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:32:00] local.INFO: GPS data processed {"connection_id":125260,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:32:00] local.INFO: Acknowledgment sent {"connection_id":125260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:32:01] local.INFO: TCP Data received {"connection_id":125359,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:32:01] local.INFO: Processing buffer {"connection_id":125359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:32:01] local.INFO: IMEI packet received {"connection_id":125359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":125359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:32:04] local.INFO: TCP Data received {"connection_id":125260,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f401857c8012d0b130007029fc0000e013426..."} 
[2026-07-08 10:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f401857c8012d0b130007029fc0000e013426..."} 
[2026-07-08 10:32:04] local.INFO: Processing buffer {"connection_id":125260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f401857c8012d0b130007029fc0000e013426..."} 
[2026-07-08 10:32:04] local.INFO: Packet analysis {"connection_id":125260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4018"} 
[2026-07-08 10:32:04] local.INFO: Extracted packet for processing {"connection_id":125260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4018"} 
[2026-07-08 10:32:04] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":14,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572535040001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783486765000,"timestamp_ms":1783486765000,"timestamp_seconds":1783486765,"priority":1,"record_length":96,"hex_timestamp":"0000019f401857c8"} 
[2026-07-08 10:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-08 10:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125260,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125260,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:32: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-07-08 10:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572535040001,"66":12678,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 10:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572535040001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:32:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572535040001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":125260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450297,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:32:04] local.INFO: GPS data processed {"connection_id":125260,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:32:04] local.INFO: Acknowledgment sent {"connection_id":125260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:32:06] local.INFO: TCP Data received {"connection_id":125359,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:32:06] local.INFO: Processing buffer {"connection_id":125359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:32:06] local.INFO: IMEI packet received {"connection_id":125359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":125359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:32:07] local.INFO: TCP Data received {"connection_id":125359,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40177920012d7f980005afe330000001262d..."} 
[2026-07-08 10:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40177920012d7f980005afe330000001262d..."} 
[2026-07-08 10:32:07] local.INFO: Processing buffer {"connection_id":125359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40177920012d7f980005afe330000001262d..."} 
[2026-07-08 10:32:07] local.INFO: Packet analysis {"connection_id":125359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4017"} 
[2026-07-08 10:32:07] local.INFO: Extracted packet for processing {"connection_id":125359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4017"} 
[2026-07-08 10:32:07] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572520192001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783486708000,"timestamp_ms":1783486708000,"timestamp_seconds":1783486708,"priority":1,"record_length":96,"hex_timestamp":"0000019f40177920"} 
[2026-07-08 10:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 10:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572520192001,"66":25615,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572520192001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:32:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:32:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572520192001,"power":25615,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":125359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:32:07] local.INFO: GPS data processed {"connection_id":125359,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:32:07] local.INFO: Acknowledgment sent {"connection_id":125359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:32:11] local.INFO: TCP Data received {"connection_id":125359,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40177920012d7f980005afe330000001262d..."} 
[2026-07-08 10:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40177920012d7f980005afe330000001262d..."} 
[2026-07-08 10:32:11] local.INFO: Processing buffer {"connection_id":125359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40177920012d7f980005afe330000001262d..."} 
[2026-07-08 10:32:11] local.INFO: Packet analysis {"connection_id":125359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4017"} 
[2026-07-08 10:32:11] local.INFO: Extracted packet for processing {"connection_id":125359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4017"} 
[2026-07-08 10:32:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572520192001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783486708000,"timestamp_ms":1783486708000,"timestamp_seconds":1783486708,"priority":1,"record_length":96,"hex_timestamp":"0000019f40177920"} 
[2026-07-08 10:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 10:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572520192001,"66":25615,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572520192001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:32:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:32:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572520192001,"power":25615,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":125359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:32:11] local.INFO: GPS data processed {"connection_id":125359,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:32:11] local.INFO: Acknowledgment sent {"connection_id":125359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:32:45] local.INFO: TCP Data received {"connection_id":126089,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126089,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:32:45] local.INFO: Processing buffer {"connection_id":126089,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:32:45] local.INFO: IMEI packet received {"connection_id":126089,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":126089,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:32:51] local.INFO: TCP Data received {"connection_id":126089,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126089,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:32:51] local.INFO: Processing buffer {"connection_id":126089,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:32:51] local.INFO: IMEI packet received {"connection_id":126089,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":126089,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:32:52] local.INFO: TCP Data received {"connection_id":126089,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f401857c8012d0b130007029fc0000e013426..."} 
[2026-07-08 10:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f401857c8012d0b130007029fc0000e013426..."} 
[2026-07-08 10:32:52] local.INFO: Processing buffer {"connection_id":126089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f401857c8012d0b130007029fc0000e013426..."} 
[2026-07-08 10:32:52] local.INFO: Packet analysis {"connection_id":126089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4018"} 
[2026-07-08 10:32:52] local.INFO: Extracted packet for processing {"connection_id":126089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4018"} 
[2026-07-08 10:32:52] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":14,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572535040001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783486765000,"timestamp_ms":1783486765000,"timestamp_seconds":1783486765,"priority":1,"record_length":96,"hex_timestamp":"0000019f401857c8"} 
[2026-07-08 10:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-08 10:32:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":126089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":126089,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":126089,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:32:52] 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-07-08 10:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572535040001,"66":12678,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 10:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572535040001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:32:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572535040001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":126089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450300,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:32:52] local.INFO: GPS data processed {"connection_id":126089,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:32:52] local.INFO: Acknowledgment sent {"connection_id":126089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:32:56] local.INFO: TCP Data received {"connection_id":125261,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:32:56] local.INFO: Processing buffer {"connection_id":125261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:32:56] local.INFO: IMEI packet received {"connection_id":125261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":125261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:33:01] local.INFO: TCP Data received {"connection_id":125261,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:33:01] local.INFO: Processing buffer {"connection_id":125261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:33:01] local.INFO: IMEI packet received {"connection_id":125261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":125261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:33:02] local.INFO: TCP Data received {"connection_id":125261,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40177920012d7f980005afe330000001262d..."} 
[2026-07-08 10:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40177920012d7f980005afe330000001262d..."} 
[2026-07-08 10:33:02] local.INFO: Processing buffer {"connection_id":125261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40177920012d7f980005afe330000001262d..."} 
[2026-07-08 10:33:02] local.INFO: Packet analysis {"connection_id":125261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4017"} 
[2026-07-08 10:33:02] local.INFO: Extracted packet for processing {"connection_id":125261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4017"} 
[2026-07-08 10:33:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572520192001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783486708000,"timestamp_ms":1783486708000,"timestamp_seconds":1783486708,"priority":1,"record_length":96,"hex_timestamp":"0000019f40177920"} 
[2026-07-08 10:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 10:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572520192001,"66":25615,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572520192001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:33:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:33:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572520192001,"power":25615,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":125261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:33:02] local.INFO: GPS data processed {"connection_id":125261,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:33:02] local.INFO: Acknowledgment sent {"connection_id":125261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:33:22] local.INFO: TCP Data received {"connection_id":126090,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126090,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:33:22] local.INFO: Processing buffer {"connection_id":126090,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:33:22] local.INFO: IMEI packet received {"connection_id":126090,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 10:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":126090,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:33:24] local.INFO: TCP Data received {"connection_id":126089,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f401857c8012d0b130007029fc0000e013426..."} 
[2026-07-08 10:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f401857c8012d0b130007029fc0000e013426..."} 
[2026-07-08 10:33:24] local.INFO: Processing buffer {"connection_id":126089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f401857c8012d0b130007029fc0000e013426..."} 
[2026-07-08 10:33:24] local.INFO: Packet analysis {"connection_id":126089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4018"} 
[2026-07-08 10:33:24] local.INFO: Extracted packet for processing {"connection_id":126089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4018"} 
[2026-07-08 10:33:24] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":14,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572535040001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:33:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783486765000,"timestamp_ms":1783486765000,"timestamp_seconds":1783486765,"priority":1,"record_length":96,"hex_timestamp":"0000019f401857c8"} 
[2026-07-08 10:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:33:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-08 10:33:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":126089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":126089,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":126089,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:33:24] 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-07-08 10:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572535040001,"66":12678,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 10:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572535040001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:33:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572535040001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":126089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450302,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:33:25] local.INFO: GPS data processed {"connection_id":126089,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:33:25] local.INFO: Acknowledgment sent {"connection_id":126089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:33:33] local.INFO: TCP Data received {"connection_id":125261,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40177920012d7f980005afe330000001262d..."} 
[2026-07-08 10:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40177920012d7f980005afe330000001262d..."} 
[2026-07-08 10:33:33] local.INFO: Processing buffer {"connection_id":125261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40177920012d7f980005afe330000001262d..."} 
[2026-07-08 10:33:33] local.INFO: Packet analysis {"connection_id":125261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4017"} 
[2026-07-08 10:33:33] local.INFO: Extracted packet for processing {"connection_id":125261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4017"} 
[2026-07-08 10:33:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572520192001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783486708000,"timestamp_ms":1783486708000,"timestamp_seconds":1783486708,"priority":1,"record_length":96,"hex_timestamp":"0000019f40177920"} 
[2026-07-08 10:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 10:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:33: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-07-08 10:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572520192001,"66":25615,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572520192001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:33:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:33:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572520192001,"power":25615,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":125261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:33:33] local.INFO: GPS data processed {"connection_id":125261,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:33:33] local.INFO: Acknowledgment sent {"connection_id":125261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:33:45] local.INFO: TCP Data received {"connection_id":126091,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126091,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:33:45] local.INFO: Processing buffer {"connection_id":126091,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:33:45] local.INFO: IMEI packet received {"connection_id":126091,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":126091,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:33:50] local.INFO: TCP Data received {"connection_id":126091,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126091,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:33:50] local.INFO: Processing buffer {"connection_id":126091,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:33:50] local.INFO: IMEI packet received {"connection_id":126091,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":126091,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:33:51] local.INFO: TCP Data received {"connection_id":126091,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f401857c8012d0b130007029fc0000e013426..."} 
[2026-07-08 10:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f401857c8012d0b130007029fc0000e013426..."} 
[2026-07-08 10:33:51] local.INFO: Processing buffer {"connection_id":126091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f401857c8012d0b130007029fc0000e013426..."} 
[2026-07-08 10:33:51] local.INFO: Packet analysis {"connection_id":126091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4018"} 
[2026-07-08 10:33:51] local.INFO: Extracted packet for processing {"connection_id":126091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4018"} 
[2026-07-08 10:33:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":14,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572535040001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783486765000,"timestamp_ms":1783486765000,"timestamp_seconds":1783486765,"priority":1,"record_length":96,"hex_timestamp":"0000019f401857c8"} 
[2026-07-08 10:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-08 10:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126091,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126091,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572535040001,"66":12678,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572535040001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:33:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572535040001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":126091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450304,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:33:51] local.INFO: GPS data processed {"connection_id":126091,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:33:51] local.INFO: Acknowledgment sent {"connection_id":126091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:33:56] local.INFO: TCP Data received {"connection_id":126092,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:33:56] local.INFO: Processing buffer {"connection_id":126092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:33:56] local.INFO: IMEI packet received {"connection_id":126092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":126092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:34:01] local.INFO: TCP Data received {"connection_id":126092,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:34:01] local.INFO: Processing buffer {"connection_id":126092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:34:01] local.INFO: IMEI packet received {"connection_id":126092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":126092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:34:01] local.INFO: TCP Data received {"connection_id":127365,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127365,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:34:01] local.INFO: Processing buffer {"connection_id":127365,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:34:01] local.INFO: IMEI packet received {"connection_id":127365,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 10:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":127365,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:34:02] local.INFO: TCP Data received {"connection_id":126092,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f40177920012d7f980005afe330000001262d..."} 
[2026-07-08 10:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40177920012d7f980005afe330000001262d..."} 
[2026-07-08 10:34:02] local.INFO: Processing buffer {"connection_id":126092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40177920012d7f980005afe330000001262d..."} 
[2026-07-08 10:34:02] local.INFO: Packet analysis {"connection_id":126092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4017"} 
[2026-07-08 10:34:02] local.INFO: Extracted packet for processing {"connection_id":126092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4017"} 
[2026-07-08 10:34:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572520192001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783486708000,"timestamp_ms":1783486708000,"timestamp_seconds":1783486708,"priority":1,"record_length":96,"hex_timestamp":"0000019f40177920"} 
[2026-07-08 10:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:34:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 10:34:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:34:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572520192001,"66":25615,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572520192001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:34:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:34:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572520192001,"power":25615,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":126092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:34:02] local.INFO: GPS data processed {"connection_id":126092,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:34:02] local.INFO: Acknowledgment sent {"connection_id":126092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:34:23] local.INFO: TCP Data received {"connection_id":126091,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f401857c8012d0b130007029fc0000e013426..."} 
[2026-07-08 10:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f401857c8012d0b130007029fc0000e013426..."} 
[2026-07-08 10:34:23] local.INFO: Processing buffer {"connection_id":126091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f401857c8012d0b130007029fc0000e013426..."} 
[2026-07-08 10:34:23] local.INFO: Packet analysis {"connection_id":126091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4018"} 
[2026-07-08 10:34:23] local.INFO: Extracted packet for processing {"connection_id":126091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4018"} 
[2026-07-08 10:34:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":14,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572535040001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:34:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783486765000,"timestamp_ms":1783486765000,"timestamp_seconds":1783486765,"priority":1,"record_length":96,"hex_timestamp":"0000019f401857c8"} 
[2026-07-08 10:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:34:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-08 10:34:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:34:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":126091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":126091,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":126091,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572535040001,"66":12678,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572535040001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:34:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572535040001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":126091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450306,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:34:23] local.INFO: GPS data processed {"connection_id":126091,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:34:23] local.INFO: Acknowledgment sent {"connection_id":126091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:34:33] local.INFO: TCP Data received {"connection_id":126092,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f401c10e8012d7f980005afe330000001262b..."} 
[2026-07-08 10:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f401c10e8012d7f980005afe330000001262b..."} 
[2026-07-08 10:34:33] local.INFO: Processing buffer {"connection_id":126092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f401c10e8012d7f980005afe330000001262b..."} 
[2026-07-08 10:34:33] local.INFO: Packet analysis {"connection_id":126092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f401c"} 
[2026-07-08 10:34:33] local.INFO: Extracted packet for processing {"connection_id":126092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f401c"} 
[2026-07-08 10:34:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572597248001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783487009000,"timestamp_ms":1783487009000,"timestamp_seconds":1783487009,"priority":1,"record_length":96,"hex_timestamp":"0000019f401c10e8"} 
[2026-07-08 10:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 10:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572597248001,"66":25582,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572597248001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:34:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:34:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572597248001,"power":25582,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":126092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:34:33] local.INFO: GPS data processed {"connection_id":126092,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:34:33] local.INFO: Acknowledgment sent {"connection_id":126092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:34:45] local.INFO: TCP Data received {"connection_id":125360,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125360,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:34:45] local.INFO: Processing buffer {"connection_id":125360,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:34:45] local.INFO: IMEI packet received {"connection_id":125360,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":125360,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:34:50] local.INFO: TCP Data received {"connection_id":125360,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125360,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:34:50] local.INFO: Processing buffer {"connection_id":125360,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:34:50] local.INFO: IMEI packet received {"connection_id":125360,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":125360,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:34:52] local.INFO: TCP Data received {"connection_id":125360,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f401cef90012d0b130007029fc0000e013429..."} 
[2026-07-08 10:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f401cef90012d0b130007029fc0000e013429..."} 
[2026-07-08 10:34:52] local.INFO: Processing buffer {"connection_id":125360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f401cef90012d0b130007029fc0000e013429..."} 
[2026-07-08 10:34:52] local.INFO: Packet analysis {"connection_id":125360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f401c"} 
[2026-07-08 10:34:52] local.INFO: Extracted packet for processing {"connection_id":125360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f401c"} 
[2026-07-08 10:34:52] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":14,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572611840001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783487066000,"timestamp_ms":1783487066000,"timestamp_seconds":1783487066,"priority":1,"record_length":96,"hex_timestamp":"0000019f401cef90"} 
[2026-07-08 10:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-08 10:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":125360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":125360,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":125360,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572611840001,"66":12689,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572611840001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:34:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572611840001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":125360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450308,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:34:52] local.INFO: GPS data processed {"connection_id":125360,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:34:52] local.INFO: Acknowledgment sent {"connection_id":125360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:34:56] local.INFO: TCP Data received {"connection_id":125262,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:34:56] local.INFO: Processing buffer {"connection_id":125262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:34:56] local.INFO: IMEI packet received {"connection_id":125262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":125262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:35:01] local.INFO: TCP Data received {"connection_id":125262,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:35:01] local.INFO: Processing buffer {"connection_id":125262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:35:01] local.INFO: IMEI packet received {"connection_id":125262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":125262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:35:02] local.INFO: TCP Data received {"connection_id":125262,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f401c10e8012d7f980005afe330000001262b..."} 
[2026-07-08 10:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f401c10e8012d7f980005afe330000001262b..."} 
[2026-07-08 10:35:02] local.INFO: Processing buffer {"connection_id":125262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f401c10e8012d7f980005afe330000001262b..."} 
[2026-07-08 10:35:02] local.INFO: Packet analysis {"connection_id":125262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f401c"} 
[2026-07-08 10:35:02] local.INFO: Extracted packet for processing {"connection_id":125262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f401c"} 
[2026-07-08 10:35:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572597248001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783487009000,"timestamp_ms":1783487009000,"timestamp_seconds":1783487009,"priority":1,"record_length":96,"hex_timestamp":"0000019f401c10e8"} 
[2026-07-08 10:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:35:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 10:35:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:35:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572597248001,"66":25582,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572597248001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:35:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:35:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572597248001,"power":25582,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":125262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:35:02] local.INFO: GPS data processed {"connection_id":125262,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:35:02] local.INFO: Acknowledgment sent {"connection_id":125262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:35:24] local.INFO: TCP Data received {"connection_id":125360,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f401cef90012d0b130007029fc0000e013429..."} 
[2026-07-08 10:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f401cef90012d0b130007029fc0000e013429..."} 
[2026-07-08 10:35:24] local.INFO: Processing buffer {"connection_id":125360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f401cef90012d0b130007029fc0000e013429..."} 
[2026-07-08 10:35:24] local.INFO: Packet analysis {"connection_id":125360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f401c"} 
[2026-07-08 10:35:24] local.INFO: Extracted packet for processing {"connection_id":125360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f401c"} 
[2026-07-08 10:35:24] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":14,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572611840001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783487066000,"timestamp_ms":1783487066000,"timestamp_seconds":1783487066,"priority":1,"record_length":96,"hex_timestamp":"0000019f401cef90"} 
[2026-07-08 10:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-08 10:35:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125360,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125360,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572611840001,"66":12689,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572611840001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:35:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572611840001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":125360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450310,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:35:24] local.INFO: GPS data processed {"connection_id":125360,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:35:24] local.INFO: Acknowledgment sent {"connection_id":125360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:35:33] local.INFO: TCP Data received {"connection_id":125262,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f401c10e8012d7f980005afe330000001262b..."} 
[2026-07-08 10:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f401c10e8012d7f980005afe330000001262b..."} 
[2026-07-08 10:35:33] local.INFO: Processing buffer {"connection_id":125262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f401c10e8012d7f980005afe330000001262b..."} 
[2026-07-08 10:35:33] local.INFO: Packet analysis {"connection_id":125262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f401c"} 
[2026-07-08 10:35:33] local.INFO: Extracted packet for processing {"connection_id":125262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f401c"} 
[2026-07-08 10:35:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572597248001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783487009000,"timestamp_ms":1783487009000,"timestamp_seconds":1783487009,"priority":1,"record_length":96,"hex_timestamp":"0000019f401c10e8"} 
[2026-07-08 10:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 10:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:35:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572597248001,"66":25582,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572597248001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:35:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:35:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572597248001,"power":25582,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":125262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:35:33] local.INFO: GPS data processed {"connection_id":125262,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:35:33] local.INFO: Acknowledgment sent {"connection_id":125262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:35:45] local.INFO: TCP Data received {"connection_id":126093,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126093,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:35:45] local.INFO: Processing buffer {"connection_id":126093,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:35:45] local.INFO: IMEI packet received {"connection_id":126093,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":126093,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:35:50] local.INFO: TCP Data received {"connection_id":126093,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126093,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:35:50] local.INFO: Processing buffer {"connection_id":126093,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:35:50] local.INFO: IMEI packet received {"connection_id":126093,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":126093,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:35:53] local.INFO: TCP Data received {"connection_id":126093,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f401cef90012d0b130007029fc0000e013429..."} 
[2026-07-08 10:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f401cef90012d0b130007029fc0000e013429..."} 
[2026-07-08 10:35:53] local.INFO: Processing buffer {"connection_id":126093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f401cef90012d0b130007029fc0000e013429..."} 
[2026-07-08 10:35:53] local.INFO: Packet analysis {"connection_id":126093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f401c"} 
[2026-07-08 10:35:53] local.INFO: Extracted packet for processing {"connection_id":126093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f401c"} 
[2026-07-08 10:35:53] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":14,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572611840001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:35:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783487066000,"timestamp_ms":1783487066000,"timestamp_seconds":1783487066,"priority":1,"record_length":96,"hex_timestamp":"0000019f401cef90"} 
[2026-07-08 10:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:35:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-08 10:35:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":126093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":126093,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":126093,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:35:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572611840001,"66":12689,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572611840001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:35:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572611840001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":126093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450312,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:35:54] local.INFO: GPS data processed {"connection_id":126093,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:35:54] local.INFO: Acknowledgment sent {"connection_id":126093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:35:56] local.INFO: TCP Data received {"connection_id":125361,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:35:56] local.INFO: Processing buffer {"connection_id":125361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:35:56] local.INFO: IMEI packet received {"connection_id":125361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":125361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:36:01] local.INFO: TCP Data received {"connection_id":125361,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:36:01] local.INFO: Processing buffer {"connection_id":125361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:36:01] local.INFO: IMEI packet received {"connection_id":125361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":125361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:36:02] local.INFO: TCP Data received {"connection_id":125361,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f401c10e8012d7f980005afe330000001262b..."} 
[2026-07-08 10:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f401c10e8012d7f980005afe330000001262b..."} 
[2026-07-08 10:36:02] local.INFO: Processing buffer {"connection_id":125361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f401c10e8012d7f980005afe330000001262b..."} 
[2026-07-08 10:36:02] local.INFO: Packet analysis {"connection_id":125361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f401c"} 
[2026-07-08 10:36:02] local.INFO: Extracted packet for processing {"connection_id":125361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f401c"} 
[2026-07-08 10:36:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572597248001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783487009000,"timestamp_ms":1783487009000,"timestamp_seconds":1783487009,"priority":1,"record_length":96,"hex_timestamp":"0000019f401c10e8"} 
[2026-07-08 10:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:36:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 10:36:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572597248001,"66":25582,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572597248001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:36:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:36:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572597248001,"power":25582,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":125361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:36:02] local.INFO: GPS data processed {"connection_id":125361,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:36:02] local.INFO: Acknowledgment sent {"connection_id":125361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:36:25] local.INFO: TCP Data received {"connection_id":126093,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f401cef90012d0b130007029fc0000e013429..."} 
[2026-07-08 10:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f401cef90012d0b130007029fc0000e013429..."} 
[2026-07-08 10:36:25] local.INFO: Processing buffer {"connection_id":126093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f401cef90012d0b130007029fc0000e013429..."} 
[2026-07-08 10:36:25] local.INFO: Packet analysis {"connection_id":126093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f401c"} 
[2026-07-08 10:36:25] local.INFO: Extracted packet for processing {"connection_id":126093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f401c"} 
[2026-07-08 10:36:25] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":14,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 10:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572611840001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783487066000,"timestamp_ms":1783487066000,"timestamp_seconds":1783487066,"priority":1,"record_length":96,"hex_timestamp":"0000019f401cef90"} 
[2026-07-08 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-07-08 10:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-08 10:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 10:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":126093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":126093,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":126093,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:36:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572611840001,"66":12689,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572611840001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:36:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572611840001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":126093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450314,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:36:25] local.INFO: GPS data processed {"connection_id":126093,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:36:25] local.INFO: Acknowledgment sent {"connection_id":126093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:36:32] local.INFO: TCP Data received {"connection_id":125361,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f401c10e8012d7f980005afe330000001262b..."} 
[2026-07-08 10:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f401c10e8012d7f980005afe330000001262b..."} 
[2026-07-08 10:36:32] local.INFO: Processing buffer {"connection_id":125361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f401c10e8012d7f980005afe330000001262b..."} 
[2026-07-08 10:36:32] local.INFO: Packet analysis {"connection_id":125361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f401c"} 
[2026-07-08 10:36:32] local.INFO: Extracted packet for processing {"connection_id":125361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f401c"} 
[2026-07-08 10:36:32] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572597248001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783487009000,"timestamp_ms":1783487009000,"timestamp_seconds":1783487009,"priority":1,"record_length":96,"hex_timestamp":"0000019f401c10e8"} 
[2026-07-08 10:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 10:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:36: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-07-08 10:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572597248001,"66":25582,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572597248001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:36:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:36:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572597248001,"power":25582,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":125361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:36:32] local.INFO: GPS data processed {"connection_id":125361,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:36:32] local.INFO: Acknowledgment sent {"connection_id":125361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:36:50] local.INFO: TCP Data received {"connection_id":126095,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126095,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:36:50] local.INFO: Processing buffer {"connection_id":126095,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:36:50] local.INFO: IMEI packet received {"connection_id":126095,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":126095,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:36:52] local.INFO: TCP Data received {"connection_id":126095,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f401cef90012d0b130007029fc0000e013429..."} 
[2026-07-08 10:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f401cef90012d0b130007029fc0000e013429..."} 
[2026-07-08 10:36:52] local.INFO: Processing buffer {"connection_id":126095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f401cef90012d0b130007029fc0000e013429..."} 
[2026-07-08 10:36:52] local.INFO: Packet analysis {"connection_id":126095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f401c"} 
[2026-07-08 10:36:52] local.INFO: Extracted packet for processing {"connection_id":126095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f401c"} 
[2026-07-08 10:36:52] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":14,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572611840001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783487066000,"timestamp_ms":1783487066000,"timestamp_seconds":1783487066,"priority":1,"record_length":96,"hex_timestamp":"0000019f401cef90"} 
[2026-07-08 10:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:36:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-08 10:36:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:36:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":126095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":126095,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":126095,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:36:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572611840001,"66":12689,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572611840001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:36:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572611840001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":126095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450316,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:36:52] local.INFO: GPS data processed {"connection_id":126095,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:36:52] local.INFO: Acknowledgment sent {"connection_id":126095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:36:56] local.INFO: TCP Data received {"connection_id":125362,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:36:56] local.INFO: Processing buffer {"connection_id":125362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:36:56] local.INFO: IMEI packet received {"connection_id":125362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":125362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:37:01] local.INFO: TCP Data received {"connection_id":125362,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:37:01] local.INFO: Processing buffer {"connection_id":125362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:37:01] local.INFO: IMEI packet received {"connection_id":125362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":125362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:37:02] local.INFO: TCP Data received {"connection_id":125362,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f401c10e8012d7f980005afe330000001262b..."} 
[2026-07-08 10:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f401c10e8012d7f980005afe330000001262b..."} 
[2026-07-08 10:37:02] local.INFO: Processing buffer {"connection_id":125362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f401c10e8012d7f980005afe330000001262b..."} 
[2026-07-08 10:37:02] local.INFO: Packet analysis {"connection_id":125362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f401c"} 
[2026-07-08 10:37:02] local.INFO: Extracted packet for processing {"connection_id":125362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f401c"} 
[2026-07-08 10:37:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572597248001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:37:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783487009000,"timestamp_ms":1783487009000,"timestamp_seconds":1783487009,"priority":1,"record_length":96,"hex_timestamp":"0000019f401c10e8"} 
[2026-07-08 10:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:37:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 10:37:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:37:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572597248001,"66":25582,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572597248001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:37:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:37:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572597248001,"power":25582,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":125362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:37:02] local.INFO: GPS data processed {"connection_id":125362,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:37:02] local.INFO: Acknowledgment sent {"connection_id":125362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:37:21] local.INFO: TCP Data received {"connection_id":126097,"ip":"117.225.194.139","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:37:21] local.INFO: Processing buffer {"connection_id":126097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:37:21] local.INFO: IMEI packet received {"connection_id":126097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 10:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":126097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:37:23] local.INFO: TCP Data received {"connection_id":126097,"ip":"117.225.194.139","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:37:23] local.INFO: Processing buffer {"connection_id":126097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:37:23] local.INFO: IMEI packet received {"connection_id":126097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 10:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":126097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:37:24] local.INFO: TCP Data received {"connection_id":126095,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f401cef90012d0b130007029fc0000e013429..."} 
[2026-07-08 10:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f401cef90012d0b130007029fc0000e013429..."} 
[2026-07-08 10:37:24] local.INFO: Processing buffer {"connection_id":126095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f401cef90012d0b130007029fc0000e013429..."} 
[2026-07-08 10:37:24] local.INFO: Packet analysis {"connection_id":126095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f401c"} 
[2026-07-08 10:37:24] local.INFO: Extracted packet for processing {"connection_id":126095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f401c"} 
[2026-07-08 10:37:24] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":14,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572611840001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:37:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783487066000,"timestamp_ms":1783487066000,"timestamp_seconds":1783487066,"priority":1,"record_length":96,"hex_timestamp":"0000019f401cef90"} 
[2026-07-08 10:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:37:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-08 10:37:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:37:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":126095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":126095,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":126095,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:37:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572611840001,"66":12689,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572611840001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:37:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572611840001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":126095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450318,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:37:24] local.INFO: GPS data processed {"connection_id":126095,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:37:24] local.INFO: Acknowledgment sent {"connection_id":126095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:37:25] local.INFO: TCP Data received {"connection_id":126097,"ip":"117.225.194.139","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:37:25] local.INFO: Processing buffer {"connection_id":126097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:37:25] local.INFO: IMEI packet received {"connection_id":126097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 10:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":126097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:37:27] local.INFO: TCP Data received {"connection_id":126097,"ip":"117.225.194.139","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-08 10:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126097,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-08 10:37:27] local.INFO: Processing buffer {"connection_id":126097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-08 10:37:27] local.INFO: Packet analysis {"connection_id":126097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-08 10:37:27] local.INFO: Extracted packet for processing {"connection_id":126097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-08 10:37:27] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-08 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-07-08 10:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4679542962651136,"note":"Value kept but may cause issues"} 
[2026-07-08 10:37:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 10:37:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":48000,"timestamp_seconds":48,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 10:37:27] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-08 10:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":126097,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":126097,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-08 10:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":126097,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-08 10:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.194.139","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-08 10:37:27] local.WARNING: DEBUG: No valid data to process  
[2026-07-08 10:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":126097,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-08 10:37:27] local.ERROR: GPS data processing failed {"connection_id":126097,"error":"No valid data to process"} 
[2026-07-08 10:37:27] local.INFO: Acknowledgment sent {"connection_id":126097,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-08 10:37:34] local.INFO: TCP Data received {"connection_id":125362,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f401c10e8012d7f980005afe330000001262b..."} 
[2026-07-08 10:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f401c10e8012d7f980005afe330000001262b..."} 
[2026-07-08 10:37:34] local.INFO: Processing buffer {"connection_id":125362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f401c10e8012d7f980005afe330000001262b..."} 
[2026-07-08 10:37:34] local.INFO: Packet analysis {"connection_id":125362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f401c"} 
[2026-07-08 10:37:34] local.INFO: Extracted packet for processing {"connection_id":125362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f401c"} 
[2026-07-08 10:37:34] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572597248001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783487009000,"timestamp_ms":1783487009000,"timestamp_seconds":1783487009,"priority":1,"record_length":96,"hex_timestamp":"0000019f401c10e8"} 
[2026-07-08 10:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 10:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:37: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-07-08 10:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572597248001,"66":25582,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572597248001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:37:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:37:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572597248001,"power":25582,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":125362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:37:34] local.INFO: GPS data processed {"connection_id":125362,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:37:34] local.INFO: Acknowledgment sent {"connection_id":125362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:37:50] local.INFO: TCP Data received {"connection_id":125263,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125263,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:37:50] local.INFO: Processing buffer {"connection_id":125263,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:37:50] local.INFO: IMEI packet received {"connection_id":125263,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":125263,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:37:55] local.INFO: TCP Data received {"connection_id":125263,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125263,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:37:55] local.INFO: Processing buffer {"connection_id":125263,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:37:55] local.INFO: IMEI packet received {"connection_id":125263,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":125263,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:37:56] local.INFO: TCP Data received {"connection_id":125263,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f401cef90012d0b130007029fc0000e013429..."} 
[2026-07-08 10:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f401cef90012d0b130007029fc0000e013429..."} 
[2026-07-08 10:37:56] local.INFO: Processing buffer {"connection_id":125263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f401cef90012d0b130007029fc0000e013429..."} 
[2026-07-08 10:37:56] local.INFO: Packet analysis {"connection_id":125263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f401c"} 
[2026-07-08 10:37:56] local.INFO: Extracted packet for processing {"connection_id":125263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f401c"} 
[2026-07-08 10:37:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":14,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572611840001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783487066000,"timestamp_ms":1783487066000,"timestamp_seconds":1783487066,"priority":1,"record_length":96,"hex_timestamp":"0000019f401cef90"} 
[2026-07-08 10:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:37:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-08 10:37:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:37:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":125263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":125263,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":125263,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572611840001,"66":12689,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572611840001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:37:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572611840001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":125263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450320,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:37:56] local.INFO: GPS data processed {"connection_id":125263,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:37:56] local.INFO: Acknowledgment sent {"connection_id":125263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:38:01] local.INFO: TCP Data received {"connection_id":126099,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:38:01] local.INFO: Processing buffer {"connection_id":126099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:38:01] local.INFO: IMEI packet received {"connection_id":126099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":126099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:38:02] local.INFO: TCP Data received {"connection_id":125263,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f401cef90012d0b130007029fc0000e013429..."} 
[2026-07-08 10:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f401cef90012d0b130007029fc0000e013429..."} 
[2026-07-08 10:38:02] local.INFO: Processing buffer {"connection_id":125263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f401cef90012d0b130007029fc0000e013429..."} 
[2026-07-08 10:38:02] local.INFO: Packet analysis {"connection_id":125263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f401c"} 
[2026-07-08 10:38:02] local.INFO: Extracted packet for processing {"connection_id":125263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f401c"} 
[2026-07-08 10:38:02] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":14,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572611840001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:38: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-07-08 10:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783487066000,"timestamp_ms":1783487066000,"timestamp_seconds":1783487066,"priority":1,"record_length":96,"hex_timestamp":"0000019f401cef90"} 
[2026-07-08 10:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-08 10:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125263,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125263,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572611840001,"66":12689,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572611840001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:38:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572611840001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":125263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450321,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:38:02] local.INFO: GPS data processed {"connection_id":125263,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:38:02] local.INFO: Acknowledgment sent {"connection_id":125263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:38:04] local.INFO: TCP Data received {"connection_id":126097,"ip":"117.225.194.139","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-07-08 10:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-07-08 10:38:04] local.INFO: Processing buffer {"connection_id":126097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-07-08 10:38:04] local.INFO: Packet analysis {"connection_id":126097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-08 10:38:04] local.INFO: Extracted packet for processing {"connection_id":126097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-08 10:38: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-07-08 10: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-07-08 10:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4679542962651136,"note":"Value kept but may cause issues"} 
[2026-07-08 10:38:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 10:38:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":69000,"timestamp_seconds":69,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 10:38:04] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-08 10:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126097,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126097,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-08 10:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126097,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-08 10:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.194.139","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-08 10:38:04] local.WARNING: DEBUG: No valid data to process  
[2026-07-08 10:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":126097,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-08 10:38:04] local.ERROR: GPS data processing failed {"connection_id":126097,"error":"No valid data to process"} 
[2026-07-08 10:38:04] local.INFO: Acknowledgment sent {"connection_id":126097,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-08 10:38:06] local.INFO: TCP Data received {"connection_id":126099,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:38:06] local.INFO: Processing buffer {"connection_id":126099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:38:06] local.INFO: IMEI packet received {"connection_id":126099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":126099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:38:07] local.INFO: TCP Data received {"connection_id":126099,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f401c10e8012d7f980005afe330000001262b..."} 
[2026-07-08 10:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f401c10e8012d7f980005afe330000001262b..."} 
[2026-07-08 10:38:07] local.INFO: Processing buffer {"connection_id":126099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f401c10e8012d7f980005afe330000001262b..."} 
[2026-07-08 10:38:07] local.INFO: Packet analysis {"connection_id":126099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f401c"} 
[2026-07-08 10:38:07] local.INFO: Extracted packet for processing {"connection_id":126099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f401c"} 
[2026-07-08 10:38:07] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572597248001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783487009000,"timestamp_ms":1783487009000,"timestamp_seconds":1783487009,"priority":1,"record_length":96,"hex_timestamp":"0000019f401c10e8"} 
[2026-07-08 10:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 10:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:38:07] 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-07-08 10:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572597248001,"66":25582,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572597248001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:38:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:38:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572597248001,"power":25582,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":126099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:38:07] local.INFO: GPS data processed {"connection_id":126099,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:38:07] local.INFO: Acknowledgment sent {"connection_id":126099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:38:35] local.INFO: TCP Data received {"connection_id":126097,"ip":"117.225.194.139","data_length":795,"data_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-07-08 10:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-07-08 10:38:35] local.INFO: Processing buffer {"connection_id":126097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-07-08 10:38:35] local.INFO: Packet analysis {"connection_id":126097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-08 10:38:35] local.INFO: Extracted packet for processing {"connection_id":126097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-08 10:38:35] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-08 10:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4679542962651136,"note":"Value kept but may cause issues"} 
[2026-07-08 10:38:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 10:38:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":90000,"timestamp_seconds":90,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 10:38:35] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-08 10:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126097,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126097,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-08 10:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126097,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-08 10:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.194.139","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-08 10:38:35] local.WARNING: DEBUG: No valid data to process  
[2026-07-08 10:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":126097,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-08 10:38:35] local.ERROR: GPS data processing failed {"connection_id":126097,"error":"No valid data to process"} 
[2026-07-08 10:38:35] local.INFO: Acknowledgment sent {"connection_id":126097,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-08 10:38:38] local.INFO: TCP Data received {"connection_id":126099,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f401c10e8012d7f980005afe330000001262b..."} 
[2026-07-08 10:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f401c10e8012d7f980005afe330000001262b..."} 
[2026-07-08 10:38:38] local.INFO: Processing buffer {"connection_id":126099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f401c10e8012d7f980005afe330000001262b..."} 
[2026-07-08 10:38:38] local.INFO: Packet analysis {"connection_id":126099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f401c"} 
[2026-07-08 10:38:38] local.INFO: Extracted packet for processing {"connection_id":126099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f401c"} 
[2026-07-08 10:38:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572597248001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783487009000,"timestamp_ms":1783487009000,"timestamp_seconds":1783487009,"priority":1,"record_length":96,"hex_timestamp":"0000019f401c10e8"} 
[2026-07-08 10:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 10:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:38:38] 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-07-08 10:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572597248001,"66":25582,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572597248001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:38:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:38:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572597248001,"power":25582,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":126099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:38:38] local.INFO: GPS data processed {"connection_id":126099,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:38:38] local.INFO: Acknowledgment sent {"connection_id":126099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:38:45] local.INFO: TCP Data received {"connection_id":127367,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127367,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:38:45] local.INFO: Processing buffer {"connection_id":127367,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:38:45] local.INFO: IMEI packet received {"connection_id":127367,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":127367,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:38:50] local.INFO: TCP Data received {"connection_id":127367,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127367,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:38:50] local.INFO: Processing buffer {"connection_id":127367,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:38:50] local.INFO: IMEI packet received {"connection_id":127367,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":127367,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:38:51] local.INFO: TCP Data received {"connection_id":127367,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f401cef90012d0b130007029fc0000e013429..."} 
[2026-07-08 10:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f401cef90012d0b130007029fc0000e013429..."} 
[2026-07-08 10:38:51] local.INFO: Processing buffer {"connection_id":127367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f401cef90012d0b130007029fc0000e013429..."} 
[2026-07-08 10:38:51] local.INFO: Packet analysis {"connection_id":127367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f401c"} 
[2026-07-08 10:38:51] local.INFO: Extracted packet for processing {"connection_id":127367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f401c"} 
[2026-07-08 10:38:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":14,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572611840001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783487066000,"timestamp_ms":1783487066000,"timestamp_seconds":1783487066,"priority":1,"record_length":96,"hex_timestamp":"0000019f401cef90"} 
[2026-07-08 10:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-08 10:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572611840001,"66":12689,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572611840001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:38:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572611840001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":127367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450324,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:38:51] local.INFO: GPS data processed {"connection_id":127367,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:38:51] local.INFO: Acknowledgment sent {"connection_id":127367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:38:56] local.INFO: TCP Data received {"connection_id":125363,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:38:56] local.INFO: Processing buffer {"connection_id":125363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:38:56] local.INFO: IMEI packet received {"connection_id":125363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":125363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:39:01] local.INFO: TCP Data received {"connection_id":125363,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:39:01] local.INFO: Processing buffer {"connection_id":125363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:39:01] local.INFO: IMEI packet received {"connection_id":125363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":125363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:39:02] local.INFO: TCP Data received {"connection_id":125363,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f401c10e8012d7f980005afe330000001262b..."} 
[2026-07-08 10:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f401c10e8012d7f980005afe330000001262b..."} 
[2026-07-08 10:39:02] local.INFO: Processing buffer {"connection_id":125363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f401c10e8012d7f980005afe330000001262b..."} 
[2026-07-08 10:39:02] local.INFO: Packet analysis {"connection_id":125363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f401c"} 
[2026-07-08 10:39:02] local.INFO: Extracted packet for processing {"connection_id":125363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f401c"} 
[2026-07-08 10:39:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":43,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572597248001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783487009000,"timestamp_ms":1783487009000,"timestamp_seconds":1783487009,"priority":1,"record_length":96,"hex_timestamp":"0000019f401c10e8"} 
[2026-07-08 10:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 10:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572597248001,"66":25582,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572597248001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:39:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:39:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572597248001,"power":25582,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":125363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:39:02] local.INFO: GPS data processed {"connection_id":125363,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:39:02] local.INFO: Acknowledgment sent {"connection_id":125363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:39:07] local.INFO: TCP Data received {"connection_id":126097,"ip":"117.225.194.139","data_length":795,"data_hex":"000000000000030f8e0a000000000001b1980100000000000000000000000000..."} 
[2026-07-08 10:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126097,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001b1980100000000000000000000000000..."} 
[2026-07-08 10:39:07] local.INFO: Processing buffer {"connection_id":126097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001b1980100000000000000000000000000..."} 
[2026-07-08 10:39:07] local.INFO: Packet analysis {"connection_id":126097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-08 10:39:07] local.INFO: Extracted packet for processing {"connection_id":126097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-08 10:39:07] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-08 10:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4679542962651136,"note":"Value kept but may cause issues"} 
[2026-07-08 10:39:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 10:39:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":111000,"timestamp_seconds":111,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 10:39:07] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-08 10:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126097,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126097,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-08 10:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126097,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-08 10:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.194.139","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-08 10:39:07] local.WARNING: DEBUG: No valid data to process  
[2026-07-08 10:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":126097,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-08 10:39:07] local.ERROR: GPS data processing failed {"connection_id":126097,"error":"No valid data to process"} 
[2026-07-08 10:39:07] local.INFO: Acknowledgment sent {"connection_id":126097,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-08 10:39:22] local.INFO: TCP Data received {"connection_id":126100,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126100,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:39:22] local.INFO: Processing buffer {"connection_id":126100,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:39:22] local.INFO: IMEI packet received {"connection_id":126100,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 10:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":126100,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:39:23] local.INFO: TCP Data received {"connection_id":127367,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f401cef90012d0b130007029fc0000e013429..."} 
[2026-07-08 10:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f401cef90012d0b130007029fc0000e013429..."} 
[2026-07-08 10:39:23] local.INFO: Processing buffer {"connection_id":127367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f401cef90012d0b130007029fc0000e013429..."} 
[2026-07-08 10:39:23] local.INFO: Packet analysis {"connection_id":127367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f401c"} 
[2026-07-08 10:39:23] local.INFO: Extracted packet for processing {"connection_id":127367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f401c"} 
[2026-07-08 10:39:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":14,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 10:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572611840001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:39:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783487066000,"timestamp_ms":1783487066000,"timestamp_seconds":1783487066,"priority":1,"record_length":96,"hex_timestamp":"0000019f401cef90"} 
[2026-07-08 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-07-08 10:39:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-08 10:39:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 10:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":127367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":127367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":127367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:39:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572611840001,"66":12689,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572611840001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:39:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572611840001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":127367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450326,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:39:24] local.INFO: GPS data processed {"connection_id":127367,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:39:24] local.INFO: Acknowledgment sent {"connection_id":127367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:39:33] local.INFO: TCP Data received {"connection_id":125363,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4020a8b0012d7f980005afe3300000012628..."} 
[2026-07-08 10:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4020a8b0012d7f980005afe3300000012628..."} 
[2026-07-08 10:39:33] local.INFO: Processing buffer {"connection_id":125363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4020a8b0012d7f980005afe3300000012628..."} 
[2026-07-08 10:39:33] local.INFO: Packet analysis {"connection_id":125363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4020"} 
[2026-07-08 10:39:33] local.INFO: Extracted packet for processing {"connection_id":125363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4020"} 
[2026-07-08 10:39:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572674304001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783487310000,"timestamp_ms":1783487310000,"timestamp_seconds":1783487310,"priority":1,"record_length":96,"hex_timestamp":"0000019f4020a8b0"} 
[2026-07-08 10:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 10:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572674304001,"66":25582,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572674304001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:39:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:39:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572674304001,"power":25582,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":125363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:39:33] local.INFO: GPS data processed {"connection_id":125363,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:39:33] local.INFO: Acknowledgment sent {"connection_id":125363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:39:40] local.INFO: TCP Data received {"connection_id":126097,"ip":"117.225.194.139","data_length":795,"data_hex":"000000000000030f8e0a00000000000203a00100000000000000000000000000..."} 
[2026-07-08 10:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126097,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000203a00100000000000000000000000000..."} 
[2026-07-08 10:39:40] local.INFO: Processing buffer {"connection_id":126097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000203a00100000000000000000000000000..."} 
[2026-07-08 10:39:40] local.INFO: Packet analysis {"connection_id":126097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-08 10:39:40] local.INFO: Extracted packet for processing {"connection_id":126097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-08 10:39:40] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-08 10:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4679542962651136,"note":"Value kept but may cause issues"} 
[2026-07-08 10:39:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 10:39:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":132000,"timestamp_seconds":132,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 10:39:40] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-08 10:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126097,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126097,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-08 10:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126097,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-08 10:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.194.139","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-08 10:39:40] local.WARNING: DEBUG: No valid data to process  
[2026-07-08 10:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":126097,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-08 10:39:40] local.ERROR: GPS data processing failed {"connection_id":126097,"error":"No valid data to process"} 
[2026-07-08 10:39:40] local.INFO: Acknowledgment sent {"connection_id":126097,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-08 10:39:45] local.INFO: TCP Data received {"connection_id":126101,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126101,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:39:45] local.INFO: Processing buffer {"connection_id":126101,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:39:45] local.INFO: IMEI packet received {"connection_id":126101,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":126101,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:39:52] local.INFO: TCP Data received {"connection_id":126101,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126101,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:39:52] local.INFO: Processing buffer {"connection_id":126101,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:39:52] local.INFO: IMEI packet received {"connection_id":126101,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":126101,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:39:53] local.INFO: TCP Data received {"connection_id":126101,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f40218758012d0b130007029fc00007013424..."} 
[2026-07-08 10:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40218758012d0b130007029fc00007013424..."} 
[2026-07-08 10:39:53] local.INFO: Processing buffer {"connection_id":126101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40218758012d0b130007029fc00007013424..."} 
[2026-07-08 10:39:53] local.INFO: Packet analysis {"connection_id":126101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4021"} 
[2026-07-08 10:39:53] local.INFO: Extracted packet for processing {"connection_id":126101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4021"} 
[2026-07-08 10:39:53] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":7,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572688896001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:39:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783487367000,"timestamp_ms":1783487367000,"timestamp_seconds":1783487367,"priority":1,"record_length":96,"hex_timestamp":"0000019f40218758"} 
[2026-07-08 10:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:39:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 10:39: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-07-08 10:39:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":126101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":126101,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":126101,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:39:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572688896001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572688896001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:39:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572688896001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":126101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450328,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:39:54] local.INFO: GPS data processed {"connection_id":126101,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:39:54] local.INFO: Acknowledgment sent {"connection_id":126101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:39:56] local.INFO: TCP Data received {"connection_id":125364,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:39:56] local.INFO: Processing buffer {"connection_id":125364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:39:56] local.INFO: IMEI packet received {"connection_id":125364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":125364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:39:56] local.INFO: TCP Data received {"connection_id":127368,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127368,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:39:56] local.INFO: Processing buffer {"connection_id":127368,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:39:56] local.INFO: IMEI packet received {"connection_id":127368,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 10:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":127368,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:40:01] local.INFO: TCP Data received {"connection_id":125364,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:40:01] local.INFO: Processing buffer {"connection_id":125364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:40:01] local.INFO: IMEI packet received {"connection_id":125364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":125364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:40:02] local.INFO: TCP Data received {"connection_id":125364,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4020a8b0012d7f980005afe3300000012628..."} 
[2026-07-08 10:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4020a8b0012d7f980005afe3300000012628..."} 
[2026-07-08 10:40:02] local.INFO: Processing buffer {"connection_id":125364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4020a8b0012d7f980005afe3300000012628..."} 
[2026-07-08 10:40:02] local.INFO: Packet analysis {"connection_id":125364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4020"} 
[2026-07-08 10:40:02] local.INFO: Extracted packet for processing {"connection_id":125364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4020"} 
[2026-07-08 10:40:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572674304001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783487310000,"timestamp_ms":1783487310000,"timestamp_seconds":1783487310,"priority":1,"record_length":96,"hex_timestamp":"0000019f4020a8b0"} 
[2026-07-08 10:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 10:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572674304001,"66":25582,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572674304001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:40:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:40:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572674304001,"power":25582,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":125364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:40:02] local.INFO: GPS data processed {"connection_id":125364,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:40:02] local.INFO: Acknowledgment sent {"connection_id":125364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:40:12] local.INFO: TCP Data received {"connection_id":126097,"ip":"117.225.194.139","data_length":795,"data_hex":"000000000000030f8e0a00000000000255a80100000000000000000000000000..."} 
[2026-07-08 10:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126097,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000255a80100000000000000000000000000..."} 
[2026-07-08 10:40:12] local.INFO: Processing buffer {"connection_id":126097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000255a80100000000000000000000000000..."} 
[2026-07-08 10:40:12] local.INFO: Packet analysis {"connection_id":126097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-08 10:40:12] local.INFO: Extracted packet for processing {"connection_id":126097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-08 10:40:12] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-08 10:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4679542962651136,"note":"Value kept but may cause issues"} 
[2026-07-08 10:40:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 10:40:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":153000,"timestamp_seconds":153,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 10:40:12] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-08 10:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":126097,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":126097,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-08 10:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":126097,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-08 10:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.194.139","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-08 10:40:12] local.WARNING: DEBUG: No valid data to process  
[2026-07-08 10:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":126097,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-08 10:40:12] local.ERROR: GPS data processing failed {"connection_id":126097,"error":"No valid data to process"} 
[2026-07-08 10:40:12] local.INFO: Acknowledgment sent {"connection_id":126097,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-08 10:40:25] local.INFO: TCP Data received {"connection_id":126101,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f40218758012d0b130007029fc00007013424..."} 
[2026-07-08 10:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40218758012d0b130007029fc00007013424..."} 
[2026-07-08 10:40:25] local.INFO: Processing buffer {"connection_id":126101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40218758012d0b130007029fc00007013424..."} 
[2026-07-08 10:40:25] local.INFO: Packet analysis {"connection_id":126101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4021"} 
[2026-07-08 10:40:25] local.INFO: Extracted packet for processing {"connection_id":126101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4021"} 
[2026-07-08 10:40:25] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":7,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572688896001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:40:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783487367000,"timestamp_ms":1783487367000,"timestamp_seconds":1783487367,"priority":1,"record_length":96,"hex_timestamp":"0000019f40218758"} 
[2026-07-08 10:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:40:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 10:40: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-07-08 10: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-07-08 10:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":126101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":126101,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":126101,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:40:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572688896001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572688896001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:40:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572688896001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":126101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450330,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:40:25] local.INFO: GPS data processed {"connection_id":126101,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:40:25] local.INFO: Acknowledgment sent {"connection_id":126101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:40:33] local.INFO: TCP Data received {"connection_id":125364,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4020a8b0012d7f980005afe3300000012628..."} 
[2026-07-08 10:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4020a8b0012d7f980005afe3300000012628..."} 
[2026-07-08 10:40:33] local.INFO: Processing buffer {"connection_id":125364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4020a8b0012d7f980005afe3300000012628..."} 
[2026-07-08 10:40:33] local.INFO: Packet analysis {"connection_id":125364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4020"} 
[2026-07-08 10:40:33] local.INFO: Extracted packet for processing {"connection_id":125364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4020"} 
[2026-07-08 10:40:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572674304001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783487310000,"timestamp_ms":1783487310000,"timestamp_seconds":1783487310,"priority":1,"record_length":96,"hex_timestamp":"0000019f4020a8b0"} 
[2026-07-08 10:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 10:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572674304001,"66":25582,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572674304001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:40:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:40:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572674304001,"power":25582,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":125364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:40:33] local.INFO: GPS data processed {"connection_id":125364,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:40:33] local.INFO: Acknowledgment sent {"connection_id":125364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:40:45] local.INFO: TCP Data received {"connection_id":126102,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126102,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:40:45] local.INFO: Processing buffer {"connection_id":126102,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:40:45] local.INFO: IMEI packet received {"connection_id":126102,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":126102,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:40:54] local.INFO: TCP Data received {"connection_id":126102,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126102,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:40:54] local.INFO: Processing buffer {"connection_id":126102,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:40:54] local.INFO: IMEI packet received {"connection_id":126102,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":126102,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:40:55] local.INFO: TCP Data received {"connection_id":126102,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f40218758012d0b130007029fc00007013424..."} 
[2026-07-08 10:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40218758012d0b130007029fc00007013424..."} 
[2026-07-08 10:40:55] local.INFO: Processing buffer {"connection_id":126102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40218758012d0b130007029fc00007013424..."} 
[2026-07-08 10:40:55] local.INFO: Packet analysis {"connection_id":126102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4021"} 
[2026-07-08 10:40:55] local.INFO: Extracted packet for processing {"connection_id":126102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4021"} 
[2026-07-08 10:40:55] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":7,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572688896001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783487367000,"timestamp_ms":1783487367000,"timestamp_seconds":1783487367,"priority":1,"record_length":96,"hex_timestamp":"0000019f40218758"} 
[2026-07-08 10:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 10:40:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:40:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":126102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":126102,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":126102,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572688896001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572688896001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:40:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572688896001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":126102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450332,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:40:55] local.INFO: GPS data processed {"connection_id":126102,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:40:55] local.INFO: Acknowledgment sent {"connection_id":126102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:40:56] local.INFO: TCP Data received {"connection_id":125264,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:40:56] local.INFO: Processing buffer {"connection_id":125264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:40:56] local.INFO: IMEI packet received {"connection_id":125264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":125264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:41:01] local.INFO: TCP Data received {"connection_id":125264,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:41:01] local.INFO: Processing buffer {"connection_id":125264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:41:01] local.INFO: IMEI packet received {"connection_id":125264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":125264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:41:02] local.INFO: TCP Data received {"connection_id":125264,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4020a8b0012d7f980005afe3300000012628..."} 
[2026-07-08 10:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4020a8b0012d7f980005afe3300000012628..."} 
[2026-07-08 10:41:02] local.INFO: Processing buffer {"connection_id":125264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4020a8b0012d7f980005afe3300000012628..."} 
[2026-07-08 10:41:02] local.INFO: Packet analysis {"connection_id":125264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4020"} 
[2026-07-08 10:41:02] local.INFO: Extracted packet for processing {"connection_id":125264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4020"} 
[2026-07-08 10:41:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572674304001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783487310000,"timestamp_ms":1783487310000,"timestamp_seconds":1783487310,"priority":1,"record_length":96,"hex_timestamp":"0000019f4020a8b0"} 
[2026-07-08 10:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 10:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572674304001,"66":25582,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572674304001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:41:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:41:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572674304001,"power":25582,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":125264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:41:02] local.INFO: GPS data processed {"connection_id":125264,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:41:02] local.INFO: Acknowledgment sent {"connection_id":125264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:41:27] local.INFO: TCP Data received {"connection_id":126102,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f40218758012d0b130007029fc00007013424..."} 
[2026-07-08 10:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40218758012d0b130007029fc00007013424..."} 
[2026-07-08 10:41:27] local.INFO: Processing buffer {"connection_id":126102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40218758012d0b130007029fc00007013424..."} 
[2026-07-08 10:41:27] local.INFO: Packet analysis {"connection_id":126102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4021"} 
[2026-07-08 10:41:27] local.INFO: Extracted packet for processing {"connection_id":126102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4021"} 
[2026-07-08 10:41:27] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":7,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 10:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572688896001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783487367000,"timestamp_ms":1783487367000,"timestamp_seconds":1783487367,"priority":1,"record_length":96,"hex_timestamp":"0000019f40218758"} 
[2026-07-08 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-07-08 10:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 10:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 10:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":126102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":126102,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":126102,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572688896001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572688896001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:41:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572688896001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":126102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450334,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:41:27] local.INFO: GPS data processed {"connection_id":126102,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:41:27] local.INFO: Acknowledgment sent {"connection_id":126102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:41:33] local.INFO: TCP Data received {"connection_id":125264,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4020a8b0012d7f980005afe3300000012628..."} 
[2026-07-08 10:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4020a8b0012d7f980005afe3300000012628..."} 
[2026-07-08 10:41:33] local.INFO: Processing buffer {"connection_id":125264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4020a8b0012d7f980005afe3300000012628..."} 
[2026-07-08 10:41:33] local.INFO: Packet analysis {"connection_id":125264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4020"} 
[2026-07-08 10:41:33] local.INFO: Extracted packet for processing {"connection_id":125264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4020"} 
[2026-07-08 10:41:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572674304001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783487310000,"timestamp_ms":1783487310000,"timestamp_seconds":1783487310,"priority":1,"record_length":96,"hex_timestamp":"0000019f4020a8b0"} 
[2026-07-08 10:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 10:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572674304001,"66":25582,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572674304001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:41:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:41:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572674304001,"power":25582,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":125264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:41:33] local.INFO: GPS data processed {"connection_id":125264,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:41:33] local.INFO: Acknowledgment sent {"connection_id":125264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:41:36] local.INFO: TCP Data received {"connection_id":127369,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:41:36] local.INFO: Processing buffer {"connection_id":127369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:41:36] local.INFO: IMEI packet received {"connection_id":127369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 10:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":127369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:41:36] local.INFO: TCP Data received {"connection_id":127369,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:41:36] local.INFO: Processing buffer {"connection_id":127369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:41:36] local.INFO: IMEI packet received {"connection_id":127369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 10:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":127369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:41:38] local.INFO: TCP Data received {"connection_id":127369,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000000000034bc00100000000000000000000000000..."} 
[2026-07-08 10:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000034bc00100000000000000000000000000..."} 
[2026-07-08 10:41:38] local.INFO: Processing buffer {"connection_id":127369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000034bc00100000000000000000000000000..."} 
[2026-07-08 10:41:38] local.INFO: Packet analysis {"connection_id":127369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-07-08 10:41:38] local.INFO: Extracted packet for processing {"connection_id":127369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-07-08 10:41: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-07-08 10:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4679542962651136,"note":"Value kept but may cause issues"} 
[2026-07-08 10:41:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 10:41:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216000,"timestamp_seconds":216,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 10:41:38] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-08 10:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127369,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127369,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-08 10:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127369,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-08 10:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-08 10:41:38] local.WARNING: DEBUG: No valid data to process  
[2026-07-08 10:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":127369,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-08 10:41:38] local.ERROR: GPS data processing failed {"connection_id":127369,"error":"No valid data to process"} 
[2026-07-08 10:41:38] local.INFO: Acknowledgment sent {"connection_id":127369,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-08 10:41:42] local.INFO: TCP Data received {"connection_id":127369,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000000000039dc80100000000000000000000000000..."} 
[2026-07-08 10:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000039dc80100000000000000000000000000..."} 
[2026-07-08 10:41:42] local.INFO: Processing buffer {"connection_id":127369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000039dc80100000000000000000000000000..."} 
[2026-07-08 10:41:42] local.INFO: Packet analysis {"connection_id":127369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-07-08 10:41:42] local.INFO: Extracted packet for processing {"connection_id":127369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-07-08 10:41:42] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-08 10:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4679542962651136,"note":"Value kept but may cause issues"} 
[2026-07-08 10:41:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 10:41:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":237000,"timestamp_seconds":237,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 10:41:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-08 10:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":127369,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":127369,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-08 10:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":127369,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-08 10:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-08 10:41:42] local.WARNING: DEBUG: No valid data to process  
[2026-07-08 10:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":127369,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-08 10:41:42] local.ERROR: GPS data processing failed {"connection_id":127369,"error":"No valid data to process"} 
[2026-07-08 10:41:42] local.INFO: Acknowledgment sent {"connection_id":127369,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-08 10:41:51] local.INFO: TCP Data received {"connection_id":126104,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126104,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:41:51] local.INFO: Processing buffer {"connection_id":126104,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:41:51] local.INFO: IMEI packet received {"connection_id":126104,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":126104,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:42:00] local.INFO: TCP Data received {"connection_id":126104,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126104,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:42:00] local.INFO: Processing buffer {"connection_id":126104,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:42:00] local.INFO: IMEI packet received {"connection_id":126104,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":126104,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:42:01] local.INFO: TCP Data received {"connection_id":125365,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:42:01] local.INFO: Processing buffer {"connection_id":125365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:42:01] local.INFO: IMEI packet received {"connection_id":125365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":125365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:42:01] local.INFO: TCP Data received {"connection_id":126104,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f40218758012d0b130007029fc00007013424..."} 
[2026-07-08 10:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40218758012d0b130007029fc00007013424..."} 
[2026-07-08 10:42:01] local.INFO: Processing buffer {"connection_id":126104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40218758012d0b130007029fc00007013424..."} 
[2026-07-08 10:42:01] local.INFO: Packet analysis {"connection_id":126104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4021"} 
[2026-07-08 10:42:01] local.INFO: Extracted packet for processing {"connection_id":126104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4021"} 
[2026-07-08 10:42:01] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":7,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572688896001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:42: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-07-08 10:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783487367000,"timestamp_ms":1783487367000,"timestamp_seconds":1783487367,"priority":1,"record_length":96,"hex_timestamp":"0000019f40218758"} 
[2026-07-08 10:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 10:42:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:42:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126104,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126104,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572688896001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572688896001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:42:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572688896001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":126104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450336,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:42:02] local.INFO: GPS data processed {"connection_id":126104,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:42:02] local.INFO: Acknowledgment sent {"connection_id":126104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:42:04] local.INFO: TCP Data received {"connection_id":126104,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f40218758012d0b130007029fc00007013424..."} 
[2026-07-08 10:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40218758012d0b130007029fc00007013424..."} 
[2026-07-08 10:42:04] local.INFO: Processing buffer {"connection_id":126104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40218758012d0b130007029fc00007013424..."} 
[2026-07-08 10:42:04] local.INFO: Packet analysis {"connection_id":126104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4021"} 
[2026-07-08 10:42:04] local.INFO: Extracted packet for processing {"connection_id":126104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4021"} 
[2026-07-08 10:42:04] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":7,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572688896001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783487367000,"timestamp_ms":1783487367000,"timestamp_seconds":1783487367,"priority":1,"record_length":96,"hex_timestamp":"0000019f40218758"} 
[2026-07-08 10:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:42: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-07-08 10:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 10:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126104,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126104,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572688896001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572688896001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:42:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572688896001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":126104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450337,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:42:04] local.INFO: GPS data processed {"connection_id":126104,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:42:04] local.INFO: Acknowledgment sent {"connection_id":126104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:42:06] local.INFO: TCP Data received {"connection_id":125365,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:42:06] local.INFO: Processing buffer {"connection_id":125365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:42:06] local.INFO: IMEI packet received {"connection_id":125365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":125365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:42:07] local.INFO: TCP Data received {"connection_id":125365,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4020a8b0012d7f980005afe3300000012628..."} 
[2026-07-08 10:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4020a8b0012d7f980005afe3300000012628..."} 
[2026-07-08 10:42:07] local.INFO: Processing buffer {"connection_id":125365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4020a8b0012d7f980005afe3300000012628..."} 
[2026-07-08 10:42:07] local.INFO: Packet analysis {"connection_id":125365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4020"} 
[2026-07-08 10:42:07] local.INFO: Extracted packet for processing {"connection_id":125365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4020"} 
[2026-07-08 10:42:07] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572674304001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783487310000,"timestamp_ms":1783487310000,"timestamp_seconds":1783487310,"priority":1,"record_length":96,"hex_timestamp":"0000019f4020a8b0"} 
[2026-07-08 10:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 10:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572674304001,"66":25582,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572674304001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:42:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:42:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572674304001,"power":25582,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":125365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:42:07] local.INFO: GPS data processed {"connection_id":125365,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:42:07] local.INFO: Acknowledgment sent {"connection_id":125365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:42:12] local.INFO: TCP Data received {"connection_id":125365,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4020a8b0012d7f980005afe3300000012628..."} 
[2026-07-08 10:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4020a8b0012d7f980005afe3300000012628..."} 
[2026-07-08 10:42:12] local.INFO: Processing buffer {"connection_id":125365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4020a8b0012d7f980005afe3300000012628..."} 
[2026-07-08 10:42:12] local.INFO: Packet analysis {"connection_id":125365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4020"} 
[2026-07-08 10:42:12] local.INFO: Extracted packet for processing {"connection_id":125365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4020"} 
[2026-07-08 10:42:12] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572674304001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783487310000,"timestamp_ms":1783487310000,"timestamp_seconds":1783487310,"priority":1,"record_length":96,"hex_timestamp":"0000019f4020a8b0"} 
[2026-07-08 10:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 10:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572674304001,"66":25582,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572674304001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:42:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:42:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572674304001,"power":25582,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":125365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:42:12] local.INFO: GPS data processed {"connection_id":125365,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:42:12] local.INFO: Acknowledgment sent {"connection_id":125365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:42:14] local.INFO: TCP Data received {"connection_id":127369,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4023eca0012d18c4c0072139580026015007..."} 
[2026-07-08 10:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4023eca0012d18c4c0072139580026015007..."} 
[2026-07-08 10:42:14] local.INFO: Processing buffer {"connection_id":127369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4023eca0012d18c4c0072139580026015007..."} 
[2026-07-08 10:42:14] local.INFO: Packet analysis {"connection_id":127369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4023"} 
[2026-07-08 10:42:14] local.INFO: Extracted packet for processing {"connection_id":127369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4023"} 
[2026-07-08 10:42:14] local.INFO: GPS Element Parsed {"raw_longitude":756597952,"raw_latitude":119617880,"longitude_deg":75.6597952,"latitude_deg":11.961788,"altitude":38,"angle":336,"satellites":7,"speed":29,"hex_longitude":"2d18c4c0","hex_latitude":"07213958","is_valid_coordinates":true} 
[2026-07-08 10:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572804608001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4682523669954560,"note":"Value kept but may cause issues"} 
[2026-07-08 10:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657757130752,"note":"Value kept but may cause issues"} 
[2026-07-08 10:42:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783487524000,"timestamp_ms":1783487524000,"timestamp_seconds":1783487524,"priority":1,"record_length":96,"hex_timestamp":"0000019f4023eca0"} 
[2026-07-08 10:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2304,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 10:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-08 10:42:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:42:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":127369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":127369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":127369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 10:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 10:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572804608001,"66":14428,"121":206,"28":31744,"24":29,"16":4682523669954560,"45":1787084657757130752},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 10:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 10:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 10:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572804608001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:42:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 10:42:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 10:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4682523669954560,"km_value":4682523669954.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657757130752,"description":"Unknown IO ID 45"} 
[2026-07-08 10:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572804608001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1787084657757130752}} 
[2026-07-08 10:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":127369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:42:14] local.INFO: GPS data processed {"connection_id":127369,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:42:14] local.INFO: Acknowledgment sent {"connection_id":127369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:42:45] local.INFO: TCP Data received {"connection_id":127370,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127370,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:42:45] local.INFO: Processing buffer {"connection_id":127370,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:42:45] local.INFO: IMEI packet received {"connection_id":127370,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":127370,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:42:46] local.INFO: TCP Data received {"connection_id":127369,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4023f470012d18c34007213f800027015c07..."} 
[2026-07-08 10:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4023f470012d18c34007213f800027015c07..."} 
[2026-07-08 10:42:46] local.INFO: Processing buffer {"connection_id":127369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4023f470012d18c34007213f800027015c07..."} 
[2026-07-08 10:42:46] local.INFO: Packet analysis {"connection_id":127369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4023"} 
[2026-07-08 10:42:46] local.INFO: Extracted packet for processing {"connection_id":127369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4023"} 
[2026-07-08 10:42:46] local.INFO: GPS Element Parsed {"raw_longitude":756597568,"raw_latitude":119619456,"longitude_deg":75.6597568,"latitude_deg":11.9619456,"altitude":39,"angle":348,"satellites":7,"speed":29,"hex_longitude":"2d18c340","hex_latitude":"07213f80","is_valid_coordinates":true} 
[2026-07-08 10:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572806144001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4682605274333184,"note":"Value kept but may cause issues"} 
[2026-07-08 10:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784762489200269312,"note":"Value kept but may cause issues"} 
[2026-07-08 10:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783487526000,"timestamp_ms":1783487526000,"timestamp_seconds":1783487526,"priority":1,"record_length":96,"hex_timestamp":"0000019f4023f470"} 
[2026-07-08 10:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2560,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 10:42: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":92,"data_length":795,"current_offset":136} 
[2026-07-08 10:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":127369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":127369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":127369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 10:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 10:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572806144001,"66":14363,"121":206,"28":31744,"24":29,"16":4682605274333184,"45":1784762489200269312},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 10:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 10:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 10:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572806144001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:42:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 10:42:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 10:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4682605274333184,"km_value":4682605274333.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784762489200269312,"description":"Unknown IO ID 45"} 
[2026-07-08 10:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572806144001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1784762489200269312}} 
[2026-07-08 10:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":127369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:42:46] local.INFO: GPS data processed {"connection_id":127369,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:42:46] local.INFO: Acknowledgment sent {"connection_id":127369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:42:50] local.INFO: TCP Data received {"connection_id":127370,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127370,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:42:50] local.INFO: Processing buffer {"connection_id":127370,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:42:50] local.INFO: IMEI packet received {"connection_id":127370,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":127370,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:42:52] local.INFO: TCP Data received {"connection_id":127370,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f40218758012d0b130007029fc00007013424..."} 
[2026-07-08 10:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40218758012d0b130007029fc00007013424..."} 
[2026-07-08 10:42:52] local.INFO: Processing buffer {"connection_id":127370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40218758012d0b130007029fc00007013424..."} 
[2026-07-08 10:42:52] local.INFO: Packet analysis {"connection_id":127370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4021"} 
[2026-07-08 10:42:52] local.INFO: Extracted packet for processing {"connection_id":127370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4021"} 
[2026-07-08 10:42:52] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":7,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572688896001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783487367000,"timestamp_ms":1783487367000,"timestamp_seconds":1783487367,"priority":1,"record_length":96,"hex_timestamp":"0000019f40218758"} 
[2026-07-08 10:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:42:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 10:42:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:42:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":127370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":127370,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":127370,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:42:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572688896001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572688896001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:42:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572688896001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":127370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450342,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:42:52] local.INFO: GPS data processed {"connection_id":127370,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:42:52] local.INFO: Acknowledgment sent {"connection_id":127370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:42:56] local.INFO: TCP Data received {"connection_id":125366,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:42:56] local.INFO: Processing buffer {"connection_id":125366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:42:56] local.INFO: IMEI packet received {"connection_id":125366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":125366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:43:01] local.INFO: TCP Data received {"connection_id":125366,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:43:01] local.INFO: Processing buffer {"connection_id":125366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:43:01] local.INFO: IMEI packet received {"connection_id":125366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":125366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:43:02] local.INFO: TCP Data received {"connection_id":125366,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f4020a8b0012d7f980005afe3300000012628..."} 
[2026-07-08 10:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4020a8b0012d7f980005afe3300000012628..."} 
[2026-07-08 10:43:02] local.INFO: Processing buffer {"connection_id":125366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4020a8b0012d7f980005afe3300000012628..."} 
[2026-07-08 10:43:02] local.INFO: Packet analysis {"connection_id":125366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4020"} 
[2026-07-08 10:43:02] local.INFO: Extracted packet for processing {"connection_id":125366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4020"} 
[2026-07-08 10:43:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572674304001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783487310000,"timestamp_ms":1783487310000,"timestamp_seconds":1783487310,"priority":1,"record_length":96,"hex_timestamp":"0000019f4020a8b0"} 
[2026-07-08 10:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 10:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572674304001,"66":25582,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572674304001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:43:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:43:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572674304001,"power":25582,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":125366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:43:02] local.INFO: GPS data processed {"connection_id":125366,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:43:02] local.INFO: Acknowledgment sent {"connection_id":125366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:43:17] local.INFO: TCP Data received {"connection_id":127369,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f402407f8012d18c08007214f380028014b07..."} 
[2026-07-08 10:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402407f8012d18c08007214f380028014b07..."} 
[2026-07-08 10:43:17] local.INFO: Processing buffer {"connection_id":127369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402407f8012d18c08007214f380028014b07..."} 
[2026-07-08 10:43:17] local.INFO: Packet analysis {"connection_id":127369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4024"} 
[2026-07-08 10:43:17] local.INFO: Extracted packet for processing {"connection_id":127369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4024"} 
[2026-07-08 10:43:17] local.INFO: GPS Element Parsed {"raw_longitude":756596864,"raw_latitude":119623480,"longitude_deg":75.6596864,"latitude_deg":11.962348,"altitude":40,"angle":331,"satellites":7,"speed":28,"hex_longitude":"2d18c080","hex_latitude":"07214f38","is_valid_coordinates":true} 
[2026-07-08 10:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572806656001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4682802842828800,"note":"Value kept but may cause issues"} 
[2026-07-08 10:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784340276735606784,"note":"Value kept but may cause issues"} 
[2026-07-08 10:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783487531000,"timestamp_ms":1783487531000,"timestamp_seconds":1783487531,"priority":1,"record_length":96,"hex_timestamp":"0000019f402407f8"} 
[2026-07-08 10:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2560,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 10: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-08 10:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":127369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":127369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":127369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 10:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 10:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572806656001,"66":14396,"121":206,"28":31744,"24":28,"16":4682802842828800,"45":1784340276735606784},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 10:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 10:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 10:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572806656001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:43:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 10:43:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 10:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4682802842828800,"km_value":4682802842828.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784340276735606784,"description":"Unknown IO ID 45"} 
[2026-07-08 10:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572806656001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1784340276735606784}} 
[2026-07-08 10:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":127369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:43:17] local.INFO: GPS data processed {"connection_id":127369,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:43:17] local.INFO: Acknowledgment sent {"connection_id":127369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:43:24] local.INFO: TCP Data received {"connection_id":127370,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f40218758012d0b130007029fc00007013424..."} 
[2026-07-08 10:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40218758012d0b130007029fc00007013424..."} 
[2026-07-08 10:43:24] local.INFO: Processing buffer {"connection_id":127370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40218758012d0b130007029fc00007013424..."} 
[2026-07-08 10:43:24] local.INFO: Packet analysis {"connection_id":127370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4021"} 
[2026-07-08 10:43:24] local.INFO: Extracted packet for processing {"connection_id":127370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4021"} 
[2026-07-08 10:43:24] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":7,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572688896001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:43:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783487367000,"timestamp_ms":1783487367000,"timestamp_seconds":1783487367,"priority":1,"record_length":96,"hex_timestamp":"0000019f40218758"} 
[2026-07-08 10:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:43:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 10:43:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":127370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":127370,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":127370,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:43:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572688896001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572688896001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:43:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572688896001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":127370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450345,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:43:24] local.INFO: GPS data processed {"connection_id":127370,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:43:24] local.INFO: Acknowledgment sent {"connection_id":127370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:43:34] local.INFO: TCP Data received {"connection_id":125366,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f4020a8b0012d7f980005afe3300000012628..."} 
[2026-07-08 10:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4020a8b0012d7f980005afe3300000012628..."} 
[2026-07-08 10:43:34] local.INFO: Processing buffer {"connection_id":125366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4020a8b0012d7f980005afe3300000012628..."} 
[2026-07-08 10:43:34] local.INFO: Packet analysis {"connection_id":125366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4020"} 
[2026-07-08 10:43:34] local.INFO: Extracted packet for processing {"connection_id":125366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4020"} 
[2026-07-08 10:43:34] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572674304001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783487310000,"timestamp_ms":1783487310000,"timestamp_seconds":1783487310,"priority":1,"record_length":96,"hex_timestamp":"0000019f4020a8b0"} 
[2026-07-08 10:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 10:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572674304001,"66":25582,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572674304001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:43:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:43:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572674304001,"power":25582,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":125366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:43:34] local.INFO: GPS data processed {"connection_id":125366,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:43:34] local.INFO: Acknowledgment sent {"connection_id":125366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:43:45] local.INFO: TCP Data received {"connection_id":126106,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126106,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:43:45] local.INFO: Processing buffer {"connection_id":126106,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:43:45] local.INFO: IMEI packet received {"connection_id":126106,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":126106,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:43:49] local.INFO: TCP Data received {"connection_id":127369,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40240fc8012d18bd00072154400027013f07..."} 
[2026-07-08 10:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40240fc8012d18bd00072154400027013f07..."} 
[2026-07-08 10:43:49] local.INFO: Processing buffer {"connection_id":127369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40240fc8012d18bd00072154400027013f07..."} 
[2026-07-08 10:43:49] local.INFO: Packet analysis {"connection_id":127369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4024"} 
[2026-07-08 10:43:49] local.INFO: Extracted packet for processing {"connection_id":127369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4024"} 
[2026-07-08 10:43:49] local.INFO: GPS Element Parsed {"raw_longitude":756595968,"raw_latitude":119624768,"longitude_deg":75.6595968,"latitude_deg":11.9624768,"altitude":39,"angle":319,"satellites":7,"speed":28,"hex_longitude":"2d18bd00","hex_latitude":"07215440","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572807936001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4682880152240128,"note":"Value kept but may cause issues"} 
[2026-07-08 10:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783566220550682624,"note":"Value kept but may cause issues"} 
[2026-07-08 10:43:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783487533000,"timestamp_ms":1783487533000,"timestamp_seconds":1783487533,"priority":1,"record_length":96,"hex_timestamp":"0000019f40240fc8"} 
[2026-07-08 10:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 10: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-08 10:43:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":127369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":127369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":127369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 10:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 10:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572807936001,"66":14298,"121":206,"28":31744,"24":28,"16":4682880152240128,"45":1783566220550682624},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 10:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 10:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 10:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572807936001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:43:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 10:43:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 10:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4682880152240128,"km_value":4682880152240.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783566220550682624,"description":"Unknown IO ID 45"} 
[2026-07-08 10:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572807936001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1783566220550682624}} 
[2026-07-08 10:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":127369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:43:49] local.INFO: GPS data processed {"connection_id":127369,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:43:49] local.INFO: Acknowledgment sent {"connection_id":127369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:43:50] local.INFO: TCP Data received {"connection_id":126106,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126106,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:43:50] local.INFO: Processing buffer {"connection_id":126106,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:43:50] local.INFO: IMEI packet received {"connection_id":126106,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":126106,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:43:52] local.INFO: TCP Data received {"connection_id":126106,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f40218758012d0b130007029fc00007013424..."} 
[2026-07-08 10:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40218758012d0b130007029fc00007013424..."} 
[2026-07-08 10:43:52] local.INFO: Processing buffer {"connection_id":126106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40218758012d0b130007029fc00007013424..."} 
[2026-07-08 10:43:52] local.INFO: Packet analysis {"connection_id":126106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4021"} 
[2026-07-08 10:43:52] local.INFO: Extracted packet for processing {"connection_id":126106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4021"} 
[2026-07-08 10:43:52] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":7,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572688896001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:43:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:43:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783487367000,"timestamp_ms":1783487367000,"timestamp_seconds":1783487367,"priority":1,"record_length":96,"hex_timestamp":"0000019f40218758"} 
[2026-07-08 10:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 10:43:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":126106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":126106,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":126106,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:43:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572688896001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572688896001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:43:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:43:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572688896001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":126106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450348,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:43:52] local.INFO: GPS data processed {"connection_id":126106,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:43:52] local.INFO: Acknowledgment sent {"connection_id":126106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:43:56] local.INFO: TCP Data received {"connection_id":127371,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:43:56] local.INFO: Processing buffer {"connection_id":127371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:43:56] local.INFO: IMEI packet received {"connection_id":127371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":127371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:44:01] local.INFO: TCP Data received {"connection_id":127371,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:44:01] local.INFO: Processing buffer {"connection_id":127371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:44:01] local.INFO: IMEI packet received {"connection_id":127371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":127371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:44:01] local.INFO: TCP Data received {"connection_id":127371,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4020a8b0012d7f980005afe3300000012628..."} 
[2026-07-08 10:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4020a8b0012d7f980005afe3300000012628..."} 
[2026-07-08 10:44:01] local.INFO: Processing buffer {"connection_id":127371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4020a8b0012d7f980005afe3300000012628..."} 
[2026-07-08 10:44:01] local.INFO: Packet analysis {"connection_id":127371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4020"} 
[2026-07-08 10:44:01] local.INFO: Extracted packet for processing {"connection_id":127371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4020"} 
[2026-07-08 10:44:01] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572674304001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783487310000,"timestamp_ms":1783487310000,"timestamp_seconds":1783487310,"priority":1,"record_length":96,"hex_timestamp":"0000019f4020a8b0"} 
[2026-07-08 10:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 10:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572674304001,"66":25582,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572674304001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:44:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:44:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572674304001,"power":25582,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":127371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:44:01] local.INFO: GPS data processed {"connection_id":127371,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:44:01] local.INFO: Acknowledgment sent {"connection_id":127371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:44:20] local.INFO: TCP Data received {"connection_id":127369,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40257ef8012d1833000721c0980017001e09..."} 
[2026-07-08 10:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40257ef8012d1833000721c0980017001e09..."} 
[2026-07-08 10:44:20] local.INFO: Processing buffer {"connection_id":127369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40257ef8012d1833000721c0980017001e09..."} 
[2026-07-08 10:44:20] local.INFO: Packet analysis {"connection_id":127369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4025"} 
[2026-07-08 10:44:20] local.INFO: Extracted packet for processing {"connection_id":127369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4025"} 
[2026-07-08 10:44:20] local.INFO: GPS Element Parsed {"raw_longitude":756560640,"raw_latitude":119652504,"longitude_deg":75.656064,"latitude_deg":11.9652504,"altitude":23,"angle":30,"satellites":9,"speed":28,"hex_longitude":"2d183300","hex_latitude":"0721c098","is_valid_coordinates":true} 
[2026-07-08 10:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572827648001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4685633226276864,"note":"Value kept but may cause issues"} 
[2026-07-08 10:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794082304,"note":"Value kept but may cause issues"} 
[2026-07-08 10:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783487627000,"timestamp_ms":1783487627000,"timestamp_seconds":1783487627,"priority":1,"record_length":96,"hex_timestamp":"0000019f40257ef8"} 
[2026-07-08 10:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 10:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 10:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":127369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":127369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":127369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 10:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 10:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572827648001,"66":14494,"120":206,"28":31744,"24":28,"16":4685633226276864,"45":1738389486794082304},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 10:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 10:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 10:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572827648001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:44:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 10:44:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 10:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4685633226276864,"km_value":4685633226276.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794082304,"description":"Unknown IO ID 45"} 
[2026-07-08 10:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572827648001,"power":14494,"unknown_120":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1738389486794082304}} 
[2026-07-08 10:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":127369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:44:21] local.INFO: GPS data processed {"connection_id":127369,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:44:21] local.INFO: Acknowledgment sent {"connection_id":127369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:44:23] local.INFO: TCP Data received {"connection_id":126106,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f40218758012d0b130007029fc00007013424..."} 
[2026-07-08 10:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40218758012d0b130007029fc00007013424..."} 
[2026-07-08 10:44:23] local.INFO: Processing buffer {"connection_id":126106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40218758012d0b130007029fc00007013424..."} 
[2026-07-08 10:44:23] local.INFO: Packet analysis {"connection_id":126106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4021"} 
[2026-07-08 10:44:23] local.INFO: Extracted packet for processing {"connection_id":126106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4021"} 
[2026-07-08 10:44:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":7,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572688896001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783487367000,"timestamp_ms":1783487367000,"timestamp_seconds":1783487367,"priority":1,"record_length":96,"hex_timestamp":"0000019f40218758"} 
[2026-07-08 10:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:44:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 10:44:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:44:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":126106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":126106,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":126106,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572688896001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572688896001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:44:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572688896001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":126106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450351,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:44:23] local.INFO: GPS data processed {"connection_id":126106,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:44:23] local.INFO: Acknowledgment sent {"connection_id":126106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:44:40] local.INFO: TCP Data received {"connection_id":127371,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f40254078012d7f980005afe330000001262e..."} 
[2026-07-08 10:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40254078012d7f980005afe330000001262e..."} 
[2026-07-08 10:44:40] local.INFO: Processing buffer {"connection_id":127371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40254078012d7f980005afe330000001262e..."} 
[2026-07-08 10:44:40] local.INFO: Packet analysis {"connection_id":127371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4025"} 
[2026-07-08 10:44:40] local.INFO: Extracted packet for processing {"connection_id":127371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4025"} 
[2026-07-08 10:44:40] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":46,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572751360001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783487611000,"timestamp_ms":1783487611000,"timestamp_seconds":1783487611,"priority":1,"record_length":96,"hex_timestamp":"0000019f40254078"} 
[2026-07-08 10:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 10:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:44:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":127371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":127371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":127371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572751360001,"66":25582,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572751360001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:44:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:44:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572751360001,"power":25582,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":127371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:44:40] local.INFO: GPS data processed {"connection_id":127371,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:44:40] local.INFO: Acknowledgment sent {"connection_id":127371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:44:50] local.INFO: TCP Data received {"connection_id":125266,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125266,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:44:50] local.INFO: Processing buffer {"connection_id":125266,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:44:50] local.INFO: IMEI packet received {"connection_id":125266,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":125266,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:44:56] local.INFO: TCP Data received {"connection_id":125267,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:44:56] local.INFO: Processing buffer {"connection_id":125267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:44:56] local.INFO: IMEI packet received {"connection_id":125267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":125267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:44:59] local.INFO: TCP Data received {"connection_id":125266,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125266,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:44:59] local.INFO: Processing buffer {"connection_id":125266,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:44:59] local.INFO: IMEI packet received {"connection_id":125266,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":125266,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:45:01] local.INFO: TCP Data received {"connection_id":125267,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:45:01] local.INFO: Processing buffer {"connection_id":125267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:45:01] local.INFO: IMEI packet received {"connection_id":125267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":125267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:45:01] local.INFO: TCP Data received {"connection_id":125268,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:45:01] local.INFO: Processing buffer {"connection_id":125268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:45:01] local.INFO: IMEI packet received {"connection_id":125268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 10:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":125268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:45:02] local.INFO: TCP Data received {"connection_id":125267,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40254078012d7f980005afe330000001262e..."} 
[2026-07-08 10:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40254078012d7f980005afe330000001262e..."} 
[2026-07-08 10:45:02] local.INFO: Processing buffer {"connection_id":125267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40254078012d7f980005afe330000001262e..."} 
[2026-07-08 10:45:02] local.INFO: Packet analysis {"connection_id":125267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4025"} 
[2026-07-08 10:45:02] local.INFO: Extracted packet for processing {"connection_id":125267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4025"} 
[2026-07-08 10:45:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":46,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572751360001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783487611000,"timestamp_ms":1783487611000,"timestamp_seconds":1783487611,"priority":1,"record_length":96,"hex_timestamp":"0000019f40254078"} 
[2026-07-08 10:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 10:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572751360001,"66":25582,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572751360001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:45:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:45:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572751360001,"power":25582,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":125267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:45:02] local.INFO: GPS data processed {"connection_id":125267,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:45:02] local.INFO: Acknowledgment sent {"connection_id":125267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:45:02] local.INFO: TCP Data received {"connection_id":125266,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40261f20012d0b130007029fc00002013426..."} 
[2026-07-08 10:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40261f20012d0b130007029fc00002013426..."} 
[2026-07-08 10:45:02] local.INFO: Processing buffer {"connection_id":125266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40261f20012d0b130007029fc00002013426..."} 
[2026-07-08 10:45:02] local.INFO: Packet analysis {"connection_id":125266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4026"} 
[2026-07-08 10:45:02] local.INFO: Extracted packet for processing {"connection_id":125266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4026"} 
[2026-07-08 10:45:02] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572765952001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10: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-07-08 10:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783487668000,"timestamp_ms":1783487668000,"timestamp_seconds":1783487668,"priority":1,"record_length":96,"hex_timestamp":"0000019f40261f20"} 
[2026-07-08 10:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":101,"data_length":795,"current_offset":136} 
[2026-07-08 10:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125266,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125266,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572765952001,"66":12689,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572765952001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:45:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572765952001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":125266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450354,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:45:02] local.INFO: GPS data processed {"connection_id":125266,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:45:02] local.INFO: Acknowledgment sent {"connection_id":125266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:45:06] local.INFO: TCP Data received {"connection_id":125268,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:45:06] local.INFO: Processing buffer {"connection_id":125268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:45:06] local.INFO: IMEI packet received {"connection_id":125268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 10:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":125268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:45:07] local.INFO: TCP Data received {"connection_id":125268,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4025add8012d1847000721df88001a002009..."} 
[2026-07-08 10:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4025add8012d1847000721df88001a002009..."} 
[2026-07-08 10:45:07] local.INFO: Processing buffer {"connection_id":125268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4025add8012d1847000721df88001a002009..."} 
[2026-07-08 10:45:07] local.INFO: Packet analysis {"connection_id":125268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4025"} 
[2026-07-08 10:45:07] local.INFO: Extracted packet for processing {"connection_id":125268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4025"} 
[2026-07-08 10:45:07] local.INFO: GPS Element Parsed {"raw_longitude":756565760,"raw_latitude":119660424,"longitude_deg":75.656576,"latitude_deg":11.9660424,"altitude":26,"angle":32,"satellites":9,"speed":30,"hex_longitude":"2d184700","hex_latitude":"0721df88","is_valid_coordinates":true} 
[2026-07-08 10:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572832512001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4686088492810240,"note":"Value kept but may cause issues"} 
[2026-07-08 10:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743737511353554944,"note":"Value kept but may cause issues"} 
[2026-07-08 10:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783487639000,"timestamp_ms":1783487639000,"timestamp_seconds":1783487639,"priority":1,"record_length":96,"hex_timestamp":"0000019f4025add8"} 
[2026-07-08 10:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":158,"data_length":795,"current_offset":136} 
[2026-07-08 10:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 10:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 10:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572832512001,"66":14374,"120":206,"28":31744,"24":30,"16":4686088492810240,"45":1743737511353554944},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 10:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 10:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 10:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572832512001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:45:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 10:45:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 10:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4686088492810240,"km_value":4686088492810.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743737511353554944,"description":"Unknown IO ID 45"} 
[2026-07-08 10:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572832512001,"power":14374,"unknown_120":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1743737511353554944}} 
[2026-07-08 10:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":125268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:45:07] local.INFO: GPS data processed {"connection_id":125268,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:45:07] local.INFO: Acknowledgment sent {"connection_id":125268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:45:08] local.INFO: TCP Data received {"connection_id":125268,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4025d8d0012d1859000721ff30003200220a..."} 
[2026-07-08 10:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4025d8d0012d1859000721ff30003200220a..."} 
[2026-07-08 10:45:08] local.INFO: Processing buffer {"connection_id":125268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4025d8d0012d1859000721ff30003200220a..."} 
[2026-07-08 10:45:08] local.INFO: Packet analysis {"connection_id":125268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4025"} 
[2026-07-08 10:45:08] local.INFO: Extracted packet for processing {"connection_id":125268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4025"} 
[2026-07-08 10:45:08] local.INFO: GPS Element Parsed {"raw_longitude":756570368,"raw_latitude":119668528,"longitude_deg":75.6570368,"latitude_deg":11.9668528,"altitude":50,"angle":34,"satellites":10,"speed":27,"hex_longitude":"2d185900","hex_latitude":"0721ff30","is_valid_coordinates":true} 
[2026-07-08 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-07-08 10:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572835584001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4686539464376320,"note":"Value kept but may cause issues"} 
[2026-07-08 10:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749367010889795584,"note":"Value kept but may cause issues"} 
[2026-07-08 10:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783487650000,"timestamp_ms":1783487650000,"timestamp_seconds":1783487650,"priority":1,"record_length":96,"hex_timestamp":"0000019f4025d8d0"} 
[2026-07-08 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-07-08 10:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":38,"data_length":795,"current_offset":136} 
[2026-07-08 10:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 10:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 10:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 10:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572835584001,"66":13993,"120":206,"28":31744,"24":27,"16":4686539464376320,"45":1749367010889795584},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 10:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 10:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 10:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572835584001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:45:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 10:45:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 10:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4686539464376320,"km_value":4686539464376.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749367010889795584,"description":"Unknown IO ID 45"} 
[2026-07-08 10:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572835584001,"power":13993,"unknown_120":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1749367010889795584}} 
[2026-07-08 10:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":125268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:45:08] local.INFO: GPS data processed {"connection_id":125268,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:45:08] local.INFO: Acknowledgment sent {"connection_id":125268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:45:20] local.INFO: TCP Data received {"connection_id":125368,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125368,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:45:20] local.INFO: Processing buffer {"connection_id":125368,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:45:20] local.INFO: IMEI packet received {"connection_id":125368,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 10:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":125368,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:45:33] local.INFO: TCP Data received {"connection_id":125267,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40254078012d7f980005afe330000001262e..."} 
[2026-07-08 10:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40254078012d7f980005afe330000001262e..."} 
[2026-07-08 10:45:33] local.INFO: Processing buffer {"connection_id":125267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40254078012d7f980005afe330000001262e..."} 
[2026-07-08 10:45:33] local.INFO: Packet analysis {"connection_id":125267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4025"} 
[2026-07-08 10:45:33] local.INFO: Extracted packet for processing {"connection_id":125267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4025"} 
[2026-07-08 10:45:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":46,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572751360001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783487611000,"timestamp_ms":1783487611000,"timestamp_seconds":1783487611,"priority":1,"record_length":96,"hex_timestamp":"0000019f40254078"} 
[2026-07-08 10:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 10:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572751360001,"66":25582,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572751360001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:45:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:45:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572751360001,"power":25582,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":125267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:45:33] local.INFO: GPS data processed {"connection_id":125267,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:45:33] local.INFO: Acknowledgment sent {"connection_id":125267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:45:40] local.INFO: TCP Data received {"connection_id":125268,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f402603c8012d186bc007221d98004100210a..."} 
[2026-07-08 10:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402603c8012d186bc007221d98004100210a..."} 
[2026-07-08 10:45:40] local.INFO: Processing buffer {"connection_id":125268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402603c8012d186bc007221d98004100210a..."} 
[2026-07-08 10:45:40] local.INFO: Packet analysis {"connection_id":125268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4026"} 
[2026-07-08 10:45:40] local.INFO: Extracted packet for processing {"connection_id":125268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4026"} 
[2026-07-08 10:45:40] local.INFO: GPS Element Parsed {"raw_longitude":756575168,"raw_latitude":119676312,"longitude_deg":75.6575168,"latitude_deg":11.9676312,"altitude":65,"angle":33,"satellites":10,"speed":28,"hex_longitude":"2d186bc0","hex_latitude":"07221d98","is_valid_coordinates":true} 
[2026-07-08 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-07-08 10:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572838400001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4686977551040512,"note":"Value kept but may cause issues"} 
[2026-07-08 10:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754433560472662016,"note":"Value kept but may cause issues"} 
[2026-07-08 10:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783487661000,"timestamp_ms":1783487661000,"timestamp_seconds":1783487661,"priority":1,"record_length":96,"hex_timestamp":"0000019f402603c8"} 
[2026-07-08 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-07-08 10:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 10:45:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 10:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 10:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 10:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572838400001,"66":14483,"120":206,"28":31744,"24":28,"16":4686977551040512,"45":1754433560472662016},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 10:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 10:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 10:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572838400001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:45:40] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 10:45:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 10:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4686977551040512,"km_value":4686977551040.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754433560472662016,"description":"Unknown IO ID 45"} 
[2026-07-08 10:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572838400001,"power":14483,"unknown_120":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1754433560472662016}} 
[2026-07-08 10:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":125268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:45:40] local.INFO: GPS data processed {"connection_id":125268,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:45:40] local.INFO: Acknowledgment sent {"connection_id":125268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:45:45] local.INFO: TCP Data received {"connection_id":127372,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127372,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:45:45] local.INFO: Processing buffer {"connection_id":127372,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:45:45] local.INFO: IMEI packet received {"connection_id":127372,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":127372,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:45:50] local.INFO: TCP Data received {"connection_id":127372,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127372,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:45:50] local.INFO: Processing buffer {"connection_id":127372,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:45:50] local.INFO: IMEI packet received {"connection_id":127372,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":127372,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:45:56] local.INFO: TCP Data received {"connection_id":126107,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:45:56] local.INFO: Processing buffer {"connection_id":126107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:45:56] local.INFO: IMEI packet received {"connection_id":126107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":126107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:45:57] local.INFO: TCP Data received {"connection_id":125369,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125369,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:45:57] local.INFO: Processing buffer {"connection_id":125369,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:45:57] local.INFO: IMEI packet received {"connection_id":125369,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 10:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":125369,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:45:58] local.INFO: TCP Data received {"connection_id":127372,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40261f20012d0b130007029fc00002013426..."} 
[2026-07-08 10:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40261f20012d0b130007029fc00002013426..."} 
[2026-07-08 10:45:58] local.INFO: Processing buffer {"connection_id":127372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40261f20012d0b130007029fc00002013426..."} 
[2026-07-08 10:45:58] local.INFO: Packet analysis {"connection_id":127372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4026"} 
[2026-07-08 10:45:58] local.INFO: Extracted packet for processing {"connection_id":127372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4026"} 
[2026-07-08 10:45:58] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572765952001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783487668000,"timestamp_ms":1783487668000,"timestamp_seconds":1783487668,"priority":1,"record_length":96,"hex_timestamp":"0000019f40261f20"} 
[2026-07-08 10:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 10:45:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":127372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":127372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":127372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572765952001,"66":12689,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572765952001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:45:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572765952001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":127372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450359,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:45:58] local.INFO: GPS data processed {"connection_id":127372,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:45:58] local.INFO: Acknowledgment sent {"connection_id":127372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:46:01] local.INFO: TCP Data received {"connection_id":127373,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:46:01] local.INFO: Processing buffer {"connection_id":127373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:46:01] local.INFO: IMEI packet received {"connection_id":127373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 10:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":127373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:46:01] local.INFO: TCP Data received {"connection_id":126107,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:46:01] local.INFO: Processing buffer {"connection_id":126107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:46:01] local.INFO: IMEI packet received {"connection_id":126107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":126107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:46:02] local.INFO: TCP Data received {"connection_id":126107,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40254078012d7f980005afe330000001262e..."} 
[2026-07-08 10:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40254078012d7f980005afe330000001262e..."} 
[2026-07-08 10:46:02] local.INFO: Processing buffer {"connection_id":126107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40254078012d7f980005afe330000001262e..."} 
[2026-07-08 10:46:02] local.INFO: Packet analysis {"connection_id":126107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4025"} 
[2026-07-08 10:46:02] local.INFO: Extracted packet for processing {"connection_id":126107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4025"} 
[2026-07-08 10:46:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":46,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572751360001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783487611000,"timestamp_ms":1783487611000,"timestamp_seconds":1783487611,"priority":1,"record_length":96,"hex_timestamp":"0000019f40254078"} 
[2026-07-08 10:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 10:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572751360001,"66":25582,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572751360001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:46:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:46:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572751360001,"power":25582,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":126107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:46:02] local.INFO: GPS data processed {"connection_id":126107,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:46:02] local.INFO: Acknowledgment sent {"connection_id":126107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:46:07] local.INFO: TCP Data received {"connection_id":127373,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:46:07] local.INFO: Processing buffer {"connection_id":127373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:46:07] local.INFO: IMEI packet received {"connection_id":127373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 10:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":127373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:46:08] local.INFO: TCP Data received {"connection_id":127373,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f402632a8012d187fc007223d00005600210b..."} 
[2026-07-08 10:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402632a8012d187fc007223d00005600210b..."} 
[2026-07-08 10:46:08] local.INFO: Processing buffer {"connection_id":127373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402632a8012d187fc007223d00005600210b..."} 
[2026-07-08 10:46:08] local.INFO: Packet analysis {"connection_id":127373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4026"} 
[2026-07-08 10:46:08] local.INFO: Extracted packet for processing {"connection_id":127373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4026"} 
[2026-07-08 10:46:08] local.INFO: GPS Element Parsed {"raw_longitude":756580288,"raw_latitude":119684352,"longitude_deg":75.6580288,"latitude_deg":11.9684352,"altitude":86,"angle":33,"satellites":11,"speed":25,"hex_longitude":"2d187fc0","hex_latitude":"07223d00","is_valid_coordinates":true} 
[2026-07-08 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-07-08 10:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572841216001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4687437112541184,"note":"Value kept but may cause issues"} 
[2026-07-08 10:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1759711216287979520,"note":"Value kept but may cause issues"} 
[2026-07-08 10:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783487673000,"timestamp_ms":1783487673000,"timestamp_seconds":1783487673,"priority":1,"record_length":96,"hex_timestamp":"0000019f402632a8"} 
[2026-07-08 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-07-08 10:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":147,"data_length":795,"current_offset":136} 
[2026-07-08 10:46:08] 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-07-08 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-07-08 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-07-08 10:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":127373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":127373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":127373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 10:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 10:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572841216001,"66":14548,"120":206,"28":31744,"24":25,"16":4687437112541184,"45":1759711216287979520},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 10:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 10:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 10:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572841216001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:46:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 10:46:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 10:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4687437112541184,"km_value":4687437112541.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1759711216287979520,"description":"Unknown IO ID 45"} 
[2026-07-08 10:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572841216001,"power":14548,"unknown_120":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1759711216287979520}} 
[2026-07-08 10:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":127373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:46:08] local.INFO: GPS data processed {"connection_id":127373,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:46:08] local.INFO: Acknowledgment sent {"connection_id":127373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:46:11] local.INFO: TCP Data received {"connection_id":127373,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40266d40012d18930007225b28006000200b..."} 
[2026-07-08 10:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40266d40012d18930007225b28006000200b..."} 
[2026-07-08 10:46:11] local.INFO: Processing buffer {"connection_id":127373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40266d40012d18930007225b28006000200b..."} 
[2026-07-08 10:46:11] local.INFO: Packet analysis {"connection_id":127373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4026"} 
[2026-07-08 10:46:11] local.INFO: Extracted packet for processing {"connection_id":127373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4026"} 
[2026-07-08 10:46:11] local.INFO: GPS Element Parsed {"raw_longitude":756585216,"raw_latitude":119692072,"longitude_deg":75.6585216,"latitude_deg":11.9692072,"altitude":96,"angle":32,"satellites":11,"speed":19,"hex_longitude":"2d189300","hex_latitude":"07225b28","is_valid_coordinates":true} 
[2026-07-08 10:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572844288001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4687879494172672,"note":"Value kept but may cause issues"} 
[2026-07-08 10:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765340715824250880,"note":"Value kept but may cause issues"} 
[2026-07-08 10:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783487688000,"timestamp_ms":1783487688000,"timestamp_seconds":1783487688,"priority":1,"record_length":96,"hex_timestamp":"0000019f40266d40"} 
[2026-07-08 10:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 10: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-08 10:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":127373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":127373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":127373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 10:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 10:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572844288001,"66":14515,"120":206,"28":31744,"24":19,"16":4687879494172672,"45":1765340715824250880},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 10:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 10:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 10:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572844288001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:46:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 10:46:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 10:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4687879494172672,"km_value":4687879494172.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765340715824250880,"description":"Unknown IO ID 45"} 
[2026-07-08 10:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572844288001,"power":14515,"unknown_120":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1765340715824250880}} 
[2026-07-08 10:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":127373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:46:12] local.INFO: GPS data processed {"connection_id":127373,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:46:12] local.INFO: Acknowledgment sent {"connection_id":127373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:46:29] local.INFO: TCP Data received {"connection_id":127372,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40261f20012d0b130007029fc00002013426..."} 
[2026-07-08 10:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40261f20012d0b130007029fc00002013426..."} 
[2026-07-08 10:46:29] local.INFO: Processing buffer {"connection_id":127372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40261f20012d0b130007029fc00002013426..."} 
[2026-07-08 10:46:29] local.INFO: Packet analysis {"connection_id":127372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4026"} 
[2026-07-08 10:46:29] local.INFO: Extracted packet for processing {"connection_id":127372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4026"} 
[2026-07-08 10:46:29] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572765952001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:46:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:46:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783487668000,"timestamp_ms":1783487668000,"timestamp_seconds":1783487668,"priority":1,"record_length":96,"hex_timestamp":"0000019f40261f20"} 
[2026-07-08 10:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:46:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 10:46:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:46:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":127372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":127372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":127372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:46:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572765952001,"66":12689,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572765952001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:46:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:46:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572765952001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":127372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450363,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:46:29] local.INFO: GPS data processed {"connection_id":127372,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:46:29] local.INFO: Acknowledgment sent {"connection_id":127372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:46:33] local.INFO: TCP Data received {"connection_id":126107,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40254078012d7f980005afe330000001262e..."} 
[2026-07-08 10:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40254078012d7f980005afe330000001262e..."} 
[2026-07-08 10:46:33] local.INFO: Processing buffer {"connection_id":126107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40254078012d7f980005afe330000001262e..."} 
[2026-07-08 10:46:33] local.INFO: Packet analysis {"connection_id":126107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4025"} 
[2026-07-08 10:46:33] local.INFO: Extracted packet for processing {"connection_id":126107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4025"} 
[2026-07-08 10:46:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":46,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572751360001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783487611000,"timestamp_ms":1783487611000,"timestamp_seconds":1783487611,"priority":1,"record_length":96,"hex_timestamp":"0000019f40254078"} 
[2026-07-08 10:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 10:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:46:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:46: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-07-08 10:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572751360001,"66":25582,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572751360001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:46:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:46:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572751360001,"power":25582,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":126107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:46:33] local.INFO: GPS data processed {"connection_id":126107,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:46:33] local.INFO: Acknowledgment sent {"connection_id":126107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:46:43] local.INFO: TCP Data received {"connection_id":127373,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4026abc0012d18a0c0072275c0006900150b..."} 
[2026-07-08 10:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4026abc0012d18a0c0072275c0006900150b..."} 
[2026-07-08 10:46:43] local.INFO: Processing buffer {"connection_id":127373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4026abc0012d18a0c0072275c0006900150b..."} 
[2026-07-08 10:46:43] local.INFO: Packet analysis {"connection_id":127373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4026"} 
[2026-07-08 10:46:43] local.INFO: Extracted packet for processing {"connection_id":127373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4026"} 
[2026-07-08 10:46:43] local.INFO: GPS Element Parsed {"raw_longitude":756588736,"raw_latitude":119698880,"longitude_deg":75.6588736,"latitude_deg":11.969888,"altitude":105,"angle":21,"satellites":11,"speed":17,"hex_longitude":"2d18a0c0","hex_latitude":"072275c0","is_valid_coordinates":true} 
[2026-07-08 10:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572848128001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4688253156327424,"note":"Value kept but may cause issues"} 
[2026-07-08 10:46:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1770759109127907328,"note":"Value kept but may cause issues"} 
[2026-07-08 10:46:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783487704000,"timestamp_ms":1783487704000,"timestamp_seconds":1783487704,"priority":1,"record_length":96,"hex_timestamp":"0000019f4026abc0"} 
[2026-07-08 10:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:46:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 10:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 10:46:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:46:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":127373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":127373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":127373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:46:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 10:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 10:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572848128001,"66":14396,"120":206,"28":31744,"24":17,"16":4688253156327424,"45":1770759109127907328},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 10:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 10:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 10:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572848128001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:46:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 10:46:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 10:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4688253156327424,"km_value":4688253156327.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:46:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1770759109127907328,"description":"Unknown IO ID 45"} 
[2026-07-08 10:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572848128001,"power":14396,"unknown_120":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1770759109127907328}} 
[2026-07-08 10:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":127373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:46:43] local.INFO: GPS data processed {"connection_id":127373,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:46:43] local.INFO: Acknowledgment sent {"connection_id":127373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:46:45] local.INFO: TCP Data received {"connection_id":125269,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125269,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:46:45] local.INFO: Processing buffer {"connection_id":125269,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:46:45] local.INFO: IMEI packet received {"connection_id":125269,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":125269,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:46:50] local.INFO: TCP Data received {"connection_id":125269,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125269,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:46:50] local.INFO: Processing buffer {"connection_id":125269,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:46:50] local.INFO: IMEI packet received {"connection_id":125269,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":125269,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:46:51] local.INFO: TCP Data received {"connection_id":125269,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40261f20012d0b130007029fc00002013426..."} 
[2026-07-08 10:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40261f20012d0b130007029fc00002013426..."} 
[2026-07-08 10:46:51] local.INFO: Processing buffer {"connection_id":125269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40261f20012d0b130007029fc00002013426..."} 
[2026-07-08 10:46:51] local.INFO: Packet analysis {"connection_id":125269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4026"} 
[2026-07-08 10:46:51] local.INFO: Extracted packet for processing {"connection_id":125269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4026"} 
[2026-07-08 10:46:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572765952001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783487668000,"timestamp_ms":1783487668000,"timestamp_seconds":1783487668,"priority":1,"record_length":96,"hex_timestamp":"0000019f40261f20"} 
[2026-07-08 10:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:46: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-07-08 10:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 10:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:46:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125269,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125269,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572765952001,"66":12689,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572765952001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:46:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572765952001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":125269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450366,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:46:51] local.INFO: GPS data processed {"connection_id":125269,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:46:51] local.INFO: Acknowledgment sent {"connection_id":125269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:47:00] local.INFO: TCP Data received {"connection_id":125372,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:47:00] local.INFO: Processing buffer {"connection_id":125372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:47:00] local.INFO: IMEI packet received {"connection_id":125372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 10:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":125372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:47:01] local.INFO: TCP Data received {"connection_id":125370,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:47:01] local.INFO: Processing buffer {"connection_id":125370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:47:01] local.INFO: IMEI packet received {"connection_id":125370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":125370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:47:06] local.INFO: TCP Data received {"connection_id":125370,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:47:06] local.INFO: Processing buffer {"connection_id":125370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:47:06] local.INFO: IMEI packet received {"connection_id":125370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":125370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:47:06] local.INFO: TCP Data received {"connection_id":125372,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:47:06] local.INFO: Processing buffer {"connection_id":125372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:47:06] local.INFO: IMEI packet received {"connection_id":125372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 10:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":125372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:47:07] local.INFO: TCP Data received {"connection_id":125370,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40254078012d7f980005afe330000001262e..."} 
[2026-07-08 10:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40254078012d7f980005afe330000001262e..."} 
[2026-07-08 10:47:07] local.INFO: Processing buffer {"connection_id":125370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40254078012d7f980005afe330000001262e..."} 
[2026-07-08 10:47:07] local.INFO: Packet analysis {"connection_id":125370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4025"} 
[2026-07-08 10:47:07] local.INFO: Extracted packet for processing {"connection_id":125370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4025"} 
[2026-07-08 10:47:07] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":46,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572751360001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783487611000,"timestamp_ms":1783487611000,"timestamp_seconds":1783487611,"priority":1,"record_length":96,"hex_timestamp":"0000019f40254078"} 
[2026-07-08 10:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 10:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572751360001,"66":25582,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572751360001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:47:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:47:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572751360001,"power":25582,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":125370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:47:07] local.INFO: GPS data processed {"connection_id":125370,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:47:07] local.INFO: Acknowledgment sent {"connection_id":125370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:47:07] local.INFO: TCP Data received {"connection_id":125372,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4027e058012d18afc00722e8680061012710..."} 
[2026-07-08 10:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4027e058012d18afc00722e8680061012710..."} 
[2026-07-08 10:47:07] local.INFO: Processing buffer {"connection_id":125372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4027e058012d18afc00722e8680061012710..."} 
[2026-07-08 10:47:07] local.INFO: Packet analysis {"connection_id":125372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4027"} 
[2026-07-08 10:47:07] local.INFO: Extracted packet for processing {"connection_id":125372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4027"} 
[2026-07-08 10:47:07] local.INFO: GPS Element Parsed {"raw_longitude":756592576,"raw_latitude":119728232,"longitude_deg":75.6592576,"latitude_deg":11.9728232,"altitude":97,"angle":295,"satellites":16,"speed":1,"hex_longitude":"2d18afc0","hex_latitude":"0722e868","is_valid_coordinates":true} 
[2026-07-08 10:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572870400001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4689747804946432,"note":"Value kept but may cause issues"} 
[2026-07-08 10:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778992252205926400,"note":"Value kept but may cause issues"} 
[2026-07-08 10:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783487783000,"timestamp_ms":1783487783000,"timestamp_seconds":1783487783,"priority":1,"record_length":96,"hex_timestamp":"0000019f4027e058"} 
[2026-07-08 10:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 10:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-08 10:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 10:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 10:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572870400001,"66":12558,"112":206,"28":31744,"24":1,"16":4689747804946432,"45":1778992252205926400},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 10:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 10:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 10:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572870400001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:47:07] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 10:47:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 10:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4689747804946432,"km_value":4689747804946.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778992252205926400,"description":"Unknown IO ID 45"} 
[2026-07-08 10:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572870400001,"power":12558,"unknown_112":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1778992252205926400}} 
[2026-07-08 10:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":125372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:47:07] local.INFO: GPS data processed {"connection_id":125372,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:47:07] local.INFO: Acknowledgment sent {"connection_id":125372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:47:11] local.INFO: TCP Data received {"connection_id":125370,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40254078012d7f980005afe330000001262e..."} 
[2026-07-08 10:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40254078012d7f980005afe330000001262e..."} 
[2026-07-08 10:47:11] local.INFO: Processing buffer {"connection_id":125370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40254078012d7f980005afe330000001262e..."} 
[2026-07-08 10:47:11] local.INFO: Packet analysis {"connection_id":125370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4025"} 
[2026-07-08 10:47:11] local.INFO: Extracted packet for processing {"connection_id":125370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4025"} 
[2026-07-08 10:47:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":46,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572751360001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783487611000,"timestamp_ms":1783487611000,"timestamp_seconds":1783487611,"priority":1,"record_length":96,"hex_timestamp":"0000019f40254078"} 
[2026-07-08 10:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":238,"data_length":795,"current_offset":136} 
[2026-07-08 10:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572751360001,"66":25582,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572751360001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:47:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:47:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572751360001,"power":25582,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":125370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:47:11] local.INFO: GPS data processed {"connection_id":125370,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:47:11] local.INFO: Acknowledgment sent {"connection_id":125370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:47:22] local.INFO: TCP Data received {"connection_id":125269,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40261f20012d0b130007029fc00002013426..."} 
[2026-07-08 10:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40261f20012d0b130007029fc00002013426..."} 
[2026-07-08 10:47:22] local.INFO: Processing buffer {"connection_id":125269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40261f20012d0b130007029fc00002013426..."} 
[2026-07-08 10:47:22] local.INFO: Packet analysis {"connection_id":125269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4026"} 
[2026-07-08 10:47:22] local.INFO: Extracted packet for processing {"connection_id":125269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4026"} 
[2026-07-08 10:47:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572765952001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783487668000,"timestamp_ms":1783487668000,"timestamp_seconds":1783487668,"priority":1,"record_length":96,"hex_timestamp":"0000019f40261f20"} 
[2026-07-08 10:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 10:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125269,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125269,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572765952001,"66":12689,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572765952001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:47:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572765952001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":125269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450370,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:47:22] local.INFO: GPS data processed {"connection_id":125269,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:47:22] local.INFO: Acknowledgment sent {"connection_id":125269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:47:39] local.INFO: TCP Data received {"connection_id":125372,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40283260012d18afc00722e8a80061012a12..."} 
[2026-07-08 10:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40283260012d18afc00722e8a80061012a12..."} 
[2026-07-08 10:47:39] local.INFO: Processing buffer {"connection_id":125372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40283260012d18afc00722e8a80061012a12..."} 
[2026-07-08 10:47:39] local.INFO: Packet analysis {"connection_id":125372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4028"} 
[2026-07-08 10:47:39] local.INFO: Extracted packet for processing {"connection_id":125372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4028"} 
[2026-07-08 10:47:39] local.INFO: GPS Element Parsed {"raw_longitude":756592576,"raw_latitude":119728296,"longitude_deg":75.6592576,"latitude_deg":11.9728296,"altitude":97,"angle":298,"satellites":18,"speed":0,"hex_longitude":"2d18afc0","hex_latitude":"0722e8a8","is_valid_coordinates":true} 
[2026-07-08 10:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572872448001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4689764984815616,"note":"Value kept but may cause issues"} 
[2026-07-08 10:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778851514717595648,"note":"Value kept but may cause issues"} 
[2026-07-08 10:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783487804000,"timestamp_ms":1783487804000,"timestamp_seconds":1783487804,"priority":1,"record_length":96,"hex_timestamp":"0000019f40283260"} 
[2026-07-08 10:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:47:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 10:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-08 10:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-08 10:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2835546112,"note":"Value kept but may cause issues"} 
[2026-07-08 10:47:39] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-07-08 10:47:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249523877761697008,"note":"Value kept but may cause issues"} 
[2026-07-08 10:47:39] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3835166820,"note":"Value kept but may cause issues"} 
[2026-07-08 10:47:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-08 10:47:39] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2415996184,"note":"Value kept but may cause issues"} 
[2026-07-08 10:47:39] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743975,"note":"Value kept but may cause issues"} 
[2026-07-08 10:47:39] local.WARNING: Large IO value detected {"io_id":35,"raw_value":563985040580120,"note":"Value kept but may cause issues"} 
[2026-07-08 10:47:39] local.WARNING: Large IO value detected {"io_id":21,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-08 10:47:39] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633255809026,"note":"Value kept but may cause issues"} 
[2026-07-08 10:47:39] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,112,28,24,241,158,16,169,159,193,45,64,232,99,15,10,66,111,231,13,103,1,240,34,4,113,205,9,48,165,12,239,53,120,2,7,35,21,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-08 10:47:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6989911046328745984,"timestamp_seconds":6989911046328746.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 10:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:47:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 10:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 10:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572872448001,"66":12613,"112":206,"28":31744,"24":0,"16":4689764984815616,"45":1778851514717595648},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 10:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 10:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 10:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572872448001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:47:39] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 10:47:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 10:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4689764984815616,"km_value":4689764984815.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778851514717595648,"description":"Unknown IO ID 45"} 
[2026-07-08 10:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572872448001,"power":12613,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778851514717595648}} 
[2026-07-08 10:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":125372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:47:39] local.INFO: GPS data processed {"connection_id":125372,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:47:39] local.INFO: Acknowledgment sent {"connection_id":125372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:47:45] local.INFO: TCP Data received {"connection_id":126108,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126108,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:47:45] local.INFO: Processing buffer {"connection_id":126108,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:47:45] local.INFO: IMEI packet received {"connection_id":126108,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":126108,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:47:51] local.INFO: TCP Data received {"connection_id":126108,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126108,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:47:51] local.INFO: Processing buffer {"connection_id":126108,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:47:51] local.INFO: IMEI packet received {"connection_id":126108,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":126108,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:47:56] local.INFO: TCP Data received {"connection_id":126109,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:47:56] local.INFO: Processing buffer {"connection_id":126109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:47:56] local.INFO: IMEI packet received {"connection_id":126109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":126109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:47:57] local.INFO: TCP Data received {"connection_id":126108,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f40261f20012d0b130007029fc00002013426..."} 
[2026-07-08 10:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40261f20012d0b130007029fc00002013426..."} 
[2026-07-08 10:47:57] local.INFO: Processing buffer {"connection_id":126108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40261f20012d0b130007029fc00002013426..."} 
[2026-07-08 10:47:57] local.INFO: Packet analysis {"connection_id":126108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4026"} 
[2026-07-08 10:47:57] local.INFO: Extracted packet for processing {"connection_id":126108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4026"} 
[2026-07-08 10:47:57] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572765952001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:47:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783487668000,"timestamp_ms":1783487668000,"timestamp_seconds":1783487668,"priority":1,"record_length":96,"hex_timestamp":"0000019f40261f20"} 
[2026-07-08 10:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:47:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 10:47:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:47:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":126108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":126108,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":126108,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:47:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572765952001,"66":12689,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572765952001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:47:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572765952001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":126108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450372,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:47:57] local.INFO: GPS data processed {"connection_id":126108,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:47:57] local.INFO: Acknowledgment sent {"connection_id":126108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:48:00] local.INFO: TCP Data received {"connection_id":127374,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:48:00] local.INFO: Processing buffer {"connection_id":127374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:48:00] local.INFO: IMEI packet received {"connection_id":127374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 10:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":127374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:48:02] local.INFO: TCP Data received {"connection_id":126109,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:48:02] local.INFO: Processing buffer {"connection_id":126109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:48:02] local.INFO: IMEI packet received {"connection_id":126109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":126109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:48:03] local.INFO: TCP Data received {"connection_id":126109,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f40254078012d7f980005afe330000001262e..."} 
[2026-07-08 10:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40254078012d7f980005afe330000001262e..."} 
[2026-07-08 10:48:03] local.INFO: Processing buffer {"connection_id":126109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40254078012d7f980005afe330000001262e..."} 
[2026-07-08 10:48:03] local.INFO: Packet analysis {"connection_id":126109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4025"} 
[2026-07-08 10:48:03] local.INFO: Extracted packet for processing {"connection_id":126109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4025"} 
[2026-07-08 10:48:03] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":46,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 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-07-08 10:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572751360001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783487611000,"timestamp_ms":1783487611000,"timestamp_seconds":1783487611,"priority":1,"record_length":96,"hex_timestamp":"0000019f40254078"} 
[2026-07-08 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-07-08 10:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 10:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 10:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572751360001,"66":25582,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572751360001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:48:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:48:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572751360001,"power":25582,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":126109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:48:03] local.INFO: GPS data processed {"connection_id":126109,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:48:03] local.INFO: Acknowledgment sent {"connection_id":126109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:48:06] local.INFO: TCP Data received {"connection_id":127374,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:48:06] local.INFO: Processing buffer {"connection_id":127374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:48:06] local.INFO: IMEI packet received {"connection_id":127374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 10:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":127374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:48:11] local.INFO: TCP Data received {"connection_id":127374,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40283648012d18af800722e9580061000413..."} 
[2026-07-08 10:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40283648012d18af800722e9580061000413..."} 
[2026-07-08 10:48:11] local.INFO: Processing buffer {"connection_id":127374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40283648012d18af800722e9580061000413..."} 
[2026-07-08 10:48:11] local.INFO: Packet analysis {"connection_id":127374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4028"} 
[2026-07-08 10:48:11] local.INFO: Extracted packet for processing {"connection_id":127374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4028"} 
[2026-07-08 10:48:11] local.INFO: GPS Element Parsed {"raw_longitude":756592512,"raw_latitude":119728472,"longitude_deg":75.6592512,"latitude_deg":11.9728472,"altitude":97,"angle":4,"satellites":19,"speed":2,"hex_longitude":"2d18af80","hex_latitude":"0722e958","is_valid_coordinates":true} 
[2026-07-08 10:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572877824001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4689773574750208,"note":"Value kept but may cause issues"} 
[2026-07-08 10:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778851514717612032,"note":"Value kept but may cause issues"} 
[2026-07-08 10:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783487805000,"timestamp_ms":1783487805000,"timestamp_seconds":1783487805,"priority":1,"record_length":96,"hex_timestamp":"0000019f40283648"} 
[2026-07-08 10:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 10:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 10:48:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":127374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":127374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":127374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 10:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 10:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572877824001,"66":12613,"112":206,"28":31744,"24":2,"16":4689773574750208,"45":1778851514717612032},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 10:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 10:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 10:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572877824001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:48:11] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 10:48:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 10:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4689773574750208,"km_value":4689773574750.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778851514717612032,"description":"Unknown IO ID 45"} 
[2026-07-08 10:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572877824001,"power":12613,"unknown_112":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1778851514717612032}} 
[2026-07-08 10:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":127374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:48:11] local.INFO: GPS data processed {"connection_id":127374,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:48:11] local.INFO: Acknowledgment sent {"connection_id":127374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:48:32] local.INFO: TCP Data received {"connection_id":126108,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f40261f20012d0b130007029fc00002013426..."} 
[2026-07-08 10:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40261f20012d0b130007029fc00002013426..."} 
[2026-07-08 10:48:32] local.INFO: Processing buffer {"connection_id":126108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40261f20012d0b130007029fc00002013426..."} 
[2026-07-08 10:48:32] local.INFO: Packet analysis {"connection_id":126108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4026"} 
[2026-07-08 10:48:32] local.INFO: Extracted packet for processing {"connection_id":126108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4026"} 
[2026-07-08 10:48:32] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572765952001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783487668000,"timestamp_ms":1783487668000,"timestamp_seconds":1783487668,"priority":1,"record_length":96,"hex_timestamp":"0000019f40261f20"} 
[2026-07-08 10:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 10:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126108,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126108,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572765952001,"66":12689,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572765952001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:48:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572765952001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":126108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450375,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:48:32] local.INFO: GPS data processed {"connection_id":126108,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:48:32] local.INFO: Acknowledgment sent {"connection_id":126108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:48:34] local.INFO: TCP Data received {"connection_id":126109,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f40254078012d7f980005afe330000001262e..."} 
[2026-07-08 10:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40254078012d7f980005afe330000001262e..."} 
[2026-07-08 10:48:34] local.INFO: Processing buffer {"connection_id":126109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40254078012d7f980005afe330000001262e..."} 
[2026-07-08 10:48:34] local.INFO: Packet analysis {"connection_id":126109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4025"} 
[2026-07-08 10:48:34] local.INFO: Extracted packet for processing {"connection_id":126109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4025"} 
[2026-07-08 10:48:34] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":46,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 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-07-08 10:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572751360001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783487611000,"timestamp_ms":1783487611000,"timestamp_seconds":1783487611,"priority":1,"record_length":96,"hex_timestamp":"0000019f40254078"} 
[2026-07-08 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-07-08 10:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 10:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 10:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572751360001,"66":25582,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572751360001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:48:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:48:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572751360001,"power":25582,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":126109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:48:34] local.INFO: GPS data processed {"connection_id":126109,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:48:34] local.INFO: Acknowledgment sent {"connection_id":126109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:48:43] local.INFO: TCP Data received {"connection_id":127374,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40288850012d18afc00722e9880061000a13..."} 
[2026-07-08 10:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40288850012d18afc00722e9880061000a13..."} 
[2026-07-08 10:48:43] local.INFO: Processing buffer {"connection_id":127374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40288850012d18afc00722e9880061000a13..."} 
[2026-07-08 10:48:43] local.INFO: Packet analysis {"connection_id":127374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4028"} 
[2026-07-08 10:48:43] local.INFO: Extracted packet for processing {"connection_id":127374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4028"} 
[2026-07-08 10:48:43] local.INFO: GPS Element Parsed {"raw_longitude":756592576,"raw_latitude":119728520,"longitude_deg":75.6592576,"latitude_deg":11.972852,"altitude":97,"angle":10,"satellites":19,"speed":0,"hex_longitude":"2d18afc0","hex_latitude":"0722e988","is_valid_coordinates":true} 
[2026-07-08 10:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572878080001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4689777869717504,"note":"Value kept but may cause issues"} 
[2026-07-08 10:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778781145973479424,"note":"Value kept but may cause issues"} 
[2026-07-08 10:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783487826000,"timestamp_ms":1783487826000,"timestamp_seconds":1783487826,"priority":1,"record_length":96,"hex_timestamp":"0000019f40288850"} 
[2026-07-08 10:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:48:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 10:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 10:48:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:48:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":127374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":127374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":127374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 10:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 10:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572878080001,"66":12689,"112":206,"28":31744,"24":0,"16":4689777869717504,"45":1778781145973479424},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 10:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 10:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 10:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572878080001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:48:43] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 10:48:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 10:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4689777869717504,"km_value":4689777869717.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778781145973479424,"description":"Unknown IO ID 45"} 
[2026-07-08 10:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572878080001,"power":12689,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778781145973479424}} 
[2026-07-08 10:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":127374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:48:43] local.INFO: GPS data processed {"connection_id":127374,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:48:43] local.INFO: Acknowledgment sent {"connection_id":127374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:48:50] local.INFO: TCP Data received {"connection_id":126111,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126111,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:48:50] local.INFO: Processing buffer {"connection_id":126111,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:48:50] local.INFO: IMEI packet received {"connection_id":126111,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":126111,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:48:55] local.INFO: TCP Data received {"connection_id":126111,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126111,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:48:55] local.INFO: Processing buffer {"connection_id":126111,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:48:55] local.INFO: IMEI packet received {"connection_id":126111,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":126111,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:48:56] local.INFO: TCP Data received {"connection_id":126111,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f40261f20012d0b130007029fc00002013426..."} 
[2026-07-08 10:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40261f20012d0b130007029fc00002013426..."} 
[2026-07-08 10:48:56] local.INFO: Processing buffer {"connection_id":126111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40261f20012d0b130007029fc00002013426..."} 
[2026-07-08 10:48:56] local.INFO: Packet analysis {"connection_id":126111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4026"} 
[2026-07-08 10:48:56] local.INFO: Extracted packet for processing {"connection_id":126111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4026"} 
[2026-07-08 10:48:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572765952001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783487668000,"timestamp_ms":1783487668000,"timestamp_seconds":1783487668,"priority":1,"record_length":96,"hex_timestamp":"0000019f40261f20"} 
[2026-07-08 10:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 10:48:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:48:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":126111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":126111,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":126111,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572765952001,"66":12689,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572765952001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:48:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572765952001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":126111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450378,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:48:56] local.INFO: GPS data processed {"connection_id":126111,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:48:56] local.INFO: Acknowledgment sent {"connection_id":126111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:48:56] local.INFO: TCP Data received {"connection_id":125373,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:48:56] local.INFO: Processing buffer {"connection_id":125373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:48:56] local.INFO: IMEI packet received {"connection_id":125373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":125373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:49:00] local.INFO: TCP Data received {"connection_id":125374,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:49:00] local.INFO: Processing buffer {"connection_id":125374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:49:00] local.INFO: IMEI packet received {"connection_id":125374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 10:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":125374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:49:01] local.INFO: TCP Data received {"connection_id":126111,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f40261f20012d0b130007029fc00002013426..."} 
[2026-07-08 10:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40261f20012d0b130007029fc00002013426..."} 
[2026-07-08 10:49:01] local.INFO: Processing buffer {"connection_id":126111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40261f20012d0b130007029fc00002013426..."} 
[2026-07-08 10:49:01] local.INFO: Packet analysis {"connection_id":126111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4026"} 
[2026-07-08 10:49:01] local.INFO: Extracted packet for processing {"connection_id":126111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4026"} 
[2026-07-08 10:49:01] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572765952001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:49: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-07-08 10:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783487668000,"timestamp_ms":1783487668000,"timestamp_seconds":1783487668,"priority":1,"record_length":96,"hex_timestamp":"0000019f40261f20"} 
[2026-07-08 10:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 10:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126111,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126111,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572765952001,"66":12689,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572765952001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:49:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572765952001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":126111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450379,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:49:01] local.INFO: GPS data processed {"connection_id":126111,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:49:01] local.INFO: Acknowledgment sent {"connection_id":126111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:49:01] local.INFO: TCP Data received {"connection_id":125373,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:49:01] local.INFO: Processing buffer {"connection_id":125373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:49:01] local.INFO: IMEI packet received {"connection_id":125373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":125373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:49:02] local.INFO: TCP Data received {"connection_id":125373,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f40254078012d7f980005afe330000001262e..."} 
[2026-07-08 10:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40254078012d7f980005afe330000001262e..."} 
[2026-07-08 10:49:02] local.INFO: Processing buffer {"connection_id":125373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40254078012d7f980005afe330000001262e..."} 
[2026-07-08 10:49:02] local.INFO: Packet analysis {"connection_id":125373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4025"} 
[2026-07-08 10:49:02] local.INFO: Extracted packet for processing {"connection_id":125373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4025"} 
[2026-07-08 10:49:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":46,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572751360001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:49:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783487611000,"timestamp_ms":1783487611000,"timestamp_seconds":1783487611,"priority":1,"record_length":96,"hex_timestamp":"0000019f40254078"} 
[2026-07-08 10:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 10:49:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:49:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572751360001,"66":25582,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572751360001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:49:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:49:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572751360001,"power":25582,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":125373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:49:02] local.INFO: GPS data processed {"connection_id":125373,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:49:02] local.INFO: Acknowledgment sent {"connection_id":125373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:49:05] local.INFO: TCP Data received {"connection_id":125374,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:49:05] local.INFO: Processing buffer {"connection_id":125374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:49:05] local.INFO: IMEI packet received {"connection_id":125374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 10:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":125374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:49:07] local.INFO: TCP Data received {"connection_id":125374,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4028da58012d18afc00722e9880061000a15..."} 
[2026-07-08 10:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4028da58012d18afc00722e9880061000a15..."} 
[2026-07-08 10:49:07] local.INFO: Processing buffer {"connection_id":125374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4028da58012d18afc00722e9880061000a15..."} 
[2026-07-08 10:49:07] local.INFO: Packet analysis {"connection_id":125374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4028"} 
[2026-07-08 10:49:07] local.INFO: Extracted packet for processing {"connection_id":125374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4028"} 
[2026-07-08 10:49:07] local.INFO: GPS Element Parsed {"raw_longitude":756592576,"raw_latitude":119728520,"longitude_deg":75.6592576,"latitude_deg":11.972852,"altitude":97,"angle":10,"satellites":21,"speed":0,"hex_longitude":"2d18afc0","hex_latitude":"0722e988","is_valid_coordinates":true} 
[2026-07-08 10:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572883456001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4689777869717504,"note":"Value kept but may cause issues"} 
[2026-07-08 10:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778851514717669376,"note":"Value kept but may cause issues"} 
[2026-07-08 10:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783487847000,"timestamp_ms":1783487847000,"timestamp_seconds":1783487847,"priority":1,"record_length":96,"hex_timestamp":"0000019f4028da58"} 
[2026-07-08 10:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 10:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 10:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 10:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 10:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572883456001,"66":12689,"112":206,"28":31744,"24":0,"16":4689777869717504,"45":1778851514717669376},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 10:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 10:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 10:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572883456001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:49:07] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 10:49:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 10:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4689777869717504,"km_value":4689777869717.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778851514717669376,"description":"Unknown IO ID 45"} 
[2026-07-08 10:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572883456001,"power":12689,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778851514717669376}} 
[2026-07-08 10:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":125374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:49:07] local.INFO: GPS data processed {"connection_id":125374,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:49:07] local.INFO: Acknowledgment sent {"connection_id":125374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:49:33] local.INFO: TCP Data received {"connection_id":125373,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4029d840012d7f980005afe330000001262c..."} 
[2026-07-08 10:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4029d840012d7f980005afe330000001262c..."} 
[2026-07-08 10:49:33] local.INFO: Processing buffer {"connection_id":125373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4029d840012d7f980005afe330000001262c..."} 
[2026-07-08 10:49:33] local.INFO: Packet analysis {"connection_id":125373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4029"} 
[2026-07-08 10:49:33] local.INFO: Extracted packet for processing {"connection_id":125373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4029"} 
[2026-07-08 10:49:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572828416001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783487912000,"timestamp_ms":1783487912000,"timestamp_seconds":1783487912,"priority":1,"record_length":96,"hex_timestamp":"0000019f4029d840"} 
[2026-07-08 10:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":238,"data_length":795,"current_offset":136} 
[2026-07-08 10:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572828416001,"66":25560,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572828416001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:49:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:49:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572828416001,"power":25560,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":125373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:49:33] local.INFO: GPS data processed {"connection_id":125373,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:49:33] local.INFO: Acknowledgment sent {"connection_id":125373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:49:39] local.INFO: TCP Data received {"connection_id":125374,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40292c60012d18afc00722e9880061000a17..."} 
[2026-07-08 10:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40292c60012d18afc00722e9880061000a17..."} 
[2026-07-08 10:49:39] local.INFO: Processing buffer {"connection_id":125374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40292c60012d18afc00722e9880061000a17..."} 
[2026-07-08 10:49:39] local.INFO: Packet analysis {"connection_id":125374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4029"} 
[2026-07-08 10:49:39] local.INFO: Extracted packet for processing {"connection_id":125374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4029"} 
[2026-07-08 10:49:39] local.INFO: GPS Element Parsed {"raw_longitude":756592576,"raw_latitude":119728520,"longitude_deg":75.6592576,"latitude_deg":11.972852,"altitude":97,"angle":10,"satellites":23,"speed":0,"hex_longitude":"2d18afc0","hex_latitude":"0722e988","is_valid_coordinates":true} 
[2026-07-08 10:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572888832001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4689777869717504,"note":"Value kept but may cause issues"} 
[2026-07-08 10:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778851514717669376,"note":"Value kept but may cause issues"} 
[2026-07-08 10:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783487868000,"timestamp_ms":1783487868000,"timestamp_seconds":1783487868,"priority":1,"record_length":96,"hex_timestamp":"0000019f40292c60"} 
[2026-07-08 10:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6400,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 10:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 10:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 10:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 10:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572888832001,"66":12689,"112":206,"28":31744,"24":0,"16":4689777869717504,"45":1778851514717669376},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 10:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 10:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 10:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572888832001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:49:39] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 10:49:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 10:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4689777869717504,"km_value":4689777869717.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778851514717669376,"description":"Unknown IO ID 45"} 
[2026-07-08 10:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572888832001,"power":12689,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778851514717669376}} 
[2026-07-08 10:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":125374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:49:39] local.INFO: GPS data processed {"connection_id":125374,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:49:39] local.INFO: Acknowledgment sent {"connection_id":125374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:49:45] local.INFO: TCP Data received {"connection_id":126112,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126112,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:49:45] local.INFO: Processing buffer {"connection_id":126112,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:49:45] local.INFO: IMEI packet received {"connection_id":126112,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":126112,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:49:50] local.INFO: TCP Data received {"connection_id":126112,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126112,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:49:50] local.INFO: Processing buffer {"connection_id":126112,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:49:50] local.INFO: IMEI packet received {"connection_id":126112,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":126112,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:49:52] local.INFO: TCP Data received {"connection_id":126112,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f402ab6e8012d0b130007029fc00002013426..."} 
[2026-07-08 10:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402ab6e8012d0b130007029fc00002013426..."} 
[2026-07-08 10:49:52] local.INFO: Processing buffer {"connection_id":126112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402ab6e8012d0b130007029fc00002013426..."} 
[2026-07-08 10:49:52] local.INFO: Packet analysis {"connection_id":126112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402a"} 
[2026-07-08 10:49:52] local.INFO: Extracted packet for processing {"connection_id":126112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402a"} 
[2026-07-08 10:49:52] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572843008001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783487969000,"timestamp_ms":1783487969000,"timestamp_seconds":1783487969,"priority":1,"record_length":96,"hex_timestamp":"0000019f402ab6e8"} 
[2026-07-08 10:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 10:49:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":126112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":126112,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":126112,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572843008001,"66":12689,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572843008001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:49:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572843008001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":126112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450384,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:49:52] local.INFO: GPS data processed {"connection_id":126112,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:49:52] local.INFO: Acknowledgment sent {"connection_id":126112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:49:56] local.INFO: TCP Data received {"connection_id":125271,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:49:56] local.INFO: Processing buffer {"connection_id":125271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:49:56] local.INFO: IMEI packet received {"connection_id":125271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":125271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:50:01] local.INFO: TCP Data received {"connection_id":125271,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:50:01] local.INFO: Processing buffer {"connection_id":125271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:50:01] local.INFO: IMEI packet received {"connection_id":125271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":125271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:50:02] local.INFO: TCP Data received {"connection_id":125271,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4029d840012d7f980005afe330000001262c..."} 
[2026-07-08 10:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4029d840012d7f980005afe330000001262c..."} 
[2026-07-08 10:50:02] local.INFO: Processing buffer {"connection_id":125271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4029d840012d7f980005afe330000001262c..."} 
[2026-07-08 10:50:02] local.INFO: Packet analysis {"connection_id":125271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4029"} 
[2026-07-08 10:50:02] local.INFO: Extracted packet for processing {"connection_id":125271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4029"} 
[2026-07-08 10:50:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572828416001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783487912000,"timestamp_ms":1783487912000,"timestamp_seconds":1783487912,"priority":1,"record_length":96,"hex_timestamp":"0000019f4029d840"} 
[2026-07-08 10:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 10:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572828416001,"66":25560,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572828416001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:50:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:50:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572828416001,"power":25560,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":125271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:50:02] local.INFO: GPS data processed {"connection_id":125271,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:50:02] local.INFO: Acknowledgment sent {"connection_id":125271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:50:06] local.INFO: TCP Data received {"connection_id":126114,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:50:06] local.INFO: Processing buffer {"connection_id":126114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:50:06] local.INFO: IMEI packet received {"connection_id":126114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 10:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":126114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:50:11] local.INFO: TCP Data received {"connection_id":126114,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:50:11] local.INFO: Processing buffer {"connection_id":126114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:50:11] local.INFO: IMEI packet received {"connection_id":126114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 10:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":126114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:50:13] local.INFO: TCP Data received {"connection_id":126114,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40297e68012d18afc00722e9880061000a1a..."} 
[2026-07-08 10:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40297e68012d18afc00722e9880061000a1a..."} 
[2026-07-08 10:50:13] local.INFO: Processing buffer {"connection_id":126114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40297e68012d18afc00722e9880061000a1a..."} 
[2026-07-08 10:50:13] local.INFO: Packet analysis {"connection_id":126114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4029"} 
[2026-07-08 10:50:13] local.INFO: Extracted packet for processing {"connection_id":126114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4029"} 
[2026-07-08 10:50:13] local.INFO: GPS Element Parsed {"raw_longitude":756592576,"raw_latitude":119728520,"longitude_deg":75.6592576,"latitude_deg":11.972852,"altitude":97,"angle":10,"satellites":26,"speed":0,"hex_longitude":"2d18afc0","hex_latitude":"0722e988","is_valid_coordinates":true} 
[2026-07-08 10:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572894208001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4689777869717504,"note":"Value kept but may cause issues"} 
[2026-07-08 10:50:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778851514717669376,"note":"Value kept but may cause issues"} 
[2026-07-08 10:50:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783487889000,"timestamp_ms":1783487889000,"timestamp_seconds":1783487889,"priority":1,"record_length":96,"hex_timestamp":"0000019f40297e68"} 
[2026-07-08 10:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:50:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6656,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 10:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 10:50:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:50:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":126114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":126114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":126114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 10:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 10:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572894208001,"66":12667,"112":206,"28":31744,"24":0,"16":4689777869717504,"45":1778851514717669376},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 10:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 10:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 10:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572894208001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:50:13] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 10:50:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 10:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4689777869717504,"km_value":4689777869717.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:50:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778851514717669376,"description":"Unknown IO ID 45"} 
[2026-07-08 10:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572894208001,"power":12667,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778851514717669376}} 
[2026-07-08 10:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":126114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:50:13] local.INFO: GPS data processed {"connection_id":126114,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:50:13] local.INFO: Acknowledgment sent {"connection_id":126114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:50:16] local.INFO: TCP Data received {"connection_id":126114,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4029d070012d18afc00722e9880061000a1b..."} 
[2026-07-08 10:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4029d070012d18afc00722e9880061000a1b..."} 
[2026-07-08 10:50:16] local.INFO: Processing buffer {"connection_id":126114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4029d070012d18afc00722e9880061000a1b..."} 
[2026-07-08 10:50:16] local.INFO: Packet analysis {"connection_id":126114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4029"} 
[2026-07-08 10:50:16] local.INFO: Extracted packet for processing {"connection_id":126114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4029"} 
[2026-07-08 10:50:16] local.INFO: GPS Element Parsed {"raw_longitude":756592576,"raw_latitude":119728520,"longitude_deg":75.6592576,"latitude_deg":11.972852,"altitude":97,"angle":10,"satellites":27,"speed":0,"hex_longitude":"2d18afc0","hex_latitude":"0722e988","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572899584001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4689777869717504,"note":"Value kept but may cause issues"} 
[2026-07-08 10:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778851514717669376,"note":"Value kept but may cause issues"} 
[2026-07-08 10:50:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783487910000,"timestamp_ms":1783487910000,"timestamp_seconds":1783487910,"priority":1,"record_length":96,"hex_timestamp":"0000019f4029d070"} 
[2026-07-08 10:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:50:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 10: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-08 10:50:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:50:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":126114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":126114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":126114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 10:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 10:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572899584001,"66":12645,"112":206,"28":31744,"24":0,"16":4689777869717504,"45":1778851514717669376},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 10:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 10:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 10:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572899584001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:50:16] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 10:50:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 10:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4689777869717504,"km_value":4689777869717.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778851514717669376,"description":"Unknown IO ID 45"} 
[2026-07-08 10:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572899584001,"power":12645,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778851514717669376}} 
[2026-07-08 10:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":126114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:50:16] local.INFO: GPS data processed {"connection_id":126114,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:50:16] local.INFO: Acknowledgment sent {"connection_id":126114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:50:25] local.INFO: TCP Data received {"connection_id":126112,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f402ab6e8012d0b130007029fc00002013426..."} 
[2026-07-08 10:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402ab6e8012d0b130007029fc00002013426..."} 
[2026-07-08 10:50:25] local.INFO: Processing buffer {"connection_id":126112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402ab6e8012d0b130007029fc00002013426..."} 
[2026-07-08 10:50:25] local.INFO: Packet analysis {"connection_id":126112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402a"} 
[2026-07-08 10:50:25] local.INFO: Extracted packet for processing {"connection_id":126112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402a"} 
[2026-07-08 10:50:25] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 10:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572843008001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783487969000,"timestamp_ms":1783487969000,"timestamp_seconds":1783487969,"priority":1,"record_length":96,"hex_timestamp":"0000019f402ab6e8"} 
[2026-07-08 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-07-08 10:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 10:50: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-07-08 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-07-08 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-07-08 10:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":126112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":126112,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":126112,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:50:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572843008001,"66":12689,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572843008001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:50:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572843008001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":126112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450388,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:50:25] local.INFO: GPS data processed {"connection_id":126112,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:50:25] local.INFO: Acknowledgment sent {"connection_id":126112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:50:34] local.INFO: TCP Data received {"connection_id":125271,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4029d840012d7f980005afe330000001262c..."} 
[2026-07-08 10:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4029d840012d7f980005afe330000001262c..."} 
[2026-07-08 10:50:34] local.INFO: Processing buffer {"connection_id":125271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4029d840012d7f980005afe330000001262c..."} 
[2026-07-08 10:50:34] local.INFO: Packet analysis {"connection_id":125271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4029"} 
[2026-07-08 10:50:34] local.INFO: Extracted packet for processing {"connection_id":125271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4029"} 
[2026-07-08 10:50:34] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572828416001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783487912000,"timestamp_ms":1783487912000,"timestamp_seconds":1783487912,"priority":1,"record_length":96,"hex_timestamp":"0000019f4029d840"} 
[2026-07-08 10:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 10:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572828416001,"66":25560,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572828416001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:50:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:50:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572828416001,"power":25560,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":125271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:50:34] local.INFO: GPS data processed {"connection_id":125271,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:50:34] local.INFO: Acknowledgment sent {"connection_id":125271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:50:45] local.INFO: TCP Data received {"connection_id":127375,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127375,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:50:45] local.INFO: Processing buffer {"connection_id":127375,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:50:45] local.INFO: IMEI packet received {"connection_id":127375,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":127375,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:50:50] local.INFO: TCP Data received {"connection_id":127375,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127375,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:50:50] local.INFO: Processing buffer {"connection_id":127375,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:50:50] local.INFO: IMEI packet received {"connection_id":127375,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":127375,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:50:51] local.INFO: TCP Data received {"connection_id":127375,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f402ab6e8012d0b130007029fc00002013426..."} 
[2026-07-08 10:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402ab6e8012d0b130007029fc00002013426..."} 
[2026-07-08 10:50:51] local.INFO: Processing buffer {"connection_id":127375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402ab6e8012d0b130007029fc00002013426..."} 
[2026-07-08 10:50:51] local.INFO: Packet analysis {"connection_id":127375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402a"} 
[2026-07-08 10:50:51] local.INFO: Extracted packet for processing {"connection_id":127375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402a"} 
[2026-07-08 10:50:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572843008001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783487969000,"timestamp_ms":1783487969000,"timestamp_seconds":1783487969,"priority":1,"record_length":96,"hex_timestamp":"0000019f402ab6e8"} 
[2026-07-08 10:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:50: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-07-08 10:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 10:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572843008001,"66":12689,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572843008001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:50:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572843008001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":127375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450390,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:50:51] local.INFO: GPS data processed {"connection_id":127375,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:50:51] local.INFO: Acknowledgment sent {"connection_id":127375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:50:59] local.INFO: TCP Data received {"connection_id":126117,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:50:59] local.INFO: Processing buffer {"connection_id":126117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:50:59] local.INFO: IMEI packet received {"connection_id":126117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 10:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":126117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:51:00] local.INFO: TCP Data received {"connection_id":126117,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:51:00] local.INFO: Processing buffer {"connection_id":126117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:51:00] local.INFO: IMEI packet received {"connection_id":126117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 10:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":126117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:51:01] local.INFO: TCP Data received {"connection_id":126116,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:51:01] local.INFO: Processing buffer {"connection_id":126116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:51:01] local.INFO: IMEI packet received {"connection_id":126116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":126116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:51:06] local.INFO: TCP Data received {"connection_id":126117,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:51:06] local.INFO: Processing buffer {"connection_id":126117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:51:06] local.INFO: IMEI packet received {"connection_id":126117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 10:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":126117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:51:06] local.INFO: TCP Data received {"connection_id":126116,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:51:06] local.INFO: Processing buffer {"connection_id":126116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:51:06] local.INFO: IMEI packet received {"connection_id":126116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":126116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:51:07] local.INFO: TCP Data received {"connection_id":126117,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f402a2278012d18afc00722e9880061000a1d..."} 
[2026-07-08 10:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402a2278012d18afc00722e9880061000a1d..."} 
[2026-07-08 10:51:07] local.INFO: Processing buffer {"connection_id":126117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402a2278012d18afc00722e9880061000a1d..."} 
[2026-07-08 10:51:07] local.INFO: Packet analysis {"connection_id":126117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402a"} 
[2026-07-08 10:51:07] local.INFO: Extracted packet for processing {"connection_id":126117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402a"} 
[2026-07-08 10:51:07] local.INFO: GPS Element Parsed {"raw_longitude":756592576,"raw_latitude":119728520,"longitude_deg":75.6592576,"latitude_deg":11.972852,"altitude":97,"angle":10,"satellites":29,"speed":0,"hex_longitude":"2d18afc0","hex_latitude":"0722e988","is_valid_coordinates":true} 
[2026-07-08 10:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572904960001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4689777869717504,"note":"Value kept but may cause issues"} 
[2026-07-08 10:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778851514717669376,"note":"Value kept but may cause issues"} 
[2026-07-08 10:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783487931000,"timestamp_ms":1783487931000,"timestamp_seconds":1783487931,"priority":1,"record_length":96,"hex_timestamp":"0000019f402a2278"} 
[2026-07-08 10:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 10:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 10:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 10:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 10:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572904960001,"66":12645,"112":206,"28":31744,"24":0,"16":4689777869717504,"45":1778851514717669376},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 10:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 10:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 10:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572904960001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:51:07] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 10:51:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 10:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4689777869717504,"km_value":4689777869717.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778851514717669376,"description":"Unknown IO ID 45"} 
[2026-07-08 10:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572904960001,"power":12645,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778851514717669376}} 
[2026-07-08 10:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":126117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:51:07] local.INFO: GPS data processed {"connection_id":126117,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:51:07] local.INFO: Acknowledgment sent {"connection_id":126117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:51:11] local.INFO: TCP Data received {"connection_id":126116,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4029d840012d7f980005afe330000001262c..."} 
[2026-07-08 10:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4029d840012d7f980005afe330000001262c..."} 
[2026-07-08 10:51:11] local.INFO: Processing buffer {"connection_id":126116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4029d840012d7f980005afe330000001262c..."} 
[2026-07-08 10:51:11] local.INFO: Packet analysis {"connection_id":126116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4029"} 
[2026-07-08 10:51:11] local.INFO: Extracted packet for processing {"connection_id":126116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4029"} 
[2026-07-08 10:51:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572828416001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783487912000,"timestamp_ms":1783487912000,"timestamp_seconds":1783487912,"priority":1,"record_length":96,"hex_timestamp":"0000019f4029d840"} 
[2026-07-08 10:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 10:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572828416001,"66":25560,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572828416001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:51:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:51:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572828416001,"power":25560,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":126116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:51:11] local.INFO: GPS data processed {"connection_id":126116,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:51:11] local.INFO: Acknowledgment sent {"connection_id":126116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:51:12] local.INFO: TCP Data received {"connection_id":126116,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4029d840012d7f980005afe330000001262c..."} 
[2026-07-08 10:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4029d840012d7f980005afe330000001262c..."} 
[2026-07-08 10:51:12] local.INFO: Processing buffer {"connection_id":126116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4029d840012d7f980005afe330000001262c..."} 
[2026-07-08 10:51:12] local.INFO: Packet analysis {"connection_id":126116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4029"} 
[2026-07-08 10:51:12] local.INFO: Extracted packet for processing {"connection_id":126116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4029"} 
[2026-07-08 10:51:12] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572828416001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783487912000,"timestamp_ms":1783487912000,"timestamp_seconds":1783487912,"priority":1,"record_length":96,"hex_timestamp":"0000019f4029d840"} 
[2026-07-08 10:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 10:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":126116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":126116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":126116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572828416001,"66":25560,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572828416001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:51:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:51:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572828416001,"power":25560,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":126116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:51:12] local.INFO: GPS data processed {"connection_id":126116,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:51:12] local.INFO: Acknowledgment sent {"connection_id":126116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:51:25] local.INFO: TCP Data received {"connection_id":127375,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f402ab6e8012d0b130007029fc00002013426..."} 
[2026-07-08 10:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402ab6e8012d0b130007029fc00002013426..."} 
[2026-07-08 10:51:25] local.INFO: Processing buffer {"connection_id":127375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402ab6e8012d0b130007029fc00002013426..."} 
[2026-07-08 10:51:25] local.INFO: Packet analysis {"connection_id":127375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402a"} 
[2026-07-08 10:51:25] local.INFO: Extracted packet for processing {"connection_id":127375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402a"} 
[2026-07-08 10:51:25] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 10:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572843008001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:51:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:51:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783487969000,"timestamp_ms":1783487969000,"timestamp_seconds":1783487969,"priority":1,"record_length":96,"hex_timestamp":"0000019f402ab6e8"} 
[2026-07-08 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-07-08 10:51:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 10:51: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-07-08 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-07-08 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-07-08 10:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":127375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":127375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":127375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:51:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572843008001,"66":12689,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572843008001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:51:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:51:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572843008001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":127375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450394,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:51:25] local.INFO: GPS data processed {"connection_id":127375,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:51:25] local.INFO: Acknowledgment sent {"connection_id":127375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:51:25] local.INFO: TCP Data received {"connection_id":126115,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126115,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:51:25] local.INFO: Processing buffer {"connection_id":126115,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:51:25] local.INFO: IMEI packet received {"connection_id":126115,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 10:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":126115,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:51:42] local.INFO: TCP Data received {"connection_id":126117,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f402a7480012d18afc00722e9880061000a1f..."} 
[2026-07-08 10:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402a7480012d18afc00722e9880061000a1f..."} 
[2026-07-08 10:51:42] local.INFO: Processing buffer {"connection_id":126117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402a7480012d18afc00722e9880061000a1f..."} 
[2026-07-08 10:51:42] local.INFO: Packet analysis {"connection_id":126117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402a"} 
[2026-07-08 10:51:42] local.INFO: Extracted packet for processing {"connection_id":126117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402a"} 
[2026-07-08 10:51:42] local.INFO: GPS Element Parsed {"raw_longitude":756592576,"raw_latitude":119728520,"longitude_deg":75.6592576,"latitude_deg":11.972852,"altitude":97,"angle":10,"satellites":31,"speed":0,"hex_longitude":"2d18afc0","hex_latitude":"0722e988","is_valid_coordinates":true} 
[2026-07-08 10:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572910336001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4689777869717504,"note":"Value kept but may cause issues"} 
[2026-07-08 10:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778851514717669376,"note":"Value kept but may cause issues"} 
[2026-07-08 10:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783487952000,"timestamp_ms":1783487952000,"timestamp_seconds":1783487952,"priority":1,"record_length":96,"hex_timestamp":"0000019f402a7480"} 
[2026-07-08 10:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7168,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 10:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 10:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":126117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":126117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":126117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 10:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 10:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572910336001,"66":12613,"112":206,"28":31744,"24":0,"16":4689777869717504,"45":1778851514717669376},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 10:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 10:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 10:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572910336001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:51:42] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 10:51:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 10:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4689777869717504,"km_value":4689777869717.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778851514717669376,"description":"Unknown IO ID 45"} 
[2026-07-08 10:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572910336001,"power":12613,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778851514717669376}} 
[2026-07-08 10:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":126117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:51:42] local.INFO: GPS data processed {"connection_id":126117,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:51:42] local.INFO: Acknowledgment sent {"connection_id":126117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:51:45] local.INFO: TCP Data received {"connection_id":125272,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125272,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:51:45] local.INFO: Processing buffer {"connection_id":125272,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:51:45] local.INFO: IMEI packet received {"connection_id":125272,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":125272,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:51:51] local.INFO: TCP Data received {"connection_id":125272,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125272,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:51:51] local.INFO: Processing buffer {"connection_id":125272,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:51:51] local.INFO: IMEI packet received {"connection_id":125272,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":125272,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:51:53] local.INFO: TCP Data received {"connection_id":125272,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f402ab6e8012d0b130007029fc00002013426..."} 
[2026-07-08 10:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402ab6e8012d0b130007029fc00002013426..."} 
[2026-07-08 10:51:53] local.INFO: Processing buffer {"connection_id":125272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402ab6e8012d0b130007029fc00002013426..."} 
[2026-07-08 10:51:53] local.INFO: Packet analysis {"connection_id":125272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402a"} 
[2026-07-08 10:51:53] local.INFO: Extracted packet for processing {"connection_id":125272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402a"} 
[2026-07-08 10:51:53] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572843008001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:51:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783487969000,"timestamp_ms":1783487969000,"timestamp_seconds":1783487969,"priority":1,"record_length":96,"hex_timestamp":"0000019f402ab6e8"} 
[2026-07-08 10:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 10:51: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-07-08 10: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-07-08 10:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125272,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125272,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:51:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572843008001,"66":12689,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572843008001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:51:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572843008001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":125272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450396,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:51:53] local.INFO: GPS data processed {"connection_id":125272,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:51:53] local.INFO: Acknowledgment sent {"connection_id":125272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:51:56] local.INFO: TCP Data received {"connection_id":125375,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:51:56] local.INFO: Processing buffer {"connection_id":125375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:51:56] local.INFO: IMEI packet received {"connection_id":125375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":125375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:52:01] local.INFO: TCP Data received {"connection_id":125375,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:52:01] local.INFO: Processing buffer {"connection_id":125375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:52:01] local.INFO: IMEI packet received {"connection_id":125375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":125375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:52:02] local.INFO: TCP Data received {"connection_id":127376,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:52:02] local.INFO: Processing buffer {"connection_id":127376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:52:02] local.INFO: IMEI packet received {"connection_id":127376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 10:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":127376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:52:02] local.INFO: TCP Data received {"connection_id":125375,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4029d840012d7f980005afe330000001262c..."} 
[2026-07-08 10:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4029d840012d7f980005afe330000001262c..."} 
[2026-07-08 10:52:02] local.INFO: Processing buffer {"connection_id":125375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4029d840012d7f980005afe330000001262c..."} 
[2026-07-08 10:52:02] local.INFO: Packet analysis {"connection_id":125375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4029"} 
[2026-07-08 10:52:02] local.INFO: Extracted packet for processing {"connection_id":125375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4029"} 
[2026-07-08 10:52:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572828416001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783487912000,"timestamp_ms":1783487912000,"timestamp_seconds":1783487912,"priority":1,"record_length":96,"hex_timestamp":"0000019f4029d840"} 
[2026-07-08 10:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 10:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572828416001,"66":25560,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572828416001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:52:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:52:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572828416001,"power":25560,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":125375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:52:02] local.INFO: GPS data processed {"connection_id":125375,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:52:02] local.INFO: Acknowledgment sent {"connection_id":125375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:52:02] local.INFO: TCP Data received {"connection_id":127376,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:52:02] local.INFO: Processing buffer {"connection_id":127376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:52:02] local.INFO: IMEI packet received {"connection_id":127376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 10:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":127376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:52:06] local.INFO: TCP Data received {"connection_id":127376,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:52:06] local.INFO: Processing buffer {"connection_id":127376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:52:06] local.INFO: IMEI packet received {"connection_id":127376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 10:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":127376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:52:06] local.INFO: TCP Data received {"connection_id":126118,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126118,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:52:07] local.INFO: Processing buffer {"connection_id":126118,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:52:07] local.INFO: IMEI packet received {"connection_id":126118,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 10:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":126118,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:52:07] local.INFO: TCP Data received {"connection_id":127376,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f402ac2a0012d18afc00722e9880061000a20..."} 
[2026-07-08 10:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402ac2a0012d18afc00722e9880061000a20..."} 
[2026-07-08 10:52:07] local.INFO: Processing buffer {"connection_id":127376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402ac2a0012d18afc00722e9880061000a20..."} 
[2026-07-08 10:52:07] local.INFO: Packet analysis {"connection_id":127376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402a"} 
[2026-07-08 10:52:07] local.INFO: Extracted packet for processing {"connection_id":127376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402a"} 
[2026-07-08 10:52:07] local.INFO: GPS Element Parsed {"raw_longitude":756592576,"raw_latitude":119728520,"longitude_deg":75.6592576,"latitude_deg":11.972852,"altitude":97,"angle":10,"satellites":32,"speed":0,"hex_longitude":"2d18afc0","hex_latitude":"0722e988","is_valid_coordinates":true} 
[2026-07-08 10:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572915712001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4689777869717504,"note":"Value kept but may cause issues"} 
[2026-07-08 10:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778851514717669376,"note":"Value kept but may cause issues"} 
[2026-07-08 10:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783487972000,"timestamp_ms":1783487972000,"timestamp_seconds":1783487972,"priority":1,"record_length":96,"hex_timestamp":"0000019f402ac2a0"} 
[2026-07-08 10:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 10:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 10:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 10:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 10:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572915712001,"66":12667,"112":206,"28":31744,"24":0,"16":4689777869717504,"45":1778851514717669376},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 10:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 10:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 10:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572915712001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:52:07] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 10:52:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 10:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4689777869717504,"km_value":4689777869717.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778851514717669376,"description":"Unknown IO ID 45"} 
[2026-07-08 10:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572915712001,"power":12667,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778851514717669376}} 
[2026-07-08 10:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":127376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:52:07] local.INFO: GPS data processed {"connection_id":127376,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:52:07] local.INFO: Acknowledgment sent {"connection_id":127376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:52:25] local.INFO: TCP Data received {"connection_id":125272,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f402ab6e8012d0b130007029fc00002013426..."} 
[2026-07-08 10:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402ab6e8012d0b130007029fc00002013426..."} 
[2026-07-08 10:52:25] local.INFO: Processing buffer {"connection_id":125272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402ab6e8012d0b130007029fc00002013426..."} 
[2026-07-08 10:52:25] local.INFO: Packet analysis {"connection_id":125272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402a"} 
[2026-07-08 10:52:25] local.INFO: Extracted packet for processing {"connection_id":125272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402a"} 
[2026-07-08 10:52:25] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572843008001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783487969000,"timestamp_ms":1783487969000,"timestamp_seconds":1783487969,"priority":1,"record_length":96,"hex_timestamp":"0000019f402ab6e8"} 
[2026-07-08 10:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:52:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 10:52: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-07-08 10:52:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":125272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":125272,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":125272,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:52:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572843008001,"66":12689,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572843008001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:52:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572843008001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":125272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450399,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:52:25] local.INFO: GPS data processed {"connection_id":125272,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:52:25] local.INFO: Acknowledgment sent {"connection_id":125272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:52:33] local.INFO: TCP Data received {"connection_id":125375,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4029d840012d7f980005afe330000001262c..."} 
[2026-07-08 10:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4029d840012d7f980005afe330000001262c..."} 
[2026-07-08 10:52:33] local.INFO: Processing buffer {"connection_id":125375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4029d840012d7f980005afe330000001262c..."} 
[2026-07-08 10:52:33] local.INFO: Packet analysis {"connection_id":125375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4029"} 
[2026-07-08 10:52:33] local.INFO: Extracted packet for processing {"connection_id":125375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4029"} 
[2026-07-08 10:52:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572828416001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783487912000,"timestamp_ms":1783487912000,"timestamp_seconds":1783487912,"priority":1,"record_length":96,"hex_timestamp":"0000019f4029d840"} 
[2026-07-08 10:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 10:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:52:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572828416001,"66":25560,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572828416001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:52:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:52:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572828416001,"power":25560,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":125375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:52:33] local.INFO: GPS data processed {"connection_id":125375,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:52:33] local.INFO: Acknowledgment sent {"connection_id":125375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:52:38] local.INFO: TCP Data received {"connection_id":127376,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f402b10c0012d18afc00722e9880061000a22..."} 
[2026-07-08 10:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402b10c0012d18afc00722e9880061000a22..."} 
[2026-07-08 10:52:38] local.INFO: Processing buffer {"connection_id":127376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402b10c0012d18afc00722e9880061000a22..."} 
[2026-07-08 10:52:38] local.INFO: Packet analysis {"connection_id":127376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402b"} 
[2026-07-08 10:52:38] local.INFO: Extracted packet for processing {"connection_id":127376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402b"} 
[2026-07-08 10:52:38] local.INFO: GPS Element Parsed {"raw_longitude":756592576,"raw_latitude":119728520,"longitude_deg":75.6592576,"latitude_deg":11.972852,"altitude":97,"angle":10,"satellites":34,"speed":0,"hex_longitude":"2d18afc0","hex_latitude":"0722e988","is_valid_coordinates":true} 
[2026-07-08 10:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572920832001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4689777869717504,"note":"Value kept but may cause issues"} 
[2026-07-08 10:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778851514717669376,"note":"Value kept but may cause issues"} 
[2026-07-08 10:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783487992000,"timestamp_ms":1783487992000,"timestamp_seconds":1783487992,"priority":1,"record_length":96,"hex_timestamp":"0000019f402b10c0"} 
[2026-07-08 10:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 10:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-08 10:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 10:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 10:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572920832001,"66":12645,"112":206,"28":31744,"24":0,"16":4689777869717504,"45":1778851514717669376},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 10:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 10:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 10:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572920832001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:52:38] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 10:52:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 10:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4689777869717504,"km_value":4689777869717.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778851514717669376,"description":"Unknown IO ID 45"} 
[2026-07-08 10:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572920832001,"power":12645,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778851514717669376}} 
[2026-07-08 10:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":127376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:52:39] local.INFO: GPS data processed {"connection_id":127376,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:52:39] local.INFO: Acknowledgment sent {"connection_id":127376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:52:50] local.INFO: TCP Data received {"connection_id":127377,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127377,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:52:50] local.INFO: Processing buffer {"connection_id":127377,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:52:50] local.INFO: IMEI packet received {"connection_id":127377,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":127377,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:52:56] local.INFO: TCP Data received {"connection_id":126119,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:52:56] local.INFO: Processing buffer {"connection_id":126119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:52:56] local.INFO: IMEI packet received {"connection_id":126119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":126119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:52:57] local.INFO: TCP Data received {"connection_id":127377,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127377,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:52:57] local.INFO: Processing buffer {"connection_id":127377,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:52:57] local.INFO: IMEI packet received {"connection_id":127377,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":127377,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:52:58] local.INFO: TCP Data received {"connection_id":127377,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f402ab6e8012d0b130007029fc00002013426..."} 
[2026-07-08 10:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402ab6e8012d0b130007029fc00002013426..."} 
[2026-07-08 10:52:58] local.INFO: Processing buffer {"connection_id":127377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402ab6e8012d0b130007029fc00002013426..."} 
[2026-07-08 10:52:58] local.INFO: Packet analysis {"connection_id":127377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402a"} 
[2026-07-08 10:52:58] local.INFO: Extracted packet for processing {"connection_id":127377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402a"} 
[2026-07-08 10:52:58] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572843008001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783487969000,"timestamp_ms":1783487969000,"timestamp_seconds":1783487969,"priority":1,"record_length":96,"hex_timestamp":"0000019f402ab6e8"} 
[2026-07-08 10:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:52:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 10:52:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:52:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":127377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":127377,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":127377,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:52:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572843008001,"66":12689,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572843008001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:52:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572843008001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":127377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450402,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:52:58] local.INFO: GPS data processed {"connection_id":127377,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:52:58] local.INFO: Acknowledgment sent {"connection_id":127377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:53:00] local.INFO: TCP Data received {"connection_id":125376,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:53:00] local.INFO: Processing buffer {"connection_id":125376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:53:00] local.INFO: IMEI packet received {"connection_id":125376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 10:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":125376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:53:01] local.INFO: TCP Data received {"connection_id":127377,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f402ab6e8012d0b130007029fc00002013426..."} 
[2026-07-08 10:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402ab6e8012d0b130007029fc00002013426..."} 
[2026-07-08 10:53:01] local.INFO: Processing buffer {"connection_id":127377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402ab6e8012d0b130007029fc00002013426..."} 
[2026-07-08 10:53:01] local.INFO: Packet analysis {"connection_id":127377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402a"} 
[2026-07-08 10:53:01] local.INFO: Extracted packet for processing {"connection_id":127377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402a"} 
[2026-07-08 10:53:01] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572843008001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:53: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-07-08 10:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783487969000,"timestamp_ms":1783487969000,"timestamp_seconds":1783487969,"priority":1,"record_length":96,"hex_timestamp":"0000019f402ab6e8"} 
[2026-07-08 10:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 10:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127377,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127377,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572843008001,"66":12689,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572843008001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:53:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572843008001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":127377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450403,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:53:01] local.INFO: GPS data processed {"connection_id":127377,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:53:01] local.INFO: Acknowledgment sent {"connection_id":127377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:53:01] local.INFO: TCP Data received {"connection_id":126119,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:53:01] local.INFO: Processing buffer {"connection_id":126119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:53:01] local.INFO: IMEI packet received {"connection_id":126119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":126119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:53:02] local.INFO: TCP Data received {"connection_id":126119,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f4029d840012d7f980005afe330000001262c..."} 
[2026-07-08 10:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4029d840012d7f980005afe330000001262c..."} 
[2026-07-08 10:53:02] local.INFO: Processing buffer {"connection_id":126119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4029d840012d7f980005afe330000001262c..."} 
[2026-07-08 10:53:02] local.INFO: Packet analysis {"connection_id":126119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4029"} 
[2026-07-08 10:53:02] local.INFO: Extracted packet for processing {"connection_id":126119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4029"} 
[2026-07-08 10:53:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572828416001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783487912000,"timestamp_ms":1783487912000,"timestamp_seconds":1783487912,"priority":1,"record_length":96,"hex_timestamp":"0000019f4029d840"} 
[2026-07-08 10:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":238,"data_length":795,"current_offset":136} 
[2026-07-08 10:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572828416001,"66":25560,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572828416001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:53:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:53:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572828416001,"power":25560,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":126119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:53:02] local.INFO: GPS data processed {"connection_id":126119,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:53:02] local.INFO: Acknowledgment sent {"connection_id":126119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:53:05] local.INFO: TCP Data received {"connection_id":125376,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:53:05] local.INFO: Processing buffer {"connection_id":125376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:53:05] local.INFO: IMEI packet received {"connection_id":125376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 10:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":125376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:53:06] local.INFO: TCP Data received {"connection_id":125376,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f402b5ee0012d18afc00722e9880061000a22..."} 
[2026-07-08 10:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402b5ee0012d18afc00722e9880061000a22..."} 
[2026-07-08 10:53:06] local.INFO: Processing buffer {"connection_id":125376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402b5ee0012d18afc00722e9880061000a22..."} 
[2026-07-08 10:53:06] local.INFO: Packet analysis {"connection_id":125376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402b"} 
[2026-07-08 10:53:06] local.INFO: Extracted packet for processing {"connection_id":125376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402b"} 
[2026-07-08 10:53:06] local.INFO: GPS Element Parsed {"raw_longitude":756592576,"raw_latitude":119728520,"longitude_deg":75.6592576,"latitude_deg":11.972852,"altitude":97,"angle":10,"satellites":34,"speed":0,"hex_longitude":"2d18afc0","hex_latitude":"0722e988","is_valid_coordinates":true} 
[2026-07-08 10:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572925952001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4689777869717504,"note":"Value kept but may cause issues"} 
[2026-07-08 10:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778851514717669376,"note":"Value kept but may cause issues"} 
[2026-07-08 10:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783488012000,"timestamp_ms":1783488012000,"timestamp_seconds":1783488012,"priority":1,"record_length":96,"hex_timestamp":"0000019f402b5ee0"} 
[2026-07-08 10:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 10:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 10:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 10:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 10:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572925952001,"66":12613,"112":206,"28":31744,"24":0,"16":4689777869717504,"45":1778851514717669376},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 10:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 10:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 10:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572925952001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:53:06] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 10:53:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 10:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4689777869717504,"km_value":4689777869717.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778851514717669376,"description":"Unknown IO ID 45"} 
[2026-07-08 10:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572925952001,"power":12613,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778851514717669376}} 
[2026-07-08 10:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":125376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:53:06] local.INFO: GPS data processed {"connection_id":125376,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:53:06] local.INFO: Acknowledgment sent {"connection_id":125376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:53:33] local.INFO: TCP Data received {"connection_id":126119,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f4029d840012d7f980005afe330000001262c..."} 
[2026-07-08 10:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4029d840012d7f980005afe330000001262c..."} 
[2026-07-08 10:53:33] local.INFO: Processing buffer {"connection_id":126119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4029d840012d7f980005afe330000001262c..."} 
[2026-07-08 10:53:33] local.INFO: Packet analysis {"connection_id":126119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4029"} 
[2026-07-08 10:53:33] local.INFO: Extracted packet for processing {"connection_id":126119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4029"} 
[2026-07-08 10:53:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572828416001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783487912000,"timestamp_ms":1783487912000,"timestamp_seconds":1783487912,"priority":1,"record_length":96,"hex_timestamp":"0000019f4029d840"} 
[2026-07-08 10:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 10:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:53:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572828416001,"66":25560,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572828416001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:53:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:53:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572828416001,"power":25560,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":126119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:53:33] local.INFO: GPS data processed {"connection_id":126119,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:53:33] local.INFO: Acknowledgment sent {"connection_id":126119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:53:39] local.INFO: TCP Data received {"connection_id":125376,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f402bad00012d18afc00722e9880061000a22..."} 
[2026-07-08 10:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402bad00012d18afc00722e9880061000a22..."} 
[2026-07-08 10:53:39] local.INFO: Processing buffer {"connection_id":125376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402bad00012d18afc00722e9880061000a22..."} 
[2026-07-08 10:53:39] local.INFO: Packet analysis {"connection_id":125376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402b"} 
[2026-07-08 10:53:39] local.INFO: Extracted packet for processing {"connection_id":125376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402b"} 
[2026-07-08 10:53:39] local.INFO: GPS Element Parsed {"raw_longitude":756592576,"raw_latitude":119728520,"longitude_deg":75.6592576,"latitude_deg":11.972852,"altitude":97,"angle":10,"satellites":34,"speed":0,"hex_longitude":"2d18afc0","hex_latitude":"0722e988","is_valid_coordinates":true} 
[2026-07-08 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-07-08 10:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572931072001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4689777869717504,"note":"Value kept but may cause issues"} 
[2026-07-08 10:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778851514717669376,"note":"Value kept but may cause issues"} 
[2026-07-08 10:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783488032000,"timestamp_ms":1783488032000,"timestamp_seconds":1783488032,"priority":1,"record_length":96,"hex_timestamp":"0000019f402bad00"} 
[2026-07-08 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-07-08 10:53:39] 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-07-08 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 10:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 10:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 10:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 10:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572931072001,"66":12591,"112":206,"28":31744,"24":0,"16":4689777869717504,"45":1778851514717669376},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 10:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 10:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 10:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572931072001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:53:39] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 10:53:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 10:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4689777869717504,"km_value":4689777869717.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778851514717669376,"description":"Unknown IO ID 45"} 
[2026-07-08 10:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572931072001,"power":12591,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778851514717669376}} 
[2026-07-08 10:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":125376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:53:39] local.INFO: GPS data processed {"connection_id":125376,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:53:39] local.INFO: Acknowledgment sent {"connection_id":125376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:53:45] local.INFO: TCP Data received {"connection_id":127378,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127378,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:53:45] local.INFO: Processing buffer {"connection_id":127378,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:53:45] local.INFO: IMEI packet received {"connection_id":127378,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":127378,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:53:50] local.INFO: TCP Data received {"connection_id":127378,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127378,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:53:50] local.INFO: Processing buffer {"connection_id":127378,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:53:50] local.INFO: IMEI packet received {"connection_id":127378,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":127378,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:53:51] local.INFO: TCP Data received {"connection_id":127378,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f402ab6e8012d0b130007029fc00002013426..."} 
[2026-07-08 10:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402ab6e8012d0b130007029fc00002013426..."} 
[2026-07-08 10:53:51] local.INFO: Processing buffer {"connection_id":127378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402ab6e8012d0b130007029fc00002013426..."} 
[2026-07-08 10:53:51] local.INFO: Packet analysis {"connection_id":127378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402a"} 
[2026-07-08 10:53:51] local.INFO: Extracted packet for processing {"connection_id":127378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402a"} 
[2026-07-08 10:53:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572843008001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783487969000,"timestamp_ms":1783487969000,"timestamp_seconds":1783487969,"priority":1,"record_length":96,"hex_timestamp":"0000019f402ab6e8"} 
[2026-07-08 10:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:53: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-07-08 10:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 10:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127378,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127378,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572843008001,"66":12689,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572843008001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:53:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572843008001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":127378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450408,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:53:51] local.INFO: GPS data processed {"connection_id":127378,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:53:51] local.INFO: Acknowledgment sent {"connection_id":127378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:53:56] local.INFO: TCP Data received {"connection_id":125377,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:53:56] local.INFO: Processing buffer {"connection_id":125377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:53:56] local.INFO: IMEI packet received {"connection_id":125377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":125377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:54:00] local.INFO: TCP Data received {"connection_id":126120,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:54:00] local.INFO: Processing buffer {"connection_id":126120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:54:00] local.INFO: IMEI packet received {"connection_id":126120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 10:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":126120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:54:01] local.INFO: TCP Data received {"connection_id":125377,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:54:01] local.INFO: Processing buffer {"connection_id":125377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:54:01] local.INFO: IMEI packet received {"connection_id":125377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":125377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:54:02] local.INFO: TCP Data received {"connection_id":125377,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4029d840012d7f980005afe330000001262c..."} 
[2026-07-08 10:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4029d840012d7f980005afe330000001262c..."} 
[2026-07-08 10:54:02] local.INFO: Processing buffer {"connection_id":125377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4029d840012d7f980005afe330000001262c..."} 
[2026-07-08 10:54:02] local.INFO: Packet analysis {"connection_id":125377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4029"} 
[2026-07-08 10:54:02] local.INFO: Extracted packet for processing {"connection_id":125377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4029"} 
[2026-07-08 10:54:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":44,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572828416001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783487912000,"timestamp_ms":1783487912000,"timestamp_seconds":1783487912,"priority":1,"record_length":96,"hex_timestamp":"0000019f4029d840"} 
[2026-07-08 10:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 10:54:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:54:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572828416001,"66":25560,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572828416001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:54:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:54:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572828416001,"power":25560,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":125377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:54:02] local.INFO: GPS data processed {"connection_id":125377,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:54:02] local.INFO: Acknowledgment sent {"connection_id":125377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:54:06] local.INFO: TCP Data received {"connection_id":126120,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:54:06] local.INFO: Processing buffer {"connection_id":126120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:54:06] local.INFO: IMEI packet received {"connection_id":126120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 10:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":126120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:54:07] local.INFO: TCP Data received {"connection_id":126120,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f402bfb20012d18afc00722e9880061000a23..."} 
[2026-07-08 10:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402bfb20012d18afc00722e9880061000a23..."} 
[2026-07-08 10:54:07] local.INFO: Processing buffer {"connection_id":126120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402bfb20012d18afc00722e9880061000a23..."} 
[2026-07-08 10:54:07] local.INFO: Packet analysis {"connection_id":126120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402b"} 
[2026-07-08 10:54:07] local.INFO: Extracted packet for processing {"connection_id":126120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402b"} 
[2026-07-08 10:54:07] local.INFO: GPS Element Parsed {"raw_longitude":756592576,"raw_latitude":119728520,"longitude_deg":75.6592576,"latitude_deg":11.972852,"altitude":97,"angle":10,"satellites":35,"speed":0,"hex_longitude":"2d18afc0","hex_latitude":"0722e988","is_valid_coordinates":true} 
[2026-07-08 10:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572936192001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4689777869717504,"note":"Value kept but may cause issues"} 
[2026-07-08 10:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778851514717669376,"note":"Value kept but may cause issues"} 
[2026-07-08 10:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783488052000,"timestamp_ms":1783488052000,"timestamp_seconds":1783488052,"priority":1,"record_length":96,"hex_timestamp":"0000019f402bfb20"} 
[2026-07-08 10:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 10:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 10:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 10:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 10:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572936192001,"66":12526,"112":206,"28":31744,"24":0,"16":4689777869717504,"45":1778851514717669376},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 10:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 10:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 10:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572936192001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:54:07] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 10:54:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 10:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4689777869717504,"km_value":4689777869717.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778851514717669376,"description":"Unknown IO ID 45"} 
[2026-07-08 10:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572936192001,"power":12526,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778851514717669376}} 
[2026-07-08 10:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":126120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:54:07] local.INFO: GPS data processed {"connection_id":126120,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:54:07] local.INFO: Acknowledgment sent {"connection_id":126120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:54:25] local.INFO: TCP Data received {"connection_id":127378,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f402ab6e8012d0b130007029fc00002013426..."} 
[2026-07-08 10:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402ab6e8012d0b130007029fc00002013426..."} 
[2026-07-08 10:54:25] local.INFO: Processing buffer {"connection_id":127378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402ab6e8012d0b130007029fc00002013426..."} 
[2026-07-08 10:54:25] local.INFO: Packet analysis {"connection_id":127378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402a"} 
[2026-07-08 10:54:25] local.INFO: Extracted packet for processing {"connection_id":127378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402a"} 
[2026-07-08 10:54:25] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572843008001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783487969000,"timestamp_ms":1783487969000,"timestamp_seconds":1783487969,"priority":1,"record_length":96,"hex_timestamp":"0000019f402ab6e8"} 
[2026-07-08 10:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:54:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 10:54: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-07-08 10: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-07-08 10:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":127378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":127378,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":127378,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:54:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572843008001,"66":12689,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572843008001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:54:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572843008001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":127378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450411,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:54:25] local.INFO: GPS data processed {"connection_id":127378,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:54:25] local.INFO: Acknowledgment sent {"connection_id":127378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:54:32] local.INFO: TCP Data received {"connection_id":125377,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f402e7008012d7f980005afe330000001262a..."} 
[2026-07-08 10:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402e7008012d7f980005afe330000001262a..."} 
[2026-07-08 10:54:32] local.INFO: Processing buffer {"connection_id":125377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402e7008012d7f980005afe330000001262a..."} 
[2026-07-08 10:54:32] local.INFO: Packet analysis {"connection_id":125377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402e"} 
[2026-07-08 10:54:32] local.INFO: Extracted packet for processing {"connection_id":125377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402e"} 
[2026-07-08 10:54:32] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572905472001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783488213000,"timestamp_ms":1783488213000,"timestamp_seconds":1783488213,"priority":1,"record_length":96,"hex_timestamp":"0000019f402e7008"} 
[2026-07-08 10:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":216,"data_length":795,"current_offset":136} 
[2026-07-08 10:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572905472001,"66":25549,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572905472001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:54:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:54:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572905472001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":125377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:54:32] local.INFO: GPS data processed {"connection_id":125377,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:54:32] local.INFO: Acknowledgment sent {"connection_id":125377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:54:39] local.INFO: TCP Data received {"connection_id":126120,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f402c4940012d18afc00722e9880061000a23..."} 
[2026-07-08 10:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402c4940012d18afc00722e9880061000a23..."} 
[2026-07-08 10:54:39] local.INFO: Processing buffer {"connection_id":126120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402c4940012d18afc00722e9880061000a23..."} 
[2026-07-08 10:54:39] local.INFO: Packet analysis {"connection_id":126120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402c"} 
[2026-07-08 10:54:39] local.INFO: Extracted packet for processing {"connection_id":126120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402c"} 
[2026-07-08 10:54:39] local.INFO: GPS Element Parsed {"raw_longitude":756592576,"raw_latitude":119728520,"longitude_deg":75.6592576,"latitude_deg":11.972852,"altitude":97,"angle":10,"satellites":35,"speed":0,"hex_longitude":"2d18afc0","hex_latitude":"0722e988","is_valid_coordinates":true} 
[2026-07-08 10:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572941312001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4689777869717504,"note":"Value kept but may cause issues"} 
[2026-07-08 10:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778851514717669376,"note":"Value kept but may cause issues"} 
[2026-07-08 10:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783488072000,"timestamp_ms":1783488072000,"timestamp_seconds":1783488072,"priority":1,"record_length":96,"hex_timestamp":"0000019f402c4940"} 
[2026-07-08 10:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 10:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 10:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:54:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 10:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 10:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572941312001,"66":12558,"112":206,"28":31744,"24":0,"16":4689777869717504,"45":1778851514717669376},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 10:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 10:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 10:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572941312001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:54:39] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 10:54:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 10:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4689777869717504,"km_value":4689777869717.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778851514717669376,"description":"Unknown IO ID 45"} 
[2026-07-08 10:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572941312001,"power":12558,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778851514717669376}} 
[2026-07-08 10:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":126120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:54:39] local.INFO: GPS data processed {"connection_id":126120,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:54:39] local.INFO: Acknowledgment sent {"connection_id":126120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:54:45] local.INFO: TCP Data received {"connection_id":127379,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127379,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:54:45] local.INFO: Processing buffer {"connection_id":127379,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:54:45] local.INFO: IMEI packet received {"connection_id":127379,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":127379,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:54:50] local.INFO: TCP Data received {"connection_id":127379,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127379,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:54:50] local.INFO: Processing buffer {"connection_id":127379,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:54:50] local.INFO: IMEI packet received {"connection_id":127379,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":127379,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:54:53] local.INFO: TCP Data received {"connection_id":127379,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f402f4eb0012d0b130007029fc00002013427..."} 
[2026-07-08 10:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402f4eb0012d0b130007029fc00002013427..."} 
[2026-07-08 10:54:53] local.INFO: Processing buffer {"connection_id":127379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402f4eb0012d0b130007029fc00002013427..."} 
[2026-07-08 10:54:53] local.INFO: Packet analysis {"connection_id":127379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402f"} 
[2026-07-08 10:54:53] local.INFO: Extracted packet for processing {"connection_id":127379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402f"} 
[2026-07-08 10:54:53] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572920064001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783488270000,"timestamp_ms":1783488270000,"timestamp_seconds":1783488270,"priority":1,"record_length":96,"hex_timestamp":"0000019f402f4eb0"} 
[2026-07-08 10:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:54:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 10:54: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-07-08 10: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-07-08 10:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":127379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":127379,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":127379,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:54:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572920064001,"66":12678,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572920064001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:54:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572920064001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":127379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450414,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:54:53] local.INFO: GPS data processed {"connection_id":127379,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:54:53] local.INFO: Acknowledgment sent {"connection_id":127379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:54:56] local.INFO: TCP Data received {"connection_id":125379,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:54:56] local.INFO: Processing buffer {"connection_id":125379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:54:56] local.INFO: IMEI packet received {"connection_id":125379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":125379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:55:01] local.INFO: TCP Data received {"connection_id":125379,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:55:01] local.INFO: Processing buffer {"connection_id":125379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:55:01] local.INFO: IMEI packet received {"connection_id":125379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":125379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:55:02] local.INFO: TCP Data received {"connection_id":125379,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f402e7008012d7f980005afe330000001262a..."} 
[2026-07-08 10:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402e7008012d7f980005afe330000001262a..."} 
[2026-07-08 10:55:02] local.INFO: Processing buffer {"connection_id":125379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402e7008012d7f980005afe330000001262a..."} 
[2026-07-08 10:55:02] local.INFO: Packet analysis {"connection_id":125379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402e"} 
[2026-07-08 10:55:02] local.INFO: Extracted packet for processing {"connection_id":125379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402e"} 
[2026-07-08 10:55:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572905472001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783488213000,"timestamp_ms":1783488213000,"timestamp_seconds":1783488213,"priority":1,"record_length":96,"hex_timestamp":"0000019f402e7008"} 
[2026-07-08 10:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:55:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-08 10:55:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572905472001,"66":25549,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572905472001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:55:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:55:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572905472001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":125379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:55:02] local.INFO: GPS data processed {"connection_id":125379,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:55:02] local.INFO: Acknowledgment sent {"connection_id":125379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:55:06] local.INFO: TCP Data received {"connection_id":125380,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:55:06] local.INFO: Processing buffer {"connection_id":125380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:55:06] local.INFO: IMEI packet received {"connection_id":125380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 10:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":125380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:55:11] local.INFO: TCP Data received {"connection_id":125380,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:55:11] local.INFO: Processing buffer {"connection_id":125380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:55:11] local.INFO: IMEI packet received {"connection_id":125380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 10:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":125380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:55:12] local.INFO: TCP Data received {"connection_id":125380,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f402c9760012d18afc00722e9880061000a23..."} 
[2026-07-08 10:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402c9760012d18afc00722e9880061000a23..."} 
[2026-07-08 10:55:12] local.INFO: Processing buffer {"connection_id":125380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402c9760012d18afc00722e9880061000a23..."} 
[2026-07-08 10:55:12] local.INFO: Packet analysis {"connection_id":125380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402c"} 
[2026-07-08 10:55:12] local.INFO: Extracted packet for processing {"connection_id":125380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402c"} 
[2026-07-08 10:55:12] local.INFO: GPS Element Parsed {"raw_longitude":756592576,"raw_latitude":119728520,"longitude_deg":75.6592576,"latitude_deg":11.972852,"altitude":97,"angle":10,"satellites":35,"speed":0,"hex_longitude":"2d18afc0","hex_latitude":"0722e988","is_valid_coordinates":true} 
[2026-07-08 10:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572946432001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4689777869717504,"note":"Value kept but may cause issues"} 
[2026-07-08 10:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778851514717669376,"note":"Value kept but may cause issues"} 
[2026-07-08 10:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783488092000,"timestamp_ms":1783488092000,"timestamp_seconds":1783488092,"priority":1,"record_length":96,"hex_timestamp":"0000019f402c9760"} 
[2026-07-08 10:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:55: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-07-08 10:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-08 10:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-08 10:55:12] local.WARNING: Large IO value detected {"io_id":28,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-08 10:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2840854528,"note":"Value kept but may cause issues"} 
[2026-07-08 10:55:12] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3918004321,"note":"Value kept but may cause issues"} 
[2026-07-08 10:55:12] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249540370436123016,"note":"Value kept but may cause issues"} 
[2026-07-08 10:55:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882877134,"corrected_to":0} 
[2026-07-08 10:55:12] local.WARNING: Large IO value detected {"io_id":194,"raw_value":2684431640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:55:12] local.WARNING: Large IO value detected {"io_id":175,"raw_value":3221693161,"note":"Value kept but may cause issues"} 
[2026-07-08 10:55:12] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8070677153982715904,"note":"Value kept but may cause issues"} 
[2026-07-08 10:55:12] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-08 10:55:12] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,112,28,24,241,158,16,169,159,251,45,192,233,97,35,10,66,173,34,94,1,240,69,64,4,113,205,194,175,136,32,239,49,2,7,231,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3882877134,"validated":0}]} 
[2026-07-08 10:55:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6989597767119142912,"timestamp_seconds":6989597767119143.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 10:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 10:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 10:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572946432001,"66":12558,"112":206,"28":31744,"24":0,"16":4689777869717504,"45":1778851514717669376},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 10:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 10:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 10:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572946432001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:55:12] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 10:55:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 10:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4689777869717504,"km_value":4689777869717.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778851514717669376,"description":"Unknown IO ID 45"} 
[2026-07-08 10:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572946432001,"power":12558,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778851514717669376}} 
[2026-07-08 10:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":125380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:55:12] local.INFO: GPS data processed {"connection_id":125380,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:55:12] local.INFO: Acknowledgment sent {"connection_id":125380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:55:13] local.INFO: TCP Data received {"connection_id":125380,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f402ce198012d18afc00722e9880061000a23..."} 
[2026-07-08 10:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402ce198012d18afc00722e9880061000a23..."} 
[2026-07-08 10:55:13] local.INFO: Processing buffer {"connection_id":125380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402ce198012d18afc00722e9880061000a23..."} 
[2026-07-08 10:55:13] local.INFO: Packet analysis {"connection_id":125380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402c"} 
[2026-07-08 10:55:13] local.INFO: Extracted packet for processing {"connection_id":125380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402c"} 
[2026-07-08 10:55:13] local.INFO: GPS Element Parsed {"raw_longitude":756592576,"raw_latitude":119728520,"longitude_deg":75.6592576,"latitude_deg":11.972852,"altitude":97,"angle":10,"satellites":35,"speed":0,"hex_longitude":"2d18afc0","hex_latitude":"0722e988","is_valid_coordinates":true} 
[2026-07-08 10:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572951552001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4689777869717504,"note":"Value kept but may cause issues"} 
[2026-07-08 10:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778851514717669376,"note":"Value kept but may cause issues"} 
[2026-07-08 10:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783488111000,"timestamp_ms":1783488111000,"timestamp_seconds":1783488111,"priority":1,"record_length":96,"hex_timestamp":"0000019f402ce198"} 
[2026-07-08 10:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:55:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 10: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-08 10:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-08 10:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2840854528,"note":"Value kept but may cause issues"} 
[2026-07-08 10:55:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249540370436123016,"note":"Value kept but may cause issues"} 
[2026-07-08 10:55:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882877134,"corrected_to":0} 
[2026-07-08 10:55:13] local.WARNING: Large IO value detected {"io_id":175,"raw_value":3221693161,"note":"Value kept but may cause issues"} 
[2026-07-08 10:55:13] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8070677153982715904,"note":"Value kept but may cause issues"} 
[2026-07-08 10:55:13] local.WARNING: Large IO value detected {"io_id":29,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-08 10:55:13] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-08 10:55:13] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,112,28,24,241,158,16,169,159,73,45,192,233,97,35,10,66,251,173,1,240,47,64,34,4,113,205,175,136,239,49,2,7,231,29,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3882877134,"validated":0}]} 
[2026-07-08 10:55:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6989597767119142912,"timestamp_seconds":6989597767119143.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 10:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 10:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 10:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572951552001,"66":12526,"112":206,"28":31744,"24":0,"16":4689777869717504,"45":1778851514717669376},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 10:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 10:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 10:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572951552001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:55:13] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 10:55:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 10:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4689777869717504,"km_value":4689777869717.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778851514717669376,"description":"Unknown IO ID 45"} 
[2026-07-08 10:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572951552001,"power":12526,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778851514717669376}} 
[2026-07-08 10:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":125380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:55:13] local.INFO: GPS data processed {"connection_id":125380,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:55:13] local.INFO: Acknowledgment sent {"connection_id":125380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:55:27] local.INFO: TCP Data received {"connection_id":127379,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f402f4eb0012d0b130007029fc00002013427..."} 
[2026-07-08 10:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402f4eb0012d0b130007029fc00002013427..."} 
[2026-07-08 10:55:27] local.INFO: Processing buffer {"connection_id":127379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402f4eb0012d0b130007029fc00002013427..."} 
[2026-07-08 10:55:27] local.INFO: Packet analysis {"connection_id":127379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402f"} 
[2026-07-08 10:55:27] local.INFO: Extracted packet for processing {"connection_id":127379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402f"} 
[2026-07-08 10:55:27] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572920064001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783488270000,"timestamp_ms":1783488270000,"timestamp_seconds":1783488270,"priority":1,"record_length":96,"hex_timestamp":"0000019f402f4eb0"} 
[2026-07-08 10:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:55:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 10:55:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:55:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":127379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":127379,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":127379,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572920064001,"66":12678,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572920064001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:55:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572920064001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":127379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450418,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:55:28] local.INFO: GPS data processed {"connection_id":127379,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:55:28] local.INFO: Acknowledgment sent {"connection_id":127379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:55:33] local.INFO: TCP Data received {"connection_id":125379,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f402e7008012d7f980005afe330000001262a..."} 
[2026-07-08 10:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402e7008012d7f980005afe330000001262a..."} 
[2026-07-08 10:55:33] local.INFO: Processing buffer {"connection_id":125379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402e7008012d7f980005afe330000001262a..."} 
[2026-07-08 10:55:33] local.INFO: Packet analysis {"connection_id":125379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402e"} 
[2026-07-08 10:55:33] local.INFO: Extracted packet for processing {"connection_id":125379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402e"} 
[2026-07-08 10:55:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572905472001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783488213000,"timestamp_ms":1783488213000,"timestamp_seconds":1783488213,"priority":1,"record_length":96,"hex_timestamp":"0000019f402e7008"} 
[2026-07-08 10:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-08 10:55:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:55:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572905472001,"66":25549,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572905472001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:55:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:55:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572905472001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":125379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:55:33] local.INFO: GPS data processed {"connection_id":125379,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:55:33] local.INFO: Acknowledgment sent {"connection_id":125379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:55:45] local.INFO: TCP Data received {"connection_id":127380,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127380,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:55:45] local.INFO: Processing buffer {"connection_id":127380,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:55:45] local.INFO: IMEI packet received {"connection_id":127380,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":127380,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:55:45] local.INFO: TCP Data received {"connection_id":125380,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f402d2fb8012d18afc00722e9880061000a22..."} 
[2026-07-08 10:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402d2fb8012d18afc00722e9880061000a22..."} 
[2026-07-08 10:55:45] local.INFO: Processing buffer {"connection_id":125380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402d2fb8012d18afc00722e9880061000a22..."} 
[2026-07-08 10:55:45] local.INFO: Packet analysis {"connection_id":125380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402d"} 
[2026-07-08 10:55:45] local.INFO: Extracted packet for processing {"connection_id":125380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402d"} 
[2026-07-08 10:55:45] local.INFO: GPS Element Parsed {"raw_longitude":756592576,"raw_latitude":119728520,"longitude_deg":75.6592576,"latitude_deg":11.972852,"altitude":97,"angle":10,"satellites":34,"speed":0,"hex_longitude":"2d18afc0","hex_latitude":"0722e988","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572956416001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4689777869717504,"note":"Value kept but may cause issues"} 
[2026-07-08 10:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778851514717669376,"note":"Value kept but may cause issues"} 
[2026-07-08 10:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783488131000,"timestamp_ms":1783488131000,"timestamp_seconds":1783488131,"priority":1,"record_length":96,"hex_timestamp":"0000019f402d2fb8"} 
[2026-07-08 10:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:55:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 10: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 10:55:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":125380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":125380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":125380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 10:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 10:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572956416001,"66":11961,"112":206,"28":31744,"24":0,"16":4689777869717504,"45":1778851514717669376},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 10:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 10:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 10:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572956416001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:55:45] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 10:55:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 10:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4689777869717504,"km_value":4689777869717.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778851514717669376,"description":"Unknown IO ID 45"} 
[2026-07-08 10:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572956416001,"power":11961,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778851514717669376}} 
[2026-07-08 10:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":125380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:55:45] local.INFO: GPS data processed {"connection_id":125380,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:55:45] local.INFO: Acknowledgment sent {"connection_id":125380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:55:50] local.INFO: TCP Data received {"connection_id":127380,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127380,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:55:50] local.INFO: Processing buffer {"connection_id":127380,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:55:50] local.INFO: IMEI packet received {"connection_id":127380,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":127380,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:55:52] local.INFO: TCP Data received {"connection_id":127380,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f402f4eb0012d0b130007029fc00002013427..."} 
[2026-07-08 10:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402f4eb0012d0b130007029fc00002013427..."} 
[2026-07-08 10:55:52] local.INFO: Processing buffer {"connection_id":127380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402f4eb0012d0b130007029fc00002013427..."} 
[2026-07-08 10:55:52] local.INFO: Packet analysis {"connection_id":127380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402f"} 
[2026-07-08 10:55:52] local.INFO: Extracted packet for processing {"connection_id":127380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402f"} 
[2026-07-08 10:55:52] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572920064001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783488270000,"timestamp_ms":1783488270000,"timestamp_seconds":1783488270,"priority":1,"record_length":96,"hex_timestamp":"0000019f402f4eb0"} 
[2026-07-08 10:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:55:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 10:55:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:55:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":127380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":127380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":127380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:55:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572920064001,"66":12678,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572920064001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:55:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572920064001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":127380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450421,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:55:52] local.INFO: GPS data processed {"connection_id":127380,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:55:52] local.INFO: Acknowledgment sent {"connection_id":127380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:56:01] local.INFO: TCP Data received {"connection_id":127381,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:56:01] local.INFO: Processing buffer {"connection_id":127381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:56:01] local.INFO: IMEI packet received {"connection_id":127381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 10:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":127381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:56:01] local.INFO: TCP Data received {"connection_id":125382,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:56:01] local.INFO: Processing buffer {"connection_id":125382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:56:01] local.INFO: IMEI packet received {"connection_id":125382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":125382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:56:06] local.INFO: TCP Data received {"connection_id":127381,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:56:06] local.INFO: Processing buffer {"connection_id":127381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:56:06] local.INFO: IMEI packet received {"connection_id":127381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 10:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":127381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:56:06] local.INFO: TCP Data received {"connection_id":125382,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:56:06] local.INFO: Processing buffer {"connection_id":125382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:56:06] local.INFO: IMEI packet received {"connection_id":125382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":125382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:56:07] local.INFO: TCP Data received {"connection_id":125382,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f402e7008012d7f980005afe330000001262a..."} 
[2026-07-08 10:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402e7008012d7f980005afe330000001262a..."} 
[2026-07-08 10:56:07] local.INFO: Processing buffer {"connection_id":125382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402e7008012d7f980005afe330000001262a..."} 
[2026-07-08 10:56:07] local.INFO: Packet analysis {"connection_id":125382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402e"} 
[2026-07-08 10:56:07] local.INFO: Extracted packet for processing {"connection_id":125382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402e"} 
[2026-07-08 10:56:07] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572905472001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783488213000,"timestamp_ms":1783488213000,"timestamp_seconds":1783488213,"priority":1,"record_length":96,"hex_timestamp":"0000019f402e7008"} 
[2026-07-08 10:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-08 10:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572905472001,"66":25549,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572905472001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:56:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:56:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572905472001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":125382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:56:07] local.INFO: GPS data processed {"connection_id":125382,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:56:07] local.INFO: Acknowledgment sent {"connection_id":125382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:56:07] local.INFO: TCP Data received {"connection_id":127381,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f402d7dd8012d18afc00722e9880061000a23..."} 
[2026-07-08 10:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402d7dd8012d18afc00722e9880061000a23..."} 
[2026-07-08 10:56:08] local.INFO: Processing buffer {"connection_id":127381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402d7dd8012d18afc00722e9880061000a23..."} 
[2026-07-08 10:56:08] local.INFO: Packet analysis {"connection_id":127381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402d"} 
[2026-07-08 10:56:08] local.INFO: Extracted packet for processing {"connection_id":127381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402d"} 
[2026-07-08 10:56:08] local.INFO: GPS Element Parsed {"raw_longitude":756592576,"raw_latitude":119728520,"longitude_deg":75.6592576,"latitude_deg":11.972852,"altitude":97,"angle":10,"satellites":35,"speed":0,"hex_longitude":"2d18afc0","hex_latitude":"0722e988","is_valid_coordinates":true} 
[2026-07-08 10:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572961536001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4689777869717504,"note":"Value kept but may cause issues"} 
[2026-07-08 10:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778851514717669376,"note":"Value kept but may cause issues"} 
[2026-07-08 10:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783488151000,"timestamp_ms":1783488151000,"timestamp_seconds":1783488151,"priority":1,"record_length":96,"hex_timestamp":"0000019f402d7dd8"} 
[2026-07-08 10:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 10: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":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 10:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2093,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:56:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":127381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":127381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":127381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 10:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 10:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572961536001,"66":12504,"112":206,"28":31744,"24":0,"16":4689777869717504,"45":1778851514717669376},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 10:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 10:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 10:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572961536001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:56:08] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 10:56:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 10:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4689777869717504,"km_value":4689777869717.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778851514717669376,"description":"Unknown IO ID 45"} 
[2026-07-08 10:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572961536001,"power":12504,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778851514717669376}} 
[2026-07-08 10:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":127381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:56:08] local.INFO: GPS data processed {"connection_id":127381,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:56:08] local.INFO: Acknowledgment sent {"connection_id":127381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:56:11] local.INFO: TCP Data received {"connection_id":125382,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f402e7008012d7f980005afe330000001262a..."} 
[2026-07-08 10:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402e7008012d7f980005afe330000001262a..."} 
[2026-07-08 10:56:11] local.INFO: Processing buffer {"connection_id":125382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402e7008012d7f980005afe330000001262a..."} 
[2026-07-08 10:56:11] local.INFO: Packet analysis {"connection_id":125382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402e"} 
[2026-07-08 10:56:11] local.INFO: Extracted packet for processing {"connection_id":125382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402e"} 
[2026-07-08 10:56:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572905472001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783488213000,"timestamp_ms":1783488213000,"timestamp_seconds":1783488213,"priority":1,"record_length":96,"hex_timestamp":"0000019f402e7008"} 
[2026-07-08 10:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-08 10:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572905472001,"66":25549,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572905472001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:56:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:56:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572905472001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":125382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:56:11] local.INFO: GPS data processed {"connection_id":125382,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:56:11] local.INFO: Acknowledgment sent {"connection_id":125382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:56:24] local.INFO: TCP Data received {"connection_id":127380,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f402f4eb0012d0b130007029fc00002013427..."} 
[2026-07-08 10:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402f4eb0012d0b130007029fc00002013427..."} 
[2026-07-08 10:56:24] local.INFO: Processing buffer {"connection_id":127380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402f4eb0012d0b130007029fc00002013427..."} 
[2026-07-08 10:56:24] local.INFO: Packet analysis {"connection_id":127380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402f"} 
[2026-07-08 10:56:24] local.INFO: Extracted packet for processing {"connection_id":127380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402f"} 
[2026-07-08 10:56:24] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572920064001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783488270000,"timestamp_ms":1783488270000,"timestamp_seconds":1783488270,"priority":1,"record_length":96,"hex_timestamp":"0000019f402f4eb0"} 
[2026-07-08 10:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:56:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 10:56:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:56:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":127380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":127380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":127380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:56:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572920064001,"66":12678,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572920064001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:56:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572920064001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":127380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450425,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:56:24] local.INFO: GPS data processed {"connection_id":127380,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:56:24] local.INFO: Acknowledgment sent {"connection_id":127380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:56:40] local.INFO: TCP Data received {"connection_id":127381,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f402dc810012d18afc00722e9880061000a24..."} 
[2026-07-08 10:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402dc810012d18afc00722e9880061000a24..."} 
[2026-07-08 10:56:40] local.INFO: Processing buffer {"connection_id":127381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402dc810012d18afc00722e9880061000a24..."} 
[2026-07-08 10:56:40] local.INFO: Packet analysis {"connection_id":127381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402d"} 
[2026-07-08 10:56:40] local.INFO: Extracted packet for processing {"connection_id":127381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402d"} 
[2026-07-08 10:56:40] local.INFO: GPS Element Parsed {"raw_longitude":756592576,"raw_latitude":119728520,"longitude_deg":75.6592576,"latitude_deg":11.972852,"altitude":97,"angle":10,"satellites":36,"speed":0,"hex_longitude":"2d18afc0","hex_latitude":"0722e988","is_valid_coordinates":true} 
[2026-07-08 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-07-08 10:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572966656001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4689777869717504,"note":"Value kept but may cause issues"} 
[2026-07-08 10:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778851514717669376,"note":"Value kept but may cause issues"} 
[2026-07-08 10:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783488170000,"timestamp_ms":1783488170000,"timestamp_seconds":1783488170,"priority":1,"record_length":96,"hex_timestamp":"0000019f402dc810"} 
[2026-07-08 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-07-08 10:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-08 10:56:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 10:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":127381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":127381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":127381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 10:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 10:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572966656001,"66":12526,"112":206,"28":31744,"24":0,"16":4689777869717504,"45":1778851514717669376},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 10:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 10:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 10:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572966656001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:56:40] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 10:56:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 10:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4689777869717504,"km_value":4689777869717.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778851514717669376,"description":"Unknown IO ID 45"} 
[2026-07-08 10:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572966656001,"power":12526,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778851514717669376}} 
[2026-07-08 10:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":127381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:56:40] local.INFO: GPS data processed {"connection_id":127381,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:56:40] local.INFO: Acknowledgment sent {"connection_id":127381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:56:45] local.INFO: TCP Data received {"connection_id":125274,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125274,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:56:45] local.INFO: Processing buffer {"connection_id":125274,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:56:45] local.INFO: IMEI packet received {"connection_id":125274,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":125274,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:56:50] local.INFO: TCP Data received {"connection_id":125274,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125274,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:56:50] local.INFO: Processing buffer {"connection_id":125274,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:56:50] local.INFO: IMEI packet received {"connection_id":125274,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":125274,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:56:51] local.INFO: TCP Data received {"connection_id":125274,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f402f4eb0012d0b130007029fc00002013427..."} 
[2026-07-08 10:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402f4eb0012d0b130007029fc00002013427..."} 
[2026-07-08 10:56:51] local.INFO: Processing buffer {"connection_id":125274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402f4eb0012d0b130007029fc00002013427..."} 
[2026-07-08 10:56:51] local.INFO: Packet analysis {"connection_id":125274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402f"} 
[2026-07-08 10:56:51] local.INFO: Extracted packet for processing {"connection_id":125274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402f"} 
[2026-07-08 10:56:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572920064001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783488270000,"timestamp_ms":1783488270000,"timestamp_seconds":1783488270,"priority":1,"record_length":96,"hex_timestamp":"0000019f402f4eb0"} 
[2026-07-08 10:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:56: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-07-08 10:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 10:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:56:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125274,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125274,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572920064001,"66":12678,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572920064001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:56:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572920064001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":125274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450427,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:56:51] local.INFO: GPS data processed {"connection_id":125274,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:56:51] local.INFO: Acknowledgment sent {"connection_id":125274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:56:56] local.INFO: TCP Data received {"connection_id":126122,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:56:56] local.INFO: Processing buffer {"connection_id":126122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:56:56] local.INFO: IMEI packet received {"connection_id":126122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":126122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:57:00] local.INFO: TCP Data received {"connection_id":125383,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:57:00] local.INFO: Processing buffer {"connection_id":125383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:57:00] local.INFO: IMEI packet received {"connection_id":125383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 10:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":125383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:57:01] local.INFO: TCP Data received {"connection_id":126122,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:57:01] local.INFO: Processing buffer {"connection_id":126122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:57:01] local.INFO: IMEI packet received {"connection_id":126122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":126122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:57:03] local.INFO: TCP Data received {"connection_id":126122,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f402e7008012d7f980005afe330000001262a..."} 
[2026-07-08 10:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402e7008012d7f980005afe330000001262a..."} 
[2026-07-08 10:57:03] local.INFO: Processing buffer {"connection_id":126122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402e7008012d7f980005afe330000001262a..."} 
[2026-07-08 10:57:03] local.INFO: Packet analysis {"connection_id":126122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402e"} 
[2026-07-08 10:57:03] local.INFO: Extracted packet for processing {"connection_id":126122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402e"} 
[2026-07-08 10:57:03] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 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-07-08 10:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572905472001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783488213000,"timestamp_ms":1783488213000,"timestamp_seconds":1783488213,"priority":1,"record_length":96,"hex_timestamp":"0000019f402e7008"} 
[2026-07-08 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-07-08 10:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-08 10:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 10:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572905472001,"66":25549,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572905472001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:57:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:57:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572905472001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":126122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:57:03] local.INFO: GPS data processed {"connection_id":126122,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:57:03] local.INFO: Acknowledgment sent {"connection_id":126122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:57:06] local.INFO: TCP Data received {"connection_id":125383,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:57:06] local.INFO: Processing buffer {"connection_id":125383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:57:06] local.INFO: IMEI packet received {"connection_id":125383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 10:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":125383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:57:08] local.INFO: TCP Data received {"connection_id":125383,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f402e1630012d18afc00722e9880061000a24..."} 
[2026-07-08 10:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402e1630012d18afc00722e9880061000a24..."} 
[2026-07-08 10:57:08] local.INFO: Processing buffer {"connection_id":125383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402e1630012d18afc00722e9880061000a24..."} 
[2026-07-08 10:57:08] local.INFO: Packet analysis {"connection_id":125383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402e"} 
[2026-07-08 10:57:08] local.INFO: Extracted packet for processing {"connection_id":125383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402e"} 
[2026-07-08 10:57:08] local.INFO: GPS Element Parsed {"raw_longitude":756592576,"raw_latitude":119728520,"longitude_deg":75.6592576,"latitude_deg":11.972852,"altitude":97,"angle":10,"satellites":36,"speed":0,"hex_longitude":"2d18afc0","hex_latitude":"0722e988","is_valid_coordinates":true} 
[2026-07-08 10:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572971520001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4689777869717504,"note":"Value kept but may cause issues"} 
[2026-07-08 10:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778851514717669376,"note":"Value kept but may cause issues"} 
[2026-07-08 10:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783488190000,"timestamp_ms":1783488190000,"timestamp_seconds":1783488190,"priority":1,"record_length":96,"hex_timestamp":"0000019f402e1630"} 
[2026-07-08 10:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 10:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 10:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 10:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 10:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572971520001,"66":12504,"112":206,"28":31744,"24":0,"16":4689777869717504,"45":1778851514717669376},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 10:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 10:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 10:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572971520001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:57:08] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 10:57:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 10:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4689777869717504,"km_value":4689777869717.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778851514717669376,"description":"Unknown IO ID 45"} 
[2026-07-08 10:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572971520001,"power":12504,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778851514717669376}} 
[2026-07-08 10:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":125383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:57:08] local.INFO: GPS data processed {"connection_id":125383,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:57:08] local.INFO: Acknowledgment sent {"connection_id":125383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:57:22] local.INFO: TCP Data received {"connection_id":127382,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127382,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:57:22] local.INFO: Processing buffer {"connection_id":127382,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:57:22] local.INFO: IMEI packet received {"connection_id":127382,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 10:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":127382,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:57:23] local.INFO: TCP Data received {"connection_id":125274,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f402f4eb0012d0b130007029fc00002013427..."} 
[2026-07-08 10:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402f4eb0012d0b130007029fc00002013427..."} 
[2026-07-08 10:57:23] local.INFO: Processing buffer {"connection_id":125274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402f4eb0012d0b130007029fc00002013427..."} 
[2026-07-08 10:57:23] local.INFO: Packet analysis {"connection_id":125274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402f"} 
[2026-07-08 10:57:23] local.INFO: Extracted packet for processing {"connection_id":125274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402f"} 
[2026-07-08 10:57:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572920064001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783488270000,"timestamp_ms":1783488270000,"timestamp_seconds":1783488270,"priority":1,"record_length":96,"hex_timestamp":"0000019f402f4eb0"} 
[2026-07-08 10:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 10:57:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":125274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":125274,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":125274,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572920064001,"66":12678,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572920064001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:57:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572920064001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":125274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450430,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:57:23] local.INFO: GPS data processed {"connection_id":125274,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:57:23] local.INFO: Acknowledgment sent {"connection_id":125274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:57:34] local.INFO: TCP Data received {"connection_id":126122,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f402e7008012d7f980005afe330000001262a..."} 
[2026-07-08 10:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402e7008012d7f980005afe330000001262a..."} 
[2026-07-08 10:57:34] local.INFO: Processing buffer {"connection_id":126122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402e7008012d7f980005afe330000001262a..."} 
[2026-07-08 10:57:34] local.INFO: Packet analysis {"connection_id":126122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402e"} 
[2026-07-08 10:57:34] local.INFO: Extracted packet for processing {"connection_id":126122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402e"} 
[2026-07-08 10:57:34] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 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-07-08 10:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572905472001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783488213000,"timestamp_ms":1783488213000,"timestamp_seconds":1783488213,"priority":1,"record_length":96,"hex_timestamp":"0000019f402e7008"} 
[2026-07-08 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-07-08 10:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-08 10:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 10:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572905472001,"66":25549,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572905472001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:57:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:57:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572905472001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":126122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:57:34] local.INFO: GPS data processed {"connection_id":126122,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:57:34] local.INFO: Acknowledgment sent {"connection_id":126122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:57:39] local.INFO: TCP Data received {"connection_id":125383,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f402e6068012d18afc00722e9880061000a24..."} 
[2026-07-08 10:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402e6068012d18afc00722e9880061000a24..."} 
[2026-07-08 10:57:39] local.INFO: Processing buffer {"connection_id":125383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402e6068012d18afc00722e9880061000a24..."} 
[2026-07-08 10:57:39] local.INFO: Packet analysis {"connection_id":125383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402e"} 
[2026-07-08 10:57:39] local.INFO: Extracted packet for processing {"connection_id":125383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402e"} 
[2026-07-08 10:57:39] local.INFO: GPS Element Parsed {"raw_longitude":756592576,"raw_latitude":119728520,"longitude_deg":75.6592576,"latitude_deg":11.972852,"altitude":97,"angle":10,"satellites":36,"speed":0,"hex_longitude":"2d18afc0","hex_latitude":"0722e988","is_valid_coordinates":true} 
[2026-07-08 10:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572976640001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4689777869717504,"note":"Value kept but may cause issues"} 
[2026-07-08 10:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778851514717669376,"note":"Value kept but may cause issues"} 
[2026-07-08 10:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783488209000,"timestamp_ms":1783488209000,"timestamp_seconds":1783488209,"priority":1,"record_length":96,"hex_timestamp":"0000019f402e6068"} 
[2026-07-08 10:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 10:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-08 10:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 10:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 10:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572976640001,"66":12493,"112":206,"28":31744,"24":0,"16":4689777869717504,"45":1778851514717669376},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 10:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 10:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 10:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572976640001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:57:39] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 10:57:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 10:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4689777869717504,"km_value":4689777869717.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778851514717669376,"description":"Unknown IO ID 45"} 
[2026-07-08 10:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572976640001,"power":12493,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778851514717669376}} 
[2026-07-08 10:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":125383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:57:39] local.INFO: GPS data processed {"connection_id":125383,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:57:39] local.INFO: Acknowledgment sent {"connection_id":125383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:57:45] local.INFO: TCP Data received {"connection_id":126123,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126123,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:57:45] local.INFO: Processing buffer {"connection_id":126123,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:57:45] local.INFO: IMEI packet received {"connection_id":126123,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":126123,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:57:50] local.INFO: TCP Data received {"connection_id":126123,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126123,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:57:50] local.INFO: Processing buffer {"connection_id":126123,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:57:50] local.INFO: IMEI packet received {"connection_id":126123,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":126123,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:57:51] local.INFO: TCP Data received {"connection_id":126123,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f402f4eb0012d0b130007029fc00002013427..."} 
[2026-07-08 10:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402f4eb0012d0b130007029fc00002013427..."} 
[2026-07-08 10:57:51] local.INFO: Processing buffer {"connection_id":126123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402f4eb0012d0b130007029fc00002013427..."} 
[2026-07-08 10:57:51] local.INFO: Packet analysis {"connection_id":126123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402f"} 
[2026-07-08 10:57:51] local.INFO: Extracted packet for processing {"connection_id":126123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402f"} 
[2026-07-08 10:57:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572920064001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783488270000,"timestamp_ms":1783488270000,"timestamp_seconds":1783488270,"priority":1,"record_length":96,"hex_timestamp":"0000019f402f4eb0"} 
[2026-07-08 10:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:57: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-07-08 10:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 10:57:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:57:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126123,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126123,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572920064001,"66":12678,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572920064001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:57:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572920064001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":126123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450433,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:57:51] local.INFO: GPS data processed {"connection_id":126123,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:57:51] local.INFO: Acknowledgment sent {"connection_id":126123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:57:56] local.INFO: TCP Data received {"connection_id":125276,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:57:56] local.INFO: Processing buffer {"connection_id":125276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:57:56] local.INFO: IMEI packet received {"connection_id":125276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":125276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:57:56] local.INFO: TCP Data received {"connection_id":125275,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125275,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:57:56] local.INFO: Processing buffer {"connection_id":125275,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 10:57:56] local.INFO: IMEI packet received {"connection_id":125275,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 10:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":125275,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:58:00] local.INFO: TCP Data received {"connection_id":126124,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:58:00] local.INFO: Processing buffer {"connection_id":126124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:58:00] local.INFO: IMEI packet received {"connection_id":126124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 10:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":126124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:58:01] local.INFO: TCP Data received {"connection_id":125276,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:58:01] local.INFO: Processing buffer {"connection_id":125276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:58:01] local.INFO: IMEI packet received {"connection_id":125276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":125276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:58:01] local.INFO: TCP Data received {"connection_id":125276,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019f402e7008012d7f980005afe330000001262a..."} 
[2026-07-08 10:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402e7008012d7f980005afe330000001262a..."} 
[2026-07-08 10:58:01] local.INFO: Processing buffer {"connection_id":125276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402e7008012d7f980005afe330000001262a..."} 
[2026-07-08 10:58:01] local.INFO: Packet analysis {"connection_id":125276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402e"} 
[2026-07-08 10:58:01] local.INFO: Extracted packet for processing {"connection_id":125276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402e"} 
[2026-07-08 10:58:01] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572905472001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783488213000,"timestamp_ms":1783488213000,"timestamp_seconds":1783488213,"priority":1,"record_length":96,"hex_timestamp":"0000019f402e7008"} 
[2026-07-08 10:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":216,"data_length":795,"current_offset":136} 
[2026-07-08 10:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:58:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:58:01] 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-07-08 10:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572905472001,"66":25549,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572905472001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:58:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:58:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572905472001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":125276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:58:01] local.INFO: GPS data processed {"connection_id":125276,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:58:01] local.INFO: Acknowledgment sent {"connection_id":125276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:58:06] local.INFO: TCP Data received {"connection_id":126124,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:58:06] local.INFO: Processing buffer {"connection_id":126124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:58:06] local.INFO: IMEI packet received {"connection_id":126124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 10:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":126124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:58:07] local.INFO: TCP Data received {"connection_id":125276,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019f402e7008012d7f980005afe330000001262a..."} 
[2026-07-08 10:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402e7008012d7f980005afe330000001262a..."} 
[2026-07-08 10:58:07] local.INFO: Processing buffer {"connection_id":125276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402e7008012d7f980005afe330000001262a..."} 
[2026-07-08 10:58:07] local.INFO: Packet analysis {"connection_id":125276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402e"} 
[2026-07-08 10:58:07] local.INFO: Extracted packet for processing {"connection_id":125276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402e"} 
[2026-07-08 10:58:07] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572905472001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783488213000,"timestamp_ms":1783488213000,"timestamp_seconds":1783488213,"priority":1,"record_length":96,"hex_timestamp":"0000019f402e7008"} 
[2026-07-08 10:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-08 10:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:58:07] 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-07-08 10:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572905472001,"66":25549,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572905472001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:58:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:58:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572905472001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":125276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:58:07] local.INFO: GPS data processed {"connection_id":125276,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:58:07] local.INFO: Acknowledgment sent {"connection_id":125276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:58:07] local.INFO: TCP Data received {"connection_id":126124,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f402eae88012d18afc00722e9880061000a24..."} 
[2026-07-08 10:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402eae88012d18afc00722e9880061000a24..."} 
[2026-07-08 10:58:07] local.INFO: Processing buffer {"connection_id":126124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402eae88012d18afc00722e9880061000a24..."} 
[2026-07-08 10:58:07] local.INFO: Packet analysis {"connection_id":126124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402e"} 
[2026-07-08 10:58:07] local.INFO: Extracted packet for processing {"connection_id":126124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402e"} 
[2026-07-08 10:58:07] local.INFO: GPS Element Parsed {"raw_longitude":756592576,"raw_latitude":119728520,"longitude_deg":75.6592576,"latitude_deg":11.972852,"altitude":97,"angle":10,"satellites":36,"speed":0,"hex_longitude":"2d18afc0","hex_latitude":"0722e988","is_valid_coordinates":true} 
[2026-07-08 10:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572981504001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4689777869717504,"note":"Value kept but may cause issues"} 
[2026-07-08 10:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778851514717669376,"note":"Value kept but may cause issues"} 
[2026-07-08 10:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783488229000,"timestamp_ms":1783488229000,"timestamp_seconds":1783488229,"priority":1,"record_length":96,"hex_timestamp":"0000019f402eae88"} 
[2026-07-08 10:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 10:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-08 10:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2283,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 10:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 10:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572981504001,"66":12461,"112":206,"28":31744,"24":0,"16":4689777869717504,"45":1778851514717669376},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 10:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 10:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 10:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572981504001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:58:07] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 10:58:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 10:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4689777869717504,"km_value":4689777869717.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778851514717669376,"description":"Unknown IO ID 45"} 
[2026-07-08 10:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572981504001,"power":12461,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778851514717669376}} 
[2026-07-08 10:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":126124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:58:07] local.INFO: GPS data processed {"connection_id":126124,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:58:07] local.INFO: Acknowledgment sent {"connection_id":126124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:58:23] local.INFO: TCP Data received {"connection_id":126123,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f402f4eb0012d0b130007029fc00002013427..."} 
[2026-07-08 10:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402f4eb0012d0b130007029fc00002013427..."} 
[2026-07-08 10:58:23] local.INFO: Processing buffer {"connection_id":126123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402f4eb0012d0b130007029fc00002013427..."} 
[2026-07-08 10:58:23] local.INFO: Packet analysis {"connection_id":126123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402f"} 
[2026-07-08 10:58:23] local.INFO: Extracted packet for processing {"connection_id":126123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402f"} 
[2026-07-08 10:58:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572920064001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783488270000,"timestamp_ms":1783488270000,"timestamp_seconds":1783488270,"priority":1,"record_length":96,"hex_timestamp":"0000019f402f4eb0"} 
[2026-07-08 10:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 10:58:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:58:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":126123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":126123,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":126123,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572920064001,"66":12678,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572920064001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:58:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572920064001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":126123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450437,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:58:23] local.INFO: GPS data processed {"connection_id":126123,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:58:23] local.INFO: Acknowledgment sent {"connection_id":126123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:58:38] local.INFO: TCP Data received {"connection_id":125276,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019f402e7008012d7f980005afe330000001262a..."} 
[2026-07-08 10:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402e7008012d7f980005afe330000001262a..."} 
[2026-07-08 10:58:38] local.INFO: Processing buffer {"connection_id":125276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402e7008012d7f980005afe330000001262a..."} 
[2026-07-08 10:58:38] local.INFO: Packet analysis {"connection_id":125276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402e"} 
[2026-07-08 10:58:38] local.INFO: Extracted packet for processing {"connection_id":125276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402e"} 
[2026-07-08 10:58:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 10:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572905472001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783488213000,"timestamp_ms":1783488213000,"timestamp_seconds":1783488213,"priority":1,"record_length":96,"hex_timestamp":"0000019f402e7008"} 
[2026-07-08 10:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-08 10:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:58:38] 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-07-08 10:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572905472001,"66":25549,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572905472001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:58:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:58:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572905472001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":125276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:58:38] local.INFO: GPS data processed {"connection_id":125276,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:58:38] local.INFO: Acknowledgment sent {"connection_id":125276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:58:39] local.INFO: TCP Data received {"connection_id":126124,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f402efca8012d18afc00722e9880061000a24..."} 
[2026-07-08 10:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402efca8012d18afc00722e9880061000a24..."} 
[2026-07-08 10:58:39] local.INFO: Processing buffer {"connection_id":126124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402efca8012d18afc00722e9880061000a24..."} 
[2026-07-08 10:58:39] local.INFO: Packet analysis {"connection_id":126124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402e"} 
[2026-07-08 10:58:39] local.INFO: Extracted packet for processing {"connection_id":126124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402e"} 
[2026-07-08 10:58:39] local.INFO: GPS Element Parsed {"raw_longitude":756592576,"raw_latitude":119728520,"longitude_deg":75.6592576,"latitude_deg":11.972852,"altitude":97,"angle":10,"satellites":36,"speed":0,"hex_longitude":"2d18afc0","hex_latitude":"0722e988","is_valid_coordinates":true} 
[2026-07-08 10:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572986624001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4689777869717504,"note":"Value kept but may cause issues"} 
[2026-07-08 10:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778851514717669376,"note":"Value kept but may cause issues"} 
[2026-07-08 10:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783488249000,"timestamp_ms":1783488249000,"timestamp_seconds":1783488249,"priority":1,"record_length":96,"hex_timestamp":"0000019f402efca8"} 
[2026-07-08 10:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 10:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 10:58: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-07-08 10:58:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 10:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 10:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572986624001,"66":12461,"112":206,"28":31744,"24":0,"16":4689777869717504,"45":1778851514717669376},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 10:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 10:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 10:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572986624001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:58:39] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 10:58:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 10:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4689777869717504,"km_value":4689777869717.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778851514717669376,"description":"Unknown IO ID 45"} 
[2026-07-08 10:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572986624001,"power":12461,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778851514717669376}} 
[2026-07-08 10:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":126124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:58:39] local.INFO: GPS data processed {"connection_id":126124,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:58:39] local.INFO: Acknowledgment sent {"connection_id":126124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:58:45] local.INFO: TCP Data received {"connection_id":126125,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126125,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:58:45] local.INFO: Processing buffer {"connection_id":126125,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:58:45] local.INFO: IMEI packet received {"connection_id":126125,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":126125,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:58:50] local.INFO: TCP Data received {"connection_id":126125,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126125,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:58:50] local.INFO: Processing buffer {"connection_id":126125,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:58:50] local.INFO: IMEI packet received {"connection_id":126125,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":126125,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:58:52] local.INFO: TCP Data received {"connection_id":126125,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f402f4eb0012d0b130007029fc00002013427..."} 
[2026-07-08 10:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402f4eb0012d0b130007029fc00002013427..."} 
[2026-07-08 10:58:52] local.INFO: Processing buffer {"connection_id":126125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402f4eb0012d0b130007029fc00002013427..."} 
[2026-07-08 10:58:52] local.INFO: Packet analysis {"connection_id":126125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402f"} 
[2026-07-08 10:58:52] local.INFO: Extracted packet for processing {"connection_id":126125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402f"} 
[2026-07-08 10:58:52] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572920064001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783488270000,"timestamp_ms":1783488270000,"timestamp_seconds":1783488270,"priority":1,"record_length":96,"hex_timestamp":"0000019f402f4eb0"} 
[2026-07-08 10:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 10:58:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":126125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":126125,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":126125,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572920064001,"66":12678,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572920064001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:58:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572920064001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":126125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450440,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:58:52] local.INFO: GPS data processed {"connection_id":126125,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:58:52] local.INFO: Acknowledgment sent {"connection_id":126125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:58:56] local.INFO: TCP Data received {"connection_id":125384,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:58:56] local.INFO: Processing buffer {"connection_id":125384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:58:56] local.INFO: IMEI packet received {"connection_id":125384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":125384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:59:01] local.INFO: TCP Data received {"connection_id":125384,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:59:01] local.INFO: Processing buffer {"connection_id":125384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:59:01] local.INFO: IMEI packet received {"connection_id":125384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 10:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":125384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:59:02] local.INFO: TCP Data received {"connection_id":125384,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f402e7008012d7f980005afe330000001262a..."} 
[2026-07-08 10:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402e7008012d7f980005afe330000001262a..."} 
[2026-07-08 10:59:02] local.INFO: Processing buffer {"connection_id":125384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402e7008012d7f980005afe330000001262a..."} 
[2026-07-08 10:59:02] local.INFO: Packet analysis {"connection_id":125384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402e"} 
[2026-07-08 10:59:02] local.INFO: Extracted packet for processing {"connection_id":125384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402e"} 
[2026-07-08 10:59:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 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-07-08 10:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572905472001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783488213000,"timestamp_ms":1783488213000,"timestamp_seconds":1783488213,"priority":1,"record_length":96,"hex_timestamp":"0000019f402e7008"} 
[2026-07-08 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-07-08 10:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-08 10:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 10:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572905472001,"66":25549,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572905472001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:59:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:59:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572905472001,"power":25549,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":125384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:59:02] local.INFO: GPS data processed {"connection_id":125384,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:59:02] local.INFO: Acknowledgment sent {"connection_id":125384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:59:15] local.INFO: TCP Data received {"connection_id":127385,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:59:15] local.INFO: Processing buffer {"connection_id":127385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:59:15] local.INFO: IMEI packet received {"connection_id":127385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 10:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":127385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:59:21] local.INFO: TCP Data received {"connection_id":127385,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:59:21] local.INFO: Processing buffer {"connection_id":127385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 10:59:21] local.INFO: IMEI packet received {"connection_id":127385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 10:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":127385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:59:22] local.INFO: TCP Data received {"connection_id":127385,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40324c50012d18afc00722e9880061000a25..."} 
[2026-07-08 10:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40324c50012d18afc00722e9880061000a25..."} 
[2026-07-08 10:59:22] local.INFO: Processing buffer {"connection_id":127385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40324c50012d18afc00722e9880061000a25..."} 
[2026-07-08 10:59:22] local.INFO: Packet analysis {"connection_id":127385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4032"} 
[2026-07-08 10:59:22] local.INFO: Extracted packet for processing {"connection_id":127385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4032"} 
[2026-07-08 10:59:22] local.INFO: GPS Element Parsed {"raw_longitude":756592576,"raw_latitude":119728520,"longitude_deg":75.6592576,"latitude_deg":11.972852,"altitude":97,"angle":10,"satellites":37,"speed":0,"hex_longitude":"2d18afc0","hex_latitude":"0722e988","is_valid_coordinates":true} 
[2026-07-08 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-07-08 10:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573042432001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4689777869717504,"note":"Value kept but may cause issues"} 
[2026-07-08 10:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778851514717669376,"note":"Value kept but may cause issues"} 
[2026-07-08 10:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783488466000,"timestamp_ms":1783488466000,"timestamp_seconds":1783488466,"priority":1,"record_length":96,"hex_timestamp":"0000019f40324c50"} 
[2026-07-08 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-07-08 10:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 10:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 10:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":127385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":127385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":127385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 10:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 10:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573042432001,"66":12406,"112":206,"28":31744,"24":0,"16":4689777869717504,"45":1778851514717669376},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 10:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 10:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 10:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573042432001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:59:22] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 10:59:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 10:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4689777869717504,"km_value":4689777869717.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778851514717669376,"description":"Unknown IO ID 45"} 
[2026-07-08 10:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573042432001,"power":12406,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778851514717669376}} 
[2026-07-08 10:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":127385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:59:22] local.INFO: GPS data processed {"connection_id":127385,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:59:22] local.INFO: Acknowledgment sent {"connection_id":127385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:59:23] local.INFO: TCP Data received {"connection_id":126125,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f402f4eb0012d0b130007029fc00002013427..."} 
[2026-07-08 10:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f402f4eb0012d0b130007029fc00002013427..."} 
[2026-07-08 10:59:23] local.INFO: Processing buffer {"connection_id":126125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f402f4eb0012d0b130007029fc00002013427..."} 
[2026-07-08 10:59:23] local.INFO: Packet analysis {"connection_id":126125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f402f"} 
[2026-07-08 10:59:23] local.INFO: Extracted packet for processing {"connection_id":126125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f402f"} 
[2026-07-08 10:59:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572920064001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783488270000,"timestamp_ms":1783488270000,"timestamp_seconds":1783488270,"priority":1,"record_length":96,"hex_timestamp":"0000019f402f4eb0"} 
[2026-07-08 10:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 10:59:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":126125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":126125,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":126125,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:59:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572920064001,"66":12678,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572920064001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:59:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572920064001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":126125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450443,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:59:23] local.INFO: GPS data processed {"connection_id":126125,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:59:23] local.INFO: Acknowledgment sent {"connection_id":126125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:59:23] local.INFO: TCP Data received {"connection_id":127385,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40329a70012d18afc00722e9880061000a25..."} 
[2026-07-08 10:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40329a70012d18afc00722e9880061000a25..."} 
[2026-07-08 10:59:23] local.INFO: Processing buffer {"connection_id":127385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40329a70012d18afc00722e9880061000a25..."} 
[2026-07-08 10:59:23] local.INFO: Packet analysis {"connection_id":127385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4032"} 
[2026-07-08 10:59:23] local.INFO: Extracted packet for processing {"connection_id":127385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4032"} 
[2026-07-08 10:59:23] local.INFO: GPS Element Parsed {"raw_longitude":756592576,"raw_latitude":119728520,"longitude_deg":75.6592576,"latitude_deg":11.972852,"altitude":97,"angle":10,"satellites":37,"speed":0,"hex_longitude":"2d18afc0","hex_latitude":"0722e988","is_valid_coordinates":true} 
[2026-07-08 10: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-07-08 10:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573047296001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4689777869717504,"note":"Value kept but may cause issues"} 
[2026-07-08 10:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778851514717669376,"note":"Value kept but may cause issues"} 
[2026-07-08 10:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783488486000,"timestamp_ms":1783488486000,"timestamp_seconds":1783488486,"priority":1,"record_length":96,"hex_timestamp":"0000019f40329a70"} 
[2026-07-08 10:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 10: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 10:59:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10: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-07-08 10:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":127385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":127385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":127385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 10:59:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 10:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 10:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573047296001,"66":12341,"112":206,"28":31744,"24":0,"16":4689777869717504,"45":1778851514717669376},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 10:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 10:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 10:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573047296001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:59:23] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 10:59:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 10:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4689777869717504,"km_value":4689777869717.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778851514717669376,"description":"Unknown IO ID 45"} 
[2026-07-08 10:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573047296001,"power":12341,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778851514717669376}} 
[2026-07-08 10:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":127385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:59:23] local.INFO: GPS data processed {"connection_id":127385,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:59:23] local.INFO: Acknowledgment sent {"connection_id":127385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:59:33] local.INFO: TCP Data received {"connection_id":125384,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f403307d0012d7f980005afe3300000012629..."} 
[2026-07-08 10:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403307d0012d7f980005afe3300000012629..."} 
[2026-07-08 10:59:33] local.INFO: Processing buffer {"connection_id":125384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403307d0012d7f980005afe3300000012629..."} 
[2026-07-08 10:59:33] local.INFO: Packet analysis {"connection_id":125384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 10:59:33] local.INFO: Extracted packet for processing {"connection_id":125384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 10:59:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 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-07-08 10:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572982528001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 10:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 10:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783488514000,"timestamp_ms":1783488514000,"timestamp_seconds":1783488514,"priority":1,"record_length":96,"hex_timestamp":"0000019f403307d0"} 
[2026-07-08 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-07-08 10:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-08 10:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 10:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 10:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 10:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 10:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572982528001,"66":25538,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 10:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 10:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 10:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572982528001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:59:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 10:59:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 10:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 10:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572982528001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 10:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":125384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:59:33] local.INFO: GPS data processed {"connection_id":125384,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:59:33] local.INFO: Acknowledgment sent {"connection_id":125384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 10:59:50] local.INFO: TCP Data received {"connection_id":125385,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125385,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:59:50] local.INFO: Processing buffer {"connection_id":125385,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:59:50] local.INFO: IMEI packet received {"connection_id":125385,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 10:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":125385,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:59:55] local.INFO: TCP Data received {"connection_id":125385,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125385,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:59:55] local.INFO: Processing buffer {"connection_id":125385,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 10:59:55] local.INFO: IMEI packet received {"connection_id":125385,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 10:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":125385,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 10:59:56] local.INFO: TCP Data received {"connection_id":126126,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:59:56] local.INFO: Processing buffer {"connection_id":126126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 10:59:56] local.INFO: IMEI packet received {"connection_id":126126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 10:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":126126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 10:59:56] local.INFO: TCP Data received {"connection_id":125385,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4033e678012d0b130007029fc00002013425..."} 
[2026-07-08 10:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4033e678012d0b130007029fc00002013425..."} 
[2026-07-08 10:59:56] local.INFO: Processing buffer {"connection_id":125385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4033e678012d0b130007029fc00002013425..."} 
[2026-07-08 10:59:56] local.INFO: Packet analysis {"connection_id":125385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 10:59:56] local.INFO: Extracted packet for processing {"connection_id":125385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 10:59:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 10:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 10:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572997120001,"note":"Value kept but may cause issues"} 
[2026-07-08 10:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 10:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 10:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 10:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783488571000,"timestamp_ms":1783488571000,"timestamp_seconds":1783488571,"priority":1,"record_length":96,"hex_timestamp":"0000019f4033e678"} 
[2026-07-08 10:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 10:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 10: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-08 10:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 10:59:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 10:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 10:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 10:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":125385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 10:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":125385,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":125385,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 10:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 10:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 10:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 10:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572997120001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 10:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 10:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 10:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572997120001,"description":"Unknown IO ID 0"} 
[2026-07-08 10:59:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 10:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 10:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 10:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572997120001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 10:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":125385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450446,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 10:59:56] local.INFO: GPS data processed {"connection_id":125385,"processed":1,"errors":0,"total":1} 
[2026-07-08 10:59:56] local.INFO: Acknowledgment sent {"connection_id":125385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:00:00] local.INFO: TCP Data received {"connection_id":126127,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:00:00] local.INFO: Processing buffer {"connection_id":126127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:00:00] local.INFO: IMEI packet received {"connection_id":126127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":126127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:00:01] local.INFO: TCP Data received {"connection_id":126126,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:00:01] local.INFO: Processing buffer {"connection_id":126126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:00:01] local.INFO: IMEI packet received {"connection_id":126126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":126126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:00:02] local.INFO: TCP Data received {"connection_id":126126,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f403307d0012d7f980005afe3300000012629..."} 
[2026-07-08 11:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403307d0012d7f980005afe3300000012629..."} 
[2026-07-08 11:00:02] local.INFO: Processing buffer {"connection_id":126126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403307d0012d7f980005afe3300000012629..."} 
[2026-07-08 11:00:02] local.INFO: Packet analysis {"connection_id":126126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 11:00:02] local.INFO: Extracted packet for processing {"connection_id":126126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 11:00:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 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-07-08 11:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572982528001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783488514000,"timestamp_ms":1783488514000,"timestamp_seconds":1783488514,"priority":1,"record_length":96,"hex_timestamp":"0000019f403307d0"} 
[2026-07-08 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-07-08 11:00:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-08 11:00:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 11:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572982528001,"66":25538,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572982528001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:00:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:00:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572982528001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":126126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:00:02] local.INFO: GPS data processed {"connection_id":126126,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:00:02] local.INFO: Acknowledgment sent {"connection_id":126126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:00:04] local.INFO: TCP Data received {"connection_id":125385,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4033e678012d0b130007029fc00002013425..."} 
[2026-07-08 11:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4033e678012d0b130007029fc00002013425..."} 
[2026-07-08 11:00:04] local.INFO: Processing buffer {"connection_id":125385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4033e678012d0b130007029fc00002013425..."} 
[2026-07-08 11:00:04] local.INFO: Packet analysis {"connection_id":125385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 11:00:04] local.INFO: Extracted packet for processing {"connection_id":125385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 11:00:04] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572997120001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783488571000,"timestamp_ms":1783488571000,"timestamp_seconds":1783488571,"priority":1,"record_length":96,"hex_timestamp":"0000019f4033e678"} 
[2026-07-08 11:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-08 11:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125385,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125385,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572997120001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572997120001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:00:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572997120001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":125385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450448,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:00:05] local.INFO: GPS data processed {"connection_id":125385,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:00:05] local.INFO: Acknowledgment sent {"connection_id":125385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:00:06] local.INFO: TCP Data received {"connection_id":126127,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:00:06] local.INFO: Processing buffer {"connection_id":126127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:00:06] local.INFO: IMEI packet received {"connection_id":126127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":126127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:00:08] local.INFO: TCP Data received {"connection_id":126127,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4032e890012d18afc00722e9880061000a25..."} 
[2026-07-08 11:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4032e890012d18afc00722e9880061000a25..."} 
[2026-07-08 11:00:08] local.INFO: Processing buffer {"connection_id":126127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4032e890012d18afc00722e9880061000a25..."} 
[2026-07-08 11:00:08] local.INFO: Packet analysis {"connection_id":126127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4032"} 
[2026-07-08 11:00:08] local.INFO: Extracted packet for processing {"connection_id":126127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4032"} 
[2026-07-08 11:00:08] local.INFO: GPS Element Parsed {"raw_longitude":756592576,"raw_latitude":119728520,"longitude_deg":75.6592576,"latitude_deg":11.972852,"altitude":97,"angle":10,"satellites":37,"speed":0,"hex_longitude":"2d18afc0","hex_latitude":"0722e988","is_valid_coordinates":true} 
[2026-07-08 11:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573052416001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4689777869717504,"note":"Value kept but may cause issues"} 
[2026-07-08 11:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778851514717669376,"note":"Value kept but may cause issues"} 
[2026-07-08 11:00:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783488506000,"timestamp_ms":1783488506000,"timestamp_seconds":1783488506,"priority":1,"record_length":96,"hex_timestamp":"0000019f4032e890"} 
[2026-07-08 11:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 11:00:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:00:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573052416001,"66":12385,"112":206,"28":31744,"24":0,"16":4689777869717504,"45":1778851514717669376},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 11:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573052416001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:00:08] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 11:00:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4689777869717504,"km_value":4689777869717.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778851514717669376,"description":"Unknown IO ID 45"} 
[2026-07-08 11:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573052416001,"power":12385,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778851514717669376}} 
[2026-07-08 11:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":126127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:00:08] local.INFO: GPS data processed {"connection_id":126127,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:00:08] local.INFO: Acknowledgment sent {"connection_id":126127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:00:33] local.INFO: TCP Data received {"connection_id":126126,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f403307d0012d7f980005afe3300000012629..."} 
[2026-07-08 11:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403307d0012d7f980005afe3300000012629..."} 
[2026-07-08 11:00:33] local.INFO: Processing buffer {"connection_id":126126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403307d0012d7f980005afe3300000012629..."} 
[2026-07-08 11:00:33] local.INFO: Packet analysis {"connection_id":126126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 11:00:33] local.INFO: Extracted packet for processing {"connection_id":126126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 11:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572982528001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783488514000,"timestamp_ms":1783488514000,"timestamp_seconds":1783488514,"priority":1,"record_length":96,"hex_timestamp":"0000019f403307d0"} 
[2026-07-08 11:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-08 11:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572982528001,"66":25538,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572982528001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:00:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:00:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572982528001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":126126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:00:33] local.INFO: GPS data processed {"connection_id":126126,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:00:33] local.INFO: Acknowledgment sent {"connection_id":126126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:00:40] local.INFO: TCP Data received {"connection_id":126127,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f403336b0012d18afc00722e9880061000a25..."} 
[2026-07-08 11:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403336b0012d18afc00722e9880061000a25..."} 
[2026-07-08 11:00:40] local.INFO: Processing buffer {"connection_id":126127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403336b0012d18afc00722e9880061000a25..."} 
[2026-07-08 11:00:40] local.INFO: Packet analysis {"connection_id":126127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 11:00:40] local.INFO: Extracted packet for processing {"connection_id":126127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 11:00:40] local.INFO: GPS Element Parsed {"raw_longitude":756592576,"raw_latitude":119728520,"longitude_deg":75.6592576,"latitude_deg":11.972852,"altitude":97,"angle":10,"satellites":37,"speed":0,"hex_longitude":"2d18afc0","hex_latitude":"0722e988","is_valid_coordinates":true} 
[2026-07-08 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-07-08 11:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573057536001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4689777869717504,"note":"Value kept but may cause issues"} 
[2026-07-08 11:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778851514717669376,"note":"Value kept but may cause issues"} 
[2026-07-08 11:00:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783488526000,"timestamp_ms":1783488526000,"timestamp_seconds":1783488526,"priority":1,"record_length":96,"hex_timestamp":"0000019f403336b0"} 
[2026-07-08 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-07-08 11:00:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 11:00:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 11:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573057536001,"66":12385,"112":206,"28":31744,"24":0,"16":4689777869717504,"45":1778851514717669376},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 11:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573057536001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:00:40] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 11:00:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4689777869717504,"km_value":4689777869717.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778851514717669376,"description":"Unknown IO ID 45"} 
[2026-07-08 11:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573057536001,"power":12385,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778851514717669376}} 
[2026-07-08 11:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":126127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:00:40] local.INFO: GPS data processed {"connection_id":126127,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:00:40] local.INFO: Acknowledgment sent {"connection_id":126127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:00:50] local.INFO: TCP Data received {"connection_id":125386,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125386,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:00:50] local.INFO: Processing buffer {"connection_id":125386,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:00:50] local.INFO: IMEI packet received {"connection_id":125386,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":125386,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:00:55] local.INFO: TCP Data received {"connection_id":125386,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125386,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:00:55] local.INFO: Processing buffer {"connection_id":125386,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:00:55] local.INFO: IMEI packet received {"connection_id":125386,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":125386,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:00:56] local.INFO: TCP Data received {"connection_id":125386,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4033e678012d0b130007029fc00002013425..."} 
[2026-07-08 11:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4033e678012d0b130007029fc00002013425..."} 
[2026-07-08 11:00:56] local.INFO: Processing buffer {"connection_id":125386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4033e678012d0b130007029fc00002013425..."} 
[2026-07-08 11:00:56] local.INFO: Packet analysis {"connection_id":125386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 11:00:56] local.INFO: Extracted packet for processing {"connection_id":125386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 11:00:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572997120001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783488571000,"timestamp_ms":1783488571000,"timestamp_seconds":1783488571,"priority":1,"record_length":96,"hex_timestamp":"0000019f4033e678"} 
[2026-07-08 11:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-08 11:00:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:00:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":125386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":125386,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":125386,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572997120001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572997120001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:00:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572997120001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":125386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450452,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:00:56] local.INFO: GPS data processed {"connection_id":125386,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:00:56] local.INFO: Acknowledgment sent {"connection_id":125386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:01:00] local.INFO: TCP Data received {"connection_id":126129,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:01:00] local.INFO: Processing buffer {"connection_id":126129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:01:00] local.INFO: IMEI packet received {"connection_id":126129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":126129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:01:00] local.INFO: TCP Data received {"connection_id":126129,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:01:00] local.INFO: TCP Data received {"connection_id":125386,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4033e678012d0b130007029fc00002013425..."} 
[2026-07-08 11:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:01:00] local.INFO: Processing buffer {"connection_id":126129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:01:00] local.INFO: IMEI packet received {"connection_id":126129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":126129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4033e678012d0b130007029fc00002013425..."} 
[2026-07-08 11:01:00] local.INFO: Processing buffer {"connection_id":125386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4033e678012d0b130007029fc00002013425..."} 
[2026-07-08 11:01:00] local.INFO: Packet analysis {"connection_id":125386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 11:01:00] local.INFO: Extracted packet for processing {"connection_id":125386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 11:01:00] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572997120001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783488571000,"timestamp_ms":1783488571000,"timestamp_seconds":1783488571,"priority":1,"record_length":96,"hex_timestamp":"0000019f4033e678"} 
[2026-07-08 11:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-08 11:01:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:01:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125386,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125386,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572997120001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572997120001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:01:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572997120001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":125386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450453,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:01:01] local.INFO: GPS data processed {"connection_id":125386,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:01:01] local.INFO: Acknowledgment sent {"connection_id":125386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:01:01] local.INFO: TCP Data received {"connection_id":126128,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:01:01] local.INFO: Processing buffer {"connection_id":126128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:01:01] local.INFO: IMEI packet received {"connection_id":126128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":126128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:01:02] local.INFO: TCP Data received {"connection_id":126129,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:01:02] local.INFO: Processing buffer {"connection_id":126129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:01:02] local.INFO: IMEI packet received {"connection_id":126129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":126129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:01:04] local.INFO: TCP Data received {"connection_id":126129,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:01:04] local.INFO: Processing buffer {"connection_id":126129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:01:04] local.INFO: IMEI packet received {"connection_id":126129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":126129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:01:05] local.INFO: TCP Data received {"connection_id":126129,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f403384d0012d18afc00722e9880061000a25..."} 
[2026-07-08 11:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403384d0012d18afc00722e9880061000a25..."} 
[2026-07-08 11:01:05] local.INFO: Processing buffer {"connection_id":126129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403384d0012d18afc00722e9880061000a25..."} 
[2026-07-08 11:01:05] local.INFO: Packet analysis {"connection_id":126129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 11:01:05] local.INFO: Extracted packet for processing {"connection_id":126129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 11:01:05] local.INFO: GPS Element Parsed {"raw_longitude":756592576,"raw_latitude":119728520,"longitude_deg":75.6592576,"latitude_deg":11.972852,"altitude":97,"angle":10,"satellites":37,"speed":0,"hex_longitude":"2d18afc0","hex_latitude":"0722e988","is_valid_coordinates":true} 
[2026-07-08 11:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573062656001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4689777869717504,"note":"Value kept but may cause issues"} 
[2026-07-08 11:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778851514717669376,"note":"Value kept but may cause issues"} 
[2026-07-08 11:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783488546000,"timestamp_ms":1783488546000,"timestamp_seconds":1783488546,"priority":1,"record_length":96,"hex_timestamp":"0000019f403384d0"} 
[2026-07-08 11:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 11:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573062656001,"66":12341,"70":206,"28":31744,"24":0,"16":4689777869717504,"45":1778851514717669376},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-08 11:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573062656001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:01:05] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-08 11:01:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4689777869717504,"km_value":4689777869717.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778851514717669376,"description":"Unknown IO ID 45"} 
[2026-07-08 11:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573062656001,"power":12341,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778851514717669376}} 
[2026-07-08 11:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":126129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:01:05] local.INFO: GPS data processed {"connection_id":126129,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:01:05] local.INFO: Acknowledgment sent {"connection_id":126129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:01:08] local.INFO: TCP Data received {"connection_id":126128,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:01:08] local.INFO: Processing buffer {"connection_id":126128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:01:08] local.INFO: IMEI packet received {"connection_id":126128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":126128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:01:09] local.INFO: TCP Data received {"connection_id":126128,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f403307d0012d7f980005afe3300000012629..."} 
[2026-07-08 11:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403307d0012d7f980005afe3300000012629..."} 
[2026-07-08 11:01:09] local.INFO: Processing buffer {"connection_id":126128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403307d0012d7f980005afe3300000012629..."} 
[2026-07-08 11:01:09] local.INFO: Packet analysis {"connection_id":126128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 11:01:09] local.INFO: Extracted packet for processing {"connection_id":126128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 11:01:09] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572982528001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783488514000,"timestamp_ms":1783488514000,"timestamp_seconds":1783488514,"priority":1,"record_length":96,"hex_timestamp":"0000019f403307d0"} 
[2026-07-08 11:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":205,"data_length":795,"current_offset":136} 
[2026-07-08 11:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:01:09] 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-07-08 11:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572982528001,"66":25538,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572982528001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:01:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:01:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572982528001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":126128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:01:09] local.INFO: GPS data processed {"connection_id":126128,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:01:09] local.INFO: Acknowledgment sent {"connection_id":126128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:01:19] local.INFO: TCP Data received {"connection_id":126128,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f403307d0012d7f980005afe3300000012629..."} 
[2026-07-08 11:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403307d0012d7f980005afe3300000012629..."} 
[2026-07-08 11:01:19] local.INFO: Processing buffer {"connection_id":126128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403307d0012d7f980005afe3300000012629..."} 
[2026-07-08 11:01:19] local.INFO: Packet analysis {"connection_id":126128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 11:01:19] local.INFO: Extracted packet for processing {"connection_id":126128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 11:01:19] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572982528001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783488514000,"timestamp_ms":1783488514000,"timestamp_seconds":1783488514,"priority":1,"record_length":96,"hex_timestamp":"0000019f403307d0"} 
[2026-07-08 11:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-08 11:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":126128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":126128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":126128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572982528001,"66":25538,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572982528001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:01:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:01:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572982528001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":126128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:01:19] local.INFO: GPS data processed {"connection_id":126128,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:01:19] local.INFO: Acknowledgment sent {"connection_id":126128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:01:41] local.INFO: TCP Data received {"connection_id":126129,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4034ffb8012d18fac00722fcc0005a003523..."} 
[2026-07-08 11:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4034ffb8012d18fac00722fcc0005a003523..."} 
[2026-07-08 11:01:41] local.INFO: Processing buffer {"connection_id":126129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4034ffb8012d18fac00722fcc0005a003523..."} 
[2026-07-08 11:01:41] local.INFO: Packet analysis {"connection_id":126129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4034"} 
[2026-07-08 11:01:41] local.INFO: Extracted packet for processing {"connection_id":126129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4034"} 
[2026-07-08 11:01:41] local.INFO: GPS Element Parsed {"raw_longitude":756611776,"raw_latitude":119733440,"longitude_deg":75.6611776,"latitude_deg":11.973344,"altitude":90,"angle":53,"satellites":35,"speed":34,"hex_longitude":"2d18fac0","hex_latitude":"0722fcc0","is_valid_coordinates":true} 
[2026-07-08 11:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573092096001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4690954690756608,"note":"Value kept but may cause issues"} 
[2026-07-08 11:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798414025600108544,"note":"Value kept but may cause issues"} 
[2026-07-08 11:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783488643000,"timestamp_ms":1783488643000,"timestamp_seconds":1783488643,"priority":1,"record_length":96,"hex_timestamp":"0000019f4034ffb8"} 
[2026-07-08 11:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:01: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-07-08 11:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-08 11:01: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-07-08 11:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":126129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":126129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":126129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573092096001,"66":13439,"81":206,"28":31744,"24":34,"16":4690954690756608,"45":1798414025600108544},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-07-08 11:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573092096001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:01:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-08 11:01:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4690954690756608,"km_value":4690954690756.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798414025600108544,"description":"Unknown IO ID 45"} 
[2026-07-08 11:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573092096001,"power":13439,"unknown_81":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1798414025600108544}} 
[2026-07-08 11:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":126129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:01:42] local.INFO: GPS data processed {"connection_id":126129,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:01:42] local.INFO: Acknowledgment sent {"connection_id":126129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:01:45] local.INFO: TCP Data received {"connection_id":125278,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125278,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:01:45] local.INFO: Processing buffer {"connection_id":125278,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:01:45] local.INFO: IMEI packet received {"connection_id":125278,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":125278,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:01:50] local.INFO: TCP Data received {"connection_id":125278,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125278,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:01:50] local.INFO: Processing buffer {"connection_id":125278,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:01:50] local.INFO: IMEI packet received {"connection_id":125278,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":125278,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:01:55] local.INFO: TCP Data received {"connection_id":125278,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f4033e678012d0b130007029fc00002013425..."} 
[2026-07-08 11:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4033e678012d0b130007029fc00002013425..."} 
[2026-07-08 11:01:55] local.INFO: Processing buffer {"connection_id":125278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4033e678012d0b130007029fc00002013425..."} 
[2026-07-08 11:01:55] local.INFO: Packet analysis {"connection_id":125278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 11:01:55] local.INFO: Extracted packet for processing {"connection_id":125278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 11:01:55] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572997120001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783488571000,"timestamp_ms":1783488571000,"timestamp_seconds":1783488571,"priority":1,"record_length":96,"hex_timestamp":"0000019f4033e678"} 
[2026-07-08 11:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-08 11:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":125278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":125278,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":125278,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572997120001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572997120001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:01:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572997120001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":125278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450458,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:01:55] local.INFO: GPS data processed {"connection_id":125278,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:01:55] local.INFO: Acknowledgment sent {"connection_id":125278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:01:56] local.INFO: TCP Data received {"connection_id":125279,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:01:56] local.INFO: Processing buffer {"connection_id":125279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:01:56] local.INFO: IMEI packet received {"connection_id":125279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":125279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:02:01] local.INFO: TCP Data received {"connection_id":125279,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:02:01] local.INFO: Processing buffer {"connection_id":125279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:02:01] local.INFO: IMEI packet received {"connection_id":125279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":125279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:02:01] local.INFO: TCP Data received {"connection_id":125279,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f403307d0012d7f980005afe3300000012629..."} 
[2026-07-08 11:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403307d0012d7f980005afe3300000012629..."} 
[2026-07-08 11:02:01] local.INFO: Processing buffer {"connection_id":125279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403307d0012d7f980005afe3300000012629..."} 
[2026-07-08 11:02:01] local.INFO: Packet analysis {"connection_id":125279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 11:02:01] local.INFO: Extracted packet for processing {"connection_id":125279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 11:02:01] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572982528001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:02:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783488514000,"timestamp_ms":1783488514000,"timestamp_seconds":1783488514,"priority":1,"record_length":96,"hex_timestamp":"0000019f403307d0"} 
[2026-07-08 11:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:02:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-08 11:02:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:02:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:02:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572982528001,"66":25538,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572982528001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:02:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:02:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572982528001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":125279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:02:01] local.INFO: GPS data processed {"connection_id":125279,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:02:01] local.INFO: Acknowledgment sent {"connection_id":125279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:02:16] local.INFO: TCP Data received {"connection_id":125281,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:02:16] local.INFO: Processing buffer {"connection_id":125281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:02:16] local.INFO: IMEI packet received {"connection_id":125281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":125281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:02:17] local.INFO: TCP Data received {"connection_id":125281,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:02:17] local.INFO: Processing buffer {"connection_id":125281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:02:17] local.INFO: IMEI packet received {"connection_id":125281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":125281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:02:21] local.INFO: TCP Data received {"connection_id":125281,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:02:21] local.INFO: Processing buffer {"connection_id":125281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:02:21] local.INFO: IMEI packet received {"connection_id":125281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":125281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:02:26] local.INFO: TCP Data received {"connection_id":125281,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40350788012d190040072302100058002523..."} 
[2026-07-08 11:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40350788012d190040072302100058002523..."} 
[2026-07-08 11:02:26] local.INFO: Processing buffer {"connection_id":125281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40350788012d190040072302100058002523..."} 
[2026-07-08 11:02:26] local.INFO: Packet analysis {"connection_id":125281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4035"} 
[2026-07-08 11:02:26] local.INFO: Extracted packet for processing {"connection_id":125281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4035"} 
[2026-07-08 11:02:26] local.INFO: GPS Element Parsed {"raw_longitude":756613184,"raw_latitude":119734800,"longitude_deg":75.6613184,"latitude_deg":11.97348,"altitude":88,"angle":37,"satellites":35,"speed":39,"hex_longitude":"2d190040","hex_latitude":"07230210","is_valid_coordinates":true} 
[2026-07-08 11:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573092608001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4691049180037120,"note":"Value kept but may cause issues"} 
[2026-07-08 11:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799962137972228096,"note":"Value kept but may cause issues"} 
[2026-07-08 11:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783488645000,"timestamp_ms":1783488645000,"timestamp_seconds":1783488645,"priority":1,"record_length":96,"hex_timestamp":"0000019f40350788"} 
[2026-07-08 11:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-07-08 11:02: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-07-08 11:02:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":125281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":125281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":125281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:02:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573092608001,"66":14048,"81":206,"28":31744,"24":39,"16":4691049180037120,"45":1799962137972228096},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-07-08 11:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573092608001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:02:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-08 11:02:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4691049180037120,"km_value":4691049180037.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799962137972228096,"description":"Unknown IO ID 45"} 
[2026-07-08 11:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573092608001,"power":14048,"unknown_81":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1799962137972228096}} 
[2026-07-08 11:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":125281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:02:26] local.INFO: GPS data processed {"connection_id":125281,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:02:26] local.INFO: Acknowledgment sent {"connection_id":125281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:02:27] local.INFO: TCP Data received {"connection_id":125278,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f4033e678012d0b130007029fc00002013425..."} 
[2026-07-08 11:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4033e678012d0b130007029fc00002013425..."} 
[2026-07-08 11:02:27] local.INFO: Processing buffer {"connection_id":125278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4033e678012d0b130007029fc00002013425..."} 
[2026-07-08 11:02:27] local.INFO: Packet analysis {"connection_id":125278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 11:02:27] local.INFO: Extracted packet for processing {"connection_id":125278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 11:02:27] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572997120001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783488571000,"timestamp_ms":1783488571000,"timestamp_seconds":1783488571,"priority":1,"record_length":96,"hex_timestamp":"0000019f4033e678"} 
[2026-07-08 11:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-08 11:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":125278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":125278,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":125278,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572997120001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572997120001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:02:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572997120001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":125278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450461,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:02:27] local.INFO: GPS data processed {"connection_id":125278,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:02:27] local.INFO: Acknowledgment sent {"connection_id":125278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:02:32] local.INFO: TCP Data received {"connection_id":125279,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f403307d0012d7f980005afe3300000012629..."} 
[2026-07-08 11:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403307d0012d7f980005afe3300000012629..."} 
[2026-07-08 11:02:32] local.INFO: Processing buffer {"connection_id":125279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403307d0012d7f980005afe3300000012629..."} 
[2026-07-08 11:02:32] local.INFO: Packet analysis {"connection_id":125279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 11:02:32] local.INFO: Extracted packet for processing {"connection_id":125279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 11:02:32] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572982528001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783488514000,"timestamp_ms":1783488514000,"timestamp_seconds":1783488514,"priority":1,"record_length":96,"hex_timestamp":"0000019f403307d0"} 
[2026-07-08 11:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:02: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":205,"data_length":795,"current_offset":136} 
[2026-07-08 11:02:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572982528001,"66":25538,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572982528001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:02:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:02:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572982528001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":125279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:02:33] local.INFO: GPS data processed {"connection_id":125279,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:02:33] local.INFO: Acknowledgment sent {"connection_id":125279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:02:45] local.INFO: TCP Data received {"connection_id":127386,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127386,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:02:45] local.INFO: Processing buffer {"connection_id":127386,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:02:45] local.INFO: IMEI packet received {"connection_id":127386,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":127386,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:02:50] local.INFO: TCP Data received {"connection_id":127386,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127386,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:02:50] local.INFO: Processing buffer {"connection_id":127386,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:02:50] local.INFO: IMEI packet received {"connection_id":127386,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":127386,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:02:52] local.INFO: TCP Data received {"connection_id":127386,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4033e678012d0b130007029fc00002013425..."} 
[2026-07-08 11:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4033e678012d0b130007029fc00002013425..."} 
[2026-07-08 11:02:52] local.INFO: Processing buffer {"connection_id":127386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4033e678012d0b130007029fc00002013425..."} 
[2026-07-08 11:02:52] local.INFO: Packet analysis {"connection_id":127386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 11:02:52] local.INFO: Extracted packet for processing {"connection_id":127386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 11:02:52] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572997120001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783488571000,"timestamp_ms":1783488571000,"timestamp_seconds":1783488571,"priority":1,"record_length":96,"hex_timestamp":"0000019f4033e678"} 
[2026-07-08 11:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-08 11:02:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:02:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":127386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":127386,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":127386,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572997120001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572997120001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:02:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572997120001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":127386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450463,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:02:52] local.INFO: GPS data processed {"connection_id":127386,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:02:52] local.INFO: Acknowledgment sent {"connection_id":127386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:02:56] local.INFO: TCP Data received {"connection_id":126131,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:02:56] local.INFO: Processing buffer {"connection_id":126131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:02:56] local.INFO: IMEI packet received {"connection_id":126131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":126131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:03:00] local.INFO: TCP Data received {"connection_id":125388,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:03:00] local.INFO: Processing buffer {"connection_id":125388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:03:00] local.INFO: IMEI packet received {"connection_id":125388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":125388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:03:01] local.INFO: TCP Data received {"connection_id":126131,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:03:01] local.INFO: Processing buffer {"connection_id":126131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:03:01] local.INFO: IMEI packet received {"connection_id":126131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":126131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:03:02] local.INFO: TCP Data received {"connection_id":126131,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f403307d0012d7f980005afe3300000012629..."} 
[2026-07-08 11:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403307d0012d7f980005afe3300000012629..."} 
[2026-07-08 11:03:02] local.INFO: Processing buffer {"connection_id":126131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403307d0012d7f980005afe3300000012629..."} 
[2026-07-08 11:03:02] local.INFO: Packet analysis {"connection_id":126131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 11:03:02] local.INFO: Extracted packet for processing {"connection_id":126131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 11:03:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572982528001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783488514000,"timestamp_ms":1783488514000,"timestamp_seconds":1783488514,"priority":1,"record_length":96,"hex_timestamp":"0000019f403307d0"} 
[2026-07-08 11:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-08 11:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:03:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572982528001,"66":25538,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572982528001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:03:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:03:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572982528001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":126131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:03:02] local.INFO: GPS data processed {"connection_id":126131,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:03:02] local.INFO: Acknowledgment sent {"connection_id":126131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:03:06] local.INFO: TCP Data received {"connection_id":125388,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:03:06] local.INFO: Processing buffer {"connection_id":125388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:03:06] local.INFO: IMEI packet received {"connection_id":125388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":125388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:03:07] local.INFO: TCP Data received {"connection_id":125388,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40361ce0012d1a02c00723aa78002d005325..."} 
[2026-07-08 11:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40361ce0012d1a02c00723aa78002d005325..."} 
[2026-07-08 11:03:07] local.INFO: Processing buffer {"connection_id":125388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40361ce0012d1a02c00723aa78002d005325..."} 
[2026-07-08 11:03:07] local.INFO: Packet analysis {"connection_id":125388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4036"} 
[2026-07-08 11:03:07] local.INFO: Extracted packet for processing {"connection_id":125388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4036"} 
[2026-07-08 11:03:07] local.INFO: GPS Element Parsed {"raw_longitude":756679360,"raw_latitude":119777912,"longitude_deg":75.667936,"latitude_deg":11.9777912,"altitude":45,"angle":83,"satellites":37,"speed":44,"hex_longitude":"2d1a02c0","hex_latitude":"0723aa78","is_valid_coordinates":true} 
[2026-07-08 11:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573108992001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4695112219099136,"note":"Value kept but may cause issues"} 
[2026-07-08 11:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863223638999042048,"note":"Value kept but may cause issues"} 
[2026-07-08 11:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783488716000,"timestamp_ms":1783488716000,"timestamp_seconds":1783488716,"priority":1,"record_length":96,"hex_timestamp":"0000019f40361ce0"} 
[2026-07-08 11:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-08 11:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6966752617,"note":"Value kept but may cause issues"} 
[2026-07-08 11:03:07] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503671235870720,"note":"Value kept but may cause issues"} 
[2026-07-08 11:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2892627968,"note":"Value kept but may cause issues"} 
[2026-07-08 11:03:07] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3137339392,"note":"Value kept but may cause issues"} 
[2026-07-08 11:03:07] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2461007936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:03:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880845518,"corrected_to":0} 
[2026-07-08 11:03:07] local.WARNING: Large IO value detected {"io_id":48,"raw_value":84751776829875031,"note":"Value kept but may cause issues"} 
[2026-07-08 11:03:07] local.WARNING: Large IO value detected {"io_id":144,"raw_value":21110765540880896,"note":"Value kept but may cause issues"} 
[2026-07-08 11:03:07] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,112,28,24,241,158,16,173,159,218,45,128,161,53,32,10,66,111,191,64,156,58,30,81,172,175,1,240,55,35,4,113,205,47,152,105,136,239,56,2,7,70,49,206,48,144],"length":529,"final_offset":659,"validated_count":46,"validation_warnings":[{"io_id":205,"original":3880845518,"validated":0}]} 
[2026-07-08 11:03:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458855910727417856,"timestamp_seconds":3458855910727418.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 11:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573108992001,"66":14374,"112":206,"28":31744,"24":44,"16":4695112219099136,"45":1863223638999042048},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 11:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573108992001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:03:07] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 11:03:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4695112219099136,"km_value":4695112219099.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863223638999042048,"description":"Unknown IO ID 45"} 
[2026-07-08 11:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573108992001,"power":14374,"unknown_112":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":1863223638999042048}} 
[2026-07-08 11:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":125388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:03:07] local.INFO: GPS data processed {"connection_id":125388,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:03:07] local.INFO: Acknowledgment sent {"connection_id":125388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:03:17] local.INFO: TCP Data received {"connection_id":126130,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126130,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:03:17] local.INFO: Processing buffer {"connection_id":126130,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:03:17] local.INFO: IMEI packet received {"connection_id":126130,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 11:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":126130,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:03:25] local.INFO: TCP Data received {"connection_id":127386,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4033e678012d0b130007029fc00002013425..."} 
[2026-07-08 11:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4033e678012d0b130007029fc00002013425..."} 
[2026-07-08 11:03:25] local.INFO: Processing buffer {"connection_id":127386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4033e678012d0b130007029fc00002013425..."} 
[2026-07-08 11:03:25] local.INFO: Packet analysis {"connection_id":127386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 11:03:25] local.INFO: Extracted packet for processing {"connection_id":127386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 11:03:25] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572997120001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783488571000,"timestamp_ms":1783488571000,"timestamp_seconds":1783488571,"priority":1,"record_length":96,"hex_timestamp":"0000019f4033e678"} 
[2026-07-08 11:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:03:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-08 11:03:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":127386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":127386,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":127386,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:03:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572997120001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572997120001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:03:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572997120001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":127386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450466,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:03:25] local.INFO: GPS data processed {"connection_id":127386,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:03:25] local.INFO: Acknowledgment sent {"connection_id":127386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:03:33] local.INFO: TCP Data received {"connection_id":126131,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f403307d0012d7f980005afe3300000012629..."} 
[2026-07-08 11:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403307d0012d7f980005afe3300000012629..."} 
[2026-07-08 11:03:33] local.INFO: Processing buffer {"connection_id":126131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403307d0012d7f980005afe3300000012629..."} 
[2026-07-08 11:03:33] local.INFO: Packet analysis {"connection_id":126131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 11:03:33] local.INFO: Extracted packet for processing {"connection_id":126131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 11:03:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572982528001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783488514000,"timestamp_ms":1783488514000,"timestamp_seconds":1783488514,"priority":1,"record_length":96,"hex_timestamp":"0000019f403307d0"} 
[2026-07-08 11:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-08 11:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:03:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572982528001,"66":25538,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572982528001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:03:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:03:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572982528001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":126131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:03:33] local.INFO: GPS data processed {"connection_id":126131,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:03:33] local.INFO: Acknowledgment sent {"connection_id":126131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:03:38] local.INFO: TCP Data received {"connection_id":125388,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40363068012d1a18000723af38002c004724..."} 
[2026-07-08 11:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40363068012d1a18000723af38002c004724..."} 
[2026-07-08 11:03:39] local.INFO: Processing buffer {"connection_id":125388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40363068012d1a18000723af38002c004724..."} 
[2026-07-08 11:03:39] local.INFO: Packet analysis {"connection_id":125388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4036"} 
[2026-07-08 11:03:39] local.INFO: Extracted packet for processing {"connection_id":125388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4036"} 
[2026-07-08 11:03:39] local.INFO: GPS Element Parsed {"raw_longitude":756684800,"raw_latitude":119779128,"longitude_deg":75.66848,"latitude_deg":11.9779128,"altitude":44,"angle":71,"satellites":36,"speed":42,"hex_longitude":"2d1a1800","hex_latitude":"0723af38","is_valid_coordinates":true} 
[2026-07-08 11:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573111296001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4695378507071488,"note":"Value kept but may cause issues"} 
[2026-07-08 11:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1874271531835226112,"note":"Value kept but may cause issues"} 
[2026-07-08 11:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783488721000,"timestamp_ms":1783488721000,"timestamp_seconds":1783488721,"priority":1,"record_length":96,"hex_timestamp":"0000019f40363068"} 
[2026-07-08 11:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:03:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-08 11:03:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573111296001,"66":14374,"112":206,"28":31744,"24":42,"16":4695378507071488,"45":1874271531835226112},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 11:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573111296001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:03:39] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 11:03:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4695378507071488,"km_value":4695378507071.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1874271531835226112,"description":"Unknown IO ID 45"} 
[2026-07-08 11:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573111296001,"power":14374,"unknown_112":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1874271531835226112}} 
[2026-07-08 11:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":125388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:03:39] local.INFO: GPS data processed {"connection_id":125388,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:03:39] local.INFO: Acknowledgment sent {"connection_id":125388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:03:45] local.INFO: TCP Data received {"connection_id":127387,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127387,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:03:45] local.INFO: Processing buffer {"connection_id":127387,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:03:45] local.INFO: IMEI packet received {"connection_id":127387,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":127387,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:03:54] local.INFO: TCP Data received {"connection_id":127387,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127387,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:03:54] local.INFO: Processing buffer {"connection_id":127387,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:03:54] local.INFO: IMEI packet received {"connection_id":127387,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":127387,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:03:55] local.INFO: TCP Data received {"connection_id":127387,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4033e678012d0b130007029fc00002013425..."} 
[2026-07-08 11:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4033e678012d0b130007029fc00002013425..."} 
[2026-07-08 11:03:55] local.INFO: Processing buffer {"connection_id":127387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4033e678012d0b130007029fc00002013425..."} 
[2026-07-08 11:03:55] local.INFO: Packet analysis {"connection_id":127387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 11:03:55] local.INFO: Extracted packet for processing {"connection_id":127387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 11:03:55] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 11:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572997120001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783488571000,"timestamp_ms":1783488571000,"timestamp_seconds":1783488571,"priority":1,"record_length":96,"hex_timestamp":"0000019f4033e678"} 
[2026-07-08 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-07-08 11:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-08 11:03:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 11:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":127387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":127387,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":127387,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572997120001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572997120001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:03:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572997120001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":127387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450469,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:03:55] local.INFO: GPS data processed {"connection_id":127387,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:03:55] local.INFO: Acknowledgment sent {"connection_id":127387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:03:56] local.INFO: TCP Data received {"connection_id":127388,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:03:56] local.INFO: Processing buffer {"connection_id":127388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:03:56] local.INFO: IMEI packet received {"connection_id":127388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":127388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:04:00] local.INFO: TCP Data received {"connection_id":125282,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:04:00] local.INFO: Processing buffer {"connection_id":125282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:04:00] local.INFO: IMEI packet received {"connection_id":125282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":125282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:04:01] local.INFO: TCP Data received {"connection_id":127388,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:04:01] local.INFO: Processing buffer {"connection_id":127388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:04:01] local.INFO: IMEI packet received {"connection_id":127388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":127388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:04:01] local.INFO: TCP Data received {"connection_id":127388,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f403307d0012d7f980005afe3300000012629..."} 
[2026-07-08 11:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403307d0012d7f980005afe3300000012629..."} 
[2026-07-08 11:04:01] local.INFO: Processing buffer {"connection_id":127388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403307d0012d7f980005afe3300000012629..."} 
[2026-07-08 11:04:01] local.INFO: Packet analysis {"connection_id":127388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 11:04:01] local.INFO: Extracted packet for processing {"connection_id":127388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 11:04:01] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":41,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572982528001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783488514000,"timestamp_ms":1783488514000,"timestamp_seconds":1783488514,"priority":1,"record_length":96,"hex_timestamp":"0000019f403307d0"} 
[2026-07-08 11:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:04:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-08 11:04:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:04:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572982528001,"66":25538,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572982528001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:04:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:04:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572982528001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":127388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:04:01] local.INFO: GPS data processed {"connection_id":127388,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:04:01] local.INFO: Acknowledgment sent {"connection_id":127388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:04:05] local.INFO: TCP Data received {"connection_id":125389,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125389,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:04:05] local.INFO: Processing buffer {"connection_id":125389,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:04:05] local.INFO: IMEI packet received {"connection_id":125389,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 11:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":125389,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:04:06] local.INFO: TCP Data received {"connection_id":125282,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:04:06] local.INFO: Processing buffer {"connection_id":125282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:04:06] local.INFO: IMEI packet received {"connection_id":125282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":125282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:04:06] local.INFO: TCP Data received {"connection_id":125389,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125389,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:04:06] local.INFO: Processing buffer {"connection_id":125389,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:04:06] local.INFO: IMEI packet received {"connection_id":125389,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 11:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":125389,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:04:07] local.INFO: TCP Data received {"connection_id":125282,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40364008012d1a26800723b620002d003a24..."} 
[2026-07-08 11:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40364008012d1a26800723b620002d003a24..."} 
[2026-07-08 11:04:07] local.INFO: Processing buffer {"connection_id":125282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40364008012d1a26800723b620002d003a24..."} 
[2026-07-08 11:04:07] local.INFO: Packet analysis {"connection_id":125282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4036"} 
[2026-07-08 11:04:07] local.INFO: Extracted packet for processing {"connection_id":125282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4036"} 
[2026-07-08 11:04:07] local.INFO: GPS Element Parsed {"raw_longitude":756688512,"raw_latitude":119780896,"longitude_deg":75.6688512,"latitude_deg":11.9780896,"altitude":45,"angle":58,"satellites":36,"speed":37,"hex_longitude":"2d1a2680","hex_latitude":"0723b620","is_valid_coordinates":true} 
[2026-07-08 11:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573112576001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4695576075567104,"note":"Value kept but may cause issues"} 
[2026-07-08 11:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1880252875090638848,"note":"Value kept but may cause issues"} 
[2026-07-08 11:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783488725000,"timestamp_ms":1783488725000,"timestamp_seconds":1783488725,"priority":1,"record_length":96,"hex_timestamp":"0000019f40364008"} 
[2026-07-08 11:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-08 11:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573112576001,"66":14374,"112":206,"28":31744,"24":37,"16":4695576075567104,"45":1880252875090638848},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 11:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573112576001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:04:07] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 11:04:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4695576075567104,"km_value":4695576075567.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1880252875090638848,"description":"Unknown IO ID 45"} 
[2026-07-08 11:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573112576001,"power":14374,"unknown_112":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1880252875090638848}} 
[2026-07-08 11:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":125282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:04:07] local.INFO: GPS data processed {"connection_id":125282,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:04:07] local.INFO: Acknowledgment sent {"connection_id":125282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:04:11] local.INFO: TCP Data received {"connection_id":125389,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125389,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:04:11] local.INFO: Processing buffer {"connection_id":125389,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:04:11] local.INFO: IMEI packet received {"connection_id":125389,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 11:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":125389,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:04:28] local.INFO: TCP Data received {"connection_id":127387,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4033e678012d0b130007029fc00002013425..."} 
[2026-07-08 11:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4033e678012d0b130007029fc00002013425..."} 
[2026-07-08 11:04:28] local.INFO: Processing buffer {"connection_id":127387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4033e678012d0b130007029fc00002013425..."} 
[2026-07-08 11:04:28] local.INFO: Packet analysis {"connection_id":127387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 11:04:28] local.INFO: Extracted packet for processing {"connection_id":127387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4033"} 
[2026-07-08 11:04:28] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 11:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456572997120001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783488571000,"timestamp_ms":1783488571000,"timestamp_seconds":1783488571,"priority":1,"record_length":96,"hex_timestamp":"0000019f4033e678"} 
[2026-07-08 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-07-08 11:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-08 11:04:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 11:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":127387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":127387,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":127387,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456572997120001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456572997120001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:04:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456572997120001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":127387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450472,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:04:29] local.INFO: GPS data processed {"connection_id":127387,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:04:29] local.INFO: Acknowledgment sent {"connection_id":127387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:04:32] local.INFO: TCP Data received {"connection_id":127388,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f40379f98012d7f980005afe330000001262d..."} 
[2026-07-08 11:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40379f98012d7f980005afe330000001262d..."} 
[2026-07-08 11:04:32] local.INFO: Processing buffer {"connection_id":127388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40379f98012d7f980005afe330000001262d..."} 
[2026-07-08 11:04:32] local.INFO: Packet analysis {"connection_id":127388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4037"} 
[2026-07-08 11:04:32] local.INFO: Extracted packet for processing {"connection_id":127388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4037"} 
[2026-07-08 11:04:32] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573059584001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783488815000,"timestamp_ms":1783488815000,"timestamp_seconds":1783488815,"priority":1,"record_length":96,"hex_timestamp":"0000019f40379f98"} 
[2026-07-08 11:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:04: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-07-08 11:04: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-07-08 11:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573059584001,"66":25495,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573059584001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:04:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:04:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573059584001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":127388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:04:32] local.INFO: GPS data processed {"connection_id":127388,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:04:32] local.INFO: Acknowledgment sent {"connection_id":127388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:04:39] local.INFO: TCP Data received {"connection_id":125282,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f403797c8012d1a9a00072420d0002a002224..."} 
[2026-07-08 11:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403797c8012d1a9a00072420d0002a002224..."} 
[2026-07-08 11:04:39] local.INFO: Processing buffer {"connection_id":125282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403797c8012d1a9a00072420d0002a002224..."} 
[2026-07-08 11:04:39] local.INFO: Packet analysis {"connection_id":125282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4037"} 
[2026-07-08 11:04:39] local.INFO: Extracted packet for processing {"connection_id":125282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4037"} 
[2026-07-08 11:04:39] local.INFO: GPS Element Parsed {"raw_longitude":756718080,"raw_latitude":119808208,"longitude_deg":75.671808,"latitude_deg":11.9808208,"altitude":42,"angle":34,"satellites":36,"speed":0,"hex_longitude":"2d1a9a00","hex_latitude":"072420d0","is_valid_coordinates":true} 
[2026-07-08 11:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573136128001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4697564645425152,"note":"Value kept but may cause issues"} 
[2026-07-08 11:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1916844622070468608,"note":"Value kept but may cause issues"} 
[2026-07-08 11:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783488813000,"timestamp_ms":1783488813000,"timestamp_seconds":1783488813,"priority":1,"record_length":96,"hex_timestamp":"0000019f403797c8"} 
[2026-07-08 11:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-08 11:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573136128001,"66":14135,"112":206,"28":31744,"24":0,"16":4697564645425152,"45":1916844622070468608},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 11:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573136128001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:04:39] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 11:04:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4697564645425152,"km_value":4697564645425.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1916844622070468608,"description":"Unknown IO ID 45"} 
[2026-07-08 11:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573136128001,"power":14135,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1916844622070468608}} 
[2026-07-08 11:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":125282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:04:39] local.INFO: GPS data processed {"connection_id":125282,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:04:39] local.INFO: Acknowledgment sent {"connection_id":125282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:04:45] local.INFO: TCP Data received {"connection_id":126133,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126133,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:04:45] local.INFO: Processing buffer {"connection_id":126133,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:04:45] local.INFO: IMEI packet received {"connection_id":126133,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":126133,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:04:50] local.INFO: TCP Data received {"connection_id":126133,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126133,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:04:50] local.INFO: Processing buffer {"connection_id":126133,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:04:50] local.INFO: IMEI packet received {"connection_id":126133,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":126133,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:04:52] local.INFO: TCP Data received {"connection_id":126133,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f40387e40012d0b130007029fc00000013426..."} 
[2026-07-08 11:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40387e40012d0b130007029fc00000013426..."} 
[2026-07-08 11:04:52] local.INFO: Processing buffer {"connection_id":126133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40387e40012d0b130007029fc00000013426..."} 
[2026-07-08 11:04:52] local.INFO: Packet analysis {"connection_id":126133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4038"} 
[2026-07-08 11:04:52] local.INFO: Extracted packet for processing {"connection_id":126133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4038"} 
[2026-07-08 11:04:52] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573074176001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783488872000,"timestamp_ms":1783488872000,"timestamp_seconds":1783488872,"priority":1,"record_length":96,"hex_timestamp":"0000019f40387e40"} 
[2026-07-08 11:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:04:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:04:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":126133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":126133,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":126133,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:04:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573074176001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573074176001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:04:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573074176001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":126133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450475,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:04:52] local.INFO: GPS data processed {"connection_id":126133,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:04:52] local.INFO: Acknowledgment sent {"connection_id":126133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:04:56] local.INFO: TCP Data received {"connection_id":125283,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:04:56] local.INFO: Processing buffer {"connection_id":125283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:04:56] local.INFO: IMEI packet received {"connection_id":125283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":125283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:05:01] local.INFO: TCP Data received {"connection_id":125283,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:05:01] local.INFO: Processing buffer {"connection_id":125283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:05:01] local.INFO: IMEI packet received {"connection_id":125283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":125283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:05:06] local.INFO: TCP Data received {"connection_id":125283,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f40379f98012d7f980005afe330000001262d..."} 
[2026-07-08 11:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40379f98012d7f980005afe330000001262d..."} 
[2026-07-08 11:05:06] local.INFO: Processing buffer {"connection_id":125283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40379f98012d7f980005afe330000001262d..."} 
[2026-07-08 11:05:06] local.INFO: Packet analysis {"connection_id":125283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4037"} 
[2026-07-08 11:05:06] local.INFO: Extracted packet for processing {"connection_id":125283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4037"} 
[2026-07-08 11:05:06] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573059584001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783488815000,"timestamp_ms":1783488815000,"timestamp_seconds":1783488815,"priority":1,"record_length":96,"hex_timestamp":"0000019f40379f98"} 
[2026-07-08 11:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-08 11:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573059584001,"66":25495,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573059584001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:05:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:05:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573059584001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":125283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:05:06] local.INFO: GPS data processed {"connection_id":125283,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:05:06] local.INFO: Acknowledgment sent {"connection_id":125283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:05:06] local.INFO: TCP Data received {"connection_id":125284,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:05:06] local.INFO: Processing buffer {"connection_id":125284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:05:06] local.INFO: IMEI packet received {"connection_id":125284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":125284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:05:11] local.INFO: TCP Data received {"connection_id":125284,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:05:11] local.INFO: Processing buffer {"connection_id":125284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:05:11] local.INFO: IMEI packet received {"connection_id":125284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":125284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:05:13] local.INFO: TCP Data received {"connection_id":125284,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f403797c8012d1a9a00072420d0002a002224..."} 
[2026-07-08 11:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403797c8012d1a9a00072420d0002a002224..."} 
[2026-07-08 11:05:13] local.INFO: Processing buffer {"connection_id":125284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403797c8012d1a9a00072420d0002a002224..."} 
[2026-07-08 11:05:13] local.INFO: Packet analysis {"connection_id":125284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4037"} 
[2026-07-08 11:05:13] local.INFO: Extracted packet for processing {"connection_id":125284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4037"} 
[2026-07-08 11:05:13] local.INFO: GPS Element Parsed {"raw_longitude":756718080,"raw_latitude":119808208,"longitude_deg":75.671808,"latitude_deg":11.9808208,"altitude":42,"angle":34,"satellites":36,"speed":0,"hex_longitude":"2d1a9a00","hex_latitude":"072420d0","is_valid_coordinates":true} 
[2026-07-08 11:05: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-07-08 11:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573136128001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4697564645425152,"note":"Value kept but may cause issues"} 
[2026-07-08 11:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1916844622070468608,"note":"Value kept but may cause issues"} 
[2026-07-08 11:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783488813000,"timestamp_ms":1783488813000,"timestamp_seconds":1783488813,"priority":1,"record_length":96,"hex_timestamp":"0000019f403797c8"} 
[2026-07-08 11:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:05:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-08 11:05:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:05:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573136128001,"66":14135,"112":206,"28":31744,"24":0,"16":4697564645425152,"45":1916844622070468608},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 11:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573136128001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:05:13] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 11:05:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4697564645425152,"km_value":4697564645425.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1916844622070468608,"description":"Unknown IO ID 45"} 
[2026-07-08 11:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573136128001,"power":14135,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1916844622070468608}} 
[2026-07-08 11:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":125284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:05:13] local.INFO: GPS data processed {"connection_id":125284,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:05:13] local.INFO: Acknowledgment sent {"connection_id":125284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:05:16] local.INFO: TCP Data received {"connection_id":125284,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4037a768012d1a9a4007242190002a003d25..."} 
[2026-07-08 11:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4037a768012d1a9a4007242190002a003d25..."} 
[2026-07-08 11:05:16] local.INFO: Processing buffer {"connection_id":125284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4037a768012d1a9a4007242190002a003d25..."} 
[2026-07-08 11:05:16] local.INFO: Packet analysis {"connection_id":125284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4037"} 
[2026-07-08 11:05:16] local.INFO: Extracted packet for processing {"connection_id":125284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4037"} 
[2026-07-08 11:05:16] local.INFO: GPS Element Parsed {"raw_longitude":756718144,"raw_latitude":119808400,"longitude_deg":75.6718144,"latitude_deg":11.98084,"altitude":42,"angle":61,"satellites":37,"speed":4,"hex_longitude":"2d1a9a40","hex_latitude":"07242190","is_valid_coordinates":true} 
[2026-07-08 11:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573136128001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4697564645425152,"note":"Value kept but may cause issues"} 
[2026-07-08 11:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1916844622070468608,"note":"Value kept but may cause issues"} 
[2026-07-08 11:05:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783488817000,"timestamp_ms":1783488817000,"timestamp_seconds":1783488817,"priority":1,"record_length":96,"hex_timestamp":"0000019f4037a768"} 
[2026-07-08 11:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-08 11:05:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:05:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":125284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":125284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":125284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573136128001,"66":2481,"112":206,"28":31744,"24":4,"16":4697564645425152,"45":1916844622070468608},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 11:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573136128001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:05:16] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 11:05:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4697564645425152,"km_value":4697564645425.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1916844622070468608,"description":"Unknown IO ID 45"} 
[2026-07-08 11:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573136128001,"power":2481,"unknown_112":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1916844622070468608}} 
[2026-07-08 11:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":125284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:05:16] local.INFO: GPS data processed {"connection_id":125284,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:05:16] local.INFO: Acknowledgment sent {"connection_id":125284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:05:25] local.INFO: TCP Data received {"connection_id":126133,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f40387e40012d0b130007029fc00000013426..."} 
[2026-07-08 11:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40387e40012d0b130007029fc00000013426..."} 
[2026-07-08 11:05:25] local.INFO: Processing buffer {"connection_id":126133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40387e40012d0b130007029fc00000013426..."} 
[2026-07-08 11:05:25] local.INFO: Packet analysis {"connection_id":126133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4038"} 
[2026-07-08 11:05:25] local.INFO: Extracted packet for processing {"connection_id":126133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4038"} 
[2026-07-08 11:05:25] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573074176001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:05:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783488872000,"timestamp_ms":1783488872000,"timestamp_seconds":1783488872,"priority":1,"record_length":96,"hex_timestamp":"0000019f40387e40"} 
[2026-07-08 11:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:05:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:05:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":126133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":126133,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":126133,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:05:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573074176001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573074176001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:05:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573074176001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":126133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450479,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:05:25] local.INFO: GPS data processed {"connection_id":126133,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:05:25] local.INFO: Acknowledgment sent {"connection_id":126133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:05:36] local.INFO: TCP Data received {"connection_id":125283,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f40379f98012d7f980005afe330000001262d..."} 
[2026-07-08 11:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40379f98012d7f980005afe330000001262d..."} 
[2026-07-08 11:05:36] local.INFO: Processing buffer {"connection_id":125283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40379f98012d7f980005afe330000001262d..."} 
[2026-07-08 11:05:36] local.INFO: Packet analysis {"connection_id":125283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4037"} 
[2026-07-08 11:05:36] local.INFO: Extracted packet for processing {"connection_id":125283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4037"} 
[2026-07-08 11:05:36] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573059584001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783488815000,"timestamp_ms":1783488815000,"timestamp_seconds":1783488815,"priority":1,"record_length":96,"hex_timestamp":"0000019f40379f98"} 
[2026-07-08 11:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":194,"data_length":795,"current_offset":136} 
[2026-07-08 11:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573059584001,"66":25495,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573059584001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:05:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:05:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573059584001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":125283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:05:37] local.INFO: GPS data processed {"connection_id":125283,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:05:37] local.INFO: Acknowledgment sent {"connection_id":125283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:05:45] local.INFO: TCP Data received {"connection_id":125391,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125391,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:05:45] local.INFO: Processing buffer {"connection_id":125391,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:05:45] local.INFO: IMEI packet received {"connection_id":125391,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":125391,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:05:50] local.INFO: TCP Data received {"connection_id":125391,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125391,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:05:50] local.INFO: Processing buffer {"connection_id":125391,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:05:50] local.INFO: IMEI packet received {"connection_id":125391,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":125391,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:05:52] local.INFO: TCP Data received {"connection_id":125391,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40387e40012d0b130007029fc00000013426..."} 
[2026-07-08 11:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40387e40012d0b130007029fc00000013426..."} 
[2026-07-08 11:05:52] local.INFO: Processing buffer {"connection_id":125391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40387e40012d0b130007029fc00000013426..."} 
[2026-07-08 11:05:52] local.INFO: Packet analysis {"connection_id":125391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4038"} 
[2026-07-08 11:05:52] local.INFO: Extracted packet for processing {"connection_id":125391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4038"} 
[2026-07-08 11:05:52] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573074176001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783488872000,"timestamp_ms":1783488872000,"timestamp_seconds":1783488872,"priority":1,"record_length":96,"hex_timestamp":"0000019f40387e40"} 
[2026-07-08 11:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":125391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":125391,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":125391,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573074176001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573074176001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:05:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573074176001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":125391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450481,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:05:53] local.INFO: GPS data processed {"connection_id":125391,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:05:53] local.INFO: Acknowledgment sent {"connection_id":125391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:05:56] local.INFO: TCP Data received {"connection_id":127390,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:05:56] local.INFO: Processing buffer {"connection_id":127390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:05:56] local.INFO: IMEI packet received {"connection_id":127390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":127390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:06:01] local.INFO: TCP Data received {"connection_id":127390,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:06:01] local.INFO: Processing buffer {"connection_id":127390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:06:01] local.INFO: IMEI packet received {"connection_id":127390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":127390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:06:01] local.INFO: TCP Data received {"connection_id":127391,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:06:01] local.INFO: Processing buffer {"connection_id":127391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:06:01] local.INFO: IMEI packet received {"connection_id":127391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":127391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:06:02] local.INFO: TCP Data received {"connection_id":127390,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40379f98012d7f980005afe330000001262d..."} 
[2026-07-08 11:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40379f98012d7f980005afe330000001262d..."} 
[2026-07-08 11:06:02] local.INFO: Processing buffer {"connection_id":127390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40379f98012d7f980005afe330000001262d..."} 
[2026-07-08 11:06:02] local.INFO: Packet analysis {"connection_id":127390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4037"} 
[2026-07-08 11:06:02] local.INFO: Extracted packet for processing {"connection_id":127390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4037"} 
[2026-07-08 11:06:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573059584001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783488815000,"timestamp_ms":1783488815000,"timestamp_seconds":1783488815,"priority":1,"record_length":96,"hex_timestamp":"0000019f40379f98"} 
[2026-07-08 11:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-08 11:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573059584001,"66":25495,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573059584001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:06:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:06:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573059584001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":127390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:06:02] local.INFO: GPS data processed {"connection_id":127390,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:06:02] local.INFO: Acknowledgment sent {"connection_id":127390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:06:06] local.INFO: TCP Data received {"connection_id":127391,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:06:06] local.INFO: Processing buffer {"connection_id":127391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:06:06] local.INFO: IMEI packet received {"connection_id":127391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":127391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:06:07] local.INFO: TCP Data received {"connection_id":127391,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4037a768012d1a9a4007242190002a003d25..."} 
[2026-07-08 11:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4037a768012d1a9a4007242190002a003d25..."} 
[2026-07-08 11:06:07] local.INFO: Processing buffer {"connection_id":127391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4037a768012d1a9a4007242190002a003d25..."} 
[2026-07-08 11:06:07] local.INFO: Packet analysis {"connection_id":127391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4037"} 
[2026-07-08 11:06:07] local.INFO: Extracted packet for processing {"connection_id":127391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4037"} 
[2026-07-08 11:06:07] local.INFO: GPS Element Parsed {"raw_longitude":756718144,"raw_latitude":119808400,"longitude_deg":75.6718144,"latitude_deg":11.98084,"altitude":42,"angle":61,"satellites":37,"speed":4,"hex_longitude":"2d1a9a40","hex_latitude":"07242190","is_valid_coordinates":true} 
[2026-07-08 11:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573136128001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4697564645425152,"note":"Value kept but may cause issues"} 
[2026-07-08 11:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1916844622070468608,"note":"Value kept but may cause issues"} 
[2026-07-08 11:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783488817000,"timestamp_ms":1783488817000,"timestamp_seconds":1783488817,"priority":1,"record_length":96,"hex_timestamp":"0000019f4037a768"} 
[2026-07-08 11:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-08 11:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573136128001,"66":2481,"112":206,"28":31744,"24":4,"16":4697564645425152,"45":1916844622070468608},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 11:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573136128001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:06:07] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 11:06:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4697564645425152,"km_value":4697564645425.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1916844622070468608,"description":"Unknown IO ID 45"} 
[2026-07-08 11:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573136128001,"power":2481,"unknown_112":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1916844622070468608}} 
[2026-07-08 11:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":127391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:06:07] local.INFO: GPS data processed {"connection_id":127391,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:06:07] local.INFO: Acknowledgment sent {"connection_id":127391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:06:25] local.INFO: TCP Data received {"connection_id":125391,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40387e40012d0b130007029fc00000013426..."} 
[2026-07-08 11:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40387e40012d0b130007029fc00000013426..."} 
[2026-07-08 11:06:25] local.INFO: Processing buffer {"connection_id":125391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40387e40012d0b130007029fc00000013426..."} 
[2026-07-08 11:06:25] local.INFO: Packet analysis {"connection_id":125391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4038"} 
[2026-07-08 11:06:25] local.INFO: Extracted packet for processing {"connection_id":125391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4038"} 
[2026-07-08 11:06:25] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573074176001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:06:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783488872000,"timestamp_ms":1783488872000,"timestamp_seconds":1783488872,"priority":1,"record_length":96,"hex_timestamp":"0000019f40387e40"} 
[2026-07-08 11:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:06:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:06:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":125391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":125391,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":125391,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:06:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573074176001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573074176001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:06:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573074176001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":125391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450484,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:06:25] local.INFO: GPS data processed {"connection_id":125391,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:06:25] local.INFO: Acknowledgment sent {"connection_id":125391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:06:33] local.INFO: TCP Data received {"connection_id":127390,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40379f98012d7f980005afe330000001262d..."} 
[2026-07-08 11:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40379f98012d7f980005afe330000001262d..."} 
[2026-07-08 11:06:33] local.INFO: Processing buffer {"connection_id":127390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40379f98012d7f980005afe330000001262d..."} 
[2026-07-08 11:06:33] local.INFO: Packet analysis {"connection_id":127390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4037"} 
[2026-07-08 11:06:33] local.INFO: Extracted packet for processing {"connection_id":127390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4037"} 
[2026-07-08 11:06:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573059584001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783488815000,"timestamp_ms":1783488815000,"timestamp_seconds":1783488815,"priority":1,"record_length":96,"hex_timestamp":"0000019f40379f98"} 
[2026-07-08 11:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-08 11:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:06:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:06: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-07-08 11:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573059584001,"66":25495,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573059584001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:06:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:06:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573059584001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":127390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:06:33] local.INFO: GPS data processed {"connection_id":127390,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:06:33] local.INFO: Acknowledgment sent {"connection_id":127390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:06:38] local.INFO: TCP Data received {"connection_id":127391,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f403983f8012d1ab08007242620002c004024..."} 
[2026-07-08 11:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403983f8012d1ab08007242620002c004024..."} 
[2026-07-08 11:06:38] local.INFO: Processing buffer {"connection_id":127391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403983f8012d1ab08007242620002c004024..."} 
[2026-07-08 11:06:38] local.INFO: Packet analysis {"connection_id":127391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4039"} 
[2026-07-08 11:06:38] local.INFO: Extracted packet for processing {"connection_id":127391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4039"} 
[2026-07-08 11:06:38] local.INFO: GPS Element Parsed {"raw_longitude":756723840,"raw_latitude":119809568,"longitude_deg":75.672384,"latitude_deg":11.9809568,"altitude":44,"angle":64,"satellites":36,"speed":0,"hex_longitude":"2d1ab080","hex_latitude":"07242620","is_valid_coordinates":true} 
[2026-07-08 11:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573137152001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4697564645425152,"note":"Value kept but may cause issues"} 
[2026-07-08 11:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1916914990814695424,"note":"Value kept but may cause issues"} 
[2026-07-08 11:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783488939000,"timestamp_ms":1783488939000,"timestamp_seconds":1783488939,"priority":1,"record_length":96,"hex_timestamp":"0000019f403983f8"} 
[2026-07-08 11:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-07-08 11:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1836,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573137152001,"66":2166,"112":206,"28":31744,"24":0,"16":4697564645425152,"45":1916914990814695424},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 11:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573137152001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:06:38] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 11:06:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4697564645425152,"km_value":4697564645425.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1916914990814695424,"description":"Unknown IO ID 45"} 
[2026-07-08 11:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573137152001,"power":2166,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1916914990814695424}} 
[2026-07-08 11:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":127391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:06:38] local.INFO: GPS data processed {"connection_id":127391,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:06:38] local.INFO: Acknowledgment sent {"connection_id":127391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:06:45] local.INFO: TCP Data received {"connection_id":127392,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127392,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:06:45] local.INFO: Processing buffer {"connection_id":127392,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:06:45] local.INFO: IMEI packet received {"connection_id":127392,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":127392,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:06:50] local.INFO: TCP Data received {"connection_id":127392,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127392,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:06:50] local.INFO: Processing buffer {"connection_id":127392,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:06:50] local.INFO: IMEI packet received {"connection_id":127392,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":127392,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:06:51] local.INFO: TCP Data received {"connection_id":127392,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40387e40012d0b130007029fc00000013426..."} 
[2026-07-08 11:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40387e40012d0b130007029fc00000013426..."} 
[2026-07-08 11:06:51] local.INFO: Processing buffer {"connection_id":127392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40387e40012d0b130007029fc00000013426..."} 
[2026-07-08 11:06:51] local.INFO: Packet analysis {"connection_id":127392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4038"} 
[2026-07-08 11:06:51] local.INFO: Extracted packet for processing {"connection_id":127392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4038"} 
[2026-07-08 11:06:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573074176001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783488872000,"timestamp_ms":1783488872000,"timestamp_seconds":1783488872,"priority":1,"record_length":96,"hex_timestamp":"0000019f40387e40"} 
[2026-07-08 11:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:06:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573074176001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573074176001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:06:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573074176001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":127392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450487,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:06:52] local.INFO: GPS data processed {"connection_id":127392,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:06:52] local.INFO: Acknowledgment sent {"connection_id":127392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:06:56] local.INFO: TCP Data received {"connection_id":127393,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:06:56] local.INFO: Processing buffer {"connection_id":127393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:06:56] local.INFO: IMEI packet received {"connection_id":127393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":127393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:07:00] local.INFO: TCP Data received {"connection_id":125285,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:07:00] local.INFO: Processing buffer {"connection_id":125285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:07:00] local.INFO: IMEI packet received {"connection_id":125285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":125285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:07:01] local.INFO: TCP Data received {"connection_id":127393,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:07:01] local.INFO: Processing buffer {"connection_id":127393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:07:01] local.INFO: IMEI packet received {"connection_id":127393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":127393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:07:02] local.INFO: TCP Data received {"connection_id":127393,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40379f98012d7f980005afe330000001262d..."} 
[2026-07-08 11:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40379f98012d7f980005afe330000001262d..."} 
[2026-07-08 11:07:02] local.INFO: Processing buffer {"connection_id":127393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40379f98012d7f980005afe330000001262d..."} 
[2026-07-08 11:07:02] local.INFO: Packet analysis {"connection_id":127393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4037"} 
[2026-07-08 11:07:02] local.INFO: Extracted packet for processing {"connection_id":127393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4037"} 
[2026-07-08 11:07:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573059584001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783488815000,"timestamp_ms":1783488815000,"timestamp_seconds":1783488815,"priority":1,"record_length":96,"hex_timestamp":"0000019f40379f98"} 
[2026-07-08 11:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-08 11:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:07:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573059584001,"66":25495,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573059584001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:07:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:07:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573059584001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":127393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:07:02] local.INFO: GPS data processed {"connection_id":127393,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:07:02] local.INFO: Acknowledgment sent {"connection_id":127393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:07:04] local.INFO: TCP Data received {"connection_id":125285,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:07:04] local.INFO: Processing buffer {"connection_id":125285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:07:04] local.INFO: IMEI packet received {"connection_id":125285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":125285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:07:05] local.INFO: TCP Data received {"connection_id":125285,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:07:05] local.INFO: Processing buffer {"connection_id":125285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:07:05] local.INFO: IMEI packet received {"connection_id":125285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":125285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:07:06] local.INFO: TCP Data received {"connection_id":125285,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f403983f8012d1ab08007242620002c004024..."} 
[2026-07-08 11:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403983f8012d1ab08007242620002c004024..."} 
[2026-07-08 11:07:06] local.INFO: Processing buffer {"connection_id":125285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403983f8012d1ab08007242620002c004024..."} 
[2026-07-08 11:07:06] local.INFO: Packet analysis {"connection_id":125285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4039"} 
[2026-07-08 11:07:06] local.INFO: Extracted packet for processing {"connection_id":125285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4039"} 
[2026-07-08 11:07:06] local.INFO: GPS Element Parsed {"raw_longitude":756723840,"raw_latitude":119809568,"longitude_deg":75.672384,"latitude_deg":11.9809568,"altitude":44,"angle":64,"satellites":36,"speed":0,"hex_longitude":"2d1ab080","hex_latitude":"07242620","is_valid_coordinates":true} 
[2026-07-08 11:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573168384001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4697564645425152,"note":"Value kept but may cause issues"} 
[2026-07-08 11:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1923177809046806528,"note":"Value kept but may cause issues"} 
[2026-07-08 11:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783488939000,"timestamp_ms":1783488939000,"timestamp_seconds":1783488939,"priority":1,"record_length":96,"hex_timestamp":"0000019f403983f8"} 
[2026-07-08 11:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 11:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573168384001,"66":2166,"112":206,"28":31744,"24":0,"16":4697564645425152,"45":1923177809046806528},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 11:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573168384001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:07:06] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 11:07:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4697564645425152,"km_value":4697564645425.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1923177809046806528,"description":"Unknown IO ID 45"} 
[2026-07-08 11:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573168384001,"power":2166,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1923177809046806528}} 
[2026-07-08 11:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":125285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:07:06] local.INFO: GPS data processed {"connection_id":125285,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:07:06] local.INFO: Acknowledgment sent {"connection_id":125285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:07:11] local.INFO: TCP Data received {"connection_id":125285,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f403983f8012d1ab08007242620002c004024..."} 
[2026-07-08 11:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403983f8012d1ab08007242620002c004024..."} 
[2026-07-08 11:07:11] local.INFO: Processing buffer {"connection_id":125285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403983f8012d1ab08007242620002c004024..."} 
[2026-07-08 11:07:11] local.INFO: Packet analysis {"connection_id":125285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4039"} 
[2026-07-08 11:07:11] local.INFO: Extracted packet for processing {"connection_id":125285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4039"} 
[2026-07-08 11:07:11] local.INFO: GPS Element Parsed {"raw_longitude":756723840,"raw_latitude":119809568,"longitude_deg":75.672384,"latitude_deg":11.9809568,"altitude":44,"angle":64,"satellites":36,"speed":0,"hex_longitude":"2d1ab080","hex_latitude":"07242620","is_valid_coordinates":true} 
[2026-07-08 11:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573168384001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4697564645425152,"note":"Value kept but may cause issues"} 
[2026-07-08 11:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1923177809046806528,"note":"Value kept but may cause issues"} 
[2026-07-08 11:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783488939000,"timestamp_ms":1783488939000,"timestamp_seconds":1783488939,"priority":1,"record_length":96,"hex_timestamp":"0000019f403983f8"} 
[2026-07-08 11:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 11:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573168384001,"66":2166,"112":206,"28":31744,"24":0,"16":4697564645425152,"45":1923177809046806528},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 11:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573168384001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:07:11] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 11:07:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4697564645425152,"km_value":4697564645425.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1923177809046806528,"description":"Unknown IO ID 45"} 
[2026-07-08 11:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573168384001,"power":2166,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1923177809046806528}} 
[2026-07-08 11:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":125285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:07:11] local.INFO: GPS data processed {"connection_id":125285,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:07:11] local.INFO: Acknowledgment sent {"connection_id":125285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:07:25] local.INFO: TCP Data received {"connection_id":127392,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40387e40012d0b130007029fc00000013426..."} 
[2026-07-08 11:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40387e40012d0b130007029fc00000013426..."} 
[2026-07-08 11:07:25] local.INFO: Processing buffer {"connection_id":127392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40387e40012d0b130007029fc00000013426..."} 
[2026-07-08 11:07:25] local.INFO: Packet analysis {"connection_id":127392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4038"} 
[2026-07-08 11:07:25] local.INFO: Extracted packet for processing {"connection_id":127392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4038"} 
[2026-07-08 11:07:25] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573074176001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:07:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783488872000,"timestamp_ms":1783488872000,"timestamp_seconds":1783488872,"priority":1,"record_length":96,"hex_timestamp":"0000019f40387e40"} 
[2026-07-08 11:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:07:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:07:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":127392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":127392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":127392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:07:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573074176001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573074176001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:07:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573074176001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":127392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450491,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:07:25] local.INFO: GPS data processed {"connection_id":127392,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:07:25] local.INFO: Acknowledgment sent {"connection_id":127392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:07:40] local.INFO: TCP Data received {"connection_id":127393,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40379f98012d7f980005afe330000001262d..."} 
[2026-07-08 11:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40379f98012d7f980005afe330000001262d..."} 
[2026-07-08 11:07:40] local.INFO: Processing buffer {"connection_id":127393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40379f98012d7f980005afe330000001262d..."} 
[2026-07-08 11:07:40] local.INFO: Packet analysis {"connection_id":127393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4037"} 
[2026-07-08 11:07:40] local.INFO: Extracted packet for processing {"connection_id":127393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4037"} 
[2026-07-08 11:07:40] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573059584001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783488815000,"timestamp_ms":1783488815000,"timestamp_seconds":1783488815,"priority":1,"record_length":96,"hex_timestamp":"0000019f40379f98"} 
[2026-07-08 11:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-08 11:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":127393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":127393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":127393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573059584001,"66":25495,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573059584001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:07:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:07:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573059584001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":127393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:07:40] local.INFO: GPS data processed {"connection_id":127393,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:07:40] local.INFO: Acknowledgment sent {"connection_id":127393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:07:43] local.INFO: TCP Data received {"connection_id":125285,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f403a89b0012d1ab000072426180015011a28..."} 
[2026-07-08 11:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403a89b0012d1ab000072426180015011a28..."} 
[2026-07-08 11:07:43] local.INFO: Processing buffer {"connection_id":125285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403a89b0012d1ab000072426180015011a28..."} 
[2026-07-08 11:07:43] local.INFO: Packet analysis {"connection_id":125285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f403a"} 
[2026-07-08 11:07:43] local.INFO: Extracted packet for processing {"connection_id":125285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f403a"} 
[2026-07-08 11:07:43] local.INFO: GPS Element Parsed {"raw_longitude":756723712,"raw_latitude":119809560,"longitude_deg":75.6723712,"latitude_deg":11.980956,"altitude":21,"angle":282,"satellites":40,"speed":2,"hex_longitude":"2d1ab000","hex_latitude":"07242618","is_valid_coordinates":true} 
[2026-07-08 11:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573184512001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4697706379345920,"note":"Value kept but may cause issues"} 
[2026-07-08 11:07:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1923951865232748544,"note":"Value kept but may cause issues"} 
[2026-07-08 11:07:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783489006000,"timestamp_ms":1783489006000,"timestamp_seconds":1783489006,"priority":1,"record_length":96,"hex_timestamp":"0000019f403a89b0"} 
[2026-07-08 11:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:07:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-08 11:07:43] 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-07-08 11:07:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":125285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":125285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":125285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:07:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573184512001,"66":14461,"112":206,"28":31744,"24":2,"16":4697706379345920,"45":1923951865232748544},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 11:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573184512001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:07:43] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 11:07:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4697706379345920,"km_value":4697706379345.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:07:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1923951865232748544,"description":"Unknown IO ID 45"} 
[2026-07-08 11:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573184512001,"power":14461,"unknown_112":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1923951865232748544}} 
[2026-07-08 11:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":125285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:07:43] local.INFO: GPS data processed {"connection_id":125285,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:07:43] local.INFO: Acknowledgment sent {"connection_id":125285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:07:45] local.INFO: TCP Data received {"connection_id":127394,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127394,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:07:45] local.INFO: Processing buffer {"connection_id":127394,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:07:45] local.INFO: IMEI packet received {"connection_id":127394,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":127394,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:07:50] local.INFO: TCP Data received {"connection_id":127394,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127394,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:07:50] local.INFO: Processing buffer {"connection_id":127394,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:07:50] local.INFO: IMEI packet received {"connection_id":127394,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":127394,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:07:54] local.INFO: TCP Data received {"connection_id":127394,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f40387e40012d0b130007029fc00000013426..."} 
[2026-07-08 11:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40387e40012d0b130007029fc00000013426..."} 
[2026-07-08 11:07:54] local.INFO: Processing buffer {"connection_id":127394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40387e40012d0b130007029fc00000013426..."} 
[2026-07-08 11:07:54] local.INFO: Packet analysis {"connection_id":127394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4038"} 
[2026-07-08 11:07:54] local.INFO: Extracted packet for processing {"connection_id":127394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4038"} 
[2026-07-08 11:07:54] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573074176001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783488872000,"timestamp_ms":1783488872000,"timestamp_seconds":1783488872,"priority":1,"record_length":96,"hex_timestamp":"0000019f40387e40"} 
[2026-07-08 11:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:07:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":127394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":127394,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":127394,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:07:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573074176001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573074176001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:07:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573074176001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":127394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450494,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:07:54] local.INFO: GPS data processed {"connection_id":127394,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:07:54] local.INFO: Acknowledgment sent {"connection_id":127394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:07:56] local.INFO: TCP Data received {"connection_id":125393,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:07:56] local.INFO: Processing buffer {"connection_id":125393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:07:56] local.INFO: IMEI packet received {"connection_id":125393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":125393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:08:00] local.INFO: TCP Data received {"connection_id":125394,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:08:00] local.INFO: Processing buffer {"connection_id":125394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:08:00] local.INFO: IMEI packet received {"connection_id":125394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":125394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:08:01] local.INFO: TCP Data received {"connection_id":125393,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:08:01] local.INFO: Processing buffer {"connection_id":125393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:08:01] local.INFO: IMEI packet received {"connection_id":125393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":125393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:08:04] local.INFO: TCP Data received {"connection_id":125393,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f40379f98012d7f980005afe330000001262d..."} 
[2026-07-08 11:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40379f98012d7f980005afe330000001262d..."} 
[2026-07-08 11:08:04] local.INFO: Processing buffer {"connection_id":125393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40379f98012d7f980005afe330000001262d..."} 
[2026-07-08 11:08:04] local.INFO: Packet analysis {"connection_id":125393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4037"} 
[2026-07-08 11:08:04] local.INFO: Extracted packet for processing {"connection_id":125393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4037"} 
[2026-07-08 11:08:04] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573059584001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783488815000,"timestamp_ms":1783488815000,"timestamp_seconds":1783488815,"priority":1,"record_length":96,"hex_timestamp":"0000019f40379f98"} 
[2026-07-08 11:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-08 11:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573059584001,"66":25495,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573059584001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:08:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:08:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573059584001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":125393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:08:04] local.INFO: GPS data processed {"connection_id":125393,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:08:04] local.INFO: Acknowledgment sent {"connection_id":125393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:08:05] local.INFO: TCP Data received {"connection_id":125394,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:08:05] local.INFO: Processing buffer {"connection_id":125394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:08:05] local.INFO: IMEI packet received {"connection_id":125394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":125394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:08:07] local.INFO: TCP Data received {"connection_id":125394,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f403a9d38012d1aaf00072426180017010628..."} 
[2026-07-08 11:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403a9d38012d1aaf00072426180017010628..."} 
[2026-07-08 11:08:07] local.INFO: Processing buffer {"connection_id":125394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403a9d38012d1aaf00072426180017010628..."} 
[2026-07-08 11:08:07] local.INFO: Packet analysis {"connection_id":125394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f403a"} 
[2026-07-08 11:08:07] local.INFO: Extracted packet for processing {"connection_id":125394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f403a"} 
[2026-07-08 11:08:07] local.INFO: GPS Element Parsed {"raw_longitude":756723456,"raw_latitude":119809560,"longitude_deg":75.6723456,"latitude_deg":11.980956,"altitude":23,"angle":262,"satellites":40,"speed":1,"hex_longitude":"2d1aaf00","hex_latitude":"07242618","is_valid_coordinates":true} 
[2026-07-08 11:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573185536001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4697719264247808,"note":"Value kept but may cause issues"} 
[2026-07-08 11:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1923037071558449152,"note":"Value kept but may cause issues"} 
[2026-07-08 11:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783489011000,"timestamp_ms":1783489011000,"timestamp_seconds":1783489011,"priority":1,"record_length":96,"hex_timestamp":"0000019f403a9d38"} 
[2026-07-08 11:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-08 11:08: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-07-08 11:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573185536001,"66":14515,"112":206,"28":31744,"24":1,"16":4697719264247808,"45":1923037071558449152},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 11:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573185536001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:08:07] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 11:08:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4697719264247808,"km_value":4697719264247.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1923037071558449152,"description":"Unknown IO ID 45"} 
[2026-07-08 11:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573185536001,"power":14515,"unknown_112":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1923037071558449152}} 
[2026-07-08 11:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":125394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:08:07] local.INFO: GPS data processed {"connection_id":125394,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:08:07] local.INFO: Acknowledgment sent {"connection_id":125394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:08:27] local.INFO: TCP Data received {"connection_id":127394,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f40387e40012d0b130007029fc00000013426..."} 
[2026-07-08 11:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40387e40012d0b130007029fc00000013426..."} 
[2026-07-08 11:08:27] local.INFO: Processing buffer {"connection_id":127394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40387e40012d0b130007029fc00000013426..."} 
[2026-07-08 11:08:27] local.INFO: Packet analysis {"connection_id":127394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4038"} 
[2026-07-08 11:08:27] local.INFO: Extracted packet for processing {"connection_id":127394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4038"} 
[2026-07-08 11:08:27] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573074176001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783488872000,"timestamp_ms":1783488872000,"timestamp_seconds":1783488872,"priority":1,"record_length":96,"hex_timestamp":"0000019f40387e40"} 
[2026-07-08 11:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:08:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:08:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":127394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":127394,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":127394,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573074176001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573074176001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:08:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573074176001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":127394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450497,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:08:27] local.INFO: GPS data processed {"connection_id":127394,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:08:27] local.INFO: Acknowledgment sent {"connection_id":127394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:08:36] local.INFO: TCP Data received {"connection_id":125393,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f40379f98012d7f980005afe330000001262d..."} 
[2026-07-08 11:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40379f98012d7f980005afe330000001262d..."} 
[2026-07-08 11:08:36] local.INFO: Processing buffer {"connection_id":125393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40379f98012d7f980005afe330000001262d..."} 
[2026-07-08 11:08:36] local.INFO: Packet analysis {"connection_id":125393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4037"} 
[2026-07-08 11:08:36] local.INFO: Extracted packet for processing {"connection_id":125393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4037"} 
[2026-07-08 11:08:36] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573059584001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783488815000,"timestamp_ms":1783488815000,"timestamp_seconds":1783488815,"priority":1,"record_length":96,"hex_timestamp":"0000019f40379f98"} 
[2026-07-08 11:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":194,"data_length":795,"current_offset":136} 
[2026-07-08 11:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573059584001,"66":25495,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573059584001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:08:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:08:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573059584001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":125393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:08:36] local.INFO: GPS data processed {"connection_id":125393,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:08:36] local.INFO: Acknowledgment sent {"connection_id":125393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:08:39] local.INFO: TCP Data received {"connection_id":125394,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f403abc78012d1aab0007242560001a00f228..."} 
[2026-07-08 11:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403abc78012d1aab0007242560001a00f228..."} 
[2026-07-08 11:08:39] local.INFO: Processing buffer {"connection_id":125394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403abc78012d1aab0007242560001a00f228..."} 
[2026-07-08 11:08:39] local.INFO: Packet analysis {"connection_id":125394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f403a"} 
[2026-07-08 11:08:39] local.INFO: Extracted packet for processing {"connection_id":125394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f403a"} 
[2026-07-08 11:08:39] local.INFO: GPS Element Parsed {"raw_longitude":756722432,"raw_latitude":119809376,"longitude_deg":75.6722432,"latitude_deg":11.9809376,"altitude":26,"angle":242,"satellites":40,"speed":15,"hex_longitude":"2d1aab00","hex_latitude":"07242560","is_valid_coordinates":true} 
[2026-07-08 11:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573186816001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4697775098822656,"note":"Value kept but may cause issues"} 
[2026-07-08 11:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1922755596581738496,"note":"Value kept but may cause issues"} 
[2026-07-08 11:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783489019000,"timestamp_ms":1783489019000,"timestamp_seconds":1783489019,"priority":1,"record_length":96,"hex_timestamp":"0000019f403abc78"} 
[2026-07-08 11:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 11:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573186816001,"66":14537,"112":206,"28":31744,"24":15,"16":4697775098822656,"45":1922755596581738496},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 11:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573186816001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:08:39] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 11:08:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4697775098822656,"km_value":4697775098822.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1922755596581738496,"description":"Unknown IO ID 45"} 
[2026-07-08 11:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573186816001,"power":14537,"unknown_112":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1922755596581738496}} 
[2026-07-08 11:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":125394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:08:39] local.INFO: GPS data processed {"connection_id":125394,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:08:39] local.INFO: Acknowledgment sent {"connection_id":125394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:08:51] local.INFO: TCP Data received {"connection_id":125286,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125286,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:08:51] local.INFO: Processing buffer {"connection_id":125286,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:08:51] local.INFO: IMEI packet received {"connection_id":125286,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":125286,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:08:55] local.INFO: TCP Data received {"connection_id":125286,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125286,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:08:55] local.INFO: Processing buffer {"connection_id":125286,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:08:55] local.INFO: IMEI packet received {"connection_id":125286,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":125286,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:08:56] local.INFO: TCP Data received {"connection_id":125287,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:08:56] local.INFO: Processing buffer {"connection_id":125287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:08:56] local.INFO: IMEI packet received {"connection_id":125287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":125287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:08:56] local.INFO: TCP Data received {"connection_id":125286,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f40387e40012d0b130007029fc00000013426..."} 
[2026-07-08 11:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40387e40012d0b130007029fc00000013426..."} 
[2026-07-08 11:08:56] local.INFO: Processing buffer {"connection_id":125286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40387e40012d0b130007029fc00000013426..."} 
[2026-07-08 11:08:56] local.INFO: Packet analysis {"connection_id":125286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4038"} 
[2026-07-08 11:08:56] local.INFO: Extracted packet for processing {"connection_id":125286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4038"} 
[2026-07-08 11:08:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573074176001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783488872000,"timestamp_ms":1783488872000,"timestamp_seconds":1783488872,"priority":1,"record_length":96,"hex_timestamp":"0000019f40387e40"} 
[2026-07-08 11:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:08:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:08:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:08:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":125286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":125286,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":125286,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573074176001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573074176001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:08:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573074176001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":125286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450500,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:08:56] local.INFO: GPS data processed {"connection_id":125286,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:08:56] local.INFO: Acknowledgment sent {"connection_id":125286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:09:00] local.INFO: TCP Data received {"connection_id":125286,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f40387e40012d0b130007029fc00000013426..."} 
[2026-07-08 11:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40387e40012d0b130007029fc00000013426..."} 
[2026-07-08 11:09:00] local.INFO: Processing buffer {"connection_id":125286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40387e40012d0b130007029fc00000013426..."} 
[2026-07-08 11:09:00] local.INFO: Packet analysis {"connection_id":125286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4038"} 
[2026-07-08 11:09:00] local.INFO: Extracted packet for processing {"connection_id":125286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4038"} 
[2026-07-08 11:09:00] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573074176001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783488872000,"timestamp_ms":1783488872000,"timestamp_seconds":1783488872,"priority":1,"record_length":96,"hex_timestamp":"0000019f40387e40"} 
[2026-07-08 11:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125286,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125286,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573074176001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573074176001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:09:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573074176001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:09:00] local.INFO: TCP Data received {"connection_id":127396,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:09:00] local.INFO: Processing buffer {"connection_id":127396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:09:00] local.INFO: IMEI packet received {"connection_id":127396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":127396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":125286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450501,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:09:00] local.INFO: GPS data processed {"connection_id":125286,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:09:00] local.INFO: Acknowledgment sent {"connection_id":125286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:09:01] local.INFO: TCP Data received {"connection_id":125287,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:09:01] local.INFO: Processing buffer {"connection_id":125287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:09:01] local.INFO: IMEI packet received {"connection_id":125287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":125287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:09:02] local.INFO: TCP Data received {"connection_id":127396,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:09:02] local.INFO: Processing buffer {"connection_id":127396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:09:02] local.INFO: IMEI packet received {"connection_id":127396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":127396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:09:02] local.INFO: TCP Data received {"connection_id":125287,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f40379f98012d7f980005afe330000001262d..."} 
[2026-07-08 11:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40379f98012d7f980005afe330000001262d..."} 
[2026-07-08 11:09:02] local.INFO: Processing buffer {"connection_id":125287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40379f98012d7f980005afe330000001262d..."} 
[2026-07-08 11:09:02] local.INFO: Packet analysis {"connection_id":125287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4037"} 
[2026-07-08 11:09:02] local.INFO: Extracted packet for processing {"connection_id":125287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4037"} 
[2026-07-08 11:09:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":45,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573059584001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783488815000,"timestamp_ms":1783488815000,"timestamp_seconds":1783488815,"priority":1,"record_length":96,"hex_timestamp":"0000019f40379f98"} 
[2026-07-08 11:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-08 11:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573059584001,"66":25495,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573059584001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:09:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:09:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573059584001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":125287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:09:02] local.INFO: GPS data processed {"connection_id":125287,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:09:02] local.INFO: Acknowledgment sent {"connection_id":125287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:09:06] local.INFO: TCP Data received {"connection_id":127396,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:09:06] local.INFO: Processing buffer {"connection_id":127396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:09:06] local.INFO: IMEI packet received {"connection_id":127396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":127396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:09:07] local.INFO: TCP Data received {"connection_id":127396,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f403afee0012d1a8940072415e8002200f624..."} 
[2026-07-08 11:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403afee0012d1a8940072415e8002200f624..."} 
[2026-07-08 11:09:07] local.INFO: Processing buffer {"connection_id":127396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403afee0012d1a8940072415e8002200f624..."} 
[2026-07-08 11:09:07] local.INFO: Packet analysis {"connection_id":127396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f403a"} 
[2026-07-08 11:09:07] local.INFO: Extracted packet for processing {"connection_id":127396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f403a"} 
[2026-07-08 11:09:07] local.INFO: GPS Element Parsed {"raw_longitude":756713792,"raw_latitude":119805416,"longitude_deg":75.6713792,"latitude_deg":11.9805416,"altitude":34,"angle":246,"satellites":36,"speed":25,"hex_longitude":"2d1a8940","hex_latitude":"072415e8","is_valid_coordinates":true} 
[2026-07-08 11:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573188864001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4698226070388736,"note":"Value kept but may cause issues"} 
[2026-07-08 11:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1921629696674848768,"note":"Value kept but may cause issues"} 
[2026-07-08 11:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783489036000,"timestamp_ms":1783489036000,"timestamp_seconds":1783489036,"priority":1,"record_length":96,"hex_timestamp":"0000019f403afee0"} 
[2026-07-08 11:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-08 11:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573188864001,"66":13993,"112":206,"28":31744,"24":25,"16":4698226070388736,"45":1921629696674848768},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 11:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573188864001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:09:07] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 11:09:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4698226070388736,"km_value":4698226070388.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1921629696674848768,"description":"Unknown IO ID 45"} 
[2026-07-08 11:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573188864001,"power":13993,"unknown_112":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1921629696674848768}} 
[2026-07-08 11:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":127396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:09:07] local.INFO: GPS data processed {"connection_id":127396,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:09:07] local.INFO: Acknowledgment sent {"connection_id":127396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:09:32] local.INFO: TCP Data received {"connection_id":127395,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127395,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:09:32] local.INFO: Processing buffer {"connection_id":127395,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:09:32] local.INFO: IMEI packet received {"connection_id":127395,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 11:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":127395,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:09:32] local.INFO: TCP Data received {"connection_id":125287,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f403c3760012d7f980005afe330000801262a..."} 
[2026-07-08 11:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403c3760012d7f980005afe330000801262a..."} 
[2026-07-08 11:09:33] local.INFO: Processing buffer {"connection_id":125287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403c3760012d7f980005afe330000801262a..."} 
[2026-07-08 11:09:33] local.INFO: Packet analysis {"connection_id":125287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f403c"} 
[2026-07-08 11:09:33] local.INFO: Extracted packet for processing {"connection_id":125287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f403c"} 
[2026-07-08 11:09:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":8,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573136640001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783489116000,"timestamp_ms":1783489116000,"timestamp_seconds":1783489116,"priority":1,"record_length":96,"hex_timestamp":"0000019f403c3760"} 
[2026-07-08 11:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 11:09: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-07-08 11:09:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573136640001,"66":25528,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573136640001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:09:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:09:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573136640001,"power":25528,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":125287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:09:33] local.INFO: GPS data processed {"connection_id":125287,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:09:33] local.INFO: Acknowledgment sent {"connection_id":125287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:09:38] local.INFO: TCP Data received {"connection_id":127396,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f403b4918012d1a6940072405e0002b00ea24..."} 
[2026-07-08 11:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403b4918012d1a6940072405e0002b00ea24..."} 
[2026-07-08 11:09:38] local.INFO: Processing buffer {"connection_id":127396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403b4918012d1a6940072405e0002b00ea24..."} 
[2026-07-08 11:09:38] local.INFO: Packet analysis {"connection_id":127396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f403b"} 
[2026-07-08 11:09:38] local.INFO: Extracted packet for processing {"connection_id":127396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f403b"} 
[2026-07-08 11:09:38] local.INFO: GPS Element Parsed {"raw_longitude":756705600,"raw_latitude":119801312,"longitude_deg":75.67056,"latitude_deg":11.9801312,"altitude":43,"angle":234,"satellites":36,"speed":17,"hex_longitude":"2d1a6940","hex_latitude":"072405e0","is_valid_coordinates":true} 
[2026-07-08 11:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573193216001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4698664157052928,"note":"Value kept but may cause issues"} 
[2026-07-08 11:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912129916209850368,"note":"Value kept but may cause issues"} 
[2026-07-08 11:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783489055000,"timestamp_ms":1783489055000,"timestamp_seconds":1783489055,"priority":1,"record_length":96,"hex_timestamp":"0000019f403b4918"} 
[2026-07-08 11:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 11:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573193216001,"66":14483,"112":206,"28":31744,"24":17,"16":4698664157052928,"45":1912129916209850368},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 11:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573193216001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:09:38] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 11:09:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4698664157052928,"km_value":4698664157052.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912129916209850368,"description":"Unknown IO ID 45"} 
[2026-07-08 11:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573193216001,"power":14483,"unknown_112":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1912129916209850368}} 
[2026-07-08 11:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":127396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:09:38] local.INFO: GPS data processed {"connection_id":127396,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:09:38] local.INFO: Acknowledgment sent {"connection_id":127396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:09:56] local.INFO: TCP Data received {"connection_id":125288,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:09:56] local.INFO: Processing buffer {"connection_id":125288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:09:56] local.INFO: IMEI packet received {"connection_id":125288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":125288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:10:01] local.INFO: TCP Data received {"connection_id":125288,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:10:01] local.INFO: Processing buffer {"connection_id":125288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:10:01] local.INFO: IMEI packet received {"connection_id":125288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":125288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:10:01] local.INFO: TCP Data received {"connection_id":125289,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:10:01] local.INFO: Processing buffer {"connection_id":125289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:10:01] local.INFO: IMEI packet received {"connection_id":125289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 11:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":125289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:10:02] local.INFO: TCP Data received {"connection_id":125288,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f403c3760012d7f980005afe330000801262a..."} 
[2026-07-08 11:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403c3760012d7f980005afe330000801262a..."} 
[2026-07-08 11:10:02] local.INFO: Processing buffer {"connection_id":125288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403c3760012d7f980005afe330000801262a..."} 
[2026-07-08 11:10:02] local.INFO: Packet analysis {"connection_id":125288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f403c"} 
[2026-07-08 11:10:02] local.INFO: Extracted packet for processing {"connection_id":125288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f403c"} 
[2026-07-08 11:10:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":8,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573136640001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783489116000,"timestamp_ms":1783489116000,"timestamp_seconds":1783489116,"priority":1,"record_length":96,"hex_timestamp":"0000019f403c3760"} 
[2026-07-08 11:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 11:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573136640001,"66":25528,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573136640001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:10:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:10:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573136640001,"power":25528,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":125288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:10:02] local.INFO: GPS data processed {"connection_id":125288,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:10:02] local.INFO: Acknowledgment sent {"connection_id":125288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:10:06] local.INFO: TCP Data received {"connection_id":125290,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125290,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:10:06] local.INFO: Processing buffer {"connection_id":125290,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:10:06] local.INFO: IMEI packet received {"connection_id":125290,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":125290,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:10:19] local.INFO: TCP Data received {"connection_id":125290,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125290,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:10:19] local.INFO: Processing buffer {"connection_id":125290,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:10:19] local.INFO: IMEI packet received {"connection_id":125290,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":125290,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:10:20] local.INFO: TCP Data received {"connection_id":125290,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f403cb848012d197f00072396f0004200fc22..."} 
[2026-07-08 11:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403cb848012d197f00072396f0004200fc22..."} 
[2026-07-08 11:10:20] local.INFO: Processing buffer {"connection_id":125290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403cb848012d197f00072396f0004200fc22..."} 
[2026-07-08 11:10:20] local.INFO: Packet analysis {"connection_id":125290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f403c"} 
[2026-07-08 11:10:20] local.INFO: Extracted packet for processing {"connection_id":125290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f403c"} 
[2026-07-08 11:10:20] local.INFO: GPS Element Parsed {"raw_longitude":756645632,"raw_latitude":119772912,"longitude_deg":75.6645632,"latitude_deg":11.9772912,"altitude":66,"angle":252,"satellites":34,"speed":31,"hex_longitude":"2d197f00","hex_latitude":"072396f0","is_valid_coordinates":true} 
[2026-07-08 11:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573219072001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4702044296314880,"note":"Value kept but may cause issues"} 
[2026-07-08 11:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847601777791029248,"note":"Value kept but may cause issues"} 
[2026-07-08 11:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783489149000,"timestamp_ms":1783489149000,"timestamp_seconds":1783489149,"priority":1,"record_length":96,"hex_timestamp":"0000019f403cb848"} 
[2026-07-08 11:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-08 11:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":125290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":125290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":125290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573219072001,"66":14396,"112":206,"28":31744,"24":31,"16":4702044296314880,"45":1847601777791029248},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 11:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573219072001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:10:20] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 11:10:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4702044296314880,"km_value":4702044296314.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847601777791029248,"description":"Unknown IO ID 45"} 
[2026-07-08 11:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573219072001,"power":14396,"unknown_112":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1847601777791029248}} 
[2026-07-08 11:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":125290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:10:20] local.INFO: GPS data processed {"connection_id":125290,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:10:20] local.INFO: Acknowledgment sent {"connection_id":125290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:10:20] local.INFO: TCP Data received {"connection_id":126135,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126135,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:10:20] local.INFO: Processing buffer {"connection_id":126135,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:10:20] local.INFO: IMEI packet received {"connection_id":126135,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":126135,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:10:21] local.INFO: TCP Data received {"connection_id":125290,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f403cc7e8012d197400072391a8004300ef24..."} 
[2026-07-08 11:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403cc7e8012d197400072391a8004300ef24..."} 
[2026-07-08 11:10:21] local.INFO: Processing buffer {"connection_id":125290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403cc7e8012d197400072391a8004300ef24..."} 
[2026-07-08 11:10:21] local.INFO: Packet analysis {"connection_id":125290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f403c"} 
[2026-07-08 11:10:21] local.INFO: Extracted packet for processing {"connection_id":125290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f403c"} 
[2026-07-08 11:10:21] local.INFO: GPS Element Parsed {"raw_longitude":756642816,"raw_latitude":119771560,"longitude_deg":75.6642816,"latitude_deg":11.977156,"altitude":67,"angle":239,"satellites":36,"speed":31,"hex_longitude":"2d197400","hex_latitude":"072391a8","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573222144001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4702194620170240,"note":"Value kept but may cause issues"} 
[2026-07-08 11:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837187203652317184,"note":"Value kept but may cause issues"} 
[2026-07-08 11:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783489153000,"timestamp_ms":1783489153000,"timestamp_seconds":1783489153,"priority":1,"record_length":96,"hex_timestamp":"0000019f403cc7e8"} 
[2026-07-08 11:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-08 11:10:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":125290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":125290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":125290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573222144001,"66":14396,"112":206,"28":31744,"24":31,"16":4702194620170240,"45":1837187203652317184},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-07-08 11:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573222144001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:10:21] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-08 11:10:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4702194620170240,"km_value":4702194620170.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837187203652317184,"description":"Unknown IO ID 45"} 
[2026-07-08 11:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573222144001,"power":14396,"unknown_112":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1837187203652317184}} 
[2026-07-08 11:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":125290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:10:21] local.INFO: GPS data processed {"connection_id":125290,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:10:21] local.INFO: Acknowledgment sent {"connection_id":125290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:10:25] local.INFO: TCP Data received {"connection_id":126135,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126135,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:10:25] local.INFO: Processing buffer {"connection_id":126135,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:10:25] local.INFO: IMEI packet received {"connection_id":126135,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":126135,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:10:26] local.INFO: TCP Data received {"connection_id":126135,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f403d1608012d0b130007029fc00000013427..."} 
[2026-07-08 11:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403d1608012d0b130007029fc00000013427..."} 
[2026-07-08 11:10:26] local.INFO: Processing buffer {"connection_id":126135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403d1608012d0b130007029fc00000013427..."} 
[2026-07-08 11:10:26] local.INFO: Packet analysis {"connection_id":126135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f403d"} 
[2026-07-08 11:10:26] local.INFO: Extracted packet for processing {"connection_id":126135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f403d"} 
[2026-07-08 11:10:26] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573151232001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:10:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:10:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783489173000,"timestamp_ms":1783489173000,"timestamp_seconds":1783489173,"priority":1,"record_length":96,"hex_timestamp":"0000019f403d1608"} 
[2026-07-08 11:10:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:10:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 11:10:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:10:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":126135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":126135,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":126135,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:10:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573151232001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573151232001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:10:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:10:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573151232001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":126135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450509,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:10:26] local.INFO: GPS data processed {"connection_id":126135,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:10:26] local.INFO: Acknowledgment sent {"connection_id":126135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:10:33] local.INFO: TCP Data received {"connection_id":125288,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f403c3760012d7f980005afe330000801262a..."} 
[2026-07-08 11:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403c3760012d7f980005afe330000801262a..."} 
[2026-07-08 11:10:33] local.INFO: Processing buffer {"connection_id":125288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403c3760012d7f980005afe330000801262a..."} 
[2026-07-08 11:10:33] local.INFO: Packet analysis {"connection_id":125288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f403c"} 
[2026-07-08 11:10:33] local.INFO: Extracted packet for processing {"connection_id":125288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f403c"} 
[2026-07-08 11:10:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":8,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573136640001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783489116000,"timestamp_ms":1783489116000,"timestamp_seconds":1783489116,"priority":1,"record_length":96,"hex_timestamp":"0000019f403c3760"} 
[2026-07-08 11:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 11:10: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-07-08 11:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573136640001,"66":25528,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573136640001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:10:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:10:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573136640001,"power":25528,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":125288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:10:33] local.INFO: GPS data processed {"connection_id":125288,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:10:33] local.INFO: Acknowledgment sent {"connection_id":125288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:10:50] local.INFO: TCP Data received {"connection_id":125291,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125291,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:10:50] local.INFO: Processing buffer {"connection_id":125291,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:10:50] local.INFO: IMEI packet received {"connection_id":125291,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":125291,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:10:55] local.INFO: TCP Data received {"connection_id":125291,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125291,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:10:55] local.INFO: Processing buffer {"connection_id":125291,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:10:55] local.INFO: IMEI packet received {"connection_id":125291,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":125291,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:10:56] local.INFO: TCP Data received {"connection_id":125291,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f403d1608012d0b130007029fc00000013427..."} 
[2026-07-08 11:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403d1608012d0b130007029fc00000013427..."} 
[2026-07-08 11:10:56] local.INFO: Processing buffer {"connection_id":125291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403d1608012d0b130007029fc00000013427..."} 
[2026-07-08 11:10:56] local.INFO: Packet analysis {"connection_id":125291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f403d"} 
[2026-07-08 11:10:56] local.INFO: Extracted packet for processing {"connection_id":125291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f403d"} 
[2026-07-08 11:10:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573151232001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783489173000,"timestamp_ms":1783489173000,"timestamp_seconds":1783489173,"priority":1,"record_length":96,"hex_timestamp":"0000019f403d1608"} 
[2026-07-08 11:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 11:10:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:10:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":125291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":125291,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":125291,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573151232001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573151232001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:10:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573151232001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":125291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450511,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:10:56] local.INFO: GPS data processed {"connection_id":125291,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:10:56] local.INFO: Acknowledgment sent {"connection_id":125291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:10:56] local.INFO: TCP Data received {"connection_id":125293,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:10:56] local.INFO: Processing buffer {"connection_id":125293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:10:56] local.INFO: IMEI packet received {"connection_id":125293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":125293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:11:01] local.INFO: TCP Data received {"connection_id":125293,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:11:01] local.INFO: Processing buffer {"connection_id":125293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:11:01] local.INFO: IMEI packet received {"connection_id":125293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":125293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:11:02] local.INFO: TCP Data received {"connection_id":125293,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f403c3760012d7f980005afe330000801262a..."} 
[2026-07-08 11:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403c3760012d7f980005afe330000801262a..."} 
[2026-07-08 11:11:02] local.INFO: Processing buffer {"connection_id":125293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403c3760012d7f980005afe330000801262a..."} 
[2026-07-08 11:11:02] local.INFO: Packet analysis {"connection_id":125293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f403c"} 
[2026-07-08 11:11:02] local.INFO: Extracted packet for processing {"connection_id":125293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f403c"} 
[2026-07-08 11:11:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":8,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573136640001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783489116000,"timestamp_ms":1783489116000,"timestamp_seconds":1783489116,"priority":1,"record_length":96,"hex_timestamp":"0000019f403c3760"} 
[2026-07-08 11:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 11:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:11:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573136640001,"66":25528,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573136640001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:11:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:11:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573136640001,"power":25528,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":125293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:11:02] local.INFO: GPS data processed {"connection_id":125293,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:11:02] local.INFO: Acknowledgment sent {"connection_id":125293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:11:02] local.INFO: TCP Data received {"connection_id":127397,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:11:02] local.INFO: Processing buffer {"connection_id":127397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:11:02] local.INFO: IMEI packet received {"connection_id":127397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":127397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:11:06] local.INFO: TCP Data received {"connection_id":125293,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f403c3760012d7f980005afe330000801262a..."} 
[2026-07-08 11:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403c3760012d7f980005afe330000801262a..."} 
[2026-07-08 11:11:06] local.INFO: Processing buffer {"connection_id":125293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403c3760012d7f980005afe330000801262a..."} 
[2026-07-08 11:11:06] local.INFO: Packet analysis {"connection_id":125293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f403c"} 
[2026-07-08 11:11:06] local.INFO: Extracted packet for processing {"connection_id":125293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f403c"} 
[2026-07-08 11:11:06] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":8,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573136640001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783489116000,"timestamp_ms":1783489116000,"timestamp_seconds":1783489116,"priority":1,"record_length":96,"hex_timestamp":"0000019f403c3760"} 
[2026-07-08 11:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":151,"data_length":795,"current_offset":136} 
[2026-07-08 11:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573136640001,"66":25528,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573136640001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:11:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:11:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573136640001,"power":25528,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":125293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:11:06] local.INFO: GPS data processed {"connection_id":125293,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:11:06] local.INFO: Acknowledgment sent {"connection_id":125293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:11:08] local.INFO: TCP Data received {"connection_id":127397,"ip":"117.224.101.146","data_length":51,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-08 11:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127397,"packet_length":51,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-08 11:11:08] local.INFO: Processing buffer {"connection_id":127397,"buffer_length":51,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-08 11:11:08] local.INFO: IMEI packet received {"connection_id":127397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":127397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:11:27] local.INFO: TCP Data received {"connection_id":125291,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f403d1608012d0b130007029fc00000013427..."} 
[2026-07-08 11:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403d1608012d0b130007029fc00000013427..."} 
[2026-07-08 11:11:27] local.INFO: Processing buffer {"connection_id":125291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403d1608012d0b130007029fc00000013427..."} 
[2026-07-08 11:11:27] local.INFO: Packet analysis {"connection_id":125291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f403d"} 
[2026-07-08 11:11:27] local.INFO: Extracted packet for processing {"connection_id":125291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f403d"} 
[2026-07-08 11:11:27] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573151232001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:11:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783489173000,"timestamp_ms":1783489173000,"timestamp_seconds":1783489173,"priority":1,"record_length":96,"hex_timestamp":"0000019f403d1608"} 
[2026-07-08 11:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:11:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 11:11:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:11:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":125291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":125291,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":125291,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573151232001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573151232001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:11:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573151232001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":125291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450514,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:11:27] local.INFO: GPS data processed {"connection_id":125291,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:11:27] local.INFO: Acknowledgment sent {"connection_id":125291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:11:38] local.INFO: TCP Data received {"connection_id":125293,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f403c3760012d7f980005afe330000801262a..."} 
[2026-07-08 11:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403c3760012d7f980005afe330000801262a..."} 
[2026-07-08 11:11:38] local.INFO: Processing buffer {"connection_id":125293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403c3760012d7f980005afe330000801262a..."} 
[2026-07-08 11:11:38] local.INFO: Packet analysis {"connection_id":125293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f403c"} 
[2026-07-08 11:11:38] local.INFO: Extracted packet for processing {"connection_id":125293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f403c"} 
[2026-07-08 11:11:38] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":8,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573136640001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783489116000,"timestamp_ms":1783489116000,"timestamp_seconds":1783489116,"priority":1,"record_length":96,"hex_timestamp":"0000019f403c3760"} 
[2026-07-08 11:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 11:11: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-07-08 11:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573136640001,"66":25528,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573136640001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:11:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:11:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573136640001,"power":25528,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":125293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:11:38] local.INFO: GPS data processed {"connection_id":125293,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:11:38] local.INFO: Acknowledgment sent {"connection_id":125293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:11:45] local.INFO: TCP Data received {"connection_id":127398,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127398,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:11:45] local.INFO: Processing buffer {"connection_id":127398,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:11:45] local.INFO: IMEI packet received {"connection_id":127398,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":127398,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:11:50] local.INFO: TCP Data received {"connection_id":127398,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127398,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:11:50] local.INFO: Processing buffer {"connection_id":127398,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:11:50] local.INFO: IMEI packet received {"connection_id":127398,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":127398,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:11:51] local.INFO: TCP Data received {"connection_id":127398,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f403d1608012d0b130007029fc00000013427..."} 
[2026-07-08 11:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403d1608012d0b130007029fc00000013427..."} 
[2026-07-08 11:11:51] local.INFO: Processing buffer {"connection_id":127398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403d1608012d0b130007029fc00000013427..."} 
[2026-07-08 11:11:51] local.INFO: Packet analysis {"connection_id":127398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f403d"} 
[2026-07-08 11:11:51] local.INFO: Extracted packet for processing {"connection_id":127398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f403d"} 
[2026-07-08 11:11:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573151232001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783489173000,"timestamp_ms":1783489173000,"timestamp_seconds":1783489173,"priority":1,"record_length":96,"hex_timestamp":"0000019f403d1608"} 
[2026-07-08 11:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:11: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-07-08 11:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 11:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:11:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573151232001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573151232001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:11:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573151232001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":127398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450516,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:11:51] local.INFO: GPS data processed {"connection_id":127398,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:11:51] local.INFO: Acknowledgment sent {"connection_id":127398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:11:56] local.INFO: TCP Data received {"connection_id":126136,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:11:56] local.INFO: Processing buffer {"connection_id":126136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:11:56] local.INFO: IMEI packet received {"connection_id":126136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":126136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:12:01] local.INFO: TCP Data received {"connection_id":126136,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:12:01] local.INFO: Processing buffer {"connection_id":126136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:12:01] local.INFO: IMEI packet received {"connection_id":126136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":126136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:12:01] local.INFO: TCP Data received {"connection_id":126136,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f403c3760012d7f980005afe330000801262a..."} 
[2026-07-08 11:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403c3760012d7f980005afe330000801262a..."} 
[2026-07-08 11:12:01] local.INFO: Processing buffer {"connection_id":126136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403c3760012d7f980005afe330000801262a..."} 
[2026-07-08 11:12:01] local.INFO: Packet analysis {"connection_id":126136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f403c"} 
[2026-07-08 11:12:01] local.INFO: Extracted packet for processing {"connection_id":126136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f403c"} 
[2026-07-08 11:12:01] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":8,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573136640001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:12:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783489116000,"timestamp_ms":1783489116000,"timestamp_seconds":1783489116,"priority":1,"record_length":96,"hex_timestamp":"0000019f403c3760"} 
[2026-07-08 11:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:12:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 11:12:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:12:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:12:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573136640001,"66":25528,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573136640001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:12:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:12:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573136640001,"power":25528,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":126136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:12:01] local.INFO: GPS data processed {"connection_id":126136,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:12:01] local.INFO: Acknowledgment sent {"connection_id":126136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:12:22] local.INFO: TCP Data received {"connection_id":127398,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f403d1608012d0b130007029fc00000013427..."} 
[2026-07-08 11:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403d1608012d0b130007029fc00000013427..."} 
[2026-07-08 11:12:22] local.INFO: Processing buffer {"connection_id":127398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403d1608012d0b130007029fc00000013427..."} 
[2026-07-08 11:12:22] local.INFO: Packet analysis {"connection_id":127398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f403d"} 
[2026-07-08 11:12:22] local.INFO: Extracted packet for processing {"connection_id":127398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f403d"} 
[2026-07-08 11:12:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 11:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573151232001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783489173000,"timestamp_ms":1783489173000,"timestamp_seconds":1783489173,"priority":1,"record_length":96,"hex_timestamp":"0000019f403d1608"} 
[2026-07-08 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-07-08 11:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 11:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 11:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":127398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":127398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":127398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573151232001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573151232001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:12:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573151232001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":127398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450518,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:12:22] local.INFO: GPS data processed {"connection_id":127398,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:12:22] local.INFO: Acknowledgment sent {"connection_id":127398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:12:32] local.INFO: TCP Data received {"connection_id":126136,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f403c3760012d7f980005afe330000801262a..."} 
[2026-07-08 11:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403c3760012d7f980005afe330000801262a..."} 
[2026-07-08 11:12:32] local.INFO: Processing buffer {"connection_id":126136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403c3760012d7f980005afe330000801262a..."} 
[2026-07-08 11:12:32] local.INFO: Packet analysis {"connection_id":126136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f403c"} 
[2026-07-08 11:12:32] local.INFO: Extracted packet for processing {"connection_id":126136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f403c"} 
[2026-07-08 11:12:32] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":8,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573136640001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783489116000,"timestamp_ms":1783489116000,"timestamp_seconds":1783489116,"priority":1,"record_length":96,"hex_timestamp":"0000019f403c3760"} 
[2026-07-08 11:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 11:12: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-07-08 11:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573136640001,"66":25528,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573136640001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:12:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:12:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573136640001,"power":25528,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":126136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:12:33] local.INFO: GPS data processed {"connection_id":126136,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:12:33] local.INFO: Acknowledgment sent {"connection_id":126136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:12:45] local.INFO: TCP Data received {"connection_id":125395,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125395,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:12:45] local.INFO: Processing buffer {"connection_id":125395,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:12:45] local.INFO: IMEI packet received {"connection_id":125395,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":125395,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:12:52] local.INFO: TCP Data received {"connection_id":125395,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125395,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:12:52] local.INFO: Processing buffer {"connection_id":125395,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:12:52] local.INFO: IMEI packet received {"connection_id":125395,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":125395,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:12:52] local.INFO: TCP Data received {"connection_id":125395,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f403d1608012d0b130007029fc00000013427..."} 
[2026-07-08 11:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403d1608012d0b130007029fc00000013427..."} 
[2026-07-08 11:12:52] local.INFO: Processing buffer {"connection_id":125395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403d1608012d0b130007029fc00000013427..."} 
[2026-07-08 11:12:52] local.INFO: Packet analysis {"connection_id":125395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f403d"} 
[2026-07-08 11:12:52] local.INFO: Extracted packet for processing {"connection_id":125395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f403d"} 
[2026-07-08 11:12:52] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573151232001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783489173000,"timestamp_ms":1783489173000,"timestamp_seconds":1783489173,"priority":1,"record_length":96,"hex_timestamp":"0000019f403d1608"} 
[2026-07-08 11:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 11:12:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":125395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":125395,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":125395,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:12:52] 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-07-08 11:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573151232001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 11:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573151232001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:12:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573151232001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":125395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450520,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:12:52] local.INFO: GPS data processed {"connection_id":125395,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:12:52] local.INFO: Acknowledgment sent {"connection_id":125395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:12:56] local.INFO: TCP Data received {"connection_id":126139,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:12:56] local.INFO: Processing buffer {"connection_id":126139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:12:56] local.INFO: IMEI packet received {"connection_id":126139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":126139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:13:01] local.INFO: TCP Data received {"connection_id":126139,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:13:01] local.INFO: Processing buffer {"connection_id":126139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:13:01] local.INFO: IMEI packet received {"connection_id":126139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":126139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:13:02] local.INFO: TCP Data received {"connection_id":126139,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f403c3760012d7f980005afe330000801262a..."} 
[2026-07-08 11:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403c3760012d7f980005afe330000801262a..."} 
[2026-07-08 11:13:02] local.INFO: Processing buffer {"connection_id":126139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403c3760012d7f980005afe330000801262a..."} 
[2026-07-08 11:13:02] local.INFO: Packet analysis {"connection_id":126139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f403c"} 
[2026-07-08 11:13:02] local.INFO: Extracted packet for processing {"connection_id":126139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f403c"} 
[2026-07-08 11:13:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":8,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573136640001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783489116000,"timestamp_ms":1783489116000,"timestamp_seconds":1783489116,"priority":1,"record_length":96,"hex_timestamp":"0000019f403c3760"} 
[2026-07-08 11:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 11:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:13:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573136640001,"66":25528,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573136640001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:13:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:13:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573136640001,"power":25528,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":126139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:13:02] local.INFO: GPS data processed {"connection_id":126139,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:13:02] local.INFO: Acknowledgment sent {"connection_id":126139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:13:29] local.INFO: TCP Data received {"connection_id":125395,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f403d1608012d0b130007029fc00000013427..."} 
[2026-07-08 11:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403d1608012d0b130007029fc00000013427..."} 
[2026-07-08 11:13:29] local.INFO: Processing buffer {"connection_id":125395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403d1608012d0b130007029fc00000013427..."} 
[2026-07-08 11:13:29] local.INFO: Packet analysis {"connection_id":125395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f403d"} 
[2026-07-08 11:13:29] local.INFO: Extracted packet for processing {"connection_id":125395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f403d"} 
[2026-07-08 11:13:29] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573151232001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:13:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783489173000,"timestamp_ms":1783489173000,"timestamp_seconds":1783489173,"priority":1,"record_length":96,"hex_timestamp":"0000019f403d1608"} 
[2026-07-08 11:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:13:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 11:13:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:13:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":125395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":125395,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":125395,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:13:29] 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-07-08 11:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573151232001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 11:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573151232001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:13:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:13:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573151232001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":125395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450522,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:13:30] local.INFO: GPS data processed {"connection_id":125395,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:13:30] local.INFO: Acknowledgment sent {"connection_id":125395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:13:33] local.INFO: TCP Data received {"connection_id":126139,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f403c3760012d7f980005afe330000801262a..."} 
[2026-07-08 11:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403c3760012d7f980005afe330000801262a..."} 
[2026-07-08 11:13:33] local.INFO: Processing buffer {"connection_id":126139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403c3760012d7f980005afe330000801262a..."} 
[2026-07-08 11:13:33] local.INFO: Packet analysis {"connection_id":126139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f403c"} 
[2026-07-08 11:13:33] local.INFO: Extracted packet for processing {"connection_id":126139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f403c"} 
[2026-07-08 11:13:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":8,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573136640001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783489116000,"timestamp_ms":1783489116000,"timestamp_seconds":1783489116,"priority":1,"record_length":96,"hex_timestamp":"0000019f403c3760"} 
[2026-07-08 11:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 11:13: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-07-08 11:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573136640001,"66":25528,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573136640001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:13:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:13:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573136640001,"power":25528,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":126139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:13:33] local.INFO: GPS data processed {"connection_id":126139,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:13:33] local.INFO: Acknowledgment sent {"connection_id":126139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:13:45] local.INFO: TCP Data received {"connection_id":127400,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127400,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:13:45] local.INFO: Processing buffer {"connection_id":127400,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:13:45] local.INFO: IMEI packet received {"connection_id":127400,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":127400,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:13:50] local.INFO: TCP Data received {"connection_id":127400,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127400,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:13:50] local.INFO: Processing buffer {"connection_id":127400,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:13:50] local.INFO: IMEI packet received {"connection_id":127400,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":127400,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:13:51] local.INFO: TCP Data received {"connection_id":127400,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f403d1608012d0b130007029fc00000013427..."} 
[2026-07-08 11:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403d1608012d0b130007029fc00000013427..."} 
[2026-07-08 11:13:51] local.INFO: Processing buffer {"connection_id":127400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403d1608012d0b130007029fc00000013427..."} 
[2026-07-08 11:13:51] local.INFO: Packet analysis {"connection_id":127400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f403d"} 
[2026-07-08 11:13:51] local.INFO: Extracted packet for processing {"connection_id":127400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f403d"} 
[2026-07-08 11:13:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573151232001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783489173000,"timestamp_ms":1783489173000,"timestamp_seconds":1783489173,"priority":1,"record_length":96,"hex_timestamp":"0000019f403d1608"} 
[2026-07-08 11:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:13: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-07-08 11:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 11:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127400,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127400,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573151232001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573151232001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:13:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573151232001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":127400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450524,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:13:51] local.INFO: GPS data processed {"connection_id":127400,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:13:51] local.INFO: Acknowledgment sent {"connection_id":127400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:14:01] local.INFO: TCP Data received {"connection_id":125295,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:14:01] local.INFO: Processing buffer {"connection_id":125295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:14:01] local.INFO: IMEI packet received {"connection_id":125295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":125295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:14:06] local.INFO: TCP Data received {"connection_id":125295,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:14:06] local.INFO: Processing buffer {"connection_id":125295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:14:06] local.INFO: IMEI packet received {"connection_id":125295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":125295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:14:07] local.INFO: TCP Data received {"connection_id":125295,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f403c3760012d7f980005afe330000801262a..."} 
[2026-07-08 11:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403c3760012d7f980005afe330000801262a..."} 
[2026-07-08 11:14:07] local.INFO: Processing buffer {"connection_id":125295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403c3760012d7f980005afe330000801262a..."} 
[2026-07-08 11:14:07] local.INFO: Packet analysis {"connection_id":125295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f403c"} 
[2026-07-08 11:14:07] local.INFO: Extracted packet for processing {"connection_id":125295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f403c"} 
[2026-07-08 11:14:07] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":8,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573136640001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783489116000,"timestamp_ms":1783489116000,"timestamp_seconds":1783489116,"priority":1,"record_length":96,"hex_timestamp":"0000019f403c3760"} 
[2026-07-08 11:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 11:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573136640001,"66":25528,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573136640001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:14:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:14:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573136640001,"power":25528,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":125295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:14:07] local.INFO: GPS data processed {"connection_id":125295,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:14:07] local.INFO: Acknowledgment sent {"connection_id":125295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:14:11] local.INFO: TCP Data received {"connection_id":125295,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f403c3760012d7f980005afe330000801262a..."} 
[2026-07-08 11:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403c3760012d7f980005afe330000801262a..."} 
[2026-07-08 11:14:11] local.INFO: Processing buffer {"connection_id":125295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403c3760012d7f980005afe330000801262a..."} 
[2026-07-08 11:14:11] local.INFO: Packet analysis {"connection_id":125295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f403c"} 
[2026-07-08 11:14:11] local.INFO: Extracted packet for processing {"connection_id":125295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f403c"} 
[2026-07-08 11:14:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":8,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573136640001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783489116000,"timestamp_ms":1783489116000,"timestamp_seconds":1783489116,"priority":1,"record_length":96,"hex_timestamp":"0000019f403c3760"} 
[2026-07-08 11:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 11:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573136640001,"66":25528,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573136640001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:14:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:14:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573136640001,"power":25528,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":125295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:14:11] local.INFO: GPS data processed {"connection_id":125295,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:14:11] local.INFO: Acknowledgment sent {"connection_id":125295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:14:23] local.INFO: TCP Data received {"connection_id":127400,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f403d1608012d0b130007029fc00000013427..."} 
[2026-07-08 11:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403d1608012d0b130007029fc00000013427..."} 
[2026-07-08 11:14:23] local.INFO: Processing buffer {"connection_id":127400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403d1608012d0b130007029fc00000013427..."} 
[2026-07-08 11:14:23] local.INFO: Packet analysis {"connection_id":127400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f403d"} 
[2026-07-08 11:14:23] local.INFO: Extracted packet for processing {"connection_id":127400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f403d"} 
[2026-07-08 11:14:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573151232001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:14:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783489173000,"timestamp_ms":1783489173000,"timestamp_seconds":1783489173,"priority":1,"record_length":96,"hex_timestamp":"0000019f403d1608"} 
[2026-07-08 11:14:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:14:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 11:14:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:14:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":127400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":127400,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":127400,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:14:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573151232001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573151232001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:14:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573151232001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":127400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450527,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:14:23] local.INFO: GPS data processed {"connection_id":127400,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:14:23] local.INFO: Acknowledgment sent {"connection_id":127400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:14:45] local.INFO: TCP Data received {"connection_id":126141,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126141,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:14:45] local.INFO: Processing buffer {"connection_id":126141,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:14:45] local.INFO: IMEI packet received {"connection_id":126141,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":126141,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:14:50] local.INFO: TCP Data received {"connection_id":126141,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126141,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:14:50] local.INFO: Processing buffer {"connection_id":126141,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:14:50] local.INFO: IMEI packet received {"connection_id":126141,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":126141,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:14:51] local.INFO: TCP Data received {"connection_id":126141,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4041add0012d0b130007029fc00000013427..."} 
[2026-07-08 11:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4041add0012d0b130007029fc00000013427..."} 
[2026-07-08 11:14:51] local.INFO: Processing buffer {"connection_id":126141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4041add0012d0b130007029fc00000013427..."} 
[2026-07-08 11:14:51] local.INFO: Packet analysis {"connection_id":126141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4041"} 
[2026-07-08 11:14:51] local.INFO: Extracted packet for processing {"connection_id":126141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4041"} 
[2026-07-08 11:14:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573228288001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783489474000,"timestamp_ms":1783489474000,"timestamp_seconds":1783489474,"priority":1,"record_length":96,"hex_timestamp":"0000019f4041add0"} 
[2026-07-08 11:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:14: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-07-08 11:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 11:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126141,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126141,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573228288001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573228288001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:14:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573228288001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":126141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450528,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:14:51] local.INFO: GPS data processed {"connection_id":126141,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:14:51] local.INFO: Acknowledgment sent {"connection_id":126141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:14:56] local.INFO: TCP Data received {"connection_id":127401,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:14:56] local.INFO: Processing buffer {"connection_id":127401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:14:56] local.INFO: IMEI packet received {"connection_id":127401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":127401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:15:01] local.INFO: TCP Data received {"connection_id":127401,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:15:01] local.INFO: Processing buffer {"connection_id":127401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:15:01] local.INFO: IMEI packet received {"connection_id":127401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":127401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:15:02] local.INFO: TCP Data received {"connection_id":127401,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4040cf28012d7f980005afe330000801262a..."} 
[2026-07-08 11:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4040cf28012d7f980005afe330000801262a..."} 
[2026-07-08 11:15:02] local.INFO: Processing buffer {"connection_id":127401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4040cf28012d7f980005afe330000801262a..."} 
[2026-07-08 11:15:02] local.INFO: Packet analysis {"connection_id":127401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4040"} 
[2026-07-08 11:15:02] local.INFO: Extracted packet for processing {"connection_id":127401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4040"} 
[2026-07-08 11:15:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":8,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573213696001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783489417000,"timestamp_ms":1783489417000,"timestamp_seconds":1783489417,"priority":1,"record_length":96,"hex_timestamp":"0000019f4040cf28"} 
[2026-07-08 11:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:15:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-08 11:15:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:15:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573213696001,"66":25473,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573213696001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:15:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:15:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573213696001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":127401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:15:02] local.INFO: GPS data processed {"connection_id":127401,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:15:02] local.INFO: Acknowledgment sent {"connection_id":127401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:15:22] local.INFO: TCP Data received {"connection_id":126141,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4041add0012d0b130007029fc00000013427..."} 
[2026-07-08 11:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4041add0012d0b130007029fc00000013427..."} 
[2026-07-08 11:15:22] local.INFO: Processing buffer {"connection_id":126141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4041add0012d0b130007029fc00000013427..."} 
[2026-07-08 11:15:22] local.INFO: Packet analysis {"connection_id":126141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4041"} 
[2026-07-08 11:15:22] local.INFO: Extracted packet for processing {"connection_id":126141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4041"} 
[2026-07-08 11:15:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 11:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573228288001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783489474000,"timestamp_ms":1783489474000,"timestamp_seconds":1783489474,"priority":1,"record_length":96,"hex_timestamp":"0000019f4041add0"} 
[2026-07-08 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-07-08 11:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 11:15:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 11:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126141,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126141,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573228288001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573228288001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:15:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573228288001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":126141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450530,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:15:22] local.INFO: GPS data processed {"connection_id":126141,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:15:22] local.INFO: Acknowledgment sent {"connection_id":126141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:15:31] local.INFO: TCP Data received {"connection_id":127402,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127402,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:15:31] local.INFO: Processing buffer {"connection_id":127402,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:15:31] local.INFO: IMEI packet received {"connection_id":127402,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 11:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":127402,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:15:33] local.INFO: TCP Data received {"connection_id":127401,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4040cf28012d7f980005afe330000801262a..."} 
[2026-07-08 11:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4040cf28012d7f980005afe330000801262a..."} 
[2026-07-08 11:15:33] local.INFO: Processing buffer {"connection_id":127401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4040cf28012d7f980005afe330000801262a..."} 
[2026-07-08 11:15:33] local.INFO: Packet analysis {"connection_id":127401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4040"} 
[2026-07-08 11:15:33] local.INFO: Extracted packet for processing {"connection_id":127401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4040"} 
[2026-07-08 11:15:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":8,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573213696001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783489417000,"timestamp_ms":1783489417000,"timestamp_seconds":1783489417,"priority":1,"record_length":96,"hex_timestamp":"0000019f4040cf28"} 
[2026-07-08 11:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-08 11:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573213696001,"66":25473,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573213696001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:15:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:15:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573213696001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":127401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:15:33] local.INFO: GPS data processed {"connection_id":127401,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:15:33] local.INFO: Acknowledgment sent {"connection_id":127401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:15:47] local.INFO: TCP Data received {"connection_id":127403,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127403,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:15:47] local.INFO: Processing buffer {"connection_id":127403,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:15:47] local.INFO: IMEI packet received {"connection_id":127403,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":127403,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:15:50] local.INFO: TCP Data received {"connection_id":127403,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127403,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:15:50] local.INFO: Processing buffer {"connection_id":127403,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:15:50] local.INFO: IMEI packet received {"connection_id":127403,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":127403,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:15:50] local.INFO: TCP Data received {"connection_id":127403,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4041add0012d0b130007029fc00000013427..."} 
[2026-07-08 11:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4041add0012d0b130007029fc00000013427..."} 
[2026-07-08 11:15:50] local.INFO: Processing buffer {"connection_id":127403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4041add0012d0b130007029fc00000013427..."} 
[2026-07-08 11:15:50] local.INFO: Packet analysis {"connection_id":127403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4041"} 
[2026-07-08 11:15:50] local.INFO: Extracted packet for processing {"connection_id":127403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4041"} 
[2026-07-08 11:15:50] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573228288001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:15:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783489474000,"timestamp_ms":1783489474000,"timestamp_seconds":1783489474,"priority":1,"record_length":96,"hex_timestamp":"0000019f4041add0"} 
[2026-07-08 11:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:15:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 11:15:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:15:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":127403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":127403,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":127403,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:15:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573228288001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573228288001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:15:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:15:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573228288001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":127403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450532,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:15:51] local.INFO: GPS data processed {"connection_id":127403,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:15:51] local.INFO: Acknowledgment sent {"connection_id":127403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:15:55] local.INFO: TCP Data received {"connection_id":127403,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4041add0012d0b130007029fc00000013427..."} 
[2026-07-08 11:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4041add0012d0b130007029fc00000013427..."} 
[2026-07-08 11:15:55] local.INFO: Processing buffer {"connection_id":127403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4041add0012d0b130007029fc00000013427..."} 
[2026-07-08 11:15:55] local.INFO: Packet analysis {"connection_id":127403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4041"} 
[2026-07-08 11:15:55] local.INFO: Extracted packet for processing {"connection_id":127403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4041"} 
[2026-07-08 11:15:55] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573228288001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783489474000,"timestamp_ms":1783489474000,"timestamp_seconds":1783489474,"priority":1,"record_length":96,"hex_timestamp":"0000019f4041add0"} 
[2026-07-08 11:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 11:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:15:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":127403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":127403,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":127403,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573228288001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573228288001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:15:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573228288001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":127403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450533,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:15:55] local.INFO: GPS data processed {"connection_id":127403,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:15:55] local.INFO: Acknowledgment sent {"connection_id":127403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:15:56] local.INFO: TCP Data received {"connection_id":127404,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:15:56] local.INFO: Processing buffer {"connection_id":127404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:15:56] local.INFO: IMEI packet received {"connection_id":127404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":127404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:16:01] local.INFO: TCP Data received {"connection_id":127404,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:16:01] local.INFO: Processing buffer {"connection_id":127404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:16:01] local.INFO: IMEI packet received {"connection_id":127404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":127404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:16:01] local.INFO: TCP Data received {"connection_id":127404,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4040cf28012d7f980005afe330000801262a..."} 
[2026-07-08 11:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4040cf28012d7f980005afe330000801262a..."} 
[2026-07-08 11:16:01] local.INFO: Processing buffer {"connection_id":127404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4040cf28012d7f980005afe330000801262a..."} 
[2026-07-08 11:16:01] local.INFO: Packet analysis {"connection_id":127404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4040"} 
[2026-07-08 11:16:01] local.INFO: Extracted packet for processing {"connection_id":127404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4040"} 
[2026-07-08 11:16:01] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":8,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573213696001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:16:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783489417000,"timestamp_ms":1783489417000,"timestamp_seconds":1783489417,"priority":1,"record_length":96,"hex_timestamp":"0000019f4040cf28"} 
[2026-07-08 11:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-08 11:16:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:16:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573213696001,"66":25473,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573213696001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:16:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:16:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573213696001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":127404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:16:01] local.INFO: GPS data processed {"connection_id":127404,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:16:01] local.INFO: Acknowledgment sent {"connection_id":127404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:16:02] local.INFO: TCP Data received {"connection_id":125397,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125397,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:16:02] local.INFO: Processing buffer {"connection_id":125397,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:16:02] local.INFO: IMEI packet received {"connection_id":125397,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 11:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":125397,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:16:11] local.INFO: TCP Data received {"connection_id":126142,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:16:11] local.INFO: Processing buffer {"connection_id":126142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:16:11] local.INFO: IMEI packet received {"connection_id":126142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":126142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:16:12] local.INFO: TCP Data received {"connection_id":126142,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f403fb5e8012d181400072199e0004600ad25..."} 
[2026-07-08 11:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f403fb5e8012d181400072199e0004600ad25..."} 
[2026-07-08 11:16:12] local.INFO: Processing buffer {"connection_id":126142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f403fb5e8012d181400072199e0004600ad25..."} 
[2026-07-08 11:16:12] local.INFO: Packet analysis {"connection_id":126142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f403f"} 
[2026-07-08 11:16:12] local.INFO: Extracted packet for processing {"connection_id":126142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f403f"} 
[2026-07-08 11:16:12] local.INFO: GPS Element Parsed {"raw_longitude":756552704,"raw_latitude":119642592,"longitude_deg":75.6552704,"latitude_deg":11.9642592,"altitude":70,"angle":173,"satellites":37,"speed":6,"hex_longitude":"2d181400","hex_latitude":"072199e0","is_valid_coordinates":true} 
[2026-07-08 11:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573272064001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4710453842280448,"note":"Value kept but may cause issues"} 
[2026-07-08 11:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735011787073036288,"note":"Value kept but may cause issues"} 
[2026-07-08 11:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783489345000,"timestamp_ms":1783489345000,"timestamp_seconds":1783489345,"priority":1,"record_length":96,"hex_timestamp":"0000019f403fb5e8"} 
[2026-07-08 11:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-08 11:16: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-07-08 11:16:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":126142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":126142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":126142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573272064001,"66":12841,"120":206,"28":31744,"24":6,"16":4710453842280448,"45":1735011787073036288},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573272064001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:16:12] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:16:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4710453842280448,"km_value":4710453842280.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735011787073036288,"description":"Unknown IO ID 45"} 
[2026-07-08 11:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573272064001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1735011787073036288}} 
[2026-07-08 11:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":126142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:16:12] local.INFO: GPS data processed {"connection_id":126142,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:16:12] local.INFO: Acknowledgment sent {"connection_id":126142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:16:26] local.INFO: TCP Data received {"connection_id":127403,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4041add0012d0b130007029fc00000013427..."} 
[2026-07-08 11:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4041add0012d0b130007029fc00000013427..."} 
[2026-07-08 11:16:26] local.INFO: Processing buffer {"connection_id":127403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4041add0012d0b130007029fc00000013427..."} 
[2026-07-08 11:16:26] local.INFO: Packet analysis {"connection_id":127403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4041"} 
[2026-07-08 11:16:26] local.INFO: Extracted packet for processing {"connection_id":127403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4041"} 
[2026-07-08 11:16:26] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573228288001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:16:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783489474000,"timestamp_ms":1783489474000,"timestamp_seconds":1783489474,"priority":1,"record_length":96,"hex_timestamp":"0000019f4041add0"} 
[2026-07-08 11:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:16:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 11:16:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":127403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":127403,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":127403,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:16:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573228288001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573228288001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:16:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573228288001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":127403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450536,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:16:27] local.INFO: GPS data processed {"connection_id":127403,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:16:27] local.INFO: Acknowledgment sent {"connection_id":127403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:16:32] local.INFO: TCP Data received {"connection_id":127404,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4040cf28012d7f980005afe330000801262a..."} 
[2026-07-08 11:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4040cf28012d7f980005afe330000801262a..."} 
[2026-07-08 11:16:32] local.INFO: Processing buffer {"connection_id":127404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4040cf28012d7f980005afe330000801262a..."} 
[2026-07-08 11:16:32] local.INFO: Packet analysis {"connection_id":127404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4040"} 
[2026-07-08 11:16:32] local.INFO: Extracted packet for processing {"connection_id":127404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4040"} 
[2026-07-08 11:16:32] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":8,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573213696001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783489417000,"timestamp_ms":1783489417000,"timestamp_seconds":1783489417,"priority":1,"record_length":96,"hex_timestamp":"0000019f4040cf28"} 
[2026-07-08 11:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-08 11:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:16: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-07-08 11:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573213696001,"66":25473,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573213696001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:16:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:16:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573213696001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":127404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:16:32] local.INFO: GPS data processed {"connection_id":127404,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:16:32] local.INFO: Acknowledgment sent {"connection_id":127404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:16:44] local.INFO: TCP Data received {"connection_id":126142,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40424a10012d181b4007219448004901301b..."} 
[2026-07-08 11:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40424a10012d181b4007219448004901301b..."} 
[2026-07-08 11:16:44] local.INFO: Processing buffer {"connection_id":126142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40424a10012d181b4007219448004901301b..."} 
[2026-07-08 11:16:44] local.INFO: Packet analysis {"connection_id":126142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4042"} 
[2026-07-08 11:16:44] local.INFO: Extracted packet for processing {"connection_id":126142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4042"} 
[2026-07-08 11:16:44] local.INFO: GPS Element Parsed {"raw_longitude":756554560,"raw_latitude":119641160,"longitude_deg":75.655456,"latitude_deg":11.964116,"altitude":73,"angle":304,"satellites":27,"speed":0,"hex_longitude":"2d181b40","hex_latitude":"07219448","is_valid_coordinates":true} 
[2026-07-08 11:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573310208001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4710621346004992,"note":"Value kept but may cause issues"} 
[2026-07-08 11:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736982111909603328,"note":"Value kept but may cause issues"} 
[2026-07-08 11:16:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783489514000,"timestamp_ms":1783489514000,"timestamp_seconds":1783489514,"priority":1,"record_length":96,"hex_timestamp":"0000019f40424a10"} 
[2026-07-08 11:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:16:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 11:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-08 11:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3158114304,"note":"Value kept but may cause issues"} 
[2026-07-08 11:16:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184213414093,"note":"Value kept but may cause issues"} 
[2026-07-08 11:16:44] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2545942601,"note":"Value kept but may cause issues"} 
[2026-07-08 11:16:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-08 11:16:44] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-07-08 11:16:44] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,120,28,24,241,158,16,188,159,224,45,64,151,73,10,66,142,25,60,1,240,178,33,4,113,205,152,192,239,49,2,7,231],"length":485,"final_offset":615,"validated_count":33,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-08 11:16:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260538723677765632,"timestamp_seconds":5260538723677766.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 11:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":126142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":126142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":126142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573310208001,"66":12667,"120":206,"28":31744,"24":0,"16":4710621346004992,"45":1736982111909603328},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573310208001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:16:44] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:16:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4710621346004992,"km_value":4710621346004.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736982111909603328,"description":"Unknown IO ID 45"} 
[2026-07-08 11:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573310208001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1736982111909603328}} 
[2026-07-08 11:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":126142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:16:44] local.INFO: GPS data processed {"connection_id":126142,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:16:44] local.INFO: Acknowledgment sent {"connection_id":126142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:16:45] local.INFO: TCP Data received {"connection_id":126143,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126143,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:16:45] local.INFO: Processing buffer {"connection_id":126143,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:16:45] local.INFO: IMEI packet received {"connection_id":126143,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":126143,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:16:50] local.INFO: TCP Data received {"connection_id":126143,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126143,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:16:50] local.INFO: Processing buffer {"connection_id":126143,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:16:50] local.INFO: IMEI packet received {"connection_id":126143,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":126143,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:16:51] local.INFO: TCP Data received {"connection_id":126143,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4041add0012d0b130007029fc00000013427..."} 
[2026-07-08 11:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4041add0012d0b130007029fc00000013427..."} 
[2026-07-08 11:16:51] local.INFO: Processing buffer {"connection_id":126143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4041add0012d0b130007029fc00000013427..."} 
[2026-07-08 11:16:51] local.INFO: Packet analysis {"connection_id":126143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4041"} 
[2026-07-08 11:16:51] local.INFO: Extracted packet for processing {"connection_id":126143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4041"} 
[2026-07-08 11:16:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573228288001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783489474000,"timestamp_ms":1783489474000,"timestamp_seconds":1783489474,"priority":1,"record_length":96,"hex_timestamp":"0000019f4041add0"} 
[2026-07-08 11:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:16: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-07-08 11: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 11:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126143,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126143,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573228288001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573228288001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:16:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573228288001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":126143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450539,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:16:51] local.INFO: GPS data processed {"connection_id":126143,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:16:51] local.INFO: Acknowledgment sent {"connection_id":126143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:16:56] local.INFO: TCP Data received {"connection_id":125297,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:16:56] local.INFO: Processing buffer {"connection_id":125297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:16:56] local.INFO: IMEI packet received {"connection_id":125297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":125297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:17:01] local.INFO: TCP Data received {"connection_id":125297,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:17:01] local.INFO: Processing buffer {"connection_id":125297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:17:01] local.INFO: IMEI packet received {"connection_id":125297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":125297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:17:02] local.INFO: TCP Data received {"connection_id":125297,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4040cf28012d7f980005afe330000801262a..."} 
[2026-07-08 11:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4040cf28012d7f980005afe330000801262a..."} 
[2026-07-08 11:17:02] local.INFO: Processing buffer {"connection_id":125297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4040cf28012d7f980005afe330000801262a..."} 
[2026-07-08 11:17:02] local.INFO: Packet analysis {"connection_id":125297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4040"} 
[2026-07-08 11:17:02] local.INFO: Extracted packet for processing {"connection_id":125297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4040"} 
[2026-07-08 11:17:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":8,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573213696001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783489417000,"timestamp_ms":1783489417000,"timestamp_seconds":1783489417,"priority":1,"record_length":96,"hex_timestamp":"0000019f4040cf28"} 
[2026-07-08 11:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-08 11:17:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573213696001,"66":25473,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573213696001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:17:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:17:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573213696001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":125297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:17:02] local.INFO: GPS data processed {"connection_id":125297,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:17:02] local.INFO: Acknowledgment sent {"connection_id":125297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:17:06] local.INFO: TCP Data received {"connection_id":125298,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:17:06] local.INFO: Processing buffer {"connection_id":125298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:17:06] local.INFO: IMEI packet received {"connection_id":125298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":125298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:17:11] local.INFO: TCP Data received {"connection_id":125298,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:17:11] local.INFO: Processing buffer {"connection_id":125298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:17:11] local.INFO: IMEI packet received {"connection_id":125298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":125298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:17:12] local.INFO: TCP Data received {"connection_id":125298,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40429c18012d181b4007219448004901301c..."} 
[2026-07-08 11:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40429c18012d181b4007219448004901301c..."} 
[2026-07-08 11:17:12] local.INFO: Processing buffer {"connection_id":125298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40429c18012d181b4007219448004901301c..."} 
[2026-07-08 11:17:12] local.INFO: Packet analysis {"connection_id":125298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4042"} 
[2026-07-08 11:17:12] local.INFO: Extracted packet for processing {"connection_id":125298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4042"} 
[2026-07-08 11:17:12] local.INFO: GPS Element Parsed {"raw_longitude":756554560,"raw_latitude":119641160,"longitude_deg":75.655456,"latitude_deg":11.964116,"altitude":73,"angle":304,"satellites":28,"speed":0,"hex_longitude":"2d181b40","hex_latitude":"07219448","is_valid_coordinates":true} 
[2026-07-08 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-07-08 11:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573315584001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4710621346004992,"note":"Value kept but may cause issues"} 
[2026-07-08 11:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480653772800,"note":"Value kept but may cause issues"} 
[2026-07-08 11:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783489535000,"timestamp_ms":1783489535000,"timestamp_seconds":1783489535,"priority":1,"record_length":96,"hex_timestamp":"0000019f40429c18"} 
[2026-07-08 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-07-08 11:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-08 11:17: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-07-08 11:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 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-07-08 11:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573315584001,"66":12558,"120":206,"28":31744,"24":0,"16":4710621346004992,"45":1737052480653772800},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573315584001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:17:12] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:17:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4710621346004992,"km_value":4710621346004.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480653772800,"description":"Unknown IO ID 45"} 
[2026-07-08 11:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573315584001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737052480653772800}} 
[2026-07-08 11:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":125298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:17:12] local.INFO: GPS data processed {"connection_id":125298,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:17:12] local.INFO: Acknowledgment sent {"connection_id":125298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:17:17] local.INFO: TCP Data received {"connection_id":125298,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4042ee20012d181b4007219448004901301a..."} 
[2026-07-08 11:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4042ee20012d181b4007219448004901301a..."} 
[2026-07-08 11:17:17] local.INFO: Processing buffer {"connection_id":125298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4042ee20012d181b4007219448004901301a..."} 
[2026-07-08 11:17:17] local.INFO: Packet analysis {"connection_id":125298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4042"} 
[2026-07-08 11:17:17] local.INFO: Extracted packet for processing {"connection_id":125298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4042"} 
[2026-07-08 11:17:17] local.INFO: GPS Element Parsed {"raw_longitude":756554560,"raw_latitude":119641160,"longitude_deg":75.655456,"latitude_deg":11.964116,"altitude":73,"angle":304,"satellites":26,"speed":0,"hex_longitude":"2d181b40","hex_latitude":"07219448","is_valid_coordinates":true} 
[2026-07-08 11:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573320960001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4710621346004992,"note":"Value kept but may cause issues"} 
[2026-07-08 11:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480653772800,"note":"Value kept but may cause issues"} 
[2026-07-08 11:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783489556000,"timestamp_ms":1783489556000,"timestamp_seconds":1783489556,"priority":1,"record_length":96,"hex_timestamp":"0000019f4042ee20"} 
[2026-07-08 11:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-08 11:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-08 11:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3158114304,"note":"Value kept but may cause issues"} 
[2026-07-08 11:17:17] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249378192470939584,"note":"Value kept but may cause issues"} 
[2026-07-08 11:17:17] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2545942601,"note":"Value kept but may cause issues"} 
[2026-07-08 11:17:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-08 11:17:17] local.WARNING: Large IO value detected {"io_id":60,"raw_value":2281778456,"note":"Value kept but may cause issues"} 
[2026-07-08 11:17:17] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397159,"note":"Value kept but may cause issues"} 
[2026-07-08 11:17:17] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-07-08 11:17:17] local.WARNING: Large IO value detected {"io_id":51,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-08 11:17:17] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-08 11:17:17] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,120,28,24,241,158,16,188,159,74,45,64,148,73,27,10,66,248,25,224,1,240,178,33,4,113,205,60,192,26,239,49,2,7,231,51,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-08 11:17:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260538736562667520,"timestamp_seconds":5260538736562668.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 11:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":125298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":125298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":125298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573320960001,"66":12602,"120":206,"28":31744,"24":0,"16":4710621346004992,"45":1737052480653772800},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573320960001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:17:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:17:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4710621346004992,"km_value":4710621346004.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480653772800,"description":"Unknown IO ID 45"} 
[2026-07-08 11:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573320960001,"power":12602,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737052480653772800}} 
[2026-07-08 11:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":125298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:17:17] local.INFO: GPS data processed {"connection_id":125298,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:17:17] local.INFO: Acknowledgment sent {"connection_id":125298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:17:23] local.INFO: TCP Data received {"connection_id":126143,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4041add0012d0b130007029fc00000013427..."} 
[2026-07-08 11:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4041add0012d0b130007029fc00000013427..."} 
[2026-07-08 11:17:23] local.INFO: Processing buffer {"connection_id":126143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4041add0012d0b130007029fc00000013427..."} 
[2026-07-08 11:17:23] local.INFO: Packet analysis {"connection_id":126143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4041"} 
[2026-07-08 11:17:23] local.INFO: Extracted packet for processing {"connection_id":126143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4041"} 
[2026-07-08 11:17:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573228288001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:17:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783489474000,"timestamp_ms":1783489474000,"timestamp_seconds":1783489474,"priority":1,"record_length":96,"hex_timestamp":"0000019f4041add0"} 
[2026-07-08 11:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:17:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 11:17:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":126143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":126143,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":126143,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:17:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573228288001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573228288001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:17:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573228288001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":126143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450543,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:17:23] local.INFO: GPS data processed {"connection_id":126143,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:17:23] local.INFO: Acknowledgment sent {"connection_id":126143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:17:33] local.INFO: TCP Data received {"connection_id":125297,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4040cf28012d7f980005afe330000801262a..."} 
[2026-07-08 11:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4040cf28012d7f980005afe330000801262a..."} 
[2026-07-08 11:17:33] local.INFO: Processing buffer {"connection_id":125297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4040cf28012d7f980005afe330000801262a..."} 
[2026-07-08 11:17:33] local.INFO: Packet analysis {"connection_id":125297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4040"} 
[2026-07-08 11:17:33] local.INFO: Extracted packet for processing {"connection_id":125297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4040"} 
[2026-07-08 11:17:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":8,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573213696001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783489417000,"timestamp_ms":1783489417000,"timestamp_seconds":1783489417,"priority":1,"record_length":96,"hex_timestamp":"0000019f4040cf28"} 
[2026-07-08 11:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-08 11:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573213696001,"66":25473,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573213696001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:17:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:17:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573213696001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":125297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:17:33] local.INFO: GPS data processed {"connection_id":125297,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:17:33] local.INFO: Acknowledgment sent {"connection_id":125297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:17:45] local.INFO: TCP Data received {"connection_id":125398,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125398,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:17:45] local.INFO: Processing buffer {"connection_id":125398,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:17:45] local.INFO: IMEI packet received {"connection_id":125398,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":125398,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:17:50] local.INFO: TCP Data received {"connection_id":125398,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125398,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:17:50] local.INFO: Processing buffer {"connection_id":125398,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:17:50] local.INFO: IMEI packet received {"connection_id":125398,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":125398,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:17:51] local.INFO: TCP Data received {"connection_id":125398,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4041add0012d0b130007029fc00000013427..."} 
[2026-07-08 11:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4041add0012d0b130007029fc00000013427..."} 
[2026-07-08 11:17:51] local.INFO: Processing buffer {"connection_id":125398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4041add0012d0b130007029fc00000013427..."} 
[2026-07-08 11:17:51] local.INFO: Packet analysis {"connection_id":125398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4041"} 
[2026-07-08 11:17:51] local.INFO: Extracted packet for processing {"connection_id":125398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4041"} 
[2026-07-08 11:17:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573228288001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783489474000,"timestamp_ms":1783489474000,"timestamp_seconds":1783489474,"priority":1,"record_length":96,"hex_timestamp":"0000019f4041add0"} 
[2026-07-08 11:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:17: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-07-08 11:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 11:17:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:17:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573228288001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573228288001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:17:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573228288001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":125398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450545,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:17:51] local.INFO: GPS data processed {"connection_id":125398,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:17:51] local.INFO: Acknowledgment sent {"connection_id":125398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:17:56] local.INFO: TCP Data received {"connection_id":126144,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:17:56] local.INFO: Processing buffer {"connection_id":126144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:17:56] local.INFO: IMEI packet received {"connection_id":126144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":126144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:17:58] local.INFO: TCP Data received {"connection_id":125299,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:17:58] local.INFO: Processing buffer {"connection_id":125299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:17:58] local.INFO: IMEI packet received {"connection_id":125299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":125299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:18:01] local.INFO: TCP Data received {"connection_id":126144,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:18:01] local.INFO: Processing buffer {"connection_id":126144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:18:01] local.INFO: IMEI packet received {"connection_id":126144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":126144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:18:01] local.INFO: TCP Data received {"connection_id":125299,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:18:01] local.INFO: Processing buffer {"connection_id":125299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:18:01] local.INFO: IMEI packet received {"connection_id":125299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":125299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:18:01] local.INFO: TCP Data received {"connection_id":126144,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4040cf28012d7f980005afe330000801262a..."} 
[2026-07-08 11:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4040cf28012d7f980005afe330000801262a..."} 
[2026-07-08 11:18:01] local.INFO: Processing buffer {"connection_id":126144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4040cf28012d7f980005afe330000801262a..."} 
[2026-07-08 11:18:01] local.INFO: Packet analysis {"connection_id":126144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4040"} 
[2026-07-08 11:18:01] local.INFO: Extracted packet for processing {"connection_id":126144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4040"} 
[2026-07-08 11:18:01] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":8,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573213696001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783489417000,"timestamp_ms":1783489417000,"timestamp_seconds":1783489417,"priority":1,"record_length":96,"hex_timestamp":"0000019f4040cf28"} 
[2026-07-08 11:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-08 11:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573213696001,"66":25473,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573213696001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:18:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:18:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573213696001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":126144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:18:01] local.INFO: GPS data processed {"connection_id":126144,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:18:01] local.INFO: Acknowledgment sent {"connection_id":126144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:18:06] local.INFO: TCP Data received {"connection_id":125299,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:18:06] local.INFO: Processing buffer {"connection_id":125299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:18:06] local.INFO: IMEI packet received {"connection_id":125299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":125299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:18:07] local.INFO: TCP Data received {"connection_id":125299,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40434028012d181b4007219448004901301a..."} 
[2026-07-08 11:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40434028012d181b4007219448004901301a..."} 
[2026-07-08 11:18:07] local.INFO: Processing buffer {"connection_id":125299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40434028012d181b4007219448004901301a..."} 
[2026-07-08 11:18:07] local.INFO: Packet analysis {"connection_id":125299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4043"} 
[2026-07-08 11:18:07] local.INFO: Extracted packet for processing {"connection_id":125299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4043"} 
[2026-07-08 11:18:07] local.INFO: GPS Element Parsed {"raw_longitude":756554560,"raw_latitude":119641160,"longitude_deg":75.655456,"latitude_deg":11.964116,"altitude":73,"angle":304,"satellites":26,"speed":0,"hex_longitude":"2d181b40","hex_latitude":"07219448","is_valid_coordinates":true} 
[2026-07-08 11:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573326336001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4710621346004992,"note":"Value kept but may cause issues"} 
[2026-07-08 11:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480653772800,"note":"Value kept but may cause issues"} 
[2026-07-08 11:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783489577000,"timestamp_ms":1783489577000,"timestamp_seconds":1783489577,"priority":1,"record_length":96,"hex_timestamp":"0000019f40434028"} 
[2026-07-08 11:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 11:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573326336001,"66":12558,"120":206,"28":31744,"24":0,"16":4710621346004992,"45":1737052480653772800},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573326336001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:18:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:18:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4710621346004992,"km_value":4710621346004.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480653772800,"description":"Unknown IO ID 45"} 
[2026-07-08 11:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573326336001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737052480653772800}} 
[2026-07-08 11:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":125299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:18:07] local.INFO: GPS data processed {"connection_id":125299,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:18:07] local.INFO: Acknowledgment sent {"connection_id":125299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:18:22] local.INFO: TCP Data received {"connection_id":125398,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4041add0012d0b130007029fc00000013427..."} 
[2026-07-08 11:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4041add0012d0b130007029fc00000013427..."} 
[2026-07-08 11:18:22] local.INFO: Processing buffer {"connection_id":125398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4041add0012d0b130007029fc00000013427..."} 
[2026-07-08 11:18:22] local.INFO: Packet analysis {"connection_id":125398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4041"} 
[2026-07-08 11:18:22] local.INFO: Extracted packet for processing {"connection_id":125398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4041"} 
[2026-07-08 11:18:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 11:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573228288001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783489474000,"timestamp_ms":1783489474000,"timestamp_seconds":1783489474,"priority":1,"record_length":96,"hex_timestamp":"0000019f4041add0"} 
[2026-07-08 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-07-08 11:18:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 11:18:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 11:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573228288001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573228288001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:18:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573228288001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":125398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450548,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:18:23] local.INFO: GPS data processed {"connection_id":125398,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:18:23] local.INFO: Acknowledgment sent {"connection_id":125398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:18:32] local.INFO: TCP Data received {"connection_id":126144,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4040cf28012d7f980005afe330000801262a..."} 
[2026-07-08 11:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4040cf28012d7f980005afe330000801262a..."} 
[2026-07-08 11:18:32] local.INFO: Processing buffer {"connection_id":126144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4040cf28012d7f980005afe330000801262a..."} 
[2026-07-08 11:18:32] local.INFO: Packet analysis {"connection_id":126144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4040"} 
[2026-07-08 11:18:32] local.INFO: Extracted packet for processing {"connection_id":126144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4040"} 
[2026-07-08 11:18:32] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":8,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573213696001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783489417000,"timestamp_ms":1783489417000,"timestamp_seconds":1783489417,"priority":1,"record_length":96,"hex_timestamp":"0000019f4040cf28"} 
[2026-07-08 11:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-08 11:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573213696001,"66":25473,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573213696001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:18:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:18:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573213696001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":126144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:18:32] local.INFO: GPS data processed {"connection_id":126144,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:18:32] local.INFO: Acknowledgment sent {"connection_id":126144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:18:39] local.INFO: TCP Data received {"connection_id":125299,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40439230012d181b4007219448004901301a..."} 
[2026-07-08 11:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40439230012d181b4007219448004901301a..."} 
[2026-07-08 11:18:39] local.INFO: Processing buffer {"connection_id":125299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40439230012d181b4007219448004901301a..."} 
[2026-07-08 11:18:39] local.INFO: Packet analysis {"connection_id":125299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4043"} 
[2026-07-08 11:18:39] local.INFO: Extracted packet for processing {"connection_id":125299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4043"} 
[2026-07-08 11:18:39] local.INFO: GPS Element Parsed {"raw_longitude":756554560,"raw_latitude":119641160,"longitude_deg":75.655456,"latitude_deg":11.964116,"altitude":73,"angle":304,"satellites":26,"speed":0,"hex_longitude":"2d181b40","hex_latitude":"07219448","is_valid_coordinates":true} 
[2026-07-08 11:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573331712001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4710621346004992,"note":"Value kept but may cause issues"} 
[2026-07-08 11:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480653772800,"note":"Value kept but may cause issues"} 
[2026-07-08 11:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783489598000,"timestamp_ms":1783489598000,"timestamp_seconds":1783489598,"priority":1,"record_length":96,"hex_timestamp":"0000019f40439230"} 
[2026-07-08 11:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-08 11:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-08 11:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3158114304,"note":"Value kept but may cause issues"} 
[2026-07-08 11:18:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249378192470939584,"note":"Value kept but may cause issues"} 
[2026-07-08 11:18:39] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2489843785,"note":"Value kept but may cause issues"} 
[2026-07-08 11:18:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-08 11:18:39] local.WARNING: Large IO value detected {"io_id":224,"raw_value":2550213912,"note":"Value kept but may cause issues"} 
[2026-07-08 11:18:39] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397159,"note":"Value kept but may cause issues"} 
[2026-07-08 11:18:39] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-07-08 11:18:39] local.WARNING: Large IO value detected {"io_id":51,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-08 11:18:39] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-08 11:18:39] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,120,28,24,241,158,16,188,159,238,45,64,148,73,26,10,66,156,74,1,240,123,33,4,113,205,224,192,239,49,2,7,231,51,206],"length":575,"final_offset":705,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-08 11:18:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260538727972732928,"timestamp_seconds":5260538727972733.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 11:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573331712001,"66":12591,"120":206,"28":31744,"24":0,"16":4710621346004992,"45":1737052480653772800},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573331712001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:18:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:18:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4710621346004992,"km_value":4710621346004.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480653772800,"description":"Unknown IO ID 45"} 
[2026-07-08 11:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573331712001,"power":12591,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737052480653772800}} 
[2026-07-08 11:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":125299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:18:39] local.INFO: GPS data processed {"connection_id":125299,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:18:39] local.INFO: Acknowledgment sent {"connection_id":125299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:18:50] local.INFO: TCP Data received {"connection_id":126145,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126145,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:18:50] local.INFO: Processing buffer {"connection_id":126145,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:18:50] local.INFO: IMEI packet received {"connection_id":126145,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":126145,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:18:55] local.INFO: TCP Data received {"connection_id":126145,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126145,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:18:55] local.INFO: Processing buffer {"connection_id":126145,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:18:55] local.INFO: IMEI packet received {"connection_id":126145,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":126145,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:18:56] local.INFO: TCP Data received {"connection_id":126145,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4041add0012d0b130007029fc00000013427..."} 
[2026-07-08 11:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4041add0012d0b130007029fc00000013427..."} 
[2026-07-08 11:18:56] local.INFO: Processing buffer {"connection_id":126145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4041add0012d0b130007029fc00000013427..."} 
[2026-07-08 11:18:56] local.INFO: Packet analysis {"connection_id":126145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4041"} 
[2026-07-08 11:18:56] local.INFO: Extracted packet for processing {"connection_id":126145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4041"} 
[2026-07-08 11:18:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573228288001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783489474000,"timestamp_ms":1783489474000,"timestamp_seconds":1783489474,"priority":1,"record_length":96,"hex_timestamp":"0000019f4041add0"} 
[2026-07-08 11:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 11:18:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:18:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":126145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":126145,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":126145,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573228288001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573228288001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:18:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573228288001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":126145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450551,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:18:56] local.INFO: GPS data processed {"connection_id":126145,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:18:56] local.INFO: Acknowledgment sent {"connection_id":126145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:19:00] local.INFO: TCP Data received {"connection_id":126145,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4041add0012d0b130007029fc00000013427..."} 
[2026-07-08 11:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4041add0012d0b130007029fc00000013427..."} 
[2026-07-08 11:19:00] local.INFO: Processing buffer {"connection_id":126145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4041add0012d0b130007029fc00000013427..."} 
[2026-07-08 11:19:00] local.INFO: Packet analysis {"connection_id":126145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4041"} 
[2026-07-08 11:19:00] local.INFO: Extracted packet for processing {"connection_id":126145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4041"} 
[2026-07-08 11:19:00] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573228288001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783489474000,"timestamp_ms":1783489474000,"timestamp_seconds":1783489474,"priority":1,"record_length":96,"hex_timestamp":"0000019f4041add0"} 
[2026-07-08 11:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:19:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:19: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":101,"data_length":795,"current_offset":136} 
[2026-07-08 11:19:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:19:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126145,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126145,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573228288001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573228288001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:19:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573228288001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":126145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450552,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:19:01] local.INFO: GPS data processed {"connection_id":126145,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:19:01] local.INFO: Acknowledgment sent {"connection_id":126145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:19:01] local.INFO: TCP Data received {"connection_id":125401,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:19:01] local.INFO: Processing buffer {"connection_id":125401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:19:01] local.INFO: IMEI packet received {"connection_id":125401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":125401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:19:01] local.INFO: TCP Data received {"connection_id":125400,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:19:01] local.INFO: Processing buffer {"connection_id":125400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:19:01] local.INFO: IMEI packet received {"connection_id":125400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":125400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:19:02] local.INFO: TCP Data received {"connection_id":125401,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:19:02] local.INFO: Processing buffer {"connection_id":125401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:19:02] local.INFO: IMEI packet received {"connection_id":125401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":125401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:19:06] local.INFO: TCP Data received {"connection_id":125401,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:19:06] local.INFO: Processing buffer {"connection_id":125401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:19:06] local.INFO: IMEI packet received {"connection_id":125401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":125401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:19:06] local.INFO: TCP Data received {"connection_id":125400,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:19:06] local.INFO: Processing buffer {"connection_id":125400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:19:06] local.INFO: IMEI packet received {"connection_id":125400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":125400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:19:07] local.INFO: TCP Data received {"connection_id":125401,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4043e438012d181b4007219448004901301c..."} 
[2026-07-08 11:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4043e438012d181b4007219448004901301c..."} 
[2026-07-08 11:19:07] local.INFO: Processing buffer {"connection_id":125401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4043e438012d181b4007219448004901301c..."} 
[2026-07-08 11:19:07] local.INFO: Packet analysis {"connection_id":125401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4043"} 
[2026-07-08 11:19:07] local.INFO: Extracted packet for processing {"connection_id":125401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4043"} 
[2026-07-08 11:19:07] local.INFO: GPS Element Parsed {"raw_longitude":756554560,"raw_latitude":119641160,"longitude_deg":75.655456,"latitude_deg":11.964116,"altitude":73,"angle":304,"satellites":28,"speed":0,"hex_longitude":"2d181b40","hex_latitude":"07219448","is_valid_coordinates":true} 
[2026-07-08 11:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573337088001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4710621346004992,"note":"Value kept but may cause issues"} 
[2026-07-08 11:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480653772800,"note":"Value kept but may cause issues"} 
[2026-07-08 11:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783489619000,"timestamp_ms":1783489619000,"timestamp_seconds":1783489619,"priority":1,"record_length":96,"hex_timestamp":"0000019f4043e438"} 
[2026-07-08 11:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 11:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:19:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573337088001,"66":12591,"120":206,"28":31744,"24":0,"16":4710621346004992,"45":1737052480653772800},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573337088001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:19:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:19:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4710621346004992,"km_value":4710621346004.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480653772800,"description":"Unknown IO ID 45"} 
[2026-07-08 11:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573337088001,"power":12591,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737052480653772800}} 
[2026-07-08 11:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":125401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:19:08] local.INFO: GPS data processed {"connection_id":125401,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:19:08] local.INFO: Acknowledgment sent {"connection_id":125401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:19:11] local.INFO: TCP Data received {"connection_id":125400,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4040cf28012d7f980005afe330000801262a..."} 
[2026-07-08 11:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4040cf28012d7f980005afe330000801262a..."} 
[2026-07-08 11:19:11] local.INFO: Processing buffer {"connection_id":125400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4040cf28012d7f980005afe330000801262a..."} 
[2026-07-08 11:19:11] local.INFO: Packet analysis {"connection_id":125400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4040"} 
[2026-07-08 11:19:11] local.INFO: Extracted packet for processing {"connection_id":125400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4040"} 
[2026-07-08 11:19:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":8,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573213696001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783489417000,"timestamp_ms":1783489417000,"timestamp_seconds":1783489417,"priority":1,"record_length":96,"hex_timestamp":"0000019f4040cf28"} 
[2026-07-08 11:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-08 11:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573213696001,"66":25473,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573213696001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:19:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:19:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573213696001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":125400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:19:11] local.INFO: GPS data processed {"connection_id":125400,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:19:11] local.INFO: Acknowledgment sent {"connection_id":125400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:19:17] local.INFO: TCP Data received {"connection_id":125400,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4040cf28012d7f980005afe330000801262a..."} 
[2026-07-08 11:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4040cf28012d7f980005afe330000801262a..."} 
[2026-07-08 11:19:17] local.INFO: Processing buffer {"connection_id":125400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4040cf28012d7f980005afe330000801262a..."} 
[2026-07-08 11:19:17] local.INFO: Packet analysis {"connection_id":125400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4040"} 
[2026-07-08 11:19:17] local.INFO: Extracted packet for processing {"connection_id":125400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4040"} 
[2026-07-08 11:19:17] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":8,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573213696001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783489417000,"timestamp_ms":1783489417000,"timestamp_seconds":1783489417,"priority":1,"record_length":96,"hex_timestamp":"0000019f4040cf28"} 
[2026-07-08 11:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-08 11:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":125400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":125400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":125400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573213696001,"66":25473,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573213696001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:19:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:19:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573213696001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":125400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:19:17] local.INFO: GPS data processed {"connection_id":125400,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:19:17] local.INFO: Acknowledgment sent {"connection_id":125400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:19:39] local.INFO: TCP Data received {"connection_id":125401,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40443640012d181b4007219448004901301f..."} 
[2026-07-08 11:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40443640012d181b4007219448004901301f..."} 
[2026-07-08 11:19:39] local.INFO: Processing buffer {"connection_id":125401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40443640012d181b4007219448004901301f..."} 
[2026-07-08 11:19:39] local.INFO: Packet analysis {"connection_id":125401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4044"} 
[2026-07-08 11:19:39] local.INFO: Extracted packet for processing {"connection_id":125401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4044"} 
[2026-07-08 11:19:39] local.INFO: GPS Element Parsed {"raw_longitude":756554560,"raw_latitude":119641160,"longitude_deg":75.655456,"latitude_deg":11.964116,"altitude":73,"angle":304,"satellites":31,"speed":0,"hex_longitude":"2d181b40","hex_latitude":"07219448","is_valid_coordinates":true} 
[2026-07-08 11:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573342464001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4710621346004992,"note":"Value kept but may cause issues"} 
[2026-07-08 11:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480653772800,"note":"Value kept but may cause issues"} 
[2026-07-08 11:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783489640000,"timestamp_ms":1783489640000,"timestamp_seconds":1783489640,"priority":1,"record_length":96,"hex_timestamp":"0000019f40443640"} 
[2026-07-08 11:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 11:19:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:19:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573342464001,"66":12558,"120":206,"28":31744,"24":0,"16":4710621346004992,"45":1737052480653772800},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573342464001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:19:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:19:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4710621346004992,"km_value":4710621346004.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480653772800,"description":"Unknown IO ID 45"} 
[2026-07-08 11:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573342464001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737052480653772800}} 
[2026-07-08 11:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":125401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:19:39] local.INFO: GPS data processed {"connection_id":125401,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:19:39] local.INFO: Acknowledgment sent {"connection_id":125401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:19:45] local.INFO: TCP Data received {"connection_id":127407,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127407,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:19:45] local.INFO: Processing buffer {"connection_id":127407,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:19:45] local.INFO: IMEI packet received {"connection_id":127407,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":127407,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:19:50] local.INFO: TCP Data received {"connection_id":127407,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127407,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:19:50] local.INFO: Processing buffer {"connection_id":127407,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:19:50] local.INFO: IMEI packet received {"connection_id":127407,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":127407,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:19:51] local.INFO: TCP Data received {"connection_id":127407,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40464598012d0b130007029fc00000013426..."} 
[2026-07-08 11:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40464598012d0b130007029fc00000013426..."} 
[2026-07-08 11:19:51] local.INFO: Processing buffer {"connection_id":127407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40464598012d0b130007029fc00000013426..."} 
[2026-07-08 11:19:51] local.INFO: Packet analysis {"connection_id":127407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4046"} 
[2026-07-08 11:19:51] local.INFO: Extracted packet for processing {"connection_id":127407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4046"} 
[2026-07-08 11:19:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573305344001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783489775000,"timestamp_ms":1783489775000,"timestamp_seconds":1783489775,"priority":1,"record_length":96,"hex_timestamp":"0000019f40464598"} 
[2026-07-08 11:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:19: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-07-08 11:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:19:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127407,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127407,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573305344001,"66":12624,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 11:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573305344001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:19:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573305344001,"power":12624,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":127407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450557,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:19:51] local.INFO: GPS data processed {"connection_id":127407,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:19:51] local.INFO: Acknowledgment sent {"connection_id":127407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:19:56] local.INFO: TCP Data received {"connection_id":126146,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:19:56] local.INFO: Processing buffer {"connection_id":126146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:19:56] local.INFO: IMEI packet received {"connection_id":126146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":126146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:20:00] local.INFO: TCP Data received {"connection_id":127408,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:20:00] local.INFO: Processing buffer {"connection_id":127408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:20:00] local.INFO: IMEI packet received {"connection_id":127408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":127408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:20:01] local.INFO: TCP Data received {"connection_id":126146,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:20:01] local.INFO: Processing buffer {"connection_id":126146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:20:01] local.INFO: IMEI packet received {"connection_id":126146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":126146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:20:02] local.INFO: TCP Data received {"connection_id":126146,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f404566f0012d7f980005afe3300000012624..."} 
[2026-07-08 11:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404566f0012d7f980005afe3300000012624..."} 
[2026-07-08 11:20:02] local.INFO: Processing buffer {"connection_id":126146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404566f0012d7f980005afe3300000012624..."} 
[2026-07-08 11:20:02] local.INFO: Packet analysis {"connection_id":126146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4045"} 
[2026-07-08 11:20:02] local.INFO: Extracted packet for processing {"connection_id":126146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4045"} 
[2026-07-08 11:20:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":36,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573290752001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783489718000,"timestamp_ms":1783489718000,"timestamp_seconds":1783489718,"priority":1,"record_length":96,"hex_timestamp":"0000019f404566f0"} 
[2026-07-08 11:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:20:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 11:20:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:20:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573290752001,"66":25495,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573290752001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:20:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:20:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573290752001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":126146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:20:02] local.INFO: GPS data processed {"connection_id":126146,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:20:02] local.INFO: Acknowledgment sent {"connection_id":126146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:20:04] local.INFO: TCP Data received {"connection_id":127408,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:20:04] local.INFO: Processing buffer {"connection_id":127408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:20:04] local.INFO: IMEI packet received {"connection_id":127408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":127408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:20:05] local.INFO: TCP Data received {"connection_id":127408,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:20:05] local.INFO: Processing buffer {"connection_id":127408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:20:05] local.INFO: IMEI packet received {"connection_id":127408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":127408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:20:06] local.INFO: TCP Data received {"connection_id":127408,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40448848012d181b4007219448004901301b..."} 
[2026-07-08 11:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40448848012d181b4007219448004901301b..."} 
[2026-07-08 11:20:06] local.INFO: Processing buffer {"connection_id":127408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40448848012d181b4007219448004901301b..."} 
[2026-07-08 11:20:06] local.INFO: Packet analysis {"connection_id":127408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4044"} 
[2026-07-08 11:20:06] local.INFO: Extracted packet for processing {"connection_id":127408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4044"} 
[2026-07-08 11:20:06] local.INFO: GPS Element Parsed {"raw_longitude":756554560,"raw_latitude":119641160,"longitude_deg":75.655456,"latitude_deg":11.964116,"altitude":73,"angle":304,"satellites":27,"speed":0,"hex_longitude":"2d181b40","hex_latitude":"07219448","is_valid_coordinates":true} 
[2026-07-08 11:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573347840001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4710621346004992,"note":"Value kept but may cause issues"} 
[2026-07-08 11:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480653772800,"note":"Value kept but may cause issues"} 
[2026-07-08 11:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783489661000,"timestamp_ms":1783489661000,"timestamp_seconds":1783489661,"priority":1,"record_length":96,"hex_timestamp":"0000019f40448848"} 
[2026-07-08 11:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-08 11:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-08 11:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3158900736,"note":"Value kept but may cause issues"} 
[2026-07-08 11:20:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249376818081404008,"note":"Value kept but may cause issues"} 
[2026-07-08 11:20:06] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2487746633,"note":"Value kept but may cause issues"} 
[2026-07-08 11:20:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-08 11:20:06] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-07-08 11:20:06] local.WARNING: Large IO value detected {"io_id":51,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-08 11:20:06] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-08 11:20:06] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,120,28,24,241,158,16,188,159,228,45,64,148,73,10,66,146,26,1,240,14,33,4,113,205,156,27,72,239,49,2,7,231,51,206],"length":575,"final_offset":705,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-08 11:20:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260538749447569408,"timestamp_seconds":5260538749447569.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 11:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573347840001,"66":12580,"120":206,"28":31744,"24":0,"16":4710621346004992,"45":1737052480653772800},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573347840001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:20:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:20:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4710621346004992,"km_value":4710621346004.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480653772800,"description":"Unknown IO ID 45"} 
[2026-07-08 11:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573347840001,"power":12580,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737052480653772800}} 
[2026-07-08 11:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":127408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:20:07] local.INFO: GPS data processed {"connection_id":127408,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:20:07] local.INFO: Acknowledgment sent {"connection_id":127408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:20:11] local.INFO: TCP Data received {"connection_id":127408,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4044da50012d181b4007219448004901301e..."} 
[2026-07-08 11:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4044da50012d181b4007219448004901301e..."} 
[2026-07-08 11:20:11] local.INFO: Processing buffer {"connection_id":127408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4044da50012d181b4007219448004901301e..."} 
[2026-07-08 11:20:11] local.INFO: Packet analysis {"connection_id":127408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4044"} 
[2026-07-08 11:20:11] local.INFO: Extracted packet for processing {"connection_id":127408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4044"} 
[2026-07-08 11:20:11] local.INFO: GPS Element Parsed {"raw_longitude":756554560,"raw_latitude":119641160,"longitude_deg":75.655456,"latitude_deg":11.964116,"altitude":73,"angle":304,"satellites":30,"speed":0,"hex_longitude":"2d181b40","hex_latitude":"07219448","is_valid_coordinates":true} 
[2026-07-08 11:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573353216001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4710621346004992,"note":"Value kept but may cause issues"} 
[2026-07-08 11:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480653772800,"note":"Value kept but may cause issues"} 
[2026-07-08 11:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783489682000,"timestamp_ms":1783489682000,"timestamp_seconds":1783489682,"priority":1,"record_length":96,"hex_timestamp":"0000019f4044da50"} 
[2026-07-08 11:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 11:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":127408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":127408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":127408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573353216001,"66":12515,"120":206,"28":31744,"24":0,"16":4710621346004992,"45":1737052480653772800},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573353216001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:20:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:20:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4710621346004992,"km_value":4710621346004.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480653772800,"description":"Unknown IO ID 45"} 
[2026-07-08 11:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573353216001,"power":12515,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737052480653772800}} 
[2026-07-08 11:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":127408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:20:12] local.INFO: GPS data processed {"connection_id":127408,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:20:12] local.INFO: Acknowledgment sent {"connection_id":127408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:20:22] local.INFO: TCP Data received {"connection_id":127407,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40464598012d0b130007029fc00000013426..."} 
[2026-07-08 11:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40464598012d0b130007029fc00000013426..."} 
[2026-07-08 11:20:22] local.INFO: Processing buffer {"connection_id":127407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40464598012d0b130007029fc00000013426..."} 
[2026-07-08 11:20:22] local.INFO: Packet analysis {"connection_id":127407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4046"} 
[2026-07-08 11:20:22] local.INFO: Extracted packet for processing {"connection_id":127407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4046"} 
[2026-07-08 11:20:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573305344001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:20:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:20:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783489775000,"timestamp_ms":1783489775000,"timestamp_seconds":1783489775,"priority":1,"record_length":96,"hex_timestamp":"0000019f40464598"} 
[2026-07-08 11:20:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:20:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:20:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:20:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:20:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":127407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":127407,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":127407,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:20:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573305344001,"66":12624,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 11:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573305344001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:20:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:20:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573305344001,"power":12624,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":127407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450561,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:20:22] local.INFO: GPS data processed {"connection_id":127407,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:20:22] local.INFO: Acknowledgment sent {"connection_id":127407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:20:33] local.INFO: TCP Data received {"connection_id":126146,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f404566f0012d7f980005afe3300000012624..."} 
[2026-07-08 11:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404566f0012d7f980005afe3300000012624..."} 
[2026-07-08 11:20:33] local.INFO: Processing buffer {"connection_id":126146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404566f0012d7f980005afe3300000012624..."} 
[2026-07-08 11:20:33] local.INFO: Packet analysis {"connection_id":126146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4045"} 
[2026-07-08 11:20:33] local.INFO: Extracted packet for processing {"connection_id":126146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4045"} 
[2026-07-08 11:20:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":36,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573290752001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783489718000,"timestamp_ms":1783489718000,"timestamp_seconds":1783489718,"priority":1,"record_length":96,"hex_timestamp":"0000019f404566f0"} 
[2026-07-08 11:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:20: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-07-08 11:20: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-07-08 11:20:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:20: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-07-08 11:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573290752001,"66":25495,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573290752001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:20:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:20:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573290752001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":126146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:20:33] local.INFO: GPS data processed {"connection_id":126146,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:20:33] local.INFO: Acknowledgment sent {"connection_id":126146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:20:43] local.INFO: TCP Data received {"connection_id":127408,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40452c58012d181b4007219448004901301b..."} 
[2026-07-08 11:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40452c58012d181b4007219448004901301b..."} 
[2026-07-08 11:20:43] local.INFO: Processing buffer {"connection_id":127408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40452c58012d181b4007219448004901301b..."} 
[2026-07-08 11:20:43] local.INFO: Packet analysis {"connection_id":127408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4045"} 
[2026-07-08 11:20:43] local.INFO: Extracted packet for processing {"connection_id":127408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4045"} 
[2026-07-08 11:20:43] local.INFO: GPS Element Parsed {"raw_longitude":756554560,"raw_latitude":119641160,"longitude_deg":75.655456,"latitude_deg":11.964116,"altitude":73,"angle":304,"satellites":27,"speed":0,"hex_longitude":"2d181b40","hex_latitude":"07219448","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573358592001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4710621346004992,"note":"Value kept but may cause issues"} 
[2026-07-08 11:20:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480653772800,"note":"Value kept but may cause issues"} 
[2026-07-08 11:20:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783489703000,"timestamp_ms":1783489703000,"timestamp_seconds":1783489703,"priority":1,"record_length":96,"hex_timestamp":"0000019f40452c58"} 
[2026-07-08 11:20:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:20:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-08 11:20:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:20:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":127408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":127408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":127408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:20:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573358592001,"66":12341,"120":206,"28":31744,"24":0,"16":4710621346004992,"45":1737052480653772800},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573358592001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:20:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:20:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4710621346004992,"km_value":4710621346004.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:20:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480653772800,"description":"Unknown IO ID 45"} 
[2026-07-08 11:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573358592001,"power":12341,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737052480653772800}} 
[2026-07-08 11:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":127408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:20:43] local.INFO: GPS data processed {"connection_id":127408,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:20:43] local.INFO: Acknowledgment sent {"connection_id":127408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:20:45] local.INFO: TCP Data received {"connection_id":125403,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125403,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:20:45] local.INFO: Processing buffer {"connection_id":125403,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:20:45] local.INFO: IMEI packet received {"connection_id":125403,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":125403,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:20:50] local.INFO: TCP Data received {"connection_id":125403,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125403,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:20:50] local.INFO: Processing buffer {"connection_id":125403,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:20:50] local.INFO: IMEI packet received {"connection_id":125403,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":125403,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:20:51] local.INFO: TCP Data received {"connection_id":125403,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40464598012d0b130007029fc00000013426..."} 
[2026-07-08 11:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40464598012d0b130007029fc00000013426..."} 
[2026-07-08 11:20:51] local.INFO: Processing buffer {"connection_id":125403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40464598012d0b130007029fc00000013426..."} 
[2026-07-08 11:20:51] local.INFO: Packet analysis {"connection_id":125403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4046"} 
[2026-07-08 11:20:51] local.INFO: Extracted packet for processing {"connection_id":125403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4046"} 
[2026-07-08 11:20:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573305344001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783489775000,"timestamp_ms":1783489775000,"timestamp_seconds":1783489775,"priority":1,"record_length":96,"hex_timestamp":"0000019f40464598"} 
[2026-07-08 11:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:20: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-07-08 11:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125403,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125403,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573305344001,"66":12624,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573305344001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:20:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573305344001,"power":12624,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":125403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450564,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:20:51] local.INFO: GPS data processed {"connection_id":125403,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:20:51] local.INFO: Acknowledgment sent {"connection_id":125403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:20:56] local.INFO: TCP Data received {"connection_id":125404,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:20:56] local.INFO: Processing buffer {"connection_id":125404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:20:56] local.INFO: IMEI packet received {"connection_id":125404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":125404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:21:00] local.INFO: TCP Data received {"connection_id":125301,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:21:00] local.INFO: Processing buffer {"connection_id":125301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:21:00] local.INFO: IMEI packet received {"connection_id":125301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":125301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:21:01] local.INFO: TCP Data received {"connection_id":125404,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:21:01] local.INFO: Processing buffer {"connection_id":125404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:21:01] local.INFO: IMEI packet received {"connection_id":125404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":125404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:21:02] local.INFO: TCP Data received {"connection_id":125404,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f404566f0012d7f980005afe3300000012624..."} 
[2026-07-08 11:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404566f0012d7f980005afe3300000012624..."} 
[2026-07-08 11:21:02] local.INFO: Processing buffer {"connection_id":125404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404566f0012d7f980005afe3300000012624..."} 
[2026-07-08 11:21:02] local.INFO: Packet analysis {"connection_id":125404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4045"} 
[2026-07-08 11:21:02] local.INFO: Extracted packet for processing {"connection_id":125404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4045"} 
[2026-07-08 11:21:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":36,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573290752001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783489718000,"timestamp_ms":1783489718000,"timestamp_seconds":1783489718,"priority":1,"record_length":96,"hex_timestamp":"0000019f404566f0"} 
[2026-07-08 11:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 11:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573290752001,"66":25495,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573290752001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:21:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:21:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573290752001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":125404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:21:02] local.INFO: GPS data processed {"connection_id":125404,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:21:02] local.INFO: Acknowledgment sent {"connection_id":125404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:21:06] local.INFO: TCP Data received {"connection_id":125301,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:21:06] local.INFO: Processing buffer {"connection_id":125301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:21:06] local.INFO: IMEI packet received {"connection_id":125301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":125301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:21:07] local.INFO: TCP Data received {"connection_id":125301,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40457e60012d181b4007219448004901301b..."} 
[2026-07-08 11:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40457e60012d181b4007219448004901301b..."} 
[2026-07-08 11:21:07] local.INFO: Processing buffer {"connection_id":125301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40457e60012d181b4007219448004901301b..."} 
[2026-07-08 11:21:07] local.INFO: Packet analysis {"connection_id":125301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4045"} 
[2026-07-08 11:21:07] local.INFO: Extracted packet for processing {"connection_id":125301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4045"} 
[2026-07-08 11:21:07] local.INFO: GPS Element Parsed {"raw_longitude":756554560,"raw_latitude":119641160,"longitude_deg":75.655456,"latitude_deg":11.964116,"altitude":73,"angle":304,"satellites":27,"speed":0,"hex_longitude":"2d181b40","hex_latitude":"07219448","is_valid_coordinates":true} 
[2026-07-08 11:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573363968001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4710621346004992,"note":"Value kept but may cause issues"} 
[2026-07-08 11:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480653772800,"note":"Value kept but may cause issues"} 
[2026-07-08 11:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783489724000,"timestamp_ms":1783489724000,"timestamp_seconds":1783489724,"priority":1,"record_length":96,"hex_timestamp":"0000019f40457e60"} 
[2026-07-08 11:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 11:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573363968001,"66":12504,"120":206,"28":31744,"24":0,"16":4710621346004992,"45":1737052480653772800},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573363968001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:21:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:21:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4710621346004992,"km_value":4710621346004.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480653772800,"description":"Unknown IO ID 45"} 
[2026-07-08 11:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573363968001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737052480653772800}} 
[2026-07-08 11:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":125301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:21:07] local.INFO: GPS data processed {"connection_id":125301,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:21:07] local.INFO: Acknowledgment sent {"connection_id":125301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:21:22] local.INFO: TCP Data received {"connection_id":125403,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40464598012d0b130007029fc00000013426..."} 
[2026-07-08 11:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40464598012d0b130007029fc00000013426..."} 
[2026-07-08 11:21:22] local.INFO: Processing buffer {"connection_id":125403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40464598012d0b130007029fc00000013426..."} 
[2026-07-08 11:21:22] local.INFO: Packet analysis {"connection_id":125403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4046"} 
[2026-07-08 11:21:22] local.INFO: Extracted packet for processing {"connection_id":125403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4046"} 
[2026-07-08 11:21:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573305344001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783489775000,"timestamp_ms":1783489775000,"timestamp_seconds":1783489775,"priority":1,"record_length":96,"hex_timestamp":"0000019f40464598"} 
[2026-07-08 11:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:21:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:21:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125403,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125403,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573305344001,"66":12624,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573305344001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:21:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573305344001,"power":12624,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":125403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450567,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:21:22] local.INFO: GPS data processed {"connection_id":125403,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:21:22] local.INFO: Acknowledgment sent {"connection_id":125403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:21:23] local.INFO: TCP Data received {"connection_id":125300,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125300,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:21:23] local.INFO: Processing buffer {"connection_id":125300,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:21:23] local.INFO: IMEI packet received {"connection_id":125300,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 11:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":125300,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:21:32] local.INFO: TCP Data received {"connection_id":125404,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f404566f0012d7f980005afe3300000012624..."} 
[2026-07-08 11:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404566f0012d7f980005afe3300000012624..."} 
[2026-07-08 11:21:32] local.INFO: Processing buffer {"connection_id":125404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404566f0012d7f980005afe3300000012624..."} 
[2026-07-08 11:21:32] local.INFO: Packet analysis {"connection_id":125404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4045"} 
[2026-07-08 11:21:32] local.INFO: Extracted packet for processing {"connection_id":125404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4045"} 
[2026-07-08 11:21:32] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":36,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573290752001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783489718000,"timestamp_ms":1783489718000,"timestamp_seconds":1783489718,"priority":1,"record_length":96,"hex_timestamp":"0000019f404566f0"} 
[2026-07-08 11:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 11:21: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-07-08 11:21:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:21: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-07-08 11:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573290752001,"66":25495,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573290752001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:21:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:21:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573290752001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":125404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:21:32] local.INFO: GPS data processed {"connection_id":125404,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:21:32] local.INFO: Acknowledgment sent {"connection_id":125404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:21:39] local.INFO: TCP Data received {"connection_id":125301,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f404785e8012d1814c007219ab8004a000124..."} 
[2026-07-08 11:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404785e8012d1814c007219ab8004a000124..."} 
[2026-07-08 11:21:39] local.INFO: Processing buffer {"connection_id":125301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404785e8012d1814c007219ab8004a000124..."} 
[2026-07-08 11:21:39] local.INFO: Packet analysis {"connection_id":125301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4047"} 
[2026-07-08 11:21:39] local.INFO: Extracted packet for processing {"connection_id":125301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4047"} 
[2026-07-08 11:21:39] local.INFO: GPS Element Parsed {"raw_longitude":756552896,"raw_latitude":119642808,"longitude_deg":75.6552896,"latitude_deg":11.9642808,"altitude":74,"angle":1,"satellites":36,"speed":12,"hex_longitude":"2d1814c0","hex_latitude":"07219ab8","is_valid_coordinates":true} 
[2026-07-08 11:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573403136001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4710763079925760,"note":"Value kept but may cause issues"} 
[2026-07-08 11:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735222893305516032,"note":"Value kept but may cause issues"} 
[2026-07-08 11:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783489857000,"timestamp_ms":1783489857000,"timestamp_seconds":1783489857,"priority":1,"record_length":96,"hex_timestamp":"0000019f404785e8"} 
[2026-07-08 11:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-08 11:21:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573403136001,"66":14298,"120":206,"28":31744,"24":12,"16":4710763079925760,"45":1735222893305516032},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573403136001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:21:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:21:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4710763079925760,"km_value":4710763079925.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735222893305516032,"description":"Unknown IO ID 45"} 
[2026-07-08 11:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573403136001,"power":14298,"unknown_120":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1735222893305516032}} 
[2026-07-08 11:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":125301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:21:39] local.INFO: GPS data processed {"connection_id":125301,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:21:39] local.INFO: Acknowledgment sent {"connection_id":125301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:21:45] local.INFO: TCP Data received {"connection_id":125405,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125405,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:21:45] local.INFO: Processing buffer {"connection_id":125405,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:21:45] local.INFO: IMEI packet received {"connection_id":125405,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":125405,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:21:50] local.INFO: TCP Data received {"connection_id":125405,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125405,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:21:50] local.INFO: Processing buffer {"connection_id":125405,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:21:50] local.INFO: IMEI packet received {"connection_id":125405,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":125405,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:21:51] local.INFO: TCP Data received {"connection_id":125405,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f40464598012d0b130007029fc00000013426..."} 
[2026-07-08 11:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40464598012d0b130007029fc00000013426..."} 
[2026-07-08 11:21:51] local.INFO: Processing buffer {"connection_id":125405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40464598012d0b130007029fc00000013426..."} 
[2026-07-08 11:21:51] local.INFO: Packet analysis {"connection_id":125405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4046"} 
[2026-07-08 11:21:51] local.INFO: Extracted packet for processing {"connection_id":125405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4046"} 
[2026-07-08 11:21:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573305344001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783489775000,"timestamp_ms":1783489775000,"timestamp_seconds":1783489775,"priority":1,"record_length":96,"hex_timestamp":"0000019f40464598"} 
[2026-07-08 11:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:21: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-07-08 11:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:21:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:21:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125405,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125405,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573305344001,"66":12624,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573305344001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:21:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573305344001,"power":12624,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":125405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450570,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:21:51] local.INFO: GPS data processed {"connection_id":125405,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:21:51] local.INFO: Acknowledgment sent {"connection_id":125405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:21:56] local.INFO: TCP Data received {"connection_id":126147,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:21:56] local.INFO: Processing buffer {"connection_id":126147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:21:56] local.INFO: IMEI packet received {"connection_id":126147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":126147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:22:01] local.INFO: TCP Data received {"connection_id":126147,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:22:01] local.INFO: Processing buffer {"connection_id":126147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:22:01] local.INFO: IMEI packet received {"connection_id":126147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":126147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:22:01] local.INFO: TCP Data received {"connection_id":126147,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f404566f0012d7f980005afe3300000012624..."} 
[2026-07-08 11:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404566f0012d7f980005afe3300000012624..."} 
[2026-07-08 11:22:01] local.INFO: Processing buffer {"connection_id":126147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404566f0012d7f980005afe3300000012624..."} 
[2026-07-08 11:22:01] local.INFO: Packet analysis {"connection_id":126147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4045"} 
[2026-07-08 11:22:01] local.INFO: Extracted packet for processing {"connection_id":126147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4045"} 
[2026-07-08 11:22:01] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":36,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573290752001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:22:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783489718000,"timestamp_ms":1783489718000,"timestamp_seconds":1783489718,"priority":1,"record_length":96,"hex_timestamp":"0000019f404566f0"} 
[2026-07-08 11:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:22:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 11:22: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-07-08 11:22:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:22:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573290752001,"66":25495,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573290752001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:22:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:22:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573290752001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":126147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:22:01] local.INFO: GPS data processed {"connection_id":126147,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:22:01] local.INFO: Acknowledgment sent {"connection_id":126147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:22:06] local.INFO: TCP Data received {"connection_id":126148,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:22:06] local.INFO: Processing buffer {"connection_id":126148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:22:06] local.INFO: IMEI packet received {"connection_id":126148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":126148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:22:10] local.INFO: TCP Data received {"connection_id":126148,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:22:10] local.INFO: Processing buffer {"connection_id":126148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:22:10] local.INFO: IMEI packet received {"connection_id":126148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":126148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:22:11] local.INFO: TCP Data received {"connection_id":127409,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127409,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:22:11] local.INFO: Processing buffer {"connection_id":127409,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:22:11] local.INFO: IMEI packet received {"connection_id":127409,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 11:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":127409,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:22:11] local.INFO: TCP Data received {"connection_id":126148,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f404789d0012d1814c007219bf8004a000d24..."} 
[2026-07-08 11:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404789d0012d1814c007219bf8004a000d24..."} 
[2026-07-08 11:22:12] local.INFO: Processing buffer {"connection_id":126148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404789d0012d1814c007219bf8004a000d24..."} 
[2026-07-08 11:22:12] local.INFO: Packet analysis {"connection_id":126148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4047"} 
[2026-07-08 11:22:12] local.INFO: Extracted packet for processing {"connection_id":126148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4047"} 
[2026-07-08 11:22:12] local.INFO: GPS Element Parsed {"raw_longitude":756552896,"raw_latitude":119643128,"longitude_deg":75.6552896,"latitude_deg":11.9643128,"altitude":74,"angle":13,"satellites":36,"speed":13,"hex_longitude":"2d1814c0","hex_latitude":"07219bf8","is_valid_coordinates":true} 
[2026-07-08 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-07-08 11:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573403392001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4710780259794944,"note":"Value kept but may cause issues"} 
[2026-07-08 11:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735222893305575424,"note":"Value kept but may cause issues"} 
[2026-07-08 11:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783489858000,"timestamp_ms":1783489858000,"timestamp_seconds":1783489858,"priority":1,"record_length":96,"hex_timestamp":"0000019f404789d0"} 
[2026-07-08 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-07-08 11:22: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-07-08 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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-08 11:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 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-07-08 11:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":126148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":126148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":126148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573403392001,"66":14298,"120":206,"28":31744,"24":13,"16":4710780259794944,"45":1735222893305575424},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573403392001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:22:12] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:22:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4710780259794944,"km_value":4710780259794.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735222893305575424,"description":"Unknown IO ID 45"} 
[2026-07-08 11:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573403392001,"power":14298,"unknown_120":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1735222893305575424}} 
[2026-07-08 11:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":126148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:22:12] local.INFO: GPS data processed {"connection_id":126148,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:22:12] local.INFO: Acknowledgment sent {"connection_id":126148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:22:16] local.INFO: TCP Data received {"connection_id":126148,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f404791a0012d18158007219e50004a001926..."} 
[2026-07-08 11:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404791a0012d18158007219e50004a001926..."} 
[2026-07-08 11:22:16] local.INFO: Processing buffer {"connection_id":126148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404791a0012d18158007219e50004a001926..."} 
[2026-07-08 11:22:16] local.INFO: Packet analysis {"connection_id":126148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4047"} 
[2026-07-08 11:22:16] local.INFO: Extracted packet for processing {"connection_id":126148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4047"} 
[2026-07-08 11:22:16] local.INFO: GPS Element Parsed {"raw_longitude":756553088,"raw_latitude":119643728,"longitude_deg":75.6553088,"latitude_deg":11.9643728,"altitude":74,"angle":25,"satellites":38,"speed":14,"hex_longitude":"2d181580","hex_latitude":"07219e50","is_valid_coordinates":true} 
[2026-07-08 11:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573403648001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4710810324566016,"note":"Value kept but may cause issues"} 
[2026-07-08 11:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735222893305657344,"note":"Value kept but may cause issues"} 
[2026-07-08 11:22:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783489860000,"timestamp_ms":1783489860000,"timestamp_seconds":1783489860,"priority":1,"record_length":96,"hex_timestamp":"0000019f404791a0"} 
[2026-07-08 11:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:22:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-08 11:22:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:22:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":126148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":126148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":126148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573403648001,"66":14352,"120":206,"28":31744,"24":14,"16":4710810324566016,"45":1735222893305657344},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573403648001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:22:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:22:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4710810324566016,"km_value":4710810324566.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735222893305657344,"description":"Unknown IO ID 45"} 
[2026-07-08 11:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573403648001,"power":14352,"unknown_120":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1735222893305657344}} 
[2026-07-08 11:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":126148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:22:17] local.INFO: GPS data processed {"connection_id":126148,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:22:17] local.INFO: Acknowledgment sent {"connection_id":126148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:22:22] local.INFO: TCP Data received {"connection_id":125405,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f40464598012d0b130007029fc00000013426..."} 
[2026-07-08 11:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40464598012d0b130007029fc00000013426..."} 
[2026-07-08 11:22:22] local.INFO: Processing buffer {"connection_id":125405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40464598012d0b130007029fc00000013426..."} 
[2026-07-08 11:22:22] local.INFO: Packet analysis {"connection_id":125405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4046"} 
[2026-07-08 11:22:22] local.INFO: Extracted packet for processing {"connection_id":125405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4046"} 
[2026-07-08 11:22:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573305344001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783489775000,"timestamp_ms":1783489775000,"timestamp_seconds":1783489775,"priority":1,"record_length":96,"hex_timestamp":"0000019f40464598"} 
[2026-07-08 11:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:22:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125405,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125405,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573305344001,"66":12624,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573305344001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:22:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573305344001,"power":12624,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":125405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450574,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:22:22] local.INFO: GPS data processed {"connection_id":125405,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:22:22] local.INFO: Acknowledgment sent {"connection_id":125405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:22:32] local.INFO: TCP Data received {"connection_id":126147,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f404566f0012d7f980005afe3300000012624..."} 
[2026-07-08 11:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404566f0012d7f980005afe3300000012624..."} 
[2026-07-08 11:22:32] local.INFO: Processing buffer {"connection_id":126147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404566f0012d7f980005afe3300000012624..."} 
[2026-07-08 11:22:32] local.INFO: Packet analysis {"connection_id":126147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4045"} 
[2026-07-08 11:22:32] local.INFO: Extracted packet for processing {"connection_id":126147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4045"} 
[2026-07-08 11:22:32] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":36,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573290752001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783489718000,"timestamp_ms":1783489718000,"timestamp_seconds":1783489718,"priority":1,"record_length":96,"hex_timestamp":"0000019f404566f0"} 
[2026-07-08 11:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 11:22: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-07-08 11:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573290752001,"66":25495,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573290752001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:22:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:22:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573290752001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":126147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:22:32] local.INFO: GPS data processed {"connection_id":126147,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:22:32] local.INFO: Acknowledgment sent {"connection_id":126147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:22:45] local.INFO: TCP Data received {"connection_id":126149,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126149,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:22:45] local.INFO: Processing buffer {"connection_id":126149,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:22:45] local.INFO: IMEI packet received {"connection_id":126149,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":126149,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:22:50] local.INFO: TCP Data received {"connection_id":126149,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126149,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:22:50] local.INFO: Processing buffer {"connection_id":126149,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:22:50] local.INFO: IMEI packet received {"connection_id":126149,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":126149,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:22:51] local.INFO: TCP Data received {"connection_id":126149,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f40464598012d0b130007029fc00000013426..."} 
[2026-07-08 11:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40464598012d0b130007029fc00000013426..."} 
[2026-07-08 11:22:51] local.INFO: Processing buffer {"connection_id":126149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40464598012d0b130007029fc00000013426..."} 
[2026-07-08 11:22:51] local.INFO: Packet analysis {"connection_id":126149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4046"} 
[2026-07-08 11:22:51] local.INFO: Extracted packet for processing {"connection_id":126149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4046"} 
[2026-07-08 11:22:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573305344001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783489775000,"timestamp_ms":1783489775000,"timestamp_seconds":1783489775,"priority":1,"record_length":96,"hex_timestamp":"0000019f40464598"} 
[2026-07-08 11:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:22: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-07-08 11:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:22:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126149,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126149,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573305344001,"66":12624,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573305344001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:22:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573305344001,"power":12624,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":126149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450576,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:22:51] local.INFO: GPS data processed {"connection_id":126149,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:22:51] local.INFO: Acknowledgment sent {"connection_id":126149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:23:01] local.INFO: TCP Data received {"connection_id":127410,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:23:01] local.INFO: Processing buffer {"connection_id":127410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:23:01] local.INFO: IMEI packet received {"connection_id":127410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":127410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:23:01] local.INFO: TCP Data received {"connection_id":125302,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:23:01] local.INFO: Processing buffer {"connection_id":125302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:23:01] local.INFO: IMEI packet received {"connection_id":125302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":125302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:23:02] local.INFO: TCP Data received {"connection_id":127410,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:23:02] local.INFO: Processing buffer {"connection_id":127410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:23:02] local.INFO: IMEI packet received {"connection_id":127410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":127410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:23:05] local.INFO: TCP Data received {"connection_id":127410,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:23:05] local.INFO: Processing buffer {"connection_id":127410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:23:05] local.INFO: IMEI packet received {"connection_id":127410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":127410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:23:06] local.INFO: TCP Data received {"connection_id":125302,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:23:06] local.INFO: Processing buffer {"connection_id":125302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:23:06] local.INFO: IMEI packet received {"connection_id":125302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":125302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:23:07] local.INFO: TCP Data received {"connection_id":127410,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4047dbd8012d1825800721b890004b002525..."} 
[2026-07-08 11:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4047dbd8012d1825800721b890004b002525..."} 
[2026-07-08 11:23:07] local.INFO: Processing buffer {"connection_id":127410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4047dbd8012d1825800721b890004b002525..."} 
[2026-07-08 11:23:07] local.INFO: Packet analysis {"connection_id":127410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4047"} 
[2026-07-08 11:23:07] local.INFO: Extracted packet for processing {"connection_id":127410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4047"} 
[2026-07-08 11:23:07] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650448,"longitude_deg":75.6557184,"latitude_deg":11.9650448,"altitude":75,"angle":37,"satellites":37,"speed":13,"hex_longitude":"2d182580","hex_latitude":"0721b890","is_valid_coordinates":true} 
[2026-07-08 11:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573404160001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711188281688064,"note":"Value kept but may cause issues"} 
[2026-07-08 11:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735433999538343936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783489879000,"timestamp_ms":1783489879000,"timestamp_seconds":1783489879,"priority":1,"record_length":96,"hex_timestamp":"0000019f4047dbd8"} 
[2026-07-08 11:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-08 11:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733136640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:23:07] local.WARNING: Large IO value detected {"io_id":24,"raw_value":1801447691772756042,"note":"Value kept but may cause issues"} 
[2026-07-08 11:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3160211456,"note":"Value kept but may cause issues"} 
[2026-07-08 11:23:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1666331875011985418,"note":"Value kept but may cause issues"} 
[2026-07-08 11:23:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-08 11:23:07] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636747874101112,"note":"Value kept but may cause issues"} 
[2026-07-08 11:23:07] local.WARNING: Large IO value detected {"io_id":113,"raw_value":3819316371100336384,"note":"Value kept but may cause issues"} 
[2026-07-08 11:23:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-08 11:23:07] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-07-08 11:23:07] local.WARNING: Large IO value detected {"io_id":98,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-07-08 11:23:07] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3758149095,"note":"Value kept but may cause issues"} 
[2026-07-08 11:23:07] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84750460422398358,"note":"Value kept but may cause issues"} 
[2026-07-08 11:23:07] local.WARNING: Large IO value detected {"io_id":48,"raw_value":20830433008682496,"note":"Value kept but may cause issues"} 
[2026-07-08 11:23:07] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,120,28,24,241,158,16,188,159,137,45,192,155,74,36,10,66,133,154,130,1,240,218,64,33,4,113,205,2,98,23,88,239,54,7,206,8,48],"length":628,"final_offset":758,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-08 11:23:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332289609807036416,"timestamp_seconds":5332289609807036.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 11:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573404160001,"66":13015,"120":206,"28":31744,"24":13,"16":4711188281688064,"45":1735433999538343936},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573404160001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:23:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:23:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711188281688064,"km_value":4711188281688.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735433999538343936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573404160001,"power":13015,"unknown_120":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1735433999538343936}} 
[2026-07-08 11:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":127410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:23:07] local.INFO: GPS data processed {"connection_id":127410,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:23:07] local.INFO: Acknowledgment sent {"connection_id":127410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:23:07] local.INFO: TCP Data received {"connection_id":125302,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f404566f0012d7f980005afe3300000012624..."} 
[2026-07-08 11:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404566f0012d7f980005afe3300000012624..."} 
[2026-07-08 11:23:07] local.INFO: Processing buffer {"connection_id":125302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404566f0012d7f980005afe3300000012624..."} 
[2026-07-08 11:23:07] local.INFO: Packet analysis {"connection_id":125302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4045"} 
[2026-07-08 11:23:07] local.INFO: Extracted packet for processing {"connection_id":125302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4045"} 
[2026-07-08 11:23:07] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":36,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573290752001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783489718000,"timestamp_ms":1783489718000,"timestamp_seconds":1783489718,"priority":1,"record_length":96,"hex_timestamp":"0000019f404566f0"} 
[2026-07-08 11:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 11:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573290752001,"66":25495,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573290752001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:23:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:23:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573290752001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":125302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:23:07] local.INFO: GPS data processed {"connection_id":125302,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:23:07] local.INFO: Acknowledgment sent {"connection_id":125302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:23:11] local.INFO: TCP Data received {"connection_id":125302,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f404566f0012d7f980005afe3300000012624..."} 
[2026-07-08 11:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404566f0012d7f980005afe3300000012624..."} 
[2026-07-08 11:23:11] local.INFO: Processing buffer {"connection_id":125302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404566f0012d7f980005afe3300000012624..."} 
[2026-07-08 11:23:11] local.INFO: Packet analysis {"connection_id":125302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4045"} 
[2026-07-08 11:23:11] local.INFO: Extracted packet for processing {"connection_id":125302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4045"} 
[2026-07-08 11:23:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":36,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573290752001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783489718000,"timestamp_ms":1783489718000,"timestamp_seconds":1783489718,"priority":1,"record_length":96,"hex_timestamp":"0000019f404566f0"} 
[2026-07-08 11:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 11:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573290752001,"66":25495,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573290752001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:23:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:23:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573290752001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:23:11] local.INFO: TCP Data received {"connection_id":127410,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4047e3a8012d1826800721ba78004b000b25..."} 
[2026-07-08 11:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4047e3a8012d1826800721ba78004b000b25..."} 
[2026-07-08 11:23:11] local.INFO: Processing buffer {"connection_id":127410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4047e3a8012d1826800721ba78004b000b25..."} 
[2026-07-08 11:23:11] local.INFO: Packet analysis {"connection_id":127410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4047"} 
[2026-07-08 11:23:11] local.INFO: Extracted packet for processing {"connection_id":127410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4047"} 
[2026-07-08 11:23:11] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119650936,"longitude_deg":75.655744,"latitude_deg":11.9650936,"altitude":75,"angle":11,"satellites":37,"speed":9,"hex_longitude":"2d182680","hex_latitude":"0721ba78","is_valid_coordinates":true} 
[2026-07-08 11:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573409024001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711218346459136,"note":"Value kept but may cause issues"} 
[2026-07-08 11:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167434752,"note":"Value kept but may cause issues"} 
[2026-07-08 11:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783489881000,"timestamp_ms":1783489881000,"timestamp_seconds":1783489881,"priority":1,"record_length":96,"hex_timestamp":"0000019f4047e3a8"} 
[2026-07-08 11:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:23: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-07-08 11:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-08 11:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":127410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":127410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":127410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573409024001,"66":13015,"120":206,"28":31744,"24":9,"16":4711218346459136,"45":1739937599167434752},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":125302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:23:11] local.INFO: GPS data processed {"connection_id":125302,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:23:11] local.INFO: Acknowledgment sent {"connection_id":125302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573409024001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:23:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:23:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711218346459136,"km_value":4711218346459.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167434752,"description":"Unknown IO ID 45"} 
[2026-07-08 11:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573409024001,"power":13015,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1739937599167434752}} 
[2026-07-08 11:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":127410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:23:11] local.INFO: GPS data processed {"connection_id":127410,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:23:11] local.INFO: Acknowledgment sent {"connection_id":127410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:23:16] local.INFO: TCP Data received {"connection_id":125303,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125303,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:23:16] local.INFO: Processing buffer {"connection_id":125303,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:23:16] local.INFO: IMEI packet received {"connection_id":125303,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 11:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":125303,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:23:23] local.INFO: TCP Data received {"connection_id":126149,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f40464598012d0b130007029fc00000013426..."} 
[2026-07-08 11:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40464598012d0b130007029fc00000013426..."} 
[2026-07-08 11:23:23] local.INFO: Processing buffer {"connection_id":126149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40464598012d0b130007029fc00000013426..."} 
[2026-07-08 11:23:23] local.INFO: Packet analysis {"connection_id":126149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4046"} 
[2026-07-08 11:23:23] local.INFO: Extracted packet for processing {"connection_id":126149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4046"} 
[2026-07-08 11:23:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573305344001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:23:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783489775000,"timestamp_ms":1783489775000,"timestamp_seconds":1783489775,"priority":1,"record_length":96,"hex_timestamp":"0000019f40464598"} 
[2026-07-08 11:23:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:23:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:23:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:23:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:23:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":126149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":126149,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":126149,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:23:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573305344001,"66":12624,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573305344001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:23:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573305344001,"power":12624,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":126149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450581,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:23:23] local.INFO: GPS data processed {"connection_id":126149,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:23:23] local.INFO: Acknowledgment sent {"connection_id":126149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:23:43] local.INFO: TCP Data received {"connection_id":127410,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4047e790012d1826800721bb38004b014726..."} 
[2026-07-08 11:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4047e790012d1826800721bb38004b014726..."} 
[2026-07-08 11:23:43] local.INFO: Processing buffer {"connection_id":127410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4047e790012d1826800721bb38004b014726..."} 
[2026-07-08 11:23:43] local.INFO: Packet analysis {"connection_id":127410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4047"} 
[2026-07-08 11:23:43] local.INFO: Extracted packet for processing {"connection_id":127410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4047"} 
[2026-07-08 11:23:43] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651128,"longitude_deg":75.655744,"latitude_deg":11.9651128,"altitude":75,"angle":327,"satellites":38,"speed":7,"hex_longitude":"2d182680","hex_latitude":"0721bb38","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573409536001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711226936393728,"note":"Value kept but may cause issues"} 
[2026-07-08 11:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144270336,"note":"Value kept but may cause issues"} 
[2026-07-08 11:23:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783489882000,"timestamp_ms":1783489882000,"timestamp_seconds":1783489882,"priority":1,"record_length":96,"hex_timestamp":"0000019f4047e790"} 
[2026-07-08 11:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:23:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-08 11:23:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":127410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":127410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":127410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573409536001,"66":13015,"120":206,"28":31744,"24":7,"16":4711226936393728,"45":1740219074144270336},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573409536001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:23:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:23:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711226936393728,"km_value":4711226936393.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144270336,"description":"Unknown IO ID 45"} 
[2026-07-08 11:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573409536001,"power":13015,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1740219074144270336}} 
[2026-07-08 11:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":127410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:23:43] local.INFO: GPS data processed {"connection_id":127410,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:23:43] local.INFO: Acknowledgment sent {"connection_id":127410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:23:45] local.INFO: TCP Data received {"connection_id":127411,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127411,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:23:45] local.INFO: Processing buffer {"connection_id":127411,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:23:45] local.INFO: IMEI packet received {"connection_id":127411,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":127411,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:23:50] local.INFO: TCP Data received {"connection_id":127411,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127411,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:23:50] local.INFO: Processing buffer {"connection_id":127411,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:23:50] local.INFO: IMEI packet received {"connection_id":127411,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":127411,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:23:51] local.INFO: TCP Data received {"connection_id":127411,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f40464598012d0b130007029fc00000013426..."} 
[2026-07-08 11:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40464598012d0b130007029fc00000013426..."} 
[2026-07-08 11:23:51] local.INFO: Processing buffer {"connection_id":127411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40464598012d0b130007029fc00000013426..."} 
[2026-07-08 11:23:51] local.INFO: Packet analysis {"connection_id":127411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4046"} 
[2026-07-08 11:23:51] local.INFO: Extracted packet for processing {"connection_id":127411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4046"} 
[2026-07-08 11:23:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573305344001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783489775000,"timestamp_ms":1783489775000,"timestamp_seconds":1783489775,"priority":1,"record_length":96,"hex_timestamp":"0000019f40464598"} 
[2026-07-08 11:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:23: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-07-08 11:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127411,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127411,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573305344001,"66":12624,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573305344001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:23:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573305344001,"power":12624,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":127411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450583,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:23:51] local.INFO: GPS data processed {"connection_id":127411,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:23:51] local.INFO: Acknowledgment sent {"connection_id":127411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:23:56] local.INFO: TCP Data received {"connection_id":125407,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:23:56] local.INFO: Processing buffer {"connection_id":125407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:23:56] local.INFO: IMEI packet received {"connection_id":125407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":125407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:24:00] local.INFO: TCP Data received {"connection_id":126151,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:24:00] local.INFO: Processing buffer {"connection_id":126151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:24:00] local.INFO: IMEI packet received {"connection_id":126151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":126151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:24:01] local.INFO: TCP Data received {"connection_id":125407,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:24:01] local.INFO: Processing buffer {"connection_id":125407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:24:01] local.INFO: IMEI packet received {"connection_id":125407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":125407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:24:01] local.INFO: TCP Data received {"connection_id":125407,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f404566f0012d7f980005afe3300000012624..."} 
[2026-07-08 11:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404566f0012d7f980005afe3300000012624..."} 
[2026-07-08 11:24:01] local.INFO: Processing buffer {"connection_id":125407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404566f0012d7f980005afe3300000012624..."} 
[2026-07-08 11:24:01] local.INFO: Packet analysis {"connection_id":125407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4045"} 
[2026-07-08 11:24:01] local.INFO: Extracted packet for processing {"connection_id":125407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4045"} 
[2026-07-08 11:24:01] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":36,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573290752001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:24:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783489718000,"timestamp_ms":1783489718000,"timestamp_seconds":1783489718,"priority":1,"record_length":96,"hex_timestamp":"0000019f404566f0"} 
[2026-07-08 11:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:24:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:24: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-07-08 11:24: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-07-08 11:24:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573290752001,"66":25495,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573290752001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:24:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:24:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573290752001,"power":25495,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":125407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:24:01] local.INFO: GPS data processed {"connection_id":125407,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:24:01] local.INFO: Acknowledgment sent {"connection_id":125407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:24:05] local.INFO: TCP Data received {"connection_id":126151,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:24:05] local.INFO: Processing buffer {"connection_id":126151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:24:05] local.INFO: IMEI packet received {"connection_id":126151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":126151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:24:07] local.INFO: TCP Data received {"connection_id":126151,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40483998012d1824c00721b908004c014727..."} 
[2026-07-08 11:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40483998012d1824c00721b908004c014727..."} 
[2026-07-08 11:24:07] local.INFO: Processing buffer {"connection_id":126151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40483998012d1824c00721b908004c014727..."} 
[2026-07-08 11:24:07] local.INFO: Packet analysis {"connection_id":126151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4048"} 
[2026-07-08 11:24:07] local.INFO: Extracted packet for processing {"connection_id":126151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4048"} 
[2026-07-08 11:24:07] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650568,"longitude_deg":75.6556992,"latitude_deg":11.9650568,"altitude":76,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b908","is_valid_coordinates":true} 
[2026-07-08 11:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573409792001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711291360903168,"note":"Value kept but may cause issues"} 
[2026-07-08 11:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144319488,"note":"Value kept but may cause issues"} 
[2026-07-08 11:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783489903000,"timestamp_ms":1783489903000,"timestamp_seconds":1783489903,"priority":1,"record_length":96,"hex_timestamp":"0000019f40483998"} 
[2026-07-08 11:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":215,"data_length":795,"current_offset":136} 
[2026-07-08 11:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573409792001,"66":13048,"120":206,"28":31744,"24":0,"16":4711291360903168,"45":1740219074144319488},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573409792001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:24:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:24:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711291360903168,"km_value":4711291360903.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144319488,"description":"Unknown IO ID 45"} 
[2026-07-08 11:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573409792001,"power":13048,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740219074144319488}} 
[2026-07-08 11:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":126151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:24:07] local.INFO: GPS data processed {"connection_id":126151,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:24:07] local.INFO: Acknowledgment sent {"connection_id":126151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:24:22] local.INFO: TCP Data received {"connection_id":127411,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f40464598012d0b130007029fc00000013426..."} 
[2026-07-08 11:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40464598012d0b130007029fc00000013426..."} 
[2026-07-08 11:24:22] local.INFO: Processing buffer {"connection_id":127411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40464598012d0b130007029fc00000013426..."} 
[2026-07-08 11:24:22] local.INFO: Packet analysis {"connection_id":127411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4046"} 
[2026-07-08 11:24:22] local.INFO: Extracted packet for processing {"connection_id":127411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4046"} 
[2026-07-08 11:24:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 11:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573305344001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:24:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783489775000,"timestamp_ms":1783489775000,"timestamp_seconds":1783489775,"priority":1,"record_length":96,"hex_timestamp":"0000019f40464598"} 
[2026-07-08 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-07-08 11:24:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:24:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 11:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":127411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":127411,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":127411,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573305344001,"66":12624,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573305344001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:24:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:24:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573305344001,"power":12624,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":127411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450586,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:24:22] local.INFO: GPS data processed {"connection_id":127411,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:24:22] local.INFO: Acknowledgment sent {"connection_id":127411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:24:33] local.INFO: TCP Data received {"connection_id":125407,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4049feb8012d7f980005afe3300000012628..."} 
[2026-07-08 11:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4049feb8012d7f980005afe3300000012628..."} 
[2026-07-08 11:24:33] local.INFO: Processing buffer {"connection_id":125407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4049feb8012d7f980005afe3300000012628..."} 
[2026-07-08 11:24:33] local.INFO: Packet analysis {"connection_id":125407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4049"} 
[2026-07-08 11:24:33] local.INFO: Extracted packet for processing {"connection_id":125407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4049"} 
[2026-07-08 11:24:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573367808001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783490019000,"timestamp_ms":1783490019000,"timestamp_seconds":1783490019,"priority":1,"record_length":96,"hex_timestamp":"0000019f4049feb8"} 
[2026-07-08 11:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 11:24: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-07-08 11:24:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573367808001,"66":25473,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573367808001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:24:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:24:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573367808001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":125407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:24:33] local.INFO: GPS data processed {"connection_id":125407,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:24:33] local.INFO: Acknowledgment sent {"connection_id":125407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:24:39] local.INFO: TCP Data received {"connection_id":126151,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40488ba0012d1824c00721b908004c014726..."} 
[2026-07-08 11:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40488ba0012d1824c00721b908004c014726..."} 
[2026-07-08 11:24:39] local.INFO: Processing buffer {"connection_id":126151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40488ba0012d1824c00721b908004c014726..."} 
[2026-07-08 11:24:39] local.INFO: Packet analysis {"connection_id":126151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4048"} 
[2026-07-08 11:24:39] local.INFO: Extracted packet for processing {"connection_id":126151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4048"} 
[2026-07-08 11:24:39] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650568,"longitude_deg":75.6556992,"latitude_deg":11.9650568,"altitude":76,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b908","is_valid_coordinates":true} 
[2026-07-08 11:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573415168001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711291360903168,"note":"Value kept but may cause issues"} 
[2026-07-08 11:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934932480,"note":"Value kept but may cause issues"} 
[2026-07-08 11:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783489924000,"timestamp_ms":1783489924000,"timestamp_seconds":1783489924,"priority":1,"record_length":96,"hex_timestamp":"0000019f40488ba0"} 
[2026-07-08 11:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:24:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-08 11:24:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:24:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:24:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573415168001,"66":13135,"120":206,"28":31744,"24":0,"16":4711291360903168,"45":1739726492934932480},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573415168001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:24:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:24:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711291360903168,"km_value":4711291360903.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934932480,"description":"Unknown IO ID 45"} 
[2026-07-08 11:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573415168001,"power":13135,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739726492934932480}} 
[2026-07-08 11:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":126151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:24:39] local.INFO: GPS data processed {"connection_id":126151,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:24:39] local.INFO: Acknowledgment sent {"connection_id":126151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:24:50] local.INFO: TCP Data received {"connection_id":126152,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126152,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:24:50] local.INFO: Processing buffer {"connection_id":126152,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:24:50] local.INFO: IMEI packet received {"connection_id":126152,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":126152,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:24:55] local.INFO: TCP Data received {"connection_id":126152,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126152,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:24:55] local.INFO: Processing buffer {"connection_id":126152,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:24:55] local.INFO: IMEI packet received {"connection_id":126152,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":126152,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:24:56] local.INFO: TCP Data received {"connection_id":126152,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f404add60012d0b130007029fc00000013426..."} 
[2026-07-08 11:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404add60012d0b130007029fc00000013426..."} 
[2026-07-08 11:24:56] local.INFO: Processing buffer {"connection_id":126152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404add60012d0b130007029fc00000013426..."} 
[2026-07-08 11:24:56] local.INFO: Packet analysis {"connection_id":126152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404a"} 
[2026-07-08 11:24:56] local.INFO: Extracted packet for processing {"connection_id":126152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404a"} 
[2026-07-08 11:24:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573382400001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783490076000,"timestamp_ms":1783490076000,"timestamp_seconds":1783490076,"priority":1,"record_length":96,"hex_timestamp":"0000019f404add60"} 
[2026-07-08 11:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-08 11:24:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:24:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":126152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":126152,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":126152,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573382400001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573382400001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:24:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573382400001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:24:56] local.INFO: TCP Data received {"connection_id":125408,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:24:56] local.INFO: Processing buffer {"connection_id":125408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:24:56] local.INFO: IMEI packet received {"connection_id":125408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":125408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":126152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450589,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:24:56] local.INFO: GPS data processed {"connection_id":126152,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:24:56] local.INFO: Acknowledgment sent {"connection_id":126152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:25:00] local.INFO: TCP Data received {"connection_id":125305,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:25:00] local.INFO: Processing buffer {"connection_id":125305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:25:00] local.INFO: IMEI packet received {"connection_id":125305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":125305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:25:01] local.INFO: TCP Data received {"connection_id":126152,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f404add60012d0b130007029fc00000013426..."} 
[2026-07-08 11:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404add60012d0b130007029fc00000013426..."} 
[2026-07-08 11:25:01] local.INFO: Processing buffer {"connection_id":126152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404add60012d0b130007029fc00000013426..."} 
[2026-07-08 11:25:01] local.INFO: Packet analysis {"connection_id":126152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404a"} 
[2026-07-08 11:25:01] local.INFO: Extracted packet for processing {"connection_id":126152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404a"} 
[2026-07-08 11:25:01] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573382400001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:25: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-07-08 11:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783490076000,"timestamp_ms":1783490076000,"timestamp_seconds":1783490076,"priority":1,"record_length":96,"hex_timestamp":"0000019f404add60"} 
[2026-07-08 11:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-08 11:25:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126152,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126152,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573382400001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573382400001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:25:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573382400001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":126152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450590,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:25:01] local.INFO: GPS data processed {"connection_id":126152,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:25:01] local.INFO: Acknowledgment sent {"connection_id":126152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:25:01] local.INFO: TCP Data received {"connection_id":125408,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:25:01] local.INFO: Processing buffer {"connection_id":125408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:25:01] local.INFO: IMEI packet received {"connection_id":125408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":125408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:25:02] local.INFO: TCP Data received {"connection_id":125408,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4049feb8012d7f980005afe3300000012628..."} 
[2026-07-08 11:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4049feb8012d7f980005afe3300000012628..."} 
[2026-07-08 11:25:02] local.INFO: Processing buffer {"connection_id":125408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4049feb8012d7f980005afe3300000012628..."} 
[2026-07-08 11:25:02] local.INFO: Packet analysis {"connection_id":125408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4049"} 
[2026-07-08 11:25:02] local.INFO: Extracted packet for processing {"connection_id":125408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4049"} 
[2026-07-08 11:25:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573367808001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783490019000,"timestamp_ms":1783490019000,"timestamp_seconds":1783490019,"priority":1,"record_length":96,"hex_timestamp":"0000019f4049feb8"} 
[2026-07-08 11:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 11:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573367808001,"66":25473,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573367808001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:25:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:25:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573367808001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":125408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:25:02] local.INFO: GPS data processed {"connection_id":125408,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:25:02] local.INFO: Acknowledgment sent {"connection_id":125408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:25:06] local.INFO: TCP Data received {"connection_id":125305,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:25:06] local.INFO: Processing buffer {"connection_id":125305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:25:06] local.INFO: IMEI packet received {"connection_id":125305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":125305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:25:08] local.INFO: TCP Data received {"connection_id":125305,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4048dda8012d1824c00721b908004c014724..."} 
[2026-07-08 11:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4048dda8012d1824c00721b908004c014724..."} 
[2026-07-08 11:25:08] local.INFO: Processing buffer {"connection_id":125305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4048dda8012d1824c00721b908004c014724..."} 
[2026-07-08 11:25:08] local.INFO: Packet analysis {"connection_id":125305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4048"} 
[2026-07-08 11:25:08] local.INFO: Extracted packet for processing {"connection_id":125305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4048"} 
[2026-07-08 11:25:08] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650568,"longitude_deg":75.6556992,"latitude_deg":11.9650568,"altitude":76,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b908","is_valid_coordinates":true} 
[2026-07-08 11:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573420544001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711291360903168,"note":"Value kept but may cause issues"} 
[2026-07-08 11:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934932480,"note":"Value kept but may cause issues"} 
[2026-07-08 11:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783489945000,"timestamp_ms":1783489945000,"timestamp_seconds":1783489945,"priority":1,"record_length":96,"hex_timestamp":"0000019f4048dda8"} 
[2026-07-08 11:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-08 11:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573420544001,"66":12798,"120":206,"28":31744,"24":0,"16":4711291360903168,"45":1739726492934932480},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573420544001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:25:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:25:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711291360903168,"km_value":4711291360903.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934932480,"description":"Unknown IO ID 45"} 
[2026-07-08 11:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573420544001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739726492934932480}} 
[2026-07-08 11:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":125305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:25:08] local.INFO: GPS data processed {"connection_id":125305,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:25:08] local.INFO: Acknowledgment sent {"connection_id":125305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:25:33] local.INFO: TCP Data received {"connection_id":125408,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4049feb8012d7f980005afe3300000012628..."} 
[2026-07-08 11:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4049feb8012d7f980005afe3300000012628..."} 
[2026-07-08 11:25:33] local.INFO: Processing buffer {"connection_id":125408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4049feb8012d7f980005afe3300000012628..."} 
[2026-07-08 11:25:33] local.INFO: Packet analysis {"connection_id":125408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4049"} 
[2026-07-08 11:25:33] local.INFO: Extracted packet for processing {"connection_id":125408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4049"} 
[2026-07-08 11:25:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573367808001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783490019000,"timestamp_ms":1783490019000,"timestamp_seconds":1783490019,"priority":1,"record_length":96,"hex_timestamp":"0000019f4049feb8"} 
[2026-07-08 11:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11: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-07-08 11:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573367808001,"66":25473,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573367808001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:25:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:25:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573367808001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":125408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:25:33] local.INFO: GPS data processed {"connection_id":125408,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:25:33] local.INFO: Acknowledgment sent {"connection_id":125408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:25:39] local.INFO: TCP Data received {"connection_id":125305,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40492fb0012d1824c00721b908004c014725..."} 
[2026-07-08 11:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40492fb0012d1824c00721b908004c014725..."} 
[2026-07-08 11:25:39] local.INFO: Processing buffer {"connection_id":125305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40492fb0012d1824c00721b908004c014725..."} 
[2026-07-08 11:25:39] local.INFO: Packet analysis {"connection_id":125305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4049"} 
[2026-07-08 11:25:39] local.INFO: Extracted packet for processing {"connection_id":125305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4049"} 
[2026-07-08 11:25:39] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650568,"longitude_deg":75.6556992,"latitude_deg":11.9650568,"altitude":76,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b908","is_valid_coordinates":true} 
[2026-07-08 11:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573425920001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711291360903168,"note":"Value kept but may cause issues"} 
[2026-07-08 11:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934932480,"note":"Value kept but may cause issues"} 
[2026-07-08 11:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783489966000,"timestamp_ms":1783489966000,"timestamp_seconds":1783489966,"priority":1,"record_length":96,"hex_timestamp":"0000019f40492fb0"} 
[2026-07-08 11:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-08 11:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573425920001,"66":13004,"120":206,"28":31744,"24":0,"16":4711291360903168,"45":1739726492934932480},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573425920001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:25:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:25:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711291360903168,"km_value":4711291360903.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934932480,"description":"Unknown IO ID 45"} 
[2026-07-08 11:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573425920001,"power":13004,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739726492934932480}} 
[2026-07-08 11:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":125305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:25:40] local.INFO: GPS data processed {"connection_id":125305,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:25:40] local.INFO: Acknowledgment sent {"connection_id":125305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:25:45] local.INFO: TCP Data received {"connection_id":126153,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126153,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:25:45] local.INFO: Processing buffer {"connection_id":126153,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:25:45] local.INFO: IMEI packet received {"connection_id":126153,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":126153,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:25:50] local.INFO: TCP Data received {"connection_id":126153,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126153,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:25:50] local.INFO: Processing buffer {"connection_id":126153,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:25:50] local.INFO: IMEI packet received {"connection_id":126153,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":126153,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:25:51] local.INFO: TCP Data received {"connection_id":126153,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f404add60012d0b130007029fc00000013426..."} 
[2026-07-08 11:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404add60012d0b130007029fc00000013426..."} 
[2026-07-08 11:25:51] local.INFO: Processing buffer {"connection_id":126153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404add60012d0b130007029fc00000013426..."} 
[2026-07-08 11:25:51] local.INFO: Packet analysis {"connection_id":126153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404a"} 
[2026-07-08 11:25:51] local.INFO: Extracted packet for processing {"connection_id":126153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404a"} 
[2026-07-08 11:25:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573382400001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783490076000,"timestamp_ms":1783490076000,"timestamp_seconds":1783490076,"priority":1,"record_length":96,"hex_timestamp":"0000019f404add60"} 
[2026-07-08 11:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-08 11:25: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-07-08 11:25:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126153,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126153,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573382400001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573382400001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:25:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573382400001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":126153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450595,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:25:51] local.INFO: GPS data processed {"connection_id":126153,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:25:51] local.INFO: Acknowledgment sent {"connection_id":126153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:25:56] local.INFO: TCP Data received {"connection_id":126155,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:25:56] local.INFO: Processing buffer {"connection_id":126155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:25:56] local.INFO: IMEI packet received {"connection_id":126155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":126155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:26:00] local.INFO: TCP Data received {"connection_id":127412,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:26:00] local.INFO: Processing buffer {"connection_id":127412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:26:00] local.INFO: IMEI packet received {"connection_id":127412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":127412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:26:01] local.INFO: TCP Data received {"connection_id":126155,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:26:01] local.INFO: Processing buffer {"connection_id":126155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:26:01] local.INFO: IMEI packet received {"connection_id":126155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":126155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:26:01] local.INFO: TCP Data received {"connection_id":126155,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f4049feb8012d7f980005afe3300000012628..."} 
[2026-07-08 11:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4049feb8012d7f980005afe3300000012628..."} 
[2026-07-08 11:26:01] local.INFO: Processing buffer {"connection_id":126155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4049feb8012d7f980005afe3300000012628..."} 
[2026-07-08 11:26:01] local.INFO: Packet analysis {"connection_id":126155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4049"} 
[2026-07-08 11:26:01] local.INFO: Extracted packet for processing {"connection_id":126155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4049"} 
[2026-07-08 11:26:01] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573367808001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:26:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783490019000,"timestamp_ms":1783490019000,"timestamp_seconds":1783490019,"priority":1,"record_length":96,"hex_timestamp":"0000019f4049feb8"} 
[2026-07-08 11:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:26:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 11:26:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:26:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:26:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573367808001,"66":25473,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573367808001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:26:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:26:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573367808001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":126155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:26:01] local.INFO: GPS data processed {"connection_id":126155,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:26:01] local.INFO: Acknowledgment sent {"connection_id":126155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:26:06] local.INFO: TCP Data received {"connection_id":127412,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:26:06] local.INFO: Processing buffer {"connection_id":127412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:26:06] local.INFO: IMEI packet received {"connection_id":127412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":127412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:26:07] local.INFO: TCP Data received {"connection_id":127412,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f404981b8012d1824c00721b908004c014725..."} 
[2026-07-08 11:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404981b8012d1824c00721b908004c014725..."} 
[2026-07-08 11:26:07] local.INFO: Processing buffer {"connection_id":127412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404981b8012d1824c00721b908004c014725..."} 
[2026-07-08 11:26:07] local.INFO: Packet analysis {"connection_id":127412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4049"} 
[2026-07-08 11:26:07] local.INFO: Extracted packet for processing {"connection_id":127412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4049"} 
[2026-07-08 11:26:07] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650568,"longitude_deg":75.6556992,"latitude_deg":11.9650568,"altitude":76,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b908","is_valid_coordinates":true} 
[2026-07-08 11:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573431296001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711291360903168,"note":"Value kept but may cause issues"} 
[2026-07-08 11:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934932480,"note":"Value kept but may cause issues"} 
[2026-07-08 11:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783489987000,"timestamp_ms":1783489987000,"timestamp_seconds":1783489987,"priority":1,"record_length":96,"hex_timestamp":"0000019f404981b8"} 
[2026-07-08 11:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-08 11:26: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-07-08 11:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573431296001,"66":12993,"120":206,"28":31744,"24":0,"16":4711291360903168,"45":1739726492934932480},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573431296001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:26:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:26:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711291360903168,"km_value":4711291360903.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934932480,"description":"Unknown IO ID 45"} 
[2026-07-08 11:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573431296001,"power":12993,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739726492934932480}} 
[2026-07-08 11:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":127412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:26:07] local.INFO: GPS data processed {"connection_id":127412,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:26:07] local.INFO: Acknowledgment sent {"connection_id":127412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:26:22] local.INFO: TCP Data received {"connection_id":126153,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f404add60012d0b130007029fc00000013426..."} 
[2026-07-08 11:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404add60012d0b130007029fc00000013426..."} 
[2026-07-08 11:26:22] local.INFO: Processing buffer {"connection_id":126153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404add60012d0b130007029fc00000013426..."} 
[2026-07-08 11:26:22] local.INFO: Packet analysis {"connection_id":126153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404a"} 
[2026-07-08 11:26:22] local.INFO: Extracted packet for processing {"connection_id":126153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404a"} 
[2026-07-08 11:26:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573382400001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783490076000,"timestamp_ms":1783490076000,"timestamp_seconds":1783490076,"priority":1,"record_length":96,"hex_timestamp":"0000019f404add60"} 
[2026-07-08 11:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-08 11:26:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126153,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126153,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573382400001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573382400001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:26:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573382400001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":126153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450598,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:26:22] local.INFO: GPS data processed {"connection_id":126153,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:26:22] local.INFO: Acknowledgment sent {"connection_id":126153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:26:33] local.INFO: TCP Data received {"connection_id":126155,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f4049feb8012d7f980005afe3300000012628..."} 
[2026-07-08 11:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4049feb8012d7f980005afe3300000012628..."} 
[2026-07-08 11:26:33] local.INFO: Processing buffer {"connection_id":126155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4049feb8012d7f980005afe3300000012628..."} 
[2026-07-08 11:26:33] local.INFO: Packet analysis {"connection_id":126155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4049"} 
[2026-07-08 11:26:33] local.INFO: Extracted packet for processing {"connection_id":126155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4049"} 
[2026-07-08 11:26:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573367808001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783490019000,"timestamp_ms":1783490019000,"timestamp_seconds":1783490019,"priority":1,"record_length":96,"hex_timestamp":"0000019f4049feb8"} 
[2026-07-08 11:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 11:26: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-07-08 11:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573367808001,"66":25473,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573367808001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:26:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:26:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573367808001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":126155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:26:33] local.INFO: GPS data processed {"connection_id":126155,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:26:33] local.INFO: Acknowledgment sent {"connection_id":126155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:26:39] local.INFO: TCP Data received {"connection_id":127412,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4049d3c0012d1824c00721b908004c014726..."} 
[2026-07-08 11:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4049d3c0012d1824c00721b908004c014726..."} 
[2026-07-08 11:26:39] local.INFO: Processing buffer {"connection_id":127412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4049d3c0012d1824c00721b908004c014726..."} 
[2026-07-08 11:26:39] local.INFO: Packet analysis {"connection_id":127412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4049"} 
[2026-07-08 11:26:39] local.INFO: Extracted packet for processing {"connection_id":127412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4049"} 
[2026-07-08 11:26:39] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650568,"longitude_deg":75.6556992,"latitude_deg":11.9650568,"altitude":76,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b908","is_valid_coordinates":true} 
[2026-07-08 11:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573436672001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711291360903168,"note":"Value kept but may cause issues"} 
[2026-07-08 11:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934932480,"note":"Value kept but may cause issues"} 
[2026-07-08 11:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783490008000,"timestamp_ms":1783490008000,"timestamp_seconds":1783490008,"priority":1,"record_length":96,"hex_timestamp":"0000019f4049d3c0"} 
[2026-07-08 11:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-08 11:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":127412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":127412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":127412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573436672001,"66":13004,"120":206,"28":31744,"24":0,"16":4711291360903168,"45":1739726492934932480},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573436672001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:26:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:26:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711291360903168,"km_value":4711291360903.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934932480,"description":"Unknown IO ID 45"} 
[2026-07-08 11:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573436672001,"power":13004,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739726492934932480}} 
[2026-07-08 11:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":127412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:26:39] local.INFO: GPS data processed {"connection_id":127412,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:26:39] local.INFO: Acknowledgment sent {"connection_id":127412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:26:45] local.INFO: TCP Data received {"connection_id":125409,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125409,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:26:45] local.INFO: Processing buffer {"connection_id":125409,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:26:45] local.INFO: IMEI packet received {"connection_id":125409,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":125409,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:26:50] local.INFO: TCP Data received {"connection_id":125409,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125409,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:26:50] local.INFO: Processing buffer {"connection_id":125409,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:26:50] local.INFO: IMEI packet received {"connection_id":125409,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":125409,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:26:52] local.INFO: TCP Data received {"connection_id":125409,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f404add60012d0b130007029fc00000013426..."} 
[2026-07-08 11:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404add60012d0b130007029fc00000013426..."} 
[2026-07-08 11:26:52] local.INFO: Processing buffer {"connection_id":125409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404add60012d0b130007029fc00000013426..."} 
[2026-07-08 11:26:52] local.INFO: Packet analysis {"connection_id":125409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404a"} 
[2026-07-08 11:26:52] local.INFO: Extracted packet for processing {"connection_id":125409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404a"} 
[2026-07-08 11:26:52] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573382400001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783490076000,"timestamp_ms":1783490076000,"timestamp_seconds":1783490076,"priority":1,"record_length":96,"hex_timestamp":"0000019f404add60"} 
[2026-07-08 11:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-08 11:26:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":125409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":125409,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":125409,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:26:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573382400001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573382400001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:26:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573382400001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":125409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450601,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:26:52] local.INFO: GPS data processed {"connection_id":125409,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:26:52] local.INFO: Acknowledgment sent {"connection_id":125409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:27:00] local.INFO: TCP Data received {"connection_id":127414,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:27:00] local.INFO: Processing buffer {"connection_id":127414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:27:00] local.INFO: IMEI packet received {"connection_id":127414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":127414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:27:01] local.INFO: TCP Data received {"connection_id":127413,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:27:01] local.INFO: Processing buffer {"connection_id":127413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:27:01] local.INFO: IMEI packet received {"connection_id":127413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":127413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:27:06] local.INFO: TCP Data received {"connection_id":127414,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:27:06] local.INFO: Processing buffer {"connection_id":127414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:27:06] local.INFO: IMEI packet received {"connection_id":127414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":127414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:27:06] local.INFO: TCP Data received {"connection_id":127413,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:27:06] local.INFO: Processing buffer {"connection_id":127413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:27:06] local.INFO: IMEI packet received {"connection_id":127413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":127413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:27:07] local.INFO: TCP Data received {"connection_id":127413,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f4049feb8012d7f980005afe3300000012628..."} 
[2026-07-08 11:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4049feb8012d7f980005afe3300000012628..."} 
[2026-07-08 11:27:07] local.INFO: Processing buffer {"connection_id":127413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4049feb8012d7f980005afe3300000012628..."} 
[2026-07-08 11:27:07] local.INFO: Packet analysis {"connection_id":127413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4049"} 
[2026-07-08 11:27:07] local.INFO: Extracted packet for processing {"connection_id":127413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4049"} 
[2026-07-08 11:27:07] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573367808001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783490019000,"timestamp_ms":1783490019000,"timestamp_seconds":1783490019,"priority":1,"record_length":96,"hex_timestamp":"0000019f4049feb8"} 
[2026-07-08 11:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 11:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:27:07] 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-07-08 11:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573367808001,"66":25473,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573367808001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:27:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:27:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573367808001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":127413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:27:07] local.INFO: GPS data processed {"connection_id":127413,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:27:07] local.INFO: Acknowledgment sent {"connection_id":127413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:27:07] local.INFO: TCP Data received {"connection_id":127414,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f404a25c8012d1824c00721b908004c014726..."} 
[2026-07-08 11:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404a25c8012d1824c00721b908004c014726..."} 
[2026-07-08 11:27:07] local.INFO: Processing buffer {"connection_id":127414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404a25c8012d1824c00721b908004c014726..."} 
[2026-07-08 11:27:07] local.INFO: Packet analysis {"connection_id":127414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404a"} 
[2026-07-08 11:27:07] local.INFO: Extracted packet for processing {"connection_id":127414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404a"} 
[2026-07-08 11:27:07] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650568,"longitude_deg":75.6556992,"latitude_deg":11.9650568,"altitude":76,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b908","is_valid_coordinates":true} 
[2026-07-08 11:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573442048001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711291360903168,"note":"Value kept but may cause issues"} 
[2026-07-08 11:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934932480,"note":"Value kept but may cause issues"} 
[2026-07-08 11:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783490029000,"timestamp_ms":1783490029000,"timestamp_seconds":1783490029,"priority":1,"record_length":96,"hex_timestamp":"0000019f404a25c8"} 
[2026-07-08 11:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-08 11:27: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-07-08 11:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573442048001,"66":12993,"120":206,"28":31744,"24":0,"16":4711291360903168,"45":1739726492934932480},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573442048001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:27:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:27:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711291360903168,"km_value":4711291360903.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934932480,"description":"Unknown IO ID 45"} 
[2026-07-08 11:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573442048001,"power":12993,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739726492934932480}} 
[2026-07-08 11:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":127414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:27:07] local.INFO: GPS data processed {"connection_id":127414,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:27:07] local.INFO: Acknowledgment sent {"connection_id":127414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:27:11] local.INFO: TCP Data received {"connection_id":127413,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f4049feb8012d7f980005afe3300000012628..."} 
[2026-07-08 11:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4049feb8012d7f980005afe3300000012628..."} 
[2026-07-08 11:27:11] local.INFO: Processing buffer {"connection_id":127413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4049feb8012d7f980005afe3300000012628..."} 
[2026-07-08 11:27:11] local.INFO: Packet analysis {"connection_id":127413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4049"} 
[2026-07-08 11:27:11] local.INFO: Extracted packet for processing {"connection_id":127413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4049"} 
[2026-07-08 11:27:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573367808001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783490019000,"timestamp_ms":1783490019000,"timestamp_seconds":1783490019,"priority":1,"record_length":96,"hex_timestamp":"0000019f4049feb8"} 
[2026-07-08 11:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":151,"data_length":795,"current_offset":136} 
[2026-07-08 11:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":127413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":127413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":127413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:27:11] 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-07-08 11:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573367808001,"66":25473,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573367808001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:27:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:27:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573367808001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":127413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:27:12] local.INFO: GPS data processed {"connection_id":127413,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:27:12] local.INFO: Acknowledgment sent {"connection_id":127413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:27:25] local.INFO: TCP Data received {"connection_id":125409,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f404add60012d0b130007029fc00000013426..."} 
[2026-07-08 11:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404add60012d0b130007029fc00000013426..."} 
[2026-07-08 11:27:25] local.INFO: Processing buffer {"connection_id":125409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404add60012d0b130007029fc00000013426..."} 
[2026-07-08 11:27:25] local.INFO: Packet analysis {"connection_id":125409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404a"} 
[2026-07-08 11:27:25] local.INFO: Extracted packet for processing {"connection_id":125409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404a"} 
[2026-07-08 11:27:25] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573382400001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:27:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783490076000,"timestamp_ms":1783490076000,"timestamp_seconds":1783490076,"priority":1,"record_length":96,"hex_timestamp":"0000019f404add60"} 
[2026-07-08 11:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:27:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-08 11:27:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":125409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":125409,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":125409,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:27:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573382400001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573382400001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:27:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573382400001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":125409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450605,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:27:25] local.INFO: GPS data processed {"connection_id":125409,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:27:25] local.INFO: Acknowledgment sent {"connection_id":125409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:27:39] local.INFO: TCP Data received {"connection_id":127414,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f404a77d0012d1824c00721b908004c014725..."} 
[2026-07-08 11:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404a77d0012d1824c00721b908004c014725..."} 
[2026-07-08 11:27:39] local.INFO: Processing buffer {"connection_id":127414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404a77d0012d1824c00721b908004c014725..."} 
[2026-07-08 11:27:39] local.INFO: Packet analysis {"connection_id":127414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404a"} 
[2026-07-08 11:27:39] local.INFO: Extracted packet for processing {"connection_id":127414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404a"} 
[2026-07-08 11:27:39] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650568,"longitude_deg":75.6556992,"latitude_deg":11.9650568,"altitude":76,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b908","is_valid_coordinates":true} 
[2026-07-08 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-07-08 11:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573447424001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711291360903168,"note":"Value kept but may cause issues"} 
[2026-07-08 11:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934932480,"note":"Value kept but may cause issues"} 
[2026-07-08 11:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783490050000,"timestamp_ms":1783490050000,"timestamp_seconds":1783490050,"priority":1,"record_length":96,"hex_timestamp":"0000019f404a77d0"} 
[2026-07-08 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-07-08 11:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-08 11:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 11:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":127414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":127414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":127414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573447424001,"66":12961,"120":206,"28":31744,"24":0,"16":4711291360903168,"45":1739726492934932480},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573447424001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:27:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:27:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711291360903168,"km_value":4711291360903.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934932480,"description":"Unknown IO ID 45"} 
[2026-07-08 11:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573447424001,"power":12961,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739726492934932480}} 
[2026-07-08 11:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":127414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:27:39] local.INFO: GPS data processed {"connection_id":127414,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:27:39] local.INFO: Acknowledgment sent {"connection_id":127414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:27:45] local.INFO: TCP Data received {"connection_id":125306,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125306,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:27:45] local.INFO: Processing buffer {"connection_id":125306,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:27:45] local.INFO: IMEI packet received {"connection_id":125306,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":125306,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:27:50] local.INFO: TCP Data received {"connection_id":125306,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125306,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:27:50] local.INFO: Processing buffer {"connection_id":125306,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:27:50] local.INFO: IMEI packet received {"connection_id":125306,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":125306,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:27:53] local.INFO: TCP Data received {"connection_id":125306,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f404add60012d0b130007029fc00000013426..."} 
[2026-07-08 11:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404add60012d0b130007029fc00000013426..."} 
[2026-07-08 11:27:53] local.INFO: Processing buffer {"connection_id":125306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404add60012d0b130007029fc00000013426..."} 
[2026-07-08 11:27:53] local.INFO: Packet analysis {"connection_id":125306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404a"} 
[2026-07-08 11:27:53] local.INFO: Extracted packet for processing {"connection_id":125306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404a"} 
[2026-07-08 11:27:53] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573382400001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783490076000,"timestamp_ms":1783490076000,"timestamp_seconds":1783490076,"priority":1,"record_length":96,"hex_timestamp":"0000019f404add60"} 
[2026-07-08 11:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:27:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-08 11:27:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125306,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125306,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573382400001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573382400001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:27:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573382400001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":125306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450607,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:27:53] local.INFO: GPS data processed {"connection_id":125306,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:27:53] local.INFO: Acknowledgment sent {"connection_id":125306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:27:56] local.INFO: TCP Data received {"connection_id":125307,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:27:56] local.INFO: Processing buffer {"connection_id":125307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:27:56] local.INFO: IMEI packet received {"connection_id":125307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":125307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:28:01] local.INFO: TCP Data received {"connection_id":125307,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:28:01] local.INFO: Processing buffer {"connection_id":125307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:28:01] local.INFO: IMEI packet received {"connection_id":125307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":125307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:28:02] local.INFO: TCP Data received {"connection_id":125307,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4049feb8012d7f980005afe3300000012628..."} 
[2026-07-08 11:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4049feb8012d7f980005afe3300000012628..."} 
[2026-07-08 11:28:02] local.INFO: Processing buffer {"connection_id":125307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4049feb8012d7f980005afe3300000012628..."} 
[2026-07-08 11:28:02] local.INFO: Packet analysis {"connection_id":125307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4049"} 
[2026-07-08 11:28:02] local.INFO: Extracted packet for processing {"connection_id":125307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4049"} 
[2026-07-08 11:28:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573367808001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783490019000,"timestamp_ms":1783490019000,"timestamp_seconds":1783490019,"priority":1,"record_length":96,"hex_timestamp":"0000019f4049feb8"} 
[2026-07-08 11:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 11:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573367808001,"66":25473,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573367808001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:28:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:28:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573367808001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":125307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:28:02] local.INFO: GPS data processed {"connection_id":125307,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:28:02] local.INFO: Acknowledgment sent {"connection_id":125307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:28:06] local.INFO: TCP Data received {"connection_id":127416,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:28:06] local.INFO: Processing buffer {"connection_id":127416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:28:06] local.INFO: IMEI packet received {"connection_id":127416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":127416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:28:11] local.INFO: TCP Data received {"connection_id":127416,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:28:11] local.INFO: Processing buffer {"connection_id":127416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:28:11] local.INFO: IMEI packet received {"connection_id":127416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":127416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:28:12] local.INFO: TCP Data received {"connection_id":127416,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f404ac5f0012d1824c00721b908004c014727..."} 
[2026-07-08 11:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404ac5f0012d1824c00721b908004c014727..."} 
[2026-07-08 11:28:12] local.INFO: Processing buffer {"connection_id":127416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404ac5f0012d1824c00721b908004c014727..."} 
[2026-07-08 11:28:12] local.INFO: Packet analysis {"connection_id":127416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404a"} 
[2026-07-08 11:28:12] local.INFO: Extracted packet for processing {"connection_id":127416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404a"} 
[2026-07-08 11:28:12] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650568,"longitude_deg":75.6556992,"latitude_deg":11.9650568,"altitude":76,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b908","is_valid_coordinates":true} 
[2026-07-08 11:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573452800001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711291360903168,"note":"Value kept but may cause issues"} 
[2026-07-08 11:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934932480,"note":"Value kept but may cause issues"} 
[2026-07-08 11:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783490070000,"timestamp_ms":1783490070000,"timestamp_seconds":1783490070,"priority":1,"record_length":96,"hex_timestamp":"0000019f404ac5f0"} 
[2026-07-08 11:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11: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-07-08 11: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-08 11:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":127416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":127416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":127416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573452800001,"66":12841,"120":206,"28":31744,"24":0,"16":4711291360903168,"45":1739726492934932480},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573452800001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:28:12] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:28:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711291360903168,"km_value":4711291360903.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934932480,"description":"Unknown IO ID 45"} 
[2026-07-08 11:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573452800001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739726492934932480}} 
[2026-07-08 11:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":127416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:28:12] local.INFO: GPS data processed {"connection_id":127416,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:28:12] local.INFO: Acknowledgment sent {"connection_id":127416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:28:16] local.INFO: TCP Data received {"connection_id":127416,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f404b17f8012d1824c00721b908004c014726..."} 
[2026-07-08 11:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404b17f8012d1824c00721b908004c014726..."} 
[2026-07-08 11:28:16] local.INFO: Processing buffer {"connection_id":127416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404b17f8012d1824c00721b908004c014726..."} 
[2026-07-08 11:28:16] local.INFO: Packet analysis {"connection_id":127416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404b"} 
[2026-07-08 11:28:16] local.INFO: Extracted packet for processing {"connection_id":127416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404b"} 
[2026-07-08 11:28:16] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650568,"longitude_deg":75.6556992,"latitude_deg":11.9650568,"altitude":76,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b908","is_valid_coordinates":true} 
[2026-07-08 11:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573457920001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711291360903168,"note":"Value kept but may cause issues"} 
[2026-07-08 11:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934932480,"note":"Value kept but may cause issues"} 
[2026-07-08 11:28:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783490091000,"timestamp_ms":1783490091000,"timestamp_seconds":1783490091,"priority":1,"record_length":96,"hex_timestamp":"0000019f404b17f8"} 
[2026-07-08 11:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:28:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-08 11:28:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:28:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":127416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":127416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":127416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573457920001,"66":12798,"120":206,"28":31744,"24":0,"16":4711291360903168,"45":1739726492934932480},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573457920001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:28:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:28:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711291360903168,"km_value":4711291360903.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934932480,"description":"Unknown IO ID 45"} 
[2026-07-08 11:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573457920001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739726492934932480}} 
[2026-07-08 11:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":127416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:28:16] local.INFO: GPS data processed {"connection_id":127416,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:28:16] local.INFO: Acknowledgment sent {"connection_id":127416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:28:17] local.INFO: TCP Data received {"connection_id":127415,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127415,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:28:17] local.INFO: Processing buffer {"connection_id":127415,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:28:17] local.INFO: IMEI packet received {"connection_id":127415,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 11:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":127415,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:28:25] local.INFO: TCP Data received {"connection_id":125306,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f404add60012d0b130007029fc00000013426..."} 
[2026-07-08 11:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404add60012d0b130007029fc00000013426..."} 
[2026-07-08 11:28:25] local.INFO: Processing buffer {"connection_id":125306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404add60012d0b130007029fc00000013426..."} 
[2026-07-08 11:28:25] local.INFO: Packet analysis {"connection_id":125306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404a"} 
[2026-07-08 11:28:25] local.INFO: Extracted packet for processing {"connection_id":125306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404a"} 
[2026-07-08 11:28:25] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 11:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573382400001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783490076000,"timestamp_ms":1783490076000,"timestamp_seconds":1783490076,"priority":1,"record_length":96,"hex_timestamp":"0000019f404add60"} 
[2026-07-08 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-07-08 11:28:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-08 11:28:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 11:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":125306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":125306,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":125306,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:28:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573382400001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573382400001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:28:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573382400001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":125306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450611,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:28:25] local.INFO: GPS data processed {"connection_id":125306,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:28:25] local.INFO: Acknowledgment sent {"connection_id":125306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:28:33] local.INFO: TCP Data received {"connection_id":125307,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4049feb8012d7f980005afe3300000012628..."} 
[2026-07-08 11:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4049feb8012d7f980005afe3300000012628..."} 
[2026-07-08 11:28:33] local.INFO: Processing buffer {"connection_id":125307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4049feb8012d7f980005afe3300000012628..."} 
[2026-07-08 11:28:33] local.INFO: Packet analysis {"connection_id":125307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4049"} 
[2026-07-08 11:28:33] local.INFO: Extracted packet for processing {"connection_id":125307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4049"} 
[2026-07-08 11:28:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573367808001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783490019000,"timestamp_ms":1783490019000,"timestamp_seconds":1783490019,"priority":1,"record_length":96,"hex_timestamp":"0000019f4049feb8"} 
[2026-07-08 11:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 11:28: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-07-08 11:28:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573367808001,"66":25473,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573367808001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:28:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:28:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573367808001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":125307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:28:33] local.INFO: GPS data processed {"connection_id":125307,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:28:33] local.INFO: Acknowledgment sent {"connection_id":125307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:28:45] local.INFO: TCP Data received {"connection_id":127417,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127417,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:28:45] local.INFO: Processing buffer {"connection_id":127417,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:28:45] local.INFO: IMEI packet received {"connection_id":127417,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":127417,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:28:50] local.INFO: TCP Data received {"connection_id":127417,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127417,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:28:50] local.INFO: Processing buffer {"connection_id":127417,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:28:50] local.INFO: IMEI packet received {"connection_id":127417,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":127417,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:28:51] local.INFO: TCP Data received {"connection_id":127417,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f404add60012d0b130007029fc00000013426..."} 
[2026-07-08 11:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404add60012d0b130007029fc00000013426..."} 
[2026-07-08 11:28:51] local.INFO: Processing buffer {"connection_id":127417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404add60012d0b130007029fc00000013426..."} 
[2026-07-08 11:28:51] local.INFO: Packet analysis {"connection_id":127417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404a"} 
[2026-07-08 11:28:51] local.INFO: Extracted packet for processing {"connection_id":127417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404a"} 
[2026-07-08 11:28:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573382400001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783490076000,"timestamp_ms":1783490076000,"timestamp_seconds":1783490076,"priority":1,"record_length":96,"hex_timestamp":"0000019f404add60"} 
[2026-07-08 11:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-08 11:28: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-07-08 11:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127417,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127417,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573382400001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573382400001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:28:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573382400001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":127417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450613,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:28:51] local.INFO: GPS data processed {"connection_id":127417,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:28:51] local.INFO: Acknowledgment sent {"connection_id":127417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:28:56] local.INFO: TCP Data received {"connection_id":127418,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:28:56] local.INFO: Processing buffer {"connection_id":127418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:28:56] local.INFO: IMEI packet received {"connection_id":127418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":127418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:28:57] local.INFO: TCP Data received {"connection_id":125411,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125411,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:28:57] local.INFO: Processing buffer {"connection_id":125411,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:28:57] local.INFO: IMEI packet received {"connection_id":125411,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 11:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":125411,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:28:59] local.INFO: TCP Data received {"connection_id":125308,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:28:59] local.INFO: Processing buffer {"connection_id":125308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:28:59] local.INFO: IMEI packet received {"connection_id":125308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":125308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:29:00] local.INFO: TCP Data received {"connection_id":125308,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:29:00] local.INFO: Processing buffer {"connection_id":125308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:29:00] local.INFO: IMEI packet received {"connection_id":125308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":125308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:29:01] local.INFO: TCP Data received {"connection_id":127418,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:29:01] local.INFO: Processing buffer {"connection_id":127418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:29:01] local.INFO: IMEI packet received {"connection_id":127418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":127418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:29:02] local.INFO: TCP Data received {"connection_id":127418,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4049feb8012d7f980005afe3300000012628..."} 
[2026-07-08 11:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4049feb8012d7f980005afe3300000012628..."} 
[2026-07-08 11:29:02] local.INFO: Processing buffer {"connection_id":127418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4049feb8012d7f980005afe3300000012628..."} 
[2026-07-08 11:29:02] local.INFO: Packet analysis {"connection_id":127418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4049"} 
[2026-07-08 11:29:02] local.INFO: Extracted packet for processing {"connection_id":127418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4049"} 
[2026-07-08 11:29:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573367808001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783490019000,"timestamp_ms":1783490019000,"timestamp_seconds":1783490019,"priority":1,"record_length":96,"hex_timestamp":"0000019f4049feb8"} 
[2026-07-08 11:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:29:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 11:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573367808001,"66":25473,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573367808001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:29:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:29:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573367808001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":127418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:29:02] local.INFO: GPS data processed {"connection_id":127418,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:29:02] local.INFO: Acknowledgment sent {"connection_id":127418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:29:06] local.INFO: TCP Data received {"connection_id":125308,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:29:06] local.INFO: Processing buffer {"connection_id":125308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:29:06] local.INFO: IMEI packet received {"connection_id":125308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":125308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:29:08] local.INFO: TCP Data received {"connection_id":125308,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f404b6a00012d1824c00721b908004c014727..."} 
[2026-07-08 11:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404b6a00012d1824c00721b908004c014727..."} 
[2026-07-08 11:29:08] local.INFO: Processing buffer {"connection_id":125308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404b6a00012d1824c00721b908004c014727..."} 
[2026-07-08 11:29:08] local.INFO: Packet analysis {"connection_id":125308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404b"} 
[2026-07-08 11:29:08] local.INFO: Extracted packet for processing {"connection_id":125308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404b"} 
[2026-07-08 11:29:08] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650568,"longitude_deg":75.6556992,"latitude_deg":11.9650568,"altitude":76,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b908","is_valid_coordinates":true} 
[2026-07-08 11:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573463296001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711291360903168,"note":"Value kept but may cause issues"} 
[2026-07-08 11:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934932480,"note":"Value kept but may cause issues"} 
[2026-07-08 11:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783490112000,"timestamp_ms":1783490112000,"timestamp_seconds":1783490112,"priority":1,"record_length":96,"hex_timestamp":"0000019f404b6a00"} 
[2026-07-08 11:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-08 11:29: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-07-08 11:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573463296001,"66":12776,"120":206,"28":31744,"24":0,"16":4711291360903168,"45":1739726492934932480},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573463296001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:29:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:29:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711291360903168,"km_value":4711291360903.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934932480,"description":"Unknown IO ID 45"} 
[2026-07-08 11:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573463296001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739726492934932480}} 
[2026-07-08 11:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":125308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:29:08] local.INFO: GPS data processed {"connection_id":125308,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:29:08] local.INFO: Acknowledgment sent {"connection_id":125308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:29:22] local.INFO: TCP Data received {"connection_id":127417,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f404add60012d0b130007029fc00000013426..."} 
[2026-07-08 11:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404add60012d0b130007029fc00000013426..."} 
[2026-07-08 11:29:22] local.INFO: Processing buffer {"connection_id":127417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404add60012d0b130007029fc00000013426..."} 
[2026-07-08 11:29:22] local.INFO: Packet analysis {"connection_id":127417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404a"} 
[2026-07-08 11:29:22] local.INFO: Extracted packet for processing {"connection_id":127417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404a"} 
[2026-07-08 11:29:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 11:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573382400001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783490076000,"timestamp_ms":1783490076000,"timestamp_seconds":1783490076,"priority":1,"record_length":96,"hex_timestamp":"0000019f404add60"} 
[2026-07-08 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-07-08 11:29:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-08 11:29:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 11:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":127417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":127417,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":127417,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573382400001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573382400001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:29:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573382400001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":127417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450616,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:29:22] local.INFO: GPS data processed {"connection_id":127417,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:29:22] local.INFO: Acknowledgment sent {"connection_id":127417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:29:33] local.INFO: TCP Data received {"connection_id":127418,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f404e9680012d7f980005afe3300000012628..."} 
[2026-07-08 11:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404e9680012d7f980005afe3300000012628..."} 
[2026-07-08 11:29:33] local.INFO: Processing buffer {"connection_id":127418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404e9680012d7f980005afe3300000012628..."} 
[2026-07-08 11:29:33] local.INFO: Packet analysis {"connection_id":127418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404e"} 
[2026-07-08 11:29:33] local.INFO: Extracted packet for processing {"connection_id":127418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404e"} 
[2026-07-08 11:29:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573444864001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783490320000,"timestamp_ms":1783490320000,"timestamp_seconds":1783490320,"priority":1,"record_length":96,"hex_timestamp":"0000019f404e9680"} 
[2026-07-08 11:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 11:29: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-07-08 11: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-07-08 11:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573444864001,"66":25473,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573444864001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:29:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:29:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573444864001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":127418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:29:33] local.INFO: GPS data processed {"connection_id":127418,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:29:33] local.INFO: Acknowledgment sent {"connection_id":127418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:29:39] local.INFO: TCP Data received {"connection_id":125308,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f404bbc08012d1824c00721b908004c014726..."} 
[2026-07-08 11:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404bbc08012d1824c00721b908004c014726..."} 
[2026-07-08 11:29:39] local.INFO: Processing buffer {"connection_id":125308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404bbc08012d1824c00721b908004c014726..."} 
[2026-07-08 11:29:39] local.INFO: Packet analysis {"connection_id":125308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404b"} 
[2026-07-08 11:29:39] local.INFO: Extracted packet for processing {"connection_id":125308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404b"} 
[2026-07-08 11:29:39] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650568,"longitude_deg":75.6556992,"latitude_deg":11.9650568,"altitude":76,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b908","is_valid_coordinates":true} 
[2026-07-08 11:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573468672001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711291360903168,"note":"Value kept but may cause issues"} 
[2026-07-08 11:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934932480,"note":"Value kept but may cause issues"} 
[2026-07-08 11:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783490133000,"timestamp_ms":1783490133000,"timestamp_seconds":1783490133,"priority":1,"record_length":96,"hex_timestamp":"0000019f404bbc08"} 
[2026-07-08 11:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-08 11:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573468672001,"66":12711,"120":206,"28":31744,"24":0,"16":4711291360903168,"45":1739726492934932480},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573468672001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:29:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:29:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711291360903168,"km_value":4711291360903.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934932480,"description":"Unknown IO ID 45"} 
[2026-07-08 11:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573468672001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739726492934932480}} 
[2026-07-08 11:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":125308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:29:40] local.INFO: GPS data processed {"connection_id":125308,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:29:40] local.INFO: Acknowledgment sent {"connection_id":125308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:29:45] local.INFO: TCP Data received {"connection_id":125412,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125412,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:29:45] local.INFO: Processing buffer {"connection_id":125412,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:29:45] local.INFO: IMEI packet received {"connection_id":125412,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":125412,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:29:50] local.INFO: TCP Data received {"connection_id":125412,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125412,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:29:50] local.INFO: Processing buffer {"connection_id":125412,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:29:50] local.INFO: IMEI packet received {"connection_id":125412,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":125412,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:29:51] local.INFO: TCP Data received {"connection_id":125412,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f404f7528012d0b130007029fc00008013426..."} 
[2026-07-08 11:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404f7528012d0b130007029fc00008013426..."} 
[2026-07-08 11:29:51] local.INFO: Processing buffer {"connection_id":125412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404f7528012d0b130007029fc00008013426..."} 
[2026-07-08 11:29:51] local.INFO: Packet analysis {"connection_id":125412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404f"} 
[2026-07-08 11:29:51] local.INFO: Extracted packet for processing {"connection_id":125412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404f"} 
[2026-07-08 11:29:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":8,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573459456001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783490377000,"timestamp_ms":1783490377000,"timestamp_seconds":1783490377,"priority":1,"record_length":96,"hex_timestamp":"0000019f404f7528"} 
[2026-07-08 11:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:29: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-07-08 11:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:29:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125412,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125412,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:29:51] 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-07-08 11:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573459456001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 11:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573459456001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:29:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573459456001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":125412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450619,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:29:51] local.INFO: GPS data processed {"connection_id":125412,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:29:51] local.INFO: Acknowledgment sent {"connection_id":125412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:29:56] local.INFO: TCP Data received {"connection_id":126157,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:29:56] local.INFO: Processing buffer {"connection_id":126157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:29:56] local.INFO: IMEI packet received {"connection_id":126157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":126157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:30:01] local.INFO: TCP Data received {"connection_id":125309,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:30:01] local.INFO: Processing buffer {"connection_id":125309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:30:01] local.INFO: IMEI packet received {"connection_id":125309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":125309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:30:01] local.INFO: TCP Data received {"connection_id":126157,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:30:01] local.INFO: Processing buffer {"connection_id":126157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:30:01] local.INFO: IMEI packet received {"connection_id":126157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":126157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:30:02] local.INFO: TCP Data received {"connection_id":125309,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:30:02] local.INFO: Processing buffer {"connection_id":125309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:30:02] local.INFO: IMEI packet received {"connection_id":125309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":125309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:30:05] local.INFO: TCP Data received {"connection_id":126157,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f404e9680012d7f980005afe3300000012628..."} 
[2026-07-08 11:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404e9680012d7f980005afe3300000012628..."} 
[2026-07-08 11:30:05] local.INFO: Processing buffer {"connection_id":126157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404e9680012d7f980005afe3300000012628..."} 
[2026-07-08 11:30:05] local.INFO: Packet analysis {"connection_id":126157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404e"} 
[2026-07-08 11:30:05] local.INFO: Extracted packet for processing {"connection_id":126157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404e"} 
[2026-07-08 11:30:05] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573444864001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783490320000,"timestamp_ms":1783490320000,"timestamp_seconds":1783490320,"priority":1,"record_length":96,"hex_timestamp":"0000019f404e9680"} 
[2026-07-08 11:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":129,"data_length":795,"current_offset":136} 
[2026-07-08 11:30: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-07-08 11:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573444864001,"66":25473,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573444864001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:30:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:30:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573444864001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":126157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:30:05] local.INFO: GPS data processed {"connection_id":126157,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:30:05] local.INFO: Acknowledgment sent {"connection_id":126157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:30:06] local.INFO: TCP Data received {"connection_id":125309,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:30:06] local.INFO: Processing buffer {"connection_id":125309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:30:06] local.INFO: IMEI packet received {"connection_id":125309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":125309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:30:07] local.INFO: TCP Data received {"connection_id":125309,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f404c0e10012d1824c00721b908004c014727..."} 
[2026-07-08 11:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404c0e10012d1824c00721b908004c014727..."} 
[2026-07-08 11:30:07] local.INFO: Processing buffer {"connection_id":125309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404c0e10012d1824c00721b908004c014727..."} 
[2026-07-08 11:30:07] local.INFO: Packet analysis {"connection_id":125309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404c"} 
[2026-07-08 11:30:07] local.INFO: Extracted packet for processing {"connection_id":125309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404c"} 
[2026-07-08 11:30:07] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650568,"longitude_deg":75.6556992,"latitude_deg":11.9650568,"altitude":76,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b908","is_valid_coordinates":true} 
[2026-07-08 11:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573474048001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711291360903168,"note":"Value kept but may cause issues"} 
[2026-07-08 11:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934932480,"note":"Value kept but may cause issues"} 
[2026-07-08 11:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783490154000,"timestamp_ms":1783490154000,"timestamp_seconds":1783490154,"priority":1,"record_length":96,"hex_timestamp":"0000019f404c0e10"} 
[2026-07-08 11:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-08 11:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573474048001,"66":12689,"120":206,"28":31744,"24":0,"16":4711291360903168,"45":1739726492934932480},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573474048001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:30:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:30:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711291360903168,"km_value":4711291360903.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934932480,"description":"Unknown IO ID 45"} 
[2026-07-08 11:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573474048001,"power":12689,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739726492934932480}} 
[2026-07-08 11:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":125309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:30:07] local.INFO: GPS data processed {"connection_id":125309,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:30:07] local.INFO: Acknowledgment sent {"connection_id":125309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:30:22] local.INFO: TCP Data received {"connection_id":125412,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f404f7528012d0b130007029fc00008013426..."} 
[2026-07-08 11:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404f7528012d0b130007029fc00008013426..."} 
[2026-07-08 11:30:22] local.INFO: Processing buffer {"connection_id":125412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404f7528012d0b130007029fc00008013426..."} 
[2026-07-08 11:30:22] local.INFO: Packet analysis {"connection_id":125412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404f"} 
[2026-07-08 11:30:22] local.INFO: Extracted packet for processing {"connection_id":125412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404f"} 
[2026-07-08 11:30:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":8,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 11:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573459456001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783490377000,"timestamp_ms":1783490377000,"timestamp_seconds":1783490377,"priority":1,"record_length":96,"hex_timestamp":"0000019f404f7528"} 
[2026-07-08 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-07-08 11:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:30:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 11:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125412,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125412,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:30:22] 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-07-08 11:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573459456001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 11:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573459456001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:30:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573459456001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":125412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450622,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:30:22] local.INFO: GPS data processed {"connection_id":125412,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:30:22] local.INFO: Acknowledgment sent {"connection_id":125412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:30:39] local.INFO: TCP Data received {"connection_id":125309,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f404f55e8012d1824000721b960004b00d324..."} 
[2026-07-08 11:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404f55e8012d1824000721b960004b00d324..."} 
[2026-07-08 11:30:39] local.INFO: Processing buffer {"connection_id":125309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404f55e8012d1824000721b960004b00d324..."} 
[2026-07-08 11:30:39] local.INFO: Packet analysis {"connection_id":125309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404f"} 
[2026-07-08 11:30:39] local.INFO: Extracted packet for processing {"connection_id":125309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404f"} 
[2026-07-08 11:30:39] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650656,"longitude_deg":75.65568,"latitude_deg":11.9650656,"altitude":75,"angle":211,"satellites":36,"speed":3,"hex_longitude":"2d182400","hex_latitude":"0721b960","is_valid_coordinates":true} 
[2026-07-08 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-07-08 11:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573533184001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711304245805056,"note":"Value kept but may cause issues"} 
[2026-07-08 11:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934932480,"note":"Value kept but may cause issues"} 
[2026-07-08 11:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783490369000,"timestamp_ms":1783490369000,"timestamp_seconds":1783490369,"priority":1,"record_length":96,"hex_timestamp":"0000019f404f55e8"} 
[2026-07-08 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-07-08 11:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-08 11:30:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 11:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573533184001,"66":12722,"120":206,"28":31744,"24":3,"16":4711304245805056,"45":1739726492934932480},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573533184001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:30:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:30:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711304245805056,"km_value":4711304245805.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934932480,"description":"Unknown IO ID 45"} 
[2026-07-08 11:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573533184001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1739726492934932480}} 
[2026-07-08 11:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":125309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:30:39] local.INFO: GPS data processed {"connection_id":125309,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:30:39] local.INFO: Acknowledgment sent {"connection_id":125309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:30:45] local.INFO: TCP Data received {"connection_id":127419,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127419,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:30:45] local.INFO: Processing buffer {"connection_id":127419,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:30:45] local.INFO: IMEI packet received {"connection_id":127419,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":127419,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:30:45] local.INFO: TCP Data received {"connection_id":126157,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f404e9680012d7f980005afe3300000012628..."} 
[2026-07-08 11:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404e9680012d7f980005afe3300000012628..."} 
[2026-07-08 11:30:45] local.INFO: Processing buffer {"connection_id":126157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404e9680012d7f980005afe3300000012628..."} 
[2026-07-08 11:30:45] local.INFO: Packet analysis {"connection_id":126157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404e"} 
[2026-07-08 11:30:45] local.INFO: Extracted packet for processing {"connection_id":126157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404e"} 
[2026-07-08 11:30:45] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573444864001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783490320000,"timestamp_ms":1783490320000,"timestamp_seconds":1783490320,"priority":1,"record_length":96,"hex_timestamp":"0000019f404e9680"} 
[2026-07-08 11:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:30:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 11:30: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-07-08 11:30:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":126157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":126157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":126157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573444864001,"66":25473,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573444864001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:30:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:30:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573444864001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":126157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:30:45] local.INFO: GPS data processed {"connection_id":126157,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:30:45] local.INFO: Acknowledgment sent {"connection_id":126157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:30:50] local.INFO: TCP Data received {"connection_id":127419,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127419,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:30:50] local.INFO: Processing buffer {"connection_id":127419,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:30:50] local.INFO: IMEI packet received {"connection_id":127419,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":127419,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:30:51] local.INFO: TCP Data received {"connection_id":127419,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f404f7528012d0b130007029fc00008013426..."} 
[2026-07-08 11:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404f7528012d0b130007029fc00008013426..."} 
[2026-07-08 11:30:51] local.INFO: Processing buffer {"connection_id":127419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404f7528012d0b130007029fc00008013426..."} 
[2026-07-08 11:30:51] local.INFO: Packet analysis {"connection_id":127419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404f"} 
[2026-07-08 11:30:51] local.INFO: Extracted packet for processing {"connection_id":127419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404f"} 
[2026-07-08 11:30:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":8,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573459456001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783490377000,"timestamp_ms":1783490377000,"timestamp_seconds":1783490377,"priority":1,"record_length":96,"hex_timestamp":"0000019f404f7528"} 
[2026-07-08 11:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:30: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-07-08 11:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:30:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127419,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127419,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573459456001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573459456001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:30:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573459456001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":127419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450625,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:30:51] local.INFO: GPS data processed {"connection_id":127419,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:30:51] local.INFO: Acknowledgment sent {"connection_id":127419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:31:00] local.INFO: TCP Data received {"connection_id":127422,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:31:00] local.INFO: Processing buffer {"connection_id":127422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:31:00] local.INFO: IMEI packet received {"connection_id":127422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":127422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:31:01] local.INFO: TCP Data received {"connection_id":127421,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:31:01] local.INFO: Processing buffer {"connection_id":127421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:31:01] local.INFO: IMEI packet received {"connection_id":127421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":127421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:31:04] local.INFO: TCP Data received {"connection_id":127422,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:31:04] local.INFO: Processing buffer {"connection_id":127422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:31:04] local.INFO: IMEI packet received {"connection_id":127422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":127422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:31:05] local.INFO: TCP Data received {"connection_id":127422,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:31:05] local.INFO: Processing buffer {"connection_id":127422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:31:05] local.INFO: IMEI packet received {"connection_id":127422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":127422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:31:06] local.INFO: TCP Data received {"connection_id":127421,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:31:06] local.INFO: Processing buffer {"connection_id":127421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:31:06] local.INFO: IMEI packet received {"connection_id":127421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":127421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:31:07] local.INFO: TCP Data received {"connection_id":127421,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f404e9680012d7f980005afe3300000012628..."} 
[2026-07-08 11:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404e9680012d7f980005afe3300000012628..."} 
[2026-07-08 11:31:07] local.INFO: Processing buffer {"connection_id":127421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404e9680012d7f980005afe3300000012628..."} 
[2026-07-08 11:31:07] local.INFO: Packet analysis {"connection_id":127421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404e"} 
[2026-07-08 11:31:07] local.INFO: Extracted packet for processing {"connection_id":127421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404e"} 
[2026-07-08 11:31:07] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573444864001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783490320000,"timestamp_ms":1783490320000,"timestamp_seconds":1783490320,"priority":1,"record_length":96,"hex_timestamp":"0000019f404e9680"} 
[2026-07-08 11:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 11:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573444864001,"66":25473,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573444864001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:31:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:31:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573444864001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":127421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:31:07] local.INFO: GPS data processed {"connection_id":127421,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:31:07] local.INFO: Acknowledgment sent {"connection_id":127421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:31:07] local.INFO: TCP Data received {"connection_id":127422,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f404f5db8012d1823800721b890004b00c324..."} 
[2026-07-08 11:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404f5db8012d1823800721b890004b00c324..."} 
[2026-07-08 11:31:07] local.INFO: Processing buffer {"connection_id":127422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404f5db8012d1823800721b890004b00c324..."} 
[2026-07-08 11:31:07] local.INFO: Packet analysis {"connection_id":127422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404f"} 
[2026-07-08 11:31:07] local.INFO: Extracted packet for processing {"connection_id":127422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404f"} 
[2026-07-08 11:31:07] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650448,"longitude_deg":75.6556672,"latitude_deg":11.9650448,"altitude":75,"angle":195,"satellites":36,"speed":4,"hex_longitude":"2d182380","hex_latitude":"0721b890","is_valid_coordinates":true} 
[2026-07-08 11:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573534464001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711312835739648,"note":"Value kept but may cause issues"} 
[2026-07-08 11:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702422016,"note":"Value kept but may cause issues"} 
[2026-07-08 11:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783490371000,"timestamp_ms":1783490371000,"timestamp_seconds":1783490371,"priority":1,"record_length":96,"hex_timestamp":"0000019f404f5db8"} 
[2026-07-08 11:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-08 11:31: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-07-08 11:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573534464001,"66":12711,"120":206,"28":31744,"24":4,"16":4711312835739648,"45":1739515386702422016},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573534464001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:31:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:31:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711312835739648,"km_value":4711312835739.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702422016,"description":"Unknown IO ID 45"} 
[2026-07-08 11:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573534464001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1739515386702422016}} 
[2026-07-08 11:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":127422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:31:07] local.INFO: GPS data processed {"connection_id":127422,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:31:07] local.INFO: Acknowledgment sent {"connection_id":127422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:31:11] local.INFO: TCP Data received {"connection_id":127422,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f404f9468012d1823000721b760004b00d025..."} 
[2026-07-08 11:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404f9468012d1823000721b760004b00d025..."} 
[2026-07-08 11:31:11] local.INFO: Processing buffer {"connection_id":127422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404f9468012d1823000721b760004b00d025..."} 
[2026-07-08 11:31:11] local.INFO: Packet analysis {"connection_id":127422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404f"} 
[2026-07-08 11:31:11] local.INFO: Extracted packet for processing {"connection_id":127422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404f"} 
[2026-07-08 11:31:11] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650144,"longitude_deg":75.6556544,"latitude_deg":11.9650144,"altitude":75,"angle":208,"satellites":37,"speed":2,"hex_longitude":"2d182300","hex_latitude":"0721b760","is_valid_coordinates":true} 
[2026-07-08 11:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573534976001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711330015608832,"note":"Value kept but may cause issues"} 
[2026-07-08 11:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649214013440,"note":"Value kept but may cause issues"} 
[2026-07-08 11:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783490385000,"timestamp_ms":1783490385000,"timestamp_seconds":1783490385,"priority":1,"record_length":96,"hex_timestamp":"0000019f404f9468"} 
[2026-07-08 11:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-08 11:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":127422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":127422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":127422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573534976001,"66":12722,"120":206,"28":31744,"24":2,"16":4711330015608832,"45":1739374649214013440},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573534976001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:31:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:31:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711330015608832,"km_value":4711330015608.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649214013440,"description":"Unknown IO ID 45"} 
[2026-07-08 11:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573534976001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1739374649214013440}} 
[2026-07-08 11:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":127422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:31:11] local.INFO: GPS data processed {"connection_id":127422,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:31:11] local.INFO: Acknowledgment sent {"connection_id":127422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:31:11] local.INFO: TCP Data received {"connection_id":127421,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f404e9680012d7f980005afe3300000012628..."} 
[2026-07-08 11:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404e9680012d7f980005afe3300000012628..."} 
[2026-07-08 11:31:11] local.INFO: Processing buffer {"connection_id":127421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404e9680012d7f980005afe3300000012628..."} 
[2026-07-08 11:31:11] local.INFO: Packet analysis {"connection_id":127421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404e"} 
[2026-07-08 11:31:11] local.INFO: Extracted packet for processing {"connection_id":127421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404e"} 
[2026-07-08 11:31:11] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573444864001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783490320000,"timestamp_ms":1783490320000,"timestamp_seconds":1783490320,"priority":1,"record_length":96,"hex_timestamp":"0000019f404e9680"} 
[2026-07-08 11:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 11:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":127421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":127421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":127421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573444864001,"66":25473,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573444864001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:31:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:31:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573444864001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":127421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:31:11] local.INFO: GPS data processed {"connection_id":127421,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:31:11] local.INFO: Acknowledgment sent {"connection_id":127421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:31:22] local.INFO: TCP Data received {"connection_id":127419,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f404f7528012d0b130007029fc00008013426..."} 
[2026-07-08 11:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404f7528012d0b130007029fc00008013426..."} 
[2026-07-08 11:31:22] local.INFO: Processing buffer {"connection_id":127419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404f7528012d0b130007029fc00008013426..."} 
[2026-07-08 11:31:22] local.INFO: Packet analysis {"connection_id":127419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404f"} 
[2026-07-08 11:31:22] local.INFO: Extracted packet for processing {"connection_id":127419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404f"} 
[2026-07-08 11:31:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":8,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 11:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573459456001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783490377000,"timestamp_ms":1783490377000,"timestamp_seconds":1783490377,"priority":1,"record_length":96,"hex_timestamp":"0000019f404f7528"} 
[2026-07-08 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-07-08 11:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 11:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":127419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":127419,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":127419,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573459456001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573459456001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:31:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573459456001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":127419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450630,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:31:22] local.INFO: GPS data processed {"connection_id":127419,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:31:22] local.INFO: Acknowledgment sent {"connection_id":127419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:31:42] local.INFO: TCP Data received {"connection_id":127422,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f404fe670012d1822c00721b698004b00cb26..."} 
[2026-07-08 11:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404fe670012d1822c00721b698004b00cb26..."} 
[2026-07-08 11:31:42] local.INFO: Processing buffer {"connection_id":127422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404fe670012d1822c00721b698004b00cb26..."} 
[2026-07-08 11:31:42] local.INFO: Packet analysis {"connection_id":127422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404f"} 
[2026-07-08 11:31:42] local.INFO: Extracted packet for processing {"connection_id":127422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404f"} 
[2026-07-08 11:31:42] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649944,"longitude_deg":75.655648,"latitude_deg":11.9649944,"altitude":75,"angle":203,"satellites":38,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-07-08 11:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573538560001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711342900510720,"note":"Value kept but may cause issues"} 
[2026-07-08 11:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725580288,"note":"Value kept but may cause issues"} 
[2026-07-08 11:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783490406000,"timestamp_ms":1783490406000,"timestamp_seconds":1783490406,"priority":1,"record_length":96,"hex_timestamp":"0000019f404fe670"} 
[2026-07-08 11:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-08 11:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":127422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":127422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":127422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573538560001,"66":12667,"120":206,"28":31744,"24":0,"16":4711342900510720,"45":1739233911725580288},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573538560001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:31:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:31:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711342900510720,"km_value":4711342900510.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725580288,"description":"Unknown IO ID 45"} 
[2026-07-08 11:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573538560001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739233911725580288}} 
[2026-07-08 11:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":127422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450631,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:31:43] local.INFO: GPS data processed {"connection_id":127422,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:31:43] local.INFO: Acknowledgment sent {"connection_id":127422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:31:45] local.INFO: TCP Data received {"connection_id":125413,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125413,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:31:45] local.INFO: Processing buffer {"connection_id":125413,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:31:45] local.INFO: IMEI packet received {"connection_id":125413,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":125413,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:31:50] local.INFO: TCP Data received {"connection_id":125413,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125413,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:31:50] local.INFO: Processing buffer {"connection_id":125413,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:31:50] local.INFO: IMEI packet received {"connection_id":125413,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":125413,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:31:51] local.INFO: TCP Data received {"connection_id":125413,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f404f7528012d0b130007029fc00008013426..."} 
[2026-07-08 11:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404f7528012d0b130007029fc00008013426..."} 
[2026-07-08 11:31:51] local.INFO: Processing buffer {"connection_id":125413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404f7528012d0b130007029fc00008013426..."} 
[2026-07-08 11:31:51] local.INFO: Packet analysis {"connection_id":125413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404f"} 
[2026-07-08 11:31:51] local.INFO: Extracted packet for processing {"connection_id":125413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404f"} 
[2026-07-08 11:31:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":8,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573459456001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783490377000,"timestamp_ms":1783490377000,"timestamp_seconds":1783490377,"priority":1,"record_length":96,"hex_timestamp":"0000019f404f7528"} 
[2026-07-08 11:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:31: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-07-08 11:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:31:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125413,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125413,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573459456001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573459456001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:31:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573459456001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":125413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450632,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:31:51] local.INFO: GPS data processed {"connection_id":125413,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:31:51] local.INFO: Acknowledgment sent {"connection_id":125413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:31:56] local.INFO: TCP Data received {"connection_id":127423,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:31:56] local.INFO: Processing buffer {"connection_id":127423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:31:56] local.INFO: IMEI packet received {"connection_id":127423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":127423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:32:00] local.INFO: TCP Data received {"connection_id":125310,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:32:00] local.INFO: Processing buffer {"connection_id":125310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:32:00] local.INFO: IMEI packet received {"connection_id":125310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":125310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:32:01] local.INFO: TCP Data received {"connection_id":127423,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:32:01] local.INFO: Processing buffer {"connection_id":127423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:32:01] local.INFO: IMEI packet received {"connection_id":127423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":127423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:32:02] local.INFO: TCP Data received {"connection_id":127423,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f404e9680012d7f980005afe3300000012628..."} 
[2026-07-08 11:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404e9680012d7f980005afe3300000012628..."} 
[2026-07-08 11:32:02] local.INFO: Processing buffer {"connection_id":127423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404e9680012d7f980005afe3300000012628..."} 
[2026-07-08 11:32:02] local.INFO: Packet analysis {"connection_id":127423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404e"} 
[2026-07-08 11:32:02] local.INFO: Extracted packet for processing {"connection_id":127423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404e"} 
[2026-07-08 11:32:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573444864001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783490320000,"timestamp_ms":1783490320000,"timestamp_seconds":1783490320,"priority":1,"record_length":96,"hex_timestamp":"0000019f404e9680"} 
[2026-07-08 11:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:32:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 11:32:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573444864001,"66":25473,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573444864001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:32:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:32:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573444864001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":127423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:32:02] local.INFO: GPS data processed {"connection_id":127423,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:32:02] local.INFO: Acknowledgment sent {"connection_id":127423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:32:06] local.INFO: TCP Data received {"connection_id":125310,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:32:06] local.INFO: Processing buffer {"connection_id":125310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:32:06] local.INFO: IMEI packet received {"connection_id":125310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":125310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:32:07] local.INFO: TCP Data received {"connection_id":125310,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40503878012d1822c00721b698004b00cb25..."} 
[2026-07-08 11:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40503878012d1822c00721b698004b00cb25..."} 
[2026-07-08 11:32:07] local.INFO: Processing buffer {"connection_id":125310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40503878012d1822c00721b698004b00cb25..."} 
[2026-07-08 11:32:07] local.INFO: Packet analysis {"connection_id":125310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4050"} 
[2026-07-08 11:32:07] local.INFO: Extracted packet for processing {"connection_id":125310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4050"} 
[2026-07-08 11:32:07] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649944,"longitude_deg":75.655648,"latitude_deg":11.9649944,"altitude":75,"angle":203,"satellites":37,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-07-08 11:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573543936001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711342900510720,"note":"Value kept but may cause issues"} 
[2026-07-08 11:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981351424,"note":"Value kept but may cause issues"} 
[2026-07-08 11:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783490427000,"timestamp_ms":1783490427000,"timestamp_seconds":1783490427,"priority":1,"record_length":96,"hex_timestamp":"0000019f40503878"} 
[2026-07-08 11:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-08 11:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573543936001,"66":12602,"120":206,"28":31744,"24":0,"16":4711342900510720,"45":1739163542981351424},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573543936001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:32:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:32:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711342900510720,"km_value":4711342900510.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981351424,"description":"Unknown IO ID 45"} 
[2026-07-08 11:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573543936001,"power":12602,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981351424}} 
[2026-07-08 11:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":125310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:32:07] local.INFO: GPS data processed {"connection_id":125310,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:32:07] local.INFO: Acknowledgment sent {"connection_id":125310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:32:22] local.INFO: TCP Data received {"connection_id":125413,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f404f7528012d0b130007029fc00008013426..."} 
[2026-07-08 11:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404f7528012d0b130007029fc00008013426..."} 
[2026-07-08 11:32:22] local.INFO: Processing buffer {"connection_id":125413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404f7528012d0b130007029fc00008013426..."} 
[2026-07-08 11:32:22] local.INFO: Packet analysis {"connection_id":125413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404f"} 
[2026-07-08 11:32:22] local.INFO: Extracted packet for processing {"connection_id":125413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404f"} 
[2026-07-08 11:32:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":8,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573459456001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:32:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:32:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783490377000,"timestamp_ms":1783490377000,"timestamp_seconds":1783490377,"priority":1,"record_length":96,"hex_timestamp":"0000019f404f7528"} 
[2026-07-08 11:32:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:32:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:32:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:32:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125413,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125413,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:32:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573459456001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573459456001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:32:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:32:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573459456001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":125413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450635,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:32:22] local.INFO: GPS data processed {"connection_id":125413,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:32:22] local.INFO: Acknowledgment sent {"connection_id":125413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:32:33] local.INFO: TCP Data received {"connection_id":127423,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f404e9680012d7f980005afe3300000012628..."} 
[2026-07-08 11:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404e9680012d7f980005afe3300000012628..."} 
[2026-07-08 11:32:33] local.INFO: Processing buffer {"connection_id":127423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404e9680012d7f980005afe3300000012628..."} 
[2026-07-08 11:32:33] local.INFO: Packet analysis {"connection_id":127423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404e"} 
[2026-07-08 11:32:33] local.INFO: Extracted packet for processing {"connection_id":127423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404e"} 
[2026-07-08 11:32:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573444864001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783490320000,"timestamp_ms":1783490320000,"timestamp_seconds":1783490320,"priority":1,"record_length":96,"hex_timestamp":"0000019f404e9680"} 
[2026-07-08 11:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 11:32: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-07-08 11: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-07-08 11:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573444864001,"66":25473,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573444864001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:32:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:32:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573444864001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":127423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:32:33] local.INFO: GPS data processed {"connection_id":127423,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:32:33] local.INFO: Acknowledgment sent {"connection_id":127423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:32:39] local.INFO: TCP Data received {"connection_id":125310,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40508a80012d1822c00721b698004b00cb20..."} 
[2026-07-08 11:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40508a80012d1822c00721b698004b00cb20..."} 
[2026-07-08 11:32:39] local.INFO: Processing buffer {"connection_id":125310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40508a80012d1822c00721b698004b00cb20..."} 
[2026-07-08 11:32:39] local.INFO: Packet analysis {"connection_id":125310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4050"} 
[2026-07-08 11:32:39] local.INFO: Extracted packet for processing {"connection_id":125310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4050"} 
[2026-07-08 11:32:39] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649944,"longitude_deg":75.655648,"latitude_deg":11.9649944,"altitude":75,"angle":203,"satellites":32,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-07-08 11:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573549312001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711342900510720,"note":"Value kept but may cause issues"} 
[2026-07-08 11:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981351424,"note":"Value kept but may cause issues"} 
[2026-07-08 11:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783490448000,"timestamp_ms":1783490448000,"timestamp_seconds":1783490448,"priority":1,"record_length":96,"hex_timestamp":"0000019f40508a80"} 
[2026-07-08 11:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 11:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573549312001,"66":12667,"120":206,"28":31744,"24":0,"16":4711342900510720,"45":1739163542981351424},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573549312001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:32:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:32:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711342900510720,"km_value":4711342900510.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981351424,"description":"Unknown IO ID 45"} 
[2026-07-08 11:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573549312001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981351424}} 
[2026-07-08 11:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":125310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:32:39] local.INFO: GPS data processed {"connection_id":125310,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:32:39] local.INFO: Acknowledgment sent {"connection_id":125310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:32:45] local.INFO: TCP Data received {"connection_id":127425,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127425,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:32:45] local.INFO: Processing buffer {"connection_id":127425,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:32:45] local.INFO: IMEI packet received {"connection_id":127425,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":127425,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:32:50] local.INFO: TCP Data received {"connection_id":127425,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127425,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:32:50] local.INFO: Processing buffer {"connection_id":127425,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:32:50] local.INFO: IMEI packet received {"connection_id":127425,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":127425,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:32:53] local.INFO: TCP Data received {"connection_id":127425,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f404f7528012d0b130007029fc00008013426..."} 
[2026-07-08 11:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404f7528012d0b130007029fc00008013426..."} 
[2026-07-08 11:32:53] local.INFO: Processing buffer {"connection_id":127425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404f7528012d0b130007029fc00008013426..."} 
[2026-07-08 11:32:53] local.INFO: Packet analysis {"connection_id":127425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404f"} 
[2026-07-08 11:32:53] local.INFO: Extracted packet for processing {"connection_id":127425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404f"} 
[2026-07-08 11:32:53] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":8,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573459456001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783490377000,"timestamp_ms":1783490377000,"timestamp_seconds":1783490377,"priority":1,"record_length":96,"hex_timestamp":"0000019f404f7528"} 
[2026-07-08 11:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:32: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-07-08 11: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-07-08 11:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":127425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":127425,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":127425,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573459456001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573459456001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:32:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573459456001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":127425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450638,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:32:53] local.INFO: GPS data processed {"connection_id":127425,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:32:53] local.INFO: Acknowledgment sent {"connection_id":127425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:32:56] local.INFO: TCP Data received {"connection_id":125311,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:32:56] local.INFO: Processing buffer {"connection_id":125311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:32:56] local.INFO: IMEI packet received {"connection_id":125311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":125311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:33:01] local.INFO: TCP Data received {"connection_id":125311,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:33:01] local.INFO: Processing buffer {"connection_id":125311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:33:01] local.INFO: IMEI packet received {"connection_id":125311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":125311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:33:02] local.INFO: TCP Data received {"connection_id":125311,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f404e9680012d7f980005afe3300000012628..."} 
[2026-07-08 11:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404e9680012d7f980005afe3300000012628..."} 
[2026-07-08 11:33:02] local.INFO: Processing buffer {"connection_id":125311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404e9680012d7f980005afe3300000012628..."} 
[2026-07-08 11:33:02] local.INFO: Packet analysis {"connection_id":125311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404e"} 
[2026-07-08 11:33:02] local.INFO: Extracted packet for processing {"connection_id":125311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404e"} 
[2026-07-08 11:33:02] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573444864001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783490320000,"timestamp_ms":1783490320000,"timestamp_seconds":1783490320,"priority":1,"record_length":96,"hex_timestamp":"0000019f404e9680"} 
[2026-07-08 11:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 11:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573444864001,"66":25473,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573444864001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:33:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:33:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573444864001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":125311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:33:02] local.INFO: GPS data processed {"connection_id":125311,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:33:02] local.INFO: Acknowledgment sent {"connection_id":125311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:33:06] local.INFO: TCP Data received {"connection_id":125313,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:33:06] local.INFO: Processing buffer {"connection_id":125313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:33:06] local.INFO: IMEI packet received {"connection_id":125313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":125313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:33:10] local.INFO: TCP Data received {"connection_id":125313,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:33:10] local.INFO: Processing buffer {"connection_id":125313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:33:10] local.INFO: IMEI packet received {"connection_id":125313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":125313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:33:11] local.INFO: TCP Data received {"connection_id":125313,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4050dc88012d1822c00721b698004b00cb24..."} 
[2026-07-08 11:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4050dc88012d1822c00721b698004b00cb24..."} 
[2026-07-08 11:33:11] local.INFO: Processing buffer {"connection_id":125313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4050dc88012d1822c00721b698004b00cb24..."} 
[2026-07-08 11:33:11] local.INFO: Packet analysis {"connection_id":125313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4050"} 
[2026-07-08 11:33:11] local.INFO: Extracted packet for processing {"connection_id":125313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4050"} 
[2026-07-08 11:33:11] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649944,"longitude_deg":75.655648,"latitude_deg":11.9649944,"altitude":75,"angle":203,"satellites":36,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-07-08 11:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573554688001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711342900510720,"note":"Value kept but may cause issues"} 
[2026-07-08 11:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981351424,"note":"Value kept but may cause issues"} 
[2026-07-08 11:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783490469000,"timestamp_ms":1783490469000,"timestamp_seconds":1783490469,"priority":1,"record_length":96,"hex_timestamp":"0000019f4050dc88"} 
[2026-07-08 11:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-08 11:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573554688001,"66":12591,"120":206,"28":31744,"24":0,"16":4711342900510720,"45":1739163542981351424},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573554688001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:33:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:33:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711342900510720,"km_value":4711342900510.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981351424,"description":"Unknown IO ID 45"} 
[2026-07-08 11:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573554688001,"power":12591,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981351424}} 
[2026-07-08 11:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":125313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:33:11] local.INFO: GPS data processed {"connection_id":125313,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:33:11] local.INFO: Acknowledgment sent {"connection_id":125313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:33:12] local.INFO: TCP Data received {"connection_id":125313,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40512e90012d1822c00721b698004b00cb26..."} 
[2026-07-08 11:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40512e90012d1822c00721b698004b00cb26..."} 
[2026-07-08 11:33:12] local.INFO: Processing buffer {"connection_id":125313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40512e90012d1822c00721b698004b00cb26..."} 
[2026-07-08 11:33:12] local.INFO: Packet analysis {"connection_id":125313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4051"} 
[2026-07-08 11:33:12] local.INFO: Extracted packet for processing {"connection_id":125313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4051"} 
[2026-07-08 11:33:12] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649944,"longitude_deg":75.655648,"latitude_deg":11.9649944,"altitude":75,"angle":203,"satellites":38,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-07-08 11:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573560064001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711342900510720,"note":"Value kept but may cause issues"} 
[2026-07-08 11:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981351424,"note":"Value kept but may cause issues"} 
[2026-07-08 11:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783490490000,"timestamp_ms":1783490490000,"timestamp_seconds":1783490490,"priority":1,"record_length":96,"hex_timestamp":"0000019f40512e90"} 
[2026-07-08 11:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:33: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-07-08 11: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 11:33: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-07-08 11:33:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573560064001,"66":12591,"120":206,"28":31744,"24":0,"16":4711342900510720,"45":1739163542981351424},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573560064001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:33:12] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:33:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711342900510720,"km_value":4711342900510.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981351424,"description":"Unknown IO ID 45"} 
[2026-07-08 11:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573560064001,"power":12591,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981351424}} 
[2026-07-08 11:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":125313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:33:12] local.INFO: GPS data processed {"connection_id":125313,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:33:12] local.INFO: Acknowledgment sent {"connection_id":125313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:33:24] local.INFO: TCP Data received {"connection_id":127425,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f404f7528012d0b130007029fc00008013426..."} 
[2026-07-08 11:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404f7528012d0b130007029fc00008013426..."} 
[2026-07-08 11:33:24] local.INFO: Processing buffer {"connection_id":127425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404f7528012d0b130007029fc00008013426..."} 
[2026-07-08 11:33:24] local.INFO: Packet analysis {"connection_id":127425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404f"} 
[2026-07-08 11:33:24] local.INFO: Extracted packet for processing {"connection_id":127425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404f"} 
[2026-07-08 11:33:24] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":8,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573459456001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:33:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783490377000,"timestamp_ms":1783490377000,"timestamp_seconds":1783490377,"priority":1,"record_length":96,"hex_timestamp":"0000019f404f7528"} 
[2026-07-08 11:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:33:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:33: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-07-08 11:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":127425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":127425,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":127425,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:33:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573459456001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573459456001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:33:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573459456001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":127425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450642,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:33:24] local.INFO: GPS data processed {"connection_id":127425,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:33:24] local.INFO: Acknowledgment sent {"connection_id":127425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:33:33] local.INFO: TCP Data received {"connection_id":125311,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f404e9680012d7f980005afe3300000012628..."} 
[2026-07-08 11:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404e9680012d7f980005afe3300000012628..."} 
[2026-07-08 11:33:33] local.INFO: Processing buffer {"connection_id":125311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404e9680012d7f980005afe3300000012628..."} 
[2026-07-08 11:33:33] local.INFO: Packet analysis {"connection_id":125311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404e"} 
[2026-07-08 11:33:33] local.INFO: Extracted packet for processing {"connection_id":125311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404e"} 
[2026-07-08 11:33:33] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 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-07-08 11:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573444864001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783490320000,"timestamp_ms":1783490320000,"timestamp_seconds":1783490320,"priority":1,"record_length":96,"hex_timestamp":"0000019f404e9680"} 
[2026-07-08 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-07-08 11:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 11:33: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-07-08 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-07-08 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-07-08 11:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573444864001,"66":25473,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573444864001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:33:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:33:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573444864001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":125311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:33:33] local.INFO: GPS data processed {"connection_id":125311,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:33:33] local.INFO: Acknowledgment sent {"connection_id":125311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:33:44] local.INFO: TCP Data received {"connection_id":125313,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40518098012d1822c00721b698004b00cb25..."} 
[2026-07-08 11:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40518098012d1822c00721b698004b00cb25..."} 
[2026-07-08 11:33:44] local.INFO: Processing buffer {"connection_id":125313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40518098012d1822c00721b698004b00cb25..."} 
[2026-07-08 11:33:44] local.INFO: Packet analysis {"connection_id":125313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4051"} 
[2026-07-08 11:33:44] local.INFO: Extracted packet for processing {"connection_id":125313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4051"} 
[2026-07-08 11:33:44] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649944,"longitude_deg":75.655648,"latitude_deg":11.9649944,"altitude":75,"angle":203,"satellites":37,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-07-08 11:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573565440001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711342900510720,"note":"Value kept but may cause issues"} 
[2026-07-08 11:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981351424,"note":"Value kept but may cause issues"} 
[2026-07-08 11:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783490511000,"timestamp_ms":1783490511000,"timestamp_seconds":1783490511,"priority":1,"record_length":96,"hex_timestamp":"0000019f40518098"} 
[2026-07-08 11:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:33:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 11:33:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:33:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":125313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":125313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":125313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573565440001,"66":12526,"120":206,"28":31744,"24":0,"16":4711342900510720,"45":1739163542981351424},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573565440001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:33:44] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:33:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711342900510720,"km_value":4711342900510.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981351424,"description":"Unknown IO ID 45"} 
[2026-07-08 11:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573565440001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981351424}} 
[2026-07-08 11:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":125313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:33:44] local.INFO: GPS data processed {"connection_id":125313,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:33:44] local.INFO: Acknowledgment sent {"connection_id":125313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:33:45] local.INFO: TCP Data received {"connection_id":125414,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125414,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:33:45] local.INFO: Processing buffer {"connection_id":125414,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:33:45] local.INFO: IMEI packet received {"connection_id":125414,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":125414,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:33:50] local.INFO: TCP Data received {"connection_id":125414,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125414,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:33:50] local.INFO: Processing buffer {"connection_id":125414,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:33:50] local.INFO: IMEI packet received {"connection_id":125414,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":125414,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:33:51] local.INFO: TCP Data received {"connection_id":125414,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f404f7528012d0b130007029fc00008013426..."} 
[2026-07-08 11:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404f7528012d0b130007029fc00008013426..."} 
[2026-07-08 11:33:51] local.INFO: Processing buffer {"connection_id":125414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404f7528012d0b130007029fc00008013426..."} 
[2026-07-08 11:33:51] local.INFO: Packet analysis {"connection_id":125414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404f"} 
[2026-07-08 11:33:51] local.INFO: Extracted packet for processing {"connection_id":125414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404f"} 
[2026-07-08 11:33:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":8,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573459456001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783490377000,"timestamp_ms":1783490377000,"timestamp_seconds":1783490377,"priority":1,"record_length":96,"hex_timestamp":"0000019f404f7528"} 
[2026-07-08 11:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:33: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-07-08 11:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125414,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125414,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573459456001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573459456001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:33:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573459456001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":125414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450645,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:33:51] local.INFO: GPS data processed {"connection_id":125414,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:33:51] local.INFO: Acknowledgment sent {"connection_id":125414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:34:01] local.INFO: TCP Data received {"connection_id":126160,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:34:01] local.INFO: Processing buffer {"connection_id":126160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:34:01] local.INFO: IMEI packet received {"connection_id":126160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":126160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:34:01] local.INFO: TCP Data received {"connection_id":126159,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:34:01] local.INFO: Processing buffer {"connection_id":126159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:34:01] local.INFO: IMEI packet received {"connection_id":126159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":126159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:34:06] local.INFO: TCP Data received {"connection_id":126159,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:34:06] local.INFO: Processing buffer {"connection_id":126159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:34:06] local.INFO: IMEI packet received {"connection_id":126159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":126159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:34:06] local.INFO: TCP Data received {"connection_id":126160,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:34:06] local.INFO: Processing buffer {"connection_id":126160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:34:06] local.INFO: IMEI packet received {"connection_id":126160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":126160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:34:07] local.INFO: TCP Data received {"connection_id":126160,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f404e9680012d7f980005afe3300000012628..."} 
[2026-07-08 11:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404e9680012d7f980005afe3300000012628..."} 
[2026-07-08 11:34:07] local.INFO: Processing buffer {"connection_id":126160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404e9680012d7f980005afe3300000012628..."} 
[2026-07-08 11:34:07] local.INFO: Packet analysis {"connection_id":126160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404e"} 
[2026-07-08 11:34:07] local.INFO: Extracted packet for processing {"connection_id":126160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404e"} 
[2026-07-08 11:34:07] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95413040,"longitude_deg":76.3336704,"latitude_deg":9.541304,"altitude":0,"angle":294,"satellites":40,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afe330","is_valid_coordinates":true} 
[2026-07-08 11:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573444864001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783490320000,"timestamp_ms":1783490320000,"timestamp_seconds":1783490320,"priority":1,"record_length":96,"hex_timestamp":"0000019f404e9680"} 
[2026-07-08 11:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 11:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573444864001,"66":25473,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573444864001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:34:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:34:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573444864001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":126160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:34:07] local.INFO: GPS data processed {"connection_id":126160,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:34:07] local.INFO: Acknowledgment sent {"connection_id":126160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:34:07] local.INFO: TCP Data received {"connection_id":126159,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4051d2a0012d1822c00721b698004b00cb26..."} 
[2026-07-08 11:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4051d2a0012d1822c00721b698004b00cb26..."} 
[2026-07-08 11:34:07] local.INFO: Processing buffer {"connection_id":126159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4051d2a0012d1822c00721b698004b00cb26..."} 
[2026-07-08 11:34:07] local.INFO: Packet analysis {"connection_id":126159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4051"} 
[2026-07-08 11:34:07] local.INFO: Extracted packet for processing {"connection_id":126159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4051"} 
[2026-07-08 11:34:07] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649944,"longitude_deg":75.655648,"latitude_deg":11.9649944,"altitude":75,"angle":203,"satellites":38,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-07-08 11:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573570816001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711342900510720,"note":"Value kept but may cause issues"} 
[2026-07-08 11:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981351424,"note":"Value kept but may cause issues"} 
[2026-07-08 11:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783490532000,"timestamp_ms":1783490532000,"timestamp_seconds":1783490532,"priority":1,"record_length":96,"hex_timestamp":"0000019f4051d2a0"} 
[2026-07-08 11:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 11:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573570816001,"66":12526,"120":206,"28":31744,"24":0,"16":4711342900510720,"45":1739163542981351424},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573570816001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:34:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:34:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711342900510720,"km_value":4711342900510.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981351424,"description":"Unknown IO ID 45"} 
[2026-07-08 11:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573570816001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981351424}} 
[2026-07-08 11:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":126159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:34:07] local.INFO: GPS data processed {"connection_id":126159,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:34:07] local.INFO: Acknowledgment sent {"connection_id":126159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:34:09] local.INFO: TCP Data received {"connection_id":126158,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126158,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:34:09] local.INFO: Processing buffer {"connection_id":126158,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:34:09] local.INFO: IMEI packet received {"connection_id":126158,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 11:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":126158,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:34:24] local.INFO: TCP Data received {"connection_id":125414,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f404f7528012d0b130007029fc00008013426..."} 
[2026-07-08 11:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f404f7528012d0b130007029fc00008013426..."} 
[2026-07-08 11:34:24] local.INFO: Processing buffer {"connection_id":125414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f404f7528012d0b130007029fc00008013426..."} 
[2026-07-08 11:34:24] local.INFO: Packet analysis {"connection_id":125414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f404f"} 
[2026-07-08 11:34:24] local.INFO: Extracted packet for processing {"connection_id":125414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f404f"} 
[2026-07-08 11:34:24] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":8,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 11:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573459456001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783490377000,"timestamp_ms":1783490377000,"timestamp_seconds":1783490377,"priority":1,"record_length":96,"hex_timestamp":"0000019f404f7528"} 
[2026-07-08 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-07-08 11:34:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:34: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-07-08 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-07-08 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-07-08 11:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125414,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125414,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573459456001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573459456001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:34:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573459456001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":125414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450648,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:34:25] local.INFO: GPS data processed {"connection_id":125414,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:34:25] local.INFO: Acknowledgment sent {"connection_id":125414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:34:39] local.INFO: TCP Data received {"connection_id":126159,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f405224a8012d1822c00721b698004b00cb26..."} 
[2026-07-08 11:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405224a8012d1822c00721b698004b00cb26..."} 
[2026-07-08 11:34:39] local.INFO: Processing buffer {"connection_id":126159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405224a8012d1822c00721b698004b00cb26..."} 
[2026-07-08 11:34:39] local.INFO: Packet analysis {"connection_id":126159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4052"} 
[2026-07-08 11:34:39] local.INFO: Extracted packet for processing {"connection_id":126159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4052"} 
[2026-07-08 11:34:39] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649944,"longitude_deg":75.655648,"latitude_deg":11.9649944,"altitude":75,"angle":203,"satellites":38,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-07-08 11:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573576192001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711342900510720,"note":"Value kept but may cause issues"} 
[2026-07-08 11:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981351424,"note":"Value kept but may cause issues"} 
[2026-07-08 11:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783490553000,"timestamp_ms":1783490553000,"timestamp_seconds":1783490553,"priority":1,"record_length":96,"hex_timestamp":"0000019f405224a8"} 
[2026-07-08 11:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 11:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573576192001,"66":12504,"120":206,"28":31744,"24":0,"16":4711342900510720,"45":1739163542981351424},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573576192001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:34:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:34:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711342900510720,"km_value":4711342900510.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981351424,"description":"Unknown IO ID 45"} 
[2026-07-08 11:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573576192001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981351424}} 
[2026-07-08 11:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":126159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:34:39] local.INFO: GPS data processed {"connection_id":126159,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:34:39] local.INFO: Acknowledgment sent {"connection_id":126159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:34:39] local.INFO: TCP Data received {"connection_id":126160,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f40532e48012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40532e48012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:34:39] local.INFO: Processing buffer {"connection_id":126160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40532e48012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:34:39] local.INFO: Packet analysis {"connection_id":126160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4053"} 
[2026-07-08 11:34:39] local.INFO: Extracted packet for processing {"connection_id":126160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4053"} 
[2026-07-08 11:34:39] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":41,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573521920001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783490621000,"timestamp_ms":1783490621000,"timestamp_seconds":1783490621,"priority":1,"record_length":96,"hex_timestamp":"0000019f40532e48"} 
[2026-07-08 11:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 11:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573521920001,"66":25473,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573521920001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:34:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:34:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573521920001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":126160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:34:39] local.INFO: GPS data processed {"connection_id":126160,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:34:39] local.INFO: Acknowledgment sent {"connection_id":126160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:34:50] local.INFO: TCP Data received {"connection_id":126161,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126161,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:34:50] local.INFO: Processing buffer {"connection_id":126161,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:34:50] local.INFO: IMEI packet received {"connection_id":126161,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":126161,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:34:55] local.INFO: TCP Data received {"connection_id":126161,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126161,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:34:55] local.INFO: Processing buffer {"connection_id":126161,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:34:55] local.INFO: IMEI packet received {"connection_id":126161,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":126161,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:34:56] local.INFO: TCP Data received {"connection_id":126162,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:34:56] local.INFO: Processing buffer {"connection_id":126162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:34:56] local.INFO: IMEI packet received {"connection_id":126162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":126162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:34:56] local.INFO: TCP Data received {"connection_id":126161,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f40540cf0012d0b130007029fc00000013424..."} 
[2026-07-08 11:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40540cf0012d0b130007029fc00000013424..."} 
[2026-07-08 11:34:56] local.INFO: Processing buffer {"connection_id":126161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40540cf0012d0b130007029fc00000013424..."} 
[2026-07-08 11:34:56] local.INFO: Packet analysis {"connection_id":126161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4054"} 
[2026-07-08 11:34:56] local.INFO: Extracted packet for processing {"connection_id":126161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4054"} 
[2026-07-08 11:34:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 11:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573536512001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783490678000,"timestamp_ms":1783490678000,"timestamp_seconds":1783490678,"priority":1,"record_length":96,"hex_timestamp":"0000019f40540cf0"} 
[2026-07-08 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-07-08 11:34:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:34:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 11:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":126161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":126161,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":126161,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573536512001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573536512001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:34:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573536512001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":126161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450651,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:34:56] local.INFO: GPS data processed {"connection_id":126161,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:34:56] local.INFO: Acknowledgment sent {"connection_id":126161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:35:00] local.INFO: TCP Data received {"connection_id":126161,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f40540cf0012d0b130007029fc00000013424..."} 
[2026-07-08 11:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40540cf0012d0b130007029fc00000013424..."} 
[2026-07-08 11:35:00] local.INFO: Processing buffer {"connection_id":126161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40540cf0012d0b130007029fc00000013424..."} 
[2026-07-08 11:35:00] local.INFO: Packet analysis {"connection_id":126161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4054"} 
[2026-07-08 11:35:00] local.INFO: Extracted packet for processing {"connection_id":126161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4054"} 
[2026-07-08 11:35:00] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573536512001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783490678000,"timestamp_ms":1783490678000,"timestamp_seconds":1783490678,"priority":1,"record_length":96,"hex_timestamp":"0000019f40540cf0"} 
[2026-07-08 11:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:35:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:35:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126161,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126161,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573536512001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573536512001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:35:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573536512001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":126161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450652,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:35:00] local.INFO: GPS data processed {"connection_id":126161,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:35:00] local.INFO: Acknowledgment sent {"connection_id":126161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:35:01] local.INFO: TCP Data received {"connection_id":125314,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:35:01] local.INFO: Processing buffer {"connection_id":125314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:35:01] local.INFO: IMEI packet received {"connection_id":125314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":125314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:35:01] local.INFO: TCP Data received {"connection_id":126162,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:35:01] local.INFO: Processing buffer {"connection_id":126162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:35:01] local.INFO: IMEI packet received {"connection_id":126162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":126162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:35:02] local.INFO: TCP Data received {"connection_id":126162,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f40532e48012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40532e48012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:35:02] local.INFO: Processing buffer {"connection_id":126162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40532e48012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:35:02] local.INFO: Packet analysis {"connection_id":126162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4053"} 
[2026-07-08 11:35:02] local.INFO: Extracted packet for processing {"connection_id":126162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4053"} 
[2026-07-08 11:35:02] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":41,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 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-07-08 11:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573521920001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783490621000,"timestamp_ms":1783490621000,"timestamp_seconds":1783490621,"priority":1,"record_length":96,"hex_timestamp":"0000019f40532e48"} 
[2026-07-08 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-07-08 11:35:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 11:35:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 11:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573521920001,"66":25473,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573521920001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:35:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:35:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573521920001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":126162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:35:02] local.INFO: GPS data processed {"connection_id":126162,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:35:02] local.INFO: Acknowledgment sent {"connection_id":126162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:35:06] local.INFO: TCP Data received {"connection_id":125314,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:35:06] local.INFO: Processing buffer {"connection_id":125314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:35:06] local.INFO: IMEI packet received {"connection_id":125314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":125314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:35:08] local.INFO: TCP Data received {"connection_id":125314,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f405276b0012d1822c00721b698004b00cb26..."} 
[2026-07-08 11:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405276b0012d1822c00721b698004b00cb26..."} 
[2026-07-08 11:35:08] local.INFO: Processing buffer {"connection_id":125314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405276b0012d1822c00721b698004b00cb26..."} 
[2026-07-08 11:35:08] local.INFO: Packet analysis {"connection_id":125314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4052"} 
[2026-07-08 11:35:08] local.INFO: Extracted packet for processing {"connection_id":125314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4052"} 
[2026-07-08 11:35:08] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649944,"longitude_deg":75.655648,"latitude_deg":11.9649944,"altitude":75,"angle":203,"satellites":38,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-07-08 11:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573581568001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711342900510720,"note":"Value kept but may cause issues"} 
[2026-07-08 11:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981351424,"note":"Value kept but may cause issues"} 
[2026-07-08 11:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783490574000,"timestamp_ms":1783490574000,"timestamp_seconds":1783490574,"priority":1,"record_length":96,"hex_timestamp":"0000019f405276b0"} 
[2026-07-08 11:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-08 11:35:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573581568001,"66":12526,"120":206,"28":31744,"24":0,"16":4711342900510720,"45":1739163542981351424},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573581568001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:35:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:35:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711342900510720,"km_value":4711342900510.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981351424,"description":"Unknown IO ID 45"} 
[2026-07-08 11:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573581568001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981351424}} 
[2026-07-08 11:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":125314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:35:08] local.INFO: GPS data processed {"connection_id":125314,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:35:08] local.INFO: Acknowledgment sent {"connection_id":125314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:35:33] local.INFO: TCP Data received {"connection_id":126162,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f40532e48012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40532e48012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:35:33] local.INFO: Processing buffer {"connection_id":126162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40532e48012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:35:33] local.INFO: Packet analysis {"connection_id":126162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4053"} 
[2026-07-08 11:35:33] local.INFO: Extracted packet for processing {"connection_id":126162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4053"} 
[2026-07-08 11:35:33] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":41,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573521920001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783490621000,"timestamp_ms":1783490621000,"timestamp_seconds":1783490621,"priority":1,"record_length":96,"hex_timestamp":"0000019f40532e48"} 
[2026-07-08 11:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 11:35: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-07-08 11:35:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573521920001,"66":25473,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573521920001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:35:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:35:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573521920001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":126162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:35:33] local.INFO: GPS data processed {"connection_id":126162,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:35:33] local.INFO: Acknowledgment sent {"connection_id":126162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:35:39] local.INFO: TCP Data received {"connection_id":125314,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4052c8b8012d1822c00721b698004b00cb26..."} 
[2026-07-08 11:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4052c8b8012d1822c00721b698004b00cb26..."} 
[2026-07-08 11:35:39] local.INFO: Processing buffer {"connection_id":125314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4052c8b8012d1822c00721b698004b00cb26..."} 
[2026-07-08 11:35:39] local.INFO: Packet analysis {"connection_id":125314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4052"} 
[2026-07-08 11:35:39] local.INFO: Extracted packet for processing {"connection_id":125314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4052"} 
[2026-07-08 11:35:39] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649944,"longitude_deg":75.655648,"latitude_deg":11.9649944,"altitude":75,"angle":203,"satellites":38,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-07-08 11:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573586944001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711342900510720,"note":"Value kept but may cause issues"} 
[2026-07-08 11:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981351424,"note":"Value kept but may cause issues"} 
[2026-07-08 11:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783490595000,"timestamp_ms":1783490595000,"timestamp_seconds":1783490595,"priority":1,"record_length":96,"hex_timestamp":"0000019f4052c8b8"} 
[2026-07-08 11:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 11:35:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:35:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573586944001,"66":12515,"120":206,"28":31744,"24":0,"16":4711342900510720,"45":1739163542981351424},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573586944001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:35:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:35:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711342900510720,"km_value":4711342900510.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981351424,"description":"Unknown IO ID 45"} 
[2026-07-08 11:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573586944001,"power":12515,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981351424}} 
[2026-07-08 11:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":125314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:35:39] local.INFO: GPS data processed {"connection_id":125314,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:35:39] local.INFO: Acknowledgment sent {"connection_id":125314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:35:46] local.INFO: TCP Data received {"connection_id":127427,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127427,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:35:46] local.INFO: Processing buffer {"connection_id":127427,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:35:46] local.INFO: IMEI packet received {"connection_id":127427,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":127427,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:35:50] local.INFO: TCP Data received {"connection_id":127427,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127427,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:35:50] local.INFO: Processing buffer {"connection_id":127427,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:35:50] local.INFO: IMEI packet received {"connection_id":127427,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":127427,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:35:51] local.INFO: TCP Data received {"connection_id":127427,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f40540cf0012d0b130007029fc00000013424..."} 
[2026-07-08 11:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40540cf0012d0b130007029fc00000013424..."} 
[2026-07-08 11:35:51] local.INFO: Processing buffer {"connection_id":127427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40540cf0012d0b130007029fc00000013424..."} 
[2026-07-08 11:35:51] local.INFO: Packet analysis {"connection_id":127427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4054"} 
[2026-07-08 11:35:51] local.INFO: Extracted packet for processing {"connection_id":127427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4054"} 
[2026-07-08 11:35:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573536512001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783490678000,"timestamp_ms":1783490678000,"timestamp_seconds":1783490678,"priority":1,"record_length":96,"hex_timestamp":"0000019f40540cf0"} 
[2026-07-08 11:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:35: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-07-08 11:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:35:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127427,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127427,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573536512001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573536512001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:35:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573536512001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":127427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450657,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:35:51] local.INFO: GPS data processed {"connection_id":127427,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:35:51] local.INFO: Acknowledgment sent {"connection_id":127427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:35:56] local.INFO: TCP Data received {"connection_id":125315,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:35:56] local.INFO: Processing buffer {"connection_id":125315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:35:56] local.INFO: IMEI packet received {"connection_id":125315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":125315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:36:01] local.INFO: TCP Data received {"connection_id":126163,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:36:01] local.INFO: Processing buffer {"connection_id":126163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:36:01] local.INFO: IMEI packet received {"connection_id":126163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":126163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:36:01] local.INFO: TCP Data received {"connection_id":125315,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:36:01] local.INFO: Processing buffer {"connection_id":125315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:36:01] local.INFO: IMEI packet received {"connection_id":125315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":125315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:36:01] local.INFO: TCP Data received {"connection_id":125315,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f40532e48012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40532e48012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:36:01] local.INFO: Processing buffer {"connection_id":125315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40532e48012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:36:01] local.INFO: Packet analysis {"connection_id":125315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4053"} 
[2026-07-08 11:36:01] local.INFO: Extracted packet for processing {"connection_id":125315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4053"} 
[2026-07-08 11:36:01] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":41,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573521920001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:36:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783490621000,"timestamp_ms":1783490621000,"timestamp_seconds":1783490621,"priority":1,"record_length":96,"hex_timestamp":"0000019f40532e48"} 
[2026-07-08 11:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 11:36: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-07-08 11:36:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573521920001,"66":25473,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573521920001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:36:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:36:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573521920001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":125315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:36:01] local.INFO: GPS data processed {"connection_id":125315,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:36:01] local.INFO: Acknowledgment sent {"connection_id":125315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:36:06] local.INFO: TCP Data received {"connection_id":126163,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:36:06] local.INFO: Processing buffer {"connection_id":126163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:36:06] local.INFO: IMEI packet received {"connection_id":126163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":126163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:36:07] local.INFO: TCP Data received {"connection_id":126163,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40531ea8012d1822c00721b698004b00cb25..."} 
[2026-07-08 11:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40531ea8012d1822c00721b698004b00cb25..."} 
[2026-07-08 11:36:07] local.INFO: Processing buffer {"connection_id":126163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40531ea8012d1822c00721b698004b00cb25..."} 
[2026-07-08 11:36:07] local.INFO: Packet analysis {"connection_id":126163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4053"} 
[2026-07-08 11:36:07] local.INFO: Extracted packet for processing {"connection_id":126163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4053"} 
[2026-07-08 11:36:07] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649944,"longitude_deg":75.655648,"latitude_deg":11.9649944,"altitude":75,"angle":203,"satellites":37,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-07-08 11:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573592320001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711342900510720,"note":"Value kept but may cause issues"} 
[2026-07-08 11:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981351424,"note":"Value kept but may cause issues"} 
[2026-07-08 11:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783490617000,"timestamp_ms":1783490617000,"timestamp_seconds":1783490617,"priority":1,"record_length":96,"hex_timestamp":"0000019f40531ea8"} 
[2026-07-08 11:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-08 11:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573592320001,"66":12504,"120":206,"28":31744,"24":0,"16":4711342900510720,"45":1739163542981351424},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573592320001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:36:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:36:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711342900510720,"km_value":4711342900510.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981351424,"description":"Unknown IO ID 45"} 
[2026-07-08 11:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573592320001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981351424}} 
[2026-07-08 11:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":126163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:36:07] local.INFO: GPS data processed {"connection_id":126163,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:36:07] local.INFO: Acknowledgment sent {"connection_id":126163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:36:22] local.INFO: TCP Data received {"connection_id":127427,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f40540cf0012d0b130007029fc00000013424..."} 
[2026-07-08 11:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40540cf0012d0b130007029fc00000013424..."} 
[2026-07-08 11:36:22] local.INFO: Processing buffer {"connection_id":127427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40540cf0012d0b130007029fc00000013424..."} 
[2026-07-08 11:36:22] local.INFO: Packet analysis {"connection_id":127427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4054"} 
[2026-07-08 11:36:22] local.INFO: Extracted packet for processing {"connection_id":127427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4054"} 
[2026-07-08 11:36:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573536512001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783490678000,"timestamp_ms":1783490678000,"timestamp_seconds":1783490678,"priority":1,"record_length":96,"hex_timestamp":"0000019f40540cf0"} 
[2026-07-08 11:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:36:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:36:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":127427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":127427,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":127427,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573536512001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573536512001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:36:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573536512001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":127427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450660,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:36:22] local.INFO: GPS data processed {"connection_id":127427,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:36:22] local.INFO: Acknowledgment sent {"connection_id":127427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:36:32] local.INFO: TCP Data received {"connection_id":125315,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f40532e48012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40532e48012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:36:32] local.INFO: Processing buffer {"connection_id":125315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40532e48012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:36:32] local.INFO: Packet analysis {"connection_id":125315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4053"} 
[2026-07-08 11:36:32] local.INFO: Extracted packet for processing {"connection_id":125315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4053"} 
[2026-07-08 11:36:32] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":41,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573521920001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783490621000,"timestamp_ms":1783490621000,"timestamp_seconds":1783490621,"priority":1,"record_length":96,"hex_timestamp":"0000019f40532e48"} 
[2026-07-08 11:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 11:36: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-07-08 11:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573521920001,"66":25473,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573521920001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:36:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:36:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573521920001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":125315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:36:32] local.INFO: GPS data processed {"connection_id":125315,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:36:32] local.INFO: Acknowledgment sent {"connection_id":125315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:36:38] local.INFO: TCP Data received {"connection_id":126163,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f405370b0012d1822c00721b698004b00cb25..."} 
[2026-07-08 11:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405370b0012d1822c00721b698004b00cb25..."} 
[2026-07-08 11:36:38] local.INFO: Processing buffer {"connection_id":126163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405370b0012d1822c00721b698004b00cb25..."} 
[2026-07-08 11:36:38] local.INFO: Packet analysis {"connection_id":126163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4053"} 
[2026-07-08 11:36:38] local.INFO: Extracted packet for processing {"connection_id":126163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4053"} 
[2026-07-08 11:36:38] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649944,"longitude_deg":75.655648,"latitude_deg":11.9649944,"altitude":75,"angle":203,"satellites":37,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-07-08 11:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573597952001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711342900510720,"note":"Value kept but may cause issues"} 
[2026-07-08 11:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981351424,"note":"Value kept but may cause issues"} 
[2026-07-08 11:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783490638000,"timestamp_ms":1783490638000,"timestamp_seconds":1783490638,"priority":1,"record_length":96,"hex_timestamp":"0000019f405370b0"} 
[2026-07-08 11:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-08 11:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573597952001,"66":12504,"120":206,"28":31744,"24":0,"16":4711342900510720,"45":1739163542981351424},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573597952001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:36:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:36:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711342900510720,"km_value":4711342900510.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981351424,"description":"Unknown IO ID 45"} 
[2026-07-08 11:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573597952001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981351424}} 
[2026-07-08 11:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":126163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:36:38] local.INFO: GPS data processed {"connection_id":126163,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:36:38] local.INFO: Acknowledgment sent {"connection_id":126163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:36:45] local.INFO: TCP Data received {"connection_id":127429,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127429,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:36:45] local.INFO: Processing buffer {"connection_id":127429,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:36:45] local.INFO: IMEI packet received {"connection_id":127429,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":127429,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:36:50] local.INFO: TCP Data received {"connection_id":127429,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127429,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:36:50] local.INFO: Processing buffer {"connection_id":127429,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:36:50] local.INFO: IMEI packet received {"connection_id":127429,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":127429,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:36:52] local.INFO: TCP Data received {"connection_id":127429,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40540cf0012d0b130007029fc00000013424..."} 
[2026-07-08 11:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40540cf0012d0b130007029fc00000013424..."} 
[2026-07-08 11:36:52] local.INFO: Processing buffer {"connection_id":127429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40540cf0012d0b130007029fc00000013424..."} 
[2026-07-08 11:36:52] local.INFO: Packet analysis {"connection_id":127429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4054"} 
[2026-07-08 11:36:52] local.INFO: Extracted packet for processing {"connection_id":127429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4054"} 
[2026-07-08 11:36:52] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573536512001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783490678000,"timestamp_ms":1783490678000,"timestamp_seconds":1783490678,"priority":1,"record_length":96,"hex_timestamp":"0000019f40540cf0"} 
[2026-07-08 11:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:36:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:36:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:36:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":127429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":127429,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":127429,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:36:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573536512001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573536512001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:36:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573536512001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":127429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450663,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:36:52] local.INFO: GPS data processed {"connection_id":127429,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:36:52] local.INFO: Acknowledgment sent {"connection_id":127429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:37:01] local.INFO: TCP Data received {"connection_id":125318,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:37:01] local.INFO: Processing buffer {"connection_id":125318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:37:01] local.INFO: IMEI packet received {"connection_id":125318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":125318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:37:01] local.INFO: TCP Data received {"connection_id":125318,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:37:01] local.INFO: Processing buffer {"connection_id":125318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:37:01] local.INFO: IMEI packet received {"connection_id":125318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":125318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:37:01] local.INFO: TCP Data received {"connection_id":125317,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:37:01] local.INFO: Processing buffer {"connection_id":125317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:37:01] local.INFO: IMEI packet received {"connection_id":125317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":125317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:37:06] local.INFO: TCP Data received {"connection_id":125318,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:37:06] local.INFO: Processing buffer {"connection_id":125318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:37:06] local.INFO: IMEI packet received {"connection_id":125318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":125318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:37:06] local.INFO: TCP Data received {"connection_id":125317,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:37:06] local.INFO: Processing buffer {"connection_id":125317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:37:06] local.INFO: IMEI packet received {"connection_id":125317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":125317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:37:07] local.INFO: TCP Data received {"connection_id":125317,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f40532e48012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40532e48012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:37:07] local.INFO: Processing buffer {"connection_id":125317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40532e48012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:37:07] local.INFO: Packet analysis {"connection_id":125317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4053"} 
[2026-07-08 11:37:07] local.INFO: Extracted packet for processing {"connection_id":125317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4053"} 
[2026-07-08 11:37:07] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":41,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573521920001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783490621000,"timestamp_ms":1783490621000,"timestamp_seconds":1783490621,"priority":1,"record_length":96,"hex_timestamp":"0000019f40532e48"} 
[2026-07-08 11:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 11:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573521920001,"66":25473,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573521920001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:37:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:37:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573521920001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":125317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:37:07] local.INFO: GPS data processed {"connection_id":125317,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:37:07] local.INFO: Acknowledgment sent {"connection_id":125317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:37:07] local.INFO: TCP Data received {"connection_id":125318,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4053c2b8012d1822c00721b698004b00cb25..."} 
[2026-07-08 11:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4053c2b8012d1822c00721b698004b00cb25..."} 
[2026-07-08 11:37:07] local.INFO: Processing buffer {"connection_id":125318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4053c2b8012d1822c00721b698004b00cb25..."} 
[2026-07-08 11:37:07] local.INFO: Packet analysis {"connection_id":125318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4053"} 
[2026-07-08 11:37:07] local.INFO: Extracted packet for processing {"connection_id":125318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4053"} 
[2026-07-08 11:37:07] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649944,"longitude_deg":75.655648,"latitude_deg":11.9649944,"altitude":75,"angle":203,"satellites":37,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-07-08 11:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573603328001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711342900510720,"note":"Value kept but may cause issues"} 
[2026-07-08 11:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981351424,"note":"Value kept but may cause issues"} 
[2026-07-08 11:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783490659000,"timestamp_ms":1783490659000,"timestamp_seconds":1783490659,"priority":1,"record_length":96,"hex_timestamp":"0000019f4053c2b8"} 
[2026-07-08 11:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-08 11:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573603328001,"66":12504,"120":206,"28":31744,"24":0,"16":4711342900510720,"45":1739163542981351424},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573603328001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:37:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:37:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711342900510720,"km_value":4711342900510.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981351424,"description":"Unknown IO ID 45"} 
[2026-07-08 11:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573603328001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981351424}} 
[2026-07-08 11:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":125318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:37:07] local.INFO: GPS data processed {"connection_id":125318,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:37:07] local.INFO: Acknowledgment sent {"connection_id":125318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:37:11] local.INFO: TCP Data received {"connection_id":125317,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f40532e48012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40532e48012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:37:11] local.INFO: Processing buffer {"connection_id":125317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40532e48012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:37:11] local.INFO: Packet analysis {"connection_id":125317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4053"} 
[2026-07-08 11:37:11] local.INFO: Extracted packet for processing {"connection_id":125317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4053"} 
[2026-07-08 11:37:11] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":41,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573521920001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783490621000,"timestamp_ms":1783490621000,"timestamp_seconds":1783490621,"priority":1,"record_length":96,"hex_timestamp":"0000019f40532e48"} 
[2026-07-08 11:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 11:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573521920001,"66":25473,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573521920001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:37:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:37:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573521920001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":125317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:37:11] local.INFO: GPS data processed {"connection_id":125317,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:37:11] local.INFO: Acknowledgment sent {"connection_id":125317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:37:23] local.INFO: TCP Data received {"connection_id":127429,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40540cf0012d0b130007029fc00000013424..."} 
[2026-07-08 11:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40540cf0012d0b130007029fc00000013424..."} 
[2026-07-08 11:37:23] local.INFO: Processing buffer {"connection_id":127429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40540cf0012d0b130007029fc00000013424..."} 
[2026-07-08 11:37:23] local.INFO: Packet analysis {"connection_id":127429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4054"} 
[2026-07-08 11:37:23] local.INFO: Extracted packet for processing {"connection_id":127429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4054"} 
[2026-07-08 11:37:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573536512001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:37:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783490678000,"timestamp_ms":1783490678000,"timestamp_seconds":1783490678,"priority":1,"record_length":96,"hex_timestamp":"0000019f40540cf0"} 
[2026-07-08 11:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:37:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:37:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":127429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":127429,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":127429,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:37:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573536512001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573536512001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:37:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573536512001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":127429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450667,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:37:24] local.INFO: GPS data processed {"connection_id":127429,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:37:24] local.INFO: Acknowledgment sent {"connection_id":127429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:37:38] local.INFO: TCP Data received {"connection_id":125318,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f405414c0012d1822c00721b698004b00cb24..."} 
[2026-07-08 11:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405414c0012d1822c00721b698004b00cb24..."} 
[2026-07-08 11:37:38] local.INFO: Processing buffer {"connection_id":125318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405414c0012d1822c00721b698004b00cb24..."} 
[2026-07-08 11:37:38] local.INFO: Packet analysis {"connection_id":125318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4054"} 
[2026-07-08 11:37:38] local.INFO: Extracted packet for processing {"connection_id":125318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4054"} 
[2026-07-08 11:37:38] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649944,"longitude_deg":75.655648,"latitude_deg":11.9649944,"altitude":75,"angle":203,"satellites":36,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-07-08 11:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573608704001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711342900510720,"note":"Value kept but may cause issues"} 
[2026-07-08 11:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981351424,"note":"Value kept but may cause issues"} 
[2026-07-08 11:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783490680000,"timestamp_ms":1783490680000,"timestamp_seconds":1783490680,"priority":1,"record_length":96,"hex_timestamp":"0000019f405414c0"} 
[2026-07-08 11:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-08 11:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573608704001,"66":12504,"120":206,"28":31744,"24":0,"16":4711342900510720,"45":1739163542981351424},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573608704001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:37:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:37:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711342900510720,"km_value":4711342900510.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981351424,"description":"Unknown IO ID 45"} 
[2026-07-08 11:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573608704001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981351424}} 
[2026-07-08 11:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":125318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:37:39] local.INFO: GPS data processed {"connection_id":125318,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:37:39] local.INFO: Acknowledgment sent {"connection_id":125318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:37:45] local.INFO: TCP Data received {"connection_id":126164,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126164,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:37:45] local.INFO: Processing buffer {"connection_id":126164,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:37:45] local.INFO: IMEI packet received {"connection_id":126164,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":126164,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:37:50] local.INFO: TCP Data received {"connection_id":126164,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126164,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:37:50] local.INFO: Processing buffer {"connection_id":126164,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:37:50] local.INFO: IMEI packet received {"connection_id":126164,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":126164,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:37:51] local.INFO: TCP Data received {"connection_id":126164,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f40540cf0012d0b130007029fc00000013424..."} 
[2026-07-08 11:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40540cf0012d0b130007029fc00000013424..."} 
[2026-07-08 11:37:51] local.INFO: Processing buffer {"connection_id":126164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40540cf0012d0b130007029fc00000013424..."} 
[2026-07-08 11:37:51] local.INFO: Packet analysis {"connection_id":126164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4054"} 
[2026-07-08 11:37:51] local.INFO: Extracted packet for processing {"connection_id":126164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4054"} 
[2026-07-08 11:37:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573536512001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783490678000,"timestamp_ms":1783490678000,"timestamp_seconds":1783490678,"priority":1,"record_length":96,"hex_timestamp":"0000019f40540cf0"} 
[2026-07-08 11:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:37: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-07-08 11:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:37:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126164,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126164,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:37:51] 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-07-08 11:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573536512001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 11:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573536512001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:37:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573536512001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":126164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450669,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:37:51] local.INFO: GPS data processed {"connection_id":126164,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:37:51] local.INFO: Acknowledgment sent {"connection_id":126164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:37:56] local.INFO: TCP Data received {"connection_id":127430,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:37:56] local.INFO: Processing buffer {"connection_id":127430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:37:56] local.INFO: IMEI packet received {"connection_id":127430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":127430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:38:00] local.INFO: TCP Data received {"connection_id":126165,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:38:00] local.INFO: Processing buffer {"connection_id":126165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:38:00] local.INFO: IMEI packet received {"connection_id":126165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":126165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:38:01] local.INFO: TCP Data received {"connection_id":127430,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:38:01] local.INFO: Processing buffer {"connection_id":127430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:38:01] local.INFO: IMEI packet received {"connection_id":127430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":127430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:38:01] local.INFO: TCP Data received {"connection_id":127430,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f40532e48012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40532e48012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:38:01] local.INFO: Processing buffer {"connection_id":127430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40532e48012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:38:01] local.INFO: Packet analysis {"connection_id":127430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4053"} 
[2026-07-08 11:38:01] local.INFO: Extracted packet for processing {"connection_id":127430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4053"} 
[2026-07-08 11:38:01] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":41,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573521920001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:38:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783490621000,"timestamp_ms":1783490621000,"timestamp_seconds":1783490621,"priority":1,"record_length":96,"hex_timestamp":"0000019f40532e48"} 
[2026-07-08 11:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:38:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 11:38: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-07-08 11:38:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:38:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573521920001,"66":25473,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573521920001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:38:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:38:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573521920001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":127430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:38:01] local.INFO: GPS data processed {"connection_id":127430,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:38:01] local.INFO: Acknowledgment sent {"connection_id":127430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:38:04] local.INFO: TCP Data received {"connection_id":126165,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:38:04] local.INFO: Processing buffer {"connection_id":126165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:38:04] local.INFO: IMEI packet received {"connection_id":126165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":126165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:38:05] local.INFO: TCP Data received {"connection_id":126165,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:38:05] local.INFO: Processing buffer {"connection_id":126165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:38:05] local.INFO: IMEI packet received {"connection_id":126165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":126165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:38:06] local.INFO: TCP Data received {"connection_id":126165,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f405466c8012d1822c00721b698004b00cb24..."} 
[2026-07-08 11:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405466c8012d1822c00721b698004b00cb24..."} 
[2026-07-08 11:38:06] local.INFO: Processing buffer {"connection_id":126165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405466c8012d1822c00721b698004b00cb24..."} 
[2026-07-08 11:38:06] local.INFO: Packet analysis {"connection_id":126165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4054"} 
[2026-07-08 11:38:06] local.INFO: Extracted packet for processing {"connection_id":126165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4054"} 
[2026-07-08 11:38:06] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649944,"longitude_deg":75.655648,"latitude_deg":11.9649944,"altitude":75,"angle":203,"satellites":36,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-07-08 11:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573614080001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711342900510720,"note":"Value kept but may cause issues"} 
[2026-07-08 11:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981351424,"note":"Value kept but may cause issues"} 
[2026-07-08 11:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783490701000,"timestamp_ms":1783490701000,"timestamp_seconds":1783490701,"priority":1,"record_length":96,"hex_timestamp":"0000019f405466c8"} 
[2026-07-08 11:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-08 11:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573614080001,"66":12461,"120":206,"28":31744,"24":0,"16":4711342900510720,"45":1739163542981351424},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573614080001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:38:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:38:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711342900510720,"km_value":4711342900510.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981351424,"description":"Unknown IO ID 45"} 
[2026-07-08 11:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573614080001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981351424}} 
[2026-07-08 11:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":126165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:38:07] local.INFO: GPS data processed {"connection_id":126165,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:38:07] local.INFO: Acknowledgment sent {"connection_id":126165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:38:11] local.INFO: TCP Data received {"connection_id":126165,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4054b8d0012d1822c00721b698004b00cb26..."} 
[2026-07-08 11:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4054b8d0012d1822c00721b698004b00cb26..."} 
[2026-07-08 11:38:11] local.INFO: Processing buffer {"connection_id":126165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4054b8d0012d1822c00721b698004b00cb26..."} 
[2026-07-08 11:38:11] local.INFO: Packet analysis {"connection_id":126165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4054"} 
[2026-07-08 11:38:11] local.INFO: Extracted packet for processing {"connection_id":126165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4054"} 
[2026-07-08 11:38:11] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649944,"longitude_deg":75.655648,"latitude_deg":11.9649944,"altitude":75,"angle":203,"satellites":38,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-07-08 11:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573619456001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711342900510720,"note":"Value kept but may cause issues"} 
[2026-07-08 11:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981351424,"note":"Value kept but may cause issues"} 
[2026-07-08 11:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783490722000,"timestamp_ms":1783490722000,"timestamp_seconds":1783490722,"priority":1,"record_length":96,"hex_timestamp":"0000019f4054b8d0"} 
[2026-07-08 11:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 11:38: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-07-08 11:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573619456001,"66":12461,"120":206,"28":31744,"24":0,"16":4711342900510720,"45":1739163542981351424},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573619456001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:38:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:38:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711342900510720,"km_value":4711342900510.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981351424,"description":"Unknown IO ID 45"} 
[2026-07-08 11:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573619456001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981351424}} 
[2026-07-08 11:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":126165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:38:11] local.INFO: GPS data processed {"connection_id":126165,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:38:11] local.INFO: Acknowledgment sent {"connection_id":126165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:38:22] local.INFO: TCP Data received {"connection_id":126164,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f40540cf0012d0b130007029fc00000013424..."} 
[2026-07-08 11:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40540cf0012d0b130007029fc00000013424..."} 
[2026-07-08 11:38:22] local.INFO: Processing buffer {"connection_id":126164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40540cf0012d0b130007029fc00000013424..."} 
[2026-07-08 11:38:22] local.INFO: Packet analysis {"connection_id":126164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4054"} 
[2026-07-08 11:38:22] local.INFO: Extracted packet for processing {"connection_id":126164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4054"} 
[2026-07-08 11:38:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573536512001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783490678000,"timestamp_ms":1783490678000,"timestamp_seconds":1783490678,"priority":1,"record_length":96,"hex_timestamp":"0000019f40540cf0"} 
[2026-07-08 11:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:38:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126164,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126164,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:38:22] 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-07-08 11:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573536512001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 11:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573536512001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:38:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573536512001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":126164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450673,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:38:23] local.INFO: GPS data processed {"connection_id":126164,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:38:23] local.INFO: Acknowledgment sent {"connection_id":126164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:38:32] local.INFO: TCP Data received {"connection_id":127430,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f40532e48012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40532e48012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:38:32] local.INFO: Processing buffer {"connection_id":127430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40532e48012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:38:32] local.INFO: Packet analysis {"connection_id":127430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4053"} 
[2026-07-08 11:38:32] local.INFO: Extracted packet for processing {"connection_id":127430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4053"} 
[2026-07-08 11:38:32] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":41,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573521920001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783490621000,"timestamp_ms":1783490621000,"timestamp_seconds":1783490621,"priority":1,"record_length":96,"hex_timestamp":"0000019f40532e48"} 
[2026-07-08 11:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 11:38: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-07-08 11:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573521920001,"66":25473,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573521920001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:38:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:38:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573521920001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":127430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:38:32] local.INFO: GPS data processed {"connection_id":127430,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:38:32] local.INFO: Acknowledgment sent {"connection_id":127430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:38:43] local.INFO: TCP Data received {"connection_id":126165,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40550ec0012d1822c00721b698004b00cb25..."} 
[2026-07-08 11:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40550ec0012d1822c00721b698004b00cb25..."} 
[2026-07-08 11:38:43] local.INFO: Processing buffer {"connection_id":126165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40550ec0012d1822c00721b698004b00cb25..."} 
[2026-07-08 11:38:43] local.INFO: Packet analysis {"connection_id":126165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4055"} 
[2026-07-08 11:38:43] local.INFO: Extracted packet for processing {"connection_id":126165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4055"} 
[2026-07-08 11:38:43] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649944,"longitude_deg":75.655648,"latitude_deg":11.9649944,"altitude":75,"angle":203,"satellites":37,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-07-08 11:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573624832001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711342900510720,"note":"Value kept but may cause issues"} 
[2026-07-08 11:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981351424,"note":"Value kept but may cause issues"} 
[2026-07-08 11:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783490744000,"timestamp_ms":1783490744000,"timestamp_seconds":1783490744,"priority":1,"record_length":96,"hex_timestamp":"0000019f40550ec0"} 
[2026-07-08 11:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:38:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 11:38:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:38:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":126165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":126165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":126165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573624832001,"66":12461,"120":206,"28":31744,"24":0,"16":4711342900510720,"45":1739163542981351424},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573624832001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:38:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:38:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711342900510720,"km_value":4711342900510.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981351424,"description":"Unknown IO ID 45"} 
[2026-07-08 11:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573624832001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981351424}} 
[2026-07-08 11:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":126165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:38:43] local.INFO: GPS data processed {"connection_id":126165,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:38:43] local.INFO: Acknowledgment sent {"connection_id":126165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:38:45] local.INFO: TCP Data received {"connection_id":125416,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125416,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:38:45] local.INFO: Processing buffer {"connection_id":125416,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:38:45] local.INFO: IMEI packet received {"connection_id":125416,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":125416,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:38:50] local.INFO: TCP Data received {"connection_id":125416,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125416,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:38:50] local.INFO: Processing buffer {"connection_id":125416,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:38:50] local.INFO: IMEI packet received {"connection_id":125416,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":125416,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:38:51] local.INFO: TCP Data received {"connection_id":125416,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f40540cf0012d0b130007029fc00000013424..."} 
[2026-07-08 11:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40540cf0012d0b130007029fc00000013424..."} 
[2026-07-08 11:38:51] local.INFO: Processing buffer {"connection_id":125416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40540cf0012d0b130007029fc00000013424..."} 
[2026-07-08 11:38:51] local.INFO: Packet analysis {"connection_id":125416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4054"} 
[2026-07-08 11:38:51] local.INFO: Extracted packet for processing {"connection_id":125416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4054"} 
[2026-07-08 11:38:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573536512001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783490678000,"timestamp_ms":1783490678000,"timestamp_seconds":1783490678,"priority":1,"record_length":96,"hex_timestamp":"0000019f40540cf0"} 
[2026-07-08 11:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:38: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-07-08 11:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125416,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125416,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573536512001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573536512001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:38:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573536512001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":125416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450676,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:38:51] local.INFO: GPS data processed {"connection_id":125416,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:38:51] local.INFO: Acknowledgment sent {"connection_id":125416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:38:56] local.INFO: TCP Data received {"connection_id":125319,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:38:56] local.INFO: Processing buffer {"connection_id":125319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:38:56] local.INFO: IMEI packet received {"connection_id":125319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":125319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:39:01] local.INFO: TCP Data received {"connection_id":125319,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:39:01] local.INFO: Processing buffer {"connection_id":125319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:39:01] local.INFO: IMEI packet received {"connection_id":125319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":125319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:39:02] local.INFO: TCP Data received {"connection_id":125319,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f40532e48012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40532e48012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:39:02] local.INFO: Processing buffer {"connection_id":125319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40532e48012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:39:02] local.INFO: Packet analysis {"connection_id":125319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4053"} 
[2026-07-08 11:39:02] local.INFO: Extracted packet for processing {"connection_id":125319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4053"} 
[2026-07-08 11:39:02] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":41,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573521920001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702605824,"note":"Value kept but may cause issues"} 
[2026-07-08 11:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783490621000,"timestamp_ms":1783490621000,"timestamp_seconds":1783490621,"priority":1,"record_length":96,"hex_timestamp":"0000019f40532e48"} 
[2026-07-08 11:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 11:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573521920001,"66":25473,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194098663702605824},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573521920001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:39:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:39:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702605824,"description":"Unknown IO ID 45"} 
[2026-07-08 11:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573521920001,"power":25473,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702605824}} 
[2026-07-08 11:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":125319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:39:02] local.INFO: GPS data processed {"connection_id":125319,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:39:02] local.INFO: Acknowledgment sent {"connection_id":125319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:39:06] local.INFO: TCP Data received {"connection_id":125320,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:39:06] local.INFO: Processing buffer {"connection_id":125320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:39:06] local.INFO: IMEI packet received {"connection_id":125320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":125320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:39:11] local.INFO: TCP Data received {"connection_id":125320,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:39:11] local.INFO: Processing buffer {"connection_id":125320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:39:11] local.INFO: IMEI packet received {"connection_id":125320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":125320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:39:13] local.INFO: TCP Data received {"connection_id":125320,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f405560c8012d1822c00721b698004b00cb24..."} 
[2026-07-08 11:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405560c8012d1822c00721b698004b00cb24..."} 
[2026-07-08 11:39:13] local.INFO: Processing buffer {"connection_id":125320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405560c8012d1822c00721b698004b00cb24..."} 
[2026-07-08 11:39:13] local.INFO: Packet analysis {"connection_id":125320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4055"} 
[2026-07-08 11:39:13] local.INFO: Extracted packet for processing {"connection_id":125320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4055"} 
[2026-07-08 11:39:13] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649944,"longitude_deg":75.655648,"latitude_deg":11.9649944,"altitude":75,"angle":203,"satellites":36,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-07-08 11:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573630464001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711342900510720,"note":"Value kept but may cause issues"} 
[2026-07-08 11:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981351424,"note":"Value kept but may cause issues"} 
[2026-07-08 11:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783490765000,"timestamp_ms":1783490765000,"timestamp_seconds":1783490765,"priority":1,"record_length":96,"hex_timestamp":"0000019f405560c8"} 
[2026-07-08 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-07-08 11:39: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-07-08 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 11:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 11:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573630464001,"66":12428,"120":206,"28":31744,"24":0,"16":4711342900510720,"45":1739163542981351424},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573630464001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:39:13] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:39:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711342900510720,"km_value":4711342900510.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981351424,"description":"Unknown IO ID 45"} 
[2026-07-08 11:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573630464001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981351424}} 
[2026-07-08 11:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":125320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:39:13] local.INFO: GPS data processed {"connection_id":125320,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:39:13] local.INFO: Acknowledgment sent {"connection_id":125320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:39:17] local.INFO: TCP Data received {"connection_id":125320,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4055b6b8012d1822c00721b698004b00cb26..."} 
[2026-07-08 11:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4055b6b8012d1822c00721b698004b00cb26..."} 
[2026-07-08 11:39:17] local.INFO: Processing buffer {"connection_id":125320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4055b6b8012d1822c00721b698004b00cb26..."} 
[2026-07-08 11:39:17] local.INFO: Packet analysis {"connection_id":125320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4055"} 
[2026-07-08 11:39:17] local.INFO: Extracted packet for processing {"connection_id":125320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4055"} 
[2026-07-08 11:39:17] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649944,"longitude_deg":75.655648,"latitude_deg":11.9649944,"altitude":75,"angle":203,"satellites":38,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-07-08 11:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573635840001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711342900510720,"note":"Value kept but may cause issues"} 
[2026-07-08 11:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981351424,"note":"Value kept but may cause issues"} 
[2026-07-08 11:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783490787000,"timestamp_ms":1783490787000,"timestamp_seconds":1783490787,"priority":1,"record_length":96,"hex_timestamp":"0000019f4055b6b8"} 
[2026-07-08 11:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:39: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":140,"data_length":795,"current_offset":136} 
[2026-07-08 11:39:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:39:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":125320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":125320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":125320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573635840001,"66":12428,"120":206,"28":31744,"24":0,"16":4711342900510720,"45":1739163542981351424},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573635840001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:39:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:39:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711342900510720,"km_value":4711342900510.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981351424,"description":"Unknown IO ID 45"} 
[2026-07-08 11:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573635840001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981351424}} 
[2026-07-08 11:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":125320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:39:17] local.INFO: GPS data processed {"connection_id":125320,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:39:17] local.INFO: Acknowledgment sent {"connection_id":125320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:39:22] local.INFO: TCP Data received {"connection_id":125416,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f40540cf0012d0b130007029fc00000013424..."} 
[2026-07-08 11:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40540cf0012d0b130007029fc00000013424..."} 
[2026-07-08 11:39:22] local.INFO: Processing buffer {"connection_id":125416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40540cf0012d0b130007029fc00000013424..."} 
[2026-07-08 11:39:22] local.INFO: Packet analysis {"connection_id":125416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4054"} 
[2026-07-08 11:39:22] local.INFO: Extracted packet for processing {"connection_id":125416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4054"} 
[2026-07-08 11:39:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 11:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573536512001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783490678000,"timestamp_ms":1783490678000,"timestamp_seconds":1783490678,"priority":1,"record_length":96,"hex_timestamp":"0000019f40540cf0"} 
[2026-07-08 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-07-08 11:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:39:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 11:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125416,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125416,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573536512001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573536512001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:39:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573536512001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":125416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450680,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:39:23] local.INFO: GPS data processed {"connection_id":125416,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:39:23] local.INFO: Acknowledgment sent {"connection_id":125416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:39:33] local.INFO: TCP Data received {"connection_id":125319,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4057c610012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 11:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4057c610012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 11:39:33] local.INFO: Processing buffer {"connection_id":125319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4057c610012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 11:39:33] local.INFO: Packet analysis {"connection_id":125319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4057"} 
[2026-07-08 11:39:33] local.INFO: Extracted packet for processing {"connection_id":125319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4057"} 
[2026-07-08 11:39:33] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":42,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573598976001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783490922000,"timestamp_ms":1783490922000,"timestamp_seconds":1783490922,"priority":1,"record_length":96,"hex_timestamp":"0000019f4057c610"} 
[2026-07-08 11:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 11:39: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-07-08 11: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-07-08 11:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573598976001,"66":25462,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573598976001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:39:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:39:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573598976001,"power":25462,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 11:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":125319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:39:33] local.INFO: GPS data processed {"connection_id":125319,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:39:33] local.INFO: Acknowledgment sent {"connection_id":125319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:39:45] local.INFO: TCP Data received {"connection_id":126166,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126166,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:39:45] local.INFO: Processing buffer {"connection_id":126166,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:39:45] local.INFO: IMEI packet received {"connection_id":126166,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":126166,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:39:50] local.INFO: TCP Data received {"connection_id":126166,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126166,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:39:50] local.INFO: Processing buffer {"connection_id":126166,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:39:50] local.INFO: IMEI packet received {"connection_id":126166,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":126166,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:39:51] local.INFO: TCP Data received {"connection_id":126166,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f4058a4b8012d0b130007029fc00000013424..."} 
[2026-07-08 11:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4058a4b8012d0b130007029fc00000013424..."} 
[2026-07-08 11:39:51] local.INFO: Processing buffer {"connection_id":126166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4058a4b8012d0b130007029fc00000013424..."} 
[2026-07-08 11:39:51] local.INFO: Packet analysis {"connection_id":126166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4058"} 
[2026-07-08 11:39:51] local.INFO: Extracted packet for processing {"connection_id":126166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4058"} 
[2026-07-08 11:39:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573613568001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783490979000,"timestamp_ms":1783490979000,"timestamp_seconds":1783490979,"priority":1,"record_length":96,"hex_timestamp":"0000019f4058a4b8"} 
[2026-07-08 11:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:39: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-07-08 11:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 11:39:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126166,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126166,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573613568001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573613568001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:39:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573613568001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":126166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450682,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:39:51] local.INFO: GPS data processed {"connection_id":126166,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:39:51] local.INFO: Acknowledgment sent {"connection_id":126166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:39:56] local.INFO: TCP Data received {"connection_id":126167,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:39:56] local.INFO: Processing buffer {"connection_id":126167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:39:56] local.INFO: IMEI packet received {"connection_id":126167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":126167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:39:56] local.INFO: TCP Data received {"connection_id":125417,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125417,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:39:56] local.INFO: Processing buffer {"connection_id":125417,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:39:56] local.INFO: IMEI packet received {"connection_id":125417,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 11:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":125417,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:40:00] local.INFO: TCP Data received {"connection_id":126168,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:40:00] local.INFO: Processing buffer {"connection_id":126168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:40:00] local.INFO: IMEI packet received {"connection_id":126168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":126168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:40:00] local.INFO: TCP Data received {"connection_id":126168,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:40:00] local.INFO: Processing buffer {"connection_id":126168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:40:00] local.INFO: IMEI packet received {"connection_id":126168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":126168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:40:01] local.INFO: TCP Data received {"connection_id":126167,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:40:01] local.INFO: Processing buffer {"connection_id":126167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:40:01] local.INFO: IMEI packet received {"connection_id":126167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":126167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:40:01] local.INFO: TCP Data received {"connection_id":126167,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4057c610012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 11:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4057c610012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 11:40:01] local.INFO: Processing buffer {"connection_id":126167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4057c610012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 11:40:01] local.INFO: Packet analysis {"connection_id":126167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4057"} 
[2026-07-08 11:40:01] local.INFO: Extracted packet for processing {"connection_id":126167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4057"} 
[2026-07-08 11:40:01] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":42,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573598976001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:40:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783490922000,"timestamp_ms":1783490922000,"timestamp_seconds":1783490922,"priority":1,"record_length":96,"hex_timestamp":"0000019f4057c610"} 
[2026-07-08 11:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:40:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 11:40: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-07-08 11:40:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573598976001,"66":25462,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573598976001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:40:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:40:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573598976001,"power":25462,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 11:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":126167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:40:01] local.INFO: GPS data processed {"connection_id":126167,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:40:01] local.INFO: Acknowledgment sent {"connection_id":126167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:40:06] local.INFO: TCP Data received {"connection_id":126168,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:40:06] local.INFO: Processing buffer {"connection_id":126168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:40:06] local.INFO: IMEI packet received {"connection_id":126168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":126168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:40:08] local.INFO: TCP Data received {"connection_id":126168,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f405604d8012d1822c00721b698004b00cb24..."} 
[2026-07-08 11:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405604d8012d1822c00721b698004b00cb24..."} 
[2026-07-08 11:40:08] local.INFO: Processing buffer {"connection_id":126168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405604d8012d1822c00721b698004b00cb24..."} 
[2026-07-08 11:40:08] local.INFO: Packet analysis {"connection_id":126168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4056"} 
[2026-07-08 11:40:08] local.INFO: Extracted packet for processing {"connection_id":126168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4056"} 
[2026-07-08 11:40:08] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649944,"longitude_deg":75.655648,"latitude_deg":11.9649944,"altitude":75,"angle":203,"satellites":36,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-07-08 11:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573641472001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711342900510720,"note":"Value kept but may cause issues"} 
[2026-07-08 11:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981351424,"note":"Value kept but may cause issues"} 
[2026-07-08 11:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783490807000,"timestamp_ms":1783490807000,"timestamp_seconds":1783490807,"priority":1,"record_length":96,"hex_timestamp":"0000019f405604d8"} 
[2026-07-08 11:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-08 11:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573641472001,"66":12461,"120":206,"28":31744,"24":0,"16":4711342900510720,"45":1739163542981351424},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573641472001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:40:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:40:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711342900510720,"km_value":4711342900510.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981351424,"description":"Unknown IO ID 45"} 
[2026-07-08 11:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573641472001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981351424}} 
[2026-07-08 11:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":126168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:40:08] local.INFO: GPS data processed {"connection_id":126168,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:40:08] local.INFO: Acknowledgment sent {"connection_id":126168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:40:22] local.INFO: TCP Data received {"connection_id":126166,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f4058a4b8012d0b130007029fc00000013424..."} 
[2026-07-08 11:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4058a4b8012d0b130007029fc00000013424..."} 
[2026-07-08 11:40:22] local.INFO: Processing buffer {"connection_id":126166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4058a4b8012d0b130007029fc00000013424..."} 
[2026-07-08 11:40:22] local.INFO: Packet analysis {"connection_id":126166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4058"} 
[2026-07-08 11:40:22] local.INFO: Extracted packet for processing {"connection_id":126166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4058"} 
[2026-07-08 11:40:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573613568001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783490979000,"timestamp_ms":1783490979000,"timestamp_seconds":1783490979,"priority":1,"record_length":96,"hex_timestamp":"0000019f4058a4b8"} 
[2026-07-08 11:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:40:22] 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-07-08 11: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 11:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126166,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126166,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573613568001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573613568001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:40:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573613568001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":126166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450685,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:40:22] local.INFO: GPS data processed {"connection_id":126166,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:40:22] local.INFO: Acknowledgment sent {"connection_id":126166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:40:32] local.INFO: TCP Data received {"connection_id":126167,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4057c610012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 11:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4057c610012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 11:40:32] local.INFO: Processing buffer {"connection_id":126167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4057c610012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 11:40:32] local.INFO: Packet analysis {"connection_id":126167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4057"} 
[2026-07-08 11:40:32] local.INFO: Extracted packet for processing {"connection_id":126167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4057"} 
[2026-07-08 11:40:32] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":42,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573598976001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783490922000,"timestamp_ms":1783490922000,"timestamp_seconds":1783490922,"priority":1,"record_length":96,"hex_timestamp":"0000019f4057c610"} 
[2026-07-08 11:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 11:40: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-07-08 11:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573598976001,"66":25462,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573598976001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:40:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:40:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573598976001,"power":25462,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 11:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":126167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:40:32] local.INFO: GPS data processed {"connection_id":126167,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:40:32] local.INFO: Acknowledgment sent {"connection_id":126167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:40:39] local.INFO: TCP Data received {"connection_id":126168,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40565ac8012d1822c00721b698004b00cb25..."} 
[2026-07-08 11:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40565ac8012d1822c00721b698004b00cb25..."} 
[2026-07-08 11:40:39] local.INFO: Processing buffer {"connection_id":126168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40565ac8012d1822c00721b698004b00cb25..."} 
[2026-07-08 11:40:39] local.INFO: Packet analysis {"connection_id":126168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4056"} 
[2026-07-08 11:40:39] local.INFO: Extracted packet for processing {"connection_id":126168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4056"} 
[2026-07-08 11:40:39] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649944,"longitude_deg":75.655648,"latitude_deg":11.9649944,"altitude":75,"angle":203,"satellites":37,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-07-08 11:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573646592001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711342900510720,"note":"Value kept but may cause issues"} 
[2026-07-08 11:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981351424,"note":"Value kept but may cause issues"} 
[2026-07-08 11:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783490829000,"timestamp_ms":1783490829000,"timestamp_seconds":1783490829,"priority":1,"record_length":96,"hex_timestamp":"0000019f40565ac8"} 
[2026-07-08 11:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 11:40: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-07-08 11:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573646592001,"66":12428,"120":206,"28":31744,"24":0,"16":4711342900510720,"45":1739163542981351424},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573646592001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:40:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:40:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711342900510720,"km_value":4711342900510.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981351424,"description":"Unknown IO ID 45"} 
[2026-07-08 11:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573646592001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981351424}} 
[2026-07-08 11:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":126168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:40:39] local.INFO: GPS data processed {"connection_id":126168,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:40:39] local.INFO: Acknowledgment sent {"connection_id":126168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:40:45] local.INFO: TCP Data received {"connection_id":125321,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125321,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:40:45] local.INFO: Processing buffer {"connection_id":125321,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:40:45] local.INFO: IMEI packet received {"connection_id":125321,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":125321,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:40:50] local.INFO: TCP Data received {"connection_id":125321,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125321,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:40:50] local.INFO: Processing buffer {"connection_id":125321,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:40:50] local.INFO: IMEI packet received {"connection_id":125321,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":125321,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:40:51] local.INFO: TCP Data received {"connection_id":125321,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f4058a4b8012d0b130007029fc00000013424..."} 
[2026-07-08 11:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4058a4b8012d0b130007029fc00000013424..."} 
[2026-07-08 11:40:51] local.INFO: Processing buffer {"connection_id":125321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4058a4b8012d0b130007029fc00000013424..."} 
[2026-07-08 11:40:51] local.INFO: Packet analysis {"connection_id":125321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4058"} 
[2026-07-08 11:40:51] local.INFO: Extracted packet for processing {"connection_id":125321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4058"} 
[2026-07-08 11:40:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573613568001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783490979000,"timestamp_ms":1783490979000,"timestamp_seconds":1783490979,"priority":1,"record_length":96,"hex_timestamp":"0000019f4058a4b8"} 
[2026-07-08 11:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:40: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-07-08 11:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 11:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125321,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125321,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573613568001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573613568001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:40:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573613568001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":125321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450688,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:40:51] local.INFO: GPS data processed {"connection_id":125321,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:40:51] local.INFO: Acknowledgment sent {"connection_id":125321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:40:56] local.INFO: TCP Data received {"connection_id":127432,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:40:56] local.INFO: Processing buffer {"connection_id":127432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:40:56] local.INFO: IMEI packet received {"connection_id":127432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":127432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:41:01] local.INFO: TCP Data received {"connection_id":126170,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:41:01] local.INFO: Processing buffer {"connection_id":126170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:41:01] local.INFO: IMEI packet received {"connection_id":126170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":126170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:41:01] local.INFO: TCP Data received {"connection_id":127432,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:41:01] local.INFO: Processing buffer {"connection_id":127432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:41:01] local.INFO: IMEI packet received {"connection_id":127432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":127432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:41:02] local.INFO: TCP Data received {"connection_id":127432,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f4057c610012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 11:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4057c610012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 11:41:02] local.INFO: Processing buffer {"connection_id":127432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4057c610012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 11:41:02] local.INFO: Packet analysis {"connection_id":127432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4057"} 
[2026-07-08 11:41:02] local.INFO: Extracted packet for processing {"connection_id":127432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4057"} 
[2026-07-08 11:41:02] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":42,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573598976001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783490922000,"timestamp_ms":1783490922000,"timestamp_seconds":1783490922,"priority":1,"record_length":96,"hex_timestamp":"0000019f4057c610"} 
[2026-07-08 11:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 11:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573598976001,"66":25462,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573598976001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:41:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:41:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573598976001,"power":25462,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 11:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":127432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:41:02] local.INFO: GPS data processed {"connection_id":127432,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:41:02] local.INFO: Acknowledgment sent {"connection_id":127432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:41:06] local.INFO: TCP Data received {"connection_id":126170,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:41:06] local.INFO: Processing buffer {"connection_id":126170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:41:06] local.INFO: IMEI packet received {"connection_id":126170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":126170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:41:07] local.INFO: TCP Data received {"connection_id":126170,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4056acd0012d1822c00721b698004b00cb25..."} 
[2026-07-08 11:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4056acd0012d1822c00721b698004b00cb25..."} 
[2026-07-08 11:41:07] local.INFO: Processing buffer {"connection_id":126170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4056acd0012d1822c00721b698004b00cb25..."} 
[2026-07-08 11:41:07] local.INFO: Packet analysis {"connection_id":126170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4056"} 
[2026-07-08 11:41:07] local.INFO: Extracted packet for processing {"connection_id":126170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4056"} 
[2026-07-08 11:41:07] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649944,"longitude_deg":75.655648,"latitude_deg":11.9649944,"altitude":75,"angle":203,"satellites":37,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-07-08 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-07-08 11:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573652224001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711342900510720,"note":"Value kept but may cause issues"} 
[2026-07-08 11:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981351424,"note":"Value kept but may cause issues"} 
[2026-07-08 11:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783490850000,"timestamp_ms":1783490850000,"timestamp_seconds":1783490850,"priority":1,"record_length":96,"hex_timestamp":"0000019f4056acd0"} 
[2026-07-08 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-07-08 11:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-08 11:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 11:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573652224001,"66":12385,"120":206,"28":31744,"24":0,"16":4711342900510720,"45":1739163542981351424},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573652224001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:41:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:41:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711342900510720,"km_value":4711342900510.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981351424,"description":"Unknown IO ID 45"} 
[2026-07-08 11:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573652224001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981351424}} 
[2026-07-08 11:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":126170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:41:08] local.INFO: GPS data processed {"connection_id":126170,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:41:08] local.INFO: Acknowledgment sent {"connection_id":126170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:41:22] local.INFO: TCP Data received {"connection_id":125321,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f4058a4b8012d0b130007029fc00000013424..."} 
[2026-07-08 11:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4058a4b8012d0b130007029fc00000013424..."} 
[2026-07-08 11:41:22] local.INFO: Processing buffer {"connection_id":125321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4058a4b8012d0b130007029fc00000013424..."} 
[2026-07-08 11:41:22] local.INFO: Packet analysis {"connection_id":125321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4058"} 
[2026-07-08 11:41:22] local.INFO: Extracted packet for processing {"connection_id":125321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4058"} 
[2026-07-08 11:41:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573613568001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783490979000,"timestamp_ms":1783490979000,"timestamp_seconds":1783490979,"priority":1,"record_length":96,"hex_timestamp":"0000019f4058a4b8"} 
[2026-07-08 11:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:41:22] 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-07-08 11: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 11:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125321,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125321,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573613568001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573613568001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:41:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573613568001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":125321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450691,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:41:22] local.INFO: GPS data processed {"connection_id":125321,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:41:22] local.INFO: Acknowledgment sent {"connection_id":125321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:41:33] local.INFO: TCP Data received {"connection_id":127432,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f4057c610012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 11:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4057c610012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 11:41:33] local.INFO: Processing buffer {"connection_id":127432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4057c610012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 11:41:33] local.INFO: Packet analysis {"connection_id":127432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4057"} 
[2026-07-08 11:41:33] local.INFO: Extracted packet for processing {"connection_id":127432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4057"} 
[2026-07-08 11:41:33] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":42,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573598976001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783490922000,"timestamp_ms":1783490922000,"timestamp_seconds":1783490922,"priority":1,"record_length":96,"hex_timestamp":"0000019f4057c610"} 
[2026-07-08 11:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 11:41: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-07-08 11:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573598976001,"66":25462,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573598976001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:41:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:41:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573598976001,"power":25462,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 11:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":127432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:41:33] local.INFO: GPS data processed {"connection_id":127432,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:41:33] local.INFO: Acknowledgment sent {"connection_id":127432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:41:39] local.INFO: TCP Data received {"connection_id":126170,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4056fed8012d1822c00721b698004b00cb24..."} 
[2026-07-08 11:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4056fed8012d1822c00721b698004b00cb24..."} 
[2026-07-08 11:41:39] local.INFO: Processing buffer {"connection_id":126170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4056fed8012d1822c00721b698004b00cb24..."} 
[2026-07-08 11:41:39] local.INFO: Packet analysis {"connection_id":126170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4056"} 
[2026-07-08 11:41:39] local.INFO: Extracted packet for processing {"connection_id":126170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4056"} 
[2026-07-08 11:41:39] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649944,"longitude_deg":75.655648,"latitude_deg":11.9649944,"altitude":75,"angle":203,"satellites":36,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-07-08 11:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573657600001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711342900510720,"note":"Value kept but may cause issues"} 
[2026-07-08 11:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981351424,"note":"Value kept but may cause issues"} 
[2026-07-08 11:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783490871000,"timestamp_ms":1783490871000,"timestamp_seconds":1783490871,"priority":1,"record_length":96,"hex_timestamp":"0000019f4056fed8"} 
[2026-07-08 11:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 11:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:41:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573657600001,"66":12428,"120":206,"28":31744,"24":0,"16":4711342900510720,"45":1739163542981351424},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573657600001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:41:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:41:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711342900510720,"km_value":4711342900510.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981351424,"description":"Unknown IO ID 45"} 
[2026-07-08 11:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573657600001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981351424}} 
[2026-07-08 11:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":126170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:41:39] local.INFO: GPS data processed {"connection_id":126170,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:41:39] local.INFO: Acknowledgment sent {"connection_id":126170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:41:45] local.INFO: TCP Data received {"connection_id":125322,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125322,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:41:45] local.INFO: Processing buffer {"connection_id":125322,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:41:45] local.INFO: IMEI packet received {"connection_id":125322,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":125322,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:41:50] local.INFO: TCP Data received {"connection_id":125322,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125322,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:41:50] local.INFO: Processing buffer {"connection_id":125322,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:41:50] local.INFO: IMEI packet received {"connection_id":125322,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":125322,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:41:51] local.INFO: TCP Data received {"connection_id":125322,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4058a4b8012d0b130007029fc00000013424..."} 
[2026-07-08 11:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4058a4b8012d0b130007029fc00000013424..."} 
[2026-07-08 11:41:51] local.INFO: Processing buffer {"connection_id":125322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4058a4b8012d0b130007029fc00000013424..."} 
[2026-07-08 11:41:51] local.INFO: Packet analysis {"connection_id":125322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4058"} 
[2026-07-08 11:41:51] local.INFO: Extracted packet for processing {"connection_id":125322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4058"} 
[2026-07-08 11:41:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573613568001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783490979000,"timestamp_ms":1783490979000,"timestamp_seconds":1783490979,"priority":1,"record_length":96,"hex_timestamp":"0000019f4058a4b8"} 
[2026-07-08 11:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:41: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-07-08 11:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 11:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125322,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125322,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573613568001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573613568001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:41:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573613568001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":125322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450694,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:41:51] local.INFO: GPS data processed {"connection_id":125322,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:41:51] local.INFO: Acknowledgment sent {"connection_id":125322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:42:00] local.INFO: TCP Data received {"connection_id":125419,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:42:00] local.INFO: Processing buffer {"connection_id":125419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:42:00] local.INFO: IMEI packet received {"connection_id":125419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":125419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:42:01] local.INFO: TCP Data received {"connection_id":127433,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:42:01] local.INFO: Processing buffer {"connection_id":127433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:42:01] local.INFO: IMEI packet received {"connection_id":127433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":127433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:42:05] local.INFO: TCP Data received {"connection_id":125419,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:42:05] local.INFO: Processing buffer {"connection_id":125419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:42:05] local.INFO: IMEI packet received {"connection_id":125419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":125419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:42:06] local.INFO: TCP Data received {"connection_id":127433,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:42:06] local.INFO: Processing buffer {"connection_id":127433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:42:06] local.INFO: IMEI packet received {"connection_id":127433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":127433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:42:06] local.INFO: TCP Data received {"connection_id":125419,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f405729d0012d1821800721b4c8004c00da23..."} 
[2026-07-08 11:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405729d0012d1821800721b4c8004c00da23..."} 
[2026-07-08 11:42:06] local.INFO: Processing buffer {"connection_id":125419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405729d0012d1821800721b4c8004c00da23..."} 
[2026-07-08 11:42:06] local.INFO: Packet analysis {"connection_id":125419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4057"} 
[2026-07-08 11:42:06] local.INFO: Extracted packet for processing {"connection_id":125419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4057"} 
[2026-07-08 11:42:06] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649480,"longitude_deg":75.655616,"latitude_deg":11.964948,"altitude":76,"angle":218,"satellites":35,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-07-08 11:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573662976001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711372965281792,"note":"Value kept but may cause issues"} 
[2026-07-08 11:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981351424,"note":"Value kept but may cause issues"} 
[2026-07-08 11:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783490882000,"timestamp_ms":1783490882000,"timestamp_seconds":1783490882,"priority":1,"record_length":96,"hex_timestamp":"0000019f405729d0"} 
[2026-07-08 11:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-08 11:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573662976001,"66":12385,"120":206,"28":31744,"24":0,"16":4711372965281792,"45":1739163542981351424},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573662976001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:42:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:42:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711372965281792,"km_value":4711372965281.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981351424,"description":"Unknown IO ID 45"} 
[2026-07-08 11:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573662976001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981351424}} 
[2026-07-08 11:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":125419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:42:07] local.INFO: GPS data processed {"connection_id":125419,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:42:07] local.INFO: Acknowledgment sent {"connection_id":125419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:42:07] local.INFO: TCP Data received {"connection_id":127433,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f4057c610012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 11:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4057c610012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 11:42:07] local.INFO: Processing buffer {"connection_id":127433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4057c610012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 11:42:07] local.INFO: Packet analysis {"connection_id":127433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4057"} 
[2026-07-08 11:42:07] local.INFO: Extracted packet for processing {"connection_id":127433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4057"} 
[2026-07-08 11:42:07] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":42,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573598976001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783490922000,"timestamp_ms":1783490922000,"timestamp_seconds":1783490922,"priority":1,"record_length":96,"hex_timestamp":"0000019f4057c610"} 
[2026-07-08 11:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 11:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573598976001,"66":25462,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573598976001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:42:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:42:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573598976001,"power":25462,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 11:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":127433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:42:07] local.INFO: GPS data processed {"connection_id":127433,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:42:07] local.INFO: Acknowledgment sent {"connection_id":127433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:42:22] local.INFO: TCP Data received {"connection_id":125322,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4058a4b8012d0b130007029fc00000013424..."} 
[2026-07-08 11:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4058a4b8012d0b130007029fc00000013424..."} 
[2026-07-08 11:42:22] local.INFO: Processing buffer {"connection_id":125322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4058a4b8012d0b130007029fc00000013424..."} 
[2026-07-08 11:42:22] local.INFO: Packet analysis {"connection_id":125322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4058"} 
[2026-07-08 11:42:22] local.INFO: Extracted packet for processing {"connection_id":125322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4058"} 
[2026-07-08 11:42:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573613568001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783490979000,"timestamp_ms":1783490979000,"timestamp_seconds":1783490979,"priority":1,"record_length":96,"hex_timestamp":"0000019f4058a4b8"} 
[2026-07-08 11:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:42:22] 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-07-08 11: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 11:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125322,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125322,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573613568001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573613568001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:42:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573613568001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":125322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450697,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:42:22] local.INFO: GPS data processed {"connection_id":125322,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:42:22] local.INFO: Acknowledgment sent {"connection_id":125322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:42:38] local.INFO: TCP Data received {"connection_id":127433,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f4057c610012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 11:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4057c610012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 11:42:38] local.INFO: Processing buffer {"connection_id":127433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4057c610012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 11:42:38] local.INFO: Packet analysis {"connection_id":127433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4057"} 
[2026-07-08 11:42:38] local.INFO: Extracted packet for processing {"connection_id":127433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4057"} 
[2026-07-08 11:42:38] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":42,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573598976001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783490922000,"timestamp_ms":1783490922000,"timestamp_seconds":1783490922,"priority":1,"record_length":96,"hex_timestamp":"0000019f4057c610"} 
[2026-07-08 11:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 11:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573598976001,"66":25462,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573598976001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:42:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:42:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573598976001,"power":25462,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 11:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":127433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:42:38] local.INFO: GPS data processed {"connection_id":127433,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:42:38] local.INFO: Acknowledgment sent {"connection_id":127433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:42:38] local.INFO: TCP Data received {"connection_id":125419,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40577bd8012d1821400721b4b8004c00da25..."} 
[2026-07-08 11:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40577bd8012d1821400721b4b8004c00da25..."} 
[2026-07-08 11:42:38] local.INFO: Processing buffer {"connection_id":125419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40577bd8012d1821400721b4b8004c00da25..."} 
[2026-07-08 11:42:38] local.INFO: Packet analysis {"connection_id":125419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4057"} 
[2026-07-08 11:42:38] local.INFO: Extracted packet for processing {"connection_id":125419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4057"} 
[2026-07-08 11:42:38] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649464,"longitude_deg":75.6556096,"latitude_deg":11.9649464,"altitude":76,"angle":218,"satellites":37,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b4b8","is_valid_coordinates":true} 
[2026-07-08 11:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573665792001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711372965281792,"note":"Value kept but may cause issues"} 
[2026-07-08 11:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260344320,"note":"Value kept but may cause issues"} 
[2026-07-08 11:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783490903000,"timestamp_ms":1783490903000,"timestamp_seconds":1783490903,"priority":1,"record_length":96,"hex_timestamp":"0000019f40577bd8"} 
[2026-07-08 11:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 11:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573665792001,"66":12406,"120":206,"28":31744,"24":0,"16":4711372965281792,"45":1738811699260344320},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573665792001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:42:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:42:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711372965281792,"km_value":4711372965281.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260344320,"description":"Unknown IO ID 45"} 
[2026-07-08 11:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573665792001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738811699260344320}} 
[2026-07-08 11:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":125419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:42:38] local.INFO: GPS data processed {"connection_id":125419,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:42:38] local.INFO: Acknowledgment sent {"connection_id":125419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:42:45] local.INFO: TCP Data received {"connection_id":125323,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125323,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:42:45] local.INFO: Processing buffer {"connection_id":125323,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:42:45] local.INFO: IMEI packet received {"connection_id":125323,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":125323,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:42:50] local.INFO: TCP Data received {"connection_id":125323,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125323,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:42:50] local.INFO: Processing buffer {"connection_id":125323,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:42:50] local.INFO: IMEI packet received {"connection_id":125323,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":125323,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:42:51] local.INFO: TCP Data received {"connection_id":125323,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4058a4b8012d0b130007029fc00000013424..."} 
[2026-07-08 11:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4058a4b8012d0b130007029fc00000013424..."} 
[2026-07-08 11:42:51] local.INFO: Processing buffer {"connection_id":125323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4058a4b8012d0b130007029fc00000013424..."} 
[2026-07-08 11:42:51] local.INFO: Packet analysis {"connection_id":125323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4058"} 
[2026-07-08 11:42:51] local.INFO: Extracted packet for processing {"connection_id":125323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4058"} 
[2026-07-08 11:42:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573613568001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783490979000,"timestamp_ms":1783490979000,"timestamp_seconds":1783490979,"priority":1,"record_length":96,"hex_timestamp":"0000019f4058a4b8"} 
[2026-07-08 11:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:42: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-07-08 11:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 11:42:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125323,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125323,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573613568001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573613568001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:42:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573613568001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":125323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450700,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:42:51] local.INFO: GPS data processed {"connection_id":125323,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:42:51] local.INFO: Acknowledgment sent {"connection_id":125323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:42:56] local.INFO: TCP Data received {"connection_id":126171,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:42:56] local.INFO: Processing buffer {"connection_id":126171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:42:56] local.INFO: IMEI packet received {"connection_id":126171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":126171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:43:00] local.INFO: TCP Data received {"connection_id":127435,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:43:00] local.INFO: Processing buffer {"connection_id":127435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:43:00] local.INFO: IMEI packet received {"connection_id":127435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":127435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:43:01] local.INFO: TCP Data received {"connection_id":126171,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:43:01] local.INFO: Processing buffer {"connection_id":126171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:43:01] local.INFO: IMEI packet received {"connection_id":126171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":126171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:43:02] local.INFO: TCP Data received {"connection_id":126171,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4057c610012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 11:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4057c610012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 11:43:02] local.INFO: Processing buffer {"connection_id":126171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4057c610012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 11:43:02] local.INFO: Packet analysis {"connection_id":126171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4057"} 
[2026-07-08 11:43:02] local.INFO: Extracted packet for processing {"connection_id":126171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4057"} 
[2026-07-08 11:43:02] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":42,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573598976001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783490922000,"timestamp_ms":1783490922000,"timestamp_seconds":1783490922,"priority":1,"record_length":96,"hex_timestamp":"0000019f4057c610"} 
[2026-07-08 11:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 11:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573598976001,"66":25462,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573598976001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:43:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:43:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573598976001,"power":25462,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 11:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":126171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:43:02] local.INFO: GPS data processed {"connection_id":126171,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:43:02] local.INFO: Acknowledgment sent {"connection_id":126171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:43:05] local.INFO: TCP Data received {"connection_id":127435,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:43:05] local.INFO: Processing buffer {"connection_id":127435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:43:05] local.INFO: IMEI packet received {"connection_id":127435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":127435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:43:06] local.INFO: TCP Data received {"connection_id":127435,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4057d1c8012d1821400721b4b8004c00da25..."} 
[2026-07-08 11:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4057d1c8012d1821400721b4b8004c00da25..."} 
[2026-07-08 11:43:06] local.INFO: Processing buffer {"connection_id":127435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4057d1c8012d1821400721b4b8004c00da25..."} 
[2026-07-08 11:43:06] local.INFO: Packet analysis {"connection_id":127435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4057"} 
[2026-07-08 11:43:06] local.INFO: Extracted packet for processing {"connection_id":127435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4057"} 
[2026-07-08 11:43:06] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649464,"longitude_deg":75.6556096,"latitude_deg":11.9649464,"altitude":76,"angle":218,"satellites":37,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b4b8","is_valid_coordinates":true} 
[2026-07-08 11:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573671168001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711372965281792,"note":"Value kept but may cause issues"} 
[2026-07-08 11:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516162560,"note":"Value kept but may cause issues"} 
[2026-07-08 11:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783490925000,"timestamp_ms":1783490925000,"timestamp_seconds":1783490925,"priority":1,"record_length":96,"hex_timestamp":"0000019f4057d1c8"} 
[2026-07-08 11:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 11:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573671168001,"66":12374,"120":206,"28":31744,"24":0,"16":4711372965281792,"45":1738741330516162560},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573671168001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:43:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:43:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711372965281792,"km_value":4711372965281.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516162560,"description":"Unknown IO ID 45"} 
[2026-07-08 11:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573671168001,"power":12374,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516162560}} 
[2026-07-08 11:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":127435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:43:06] local.INFO: GPS data processed {"connection_id":127435,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:43:06] local.INFO: Acknowledgment sent {"connection_id":127435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:43:23] local.INFO: TCP Data received {"connection_id":125323,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4058a4b8012d0b130007029fc00000013424..."} 
[2026-07-08 11:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4058a4b8012d0b130007029fc00000013424..."} 
[2026-07-08 11:43:23] local.INFO: Processing buffer {"connection_id":125323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4058a4b8012d0b130007029fc00000013424..."} 
[2026-07-08 11:43:23] local.INFO: Packet analysis {"connection_id":125323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4058"} 
[2026-07-08 11:43:23] local.INFO: Extracted packet for processing {"connection_id":125323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4058"} 
[2026-07-08 11:43:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573613568001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783490979000,"timestamp_ms":1783490979000,"timestamp_seconds":1783490979,"priority":1,"record_length":96,"hex_timestamp":"0000019f4058a4b8"} 
[2026-07-08 11:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:43:23] 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-07-08 11:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 11:43:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:43:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":125323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":125323,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":125323,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573613568001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573613568001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:43:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573613568001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":125323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450703,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:43:24] local.INFO: GPS data processed {"connection_id":125323,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:43:24] local.INFO: Acknowledgment sent {"connection_id":125323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:43:33] local.INFO: TCP Data received {"connection_id":126171,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4057c610012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 11:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4057c610012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 11:43:33] local.INFO: Processing buffer {"connection_id":126171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4057c610012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 11:43:33] local.INFO: Packet analysis {"connection_id":126171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4057"} 
[2026-07-08 11:43:33] local.INFO: Extracted packet for processing {"connection_id":126171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4057"} 
[2026-07-08 11:43:33] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":42,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573598976001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783490922000,"timestamp_ms":1783490922000,"timestamp_seconds":1783490922,"priority":1,"record_length":96,"hex_timestamp":"0000019f4057c610"} 
[2026-07-08 11:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 11:43: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-07-08 11:43:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573598976001,"66":25462,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573598976001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:43:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:43:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573598976001,"power":25462,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 11:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":126171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:43:33] local.INFO: GPS data processed {"connection_id":126171,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:43:33] local.INFO: Acknowledgment sent {"connection_id":126171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:43:38] local.INFO: TCP Data received {"connection_id":127435,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f405b1d88012d181f800721b258004800be24..."} 
[2026-07-08 11:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405b1d88012d181f800721b258004800be24..."} 
[2026-07-08 11:43:38] local.INFO: Processing buffer {"connection_id":127435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405b1d88012d181f800721b258004800be24..."} 
[2026-07-08 11:43:38] local.INFO: Packet analysis {"connection_id":127435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f405b"} 
[2026-07-08 11:43:38] local.INFO: Extracted packet for processing {"connection_id":127435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f405b"} 
[2026-07-08 11:43:38] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648856,"longitude_deg":75.6555648,"latitude_deg":11.9648856,"altitude":72,"angle":190,"satellites":36,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-07-08 11:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573726720001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711415914954752,"note":"Value kept but may cause issues"} 
[2026-07-08 11:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306763264,"note":"Value kept but may cause issues"} 
[2026-07-08 11:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783491141000,"timestamp_ms":1783491141000,"timestamp_seconds":1783491141,"priority":1,"record_length":96,"hex_timestamp":"0000019f405b1d88"} 
[2026-07-08 11:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 11:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573726720001,"66":12341,"120":206,"28":31744,"24":0,"16":4711415914954752,"45":1738248749306763264},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573726720001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:43:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:43:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711415914954752,"km_value":4711415914954.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306763264,"description":"Unknown IO ID 45"} 
[2026-07-08 11:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573726720001,"power":12341,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306763264}} 
[2026-07-08 11:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":127435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:43:38] local.INFO: GPS data processed {"connection_id":127435,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:43:38] local.INFO: Acknowledgment sent {"connection_id":127435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:43:45] local.INFO: TCP Data received {"connection_id":125420,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125420,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:43:45] local.INFO: Processing buffer {"connection_id":125420,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:43:45] local.INFO: IMEI packet received {"connection_id":125420,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":125420,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:43:50] local.INFO: TCP Data received {"connection_id":125420,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125420,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:43:50] local.INFO: Processing buffer {"connection_id":125420,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:43:50] local.INFO: IMEI packet received {"connection_id":125420,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":125420,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:43:51] local.INFO: TCP Data received {"connection_id":125420,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4058a4b8012d0b130007029fc00000013424..."} 
[2026-07-08 11:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4058a4b8012d0b130007029fc00000013424..."} 
[2026-07-08 11:43:51] local.INFO: Processing buffer {"connection_id":125420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4058a4b8012d0b130007029fc00000013424..."} 
[2026-07-08 11:43:51] local.INFO: Packet analysis {"connection_id":125420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4058"} 
[2026-07-08 11:43:51] local.INFO: Extracted packet for processing {"connection_id":125420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4058"} 
[2026-07-08 11:43:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573613568001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783490979000,"timestamp_ms":1783490979000,"timestamp_seconds":1783490979,"priority":1,"record_length":96,"hex_timestamp":"0000019f4058a4b8"} 
[2026-07-08 11:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:43: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-07-08 11:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 11:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:43:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125420,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125420,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573613568001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573613568001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:43:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573613568001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":125420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450706,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:43:51] local.INFO: GPS data processed {"connection_id":125420,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:43:51] local.INFO: Acknowledgment sent {"connection_id":125420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:43:56] local.INFO: TCP Data received {"connection_id":125324,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:43:56] local.INFO: Processing buffer {"connection_id":125324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:43:56] local.INFO: IMEI packet received {"connection_id":125324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":125324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:44:01] local.INFO: TCP Data received {"connection_id":125324,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:44:01] local.INFO: Processing buffer {"connection_id":125324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:44:01] local.INFO: IMEI packet received {"connection_id":125324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":125324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:44:04] local.INFO: TCP Data received {"connection_id":125324,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4057c610012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 11:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4057c610012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 11:44:04] local.INFO: Processing buffer {"connection_id":125324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4057c610012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 11:44:04] local.INFO: Packet analysis {"connection_id":125324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4057"} 
[2026-07-08 11:44:04] local.INFO: Extracted packet for processing {"connection_id":125324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4057"} 
[2026-07-08 11:44:04] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":42,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573598976001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783490922000,"timestamp_ms":1783490922000,"timestamp_seconds":1783490922,"priority":1,"record_length":96,"hex_timestamp":"0000019f4057c610"} 
[2026-07-08 11:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 11:44: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-07-08 11:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573598976001,"66":25462,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573598976001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:44:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:44:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573598976001,"power":25462,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 11:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":125324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:44:04] local.INFO: GPS data processed {"connection_id":125324,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:44:04] local.INFO: Acknowledgment sent {"connection_id":125324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:44:05] local.INFO: TCP Data received {"connection_id":125325,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:44:05] local.INFO: Processing buffer {"connection_id":125325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:44:05] local.INFO: IMEI packet received {"connection_id":125325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":125325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:44:11] local.INFO: TCP Data received {"connection_id":125325,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:44:11] local.INFO: Processing buffer {"connection_id":125325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:44:11] local.INFO: IMEI packet received {"connection_id":125325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":125325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:44:12] local.INFO: TCP Data received {"connection_id":125325,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f405b7378012d181f800721b258004800be22..."} 
[2026-07-08 11:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405b7378012d181f800721b258004800be22..."} 
[2026-07-08 11:44:12] local.INFO: Processing buffer {"connection_id":125325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405b7378012d181f800721b258004800be22..."} 
[2026-07-08 11:44:12] local.INFO: Packet analysis {"connection_id":125325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f405b"} 
[2026-07-08 11:44:12] local.INFO: Extracted packet for processing {"connection_id":125325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f405b"} 
[2026-07-08 11:44:12] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648856,"longitude_deg":75.6555648,"latitude_deg":11.9648856,"altitude":72,"angle":190,"satellites":34,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573732096001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711415914954752,"note":"Value kept but may cause issues"} 
[2026-07-08 11:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306763264,"note":"Value kept but may cause issues"} 
[2026-07-08 11:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783491163000,"timestamp_ms":1783491163000,"timestamp_seconds":1783491163,"priority":1,"record_length":96,"hex_timestamp":"0000019f405b7378"} 
[2026-07-08 11:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:44: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-07-08 11: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":53,"data_length":795,"current_offset":136} 
[2026-07-08 11:44:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573732096001,"66":12374,"120":206,"28":31744,"24":0,"16":4711415914954752,"45":1738248749306763264},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573732096001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:44:12] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:44:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711415914954752,"km_value":4711415914954.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306763264,"description":"Unknown IO ID 45"} 
[2026-07-08 11:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573732096001,"power":12374,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306763264}} 
[2026-07-08 11:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":125325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:44:12] local.INFO: GPS data processed {"connection_id":125325,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:44:12] local.INFO: Acknowledgment sent {"connection_id":125325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:44:22] local.INFO: TCP Data received {"connection_id":125420,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f4058a4b8012d0b130007029fc00000013424..."} 
[2026-07-08 11:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4058a4b8012d0b130007029fc00000013424..."} 
[2026-07-08 11:44:22] local.INFO: Processing buffer {"connection_id":125420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4058a4b8012d0b130007029fc00000013424..."} 
[2026-07-08 11:44:22] local.INFO: Packet analysis {"connection_id":125420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4058"} 
[2026-07-08 11:44:22] local.INFO: Extracted packet for processing {"connection_id":125420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4058"} 
[2026-07-08 11:44:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573613568001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783490979000,"timestamp_ms":1783490979000,"timestamp_seconds":1783490979,"priority":1,"record_length":96,"hex_timestamp":"0000019f4058a4b8"} 
[2026-07-08 11:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:44:22] 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-07-08 11: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 11:44:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125420,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125420,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573613568001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573613568001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:44:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573613568001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":125420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450709,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:44:22] local.INFO: GPS data processed {"connection_id":125420,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:44:22] local.INFO: Acknowledgment sent {"connection_id":125420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:44:35] local.INFO: TCP Data received {"connection_id":125324,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f405c5dd8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405c5dd8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:44:35] local.INFO: Processing buffer {"connection_id":125324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405c5dd8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:44:35] local.INFO: Packet analysis {"connection_id":125324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f405c"} 
[2026-07-08 11:44:35] local.INFO: Extracted packet for processing {"connection_id":125324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f405c"} 
[2026-07-08 11:44:35] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":41,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573676032001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783491223000,"timestamp_ms":1783491223000,"timestamp_seconds":1783491223,"priority":1,"record_length":96,"hex_timestamp":"0000019f405c5dd8"} 
[2026-07-08 11:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 11:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573676032001,"66":25462,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573676032001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:44:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:44:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573676032001,"power":25462,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 11:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":125324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:44:35] local.INFO: GPS data processed {"connection_id":125324,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:44:35] local.INFO: Acknowledgment sent {"connection_id":125324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:44:43] local.INFO: TCP Data received {"connection_id":125325,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f405bc580012d181f800721b258004800be26..."} 
[2026-07-08 11:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405bc580012d181f800721b258004800be26..."} 
[2026-07-08 11:44:43] local.INFO: Processing buffer {"connection_id":125325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405bc580012d181f800721b258004800be26..."} 
[2026-07-08 11:44:43] local.INFO: Packet analysis {"connection_id":125325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f405b"} 
[2026-07-08 11:44:43] local.INFO: Extracted packet for processing {"connection_id":125325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f405b"} 
[2026-07-08 11:44:43] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648856,"longitude_deg":75.6555648,"latitude_deg":11.9648856,"altitude":72,"angle":190,"satellites":38,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-07-08 11:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573737728001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711415914954752,"note":"Value kept but may cause issues"} 
[2026-07-08 11:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306763264,"note":"Value kept but may cause issues"} 
[2026-07-08 11:44:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783491184000,"timestamp_ms":1783491184000,"timestamp_seconds":1783491184,"priority":1,"record_length":96,"hex_timestamp":"0000019f405bc580"} 
[2026-07-08 11:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:44: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-07-08 11:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 11:44:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:44:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":125325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":125325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":125325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573737728001,"66":12319,"120":206,"28":31744,"24":0,"16":4711415914954752,"45":1738248749306763264},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573737728001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:44:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:44:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711415914954752,"km_value":4711415914954.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306763264,"description":"Unknown IO ID 45"} 
[2026-07-08 11:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573737728001,"power":12319,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306763264}} 
[2026-07-08 11:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":125325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:44:43] local.INFO: GPS data processed {"connection_id":125325,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:44:43] local.INFO: Acknowledgment sent {"connection_id":125325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:44:45] local.INFO: TCP Data received {"connection_id":127436,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127436,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:44:45] local.INFO: Processing buffer {"connection_id":127436,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:44:45] local.INFO: IMEI packet received {"connection_id":127436,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":127436,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:44:50] local.INFO: TCP Data received {"connection_id":127436,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127436,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:44:50] local.INFO: Processing buffer {"connection_id":127436,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:44:50] local.INFO: IMEI packet received {"connection_id":127436,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":127436,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:44:56] local.INFO: TCP Data received {"connection_id":125327,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:44:56] local.INFO: Processing buffer {"connection_id":125327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:44:56] local.INFO: IMEI packet received {"connection_id":125327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":125327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:45:01] local.INFO: TCP Data received {"connection_id":125421,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:45:01] local.INFO: Processing buffer {"connection_id":125421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:45:01] local.INFO: IMEI packet received {"connection_id":125421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":125421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:45:01] local.INFO: TCP Data received {"connection_id":125327,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:45:01] local.INFO: Processing buffer {"connection_id":125327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:45:01] local.INFO: IMEI packet received {"connection_id":125327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":125327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:45:02] local.INFO: TCP Data received {"connection_id":125327,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f405c5dd8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405c5dd8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:45:02] local.INFO: Processing buffer {"connection_id":125327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405c5dd8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:45:02] local.INFO: Packet analysis {"connection_id":125327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f405c"} 
[2026-07-08 11:45:02] local.INFO: Extracted packet for processing {"connection_id":125327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f405c"} 
[2026-07-08 11:45:02] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":41,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573676032001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783491223000,"timestamp_ms":1783491223000,"timestamp_seconds":1783491223,"priority":1,"record_length":96,"hex_timestamp":"0000019f405c5dd8"} 
[2026-07-08 11:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 11:45: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-07-08 11: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-07-08 11:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573676032001,"66":25462,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573676032001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:45:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:45:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573676032001,"power":25462,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 11:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":125327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:45:02] local.INFO: GPS data processed {"connection_id":125327,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:45:02] local.INFO: Acknowledgment sent {"connection_id":125327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:45:05] local.INFO: TCP Data received {"connection_id":125421,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:45:05] local.INFO: Processing buffer {"connection_id":125421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:45:05] local.INFO: IMEI packet received {"connection_id":125421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":125421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:45:06] local.INFO: TCP Data received {"connection_id":125421,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f405c1788012d181f800721b258004800be25..."} 
[2026-07-08 11:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405c1788012d181f800721b258004800be25..."} 
[2026-07-08 11:45:06] local.INFO: Processing buffer {"connection_id":125421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405c1788012d181f800721b258004800be25..."} 
[2026-07-08 11:45:06] local.INFO: Packet analysis {"connection_id":125421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f405c"} 
[2026-07-08 11:45:06] local.INFO: Extracted packet for processing {"connection_id":125421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f405c"} 
[2026-07-08 11:45:06] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648856,"longitude_deg":75.6555648,"latitude_deg":11.9648856,"altitude":72,"angle":190,"satellites":37,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-07-08 11:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573743104001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711415914954752,"note":"Value kept but may cause issues"} 
[2026-07-08 11:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306763264,"note":"Value kept but may cause issues"} 
[2026-07-08 11:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783491205000,"timestamp_ms":1783491205000,"timestamp_seconds":1783491205,"priority":1,"record_length":96,"hex_timestamp":"0000019f405c1788"} 
[2026-07-08 11:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 11:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573743104001,"66":12341,"120":206,"28":31744,"24":0,"16":4711415914954752,"45":1738248749306763264},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573743104001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:45:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:45:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711415914954752,"km_value":4711415914954.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306763264,"description":"Unknown IO ID 45"} 
[2026-07-08 11:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573743104001,"power":12341,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306763264}} 
[2026-07-08 11:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":125421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:45:07] local.INFO: GPS data processed {"connection_id":125421,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:45:07] local.INFO: Acknowledgment sent {"connection_id":125421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:45:16] local.INFO: TCP Data received {"connection_id":125326,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125326,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:45:16] local.INFO: Processing buffer {"connection_id":125326,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:45:16] local.INFO: IMEI packet received {"connection_id":125326,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 11:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":125326,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:45:29] local.INFO: TCP Data received {"connection_id":127436,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f405d3c80012d0b130007029fc00000013424..."} 
[2026-07-08 11:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405d3c80012d0b130007029fc00000013424..."} 
[2026-07-08 11:45:29] local.INFO: Processing buffer {"connection_id":127436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405d3c80012d0b130007029fc00000013424..."} 
[2026-07-08 11:45:29] local.INFO: Packet analysis {"connection_id":127436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f405d"} 
[2026-07-08 11:45:29] local.INFO: Extracted packet for processing {"connection_id":127436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f405d"} 
[2026-07-08 11:45:29] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573690624001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783491280000,"timestamp_ms":1783491280000,"timestamp_seconds":1783491280,"priority":1,"record_length":96,"hex_timestamp":"0000019f405d3c80"} 
[2026-07-08 11:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:45:29] 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-07-08 11:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:45:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:45:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":127436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":127436,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":127436,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:45:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573690624001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573690624001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:45:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573690624001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":127436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450714,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:45:29] local.INFO: GPS data processed {"connection_id":127436,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:45:29] local.INFO: Acknowledgment sent {"connection_id":127436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:45:33] local.INFO: TCP Data received {"connection_id":125327,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f405c5dd8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405c5dd8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:45:33] local.INFO: Processing buffer {"connection_id":125327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405c5dd8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:45:33] local.INFO: Packet analysis {"connection_id":125327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f405c"} 
[2026-07-08 11:45:33] local.INFO: Extracted packet for processing {"connection_id":125327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f405c"} 
[2026-07-08 11:45:33] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":41,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573676032001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783491223000,"timestamp_ms":1783491223000,"timestamp_seconds":1783491223,"priority":1,"record_length":96,"hex_timestamp":"0000019f405c5dd8"} 
[2026-07-08 11:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 11:45: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-07-08 11:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573676032001,"66":25462,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573676032001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:45:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:45:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573676032001,"power":25462,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 11:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":125327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:45:33] local.INFO: GPS data processed {"connection_id":125327,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:45:33] local.INFO: Acknowledgment sent {"connection_id":125327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:45:38] local.INFO: TCP Data received {"connection_id":125421,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f405c6d78012d181f800721b258004800be25..."} 
[2026-07-08 11:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405c6d78012d181f800721b258004800be25..."} 
[2026-07-08 11:45:38] local.INFO: Processing buffer {"connection_id":125421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405c6d78012d181f800721b258004800be25..."} 
[2026-07-08 11:45:38] local.INFO: Packet analysis {"connection_id":125421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f405c"} 
[2026-07-08 11:45:38] local.INFO: Extracted packet for processing {"connection_id":125421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f405c"} 
[2026-07-08 11:45:38] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648856,"longitude_deg":75.6555648,"latitude_deg":11.9648856,"altitude":72,"angle":190,"satellites":37,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-07-08 11:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573748480001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711415914954752,"note":"Value kept but may cause issues"} 
[2026-07-08 11:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306763264,"note":"Value kept but may cause issues"} 
[2026-07-08 11:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783491227000,"timestamp_ms":1783491227000,"timestamp_seconds":1783491227,"priority":1,"record_length":96,"hex_timestamp":"0000019f405c6d78"} 
[2026-07-08 11:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 11:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573748480001,"66":11787,"120":206,"28":31744,"24":0,"16":4711415914954752,"45":1738248749306763264},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573748480001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:45:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:45:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711415914954752,"km_value":4711415914954.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306763264,"description":"Unknown IO ID 45"} 
[2026-07-08 11:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573748480001,"power":11787,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306763264}} 
[2026-07-08 11:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":125421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:45:38] local.INFO: GPS data processed {"connection_id":125421,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:45:38] local.INFO: Acknowledgment sent {"connection_id":125421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:45:46] local.INFO: TCP Data received {"connection_id":125328,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125328,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:45:46] local.INFO: Processing buffer {"connection_id":125328,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:45:46] local.INFO: IMEI packet received {"connection_id":125328,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":125328,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:45:50] local.INFO: TCP Data received {"connection_id":125328,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125328,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:45:50] local.INFO: Processing buffer {"connection_id":125328,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:45:50] local.INFO: IMEI packet received {"connection_id":125328,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":125328,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:45:51] local.INFO: TCP Data received {"connection_id":125328,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f405d3c80012d0b130007029fc00000013424..."} 
[2026-07-08 11:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405d3c80012d0b130007029fc00000013424..."} 
[2026-07-08 11:45:51] local.INFO: Processing buffer {"connection_id":125328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405d3c80012d0b130007029fc00000013424..."} 
[2026-07-08 11:45:51] local.INFO: Packet analysis {"connection_id":125328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f405d"} 
[2026-07-08 11:45:51] local.INFO: Extracted packet for processing {"connection_id":125328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f405d"} 
[2026-07-08 11:45:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573690624001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783491280000,"timestamp_ms":1783491280000,"timestamp_seconds":1783491280,"priority":1,"record_length":96,"hex_timestamp":"0000019f405d3c80"} 
[2026-07-08 11:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:45: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-07-08 11:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:45:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:45:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125328,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125328,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573690624001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573690624001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:45:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573690624001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":125328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450717,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:45:51] local.INFO: GPS data processed {"connection_id":125328,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:45:51] local.INFO: Acknowledgment sent {"connection_id":125328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:45:56] local.INFO: TCP Data received {"connection_id":125422,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:45:56] local.INFO: Processing buffer {"connection_id":125422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:45:56] local.INFO: IMEI packet received {"connection_id":125422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":125422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:45:56] local.INFO: TCP Data received {"connection_id":125329,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125329,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:45:56] local.INFO: Processing buffer {"connection_id":125329,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:45:56] local.INFO: IMEI packet received {"connection_id":125329,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 11:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":125329,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:45:58] local.INFO: TCP Data received {"connection_id":125328,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f405d3c80012d0b130007029fc00000013424..."} 
[2026-07-08 11:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405d3c80012d0b130007029fc00000013424..."} 
[2026-07-08 11:45:58] local.INFO: Processing buffer {"connection_id":125328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405d3c80012d0b130007029fc00000013424..."} 
[2026-07-08 11:45:58] local.INFO: Packet analysis {"connection_id":125328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f405d"} 
[2026-07-08 11:45:58] local.INFO: Extracted packet for processing {"connection_id":125328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f405d"} 
[2026-07-08 11:45:58] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 11:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573690624001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783491280000,"timestamp_ms":1783491280000,"timestamp_seconds":1783491280,"priority":1,"record_length":96,"hex_timestamp":"0000019f405d3c80"} 
[2026-07-08 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-07-08 11:45:58] 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-07-08 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:45: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-07-08 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-07-08 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-07-08 11:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":125328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":125328,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":125328,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573690624001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573690624001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:45:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573690624001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":125328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450718,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:45:58] local.INFO: GPS data processed {"connection_id":125328,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:45:58] local.INFO: Acknowledgment sent {"connection_id":125328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:46:00] local.INFO: TCP Data received {"connection_id":127437,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:46:00] local.INFO: Processing buffer {"connection_id":127437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:46:00] local.INFO: IMEI packet received {"connection_id":127437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":127437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:46:00] local.INFO: TCP Data received {"connection_id":127437,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:46:00] local.INFO: Processing buffer {"connection_id":127437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:46:00] local.INFO: IMEI packet received {"connection_id":127437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":127437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:46:01] local.INFO: TCP Data received {"connection_id":125422,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:46:01] local.INFO: Processing buffer {"connection_id":125422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:46:01] local.INFO: IMEI packet received {"connection_id":125422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":125422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:46:02] local.INFO: TCP Data received {"connection_id":125422,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f405c5dd8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405c5dd8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:46:02] local.INFO: Processing buffer {"connection_id":125422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405c5dd8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:46:02] local.INFO: Packet analysis {"connection_id":125422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f405c"} 
[2026-07-08 11:46:02] local.INFO: Extracted packet for processing {"connection_id":125422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f405c"} 
[2026-07-08 11:46:02] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":41,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573676032001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783491223000,"timestamp_ms":1783491223000,"timestamp_seconds":1783491223,"priority":1,"record_length":96,"hex_timestamp":"0000019f405c5dd8"} 
[2026-07-08 11:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 11:46: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-07-08 11:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573676032001,"66":25462,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573676032001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:46:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:46:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573676032001,"power":25462,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 11:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":125422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:46:02] local.INFO: GPS data processed {"connection_id":125422,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:46:02] local.INFO: Acknowledgment sent {"connection_id":125422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:46:05] local.INFO: TCP Data received {"connection_id":127437,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:46:05] local.INFO: Processing buffer {"connection_id":127437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:46:05] local.INFO: IMEI packet received {"connection_id":127437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":127437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:46:06] local.INFO: TCP Data received {"connection_id":127437,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f405cbf80012d181f800721b258004800be27..."} 
[2026-07-08 11:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405cbf80012d181f800721b258004800be27..."} 
[2026-07-08 11:46:06] local.INFO: Processing buffer {"connection_id":127437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405cbf80012d181f800721b258004800be27..."} 
[2026-07-08 11:46:06] local.INFO: Packet analysis {"connection_id":127437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f405c"} 
[2026-07-08 11:46:06] local.INFO: Extracted packet for processing {"connection_id":127437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f405c"} 
[2026-07-08 11:46:06] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648856,"longitude_deg":75.6555648,"latitude_deg":11.9648856,"altitude":72,"angle":190,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-07-08 11:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573754112001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711415914954752,"note":"Value kept but may cause issues"} 
[2026-07-08 11:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306763264,"note":"Value kept but may cause issues"} 
[2026-07-08 11:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783491248000,"timestamp_ms":1783491248000,"timestamp_seconds":1783491248,"priority":1,"record_length":96,"hex_timestamp":"0000019f405cbf80"} 
[2026-07-08 11:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11: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":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-07-08 11:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-08 11:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":-4827295850587750400,"note":"Value kept but may cause issues"} 
[2026-07-08 11:46:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6971473114517394152,"note":"Value kept but may cause issues"} 
[2026-07-08 11:46:06] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2992111688,"note":"Value kept but may cause issues"} 
[2026-07-08 11:46:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-08 11:46:06] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2147560728,"corrected_to":0} 
[2026-07-08 11:46:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-9221364662153492480,"note":"Value kept but may cause issues"} 
[2026-07-08 11:46:06] local.WARNING: Large IO value detected {"io_id":56,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-08 11:46:06] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-08 11:46:06] local.WARNING: Large IO value detected {"io_id":190,"raw_value":2738188573441264128,"note":"Value kept but may cause issues"} 
[2026-07-08 11:46:06] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,120,28,24,241,158,16,189,159,23,45,128,178,72,37,10,66,197,38,115,1,240,86,64,33,4,113,205,203,31,88,39,239,48,2,56,206,190],"length":533,"final_offset":663,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0},{"io_id":203,"original":2147560728,"validated":0}]} 
[2026-07-08 11:46:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188355836853878784,"timestamp_seconds":5188355836853879.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 11:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573754112001,"66":12298,"120":206,"28":31744,"24":0,"16":4711415914954752,"45":1738248749306763264},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573754112001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:46:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:46:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711415914954752,"km_value":4711415914954.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306763264,"description":"Unknown IO ID 45"} 
[2026-07-08 11:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573754112001,"power":12298,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306763264}} 
[2026-07-08 11:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":127437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:46:06] local.INFO: GPS data processed {"connection_id":127437,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:46:06] local.INFO: Acknowledgment sent {"connection_id":127437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:46:29] local.INFO: TCP Data received {"connection_id":125328,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f405d3c80012d0b130007029fc00000013424..."} 
[2026-07-08 11:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405d3c80012d0b130007029fc00000013424..."} 
[2026-07-08 11:46:29] local.INFO: Processing buffer {"connection_id":125328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405d3c80012d0b130007029fc00000013424..."} 
[2026-07-08 11:46:29] local.INFO: Packet analysis {"connection_id":125328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f405d"} 
[2026-07-08 11:46:29] local.INFO: Extracted packet for processing {"connection_id":125328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f405d"} 
[2026-07-08 11:46:29] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573690624001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:46:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:46:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783491280000,"timestamp_ms":1783491280000,"timestamp_seconds":1783491280,"priority":1,"record_length":96,"hex_timestamp":"0000019f405d3c80"} 
[2026-07-08 11:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:46:29] 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-07-08 11:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:46:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:46:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":125328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":125328,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":125328,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:46:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573690624001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573690624001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:46:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:46:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573690624001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":125328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450721,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:46:29] local.INFO: GPS data processed {"connection_id":125328,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:46:29] local.INFO: Acknowledgment sent {"connection_id":125328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:46:33] local.INFO: TCP Data received {"connection_id":125422,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f405c5dd8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405c5dd8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:46:33] local.INFO: Processing buffer {"connection_id":125422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405c5dd8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:46:33] local.INFO: Packet analysis {"connection_id":125422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f405c"} 
[2026-07-08 11:46:33] local.INFO: Extracted packet for processing {"connection_id":125422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f405c"} 
[2026-07-08 11:46:33] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":41,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573676032001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783491223000,"timestamp_ms":1783491223000,"timestamp_seconds":1783491223,"priority":1,"record_length":96,"hex_timestamp":"0000019f405c5dd8"} 
[2026-07-08 11:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 11:46: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-07-08 11:46:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:46: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-07-08 11:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573676032001,"66":25462,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573676032001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:46:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:46:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573676032001,"power":25462,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 11:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":125422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:46:33] local.INFO: GPS data processed {"connection_id":125422,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:46:33] local.INFO: Acknowledgment sent {"connection_id":125422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:46:38] local.INFO: TCP Data received {"connection_id":127437,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f405d1188012d181f800721b258004800be27..."} 
[2026-07-08 11:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405d1188012d181f800721b258004800be27..."} 
[2026-07-08 11:46:38] local.INFO: Processing buffer {"connection_id":127437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405d1188012d181f800721b258004800be27..."} 
[2026-07-08 11:46:38] local.INFO: Packet analysis {"connection_id":127437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f405d"} 
[2026-07-08 11:46:38] local.INFO: Extracted packet for processing {"connection_id":127437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f405d"} 
[2026-07-08 11:46:38] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648856,"longitude_deg":75.6555648,"latitude_deg":11.9648856,"altitude":72,"angle":190,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-07-08 11:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573759488001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711415914954752,"note":"Value kept but may cause issues"} 
[2026-07-08 11:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306763264,"note":"Value kept but may cause issues"} 
[2026-07-08 11:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783491269000,"timestamp_ms":1783491269000,"timestamp_seconds":1783491269,"priority":1,"record_length":96,"hex_timestamp":"0000019f405d1188"} 
[2026-07-08 11:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 11:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-08 11:46:38] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-08 11:46:38] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452304,"note":"Value kept but may cause issues"} 
[2026-07-08 11:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3171024896,"note":"Value kept but may cause issues"} 
[2026-07-08 11:46:38] local.WARNING: Large IO value detected {"io_id":189,"raw_value":144115188075855873,"note":"Value kept but may cause issues"} 
[2026-07-08 11:46:38] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4637152322654115871,"note":"Value kept but may cause issues"} 
[2026-07-08 11:46:38] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513887923528532158,"note":"Value kept but may cause issues"} 
[2026-07-08 11:46:38] local.WARNING: Large IO value detected {"io_id":72,"raw_value":53523126528507904,"note":"Value kept but may cause issues"} 
[2026-07-08 11:46:38] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832568,"note":"Value kept but may cause issues"} 
[2026-07-08 11:46:38] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683571937902798,"note":"Value kept but may cause issues"} 
[2026-07-08 11:46:38] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2147951026,"note":"Value kept but may cause issues"} 
[2026-07-08 11:46:38] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2992111688,"note":"Value kept but may cause issues"} 
[2026-07-08 11:46:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-08 11:46:38] local.WARNING: Large IO value detected {"io_id":29,"raw_value":2281778456,"note":"Value kept but may cause issues"} 
[2026-07-08 11:46:38] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,120,28,24,241,158,16,189,159,109,45,128,178,72,37,10,66,23,197,1,240,31,64,33,4,113,205,29,88,36,239,48,2,7,39],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-08 11:46:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188355845443813376,"timestamp_seconds":5188355845443813.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 11:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573759488001,"66":12298,"120":206,"28":31744,"24":0,"16":4711415914954752,"45":1738248749306763264},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573759488001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:46:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:46:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711415914954752,"km_value":4711415914954.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306763264,"description":"Unknown IO ID 45"} 
[2026-07-08 11:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573759488001,"power":12298,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306763264}} 
[2026-07-08 11:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":127437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:46:38] local.INFO: GPS data processed {"connection_id":127437,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:46:38] local.INFO: Acknowledgment sent {"connection_id":127437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:46:45] local.INFO: TCP Data received {"connection_id":125330,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125330,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:46:45] local.INFO: Processing buffer {"connection_id":125330,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:46:45] local.INFO: IMEI packet received {"connection_id":125330,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":125330,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:46:50] local.INFO: TCP Data received {"connection_id":125330,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125330,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:46:50] local.INFO: Processing buffer {"connection_id":125330,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:46:50] local.INFO: IMEI packet received {"connection_id":125330,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":125330,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:46:51] local.INFO: TCP Data received {"connection_id":125330,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f405d3c80012d0b130007029fc00000013424..."} 
[2026-07-08 11:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405d3c80012d0b130007029fc00000013424..."} 
[2026-07-08 11:46:51] local.INFO: Processing buffer {"connection_id":125330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405d3c80012d0b130007029fc00000013424..."} 
[2026-07-08 11:46:51] local.INFO: Packet analysis {"connection_id":125330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f405d"} 
[2026-07-08 11:46:51] local.INFO: Extracted packet for processing {"connection_id":125330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f405d"} 
[2026-07-08 11:46:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573690624001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783491280000,"timestamp_ms":1783491280000,"timestamp_seconds":1783491280,"priority":1,"record_length":96,"hex_timestamp":"0000019f405d3c80"} 
[2026-07-08 11:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:46: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-07-08 11:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:46:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125330,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125330,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573690624001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573690624001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:46:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573690624001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":125330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450724,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:46:51] local.INFO: GPS data processed {"connection_id":125330,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:46:51] local.INFO: Acknowledgment sent {"connection_id":125330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:47:00] local.INFO: TCP Data received {"connection_id":127438,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:47:00] local.INFO: Processing buffer {"connection_id":127438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:47:00] local.INFO: IMEI packet received {"connection_id":127438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":127438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:47:01] local.INFO: TCP Data received {"connection_id":125423,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:47:01] local.INFO: Processing buffer {"connection_id":125423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:47:01] local.INFO: IMEI packet received {"connection_id":125423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":125423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:47:03] local.INFO: TCP Data received {"connection_id":127438,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:47:03] local.INFO: Processing buffer {"connection_id":127438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:47:03] local.INFO: IMEI packet received {"connection_id":127438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":127438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:47:05] local.INFO: TCP Data received {"connection_id":127438,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:47:05] local.INFO: Processing buffer {"connection_id":127438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:47:05] local.INFO: IMEI packet received {"connection_id":127438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":127438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:47:06] local.INFO: TCP Data received {"connection_id":125423,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:47:06] local.INFO: Processing buffer {"connection_id":125423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:47:06] local.INFO: IMEI packet received {"connection_id":125423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":125423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:47:07] local.INFO: TCP Data received {"connection_id":125423,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f405c5dd8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405c5dd8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:47:07] local.INFO: Processing buffer {"connection_id":125423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405c5dd8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:47:07] local.INFO: Packet analysis {"connection_id":125423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f405c"} 
[2026-07-08 11:47:07] local.INFO: Extracted packet for processing {"connection_id":125423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f405c"} 
[2026-07-08 11:47:07] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":41,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573676032001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783491223000,"timestamp_ms":1783491223000,"timestamp_seconds":1783491223,"priority":1,"record_length":96,"hex_timestamp":"0000019f405c5dd8"} 
[2026-07-08 11:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 11:47: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-07-08 11:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573676032001,"66":25462,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573676032001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:47:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:47:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573676032001,"power":25462,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 11:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":125423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:47:07] local.INFO: GPS data processed {"connection_id":125423,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:47:07] local.INFO: Acknowledgment sent {"connection_id":125423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:47:07] local.INFO: TCP Data received {"connection_id":127438,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f405d6390012d181f800721b258004800be27..."} 
[2026-07-08 11:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405d6390012d181f800721b258004800be27..."} 
[2026-07-08 11:47:07] local.INFO: Processing buffer {"connection_id":127438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405d6390012d181f800721b258004800be27..."} 
[2026-07-08 11:47:07] local.INFO: Packet analysis {"connection_id":127438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f405d"} 
[2026-07-08 11:47:07] local.INFO: Extracted packet for processing {"connection_id":127438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f405d"} 
[2026-07-08 11:47:07] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648856,"longitude_deg":75.6555648,"latitude_deg":11.9648856,"altitude":72,"angle":190,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-07-08 11:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573764864001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711415914954752,"note":"Value kept but may cause issues"} 
[2026-07-08 11:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306763264,"note":"Value kept but may cause issues"} 
[2026-07-08 11:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783491290000,"timestamp_ms":1783491290000,"timestamp_seconds":1783491290,"priority":1,"record_length":96,"hex_timestamp":"0000019f405d6390"} 
[2026-07-08 11:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 11:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-08 11:47:07] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-08 11:47:07] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452304,"note":"Value kept but may cause issues"} 
[2026-07-08 11:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3171024896,"note":"Value kept but may cause issues"} 
[2026-07-08 11:47:07] local.WARNING: Large IO value detected {"io_id":189,"raw_value":144115188075855873,"note":"Value kept but may cause issues"} 
[2026-07-08 11:47:07] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4637242516967331871,"note":"Value kept but may cause issues"} 
[2026-07-08 11:47:07] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513887923528532158,"note":"Value kept but may cause issues"} 
[2026-07-08 11:47:07] local.WARNING: Large IO value detected {"io_id":72,"raw_value":53519827993624576,"note":"Value kept but may cause issues"} 
[2026-07-08 11:47:07] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832568,"note":"Value kept but may cause issues"} 
[2026-07-08 11:47:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683571937902798,"note":"Value kept but may cause issues"} 
[2026-07-08 11:47:07] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2992111688,"note":"Value kept but may cause issues"} 
[2026-07-08 11:47:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-08 11:47:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2147951026,"note":"Value kept but may cause issues"} 
[2026-07-08 11:47:07] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,120,28,24,241,158,16,189,159,191,45,128,178,72,39,10,66,109,37,23,1,240,53,64,33,4,113,205,115,31,88,34,239,48,2,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-08 11:47:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188355845443813376,"timestamp_seconds":5188355845443813.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 11:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573764864001,"66":12319,"120":206,"28":31744,"24":0,"16":4711415914954752,"45":1738248749306763264},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573764864001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:47:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:47:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711415914954752,"km_value":4711415914954.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306763264,"description":"Unknown IO ID 45"} 
[2026-07-08 11:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573764864001,"power":12319,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306763264}} 
[2026-07-08 11:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":127438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:47:07] local.INFO: GPS data processed {"connection_id":127438,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:47:07] local.INFO: Acknowledgment sent {"connection_id":127438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:47:11] local.INFO: TCP Data received {"connection_id":125423,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f405c5dd8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405c5dd8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:47:11] local.INFO: Processing buffer {"connection_id":125423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405c5dd8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:47:11] local.INFO: Packet analysis {"connection_id":125423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f405c"} 
[2026-07-08 11:47:11] local.INFO: Extracted packet for processing {"connection_id":125423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f405c"} 
[2026-07-08 11:47:11] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":41,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573676032001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783491223000,"timestamp_ms":1783491223000,"timestamp_seconds":1783491223,"priority":1,"record_length":96,"hex_timestamp":"0000019f405c5dd8"} 
[2026-07-08 11:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":118,"data_length":795,"current_offset":136} 
[2026-07-08 11:47: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-07-08 11:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573676032001,"66":25462,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573676032001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:47:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:47:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573676032001,"power":25462,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 11:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":125423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:47:11] local.INFO: GPS data processed {"connection_id":125423,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:47:11] local.INFO: Acknowledgment sent {"connection_id":125423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:47:22] local.INFO: TCP Data received {"connection_id":125330,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f405d3c80012d0b130007029fc00000013424..."} 
[2026-07-08 11:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405d3c80012d0b130007029fc00000013424..."} 
[2026-07-08 11:47:22] local.INFO: Processing buffer {"connection_id":125330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405d3c80012d0b130007029fc00000013424..."} 
[2026-07-08 11:47:22] local.INFO: Packet analysis {"connection_id":125330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f405d"} 
[2026-07-08 11:47:22] local.INFO: Extracted packet for processing {"connection_id":125330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f405d"} 
[2026-07-08 11:47:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573690624001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783491280000,"timestamp_ms":1783491280000,"timestamp_seconds":1783491280,"priority":1,"record_length":96,"hex_timestamp":"0000019f405d3c80"} 
[2026-07-08 11:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:47:22] 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-07-08 11:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125330,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125330,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573690624001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573690624001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:47:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573690624001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":125330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450728,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:47:22] local.INFO: GPS data processed {"connection_id":125330,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:47:22] local.INFO: Acknowledgment sent {"connection_id":125330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:47:39] local.INFO: TCP Data received {"connection_id":127438,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f405db598012d181f800721b258004800be25..."} 
[2026-07-08 11:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405db598012d181f800721b258004800be25..."} 
[2026-07-08 11:47:39] local.INFO: Processing buffer {"connection_id":127438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405db598012d181f800721b258004800be25..."} 
[2026-07-08 11:47:39] local.INFO: Packet analysis {"connection_id":127438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f405d"} 
[2026-07-08 11:47:39] local.INFO: Extracted packet for processing {"connection_id":127438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f405d"} 
[2026-07-08 11:47:39] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648856,"longitude_deg":75.6555648,"latitude_deg":11.9648856,"altitude":72,"angle":190,"satellites":37,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-07-08 11:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573770240001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711415914954752,"note":"Value kept but may cause issues"} 
[2026-07-08 11:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306763264,"note":"Value kept but may cause issues"} 
[2026-07-08 11:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783491311000,"timestamp_ms":1783491311000,"timestamp_seconds":1783491311,"priority":1,"record_length":96,"hex_timestamp":"0000019f405db598"} 
[2026-07-08 11:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:47:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 11:47:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:47:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":127438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":127438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":127438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:47:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573770240001,"66":12341,"120":206,"28":31744,"24":0,"16":4711415914954752,"45":1738248749306763264},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573770240001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:47:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:47:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711415914954752,"km_value":4711415914954.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306763264,"description":"Unknown IO ID 45"} 
[2026-07-08 11:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573770240001,"power":12341,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306763264}} 
[2026-07-08 11:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":127438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:47:39] local.INFO: GPS data processed {"connection_id":127438,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:47:39] local.INFO: Acknowledgment sent {"connection_id":127438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:47:45] local.INFO: TCP Data received {"connection_id":126174,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126174,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:47:45] local.INFO: Processing buffer {"connection_id":126174,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:47:45] local.INFO: IMEI packet received {"connection_id":126174,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":126174,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:47:50] local.INFO: TCP Data received {"connection_id":126174,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126174,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:47:50] local.INFO: Processing buffer {"connection_id":126174,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:47:50] local.INFO: IMEI packet received {"connection_id":126174,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":126174,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:47:51] local.INFO: TCP Data received {"connection_id":126174,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f405d3c80012d0b130007029fc00000013424..."} 
[2026-07-08 11:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405d3c80012d0b130007029fc00000013424..."} 
[2026-07-08 11:47:51] local.INFO: Processing buffer {"connection_id":126174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405d3c80012d0b130007029fc00000013424..."} 
[2026-07-08 11:47:51] local.INFO: Packet analysis {"connection_id":126174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f405d"} 
[2026-07-08 11:47:51] local.INFO: Extracted packet for processing {"connection_id":126174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f405d"} 
[2026-07-08 11:47:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573690624001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783491280000,"timestamp_ms":1783491280000,"timestamp_seconds":1783491280,"priority":1,"record_length":96,"hex_timestamp":"0000019f405d3c80"} 
[2026-07-08 11:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:47: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-07-08 11:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:47:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126174,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126174,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573690624001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573690624001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:47:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573690624001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":126174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450730,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:47:51] local.INFO: GPS data processed {"connection_id":126174,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:47:51] local.INFO: Acknowledgment sent {"connection_id":126174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:47:56] local.INFO: TCP Data received {"connection_id":125331,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:47:56] local.INFO: Processing buffer {"connection_id":125331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:47:56] local.INFO: IMEI packet received {"connection_id":125331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":125331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:48:00] local.INFO: TCP Data received {"connection_id":126175,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:48:00] local.INFO: Processing buffer {"connection_id":126175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:48:00] local.INFO: IMEI packet received {"connection_id":126175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":126175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:48:01] local.INFO: TCP Data received {"connection_id":125331,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:48:01] local.INFO: Processing buffer {"connection_id":125331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:48:01] local.INFO: IMEI packet received {"connection_id":125331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":125331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:48:05] local.INFO: TCP Data received {"connection_id":126175,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:48:05] local.INFO: Processing buffer {"connection_id":126175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:48:05] local.INFO: IMEI packet received {"connection_id":126175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":126175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:48:07] local.INFO: TCP Data received {"connection_id":126175,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f405e07a0012d181f800721b258004800be27..."} 
[2026-07-08 11:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405e07a0012d181f800721b258004800be27..."} 
[2026-07-08 11:48:07] local.INFO: Processing buffer {"connection_id":126175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405e07a0012d181f800721b258004800be27..."} 
[2026-07-08 11:48:07] local.INFO: Packet analysis {"connection_id":126175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f405e"} 
[2026-07-08 11:48:07] local.INFO: Extracted packet for processing {"connection_id":126175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f405e"} 
[2026-07-08 11:48:07] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648856,"longitude_deg":75.6555648,"latitude_deg":11.9648856,"altitude":72,"angle":190,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-07-08 11:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573775616001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711415914954752,"note":"Value kept but may cause issues"} 
[2026-07-08 11:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306763264,"note":"Value kept but may cause issues"} 
[2026-07-08 11:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783491332000,"timestamp_ms":1783491332000,"timestamp_seconds":1783491332,"priority":1,"record_length":96,"hex_timestamp":"0000019f405e07a0"} 
[2026-07-08 11:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 11:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573775616001,"66":12287,"120":206,"28":31744,"24":0,"16":4711415914954752,"45":1738248749306763264},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573775616001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:48:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:48:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711415914954752,"km_value":4711415914954.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306763264,"description":"Unknown IO ID 45"} 
[2026-07-08 11:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573775616001,"power":12287,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306763264}} 
[2026-07-08 11:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":126175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:48:07] local.INFO: GPS data processed {"connection_id":126175,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:48:07] local.INFO: Acknowledgment sent {"connection_id":126175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:48:10] local.INFO: TCP Data received {"connection_id":125331,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f405c5dd8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405c5dd8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:48:10] local.INFO: Processing buffer {"connection_id":125331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405c5dd8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:48:10] local.INFO: Packet analysis {"connection_id":125331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f405c"} 
[2026-07-08 11:48:10] local.INFO: Extracted packet for processing {"connection_id":125331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f405c"} 
[2026-07-08 11:48:10] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":41,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573676032001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783491223000,"timestamp_ms":1783491223000,"timestamp_seconds":1783491223,"priority":1,"record_length":96,"hex_timestamp":"0000019f405c5dd8"} 
[2026-07-08 11:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 11:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573676032001,"66":25462,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573676032001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:48:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:48:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573676032001,"power":25462,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 11:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":125331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:48:11] local.INFO: GPS data processed {"connection_id":125331,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:48:11] local.INFO: Acknowledgment sent {"connection_id":125331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:48:22] local.INFO: TCP Data received {"connection_id":126174,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f405d3c80012d0b130007029fc00000013424..."} 
[2026-07-08 11:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405d3c80012d0b130007029fc00000013424..."} 
[2026-07-08 11:48:22] local.INFO: Processing buffer {"connection_id":126174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405d3c80012d0b130007029fc00000013424..."} 
[2026-07-08 11:48:22] local.INFO: Packet analysis {"connection_id":126174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f405d"} 
[2026-07-08 11:48:22] local.INFO: Extracted packet for processing {"connection_id":126174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f405d"} 
[2026-07-08 11:48:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573690624001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783491280000,"timestamp_ms":1783491280000,"timestamp_seconds":1783491280,"priority":1,"record_length":96,"hex_timestamp":"0000019f405d3c80"} 
[2026-07-08 11:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:48:22] 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-07-08 11:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:48:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:48:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126174,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126174,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573690624001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573690624001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:48:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573690624001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":126174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450733,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:48:22] local.INFO: GPS data processed {"connection_id":126174,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:48:22] local.INFO: Acknowledgment sent {"connection_id":126174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:48:38] local.INFO: TCP Data received {"connection_id":126175,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f405e59a8012d181f800721b258004800be25..."} 
[2026-07-08 11:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405e59a8012d181f800721b258004800be25..."} 
[2026-07-08 11:48:38] local.INFO: Processing buffer {"connection_id":126175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405e59a8012d181f800721b258004800be25..."} 
[2026-07-08 11:48:38] local.INFO: Packet analysis {"connection_id":126175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f405e"} 
[2026-07-08 11:48:38] local.INFO: Extracted packet for processing {"connection_id":126175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f405e"} 
[2026-07-08 11:48:38] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648856,"longitude_deg":75.6555648,"latitude_deg":11.9648856,"altitude":72,"angle":190,"satellites":37,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-07-08 11:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573780992001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711415914954752,"note":"Value kept but may cause issues"} 
[2026-07-08 11:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306763264,"note":"Value kept but may cause issues"} 
[2026-07-08 11:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783491353000,"timestamp_ms":1783491353000,"timestamp_seconds":1783491353,"priority":1,"record_length":96,"hex_timestamp":"0000019f405e59a8"} 
[2026-07-08 11:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 11:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573780992001,"66":12341,"120":206,"28":31744,"24":0,"16":4711415914954752,"45":1738248749306763264},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573780992001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:48:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:48:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711415914954752,"km_value":4711415914954.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306763264,"description":"Unknown IO ID 45"} 
[2026-07-08 11:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573780992001,"power":12341,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306763264}} 
[2026-07-08 11:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":126175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:48:39] local.INFO: GPS data processed {"connection_id":126175,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:48:39] local.INFO: Acknowledgment sent {"connection_id":126175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:48:45] local.INFO: TCP Data received {"connection_id":125425,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125425,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:48:45] local.INFO: Processing buffer {"connection_id":125425,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:48:45] local.INFO: IMEI packet received {"connection_id":125425,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":125425,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:48:50] local.INFO: TCP Data received {"connection_id":125425,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125425,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:48:50] local.INFO: Processing buffer {"connection_id":125425,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:48:50] local.INFO: IMEI packet received {"connection_id":125425,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":125425,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:48:56] local.INFO: TCP Data received {"connection_id":125426,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:48:56] local.INFO: Processing buffer {"connection_id":125426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:48:56] local.INFO: IMEI packet received {"connection_id":125426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":125426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:48:58] local.INFO: TCP Data received {"connection_id":125425,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f405d3c80012d0b130007029fc00000013424..."} 
[2026-07-08 11:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405d3c80012d0b130007029fc00000013424..."} 
[2026-07-08 11:48:58] local.INFO: Processing buffer {"connection_id":125425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405d3c80012d0b130007029fc00000013424..."} 
[2026-07-08 11:48:58] local.INFO: Packet analysis {"connection_id":125425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f405d"} 
[2026-07-08 11:48:58] local.INFO: Extracted packet for processing {"connection_id":125425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f405d"} 
[2026-07-08 11:48:58] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573690624001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:48:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783491280000,"timestamp_ms":1783491280000,"timestamp_seconds":1783491280,"priority":1,"record_length":96,"hex_timestamp":"0000019f405d3c80"} 
[2026-07-08 11:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:48:58] 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-07-08 11: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:48: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-07-08 11:48:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":125425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":125425,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":125425,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:48:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573690624001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573690624001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:48:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573690624001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":125425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450735,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:48:59] local.INFO: GPS data processed {"connection_id":125425,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:48:59] local.INFO: Acknowledgment sent {"connection_id":125425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:49:01] local.INFO: TCP Data received {"connection_id":125426,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:49:01] local.INFO: Processing buffer {"connection_id":125426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:49:01] local.INFO: IMEI packet received {"connection_id":125426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":125426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:49:02] local.INFO: TCP Data received {"connection_id":125426,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f405c5dd8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405c5dd8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:49:02] local.INFO: Processing buffer {"connection_id":125426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405c5dd8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 11:49:02] local.INFO: Packet analysis {"connection_id":125426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f405c"} 
[2026-07-08 11:49:02] local.INFO: Extracted packet for processing {"connection_id":125426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f405c"} 
[2026-07-08 11:49:02] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":41,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573676032001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:49:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783491223000,"timestamp_ms":1783491223000,"timestamp_seconds":1783491223,"priority":1,"record_length":96,"hex_timestamp":"0000019f405c5dd8"} 
[2026-07-08 11:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 11:49:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:49:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573676032001,"66":25462,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573676032001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:49:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:49:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573676032001,"power":25462,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 11:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":125426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:49:02] local.INFO: GPS data processed {"connection_id":125426,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:49:02] local.INFO: Acknowledgment sent {"connection_id":125426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:49:05] local.INFO: TCP Data received {"connection_id":127440,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:49:05] local.INFO: Processing buffer {"connection_id":127440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:49:05] local.INFO: IMEI packet received {"connection_id":127440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":127440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:49:09] local.INFO: TCP Data received {"connection_id":127440,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:49:09] local.INFO: Processing buffer {"connection_id":127440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:49:09] local.INFO: IMEI packet received {"connection_id":127440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":127440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:49:10] local.INFO: TCP Data received {"connection_id":127440,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f405eabb0012d181f800721b258004800be23..."} 
[2026-07-08 11:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405eabb0012d181f800721b258004800be23..."} 
[2026-07-08 11:49:10] local.INFO: Processing buffer {"connection_id":127440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405eabb0012d181f800721b258004800be23..."} 
[2026-07-08 11:49:10] local.INFO: Packet analysis {"connection_id":127440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f405e"} 
[2026-07-08 11:49:10] local.INFO: Extracted packet for processing {"connection_id":127440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f405e"} 
[2026-07-08 11:49:10] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648856,"longitude_deg":75.6555648,"latitude_deg":11.9648856,"altitude":72,"angle":190,"satellites":35,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-07-08 11:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573786368001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711415914954752,"note":"Value kept but may cause issues"} 
[2026-07-08 11:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306763264,"note":"Value kept but may cause issues"} 
[2026-07-08 11:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783491374000,"timestamp_ms":1783491374000,"timestamp_seconds":1783491374,"priority":1,"record_length":96,"hex_timestamp":"0000019f405eabb0"} 
[2026-07-08 11:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 11:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":127440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":127440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":127440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573786368001,"66":12298,"120":206,"28":31744,"24":0,"16":4711415914954752,"45":1738248749306763264},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573786368001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:49:10] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:49:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711415914954752,"km_value":4711415914954.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306763264,"description":"Unknown IO ID 45"} 
[2026-07-08 11:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573786368001,"power":12298,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306763264}} 
[2026-07-08 11:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":127440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:49:11] local.INFO: GPS data processed {"connection_id":127440,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:49:11] local.INFO: Acknowledgment sent {"connection_id":127440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:49:30] local.INFO: TCP Data received {"connection_id":125425,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f405d3c80012d0b130007029fc00000013424..."} 
[2026-07-08 11:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405d3c80012d0b130007029fc00000013424..."} 
[2026-07-08 11:49:30] local.INFO: Processing buffer {"connection_id":125425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405d3c80012d0b130007029fc00000013424..."} 
[2026-07-08 11:49:30] local.INFO: Packet analysis {"connection_id":125425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f405d"} 
[2026-07-08 11:49:30] local.INFO: Extracted packet for processing {"connection_id":125425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f405d"} 
[2026-07-08 11:49:30] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573690624001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:49: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-07-08 11:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783491280000,"timestamp_ms":1783491280000,"timestamp_seconds":1783491280,"priority":1,"record_length":96,"hex_timestamp":"0000019f405d3c80"} 
[2026-07-08 11:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:49:30] 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-07-08 11:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:49:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":125425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":125425,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":125425,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573690624001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573690624001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:49:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573690624001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":125425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450738,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:49:30] local.INFO: GPS data processed {"connection_id":125425,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:49:30] local.INFO: Acknowledgment sent {"connection_id":125425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:49:33] local.INFO: TCP Data received {"connection_id":125426,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4060f5a0012d7f9b8005afe3b80000012d26..."} 
[2026-07-08 11:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4060f5a0012d7f9b8005afe3b80000012d26..."} 
[2026-07-08 11:49:33] local.INFO: Processing buffer {"connection_id":125426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4060f5a0012d7f9b8005afe3b80000012d26..."} 
[2026-07-08 11:49:33] local.INFO: Packet analysis {"connection_id":125426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4060"} 
[2026-07-08 11:49:33] local.INFO: Extracted packet for processing {"connection_id":125426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4060"} 
[2026-07-08 11:49:33] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":38,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 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-07-08 11:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573753088001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783491524000,"timestamp_ms":1783491524000,"timestamp_seconds":1783491524,"priority":1,"record_length":96,"hex_timestamp":"0000019f4060f5a0"} 
[2026-07-08 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-07-08 11:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":118,"data_length":795,"current_offset":136} 
[2026-07-08 11:49: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-07-08 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-07-08 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-07-08 11:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573753088001,"66":25462,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573753088001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:49:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:49:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573753088001,"power":25462,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 11:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":125426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:49:33] local.INFO: GPS data processed {"connection_id":125426,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:49:33] local.INFO: Acknowledgment sent {"connection_id":125426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:49:42] local.INFO: TCP Data received {"connection_id":127440,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f405f01a0012d181f800721b258004800be21..."} 
[2026-07-08 11:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405f01a0012d181f800721b258004800be21..."} 
[2026-07-08 11:49:42] local.INFO: Processing buffer {"connection_id":127440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405f01a0012d181f800721b258004800be21..."} 
[2026-07-08 11:49:42] local.INFO: Packet analysis {"connection_id":127440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f405f"} 
[2026-07-08 11:49:42] local.INFO: Extracted packet for processing {"connection_id":127440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f405f"} 
[2026-07-08 11:49:42] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648856,"longitude_deg":75.6555648,"latitude_deg":11.9648856,"altitude":72,"angle":190,"satellites":33,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-07-08 11:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573791744001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711415914954752,"note":"Value kept but may cause issues"} 
[2026-07-08 11:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306763264,"note":"Value kept but may cause issues"} 
[2026-07-08 11:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783491396000,"timestamp_ms":1783491396000,"timestamp_seconds":1783491396,"priority":1,"record_length":96,"hex_timestamp":"0000019f405f01a0"} 
[2026-07-08 11:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:49: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-07-08 11:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 11:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-08 11:49:42] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-08 11:49:42] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452304,"note":"Value kept but may cause issues"} 
[2026-07-08 11:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3171024896,"note":"Value kept but may cause issues"} 
[2026-07-08 11:49:42] local.WARNING: Large IO value detected {"io_id":189,"raw_value":144115188075855873,"note":"Value kept but may cause issues"} 
[2026-07-08 11:49:42] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4637702078468003871,"note":"Value kept but may cause issues"} 
[2026-07-08 11:49:42] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513887923528532158,"note":"Value kept but may cause issues"} 
[2026-07-08 11:49:42] local.WARNING: Large IO value detected {"io_id":72,"raw_value":53523126528507904,"note":"Value kept but may cause issues"} 
[2026-07-08 11:49:42] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832569,"note":"Value kept but may cause issues"} 
[2026-07-08 11:49:42] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580147939344590,"note":"Value kept but may cause issues"} 
[2026-07-08 11:49:42] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2992111688,"note":"Value kept but may cause issues"} 
[2026-07-08 11:49:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-08 11:49:42] local.WARNING: Large IO value detected {"io_id":17,"raw_value":2281778456,"note":"Value kept but may cause issues"} 
[2026-07-08 11:49:42] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2147951026,"note":"Value kept but may cause issues"} 
[2026-07-08 11:49:42] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,120,28,24,241,158,16,189,159,89,45,128,178,72,37,10,66,7,39,181,1,240,53,64,33,4,113,205,17,31,88,239,48,2],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-08 11:49:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188355828263944192,"timestamp_seconds":5188355828263944.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 11:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":127440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":127440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":127440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573791744001,"66":12102,"120":206,"28":31744,"24":0,"16":4711415914954752,"45":1738248749306763264},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573791744001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:49:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:49:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711415914954752,"km_value":4711415914954.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306763264,"description":"Unknown IO ID 45"} 
[2026-07-08 11:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573791744001,"power":12102,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306763264}} 
[2026-07-08 11:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":127440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:49:42] local.INFO: GPS data processed {"connection_id":127440,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:49:42] local.INFO: Acknowledgment sent {"connection_id":127440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:49:50] local.INFO: TCP Data received {"connection_id":125427,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125427,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:49:50] local.INFO: Processing buffer {"connection_id":125427,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:49:50] local.INFO: IMEI packet received {"connection_id":125427,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":125427,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:49:55] local.INFO: TCP Data received {"connection_id":125427,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125427,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:49:55] local.INFO: Processing buffer {"connection_id":125427,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:49:55] local.INFO: IMEI packet received {"connection_id":125427,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":125427,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:49:55] local.INFO: TCP Data received {"connection_id":125427,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f4061d448012d0b130007029fc00000013421..."} 
[2026-07-08 11:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4061d448012d0b130007029fc00000013421..."} 
[2026-07-08 11:49:55] local.INFO: Processing buffer {"connection_id":125427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4061d448012d0b130007029fc00000013421..."} 
[2026-07-08 11:49:55] local.INFO: Packet analysis {"connection_id":125427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4061"} 
[2026-07-08 11:49:55] local.INFO: Extracted packet for processing {"connection_id":125427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4061"} 
[2026-07-08 11:49:55] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573767680001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783491581000,"timestamp_ms":1783491581000,"timestamp_seconds":1783491581,"priority":1,"record_length":96,"hex_timestamp":"0000019f4061d448"} 
[2026-07-08 11:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 11:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":125427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":125427,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":125427,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573767680001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573767680001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:49:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573767680001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":125427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450741,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:49:56] local.INFO: GPS data processed {"connection_id":125427,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:49:56] local.INFO: Acknowledgment sent {"connection_id":125427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:49:56] local.INFO: TCP Data received {"connection_id":125428,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:49:56] local.INFO: Processing buffer {"connection_id":125428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:49:56] local.INFO: IMEI packet received {"connection_id":125428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":125428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:50:00] local.INFO: TCP Data received {"connection_id":125427,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f4061d448012d0b130007029fc00000013421..."} 
[2026-07-08 11:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4061d448012d0b130007029fc00000013421..."} 
[2026-07-08 11:50:00] local.INFO: Processing buffer {"connection_id":125427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4061d448012d0b130007029fc00000013421..."} 
[2026-07-08 11:50:00] local.INFO: Packet analysis {"connection_id":125427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4061"} 
[2026-07-08 11:50:00] local.INFO: Extracted packet for processing {"connection_id":125427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4061"} 
[2026-07-08 11:50:00] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573767680001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783491581000,"timestamp_ms":1783491581000,"timestamp_seconds":1783491581,"priority":1,"record_length":96,"hex_timestamp":"0000019f4061d448"} 
[2026-07-08 11:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 11:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125427,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125427,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573767680001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573767680001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:50:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573767680001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":125427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450742,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:50:00] local.INFO: GPS data processed {"connection_id":125427,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:50:00] local.INFO: Acknowledgment sent {"connection_id":125427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:50:01] local.INFO: TCP Data received {"connection_id":125428,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:50:01] local.INFO: Processing buffer {"connection_id":125428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:50:01] local.INFO: IMEI packet received {"connection_id":125428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":125428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:50:01] local.INFO: TCP Data received {"connection_id":126176,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:50:01] local.INFO: Processing buffer {"connection_id":126176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:50:01] local.INFO: IMEI packet received {"connection_id":126176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":126176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:50:02] local.INFO: TCP Data received {"connection_id":125428,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4060f5a0012d7f9b8005afe3b80000012d26..."} 
[2026-07-08 11:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4060f5a0012d7f9b8005afe3b80000012d26..."} 
[2026-07-08 11:50:02] local.INFO: Processing buffer {"connection_id":125428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4060f5a0012d7f9b8005afe3b80000012d26..."} 
[2026-07-08 11:50:02] local.INFO: Packet analysis {"connection_id":125428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4060"} 
[2026-07-08 11:50:02] local.INFO: Extracted packet for processing {"connection_id":125428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4060"} 
[2026-07-08 11:50:02] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":38,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573753088001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783491524000,"timestamp_ms":1783491524000,"timestamp_seconds":1783491524,"priority":1,"record_length":96,"hex_timestamp":"0000019f4060f5a0"} 
[2026-07-08 11:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 11:50: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-07-08 11:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573753088001,"66":25462,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573753088001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:50:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:50:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573753088001,"power":25462,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 11:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":125428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:50:02] local.INFO: GPS data processed {"connection_id":125428,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:50:02] local.INFO: Acknowledgment sent {"connection_id":125428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:50:06] local.INFO: TCP Data received {"connection_id":126176,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:50:06] local.INFO: Processing buffer {"connection_id":126176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:50:06] local.INFO: IMEI packet received {"connection_id":126176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":126176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:50:08] local.INFO: TCP Data received {"connection_id":126176,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f405f53a8012d181f800721b258004800be27..."} 
[2026-07-08 11:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405f53a8012d181f800721b258004800be27..."} 
[2026-07-08 11:50:08] local.INFO: Processing buffer {"connection_id":126176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405f53a8012d181f800721b258004800be27..."} 
[2026-07-08 11:50:08] local.INFO: Packet analysis {"connection_id":126176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f405f"} 
[2026-07-08 11:50:08] local.INFO: Extracted packet for processing {"connection_id":126176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f405f"} 
[2026-07-08 11:50:08] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648856,"longitude_deg":75.6555648,"latitude_deg":11.9648856,"altitude":72,"angle":190,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-07-08 11:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573797376001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711415914954752,"note":"Value kept but may cause issues"} 
[2026-07-08 11:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306763264,"note":"Value kept but may cause issues"} 
[2026-07-08 11:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783491417000,"timestamp_ms":1783491417000,"timestamp_seconds":1783491417,"priority":1,"record_length":96,"hex_timestamp":"0000019f405f53a8"} 
[2026-07-08 11:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11: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":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-08 11:50: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-07-08 11:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573797376001,"66":12319,"120":206,"28":31744,"24":0,"16":4711415914954752,"45":1738248749306763264},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573797376001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:50:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:50:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711415914954752,"km_value":4711415914954.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306763264,"description":"Unknown IO ID 45"} 
[2026-07-08 11:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573797376001,"power":12319,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306763264}} 
[2026-07-08 11:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":126176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:50:08] local.INFO: GPS data processed {"connection_id":126176,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:50:08] local.INFO: Acknowledgment sent {"connection_id":126176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:50:33] local.INFO: TCP Data received {"connection_id":125428,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4060f5a0012d7f9b8005afe3b80000012d26..."} 
[2026-07-08 11:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4060f5a0012d7f9b8005afe3b80000012d26..."} 
[2026-07-08 11:50:33] local.INFO: Processing buffer {"connection_id":125428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4060f5a0012d7f9b8005afe3b80000012d26..."} 
[2026-07-08 11:50:33] local.INFO: Packet analysis {"connection_id":125428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4060"} 
[2026-07-08 11:50:33] local.INFO: Extracted packet for processing {"connection_id":125428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4060"} 
[2026-07-08 11:50:33] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":38,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573753088001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783491524000,"timestamp_ms":1783491524000,"timestamp_seconds":1783491524,"priority":1,"record_length":96,"hex_timestamp":"0000019f4060f5a0"} 
[2026-07-08 11:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 11:50: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-07-08 11: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-07-08 11:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573753088001,"66":25462,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573753088001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:50:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:50:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573753088001,"power":25462,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 11:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":125428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:50:33] local.INFO: GPS data processed {"connection_id":125428,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:50:33] local.INFO: Acknowledgment sent {"connection_id":125428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:50:39] local.INFO: TCP Data received {"connection_id":126176,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f405fa5b0012d181f800721b258004800be26..."} 
[2026-07-08 11:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405fa5b0012d181f800721b258004800be26..."} 
[2026-07-08 11:50:39] local.INFO: Processing buffer {"connection_id":126176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405fa5b0012d181f800721b258004800be26..."} 
[2026-07-08 11:50:39] local.INFO: Packet analysis {"connection_id":126176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f405f"} 
[2026-07-08 11:50:39] local.INFO: Extracted packet for processing {"connection_id":126176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f405f"} 
[2026-07-08 11:50:39] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648856,"longitude_deg":75.6555648,"latitude_deg":11.9648856,"altitude":72,"angle":190,"satellites":38,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-07-08 11:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573802752001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711415914954752,"note":"Value kept but may cause issues"} 
[2026-07-08 11:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306763264,"note":"Value kept but may cause issues"} 
[2026-07-08 11:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783491438000,"timestamp_ms":1783491438000,"timestamp_seconds":1783491438,"priority":1,"record_length":96,"hex_timestamp":"0000019f405fa5b0"} 
[2026-07-08 11:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 11:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573802752001,"66":12319,"120":206,"28":31744,"24":0,"16":4711415914954752,"45":1738248749306763264},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573802752001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:50:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:50:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711415914954752,"km_value":4711415914954.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306763264,"description":"Unknown IO ID 45"} 
[2026-07-08 11:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573802752001,"power":12319,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306763264}} 
[2026-07-08 11:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":126176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:50:39] local.INFO: GPS data processed {"connection_id":126176,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:50:39] local.INFO: Acknowledgment sent {"connection_id":126176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:50:45] local.INFO: TCP Data received {"connection_id":125332,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125332,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:50:45] local.INFO: Processing buffer {"connection_id":125332,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:50:45] local.INFO: IMEI packet received {"connection_id":125332,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":125332,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:50:50] local.INFO: TCP Data received {"connection_id":125332,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125332,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:50:50] local.INFO: Processing buffer {"connection_id":125332,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:50:50] local.INFO: IMEI packet received {"connection_id":125332,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":125332,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:50:54] local.INFO: TCP Data received {"connection_id":125332,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4061d448012d0b130007029fc00000013421..."} 
[2026-07-08 11:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4061d448012d0b130007029fc00000013421..."} 
[2026-07-08 11:50:54] local.INFO: Processing buffer {"connection_id":125332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4061d448012d0b130007029fc00000013421..."} 
[2026-07-08 11:50:54] local.INFO: Packet analysis {"connection_id":125332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4061"} 
[2026-07-08 11:50:54] local.INFO: Extracted packet for processing {"connection_id":125332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4061"} 
[2026-07-08 11:50:54] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 11:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573767680001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:50:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783491581000,"timestamp_ms":1783491581000,"timestamp_seconds":1783491581,"priority":1,"record_length":96,"hex_timestamp":"0000019f4061d448"} 
[2026-07-08 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-07-08 11:50:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 11:50:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 11:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":125332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":125332,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":125332,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:50:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573767680001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573767680001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:50:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573767680001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":125332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450747,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:50:54] local.INFO: GPS data processed {"connection_id":125332,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:50:54] local.INFO: Acknowledgment sent {"connection_id":125332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:51:00] local.INFO: TCP Data received {"connection_id":127443,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:51:00] local.INFO: Processing buffer {"connection_id":127443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:51:00] local.INFO: IMEI packet received {"connection_id":127443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":127443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:51:01] local.INFO: TCP Data received {"connection_id":127442,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:51:01] local.INFO: Processing buffer {"connection_id":127442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:51:01] local.INFO: IMEI packet received {"connection_id":127442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":127442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:51:06] local.INFO: TCP Data received {"connection_id":127443,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:51:06] local.INFO: Processing buffer {"connection_id":127443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:51:06] local.INFO: IMEI packet received {"connection_id":127443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":127443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:51:06] local.INFO: TCP Data received {"connection_id":127442,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:51:06] local.INFO: Processing buffer {"connection_id":127442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:51:06] local.INFO: IMEI packet received {"connection_id":127442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":127442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:51:07] local.INFO: TCP Data received {"connection_id":127442,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4060f5a0012d7f9b8005afe3b80000012d26..."} 
[2026-07-08 11:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4060f5a0012d7f9b8005afe3b80000012d26..."} 
[2026-07-08 11:51:07] local.INFO: Processing buffer {"connection_id":127442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4060f5a0012d7f9b8005afe3b80000012d26..."} 
[2026-07-08 11:51:07] local.INFO: Packet analysis {"connection_id":127442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4060"} 
[2026-07-08 11:51:07] local.INFO: Extracted packet for processing {"connection_id":127442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4060"} 
[2026-07-08 11:51:07] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":38,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573753088001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783491524000,"timestamp_ms":1783491524000,"timestamp_seconds":1783491524,"priority":1,"record_length":96,"hex_timestamp":"0000019f4060f5a0"} 
[2026-07-08 11:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 11:51: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-07-08 11:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573753088001,"66":25462,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573753088001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:51:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:51:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573753088001,"power":25462,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 11:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":127442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:51:07] local.INFO: GPS data processed {"connection_id":127442,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:51:07] local.INFO: Acknowledgment sent {"connection_id":127442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:51:07] local.INFO: TCP Data received {"connection_id":127443,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f405ff7b8012d181f800721b258004800be27..."} 
[2026-07-08 11:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f405ff7b8012d181f800721b258004800be27..."} 
[2026-07-08 11:51:07] local.INFO: Processing buffer {"connection_id":127443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f405ff7b8012d181f800721b258004800be27..."} 
[2026-07-08 11:51:07] local.INFO: Packet analysis {"connection_id":127443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f405f"} 
[2026-07-08 11:51:07] local.INFO: Extracted packet for processing {"connection_id":127443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f405f"} 
[2026-07-08 11:51:07] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648856,"longitude_deg":75.6555648,"latitude_deg":11.9648856,"altitude":72,"angle":190,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-07-08 11:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573808128001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711415914954752,"note":"Value kept but may cause issues"} 
[2026-07-08 11:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306763264,"note":"Value kept but may cause issues"} 
[2026-07-08 11:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783491459000,"timestamp_ms":1783491459000,"timestamp_seconds":1783491459,"priority":1,"record_length":96,"hex_timestamp":"0000019f405ff7b8"} 
[2026-07-08 11:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 11:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573808128001,"66":12298,"120":206,"28":31744,"24":0,"16":4711415914954752,"45":1738248749306763264},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573808128001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:51:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:51:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711415914954752,"km_value":4711415914954.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306763264,"description":"Unknown IO ID 45"} 
[2026-07-08 11:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573808128001,"power":12298,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306763264}} 
[2026-07-08 11:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":127443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:51:07] local.INFO: GPS data processed {"connection_id":127443,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:51:07] local.INFO: Acknowledgment sent {"connection_id":127443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:51:11] local.INFO: TCP Data received {"connection_id":127442,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4060f5a0012d7f9b8005afe3b80000012d26..."} 
[2026-07-08 11:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4060f5a0012d7f9b8005afe3b80000012d26..."} 
[2026-07-08 11:51:11] local.INFO: Processing buffer {"connection_id":127442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4060f5a0012d7f9b8005afe3b80000012d26..."} 
[2026-07-08 11:51:11] local.INFO: Packet analysis {"connection_id":127442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4060"} 
[2026-07-08 11:51:11] local.INFO: Extracted packet for processing {"connection_id":127442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4060"} 
[2026-07-08 11:51:11] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":38,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573753088001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783491524000,"timestamp_ms":1783491524000,"timestamp_seconds":1783491524,"priority":1,"record_length":96,"hex_timestamp":"0000019f4060f5a0"} 
[2026-07-08 11:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 11:51: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-07-08 11:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":127442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":127442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":127442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573753088001,"66":25462,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573753088001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:51:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:51:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573753088001,"power":25462,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 11:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":127442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:51:11] local.INFO: GPS data processed {"connection_id":127442,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:51:11] local.INFO: Acknowledgment sent {"connection_id":127442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:51:11] local.INFO: TCP Data received {"connection_id":125429,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125429,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:51:11] local.INFO: Processing buffer {"connection_id":125429,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:51:11] local.INFO: IMEI packet received {"connection_id":125429,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 11:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":125429,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:51:27] local.INFO: TCP Data received {"connection_id":125332,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4061d448012d0b130007029fc00000013421..."} 
[2026-07-08 11:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4061d448012d0b130007029fc00000013421..."} 
[2026-07-08 11:51:27] local.INFO: Processing buffer {"connection_id":125332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4061d448012d0b130007029fc00000013421..."} 
[2026-07-08 11:51:27] local.INFO: Packet analysis {"connection_id":125332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4061"} 
[2026-07-08 11:51:27] local.INFO: Extracted packet for processing {"connection_id":125332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4061"} 
[2026-07-08 11:51:27] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573767680001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783491581000,"timestamp_ms":1783491581000,"timestamp_seconds":1783491581,"priority":1,"record_length":96,"hex_timestamp":"0000019f4061d448"} 
[2026-07-08 11:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 11:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":125332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":125332,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":125332,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573767680001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573767680001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:51:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573767680001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":125332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450751,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:51:27] local.INFO: GPS data processed {"connection_id":125332,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:51:27] local.INFO: Acknowledgment sent {"connection_id":125332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:51:39] local.INFO: TCP Data received {"connection_id":127443,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f406049c0012d181f800721b258004800be27..."} 
[2026-07-08 11:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406049c0012d181f800721b258004800be27..."} 
[2026-07-08 11:51:39] local.INFO: Processing buffer {"connection_id":127443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406049c0012d181f800721b258004800be27..."} 
[2026-07-08 11:51:39] local.INFO: Packet analysis {"connection_id":127443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4060"} 
[2026-07-08 11:51:39] local.INFO: Extracted packet for processing {"connection_id":127443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4060"} 
[2026-07-08 11:51:39] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648856,"longitude_deg":75.6555648,"latitude_deg":11.9648856,"altitude":72,"angle":190,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-07-08 11:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573813504001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711415914954752,"note":"Value kept but may cause issues"} 
[2026-07-08 11:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306763264,"note":"Value kept but may cause issues"} 
[2026-07-08 11:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783491480000,"timestamp_ms":1783491480000,"timestamp_seconds":1783491480,"priority":1,"record_length":96,"hex_timestamp":"0000019f406049c0"} 
[2026-07-08 11:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 11:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-08 11:51:39] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-08 11:51:39] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452304,"note":"Value kept but may cause issues"} 
[2026-07-08 11:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3171024896,"note":"Value kept but may cause issues"} 
[2026-07-08 11:51:39] local.WARNING: Large IO value detected {"io_id":189,"raw_value":144115188075855873,"note":"Value kept but may cause issues"} 
[2026-07-08 11:51:39] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4638062855720867871,"note":"Value kept but may cause issues"} 
[2026-07-08 11:51:39] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513887923528532158,"note":"Value kept but may cause issues"} 
[2026-07-08 11:51:39] local.WARNING: Large IO value detected {"io_id":72,"raw_value":53523126528507904,"note":"Value kept but may cause issues"} 
[2026-07-08 11:51:39] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832570,"note":"Value kept but may cause issues"} 
[2026-07-08 11:51:39] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483923195527374,"note":"Value kept but may cause issues"} 
[2026-07-08 11:51:39] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2992111688,"note":"Value kept but may cause issues"} 
[2026-07-08 11:51:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-08 11:51:39] local.WARNING: Large IO value detected {"io_id":89,"raw_value":2818649368,"note":"Value kept but may cause issues"} 
[2026-07-08 11:51:39] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2147951026,"note":"Value kept but may cause issues"} 
[2026-07-08 11:51:39] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,120,28,24,241,158,16,189,159,165,45,128,178,72,38,10,66,83,39,1,240,70,64,33,4,113,205,89,31,88,37,239,48,2,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-08 11:51:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188355845443813376,"timestamp_seconds":5188355845443813.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 11:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":127443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":127443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":127443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573813504001,"66":11558,"120":206,"28":31744,"24":0,"16":4711415914954752,"45":1738248749306763264},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573813504001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:51:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:51:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711415914954752,"km_value":4711415914954.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306763264,"description":"Unknown IO ID 45"} 
[2026-07-08 11:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573813504001,"power":11558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306763264}} 
[2026-07-08 11:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":127443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:51:39] local.INFO: GPS data processed {"connection_id":127443,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:51:39] local.INFO: Acknowledgment sent {"connection_id":127443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:51:45] local.INFO: TCP Data received {"connection_id":127444,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127444,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:51:45] local.INFO: Processing buffer {"connection_id":127444,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:51:45] local.INFO: IMEI packet received {"connection_id":127444,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":127444,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:51:50] local.INFO: TCP Data received {"connection_id":127444,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127444,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:51:50] local.INFO: Processing buffer {"connection_id":127444,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:51:50] local.INFO: IMEI packet received {"connection_id":127444,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":127444,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:51:52] local.INFO: TCP Data received {"connection_id":127444,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4061d448012d0b130007029fc00000013421..."} 
[2026-07-08 11:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4061d448012d0b130007029fc00000013421..."} 
[2026-07-08 11:51:52] local.INFO: Processing buffer {"connection_id":127444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4061d448012d0b130007029fc00000013421..."} 
[2026-07-08 11:51:52] local.INFO: Packet analysis {"connection_id":127444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4061"} 
[2026-07-08 11:51:52] local.INFO: Extracted packet for processing {"connection_id":127444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4061"} 
[2026-07-08 11:51:52] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573767680001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783491581000,"timestamp_ms":1783491581000,"timestamp_seconds":1783491581,"priority":1,"record_length":96,"hex_timestamp":"0000019f4061d448"} 
[2026-07-08 11:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 11:51:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":127444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":127444,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":127444,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573767680001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573767680001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:51:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573767680001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":127444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450753,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:51:53] local.INFO: GPS data processed {"connection_id":127444,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:51:53] local.INFO: Acknowledgment sent {"connection_id":127444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:51:56] local.INFO: TCP Data received {"connection_id":125430,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:51:56] local.INFO: Processing buffer {"connection_id":125430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:51:56] local.INFO: IMEI packet received {"connection_id":125430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":125430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:51:57] local.INFO: TCP Data received {"connection_id":126177,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126177,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:51:57] local.INFO: Processing buffer {"connection_id":126177,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:51:57] local.INFO: IMEI packet received {"connection_id":126177,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 11:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":126177,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:52:00] local.INFO: TCP Data received {"connection_id":126178,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:52:00] local.INFO: Processing buffer {"connection_id":126178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:52:00] local.INFO: IMEI packet received {"connection_id":126178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":126178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:52:01] local.INFO: TCP Data received {"connection_id":125430,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:52:01] local.INFO: Processing buffer {"connection_id":125430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:52:01] local.INFO: IMEI packet received {"connection_id":125430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":125430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:52:02] local.INFO: TCP Data received {"connection_id":125430,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4060f5a0012d7f9b8005afe3b80000012d26..."} 
[2026-07-08 11:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4060f5a0012d7f9b8005afe3b80000012d26..."} 
[2026-07-08 11:52:02] local.INFO: Processing buffer {"connection_id":125430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4060f5a0012d7f9b8005afe3b80000012d26..."} 
[2026-07-08 11:52:02] local.INFO: Packet analysis {"connection_id":125430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4060"} 
[2026-07-08 11:52:02] local.INFO: Extracted packet for processing {"connection_id":125430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4060"} 
[2026-07-08 11:52:02] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":38,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573753088001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783491524000,"timestamp_ms":1783491524000,"timestamp_seconds":1783491524,"priority":1,"record_length":96,"hex_timestamp":"0000019f4060f5a0"} 
[2026-07-08 11:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 11:52: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-07-08 11:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573753088001,"66":25462,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573753088001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:52:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:52:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573753088001,"power":25462,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 11:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":125430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:52:02] local.INFO: GPS data processed {"connection_id":125430,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:52:02] local.INFO: Acknowledgment sent {"connection_id":125430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:52:06] local.INFO: TCP Data received {"connection_id":126178,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:52:06] local.INFO: Processing buffer {"connection_id":126178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:52:06] local.INFO: IMEI packet received {"connection_id":126178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":126178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:52:07] local.INFO: TCP Data received {"connection_id":126178,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40609bc8012d181f800721b258004800be28..."} 
[2026-07-08 11:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40609bc8012d181f800721b258004800be28..."} 
[2026-07-08 11:52:07] local.INFO: Processing buffer {"connection_id":126178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40609bc8012d181f800721b258004800be28..."} 
[2026-07-08 11:52:07] local.INFO: Packet analysis {"connection_id":126178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4060"} 
[2026-07-08 11:52:07] local.INFO: Extracted packet for processing {"connection_id":126178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4060"} 
[2026-07-08 11:52:07] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648856,"longitude_deg":75.6555648,"latitude_deg":11.9648856,"altitude":72,"angle":190,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-07-08 11:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573818880001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711415914954752,"note":"Value kept but may cause issues"} 
[2026-07-08 11:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306763264,"note":"Value kept but may cause issues"} 
[2026-07-08 11:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783491501000,"timestamp_ms":1783491501000,"timestamp_seconds":1783491501,"priority":1,"record_length":96,"hex_timestamp":"0000019f40609bc8"} 
[2026-07-08 11:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11: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":45,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-08 11:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":765,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573818880001,"66":12298,"120":206,"28":31744,"24":0,"16":4711415914954752,"45":1738248749306763264},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573818880001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:52:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:52:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711415914954752,"km_value":4711415914954.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306763264,"description":"Unknown IO ID 45"} 
[2026-07-08 11:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573818880001,"power":12298,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306763264}} 
[2026-07-08 11:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":126178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:52:07] local.INFO: GPS data processed {"connection_id":126178,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:52:07] local.INFO: Acknowledgment sent {"connection_id":126178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:52:33] local.INFO: TCP Data received {"connection_id":125430,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4060f5a0012d7f9b8005afe3b80000012d26..."} 
[2026-07-08 11:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4060f5a0012d7f9b8005afe3b80000012d26..."} 
[2026-07-08 11:52:33] local.INFO: Processing buffer {"connection_id":125430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4060f5a0012d7f9b8005afe3b80000012d26..."} 
[2026-07-08 11:52:33] local.INFO: Packet analysis {"connection_id":125430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4060"} 
[2026-07-08 11:52:33] local.INFO: Extracted packet for processing {"connection_id":125430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4060"} 
[2026-07-08 11:52:33] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":38,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573753088001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783491524000,"timestamp_ms":1783491524000,"timestamp_seconds":1783491524,"priority":1,"record_length":96,"hex_timestamp":"0000019f4060f5a0"} 
[2026-07-08 11:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 11:52: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-07-08 11:52:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573753088001,"66":25462,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573753088001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:52:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:52:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573753088001,"power":25462,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 11:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":125430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:52:33] local.INFO: GPS data processed {"connection_id":125430,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:52:33] local.INFO: Acknowledgment sent {"connection_id":125430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:52:36] local.INFO: TCP Data received {"connection_id":127444,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4061d448012d0b130007029fc00000013421..."} 
[2026-07-08 11:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4061d448012d0b130007029fc00000013421..."} 
[2026-07-08 11:52:36] local.INFO: Processing buffer {"connection_id":127444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4061d448012d0b130007029fc00000013421..."} 
[2026-07-08 11:52:36] local.INFO: Packet analysis {"connection_id":127444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4061"} 
[2026-07-08 11:52:36] local.INFO: Extracted packet for processing {"connection_id":127444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4061"} 
[2026-07-08 11:52:36] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573767680001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783491581000,"timestamp_ms":1783491581000,"timestamp_seconds":1783491581,"priority":1,"record_length":96,"hex_timestamp":"0000019f4061d448"} 
[2026-07-08 11:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 11:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127444,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127444,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573767680001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573767680001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:52:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573767680001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":127444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450757,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:52:36] local.INFO: GPS data processed {"connection_id":127444,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:52:36] local.INFO: Acknowledgment sent {"connection_id":127444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:52:38] local.INFO: TCP Data received {"connection_id":126178,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4060edd0012d181f800721b258004800be28..."} 
[2026-07-08 11:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4060edd0012d181f800721b258004800be28..."} 
[2026-07-08 11:52:38] local.INFO: Processing buffer {"connection_id":126178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4060edd0012d181f800721b258004800be28..."} 
[2026-07-08 11:52:38] local.INFO: Packet analysis {"connection_id":126178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4060"} 
[2026-07-08 11:52:38] local.INFO: Extracted packet for processing {"connection_id":126178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4060"} 
[2026-07-08 11:52:38] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648856,"longitude_deg":75.6555648,"latitude_deg":11.9648856,"altitude":72,"angle":190,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-07-08 11:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573824256001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711415914954752,"note":"Value kept but may cause issues"} 
[2026-07-08 11:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306763264,"note":"Value kept but may cause issues"} 
[2026-07-08 11:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783491522000,"timestamp_ms":1783491522000,"timestamp_seconds":1783491522,"priority":1,"record_length":96,"hex_timestamp":"0000019f4060edd0"} 
[2026-07-08 11:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 11:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-08 11:52:38] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-08 11:52:38] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452304,"note":"Value kept but may cause issues"} 
[2026-07-08 11:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3171024896,"note":"Value kept but may cause issues"} 
[2026-07-08 11:52:38] local.WARNING: Large IO value detected {"io_id":189,"raw_value":144115188075855873,"note":"Value kept but may cause issues"} 
[2026-07-08 11:52:38] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4638243244347299871,"note":"Value kept but may cause issues"} 
[2026-07-08 11:52:38] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513887923528532158,"note":"Value kept but may cause issues"} 
[2026-07-08 11:52:38] local.WARNING: Large IO value detected {"io_id":72,"raw_value":53518728481996800,"note":"Value kept but may cause issues"} 
[2026-07-08 11:52:38] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832570,"note":"Value kept but may cause issues"} 
[2026-07-08 11:52:38] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580147939344590,"note":"Value kept but may cause issues"} 
[2026-07-08 11:52:38] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":47105,"corrected_to":0} 
[2026-07-08 11:52:38] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2147951026,"note":"Value kept but may cause issues"} 
[2026-07-08 11:52:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-08 11:52:38] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,120,28,24,241,158,16,189,159,73,45,128,178,72,39,10,66,247,165,1,240,31,64,33,4,113,205,88,239,47,2,7,37],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":247,"original":47105,"validated":0},{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-08 11:52:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188355849738780672,"timestamp_seconds":5188355849738781.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 11:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573824256001,"66":12287,"120":206,"28":31744,"24":0,"16":4711415914954752,"45":1738248749306763264},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573824256001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:52:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:52:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711415914954752,"km_value":4711415914954.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306763264,"description":"Unknown IO ID 45"} 
[2026-07-08 11:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573824256001,"power":12287,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306763264}} 
[2026-07-08 11:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":126178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:52:38] local.INFO: GPS data processed {"connection_id":126178,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:52:38] local.INFO: Acknowledgment sent {"connection_id":126178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:52:56] local.INFO: TCP Data received {"connection_id":125333,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:52:56] local.INFO: Processing buffer {"connection_id":125333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:52:56] local.INFO: IMEI packet received {"connection_id":125333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":125333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:53:00] local.INFO: TCP Data received {"connection_id":127445,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:53:00] local.INFO: Processing buffer {"connection_id":127445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:53:00] local.INFO: IMEI packet received {"connection_id":127445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":127445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:53:01] local.INFO: TCP Data received {"connection_id":125333,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:53:01] local.INFO: Processing buffer {"connection_id":125333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:53:01] local.INFO: IMEI packet received {"connection_id":125333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":125333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:53:02] local.INFO: TCP Data received {"connection_id":125333,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4060f5a0012d7f9b8005afe3b80000012d26..."} 
[2026-07-08 11:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4060f5a0012d7f9b8005afe3b80000012d26..."} 
[2026-07-08 11:53:02] local.INFO: Processing buffer {"connection_id":125333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4060f5a0012d7f9b8005afe3b80000012d26..."} 
[2026-07-08 11:53:02] local.INFO: Packet analysis {"connection_id":125333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4060"} 
[2026-07-08 11:53:02] local.INFO: Extracted packet for processing {"connection_id":125333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4060"} 
[2026-07-08 11:53:02] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":38,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573753088001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783491524000,"timestamp_ms":1783491524000,"timestamp_seconds":1783491524,"priority":1,"record_length":96,"hex_timestamp":"0000019f4060f5a0"} 
[2026-07-08 11:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11: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-07-08 11: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-07-08 11:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573753088001,"66":25462,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573753088001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:53:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:53:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573753088001,"power":25462,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 11:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":125333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:53:02] local.INFO: GPS data processed {"connection_id":125333,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:53:02] local.INFO: Acknowledgment sent {"connection_id":125333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:53:06] local.INFO: TCP Data received {"connection_id":127445,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:53:06] local.INFO: Processing buffer {"connection_id":127445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:53:06] local.INFO: IMEI packet received {"connection_id":127445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":127445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:53:07] local.INFO: TCP Data received {"connection_id":127445,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40613420012d181d000721af88004900da28..."} 
[2026-07-08 11:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40613420012d181d000721af88004900da28..."} 
[2026-07-08 11:53:07] local.INFO: Processing buffer {"connection_id":127445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40613420012d181d000721af88004900da28..."} 
[2026-07-08 11:53:07] local.INFO: Packet analysis {"connection_id":127445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4061"} 
[2026-07-08 11:53:07] local.INFO: Extracted packet for processing {"connection_id":127445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4061"} 
[2026-07-08 11:53:07] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119648136,"longitude_deg":75.6555008,"latitude_deg":11.9648136,"altitude":73,"angle":218,"satellites":40,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721af88","is_valid_coordinates":true} 
[2026-07-08 11:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573829632001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711458864627712,"note":"Value kept but may cause issues"} 
[2026-07-08 11:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306763264,"note":"Value kept but may cause issues"} 
[2026-07-08 11:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783491540000,"timestamp_ms":1783491540000,"timestamp_seconds":1783491540,"priority":1,"record_length":96,"hex_timestamp":"0000019f40613420"} 
[2026-07-08 11:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 11:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573829632001,"66":12298,"120":206,"28":31744,"24":0,"16":4711458864627712,"45":1738248749306763264},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573829632001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:53:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:53:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711458864627712,"km_value":4711458864627.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306763264,"description":"Unknown IO ID 45"} 
[2026-07-08 11:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573829632001,"power":12298,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306763264}} 
[2026-07-08 11:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":127445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:53:07] local.INFO: GPS data processed {"connection_id":127445,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:53:07] local.INFO: Acknowledgment sent {"connection_id":127445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:53:33] local.INFO: TCP Data received {"connection_id":125333,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4060f5a0012d7f9b8005afe3b80000012d26..."} 
[2026-07-08 11:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4060f5a0012d7f9b8005afe3b80000012d26..."} 
[2026-07-08 11:53:33] local.INFO: Processing buffer {"connection_id":125333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4060f5a0012d7f9b8005afe3b80000012d26..."} 
[2026-07-08 11:53:33] local.INFO: Packet analysis {"connection_id":125333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4060"} 
[2026-07-08 11:53:33] local.INFO: Extracted packet for processing {"connection_id":125333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4060"} 
[2026-07-08 11:53:33] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":38,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573753088001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783491524000,"timestamp_ms":1783491524000,"timestamp_seconds":1783491524,"priority":1,"record_length":96,"hex_timestamp":"0000019f4060f5a0"} 
[2026-07-08 11:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 11:53: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-07-08 11:53:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573753088001,"66":25462,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573753088001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:53:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:53:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573753088001,"power":25462,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 11:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":125333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:53:33] local.INFO: GPS data processed {"connection_id":125333,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:53:33] local.INFO: Acknowledgment sent {"connection_id":125333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:53:39] local.INFO: TCP Data received {"connection_id":127445,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40618628012d181d000721af58004900da28..."} 
[2026-07-08 11:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40618628012d181d000721af58004900da28..."} 
[2026-07-08 11:53:39] local.INFO: Processing buffer {"connection_id":127445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40618628012d181d000721af58004900da28..."} 
[2026-07-08 11:53:39] local.INFO: Packet analysis {"connection_id":127445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4061"} 
[2026-07-08 11:53:39] local.INFO: Extracted packet for processing {"connection_id":127445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4061"} 
[2026-07-08 11:53:39] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119648088,"longitude_deg":75.6555008,"latitude_deg":11.9648088,"altitude":73,"angle":218,"satellites":40,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-07-08 11:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573834240001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711463159595008,"note":"Value kept but may cause issues"} 
[2026-07-08 11:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864802304,"note":"Value kept but may cause issues"} 
[2026-07-08 11:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783491561000,"timestamp_ms":1783491561000,"timestamp_seconds":1783491561,"priority":1,"record_length":96,"hex_timestamp":"0000019f40618628"} 
[2026-07-08 11:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 11:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-08 11:53:39] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-08 11:53:39] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452304,"note":"Value kept but may cause issues"} 
[2026-07-08 11:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3171024896,"note":"Value kept but may cause issues"} 
[2026-07-08 11:53:39] local.WARNING: Large IO value detected {"io_id":189,"raw_value":144115188075855873,"note":"Value kept but may cause issues"} 
[2026-07-08 11:53:39] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4638427927941027871,"note":"Value kept but may cause issues"} 
[2026-07-08 11:53:39] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513887923528532158,"note":"Value kept but may cause issues"} 
[2026-07-08 11:53:39] local.WARNING: Large IO value detected {"io_id":72,"raw_value":53523126528507904,"note":"Value kept but may cause issues"} 
[2026-07-08 11:53:39] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832569,"note":"Value kept but may cause issues"} 
[2026-07-08 11:53:39] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491122450268366,"note":"Value kept but may cause issues"} 
[2026-07-08 11:53:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-08 11:53:39] local.WARNING: Large IO value detected {"io_id":165,"raw_value":2952867096,"note":"Value kept but may cause issues"} 
[2026-07-08 11:53:39] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2147951026,"note":"Value kept but may cause issues"} 
[2026-07-08 11:53:39] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,120,28,24,241,158,16,189,159,237,45,128,178,72,40,10,66,155,73,1,240,38,64,33,4,113,205,165,31,88,239,48,2,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-08 11:53:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260444230102286336,"timestamp_seconds":5260444230102286.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 11:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":127445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":127445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":127445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573834240001,"66":12287,"120":206,"28":31744,"24":0,"16":4711463159595008,"45":1737545061864802304},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573834240001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:53:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:53:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711463159595008,"km_value":4711463159595.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864802304,"description":"Unknown IO ID 45"} 
[2026-07-08 11:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573834240001,"power":12287,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737545061864802304}} 
[2026-07-08 11:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":127445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:53:39] local.INFO: GPS data processed {"connection_id":127445,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:53:39] local.INFO: Acknowledgment sent {"connection_id":127445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:53:56] local.INFO: TCP Data received {"connection_id":125334,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:53:56] local.INFO: Processing buffer {"connection_id":125334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:53:56] local.INFO: IMEI packet received {"connection_id":125334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":125334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:54:01] local.INFO: TCP Data received {"connection_id":125334,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:54:01] local.INFO: Processing buffer {"connection_id":125334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:54:01] local.INFO: IMEI packet received {"connection_id":125334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":125334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:54:01] local.INFO: TCP Data received {"connection_id":125334,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4060f5a0012d7f9b8005afe3b80000012d26..."} 
[2026-07-08 11:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4060f5a0012d7f9b8005afe3b80000012d26..."} 
[2026-07-08 11:54:01] local.INFO: Processing buffer {"connection_id":125334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4060f5a0012d7f9b8005afe3b80000012d26..."} 
[2026-07-08 11:54:01] local.INFO: Packet analysis {"connection_id":125334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4060"} 
[2026-07-08 11:54:01] local.INFO: Extracted packet for processing {"connection_id":125334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4060"} 
[2026-07-08 11:54:01] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":38,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573753088001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783491524000,"timestamp_ms":1783491524000,"timestamp_seconds":1783491524,"priority":1,"record_length":96,"hex_timestamp":"0000019f4060f5a0"} 
[2026-07-08 11:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":118,"data_length":795,"current_offset":136} 
[2026-07-08 11:54: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-07-08 11:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573753088001,"66":25462,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573753088001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:54:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:54:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573753088001,"power":25462,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 11:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":125334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:54:01] local.INFO: GPS data processed {"connection_id":125334,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:54:01] local.INFO: Acknowledgment sent {"connection_id":125334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:54:06] local.INFO: TCP Data received {"connection_id":126180,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:54:06] local.INFO: Processing buffer {"connection_id":126180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:54:06] local.INFO: IMEI packet received {"connection_id":126180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":126180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:54:08] local.INFO: TCP Data received {"connection_id":125431,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125431,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:54:08] local.INFO: Processing buffer {"connection_id":125431,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:54:08] local.INFO: IMEI packet received {"connection_id":125431,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":125431,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:54:10] local.INFO: TCP Data received {"connection_id":125431,"ip":"42.106.6.20","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-08 11:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125431,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-08 11:54:10] local.INFO: Processing buffer {"connection_id":125431,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-08 11:54:10] local.INFO: IMEI packet received {"connection_id":125431,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":125431,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:54:10] local.INFO: TCP Data received {"connection_id":126180,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:54:10] local.INFO: Processing buffer {"connection_id":126180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:54:10] local.INFO: IMEI packet received {"connection_id":126180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":126180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:54:11] local.INFO: TCP Data received {"connection_id":126180,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4061d830012d181d000721af58004900da27..."} 
[2026-07-08 11:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4061d830012d181d000721af58004900da27..."} 
[2026-07-08 11:54:11] local.INFO: Processing buffer {"connection_id":126180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4061d830012d181d000721af58004900da27..."} 
[2026-07-08 11:54:11] local.INFO: Packet analysis {"connection_id":126180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4061"} 
[2026-07-08 11:54:11] local.INFO: Extracted packet for processing {"connection_id":126180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4061"} 
[2026-07-08 11:54:11] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119648088,"longitude_deg":75.6555008,"latitude_deg":11.9648088,"altitude":73,"angle":218,"satellites":39,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-07-08 11:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573839616001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711463159595008,"note":"Value kept but may cause issues"} 
[2026-07-08 11:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864790016,"note":"Value kept but may cause issues"} 
[2026-07-08 11:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783491582000,"timestamp_ms":1783491582000,"timestamp_seconds":1783491582,"priority":1,"record_length":96,"hex_timestamp":"0000019f4061d830"} 
[2026-07-08 11:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 11:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573839616001,"66":12298,"120":206,"28":31744,"24":0,"16":4711463159595008,"45":1737545061864790016},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573839616001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:54:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:54:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711463159595008,"km_value":4711463159595.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864790016,"description":"Unknown IO ID 45"} 
[2026-07-08 11:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573839616001,"power":12298,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737545061864790016}} 
[2026-07-08 11:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":126180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:54:12] local.INFO: GPS data processed {"connection_id":126180,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:54:12] local.INFO: Acknowledgment sent {"connection_id":126180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:54:16] local.INFO: TCP Data received {"connection_id":126180,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40622a38012d181d000721af58004900da29..."} 
[2026-07-08 11:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40622a38012d181d000721af58004900da29..."} 
[2026-07-08 11:54:16] local.INFO: Processing buffer {"connection_id":126180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40622a38012d181d000721af58004900da29..."} 
[2026-07-08 11:54:16] local.INFO: Packet analysis {"connection_id":126180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4062"} 
[2026-07-08 11:54:16] local.INFO: Extracted packet for processing {"connection_id":126180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4062"} 
[2026-07-08 11:54:16] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119648088,"longitude_deg":75.6555008,"latitude_deg":11.9648088,"altitude":73,"angle":218,"satellites":41,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-07-08 11:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573844992001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711463159595008,"note":"Value kept but may cause issues"} 
[2026-07-08 11:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864790016,"note":"Value kept but may cause issues"} 
[2026-07-08 11:54:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783491603000,"timestamp_ms":1783491603000,"timestamp_seconds":1783491603,"priority":1,"record_length":96,"hex_timestamp":"0000019f40622a38"} 
[2026-07-08 11:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 11:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-08 11:54:16] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-08 11:54:16] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452304,"note":"Value kept but may cause issues"} 
[2026-07-08 11:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3171024896,"note":"Value kept but may cause issues"} 
[2026-07-08 11:54:16] local.WARNING: Large IO value detected {"io_id":189,"raw_value":144115188075855873,"note":"Value kept but may cause issues"} 
[2026-07-08 11:54:16] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4638608316567459871,"note":"Value kept but may cause issues"} 
[2026-07-08 11:54:16] local.WARNING: Large IO value detected {"io_id":73,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-07-08 11:54:16] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832570,"note":"Value kept but may cause issues"} 
[2026-07-08 11:54:16] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580147939344590,"note":"Value kept but may cause issues"} 
[2026-07-08 11:54:16] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513887923528532158,"note":"Value kept but may cause issues"} 
[2026-07-08 11:54:16] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2992111688,"note":"Value kept but may cause issues"} 
[2026-07-08 11:54:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-08 11:54:16] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2147951026,"note":"Value kept but may cause issues"} 
[2026-07-08 11:54:16] local.WARNING: Large IO value detected {"io_id":72,"raw_value":53523126528507904,"note":"Value kept but may cause issues"} 
[2026-07-08 11:54:16] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,120,28,24,241,158,16,189,159,134,45,175,73,40,10,66,52,237,128,1,240,255,64,33,4,113,205,31,88,39,239,2,7,72,38],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-08 11:54:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260444225807319040,"timestamp_seconds":5260444225807319.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 11:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":126180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":126180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":126180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573844992001,"66":12287,"120":206,"28":31744,"24":0,"16":4711463159595008,"45":1737545061864790016},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573844992001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:54:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:54:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711463159595008,"km_value":4711463159595.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864790016,"description":"Unknown IO ID 45"} 
[2026-07-08 11:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573844992001,"power":12287,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737545061864790016}} 
[2026-07-08 11:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":126180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:54:17] local.INFO: GPS data processed {"connection_id":126180,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:54:17] local.INFO: Acknowledgment sent {"connection_id":126180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:54:20] local.INFO: TCP Data received {"connection_id":126181,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126181,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:54:20] local.INFO: Processing buffer {"connection_id":126181,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:54:20] local.INFO: IMEI packet received {"connection_id":126181,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":126181,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:54:32] local.INFO: TCP Data received {"connection_id":125334,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f40658d68012d7f9b8005afe3b80000012d27..."} 
[2026-07-08 11:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40658d68012d7f9b8005afe3b80000012d27..."} 
[2026-07-08 11:54:32] local.INFO: Processing buffer {"connection_id":125334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40658d68012d7f9b8005afe3b80000012d27..."} 
[2026-07-08 11:54:32] local.INFO: Packet analysis {"connection_id":125334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4065"} 
[2026-07-08 11:54:32] local.INFO: Extracted packet for processing {"connection_id":125334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4065"} 
[2026-07-08 11:54:32] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":39,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573830144001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783491825000,"timestamp_ms":1783491825000,"timestamp_seconds":1783491825,"priority":1,"record_length":96,"hex_timestamp":"0000019f40658d68"} 
[2026-07-08 11:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":118,"data_length":795,"current_offset":136} 
[2026-07-08 11:54: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-07-08 11:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:54: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-07-08 11:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573830144001,"66":25451,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573830144001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:54:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:54:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573830144001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 11:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":125334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:54:32] local.INFO: GPS data processed {"connection_id":125334,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:54:32] local.INFO: Acknowledgment sent {"connection_id":125334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:54:56] local.INFO: TCP Data received {"connection_id":125335,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:54:56] local.INFO: Processing buffer {"connection_id":125335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:54:56] local.INFO: IMEI packet received {"connection_id":125335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":125335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:55:01] local.INFO: TCP Data received {"connection_id":126183,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126183,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:55:01] local.INFO: Processing buffer {"connection_id":126183,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:55:01] local.INFO: IMEI packet received {"connection_id":126183,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":126183,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:55:01] local.INFO: TCP Data received {"connection_id":125335,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:55:01] local.INFO: Processing buffer {"connection_id":125335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:55:01] local.INFO: IMEI packet received {"connection_id":125335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":125335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:55:02] local.INFO: TCP Data received {"connection_id":125335,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f40658d68012d7f9b8005afe3b80000012d27..."} 
[2026-07-08 11:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40658d68012d7f9b8005afe3b80000012d27..."} 
[2026-07-08 11:55:02] local.INFO: Processing buffer {"connection_id":125335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40658d68012d7f9b8005afe3b80000012d27..."} 
[2026-07-08 11:55:02] local.INFO: Packet analysis {"connection_id":125335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4065"} 
[2026-07-08 11:55:02] local.INFO: Extracted packet for processing {"connection_id":125335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4065"} 
[2026-07-08 11:55:02] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":39,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573830144001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783491825000,"timestamp_ms":1783491825000,"timestamp_seconds":1783491825,"priority":1,"record_length":96,"hex_timestamp":"0000019f40658d68"} 
[2026-07-08 11:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:55:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 11:55: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-07-08 11: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-07-08 11:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573830144001,"66":25451,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573830144001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:55:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:55:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573830144001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 11:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":125335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:55:02] local.INFO: GPS data processed {"connection_id":125335,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:55:02] local.INFO: Acknowledgment sent {"connection_id":125335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:55:02] local.INFO: TCP Data received {"connection_id":126183,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126183,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:55:02] local.INFO: Processing buffer {"connection_id":126183,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:55:02] local.INFO: IMEI packet received {"connection_id":126183,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":126183,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:55:04] local.INFO: TCP Data received {"connection_id":126183,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4065aca8012d181d000721af58004900da26..."} 
[2026-07-08 11:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4065aca8012d181d000721af58004900da26..."} 
[2026-07-08 11:55:04] local.INFO: Processing buffer {"connection_id":126183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4065aca8012d181d000721af58004900da26..."} 
[2026-07-08 11:55:04] local.INFO: Packet analysis {"connection_id":126183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4065"} 
[2026-07-08 11:55:04] local.INFO: Extracted packet for processing {"connection_id":126183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4065"} 
[2026-07-08 11:55:04] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119648088,"longitude_deg":75.6555008,"latitude_deg":11.9648088,"altitude":73,"angle":218,"satellites":38,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-07-08 11:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573903872001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711463159595008,"note":"Value kept but may cause issues"} 
[2026-07-08 11:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864790016,"note":"Value kept but may cause issues"} 
[2026-07-08 11:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783491833000,"timestamp_ms":1783491833000,"timestamp_seconds":1783491833,"priority":1,"record_length":96,"hex_timestamp":"0000019f4065aca8"} 
[2026-07-08 11:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 11:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513884624993714394,"note":"Value kept but may cause issues"} 
[2026-07-08 11:55:04] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-08 11:55:04] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452304,"note":"Value kept but may cause issues"} 
[2026-07-08 11:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3171745792,"note":"Value kept but may cause issues"} 
[2026-07-08 11:55:04] local.WARNING: Large IO value detected {"io_id":189,"raw_value":936748722493063169,"note":"Value kept but may cause issues"} 
[2026-07-08 11:55:04] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4639587569110947869,"note":"Value kept but may cause issues"} 
[2026-07-08 11:55:04] local.WARNING: Large IO value detected {"io_id":73,"raw_value":61405525388034048,"note":"Value kept but may cause issues"} 
[2026-07-08 11:55:04] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832570,"note":"Value kept but may cause issues"} 
[2026-07-08 11:55:04] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580147939344590,"note":"Value kept but may cause issues"} 
[2026-07-08 11:55:04] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2941780041,"note":"Value kept but may cause issues"} 
[2026-07-08 11:55:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-08 11:55:04] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,120,28,24,241,158,16,189,159,8,45,175,73,37,10,66,182,100,1,240,64,33,4,113,205,192,29,88,239,48,2,7,40],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-08 11:55:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260444212922417152,"timestamp_seconds":5260444212922417.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 11:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573903872001,"66":11515,"120":206,"28":31744,"24":0,"16":4711463159595008,"45":1737545061864790016},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573903872001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:55:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:55:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711463159595008,"km_value":4711463159595.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864790016,"description":"Unknown IO ID 45"} 
[2026-07-08 11:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573903872001,"power":11515,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737545061864790016}} 
[2026-07-08 11:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":126183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:55:04] local.INFO: GPS data processed {"connection_id":126183,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:55:04] local.INFO: Acknowledgment sent {"connection_id":126183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:55:33] local.INFO: TCP Data received {"connection_id":125335,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f40658d68012d7f9b8005afe3b80000012d27..."} 
[2026-07-08 11:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40658d68012d7f9b8005afe3b80000012d27..."} 
[2026-07-08 11:55:33] local.INFO: Processing buffer {"connection_id":125335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40658d68012d7f9b8005afe3b80000012d27..."} 
[2026-07-08 11:55:33] local.INFO: Packet analysis {"connection_id":125335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4065"} 
[2026-07-08 11:55:33] local.INFO: Extracted packet for processing {"connection_id":125335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4065"} 
[2026-07-08 11:55:33] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":39,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573830144001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783491825000,"timestamp_ms":1783491825000,"timestamp_seconds":1783491825,"priority":1,"record_length":96,"hex_timestamp":"0000019f40658d68"} 
[2026-07-08 11:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 11:55: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-07-08 11:55:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573830144001,"66":25451,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573830144001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:55:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:55:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573830144001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 11:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":125335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:55:33] local.INFO: GPS data processed {"connection_id":125335,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:55:33] local.INFO: Acknowledgment sent {"connection_id":125335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:55:35] local.INFO: TCP Data received {"connection_id":126183,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4065feb0012d181d000721af58004900da24..."} 
[2026-07-08 11:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4065feb0012d181d000721af58004900da24..."} 
[2026-07-08 11:55:35] local.INFO: Processing buffer {"connection_id":126183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4065feb0012d181d000721af58004900da24..."} 
[2026-07-08 11:55:35] local.INFO: Packet analysis {"connection_id":126183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4065"} 
[2026-07-08 11:55:35] local.INFO: Extracted packet for processing {"connection_id":126183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4065"} 
[2026-07-08 11:55:35] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119648088,"longitude_deg":75.6555008,"latitude_deg":11.9648088,"altitude":73,"angle":218,"satellites":36,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-07-08 11:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573909248001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711463159595008,"note":"Value kept but may cause issues"} 
[2026-07-08 11:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864790016,"note":"Value kept but may cause issues"} 
[2026-07-08 11:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783491854000,"timestamp_ms":1783491854000,"timestamp_seconds":1783491854,"priority":1,"record_length":96,"hex_timestamp":"0000019f4065feb0"} 
[2026-07-08 11:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-07-08 11:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2677,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573909248001,"66":14070,"120":206,"28":31744,"24":0,"16":4711463159595008,"45":1737545061864790016},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573909248001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:55:35] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:55:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711463159595008,"km_value":4711463159595.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864790016,"description":"Unknown IO ID 45"} 
[2026-07-08 11:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573909248001,"power":14070,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737545061864790016}} 
[2026-07-08 11:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":126183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:55:35] local.INFO: GPS data processed {"connection_id":126183,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:55:35] local.INFO: Acknowledgment sent {"connection_id":126183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:56:00] local.INFO: TCP Data received {"connection_id":127449,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:56:00] local.INFO: Processing buffer {"connection_id":127449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:56:00] local.INFO: IMEI packet received {"connection_id":127449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":127449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:56:01] local.INFO: TCP Data received {"connection_id":125336,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:56:01] local.INFO: Processing buffer {"connection_id":125336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:56:01] local.INFO: IMEI packet received {"connection_id":125336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":125336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:56:03] local.INFO: TCP Data received {"connection_id":127449,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:56:03] local.INFO: Processing buffer {"connection_id":127449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:56:03] local.INFO: IMEI packet received {"connection_id":127449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":127449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:56:06] local.INFO: TCP Data received {"connection_id":125336,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:56:06] local.INFO: Processing buffer {"connection_id":125336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:56:06] local.INFO: IMEI packet received {"connection_id":125336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":125336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:56:06] local.INFO: TCP Data received {"connection_id":127449,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:56:06] local.INFO: Processing buffer {"connection_id":127449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:56:06] local.INFO: IMEI packet received {"connection_id":127449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":127449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:56:07] local.INFO: TCP Data received {"connection_id":125336,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40658d68012d7f9b8005afe3b80000012d27..."} 
[2026-07-08 11:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40658d68012d7f9b8005afe3b80000012d27..."} 
[2026-07-08 11:56:07] local.INFO: Processing buffer {"connection_id":125336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40658d68012d7f9b8005afe3b80000012d27..."} 
[2026-07-08 11:56:07] local.INFO: Packet analysis {"connection_id":125336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4065"} 
[2026-07-08 11:56:07] local.INFO: Extracted packet for processing {"connection_id":125336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4065"} 
[2026-07-08 11:56:07] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":39,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573830144001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783491825000,"timestamp_ms":1783491825000,"timestamp_seconds":1783491825,"priority":1,"record_length":96,"hex_timestamp":"0000019f40658d68"} 
[2026-07-08 11:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 11:56: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-07-08 11:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573830144001,"66":25451,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573830144001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:56:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:56:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573830144001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 11:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":125336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:56:07] local.INFO: GPS data processed {"connection_id":125336,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:56:07] local.INFO: Acknowledgment sent {"connection_id":125336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:56:07] local.INFO: TCP Data received {"connection_id":127449,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f406650b8012d181d000721af58004900da26..."} 
[2026-07-08 11:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406650b8012d181d000721af58004900da26..."} 
[2026-07-08 11:56:07] local.INFO: Processing buffer {"connection_id":127449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406650b8012d181d000721af58004900da26..."} 
[2026-07-08 11:56:07] local.INFO: Packet analysis {"connection_id":127449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4066"} 
[2026-07-08 11:56:07] local.INFO: Extracted packet for processing {"connection_id":127449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4066"} 
[2026-07-08 11:56:07] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119648088,"longitude_deg":75.6555008,"latitude_deg":11.9648088,"altitude":73,"angle":218,"satellites":38,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-07-08 11:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573914624001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711463159595008,"note":"Value kept but may cause issues"} 
[2026-07-08 11:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864790016,"note":"Value kept but may cause issues"} 
[2026-07-08 11:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783491875000,"timestamp_ms":1783491875000,"timestamp_seconds":1783491875,"priority":1,"record_length":96,"hex_timestamp":"0000019f406650b8"} 
[2026-07-08 11:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-08 11:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573914624001,"66":14102,"120":206,"28":31744,"24":0,"16":4711463159595008,"45":1737545061864790016},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573914624001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:56:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:56:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711463159595008,"km_value":4711463159595.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864790016,"description":"Unknown IO ID 45"} 
[2026-07-08 11:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573914624001,"power":14102,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737545061864790016}} 
[2026-07-08 11:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":127449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:56:07] local.INFO: GPS data processed {"connection_id":127449,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:56:07] local.INFO: Acknowledgment sent {"connection_id":127449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:56:12] local.INFO: TCP Data received {"connection_id":127449,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40666440012d181d400721ac10004b00bf24..."} 
[2026-07-08 11:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40666440012d181d400721ac10004b00bf24..."} 
[2026-07-08 11:56:12] local.INFO: Processing buffer {"connection_id":127449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40666440012d181d400721ac10004b00bf24..."} 
[2026-07-08 11:56:12] local.INFO: Packet analysis {"connection_id":127449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4066"} 
[2026-07-08 11:56:12] local.INFO: Extracted packet for processing {"connection_id":127449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4066"} 
[2026-07-08 11:56:12] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647248,"longitude_deg":75.6555072,"latitude_deg":11.9647248,"altitude":75,"angle":191,"satellites":36,"speed":3,"hex_longitude":"2d181d40","hex_latitude":"0721ac10","is_valid_coordinates":true} 
[2026-07-08 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-07-08 11:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573920000001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711501814300672,"note":"Value kept but may cause issues"} 
[2026-07-08 11:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864790016,"note":"Value kept but may cause issues"} 
[2026-07-08 11:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783491880000,"timestamp_ms":1783491880000,"timestamp_seconds":1783491880,"priority":1,"record_length":96,"hex_timestamp":"0000019f40666440"} 
[2026-07-08 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-07-08 11:56: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-07-08 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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-08 11:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 11:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":127449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":127449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":127449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573920000001,"66":13863,"120":206,"28":31744,"24":3,"16":4711501814300672,"45":1737545061864790016},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573920000001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:56:12] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:56:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711501814300672,"km_value":4711501814300.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864790016,"description":"Unknown IO ID 45"} 
[2026-07-08 11:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573920000001,"power":13863,"unknown_120":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1737545061864790016}} 
[2026-07-08 11:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":127449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:56:12] local.INFO: GPS data processed {"connection_id":127449,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:56:12] local.INFO: Acknowledgment sent {"connection_id":127449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:56:38] local.INFO: TCP Data received {"connection_id":125336,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40658d68012d7f9b8005afe3b80000012d27..."} 
[2026-07-08 11:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40658d68012d7f9b8005afe3b80000012d27..."} 
[2026-07-08 11:56:38] local.INFO: Processing buffer {"connection_id":125336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40658d68012d7f9b8005afe3b80000012d27..."} 
[2026-07-08 11:56:38] local.INFO: Packet analysis {"connection_id":125336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4065"} 
[2026-07-08 11:56:38] local.INFO: Extracted packet for processing {"connection_id":125336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4065"} 
[2026-07-08 11:56:38] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":39,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573830144001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783491825000,"timestamp_ms":1783491825000,"timestamp_seconds":1783491825,"priority":1,"record_length":96,"hex_timestamp":"0000019f40658d68"} 
[2026-07-08 11:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 11:56: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-07-08 11:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573830144001,"66":25451,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573830144001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:56:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:56:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573830144001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 11:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":125336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:56:38] local.INFO: GPS data processed {"connection_id":125336,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:56:38] local.INFO: Acknowledgment sent {"connection_id":125336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:56:43] local.INFO: TCP Data received {"connection_id":127449,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40666828012d181d400721ab98004b00b225..."} 
[2026-07-08 11:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40666828012d181d400721ab98004b00b225..."} 
[2026-07-08 11:56:43] local.INFO: Processing buffer {"connection_id":127449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40666828012d181d400721ab98004b00b225..."} 
[2026-07-08 11:56:43] local.INFO: Packet analysis {"connection_id":127449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4066"} 
[2026-07-08 11:56:43] local.INFO: Extracted packet for processing {"connection_id":127449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4066"} 
[2026-07-08 11:56:43] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647128,"longitude_deg":75.6555072,"latitude_deg":11.9647128,"altitude":75,"angle":178,"satellites":37,"speed":3,"hex_longitude":"2d181d40","hex_latitude":"0721ab98","is_valid_coordinates":true} 
[2026-07-08 11:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573921280001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711506109267968,"note":"Value kept but may cause issues"} 
[2026-07-08 11:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608752640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:56:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783491881000,"timestamp_ms":1783491881000,"timestamp_seconds":1783491881,"priority":1,"record_length":96,"hex_timestamp":"0000019f40666828"} 
[2026-07-08 11:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:56:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-07-08 11:56:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:56:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":127449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":127449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":127449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573921280001,"66":13863,"120":206,"28":31744,"24":3,"16":4711506109267968,"45":1737615430608752640},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573921280001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:56:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:56:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711506109267968,"km_value":4711506109267.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608752640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573921280001,"power":13863,"unknown_120":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1737615430608752640}} 
[2026-07-08 11:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":127449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:56:43] local.INFO: GPS data processed {"connection_id":127449,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:56:43] local.INFO: Acknowledgment sent {"connection_id":127449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:56:56] local.INFO: TCP Data received {"connection_id":126186,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:56:56] local.INFO: Processing buffer {"connection_id":126186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:56:56] local.INFO: IMEI packet received {"connection_id":126186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":126186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:57:00] local.INFO: TCP Data received {"connection_id":127450,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:57:00] local.INFO: Processing buffer {"connection_id":127450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:57:00] local.INFO: IMEI packet received {"connection_id":127450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":127450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:57:01] local.INFO: TCP Data received {"connection_id":126186,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:57:01] local.INFO: Processing buffer {"connection_id":126186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:57:01] local.INFO: IMEI packet received {"connection_id":126186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":126186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:57:02] local.INFO: TCP Data received {"connection_id":126186,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40658d68012d7f9b8005afe3b80000012d27..."} 
[2026-07-08 11:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40658d68012d7f9b8005afe3b80000012d27..."} 
[2026-07-08 11:57:02] local.INFO: Processing buffer {"connection_id":126186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40658d68012d7f9b8005afe3b80000012d27..."} 
[2026-07-08 11:57:02] local.INFO: Packet analysis {"connection_id":126186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4065"} 
[2026-07-08 11:57:02] local.INFO: Extracted packet for processing {"connection_id":126186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4065"} 
[2026-07-08 11:57:02] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":39,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573830144001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783491825000,"timestamp_ms":1783491825000,"timestamp_seconds":1783491825,"priority":1,"record_length":96,"hex_timestamp":"0000019f40658d68"} 
[2026-07-08 11:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 11:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573830144001,"66":25451,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573830144001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:57:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:57:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573830144001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 11:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":126186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:57:02] local.INFO: GPS data processed {"connection_id":126186,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:57:02] local.INFO: Acknowledgment sent {"connection_id":126186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:57:06] local.INFO: TCP Data received {"connection_id":127450,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:57:06] local.INFO: Processing buffer {"connection_id":127450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:57:06] local.INFO: IMEI packet received {"connection_id":127450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":127450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:57:07] local.INFO: TCP Data received {"connection_id":127450,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40666c10012d181d400721ab48004b009825..."} 
[2026-07-08 11:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40666c10012d181d400721ab48004b009825..."} 
[2026-07-08 11:57:07] local.INFO: Processing buffer {"connection_id":127450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40666c10012d181d400721ab48004b009825..."} 
[2026-07-08 11:57:07] local.INFO: Packet analysis {"connection_id":127450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4066"} 
[2026-07-08 11:57:07] local.INFO: Extracted packet for processing {"connection_id":127450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4066"} 
[2026-07-08 11:57:07] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647048,"longitude_deg":75.6555072,"latitude_deg":11.9647048,"altitude":75,"angle":152,"satellites":37,"speed":3,"hex_longitude":"2d181d40","hex_latitude":"0721ab48","is_valid_coordinates":true} 
[2026-07-08 11:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573921536001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4711510404235264,"note":"Value kept but may cause issues"} 
[2026-07-08 11:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608721920,"note":"Value kept but may cause issues"} 
[2026-07-08 11:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783491882000,"timestamp_ms":1783491882000,"timestamp_seconds":1783491882,"priority":1,"record_length":96,"hex_timestamp":"0000019f40666c10"} 
[2026-07-08 11:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-07-08 11:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573921536001,"66":13580,"120":206,"28":31744,"24":3,"16":4711510404235264,"45":1737615430608721920},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 11:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573921536001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:57:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 11:57:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4711510404235264,"km_value":4711510404235.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608721920,"description":"Unknown IO ID 45"} 
[2026-07-08 11:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573921536001,"power":13580,"unknown_120":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1737615430608721920}} 
[2026-07-08 11:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":127450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:57:07] local.INFO: GPS data processed {"connection_id":127450,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:57:07] local.INFO: Acknowledgment sent {"connection_id":127450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:57:17] local.INFO: TCP Data received {"connection_id":125337,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125337,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:57:17] local.INFO: Processing buffer {"connection_id":125337,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:57:17] local.INFO: IMEI packet received {"connection_id":125337,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 11:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":125337,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:57:32] local.INFO: TCP Data received {"connection_id":126186,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40658d68012d7f9b8005afe3b80000012d27..."} 
[2026-07-08 11:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40658d68012d7f9b8005afe3b80000012d27..."} 
[2026-07-08 11:57:32] local.INFO: Processing buffer {"connection_id":126186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40658d68012d7f9b8005afe3b80000012d27..."} 
[2026-07-08 11:57:32] local.INFO: Packet analysis {"connection_id":126186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4065"} 
[2026-07-08 11:57:32] local.INFO: Extracted packet for processing {"connection_id":126186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4065"} 
[2026-07-08 11:57:32] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":39,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573830144001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783491825000,"timestamp_ms":1783491825000,"timestamp_seconds":1783491825,"priority":1,"record_length":96,"hex_timestamp":"0000019f40658d68"} 
[2026-07-08 11:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":118,"data_length":795,"current_offset":136} 
[2026-07-08 11:57: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-07-08 11: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-07-08 11:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:57: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-07-08 11:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573830144001,"66":25451,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573830144001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:57:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:57:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573830144001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 11:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":126186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:57:32] local.INFO: GPS data processed {"connection_id":126186,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:57:32] local.INFO: Acknowledgment sent {"connection_id":126186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:57:39] local.INFO: TCP Data received {"connection_id":127450,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40686fb0012d186dc0072182800052005925..."} 
[2026-07-08 11:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40686fb0012d186dc0072182800052005925..."} 
[2026-07-08 11:57:39] local.INFO: Processing buffer {"connection_id":127450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40686fb0012d186dc0072182800052005925..."} 
[2026-07-08 11:57:39] local.INFO: Packet analysis {"connection_id":127450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4068"} 
[2026-07-08 11:57:39] local.INFO: Extracted packet for processing {"connection_id":127450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4068"} 
[2026-07-08 11:57:39] local.INFO: GPS Element Parsed {"raw_longitude":756575680,"raw_latitude":119636608,"longitude_deg":75.657568,"latitude_deg":11.9636608,"altitude":82,"angle":89,"satellites":37,"speed":32,"hex_longitude":"2d186dc0","hex_latitude":"07218280","is_valid_coordinates":true} 
[2026-07-08 11:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573954816001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4712661455470592,"note":"Value kept but may cause issues"} 
[2026-07-08 11:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757670522696730624,"note":"Value kept but may cause issues"} 
[2026-07-08 11:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783492014000,"timestamp_ms":1783492014000,"timestamp_seconds":1783492014,"priority":1,"record_length":96,"hex_timestamp":"0000019f40686fb0"} 
[2026-07-08 11:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-08 11:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":127450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":127450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":127450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573954816001,"66":13993,"121":206,"28":31744,"24":32,"16":4712661455470592,"45":1757670522696730624},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 11:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573954816001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:57:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 11:57:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4712661455470592,"km_value":4712661455470.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757670522696730624,"description":"Unknown IO ID 45"} 
[2026-07-08 11:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573954816001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1757670522696730624}} 
[2026-07-08 11:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":127450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:57:39] local.INFO: GPS data processed {"connection_id":127450,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:57:39] local.INFO: Acknowledgment sent {"connection_id":127450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:57:56] local.INFO: TCP Data received {"connection_id":126188,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:57:56] local.INFO: Processing buffer {"connection_id":126188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:57:56] local.INFO: IMEI packet received {"connection_id":126188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":126188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:57:56] local.INFO: TCP Data received {"connection_id":126189,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126189,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:57:56] local.INFO: Processing buffer {"connection_id":126189,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 11:57:56] local.INFO: IMEI packet received {"connection_id":126189,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 11:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":126189,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:58:00] local.INFO: TCP Data received {"connection_id":125338,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:58:00] local.INFO: Processing buffer {"connection_id":125338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:58:00] local.INFO: IMEI packet received {"connection_id":125338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":125338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:58:01] local.INFO: TCP Data received {"connection_id":126188,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:58:01] local.INFO: Processing buffer {"connection_id":126188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:58:01] local.INFO: IMEI packet received {"connection_id":126188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":126188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:58:01] local.INFO: TCP Data received {"connection_id":126188,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f40658d68012d7f9b8005afe3b80000012d27..."} 
[2026-07-08 11:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40658d68012d7f9b8005afe3b80000012d27..."} 
[2026-07-08 11:58:01] local.INFO: Processing buffer {"connection_id":126188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40658d68012d7f9b8005afe3b80000012d27..."} 
[2026-07-08 11:58:01] local.INFO: Packet analysis {"connection_id":126188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4065"} 
[2026-07-08 11:58:01] local.INFO: Extracted packet for processing {"connection_id":126188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4065"} 
[2026-07-08 11:58:01] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":39,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 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-07-08 11:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573830144001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783491825000,"timestamp_ms":1783491825000,"timestamp_seconds":1783491825,"priority":1,"record_length":96,"hex_timestamp":"0000019f40658d68"} 
[2026-07-08 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-07-08 11:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":118,"data_length":795,"current_offset":136} 
[2026-07-08 11:58: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-07-08 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-07-08 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-07-08 11:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573830144001,"66":25451,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573830144001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:58:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:58:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573830144001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 11:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":126188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:58:01] local.INFO: GPS data processed {"connection_id":126188,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:58:01] local.INFO: Acknowledgment sent {"connection_id":126188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:58:01] local.INFO: TCP Data received {"connection_id":125338,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:58:01] local.INFO: Processing buffer {"connection_id":125338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:58:01] local.INFO: IMEI packet received {"connection_id":125338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":125338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:58:03] local.INFO: TCP Data received {"connection_id":125338,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:58:03] local.INFO: Processing buffer {"connection_id":125338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:58:03] local.INFO: IMEI packet received {"connection_id":125338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":125338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:58:05] local.INFO: TCP Data received {"connection_id":125338,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:58:05] local.INFO: Processing buffer {"connection_id":125338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:58:05] local.INFO: IMEI packet received {"connection_id":125338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":125338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:58:06] local.INFO: TCP Data received {"connection_id":125338,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40688ef0012d188640072181b80051006821..."} 
[2026-07-08 11:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40688ef0012d188640072181b80051006821..."} 
[2026-07-08 11:58:06] local.INFO: Processing buffer {"connection_id":125338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40688ef0012d188640072181b80051006821..."} 
[2026-07-08 11:58:06] local.INFO: Packet analysis {"connection_id":125338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4068"} 
[2026-07-08 11:58:06] local.INFO: Extracted packet for processing {"connection_id":125338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4068"} 
[2026-07-08 11:58:06] local.INFO: GPS Element Parsed {"raw_longitude":756581952,"raw_latitude":119636408,"longitude_deg":75.6581952,"latitude_deg":11.9636408,"altitude":81,"angle":104,"satellites":33,"speed":30,"hex_longitude":"2d188640","hex_latitude":"072181b8","is_valid_coordinates":true} 
[2026-07-08 11:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573955584001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4712962103181312,"note":"Value kept but may cause issues"} 
[2026-07-08 11:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760274166231236608,"note":"Value kept but may cause issues"} 
[2026-07-08 11:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783492022000,"timestamp_ms":1783492022000,"timestamp_seconds":1783492022,"priority":1,"record_length":96,"hex_timestamp":"0000019f40688ef0"} 
[2026-07-08 11:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 11:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573955584001,"66":14265,"121":206,"28":31744,"24":30,"16":4712962103181312,"45":1760274166231236608},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 11:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573955584001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:58:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 11:58:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4712962103181312,"km_value":4712962103181.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760274166231236608,"description":"Unknown IO ID 45"} 
[2026-07-08 11:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573955584001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1760274166231236608}} 
[2026-07-08 11:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":125338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:58:06] local.INFO: GPS data processed {"connection_id":125338,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:58:06] local.INFO: Acknowledgment sent {"connection_id":125338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:58:35] local.INFO: TCP Data received {"connection_id":126188,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f40658d68012d7f9b8005afe3b80000012d27..."} 
[2026-07-08 11:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40658d68012d7f9b8005afe3b80000012d27..."} 
[2026-07-08 11:58:35] local.INFO: Processing buffer {"connection_id":126188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40658d68012d7f9b8005afe3b80000012d27..."} 
[2026-07-08 11:58:35] local.INFO: Packet analysis {"connection_id":126188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4065"} 
[2026-07-08 11:58:35] local.INFO: Extracted packet for processing {"connection_id":126188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4065"} 
[2026-07-08 11:58:35] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":39,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573830144001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783491825000,"timestamp_ms":1783491825000,"timestamp_seconds":1783491825,"priority":1,"record_length":96,"hex_timestamp":"0000019f40658d68"} 
[2026-07-08 11:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 11:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573830144001,"66":25451,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573830144001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:58:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:58:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573830144001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 11:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":126188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:58:35] local.INFO: GPS data processed {"connection_id":126188,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:58:35] local.INFO: Acknowledgment sent {"connection_id":126188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:58:38] local.INFO: TCP Data received {"connection_id":125338,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40695a10012d18d7400720ffd8003f009722..."} 
[2026-07-08 11:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40695a10012d18d7400720ffd8003f009722..."} 
[2026-07-08 11:58:38] local.INFO: Processing buffer {"connection_id":125338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40695a10012d18d7400720ffd8003f009722..."} 
[2026-07-08 11:58:38] local.INFO: Packet analysis {"connection_id":125338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4069"} 
[2026-07-08 11:58:38] local.INFO: Extracted packet for processing {"connection_id":125338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4069"} 
[2026-07-08 11:58:38] local.INFO: GPS Element Parsed {"raw_longitude":756602688,"raw_latitude":119603160,"longitude_deg":75.6602688,"latitude_deg":11.960316,"altitude":63,"angle":151,"satellites":34,"speed":34,"hex_longitude":"2d18d740","hex_latitude":"0720ffd8","is_valid_coordinates":true} 
[2026-07-08 11:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573969920001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4715032277417984,"note":"Value kept but may cause issues"} 
[2026-07-08 11:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788703138871279616,"note":"Value kept but may cause issues"} 
[2026-07-08 11:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783492074000,"timestamp_ms":1783492074000,"timestamp_seconds":1783492074,"priority":1,"record_length":96,"hex_timestamp":"0000019f40695a10"} 
[2026-07-08 11:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-08 11:58: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-07-08 11:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573969920001,"66":14265,"121":206,"28":31744,"24":34,"16":4715032277417984,"45":1788703138871279616},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 11:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573969920001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:58:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 11:58:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4715032277417984,"km_value":4715032277417.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788703138871279616,"description":"Unknown IO ID 45"} 
[2026-07-08 11:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573969920001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1788703138871279616}} 
[2026-07-08 11:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":125338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:58:38] local.INFO: GPS data processed {"connection_id":125338,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:58:38] local.INFO: Acknowledgment sent {"connection_id":125338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:58:56] local.INFO: TCP Data received {"connection_id":125434,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:58:56] local.INFO: Processing buffer {"connection_id":125434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:58:56] local.INFO: IMEI packet received {"connection_id":125434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 11:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":125434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:59:01] local.INFO: TCP Data received {"connection_id":125434,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:59:01] local.INFO: Processing buffer {"connection_id":125434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 11:59:01] local.INFO: IMEI packet received {"connection_id":125434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 11:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":125434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:59:02] local.INFO: TCP Data received {"connection_id":125434,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f40658d68012d7f9b8005afe3b80000012d27..."} 
[2026-07-08 11:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40658d68012d7f9b8005afe3b80000012d27..."} 
[2026-07-08 11:59:02] local.INFO: Processing buffer {"connection_id":125434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40658d68012d7f9b8005afe3b80000012d27..."} 
[2026-07-08 11:59:02] local.INFO: Packet analysis {"connection_id":125434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4065"} 
[2026-07-08 11:59:02] local.INFO: Extracted packet for processing {"connection_id":125434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4065"} 
[2026-07-08 11:59:02] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":39,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573830144001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783491825000,"timestamp_ms":1783491825000,"timestamp_seconds":1783491825,"priority":1,"record_length":96,"hex_timestamp":"0000019f40658d68"} 
[2026-07-08 11:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 11:59: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-07-08 11:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573830144001,"66":25451,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573830144001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:59:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:59:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573830144001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 11:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":125434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:59:02] local.INFO: GPS data processed {"connection_id":125434,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:59:02] local.INFO: Acknowledgment sent {"connection_id":125434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:59:08] local.INFO: TCP Data received {"connection_id":127452,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:59:08] local.INFO: Processing buffer {"connection_id":127452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 11:59:08] local.INFO: IMEI packet received {"connection_id":127452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 11:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":127452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:59:09] local.INFO: TCP Data received {"connection_id":127452,"ip":"117.224.101.146","data_length":51,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-08 11:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127452,"packet_length":51,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-08 11:59:09] local.INFO: Processing buffer {"connection_id":127452,"buffer_length":51,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-08 11:59:09] local.INFO: IMEI packet received {"connection_id":127452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":127452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:59:17] local.INFO: TCP Data received {"connection_id":127452,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f406961e0012d18db800720fac8003f008521..."} 
[2026-07-08 11:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406961e0012d18db800720fac8003f008521..."} 
[2026-07-08 11:59:17] local.INFO: Processing buffer {"connection_id":127452,"buffer_length":829,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-08 11:59:17] local.INFO: IMEI packet received {"connection_id":127452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":127452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:59:18] local.INFO: TCP Data received {"connection_id":127452,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40697568012d18e6800720ef48003e009122..."} 
[2026-07-08 11:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40697568012d18e6800720ef48003e009122..."} 
[2026-07-08 11:59:18] local.INFO: Processing buffer {"connection_id":127452,"buffer_length":1607,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019f40..."} 
[2026-07-08 11:59:18] local.INFO: IMEI packet received {"connection_id":127452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 11:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":127452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:59:19] local.INFO: TCP Data received {"connection_id":127452,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40699890012d18f7400720d6d0003b008622..."} 
[2026-07-08 11:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40699890012d18f7400720d6d0003b008622..."} 
[2026-07-08 11:59:19] local.INFO: Processing buffer {"connection_id":127452,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a0000019f406961e0012d18db800720fac8003f008521..."} 
[2026-07-08 11:59:19] local.INFO: Packet analysis {"connection_id":127452,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a0000019f4069"} 
[2026-07-08 11:59:19] local.INFO: Extracted packet for processing {"connection_id":127452,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f4069"} 
[2026-07-08 11:59:19] local.INFO: GPS Element Parsed {"raw_longitude":756603776,"raw_latitude":119601864,"longitude_deg":75.6603776,"latitude_deg":11.9601864,"altitude":63,"angle":133,"satellites":33,"speed":33,"hex_longitude":"2d18db80","hex_latitude":"0720fac8","is_valid_coordinates":true} 
[2026-07-08 11:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573970944001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4715113881796608,"note":"Value kept but may cause issues"} 
[2026-07-08 11:59:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789969776265648128,"note":"Value kept but may cause issues"} 
[2026-07-08 11:59:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783492076000,"timestamp_ms":1783492076000,"timestamp_seconds":1783492076,"priority":1,"record_length":96,"hex_timestamp":"0000019f406961e0"} 
[2026-07-08 11:59:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:59:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 11:59:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:59:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:59:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":127452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":127452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":127452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:59:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573970944001,"66":14265,"121":206,"28":31744,"24":33,"16":4715113881796608,"45":1789969776265648128},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 11:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573970944001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:59:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 11:59:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4715113881796608,"km_value":4715113881796.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:59:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789969776265648128,"description":"Unknown IO ID 45"} 
[2026-07-08 11:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573970944001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1789969776265648128}} 
[2026-07-08 11:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":127452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:59:20] local.INFO: GPS data processed {"connection_id":127452,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:59:20] local.INFO: Acknowledgment sent {"connection_id":127452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:59:20] local.INFO: Packet analysis {"connection_id":127452,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f4069"} 
[2026-07-08 11:59:20] local.INFO: Extracted packet for processing {"connection_id":127452,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4069"} 
[2026-07-08 11:59:20] local.INFO: GPS Element Parsed {"raw_longitude":756606592,"raw_latitude":119598920,"longitude_deg":75.6606592,"latitude_deg":11.959892,"altitude":62,"angle":145,"satellites":34,"speed":31,"hex_longitude":"2d18e680","hex_latitude":"0720ef48","is_valid_coordinates":true} 
[2026-07-08 11:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573971456001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4715311450292224,"note":"Value kept but may cause issues"} 
[2026-07-08 11:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791166044916336640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783492081000,"timestamp_ms":1783492081000,"timestamp_seconds":1783492081,"priority":1,"record_length":96,"hex_timestamp":"0000019f40697568"} 
[2026-07-08 11:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 11:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":127452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":127452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":127452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573971456001,"66":14363,"121":206,"28":31744,"24":31,"16":4715311450292224,"45":1791166044916336640},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 11:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573971456001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:59:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 11:59:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4715311450292224,"km_value":4715311450292.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791166044916336640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573971456001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1791166044916336640}} 
[2026-07-08 11:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":127452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:59:20] local.INFO: GPS data processed {"connection_id":127452,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:59:20] local.INFO: Acknowledgment sent {"connection_id":127452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:59:20] local.INFO: Packet analysis {"connection_id":127452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4069"} 
[2026-07-08 11:59:20] local.INFO: Extracted packet for processing {"connection_id":127452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4069"} 
[2026-07-08 11:59:20] local.INFO: GPS Element Parsed {"raw_longitude":756610880,"raw_latitude":119592656,"longitude_deg":75.661088,"latitude_deg":11.9592656,"altitude":59,"angle":134,"satellites":34,"speed":35,"hex_longitude":"2d18f740","hex_latitude":"0720d6d0","is_valid_coordinates":true} 
[2026-07-08 11:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573972736001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4715676522512384,"note":"Value kept but may cause issues"} 
[2026-07-08 11:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794262269659400192,"note":"Value kept but may cause issues"} 
[2026-07-08 11:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783492090000,"timestamp_ms":1783492090000,"timestamp_seconds":1783492090,"priority":1,"record_length":96,"hex_timestamp":"0000019f40699890"} 
[2026-07-08 11:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 11:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-08 11:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":127452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":127452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":127452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573972736001,"66":14243,"121":206,"28":31744,"24":35,"16":4715676522512384,"45":1794262269659400192},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 11:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573972736001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:59:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 11:59:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4715676522512384,"km_value":4715676522512.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794262269659400192,"description":"Unknown IO ID 45"} 
[2026-07-08 11:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573972736001,"power":14243,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1794262269659400192}} 
[2026-07-08 11:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":127452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:59:20] local.INFO: GPS data processed {"connection_id":127452,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:59:20] local.INFO: Acknowledgment sent {"connection_id":127452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:59:25] local.INFO: TCP Data received {"connection_id":125433,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125433,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:59:25] local.INFO: Processing buffer {"connection_id":125433,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:59:25] local.INFO: IMEI packet received {"connection_id":125433,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":125433,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:59:26] local.INFO: TCP Data received {"connection_id":125433,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f40666c10012d0b130007029fc00009013422..."} 
[2026-07-08 11:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40666c10012d0b130007029fc00009013422..."} 
[2026-07-08 11:59:26] local.INFO: Processing buffer {"connection_id":125433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40666c10012d0b130007029fc00009013422..."} 
[2026-07-08 11:59:26] local.INFO: Packet analysis {"connection_id":125433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4066"} 
[2026-07-08 11:59:26] local.INFO: Extracted packet for processing {"connection_id":125433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4066"} 
[2026-07-08 11:59:26] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":9,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573844736001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783491882000,"timestamp_ms":1783491882000,"timestamp_seconds":1783491882,"priority":1,"record_length":96,"hex_timestamp":"0000019f40666c10"} 
[2026-07-08 11:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:59:26] 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-07-08 11: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:59:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":125433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":125433,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":125433,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:59:26] 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-07-08 11:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573844736001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 11:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573844736001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:59:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573844736001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":125433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450788,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:59:27] local.INFO: GPS data processed {"connection_id":125433,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:59:27] local.INFO: Acknowledgment sent {"connection_id":125433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:59:33] local.INFO: TCP Data received {"connection_id":125434,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f406a2530012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 11:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406a2530012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 11:59:33] local.INFO: Processing buffer {"connection_id":125434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406a2530012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 11:59:33] local.INFO: Packet analysis {"connection_id":125434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406a"} 
[2026-07-08 11:59:33] local.INFO: Extracted packet for processing {"connection_id":125434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406a"} 
[2026-07-08 11:59:33] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":42,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 11: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-07-08 11:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573907200001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 11:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 11:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783492126000,"timestamp_ms":1783492126000,"timestamp_seconds":1783492126,"priority":1,"record_length":96,"hex_timestamp":"0000019f406a2530"} 
[2026-07-08 11:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 11: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 11:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11: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-07-08 11:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 11:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 11:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 11:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573907200001,"66":25451,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 11:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 11:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 11:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573907200001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:59:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 11:59:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 11:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 11:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573907200001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 11:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":125434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:59:33] local.INFO: GPS data processed {"connection_id":125434,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:59:33] local.INFO: Acknowledgment sent {"connection_id":125434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:59:41] local.INFO: TCP Data received {"connection_id":127452,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4069a448012d18ff400720d168003b00791f..."} 
[2026-07-08 11:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4069a448012d18ff400720d168003b00791f..."} 
[2026-07-08 11:59:41] local.INFO: Processing buffer {"connection_id":127452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4069a448012d18ff400720d168003b00791f..."} 
[2026-07-08 11:59:41] local.INFO: Packet analysis {"connection_id":127452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4069"} 
[2026-07-08 11:59:41] local.INFO: Extracted packet for processing {"connection_id":127452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4069"} 
[2026-07-08 11:59:41] local.INFO: GPS Element Parsed {"raw_longitude":756612928,"raw_latitude":119591272,"longitude_deg":75.6612928,"latitude_deg":11.9591272,"altitude":59,"angle":121,"satellites":31,"speed":32,"hex_longitude":"2d18ff40","hex_latitude":"0720d168","is_valid_coordinates":true} 
[2026-07-08 11:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573975040001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4715796781596672,"note":"Value kept but may cause issues"} 
[2026-07-08 11:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798976975517700096,"note":"Value kept but may cause issues"} 
[2026-07-08 11:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783492093000,"timestamp_ms":1783492093000,"timestamp_seconds":1783492093,"priority":1,"record_length":96,"hex_timestamp":"0000019f4069a448"} 
[2026-07-08 11:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:59: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-07-08 11: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-08 11:59: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-07-08 11:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":127452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":127452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":127452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 11:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 11:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 11:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573975040001,"66":14080,"121":206,"28":31744,"24":32,"16":4715796781596672,"45":1798976975517700096},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 11:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 11:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 11:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573975040001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:59:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 11:59:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 11:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4715796781596672,"km_value":4715796781596.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798976975517700096,"description":"Unknown IO ID 45"} 
[2026-07-08 11:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573975040001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1798976975517700096}} 
[2026-07-08 11:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":127452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:59:41] local.INFO: GPS data processed {"connection_id":127452,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:59:41] local.INFO: Acknowledgment sent {"connection_id":127452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 11:59:45] local.INFO: TCP Data received {"connection_id":126190,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126190,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:59:45] local.INFO: Processing buffer {"connection_id":126190,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:59:45] local.INFO: IMEI packet received {"connection_id":126190,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 11:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":126190,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 11:59:45] local.INFO: TCP Data received {"connection_id":126190,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126190,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:59:45] local.INFO: Processing buffer {"connection_id":126190,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:59:45] local.INFO: IMEI packet received {"connection_id":126190,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":126190,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:59:50] local.INFO: TCP Data received {"connection_id":126190,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126190,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:59:50] local.INFO: Processing buffer {"connection_id":126190,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 11:59:50] local.INFO: IMEI packet received {"connection_id":126190,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 11:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":126190,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 11:59:59] local.INFO: TCP Data received {"connection_id":126190,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f406b03d8012d0b130007029fc00009013423..."} 
[2026-07-08 11:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406b03d8012d0b130007029fc00009013423..."} 
[2026-07-08 11:59:59] local.INFO: Processing buffer {"connection_id":126190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406b03d8012d0b130007029fc00009013423..."} 
[2026-07-08 11:59:59] local.INFO: Packet analysis {"connection_id":126190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406b"} 
[2026-07-08 11:59:59] local.INFO: Extracted packet for processing {"connection_id":126190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406b"} 
[2026-07-08 11:59:59] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":9,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 11:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 11:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573921792001,"note":"Value kept but may cause issues"} 
[2026-07-08 11:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 11:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 11:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 11:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783492183000,"timestamp_ms":1783492183000,"timestamp_seconds":1783492183,"priority":1,"record_length":96,"hex_timestamp":"0000019f406b03d8"} 
[2026-07-08 11:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 11:59:59] 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-07-08 11:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 11:59:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 11:59:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 11:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 11:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 11:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":126190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 11:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":126190,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":126190,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 11:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 11:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 11:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 11:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573921792001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 11:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 11:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 11:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573921792001,"description":"Unknown IO ID 0"} 
[2026-07-08 11:59:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 11:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 11:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 11:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573921792001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 11:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":126190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450791,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 11:59:59] local.INFO: GPS data processed {"connection_id":126190,"processed":1,"errors":0,"total":1} 
[2026-07-08 11:59:59] local.INFO: Acknowledgment sent {"connection_id":126190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:00:01] local.INFO: TCP Data received {"connection_id":127453,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:00:01] local.INFO: Processing buffer {"connection_id":127453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:00:01] local.INFO: IMEI packet received {"connection_id":127453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":127453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:00:03] local.INFO: TCP Data received {"connection_id":125339,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:00:03] local.INFO: Processing buffer {"connection_id":125339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:00:03] local.INFO: IMEI packet received {"connection_id":125339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":125339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:00:05] local.INFO: TCP Data received {"connection_id":125339,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:00:05] local.INFO: Processing buffer {"connection_id":125339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:00:05] local.INFO: IMEI packet received {"connection_id":125339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":125339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:00:06] local.INFO: TCP Data received {"connection_id":127453,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:00:06] local.INFO: Processing buffer {"connection_id":127453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:00:06] local.INFO: IMEI packet received {"connection_id":127453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":127453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:00:06] local.INFO: TCP Data received {"connection_id":127453,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f406a2530012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 12:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406a2530012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 12:00:06] local.INFO: Processing buffer {"connection_id":127453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406a2530012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 12:00:06] local.INFO: Packet analysis {"connection_id":127453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406a"} 
[2026-07-08 12:00:06] local.INFO: Extracted packet for processing {"connection_id":127453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406a"} 
[2026-07-08 12:00:06] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":42,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 12:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573907200001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 12:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783492126000,"timestamp_ms":1783492126000,"timestamp_seconds":1783492126,"priority":1,"record_length":96,"hex_timestamp":"0000019f406a2530"} 
[2026-07-08 12:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12: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":107,"data_length":795,"current_offset":136} 
[2026-07-08 12:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573907200001,"66":25451,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 12:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573907200001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:00:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 12:00:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 12:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573907200001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 12:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":127453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:00:06] local.INFO: GPS data processed {"connection_id":127453,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:00:06] local.INFO: Acknowledgment sent {"connection_id":127453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:00:07] local.INFO: TCP Data received {"connection_id":125339,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:00:07] local.INFO: Processing buffer {"connection_id":125339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:00:07] local.INFO: IMEI packet received {"connection_id":125339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":125339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:00:11] local.INFO: TCP Data received {"connection_id":127453,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f406a2530012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 12:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406a2530012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 12:00:11] local.INFO: Processing buffer {"connection_id":127453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406a2530012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 12:00:11] local.INFO: Packet analysis {"connection_id":127453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406a"} 
[2026-07-08 12:00:11] local.INFO: Extracted packet for processing {"connection_id":127453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406a"} 
[2026-07-08 12:00:11] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":42,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 12:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573907200001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 12:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783492126000,"timestamp_ms":1783492126000,"timestamp_seconds":1783492126,"priority":1,"record_length":96,"hex_timestamp":"0000019f406a2530"} 
[2026-07-08 12:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 12:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":127453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":127453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":127453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573907200001,"66":25451,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 12:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573907200001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:00:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 12:00:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 12:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573907200001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 12:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":127453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:00:11] local.INFO: GPS data processed {"connection_id":127453,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:00:11] local.INFO: Acknowledgment sent {"connection_id":127453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:00:45] local.INFO: TCP Data received {"connection_id":127455,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127455,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:00:45] local.INFO: Processing buffer {"connection_id":127455,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:00:45] local.INFO: IMEI packet received {"connection_id":127455,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":127455,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:00:53] local.INFO: TCP Data received {"connection_id":127455,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127455,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:00:53] local.INFO: Processing buffer {"connection_id":127455,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:00:53] local.INFO: IMEI packet received {"connection_id":127455,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":127455,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:00:53] local.INFO: TCP Data received {"connection_id":127455,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f406b03d8012d0b130007029fc00009013423..."} 
[2026-07-08 12:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406b03d8012d0b130007029fc00009013423..."} 
[2026-07-08 12:00:53] local.INFO: Processing buffer {"connection_id":127455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406b03d8012d0b130007029fc00009013423..."} 
[2026-07-08 12:00:53] local.INFO: Packet analysis {"connection_id":127455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406b"} 
[2026-07-08 12:00:53] local.INFO: Extracted packet for processing {"connection_id":127455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406b"} 
[2026-07-08 12:00:53] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":9,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 12:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573921792001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783492183000,"timestamp_ms":1783492183000,"timestamp_seconds":1783492183,"priority":1,"record_length":96,"hex_timestamp":"0000019f406b03d8"} 
[2026-07-08 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-07-08 12:00:53] 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-07-08 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:00: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-07-08 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-07-08 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-07-08 12:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":127455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":127455,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":127455,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573921792001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573921792001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:00:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573921792001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":127455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450794,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:00:53] local.INFO: GPS data processed {"connection_id":127455,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:00:53] local.INFO: Acknowledgment sent {"connection_id":127455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:00:56] local.INFO: TCP Data received {"connection_id":126191,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:00:56] local.INFO: Processing buffer {"connection_id":126191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:00:56] local.INFO: IMEI packet received {"connection_id":126191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":126191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:01:01] local.INFO: TCP Data received {"connection_id":126191,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:01:01] local.INFO: TCP Data received {"connection_id":125339,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:01:01] local.INFO: Processing buffer {"connection_id":126191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:01:01] local.INFO: IMEI packet received {"connection_id":126191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":126191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:01:01] local.INFO: Processing buffer {"connection_id":125339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:01:01] local.INFO: IMEI packet received {"connection_id":125339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":125339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:01:01] local.INFO: TCP Data received {"connection_id":126191,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f406a2530012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 12:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406a2530012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 12:01:01] local.INFO: Processing buffer {"connection_id":126191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406a2530012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 12:01:01] local.INFO: Packet analysis {"connection_id":126191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406a"} 
[2026-07-08 12:01:01] local.INFO: Extracted packet for processing {"connection_id":126191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406a"} 
[2026-07-08 12:01:01] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":42,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 12:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573907200001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 12:01:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783492126000,"timestamp_ms":1783492126000,"timestamp_seconds":1783492126,"priority":1,"record_length":96,"hex_timestamp":"0000019f406a2530"} 
[2026-07-08 12:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:01:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 12:01:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:01:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:01: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-07-08 12:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573907200001,"66":25451,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 12:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573907200001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:01:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 12:01:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 12:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573907200001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 12:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":126191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:01:02] local.INFO: GPS data processed {"connection_id":126191,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:01:02] local.INFO: Acknowledgment sent {"connection_id":126191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:01:25] local.INFO: TCP Data received {"connection_id":127455,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f406b03d8012d0b130007029fc00009013423..."} 
[2026-07-08 12:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406b03d8012d0b130007029fc00009013423..."} 
[2026-07-08 12:01:25] local.INFO: Processing buffer {"connection_id":127455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406b03d8012d0b130007029fc00009013423..."} 
[2026-07-08 12:01:25] local.INFO: Packet analysis {"connection_id":127455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406b"} 
[2026-07-08 12:01:25] local.INFO: Extracted packet for processing {"connection_id":127455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406b"} 
[2026-07-08 12:01:25] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":9,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573921792001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:01:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783492183000,"timestamp_ms":1783492183000,"timestamp_seconds":1783492183,"priority":1,"record_length":96,"hex_timestamp":"0000019f406b03d8"} 
[2026-07-08 12:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:01:25] 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-07-08 12: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:01:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":127455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":127455,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":127455,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:01:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573921792001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573921792001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:01:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573921792001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":127455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450796,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:01:25] local.INFO: GPS data processed {"connection_id":127455,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:01:25] local.INFO: Acknowledgment sent {"connection_id":127455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:01:32] local.INFO: TCP Data received {"connection_id":126191,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f406a2530012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 12:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406a2530012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 12:01:32] local.INFO: Processing buffer {"connection_id":126191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406a2530012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 12:01:32] local.INFO: Packet analysis {"connection_id":126191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406a"} 
[2026-07-08 12:01:32] local.INFO: Extracted packet for processing {"connection_id":126191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406a"} 
[2026-07-08 12:01:32] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":42,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 12:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573907200001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 12:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783492126000,"timestamp_ms":1783492126000,"timestamp_seconds":1783492126,"priority":1,"record_length":96,"hex_timestamp":"0000019f406a2530"} 
[2026-07-08 12:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:01: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":107,"data_length":795,"current_offset":136} 
[2026-07-08 12:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:01: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-07-08 12:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573907200001,"66":25451,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 12:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573907200001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:01:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 12:01:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 12:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573907200001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 12:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":126191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:01:32] local.INFO: GPS data processed {"connection_id":126191,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:01:32] local.INFO: Acknowledgment sent {"connection_id":126191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:01:45] local.INFO: TCP Data received {"connection_id":125340,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125340,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:01:45] local.INFO: Processing buffer {"connection_id":125340,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:01:45] local.INFO: IMEI packet received {"connection_id":125340,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":125340,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:01:50] local.INFO: TCP Data received {"connection_id":125340,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125340,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:01:50] local.INFO: Processing buffer {"connection_id":125340,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:01:50] local.INFO: IMEI packet received {"connection_id":125340,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":125340,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:01:51] local.INFO: TCP Data received {"connection_id":125340,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f406b03d8012d0b130007029fc00009013423..."} 
[2026-07-08 12:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406b03d8012d0b130007029fc00009013423..."} 
[2026-07-08 12:01:51] local.INFO: Processing buffer {"connection_id":125340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406b03d8012d0b130007029fc00009013423..."} 
[2026-07-08 12:01:51] local.INFO: Packet analysis {"connection_id":125340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406b"} 
[2026-07-08 12:01:51] local.INFO: Extracted packet for processing {"connection_id":125340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406b"} 
[2026-07-08 12:01:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":9,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573921792001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783492183000,"timestamp_ms":1783492183000,"timestamp_seconds":1783492183,"priority":1,"record_length":96,"hex_timestamp":"0000019f406b03d8"} 
[2026-07-08 12:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:01: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-07-08 12:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:01:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:01:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125340,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125340,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573921792001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573921792001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:01:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573921792001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":125340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450798,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:01:51] local.INFO: GPS data processed {"connection_id":125340,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:01:51] local.INFO: Acknowledgment sent {"connection_id":125340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:01:56] local.INFO: TCP Data received {"connection_id":127457,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:01:56] local.INFO: Processing buffer {"connection_id":127457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:01:56] local.INFO: IMEI packet received {"connection_id":127457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":127457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:02:01] local.INFO: TCP Data received {"connection_id":127457,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:02:01] local.INFO: Processing buffer {"connection_id":127457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:02:01] local.INFO: IMEI packet received {"connection_id":127457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":127457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:02:01] local.INFO: TCP Data received {"connection_id":127457,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f406a2530012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 12:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406a2530012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 12:02:01] local.INFO: Processing buffer {"connection_id":127457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406a2530012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 12:02:01] local.INFO: Packet analysis {"connection_id":127457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406a"} 
[2026-07-08 12:02:01] local.INFO: Extracted packet for processing {"connection_id":127457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406a"} 
[2026-07-08 12:02:01] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":42,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 12:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573907200001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 12:02:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783492126000,"timestamp_ms":1783492126000,"timestamp_seconds":1783492126,"priority":1,"record_length":96,"hex_timestamp":"0000019f406a2530"} 
[2026-07-08 12:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:02:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 12:02:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:02:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:02:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573907200001,"66":25451,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 12:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573907200001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:02:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 12:02:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 12:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573907200001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 12:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":127457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:02:01] local.INFO: GPS data processed {"connection_id":127457,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:02:01] local.INFO: Acknowledgment sent {"connection_id":127457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:02:22] local.INFO: TCP Data received {"connection_id":125340,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f406b03d8012d0b130007029fc00009013423..."} 
[2026-07-08 12:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406b03d8012d0b130007029fc00009013423..."} 
[2026-07-08 12:02:22] local.INFO: Processing buffer {"connection_id":125340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406b03d8012d0b130007029fc00009013423..."} 
[2026-07-08 12:02:22] local.INFO: Packet analysis {"connection_id":125340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406b"} 
[2026-07-08 12:02:22] local.INFO: Extracted packet for processing {"connection_id":125340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406b"} 
[2026-07-08 12:02:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":9,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573921792001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783492183000,"timestamp_ms":1783492183000,"timestamp_seconds":1783492183,"priority":1,"record_length":96,"hex_timestamp":"0000019f406b03d8"} 
[2026-07-08 12:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:02:22] 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-07-08 12: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:02:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125340,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125340,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573921792001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573921792001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:02:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573921792001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":125340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450800,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:02:22] local.INFO: GPS data processed {"connection_id":125340,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:02:22] local.INFO: Acknowledgment sent {"connection_id":125340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:02:32] local.INFO: TCP Data received {"connection_id":127457,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f406a2530012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 12:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406a2530012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 12:02:32] local.INFO: Processing buffer {"connection_id":127457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406a2530012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 12:02:32] local.INFO: Packet analysis {"connection_id":127457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406a"} 
[2026-07-08 12:02:32] local.INFO: Extracted packet for processing {"connection_id":127457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406a"} 
[2026-07-08 12:02:32] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":42,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 12:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573907200001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 12:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783492126000,"timestamp_ms":1783492126000,"timestamp_seconds":1783492126,"priority":1,"record_length":96,"hex_timestamp":"0000019f406a2530"} 
[2026-07-08 12:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:02: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":107,"data_length":795,"current_offset":136} 
[2026-07-08 12:02:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573907200001,"66":25451,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 12:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573907200001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:02:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 12:02:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 12:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573907200001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 12:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":127457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:02:32] local.INFO: GPS data processed {"connection_id":127457,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:02:32] local.INFO: Acknowledgment sent {"connection_id":127457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:02:50] local.INFO: TCP Data received {"connection_id":125436,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125436,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:02:50] local.INFO: Processing buffer {"connection_id":125436,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:02:50] local.INFO: IMEI packet received {"connection_id":125436,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":125436,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:02:55] local.INFO: TCP Data received {"connection_id":125436,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125436,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:02:55] local.INFO: Processing buffer {"connection_id":125436,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:02:55] local.INFO: IMEI packet received {"connection_id":125436,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":125436,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:02:56] local.INFO: TCP Data received {"connection_id":125436,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f406b03d8012d0b130007029fc00009013423..."} 
[2026-07-08 12:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406b03d8012d0b130007029fc00009013423..."} 
[2026-07-08 12:02:56] local.INFO: Processing buffer {"connection_id":125436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406b03d8012d0b130007029fc00009013423..."} 
[2026-07-08 12:02:56] local.INFO: Packet analysis {"connection_id":125436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406b"} 
[2026-07-08 12:02:56] local.INFO: Extracted packet for processing {"connection_id":125436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406b"} 
[2026-07-08 12:02:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":9,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573921792001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783492183000,"timestamp_ms":1783492183000,"timestamp_seconds":1783492183,"priority":1,"record_length":96,"hex_timestamp":"0000019f406b03d8"} 
[2026-07-08 12:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:02:56] 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-07-08 12:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:02:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:02:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":125436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":125436,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":125436,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573921792001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573921792001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:02:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573921792001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":125436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450802,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:02:56] local.INFO: GPS data processed {"connection_id":125436,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:02:56] local.INFO: Acknowledgment sent {"connection_id":125436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:02:59] local.INFO: TCP Data received {"connection_id":125437,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:02:59] local.INFO: Processing buffer {"connection_id":125437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:02:59] local.INFO: IMEI packet received {"connection_id":125437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":125437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:03:00] local.INFO: TCP Data received {"connection_id":125436,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f406b03d8012d0b130007029fc00009013423..."} 
[2026-07-08 12:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406b03d8012d0b130007029fc00009013423..."} 
[2026-07-08 12:03:00] local.INFO: Processing buffer {"connection_id":125436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406b03d8012d0b130007029fc00009013423..."} 
[2026-07-08 12:03:00] local.INFO: Packet analysis {"connection_id":125436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406b"} 
[2026-07-08 12:03:00] local.INFO: Extracted packet for processing {"connection_id":125436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406b"} 
[2026-07-08 12:03:00] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":9,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573921792001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783492183000,"timestamp_ms":1783492183000,"timestamp_seconds":1783492183,"priority":1,"record_length":96,"hex_timestamp":"0000019f406b03d8"} 
[2026-07-08 12:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:03:00] 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-07-08 12:03: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":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:03:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125436,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125436,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573921792001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573921792001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:03:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573921792001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":125436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450803,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:03:01] local.INFO: GPS data processed {"connection_id":125436,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:03:01] local.INFO: Acknowledgment sent {"connection_id":125436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:03:01] local.INFO: TCP Data received {"connection_id":125437,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:03:01] local.INFO: Processing buffer {"connection_id":125437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:03:01] local.INFO: IMEI packet received {"connection_id":125437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":125437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:03:05] local.INFO: TCP Data received {"connection_id":125437,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f406a2530012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 12:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406a2530012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 12:03:05] local.INFO: Processing buffer {"connection_id":125437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406a2530012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 12:03:05] local.INFO: Packet analysis {"connection_id":125437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406a"} 
[2026-07-08 12:03:05] local.INFO: Extracted packet for processing {"connection_id":125437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406a"} 
[2026-07-08 12:03:05] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":42,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 12:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573907200001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 12:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783492126000,"timestamp_ms":1783492126000,"timestamp_seconds":1783492126,"priority":1,"record_length":96,"hex_timestamp":"0000019f406a2530"} 
[2026-07-08 12:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12: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-07-08 12:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573907200001,"66":25451,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 12:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573907200001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:03:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 12:03:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 12:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573907200001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 12:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":125437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:03:05] local.INFO: GPS data processed {"connection_id":125437,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:03:05] local.INFO: Acknowledgment sent {"connection_id":125437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:03:06] local.INFO: TCP Data received {"connection_id":125437,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f406a2530012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 12:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406a2530012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 12:03:06] local.INFO: Processing buffer {"connection_id":125437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406a2530012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 12:03:06] local.INFO: Packet analysis {"connection_id":125437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406a"} 
[2026-07-08 12:03:06] local.INFO: Extracted packet for processing {"connection_id":125437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406a"} 
[2026-07-08 12:03:06] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":42,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 12:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573907200001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 12:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783492126000,"timestamp_ms":1783492126000,"timestamp_seconds":1783492126,"priority":1,"record_length":96,"hex_timestamp":"0000019f406a2530"} 
[2026-07-08 12:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12: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":107,"data_length":795,"current_offset":136} 
[2026-07-08 12:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573907200001,"66":25451,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 12:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573907200001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:03:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 12:03:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 12:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573907200001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 12:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":125437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:03:06] local.INFO: GPS data processed {"connection_id":125437,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:03:06] local.INFO: Acknowledgment sent {"connection_id":125437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:03:21] local.INFO: TCP Data received {"connection_id":125341,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125341,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:03:21] local.INFO: Processing buffer {"connection_id":125341,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:03:21] local.INFO: IMEI packet received {"connection_id":125341,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 12:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":125341,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:03:37] local.INFO: TCP Data received {"connection_id":125437,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f406a2530012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 12:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406a2530012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 12:03:37] local.INFO: Processing buffer {"connection_id":125437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406a2530012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 12:03:37] local.INFO: Packet analysis {"connection_id":125437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406a"} 
[2026-07-08 12:03:37] local.INFO: Extracted packet for processing {"connection_id":125437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406a"} 
[2026-07-08 12:03:37] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":42,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 12:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573907200001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 12:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783492126000,"timestamp_ms":1783492126000,"timestamp_seconds":1783492126,"priority":1,"record_length":96,"hex_timestamp":"0000019f406a2530"} 
[2026-07-08 12:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12: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":107,"data_length":795,"current_offset":136} 
[2026-07-08 12:03: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-07-08 12:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573907200001,"66":25451,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 12:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573907200001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:03:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 12:03:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 12:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573907200001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 12:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":125437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:03:37] local.INFO: GPS data processed {"connection_id":125437,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:03:37] local.INFO: Acknowledgment sent {"connection_id":125437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:03:45] local.INFO: TCP Data received {"connection_id":127460,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127460,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:03:45] local.INFO: Processing buffer {"connection_id":127460,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:03:45] local.INFO: IMEI packet received {"connection_id":127460,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":127460,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:03:50] local.INFO: TCP Data received {"connection_id":127460,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127460,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:03:50] local.INFO: Processing buffer {"connection_id":127460,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:03:50] local.INFO: IMEI packet received {"connection_id":127460,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":127460,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:03:51] local.INFO: TCP Data received {"connection_id":127460,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f406b03d8012d0b130007029fc00009013423..."} 
[2026-07-08 12:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406b03d8012d0b130007029fc00009013423..."} 
[2026-07-08 12:03:51] local.INFO: Processing buffer {"connection_id":127460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406b03d8012d0b130007029fc00009013423..."} 
[2026-07-08 12:03:51] local.INFO: Packet analysis {"connection_id":127460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406b"} 
[2026-07-08 12:03:51] local.INFO: Extracted packet for processing {"connection_id":127460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406b"} 
[2026-07-08 12:03:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":9,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573921792001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783492183000,"timestamp_ms":1783492183000,"timestamp_seconds":1783492183,"priority":1,"record_length":96,"hex_timestamp":"0000019f406b03d8"} 
[2026-07-08 12:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:03: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-07-08 12:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127460,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127460,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573921792001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573921792001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:03:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573921792001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":127460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450807,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:03:51] local.INFO: GPS data processed {"connection_id":127460,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:03:51] local.INFO: Acknowledgment sent {"connection_id":127460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:03:56] local.INFO: TCP Data received {"connection_id":125438,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:03:56] local.INFO: Processing buffer {"connection_id":125438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:03:56] local.INFO: IMEI packet received {"connection_id":125438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":125438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:03:56] local.INFO: TCP Data received {"connection_id":125342,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125342,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:03:56] local.INFO: Processing buffer {"connection_id":125342,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:03:56] local.INFO: IMEI packet received {"connection_id":125342,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 12:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":125342,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:04:01] local.INFO: TCP Data received {"connection_id":125438,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:04:01] local.INFO: Processing buffer {"connection_id":125438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:04:01] local.INFO: IMEI packet received {"connection_id":125438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":125438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:04:01] local.INFO: TCP Data received {"connection_id":125438,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f406a2530012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 12:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406a2530012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 12:04:01] local.INFO: Processing buffer {"connection_id":125438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406a2530012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 12:04:01] local.INFO: Packet analysis {"connection_id":125438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406a"} 
[2026-07-08 12:04:01] local.INFO: Extracted packet for processing {"connection_id":125438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406a"} 
[2026-07-08 12:04:01] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":42,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 12:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573907200001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 12:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783492126000,"timestamp_ms":1783492126000,"timestamp_seconds":1783492126,"priority":1,"record_length":96,"hex_timestamp":"0000019f406a2530"} 
[2026-07-08 12:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:04:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 12:04:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:04:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:04: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-07-08 12:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573907200001,"66":25451,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 12:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573907200001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:04:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 12:04:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 12:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573907200001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 12:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":125438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:04:01] local.INFO: GPS data processed {"connection_id":125438,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:04:01] local.INFO: Acknowledgment sent {"connection_id":125438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:04:22] local.INFO: TCP Data received {"connection_id":127460,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f406b03d8012d0b130007029fc00009013423..."} 
[2026-07-08 12:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406b03d8012d0b130007029fc00009013423..."} 
[2026-07-08 12:04:22] local.INFO: Processing buffer {"connection_id":127460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406b03d8012d0b130007029fc00009013423..."} 
[2026-07-08 12:04:22] local.INFO: Packet analysis {"connection_id":127460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406b"} 
[2026-07-08 12:04:22] local.INFO: Extracted packet for processing {"connection_id":127460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406b"} 
[2026-07-08 12:04:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":9,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 12:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573921792001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783492183000,"timestamp_ms":1783492183000,"timestamp_seconds":1783492183,"priority":1,"record_length":96,"hex_timestamp":"0000019f406b03d8"} 
[2026-07-08 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-07-08 12:04:22] 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-07-08 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 12:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":127460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":127460,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":127460,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573921792001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573921792001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:04:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573921792001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":127460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450809,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:04:22] local.INFO: GPS data processed {"connection_id":127460,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:04:22] local.INFO: Acknowledgment sent {"connection_id":127460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:04:32] local.INFO: TCP Data received {"connection_id":125438,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f406ebcf8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 12:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406ebcf8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 12:04:32] local.INFO: Processing buffer {"connection_id":125438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406ebcf8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 12:04:32] local.INFO: Packet analysis {"connection_id":125438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406e"} 
[2026-07-08 12:04:32] local.INFO: Extracted packet for processing {"connection_id":125438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406e"} 
[2026-07-08 12:04:32] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":41,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 12:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573984256001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 12:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783492427000,"timestamp_ms":1783492427000,"timestamp_seconds":1783492427,"priority":1,"record_length":96,"hex_timestamp":"0000019f406ebcf8"} 
[2026-07-08 12:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:04: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":107,"data_length":795,"current_offset":136} 
[2026-07-08 12:04:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:04: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-07-08 12:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573984256001,"66":25397,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 12:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573984256001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:04:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 12:04:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 12:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573984256001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 12:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":125438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:04:32] local.INFO: GPS data processed {"connection_id":125438,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:04:32] local.INFO: Acknowledgment sent {"connection_id":125438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:04:47] local.INFO: TCP Data received {"connection_id":126193,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126193,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:04:47] local.INFO: Processing buffer {"connection_id":126193,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:04:47] local.INFO: IMEI packet received {"connection_id":126193,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":126193,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:04:47] local.INFO: TCP Data received {"connection_id":126193,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126193,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:04:47] local.INFO: Processing buffer {"connection_id":126193,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:04:47] local.INFO: IMEI packet received {"connection_id":126193,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":126193,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:04:50] local.INFO: TCP Data received {"connection_id":126193,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126193,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:04:50] local.INFO: Processing buffer {"connection_id":126193,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:04:50] local.INFO: IMEI packet received {"connection_id":126193,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":126193,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:04:51] local.INFO: TCP Data received {"connection_id":126193,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f406f9ba0012d0b130007029fc00000013421..."} 
[2026-07-08 12:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406f9ba0012d0b130007029fc00000013421..."} 
[2026-07-08 12:04:51] local.INFO: Processing buffer {"connection_id":126193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406f9ba0012d0b130007029fc00000013421..."} 
[2026-07-08 12:04:51] local.INFO: Packet analysis {"connection_id":126193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406f"} 
[2026-07-08 12:04:51] local.INFO: Extracted packet for processing {"connection_id":126193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406f"} 
[2026-07-08 12:04:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573998848001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783492484000,"timestamp_ms":1783492484000,"timestamp_seconds":1783492484,"priority":1,"record_length":96,"hex_timestamp":"0000019f406f9ba0"} 
[2026-07-08 12:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:04: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-07-08 12:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:04:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:04:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126193,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126193,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573998848001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573998848001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:04:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573998848001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":126193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450811,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:04:51] local.INFO: GPS data processed {"connection_id":126193,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:04:51] local.INFO: Acknowledgment sent {"connection_id":126193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:04:55] local.INFO: TCP Data received {"connection_id":126193,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f406f9ba0012d0b130007029fc00000013421..."} 
[2026-07-08 12:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406f9ba0012d0b130007029fc00000013421..."} 
[2026-07-08 12:04:55] local.INFO: Processing buffer {"connection_id":126193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406f9ba0012d0b130007029fc00000013421..."} 
[2026-07-08 12:04:55] local.INFO: Packet analysis {"connection_id":126193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406f"} 
[2026-07-08 12:04:55] local.INFO: Extracted packet for processing {"connection_id":126193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406f"} 
[2026-07-08 12:04:55] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573998848001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783492484000,"timestamp_ms":1783492484000,"timestamp_seconds":1783492484,"priority":1,"record_length":96,"hex_timestamp":"0000019f406f9ba0"} 
[2026-07-08 12:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:04:55] 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-07-08 12:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:04:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":126193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":126193,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":126193,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573998848001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573998848001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:04:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573998848001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":126193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450812,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:04:55] local.INFO: GPS data processed {"connection_id":126193,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:04:55] local.INFO: Acknowledgment sent {"connection_id":126193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:04:56] local.INFO: TCP Data received {"connection_id":125343,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:04:56] local.INFO: Processing buffer {"connection_id":125343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:04:56] local.INFO: IMEI packet received {"connection_id":125343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":125343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:05:01] local.INFO: TCP Data received {"connection_id":125343,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:05:01] local.INFO: Processing buffer {"connection_id":125343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:05:01] local.INFO: IMEI packet received {"connection_id":125343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":125343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:05:01] local.INFO: TCP Data received {"connection_id":125343,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f406ebcf8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 12:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406ebcf8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 12:05:01] local.INFO: Processing buffer {"connection_id":125343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406ebcf8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 12:05:01] local.INFO: Packet analysis {"connection_id":125343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406e"} 
[2026-07-08 12:05:01] local.INFO: Extracted packet for processing {"connection_id":125343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406e"} 
[2026-07-08 12:05:01] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":41,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573984256001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 12:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783492427000,"timestamp_ms":1783492427000,"timestamp_seconds":1783492427,"priority":1,"record_length":96,"hex_timestamp":"0000019f406ebcf8"} 
[2026-07-08 12:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 12:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:05: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-07-08 12:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573984256001,"66":25397,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 12:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573984256001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:05:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 12:05:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 12:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573984256001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 12:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":125343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:05:01] local.INFO: GPS data processed {"connection_id":125343,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:05:01] local.INFO: Acknowledgment sent {"connection_id":125343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:05:28] local.INFO: TCP Data received {"connection_id":126193,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f406f9ba0012d0b130007029fc00000013421..."} 
[2026-07-08 12:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406f9ba0012d0b130007029fc00000013421..."} 
[2026-07-08 12:05:28] local.INFO: Processing buffer {"connection_id":126193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406f9ba0012d0b130007029fc00000013421..."} 
[2026-07-08 12:05:28] local.INFO: Packet analysis {"connection_id":126193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406f"} 
[2026-07-08 12:05:28] local.INFO: Extracted packet for processing {"connection_id":126193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406f"} 
[2026-07-08 12:05:28] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573998848001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783492484000,"timestamp_ms":1783492484000,"timestamp_seconds":1783492484,"priority":1,"record_length":96,"hex_timestamp":"0000019f406f9ba0"} 
[2026-07-08 12:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:05:28] 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-07-08 12:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:05:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:05:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":126193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":126193,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":126193,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573998848001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573998848001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:05:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573998848001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":126193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450814,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:05:29] local.INFO: GPS data processed {"connection_id":126193,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:05:29] local.INFO: Acknowledgment sent {"connection_id":126193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:05:32] local.INFO: TCP Data received {"connection_id":125343,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f406ebcf8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 12:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406ebcf8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 12:05:32] local.INFO: Processing buffer {"connection_id":125343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406ebcf8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 12:05:32] local.INFO: Packet analysis {"connection_id":125343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406e"} 
[2026-07-08 12:05:32] local.INFO: Extracted packet for processing {"connection_id":125343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406e"} 
[2026-07-08 12:05:32] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":41,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 12:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573984256001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 12:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783492427000,"timestamp_ms":1783492427000,"timestamp_seconds":1783492427,"priority":1,"record_length":96,"hex_timestamp":"0000019f406ebcf8"} 
[2026-07-08 12:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:05: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":107,"data_length":795,"current_offset":136} 
[2026-07-08 12:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:05: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-07-08 12:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573984256001,"66":25397,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 12:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573984256001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:05:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 12:05:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 12:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573984256001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 12:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":125343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:05:32] local.INFO: GPS data processed {"connection_id":125343,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:05:32] local.INFO: Acknowledgment sent {"connection_id":125343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:05:40] local.INFO: TCP Data received {"connection_id":127461,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:05:40] local.INFO: Processing buffer {"connection_id":127461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:05:40] local.INFO: IMEI packet received {"connection_id":127461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":127461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:05:41] local.INFO: TCP Data received {"connection_id":127461,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f406f7490012d19b3c0072072b0002f009e26..."} 
[2026-07-08 12:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406f7490012d19b3c0072072b0002f009e26..."} 
[2026-07-08 12:05:41] local.INFO: Processing buffer {"connection_id":127461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406f7490012d19b3c0072072b0002f009e26..."} 
[2026-07-08 12:05:41] local.INFO: Packet analysis {"connection_id":127461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406f"} 
[2026-07-08 12:05:41] local.INFO: Extracted packet for processing {"connection_id":127461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406f"} 
[2026-07-08 12:05:41] local.INFO: GPS Element Parsed {"raw_longitude":756659136,"raw_latitude":119567024,"longitude_deg":75.6659136,"latitude_deg":11.9567024,"altitude":47,"angle":158,"satellites":38,"speed":41,"hex_longitude":"2d19b3c0","hex_latitude":"072072b0","is_valid_coordinates":true} 
[2026-07-08 12:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574071808001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4723901384884224,"note":"Value kept but may cause issues"} 
[2026-07-08 12:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850275790018185216,"note":"Value kept but may cause issues"} 
[2026-07-08 12:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783492474000,"timestamp_ms":1783492474000,"timestamp_seconds":1783492474,"priority":1,"record_length":96,"hex_timestamp":"0000019f406f7490"} 
[2026-07-08 12:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:05: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-07-08 12: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-08 12:05:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":127461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":127461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":127461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574071808001,"66":14537,"121":206,"28":31744,"24":41,"16":4723901384884224,"45":1850275790018185216},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574071808001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:05:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:05:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4723901384884224,"km_value":4723901384884.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850275790018185216,"description":"Unknown IO ID 45"} 
[2026-07-08 12:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574071808001,"power":14537,"unknown_121":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1850275790018185216}} 
[2026-07-08 12:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":127461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:05:41] local.INFO: GPS data processed {"connection_id":127461,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:05:41] local.INFO: Acknowledgment sent {"connection_id":127461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:05:50] local.INFO: TCP Data received {"connection_id":125344,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125344,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:05:50] local.INFO: Processing buffer {"connection_id":125344,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:05:50] local.INFO: IMEI packet received {"connection_id":125344,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":125344,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:05:55] local.INFO: TCP Data received {"connection_id":125344,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125344,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:05:55] local.INFO: Processing buffer {"connection_id":125344,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:05:55] local.INFO: IMEI packet received {"connection_id":125344,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":125344,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:05:56] local.INFO: TCP Data received {"connection_id":125344,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f406f9ba0012d0b130007029fc00000013421..."} 
[2026-07-08 12:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406f9ba0012d0b130007029fc00000013421..."} 
[2026-07-08 12:05:56] local.INFO: Processing buffer {"connection_id":125344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406f9ba0012d0b130007029fc00000013421..."} 
[2026-07-08 12:05:56] local.INFO: Packet analysis {"connection_id":125344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406f"} 
[2026-07-08 12:05:56] local.INFO: Extracted packet for processing {"connection_id":125344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406f"} 
[2026-07-08 12:05:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573998848001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783492484000,"timestamp_ms":1783492484000,"timestamp_seconds":1783492484,"priority":1,"record_length":96,"hex_timestamp":"0000019f406f9ba0"} 
[2026-07-08 12:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:05:56] 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-07-08 12: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:05:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:05:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":125344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":125344,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":125344,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573998848001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573998848001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:05:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573998848001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":125344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450817,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:05:56] local.INFO: GPS data processed {"connection_id":125344,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:05:56] local.INFO: Acknowledgment sent {"connection_id":125344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:06:00] local.INFO: TCP Data received {"connection_id":125344,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f406f9ba0012d0b130007029fc00000013421..."} 
[2026-07-08 12:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406f9ba0012d0b130007029fc00000013421..."} 
[2026-07-08 12:06:00] local.INFO: Processing buffer {"connection_id":125344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406f9ba0012d0b130007029fc00000013421..."} 
[2026-07-08 12:06:00] local.INFO: Packet analysis {"connection_id":125344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406f"} 
[2026-07-08 12:06:00] local.INFO: Extracted packet for processing {"connection_id":125344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406f"} 
[2026-07-08 12:06:00] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573998848001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:06:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783492484000,"timestamp_ms":1783492484000,"timestamp_seconds":1783492484,"priority":1,"record_length":96,"hex_timestamp":"0000019f406f9ba0"} 
[2026-07-08 12:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:06:00] 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-07-08 12:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:06:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125344,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125344,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573998848001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573998848001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:06:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573998848001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":125344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450818,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:06:00] local.INFO: GPS data processed {"connection_id":125344,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:06:00] local.INFO: Acknowledgment sent {"connection_id":125344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:06:01] local.INFO: TCP Data received {"connection_id":125440,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:06:01] local.INFO: Processing buffer {"connection_id":125440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:06:01] local.INFO: IMEI packet received {"connection_id":125440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":125440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:06:06] local.INFO: TCP Data received {"connection_id":125440,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:06:06] local.INFO: Processing buffer {"connection_id":125440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:06:06] local.INFO: IMEI packet received {"connection_id":125440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":125440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:06:07] local.INFO: TCP Data received {"connection_id":125440,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f406ebcf8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 12:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406ebcf8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 12:06:07] local.INFO: Processing buffer {"connection_id":125440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406ebcf8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 12:06:07] local.INFO: Packet analysis {"connection_id":125440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406e"} 
[2026-07-08 12:06:07] local.INFO: Extracted packet for processing {"connection_id":125440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406e"} 
[2026-07-08 12:06:07] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":41,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 12:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573984256001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 12:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783492427000,"timestamp_ms":1783492427000,"timestamp_seconds":1783492427,"priority":1,"record_length":96,"hex_timestamp":"0000019f406ebcf8"} 
[2026-07-08 12:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 12:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573984256001,"66":25397,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 12:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573984256001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:06:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 12:06:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 12:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573984256001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 12:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":125440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:06:07] local.INFO: GPS data processed {"connection_id":125440,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:06:07] local.INFO: Acknowledgment sent {"connection_id":125440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:06:09] local.INFO: TCP Data received {"connection_id":125441,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:06:09] local.INFO: Processing buffer {"connection_id":125441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:06:09] local.INFO: IMEI packet received {"connection_id":125441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":125441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:06:13] local.INFO: TCP Data received {"connection_id":125441,"ip":"117.224.101.146","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-08 12:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125441,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-08 12:06:13] local.INFO: Processing buffer {"connection_id":125441,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-08 12:06:13] local.INFO: IMEI packet received {"connection_id":125441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":125441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:06:17] local.INFO: TCP Data received {"connection_id":125441,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f406f8818012d19ba0007205fc8002d00aa24..."} 
[2026-07-08 12:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406f8818012d19ba0007205fc8002d00aa24..."} 
[2026-07-08 12:06:17] local.INFO: Processing buffer {"connection_id":125441,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019f40..."} 
[2026-07-08 12:06:17] local.INFO: IMEI packet received {"connection_id":125441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":125441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:06:18] local.INFO: TCP Data received {"connection_id":125441,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40704b68012d19de00072008d0002f00cd25..."} 
[2026-07-08 12:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40704b68012d19de00072008d0002f00cd25..."} 
[2026-07-08 12:06:18] local.INFO: Processing buffer {"connection_id":125441,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f406f8818012d19ba0007205fc8002d00aa24..."} 
[2026-07-08 12:06:18] local.INFO: Packet analysis {"connection_id":125441,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f406f"} 
[2026-07-08 12:06:18] local.INFO: Extracted packet for processing {"connection_id":125441,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406f"} 
[2026-07-08 12:06:18] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119562184,"longitude_deg":75.6660736,"latitude_deg":11.9562184,"altitude":45,"angle":170,"satellites":36,"speed":38,"hex_longitude":"2d19ba00","hex_latitude":"07205fc8","is_valid_coordinates":true} 
[2026-07-08 12:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574073344001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4724150492987392,"note":"Value kept but may cause issues"} 
[2026-07-08 12:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852035008621096960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783492479000,"timestamp_ms":1783492479000,"timestamp_seconds":1783492479,"priority":1,"record_length":96,"hex_timestamp":"0000019f406f8818"} 
[2026-07-08 12:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:06: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-07-08 12:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-08 12:06:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:06:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":125441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":125441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":125441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574073344001,"66":14515,"121":206,"28":31744,"24":38,"16":4724150492987392,"45":1852035008621096960},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574073344001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:06:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:06:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4724150492987392,"km_value":4724150492987.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852035008621096960,"description":"Unknown IO ID 45"} 
[2026-07-08 12:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574073344001,"power":14515,"unknown_121":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1852035008621096960}} 
[2026-07-08 12:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":125441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:06:18] local.INFO: GPS data processed {"connection_id":125441,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:06:18] local.INFO: Acknowledgment sent {"connection_id":125441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:06:18] local.INFO: Packet analysis {"connection_id":125441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4070"} 
[2026-07-08 12:06:18] local.INFO: Extracted packet for processing {"connection_id":125441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4070"} 
[2026-07-08 12:06:18] local.INFO: GPS Element Parsed {"raw_longitude":756669952,"raw_latitude":119539920,"longitude_deg":75.6669952,"latitude_deg":11.953992,"altitude":47,"angle":205,"satellites":37,"speed":9,"hex_longitude":"2d19de00","hex_latitude":"072008d0","is_valid_coordinates":true} 
[2026-07-08 12:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574087168001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4725374558666752,"note":"Value kept but may cause issues"} 
[2026-07-08 12:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863997695124412416,"note":"Value kept but may cause issues"} 
[2026-07-08 12:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783492529000,"timestamp_ms":1783492529000,"timestamp_seconds":1783492529,"priority":1,"record_length":96,"hex_timestamp":"0000019f40704b68"} 
[2026-07-08 12:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:06: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-07-08 12:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-08 12:06:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:06:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":125441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":125441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":125441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574087168001,"66":14450,"121":206,"28":31744,"24":9,"16":4725374558666752,"45":1863997695124412416},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574087168001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:06:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:06:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4725374558666752,"km_value":4725374558666.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863997695124412416,"description":"Unknown IO ID 45"} 
[2026-07-08 12:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574087168001,"power":14450,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1863997695124412416}} 
[2026-07-08 12:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":125441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:06:18] local.INFO: GPS data processed {"connection_id":125441,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:06:18] local.INFO: Acknowledgment sent {"connection_id":125441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:06:19] local.INFO: TCP Data received {"connection_id":125441,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40705720012d19dbc0072005c0003000d925..."} 
[2026-07-08 12:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40705720012d19dbc0072005c0003000d925..."} 
[2026-07-08 12:06:19] local.INFO: Processing buffer {"connection_id":125441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40705720012d19dbc0072005c0003000d925..."} 
[2026-07-08 12:06:19] local.INFO: Packet analysis {"connection_id":125441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4070"} 
[2026-07-08 12:06:19] local.INFO: Extracted packet for processing {"connection_id":125441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4070"} 
[2026-07-08 12:06:19] local.INFO: GPS Element Parsed {"raw_longitude":756669376,"raw_latitude":119539136,"longitude_deg":75.6669376,"latitude_deg":11.9539136,"altitude":48,"angle":217,"satellites":37,"speed":14,"hex_longitude":"2d19dbc0","hex_latitude":"072005c0","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574087424001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4725421803307008,"note":"Value kept but may cause issues"} 
[2026-07-08 12:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863927326380183552,"note":"Value kept but may cause issues"} 
[2026-07-08 12:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783492532000,"timestamp_ms":1783492532000,"timestamp_seconds":1783492532,"priority":1,"record_length":96,"hex_timestamp":"0000019f40705720"} 
[2026-07-08 12:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:06:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-08 12:06:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":125441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":125441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":125441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574087424001,"66":13450,"121":206,"28":31744,"24":14,"16":4725421803307008,"45":1863927326380183552},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574087424001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:06:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:06:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4725421803307008,"km_value":4725421803307.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863927326380183552,"description":"Unknown IO ID 45"} 
[2026-07-08 12:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574087424001,"power":13450,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1863927326380183552}} 
[2026-07-08 12:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":125441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:06:19] local.INFO: GPS data processed {"connection_id":125441,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:06:19] local.INFO: Acknowledgment sent {"connection_id":125441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:06:38] local.INFO: TCP Data received {"connection_id":125440,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f406ebcf8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 12:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406ebcf8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 12:06:38] local.INFO: Processing buffer {"connection_id":125440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406ebcf8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 12:06:38] local.INFO: Packet analysis {"connection_id":125440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406e"} 
[2026-07-08 12:06:38] local.INFO: Extracted packet for processing {"connection_id":125440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406e"} 
[2026-07-08 12:06:38] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":41,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 12:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573984256001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 12:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783492427000,"timestamp_ms":1783492427000,"timestamp_seconds":1783492427,"priority":1,"record_length":96,"hex_timestamp":"0000019f406ebcf8"} 
[2026-07-08 12:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 12:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573984256001,"66":25397,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 12:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573984256001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:06:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 12:06:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 12:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573984256001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 12:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":125440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:06:38] local.INFO: GPS data processed {"connection_id":125440,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:06:38] local.INFO: Acknowledgment sent {"connection_id":125440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:06:45] local.INFO: TCP Data received {"connection_id":126195,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126195,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:06:45] local.INFO: Processing buffer {"connection_id":126195,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:06:45] local.INFO: IMEI packet received {"connection_id":126195,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":126195,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:06:50] local.INFO: TCP Data received {"connection_id":126195,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126195,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:06:50] local.INFO: Processing buffer {"connection_id":126195,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:06:50] local.INFO: IMEI packet received {"connection_id":126195,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":126195,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:06:51] local.INFO: TCP Data received {"connection_id":126195,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f406f9ba0012d0b130007029fc00000013421..."} 
[2026-07-08 12:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406f9ba0012d0b130007029fc00000013421..."} 
[2026-07-08 12:06:51] local.INFO: Processing buffer {"connection_id":126195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406f9ba0012d0b130007029fc00000013421..."} 
[2026-07-08 12:06:51] local.INFO: Packet analysis {"connection_id":126195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406f"} 
[2026-07-08 12:06:51] local.INFO: Extracted packet for processing {"connection_id":126195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406f"} 
[2026-07-08 12:06:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573998848001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783492484000,"timestamp_ms":1783492484000,"timestamp_seconds":1783492484,"priority":1,"record_length":96,"hex_timestamp":"0000019f406f9ba0"} 
[2026-07-08 12:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:06: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-07-08 12: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126195,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126195,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573998848001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573998848001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:06:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573998848001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":126195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450824,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:06:51] local.INFO: GPS data processed {"connection_id":126195,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:06:51] local.INFO: Acknowledgment sent {"connection_id":126195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:06:56] local.INFO: TCP Data received {"connection_id":127463,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:06:56] local.INFO: Processing buffer {"connection_id":127463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:06:56] local.INFO: IMEI packet received {"connection_id":127463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":127463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:07:01] local.INFO: TCP Data received {"connection_id":127463,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:07:01] local.INFO: Processing buffer {"connection_id":127463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:07:01] local.INFO: IMEI packet received {"connection_id":127463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":127463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:07:01] local.INFO: TCP Data received {"connection_id":127464,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:07:01] local.INFO: Processing buffer {"connection_id":127464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:07:01] local.INFO: IMEI packet received {"connection_id":127464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":127464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:07:02] local.INFO: TCP Data received {"connection_id":127463,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f406ebcf8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 12:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406ebcf8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 12:07:02] local.INFO: Processing buffer {"connection_id":127463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406ebcf8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 12:07:02] local.INFO: Packet analysis {"connection_id":127463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406e"} 
[2026-07-08 12:07:02] local.INFO: Extracted packet for processing {"connection_id":127463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406e"} 
[2026-07-08 12:07:02] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":41,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 12:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573984256001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 12:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783492427000,"timestamp_ms":1783492427000,"timestamp_seconds":1783492427,"priority":1,"record_length":96,"hex_timestamp":"0000019f406ebcf8"} 
[2026-07-08 12:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 12:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:07:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573984256001,"66":25397,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 12:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573984256001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:07:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 12:07:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 12:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573984256001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 12:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":127463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:07:02] local.INFO: GPS data processed {"connection_id":127463,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:07:02] local.INFO: Acknowledgment sent {"connection_id":127463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:07:04] local.INFO: TCP Data received {"connection_id":127464,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:07:04] local.INFO: Processing buffer {"connection_id":127464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:07:04] local.INFO: IMEI packet received {"connection_id":127464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":127464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:07:05] local.INFO: TCP Data received {"connection_id":127464,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4070dfd8012d19a2c0071ff0d0003500f623..."} 
[2026-07-08 12:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4070dfd8012d19a2c0071ff0d0003500f623..."} 
[2026-07-08 12:07:05] local.INFO: Processing buffer {"connection_id":127464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4070dfd8012d19a2c0071ff0d0003500f623..."} 
[2026-07-08 12:07:05] local.INFO: Packet analysis {"connection_id":127464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4070"} 
[2026-07-08 12:07:05] local.INFO: Extracted packet for processing {"connection_id":127464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4070"} 
[2026-07-08 12:07:05] local.INFO: GPS Element Parsed {"raw_longitude":756654784,"raw_latitude":119533776,"longitude_deg":75.6654784,"latitude_deg":11.9533776,"altitude":53,"angle":246,"satellites":35,"speed":7,"hex_longitude":"2d19a2c0","hex_latitude":"071ff0d0","is_valid_coordinates":true} 
[2026-07-08 12:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574096640001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726233552125952,"note":"Value kept but may cause issues"} 
[2026-07-08 12:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847812883961960448,"note":"Value kept but may cause issues"} 
[2026-07-08 12:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783492567000,"timestamp_ms":1783492567000,"timestamp_seconds":1783492567,"priority":1,"record_length":96,"hex_timestamp":"0000019f4070dfd8"} 
[2026-07-08 12:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 12:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574096640001,"66":13656,"121":206,"28":31744,"24":7,"16":4726233552125952,"45":1847812883961960448},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574096640001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:07:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:07:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726233552125952,"km_value":4726233552125.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847812883961960448,"description":"Unknown IO ID 45"} 
[2026-07-08 12:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574096640001,"power":13656,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1847812883961960448}} 
[2026-07-08 12:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":127464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:07:05] local.INFO: GPS data processed {"connection_id":127464,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:07:05] local.INFO: Acknowledgment sent {"connection_id":127464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:07:23] local.INFO: TCP Data received {"connection_id":126195,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f406f9ba0012d0b130007029fc00000013421..."} 
[2026-07-08 12:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406f9ba0012d0b130007029fc00000013421..."} 
[2026-07-08 12:07:23] local.INFO: Processing buffer {"connection_id":126195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406f9ba0012d0b130007029fc00000013421..."} 
[2026-07-08 12:07:23] local.INFO: Packet analysis {"connection_id":126195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406f"} 
[2026-07-08 12:07:23] local.INFO: Extracted packet for processing {"connection_id":126195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406f"} 
[2026-07-08 12:07:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573998848001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783492484000,"timestamp_ms":1783492484000,"timestamp_seconds":1783492484,"priority":1,"record_length":96,"hex_timestamp":"0000019f406f9ba0"} 
[2026-07-08 12:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:07:23] 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-07-08 12: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":126195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":126195,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":126195,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573998848001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573998848001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:07:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573998848001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":126195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450827,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:07:23] local.INFO: GPS data processed {"connection_id":126195,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:07:23] local.INFO: Acknowledgment sent {"connection_id":126195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:07:33] local.INFO: TCP Data received {"connection_id":127463,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f406ebcf8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 12:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406ebcf8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 12:07:33] local.INFO: Processing buffer {"connection_id":127463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406ebcf8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 12:07:33] local.INFO: Packet analysis {"connection_id":127463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406e"} 
[2026-07-08 12:07:33] local.INFO: Extracted packet for processing {"connection_id":127463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406e"} 
[2026-07-08 12:07:33] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":41,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 12:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573984256001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 12:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783492427000,"timestamp_ms":1783492427000,"timestamp_seconds":1783492427,"priority":1,"record_length":96,"hex_timestamp":"0000019f406ebcf8"} 
[2026-07-08 12:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 12:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573984256001,"66":25397,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 12:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573984256001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:07:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 12:07:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 12:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573984256001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 12:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":127463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:07:33] local.INFO: GPS data processed {"connection_id":127463,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:07:33] local.INFO: Acknowledgment sent {"connection_id":127463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:07:36] local.INFO: TCP Data received {"connection_id":127464,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4070e3c0012d19a200071ff040003500e923..."} 
[2026-07-08 12:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4070e3c0012d19a200071ff040003500e923..."} 
[2026-07-08 12:07:36] local.INFO: Processing buffer {"connection_id":127464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4070e3c0012d19a200071ff040003500e923..."} 
[2026-07-08 12:07:36] local.INFO: Packet analysis {"connection_id":127464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4070"} 
[2026-07-08 12:07:36] local.INFO: Extracted packet for processing {"connection_id":127464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4070"} 
[2026-07-08 12:07:36] local.INFO: GPS Element Parsed {"raw_longitude":756654592,"raw_latitude":119533632,"longitude_deg":75.6654592,"latitude_deg":11.9533632,"altitude":53,"angle":233,"satellites":35,"speed":9,"hex_longitude":"2d19a200","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-07-08 12:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574097152001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726246437027840,"note":"Value kept but may cause issues"} 
[2026-07-08 12:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847249934008504320,"note":"Value kept but may cause issues"} 
[2026-07-08 12:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783492568000,"timestamp_ms":1783492568000,"timestamp_seconds":1783492568,"priority":1,"record_length":96,"hex_timestamp":"0000019f4070e3c0"} 
[2026-07-08 12:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-07-08 12:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574097152001,"66":13656,"121":206,"28":31744,"24":9,"16":4726246437027840,"45":1847249934008504320},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574097152001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:07:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:07:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726246437027840,"km_value":4726246437027.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847249934008504320,"description":"Unknown IO ID 45"} 
[2026-07-08 12:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574097152001,"power":13656,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1847249934008504320}} 
[2026-07-08 12:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":127464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:07:36] local.INFO: GPS data processed {"connection_id":127464,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:07:36] local.INFO: Acknowledgment sent {"connection_id":127464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:07:45] local.INFO: TCP Data received {"connection_id":125345,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125345,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:07:45] local.INFO: Processing buffer {"connection_id":125345,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:07:45] local.INFO: IMEI packet received {"connection_id":125345,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":125345,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:07:50] local.INFO: TCP Data received {"connection_id":125345,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125345,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:07:50] local.INFO: Processing buffer {"connection_id":125345,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:07:50] local.INFO: IMEI packet received {"connection_id":125345,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":125345,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:07:51] local.INFO: TCP Data received {"connection_id":125345,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f406f9ba0012d0b130007029fc00000013421..."} 
[2026-07-08 12:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406f9ba0012d0b130007029fc00000013421..."} 
[2026-07-08 12:07:51] local.INFO: Processing buffer {"connection_id":125345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406f9ba0012d0b130007029fc00000013421..."} 
[2026-07-08 12:07:51] local.INFO: Packet analysis {"connection_id":125345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406f"} 
[2026-07-08 12:07:51] local.INFO: Extracted packet for processing {"connection_id":125345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406f"} 
[2026-07-08 12:07:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573998848001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783492484000,"timestamp_ms":1783492484000,"timestamp_seconds":1783492484,"priority":1,"record_length":96,"hex_timestamp":"0000019f406f9ba0"} 
[2026-07-08 12:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:07: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-07-08 12:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125345,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125345,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573998848001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573998848001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:07:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573998848001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":125345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450830,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:07:51] local.INFO: GPS data processed {"connection_id":125345,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:07:51] local.INFO: Acknowledgment sent {"connection_id":125345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:07:56] local.INFO: TCP Data received {"connection_id":125346,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:07:56] local.INFO: Processing buffer {"connection_id":125346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:07:56] local.INFO: IMEI packet received {"connection_id":125346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":125346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:07:58] local.INFO: TCP Data received {"connection_id":125442,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:07:58] local.INFO: Processing buffer {"connection_id":125442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:07:58] local.INFO: IMEI packet received {"connection_id":125442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":125442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:08:01] local.INFO: TCP Data received {"connection_id":125346,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:08:01] local.INFO: Processing buffer {"connection_id":125346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:08:01] local.INFO: IMEI packet received {"connection_id":125346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":125346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:08:01] local.INFO: TCP Data received {"connection_id":125442,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:08:01] local.INFO: Processing buffer {"connection_id":125442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:08:01] local.INFO: IMEI packet received {"connection_id":125442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":125442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:08:03] local.INFO: TCP Data received {"connection_id":125346,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f406ebcf8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 12:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406ebcf8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 12:08:03] local.INFO: Processing buffer {"connection_id":125346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406ebcf8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 12:08:03] local.INFO: Packet analysis {"connection_id":125346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406e"} 
[2026-07-08 12:08:03] local.INFO: Extracted packet for processing {"connection_id":125346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406e"} 
[2026-07-08 12:08:03] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":41,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 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-07-08 12:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573984256001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 12:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783492427000,"timestamp_ms":1783492427000,"timestamp_seconds":1783492427,"priority":1,"record_length":96,"hex_timestamp":"0000019f406ebcf8"} 
[2026-07-08 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-07-08 12:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 12:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 12:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573984256001,"66":25397,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 12:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573984256001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:08:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 12:08:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 12:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573984256001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 12:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":125346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:08:03] local.INFO: GPS data processed {"connection_id":125346,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:08:03] local.INFO: Acknowledgment sent {"connection_id":125346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:08:06] local.INFO: TCP Data received {"connection_id":125442,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:08:06] local.INFO: Processing buffer {"connection_id":125442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:08:06] local.INFO: IMEI packet received {"connection_id":125442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":125442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:08:07] local.INFO: TCP Data received {"connection_id":125442,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4070e7a8012d19a100071fefc0003600f623..."} 
[2026-07-08 12:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4070e7a8012d19a100071fefc0003600f623..."} 
[2026-07-08 12:08:07] local.INFO: Processing buffer {"connection_id":125442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4070e7a8012d19a100071fefc0003600f623..."} 
[2026-07-08 12:08:07] local.INFO: Packet analysis {"connection_id":125442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4070"} 
[2026-07-08 12:08:07] local.INFO: Extracted packet for processing {"connection_id":125442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4070"} 
[2026-07-08 12:08:07] local.INFO: GPS Element Parsed {"raw_longitude":756654336,"raw_latitude":119533504,"longitude_deg":75.6654336,"latitude_deg":11.9533504,"altitude":54,"angle":246,"satellites":35,"speed":12,"hex_longitude":"2d19a100","hex_latitude":"071fefc0","is_valid_coordinates":true} 
[2026-07-08 12:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574097408001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726259321929728,"note":"Value kept but may cause issues"} 
[2026-07-08 12:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847038827775934464,"note":"Value kept but may cause issues"} 
[2026-07-08 12:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783492569000,"timestamp_ms":1783492569000,"timestamp_seconds":1783492569,"priority":1,"record_length":96,"hex_timestamp":"0000019f4070e7a8"} 
[2026-07-08 12:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-07-08 12:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574097408001,"66":13798,"121":206,"28":31744,"24":12,"16":4726259321929728,"45":1847038827775934464},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574097408001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:08:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:08:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726259321929728,"km_value":4726259321929.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847038827775934464,"description":"Unknown IO ID 45"} 
[2026-07-08 12:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574097408001,"power":13798,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1847038827775934464}} 
[2026-07-08 12:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":125442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:08:07] local.INFO: GPS data processed {"connection_id":125442,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:08:07] local.INFO: Acknowledgment sent {"connection_id":125442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:08:22] local.INFO: TCP Data received {"connection_id":125345,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f406f9ba0012d0b130007029fc00000013421..."} 
[2026-07-08 12:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406f9ba0012d0b130007029fc00000013421..."} 
[2026-07-08 12:08:22] local.INFO: Processing buffer {"connection_id":125345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406f9ba0012d0b130007029fc00000013421..."} 
[2026-07-08 12:08:22] local.INFO: Packet analysis {"connection_id":125345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406f"} 
[2026-07-08 12:08:22] local.INFO: Extracted packet for processing {"connection_id":125345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406f"} 
[2026-07-08 12:08:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 12:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573998848001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783492484000,"timestamp_ms":1783492484000,"timestamp_seconds":1783492484,"priority":1,"record_length":96,"hex_timestamp":"0000019f406f9ba0"} 
[2026-07-08 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-07-08 12:08:22] 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-07-08 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:08:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 12:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125345,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125345,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573998848001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573998848001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:08:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573998848001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":125345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450833,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:08:23] local.INFO: GPS data processed {"connection_id":125345,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:08:23] local.INFO: Acknowledgment sent {"connection_id":125345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:08:34] local.INFO: TCP Data received {"connection_id":125346,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f406ebcf8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 12:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406ebcf8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 12:08:34] local.INFO: Processing buffer {"connection_id":125346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406ebcf8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 12:08:34] local.INFO: Packet analysis {"connection_id":125346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406e"} 
[2026-07-08 12:08:34] local.INFO: Extracted packet for processing {"connection_id":125346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406e"} 
[2026-07-08 12:08:34] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":41,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 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-07-08 12:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573984256001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 12:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783492427000,"timestamp_ms":1783492427000,"timestamp_seconds":1783492427,"priority":1,"record_length":96,"hex_timestamp":"0000019f406ebcf8"} 
[2026-07-08 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-07-08 12:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 12:08: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-07-08 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-07-08 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-07-08 12:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573984256001,"66":25397,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 12:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573984256001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:08:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 12:08:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 12:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573984256001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 12:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":125346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:08:34] local.INFO: GPS data processed {"connection_id":125346,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:08:34] local.INFO: Acknowledgment sent {"connection_id":125346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:08:38] local.INFO: TCP Data received {"connection_id":125442,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4070ef78012d199ec0071fef680037010e24..."} 
[2026-07-08 12:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4070ef78012d199ec0071fef680037010e24..."} 
[2026-07-08 12:08:38] local.INFO: Processing buffer {"connection_id":125442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4070ef78012d199ec0071fef680037010e24..."} 
[2026-07-08 12:08:38] local.INFO: Packet analysis {"connection_id":125442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4070"} 
[2026-07-08 12:08:38] local.INFO: Extracted packet for processing {"connection_id":125442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4070"} 
[2026-07-08 12:08:38] local.INFO: GPS Element Parsed {"raw_longitude":756653760,"raw_latitude":119533416,"longitude_deg":75.665376,"latitude_deg":11.9533416,"altitude":55,"angle":270,"satellites":36,"speed":14,"hex_longitude":"2d199ec0","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-07-08 12:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574097664001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726289386700800,"note":"Value kept but may cause issues"} 
[2026-07-08 12:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846757352799191040,"note":"Value kept but may cause issues"} 
[2026-07-08 12:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783492571000,"timestamp_ms":1783492571000,"timestamp_seconds":1783492571,"priority":1,"record_length":96,"hex_timestamp":"0000019f4070ef78"} 
[2026-07-08 12:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-07-08 12:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574097664001,"66":13559,"121":206,"28":31744,"24":14,"16":4726289386700800,"45":1846757352799191040},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574097664001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:08:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:08:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726289386700800,"km_value":4726289386700.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846757352799191040,"description":"Unknown IO ID 45"} 
[2026-07-08 12:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574097664001,"power":13559,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1846757352799191040}} 
[2026-07-08 12:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":125442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:08:38] local.INFO: GPS data processed {"connection_id":125442,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:08:38] local.INFO: Acknowledgment sent {"connection_id":125442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:08:45] local.INFO: TCP Data received {"connection_id":126198,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126198,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:08:45] local.INFO: Processing buffer {"connection_id":126198,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:08:45] local.INFO: IMEI packet received {"connection_id":126198,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":126198,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:08:50] local.INFO: TCP Data received {"connection_id":126198,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126198,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:08:50] local.INFO: Processing buffer {"connection_id":126198,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:08:50] local.INFO: IMEI packet received {"connection_id":126198,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":126198,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:08:51] local.INFO: TCP Data received {"connection_id":126198,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f406f9ba0012d0b130007029fc00000013421..."} 
[2026-07-08 12:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406f9ba0012d0b130007029fc00000013421..."} 
[2026-07-08 12:08:51] local.INFO: Processing buffer {"connection_id":126198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406f9ba0012d0b130007029fc00000013421..."} 
[2026-07-08 12:08:51] local.INFO: Packet analysis {"connection_id":126198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406f"} 
[2026-07-08 12:08:51] local.INFO: Extracted packet for processing {"connection_id":126198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406f"} 
[2026-07-08 12:08:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573998848001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783492484000,"timestamp_ms":1783492484000,"timestamp_seconds":1783492484,"priority":1,"record_length":96,"hex_timestamp":"0000019f406f9ba0"} 
[2026-07-08 12:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:08: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-07-08 12:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:08:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:08:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126198,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126198,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573998848001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 12:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573998848001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:08:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573998848001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":126198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450836,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:08:51] local.INFO: GPS data processed {"connection_id":126198,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:08:51] local.INFO: Acknowledgment sent {"connection_id":126198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:08:56] local.INFO: TCP Data received {"connection_id":126199,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:08:56] local.INFO: Processing buffer {"connection_id":126199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:08:56] local.INFO: IMEI packet received {"connection_id":126199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":126199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:09:00] local.INFO: TCP Data received {"connection_id":125443,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:09:00] local.INFO: Processing buffer {"connection_id":125443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:09:00] local.INFO: IMEI packet received {"connection_id":125443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":125443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:09:01] local.INFO: TCP Data received {"connection_id":126199,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:09:01] local.INFO: Processing buffer {"connection_id":126199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:09:01] local.INFO: IMEI packet received {"connection_id":126199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":126199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:09:01] local.INFO: TCP Data received {"connection_id":125443,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:09:01] local.INFO: Processing buffer {"connection_id":125443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:09:01] local.INFO: IMEI packet received {"connection_id":125443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":125443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:09:02] local.INFO: TCP Data received {"connection_id":126199,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f406ebcf8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 12:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406ebcf8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 12:09:02] local.INFO: Processing buffer {"connection_id":126199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406ebcf8012d7f9b8005afe3b80000012d29..."} 
[2026-07-08 12:09:02] local.INFO: Packet analysis {"connection_id":126199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406e"} 
[2026-07-08 12:09:02] local.INFO: Extracted packet for processing {"connection_id":126199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406e"} 
[2026-07-08 12:09:02] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":41,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 12:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573984256001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 12:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783492427000,"timestamp_ms":1783492427000,"timestamp_seconds":1783492427,"priority":1,"record_length":96,"hex_timestamp":"0000019f406ebcf8"} 
[2026-07-08 12:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 12:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573984256001,"66":25397,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 12:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573984256001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:09:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 12:09:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 12:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573984256001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 12:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":126199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:09:02] local.INFO: GPS data processed {"connection_id":126199,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:09:02] local.INFO: Acknowledgment sent {"connection_id":126199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:09:06] local.INFO: TCP Data received {"connection_id":125443,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:09:06] local.INFO: Processing buffer {"connection_id":125443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:09:06] local.INFO: IMEI packet received {"connection_id":125443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":125443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:09:07] local.INFO: TCP Data received {"connection_id":125443,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40712628012d198680071ff010003d010225..."} 
[2026-07-08 12:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40712628012d198680071ff010003d010225..."} 
[2026-07-08 12:09:07] local.INFO: Processing buffer {"connection_id":125443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40712628012d198680071ff010003d010225..."} 
[2026-07-08 12:09:07] local.INFO: Packet analysis {"connection_id":125443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4071"} 
[2026-07-08 12:09:07] local.INFO: Extracted packet for processing {"connection_id":125443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4071"} 
[2026-07-08 12:09:07] local.INFO: GPS Element Parsed {"raw_longitude":756647552,"raw_latitude":119533584,"longitude_deg":75.6647552,"latitude_deg":11.9533584,"altitude":61,"angle":258,"satellites":37,"speed":16,"hex_longitude":"2d198680","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-08 12:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574098176001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726581444476928,"note":"Value kept but may cause issues"} 
[2026-07-08 12:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846124034101569536,"note":"Value kept but may cause issues"} 
[2026-07-08 12:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783492585000,"timestamp_ms":1783492585000,"timestamp_seconds":1783492585,"priority":1,"record_length":96,"hex_timestamp":"0000019f40712628"} 
[2026-07-08 12:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-08 12:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574098176001,"66":13341,"121":206,"28":31744,"24":16,"16":4726581444476928,"45":1846124034101569536},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574098176001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:09:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:09:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726581444476928,"km_value":4726581444476.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846124034101569536,"description":"Unknown IO ID 45"} 
[2026-07-08 12:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574098176001,"power":13341,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1846124034101569536}} 
[2026-07-08 12:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":125443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:09:07] local.INFO: GPS data processed {"connection_id":125443,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:09:07] local.INFO: Acknowledgment sent {"connection_id":125443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:09:22] local.INFO: TCP Data received {"connection_id":126198,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f406f9ba0012d0b130007029fc00000013421..."} 
[2026-07-08 12:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f406f9ba0012d0b130007029fc00000013421..."} 
[2026-07-08 12:09:22] local.INFO: Processing buffer {"connection_id":126198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f406f9ba0012d0b130007029fc00000013421..."} 
[2026-07-08 12:09:22] local.INFO: Packet analysis {"connection_id":126198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f406f"} 
[2026-07-08 12:09:22] local.INFO: Extracted packet for processing {"connection_id":126198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f406f"} 
[2026-07-08 12:09:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456573998848001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783492484000,"timestamp_ms":1783492484000,"timestamp_seconds":1783492484,"priority":1,"record_length":96,"hex_timestamp":"0000019f406f9ba0"} 
[2026-07-08 12:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:09:22] 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-07-08 12: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126198,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126198,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456573998848001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 12:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456573998848001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:09:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456573998848001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":126198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450839,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:09:22] local.INFO: GPS data processed {"connection_id":126198,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:09:22] local.INFO: Acknowledgment sent {"connection_id":126198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:09:25] local.INFO: TCP Data received {"connection_id":126200,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126200,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:09:25] local.INFO: Processing buffer {"connection_id":126200,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:09:25] local.INFO: IMEI packet received {"connection_id":126200,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 12:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":126200,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:09:33] local.INFO: TCP Data received {"connection_id":126199,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f407354c0012d7f9b8005afe3b80000012d23..."} 
[2026-07-08 12:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407354c0012d7f9b8005afe3b80000012d23..."} 
[2026-07-08 12:09:33] local.INFO: Processing buffer {"connection_id":126199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407354c0012d7f9b8005afe3b80000012d23..."} 
[2026-07-08 12:09:33] local.INFO: Packet analysis {"connection_id":126199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4073"} 
[2026-07-08 12:09:33] local.INFO: Extracted packet for processing {"connection_id":126199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4073"} 
[2026-07-08 12:09:33] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":35,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 12:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574061312001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 12:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783492728000,"timestamp_ms":1783492728000,"timestamp_seconds":1783492728,"priority":1,"record_length":96,"hex_timestamp":"0000019f407354c0"} 
[2026-07-08 12:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 12:09: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-07-08 12:09:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574061312001,"66":25451,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 12:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574061312001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:09:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 12:09:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 12:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574061312001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 12:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":126199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:09:33] local.INFO: GPS data processed {"connection_id":126199,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:09:33] local.INFO: Acknowledgment sent {"connection_id":126199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:09:39] local.INFO: TCP Data received {"connection_id":125443,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40712df8012d198340071feef8003e00ee28..."} 
[2026-07-08 12:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40712df8012d198340071feef8003e00ee28..."} 
[2026-07-08 12:09:39] local.INFO: Processing buffer {"connection_id":125443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40712df8012d198340071feef8003e00ee28..."} 
[2026-07-08 12:09:39] local.INFO: Packet analysis {"connection_id":125443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4071"} 
[2026-07-08 12:09:39] local.INFO: Extracted packet for processing {"connection_id":125443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4071"} 
[2026-07-08 12:09:39] local.INFO: GPS Element Parsed {"raw_longitude":756646720,"raw_latitude":119533304,"longitude_deg":75.664672,"latitude_deg":11.9533304,"altitude":62,"angle":238,"satellites":40,"speed":16,"hex_longitude":"2d198340","hex_latitude":"071feef8","is_valid_coordinates":true} 
[2026-07-08 12:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574101760001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726624394149888,"note":"Value kept but may cause issues"} 
[2026-07-08 12:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839298265916379136,"note":"Value kept but may cause issues"} 
[2026-07-08 12:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783492587000,"timestamp_ms":1783492587000,"timestamp_seconds":1783492587,"priority":1,"record_length":96,"hex_timestamp":"0000019f40712df8"} 
[2026-07-08 12:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12: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":29,"data_length":795,"current_offset":136} 
[2026-07-08 12:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574101760001,"66":13341,"121":206,"28":31744,"24":16,"16":4726624394149888,"45":1839298265916379136},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574101760001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:09:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:09:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726624394149888,"km_value":4726624394149.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839298265916379136,"description":"Unknown IO ID 45"} 
[2026-07-08 12:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574101760001,"power":13341,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1839298265916379136}} 
[2026-07-08 12:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":125443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:09:39] local.INFO: GPS data processed {"connection_id":125443,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:09:39] local.INFO: Acknowledgment sent {"connection_id":125443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:09:45] local.INFO: TCP Data received {"connection_id":125347,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125347,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:09:45] local.INFO: Processing buffer {"connection_id":125347,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:09:45] local.INFO: IMEI packet received {"connection_id":125347,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":125347,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:09:49] local.INFO: TCP Data received {"connection_id":125347,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125347,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:09:49] local.INFO: Processing buffer {"connection_id":125347,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:09:49] local.INFO: IMEI packet received {"connection_id":125347,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":125347,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:09:50] local.INFO: TCP Data received {"connection_id":125347,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125347,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:09:50] local.INFO: Processing buffer {"connection_id":125347,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:09:50] local.INFO: IMEI packet received {"connection_id":125347,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":125347,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:09:50] local.INFO: TCP Data received {"connection_id":125347,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f40743368012d0b130007029fc00000013422..."} 
[2026-07-08 12:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40743368012d0b130007029fc00000013422..."} 
[2026-07-08 12:09:50] local.INFO: Processing buffer {"connection_id":125347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40743368012d0b130007029fc00000013422..."} 
[2026-07-08 12:09:50] local.INFO: Packet analysis {"connection_id":125347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4074"} 
[2026-07-08 12:09:50] local.INFO: Extracted packet for processing {"connection_id":125347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4074"} 
[2026-07-08 12:09:50] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574075904001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:09:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783492785000,"timestamp_ms":1783492785000,"timestamp_seconds":1783492785,"priority":1,"record_length":96,"hex_timestamp":"0000019f40743368"} 
[2026-07-08 12:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:09:50] 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-07-08 12:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 12:09:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:09:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":125347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":125347,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":125347,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574075904001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574075904001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:09:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:09:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574075904001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":125347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450842,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:09:51] local.INFO: GPS data processed {"connection_id":125347,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:09:51] local.INFO: Acknowledgment sent {"connection_id":125347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:09:58] local.INFO: TCP Data received {"connection_id":125347,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f40743368012d0b130007029fc00000013422..."} 
[2026-07-08 12:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40743368012d0b130007029fc00000013422..."} 
[2026-07-08 12:09:58] local.INFO: Processing buffer {"connection_id":125347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40743368012d0b130007029fc00000013422..."} 
[2026-07-08 12:09:58] local.INFO: Packet analysis {"connection_id":125347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4074"} 
[2026-07-08 12:09:58] local.INFO: Extracted packet for processing {"connection_id":125347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4074"} 
[2026-07-08 12:09:58] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574075904001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:09:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783492785000,"timestamp_ms":1783492785000,"timestamp_seconds":1783492785,"priority":1,"record_length":96,"hex_timestamp":"0000019f40743368"} 
[2026-07-08 12:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:09:58] 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-07-08 12:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 12:09:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:09:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":125347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":125347,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":125347,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574075904001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574075904001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:09:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574075904001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":125347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450843,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:09:59] local.INFO: GPS data processed {"connection_id":125347,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:09:59] local.INFO: Acknowledgment sent {"connection_id":125347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:10:00] local.INFO: TCP Data received {"connection_id":125348,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:10:00] local.INFO: Processing buffer {"connection_id":125348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:10:00] local.INFO: IMEI packet received {"connection_id":125348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":125348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:10:01] local.INFO: TCP Data received {"connection_id":125444,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:10:01] local.INFO: Processing buffer {"connection_id":125444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:10:01] local.INFO: IMEI packet received {"connection_id":125444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":125444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:10:02] local.INFO: TCP Data received {"connection_id":125445,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125445,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:10:02] local.INFO: Processing buffer {"connection_id":125445,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:10:02] local.INFO: IMEI packet received {"connection_id":125445,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 12:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":125445,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:10:05] local.INFO: TCP Data received {"connection_id":125348,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:10:05] local.INFO: Processing buffer {"connection_id":125348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:10:05] local.INFO: IMEI packet received {"connection_id":125348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":125348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:10:06] local.INFO: TCP Data received {"connection_id":125444,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:10:06] local.INFO: Processing buffer {"connection_id":125444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:10:06] local.INFO: IMEI packet received {"connection_id":125444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":125444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:10:06] local.INFO: TCP Data received {"connection_id":125348,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40713d98012d197d40071feb68003f00ff28..."} 
[2026-07-08 12:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40713d98012d197d40071feb68003f00ff28..."} 
[2026-07-08 12:10:06] local.INFO: Processing buffer {"connection_id":125348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40713d98012d197d40071feb68003f00ff28..."} 
[2026-07-08 12:10:06] local.INFO: Packet analysis {"connection_id":125348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4071"} 
[2026-07-08 12:10:06] local.INFO: Extracted packet for processing {"connection_id":125348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4071"} 
[2026-07-08 12:10:06] local.INFO: GPS Element Parsed {"raw_longitude":756645184,"raw_latitude":119532392,"longitude_deg":75.6645184,"latitude_deg":11.9532392,"altitude":63,"angle":255,"satellites":40,"speed":18,"hex_longitude":"2d197d40","hex_latitude":"071feb68","is_valid_coordinates":true} 
[2026-07-08 12:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574102272001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726710293495808,"note":"Value kept but may cause issues"} 
[2026-07-08 12:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838383472241997824,"note":"Value kept but may cause issues"} 
[2026-07-08 12:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783492591000,"timestamp_ms":1783492591000,"timestamp_seconds":1783492591,"priority":1,"record_length":96,"hex_timestamp":"0000019f40713d98"} 
[2026-07-08 12:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-08 12:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574102272001,"66":13330,"121":206,"28":31744,"24":18,"16":4726710293495808,"45":1838383472241997824},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574102272001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:10:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:10:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726710293495808,"km_value":4726710293495.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838383472241997824,"description":"Unknown IO ID 45"} 
[2026-07-08 12:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574102272001,"power":13330,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1838383472241997824}} 
[2026-07-08 12:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":125348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:10:06] local.INFO: GPS data processed {"connection_id":125348,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:10:06] local.INFO: Acknowledgment sent {"connection_id":125348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:10:07] local.INFO: TCP Data received {"connection_id":125444,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f407354c0012d7f9b8005afe3b80000012d23..."} 
[2026-07-08 12:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407354c0012d7f9b8005afe3b80000012d23..."} 
[2026-07-08 12:10:07] local.INFO: Processing buffer {"connection_id":125444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407354c0012d7f9b8005afe3b80000012d23..."} 
[2026-07-08 12:10:07] local.INFO: Packet analysis {"connection_id":125444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4073"} 
[2026-07-08 12:10:07] local.INFO: Extracted packet for processing {"connection_id":125444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4073"} 
[2026-07-08 12:10:07] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":35,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 12:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574061312001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 12:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783492728000,"timestamp_ms":1783492728000,"timestamp_seconds":1783492728,"priority":1,"record_length":96,"hex_timestamp":"0000019f407354c0"} 
[2026-07-08 12:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 12:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574061312001,"66":25451,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 12:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574061312001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:10:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 12:10:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 12:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574061312001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 12:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":125444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:10:07] local.INFO: GPS data processed {"connection_id":125444,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:10:07] local.INFO: Acknowledgment sent {"connection_id":125444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:10:11] local.INFO: TCP Data received {"connection_id":125444,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f407354c0012d7f9b8005afe3b80000012d23..."} 
[2026-07-08 12:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407354c0012d7f9b8005afe3b80000012d23..."} 
[2026-07-08 12:10:11] local.INFO: Processing buffer {"connection_id":125444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407354c0012d7f9b8005afe3b80000012d23..."} 
[2026-07-08 12:10:11] local.INFO: Packet analysis {"connection_id":125444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4073"} 
[2026-07-08 12:10:11] local.INFO: Extracted packet for processing {"connection_id":125444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4073"} 
[2026-07-08 12:10:11] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":35,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 12:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574061312001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 12:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783492728000,"timestamp_ms":1783492728000,"timestamp_seconds":1783492728,"priority":1,"record_length":96,"hex_timestamp":"0000019f407354c0"} 
[2026-07-08 12:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12: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":53,"data_length":795,"current_offset":136} 
[2026-07-08 12:10: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-07-08 12:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574061312001,"66":25451,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 12:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574061312001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:10:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 12:10:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 12:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574061312001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 12:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":125444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:10:12] local.INFO: GPS data processed {"connection_id":125444,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:10:12] local.INFO: Acknowledgment sent {"connection_id":125444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:10:30] local.INFO: TCP Data received {"connection_id":125347,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f40743368012d0b130007029fc00000013422..."} 
[2026-07-08 12:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40743368012d0b130007029fc00000013422..."} 
[2026-07-08 12:10:30] local.INFO: Processing buffer {"connection_id":125347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40743368012d0b130007029fc00000013422..."} 
[2026-07-08 12:10:30] local.INFO: Packet analysis {"connection_id":125347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4074"} 
[2026-07-08 12:10:30] local.INFO: Extracted packet for processing {"connection_id":125347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4074"} 
[2026-07-08 12:10:30] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574075904001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:10: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-07-08 12:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783492785000,"timestamp_ms":1783492785000,"timestamp_seconds":1783492785,"priority":1,"record_length":96,"hex_timestamp":"0000019f40743368"} 
[2026-07-08 12:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:10:30] 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-07-08 12:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 12:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":125347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":125347,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":125347,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574075904001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574075904001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:10:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574075904001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":125347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450847,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:10:30] local.INFO: GPS data processed {"connection_id":125347,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:10:30] local.INFO: Acknowledgment sent {"connection_id":125347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:10:37] local.INFO: TCP Data received {"connection_id":125348,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40714950012d197800071feac8003f010c26..."} 
[2026-07-08 12:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40714950012d197800071feac8003f010c26..."} 
[2026-07-08 12:10:37] local.INFO: Processing buffer {"connection_id":125348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40714950012d197800071feac8003f010c26..."} 
[2026-07-08 12:10:37] local.INFO: Packet analysis {"connection_id":125348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4071"} 
[2026-07-08 12:10:37] local.INFO: Extracted packet for processing {"connection_id":125348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4071"} 
[2026-07-08 12:10:37] local.INFO: GPS Element Parsed {"raw_longitude":756643840,"raw_latitude":119532232,"longitude_deg":75.664384,"latitude_deg":11.9532232,"altitude":63,"angle":268,"satellites":38,"speed":16,"hex_longitude":"2d197800","hex_latitude":"071feac8","is_valid_coordinates":true} 
[2026-07-08 12:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574103296001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726779012972544,"note":"Value kept but may cause issues"} 
[2026-07-08 12:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836694622381500416,"note":"Value kept but may cause issues"} 
[2026-07-08 12:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783492594000,"timestamp_ms":1783492594000,"timestamp_seconds":1783492594,"priority":1,"record_length":96,"hex_timestamp":"0000019f40714950"} 
[2026-07-08 12:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-08 12:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-08 12:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3397320704,"note":"Value kept but may cause issues"} 
[2026-07-08 12:10:37] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":2298478592,"corrected_to":0} 
[2026-07-08 12:10:37] local.WARNING: Large IO value detected {"io_id":62,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-08 12:10:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249817172488220712,"note":"Value kept but may cause issues"} 
[2026-07-08 12:10:37] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13494137,"corrected_to":0} 
[2026-07-08 12:10:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-1056093889263033600,"note":"Value kept but may cause issues"} 
[2026-07-08 12:10:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-08 12:10:37] local.WARNING: Large IO value detected {"io_id":12,"raw_value":563985040580120,"note":"Value kept but may cause issues"} 
[2026-07-08 12:10:37] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3221302553,"note":"Value kept but may cause issues"} 
[2026-07-08 12:10:37] local.WARNING: Large IO value detected {"io_id":88,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-07-08 12:10:37] local.WARNING: Large IO value detected {"io_id":112,"raw_value":-2880050668488048633,"note":"Value kept but may cause issues"} 
[2026-07-08 12:10:37] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-07-08 12:10:37] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,121,28,24,241,158,16,202,159,45,64,238,62,40,10,66,38,128,240,61,37,239,192,1,247,31,4,113,205,12,227,162,35,53,2,7,88,112,231],"length":626,"final_offset":756,"validated_count":39,"validation_warnings":[{"io_id":202,"original":2298478592,"validated":0},{"io_id":247,"original":13494137,"validated":0},{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-08 12:10:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539908971654414336,"timestamp_seconds":4539908971654414.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 12:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574103296001,"66":13330,"121":206,"28":31744,"24":16,"16":4726779012972544,"45":1836694622381500416},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574103296001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:10:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:10:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726779012972544,"km_value":4726779012972.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836694622381500416,"description":"Unknown IO ID 45"} 
[2026-07-08 12:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574103296001,"power":13330,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1836694622381500416}} 
[2026-07-08 12:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":125348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:10:37] local.INFO: GPS data processed {"connection_id":125348,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:10:37] local.INFO: Acknowledgment sent {"connection_id":125348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:10:50] local.INFO: TCP Data received {"connection_id":126201,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126201,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:10:50] local.INFO: Processing buffer {"connection_id":126201,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:10:50] local.INFO: IMEI packet received {"connection_id":126201,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":126201,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:10:55] local.INFO: TCP Data received {"connection_id":126201,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126201,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:10:55] local.INFO: Processing buffer {"connection_id":126201,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:10:55] local.INFO: IMEI packet received {"connection_id":126201,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":126201,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:10:56] local.INFO: TCP Data received {"connection_id":126201,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f40743368012d0b130007029fc00000013422..."} 
[2026-07-08 12:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40743368012d0b130007029fc00000013422..."} 
[2026-07-08 12:10:56] local.INFO: Processing buffer {"connection_id":126201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40743368012d0b130007029fc00000013422..."} 
[2026-07-08 12:10:56] local.INFO: Packet analysis {"connection_id":126201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4074"} 
[2026-07-08 12:10:56] local.INFO: Extracted packet for processing {"connection_id":126201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4074"} 
[2026-07-08 12:10:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574075904001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783492785000,"timestamp_ms":1783492785000,"timestamp_seconds":1783492785,"priority":1,"record_length":96,"hex_timestamp":"0000019f40743368"} 
[2026-07-08 12:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:10:56] 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-07-08 12:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 12:10:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:10:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":126201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":126201,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":126201,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574075904001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574075904001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:10:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574075904001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":126201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450849,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:10:56] local.INFO: GPS data processed {"connection_id":126201,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:10:56] local.INFO: Acknowledgment sent {"connection_id":126201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:10:56] local.INFO: TCP Data received {"connection_id":126202,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:10:56] local.INFO: Processing buffer {"connection_id":126202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:10:56] local.INFO: IMEI packet received {"connection_id":126202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":126202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:11:00] local.INFO: TCP Data received {"connection_id":126201,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f40743368012d0b130007029fc00000013422..."} 
[2026-07-08 12:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40743368012d0b130007029fc00000013422..."} 
[2026-07-08 12:11:00] local.INFO: Processing buffer {"connection_id":126201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40743368012d0b130007029fc00000013422..."} 
[2026-07-08 12:11:00] local.INFO: Packet analysis {"connection_id":126201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4074"} 
[2026-07-08 12:11:00] local.INFO: Extracted packet for processing {"connection_id":126201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4074"} 
[2026-07-08 12:11:00] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574075904001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783492785000,"timestamp_ms":1783492785000,"timestamp_seconds":1783492785,"priority":1,"record_length":96,"hex_timestamp":"0000019f40743368"} 
[2026-07-08 12:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:11:00] 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-07-08 12: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 12:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126201,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126201,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574075904001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574075904001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:11:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574075904001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":126201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450850,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:11:00] local.INFO: GPS data processed {"connection_id":126201,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:11:00] local.INFO: Acknowledgment sent {"connection_id":126201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:11:00] local.INFO: TCP Data received {"connection_id":126203,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:11:00] local.INFO: Processing buffer {"connection_id":126203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:11:00] local.INFO: IMEI packet received {"connection_id":126203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":126203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:11:01] local.INFO: TCP Data received {"connection_id":126202,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:11:01] local.INFO: Processing buffer {"connection_id":126202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:11:01] local.INFO: IMEI packet received {"connection_id":126202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":126202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:11:02] local.INFO: TCP Data received {"connection_id":126202,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f407354c0012d7f9b8005afe3b80000012d23..."} 
[2026-07-08 12:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407354c0012d7f9b8005afe3b80000012d23..."} 
[2026-07-08 12:11:02] local.INFO: Processing buffer {"connection_id":126202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407354c0012d7f9b8005afe3b80000012d23..."} 
[2026-07-08 12:11:02] local.INFO: Packet analysis {"connection_id":126202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4073"} 
[2026-07-08 12:11:02] local.INFO: Extracted packet for processing {"connection_id":126202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4073"} 
[2026-07-08 12:11:02] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":35,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 12:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574061312001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 12:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783492728000,"timestamp_ms":1783492728000,"timestamp_seconds":1783492728,"priority":1,"record_length":96,"hex_timestamp":"0000019f407354c0"} 
[2026-07-08 12:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 12:11: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-07-08 12:11:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574061312001,"66":25451,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 12:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574061312001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:11:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 12:11:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 12:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574061312001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 12:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":126202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:11:02] local.INFO: GPS data processed {"connection_id":126202,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:11:02] local.INFO: Acknowledgment sent {"connection_id":126202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:11:06] local.INFO: TCP Data received {"connection_id":126203,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:11:06] local.INFO: Processing buffer {"connection_id":126203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:11:06] local.INFO: IMEI packet received {"connection_id":126203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":126203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:11:07] local.INFO: TCP Data received {"connection_id":126203,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f407158f0012d197100071febc0003f011a25..."} 
[2026-07-08 12:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407158f0012d197100071febc0003f011a25..."} 
[2026-07-08 12:11:07] local.INFO: Processing buffer {"connection_id":126203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407158f0012d197100071febc0003f011a25..."} 
[2026-07-08 12:11:07] local.INFO: Packet analysis {"connection_id":126203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4071"} 
[2026-07-08 12:11:07] local.INFO: Extracted packet for processing {"connection_id":126203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4071"} 
[2026-07-08 12:11:07] local.INFO: GPS Element Parsed {"raw_longitude":756642048,"raw_latitude":119532480,"longitude_deg":75.6642048,"latitude_deg":11.953248,"altitude":63,"angle":282,"satellites":37,"speed":14,"hex_longitude":"2d197100","hex_latitude":"071febc0","is_valid_coordinates":true} 
[2026-07-08 12:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574104064001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726860617351168,"note":"Value kept but may cause issues"} 
[2026-07-08 12:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1835216878753728512,"note":"Value kept but may cause issues"} 
[2026-07-08 12:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783492598000,"timestamp_ms":1783492598000,"timestamp_seconds":1783492598,"priority":1,"record_length":96,"hex_timestamp":"0000019f407158f0"} 
[2026-07-08 12:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-08 12:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-08 12:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3397517312,"note":"Value kept but may cause issues"} 
[2026-07-08 12:11:07] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":3439329280,"corrected_to":0} 
[2026-07-08 12:11:07] local.WARNING: Large IO value detected {"io_id":62,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-08 12:11:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249809750784733528,"note":"Value kept but may cause issues"} 
[2026-07-08 12:11:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-1094374481801633024,"note":"Value kept but may cause issues"} 
[2026-07-08 12:11:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-08 12:11:07] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-07-08 12:11:07] local.WARNING: Large IO value detected {"io_id":7,"raw_value":563985040580120,"note":"Value kept but may cause issues"} 
[2026-07-08 12:11:07] local.WARNING: Large IO value detected {"io_id":88,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-07-08 12:11:07] local.WARNING: Large IO value detected {"io_id":112,"raw_value":-2317100715066867705,"note":"Value kept but may cause issues"} 
[2026-07-08 12:11:07] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,121,28,24,241,158,16,202,159,61,45,64,235,63,40,10,66,238,62,38,128,1,240,29,31,4,113,205,14,231,161,192,35,239,53,2,7,9,88,112],"length":626,"final_offset":756,"validated_count":40,"validation_warnings":[{"io_id":202,"original":3439329280,"validated":0},{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-08 12:11:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539923256715509760,"timestamp_seconds":4539923256715510.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 12:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574104064001,"66":13352,"121":206,"28":31744,"24":14,"16":4726860617351168,"45":1835216878753728512},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574104064001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:11:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:11:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726860617351168,"km_value":4726860617351.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1835216878753728512,"description":"Unknown IO ID 45"} 
[2026-07-08 12:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574104064001,"power":13352,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1835216878753728512}} 
[2026-07-08 12:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":126203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:11:07] local.INFO: GPS data processed {"connection_id":126203,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:11:07] local.INFO: Acknowledgment sent {"connection_id":126203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:11:33] local.INFO: TCP Data received {"connection_id":126202,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f407354c0012d7f9b8005afe3b80000012d23..."} 
[2026-07-08 12:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407354c0012d7f9b8005afe3b80000012d23..."} 
[2026-07-08 12:11:33] local.INFO: Processing buffer {"connection_id":126202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407354c0012d7f9b8005afe3b80000012d23..."} 
[2026-07-08 12:11:33] local.INFO: Packet analysis {"connection_id":126202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4073"} 
[2026-07-08 12:11:33] local.INFO: Extracted packet for processing {"connection_id":126202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4073"} 
[2026-07-08 12:11:33] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":35,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 12:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574061312001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 12:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783492728000,"timestamp_ms":1783492728000,"timestamp_seconds":1783492728,"priority":1,"record_length":96,"hex_timestamp":"0000019f407354c0"} 
[2026-07-08 12:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 12:11: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-07-08 12:11:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:11: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-07-08 12:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574061312001,"66":25451,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 12:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574061312001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:11:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 12:11:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 12:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574061312001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 12:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":126202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:11:33] local.INFO: GPS data processed {"connection_id":126202,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:11:33] local.INFO: Acknowledgment sent {"connection_id":126202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:11:38] local.INFO: TCP Data received {"connection_id":126203,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4071aaf8012d196840071fede00040011f23..."} 
[2026-07-08 12:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4071aaf8012d196840071fede00040011f23..."} 
[2026-07-08 12:11:38] local.INFO: Processing buffer {"connection_id":126203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4071aaf8012d196840071fede00040011f23..."} 
[2026-07-08 12:11:38] local.INFO: Packet analysis {"connection_id":126203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4071"} 
[2026-07-08 12:11:38] local.INFO: Extracted packet for processing {"connection_id":126203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4071"} 
[2026-07-08 12:11:38] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533024,"longitude_deg":75.6639808,"latitude_deg":11.9533024,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede0","is_valid_coordinates":true} 
[2026-07-08 12:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574105088001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726980876435456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833246553916817408,"note":"Value kept but may cause issues"} 
[2026-07-08 12:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783492619000,"timestamp_ms":1783492619000,"timestamp_seconds":1783492619,"priority":1,"record_length":96,"hex_timestamp":"0000019f4071aaf8"} 
[2026-07-08 12:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-08 12:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574105088001,"66":12743,"121":206,"28":31744,"24":0,"16":4726980876435456,"45":1833246553916817408},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574105088001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:11:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:11:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726980876435456,"km_value":4726980876435.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833246553916817408,"description":"Unknown IO ID 45"} 
[2026-07-08 12:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574105088001,"power":12743,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1833246553916817408}} 
[2026-07-08 12:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":126203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:11:39] local.INFO: GPS data processed {"connection_id":126203,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:11:39] local.INFO: Acknowledgment sent {"connection_id":126203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:11:45] local.INFO: TCP Data received {"connection_id":125447,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125447,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:11:45] local.INFO: Processing buffer {"connection_id":125447,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:11:45] local.INFO: IMEI packet received {"connection_id":125447,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":125447,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:11:53] local.INFO: TCP Data received {"connection_id":125447,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125447,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:11:53] local.INFO: Processing buffer {"connection_id":125447,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:11:53] local.INFO: IMEI packet received {"connection_id":125447,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":125447,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:11:55] local.INFO: TCP Data received {"connection_id":125447,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f40743368012d0b130007029fc00000013422..."} 
[2026-07-08 12:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40743368012d0b130007029fc00000013422..."} 
[2026-07-08 12:11:55] local.INFO: Processing buffer {"connection_id":125447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40743368012d0b130007029fc00000013422..."} 
[2026-07-08 12:11:55] local.INFO: Packet analysis {"connection_id":125447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4074"} 
[2026-07-08 12:11:55] local.INFO: Extracted packet for processing {"connection_id":125447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4074"} 
[2026-07-08 12:11:55] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574075904001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783492785000,"timestamp_ms":1783492785000,"timestamp_seconds":1783492785,"priority":1,"record_length":96,"hex_timestamp":"0000019f40743368"} 
[2026-07-08 12:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:11:55] 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-07-08 12: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 12:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":125447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":125447,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":125447,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574075904001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574075904001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:11:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574075904001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":125447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450855,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:11:55] local.INFO: GPS data processed {"connection_id":125447,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:11:55] local.INFO: Acknowledgment sent {"connection_id":125447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:11:56] local.INFO: TCP Data received {"connection_id":127466,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:11:56] local.INFO: Processing buffer {"connection_id":127466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:11:56] local.INFO: IMEI packet received {"connection_id":127466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":127466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:12:01] local.INFO: TCP Data received {"connection_id":127466,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:12:01] local.INFO: Processing buffer {"connection_id":127466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:12:01] local.INFO: IMEI packet received {"connection_id":127466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":127466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:12:02] local.INFO: TCP Data received {"connection_id":127466,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f407354c0012d7f9b8005afe3b80000012d23..."} 
[2026-07-08 12:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407354c0012d7f9b8005afe3b80000012d23..."} 
[2026-07-08 12:12:02] local.INFO: Processing buffer {"connection_id":127466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407354c0012d7f9b8005afe3b80000012d23..."} 
[2026-07-08 12:12:02] local.INFO: Packet analysis {"connection_id":127466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4073"} 
[2026-07-08 12:12:02] local.INFO: Extracted packet for processing {"connection_id":127466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4073"} 
[2026-07-08 12:12:02] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":35,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 12:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574061312001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 12:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783492728000,"timestamp_ms":1783492728000,"timestamp_seconds":1783492728,"priority":1,"record_length":96,"hex_timestamp":"0000019f407354c0"} 
[2026-07-08 12:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 12:12: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-07-08 12:12:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574061312001,"66":25451,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 12:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574061312001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:12:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 12:12:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 12:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574061312001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 12:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":127466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:12:02] local.INFO: GPS data processed {"connection_id":127466,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:12:02] local.INFO: Acknowledgment sent {"connection_id":127466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:12:06] local.INFO: TCP Data received {"connection_id":125448,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:12:06] local.INFO: Processing buffer {"connection_id":125448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:12:06] local.INFO: IMEI packet received {"connection_id":125448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":125448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:12:11] local.INFO: TCP Data received {"connection_id":125448,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:12:11] local.INFO: Processing buffer {"connection_id":125448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:12:11] local.INFO: IMEI packet received {"connection_id":125448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":125448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:12:12] local.INFO: TCP Data received {"connection_id":125448,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40753150012d196840071fede00040011f25..."} 
[2026-07-08 12:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40753150012d196840071fede00040011f25..."} 
[2026-07-08 12:12:12] local.INFO: Processing buffer {"connection_id":125448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40753150012d196840071fede00040011f25..."} 
[2026-07-08 12:12:12] local.INFO: Packet analysis {"connection_id":125448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4075"} 
[2026-07-08 12:12:12] local.INFO: Extracted packet for processing {"connection_id":125448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4075"} 
[2026-07-08 12:12:12] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533024,"longitude_deg":75.6639808,"latitude_deg":11.9533024,"altitude":64,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede0","is_valid_coordinates":true} 
[2026-07-08 12:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574164224001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726980876435456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870738432,"note":"Value kept but may cause issues"} 
[2026-07-08 12:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783492850000,"timestamp_ms":1783492850000,"timestamp_seconds":1783492850,"priority":1,"record_length":96,"hex_timestamp":"0000019f40753150"} 
[2026-07-08 12:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:12: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-07-08 12:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-08 12:12: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-07-08 12:12:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574164224001,"66":12950,"121":206,"28":31744,"24":0,"16":4726980876435456,"45":1830783647870738432},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574164224001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:12:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:12:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726980876435456,"km_value":4726980876435.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870738432,"description":"Unknown IO ID 45"} 
[2026-07-08 12:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574164224001,"power":12950,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870738432}} 
[2026-07-08 12:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":125448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:12:12] local.INFO: GPS data processed {"connection_id":125448,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:12:12] local.INFO: Acknowledgment sent {"connection_id":125448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:12:13] local.INFO: TCP Data received {"connection_id":125448,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40758358012d196840071fede00040011f25..."} 
[2026-07-08 12:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40758358012d196840071fede00040011f25..."} 
[2026-07-08 12:12:13] local.INFO: Processing buffer {"connection_id":125448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40758358012d196840071fede00040011f25..."} 
[2026-07-08 12:12:13] local.INFO: Packet analysis {"connection_id":125448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4075"} 
[2026-07-08 12:12:13] local.INFO: Extracted packet for processing {"connection_id":125448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4075"} 
[2026-07-08 12:12:13] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533024,"longitude_deg":75.6639808,"latitude_deg":11.9533024,"altitude":64,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede0","is_valid_coordinates":true} 
[2026-07-08 12:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574169600001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726980876435456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870738432,"note":"Value kept but may cause issues"} 
[2026-07-08 12:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783492871000,"timestamp_ms":1783492871000,"timestamp_seconds":1783492871,"priority":1,"record_length":96,"hex_timestamp":"0000019f40758358"} 
[2026-07-08 12:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-08 12:12: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-07-08 12:12:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574169600001,"66":12950,"121":206,"28":31744,"24":0,"16":4726980876435456,"45":1830783647870738432},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574169600001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:12:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:12:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726980876435456,"km_value":4726980876435.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870738432,"description":"Unknown IO ID 45"} 
[2026-07-08 12:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574169600001,"power":12950,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870738432}} 
[2026-07-08 12:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":125448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:12:13] local.INFO: GPS data processed {"connection_id":125448,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:12:13] local.INFO: Acknowledgment sent {"connection_id":125448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:12:26] local.INFO: TCP Data received {"connection_id":125447,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f40743368012d0b130007029fc00000013422..."} 
[2026-07-08 12:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40743368012d0b130007029fc00000013422..."} 
[2026-07-08 12:12:26] local.INFO: Processing buffer {"connection_id":125447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40743368012d0b130007029fc00000013422..."} 
[2026-07-08 12:12:26] local.INFO: Packet analysis {"connection_id":125447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4074"} 
[2026-07-08 12:12:26] local.INFO: Extracted packet for processing {"connection_id":125447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4074"} 
[2026-07-08 12:12:26] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574075904001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:12:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783492785000,"timestamp_ms":1783492785000,"timestamp_seconds":1783492785,"priority":1,"record_length":96,"hex_timestamp":"0000019f40743368"} 
[2026-07-08 12:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:12:26] 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-07-08 12: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 12:12:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":125447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":125447,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":125447,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:12:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574075904001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574075904001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:12:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574075904001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":125447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450859,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:12:26] local.INFO: GPS data processed {"connection_id":125447,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:12:26] local.INFO: Acknowledgment sent {"connection_id":125447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:12:33] local.INFO: TCP Data received {"connection_id":127466,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f407354c0012d7f9b8005afe3b80000012d23..."} 
[2026-07-08 12:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407354c0012d7f9b8005afe3b80000012d23..."} 
[2026-07-08 12:12:33] local.INFO: Processing buffer {"connection_id":127466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407354c0012d7f9b8005afe3b80000012d23..."} 
[2026-07-08 12:12:33] local.INFO: Packet analysis {"connection_id":127466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4073"} 
[2026-07-08 12:12:33] local.INFO: Extracted packet for processing {"connection_id":127466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4073"} 
[2026-07-08 12:12:33] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":35,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 12:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574061312001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 12:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783492728000,"timestamp_ms":1783492728000,"timestamp_seconds":1783492728,"priority":1,"record_length":96,"hex_timestamp":"0000019f407354c0"} 
[2026-07-08 12:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 12:12: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-07-08 12:12:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574061312001,"66":25451,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 12:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574061312001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:12:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 12:12:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 12:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574061312001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 12:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":127466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:12:33] local.INFO: GPS data processed {"connection_id":127466,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:12:33] local.INFO: Acknowledgment sent {"connection_id":127466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:12:45] local.INFO: TCP Data received {"connection_id":125448,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4075d560012d196840071fede00040011f26..."} 
[2026-07-08 12:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4075d560012d196840071fede00040011f26..."} 
[2026-07-08 12:12:45] local.INFO: Processing buffer {"connection_id":125448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4075d560012d196840071fede00040011f26..."} 
[2026-07-08 12:12:45] local.INFO: Packet analysis {"connection_id":125448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4075"} 
[2026-07-08 12:12:45] local.INFO: Extracted packet for processing {"connection_id":125448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4075"} 
[2026-07-08 12:12:45] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533024,"longitude_deg":75.6639808,"latitude_deg":11.9533024,"altitude":64,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede0","is_valid_coordinates":true} 
[2026-07-08 12:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574174976001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726980876435456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870738432,"note":"Value kept but may cause issues"} 
[2026-07-08 12:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783492892000,"timestamp_ms":1783492892000,"timestamp_seconds":1783492892,"priority":1,"record_length":96,"hex_timestamp":"0000019f4075d560"} 
[2026-07-08 12:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:12:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-08 12:12:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:12:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":125448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":125448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":125448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574174976001,"66":12917,"121":206,"28":31744,"24":0,"16":4726980876435456,"45":1830783647870738432},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574174976001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:12:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:12:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726980876435456,"km_value":4726980876435.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870738432,"description":"Unknown IO ID 45"} 
[2026-07-08 12:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574174976001,"power":12917,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870738432}} 
[2026-07-08 12:12:45] local.INFO: TCP Data received {"connection_id":125349,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125349,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:12:45] local.INFO: Processing buffer {"connection_id":125349,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:12:45] local.INFO: IMEI packet received {"connection_id":125349,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":125349,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":125448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:12:45] local.INFO: GPS data processed {"connection_id":125448,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:12:45] local.INFO: Acknowledgment sent {"connection_id":125448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:12:50] local.INFO: TCP Data received {"connection_id":125349,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125349,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:12:50] local.INFO: Processing buffer {"connection_id":125349,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:12:50] local.INFO: IMEI packet received {"connection_id":125349,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":125349,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:12:51] local.INFO: TCP Data received {"connection_id":125349,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f40743368012d0b130007029fc00000013422..."} 
[2026-07-08 12:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40743368012d0b130007029fc00000013422..."} 
[2026-07-08 12:12:51] local.INFO: Processing buffer {"connection_id":125349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40743368012d0b130007029fc00000013422..."} 
[2026-07-08 12:12:51] local.INFO: Packet analysis {"connection_id":125349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4074"} 
[2026-07-08 12:12:51] local.INFO: Extracted packet for processing {"connection_id":125349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4074"} 
[2026-07-08 12:12:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574075904001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783492785000,"timestamp_ms":1783492785000,"timestamp_seconds":1783492785,"priority":1,"record_length":96,"hex_timestamp":"0000019f40743368"} 
[2026-07-08 12:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:12: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-07-08 12:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 12:12:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125349,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125349,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574075904001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574075904001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:12:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574075904001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":125349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450862,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:12:51] local.INFO: GPS data processed {"connection_id":125349,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:12:51] local.INFO: Acknowledgment sent {"connection_id":125349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:12:56] local.INFO: TCP Data received {"connection_id":125449,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:12:56] local.INFO: Processing buffer {"connection_id":125449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:12:56] local.INFO: IMEI packet received {"connection_id":125449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":125449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:13:00] local.INFO: TCP Data received {"connection_id":126204,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:13:00] local.INFO: Processing buffer {"connection_id":126204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:13:00] local.INFO: IMEI packet received {"connection_id":126204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":126204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:13:01] local.INFO: TCP Data received {"connection_id":125449,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:13:01] local.INFO: Processing buffer {"connection_id":125449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:13:01] local.INFO: IMEI packet received {"connection_id":125449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":125449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:13:02] local.INFO: TCP Data received {"connection_id":125449,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f407354c0012d7f9b8005afe3b80000012d23..."} 
[2026-07-08 12:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407354c0012d7f9b8005afe3b80000012d23..."} 
[2026-07-08 12:13:02] local.INFO: Processing buffer {"connection_id":125449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407354c0012d7f9b8005afe3b80000012d23..."} 
[2026-07-08 12:13:02] local.INFO: Packet analysis {"connection_id":125449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4073"} 
[2026-07-08 12:13:02] local.INFO: Extracted packet for processing {"connection_id":125449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4073"} 
[2026-07-08 12:13:02] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":35,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 12:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574061312001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 12:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783492728000,"timestamp_ms":1783492728000,"timestamp_seconds":1783492728,"priority":1,"record_length":96,"hex_timestamp":"0000019f407354c0"} 
[2026-07-08 12:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 12:13: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-07-08 12:13:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574061312001,"66":25451,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 12:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574061312001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:13:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 12:13:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 12:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574061312001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 12:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":125449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:13:02] local.INFO: GPS data processed {"connection_id":125449,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:13:02] local.INFO: Acknowledgment sent {"connection_id":125449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:13:06] local.INFO: TCP Data received {"connection_id":126204,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:13:06] local.INFO: Processing buffer {"connection_id":126204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:13:06] local.INFO: IMEI packet received {"connection_id":126204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":126204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:13:07] local.INFO: TCP Data received {"connection_id":126204,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40762768012d196840071fede00040011f22..."} 
[2026-07-08 12:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40762768012d196840071fede00040011f22..."} 
[2026-07-08 12:13:07] local.INFO: Processing buffer {"connection_id":126204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40762768012d196840071fede00040011f22..."} 
[2026-07-08 12:13:07] local.INFO: Packet analysis {"connection_id":126204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4076"} 
[2026-07-08 12:13:07] local.INFO: Extracted packet for processing {"connection_id":126204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4076"} 
[2026-07-08 12:13:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533024,"longitude_deg":75.6639808,"latitude_deg":11.9533024,"altitude":64,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede0","is_valid_coordinates":true} 
[2026-07-08 12:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574180352001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726980876435456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870738432,"note":"Value kept but may cause issues"} 
[2026-07-08 12:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783492913000,"timestamp_ms":1783492913000,"timestamp_seconds":1783492913,"priority":1,"record_length":96,"hex_timestamp":"0000019f40762768"} 
[2026-07-08 12:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-08 12:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574180352001,"66":12885,"121":206,"28":31744,"24":0,"16":4726980876435456,"45":1830783647870738432},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574180352001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:13:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:13:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726980876435456,"km_value":4726980876435.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870738432,"description":"Unknown IO ID 45"} 
[2026-07-08 12:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574180352001,"power":12885,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870738432}} 
[2026-07-08 12:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":126204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:13:07] local.INFO: GPS data processed {"connection_id":126204,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:13:07] local.INFO: Acknowledgment sent {"connection_id":126204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:13:11] local.INFO: TCP Data received {"connection_id":126204,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40767970012d196840071fede00040011f22..."} 
[2026-07-08 12:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40767970012d196840071fede00040011f22..."} 
[2026-07-08 12:13:11] local.INFO: Processing buffer {"connection_id":126204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40767970012d196840071fede00040011f22..."} 
[2026-07-08 12:13:11] local.INFO: Packet analysis {"connection_id":126204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4076"} 
[2026-07-08 12:13:11] local.INFO: Extracted packet for processing {"connection_id":126204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4076"} 
[2026-07-08 12:13:11] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533024,"longitude_deg":75.6639808,"latitude_deg":11.9533024,"altitude":64,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede0","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574185728001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726980876435456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870738432,"note":"Value kept but may cause issues"} 
[2026-07-08 12:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783492934000,"timestamp_ms":1783492934000,"timestamp_seconds":1783492934,"priority":1,"record_length":96,"hex_timestamp":"0000019f40767970"} 
[2026-07-08 12:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-08 12:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574185728001,"66":12863,"121":206,"28":31744,"24":0,"16":4726980876435456,"45":1830783647870738432},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574185728001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:13:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:13:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726980876435456,"km_value":4726980876435.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870738432,"description":"Unknown IO ID 45"} 
[2026-07-08 12:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574185728001,"power":12863,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870738432}} 
[2026-07-08 12:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":126204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:13:11] local.INFO: GPS data processed {"connection_id":126204,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:13:11] local.INFO: Acknowledgment sent {"connection_id":126204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:13:23] local.INFO: TCP Data received {"connection_id":125349,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f40743368012d0b130007029fc00000013422..."} 
[2026-07-08 12:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40743368012d0b130007029fc00000013422..."} 
[2026-07-08 12:13:23] local.INFO: Processing buffer {"connection_id":125349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40743368012d0b130007029fc00000013422..."} 
[2026-07-08 12:13:23] local.INFO: Packet analysis {"connection_id":125349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4074"} 
[2026-07-08 12:13:23] local.INFO: Extracted packet for processing {"connection_id":125349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4074"} 
[2026-07-08 12:13:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574075904001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783492785000,"timestamp_ms":1783492785000,"timestamp_seconds":1783492785,"priority":1,"record_length":96,"hex_timestamp":"0000019f40743368"} 
[2026-07-08 12:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:13:23] 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-07-08 12: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 12:13:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":125349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":125349,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":125349,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574075904001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574075904001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:13:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574075904001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":125349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450866,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:13:23] local.INFO: GPS data processed {"connection_id":125349,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:13:23] local.INFO: Acknowledgment sent {"connection_id":125349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:13:33] local.INFO: TCP Data received {"connection_id":125449,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f407354c0012d7f9b8005afe3b80000012d23..."} 
[2026-07-08 12:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407354c0012d7f9b8005afe3b80000012d23..."} 
[2026-07-08 12:13:33] local.INFO: Processing buffer {"connection_id":125449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407354c0012d7f9b8005afe3b80000012d23..."} 
[2026-07-08 12:13:33] local.INFO: Packet analysis {"connection_id":125449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4073"} 
[2026-07-08 12:13:33] local.INFO: Extracted packet for processing {"connection_id":125449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4073"} 
[2026-07-08 12:13:33] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":35,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 12:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574061312001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 12:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783492728000,"timestamp_ms":1783492728000,"timestamp_seconds":1783492728,"priority":1,"record_length":96,"hex_timestamp":"0000019f407354c0"} 
[2026-07-08 12:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 12:13: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-07-08 12:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574061312001,"66":25451,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 12:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574061312001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:13:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 12:13:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 12:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574061312001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 12:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":125449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:13:33] local.INFO: GPS data processed {"connection_id":125449,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:13:33] local.INFO: Acknowledgment sent {"connection_id":125449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:13:43] local.INFO: TCP Data received {"connection_id":126204,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4076cb78012d196840071fede00040011f25..."} 
[2026-07-08 12:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4076cb78012d196840071fede00040011f25..."} 
[2026-07-08 12:13:43] local.INFO: Processing buffer {"connection_id":126204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4076cb78012d196840071fede00040011f25..."} 
[2026-07-08 12:13:43] local.INFO: Packet analysis {"connection_id":126204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4076"} 
[2026-07-08 12:13:43] local.INFO: Extracted packet for processing {"connection_id":126204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4076"} 
[2026-07-08 12:13:43] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533024,"longitude_deg":75.6639808,"latitude_deg":11.9533024,"altitude":64,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede0","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574191104001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726980876435456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870738432,"note":"Value kept but may cause issues"} 
[2026-07-08 12:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783492955000,"timestamp_ms":1783492955000,"timestamp_seconds":1783492955,"priority":1,"record_length":96,"hex_timestamp":"0000019f4076cb78"} 
[2026-07-08 12:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:13: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-07-08 12: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-08 12:13:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":126204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":126204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":126204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574191104001,"66":12678,"121":206,"28":31744,"24":0,"16":4726980876435456,"45":1830783647870738432},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574191104001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:13:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:13:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726980876435456,"km_value":4726980876435.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870738432,"description":"Unknown IO ID 45"} 
[2026-07-08 12:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574191104001,"power":12678,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870738432}} 
[2026-07-08 12:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":126204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:13:43] local.INFO: GPS data processed {"connection_id":126204,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:13:43] local.INFO: Acknowledgment sent {"connection_id":126204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:13:45] local.INFO: TCP Data received {"connection_id":125450,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125450,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:13:45] local.INFO: Processing buffer {"connection_id":125450,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:13:45] local.INFO: IMEI packet received {"connection_id":125450,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":125450,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:13:50] local.INFO: TCP Data received {"connection_id":125450,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125450,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:13:50] local.INFO: Processing buffer {"connection_id":125450,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:13:50] local.INFO: IMEI packet received {"connection_id":125450,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":125450,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:13:51] local.INFO: TCP Data received {"connection_id":125450,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f40743368012d0b130007029fc00000013422..."} 
[2026-07-08 12:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40743368012d0b130007029fc00000013422..."} 
[2026-07-08 12:13:51] local.INFO: Processing buffer {"connection_id":125450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40743368012d0b130007029fc00000013422..."} 
[2026-07-08 12:13:51] local.INFO: Packet analysis {"connection_id":125450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4074"} 
[2026-07-08 12:13:51] local.INFO: Extracted packet for processing {"connection_id":125450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4074"} 
[2026-07-08 12:13:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574075904001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783492785000,"timestamp_ms":1783492785000,"timestamp_seconds":1783492785,"priority":1,"record_length":96,"hex_timestamp":"0000019f40743368"} 
[2026-07-08 12:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:13: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-07-08 12:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 12:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125450,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125450,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574075904001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574075904001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:13:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574075904001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":125450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450869,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:13:51] local.INFO: GPS data processed {"connection_id":125450,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:13:51] local.INFO: Acknowledgment sent {"connection_id":125450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:13:56] local.INFO: TCP Data received {"connection_id":126205,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:13:56] local.INFO: Processing buffer {"connection_id":126205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:13:56] local.INFO: IMEI packet received {"connection_id":126205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":126205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:14:01] local.INFO: TCP Data received {"connection_id":126205,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:14:01] local.INFO: Processing buffer {"connection_id":126205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:14:01] local.INFO: IMEI packet received {"connection_id":126205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":126205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:14:01] local.INFO: TCP Data received {"connection_id":126206,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:14:01] local.INFO: Processing buffer {"connection_id":126206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:14:01] local.INFO: IMEI packet received {"connection_id":126206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":126206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:14:01] local.INFO: TCP Data received {"connection_id":126205,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f407354c0012d7f9b8005afe3b80000012d23..."} 
[2026-07-08 12:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407354c0012d7f9b8005afe3b80000012d23..."} 
[2026-07-08 12:14:01] local.INFO: Processing buffer {"connection_id":126205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407354c0012d7f9b8005afe3b80000012d23..."} 
[2026-07-08 12:14:01] local.INFO: Packet analysis {"connection_id":126205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4073"} 
[2026-07-08 12:14:01] local.INFO: Extracted packet for processing {"connection_id":126205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4073"} 
[2026-07-08 12:14:01] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":35,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 12:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574061312001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 12:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783492728000,"timestamp_ms":1783492728000,"timestamp_seconds":1783492728,"priority":1,"record_length":96,"hex_timestamp":"0000019f407354c0"} 
[2026-07-08 12:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:14:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 12:14:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574061312001,"66":25451,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 12:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574061312001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:14:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 12:14:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 12:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574061312001,"power":25451,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 12:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":126205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:14:01] local.INFO: GPS data processed {"connection_id":126205,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:14:01] local.INFO: Acknowledgment sent {"connection_id":126205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:14:06] local.INFO: TCP Data received {"connection_id":126206,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:14:06] local.INFO: Processing buffer {"connection_id":126206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:14:06] local.INFO: IMEI packet received {"connection_id":126206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":126206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:14:07] local.INFO: TCP Data received {"connection_id":126206,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40771d80012d196840071fede00040011f25..."} 
[2026-07-08 12:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40771d80012d196840071fede00040011f25..."} 
[2026-07-08 12:14:07] local.INFO: Processing buffer {"connection_id":126206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40771d80012d196840071fede00040011f25..."} 
[2026-07-08 12:14:07] local.INFO: Packet analysis {"connection_id":126206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4077"} 
[2026-07-08 12:14:07] local.INFO: Extracted packet for processing {"connection_id":126206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4077"} 
[2026-07-08 12:14:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533024,"longitude_deg":75.6639808,"latitude_deg":11.9533024,"altitude":64,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede0","is_valid_coordinates":true} 
[2026-07-08 12:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574196480001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726980876435456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870738432,"note":"Value kept but may cause issues"} 
[2026-07-08 12:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783492976000,"timestamp_ms":1783492976000,"timestamp_seconds":1783492976,"priority":1,"record_length":96,"hex_timestamp":"0000019f40771d80"} 
[2026-07-08 12:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-08 12:14: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-07-08 12:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574196480001,"66":12841,"121":206,"28":31744,"24":0,"16":4726980876435456,"45":1830783647870738432},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574196480001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:14:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:14:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726980876435456,"km_value":4726980876435.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870738432,"description":"Unknown IO ID 45"} 
[2026-07-08 12:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574196480001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870738432}} 
[2026-07-08 12:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":126206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:14:07] local.INFO: GPS data processed {"connection_id":126206,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:14:07] local.INFO: Acknowledgment sent {"connection_id":126206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:14:22] local.INFO: TCP Data received {"connection_id":125450,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f40743368012d0b130007029fc00000013422..."} 
[2026-07-08 12:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40743368012d0b130007029fc00000013422..."} 
[2026-07-08 12:14:22] local.INFO: Processing buffer {"connection_id":125450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40743368012d0b130007029fc00000013422..."} 
[2026-07-08 12:14:22] local.INFO: Packet analysis {"connection_id":125450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4074"} 
[2026-07-08 12:14:22] local.INFO: Extracted packet for processing {"connection_id":125450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4074"} 
[2026-07-08 12:14:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 12:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574075904001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783492785000,"timestamp_ms":1783492785000,"timestamp_seconds":1783492785,"priority":1,"record_length":96,"hex_timestamp":"0000019f40743368"} 
[2026-07-08 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-07-08 12:14:22] 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-07-08 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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 12:14:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 12:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125450,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125450,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574075904001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574075904001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:14:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574075904001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":125450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450872,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:14:22] local.INFO: GPS data processed {"connection_id":125450,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:14:22] local.INFO: Acknowledgment sent {"connection_id":125450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:14:32] local.INFO: TCP Data received {"connection_id":126205,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4077ec88012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 12:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4077ec88012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 12:14:32] local.INFO: Processing buffer {"connection_id":126205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4077ec88012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 12:14:32] local.INFO: Packet analysis {"connection_id":126205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4077"} 
[2026-07-08 12:14:32] local.INFO: Extracted packet for processing {"connection_id":126205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4077"} 
[2026-07-08 12:14:32] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":42,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 12:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574138368001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 12:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783493029000,"timestamp_ms":1783493029000,"timestamp_seconds":1783493029,"priority":1,"record_length":96,"hex_timestamp":"0000019f4077ec88"} 
[2026-07-08 12:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 12:14:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574138368001,"66":25430,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 12:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574138368001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:14:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 12:14:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 12:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574138368001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 12:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":126205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:14:32] local.INFO: GPS data processed {"connection_id":126205,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:14:32] local.INFO: Acknowledgment sent {"connection_id":126205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:14:39] local.INFO: TCP Data received {"connection_id":126206,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40776f88012d196840071fede00040011f21..."} 
[2026-07-08 12:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40776f88012d196840071fede00040011f21..."} 
[2026-07-08 12:14:39] local.INFO: Processing buffer {"connection_id":126206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40776f88012d196840071fede00040011f21..."} 
[2026-07-08 12:14:39] local.INFO: Packet analysis {"connection_id":126206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4077"} 
[2026-07-08 12:14:39] local.INFO: Extracted packet for processing {"connection_id":126206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4077"} 
[2026-07-08 12:14:39] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533024,"longitude_deg":75.6639808,"latitude_deg":11.9533024,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede0","is_valid_coordinates":true} 
[2026-07-08 12:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574201856001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726980876435456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870738432,"note":"Value kept but may cause issues"} 
[2026-07-08 12:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783492997000,"timestamp_ms":1783492997000,"timestamp_seconds":1783492997,"priority":1,"record_length":96,"hex_timestamp":"0000019f40776f88"} 
[2026-07-08 12:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:14: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-07-08 12:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-08 12:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574201856001,"66":12798,"121":206,"28":31744,"24":0,"16":4726980876435456,"45":1830783647870738432},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574201856001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:14:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:14:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726980876435456,"km_value":4726980876435.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870738432,"description":"Unknown IO ID 45"} 
[2026-07-08 12:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574201856001,"power":12798,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870738432}} 
[2026-07-08 12:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":126206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:14:39] local.INFO: GPS data processed {"connection_id":126206,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:14:39] local.INFO: Acknowledgment sent {"connection_id":126206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:14:45] local.INFO: TCP Data received {"connection_id":125452,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125452,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:14:45] local.INFO: Processing buffer {"connection_id":125452,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:14:45] local.INFO: IMEI packet received {"connection_id":125452,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":125452,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:14:48] local.INFO: TCP Data received {"connection_id":125452,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125452,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:14:48] local.INFO: Processing buffer {"connection_id":125452,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:14:48] local.INFO: IMEI packet received {"connection_id":125452,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":125452,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:14:49] local.INFO: TCP Data received {"connection_id":125452,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f4078cb30012d0b130007029fc00000013422..."} 
[2026-07-08 12:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4078cb30012d0b130007029fc00000013422..."} 
[2026-07-08 12:14:49] local.INFO: Processing buffer {"connection_id":125452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4078cb30012d0b130007029fc00000013422..."} 
[2026-07-08 12:14:49] local.INFO: Packet analysis {"connection_id":125452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4078"} 
[2026-07-08 12:14:49] local.INFO: Extracted packet for processing {"connection_id":125452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4078"} 
[2026-07-08 12:14:49] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574152960001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783493086000,"timestamp_ms":1783493086000,"timestamp_seconds":1783493086,"priority":1,"record_length":96,"hex_timestamp":"0000019f4078cb30"} 
[2026-07-08 12:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:14:49] 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-07-08 12:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:14:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:14:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":125452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":125452,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":125452,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574152960001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574152960001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:14:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574152960001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":125452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450875,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:14:49] local.INFO: GPS data processed {"connection_id":125452,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:14:49] local.INFO: Acknowledgment sent {"connection_id":125452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:14:59] local.INFO: TCP Data received {"connection_id":125454,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:14:59] local.INFO: Processing buffer {"connection_id":125454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:14:59] local.INFO: IMEI packet received {"connection_id":125454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":125454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:15:00] local.INFO: TCP Data received {"connection_id":125454,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:15:00] local.INFO: Processing buffer {"connection_id":125454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:15:00] local.INFO: IMEI packet received {"connection_id":125454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":125454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:15:01] local.INFO: TCP Data received {"connection_id":125453,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:15:01] local.INFO: Processing buffer {"connection_id":125453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:15:01] local.INFO: IMEI packet received {"connection_id":125453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":125453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:15:05] local.INFO: TCP Data received {"connection_id":125454,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:15:05] local.INFO: Processing buffer {"connection_id":125454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:15:05] local.INFO: IMEI packet received {"connection_id":125454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":125454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:15:06] local.INFO: TCP Data received {"connection_id":125453,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:15:06] local.INFO: Processing buffer {"connection_id":125453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:15:06] local.INFO: IMEI packet received {"connection_id":125453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":125453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:15:07] local.INFO: TCP Data received {"connection_id":125453,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4077ec88012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 12:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4077ec88012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 12:15:07] local.INFO: Processing buffer {"connection_id":125453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4077ec88012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 12:15:07] local.INFO: Packet analysis {"connection_id":125453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4077"} 
[2026-07-08 12:15:07] local.INFO: Extracted packet for processing {"connection_id":125453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4077"} 
[2026-07-08 12:15:07] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":42,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 12:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574138368001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 12:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783493029000,"timestamp_ms":1783493029000,"timestamp_seconds":1783493029,"priority":1,"record_length":96,"hex_timestamp":"0000019f4077ec88"} 
[2026-07-08 12:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 12:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574138368001,"66":25430,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 12:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574138368001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:15:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 12:15:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 12:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574138368001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 12:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":125453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:15:07] local.INFO: GPS data processed {"connection_id":125453,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:15:07] local.INFO: Acknowledgment sent {"connection_id":125453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:15:07] local.INFO: TCP Data received {"connection_id":125454,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4077c190012d196840071fede00040011f21..."} 
[2026-07-08 12:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4077c190012d196840071fede00040011f21..."} 
[2026-07-08 12:15:07] local.INFO: Processing buffer {"connection_id":125454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4077c190012d196840071fede00040011f21..."} 
[2026-07-08 12:15:07] local.INFO: Packet analysis {"connection_id":125454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4077"} 
[2026-07-08 12:15:07] local.INFO: Extracted packet for processing {"connection_id":125454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4077"} 
[2026-07-08 12:15:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533024,"longitude_deg":75.6639808,"latitude_deg":11.9533024,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede0","is_valid_coordinates":true} 
[2026-07-08 12:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574207232001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726980876435456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870738432,"note":"Value kept but may cause issues"} 
[2026-07-08 12:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783493018000,"timestamp_ms":1783493018000,"timestamp_seconds":1783493018,"priority":1,"record_length":96,"hex_timestamp":"0000019f4077c190"} 
[2026-07-08 12:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-08 12:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574207232001,"66":12776,"121":206,"28":31744,"24":0,"16":4726980876435456,"45":1830783647870738432},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574207232001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:15:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:15:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726980876435456,"km_value":4726980876435.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870738432,"description":"Unknown IO ID 45"} 
[2026-07-08 12:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574207232001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870738432}} 
[2026-07-08 12:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":125454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:15:07] local.INFO: GPS data processed {"connection_id":125454,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:15:07] local.INFO: Acknowledgment sent {"connection_id":125454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:15:12] local.INFO: TCP Data received {"connection_id":125453,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4077ec88012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 12:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4077ec88012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 12:15:12] local.INFO: Processing buffer {"connection_id":125453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4077ec88012d7f9b8005afe3b80000012d2a..."} 
[2026-07-08 12:15:12] local.INFO: Packet analysis {"connection_id":125453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4077"} 
[2026-07-08 12:15:12] local.INFO: Extracted packet for processing {"connection_id":125453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4077"} 
[2026-07-08 12:15:12] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":42,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 12:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574138368001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 12:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783493029000,"timestamp_ms":1783493029000,"timestamp_seconds":1783493029,"priority":1,"record_length":96,"hex_timestamp":"0000019f4077ec88"} 
[2026-07-08 12:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 12:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574138368001,"66":25430,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 12:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574138368001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:15:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 12:15:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 12:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574138368001,"power":25430,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 12:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":125453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:15:12] local.INFO: GPS data processed {"connection_id":125453,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:15:12] local.INFO: Acknowledgment sent {"connection_id":125453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:15:20] local.INFO: TCP Data received {"connection_id":125452,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f4078cb30012d0b130007029fc00000013422..."} 
[2026-07-08 12:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4078cb30012d0b130007029fc00000013422..."} 
[2026-07-08 12:15:20] local.INFO: Processing buffer {"connection_id":125452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4078cb30012d0b130007029fc00000013422..."} 
[2026-07-08 12:15:20] local.INFO: Packet analysis {"connection_id":125452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4078"} 
[2026-07-08 12:15:20] local.INFO: Extracted packet for processing {"connection_id":125452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4078"} 
[2026-07-08 12:15:20] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574152960001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:15: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-07-08 12:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783493086000,"timestamp_ms":1783493086000,"timestamp_seconds":1783493086,"priority":1,"record_length":96,"hex_timestamp":"0000019f4078cb30"} 
[2026-07-08 12:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:15:20] 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-07-08 12:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":125452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":125452,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":125452,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574152960001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574152960001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:15:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574152960001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":125452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450879,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:15:20] local.INFO: GPS data processed {"connection_id":125452,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:15:20] local.INFO: Acknowledgment sent {"connection_id":125452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:15:21] local.INFO: TCP Data received {"connection_id":126207,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126207,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:15:21] local.INFO: Processing buffer {"connection_id":126207,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:15:21] local.INFO: IMEI packet received {"connection_id":126207,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 12:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":126207,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:15:38] local.INFO: TCP Data received {"connection_id":125454,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40781398012d196840071fede00040011f22..."} 
[2026-07-08 12:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40781398012d196840071fede00040011f22..."} 
[2026-07-08 12:15:38] local.INFO: Processing buffer {"connection_id":125454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40781398012d196840071fede00040011f22..."} 
[2026-07-08 12:15:38] local.INFO: Packet analysis {"connection_id":125454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4078"} 
[2026-07-08 12:15:38] local.INFO: Extracted packet for processing {"connection_id":125454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4078"} 
[2026-07-08 12:15:38] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533024,"longitude_deg":75.6639808,"latitude_deg":11.9533024,"altitude":64,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede0","is_valid_coordinates":true} 
[2026-07-08 12:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574212608001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726980876435456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870738432,"note":"Value kept but may cause issues"} 
[2026-07-08 12:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783493039000,"timestamp_ms":1783493039000,"timestamp_seconds":1783493039,"priority":1,"record_length":96,"hex_timestamp":"0000019f40781398"} 
[2026-07-08 12:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-08 12:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574212608001,"66":12722,"121":206,"28":31744,"24":0,"16":4726980876435456,"45":1830783647870738432},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574212608001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:15:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:15:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726980876435456,"km_value":4726980876435.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870738432,"description":"Unknown IO ID 45"} 
[2026-07-08 12:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574212608001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870738432}} 
[2026-07-08 12:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":125454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:15:38] local.INFO: GPS data processed {"connection_id":125454,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:15:38] local.INFO: Acknowledgment sent {"connection_id":125454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:15:45] local.INFO: TCP Data received {"connection_id":125350,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125350,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:15:45] local.INFO: Processing buffer {"connection_id":125350,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:15:45] local.INFO: IMEI packet received {"connection_id":125350,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":125350,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:15:50] local.INFO: TCP Data received {"connection_id":125350,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125350,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:15:50] local.INFO: Processing buffer {"connection_id":125350,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:15:50] local.INFO: IMEI packet received {"connection_id":125350,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":125350,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:15:51] local.INFO: TCP Data received {"connection_id":125350,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4078cb30012d0b130007029fc00000013422..."} 
[2026-07-08 12:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4078cb30012d0b130007029fc00000013422..."} 
[2026-07-08 12:15:51] local.INFO: Processing buffer {"connection_id":125350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4078cb30012d0b130007029fc00000013422..."} 
[2026-07-08 12:15:51] local.INFO: Packet analysis {"connection_id":125350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4078"} 
[2026-07-08 12:15:51] local.INFO: Extracted packet for processing {"connection_id":125350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4078"} 
[2026-07-08 12:15:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574152960001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783493086000,"timestamp_ms":1783493086000,"timestamp_seconds":1783493086,"priority":1,"record_length":96,"hex_timestamp":"0000019f4078cb30"} 
[2026-07-08 12:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:15: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-07-08 12:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:15:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:15:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125350,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125350,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574152960001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574152960001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:15:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574152960001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":125350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450881,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:15:51] local.INFO: GPS data processed {"connection_id":125350,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:15:51] local.INFO: Acknowledgment sent {"connection_id":125350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:15:56] local.INFO: TCP Data received {"connection_id":125351,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:15:56] local.INFO: Processing buffer {"connection_id":125351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:15:56] local.INFO: IMEI packet received {"connection_id":125351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":125351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:15:56] local.INFO: TCP Data received {"connection_id":127469,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:15:56] local.INFO: Processing buffer {"connection_id":127469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:15:56] local.INFO: IMEI packet received {"connection_id":127469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 12:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":127469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:15:59] local.INFO: TCP Data received {"connection_id":125351,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:15:59] local.INFO: Processing buffer {"connection_id":125351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:15:59] local.INFO: IMEI packet received {"connection_id":125351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":125351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:16:00] local.INFO: TCP Data received {"connection_id":125351,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f407953e8012d7f9b8005afe3b80000012d2c..."} 
[2026-07-08 12:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407953e8012d7f9b8005afe3b80000012d2c..."} 
[2026-07-08 12:16:00] local.INFO: Processing buffer {"connection_id":125351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407953e8012d7f9b8005afe3b80000012d2c..."} 
[2026-07-08 12:16:00] local.INFO: Packet analysis {"connection_id":125351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4079"} 
[2026-07-08 12:16:00] local.INFO: Extracted packet for processing {"connection_id":125351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4079"} 
[2026-07-08 12:16:00] local.INFO: GPS Element Parsed {"raw_longitude":763337600,"raw_latitude":95413176,"longitude_deg":76.33376,"latitude_deg":9.5413176,"altitude":0,"angle":301,"satellites":44,"speed":0,"hex_longitude":"2d7f9b80","hex_latitude":"05afe3b8","is_valid_coordinates":true} 
[2026-07-08 12:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574215424001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 12:16:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783493121000,"timestamp_ms":1783493121000,"timestamp_seconds":1783493121,"priority":1,"record_length":96,"hex_timestamp":"0000019f407953e8"} 
[2026-07-08 12:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12: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":86,"data_length":795,"current_offset":136} 
[2026-07-08 12:16:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574215424001,"66":25397,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 12:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574215424001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:16:00] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 12:16:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 12:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574215424001,"power":25397,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 12:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":125351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:16:00] local.INFO: GPS data processed {"connection_id":125351,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:16:00] local.INFO: Acknowledgment sent {"connection_id":125351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:16:01] local.INFO: TCP Data received {"connection_id":125455,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:16:01] local.INFO: Processing buffer {"connection_id":125455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:16:01] local.INFO: IMEI packet received {"connection_id":125455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":125455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:16:02] local.INFO: TCP Data received {"connection_id":125455,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:16:02] local.INFO: Processing buffer {"connection_id":125455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:16:02] local.INFO: IMEI packet received {"connection_id":125455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":125455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:16:06] local.INFO: TCP Data received {"connection_id":125455,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:16:06] local.INFO: Processing buffer {"connection_id":125455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:16:06] local.INFO: IMEI packet received {"connection_id":125455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":125455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:16:07] local.INFO: TCP Data received {"connection_id":125455,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f407865a0012d196840071fede00040011f21..."} 
[2026-07-08 12:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407865a0012d196840071fede00040011f21..."} 
[2026-07-08 12:16:07] local.INFO: Processing buffer {"connection_id":125455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407865a0012d196840071fede00040011f21..."} 
[2026-07-08 12:16:07] local.INFO: Packet analysis {"connection_id":125455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4078"} 
[2026-07-08 12:16:07] local.INFO: Extracted packet for processing {"connection_id":125455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4078"} 
[2026-07-08 12:16:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533024,"longitude_deg":75.6639808,"latitude_deg":11.9533024,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede0","is_valid_coordinates":true} 
[2026-07-08 12:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574217984001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726980876435456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870738432,"note":"Value kept but may cause issues"} 
[2026-07-08 12:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783493060000,"timestamp_ms":1783493060000,"timestamp_seconds":1783493060,"priority":1,"record_length":96,"hex_timestamp":"0000019f407865a0"} 
[2026-07-08 12:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-08 12:16: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-07-08 12:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574217984001,"66":12743,"121":206,"28":31744,"24":0,"16":4726980876435456,"45":1830783647870738432},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574217984001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:16:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:16:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726980876435456,"km_value":4726980876435.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870738432,"description":"Unknown IO ID 45"} 
[2026-07-08 12:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574217984001,"power":12743,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870738432}} 
[2026-07-08 12:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":125455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:16:07] local.INFO: GPS data processed {"connection_id":125455,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:16:07] local.INFO: Acknowledgment sent {"connection_id":125455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:16:23] local.INFO: TCP Data received {"connection_id":125350,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4078cb30012d0b130007029fc00000013422..."} 
[2026-07-08 12:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4078cb30012d0b130007029fc00000013422..."} 
[2026-07-08 12:16:23] local.INFO: Processing buffer {"connection_id":125350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4078cb30012d0b130007029fc00000013422..."} 
[2026-07-08 12:16:23] local.INFO: Packet analysis {"connection_id":125350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4078"} 
[2026-07-08 12:16:23] local.INFO: Extracted packet for processing {"connection_id":125350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4078"} 
[2026-07-08 12:16:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574152960001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:16:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783493086000,"timestamp_ms":1783493086000,"timestamp_seconds":1783493086,"priority":1,"record_length":96,"hex_timestamp":"0000019f4078cb30"} 
[2026-07-08 12:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:16:23] 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-07-08 12: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:16:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":125350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":125350,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":125350,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:16:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574152960001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574152960001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:16:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574152960001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":125350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450884,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:16:23] local.INFO: GPS data processed {"connection_id":125350,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:16:23] local.INFO: Acknowledgment sent {"connection_id":125350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:16:31] local.INFO: TCP Data received {"connection_id":125351,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f40795fa0012d7f9a8005afe570000000292b..."} 
[2026-07-08 12:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40795fa0012d7f9a8005afe570000000292b..."} 
[2026-07-08 12:16:31] local.INFO: Processing buffer {"connection_id":125351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40795fa0012d7f9a8005afe570000000292b..."} 
[2026-07-08 12:16:31] local.INFO: Packet analysis {"connection_id":125351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4079"} 
[2026-07-08 12:16:31] local.INFO: Extracted packet for processing {"connection_id":125351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4079"} 
[2026-07-08 12:16:31] local.INFO: GPS Element Parsed {"raw_longitude":763337344,"raw_latitude":95413616,"longitude_deg":76.3337344,"latitude_deg":9.5413616,"altitude":0,"angle":41,"satellites":43,"speed":0,"hex_longitude":"2d7f9a80","hex_latitude":"05afe570","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574238976001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195083826121127936,"note":"Value kept but may cause issues"} 
[2026-07-08 12:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783493124000,"timestamp_ms":1783493124000,"timestamp_seconds":1783493124,"priority":1,"record_length":96,"hex_timestamp":"0000019f40795fa0"} 
[2026-07-08 12:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12: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":53,"data_length":795,"current_offset":136} 
[2026-07-08 12:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":125351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":125351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":125351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574238976001,"66":24930,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9195083826121127936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 12:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574238976001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:16:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 12:16:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195083826121127936,"description":"Unknown IO ID 45"} 
[2026-07-08 12:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574238976001,"power":24930,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195083826121127936}} 
[2026-07-08 12:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":125351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:16:31] local.INFO: GPS data processed {"connection_id":125351,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:16:31] local.INFO: Acknowledgment sent {"connection_id":125351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:16:39] local.INFO: TCP Data received {"connection_id":125455,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4078b7a8012d196840071fede00040011f23..."} 
[2026-07-08 12:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4078b7a8012d196840071fede00040011f23..."} 
[2026-07-08 12:16:39] local.INFO: Processing buffer {"connection_id":125455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4078b7a8012d196840071fede00040011f23..."} 
[2026-07-08 12:16:39] local.INFO: Packet analysis {"connection_id":125455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4078"} 
[2026-07-08 12:16:39] local.INFO: Extracted packet for processing {"connection_id":125455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4078"} 
[2026-07-08 12:16:39] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533024,"longitude_deg":75.6639808,"latitude_deg":11.9533024,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede0","is_valid_coordinates":true} 
[2026-07-08 12:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574223360001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726980876435456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870738432,"note":"Value kept but may cause issues"} 
[2026-07-08 12:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783493081000,"timestamp_ms":1783493081000,"timestamp_seconds":1783493081,"priority":1,"record_length":96,"hex_timestamp":"0000019f4078b7a8"} 
[2026-07-08 12:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-08 12:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:16:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574223360001,"66":12722,"121":206,"28":31744,"24":0,"16":4726980876435456,"45":1830783647870738432},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574223360001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:16:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:16:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726980876435456,"km_value":4726980876435.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870738432,"description":"Unknown IO ID 45"} 
[2026-07-08 12:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574223360001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870738432}} 
[2026-07-08 12:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":125455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:16:39] local.INFO: GPS data processed {"connection_id":125455,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:16:39] local.INFO: Acknowledgment sent {"connection_id":125455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:16:50] local.INFO: TCP Data received {"connection_id":125352,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125352,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:16:50] local.INFO: Processing buffer {"connection_id":125352,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:16:50] local.INFO: IMEI packet received {"connection_id":125352,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":125352,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:16:55] local.INFO: TCP Data received {"connection_id":125352,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125352,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:16:55] local.INFO: Processing buffer {"connection_id":125352,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:16:55] local.INFO: IMEI packet received {"connection_id":125352,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":125352,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:16:56] local.INFO: TCP Data received {"connection_id":125352,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4078cb30012d0b130007029fc00000013422..."} 
[2026-07-08 12:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4078cb30012d0b130007029fc00000013422..."} 
[2026-07-08 12:16:56] local.INFO: Processing buffer {"connection_id":125352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4078cb30012d0b130007029fc00000013422..."} 
[2026-07-08 12:16:56] local.INFO: Packet analysis {"connection_id":125352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4078"} 
[2026-07-08 12:16:56] local.INFO: Extracted packet for processing {"connection_id":125352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4078"} 
[2026-07-08 12:16:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574152960001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783493086000,"timestamp_ms":1783493086000,"timestamp_seconds":1783493086,"priority":1,"record_length":96,"hex_timestamp":"0000019f4078cb30"} 
[2026-07-08 12:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:16:56] 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-07-08 12:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:16:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:16:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":125352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":125352,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":125352,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574152960001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574152960001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:16:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574152960001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":125352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450887,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:16:56] local.INFO: GPS data processed {"connection_id":125352,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:16:56] local.INFO: Acknowledgment sent {"connection_id":125352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:16:59] local.INFO: TCP Data received {"connection_id":126208,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:16:59] local.INFO: Processing buffer {"connection_id":126208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:16:59] local.INFO: IMEI packet received {"connection_id":126208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":126208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:17:00] local.INFO: TCP Data received {"connection_id":125354,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:17:00] local.INFO: Processing buffer {"connection_id":125354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:17:00] local.INFO: IMEI packet received {"connection_id":125354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":125354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:17:00] local.INFO: TCP Data received {"connection_id":125352,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4078cb30012d0b130007029fc00000013422..."} 
[2026-07-08 12:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4078cb30012d0b130007029fc00000013422..."} 
[2026-07-08 12:17:00] local.INFO: Processing buffer {"connection_id":125352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4078cb30012d0b130007029fc00000013422..."} 
[2026-07-08 12:17:00] local.INFO: Packet analysis {"connection_id":125352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4078"} 
[2026-07-08 12:17:00] local.INFO: Extracted packet for processing {"connection_id":125352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4078"} 
[2026-07-08 12:17:00] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574152960001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783493086000,"timestamp_ms":1783493086000,"timestamp_seconds":1783493086,"priority":1,"record_length":96,"hex_timestamp":"0000019f4078cb30"} 
[2026-07-08 12:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:17:00] 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-07-08 12:17: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":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:17:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:17:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125352,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125352,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574152960001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574152960001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:17:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574152960001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:17:01] local.INFO: TCP Data received {"connection_id":126208,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:17:01] local.INFO: Processing buffer {"connection_id":126208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:17:01] local.INFO: IMEI packet received {"connection_id":126208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":126208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":125352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450888,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:17:01] local.INFO: GPS data processed {"connection_id":125352,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:17:01] local.INFO: Acknowledgment sent {"connection_id":125352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:17:03] local.INFO: TCP Data received {"connection_id":126208,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:17:03] local.INFO: Processing buffer {"connection_id":126208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:17:03] local.INFO: IMEI packet received {"connection_id":126208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":126208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:17:05] local.INFO: TCP Data received {"connection_id":125354,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:17:05] local.INFO: Processing buffer {"connection_id":125354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:17:05] local.INFO: IMEI packet received {"connection_id":125354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":125354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:17:05] local.INFO: TCP Data received {"connection_id":125354,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:17:05] local.INFO: Processing buffer {"connection_id":125354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:17:05] local.INFO: IMEI packet received {"connection_id":125354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":125354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:17:06] local.INFO: TCP Data received {"connection_id":126208,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:17:06] local.INFO: Processing buffer {"connection_id":126208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:17:06] local.INFO: IMEI packet received {"connection_id":126208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":126208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:17:07] local.INFO: TCP Data received {"connection_id":126208,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4079b1a8012d7f9a8005afe570000000292b..."} 
[2026-07-08 12:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4079b1a8012d7f9a8005afe570000000292b..."} 
[2026-07-08 12:17:07] local.INFO: Processing buffer {"connection_id":126208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4079b1a8012d7f9a8005afe570000000292b..."} 
[2026-07-08 12:17:07] local.INFO: Packet analysis {"connection_id":126208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4079"} 
[2026-07-08 12:17:07] local.INFO: Extracted packet for processing {"connection_id":126208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4079"} 
[2026-07-08 12:17:07] local.INFO: GPS Element Parsed {"raw_longitude":763337344,"raw_latitude":95413616,"longitude_deg":76.3337344,"latitude_deg":9.5413616,"altitude":0,"angle":41,"satellites":43,"speed":0,"hex_longitude":"2d7f9a80","hex_latitude":"05afe570","is_valid_coordinates":true} 
[2026-07-08 12:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574239744001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194802351144529920,"note":"Value kept but may cause issues"} 
[2026-07-08 12:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783493145000,"timestamp_ms":1783493145000,"timestamp_seconds":1783493145,"priority":1,"record_length":96,"hex_timestamp":"0000019f4079b1a8"} 
[2026-07-08 12:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-08 12:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574239744001,"66":27691,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194802351144529920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 12:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574239744001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:17:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 12:17:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194802351144529920,"description":"Unknown IO ID 45"} 
[2026-07-08 12:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574239744001,"power":27691,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194802351144529920}} 
[2026-07-08 12:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":126208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:17:07] local.INFO: GPS data processed {"connection_id":126208,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:17:07] local.INFO: Acknowledgment sent {"connection_id":126208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:17:07] local.INFO: TCP Data received {"connection_id":125354,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f407909b0012d196840071fede00040011f23..."} 
[2026-07-08 12:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407909b0012d196840071fede00040011f23..."} 
[2026-07-08 12:17:07] local.INFO: Processing buffer {"connection_id":125354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407909b0012d196840071fede00040011f23..."} 
[2026-07-08 12:17:07] local.INFO: Packet analysis {"connection_id":125354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4079"} 
[2026-07-08 12:17:07] local.INFO: Extracted packet for processing {"connection_id":125354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4079"} 
[2026-07-08 12:17:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533024,"longitude_deg":75.6639808,"latitude_deg":11.9533024,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede0","is_valid_coordinates":true} 
[2026-07-08 12:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574228736001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726980876435456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870738432,"note":"Value kept but may cause issues"} 
[2026-07-08 12:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783493102000,"timestamp_ms":1783493102000,"timestamp_seconds":1783493102,"priority":1,"record_length":96,"hex_timestamp":"0000019f407909b0"} 
[2026-07-08 12:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-08 12:17: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-07-08 12:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574228736001,"66":12689,"121":206,"28":31744,"24":0,"16":4726980876435456,"45":1830783647870738432},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574228736001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:17:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:17:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726980876435456,"km_value":4726980876435.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870738432,"description":"Unknown IO ID 45"} 
[2026-07-08 12:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574228736001,"power":12689,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870738432}} 
[2026-07-08 12:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":125354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:17:07] local.INFO: GPS data processed {"connection_id":125354,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:17:07] local.INFO: Acknowledgment sent {"connection_id":125354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:17:11] local.INFO: TCP Data received {"connection_id":126208,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f407a03b0012d7f9a8005afe5700000002929..."} 
[2026-07-08 12:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407a03b0012d7f9a8005afe5700000002929..."} 
[2026-07-08 12:17:11] local.INFO: Processing buffer {"connection_id":126208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407a03b0012d7f9a8005afe5700000002929..."} 
[2026-07-08 12:17:11] local.INFO: Packet analysis {"connection_id":126208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f407a"} 
[2026-07-08 12:17:11] local.INFO: Extracted packet for processing {"connection_id":126208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f407a"} 
[2026-07-08 12:17:11] local.INFO: GPS Element Parsed {"raw_longitude":763337344,"raw_latitude":95413616,"longitude_deg":76.3337344,"latitude_deg":9.5413616,"altitude":0,"angle":41,"satellites":41,"speed":0,"hex_longitude":"2d7f9a80","hex_latitude":"05afe570","is_valid_coordinates":true} 
[2026-07-08 12:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574245120001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532274740264960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194802351144529920,"note":"Value kept but may cause issues"} 
[2026-07-08 12:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783493166000,"timestamp_ms":1783493166000,"timestamp_seconds":1783493166,"priority":1,"record_length":96,"hex_timestamp":"0000019f407a03b0"} 
[2026-07-08 12:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 12:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574245120001,"66":27604,"27":206,"85":12544,"24":0,"16":342532274740264960,"45":9194802351144529920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 12:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574245120001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:17:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 12:17:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532274740264960,"km_value":342532274740264.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194802351144529920,"description":"Unknown IO ID 45"} 
[2026-07-08 12:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574245120001,"power":27604,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194802351144529920}} 
[2026-07-08 12:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":126208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:17:11] local.INFO: GPS data processed {"connection_id":126208,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:17:11] local.INFO: Acknowledgment sent {"connection_id":126208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:17:12] local.INFO: TCP Data received {"connection_id":125354,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40795bb8012d196840071fede00040011f22..."} 
[2026-07-08 12:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40795bb8012d196840071fede00040011f22..."} 
[2026-07-08 12:17:12] local.INFO: Processing buffer {"connection_id":125354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40795bb8012d196840071fede00040011f22..."} 
[2026-07-08 12:17:12] local.INFO: Packet analysis {"connection_id":125354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4079"} 
[2026-07-08 12:17:12] local.INFO: Extracted packet for processing {"connection_id":125354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4079"} 
[2026-07-08 12:17:12] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533024,"longitude_deg":75.6639808,"latitude_deg":11.9533024,"altitude":64,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede0","is_valid_coordinates":true} 
[2026-07-08 12:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574234112001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726980876435456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870738432,"note":"Value kept but may cause issues"} 
[2026-07-08 12:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783493123000,"timestamp_ms":1783493123000,"timestamp_seconds":1783493123,"priority":1,"record_length":96,"hex_timestamp":"0000019f40795bb8"} 
[2026-07-08 12:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:17: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-07-08 12: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 12:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574234112001,"66":12548,"121":206,"28":31744,"24":0,"16":4726980876435456,"45":1830783647870738432},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574234112001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:17:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:17:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726980876435456,"km_value":4726980876435.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870738432,"description":"Unknown IO ID 45"} 
[2026-07-08 12:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574234112001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870738432}} 
[2026-07-08 12:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":125354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:17:12] local.INFO: GPS data processed {"connection_id":125354,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:17:12] local.INFO: Acknowledgment sent {"connection_id":125354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:17:45] local.INFO: TCP Data received {"connection_id":126209,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126209,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:17:45] local.INFO: Processing buffer {"connection_id":126209,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:17:45] local.INFO: IMEI packet received {"connection_id":126209,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":126209,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:17:45] local.INFO: TCP Data received {"connection_id":125354,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4079adc0012d196840071fede00040011f22..."} 
[2026-07-08 12:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4079adc0012d196840071fede00040011f22..."} 
[2026-07-08 12:17:45] local.INFO: Processing buffer {"connection_id":125354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4079adc0012d196840071fede00040011f22..."} 
[2026-07-08 12:17:45] local.INFO: Packet analysis {"connection_id":125354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4079"} 
[2026-07-08 12:17:45] local.INFO: Extracted packet for processing {"connection_id":125354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4079"} 
[2026-07-08 12:17:45] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533024,"longitude_deg":75.6639808,"latitude_deg":11.9533024,"altitude":64,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede0","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574239488001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726980876435456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870738432,"note":"Value kept but may cause issues"} 
[2026-07-08 12:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783493144000,"timestamp_ms":1783493144000,"timestamp_seconds":1783493144,"priority":1,"record_length":96,"hex_timestamp":"0000019f4079adc0"} 
[2026-07-08 12:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:17:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 12:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-08 12:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3408527360,"note":"Value kept but may cause issues"} 
[2026-07-08 12:17:45] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":704643072,"corrected_to":0} 
[2026-07-08 12:17:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184213414093,"note":"Value kept but may cause issues"} 
[2026-07-08 12:17:45] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990880320,"note":"Value kept but may cause issues"} 
[2026-07-08 12:17:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-08 12:17:45] local.WARNING: Large IO value detected {"io_id":193,"raw_value":2415996185,"note":"Value kept but may cause issues"} 
[2026-07-08 12:17:45] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3892366823,"note":"Value kept but may cause issues"} 
[2026-07-08 12:17:45] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-07-08 12:17:45] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,121,28,24,241,158,16,203,159,9,45,64,237,35,10,66,183,101,1,240,199,31,4,113,205,193,104,224,33,239,49,2,7,231],"length":485,"final_offset":615,"validated_count":34,"validation_warnings":[{"io_id":203,"original":704643072,"validated":0},{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-08 12:17:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4612001724293447680,"timestamp_seconds":4612001724293448.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 12:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":125354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":125354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":125354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574239488001,"66":12711,"121":206,"28":31744,"24":0,"16":4726980876435456,"45":1830783647870738432},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574239488001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:17:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:17:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726980876435456,"km_value":4726980876435.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870738432,"description":"Unknown IO ID 45"} 
[2026-07-08 12:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574239488001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870738432}} 
[2026-07-08 12:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":125354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:17:45] local.INFO: GPS data processed {"connection_id":125354,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:17:45] local.INFO: Acknowledgment sent {"connection_id":125354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:17:50] local.INFO: TCP Data received {"connection_id":126209,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126209,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:17:50] local.INFO: Processing buffer {"connection_id":126209,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:17:50] local.INFO: IMEI packet received {"connection_id":126209,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":126209,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:17:51] local.INFO: TCP Data received {"connection_id":126209,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4078cb30012d0b130007029fc00000013422..."} 
[2026-07-08 12:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4078cb30012d0b130007029fc00000013422..."} 
[2026-07-08 12:17:51] local.INFO: Processing buffer {"connection_id":126209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4078cb30012d0b130007029fc00000013422..."} 
[2026-07-08 12:17:51] local.INFO: Packet analysis {"connection_id":126209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4078"} 
[2026-07-08 12:17:51] local.INFO: Extracted packet for processing {"connection_id":126209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4078"} 
[2026-07-08 12:17:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574152960001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783493086000,"timestamp_ms":1783493086000,"timestamp_seconds":1783493086,"priority":1,"record_length":96,"hex_timestamp":"0000019f4078cb30"} 
[2026-07-08 12:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:17: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-07-08 12: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:17:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126209,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126209,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574152960001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574152960001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:17:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574152960001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":126209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450894,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:17:51] local.INFO: GPS data processed {"connection_id":126209,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:17:51] local.INFO: Acknowledgment sent {"connection_id":126209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:17:56] local.INFO: TCP Data received {"connection_id":127470,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:17:56] local.INFO: Processing buffer {"connection_id":127470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:17:56] local.INFO: IMEI packet received {"connection_id":127470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":127470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:17:58] local.INFO: TCP Data received {"connection_id":127470,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:17:58] local.INFO: Processing buffer {"connection_id":127470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:17:58] local.INFO: IMEI packet received {"connection_id":127470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":127470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:18:01] local.INFO: TCP Data received {"connection_id":127470,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:18:01] local.INFO: Processing buffer {"connection_id":127470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:18:01] local.INFO: IMEI packet received {"connection_id":127470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":127470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:18:02] local.INFO: TCP Data received {"connection_id":127470,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f407a3e48012d7f9c4005afe540000000ab2b..."} 
[2026-07-08 12:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407a3e48012d7f9c4005afe540000000ab2b..."} 
[2026-07-08 12:18:02] local.INFO: Processing buffer {"connection_id":127470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407a3e48012d7f9c4005afe540000000ab2b..."} 
[2026-07-08 12:18:02] local.INFO: Packet analysis {"connection_id":127470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f407a"} 
[2026-07-08 12:18:02] local.INFO: Extracted packet for processing {"connection_id":127470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f407a"} 
[2026-07-08 12:18:02] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":95413568,"longitude_deg":76.3337792,"latitude_deg":9.5413568,"altitude":0,"angle":171,"satellites":43,"speed":2,"hex_longitude":"2d7f9c40","hex_latitude":"05afe540","is_valid_coordinates":true} 
[2026-07-08 12:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574250496001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532296215101440,"note":"Value kept but may cause issues"} 
[2026-07-08 12:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194802351144529920,"note":"Value kept but may cause issues"} 
[2026-07-08 12:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783493181000,"timestamp_ms":1783493181000,"timestamp_seconds":1783493181,"priority":1,"record_length":96,"hex_timestamp":"0000019f407a3e48"} 
[2026-07-08 12:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:18: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-07-08 12:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-08 12:18:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:18:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574250496001,"66":27767,"27":206,"85":12544,"24":2,"16":342532296215101440,"45":9194802351144529920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 12:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574250496001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:18:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 12:18:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532296215101440,"km_value":342532296215101.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194802351144529920,"description":"Unknown IO ID 45"} 
[2026-07-08 12:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574250496001,"power":27767,"unknown_27":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9194802351144529920}} 
[2026-07-08 12:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":127470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:18:02] local.INFO: GPS data processed {"connection_id":127470,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:18:02] local.INFO: Acknowledgment sent {"connection_id":127470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:18:06] local.INFO: TCP Data received {"connection_id":126210,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:18:06] local.INFO: Processing buffer {"connection_id":126210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:18:06] local.INFO: IMEI packet received {"connection_id":126210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":126210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:18:07] local.INFO: TCP Data received {"connection_id":126210,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:18:07] local.INFO: Processing buffer {"connection_id":126210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:18:07] local.INFO: IMEI packet received {"connection_id":126210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":126210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:18:09] local.INFO: TCP Data received {"connection_id":126210,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4079ffc8012d196840071fede00040011f24..."} 
[2026-07-08 12:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4079ffc8012d196840071fede00040011f24..."} 
[2026-07-08 12:18:09] local.INFO: Processing buffer {"connection_id":126210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4079ffc8012d196840071fede00040011f24..."} 
[2026-07-08 12:18:09] local.INFO: Packet analysis {"connection_id":126210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4079"} 
[2026-07-08 12:18:09] local.INFO: Extracted packet for processing {"connection_id":126210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4079"} 
[2026-07-08 12:18:09] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533024,"longitude_deg":75.6639808,"latitude_deg":11.9533024,"altitude":64,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede0","is_valid_coordinates":true} 
[2026-07-08 12:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574244864001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726980876435456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870738432,"note":"Value kept but may cause issues"} 
[2026-07-08 12:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783493165000,"timestamp_ms":1783493165000,"timestamp_seconds":1783493165,"priority":1,"record_length":96,"hex_timestamp":"0000019f4079ffc8"} 
[2026-07-08 12:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-08 12:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:18:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574244864001,"66":12689,"121":206,"28":31744,"24":0,"16":4726980876435456,"45":1830783647870738432},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574244864001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:18:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:18:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726980876435456,"km_value":4726980876435.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870738432,"description":"Unknown IO ID 45"} 
[2026-07-08 12:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574244864001,"power":12689,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870738432}} 
[2026-07-08 12:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":126210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:18:09] local.INFO: GPS data processed {"connection_id":126210,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:18:09] local.INFO: Acknowledgment sent {"connection_id":126210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:18:11] local.INFO: TCP Data received {"connection_id":126210,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f407a51d0012d196840071fede00040011f21..."} 
[2026-07-08 12:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407a51d0012d196840071fede00040011f21..."} 
[2026-07-08 12:18:11] local.INFO: Processing buffer {"connection_id":126210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407a51d0012d196840071fede00040011f21..."} 
[2026-07-08 12:18:11] local.INFO: Packet analysis {"connection_id":126210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f407a"} 
[2026-07-08 12:18:11] local.INFO: Extracted packet for processing {"connection_id":126210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f407a"} 
[2026-07-08 12:18:11] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533024,"longitude_deg":75.6639808,"latitude_deg":11.9533024,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede0","is_valid_coordinates":true} 
[2026-07-08 12:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574250240001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726980876435456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870738432,"note":"Value kept but may cause issues"} 
[2026-07-08 12:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783493186000,"timestamp_ms":1783493186000,"timestamp_seconds":1783493186,"priority":1,"record_length":96,"hex_timestamp":"0000019f407a51d0"} 
[2026-07-08 12:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 12:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574250240001,"66":12613,"121":206,"28":31744,"24":0,"16":4726980876435456,"45":1830783647870738432},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574250240001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:18:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:18:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726980876435456,"km_value":4726980876435.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870738432,"description":"Unknown IO ID 45"} 
[2026-07-08 12:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574250240001,"power":12613,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870738432}} 
[2026-07-08 12:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":126210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:18:11] local.INFO: GPS data processed {"connection_id":126210,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:18:11] local.INFO: Acknowledgment sent {"connection_id":126210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:18:22] local.INFO: TCP Data received {"connection_id":126209,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f4078cb30012d0b130007029fc00000013422..."} 
[2026-07-08 12:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4078cb30012d0b130007029fc00000013422..."} 
[2026-07-08 12:18:22] local.INFO: Processing buffer {"connection_id":126209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4078cb30012d0b130007029fc00000013422..."} 
[2026-07-08 12:18:22] local.INFO: Packet analysis {"connection_id":126209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4078"} 
[2026-07-08 12:18:22] local.INFO: Extracted packet for processing {"connection_id":126209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4078"} 
[2026-07-08 12:18:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574152960001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783493086000,"timestamp_ms":1783493086000,"timestamp_seconds":1783493086,"priority":1,"record_length":96,"hex_timestamp":"0000019f4078cb30"} 
[2026-07-08 12:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:18:22] 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-07-08 12: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:18:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126209,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126209,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574152960001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574152960001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:18:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574152960001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":126209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450898,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:18:22] local.INFO: GPS data processed {"connection_id":126209,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:18:22] local.INFO: Acknowledgment sent {"connection_id":126209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:18:34] local.INFO: TCP Data received {"connection_id":127470,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f407a4de8012d7f9c0005afe430000000b72b..."} 
[2026-07-08 12:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407a4de8012d7f9c0005afe430000000b72b..."} 
[2026-07-08 12:18:34] local.INFO: Processing buffer {"connection_id":127470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407a4de8012d7f9c0005afe430000000b72b..."} 
[2026-07-08 12:18:34] local.INFO: Packet analysis {"connection_id":127470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f407a"} 
[2026-07-08 12:18:34] local.INFO: Extracted packet for processing {"connection_id":127470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f407a"} 
[2026-07-08 12:18:34] local.INFO: GPS Element Parsed {"raw_longitude":763337728,"raw_latitude":95413296,"longitude_deg":76.3337728,"latitude_deg":9.5413296,"altitude":0,"angle":183,"satellites":43,"speed":2,"hex_longitude":"2d7f9c00","hex_latitude":"05afe430","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574254336001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532313394970624,"note":"Value kept but may cause issues"} 
[2026-07-08 12:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195294932353761280,"note":"Value kept but may cause issues"} 
[2026-07-08 12:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783493185000,"timestamp_ms":1783493185000,"timestamp_seconds":1783493185,"priority":1,"record_length":96,"hex_timestamp":"0000019f407a4de8"} 
[2026-07-08 12:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 12:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574254336001,"66":27865,"27":206,"85":12544,"24":2,"16":342532313394970624,"45":9195294932353761280},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 12:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574254336001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:18:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 12:18:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532313394970624,"km_value":342532313394970.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195294932353761280,"description":"Unknown IO ID 45"} 
[2026-07-08 12:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574254336001,"power":27865,"unknown_27":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9195294932353761280}} 
[2026-07-08 12:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":127470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:18:34] local.INFO: GPS data processed {"connection_id":127470,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:18:34] local.INFO: Acknowledgment sent {"connection_id":127470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:18:45] local.INFO: TCP Data received {"connection_id":125355,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125355,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:18:45] local.INFO: Processing buffer {"connection_id":125355,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:18:45] local.INFO: IMEI packet received {"connection_id":125355,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":125355,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:18:49] local.INFO: TCP Data received {"connection_id":126210,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f407aa3d8012d196840071fede00040011f22..."} 
[2026-07-08 12:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407aa3d8012d196840071fede00040011f22..."} 
[2026-07-08 12:18:49] local.INFO: Processing buffer {"connection_id":126210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407aa3d8012d196840071fede00040011f22..."} 
[2026-07-08 12:18:49] local.INFO: Packet analysis {"connection_id":126210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f407a"} 
[2026-07-08 12:18:49] local.INFO: Extracted packet for processing {"connection_id":126210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f407a"} 
[2026-07-08 12:18:49] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533024,"longitude_deg":75.6639808,"latitude_deg":11.9533024,"altitude":64,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede0","is_valid_coordinates":true} 
[2026-07-08 12:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574255616001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726980876435456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870738432,"note":"Value kept but may cause issues"} 
[2026-07-08 12:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783493207000,"timestamp_ms":1783493207000,"timestamp_seconds":1783493207,"priority":1,"record_length":96,"hex_timestamp":"0000019f407aa3d8"} 
[2026-07-08 12:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:18:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:18:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":126210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":126210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":126210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574255616001,"66":12667,"121":206,"28":31744,"24":0,"16":4726980876435456,"45":1830783647870738432},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574255616001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:18:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:18:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726980876435456,"km_value":4726980876435.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870738432,"description":"Unknown IO ID 45"} 
[2026-07-08 12:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574255616001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870738432}} 
[2026-07-08 12:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":126210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:18:49] local.INFO: GPS data processed {"connection_id":126210,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:18:49] local.INFO: Acknowledgment sent {"connection_id":126210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:18:50] local.INFO: TCP Data received {"connection_id":125355,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125355,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:18:50] local.INFO: Processing buffer {"connection_id":125355,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:18:50] local.INFO: IMEI packet received {"connection_id":125355,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":125355,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:18:51] local.INFO: TCP Data received {"connection_id":125355,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4078cb30012d0b130007029fc00000013422..."} 
[2026-07-08 12:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4078cb30012d0b130007029fc00000013422..."} 
[2026-07-08 12:18:51] local.INFO: Processing buffer {"connection_id":125355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4078cb30012d0b130007029fc00000013422..."} 
[2026-07-08 12:18:51] local.INFO: Packet analysis {"connection_id":125355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4078"} 
[2026-07-08 12:18:51] local.INFO: Extracted packet for processing {"connection_id":125355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4078"} 
[2026-07-08 12:18:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574152960001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783493086000,"timestamp_ms":1783493086000,"timestamp_seconds":1783493086,"priority":1,"record_length":96,"hex_timestamp":"0000019f4078cb30"} 
[2026-07-08 12:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:18: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-07-08 12:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574152960001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574152960001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:18:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574152960001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":125355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450901,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:18:51] local.INFO: GPS data processed {"connection_id":125355,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:18:51] local.INFO: Acknowledgment sent {"connection_id":125355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:18:56] local.INFO: TCP Data received {"connection_id":126212,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:18:56] local.INFO: Processing buffer {"connection_id":126212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:18:56] local.INFO: IMEI packet received {"connection_id":126212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":126212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:19:01] local.INFO: TCP Data received {"connection_id":126213,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:19:01] local.INFO: Processing buffer {"connection_id":126213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:19:01] local.INFO: IMEI packet received {"connection_id":126213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":126213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:19:01] local.INFO: TCP Data received {"connection_id":126212,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:19:01] local.INFO: Processing buffer {"connection_id":126212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:19:01] local.INFO: IMEI packet received {"connection_id":126212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":126212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:19:02] local.INFO: TCP Data received {"connection_id":126212,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f407a8880012d7f9a4005afe1c8000200aa2a..."} 
[2026-07-08 12:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407a8880012d7f9a4005afe1c8000200aa2a..."} 
[2026-07-08 12:19:02] local.INFO: Processing buffer {"connection_id":126212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407a8880012d7f9a4005afe1c8000200aa2a..."} 
[2026-07-08 12:19:02] local.INFO: Packet analysis {"connection_id":126212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f407a"} 
[2026-07-08 12:19:02] local.INFO: Extracted packet for processing {"connection_id":126212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f407a"} 
[2026-07-08 12:19:02] local.INFO: GPS Element Parsed {"raw_longitude":763337280,"raw_latitude":95412680,"longitude_deg":76.333728,"latitude_deg":9.541268,"altitude":2,"angle":170,"satellites":42,"speed":2,"hex_longitude":"2d7f9a40","hex_latitude":"05afe1c8","is_valid_coordinates":true} 
[2026-07-08 12:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574255360001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532356344643584,"note":"Value kept but may cause issues"} 
[2026-07-08 12:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195224563609513984,"note":"Value kept but may cause issues"} 
[2026-07-08 12:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783493200000,"timestamp_ms":1783493200000,"timestamp_seconds":1783493200,"priority":1,"record_length":96,"hex_timestamp":"0000019f407a8880"} 
[2026-07-08 12:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:19:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 12:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574255360001,"66":27876,"250":206,"85":12544,"24":2,"16":342532356344643584,"45":9195224563609513984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574255360001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:19:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:19:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532356344643584,"km_value":342532356344643.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195224563609513984,"description":"Unknown IO ID 45"} 
[2026-07-08 12:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574255360001,"power":27876,"unknown_250":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9195224563609513984}} 
[2026-07-08 12:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":126212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:19:02] local.INFO: GPS data processed {"connection_id":126212,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:19:02] local.INFO: Acknowledgment sent {"connection_id":126212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:19:06] local.INFO: TCP Data received {"connection_id":126213,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:19:06] local.INFO: Processing buffer {"connection_id":126213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:19:06] local.INFO: IMEI packet received {"connection_id":126213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":126213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:19:07] local.INFO: TCP Data received {"connection_id":126213,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f407af5e0012d196840071fede00040011f20..."} 
[2026-07-08 12:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407af5e0012d196840071fede00040011f20..."} 
[2026-07-08 12:19:07] local.INFO: Processing buffer {"connection_id":126213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407af5e0012d196840071fede00040011f20..."} 
[2026-07-08 12:19:07] local.INFO: Packet analysis {"connection_id":126213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f407a"} 
[2026-07-08 12:19:07] local.INFO: Extracted packet for processing {"connection_id":126213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f407a"} 
[2026-07-08 12:19:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533024,"longitude_deg":75.6639808,"latitude_deg":11.9533024,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede0","is_valid_coordinates":true} 
[2026-07-08 12:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574260992001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726980876435456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870738432,"note":"Value kept but may cause issues"} 
[2026-07-08 12:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783493228000,"timestamp_ms":1783493228000,"timestamp_seconds":1783493228,"priority":1,"record_length":96,"hex_timestamp":"0000019f407af5e0"} 
[2026-07-08 12:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-08 12:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:19:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574260992001,"66":12591,"70":206,"28":31744,"24":0,"16":4726980876435456,"45":1830783647870738432},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-08 12:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574260992001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:19:07] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-08 12:19:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726980876435456,"km_value":4726980876435.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870738432,"description":"Unknown IO ID 45"} 
[2026-07-08 12:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574260992001,"power":12591,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870738432}} 
[2026-07-08 12:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":126213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:19:07] local.INFO: GPS data processed {"connection_id":126213,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:19:07] local.INFO: Acknowledgment sent {"connection_id":126213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:19:22] local.INFO: TCP Data received {"connection_id":125355,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4078cb30012d0b130007029fc00000013422..."} 
[2026-07-08 12:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4078cb30012d0b130007029fc00000013422..."} 
[2026-07-08 12:19:22] local.INFO: Processing buffer {"connection_id":125355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4078cb30012d0b130007029fc00000013422..."} 
[2026-07-08 12:19:22] local.INFO: Packet analysis {"connection_id":125355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4078"} 
[2026-07-08 12:19:22] local.INFO: Extracted packet for processing {"connection_id":125355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4078"} 
[2026-07-08 12:19:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574152960001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:19:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783493086000,"timestamp_ms":1783493086000,"timestamp_seconds":1783493086,"priority":1,"record_length":96,"hex_timestamp":"0000019f4078cb30"} 
[2026-07-08 12:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:19:22] 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-07-08 12: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:19:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:19:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574152960001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574152960001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:19:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574152960001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":125355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450904,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:19:22] local.INFO: GPS data processed {"connection_id":125355,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:19:22] local.INFO: Acknowledgment sent {"connection_id":125355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:19:33] local.INFO: TCP Data received {"connection_id":126212,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f407a9c08012d7f99c005afe0900004009429..."} 
[2026-07-08 12:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407a9c08012d7f99c005afe0900004009429..."} 
[2026-07-08 12:19:33] local.INFO: Processing buffer {"connection_id":126212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407a9c08012d7f99c005afe0900004009429..."} 
[2026-07-08 12:19:33] local.INFO: Packet analysis {"connection_id":126212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f407a"} 
[2026-07-08 12:19:33] local.INFO: Extracted packet for processing {"connection_id":126212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f407a"} 
[2026-07-08 12:19:33] local.INFO: GPS Element Parsed {"raw_longitude":763337152,"raw_latitude":95412368,"longitude_deg":76.3337152,"latitude_deg":9.5412368,"altitude":4,"angle":148,"satellites":41,"speed":2,"hex_longitude":"2d7f99c0","hex_latitude":"05afe090","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574259200001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532373524512768,"note":"Value kept but may cause issues"} 
[2026-07-08 12:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194731982400112640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783493205000,"timestamp_ms":1783493205000,"timestamp_seconds":1783493205,"priority":1,"record_length":96,"hex_timestamp":"0000019f407a9c08"} 
[2026-07-08 12:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 12:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574259200001,"66":27821,"250":206,"85":12544,"24":2,"16":342532373524512768,"45":9194731982400112640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574259200001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:19:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:19:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532373524512768,"km_value":342532373524512.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194731982400112640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574259200001,"power":27821,"unknown_250":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9194731982400112640}} 
[2026-07-08 12:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":126212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:19:33] local.INFO: GPS data processed {"connection_id":126212,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:19:33] local.INFO: Acknowledgment sent {"connection_id":126212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:19:39] local.INFO: TCP Data received {"connection_id":126213,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f407b47e8012d196840071fede00040011f21..."} 
[2026-07-08 12:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407b47e8012d196840071fede00040011f21..."} 
[2026-07-08 12:19:39] local.INFO: Processing buffer {"connection_id":126213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407b47e8012d196840071fede00040011f21..."} 
[2026-07-08 12:19:39] local.INFO: Packet analysis {"connection_id":126213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f407b"} 
[2026-07-08 12:19:39] local.INFO: Extracted packet for processing {"connection_id":126213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f407b"} 
[2026-07-08 12:19:39] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533024,"longitude_deg":75.6639808,"latitude_deg":11.9533024,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede0","is_valid_coordinates":true} 
[2026-07-08 12:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574266368001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726980876435456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870738432,"note":"Value kept but may cause issues"} 
[2026-07-08 12:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783493249000,"timestamp_ms":1783493249000,"timestamp_seconds":1783493249,"priority":1,"record_length":96,"hex_timestamp":"0000019f407b47e8"} 
[2026-07-08 12:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:19: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-07-08 12:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 12:19:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:19:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574266368001,"66":11993,"70":206,"28":31744,"24":0,"16":4726980876435456,"45":1830783647870738432},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-08 12:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574266368001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:19:39] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-08 12:19:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726980876435456,"km_value":4726980876435.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870738432,"description":"Unknown IO ID 45"} 
[2026-07-08 12:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574266368001,"power":11993,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870738432}} 
[2026-07-08 12:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":126213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:19:39] local.INFO: GPS data processed {"connection_id":126213,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:19:39] local.INFO: Acknowledgment sent {"connection_id":126213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:19:45] local.INFO: TCP Data received {"connection_id":127471,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127471,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:19:45] local.INFO: Processing buffer {"connection_id":127471,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:19:45] local.INFO: IMEI packet received {"connection_id":127471,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":127471,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:19:49] local.INFO: TCP Data received {"connection_id":127471,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127471,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:19:49] local.INFO: Processing buffer {"connection_id":127471,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:19:49] local.INFO: IMEI packet received {"connection_id":127471,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":127471,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:19:50] local.INFO: TCP Data received {"connection_id":127471,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f407d62f8012d0b130007029fc00010013423..."} 
[2026-07-08 12:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407d62f8012d0b130007029fc00010013423..."} 
[2026-07-08 12:19:50] local.INFO: Processing buffer {"connection_id":127471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407d62f8012d0b130007029fc00010013423..."} 
[2026-07-08 12:19:50] local.INFO: Packet analysis {"connection_id":127471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f407d"} 
[2026-07-08 12:19:50] local.INFO: Extracted packet for processing {"connection_id":127471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f407d"} 
[2026-07-08 12:19:50] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":16,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574230016001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783493387000,"timestamp_ms":1783493387000,"timestamp_seconds":1783493387,"priority":1,"record_length":96,"hex_timestamp":"0000019f407d62f8"} 
[2026-07-08 12:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:19:50] 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-07-08 12:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 12:19:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":127471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":127471,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":127471,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574230016001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574230016001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:19:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574230016001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":127471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450907,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:19:50] local.INFO: GPS data processed {"connection_id":127471,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:19:50] local.INFO: Acknowledgment sent {"connection_id":127471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:20:01] local.INFO: TCP Data received {"connection_id":126215,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:20:01] local.INFO: Processing buffer {"connection_id":126215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:20:01] local.INFO: IMEI packet received {"connection_id":126215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":126215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:20:01] local.INFO: TCP Data received {"connection_id":126214,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:20:01] local.INFO: Processing buffer {"connection_id":126214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:20:01] local.INFO: IMEI packet received {"connection_id":126214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":126214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:20:06] local.INFO: TCP Data received {"connection_id":126215,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:20:06] local.INFO: Processing buffer {"connection_id":126215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:20:06] local.INFO: IMEI packet received {"connection_id":126215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":126215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:20:06] local.INFO: TCP Data received {"connection_id":126214,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:20:06] local.INFO: Processing buffer {"connection_id":126214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:20:06] local.INFO: IMEI packet received {"connection_id":126214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":126214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:20:07] local.INFO: TCP Data received {"connection_id":126214,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f407aced0012d7f990005afde900007009f29..."} 
[2026-07-08 12:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407aced0012d7f990005afde900007009f29..."} 
[2026-07-08 12:20:07] local.INFO: Processing buffer {"connection_id":126214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407aced0012d7f990005afde900007009f29..."} 
[2026-07-08 12:20:07] local.INFO: Packet analysis {"connection_id":126214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f407a"} 
[2026-07-08 12:20:07] local.INFO: Extracted packet for processing {"connection_id":126214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f407a"} 
[2026-07-08 12:20:07] local.INFO: GPS Element Parsed {"raw_longitude":763336960,"raw_latitude":95411856,"longitude_deg":76.333696,"latitude_deg":9.5411856,"altitude":7,"angle":159,"satellites":41,"speed":2,"hex_longitude":"2d7f9900","hex_latitude":"05afde90","is_valid_coordinates":true} 
[2026-07-08 12:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574260480001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532403589283840,"note":"Value kept but may cause issues"} 
[2026-07-08 12:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194591244911677440,"note":"Value kept but may cause issues"} 
[2026-07-08 12:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783493218000,"timestamp_ms":1783493218000,"timestamp_seconds":1783493218,"priority":1,"record_length":96,"hex_timestamp":"0000019f407aced0"} 
[2026-07-08 12:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 12:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574260480001,"66":28050,"250":206,"85":12544,"24":2,"16":342532403589283840,"45":9194591244911677440},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574260480001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:20:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:20:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532403589283840,"km_value":342532403589283.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194591244911677440,"description":"Unknown IO ID 45"} 
[2026-07-08 12:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574260480001,"power":28050,"unknown_250":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9194591244911677440}} 
[2026-07-08 12:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":126214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:20:07] local.INFO: GPS data processed {"connection_id":126214,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:20:07] local.INFO: Acknowledgment sent {"connection_id":126214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:20:07] local.INFO: TCP Data received {"connection_id":126215,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f407b99f0012d196840071fede00040011f24..."} 
[2026-07-08 12:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407b99f0012d196840071fede00040011f24..."} 
[2026-07-08 12:20:07] local.INFO: Processing buffer {"connection_id":126215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407b99f0012d196840071fede00040011f24..."} 
[2026-07-08 12:20:07] local.INFO: Packet analysis {"connection_id":126215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f407b"} 
[2026-07-08 12:20:07] local.INFO: Extracted packet for processing {"connection_id":126215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f407b"} 
[2026-07-08 12:20:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533024,"longitude_deg":75.6639808,"latitude_deg":11.9533024,"altitude":64,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede0","is_valid_coordinates":true} 
[2026-07-08 12:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574271744001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726980876435456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870738432,"note":"Value kept but may cause issues"} 
[2026-07-08 12:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783493270000,"timestamp_ms":1783493270000,"timestamp_seconds":1783493270,"priority":1,"record_length":96,"hex_timestamp":"0000019f407b99f0"} 
[2026-07-08 12:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 12:20:07] 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-07-08 12:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574271744001,"66":12613,"70":206,"28":31744,"24":0,"16":4726980876435456,"45":1830783647870738432},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-08 12:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574271744001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:20:07] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-08 12:20:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726980876435456,"km_value":4726980876435.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870738432,"description":"Unknown IO ID 45"} 
[2026-07-08 12:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574271744001,"power":12613,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870738432}} 
[2026-07-08 12:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":126215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:20:07] local.INFO: GPS data processed {"connection_id":126215,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:20:07] local.INFO: Acknowledgment sent {"connection_id":126215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:20:11] local.INFO: TCP Data received {"connection_id":126214,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f407ad2b8012d7f990005afde68000800932a..."} 
[2026-07-08 12:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407ad2b8012d7f990005afde68000800932a..."} 
[2026-07-08 12:20:11] local.INFO: Processing buffer {"connection_id":126214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407ad2b8012d7f990005afde68000800932a..."} 
[2026-07-08 12:20:11] local.INFO: Packet analysis {"connection_id":126214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f407a"} 
[2026-07-08 12:20:11] local.INFO: Extracted packet for processing {"connection_id":126214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f407a"} 
[2026-07-08 12:20:11] local.INFO: GPS Element Parsed {"raw_longitude":763336960,"raw_latitude":95411816,"longitude_deg":76.333696,"latitude_deg":9.5411816,"altitude":8,"angle":147,"satellites":42,"speed":1,"hex_longitude":"2d7f9900","hex_latitude":"05afde68","is_valid_coordinates":true} 
[2026-07-08 12:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574263808001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532403589283840,"note":"Value kept but may cause issues"} 
[2026-07-08 12:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194380138679013376,"note":"Value kept but may cause issues"} 
[2026-07-08 12:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783493219000,"timestamp_ms":1783493219000,"timestamp_seconds":1783493219,"priority":1,"record_length":96,"hex_timestamp":"0000019f407ad2b8"} 
[2026-07-08 12:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-08 12:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574263808001,"66":27767,"250":206,"85":12544,"24":1,"16":342532403589283840,"45":9194380138679013376},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574263808001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:20:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:20:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532403589283840,"km_value":342532403589283.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194380138679013376,"description":"Unknown IO ID 45"} 
[2026-07-08 12:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574263808001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9194380138679013376}} 
[2026-07-08 12:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":126214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:20:11] local.INFO: GPS data processed {"connection_id":126214,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:20:11] local.INFO: Acknowledgment sent {"connection_id":126214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:20:21] local.INFO: TCP Data received {"connection_id":127471,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f407d62f8012d0b130007029fc00010013423..."} 
[2026-07-08 12:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407d62f8012d0b130007029fc00010013423..."} 
[2026-07-08 12:20:21] local.INFO: Processing buffer {"connection_id":127471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407d62f8012d0b130007029fc00010013423..."} 
[2026-07-08 12:20:21] local.INFO: Packet analysis {"connection_id":127471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f407d"} 
[2026-07-08 12:20:21] local.INFO: Extracted packet for processing {"connection_id":127471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f407d"} 
[2026-07-08 12:20:21] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":16,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 12:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574230016001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783493387000,"timestamp_ms":1783493387000,"timestamp_seconds":1783493387,"priority":1,"record_length":96,"hex_timestamp":"0000019f407d62f8"} 
[2026-07-08 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-07-08 12:20:21] 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-07-08 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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 12:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 12:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":127471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":127471,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":127471,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574230016001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574230016001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:20:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574230016001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":127471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450911,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:20:21] local.INFO: GPS data processed {"connection_id":127471,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:20:21] local.INFO: Acknowledgment sent {"connection_id":127471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:20:40] local.INFO: TCP Data received {"connection_id":126215,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f407bebf8012d196840071fede00040011f21..."} 
[2026-07-08 12:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407bebf8012d196840071fede00040011f21..."} 
[2026-07-08 12:20:40] local.INFO: Processing buffer {"connection_id":126215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407bebf8012d196840071fede00040011f21..."} 
[2026-07-08 12:20:40] local.INFO: Packet analysis {"connection_id":126215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f407b"} 
[2026-07-08 12:20:40] local.INFO: Extracted packet for processing {"connection_id":126215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f407b"} 
[2026-07-08 12:20:40] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533024,"longitude_deg":75.6639808,"latitude_deg":11.9533024,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede0","is_valid_coordinates":true} 
[2026-07-08 12:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574277120001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726980876435456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870738432,"note":"Value kept but may cause issues"} 
[2026-07-08 12:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783493291000,"timestamp_ms":1783493291000,"timestamp_seconds":1783493291,"priority":1,"record_length":96,"hex_timestamp":"0000019f407bebf8"} 
[2026-07-08 12:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574277120001,"66":12558,"131":206,"28":31744,"24":0,"16":4726980876435456,"45":1830783647870738432},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-08 12:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574277120001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:20:40] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-08 12:20:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726980876435456,"km_value":4726980876435.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870738432,"description":"Unknown IO ID 45"} 
[2026-07-08 12:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574277120001,"power":12558,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870738432}} 
[2026-07-08 12:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":126215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:20:40] local.INFO: GPS data processed {"connection_id":126215,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:20:40] local.INFO: Acknowledgment sent {"connection_id":126215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:20:45] local.INFO: TCP Data received {"connection_id":125356,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125356,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:20:45] local.INFO: Processing buffer {"connection_id":125356,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:20:45] local.INFO: IMEI packet received {"connection_id":125356,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":125356,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:20:50] local.INFO: TCP Data received {"connection_id":125356,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125356,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:20:50] local.INFO: Processing buffer {"connection_id":125356,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:20:50] local.INFO: IMEI packet received {"connection_id":125356,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":125356,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:20:51] local.INFO: TCP Data received {"connection_id":125356,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019f407d62f8012d0b130007029fc00010013423..."} 
[2026-07-08 12:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407d62f8012d0b130007029fc00010013423..."} 
[2026-07-08 12:20:51] local.INFO: Processing buffer {"connection_id":125356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407d62f8012d0b130007029fc00010013423..."} 
[2026-07-08 12:20:51] local.INFO: Packet analysis {"connection_id":125356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f407d"} 
[2026-07-08 12:20:51] local.INFO: Extracted packet for processing {"connection_id":125356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f407d"} 
[2026-07-08 12:20:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":16,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574230016001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783493387000,"timestamp_ms":1783493387000,"timestamp_seconds":1783493387,"priority":1,"record_length":96,"hex_timestamp":"0000019f407d62f8"} 
[2026-07-08 12:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:20: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-07-08 12:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 12:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574230016001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574230016001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:20:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574230016001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":125356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450913,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:20:51] local.INFO: GPS data processed {"connection_id":125356,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:20:51] local.INFO: Acknowledgment sent {"connection_id":125356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:20:56] local.INFO: TCP Data received {"connection_id":126216,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:20:56] local.INFO: Processing buffer {"connection_id":126216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:20:56] local.INFO: IMEI packet received {"connection_id":126216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":126216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:21:00] local.INFO: TCP Data received {"connection_id":125458,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:21:00] local.INFO: Processing buffer {"connection_id":125458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:21:00] local.INFO: IMEI packet received {"connection_id":125458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":125458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:21:01] local.INFO: TCP Data received {"connection_id":126216,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:21:01] local.INFO: Processing buffer {"connection_id":126216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:21:01] local.INFO: IMEI packet received {"connection_id":126216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":126216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:21:02] local.INFO: TCP Data received {"connection_id":126216,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f407b24c0012d7f994005afddb8000900922a..."} 
[2026-07-08 12:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407b24c0012d7f994005afddb8000900922a..."} 
[2026-07-08 12:21:02] local.INFO: Processing buffer {"connection_id":126216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407b24c0012d7f994005afddb8000900922a..."} 
[2026-07-08 12:21:02] local.INFO: Packet analysis {"connection_id":126216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f407b"} 
[2026-07-08 12:21:02] local.INFO: Extracted packet for processing {"connection_id":126216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f407b"} 
[2026-07-08 12:21:02] local.INFO: GPS Element Parsed {"raw_longitude":763337024,"raw_latitude":95411640,"longitude_deg":76.3337024,"latitude_deg":9.541164,"altitude":9,"angle":146,"satellites":42,"speed":0,"hex_longitude":"2d7f9940","hex_latitude":"05afddb8","is_valid_coordinates":true} 
[2026-07-08 12:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574264064001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532412179218432,"note":"Value kept but may cause issues"} 
[2026-07-08 12:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194380138679003136,"note":"Value kept but may cause issues"} 
[2026-07-08 12:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783493240000,"timestamp_ms":1783493240000,"timestamp_seconds":1783493240,"priority":1,"record_length":96,"hex_timestamp":"0000019f407b24c0"} 
[2026-07-08 12:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 12:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574264064001,"66":27821,"250":206,"85":12544,"24":0,"16":342532412179218432,"45":9194380138679003136},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574264064001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:21:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:21:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532412179218432,"km_value":342532412179218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194380138679003136,"description":"Unknown IO ID 45"} 
[2026-07-08 12:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574264064001,"power":27821,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194380138679003136}} 
[2026-07-08 12:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":126216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:21:02] local.INFO: GPS data processed {"connection_id":126216,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:21:02] local.INFO: Acknowledgment sent {"connection_id":126216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:21:06] local.INFO: TCP Data received {"connection_id":125458,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:21:06] local.INFO: Processing buffer {"connection_id":125458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:21:06] local.INFO: IMEI packet received {"connection_id":125458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":125458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:21:07] local.INFO: TCP Data received {"connection_id":125458,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f407c3e00012d196840071fede00040011f25..."} 
[2026-07-08 12:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407c3e00012d196840071fede00040011f25..."} 
[2026-07-08 12:21:07] local.INFO: Processing buffer {"connection_id":125458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407c3e00012d196840071fede00040011f25..."} 
[2026-07-08 12:21:07] local.INFO: Packet analysis {"connection_id":125458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f407c"} 
[2026-07-08 12:21:07] local.INFO: Extracted packet for processing {"connection_id":125458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f407c"} 
[2026-07-08 12:21:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533024,"longitude_deg":75.6639808,"latitude_deg":11.9533024,"altitude":64,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede0","is_valid_coordinates":true} 
[2026-07-08 12:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574282496001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726980876435456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870738432,"note":"Value kept but may cause issues"} 
[2026-07-08 12:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783493312000,"timestamp_ms":1783493312000,"timestamp_seconds":1783493312,"priority":1,"record_length":96,"hex_timestamp":"0000019f407c3e00"} 
[2026-07-08 12:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-08 12:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-08 12:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3408527360,"note":"Value kept but may cause issues"} 
[2026-07-08 12:21:07] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":704643072,"corrected_to":0} 
[2026-07-08 12:21:07] local.WARNING: Large IO value detected {"io_id":64,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-08 12:21:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743230331252192,"note":"Value kept but may cause issues"} 
[2026-07-08 12:21:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990880320,"note":"Value kept but may cause issues"} 
[2026-07-08 12:21:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-08 12:21:07] local.WARNING: Large IO value detected {"io_id":81,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-07-08 12:21:07] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-07-08 12:21:07] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-08 12:21:07] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,131,28,24,241,158,16,203,159,153,45,64,237,36,10,66,70,71,33,245,1,240,47,31,4,113,205,81,104,224,239,49,121,2,7,231,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":203,"original":704643072,"validated":0},{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-08 12:21:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4612001719998480384,"timestamp_seconds":4612001719998480.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 12:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574282496001,"66":12548,"131":206,"28":31744,"24":0,"16":4726980876435456,"45":1830783647870738432},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-08 12:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574282496001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:21:07] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-08 12:21:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726980876435456,"km_value":4726980876435.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870738432,"description":"Unknown IO ID 45"} 
[2026-07-08 12:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574282496001,"power":12548,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870738432}} 
[2026-07-08 12:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":125458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:21:07] local.INFO: GPS data processed {"connection_id":125458,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:21:07] local.INFO: Acknowledgment sent {"connection_id":125458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:21:09] local.INFO: TCP Data received {"connection_id":127472,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127472,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:21:09] local.INFO: Processing buffer {"connection_id":127472,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:21:09] local.INFO: IMEI packet received {"connection_id":127472,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 12:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":127472,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:21:22] local.INFO: TCP Data received {"connection_id":125356,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019f407d62f8012d0b130007029fc00010013423..."} 
[2026-07-08 12:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407d62f8012d0b130007029fc00010013423..."} 
[2026-07-08 12:21:22] local.INFO: Processing buffer {"connection_id":125356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407d62f8012d0b130007029fc00010013423..."} 
[2026-07-08 12:21:22] local.INFO: Packet analysis {"connection_id":125356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f407d"} 
[2026-07-08 12:21:22] local.INFO: Extracted packet for processing {"connection_id":125356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f407d"} 
[2026-07-08 12:21:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":16,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 12:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574230016001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783493387000,"timestamp_ms":1783493387000,"timestamp_seconds":1783493387,"priority":1,"record_length":96,"hex_timestamp":"0000019f407d62f8"} 
[2026-07-08 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-07-08 12:21:22] 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-07-08 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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 12:21:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 12:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574230016001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574230016001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:21:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574230016001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":125356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450916,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:21:22] local.INFO: GPS data processed {"connection_id":125356,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:21:22] local.INFO: Acknowledgment sent {"connection_id":125356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:21:33] local.INFO: TCP Data received {"connection_id":126216,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f407b6b10012d7f99c005afdbe0000b00ac29..."} 
[2026-07-08 12:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407b6b10012d7f99c005afdbe0000b00ac29..."} 
[2026-07-08 12:21:33] local.INFO: Processing buffer {"connection_id":126216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407b6b10012d7f99c005afdbe0000b00ac29..."} 
[2026-07-08 12:21:33] local.INFO: Packet analysis {"connection_id":126216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f407b"} 
[2026-07-08 12:21:33] local.INFO: Extracted packet for processing {"connection_id":126216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f407b"} 
[2026-07-08 12:21:33] local.INFO: GPS Element Parsed {"raw_longitude":763337152,"raw_latitude":95411168,"longitude_deg":76.3337152,"latitude_deg":9.5411168,"altitude":11,"angle":172,"satellites":41,"speed":1,"hex_longitude":"2d7f99c0","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-07-08 12:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574269440001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532437949022208,"note":"Value kept but may cause issues"} 
[2026-07-08 12:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194450507423135744,"note":"Value kept but may cause issues"} 
[2026-07-08 12:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783493258000,"timestamp_ms":1783493258000,"timestamp_seconds":1783493258,"priority":1,"record_length":96,"hex_timestamp":"0000019f407b6b10"} 
[2026-07-08 12:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:21:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 12:21:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:21:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574269440001,"66":28006,"250":206,"85":12544,"24":1,"16":342532437949022208,"45":9194450507423135744},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574269440001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:21:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:21:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532437949022208,"km_value":342532437949022.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194450507423135744,"description":"Unknown IO ID 45"} 
[2026-07-08 12:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574269440001,"power":28006,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9194450507423135744}} 
[2026-07-08 12:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":126216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:21:33] local.INFO: GPS data processed {"connection_id":126216,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:21:33] local.INFO: Acknowledgment sent {"connection_id":126216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:21:40] local.INFO: TCP Data received {"connection_id":125458,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f407c9008012d196840071fede00040011f25..."} 
[2026-07-08 12:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407c9008012d196840071fede00040011f25..."} 
[2026-07-08 12:21:40] local.INFO: Processing buffer {"connection_id":125458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407c9008012d196840071fede00040011f25..."} 
[2026-07-08 12:21:40] local.INFO: Packet analysis {"connection_id":125458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f407c"} 
[2026-07-08 12:21:40] local.INFO: Extracted packet for processing {"connection_id":125458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f407c"} 
[2026-07-08 12:21:40] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533024,"longitude_deg":75.6639808,"latitude_deg":11.9533024,"altitude":64,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede0","is_valid_coordinates":true} 
[2026-07-08 12:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574287872001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726980876435456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870738432,"note":"Value kept but may cause issues"} 
[2026-07-08 12:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783493333000,"timestamp_ms":1783493333000,"timestamp_seconds":1783493333,"priority":1,"record_length":96,"hex_timestamp":"0000019f407c9008"} 
[2026-07-08 12:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 12:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-08 12:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3408527360,"note":"Value kept but may cause issues"} 
[2026-07-08 12:21:40] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":704643072,"corrected_to":0} 
[2026-07-08 12:21:40] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-07-08 12:21:40] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3990880320,"note":"Value kept but may cause issues"} 
[2026-07-08 12:21:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880124622,"corrected_to":0} 
[2026-07-08 12:21:40] local.WARNING: Large IO value detected {"io_id":163,"raw_value":3623955737,"note":"Value kept but may cause issues"} 
[2026-07-08 12:21:40] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-07-08 12:21:40] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,131,28,24,241,158,16,203,159,235,45,64,237,33,10,66,153,36,70,71,1,240,217,31,4,113,205,163,104,224,34,239,49,121,2,7,231],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":203,"original":704643072,"validated":0},{"io_id":205,"original":3880124622,"validated":0}]} 
[2026-07-08 12:21:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4612001737178349568,"timestamp_seconds":4612001737178350.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 12:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574287872001,"66":12580,"131":206,"28":31744,"24":0,"16":4726980876435456,"45":1830783647870738432},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-08 12:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574287872001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:21:40] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-08 12:21:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726980876435456,"km_value":4726980876435.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870738432,"description":"Unknown IO ID 45"} 
[2026-07-08 12:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574287872001,"power":12580,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870738432}} 
[2026-07-08 12:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":125458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:21:40] local.INFO: GPS data processed {"connection_id":125458,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:21:40] local.INFO: Acknowledgment sent {"connection_id":125458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:21:50] local.INFO: TCP Data received {"connection_id":127473,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127473,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:21:50] local.INFO: Processing buffer {"connection_id":127473,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:21:50] local.INFO: IMEI packet received {"connection_id":127473,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":127473,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:21:55] local.INFO: TCP Data received {"connection_id":127473,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127473,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:21:55] local.INFO: Processing buffer {"connection_id":127473,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:21:55] local.INFO: IMEI packet received {"connection_id":127473,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":127473,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:21:56] local.INFO: TCP Data received {"connection_id":127473,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f407d62f8012d0b130007029fc00010013423..."} 
[2026-07-08 12:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407d62f8012d0b130007029fc00010013423..."} 
[2026-07-08 12:21:56] local.INFO: Processing buffer {"connection_id":127473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407d62f8012d0b130007029fc00010013423..."} 
[2026-07-08 12:21:56] local.INFO: Packet analysis {"connection_id":127473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f407d"} 
[2026-07-08 12:21:56] local.INFO: Extracted packet for processing {"connection_id":127473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f407d"} 
[2026-07-08 12:21:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":16,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574230016001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783493387000,"timestamp_ms":1783493387000,"timestamp_seconds":1783493387,"priority":1,"record_length":96,"hex_timestamp":"0000019f407d62f8"} 
[2026-07-08 12:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:21:56] 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-07-08 12:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 12:21:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:21:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":127473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":127473,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":127473,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574230016001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574230016001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:21:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574230016001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":127473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450919,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:21:56] local.INFO: GPS data processed {"connection_id":127473,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:21:56] local.INFO: Acknowledgment sent {"connection_id":127473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:21:56] local.INFO: TCP Data received {"connection_id":126217,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:21:56] local.INFO: Processing buffer {"connection_id":126217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:21:56] local.INFO: IMEI packet received {"connection_id":126217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":126217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:21:56] local.INFO: TCP Data received {"connection_id":127474,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:21:56] local.INFO: Processing buffer {"connection_id":127474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:21:56] local.INFO: IMEI packet received {"connection_id":127474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 12:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":127474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:22:00] local.INFO: TCP Data received {"connection_id":127473,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f407d62f8012d0b130007029fc00010013423..."} 
[2026-07-08 12:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407d62f8012d0b130007029fc00010013423..."} 
[2026-07-08 12:22:00] local.INFO: Processing buffer {"connection_id":127473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407d62f8012d0b130007029fc00010013423..."} 
[2026-07-08 12:22:00] local.INFO: Packet analysis {"connection_id":127473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f407d"} 
[2026-07-08 12:22:00] local.INFO: Extracted packet for processing {"connection_id":127473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f407d"} 
[2026-07-08 12:22:00] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":16,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574230016001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783493387000,"timestamp_ms":1783493387000,"timestamp_seconds":1783493387,"priority":1,"record_length":96,"hex_timestamp":"0000019f407d62f8"} 
[2026-07-08 12:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:22:00] 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-07-08 12:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 12:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:22:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":127473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":127473,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":127473,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574230016001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574230016001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:22:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574230016001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":127473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450920,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:22:00] local.INFO: GPS data processed {"connection_id":127473,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:22:00] local.INFO: Acknowledgment sent {"connection_id":127473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:22:01] local.INFO: TCP Data received {"connection_id":126217,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:22:01] local.INFO: Processing buffer {"connection_id":126217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:22:01] local.INFO: IMEI packet received {"connection_id":126217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":126217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:22:06] local.INFO: TCP Data received {"connection_id":125357,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:22:06] local.INFO: Processing buffer {"connection_id":125357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:22:06] local.INFO: IMEI packet received {"connection_id":125357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":125357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:22:07] local.INFO: TCP Data received {"connection_id":126217,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f407bbd18012d7f9b4005afd9e8000c00742a..."} 
[2026-07-08 12:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407bbd18012d7f9b4005afd9e8000c00742a..."} 
[2026-07-08 12:22:07] local.INFO: Processing buffer {"connection_id":126217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407bbd18012d7f9b4005afd9e8000c00742a..."} 
[2026-07-08 12:22:07] local.INFO: Packet analysis {"connection_id":126217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f407b"} 
[2026-07-08 12:22:07] local.INFO: Extracted packet for processing {"connection_id":126217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f407b"} 
[2026-07-08 12:22:07] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95410664,"longitude_deg":76.3337536,"latitude_deg":9.5410664,"altitude":12,"angle":116,"satellites":42,"speed":2,"hex_longitude":"2d7f9b40","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-07-08 12:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574274048001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532472308760576,"note":"Value kept but may cause issues"} 
[2026-07-08 12:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194591244911370240,"note":"Value kept but may cause issues"} 
[2026-07-08 12:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783493279000,"timestamp_ms":1783493279000,"timestamp_seconds":1783493279,"priority":1,"record_length":96,"hex_timestamp":"0000019f407bbd18"} 
[2026-07-08 12:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 12:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574274048001,"66":27767,"250":206,"85":12544,"24":2,"16":342532472308760576,"45":9194591244911370240},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574274048001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:22:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:22:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532472308760576,"km_value":342532472308760.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194591244911370240,"description":"Unknown IO ID 45"} 
[2026-07-08 12:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574274048001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9194591244911370240}} 
[2026-07-08 12:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":126217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:22:07] local.INFO: GPS data processed {"connection_id":126217,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:22:07] local.INFO: Acknowledgment sent {"connection_id":126217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:22:11] local.INFO: TCP Data received {"connection_id":125357,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:22:11] local.INFO: Processing buffer {"connection_id":125357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:22:11] local.INFO: IMEI packet received {"connection_id":125357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":125357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:22:12] local.INFO: TCP Data received {"connection_id":125357,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f407ce210012d196840071fede00040011f25..."} 
[2026-07-08 12:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407ce210012d196840071fede00040011f25..."} 
[2026-07-08 12:22:12] local.INFO: Processing buffer {"connection_id":125357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407ce210012d196840071fede00040011f25..."} 
[2026-07-08 12:22:12] local.INFO: Packet analysis {"connection_id":125357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f407c"} 
[2026-07-08 12:22:12] local.INFO: Extracted packet for processing {"connection_id":125357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f407c"} 
[2026-07-08 12:22:12] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533024,"longitude_deg":75.6639808,"latitude_deg":11.9533024,"altitude":64,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede0","is_valid_coordinates":true} 
[2026-07-08 12:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574293248001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726980876435456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870738432,"note":"Value kept but may cause issues"} 
[2026-07-08 12:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783493354000,"timestamp_ms":1783493354000,"timestamp_seconds":1783493354,"priority":1,"record_length":96,"hex_timestamp":"0000019f407ce210"} 
[2026-07-08 12:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:22: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-07-08 12: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 12:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574293248001,"66":12558,"131":206,"28":31744,"24":0,"16":4726980876435456,"45":1830783647870738432},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-07-08 12:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574293248001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:22:12] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-08 12:22:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726980876435456,"km_value":4726980876435.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870738432,"description":"Unknown IO ID 45"} 
[2026-07-08 12:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574293248001,"power":12558,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870738432}} 
[2026-07-08 12:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":125357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:22:12] local.INFO: GPS data processed {"connection_id":125357,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:22:12] local.INFO: Acknowledgment sent {"connection_id":125357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:22:40] local.INFO: TCP Data received {"connection_id":126217,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f407f5ae0012d7fa58005afdae0000f00602b..."} 
[2026-07-08 12:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407f5ae0012d7fa58005afdae0000f00602b..."} 
[2026-07-08 12:22:40] local.INFO: Processing buffer {"connection_id":126217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407f5ae0012d7fa58005afdae0000f00602b..."} 
[2026-07-08 12:22:40] local.INFO: Packet analysis {"connection_id":126217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f407f"} 
[2026-07-08 12:22:40] local.INFO: Extracted packet for processing {"connection_id":126217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f407f"} 
[2026-07-08 12:22:40] local.INFO: GPS Element Parsed {"raw_longitude":763340160,"raw_latitude":95410912,"longitude_deg":76.334016,"latitude_deg":9.5410912,"altitude":15,"angle":96,"satellites":43,"speed":3,"hex_longitude":"2d7fa580","hex_latitude":"05afdae0","is_valid_coordinates":true} 
[2026-07-08 12:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574339584001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532506668498944,"note":"Value kept but may cause issues"} 
[2026-07-08 12:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910962688,"note":"Value kept but may cause issues"} 
[2026-07-08 12:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783493516000,"timestamp_ms":1783493516000,"timestamp_seconds":1783493516,"priority":1,"record_length":96,"hex_timestamp":"0000019f407f5ae0"} 
[2026-07-08 12:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-08 12:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574339584001,"66":27745,"250":206,"85":12544,"24":3,"16":342532506668498944,"45":9197617100910962688},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574339584001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:22:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:22:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532506668498944,"km_value":342532506668498.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910962688,"description":"Unknown IO ID 45"} 
[2026-07-08 12:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574339584001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":3,"odometer":null,"unknown_45":9197617100910962688}} 
[2026-07-08 12:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":126217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:22:40] local.INFO: GPS data processed {"connection_id":126217,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:22:40] local.INFO: Acknowledgment sent {"connection_id":126217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:22:45] local.INFO: TCP Data received {"connection_id":125358,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125358,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:22:45] local.INFO: Processing buffer {"connection_id":125358,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:22:45] local.INFO: IMEI packet received {"connection_id":125358,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":125358,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:22:50] local.INFO: TCP Data received {"connection_id":125358,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125358,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:22:50] local.INFO: Processing buffer {"connection_id":125358,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:22:50] local.INFO: IMEI packet received {"connection_id":125358,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":125358,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:22:51] local.INFO: TCP Data received {"connection_id":125357,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f407f5ec8012d1967c0071fecf00046003523..."} 
[2026-07-08 12:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407f5ec8012d1967c0071fecf00046003523..."} 
[2026-07-08 12:22:51] local.INFO: Processing buffer {"connection_id":125357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407f5ec8012d1967c0071fecf00046003523..."} 
[2026-07-08 12:22:51] local.INFO: Packet analysis {"connection_id":125357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f407f"} 
[2026-07-08 12:22:51] local.INFO: Extracted packet for processing {"connection_id":125357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f407f"} 
[2026-07-08 12:22:51] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532784,"longitude_deg":75.663968,"latitude_deg":11.9532784,"altitude":70,"angle":53,"satellites":35,"speed":2,"hex_longitude":"2d1967c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-07-08 12:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574340096001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4727010941206528,"note":"Value kept but may cause issues"} 
[2026-07-08 12:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382311424,"note":"Value kept but may cause issues"} 
[2026-07-08 12:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783493517000,"timestamp_ms":1783493517000,"timestamp_seconds":1783493517,"priority":1,"record_length":96,"hex_timestamp":"0000019f407f5ec8"} 
[2026-07-08 12:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-08 12:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:22:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574340096001,"66":14102,"121":206,"28":31744,"24":2,"16":4727010941206528,"45":1830642910382311424},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574340096001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:22:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:22:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4727010941206528,"km_value":4727010941206.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382311424,"description":"Unknown IO ID 45"} 
[2026-07-08 12:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574340096001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1830642910382311424}} 
[2026-07-08 12:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":125357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:22:51] local.INFO: GPS data processed {"connection_id":125357,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:22:51] local.INFO: Acknowledgment sent {"connection_id":125357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:22:51] local.INFO: TCP Data received {"connection_id":125358,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f407d62f8012d0b130007029fc00010013423..."} 
[2026-07-08 12:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407d62f8012d0b130007029fc00010013423..."} 
[2026-07-08 12:22:51] local.INFO: Processing buffer {"connection_id":125358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407d62f8012d0b130007029fc00010013423..."} 
[2026-07-08 12:22:51] local.INFO: Packet analysis {"connection_id":125358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f407d"} 
[2026-07-08 12:22:51] local.INFO: Extracted packet for processing {"connection_id":125358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f407d"} 
[2026-07-08 12:22:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":16,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574230016001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783493387000,"timestamp_ms":1783493387000,"timestamp_seconds":1783493387,"priority":1,"record_length":96,"hex_timestamp":"0000019f407d62f8"} 
[2026-07-08 12:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:22: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-07-08 12:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 12:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:22:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125358,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125358,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574230016001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574230016001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:22:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574230016001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":125358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450925,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:22:51] local.INFO: GPS data processed {"connection_id":125358,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:22:51] local.INFO: Acknowledgment sent {"connection_id":125358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:22:57] local.INFO: TCP Data received {"connection_id":126219,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:22:57] local.INFO: Processing buffer {"connection_id":126219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:22:57] local.INFO: IMEI packet received {"connection_id":126219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":126219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:22:58] local.INFO: TCP Data received {"connection_id":126219,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:22:58] local.INFO: Processing buffer {"connection_id":126219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:22:58] local.INFO: IMEI packet received {"connection_id":126219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":126219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:22:59] local.INFO: TCP Data received {"connection_id":127475,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:22:59] local.INFO: Processing buffer {"connection_id":127475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:22:59] local.INFO: IMEI packet received {"connection_id":127475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":127475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:23:00] local.INFO: TCP Data received {"connection_id":127475,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:23:00] local.INFO: Processing buffer {"connection_id":127475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:23:00] local.INFO: IMEI packet received {"connection_id":127475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":127475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:23:01] local.INFO: TCP Data received {"connection_id":126219,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:23:01] local.INFO: Processing buffer {"connection_id":126219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:23:01] local.INFO: IMEI packet received {"connection_id":126219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":126219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:23:01] local.INFO: TCP Data received {"connection_id":127475,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:23:01] local.INFO: Processing buffer {"connection_id":127475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:23:01] local.INFO: IMEI packet received {"connection_id":127475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":127475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:23:01] local.INFO: TCP Data received {"connection_id":126219,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f407f62b0012d7fa64005afdac8000f004d2a..."} 
[2026-07-08 12:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407f62b0012d7fa64005afdac8000f004d2a..."} 
[2026-07-08 12:23:01] local.INFO: Processing buffer {"connection_id":126219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407f62b0012d7fa64005afdac8000f004d2a..."} 
[2026-07-08 12:23:01] local.INFO: Packet analysis {"connection_id":126219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f407f"} 
[2026-07-08 12:23:01] local.INFO: Extracted packet for processing {"connection_id":126219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f407f"} 
[2026-07-08 12:23:01] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95410888,"longitude_deg":76.3340352,"latitude_deg":9.5410888,"altitude":15,"angle":77,"satellites":42,"speed":4,"hex_longitude":"2d7fa640","hex_latitude":"05afdac8","is_valid_coordinates":true} 
[2026-07-08 12:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574340096001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532519553400832,"note":"Value kept but may cause issues"} 
[2026-07-08 12:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197898575887654912,"note":"Value kept but may cause issues"} 
[2026-07-08 12:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783493518000,"timestamp_ms":1783493518000,"timestamp_seconds":1783493518,"priority":1,"record_length":96,"hex_timestamp":"0000019f407f62b0"} 
[2026-07-08 12:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 12:23:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574340096001,"66":27843,"250":206,"85":12544,"24":4,"16":342532519553400832,"45":9197898575887654912},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574340096001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:23:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:23:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532519553400832,"km_value":342532519553400.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197898575887654912,"description":"Unknown IO ID 45"} 
[2026-07-08 12:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574340096001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":4,"odometer":null,"unknown_45":9197898575887654912}} 
[2026-07-08 12:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":126219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:23:01] local.INFO: GPS data processed {"connection_id":126219,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:23:01] local.INFO: Acknowledgment sent {"connection_id":126219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:23:05] local.INFO: TCP Data received {"connection_id":127475,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:23:05] local.INFO: Processing buffer {"connection_id":127475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:23:05] local.INFO: IMEI packet received {"connection_id":127475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":127475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:23:06] local.INFO: TCP Data received {"connection_id":127475,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f407f6698012d1967c0071fed280046002624..."} 
[2026-07-08 12:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407f6698012d1967c0071fed280046002624..."} 
[2026-07-08 12:23:06] local.INFO: Processing buffer {"connection_id":127475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407f6698012d1967c0071fed280046002624..."} 
[2026-07-08 12:23:06] local.INFO: Packet analysis {"connection_id":127475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f407f"} 
[2026-07-08 12:23:06] local.INFO: Extracted packet for processing {"connection_id":127475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f407f"} 
[2026-07-08 12:23:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532840,"longitude_deg":75.663968,"latitude_deg":11.953284,"altitude":70,"angle":38,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-07-08 12:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574340352001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4727015236173824,"note":"Value kept but may cause issues"} 
[2026-07-08 12:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382321664,"note":"Value kept but may cause issues"} 
[2026-07-08 12:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783493519000,"timestamp_ms":1783493519000,"timestamp_seconds":1783493519,"priority":1,"record_length":96,"hex_timestamp":"0000019f407f6698"} 
[2026-07-08 12:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-08 12:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574340352001,"66":14102,"121":206,"28":31744,"24":0,"16":4727015236173824,"45":1830642910382321664},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574340352001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:23:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:23:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4727015236173824,"km_value":4727015236173.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382321664,"description":"Unknown IO ID 45"} 
[2026-07-08 12:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574340352001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382321664}} 
[2026-07-08 12:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":127475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:23:06] local.INFO: GPS data processed {"connection_id":127475,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:23:06] local.INFO: Acknowledgment sent {"connection_id":127475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:23:22] local.INFO: TCP Data received {"connection_id":125358,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f407d62f8012d0b130007029fc00010013423..."} 
[2026-07-08 12:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407d62f8012d0b130007029fc00010013423..."} 
[2026-07-08 12:23:22] local.INFO: Processing buffer {"connection_id":125358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407d62f8012d0b130007029fc00010013423..."} 
[2026-07-08 12:23:22] local.INFO: Packet analysis {"connection_id":125358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f407d"} 
[2026-07-08 12:23:22] local.INFO: Extracted packet for processing {"connection_id":125358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f407d"} 
[2026-07-08 12:23:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":16,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574230016001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783493387000,"timestamp_ms":1783493387000,"timestamp_seconds":1783493387,"priority":1,"record_length":96,"hex_timestamp":"0000019f407d62f8"} 
[2026-07-08 12:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:23:22] 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-07-08 12: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 12:23:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125358,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125358,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574230016001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574230016001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:23:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574230016001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":125358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450928,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:23:22] local.INFO: GPS data processed {"connection_id":125358,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:23:22] local.INFO: Acknowledgment sent {"connection_id":125358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:23:33] local.INFO: TCP Data received {"connection_id":126219,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f407f6a80012d7fa74005afdae00010003c2b..."} 
[2026-07-08 12:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407f6a80012d7fa74005afdae00010003c2b..."} 
[2026-07-08 12:23:33] local.INFO: Processing buffer {"connection_id":126219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407f6a80012d7fa74005afdae00010003c2b..."} 
[2026-07-08 12:23:33] local.INFO: Packet analysis {"connection_id":126219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f407f"} 
[2026-07-08 12:23:33] local.INFO: Extracted packet for processing {"connection_id":126219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f407f"} 
[2026-07-08 12:23:33] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410912,"longitude_deg":76.3340608,"latitude_deg":9.5410912,"altitude":16,"angle":60,"satellites":43,"speed":4,"hex_longitude":"2d7fa740","hex_latitude":"05afdae0","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574340608001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532532438302720,"note":"Value kept but may cause issues"} 
[2026-07-08 12:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120181760,"note":"Value kept but may cause issues"} 
[2026-07-08 12:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783493520000,"timestamp_ms":1783493520000,"timestamp_seconds":1783493520,"priority":1,"record_length":96,"hex_timestamp":"0000019f407f6a80"} 
[2026-07-08 12:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 12:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574340608001,"66":27908,"250":206,"85":12544,"24":4,"16":342532532438302720,"45":9198109682120181760},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574340608001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:23:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:23:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532532438302720,"km_value":342532532438302.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120181760,"description":"Unknown IO ID 45"} 
[2026-07-08 12:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574340608001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":4,"odometer":null,"unknown_45":9198109682120181760}} 
[2026-07-08 12:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":126219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:23:33] local.INFO: GPS data processed {"connection_id":126219,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:23:33] local.INFO: Acknowledgment sent {"connection_id":126219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:23:38] local.INFO: TCP Data received {"connection_id":127475,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40801660012d19a7c0071ff160003c006624..."} 
[2026-07-08 12:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40801660012d19a7c0071ff160003c006624..."} 
[2026-07-08 12:23:38] local.INFO: Processing buffer {"connection_id":127475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40801660012d19a7c0071ff160003c006624..."} 
[2026-07-08 12:23:38] local.INFO: Packet analysis {"connection_id":127475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4080"} 
[2026-07-08 12:23:38] local.INFO: Extracted packet for processing {"connection_id":127475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4080"} 
[2026-07-08 12:23:38] local.INFO: GPS Element Parsed {"raw_longitude":756656064,"raw_latitude":119533920,"longitude_deg":75.6656064,"latitude_deg":11.953392,"altitude":60,"angle":102,"satellites":36,"speed":18,"hex_longitude":"2d19a7c0","hex_latitude":"071ff160","is_valid_coordinates":true} 
[2026-07-08 12:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574352128001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4727809805123584,"note":"Value kept but may cause issues"} 
[2026-07-08 12:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848235096427053056,"note":"Value kept but may cause issues"} 
[2026-07-08 12:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783493564000,"timestamp_ms":1783493564000,"timestamp_seconds":1783493564,"priority":1,"record_length":96,"hex_timestamp":"0000019f40801660"} 
[2026-07-08 12:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-08 12:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574352128001,"66":14243,"121":206,"28":31744,"24":18,"16":4727809805123584,"45":1848235096427053056},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574352128001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:23:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:23:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4727809805123584,"km_value":4727809805123.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848235096427053056,"description":"Unknown IO ID 45"} 
[2026-07-08 12:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574352128001,"power":14243,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1848235096427053056}} 
[2026-07-08 12:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":127475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:23:38] local.INFO: GPS data processed {"connection_id":127475,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:23:38] local.INFO: Acknowledgment sent {"connection_id":127475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:23:45] local.INFO: TCP Data received {"connection_id":125359,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125359,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:23:45] local.INFO: Processing buffer {"connection_id":125359,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:23:45] local.INFO: IMEI packet received {"connection_id":125359,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":125359,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:23:50] local.INFO: TCP Data received {"connection_id":125359,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125359,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:23:50] local.INFO: Processing buffer {"connection_id":125359,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:23:50] local.INFO: IMEI packet received {"connection_id":125359,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":125359,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:23:51] local.INFO: TCP Data received {"connection_id":125359,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f407d62f8012d0b130007029fc00010013423..."} 
[2026-07-08 12:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407d62f8012d0b130007029fc00010013423..."} 
[2026-07-08 12:23:51] local.INFO: Processing buffer {"connection_id":125359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407d62f8012d0b130007029fc00010013423..."} 
[2026-07-08 12:23:51] local.INFO: Packet analysis {"connection_id":125359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f407d"} 
[2026-07-08 12:23:51] local.INFO: Extracted packet for processing {"connection_id":125359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f407d"} 
[2026-07-08 12:23:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":16,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574230016001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783493387000,"timestamp_ms":1783493387000,"timestamp_seconds":1783493387,"priority":1,"record_length":96,"hex_timestamp":"0000019f407d62f8"} 
[2026-07-08 12:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:23: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-07-08 12:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 12:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125359,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125359,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574230016001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574230016001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:23:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574230016001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":125359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450931,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:23:51] local.INFO: GPS data processed {"connection_id":125359,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:23:51] local.INFO: Acknowledgment sent {"connection_id":125359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:23:56] local.INFO: TCP Data received {"connection_id":126220,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:23:56] local.INFO: Processing buffer {"connection_id":126220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:23:56] local.INFO: IMEI packet received {"connection_id":126220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":126220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:23:59] local.INFO: TCP Data received {"connection_id":126220,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:23:59] local.INFO: Processing buffer {"connection_id":126220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:23:59] local.INFO: IMEI packet received {"connection_id":126220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":126220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:24:00] local.INFO: TCP Data received {"connection_id":127476,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:24:00] local.INFO: Processing buffer {"connection_id":127476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:24:00] local.INFO: IMEI packet received {"connection_id":127476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":127476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:24:01] local.INFO: TCP Data received {"connection_id":126220,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:24:01] local.INFO: Processing buffer {"connection_id":126220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:24:01] local.INFO: IMEI packet received {"connection_id":126220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":126220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:24:02] local.INFO: TCP Data received {"connection_id":126220,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f40804d10012d7fa48005afdf30001301422a..."} 
[2026-07-08 12:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40804d10012d7fa48005afdf30001301422a..."} 
[2026-07-08 12:24:02] local.INFO: Processing buffer {"connection_id":126220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40804d10012d7fa48005afdf30001301422a..."} 
[2026-07-08 12:24:02] local.INFO: Packet analysis {"connection_id":126220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4080"} 
[2026-07-08 12:24:02] local.INFO: Extracted packet for processing {"connection_id":126220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4080"} 
[2026-07-08 12:24:02] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95412016,"longitude_deg":76.3339904,"latitude_deg":9.5412016,"altitude":19,"angle":322,"satellites":42,"speed":2,"hex_longitude":"2d7fa480","hex_latitude":"05afdf30","is_valid_coordinates":true} 
[2026-07-08 12:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574355456001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532695647059968,"note":"Value kept but may cause issues"} 
[2026-07-08 12:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469655369728,"note":"Value kept but may cause issues"} 
[2026-07-08 12:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783493578000,"timestamp_ms":1783493578000,"timestamp_seconds":1783493578,"priority":1,"record_length":96,"hex_timestamp":"0000019f40804d10"} 
[2026-07-08 12:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:24: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-07-08 12:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 12:24:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:24:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574355456001,"66":27865,"250":206,"85":12544,"24":2,"16":342532695647059968,"45":9197687469655369728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574355456001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:24:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:24:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532695647059968,"km_value":342532695647059.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469655369728,"description":"Unknown IO ID 45"} 
[2026-07-08 12:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574355456001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9197687469655369728}} 
[2026-07-08 12:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":126220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:24:02] local.INFO: GPS data processed {"connection_id":126220,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:24:02] local.INFO: Acknowledgment sent {"connection_id":126220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:24:06] local.INFO: TCP Data received {"connection_id":127476,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:24:06] local.INFO: Processing buffer {"connection_id":127476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:24:06] local.INFO: IMEI packet received {"connection_id":127476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":127476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:24:07] local.INFO: TCP Data received {"connection_id":127476,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40809748012d19dec0072009900031000e20..."} 
[2026-07-08 12:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40809748012d19dec0072009900031000e20..."} 
[2026-07-08 12:24:07] local.INFO: Processing buffer {"connection_id":127476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40809748012d19dec0072009900031000e20..."} 
[2026-07-08 12:24:07] local.INFO: Packet analysis {"connection_id":127476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4080"} 
[2026-07-08 12:24:07] local.INFO: Extracted packet for processing {"connection_id":127476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4080"} 
[2026-07-08 12:24:07] local.INFO: GPS Element Parsed {"raw_longitude":756670144,"raw_latitude":119540112,"longitude_deg":75.6670144,"latitude_deg":11.9540112,"altitude":49,"angle":14,"satellites":32,"speed":7,"hex_longitude":"2d19dec0","hex_latitude":"07200990","is_valid_coordinates":true} 
[2026-07-08 12:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574360576001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4728617258975232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864068063868538880,"note":"Value kept but may cause issues"} 
[2026-07-08 12:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783493597000,"timestamp_ms":1783493597000,"timestamp_seconds":1783493597,"priority":1,"record_length":96,"hex_timestamp":"0000019f40809748"} 
[2026-07-08 12:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-08 12:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574360576001,"66":14298,"121":206,"28":31744,"24":7,"16":4728617258975232,"45":1864068063868538880},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574360576001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:24:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:24:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4728617258975232,"km_value":4728617258975.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864068063868538880,"description":"Unknown IO ID 45"} 
[2026-07-08 12:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574360576001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1864068063868538880}} 
[2026-07-08 12:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":127476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:24:08] local.INFO: GPS data processed {"connection_id":127476,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:24:08] local.INFO: Acknowledgment sent {"connection_id":127476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:24:22] local.INFO: TCP Data received {"connection_id":125359,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f407d62f8012d0b130007029fc00010013423..."} 
[2026-07-08 12:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f407d62f8012d0b130007029fc00010013423..."} 
[2026-07-08 12:24:22] local.INFO: Processing buffer {"connection_id":125359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f407d62f8012d0b130007029fc00010013423..."} 
[2026-07-08 12:24:22] local.INFO: Packet analysis {"connection_id":125359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f407d"} 
[2026-07-08 12:24:22] local.INFO: Extracted packet for processing {"connection_id":125359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f407d"} 
[2026-07-08 12:24:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":16,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574230016001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:24:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783493387000,"timestamp_ms":1783493387000,"timestamp_seconds":1783493387,"priority":1,"record_length":96,"hex_timestamp":"0000019f407d62f8"} 
[2026-07-08 12:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:24:22] 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-07-08 12: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 12:24:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125359,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125359,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574230016001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574230016001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:24:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:24:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574230016001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":125359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450934,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:24:22] local.INFO: GPS data processed {"connection_id":125359,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:24:22] local.INFO: Acknowledgment sent {"connection_id":125359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:24:33] local.INFO: TCP Data received {"connection_id":126220,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f408054e0012d7fa48005afdf50001301422b..."} 
[2026-07-08 12:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408054e0012d7fa48005afdf50001301422b..."} 
[2026-07-08 12:24:33] local.INFO: Processing buffer {"connection_id":126220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408054e0012d7fa48005afdf50001301422b..."} 
[2026-07-08 12:24:33] local.INFO: Packet analysis {"connection_id":126220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4080"} 
[2026-07-08 12:24:33] local.INFO: Extracted packet for processing {"connection_id":126220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4080"} 
[2026-07-08 12:24:33] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95412048,"longitude_deg":76.3339904,"latitude_deg":9.5412048,"altitude":19,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdf50","is_valid_coordinates":true} 
[2026-07-08 12:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574355968001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532695647059968,"note":"Value kept but may cause issues"} 
[2026-07-08 12:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100911226880,"note":"Value kept but may cause issues"} 
[2026-07-08 12:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783493580000,"timestamp_ms":1783493580000,"timestamp_seconds":1783493580,"priority":1,"record_length":96,"hex_timestamp":"0000019f408054e0"} 
[2026-07-08 12:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 12:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:24:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574355968001,"66":27691,"250":206,"85":12544,"24":0,"16":342532695647059968,"45":9197617100911226880},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574355968001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:24:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:24:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532695647059968,"km_value":342532695647059.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100911226880,"description":"Unknown IO ID 45"} 
[2026-07-08 12:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574355968001,"power":27691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100911226880}} 
[2026-07-08 12:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":126220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:24:33] local.INFO: GPS data processed {"connection_id":126220,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:24:33] local.INFO: Acknowledgment sent {"connection_id":126220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:24:40] local.INFO: TCP Data received {"connection_id":127476,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40809b30012d19dec007200a300031015720..."} 
[2026-07-08 12:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40809b30012d19dec007200a300031015720..."} 
[2026-07-08 12:24:40] local.INFO: Processing buffer {"connection_id":127476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40809b30012d19dec007200a300031015720..."} 
[2026-07-08 12:24:40] local.INFO: Packet analysis {"connection_id":127476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4080"} 
[2026-07-08 12:24:40] local.INFO: Extracted packet for processing {"connection_id":127476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4080"} 
[2026-07-08 12:24:40] local.INFO: GPS Element Parsed {"raw_longitude":756670144,"raw_latitude":119540272,"longitude_deg":75.6670144,"latitude_deg":11.9540272,"altitude":49,"angle":343,"satellites":32,"speed":6,"hex_longitude":"2d19dec0","hex_latitude":"07200a30","is_valid_coordinates":true} 
[2026-07-08 12:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574360832001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4728625848909824,"note":"Value kept but may cause issues"} 
[2026-07-08 12:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864138432612765696,"note":"Value kept but may cause issues"} 
[2026-07-08 12:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783493598000,"timestamp_ms":1783493598000,"timestamp_seconds":1783493598,"priority":1,"record_length":96,"hex_timestamp":"0000019f40809b30"} 
[2026-07-08 12:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:24:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-08 12:24: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-07-08 12:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":127476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":127476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":127476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574360832001,"66":14298,"121":206,"28":31744,"24":6,"16":4728625848909824,"45":1864138432612765696},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574360832001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:24:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:24:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4728625848909824,"km_value":4728625848909.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864138432612765696,"description":"Unknown IO ID 45"} 
[2026-07-08 12:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574360832001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1864138432612765696}} 
[2026-07-08 12:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":127476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:24:40] local.INFO: GPS data processed {"connection_id":127476,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:24:40] local.INFO: Acknowledgment sent {"connection_id":127476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:24:45] local.INFO: TCP Data received {"connection_id":125360,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125360,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:24:45] local.INFO: Processing buffer {"connection_id":125360,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:24:45] local.INFO: IMEI packet received {"connection_id":125360,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":125360,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:24:50] local.INFO: TCP Data received {"connection_id":125360,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125360,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:24:50] local.INFO: Processing buffer {"connection_id":125360,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:24:50] local.INFO: IMEI packet received {"connection_id":125360,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":125360,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:24:51] local.INFO: TCP Data received {"connection_id":125360,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f4081fac0012d0b130007029fc00003013422..."} 
[2026-07-08 12:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4081fac0012d0b130007029fc00003013422..."} 
[2026-07-08 12:24:51] local.INFO: Processing buffer {"connection_id":125360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4081fac0012d0b130007029fc00003013422..."} 
[2026-07-08 12:24:51] local.INFO: Packet analysis {"connection_id":125360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4081"} 
[2026-07-08 12:24:51] local.INFO: Extracted packet for processing {"connection_id":125360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4081"} 
[2026-07-08 12:24:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574307072001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783493688000,"timestamp_ms":1783493688000,"timestamp_seconds":1783493688,"priority":1,"record_length":96,"hex_timestamp":"0000019f4081fac0"} 
[2026-07-08 12:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12: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-07-08 12:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 12:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:24:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125360,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125360,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574307072001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574307072001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:24:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574307072001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":125360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450937,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:24:51] local.INFO: GPS data processed {"connection_id":125360,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:24:51] local.INFO: Acknowledgment sent {"connection_id":125360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:24:56] local.INFO: TCP Data received {"connection_id":125461,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:24:56] local.INFO: Processing buffer {"connection_id":125461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:24:56] local.INFO: IMEI packet received {"connection_id":125461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":125461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:25:00] local.INFO: TCP Data received {"connection_id":125362,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:25:00] local.INFO: Processing buffer {"connection_id":125362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:25:00] local.INFO: IMEI packet received {"connection_id":125362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":125362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:25:01] local.INFO: TCP Data received {"connection_id":125461,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:25:01] local.INFO: Processing buffer {"connection_id":125461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:25:01] local.INFO: IMEI packet received {"connection_id":125461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":125461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:25:01] local.INFO: TCP Data received {"connection_id":125362,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:25:01] local.INFO: Processing buffer {"connection_id":125362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:25:01] local.INFO: IMEI packet received {"connection_id":125362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":125362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:25:02] local.INFO: TCP Data received {"connection_id":125461,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f40807bf0012d7fa5c005afdf20001301422b..."} 
[2026-07-08 12:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40807bf0012d7fa5c005afdf20001301422b..."} 
[2026-07-08 12:25:02] local.INFO: Processing buffer {"connection_id":125461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40807bf0012d7fa5c005afdf20001301422b..."} 
[2026-07-08 12:25:02] local.INFO: Packet analysis {"connection_id":125461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4080"} 
[2026-07-08 12:25:02] local.INFO: Extracted packet for processing {"connection_id":125461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4080"} 
[2026-07-08 12:25:02] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95412000,"longitude_deg":76.3340224,"latitude_deg":9.5412,"altitude":19,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afdf20","is_valid_coordinates":true} 
[2026-07-08 12:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574356480001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532695647059968,"note":"Value kept but may cause issues"} 
[2026-07-08 12:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100911235072,"note":"Value kept but may cause issues"} 
[2026-07-08 12:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783493590000,"timestamp_ms":1783493590000,"timestamp_seconds":1783493590,"priority":1,"record_length":96,"hex_timestamp":"0000019f40807bf0"} 
[2026-07-08 12:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 12:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574356480001,"66":27343,"250":206,"85":12544,"24":0,"16":342532695647059968,"45":9197617100911235072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574356480001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:25:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:25:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532695647059968,"km_value":342532695647059.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100911235072,"description":"Unknown IO ID 45"} 
[2026-07-08 12:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574356480001,"power":27343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100911235072}} 
[2026-07-08 12:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":125461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:25:02] local.INFO: GPS data processed {"connection_id":125461,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:25:02] local.INFO: Acknowledgment sent {"connection_id":125461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:25:02] local.INFO: TCP Data received {"connection_id":125362,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:25:02] local.INFO: Processing buffer {"connection_id":125362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:25:02] local.INFO: IMEI packet received {"connection_id":125362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":125362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:25:05] local.INFO: TCP Data received {"connection_id":125362,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:25:05] local.INFO: Processing buffer {"connection_id":125362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:25:05] local.INFO: IMEI packet received {"connection_id":125362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":125362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:25:09] local.INFO: TCP Data received {"connection_id":125362,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40814ee0012d19ac80072093200031000724..."} 
[2026-07-08 12:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40814ee0012d19ac80072093200031000724..."} 
[2026-07-08 12:25:09] local.INFO: Processing buffer {"connection_id":125362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40814ee0012d19ac80072093200031000724..."} 
[2026-07-08 12:25:09] local.INFO: Packet analysis {"connection_id":125362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4081"} 
[2026-07-08 12:25:09] local.INFO: Extracted packet for processing {"connection_id":125362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4081"} 
[2026-07-08 12:25:09] local.INFO: GPS Element Parsed {"raw_longitude":756657280,"raw_latitude":119575328,"longitude_deg":75.665728,"latitude_deg":11.9575328,"altitude":49,"angle":7,"satellites":36,"speed":31,"hex_longitude":"2d19ac80","hex_latitude":"07209320","is_valid_coordinates":true} 
[2026-07-08 12:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574372096001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4730502749618176,"note":"Value kept but may cause issues"} 
[2026-07-08 12:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850135052529776640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783493644000,"timestamp_ms":1783493644000,"timestamp_seconds":1783493644,"priority":1,"record_length":96,"hex_timestamp":"0000019f40814ee0"} 
[2026-07-08 12:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-08 12:25: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-07-08 12:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574372096001,"66":14298,"121":206,"28":31744,"24":31,"16":4730502749618176,"45":1850135052529776640},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574372096001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:25:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:25:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4730502749618176,"km_value":4730502749618.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850135052529776640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574372096001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1850135052529776640}} 
[2026-07-08 12:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":125362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:25:09] local.INFO: GPS data processed {"connection_id":125362,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:25:09] local.INFO: Acknowledgment sent {"connection_id":125362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:25:22] local.INFO: TCP Data received {"connection_id":125360,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f4081fac0012d0b130007029fc00003013422..."} 
[2026-07-08 12:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4081fac0012d0b130007029fc00003013422..."} 
[2026-07-08 12:25:22] local.INFO: Processing buffer {"connection_id":125360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4081fac0012d0b130007029fc00003013422..."} 
[2026-07-08 12:25:22] local.INFO: Packet analysis {"connection_id":125360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4081"} 
[2026-07-08 12:25:22] local.INFO: Extracted packet for processing {"connection_id":125360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4081"} 
[2026-07-08 12:25:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574307072001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:25:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:25:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783493688000,"timestamp_ms":1783493688000,"timestamp_seconds":1783493688,"priority":1,"record_length":96,"hex_timestamp":"0000019f4081fac0"} 
[2026-07-08 12:25:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:25:22] 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-07-08 12: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 12:25:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:25:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125360,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125360,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:25:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574307072001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574307072001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:25:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:25:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574307072001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":125360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450940,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:25:22] local.INFO: GPS data processed {"connection_id":125360,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:25:22] local.INFO: Acknowledgment sent {"connection_id":125360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:25:33] local.INFO: TCP Data received {"connection_id":125461,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f40808b90012d7fa84005afde58001400692a..."} 
[2026-07-08 12:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40808b90012d7fa84005afde58001400692a..."} 
[2026-07-08 12:25:33] local.INFO: Processing buffer {"connection_id":125461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40808b90012d7fa84005afde58001400692a..."} 
[2026-07-08 12:25:33] local.INFO: Packet analysis {"connection_id":125461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4080"} 
[2026-07-08 12:25:33] local.INFO: Extracted packet for processing {"connection_id":125461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4080"} 
[2026-07-08 12:25:33] local.INFO: GPS Element Parsed {"raw_longitude":763340864,"raw_latitude":95411800,"longitude_deg":76.3340864,"latitude_deg":9.54118,"altitude":20,"angle":105,"satellites":42,"speed":3,"hex_longitude":"2d7fa840","hex_latitude":"05afde58","is_valid_coordinates":true} 
[2026-07-08 12:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574359040001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532712826929152,"note":"Value kept but may cause issues"} 
[2026-07-08 12:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944632111104,"note":"Value kept but may cause issues"} 
[2026-07-08 12:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783493594000,"timestamp_ms":1783493594000,"timestamp_seconds":1783493594,"priority":1,"record_length":96,"hex_timestamp":"0000019f40808b90"} 
[2026-07-08 12:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 12:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574359040001,"66":27158,"250":206,"85":12544,"24":3,"16":342532712826929152,"45":9197968944632111104},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574359040001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:25:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:25:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532712826929152,"km_value":342532712826929.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944632111104,"description":"Unknown IO ID 45"} 
[2026-07-08 12:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574359040001,"power":27158,"unknown_250":206,"unknown_85":12544,"ignition":3,"odometer":null,"unknown_45":9197968944632111104}} 
[2026-07-08 12:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":125461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:25:33] local.INFO: GPS data processed {"connection_id":125461,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:25:33] local.INFO: Acknowledgment sent {"connection_id":125461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:25:47] local.INFO: TCP Data received {"connection_id":126221,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126221,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:25:47] local.INFO: Processing buffer {"connection_id":126221,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:25:47] local.INFO: IMEI packet received {"connection_id":126221,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":126221,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:25:50] local.INFO: TCP Data received {"connection_id":126221,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126221,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:25:50] local.INFO: Processing buffer {"connection_id":126221,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:25:50] local.INFO: IMEI packet received {"connection_id":126221,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":126221,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:25:53] local.INFO: TCP Data received {"connection_id":126221,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4081fac0012d0b130007029fc00003013422..."} 
[2026-07-08 12:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4081fac0012d0b130007029fc00003013422..."} 
[2026-07-08 12:25:53] local.INFO: Processing buffer {"connection_id":126221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4081fac0012d0b130007029fc00003013422..."} 
[2026-07-08 12:25:53] local.INFO: Packet analysis {"connection_id":126221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4081"} 
[2026-07-08 12:25:53] local.INFO: Extracted packet for processing {"connection_id":126221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4081"} 
[2026-07-08 12:25:53] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 12:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574307072001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:25:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783493688000,"timestamp_ms":1783493688000,"timestamp_seconds":1783493688,"priority":1,"record_length":96,"hex_timestamp":"0000019f4081fac0"} 
[2026-07-08 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-07-08 12:25:53] 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-07-08 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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 12:25:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 12:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":126221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":126221,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":126221,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:25:53] 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-07-08 12:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574307072001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 12:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574307072001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:25:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574307072001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":126221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450942,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:25:53] local.INFO: GPS data processed {"connection_id":126221,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:25:53] local.INFO: Acknowledgment sent {"connection_id":126221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:25:56] local.INFO: TCP Data received {"connection_id":126222,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:25:56] local.INFO: Processing buffer {"connection_id":126222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:25:56] local.INFO: IMEI packet received {"connection_id":126222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":126222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:26:01] local.INFO: TCP Data received {"connection_id":126222,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:26:01] local.INFO: Processing buffer {"connection_id":126222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:26:01] local.INFO: IMEI packet received {"connection_id":126222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":126222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:26:02] local.INFO: TCP Data received {"connection_id":126222,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4080a300012d7faa0005afdda8001400642a..."} 
[2026-07-08 12:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4080a300012d7faa0005afdda8001400642a..."} 
[2026-07-08 12:26:02] local.INFO: Processing buffer {"connection_id":126222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4080a300012d7faa0005afdda8001400642a..."} 
[2026-07-08 12:26:02] local.INFO: Packet analysis {"connection_id":126222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4080"} 
[2026-07-08 12:26:02] local.INFO: Extracted packet for processing {"connection_id":126222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4080"} 
[2026-07-08 12:26:02] local.INFO: GPS Element Parsed {"raw_longitude":763341312,"raw_latitude":95411624,"longitude_deg":76.3341312,"latitude_deg":9.5411624,"altitude":20,"angle":100,"satellites":42,"speed":0,"hex_longitude":"2d7faa00","hex_latitude":"05afdda8","is_valid_coordinates":true} 
[2026-07-08 12:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574360064001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198672632073836544,"note":"Value kept but may cause issues"} 
[2026-07-08 12:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783493600000,"timestamp_ms":1783493600000,"timestamp_seconds":1783493600,"priority":1,"record_length":96,"hex_timestamp":"0000019f4080a300"} 
[2026-07-08 12:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:26: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-07-08 12: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":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-08 12:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574360064001,"66":27050,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9198672632073836544},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574360064001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:26:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:26:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198672632073836544,"description":"Unknown IO ID 45"} 
[2026-07-08 12:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574360064001,"power":27050,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198672632073836544}} 
[2026-07-08 12:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":126222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:26:02] local.INFO: GPS data processed {"connection_id":126222,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:26:02] local.INFO: Acknowledgment sent {"connection_id":126222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:26:24] local.INFO: TCP Data received {"connection_id":126221,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4081fac0012d0b130007029fc00003013422..."} 
[2026-07-08 12:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4081fac0012d0b130007029fc00003013422..."} 
[2026-07-08 12:26:24] local.INFO: Processing buffer {"connection_id":126221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4081fac0012d0b130007029fc00003013422..."} 
[2026-07-08 12:26:24] local.INFO: Packet analysis {"connection_id":126221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4081"} 
[2026-07-08 12:26:24] local.INFO: Extracted packet for processing {"connection_id":126221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4081"} 
[2026-07-08 12:26:24] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574307072001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783493688000,"timestamp_ms":1783493688000,"timestamp_seconds":1783493688,"priority":1,"record_length":96,"hex_timestamp":"0000019f4081fac0"} 
[2026-07-08 12:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:26:24] 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-07-08 12: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 12:26:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":126221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":126221,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":126221,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:26:24] 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-07-08 12:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574307072001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 12:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574307072001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:26:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574307072001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":126221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450944,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:26:24] local.INFO: GPS data processed {"connection_id":126221,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:26:24] local.INFO: Acknowledgment sent {"connection_id":126221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:26:32] local.INFO: TCP Data received {"connection_id":126222,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4080a300012d7faa0005afdda8001400642a..."} 
[2026-07-08 12:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4080a300012d7faa0005afdda8001400642a..."} 
[2026-07-08 12:26:32] local.INFO: Processing buffer {"connection_id":126222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4080a300012d7faa0005afdda8001400642a..."} 
[2026-07-08 12:26:32] local.INFO: Packet analysis {"connection_id":126222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4080"} 
[2026-07-08 12:26:32] local.INFO: Extracted packet for processing {"connection_id":126222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4080"} 
[2026-07-08 12:26:32] local.INFO: GPS Element Parsed {"raw_longitude":763341312,"raw_latitude":95411624,"longitude_deg":76.3341312,"latitude_deg":9.5411624,"altitude":20,"angle":100,"satellites":42,"speed":0,"hex_longitude":"2d7faa00","hex_latitude":"05afdda8","is_valid_coordinates":true} 
[2026-07-08 12:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574360064001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198672632073836544,"note":"Value kept but may cause issues"} 
[2026-07-08 12:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783493600000,"timestamp_ms":1783493600000,"timestamp_seconds":1783493600,"priority":1,"record_length":96,"hex_timestamp":"0000019f4080a300"} 
[2026-07-08 12:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12: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":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-08 12:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574360064001,"66":27050,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9198672632073836544},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574360064001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:26:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:26:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198672632073836544,"description":"Unknown IO ID 45"} 
[2026-07-08 12:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574360064001,"power":27050,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198672632073836544}} 
[2026-07-08 12:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":126222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:26:32] local.INFO: GPS data processed {"connection_id":126222,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:26:32] local.INFO: Acknowledgment sent {"connection_id":126222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:26:50] local.INFO: TCP Data received {"connection_id":125462,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125462,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:26:50] local.INFO: Processing buffer {"connection_id":125462,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:26:50] local.INFO: IMEI packet received {"connection_id":125462,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":125462,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:26:50] local.INFO: TCP Data received {"connection_id":126223,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:26:50] local.INFO: Processing buffer {"connection_id":126223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:26:50] local.INFO: IMEI packet received {"connection_id":126223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":126223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:26:55] local.INFO: TCP Data received {"connection_id":125462,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125462,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:26:55] local.INFO: Processing buffer {"connection_id":125462,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:26:55] local.INFO: IMEI packet received {"connection_id":125462,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":125462,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:26:55] local.INFO: TCP Data received {"connection_id":126223,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:26:55] local.INFO: Processing buffer {"connection_id":126223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:26:55] local.INFO: IMEI packet received {"connection_id":126223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":126223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:26:56] local.INFO: TCP Data received {"connection_id":125462,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f4081fac0012d0b130007029fc00003013422..."} 
[2026-07-08 12:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4081fac0012d0b130007029fc00003013422..."} 
[2026-07-08 12:26:56] local.INFO: Processing buffer {"connection_id":125462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4081fac0012d0b130007029fc00003013422..."} 
[2026-07-08 12:26:56] local.INFO: Packet analysis {"connection_id":125462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4081"} 
[2026-07-08 12:26:56] local.INFO: Extracted packet for processing {"connection_id":125462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4081"} 
[2026-07-08 12:26:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574307072001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783493688000,"timestamp_ms":1783493688000,"timestamp_seconds":1783493688,"priority":1,"record_length":96,"hex_timestamp":"0000019f4081fac0"} 
[2026-07-08 12:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:26:56] 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-07-08 12:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 12:26:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:26:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":125462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":125462,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":125462,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574307072001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574307072001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:26:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574307072001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":125462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450946,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:26:56] local.INFO: GPS data processed {"connection_id":125462,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:26:56] local.INFO: Acknowledgment sent {"connection_id":125462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:26:56] local.INFO: TCP Data received {"connection_id":126223,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4082d580012d1a2d400720d7b8004000e924..."} 
[2026-07-08 12:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4082d580012d1a2d400720d7b8004000e924..."} 
[2026-07-08 12:26:56] local.INFO: Processing buffer {"connection_id":126223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4082d580012d1a2d400720d7b8004000e924..."} 
[2026-07-08 12:26:56] local.INFO: Packet analysis {"connection_id":126223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4082"} 
[2026-07-08 12:26:56] local.INFO: Extracted packet for processing {"connection_id":126223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4082"} 
[2026-07-08 12:26:56] local.INFO: GPS Element Parsed {"raw_longitude":756690240,"raw_latitude":119592888,"longitude_deg":75.669024,"latitude_deg":11.9592888,"altitude":64,"angle":233,"satellites":36,"speed":4,"hex_longitude":"2d1a2d40","hex_latitude":"0720d7b8","is_valid_coordinates":true} 
[2026-07-08 12:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574398208001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4732444074835968,"note":"Value kept but may cause issues"} 
[2026-07-08 12:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1886304587042256896,"note":"Value kept but may cause issues"} 
[2026-07-08 12:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783493744000,"timestamp_ms":1783493744000,"timestamp_seconds":1783493744,"priority":1,"record_length":96,"hex_timestamp":"0000019f4082d580"} 
[2026-07-08 12:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-08 12:26:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:26:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":126223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":126223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":126223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574398208001,"66":14461,"50":206,"28":31744,"24":4,"16":4732444074835968,"45":1886304587042256896},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-07-08 12:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574398208001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:26:56] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-08 12:26:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4732444074835968,"km_value":4732444074835.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1886304587042256896,"description":"Unknown IO ID 45"} 
[2026-07-08 12:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574398208001,"power":14461,"unknown_50":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1886304587042256896}} 
[2026-07-08 12:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":126223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:26:56] local.INFO: GPS data processed {"connection_id":126223,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:26:56] local.INFO: Acknowledgment sent {"connection_id":126223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:26:56] local.INFO: TCP Data received {"connection_id":125364,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:26:56] local.INFO: Processing buffer {"connection_id":125364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:26:56] local.INFO: IMEI packet received {"connection_id":125364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":125364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:26:57] local.INFO: TCP Data received {"connection_id":125364,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:26:57] local.INFO: Processing buffer {"connection_id":125364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:26:57] local.INFO: IMEI packet received {"connection_id":125364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":125364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:27:00] local.INFO: TCP Data received {"connection_id":125462,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f4081fac0012d0b130007029fc00003013422..."} 
[2026-07-08 12:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4081fac0012d0b130007029fc00003013422..."} 
[2026-07-08 12:27:00] local.INFO: Processing buffer {"connection_id":125462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4081fac0012d0b130007029fc00003013422..."} 
[2026-07-08 12:27:00] local.INFO: Packet analysis {"connection_id":125462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4081"} 
[2026-07-08 12:27:00] local.INFO: Extracted packet for processing {"connection_id":125462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4081"} 
[2026-07-08 12:27:00] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574307072001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:27:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:27:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783493688000,"timestamp_ms":1783493688000,"timestamp_seconds":1783493688,"priority":1,"record_length":96,"hex_timestamp":"0000019f4081fac0"} 
[2026-07-08 12:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:27:00] 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-07-08 12:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 12:27:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:27:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125462,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125462,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:27:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574307072001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574307072001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:27:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:27:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574307072001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":125462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450948,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:27:01] local.INFO: GPS data processed {"connection_id":125462,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:27:01] local.INFO: Acknowledgment sent {"connection_id":125462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:27:01] local.INFO: TCP Data received {"connection_id":125364,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:27:01] local.INFO: Processing buffer {"connection_id":125364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:27:01] local.INFO: IMEI packet received {"connection_id":125364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":125364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:27:01] local.INFO: TCP Data received {"connection_id":126224,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126224,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:27:01] local.INFO: Processing buffer {"connection_id":126224,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:27:01] local.INFO: IMEI packet received {"connection_id":126224,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 12:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":126224,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:27:02] local.INFO: TCP Data received {"connection_id":125364,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f40835e38012d7fac0005afdce80016006426..."} 
[2026-07-08 12:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40835e38012d7fac0005afdce80016006426..."} 
[2026-07-08 12:27:02] local.INFO: Processing buffer {"connection_id":125364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40835e38012d7fac0005afdce80016006426..."} 
[2026-07-08 12:27:02] local.INFO: Packet analysis {"connection_id":125364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4083"} 
[2026-07-08 12:27:02] local.INFO: Extracted packet for processing {"connection_id":125364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4083"} 
[2026-07-08 12:27:02] local.INFO: GPS Element Parsed {"raw_longitude":763341824,"raw_latitude":95411432,"longitude_deg":76.3341824,"latitude_deg":9.5411432,"altitude":22,"angle":100,"satellites":38,"speed":0,"hex_longitude":"2d7fac00","hex_latitude":"05afdce8","is_valid_coordinates":true} 
[2026-07-08 12:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574361600001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199165213283035136,"note":"Value kept but may cause issues"} 
[2026-07-08 12:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783493779000,"timestamp_ms":1783493779000,"timestamp_seconds":1783493779,"priority":1,"record_length":96,"hex_timestamp":"0000019f40835e38"} 
[2026-07-08 12:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-07-08 12:27:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:27:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574361600001,"66":26408,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9199165213283035136},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574361600001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:27:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:27:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199165213283035136,"description":"Unknown IO ID 45"} 
[2026-07-08 12:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574361600001,"power":26408,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199165213283035136}} 
[2026-07-08 12:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":125364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:27:02] local.INFO: GPS data processed {"connection_id":125364,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:27:02] local.INFO: Acknowledgment sent {"connection_id":125364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:27:28] local.INFO: TCP Data received {"connection_id":126223,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4083b040012d19c7800720a3d80037010625..."} 
[2026-07-08 12:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4083b040012d19c7800720a3d80037010625..."} 
[2026-07-08 12:27:28] local.INFO: Processing buffer {"connection_id":126223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4083b040012d19c7800720a3d80037010625..."} 
[2026-07-08 12:27:28] local.INFO: Packet analysis {"connection_id":126223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4083"} 
[2026-07-08 12:27:28] local.INFO: Extracted packet for processing {"connection_id":126223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4083"} 
[2026-07-08 12:27:28] local.INFO: GPS Element Parsed {"raw_longitude":756664192,"raw_latitude":119579608,"longitude_deg":75.6664192,"latitude_deg":11.9579608,"altitude":55,"angle":262,"satellites":37,"speed":19,"hex_longitude":"2d19c780","hex_latitude":"0720a3d8","is_valid_coordinates":true} 
[2026-07-08 12:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574412544001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4733882888880128,"note":"Value kept but may cause issues"} 
[2026-07-08 12:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858086720623620096,"note":"Value kept but may cause issues"} 
[2026-07-08 12:27:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783493800000,"timestamp_ms":1783493800000,"timestamp_seconds":1783493800,"priority":1,"record_length":96,"hex_timestamp":"0000019f4083b040"} 
[2026-07-08 12:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:27: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-07-08 12: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-07-08 12:27:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:27:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":126223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":126223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":126223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574412544001,"66":13200,"121":206,"28":31744,"24":19,"16":4733882888880128,"45":1858086720623620096},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574412544001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:27:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:27:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4733882888880128,"km_value":4733882888880.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858086720623620096,"description":"Unknown IO ID 45"} 
[2026-07-08 12:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574412544001,"power":13200,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1858086720623620096}} 
[2026-07-08 12:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":126223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:27:28] local.INFO: GPS data processed {"connection_id":126223,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:27:28] local.INFO: Acknowledgment sent {"connection_id":126223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:27:33] local.INFO: TCP Data received {"connection_id":125364,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f408371c0012d7fa4c005afdb90001600f928..."} 
[2026-07-08 12:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408371c0012d7fa4c005afdb90001600f928..."} 
[2026-07-08 12:27:33] local.INFO: Processing buffer {"connection_id":125364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408371c0012d7fa4c005afdb90001600f928..."} 
[2026-07-08 12:27:33] local.INFO: Packet analysis {"connection_id":125364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4083"} 
[2026-07-08 12:27:33] local.INFO: Extracted packet for processing {"connection_id":125364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4083"} 
[2026-07-08 12:27:33] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95411088,"longitude_deg":76.3339968,"latitude_deg":9.5411088,"altitude":22,"angle":249,"satellites":40,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afdb90","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574407424001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199728163236407296,"note":"Value kept but may cause issues"} 
[2026-07-08 12:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783493784000,"timestamp_ms":1783493784000,"timestamp_seconds":1783493784,"priority":1,"record_length":96,"hex_timestamp":"0000019f408371c0"} 
[2026-07-08 12:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-08 12:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574407424001,"66":26267,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9199728163236407296},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574407424001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:27:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:27:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199728163236407296,"description":"Unknown IO ID 45"} 
[2026-07-08 12:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574407424001,"power":26267,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199728163236407296}} 
[2026-07-08 12:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":125364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:27:33] local.INFO: GPS data processed {"connection_id":125364,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:27:33] local.INFO: Acknowledgment sent {"connection_id":125364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:27:45] local.INFO: TCP Data received {"connection_id":125365,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125365,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:27:45] local.INFO: Processing buffer {"connection_id":125365,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:27:45] local.INFO: IMEI packet received {"connection_id":125365,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":125365,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:27:50] local.INFO: TCP Data received {"connection_id":125365,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125365,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:27:50] local.INFO: Processing buffer {"connection_id":125365,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:27:50] local.INFO: IMEI packet received {"connection_id":125365,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":125365,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:27:51] local.INFO: TCP Data received {"connection_id":125365,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4081fac0012d0b130007029fc00003013422..."} 
[2026-07-08 12:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4081fac0012d0b130007029fc00003013422..."} 
[2026-07-08 12:27:51] local.INFO: Processing buffer {"connection_id":125365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4081fac0012d0b130007029fc00003013422..."} 
[2026-07-08 12:27:51] local.INFO: Packet analysis {"connection_id":125365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4081"} 
[2026-07-08 12:27:51] local.INFO: Extracted packet for processing {"connection_id":125365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4081"} 
[2026-07-08 12:27:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574307072001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783493688000,"timestamp_ms":1783493688000,"timestamp_seconds":1783493688,"priority":1,"record_length":96,"hex_timestamp":"0000019f4081fac0"} 
[2026-07-08 12:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:27: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-07-08 12:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 12:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125365,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125365,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574307072001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574307072001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:27:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574307072001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":125365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450952,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:27:51] local.INFO: GPS data processed {"connection_id":125365,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:27:51] local.INFO: Acknowledgment sent {"connection_id":125365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:27:56] local.INFO: TCP Data received {"connection_id":127477,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:27:56] local.INFO: Processing buffer {"connection_id":127477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:27:56] local.INFO: IMEI packet received {"connection_id":127477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":127477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:28:01] local.INFO: TCP Data received {"connection_id":127477,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:28:01] local.INFO: Processing buffer {"connection_id":127477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:28:01] local.INFO: IMEI packet received {"connection_id":127477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":127477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:28:01] local.INFO: TCP Data received {"connection_id":126225,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:28:01] local.INFO: Processing buffer {"connection_id":126225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:28:01] local.INFO: IMEI packet received {"connection_id":126225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":126225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:28:02] local.INFO: TCP Data received {"connection_id":127477,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4083a488012d7fa4c005afdb90001600f929..."} 
[2026-07-08 12:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4083a488012d7fa4c005afdb90001600f929..."} 
[2026-07-08 12:28:02] local.INFO: Processing buffer {"connection_id":127477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4083a488012d7fa4c005afdb90001600f929..."} 
[2026-07-08 12:28:02] local.INFO: Packet analysis {"connection_id":127477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4083"} 
[2026-07-08 12:28:02] local.INFO: Extracted packet for processing {"connection_id":127477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4083"} 
[2026-07-08 12:28:02] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95411088,"longitude_deg":76.3339968,"latitude_deg":9.5411088,"altitude":22,"angle":249,"satellites":41,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afdb90","is_valid_coordinates":true} 
[2026-07-08 12:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574408704001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469655166976,"note":"Value kept but may cause issues"} 
[2026-07-08 12:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783493797000,"timestamp_ms":1783493797000,"timestamp_seconds":1783493797,"priority":1,"record_length":96,"hex_timestamp":"0000019f4083a488"} 
[2026-07-08 12:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:28: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-07-08 12: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-08 12:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574408704001,"66":26158,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197687469655166976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574408704001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:28:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:28:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469655166976,"description":"Unknown IO ID 45"} 
[2026-07-08 12:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574408704001,"power":26158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469655166976}} 
[2026-07-08 12:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":127477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:28:02] local.INFO: GPS data processed {"connection_id":127477,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:28:02] local.INFO: Acknowledgment sent {"connection_id":127477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:28:03] local.INFO: TCP Data received {"connection_id":126225,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:28:03] local.INFO: Processing buffer {"connection_id":126225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:28:03] local.INFO: IMEI packet received {"connection_id":126225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":126225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:28:05] local.INFO: TCP Data received {"connection_id":126225,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4083b810012d19c3400720a4380037011825..."} 
[2026-07-08 12:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4083b810012d19c3400720a4380037011825..."} 
[2026-07-08 12:28:05] local.INFO: Processing buffer {"connection_id":126225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4083b810012d19c3400720a4380037011825..."} 
[2026-07-08 12:28:05] local.INFO: Packet analysis {"connection_id":126225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4083"} 
[2026-07-08 12:28:05] local.INFO: Extracted packet for processing {"connection_id":126225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4083"} 
[2026-07-08 12:28:05] local.INFO: GPS Element Parsed {"raw_longitude":756663104,"raw_latitude":119579704,"longitude_deg":75.6663104,"latitude_deg":11.9579704,"altitude":55,"angle":280,"satellites":37,"speed":21,"hex_longitude":"2d19c340","hex_latitude":"0720a438","is_valid_coordinates":true} 
[2026-07-08 12:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574412800001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4733934428487680,"note":"Value kept but may cause issues"} 
[2026-07-08 12:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857594139414353920,"note":"Value kept but may cause issues"} 
[2026-07-08 12:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783493802000,"timestamp_ms":1783493802000,"timestamp_seconds":1783493802,"priority":1,"record_length":96,"hex_timestamp":"0000019f4083b810"} 
[2026-07-08 12:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-07-08 12:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574412800001,"66":14450,"121":206,"28":31744,"24":21,"16":4733934428487680,"45":1857594139414353920},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574412800001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:28:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:28:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4733934428487680,"km_value":4733934428487.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857594139414353920,"description":"Unknown IO ID 45"} 
[2026-07-08 12:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574412800001,"power":14450,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1857594139414353920}} 
[2026-07-08 12:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":126225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:28:05] local.INFO: GPS data processed {"connection_id":126225,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:28:05] local.INFO: Acknowledgment sent {"connection_id":126225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:28:22] local.INFO: TCP Data received {"connection_id":125365,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4081fac0012d0b130007029fc00003013422..."} 
[2026-07-08 12:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4081fac0012d0b130007029fc00003013422..."} 
[2026-07-08 12:28:22] local.INFO: Processing buffer {"connection_id":125365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4081fac0012d0b130007029fc00003013422..."} 
[2026-07-08 12:28:22] local.INFO: Packet analysis {"connection_id":125365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4081"} 
[2026-07-08 12:28:22] local.INFO: Extracted packet for processing {"connection_id":125365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4081"} 
[2026-07-08 12:28:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574307072001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783493688000,"timestamp_ms":1783493688000,"timestamp_seconds":1783493688,"priority":1,"record_length":96,"hex_timestamp":"0000019f4081fac0"} 
[2026-07-08 12:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:28:22] 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-07-08 12: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 12:28:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125365,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125365,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574307072001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574307072001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:28:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574307072001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":125365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450955,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:28:22] local.INFO: GPS data processed {"connection_id":125365,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:28:22] local.INFO: Acknowledgment sent {"connection_id":125365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:28:35] local.INFO: TCP Data received {"connection_id":127477,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4083a488012d7fa4c005afdb90001600f929..."} 
[2026-07-08 12:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4083a488012d7fa4c005afdb90001600f929..."} 
[2026-07-08 12:28:35] local.INFO: Processing buffer {"connection_id":127477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4083a488012d7fa4c005afdb90001600f929..."} 
[2026-07-08 12:28:35] local.INFO: Packet analysis {"connection_id":127477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4083"} 
[2026-07-08 12:28:35] local.INFO: Extracted packet for processing {"connection_id":127477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4083"} 
[2026-07-08 12:28:35] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95411088,"longitude_deg":76.3339968,"latitude_deg":9.5411088,"altitude":22,"angle":249,"satellites":41,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afdb90","is_valid_coordinates":true} 
[2026-07-08 12:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574408704001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469655166976,"note":"Value kept but may cause issues"} 
[2026-07-08 12:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783493797000,"timestamp_ms":1783493797000,"timestamp_seconds":1783493797,"priority":1,"record_length":96,"hex_timestamp":"0000019f4083a488"} 
[2026-07-08 12:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-08 12:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":127477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":127477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":127477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574408704001,"66":26158,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197687469655166976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574408704001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:28:35] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:28:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469655166976,"description":"Unknown IO ID 45"} 
[2026-07-08 12:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574408704001,"power":26158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469655166976}} 
[2026-07-08 12:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":127477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:28:35] local.INFO: GPS data processed {"connection_id":127477,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:28:35] local.INFO: Acknowledgment sent {"connection_id":127477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:28:36] local.INFO: TCP Data received {"connection_id":126225,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4083c3c8012d19bd800720a6780037012c22..."} 
[2026-07-08 12:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4083c3c8012d19bd800720a6780037012c22..."} 
[2026-07-08 12:28:36] local.INFO: Processing buffer {"connection_id":126225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4083c3c8012d19bd800720a6780037012c22..."} 
[2026-07-08 12:28:36] local.INFO: Packet analysis {"connection_id":126225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4083"} 
[2026-07-08 12:28:36] local.INFO: Extracted packet for processing {"connection_id":126225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4083"} 
[2026-07-08 12:28:36] local.INFO: GPS Element Parsed {"raw_longitude":756661632,"raw_latitude":119580280,"longitude_deg":75.6661632,"latitude_deg":11.958028,"altitude":55,"angle":300,"satellites":34,"speed":19,"hex_longitude":"2d19bd80","hex_latitude":"0720a678","is_valid_coordinates":true} 
[2026-07-08 12:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574413312001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4734011737899008,"note":"Value kept but may cause issues"} 
[2026-07-08 12:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856397870763358208,"note":"Value kept but may cause issues"} 
[2026-07-08 12:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783493805000,"timestamp_ms":1783493805000,"timestamp_seconds":1783493805,"priority":1,"record_length":96,"hex_timestamp":"0000019f4083c3c8"} 
[2026-07-08 12:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-08 12:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574413312001,"66":13319,"121":206,"28":31744,"24":19,"16":4734011737899008,"45":1856397870763358208},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574413312001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:28:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:28:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4734011737899008,"km_value":4734011737899.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856397870763358208,"description":"Unknown IO ID 45"} 
[2026-07-08 12:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574413312001,"power":13319,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1856397870763358208}} 
[2026-07-08 12:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":126225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:28:36] local.INFO: GPS data processed {"connection_id":126225,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:28:36] local.INFO: Acknowledgment sent {"connection_id":126225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:28:45] local.INFO: TCP Data received {"connection_id":125366,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125366,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:28:45] local.INFO: Processing buffer {"connection_id":125366,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:28:45] local.INFO: IMEI packet received {"connection_id":125366,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":125366,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:28:50] local.INFO: TCP Data received {"connection_id":125366,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125366,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:28:50] local.INFO: Processing buffer {"connection_id":125366,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:28:50] local.INFO: IMEI packet received {"connection_id":125366,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":125366,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:28:51] local.INFO: TCP Data received {"connection_id":125366,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4081fac0012d0b130007029fc00003013422..."} 
[2026-07-08 12:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4081fac0012d0b130007029fc00003013422..."} 
[2026-07-08 12:28:51] local.INFO: Processing buffer {"connection_id":125366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4081fac0012d0b130007029fc00003013422..."} 
[2026-07-08 12:28:51] local.INFO: Packet analysis {"connection_id":125366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4081"} 
[2026-07-08 12:28:51] local.INFO: Extracted packet for processing {"connection_id":125366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4081"} 
[2026-07-08 12:28:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574307072001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783493688000,"timestamp_ms":1783493688000,"timestamp_seconds":1783493688,"priority":1,"record_length":96,"hex_timestamp":"0000019f4081fac0"} 
[2026-07-08 12:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:28: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-07-08 12:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 12:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125366,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125366,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574307072001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574307072001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:28:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574307072001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":125366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450958,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:28:51] local.INFO: GPS data processed {"connection_id":125366,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:28:51] local.INFO: Acknowledgment sent {"connection_id":125366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:28:56] local.INFO: TCP Data received {"connection_id":125367,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:28:56] local.INFO: Processing buffer {"connection_id":125367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:28:56] local.INFO: IMEI packet received {"connection_id":125367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":125367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:29:00] local.INFO: TCP Data received {"connection_id":125368,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:29:00] local.INFO: Processing buffer {"connection_id":125368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:29:00] local.INFO: IMEI packet received {"connection_id":125368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":125368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:29:00] local.INFO: TCP Data received {"connection_id":125368,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:29:00] local.INFO: Processing buffer {"connection_id":125368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:29:00] local.INFO: IMEI packet received {"connection_id":125368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":125368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:29:01] local.INFO: TCP Data received {"connection_id":125367,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:29:01] local.INFO: Processing buffer {"connection_id":125367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:29:01] local.INFO: IMEI packet received {"connection_id":125367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":125367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:29:02] local.INFO: TCP Data received {"connection_id":125367,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4083a488012d7fa4c005afdb90001600f929..."} 
[2026-07-08 12:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4083a488012d7fa4c005afdb90001600f929..."} 
[2026-07-08 12:29:02] local.INFO: Processing buffer {"connection_id":125367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4083a488012d7fa4c005afdb90001600f929..."} 
[2026-07-08 12:29:02] local.INFO: Packet analysis {"connection_id":125367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4083"} 
[2026-07-08 12:29:02] local.INFO: Extracted packet for processing {"connection_id":125367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4083"} 
[2026-07-08 12:29:02] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95411088,"longitude_deg":76.3339968,"latitude_deg":9.5411088,"altitude":22,"angle":249,"satellites":41,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afdb90","is_valid_coordinates":true} 
[2026-07-08 12:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574408704001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469655166976,"note":"Value kept but may cause issues"} 
[2026-07-08 12:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783493797000,"timestamp_ms":1783493797000,"timestamp_seconds":1783493797,"priority":1,"record_length":96,"hex_timestamp":"0000019f4083a488"} 
[2026-07-08 12:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12: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-07-08 12: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-08 12:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574408704001,"66":26158,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197687469655166976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574408704001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:29:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:29:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469655166976,"description":"Unknown IO ID 45"} 
[2026-07-08 12:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574408704001,"power":26158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469655166976}} 
[2026-07-08 12:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":125367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:29:02] local.INFO: GPS data processed {"connection_id":125367,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:29:02] local.INFO: Acknowledgment sent {"connection_id":125367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:29:06] local.INFO: TCP Data received {"connection_id":125368,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:29:06] local.INFO: Processing buffer {"connection_id":125368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:29:06] local.INFO: IMEI packet received {"connection_id":125368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":125368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:29:07] local.INFO: TCP Data received {"connection_id":125368,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4084f478012d18f1000720db500039013c21..."} 
[2026-07-08 12:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4084f478012d18f1000720db500039013c21..."} 
[2026-07-08 12:29:07] local.INFO: Processing buffer {"connection_id":125368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4084f478012d18f1000720db500039013c21..."} 
[2026-07-08 12:29:07] local.INFO: Packet analysis {"connection_id":125368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4084"} 
[2026-07-08 12:29:07] local.INFO: Extracted packet for processing {"connection_id":125368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4084"} 
[2026-07-08 12:29:07] local.INFO: GPS Element Parsed {"raw_longitude":756609280,"raw_latitude":119593808,"longitude_deg":75.660928,"latitude_deg":11.9593808,"altitude":57,"angle":316,"satellites":33,"speed":29,"hex_longitude":"2d18f100","hex_latitude":"0720db50","is_valid_coordinates":true} 
[2026-07-08 12:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574431232001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4736691797491712,"note":"Value kept but may cause issues"} 
[2026-07-08 12:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1803410206400149504,"note":"Value kept but may cause issues"} 
[2026-07-08 12:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783493883000,"timestamp_ms":1783493883000,"timestamp_seconds":1783493883,"priority":1,"record_length":96,"hex_timestamp":"0000019f4084f478"} 
[2026-07-08 12:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-08 12:29: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-07-08 12:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574431232001,"66":14461,"121":206,"28":31744,"24":29,"16":4736691797491712,"45":1803410206400149504},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574431232001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:29:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:29:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4736691797491712,"km_value":4736691797491.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1803410206400149504,"description":"Unknown IO ID 45"} 
[2026-07-08 12:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574431232001,"power":14461,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1803410206400149504}} 
[2026-07-08 12:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":125368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:29:07] local.INFO: GPS data processed {"connection_id":125368,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:29:07] local.INFO: Acknowledgment sent {"connection_id":125368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:29:22] local.INFO: TCP Data received {"connection_id":125366,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4081fac0012d0b130007029fc00003013422..."} 
[2026-07-08 12:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4081fac0012d0b130007029fc00003013422..."} 
[2026-07-08 12:29:22] local.INFO: Processing buffer {"connection_id":125366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4081fac0012d0b130007029fc00003013422..."} 
[2026-07-08 12:29:22] local.INFO: Packet analysis {"connection_id":125366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4081"} 
[2026-07-08 12:29:22] local.INFO: Extracted packet for processing {"connection_id":125366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4081"} 
[2026-07-08 12:29:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574307072001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783493688000,"timestamp_ms":1783493688000,"timestamp_seconds":1783493688,"priority":1,"record_length":96,"hex_timestamp":"0000019f4081fac0"} 
[2026-07-08 12:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:29:22] 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-07-08 12: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 12:29:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125366,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125366,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574307072001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574307072001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:29:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574307072001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":125366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450961,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:29:22] local.INFO: GPS data processed {"connection_id":125366,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:29:22] local.INFO: Acknowledgment sent {"connection_id":125366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:29:33] local.INFO: TCP Data received {"connection_id":125367,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4083a488012d7fa4c005afdb90001600f929..."} 
[2026-07-08 12:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4083a488012d7fa4c005afdb90001600f929..."} 
[2026-07-08 12:29:33] local.INFO: Processing buffer {"connection_id":125367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4083a488012d7fa4c005afdb90001600f929..."} 
[2026-07-08 12:29:33] local.INFO: Packet analysis {"connection_id":125367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4083"} 
[2026-07-08 12:29:33] local.INFO: Extracted packet for processing {"connection_id":125367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4083"} 
[2026-07-08 12:29:33] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95411088,"longitude_deg":76.3339968,"latitude_deg":9.5411088,"altitude":22,"angle":249,"satellites":41,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afdb90","is_valid_coordinates":true} 
[2026-07-08 12:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574408704001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469655166976,"note":"Value kept but may cause issues"} 
[2026-07-08 12:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783493797000,"timestamp_ms":1783493797000,"timestamp_seconds":1783493797,"priority":1,"record_length":96,"hex_timestamp":"0000019f4083a488"} 
[2026-07-08 12:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-08 12:29:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574408704001,"66":26158,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197687469655166976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574408704001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:29:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:29:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469655166976,"description":"Unknown IO ID 45"} 
[2026-07-08 12:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574408704001,"power":26158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469655166976}} 
[2026-07-08 12:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":125367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:29:33] local.INFO: GPS data processed {"connection_id":125367,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:29:33] local.INFO: Acknowledgment sent {"connection_id":125367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:29:39] local.INFO: TCP Data received {"connection_id":125368,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40850030012d18ec400720e280003a014820..."} 
[2026-07-08 12:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40850030012d18ec400720e280003a014820..."} 
[2026-07-08 12:29:39] local.INFO: Processing buffer {"connection_id":125368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40850030012d18ec400720e280003a014820..."} 
[2026-07-08 12:29:39] local.INFO: Packet analysis {"connection_id":125368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4085"} 
[2026-07-08 12:29:39] local.INFO: Extracted packet for processing {"connection_id":125368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4085"} 
[2026-07-08 12:29:39] local.INFO: GPS Element Parsed {"raw_longitude":756608064,"raw_latitude":119595648,"longitude_deg":75.6608064,"latitude_deg":11.9595648,"altitude":58,"angle":328,"satellites":32,"speed":29,"hex_longitude":"2d18ec40","hex_latitude":"0720e280","is_valid_coordinates":true} 
[2026-07-08 12:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574434048001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4736799171674112,"note":"Value kept but may cause issues"} 
[2026-07-08 12:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797217756913553408,"note":"Value kept but may cause issues"} 
[2026-07-08 12:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783493886000,"timestamp_ms":1783493886000,"timestamp_seconds":1783493886,"priority":1,"record_length":96,"hex_timestamp":"0000019f40850030"} 
[2026-07-08 12:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-08 12:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574434048001,"66":14396,"121":206,"28":31744,"24":29,"16":4736799171674112,"45":1797217756913553408},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574434048001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:29:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:29:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4736799171674112,"km_value":4736799171674.112,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797217756913553408,"description":"Unknown IO ID 45"} 
[2026-07-08 12:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574434048001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1797217756913553408}} 
[2026-07-08 12:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":125368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:29:39] local.INFO: GPS data processed {"connection_id":125368,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:29:39] local.INFO: Acknowledgment sent {"connection_id":125368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:29:45] local.INFO: TCP Data received {"connection_id":127478,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127478,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:29:45] local.INFO: Processing buffer {"connection_id":127478,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:29:45] local.INFO: IMEI packet received {"connection_id":127478,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":127478,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:29:50] local.INFO: TCP Data received {"connection_id":127478,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127478,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:29:50] local.INFO: Processing buffer {"connection_id":127478,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:29:50] local.INFO: IMEI packet received {"connection_id":127478,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":127478,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:29:51] local.INFO: TCP Data received {"connection_id":127478,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4081fac0012d0b130007029fc00003013422..."} 
[2026-07-08 12:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4081fac0012d0b130007029fc00003013422..."} 
[2026-07-08 12:29:51] local.INFO: Processing buffer {"connection_id":127478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4081fac0012d0b130007029fc00003013422..."} 
[2026-07-08 12:29:51] local.INFO: Packet analysis {"connection_id":127478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4081"} 
[2026-07-08 12:29:51] local.INFO: Extracted packet for processing {"connection_id":127478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4081"} 
[2026-07-08 12:29:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574307072001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783493688000,"timestamp_ms":1783493688000,"timestamp_seconds":1783493688,"priority":1,"record_length":96,"hex_timestamp":"0000019f4081fac0"} 
[2026-07-08 12:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:29: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-07-08 12:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 12:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:29:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127478,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127478,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574307072001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574307072001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:29:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574307072001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":127478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450964,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:29:51] local.INFO: GPS data processed {"connection_id":127478,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:29:51] local.INFO: Acknowledgment sent {"connection_id":127478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:30:00] local.INFO: TCP Data received {"connection_id":125465,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:30:00] local.INFO: Processing buffer {"connection_id":125465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:30:00] local.INFO: IMEI packet received {"connection_id":125465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":125465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:30:01] local.INFO: TCP Data received {"connection_id":126226,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:30:01] local.INFO: Processing buffer {"connection_id":126226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:30:01] local.INFO: IMEI packet received {"connection_id":126226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":126226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:30:06] local.INFO: TCP Data received {"connection_id":125465,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:30:06] local.INFO: Processing buffer {"connection_id":125465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:30:06] local.INFO: IMEI packet received {"connection_id":125465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":125465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:30:06] local.INFO: TCP Data received {"connection_id":126226,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:30:06] local.INFO: Processing buffer {"connection_id":126226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:30:06] local.INFO: IMEI packet received {"connection_id":126226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":126226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:30:07] local.INFO: TCP Data received {"connection_id":126226,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4083a488012d7fa4c005afdb90001600f929..."} 
[2026-07-08 12:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4083a488012d7fa4c005afdb90001600f929..."} 
[2026-07-08 12:30:07] local.INFO: Processing buffer {"connection_id":126226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4083a488012d7fa4c005afdb90001600f929..."} 
[2026-07-08 12:30:07] local.INFO: Packet analysis {"connection_id":126226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4083"} 
[2026-07-08 12:30:07] local.INFO: Extracted packet for processing {"connection_id":126226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4083"} 
[2026-07-08 12:30:07] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95411088,"longitude_deg":76.3339968,"latitude_deg":9.5411088,"altitude":22,"angle":249,"satellites":41,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afdb90","is_valid_coordinates":true} 
[2026-07-08 12:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574408704001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469655166976,"note":"Value kept but may cause issues"} 
[2026-07-08 12:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783493797000,"timestamp_ms":1783493797000,"timestamp_seconds":1783493797,"priority":1,"record_length":96,"hex_timestamp":"0000019f4083a488"} 
[2026-07-08 12:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-08 12:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574408704001,"66":26158,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197687469655166976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574408704001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:30:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:30:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469655166976,"description":"Unknown IO ID 45"} 
[2026-07-08 12:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574408704001,"power":26158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469655166976}} 
[2026-07-08 12:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":126226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:30:07] local.INFO: GPS data processed {"connection_id":126226,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:30:07] local.INFO: Acknowledgment sent {"connection_id":126226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:30:07] local.INFO: TCP Data received {"connection_id":125465,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4085d708012d18ac8007217190004c013923..."} 
[2026-07-08 12:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4085d708012d18ac8007217190004c013923..."} 
[2026-07-08 12:30:07] local.INFO: Processing buffer {"connection_id":125465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4085d708012d18ac8007217190004c013923..."} 
[2026-07-08 12:30:07] local.INFO: Packet analysis {"connection_id":125465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4085"} 
[2026-07-08 12:30:07] local.INFO: Extracted packet for processing {"connection_id":125465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4085"} 
[2026-07-08 12:30:07] local.INFO: GPS Element Parsed {"raw_longitude":756591744,"raw_latitude":119632272,"longitude_deg":75.6591744,"latitude_deg":11.9632272,"altitude":76,"angle":313,"satellites":35,"speed":28,"hex_longitude":"2d18ac80","hex_latitude":"07217190","is_valid_coordinates":true} 
[2026-07-08 12:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574446080001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738804921401344,"note":"Value kept but may cause issues"} 
[2026-07-08 12:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783566220551204864,"note":"Value kept but may cause issues"} 
[2026-07-08 12:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783493941000,"timestamp_ms":1783493941000,"timestamp_seconds":1783493941,"priority":1,"record_length":96,"hex_timestamp":"0000019f4085d708"} 
[2026-07-08 12:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 12:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574446080001,"66":13559,"121":206,"28":31744,"24":28,"16":4738804921401344,"45":1783566220551204864},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574446080001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:30:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:30:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738804921401344,"km_value":4738804921401.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783566220551204864,"description":"Unknown IO ID 45"} 
[2026-07-08 12:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574446080001,"power":13559,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1783566220551204864}} 
[2026-07-08 12:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":125465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:30:07] local.INFO: GPS data processed {"connection_id":125465,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:30:07] local.INFO: Acknowledgment sent {"connection_id":125465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:30:11] local.INFO: TCP Data received {"connection_id":126226,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4083a488012d7fa4c005afdb90001600f929..."} 
[2026-07-08 12:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4083a488012d7fa4c005afdb90001600f929..."} 
[2026-07-08 12:30:11] local.INFO: Processing buffer {"connection_id":126226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4083a488012d7fa4c005afdb90001600f929..."} 
[2026-07-08 12:30:11] local.INFO: Packet analysis {"connection_id":126226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4083"} 
[2026-07-08 12:30:11] local.INFO: Extracted packet for processing {"connection_id":126226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4083"} 
[2026-07-08 12:30:11] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95411088,"longitude_deg":76.3339968,"latitude_deg":9.5411088,"altitude":22,"angle":249,"satellites":41,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afdb90","is_valid_coordinates":true} 
[2026-07-08 12:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574408704001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469655166976,"note":"Value kept but may cause issues"} 
[2026-07-08 12:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783493797000,"timestamp_ms":1783493797000,"timestamp_seconds":1783493797,"priority":1,"record_length":96,"hex_timestamp":"0000019f4083a488"} 
[2026-07-08 12:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-08 12:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574408704001,"66":26158,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197687469655166976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574408704001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:30:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:30:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469655166976,"description":"Unknown IO ID 45"} 
[2026-07-08 12:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574408704001,"power":26158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469655166976}} 
[2026-07-08 12:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":126226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:30:11] local.INFO: GPS data processed {"connection_id":126226,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:30:11] local.INFO: Acknowledgment sent {"connection_id":126226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:30:22] local.INFO: TCP Data received {"connection_id":127478,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f40869288012d0b130007029fc00003013423..."} 
[2026-07-08 12:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40869288012d0b130007029fc00003013423..."} 
[2026-07-08 12:30:22] local.INFO: Processing buffer {"connection_id":127478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40869288012d0b130007029fc00003013423..."} 
[2026-07-08 12:30:22] local.INFO: Packet analysis {"connection_id":127478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4086"} 
[2026-07-08 12:30:22] local.INFO: Extracted packet for processing {"connection_id":127478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4086"} 
[2026-07-08 12:30:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 12:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574384128001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783493989000,"timestamp_ms":1783493989000,"timestamp_seconds":1783493989,"priority":1,"record_length":96,"hex_timestamp":"0000019f40869288"} 
[2026-07-08 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-07-08 12:30:22] 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-07-08 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:30:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 12:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":127478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":127478,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":127478,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574384128001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574384128001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:30:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574384128001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":127478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450968,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:30:22] local.INFO: GPS data processed {"connection_id":127478,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:30:22] local.INFO: Acknowledgment sent {"connection_id":127478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:30:39] local.INFO: TCP Data received {"connection_id":125465,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4085ded8012d18a7c0072174a0004d012823..."} 
[2026-07-08 12:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4085ded8012d18a7c0072174a0004d012823..."} 
[2026-07-08 12:30:39] local.INFO: Processing buffer {"connection_id":125465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4085ded8012d18a7c0072174a0004d012823..."} 
[2026-07-08 12:30:39] local.INFO: Packet analysis {"connection_id":125465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4085"} 
[2026-07-08 12:30:39] local.INFO: Extracted packet for processing {"connection_id":125465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4085"} 
[2026-07-08 12:30:39] local.INFO: GPS Element Parsed {"raw_longitude":756590528,"raw_latitude":119633056,"longitude_deg":75.6590528,"latitude_deg":11.9633056,"altitude":77,"angle":296,"satellites":35,"speed":26,"hex_longitude":"2d18a7c0","hex_latitude":"072174a0","is_valid_coordinates":true} 
[2026-07-08 12:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574448896001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738873640878080,"note":"Value kept but may cause issues"} 
[2026-07-08 12:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777936721018720256,"note":"Value kept but may cause issues"} 
[2026-07-08 12:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783493943000,"timestamp_ms":1783493943000,"timestamp_seconds":1783493943,"priority":1,"record_length":96,"hex_timestamp":"0000019f4085ded8"} 
[2026-07-08 12:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-08 12:30:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:30:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574448896001,"66":13896,"121":206,"28":31744,"24":26,"16":4738873640878080,"45":1777936721018720256},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574448896001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:30:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:30:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738873640878080,"km_value":4738873640878.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777936721018720256,"description":"Unknown IO ID 45"} 
[2026-07-08 12:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574448896001,"power":13896,"unknown_121":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1777936721018720256}} 
[2026-07-08 12:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":125465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:30:39] local.INFO: GPS data processed {"connection_id":125465,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:30:39] local.INFO: Acknowledgment sent {"connection_id":125465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:30:45] local.INFO: TCP Data received {"connection_id":125466,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125466,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:30:45] local.INFO: Processing buffer {"connection_id":125466,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:30:45] local.INFO: IMEI packet received {"connection_id":125466,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":125466,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:30:50] local.INFO: TCP Data received {"connection_id":125466,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125466,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:30:50] local.INFO: Processing buffer {"connection_id":125466,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:30:50] local.INFO: IMEI packet received {"connection_id":125466,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":125466,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:30:51] local.INFO: TCP Data received {"connection_id":125466,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f40869288012d0b130007029fc00003013423..."} 
[2026-07-08 12:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40869288012d0b130007029fc00003013423..."} 
[2026-07-08 12:30:51] local.INFO: Processing buffer {"connection_id":125466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40869288012d0b130007029fc00003013423..."} 
[2026-07-08 12:30:51] local.INFO: Packet analysis {"connection_id":125466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4086"} 
[2026-07-08 12:30:51] local.INFO: Extracted packet for processing {"connection_id":125466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4086"} 
[2026-07-08 12:30:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574384128001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783493989000,"timestamp_ms":1783493989000,"timestamp_seconds":1783493989,"priority":1,"record_length":96,"hex_timestamp":"0000019f40869288"} 
[2026-07-08 12:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:30: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-07-08 12:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:30:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125466,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125466,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574384128001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574384128001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:30:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574384128001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":125466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450970,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:30:51] local.INFO: GPS data processed {"connection_id":125466,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:30:51] local.INFO: Acknowledgment sent {"connection_id":125466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:30:56] local.INFO: TCP Data received {"connection_id":125369,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:30:56] local.INFO: Processing buffer {"connection_id":125369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:30:56] local.INFO: IMEI packet received {"connection_id":125369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":125369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:31:00] local.INFO: TCP Data received {"connection_id":127481,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:31:00] local.INFO: Processing buffer {"connection_id":127481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:31:00] local.INFO: IMEI packet received {"connection_id":127481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":127481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:31:01] local.INFO: TCP Data received {"connection_id":125369,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:31:01] local.INFO: Processing buffer {"connection_id":125369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:31:01] local.INFO: IMEI packet received {"connection_id":125369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":125369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:31:02] local.INFO: TCP Data received {"connection_id":125369,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4083a488012d7fa4c005afdb90001600f929..."} 
[2026-07-08 12:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4083a488012d7fa4c005afdb90001600f929..."} 
[2026-07-08 12:31:02] local.INFO: Processing buffer {"connection_id":125369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4083a488012d7fa4c005afdb90001600f929..."} 
[2026-07-08 12:31:02] local.INFO: Packet analysis {"connection_id":125369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4083"} 
[2026-07-08 12:31:02] local.INFO: Extracted packet for processing {"connection_id":125369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4083"} 
[2026-07-08 12:31:02] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95411088,"longitude_deg":76.3339968,"latitude_deg":9.5411088,"altitude":22,"angle":249,"satellites":41,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afdb90","is_valid_coordinates":true} 
[2026-07-08 12:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574408704001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469655166976,"note":"Value kept but may cause issues"} 
[2026-07-08 12:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783493797000,"timestamp_ms":1783493797000,"timestamp_seconds":1783493797,"priority":1,"record_length":96,"hex_timestamp":"0000019f4083a488"} 
[2026-07-08 12:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:31: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-07-08 12:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-08 12:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574408704001,"66":26158,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197687469655166976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574408704001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:31:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:31:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469655166976,"description":"Unknown IO ID 45"} 
[2026-07-08 12:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574408704001,"power":26158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469655166976}} 
[2026-07-08 12:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":125369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:31:02] local.INFO: GPS data processed {"connection_id":125369,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:31:02] local.INFO: Acknowledgment sent {"connection_id":125369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:31:04] local.INFO: TCP Data received {"connection_id":127481,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:31:04] local.INFO: Processing buffer {"connection_id":127481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:31:04] local.INFO: IMEI packet received {"connection_id":127481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":127481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:31:05] local.INFO: TCP Data received {"connection_id":127481,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:31:05] local.INFO: Processing buffer {"connection_id":127481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:31:05] local.INFO: IMEI packet received {"connection_id":127481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":127481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:31:07] local.INFO: TCP Data received {"connection_id":127481,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4085ea90012d189f80072176f8004d011b21..."} 
[2026-07-08 12:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4085ea90012d189f80072176f8004d011b21..."} 
[2026-07-08 12:31:07] local.INFO: Processing buffer {"connection_id":127481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4085ea90012d189f80072176f8004d011b21..."} 
[2026-07-08 12:31:07] local.INFO: Packet analysis {"connection_id":127481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4085"} 
[2026-07-08 12:31:07] local.INFO: Extracted packet for processing {"connection_id":127481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4085"} 
[2026-07-08 12:31:07] local.INFO: GPS Element Parsed {"raw_longitude":756588416,"raw_latitude":119633656,"longitude_deg":75.6588416,"latitude_deg":11.9633656,"altitude":77,"angle":283,"satellites":33,"speed":29,"hex_longitude":"2d189f80","hex_latitude":"072176f8","is_valid_coordinates":true} 
[2026-07-08 12:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574449408001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738976720093184,"note":"Value kept but may cause issues"} 
[2026-07-08 12:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776599714879545344,"note":"Value kept but may cause issues"} 
[2026-07-08 12:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783493946000,"timestamp_ms":1783493946000,"timestamp_seconds":1783493946,"priority":1,"record_length":96,"hex_timestamp":"0000019f4085ea90"} 
[2026-07-08 12:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-07-08 12:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1116,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574449408001,"66":14113,"121":206,"28":31744,"24":29,"16":4738976720093184,"45":1776599714879545344},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574449408001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:31:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:31:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738976720093184,"km_value":4738976720093.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776599714879545344,"description":"Unknown IO ID 45"} 
[2026-07-08 12:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574449408001,"power":14113,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1776599714879545344}} 
[2026-07-08 12:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":127481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:31:07] local.INFO: GPS data processed {"connection_id":127481,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:31:07] local.INFO: Acknowledgment sent {"connection_id":127481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:31:08] local.INFO: TCP Data received {"connection_id":127481,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4085fa30012d18944007217b10004e012922..."} 
[2026-07-08 12:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4085fa30012d18944007217b10004e012922..."} 
[2026-07-08 12:31:08] local.INFO: Processing buffer {"connection_id":127481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4085fa30012d18944007217b10004e012922..."} 
[2026-07-08 12:31:08] local.INFO: Packet analysis {"connection_id":127481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4085"} 
[2026-07-08 12:31:08] local.INFO: Extracted packet for processing {"connection_id":127481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4085"} 
[2026-07-08 12:31:08] local.INFO: GPS Element Parsed {"raw_longitude":756585536,"raw_latitude":119634704,"longitude_deg":75.6585536,"latitude_deg":11.9634704,"altitude":78,"angle":297,"satellites":34,"speed":30,"hex_longitude":"2d189440","hex_latitude":"07217b10","is_valid_coordinates":true} 
[2026-07-08 12:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574450176001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4739122748981248,"note":"Value kept but may cause issues"} 
[2026-07-08 12:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774277546321836032,"note":"Value kept but may cause issues"} 
[2026-07-08 12:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783493950000,"timestamp_ms":1783493950000,"timestamp_seconds":1783493950,"priority":1,"record_length":96,"hex_timestamp":"0000019f4085fa30"} 
[2026-07-08 12:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-08 12:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":127481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":127481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":127481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574450176001,"66":12939,"121":206,"28":31744,"24":30,"16":4739122748981248,"45":1774277546321836032},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 12:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574450176001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:31:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 12:31:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4739122748981248,"km_value":4739122748981.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774277546321836032,"description":"Unknown IO ID 45"} 
[2026-07-08 12:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574450176001,"power":12939,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1774277546321836032}} 
[2026-07-08 12:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":127481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:31:08] local.INFO: GPS data processed {"connection_id":127481,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:31:08] local.INFO: Acknowledgment sent {"connection_id":127481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:31:22] local.INFO: TCP Data received {"connection_id":125466,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f40869288012d0b130007029fc00003013423..."} 
[2026-07-08 12:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40869288012d0b130007029fc00003013423..."} 
[2026-07-08 12:31:22] local.INFO: Processing buffer {"connection_id":125466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40869288012d0b130007029fc00003013423..."} 
[2026-07-08 12:31:22] local.INFO: Packet analysis {"connection_id":125466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4086"} 
[2026-07-08 12:31:22] local.INFO: Extracted packet for processing {"connection_id":125466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4086"} 
[2026-07-08 12:31:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574384128001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783493989000,"timestamp_ms":1783493989000,"timestamp_seconds":1783493989,"priority":1,"record_length":96,"hex_timestamp":"0000019f40869288"} 
[2026-07-08 12:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:31:22] 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-07-08 12: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125466,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125466,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574384128001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574384128001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:31:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574384128001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":125466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450974,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:31:23] local.INFO: GPS data processed {"connection_id":125466,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:31:23] local.INFO: Acknowledgment sent {"connection_id":125466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:31:33] local.INFO: TCP Data received {"connection_id":125369,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4083a488012d7fa4c005afdb90001600f929..."} 
[2026-07-08 12:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4083a488012d7fa4c005afdb90001600f929..."} 
[2026-07-08 12:31:33] local.INFO: Processing buffer {"connection_id":125369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4083a488012d7fa4c005afdb90001600f929..."} 
[2026-07-08 12:31:33] local.INFO: Packet analysis {"connection_id":125369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4083"} 
[2026-07-08 12:31:33] local.INFO: Extracted packet for processing {"connection_id":125369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4083"} 
[2026-07-08 12:31:33] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95411088,"longitude_deg":76.3339968,"latitude_deg":9.5411088,"altitude":22,"angle":249,"satellites":41,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afdb90","is_valid_coordinates":true} 
[2026-07-08 12:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574408704001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469655166976,"note":"Value kept but may cause issues"} 
[2026-07-08 12:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783493797000,"timestamp_ms":1783493797000,"timestamp_seconds":1783493797,"priority":1,"record_length":96,"hex_timestamp":"0000019f4083a488"} 
[2026-07-08 12:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-08 12:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:31:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574408704001,"66":26158,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197687469655166976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574408704001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:31:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:31:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469655166976,"description":"Unknown IO ID 45"} 
[2026-07-08 12:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574408704001,"power":26158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469655166976}} 
[2026-07-08 12:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":125369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:31:33] local.INFO: GPS data processed {"connection_id":125369,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:31:33] local.INFO: Acknowledgment sent {"connection_id":125369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:31:40] local.INFO: TCP Data received {"connection_id":127481,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40872ec8012d181c400721a9900051002b25..."} 
[2026-07-08 12:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40872ec8012d181c400721a9900051002b25..."} 
[2026-07-08 12:31:40] local.INFO: Processing buffer {"connection_id":127481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40872ec8012d181c400721a9900051002b25..."} 
[2026-07-08 12:31:40] local.INFO: Packet analysis {"connection_id":127481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4087"} 
[2026-07-08 12:31:40] local.INFO: Extracted packet for processing {"connection_id":127481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4087"} 
[2026-07-08 12:31:40] local.INFO: GPS Element Parsed {"raw_longitude":756554816,"raw_latitude":119646608,"longitude_deg":75.6554816,"latitude_deg":11.9646608,"altitude":81,"angle":43,"satellites":37,"speed":4,"hex_longitude":"2d181c40","hex_latitude":"0721a990","is_valid_coordinates":true} 
[2026-07-08 12:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574471168001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4740754836553728,"note":"Value kept but may cause issues"} 
[2026-07-08 12:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737193218143494144,"note":"Value kept but may cause issues"} 
[2026-07-08 12:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783494029000,"timestamp_ms":1783494029000,"timestamp_seconds":1783494029,"priority":1,"record_length":96,"hex_timestamp":"0000019f40872ec8"} 
[2026-07-08 12:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-08 12:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:31:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":127481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":127481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":127481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574471168001,"66":14135,"120":206,"28":31744,"24":4,"16":4740754836553728,"45":1737193218143494144},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574471168001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:31:40] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:31:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4740754836553728,"km_value":4740754836553.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737193218143494144,"description":"Unknown IO ID 45"} 
[2026-07-08 12:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574471168001,"power":14135,"unknown_120":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1737193218143494144}} 
[2026-07-08 12:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":127481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:31:40] local.INFO: GPS data processed {"connection_id":127481,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:31:40] local.INFO: Acknowledgment sent {"connection_id":127481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:31:50] local.INFO: TCP Data received {"connection_id":125370,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125370,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:31:50] local.INFO: Processing buffer {"connection_id":125370,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:31:50] local.INFO: IMEI packet received {"connection_id":125370,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":125370,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:31:55] local.INFO: TCP Data received {"connection_id":125370,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125370,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:31:55] local.INFO: Processing buffer {"connection_id":125370,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:31:55] local.INFO: IMEI packet received {"connection_id":125370,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":125370,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:31:56] local.INFO: TCP Data received {"connection_id":125370,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f40869288012d0b130007029fc00003013423..."} 
[2026-07-08 12:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40869288012d0b130007029fc00003013423..."} 
[2026-07-08 12:31:56] local.INFO: Processing buffer {"connection_id":125370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40869288012d0b130007029fc00003013423..."} 
[2026-07-08 12:31:56] local.INFO: Packet analysis {"connection_id":125370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4086"} 
[2026-07-08 12:31:56] local.INFO: Extracted packet for processing {"connection_id":125370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4086"} 
[2026-07-08 12:31:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574384128001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:31:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783493989000,"timestamp_ms":1783493989000,"timestamp_seconds":1783493989,"priority":1,"record_length":96,"hex_timestamp":"0000019f40869288"} 
[2026-07-08 12:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:31:56] 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-07-08 12: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:31:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:31:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":125370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":125370,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":125370,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574384128001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574384128001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:31:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574384128001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:31:56] local.INFO: TCP Data received {"connection_id":125468,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:31:56] local.INFO: Processing buffer {"connection_id":125468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:31:56] local.INFO: IMEI packet received {"connection_id":125468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":125468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":125370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450977,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:31:56] local.INFO: GPS data processed {"connection_id":125370,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:31:56] local.INFO: Acknowledgment sent {"connection_id":125370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:32:00] local.INFO: TCP Data received {"connection_id":125370,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f40869288012d0b130007029fc00003013423..."} 
[2026-07-08 12:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40869288012d0b130007029fc00003013423..."} 
[2026-07-08 12:32:00] local.INFO: Processing buffer {"connection_id":125370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40869288012d0b130007029fc00003013423..."} 
[2026-07-08 12:32:00] local.INFO: Packet analysis {"connection_id":125370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4086"} 
[2026-07-08 12:32:00] local.INFO: Extracted packet for processing {"connection_id":125370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4086"} 
[2026-07-08 12:32:00] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574384128001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:32:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783493989000,"timestamp_ms":1783493989000,"timestamp_seconds":1783493989,"priority":1,"record_length":96,"hex_timestamp":"0000019f40869288"} 
[2026-07-08 12:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:32:00] 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-07-08 12:32: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":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:32:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:32:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125370,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125370,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574384128001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574384128001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:32:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574384128001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":125370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450978,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:32:01] local.INFO: GPS data processed {"connection_id":125370,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:32:01] local.INFO: Acknowledgment sent {"connection_id":125370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:32:01] local.INFO: TCP Data received {"connection_id":125468,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:32:01] local.INFO: Processing buffer {"connection_id":125468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:32:01] local.INFO: IMEI packet received {"connection_id":125468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":125468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:32:02] local.INFO: TCP Data received {"connection_id":125468,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4083a488012d7fa4c005afdb90001600f929..."} 
[2026-07-08 12:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4083a488012d7fa4c005afdb90001600f929..."} 
[2026-07-08 12:32:02] local.INFO: Processing buffer {"connection_id":125468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4083a488012d7fa4c005afdb90001600f929..."} 
[2026-07-08 12:32:02] local.INFO: Packet analysis {"connection_id":125468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4083"} 
[2026-07-08 12:32:02] local.INFO: Extracted packet for processing {"connection_id":125468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4083"} 
[2026-07-08 12:32:02] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95411088,"longitude_deg":76.3339968,"latitude_deg":9.5411088,"altitude":22,"angle":249,"satellites":41,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afdb90","is_valid_coordinates":true} 
[2026-07-08 12:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574408704001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469655166976,"note":"Value kept but may cause issues"} 
[2026-07-08 12:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783493797000,"timestamp_ms":1783493797000,"timestamp_seconds":1783493797,"priority":1,"record_length":96,"hex_timestamp":"0000019f4083a488"} 
[2026-07-08 12:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:32: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-07-08 12: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-08 12:32:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574408704001,"66":26158,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197687469655166976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574408704001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:32:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:32:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469655166976,"description":"Unknown IO ID 45"} 
[2026-07-08 12:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574408704001,"power":26158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469655166976}} 
[2026-07-08 12:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":125468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:32:02] local.INFO: GPS data processed {"connection_id":125468,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:32:02] local.INFO: Acknowledgment sent {"connection_id":125468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:32:03] local.INFO: TCP Data received {"connection_id":127482,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:32:03] local.INFO: Processing buffer {"connection_id":127482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:32:03] local.INFO: IMEI packet received {"connection_id":127482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":127482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:32:05] local.INFO: TCP Data received {"connection_id":127482,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:32:05] local.INFO: Processing buffer {"connection_id":127482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:32:05] local.INFO: IMEI packet received {"connection_id":127482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":127482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:32:11] local.INFO: TCP Data received {"connection_id":127482,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:32:11] local.INFO: Processing buffer {"connection_id":127482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:32:11] local.INFO: IMEI packet received {"connection_id":127482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":127482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:32:12] local.INFO: TCP Data received {"connection_id":127482,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f408732b0012d181c800721a9c00051003c25..."} 
[2026-07-08 12:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408732b0012d181c800721a9c00051003c25..."} 
[2026-07-08 12:32:12] local.INFO: Processing buffer {"connection_id":127482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408732b0012d181c800721a9c00051003c25..."} 
[2026-07-08 12:32:12] local.INFO: Packet analysis {"connection_id":127482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4087"} 
[2026-07-08 12:32:12] local.INFO: Extracted packet for processing {"connection_id":127482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4087"} 
[2026-07-08 12:32:12] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119646656,"longitude_deg":75.655488,"latitude_deg":11.9646656,"altitude":81,"angle":60,"satellites":37,"speed":1,"hex_longitude":"2d181c80","hex_latitude":"0721a9c0","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574471424001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4740759131521024,"note":"Value kept but may cause issues"} 
[2026-07-08 12:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737333955631878144,"note":"Value kept but may cause issues"} 
[2026-07-08 12:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783494030000,"timestamp_ms":1783494030000,"timestamp_seconds":1783494030,"priority":1,"record_length":96,"hex_timestamp":"0000019f408732b0"} 
[2026-07-08 12:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12: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-07-08 12: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-08 12:32:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":127482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":127482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":127482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574471424001,"66":14135,"120":206,"28":31744,"24":1,"16":4740759131521024,"45":1737333955631878144},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574471424001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:32:12] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:32:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4740759131521024,"km_value":4740759131521.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737333955631878144,"description":"Unknown IO ID 45"} 
[2026-07-08 12:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574471424001,"power":14135,"unknown_120":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1737333955631878144}} 
[2026-07-08 12:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":127482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:32:12] local.INFO: GPS data processed {"connection_id":127482,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:32:12] local.INFO: Acknowledgment sent {"connection_id":127482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:32:16] local.INFO: TCP Data received {"connection_id":127482,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40876d48012d181d000721aac80051002725..."} 
[2026-07-08 12:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40876d48012d181d000721aac80051002725..."} 
[2026-07-08 12:32:16] local.INFO: Processing buffer {"connection_id":127482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40876d48012d181d000721aac80051002725..."} 
[2026-07-08 12:32:16] local.INFO: Packet analysis {"connection_id":127482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4087"} 
[2026-07-08 12:32:16] local.INFO: Extracted packet for processing {"connection_id":127482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4087"} 
[2026-07-08 12:32:16] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119646920,"longitude_deg":75.6555008,"latitude_deg":11.964692,"altitude":81,"angle":39,"satellites":37,"speed":7,"hex_longitude":"2d181d00","hex_latitude":"0721aac8","is_valid_coordinates":true} 
[2026-07-08 12:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574471680001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4740780606357504,"note":"Value kept but may cause issues"} 
[2026-07-08 12:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324376068096,"note":"Value kept but may cause issues"} 
[2026-07-08 12:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783494045000,"timestamp_ms":1783494045000,"timestamp_seconds":1783494045,"priority":1,"record_length":96,"hex_timestamp":"0000019f40876d48"} 
[2026-07-08 12:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-08 12:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:32:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":127482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":127482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":127482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574471680001,"66":14135,"120":206,"28":31744,"24":7,"16":4740780606357504,"45":1737404324376068096},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574471680001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:32:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:32:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4740780606357504,"km_value":4740780606357.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324376068096,"description":"Unknown IO ID 45"} 
[2026-07-08 12:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574471680001,"power":14135,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1737404324376068096}} 
[2026-07-08 12:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":127482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:32:16] local.INFO: GPS data processed {"connection_id":127482,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:32:16] local.INFO: Acknowledgment sent {"connection_id":127482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:32:31] local.INFO: TCP Data received {"connection_id":125467,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125467,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:32:31] local.INFO: Processing buffer {"connection_id":125467,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:32:31] local.INFO: IMEI packet received {"connection_id":125467,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 12:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":125467,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:32:33] local.INFO: TCP Data received {"connection_id":125468,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f40884038012d7fa48005afdba8001600f928..."} 
[2026-07-08 12:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40884038012d7fa48005afdba8001600f928..."} 
[2026-07-08 12:32:33] local.INFO: Processing buffer {"connection_id":125468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40884038012d7fa48005afdba8001600f928..."} 
[2026-07-08 12:32:33] local.INFO: Packet analysis {"connection_id":125468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4088"} 
[2026-07-08 12:32:33] local.INFO: Extracted packet for processing {"connection_id":125468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4088"} 
[2026-07-08 12:32:33] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":22,"angle":249,"satellites":40,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574412032001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469655166976,"note":"Value kept but may cause issues"} 
[2026-07-08 12:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783494099000,"timestamp_ms":1783494099000,"timestamp_seconds":1783494099,"priority":1,"record_length":96,"hex_timestamp":"0000019f40884038"} 
[2026-07-08 12:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-08 12:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574412032001,"66":25995,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197687469655166976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574412032001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:32:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:32:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469655166976,"description":"Unknown IO ID 45"} 
[2026-07-08 12:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574412032001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469655166976}} 
[2026-07-08 12:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":125468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:32:33] local.INFO: GPS data processed {"connection_id":125468,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:32:33] local.INFO: Acknowledgment sent {"connection_id":125468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:32:45] local.INFO: TCP Data received {"connection_id":127483,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127483,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:32:45] local.INFO: Processing buffer {"connection_id":127483,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:32:45] local.INFO: IMEI packet received {"connection_id":127483,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":127483,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:32:50] local.INFO: TCP Data received {"connection_id":127483,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127483,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:32:50] local.INFO: Processing buffer {"connection_id":127483,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:32:50] local.INFO: IMEI packet received {"connection_id":127483,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":127483,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:32:51] local.INFO: TCP Data received {"connection_id":127483,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f40869288012d0b130007029fc00003013423..."} 
[2026-07-08 12:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40869288012d0b130007029fc00003013423..."} 
[2026-07-08 12:32:51] local.INFO: Processing buffer {"connection_id":127483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40869288012d0b130007029fc00003013423..."} 
[2026-07-08 12:32:51] local.INFO: Packet analysis {"connection_id":127483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4086"} 
[2026-07-08 12:32:51] local.INFO: Extracted packet for processing {"connection_id":127483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4086"} 
[2026-07-08 12:32:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574384128001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783493989000,"timestamp_ms":1783493989000,"timestamp_seconds":1783493989,"priority":1,"record_length":96,"hex_timestamp":"0000019f40869288"} 
[2026-07-08 12:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:32: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-07-08 12:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127483,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127483,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574384128001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574384128001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:32:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574384128001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":127483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450983,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:32:51] local.INFO: GPS data processed {"connection_id":127483,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:32:51] local.INFO: Acknowledgment sent {"connection_id":127483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:32:56] local.INFO: TCP Data received {"connection_id":126227,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:32:56] local.INFO: Processing buffer {"connection_id":126227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:32:56] local.INFO: IMEI packet received {"connection_id":126227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":126227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:32:56] local.INFO: TCP Data received {"connection_id":127484,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127484,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:32:56] local.INFO: Processing buffer {"connection_id":127484,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:32:56] local.INFO: IMEI packet received {"connection_id":127484,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 12:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":127484,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:33:01] local.INFO: TCP Data received {"connection_id":125371,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:33:01] local.INFO: Processing buffer {"connection_id":125371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:33:01] local.INFO: IMEI packet received {"connection_id":125371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":125371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:33:01] local.INFO: TCP Data received {"connection_id":126227,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:33:01] local.INFO: Processing buffer {"connection_id":126227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:33:01] local.INFO: IMEI packet received {"connection_id":126227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":126227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:33:02] local.INFO: TCP Data received {"connection_id":126227,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f40884038012d7fa48005afdba8001600f928..."} 
[2026-07-08 12:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40884038012d7fa48005afdba8001600f928..."} 
[2026-07-08 12:33:02] local.INFO: Processing buffer {"connection_id":126227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40884038012d7fa48005afdba8001600f928..."} 
[2026-07-08 12:33:02] local.INFO: Packet analysis {"connection_id":126227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4088"} 
[2026-07-08 12:33:02] local.INFO: Extracted packet for processing {"connection_id":126227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4088"} 
[2026-07-08 12:33:02] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":22,"angle":249,"satellites":40,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574412032001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469655166976,"note":"Value kept but may cause issues"} 
[2026-07-08 12:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783494099000,"timestamp_ms":1783494099000,"timestamp_seconds":1783494099,"priority":1,"record_length":96,"hex_timestamp":"0000019f40884038"} 
[2026-07-08 12:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-08 12:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574412032001,"66":25995,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197687469655166976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574412032001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:33:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:33:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469655166976,"description":"Unknown IO ID 45"} 
[2026-07-08 12:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574412032001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469655166976}} 
[2026-07-08 12:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":126227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:33:02] local.INFO: GPS data processed {"connection_id":126227,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:33:02] local.INFO: Acknowledgment sent {"connection_id":126227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:33:05] local.INFO: TCP Data received {"connection_id":125371,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:33:05] local.INFO: Processing buffer {"connection_id":125371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:33:05] local.INFO: IMEI packet received {"connection_id":125371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":125371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:33:06] local.INFO: TCP Data received {"connection_id":125371,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4087b398012d1827800721ba780050001026..."} 
[2026-07-08 12:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4087b398012d1827800721ba780050001026..."} 
[2026-07-08 12:33:06] local.INFO: Processing buffer {"connection_id":125371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4087b398012d1827800721ba780050001026..."} 
[2026-07-08 12:33:06] local.INFO: Packet analysis {"connection_id":125371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4087"} 
[2026-07-08 12:33:06] local.INFO: Extracted packet for processing {"connection_id":125371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4087"} 
[2026-07-08 12:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756557696,"raw_latitude":119650936,"longitude_deg":75.6557696,"latitude_deg":11.9650936,"altitude":80,"angle":16,"satellites":38,"speed":9,"hex_longitude":"2d182780","hex_latitude":"0721ba78","is_valid_coordinates":true} 
[2026-07-08 12:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574475520001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741012534591488,"note":"Value kept but may cause issues"} 
[2026-07-08 12:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864491008,"note":"Value kept but may cause issues"} 
[2026-07-08 12:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783494063000,"timestamp_ms":1783494063000,"timestamp_seconds":1783494063,"priority":1,"record_length":96,"hex_timestamp":"0000019f4087b398"} 
[2026-07-08 12:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-08 12:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574475520001,"66":14483,"120":206,"28":31744,"24":9,"16":4741012534591488,"45":1737545061864491008},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574475520001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:33:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:33:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741012534591488,"km_value":4741012534591.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864491008,"description":"Unknown IO ID 45"} 
[2026-07-08 12:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574475520001,"power":14483,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1737545061864491008}} 
[2026-07-08 12:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":125371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:33:06] local.INFO: GPS data processed {"connection_id":125371,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:33:06] local.INFO: Acknowledgment sent {"connection_id":125371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:33:22] local.INFO: TCP Data received {"connection_id":127483,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f40869288012d0b130007029fc00003013423..."} 
[2026-07-08 12:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40869288012d0b130007029fc00003013423..."} 
[2026-07-08 12:33:22] local.INFO: Processing buffer {"connection_id":127483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40869288012d0b130007029fc00003013423..."} 
[2026-07-08 12:33:22] local.INFO: Packet analysis {"connection_id":127483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4086"} 
[2026-07-08 12:33:22] local.INFO: Extracted packet for processing {"connection_id":127483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4086"} 
[2026-07-08 12:33:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574384128001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:33:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783493989000,"timestamp_ms":1783493989000,"timestamp_seconds":1783493989,"priority":1,"record_length":96,"hex_timestamp":"0000019f40869288"} 
[2026-07-08 12:33:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:33:22] 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-07-08 12: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:33:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:33:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":127483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":127483,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":127483,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574384128001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574384128001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:33:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:33:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574384128001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":127483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450986,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:33:23] local.INFO: GPS data processed {"connection_id":127483,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:33:23] local.INFO: Acknowledgment sent {"connection_id":127483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:33:33] local.INFO: TCP Data received {"connection_id":126227,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f40884038012d7fa48005afdba8001600f928..."} 
[2026-07-08 12:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40884038012d7fa48005afdba8001600f928..."} 
[2026-07-08 12:33:33] local.INFO: Processing buffer {"connection_id":126227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40884038012d7fa48005afdba8001600f928..."} 
[2026-07-08 12:33:33] local.INFO: Packet analysis {"connection_id":126227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4088"} 
[2026-07-08 12:33:33] local.INFO: Extracted packet for processing {"connection_id":126227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4088"} 
[2026-07-08 12:33:33] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":22,"angle":249,"satellites":40,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574412032001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469655166976,"note":"Value kept but may cause issues"} 
[2026-07-08 12:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783494099000,"timestamp_ms":1783494099000,"timestamp_seconds":1783494099,"priority":1,"record_length":96,"hex_timestamp":"0000019f40884038"} 
[2026-07-08 12:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-08 12:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574412032001,"66":25995,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197687469655166976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574412032001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:33:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:33:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469655166976,"description":"Unknown IO ID 45"} 
[2026-07-08 12:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574412032001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469655166976}} 
[2026-07-08 12:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":126227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:33:33] local.INFO: GPS data processed {"connection_id":126227,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:33:33] local.INFO: Acknowledgment sent {"connection_id":126227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:33:38] local.INFO: TCP Data received {"connection_id":125371,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4087b780012d1827800721bb300050016226..."} 
[2026-07-08 12:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4087b780012d1827800721bb300050016226..."} 
[2026-07-08 12:33:38] local.INFO: Processing buffer {"connection_id":125371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4087b780012d1827800721bb300050016226..."} 
[2026-07-08 12:33:38] local.INFO: Packet analysis {"connection_id":125371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4087"} 
[2026-07-08 12:33:38] local.INFO: Extracted packet for processing {"connection_id":125371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4087"} 
[2026-07-08 12:33:38] local.INFO: GPS Element Parsed {"raw_longitude":756557696,"raw_latitude":119651120,"longitude_deg":75.6557696,"latitude_deg":11.965112,"altitude":80,"angle":354,"satellites":38,"speed":6,"hex_longitude":"2d182780","hex_latitude":"0721bb30","is_valid_coordinates":true} 
[2026-07-08 12:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574480128001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741021124526080,"note":"Value kept but may cause issues"} 
[2026-07-08 12:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740500549120980992,"note":"Value kept but may cause issues"} 
[2026-07-08 12:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783494064000,"timestamp_ms":1783494064000,"timestamp_seconds":1783494064,"priority":1,"record_length":96,"hex_timestamp":"0000019f4087b780"} 
[2026-07-08 12:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-08 12:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574480128001,"66":14483,"120":206,"28":31744,"24":6,"16":4741021124526080,"45":1740500549120980992},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574480128001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:33:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:33:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741021124526080,"km_value":4741021124526.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740500549120980992,"description":"Unknown IO ID 45"} 
[2026-07-08 12:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574480128001,"power":14483,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1740500549120980992}} 
[2026-07-08 12:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":125371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:33:38] local.INFO: GPS data processed {"connection_id":125371,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:33:38] local.INFO: Acknowledgment sent {"connection_id":125371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:33:45] local.INFO: TCP Data received {"connection_id":125469,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125469,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:33:45] local.INFO: Processing buffer {"connection_id":125469,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:33:45] local.INFO: IMEI packet received {"connection_id":125469,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":125469,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:33:50] local.INFO: TCP Data received {"connection_id":125469,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125469,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:33:50] local.INFO: Processing buffer {"connection_id":125469,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:33:50] local.INFO: IMEI packet received {"connection_id":125469,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":125469,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:33:51] local.INFO: TCP Data received {"connection_id":125469,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f40869288012d0b130007029fc00003013423..."} 
[2026-07-08 12:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40869288012d0b130007029fc00003013423..."} 
[2026-07-08 12:33:51] local.INFO: Processing buffer {"connection_id":125469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40869288012d0b130007029fc00003013423..."} 
[2026-07-08 12:33:51] local.INFO: Packet analysis {"connection_id":125469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4086"} 
[2026-07-08 12:33:51] local.INFO: Extracted packet for processing {"connection_id":125469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4086"} 
[2026-07-08 12:33:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574384128001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783493989000,"timestamp_ms":1783493989000,"timestamp_seconds":1783493989,"priority":1,"record_length":96,"hex_timestamp":"0000019f40869288"} 
[2026-07-08 12:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:33: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-07-08 12:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125469,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125469,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574384128001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574384128001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:33:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574384128001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":125469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450989,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:33:51] local.INFO: GPS data processed {"connection_id":125469,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:33:51] local.INFO: Acknowledgment sent {"connection_id":125469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:33:56] local.INFO: TCP Data received {"connection_id":126228,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:33:56] local.INFO: Processing buffer {"connection_id":126228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:33:56] local.INFO: IMEI packet received {"connection_id":126228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":126228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:34:00] local.INFO: TCP Data received {"connection_id":125470,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:34:00] local.INFO: Processing buffer {"connection_id":125470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:34:00] local.INFO: IMEI packet received {"connection_id":125470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":125470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:34:01] local.INFO: TCP Data received {"connection_id":126228,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:34:01] local.INFO: Processing buffer {"connection_id":126228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:34:01] local.INFO: IMEI packet received {"connection_id":126228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":126228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:34:02] local.INFO: TCP Data received {"connection_id":126228,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f40884038012d7fa48005afdba8001600f928..."} 
[2026-07-08 12:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40884038012d7fa48005afdba8001600f928..."} 
[2026-07-08 12:34:02] local.INFO: Processing buffer {"connection_id":126228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40884038012d7fa48005afdba8001600f928..."} 
[2026-07-08 12:34:02] local.INFO: Packet analysis {"connection_id":126228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4088"} 
[2026-07-08 12:34:02] local.INFO: Extracted packet for processing {"connection_id":126228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4088"} 
[2026-07-08 12:34:02] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":22,"angle":249,"satellites":40,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574412032001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469655166976,"note":"Value kept but may cause issues"} 
[2026-07-08 12:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783494099000,"timestamp_ms":1783494099000,"timestamp_seconds":1783494099,"priority":1,"record_length":96,"hex_timestamp":"0000019f40884038"} 
[2026-07-08 12:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:34:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-08 12:34:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:34:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574412032001,"66":25995,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197687469655166976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574412032001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:34:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:34:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469655166976,"description":"Unknown IO ID 45"} 
[2026-07-08 12:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574412032001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469655166976}} 
[2026-07-08 12:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":126228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:34:02] local.INFO: GPS data processed {"connection_id":126228,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:34:02] local.INFO: Acknowledgment sent {"connection_id":126228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:34:06] local.INFO: TCP Data received {"connection_id":125470,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:34:06] local.INFO: Processing buffer {"connection_id":125470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:34:06] local.INFO: IMEI packet received {"connection_id":125470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":125470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:34:07] local.INFO: TCP Data received {"connection_id":125470,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40880988012d1827000721bbb0004f016226..."} 
[2026-07-08 12:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40880988012d1827000721bbb0004f016226..."} 
[2026-07-08 12:34:07] local.INFO: Processing buffer {"connection_id":125470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40880988012d1827000721bbb0004f016226..."} 
[2026-07-08 12:34:07] local.INFO: Packet analysis {"connection_id":125470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4088"} 
[2026-07-08 12:34:07] local.INFO: Extracted packet for processing {"connection_id":125470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4088"} 
[2026-07-08 12:34:07] local.INFO: GPS Element Parsed {"raw_longitude":756557568,"raw_latitude":119651248,"longitude_deg":75.6557568,"latitude_deg":11.9651248,"altitude":79,"angle":354,"satellites":38,"speed":0,"hex_longitude":"2d182700","hex_latitude":"0721bbb0","is_valid_coordinates":true} 
[2026-07-08 12:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574480384001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741029714460672,"note":"Value kept but may cause issues"} 
[2026-07-08 12:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740500549121028096,"note":"Value kept but may cause issues"} 
[2026-07-08 12:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783494085000,"timestamp_ms":1783494085000,"timestamp_seconds":1783494085,"priority":1,"record_length":96,"hex_timestamp":"0000019f40880988"} 
[2026-07-08 12:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-08 12:34:07] 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-07-08 12:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574480384001,"66":14483,"120":206,"28":31744,"24":0,"16":4741029714460672,"45":1740500549121028096},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574480384001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:34:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:34:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741029714460672,"km_value":4741029714460.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740500549121028096,"description":"Unknown IO ID 45"} 
[2026-07-08 12:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574480384001,"power":14483,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740500549121028096}} 
[2026-07-08 12:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":125470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:34:07] local.INFO: GPS data processed {"connection_id":125470,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:34:07] local.INFO: Acknowledgment sent {"connection_id":125470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:34:22] local.INFO: TCP Data received {"connection_id":125469,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f40869288012d0b130007029fc00003013423..."} 
[2026-07-08 12:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40869288012d0b130007029fc00003013423..."} 
[2026-07-08 12:34:22] local.INFO: Processing buffer {"connection_id":125469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40869288012d0b130007029fc00003013423..."} 
[2026-07-08 12:34:22] local.INFO: Packet analysis {"connection_id":125469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4086"} 
[2026-07-08 12:34:22] local.INFO: Extracted packet for processing {"connection_id":125469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4086"} 
[2026-07-08 12:34:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574384128001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783493989000,"timestamp_ms":1783493989000,"timestamp_seconds":1783493989,"priority":1,"record_length":96,"hex_timestamp":"0000019f40869288"} 
[2026-07-08 12:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:34:22] 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-07-08 12: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:34:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:34:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125469,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125469,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574384128001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574384128001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:34:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574384128001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":125469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450992,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:34:23] local.INFO: GPS data processed {"connection_id":125469,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:34:23] local.INFO: Acknowledgment sent {"connection_id":125469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:34:33] local.INFO: TCP Data received {"connection_id":126228,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f40884038012d7fa48005afdba8001600f928..."} 
[2026-07-08 12:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40884038012d7fa48005afdba8001600f928..."} 
[2026-07-08 12:34:33] local.INFO: Processing buffer {"connection_id":126228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40884038012d7fa48005afdba8001600f928..."} 
[2026-07-08 12:34:33] local.INFO: Packet analysis {"connection_id":126228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4088"} 
[2026-07-08 12:34:33] local.INFO: Extracted packet for processing {"connection_id":126228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4088"} 
[2026-07-08 12:34:33] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":22,"angle":249,"satellites":40,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574412032001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469655166976,"note":"Value kept but may cause issues"} 
[2026-07-08 12:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783494099000,"timestamp_ms":1783494099000,"timestamp_seconds":1783494099,"priority":1,"record_length":96,"hex_timestamp":"0000019f40884038"} 
[2026-07-08 12:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-08 12:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574412032001,"66":25995,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197687469655166976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574412032001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:34:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:34:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469655166976,"description":"Unknown IO ID 45"} 
[2026-07-08 12:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574412032001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469655166976}} 
[2026-07-08 12:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":126228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:34:33] local.INFO: GPS data processed {"connection_id":126228,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:34:33] local.INFO: Acknowledgment sent {"connection_id":126228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:34:39] local.INFO: TCP Data received {"connection_id":125470,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40885b90012d1827000721bbb0004f016226..."} 
[2026-07-08 12:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40885b90012d1827000721bbb0004f016226..."} 
[2026-07-08 12:34:39] local.INFO: Processing buffer {"connection_id":125470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40885b90012d1827000721bbb0004f016226..."} 
[2026-07-08 12:34:39] local.INFO: Packet analysis {"connection_id":125470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4088"} 
[2026-07-08 12:34:39] local.INFO: Extracted packet for processing {"connection_id":125470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4088"} 
[2026-07-08 12:34:39] local.INFO: GPS Element Parsed {"raw_longitude":756557568,"raw_latitude":119651248,"longitude_deg":75.6557568,"latitude_deg":11.9651248,"altitude":79,"angle":354,"satellites":38,"speed":0,"hex_longitude":"2d182700","hex_latitude":"0721bbb0","is_valid_coordinates":true} 
[2026-07-08 12:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574485760001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741029714460672,"note":"Value kept but may cause issues"} 
[2026-07-08 12:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740359811632705536,"note":"Value kept but may cause issues"} 
[2026-07-08 12:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783494106000,"timestamp_ms":1783494106000,"timestamp_seconds":1783494106,"priority":1,"record_length":96,"hex_timestamp":"0000019f40885b90"} 
[2026-07-08 12:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-08 12:34:39] 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-07-08 12:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574485760001,"66":13646,"120":206,"28":31744,"24":0,"16":4741029714460672,"45":1740359811632705536},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574485760001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:34:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:34:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741029714460672,"km_value":4741029714460.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740359811632705536,"description":"Unknown IO ID 45"} 
[2026-07-08 12:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574485760001,"power":13646,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740359811632705536}} 
[2026-07-08 12:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":125470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:34:39] local.INFO: GPS data processed {"connection_id":125470,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:34:39] local.INFO: Acknowledgment sent {"connection_id":125470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:34:45] local.INFO: TCP Data received {"connection_id":127485,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127485,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:34:45] local.INFO: Processing buffer {"connection_id":127485,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:34:45] local.INFO: IMEI packet received {"connection_id":127485,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":127485,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:34:50] local.INFO: TCP Data received {"connection_id":127485,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127485,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:34:50] local.INFO: Processing buffer {"connection_id":127485,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:34:50] local.INFO: IMEI packet received {"connection_id":127485,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":127485,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:34:51] local.INFO: TCP Data received {"connection_id":127485,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f40869288012d0b130007029fc00003013423..."} 
[2026-07-08 12:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40869288012d0b130007029fc00003013423..."} 
[2026-07-08 12:34:51] local.INFO: Processing buffer {"connection_id":127485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40869288012d0b130007029fc00003013423..."} 
[2026-07-08 12:34:51] local.INFO: Packet analysis {"connection_id":127485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4086"} 
[2026-07-08 12:34:51] local.INFO: Extracted packet for processing {"connection_id":127485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4086"} 
[2026-07-08 12:34:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574384128001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783493989000,"timestamp_ms":1783493989000,"timestamp_seconds":1783493989,"priority":1,"record_length":96,"hex_timestamp":"0000019f40869288"} 
[2026-07-08 12:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:34: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-07-08 12:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:34:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127485,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127485,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574384128001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574384128001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:34:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574384128001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":127485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450995,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:34:51] local.INFO: GPS data processed {"connection_id":127485,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:34:51] local.INFO: Acknowledgment sent {"connection_id":127485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:35:00] local.INFO: TCP Data received {"connection_id":125373,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:35:00] local.INFO: Processing buffer {"connection_id":125373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:35:00] local.INFO: IMEI packet received {"connection_id":125373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":125373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:35:01] local.INFO: TCP Data received {"connection_id":126230,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:35:01] local.INFO: Processing buffer {"connection_id":126230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:35:01] local.INFO: IMEI packet received {"connection_id":126230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":126230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:35:06] local.INFO: TCP Data received {"connection_id":125373,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:35:06] local.INFO: Processing buffer {"connection_id":125373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:35:06] local.INFO: IMEI packet received {"connection_id":125373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":125373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:35:06] local.INFO: TCP Data received {"connection_id":126230,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:35:06] local.INFO: Processing buffer {"connection_id":126230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:35:06] local.INFO: IMEI packet received {"connection_id":126230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":126230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:35:07] local.INFO: TCP Data received {"connection_id":126230,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f40884038012d7fa48005afdba8001600f928..."} 
[2026-07-08 12:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40884038012d7fa48005afdba8001600f928..."} 
[2026-07-08 12:35:07] local.INFO: Processing buffer {"connection_id":126230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40884038012d7fa48005afdba8001600f928..."} 
[2026-07-08 12:35:07] local.INFO: Packet analysis {"connection_id":126230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4088"} 
[2026-07-08 12:35:07] local.INFO: Extracted packet for processing {"connection_id":126230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4088"} 
[2026-07-08 12:35:07] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":22,"angle":249,"satellites":40,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574412032001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469655166976,"note":"Value kept but may cause issues"} 
[2026-07-08 12:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783494099000,"timestamp_ms":1783494099000,"timestamp_seconds":1783494099,"priority":1,"record_length":96,"hex_timestamp":"0000019f40884038"} 
[2026-07-08 12:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-08 12:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574412032001,"66":25995,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197687469655166976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574412032001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:35:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:35:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469655166976,"description":"Unknown IO ID 45"} 
[2026-07-08 12:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574412032001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469655166976}} 
[2026-07-08 12:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":126230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:35:07] local.INFO: GPS data processed {"connection_id":126230,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:35:07] local.INFO: Acknowledgment sent {"connection_id":126230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:35:07] local.INFO: TCP Data received {"connection_id":125373,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4088ad98012d1827000721bbb0004f016226..."} 
[2026-07-08 12:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4088ad98012d1827000721bbb0004f016226..."} 
[2026-07-08 12:35:07] local.INFO: Processing buffer {"connection_id":125373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4088ad98012d1827000721bbb0004f016226..."} 
[2026-07-08 12:35:07] local.INFO: Packet analysis {"connection_id":125373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4088"} 
[2026-07-08 12:35:07] local.INFO: Extracted packet for processing {"connection_id":125373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4088"} 
[2026-07-08 12:35:07] local.INFO: GPS Element Parsed {"raw_longitude":756557568,"raw_latitude":119651248,"longitude_deg":75.6557568,"latitude_deg":11.9651248,"altitude":79,"angle":354,"satellites":38,"speed":0,"hex_longitude":"2d182700","hex_latitude":"0721bbb0","is_valid_coordinates":true} 
[2026-07-08 12:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574491136001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741029714460672,"note":"Value kept but may cause issues"} 
[2026-07-08 12:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740359811632705536,"note":"Value kept but may cause issues"} 
[2026-07-08 12:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783494127000,"timestamp_ms":1783494127000,"timestamp_seconds":1783494127,"priority":1,"record_length":96,"hex_timestamp":"0000019f4088ad98"} 
[2026-07-08 12:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-07-08 12:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574491136001,"66":13254,"120":206,"28":31744,"24":0,"16":4741029714460672,"45":1740359811632705536},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574491136001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:35:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:35:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741029714460672,"km_value":4741029714460.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740359811632705536,"description":"Unknown IO ID 45"} 
[2026-07-08 12:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574491136001,"power":13254,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740359811632705536}} 
[2026-07-08 12:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":125373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:35:07] local.INFO: GPS data processed {"connection_id":125373,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:35:07] local.INFO: Acknowledgment sent {"connection_id":125373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:35:11] local.INFO: TCP Data received {"connection_id":126230,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f40884038012d7fa48005afdba8001600f928..."} 
[2026-07-08 12:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40884038012d7fa48005afdba8001600f928..."} 
[2026-07-08 12:35:11] local.INFO: Processing buffer {"connection_id":126230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40884038012d7fa48005afdba8001600f928..."} 
[2026-07-08 12:35:11] local.INFO: Packet analysis {"connection_id":126230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4088"} 
[2026-07-08 12:35:11] local.INFO: Extracted packet for processing {"connection_id":126230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4088"} 
[2026-07-08 12:35:11] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":22,"angle":249,"satellites":40,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574412032001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469655166976,"note":"Value kept but may cause issues"} 
[2026-07-08 12:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783494099000,"timestamp_ms":1783494099000,"timestamp_seconds":1783494099,"priority":1,"record_length":96,"hex_timestamp":"0000019f40884038"} 
[2026-07-08 12:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-08 12:35:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574412032001,"66":25995,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197687469655166976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574412032001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:35:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:35:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469655166976,"description":"Unknown IO ID 45"} 
[2026-07-08 12:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574412032001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469655166976}} 
[2026-07-08 12:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":126230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:35:11] local.INFO: GPS data processed {"connection_id":126230,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:35:11] local.INFO: Acknowledgment sent {"connection_id":126230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:35:22] local.INFO: TCP Data received {"connection_id":127485,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f408b2a50012d0b130007029fc00011013422..."} 
[2026-07-08 12:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408b2a50012d0b130007029fc00011013422..."} 
[2026-07-08 12:35:22] local.INFO: Processing buffer {"connection_id":127485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408b2a50012d0b130007029fc00011013422..."} 
[2026-07-08 12:35:22] local.INFO: Packet analysis {"connection_id":127485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f408b"} 
[2026-07-08 12:35:22] local.INFO: Extracted packet for processing {"connection_id":127485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f408b"} 
[2026-07-08 12:35:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":17,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574461184001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783494290000,"timestamp_ms":1783494290000,"timestamp_seconds":1783494290,"priority":1,"record_length":96,"hex_timestamp":"0000019f408b2a50"} 
[2026-07-08 12:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:35:22] 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-07-08 12: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 12:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":127485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":127485,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":127485,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574461184001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574461184001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:35:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574461184001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":127485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":450999,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:35:22] local.INFO: GPS data processed {"connection_id":127485,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:35:22] local.INFO: Acknowledgment sent {"connection_id":127485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:35:39] local.INFO: TCP Data received {"connection_id":125373,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4088ffa0012d1827000721bbb0004f016226..."} 
[2026-07-08 12:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4088ffa0012d1827000721bbb0004f016226..."} 
[2026-07-08 12:35:39] local.INFO: Processing buffer {"connection_id":125373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4088ffa0012d1827000721bbb0004f016226..."} 
[2026-07-08 12:35:39] local.INFO: Packet analysis {"connection_id":125373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4088"} 
[2026-07-08 12:35:39] local.INFO: Extracted packet for processing {"connection_id":125373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4088"} 
[2026-07-08 12:35:39] local.INFO: GPS Element Parsed {"raw_longitude":756557568,"raw_latitude":119651248,"longitude_deg":75.6557568,"latitude_deg":11.9651248,"altitude":79,"angle":354,"satellites":38,"speed":0,"hex_longitude":"2d182700","hex_latitude":"0721bbb0","is_valid_coordinates":true} 
[2026-07-08 12:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574496512001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741029714460672,"note":"Value kept but may cause issues"} 
[2026-07-08 12:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740359811632705536,"note":"Value kept but may cause issues"} 
[2026-07-08 12:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783494148000,"timestamp_ms":1783494148000,"timestamp_seconds":1783494148,"priority":1,"record_length":96,"hex_timestamp":"0000019f4088ffa0"} 
[2026-07-08 12:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-08 12:35:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:35:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574496512001,"66":13135,"120":206,"28":31744,"24":0,"16":4741029714460672,"45":1740359811632705536},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574496512001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:35:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:35:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741029714460672,"km_value":4741029714460.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740359811632705536,"description":"Unknown IO ID 45"} 
[2026-07-08 12:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574496512001,"power":13135,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740359811632705536}} 
[2026-07-08 12:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":125373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:35:39] local.INFO: GPS data processed {"connection_id":125373,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:35:39] local.INFO: Acknowledgment sent {"connection_id":125373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:35:45] local.INFO: TCP Data received {"connection_id":126231,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126231,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:35:45] local.INFO: Processing buffer {"connection_id":126231,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:35:45] local.INFO: IMEI packet received {"connection_id":126231,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":126231,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:35:50] local.INFO: TCP Data received {"connection_id":126231,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126231,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:35:50] local.INFO: Processing buffer {"connection_id":126231,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:35:50] local.INFO: IMEI packet received {"connection_id":126231,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":126231,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:35:51] local.INFO: TCP Data received {"connection_id":126231,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f408b2a50012d0b130007029fc00011013422..."} 
[2026-07-08 12:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408b2a50012d0b130007029fc00011013422..."} 
[2026-07-08 12:35:51] local.INFO: Processing buffer {"connection_id":126231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408b2a50012d0b130007029fc00011013422..."} 
[2026-07-08 12:35:51] local.INFO: Packet analysis {"connection_id":126231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f408b"} 
[2026-07-08 12:35:51] local.INFO: Extracted packet for processing {"connection_id":126231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f408b"} 
[2026-07-08 12:35:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":17,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574461184001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783494290000,"timestamp_ms":1783494290000,"timestamp_seconds":1783494290,"priority":1,"record_length":96,"hex_timestamp":"0000019f408b2a50"} 
[2026-07-08 12:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:35: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-07-08 12:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 12:35:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126231,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126231,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574461184001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574461184001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:35:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574461184001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":126231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451001,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:35:51] local.INFO: GPS data processed {"connection_id":126231,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:35:51] local.INFO: Acknowledgment sent {"connection_id":126231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:35:56] local.INFO: TCP Data received {"connection_id":125374,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:35:56] local.INFO: Processing buffer {"connection_id":125374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:35:56] local.INFO: IMEI packet received {"connection_id":125374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":125374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:35:59] local.INFO: TCP Data received {"connection_id":127486,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:35:59] local.INFO: Processing buffer {"connection_id":127486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:35:59] local.INFO: IMEI packet received {"connection_id":127486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":127486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:36:00] local.INFO: TCP Data received {"connection_id":127486,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:36:00] local.INFO: Processing buffer {"connection_id":127486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:36:00] local.INFO: IMEI packet received {"connection_id":127486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":127486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:36:01] local.INFO: TCP Data received {"connection_id":125374,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:36:01] local.INFO: Processing buffer {"connection_id":125374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:36:01] local.INFO: IMEI packet received {"connection_id":125374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":125374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:36:02] local.INFO: TCP Data received {"connection_id":125374,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f40884038012d7fa48005afdba8001600f928..."} 
[2026-07-08 12:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40884038012d7fa48005afdba8001600f928..."} 
[2026-07-08 12:36:02] local.INFO: Processing buffer {"connection_id":125374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40884038012d7fa48005afdba8001600f928..."} 
[2026-07-08 12:36:02] local.INFO: Packet analysis {"connection_id":125374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4088"} 
[2026-07-08 12:36:02] local.INFO: Extracted packet for processing {"connection_id":125374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4088"} 
[2026-07-08 12:36:02] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":22,"angle":249,"satellites":40,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574412032001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469655166976,"note":"Value kept but may cause issues"} 
[2026-07-08 12:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783494099000,"timestamp_ms":1783494099000,"timestamp_seconds":1783494099,"priority":1,"record_length":96,"hex_timestamp":"0000019f40884038"} 
[2026-07-08 12:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:36:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-08 12:36:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574412032001,"66":25995,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197687469655166976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574412032001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:36:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:36:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469655166976,"description":"Unknown IO ID 45"} 
[2026-07-08 12:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574412032001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469655166976}} 
[2026-07-08 12:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":125374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:36:02] local.INFO: GPS data processed {"connection_id":125374,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:36:02] local.INFO: Acknowledgment sent {"connection_id":125374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:36:06] local.INFO: TCP Data received {"connection_id":127486,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:36:06] local.INFO: Processing buffer {"connection_id":127486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:36:06] local.INFO: IMEI packet received {"connection_id":127486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":127486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:36:07] local.INFO: TCP Data received {"connection_id":127486,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40890b58012d1827000721ba580050011d27..."} 
[2026-07-08 12:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40890b58012d1827000721ba580050011d27..."} 
[2026-07-08 12:36:07] local.INFO: Processing buffer {"connection_id":127486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40890b58012d1827000721ba580050011d27..."} 
[2026-07-08 12:36:07] local.INFO: Packet analysis {"connection_id":127486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4089"} 
[2026-07-08 12:36:07] local.INFO: Extracted packet for processing {"connection_id":127486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4089"} 
[2026-07-08 12:36:07] local.INFO: GPS Element Parsed {"raw_longitude":756557568,"raw_latitude":119650904,"longitude_deg":75.6557568,"latitude_deg":11.9650904,"altitude":80,"angle":285,"satellites":39,"speed":2,"hex_longitude":"2d182700","hex_latitude":"0721ba58","is_valid_coordinates":true} 
[2026-07-08 12:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574501888001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741046894329856,"note":"Value kept but may cause issues"} 
[2026-07-08 12:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740359811632705536,"note":"Value kept but may cause issues"} 
[2026-07-08 12:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783494151000,"timestamp_ms":1783494151000,"timestamp_seconds":1783494151,"priority":1,"record_length":96,"hex_timestamp":"0000019f40890b58"} 
[2026-07-08 12:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-08 12:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574501888001,"66":13156,"120":206,"28":31744,"24":2,"16":4741046894329856,"45":1740359811632705536},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574501888001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:36:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:36:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741046894329856,"km_value":4741046894329.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740359811632705536,"description":"Unknown IO ID 45"} 
[2026-07-08 12:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574501888001,"power":13156,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1740359811632705536}} 
[2026-07-08 12:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":127486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:36:07] local.INFO: GPS data processed {"connection_id":127486,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:36:07] local.INFO: Acknowledgment sent {"connection_id":127486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:36:22] local.INFO: TCP Data received {"connection_id":126231,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f408b2a50012d0b130007029fc00011013422..."} 
[2026-07-08 12:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408b2a50012d0b130007029fc00011013422..."} 
[2026-07-08 12:36:22] local.INFO: Processing buffer {"connection_id":126231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408b2a50012d0b130007029fc00011013422..."} 
[2026-07-08 12:36:22] local.INFO: Packet analysis {"connection_id":126231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f408b"} 
[2026-07-08 12:36:22] local.INFO: Extracted packet for processing {"connection_id":126231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f408b"} 
[2026-07-08 12:36:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":17,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574461184001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783494290000,"timestamp_ms":1783494290000,"timestamp_seconds":1783494290,"priority":1,"record_length":96,"hex_timestamp":"0000019f408b2a50"} 
[2026-07-08 12:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:36:22] 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-07-08 12: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 12:36:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126231,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126231,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574461184001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574461184001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:36:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574461184001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":126231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451004,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:36:22] local.INFO: GPS data processed {"connection_id":126231,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:36:22] local.INFO: Acknowledgment sent {"connection_id":126231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:36:33] local.INFO: TCP Data received {"connection_id":125374,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f40884038012d7fa48005afdba8001600f928..."} 
[2026-07-08 12:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40884038012d7fa48005afdba8001600f928..."} 
[2026-07-08 12:36:33] local.INFO: Processing buffer {"connection_id":125374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40884038012d7fa48005afdba8001600f928..."} 
[2026-07-08 12:36:33] local.INFO: Packet analysis {"connection_id":125374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4088"} 
[2026-07-08 12:36:33] local.INFO: Extracted packet for processing {"connection_id":125374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4088"} 
[2026-07-08 12:36:33] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":22,"angle":249,"satellites":40,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574412032001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469655166976,"note":"Value kept but may cause issues"} 
[2026-07-08 12:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783494099000,"timestamp_ms":1783494099000,"timestamp_seconds":1783494099,"priority":1,"record_length":96,"hex_timestamp":"0000019f40884038"} 
[2026-07-08 12:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-08 12:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:36:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574412032001,"66":25995,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197687469655166976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574412032001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:36:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:36:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469655166976,"description":"Unknown IO ID 45"} 
[2026-07-08 12:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574412032001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469655166976}} 
[2026-07-08 12:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":125374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:36:33] local.INFO: GPS data processed {"connection_id":125374,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:36:33] local.INFO: Acknowledgment sent {"connection_id":125374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:36:38] local.INFO: TCP Data received {"connection_id":127486,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40891328012d1826400721b9b8005000dd27..."} 
[2026-07-08 12:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40891328012d1826400721b9b8005000dd27..."} 
[2026-07-08 12:36:38] local.INFO: Processing buffer {"connection_id":127486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40891328012d1826400721b9b8005000dd27..."} 
[2026-07-08 12:36:38] local.INFO: Packet analysis {"connection_id":127486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4089"} 
[2026-07-08 12:36:38] local.INFO: Extracted packet for processing {"connection_id":127486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4089"} 
[2026-07-08 12:36:38] local.INFO: GPS Element Parsed {"raw_longitude":756557376,"raw_latitude":119650744,"longitude_deg":75.6557376,"latitude_deg":11.9650744,"altitude":80,"angle":221,"satellites":39,"speed":6,"hex_longitude":"2d182640","hex_latitude":"0721b9b8","is_valid_coordinates":true} 
[2026-07-08 12:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574502656001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741059779231744,"note":"Value kept but may cause issues"} 
[2026-07-08 12:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740359811632617472,"note":"Value kept but may cause issues"} 
[2026-07-08 12:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783494153000,"timestamp_ms":1783494153000,"timestamp_seconds":1783494153,"priority":1,"record_length":96,"hex_timestamp":"0000019f40891328"} 
[2026-07-08 12:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-07-08 12:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574502656001,"66":13004,"120":206,"28":31744,"24":6,"16":4741059779231744,"45":1740359811632617472},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574502656001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:36:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:36:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741059779231744,"km_value":4741059779231.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740359811632617472,"description":"Unknown IO ID 45"} 
[2026-07-08 12:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574502656001,"power":13004,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1740359811632617472}} 
[2026-07-08 12:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":127486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:36:39] local.INFO: GPS data processed {"connection_id":127486,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:36:39] local.INFO: Acknowledgment sent {"connection_id":127486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:36:50] local.INFO: TCP Data received {"connection_id":126232,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126232,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:36:50] local.INFO: Processing buffer {"connection_id":126232,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:36:50] local.INFO: IMEI packet received {"connection_id":126232,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":126232,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:36:55] local.INFO: TCP Data received {"connection_id":126232,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126232,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:36:55] local.INFO: Processing buffer {"connection_id":126232,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:36:55] local.INFO: IMEI packet received {"connection_id":126232,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":126232,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:36:56] local.INFO: TCP Data received {"connection_id":126232,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f408b2a50012d0b130007029fc00011013422..."} 
[2026-07-08 12:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408b2a50012d0b130007029fc00011013422..."} 
[2026-07-08 12:36:56] local.INFO: Processing buffer {"connection_id":126232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408b2a50012d0b130007029fc00011013422..."} 
[2026-07-08 12:36:56] local.INFO: Packet analysis {"connection_id":126232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f408b"} 
[2026-07-08 12:36:56] local.INFO: Extracted packet for processing {"connection_id":126232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f408b"} 
[2026-07-08 12:36:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":17,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574461184001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783494290000,"timestamp_ms":1783494290000,"timestamp_seconds":1783494290,"priority":1,"record_length":96,"hex_timestamp":"0000019f408b2a50"} 
[2026-07-08 12:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:36:56] 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-07-08 12:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 12:36:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:36:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":126232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":126232,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":126232,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574461184001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574461184001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:36:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574461184001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":126232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451007,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:36:56] local.INFO: GPS data processed {"connection_id":126232,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:36:56] local.INFO: Acknowledgment sent {"connection_id":126232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:36:56] local.INFO: TCP Data received {"connection_id":126233,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:36:56] local.INFO: Processing buffer {"connection_id":126233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:36:56] local.INFO: IMEI packet received {"connection_id":126233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":126233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:37:00] local.INFO: TCP Data received {"connection_id":126232,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f408b2a50012d0b130007029fc00011013422..."} 
[2026-07-08 12:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408b2a50012d0b130007029fc00011013422..."} 
[2026-07-08 12:37:00] local.INFO: Processing buffer {"connection_id":126232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408b2a50012d0b130007029fc00011013422..."} 
[2026-07-08 12:37:00] local.INFO: Packet analysis {"connection_id":126232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f408b"} 
[2026-07-08 12:37:00] local.INFO: Extracted packet for processing {"connection_id":126232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f408b"} 
[2026-07-08 12:37:00] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":17,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574461184001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783494290000,"timestamp_ms":1783494290000,"timestamp_seconds":1783494290,"priority":1,"record_length":96,"hex_timestamp":"0000019f408b2a50"} 
[2026-07-08 12:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:37:00] 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-07-08 12: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 12:37:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126232,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126232,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574461184001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574461184001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:37:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574461184001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":126232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451008,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:37:01] local.INFO: GPS data processed {"connection_id":126232,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:37:01] local.INFO: Acknowledgment sent {"connection_id":126232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:37:01] local.INFO: TCP Data received {"connection_id":126233,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:37:01] local.INFO: Processing buffer {"connection_id":126233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:37:01] local.INFO: IMEI packet received {"connection_id":126233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":126233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:37:02] local.INFO: TCP Data received {"connection_id":126233,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f40884038012d7fa48005afdba8001600f928..."} 
[2026-07-08 12:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40884038012d7fa48005afdba8001600f928..."} 
[2026-07-08 12:37:02] local.INFO: Processing buffer {"connection_id":126233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40884038012d7fa48005afdba8001600f928..."} 
[2026-07-08 12:37:02] local.INFO: Packet analysis {"connection_id":126233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4088"} 
[2026-07-08 12:37:02] local.INFO: Extracted packet for processing {"connection_id":126233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4088"} 
[2026-07-08 12:37:02] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":22,"angle":249,"satellites":40,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574412032001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469655166976,"note":"Value kept but may cause issues"} 
[2026-07-08 12:37:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783494099000,"timestamp_ms":1783494099000,"timestamp_seconds":1783494099,"priority":1,"record_length":96,"hex_timestamp":"0000019f40884038"} 
[2026-07-08 12:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:37:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-08 12:37:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:37:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574412032001,"66":25995,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197687469655166976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574412032001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:37:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:37:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469655166976,"description":"Unknown IO ID 45"} 
[2026-07-08 12:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574412032001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469655166976}} 
[2026-07-08 12:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":126233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:37:02] local.INFO: GPS data processed {"connection_id":126233,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:37:02] local.INFO: Acknowledgment sent {"connection_id":126233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:37:02] local.INFO: TCP Data received {"connection_id":125472,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:37:02] local.INFO: Processing buffer {"connection_id":125472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:37:02] local.INFO: IMEI packet received {"connection_id":125472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":125472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:37:06] local.INFO: TCP Data received {"connection_id":125472,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:37:06] local.INFO: Processing buffer {"connection_id":125472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:37:06] local.INFO: IMEI packet received {"connection_id":125472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":125472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:37:11] local.INFO: TCP Data received {"connection_id":125472,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:37:11] local.INFO: Processing buffer {"connection_id":125472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:37:11] local.INFO: IMEI packet received {"connection_id":125472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":125472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:37:12] local.INFO: TCP Data received {"connection_id":125472,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40896530012d1825c00721b920005000dd27..."} 
[2026-07-08 12:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40896530012d1825c00721b920005000dd27..."} 
[2026-07-08 12:37:12] local.INFO: Processing buffer {"connection_id":125472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40896530012d1825c00721b920005000dd27..."} 
[2026-07-08 12:37:12] local.INFO: Packet analysis {"connection_id":125472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4089"} 
[2026-07-08 12:37:12] local.INFO: Extracted packet for processing {"connection_id":125472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4089"} 
[2026-07-08 12:37:12] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650592,"longitude_deg":75.6557248,"latitude_deg":11.9650592,"altitude":80,"angle":221,"satellites":39,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b920","is_valid_coordinates":true} 
[2026-07-08 12:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574503168001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741068369166336,"note":"Value kept but may cause issues"} 
[2026-07-08 12:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740148705400043520,"note":"Value kept but may cause issues"} 
[2026-07-08 12:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783494174000,"timestamp_ms":1783494174000,"timestamp_seconds":1783494174,"priority":1,"record_length":96,"hex_timestamp":"0000019f40896530"} 
[2026-07-08 12:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12: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-07-08 12:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-08 12:37: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-07-08 12:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574503168001,"66":13102,"120":206,"28":31744,"24":0,"16":4741068369166336,"45":1740148705400043520},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574503168001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:37:12] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:37:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741068369166336,"km_value":4741068369166.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740148705400043520,"description":"Unknown IO ID 45"} 
[2026-07-08 12:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574503168001,"power":13102,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740148705400043520}} 
[2026-07-08 12:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":125472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:37:12] local.INFO: GPS data processed {"connection_id":125472,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:37:12] local.INFO: Acknowledgment sent {"connection_id":125472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:37:15] local.INFO: TCP Data received {"connection_id":125472,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4089b738012d1825c00721b920005000dd25..."} 
[2026-07-08 12:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4089b738012d1825c00721b920005000dd25..."} 
[2026-07-08 12:37:16] local.INFO: Processing buffer {"connection_id":125472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4089b738012d1825c00721b920005000dd25..."} 
[2026-07-08 12:37:16] local.INFO: Packet analysis {"connection_id":125472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4089"} 
[2026-07-08 12:37:16] local.INFO: Extracted packet for processing {"connection_id":125472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4089"} 
[2026-07-08 12:37:16] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650592,"longitude_deg":75.6557248,"latitude_deg":11.9650592,"altitude":80,"angle":221,"satellites":37,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b920","is_valid_coordinates":true} 
[2026-07-08 12:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574508544001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741068369166336,"note":"Value kept but may cause issues"} 
[2026-07-08 12:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911649280,"note":"Value kept but may cause issues"} 
[2026-07-08 12:37:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783494195000,"timestamp_ms":1783494195000,"timestamp_seconds":1783494195,"priority":1,"record_length":96,"hex_timestamp":"0000019f4089b738"} 
[2026-07-08 12:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:37:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-08 12:37:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:37:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":125472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":125472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":125472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574508544001,"66":12993,"120":206,"28":31744,"24":0,"16":4741068369166336,"45":1740007967911649280},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574508544001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:37:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:37:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741068369166336,"km_value":4741068369166.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911649280,"description":"Unknown IO ID 45"} 
[2026-07-08 12:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574508544001,"power":12993,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740007967911649280}} 
[2026-07-08 12:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":125472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:37:16] local.INFO: GPS data processed {"connection_id":125472,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:37:16] local.INFO: Acknowledgment sent {"connection_id":125472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:37:33] local.INFO: TCP Data received {"connection_id":126233,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f408cd800012d7fa48005afdba8001700f926..."} 
[2026-07-08 12:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408cd800012d7fa48005afdba8001700f926..."} 
[2026-07-08 12:37:33] local.INFO: Processing buffer {"connection_id":126233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408cd800012d7fa48005afdba8001700f926..."} 
[2026-07-08 12:37:33] local.INFO: Packet analysis {"connection_id":126233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f408c"} 
[2026-07-08 12:37:33] local.INFO: Extracted packet for processing {"connection_id":126233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f408c"} 
[2026-07-08 12:37:33] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":23,"angle":249,"satellites":38,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574489344001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783494400000,"timestamp_ms":1783494400000,"timestamp_seconds":1783494400,"priority":1,"record_length":96,"hex_timestamp":"0000019f408cd800"} 
[2026-07-08 12:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-08 12:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574489344001,"66":25875,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574489344001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:37:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:37:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 12:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574489344001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 12:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":126233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:37:33] local.INFO: GPS data processed {"connection_id":126233,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:37:33] local.INFO: Acknowledgment sent {"connection_id":126233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:37:45] local.INFO: TCP Data received {"connection_id":125473,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125473,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:37:45] local.INFO: Processing buffer {"connection_id":125473,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:37:45] local.INFO: IMEI packet received {"connection_id":125473,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":125473,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:37:50] local.INFO: TCP Data received {"connection_id":125473,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125473,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:37:50] local.INFO: Processing buffer {"connection_id":125473,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:37:50] local.INFO: IMEI packet received {"connection_id":125473,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":125473,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:37:50] local.INFO: TCP Data received {"connection_id":125473,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f408b2a50012d0b130007029fc00011013422..."} 
[2026-07-08 12:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408b2a50012d0b130007029fc00011013422..."} 
[2026-07-08 12:37:50] local.INFO: Processing buffer {"connection_id":125473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408b2a50012d0b130007029fc00011013422..."} 
[2026-07-08 12:37:50] local.INFO: Packet analysis {"connection_id":125473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f408b"} 
[2026-07-08 12:37:50] local.INFO: Extracted packet for processing {"connection_id":125473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f408b"} 
[2026-07-08 12:37:50] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":17,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574461184001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:37:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:37:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783494290000,"timestamp_ms":1783494290000,"timestamp_seconds":1783494290,"priority":1,"record_length":96,"hex_timestamp":"0000019f408b2a50"} 
[2026-07-08 12:37:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:37:50] 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-07-08 12:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 12:37:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:37:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:37:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":125473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":125473,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":125473,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:37:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:37:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574461184001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:37:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:37:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:37:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574461184001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:37:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:37:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:37:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:37:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574461184001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":125473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451013,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:37:51] local.INFO: GPS data processed {"connection_id":125473,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:37:51] local.INFO: Acknowledgment sent {"connection_id":125473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:38:01] local.INFO: TCP Data received {"connection_id":125377,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:38:01] local.INFO: Processing buffer {"connection_id":125377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:38:01] local.INFO: IMEI packet received {"connection_id":125377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":125377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:38:01] local.INFO: TCP Data received {"connection_id":125376,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:38:01] local.INFO: Processing buffer {"connection_id":125376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:38:01] local.INFO: IMEI packet received {"connection_id":125376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":125376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:38:06] local.INFO: TCP Data received {"connection_id":125377,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:38:06] local.INFO: Processing buffer {"connection_id":125377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:38:06] local.INFO: IMEI packet received {"connection_id":125377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":125377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:38:06] local.INFO: TCP Data received {"connection_id":125376,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:38:06] local.INFO: Processing buffer {"connection_id":125376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:38:06] local.INFO: IMEI packet received {"connection_id":125376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":125376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:38:07] local.INFO: TCP Data received {"connection_id":125376,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f408cd800012d7fa48005afdba8001700f926..."} 
[2026-07-08 12:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408cd800012d7fa48005afdba8001700f926..."} 
[2026-07-08 12:38:07] local.INFO: Processing buffer {"connection_id":125376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408cd800012d7fa48005afdba8001700f926..."} 
[2026-07-08 12:38:07] local.INFO: Packet analysis {"connection_id":125376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f408c"} 
[2026-07-08 12:38:07] local.INFO: Extracted packet for processing {"connection_id":125376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f408c"} 
[2026-07-08 12:38:07] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":23,"angle":249,"satellites":38,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574489344001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783494400000,"timestamp_ms":1783494400000,"timestamp_seconds":1783494400,"priority":1,"record_length":96,"hex_timestamp":"0000019f408cd800"} 
[2026-07-08 12:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-08 12:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574489344001,"66":25875,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574489344001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:38:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:38:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 12:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574489344001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 12:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":125376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:38:07] local.INFO: GPS data processed {"connection_id":125376,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:38:07] local.INFO: Acknowledgment sent {"connection_id":125376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:38:07] local.INFO: TCP Data received {"connection_id":125377,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f408a0940012d1825c00721b920005000dd27..."} 
[2026-07-08 12:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408a0940012d1825c00721b920005000dd27..."} 
[2026-07-08 12:38:07] local.INFO: Processing buffer {"connection_id":125377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408a0940012d1825c00721b920005000dd27..."} 
[2026-07-08 12:38:07] local.INFO: Packet analysis {"connection_id":125377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f408a"} 
[2026-07-08 12:38:07] local.INFO: Extracted packet for processing {"connection_id":125377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f408a"} 
[2026-07-08 12:38:07] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650592,"longitude_deg":75.6557248,"latitude_deg":11.9650592,"altitude":80,"angle":221,"satellites":39,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b920","is_valid_coordinates":true} 
[2026-07-08 12:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574513920001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741068369166336,"note":"Value kept but may cause issues"} 
[2026-07-08 12:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911649280,"note":"Value kept but may cause issues"} 
[2026-07-08 12:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783494216000,"timestamp_ms":1783494216000,"timestamp_seconds":1783494216,"priority":1,"record_length":96,"hex_timestamp":"0000019f408a0940"} 
[2026-07-08 12:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-08 12:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574513920001,"66":12917,"120":206,"28":31744,"24":0,"16":4741068369166336,"45":1740007967911649280},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574513920001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:38:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:38:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741068369166336,"km_value":4741068369166.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911649280,"description":"Unknown IO ID 45"} 
[2026-07-08 12:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574513920001,"power":12917,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740007967911649280}} 
[2026-07-08 12:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":125377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:38:07] local.INFO: GPS data processed {"connection_id":125377,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:38:07] local.INFO: Acknowledgment sent {"connection_id":125377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:38:11] local.INFO: TCP Data received {"connection_id":125376,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f408cd800012d7fa48005afdba8001700f926..."} 
[2026-07-08 12:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408cd800012d7fa48005afdba8001700f926..."} 
[2026-07-08 12:38:11] local.INFO: Processing buffer {"connection_id":125376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408cd800012d7fa48005afdba8001700f926..."} 
[2026-07-08 12:38:11] local.INFO: Packet analysis {"connection_id":125376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f408c"} 
[2026-07-08 12:38:11] local.INFO: Extracted packet for processing {"connection_id":125376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f408c"} 
[2026-07-08 12:38:11] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":23,"angle":249,"satellites":38,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574489344001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783494400000,"timestamp_ms":1783494400000,"timestamp_seconds":1783494400,"priority":1,"record_length":96,"hex_timestamp":"0000019f408cd800"} 
[2026-07-08 12:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-08 12:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574489344001,"66":25875,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574489344001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:38:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:38:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 12:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574489344001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 12:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":125376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:38:11] local.INFO: GPS data processed {"connection_id":125376,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:38:11] local.INFO: Acknowledgment sent {"connection_id":125376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:38:21] local.INFO: TCP Data received {"connection_id":126235,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126235,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:38:21] local.INFO: Processing buffer {"connection_id":126235,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:38:21] local.INFO: IMEI packet received {"connection_id":126235,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 12:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":126235,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:38:22] local.INFO: TCP Data received {"connection_id":125473,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f408b2a50012d0b130007029fc00011013422..."} 
[2026-07-08 12:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408b2a50012d0b130007029fc00011013422..."} 
[2026-07-08 12:38:22] local.INFO: Processing buffer {"connection_id":125473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408b2a50012d0b130007029fc00011013422..."} 
[2026-07-08 12:38:22] local.INFO: Packet analysis {"connection_id":125473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f408b"} 
[2026-07-08 12:38:22] local.INFO: Extracted packet for processing {"connection_id":125473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f408b"} 
[2026-07-08 12:38:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":17,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574461184001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783494290000,"timestamp_ms":1783494290000,"timestamp_seconds":1783494290,"priority":1,"record_length":96,"hex_timestamp":"0000019f408b2a50"} 
[2026-07-08 12:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:38:22] 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-07-08 12: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 12:38:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125473,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125473,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574461184001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574461184001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:38:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574461184001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":125473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451017,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:38:22] local.INFO: GPS data processed {"connection_id":125473,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:38:22] local.INFO: Acknowledgment sent {"connection_id":125473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:38:39] local.INFO: TCP Data received {"connection_id":125377,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f408a5b48012d1825c00721b920005000dd26..."} 
[2026-07-08 12:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408a5b48012d1825c00721b920005000dd26..."} 
[2026-07-08 12:38:39] local.INFO: Processing buffer {"connection_id":125377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408a5b48012d1825c00721b920005000dd26..."} 
[2026-07-08 12:38:39] local.INFO: Packet analysis {"connection_id":125377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f408a"} 
[2026-07-08 12:38:39] local.INFO: Extracted packet for processing {"connection_id":125377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f408a"} 
[2026-07-08 12:38:39] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650592,"longitude_deg":75.6557248,"latitude_deg":11.9650592,"altitude":80,"angle":221,"satellites":38,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b920","is_valid_coordinates":true} 
[2026-07-08 12:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574519296001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741068369166336,"note":"Value kept but may cause issues"} 
[2026-07-08 12:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911649280,"note":"Value kept but may cause issues"} 
[2026-07-08 12:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783494237000,"timestamp_ms":1783494237000,"timestamp_seconds":1783494237,"priority":1,"record_length":96,"hex_timestamp":"0000019f408a5b48"} 
[2026-07-08 12:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-08 12:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574519296001,"66":11189,"120":206,"28":31744,"24":0,"16":4741068369166336,"45":1740007967911649280},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574519296001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:38:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:38:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741068369166336,"km_value":4741068369166.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911649280,"description":"Unknown IO ID 45"} 
[2026-07-08 12:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574519296001,"power":11189,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740007967911649280}} 
[2026-07-08 12:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":125377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:38:39] local.INFO: GPS data processed {"connection_id":125377,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:38:39] local.INFO: Acknowledgment sent {"connection_id":125377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:38:45] local.INFO: TCP Data received {"connection_id":127487,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127487,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:38:45] local.INFO: Processing buffer {"connection_id":127487,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:38:45] local.INFO: IMEI packet received {"connection_id":127487,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":127487,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:38:50] local.INFO: TCP Data received {"connection_id":127487,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127487,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:38:50] local.INFO: Processing buffer {"connection_id":127487,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:38:50] local.INFO: IMEI packet received {"connection_id":127487,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":127487,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:38:51] local.INFO: TCP Data received {"connection_id":127487,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f408b2a50012d0b130007029fc00011013422..."} 
[2026-07-08 12:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408b2a50012d0b130007029fc00011013422..."} 
[2026-07-08 12:38:51] local.INFO: Processing buffer {"connection_id":127487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408b2a50012d0b130007029fc00011013422..."} 
[2026-07-08 12:38:51] local.INFO: Packet analysis {"connection_id":127487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f408b"} 
[2026-07-08 12:38:51] local.INFO: Extracted packet for processing {"connection_id":127487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f408b"} 
[2026-07-08 12:38:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":17,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574461184001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783494290000,"timestamp_ms":1783494290000,"timestamp_seconds":1783494290,"priority":1,"record_length":96,"hex_timestamp":"0000019f408b2a50"} 
[2026-07-08 12:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:38: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-07-08 12:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 12:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127487,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127487,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574461184001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574461184001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:38:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574461184001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":127487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451019,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:38:51] local.INFO: GPS data processed {"connection_id":127487,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:38:51] local.INFO: Acknowledgment sent {"connection_id":127487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:38:56] local.INFO: TCP Data received {"connection_id":125474,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:38:56] local.INFO: Processing buffer {"connection_id":125474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:38:56] local.INFO: IMEI packet received {"connection_id":125474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":125474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:39:00] local.INFO: TCP Data received {"connection_id":125475,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:39:00] local.INFO: Processing buffer {"connection_id":125475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:39:00] local.INFO: IMEI packet received {"connection_id":125475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":125475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:39:01] local.INFO: TCP Data received {"connection_id":125474,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:39:01] local.INFO: Processing buffer {"connection_id":125474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:39:01] local.INFO: IMEI packet received {"connection_id":125474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":125474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:39:02] local.INFO: TCP Data received {"connection_id":125474,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f408cd800012d7fa48005afdba8001700f926..."} 
[2026-07-08 12:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408cd800012d7fa48005afdba8001700f926..."} 
[2026-07-08 12:39:02] local.INFO: Processing buffer {"connection_id":125474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408cd800012d7fa48005afdba8001700f926..."} 
[2026-07-08 12:39:02] local.INFO: Packet analysis {"connection_id":125474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f408c"} 
[2026-07-08 12:39:02] local.INFO: Extracted packet for processing {"connection_id":125474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f408c"} 
[2026-07-08 12:39:02] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":23,"angle":249,"satellites":38,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574489344001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783494400000,"timestamp_ms":1783494400000,"timestamp_seconds":1783494400,"priority":1,"record_length":96,"hex_timestamp":"0000019f408cd800"} 
[2026-07-08 12:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-08 12:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574489344001,"66":25875,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574489344001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:39:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:39:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 12:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574489344001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 12:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":125474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:39:02] local.INFO: GPS data processed {"connection_id":125474,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:39:02] local.INFO: Acknowledgment sent {"connection_id":125474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:39:06] local.INFO: TCP Data received {"connection_id":125475,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:39:06] local.INFO: Processing buffer {"connection_id":125475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:39:06] local.INFO: IMEI packet received {"connection_id":125475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":125475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:39:08] local.INFO: TCP Data received {"connection_id":125475,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f408aad50012d1825c00721b920005000dd26..."} 
[2026-07-08 12:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408aad50012d1825c00721b920005000dd26..."} 
[2026-07-08 12:39:08] local.INFO: Processing buffer {"connection_id":125475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408aad50012d1825c00721b920005000dd26..."} 
[2026-07-08 12:39:08] local.INFO: Packet analysis {"connection_id":125475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f408a"} 
[2026-07-08 12:39:08] local.INFO: Extracted packet for processing {"connection_id":125475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f408a"} 
[2026-07-08 12:39:08] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650592,"longitude_deg":75.6557248,"latitude_deg":11.9650592,"altitude":80,"angle":221,"satellites":38,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b920","is_valid_coordinates":true} 
[2026-07-08 12:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574524672001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741068369166336,"note":"Value kept but may cause issues"} 
[2026-07-08 12:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911649280,"note":"Value kept but may cause issues"} 
[2026-07-08 12:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783494258000,"timestamp_ms":1783494258000,"timestamp_seconds":1783494258,"priority":1,"record_length":96,"hex_timestamp":"0000019f408aad50"} 
[2026-07-08 12:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-08 12:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2042,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574524672001,"66":12711,"120":206,"28":31744,"24":0,"16":4741068369166336,"45":1740007967911649280},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574524672001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:39:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:39:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741068369166336,"km_value":4741068369166.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911649280,"description":"Unknown IO ID 45"} 
[2026-07-08 12:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574524672001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740007967911649280}} 
[2026-07-08 12:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":125475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:39:08] local.INFO: GPS data processed {"connection_id":125475,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:39:08] local.INFO: Acknowledgment sent {"connection_id":125475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:39:11] local.INFO: TCP Data received {"connection_id":126236,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126236,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:39:11] local.INFO: Processing buffer {"connection_id":126236,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:39:11] local.INFO: IMEI packet received {"connection_id":126236,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 12:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":126236,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:39:15] local.INFO: TCP Data received {"connection_id":126236,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126236,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:39:15] local.INFO: Processing buffer {"connection_id":126236,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:39:15] local.INFO: IMEI packet received {"connection_id":126236,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 12:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":126236,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:39:16] local.INFO: TCP Data received {"connection_id":126236,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126236,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:39:16] local.INFO: Processing buffer {"connection_id":126236,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:39:16] local.INFO: IMEI packet received {"connection_id":126236,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 12:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":126236,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:39:22] local.INFO: TCP Data received {"connection_id":127487,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f408b2a50012d0b130007029fc00011013422..."} 
[2026-07-08 12:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408b2a50012d0b130007029fc00011013422..."} 
[2026-07-08 12:39:22] local.INFO: Processing buffer {"connection_id":127487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408b2a50012d0b130007029fc00011013422..."} 
[2026-07-08 12:39:22] local.INFO: Packet analysis {"connection_id":127487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f408b"} 
[2026-07-08 12:39:22] local.INFO: Extracted packet for processing {"connection_id":127487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f408b"} 
[2026-07-08 12:39:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":17,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 12:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574461184001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783494290000,"timestamp_ms":1783494290000,"timestamp_seconds":1783494290,"priority":1,"record_length":96,"hex_timestamp":"0000019f408b2a50"} 
[2026-07-08 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-07-08 12:39:22] 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-07-08 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 12:39:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 12:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":127487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":127487,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":127487,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574461184001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574461184001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:39:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574461184001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":127487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451022,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:39:22] local.INFO: GPS data processed {"connection_id":127487,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:39:22] local.INFO: Acknowledgment sent {"connection_id":127487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:39:33] local.INFO: TCP Data received {"connection_id":125474,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f408cd800012d7fa48005afdba8001700f926..."} 
[2026-07-08 12:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408cd800012d7fa48005afdba8001700f926..."} 
[2026-07-08 12:39:33] local.INFO: Processing buffer {"connection_id":125474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408cd800012d7fa48005afdba8001700f926..."} 
[2026-07-08 12:39:33] local.INFO: Packet analysis {"connection_id":125474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f408c"} 
[2026-07-08 12:39:33] local.INFO: Extracted packet for processing {"connection_id":125474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f408c"} 
[2026-07-08 12:39:33] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":23,"angle":249,"satellites":38,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574489344001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783494400000,"timestamp_ms":1783494400000,"timestamp_seconds":1783494400,"priority":1,"record_length":96,"hex_timestamp":"0000019f408cd800"} 
[2026-07-08 12:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-08 12:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574489344001,"66":25875,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574489344001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:39:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:39:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 12:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574489344001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 12:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":125474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:39:33] local.INFO: GPS data processed {"connection_id":125474,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:39:33] local.INFO: Acknowledgment sent {"connection_id":125474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:39:39] local.INFO: TCP Data received {"connection_id":125475,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f408e33a8012d1824400721b8e8004d00dd27..."} 
[2026-07-08 12:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408e33a8012d1824400721b8e8004d00dd27..."} 
[2026-07-08 12:39:39] local.INFO: Processing buffer {"connection_id":125475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408e33a8012d1824400721b8e8004d00dd27..."} 
[2026-07-08 12:39:39] local.INFO: Packet analysis {"connection_id":125475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f408e"} 
[2026-07-08 12:39:39] local.INFO: Extracted packet for processing {"connection_id":125475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f408e"} 
[2026-07-08 12:39:39] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650536,"longitude_deg":75.6556864,"latitude_deg":11.9650536,"altitude":77,"angle":221,"satellites":39,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b8e8","is_valid_coordinates":true} 
[2026-07-08 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-07-08 12:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574583808001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741089844002816,"note":"Value kept but may cause issues"} 
[2026-07-08 12:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446568960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783494489000,"timestamp_ms":1783494489000,"timestamp_seconds":1783494489,"priority":1,"record_length":96,"hex_timestamp":"0000019f408e33a8"} 
[2026-07-08 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-07-08 12:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 12:39: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-07-08 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-07-08 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-07-08 12:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574583808001,"66":12385,"120":206,"28":31744,"24":0,"16":4741089844002816,"45":1739585755446568960},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574583808001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:39:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:39:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741089844002816,"km_value":4741089844002.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446568960,"description":"Unknown IO ID 45"} 
[2026-07-08 12:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574583808001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739585755446568960}} 
[2026-07-08 12:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":125475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:39:40] local.INFO: GPS data processed {"connection_id":125475,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:39:40] local.INFO: Acknowledgment sent {"connection_id":125475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:39:50] local.INFO: TCP Data received {"connection_id":125476,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125476,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:39:50] local.INFO: Processing buffer {"connection_id":125476,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:39:50] local.INFO: IMEI packet received {"connection_id":125476,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":125476,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:39:53] local.INFO: TCP Data received {"connection_id":125476,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125476,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:39:53] local.INFO: Processing buffer {"connection_id":125476,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:39:53] local.INFO: IMEI packet received {"connection_id":125476,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":125476,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:39:54] local.INFO: TCP Data received {"connection_id":125476,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f408fc218012d0b130007029fc00001013421..."} 
[2026-07-08 12:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408fc218012d0b130007029fc00001013421..."} 
[2026-07-08 12:39:54] local.INFO: Processing buffer {"connection_id":125476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408fc218012d0b130007029fc00001013421..."} 
[2026-07-08 12:39:54] local.INFO: Packet analysis {"connection_id":125476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f408f"} 
[2026-07-08 12:39:54] local.INFO: Extracted packet for processing {"connection_id":125476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f408f"} 
[2026-07-08 12:39:54] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":1,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574538240001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:39:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783494591000,"timestamp_ms":1783494591000,"timestamp_seconds":1783494591,"priority":1,"record_length":96,"hex_timestamp":"0000019f408fc218"} 
[2026-07-08 12:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:39:54] 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-07-08 12: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":125476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":125476,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":125476,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:39:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574538240001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574538240001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:39:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574538240001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":125476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451025,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:39:54] local.INFO: GPS data processed {"connection_id":125476,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:39:54] local.INFO: Acknowledgment sent {"connection_id":125476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:39:56] local.INFO: TCP Data received {"connection_id":126238,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:39:56] local.INFO: Processing buffer {"connection_id":126238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:39:56] local.INFO: IMEI packet received {"connection_id":126238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":126238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:40:01] local.INFO: TCP Data received {"connection_id":126238,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:40:01] local.INFO: Processing buffer {"connection_id":126238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:40:01] local.INFO: IMEI packet received {"connection_id":126238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":126238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:40:02] local.INFO: TCP Data received {"connection_id":126238,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f408cd800012d7fa48005afdba8001700f926..."} 
[2026-07-08 12:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408cd800012d7fa48005afdba8001700f926..."} 
[2026-07-08 12:40:02] local.INFO: Processing buffer {"connection_id":126238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408cd800012d7fa48005afdba8001700f926..."} 
[2026-07-08 12:40:02] local.INFO: Packet analysis {"connection_id":126238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f408c"} 
[2026-07-08 12:40:02] local.INFO: Extracted packet for processing {"connection_id":126238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f408c"} 
[2026-07-08 12:40:02] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":23,"angle":249,"satellites":38,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574489344001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783494400000,"timestamp_ms":1783494400000,"timestamp_seconds":1783494400,"priority":1,"record_length":96,"hex_timestamp":"0000019f408cd800"} 
[2026-07-08 12:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-08 12:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574489344001,"66":25875,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574489344001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:40:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:40:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 12:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574489344001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 12:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":126238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:40:02] local.INFO: GPS data processed {"connection_id":126238,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:40:02] local.INFO: Acknowledgment sent {"connection_id":126238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:40:06] local.INFO: TCP Data received {"connection_id":127488,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:40:06] local.INFO: Processing buffer {"connection_id":127488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:40:06] local.INFO: IMEI packet received {"connection_id":127488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":127488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:40:10] local.INFO: TCP Data received {"connection_id":127488,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:40:10] local.INFO: Processing buffer {"connection_id":127488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:40:10] local.INFO: IMEI packet received {"connection_id":127488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":127488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:40:11] local.INFO: TCP Data received {"connection_id":127488,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:40:11] local.INFO: Processing buffer {"connection_id":127488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:40:11] local.INFO: IMEI packet received {"connection_id":127488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":127488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:40:20] local.INFO: TCP Data received {"connection_id":127488,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f408e85b0012d1824400721b8e8004d00dd28..."} 
[2026-07-08 12:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408e85b0012d1824400721b8e8004d00dd28..."} 
[2026-07-08 12:40:20] local.INFO: Processing buffer {"connection_id":127488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408e85b0012d1824400721b8e8004d00dd28..."} 
[2026-07-08 12:40:20] local.INFO: Packet analysis {"connection_id":127488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f408e"} 
[2026-07-08 12:40:20] local.INFO: Extracted packet for processing {"connection_id":127488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f408e"} 
[2026-07-08 12:40:20] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650536,"longitude_deg":75.6556864,"latitude_deg":11.9650536,"altitude":77,"angle":221,"satellites":40,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b8e8","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574589184001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741089844002816,"note":"Value kept but may cause issues"} 
[2026-07-08 12:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446568960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783494510000,"timestamp_ms":1783494510000,"timestamp_seconds":1783494510,"priority":1,"record_length":96,"hex_timestamp":"0000019f408e85b0"} 
[2026-07-08 12:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 12:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":127488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":127488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":127488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574589184001,"66":12385,"120":206,"28":31744,"24":0,"16":4741089844002816,"45":1739585755446568960},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574589184001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:40:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:40:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741089844002816,"km_value":4741089844002.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446568960,"description":"Unknown IO ID 45"} 
[2026-07-08 12:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574589184001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739585755446568960}} 
[2026-07-08 12:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":127488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:40:20] local.INFO: GPS data processed {"connection_id":127488,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:40:20] local.INFO: Acknowledgment sent {"connection_id":127488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:40:22] local.INFO: TCP Data received {"connection_id":127488,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f408ed7b8012d1824400721b8e8004d00dd29..."} 
[2026-07-08 12:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408ed7b8012d1824400721b8e8004d00dd29..."} 
[2026-07-08 12:40:22] local.INFO: Processing buffer {"connection_id":127488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408ed7b8012d1824400721b8e8004d00dd29..."} 
[2026-07-08 12:40:22] local.INFO: Packet analysis {"connection_id":127488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f408e"} 
[2026-07-08 12:40:22] local.INFO: Extracted packet for processing {"connection_id":127488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f408e"} 
[2026-07-08 12:40:22] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650536,"longitude_deg":75.6556864,"latitude_deg":11.9650536,"altitude":77,"angle":221,"satellites":41,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b8e8","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574594560001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741089844002816,"note":"Value kept but may cause issues"} 
[2026-07-08 12:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446568960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783494531000,"timestamp_ms":1783494531000,"timestamp_seconds":1783494531,"priority":1,"record_length":96,"hex_timestamp":"0000019f408ed7b8"} 
[2026-07-08 12:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 12:40: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-07-08 12: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-07-08 12:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":127488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":127488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":127488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574594560001,"66":12406,"120":206,"28":31744,"24":0,"16":4741089844002816,"45":1739585755446568960},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574594560001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:40:22] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:40:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741089844002816,"km_value":4741089844002.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446568960,"description":"Unknown IO ID 45"} 
[2026-07-08 12:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574594560001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739585755446568960}} 
[2026-07-08 12:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":127488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:40:22] local.INFO: GPS data processed {"connection_id":127488,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:40:22] local.INFO: Acknowledgment sent {"connection_id":127488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:40:26] local.INFO: TCP Data received {"connection_id":125476,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f408fc218012d0b130007029fc00001013421..."} 
[2026-07-08 12:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408fc218012d0b130007029fc00001013421..."} 
[2026-07-08 12:40:26] local.INFO: Processing buffer {"connection_id":125476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408fc218012d0b130007029fc00001013421..."} 
[2026-07-08 12:40:26] local.INFO: Packet analysis {"connection_id":125476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f408f"} 
[2026-07-08 12:40:26] local.INFO: Extracted packet for processing {"connection_id":125476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f408f"} 
[2026-07-08 12:40:26] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":1,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 12:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574538240001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:40:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783494591000,"timestamp_ms":1783494591000,"timestamp_seconds":1783494591,"priority":1,"record_length":96,"hex_timestamp":"0000019f408fc218"} 
[2026-07-08 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-07-08 12:40:26] 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-07-08 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:40:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 12:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":125476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":125476,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":125476,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:40:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574538240001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574538240001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:40:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:40:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574538240001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":125476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451029,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:40:26] local.INFO: GPS data processed {"connection_id":125476,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:40:26] local.INFO: Acknowledgment sent {"connection_id":125476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:40:33] local.INFO: TCP Data received {"connection_id":126238,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f408cd800012d7fa48005afdba8001700f926..."} 
[2026-07-08 12:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408cd800012d7fa48005afdba8001700f926..."} 
[2026-07-08 12:40:33] local.INFO: Processing buffer {"connection_id":126238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408cd800012d7fa48005afdba8001700f926..."} 
[2026-07-08 12:40:33] local.INFO: Packet analysis {"connection_id":126238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f408c"} 
[2026-07-08 12:40:33] local.INFO: Extracted packet for processing {"connection_id":126238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f408c"} 
[2026-07-08 12:40:33] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":23,"angle":249,"satellites":38,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574489344001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783494400000,"timestamp_ms":1783494400000,"timestamp_seconds":1783494400,"priority":1,"record_length":96,"hex_timestamp":"0000019f408cd800"} 
[2026-07-08 12:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-08 12:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574489344001,"66":25875,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574489344001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:40:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:40:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 12:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574489344001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 12:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":126238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:40:33] local.INFO: GPS data processed {"connection_id":126238,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:40:33] local.INFO: Acknowledgment sent {"connection_id":126238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:40:45] local.INFO: TCP Data received {"connection_id":127489,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127489,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:40:45] local.INFO: Processing buffer {"connection_id":127489,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:40:45] local.INFO: IMEI packet received {"connection_id":127489,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":127489,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:40:50] local.INFO: TCP Data received {"connection_id":127489,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127489,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:40:50] local.INFO: Processing buffer {"connection_id":127489,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:40:50] local.INFO: IMEI packet received {"connection_id":127489,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":127489,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:40:51] local.INFO: TCP Data received {"connection_id":127489,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f408fc218012d0b130007029fc00001013421..."} 
[2026-07-08 12:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408fc218012d0b130007029fc00001013421..."} 
[2026-07-08 12:40:51] local.INFO: Processing buffer {"connection_id":127489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408fc218012d0b130007029fc00001013421..."} 
[2026-07-08 12:40:51] local.INFO: Packet analysis {"connection_id":127489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f408f"} 
[2026-07-08 12:40:51] local.INFO: Extracted packet for processing {"connection_id":127489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f408f"} 
[2026-07-08 12:40:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":1,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574538240001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783494591000,"timestamp_ms":1783494591000,"timestamp_seconds":1783494591,"priority":1,"record_length":96,"hex_timestamp":"0000019f408fc218"} 
[2026-07-08 12:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:40:51] 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-07-08 12: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127489,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127489,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574538240001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574538240001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:40:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574538240001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":127489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451031,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:40:51] local.INFO: GPS data processed {"connection_id":127489,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:40:51] local.INFO: Acknowledgment sent {"connection_id":127489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:40:56] local.INFO: TCP Data received {"connection_id":127490,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:40:56] local.INFO: Processing buffer {"connection_id":127490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:40:56] local.INFO: IMEI packet received {"connection_id":127490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":127490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:41:00] local.INFO: TCP Data received {"connection_id":127491,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:41:00] local.INFO: Processing buffer {"connection_id":127491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:41:00] local.INFO: IMEI packet received {"connection_id":127491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":127491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:41:01] local.INFO: TCP Data received {"connection_id":127490,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:41:01] local.INFO: Processing buffer {"connection_id":127490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:41:01] local.INFO: IMEI packet received {"connection_id":127490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":127490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:41:02] local.INFO: TCP Data received {"connection_id":127490,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f408cd800012d7fa48005afdba8001700f926..."} 
[2026-07-08 12:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408cd800012d7fa48005afdba8001700f926..."} 
[2026-07-08 12:41:02] local.INFO: Processing buffer {"connection_id":127490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408cd800012d7fa48005afdba8001700f926..."} 
[2026-07-08 12:41:02] local.INFO: Packet analysis {"connection_id":127490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f408c"} 
[2026-07-08 12:41:02] local.INFO: Extracted packet for processing {"connection_id":127490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f408c"} 
[2026-07-08 12:41:02] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":23,"angle":249,"satellites":38,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574489344001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783494400000,"timestamp_ms":1783494400000,"timestamp_seconds":1783494400,"priority":1,"record_length":96,"hex_timestamp":"0000019f408cd800"} 
[2026-07-08 12:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-08 12:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574489344001,"66":25875,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574489344001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:41:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:41:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 12:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574489344001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 12:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":127490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:41:02] local.INFO: GPS data processed {"connection_id":127490,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:41:02] local.INFO: Acknowledgment sent {"connection_id":127490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:41:06] local.INFO: TCP Data received {"connection_id":127491,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:41:06] local.INFO: Processing buffer {"connection_id":127491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:41:06] local.INFO: IMEI packet received {"connection_id":127491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":127491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:41:07] local.INFO: TCP Data received {"connection_id":127491,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f408f29c0012d1824400721b8e8004d00dd28..."} 
[2026-07-08 12:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408f29c0012d1824400721b8e8004d00dd28..."} 
[2026-07-08 12:41:07] local.INFO: Processing buffer {"connection_id":127491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408f29c0012d1824400721b8e8004d00dd28..."} 
[2026-07-08 12:41:07] local.INFO: Packet analysis {"connection_id":127491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f408f"} 
[2026-07-08 12:41:07] local.INFO: Extracted packet for processing {"connection_id":127491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f408f"} 
[2026-07-08 12:41:07] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650536,"longitude_deg":75.6556864,"latitude_deg":11.9650536,"altitude":77,"angle":221,"satellites":40,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b8e8","is_valid_coordinates":true} 
[2026-07-08 12:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574599936001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741089844002816,"note":"Value kept but may cause issues"} 
[2026-07-08 12:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446568960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783494552000,"timestamp_ms":1783494552000,"timestamp_seconds":1783494552,"priority":1,"record_length":96,"hex_timestamp":"0000019f408f29c0"} 
[2026-07-08 12:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 12:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574599936001,"66":12385,"120":206,"28":31744,"24":0,"16":4741089844002816,"45":1739585755446568960},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574599936001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:41:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:41:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741089844002816,"km_value":4741089844002.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446568960,"description":"Unknown IO ID 45"} 
[2026-07-08 12:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574599936001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739585755446568960}} 
[2026-07-08 12:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":127491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:41:07] local.INFO: GPS data processed {"connection_id":127491,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:41:07] local.INFO: Acknowledgment sent {"connection_id":127491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:41:22] local.INFO: TCP Data received {"connection_id":127489,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f408fc218012d0b130007029fc00001013421..."} 
[2026-07-08 12:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408fc218012d0b130007029fc00001013421..."} 
[2026-07-08 12:41:22] local.INFO: Processing buffer {"connection_id":127489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408fc218012d0b130007029fc00001013421..."} 
[2026-07-08 12:41:22] local.INFO: Packet analysis {"connection_id":127489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f408f"} 
[2026-07-08 12:41:22] local.INFO: Extracted packet for processing {"connection_id":127489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f408f"} 
[2026-07-08 12:41:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":1,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574538240001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783494591000,"timestamp_ms":1783494591000,"timestamp_seconds":1783494591,"priority":1,"record_length":96,"hex_timestamp":"0000019f408fc218"} 
[2026-07-08 12:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:41:22] 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-07-08 12: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":127489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":127489,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":127489,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574538240001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574538240001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:41:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574538240001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":127489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451034,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:41:22] local.INFO: GPS data processed {"connection_id":127489,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:41:22] local.INFO: Acknowledgment sent {"connection_id":127489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:41:33] local.INFO: TCP Data received {"connection_id":127490,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f408cd800012d7fa48005afdba8001700f926..."} 
[2026-07-08 12:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408cd800012d7fa48005afdba8001700f926..."} 
[2026-07-08 12:41:33] local.INFO: Processing buffer {"connection_id":127490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408cd800012d7fa48005afdba8001700f926..."} 
[2026-07-08 12:41:33] local.INFO: Packet analysis {"connection_id":127490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f408c"} 
[2026-07-08 12:41:33] local.INFO: Extracted packet for processing {"connection_id":127490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f408c"} 
[2026-07-08 12:41:33] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":23,"angle":249,"satellites":38,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574489344001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783494400000,"timestamp_ms":1783494400000,"timestamp_seconds":1783494400,"priority":1,"record_length":96,"hex_timestamp":"0000019f408cd800"} 
[2026-07-08 12:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-08 12:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574489344001,"66":25875,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574489344001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:41:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:41:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 12:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574489344001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 12:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":127490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:41:33] local.INFO: GPS data processed {"connection_id":127490,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:41:33] local.INFO: Acknowledgment sent {"connection_id":127490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:41:38] local.INFO: TCP Data received {"connection_id":127491,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f408f7bc8012d1824400721b8e8004d00dd25..."} 
[2026-07-08 12:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408f7bc8012d1824400721b8e8004d00dd25..."} 
[2026-07-08 12:41:38] local.INFO: Processing buffer {"connection_id":127491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408f7bc8012d1824400721b8e8004d00dd25..."} 
[2026-07-08 12:41:38] local.INFO: Packet analysis {"connection_id":127491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f408f"} 
[2026-07-08 12:41:38] local.INFO: Extracted packet for processing {"connection_id":127491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f408f"} 
[2026-07-08 12:41:38] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650536,"longitude_deg":75.6556864,"latitude_deg":11.9650536,"altitude":77,"angle":221,"satellites":37,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b8e8","is_valid_coordinates":true} 
[2026-07-08 12:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574605312001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741089844002816,"note":"Value kept but may cause issues"} 
[2026-07-08 12:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446568960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783494573000,"timestamp_ms":1783494573000,"timestamp_seconds":1783494573,"priority":1,"record_length":96,"hex_timestamp":"0000019f408f7bc8"} 
[2026-07-08 12:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 12:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574605312001,"66":11819,"120":206,"28":31744,"24":0,"16":4741089844002816,"45":1739585755446568960},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574605312001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:41:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:41:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741089844002816,"km_value":4741089844002.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446568960,"description":"Unknown IO ID 45"} 
[2026-07-08 12:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574605312001,"power":11819,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739585755446568960}} 
[2026-07-08 12:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":127491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:41:38] local.INFO: GPS data processed {"connection_id":127491,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:41:38] local.INFO: Acknowledgment sent {"connection_id":127491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:41:45] local.INFO: TCP Data received {"connection_id":125378,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125378,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:41:45] local.INFO: Processing buffer {"connection_id":125378,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:41:45] local.INFO: IMEI packet received {"connection_id":125378,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":125378,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:41:50] local.INFO: TCP Data received {"connection_id":125378,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125378,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:41:50] local.INFO: Processing buffer {"connection_id":125378,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:41:50] local.INFO: IMEI packet received {"connection_id":125378,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":125378,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:41:51] local.INFO: TCP Data received {"connection_id":125378,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f408fc218012d0b130007029fc00001013421..."} 
[2026-07-08 12:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408fc218012d0b130007029fc00001013421..."} 
[2026-07-08 12:41:51] local.INFO: Processing buffer {"connection_id":125378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408fc218012d0b130007029fc00001013421..."} 
[2026-07-08 12:41:51] local.INFO: Packet analysis {"connection_id":125378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f408f"} 
[2026-07-08 12:41:51] local.INFO: Extracted packet for processing {"connection_id":125378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f408f"} 
[2026-07-08 12:41:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":1,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574538240001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783494591000,"timestamp_ms":1783494591000,"timestamp_seconds":1783494591,"priority":1,"record_length":96,"hex_timestamp":"0000019f408fc218"} 
[2026-07-08 12:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:41:51] 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-07-08 12:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125378,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125378,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574538240001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574538240001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:41:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574538240001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":125378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451037,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:41:51] local.INFO: GPS data processed {"connection_id":125378,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:41:51] local.INFO: Acknowledgment sent {"connection_id":125378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:41:56] local.INFO: TCP Data received {"connection_id":127493,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:41:56] local.INFO: Processing buffer {"connection_id":127493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:41:56] local.INFO: IMEI packet received {"connection_id":127493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":127493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:42:00] local.INFO: TCP Data received {"connection_id":125379,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:42:00] local.INFO: Processing buffer {"connection_id":125379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:42:00] local.INFO: IMEI packet received {"connection_id":125379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":125379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:42:01] local.INFO: TCP Data received {"connection_id":127493,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:42:01] local.INFO: Processing buffer {"connection_id":127493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:42:01] local.INFO: IMEI packet received {"connection_id":127493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":127493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:42:02] local.INFO: TCP Data received {"connection_id":127493,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f408cd800012d7fa48005afdba8001700f926..."} 
[2026-07-08 12:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408cd800012d7fa48005afdba8001700f926..."} 
[2026-07-08 12:42:02] local.INFO: Processing buffer {"connection_id":127493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408cd800012d7fa48005afdba8001700f926..."} 
[2026-07-08 12:42:02] local.INFO: Packet analysis {"connection_id":127493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f408c"} 
[2026-07-08 12:42:02] local.INFO: Extracted packet for processing {"connection_id":127493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f408c"} 
[2026-07-08 12:42:02] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":23,"angle":249,"satellites":38,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574489344001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783494400000,"timestamp_ms":1783494400000,"timestamp_seconds":1783494400,"priority":1,"record_length":96,"hex_timestamp":"0000019f408cd800"} 
[2026-07-08 12:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-08 12:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574489344001,"66":25875,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574489344001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:42:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:42:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 12:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574489344001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 12:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":127493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:42:02] local.INFO: GPS data processed {"connection_id":127493,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:42:02] local.INFO: Acknowledgment sent {"connection_id":127493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:42:06] local.INFO: TCP Data received {"connection_id":125379,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:42:06] local.INFO: Processing buffer {"connection_id":125379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:42:06] local.INFO: IMEI packet received {"connection_id":125379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":125379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:42:07] local.INFO: TCP Data received {"connection_id":125379,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f408fcdd0012d1824400721b8e8004d00dd28..."} 
[2026-07-08 12:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408fcdd0012d1824400721b8e8004d00dd28..."} 
[2026-07-08 12:42:07] local.INFO: Processing buffer {"connection_id":125379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408fcdd0012d1824400721b8e8004d00dd28..."} 
[2026-07-08 12:42:07] local.INFO: Packet analysis {"connection_id":125379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f408f"} 
[2026-07-08 12:42:07] local.INFO: Extracted packet for processing {"connection_id":125379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f408f"} 
[2026-07-08 12:42:07] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650536,"longitude_deg":75.6556864,"latitude_deg":11.9650536,"altitude":77,"angle":221,"satellites":40,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b8e8","is_valid_coordinates":true} 
[2026-07-08 12:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574610688001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741089844002816,"note":"Value kept but may cause issues"} 
[2026-07-08 12:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446568960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783494594000,"timestamp_ms":1783494594000,"timestamp_seconds":1783494594,"priority":1,"record_length":96,"hex_timestamp":"0000019f408fcdd0"} 
[2026-07-08 12:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 12:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":815,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574610688001,"66":12319,"120":206,"28":31744,"24":0,"16":4741089844002816,"45":1739585755446568960},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574610688001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:42:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:42:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741089844002816,"km_value":4741089844002.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446568960,"description":"Unknown IO ID 45"} 
[2026-07-08 12:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574610688001,"power":12319,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739585755446568960}} 
[2026-07-08 12:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":125379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:42:08] local.INFO: GPS data processed {"connection_id":125379,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:42:08] local.INFO: Acknowledgment sent {"connection_id":125379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:42:22] local.INFO: TCP Data received {"connection_id":125378,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f408fc218012d0b130007029fc00001013421..."} 
[2026-07-08 12:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408fc218012d0b130007029fc00001013421..."} 
[2026-07-08 12:42:22] local.INFO: Processing buffer {"connection_id":125378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408fc218012d0b130007029fc00001013421..."} 
[2026-07-08 12:42:22] local.INFO: Packet analysis {"connection_id":125378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f408f"} 
[2026-07-08 12:42:22] local.INFO: Extracted packet for processing {"connection_id":125378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f408f"} 
[2026-07-08 12:42:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":1,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574538240001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783494591000,"timestamp_ms":1783494591000,"timestamp_seconds":1783494591,"priority":1,"record_length":96,"hex_timestamp":"0000019f408fc218"} 
[2026-07-08 12:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:42:22] 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-07-08 12: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125378,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125378,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574538240001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574538240001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:42:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574538240001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":125378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451040,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:42:22] local.INFO: GPS data processed {"connection_id":125378,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:42:22] local.INFO: Acknowledgment sent {"connection_id":125378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:42:39] local.INFO: TCP Data received {"connection_id":125379,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40901fd8012d1824400721b8e8004d00dd27..."} 
[2026-07-08 12:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40901fd8012d1824400721b8e8004d00dd27..."} 
[2026-07-08 12:42:39] local.INFO: Processing buffer {"connection_id":125379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40901fd8012d1824400721b8e8004d00dd27..."} 
[2026-07-08 12:42:39] local.INFO: Packet analysis {"connection_id":125379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4090"} 
[2026-07-08 12:42:39] local.INFO: Extracted packet for processing {"connection_id":125379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4090"} 
[2026-07-08 12:42:39] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650536,"longitude_deg":75.6556864,"latitude_deg":11.9650536,"altitude":77,"angle":221,"satellites":39,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b8e8","is_valid_coordinates":true} 
[2026-07-08 12:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574616064001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741089844002816,"note":"Value kept but may cause issues"} 
[2026-07-08 12:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446568960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783494615000,"timestamp_ms":1783494615000,"timestamp_seconds":1783494615,"priority":1,"record_length":96,"hex_timestamp":"0000019f40901fd8"} 
[2026-07-08 12:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 12:42:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574616064001,"66":12341,"120":206,"28":31744,"24":0,"16":4741089844002816,"45":1739585755446568960},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574616064001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:42:40] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:42:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741089844002816,"km_value":4741089844002.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446568960,"description":"Unknown IO ID 45"} 
[2026-07-08 12:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574616064001,"power":12341,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739585755446568960}} 
[2026-07-08 12:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":125379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:42:40] local.INFO: GPS data processed {"connection_id":125379,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:42:40] local.INFO: Acknowledgment sent {"connection_id":125379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:42:45] local.INFO: TCP Data received {"connection_id":127493,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f40916fc8012d7fa48005afdba8000b00f929..."} 
[2026-07-08 12:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40916fc8012d7fa48005afdba8000b00f929..."} 
[2026-07-08 12:42:45] local.INFO: Processing buffer {"connection_id":127493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40916fc8012d7fa48005afdba8000b00f929..."} 
[2026-07-08 12:42:45] local.INFO: Packet analysis {"connection_id":127493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4091"} 
[2026-07-08 12:42:45] local.INFO: Extracted packet for processing {"connection_id":127493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4091"} 
[2026-07-08 12:42:45] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":11,"angle":249,"satellites":41,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574566400001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783494701000,"timestamp_ms":1783494701000,"timestamp_seconds":1783494701,"priority":1,"record_length":96,"hex_timestamp":"0000019f40916fc8"} 
[2026-07-08 12:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-08 12:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:42:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":127493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":127493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":127493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574566400001,"66":25756,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574566400001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:42:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:42:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 12:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574566400001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 12:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":127493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:42:45] local.INFO: GPS data processed {"connection_id":127493,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:42:45] local.INFO: Acknowledgment sent {"connection_id":127493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:42:45] local.INFO: TCP Data received {"connection_id":125478,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125478,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:42:45] local.INFO: Processing buffer {"connection_id":125478,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:42:45] local.INFO: IMEI packet received {"connection_id":125478,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":125478,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:42:50] local.INFO: TCP Data received {"connection_id":125478,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125478,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:42:50] local.INFO: Processing buffer {"connection_id":125478,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:42:50] local.INFO: IMEI packet received {"connection_id":125478,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":125478,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:42:53] local.INFO: TCP Data received {"connection_id":125478,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f408fc218012d0b130007029fc00001013421..."} 
[2026-07-08 12:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408fc218012d0b130007029fc00001013421..."} 
[2026-07-08 12:42:53] local.INFO: Processing buffer {"connection_id":125478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408fc218012d0b130007029fc00001013421..."} 
[2026-07-08 12:42:53] local.INFO: Packet analysis {"connection_id":125478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f408f"} 
[2026-07-08 12:42:53] local.INFO: Extracted packet for processing {"connection_id":125478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f408f"} 
[2026-07-08 12:42:53] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":1,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 12:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574538240001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783494591000,"timestamp_ms":1783494591000,"timestamp_seconds":1783494591,"priority":1,"record_length":96,"hex_timestamp":"0000019f408fc218"} 
[2026-07-08 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-07-08 12:42:53] 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-07-08 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:42: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-07-08 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-07-08 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-07-08 12:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125478,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125478,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574538240001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574538240001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:42:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574538240001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":125478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451043,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:42:53] local.INFO: GPS data processed {"connection_id":125478,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:42:53] local.INFO: Acknowledgment sent {"connection_id":125478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:42:59] local.INFO: TCP Data received {"connection_id":126240,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:42:59] local.INFO: Processing buffer {"connection_id":126240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:42:59] local.INFO: IMEI packet received {"connection_id":126240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":126240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:43:00] local.INFO: TCP Data received {"connection_id":126240,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:43:00] local.INFO: Processing buffer {"connection_id":126240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:43:00] local.INFO: IMEI packet received {"connection_id":126240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":126240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:43:03] local.INFO: TCP Data received {"connection_id":126239,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:43:03] local.INFO: Processing buffer {"connection_id":126239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:43:03] local.INFO: IMEI packet received {"connection_id":126239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":126239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:43:06] local.INFO: TCP Data received {"connection_id":126240,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:43:06] local.INFO: Processing buffer {"connection_id":126240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:43:06] local.INFO: IMEI packet received {"connection_id":126240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":126240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:43:06] local.INFO: TCP Data received {"connection_id":126239,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:43:06] local.INFO: Processing buffer {"connection_id":126239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:43:06] local.INFO: IMEI packet received {"connection_id":126239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":126239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:43:07] local.INFO: TCP Data received {"connection_id":126239,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f40916fc8012d7fa48005afdba8000b00f929..."} 
[2026-07-08 12:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40916fc8012d7fa48005afdba8000b00f929..."} 
[2026-07-08 12:43:07] local.INFO: Processing buffer {"connection_id":126239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40916fc8012d7fa48005afdba8000b00f929..."} 
[2026-07-08 12:43:07] local.INFO: Packet analysis {"connection_id":126239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4091"} 
[2026-07-08 12:43:07] local.INFO: Extracted packet for processing {"connection_id":126239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4091"} 
[2026-07-08 12:43:07] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":11,"angle":249,"satellites":41,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574566400001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783494701000,"timestamp_ms":1783494701000,"timestamp_seconds":1783494701,"priority":1,"record_length":96,"hex_timestamp":"0000019f40916fc8"} 
[2026-07-08 12:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-08 12:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574566400001,"66":25756,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574566400001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:43:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:43:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 12:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574566400001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 12:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":126239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:43:07] local.INFO: GPS data processed {"connection_id":126239,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:43:07] local.INFO: Acknowledgment sent {"connection_id":126239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:43:07] local.INFO: TCP Data received {"connection_id":126240,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f409071e0012d1824400721b8e8004d00dd26..."} 
[2026-07-08 12:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409071e0012d1824400721b8e8004d00dd26..."} 
[2026-07-08 12:43:07] local.INFO: Processing buffer {"connection_id":126240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409071e0012d1824400721b8e8004d00dd26..."} 
[2026-07-08 12:43:07] local.INFO: Packet analysis {"connection_id":126240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4090"} 
[2026-07-08 12:43:07] local.INFO: Extracted packet for processing {"connection_id":126240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4090"} 
[2026-07-08 12:43:07] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650536,"longitude_deg":75.6556864,"latitude_deg":11.9650536,"altitude":77,"angle":221,"satellites":38,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b8e8","is_valid_coordinates":true} 
[2026-07-08 12:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574621440001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741089844002816,"note":"Value kept but may cause issues"} 
[2026-07-08 12:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446568960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783494636000,"timestamp_ms":1783494636000,"timestamp_seconds":1783494636,"priority":1,"record_length":96,"hex_timestamp":"0000019f409071e0"} 
[2026-07-08 12:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 12:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574621440001,"66":11721,"120":206,"28":31744,"24":0,"16":4741089844002816,"45":1739585755446568960},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574621440001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:43:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:43:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741089844002816,"km_value":4741089844002.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446568960,"description":"Unknown IO ID 45"} 
[2026-07-08 12:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574621440001,"power":11721,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739585755446568960}} 
[2026-07-08 12:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":126240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:43:07] local.INFO: GPS data processed {"connection_id":126240,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:43:07] local.INFO: Acknowledgment sent {"connection_id":126240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:43:11] local.INFO: TCP Data received {"connection_id":126239,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f40916fc8012d7fa48005afdba8000b00f929..."} 
[2026-07-08 12:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40916fc8012d7fa48005afdba8000b00f929..."} 
[2026-07-08 12:43:11] local.INFO: Processing buffer {"connection_id":126239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40916fc8012d7fa48005afdba8000b00f929..."} 
[2026-07-08 12:43:11] local.INFO: Packet analysis {"connection_id":126239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4091"} 
[2026-07-08 12:43:11] local.INFO: Extracted packet for processing {"connection_id":126239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4091"} 
[2026-07-08 12:43:11] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":11,"angle":249,"satellites":41,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574566400001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783494701000,"timestamp_ms":1783494701000,"timestamp_seconds":1783494701,"priority":1,"record_length":96,"hex_timestamp":"0000019f40916fc8"} 
[2026-07-08 12:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-08 12:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574566400001,"66":25756,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574566400001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:43:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:43:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 12:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574566400001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 12:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":126239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:43:11] local.INFO: GPS data processed {"connection_id":126239,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:43:11] local.INFO: Acknowledgment sent {"connection_id":126239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:43:24] local.INFO: TCP Data received {"connection_id":125478,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f408fc218012d0b130007029fc00001013421..."} 
[2026-07-08 12:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408fc218012d0b130007029fc00001013421..."} 
[2026-07-08 12:43:24] local.INFO: Processing buffer {"connection_id":125478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408fc218012d0b130007029fc00001013421..."} 
[2026-07-08 12:43:24] local.INFO: Packet analysis {"connection_id":125478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f408f"} 
[2026-07-08 12:43:24] local.INFO: Extracted packet for processing {"connection_id":125478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f408f"} 
[2026-07-08 12:43:24] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":1,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574538240001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:43:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783494591000,"timestamp_ms":1783494591000,"timestamp_seconds":1783494591,"priority":1,"record_length":96,"hex_timestamp":"0000019f408fc218"} 
[2026-07-08 12:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:43:24] 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-07-08 12: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:43: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-07-08 12: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-07-08 12:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125478,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125478,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:43:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574538240001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574538240001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:43:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574538240001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":125478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451047,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:43:25] local.INFO: GPS data processed {"connection_id":125478,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:43:25] local.INFO: Acknowledgment sent {"connection_id":125478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:43:39] local.INFO: TCP Data received {"connection_id":126240,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4090c3e8012d1824400721b8e8004d00dd27..."} 
[2026-07-08 12:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4090c3e8012d1824400721b8e8004d00dd27..."} 
[2026-07-08 12:43:39] local.INFO: Processing buffer {"connection_id":126240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4090c3e8012d1824400721b8e8004d00dd27..."} 
[2026-07-08 12:43:39] local.INFO: Packet analysis {"connection_id":126240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4090"} 
[2026-07-08 12:43:39] local.INFO: Extracted packet for processing {"connection_id":126240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4090"} 
[2026-07-08 12:43:39] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650536,"longitude_deg":75.6556864,"latitude_deg":11.9650536,"altitude":77,"angle":221,"satellites":39,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b8e8","is_valid_coordinates":true} 
[2026-07-08 12:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574626816001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741089844002816,"note":"Value kept but may cause issues"} 
[2026-07-08 12:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446568960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783494657000,"timestamp_ms":1783494657000,"timestamp_seconds":1783494657,"priority":1,"record_length":96,"hex_timestamp":"0000019f4090c3e8"} 
[2026-07-08 12:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-08 12:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574626816001,"66":12319,"120":206,"28":31744,"24":0,"16":4741089844002816,"45":1739585755446568960},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574626816001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:43:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:43:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741089844002816,"km_value":4741089844002.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446568960,"description":"Unknown IO ID 45"} 
[2026-07-08 12:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574626816001,"power":12319,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739585755446568960}} 
[2026-07-08 12:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":126240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:43:39] local.INFO: GPS data processed {"connection_id":126240,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:43:39] local.INFO: Acknowledgment sent {"connection_id":126240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:43:50] local.INFO: TCP Data received {"connection_id":127495,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127495,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:43:50] local.INFO: Processing buffer {"connection_id":127495,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:43:50] local.INFO: IMEI packet received {"connection_id":127495,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":127495,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:43:55] local.INFO: TCP Data received {"connection_id":127495,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127495,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:43:55] local.INFO: Processing buffer {"connection_id":127495,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:43:55] local.INFO: IMEI packet received {"connection_id":127495,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":127495,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:43:56] local.INFO: TCP Data received {"connection_id":127497,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:43:56] local.INFO: Processing buffer {"connection_id":127497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:43:56] local.INFO: IMEI packet received {"connection_id":127497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":127497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:43:58] local.INFO: TCP Data received {"connection_id":127495,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f408fc218012d0b130007029fc00001013421..."} 
[2026-07-08 12:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408fc218012d0b130007029fc00001013421..."} 
[2026-07-08 12:43:58] local.INFO: Processing buffer {"connection_id":127495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408fc218012d0b130007029fc00001013421..."} 
[2026-07-08 12:43:58] local.INFO: Packet analysis {"connection_id":127495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f408f"} 
[2026-07-08 12:43:58] local.INFO: Extracted packet for processing {"connection_id":127495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f408f"} 
[2026-07-08 12:43:58] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":1,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574538240001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783494591000,"timestamp_ms":1783494591000,"timestamp_seconds":1783494591,"priority":1,"record_length":96,"hex_timestamp":"0000019f408fc218"} 
[2026-07-08 12:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:43:58] 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-07-08 12: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:43: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-07-08 12: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-07-08 12:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":127495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":127495,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":127495,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574538240001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574538240001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:43:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574538240001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":127495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451049,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:43:59] local.INFO: GPS data processed {"connection_id":127495,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:43:59] local.INFO: Acknowledgment sent {"connection_id":127495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:44:00] local.INFO: TCP Data received {"connection_id":127498,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:44:00] local.INFO: Processing buffer {"connection_id":127498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:44:00] local.INFO: IMEI packet received {"connection_id":127498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":127498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:44:00] local.INFO: TCP Data received {"connection_id":127495,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f408fc218012d0b130007029fc00001013421..."} 
[2026-07-08 12:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408fc218012d0b130007029fc00001013421..."} 
[2026-07-08 12:44:00] local.INFO: Processing buffer {"connection_id":127495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408fc218012d0b130007029fc00001013421..."} 
[2026-07-08 12:44:00] local.INFO: Packet analysis {"connection_id":127495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f408f"} 
[2026-07-08 12:44:00] local.INFO: Extracted packet for processing {"connection_id":127495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f408f"} 
[2026-07-08 12:44:00] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":1,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574538240001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:44:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783494591000,"timestamp_ms":1783494591000,"timestamp_seconds":1783494591,"priority":1,"record_length":96,"hex_timestamp":"0000019f408fc218"} 
[2026-07-08 12:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:44:00] 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-07-08 12: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:44:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":127495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":127495,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":127495,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574538240001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574538240001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:44:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574538240001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":127495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451050,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:44:01] local.INFO: GPS data processed {"connection_id":127495,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:44:01] local.INFO: Acknowledgment sent {"connection_id":127495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:44:01] local.INFO: TCP Data received {"connection_id":127497,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:44:01] local.INFO: Processing buffer {"connection_id":127497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:44:01] local.INFO: IMEI packet received {"connection_id":127497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":127497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:44:02] local.INFO: TCP Data received {"connection_id":127498,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:44:02] local.INFO: Processing buffer {"connection_id":127498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:44:02] local.INFO: IMEI packet received {"connection_id":127498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":127498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:44:05] local.INFO: TCP Data received {"connection_id":127497,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f40916fc8012d7fa48005afdba8000b00f929..."} 
[2026-07-08 12:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40916fc8012d7fa48005afdba8000b00f929..."} 
[2026-07-08 12:44:05] local.INFO: Processing buffer {"connection_id":127497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40916fc8012d7fa48005afdba8000b00f929..."} 
[2026-07-08 12:44:05] local.INFO: Packet analysis {"connection_id":127497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4091"} 
[2026-07-08 12:44:05] local.INFO: Extracted packet for processing {"connection_id":127497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4091"} 
[2026-07-08 12:44:05] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":11,"angle":249,"satellites":41,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574566400001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783494701000,"timestamp_ms":1783494701000,"timestamp_seconds":1783494701,"priority":1,"record_length":96,"hex_timestamp":"0000019f40916fc8"} 
[2026-07-08 12:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-08 12:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574566400001,"66":25756,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574566400001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:44:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:44:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 12:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574566400001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 12:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":127497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:44:05] local.INFO: GPS data processed {"connection_id":127497,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:44:05] local.INFO: Acknowledgment sent {"connection_id":127497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:44:05] local.INFO: TCP Data received {"connection_id":127498,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:44:05] local.INFO: Processing buffer {"connection_id":127498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:44:05] local.INFO: IMEI packet received {"connection_id":127498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":127498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:44:06] local.INFO: TCP Data received {"connection_id":127498,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f409115f0012d1824400721b8e8004d00dd27..."} 
[2026-07-08 12:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409115f0012d1824400721b8e8004d00dd27..."} 
[2026-07-08 12:44:06] local.INFO: Processing buffer {"connection_id":127498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409115f0012d1824400721b8e8004d00dd27..."} 
[2026-07-08 12:44:06] local.INFO: Packet analysis {"connection_id":127498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4091"} 
[2026-07-08 12:44:06] local.INFO: Extracted packet for processing {"connection_id":127498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4091"} 
[2026-07-08 12:44:06] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650536,"longitude_deg":75.6556864,"latitude_deg":11.9650536,"altitude":77,"angle":221,"satellites":39,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b8e8","is_valid_coordinates":true} 
[2026-07-08 12:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574632192001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741089844002816,"note":"Value kept but may cause issues"} 
[2026-07-08 12:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446568960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783494678000,"timestamp_ms":1783494678000,"timestamp_seconds":1783494678,"priority":1,"record_length":96,"hex_timestamp":"0000019f409115f0"} 
[2026-07-08 12:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 12:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574632192001,"66":12341,"120":206,"28":31744,"24":0,"16":4741089844002816,"45":1739585755446568960},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574632192001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:44:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:44:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741089844002816,"km_value":4741089844002.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446568960,"description":"Unknown IO ID 45"} 
[2026-07-08 12:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574632192001,"power":12341,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739585755446568960}} 
[2026-07-08 12:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":127498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:44:07] local.INFO: GPS data processed {"connection_id":127498,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:44:07] local.INFO: Acknowledgment sent {"connection_id":127498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:44:38] local.INFO: TCP Data received {"connection_id":127498,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f409167f8012d1824400721b8e8004d00dd25..."} 
[2026-07-08 12:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409167f8012d1824400721b8e8004d00dd25..."} 
[2026-07-08 12:44:38] local.INFO: Processing buffer {"connection_id":127498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409167f8012d1824400721b8e8004d00dd25..."} 
[2026-07-08 12:44:38] local.INFO: Packet analysis {"connection_id":127498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4091"} 
[2026-07-08 12:44:38] local.INFO: Extracted packet for processing {"connection_id":127498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4091"} 
[2026-07-08 12:44:38] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650536,"longitude_deg":75.6556864,"latitude_deg":11.9650536,"altitude":77,"angle":221,"satellites":37,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b8e8","is_valid_coordinates":true} 
[2026-07-08 12:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574637568001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741089844002816,"note":"Value kept but may cause issues"} 
[2026-07-08 12:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446568960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783494699000,"timestamp_ms":1783494699000,"timestamp_seconds":1783494699,"priority":1,"record_length":96,"hex_timestamp":"0000019f409167f8"} 
[2026-07-08 12:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 12:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574637568001,"66":12298,"120":206,"28":31744,"24":0,"16":4741089844002816,"45":1739585755446568960},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574637568001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:44:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:44:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741089844002816,"km_value":4741089844002.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446568960,"description":"Unknown IO ID 45"} 
[2026-07-08 12:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574637568001,"power":12298,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739585755446568960}} 
[2026-07-08 12:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":127498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:44:38] local.INFO: GPS data processed {"connection_id":127498,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:44:38] local.INFO: Acknowledgment sent {"connection_id":127498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:44:39] local.INFO: TCP Data received {"connection_id":127497,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f40916fc8012d7fa48005afdba8000b00f929..."} 
[2026-07-08 12:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40916fc8012d7fa48005afdba8000b00f929..."} 
[2026-07-08 12:44:39] local.INFO: Processing buffer {"connection_id":127497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40916fc8012d7fa48005afdba8000b00f929..."} 
[2026-07-08 12:44:39] local.INFO: Packet analysis {"connection_id":127497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4091"} 
[2026-07-08 12:44:39] local.INFO: Extracted packet for processing {"connection_id":127497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4091"} 
[2026-07-08 12:44:39] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":11,"angle":249,"satellites":41,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574566400001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783494701000,"timestamp_ms":1783494701000,"timestamp_seconds":1783494701,"priority":1,"record_length":96,"hex_timestamp":"0000019f40916fc8"} 
[2026-07-08 12:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-08 12:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:44:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":127497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":127497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":127497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574566400001,"66":25756,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574566400001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:44:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:44:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 12:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574566400001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 12:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":127497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:44:39] local.INFO: GPS data processed {"connection_id":127497,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:44:39] local.INFO: Acknowledgment sent {"connection_id":127497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:44:45] local.INFO: TCP Data received {"connection_id":126241,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126241,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:44:45] local.INFO: Processing buffer {"connection_id":126241,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:44:45] local.INFO: IMEI packet received {"connection_id":126241,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":126241,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:44:50] local.INFO: TCP Data received {"connection_id":126241,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126241,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:44:50] local.INFO: Processing buffer {"connection_id":126241,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:44:50] local.INFO: IMEI packet received {"connection_id":126241,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":126241,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:44:51] local.INFO: TCP Data received {"connection_id":126241,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f408fc218012d0b130007029fc00001013421..."} 
[2026-07-08 12:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f408fc218012d0b130007029fc00001013421..."} 
[2026-07-08 12:44:51] local.INFO: Processing buffer {"connection_id":126241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f408fc218012d0b130007029fc00001013421..."} 
[2026-07-08 12:44:51] local.INFO: Packet analysis {"connection_id":126241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f408f"} 
[2026-07-08 12:44:51] local.INFO: Extracted packet for processing {"connection_id":126241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f408f"} 
[2026-07-08 12:44:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":1,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574538240001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783494591000,"timestamp_ms":1783494591000,"timestamp_seconds":1783494591,"priority":1,"record_length":96,"hex_timestamp":"0000019f408fc218"} 
[2026-07-08 12:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:44:51] 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-07-08 12:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:44:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:44:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126241,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126241,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574538240001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574538240001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:44:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574538240001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":126241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451055,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:44:51] local.INFO: GPS data processed {"connection_id":126241,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:44:51] local.INFO: Acknowledgment sent {"connection_id":126241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:44:56] local.INFO: TCP Data received {"connection_id":125479,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:44:56] local.INFO: Processing buffer {"connection_id":125479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:44:56] local.INFO: IMEI packet received {"connection_id":125479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":125479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:45:01] local.INFO: TCP Data received {"connection_id":125480,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125480,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:45:01] local.INFO: Processing buffer {"connection_id":125480,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:45:01] local.INFO: IMEI packet received {"connection_id":125480,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 12:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":125480,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:45:06] local.INFO: TCP Data received {"connection_id":126242,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:45:06] local.INFO: Processing buffer {"connection_id":126242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:45:06] local.INFO: IMEI packet received {"connection_id":126242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":126242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:45:06] local.INFO: TCP Data received {"connection_id":126242,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:45:06] local.INFO: Processing buffer {"connection_id":126242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:45:06] local.INFO: IMEI packet received {"connection_id":126242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":126242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:45:10] local.INFO: TCP Data received {"connection_id":126242,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:45:10] local.INFO: Processing buffer {"connection_id":126242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:45:10] local.INFO: IMEI packet received {"connection_id":126242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":126242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:45:11] local.INFO: TCP Data received {"connection_id":126242,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4091ba00012d1824400721b8e8004d00dd26..."} 
[2026-07-08 12:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4091ba00012d1824400721b8e8004d00dd26..."} 
[2026-07-08 12:45:11] local.INFO: Processing buffer {"connection_id":126242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4091ba00012d1824400721b8e8004d00dd26..."} 
[2026-07-08 12:45:11] local.INFO: Packet analysis {"connection_id":126242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4091"} 
[2026-07-08 12:45:11] local.INFO: Extracted packet for processing {"connection_id":126242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4091"} 
[2026-07-08 12:45:11] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650536,"longitude_deg":75.6556864,"latitude_deg":11.9650536,"altitude":77,"angle":221,"satellites":38,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b8e8","is_valid_coordinates":true} 
[2026-07-08 12:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574642944001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741089844002816,"note":"Value kept but may cause issues"} 
[2026-07-08 12:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446568960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783494720000,"timestamp_ms":1783494720000,"timestamp_seconds":1783494720,"priority":1,"record_length":96,"hex_timestamp":"0000019f4091ba00"} 
[2026-07-08 12:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:45: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-07-08 12:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 12:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-08 12:45:11] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-08 12:45:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452304,"note":"Value kept but may cause issues"} 
[2026-07-08 12:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3623813120,"note":"Value kept but may cause issues"} 
[2026-07-08 12:45:11] local.WARNING: Large IO value detected {"io_id":215,"raw_value":-72057594037927935,"note":"Value kept but may cause issues"} 
[2026-07-08 12:45:11] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4651982844727203876,"note":"Value kept but may cause issues"} 
[2026-07-08 12:45:11] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513895139073917149,"note":"Value kept but may cause issues"} 
[2026-07-08 12:45:11] local.WARNING: Large IO value detected {"io_id":77,"raw_value":62246651783282688,"note":"Value kept but may cause issues"} 
[2026-07-08 12:45:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832580,"note":"Value kept but may cause issues"} 
[2026-07-08 12:45:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3326753634094940366,"note":"Value kept but may cause issues"} 
[2026-07-08 12:45:11] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3102212173,"note":"Value kept but may cause issues"} 
[2026-07-08 12:45:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3489738008,"corrected_to":0} 
[2026-07-08 12:45:11] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,120,28,24,241,158,16,215,159,21,45,64,184,77,39,10,66,195,113,1,240,201,33,4,205,36,232,40,239,48,2,7],"length":534,"final_offset":664,"validated_count":32,"validation_warnings":[{"io_id":205,"original":3489738008,"validated":0}]} 
[2026-07-08 12:45:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548677891903979520,"timestamp_seconds":5548677891903980.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 12:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574642944001,"66":12287,"120":206,"28":31744,"24":0,"16":4741089844002816,"45":1739585755446568960},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574642944001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:45:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:45:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741089844002816,"km_value":4741089844002.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446568960,"description":"Unknown IO ID 45"} 
[2026-07-08 12:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574642944001,"power":12287,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739585755446568960}} 
[2026-07-08 12:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":126242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:45:12] local.INFO: GPS data processed {"connection_id":126242,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:45:12] local.INFO: Acknowledgment sent {"connection_id":126242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:45:17] local.INFO: TCP Data received {"connection_id":126242,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40920c08012d1824400721b8e8004d00dd26..."} 
[2026-07-08 12:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40920c08012d1824400721b8e8004d00dd26..."} 
[2026-07-08 12:45:17] local.INFO: Processing buffer {"connection_id":126242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40920c08012d1824400721b8e8004d00dd26..."} 
[2026-07-08 12:45:17] local.INFO: Packet analysis {"connection_id":126242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4092"} 
[2026-07-08 12:45:17] local.INFO: Extracted packet for processing {"connection_id":126242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4092"} 
[2026-07-08 12:45:17] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650536,"longitude_deg":75.6556864,"latitude_deg":11.9650536,"altitude":77,"angle":221,"satellites":38,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b8e8","is_valid_coordinates":true} 
[2026-07-08 12:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574648320001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741089844002816,"note":"Value kept but may cause issues"} 
[2026-07-08 12:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446568960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783494741000,"timestamp_ms":1783494741000,"timestamp_seconds":1783494741,"priority":1,"record_length":96,"hex_timestamp":"0000019f40920c08"} 
[2026-07-08 12:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 12:45:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:45:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":126242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":126242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":126242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574648320001,"66":12265,"120":206,"28":31744,"24":0,"16":4741089844002816,"45":1739585755446568960},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574648320001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:45:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:45:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741089844002816,"km_value":4741089844002.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446568960,"description":"Unknown IO ID 45"} 
[2026-07-08 12:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574648320001,"power":12265,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739585755446568960}} 
[2026-07-08 12:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":126242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:45:17] local.INFO: GPS data processed {"connection_id":126242,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:45:17] local.INFO: Acknowledgment sent {"connection_id":126242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:45:22] local.INFO: TCP Data received {"connection_id":126241,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f409459e0012d0b130007029fc00000013420..."} 
[2026-07-08 12:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409459e0012d0b130007029fc00000013420..."} 
[2026-07-08 12:45:22] local.INFO: Processing buffer {"connection_id":126241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409459e0012d0b130007029fc00000013420..."} 
[2026-07-08 12:45:22] local.INFO: Packet analysis {"connection_id":126241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4094"} 
[2026-07-08 12:45:22] local.INFO: Extracted packet for processing {"connection_id":126241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4094"} 
[2026-07-08 12:45:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574615296001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:45:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783494892000,"timestamp_ms":1783494892000,"timestamp_seconds":1783494892,"priority":1,"record_length":96,"hex_timestamp":"0000019f409459e0"} 
[2026-07-08 12:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:45:22] 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-07-08 12: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 12:45:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126241,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126241,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:45:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574615296001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574615296001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:45:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:45:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574615296001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":126241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451058,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:45:22] local.INFO: GPS data processed {"connection_id":126241,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:45:22] local.INFO: Acknowledgment sent {"connection_id":126241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:45:46] local.INFO: TCP Data received {"connection_id":125479,"ip":"42.106.6.35","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 12:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125479,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 12:45:46] local.INFO: Processing buffer {"connection_id":125479,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 12:45:46] local.INFO: IMEI packet received {"connection_id":125479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":125479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:45:55] local.INFO: TCP Data received {"connection_id":126243,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126243,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:45:55] local.INFO: Processing buffer {"connection_id":126243,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:45:55] local.INFO: IMEI packet received {"connection_id":126243,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":126243,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:45:56] local.INFO: TCP Data received {"connection_id":126243,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126243,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:45:56] local.INFO: Processing buffer {"connection_id":126243,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:45:56] local.INFO: IMEI packet received {"connection_id":126243,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":126243,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:45:56] local.INFO: TCP Data received {"connection_id":126243,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f409459e0012d0b130007029fc00000013420..."} 
[2026-07-08 12:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409459e0012d0b130007029fc00000013420..."} 
[2026-07-08 12:45:56] local.INFO: Processing buffer {"connection_id":126243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409459e0012d0b130007029fc00000013420..."} 
[2026-07-08 12:45:56] local.INFO: Packet analysis {"connection_id":126243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4094"} 
[2026-07-08 12:45:56] local.INFO: Extracted packet for processing {"connection_id":126243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4094"} 
[2026-07-08 12:45:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574615296001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783494892000,"timestamp_ms":1783494892000,"timestamp_seconds":1783494892,"priority":1,"record_length":96,"hex_timestamp":"0000019f409459e0"} 
[2026-07-08 12:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:45:56] 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-07-08 12:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 12:45:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:45:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":126243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":126243,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":126243,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574615296001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574615296001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:45:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574615296001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":126243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451059,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:45:57] local.INFO: GPS data processed {"connection_id":126243,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:45:57] local.INFO: Acknowledgment sent {"connection_id":126243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:46:00] local.INFO: TCP Data received {"connection_id":126243,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f409459e0012d0b130007029fc00000013420..."} 
[2026-07-08 12:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409459e0012d0b130007029fc00000013420..."} 
[2026-07-08 12:46:00] local.INFO: Processing buffer {"connection_id":126243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409459e0012d0b130007029fc00000013420..."} 
[2026-07-08 12:46:00] local.INFO: Packet analysis {"connection_id":126243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4094"} 
[2026-07-08 12:46:00] local.INFO: Extracted packet for processing {"connection_id":126243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4094"} 
[2026-07-08 12:46:00] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574615296001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783494892000,"timestamp_ms":1783494892000,"timestamp_seconds":1783494892,"priority":1,"record_length":96,"hex_timestamp":"0000019f409459e0"} 
[2026-07-08 12:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:46:00] 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-07-08 12:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 12:46:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:46:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126243,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126243,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574615296001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574615296001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:46:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574615296001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":126243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451060,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:46:00] local.INFO: GPS data processed {"connection_id":126243,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:46:00] local.INFO: Acknowledgment sent {"connection_id":126243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:46:01] local.INFO: TCP Data received {"connection_id":127500,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:46:01] local.INFO: Processing buffer {"connection_id":127500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:46:01] local.INFO: IMEI packet received {"connection_id":127500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":127500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:46:01] local.INFO: TCP Data received {"connection_id":127499,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:46:01] local.INFO: Processing buffer {"connection_id":127499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:46:01] local.INFO: IMEI packet received {"connection_id":127499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":127499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:46:06] local.INFO: TCP Data received {"connection_id":127500,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:46:06] local.INFO: Processing buffer {"connection_id":127500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:46:06] local.INFO: IMEI packet received {"connection_id":127500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":127500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:46:07] local.INFO: TCP Data received {"connection_id":127500,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40925e10012d1824400721b8e8004d00dd25..."} 
[2026-07-08 12:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40925e10012d1824400721b8e8004d00dd25..."} 
[2026-07-08 12:46:07] local.INFO: Processing buffer {"connection_id":127500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40925e10012d1824400721b8e8004d00dd25..."} 
[2026-07-08 12:46:07] local.INFO: Packet analysis {"connection_id":127500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4092"} 
[2026-07-08 12:46:07] local.INFO: Extracted packet for processing {"connection_id":127500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4092"} 
[2026-07-08 12:46:07] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650536,"longitude_deg":75.6556864,"latitude_deg":11.9650536,"altitude":77,"angle":221,"satellites":37,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b8e8","is_valid_coordinates":true} 
[2026-07-08 12:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574653696001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741089844002816,"note":"Value kept but may cause issues"} 
[2026-07-08 12:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446568960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783494762000,"timestamp_ms":1783494762000,"timestamp_seconds":1783494762,"priority":1,"record_length":96,"hex_timestamp":"0000019f40925e10"} 
[2026-07-08 12:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 12:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574653696001,"66":12298,"120":206,"28":31744,"24":0,"16":4741089844002816,"45":1739585755446568960},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574653696001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:46:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:46:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741089844002816,"km_value":4741089844002.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446568960,"description":"Unknown IO ID 45"} 
[2026-07-08 12:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574653696001,"power":12298,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739585755446568960}} 
[2026-07-08 12:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":127500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:46:07] local.INFO: GPS data processed {"connection_id":127500,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:46:07] local.INFO: Acknowledgment sent {"connection_id":127500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:46:39] local.INFO: TCP Data received {"connection_id":127500,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4092b018012d1824400721b8e8004d00dd27..."} 
[2026-07-08 12:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4092b018012d1824400721b8e8004d00dd27..."} 
[2026-07-08 12:46:39] local.INFO: Processing buffer {"connection_id":127500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4092b018012d1824400721b8e8004d00dd27..."} 
[2026-07-08 12:46:39] local.INFO: Packet analysis {"connection_id":127500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4092"} 
[2026-07-08 12:46:39] local.INFO: Extracted packet for processing {"connection_id":127500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4092"} 
[2026-07-08 12:46:39] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650536,"longitude_deg":75.6556864,"latitude_deg":11.9650536,"altitude":77,"angle":221,"satellites":39,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b8e8","is_valid_coordinates":true} 
[2026-07-08 12:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574659072001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741089844002816,"note":"Value kept but may cause issues"} 
[2026-07-08 12:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446568960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783494783000,"timestamp_ms":1783494783000,"timestamp_seconds":1783494783,"priority":1,"record_length":96,"hex_timestamp":"0000019f4092b018"} 
[2026-07-08 12:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 12:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-08 12:46:39] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-08 12:46:39] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452304,"note":"Value kept but may cause issues"} 
[2026-07-08 12:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3623813120,"note":"Value kept but may cause issues"} 
[2026-07-08 12:46:39] local.WARNING: Large IO value detected {"io_id":215,"raw_value":-72057594037927935,"note":"Value kept but may cause issues"} 
[2026-07-08 12:46:39] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4652253427666851876,"note":"Value kept but may cause issues"} 
[2026-07-08 12:46:39] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513895139073917149,"note":"Value kept but may cause issues"} 
[2026-07-08 12:46:39] local.WARNING: Large IO value detected {"io_id":77,"raw_value":62247751294910464,"note":"Value kept but may cause issues"} 
[2026-07-08 12:46:39] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832580,"note":"Value kept but may cause issues"} 
[2026-07-08 12:46:39] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3299169086377296078,"note":"Value kept but may cause issues"} 
[2026-07-08 12:46:39] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3102212173,"note":"Value kept but may cause issues"} 
[2026-07-08 12:46:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-08 12:46:39] local.WARNING: Large IO value detected {"io_id":195,"raw_value":3892391192,"note":"Value kept but may cause issues"} 
[2026-07-08 12:46:39] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,120,28,24,241,158,16,215,159,12,45,64,184,77,38,10,66,186,103,1,240,33,4,113,205,195,36,232,39,239,48,2,7],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-08 12:46:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548677891903979520,"timestamp_seconds":5548677891903980.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 12:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":127500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":127500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":127500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574659072001,"66":12298,"120":206,"28":31744,"24":0,"16":4741089844002816,"45":1739585755446568960},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574659072001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:46:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:46:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741089844002816,"km_value":4741089844002.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446568960,"description":"Unknown IO ID 45"} 
[2026-07-08 12:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574659072001,"power":12298,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739585755446568960}} 
[2026-07-08 12:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":127500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:46:39] local.INFO: GPS data processed {"connection_id":127500,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:46:39] local.INFO: Acknowledgment sent {"connection_id":127500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:46:45] local.INFO: TCP Data received {"connection_id":126244,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126244,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:46:45] local.INFO: Processing buffer {"connection_id":126244,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:46:45] local.INFO: IMEI packet received {"connection_id":126244,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":126244,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:46:50] local.INFO: TCP Data received {"connection_id":126244,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126244,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:46:50] local.INFO: Processing buffer {"connection_id":126244,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:46:50] local.INFO: IMEI packet received {"connection_id":126244,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":126244,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:46:51] local.INFO: TCP Data received {"connection_id":126244,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f409459e0012d0b130007029fc00000013420..."} 
[2026-07-08 12:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409459e0012d0b130007029fc00000013420..."} 
[2026-07-08 12:46:51] local.INFO: Processing buffer {"connection_id":126244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409459e0012d0b130007029fc00000013420..."} 
[2026-07-08 12:46:51] local.INFO: Packet analysis {"connection_id":126244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4094"} 
[2026-07-08 12:46:51] local.INFO: Extracted packet for processing {"connection_id":126244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4094"} 
[2026-07-08 12:46:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574615296001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783494892000,"timestamp_ms":1783494892000,"timestamp_seconds":1783494892,"priority":1,"record_length":96,"hex_timestamp":"0000019f409459e0"} 
[2026-07-08 12:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:46: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-07-08 12:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 12:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:46:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126244,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126244,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574615296001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574615296001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:46:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574615296001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":126244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451063,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:46:51] local.INFO: GPS data processed {"connection_id":126244,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:46:51] local.INFO: Acknowledgment sent {"connection_id":126244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:47:01] local.INFO: TCP Data received {"connection_id":126245,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:47:01] local.INFO: Processing buffer {"connection_id":126245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:47:01] local.INFO: IMEI packet received {"connection_id":126245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":126245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:47:06] local.INFO: TCP Data received {"connection_id":126245,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:47:06] local.INFO: Processing buffer {"connection_id":126245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:47:06] local.INFO: IMEI packet received {"connection_id":126245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":126245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:47:07] local.INFO: TCP Data received {"connection_id":126245,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40930220012d1824400721b8e8004d00dd26..."} 
[2026-07-08 12:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40930220012d1824400721b8e8004d00dd26..."} 
[2026-07-08 12:47:07] local.INFO: Processing buffer {"connection_id":126245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40930220012d1824400721b8e8004d00dd26..."} 
[2026-07-08 12:47:07] local.INFO: Packet analysis {"connection_id":126245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4093"} 
[2026-07-08 12:47:07] local.INFO: Extracted packet for processing {"connection_id":126245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4093"} 
[2026-07-08 12:47:07] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650536,"longitude_deg":75.6556864,"latitude_deg":11.9650536,"altitude":77,"angle":221,"satellites":38,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b8e8","is_valid_coordinates":true} 
[2026-07-08 12:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574664448001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741089844002816,"note":"Value kept but may cause issues"} 
[2026-07-08 12:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446568960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783494804000,"timestamp_ms":1783494804000,"timestamp_seconds":1783494804,"priority":1,"record_length":96,"hex_timestamp":"0000019f40930220"} 
[2026-07-08 12:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 12:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-08 12:47:07] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-07-08 12:47:07] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452304,"note":"Value kept but may cause issues"} 
[2026-07-08 12:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3623813120,"note":"Value kept but may cause issues"} 
[2026-07-08 12:47:07] local.WARNING: Large IO value detected {"io_id":215,"raw_value":-72057594037927935,"note":"Value kept but may cause issues"} 
[2026-07-08 12:47:07] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4652343621980067876,"note":"Value kept but may cause issues"} 
[2026-07-08 12:47:07] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513895139073917149,"note":"Value kept but may cause issues"} 
[2026-07-08 12:47:07] local.WARNING: Large IO value detected {"io_id":77,"raw_value":62248850806538240,"note":"Value kept but may cause issues"} 
[2026-07-08 12:47:07] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832580,"note":"Value kept but may cause issues"} 
[2026-07-08 12:47:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491122450268366,"note":"Value kept but may cause issues"} 
[2026-07-08 12:47:07] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3102212173,"note":"Value kept but may cause issues"} 
[2026-07-08 12:47:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-08 12:47:07] local.WARNING: Large IO value detected {"io_id":21,"raw_value":4026608920,"note":"Value kept but may cause issues"} 
[2026-07-08 12:47:07] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,120,28,24,241,158,16,215,159,94,45,64,184,77,37,10,66,12,38,186,1,240,255,33,4,113,205,21,36,232,39,239,48,2,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-08 12:47:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548677900493914112,"timestamp_seconds":5548677900493914.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 12:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574664448001,"66":11950,"120":206,"28":31744,"24":0,"16":4741089844002816,"45":1739585755446568960},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574664448001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:47:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:47:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741089844002816,"km_value":4741089844002.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446568960,"description":"Unknown IO ID 45"} 
[2026-07-08 12:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574664448001,"power":11950,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739585755446568960}} 
[2026-07-08 12:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":126245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:47:08] local.INFO: GPS data processed {"connection_id":126245,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:47:08] local.INFO: Acknowledgment sent {"connection_id":126245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:47:22] local.INFO: TCP Data received {"connection_id":126244,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f409459e0012d0b130007029fc00000013420..."} 
[2026-07-08 12:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409459e0012d0b130007029fc00000013420..."} 
[2026-07-08 12:47:22] local.INFO: Processing buffer {"connection_id":126244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409459e0012d0b130007029fc00000013420..."} 
[2026-07-08 12:47:22] local.INFO: Packet analysis {"connection_id":126244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4094"} 
[2026-07-08 12:47:22] local.INFO: Extracted packet for processing {"connection_id":126244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4094"} 
[2026-07-08 12:47:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574615296001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783494892000,"timestamp_ms":1783494892000,"timestamp_seconds":1783494892,"priority":1,"record_length":96,"hex_timestamp":"0000019f409459e0"} 
[2026-07-08 12:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:47:22] 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-07-08 12:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 12:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126244,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126244,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574615296001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574615296001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:47:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574615296001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":126244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451065,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:47:23] local.INFO: GPS data processed {"connection_id":126244,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:47:23] local.INFO: Acknowledgment sent {"connection_id":126244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:47:39] local.INFO: TCP Data received {"connection_id":126245,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40935428012d1824400721b8e8004d00dd27..."} 
[2026-07-08 12:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40935428012d1824400721b8e8004d00dd27..."} 
[2026-07-08 12:47:39] local.INFO: Processing buffer {"connection_id":126245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40935428012d1824400721b8e8004d00dd27..."} 
[2026-07-08 12:47:39] local.INFO: Packet analysis {"connection_id":126245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4093"} 
[2026-07-08 12:47:39] local.INFO: Extracted packet for processing {"connection_id":126245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4093"} 
[2026-07-08 12:47:39] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650536,"longitude_deg":75.6556864,"latitude_deg":11.9650536,"altitude":77,"angle":221,"satellites":39,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b8e8","is_valid_coordinates":true} 
[2026-07-08 12:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574669824001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741089844002816,"note":"Value kept but may cause issues"} 
[2026-07-08 12:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446568960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783494825000,"timestamp_ms":1783494825000,"timestamp_seconds":1783494825,"priority":1,"record_length":96,"hex_timestamp":"0000019f40935428"} 
[2026-07-08 12:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:47:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-08 12:47:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:47:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:47:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574669824001,"66":12287,"120":206,"28":31744,"24":0,"16":4741089844002816,"45":1739585755446568960},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574669824001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:47:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:47:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741089844002816,"km_value":4741089844002.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446568960,"description":"Unknown IO ID 45"} 
[2026-07-08 12:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574669824001,"power":12287,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739585755446568960}} 
[2026-07-08 12:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":126245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:47:39] local.INFO: GPS data processed {"connection_id":126245,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:47:39] local.INFO: Acknowledgment sent {"connection_id":126245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:47:45] local.INFO: TCP Data received {"connection_id":125380,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125380,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:47:45] local.INFO: Processing buffer {"connection_id":125380,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:47:45] local.INFO: IMEI packet received {"connection_id":125380,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":125380,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:47:50] local.INFO: TCP Data received {"connection_id":125380,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125380,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:47:50] local.INFO: Processing buffer {"connection_id":125380,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:47:50] local.INFO: IMEI packet received {"connection_id":125380,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":125380,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:47:51] local.INFO: TCP Data received {"connection_id":125380,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f409459e0012d0b130007029fc00000013420..."} 
[2026-07-08 12:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409459e0012d0b130007029fc00000013420..."} 
[2026-07-08 12:47:51] local.INFO: Processing buffer {"connection_id":125380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409459e0012d0b130007029fc00000013420..."} 
[2026-07-08 12:47:51] local.INFO: Packet analysis {"connection_id":125380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4094"} 
[2026-07-08 12:47:51] local.INFO: Extracted packet for processing {"connection_id":125380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4094"} 
[2026-07-08 12:47:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574615296001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783494892000,"timestamp_ms":1783494892000,"timestamp_seconds":1783494892,"priority":1,"record_length":96,"hex_timestamp":"0000019f409459e0"} 
[2026-07-08 12:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:47: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-07-08 12:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 12:47:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574615296001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574615296001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:47:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574615296001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":125380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451067,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:47:51] local.INFO: GPS data processed {"connection_id":125380,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:47:51] local.INFO: Acknowledgment sent {"connection_id":125380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:48:00] local.INFO: TCP Data received {"connection_id":125485,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:48:00] local.INFO: Processing buffer {"connection_id":125485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:48:00] local.INFO: IMEI packet received {"connection_id":125485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":125485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:48:06] local.INFO: TCP Data received {"connection_id":125485,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:48:06] local.INFO: Processing buffer {"connection_id":125485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:48:06] local.INFO: IMEI packet received {"connection_id":125485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":125485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:48:07] local.INFO: TCP Data received {"connection_id":125485,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4093a630012d1824400721b8e8004d00dd27..."} 
[2026-07-08 12:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4093a630012d1824400721b8e8004d00dd27..."} 
[2026-07-08 12:48:07] local.INFO: Processing buffer {"connection_id":125485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4093a630012d1824400721b8e8004d00dd27..."} 
[2026-07-08 12:48:07] local.INFO: Packet analysis {"connection_id":125485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4093"} 
[2026-07-08 12:48:07] local.INFO: Extracted packet for processing {"connection_id":125485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4093"} 
[2026-07-08 12:48:07] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650536,"longitude_deg":75.6556864,"latitude_deg":11.9650536,"altitude":77,"angle":221,"satellites":39,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b8e8","is_valid_coordinates":true} 
[2026-07-08 12:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574675200001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741089844002816,"note":"Value kept but may cause issues"} 
[2026-07-08 12:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446568960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783494846000,"timestamp_ms":1783494846000,"timestamp_seconds":1783494846,"priority":1,"record_length":96,"hex_timestamp":"0000019f4093a630"} 
[2026-07-08 12:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 12:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574675200001,"66":12287,"120":206,"28":31744,"24":0,"16":4741089844002816,"45":1739585755446568960},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574675200001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:48:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:48:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741089844002816,"km_value":4741089844002.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446568960,"description":"Unknown IO ID 45"} 
[2026-07-08 12:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574675200001,"power":12287,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739585755446568960}} 
[2026-07-08 12:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":125485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:48:07] local.INFO: GPS data processed {"connection_id":125485,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:48:07] local.INFO: Acknowledgment sent {"connection_id":125485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:48:22] local.INFO: TCP Data received {"connection_id":125380,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f409459e0012d0b130007029fc00000013420..."} 
[2026-07-08 12:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409459e0012d0b130007029fc00000013420..."} 
[2026-07-08 12:48:22] local.INFO: Processing buffer {"connection_id":125380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409459e0012d0b130007029fc00000013420..."} 
[2026-07-08 12:48:22] local.INFO: Packet analysis {"connection_id":125380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4094"} 
[2026-07-08 12:48:22] local.INFO: Extracted packet for processing {"connection_id":125380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4094"} 
[2026-07-08 12:48:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574615296001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783494892000,"timestamp_ms":1783494892000,"timestamp_seconds":1783494892,"priority":1,"record_length":96,"hex_timestamp":"0000019f409459e0"} 
[2026-07-08 12:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:48:22] 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-07-08 12: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 12:48:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:48:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574615296001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574615296001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:48:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574615296001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":125380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451069,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:48:22] local.INFO: GPS data processed {"connection_id":125380,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:48:22] local.INFO: Acknowledgment sent {"connection_id":125380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:48:38] local.INFO: TCP Data received {"connection_id":125485,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f4093f838012d1824400721b8e8004d00dd27..."} 
[2026-07-08 12:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4093f838012d1824400721b8e8004d00dd27..."} 
[2026-07-08 12:48:38] local.INFO: Processing buffer {"connection_id":125485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4093f838012d1824400721b8e8004d00dd27..."} 
[2026-07-08 12:48:38] local.INFO: Packet analysis {"connection_id":125485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4093"} 
[2026-07-08 12:48:38] local.INFO: Extracted packet for processing {"connection_id":125485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4093"} 
[2026-07-08 12:48:38] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650536,"longitude_deg":75.6556864,"latitude_deg":11.9650536,"altitude":77,"angle":221,"satellites":39,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b8e8","is_valid_coordinates":true} 
[2026-07-08 12:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574680576001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741089844002816,"note":"Value kept but may cause issues"} 
[2026-07-08 12:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446568960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783494867000,"timestamp_ms":1783494867000,"timestamp_seconds":1783494867,"priority":1,"record_length":96,"hex_timestamp":"0000019f4093f838"} 
[2026-07-08 12:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 12:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 12:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574680576001,"66":12287,"120":206,"28":31744,"24":0,"16":4741089844002816,"45":1739585755446568960},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574680576001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:48:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:48:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741089844002816,"km_value":4741089844002.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446568960,"description":"Unknown IO ID 45"} 
[2026-07-08 12:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574680576001,"power":12287,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739585755446568960}} 
[2026-07-08 12:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":125485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:48:39] local.INFO: GPS data processed {"connection_id":125485,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:48:39] local.INFO: Acknowledgment sent {"connection_id":125485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:48:50] local.INFO: TCP Data received {"connection_id":127501,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127501,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:48:50] local.INFO: Processing buffer {"connection_id":127501,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:48:50] local.INFO: IMEI packet received {"connection_id":127501,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":127501,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:48:55] local.INFO: TCP Data received {"connection_id":127501,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127501,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:48:55] local.INFO: Processing buffer {"connection_id":127501,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:48:55] local.INFO: IMEI packet received {"connection_id":127501,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":127501,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:48:55] local.INFO: TCP Data received {"connection_id":127501,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f409459e0012d0b130007029fc00000013420..."} 
[2026-07-08 12:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409459e0012d0b130007029fc00000013420..."} 
[2026-07-08 12:48:55] local.INFO: Processing buffer {"connection_id":127501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409459e0012d0b130007029fc00000013420..."} 
[2026-07-08 12:48:55] local.INFO: Packet analysis {"connection_id":127501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4094"} 
[2026-07-08 12:48:55] local.INFO: Extracted packet for processing {"connection_id":127501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4094"} 
[2026-07-08 12:48:55] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574615296001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783494892000,"timestamp_ms":1783494892000,"timestamp_seconds":1783494892,"priority":1,"record_length":96,"hex_timestamp":"0000019f409459e0"} 
[2026-07-08 12:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:48:55] 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-07-08 12:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 12:48:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":127501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":127501,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":127501,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574615296001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574615296001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:48:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574615296001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":127501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451071,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:48:56] local.INFO: GPS data processed {"connection_id":127501,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:48:56] local.INFO: Acknowledgment sent {"connection_id":127501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:49:00] local.INFO: TCP Data received {"connection_id":127501,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f409459e0012d0b130007029fc00000013420..."} 
[2026-07-08 12:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409459e0012d0b130007029fc00000013420..."} 
[2026-07-08 12:49:00] local.INFO: Processing buffer {"connection_id":127501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409459e0012d0b130007029fc00000013420..."} 
[2026-07-08 12:49:00] local.INFO: Packet analysis {"connection_id":127501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4094"} 
[2026-07-08 12:49:00] local.INFO: Extracted packet for processing {"connection_id":127501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4094"} 
[2026-07-08 12:49:00] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574615296001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783494892000,"timestamp_ms":1783494892000,"timestamp_seconds":1783494892,"priority":1,"record_length":96,"hex_timestamp":"0000019f409459e0"} 
[2026-07-08 12:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:49:00] 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-07-08 12: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 12:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":127501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":127501,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":127501,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574615296001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574615296001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:49:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574615296001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":127501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451072,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:49:00] local.INFO: GPS data processed {"connection_id":127501,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:49:00] local.INFO: Acknowledgment sent {"connection_id":127501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:49:06] local.INFO: TCP Data received {"connection_id":125382,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:49:06] local.INFO: Processing buffer {"connection_id":125382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:49:06] local.INFO: IMEI packet received {"connection_id":125382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":125382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:49:11] local.INFO: TCP Data received {"connection_id":125382,"ip":"117.224.101.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:49:11] local.INFO: Processing buffer {"connection_id":125382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:49:11] local.INFO: IMEI packet received {"connection_id":125382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":125382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:49:12] local.INFO: TCP Data received {"connection_id":125382,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40944a40012d1824400721b8e8004d00dd25..."} 
[2026-07-08 12:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40944a40012d1824400721b8e8004d00dd25..."} 
[2026-07-08 12:49:12] local.INFO: Processing buffer {"connection_id":125382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40944a40012d1824400721b8e8004d00dd25..."} 
[2026-07-08 12:49:12] local.INFO: Packet analysis {"connection_id":125382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4094"} 
[2026-07-08 12:49:12] local.INFO: Extracted packet for processing {"connection_id":125382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4094"} 
[2026-07-08 12:49:12] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650536,"longitude_deg":75.6556864,"latitude_deg":11.9650536,"altitude":77,"angle":221,"satellites":37,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b8e8","is_valid_coordinates":true} 
[2026-07-08 12:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574685952001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741089844002816,"note":"Value kept but may cause issues"} 
[2026-07-08 12:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446568960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783494888000,"timestamp_ms":1783494888000,"timestamp_seconds":1783494888,"priority":1,"record_length":96,"hex_timestamp":"0000019f40944a40"} 
[2026-07-08 12:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12: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-07-08 12: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 12:49: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-07-08 12:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574685952001,"66":12287,"120":206,"28":31744,"24":0,"16":4741089844002816,"45":1739585755446568960},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574685952001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:49:12] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:49:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741089844002816,"km_value":4741089844002.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446568960,"description":"Unknown IO ID 45"} 
[2026-07-08 12:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574685952001,"power":12287,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739585755446568960}} 
[2026-07-08 12:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":125382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:49:12] local.INFO: GPS data processed {"connection_id":125382,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:49:12] local.INFO: Acknowledgment sent {"connection_id":125382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:49:13] local.INFO: TCP Data received {"connection_id":125382,"ip":"117.224.101.146","data_length":795,"data_hex":"000000000000030f8e0a0000019f40949c48012d1824400721b8e8004d00dd26..."} 
[2026-07-08 12:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40949c48012d1824400721b8e8004d00dd26..."} 
[2026-07-08 12:49:13] local.INFO: Processing buffer {"connection_id":125382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40949c48012d1824400721b8e8004d00dd26..."} 
[2026-07-08 12:49:13] local.INFO: Packet analysis {"connection_id":125382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4094"} 
[2026-07-08 12:49:13] local.INFO: Extracted packet for processing {"connection_id":125382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4094"} 
[2026-07-08 12:49:13] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650536,"longitude_deg":75.6556864,"latitude_deg":11.9650536,"altitude":77,"angle":221,"satellites":38,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b8e8","is_valid_coordinates":true} 
[2026-07-08 12:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574691328001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741089844002816,"note":"Value kept but may cause issues"} 
[2026-07-08 12:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446568960,"note":"Value kept but may cause issues"} 
[2026-07-08 12:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783494909000,"timestamp_ms":1783494909000,"timestamp_seconds":1783494909,"priority":1,"record_length":96,"hex_timestamp":"0000019f40949c48"} 
[2026-07-08 12:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:49: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-07-08 12: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 12:49:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.101.146","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574691328001,"66":12254,"120":206,"28":31744,"24":0,"16":4741089844002816,"45":1739585755446568960},"client_ip":"117.224.101.146","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574691328001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:49:13] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:49:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741089844002816,"km_value":4741089844002.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446568960,"description":"Unknown IO ID 45"} 
[2026-07-08 12:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574691328001,"power":12254,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739585755446568960}} 
[2026-07-08 12:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":125382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:49:13] local.INFO: GPS data processed {"connection_id":125382,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:49:13] local.INFO: Acknowledgment sent {"connection_id":125382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:49:45] local.INFO: TCP Data received {"connection_id":125383,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125383,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:49:45] local.INFO: Processing buffer {"connection_id":125383,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:49:45] local.INFO: IMEI packet received {"connection_id":125383,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":125383,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:49:50] local.INFO: TCP Data received {"connection_id":125383,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125383,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:49:50] local.INFO: Processing buffer {"connection_id":125383,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:49:50] local.INFO: IMEI packet received {"connection_id":125383,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":125383,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:49:51] local.INFO: TCP Data received {"connection_id":125383,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f409459e0012d0b130007029fc00000013420..."} 
[2026-07-08 12:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409459e0012d0b130007029fc00000013420..."} 
[2026-07-08 12:49:51] local.INFO: Processing buffer {"connection_id":125383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409459e0012d0b130007029fc00000013420..."} 
[2026-07-08 12:49:51] local.INFO: Packet analysis {"connection_id":125383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4094"} 
[2026-07-08 12:49:51] local.INFO: Extracted packet for processing {"connection_id":125383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4094"} 
[2026-07-08 12:49:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574615296001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783494892000,"timestamp_ms":1783494892000,"timestamp_seconds":1783494892,"priority":1,"record_length":96,"hex_timestamp":"0000019f409459e0"} 
[2026-07-08 12:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:49: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-07-08 12: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 12:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125383,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125383,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574615296001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574615296001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:49:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574615296001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":125383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451075,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:49:51] local.INFO: GPS data processed {"connection_id":125383,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:49:51] local.INFO: Acknowledgment sent {"connection_id":125383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:50:21] local.INFO: TCP Data received {"connection_id":127503,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127503,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:50:21] local.INFO: Processing buffer {"connection_id":127503,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:50:21] local.INFO: IMEI packet received {"connection_id":127503,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 12:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":127503,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:50:22] local.INFO: TCP Data received {"connection_id":125383,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4098f1a8012d0b130007029fc00000013421..."} 
[2026-07-08 12:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4098f1a8012d0b130007029fc00000013421..."} 
[2026-07-08 12:50:22] local.INFO: Processing buffer {"connection_id":125383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4098f1a8012d0b130007029fc00000013421..."} 
[2026-07-08 12:50:22] local.INFO: Packet analysis {"connection_id":125383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 12:50:22] local.INFO: Extracted packet for processing {"connection_id":125383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 12:50:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574692352001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783495193000,"timestamp_ms":1783495193000,"timestamp_seconds":1783495193,"priority":1,"record_length":96,"hex_timestamp":"0000019f4098f1a8"} 
[2026-07-08 12:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:50:22] 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-07-08 12: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:50:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125383,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125383,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574692352001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574692352001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:50:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574692352001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":125383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451076,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:50:22] local.INFO: GPS data processed {"connection_id":125383,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:50:22] local.INFO: Acknowledgment sent {"connection_id":125383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:50:45] local.INFO: TCP Data received {"connection_id":126247,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126247,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:50:45] local.INFO: Processing buffer {"connection_id":126247,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:50:45] local.INFO: IMEI packet received {"connection_id":126247,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":126247,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:50:50] local.INFO: TCP Data received {"connection_id":126247,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126247,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:50:50] local.INFO: Processing buffer {"connection_id":126247,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:50:50] local.INFO: IMEI packet received {"connection_id":126247,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":126247,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:50:55] local.INFO: TCP Data received {"connection_id":126247,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4098f1a8012d0b130007029fc00000013421..."} 
[2026-07-08 12:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4098f1a8012d0b130007029fc00000013421..."} 
[2026-07-08 12:50:55] local.INFO: Processing buffer {"connection_id":126247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4098f1a8012d0b130007029fc00000013421..."} 
[2026-07-08 12:50:55] local.INFO: Packet analysis {"connection_id":126247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 12:50:55] local.INFO: Extracted packet for processing {"connection_id":126247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 12:50:55] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574692352001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783495193000,"timestamp_ms":1783495193000,"timestamp_seconds":1783495193,"priority":1,"record_length":96,"hex_timestamp":"0000019f4098f1a8"} 
[2026-07-08 12:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:50:55] 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-07-08 12:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":126247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":126247,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":126247,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574692352001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574692352001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:50:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574692352001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":126247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451077,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:50:55] local.INFO: GPS data processed {"connection_id":126247,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:50:55] local.INFO: Acknowledgment sent {"connection_id":126247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:50:56] local.INFO: TCP Data received {"connection_id":125384,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125384,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:50:56] local.INFO: Processing buffer {"connection_id":125384,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:50:56] local.INFO: IMEI packet received {"connection_id":125384,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 12:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":125384,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:51:07] local.INFO: TCP Data received {"connection_id":125385,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:51:07] local.INFO: Processing buffer {"connection_id":125385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:51:07] local.INFO: IMEI packet received {"connection_id":125385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":125385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:51:17] local.INFO: TCP Data received {"connection_id":125385,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:51:17] local.INFO: Processing buffer {"connection_id":125385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:51:17] local.INFO: IMEI packet received {"connection_id":125385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":125385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:51:24] local.INFO: TCP Data received {"connection_id":125385,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f40960790012d7fa48005afdba8000b00f923..."} 
[2026-07-08 12:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40960790012d7fa48005afdba8000b00f923..."} 
[2026-07-08 12:51:24] local.INFO: Processing buffer {"connection_id":125385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40960790012d7fa48005afdba8000b00f923..."} 
[2026-07-08 12:51:24] local.INFO: Packet analysis {"connection_id":125385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4096"} 
[2026-07-08 12:51:24] local.INFO: Extracted packet for processing {"connection_id":125385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4096"} 
[2026-07-08 12:51:24] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":11,"angle":249,"satellites":35,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574643456001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783495002000,"timestamp_ms":1783495002000,"timestamp_seconds":1783495002,"priority":1,"record_length":96,"hex_timestamp":"0000019f40960790"} 
[2026-07-08 12:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:51:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-08 12:51:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:51:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574643456001,"66":25702,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574643456001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:51:24] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:51:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 12:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574643456001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 12:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":125385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:51:24] local.INFO: GPS data processed {"connection_id":125385,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:51:24] local.INFO: Acknowledgment sent {"connection_id":125385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:51:27] local.INFO: TCP Data received {"connection_id":126247,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4098f1a8012d0b130007029fc00000013421..."} 
[2026-07-08 12:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4098f1a8012d0b130007029fc00000013421..."} 
[2026-07-08 12:51:27] local.INFO: Processing buffer {"connection_id":126247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4098f1a8012d0b130007029fc00000013421..."} 
[2026-07-08 12:51:27] local.INFO: Packet analysis {"connection_id":126247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 12:51:27] local.INFO: Extracted packet for processing {"connection_id":126247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 12:51:27] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574692352001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783495193000,"timestamp_ms":1783495193000,"timestamp_seconds":1783495193,"priority":1,"record_length":96,"hex_timestamp":"0000019f4098f1a8"} 
[2026-07-08 12:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:51:27] 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-07-08 12:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":126247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":126247,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":126247,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574692352001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574692352001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:51:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574692352001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":126247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451079,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:51:27] local.INFO: GPS data processed {"connection_id":126247,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:51:27] local.INFO: Acknowledgment sent {"connection_id":126247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:51:27] local.INFO: TCP Data received {"connection_id":125385,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f40960790012d7fa48005afdba8000b00f923..."} 
[2026-07-08 12:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40960790012d7fa48005afdba8000b00f923..."} 
[2026-07-08 12:51:27] local.INFO: Processing buffer {"connection_id":125385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40960790012d7fa48005afdba8000b00f923..."} 
[2026-07-08 12:51:27] local.INFO: Packet analysis {"connection_id":125385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4096"} 
[2026-07-08 12:51:27] local.INFO: Extracted packet for processing {"connection_id":125385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4096"} 
[2026-07-08 12:51:27] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":11,"angle":249,"satellites":35,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574643456001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783495002000,"timestamp_ms":1783495002000,"timestamp_seconds":1783495002,"priority":1,"record_length":96,"hex_timestamp":"0000019f40960790"} 
[2026-07-08 12:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-08 12:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":125385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":125385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":125385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:51: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-07-08 12:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574643456001,"66":25702,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574643456001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:51:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:51:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 12:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574643456001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 12:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":125385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:51:27] local.INFO: GPS data processed {"connection_id":125385,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:51:27] local.INFO: Acknowledgment sent {"connection_id":125385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:51:45] local.INFO: TCP Data received {"connection_id":125488,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125488,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:51:45] local.INFO: Processing buffer {"connection_id":125488,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:51:45] local.INFO: IMEI packet received {"connection_id":125488,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":125488,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:51:50] local.INFO: TCP Data received {"connection_id":125488,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125488,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:51:50] local.INFO: Processing buffer {"connection_id":125488,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:51:50] local.INFO: IMEI packet received {"connection_id":125488,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":125488,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:51:54] local.INFO: TCP Data received {"connection_id":125488,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4098f1a8012d0b130007029fc00000013421..."} 
[2026-07-08 12:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4098f1a8012d0b130007029fc00000013421..."} 
[2026-07-08 12:51:54] local.INFO: Processing buffer {"connection_id":125488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4098f1a8012d0b130007029fc00000013421..."} 
[2026-07-08 12:51:54] local.INFO: Packet analysis {"connection_id":125488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 12:51:54] local.INFO: Extracted packet for processing {"connection_id":125488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 12:51:54] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574692352001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:51:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783495193000,"timestamp_ms":1783495193000,"timestamp_seconds":1783495193,"priority":1,"record_length":96,"hex_timestamp":"0000019f4098f1a8"} 
[2026-07-08 12:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:51:54] 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-07-08 12: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:51:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":125488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":125488,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":125488,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:51:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574692352001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574692352001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:51:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574692352001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":125488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451081,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:51:54] local.INFO: GPS data processed {"connection_id":125488,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:51:54] local.INFO: Acknowledgment sent {"connection_id":125488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:52:03] local.INFO: TCP Data received {"connection_id":127504,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:52:03] local.INFO: Processing buffer {"connection_id":127504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:52:03] local.INFO: IMEI packet received {"connection_id":127504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":127504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:52:06] local.INFO: TCP Data received {"connection_id":127504,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:52:06] local.INFO: Processing buffer {"connection_id":127504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:52:06] local.INFO: IMEI packet received {"connection_id":127504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":127504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:52:07] local.INFO: TCP Data received {"connection_id":127504,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f40960790012d7fa48005afdba8000b00f923..."} 
[2026-07-08 12:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40960790012d7fa48005afdba8000b00f923..."} 
[2026-07-08 12:52:07] local.INFO: Processing buffer {"connection_id":127504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40960790012d7fa48005afdba8000b00f923..."} 
[2026-07-08 12:52:07] local.INFO: Packet analysis {"connection_id":127504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4096"} 
[2026-07-08 12:52:07] local.INFO: Extracted packet for processing {"connection_id":127504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4096"} 
[2026-07-08 12:52:07] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":11,"angle":249,"satellites":35,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574643456001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783495002000,"timestamp_ms":1783495002000,"timestamp_seconds":1783495002,"priority":1,"record_length":96,"hex_timestamp":"0000019f40960790"} 
[2026-07-08 12:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-08 12:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574643456001,"66":25702,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574643456001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:52:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:52:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 12:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574643456001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 12:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":127504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:52:07] local.INFO: GPS data processed {"connection_id":127504,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:52:07] local.INFO: Acknowledgment sent {"connection_id":127504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:52:07] local.INFO: TCP Data received {"connection_id":127504,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f40960790012d7fa48005afdba8000b00f923..."} 
[2026-07-08 12:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40960790012d7fa48005afdba8000b00f923..."} 
[2026-07-08 12:52:07] local.INFO: Processing buffer {"connection_id":127504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40960790012d7fa48005afdba8000b00f923..."} 
[2026-07-08 12:52:07] local.INFO: Packet analysis {"connection_id":127504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4096"} 
[2026-07-08 12:52:07] local.INFO: Extracted packet for processing {"connection_id":127504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4096"} 
[2026-07-08 12:52:07] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":11,"angle":249,"satellites":35,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574643456001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783495002000,"timestamp_ms":1783495002000,"timestamp_seconds":1783495002,"priority":1,"record_length":96,"hex_timestamp":"0000019f40960790"} 
[2026-07-08 12:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-08 12:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574643456001,"66":25702,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574643456001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:52:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:52:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 12:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574643456001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 12:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":127504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:52:07] local.INFO: GPS data processed {"connection_id":127504,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:52:07] local.INFO: Acknowledgment sent {"connection_id":127504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:52:28] local.INFO: TCP Data received {"connection_id":125488,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f4098f1a8012d0b130007029fc00000013421..."} 
[2026-07-08 12:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4098f1a8012d0b130007029fc00000013421..."} 
[2026-07-08 12:52:28] local.INFO: Processing buffer {"connection_id":125488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4098f1a8012d0b130007029fc00000013421..."} 
[2026-07-08 12:52:28] local.INFO: Packet analysis {"connection_id":125488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 12:52:28] local.INFO: Extracted packet for processing {"connection_id":125488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 12:52:28] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574692352001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:52:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783495193000,"timestamp_ms":1783495193000,"timestamp_seconds":1783495193,"priority":1,"record_length":96,"hex_timestamp":"0000019f4098f1a8"} 
[2026-07-08 12:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:52:28] 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-07-08 12:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:52:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:52:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":125488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":125488,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":125488,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574692352001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574692352001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:52:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574692352001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":125488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451084,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:52:28] local.INFO: GPS data processed {"connection_id":125488,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:52:28] local.INFO: Acknowledgment sent {"connection_id":125488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:52:38] local.INFO: TCP Data received {"connection_id":127504,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f409a9f58012d7fa48005afdba8000b00f926..."} 
[2026-07-08 12:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409a9f58012d7fa48005afdba8000b00f926..."} 
[2026-07-08 12:52:38] local.INFO: Processing buffer {"connection_id":127504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409a9f58012d7fa48005afdba8000b00f926..."} 
[2026-07-08 12:52:38] local.INFO: Packet analysis {"connection_id":127504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f409a"} 
[2026-07-08 12:52:38] local.INFO: Extracted packet for processing {"connection_id":127504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f409a"} 
[2026-07-08 12:52:38] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":11,"angle":249,"satellites":38,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574720512001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783495303000,"timestamp_ms":1783495303000,"timestamp_seconds":1783495303,"priority":1,"record_length":96,"hex_timestamp":"0000019f409a9f58"} 
[2026-07-08 12:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 12:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574720512001,"66":25647,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574720512001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:52:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:52:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 12:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574720512001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 12:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":127504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:52:38] local.INFO: GPS data processed {"connection_id":127504,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:52:38] local.INFO: Acknowledgment sent {"connection_id":127504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:52:50] local.INFO: TCP Data received {"connection_id":127505,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127505,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:52:50] local.INFO: Processing buffer {"connection_id":127505,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:52:50] local.INFO: IMEI packet received {"connection_id":127505,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":127505,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:52:55] local.INFO: TCP Data received {"connection_id":127505,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127505,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:52:55] local.INFO: Processing buffer {"connection_id":127505,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:52:55] local.INFO: IMEI packet received {"connection_id":127505,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":127505,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:52:56] local.INFO: TCP Data received {"connection_id":126248,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:52:56] local.INFO: Processing buffer {"connection_id":126248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:52:56] local.INFO: IMEI packet received {"connection_id":126248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":126248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:52:56] local.INFO: TCP Data received {"connection_id":127505,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4098f1a8012d0b130007029fc00000013421..."} 
[2026-07-08 12:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4098f1a8012d0b130007029fc00000013421..."} 
[2026-07-08 12:52:56] local.INFO: Processing buffer {"connection_id":127505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4098f1a8012d0b130007029fc00000013421..."} 
[2026-07-08 12:52:56] local.INFO: Packet analysis {"connection_id":127505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 12:52:56] local.INFO: Extracted packet for processing {"connection_id":127505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 12:52:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574692352001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:52:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783495193000,"timestamp_ms":1783495193000,"timestamp_seconds":1783495193,"priority":1,"record_length":96,"hex_timestamp":"0000019f4098f1a8"} 
[2026-07-08 12:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:52:56] 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-07-08 12:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:52:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:52:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":127505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":127505,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":127505,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574692352001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574692352001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:52:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574692352001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":127505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451086,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:52:56] local.INFO: GPS data processed {"connection_id":127505,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:52:56] local.INFO: Acknowledgment sent {"connection_id":127505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:53:01] local.INFO: TCP Data received {"connection_id":126248,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:53:01] local.INFO: Processing buffer {"connection_id":126248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:53:01] local.INFO: IMEI packet received {"connection_id":126248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":126248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:53:02] local.INFO: TCP Data received {"connection_id":126248,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f409a9f58012d7fa48005afdba8000b00f926..."} 
[2026-07-08 12:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409a9f58012d7fa48005afdba8000b00f926..."} 
[2026-07-08 12:53:02] local.INFO: Processing buffer {"connection_id":126248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409a9f58012d7fa48005afdba8000b00f926..."} 
[2026-07-08 12:53:02] local.INFO: Packet analysis {"connection_id":126248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f409a"} 
[2026-07-08 12:53:02] local.INFO: Extracted packet for processing {"connection_id":126248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f409a"} 
[2026-07-08 12:53:02] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":11,"angle":249,"satellites":38,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574720512001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783495303000,"timestamp_ms":1783495303000,"timestamp_seconds":1783495303,"priority":1,"record_length":96,"hex_timestamp":"0000019f409a9f58"} 
[2026-07-08 12:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 12:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574720512001,"66":25647,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574720512001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:53:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:53:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 12:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574720512001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 12:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":126248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:53:02] local.INFO: GPS data processed {"connection_id":126248,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:53:02] local.INFO: Acknowledgment sent {"connection_id":126248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:53:27] local.INFO: TCP Data received {"connection_id":127505,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4098f1a8012d0b130007029fc00000013421..."} 
[2026-07-08 12:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4098f1a8012d0b130007029fc00000013421..."} 
[2026-07-08 12:53:27] local.INFO: Processing buffer {"connection_id":127505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4098f1a8012d0b130007029fc00000013421..."} 
[2026-07-08 12:53:27] local.INFO: Packet analysis {"connection_id":127505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 12:53:27] local.INFO: Extracted packet for processing {"connection_id":127505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 12:53:27] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574692352001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783495193000,"timestamp_ms":1783495193000,"timestamp_seconds":1783495193,"priority":1,"record_length":96,"hex_timestamp":"0000019f4098f1a8"} 
[2026-07-08 12:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:53:27] 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-07-08 12: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:53:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:53:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":127505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":127505,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":127505,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574692352001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574692352001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:53:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574692352001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":127505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451088,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:53:27] local.INFO: GPS data processed {"connection_id":127505,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:53:27] local.INFO: Acknowledgment sent {"connection_id":127505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:53:33] local.INFO: TCP Data received {"connection_id":126248,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f409a9f58012d7fa48005afdba8000b00f926..."} 
[2026-07-08 12:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409a9f58012d7fa48005afdba8000b00f926..."} 
[2026-07-08 12:53:33] local.INFO: Processing buffer {"connection_id":126248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409a9f58012d7fa48005afdba8000b00f926..."} 
[2026-07-08 12:53:33] local.INFO: Packet analysis {"connection_id":126248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f409a"} 
[2026-07-08 12:53:33] local.INFO: Extracted packet for processing {"connection_id":126248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f409a"} 
[2026-07-08 12:53:33] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":11,"angle":249,"satellites":38,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574720512001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783495303000,"timestamp_ms":1783495303000,"timestamp_seconds":1783495303,"priority":1,"record_length":96,"hex_timestamp":"0000019f409a9f58"} 
[2026-07-08 12:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 12:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:53:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574720512001,"66":25647,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574720512001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:53:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:53:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 12:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574720512001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 12:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":126248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:53:33] local.INFO: GPS data processed {"connection_id":126248,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:53:33] local.INFO: Acknowledgment sent {"connection_id":126248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:53:45] local.INFO: TCP Data received {"connection_id":125490,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125490,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:53:45] local.INFO: Processing buffer {"connection_id":125490,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:53:45] local.INFO: IMEI packet received {"connection_id":125490,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":125490,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:53:50] local.INFO: TCP Data received {"connection_id":125490,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125490,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:53:50] local.INFO: Processing buffer {"connection_id":125490,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:53:50] local.INFO: IMEI packet received {"connection_id":125490,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":125490,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:53:51] local.INFO: TCP Data received {"connection_id":125490,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f4098f1a8012d0b130007029fc00000013421..."} 
[2026-07-08 12:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4098f1a8012d0b130007029fc00000013421..."} 
[2026-07-08 12:53:51] local.INFO: Processing buffer {"connection_id":125490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4098f1a8012d0b130007029fc00000013421..."} 
[2026-07-08 12:53:51] local.INFO: Packet analysis {"connection_id":125490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 12:53:51] local.INFO: Extracted packet for processing {"connection_id":125490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 12:53:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574692352001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783495193000,"timestamp_ms":1783495193000,"timestamp_seconds":1783495193,"priority":1,"record_length":96,"hex_timestamp":"0000019f4098f1a8"} 
[2026-07-08 12:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:53: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-07-08 12:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125490,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125490,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574692352001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574692352001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:53:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574692352001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":125490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451090,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:53:51] local.INFO: GPS data processed {"connection_id":125490,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:53:51] local.INFO: Acknowledgment sent {"connection_id":125490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:54:01] local.INFO: TCP Data received {"connection_id":125386,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:54:01] local.INFO: Processing buffer {"connection_id":125386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:54:01] local.INFO: IMEI packet received {"connection_id":125386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":125386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:54:06] local.INFO: TCP Data received {"connection_id":125386,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:54:06] local.INFO: Processing buffer {"connection_id":125386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:54:06] local.INFO: IMEI packet received {"connection_id":125386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":125386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:54:07] local.INFO: TCP Data received {"connection_id":125386,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f409a9f58012d7fa48005afdba8000b00f926..."} 
[2026-07-08 12:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409a9f58012d7fa48005afdba8000b00f926..."} 
[2026-07-08 12:54:07] local.INFO: Processing buffer {"connection_id":125386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409a9f58012d7fa48005afdba8000b00f926..."} 
[2026-07-08 12:54:07] local.INFO: Packet analysis {"connection_id":125386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f409a"} 
[2026-07-08 12:54:07] local.INFO: Extracted packet for processing {"connection_id":125386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f409a"} 
[2026-07-08 12:54:07] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":11,"angle":249,"satellites":38,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574720512001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783495303000,"timestamp_ms":1783495303000,"timestamp_seconds":1783495303,"priority":1,"record_length":96,"hex_timestamp":"0000019f409a9f58"} 
[2026-07-08 12:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 12:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574720512001,"66":25647,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574720512001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:54:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:54:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 12:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574720512001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 12:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":125386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:54:07] local.INFO: GPS data processed {"connection_id":125386,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:54:07] local.INFO: Acknowledgment sent {"connection_id":125386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:54:16] local.INFO: TCP Data received {"connection_id":127506,"ip":"117.225.208.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:54:16] local.INFO: Processing buffer {"connection_id":127506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:54:16] local.INFO: IMEI packet received {"connection_id":127506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":127506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:54:21] local.INFO: TCP Data received {"connection_id":127506,"ip":"117.225.208.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:54:21] local.INFO: Processing buffer {"connection_id":127506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:54:21] local.INFO: IMEI packet received {"connection_id":127506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":127506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:54:22] local.INFO: TCP Data received {"connection_id":127506,"ip":"117.225.208.104","data_length":795,"data_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 12:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 12:54:22] local.INFO: Processing buffer {"connection_id":127506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 12:54:22] local.INFO: Packet analysis {"connection_id":127506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 12:54:22] local.INFO: Extracted packet for processing {"connection_id":127506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 12:54:22] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649456,"longitude_deg":75.6556352,"latitude_deg":11.9649456,"altitude":73,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4b0","is_valid_coordinates":true} 
[2026-07-08 12:54: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-07-08 12:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574754304001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 12:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492871168,"note":"Value kept but may cause issues"} 
[2026-07-08 12:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783495134000,"timestamp_ms":1783495134000,"timestamp_seconds":1783495134,"priority":1,"record_length":96,"hex_timestamp":"0000019f40980b30"} 
[2026-07-08 12:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 12:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":127506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":127506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":127506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.208.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574754304001,"66":12526,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1739022805492871168},"client_ip":"117.225.208.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574754304001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:54:22] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:54:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492871168,"description":"Unknown IO ID 45"} 
[2026-07-08 12:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574754304001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492871168}} 
[2026-07-08 12:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":127506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:54:22] local.INFO: GPS data processed {"connection_id":127506,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:54:22] local.INFO: Acknowledgment sent {"connection_id":127506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:54:22] local.INFO: TCP Data received {"connection_id":125490,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f4098f1a8012d0b130007029fc00000013421..."} 
[2026-07-08 12:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4098f1a8012d0b130007029fc00000013421..."} 
[2026-07-08 12:54:22] local.INFO: Processing buffer {"connection_id":125490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4098f1a8012d0b130007029fc00000013421..."} 
[2026-07-08 12:54:22] local.INFO: Packet analysis {"connection_id":125490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 12:54:22] local.INFO: Extracted packet for processing {"connection_id":125490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 12:54:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574692352001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783495193000,"timestamp_ms":1783495193000,"timestamp_seconds":1783495193,"priority":1,"record_length":96,"hex_timestamp":"0000019f4098f1a8"} 
[2026-07-08 12:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:54:22] 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-07-08 12: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125490,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125490,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574692352001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574692352001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:54:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574692352001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":125490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451093,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:54:22] local.INFO: GPS data processed {"connection_id":125490,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:54:22] local.INFO: Acknowledgment sent {"connection_id":125490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:54:38] local.INFO: TCP Data received {"connection_id":125386,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f409a9f58012d7fa48005afdba8000b00f926..."} 
[2026-07-08 12:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409a9f58012d7fa48005afdba8000b00f926..."} 
[2026-07-08 12:54:38] local.INFO: Processing buffer {"connection_id":125386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409a9f58012d7fa48005afdba8000b00f926..."} 
[2026-07-08 12:54:38] local.INFO: Packet analysis {"connection_id":125386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f409a"} 
[2026-07-08 12:54:38] local.INFO: Extracted packet for processing {"connection_id":125386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f409a"} 
[2026-07-08 12:54:38] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":11,"angle":249,"satellites":38,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574720512001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783495303000,"timestamp_ms":1783495303000,"timestamp_seconds":1783495303,"priority":1,"record_length":96,"hex_timestamp":"0000019f409a9f58"} 
[2026-07-08 12:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 12:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574720512001,"66":25647,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574720512001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:54:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:54:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 12:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574720512001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 12:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":125386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:54:38] local.INFO: GPS data processed {"connection_id":125386,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:54:38] local.INFO: Acknowledgment sent {"connection_id":125386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:54:45] local.INFO: TCP Data received {"connection_id":126249,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126249,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:54:45] local.INFO: Processing buffer {"connection_id":126249,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:54:45] local.INFO: IMEI packet received {"connection_id":126249,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":126249,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:54:50] local.INFO: TCP Data received {"connection_id":126249,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126249,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:54:50] local.INFO: Processing buffer {"connection_id":126249,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:54:50] local.INFO: IMEI packet received {"connection_id":126249,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":126249,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:54:51] local.INFO: TCP Data received {"connection_id":126249,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4098f1a8012d0b130007029fc00000013421..."} 
[2026-07-08 12:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4098f1a8012d0b130007029fc00000013421..."} 
[2026-07-08 12:54:51] local.INFO: Processing buffer {"connection_id":126249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4098f1a8012d0b130007029fc00000013421..."} 
[2026-07-08 12:54:51] local.INFO: Packet analysis {"connection_id":126249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 12:54:51] local.INFO: Extracted packet for processing {"connection_id":126249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 12:54:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574692352001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783495193000,"timestamp_ms":1783495193000,"timestamp_seconds":1783495193,"priority":1,"record_length":96,"hex_timestamp":"0000019f4098f1a8"} 
[2026-07-08 12:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:54: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-07-08 12:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 12:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126249,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126249,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574692352001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574692352001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:54:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574692352001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":126249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451095,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:54:51] local.INFO: GPS data processed {"connection_id":126249,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:54:51] local.INFO: Acknowledgment sent {"connection_id":126249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:54:56] local.INFO: TCP Data received {"connection_id":127507,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:54:56] local.INFO: Processing buffer {"connection_id":127507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:54:56] local.INFO: IMEI packet received {"connection_id":127507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":127507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:55:00] local.INFO: TCP Data received {"connection_id":125387,"ip":"117.225.208.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:55:00] local.INFO: Processing buffer {"connection_id":125387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:55:00] local.INFO: IMEI packet received {"connection_id":125387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":125387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:55:01] local.INFO: TCP Data received {"connection_id":127507,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:55:01] local.INFO: Processing buffer {"connection_id":127507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:55:01] local.INFO: IMEI packet received {"connection_id":127507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":127507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:55:02] local.INFO: TCP Data received {"connection_id":127507,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f409a9f58012d7fa48005afdba8000b00f926..."} 
[2026-07-08 12:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409a9f58012d7fa48005afdba8000b00f926..."} 
[2026-07-08 12:55:02] local.INFO: Processing buffer {"connection_id":127507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409a9f58012d7fa48005afdba8000b00f926..."} 
[2026-07-08 12:55:02] local.INFO: Packet analysis {"connection_id":127507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f409a"} 
[2026-07-08 12:55:02] local.INFO: Extracted packet for processing {"connection_id":127507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f409a"} 
[2026-07-08 12:55:02] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":11,"angle":249,"satellites":38,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574720512001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783495303000,"timestamp_ms":1783495303000,"timestamp_seconds":1783495303,"priority":1,"record_length":96,"hex_timestamp":"0000019f409a9f58"} 
[2026-07-08 12:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:55:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 12:55:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574720512001,"66":25647,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574720512001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:55:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:55:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 12:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574720512001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 12:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":127507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:55:02] local.INFO: GPS data processed {"connection_id":127507,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:55:02] local.INFO: Acknowledgment sent {"connection_id":127507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:55:06] local.INFO: TCP Data received {"connection_id":125387,"ip":"117.225.208.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:55:06] local.INFO: Processing buffer {"connection_id":125387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:55:06] local.INFO: IMEI packet received {"connection_id":125387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":125387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:55:07] local.INFO: TCP Data received {"connection_id":125387,"ip":"117.225.208.104","data_length":795,"data_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 12:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 12:55:07] local.INFO: Processing buffer {"connection_id":125387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 12:55:07] local.INFO: Packet analysis {"connection_id":125387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 12:55:07] local.INFO: Extracted packet for processing {"connection_id":125387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 12:55:07] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649456,"longitude_deg":75.6556352,"latitude_deg":11.9649456,"altitude":73,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4b0","is_valid_coordinates":true} 
[2026-07-08 12:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574754304001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 12:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492871168,"note":"Value kept but may cause issues"} 
[2026-07-08 12:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783495134000,"timestamp_ms":1783495134000,"timestamp_seconds":1783495134,"priority":1,"record_length":96,"hex_timestamp":"0000019f40980b30"} 
[2026-07-08 12:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 12:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.208.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574754304001,"66":12526,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1739022805492871168},"client_ip":"117.225.208.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574754304001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:55:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:55:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492871168,"description":"Unknown IO ID 45"} 
[2026-07-08 12:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574754304001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492871168}} 
[2026-07-08 12:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":125387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:55:07] local.INFO: GPS data processed {"connection_id":125387,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:55:07] local.INFO: Acknowledgment sent {"connection_id":125387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:55:22] local.INFO: TCP Data received {"connection_id":126249,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f409d8970012d0b130007029fc00000013420..."} 
[2026-07-08 12:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409d8970012d0b130007029fc00000013420..."} 
[2026-07-08 12:55:22] local.INFO: Processing buffer {"connection_id":126249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409d8970012d0b130007029fc00000013420..."} 
[2026-07-08 12:55:22] local.INFO: Packet analysis {"connection_id":126249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f409d"} 
[2026-07-08 12:55:22] local.INFO: Extracted packet for processing {"connection_id":126249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f409d"} 
[2026-07-08 12:55:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574769408001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783495494000,"timestamp_ms":1783495494000,"timestamp_seconds":1783495494,"priority":1,"record_length":96,"hex_timestamp":"0000019f409d8970"} 
[2026-07-08 12:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:55:22] 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-07-08 12: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 12:55:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:55:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126249,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126249,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574769408001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574769408001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:55:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574769408001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":126249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451098,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:55:22] local.INFO: GPS data processed {"connection_id":126249,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:55:22] local.INFO: Acknowledgment sent {"connection_id":126249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:55:33] local.INFO: TCP Data received {"connection_id":127507,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f409a9f58012d7fa48005afdba8000b00f926..."} 
[2026-07-08 12:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409a9f58012d7fa48005afdba8000b00f926..."} 
[2026-07-08 12:55:33] local.INFO: Processing buffer {"connection_id":127507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409a9f58012d7fa48005afdba8000b00f926..."} 
[2026-07-08 12:55:33] local.INFO: Packet analysis {"connection_id":127507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f409a"} 
[2026-07-08 12:55:33] local.INFO: Extracted packet for processing {"connection_id":127507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f409a"} 
[2026-07-08 12:55:33] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":11,"angle":249,"satellites":38,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574720512001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783495303000,"timestamp_ms":1783495303000,"timestamp_seconds":1783495303,"priority":1,"record_length":96,"hex_timestamp":"0000019f409a9f58"} 
[2026-07-08 12:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 12:55:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:55:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574720512001,"66":25647,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574720512001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:55:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:55:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 12:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574720512001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 12:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":127507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:55:33] local.INFO: GPS data processed {"connection_id":127507,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:55:33] local.INFO: Acknowledgment sent {"connection_id":127507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:55:39] local.INFO: TCP Data received {"connection_id":125387,"ip":"117.225.208.104","data_length":795,"data_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 12:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 12:55:39] local.INFO: Processing buffer {"connection_id":125387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 12:55:39] local.INFO: Packet analysis {"connection_id":125387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 12:55:39] local.INFO: Extracted packet for processing {"connection_id":125387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 12:55:39] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649456,"longitude_deg":75.6556352,"latitude_deg":11.9649456,"altitude":73,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4b0","is_valid_coordinates":true} 
[2026-07-08 12:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574754304001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 12:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492871168,"note":"Value kept but may cause issues"} 
[2026-07-08 12:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783495134000,"timestamp_ms":1783495134000,"timestamp_seconds":1783495134,"priority":1,"record_length":96,"hex_timestamp":"0000019f40980b30"} 
[2026-07-08 12:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12: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":238,"data_length":795,"current_offset":136} 
[2026-07-08 12:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.208.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574754304001,"66":12526,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1739022805492871168},"client_ip":"117.225.208.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574754304001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:55:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:55:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492871168,"description":"Unknown IO ID 45"} 
[2026-07-08 12:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574754304001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492871168}} 
[2026-07-08 12:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":125387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:55:39] local.INFO: GPS data processed {"connection_id":125387,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:55:39] local.INFO: Acknowledgment sent {"connection_id":125387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:55:45] local.INFO: TCP Data received {"connection_id":125492,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125492,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:55:45] local.INFO: Processing buffer {"connection_id":125492,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:55:45] local.INFO: IMEI packet received {"connection_id":125492,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":125492,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:55:50] local.INFO: TCP Data received {"connection_id":125492,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125492,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:55:50] local.INFO: Processing buffer {"connection_id":125492,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:55:50] local.INFO: IMEI packet received {"connection_id":125492,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":125492,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:55:51] local.INFO: TCP Data received {"connection_id":125492,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f409d8970012d0b130007029fc00000013420..."} 
[2026-07-08 12:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409d8970012d0b130007029fc00000013420..."} 
[2026-07-08 12:55:51] local.INFO: Processing buffer {"connection_id":125492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409d8970012d0b130007029fc00000013420..."} 
[2026-07-08 12:55:51] local.INFO: Packet analysis {"connection_id":125492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f409d"} 
[2026-07-08 12:55:51] local.INFO: Extracted packet for processing {"connection_id":125492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f409d"} 
[2026-07-08 12:55:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574769408001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783495494000,"timestamp_ms":1783495494000,"timestamp_seconds":1783495494,"priority":1,"record_length":96,"hex_timestamp":"0000019f409d8970"} 
[2026-07-08 12:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:55:51] 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-07-08 12:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 12:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125492,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125492,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574769408001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 12:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574769408001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:55:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574769408001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":125492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451101,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:55:51] local.INFO: GPS data processed {"connection_id":125492,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:55:51] local.INFO: Acknowledgment sent {"connection_id":125492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:55:56] local.INFO: TCP Data received {"connection_id":125388,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:55:56] local.INFO: Processing buffer {"connection_id":125388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:55:56] local.INFO: IMEI packet received {"connection_id":125388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":125388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:56:01] local.INFO: TCP Data received {"connection_id":125388,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:56:01] local.INFO: Processing buffer {"connection_id":125388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:56:01] local.INFO: IMEI packet received {"connection_id":125388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":125388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:56:02] local.INFO: TCP Data received {"connection_id":125388,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f409a9f58012d7fa48005afdba8000b00f926..."} 
[2026-07-08 12:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409a9f58012d7fa48005afdba8000b00f926..."} 
[2026-07-08 12:56:02] local.INFO: Processing buffer {"connection_id":125388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409a9f58012d7fa48005afdba8000b00f926..."} 
[2026-07-08 12:56:02] local.INFO: Packet analysis {"connection_id":125388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f409a"} 
[2026-07-08 12:56:02] local.INFO: Extracted packet for processing {"connection_id":125388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f409a"} 
[2026-07-08 12:56:02] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":11,"angle":249,"satellites":38,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574720512001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783495303000,"timestamp_ms":1783495303000,"timestamp_seconds":1783495303,"priority":1,"record_length":96,"hex_timestamp":"0000019f409a9f58"} 
[2026-07-08 12:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 12:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574720512001,"66":25647,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574720512001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:56:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:56:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 12:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574720512001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 12:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":125388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:56:02] local.INFO: GPS data processed {"connection_id":125388,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:56:02] local.INFO: Acknowledgment sent {"connection_id":125388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:56:06] local.INFO: TCP Data received {"connection_id":126250,"ip":"117.225.208.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:56:06] local.INFO: Processing buffer {"connection_id":126250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:56:06] local.INFO: IMEI packet received {"connection_id":126250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":126250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:56:10] local.INFO: TCP Data received {"connection_id":126250,"ip":"117.225.208.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:56:10] local.INFO: Processing buffer {"connection_id":126250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:56:10] local.INFO: IMEI packet received {"connection_id":126250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":126250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:56:11] local.INFO: TCP Data received {"connection_id":126250,"ip":"117.225.208.104","data_length":795,"data_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 12:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 12:56:11] local.INFO: Processing buffer {"connection_id":126250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 12:56:11] local.INFO: Packet analysis {"connection_id":126250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 12:56:11] local.INFO: Extracted packet for processing {"connection_id":126250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 12:56:11] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649456,"longitude_deg":75.6556352,"latitude_deg":11.9649456,"altitude":73,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4b0","is_valid_coordinates":true} 
[2026-07-08 12:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574754304001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 12:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492871168,"note":"Value kept but may cause issues"} 
[2026-07-08 12:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783495134000,"timestamp_ms":1783495134000,"timestamp_seconds":1783495134,"priority":1,"record_length":96,"hex_timestamp":"0000019f40980b30"} 
[2026-07-08 12:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 12:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.208.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574754304001,"66":12526,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1739022805492871168},"client_ip":"117.225.208.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574754304001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:56:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:56:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492871168,"description":"Unknown IO ID 45"} 
[2026-07-08 12:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574754304001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492871168}} 
[2026-07-08 12:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":126250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:56:11] local.INFO: GPS data processed {"connection_id":126250,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:56:11] local.INFO: Acknowledgment sent {"connection_id":126250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:56:16] local.INFO: TCP Data received {"connection_id":126250,"ip":"117.225.208.104","data_length":795,"data_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 12:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 12:56:16] local.INFO: Processing buffer {"connection_id":126250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 12:56:16] local.INFO: Packet analysis {"connection_id":126250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 12:56:16] local.INFO: Extracted packet for processing {"connection_id":126250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 12:56:16] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649456,"longitude_deg":75.6556352,"latitude_deg":11.9649456,"altitude":73,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4b0","is_valid_coordinates":true} 
[2026-07-08 12:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574754304001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 12:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492871168,"note":"Value kept but may cause issues"} 
[2026-07-08 12:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783495134000,"timestamp_ms":1783495134000,"timestamp_seconds":1783495134,"priority":1,"record_length":96,"hex_timestamp":"0000019f40980b30"} 
[2026-07-08 12:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 12:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:56:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":126250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":126250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":126250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.208.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574754304001,"66":12526,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1739022805492871168},"client_ip":"117.225.208.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574754304001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:56:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:56:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492871168,"description":"Unknown IO ID 45"} 
[2026-07-08 12:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574754304001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492871168}} 
[2026-07-08 12:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":126250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:56:16] local.INFO: GPS data processed {"connection_id":126250,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:56:16] local.INFO: Acknowledgment sent {"connection_id":126250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:56:23] local.INFO: TCP Data received {"connection_id":125492,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f409d8970012d0b130007029fc00000013420..."} 
[2026-07-08 12:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409d8970012d0b130007029fc00000013420..."} 
[2026-07-08 12:56:23] local.INFO: Processing buffer {"connection_id":125492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409d8970012d0b130007029fc00000013420..."} 
[2026-07-08 12:56:23] local.INFO: Packet analysis {"connection_id":125492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f409d"} 
[2026-07-08 12:56:23] local.INFO: Extracted packet for processing {"connection_id":125492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f409d"} 
[2026-07-08 12:56:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:56:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574769408001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:56:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783495494000,"timestamp_ms":1783495494000,"timestamp_seconds":1783495494,"priority":1,"record_length":96,"hex_timestamp":"0000019f409d8970"} 
[2026-07-08 12:56:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:56:23] 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-07-08 12:56:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 12:56:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:56:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:56:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":125492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":125492,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":125492,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:56:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574769408001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 12:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574769408001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:56:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574769408001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":125492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451105,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:56:23] local.INFO: GPS data processed {"connection_id":125492,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:56:23] local.INFO: Acknowledgment sent {"connection_id":125492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:56:33] local.INFO: TCP Data received {"connection_id":125388,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f409a9f58012d7fa48005afdba8000b00f926..."} 
[2026-07-08 12:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409a9f58012d7fa48005afdba8000b00f926..."} 
[2026-07-08 12:56:33] local.INFO: Processing buffer {"connection_id":125388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409a9f58012d7fa48005afdba8000b00f926..."} 
[2026-07-08 12:56:33] local.INFO: Packet analysis {"connection_id":125388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f409a"} 
[2026-07-08 12:56:33] local.INFO: Extracted packet for processing {"connection_id":125388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f409a"} 
[2026-07-08 12:56:33] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":11,"angle":249,"satellites":38,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574720512001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783495303000,"timestamp_ms":1783495303000,"timestamp_seconds":1783495303,"priority":1,"record_length":96,"hex_timestamp":"0000019f409a9f58"} 
[2026-07-08 12:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 12:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:56:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574720512001,"66":25647,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574720512001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:56:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:56:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 12:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574720512001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 12:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":125388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:56:33] local.INFO: GPS data processed {"connection_id":125388,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:56:33] local.INFO: Acknowledgment sent {"connection_id":125388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:56:45] local.INFO: TCP Data received {"connection_id":127509,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127509,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:56:45] local.INFO: Processing buffer {"connection_id":127509,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:56:45] local.INFO: IMEI packet received {"connection_id":127509,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":127509,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:56:50] local.INFO: TCP Data received {"connection_id":127509,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127509,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:56:50] local.INFO: Processing buffer {"connection_id":127509,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:56:50] local.INFO: IMEI packet received {"connection_id":127509,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":127509,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:56:51] local.INFO: TCP Data received {"connection_id":127509,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f409d8970012d0b130007029fc00000013420..."} 
[2026-07-08 12:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409d8970012d0b130007029fc00000013420..."} 
[2026-07-08 12:56:51] local.INFO: Processing buffer {"connection_id":127509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409d8970012d0b130007029fc00000013420..."} 
[2026-07-08 12:56:51] local.INFO: Packet analysis {"connection_id":127509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f409d"} 
[2026-07-08 12:56:51] local.INFO: Extracted packet for processing {"connection_id":127509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f409d"} 
[2026-07-08 12:56:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574769408001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783495494000,"timestamp_ms":1783495494000,"timestamp_seconds":1783495494,"priority":1,"record_length":96,"hex_timestamp":"0000019f409d8970"} 
[2026-07-08 12:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:56:51] 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-07-08 12:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 12:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:56:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127509,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127509,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574769408001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574769408001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:56:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574769408001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":127509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451107,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:56:51] local.INFO: GPS data processed {"connection_id":127509,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:56:51] local.INFO: Acknowledgment sent {"connection_id":127509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:56:52] local.INFO: TCP Data received {"connection_id":125493,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125493,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:56:52] local.INFO: Processing buffer {"connection_id":125493,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:56:52] local.INFO: IMEI packet received {"connection_id":125493,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 12:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":125493,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:56:56] local.INFO: TCP Data received {"connection_id":127510,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:56:56] local.INFO: Processing buffer {"connection_id":127510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:56:56] local.INFO: IMEI packet received {"connection_id":127510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":127510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:56:56] local.INFO: TCP Data received {"connection_id":126251,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126251,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:56:56] local.INFO: Processing buffer {"connection_id":126251,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 12:56:56] local.INFO: IMEI packet received {"connection_id":126251,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 12:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":126251,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:57:01] local.INFO: TCP Data received {"connection_id":127510,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:57:01] local.INFO: Processing buffer {"connection_id":127510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:57:01] local.INFO: IMEI packet received {"connection_id":127510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":127510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:57:02] local.INFO: TCP Data received {"connection_id":127510,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f409a9f58012d7fa48005afdba8000b00f926..."} 
[2026-07-08 12:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409a9f58012d7fa48005afdba8000b00f926..."} 
[2026-07-08 12:57:02] local.INFO: Processing buffer {"connection_id":127510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409a9f58012d7fa48005afdba8000b00f926..."} 
[2026-07-08 12:57:02] local.INFO: Packet analysis {"connection_id":127510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f409a"} 
[2026-07-08 12:57:02] local.INFO: Extracted packet for processing {"connection_id":127510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f409a"} 
[2026-07-08 12:57:02] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":11,"angle":249,"satellites":38,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574720512001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783495303000,"timestamp_ms":1783495303000,"timestamp_seconds":1783495303,"priority":1,"record_length":96,"hex_timestamp":"0000019f409a9f58"} 
[2026-07-08 12:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 12:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574720512001,"66":25647,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574720512001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:57:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:57:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 12:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574720512001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 12:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":127510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:57:02] local.INFO: GPS data processed {"connection_id":127510,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:57:02] local.INFO: Acknowledgment sent {"connection_id":127510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:57:16] local.INFO: TCP Data received {"connection_id":125389,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:57:16] local.INFO: Processing buffer {"connection_id":125389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:57:16] local.INFO: IMEI packet received {"connection_id":125389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":125389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:57:21] local.INFO: TCP Data received {"connection_id":125389,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:57:21] local.INFO: Processing buffer {"connection_id":125389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:57:21] local.INFO: IMEI packet received {"connection_id":125389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":125389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:57:22] local.INFO: TCP Data received {"connection_id":127509,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f409d8970012d0b130007029fc00000013420..."} 
[2026-07-08 12:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409d8970012d0b130007029fc00000013420..."} 
[2026-07-08 12:57:22] local.INFO: Processing buffer {"connection_id":127509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409d8970012d0b130007029fc00000013420..."} 
[2026-07-08 12:57:22] local.INFO: Packet analysis {"connection_id":127509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f409d"} 
[2026-07-08 12:57:22] local.INFO: Extracted packet for processing {"connection_id":127509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f409d"} 
[2026-07-08 12:57:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574769408001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783495494000,"timestamp_ms":1783495494000,"timestamp_seconds":1783495494,"priority":1,"record_length":96,"hex_timestamp":"0000019f409d8970"} 
[2026-07-08 12:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:57:22] 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-07-08 12: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 12:57:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":127509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":127509,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":127509,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574769408001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574769408001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:57:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574769408001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:57:22] local.INFO: TCP Data received {"connection_id":125389,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 12:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 12:57:22] local.INFO: Processing buffer {"connection_id":125389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 12:57:22] local.INFO: Packet analysis {"connection_id":125389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 12:57:22] local.INFO: Extracted packet for processing {"connection_id":125389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 12:57:22] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649456,"longitude_deg":75.6556352,"latitude_deg":11.9649456,"altitude":73,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4b0","is_valid_coordinates":true} 
[2026-07-08 12:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574754304001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 12:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492871168,"note":"Value kept but may cause issues"} 
[2026-07-08 12:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783495134000,"timestamp_ms":1783495134000,"timestamp_seconds":1783495134,"priority":1,"record_length":96,"hex_timestamp":"0000019f40980b30"} 
[2026-07-08 12:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:57:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 12:57:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574754304001,"66":12526,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1739022805492871168},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574754304001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:57:22] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:57:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492871168,"description":"Unknown IO ID 45"} 
[2026-07-08 12:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574754304001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492871168}} 
[2026-07-08 12:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":127509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451109,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:57:22] local.INFO: GPS data processed {"connection_id":127509,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:57:22] local.INFO: Acknowledgment sent {"connection_id":127509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":125389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:57:22] local.INFO: GPS data processed {"connection_id":125389,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:57:22] local.INFO: Acknowledgment sent {"connection_id":125389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:57:33] local.INFO: TCP Data received {"connection_id":127510,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f409f3720012d7fa48005afdba8000c00f927..."} 
[2026-07-08 12:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409f3720012d7fa48005afdba8000c00f927..."} 
[2026-07-08 12:57:33] local.INFO: Processing buffer {"connection_id":127510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409f3720012d7fa48005afdba8000c00f927..."} 
[2026-07-08 12:57:33] local.INFO: Packet analysis {"connection_id":127510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f409f"} 
[2026-07-08 12:57:33] local.INFO: Extracted packet for processing {"connection_id":127510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f409f"} 
[2026-07-08 12:57:33] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":12,"angle":249,"satellites":39,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574797568001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783495604000,"timestamp_ms":1783495604000,"timestamp_seconds":1783495604,"priority":1,"record_length":96,"hex_timestamp":"0000019f409f3720"} 
[2026-07-08 12:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 12:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574797568001,"66":25625,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574797568001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:57:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:57:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 12:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574797568001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 12:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":127510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:57:33] local.INFO: GPS data processed {"connection_id":127510,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:57:33] local.INFO: Acknowledgment sent {"connection_id":127510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:57:50] local.INFO: TCP Data received {"connection_id":126252,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126252,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:57:50] local.INFO: Processing buffer {"connection_id":126252,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:57:50] local.INFO: IMEI packet received {"connection_id":126252,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":126252,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:57:55] local.INFO: TCP Data received {"connection_id":126252,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126252,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:57:55] local.INFO: Processing buffer {"connection_id":126252,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:57:55] local.INFO: IMEI packet received {"connection_id":126252,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":126252,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:57:56] local.INFO: TCP Data received {"connection_id":126252,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f409d8970012d0b130007029fc00000013420..."} 
[2026-07-08 12:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409d8970012d0b130007029fc00000013420..."} 
[2026-07-08 12:57:56] local.INFO: Processing buffer {"connection_id":126252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409d8970012d0b130007029fc00000013420..."} 
[2026-07-08 12:57:56] local.INFO: Packet analysis {"connection_id":126252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f409d"} 
[2026-07-08 12:57:56] local.INFO: Extracted packet for processing {"connection_id":126252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f409d"} 
[2026-07-08 12:57:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574769408001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783495494000,"timestamp_ms":1783495494000,"timestamp_seconds":1783495494,"priority":1,"record_length":96,"hex_timestamp":"0000019f409d8970"} 
[2026-07-08 12:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:57:56] 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-07-08 12: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 12:57:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:57:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":126252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":126252,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":126252,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574769408001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574769408001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:57:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574769408001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":126252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451112,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:57:56] local.INFO: GPS data processed {"connection_id":126252,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:57:56] local.INFO: Acknowledgment sent {"connection_id":126252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:57:56] local.INFO: TCP Data received {"connection_id":125494,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:57:56] local.INFO: Processing buffer {"connection_id":125494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:57:56] local.INFO: IMEI packet received {"connection_id":125494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":125494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:58:00] local.INFO: TCP Data received {"connection_id":125495,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:58:00] local.INFO: Processing buffer {"connection_id":125495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:58:00] local.INFO: IMEI packet received {"connection_id":125495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":125495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:58:01] local.INFO: TCP Data received {"connection_id":126252,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f409d8970012d0b130007029fc00000013420..."} 
[2026-07-08 12:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409d8970012d0b130007029fc00000013420..."} 
[2026-07-08 12:58:01] local.INFO: Processing buffer {"connection_id":126252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409d8970012d0b130007029fc00000013420..."} 
[2026-07-08 12:58:01] local.INFO: Packet analysis {"connection_id":126252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f409d"} 
[2026-07-08 12:58:01] local.INFO: Extracted packet for processing {"connection_id":126252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f409d"} 
[2026-07-08 12:58:01] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574769408001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:58: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-07-08 12:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783495494000,"timestamp_ms":1783495494000,"timestamp_seconds":1783495494,"priority":1,"record_length":96,"hex_timestamp":"0000019f409d8970"} 
[2026-07-08 12:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:58:01] 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-07-08 12: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 12:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:58:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126252,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126252,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574769408001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574769408001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:58:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574769408001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":126252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451113,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:58:01] local.INFO: GPS data processed {"connection_id":126252,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:58:01] local.INFO: Acknowledgment sent {"connection_id":126252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:58:01] local.INFO: TCP Data received {"connection_id":125494,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:58:01] local.INFO: Processing buffer {"connection_id":125494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:58:01] local.INFO: IMEI packet received {"connection_id":125494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":125494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:58:02] local.INFO: TCP Data received {"connection_id":125494,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f409f3720012d7fa48005afdba8000c00f927..."} 
[2026-07-08 12:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409f3720012d7fa48005afdba8000c00f927..."} 
[2026-07-08 12:58:02] local.INFO: Processing buffer {"connection_id":125494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409f3720012d7fa48005afdba8000c00f927..."} 
[2026-07-08 12:58:02] local.INFO: Packet analysis {"connection_id":125494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f409f"} 
[2026-07-08 12:58:02] local.INFO: Extracted packet for processing {"connection_id":125494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f409f"} 
[2026-07-08 12:58:02] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":12,"angle":249,"satellites":39,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574797568001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783495604000,"timestamp_ms":1783495604000,"timestamp_seconds":1783495604,"priority":1,"record_length":96,"hex_timestamp":"0000019f409f3720"} 
[2026-07-08 12:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 12:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574797568001,"66":25625,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574797568001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:58:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:58:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 12:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574797568001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 12:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":125494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:58:02] local.INFO: GPS data processed {"connection_id":125494,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:58:02] local.INFO: Acknowledgment sent {"connection_id":125494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:58:06] local.INFO: TCP Data received {"connection_id":125495,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:58:06] local.INFO: Processing buffer {"connection_id":125495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:58:06] local.INFO: IMEI packet received {"connection_id":125495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":125495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:58:06] local.INFO: TCP Data received {"connection_id":125494,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f409f3720012d7fa48005afdba8000c00f927..."} 
[2026-07-08 12:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409f3720012d7fa48005afdba8000c00f927..."} 
[2026-07-08 12:58:06] local.INFO: Processing buffer {"connection_id":125494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409f3720012d7fa48005afdba8000c00f927..."} 
[2026-07-08 12:58:06] local.INFO: Packet analysis {"connection_id":125494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f409f"} 
[2026-07-08 12:58:06] local.INFO: Extracted packet for processing {"connection_id":125494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f409f"} 
[2026-07-08 12:58:06] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":12,"angle":249,"satellites":39,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574797568001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783495604000,"timestamp_ms":1783495604000,"timestamp_seconds":1783495604,"priority":1,"record_length":96,"hex_timestamp":"0000019f409f3720"} 
[2026-07-08 12:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 12:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574797568001,"66":25625,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574797568001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:58:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:58:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 12:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574797568001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 12:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":125494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:58:06] local.INFO: GPS data processed {"connection_id":125494,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:58:06] local.INFO: Acknowledgment sent {"connection_id":125494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:58:07] local.INFO: TCP Data received {"connection_id":125495,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 12:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 12:58:07] local.INFO: Processing buffer {"connection_id":125495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 12:58:07] local.INFO: Packet analysis {"connection_id":125495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 12:58:07] local.INFO: Extracted packet for processing {"connection_id":125495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 12:58:07] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649456,"longitude_deg":75.6556352,"latitude_deg":11.9649456,"altitude":73,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4b0","is_valid_coordinates":true} 
[2026-07-08 12:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574754304001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 12:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492871168,"note":"Value kept but may cause issues"} 
[2026-07-08 12:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783495134000,"timestamp_ms":1783495134000,"timestamp_seconds":1783495134,"priority":1,"record_length":96,"hex_timestamp":"0000019f40980b30"} 
[2026-07-08 12:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 12:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574754304001,"66":12526,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1739022805492871168},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574754304001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:58:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:58:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492871168,"description":"Unknown IO ID 45"} 
[2026-07-08 12:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574754304001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492871168}} 
[2026-07-08 12:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":125495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:58:07] local.INFO: GPS data processed {"connection_id":125495,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:58:07] local.INFO: Acknowledgment sent {"connection_id":125495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:58:37] local.INFO: TCP Data received {"connection_id":125494,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f409f3720012d7fa48005afdba8000c00f927..."} 
[2026-07-08 12:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409f3720012d7fa48005afdba8000c00f927..."} 
[2026-07-08 12:58:37] local.INFO: Processing buffer {"connection_id":125494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409f3720012d7fa48005afdba8000c00f927..."} 
[2026-07-08 12:58:37] local.INFO: Packet analysis {"connection_id":125494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f409f"} 
[2026-07-08 12:58:37] local.INFO: Extracted packet for processing {"connection_id":125494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f409f"} 
[2026-07-08 12:58:37] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":12,"angle":249,"satellites":39,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574797568001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783495604000,"timestamp_ms":1783495604000,"timestamp_seconds":1783495604,"priority":1,"record_length":96,"hex_timestamp":"0000019f409f3720"} 
[2026-07-08 12:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 12:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574797568001,"66":25625,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574797568001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:58:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:58:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 12:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574797568001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 12:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":125494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:58:37] local.INFO: GPS data processed {"connection_id":125494,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:58:37] local.INFO: Acknowledgment sent {"connection_id":125494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:58:39] local.INFO: TCP Data received {"connection_id":125495,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 12:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 12:58:39] local.INFO: Processing buffer {"connection_id":125495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 12:58:39] local.INFO: Packet analysis {"connection_id":125495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 12:58:39] local.INFO: Extracted packet for processing {"connection_id":125495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 12:58:39] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649456,"longitude_deg":75.6556352,"latitude_deg":11.9649456,"altitude":73,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4b0","is_valid_coordinates":true} 
[2026-07-08 12:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574754304001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 12:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492871168,"note":"Value kept but may cause issues"} 
[2026-07-08 12:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783495134000,"timestamp_ms":1783495134000,"timestamp_seconds":1783495134,"priority":1,"record_length":96,"hex_timestamp":"0000019f40980b30"} 
[2026-07-08 12:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 12:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:58:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574754304001,"66":12526,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1739022805492871168},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574754304001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:58:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:58:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492871168,"description":"Unknown IO ID 45"} 
[2026-07-08 12:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574754304001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492871168}} 
[2026-07-08 12:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":125495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:58:39] local.INFO: GPS data processed {"connection_id":125495,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:58:39] local.INFO: Acknowledgment sent {"connection_id":125495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:58:45] local.INFO: TCP Data received {"connection_id":125390,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125390,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:58:45] local.INFO: Processing buffer {"connection_id":125390,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:58:45] local.INFO: IMEI packet received {"connection_id":125390,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":125390,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:58:50] local.INFO: TCP Data received {"connection_id":125390,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125390,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:58:50] local.INFO: Processing buffer {"connection_id":125390,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:58:50] local.INFO: IMEI packet received {"connection_id":125390,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":125390,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:58:51] local.INFO: TCP Data received {"connection_id":125390,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f409d8970012d0b130007029fc00000013420..."} 
[2026-07-08 12:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409d8970012d0b130007029fc00000013420..."} 
[2026-07-08 12:58:51] local.INFO: Processing buffer {"connection_id":125390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409d8970012d0b130007029fc00000013420..."} 
[2026-07-08 12:58:51] local.INFO: Packet analysis {"connection_id":125390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f409d"} 
[2026-07-08 12:58:51] local.INFO: Extracted packet for processing {"connection_id":125390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f409d"} 
[2026-07-08 12:58:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574769408001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783495494000,"timestamp_ms":1783495494000,"timestamp_seconds":1783495494,"priority":1,"record_length":96,"hex_timestamp":"0000019f409d8970"} 
[2026-07-08 12:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:58:51] 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-07-08 12:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 12:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:58:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125390,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125390,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574769408001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574769408001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:58:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574769408001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":125390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451119,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:58:51] local.INFO: GPS data processed {"connection_id":125390,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:58:51] local.INFO: Acknowledgment sent {"connection_id":125390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:58:56] local.INFO: TCP Data received {"connection_id":127512,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:58:56] local.INFO: Processing buffer {"connection_id":127512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:58:56] local.INFO: IMEI packet received {"connection_id":127512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":127512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:59:01] local.INFO: TCP Data received {"connection_id":127512,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:59:01] local.INFO: Processing buffer {"connection_id":127512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:59:01] local.INFO: IMEI packet received {"connection_id":127512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 12:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":127512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:59:02] local.INFO: TCP Data received {"connection_id":127512,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f409f3720012d7fa48005afdba8000c00f927..."} 
[2026-07-08 12:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409f3720012d7fa48005afdba8000c00f927..."} 
[2026-07-08 12:59:02] local.INFO: Processing buffer {"connection_id":127512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409f3720012d7fa48005afdba8000c00f927..."} 
[2026-07-08 12:59:02] local.INFO: Packet analysis {"connection_id":127512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f409f"} 
[2026-07-08 12:59:02] local.INFO: Extracted packet for processing {"connection_id":127512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f409f"} 
[2026-07-08 12:59:02] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":12,"angle":249,"satellites":39,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574797568001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783495604000,"timestamp_ms":1783495604000,"timestamp_seconds":1783495604,"priority":1,"record_length":96,"hex_timestamp":"0000019f409f3720"} 
[2026-07-08 12:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 12:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574797568001,"66":25625,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574797568001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:59:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:59:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 12:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574797568001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 12:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":127512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:59:02] local.INFO: GPS data processed {"connection_id":127512,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:59:02] local.INFO: Acknowledgment sent {"connection_id":127512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:59:06] local.INFO: TCP Data received {"connection_id":126253,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:59:06] local.INFO: Processing buffer {"connection_id":126253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:59:06] local.INFO: IMEI packet received {"connection_id":126253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 12:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":126253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:59:11] local.INFO: TCP Data received {"connection_id":126253,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:59:11] local.INFO: Processing buffer {"connection_id":126253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 12:59:11] local.INFO: IMEI packet received {"connection_id":126253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 12:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":126253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:59:12] local.INFO: TCP Data received {"connection_id":126253,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 12:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 12:59:12] local.INFO: Processing buffer {"connection_id":126253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 12:59:12] local.INFO: Packet analysis {"connection_id":126253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 12:59:12] local.INFO: Extracted packet for processing {"connection_id":126253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 12:59:12] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649456,"longitude_deg":75.6556352,"latitude_deg":11.9649456,"altitude":73,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4b0","is_valid_coordinates":true} 
[2026-07-08 12:59: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-07-08 12:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574754304001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 12:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492871168,"note":"Value kept but may cause issues"} 
[2026-07-08 12:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783495134000,"timestamp_ms":1783495134000,"timestamp_seconds":1783495134,"priority":1,"record_length":96,"hex_timestamp":"0000019f40980b30"} 
[2026-07-08 12:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 12:59: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-07-08 12:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":126253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":126253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":126253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574754304001,"66":12526,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1739022805492871168},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574754304001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:59:12] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:59:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492871168,"description":"Unknown IO ID 45"} 
[2026-07-08 12:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574754304001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492871168}} 
[2026-07-08 12:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":126253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:59:12] local.INFO: GPS data processed {"connection_id":126253,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:59:12] local.INFO: Acknowledgment sent {"connection_id":126253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:59:17] local.INFO: TCP Data received {"connection_id":126253,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 12:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 12:59:17] local.INFO: Processing buffer {"connection_id":126253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 12:59:17] local.INFO: Packet analysis {"connection_id":126253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 12:59:17] local.INFO: Extracted packet for processing {"connection_id":126253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 12:59:17] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649456,"longitude_deg":75.6556352,"latitude_deg":11.9649456,"altitude":73,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4b0","is_valid_coordinates":true} 
[2026-07-08 12:59: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-07-08 12:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574754304001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 12:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492871168,"note":"Value kept but may cause issues"} 
[2026-07-08 12:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783495134000,"timestamp_ms":1783495134000,"timestamp_seconds":1783495134,"priority":1,"record_length":96,"hex_timestamp":"0000019f40980b30"} 
[2026-07-08 12:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 12:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":126253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":126253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":126253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 12:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 12:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 12:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574754304001,"66":12526,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1739022805492871168},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 12:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 12:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 12:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574754304001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:59:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 12:59:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 12:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492871168,"description":"Unknown IO ID 45"} 
[2026-07-08 12:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574754304001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492871168}} 
[2026-07-08 12:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":126253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:59:17] local.INFO: GPS data processed {"connection_id":126253,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:59:17] local.INFO: Acknowledgment sent {"connection_id":126253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:59:25] local.INFO: TCP Data received {"connection_id":125390,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f409d8970012d0b130007029fc00000013420..."} 
[2026-07-08 12:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409d8970012d0b130007029fc00000013420..."} 
[2026-07-08 12:59:25] local.INFO: Processing buffer {"connection_id":125390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409d8970012d0b130007029fc00000013420..."} 
[2026-07-08 12:59:25] local.INFO: Packet analysis {"connection_id":125390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f409d"} 
[2026-07-08 12:59:25] local.INFO: Extracted packet for processing {"connection_id":125390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f409d"} 
[2026-07-08 12:59:25] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12: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-07-08 12:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574769408001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:59:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783495494000,"timestamp_ms":1783495494000,"timestamp_seconds":1783495494,"priority":1,"record_length":96,"hex_timestamp":"0000019f409d8970"} 
[2026-07-08 12:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:59:25] 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-07-08 12: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 12:59:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12: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-07-08 12:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":125390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":125390,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":125390,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:59:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574769408001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574769408001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:59:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574769408001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":125390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451123,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:59:25] local.INFO: GPS data processed {"connection_id":125390,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:59:25] local.INFO: Acknowledgment sent {"connection_id":125390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:59:33] local.INFO: TCP Data received {"connection_id":127512,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f409f3720012d7fa48005afdba8000c00f927..."} 
[2026-07-08 12:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409f3720012d7fa48005afdba8000c00f927..."} 
[2026-07-08 12:59:33] local.INFO: Processing buffer {"connection_id":127512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409f3720012d7fa48005afdba8000c00f927..."} 
[2026-07-08 12:59:33] local.INFO: Packet analysis {"connection_id":127512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f409f"} 
[2026-07-08 12:59:33] local.INFO: Extracted packet for processing {"connection_id":127512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f409f"} 
[2026-07-08 12:59:33] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":12,"angle":249,"satellites":39,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 12:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574797568001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 12:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 12:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783495604000,"timestamp_ms":1783495604000,"timestamp_seconds":1783495604,"priority":1,"record_length":96,"hex_timestamp":"0000019f409f3720"} 
[2026-07-08 12:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 12:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 12:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 12:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 12:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 12:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574797568001,"66":25625,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 12:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 12:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 12:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574797568001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:59:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 12:59:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 12:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 12:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574797568001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 12:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":127512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:59:33] local.INFO: GPS data processed {"connection_id":127512,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:59:33] local.INFO: Acknowledgment sent {"connection_id":127512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:59:45] local.INFO: TCP Data received {"connection_id":125496,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125496,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:59:45] local.INFO: Processing buffer {"connection_id":125496,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:59:45] local.INFO: IMEI packet received {"connection_id":125496,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 12:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":125496,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 12:59:50] local.INFO: TCP Data received {"connection_id":125496,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125496,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:59:50] local.INFO: Processing buffer {"connection_id":125496,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 12:59:50] local.INFO: IMEI packet received {"connection_id":125496,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 12:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":125496,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 12:59:51] local.INFO: TCP Data received {"connection_id":125496,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f409d8970012d0b130007029fc00000013420..."} 
[2026-07-08 12:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409d8970012d0b130007029fc00000013420..."} 
[2026-07-08 12:59:51] local.INFO: Processing buffer {"connection_id":125496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409d8970012d0b130007029fc00000013420..."} 
[2026-07-08 12:59:51] local.INFO: Packet analysis {"connection_id":125496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f409d"} 
[2026-07-08 12:59:51] local.INFO: Extracted packet for processing {"connection_id":125496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f409d"} 
[2026-07-08 12:59:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 12:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 12:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574769408001,"note":"Value kept but may cause issues"} 
[2026-07-08 12:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 12:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 12:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 12:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783495494000,"timestamp_ms":1783495494000,"timestamp_seconds":1783495494,"priority":1,"record_length":96,"hex_timestamp":"0000019f409d8970"} 
[2026-07-08 12:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 12:59:51] 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-07-08 12:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 12:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 12:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 12:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 12:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 12:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 12:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125496,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125496,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 12:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 12:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 12:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 12:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574769408001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 12:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 12:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 12:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574769408001,"description":"Unknown IO ID 0"} 
[2026-07-08 12:59:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 12:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 12:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 12:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574769408001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 12:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":125496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451125,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 12:59:51] local.INFO: GPS data processed {"connection_id":125496,"processed":1,"errors":0,"total":1} 
[2026-07-08 12:59:51] local.INFO: Acknowledgment sent {"connection_id":125496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 12:59:57] local.INFO: TCP Data received {"connection_id":127513,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:59:57] local.INFO: Processing buffer {"connection_id":127513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 12:59:57] local.INFO: IMEI packet received {"connection_id":127513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 12:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":127513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:00:01] local.INFO: TCP Data received {"connection_id":127514,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:00:01] local.INFO: Processing buffer {"connection_id":127514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:00:01] local.INFO: IMEI packet received {"connection_id":127514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":127514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:00:01] local.INFO: TCP Data received {"connection_id":127513,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:00:01] local.INFO: Processing buffer {"connection_id":127513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:00:01] local.INFO: IMEI packet received {"connection_id":127513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":127513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:00:02] local.INFO: TCP Data received {"connection_id":127513,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f409f3720012d7fa48005afdba8000c00f927..."} 
[2026-07-08 13:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409f3720012d7fa48005afdba8000c00f927..."} 
[2026-07-08 13:00:02] local.INFO: Processing buffer {"connection_id":127513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409f3720012d7fa48005afdba8000c00f927..."} 
[2026-07-08 13:00:02] local.INFO: Packet analysis {"connection_id":127513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f409f"} 
[2026-07-08 13:00:02] local.INFO: Extracted packet for processing {"connection_id":127513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f409f"} 
[2026-07-08 13:00:02] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":12,"angle":249,"satellites":39,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574797568001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 13:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783495604000,"timestamp_ms":1783495604000,"timestamp_seconds":1783495604,"priority":1,"record_length":96,"hex_timestamp":"0000019f409f3720"} 
[2026-07-08 13:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:00:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 13:00:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574797568001,"66":25625,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 13:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574797568001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:00:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 13:00:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 13:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574797568001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 13:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":127513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:00:02] local.INFO: GPS data processed {"connection_id":127513,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:00:02] local.INFO: Acknowledgment sent {"connection_id":127513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:00:06] local.INFO: TCP Data received {"connection_id":127514,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:00:06] local.INFO: Processing buffer {"connection_id":127514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:00:06] local.INFO: IMEI packet received {"connection_id":127514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":127514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:00:07] local.INFO: TCP Data received {"connection_id":127514,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 13:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 13:00:07] local.INFO: Processing buffer {"connection_id":127514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 13:00:07] local.INFO: Packet analysis {"connection_id":127514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 13:00:07] local.INFO: Extracted packet for processing {"connection_id":127514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 13:00:07] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649456,"longitude_deg":75.6556352,"latitude_deg":11.9649456,"altitude":73,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4b0","is_valid_coordinates":true} 
[2026-07-08 13:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574754304001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492871168,"note":"Value kept but may cause issues"} 
[2026-07-08 13:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783495134000,"timestamp_ms":1783495134000,"timestamp_seconds":1783495134,"priority":1,"record_length":96,"hex_timestamp":"0000019f40980b30"} 
[2026-07-08 13:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 13:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574754304001,"66":12526,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1739022805492871168},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574754304001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:00:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:00:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492871168,"description":"Unknown IO ID 45"} 
[2026-07-08 13:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574754304001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492871168}} 
[2026-07-08 13:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":127514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:00:07] local.INFO: GPS data processed {"connection_id":127514,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:00:07] local.INFO: Acknowledgment sent {"connection_id":127514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:00:22] local.INFO: TCP Data received {"connection_id":125496,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a22138012d0b130007029fc00000013422..."} 
[2026-07-08 13:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a22138012d0b130007029fc00000013422..."} 
[2026-07-08 13:00:22] local.INFO: Processing buffer {"connection_id":125496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a22138012d0b130007029fc00000013422..."} 
[2026-07-08 13:00:22] local.INFO: Packet analysis {"connection_id":125496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a2"} 
[2026-07-08 13:00:22] local.INFO: Extracted packet for processing {"connection_id":125496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a2"} 
[2026-07-08 13:00:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574846464001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783495795000,"timestamp_ms":1783495795000,"timestamp_seconds":1783495795,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a22138"} 
[2026-07-08 13:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:00:22] 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-07-08 13:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125496,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125496,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574846464001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574846464001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:00:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574846464001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":125496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451128,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:00:22] local.INFO: GPS data processed {"connection_id":125496,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:00:22] local.INFO: Acknowledgment sent {"connection_id":125496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:00:33] local.INFO: TCP Data received {"connection_id":127513,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f409f3720012d7fa48005afdba8000c00f927..."} 
[2026-07-08 13:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409f3720012d7fa48005afdba8000c00f927..."} 
[2026-07-08 13:00:33] local.INFO: Processing buffer {"connection_id":127513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409f3720012d7fa48005afdba8000c00f927..."} 
[2026-07-08 13:00:33] local.INFO: Packet analysis {"connection_id":127513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f409f"} 
[2026-07-08 13:00:33] local.INFO: Extracted packet for processing {"connection_id":127513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f409f"} 
[2026-07-08 13:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":12,"angle":249,"satellites":39,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 13:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574797568001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 13:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783495604000,"timestamp_ms":1783495604000,"timestamp_seconds":1783495604,"priority":1,"record_length":96,"hex_timestamp":"0000019f409f3720"} 
[2026-07-08 13:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 13:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574797568001,"66":25625,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 13:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574797568001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:00:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 13:00:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 13:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574797568001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 13:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":127513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:00:33] local.INFO: GPS data processed {"connection_id":127513,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:00:33] local.INFO: Acknowledgment sent {"connection_id":127513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:00:38] local.INFO: TCP Data received {"connection_id":127514,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 13:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 13:00:38] local.INFO: Processing buffer {"connection_id":127514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 13:00:38] local.INFO: Packet analysis {"connection_id":127514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 13:00:38] local.INFO: Extracted packet for processing {"connection_id":127514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 13:00:38] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649456,"longitude_deg":75.6556352,"latitude_deg":11.9649456,"altitude":73,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4b0","is_valid_coordinates":true} 
[2026-07-08 13:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574754304001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492871168,"note":"Value kept but may cause issues"} 
[2026-07-08 13:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783495134000,"timestamp_ms":1783495134000,"timestamp_seconds":1783495134,"priority":1,"record_length":96,"hex_timestamp":"0000019f40980b30"} 
[2026-07-08 13:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 13:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574754304001,"66":12526,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1739022805492871168},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574754304001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:00:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:00:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492871168,"description":"Unknown IO ID 45"} 
[2026-07-08 13:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574754304001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492871168}} 
[2026-07-08 13:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":127514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:00:38] local.INFO: GPS data processed {"connection_id":127514,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:00:38] local.INFO: Acknowledgment sent {"connection_id":127514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:00:50] local.INFO: TCP Data received {"connection_id":125498,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125498,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:00:50] local.INFO: Processing buffer {"connection_id":125498,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:00:50] local.INFO: IMEI packet received {"connection_id":125498,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":125498,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:00:55] local.INFO: TCP Data received {"connection_id":125498,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125498,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:00:55] local.INFO: Processing buffer {"connection_id":125498,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:00:55] local.INFO: IMEI packet received {"connection_id":125498,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":125498,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:00:56] local.INFO: TCP Data received {"connection_id":125498,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a22138012d0b130007029fc00000013422..."} 
[2026-07-08 13:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a22138012d0b130007029fc00000013422..."} 
[2026-07-08 13:00:56] local.INFO: Processing buffer {"connection_id":125498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a22138012d0b130007029fc00000013422..."} 
[2026-07-08 13:00:56] local.INFO: Packet analysis {"connection_id":125498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a2"} 
[2026-07-08 13:00:56] local.INFO: Extracted packet for processing {"connection_id":125498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a2"} 
[2026-07-08 13:00:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574846464001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783495795000,"timestamp_ms":1783495795000,"timestamp_seconds":1783495795,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a22138"} 
[2026-07-08 13:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:00:56] 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-07-08 13: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:00:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:00:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":125498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":125498,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":125498,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574846464001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574846464001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:00:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574846464001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":125498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451131,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:00:56] local.INFO: GPS data processed {"connection_id":125498,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:00:56] local.INFO: Acknowledgment sent {"connection_id":125498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:00:56] local.INFO: TCP Data received {"connection_id":125391,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:00:56] local.INFO: Processing buffer {"connection_id":125391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:00:56] local.INFO: IMEI packet received {"connection_id":125391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":125391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:01:01] local.INFO: TCP Data received {"connection_id":127515,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:01:01] local.INFO: Processing buffer {"connection_id":127515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:01:01] local.INFO: IMEI packet received {"connection_id":127515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":127515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:01:01] local.INFO: TCP Data received {"connection_id":125391,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:01:01] local.INFO: Processing buffer {"connection_id":125391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:01:01] local.INFO: IMEI packet received {"connection_id":125391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":125391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:01:02] local.INFO: TCP Data received {"connection_id":125391,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f409f3720012d7fa48005afdba8000c00f927..."} 
[2026-07-08 13:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409f3720012d7fa48005afdba8000c00f927..."} 
[2026-07-08 13:01:02] local.INFO: Processing buffer {"connection_id":125391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409f3720012d7fa48005afdba8000c00f927..."} 
[2026-07-08 13:01:02] local.INFO: Packet analysis {"connection_id":125391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f409f"} 
[2026-07-08 13:01:02] local.INFO: Extracted packet for processing {"connection_id":125391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f409f"} 
[2026-07-08 13:01:02] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":12,"angle":249,"satellites":39,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 13:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574797568001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 13:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783495604000,"timestamp_ms":1783495604000,"timestamp_seconds":1783495604,"priority":1,"record_length":96,"hex_timestamp":"0000019f409f3720"} 
[2026-07-08 13:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 13:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:01:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574797568001,"66":25625,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 13:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574797568001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:01:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 13:01:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 13:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574797568001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 13:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":125391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:01:02] local.INFO: GPS data processed {"connection_id":125391,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:01:02] local.INFO: Acknowledgment sent {"connection_id":125391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:01:02] local.INFO: TCP Data received {"connection_id":125498,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a22138012d0b130007029fc00000013422..."} 
[2026-07-08 13:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a22138012d0b130007029fc00000013422..."} 
[2026-07-08 13:01:02] local.INFO: Processing buffer {"connection_id":125498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a22138012d0b130007029fc00000013422..."} 
[2026-07-08 13:01:02] local.INFO: Packet analysis {"connection_id":125498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a2"} 
[2026-07-08 13:01:02] local.INFO: Extracted packet for processing {"connection_id":125498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a2"} 
[2026-07-08 13:01:02] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574846464001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:01: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-07-08 13:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783495795000,"timestamp_ms":1783495795000,"timestamp_seconds":1783495795,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a22138"} 
[2026-07-08 13:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:01:02] 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-07-08 13:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:01:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125498,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125498,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574846464001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574846464001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:01:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574846464001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":125498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451133,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:01:02] local.INFO: GPS data processed {"connection_id":125498,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:01:02] local.INFO: Acknowledgment sent {"connection_id":125498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:01:06] local.INFO: TCP Data received {"connection_id":127515,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:01:06] local.INFO: Processing buffer {"connection_id":127515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:01:06] local.INFO: IMEI packet received {"connection_id":127515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":127515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:01:07] local.INFO: TCP Data received {"connection_id":127515,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 13:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 13:01:07] local.INFO: Processing buffer {"connection_id":127515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 13:01:07] local.INFO: Packet analysis {"connection_id":127515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 13:01:07] local.INFO: Extracted packet for processing {"connection_id":127515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 13:01:07] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649456,"longitude_deg":75.6556352,"latitude_deg":11.9649456,"altitude":73,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4b0","is_valid_coordinates":true} 
[2026-07-08 13:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574754304001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492871168,"note":"Value kept but may cause issues"} 
[2026-07-08 13:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783495134000,"timestamp_ms":1783495134000,"timestamp_seconds":1783495134,"priority":1,"record_length":96,"hex_timestamp":"0000019f40980b30"} 
[2026-07-08 13:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 13:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574754304001,"66":12526,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1739022805492871168},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574754304001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:01:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:01:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492871168,"description":"Unknown IO ID 45"} 
[2026-07-08 13:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574754304001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492871168}} 
[2026-07-08 13:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":127515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:01:07] local.INFO: GPS data processed {"connection_id":127515,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:01:07] local.INFO: Acknowledgment sent {"connection_id":127515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:01:33] local.INFO: TCP Data received {"connection_id":125391,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f409f3720012d7fa48005afdba8000c00f927..."} 
[2026-07-08 13:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409f3720012d7fa48005afdba8000c00f927..."} 
[2026-07-08 13:01:33] local.INFO: Processing buffer {"connection_id":125391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409f3720012d7fa48005afdba8000c00f927..."} 
[2026-07-08 13:01:33] local.INFO: Packet analysis {"connection_id":125391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f409f"} 
[2026-07-08 13:01:33] local.INFO: Extracted packet for processing {"connection_id":125391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f409f"} 
[2026-07-08 13:01:33] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":12,"angle":249,"satellites":39,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 13:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574797568001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 13:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783495604000,"timestamp_ms":1783495604000,"timestamp_seconds":1783495604,"priority":1,"record_length":96,"hex_timestamp":"0000019f409f3720"} 
[2026-07-08 13:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 13:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:01:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574797568001,"66":25625,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 13:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574797568001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:01:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 13:01:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 13:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574797568001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 13:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":125391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:01:33] local.INFO: GPS data processed {"connection_id":125391,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:01:33] local.INFO: Acknowledgment sent {"connection_id":125391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:01:38] local.INFO: TCP Data received {"connection_id":127515,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 13:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 13:01:38] local.INFO: Processing buffer {"connection_id":127515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40980b30012d1822400721b4b0004900d129..."} 
[2026-07-08 13:01:38] local.INFO: Packet analysis {"connection_id":127515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 13:01:38] local.INFO: Extracted packet for processing {"connection_id":127515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4098"} 
[2026-07-08 13:01:38] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649456,"longitude_deg":75.6556352,"latitude_deg":11.9649456,"altitude":73,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4b0","is_valid_coordinates":true} 
[2026-07-08 13:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574754304001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492871168,"note":"Value kept but may cause issues"} 
[2026-07-08 13:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783495134000,"timestamp_ms":1783495134000,"timestamp_seconds":1783495134,"priority":1,"record_length":96,"hex_timestamp":"0000019f40980b30"} 
[2026-07-08 13:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 13:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574754304001,"66":12526,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1739022805492871168},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574754304001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:01:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:01:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492871168,"description":"Unknown IO ID 45"} 
[2026-07-08 13:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574754304001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492871168}} 
[2026-07-08 13:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":127515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:01:38] local.INFO: GPS data processed {"connection_id":127515,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:01:38] local.INFO: Acknowledgment sent {"connection_id":127515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:01:45] local.INFO: TCP Data received {"connection_id":125392,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125392,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:01:45] local.INFO: Processing buffer {"connection_id":125392,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:01:45] local.INFO: IMEI packet received {"connection_id":125392,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":125392,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:01:51] local.INFO: TCP Data received {"connection_id":125392,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125392,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:01:51] local.INFO: Processing buffer {"connection_id":125392,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:01:51] local.INFO: IMEI packet received {"connection_id":125392,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":125392,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:01:51] local.INFO: TCP Data received {"connection_id":125392,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a22138012d0b130007029fc00000013422..."} 
[2026-07-08 13:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a22138012d0b130007029fc00000013422..."} 
[2026-07-08 13:01:51] local.INFO: Processing buffer {"connection_id":125392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a22138012d0b130007029fc00000013422..."} 
[2026-07-08 13:01:51] local.INFO: Packet analysis {"connection_id":125392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a2"} 
[2026-07-08 13:01:51] local.INFO: Extracted packet for processing {"connection_id":125392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a2"} 
[2026-07-08 13:01:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574846464001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783495795000,"timestamp_ms":1783495795000,"timestamp_seconds":1783495795,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a22138"} 
[2026-07-08 13:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:01:51] 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-07-08 13:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:01:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:01:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574846464001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574846464001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:01:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574846464001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":125392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451137,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:01:51] local.INFO: GPS data processed {"connection_id":125392,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:01:51] local.INFO: Acknowledgment sent {"connection_id":125392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:02:00] local.INFO: TCP Data received {"connection_id":125393,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:02:00] local.INFO: Processing buffer {"connection_id":125393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:02:00] local.INFO: IMEI packet received {"connection_id":125393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":125393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:02:01] local.INFO: TCP Data received {"connection_id":127516,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:02:01] local.INFO: Processing buffer {"connection_id":127516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:02:01] local.INFO: IMEI packet received {"connection_id":127516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":127516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:02:06] local.INFO: TCP Data received {"connection_id":125393,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:02:06] local.INFO: Processing buffer {"connection_id":125393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:02:06] local.INFO: IMEI packet received {"connection_id":125393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":125393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:02:06] local.INFO: TCP Data received {"connection_id":127516,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:02:06] local.INFO: Processing buffer {"connection_id":127516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:02:06] local.INFO: IMEI packet received {"connection_id":127516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":127516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:02:07] local.INFO: TCP Data received {"connection_id":127516,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f409f3720012d7fa48005afdba8000c00f927..."} 
[2026-07-08 13:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409f3720012d7fa48005afdba8000c00f927..."} 
[2026-07-08 13:02:07] local.INFO: Processing buffer {"connection_id":127516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409f3720012d7fa48005afdba8000c00f927..."} 
[2026-07-08 13:02:07] local.INFO: Packet analysis {"connection_id":127516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f409f"} 
[2026-07-08 13:02:07] local.INFO: Extracted packet for processing {"connection_id":127516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f409f"} 
[2026-07-08 13:02:07] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":12,"angle":249,"satellites":39,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 13:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574797568001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 13:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783495604000,"timestamp_ms":1783495604000,"timestamp_seconds":1783495604,"priority":1,"record_length":96,"hex_timestamp":"0000019f409f3720"} 
[2026-07-08 13:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 13:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574797568001,"66":25625,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 13:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574797568001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:02:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 13:02:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 13:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574797568001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 13:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":127516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:02:07] local.INFO: GPS data processed {"connection_id":127516,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:02:07] local.INFO: Acknowledgment sent {"connection_id":127516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:02:07] local.INFO: TCP Data received {"connection_id":125393,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a36570012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a36570012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:02:07] local.INFO: Processing buffer {"connection_id":125393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a36570012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:02:07] local.INFO: Packet analysis {"connection_id":125393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a3"} 
[2026-07-08 13:02:07] local.INFO: Extracted packet for processing {"connection_id":125393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a3"} 
[2026-07-08 13:02:07] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":76,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574754304001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492871168,"note":"Value kept but may cause issues"} 
[2026-07-08 13:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783495878000,"timestamp_ms":1783495878000,"timestamp_seconds":1783495878,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a36570"} 
[2026-07-08 13:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 13:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574754304001,"66":2166,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1739022805492871168},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574754304001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:02:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:02:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492871168,"description":"Unknown IO ID 45"} 
[2026-07-08 13:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574754304001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492871168}} 
[2026-07-08 13:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":125393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:02:07] local.INFO: GPS data processed {"connection_id":125393,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:02:07] local.INFO: Acknowledgment sent {"connection_id":125393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:02:11] local.INFO: TCP Data received {"connection_id":127516,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f409f3720012d7fa48005afdba8000c00f927..."} 
[2026-07-08 13:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f409f3720012d7fa48005afdba8000c00f927..."} 
[2026-07-08 13:02:11] local.INFO: Processing buffer {"connection_id":127516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f409f3720012d7fa48005afdba8000c00f927..."} 
[2026-07-08 13:02:11] local.INFO: Packet analysis {"connection_id":127516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f409f"} 
[2026-07-08 13:02:11] local.INFO: Extracted packet for processing {"connection_id":127516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f409f"} 
[2026-07-08 13:02:11] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":12,"angle":249,"satellites":39,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574797568001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 13:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783495604000,"timestamp_ms":1783495604000,"timestamp_seconds":1783495604,"priority":1,"record_length":96,"hex_timestamp":"0000019f409f3720"} 
[2026-07-08 13:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 13:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":127516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":127516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":127516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574797568001,"66":25625,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 13:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574797568001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:02:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 13:02:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 13:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574797568001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 13:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":127516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:02:11] local.INFO: GPS data processed {"connection_id":127516,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:02:11] local.INFO: Acknowledgment sent {"connection_id":127516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:02:23] local.INFO: TCP Data received {"connection_id":125392,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a22138012d0b130007029fc00000013422..."} 
[2026-07-08 13:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a22138012d0b130007029fc00000013422..."} 
[2026-07-08 13:02:23] local.INFO: Processing buffer {"connection_id":125392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a22138012d0b130007029fc00000013422..."} 
[2026-07-08 13:02:23] local.INFO: Packet analysis {"connection_id":125392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a2"} 
[2026-07-08 13:02:23] local.INFO: Extracted packet for processing {"connection_id":125392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a2"} 
[2026-07-08 13:02:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574846464001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783495795000,"timestamp_ms":1783495795000,"timestamp_seconds":1783495795,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a22138"} 
[2026-07-08 13:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:02:23] 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-07-08 13:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:02:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:02:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":125392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":125392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":125392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:02:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574846464001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574846464001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:02:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574846464001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":125392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451141,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:02:23] local.INFO: GPS data processed {"connection_id":125392,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:02:23] local.INFO: Acknowledgment sent {"connection_id":125392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:02:39] local.INFO: TCP Data received {"connection_id":125393,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a36570012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a36570012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:02:39] local.INFO: Processing buffer {"connection_id":125393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a36570012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:02:39] local.INFO: Packet analysis {"connection_id":125393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a3"} 
[2026-07-08 13:02:39] local.INFO: Extracted packet for processing {"connection_id":125393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a3"} 
[2026-07-08 13:02:39] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":76,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574754304001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492871168,"note":"Value kept but may cause issues"} 
[2026-07-08 13:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783495878000,"timestamp_ms":1783495878000,"timestamp_seconds":1783495878,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a36570"} 
[2026-07-08 13:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 13:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574754304001,"66":2166,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1739022805492871168},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574754304001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:02:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:02:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492871168,"description":"Unknown IO ID 45"} 
[2026-07-08 13:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574754304001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492871168}} 
[2026-07-08 13:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":125393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:02:39] local.INFO: GPS data processed {"connection_id":125393,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:02:39] local.INFO: Acknowledgment sent {"connection_id":125393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:02:45] local.INFO: TCP Data received {"connection_id":126255,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126255,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:02:45] local.INFO: Processing buffer {"connection_id":126255,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:02:45] local.INFO: IMEI packet received {"connection_id":126255,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":126255,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:02:50] local.INFO: TCP Data received {"connection_id":126255,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126255,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:02:50] local.INFO: Processing buffer {"connection_id":126255,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:02:50] local.INFO: IMEI packet received {"connection_id":126255,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":126255,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:02:51] local.INFO: TCP Data received {"connection_id":126255,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a22138012d0b130007029fc00000013422..."} 
[2026-07-08 13:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a22138012d0b130007029fc00000013422..."} 
[2026-07-08 13:02:51] local.INFO: Processing buffer {"connection_id":126255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a22138012d0b130007029fc00000013422..."} 
[2026-07-08 13:02:51] local.INFO: Packet analysis {"connection_id":126255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a2"} 
[2026-07-08 13:02:51] local.INFO: Extracted packet for processing {"connection_id":126255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a2"} 
[2026-07-08 13:02:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 13:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574846464001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783495795000,"timestamp_ms":1783495795000,"timestamp_seconds":1783495795,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a22138"} 
[2026-07-08 13:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:02:51] 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-07-08 13:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126255,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126255,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574846464001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574846464001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:02:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574846464001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":126255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451143,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:02:51] local.INFO: GPS data processed {"connection_id":126255,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:02:51] local.INFO: Acknowledgment sent {"connection_id":126255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:02:56] local.INFO: TCP Data received {"connection_id":125499,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:02:56] local.INFO: Processing buffer {"connection_id":125499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:02:56] local.INFO: IMEI packet received {"connection_id":125499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":125499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:03:01] local.INFO: TCP Data received {"connection_id":125499,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:03:01] local.INFO: Processing buffer {"connection_id":125499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:03:01] local.INFO: IMEI packet received {"connection_id":125499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":125499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:03:02] local.INFO: TCP Data received {"connection_id":125499,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a3cee8012d7fa48005afdba8000c00f924..."} 
[2026-07-08 13:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a3cee8012d7fa48005afdba8000c00f924..."} 
[2026-07-08 13:03:02] local.INFO: Processing buffer {"connection_id":125499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a3cee8012d7fa48005afdba8000c00f924..."} 
[2026-07-08 13:03:02] local.INFO: Packet analysis {"connection_id":125499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a3"} 
[2026-07-08 13:03:02] local.INFO: Extracted packet for processing {"connection_id":125499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a3"} 
[2026-07-08 13:03:02] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":12,"angle":249,"satellites":36,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574874624001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 13:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783495905000,"timestamp_ms":1783495905000,"timestamp_seconds":1783495905,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a3cee8"} 
[2026-07-08 13:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 13:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:03:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574874624001,"66":25582,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 13:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574874624001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:03:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 13:03:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 13:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574874624001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 13:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":125499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:03:02] local.INFO: GPS data processed {"connection_id":125499,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:03:02] local.INFO: Acknowledgment sent {"connection_id":125499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:03:06] local.INFO: TCP Data received {"connection_id":125500,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:03:06] local.INFO: Processing buffer {"connection_id":125500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:03:06] local.INFO: IMEI packet received {"connection_id":125500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":125500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:03:10] local.INFO: TCP Data received {"connection_id":125500,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:03:10] local.INFO: Processing buffer {"connection_id":125500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:03:10] local.INFO: IMEI packet received {"connection_id":125500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":125500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:03:11] local.INFO: TCP Data received {"connection_id":125500,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a36570012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a36570012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:03:11] local.INFO: Processing buffer {"connection_id":125500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a36570012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:03:11] local.INFO: Packet analysis {"connection_id":125500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a3"} 
[2026-07-08 13:03:11] local.INFO: Extracted packet for processing {"connection_id":125500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a3"} 
[2026-07-08 13:03:11] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":76,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574754304001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492871168,"note":"Value kept but may cause issues"} 
[2026-07-08 13:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783495878000,"timestamp_ms":1783495878000,"timestamp_seconds":1783495878,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a36570"} 
[2026-07-08 13:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 13:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574754304001,"66":2166,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1739022805492871168},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574754304001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:03:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:03:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492871168,"description":"Unknown IO ID 45"} 
[2026-07-08 13:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574754304001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492871168}} 
[2026-07-08 13:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":125500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:03:11] local.INFO: GPS data processed {"connection_id":125500,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:03:11] local.INFO: Acknowledgment sent {"connection_id":125500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:03:16] local.INFO: TCP Data received {"connection_id":125500,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a36570012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a36570012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:03:16] local.INFO: Processing buffer {"connection_id":125500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a36570012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:03:16] local.INFO: Packet analysis {"connection_id":125500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a3"} 
[2026-07-08 13:03:16] local.INFO: Extracted packet for processing {"connection_id":125500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a3"} 
[2026-07-08 13:03:16] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":76,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574754304001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492871168,"note":"Value kept but may cause issues"} 
[2026-07-08 13:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783495878000,"timestamp_ms":1783495878000,"timestamp_seconds":1783495878,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a36570"} 
[2026-07-08 13:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 13:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":125500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":125500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":125500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574754304001,"66":2166,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1739022805492871168},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574754304001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:03:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:03:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492871168,"description":"Unknown IO ID 45"} 
[2026-07-08 13:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574754304001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492871168}} 
[2026-07-08 13:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":125500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:03:16] local.INFO: GPS data processed {"connection_id":125500,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:03:16] local.INFO: Acknowledgment sent {"connection_id":125500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:03:22] local.INFO: TCP Data received {"connection_id":126255,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a22138012d0b130007029fc00000013422..."} 
[2026-07-08 13:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a22138012d0b130007029fc00000013422..."} 
[2026-07-08 13:03:22] local.INFO: Processing buffer {"connection_id":126255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a22138012d0b130007029fc00000013422..."} 
[2026-07-08 13:03:22] local.INFO: Packet analysis {"connection_id":126255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a2"} 
[2026-07-08 13:03:22] local.INFO: Extracted packet for processing {"connection_id":126255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a2"} 
[2026-07-08 13:03:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 13:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574846464001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783495795000,"timestamp_ms":1783495795000,"timestamp_seconds":1783495795,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a22138"} 
[2026-07-08 13:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:03:22] 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-07-08 13: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:03:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126255,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126255,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574846464001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574846464001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:03:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574846464001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":126255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451147,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:03:22] local.INFO: GPS data processed {"connection_id":126255,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:03:22] local.INFO: Acknowledgment sent {"connection_id":126255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:03:33] local.INFO: TCP Data received {"connection_id":125499,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a3cee8012d7fa48005afdba8000c00f924..."} 
[2026-07-08 13:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a3cee8012d7fa48005afdba8000c00f924..."} 
[2026-07-08 13:03:33] local.INFO: Processing buffer {"connection_id":125499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a3cee8012d7fa48005afdba8000c00f924..."} 
[2026-07-08 13:03:33] local.INFO: Packet analysis {"connection_id":125499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a3"} 
[2026-07-08 13:03:33] local.INFO: Extracted packet for processing {"connection_id":125499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a3"} 
[2026-07-08 13:03:33] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":12,"angle":249,"satellites":36,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 13:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574874624001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 13:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783495905000,"timestamp_ms":1783495905000,"timestamp_seconds":1783495905,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a3cee8"} 
[2026-07-08 13:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 13:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:03:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574874624001,"66":25582,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 13:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574874624001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:03:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 13:03:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 13:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574874624001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 13:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":125499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:03:33] local.INFO: GPS data processed {"connection_id":125499,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:03:33] local.INFO: Acknowledgment sent {"connection_id":125499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:03:45] local.INFO: TCP Data received {"connection_id":125501,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125501,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:03:45] local.INFO: Processing buffer {"connection_id":125501,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:03:45] local.INFO: IMEI packet received {"connection_id":125501,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":125501,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:03:50] local.INFO: TCP Data received {"connection_id":125501,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125501,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:03:50] local.INFO: Processing buffer {"connection_id":125501,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:03:50] local.INFO: IMEI packet received {"connection_id":125501,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":125501,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:03:51] local.INFO: TCP Data received {"connection_id":125501,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a22138012d0b130007029fc00000013422..."} 
[2026-07-08 13:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a22138012d0b130007029fc00000013422..."} 
[2026-07-08 13:03:51] local.INFO: Processing buffer {"connection_id":125501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a22138012d0b130007029fc00000013422..."} 
[2026-07-08 13:03:51] local.INFO: Packet analysis {"connection_id":125501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a2"} 
[2026-07-08 13:03:51] local.INFO: Extracted packet for processing {"connection_id":125501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a2"} 
[2026-07-08 13:03:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574846464001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783495795000,"timestamp_ms":1783495795000,"timestamp_seconds":1783495795,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a22138"} 
[2026-07-08 13:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:03:51] 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-07-08 13:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125501,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125501,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574846464001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574846464001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:03:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574846464001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":125501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451149,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:03:51] local.INFO: GPS data processed {"connection_id":125501,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:03:51] local.INFO: Acknowledgment sent {"connection_id":125501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:03:56] local.INFO: TCP Data received {"connection_id":126256,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:03:56] local.INFO: Processing buffer {"connection_id":126256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:03:56] local.INFO: IMEI packet received {"connection_id":126256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":126256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:04:01] local.INFO: TCP Data received {"connection_id":125502,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125502,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:04:01] local.INFO: Processing buffer {"connection_id":125502,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:04:01] local.INFO: IMEI packet received {"connection_id":125502,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":125502,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:04:01] local.INFO: TCP Data received {"connection_id":126256,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:04:01] local.INFO: Processing buffer {"connection_id":126256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:04:01] local.INFO: IMEI packet received {"connection_id":126256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":126256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:04:06] local.INFO: TCP Data received {"connection_id":125502,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125502,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:04:06] local.INFO: Processing buffer {"connection_id":125502,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:04:06] local.INFO: IMEI packet received {"connection_id":125502,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":125502,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:04:06] local.INFO: TCP Data received {"connection_id":125503,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125503,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:04:06] local.INFO: Processing buffer {"connection_id":125503,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:04:06] local.INFO: IMEI packet received {"connection_id":125503,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 13:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":125503,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:04:07] local.INFO: TCP Data received {"connection_id":125502,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a36570012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a36570012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:04:07] local.INFO: Processing buffer {"connection_id":125502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a36570012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:04:07] local.INFO: Packet analysis {"connection_id":125502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a3"} 
[2026-07-08 13:04:07] local.INFO: Extracted packet for processing {"connection_id":125502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a3"} 
[2026-07-08 13:04:07] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":76,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574754304001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492871168,"note":"Value kept but may cause issues"} 
[2026-07-08 13:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783495878000,"timestamp_ms":1783495878000,"timestamp_seconds":1783495878,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a36570"} 
[2026-07-08 13:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 13:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574754304001,"66":2166,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1739022805492871168},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574754304001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:04:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:04:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492871168,"description":"Unknown IO ID 45"} 
[2026-07-08 13:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574754304001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492871168}} 
[2026-07-08 13:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":125502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:04:07] local.INFO: GPS data processed {"connection_id":125502,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:04:07] local.INFO: Acknowledgment sent {"connection_id":125502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:04:12] local.INFO: TCP Data received {"connection_id":126256,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a3cee8012d7fa48005afdba8000c00f924..."} 
[2026-07-08 13:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a3cee8012d7fa48005afdba8000c00f924..."} 
[2026-07-08 13:04:12] local.INFO: Processing buffer {"connection_id":126256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a3cee8012d7fa48005afdba8000c00f924..."} 
[2026-07-08 13:04:12] local.INFO: Packet analysis {"connection_id":126256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a3"} 
[2026-07-08 13:04:12] local.INFO: Extracted packet for processing {"connection_id":126256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a3"} 
[2026-07-08 13:04:12] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":12,"angle":249,"satellites":36,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 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-07-08 13:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574874624001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 13:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783495905000,"timestamp_ms":1783495905000,"timestamp_seconds":1783495905,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a3cee8"} 
[2026-07-08 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-07-08 13:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 13:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 13:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":126256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":126256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":126256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574874624001,"66":25582,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 13:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574874624001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:04:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 13:04:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 13:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574874624001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 13:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":126256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:04:12] local.INFO: GPS data processed {"connection_id":126256,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:04:12] local.INFO: Acknowledgment sent {"connection_id":126256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:04:23] local.INFO: TCP Data received {"connection_id":125501,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a22138012d0b130007029fc00000013422..."} 
[2026-07-08 13:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a22138012d0b130007029fc00000013422..."} 
[2026-07-08 13:04:23] local.INFO: Processing buffer {"connection_id":125501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a22138012d0b130007029fc00000013422..."} 
[2026-07-08 13:04:23] local.INFO: Packet analysis {"connection_id":125501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a2"} 
[2026-07-08 13:04:23] local.INFO: Extracted packet for processing {"connection_id":125501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a2"} 
[2026-07-08 13:04:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574846464001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783495795000,"timestamp_ms":1783495795000,"timestamp_seconds":1783495795,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a22138"} 
[2026-07-08 13:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:04:23] 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-07-08 13:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:04:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:04:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":125501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":125501,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":125501,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:04:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574846464001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574846464001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:04:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574846464001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":125501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451152,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:04:24] local.INFO: GPS data processed {"connection_id":125501,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:04:24] local.INFO: Acknowledgment sent {"connection_id":125501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:04:39] local.INFO: TCP Data received {"connection_id":125502,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a36570012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a36570012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:04:39] local.INFO: Processing buffer {"connection_id":125502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a36570012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:04:39] local.INFO: Packet analysis {"connection_id":125502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a3"} 
[2026-07-08 13:04:39] local.INFO: Extracted packet for processing {"connection_id":125502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a3"} 
[2026-07-08 13:04:39] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":76,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574754304001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492871168,"note":"Value kept but may cause issues"} 
[2026-07-08 13:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783495878000,"timestamp_ms":1783495878000,"timestamp_seconds":1783495878,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a36570"} 
[2026-07-08 13:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 13:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574754304001,"66":2166,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1739022805492871168},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574754304001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:04:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:04:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492871168,"description":"Unknown IO ID 45"} 
[2026-07-08 13:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574754304001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492871168}} 
[2026-07-08 13:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":125502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:04:39] local.INFO: GPS data processed {"connection_id":125502,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:04:39] local.INFO: Acknowledgment sent {"connection_id":125502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:04:45] local.INFO: TCP Data received {"connection_id":126257,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126257,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:04:45] local.INFO: Processing buffer {"connection_id":126257,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:04:45] local.INFO: IMEI packet received {"connection_id":126257,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":126257,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:04:50] local.INFO: TCP Data received {"connection_id":126257,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126257,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:04:50] local.INFO: Processing buffer {"connection_id":126257,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:04:50] local.INFO: IMEI packet received {"connection_id":126257,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":126257,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:04:52] local.INFO: TCP Data received {"connection_id":126257,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a22138012d0b130007029fc00000013422..."} 
[2026-07-08 13:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a22138012d0b130007029fc00000013422..."} 
[2026-07-08 13:04:52] local.INFO: Processing buffer {"connection_id":126257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a22138012d0b130007029fc00000013422..."} 
[2026-07-08 13:04:52] local.INFO: Packet analysis {"connection_id":126257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a2"} 
[2026-07-08 13:04:52] local.INFO: Extracted packet for processing {"connection_id":126257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a2"} 
[2026-07-08 13:04:52] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":0,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574846464001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783495795000,"timestamp_ms":1783495795000,"timestamp_seconds":1783495795,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a22138"} 
[2026-07-08 13:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:04:52] 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-07-08 13: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:04:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":126257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":126257,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":126257,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:04:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574846464001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574846464001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:04:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574846464001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":126257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451154,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:04:53] local.INFO: GPS data processed {"connection_id":126257,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:04:53] local.INFO: Acknowledgment sent {"connection_id":126257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:04:56] local.INFO: TCP Data received {"connection_id":125505,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:04:56] local.INFO: Processing buffer {"connection_id":125505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:04:56] local.INFO: IMEI packet received {"connection_id":125505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":125505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:05:01] local.INFO: TCP Data received {"connection_id":125505,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:05:01] local.INFO: Processing buffer {"connection_id":125505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:05:01] local.INFO: IMEI packet received {"connection_id":125505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":125505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:05:01] local.INFO: TCP Data received {"connection_id":125506,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:05:01] local.INFO: Processing buffer {"connection_id":125506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:05:01] local.INFO: IMEI packet received {"connection_id":125506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":125506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:05:02] local.INFO: TCP Data received {"connection_id":125505,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a3cee8012d7fa48005afdba8000c00f924..."} 
[2026-07-08 13:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a3cee8012d7fa48005afdba8000c00f924..."} 
[2026-07-08 13:05:02] local.INFO: Processing buffer {"connection_id":125505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a3cee8012d7fa48005afdba8000c00f924..."} 
[2026-07-08 13:05:02] local.INFO: Packet analysis {"connection_id":125505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a3"} 
[2026-07-08 13:05:02] local.INFO: Extracted packet for processing {"connection_id":125505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a3"} 
[2026-07-08 13:05:02] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":12,"angle":249,"satellites":36,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 13:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574874624001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 13:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783495905000,"timestamp_ms":1783495905000,"timestamp_seconds":1783495905,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a3cee8"} 
[2026-07-08 13:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:05:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 13:05:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:05:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574874624001,"66":25582,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 13:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574874624001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:05:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 13:05:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 13:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574874624001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 13:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":125505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:05:02] local.INFO: GPS data processed {"connection_id":125505,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:05:02] local.INFO: Acknowledgment sent {"connection_id":125505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:05:06] local.INFO: TCP Data received {"connection_id":125506,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:05:06] local.INFO: Processing buffer {"connection_id":125506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:05:06] local.INFO: IMEI packet received {"connection_id":125506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":125506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:05:07] local.INFO: TCP Data received {"connection_id":125506,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a36570012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a36570012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:05:07] local.INFO: Processing buffer {"connection_id":125506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a36570012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:05:07] local.INFO: Packet analysis {"connection_id":125506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a3"} 
[2026-07-08 13:05:07] local.INFO: Extracted packet for processing {"connection_id":125506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a3"} 
[2026-07-08 13:05:07] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":76,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574754304001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492871168,"note":"Value kept but may cause issues"} 
[2026-07-08 13:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783495878000,"timestamp_ms":1783495878000,"timestamp_seconds":1783495878,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a36570"} 
[2026-07-08 13:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 13:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574754304001,"66":2166,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1739022805492871168},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574754304001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:05:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:05:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492871168,"description":"Unknown IO ID 45"} 
[2026-07-08 13:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574754304001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492871168}} 
[2026-07-08 13:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":125506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:05:07] local.INFO: GPS data processed {"connection_id":125506,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:05:07] local.INFO: Acknowledgment sent {"connection_id":125506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:05:24] local.INFO: TCP Data received {"connection_id":126257,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a6b900012d0b130007029fc00005013423..."} 
[2026-07-08 13:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a6b900012d0b130007029fc00005013423..."} 
[2026-07-08 13:05:24] local.INFO: Processing buffer {"connection_id":126257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a6b900012d0b130007029fc00005013423..."} 
[2026-07-08 13:05:24] local.INFO: Packet analysis {"connection_id":126257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a6"} 
[2026-07-08 13:05:24] local.INFO: Extracted packet for processing {"connection_id":126257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a6"} 
[2026-07-08 13:05:24] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574923520001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783496096000,"timestamp_ms":1783496096000,"timestamp_seconds":1783496096,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a6b900"} 
[2026-07-08 13:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 13:05: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-07-08 13:05:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":126257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":126257,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":126257,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:05:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574923520001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574923520001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:05:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574923520001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":126257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451157,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:05:24] local.INFO: GPS data processed {"connection_id":126257,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:05:24] local.INFO: Acknowledgment sent {"connection_id":126257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:05:33] local.INFO: TCP Data received {"connection_id":125505,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a3cee8012d7fa48005afdba8000c00f924..."} 
[2026-07-08 13:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a3cee8012d7fa48005afdba8000c00f924..."} 
[2026-07-08 13:05:33] local.INFO: Processing buffer {"connection_id":125505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a3cee8012d7fa48005afdba8000c00f924..."} 
[2026-07-08 13:05:33] local.INFO: Packet analysis {"connection_id":125505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a3"} 
[2026-07-08 13:05:33] local.INFO: Extracted packet for processing {"connection_id":125505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a3"} 
[2026-07-08 13:05:33] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":12,"angle":249,"satellites":36,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 13:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574874624001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 13:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783495905000,"timestamp_ms":1783495905000,"timestamp_seconds":1783495905,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a3cee8"} 
[2026-07-08 13:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 13:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:05:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574874624001,"66":25582,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 13:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574874624001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:05:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 13:05:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 13:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574874624001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 13:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":125505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:05:33] local.INFO: GPS data processed {"connection_id":125505,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:05:33] local.INFO: Acknowledgment sent {"connection_id":125505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:05:38] local.INFO: TCP Data received {"connection_id":125506,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a36570012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a36570012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:05:38] local.INFO: Processing buffer {"connection_id":125506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a36570012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:05:38] local.INFO: Packet analysis {"connection_id":125506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a3"} 
[2026-07-08 13:05:38] local.INFO: Extracted packet for processing {"connection_id":125506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a3"} 
[2026-07-08 13:05:38] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":76,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574754304001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492871168,"note":"Value kept but may cause issues"} 
[2026-07-08 13:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783495878000,"timestamp_ms":1783495878000,"timestamp_seconds":1783495878,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a36570"} 
[2026-07-08 13:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 13:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574754304001,"66":2166,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1739022805492871168},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574754304001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:05:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:05:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492871168,"description":"Unknown IO ID 45"} 
[2026-07-08 13:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574754304001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492871168}} 
[2026-07-08 13:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":125506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:05:39] local.INFO: GPS data processed {"connection_id":125506,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:05:39] local.INFO: Acknowledgment sent {"connection_id":125506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:05:50] local.INFO: TCP Data received {"connection_id":125394,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125394,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:05:50] local.INFO: Processing buffer {"connection_id":125394,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:05:50] local.INFO: IMEI packet received {"connection_id":125394,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":125394,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:05:55] local.INFO: TCP Data received {"connection_id":125394,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125394,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:05:55] local.INFO: Processing buffer {"connection_id":125394,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:05:55] local.INFO: IMEI packet received {"connection_id":125394,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":125394,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:05:56] local.INFO: TCP Data received {"connection_id":127517,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:05:56] local.INFO: Processing buffer {"connection_id":127517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:05:56] local.INFO: IMEI packet received {"connection_id":127517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":127517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:05:56] local.INFO: TCP Data received {"connection_id":125394,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a6b900012d0b130007029fc00005013423..."} 
[2026-07-08 13:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a6b900012d0b130007029fc00005013423..."} 
[2026-07-08 13:05:56] local.INFO: Processing buffer {"connection_id":125394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a6b900012d0b130007029fc00005013423..."} 
[2026-07-08 13:05:56] local.INFO: Packet analysis {"connection_id":125394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a6"} 
[2026-07-08 13:05:56] local.INFO: Extracted packet for processing {"connection_id":125394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a6"} 
[2026-07-08 13:05:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574923520001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783496096000,"timestamp_ms":1783496096000,"timestamp_seconds":1783496096,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a6b900"} 
[2026-07-08 13:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:05:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 13:05:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:05:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":125394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":125394,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":125394,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574923520001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574923520001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:05:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574923520001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":125394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451160,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:05:56] local.INFO: GPS data processed {"connection_id":125394,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:05:56] local.INFO: Acknowledgment sent {"connection_id":125394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:06:00] local.INFO: TCP Data received {"connection_id":125394,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a6b900012d0b130007029fc00005013423..."} 
[2026-07-08 13:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a6b900012d0b130007029fc00005013423..."} 
[2026-07-08 13:06:00] local.INFO: Processing buffer {"connection_id":125394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a6b900012d0b130007029fc00005013423..."} 
[2026-07-08 13:06:00] local.INFO: Packet analysis {"connection_id":125394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a6"} 
[2026-07-08 13:06:00] local.INFO: Extracted packet for processing {"connection_id":125394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a6"} 
[2026-07-08 13:06:00] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574923520001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:06:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783496096000,"timestamp_ms":1783496096000,"timestamp_seconds":1783496096,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a6b900"} 
[2026-07-08 13:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 13:06:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125394,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125394,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574923520001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574923520001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:06:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574923520001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":125394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451161,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:06:00] local.INFO: GPS data processed {"connection_id":125394,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:06:00] local.INFO: Acknowledgment sent {"connection_id":125394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:06:00] local.INFO: TCP Data received {"connection_id":126259,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:06:00] local.INFO: Processing buffer {"connection_id":126259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:06:00] local.INFO: IMEI packet received {"connection_id":126259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":126259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:06:01] local.INFO: TCP Data received {"connection_id":127517,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:06:01] local.INFO: Processing buffer {"connection_id":127517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:06:01] local.INFO: IMEI packet received {"connection_id":127517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":127517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:06:02] local.INFO: TCP Data received {"connection_id":127517,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a3cee8012d7fa48005afdba8000c00f924..."} 
[2026-07-08 13:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a3cee8012d7fa48005afdba8000c00f924..."} 
[2026-07-08 13:06:02] local.INFO: Processing buffer {"connection_id":127517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a3cee8012d7fa48005afdba8000c00f924..."} 
[2026-07-08 13:06:02] local.INFO: Packet analysis {"connection_id":127517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a3"} 
[2026-07-08 13:06:02] local.INFO: Extracted packet for processing {"connection_id":127517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a3"} 
[2026-07-08 13:06:02] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":12,"angle":249,"satellites":36,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 13:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574874624001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 13:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783495905000,"timestamp_ms":1783495905000,"timestamp_seconds":1783495905,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a3cee8"} 
[2026-07-08 13:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 13:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574874624001,"66":25582,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 13:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574874624001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:06:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 13:06:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 13:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574874624001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 13:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":127517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:06:02] local.INFO: GPS data processed {"connection_id":127517,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:06:02] local.INFO: Acknowledgment sent {"connection_id":127517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:06:06] local.INFO: TCP Data received {"connection_id":126259,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:06:06] local.INFO: Processing buffer {"connection_id":126259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:06:06] local.INFO: IMEI packet received {"connection_id":126259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":126259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:06:07] local.INFO: TCP Data received {"connection_id":126259,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a36570012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a36570012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:06:07] local.INFO: Processing buffer {"connection_id":126259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a36570012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:06:07] local.INFO: Packet analysis {"connection_id":126259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a3"} 
[2026-07-08 13:06:07] local.INFO: Extracted packet for processing {"connection_id":126259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a3"} 
[2026-07-08 13:06:07] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":76,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574754304001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492871168,"note":"Value kept but may cause issues"} 
[2026-07-08 13:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783495878000,"timestamp_ms":1783495878000,"timestamp_seconds":1783495878,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a36570"} 
[2026-07-08 13:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 13:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574754304001,"66":2166,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1739022805492871168},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574754304001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:06:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:06:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492871168,"description":"Unknown IO ID 45"} 
[2026-07-08 13:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574754304001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492871168}} 
[2026-07-08 13:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":126259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:06:07] local.INFO: GPS data processed {"connection_id":126259,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:06:07] local.INFO: Acknowledgment sent {"connection_id":126259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:06:33] local.INFO: TCP Data received {"connection_id":127517,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a3cee8012d7fa48005afdba8000c00f924..."} 
[2026-07-08 13:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a3cee8012d7fa48005afdba8000c00f924..."} 
[2026-07-08 13:06:33] local.INFO: Processing buffer {"connection_id":127517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a3cee8012d7fa48005afdba8000c00f924..."} 
[2026-07-08 13:06:33] local.INFO: Packet analysis {"connection_id":127517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a3"} 
[2026-07-08 13:06:33] local.INFO: Extracted packet for processing {"connection_id":127517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a3"} 
[2026-07-08 13:06:33] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":12,"angle":249,"satellites":36,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 13:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574874624001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 13:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783495905000,"timestamp_ms":1783495905000,"timestamp_seconds":1783495905,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a3cee8"} 
[2026-07-08 13:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 13:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:06:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574874624001,"66":25582,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 13:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574874624001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:06:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 13:06:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 13:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574874624001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 13:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":127517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:06:33] local.INFO: GPS data processed {"connection_id":127517,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:06:33] local.INFO: Acknowledgment sent {"connection_id":127517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:06:38] local.INFO: TCP Data received {"connection_id":126259,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a36570012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a36570012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:06:38] local.INFO: Processing buffer {"connection_id":126259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a36570012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:06:38] local.INFO: Packet analysis {"connection_id":126259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a3"} 
[2026-07-08 13:06:38] local.INFO: Extracted packet for processing {"connection_id":126259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a3"} 
[2026-07-08 13:06:38] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":76,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574754304001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492871168,"note":"Value kept but may cause issues"} 
[2026-07-08 13:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783495878000,"timestamp_ms":1783495878000,"timestamp_seconds":1783495878,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a36570"} 
[2026-07-08 13:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 13:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574754304001,"66":2166,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1739022805492871168},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574754304001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:06:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:06:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492871168,"description":"Unknown IO ID 45"} 
[2026-07-08 13:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574754304001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492871168}} 
[2026-07-08 13:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":126259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:06:38] local.INFO: GPS data processed {"connection_id":126259,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:06:38] local.INFO: Acknowledgment sent {"connection_id":126259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:06:45] local.INFO: TCP Data received {"connection_id":127518,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127518,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:06:45] local.INFO: Processing buffer {"connection_id":127518,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:06:45] local.INFO: IMEI packet received {"connection_id":127518,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":127518,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:06:50] local.INFO: TCP Data received {"connection_id":127518,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127518,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:06:50] local.INFO: Processing buffer {"connection_id":127518,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:06:50] local.INFO: IMEI packet received {"connection_id":127518,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":127518,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:06:51] local.INFO: TCP Data received {"connection_id":127518,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a6b900012d0b130007029fc00005013423..."} 
[2026-07-08 13:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a6b900012d0b130007029fc00005013423..."} 
[2026-07-08 13:06:51] local.INFO: Processing buffer {"connection_id":127518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a6b900012d0b130007029fc00005013423..."} 
[2026-07-08 13:06:51] local.INFO: Packet analysis {"connection_id":127518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a6"} 
[2026-07-08 13:06:51] local.INFO: Extracted packet for processing {"connection_id":127518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a6"} 
[2026-07-08 13:06:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574923520001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783496096000,"timestamp_ms":1783496096000,"timestamp_seconds":1783496096,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a6b900"} 
[2026-07-08 13:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 13:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127518,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127518,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574923520001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574923520001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:06:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574923520001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":127518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451166,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:06:51] local.INFO: GPS data processed {"connection_id":127518,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:06:51] local.INFO: Acknowledgment sent {"connection_id":127518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:07:00] local.INFO: TCP Data received {"connection_id":126262,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:07:00] local.INFO: Processing buffer {"connection_id":126262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:07:00] local.INFO: IMEI packet received {"connection_id":126262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":126262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:07:01] local.INFO: TCP Data received {"connection_id":126260,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:07:01] local.INFO: Processing buffer {"connection_id":126260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:07:01] local.INFO: IMEI packet received {"connection_id":126260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":126260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:07:06] local.INFO: TCP Data received {"connection_id":126262,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:07:06] local.INFO: Processing buffer {"connection_id":126262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:07:06] local.INFO: IMEI packet received {"connection_id":126262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":126262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:07:06] local.INFO: TCP Data received {"connection_id":126260,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:07:06] local.INFO: Processing buffer {"connection_id":126260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:07:06] local.INFO: IMEI packet received {"connection_id":126260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":126260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:07:07] local.INFO: TCP Data received {"connection_id":126260,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a3cee8012d7fa48005afdba8000c00f924..."} 
[2026-07-08 13:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a3cee8012d7fa48005afdba8000c00f924..."} 
[2026-07-08 13:07:07] local.INFO: Processing buffer {"connection_id":126260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a3cee8012d7fa48005afdba8000c00f924..."} 
[2026-07-08 13:07:07] local.INFO: Packet analysis {"connection_id":126260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a3"} 
[2026-07-08 13:07:07] local.INFO: Extracted packet for processing {"connection_id":126260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a3"} 
[2026-07-08 13:07:07] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":12,"angle":249,"satellites":36,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 13:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574874624001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 13:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783495905000,"timestamp_ms":1783495905000,"timestamp_seconds":1783495905,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a3cee8"} 
[2026-07-08 13:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 13:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574874624001,"66":25582,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 13:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574874624001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:07:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 13:07:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 13:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574874624001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 13:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":126260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:07:07] local.INFO: GPS data processed {"connection_id":126260,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:07:07] local.INFO: Acknowledgment sent {"connection_id":126260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:07:07] local.INFO: TCP Data received {"connection_id":126262,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a7fd38012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a7fd38012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:07:07] local.INFO: Processing buffer {"connection_id":126262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a7fd38012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:07:07] local.INFO: Packet analysis {"connection_id":126262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a7"} 
[2026-07-08 13:07:07] local.INFO: Extracted packet for processing {"connection_id":126262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a7"} 
[2026-07-08 13:07:07] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":76,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574944768001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027813376,"note":"Value kept but may cause issues"} 
[2026-07-08 13:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783496179000,"timestamp_ms":1783496179000,"timestamp_seconds":1783496179,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a7fd38"} 
[2026-07-08 13:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 13:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574944768001,"66":2166,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1738600593027813376},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574944768001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:07:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:07:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027813376,"description":"Unknown IO ID 45"} 
[2026-07-08 13:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574944768001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027813376}} 
[2026-07-08 13:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":126262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:07:07] local.INFO: GPS data processed {"connection_id":126262,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:07:07] local.INFO: Acknowledgment sent {"connection_id":126262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:07:11] local.INFO: TCP Data received {"connection_id":126260,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a3cee8012d7fa48005afdba8000c00f924..."} 
[2026-07-08 13:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a3cee8012d7fa48005afdba8000c00f924..."} 
[2026-07-08 13:07:11] local.INFO: Processing buffer {"connection_id":126260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a3cee8012d7fa48005afdba8000c00f924..."} 
[2026-07-08 13:07:11] local.INFO: Packet analysis {"connection_id":126260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a3"} 
[2026-07-08 13:07:11] local.INFO: Extracted packet for processing {"connection_id":126260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a3"} 
[2026-07-08 13:07:11] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":12,"angle":249,"satellites":36,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 13:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574874624001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 13:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783495905000,"timestamp_ms":1783495905000,"timestamp_seconds":1783495905,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a3cee8"} 
[2026-07-08 13:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 13:07: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-07-08 13:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574874624001,"66":25582,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 13:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574874624001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:07:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 13:07:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 13:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574874624001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 13:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":126260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:07:11] local.INFO: GPS data processed {"connection_id":126260,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:07:11] local.INFO: Acknowledgment sent {"connection_id":126260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:07:23] local.INFO: TCP Data received {"connection_id":127518,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a6b900012d0b130007029fc00005013423..."} 
[2026-07-08 13:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a6b900012d0b130007029fc00005013423..."} 
[2026-07-08 13:07:23] local.INFO: Processing buffer {"connection_id":127518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a6b900012d0b130007029fc00005013423..."} 
[2026-07-08 13:07:23] local.INFO: Packet analysis {"connection_id":127518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a6"} 
[2026-07-08 13:07:23] local.INFO: Extracted packet for processing {"connection_id":127518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a6"} 
[2026-07-08 13:07:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574923520001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783496096000,"timestamp_ms":1783496096000,"timestamp_seconds":1783496096,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a6b900"} 
[2026-07-08 13:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 13:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":127518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":127518,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":127518,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574923520001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574923520001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:07:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574923520001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":127518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451170,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:07:23] local.INFO: GPS data processed {"connection_id":127518,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:07:23] local.INFO: Acknowledgment sent {"connection_id":127518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:07:38] local.INFO: TCP Data received {"connection_id":126262,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a7fd38012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a7fd38012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:07:38] local.INFO: Processing buffer {"connection_id":126262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a7fd38012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:07:38] local.INFO: Packet analysis {"connection_id":126262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a7"} 
[2026-07-08 13:07:38] local.INFO: Extracted packet for processing {"connection_id":126262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a7"} 
[2026-07-08 13:07:38] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":76,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574944768001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027813376,"note":"Value kept but may cause issues"} 
[2026-07-08 13:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783496179000,"timestamp_ms":1783496179000,"timestamp_seconds":1783496179,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a7fd38"} 
[2026-07-08 13:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 13:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574944768001,"66":2166,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1738600593027813376},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574944768001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:07:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:07:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027813376,"description":"Unknown IO ID 45"} 
[2026-07-08 13:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574944768001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027813376}} 
[2026-07-08 13:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":126262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:07:39] local.INFO: GPS data processed {"connection_id":126262,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:07:39] local.INFO: Acknowledgment sent {"connection_id":126262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:07:45] local.INFO: TCP Data received {"connection_id":125507,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125507,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:07:45] local.INFO: Processing buffer {"connection_id":125507,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:07:45] local.INFO: IMEI packet received {"connection_id":125507,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":125507,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:07:50] local.INFO: TCP Data received {"connection_id":125507,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125507,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:07:50] local.INFO: Processing buffer {"connection_id":125507,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:07:50] local.INFO: IMEI packet received {"connection_id":125507,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":125507,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:07:51] local.INFO: TCP Data received {"connection_id":125507,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a6b900012d0b130007029fc00005013423..."} 
[2026-07-08 13:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a6b900012d0b130007029fc00005013423..."} 
[2026-07-08 13:07:51] local.INFO: Processing buffer {"connection_id":125507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a6b900012d0b130007029fc00005013423..."} 
[2026-07-08 13:07:51] local.INFO: Packet analysis {"connection_id":125507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a6"} 
[2026-07-08 13:07:51] local.INFO: Extracted packet for processing {"connection_id":125507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a6"} 
[2026-07-08 13:07:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574923520001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783496096000,"timestamp_ms":1783496096000,"timestamp_seconds":1783496096,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a6b900"} 
[2026-07-08 13:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 13:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125507,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125507,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574923520001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574923520001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:07:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574923520001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":125507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451172,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:07:51] local.INFO: GPS data processed {"connection_id":125507,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:07:51] local.INFO: Acknowledgment sent {"connection_id":125507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:07:56] local.INFO: TCP Data received {"connection_id":127519,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:07:56] local.INFO: Processing buffer {"connection_id":127519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:07:56] local.INFO: IMEI packet received {"connection_id":127519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":127519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:08:01] local.INFO: TCP Data received {"connection_id":127520,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:08:01] local.INFO: Processing buffer {"connection_id":127520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:08:01] local.INFO: IMEI packet received {"connection_id":127520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":127520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:08:01] local.INFO: TCP Data received {"connection_id":127519,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:08:01] local.INFO: Processing buffer {"connection_id":127519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:08:01] local.INFO: IMEI packet received {"connection_id":127519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":127519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:08:02] local.INFO: TCP Data received {"connection_id":127519,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a866b0012d7fa48005afdba8001200f927..."} 
[2026-07-08 13:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a866b0012d7fa48005afdba8001200f927..."} 
[2026-07-08 13:08:02] local.INFO: Processing buffer {"connection_id":127519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a866b0012d7fa48005afdba8001200f927..."} 
[2026-07-08 13:08:02] local.INFO: Packet analysis {"connection_id":127519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a8"} 
[2026-07-08 13:08:02] local.INFO: Extracted packet for processing {"connection_id":127519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a8"} 
[2026-07-08 13:08:02] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":18,"angle":249,"satellites":39,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574951680001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 13:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783496206000,"timestamp_ms":1783496206000,"timestamp_seconds":1783496206,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a866b0"} 
[2026-07-08 13:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:08:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 13:08:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574951680001,"66":25604,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 13:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574951680001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:08:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 13:08:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 13:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574951680001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 13:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":127519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:08:02] local.INFO: GPS data processed {"connection_id":127519,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:08:02] local.INFO: Acknowledgment sent {"connection_id":127519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:08:06] local.INFO: TCP Data received {"connection_id":127520,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:08:06] local.INFO: Processing buffer {"connection_id":127520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:08:06] local.INFO: IMEI packet received {"connection_id":127520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":127520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:08:07] local.INFO: TCP Data received {"connection_id":127520,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a7fd38012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a7fd38012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:08:07] local.INFO: Processing buffer {"connection_id":127520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a7fd38012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:08:07] local.INFO: Packet analysis {"connection_id":127520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a7"} 
[2026-07-08 13:08:07] local.INFO: Extracted packet for processing {"connection_id":127520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a7"} 
[2026-07-08 13:08:07] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":76,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574944768001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027813376,"note":"Value kept but may cause issues"} 
[2026-07-08 13:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783496179000,"timestamp_ms":1783496179000,"timestamp_seconds":1783496179,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a7fd38"} 
[2026-07-08 13:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 13:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574944768001,"66":2166,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1738600593027813376},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574944768001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:08:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:08:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027813376,"description":"Unknown IO ID 45"} 
[2026-07-08 13:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574944768001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027813376}} 
[2026-07-08 13:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":127520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:08:07] local.INFO: GPS data processed {"connection_id":127520,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:08:07] local.INFO: Acknowledgment sent {"connection_id":127520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:08:22] local.INFO: TCP Data received {"connection_id":125507,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a6b900012d0b130007029fc00005013423..."} 
[2026-07-08 13:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a6b900012d0b130007029fc00005013423..."} 
[2026-07-08 13:08:22] local.INFO: Processing buffer {"connection_id":125507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a6b900012d0b130007029fc00005013423..."} 
[2026-07-08 13:08:22] local.INFO: Packet analysis {"connection_id":125507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a6"} 
[2026-07-08 13:08:22] local.INFO: Extracted packet for processing {"connection_id":125507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a6"} 
[2026-07-08 13:08:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 13:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574923520001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783496096000,"timestamp_ms":1783496096000,"timestamp_seconds":1783496096,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a6b900"} 
[2026-07-08 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-07-08 13:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 13:08:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 13:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125507,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125507,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574923520001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574923520001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:08:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574923520001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":125507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451175,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:08:22] local.INFO: GPS data processed {"connection_id":125507,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:08:22] local.INFO: Acknowledgment sent {"connection_id":125507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:08:33] local.INFO: TCP Data received {"connection_id":127519,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a866b0012d7fa48005afdba8001200f927..."} 
[2026-07-08 13:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a866b0012d7fa48005afdba8001200f927..."} 
[2026-07-08 13:08:33] local.INFO: Processing buffer {"connection_id":127519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a866b0012d7fa48005afdba8001200f927..."} 
[2026-07-08 13:08:33] local.INFO: Packet analysis {"connection_id":127519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a8"} 
[2026-07-08 13:08:33] local.INFO: Extracted packet for processing {"connection_id":127519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a8"} 
[2026-07-08 13:08:33] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":18,"angle":249,"satellites":39,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 13:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574951680001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 13:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783496206000,"timestamp_ms":1783496206000,"timestamp_seconds":1783496206,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a866b0"} 
[2026-07-08 13:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 13:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:08:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574951680001,"66":25604,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 13:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574951680001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:08:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 13:08:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 13:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574951680001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 13:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":127519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:08:33] local.INFO: GPS data processed {"connection_id":127519,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:08:33] local.INFO: Acknowledgment sent {"connection_id":127519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:08:38] local.INFO: TCP Data received {"connection_id":127520,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a7fd38012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a7fd38012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:08:38] local.INFO: Processing buffer {"connection_id":127520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a7fd38012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:08:38] local.INFO: Packet analysis {"connection_id":127520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a7"} 
[2026-07-08 13:08:38] local.INFO: Extracted packet for processing {"connection_id":127520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a7"} 
[2026-07-08 13:08:38] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":76,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574944768001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027813376,"note":"Value kept but may cause issues"} 
[2026-07-08 13:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783496179000,"timestamp_ms":1783496179000,"timestamp_seconds":1783496179,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a7fd38"} 
[2026-07-08 13:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 13:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574944768001,"66":2166,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1738600593027813376},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574944768001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:08:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:08:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027813376,"description":"Unknown IO ID 45"} 
[2026-07-08 13:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574944768001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027813376}} 
[2026-07-08 13:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":127520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:08:39] local.INFO: GPS data processed {"connection_id":127520,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:08:39] local.INFO: Acknowledgment sent {"connection_id":127520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:08:45] local.INFO: TCP Data received {"connection_id":125508,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125508,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:08:45] local.INFO: Processing buffer {"connection_id":125508,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:08:45] local.INFO: IMEI packet received {"connection_id":125508,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":125508,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:08:50] local.INFO: TCP Data received {"connection_id":125508,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125508,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:08:50] local.INFO: Processing buffer {"connection_id":125508,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:08:50] local.INFO: IMEI packet received {"connection_id":125508,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":125508,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:08:51] local.INFO: TCP Data received {"connection_id":125508,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a6b900012d0b130007029fc00005013423..."} 
[2026-07-08 13:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a6b900012d0b130007029fc00005013423..."} 
[2026-07-08 13:08:51] local.INFO: Processing buffer {"connection_id":125508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a6b900012d0b130007029fc00005013423..."} 
[2026-07-08 13:08:51] local.INFO: Packet analysis {"connection_id":125508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a6"} 
[2026-07-08 13:08:51] local.INFO: Extracted packet for processing {"connection_id":125508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a6"} 
[2026-07-08 13:08:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574923520001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783496096000,"timestamp_ms":1783496096000,"timestamp_seconds":1783496096,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a6b900"} 
[2026-07-08 13:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 13:08:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:08:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125508,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125508,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574923520001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574923520001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:08:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574923520001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":125508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451178,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:08:51] local.INFO: GPS data processed {"connection_id":125508,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:08:51] local.INFO: Acknowledgment sent {"connection_id":125508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:08:56] local.INFO: TCP Data received {"connection_id":126265,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:08:56] local.INFO: Processing buffer {"connection_id":126265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:08:56] local.INFO: IMEI packet received {"connection_id":126265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":126265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:09:00] local.INFO: TCP Data received {"connection_id":125509,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:09:00] local.INFO: Processing buffer {"connection_id":125509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:09:00] local.INFO: IMEI packet received {"connection_id":125509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":125509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:09:01] local.INFO: TCP Data received {"connection_id":126265,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:09:01] local.INFO: Processing buffer {"connection_id":126265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:09:01] local.INFO: IMEI packet received {"connection_id":126265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":126265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:09:02] local.INFO: TCP Data received {"connection_id":126265,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a866b0012d7fa48005afdba8001200f927..."} 
[2026-07-08 13:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a866b0012d7fa48005afdba8001200f927..."} 
[2026-07-08 13:09:02] local.INFO: Processing buffer {"connection_id":126265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a866b0012d7fa48005afdba8001200f927..."} 
[2026-07-08 13:09:02] local.INFO: Packet analysis {"connection_id":126265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a8"} 
[2026-07-08 13:09:02] local.INFO: Extracted packet for processing {"connection_id":126265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a8"} 
[2026-07-08 13:09:02] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":18,"angle":249,"satellites":39,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 13:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574951680001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 13:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783496206000,"timestamp_ms":1783496206000,"timestamp_seconds":1783496206,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a866b0"} 
[2026-07-08 13:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 13:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574951680001,"66":25604,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 13:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574951680001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:09:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 13:09:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 13:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574951680001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 13:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":126265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:09:02] local.INFO: GPS data processed {"connection_id":126265,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:09:02] local.INFO: Acknowledgment sent {"connection_id":126265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:09:06] local.INFO: TCP Data received {"connection_id":125509,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:09:06] local.INFO: Processing buffer {"connection_id":125509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:09:06] local.INFO: IMEI packet received {"connection_id":125509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":125509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:09:07] local.INFO: TCP Data received {"connection_id":125509,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a7fd38012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a7fd38012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:09:07] local.INFO: Processing buffer {"connection_id":125509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a7fd38012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:09:07] local.INFO: Packet analysis {"connection_id":125509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a7"} 
[2026-07-08 13:09:07] local.INFO: Extracted packet for processing {"connection_id":125509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a7"} 
[2026-07-08 13:09:07] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":76,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574944768001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027813376,"note":"Value kept but may cause issues"} 
[2026-07-08 13:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783496179000,"timestamp_ms":1783496179000,"timestamp_seconds":1783496179,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a7fd38"} 
[2026-07-08 13:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 13:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574944768001,"66":2166,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1738600593027813376},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574944768001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:09:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:09:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027813376,"description":"Unknown IO ID 45"} 
[2026-07-08 13:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574944768001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027813376}} 
[2026-07-08 13:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":125509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:09:07] local.INFO: GPS data processed {"connection_id":125509,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:09:07] local.INFO: Acknowledgment sent {"connection_id":125509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:09:22] local.INFO: TCP Data received {"connection_id":125508,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a6b900012d0b130007029fc00005013423..."} 
[2026-07-08 13:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a6b900012d0b130007029fc00005013423..."} 
[2026-07-08 13:09:22] local.INFO: Processing buffer {"connection_id":125508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a6b900012d0b130007029fc00005013423..."} 
[2026-07-08 13:09:22] local.INFO: Packet analysis {"connection_id":125508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a6"} 
[2026-07-08 13:09:22] local.INFO: Extracted packet for processing {"connection_id":125508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a6"} 
[2026-07-08 13:09:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574923520001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783496096000,"timestamp_ms":1783496096000,"timestamp_seconds":1783496096,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a6b900"} 
[2026-07-08 13:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 13:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125508,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125508,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574923520001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574923520001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:09:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574923520001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":125508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451181,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:09:23] local.INFO: GPS data processed {"connection_id":125508,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:09:23] local.INFO: Acknowledgment sent {"connection_id":125508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:09:26] local.INFO: TCP Data received {"connection_id":126264,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126264,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:09:26] local.INFO: Processing buffer {"connection_id":126264,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:09:26] local.INFO: IMEI packet received {"connection_id":126264,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 13:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":126264,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:09:33] local.INFO: TCP Data received {"connection_id":126265,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a866b0012d7fa48005afdba8001200f927..."} 
[2026-07-08 13:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a866b0012d7fa48005afdba8001200f927..."} 
[2026-07-08 13:09:33] local.INFO: Processing buffer {"connection_id":126265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a866b0012d7fa48005afdba8001200f927..."} 
[2026-07-08 13:09:33] local.INFO: Packet analysis {"connection_id":126265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a8"} 
[2026-07-08 13:09:33] local.INFO: Extracted packet for processing {"connection_id":126265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a8"} 
[2026-07-08 13:09:33] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":18,"angle":249,"satellites":39,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 13:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574951680001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 13:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783496206000,"timestamp_ms":1783496206000,"timestamp_seconds":1783496206,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a866b0"} 
[2026-07-08 13:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 13:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:09:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574951680001,"66":25604,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 13:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574951680001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:09:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 13:09:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 13:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574951680001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 13:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":126265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:09:33] local.INFO: GPS data processed {"connection_id":126265,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:09:33] local.INFO: Acknowledgment sent {"connection_id":126265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:09:38] local.INFO: TCP Data received {"connection_id":125509,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a7fd38012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a7fd38012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:09:38] local.INFO: Processing buffer {"connection_id":125509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a7fd38012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:09:38] local.INFO: Packet analysis {"connection_id":125509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a7"} 
[2026-07-08 13:09:38] local.INFO: Extracted packet for processing {"connection_id":125509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a7"} 
[2026-07-08 13:09:38] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":76,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574944768001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027813376,"note":"Value kept but may cause issues"} 
[2026-07-08 13:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783496179000,"timestamp_ms":1783496179000,"timestamp_seconds":1783496179,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a7fd38"} 
[2026-07-08 13:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 13:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574944768001,"66":2166,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1738600593027813376},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574944768001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:09:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:09:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027813376,"description":"Unknown IO ID 45"} 
[2026-07-08 13:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574944768001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027813376}} 
[2026-07-08 13:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":125509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:09:39] local.INFO: GPS data processed {"connection_id":125509,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:09:39] local.INFO: Acknowledgment sent {"connection_id":125509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:09:45] local.INFO: TCP Data received {"connection_id":125395,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125395,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:09:45] local.INFO: Processing buffer {"connection_id":125395,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:09:45] local.INFO: IMEI packet received {"connection_id":125395,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":125395,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:09:50] local.INFO: TCP Data received {"connection_id":125395,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125395,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:09:50] local.INFO: Processing buffer {"connection_id":125395,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:09:50] local.INFO: IMEI packet received {"connection_id":125395,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":125395,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:09:51] local.INFO: TCP Data received {"connection_id":125395,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a6b900012d0b130007029fc00005013423..."} 
[2026-07-08 13:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a6b900012d0b130007029fc00005013423..."} 
[2026-07-08 13:09:51] local.INFO: Processing buffer {"connection_id":125395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a6b900012d0b130007029fc00005013423..."} 
[2026-07-08 13:09:51] local.INFO: Packet analysis {"connection_id":125395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a6"} 
[2026-07-08 13:09:51] local.INFO: Extracted packet for processing {"connection_id":125395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a6"} 
[2026-07-08 13:09:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 13:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574923520001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783496096000,"timestamp_ms":1783496096000,"timestamp_seconds":1783496096,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a6b900"} 
[2026-07-08 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-07-08 13:09:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 13:09:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 13:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125395,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125395,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574923520001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574923520001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:09:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574923520001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":125395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451184,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:09:51] local.INFO: GPS data processed {"connection_id":125395,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:09:51] local.INFO: Acknowledgment sent {"connection_id":125395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:09:56] local.INFO: TCP Data received {"connection_id":125396,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:09:56] local.INFO: Processing buffer {"connection_id":125396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:09:56] local.INFO: IMEI packet received {"connection_id":125396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":125396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:09:56] local.INFO: TCP Data received {"connection_id":126266,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126266,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:09:56] local.INFO: Processing buffer {"connection_id":126266,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:09:56] local.INFO: IMEI packet received {"connection_id":126266,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 13:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":126266,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:10:00] local.INFO: TCP Data received {"connection_id":126267,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:10:00] local.INFO: Processing buffer {"connection_id":126267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:10:00] local.INFO: IMEI packet received {"connection_id":126267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":126267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:10:01] local.INFO: TCP Data received {"connection_id":125396,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:10:01] local.INFO: Processing buffer {"connection_id":125396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:10:01] local.INFO: IMEI packet received {"connection_id":125396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":125396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:10:02] local.INFO: TCP Data received {"connection_id":125396,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a866b0012d7fa48005afdba8001200f927..."} 
[2026-07-08 13:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a866b0012d7fa48005afdba8001200f927..."} 
[2026-07-08 13:10:02] local.INFO: Processing buffer {"connection_id":125396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a866b0012d7fa48005afdba8001200f927..."} 
[2026-07-08 13:10:02] local.INFO: Packet analysis {"connection_id":125396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a8"} 
[2026-07-08 13:10:02] local.INFO: Extracted packet for processing {"connection_id":125396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a8"} 
[2026-07-08 13:10:02] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":18,"angle":249,"satellites":39,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 13:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574951680001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 13:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783496206000,"timestamp_ms":1783496206000,"timestamp_seconds":1783496206,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a866b0"} 
[2026-07-08 13:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 13:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574951680001,"66":25604,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 13:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574951680001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:10:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 13:10:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 13:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574951680001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 13:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":125396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:10:02] local.INFO: GPS data processed {"connection_id":125396,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:10:02] local.INFO: Acknowledgment sent {"connection_id":125396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:10:06] local.INFO: TCP Data received {"connection_id":126267,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:10:06] local.INFO: Processing buffer {"connection_id":126267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:10:06] local.INFO: IMEI packet received {"connection_id":126267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":126267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:10:07] local.INFO: TCP Data received {"connection_id":126267,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a7fd38012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a7fd38012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:10:07] local.INFO: Processing buffer {"connection_id":126267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a7fd38012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:10:07] local.INFO: Packet analysis {"connection_id":126267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a7"} 
[2026-07-08 13:10:07] local.INFO: Extracted packet for processing {"connection_id":126267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a7"} 
[2026-07-08 13:10:07] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":76,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574944768001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027813376,"note":"Value kept but may cause issues"} 
[2026-07-08 13:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783496179000,"timestamp_ms":1783496179000,"timestamp_seconds":1783496179,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a7fd38"} 
[2026-07-08 13:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 13:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574944768001,"66":2166,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1738600593027813376},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574944768001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:10:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:10:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027813376,"description":"Unknown IO ID 45"} 
[2026-07-08 13:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574944768001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027813376}} 
[2026-07-08 13:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":126267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:10:07] local.INFO: GPS data processed {"connection_id":126267,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:10:07] local.INFO: Acknowledgment sent {"connection_id":126267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:10:22] local.INFO: TCP Data received {"connection_id":125395,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ab50c8012d0b130007029fc00005013422..."} 
[2026-07-08 13:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ab50c8012d0b130007029fc00005013422..."} 
[2026-07-08 13:10:22] local.INFO: Processing buffer {"connection_id":125395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ab50c8012d0b130007029fc00005013422..."} 
[2026-07-08 13:10:22] local.INFO: Packet analysis {"connection_id":125395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ab"} 
[2026-07-08 13:10:22] local.INFO: Extracted packet for processing {"connection_id":125395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ab"} 
[2026-07-08 13:10:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575000576001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783496397000,"timestamp_ms":1783496397000,"timestamp_seconds":1783496397,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ab50c8"} 
[2026-07-08 13:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:10:22] 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-07-08 13: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 13:10:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125395,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125395,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575000576001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575000576001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:10:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575000576001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":125395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451187,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:10:22] local.INFO: GPS data processed {"connection_id":125395,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:10:22] local.INFO: Acknowledgment sent {"connection_id":125395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:10:33] local.INFO: TCP Data received {"connection_id":125396,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a866b0012d7fa48005afdba8001200f927..."} 
[2026-07-08 13:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a866b0012d7fa48005afdba8001200f927..."} 
[2026-07-08 13:10:33] local.INFO: Processing buffer {"connection_id":125396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a866b0012d7fa48005afdba8001200f927..."} 
[2026-07-08 13:10:33] local.INFO: Packet analysis {"connection_id":125396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a8"} 
[2026-07-08 13:10:33] local.INFO: Extracted packet for processing {"connection_id":125396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a8"} 
[2026-07-08 13:10:33] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":18,"angle":249,"satellites":39,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 13:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574951680001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 13:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783496206000,"timestamp_ms":1783496206000,"timestamp_seconds":1783496206,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a866b0"} 
[2026-07-08 13:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 13:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574951680001,"66":25604,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 13:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574951680001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:10:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 13:10:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 13:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574951680001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 13:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":125396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:10:33] local.INFO: GPS data processed {"connection_id":125396,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:10:33] local.INFO: Acknowledgment sent {"connection_id":125396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:10:39] local.INFO: TCP Data received {"connection_id":126267,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a7fd38012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a7fd38012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:10:39] local.INFO: Processing buffer {"connection_id":126267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a7fd38012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:10:39] local.INFO: Packet analysis {"connection_id":126267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a7"} 
[2026-07-08 13:10:39] local.INFO: Extracted packet for processing {"connection_id":126267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a7"} 
[2026-07-08 13:10:39] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":76,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574944768001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027813376,"note":"Value kept but may cause issues"} 
[2026-07-08 13:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783496179000,"timestamp_ms":1783496179000,"timestamp_seconds":1783496179,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a7fd38"} 
[2026-07-08 13:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 13:10: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-07-08 13:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574944768001,"66":2166,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1738600593027813376},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574944768001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:10:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:10:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027813376,"description":"Unknown IO ID 45"} 
[2026-07-08 13:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574944768001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027813376}} 
[2026-07-08 13:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":126267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:10:39] local.INFO: GPS data processed {"connection_id":126267,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:10:39] local.INFO: Acknowledgment sent {"connection_id":126267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:10:50] local.INFO: TCP Data received {"connection_id":125510,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125510,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:10:50] local.INFO: Processing buffer {"connection_id":125510,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:10:50] local.INFO: IMEI packet received {"connection_id":125510,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":125510,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:10:55] local.INFO: TCP Data received {"connection_id":125510,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125510,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:10:55] local.INFO: Processing buffer {"connection_id":125510,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:10:55] local.INFO: IMEI packet received {"connection_id":125510,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":125510,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:10:55] local.INFO: TCP Data received {"connection_id":125510,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ab50c8012d0b130007029fc00005013422..."} 
[2026-07-08 13:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ab50c8012d0b130007029fc00005013422..."} 
[2026-07-08 13:10:55] local.INFO: Processing buffer {"connection_id":125510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ab50c8012d0b130007029fc00005013422..."} 
[2026-07-08 13:10:55] local.INFO: Packet analysis {"connection_id":125510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ab"} 
[2026-07-08 13:10:55] local.INFO: Extracted packet for processing {"connection_id":125510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ab"} 
[2026-07-08 13:10:55] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575000576001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783496397000,"timestamp_ms":1783496397000,"timestamp_seconds":1783496397,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ab50c8"} 
[2026-07-08 13:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:10:55] 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-07-08 13: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 13:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":125510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":125510,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":125510,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575000576001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575000576001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:10:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575000576001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:10:55] local.INFO: TCP Data received {"connection_id":125397,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:10:55] local.INFO: Processing buffer {"connection_id":125397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:10:55] local.INFO: IMEI packet received {"connection_id":125397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":125397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":125510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451190,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:10:56] local.INFO: GPS data processed {"connection_id":125510,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:10:56] local.INFO: Acknowledgment sent {"connection_id":125510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:11:00] local.INFO: TCP Data received {"connection_id":126269,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:11:00] local.INFO: Processing buffer {"connection_id":126269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:11:00] local.INFO: IMEI packet received {"connection_id":126269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":126269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:11:01] local.INFO: TCP Data received {"connection_id":125397,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:11:01] local.INFO: Processing buffer {"connection_id":125397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:11:01] local.INFO: IMEI packet received {"connection_id":125397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":125397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:11:02] local.INFO: TCP Data received {"connection_id":125397,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a866b0012d7fa48005afdba8001200f927..."} 
[2026-07-08 13:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a866b0012d7fa48005afdba8001200f927..."} 
[2026-07-08 13:11:02] local.INFO: Processing buffer {"connection_id":125397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a866b0012d7fa48005afdba8001200f927..."} 
[2026-07-08 13:11:02] local.INFO: Packet analysis {"connection_id":125397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a8"} 
[2026-07-08 13:11:02] local.INFO: Extracted packet for processing {"connection_id":125397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a8"} 
[2026-07-08 13:11:02] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":18,"angle":249,"satellites":39,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 13:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574951680001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 13:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783496206000,"timestamp_ms":1783496206000,"timestamp_seconds":1783496206,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a866b0"} 
[2026-07-08 13:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 13:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:11:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574951680001,"66":25604,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 13:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574951680001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:11:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 13:11:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 13:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574951680001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 13:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":125397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:11:02] local.INFO: GPS data processed {"connection_id":125397,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:11:02] local.INFO: Acknowledgment sent {"connection_id":125397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:11:06] local.INFO: TCP Data received {"connection_id":126269,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:11:06] local.INFO: Processing buffer {"connection_id":126269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:11:06] local.INFO: IMEI packet received {"connection_id":126269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":126269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:11:07] local.INFO: TCP Data received {"connection_id":126269,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a7fd38012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a7fd38012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:11:07] local.INFO: Processing buffer {"connection_id":126269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a7fd38012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:11:07] local.INFO: Packet analysis {"connection_id":126269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a7"} 
[2026-07-08 13:11:07] local.INFO: Extracted packet for processing {"connection_id":126269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a7"} 
[2026-07-08 13:11:07] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":76,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574944768001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027813376,"note":"Value kept but may cause issues"} 
[2026-07-08 13:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783496179000,"timestamp_ms":1783496179000,"timestamp_seconds":1783496179,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a7fd38"} 
[2026-07-08 13:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 13:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574944768001,"66":2166,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1738600593027813376},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574944768001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:11:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:11:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027813376,"description":"Unknown IO ID 45"} 
[2026-07-08 13:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574944768001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027813376}} 
[2026-07-08 13:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":126269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:11:07] local.INFO: GPS data processed {"connection_id":126269,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:11:07] local.INFO: Acknowledgment sent {"connection_id":126269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:11:27] local.INFO: TCP Data received {"connection_id":125510,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ab50c8012d0b130007029fc00005013422..."} 
[2026-07-08 13:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ab50c8012d0b130007029fc00005013422..."} 
[2026-07-08 13:11:27] local.INFO: Processing buffer {"connection_id":125510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ab50c8012d0b130007029fc00005013422..."} 
[2026-07-08 13:11:27] local.INFO: Packet analysis {"connection_id":125510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ab"} 
[2026-07-08 13:11:27] local.INFO: Extracted packet for processing {"connection_id":125510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ab"} 
[2026-07-08 13:11:27] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575000576001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:11:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783496397000,"timestamp_ms":1783496397000,"timestamp_seconds":1783496397,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ab50c8"} 
[2026-07-08 13:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:11:27] 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-07-08 13:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 13:11:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:11:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":125510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":125510,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":125510,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575000576001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575000576001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:11:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575000576001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":125510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451193,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:11:27] local.INFO: GPS data processed {"connection_id":125510,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:11:27] local.INFO: Acknowledgment sent {"connection_id":125510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:11:33] local.INFO: TCP Data received {"connection_id":125397,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a866b0012d7fa48005afdba8001200f927..."} 
[2026-07-08 13:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a866b0012d7fa48005afdba8001200f927..."} 
[2026-07-08 13:11:33] local.INFO: Processing buffer {"connection_id":125397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a866b0012d7fa48005afdba8001200f927..."} 
[2026-07-08 13:11:33] local.INFO: Packet analysis {"connection_id":125397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a8"} 
[2026-07-08 13:11:33] local.INFO: Extracted packet for processing {"connection_id":125397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a8"} 
[2026-07-08 13:11:33] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":18,"angle":249,"satellites":39,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 13:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574951680001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 13:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783496206000,"timestamp_ms":1783496206000,"timestamp_seconds":1783496206,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a866b0"} 
[2026-07-08 13:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 13:11:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:11:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574951680001,"66":25604,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 13:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574951680001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:11:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 13:11:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 13:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574951680001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 13:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":125397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:11:33] local.INFO: GPS data processed {"connection_id":125397,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:11:33] local.INFO: Acknowledgment sent {"connection_id":125397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:11:38] local.INFO: TCP Data received {"connection_id":126269,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40a7fd38012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40a7fd38012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:11:38] local.INFO: Processing buffer {"connection_id":126269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40a7fd38012d1820c00721b4d0004c00d128..."} 
[2026-07-08 13:11:38] local.INFO: Packet analysis {"connection_id":126269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40a7"} 
[2026-07-08 13:11:38] local.INFO: Extracted packet for processing {"connection_id":126269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40a7"} 
[2026-07-08 13:11:38] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":76,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456574944768001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027813376,"note":"Value kept but may cause issues"} 
[2026-07-08 13:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783496179000,"timestamp_ms":1783496179000,"timestamp_seconds":1783496179,"priority":1,"record_length":96,"hex_timestamp":"0000019f40a7fd38"} 
[2026-07-08 13:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 13:11: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-07-08 13:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456574944768001,"66":2166,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1738600593027813376},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456574944768001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:11:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:11:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027813376,"description":"Unknown IO ID 45"} 
[2026-07-08 13:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456574944768001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027813376}} 
[2026-07-08 13:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":126269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:11:39] local.INFO: GPS data processed {"connection_id":126269,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:11:39] local.INFO: Acknowledgment sent {"connection_id":126269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:11:45] local.INFO: TCP Data received {"connection_id":125398,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125398,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:11:45] local.INFO: Processing buffer {"connection_id":125398,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:11:45] local.INFO: IMEI packet received {"connection_id":125398,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":125398,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:11:51] local.INFO: TCP Data received {"connection_id":125398,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125398,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:11:51] local.INFO: Processing buffer {"connection_id":125398,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:11:51] local.INFO: IMEI packet received {"connection_id":125398,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":125398,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:11:52] local.INFO: TCP Data received {"connection_id":125398,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ab50c8012d0b130007029fc00005013422..."} 
[2026-07-08 13:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ab50c8012d0b130007029fc00005013422..."} 
[2026-07-08 13:11:52] local.INFO: Processing buffer {"connection_id":125398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ab50c8012d0b130007029fc00005013422..."} 
[2026-07-08 13:11:52] local.INFO: Packet analysis {"connection_id":125398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ab"} 
[2026-07-08 13:11:52] local.INFO: Extracted packet for processing {"connection_id":125398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ab"} 
[2026-07-08 13:11:52] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575000576001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783496397000,"timestamp_ms":1783496397000,"timestamp_seconds":1783496397,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ab50c8"} 
[2026-07-08 13:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:11:52] 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-07-08 13: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 13:11:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":125398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":125398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":125398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:11:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575000576001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575000576001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:11:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575000576001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":125398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451196,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:11:52] local.INFO: GPS data processed {"connection_id":125398,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:11:52] local.INFO: Acknowledgment sent {"connection_id":125398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:12:01] local.INFO: TCP Data received {"connection_id":125511,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:12:01] local.INFO: Processing buffer {"connection_id":125511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:12:01] local.INFO: IMEI packet received {"connection_id":125511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":125511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:12:06] local.INFO: TCP Data received {"connection_id":127521,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:12:06] local.INFO: Processing buffer {"connection_id":127521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:12:06] local.INFO: IMEI packet received {"connection_id":127521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":127521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:12:06] local.INFO: TCP Data received {"connection_id":125511,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:12:06] local.INFO: Processing buffer {"connection_id":125511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:12:06] local.INFO: IMEI packet received {"connection_id":125511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":125511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:12:07] local.INFO: TCP Data received {"connection_id":125511,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ac6620012d7fa48005afdba8000000f924..."} 
[2026-07-08 13:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ac6620012d7fa48005afdba8000000f924..."} 
[2026-07-08 13:12:07] local.INFO: Processing buffer {"connection_id":125511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ac6620012d7fa48005afdba8000000f924..."} 
[2026-07-08 13:12:07] local.INFO: Packet analysis {"connection_id":125511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ac"} 
[2026-07-08 13:12:07] local.INFO: Extracted packet for processing {"connection_id":125511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ac"} 
[2026-07-08 13:12:07] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":95411112,"longitude_deg":76.3339904,"latitude_deg":9.5411112,"altitude":0,"angle":249,"satellites":36,"speed":0,"hex_longitude":"2d7fa480","hex_latitude":"05afdba8","is_valid_coordinates":true} 
[2026-07-08 13:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575028736001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 13:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783496468000,"timestamp_ms":1783496468000,"timestamp_seconds":1783496468,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ac6620"} 
[2026-07-08 13:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 13:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575028736001,"66":25582,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 13:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575028736001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:12:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 13:12:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 13:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575028736001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 13:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":125511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:12:07] local.INFO: GPS data processed {"connection_id":125511,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:12:07] local.INFO: Acknowledgment sent {"connection_id":125511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:12:11] local.INFO: TCP Data received {"connection_id":127521,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:12:11] local.INFO: Processing buffer {"connection_id":127521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:12:11] local.INFO: IMEI packet received {"connection_id":127521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":127521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:12:11] local.INFO: TCP Data received {"connection_id":125511,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ac7d90012d7fa78005afde980000006e24..."} 
[2026-07-08 13:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ac7d90012d7fa78005afde980000006e24..."} 
[2026-07-08 13:12:11] local.INFO: Processing buffer {"connection_id":125511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ac7d90012d7fa78005afde980000006e24..."} 
[2026-07-08 13:12:11] local.INFO: Packet analysis {"connection_id":125511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ac"} 
[2026-07-08 13:12:11] local.INFO: Extracted packet for processing {"connection_id":125511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ac"} 
[2026-07-08 13:12:11] local.INFO: GPS Element Parsed {"raw_longitude":763340672,"raw_latitude":95411864,"longitude_deg":76.3340672,"latitude_deg":9.5411864,"altitude":0,"angle":110,"satellites":36,"speed":0,"hex_longitude":"2d7fa780","hex_latitude":"05afde98","is_valid_coordinates":true} 
[2026-07-08 13:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575095808001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617100910995456,"note":"Value kept but may cause issues"} 
[2026-07-08 13:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783496474000,"timestamp_ms":1783496474000,"timestamp_seconds":1783496474,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ac7d90"} 
[2026-07-08 13:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 13:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575095808001,"66":27800,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9197617100910995456},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 13:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575095808001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:12:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 13:12:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617100910995456,"description":"Unknown IO ID 45"} 
[2026-07-08 13:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575095808001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197617100910995456}} 
[2026-07-08 13:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":125511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:12:11] local.INFO: GPS data processed {"connection_id":125511,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:12:11] local.INFO: Acknowledgment sent {"connection_id":125511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:12:12] local.INFO: TCP Data received {"connection_id":127521,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ac9500012d1820c00721b4d0004e00d125..."} 
[2026-07-08 13:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ac9500012d1820c00721b4d0004e00d125..."} 
[2026-07-08 13:12:12] local.INFO: Processing buffer {"connection_id":127521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ac9500012d1820c00721b4d0004e00d125..."} 
[2026-07-08 13:12:12] local.INFO: Packet analysis {"connection_id":127521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ac"} 
[2026-07-08 13:12:12] local.INFO: Extracted packet for processing {"connection_id":127521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ac"} 
[2026-07-08 13:12:12] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":78,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 13:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575021824001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027813376,"note":"Value kept but may cause issues"} 
[2026-07-08 13:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783496480000,"timestamp_ms":1783496480000,"timestamp_seconds":1783496480,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ac9500"} 
[2026-07-08 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-07-08 13:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 13:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 13:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":127521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":127521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":127521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575021824001,"66":2144,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1738600593027813376},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575021824001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:12:13] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:12:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027813376,"description":"Unknown IO ID 45"} 
[2026-07-08 13:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575021824001,"power":2144,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027813376}} 
[2026-07-08 13:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":127521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:12:13] local.INFO: GPS data processed {"connection_id":127521,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:12:13] local.INFO: Acknowledgment sent {"connection_id":127521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:12:16] local.INFO: TCP Data received {"connection_id":127521,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ac9500012d1820c00721b4d0004e00d125..."} 
[2026-07-08 13:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ac9500012d1820c00721b4d0004e00d125..."} 
[2026-07-08 13:12:16] local.INFO: Processing buffer {"connection_id":127521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ac9500012d1820c00721b4d0004e00d125..."} 
[2026-07-08 13:12:16] local.INFO: Packet analysis {"connection_id":127521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ac"} 
[2026-07-08 13:12:16] local.INFO: Extracted packet for processing {"connection_id":127521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ac"} 
[2026-07-08 13:12:16] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":78,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575021824001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027813376,"note":"Value kept but may cause issues"} 
[2026-07-08 13:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783496480000,"timestamp_ms":1783496480000,"timestamp_seconds":1783496480,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ac9500"} 
[2026-07-08 13:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 13:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":127521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":127521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":127521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575021824001,"66":2144,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1738600593027813376},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575021824001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:12:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:12:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027813376,"description":"Unknown IO ID 45"} 
[2026-07-08 13:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575021824001,"power":2144,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027813376}} 
[2026-07-08 13:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":127521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:12:16] local.INFO: GPS data processed {"connection_id":127521,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:12:16] local.INFO: Acknowledgment sent {"connection_id":127521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:12:23] local.INFO: TCP Data received {"connection_id":125398,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ab50c8012d0b130007029fc00005013422..."} 
[2026-07-08 13:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ab50c8012d0b130007029fc00005013422..."} 
[2026-07-08 13:12:23] local.INFO: Processing buffer {"connection_id":125398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ab50c8012d0b130007029fc00005013422..."} 
[2026-07-08 13:12:23] local.INFO: Packet analysis {"connection_id":125398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ab"} 
[2026-07-08 13:12:23] local.INFO: Extracted packet for processing {"connection_id":125398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ab"} 
[2026-07-08 13:12:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575000576001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783496397000,"timestamp_ms":1783496397000,"timestamp_seconds":1783496397,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ab50c8"} 
[2026-07-08 13:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:12:23] 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-07-08 13: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 13:12:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":125398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":125398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":125398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:12:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575000576001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575000576001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:12:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575000576001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":125398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451201,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:12:23] local.INFO: GPS data processed {"connection_id":125398,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:12:23] local.INFO: Acknowledgment sent {"connection_id":125398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:12:45] local.INFO: TCP Data received {"connection_id":125399,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125399,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:12:45] local.INFO: Processing buffer {"connection_id":125399,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:12:45] local.INFO: IMEI packet received {"connection_id":125399,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":125399,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:12:50] local.INFO: TCP Data received {"connection_id":125399,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125399,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:12:50] local.INFO: Processing buffer {"connection_id":125399,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:12:50] local.INFO: IMEI packet received {"connection_id":125399,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":125399,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:12:51] local.INFO: TCP Data received {"connection_id":125399,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ab50c8012d0b130007029fc00005013422..."} 
[2026-07-08 13:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ab50c8012d0b130007029fc00005013422..."} 
[2026-07-08 13:12:51] local.INFO: Processing buffer {"connection_id":125399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ab50c8012d0b130007029fc00005013422..."} 
[2026-07-08 13:12:51] local.INFO: Packet analysis {"connection_id":125399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ab"} 
[2026-07-08 13:12:51] local.INFO: Extracted packet for processing {"connection_id":125399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ab"} 
[2026-07-08 13:12:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575000576001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783496397000,"timestamp_ms":1783496397000,"timestamp_seconds":1783496397,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ab50c8"} 
[2026-07-08 13:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:12:51] 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-07-08 13:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 13:12:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125399,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125399,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575000576001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575000576001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:12:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575000576001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":125399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451202,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:12:51] local.INFO: GPS data processed {"connection_id":125399,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:12:51] local.INFO: Acknowledgment sent {"connection_id":125399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:12:56] local.INFO: TCP Data received {"connection_id":127522,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:12:56] local.INFO: Processing buffer {"connection_id":127522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:12:56] local.INFO: IMEI packet received {"connection_id":127522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":127522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:13:00] local.INFO: TCP Data received {"connection_id":126270,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126270,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:13:00] local.INFO: Processing buffer {"connection_id":126270,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:13:00] local.INFO: IMEI packet received {"connection_id":126270,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":126270,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:13:01] local.INFO: TCP Data received {"connection_id":127522,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:13:01] local.INFO: Processing buffer {"connection_id":127522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:13:01] local.INFO: IMEI packet received {"connection_id":127522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":127522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:13:02] local.INFO: TCP Data received {"connection_id":127522,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f40accf98012d7fa78005afde980000006e23..."} 
[2026-07-08 13:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40accf98012d7fa78005afde980000006e23..."} 
[2026-07-08 13:13:02] local.INFO: Processing buffer {"connection_id":127522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40accf98012d7fa78005afde980000006e23..."} 
[2026-07-08 13:13:02] local.INFO: Packet analysis {"connection_id":127522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ac"} 
[2026-07-08 13:13:02] local.INFO: Extracted packet for processing {"connection_id":127522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ac"} 
[2026-07-08 13:13:02] local.INFO: GPS Element Parsed {"raw_longitude":763340672,"raw_latitude":95411864,"longitude_deg":76.3340672,"latitude_deg":9.5411864,"altitude":0,"angle":110,"satellites":35,"speed":0,"hex_longitude":"2d7fa780","hex_latitude":"05afde98","is_valid_coordinates":true} 
[2026-07-08 13:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575097344001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198461525841319936,"note":"Value kept but may cause issues"} 
[2026-07-08 13:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783496495000,"timestamp_ms":1783496495000,"timestamp_seconds":1783496495,"priority":1,"record_length":96,"hex_timestamp":"0000019f40accf98"} 
[2026-07-08 13:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 13:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:13:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575097344001,"66":27789,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9198461525841319936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 13:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575097344001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:13:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 13:13:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198461525841319936,"description":"Unknown IO ID 45"} 
[2026-07-08 13:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575097344001,"power":27789,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198461525841319936}} 
[2026-07-08 13:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":127522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:13:02] local.INFO: GPS data processed {"connection_id":127522,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:13:02] local.INFO: Acknowledgment sent {"connection_id":127522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:13:06] local.INFO: TCP Data received {"connection_id":126270,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126270,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:13:06] local.INFO: Processing buffer {"connection_id":126270,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:13:06] local.INFO: IMEI packet received {"connection_id":126270,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":126270,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:13:07] local.INFO: TCP Data received {"connection_id":126270,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ac9500012d1820c00721b4d0004e00d125..."} 
[2026-07-08 13:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ac9500012d1820c00721b4d0004e00d125..."} 
[2026-07-08 13:13:07] local.INFO: Processing buffer {"connection_id":126270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ac9500012d1820c00721b4d0004e00d125..."} 
[2026-07-08 13:13:07] local.INFO: Packet analysis {"connection_id":126270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ac"} 
[2026-07-08 13:13:07] local.INFO: Extracted packet for processing {"connection_id":126270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ac"} 
[2026-07-08 13:13:07] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":78,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575021824001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027813376,"note":"Value kept but may cause issues"} 
[2026-07-08 13:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783496480000,"timestamp_ms":1783496480000,"timestamp_seconds":1783496480,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ac9500"} 
[2026-07-08 13:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 13:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575021824001,"66":2144,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1738600593027813376},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575021824001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:13:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:13:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027813376,"description":"Unknown IO ID 45"} 
[2026-07-08 13:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575021824001,"power":2144,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027813376}} 
[2026-07-08 13:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":126270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:13:07] local.INFO: GPS data processed {"connection_id":126270,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:13:07] local.INFO: Acknowledgment sent {"connection_id":126270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:13:23] local.INFO: TCP Data received {"connection_id":125399,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ab50c8012d0b130007029fc00005013422..."} 
[2026-07-08 13:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ab50c8012d0b130007029fc00005013422..."} 
[2026-07-08 13:13:23] local.INFO: Processing buffer {"connection_id":125399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ab50c8012d0b130007029fc00005013422..."} 
[2026-07-08 13:13:23] local.INFO: Packet analysis {"connection_id":125399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ab"} 
[2026-07-08 13:13:23] local.INFO: Extracted packet for processing {"connection_id":125399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ab"} 
[2026-07-08 13:13:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575000576001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783496397000,"timestamp_ms":1783496397000,"timestamp_seconds":1783496397,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ab50c8"} 
[2026-07-08 13:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:13:23] 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-07-08 13: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 13:13:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":125399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":125399,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":125399,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575000576001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575000576001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:13:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575000576001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":125399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451205,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:13:23] local.INFO: GPS data processed {"connection_id":125399,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:13:23] local.INFO: Acknowledgment sent {"connection_id":125399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:13:33] local.INFO: TCP Data received {"connection_id":127522,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ad0260012d7fa78005afde980000006e25..."} 
[2026-07-08 13:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ad0260012d7fa78005afde980000006e25..."} 
[2026-07-08 13:13:33] local.INFO: Processing buffer {"connection_id":127522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ad0260012d7fa78005afde980000006e25..."} 
[2026-07-08 13:13:33] local.INFO: Packet analysis {"connection_id":127522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ad"} 
[2026-07-08 13:13:33] local.INFO: Extracted packet for processing {"connection_id":127522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ad"} 
[2026-07-08 13:13:33] local.INFO: GPS Element Parsed {"raw_longitude":763340672,"raw_latitude":95411864,"longitude_deg":76.3340672,"latitude_deg":9.5411864,"altitude":0,"angle":110,"satellites":37,"speed":0,"hex_longitude":"2d7fa780","hex_latitude":"05afde98","is_valid_coordinates":true} 
[2026-07-08 13:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575102720001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198461525841319936,"note":"Value kept but may cause issues"} 
[2026-07-08 13:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783496508000,"timestamp_ms":1783496508000,"timestamp_seconds":1783496508,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ad0260"} 
[2026-07-08 13:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-08 13:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575102720001,"66":27658,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9198461525841319936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 13:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575102720001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:13:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 13:13:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198461525841319936,"description":"Unknown IO ID 45"} 
[2026-07-08 13:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575102720001,"power":27658,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198461525841319936}} 
[2026-07-08 13:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":127522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:13:33] local.INFO: GPS data processed {"connection_id":127522,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:13:33] local.INFO: Acknowledgment sent {"connection_id":127522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:13:39] local.INFO: TCP Data received {"connection_id":126270,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ac9500012d1820c00721b4d0004e00d125..."} 
[2026-07-08 13:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ac9500012d1820c00721b4d0004e00d125..."} 
[2026-07-08 13:13:39] local.INFO: Processing buffer {"connection_id":126270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ac9500012d1820c00721b4d0004e00d125..."} 
[2026-07-08 13:13:39] local.INFO: Packet analysis {"connection_id":126270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ac"} 
[2026-07-08 13:13:39] local.INFO: Extracted packet for processing {"connection_id":126270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ac"} 
[2026-07-08 13:13:39] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":78,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575021824001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027813376,"note":"Value kept but may cause issues"} 
[2026-07-08 13:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783496480000,"timestamp_ms":1783496480000,"timestamp_seconds":1783496480,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ac9500"} 
[2026-07-08 13:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 13:13: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-07-08 13:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575021824001,"66":2144,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1738600593027813376},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575021824001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:13:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:13:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027813376,"description":"Unknown IO ID 45"} 
[2026-07-08 13:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575021824001,"power":2144,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027813376}} 
[2026-07-08 13:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":126270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:13:39] local.INFO: GPS data processed {"connection_id":126270,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:13:39] local.INFO: Acknowledgment sent {"connection_id":126270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:13:45] local.INFO: TCP Data received {"connection_id":125513,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125513,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:13:45] local.INFO: Processing buffer {"connection_id":125513,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:13:45] local.INFO: IMEI packet received {"connection_id":125513,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":125513,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:13:50] local.INFO: TCP Data received {"connection_id":125513,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125513,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:13:50] local.INFO: Processing buffer {"connection_id":125513,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:13:50] local.INFO: IMEI packet received {"connection_id":125513,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":125513,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:13:51] local.INFO: TCP Data received {"connection_id":125513,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ab50c8012d0b130007029fc00005013422..."} 
[2026-07-08 13:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ab50c8012d0b130007029fc00005013422..."} 
[2026-07-08 13:13:51] local.INFO: Processing buffer {"connection_id":125513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ab50c8012d0b130007029fc00005013422..."} 
[2026-07-08 13:13:51] local.INFO: Packet analysis {"connection_id":125513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ab"} 
[2026-07-08 13:13:51] local.INFO: Extracted packet for processing {"connection_id":125513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ab"} 
[2026-07-08 13:13:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575000576001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783496397000,"timestamp_ms":1783496397000,"timestamp_seconds":1783496397,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ab50c8"} 
[2026-07-08 13:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:13:51] 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-07-08 13: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 13:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125513,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125513,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575000576001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575000576001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:13:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575000576001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":125513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451208,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:13:51] local.INFO: GPS data processed {"connection_id":125513,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:13:51] local.INFO: Acknowledgment sent {"connection_id":125513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:13:56] local.INFO: TCP Data received {"connection_id":126271,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:13:56] local.INFO: Processing buffer {"connection_id":126271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:13:56] local.INFO: IMEI packet received {"connection_id":126271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":126271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:14:00] local.INFO: TCP Data received {"connection_id":125514,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:14:00] local.INFO: Processing buffer {"connection_id":125514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:14:00] local.INFO: IMEI packet received {"connection_id":125514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":125514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:14:01] local.INFO: TCP Data received {"connection_id":126271,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:14:01] local.INFO: Processing buffer {"connection_id":126271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:14:01] local.INFO: IMEI packet received {"connection_id":126271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":126271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:14:02] local.INFO: TCP Data received {"connection_id":126271,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ad0260012d7fa78005afde980000006e25..."} 
[2026-07-08 13:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ad0260012d7fa78005afde980000006e25..."} 
[2026-07-08 13:14:02] local.INFO: Processing buffer {"connection_id":126271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ad0260012d7fa78005afde980000006e25..."} 
[2026-07-08 13:14:02] local.INFO: Packet analysis {"connection_id":126271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ad"} 
[2026-07-08 13:14:02] local.INFO: Extracted packet for processing {"connection_id":126271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ad"} 
[2026-07-08 13:14:02] local.INFO: GPS Element Parsed {"raw_longitude":763340672,"raw_latitude":95411864,"longitude_deg":76.3340672,"latitude_deg":9.5411864,"altitude":0,"angle":110,"satellites":37,"speed":0,"hex_longitude":"2d7fa780","hex_latitude":"05afde98","is_valid_coordinates":true} 
[2026-07-08 13:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575102720001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198461525841319936,"note":"Value kept but may cause issues"} 
[2026-07-08 13:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783496508000,"timestamp_ms":1783496508000,"timestamp_seconds":1783496508,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ad0260"} 
[2026-07-08 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-07-08 13:14: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-07-08 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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-08 13:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 13:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575102720001,"66":27658,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9198461525841319936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 13:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575102720001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:14:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 13:14:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198461525841319936,"description":"Unknown IO ID 45"} 
[2026-07-08 13:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575102720001,"power":27658,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198461525841319936}} 
[2026-07-08 13:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":126271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:14:02] local.INFO: GPS data processed {"connection_id":126271,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:14:02] local.INFO: Acknowledgment sent {"connection_id":126271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:14:06] local.INFO: TCP Data received {"connection_id":125514,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:14:06] local.INFO: Processing buffer {"connection_id":125514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:14:06] local.INFO: IMEI packet received {"connection_id":125514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":125514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:14:07] local.INFO: TCP Data received {"connection_id":125514,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ac9500012d1820c00721b4d0004e00d125..."} 
[2026-07-08 13:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ac9500012d1820c00721b4d0004e00d125..."} 
[2026-07-08 13:14:07] local.INFO: Processing buffer {"connection_id":125514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ac9500012d1820c00721b4d0004e00d125..."} 
[2026-07-08 13:14:07] local.INFO: Packet analysis {"connection_id":125514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ac"} 
[2026-07-08 13:14:07] local.INFO: Extracted packet for processing {"connection_id":125514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ac"} 
[2026-07-08 13:14:07] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":78,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575021824001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027813376,"note":"Value kept but may cause issues"} 
[2026-07-08 13:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783496480000,"timestamp_ms":1783496480000,"timestamp_seconds":1783496480,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ac9500"} 
[2026-07-08 13:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 13:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575021824001,"66":2144,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1738600593027813376},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575021824001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:14:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:14:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027813376,"description":"Unknown IO ID 45"} 
[2026-07-08 13:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575021824001,"power":2144,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027813376}} 
[2026-07-08 13:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":125514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:14:07] local.INFO: GPS data processed {"connection_id":125514,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:14:07] local.INFO: Acknowledgment sent {"connection_id":125514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:14:27] local.INFO: TCP Data received {"connection_id":125513,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ab50c8012d0b130007029fc00005013422..."} 
[2026-07-08 13:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ab50c8012d0b130007029fc00005013422..."} 
[2026-07-08 13:14:27] local.INFO: Processing buffer {"connection_id":125513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ab50c8012d0b130007029fc00005013422..."} 
[2026-07-08 13:14:27] local.INFO: Packet analysis {"connection_id":125513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ab"} 
[2026-07-08 13:14:27] local.INFO: Extracted packet for processing {"connection_id":125513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ab"} 
[2026-07-08 13:14:27] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575000576001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783496397000,"timestamp_ms":1783496397000,"timestamp_seconds":1783496397,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ab50c8"} 
[2026-07-08 13:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:14:27] 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-07-08 13:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 13:14:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":125513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":125513,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":125513,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575000576001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575000576001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:14:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575000576001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":125513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451211,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:14:27] local.INFO: GPS data processed {"connection_id":125513,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:14:27] local.INFO: Acknowledgment sent {"connection_id":125513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:14:33] local.INFO: TCP Data received {"connection_id":126271,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ad0260012d7fa78005afde980000006e25..."} 
[2026-07-08 13:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ad0260012d7fa78005afde980000006e25..."} 
[2026-07-08 13:14:33] local.INFO: Processing buffer {"connection_id":126271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ad0260012d7fa78005afde980000006e25..."} 
[2026-07-08 13:14:33] local.INFO: Packet analysis {"connection_id":126271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ad"} 
[2026-07-08 13:14:33] local.INFO: Extracted packet for processing {"connection_id":126271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ad"} 
[2026-07-08 13:14:33] local.INFO: GPS Element Parsed {"raw_longitude":763340672,"raw_latitude":95411864,"longitude_deg":76.3340672,"latitude_deg":9.5411864,"altitude":0,"angle":110,"satellites":37,"speed":0,"hex_longitude":"2d7fa780","hex_latitude":"05afde98","is_valid_coordinates":true} 
[2026-07-08 13:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575102720001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198461525841319936,"note":"Value kept but may cause issues"} 
[2026-07-08 13:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783496508000,"timestamp_ms":1783496508000,"timestamp_seconds":1783496508,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ad0260"} 
[2026-07-08 13:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-08 13:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:14:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575102720001,"66":27658,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9198461525841319936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 13:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575102720001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:14:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 13:14:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198461525841319936,"description":"Unknown IO ID 45"} 
[2026-07-08 13:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575102720001,"power":27658,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198461525841319936}} 
[2026-07-08 13:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":126271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:14:33] local.INFO: GPS data processed {"connection_id":126271,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:14:33] local.INFO: Acknowledgment sent {"connection_id":126271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:14:39] local.INFO: TCP Data received {"connection_id":125514,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ac9500012d1820c00721b4d0004e00d125..."} 
[2026-07-08 13:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ac9500012d1820c00721b4d0004e00d125..."} 
[2026-07-08 13:14:39] local.INFO: Processing buffer {"connection_id":125514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ac9500012d1820c00721b4d0004e00d125..."} 
[2026-07-08 13:14:39] local.INFO: Packet analysis {"connection_id":125514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ac"} 
[2026-07-08 13:14:39] local.INFO: Extracted packet for processing {"connection_id":125514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ac"} 
[2026-07-08 13:14:39] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":78,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575021824001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027813376,"note":"Value kept but may cause issues"} 
[2026-07-08 13:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783496480000,"timestamp_ms":1783496480000,"timestamp_seconds":1783496480,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ac9500"} 
[2026-07-08 13:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 13:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575021824001,"66":2144,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1738600593027813376},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575021824001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:14:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:14:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027813376,"description":"Unknown IO ID 45"} 
[2026-07-08 13:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575021824001,"power":2144,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027813376}} 
[2026-07-08 13:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":125514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:14:39] local.INFO: GPS data processed {"connection_id":125514,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:14:39] local.INFO: Acknowledgment sent {"connection_id":125514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:14:45] local.INFO: TCP Data received {"connection_id":125402,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125402,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:14:45] local.INFO: Processing buffer {"connection_id":125402,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:14:45] local.INFO: IMEI packet received {"connection_id":125402,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":125402,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:14:51] local.INFO: TCP Data received {"connection_id":125402,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125402,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:14:51] local.INFO: Processing buffer {"connection_id":125402,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:14:51] local.INFO: IMEI packet received {"connection_id":125402,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":125402,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:14:52] local.INFO: TCP Data received {"connection_id":125402,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ab50c8012d0b130007029fc00005013422..."} 
[2026-07-08 13:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ab50c8012d0b130007029fc00005013422..."} 
[2026-07-08 13:14:52] local.INFO: Processing buffer {"connection_id":125402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ab50c8012d0b130007029fc00005013422..."} 
[2026-07-08 13:14:52] local.INFO: Packet analysis {"connection_id":125402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ab"} 
[2026-07-08 13:14:52] local.INFO: Extracted packet for processing {"connection_id":125402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ab"} 
[2026-07-08 13:14:52] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575000576001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783496397000,"timestamp_ms":1783496397000,"timestamp_seconds":1783496397,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ab50c8"} 
[2026-07-08 13:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:14:52] 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-07-08 13: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 13:14:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":125402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":125402,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":125402,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:14:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575000576001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575000576001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:14:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575000576001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":125402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451214,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:14:52] local.INFO: GPS data processed {"connection_id":125402,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:14:52] local.INFO: Acknowledgment sent {"connection_id":125402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:14:56] local.INFO: TCP Data received {"connection_id":126272,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:14:56] local.INFO: Processing buffer {"connection_id":126272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:14:56] local.INFO: IMEI packet received {"connection_id":126272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":126272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:15:00] local.INFO: TCP Data received {"connection_id":127523,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:15:00] local.INFO: Processing buffer {"connection_id":127523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:15:00] local.INFO: IMEI packet received {"connection_id":127523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":127523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:15:01] local.INFO: TCP Data received {"connection_id":126272,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:15:01] local.INFO: Processing buffer {"connection_id":126272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:15:01] local.INFO: IMEI packet received {"connection_id":126272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":126272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:15:02] local.INFO: TCP Data received {"connection_id":126272,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ad0260012d7fa78005afde980000006e25..."} 
[2026-07-08 13:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ad0260012d7fa78005afde980000006e25..."} 
[2026-07-08 13:15:02] local.INFO: Processing buffer {"connection_id":126272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ad0260012d7fa78005afde980000006e25..."} 
[2026-07-08 13:15:02] local.INFO: Packet analysis {"connection_id":126272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ad"} 
[2026-07-08 13:15:02] local.INFO: Extracted packet for processing {"connection_id":126272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ad"} 
[2026-07-08 13:15:02] local.INFO: GPS Element Parsed {"raw_longitude":763340672,"raw_latitude":95411864,"longitude_deg":76.3340672,"latitude_deg":9.5411864,"altitude":0,"angle":110,"satellites":37,"speed":0,"hex_longitude":"2d7fa780","hex_latitude":"05afde98","is_valid_coordinates":true} 
[2026-07-08 13:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575102720001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198461525841319936,"note":"Value kept but may cause issues"} 
[2026-07-08 13:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783496508000,"timestamp_ms":1783496508000,"timestamp_seconds":1783496508,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ad0260"} 
[2026-07-08 13:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:15: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-07-08 13:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-08 13:15:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:15:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575102720001,"66":27658,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9198461525841319936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 13:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575102720001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:15:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 13:15:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198461525841319936,"description":"Unknown IO ID 45"} 
[2026-07-08 13:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575102720001,"power":27658,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198461525841319936}} 
[2026-07-08 13:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":126272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:15:02] local.INFO: GPS data processed {"connection_id":126272,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:15:02] local.INFO: Acknowledgment sent {"connection_id":126272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:15:06] local.INFO: TCP Data received {"connection_id":127523,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:15:06] local.INFO: Processing buffer {"connection_id":127523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:15:06] local.INFO: IMEI packet received {"connection_id":127523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":127523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:15:07] local.INFO: TCP Data received {"connection_id":127523,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ac9500012d1820c00721b4d0004e00d125..."} 
[2026-07-08 13:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ac9500012d1820c00721b4d0004e00d125..."} 
[2026-07-08 13:15:07] local.INFO: Processing buffer {"connection_id":127523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ac9500012d1820c00721b4d0004e00d125..."} 
[2026-07-08 13:15:07] local.INFO: Packet analysis {"connection_id":127523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ac"} 
[2026-07-08 13:15:07] local.INFO: Extracted packet for processing {"connection_id":127523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ac"} 
[2026-07-08 13:15:07] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":78,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575021824001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027813376,"note":"Value kept but may cause issues"} 
[2026-07-08 13:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783496480000,"timestamp_ms":1783496480000,"timestamp_seconds":1783496480,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ac9500"} 
[2026-07-08 13:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 13:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575021824001,"66":2144,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1738600593027813376},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575021824001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:15:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:15:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027813376,"description":"Unknown IO ID 45"} 
[2026-07-08 13:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575021824001,"power":2144,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027813376}} 
[2026-07-08 13:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":127523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:15:07] local.INFO: GPS data processed {"connection_id":127523,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:15:07] local.INFO: Acknowledgment sent {"connection_id":127523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:15:24] local.INFO: TCP Data received {"connection_id":125402,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40afe890012d0b130007029fc00005013422..."} 
[2026-07-08 13:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40afe890012d0b130007029fc00005013422..."} 
[2026-07-08 13:15:24] local.INFO: Processing buffer {"connection_id":125402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40afe890012d0b130007029fc00005013422..."} 
[2026-07-08 13:15:24] local.INFO: Packet analysis {"connection_id":125402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40af"} 
[2026-07-08 13:15:24] local.INFO: Extracted packet for processing {"connection_id":125402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40af"} 
[2026-07-08 13:15:24] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575077632001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:15:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783496698000,"timestamp_ms":1783496698000,"timestamp_seconds":1783496698,"priority":1,"record_length":96,"hex_timestamp":"0000019f40afe890"} 
[2026-07-08 13:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:15:24] 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-07-08 13:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:15: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-07-08 13:15:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125402,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125402,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575077632001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575077632001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:15:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575077632001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":125402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451217,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:15:24] local.INFO: GPS data processed {"connection_id":125402,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:15:24] local.INFO: Acknowledgment sent {"connection_id":125402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:15:24] local.INFO: TCP Data received {"connection_id":126273,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126273,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:15:24] local.INFO: Processing buffer {"connection_id":126273,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:15:24] local.INFO: IMEI packet received {"connection_id":126273,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 13:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":126273,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:15:33] local.INFO: TCP Data received {"connection_id":126272,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ad0260012d7fa78005afde980000006e25..."} 
[2026-07-08 13:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ad0260012d7fa78005afde980000006e25..."} 
[2026-07-08 13:15:33] local.INFO: Processing buffer {"connection_id":126272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ad0260012d7fa78005afde980000006e25..."} 
[2026-07-08 13:15:33] local.INFO: Packet analysis {"connection_id":126272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ad"} 
[2026-07-08 13:15:33] local.INFO: Extracted packet for processing {"connection_id":126272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ad"} 
[2026-07-08 13:15:33] local.INFO: GPS Element Parsed {"raw_longitude":763340672,"raw_latitude":95411864,"longitude_deg":76.3340672,"latitude_deg":9.5411864,"altitude":0,"angle":110,"satellites":37,"speed":0,"hex_longitude":"2d7fa780","hex_latitude":"05afde98","is_valid_coordinates":true} 
[2026-07-08 13:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575102720001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198461525841319936,"note":"Value kept but may cause issues"} 
[2026-07-08 13:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783496508000,"timestamp_ms":1783496508000,"timestamp_seconds":1783496508,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ad0260"} 
[2026-07-08 13:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-08 13:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:15:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575102720001,"66":27658,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9198461525841319936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 13:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575102720001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:15:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 13:15:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198461525841319936,"description":"Unknown IO ID 45"} 
[2026-07-08 13:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575102720001,"power":27658,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198461525841319936}} 
[2026-07-08 13:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":126272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:15:33] local.INFO: GPS data processed {"connection_id":126272,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:15:33] local.INFO: Acknowledgment sent {"connection_id":126272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:15:38] local.INFO: TCP Data received {"connection_id":127523,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ac9500012d1820c00721b4d0004e00d125..."} 
[2026-07-08 13:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ac9500012d1820c00721b4d0004e00d125..."} 
[2026-07-08 13:15:38] local.INFO: Processing buffer {"connection_id":127523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ac9500012d1820c00721b4d0004e00d125..."} 
[2026-07-08 13:15:38] local.INFO: Packet analysis {"connection_id":127523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ac"} 
[2026-07-08 13:15:38] local.INFO: Extracted packet for processing {"connection_id":127523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ac"} 
[2026-07-08 13:15:38] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":78,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575021824001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027813376,"note":"Value kept but may cause issues"} 
[2026-07-08 13:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783496480000,"timestamp_ms":1783496480000,"timestamp_seconds":1783496480,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ac9500"} 
[2026-07-08 13:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 13:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575021824001,"66":2144,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1738600593027813376},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575021824001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:15:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:15:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027813376,"description":"Unknown IO ID 45"} 
[2026-07-08 13:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575021824001,"power":2144,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027813376}} 
[2026-07-08 13:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":127523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:15:39] local.INFO: GPS data processed {"connection_id":127523,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:15:39] local.INFO: Acknowledgment sent {"connection_id":127523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:15:46] local.INFO: TCP Data received {"connection_id":127524,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127524,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:15:46] local.INFO: Processing buffer {"connection_id":127524,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:15:46] local.INFO: IMEI packet received {"connection_id":127524,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":127524,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:15:50] local.INFO: TCP Data received {"connection_id":127524,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127524,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:15:50] local.INFO: Processing buffer {"connection_id":127524,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:15:50] local.INFO: IMEI packet received {"connection_id":127524,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":127524,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:15:51] local.INFO: TCP Data received {"connection_id":127524,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f40afe890012d0b130007029fc00005013422..."} 
[2026-07-08 13:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40afe890012d0b130007029fc00005013422..."} 
[2026-07-08 13:15:51] local.INFO: Processing buffer {"connection_id":127524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40afe890012d0b130007029fc00005013422..."} 
[2026-07-08 13:15:51] local.INFO: Packet analysis {"connection_id":127524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40af"} 
[2026-07-08 13:15:51] local.INFO: Extracted packet for processing {"connection_id":127524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40af"} 
[2026-07-08 13:15:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575077632001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783496698000,"timestamp_ms":1783496698000,"timestamp_seconds":1783496698,"priority":1,"record_length":96,"hex_timestamp":"0000019f40afe890"} 
[2026-07-08 13:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:15:51] 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-07-08 13: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:15:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127524,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127524,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575077632001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575077632001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:15:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575077632001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":127524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451220,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:15:51] local.INFO: GPS data processed {"connection_id":127524,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:15:51] local.INFO: Acknowledgment sent {"connection_id":127524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:15:55] local.INFO: TCP Data received {"connection_id":125403,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:15:55] local.INFO: Processing buffer {"connection_id":125403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:15:55] local.INFO: IMEI packet received {"connection_id":125403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":125403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:15:56] local.INFO: TCP Data received {"connection_id":126274,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126274,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:15:56] local.INFO: Processing buffer {"connection_id":126274,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:15:56] local.INFO: IMEI packet received {"connection_id":126274,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 13:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":126274,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:15:58] local.INFO: TCP Data received {"connection_id":127524,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f40afe890012d0b130007029fc00005013422..."} 
[2026-07-08 13:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40afe890012d0b130007029fc00005013422..."} 
[2026-07-08 13:15:58] local.INFO: Processing buffer {"connection_id":127524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40afe890012d0b130007029fc00005013422..."} 
[2026-07-08 13:15:58] local.INFO: Packet analysis {"connection_id":127524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40af"} 
[2026-07-08 13:15:58] local.INFO: Extracted packet for processing {"connection_id":127524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40af"} 
[2026-07-08 13:15:58] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575077632001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:15:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783496698000,"timestamp_ms":1783496698000,"timestamp_seconds":1783496698,"priority":1,"record_length":96,"hex_timestamp":"0000019f40afe890"} 
[2026-07-08 13:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:15:58] 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-07-08 13:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:15: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-07-08 13:15:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":127524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":127524,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":127524,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:15:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575077632001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575077632001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:15:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575077632001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":127524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451221,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:15:58] local.INFO: GPS data processed {"connection_id":127524,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:15:58] local.INFO: Acknowledgment sent {"connection_id":127524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:16:01] local.INFO: TCP Data received {"connection_id":125403,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:16:01] local.INFO: Processing buffer {"connection_id":125403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:16:01] local.INFO: IMEI packet received {"connection_id":125403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":125403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:16:02] local.INFO: TCP Data received {"connection_id":125403,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ad0260012d7fa78005afde980000006e25..."} 
[2026-07-08 13:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ad0260012d7fa78005afde980000006e25..."} 
[2026-07-08 13:16:02] local.INFO: Processing buffer {"connection_id":125403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ad0260012d7fa78005afde980000006e25..."} 
[2026-07-08 13:16:02] local.INFO: Packet analysis {"connection_id":125403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ad"} 
[2026-07-08 13:16:02] local.INFO: Extracted packet for processing {"connection_id":125403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ad"} 
[2026-07-08 13:16:02] local.INFO: GPS Element Parsed {"raw_longitude":763340672,"raw_latitude":95411864,"longitude_deg":76.3340672,"latitude_deg":9.5411864,"altitude":0,"angle":110,"satellites":37,"speed":0,"hex_longitude":"2d7fa780","hex_latitude":"05afde98","is_valid_coordinates":true} 
[2026-07-08 13:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575102720001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198461525841319936,"note":"Value kept but may cause issues"} 
[2026-07-08 13:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783496508000,"timestamp_ms":1783496508000,"timestamp_seconds":1783496508,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ad0260"} 
[2026-07-08 13:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:16: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-07-08 13:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-08 13:16:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:16:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575102720001,"66":27658,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9198461525841319936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 13:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575102720001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:16:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 13:16:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198461525841319936,"description":"Unknown IO ID 45"} 
[2026-07-08 13:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575102720001,"power":27658,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198461525841319936}} 
[2026-07-08 13:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":125403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:16:02] local.INFO: GPS data processed {"connection_id":125403,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:16:02] local.INFO: Acknowledgment sent {"connection_id":125403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:16:06] local.INFO: TCP Data received {"connection_id":125515,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:16:06] local.INFO: Processing buffer {"connection_id":125515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:16:06] local.INFO: IMEI packet received {"connection_id":125515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":125515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:16:11] local.INFO: TCP Data received {"connection_id":125515,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:16:11] local.INFO: Processing buffer {"connection_id":125515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:16:11] local.INFO: IMEI packet received {"connection_id":125515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":125515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:16:12] local.INFO: TCP Data received {"connection_id":125515,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ac9500012d1820c00721b4d0004e00d125..."} 
[2026-07-08 13:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ac9500012d1820c00721b4d0004e00d125..."} 
[2026-07-08 13:16:12] local.INFO: Processing buffer {"connection_id":125515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ac9500012d1820c00721b4d0004e00d125..."} 
[2026-07-08 13:16:12] local.INFO: Packet analysis {"connection_id":125515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ac"} 
[2026-07-08 13:16:12] local.INFO: Extracted packet for processing {"connection_id":125515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ac"} 
[2026-07-08 13:16:12] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":78,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575021824001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027813376,"note":"Value kept but may cause issues"} 
[2026-07-08 13:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783496480000,"timestamp_ms":1783496480000,"timestamp_seconds":1783496480,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ac9500"} 
[2026-07-08 13:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13: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-07-08 13:16:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575021824001,"66":2144,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1738600593027813376},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575021824001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:16:12] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:16:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027813376,"description":"Unknown IO ID 45"} 
[2026-07-08 13:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575021824001,"power":2144,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027813376}} 
[2026-07-08 13:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":125515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:16:12] local.INFO: GPS data processed {"connection_id":125515,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:16:12] local.INFO: Acknowledgment sent {"connection_id":125515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:16:17] local.INFO: TCP Data received {"connection_id":125515,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ac9500012d1820c00721b4d0004e00d125..."} 
[2026-07-08 13:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ac9500012d1820c00721b4d0004e00d125..."} 
[2026-07-08 13:16:17] local.INFO: Processing buffer {"connection_id":125515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ac9500012d1820c00721b4d0004e00d125..."} 
[2026-07-08 13:16:17] local.INFO: Packet analysis {"connection_id":125515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ac"} 
[2026-07-08 13:16:17] local.INFO: Extracted packet for processing {"connection_id":125515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ac"} 
[2026-07-08 13:16:17] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":78,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575021824001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027813376,"note":"Value kept but may cause issues"} 
[2026-07-08 13:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783496480000,"timestamp_ms":1783496480000,"timestamp_seconds":1783496480,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ac9500"} 
[2026-07-08 13:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 13:16: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-07-08 13:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":125515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":125515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":125515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575021824001,"66":2144,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1738600593027813376},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575021824001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:16:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:16:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027813376,"description":"Unknown IO ID 45"} 
[2026-07-08 13:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575021824001,"power":2144,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027813376}} 
[2026-07-08 13:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":125515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:16:17] local.INFO: GPS data processed {"connection_id":125515,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:16:17] local.INFO: Acknowledgment sent {"connection_id":125515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:16:29] local.INFO: TCP Data received {"connection_id":127524,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f40afe890012d0b130007029fc00005013422..."} 
[2026-07-08 13:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40afe890012d0b130007029fc00005013422..."} 
[2026-07-08 13:16:29] local.INFO: Processing buffer {"connection_id":127524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40afe890012d0b130007029fc00005013422..."} 
[2026-07-08 13:16:29] local.INFO: Packet analysis {"connection_id":127524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40af"} 
[2026-07-08 13:16:29] local.INFO: Extracted packet for processing {"connection_id":127524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40af"} 
[2026-07-08 13:16:29] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575077632001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:16:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783496698000,"timestamp_ms":1783496698000,"timestamp_seconds":1783496698,"priority":1,"record_length":96,"hex_timestamp":"0000019f40afe890"} 
[2026-07-08 13:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:16:29] 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-07-08 13:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:16:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:16:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":127524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":127524,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":127524,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:16:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575077632001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575077632001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:16:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575077632001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":127524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451225,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:16:29] local.INFO: GPS data processed {"connection_id":127524,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:16:29] local.INFO: Acknowledgment sent {"connection_id":127524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:16:33] local.INFO: TCP Data received {"connection_id":125403,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ad0260012d7fa78005afde980000006e25..."} 
[2026-07-08 13:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ad0260012d7fa78005afde980000006e25..."} 
[2026-07-08 13:16:33] local.INFO: Processing buffer {"connection_id":125403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ad0260012d7fa78005afde980000006e25..."} 
[2026-07-08 13:16:33] local.INFO: Packet analysis {"connection_id":125403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ad"} 
[2026-07-08 13:16:33] local.INFO: Extracted packet for processing {"connection_id":125403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ad"} 
[2026-07-08 13:16:33] local.INFO: GPS Element Parsed {"raw_longitude":763340672,"raw_latitude":95411864,"longitude_deg":76.3340672,"latitude_deg":9.5411864,"altitude":0,"angle":110,"satellites":37,"speed":0,"hex_longitude":"2d7fa780","hex_latitude":"05afde98","is_valid_coordinates":true} 
[2026-07-08 13:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575102720001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198461525841319936,"note":"Value kept but may cause issues"} 
[2026-07-08 13:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783496508000,"timestamp_ms":1783496508000,"timestamp_seconds":1783496508,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ad0260"} 
[2026-07-08 13:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-08 13:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:16:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575102720001,"66":27658,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9198461525841319936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 13:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575102720001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:16:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 13:16:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198461525841319936,"description":"Unknown IO ID 45"} 
[2026-07-08 13:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575102720001,"power":27658,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198461525841319936}} 
[2026-07-08 13:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":125403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:16:33] local.INFO: GPS data processed {"connection_id":125403,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:16:33] local.INFO: Acknowledgment sent {"connection_id":125403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:16:45] local.INFO: TCP Data received {"connection_id":126275,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126275,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:16:45] local.INFO: Processing buffer {"connection_id":126275,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:16:45] local.INFO: IMEI packet received {"connection_id":126275,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":126275,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:16:50] local.INFO: TCP Data received {"connection_id":126275,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126275,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:16:50] local.INFO: Processing buffer {"connection_id":126275,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:16:50] local.INFO: IMEI packet received {"connection_id":126275,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":126275,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:16:51] local.INFO: TCP Data received {"connection_id":126275,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f40afe890012d0b130007029fc00005013422..."} 
[2026-07-08 13:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40afe890012d0b130007029fc00005013422..."} 
[2026-07-08 13:16:51] local.INFO: Processing buffer {"connection_id":126275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40afe890012d0b130007029fc00005013422..."} 
[2026-07-08 13:16:51] local.INFO: Packet analysis {"connection_id":126275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40af"} 
[2026-07-08 13:16:51] local.INFO: Extracted packet for processing {"connection_id":126275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40af"} 
[2026-07-08 13:16:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575077632001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783496698000,"timestamp_ms":1783496698000,"timestamp_seconds":1783496698,"priority":1,"record_length":96,"hex_timestamp":"0000019f40afe890"} 
[2026-07-08 13:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:16:51] 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-07-08 13:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126275,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126275,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575077632001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575077632001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:16:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575077632001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":126275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451227,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:16:51] local.INFO: GPS data processed {"connection_id":126275,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:16:51] local.INFO: Acknowledgment sent {"connection_id":126275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:16:56] local.INFO: TCP Data received {"connection_id":125517,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:16:56] local.INFO: Processing buffer {"connection_id":125517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:16:56] local.INFO: IMEI packet received {"connection_id":125517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":125517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:16:59] local.INFO: TCP Data received {"connection_id":126276,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:16:59] local.INFO: Processing buffer {"connection_id":126276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:16:59] local.INFO: IMEI packet received {"connection_id":126276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":126276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:17:00] local.INFO: TCP Data received {"connection_id":126276,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:17:00] local.INFO: Processing buffer {"connection_id":126276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:17:00] local.INFO: IMEI packet received {"connection_id":126276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":126276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:17:01] local.INFO: TCP Data received {"connection_id":125517,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:17:01] local.INFO: Processing buffer {"connection_id":125517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:17:01] local.INFO: IMEI packet received {"connection_id":125517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":125517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:17:02] local.INFO: TCP Data received {"connection_id":125517,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ad0260012d7fa78005afde980000006e25..."} 
[2026-07-08 13:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ad0260012d7fa78005afde980000006e25..."} 
[2026-07-08 13:17:02] local.INFO: Processing buffer {"connection_id":125517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ad0260012d7fa78005afde980000006e25..."} 
[2026-07-08 13:17:02] local.INFO: Packet analysis {"connection_id":125517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ad"} 
[2026-07-08 13:17:02] local.INFO: Extracted packet for processing {"connection_id":125517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ad"} 
[2026-07-08 13:17:02] local.INFO: GPS Element Parsed {"raw_longitude":763340672,"raw_latitude":95411864,"longitude_deg":76.3340672,"latitude_deg":9.5411864,"altitude":0,"angle":110,"satellites":37,"speed":0,"hex_longitude":"2d7fa780","hex_latitude":"05afde98","is_valid_coordinates":true} 
[2026-07-08 13:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575102720001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198461525841319936,"note":"Value kept but may cause issues"} 
[2026-07-08 13:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783496508000,"timestamp_ms":1783496508000,"timestamp_seconds":1783496508,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ad0260"} 
[2026-07-08 13:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:17: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-07-08 13: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-08 13:17:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575102720001,"66":27658,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9198461525841319936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 13:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575102720001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:17:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 13:17:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198461525841319936,"description":"Unknown IO ID 45"} 
[2026-07-08 13:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575102720001,"power":27658,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198461525841319936}} 
[2026-07-08 13:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":125517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:17:02] local.INFO: GPS data processed {"connection_id":125517,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:17:02] local.INFO: Acknowledgment sent {"connection_id":125517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:17:05] local.INFO: TCP Data received {"connection_id":126276,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:17:05] local.INFO: Processing buffer {"connection_id":126276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:17:05] local.INFO: IMEI packet received {"connection_id":126276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":126276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:17:06] local.INFO: TCP Data received {"connection_id":126276,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b12cc8012d1820c00721b4d0004e00d127..."} 
[2026-07-08 13:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b12cc8012d1820c00721b4d0004e00d127..."} 
[2026-07-08 13:17:06] local.INFO: Processing buffer {"connection_id":126276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b12cc8012d1820c00721b4d0004e00d127..."} 
[2026-07-08 13:17:06] local.INFO: Packet analysis {"connection_id":126276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b1"} 
[2026-07-08 13:17:06] local.INFO: Extracted packet for processing {"connection_id":126276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b1"} 
[2026-07-08 13:17:06] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":78,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575098880001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027813376,"note":"Value kept but may cause issues"} 
[2026-07-08 13:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783496781000,"timestamp_ms":1783496781000,"timestamp_seconds":1783496781,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b12cc8"} 
[2026-07-08 13:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 13:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575098880001,"66":2177,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1738600593027813376},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575098880001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:17:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:17:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027813376,"description":"Unknown IO ID 45"} 
[2026-07-08 13:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575098880001,"power":2177,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027813376}} 
[2026-07-08 13:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":126276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:17:06] local.INFO: GPS data processed {"connection_id":126276,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:17:06] local.INFO: Acknowledgment sent {"connection_id":126276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:17:25] local.INFO: TCP Data received {"connection_id":126275,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f40afe890012d0b130007029fc00005013422..."} 
[2026-07-08 13:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40afe890012d0b130007029fc00005013422..."} 
[2026-07-08 13:17:25] local.INFO: Processing buffer {"connection_id":126275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40afe890012d0b130007029fc00005013422..."} 
[2026-07-08 13:17:25] local.INFO: Packet analysis {"connection_id":126275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40af"} 
[2026-07-08 13:17:25] local.INFO: Extracted packet for processing {"connection_id":126275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40af"} 
[2026-07-08 13:17:25] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575077632001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:17:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783496698000,"timestamp_ms":1783496698000,"timestamp_seconds":1783496698,"priority":1,"record_length":96,"hex_timestamp":"0000019f40afe890"} 
[2026-07-08 13:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:17:25] 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-07-08 13: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:17:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":126275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":126275,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":126275,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:17:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575077632001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575077632001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:17:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575077632001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":126275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451230,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:17:26] local.INFO: GPS data processed {"connection_id":126275,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:17:26] local.INFO: Acknowledgment sent {"connection_id":126275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:17:33] local.INFO: TCP Data received {"connection_id":125517,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b1adb0012d7f9f4005afd6000008006e2c..."} 
[2026-07-08 13:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b1adb0012d7f9f4005afd6000008006e2c..."} 
[2026-07-08 13:17:33] local.INFO: Processing buffer {"connection_id":125517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b1adb0012d7f9f4005afd6000008006e2c..."} 
[2026-07-08 13:17:33] local.INFO: Packet analysis {"connection_id":125517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b1"} 
[2026-07-08 13:17:33] local.INFO: Extracted packet for processing {"connection_id":125517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b1"} 
[2026-07-08 13:17:33] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409664,"longitude_deg":76.333856,"latitude_deg":9.5409664,"altitude":8,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd600","is_valid_coordinates":true} 
[2026-07-08 13:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575106048001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198461525841319936,"note":"Value kept but may cause issues"} 
[2026-07-08 13:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783496814000,"timestamp_ms":1783496814000,"timestamp_seconds":1783496814,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b1adb0"} 
[2026-07-08 13:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 13:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:17:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:17: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-07-08 13:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575106048001,"66":25854,"249":206,"85":12544,"24":0,"16":342532734301765632,"45":9198461525841319936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-08 13:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575106048001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:17:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-08 13:17:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198461525841319936,"description":"Unknown IO ID 45"} 
[2026-07-08 13:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575106048001,"power":25854,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198461525841319936}} 
[2026-07-08 13:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":125517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:17:33] local.INFO: GPS data processed {"connection_id":125517,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:17:33] local.INFO: Acknowledgment sent {"connection_id":125517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:17:38] local.INFO: TCP Data received {"connection_id":126276,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b12cc8012d1820c00721b4d0004e00d127..."} 
[2026-07-08 13:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b12cc8012d1820c00721b4d0004e00d127..."} 
[2026-07-08 13:17:38] local.INFO: Processing buffer {"connection_id":126276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b12cc8012d1820c00721b4d0004e00d127..."} 
[2026-07-08 13:17:38] local.INFO: Packet analysis {"connection_id":126276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b1"} 
[2026-07-08 13:17:38] local.INFO: Extracted packet for processing {"connection_id":126276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b1"} 
[2026-07-08 13:17:38] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":78,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575098880001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027813376,"note":"Value kept but may cause issues"} 
[2026-07-08 13:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783496781000,"timestamp_ms":1783496781000,"timestamp_seconds":1783496781,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b12cc8"} 
[2026-07-08 13:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 13:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575098880001,"66":2177,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1738600593027813376},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575098880001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:17:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:17:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027813376,"description":"Unknown IO ID 45"} 
[2026-07-08 13:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575098880001,"power":2177,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027813376}} 
[2026-07-08 13:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":126276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:17:38] local.INFO: GPS data processed {"connection_id":126276,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:17:38] local.INFO: Acknowledgment sent {"connection_id":126276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:17:45] local.INFO: TCP Data received {"connection_id":127525,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127525,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:17:45] local.INFO: Processing buffer {"connection_id":127525,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:17:45] local.INFO: IMEI packet received {"connection_id":127525,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":127525,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:17:50] local.INFO: TCP Data received {"connection_id":127525,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127525,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:17:50] local.INFO: Processing buffer {"connection_id":127525,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:17:50] local.INFO: IMEI packet received {"connection_id":127525,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":127525,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:17:51] local.INFO: TCP Data received {"connection_id":127525,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f40afe890012d0b130007029fc00005013422..."} 
[2026-07-08 13:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40afe890012d0b130007029fc00005013422..."} 
[2026-07-08 13:17:51] local.INFO: Processing buffer {"connection_id":127525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40afe890012d0b130007029fc00005013422..."} 
[2026-07-08 13:17:51] local.INFO: Packet analysis {"connection_id":127525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40af"} 
[2026-07-08 13:17:51] local.INFO: Extracted packet for processing {"connection_id":127525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40af"} 
[2026-07-08 13:17:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575077632001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783496698000,"timestamp_ms":1783496698000,"timestamp_seconds":1783496698,"priority":1,"record_length":96,"hex_timestamp":"0000019f40afe890"} 
[2026-07-08 13:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:17:51] 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-07-08 13: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:17:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127525,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127525,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575077632001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575077632001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:17:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575077632001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":127525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451233,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:17:51] local.INFO: GPS data processed {"connection_id":127525,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:17:51] local.INFO: Acknowledgment sent {"connection_id":127525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:18:01] local.INFO: TCP Data received {"connection_id":125405,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:18:01] local.INFO: Processing buffer {"connection_id":125405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:18:01] local.INFO: IMEI packet received {"connection_id":125405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":125405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:18:06] local.INFO: TCP Data received {"connection_id":127526,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:18:06] local.INFO: Processing buffer {"connection_id":127526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:18:06] local.INFO: IMEI packet received {"connection_id":127526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":127526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:18:06] local.INFO: TCP Data received {"connection_id":125405,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:18:06] local.INFO: Processing buffer {"connection_id":125405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:18:06] local.INFO: IMEI packet received {"connection_id":125405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":125405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:18:07] local.INFO: TCP Data received {"connection_id":125405,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b1adb0012d7f9f4005afd6000008006e2c..."} 
[2026-07-08 13:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b1adb0012d7f9f4005afd6000008006e2c..."} 
[2026-07-08 13:18:07] local.INFO: Processing buffer {"connection_id":125405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b1adb0012d7f9f4005afd6000008006e2c..."} 
[2026-07-08 13:18:07] local.INFO: Packet analysis {"connection_id":125405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b1"} 
[2026-07-08 13:18:07] local.INFO: Extracted packet for processing {"connection_id":125405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b1"} 
[2026-07-08 13:18:07] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409664,"longitude_deg":76.333856,"latitude_deg":9.5409664,"altitude":8,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd600","is_valid_coordinates":true} 
[2026-07-08 13:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575106048001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198461525841319936,"note":"Value kept but may cause issues"} 
[2026-07-08 13:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783496814000,"timestamp_ms":1783496814000,"timestamp_seconds":1783496814,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b1adb0"} 
[2026-07-08 13:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 13:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575106048001,"66":25854,"249":206,"85":12544,"24":0,"16":342532734301765632,"45":9198461525841319936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-08 13:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575106048001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:18:07] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-08 13:18:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198461525841319936,"description":"Unknown IO ID 45"} 
[2026-07-08 13:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575106048001,"power":25854,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198461525841319936}} 
[2026-07-08 13:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":125405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:18:07] local.INFO: GPS data processed {"connection_id":125405,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:18:07] local.INFO: Acknowledgment sent {"connection_id":125405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:18:11] local.INFO: TCP Data received {"connection_id":127526,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:18:11] local.INFO: Processing buffer {"connection_id":127526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:18:11] local.INFO: IMEI packet received {"connection_id":127526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":127526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:18:12] local.INFO: TCP Data received {"connection_id":127526,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b12cc8012d1820c00721b4d0004e00d127..."} 
[2026-07-08 13:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b12cc8012d1820c00721b4d0004e00d127..."} 
[2026-07-08 13:18:12] local.INFO: Processing buffer {"connection_id":127526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b12cc8012d1820c00721b4d0004e00d127..."} 
[2026-07-08 13:18:12] local.INFO: Packet analysis {"connection_id":127526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b1"} 
[2026-07-08 13:18:12] local.INFO: Extracted packet for processing {"connection_id":127526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b1"} 
[2026-07-08 13:18:12] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":78,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575098880001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027813376,"note":"Value kept but may cause issues"} 
[2026-07-08 13:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783496781000,"timestamp_ms":1783496781000,"timestamp_seconds":1783496781,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b12cc8"} 
[2026-07-08 13:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":96,"data_length":795,"current_offset":136} 
[2026-07-08 13:18: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-07-08 13:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":127526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":127526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":127526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575098880001,"66":2177,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1738600593027813376},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575098880001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:18:12] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:18:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027813376,"description":"Unknown IO ID 45"} 
[2026-07-08 13:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575098880001,"power":2177,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027813376}} 
[2026-07-08 13:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":127526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:18:12] local.INFO: GPS data processed {"connection_id":127526,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:18:12] local.INFO: Acknowledgment sent {"connection_id":127526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:18:16] local.INFO: TCP Data received {"connection_id":127526,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b12cc8012d1820c00721b4d0004e00d127..."} 
[2026-07-08 13:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b12cc8012d1820c00721b4d0004e00d127..."} 
[2026-07-08 13:18:16] local.INFO: Processing buffer {"connection_id":127526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b12cc8012d1820c00721b4d0004e00d127..."} 
[2026-07-08 13:18:16] local.INFO: Packet analysis {"connection_id":127526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b1"} 
[2026-07-08 13:18:16] local.INFO: Extracted packet for processing {"connection_id":127526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b1"} 
[2026-07-08 13:18:16] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":78,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575098880001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027813376,"note":"Value kept but may cause issues"} 
[2026-07-08 13:18:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783496781000,"timestamp_ms":1783496781000,"timestamp_seconds":1783496781,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b12cc8"} 
[2026-07-08 13:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:18: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-07-08 13:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 13:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:18:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":127526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":127526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":127526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575098880001,"66":2177,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1738600593027813376},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575098880001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:18:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:18:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027813376,"description":"Unknown IO ID 45"} 
[2026-07-08 13:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575098880001,"power":2177,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027813376}} 
[2026-07-08 13:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":127526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:18:16] local.INFO: GPS data processed {"connection_id":127526,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:18:16] local.INFO: Acknowledgment sent {"connection_id":127526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:18:23] local.INFO: TCP Data received {"connection_id":127525,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f40afe890012d0b130007029fc00005013422..."} 
[2026-07-08 13:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40afe890012d0b130007029fc00005013422..."} 
[2026-07-08 13:18:23] local.INFO: Processing buffer {"connection_id":127525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40afe890012d0b130007029fc00005013422..."} 
[2026-07-08 13:18:23] local.INFO: Packet analysis {"connection_id":127525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40af"} 
[2026-07-08 13:18:23] local.INFO: Extracted packet for processing {"connection_id":127525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40af"} 
[2026-07-08 13:18:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575077632001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:18:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783496698000,"timestamp_ms":1783496698000,"timestamp_seconds":1783496698,"priority":1,"record_length":96,"hex_timestamp":"0000019f40afe890"} 
[2026-07-08 13:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:18:23] 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-07-08 13:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:18:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:18:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":127525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":127525,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":127525,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:18:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575077632001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575077632001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:18:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575077632001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":127525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451237,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:18:23] local.INFO: GPS data processed {"connection_id":127525,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:18:23] local.INFO: Acknowledgment sent {"connection_id":127525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:18:39] local.INFO: TCP Data received {"connection_id":125405,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b1adb0012d7f9f4005afd6000008006e2c..."} 
[2026-07-08 13:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b1adb0012d7f9f4005afd6000008006e2c..."} 
[2026-07-08 13:18:39] local.INFO: Processing buffer {"connection_id":125405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b1adb0012d7f9f4005afd6000008006e2c..."} 
[2026-07-08 13:18:39] local.INFO: Packet analysis {"connection_id":125405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b1"} 
[2026-07-08 13:18:39] local.INFO: Extracted packet for processing {"connection_id":125405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b1"} 
[2026-07-08 13:18:39] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409664,"longitude_deg":76.333856,"latitude_deg":9.5409664,"altitude":8,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd600","is_valid_coordinates":true} 
[2026-07-08 13:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575106048001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198461525841319936,"note":"Value kept but may cause issues"} 
[2026-07-08 13:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783496814000,"timestamp_ms":1783496814000,"timestamp_seconds":1783496814,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b1adb0"} 
[2026-07-08 13:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 13:18:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575106048001,"66":25854,"249":206,"85":12544,"24":0,"16":342532734301765632,"45":9198461525841319936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-08 13:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575106048001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:18:39] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-08 13:18:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198461525841319936,"description":"Unknown IO ID 45"} 
[2026-07-08 13:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575106048001,"power":25854,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198461525841319936}} 
[2026-07-08 13:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":125405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:18:39] local.INFO: GPS data processed {"connection_id":125405,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:18:39] local.INFO: Acknowledgment sent {"connection_id":125405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:18:45] local.INFO: TCP Data received {"connection_id":126277,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126277,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:18:45] local.INFO: Processing buffer {"connection_id":126277,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:18:45] local.INFO: IMEI packet received {"connection_id":126277,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":126277,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:18:50] local.INFO: TCP Data received {"connection_id":126277,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126277,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:18:50] local.INFO: Processing buffer {"connection_id":126277,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:18:50] local.INFO: IMEI packet received {"connection_id":126277,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":126277,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:18:56] local.INFO: TCP Data received {"connection_id":125406,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:18:56] local.INFO: Processing buffer {"connection_id":125406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:18:56] local.INFO: IMEI packet received {"connection_id":125406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":125406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:18:58] local.INFO: TCP Data received {"connection_id":126277,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40afe890012d0b130007029fc00005013422..."} 
[2026-07-08 13:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40afe890012d0b130007029fc00005013422..."} 
[2026-07-08 13:18:58] local.INFO: Processing buffer {"connection_id":126277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40afe890012d0b130007029fc00005013422..."} 
[2026-07-08 13:18:58] local.INFO: Packet analysis {"connection_id":126277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40af"} 
[2026-07-08 13:18:58] local.INFO: Extracted packet for processing {"connection_id":126277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40af"} 
[2026-07-08 13:18:58] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575077632001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783496698000,"timestamp_ms":1783496698000,"timestamp_seconds":1783496698,"priority":1,"record_length":96,"hex_timestamp":"0000019f40afe890"} 
[2026-07-08 13:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:18:58] 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-07-08 13:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:18: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-07-08 13:18:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":126277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":126277,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":126277,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575077632001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 13:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575077632001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:18:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575077632001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":126277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451239,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:18:58] local.INFO: GPS data processed {"connection_id":126277,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:18:58] local.INFO: Acknowledgment sent {"connection_id":126277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:19:01] local.INFO: TCP Data received {"connection_id":127528,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:19:01] local.INFO: Processing buffer {"connection_id":127528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:19:01] local.INFO: IMEI packet received {"connection_id":127528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":127528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:19:01] local.INFO: TCP Data received {"connection_id":125406,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:19:01] local.INFO: Processing buffer {"connection_id":125406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:19:01] local.INFO: IMEI packet received {"connection_id":125406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":125406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:19:02] local.INFO: TCP Data received {"connection_id":125406,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b1adb0012d7f9f4005afd6000008006e2c..."} 
[2026-07-08 13:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b1adb0012d7f9f4005afd6000008006e2c..."} 
[2026-07-08 13:19:02] local.INFO: Processing buffer {"connection_id":125406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b1adb0012d7f9f4005afd6000008006e2c..."} 
[2026-07-08 13:19:02] local.INFO: Packet analysis {"connection_id":125406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b1"} 
[2026-07-08 13:19:02] local.INFO: Extracted packet for processing {"connection_id":125406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b1"} 
[2026-07-08 13:19:02] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409664,"longitude_deg":76.333856,"latitude_deg":9.5409664,"altitude":8,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd600","is_valid_coordinates":true} 
[2026-07-08 13:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575106048001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198461525841319936,"note":"Value kept but may cause issues"} 
[2026-07-08 13:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783496814000,"timestamp_ms":1783496814000,"timestamp_seconds":1783496814,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b1adb0"} 
[2026-07-08 13:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:19:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 13:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575106048001,"66":25854,"249":206,"85":12544,"24":0,"16":342532734301765632,"45":9198461525841319936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-08 13:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575106048001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:19:02] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-08 13:19:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198461525841319936,"description":"Unknown IO ID 45"} 
[2026-07-08 13:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575106048001,"power":25854,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198461525841319936}} 
[2026-07-08 13:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":125406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:19:02] local.INFO: GPS data processed {"connection_id":125406,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:19:02] local.INFO: Acknowledgment sent {"connection_id":125406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:19:05] local.INFO: TCP Data received {"connection_id":127528,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:19:06] local.INFO: Processing buffer {"connection_id":127528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:19:06] local.INFO: IMEI packet received {"connection_id":127528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":127528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:19:07] local.INFO: TCP Data received {"connection_id":127528,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b12cc8012d1820c00721b4d0004e00d127..."} 
[2026-07-08 13:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b12cc8012d1820c00721b4d0004e00d127..."} 
[2026-07-08 13:19:07] local.INFO: Processing buffer {"connection_id":127528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b12cc8012d1820c00721b4d0004e00d127..."} 
[2026-07-08 13:19:07] local.INFO: Packet analysis {"connection_id":127528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b1"} 
[2026-07-08 13:19:07] local.INFO: Extracted packet for processing {"connection_id":127528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b1"} 
[2026-07-08 13:19:07] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":78,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575098880001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027813376,"note":"Value kept but may cause issues"} 
[2026-07-08 13:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783496781000,"timestamp_ms":1783496781000,"timestamp_seconds":1783496781,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b12cc8"} 
[2026-07-08 13:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 13:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:19:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575098880001,"66":2177,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1738600593027813376},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575098880001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:19:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:19:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027813376,"description":"Unknown IO ID 45"} 
[2026-07-08 13:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575098880001,"power":2177,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027813376}} 
[2026-07-08 13:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":127528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:19:07] local.INFO: GPS data processed {"connection_id":127528,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:19:07] local.INFO: Acknowledgment sent {"connection_id":127528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:19:30] local.INFO: TCP Data received {"connection_id":126277,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40afe890012d0b130007029fc00005013422..."} 
[2026-07-08 13:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40afe890012d0b130007029fc00005013422..."} 
[2026-07-08 13:19:30] local.INFO: Processing buffer {"connection_id":126277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40afe890012d0b130007029fc00005013422..."} 
[2026-07-08 13:19:30] local.INFO: Packet analysis {"connection_id":126277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40af"} 
[2026-07-08 13:19:30] local.INFO: Extracted packet for processing {"connection_id":126277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40af"} 
[2026-07-08 13:19:30] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575077632001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:19: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-07-08 13:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783496698000,"timestamp_ms":1783496698000,"timestamp_seconds":1783496698,"priority":1,"record_length":96,"hex_timestamp":"0000019f40afe890"} 
[2026-07-08 13:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:19:30] 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-07-08 13: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":126277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":126277,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":126277,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575077632001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 13:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575077632001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:19:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575077632001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":126277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451242,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:19:30] local.INFO: GPS data processed {"connection_id":126277,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:19:30] local.INFO: Acknowledgment sent {"connection_id":126277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:19:33] local.INFO: TCP Data received {"connection_id":125406,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b1adb0012d7f9f4005afd6000008006e2c..."} 
[2026-07-08 13:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b1adb0012d7f9f4005afd6000008006e2c..."} 
[2026-07-08 13:19:33] local.INFO: Processing buffer {"connection_id":125406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b1adb0012d7f9f4005afd6000008006e2c..."} 
[2026-07-08 13:19:33] local.INFO: Packet analysis {"connection_id":125406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b1"} 
[2026-07-08 13:19:33] local.INFO: Extracted packet for processing {"connection_id":125406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b1"} 
[2026-07-08 13:19:33] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409664,"longitude_deg":76.333856,"latitude_deg":9.5409664,"altitude":8,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd600","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575106048001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198461525841319936,"note":"Value kept but may cause issues"} 
[2026-07-08 13:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783496814000,"timestamp_ms":1783496814000,"timestamp_seconds":1783496814,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b1adb0"} 
[2026-07-08 13:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 13:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575106048001,"66":25854,"249":206,"85":12544,"24":0,"16":342532734301765632,"45":9198461525841319936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-08 13:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575106048001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:19:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-08 13:19:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198461525841319936,"description":"Unknown IO ID 45"} 
[2026-07-08 13:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575106048001,"power":25854,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198461525841319936}} 
[2026-07-08 13:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":125406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:19:33] local.INFO: GPS data processed {"connection_id":125406,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:19:33] local.INFO: Acknowledgment sent {"connection_id":125406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:19:38] local.INFO: TCP Data received {"connection_id":127528,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b12cc8012d1820c00721b4d0004e00d127..."} 
[2026-07-08 13:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b12cc8012d1820c00721b4d0004e00d127..."} 
[2026-07-08 13:19:38] local.INFO: Processing buffer {"connection_id":127528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b12cc8012d1820c00721b4d0004e00d127..."} 
[2026-07-08 13:19:38] local.INFO: Packet analysis {"connection_id":127528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b1"} 
[2026-07-08 13:19:38] local.INFO: Extracted packet for processing {"connection_id":127528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b1"} 
[2026-07-08 13:19:38] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":78,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575098880001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027813376,"note":"Value kept but may cause issues"} 
[2026-07-08 13:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783496781000,"timestamp_ms":1783496781000,"timestamp_seconds":1783496781,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b12cc8"} 
[2026-07-08 13:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 13:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575098880001,"66":2177,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1738600593027813376},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575098880001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:19:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:19:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027813376,"description":"Unknown IO ID 45"} 
[2026-07-08 13:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575098880001,"power":2177,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027813376}} 
[2026-07-08 13:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":127528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:19:38] local.INFO: GPS data processed {"connection_id":127528,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:19:38] local.INFO: Acknowledgment sent {"connection_id":127528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:19:50] local.INFO: TCP Data received {"connection_id":125407,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125407,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:19:50] local.INFO: Processing buffer {"connection_id":125407,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:19:50] local.INFO: IMEI packet received {"connection_id":125407,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":125407,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:19:55] local.INFO: TCP Data received {"connection_id":125407,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125407,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:19:55] local.INFO: Processing buffer {"connection_id":125407,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:19:55] local.INFO: IMEI packet received {"connection_id":125407,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":125407,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:19:56] local.INFO: TCP Data received {"connection_id":125407,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f40afe890012d0b130007029fc00005013422..."} 
[2026-07-08 13:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40afe890012d0b130007029fc00005013422..."} 
[2026-07-08 13:19:56] local.INFO: Processing buffer {"connection_id":125407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40afe890012d0b130007029fc00005013422..."} 
[2026-07-08 13:19:56] local.INFO: Packet analysis {"connection_id":125407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40af"} 
[2026-07-08 13:19:56] local.INFO: Extracted packet for processing {"connection_id":125407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40af"} 
[2026-07-08 13:19:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575077632001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783496698000,"timestamp_ms":1783496698000,"timestamp_seconds":1783496698,"priority":1,"record_length":96,"hex_timestamp":"0000019f40afe890"} 
[2026-07-08 13:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:19:56] 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-07-08 13:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:19:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:19:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":125407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":125407,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":125407,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575077632001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575077632001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:19:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575077632001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":125407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451245,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:19:56] local.INFO: GPS data processed {"connection_id":125407,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:19:56] local.INFO: Acknowledgment sent {"connection_id":125407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:19:56] local.INFO: TCP Data received {"connection_id":126279,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:19:56] local.INFO: Processing buffer {"connection_id":126279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:19:56] local.INFO: IMEI packet received {"connection_id":126279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":126279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:20:00] local.INFO: TCP Data received {"connection_id":125407,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f40afe890012d0b130007029fc00005013422..."} 
[2026-07-08 13:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40afe890012d0b130007029fc00005013422..."} 
[2026-07-08 13:20:00] local.INFO: Processing buffer {"connection_id":125407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40afe890012d0b130007029fc00005013422..."} 
[2026-07-08 13:20:00] local.INFO: Packet analysis {"connection_id":125407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40af"} 
[2026-07-08 13:20:00] local.INFO: Extracted packet for processing {"connection_id":125407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40af"} 
[2026-07-08 13:20:00] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575077632001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783496698000,"timestamp_ms":1783496698000,"timestamp_seconds":1783496698,"priority":1,"record_length":96,"hex_timestamp":"0000019f40afe890"} 
[2026-07-08 13:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:20:00] 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-07-08 13:20: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":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:20:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:20:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125407,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125407,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575077632001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575077632001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:20:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575077632001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":125407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451246,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:20:00] local.INFO: GPS data processed {"connection_id":125407,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:20:00] local.INFO: Acknowledgment sent {"connection_id":125407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:20:01] local.INFO: TCP Data received {"connection_id":126279,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:20:01] local.INFO: Processing buffer {"connection_id":126279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:20:01] local.INFO: IMEI packet received {"connection_id":126279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":126279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:20:01] local.INFO: TCP Data received {"connection_id":127529,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:20:01] local.INFO: Processing buffer {"connection_id":127529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:20:01] local.INFO: IMEI packet received {"connection_id":127529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":127529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:20:02] local.INFO: TCP Data received {"connection_id":126279,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b1adb0012d7f9f4005afd6000008006e2c..."} 
[2026-07-08 13:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b1adb0012d7f9f4005afd6000008006e2c..."} 
[2026-07-08 13:20:02] local.INFO: Processing buffer {"connection_id":126279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b1adb0012d7f9f4005afd6000008006e2c..."} 
[2026-07-08 13:20:02] local.INFO: Packet analysis {"connection_id":126279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b1"} 
[2026-07-08 13:20:02] local.INFO: Extracted packet for processing {"connection_id":126279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b1"} 
[2026-07-08 13:20:02] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409664,"longitude_deg":76.333856,"latitude_deg":9.5409664,"altitude":8,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd600","is_valid_coordinates":true} 
[2026-07-08 13:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575106048001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198461525841319936,"note":"Value kept but may cause issues"} 
[2026-07-08 13:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783496814000,"timestamp_ms":1783496814000,"timestamp_seconds":1783496814,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b1adb0"} 
[2026-07-08 13:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:20:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 13:20:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:20:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575106048001,"66":25854,"249":206,"85":12544,"24":0,"16":342532734301765632,"45":9198461525841319936},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-08 13:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575106048001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:20:02] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-08 13:20:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198461525841319936,"description":"Unknown IO ID 45"} 
[2026-07-08 13:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575106048001,"power":25854,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198461525841319936}} 
[2026-07-08 13:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":126279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:20:02] local.INFO: GPS data processed {"connection_id":126279,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:20:02] local.INFO: Acknowledgment sent {"connection_id":126279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:20:05] local.INFO: TCP Data received {"connection_id":127529,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:20:05] local.INFO: Processing buffer {"connection_id":127529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:20:05] local.INFO: IMEI packet received {"connection_id":127529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":127529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:20:07] local.INFO: TCP Data received {"connection_id":127529,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b12cc8012d1820c00721b4d0004e00d127..."} 
[2026-07-08 13:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b12cc8012d1820c00721b4d0004e00d127..."} 
[2026-07-08 13:20:07] local.INFO: Processing buffer {"connection_id":127529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b12cc8012d1820c00721b4d0004e00d127..."} 
[2026-07-08 13:20:07] local.INFO: Packet analysis {"connection_id":127529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b1"} 
[2026-07-08 13:20:07] local.INFO: Extracted packet for processing {"connection_id":127529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b1"} 
[2026-07-08 13:20:07] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":78,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575098880001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027813376,"note":"Value kept but may cause issues"} 
[2026-07-08 13:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783496781000,"timestamp_ms":1783496781000,"timestamp_seconds":1783496781,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b12cc8"} 
[2026-07-08 13:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 13:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575098880001,"66":2177,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1738600593027813376},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575098880001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:20:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:20:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027813376,"description":"Unknown IO ID 45"} 
[2026-07-08 13:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575098880001,"power":2177,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027813376}} 
[2026-07-08 13:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":127529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:20:07] local.INFO: GPS data processed {"connection_id":127529,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:20:07] local.INFO: Acknowledgment sent {"connection_id":127529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:20:33] local.INFO: TCP Data received {"connection_id":126279,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b1adb0012d7f9f4005afd6000008006e2c..."} 
[2026-07-08 13:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b1adb0012d7f9f4005afd6000008006e2c..."} 
[2026-07-08 13:20:33] local.INFO: Processing buffer {"connection_id":126279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b1adb0012d7f9f4005afd6000008006e2c..."} 
[2026-07-08 13:20:33] local.INFO: Packet analysis {"connection_id":126279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b1"} 
[2026-07-08 13:20:33] local.INFO: Extracted packet for processing {"connection_id":126279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b1"} 
[2026-07-08 13:20:33] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409664,"longitude_deg":76.333856,"latitude_deg":9.5409664,"altitude":8,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd600","is_valid_coordinates":true} 
[2026-07-08 13:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575106048001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198461525841319936,"note":"Value kept but may cause issues"} 
[2026-07-08 13:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783496814000,"timestamp_ms":1783496814000,"timestamp_seconds":1783496814,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b1adb0"} 
[2026-07-08 13:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 13:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:20:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575106048001,"66":25854,"249":206,"85":12544,"24":0,"16":342532734301765632,"45":9198461525841319936},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-08 13:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575106048001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:20:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-08 13:20:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198461525841319936,"description":"Unknown IO ID 45"} 
[2026-07-08 13:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575106048001,"power":25854,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198461525841319936}} 
[2026-07-08 13:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":126279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:20:33] local.INFO: GPS data processed {"connection_id":126279,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:20:33] local.INFO: Acknowledgment sent {"connection_id":126279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:20:38] local.INFO: TCP Data received {"connection_id":127529,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b12cc8012d1820c00721b4d0004e00d127..."} 
[2026-07-08 13:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b12cc8012d1820c00721b4d0004e00d127..."} 
[2026-07-08 13:20:38] local.INFO: Processing buffer {"connection_id":127529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b12cc8012d1820c00721b4d0004e00d127..."} 
[2026-07-08 13:20:38] local.INFO: Packet analysis {"connection_id":127529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b1"} 
[2026-07-08 13:20:38] local.INFO: Extracted packet for processing {"connection_id":127529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b1"} 
[2026-07-08 13:20:38] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":78,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575098880001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027813376,"note":"Value kept but may cause issues"} 
[2026-07-08 13:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783496781000,"timestamp_ms":1783496781000,"timestamp_seconds":1783496781,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b12cc8"} 
[2026-07-08 13:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 13:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575098880001,"66":2177,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1738600593027813376},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575098880001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:20:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:20:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027813376,"description":"Unknown IO ID 45"} 
[2026-07-08 13:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575098880001,"power":2177,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027813376}} 
[2026-07-08 13:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":127529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:20:38] local.INFO: GPS data processed {"connection_id":127529,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:20:38] local.INFO: Acknowledgment sent {"connection_id":127529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:20:46] local.INFO: TCP Data received {"connection_id":126280,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126280,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:20:46] local.INFO: Processing buffer {"connection_id":126280,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:20:46] local.INFO: IMEI packet received {"connection_id":126280,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":126280,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:20:50] local.INFO: TCP Data received {"connection_id":126280,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126280,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:20:50] local.INFO: Processing buffer {"connection_id":126280,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:20:50] local.INFO: IMEI packet received {"connection_id":126280,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":126280,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:20:51] local.INFO: TCP Data received {"connection_id":126280,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b48058012d0b130007029fc00005013422..."} 
[2026-07-08 13:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b48058012d0b130007029fc00005013422..."} 
[2026-07-08 13:20:51] local.INFO: Processing buffer {"connection_id":126280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b48058012d0b130007029fc00005013422..."} 
[2026-07-08 13:20:51] local.INFO: Packet analysis {"connection_id":126280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b4"} 
[2026-07-08 13:20:51] local.INFO: Extracted packet for processing {"connection_id":126280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b4"} 
[2026-07-08 13:20:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575154688001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783496999000,"timestamp_ms":1783496999000,"timestamp_seconds":1783496999,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b48058"} 
[2026-07-08 13:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126280,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126280,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575154688001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575154688001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:20:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575154688001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":126280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451251,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:20:51] local.INFO: GPS data processed {"connection_id":126280,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:20:51] local.INFO: Acknowledgment sent {"connection_id":126280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:20:56] local.INFO: TCP Data received {"connection_id":125518,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:20:56] local.INFO: Processing buffer {"connection_id":125518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:20:56] local.INFO: IMEI packet received {"connection_id":125518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":125518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:20:56] local.INFO: TCP Data received {"connection_id":126280,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b48058012d0b130007029fc00005013422..."} 
[2026-07-08 13:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b48058012d0b130007029fc00005013422..."} 
[2026-07-08 13:20:56] local.INFO: Processing buffer {"connection_id":126280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b48058012d0b130007029fc00005013422..."} 
[2026-07-08 13:20:56] local.INFO: Packet analysis {"connection_id":126280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b4"} 
[2026-07-08 13:20:56] local.INFO: Extracted packet for processing {"connection_id":126280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b4"} 
[2026-07-08 13:20:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575154688001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783496999000,"timestamp_ms":1783496999000,"timestamp_seconds":1783496999,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b48058"} 
[2026-07-08 13:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:20:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:20:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":126280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":126280,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":126280,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575154688001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575154688001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:20:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575154688001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":126280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451252,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:20:56] local.INFO: GPS data processed {"connection_id":126280,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:20:56] local.INFO: Acknowledgment sent {"connection_id":126280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:21:00] local.INFO: TCP Data received {"connection_id":125519,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:21:00] local.INFO: Processing buffer {"connection_id":125519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:21:00] local.INFO: IMEI packet received {"connection_id":125519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":125519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:21:01] local.INFO: TCP Data received {"connection_id":125518,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:21:01] local.INFO: Processing buffer {"connection_id":125518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:21:01] local.INFO: IMEI packet received {"connection_id":125518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":125518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:21:03] local.INFO: TCP Data received {"connection_id":125518,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b1adb0012d7f9f4005afd6000008006e2c..."} 
[2026-07-08 13:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b1adb0012d7f9f4005afd6000008006e2c..."} 
[2026-07-08 13:21:03] local.INFO: Processing buffer {"connection_id":125518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b1adb0012d7f9f4005afd6000008006e2c..."} 
[2026-07-08 13:21:03] local.INFO: Packet analysis {"connection_id":125518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b1"} 
[2026-07-08 13:21:03] local.INFO: Extracted packet for processing {"connection_id":125518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b1"} 
[2026-07-08 13:21:03] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409664,"longitude_deg":76.333856,"latitude_deg":9.5409664,"altitude":8,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd600","is_valid_coordinates":true} 
[2026-07-08 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-07-08 13:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575106048001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198461525841319936,"note":"Value kept but may cause issues"} 
[2026-07-08 13:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783496814000,"timestamp_ms":1783496814000,"timestamp_seconds":1783496814,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b1adb0"} 
[2026-07-08 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-07-08 13:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 13:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 13:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575106048001,"66":25854,"249":206,"85":12544,"24":0,"16":342532734301765632,"45":9198461525841319936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-08 13:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575106048001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:21:03] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-08 13:21:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198461525841319936,"description":"Unknown IO ID 45"} 
[2026-07-08 13:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575106048001,"power":25854,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198461525841319936}} 
[2026-07-08 13:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":125518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:21:03] local.INFO: GPS data processed {"connection_id":125518,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:21:03] local.INFO: Acknowledgment sent {"connection_id":125518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:21:06] local.INFO: TCP Data received {"connection_id":125519,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:21:06] local.INFO: Processing buffer {"connection_id":125519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:21:06] local.INFO: IMEI packet received {"connection_id":125519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":125519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:21:07] local.INFO: TCP Data received {"connection_id":125519,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b12cc8012d1820c00721b4d0004e00d127..."} 
[2026-07-08 13:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b12cc8012d1820c00721b4d0004e00d127..."} 
[2026-07-08 13:21:07] local.INFO: Processing buffer {"connection_id":125519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b12cc8012d1820c00721b4d0004e00d127..."} 
[2026-07-08 13:21:07] local.INFO: Packet analysis {"connection_id":125519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b1"} 
[2026-07-08 13:21:07] local.INFO: Extracted packet for processing {"connection_id":125519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b1"} 
[2026-07-08 13:21:07] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":78,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575098880001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027813376,"note":"Value kept but may cause issues"} 
[2026-07-08 13:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783496781000,"timestamp_ms":1783496781000,"timestamp_seconds":1783496781,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b12cc8"} 
[2026-07-08 13:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 13:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575098880001,"66":2177,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1738600593027813376},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575098880001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:21:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:21:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027813376,"description":"Unknown IO ID 45"} 
[2026-07-08 13:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575098880001,"power":2177,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027813376}} 
[2026-07-08 13:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":125519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:21:07] local.INFO: GPS data processed {"connection_id":125519,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:21:07] local.INFO: Acknowledgment sent {"connection_id":125519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:21:20] local.INFO: TCP Data received {"connection_id":126281,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126281,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:21:20] local.INFO: Processing buffer {"connection_id":126281,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:21:20] local.INFO: IMEI packet received {"connection_id":126281,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 13:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":126281,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:21:30] local.INFO: TCP Data received {"connection_id":126280,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b48058012d0b130007029fc00005013422..."} 
[2026-07-08 13:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b48058012d0b130007029fc00005013422..."} 
[2026-07-08 13:21:30] local.INFO: Processing buffer {"connection_id":126280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b48058012d0b130007029fc00005013422..."} 
[2026-07-08 13:21:30] local.INFO: Packet analysis {"connection_id":126280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b4"} 
[2026-07-08 13:21:30] local.INFO: Extracted packet for processing {"connection_id":126280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b4"} 
[2026-07-08 13:21:30] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575154688001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:21: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-07-08 13:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783496999000,"timestamp_ms":1783496999000,"timestamp_seconds":1783496999,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b48058"} 
[2026-07-08 13:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":126280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":126280,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":126280,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575154688001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575154688001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:21:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575154688001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":126280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451255,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:21:31] local.INFO: GPS data processed {"connection_id":126280,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:21:31] local.INFO: Acknowledgment sent {"connection_id":126280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:21:36] local.INFO: TCP Data received {"connection_id":125518,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b1adb0012d7f9f4005afd6000008006e2c..."} 
[2026-07-08 13:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b1adb0012d7f9f4005afd6000008006e2c..."} 
[2026-07-08 13:21:36] local.INFO: Processing buffer {"connection_id":125518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b1adb0012d7f9f4005afd6000008006e2c..."} 
[2026-07-08 13:21:36] local.INFO: Packet analysis {"connection_id":125518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b1"} 
[2026-07-08 13:21:36] local.INFO: Extracted packet for processing {"connection_id":125518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b1"} 
[2026-07-08 13:21:36] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409664,"longitude_deg":76.333856,"latitude_deg":9.5409664,"altitude":8,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd600","is_valid_coordinates":true} 
[2026-07-08 13:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575106048001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198461525841319936,"note":"Value kept but may cause issues"} 
[2026-07-08 13:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783496814000,"timestamp_ms":1783496814000,"timestamp_seconds":1783496814,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b1adb0"} 
[2026-07-08 13:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 13:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575106048001,"66":25854,"249":206,"85":12544,"24":0,"16":342532734301765632,"45":9198461525841319936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-08 13:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575106048001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:21:36] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-08 13:21:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198461525841319936,"description":"Unknown IO ID 45"} 
[2026-07-08 13:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575106048001,"power":25854,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198461525841319936}} 
[2026-07-08 13:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":125518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:21:36] local.INFO: GPS data processed {"connection_id":125518,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:21:36] local.INFO: Acknowledgment sent {"connection_id":125518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:21:38] local.INFO: TCP Data received {"connection_id":125519,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b518b0012d1820c00721b4d0004e00d126..."} 
[2026-07-08 13:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b518b0012d1820c00721b4d0004e00d126..."} 
[2026-07-08 13:21:38] local.INFO: Processing buffer {"connection_id":125519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b518b0012d1820c00721b4d0004e00d126..."} 
[2026-07-08 13:21:38] local.INFO: Packet analysis {"connection_id":125519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b5"} 
[2026-07-08 13:21:38] local.INFO: Extracted packet for processing {"connection_id":125519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b5"} 
[2026-07-08 13:21:38] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":78,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575175936001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027813376,"note":"Value kept but may cause issues"} 
[2026-07-08 13:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783497038000,"timestamp_ms":1783497038000,"timestamp_seconds":1783497038,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b518b0"} 
[2026-07-08 13:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 13:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575175936001,"66":2166,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1738600593027813376},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575175936001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:21:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:21:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027813376,"description":"Unknown IO ID 45"} 
[2026-07-08 13:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575175936001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027813376}} 
[2026-07-08 13:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":125519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:21:38] local.INFO: GPS data processed {"connection_id":125519,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:21:38] local.INFO: Acknowledgment sent {"connection_id":125519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:21:45] local.INFO: TCP Data received {"connection_id":127530,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127530,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:21:45] local.INFO: Processing buffer {"connection_id":127530,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:21:45] local.INFO: IMEI packet received {"connection_id":127530,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":127530,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:21:50] local.INFO: TCP Data received {"connection_id":127530,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127530,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:21:50] local.INFO: Processing buffer {"connection_id":127530,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:21:50] local.INFO: IMEI packet received {"connection_id":127530,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":127530,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:21:51] local.INFO: TCP Data received {"connection_id":127530,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b48058012d0b130007029fc00005013422..."} 
[2026-07-08 13:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b48058012d0b130007029fc00005013422..."} 
[2026-07-08 13:21:51] local.INFO: Processing buffer {"connection_id":127530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b48058012d0b130007029fc00005013422..."} 
[2026-07-08 13:21:51] local.INFO: Packet analysis {"connection_id":127530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b4"} 
[2026-07-08 13:21:51] local.INFO: Extracted packet for processing {"connection_id":127530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b4"} 
[2026-07-08 13:21:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575154688001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783496999000,"timestamp_ms":1783496999000,"timestamp_seconds":1783496999,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b48058"} 
[2026-07-08 13:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:21:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:21:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575154688001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575154688001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:21:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575154688001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":127530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451258,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:21:51] local.INFO: GPS data processed {"connection_id":127530,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:21:51] local.INFO: Acknowledgment sent {"connection_id":127530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:22:01] local.INFO: TCP Data received {"connection_id":125520,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:22:01] local.INFO: Processing buffer {"connection_id":125520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:22:01] local.INFO: IMEI packet received {"connection_id":125520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":125520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:22:01] local.INFO: TCP Data received {"connection_id":126282,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126282,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:22:01] local.INFO: Processing buffer {"connection_id":126282,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:22:01] local.INFO: IMEI packet received {"connection_id":126282,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 13:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":126282,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:22:06] local.INFO: TCP Data received {"connection_id":125520,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:22:06] local.INFO: Processing buffer {"connection_id":125520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:22:06] local.INFO: IMEI packet received {"connection_id":125520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":125520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:22:07] local.INFO: TCP Data received {"connection_id":125520,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b1adb0012d7f9f4005afd6000008006e2c..."} 
[2026-07-08 13:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b1adb0012d7f9f4005afd6000008006e2c..."} 
[2026-07-08 13:22:07] local.INFO: Processing buffer {"connection_id":125520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b1adb0012d7f9f4005afd6000008006e2c..."} 
[2026-07-08 13:22:07] local.INFO: Packet analysis {"connection_id":125520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b1"} 
[2026-07-08 13:22:07] local.INFO: Extracted packet for processing {"connection_id":125520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b1"} 
[2026-07-08 13:22:07] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409664,"longitude_deg":76.333856,"latitude_deg":9.5409664,"altitude":8,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd600","is_valid_coordinates":true} 
[2026-07-08 13:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575106048001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198461525841319936,"note":"Value kept but may cause issues"} 
[2026-07-08 13:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783496814000,"timestamp_ms":1783496814000,"timestamp_seconds":1783496814,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b1adb0"} 
[2026-07-08 13:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 13:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575106048001,"66":25854,"249":206,"85":12544,"24":0,"16":342532734301765632,"45":9198461525841319936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-08 13:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575106048001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:22:07] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-08 13:22:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198461525841319936,"description":"Unknown IO ID 45"} 
[2026-07-08 13:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575106048001,"power":25854,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198461525841319936}} 
[2026-07-08 13:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":125520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:22:07] local.INFO: GPS data processed {"connection_id":125520,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:22:07] local.INFO: Acknowledgment sent {"connection_id":125520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:22:11] local.INFO: TCP Data received {"connection_id":126283,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:22:11] local.INFO: Processing buffer {"connection_id":126283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:22:11] local.INFO: IMEI packet received {"connection_id":126283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":126283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:22:11] local.INFO: TCP Data received {"connection_id":125520,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b1adb0012d7f9f4005afd6000008006e2c..."} 
[2026-07-08 13:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b1adb0012d7f9f4005afd6000008006e2c..."} 
[2026-07-08 13:22:11] local.INFO: Processing buffer {"connection_id":125520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b1adb0012d7f9f4005afd6000008006e2c..."} 
[2026-07-08 13:22:11] local.INFO: Packet analysis {"connection_id":125520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b1"} 
[2026-07-08 13:22:11] local.INFO: Extracted packet for processing {"connection_id":125520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b1"} 
[2026-07-08 13:22:11] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409664,"longitude_deg":76.333856,"latitude_deg":9.5409664,"altitude":8,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd600","is_valid_coordinates":true} 
[2026-07-08 13:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575106048001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198461525841319936,"note":"Value kept but may cause issues"} 
[2026-07-08 13:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783496814000,"timestamp_ms":1783496814000,"timestamp_seconds":1783496814,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b1adb0"} 
[2026-07-08 13:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 13:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575106048001,"66":25854,"249":206,"85":12544,"24":0,"16":342532734301765632,"45":9198461525841319936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-08 13:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575106048001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:22:11] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-08 13:22:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198461525841319936,"description":"Unknown IO ID 45"} 
[2026-07-08 13:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575106048001,"power":25854,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198461525841319936}} 
[2026-07-08 13:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":125520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:22:11] local.INFO: GPS data processed {"connection_id":125520,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:22:11] local.INFO: Acknowledgment sent {"connection_id":125520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:22:12] local.INFO: TCP Data received {"connection_id":126283,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:22:12] local.INFO: Processing buffer {"connection_id":126283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:22:12] local.INFO: IMEI packet received {"connection_id":126283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":126283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:22:13] local.INFO: TCP Data received {"connection_id":126283,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b518b0012d1820c00721b4d0004e00d126..."} 
[2026-07-08 13:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b518b0012d1820c00721b4d0004e00d126..."} 
[2026-07-08 13:22:13] local.INFO: Processing buffer {"connection_id":126283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b518b0012d1820c00721b4d0004e00d126..."} 
[2026-07-08 13:22:13] local.INFO: Packet analysis {"connection_id":126283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b5"} 
[2026-07-08 13:22:13] local.INFO: Extracted packet for processing {"connection_id":126283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b5"} 
[2026-07-08 13:22:13] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":78,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:22: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-07-08 13:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575241728001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027813376,"note":"Value kept but may cause issues"} 
[2026-07-08 13:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783497038000,"timestamp_ms":1783497038000,"timestamp_seconds":1783497038,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b518b0"} 
[2026-07-08 13:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:22: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-07-08 13:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 13:22: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-07-08 13:22:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":126283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":126283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":126283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575241728001,"66":2166,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1738600593027813376},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575241728001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:22:13] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:22:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027813376,"description":"Unknown IO ID 45"} 
[2026-07-08 13:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575241728001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027813376}} 
[2026-07-08 13:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":126283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:22:13] local.INFO: GPS data processed {"connection_id":126283,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:22:13] local.INFO: Acknowledgment sent {"connection_id":126283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:22:16] local.INFO: TCP Data received {"connection_id":126283,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b518b0012d1820c00721b4d0004e00d126..."} 
[2026-07-08 13:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b518b0012d1820c00721b4d0004e00d126..."} 
[2026-07-08 13:22:16] local.INFO: Processing buffer {"connection_id":126283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b518b0012d1820c00721b4d0004e00d126..."} 
[2026-07-08 13:22:16] local.INFO: Packet analysis {"connection_id":126283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b5"} 
[2026-07-08 13:22:16] local.INFO: Extracted packet for processing {"connection_id":126283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b5"} 
[2026-07-08 13:22:16] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649488,"longitude_deg":75.6555968,"latitude_deg":11.9649488,"altitude":78,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-07-08 13:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575241728001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027813376,"note":"Value kept but may cause issues"} 
[2026-07-08 13:22:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783497038000,"timestamp_ms":1783497038000,"timestamp_seconds":1783497038,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b518b0"} 
[2026-07-08 13:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:22:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 13:22:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:22:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":126283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":126283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":126283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575241728001,"66":2166,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1738600593027813376},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575241728001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:22:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:22:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027813376,"description":"Unknown IO ID 45"} 
[2026-07-08 13:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575241728001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027813376}} 
[2026-07-08 13:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":126283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:22:17] local.INFO: GPS data processed {"connection_id":126283,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:22:17] local.INFO: Acknowledgment sent {"connection_id":126283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:22:32] local.INFO: TCP Data received {"connection_id":127530,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b48058012d0b130007029fc00005013422..."} 
[2026-07-08 13:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b48058012d0b130007029fc00005013422..."} 
[2026-07-08 13:22:32] local.INFO: Processing buffer {"connection_id":127530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b48058012d0b130007029fc00005013422..."} 
[2026-07-08 13:22:32] local.INFO: Packet analysis {"connection_id":127530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b4"} 
[2026-07-08 13:22:32] local.INFO: Extracted packet for processing {"connection_id":127530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b4"} 
[2026-07-08 13:22:32] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575154688001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783496999000,"timestamp_ms":1783496999000,"timestamp_seconds":1783496999,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b48058"} 
[2026-07-08 13:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575154688001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575154688001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:22:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575154688001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":127530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451263,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:22:33] local.INFO: GPS data processed {"connection_id":127530,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:22:33] local.INFO: Acknowledgment sent {"connection_id":127530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:22:45] local.INFO: TCP Data received {"connection_id":126284,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126284,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:22:45] local.INFO: Processing buffer {"connection_id":126284,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:22:45] local.INFO: IMEI packet received {"connection_id":126284,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":126284,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:22:50] local.INFO: TCP Data received {"connection_id":126284,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126284,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:22:50] local.INFO: Processing buffer {"connection_id":126284,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:22:50] local.INFO: IMEI packet received {"connection_id":126284,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":126284,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:22:51] local.INFO: TCP Data received {"connection_id":126284,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b48058012d0b130007029fc00005013422..."} 
[2026-07-08 13:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b48058012d0b130007029fc00005013422..."} 
[2026-07-08 13:22:51] local.INFO: Processing buffer {"connection_id":126284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b48058012d0b130007029fc00005013422..."} 
[2026-07-08 13:22:51] local.INFO: Packet analysis {"connection_id":126284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b4"} 
[2026-07-08 13:22:51] local.INFO: Extracted packet for processing {"connection_id":126284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b4"} 
[2026-07-08 13:22:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575154688001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783496999000,"timestamp_ms":1783496999000,"timestamp_seconds":1783496999,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b48058"} 
[2026-07-08 13:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:22:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126284,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126284,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575154688001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575154688001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:22:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575154688001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":126284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451264,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:22:51] local.INFO: GPS data processed {"connection_id":126284,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:22:51] local.INFO: Acknowledgment sent {"connection_id":126284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:22:56] local.INFO: TCP Data received {"connection_id":126285,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:22:56] local.INFO: Processing buffer {"connection_id":126285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:22:56] local.INFO: IMEI packet received {"connection_id":126285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":126285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:22:58] local.INFO: TCP Data received {"connection_id":127531,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:22:58] local.INFO: Processing buffer {"connection_id":127531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:22:58] local.INFO: IMEI packet received {"connection_id":127531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":127531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:23:00] local.INFO: TCP Data received {"connection_id":127531,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:23:00] local.INFO: Processing buffer {"connection_id":127531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:23:00] local.INFO: IMEI packet received {"connection_id":127531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":127531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:23:01] local.INFO: TCP Data received {"connection_id":126285,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:23:01] local.INFO: Processing buffer {"connection_id":126285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:23:01] local.INFO: IMEI packet received {"connection_id":126285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":126285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:23:02] local.INFO: TCP Data received {"connection_id":126285,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b64578012d7f9f4005afd6000008006e2f..."} 
[2026-07-08 13:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b64578012d7f9f4005afd6000008006e2f..."} 
[2026-07-08 13:23:02] local.INFO: Processing buffer {"connection_id":126285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b64578012d7f9f4005afd6000008006e2f..."} 
[2026-07-08 13:23:02] local.INFO: Packet analysis {"connection_id":126285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b6"} 
[2026-07-08 13:23:02] local.INFO: Extracted packet for processing {"connection_id":126285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b6"} 
[2026-07-08 13:23:02] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409664,"longitude_deg":76.333856,"latitude_deg":9.5409664,"altitude":8,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd600","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575184384001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282893824,"note":"Value kept but may cause issues"} 
[2026-07-08 13:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783497115000,"timestamp_ms":1783497115000,"timestamp_seconds":1783497115,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b64578"} 
[2026-07-08 13:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-08 13:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575184384001,"66":25702,"249":206,"85":12544,"24":0,"16":342532734301765632,"45":9196139357282893824},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-08 13:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575184384001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:23:02] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-08 13:23:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282893824,"description":"Unknown IO ID 45"} 
[2026-07-08 13:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575184384001,"power":25702,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282893824}} 
[2026-07-08 13:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":126285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:23:02] local.INFO: GPS data processed {"connection_id":126285,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:23:02] local.INFO: Acknowledgment sent {"connection_id":126285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:23:03] local.INFO: TCP Data received {"connection_id":127531,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:23:03] local.INFO: Processing buffer {"connection_id":127531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:23:03] local.INFO: IMEI packet received {"connection_id":127531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":127531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:23:04] local.INFO: TCP Data received {"connection_id":127531,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b57a58012d181e400721aef8004e00cf26..."} 
[2026-07-08 13:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b57a58012d181e400721aef8004e00cf26..."} 
[2026-07-08 13:23:04] local.INFO: Processing buffer {"connection_id":127531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b57a58012d181e400721aef8004e00cf26..."} 
[2026-07-08 13:23:04] local.INFO: Packet analysis {"connection_id":127531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b5"} 
[2026-07-08 13:23:04] local.INFO: Extracted packet for processing {"connection_id":127531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b5"} 
[2026-07-08 13:23:04] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647992,"longitude_deg":75.6555328,"latitude_deg":11.9647992,"altitude":78,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aef8","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575241728001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4741158563479552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027813376,"note":"Value kept but may cause issues"} 
[2026-07-08 13:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783497063000,"timestamp_ms":1783497063000,"timestamp_seconds":1783497063,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b57a58"} 
[2026-07-08 13:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 13:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":127531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":127531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":127531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575241728001,"66":14004,"120":206,"28":31744,"24":0,"16":4741158563479552,"45":1738600593027813376},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575241728001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:23:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:23:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4741158563479552,"km_value":4741158563479.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027813376,"description":"Unknown IO ID 45"} 
[2026-07-08 13:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575241728001,"power":14004,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027813376}} 
[2026-07-08 13:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":127531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:23:04] local.INFO: GPS data processed {"connection_id":127531,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:23:04] local.INFO: Acknowledgment sent {"connection_id":127531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:23:22] local.INFO: TCP Data received {"connection_id":126284,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b48058012d0b130007029fc00005013422..."} 
[2026-07-08 13:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b48058012d0b130007029fc00005013422..."} 
[2026-07-08 13:23:22] local.INFO: Processing buffer {"connection_id":126284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b48058012d0b130007029fc00005013422..."} 
[2026-07-08 13:23:22] local.INFO: Packet analysis {"connection_id":126284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b4"} 
[2026-07-08 13:23:22] local.INFO: Extracted packet for processing {"connection_id":126284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b4"} 
[2026-07-08 13:23:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 13:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575154688001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783496999000,"timestamp_ms":1783496999000,"timestamp_seconds":1783496999,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b48058"} 
[2026-07-08 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-07-08 13:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:23:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 13:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126284,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126284,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575154688001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575154688001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:23:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575154688001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":126284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451267,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:23:22] local.INFO: GPS data processed {"connection_id":126284,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:23:22] local.INFO: Acknowledgment sent {"connection_id":126284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:23:33] local.INFO: TCP Data received {"connection_id":126285,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b64578012d7f9f4005afd6000008006e2f..."} 
[2026-07-08 13:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b64578012d7f9f4005afd6000008006e2f..."} 
[2026-07-08 13:23:33] local.INFO: Processing buffer {"connection_id":126285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b64578012d7f9f4005afd6000008006e2f..."} 
[2026-07-08 13:23:33] local.INFO: Packet analysis {"connection_id":126285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b6"} 
[2026-07-08 13:23:33] local.INFO: Extracted packet for processing {"connection_id":126285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b6"} 
[2026-07-08 13:23:33] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409664,"longitude_deg":76.333856,"latitude_deg":9.5409664,"altitude":8,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd600","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575184384001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282893824,"note":"Value kept but may cause issues"} 
[2026-07-08 13:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783497115000,"timestamp_ms":1783497115000,"timestamp_seconds":1783497115,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b64578"} 
[2026-07-08 13:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-08 13:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575184384001,"66":25702,"249":206,"85":12544,"24":0,"16":342532734301765632,"45":9196139357282893824},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-08 13:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575184384001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:23:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-08 13:23:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282893824,"description":"Unknown IO ID 45"} 
[2026-07-08 13:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575184384001,"power":25702,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282893824}} 
[2026-07-08 13:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":126285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:23:33] local.INFO: GPS data processed {"connection_id":126285,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:23:33] local.INFO: Acknowledgment sent {"connection_id":126285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:23:35] local.INFO: TCP Data received {"connection_id":127531,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b704e0012d18ae40072171280044008225..."} 
[2026-07-08 13:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b704e0012d18ae40072171280044008225..."} 
[2026-07-08 13:23:35] local.INFO: Processing buffer {"connection_id":127531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b704e0012d18ae40072171280044008225..."} 
[2026-07-08 13:23:35] local.INFO: Packet analysis {"connection_id":127531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b7"} 
[2026-07-08 13:23:35] local.INFO: Extracted packet for processing {"connection_id":127531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b7"} 
[2026-07-08 13:23:35] local.INFO: GPS Element Parsed {"raw_longitude":756592192,"raw_latitude":119632168,"longitude_deg":75.6592192,"latitude_deg":11.9632168,"altitude":68,"angle":130,"satellites":37,"speed":27,"hex_longitude":"2d18ae40","hex_latitude":"07217128","is_valid_coordinates":true} 
[2026-07-08 13:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575270912001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4743155723272192,"note":"Value kept but may cause issues"} 
[2026-07-08 13:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1769492471718305792,"note":"Value kept but may cause issues"} 
[2026-07-08 13:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783497164000,"timestamp_ms":1783497164000,"timestamp_seconds":1783497164,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b704e0"} 
[2026-07-08 13:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-08 13:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":127531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":127531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":127531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575270912001,"66":14243,"121":206,"28":31744,"24":27,"16":4743155723272192,"45":1769492471718305792},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 13:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575270912001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:23:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 13:23:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4743155723272192,"km_value":4743155723272.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1769492471718305792,"description":"Unknown IO ID 45"} 
[2026-07-08 13:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575270912001,"power":14243,"unknown_121":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1769492471718305792}} 
[2026-07-08 13:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":127531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:23:36] local.INFO: GPS data processed {"connection_id":127531,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:23:36] local.INFO: Acknowledgment sent {"connection_id":127531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:23:45] local.INFO: TCP Data received {"connection_id":127532,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127532,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:23:45] local.INFO: Processing buffer {"connection_id":127532,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:23:45] local.INFO: IMEI packet received {"connection_id":127532,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":127532,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:23:50] local.INFO: TCP Data received {"connection_id":127532,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127532,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:23:50] local.INFO: Processing buffer {"connection_id":127532,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:23:50] local.INFO: IMEI packet received {"connection_id":127532,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":127532,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:23:51] local.INFO: TCP Data received {"connection_id":127532,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b48058012d0b130007029fc00005013422..."} 
[2026-07-08 13:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b48058012d0b130007029fc00005013422..."} 
[2026-07-08 13:23:51] local.INFO: Processing buffer {"connection_id":127532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b48058012d0b130007029fc00005013422..."} 
[2026-07-08 13:23:51] local.INFO: Packet analysis {"connection_id":127532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b4"} 
[2026-07-08 13:23:51] local.INFO: Extracted packet for processing {"connection_id":127532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b4"} 
[2026-07-08 13:23:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575154688001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783496999000,"timestamp_ms":1783496999000,"timestamp_seconds":1783496999,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b48058"} 
[2026-07-08 13:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127532,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127532,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575154688001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575154688001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:23:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575154688001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":127532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451270,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:23:51] local.INFO: GPS data processed {"connection_id":127532,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:23:51] local.INFO: Acknowledgment sent {"connection_id":127532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:23:56] local.INFO: TCP Data received {"connection_id":126287,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:23:56] local.INFO: Processing buffer {"connection_id":126287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:23:56] local.INFO: IMEI packet received {"connection_id":126287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":126287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:24:00] local.INFO: TCP Data received {"connection_id":126288,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:24:00] local.INFO: Processing buffer {"connection_id":126288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:24:00] local.INFO: IMEI packet received {"connection_id":126288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":126288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:24:01] local.INFO: TCP Data received {"connection_id":126287,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:24:01] local.INFO: Processing buffer {"connection_id":126287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:24:01] local.INFO: IMEI packet received {"connection_id":126287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":126287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:24:01] local.INFO: TCP Data received {"connection_id":126288,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:24:01] local.INFO: Processing buffer {"connection_id":126288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:24:01] local.INFO: IMEI packet received {"connection_id":126288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":126288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:24:02] local.INFO: TCP Data received {"connection_id":126287,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b64578012d7f9f4005afd6000008006e2f..."} 
[2026-07-08 13:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b64578012d7f9f4005afd6000008006e2f..."} 
[2026-07-08 13:24:02] local.INFO: Processing buffer {"connection_id":126287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b64578012d7f9f4005afd6000008006e2f..."} 
[2026-07-08 13:24:02] local.INFO: Packet analysis {"connection_id":126287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b6"} 
[2026-07-08 13:24:02] local.INFO: Extracted packet for processing {"connection_id":126287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b6"} 
[2026-07-08 13:24:02] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409664,"longitude_deg":76.333856,"latitude_deg":9.5409664,"altitude":8,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd600","is_valid_coordinates":true} 
[2026-07-08 13:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575184384001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282893824,"note":"Value kept but may cause issues"} 
[2026-07-08 13:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783497115000,"timestamp_ms":1783497115000,"timestamp_seconds":1783497115,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b64578"} 
[2026-07-08 13:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:24:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-08 13:24:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:24:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575184384001,"66":25702,"249":206,"85":12544,"24":0,"16":342532734301765632,"45":9196139357282893824},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-08 13:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575184384001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:24:02] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-08 13:24:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282893824,"description":"Unknown IO ID 45"} 
[2026-07-08 13:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575184384001,"power":25702,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282893824}} 
[2026-07-08 13:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":126287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:24:02] local.INFO: GPS data processed {"connection_id":126287,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:24:02] local.INFO: Acknowledgment sent {"connection_id":126287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:24:04] local.INFO: TCP Data received {"connection_id":126288,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:24:04] local.INFO: Processing buffer {"connection_id":126288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:24:04] local.INFO: IMEI packet received {"connection_id":126288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":126288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:24:05] local.INFO: TCP Data received {"connection_id":126288,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b70cb0012d18b20007216cf00043008f25..."} 
[2026-07-08 13:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b70cb0012d18b20007216cf00043008f25..."} 
[2026-07-08 13:24:05] local.INFO: Processing buffer {"connection_id":126288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b70cb0012d18b20007216cf00043008f25..."} 
[2026-07-08 13:24:05] local.INFO: Packet analysis {"connection_id":126288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b7"} 
[2026-07-08 13:24:05] local.INFO: Extracted packet for processing {"connection_id":126288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b7"} 
[2026-07-08 13:24:05] local.INFO: GPS Element Parsed {"raw_longitude":756593152,"raw_latitude":119631088,"longitude_deg":75.6593152,"latitude_deg":11.9631088,"altitude":67,"angle":143,"satellites":37,"speed":29,"hex_longitude":"2d18b200","hex_latitude":"07216cf0","is_valid_coordinates":true} 
[2026-07-08 13:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575273984001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4743228737716224,"note":"Value kept but may cause issues"} 
[2026-07-08 13:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778429302227937280,"note":"Value kept but may cause issues"} 
[2026-07-08 13:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783497166000,"timestamp_ms":1783497166000,"timestamp_seconds":1783497166,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b70cb0"} 
[2026-07-08 13:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-08 13:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575273984001,"66":14135,"121":206,"28":31744,"24":29,"16":4743228737716224,"45":1778429302227937280},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 13:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575273984001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:24:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 13:24:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4743228737716224,"km_value":4743228737716.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778429302227937280,"description":"Unknown IO ID 45"} 
[2026-07-08 13:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575273984001,"power":14135,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1778429302227937280}} 
[2026-07-08 13:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":126288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:24:05] local.INFO: GPS data processed {"connection_id":126288,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:24:05] local.INFO: Acknowledgment sent {"connection_id":126288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:24:23] local.INFO: TCP Data received {"connection_id":127532,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b48058012d0b130007029fc00005013422..."} 
[2026-07-08 13:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b48058012d0b130007029fc00005013422..."} 
[2026-07-08 13:24:23] local.INFO: Processing buffer {"connection_id":127532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b48058012d0b130007029fc00005013422..."} 
[2026-07-08 13:24:23] local.INFO: Packet analysis {"connection_id":127532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b4"} 
[2026-07-08 13:24:23] local.INFO: Extracted packet for processing {"connection_id":127532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b4"} 
[2026-07-08 13:24:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575154688001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783496999000,"timestamp_ms":1783496999000,"timestamp_seconds":1783496999,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b48058"} 
[2026-07-08 13:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:24:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:24:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":127532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":127532,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":127532,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:24:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575154688001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575154688001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:24:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575154688001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":127532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451273,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:24:23] local.INFO: GPS data processed {"connection_id":127532,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:24:23] local.INFO: Acknowledgment sent {"connection_id":127532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:24:33] local.INFO: TCP Data received {"connection_id":126287,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b64578012d7f9f4005afd6000008006e2f..."} 
[2026-07-08 13:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b64578012d7f9f4005afd6000008006e2f..."} 
[2026-07-08 13:24:33] local.INFO: Processing buffer {"connection_id":126287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b64578012d7f9f4005afd6000008006e2f..."} 
[2026-07-08 13:24:33] local.INFO: Packet analysis {"connection_id":126287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b6"} 
[2026-07-08 13:24:33] local.INFO: Extracted packet for processing {"connection_id":126287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b6"} 
[2026-07-08 13:24:33] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409664,"longitude_deg":76.333856,"latitude_deg":9.5409664,"altitude":8,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd600","is_valid_coordinates":true} 
[2026-07-08 13:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575184384001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282893824,"note":"Value kept but may cause issues"} 
[2026-07-08 13:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783497115000,"timestamp_ms":1783497115000,"timestamp_seconds":1783497115,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b64578"} 
[2026-07-08 13:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-08 13:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:24:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575184384001,"66":25702,"249":206,"85":12544,"24":0,"16":342532734301765632,"45":9196139357282893824},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-08 13:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575184384001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:24:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-08 13:24:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282893824,"description":"Unknown IO ID 45"} 
[2026-07-08 13:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575184384001,"power":25702,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282893824}} 
[2026-07-08 13:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":126287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:24:33] local.INFO: GPS data processed {"connection_id":126287,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:24:33] local.INFO: Acknowledgment sent {"connection_id":126287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:24:37] local.INFO: TCP Data received {"connection_id":126288,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b7f710012d190dc00720c948002d007827..."} 
[2026-07-08 13:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b7f710012d190dc00720c948002d007827..."} 
[2026-07-08 13:24:37] local.INFO: Processing buffer {"connection_id":126288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b7f710012d190dc00720c948002d007827..."} 
[2026-07-08 13:24:37] local.INFO: Packet analysis {"connection_id":126288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b7"} 
[2026-07-08 13:24:37] local.INFO: Extracted packet for processing {"connection_id":126288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b7"} 
[2026-07-08 13:24:37] local.INFO: GPS Element Parsed {"raw_longitude":756616640,"raw_latitude":119589192,"longitude_deg":75.661664,"latitude_deg":11.9589192,"altitude":45,"angle":120,"satellites":39,"speed":37,"hex_longitude":"2d190dc0","hex_latitude":"0720c948","is_valid_coordinates":true} 
[2026-07-08 13:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575288064001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4745655394238464,"note":"Value kept but may cause issues"} 
[2026-07-08 13:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799610294215264256,"note":"Value kept but may cause issues"} 
[2026-07-08 13:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783497226000,"timestamp_ms":1783497226000,"timestamp_seconds":1783497226,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b7f710"} 
[2026-07-08 13:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-08 13:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575288064001,"66":14157,"121":206,"28":31744,"24":37,"16":4745655394238464,"45":1799610294215264256},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 13:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575288064001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:24:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 13:24:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4745655394238464,"km_value":4745655394238.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799610294215264256,"description":"Unknown IO ID 45"} 
[2026-07-08 13:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575288064001,"power":14157,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1799610294215264256}} 
[2026-07-08 13:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":126288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:24:37] local.INFO: GPS data processed {"connection_id":126288,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:24:37] local.INFO: Acknowledgment sent {"connection_id":126288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:24:50] local.INFO: TCP Data received {"connection_id":125408,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125408,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:24:50] local.INFO: Processing buffer {"connection_id":125408,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:24:50] local.INFO: IMEI packet received {"connection_id":125408,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":125408,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:24:55] local.INFO: TCP Data received {"connection_id":125408,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125408,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:24:55] local.INFO: Processing buffer {"connection_id":125408,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:24:55] local.INFO: IMEI packet received {"connection_id":125408,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":125408,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:24:55] local.INFO: TCP Data received {"connection_id":125522,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:24:55] local.INFO: Processing buffer {"connection_id":125522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:24:55] local.INFO: IMEI packet received {"connection_id":125522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":125522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:24:56] local.INFO: TCP Data received {"connection_id":125408,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b48058012d0b130007029fc00005013422..."} 
[2026-07-08 13:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b48058012d0b130007029fc00005013422..."} 
[2026-07-08 13:24:56] local.INFO: Processing buffer {"connection_id":125408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b48058012d0b130007029fc00005013422..."} 
[2026-07-08 13:24:56] local.INFO: Packet analysis {"connection_id":125408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b4"} 
[2026-07-08 13:24:56] local.INFO: Extracted packet for processing {"connection_id":125408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b4"} 
[2026-07-08 13:24:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575154688001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783496999000,"timestamp_ms":1783496999000,"timestamp_seconds":1783496999,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b48058"} 
[2026-07-08 13:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:24:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:24:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":125408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":125408,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":125408,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575154688001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575154688001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:24:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575154688001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":125408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451276,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:24:57] local.INFO: GPS data processed {"connection_id":125408,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:24:57] local.INFO: Acknowledgment sent {"connection_id":125408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:25:00] local.INFO: TCP Data received {"connection_id":125409,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:25:00] local.INFO: Processing buffer {"connection_id":125409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:25:00] local.INFO: IMEI packet received {"connection_id":125409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":125409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:25:01] local.INFO: TCP Data received {"connection_id":125522,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:25:01] local.INFO: Processing buffer {"connection_id":125522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:25:01] local.INFO: IMEI packet received {"connection_id":125522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":125522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:25:01] local.INFO: TCP Data received {"connection_id":125408,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b48058012d0b130007029fc00005013422..."} 
[2026-07-08 13:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b48058012d0b130007029fc00005013422..."} 
[2026-07-08 13:25:01] local.INFO: Processing buffer {"connection_id":125408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b48058012d0b130007029fc00005013422..."} 
[2026-07-08 13:25:01] local.INFO: Packet analysis {"connection_id":125408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b4"} 
[2026-07-08 13:25:01] local.INFO: Extracted packet for processing {"connection_id":125408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b4"} 
[2026-07-08 13:25:01] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575154688001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:25: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-07-08 13:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783496999000,"timestamp_ms":1783496999000,"timestamp_seconds":1783496999,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b48058"} 
[2026-07-08 13:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:25:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125408,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125408,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575154688001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575154688001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:25:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575154688001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":125408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451277,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:25:01] local.INFO: GPS data processed {"connection_id":125408,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:25:01] local.INFO: Acknowledgment sent {"connection_id":125408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:25:02] local.INFO: TCP Data received {"connection_id":125522,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b64578012d7f9f4005afd6000008006e2f..."} 
[2026-07-08 13:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b64578012d7f9f4005afd6000008006e2f..."} 
[2026-07-08 13:25:02] local.INFO: Processing buffer {"connection_id":125522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b64578012d7f9f4005afd6000008006e2f..."} 
[2026-07-08 13:25:02] local.INFO: Packet analysis {"connection_id":125522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b6"} 
[2026-07-08 13:25:02] local.INFO: Extracted packet for processing {"connection_id":125522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b6"} 
[2026-07-08 13:25:02] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409664,"longitude_deg":76.333856,"latitude_deg":9.5409664,"altitude":8,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd600","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575184384001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282893824,"note":"Value kept but may cause issues"} 
[2026-07-08 13:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783497115000,"timestamp_ms":1783497115000,"timestamp_seconds":1783497115,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b64578"} 
[2026-07-08 13:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-08 13:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575184384001,"66":25702,"249":206,"85":12544,"24":0,"16":342532734301765632,"45":9196139357282893824},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-08 13:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575184384001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:25:02] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-08 13:25:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282893824,"description":"Unknown IO ID 45"} 
[2026-07-08 13:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575184384001,"power":25702,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282893824}} 
[2026-07-08 13:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":125522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:25:02] local.INFO: GPS data processed {"connection_id":125522,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:25:02] local.INFO: Acknowledgment sent {"connection_id":125522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:25:02] local.INFO: TCP Data received {"connection_id":125409,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:25:02] local.INFO: Processing buffer {"connection_id":125409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:25:02] local.INFO: IMEI packet received {"connection_id":125409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":125409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:25:04] local.INFO: TCP Data received {"connection_id":125409,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:25:04] local.INFO: Processing buffer {"connection_id":125409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:25:04] local.INFO: IMEI packet received {"connection_id":125409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":125409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:25:05] local.INFO: TCP Data received {"connection_id":125409,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b80a98012d1921000720c180002a006c25..."} 
[2026-07-08 13:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b80a98012d1921000720c180002a006c25..."} 
[2026-07-08 13:25:05] local.INFO: Processing buffer {"connection_id":125409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b80a98012d1921000720c180002a006c25..."} 
[2026-07-08 13:25:05] local.INFO: Packet analysis {"connection_id":125409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b8"} 
[2026-07-08 13:25:05] local.INFO: Extracted packet for processing {"connection_id":125409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b8"} 
[2026-07-08 13:25:05] local.INFO: GPS Element Parsed {"raw_longitude":756621568,"raw_latitude":119587200,"longitude_deg":75.6621568,"latitude_deg":11.95872,"altitude":42,"angle":108,"satellites":37,"speed":42,"hex_longitude":"2d192100","hex_latitude":"0720c180","is_valid_coordinates":true} 
[2026-07-08 13:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575289856001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4745908797308928,"note":"Value kept but may cause issues"} 
[2026-07-08 13:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805310162492803072,"note":"Value kept but may cause issues"} 
[2026-07-08 13:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783497231000,"timestamp_ms":1783497231000,"timestamp_seconds":1783497231,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b80a98"} 
[2026-07-08 13:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-08 13:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575289856001,"66":14363,"121":206,"28":31744,"24":42,"16":4745908797308928,"45":1805310162492803072},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 13:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575289856001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:25:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 13:25:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4745908797308928,"km_value":4745908797308.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805310162492803072,"description":"Unknown IO ID 45"} 
[2026-07-08 13:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575289856001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1805310162492803072}} 
[2026-07-08 13:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":125409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:25:05] local.INFO: GPS data processed {"connection_id":125409,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:25:05] local.INFO: Acknowledgment sent {"connection_id":125409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:25:33] local.INFO: TCP Data received {"connection_id":125522,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b64578012d7f9f4005afd6000008006e2f..."} 
[2026-07-08 13:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b64578012d7f9f4005afd6000008006e2f..."} 
[2026-07-08 13:25:33] local.INFO: Processing buffer {"connection_id":125522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b64578012d7f9f4005afd6000008006e2f..."} 
[2026-07-08 13:25:33] local.INFO: Packet analysis {"connection_id":125522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b6"} 
[2026-07-08 13:25:33] local.INFO: Extracted packet for processing {"connection_id":125522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b6"} 
[2026-07-08 13:25:33] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409664,"longitude_deg":76.333856,"latitude_deg":9.5409664,"altitude":8,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd600","is_valid_coordinates":true} 
[2026-07-08 13:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575184384001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282893824,"note":"Value kept but may cause issues"} 
[2026-07-08 13:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783497115000,"timestamp_ms":1783497115000,"timestamp_seconds":1783497115,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b64578"} 
[2026-07-08 13:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-08 13:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575184384001,"66":25702,"249":206,"85":12544,"24":0,"16":342532734301765632,"45":9196139357282893824},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-08 13:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575184384001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:25:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-08 13:25:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282893824,"description":"Unknown IO ID 45"} 
[2026-07-08 13:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575184384001,"power":25702,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282893824}} 
[2026-07-08 13:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":125522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:25:33] local.INFO: GPS data processed {"connection_id":125522,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:25:33] local.INFO: Acknowledgment sent {"connection_id":125522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:25:38] local.INFO: TCP Data received {"connection_id":125409,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b82208012d1937400720b7f8002a007725..."} 
[2026-07-08 13:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b82208012d1937400720b7f8002a007725..."} 
[2026-07-08 13:25:38] local.INFO: Processing buffer {"connection_id":125409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b82208012d1937400720b7f8002a007725..."} 
[2026-07-08 13:25:38] local.INFO: Packet analysis {"connection_id":125409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b8"} 
[2026-07-08 13:25:38] local.INFO: Extracted packet for processing {"connection_id":125409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b8"} 
[2026-07-08 13:25:38] local.INFO: GPS Element Parsed {"raw_longitude":756627264,"raw_latitude":119584760,"longitude_deg":75.6627264,"latitude_deg":11.958476,"altitude":42,"angle":119,"satellites":37,"speed":37,"hex_longitude":"2d193740","hex_latitude":"0720b7f8","is_valid_coordinates":true} 
[2026-07-08 13:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575291136001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4746205150052352,"note":"Value kept but may cause issues"} 
[2026-07-08 13:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1810728555793973248,"note":"Value kept but may cause issues"} 
[2026-07-08 13:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783497237000,"timestamp_ms":1783497237000,"timestamp_seconds":1783497237,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b82208"} 
[2026-07-08 13:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-08 13:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575291136001,"66":14298,"121":206,"28":31744,"24":37,"16":4746205150052352,"45":1810728555793973248},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 13:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575291136001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:25:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 13:25:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4746205150052352,"km_value":4746205150052.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1810728555793973248,"description":"Unknown IO ID 45"} 
[2026-07-08 13:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575291136001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1810728555793973248}} 
[2026-07-08 13:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":125409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:25:38] local.INFO: GPS data processed {"connection_id":125409,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:25:38] local.INFO: Acknowledgment sent {"connection_id":125409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:25:52] local.INFO: TCP Data received {"connection_id":127533,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127533,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:25:52] local.INFO: Processing buffer {"connection_id":127533,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:25:52] local.INFO: IMEI packet received {"connection_id":127533,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":127533,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:25:55] local.INFO: TCP Data received {"connection_id":126290,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:25:55] local.INFO: Processing buffer {"connection_id":126290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:25:55] local.INFO: IMEI packet received {"connection_id":126290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":126290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:26:00] local.INFO: TCP Data received {"connection_id":125524,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:26:00] local.INFO: Processing buffer {"connection_id":125524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:26:00] local.INFO: IMEI packet received {"connection_id":125524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":125524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:26:01] local.INFO: TCP Data received {"connection_id":125524,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:26:01] local.INFO: Processing buffer {"connection_id":125524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:26:01] local.INFO: IMEI packet received {"connection_id":125524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":125524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:26:01] local.INFO: TCP Data received {"connection_id":126290,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:26:01] local.INFO: Processing buffer {"connection_id":126290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:26:01] local.INFO: IMEI packet received {"connection_id":126290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":126290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:26:02] local.INFO: TCP Data received {"connection_id":126290,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b64578012d7f9f4005afd6000008006e2f..."} 
[2026-07-08 13:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b64578012d7f9f4005afd6000008006e2f..."} 
[2026-07-08 13:26:02] local.INFO: Processing buffer {"connection_id":126290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b64578012d7f9f4005afd6000008006e2f..."} 
[2026-07-08 13:26:02] local.INFO: Packet analysis {"connection_id":126290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b6"} 
[2026-07-08 13:26:02] local.INFO: Extracted packet for processing {"connection_id":126290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b6"} 
[2026-07-08 13:26:02] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409664,"longitude_deg":76.333856,"latitude_deg":9.5409664,"altitude":8,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd600","is_valid_coordinates":true} 
[2026-07-08 13:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575184384001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282893824,"note":"Value kept but may cause issues"} 
[2026-07-08 13:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783497115000,"timestamp_ms":1783497115000,"timestamp_seconds":1783497115,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b64578"} 
[2026-07-08 13:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-08 13:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575184384001,"66":25702,"249":206,"85":12544,"24":0,"16":342532734301765632,"45":9196139357282893824},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-08 13:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575184384001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:26:02] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-08 13:26:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282893824,"description":"Unknown IO ID 45"} 
[2026-07-08 13:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575184384001,"power":25702,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282893824}} 
[2026-07-08 13:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":126290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:26:02] local.INFO: GPS data processed {"connection_id":126290,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:26:02] local.INFO: Acknowledgment sent {"connection_id":126290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:26:04] local.INFO: TCP Data received {"connection_id":127533,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127533,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:26:04] local.INFO: Processing buffer {"connection_id":127533,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:26:04] local.INFO: IMEI packet received {"connection_id":127533,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":127533,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:26:05] local.INFO: TCP Data received {"connection_id":127533,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b91820012d0b130007029fc00005013421..."} 
[2026-07-08 13:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b91820012d0b130007029fc00005013421..."} 
[2026-07-08 13:26:05] local.INFO: Processing buffer {"connection_id":127533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b91820012d0b130007029fc00005013421..."} 
[2026-07-08 13:26:05] local.INFO: Packet analysis {"connection_id":127533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b9"} 
[2026-07-08 13:26:05] local.INFO: Extracted packet for processing {"connection_id":127533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b9"} 
[2026-07-08 13:26:05] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575231744001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783497300000,"timestamp_ms":1783497300000,"timestamp_seconds":1783497300,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b91820"} 
[2026-07-08 13:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 13:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127533,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127533,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575231744001,"66":12548,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575231744001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:26:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575231744001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:26:05] local.INFO: TCP Data received {"connection_id":125524,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:26:05] local.INFO: Processing buffer {"connection_id":125524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:26:05] local.INFO: IMEI packet received {"connection_id":125524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":125524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":127533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451283,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:26:05] local.INFO: GPS data processed {"connection_id":127533,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:26:05] local.INFO: Acknowledgment sent {"connection_id":127533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:26:06] local.INFO: TCP Data received {"connection_id":127533,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b91820012d0b130007029fc00005013421..."} 
[2026-07-08 13:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b91820012d0b130007029fc00005013421..."} 
[2026-07-08 13:26:06] local.INFO: Processing buffer {"connection_id":127533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b91820012d0b130007029fc00005013421..."} 
[2026-07-08 13:26:06] local.INFO: Packet analysis {"connection_id":127533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b9"} 
[2026-07-08 13:26:06] local.INFO: Extracted packet for processing {"connection_id":127533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b9"} 
[2026-07-08 13:26:06] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575231744001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783497300000,"timestamp_ms":1783497300000,"timestamp_seconds":1783497300,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b91820"} 
[2026-07-08 13:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 13:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127533,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127533,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575231744001,"66":12548,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575231744001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:26:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575231744001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":127533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451284,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:26:06] local.INFO: GPS data processed {"connection_id":127533,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:26:06] local.INFO: Acknowledgment sent {"connection_id":127533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:26:06] local.INFO: TCP Data received {"connection_id":125524,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b83978012d1948c00720af000028006c25..."} 
[2026-07-08 13:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b83978012d1948c00720af000028006c25..."} 
[2026-07-08 13:26:06] local.INFO: Processing buffer {"connection_id":125524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b83978012d1948c00720af000028006c25..."} 
[2026-07-08 13:26:06] local.INFO: Packet analysis {"connection_id":125524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b8"} 
[2026-07-08 13:26:06] local.INFO: Extracted packet for processing {"connection_id":125524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b8"} 
[2026-07-08 13:26:06] local.INFO: GPS Element Parsed {"raw_longitude":756631744,"raw_latitude":119582464,"longitude_deg":75.6631744,"latitude_deg":11.9582464,"altitude":40,"angle":108,"satellites":37,"speed":28,"hex_longitude":"2d1948c0","hex_latitude":"0720af00","is_valid_coordinates":true} 
[2026-07-08 13:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575292672001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4746445668220928,"note":"Value kept but may cause issues"} 
[2026-07-08 13:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1816991374025160704,"note":"Value kept but may cause issues"} 
[2026-07-08 13:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783497243000,"timestamp_ms":1783497243000,"timestamp_seconds":1783497243,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b83978"} 
[2026-07-08 13:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-08 13:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575292672001,"66":14233,"121":206,"28":31744,"24":28,"16":4746445668220928,"45":1816991374025160704},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 13:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575292672001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:26:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 13:26:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4746445668220928,"km_value":4746445668220.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1816991374025160704,"description":"Unknown IO ID 45"} 
[2026-07-08 13:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575292672001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1816991374025160704}} 
[2026-07-08 13:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":125524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:26:06] local.INFO: GPS data processed {"connection_id":125524,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:26:06] local.INFO: Acknowledgment sent {"connection_id":125524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:26:33] local.INFO: TCP Data received {"connection_id":126290,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b64578012d7f9f4005afd6000008006e2f..."} 
[2026-07-08 13:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b64578012d7f9f4005afd6000008006e2f..."} 
[2026-07-08 13:26:33] local.INFO: Processing buffer {"connection_id":126290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b64578012d7f9f4005afd6000008006e2f..."} 
[2026-07-08 13:26:33] local.INFO: Packet analysis {"connection_id":126290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b6"} 
[2026-07-08 13:26:33] local.INFO: Extracted packet for processing {"connection_id":126290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b6"} 
[2026-07-08 13:26:33] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409664,"longitude_deg":76.333856,"latitude_deg":9.5409664,"altitude":8,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd600","is_valid_coordinates":true} 
[2026-07-08 13:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575184384001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282893824,"note":"Value kept but may cause issues"} 
[2026-07-08 13:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783497115000,"timestamp_ms":1783497115000,"timestamp_seconds":1783497115,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b64578"} 
[2026-07-08 13:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-08 13:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575184384001,"66":25702,"249":206,"85":12544,"24":0,"16":342532734301765632,"45":9196139357282893824},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-08 13:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575184384001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:26:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-08 13:26:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282893824,"description":"Unknown IO ID 45"} 
[2026-07-08 13:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575184384001,"power":25702,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282893824}} 
[2026-07-08 13:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":126290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:26:33] local.INFO: GPS data processed {"connection_id":126290,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:26:33] local.INFO: Acknowledgment sent {"connection_id":126290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:26:37] local.INFO: TCP Data received {"connection_id":125524,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b84d00012d1955800720aca80027005724..."} 
[2026-07-08 13:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b84d00012d1955800720aca80027005724..."} 
[2026-07-08 13:26:37] local.INFO: Processing buffer {"connection_id":125524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b84d00012d1955800720aca80027005724..."} 
[2026-07-08 13:26:37] local.INFO: Packet analysis {"connection_id":125524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b8"} 
[2026-07-08 13:26:37] local.INFO: Extracted packet for processing {"connection_id":125524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b8"} 
[2026-07-08 13:26:37] local.INFO: GPS Element Parsed {"raw_longitude":756635008,"raw_latitude":119581864,"longitude_deg":75.6635008,"latitude_deg":11.9581864,"altitude":39,"angle":87,"satellites":36,"speed":28,"hex_longitude":"2d195580","hex_latitude":"0720aca8","is_valid_coordinates":true} 
[2026-07-08 13:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575294208001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4746600287043584,"note":"Value kept but may cause issues"} 
[2026-07-08 13:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821917186117009408,"note":"Value kept but may cause issues"} 
[2026-07-08 13:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783497248000,"timestamp_ms":1783497248000,"timestamp_seconds":1783497248,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b84d00"} 
[2026-07-08 13:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-08 13:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575294208001,"66":14428,"121":206,"28":31744,"24":28,"16":4746600287043584,"45":1821917186117009408},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 13:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575294208001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:26:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 13:26:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4746600287043584,"km_value":4746600287043.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821917186117009408,"description":"Unknown IO ID 45"} 
[2026-07-08 13:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575294208001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1821917186117009408}} 
[2026-07-08 13:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":125524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:26:38] local.INFO: GPS data processed {"connection_id":125524,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:26:38] local.INFO: Acknowledgment sent {"connection_id":125524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:26:45] local.INFO: TCP Data received {"connection_id":127534,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127534,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:26:45] local.INFO: Processing buffer {"connection_id":127534,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:26:45] local.INFO: IMEI packet received {"connection_id":127534,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":127534,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:26:50] local.INFO: TCP Data received {"connection_id":127534,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127534,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:26:50] local.INFO: Processing buffer {"connection_id":127534,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:26:50] local.INFO: IMEI packet received {"connection_id":127534,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":127534,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:26:51] local.INFO: TCP Data received {"connection_id":127534,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b91820012d0b130007029fc00005013421..."} 
[2026-07-08 13:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b91820012d0b130007029fc00005013421..."} 
[2026-07-08 13:26:51] local.INFO: Processing buffer {"connection_id":127534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b91820012d0b130007029fc00005013421..."} 
[2026-07-08 13:26:51] local.INFO: Packet analysis {"connection_id":127534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b9"} 
[2026-07-08 13:26:51] local.INFO: Extracted packet for processing {"connection_id":127534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b9"} 
[2026-07-08 13:26:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575231744001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783497300000,"timestamp_ms":1783497300000,"timestamp_seconds":1783497300,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b91820"} 
[2026-07-08 13:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 13:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127534,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127534,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575231744001,"66":12548,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575231744001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:26:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575231744001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":127534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451288,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:26:51] local.INFO: GPS data processed {"connection_id":127534,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:26:51] local.INFO: Acknowledgment sent {"connection_id":127534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:27:05] local.INFO: TCP Data received {"connection_id":126291,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:27:05] local.INFO: Processing buffer {"connection_id":126291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:27:05] local.INFO: IMEI packet received {"connection_id":126291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":126291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:27:06] local.INFO: TCP Data received {"connection_id":126292,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:27:06] local.INFO: Processing buffer {"connection_id":126292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:27:06] local.INFO: IMEI packet received {"connection_id":126292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":126292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:27:11] local.INFO: TCP Data received {"connection_id":126291,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:27:11] local.INFO: Processing buffer {"connection_id":126291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:27:11] local.INFO: IMEI packet received {"connection_id":126291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":126291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:27:11] local.INFO: TCP Data received {"connection_id":126292,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:27:11] local.INFO: Processing buffer {"connection_id":126292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:27:11] local.INFO: IMEI packet received {"connection_id":126292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":126292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:27:12] local.INFO: TCP Data received {"connection_id":126291,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ba3930012d197e8007209b980036016125..."} 
[2026-07-08 13:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ba3930012d197e8007209b980036016125..."} 
[2026-07-08 13:27:12] local.INFO: Processing buffer {"connection_id":126291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ba3930012d197e8007209b980036016125..."} 
[2026-07-08 13:27:12] local.INFO: Packet analysis {"connection_id":126291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ba"} 
[2026-07-08 13:27:12] local.INFO: Extracted packet for processing {"connection_id":126291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ba"} 
[2026-07-08 13:27:12] local.INFO: GPS Element Parsed {"raw_longitude":756645504,"raw_latitude":119577496,"longitude_deg":75.6645504,"latitude_deg":11.9577496,"altitude":54,"angle":353,"satellites":37,"speed":7,"hex_longitude":"2d197e80","hex_latitude":"07209b98","is_valid_coordinates":true} 
[2026-07-08 13:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575323648001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4747755633246208,"note":"Value kept but may cause issues"} 
[2026-07-08 13:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836764991136350208,"note":"Value kept but may cause issues"} 
[2026-07-08 13:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783497374000,"timestamp_ms":1783497374000,"timestamp_seconds":1783497374,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ba3930"} 
[2026-07-08 13:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:27: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-07-08 13: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 13:27: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-07-08 13:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":126291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":126291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":126291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575323648001,"66":14559,"121":206,"28":31744,"24":7,"16":4747755633246208,"45":1836764991136350208},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 13:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575323648001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:27:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 13:27:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4747755633246208,"km_value":4747755633246.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836764991136350208,"description":"Unknown IO ID 45"} 
[2026-07-08 13:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575323648001,"power":14559,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1836764991136350208}} 
[2026-07-08 13:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":126291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:27:12] local.INFO: GPS data processed {"connection_id":126291,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:27:12] local.INFO: Acknowledgment sent {"connection_id":126291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:27:12] local.INFO: TCP Data received {"connection_id":126292,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b64578012d7f9f4005afd6000008006e2f..."} 
[2026-07-08 13:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b64578012d7f9f4005afd6000008006e2f..."} 
[2026-07-08 13:27:12] local.INFO: Processing buffer {"connection_id":126292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b64578012d7f9f4005afd6000008006e2f..."} 
[2026-07-08 13:27:12] local.INFO: Packet analysis {"connection_id":126292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b6"} 
[2026-07-08 13:27:12] local.INFO: Extracted packet for processing {"connection_id":126292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b6"} 
[2026-07-08 13:27:12] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409664,"longitude_deg":76.333856,"latitude_deg":9.5409664,"altitude":8,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd600","is_valid_coordinates":true} 
[2026-07-08 13:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575184384001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282893824,"note":"Value kept but may cause issues"} 
[2026-07-08 13:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783497115000,"timestamp_ms":1783497115000,"timestamp_seconds":1783497115,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b64578"} 
[2026-07-08 13:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-08 13:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":126292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":126292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":126292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575184384001,"66":25702,"249":206,"85":12544,"24":0,"16":342532734301765632,"45":9196139357282893824},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-08 13:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575184384001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:27:12] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-08 13:27:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282893824,"description":"Unknown IO ID 45"} 
[2026-07-08 13:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575184384001,"power":25702,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282893824}} 
[2026-07-08 13:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":126292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:27:12] local.INFO: GPS data processed {"connection_id":126292,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:27:12] local.INFO: Acknowledgment sent {"connection_id":126292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:27:16] local.INFO: TCP Data received {"connection_id":126292,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b64578012d7f9f4005afd6000008006e2f..."} 
[2026-07-08 13:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b64578012d7f9f4005afd6000008006e2f..."} 
[2026-07-08 13:27:16] local.INFO: Processing buffer {"connection_id":126292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b64578012d7f9f4005afd6000008006e2f..."} 
[2026-07-08 13:27:16] local.INFO: Packet analysis {"connection_id":126292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b6"} 
[2026-07-08 13:27:16] local.INFO: Extracted packet for processing {"connection_id":126292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b6"} 
[2026-07-08 13:27:16] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409664,"longitude_deg":76.333856,"latitude_deg":9.5409664,"altitude":8,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd600","is_valid_coordinates":true} 
[2026-07-08 13:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575184384001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282893824,"note":"Value kept but may cause issues"} 
[2026-07-08 13:27:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783497115000,"timestamp_ms":1783497115000,"timestamp_seconds":1783497115,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b64578"} 
[2026-07-08 13:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:27:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-08 13:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:27:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":126292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":126292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":126292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575184384001,"66":25702,"249":206,"85":12544,"24":0,"16":342532734301765632,"45":9196139357282893824},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-08 13:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575184384001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:27:16] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-08 13:27:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282893824,"description":"Unknown IO ID 45"} 
[2026-07-08 13:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575184384001,"power":25702,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282893824}} 
[2026-07-08 13:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":126292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:27:16] local.INFO: GPS data processed {"connection_id":126292,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:27:16] local.INFO: Acknowledgment sent {"connection_id":126292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:27:22] local.INFO: TCP Data received {"connection_id":127534,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b91820012d0b130007029fc00005013421..."} 
[2026-07-08 13:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b91820012d0b130007029fc00005013421..."} 
[2026-07-08 13:27:22] local.INFO: Processing buffer {"connection_id":127534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b91820012d0b130007029fc00005013421..."} 
[2026-07-08 13:27:22] local.INFO: Packet analysis {"connection_id":127534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b9"} 
[2026-07-08 13:27:22] local.INFO: Extracted packet for processing {"connection_id":127534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b9"} 
[2026-07-08 13:27:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575231744001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783497300000,"timestamp_ms":1783497300000,"timestamp_seconds":1783497300,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b91820"} 
[2026-07-08 13:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 13:27:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":127534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":127534,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":127534,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575231744001,"66":12548,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575231744001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:27:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575231744001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":127534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451292,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:27:22] local.INFO: GPS data processed {"connection_id":127534,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:27:22] local.INFO: Acknowledgment sent {"connection_id":127534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:27:26] local.INFO: TCP Data received {"connection_id":125410,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125410,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:27:26] local.INFO: Processing buffer {"connection_id":125410,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:27:26] local.INFO: IMEI packet received {"connection_id":125410,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 13:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":125410,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:27:44] local.INFO: TCP Data received {"connection_id":126291,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ba44e8012d197e4007209c780036014d23..."} 
[2026-07-08 13:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ba44e8012d197e4007209c780036014d23..."} 
[2026-07-08 13:27:44] local.INFO: Processing buffer {"connection_id":126291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ba44e8012d197e4007209c780036014d23..."} 
[2026-07-08 13:27:44] local.INFO: Packet analysis {"connection_id":126291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ba"} 
[2026-07-08 13:27:44] local.INFO: Extracted packet for processing {"connection_id":126291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ba"} 
[2026-07-08 13:27:44] local.INFO: GPS Element Parsed {"raw_longitude":756645440,"raw_latitude":119577720,"longitude_deg":75.664544,"latitude_deg":11.957772,"altitude":54,"angle":333,"satellites":35,"speed":0,"hex_longitude":"2d197e40","hex_latitude":"07209c78","is_valid_coordinates":true} 
[2026-07-08 13:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575327744001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4747768518148096,"note":"Value kept but may cause issues"} 
[2026-07-08 13:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837046466113935360,"note":"Value kept but may cause issues"} 
[2026-07-08 13:27:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783497377000,"timestamp_ms":1783497377000,"timestamp_seconds":1783497377,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ba44e8"} 
[2026-07-08 13:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:27: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-07-08 13:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-08 13:27:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:27:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":126291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":126291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":126291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575327744001,"66":14450,"121":206,"28":31744,"24":0,"16":4747768518148096,"45":1837046466113935360},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 13:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575327744001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:27:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 13:27:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4747768518148096,"km_value":4747768518148.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837046466113935360,"description":"Unknown IO ID 45"} 
[2026-07-08 13:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575327744001,"power":14450,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1837046466113935360}} 
[2026-07-08 13:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":126291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:27:44] local.INFO: GPS data processed {"connection_id":126291,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:27:44] local.INFO: Acknowledgment sent {"connection_id":126291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:27:46] local.INFO: TCP Data received {"connection_id":126293,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126293,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:27:46] local.INFO: Processing buffer {"connection_id":126293,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:27:46] local.INFO: IMEI packet received {"connection_id":126293,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":126293,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:27:50] local.INFO: TCP Data received {"connection_id":126293,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126293,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:27:50] local.INFO: Processing buffer {"connection_id":126293,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:27:50] local.INFO: IMEI packet received {"connection_id":126293,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":126293,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:27:51] local.INFO: TCP Data received {"connection_id":126293,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b91820012d0b130007029fc00005013421..."} 
[2026-07-08 13:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b91820012d0b130007029fc00005013421..."} 
[2026-07-08 13:27:51] local.INFO: Processing buffer {"connection_id":126293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b91820012d0b130007029fc00005013421..."} 
[2026-07-08 13:27:51] local.INFO: Packet analysis {"connection_id":126293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b9"} 
[2026-07-08 13:27:51] local.INFO: Extracted packet for processing {"connection_id":126293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b9"} 
[2026-07-08 13:27:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575231744001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783497300000,"timestamp_ms":1783497300000,"timestamp_seconds":1783497300,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b91820"} 
[2026-07-08 13:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 13:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126293,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126293,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575231744001,"66":12548,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575231744001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:27:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575231744001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":126293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451294,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:27:51] local.INFO: GPS data processed {"connection_id":126293,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:27:51] local.INFO: Acknowledgment sent {"connection_id":126293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:27:56] local.INFO: TCP Data received {"connection_id":125525,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125525,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:27:56] local.INFO: Processing buffer {"connection_id":125525,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:27:56] local.INFO: IMEI packet received {"connection_id":125525,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 13:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":125525,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:28:00] local.INFO: TCP Data received {"connection_id":126294,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:28:00] local.INFO: Processing buffer {"connection_id":126294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:28:00] local.INFO: IMEI packet received {"connection_id":126294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":126294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:28:06] local.INFO: TCP Data received {"connection_id":126294,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:28:06] local.INFO: Processing buffer {"connection_id":126294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:28:06] local.INFO: IMEI packet received {"connection_id":126294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":126294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:28:06] local.INFO: TCP Data received {"connection_id":125526,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:28:06] local.INFO: Processing buffer {"connection_id":125526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:28:06] local.INFO: IMEI packet received {"connection_id":125526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":125526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:28:07] local.INFO: TCP Data received {"connection_id":125526,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:28:07] local.INFO: Processing buffer {"connection_id":125526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:28:07] local.INFO: IMEI packet received {"connection_id":125526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":125526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:28:07] local.INFO: TCP Data received {"connection_id":125525,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125525,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:28:07] local.INFO: Processing buffer {"connection_id":125525,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:28:07] local.INFO: IMEI packet received {"connection_id":125525,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 13:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":125525,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:28:07] local.INFO: TCP Data received {"connection_id":126294,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ba50a0012d197e4007209df00036015b26..."} 
[2026-07-08 13:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ba50a0012d197e4007209df00036015b26..."} 
[2026-07-08 13:28:07] local.INFO: Processing buffer {"connection_id":126294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ba50a0012d197e4007209df00036015b26..."} 
[2026-07-08 13:28:07] local.INFO: Packet analysis {"connection_id":126294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ba"} 
[2026-07-08 13:28:07] local.INFO: Extracted packet for processing {"connection_id":126294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ba"} 
[2026-07-08 13:28:07] local.INFO: GPS Element Parsed {"raw_longitude":756645440,"raw_latitude":119578096,"longitude_deg":75.664544,"latitude_deg":11.9578096,"altitude":54,"angle":347,"satellites":38,"speed":6,"hex_longitude":"2d197e40","hex_latitude":"07209df0","is_valid_coordinates":true} 
[2026-07-08 13:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575328512001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4747785698017280,"note":"Value kept but may cause issues"} 
[2026-07-08 13:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836976097369815040,"note":"Value kept but may cause issues"} 
[2026-07-08 13:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783497380000,"timestamp_ms":1783497380000,"timestamp_seconds":1783497380,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ba50a0"} 
[2026-07-08 13:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13: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-07-08 13:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575328512001,"66":14276,"121":206,"28":31744,"24":6,"16":4747785698017280,"45":1836976097369815040},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 13:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575328512001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:28:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 13:28:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4747785698017280,"km_value":4747785698017.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836976097369815040,"description":"Unknown IO ID 45"} 
[2026-07-08 13:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575328512001,"power":14276,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1836976097369815040}} 
[2026-07-08 13:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":126294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:28:07] local.INFO: GPS data processed {"connection_id":126294,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:28:07] local.INFO: Acknowledgment sent {"connection_id":126294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:28:07] local.INFO: TCP Data received {"connection_id":125526,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f40badd40012d7f9f4005afd6000008006e2e..."} 
[2026-07-08 13:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40badd40012d7f9f4005afd6000008006e2e..."} 
[2026-07-08 13:28:07] local.INFO: Processing buffer {"connection_id":125526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40badd40012d7f9f4005afd6000008006e2e..."} 
[2026-07-08 13:28:07] local.INFO: Packet analysis {"connection_id":125526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ba"} 
[2026-07-08 13:28:07] local.INFO: Extracted packet for processing {"connection_id":125526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ba"} 
[2026-07-08 13:28:07] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409664,"longitude_deg":76.333856,"latitude_deg":9.5409664,"altitude":8,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd600","is_valid_coordinates":true} 
[2026-07-08 13:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575261440001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282893824,"note":"Value kept but may cause issues"} 
[2026-07-08 13:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783497416000,"timestamp_ms":1783497416000,"timestamp_seconds":1783497416,"priority":1,"record_length":96,"hex_timestamp":"0000019f40badd40"} 
[2026-07-08 13:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 13:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575261440001,"66":25647,"33":206,"85":12544,"24":0,"16":342532734301765632,"45":9196139357282893824},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-08 13:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575261440001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:28:07] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-08 13:28:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282893824,"description":"Unknown IO ID 45"} 
[2026-07-08 13:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575261440001,"power":25647,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282893824}} 
[2026-07-08 13:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":125526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:28:07] local.INFO: GPS data processed {"connection_id":125526,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:28:07] local.INFO: Acknowledgment sent {"connection_id":125526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:28:11] local.INFO: TCP Data received {"connection_id":125526,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f40badd40012d7f9f4005afd6000008006e2e..."} 
[2026-07-08 13:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40badd40012d7f9f4005afd6000008006e2e..."} 
[2026-07-08 13:28:11] local.INFO: Processing buffer {"connection_id":125526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40badd40012d7f9f4005afd6000008006e2e..."} 
[2026-07-08 13:28:11] local.INFO: Packet analysis {"connection_id":125526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ba"} 
[2026-07-08 13:28:11] local.INFO: Extracted packet for processing {"connection_id":125526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ba"} 
[2026-07-08 13:28:11] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409664,"longitude_deg":76.333856,"latitude_deg":9.5409664,"altitude":8,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd600","is_valid_coordinates":true} 
[2026-07-08 13:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575261440001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282893824,"note":"Value kept but may cause issues"} 
[2026-07-08 13:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783497416000,"timestamp_ms":1783497416000,"timestamp_seconds":1783497416,"priority":1,"record_length":96,"hex_timestamp":"0000019f40badd40"} 
[2026-07-08 13:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 13:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575261440001,"66":25647,"33":206,"85":12544,"24":0,"16":342532734301765632,"45":9196139357282893824},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-08 13:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575261440001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:28:11] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-08 13:28:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282893824,"description":"Unknown IO ID 45"} 
[2026-07-08 13:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575261440001,"power":25647,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282893824}} 
[2026-07-08 13:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":125526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:28:11] local.INFO: GPS data processed {"connection_id":125526,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:28:11] local.INFO: Acknowledgment sent {"connection_id":125526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:28:24] local.INFO: TCP Data received {"connection_id":126293,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b91820012d0b130007029fc00005013421..."} 
[2026-07-08 13:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b91820012d0b130007029fc00005013421..."} 
[2026-07-08 13:28:24] local.INFO: Processing buffer {"connection_id":126293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b91820012d0b130007029fc00005013421..."} 
[2026-07-08 13:28:24] local.INFO: Packet analysis {"connection_id":126293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b9"} 
[2026-07-08 13:28:24] local.INFO: Extracted packet for processing {"connection_id":126293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b9"} 
[2026-07-08 13:28:24] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575231744001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783497300000,"timestamp_ms":1783497300000,"timestamp_seconds":1783497300,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b91820"} 
[2026-07-08 13:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:28:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 13:28: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-07-08 13: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-07-08 13:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":126293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":126293,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":126293,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575231744001,"66":12548,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575231744001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:28:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575231744001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":126293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451298,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:28:24] local.INFO: GPS data processed {"connection_id":126293,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:28:24] local.INFO: Acknowledgment sent {"connection_id":126293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:28:38] local.INFO: TCP Data received {"connection_id":126294,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40bb90f0012d1992800720b340003b005225..."} 
[2026-07-08 13:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40bb90f0012d1992800720b340003b005225..."} 
[2026-07-08 13:28:38] local.INFO: Processing buffer {"connection_id":126294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40bb90f0012d1992800720b340003b005225..."} 
[2026-07-08 13:28:38] local.INFO: Packet analysis {"connection_id":126294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40bb"} 
[2026-07-08 13:28:38] local.INFO: Extracted packet for processing {"connection_id":126294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40bb"} 
[2026-07-08 13:28:38] local.INFO: GPS Element Parsed {"raw_longitude":756650624,"raw_latitude":119583552,"longitude_deg":75.6650624,"latitude_deg":11.9583552,"altitude":59,"angle":82,"satellites":37,"speed":10,"hex_longitude":"2d199280","hex_latitude":"0720b340","is_valid_coordinates":true} 
[2026-07-08 13:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575348992001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4748322568929280,"note":"Value kept but may cause issues"} 
[2026-07-08 13:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841550065742841856,"note":"Value kept but may cause issues"} 
[2026-07-08 13:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783497462000,"timestamp_ms":1783497462000,"timestamp_seconds":1783497462,"priority":1,"record_length":96,"hex_timestamp":"0000019f40bb90f0"} 
[2026-07-08 13:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-08 13:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575348992001,"66":14341,"121":206,"28":31744,"24":10,"16":4748322568929280,"45":1841550065742841856},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 13:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575348992001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:28:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 13:28:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4748322568929280,"km_value":4748322568929.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841550065742841856,"description":"Unknown IO ID 45"} 
[2026-07-08 13:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575348992001,"power":14341,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1841550065742841856}} 
[2026-07-08 13:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":126294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:28:38] local.INFO: GPS data processed {"connection_id":126294,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:28:38] local.INFO: Acknowledgment sent {"connection_id":126294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:28:45] local.INFO: TCP Data received {"connection_id":125412,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125412,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:28:45] local.INFO: Processing buffer {"connection_id":125412,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:28:45] local.INFO: IMEI packet received {"connection_id":125412,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":125412,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:28:50] local.INFO: TCP Data received {"connection_id":125412,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125412,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:28:50] local.INFO: Processing buffer {"connection_id":125412,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:28:50] local.INFO: IMEI packet received {"connection_id":125412,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":125412,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:28:51] local.INFO: TCP Data received {"connection_id":125412,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b91820012d0b130007029fc00005013421..."} 
[2026-07-08 13:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b91820012d0b130007029fc00005013421..."} 
[2026-07-08 13:28:51] local.INFO: Processing buffer {"connection_id":125412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b91820012d0b130007029fc00005013421..."} 
[2026-07-08 13:28:51] local.INFO: Packet analysis {"connection_id":125412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b9"} 
[2026-07-08 13:28:51] local.INFO: Extracted packet for processing {"connection_id":125412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b9"} 
[2026-07-08 13:28:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575231744001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783497300000,"timestamp_ms":1783497300000,"timestamp_seconds":1783497300,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b91820"} 
[2026-07-08 13:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 13:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125412,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125412,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575231744001,"66":12548,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575231744001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:28:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575231744001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":125412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451300,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:28:51] local.INFO: GPS data processed {"connection_id":125412,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:28:51] local.INFO: Acknowledgment sent {"connection_id":125412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:28:55] local.INFO: TCP Data received {"connection_id":125413,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:28:55] local.INFO: Processing buffer {"connection_id":125413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:28:55] local.INFO: IMEI packet received {"connection_id":125413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":125413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:29:00] local.INFO: TCP Data received {"connection_id":127535,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:29:00] local.INFO: Processing buffer {"connection_id":127535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:29:00] local.INFO: IMEI packet received {"connection_id":127535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":127535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:29:01] local.INFO: TCP Data received {"connection_id":125413,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:29:01] local.INFO: Processing buffer {"connection_id":125413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:29:01] local.INFO: IMEI packet received {"connection_id":125413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":125413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:29:02] local.INFO: TCP Data received {"connection_id":125413,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f40badd40012d7f9f4005afd6000008006e2e..."} 
[2026-07-08 13:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40badd40012d7f9f4005afd6000008006e2e..."} 
[2026-07-08 13:29:02] local.INFO: Processing buffer {"connection_id":125413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40badd40012d7f9f4005afd6000008006e2e..."} 
[2026-07-08 13:29:02] local.INFO: Packet analysis {"connection_id":125413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ba"} 
[2026-07-08 13:29:02] local.INFO: Extracted packet for processing {"connection_id":125413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ba"} 
[2026-07-08 13:29:02] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409664,"longitude_deg":76.333856,"latitude_deg":9.5409664,"altitude":8,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd600","is_valid_coordinates":true} 
[2026-07-08 13:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575261440001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282893824,"note":"Value kept but may cause issues"} 
[2026-07-08 13:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783497416000,"timestamp_ms":1783497416000,"timestamp_seconds":1783497416,"priority":1,"record_length":96,"hex_timestamp":"0000019f40badd40"} 
[2026-07-08 13:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:29:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 13:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:29:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575261440001,"66":25647,"33":206,"85":12544,"24":0,"16":342532734301765632,"45":9196139357282893824},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-08 13:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575261440001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:29:02] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-08 13:29:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282893824,"description":"Unknown IO ID 45"} 
[2026-07-08 13:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575261440001,"power":25647,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282893824}} 
[2026-07-08 13:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":125413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:29:02] local.INFO: GPS data processed {"connection_id":125413,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:29:02] local.INFO: Acknowledgment sent {"connection_id":125413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:29:05] local.INFO: TCP Data received {"connection_id":127535,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:29:05] local.INFO: Processing buffer {"connection_id":127535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:29:05] local.INFO: IMEI packet received {"connection_id":127535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":127535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:29:06] local.INFO: TCP Data received {"connection_id":127535,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40bba860012d199c000720b370003a005f27..."} 
[2026-07-08 13:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40bba860012d199c000720b370003a005f27..."} 
[2026-07-08 13:29:06] local.INFO: Processing buffer {"connection_id":127535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40bba860012d199c000720b370003a005f27..."} 
[2026-07-08 13:29:06] local.INFO: Packet analysis {"connection_id":127535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40bb"} 
[2026-07-08 13:29:06] local.INFO: Extracted packet for processing {"connection_id":127535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40bb"} 
[2026-07-08 13:29:06] local.INFO: GPS Element Parsed {"raw_longitude":756653056,"raw_latitude":119583600,"longitude_deg":75.6653056,"latitude_deg":11.95836,"altitude":58,"angle":95,"satellites":39,"speed":18,"hex_longitude":"2d199c00","hex_latitude":"0720b370","is_valid_coordinates":true} 
[2026-07-08 13:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575350272001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4748438533046272,"note":"Value kept but may cause issues"} 
[2026-07-08 13:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1842675965649698816,"note":"Value kept but may cause issues"} 
[2026-07-08 13:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783497468000,"timestamp_ms":1783497468000,"timestamp_seconds":1783497468,"priority":1,"record_length":96,"hex_timestamp":"0000019f40bba860"} 
[2026-07-08 13:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-08 13:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6966786781,"note":"Value kept but may cause issues"} 
[2026-07-08 13:29:06] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503672079122432,"note":"Value kept but may cause issues"} 
[2026-07-08 13:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3732406272,"note":"Value kept but may cause issues"} 
[2026-07-08 13:29:06] local.WARNING: Large IO value detected {"io_id":64,"raw_value":84752047412814003,"note":"Value kept but may cause issues"} 
[2026-07-08 13:29:06] local.WARNING: Large IO value detected {"io_id":32,"raw_value":16325991668385792,"note":"Value kept but may cause issues"} 
[2026-07-08 13:29:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-08 13:29:06] local.WARNING: Large IO value detected {"io_id":138,"raw_value":2147950770,"note":"Value kept but may cause issues"} 
[2026-07-08 13:29:06] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837671,"note":"Value kept but may cause issues"} 
[2026-07-08 13:29:06] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,222,159,125,45,128,179,59,36,10,66,43,178,37,27,1,240,38,64,32,4,113,205,3,229,138,239,55,2,7,58,206],"length":529,"final_offset":659,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-08 13:29:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251488367105671168,"timestamp_seconds":4251488367105671.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 13:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575350272001,"66":14363,"121":206,"28":31744,"24":18,"16":4748438533046272,"45":1842675965649698816},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 13:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575350272001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:29:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 13:29:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4748438533046272,"km_value":4748438533046.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1842675965649698816,"description":"Unknown IO ID 45"} 
[2026-07-08 13:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575350272001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1842675965649698816}} 
[2026-07-08 13:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":127535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:29:07] local.INFO: GPS data processed {"connection_id":127535,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:29:07] local.INFO: Acknowledgment sent {"connection_id":127535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:29:23] local.INFO: TCP Data received {"connection_id":125412,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b91820012d0b130007029fc00005013421..."} 
[2026-07-08 13:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b91820012d0b130007029fc00005013421..."} 
[2026-07-08 13:29:23] local.INFO: Processing buffer {"connection_id":125412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b91820012d0b130007029fc00005013421..."} 
[2026-07-08 13:29:23] local.INFO: Packet analysis {"connection_id":125412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b9"} 
[2026-07-08 13:29:23] local.INFO: Extracted packet for processing {"connection_id":125412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b9"} 
[2026-07-08 13:29:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575231744001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783497300000,"timestamp_ms":1783497300000,"timestamp_seconds":1783497300,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b91820"} 
[2026-07-08 13:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:29:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 13:29:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":125412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":125412,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":125412,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:29:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575231744001,"66":12548,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575231744001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:29:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575231744001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":125412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451303,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:29:23] local.INFO: GPS data processed {"connection_id":125412,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:29:23] local.INFO: Acknowledgment sent {"connection_id":125412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:29:33] local.INFO: TCP Data received {"connection_id":125413,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f40badd40012d7f9f4005afd6000008006e2e..."} 
[2026-07-08 13:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40badd40012d7f9f4005afd6000008006e2e..."} 
[2026-07-08 13:29:33] local.INFO: Processing buffer {"connection_id":125413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40badd40012d7f9f4005afd6000008006e2e..."} 
[2026-07-08 13:29:33] local.INFO: Packet analysis {"connection_id":125413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ba"} 
[2026-07-08 13:29:33] local.INFO: Extracted packet for processing {"connection_id":125413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ba"} 
[2026-07-08 13:29:33] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409664,"longitude_deg":76.333856,"latitude_deg":9.5409664,"altitude":8,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd600","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575261440001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282893824,"note":"Value kept but may cause issues"} 
[2026-07-08 13:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783497416000,"timestamp_ms":1783497416000,"timestamp_seconds":1783497416,"priority":1,"record_length":96,"hex_timestamp":"0000019f40badd40"} 
[2026-07-08 13:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 13:29:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575261440001,"66":25647,"33":206,"85":12544,"24":0,"16":342532734301765632,"45":9196139357282893824},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-08 13:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575261440001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:29:33] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-08 13:29:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282893824,"description":"Unknown IO ID 45"} 
[2026-07-08 13:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575261440001,"power":25647,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282893824}} 
[2026-07-08 13:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":125413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:29:33] local.INFO: GPS data processed {"connection_id":125413,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:29:33] local.INFO: Acknowledgment sent {"connection_id":125413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:29:38] local.INFO: TCP Data received {"connection_id":127535,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40bc67c8012d19bc40072056a8002c00ab25..."} 
[2026-07-08 13:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40bc67c8012d19bc40072056a8002c00ab25..."} 
[2026-07-08 13:29:38] local.INFO: Processing buffer {"connection_id":127535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40bc67c8012d19bc40072056a8002c00ab25..."} 
[2026-07-08 13:29:38] local.INFO: Packet analysis {"connection_id":127535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40bc"} 
[2026-07-08 13:29:38] local.INFO: Extracted packet for processing {"connection_id":127535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40bc"} 
[2026-07-08 13:29:38] local.INFO: GPS Element Parsed {"raw_longitude":756661312,"raw_latitude":119559848,"longitude_deg":75.6661312,"latitude_deg":11.9559848,"altitude":44,"angle":171,"satellites":37,"speed":37,"hex_longitude":"2d19bc40","hex_latitude":"072056a8","is_valid_coordinates":true} 
[2026-07-08 13:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575361536001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4749933181665280,"note":"Value kept but may cause issues"} 
[2026-07-08 13:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851401689924059136,"note":"Value kept but may cause issues"} 
[2026-07-08 13:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783497517000,"timestamp_ms":1783497517000,"timestamp_seconds":1783497517,"priority":1,"record_length":96,"hex_timestamp":"0000019f40bc67c8"} 
[2026-07-08 13:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-08 13:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575361536001,"66":14298,"121":206,"28":31744,"24":37,"16":4749933181665280,"45":1851401689924059136},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 13:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575361536001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:29:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 13:29:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4749933181665280,"km_value":4749933181665.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851401689924059136,"description":"Unknown IO ID 45"} 
[2026-07-08 13:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575361536001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1851401689924059136}} 
[2026-07-08 13:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":127535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:29:38] local.INFO: GPS data processed {"connection_id":127535,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:29:38] local.INFO: Acknowledgment sent {"connection_id":127535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:29:45] local.INFO: TCP Data received {"connection_id":126295,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126295,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:29:45] local.INFO: Processing buffer {"connection_id":126295,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:29:45] local.INFO: IMEI packet received {"connection_id":126295,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":126295,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:29:50] local.INFO: TCP Data received {"connection_id":126295,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126295,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:29:50] local.INFO: Processing buffer {"connection_id":126295,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:29:50] local.INFO: IMEI packet received {"connection_id":126295,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":126295,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:29:50] local.INFO: TCP Data received {"connection_id":126295,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f40b91820012d0b130007029fc00005013421..."} 
[2026-07-08 13:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40b91820012d0b130007029fc00005013421..."} 
[2026-07-08 13:29:50] local.INFO: Processing buffer {"connection_id":126295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40b91820012d0b130007029fc00005013421..."} 
[2026-07-08 13:29:50] local.INFO: Packet analysis {"connection_id":126295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40b9"} 
[2026-07-08 13:29:50] local.INFO: Extracted packet for processing {"connection_id":126295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40b9"} 
[2026-07-08 13:29:50] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575231744001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783497300000,"timestamp_ms":1783497300000,"timestamp_seconds":1783497300,"priority":1,"record_length":96,"hex_timestamp":"0000019f40b91820"} 
[2026-07-08 13:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 13:29:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:29:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":126295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":126295,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":126295,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:29:50] 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-07-08 13:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575231744001,"66":12548,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 13:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575231744001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:29:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575231744001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":126295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451306,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:29:51] local.INFO: GPS data processed {"connection_id":126295,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:29:51] local.INFO: Acknowledgment sent {"connection_id":126295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:29:55] local.INFO: TCP Data received {"connection_id":127536,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:29:55] local.INFO: Processing buffer {"connection_id":127536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:29:55] local.INFO: IMEI packet received {"connection_id":127536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":127536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:30:01] local.INFO: TCP Data received {"connection_id":125414,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:30:01] local.INFO: Processing buffer {"connection_id":125414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:30:01] local.INFO: IMEI packet received {"connection_id":125414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":125414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:30:01] local.INFO: TCP Data received {"connection_id":127536,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:30:01] local.INFO: Processing buffer {"connection_id":127536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:30:01] local.INFO: IMEI packet received {"connection_id":127536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":127536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:30:02] local.INFO: TCP Data received {"connection_id":127536,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40badd40012d7f9f4005afd6000008006e2e..."} 
[2026-07-08 13:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40badd40012d7f9f4005afd6000008006e2e..."} 
[2026-07-08 13:30:02] local.INFO: Processing buffer {"connection_id":127536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40badd40012d7f9f4005afd6000008006e2e..."} 
[2026-07-08 13:30:02] local.INFO: Packet analysis {"connection_id":127536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ba"} 
[2026-07-08 13:30:02] local.INFO: Extracted packet for processing {"connection_id":127536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ba"} 
[2026-07-08 13:30:02] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409664,"longitude_deg":76.333856,"latitude_deg":9.5409664,"altitude":8,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd600","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575261440001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282893824,"note":"Value kept but may cause issues"} 
[2026-07-08 13:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783497416000,"timestamp_ms":1783497416000,"timestamp_seconds":1783497416,"priority":1,"record_length":96,"hex_timestamp":"0000019f40badd40"} 
[2026-07-08 13:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 13:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575261440001,"66":25647,"33":206,"85":12544,"24":0,"16":342532734301765632,"45":9196139357282893824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-08 13:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575261440001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:30:02] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-08 13:30:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282893824,"description":"Unknown IO ID 45"} 
[2026-07-08 13:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575261440001,"power":25647,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282893824}} 
[2026-07-08 13:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":127536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:30:02] local.INFO: GPS data processed {"connection_id":127536,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:30:02] local.INFO: Acknowledgment sent {"connection_id":127536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:30:08] local.INFO: TCP Data received {"connection_id":125414,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:30:08] local.INFO: Processing buffer {"connection_id":125414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:30:08] local.INFO: IMEI packet received {"connection_id":125414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":125414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:30:17] local.INFO: TCP Data received {"connection_id":125414,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40bc8af0012d19c000072036e0002b009f25..."} 
[2026-07-08 13:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40bc8af0012d19c000072036e0002b009f25..."} 
[2026-07-08 13:30:17] local.INFO: Processing buffer {"connection_id":125414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40bc8af0012d19c000072036e0002b009f25..."} 
[2026-07-08 13:30:17] local.INFO: Packet analysis {"connection_id":125414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40bc"} 
[2026-07-08 13:30:17] local.INFO: Extracted packet for processing {"connection_id":125414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40bc"} 
[2026-07-08 13:30:17] local.INFO: GPS Element Parsed {"raw_longitude":756662272,"raw_latitude":119551712,"longitude_deg":75.6662272,"latitude_deg":11.9551712,"altitude":43,"angle":159,"satellites":37,"speed":35,"hex_longitude":"2d19c000","hex_latitude":"072036e0","is_valid_coordinates":true} 
[2026-07-08 13:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575364352001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4750332613623808,"note":"Value kept but may cause issues"} 
[2026-07-08 13:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854427545921300480,"note":"Value kept but may cause issues"} 
[2026-07-08 13:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783497526000,"timestamp_ms":1783497526000,"timestamp_seconds":1783497526,"priority":1,"record_length":96,"hex_timestamp":"0000019f40bc8af0"} 
[2026-07-08 13:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-08 13:30:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:30:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":125414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":125414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":125414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575364352001,"66":14483,"121":206,"28":31744,"24":35,"16":4750332613623808,"45":1854427545921300480},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 13:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575364352001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:30:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 13:30:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4750332613623808,"km_value":4750332613623.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854427545921300480,"description":"Unknown IO ID 45"} 
[2026-07-08 13:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575364352001,"power":14483,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1854427545921300480}} 
[2026-07-08 13:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":125414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:30:17] local.INFO: GPS data processed {"connection_id":125414,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:30:17] local.INFO: Acknowledgment sent {"connection_id":125414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:30:22] local.INFO: TCP Data received {"connection_id":126295,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f40bdafe8012d0b130007029fc00005013423..."} 
[2026-07-08 13:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40bdafe8012d0b130007029fc00005013423..."} 
[2026-07-08 13:30:22] local.INFO: Processing buffer {"connection_id":126295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40bdafe8012d0b130007029fc00005013423..."} 
[2026-07-08 13:30:22] local.INFO: Packet analysis {"connection_id":126295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40bd"} 
[2026-07-08 13:30:22] local.INFO: Extracted packet for processing {"connection_id":126295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40bd"} 
[2026-07-08 13:30:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 13:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575308800001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783497601000,"timestamp_ms":1783497601000,"timestamp_seconds":1783497601,"priority":1,"record_length":96,"hex_timestamp":"0000019f40bdafe8"} 
[2026-07-08 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-07-08 13:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 13:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31879244162269253,"note":"Value kept but may cause issues"} 
[2026-07-08 13:30:22] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-07-08 13:30:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 13:30:22] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":83886080,"corrected_to":0} 
[2026-07-08 13:30:22] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2797142017,"note":"Value kept but may cause issues"} 
[2026-07-08 13:30:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-07-08 13:30:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-07-08 13:30:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3422879744,"note":"Value kept but may cause issues"} 
[2026-07-08 13:30:22] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,17,94,24,241,157,16,204,159,128,45,5,34,10,66,232,80,240,69,227,64,2,1,4,113,205,33,19,192,239,49,83,7],"length":485,"final_offset":615,"validated_count":33,"validation_warnings":[{"io_id":204,"original":83886080,"validated":0},{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-07-08 13:30:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360626761504915456,"timestamp_seconds":360626761504915.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 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-07-08 13:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126295,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126295,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:30:22] 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-07-08 13:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575308800001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 13:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575308800001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:30:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575308800001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":126295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451309,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:30:22] local.INFO: GPS data processed {"connection_id":126295,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:30:22] local.INFO: Acknowledgment sent {"connection_id":126295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:30:33] local.INFO: TCP Data received {"connection_id":127536,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40badd40012d7f9f4005afd6000008006e2e..."} 
[2026-07-08 13:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40badd40012d7f9f4005afd6000008006e2e..."} 
[2026-07-08 13:30:33] local.INFO: Processing buffer {"connection_id":127536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40badd40012d7f9f4005afd6000008006e2e..."} 
[2026-07-08 13:30:33] local.INFO: Packet analysis {"connection_id":127536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ba"} 
[2026-07-08 13:30:33] local.INFO: Extracted packet for processing {"connection_id":127536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ba"} 
[2026-07-08 13:30:33] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409664,"longitude_deg":76.333856,"latitude_deg":9.5409664,"altitude":8,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd600","is_valid_coordinates":true} 
[2026-07-08 13:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575261440001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282893824,"note":"Value kept but may cause issues"} 
[2026-07-08 13:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783497416000,"timestamp_ms":1783497416000,"timestamp_seconds":1783497416,"priority":1,"record_length":96,"hex_timestamp":"0000019f40badd40"} 
[2026-07-08 13:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 13:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:30:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:30: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-07-08 13:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575261440001,"66":25647,"33":206,"85":12544,"24":0,"16":342532734301765632,"45":9196139357282893824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-08 13:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575261440001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:30:33] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-08 13:30:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282893824,"description":"Unknown IO ID 45"} 
[2026-07-08 13:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575261440001,"power":25647,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282893824}} 
[2026-07-08 13:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":127536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:30:33] local.INFO: GPS data processed {"connection_id":127536,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:30:33] local.INFO: Acknowledgment sent {"connection_id":127536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:30:47] local.INFO: TCP Data received {"connection_id":125528,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125528,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:30:47] local.INFO: Processing buffer {"connection_id":125528,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:30:47] local.INFO: IMEI packet received {"connection_id":125528,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":125528,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:30:49] local.INFO: TCP Data received {"connection_id":125528,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125528,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:30:49] local.INFO: Processing buffer {"connection_id":125528,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:30:49] local.INFO: IMEI packet received {"connection_id":125528,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":125528,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:30:50] local.INFO: TCP Data received {"connection_id":125528,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f40bdafe8012d0b130007029fc00005013423..."} 
[2026-07-08 13:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40bdafe8012d0b130007029fc00005013423..."} 
[2026-07-08 13:30:50] local.INFO: Processing buffer {"connection_id":125528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40bdafe8012d0b130007029fc00005013423..."} 
[2026-07-08 13:30:50] local.INFO: Packet analysis {"connection_id":125528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40bd"} 
[2026-07-08 13:30:50] local.INFO: Extracted packet for processing {"connection_id":125528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40bd"} 
[2026-07-08 13:30:50] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575308800001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:30:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783497601000,"timestamp_ms":1783497601000,"timestamp_seconds":1783497601,"priority":1,"record_length":96,"hex_timestamp":"0000019f40bdafe8"} 
[2026-07-08 13:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 13:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31879244162269253,"note":"Value kept but may cause issues"} 
[2026-07-08 13:30:50] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-07-08 13:30:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 13:30:50] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":83886080,"corrected_to":0} 
[2026-07-08 13:30:50] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2797142017,"note":"Value kept but may cause issues"} 
[2026-07-08 13:30:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-07-08 13:30:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-07-08 13:30:50] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3422879744,"note":"Value kept but may cause issues"} 
[2026-07-08 13:30:50] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,17,94,24,241,157,16,204,159,128,45,5,34,10,66,232,80,240,69,227,64,2,1,4,113,205,33,19,192,239,49,83,7],"length":485,"final_offset":615,"validated_count":33,"validation_warnings":[{"io_id":204,"original":83886080,"validated":0},{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-07-08 13:30:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360626761504915456,"timestamp_seconds":360626761504915.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 13:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":125528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":125528,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":125528,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:30:50] 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-07-08 13:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575308800001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 13:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575308800001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:30:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:30:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575308800001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":125528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451311,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:30:50] local.INFO: GPS data processed {"connection_id":125528,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:30:50] local.INFO: Acknowledgment sent {"connection_id":125528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:30:55] local.INFO: TCP Data received {"connection_id":125528,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f40bdafe8012d0b130007029fc00005013423..."} 
[2026-07-08 13:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40bdafe8012d0b130007029fc00005013423..."} 
[2026-07-08 13:30:55] local.INFO: Processing buffer {"connection_id":125528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40bdafe8012d0b130007029fc00005013423..."} 
[2026-07-08 13:30:55] local.INFO: Packet analysis {"connection_id":125528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40bd"} 
[2026-07-08 13:30:55] local.INFO: Extracted packet for processing {"connection_id":125528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40bd"} 
[2026-07-08 13:30:55] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575308800001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783497601000,"timestamp_ms":1783497601000,"timestamp_seconds":1783497601,"priority":1,"record_length":96,"hex_timestamp":"0000019f40bdafe8"} 
[2026-07-08 13:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 13:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31879244162269253,"note":"Value kept but may cause issues"} 
[2026-07-08 13:30:55] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-07-08 13:30:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 13:30:55] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":83886080,"corrected_to":0} 
[2026-07-08 13:30:55] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2797142017,"note":"Value kept but may cause issues"} 
[2026-07-08 13:30:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-07-08 13:30:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-07-08 13:30:55] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3422879744,"note":"Value kept but may cause issues"} 
[2026-07-08 13:30:55] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,17,94,24,241,157,16,204,159,128,45,5,34,10,66,232,80,240,69,227,64,2,1,4,113,205,33,19,192,239,49,83,7],"length":485,"final_offset":615,"validated_count":33,"validation_warnings":[{"io_id":204,"original":83886080,"validated":0},{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-07-08 13:30:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360626761504915456,"timestamp_seconds":360626761504915.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 13:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":125528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":125528,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":125528,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:30:55] 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-07-08 13:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575308800001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 13:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575308800001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:30:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575308800001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":125528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451312,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:30:55] local.INFO: GPS data processed {"connection_id":125528,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:30:55] local.INFO: Acknowledgment sent {"connection_id":125528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:31:01] local.INFO: TCP Data received {"connection_id":127538,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:31:01] local.INFO: Processing buffer {"connection_id":127538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:31:01] local.INFO: IMEI packet received {"connection_id":127538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":127538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:31:06] local.INFO: TCP Data received {"connection_id":127538,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:31:06] local.INFO: Processing buffer {"connection_id":127538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:31:06] local.INFO: IMEI packet received {"connection_id":127538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":127538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:31:06] local.INFO: TCP Data received {"connection_id":126297,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:31:06] local.INFO: Processing buffer {"connection_id":126297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:31:06] local.INFO: IMEI packet received {"connection_id":126297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":126297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:31:07] local.INFO: TCP Data received {"connection_id":127538,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f40badd40012d7f9f4005afd6000008006e2e..."} 
[2026-07-08 13:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40badd40012d7f9f4005afd6000008006e2e..."} 
[2026-07-08 13:31:07] local.INFO: Processing buffer {"connection_id":127538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40badd40012d7f9f4005afd6000008006e2e..."} 
[2026-07-08 13:31:07] local.INFO: Packet analysis {"connection_id":127538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ba"} 
[2026-07-08 13:31:07] local.INFO: Extracted packet for processing {"connection_id":127538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ba"} 
[2026-07-08 13:31:07] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409664,"longitude_deg":76.333856,"latitude_deg":9.5409664,"altitude":8,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd600","is_valid_coordinates":true} 
[2026-07-08 13:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575261440001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282893824,"note":"Value kept but may cause issues"} 
[2026-07-08 13:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783497416000,"timestamp_ms":1783497416000,"timestamp_seconds":1783497416,"priority":1,"record_length":96,"hex_timestamp":"0000019f40badd40"} 
[2026-07-08 13:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 13:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575261440001,"66":25647,"33":206,"85":12544,"24":0,"16":342532734301765632,"45":9196139357282893824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-08 13:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575261440001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:31:07] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-08 13:31:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282893824,"description":"Unknown IO ID 45"} 
[2026-07-08 13:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575261440001,"power":25647,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282893824}} 
[2026-07-08 13:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":127538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:31:07] local.INFO: GPS data processed {"connection_id":127538,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:31:07] local.INFO: Acknowledgment sent {"connection_id":127538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:31:08] local.INFO: TCP Data received {"connection_id":126297,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:31:08] local.INFO: Processing buffer {"connection_id":126297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:31:08] local.INFO: IMEI packet received {"connection_id":126297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":126297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:31:10] local.INFO: TCP Data received {"connection_id":126297,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40bd84f0012d1a0d0007204138003b004721..."} 
[2026-07-08 13:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40bd84f0012d1a0d0007204138003b004721..."} 
[2026-07-08 13:31:10] local.INFO: Processing buffer {"connection_id":126297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40bd84f0012d1a0d0007204138003b004721..."} 
[2026-07-08 13:31:10] local.INFO: Packet analysis {"connection_id":126297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40bd"} 
[2026-07-08 13:31:10] local.INFO: Extracted packet for processing {"connection_id":126297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40bd"} 
[2026-07-08 13:31:10] local.INFO: GPS Element Parsed {"raw_longitude":756681984,"raw_latitude":119554360,"longitude_deg":75.6681984,"latitude_deg":11.955436,"altitude":59,"angle":71,"satellites":33,"speed":15,"hex_longitude":"2d1a0d00","hex_latitude":"07204138","is_valid_coordinates":true} 
[2026-07-08 13:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575378688001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4751612513878016,"note":"Value kept but may cause issues"} 
[2026-07-08 13:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1871175307033204736,"note":"Value kept but may cause issues"} 
[2026-07-08 13:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783497590000,"timestamp_ms":1783497590000,"timestamp_seconds":1783497590,"priority":1,"record_length":96,"hex_timestamp":"0000019f40bd84f0"} 
[2026-07-08 13:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-08 13:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575378688001,"66":14407,"121":206,"28":31744,"24":15,"16":4751612513878016,"45":1871175307033204736},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 13:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575378688001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:31:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 13:31:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4751612513878016,"km_value":4751612513878.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1871175307033204736,"description":"Unknown IO ID 45"} 
[2026-07-08 13:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575378688001,"power":14407,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1871175307033204736}} 
[2026-07-08 13:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":126297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:31:10] local.INFO: GPS data processed {"connection_id":126297,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:31:10] local.INFO: Acknowledgment sent {"connection_id":126297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:31:11] local.INFO: TCP Data received {"connection_id":126297,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40bd90a8012d1a114007204208003c005222..."} 
[2026-07-08 13:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40bd90a8012d1a114007204208003c005222..."} 
[2026-07-08 13:31:11] local.INFO: Processing buffer {"connection_id":126297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40bd90a8012d1a114007204208003c005222..."} 
[2026-07-08 13:31:11] local.INFO: Packet analysis {"connection_id":126297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40bd"} 
[2026-07-08 13:31:11] local.INFO: Extracted packet for processing {"connection_id":126297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40bd"} 
[2026-07-08 13:31:11] local.INFO: GPS Element Parsed {"raw_longitude":756683072,"raw_latitude":119554568,"longitude_deg":75.6683072,"latitude_deg":11.9554568,"altitude":60,"angle":82,"satellites":34,"speed":15,"hex_longitude":"2d1a1140","hex_latitude":"07204208","is_valid_coordinates":true} 
[2026-07-08 13:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575383040001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4751664053485568,"note":"Value kept but may cause issues"} 
[2026-07-08 13:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1877156650289281024,"note":"Value kept but may cause issues"} 
[2026-07-08 13:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783497593000,"timestamp_ms":1783497593000,"timestamp_seconds":1783497593,"priority":1,"record_length":96,"hex_timestamp":"0000019f40bd90a8"} 
[2026-07-08 13:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-08 13:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575383040001,"66":14298,"121":206,"28":31744,"24":15,"16":4751664053485568,"45":1877156650289281024},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 13:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575383040001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:31:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 13:31:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4751664053485568,"km_value":4751664053485.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1877156650289281024,"description":"Unknown IO ID 45"} 
[2026-07-08 13:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575383040001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1877156650289281024}} 
[2026-07-08 13:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":126297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:31:11] local.INFO: GPS data processed {"connection_id":126297,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:31:11] local.INFO: Acknowledgment sent {"connection_id":126297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:31:27] local.INFO: TCP Data received {"connection_id":125528,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f40bdafe8012d0b130007029fc00005013423..."} 
[2026-07-08 13:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40bdafe8012d0b130007029fc00005013423..."} 
[2026-07-08 13:31:27] local.INFO: Processing buffer {"connection_id":125528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40bdafe8012d0b130007029fc00005013423..."} 
[2026-07-08 13:31:27] local.INFO: Packet analysis {"connection_id":125528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40bd"} 
[2026-07-08 13:31:27] local.INFO: Extracted packet for processing {"connection_id":125528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40bd"} 
[2026-07-08 13:31:27] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575308800001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783497601000,"timestamp_ms":1783497601000,"timestamp_seconds":1783497601,"priority":1,"record_length":96,"hex_timestamp":"0000019f40bdafe8"} 
[2026-07-08 13:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 13:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31879244162269253,"note":"Value kept but may cause issues"} 
[2026-07-08 13:31:27] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-07-08 13:31:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 13:31:27] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":83886080,"corrected_to":0} 
[2026-07-08 13:31:27] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2797142017,"note":"Value kept but may cause issues"} 
[2026-07-08 13:31:27] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-07-08 13:31:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-07-08 13:31:27] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3422879744,"note":"Value kept but may cause issues"} 
[2026-07-08 13:31:27] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,17,94,24,241,157,16,204,159,128,45,5,34,10,66,232,80,240,69,227,64,2,1,4,113,205,33,19,192,239,49,83,7],"length":485,"final_offset":615,"validated_count":33,"validation_warnings":[{"io_id":204,"original":83886080,"validated":0},{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-07-08 13:31:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360626761504915456,"timestamp_seconds":360626761504915.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 13:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":125528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":125528,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":125528,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:31:27] 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-07-08 13:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575308800001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 13:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575308800001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:31:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575308800001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":125528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451316,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:31:27] local.INFO: GPS data processed {"connection_id":125528,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:31:27] local.INFO: Acknowledgment sent {"connection_id":125528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:31:38] local.INFO: TCP Data received {"connection_id":127538,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f40badd40012d7f9f4005afd6000008006e2e..."} 
[2026-07-08 13:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40badd40012d7f9f4005afd6000008006e2e..."} 
[2026-07-08 13:31:38] local.INFO: Processing buffer {"connection_id":127538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40badd40012d7f9f4005afd6000008006e2e..."} 
[2026-07-08 13:31:38] local.INFO: Packet analysis {"connection_id":127538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ba"} 
[2026-07-08 13:31:38] local.INFO: Extracted packet for processing {"connection_id":127538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ba"} 
[2026-07-08 13:31:38] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409664,"longitude_deg":76.333856,"latitude_deg":9.5409664,"altitude":8,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd600","is_valid_coordinates":true} 
[2026-07-08 13:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575261440001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282893824,"note":"Value kept but may cause issues"} 
[2026-07-08 13:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783497416000,"timestamp_ms":1783497416000,"timestamp_seconds":1783497416,"priority":1,"record_length":96,"hex_timestamp":"0000019f40badd40"} 
[2026-07-08 13:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 13:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575261440001,"66":25647,"33":206,"85":12544,"24":0,"16":342532734301765632,"45":9196139357282893824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-08 13:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575261440001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:31:38] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-08 13:31:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282893824,"description":"Unknown IO ID 45"} 
[2026-07-08 13:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575261440001,"power":25647,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282893824}} 
[2026-07-08 13:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":127538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:31:38] local.INFO: GPS data processed {"connection_id":127538,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:31:38] local.INFO: Acknowledgment sent {"connection_id":127538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:31:42] local.INFO: TCP Data received {"connection_id":126297,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40be8e90012d1a878007204c300040001c23..."} 
[2026-07-08 13:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40be8e90012d1a878007204c300040001c23..."} 
[2026-07-08 13:31:42] local.INFO: Processing buffer {"connection_id":126297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40be8e90012d1a878007204c300040001c23..."} 
[2026-07-08 13:31:42] local.INFO: Packet analysis {"connection_id":126297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40be"} 
[2026-07-08 13:31:42] local.INFO: Extracted packet for processing {"connection_id":126297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40be"} 
[2026-07-08 13:31:42] local.INFO: GPS Element Parsed {"raw_longitude":756713344,"raw_latitude":119557168,"longitude_deg":75.6713344,"latitude_deg":11.9557168,"altitude":64,"angle":28,"satellites":35,"speed":13,"hex_longitude":"2d1a8780","hex_latitude":"07204c30","is_valid_coordinates":true} 
[2026-07-08 13:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575400192001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4753137227268096,"note":"Value kept but may cause issues"} 
[2026-07-08 13:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1911355859960274944,"note":"Value kept but may cause issues"} 
[2026-07-08 13:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783497658000,"timestamp_ms":1783497658000,"timestamp_seconds":1783497658,"priority":1,"record_length":96,"hex_timestamp":"0000019f40be8e90"} 
[2026-07-08 13:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-08 13:31: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-07-08 13:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":126297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":126297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":126297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575400192001,"66":14374,"121":206,"28":31744,"24":13,"16":4753137227268096,"45":1911355859960274944},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 13:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575400192001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:31:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 13:31:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4753137227268096,"km_value":4753137227268.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1911355859960274944,"description":"Unknown IO ID 45"} 
[2026-07-08 13:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575400192001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1911355859960274944}} 
[2026-07-08 13:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":126297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:31:42] local.INFO: GPS data processed {"connection_id":126297,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:31:42] local.INFO: Acknowledgment sent {"connection_id":126297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:31:45] local.INFO: TCP Data received {"connection_id":126298,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126298,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:31:45] local.INFO: Processing buffer {"connection_id":126298,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:31:45] local.INFO: IMEI packet received {"connection_id":126298,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":126298,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:31:50] local.INFO: TCP Data received {"connection_id":126298,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126298,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:31:50] local.INFO: Processing buffer {"connection_id":126298,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:31:50] local.INFO: IMEI packet received {"connection_id":126298,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":126298,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:31:51] local.INFO: TCP Data received {"connection_id":126298,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f40bdafe8012d0b130007029fc00005013423..."} 
[2026-07-08 13:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40bdafe8012d0b130007029fc00005013423..."} 
[2026-07-08 13:31:51] local.INFO: Processing buffer {"connection_id":126298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40bdafe8012d0b130007029fc00005013423..."} 
[2026-07-08 13:31:51] local.INFO: Packet analysis {"connection_id":126298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40bd"} 
[2026-07-08 13:31:51] local.INFO: Extracted packet for processing {"connection_id":126298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40bd"} 
[2026-07-08 13:31:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575308800001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783497601000,"timestamp_ms":1783497601000,"timestamp_seconds":1783497601,"priority":1,"record_length":96,"hex_timestamp":"0000019f40bdafe8"} 
[2026-07-08 13:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 13:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31879244162269253,"note":"Value kept but may cause issues"} 
[2026-07-08 13:31:51] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-07-08 13:31:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 13:31:51] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":83886080,"corrected_to":0} 
[2026-07-08 13:31:51] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2797142017,"note":"Value kept but may cause issues"} 
[2026-07-08 13:31:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-07-08 13:31:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-07-08 13:31:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3422879744,"note":"Value kept but may cause issues"} 
[2026-07-08 13:31:51] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,17,94,24,241,157,16,204,159,128,45,5,34,10,66,232,80,240,69,227,64,2,1,4,113,205,33,19,192,239,49,83,7],"length":485,"final_offset":615,"validated_count":33,"validation_warnings":[{"io_id":204,"original":83886080,"validated":0},{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-07-08 13:31:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360626761504915456,"timestamp_seconds":360626761504915.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 13:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126298,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126298,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:31:51] 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-07-08 13:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575308800001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 13:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575308800001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:31:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575308800001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":126298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451319,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:31:51] local.INFO: GPS data processed {"connection_id":126298,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:31:51] local.INFO: Acknowledgment sent {"connection_id":126298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:31:55] local.INFO: TCP Data received {"connection_id":125415,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:31:55] local.INFO: Processing buffer {"connection_id":125415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:31:55] local.INFO: IMEI packet received {"connection_id":125415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":125415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:31:57] local.INFO: TCP Data received {"connection_id":126299,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:31:57] local.INFO: Processing buffer {"connection_id":126299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:31:57] local.INFO: IMEI packet received {"connection_id":126299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":126299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:31:58] local.INFO: TCP Data received {"connection_id":126299,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:31:58] local.INFO: Processing buffer {"connection_id":126299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:31:58] local.INFO: IMEI packet received {"connection_id":126299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":126299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:31:59] local.INFO: TCP Data received {"connection_id":126299,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:31:59] local.INFO: Processing buffer {"connection_id":126299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:31:59] local.INFO: IMEI packet received {"connection_id":126299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":126299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:32:00] local.INFO: TCP Data received {"connection_id":126299,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:32:00] local.INFO: Processing buffer {"connection_id":126299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:32:00] local.INFO: IMEI packet received {"connection_id":126299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":126299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:32:01] local.INFO: TCP Data received {"connection_id":125415,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:32:01] local.INFO: Processing buffer {"connection_id":125415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:32:01] local.INFO: IMEI packet received {"connection_id":125415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":125415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:32:02] local.INFO: TCP Data received {"connection_id":125415,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f40badd40012d7f9f4005afd6000008006e2e..."} 
[2026-07-08 13:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40badd40012d7f9f4005afd6000008006e2e..."} 
[2026-07-08 13:32:02] local.INFO: Processing buffer {"connection_id":125415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40badd40012d7f9f4005afd6000008006e2e..."} 
[2026-07-08 13:32:02] local.INFO: Packet analysis {"connection_id":125415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ba"} 
[2026-07-08 13:32:02] local.INFO: Extracted packet for processing {"connection_id":125415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ba"} 
[2026-07-08 13:32:02] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409664,"longitude_deg":76.333856,"latitude_deg":9.5409664,"altitude":8,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd600","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575261440001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282893824,"note":"Value kept but may cause issues"} 
[2026-07-08 13:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783497416000,"timestamp_ms":1783497416000,"timestamp_seconds":1783497416,"priority":1,"record_length":96,"hex_timestamp":"0000019f40badd40"} 
[2026-07-08 13:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:32:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 13:32:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575261440001,"66":25647,"33":206,"85":12544,"24":0,"16":342532734301765632,"45":9196139357282893824},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-08 13:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575261440001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:32:02] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-08 13:32:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282893824,"description":"Unknown IO ID 45"} 
[2026-07-08 13:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575261440001,"power":25647,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282893824}} 
[2026-07-08 13:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":125415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:32:02] local.INFO: GPS data processed {"connection_id":125415,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:32:02] local.INFO: Acknowledgment sent {"connection_id":125415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:32:22] local.INFO: TCP Data received {"connection_id":126298,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f40bdafe8012d0b130007029fc00005013423..."} 
[2026-07-08 13:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40bdafe8012d0b130007029fc00005013423..."} 
[2026-07-08 13:32:22] local.INFO: Processing buffer {"connection_id":126298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40bdafe8012d0b130007029fc00005013423..."} 
[2026-07-08 13:32:22] local.INFO: Packet analysis {"connection_id":126298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40bd"} 
[2026-07-08 13:32:22] local.INFO: Extracted packet for processing {"connection_id":126298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40bd"} 
[2026-07-08 13:32:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575308800001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:32:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:32:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783497601000,"timestamp_ms":1783497601000,"timestamp_seconds":1783497601,"priority":1,"record_length":96,"hex_timestamp":"0000019f40bdafe8"} 
[2026-07-08 13:32:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:32:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 13:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31879244162269253,"note":"Value kept but may cause issues"} 
[2026-07-08 13:32:22] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-07-08 13:32:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 13:32:22] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":83886080,"corrected_to":0} 
[2026-07-08 13:32:22] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2797142017,"note":"Value kept but may cause issues"} 
[2026-07-08 13:32:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-07-08 13:32:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-07-08 13:32:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3422879744,"note":"Value kept but may cause issues"} 
[2026-07-08 13:32:22] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,17,94,24,241,157,16,204,159,128,45,5,34,10,66,232,80,240,69,227,64,2,1,4,113,205,33,19,192,239,49,83,7],"length":485,"final_offset":615,"validated_count":33,"validation_warnings":[{"io_id":204,"original":83886080,"validated":0},{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-07-08 13:32:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360626761504915456,"timestamp_seconds":360626761504915.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 13:32:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126298,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126298,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:32:22] 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-07-08 13:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575308800001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 13:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575308800001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:32:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:32:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575308800001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":126298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451321,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:32:22] local.INFO: GPS data processed {"connection_id":126298,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:32:22] local.INFO: Acknowledgment sent {"connection_id":126298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:32:33] local.INFO: TCP Data received {"connection_id":125415,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f40badd40012d7f9f4005afd6000008006e2e..."} 
[2026-07-08 13:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40badd40012d7f9f4005afd6000008006e2e..."} 
[2026-07-08 13:32:33] local.INFO: Processing buffer {"connection_id":125415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40badd40012d7f9f4005afd6000008006e2e..."} 
[2026-07-08 13:32:33] local.INFO: Packet analysis {"connection_id":125415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ba"} 
[2026-07-08 13:32:33] local.INFO: Extracted packet for processing {"connection_id":125415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ba"} 
[2026-07-08 13:32:33] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409664,"longitude_deg":76.333856,"latitude_deg":9.5409664,"altitude":8,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd600","is_valid_coordinates":true} 
[2026-07-08 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-07-08 13:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575261440001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282893824,"note":"Value kept but may cause issues"} 
[2026-07-08 13:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783497416000,"timestamp_ms":1783497416000,"timestamp_seconds":1783497416,"priority":1,"record_length":96,"hex_timestamp":"0000019f40badd40"} 
[2026-07-08 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-07-08 13:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 13:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 13:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575261440001,"66":25647,"33":206,"85":12544,"24":0,"16":342532734301765632,"45":9196139357282893824},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-08 13:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575261440001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:32:33] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-08 13:32:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282893824,"description":"Unknown IO ID 45"} 
[2026-07-08 13:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575261440001,"power":25647,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282893824}} 
[2026-07-08 13:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":125415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:32:33] local.INFO: GPS data processed {"connection_id":125415,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:32:33] local.INFO: Acknowledgment sent {"connection_id":125415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:32:45] local.INFO: TCP Data received {"connection_id":125530,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125530,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:32:45] local.INFO: Processing buffer {"connection_id":125530,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:32:45] local.INFO: IMEI packet received {"connection_id":125530,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":125530,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:32:50] local.INFO: TCP Data received {"connection_id":125530,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125530,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:32:50] local.INFO: Processing buffer {"connection_id":125530,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:32:50] local.INFO: IMEI packet received {"connection_id":125530,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":125530,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:32:51] local.INFO: TCP Data received {"connection_id":125530,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f40bdafe8012d0b130007029fc00005013423..."} 
[2026-07-08 13:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40bdafe8012d0b130007029fc00005013423..."} 
[2026-07-08 13:32:51] local.INFO: Processing buffer {"connection_id":125530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40bdafe8012d0b130007029fc00005013423..."} 
[2026-07-08 13:32:51] local.INFO: Packet analysis {"connection_id":125530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40bd"} 
[2026-07-08 13:32:51] local.INFO: Extracted packet for processing {"connection_id":125530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40bd"} 
[2026-07-08 13:32:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575308800001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783497601000,"timestamp_ms":1783497601000,"timestamp_seconds":1783497601,"priority":1,"record_length":96,"hex_timestamp":"0000019f40bdafe8"} 
[2026-07-08 13:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 13:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31879244162269253,"note":"Value kept but may cause issues"} 
[2026-07-08 13:32:51] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-07-08 13:32:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 13:32:51] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":83886080,"corrected_to":0} 
[2026-07-08 13:32:51] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2797142017,"note":"Value kept but may cause issues"} 
[2026-07-08 13:32:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-07-08 13:32:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-07-08 13:32:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3422879744,"note":"Value kept but may cause issues"} 
[2026-07-08 13:32:51] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,17,94,24,241,157,16,204,159,128,45,5,34,10,66,232,80,240,69,227,64,2,1,4,113,205,33,19,192,239,49,83,7],"length":485,"final_offset":615,"validated_count":33,"validation_warnings":[{"io_id":204,"original":83886080,"validated":0},{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-07-08 13:32:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360626761504915456,"timestamp_seconds":360626761504915.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 13:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:32:51] 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-07-08 13:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575308800001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 13:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575308800001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:32:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575308800001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":125530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451323,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:32:51] local.INFO: GPS data processed {"connection_id":125530,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:32:51] local.INFO: Acknowledgment sent {"connection_id":125530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:32:55] local.INFO: TCP Data received {"connection_id":125416,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:32:55] local.INFO: Processing buffer {"connection_id":125416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:32:55] local.INFO: IMEI packet received {"connection_id":125416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":125416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:33:01] local.INFO: TCP Data received {"connection_id":125416,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:33:01] local.INFO: Processing buffer {"connection_id":125416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:33:01] local.INFO: IMEI packet received {"connection_id":125416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":125416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:33:02] local.INFO: TCP Data received {"connection_id":125416,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f40bf7508012d7f9f4005afd6000008006e2d..."} 
[2026-07-08 13:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40bf7508012d7f9f4005afd6000008006e2d..."} 
[2026-07-08 13:33:02] local.INFO: Processing buffer {"connection_id":125416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40bf7508012d7f9f4005afd6000008006e2d..."} 
[2026-07-08 13:33:02] local.INFO: Packet analysis {"connection_id":125416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40bf"} 
[2026-07-08 13:33:02] local.INFO: Extracted packet for processing {"connection_id":125416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40bf"} 
[2026-07-08 13:33:02] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409664,"longitude_deg":76.333856,"latitude_deg":9.5409664,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd600","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575338496001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282893824,"note":"Value kept but may cause issues"} 
[2026-07-08 13:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783497717000,"timestamp_ms":1783497717000,"timestamp_seconds":1783497717,"priority":1,"record_length":96,"hex_timestamp":"0000019f40bf7508"} 
[2026-07-08 13:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 13:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575338496001,"66":25538,"28":206,"85":12544,"24":0,"16":342532734301765632,"45":9196139357282893824},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-08 13:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575338496001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:33:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-08 13:33:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282893824,"description":"Unknown IO ID 45"} 
[2026-07-08 13:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575338496001,"power":25538,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282893824}} 
[2026-07-08 13:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":125416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:33:02] local.INFO: GPS data processed {"connection_id":125416,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:33:02] local.INFO: Acknowledgment sent {"connection_id":125416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:33:15] local.INFO: TCP Data received {"connection_id":125417,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125417,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:33:15] local.INFO: Processing buffer {"connection_id":125417,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:33:15] local.INFO: IMEI packet received {"connection_id":125417,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 13:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":125417,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:33:22] local.INFO: TCP Data received {"connection_id":125530,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f40bdafe8012d0b130007029fc00005013423..."} 
[2026-07-08 13:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40bdafe8012d0b130007029fc00005013423..."} 
[2026-07-08 13:33:22] local.INFO: Processing buffer {"connection_id":125530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40bdafe8012d0b130007029fc00005013423..."} 
[2026-07-08 13:33:22] local.INFO: Packet analysis {"connection_id":125530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40bd"} 
[2026-07-08 13:33:22] local.INFO: Extracted packet for processing {"connection_id":125530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40bd"} 
[2026-07-08 13:33:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575308800001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:33:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783497601000,"timestamp_ms":1783497601000,"timestamp_seconds":1783497601,"priority":1,"record_length":96,"hex_timestamp":"0000019f40bdafe8"} 
[2026-07-08 13:33:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:33:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 13:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31879244162269253,"note":"Value kept but may cause issues"} 
[2026-07-08 13:33:22] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-07-08 13:33:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 13:33:22] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":83886080,"corrected_to":0} 
[2026-07-08 13:33:22] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2797142017,"note":"Value kept but may cause issues"} 
[2026-07-08 13:33:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-07-08 13:33:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-07-08 13:33:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3422879744,"note":"Value kept but may cause issues"} 
[2026-07-08 13:33:22] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,17,94,24,241,157,16,204,159,128,45,5,34,10,66,232,80,240,69,227,64,2,1,4,113,205,33,19,192,239,49,83,7],"length":485,"final_offset":615,"validated_count":33,"validation_warnings":[{"io_id":204,"original":83886080,"validated":0},{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-07-08 13:33:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360626761504915456,"timestamp_seconds":360626761504915.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 13:33:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:33:22] 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-07-08 13:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575308800001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 13:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575308800001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:33:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:33:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575308800001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":125530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451325,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:33:22] local.INFO: GPS data processed {"connection_id":125530,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:33:22] local.INFO: Acknowledgment sent {"connection_id":125530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:33:41] local.INFO: TCP Data received {"connection_id":125416,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f40bf7508012d7f9f4005afd6000008006e2d..."} 
[2026-07-08 13:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40bf7508012d7f9f4005afd6000008006e2d..."} 
[2026-07-08 13:33:41] local.INFO: Processing buffer {"connection_id":125416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40bf7508012d7f9f4005afd6000008006e2d..."} 
[2026-07-08 13:33:41] local.INFO: Packet analysis {"connection_id":125416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40bf"} 
[2026-07-08 13:33:41] local.INFO: Extracted packet for processing {"connection_id":125416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40bf"} 
[2026-07-08 13:33:41] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409664,"longitude_deg":76.333856,"latitude_deg":9.5409664,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd600","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575338496001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282893824,"note":"Value kept but may cause issues"} 
[2026-07-08 13:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783497717000,"timestamp_ms":1783497717000,"timestamp_seconds":1783497717,"priority":1,"record_length":96,"hex_timestamp":"0000019f40bf7508"} 
[2026-07-08 13:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 13:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575338496001,"66":25538,"28":206,"85":12544,"24":0,"16":342532734301765632,"45":9196139357282893824},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-08 13:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575338496001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:33:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-08 13:33:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282893824,"description":"Unknown IO ID 45"} 
[2026-07-08 13:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575338496001,"power":25538,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282893824}} 
[2026-07-08 13:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":125416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:33:41] local.INFO: GPS data processed {"connection_id":125416,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:33:41] local.INFO: Acknowledgment sent {"connection_id":125416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:33:50] local.INFO: TCP Data received {"connection_id":125531,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125531,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:33:50] local.INFO: Processing buffer {"connection_id":125531,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:33:50] local.INFO: IMEI packet received {"connection_id":125531,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":125531,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:33:55] local.INFO: TCP Data received {"connection_id":125531,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125531,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:33:55] local.INFO: Processing buffer {"connection_id":125531,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:33:55] local.INFO: IMEI packet received {"connection_id":125531,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":125531,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:33:55] local.INFO: TCP Data received {"connection_id":125531,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f40bdafe8012d0b130007029fc00005013423..."} 
[2026-07-08 13:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40bdafe8012d0b130007029fc00005013423..."} 
[2026-07-08 13:33:55] local.INFO: Processing buffer {"connection_id":125531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40bdafe8012d0b130007029fc00005013423..."} 
[2026-07-08 13:33:55] local.INFO: Packet analysis {"connection_id":125531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40bd"} 
[2026-07-08 13:33:55] local.INFO: Extracted packet for processing {"connection_id":125531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40bd"} 
[2026-07-08 13:33:55] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575308800001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783497601000,"timestamp_ms":1783497601000,"timestamp_seconds":1783497601,"priority":1,"record_length":96,"hex_timestamp":"0000019f40bdafe8"} 
[2026-07-08 13:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 13:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31879244162269253,"note":"Value kept but may cause issues"} 
[2026-07-08 13:33:55] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-07-08 13:33:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 13:33:55] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":83886080,"corrected_to":0} 
[2026-07-08 13:33:55] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2797142017,"note":"Value kept but may cause issues"} 
[2026-07-08 13:33:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-07-08 13:33:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-07-08 13:33:55] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3422879744,"note":"Value kept but may cause issues"} 
[2026-07-08 13:33:55] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,17,94,24,241,157,16,204,159,128,45,5,34,10,66,232,80,240,69,227,64,2,1,4,113,205,33,19,192,239,49,83,7],"length":485,"final_offset":615,"validated_count":33,"validation_warnings":[{"io_id":204,"original":83886080,"validated":0},{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-07-08 13:33:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360626761504915456,"timestamp_seconds":360626761504915.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 13:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":125531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":125531,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":125531,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:33:55] 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-07-08 13:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575308800001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 13:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575308800001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:33:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575308800001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":125531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451327,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:33:56] local.INFO: GPS data processed {"connection_id":125531,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:33:56] local.INFO: Acknowledgment sent {"connection_id":125531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:33:56] local.INFO: TCP Data received {"connection_id":125419,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125419,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:33:56] local.INFO: Processing buffer {"connection_id":125419,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:33:56] local.INFO: IMEI packet received {"connection_id":125419,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 13:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":125419,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:34:00] local.INFO: TCP Data received {"connection_id":125531,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f40bdafe8012d0b130007029fc00005013423..."} 
[2026-07-08 13:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40bdafe8012d0b130007029fc00005013423..."} 
[2026-07-08 13:34:00] local.INFO: Processing buffer {"connection_id":125531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40bdafe8012d0b130007029fc00005013423..."} 
[2026-07-08 13:34:00] local.INFO: Packet analysis {"connection_id":125531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40bd"} 
[2026-07-08 13:34:00] local.INFO: Extracted packet for processing {"connection_id":125531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40bd"} 
[2026-07-08 13:34:00] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575308800001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783497601000,"timestamp_ms":1783497601000,"timestamp_seconds":1783497601,"priority":1,"record_length":96,"hex_timestamp":"0000019f40bdafe8"} 
[2026-07-08 13:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 13:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31879244162269253,"note":"Value kept but may cause issues"} 
[2026-07-08 13:34:00] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-07-08 13:34:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 13:34:00] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":83886080,"corrected_to":0} 
[2026-07-08 13:34:00] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2797142017,"note":"Value kept but may cause issues"} 
[2026-07-08 13:34:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-07-08 13:34:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-07-08 13:34:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3422879744,"note":"Value kept but may cause issues"} 
[2026-07-08 13:34:00] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,17,94,24,241,157,16,204,159,128,45,5,34,10,66,232,80,240,69,227,64,2,1,4,113,205,33,19,192,239,49,83,7],"length":485,"final_offset":615,"validated_count":33,"validation_warnings":[{"io_id":204,"original":83886080,"validated":0},{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-07-08 13:34:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360626761504915456,"timestamp_seconds":360626761504915.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 13:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125531,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125531,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:34:00] 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-07-08 13:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575308800001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 13:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575308800001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:34:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575308800001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":125531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451328,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:34:01] local.INFO: GPS data processed {"connection_id":125531,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:34:01] local.INFO: Acknowledgment sent {"connection_id":125531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:34:06] local.INFO: TCP Data received {"connection_id":125420,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:34:06] local.INFO: Processing buffer {"connection_id":125420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:34:06] local.INFO: IMEI packet received {"connection_id":125420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":125420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:34:11] local.INFO: TCP Data received {"connection_id":125420,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:34:11] local.INFO: Processing buffer {"connection_id":125420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:34:11] local.INFO: IMEI packet received {"connection_id":125420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":125420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:34:12] local.INFO: TCP Data received {"connection_id":125420,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f40bf7508012d7f9f4005afd6000008006e2d..."} 
[2026-07-08 13:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40bf7508012d7f9f4005afd6000008006e2d..."} 
[2026-07-08 13:34:12] local.INFO: Processing buffer {"connection_id":125420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40bf7508012d7f9f4005afd6000008006e2d..."} 
[2026-07-08 13:34:12] local.INFO: Packet analysis {"connection_id":125420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40bf"} 
[2026-07-08 13:34:12] local.INFO: Extracted packet for processing {"connection_id":125420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40bf"} 
[2026-07-08 13:34:12] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409664,"longitude_deg":76.333856,"latitude_deg":9.5409664,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd600","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575338496001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282893824,"note":"Value kept but may cause issues"} 
[2026-07-08 13:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783497717000,"timestamp_ms":1783497717000,"timestamp_seconds":1783497717,"priority":1,"record_length":96,"hex_timestamp":"0000019f40bf7508"} 
[2026-07-08 13:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 13:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575338496001,"66":25538,"28":206,"85":12544,"24":0,"16":342532734301765632,"45":9196139357282893824},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-08 13:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575338496001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:34:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-08 13:34:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282893824,"description":"Unknown IO ID 45"} 
[2026-07-08 13:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575338496001,"power":25538,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282893824}} 
[2026-07-08 13:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":125420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:34:12] local.INFO: GPS data processed {"connection_id":125420,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:34:12] local.INFO: Acknowledgment sent {"connection_id":125420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:34:48] local.INFO: TCP Data received {"connection_id":125533,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125533,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:34:48] local.INFO: Processing buffer {"connection_id":125533,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:34:48] local.INFO: IMEI packet received {"connection_id":125533,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":125533,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:34:50] local.INFO: TCP Data received {"connection_id":125533,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125533,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:34:50] local.INFO: Processing buffer {"connection_id":125533,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:34:50] local.INFO: IMEI packet received {"connection_id":125533,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":125533,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:34:56] local.INFO: TCP Data received {"connection_id":125421,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:34:56] local.INFO: Processing buffer {"connection_id":125421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:34:56] local.INFO: IMEI packet received {"connection_id":125421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":125421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:35:01] local.INFO: TCP Data received {"connection_id":125421,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:35:01] local.INFO: Processing buffer {"connection_id":125421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:35:01] local.INFO: IMEI packet received {"connection_id":125421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":125421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:35:01] local.INFO: TCP Data received {"connection_id":125533,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40bdafe8012d0b130007029fc00005013423..."} 
[2026-07-08 13:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40bdafe8012d0b130007029fc00005013423..."} 
[2026-07-08 13:35:01] local.INFO: Processing buffer {"connection_id":125533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40bdafe8012d0b130007029fc00005013423..."} 
[2026-07-08 13:35:01] local.INFO: Packet analysis {"connection_id":125533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40bd"} 
[2026-07-08 13:35:01] local.INFO: Extracted packet for processing {"connection_id":125533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40bd"} 
[2026-07-08 13:35:01] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575308800001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:35: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-07-08 13:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783497601000,"timestamp_ms":1783497601000,"timestamp_seconds":1783497601,"priority":1,"record_length":96,"hex_timestamp":"0000019f40bdafe8"} 
[2026-07-08 13:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 13:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31879244162269253,"note":"Value kept but may cause issues"} 
[2026-07-08 13:35:01] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-07-08 13:35:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 13:35:01] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":83886080,"corrected_to":0} 
[2026-07-08 13:35:01] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2797142017,"note":"Value kept but may cause issues"} 
[2026-07-08 13:35:01] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-07-08 13:35:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-07-08 13:35:01] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3422879744,"note":"Value kept but may cause issues"} 
[2026-07-08 13:35:01] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,17,94,24,241,157,16,204,159,128,45,5,34,10,66,232,80,240,69,227,64,2,1,4,113,205,33,19,192,239,49,83,7],"length":485,"final_offset":615,"validated_count":33,"validation_warnings":[{"io_id":204,"original":83886080,"validated":0},{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-07-08 13:35:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360626761504915456,"timestamp_seconds":360626761504915.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 13:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125533,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125533,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575308800001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575308800001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:35:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575308800001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":125533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451330,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:35:02] local.INFO: GPS data processed {"connection_id":125533,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:35:02] local.INFO: Acknowledgment sent {"connection_id":125533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:35:02] local.INFO: TCP Data received {"connection_id":125421,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f40bf7508012d7f9f4005afd6000008006e2d..."} 
[2026-07-08 13:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40bf7508012d7f9f4005afd6000008006e2d..."} 
[2026-07-08 13:35:02] local.INFO: Processing buffer {"connection_id":125421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40bf7508012d7f9f4005afd6000008006e2d..."} 
[2026-07-08 13:35:02] local.INFO: Packet analysis {"connection_id":125421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40bf"} 
[2026-07-08 13:35:02] local.INFO: Extracted packet for processing {"connection_id":125421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40bf"} 
[2026-07-08 13:35:02] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409664,"longitude_deg":76.333856,"latitude_deg":9.5409664,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd600","is_valid_coordinates":true} 
[2026-07-08 13:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575338496001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282893824,"note":"Value kept but may cause issues"} 
[2026-07-08 13:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783497717000,"timestamp_ms":1783497717000,"timestamp_seconds":1783497717,"priority":1,"record_length":96,"hex_timestamp":"0000019f40bf7508"} 
[2026-07-08 13:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:35:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 13:35:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:35:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575338496001,"66":25538,"28":206,"85":12544,"24":0,"16":342532734301765632,"45":9196139357282893824},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-08 13:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575338496001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:35:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-08 13:35:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282893824,"description":"Unknown IO ID 45"} 
[2026-07-08 13:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575338496001,"power":25538,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282893824}} 
[2026-07-08 13:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":125421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:35:02] local.INFO: GPS data processed {"connection_id":125421,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:35:02] local.INFO: Acknowledgment sent {"connection_id":125421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:35:16] local.INFO: TCP Data received {"connection_id":125533,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40bdafe8012d0b130007029fc00005013423..."} 
[2026-07-08 13:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40bdafe8012d0b130007029fc00005013423..."} 
[2026-07-08 13:35:16] local.INFO: Processing buffer {"connection_id":125533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40bdafe8012d0b130007029fc00005013423..."} 
[2026-07-08 13:35:16] local.INFO: Packet analysis {"connection_id":125533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40bd"} 
[2026-07-08 13:35:16] local.INFO: Extracted packet for processing {"connection_id":125533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40bd"} 
[2026-07-08 13:35:16] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575308800001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:35:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783497601000,"timestamp_ms":1783497601000,"timestamp_seconds":1783497601,"priority":1,"record_length":96,"hex_timestamp":"0000019f40bdafe8"} 
[2026-07-08 13:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 13:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31879244162269253,"note":"Value kept but may cause issues"} 
[2026-07-08 13:35:16] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-07-08 13:35:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 13:35:16] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":83886080,"corrected_to":0} 
[2026-07-08 13:35:16] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2797142017,"note":"Value kept but may cause issues"} 
[2026-07-08 13:35:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-07-08 13:35:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-07-08 13:35:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3422879744,"note":"Value kept but may cause issues"} 
[2026-07-08 13:35:16] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,17,94,24,241,157,16,204,159,128,45,5,34,10,66,232,80,240,69,227,64,2,1,4,113,205,33,19,192,239,49,83,7],"length":485,"final_offset":615,"validated_count":33,"validation_warnings":[{"io_id":204,"original":83886080,"validated":0},{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-07-08 13:35:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360626761504915456,"timestamp_seconds":360626761504915.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 13:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":125533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":125533,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":125533,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575308800001,"66":12645,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575308800001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:35:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575308800001,"power":12645,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":125533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451332,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:35:16] local.INFO: GPS data processed {"connection_id":125533,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:35:16] local.INFO: Acknowledgment sent {"connection_id":125533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:35:33] local.INFO: TCP Data received {"connection_id":125421,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f40bf7508012d7f9f4005afd6000008006e2d..."} 
[2026-07-08 13:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40bf7508012d7f9f4005afd6000008006e2d..."} 
[2026-07-08 13:35:33] local.INFO: Processing buffer {"connection_id":125421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40bf7508012d7f9f4005afd6000008006e2d..."} 
[2026-07-08 13:35:33] local.INFO: Packet analysis {"connection_id":125421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40bf"} 
[2026-07-08 13:35:33] local.INFO: Extracted packet for processing {"connection_id":125421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40bf"} 
[2026-07-08 13:35:33] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409664,"longitude_deg":76.333856,"latitude_deg":9.5409664,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd600","is_valid_coordinates":true} 
[2026-07-08 13:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575338496001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282893824,"note":"Value kept but may cause issues"} 
[2026-07-08 13:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783497717000,"timestamp_ms":1783497717000,"timestamp_seconds":1783497717,"priority":1,"record_length":96,"hex_timestamp":"0000019f40bf7508"} 
[2026-07-08 13:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 13:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:35:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575338496001,"66":25538,"28":206,"85":12544,"24":0,"16":342532734301765632,"45":9196139357282893824},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-08 13:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575338496001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:35:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-08 13:35:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282893824,"description":"Unknown IO ID 45"} 
[2026-07-08 13:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575338496001,"power":25538,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282893824}} 
[2026-07-08 13:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":125421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:35:33] local.INFO: GPS data processed {"connection_id":125421,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:35:33] local.INFO: Acknowledgment sent {"connection_id":125421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:35:44] local.INFO: TCP Data received {"connection_id":125534,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125534,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:35:44] local.INFO: Processing buffer {"connection_id":125534,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:35:44] local.INFO: IMEI packet received {"connection_id":125534,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":125534,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:35:50] local.INFO: TCP Data received {"connection_id":125534,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125534,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:35:50] local.INFO: Processing buffer {"connection_id":125534,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:35:50] local.INFO: IMEI packet received {"connection_id":125534,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":125534,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:35:51] local.INFO: TCP Data received {"connection_id":125534,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c247b0012d0b130007029fc00005013422..."} 
[2026-07-08 13:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c247b0012d0b130007029fc00005013422..."} 
[2026-07-08 13:35:51] local.INFO: Processing buffer {"connection_id":125534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c247b0012d0b130007029fc00005013422..."} 
[2026-07-08 13:35:51] local.INFO: Packet analysis {"connection_id":125534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c2"} 
[2026-07-08 13:35:51] local.INFO: Extracted packet for processing {"connection_id":125534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c2"} 
[2026-07-08 13:35:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575385856001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783497902000,"timestamp_ms":1783497902000,"timestamp_seconds":1783497902,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c247b0"} 
[2026-07-08 13:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 13:35:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125534,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125534,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575385856001,"66":12558,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575385856001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:35:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575385856001,"power":12558,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":125534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451334,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:35:51] local.INFO: GPS data processed {"connection_id":125534,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:35:51] local.INFO: Acknowledgment sent {"connection_id":125534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:35:55] local.INFO: TCP Data received {"connection_id":125535,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:35:55] local.INFO: Processing buffer {"connection_id":125535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:35:55] local.INFO: IMEI packet received {"connection_id":125535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":125535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:36:01] local.INFO: TCP Data received {"connection_id":125535,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:36:01] local.INFO: Processing buffer {"connection_id":125535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:36:01] local.INFO: IMEI packet received {"connection_id":125535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":125535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:36:02] local.INFO: TCP Data received {"connection_id":125535,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f40bf7508012d7f9f4005afd6000008006e2d..."} 
[2026-07-08 13:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40bf7508012d7f9f4005afd6000008006e2d..."} 
[2026-07-08 13:36:02] local.INFO: Processing buffer {"connection_id":125535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40bf7508012d7f9f4005afd6000008006e2d..."} 
[2026-07-08 13:36:02] local.INFO: Packet analysis {"connection_id":125535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40bf"} 
[2026-07-08 13:36:02] local.INFO: Extracted packet for processing {"connection_id":125535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40bf"} 
[2026-07-08 13:36:02] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409664,"longitude_deg":76.333856,"latitude_deg":9.5409664,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd600","is_valid_coordinates":true} 
[2026-07-08 13:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575338496001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282893824,"note":"Value kept but may cause issues"} 
[2026-07-08 13:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783497717000,"timestamp_ms":1783497717000,"timestamp_seconds":1783497717,"priority":1,"record_length":96,"hex_timestamp":"0000019f40bf7508"} 
[2026-07-08 13:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:36:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 13:36:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575338496001,"66":25538,"28":206,"85":12544,"24":0,"16":342532734301765632,"45":9196139357282893824},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-08 13:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575338496001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:36:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-08 13:36:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282893824,"description":"Unknown IO ID 45"} 
[2026-07-08 13:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575338496001,"power":25538,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282893824}} 
[2026-07-08 13:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":125535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:36:02] local.INFO: GPS data processed {"connection_id":125535,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:36:02] local.INFO: Acknowledgment sent {"connection_id":125535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:36:22] local.INFO: TCP Data received {"connection_id":125534,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c247b0012d0b130007029fc00005013422..."} 
[2026-07-08 13:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c247b0012d0b130007029fc00005013422..."} 
[2026-07-08 13:36:22] local.INFO: Processing buffer {"connection_id":125534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c247b0012d0b130007029fc00005013422..."} 
[2026-07-08 13:36:22] local.INFO: Packet analysis {"connection_id":125534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c2"} 
[2026-07-08 13:36:22] local.INFO: Extracted packet for processing {"connection_id":125534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c2"} 
[2026-07-08 13:36:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 13:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575385856001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783497902000,"timestamp_ms":1783497902000,"timestamp_seconds":1783497902,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c247b0"} 
[2026-07-08 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-07-08 13:36:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 13:36:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 13:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125534,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125534,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575385856001,"66":12558,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575385856001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:36:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575385856001,"power":12558,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":125534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451336,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:36:22] local.INFO: GPS data processed {"connection_id":125534,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:36:22] local.INFO: Acknowledgment sent {"connection_id":125534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:36:33] local.INFO: TCP Data received {"connection_id":125535,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f40bf7508012d7f9f4005afd6000008006e2d..."} 
[2026-07-08 13:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40bf7508012d7f9f4005afd6000008006e2d..."} 
[2026-07-08 13:36:33] local.INFO: Processing buffer {"connection_id":125535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40bf7508012d7f9f4005afd6000008006e2d..."} 
[2026-07-08 13:36:33] local.INFO: Packet analysis {"connection_id":125535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40bf"} 
[2026-07-08 13:36:33] local.INFO: Extracted packet for processing {"connection_id":125535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40bf"} 
[2026-07-08 13:36:33] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409664,"longitude_deg":76.333856,"latitude_deg":9.5409664,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd600","is_valid_coordinates":true} 
[2026-07-08 13:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575338496001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282893824,"note":"Value kept but may cause issues"} 
[2026-07-08 13:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783497717000,"timestamp_ms":1783497717000,"timestamp_seconds":1783497717,"priority":1,"record_length":96,"hex_timestamp":"0000019f40bf7508"} 
[2026-07-08 13:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 13:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:36:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575338496001,"66":25538,"28":206,"85":12544,"24":0,"16":342532734301765632,"45":9196139357282893824},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-08 13:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575338496001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:36:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-08 13:36:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282893824,"description":"Unknown IO ID 45"} 
[2026-07-08 13:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575338496001,"power":25538,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282893824}} 
[2026-07-08 13:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":125535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:36:33] local.INFO: GPS data processed {"connection_id":125535,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:36:33] local.INFO: Acknowledgment sent {"connection_id":125535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:36:50] local.INFO: TCP Data received {"connection_id":127540,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127540,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:36:50] local.INFO: Processing buffer {"connection_id":127540,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:36:50] local.INFO: IMEI packet received {"connection_id":127540,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":127540,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:36:55] local.INFO: TCP Data received {"connection_id":127540,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127540,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:36:55] local.INFO: Processing buffer {"connection_id":127540,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:36:55] local.INFO: IMEI packet received {"connection_id":127540,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":127540,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:36:55] local.INFO: TCP Data received {"connection_id":127540,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c247b0012d0b130007029fc00005013422..."} 
[2026-07-08 13:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c247b0012d0b130007029fc00005013422..."} 
[2026-07-08 13:36:55] local.INFO: Processing buffer {"connection_id":127540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c247b0012d0b130007029fc00005013422..."} 
[2026-07-08 13:36:55] local.INFO: Packet analysis {"connection_id":127540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c2"} 
[2026-07-08 13:36:55] local.INFO: Extracted packet for processing {"connection_id":127540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c2"} 
[2026-07-08 13:36:55] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575385856001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783497902000,"timestamp_ms":1783497902000,"timestamp_seconds":1783497902,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c247b0"} 
[2026-07-08 13:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 13:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":127540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":127540,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":127540,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575385856001,"66":12558,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575385856001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:36:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575385856001,"power":12558,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":127540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451338,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:36:56] local.INFO: GPS data processed {"connection_id":127540,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:36:56] local.INFO: Acknowledgment sent {"connection_id":127540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:37:01] local.INFO: TCP Data received {"connection_id":127540,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c247b0012d0b130007029fc00005013422..."} 
[2026-07-08 13:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c247b0012d0b130007029fc00005013422..."} 
[2026-07-08 13:37:01] local.INFO: Processing buffer {"connection_id":127540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c247b0012d0b130007029fc00005013422..."} 
[2026-07-08 13:37:01] local.INFO: Packet analysis {"connection_id":127540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c2"} 
[2026-07-08 13:37:01] local.INFO: Extracted packet for processing {"connection_id":127540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c2"} 
[2026-07-08 13:37:01] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575385856001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:37: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-07-08 13:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783497902000,"timestamp_ms":1783497902000,"timestamp_seconds":1783497902,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c247b0"} 
[2026-07-08 13:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 13:37:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:37:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127540,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127540,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575385856001,"66":12558,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575385856001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:37:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575385856001,"power":12558,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":127540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451339,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:37:01] local.INFO: GPS data processed {"connection_id":127540,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:37:01] local.INFO: Acknowledgment sent {"connection_id":127540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:37:04] local.INFO: TCP Data received {"connection_id":127541,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:37:04] local.INFO: Processing buffer {"connection_id":127541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:37:04] local.INFO: IMEI packet received {"connection_id":127541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":127541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:37:05] local.INFO: TCP Data received {"connection_id":127541,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:37:05] local.INFO: Processing buffer {"connection_id":127541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:37:05] local.INFO: IMEI packet received {"connection_id":127541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":127541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:37:06] local.INFO: TCP Data received {"connection_id":125425,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:37:06] local.INFO: Processing buffer {"connection_id":125425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:37:06] local.INFO: IMEI packet received {"connection_id":125425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":125425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:37:07] local.INFO: TCP Data received {"connection_id":127541,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c25b38012d1b310007207b20004f000f20..."} 
[2026-07-08 13:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c25b38012d1b310007207b20004f000f20..."} 
[2026-07-08 13:37:07] local.INFO: Processing buffer {"connection_id":127541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c25b38012d1b310007207b20004f000f20..."} 
[2026-07-08 13:37:07] local.INFO: Packet analysis {"connection_id":127541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c2"} 
[2026-07-08 13:37:07] local.INFO: Extracted packet for processing {"connection_id":127541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c2"} 
[2026-07-08 13:37:07] local.INFO: GPS Element Parsed {"raw_longitude":756756736,"raw_latitude":119569184,"longitude_deg":75.6756736,"latitude_deg":11.9569184,"altitude":79,"angle":15,"satellites":32,"speed":0,"hex_longitude":"2d1b3100","hex_latitude":"07207b20","is_valid_coordinates":true} 
[2026-07-08 13:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575458816001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4755658373070848,"note":"Value kept but may cause issues"} 
[2026-07-08 13:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959347343492587520,"note":"Value kept but may cause issues"} 
[2026-07-08 13:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783497907000,"timestamp_ms":1783497907000,"timestamp_seconds":1783497907,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c25b38"} 
[2026-07-08 13:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:37: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-07-08 13:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-08 13:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575458816001,"66":14428,"121":206,"28":31744,"24":0,"16":4755658373070848,"45":1959347343492587520},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 13:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575458816001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:37:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 13:37:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4755658373070848,"km_value":4755658373070.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959347343492587520,"description":"Unknown IO ID 45"} 
[2026-07-08 13:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575458816001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1959347343492587520}} 
[2026-07-08 13:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":127541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:37:07] local.INFO: GPS data processed {"connection_id":127541,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:37:07] local.INFO: Acknowledgment sent {"connection_id":127541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:37:09] local.INFO: TCP Data received {"connection_id":125425,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:37:09] local.INFO: Processing buffer {"connection_id":125425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:37:09] local.INFO: IMEI packet received {"connection_id":125425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":125425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:37:11] local.INFO: TCP Data received {"connection_id":125425,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c3a358012d7f9f4005afd6000008006e2e..."} 
[2026-07-08 13:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c3a358012d7f9f4005afd6000008006e2e..."} 
[2026-07-08 13:37:11] local.INFO: Processing buffer {"connection_id":125425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c3a358012d7f9f4005afd6000008006e2e..."} 
[2026-07-08 13:37:11] local.INFO: Packet analysis {"connection_id":125425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c3"} 
[2026-07-08 13:37:11] local.INFO: Extracted packet for processing {"connection_id":125425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c3"} 
[2026-07-08 13:37:11] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409664,"longitude_deg":76.333856,"latitude_deg":9.5409664,"altitude":8,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd600","is_valid_coordinates":true} 
[2026-07-08 13:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575415552001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282893824,"note":"Value kept but may cause issues"} 
[2026-07-08 13:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783497991000,"timestamp_ms":1783497991000,"timestamp_seconds":1783497991,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c3a358"} 
[2026-07-08 13:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-08 13:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575415552001,"66":25549,"249":206,"85":12544,"24":0,"16":342532734301765632,"45":9196139357282893824},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-08 13:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575415552001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:37:11] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-08 13:37:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282893824,"description":"Unknown IO ID 45"} 
[2026-07-08 13:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575415552001,"power":25549,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282893824}} 
[2026-07-08 13:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":125425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:37:11] local.INFO: GPS data processed {"connection_id":125425,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:37:11] local.INFO: Acknowledgment sent {"connection_id":125425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:37:13] local.INFO: TCP Data received {"connection_id":127541,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c2a188012d1b31c0072079f0004f00d420..."} 
[2026-07-08 13:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c2a188012d1b31c0072079f0004f00d420..."} 
[2026-07-08 13:37:13] local.INFO: Processing buffer {"connection_id":127541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c2a188012d1b31c0072079f0004f00d420..."} 
[2026-07-08 13:37:13] local.INFO: Packet analysis {"connection_id":127541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c2"} 
[2026-07-08 13:37:13] local.INFO: Extracted packet for processing {"connection_id":127541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c2"} 
[2026-07-08 13:37:13] local.INFO: GPS Element Parsed {"raw_longitude":756756928,"raw_latitude":119568880,"longitude_deg":75.6756928,"latitude_deg":11.956888,"altitude":79,"angle":212,"satellites":32,"speed":1,"hex_longitude":"2d1b31c0","hex_latitude":"072079f0","is_valid_coordinates":true} 
[2026-07-08 13:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575464192001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4755675552940032,"note":"Value kept but may cause issues"} 
[2026-07-08 13:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959347343492587520,"note":"Value kept but may cause issues"} 
[2026-07-08 13:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783497925000,"timestamp_ms":1783497925000,"timestamp_seconds":1783497925,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c2a188"} 
[2026-07-08 13:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:37: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-07-08 13: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 13:37: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-07-08 13:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":127541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":127541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":127541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575464192001,"66":14461,"121":206,"28":31744,"24":1,"16":4755675552940032,"45":1959347343492587520},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 13:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575464192001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:37:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 13:37:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4755675552940032,"km_value":4755675552940.032,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959347343492587520,"description":"Unknown IO ID 45"} 
[2026-07-08 13:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575464192001,"power":14461,"unknown_121":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1959347343492587520}} 
[2026-07-08 13:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":127541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:37:13] local.INFO: GPS data processed {"connection_id":127541,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:37:13] local.INFO: Acknowledgment sent {"connection_id":127541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:37:45] local.INFO: TCP Data received {"connection_id":126302,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126302,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:37:45] local.INFO: Processing buffer {"connection_id":126302,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:37:45] local.INFO: IMEI packet received {"connection_id":126302,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":126302,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:37:45] local.INFO: TCP Data received {"connection_id":127541,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c3fd30012d1ab200072069e00048011021..."} 
[2026-07-08 13:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c3fd30012d1ab200072069e00048011021..."} 
[2026-07-08 13:37:45] local.INFO: Processing buffer {"connection_id":127541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c3fd30012d1ab200072069e00048011021..."} 
[2026-07-08 13:37:45] local.INFO: Packet analysis {"connection_id":127541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c3"} 
[2026-07-08 13:37:45] local.INFO: Extracted packet for processing {"connection_id":127541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c3"} 
[2026-07-08 13:37:45] local.INFO: GPS Element Parsed {"raw_longitude":756724224,"raw_latitude":119564768,"longitude_deg":75.6724224,"latitude_deg":11.9564768,"altitude":72,"angle":272,"satellites":33,"speed":19,"hex_longitude":"2d1ab200","hex_latitude":"072069e0","is_valid_coordinates":true} 
[2026-07-08 13:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575489280001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4757423604629504,"note":"Value kept but may cause issues"} 
[2026-07-08 13:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928596202285987840,"note":"Value kept but may cause issues"} 
[2026-07-08 13:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783498014000,"timestamp_ms":1783498014000,"timestamp_seconds":1783498014,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c3fd30"} 
[2026-07-08 13:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-08 13:37:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:37:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":127541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":127541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":127541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575489280001,"66":14233,"121":206,"28":31744,"24":19,"16":4757423604629504,"45":1928596202285987840},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 13:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575489280001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:37:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 13:37:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4757423604629504,"km_value":4757423604629.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928596202285987840,"description":"Unknown IO ID 45"} 
[2026-07-08 13:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575489280001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1928596202285987840}} 
[2026-07-08 13:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":127541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:37:45] local.INFO: GPS data processed {"connection_id":127541,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:37:45] local.INFO: Acknowledgment sent {"connection_id":127541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:37:50] local.INFO: TCP Data received {"connection_id":126302,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126302,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:37:50] local.INFO: Processing buffer {"connection_id":126302,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:37:50] local.INFO: IMEI packet received {"connection_id":126302,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":126302,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:37:51] local.INFO: TCP Data received {"connection_id":126302,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c247b0012d0b130007029fc00005013422..."} 
[2026-07-08 13:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c247b0012d0b130007029fc00005013422..."} 
[2026-07-08 13:37:51] local.INFO: Processing buffer {"connection_id":126302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c247b0012d0b130007029fc00005013422..."} 
[2026-07-08 13:37:51] local.INFO: Packet analysis {"connection_id":126302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c2"} 
[2026-07-08 13:37:51] local.INFO: Extracted packet for processing {"connection_id":126302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c2"} 
[2026-07-08 13:37:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575385856001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783497902000,"timestamp_ms":1783497902000,"timestamp_seconds":1783497902,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c247b0"} 
[2026-07-08 13:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 13:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:37:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126302,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126302,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575385856001,"66":12558,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575385856001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:37:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575385856001,"power":12558,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":126302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451344,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:37:51] local.INFO: GPS data processed {"connection_id":126302,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:37:51] local.INFO: Acknowledgment sent {"connection_id":126302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:37:54] local.INFO: TCP Data received {"connection_id":125536,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:37:54] local.INFO: Processing buffer {"connection_id":125536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:37:54] local.INFO: IMEI packet received {"connection_id":125536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":125536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:37:56] local.INFO: TCP Data received {"connection_id":125536,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:37:56] local.INFO: Processing buffer {"connection_id":125536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:37:56] local.INFO: IMEI packet received {"connection_id":125536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":125536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:38:00] local.INFO: TCP Data received {"connection_id":127543,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:38:00] local.INFO: Processing buffer {"connection_id":127543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:38:00] local.INFO: IMEI packet received {"connection_id":127543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":127543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:38:01] local.INFO: TCP Data received {"connection_id":125536,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:38:01] local.INFO: Processing buffer {"connection_id":125536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:38:01] local.INFO: IMEI packet received {"connection_id":125536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":125536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:38:02] local.INFO: TCP Data received {"connection_id":125536,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c3af10012d7f9c8005afd268000800b32e..."} 
[2026-07-08 13:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c3af10012d7f9c8005afd268000800b32e..."} 
[2026-07-08 13:38:02] local.INFO: Processing buffer {"connection_id":125536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c3af10012d7f9c8005afd268000800b32e..."} 
[2026-07-08 13:38:02] local.INFO: Packet analysis {"connection_id":125536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c3"} 
[2026-07-08 13:38:02] local.INFO: Extracted packet for processing {"connection_id":125536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c3"} 
[2026-07-08 13:38:02] local.INFO: GPS Element Parsed {"raw_longitude":763337856,"raw_latitude":95408744,"longitude_deg":76.3337856,"latitude_deg":9.5408744,"altitude":8,"angle":179,"satellites":46,"speed":0,"hex_longitude":"2d7f9c80","hex_latitude":"05afd268","is_valid_coordinates":true} 
[2026-07-08 13:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575485696001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282893824,"note":"Value kept but may cause issues"} 
[2026-07-08 13:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783497994000,"timestamp_ms":1783497994000,"timestamp_seconds":1783497994,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c3af10"} 
[2026-07-08 13:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-08 13:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575485696001,"66":21788,"249":206,"85":12544,"24":0,"16":342532734301765632,"45":9196139357282893824},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-08 13:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575485696001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:38:02] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-08 13:38:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282893824,"description":"Unknown IO ID 45"} 
[2026-07-08 13:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575485696001,"power":21788,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282893824}} 
[2026-07-08 13:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":125536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:38:02] local.INFO: GPS data processed {"connection_id":125536,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:38:02] local.INFO: Acknowledgment sent {"connection_id":125536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:38:06] local.INFO: TCP Data received {"connection_id":127543,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:38:06] local.INFO: Processing buffer {"connection_id":127543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:38:06] local.INFO: IMEI packet received {"connection_id":127543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":127543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:38:07] local.INFO: TCP Data received {"connection_id":127543,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c410b8012d1aa800072069f80046010221..."} 
[2026-07-08 13:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c410b8012d1aa800072069f80046010221..."} 
[2026-07-08 13:38:07] local.INFO: Processing buffer {"connection_id":127543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c410b8012d1aa800072069f80046010221..."} 
[2026-07-08 13:38:07] local.INFO: Packet analysis {"connection_id":127543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c4"} 
[2026-07-08 13:38:07] local.INFO: Extracted packet for processing {"connection_id":127543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c4"} 
[2026-07-08 13:38:07] local.INFO: GPS Element Parsed {"raw_longitude":756721664,"raw_latitude":119564792,"longitude_deg":75.6721664,"latitude_deg":11.9564792,"altitude":70,"angle":258,"satellites":33,"speed":18,"hex_longitude":"2d1aa800","hex_latitude":"072069f8","is_valid_coordinates":true} 
[2026-07-08 13:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575491584001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4757548158681088,"note":"Value kept but may cause issues"} 
[2026-07-08 13:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1923600021449203712,"note":"Value kept but may cause issues"} 
[2026-07-08 13:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783498019000,"timestamp_ms":1783498019000,"timestamp_seconds":1783498019,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c410b8"} 
[2026-07-08 13:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-08 13:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575491584001,"66":14102,"121":206,"28":31744,"24":18,"16":4757548158681088,"45":1923600021449203712},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 13:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575491584001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:38:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 13:38:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4757548158681088,"km_value":4757548158681.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1923600021449203712,"description":"Unknown IO ID 45"} 
[2026-07-08 13:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575491584001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1923600021449203712}} 
[2026-07-08 13:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":127543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:38:07] local.INFO: GPS data processed {"connection_id":127543,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:38:07] local.INFO: Acknowledgment sent {"connection_id":127543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:38:23] local.INFO: TCP Data received {"connection_id":126302,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c247b0012d0b130007029fc00005013422..."} 
[2026-07-08 13:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c247b0012d0b130007029fc00005013422..."} 
[2026-07-08 13:38:23] local.INFO: Processing buffer {"connection_id":126302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c247b0012d0b130007029fc00005013422..."} 
[2026-07-08 13:38:23] local.INFO: Packet analysis {"connection_id":126302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c2"} 
[2026-07-08 13:38:23] local.INFO: Extracted packet for processing {"connection_id":126302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c2"} 
[2026-07-08 13:38:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575385856001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:38:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783497902000,"timestamp_ms":1783497902000,"timestamp_seconds":1783497902,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c247b0"} 
[2026-07-08 13:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:38:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 13:38:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":126302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":126302,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":126302,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:38:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575385856001,"66":12558,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575385856001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:38:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575385856001,"power":12558,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":126302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451347,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:38:23] local.INFO: GPS data processed {"connection_id":126302,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:38:23] local.INFO: Acknowledgment sent {"connection_id":126302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:38:33] local.INFO: TCP Data received {"connection_id":125536,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c40118012d7f9c8005afd268000800b32d..."} 
[2026-07-08 13:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c40118012d7f9c8005afd268000800b32d..."} 
[2026-07-08 13:38:33] local.INFO: Processing buffer {"connection_id":125536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c40118012d7f9c8005afd268000800b32d..."} 
[2026-07-08 13:38:33] local.INFO: Packet analysis {"connection_id":125536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c4"} 
[2026-07-08 13:38:33] local.INFO: Extracted packet for processing {"connection_id":125536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c4"} 
[2026-07-08 13:38:33] local.INFO: GPS Element Parsed {"raw_longitude":763337856,"raw_latitude":95408744,"longitude_deg":76.3337856,"latitude_deg":9.5408744,"altitude":8,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2d7f9c80","hex_latitude":"05afd268","is_valid_coordinates":true} 
[2026-07-08 13:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575486464001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195365301096704000,"note":"Value kept but may cause issues"} 
[2026-07-08 13:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783498015000,"timestamp_ms":1783498015000,"timestamp_seconds":1783498015,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c40118"} 
[2026-07-08 13:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13: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":85,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-07-08 13:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":875,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:38:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575486464001,"66":27800,"249":206,"85":12544,"24":0,"16":342532734301765632,"45":9195365301096704000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-07-08 13:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575486464001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:38:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-08 13:38:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195365301096704000,"description":"Unknown IO ID 45"} 
[2026-07-08 13:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575486464001,"power":27800,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195365301096704000}} 
[2026-07-08 13:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":125536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:38:33] local.INFO: GPS data processed {"connection_id":125536,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:38:33] local.INFO: Acknowledgment sent {"connection_id":125536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:38:39] local.INFO: TCP Data received {"connection_id":127543,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c4dbd8012d1a8d0007205958004400e023..."} 
[2026-07-08 13:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c4dbd8012d1a8d0007205958004400e023..."} 
[2026-07-08 13:38:39] local.INFO: Processing buffer {"connection_id":127543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c4dbd8012d1a8d0007205958004400e023..."} 
[2026-07-08 13:38:39] local.INFO: Packet analysis {"connection_id":127543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c4"} 
[2026-07-08 13:38:39] local.INFO: Extracted packet for processing {"connection_id":127543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c4"} 
[2026-07-08 13:38:39] local.INFO: GPS Element Parsed {"raw_longitude":756714752,"raw_latitude":119560536,"longitude_deg":75.6714752,"latitude_deg":11.9560536,"altitude":68,"angle":224,"satellites":35,"speed":12,"hex_longitude":"2d1a8d00","hex_latitude":"07205958","is_valid_coordinates":true} 
[2026-07-08 13:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575505920001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4757981950377984,"note":"Value kept but may cause issues"} 
[2026-07-08 13:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913466922286598144,"note":"Value kept but may cause issues"} 
[2026-07-08 13:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783498071000,"timestamp_ms":1783498071000,"timestamp_seconds":1783498071,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c4dbd8"} 
[2026-07-08 13:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-08 13:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":127543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":127543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":127543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575505920001,"66":14428,"121":206,"28":31744,"24":12,"16":4757981950377984,"45":1913466922286598144},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 13:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575505920001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:38:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 13:38:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4757981950377984,"km_value":4757981950377.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913466922286598144,"description":"Unknown IO ID 45"} 
[2026-07-08 13:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575505920001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1913466922286598144}} 
[2026-07-08 13:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":127543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:38:39] local.INFO: GPS data processed {"connection_id":127543,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:38:39] local.INFO: Acknowledgment sent {"connection_id":127543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:38:45] local.INFO: TCP Data received {"connection_id":127544,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127544,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:38:45] local.INFO: Processing buffer {"connection_id":127544,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:38:45] local.INFO: IMEI packet received {"connection_id":127544,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":127544,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:38:50] local.INFO: TCP Data received {"connection_id":127544,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127544,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:38:50] local.INFO: Processing buffer {"connection_id":127544,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:38:50] local.INFO: IMEI packet received {"connection_id":127544,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":127544,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:38:51] local.INFO: TCP Data received {"connection_id":127544,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c247b0012d0b130007029fc00005013422..."} 
[2026-07-08 13:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c247b0012d0b130007029fc00005013422..."} 
[2026-07-08 13:38:51] local.INFO: Processing buffer {"connection_id":127544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c247b0012d0b130007029fc00005013422..."} 
[2026-07-08 13:38:51] local.INFO: Packet analysis {"connection_id":127544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c2"} 
[2026-07-08 13:38:51] local.INFO: Extracted packet for processing {"connection_id":127544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c2"} 
[2026-07-08 13:38:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575385856001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783497902000,"timestamp_ms":1783497902000,"timestamp_seconds":1783497902,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c247b0"} 
[2026-07-08 13:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 13:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127544,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127544,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575385856001,"66":12558,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575385856001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:38:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575385856001,"power":12558,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":127544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451350,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:38:51] local.INFO: GPS data processed {"connection_id":127544,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:38:51] local.INFO: Acknowledgment sent {"connection_id":127544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:38:56] local.INFO: TCP Data received {"connection_id":125537,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:38:56] local.INFO: Processing buffer {"connection_id":125537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:38:56] local.INFO: IMEI packet received {"connection_id":125537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":125537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:38:59] local.INFO: TCP Data received {"connection_id":125538,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:38:59] local.INFO: Processing buffer {"connection_id":125538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:38:59] local.INFO: IMEI packet received {"connection_id":125538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 13:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":125538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:39:00] local.INFO: TCP Data received {"connection_id":126303,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:39:00] local.INFO: Processing buffer {"connection_id":126303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:39:00] local.INFO: IMEI packet received {"connection_id":126303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":126303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:39:01] local.INFO: TCP Data received {"connection_id":125537,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:39:01] local.INFO: Processing buffer {"connection_id":125537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:39:01] local.INFO: IMEI packet received {"connection_id":125537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":125537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:39:02] local.INFO: TCP Data received {"connection_id":125537,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c45320012d7f9c8005afd268000800b32d..."} 
[2026-07-08 13:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c45320012d7f9c8005afd268000800b32d..."} 
[2026-07-08 13:39:02] local.INFO: Processing buffer {"connection_id":125537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c45320012d7f9c8005afd268000800b32d..."} 
[2026-07-08 13:39:02] local.INFO: Packet analysis {"connection_id":125537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c4"} 
[2026-07-08 13:39:02] local.INFO: Extracted packet for processing {"connection_id":125537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c4"} 
[2026-07-08 13:39:02] local.INFO: GPS Element Parsed {"raw_longitude":763337856,"raw_latitude":95408744,"longitude_deg":76.3337856,"latitude_deg":9.5408744,"altitude":8,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2d7f9c80","hex_latitude":"05afd268","is_valid_coordinates":true} 
[2026-07-08 13:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575491840001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532734301765632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195365301096704000,"note":"Value kept but may cause issues"} 
[2026-07-08 13:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783498036000,"timestamp_ms":1783498036000,"timestamp_seconds":1783498036,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c45320"} 
[2026-07-08 13:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:39: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-07-08 13:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 13:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575491840001,"66":27800,"250":206,"85":12544,"24":0,"16":342532734301765632,"45":9195365301096704000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 13:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575491840001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:39:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 13:39:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532734301765632,"km_value":342532734301765.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195365301096704000,"description":"Unknown IO ID 45"} 
[2026-07-08 13:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575491840001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195365301096704000}} 
[2026-07-08 13:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":125537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:39:02] local.INFO: GPS data processed {"connection_id":125537,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:39:02] local.INFO: Acknowledgment sent {"connection_id":125537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:39:05] local.INFO: TCP Data received {"connection_id":126303,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:39:05] local.INFO: Processing buffer {"connection_id":126303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:39:05] local.INFO: IMEI packet received {"connection_id":126303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":126303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:39:06] local.INFO: TCP Data received {"connection_id":126303,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c4dfc0012d1a8c8007205860004400cc23..."} 
[2026-07-08 13:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c4dfc0012d1a8c8007205860004400cc23..."} 
[2026-07-08 13:39:06] local.INFO: Processing buffer {"connection_id":126303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c4dfc0012d1a8c8007205860004400cc23..."} 
[2026-07-08 13:39:06] local.INFO: Packet analysis {"connection_id":126303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c4"} 
[2026-07-08 13:39:06] local.INFO: Extracted packet for processing {"connection_id":126303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c4"} 
[2026-07-08 13:39:06] local.INFO: GPS Element Parsed {"raw_longitude":756714624,"raw_latitude":119560288,"longitude_deg":75.6714624,"latitude_deg":11.9560288,"altitude":68,"angle":204,"satellites":35,"speed":10,"hex_longitude":"2d1a8c80","hex_latitude":"07205860","is_valid_coordinates":true} 
[2026-07-08 13:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575506176001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4757994835279872,"note":"Value kept but may cause issues"} 
[2026-07-08 13:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913185447309826048,"note":"Value kept but may cause issues"} 
[2026-07-08 13:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783498072000,"timestamp_ms":1783498072000,"timestamp_seconds":1783498072,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c4dfc0"} 
[2026-07-08 13:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 13:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575506176001,"66":14428,"121":206,"28":31744,"24":10,"16":4757994835279872,"45":1913185447309826048},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 13:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575506176001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:39:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 13:39:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4757994835279872,"km_value":4757994835279.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913185447309826048,"description":"Unknown IO ID 45"} 
[2026-07-08 13:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575506176001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1913185447309826048}} 
[2026-07-08 13:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":126303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:39:07] local.INFO: GPS data processed {"connection_id":126303,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:39:07] local.INFO: Acknowledgment sent {"connection_id":126303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:39:22] local.INFO: TCP Data received {"connection_id":127544,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c247b0012d0b130007029fc00005013422..."} 
[2026-07-08 13:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c247b0012d0b130007029fc00005013422..."} 
[2026-07-08 13:39:22] local.INFO: Processing buffer {"connection_id":127544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c247b0012d0b130007029fc00005013422..."} 
[2026-07-08 13:39:22] local.INFO: Packet analysis {"connection_id":127544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c2"} 
[2026-07-08 13:39:22] local.INFO: Extracted packet for processing {"connection_id":127544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c2"} 
[2026-07-08 13:39:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575385856001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783497902000,"timestamp_ms":1783497902000,"timestamp_seconds":1783497902,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c247b0"} 
[2026-07-08 13:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 13:39:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":127544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":127544,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":127544,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575385856001,"66":12558,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575385856001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:39:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575385856001,"power":12558,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":127544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451353,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:39:23] local.INFO: GPS data processed {"connection_id":127544,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:39:23] local.INFO: Acknowledgment sent {"connection_id":127544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:39:34] local.INFO: TCP Data received {"connection_id":125537,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c46e78012d7f9d8005afd030000a008c2d..."} 
[2026-07-08 13:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c46e78012d7f9d8005afd030000a008c2d..."} 
[2026-07-08 13:39:34] local.INFO: Processing buffer {"connection_id":125537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c46e78012d7f9d8005afd030000a008c2d..."} 
[2026-07-08 13:39:34] local.INFO: Packet analysis {"connection_id":125537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c4"} 
[2026-07-08 13:39:34] local.INFO: Extracted packet for processing {"connection_id":125537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c4"} 
[2026-07-08 13:39:34] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":95408176,"longitude_deg":76.3338112,"latitude_deg":9.5408176,"altitude":10,"angle":140,"satellites":45,"speed":4,"hex_longitude":"2d7f9d80","hex_latitude":"05afd030","is_valid_coordinates":true} 
[2026-07-08 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-07-08 13:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575497216001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342532764366536704,"note":"Value kept but may cause issues"} 
[2026-07-08 13:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195365301096704000,"note":"Value kept but may cause issues"} 
[2026-07-08 13:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783498043000,"timestamp_ms":1783498043000,"timestamp_seconds":1783498043,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c46e78"} 
[2026-07-08 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-07-08 13:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 13:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 13:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575497216001,"66":27919,"250":206,"85":12544,"24":4,"16":342532764366536704,"45":9195365301096704000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 13:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575497216001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:39:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 13:39:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342532764366536704,"km_value":342532764366536.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195365301096704000,"description":"Unknown IO ID 45"} 
[2026-07-08 13:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575497216001,"power":27919,"unknown_250":206,"unknown_85":12544,"ignition":4,"odometer":null,"unknown_45":9195365301096704000}} 
[2026-07-08 13:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":125537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:39:34] local.INFO: GPS data processed {"connection_id":125537,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:39:34] local.INFO: Acknowledgment sent {"connection_id":125537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:39:38] local.INFO: TCP Data received {"connection_id":126303,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c5aae0012d1a3e8007204358003f00fe21..."} 
[2026-07-08 13:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c5aae0012d1a3e8007204358003f00fe21..."} 
[2026-07-08 13:39:38] local.INFO: Processing buffer {"connection_id":126303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c5aae0012d1a3e8007204358003f00fe21..."} 
[2026-07-08 13:39:38] local.INFO: Packet analysis {"connection_id":126303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c5"} 
[2026-07-08 13:39:38] local.INFO: Extracted packet for processing {"connection_id":126303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c5"} 
[2026-07-08 13:39:38] local.INFO: GPS Element Parsed {"raw_longitude":756694656,"raw_latitude":119554904,"longitude_deg":75.6694656,"latitude_deg":11.9554904,"altitude":63,"angle":254,"satellites":33,"speed":26,"hex_longitude":"2d1a3e80","hex_latitude":"07204358","is_valid_coordinates":true} 
[2026-07-08 13:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575515392001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4759120116711424,"note":"Value kept but may cause issues"} 
[2026-07-08 13:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1901504235775442944,"note":"Value kept but may cause issues"} 
[2026-07-08 13:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783498124000,"timestamp_ms":1783498124000,"timestamp_seconds":1783498124,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c5aae0"} 
[2026-07-08 13:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-08 13:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575515392001,"66":14048,"121":206,"28":31744,"24":26,"16":4759120116711424,"45":1901504235775442944},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 13:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575515392001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:39:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 13:39:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4759120116711424,"km_value":4759120116711.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1901504235775442944,"description":"Unknown IO ID 45"} 
[2026-07-08 13:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575515392001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1901504235775442944}} 
[2026-07-08 13:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":126303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:39:38] local.INFO: GPS data processed {"connection_id":126303,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:39:38] local.INFO: Acknowledgment sent {"connection_id":126303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:39:45] local.INFO: TCP Data received {"connection_id":125539,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125539,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:39:45] local.INFO: Processing buffer {"connection_id":125539,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:39:45] local.INFO: IMEI packet received {"connection_id":125539,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":125539,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:39:50] local.INFO: TCP Data received {"connection_id":125539,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125539,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:39:50] local.INFO: Processing buffer {"connection_id":125539,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:39:50] local.INFO: IMEI packet received {"connection_id":125539,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":125539,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:39:51] local.INFO: TCP Data received {"connection_id":125539,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c247b0012d0b130007029fc00005013422..."} 
[2026-07-08 13:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c247b0012d0b130007029fc00005013422..."} 
[2026-07-08 13:39:51] local.INFO: Processing buffer {"connection_id":125539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c247b0012d0b130007029fc00005013422..."} 
[2026-07-08 13:39:51] local.INFO: Packet analysis {"connection_id":125539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c2"} 
[2026-07-08 13:39:51] local.INFO: Extracted packet for processing {"connection_id":125539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c2"} 
[2026-07-08 13:39:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575385856001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783497902000,"timestamp_ms":1783497902000,"timestamp_seconds":1783497902,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c247b0"} 
[2026-07-08 13:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 13:39:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125539,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125539,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575385856001,"66":12558,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575385856001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:39:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575385856001,"power":12558,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":125539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451356,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:39:51] local.INFO: GPS data processed {"connection_id":125539,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:39:51] local.INFO: Acknowledgment sent {"connection_id":125539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:39:56] local.INFO: TCP Data received {"connection_id":127545,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:39:56] local.INFO: Processing buffer {"connection_id":127545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:39:56] local.INFO: IMEI packet received {"connection_id":127545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":127545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:39:58] local.INFO: TCP Data received {"connection_id":127545,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:39:58] local.INFO: Processing buffer {"connection_id":127545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:39:58] local.INFO: IMEI packet received {"connection_id":127545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":127545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:39:59] local.INFO: TCP Data received {"connection_id":126305,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:39:59] local.INFO: Processing buffer {"connection_id":126305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:39:59] local.INFO: IMEI packet received {"connection_id":126305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":126305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:40:00] local.INFO: TCP Data received {"connection_id":126305,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:40:00] local.INFO: Processing buffer {"connection_id":126305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:40:00] local.INFO: IMEI packet received {"connection_id":126305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":126305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:40:01] local.INFO: TCP Data received {"connection_id":127545,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:40:01] local.INFO: Processing buffer {"connection_id":127545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:40:01] local.INFO: IMEI packet received {"connection_id":127545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":127545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:40:02] local.INFO: TCP Data received {"connection_id":127545,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c5ed48012d7f9f4005afb848000800eb2e..."} 
[2026-07-08 13:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c5ed48012d7f9f4005afb848000800eb2e..."} 
[2026-07-08 13:40:02] local.INFO: Processing buffer {"connection_id":127545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c5ed48012d7f9f4005afb848000800eb2e..."} 
[2026-07-08 13:40:02] local.INFO: Packet analysis {"connection_id":127545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c5"} 
[2026-07-08 13:40:02] local.INFO: Extracted packet for processing {"connection_id":127545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c5"} 
[2026-07-08 13:40:02] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95402056,"longitude_deg":76.333856,"latitude_deg":9.5402056,"altitude":8,"angle":235,"satellites":46,"speed":8,"hex_longitude":"2d7f9f40","hex_latitude":"05afb848","is_valid_coordinates":true} 
[2026-07-08 13:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575523840001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342533112258887680,"note":"Value kept but may cause issues"} 
[2026-07-08 13:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196280094769334272,"note":"Value kept but may cause issues"} 
[2026-07-08 13:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783498141000,"timestamp_ms":1783498141000,"timestamp_seconds":1783498141,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c5ed48"} 
[2026-07-08 13:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 13:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575523840001,"66":27691,"27":206,"85":12544,"24":8,"16":342533112258887680,"45":9196280094769334272},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 13:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575523840001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:40:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 13:40:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342533112258887680,"km_value":342533112258887.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196280094769334272,"description":"Unknown IO ID 45"} 
[2026-07-08 13:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575523840001,"power":27691,"unknown_27":206,"unknown_85":12544,"ignition":8,"odometer":null,"unknown_45":9196280094769334272}} 
[2026-07-08 13:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":127545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:40:02] local.INFO: GPS data processed {"connection_id":127545,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:40:02] local.INFO: Acknowledgment sent {"connection_id":127545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:40:06] local.INFO: TCP Data received {"connection_id":127545,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c5f130012d7f9e4005afb7f8000801012e..."} 
[2026-07-08 13:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c5f130012d7f9e4005afb7f8000801012e..."} 
[2026-07-08 13:40:06] local.INFO: Processing buffer {"connection_id":127545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c5f130012d7f9e4005afb7f8000801012e..."} 
[2026-07-08 13:40:06] local.INFO: Packet analysis {"connection_id":127545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c5"} 
[2026-07-08 13:40:06] local.INFO: Extracted packet for processing {"connection_id":127545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c5"} 
[2026-07-08 13:40:06] local.INFO: GPS Element Parsed {"raw_longitude":763338304,"raw_latitude":95401976,"longitude_deg":76.3338304,"latitude_deg":9.5401976,"altitude":8,"angle":257,"satellites":46,"speed":10,"hex_longitude":"2d7f9e40","hex_latitude":"05afb7f8","is_valid_coordinates":true} 
[2026-07-08 13:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575524096001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342533125143789568,"note":"Value kept but may cause issues"} 
[2026-07-08 13:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357280946176,"note":"Value kept but may cause issues"} 
[2026-07-08 13:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783498142000,"timestamp_ms":1783498142000,"timestamp_seconds":1783498142,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c5f130"} 
[2026-07-08 13:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 13:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575524096001,"66":27691,"27":206,"85":12544,"24":10,"16":342533125143789568,"45":9196139357280946176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 13:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575524096001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:40:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 13:40:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342533125143789568,"km_value":342533125143789.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357280946176,"description":"Unknown IO ID 45"} 
[2026-07-08 13:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575524096001,"power":27691,"unknown_27":206,"unknown_85":12544,"ignition":10,"odometer":null,"unknown_45":9196139357280946176}} 
[2026-07-08 13:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":127545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:40:06] local.INFO: GPS data processed {"connection_id":127545,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:40:06] local.INFO: Acknowledgment sent {"connection_id":127545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:40:08] local.INFO: TCP Data received {"connection_id":126305,"ip":"117.224.97.30","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-08 13:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126305,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-08 13:40:08] local.INFO: Processing buffer {"connection_id":126305,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-08 13:40:08] local.INFO: IMEI packet received {"connection_id":126305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":126305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:40:22] local.INFO: TCP Data received {"connection_id":125539,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c6df78012d0b130007029fc00005013423..."} 
[2026-07-08 13:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c6df78012d0b130007029fc00005013423..."} 
[2026-07-08 13:40:22] local.INFO: Processing buffer {"connection_id":125539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c6df78012d0b130007029fc00005013423..."} 
[2026-07-08 13:40:22] local.INFO: Packet analysis {"connection_id":125539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c6"} 
[2026-07-08 13:40:22] local.INFO: Extracted packet for processing {"connection_id":125539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c6"} 
[2026-07-08 13:40:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 13:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575462912001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783498203000,"timestamp_ms":1783498203000,"timestamp_seconds":1783498203,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c6df78"} 
[2026-07-08 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-07-08 13:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-08 13:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-07-08 13:40:22] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-07-08 13:40:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 13:40:22] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":83886080,"corrected_to":0} 
[2026-07-08 13:40:22] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2951254017,"note":"Value kept but may cause issues"} 
[2026-07-08 13:40:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3245708847289114560,"note":"Value kept but may cause issues"} 
[2026-07-08 13:40:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-07-08 13:40:22] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3355520267,"note":"Value kept but may cause issues"} 
[2026-07-08 13:40:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3422879744,"note":"Value kept but may cause issues"} 
[2026-07-08 13:40:22] local.WARNING: Large IO value detected {"io_id":65,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-07-08 13:40:22] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6785517366642999298,"note":"Value kept but may cause issues"} 
[2026-07-08 13:40:22] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,17,94,24,241,157,16,204,159,175,45,5,35,10,66,33,128,240,58,227,64,2,1,4,113,205,80,19,192,34,239,49,83,7,65,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":204,"original":83886080,"validated":0},{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-07-08 13:40:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360626765799882752,"timestamp_seconds":360626765799882.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 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-07-08 13:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125539,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125539,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575462912001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575462912001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:40:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575462912001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":125539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451359,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:40:22] local.INFO: GPS data processed {"connection_id":125539,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:40:22] local.INFO: Acknowledgment sent {"connection_id":125539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:40:38] local.INFO: TCP Data received {"connection_id":127545,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c5f518012d7f9d0005afb7f0000801102d..."} 
[2026-07-08 13:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c5f518012d7f9d0005afb7f0000801102d..."} 
[2026-07-08 13:40:38] local.INFO: Processing buffer {"connection_id":127545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c5f518012d7f9d0005afb7f0000801102d..."} 
[2026-07-08 13:40:38] local.INFO: Packet analysis {"connection_id":127545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c5"} 
[2026-07-08 13:40:38] local.INFO: Extracted packet for processing {"connection_id":127545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c5"} 
[2026-07-08 13:40:38] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95401968,"longitude_deg":76.3337984,"latitude_deg":9.5401968,"altitude":8,"angle":272,"satellites":45,"speed":12,"hex_longitude":"2d7f9d00","hex_latitude":"05afb7f0","is_valid_coordinates":true} 
[2026-07-08 13:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575524352001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342533138028691456,"note":"Value kept but may cause issues"} 
[2026-07-08 13:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195857882304215040,"note":"Value kept but may cause issues"} 
[2026-07-08 13:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783498143000,"timestamp_ms":1783498143000,"timestamp_seconds":1783498143,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c5f518"} 
[2026-07-08 13:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 13:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575524352001,"66":27865,"27":206,"85":12544,"24":12,"16":342533138028691456,"45":9195857882304215040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 13:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575524352001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:40:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 13:40:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342533138028691456,"km_value":342533138028691.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195857882304215040,"description":"Unknown IO ID 45"} 
[2026-07-08 13:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575524352001,"power":27865,"unknown_27":206,"unknown_85":12544,"ignition":12,"odometer":null,"unknown_45":9195857882304215040}} 
[2026-07-08 13:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":127545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:40:38] local.INFO: GPS data processed {"connection_id":127545,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:40:38] local.INFO: Acknowledgment sent {"connection_id":127545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:40:44] local.INFO: TCP Data received {"connection_id":125426,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125426,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:40:44] local.INFO: Processing buffer {"connection_id":125426,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:40:44] local.INFO: IMEI packet received {"connection_id":125426,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":125426,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:40:50] local.INFO: TCP Data received {"connection_id":125426,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125426,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:40:50] local.INFO: Processing buffer {"connection_id":125426,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:40:50] local.INFO: IMEI packet received {"connection_id":125426,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":125426,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:40:51] local.INFO: TCP Data received {"connection_id":125426,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c6df78012d0b130007029fc00005013423..."} 
[2026-07-08 13:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c6df78012d0b130007029fc00005013423..."} 
[2026-07-08 13:40:51] local.INFO: Processing buffer {"connection_id":125426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c6df78012d0b130007029fc00005013423..."} 
[2026-07-08 13:40:51] local.INFO: Packet analysis {"connection_id":125426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c6"} 
[2026-07-08 13:40:51] local.INFO: Extracted packet for processing {"connection_id":125426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c6"} 
[2026-07-08 13:40:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575462912001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783498203000,"timestamp_ms":1783498203000,"timestamp_seconds":1783498203,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c6df78"} 
[2026-07-08 13:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-08 13:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-07-08 13:40:51] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-07-08 13:40:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 13:40:51] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":83886080,"corrected_to":0} 
[2026-07-08 13:40:51] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2951254017,"note":"Value kept but may cause issues"} 
[2026-07-08 13:40:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3245708847289114560,"note":"Value kept but may cause issues"} 
[2026-07-08 13:40:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-07-08 13:40:51] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3355520267,"note":"Value kept but may cause issues"} 
[2026-07-08 13:40:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3422879744,"note":"Value kept but may cause issues"} 
[2026-07-08 13:40:51] local.WARNING: Large IO value detected {"io_id":65,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-07-08 13:40:51] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6785517366642999298,"note":"Value kept but may cause issues"} 
[2026-07-08 13:40:51] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,17,94,24,241,157,16,204,159,175,45,5,35,10,66,33,128,240,58,227,64,2,1,4,113,205,80,19,192,34,239,49,83,7,65,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":204,"original":83886080,"validated":0},{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-07-08 13:40:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360626765799882752,"timestamp_seconds":360626765799882.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 13:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125426,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125426,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575462912001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575462912001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:40:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575462912001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":125426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451361,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:40:51] local.INFO: GPS data processed {"connection_id":125426,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:40:51] local.INFO: Acknowledgment sent {"connection_id":125426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:40:55] local.INFO: TCP Data received {"connection_id":125428,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:40:55] local.INFO: Processing buffer {"connection_id":125428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:40:55] local.INFO: IMEI packet received {"connection_id":125428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":125428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:40:59] local.INFO: TCP Data received {"connection_id":125428,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:40:59] local.INFO: Processing buffer {"connection_id":125428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:40:59] local.INFO: IMEI packet received {"connection_id":125428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":125428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:41:00] local.INFO: TCP Data received {"connection_id":125428,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:41:00] local.INFO: Processing buffer {"connection_id":125428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:41:00] local.INFO: IMEI packet received {"connection_id":125428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":125428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:41:01] local.INFO: TCP Data received {"connection_id":125428,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c63780012d7f794005afb8880006011428..."} 
[2026-07-08 13:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c63780012d7f794005afb8880006011428..."} 
[2026-07-08 13:41:01] local.INFO: Processing buffer {"connection_id":125428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c63780012d7f794005afb8880006011428..."} 
[2026-07-08 13:41:01] local.INFO: Packet analysis {"connection_id":125428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c6"} 
[2026-07-08 13:41:01] local.INFO: Extracted packet for processing {"connection_id":125428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c6"} 
[2026-07-08 13:41:01] local.INFO: GPS Element Parsed {"raw_longitude":763328832,"raw_latitude":95402120,"longitude_deg":76.3328832,"latitude_deg":9.540212,"altitude":6,"angle":276,"satellites":40,"speed":27,"hex_longitude":"2d7f7940","hex_latitude":"05afb888","is_valid_coordinates":true} 
[2026-07-08 13:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575524608001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342533576115355648,"note":"Value kept but may cause issues"} 
[2026-07-08 13:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038583324672,"note":"Value kept but may cause issues"} 
[2026-07-08 13:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783498160000,"timestamp_ms":1783498160000,"timestamp_seconds":1783498160,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c63780"} 
[2026-07-08 13:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:41:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 13:41:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:41:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575524608001,"66":27767,"250":206,"85":12544,"24":27,"16":342533576115355648,"45":9195506038583324672},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 13:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575524608001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:41:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 13:41:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342533576115355648,"km_value":342533576115355.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038583324672,"description":"Unknown IO ID 45"} 
[2026-07-08 13:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575524608001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":27,"odometer":null,"unknown_45":9195506038583324672}} 
[2026-07-08 13:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":125428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:41:01] local.INFO: GPS data processed {"connection_id":125428,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:41:01] local.INFO: Acknowledgment sent {"connection_id":125428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:41:02] local.INFO: TCP Data received {"connection_id":125428,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c656c0012d7f5fc005afba60000501062a..."} 
[2026-07-08 13:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c656c0012d7f5fc005afba60000501062a..."} 
[2026-07-08 13:41:02] local.INFO: Processing buffer {"connection_id":125428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c656c0012d7f5fc005afba60000501062a..."} 
[2026-07-08 13:41:02] local.INFO: Packet analysis {"connection_id":125428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c6"} 
[2026-07-08 13:41:02] local.INFO: Extracted packet for processing {"connection_id":125428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c6"} 
[2026-07-08 13:41:02] local.INFO: GPS Element Parsed {"raw_longitude":763322304,"raw_latitude":95402592,"longitude_deg":76.3322304,"latitude_deg":9.5402592,"altitude":5,"angle":262,"satellites":42,"speed":34,"hex_longitude":"2d7f5fc0","hex_latitude":"05afba60","is_valid_coordinates":true} 
[2026-07-08 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-07-08 13:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575528960001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342533893942935552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9185443308165957632,"note":"Value kept but may cause issues"} 
[2026-07-08 13:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783498168000,"timestamp_ms":1783498168000,"timestamp_seconds":1783498168,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c656c0"} 
[2026-07-08 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-07-08 13:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 13:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 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-07-08 13:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575528960001,"66":27843,"250":206,"85":12544,"24":34,"16":342533893942935552,"45":9185443308165957632},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-08 13:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575528960001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:41:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-08 13:41:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342533893942935552,"km_value":342533893942935.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9185443308165957632,"description":"Unknown IO ID 45"} 
[2026-07-08 13:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575528960001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":34,"odometer":null,"unknown_45":9185443308165957632}} 
[2026-07-08 13:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":125428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:41:02] local.INFO: GPS data processed {"connection_id":125428,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:41:02] local.INFO: Acknowledgment sent {"connection_id":125428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:41:23] local.INFO: TCP Data received {"connection_id":125426,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c6df78012d0b130007029fc00005013423..."} 
[2026-07-08 13:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c6df78012d0b130007029fc00005013423..."} 
[2026-07-08 13:41:23] local.INFO: Processing buffer {"connection_id":125426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c6df78012d0b130007029fc00005013423..."} 
[2026-07-08 13:41:23] local.INFO: Packet analysis {"connection_id":125426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c6"} 
[2026-07-08 13:41:23] local.INFO: Extracted packet for processing {"connection_id":125426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c6"} 
[2026-07-08 13:41:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575462912001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783498203000,"timestamp_ms":1783498203000,"timestamp_seconds":1783498203,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c6df78"} 
[2026-07-08 13:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:41:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-08 13:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-07-08 13:41:23] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-07-08 13:41:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 13:41:23] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":83886080,"corrected_to":0} 
[2026-07-08 13:41:23] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2951254017,"note":"Value kept but may cause issues"} 
[2026-07-08 13:41:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3245708847289114560,"note":"Value kept but may cause issues"} 
[2026-07-08 13:41:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-07-08 13:41:23] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3355520267,"note":"Value kept but may cause issues"} 
[2026-07-08 13:41:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3422879744,"note":"Value kept but may cause issues"} 
[2026-07-08 13:41:23] local.WARNING: Large IO value detected {"io_id":65,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-07-08 13:41:23] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6785517366642999298,"note":"Value kept but may cause issues"} 
[2026-07-08 13:41:23] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,17,94,24,241,157,16,204,159,175,45,5,35,10,66,33,128,240,58,227,64,2,1,4,113,205,80,19,192,34,239,49,83,7,65,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":204,"original":83886080,"validated":0},{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-07-08 13:41:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360626765799882752,"timestamp_seconds":360626765799882.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 13:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":125426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":125426,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":125426,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575462912001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575462912001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:41:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575462912001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":125426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451364,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:41:23] local.INFO: GPS data processed {"connection_id":125426,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:41:23] local.INFO: Acknowledgment sent {"connection_id":125426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:41:33] local.INFO: TCP Data received {"connection_id":125428,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c77fa0012d7f1bc005af7570000401272b..."} 
[2026-07-08 13:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c77fa0012d7f1bc005af7570000401272b..."} 
[2026-07-08 13:41:33] local.INFO: Processing buffer {"connection_id":125428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c77fa0012d7f1bc005af7570000401272b..."} 
[2026-07-08 13:41:33] local.INFO: Packet analysis {"connection_id":125428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c7"} 
[2026-07-08 13:41:33] local.INFO: Extracted packet for processing {"connection_id":125428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c7"} 
[2026-07-08 13:41:33] local.INFO: GPS Element Parsed {"raw_longitude":763304896,"raw_latitude":95384944,"longitude_deg":76.3304896,"latitude_deg":9.5384944,"altitude":4,"angle":295,"satellites":43,"speed":29,"hex_longitude":"2d7f1bc0","hex_latitude":"05af7570","is_valid_coordinates":true} 
[2026-07-08 13:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575549952001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342536097261158400,"note":"Value kept but may cause issues"} 
[2026-07-08 13:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9160462403978287104,"note":"Value kept but may cause issues"} 
[2026-07-08 13:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783498244000,"timestamp_ms":1783498244000,"timestamp_seconds":1783498244,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c77fa0"} 
[2026-07-08 13:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 13:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575549952001,"66":27908,"28":206,"85":12544,"24":29,"16":342536097261158400,"45":9160462403978287104},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-08 13:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575549952001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:41:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-08 13:41:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342536097261158400,"km_value":342536097261158.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9160462403978287104,"description":"Unknown IO ID 45"} 
[2026-07-08 13:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575549952001,"power":27908,"unknown_28":206,"unknown_85":12544,"ignition":29,"odometer":null,"unknown_45":9160462403978287104}} 
[2026-07-08 13:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":125428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:41:33] local.INFO: GPS data processed {"connection_id":125428,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:41:33] local.INFO: Acknowledgment sent {"connection_id":125428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:41:50] local.INFO: TCP Data received {"connection_id":127546,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127546,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:41:50] local.INFO: Processing buffer {"connection_id":127546,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:41:50] local.INFO: IMEI packet received {"connection_id":127546,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":127546,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:41:55] local.INFO: TCP Data received {"connection_id":127546,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127546,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:41:55] local.INFO: Processing buffer {"connection_id":127546,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:41:55] local.INFO: IMEI packet received {"connection_id":127546,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":127546,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:41:55] local.INFO: TCP Data received {"connection_id":127547,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:41:55] local.INFO: Processing buffer {"connection_id":127547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:41:55] local.INFO: IMEI packet received {"connection_id":127547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":127547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:41:56] local.INFO: TCP Data received {"connection_id":127546,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c6df78012d0b130007029fc00005013423..."} 
[2026-07-08 13:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c6df78012d0b130007029fc00005013423..."} 
[2026-07-08 13:41:56] local.INFO: Processing buffer {"connection_id":127546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c6df78012d0b130007029fc00005013423..."} 
[2026-07-08 13:41:56] local.INFO: Packet analysis {"connection_id":127546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c6"} 
[2026-07-08 13:41:56] local.INFO: Extracted packet for processing {"connection_id":127546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c6"} 
[2026-07-08 13:41:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575462912001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:41:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783498203000,"timestamp_ms":1783498203000,"timestamp_seconds":1783498203,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c6df78"} 
[2026-07-08 13:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:41:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-08 13:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-07-08 13:41:56] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-07-08 13:41:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 13:41:56] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":83886080,"corrected_to":0} 
[2026-07-08 13:41:56] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2951254017,"note":"Value kept but may cause issues"} 
[2026-07-08 13:41:56] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3245708847289114560,"note":"Value kept but may cause issues"} 
[2026-07-08 13:41:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-07-08 13:41:56] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3355520267,"note":"Value kept but may cause issues"} 
[2026-07-08 13:41:56] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3422879744,"note":"Value kept but may cause issues"} 
[2026-07-08 13:41:56] local.WARNING: Large IO value detected {"io_id":65,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-07-08 13:41:56] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6785517366642999298,"note":"Value kept but may cause issues"} 
[2026-07-08 13:41:56] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,17,94,24,241,157,16,204,159,175,45,5,35,10,66,33,128,240,58,227,64,2,1,4,113,205,80,19,192,34,239,49,83,7,65,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":204,"original":83886080,"validated":0},{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-07-08 13:41:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360626765799882752,"timestamp_seconds":360626765799882.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 13:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":127546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":127546,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":127546,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575462912001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575462912001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:41:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575462912001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":127546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451366,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:41:56] local.INFO: GPS data processed {"connection_id":127546,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:41:56] local.INFO: Acknowledgment sent {"connection_id":127546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:42:00] local.INFO: TCP Data received {"connection_id":127546,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c6df78012d0b130007029fc00005013423..."} 
[2026-07-08 13:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c6df78012d0b130007029fc00005013423..."} 
[2026-07-08 13:42:00] local.INFO: Processing buffer {"connection_id":127546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c6df78012d0b130007029fc00005013423..."} 
[2026-07-08 13:42:00] local.INFO: Packet analysis {"connection_id":127546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c6"} 
[2026-07-08 13:42:00] local.INFO: Extracted packet for processing {"connection_id":127546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c6"} 
[2026-07-08 13:42:00] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575462912001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:42:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783498203000,"timestamp_ms":1783498203000,"timestamp_seconds":1783498203,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c6df78"} 
[2026-07-08 13:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:42: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":14,"data_length":795,"current_offset":136} 
[2026-07-08 13:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-07-08 13:42:00] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-07-08 13:42:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 13:42:00] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":83886080,"corrected_to":0} 
[2026-07-08 13:42:00] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2951254017,"note":"Value kept but may cause issues"} 
[2026-07-08 13:42:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3245708847289114560,"note":"Value kept but may cause issues"} 
[2026-07-08 13:42:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-07-08 13:42:00] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3355520267,"note":"Value kept but may cause issues"} 
[2026-07-08 13:42:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3422879744,"note":"Value kept but may cause issues"} 
[2026-07-08 13:42:00] local.WARNING: Large IO value detected {"io_id":65,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-07-08 13:42:00] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6785517366642999298,"note":"Value kept but may cause issues"} 
[2026-07-08 13:42:00] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,17,94,24,241,157,16,204,159,175,45,5,35,10,66,33,128,240,58,227,64,2,1,4,113,205,80,19,192,34,239,49,83,7,65,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":204,"original":83886080,"validated":0},{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-07-08 13:42:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360626765799882752,"timestamp_seconds":360626765799882.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 13:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":127546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":127546,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":127546,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575462912001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575462912001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:42:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575462912001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":127546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451367,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:42:00] local.INFO: GPS data processed {"connection_id":127546,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:42:00] local.INFO: Acknowledgment sent {"connection_id":127546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:42:01] local.INFO: TCP Data received {"connection_id":127547,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:42:01] local.INFO: Processing buffer {"connection_id":127547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:42:01] local.INFO: IMEI packet received {"connection_id":127547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":127547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:42:02] local.INFO: TCP Data received {"connection_id":127547,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c78b58012d7f138005af78380004011b2c..."} 
[2026-07-08 13:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c78b58012d7f138005af78380004011b2c..."} 
[2026-07-08 13:42:02] local.INFO: Processing buffer {"connection_id":127547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c78b58012d7f138005af78380004011b2c..."} 
[2026-07-08 13:42:02] local.INFO: Packet analysis {"connection_id":127547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c7"} 
[2026-07-08 13:42:02] local.INFO: Extracted packet for processing {"connection_id":127547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c7"} 
[2026-07-08 13:42:02] local.INFO: GPS Element Parsed {"raw_longitude":763302784,"raw_latitude":95385656,"longitude_deg":76.3302784,"latitude_deg":9.5385656,"altitude":4,"angle":283,"satellites":44,"speed":30,"hex_longitude":"2d7f1380","hex_latitude":"05af7838","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575550464001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342536204635340800,"note":"Value kept but may cause issues"} 
[2026-07-08 13:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9159125397839114240,"note":"Value kept but may cause issues"} 
[2026-07-08 13:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783498247000,"timestamp_ms":1783498247000,"timestamp_seconds":1783498247,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c78b58"} 
[2026-07-08 13:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 13:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575550464001,"66":27658,"28":206,"85":12544,"24":30,"16":342536204635340800,"45":9159125397839114240},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-08 13:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575550464001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:42:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-08 13:42:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342536204635340800,"km_value":342536204635340.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9159125397839114240,"description":"Unknown IO ID 45"} 
[2026-07-08 13:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575550464001,"power":27658,"unknown_28":206,"unknown_85":12544,"ignition":30,"odometer":null,"unknown_45":9159125397839114240}} 
[2026-07-08 13:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":127547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:42:02] local.INFO: GPS data processed {"connection_id":127547,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:42:02] local.INFO: Acknowledgment sent {"connection_id":127547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:42:33] local.INFO: TCP Data received {"connection_id":127547,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c79af8012d7f07c005af79d00004010e2a..."} 
[2026-07-08 13:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c79af8012d7f07c005af79d00004010e2a..."} 
[2026-07-08 13:42:33] local.INFO: Processing buffer {"connection_id":127547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c79af8012d7f07c005af79d00004010e2a..."} 
[2026-07-08 13:42:33] local.INFO: Packet analysis {"connection_id":127547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c7"} 
[2026-07-08 13:42:33] local.INFO: Extracted packet for processing {"connection_id":127547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c7"} 
[2026-07-08 13:42:33] local.INFO: GPS Element Parsed {"raw_longitude":763299776,"raw_latitude":95386064,"longitude_deg":76.3299776,"latitude_deg":9.5386064,"altitude":4,"angle":270,"satellites":42,"speed":29,"hex_longitude":"2d7f07c0","hex_latitude":"05af79d0","is_valid_coordinates":true} 
[2026-07-08 13:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575551232001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342536350664228864,"note":"Value kept but may cause issues"} 
[2026-07-08 13:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9156803229281433600,"note":"Value kept but may cause issues"} 
[2026-07-08 13:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783498251000,"timestamp_ms":1783498251000,"timestamp_seconds":1783498251,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c79af8"} 
[2026-07-08 13:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 13:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:42:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575551232001,"66":27832,"27":206,"85":12544,"24":29,"16":342536350664228864,"45":9156803229281433600},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 13:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575551232001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:42:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 13:42:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342536350664228864,"km_value":342536350664228.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9156803229281433600,"description":"Unknown IO ID 45"} 
[2026-07-08 13:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575551232001,"power":27832,"unknown_27":206,"unknown_85":12544,"ignition":29,"odometer":null,"unknown_45":9156803229281433600}} 
[2026-07-08 13:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":127547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:42:33] local.INFO: GPS data processed {"connection_id":127547,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:42:33] local.INFO: Acknowledgment sent {"connection_id":127547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:42:45] local.INFO: TCP Data received {"connection_id":125429,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125429,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:42:45] local.INFO: Processing buffer {"connection_id":125429,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:42:45] local.INFO: IMEI packet received {"connection_id":125429,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":125429,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:42:50] local.INFO: TCP Data received {"connection_id":125429,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125429,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:42:50] local.INFO: Processing buffer {"connection_id":125429,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:42:50] local.INFO: IMEI packet received {"connection_id":125429,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":125429,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:42:59] local.INFO: TCP Data received {"connection_id":125431,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:42:59] local.INFO: Processing buffer {"connection_id":125431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:42:59] local.INFO: IMEI packet received {"connection_id":125431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":125431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:43:00] local.INFO: TCP Data received {"connection_id":125431,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:43:00] local.INFO: Processing buffer {"connection_id":125431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:43:00] local.INFO: IMEI packet received {"connection_id":125431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":125431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:43:06] local.INFO: TCP Data received {"connection_id":125431,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:43:06] local.INFO: Processing buffer {"connection_id":125431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:43:06] local.INFO: IMEI packet received {"connection_id":125431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":125431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:43:07] local.INFO: TCP Data received {"connection_id":125431,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c7c5f0012d7ee44005af7b58000501172b..."} 
[2026-07-08 13:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c7c5f0012d7ee44005af7b58000501172b..."} 
[2026-07-08 13:43:07] local.INFO: Processing buffer {"connection_id":125431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c7c5f0012d7ee44005af7b58000501172b..."} 
[2026-07-08 13:43:07] local.INFO: Packet analysis {"connection_id":125431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c7"} 
[2026-07-08 13:43:07] local.INFO: Extracted packet for processing {"connection_id":125431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c7"} 
[2026-07-08 13:43:07] local.INFO: GPS Element Parsed {"raw_longitude":763290688,"raw_latitude":95386456,"longitude_deg":76.3290688,"latitude_deg":9.5386456,"altitude":5,"angle":279,"satellites":43,"speed":31,"hex_longitude":"2d7ee440","hex_latitude":"05af7b58","is_valid_coordinates":true} 
[2026-07-08 13:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575552256001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342536784455925760,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9153495898305187840,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783498262000,"timestamp_ms":1783498262000,"timestamp_seconds":1783498262,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c7c5f0"} 
[2026-07-08 13:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-08 13:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575552256001,"66":27876,"27":206,"85":12544,"24":31,"16":342536784455925760,"45":9153495898305187840},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 13:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575552256001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:43:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 13:43:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342536784455925760,"km_value":342536784455925.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9153495898305187840,"description":"Unknown IO ID 45"} 
[2026-07-08 13:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575552256001,"power":27876,"unknown_27":206,"unknown_85":12544,"ignition":31,"odometer":null,"unknown_45":9153495898305187840}} 
[2026-07-08 13:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":125431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:43:07] local.INFO: GPS data processed {"connection_id":125431,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:43:07] local.INFO: Acknowledgment sent {"connection_id":125431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:43:08] local.INFO: TCP Data received {"connection_id":125431,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c7e148012d7ecd0005af7c980006010b29..."} 
[2026-07-08 13:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c7e148012d7ecd0005af7c980006010b29..."} 
[2026-07-08 13:43:08] local.INFO: Processing buffer {"connection_id":125431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c7e148012d7ecd0005af7c980006010b29..."} 
[2026-07-08 13:43:08] local.INFO: Packet analysis {"connection_id":125431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c7"} 
[2026-07-08 13:43:08] local.INFO: Extracted packet for processing {"connection_id":125431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c7"} 
[2026-07-08 13:43:08] local.INFO: GPS Element Parsed {"raw_longitude":763284736,"raw_latitude":95386776,"longitude_deg":76.3284736,"latitude_deg":9.5386776,"altitude":6,"angle":267,"satellites":41,"speed":33,"hex_longitude":"2d7ecd00","hex_latitude":"05af7c98","is_valid_coordinates":true} 
[2026-07-08 13:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575555072001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342537072218734592,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143503536632059904,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783498269000,"timestamp_ms":1783498269000,"timestamp_seconds":1783498269,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c7e148"} 
[2026-07-08 13:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 13:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575555072001,"66":27930,"27":206,"85":12544,"24":33,"16":342537072218734592,"45":9143503536632059904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-08 13:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575555072001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:43:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-08 13:43:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342537072218734592,"km_value":342537072218734.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143503536632059904,"description":"Unknown IO ID 45"} 
[2026-07-08 13:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575555072001,"power":27930,"unknown_27":206,"unknown_85":12544,"ignition":33,"odometer":null,"unknown_45":9143503536632059904}} 
[2026-07-08 13:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":125431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:43:08] local.INFO: GPS data processed {"connection_id":125431,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:43:08] local.INFO: Acknowledgment sent {"connection_id":125431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:43:37] local.INFO: TCP Data received {"connection_id":125429,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c6df78012d0b130007029fc00005013423..."} 
[2026-07-08 13:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c6df78012d0b130007029fc00005013423..."} 
[2026-07-08 13:43:37] local.INFO: Processing buffer {"connection_id":125429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c6df78012d0b130007029fc00005013423..."} 
[2026-07-08 13:43:37] local.INFO: Packet analysis {"connection_id":125429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c6"} 
[2026-07-08 13:43:37] local.INFO: Extracted packet for processing {"connection_id":125429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c6"} 
[2026-07-08 13:43:37] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575462912001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783498203000,"timestamp_ms":1783498203000,"timestamp_seconds":1783498203,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c6df78"} 
[2026-07-08 13:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-08 13:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:37] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:37] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":83886080,"corrected_to":0} 
[2026-07-08 13:43:37] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2951254017,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3245708847289114560,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-07-08 13:43:37] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3355520267,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3422879744,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:37] local.WARNING: Large IO value detected {"io_id":65,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:37] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6785517366642999298,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:37] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,17,94,24,241,157,16,204,159,175,45,5,35,10,66,33,128,240,58,227,64,2,1,4,113,205,80,19,192,34,239,49,83,7,65,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":204,"original":83886080,"validated":0},{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-07-08 13:43:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360626765799882752,"timestamp_seconds":360626765799882.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 13:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125429,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125429,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575462912001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575462912001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:43:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575462912001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":125429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451372,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:43:37] local.INFO: GPS data processed {"connection_id":125429,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:43:37] local.INFO: Acknowledgment sent {"connection_id":125429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:43:37] local.INFO: TCP Data received {"connection_id":125429,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c6df78012d0b130007029fc00005013423..."} 
[2026-07-08 13:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c6df78012d0b130007029fc00005013423..."} 
[2026-07-08 13:43:37] local.INFO: Processing buffer {"connection_id":125429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c6df78012d0b130007029fc00005013423..."} 
[2026-07-08 13:43:37] local.INFO: Packet analysis {"connection_id":125429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c6"} 
[2026-07-08 13:43:37] local.INFO: Extracted packet for processing {"connection_id":125429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c6"} 
[2026-07-08 13:43:37] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575462912001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783498203000,"timestamp_ms":1783498203000,"timestamp_seconds":1783498203,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c6df78"} 
[2026-07-08 13:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-08 13:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:37] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:37] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":83886080,"corrected_to":0} 
[2026-07-08 13:43:37] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2951254017,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3245708847289114560,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-07-08 13:43:37] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3355520267,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3422879744,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:37] local.WARNING: Large IO value detected {"io_id":65,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:37] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6785517366642999298,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:37] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,17,94,24,241,157,16,204,159,175,45,5,35,10,66,33,128,240,58,227,64,2,1,4,113,205,80,19,192,34,239,49,83,7,65,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":204,"original":83886080,"validated":0},{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-07-08 13:43:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360626765799882752,"timestamp_seconds":360626765799882.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 13:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125429,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125429,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575462912001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575462912001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:43:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575462912001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":125429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451373,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:43:38] local.INFO: GPS data processed {"connection_id":125429,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:43:38] local.INFO: Acknowledgment sent {"connection_id":125429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:43:39] local.INFO: TCP Data received {"connection_id":125431,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c944c0012d7ea70005aec0d0000900b32e..."} 
[2026-07-08 13:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c944c0012d7ea70005aec0d0000900b32e..."} 
[2026-07-08 13:43:39] local.INFO: Processing buffer {"connection_id":125431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c944c0012d7ea70005aec0d0000900b32e..."} 
[2026-07-08 13:43:39] local.INFO: Packet analysis {"connection_id":125431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c9"} 
[2026-07-08 13:43:39] local.INFO: Extracted packet for processing {"connection_id":125431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c9"} 
[2026-07-08 13:43:39] local.INFO: GPS Element Parsed {"raw_longitude":763275008,"raw_latitude":95338704,"longitude_deg":76.3275008,"latitude_deg":9.5338704,"altitude":9,"angle":179,"satellites":46,"speed":25,"hex_longitude":"2d7ea700","hex_latitude":"05aec0d0","is_valid_coordinates":true} 
[2026-07-08 13:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575577600001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342539872537411584,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125981719321960448,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783498360000,"timestamp_ms":1783498360000,"timestamp_seconds":1783498360,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c944c0"} 
[2026-07-08 13:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 13:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575577600001,"66":27908,"29":206,"85":12544,"24":25,"16":342539872537411584,"45":9125981719321960448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-07-08 13:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575577600001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:43:39] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-08 13:43:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342539872537411584,"km_value":342539872537411.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125981719321960448,"description":"Unknown IO ID 45"} 
[2026-07-08 13:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575577600001,"power":27908,"unknown_29":206,"unknown_85":12544,"ignition":25,"odometer":null,"unknown_45":9125981719321960448}} 
[2026-07-08 13:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":125431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:43:39] local.INFO: GPS data processed {"connection_id":125431,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:43:39] local.INFO: Acknowledgment sent {"connection_id":125431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:43:45] local.INFO: TCP Data received {"connection_id":125542,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125542,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:43:45] local.INFO: Processing buffer {"connection_id":125542,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:43:45] local.INFO: IMEI packet received {"connection_id":125542,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":125542,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:43:50] local.INFO: TCP Data received {"connection_id":125542,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125542,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:43:50] local.INFO: Processing buffer {"connection_id":125542,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:43:50] local.INFO: IMEI packet received {"connection_id":125542,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":125542,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:43:51] local.INFO: TCP Data received {"connection_id":125542,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c6df78012d0b130007029fc00005013423..."} 
[2026-07-08 13:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c6df78012d0b130007029fc00005013423..."} 
[2026-07-08 13:43:51] local.INFO: Processing buffer {"connection_id":125542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c6df78012d0b130007029fc00005013423..."} 
[2026-07-08 13:43:51] local.INFO: Packet analysis {"connection_id":125542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c6"} 
[2026-07-08 13:43:51] local.INFO: Extracted packet for processing {"connection_id":125542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c6"} 
[2026-07-08 13:43:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575462912001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783498203000,"timestamp_ms":1783498203000,"timestamp_seconds":1783498203,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c6df78"} 
[2026-07-08 13:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-08 13:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:51] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:51] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":83886080,"corrected_to":0} 
[2026-07-08 13:43:51] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2951254017,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3245708847289114560,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-07-08 13:43:51] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3355520267,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3422879744,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:51] local.WARNING: Large IO value detected {"io_id":65,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:51] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6785517366642999298,"note":"Value kept but may cause issues"} 
[2026-07-08 13:43:51] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,17,94,24,241,157,16,204,159,175,45,5,35,10,66,33,128,240,58,227,64,2,1,4,113,205,80,19,192,34,239,49,83,7,65,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":204,"original":83886080,"validated":0},{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-07-08 13:43:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360626765799882752,"timestamp_seconds":360626765799882.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 13:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125542,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125542,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575462912001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575462912001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:43:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575462912001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":125542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451375,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:43:51] local.INFO: GPS data processed {"connection_id":125542,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:43:51] local.INFO: Acknowledgment sent {"connection_id":125542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:43:56] local.INFO: TCP Data received {"connection_id":126308,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:43:56] local.INFO: Processing buffer {"connection_id":126308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:43:56] local.INFO: IMEI packet received {"connection_id":126308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":126308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:44:00] local.INFO: TCP Data received {"connection_id":126308,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:44:00] local.INFO: Processing buffer {"connection_id":126308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:44:00] local.INFO: IMEI packet received {"connection_id":126308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":126308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:44:00] local.INFO: TCP Data received {"connection_id":126308,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:44:00] local.INFO: Processing buffer {"connection_id":126308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:44:00] local.INFO: IMEI packet received {"connection_id":126308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":126308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:44:01] local.INFO: TCP Data received {"connection_id":126308,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c95460012d7ea6c005aeb928000900bf2c..."} 
[2026-07-08 13:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c95460012d7ea6c005aeb928000900bf2c..."} 
[2026-07-08 13:44:01] local.INFO: Processing buffer {"connection_id":126308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c95460012d7ea6c005aeb928000900bf2c..."} 
[2026-07-08 13:44:01] local.INFO: Packet analysis {"connection_id":126308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c9"} 
[2026-07-08 13:44:01] local.INFO: Extracted packet for processing {"connection_id":126308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c9"} 
[2026-07-08 13:44:01] local.INFO: GPS Element Parsed {"raw_longitude":763274944,"raw_latitude":95336744,"longitude_deg":76.3274944,"latitude_deg":9.5336744,"altitude":9,"angle":191,"satellites":44,"speed":15,"hex_longitude":"2d7ea6c0","hex_latitude":"05aeb928","is_valid_coordinates":true} 
[2026-07-08 13:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575580160001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342539967026692096,"note":"Value kept but may cause issues"} 
[2026-07-08 13:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126263194296307712,"note":"Value kept but may cause issues"} 
[2026-07-08 13:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783498364000,"timestamp_ms":1783498364000,"timestamp_seconds":1783498364,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c95460"} 
[2026-07-08 13:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 13:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575580160001,"66":27865,"29":206,"85":12544,"24":15,"16":342539967026692096,"45":9126263194296307712},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-07-08 13:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575580160001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:44:01] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-08 13:44:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342539967026692096,"km_value":342539967026692.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126263194296307712,"description":"Unknown IO ID 45"} 
[2026-07-08 13:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575580160001,"power":27865,"unknown_29":206,"unknown_85":12544,"ignition":15,"odometer":null,"unknown_45":9126263194296307712}} 
[2026-07-08 13:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":126308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:44:01] local.INFO: GPS data processed {"connection_id":126308,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:44:01] local.INFO: Acknowledgment sent {"connection_id":126308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:44:07] local.INFO: TCP Data received {"connection_id":126308,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c97f58012d7ea54005aea350000900b42d..."} 
[2026-07-08 13:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c97f58012d7ea54005aea350000900b42d..."} 
[2026-07-08 13:44:07] local.INFO: Processing buffer {"connection_id":126308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c97f58012d7ea54005aea350000900b42d..."} 
[2026-07-08 13:44:07] local.INFO: Packet analysis {"connection_id":126308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c9"} 
[2026-07-08 13:44:07] local.INFO: Extracted packet for processing {"connection_id":126308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c9"} 
[2026-07-08 13:44:07] local.INFO: GPS Element Parsed {"raw_longitude":763274560,"raw_latitude":95331152,"longitude_deg":76.327456,"latitude_deg":9.5331152,"altitude":9,"angle":180,"satellites":45,"speed":28,"hex_longitude":"2d7ea540","hex_latitude":"05aea350","is_valid_coordinates":true} 
[2026-07-08 13:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575581184001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342540237609631744,"note":"Value kept but may cause issues"} 
[2026-07-08 13:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126192825551628288,"note":"Value kept but may cause issues"} 
[2026-07-08 13:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783498375000,"timestamp_ms":1783498375000,"timestamp_seconds":1783498375,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c97f58"} 
[2026-07-08 13:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 13:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575581184001,"66":27843,"29":206,"85":12544,"24":28,"16":342540237609631744,"45":9126192825551628288},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-07-08 13:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575581184001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:44:07] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-08 13:44:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 13:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342540237609631744,"km_value":342540237609631.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126192825551628288,"description":"Unknown IO ID 45"} 
[2026-07-08 13:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575581184001,"power":27843,"unknown_29":206,"unknown_85":12544,"ignition":28,"odometer":null,"unknown_45":9126192825551628288}} 
[2026-07-08 13:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":126308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:44:07] local.INFO: GPS data processed {"connection_id":126308,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:44:07] local.INFO: Acknowledgment sent {"connection_id":126308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:44:22] local.INFO: TCP Data received {"connection_id":125542,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c6df78012d0b130007029fc00005013423..."} 
[2026-07-08 13:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c6df78012d0b130007029fc00005013423..."} 
[2026-07-08 13:44:22] local.INFO: Processing buffer {"connection_id":125542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c6df78012d0b130007029fc00005013423..."} 
[2026-07-08 13:44:22] local.INFO: Packet analysis {"connection_id":125542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c6"} 
[2026-07-08 13:44:22] local.INFO: Extracted packet for processing {"connection_id":125542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c6"} 
[2026-07-08 13:44:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575462912001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783498203000,"timestamp_ms":1783498203000,"timestamp_seconds":1783498203,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c6df78"} 
[2026-07-08 13:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-08 13:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-07-08 13:44:22] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-07-08 13:44:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 13:44:22] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":83886080,"corrected_to":0} 
[2026-07-08 13:44:22] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2951254017,"note":"Value kept but may cause issues"} 
[2026-07-08 13:44:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3245708847289114560,"note":"Value kept but may cause issues"} 
[2026-07-08 13:44:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-07-08 13:44:22] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3355520267,"note":"Value kept but may cause issues"} 
[2026-07-08 13:44:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3422879744,"note":"Value kept but may cause issues"} 
[2026-07-08 13:44:22] local.WARNING: Large IO value detected {"io_id":65,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-07-08 13:44:22] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6785517366642999298,"note":"Value kept but may cause issues"} 
[2026-07-08 13:44:22] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,17,94,24,241,157,16,204,159,175,45,5,35,10,66,33,128,240,58,227,64,2,1,4,113,205,80,19,192,34,239,49,83,7,65,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":204,"original":83886080,"validated":0},{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-07-08 13:44:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360626765799882752,"timestamp_seconds":360626765799882.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 13:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125542,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125542,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575462912001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575462912001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:44:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575462912001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":125542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451378,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:44:22] local.INFO: GPS data processed {"connection_id":125542,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:44:22] local.INFO: Acknowledgment sent {"connection_id":125542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:44:31] local.INFO: TCP Data received {"connection_id":127548,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127548,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:44:31] local.INFO: Processing buffer {"connection_id":127548,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:44:31] local.INFO: IMEI packet received {"connection_id":127548,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 13:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":127548,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:44:38] local.INFO: TCP Data received {"connection_id":126308,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c9aa50012d7ea60005ae7cc0000900b22d..."} 
[2026-07-08 13:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c9aa50012d7ea60005ae7cc0000900b22d..."} 
[2026-07-08 13:44:38] local.INFO: Processing buffer {"connection_id":126308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c9aa50012d7ea60005ae7cc0000900b22d..."} 
[2026-07-08 13:44:38] local.INFO: Packet analysis {"connection_id":126308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c9"} 
[2026-07-08 13:44:38] local.INFO: Extracted packet for processing {"connection_id":126308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c9"} 
[2026-07-08 13:44:38] local.INFO: GPS Element Parsed {"raw_longitude":763274752,"raw_latitude":95321280,"longitude_deg":76.3274752,"latitude_deg":9.532128,"altitude":9,"angle":178,"satellites":45,"speed":42,"hex_longitude":"2d7ea600","hex_latitude":"05ae7cc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 13:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575584000001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342540718645968896,"note":"Value kept but may cause issues"} 
[2026-07-08 13:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125770613085130752,"note":"Value kept but may cause issues"} 
[2026-07-08 13:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783498386000,"timestamp_ms":1783498386000,"timestamp_seconds":1783498386,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c9aa50"} 
[2026-07-08 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-07-08 13:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 13:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 13:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575584000001,"66":27908,"42":206,"85":14336,"24":42,"16":342540718645968896,"45":9125770613085130752},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,85,24,16,45]} 
[2026-07-08 13:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575584000001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:44:38] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-08 13:44:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 13:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342540718645968896,"km_value":342540718645968.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125770613085130752,"description":"Unknown IO ID 45"} 
[2026-07-08 13:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575584000001,"power":27908,"unknown_42":206,"unknown_85":14336,"ignition":42,"odometer":null,"unknown_45":9125770613085130752}} 
[2026-07-08 13:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":126308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:44:38] local.INFO: GPS data processed {"connection_id":126308,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:44:38] local.INFO: Acknowledgment sent {"connection_id":126308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:44:45] local.INFO: TCP Data received {"connection_id":127550,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127550,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:44:45] local.INFO: Processing buffer {"connection_id":127550,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:44:45] local.INFO: IMEI packet received {"connection_id":127550,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":127550,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:44:50] local.INFO: TCP Data received {"connection_id":127550,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127550,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:44:50] local.INFO: Processing buffer {"connection_id":127550,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:44:50] local.INFO: IMEI packet received {"connection_id":127550,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":127550,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:44:51] local.INFO: TCP Data received {"connection_id":127550,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c6df78012d0b130007029fc00005013423..."} 
[2026-07-08 13:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c6df78012d0b130007029fc00005013423..."} 
[2026-07-08 13:44:51] local.INFO: Processing buffer {"connection_id":127550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c6df78012d0b130007029fc00005013423..."} 
[2026-07-08 13:44:51] local.INFO: Packet analysis {"connection_id":127550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c6"} 
[2026-07-08 13:44:51] local.INFO: Extracted packet for processing {"connection_id":127550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c6"} 
[2026-07-08 13:44:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575462912001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783498203000,"timestamp_ms":1783498203000,"timestamp_seconds":1783498203,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c6df78"} 
[2026-07-08 13:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-08 13:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-07-08 13:44:51] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-07-08 13:44:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 13:44:51] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":83886080,"corrected_to":0} 
[2026-07-08 13:44:51] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2951254017,"note":"Value kept but may cause issues"} 
[2026-07-08 13:44:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3245708847289114560,"note":"Value kept but may cause issues"} 
[2026-07-08 13:44:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-07-08 13:44:51] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3355520267,"note":"Value kept but may cause issues"} 
[2026-07-08 13:44:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3422879744,"note":"Value kept but may cause issues"} 
[2026-07-08 13:44:51] local.WARNING: Large IO value detected {"io_id":65,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-07-08 13:44:51] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6785517366642999298,"note":"Value kept but may cause issues"} 
[2026-07-08 13:44:51] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,17,94,24,241,157,16,204,159,175,45,5,35,10,66,33,128,240,58,227,64,2,1,4,113,205,80,19,192,34,239,49,83,7,65,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":204,"original":83886080,"validated":0},{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-07-08 13:44:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360626765799882752,"timestamp_seconds":360626765799882.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 13:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127550,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127550,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575462912001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575462912001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:44:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575462912001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":127550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451380,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:44:51] local.INFO: GPS data processed {"connection_id":127550,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:44:51] local.INFO: Acknowledgment sent {"connection_id":127550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:44:55] local.INFO: TCP Data received {"connection_id":126309,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:44:55] local.INFO: Processing buffer {"connection_id":126309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:44:55] local.INFO: IMEI packet received {"connection_id":126309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":126309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:44:56] local.INFO: TCP Data received {"connection_id":127551,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127551,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:44:56] local.INFO: Processing buffer {"connection_id":127551,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:44:56] local.INFO: IMEI packet received {"connection_id":127551,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 13:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":127551,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:45:01] local.INFO: TCP Data received {"connection_id":126309,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:45:01] local.INFO: Processing buffer {"connection_id":126309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:45:01] local.INFO: IMEI packet received {"connection_id":126309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":126309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:45:02] local.INFO: TCP Data received {"connection_id":126309,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c9c990012d7ea7c005ae5998000900b12e..."} 
[2026-07-08 13:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c9c990012d7ea7c005ae5998000900b12e..."} 
[2026-07-08 13:45:02] local.INFO: Processing buffer {"connection_id":126309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c9c990012d7ea7c005ae5998000900b12e..."} 
[2026-07-08 13:45:02] local.INFO: Packet analysis {"connection_id":126309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c9"} 
[2026-07-08 13:45:02] local.INFO: Extracted packet for processing {"connection_id":126309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c9"} 
[2026-07-08 13:45:02] local.INFO: GPS Element Parsed {"raw_longitude":763275200,"raw_latitude":95312280,"longitude_deg":76.32752,"latitude_deg":9.531228,"altitude":9,"angle":177,"satellites":46,"speed":45,"hex_longitude":"2d7ea7c0","hex_latitude":"05ae5998","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575586816001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342541156732633088,"note":"Value kept but may cause issues"} 
[2026-07-08 13:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125981719315136512,"note":"Value kept but may cause issues"} 
[2026-07-08 13:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783498394000,"timestamp_ms":1783498394000,"timestamp_seconds":1783498394,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c9c990"} 
[2026-07-08 13:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 13:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575586816001,"66":27800,"42":206,"85":14336,"24":45,"16":342541156732633088,"45":9125981719315136512},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,85,24,16,45]} 
[2026-07-08 13:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575586816001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:45:02] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-08 13:45:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 13:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342541156732633088,"km_value":342541156732633.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125981719315136512,"description":"Unknown IO ID 45"} 
[2026-07-08 13:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575586816001,"power":27800,"unknown_42":206,"unknown_85":14336,"ignition":45,"odometer":null,"unknown_45":9125981719315136512}} 
[2026-07-08 13:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":126309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:45:02] local.INFO: GPS data processed {"connection_id":126309,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:45:02] local.INFO: Acknowledgment sent {"connection_id":126309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:45:05] local.INFO: TCP Data received {"connection_id":126310,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:45:05] local.INFO: Processing buffer {"connection_id":126310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:45:05] local.INFO: IMEI packet received {"connection_id":126310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":126310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:45:06] local.INFO: TCP Data received {"connection_id":126310,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c9f488012d181d400721a5e00047012823..."} 
[2026-07-08 13:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c9f488012d181d400721a5e00047012823..."} 
[2026-07-08 13:45:06] local.INFO: Processing buffer {"connection_id":126310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c9f488012d181d400721a5e00047012823..."} 
[2026-07-08 13:45:06] local.INFO: Packet analysis {"connection_id":126310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c9"} 
[2026-07-08 13:45:06] local.INFO: Extracted packet for processing {"connection_id":126310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c9"} 
[2026-07-08 13:45:06] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119645664,"longitude_deg":75.6555072,"latitude_deg":11.9645664,"altitude":71,"angle":296,"satellites":35,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721a5e0","is_valid_coordinates":true} 
[2026-07-08 13:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575586304001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4769161750249472,"note":"Value kept but may cause issues"} 
[2026-07-08 13:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816599552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783498405000,"timestamp_ms":1783498405000,"timestamp_seconds":1783498405,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c9f488"} 
[2026-07-08 13:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-08 13:45:06] 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-07-08 13:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575586304001,"66":14483,"120":206,"28":31744,"24":0,"16":4769161750249472,"45":1741133867816599552},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575586304001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:45:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:45:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4769161750249472,"km_value":4769161750249.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816599552,"description":"Unknown IO ID 45"} 
[2026-07-08 13:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575586304001,"power":14483,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741133867816599552}} 
[2026-07-08 13:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":126310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:45:06] local.INFO: GPS data processed {"connection_id":126310,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:45:06] local.INFO: Acknowledgment sent {"connection_id":126310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:45:22] local.INFO: TCP Data received {"connection_id":127550,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f40cb7740012d0b130007029fc00005013422..."} 
[2026-07-08 13:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40cb7740012d0b130007029fc00005013422..."} 
[2026-07-08 13:45:22] local.INFO: Processing buffer {"connection_id":127550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40cb7740012d0b130007029fc00005013422..."} 
[2026-07-08 13:45:22] local.INFO: Packet analysis {"connection_id":127550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40cb"} 
[2026-07-08 13:45:22] local.INFO: Extracted packet for processing {"connection_id":127550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40cb"} 
[2026-07-08 13:45:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575539968001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:45:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783498504000,"timestamp_ms":1783498504000,"timestamp_seconds":1783498504,"priority":1,"record_length":96,"hex_timestamp":"0000019f40cb7740"} 
[2026-07-08 13:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:45:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 13:45:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":127550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":127550,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":127550,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:45:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575539968001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575539968001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:45:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:45:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575539968001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":127550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451383,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:45:22] local.INFO: GPS data processed {"connection_id":127550,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:45:22] local.INFO: Acknowledgment sent {"connection_id":127550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:45:33] local.INFO: TCP Data received {"connection_id":126309,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40c9e8d0012d7ea8c005ae35f8000b00b52f..."} 
[2026-07-08 13:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40c9e8d0012d7ea8c005ae35f8000b00b52f..."} 
[2026-07-08 13:45:33] local.INFO: Processing buffer {"connection_id":126309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40c9e8d0012d7ea8c005ae35f8000b00b52f..."} 
[2026-07-08 13:45:33] local.INFO: Packet analysis {"connection_id":126309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40c9"} 
[2026-07-08 13:45:33] local.INFO: Extracted packet for processing {"connection_id":126309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40c9"} 
[2026-07-08 13:45:33] local.INFO: GPS Element Parsed {"raw_longitude":763275456,"raw_latitude":95303160,"longitude_deg":76.3275456,"latitude_deg":9.530316,"altitude":11,"angle":181,"satellites":47,"speed":41,"hex_longitude":"2d7ea8c0","hex_latitude":"05ae35f8","is_valid_coordinates":true} 
[2026-07-08 13:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575588864001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342541599114264576,"note":"Value kept but may cause issues"} 
[2026-07-08 13:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126474300522076160,"note":"Value kept but may cause issues"} 
[2026-07-08 13:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783498402000,"timestamp_ms":1783498402000,"timestamp_seconds":1783498402,"priority":1,"record_length":96,"hex_timestamp":"0000019f40c9e8d0"} 
[2026-07-08 13:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 13:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575588864001,"66":27713,"42":206,"85":14336,"24":41,"16":342541599114264576,"45":9126474300522076160},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,85,24,16,45]} 
[2026-07-08 13:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575588864001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:45:33] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-08 13:45:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 13:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342541599114264576,"km_value":342541599114264.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126474300522076160,"description":"Unknown IO ID 45"} 
[2026-07-08 13:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575588864001,"power":27713,"unknown_42":206,"unknown_85":14336,"ignition":41,"odometer":null,"unknown_45":9126474300522076160}} 
[2026-07-08 13:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":126309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:45:33] local.INFO: GPS data processed {"connection_id":126309,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:45:33] local.INFO: Acknowledgment sent {"connection_id":126309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:45:38] local.INFO: TCP Data received {"connection_id":126310,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ca3308012d181d000721a6e80047014822..."} 
[2026-07-08 13:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ca3308012d181d000721a6e80047014822..."} 
[2026-07-08 13:45:38] local.INFO: Processing buffer {"connection_id":126310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ca3308012d181d000721a6e80047014822..."} 
[2026-07-08 13:45:38] local.INFO: Packet analysis {"connection_id":126310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ca"} 
[2026-07-08 13:45:38] local.INFO: Extracted packet for processing {"connection_id":126310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ca"} 
[2026-07-08 13:45:38] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119645928,"longitude_deg":75.6555008,"latitude_deg":11.9645928,"altitude":71,"angle":328,"satellites":34,"speed":4,"hex_longitude":"2d181d00","hex_latitude":"0721a6e8","is_valid_coordinates":true} 
[2026-07-08 13:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575591680001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4769174635151360,"note":"Value kept but may cause issues"} 
[2026-07-08 13:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608347136,"note":"Value kept but may cause issues"} 
[2026-07-08 13:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783498421000,"timestamp_ms":1783498421000,"timestamp_seconds":1783498421,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ca3308"} 
[2026-07-08 13:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-08 13:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575591680001,"66":13254,"120":206,"28":31744,"24":4,"16":4769174635151360,"45":1737615430608347136},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575591680001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:45:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:45:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4769174635151360,"km_value":4769174635151.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608347136,"description":"Unknown IO ID 45"} 
[2026-07-08 13:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575591680001,"power":13254,"unknown_120":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1737615430608347136}} 
[2026-07-08 13:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":126310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:45:38] local.INFO: GPS data processed {"connection_id":126310,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:45:38] local.INFO: Acknowledgment sent {"connection_id":126310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:45:44] local.INFO: TCP Data received {"connection_id":125543,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125543,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:45:44] local.INFO: Processing buffer {"connection_id":125543,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:45:44] local.INFO: IMEI packet received {"connection_id":125543,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":125543,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:45:49] local.INFO: TCP Data received {"connection_id":125543,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125543,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:45:49] local.INFO: Processing buffer {"connection_id":125543,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:45:49] local.INFO: IMEI packet received {"connection_id":125543,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":125543,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:45:50] local.INFO: TCP Data received {"connection_id":125543,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f40cb7740012d0b130007029fc00005013422..."} 
[2026-07-08 13:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40cb7740012d0b130007029fc00005013422..."} 
[2026-07-08 13:45:50] local.INFO: Processing buffer {"connection_id":125543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40cb7740012d0b130007029fc00005013422..."} 
[2026-07-08 13:45:50] local.INFO: Packet analysis {"connection_id":125543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40cb"} 
[2026-07-08 13:45:50] local.INFO: Extracted packet for processing {"connection_id":125543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40cb"} 
[2026-07-08 13:45:50] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575539968001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:45:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783498504000,"timestamp_ms":1783498504000,"timestamp_seconds":1783498504,"priority":1,"record_length":96,"hex_timestamp":"0000019f40cb7740"} 
[2026-07-08 13:45:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:45:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 13:45:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:45:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:45:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":125543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":125543,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":125543,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:45:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575539968001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575539968001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:45:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:45:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575539968001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":125543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451386,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:45:50] local.INFO: GPS data processed {"connection_id":125543,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:45:50] local.INFO: Acknowledgment sent {"connection_id":125543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:45:55] local.INFO: TCP Data received {"connection_id":125543,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f40cb7740012d0b130007029fc00005013422..."} 
[2026-07-08 13:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40cb7740012d0b130007029fc00005013422..."} 
[2026-07-08 13:45:55] local.INFO: Processing buffer {"connection_id":125543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40cb7740012d0b130007029fc00005013422..."} 
[2026-07-08 13:45:55] local.INFO: Packet analysis {"connection_id":125543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40cb"} 
[2026-07-08 13:45:55] local.INFO: Extracted packet for processing {"connection_id":125543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40cb"} 
[2026-07-08 13:45:55] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575539968001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783498504000,"timestamp_ms":1783498504000,"timestamp_seconds":1783498504,"priority":1,"record_length":96,"hex_timestamp":"0000019f40cb7740"} 
[2026-07-08 13:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 13:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:45:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":125543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":125543,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":125543,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575539968001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575539968001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:45:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575539968001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":125543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451387,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:45:55] local.INFO: GPS data processed {"connection_id":125543,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:45:55] local.INFO: Acknowledgment sent {"connection_id":125543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:46:00] local.INFO: TCP Data received {"connection_id":127553,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:46:00] local.INFO: Processing buffer {"connection_id":127553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:46:00] local.INFO: IMEI packet received {"connection_id":127553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":127553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:46:01] local.INFO: TCP Data received {"connection_id":125432,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:46:01] local.INFO: Processing buffer {"connection_id":125432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:46:01] local.INFO: IMEI packet received {"connection_id":125432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":125432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:46:05] local.INFO: TCP Data received {"connection_id":127553,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:46:05] local.INFO: Processing buffer {"connection_id":127553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:46:05] local.INFO: IMEI packet received {"connection_id":127553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":127553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:46:06] local.INFO: TCP Data received {"connection_id":125432,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:46:06] local.INFO: Processing buffer {"connection_id":125432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:46:06] local.INFO: IMEI packet received {"connection_id":125432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":125432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:46:07] local.INFO: TCP Data received {"connection_id":127553,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ca36f0012d181cc00721a7980047015f22..."} 
[2026-07-08 13:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ca36f0012d181cc00721a7980047015f22..."} 
[2026-07-08 13:46:07] local.INFO: Processing buffer {"connection_id":127553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ca36f0012d181cc00721a7980047015f22..."} 
[2026-07-08 13:46:07] local.INFO: Packet analysis {"connection_id":127553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ca"} 
[2026-07-08 13:46:07] local.INFO: Extracted packet for processing {"connection_id":127553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ca"} 
[2026-07-08 13:46:07] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119646104,"longitude_deg":75.6554944,"latitude_deg":11.9646104,"altitude":71,"angle":351,"satellites":34,"speed":9,"hex_longitude":"2d181cc0","hex_latitude":"0721a798","is_valid_coordinates":true} 
[2026-07-08 13:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575595776001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4769183225085952,"note":"Value kept but may cause issues"} 
[2026-07-08 13:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864237056,"note":"Value kept but may cause issues"} 
[2026-07-08 13:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783498422000,"timestamp_ms":1783498422000,"timestamp_seconds":1783498422,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ca36f0"} 
[2026-07-08 13:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-08 13:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575595776001,"66":13254,"120":206,"28":31744,"24":9,"16":4769183225085952,"45":1737545061864237056},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575595776001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:46:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:46:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4769183225085952,"km_value":4769183225085.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864237056,"description":"Unknown IO ID 45"} 
[2026-07-08 13:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575595776001,"power":13254,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1737545061864237056}} 
[2026-07-08 13:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":127553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:46:07] local.INFO: GPS data processed {"connection_id":127553,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:46:07] local.INFO: Acknowledgment sent {"connection_id":127553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:46:07] local.INFO: TCP Data received {"connection_id":125432,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ca0fe0012d7ea78005ae0fd0000d00b32f..."} 
[2026-07-08 13:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ca0fe0012d7ea78005ae0fd0000d00b32f..."} 
[2026-07-08 13:46:07] local.INFO: Processing buffer {"connection_id":125432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ca0fe0012d7ea78005ae0fd0000d00b32f..."} 
[2026-07-08 13:46:07] local.INFO: Packet analysis {"connection_id":125432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ca"} 
[2026-07-08 13:46:07] local.INFO: Extracted packet for processing {"connection_id":125432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ca"} 
[2026-07-08 13:46:07] local.INFO: GPS Element Parsed {"raw_longitude":763275136,"raw_latitude":95293392,"longitude_deg":76.3275136,"latitude_deg":9.5293392,"altitude":13,"angle":179,"satellites":47,"speed":39,"hex_longitude":"2d7ea780","hex_latitude":"05ae0fd0","is_valid_coordinates":true} 
[2026-07-08 13:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575590912001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342542071560667136,"note":"Value kept but may cause issues"} 
[2026-07-08 13:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126755775496452096,"note":"Value kept but may cause issues"} 
[2026-07-08 13:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783498412000,"timestamp_ms":1783498412000,"timestamp_seconds":1783498412,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ca0fe0"} 
[2026-07-08 13:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 13:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575590912001,"66":27713,"168":206,"85":14336,"24":39,"16":342542071560667136,"45":9126755775496452096},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-08 13:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575590912001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:46:07] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-08 13:46:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 13:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342542071560667136,"km_value":342542071560667.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126755775496452096,"description":"Unknown IO ID 45"} 
[2026-07-08 13:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575590912001,"power":27713,"unknown_168":206,"unknown_85":14336,"ignition":39,"odometer":null,"unknown_45":9126755775496452096}} 
[2026-07-08 13:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":125432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:46:07] local.INFO: GPS data processed {"connection_id":125432,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:46:07] local.INFO: Acknowledgment sent {"connection_id":125432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:46:09] local.INFO: TCP Data received {"connection_id":125432,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ca3308012d7ea88005adea08000d00af2e..."} 
[2026-07-08 13:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ca3308012d7ea88005adea08000d00af2e..."} 
[2026-07-08 13:46:09] local.INFO: Processing buffer {"connection_id":125432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ca3308012d7ea88005adea08000d00af2e..."} 
[2026-07-08 13:46:09] local.INFO: Packet analysis {"connection_id":125432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ca"} 
[2026-07-08 13:46:09] local.INFO: Extracted packet for processing {"connection_id":125432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ca"} 
[2026-07-08 13:46:09] local.INFO: GPS Element Parsed {"raw_longitude":763275392,"raw_latitude":95283720,"longitude_deg":76.3275392,"latitude_deg":9.528372,"altitude":13,"angle":175,"satellites":46,"speed":46,"hex_longitude":"2d7ea880","hex_latitude":"05adea08","is_valid_coordinates":true} 
[2026-07-08 13:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575593472001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342542539712102400,"note":"Value kept but may cause issues"} 
[2026-07-08 13:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126403931773063168,"note":"Value kept but may cause issues"} 
[2026-07-08 13:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783498421000,"timestamp_ms":1783498421000,"timestamp_seconds":1783498421,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ca3308"} 
[2026-07-08 13:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 13:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575593472001,"66":27930,"168":206,"85":14336,"24":46,"16":342542539712102400,"45":9126403931773063168},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-08 13:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575593472001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:46:09] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-08 13:46:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 13:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342542539712102400,"km_value":342542539712102.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126403931773063168,"description":"Unknown IO ID 45"} 
[2026-07-08 13:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575593472001,"power":27930,"unknown_168":206,"unknown_85":14336,"ignition":46,"odometer":null,"unknown_45":9126403931773063168}} 
[2026-07-08 13:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":125432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:46:09] local.INFO: GPS data processed {"connection_id":125432,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:46:09] local.INFO: Acknowledgment sent {"connection_id":125432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:46:27] local.INFO: TCP Data received {"connection_id":125543,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f40cb7740012d0b130007029fc00005013422..."} 
[2026-07-08 13:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40cb7740012d0b130007029fc00005013422..."} 
[2026-07-08 13:46:27] local.INFO: Processing buffer {"connection_id":125543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40cb7740012d0b130007029fc00005013422..."} 
[2026-07-08 13:46:27] local.INFO: Packet analysis {"connection_id":125543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40cb"} 
[2026-07-08 13:46:27] local.INFO: Extracted packet for processing {"connection_id":125543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40cb"} 
[2026-07-08 13:46:27] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575539968001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783498504000,"timestamp_ms":1783498504000,"timestamp_seconds":1783498504,"priority":1,"record_length":96,"hex_timestamp":"0000019f40cb7740"} 
[2026-07-08 13:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:46:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 13:46:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":125543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":125543,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":125543,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575539968001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575539968001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:46:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575539968001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":125543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451391,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:46:27] local.INFO: GPS data processed {"connection_id":125543,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:46:27] local.INFO: Acknowledgment sent {"connection_id":125543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:46:39] local.INFO: TCP Data received {"connection_id":127553,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ca3ad8012d181d000721a8c80047000e23..."} 
[2026-07-08 13:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ca3ad8012d181d000721a8c80047000e23..."} 
[2026-07-08 13:46:39] local.INFO: Processing buffer {"connection_id":127553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ca3ad8012d181d000721a8c80047000e23..."} 
[2026-07-08 13:46:39] local.INFO: Packet analysis {"connection_id":127553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ca"} 
[2026-07-08 13:46:39] local.INFO: Extracted packet for processing {"connection_id":127553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ca"} 
[2026-07-08 13:46:39] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119646408,"longitude_deg":75.6555008,"latitude_deg":11.9646408,"altitude":71,"angle":14,"satellites":35,"speed":13,"hex_longitude":"2d181d00","hex_latitude":"0721a8c8","is_valid_coordinates":true} 
[2026-07-08 13:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575596032001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4769200404955136,"note":"Value kept but may cause issues"} 
[2026-07-08 13:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120104448,"note":"Value kept but may cause issues"} 
[2026-07-08 13:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783498423000,"timestamp_ms":1783498423000,"timestamp_seconds":1783498423,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ca3ad8"} 
[2026-07-08 13:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-08 13:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":127553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":127553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":127553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575596032001,"66":13276,"120":206,"28":31744,"24":13,"16":4769200404955136,"45":1737474693120104448},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575596032001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:46:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:46:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4769200404955136,"km_value":4769200404955.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120104448,"description":"Unknown IO ID 45"} 
[2026-07-08 13:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575596032001,"power":13276,"unknown_120":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1737474693120104448}} 
[2026-07-08 13:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":127553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:46:39] local.INFO: GPS data processed {"connection_id":127553,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:46:39] local.INFO: Acknowledgment sent {"connection_id":127553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:46:42] local.INFO: TCP Data received {"connection_id":125432,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40cbfff8012d7eb5c005ac8f28000c00b22d..."} 
[2026-07-08 13:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40cbfff8012d7eb5c005ac8f28000c00b22d..."} 
[2026-07-08 13:46:42] local.INFO: Processing buffer {"connection_id":125432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40cbfff8012d7eb5c005ac8f28000c00b22d..."} 
[2026-07-08 13:46:42] local.INFO: Packet analysis {"connection_id":125432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40cb"} 
[2026-07-08 13:46:42] local.INFO: Extracted packet for processing {"connection_id":125432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40cb"} 
[2026-07-08 13:46:42] local.INFO: GPS Element Parsed {"raw_longitude":763278784,"raw_latitude":95194920,"longitude_deg":76.3278784,"latitude_deg":9.519492,"altitude":12,"angle":178,"satellites":45,"speed":38,"hex_longitude":"2d7eb5c0","hex_latitude":"05ac8f28","is_valid_coordinates":true} 
[2026-07-08 13:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575623424001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342546856154234880,"note":"Value kept but may cause issues"} 
[2026-07-08 13:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130274212680118272,"note":"Value kept but may cause issues"} 
[2026-07-08 13:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783498539000,"timestamp_ms":1783498539000,"timestamp_seconds":1783498539,"priority":1,"record_length":96,"hex_timestamp":"0000019f40cbfff8"} 
[2026-07-08 13:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-08 13:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":125432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":125432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":125432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575623424001,"66":27876,"42":206,"85":14336,"24":38,"16":342546856154234880,"45":9130274212680118272},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,85,24,16,45]} 
[2026-07-08 13:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575623424001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:46:42] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-08 13:46:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 13:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342546856154234880,"km_value":342546856154234.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130274212680118272,"description":"Unknown IO ID 45"} 
[2026-07-08 13:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575623424001,"power":27876,"unknown_42":206,"unknown_85":14336,"ignition":38,"odometer":null,"unknown_45":9130274212680118272}} 
[2026-07-08 13:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":125432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:46:42] local.INFO: GPS data processed {"connection_id":125432,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:46:42] local.INFO: Acknowledgment sent {"connection_id":125432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:46:44] local.INFO: TCP Data received {"connection_id":125544,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125544,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:46:44] local.INFO: Processing buffer {"connection_id":125544,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:46:44] local.INFO: IMEI packet received {"connection_id":125544,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":125544,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:46:50] local.INFO: TCP Data received {"connection_id":125544,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125544,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:46:50] local.INFO: Processing buffer {"connection_id":125544,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:46:50] local.INFO: IMEI packet received {"connection_id":125544,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":125544,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:46:51] local.INFO: TCP Data received {"connection_id":125544,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f40cb7740012d0b130007029fc00005013422..."} 
[2026-07-08 13:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40cb7740012d0b130007029fc00005013422..."} 
[2026-07-08 13:46:51] local.INFO: Processing buffer {"connection_id":125544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40cb7740012d0b130007029fc00005013422..."} 
[2026-07-08 13:46:51] local.INFO: Packet analysis {"connection_id":125544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40cb"} 
[2026-07-08 13:46:51] local.INFO: Extracted packet for processing {"connection_id":125544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40cb"} 
[2026-07-08 13:46:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575539968001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783498504000,"timestamp_ms":1783498504000,"timestamp_seconds":1783498504,"priority":1,"record_length":96,"hex_timestamp":"0000019f40cb7740"} 
[2026-07-08 13:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 13:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125544,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125544,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575539968001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575539968001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:46:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575539968001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":125544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451394,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:46:51] local.INFO: GPS data processed {"connection_id":125544,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:46:51] local.INFO: Acknowledgment sent {"connection_id":125544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:46:56] local.INFO: TCP Data received {"connection_id":126311,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:46:56] local.INFO: Processing buffer {"connection_id":126311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:46:56] local.INFO: IMEI packet received {"connection_id":126311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":126311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:47:01] local.INFO: TCP Data received {"connection_id":126311,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:47:01] local.INFO: Processing buffer {"connection_id":126311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:47:01] local.INFO: IMEI packet received {"connection_id":126311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":126311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:47:04] local.INFO: TCP Data received {"connection_id":126311,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40cc2af0012d7eb6c005ac6a40000c00b22d..."} 
[2026-07-08 13:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40cc2af0012d7eb6c005ac6a40000c00b22d..."} 
[2026-07-08 13:47:04] local.INFO: Processing buffer {"connection_id":126311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40cc2af0012d7eb6c005ac6a40000c00b22d..."} 
[2026-07-08 13:47:04] local.INFO: Packet analysis {"connection_id":126311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40cc"} 
[2026-07-08 13:47:04] local.INFO: Extracted packet for processing {"connection_id":126311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40cc"} 
[2026-07-08 13:47:04] local.INFO: GPS Element Parsed {"raw_longitude":763279040,"raw_latitude":95185472,"longitude_deg":76.327904,"latitude_deg":9.5185472,"altitude":12,"angle":178,"satellites":45,"speed":37,"hex_longitude":"2d7eb6c0","hex_latitude":"05ac6a40","is_valid_coordinates":true} 
[2026-07-08 13:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575625984001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342547315715735552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130414950165981184,"note":"Value kept but may cause issues"} 
[2026-07-08 13:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783498550000,"timestamp_ms":1783498550000,"timestamp_seconds":1783498550,"priority":1,"record_length":96,"hex_timestamp":"0000019f40cc2af0"} 
[2026-07-08 13:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 13:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575625984001,"66":27843,"42":206,"85":14336,"24":37,"16":342547315715735552,"45":9130414950165981184},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,85,24,16,45]} 
[2026-07-08 13:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575625984001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:47:04] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-08 13:47:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 13:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342547315715735552,"km_value":342547315715735.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130414950165981184,"description":"Unknown IO ID 45"} 
[2026-07-08 13:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575625984001,"power":27843,"unknown_42":206,"unknown_85":14336,"ignition":37,"odometer":null,"unknown_45":9130414950165981184}} 
[2026-07-08 13:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":126311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:47:04] local.INFO: GPS data processed {"connection_id":126311,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:47:04] local.INFO: Acknowledgment sent {"connection_id":126311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:47:05] local.INFO: TCP Data received {"connection_id":126312,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:47:05] local.INFO: Processing buffer {"connection_id":126312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:47:05] local.INFO: IMEI packet received {"connection_id":126312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":126312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:47:10] local.INFO: TCP Data received {"connection_id":126312,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:47:10] local.INFO: Processing buffer {"connection_id":126312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:47:10] local.INFO: IMEI packet received {"connection_id":126312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":126312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:47:11] local.INFO: TCP Data received {"connection_id":126312,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ca42a8012d181e400721abc80047001c25..."} 
[2026-07-08 13:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ca42a8012d181e400721abc80047001c25..."} 
[2026-07-08 13:47:11] local.INFO: Processing buffer {"connection_id":126312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ca42a8012d181e400721abc80047001c25..."} 
[2026-07-08 13:47:11] local.INFO: Packet analysis {"connection_id":126312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ca"} 
[2026-07-08 13:47:11] local.INFO: Extracted packet for processing {"connection_id":126312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ca"} 
[2026-07-08 13:47:11] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647176,"longitude_deg":75.6555328,"latitude_deg":11.9647176,"altitude":71,"angle":28,"satellites":37,"speed":17,"hex_longitude":"2d181e40","hex_latitude":"0721abc8","is_valid_coordinates":true} 
[2026-07-08 13:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575596288001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4769239059660800,"note":"Value kept but may cause issues"} 
[2026-07-08 13:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864359936,"note":"Value kept but may cause issues"} 
[2026-07-08 13:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783498425000,"timestamp_ms":1783498425000,"timestamp_seconds":1783498425,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ca42a8"} 
[2026-07-08 13:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-08 13:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575596288001,"66":13254,"120":206,"28":31744,"24":17,"16":4769239059660800,"45":1737545061864359936},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575596288001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:47:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:47:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4769239059660800,"km_value":4769239059660.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864359936,"description":"Unknown IO ID 45"} 
[2026-07-08 13:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575596288001,"power":13254,"unknown_120":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1737545061864359936}} 
[2026-07-08 13:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":126312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:47:12] local.INFO: GPS data processed {"connection_id":126312,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:47:12] local.INFO: Acknowledgment sent {"connection_id":126312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:47:16] local.INFO: TCP Data received {"connection_id":126312,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ca4e60012d1820400721b0000048000a25..."} 
[2026-07-08 13:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ca4e60012d1820400721b0000048000a25..."} 
[2026-07-08 13:47:16] local.INFO: Processing buffer {"connection_id":126312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ca4e60012d1820400721b0000048000a25..."} 
[2026-07-08 13:47:16] local.INFO: Packet analysis {"connection_id":126312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ca"} 
[2026-07-08 13:47:16] local.INFO: Extracted packet for processing {"connection_id":126312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ca"} 
[2026-07-08 13:47:16] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648256,"longitude_deg":75.655584,"latitude_deg":11.9648256,"altitude":72,"angle":10,"satellites":37,"speed":11,"hex_longitude":"2d182040","hex_latitude":"0721b000","is_valid_coordinates":true} 
[2026-07-08 13:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575596800001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4769299189202944,"note":"Value kept but may cause issues"} 
[2026-07-08 13:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585444864,"note":"Value kept but may cause issues"} 
[2026-07-08 13:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783498428000,"timestamp_ms":1783498428000,"timestamp_seconds":1783498428,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ca4e60"} 
[2026-07-08 13:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-08 13:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":126312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":126312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":126312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575596800001,"66":12461,"120":206,"28":31744,"24":11,"16":4769299189202944,"45":1737896905585444864},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575596800001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:47:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:47:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4769299189202944,"km_value":4769299189202.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585444864,"description":"Unknown IO ID 45"} 
[2026-07-08 13:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575596800001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1737896905585444864}} 
[2026-07-08 13:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":126312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:47:16] local.INFO: GPS data processed {"connection_id":126312,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:47:16] local.INFO: Acknowledgment sent {"connection_id":126312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:47:22] local.INFO: TCP Data received {"connection_id":125544,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f40cb7740012d0b130007029fc00005013422..."} 
[2026-07-08 13:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40cb7740012d0b130007029fc00005013422..."} 
[2026-07-08 13:47:22] local.INFO: Processing buffer {"connection_id":125544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40cb7740012d0b130007029fc00005013422..."} 
[2026-07-08 13:47:22] local.INFO: Packet analysis {"connection_id":125544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40cb"} 
[2026-07-08 13:47:22] local.INFO: Extracted packet for processing {"connection_id":125544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40cb"} 
[2026-07-08 13:47:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575539968001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783498504000,"timestamp_ms":1783498504000,"timestamp_seconds":1783498504,"priority":1,"record_length":96,"hex_timestamp":"0000019f40cb7740"} 
[2026-07-08 13:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 13:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125544,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125544,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575539968001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575539968001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:47:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575539968001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":125544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451398,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:47:23] local.INFO: GPS data processed {"connection_id":125544,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:47:23] local.INFO: Acknowledgment sent {"connection_id":125544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:47:36] local.INFO: TCP Data received {"connection_id":126311,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40cc5200012d7eb74005ac44d8000d00b32a..."} 
[2026-07-08 13:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40cc5200012d7eb74005ac44d8000d00b32a..."} 
[2026-07-08 13:47:36] local.INFO: Processing buffer {"connection_id":126311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40cc5200012d7eb74005ac44d8000d00b32a..."} 
[2026-07-08 13:47:36] local.INFO: Packet analysis {"connection_id":126311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40cc"} 
[2026-07-08 13:47:36] local.INFO: Extracted packet for processing {"connection_id":126311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40cc"} 
[2026-07-08 13:47:36] local.INFO: GPS Element Parsed {"raw_longitude":763279168,"raw_latitude":95175896,"longitude_deg":76.3279168,"latitude_deg":9.5175896,"altitude":13,"angle":179,"satellites":42,"speed":38,"hex_longitude":"2d7eb740","hex_latitude":"05ac44d8","is_valid_coordinates":true} 
[2026-07-08 13:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575628800001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342547779572203520,"note":"Value kept but may cause issues"} 
[2026-07-08 13:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130696425140273152,"note":"Value kept but may cause issues"} 
[2026-07-08 13:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783498560000,"timestamp_ms":1783498560000,"timestamp_seconds":1783498560,"priority":1,"record_length":96,"hex_timestamp":"0000019f40cc5200"} 
[2026-07-08 13:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 13:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575628800001,"66":27908,"41":206,"85":14336,"24":38,"16":342547779572203520,"45":9130696425140273152},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,85,24,16,45]} 
[2026-07-08 13:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575628800001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:47:36] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-07-08 13:47:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 13:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342547779572203520,"km_value":342547779572203.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130696425140273152,"description":"Unknown IO ID 45"} 
[2026-07-08 13:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575628800001,"power":27908,"unknown_41":206,"unknown_85":14336,"ignition":38,"odometer":null,"unknown_45":9130696425140273152}} 
[2026-07-08 13:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":126311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:47:36] local.INFO: GPS data processed {"connection_id":126311,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:47:36] local.INFO: Acknowledgment sent {"connection_id":126311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:47:45] local.INFO: TCP Data received {"connection_id":125433,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125433,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:47:45] local.INFO: Processing buffer {"connection_id":125433,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:47:45] local.INFO: IMEI packet received {"connection_id":125433,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":125433,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:47:50] local.INFO: TCP Data received {"connection_id":125433,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125433,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:47:50] local.INFO: Processing buffer {"connection_id":125433,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:47:50] local.INFO: IMEI packet received {"connection_id":125433,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":125433,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:47:50] local.INFO: TCP Data received {"connection_id":125433,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40cb7740012d0b130007029fc00005013422..."} 
[2026-07-08 13:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40cb7740012d0b130007029fc00005013422..."} 
[2026-07-08 13:47:50] local.INFO: Processing buffer {"connection_id":125433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40cb7740012d0b130007029fc00005013422..."} 
[2026-07-08 13:47:50] local.INFO: Packet analysis {"connection_id":125433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40cb"} 
[2026-07-08 13:47:50] local.INFO: Extracted packet for processing {"connection_id":125433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40cb"} 
[2026-07-08 13:47:50] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575539968001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:47:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783498504000,"timestamp_ms":1783498504000,"timestamp_seconds":1783498504,"priority":1,"record_length":96,"hex_timestamp":"0000019f40cb7740"} 
[2026-07-08 13:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 13:47:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":125433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":125433,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":125433,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575539968001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575539968001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:47:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:47:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575539968001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":125433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451400,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:47:51] local.INFO: GPS data processed {"connection_id":125433,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:47:51] local.INFO: Acknowledgment sent {"connection_id":125433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:47:58] local.INFO: TCP Data received {"connection_id":125545,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:47:58] local.INFO: Processing buffer {"connection_id":125545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:47:58] local.INFO: IMEI packet received {"connection_id":125545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":125545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:47:58] local.INFO: TCP Data received {"connection_id":127555,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:47:58] local.INFO: Processing buffer {"connection_id":127555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:47:58] local.INFO: IMEI packet received {"connection_id":127555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":127555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:48:00] local.INFO: TCP Data received {"connection_id":127555,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:48:00] local.INFO: Processing buffer {"connection_id":127555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:48:00] local.INFO: IMEI packet received {"connection_id":127555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":127555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:48:03] local.INFO: TCP Data received {"connection_id":125545,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:48:03] local.INFO: Processing buffer {"connection_id":125545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:48:03] local.INFO: IMEI packet received {"connection_id":125545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":125545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:48:05] local.INFO: TCP Data received {"connection_id":127555,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:48:05] local.INFO: Processing buffer {"connection_id":127555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:48:05] local.INFO: IMEI packet received {"connection_id":127555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":127555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:48:06] local.INFO: TCP Data received {"connection_id":125545,"ip":"42.106.6.16","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 13:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125545,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 13:48:06] local.INFO: Processing buffer {"connection_id":125545,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 13:48:06] local.INFO: IMEI packet received {"connection_id":125545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":125545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:48:07] local.INFO: TCP Data received {"connection_id":127555,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ca5248012d1820400721b1000047016525..."} 
[2026-07-08 13:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ca5248012d1820400721b1000047016525..."} 
[2026-07-08 13:48:07] local.INFO: Processing buffer {"connection_id":127555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ca5248012d1820400721b1000047016525..."} 
[2026-07-08 13:48:07] local.INFO: Packet analysis {"connection_id":127555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ca"} 
[2026-07-08 13:48:07] local.INFO: Extracted packet for processing {"connection_id":127555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ca"} 
[2026-07-08 13:48:07] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648512,"longitude_deg":75.655584,"latitude_deg":11.9648512,"altitude":71,"angle":357,"satellites":37,"speed":8,"hex_longitude":"2d182040","hex_latitude":"0721b100","is_valid_coordinates":true} 
[2026-07-08 13:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575597568001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4769312074104832,"note":"Value kept but may cause issues"} 
[2026-07-08 13:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539142656,"note":"Value kept but may cause issues"} 
[2026-07-08 13:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783498429000,"timestamp_ms":1783498429000,"timestamp_seconds":1783498429,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ca5248"} 
[2026-07-08 13:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 13:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575597568001,"66":13276,"120":206,"28":31744,"24":8,"16":4769312074104832,"45":1738459855539142656},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575597568001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:48:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:48:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4769312074104832,"km_value":4769312074104.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539142656,"description":"Unknown IO ID 45"} 
[2026-07-08 13:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575597568001,"power":13276,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1738459855539142656}} 
[2026-07-08 13:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":127555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:48:07] local.INFO: GPS data processed {"connection_id":127555,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:48:07] local.INFO: Acknowledgment sent {"connection_id":127555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:48:22] local.INFO: TCP Data received {"connection_id":125433,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40cb7740012d0b130007029fc00005013422..."} 
[2026-07-08 13:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40cb7740012d0b130007029fc00005013422..."} 
[2026-07-08 13:48:22] local.INFO: Processing buffer {"connection_id":125433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40cb7740012d0b130007029fc00005013422..."} 
[2026-07-08 13:48:22] local.INFO: Packet analysis {"connection_id":125433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40cb"} 
[2026-07-08 13:48:22] local.INFO: Extracted packet for processing {"connection_id":125433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40cb"} 
[2026-07-08 13:48:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575539968001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783498504000,"timestamp_ms":1783498504000,"timestamp_seconds":1783498504,"priority":1,"record_length":96,"hex_timestamp":"0000019f40cb7740"} 
[2026-07-08 13:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:48:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 13:48:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:48:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125433,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125433,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575539968001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575539968001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:48:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575539968001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":125433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451402,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:48:22] local.INFO: GPS data processed {"connection_id":125433,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:48:22] local.INFO: Acknowledgment sent {"connection_id":125433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:48:39] local.INFO: TCP Data received {"connection_id":127555,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40caa450012d181ec00721b0380048016325..."} 
[2026-07-08 13:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40caa450012d181ec00721b0380048016325..."} 
[2026-07-08 13:48:39] local.INFO: Processing buffer {"connection_id":127555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40caa450012d181ec00721b0380048016325..."} 
[2026-07-08 13:48:39] local.INFO: Packet analysis {"connection_id":127555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ca"} 
[2026-07-08 13:48:39] local.INFO: Extracted packet for processing {"connection_id":127555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ca"} 
[2026-07-08 13:48:39] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648312,"longitude_deg":75.6555456,"latitude_deg":11.9648312,"altitude":72,"angle":355,"satellites":37,"speed":4,"hex_longitude":"2d181ec0","hex_latitude":"0721b038","is_valid_coordinates":true} 
[2026-07-08 13:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575597824001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4769372203646976,"note":"Value kept but may cause issues"} 
[2026-07-08 13:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539208192,"note":"Value kept but may cause issues"} 
[2026-07-08 13:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783498450000,"timestamp_ms":1783498450000,"timestamp_seconds":1783498450,"priority":1,"record_length":96,"hex_timestamp":"0000019f40caa450"} 
[2026-07-08 13:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-08 13:48:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":127555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":127555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":127555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575597824001,"66":13222,"120":206,"28":31744,"24":4,"16":4769372203646976,"45":1738459855539208192},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575597824001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:48:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:48:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4769372203646976,"km_value":4769372203646.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539208192,"description":"Unknown IO ID 45"} 
[2026-07-08 13:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575597824001,"power":13222,"unknown_120":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1738459855539208192}} 
[2026-07-08 13:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":127555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:48:39] local.INFO: GPS data processed {"connection_id":127555,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:48:39] local.INFO: Acknowledgment sent {"connection_id":127555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:48:44] local.INFO: TCP Data received {"connection_id":125434,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125434,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:48:45] local.INFO: Processing buffer {"connection_id":125434,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:48:45] local.INFO: IMEI packet received {"connection_id":125434,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":125434,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:48:50] local.INFO: TCP Data received {"connection_id":125434,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125434,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:48:50] local.INFO: Processing buffer {"connection_id":125434,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:48:50] local.INFO: IMEI packet received {"connection_id":125434,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":125434,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:48:51] local.INFO: TCP Data received {"connection_id":125434,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f40cb7740012d0b130007029fc00005013422..."} 
[2026-07-08 13:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40cb7740012d0b130007029fc00005013422..."} 
[2026-07-08 13:48:51] local.INFO: Processing buffer {"connection_id":125434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40cb7740012d0b130007029fc00005013422..."} 
[2026-07-08 13:48:51] local.INFO: Packet analysis {"connection_id":125434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40cb"} 
[2026-07-08 13:48:51] local.INFO: Extracted packet for processing {"connection_id":125434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40cb"} 
[2026-07-08 13:48:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575539968001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783498504000,"timestamp_ms":1783498504000,"timestamp_seconds":1783498504,"priority":1,"record_length":96,"hex_timestamp":"0000019f40cb7740"} 
[2026-07-08 13:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 13:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125434,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125434,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575539968001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575539968001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:48:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575539968001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":125434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451404,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:48:51] local.INFO: GPS data processed {"connection_id":125434,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:48:51] local.INFO: Acknowledgment sent {"connection_id":125434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:49:00] local.INFO: TCP Data received {"connection_id":127556,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:49:00] local.INFO: Processing buffer {"connection_id":127556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:49:00] local.INFO: IMEI packet received {"connection_id":127556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":127556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:49:01] local.INFO: TCP Data received {"connection_id":127556,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:49:01] local.INFO: Processing buffer {"connection_id":127556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:49:01] local.INFO: IMEI packet received {"connection_id":127556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":127556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:49:05] local.INFO: TCP Data received {"connection_id":127556,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:49:05] local.INFO: Processing buffer {"connection_id":127556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:49:05] local.INFO: IMEI packet received {"connection_id":127556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":127556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:49:07] local.INFO: TCP Data received {"connection_id":127556,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40cddc88012d181dc00721ae68004800d225..."} 
[2026-07-08 13:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40cddc88012d181dc00721ae68004800d225..."} 
[2026-07-08 13:49:07] local.INFO: Processing buffer {"connection_id":127556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40cddc88012d181dc00721ae68004800d225..."} 
[2026-07-08 13:49:07] local.INFO: Packet analysis {"connection_id":127556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40cd"} 
[2026-07-08 13:49:07] local.INFO: Extracted packet for processing {"connection_id":127556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40cd"} 
[2026-07-08 13:49:07] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647848,"longitude_deg":75.65552,"latitude_deg":11.9647848,"altitude":72,"angle":210,"satellites":37,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-07-08 13:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575651840001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4769402268418048,"note":"Value kept but may cause issues"} 
[2026-07-08 13:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097261568,"note":"Value kept but may cause issues"} 
[2026-07-08 13:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783498661000,"timestamp_ms":1783498661000,"timestamp_seconds":1783498661,"priority":1,"record_length":96,"hex_timestamp":"0000019f40cddc88"} 
[2026-07-08 13:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-08 13:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575651840001,"66":12972,"120":206,"28":31744,"24":0,"16":4769402268418048,"45":1737756168097261568},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575651840001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:49:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:49:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4769402268418048,"km_value":4769402268418.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097261568,"description":"Unknown IO ID 45"} 
[2026-07-08 13:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575651840001,"power":12972,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097261568}} 
[2026-07-08 13:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":127556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:49:07] local.INFO: GPS data processed {"connection_id":127556,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:49:07] local.INFO: Acknowledgment sent {"connection_id":127556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:49:22] local.INFO: TCP Data received {"connection_id":125434,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f40cb7740012d0b130007029fc00005013422..."} 
[2026-07-08 13:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40cb7740012d0b130007029fc00005013422..."} 
[2026-07-08 13:49:22] local.INFO: Processing buffer {"connection_id":125434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40cb7740012d0b130007029fc00005013422..."} 
[2026-07-08 13:49:22] local.INFO: Packet analysis {"connection_id":125434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40cb"} 
[2026-07-08 13:49:22] local.INFO: Extracted packet for processing {"connection_id":125434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40cb"} 
[2026-07-08 13:49:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 13:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575539968001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783498504000,"timestamp_ms":1783498504000,"timestamp_seconds":1783498504,"priority":1,"record_length":96,"hex_timestamp":"0000019f40cb7740"} 
[2026-07-08 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-07-08 13:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 13:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 13:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125434,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125434,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575539968001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575539968001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:49:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575539968001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":125434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451406,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:49:22] local.INFO: GPS data processed {"connection_id":125434,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:49:22] local.INFO: Acknowledgment sent {"connection_id":125434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:49:38] local.INFO: TCP Data received {"connection_id":127556,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ce2e90012d181dc00721ae68004800d225..."} 
[2026-07-08 13:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ce2e90012d181dc00721ae68004800d225..."} 
[2026-07-08 13:49:38] local.INFO: Processing buffer {"connection_id":127556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ce2e90012d181dc00721ae68004800d225..."} 
[2026-07-08 13:49:38] local.INFO: Packet analysis {"connection_id":127556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ce"} 
[2026-07-08 13:49:38] local.INFO: Extracted packet for processing {"connection_id":127556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ce"} 
[2026-07-08 13:49:38] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647848,"longitude_deg":75.65552,"latitude_deg":11.9647848,"altitude":72,"angle":210,"satellites":37,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-07-08 13:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575657216001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4769402268418048,"note":"Value kept but may cause issues"} 
[2026-07-08 13:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097261568,"note":"Value kept but may cause issues"} 
[2026-07-08 13:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783498682000,"timestamp_ms":1783498682000,"timestamp_seconds":1783498682,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ce2e90"} 
[2026-07-08 13:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-08 13:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575657216001,"66":12928,"120":206,"28":31744,"24":0,"16":4769402268418048,"45":1737756168097261568},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575657216001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:49:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:49:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4769402268418048,"km_value":4769402268418.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097261568,"description":"Unknown IO ID 45"} 
[2026-07-08 13:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575657216001,"power":12928,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097261568}} 
[2026-07-08 13:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":127556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:49:38] local.INFO: GPS data processed {"connection_id":127556,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:49:38] local.INFO: Acknowledgment sent {"connection_id":127556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:49:45] local.INFO: TCP Data received {"connection_id":127557,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127557,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:49:45] local.INFO: Processing buffer {"connection_id":127557,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:49:45] local.INFO: IMEI packet received {"connection_id":127557,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":127557,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:49:52] local.INFO: TCP Data received {"connection_id":127557,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127557,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:49:52] local.INFO: Processing buffer {"connection_id":127557,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:49:52] local.INFO: IMEI packet received {"connection_id":127557,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":127557,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:49:53] local.INFO: TCP Data received {"connection_id":127557,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f40cb7740012d0b130007029fc00005013422..."} 
[2026-07-08 13:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40cb7740012d0b130007029fc00005013422..."} 
[2026-07-08 13:49:53] local.INFO: Processing buffer {"connection_id":127557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40cb7740012d0b130007029fc00005013422..."} 
[2026-07-08 13:49:53] local.INFO: Packet analysis {"connection_id":127557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40cb"} 
[2026-07-08 13:49:53] local.INFO: Extracted packet for processing {"connection_id":127557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40cb"} 
[2026-07-08 13:49:53] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575539968001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:49:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783498504000,"timestamp_ms":1783498504000,"timestamp_seconds":1783498504,"priority":1,"record_length":96,"hex_timestamp":"0000019f40cb7740"} 
[2026-07-08 13:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:49:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 13:49:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:49:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":127557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":127557,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":127557,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:49:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575539968001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575539968001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:49:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575539968001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":127557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451408,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:49:53] local.INFO: GPS data processed {"connection_id":127557,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:49:53] local.INFO: Acknowledgment sent {"connection_id":127557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:50:00] local.INFO: TCP Data received {"connection_id":125435,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:50:00] local.INFO: Processing buffer {"connection_id":125435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:50:00] local.INFO: IMEI packet received {"connection_id":125435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":125435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:50:04] local.INFO: TCP Data received {"connection_id":125435,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:50:04] local.INFO: Processing buffer {"connection_id":125435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:50:04] local.INFO: IMEI packet received {"connection_id":125435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":125435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:50:05] local.INFO: TCP Data received {"connection_id":125435,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ce8098012d181dc00721ae68004800d224..."} 
[2026-07-08 13:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ce8098012d181dc00721ae68004800d224..."} 
[2026-07-08 13:50:05] local.INFO: Processing buffer {"connection_id":125435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ce8098012d181dc00721ae68004800d224..."} 
[2026-07-08 13:50:05] local.INFO: Packet analysis {"connection_id":125435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ce"} 
[2026-07-08 13:50:05] local.INFO: Extracted packet for processing {"connection_id":125435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ce"} 
[2026-07-08 13:50:05] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647848,"longitude_deg":75.65552,"latitude_deg":11.9647848,"altitude":72,"angle":210,"satellites":36,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-07-08 13:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575662592001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4769402268418048,"note":"Value kept but may cause issues"} 
[2026-07-08 13:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097261568,"note":"Value kept but may cause issues"} 
[2026-07-08 13:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783498703000,"timestamp_ms":1783498703000,"timestamp_seconds":1783498703,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ce8098"} 
[2026-07-08 13:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-08 13:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575662592001,"66":12885,"120":206,"28":31744,"24":0,"16":4769402268418048,"45":1737756168097261568},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575662592001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:50:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:50:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4769402268418048,"km_value":4769402268418.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097261568,"description":"Unknown IO ID 45"} 
[2026-07-08 13:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575662592001,"power":12885,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097261568}} 
[2026-07-08 13:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":125435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:50:06] local.INFO: GPS data processed {"connection_id":125435,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:50:06] local.INFO: Acknowledgment sent {"connection_id":125435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:50:21] local.INFO: TCP Data received {"connection_id":125549,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125549,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:50:22] local.INFO: Processing buffer {"connection_id":125549,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:50:22] local.INFO: IMEI packet received {"connection_id":125549,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 13:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":125549,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:50:24] local.INFO: TCP Data received {"connection_id":127557,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d00f08012d0b130007029fc00005013421..."} 
[2026-07-08 13:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d00f08012d0b130007029fc00005013421..."} 
[2026-07-08 13:50:24] local.INFO: Processing buffer {"connection_id":127557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d00f08012d0b130007029fc00005013421..."} 
[2026-07-08 13:50:24] local.INFO: Packet analysis {"connection_id":127557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d0"} 
[2026-07-08 13:50:24] local.INFO: Extracted packet for processing {"connection_id":127557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d0"} 
[2026-07-08 13:50:24] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575617024001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783498805000,"timestamp_ms":1783498805000,"timestamp_seconds":1783498805,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d00f08"} 
[2026-07-08 13:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:50:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 13:50: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-07-08 13:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":127557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":127557,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":127557,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575617024001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575617024001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:50:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575617024001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":127557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451410,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:50:24] local.INFO: GPS data processed {"connection_id":127557,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:50:24] local.INFO: Acknowledgment sent {"connection_id":127557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:50:38] local.INFO: TCP Data received {"connection_id":125435,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ced2a0012d181dc00721ae68004800d225..."} 
[2026-07-08 13:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ced2a0012d181dc00721ae68004800d225..."} 
[2026-07-08 13:50:38] local.INFO: Processing buffer {"connection_id":125435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ced2a0012d181dc00721ae68004800d225..."} 
[2026-07-08 13:50:38] local.INFO: Packet analysis {"connection_id":125435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ce"} 
[2026-07-08 13:50:38] local.INFO: Extracted packet for processing {"connection_id":125435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ce"} 
[2026-07-08 13:50:38] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647848,"longitude_deg":75.65552,"latitude_deg":11.9647848,"altitude":72,"angle":210,"satellites":37,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-07-08 13:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575667968001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4769402268418048,"note":"Value kept but may cause issues"} 
[2026-07-08 13:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097261568,"note":"Value kept but may cause issues"} 
[2026-07-08 13:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783498724000,"timestamp_ms":1783498724000,"timestamp_seconds":1783498724,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ced2a0"} 
[2026-07-08 13:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-08 13:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575667968001,"66":12885,"120":206,"28":31744,"24":0,"16":4769402268418048,"45":1737756168097261568},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575667968001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:50:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:50:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4769402268418048,"km_value":4769402268418.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097261568,"description":"Unknown IO ID 45"} 
[2026-07-08 13:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575667968001,"power":12885,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097261568}} 
[2026-07-08 13:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":125435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:50:38] local.INFO: GPS data processed {"connection_id":125435,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:50:38] local.INFO: Acknowledgment sent {"connection_id":125435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:50:45] local.INFO: TCP Data received {"connection_id":125550,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125550,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:50:45] local.INFO: Processing buffer {"connection_id":125550,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:50:45] local.INFO: IMEI packet received {"connection_id":125550,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":125550,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:50:50] local.INFO: TCP Data received {"connection_id":125550,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125550,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:50:50] local.INFO: Processing buffer {"connection_id":125550,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:50:50] local.INFO: IMEI packet received {"connection_id":125550,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":125550,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:50:50] local.INFO: TCP Data received {"connection_id":125550,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d00f08012d0b130007029fc00005013421..."} 
[2026-07-08 13:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d00f08012d0b130007029fc00005013421..."} 
[2026-07-08 13:50:50] local.INFO: Processing buffer {"connection_id":125550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d00f08012d0b130007029fc00005013421..."} 
[2026-07-08 13:50:50] local.INFO: Packet analysis {"connection_id":125550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d0"} 
[2026-07-08 13:50:50] local.INFO: Extracted packet for processing {"connection_id":125550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d0"} 
[2026-07-08 13:50:50] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575617024001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:50:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783498805000,"timestamp_ms":1783498805000,"timestamp_seconds":1783498805,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d00f08"} 
[2026-07-08 13:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:50:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 13:50:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:50:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":125550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":125550,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":125550,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:50:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575617024001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575617024001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:50:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:50:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575617024001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":125550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451412,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:50:51] local.INFO: GPS data processed {"connection_id":125550,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:50:51] local.INFO: Acknowledgment sent {"connection_id":125550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:50:56] local.INFO: TCP Data received {"connection_id":125551,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125551,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:50:56] local.INFO: Processing buffer {"connection_id":125551,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:50:56] local.INFO: IMEI packet received {"connection_id":125551,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 13:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":125551,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:51:00] local.INFO: TCP Data received {"connection_id":125436,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:51:00] local.INFO: Processing buffer {"connection_id":125436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:51:00] local.INFO: IMEI packet received {"connection_id":125436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":125436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:51:05] local.INFO: TCP Data received {"connection_id":125436,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:51:05] local.INFO: Processing buffer {"connection_id":125436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:51:05] local.INFO: IMEI packet received {"connection_id":125436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":125436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:51:07] local.INFO: TCP Data received {"connection_id":125436,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40cf24a8012d181dc00721ae68004800d225..."} 
[2026-07-08 13:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40cf24a8012d181dc00721ae68004800d225..."} 
[2026-07-08 13:51:07] local.INFO: Processing buffer {"connection_id":125436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40cf24a8012d181dc00721ae68004800d225..."} 
[2026-07-08 13:51:07] local.INFO: Packet analysis {"connection_id":125436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40cf"} 
[2026-07-08 13:51:07] local.INFO: Extracted packet for processing {"connection_id":125436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40cf"} 
[2026-07-08 13:51:07] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647848,"longitude_deg":75.65552,"latitude_deg":11.9647848,"altitude":72,"angle":210,"satellites":37,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-07-08 13:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575673344001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4769402268418048,"note":"Value kept but may cause issues"} 
[2026-07-08 13:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097261568,"note":"Value kept but may cause issues"} 
[2026-07-08 13:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783498745000,"timestamp_ms":1783498745000,"timestamp_seconds":1783498745,"priority":1,"record_length":96,"hex_timestamp":"0000019f40cf24a8"} 
[2026-07-08 13:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-08 13:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575673344001,"66":12863,"120":206,"28":31744,"24":0,"16":4769402268418048,"45":1737756168097261568},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575673344001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:51:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:51:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4769402268418048,"km_value":4769402268418.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097261568,"description":"Unknown IO ID 45"} 
[2026-07-08 13:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575673344001,"power":12863,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097261568}} 
[2026-07-08 13:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":125436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:51:07] local.INFO: GPS data processed {"connection_id":125436,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:51:07] local.INFO: Acknowledgment sent {"connection_id":125436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:51:23] local.INFO: TCP Data received {"connection_id":125550,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d00f08012d0b130007029fc00005013421..."} 
[2026-07-08 13:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d00f08012d0b130007029fc00005013421..."} 
[2026-07-08 13:51:23] local.INFO: Processing buffer {"connection_id":125550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d00f08012d0b130007029fc00005013421..."} 
[2026-07-08 13:51:23] local.INFO: Packet analysis {"connection_id":125550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d0"} 
[2026-07-08 13:51:23] local.INFO: Extracted packet for processing {"connection_id":125550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d0"} 
[2026-07-08 13:51:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575617024001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:51:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783498805000,"timestamp_ms":1783498805000,"timestamp_seconds":1783498805,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d00f08"} 
[2026-07-08 13:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 13:51:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:51:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":125550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":125550,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":125550,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:51:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575617024001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575617024001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:51:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575617024001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":125550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451414,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:51:23] local.INFO: GPS data processed {"connection_id":125550,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:51:23] local.INFO: Acknowledgment sent {"connection_id":125550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:51:38] local.INFO: TCP Data received {"connection_id":125436,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40cf76b0012d181dc00721ae68004800d225..."} 
[2026-07-08 13:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40cf76b0012d181dc00721ae68004800d225..."} 
[2026-07-08 13:51:38] local.INFO: Processing buffer {"connection_id":125436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40cf76b0012d181dc00721ae68004800d225..."} 
[2026-07-08 13:51:38] local.INFO: Packet analysis {"connection_id":125436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40cf"} 
[2026-07-08 13:51:38] local.INFO: Extracted packet for processing {"connection_id":125436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40cf"} 
[2026-07-08 13:51:38] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647848,"longitude_deg":75.65552,"latitude_deg":11.9647848,"altitude":72,"angle":210,"satellites":37,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-07-08 13:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575678720001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4769402268418048,"note":"Value kept but may cause issues"} 
[2026-07-08 13:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097261568,"note":"Value kept but may cause issues"} 
[2026-07-08 13:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783498766000,"timestamp_ms":1783498766000,"timestamp_seconds":1783498766,"priority":1,"record_length":96,"hex_timestamp":"0000019f40cf76b0"} 
[2026-07-08 13:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-08 13:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575678720001,"66":12852,"120":206,"28":31744,"24":0,"16":4769402268418048,"45":1737756168097261568},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575678720001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:51:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:51:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4769402268418048,"km_value":4769402268418.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097261568,"description":"Unknown IO ID 45"} 
[2026-07-08 13:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575678720001,"power":12852,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097261568}} 
[2026-07-08 13:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":125436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:51:38] local.INFO: GPS data processed {"connection_id":125436,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:51:38] local.INFO: Acknowledgment sent {"connection_id":125436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:51:45] local.INFO: TCP Data received {"connection_id":125553,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125553,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:51:45] local.INFO: Processing buffer {"connection_id":125553,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:51:45] local.INFO: IMEI packet received {"connection_id":125553,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":125553,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:51:50] local.INFO: TCP Data received {"connection_id":125553,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125553,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:51:50] local.INFO: Processing buffer {"connection_id":125553,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:51:50] local.INFO: IMEI packet received {"connection_id":125553,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":125553,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:51:51] local.INFO: TCP Data received {"connection_id":125553,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d00f08012d0b130007029fc00005013421..."} 
[2026-07-08 13:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d00f08012d0b130007029fc00005013421..."} 
[2026-07-08 13:51:51] local.INFO: Processing buffer {"connection_id":125553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d00f08012d0b130007029fc00005013421..."} 
[2026-07-08 13:51:51] local.INFO: Packet analysis {"connection_id":125553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d0"} 
[2026-07-08 13:51:51] local.INFO: Extracted packet for processing {"connection_id":125553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d0"} 
[2026-07-08 13:51:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575617024001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783498805000,"timestamp_ms":1783498805000,"timestamp_seconds":1783498805,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d00f08"} 
[2026-07-08 13:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 13:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125553,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125553,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575617024001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575617024001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:51:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575617024001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":125553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451416,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:51:51] local.INFO: GPS data processed {"connection_id":125553,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:51:51] local.INFO: Acknowledgment sent {"connection_id":125553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:52:05] local.INFO: TCP Data received {"connection_id":127559,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:52:05] local.INFO: Processing buffer {"connection_id":127559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:52:05] local.INFO: IMEI packet received {"connection_id":127559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":127559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:52:10] local.INFO: TCP Data received {"connection_id":127559,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:52:10] local.INFO: Processing buffer {"connection_id":127559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:52:10] local.INFO: IMEI packet received {"connection_id":127559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":127559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:52:12] local.INFO: TCP Data received {"connection_id":127559,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40cfc8b8012d181dc00721ae68004800d222..."} 
[2026-07-08 13:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40cfc8b8012d181dc00721ae68004800d222..."} 
[2026-07-08 13:52:12] local.INFO: Processing buffer {"connection_id":127559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40cfc8b8012d181dc00721ae68004800d222..."} 
[2026-07-08 13:52:12] local.INFO: Packet analysis {"connection_id":127559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40cf"} 
[2026-07-08 13:52:12] local.INFO: Extracted packet for processing {"connection_id":127559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40cf"} 
[2026-07-08 13:52:12] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647848,"longitude_deg":75.65552,"latitude_deg":11.9647848,"altitude":72,"angle":210,"satellites":34,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-07-08 13:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575684096001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4769402268418048,"note":"Value kept but may cause issues"} 
[2026-07-08 13:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097261568,"note":"Value kept but may cause issues"} 
[2026-07-08 13:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783498787000,"timestamp_ms":1783498787000,"timestamp_seconds":1783498787,"priority":1,"record_length":96,"hex_timestamp":"0000019f40cfc8b8"} 
[2026-07-08 13:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:52: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-07-08 13: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-08 13:52: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-07-08 13:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":127559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":127559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":127559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575684096001,"66":12863,"120":206,"28":31744,"24":0,"16":4769402268418048,"45":1737756168097261568},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575684096001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:52:12] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:52:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4769402268418048,"km_value":4769402268418.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097261568,"description":"Unknown IO ID 45"} 
[2026-07-08 13:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575684096001,"power":12863,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097261568}} 
[2026-07-08 13:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":127559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:52:12] local.INFO: GPS data processed {"connection_id":127559,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:52:12] local.INFO: Acknowledgment sent {"connection_id":127559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:52:13] local.INFO: TCP Data received {"connection_id":127559,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d01ac0012d181dc00721ae68004800d223..."} 
[2026-07-08 13:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d01ac0012d181dc00721ae68004800d223..."} 
[2026-07-08 13:52:13] local.INFO: Processing buffer {"connection_id":127559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d01ac0012d181dc00721ae68004800d223..."} 
[2026-07-08 13:52:13] local.INFO: Packet analysis {"connection_id":127559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d0"} 
[2026-07-08 13:52:13] local.INFO: Extracted packet for processing {"connection_id":127559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d0"} 
[2026-07-08 13:52:13] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647848,"longitude_deg":75.65552,"latitude_deg":11.9647848,"altitude":72,"angle":210,"satellites":35,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575689472001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4769402268418048,"note":"Value kept but may cause issues"} 
[2026-07-08 13:52:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097261568,"note":"Value kept but may cause issues"} 
[2026-07-08 13:52:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783498808000,"timestamp_ms":1783498808000,"timestamp_seconds":1783498808,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d01ac0"} 
[2026-07-08 13:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:52: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-07-08 13: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-08 13:52:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":127559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":127559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":127559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:52:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575689472001,"66":12809,"120":206,"28":31744,"24":0,"16":4769402268418048,"45":1737756168097261568},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575689472001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:52:13] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:52:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4769402268418048,"km_value":4769402268418.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:52:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097261568,"description":"Unknown IO ID 45"} 
[2026-07-08 13:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575689472001,"power":12809,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097261568}} 
[2026-07-08 13:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":127559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:52:13] local.INFO: GPS data processed {"connection_id":127559,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:52:13] local.INFO: Acknowledgment sent {"connection_id":127559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:52:22] local.INFO: TCP Data received {"connection_id":125553,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d00f08012d0b130007029fc00005013421..."} 
[2026-07-08 13:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d00f08012d0b130007029fc00005013421..."} 
[2026-07-08 13:52:22] local.INFO: Processing buffer {"connection_id":125553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d00f08012d0b130007029fc00005013421..."} 
[2026-07-08 13:52:22] local.INFO: Packet analysis {"connection_id":125553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d0"} 
[2026-07-08 13:52:22] local.INFO: Extracted packet for processing {"connection_id":125553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d0"} 
[2026-07-08 13:52:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575617024001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783498805000,"timestamp_ms":1783498805000,"timestamp_seconds":1783498805,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d00f08"} 
[2026-07-08 13:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 13:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125553,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125553,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575617024001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575617024001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:52:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575617024001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":125553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451419,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:52:22] local.INFO: GPS data processed {"connection_id":125553,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:52:22] local.INFO: Acknowledgment sent {"connection_id":125553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:52:44] local.INFO: TCP Data received {"connection_id":126315,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126315,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:52:44] local.INFO: Processing buffer {"connection_id":126315,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:52:44] local.INFO: IMEI packet received {"connection_id":126315,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":126315,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:52:45] local.INFO: TCP Data received {"connection_id":127559,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d06cc8012d181dc00721ae68004800d222..."} 
[2026-07-08 13:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d06cc8012d181dc00721ae68004800d222..."} 
[2026-07-08 13:52:45] local.INFO: Processing buffer {"connection_id":127559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d06cc8012d181dc00721ae68004800d222..."} 
[2026-07-08 13:52:45] local.INFO: Packet analysis {"connection_id":127559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d0"} 
[2026-07-08 13:52:45] local.INFO: Extracted packet for processing {"connection_id":127559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d0"} 
[2026-07-08 13:52:45] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647848,"longitude_deg":75.65552,"latitude_deg":11.9647848,"altitude":72,"angle":210,"satellites":34,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-07-08 13:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575694848001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4769402268418048,"note":"Value kept but may cause issues"} 
[2026-07-08 13:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097261568,"note":"Value kept but may cause issues"} 
[2026-07-08 13:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783498829000,"timestamp_ms":1783498829000,"timestamp_seconds":1783498829,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d06cc8"} 
[2026-07-08 13:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-08 13:52:45] local.WARNING: Large IO value detected {"io_id":241,"raw_value":3204448256,"note":"Value kept but may cause issues"} 
[2026-07-08 13:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4055826432,"note":"Value kept but may cause issues"} 
[2026-07-08 13:52:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":47105,"corrected_to":0} 
[2026-07-08 13:52:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-08 13:52:45] local.WARNING: Large IO value detected {"io_id":64,"raw_value":-3612863262425080384,"note":"Value kept but may cause issues"} 
[2026-07-08 13:52:45] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2926051400,"note":"Value kept but may cause issues"} 
[2026-07-08 13:52:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-07-08 13:52:45] local.WARNING: Large IO value detected {"io_id":128,"raw_value":2550213912,"note":"Value kept but may cause issues"} 
[2026-07-08 13:52:45] local.WARNING: Large IO value detected {"io_id":29,"raw_value":3221692846,"note":"Value kept but may cause issues"} 
[2026-07-08 13:52:45] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-9223145642820317668,"note":"Value kept but may cause issues"} 
[2026-07-08 13:52:45] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2426991599616578085,"note":"Value kept but may cause issues"} 
[2026-07-08 13:52:45] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-08 13:52:45] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,120,28,24,241,158,16,159,200,45,192,174,72,34,10,66,118,37,36,1,240,63,64,33,4,113,205,128,29,104,239,50,2,7,124,191],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":200,"original":47105,"validated":0},{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-07-08 13:52:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188377818496499712,"timestamp_seconds":5188377818496500.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 13:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":127559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":127559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":127559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575694848001,"66":12776,"120":206,"28":31744,"24":0,"16":4769402268418048,"45":1737756168097261568},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575694848001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:52:45] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:52:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4769402268418048,"km_value":4769402268418.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097261568,"description":"Unknown IO ID 45"} 
[2026-07-08 13:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575694848001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097261568}} 
[2026-07-08 13:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":127559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:52:45] local.INFO: GPS data processed {"connection_id":127559,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:52:45] local.INFO: Acknowledgment sent {"connection_id":127559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:52:49] local.INFO: TCP Data received {"connection_id":126315,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126315,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:52:49] local.INFO: Processing buffer {"connection_id":126315,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:52:49] local.INFO: IMEI packet received {"connection_id":126315,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":126315,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:52:50] local.INFO: TCP Data received {"connection_id":126315,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d00f08012d0b130007029fc00005013421..."} 
[2026-07-08 13:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d00f08012d0b130007029fc00005013421..."} 
[2026-07-08 13:52:50] local.INFO: Processing buffer {"connection_id":126315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d00f08012d0b130007029fc00005013421..."} 
[2026-07-08 13:52:50] local.INFO: Packet analysis {"connection_id":126315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d0"} 
[2026-07-08 13:52:50] local.INFO: Extracted packet for processing {"connection_id":126315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d0"} 
[2026-07-08 13:52:50] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575617024001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783498805000,"timestamp_ms":1783498805000,"timestamp_seconds":1783498805,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d00f08"} 
[2026-07-08 13:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 13:52:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:52:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":126315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":126315,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":126315,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575617024001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575617024001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:52:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575617024001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":126315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451421,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:52:50] local.INFO: GPS data processed {"connection_id":126315,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:52:50] local.INFO: Acknowledgment sent {"connection_id":126315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:53:00] local.INFO: TCP Data received {"connection_id":126316,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:53:00] local.INFO: Processing buffer {"connection_id":126316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:53:00] local.INFO: IMEI packet received {"connection_id":126316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":126316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:53:05] local.INFO: TCP Data received {"connection_id":126316,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:53:05] local.INFO: Processing buffer {"connection_id":126316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:53:05] local.INFO: IMEI packet received {"connection_id":126316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":126316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:53:07] local.INFO: TCP Data received {"connection_id":126316,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d0bed0012d181dc00721ae68004800d223..."} 
[2026-07-08 13:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d0bed0012d181dc00721ae68004800d223..."} 
[2026-07-08 13:53:07] local.INFO: Processing buffer {"connection_id":126316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d0bed0012d181dc00721ae68004800d223..."} 
[2026-07-08 13:53:07] local.INFO: Packet analysis {"connection_id":126316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d0"} 
[2026-07-08 13:53:07] local.INFO: Extracted packet for processing {"connection_id":126316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d0"} 
[2026-07-08 13:53:07] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647848,"longitude_deg":75.65552,"latitude_deg":11.9647848,"altitude":72,"angle":210,"satellites":35,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-07-08 13:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575700224001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4769402268418048,"note":"Value kept but may cause issues"} 
[2026-07-08 13:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097261568,"note":"Value kept but may cause issues"} 
[2026-07-08 13:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783498850000,"timestamp_ms":1783498850000,"timestamp_seconds":1783498850,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d0bed0"} 
[2026-07-08 13:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-08 13:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575700224001,"66":12776,"120":206,"28":31744,"24":0,"16":4769402268418048,"45":1737756168097261568},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575700224001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:53:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:53:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4769402268418048,"km_value":4769402268418.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097261568,"description":"Unknown IO ID 45"} 
[2026-07-08 13:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575700224001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097261568}} 
[2026-07-08 13:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":126316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:53:07] local.INFO: GPS data processed {"connection_id":126316,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:53:07] local.INFO: Acknowledgment sent {"connection_id":126316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:53:10] local.INFO: TCP Data received {"connection_id":125554,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:53:10] local.INFO: Processing buffer {"connection_id":125554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:53:10] local.INFO: IMEI packet received {"connection_id":125554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":125554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:53:11] local.INFO: TCP Data received {"connection_id":125554,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d12460012d7d820005a7a2b8000d00a72f..."} 
[2026-07-08 13:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d12460012d7d820005a7a2b8000d00a72f..."} 
[2026-07-08 13:53:11] local.INFO: Processing buffer {"connection_id":125554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d12460012d7d820005a7a2b8000d00a72f..."} 
[2026-07-08 13:53:11] local.INFO: Packet analysis {"connection_id":125554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d1"} 
[2026-07-08 13:53:11] local.INFO: Extracted packet for processing {"connection_id":125554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d1"} 
[2026-07-08 13:53:11] local.INFO: GPS Element Parsed {"raw_longitude":763200000,"raw_latitude":94872248,"longitude_deg":76.32,"latitude_deg":9.4872248,"altitude":13,"angle":167,"satellites":47,"speed":59,"hex_longitude":"2d7d8200","hex_latitude":"05a7a2b8","is_valid_coordinates":true} 
[2026-07-08 13:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575710720001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342563954419040256,"note":"Value kept but may cause issues"} 
[2026-07-08 13:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9041609594933403648,"note":"Value kept but may cause issues"} 
[2026-07-08 13:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783498876000,"timestamp_ms":1783498876000,"timestamp_seconds":1783498876,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d12460"} 
[2026-07-08 13:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 13:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575710720001,"66":27865,"166":206,"85":14336,"24":59,"16":342563954419040256,"45":9041609594933403648},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-07-08 13:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575710720001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:53:11] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-08 13:53:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 13:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342563954419040256,"km_value":342563954419040.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9041609594933403648,"description":"Unknown IO ID 45"} 
[2026-07-08 13:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575710720001,"power":27865,"unknown_166":206,"unknown_85":14336,"ignition":59,"odometer":null,"unknown_45":9041609594933403648}} 
[2026-07-08 13:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":125554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:53:11] local.INFO: GPS data processed {"connection_id":125554,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:53:11] local.INFO: Acknowledgment sent {"connection_id":125554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:53:21] local.INFO: TCP Data received {"connection_id":126315,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d00f08012d0b130007029fc00005013421..."} 
[2026-07-08 13:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d00f08012d0b130007029fc00005013421..."} 
[2026-07-08 13:53:21] local.INFO: Processing buffer {"connection_id":126315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d00f08012d0b130007029fc00005013421..."} 
[2026-07-08 13:53:21] local.INFO: Packet analysis {"connection_id":126315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d0"} 
[2026-07-08 13:53:21] local.INFO: Extracted packet for processing {"connection_id":126315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d0"} 
[2026-07-08 13:53:21] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 13:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575617024001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783498805000,"timestamp_ms":1783498805000,"timestamp_seconds":1783498805,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d00f08"} 
[2026-07-08 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-07-08 13:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 13:53:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 13:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":126315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":126315,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":126315,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575617024001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575617024001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:53:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575617024001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":126315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451424,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:53:21] local.INFO: GPS data processed {"connection_id":126315,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:53:21] local.INFO: Acknowledgment sent {"connection_id":126315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:53:38] local.INFO: TCP Data received {"connection_id":126316,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d110d8012d181dc00721ae68004800d225..."} 
[2026-07-08 13:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d110d8012d181dc00721ae68004800d225..."} 
[2026-07-08 13:53:38] local.INFO: Processing buffer {"connection_id":126316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d110d8012d181dc00721ae68004800d225..."} 
[2026-07-08 13:53:38] local.INFO: Packet analysis {"connection_id":126316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d1"} 
[2026-07-08 13:53:38] local.INFO: Extracted packet for processing {"connection_id":126316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d1"} 
[2026-07-08 13:53:38] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647848,"longitude_deg":75.65552,"latitude_deg":11.9647848,"altitude":72,"angle":210,"satellites":37,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-07-08 13:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575705600001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4769402268418048,"note":"Value kept but may cause issues"} 
[2026-07-08 13:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097261568,"note":"Value kept but may cause issues"} 
[2026-07-08 13:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783498871000,"timestamp_ms":1783498871000,"timestamp_seconds":1783498871,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d110d8"} 
[2026-07-08 13:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-08 13:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575705600001,"66":12776,"120":206,"28":31744,"24":0,"16":4769402268418048,"45":1737756168097261568},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575705600001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:53:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:53:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4769402268418048,"km_value":4769402268418.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097261568,"description":"Unknown IO ID 45"} 
[2026-07-08 13:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575705600001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097261568}} 
[2026-07-08 13:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":126316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:53:38] local.INFO: GPS data processed {"connection_id":126316,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:53:38] local.INFO: Acknowledgment sent {"connection_id":126316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:53:45] local.INFO: TCP Data received {"connection_id":125438,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125438,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:53:45] local.INFO: Processing buffer {"connection_id":125438,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:53:45] local.INFO: IMEI packet received {"connection_id":125438,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":125438,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:53:50] local.INFO: TCP Data received {"connection_id":125438,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125438,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:53:50] local.INFO: Processing buffer {"connection_id":125438,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:53:50] local.INFO: IMEI packet received {"connection_id":125438,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":125438,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:53:50] local.INFO: TCP Data received {"connection_id":125438,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d00f08012d0b130007029fc00005013421..."} 
[2026-07-08 13:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d00f08012d0b130007029fc00005013421..."} 
[2026-07-08 13:53:50] local.INFO: Processing buffer {"connection_id":125438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d00f08012d0b130007029fc00005013421..."} 
[2026-07-08 13:53:50] local.INFO: Packet analysis {"connection_id":125438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d0"} 
[2026-07-08 13:53:50] local.INFO: Extracted packet for processing {"connection_id":125438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d0"} 
[2026-07-08 13:53:50] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575617024001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783498805000,"timestamp_ms":1783498805000,"timestamp_seconds":1783498805,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d00f08"} 
[2026-07-08 13:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 13:53:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":125438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":125438,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":125438,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575617024001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575617024001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:53:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:53:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575617024001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":125438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451426,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:53:51] local.INFO: GPS data processed {"connection_id":125438,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:53:51] local.INFO: Acknowledgment sent {"connection_id":125438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:53:56] local.INFO: TCP Data received {"connection_id":127561,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:53:56] local.INFO: Processing buffer {"connection_id":127561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:53:56] local.INFO: IMEI packet received {"connection_id":127561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":127561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:54:01] local.INFO: TCP Data received {"connection_id":127561,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:54:01] local.INFO: Processing buffer {"connection_id":127561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:54:01] local.INFO: IMEI packet received {"connection_id":127561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":127561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:54:01] local.INFO: TCP Data received {"connection_id":125555,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:54:01] local.INFO: Processing buffer {"connection_id":125555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:54:01] local.INFO: IMEI packet received {"connection_id":125555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":125555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:54:02] local.INFO: TCP Data received {"connection_id":127561,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d28fa8012d7e764005a5f028000a00792f..."} 
[2026-07-08 13:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d28fa8012d7e764005a5f028000a00792f..."} 
[2026-07-08 13:54:02] local.INFO: Processing buffer {"connection_id":127561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d28fa8012d7e764005a5f028000a00792f..."} 
[2026-07-08 13:54:02] local.INFO: Packet analysis {"connection_id":127561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d2"} 
[2026-07-08 13:54:02] local.INFO: Extracted packet for processing {"connection_id":127561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d2"} 
[2026-07-08 13:54:02] local.INFO: GPS Element Parsed {"raw_longitude":763262528,"raw_latitude":94761000,"longitude_deg":76.3262528,"latitude_deg":9.4761,"altitude":10,"angle":121,"satellites":47,"speed":61,"hex_longitude":"2d7e7640","hex_latitude":"05a5f028","is_valid_coordinates":true} 
[2026-07-08 13:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575734528001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342570478474362880,"note":"Value kept but may cause issues"} 
[2026-07-08 13:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104026670989463552,"note":"Value kept but may cause issues"} 
[2026-07-08 13:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783498969000,"timestamp_ms":1783498969000,"timestamp_seconds":1783498969,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d28fa8"} 
[2026-07-08 13:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 13:54:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:54:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575734528001,"66":27821,"32":206,"85":14336,"24":61,"16":342570478474362880,"45":9104026670989463552},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,85,24,16,45]} 
[2026-07-08 13:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575734528001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:54:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-08 13:54:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 13:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342570478474362880,"km_value":342570478474362.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104026670989463552,"description":"Unknown IO ID 45"} 
[2026-07-08 13:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575734528001,"power":27821,"unknown_32":206,"unknown_85":14336,"ignition":61,"odometer":null,"unknown_45":9104026670989463552}} 
[2026-07-08 13:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":127561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:54:02] local.INFO: GPS data processed {"connection_id":127561,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:54:02] local.INFO: Acknowledgment sent {"connection_id":127561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:54:05] local.INFO: TCP Data received {"connection_id":125555,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:54:05] local.INFO: Processing buffer {"connection_id":125555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:54:05] local.INFO: IMEI packet received {"connection_id":125555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":125555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:54:07] local.INFO: TCP Data received {"connection_id":125555,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d162e0012d181dc00721ae68004800d224..."} 
[2026-07-08 13:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d162e0012d181dc00721ae68004800d224..."} 
[2026-07-08 13:54:07] local.INFO: Processing buffer {"connection_id":125555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d162e0012d181dc00721ae68004800d224..."} 
[2026-07-08 13:54:07] local.INFO: Packet analysis {"connection_id":125555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d1"} 
[2026-07-08 13:54:07] local.INFO: Extracted packet for processing {"connection_id":125555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d1"} 
[2026-07-08 13:54:07] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647848,"longitude_deg":75.65552,"latitude_deg":11.9647848,"altitude":72,"angle":210,"satellites":36,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-07-08 13:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575710976001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4769402268418048,"note":"Value kept but may cause issues"} 
[2026-07-08 13:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097261568,"note":"Value kept but may cause issues"} 
[2026-07-08 13:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783498892000,"timestamp_ms":1783498892000,"timestamp_seconds":1783498892,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d162e0"} 
[2026-07-08 13:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-08 13:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575710976001,"66":12776,"120":206,"28":31744,"24":0,"16":4769402268418048,"45":1737756168097261568},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575710976001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:54:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:54:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4769402268418048,"km_value":4769402268418.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097261568,"description":"Unknown IO ID 45"} 
[2026-07-08 13:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575710976001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097261568}} 
[2026-07-08 13:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":125555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:54:07] local.INFO: GPS data processed {"connection_id":125555,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:54:07] local.INFO: Acknowledgment sent {"connection_id":125555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:54:22] local.INFO: TCP Data received {"connection_id":125438,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d00f08012d0b130007029fc00005013421..."} 
[2026-07-08 13:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d00f08012d0b130007029fc00005013421..."} 
[2026-07-08 13:54:22] local.INFO: Processing buffer {"connection_id":125438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d00f08012d0b130007029fc00005013421..."} 
[2026-07-08 13:54:22] local.INFO: Packet analysis {"connection_id":125438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d0"} 
[2026-07-08 13:54:22] local.INFO: Extracted packet for processing {"connection_id":125438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d0"} 
[2026-07-08 13:54:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575617024001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783498805000,"timestamp_ms":1783498805000,"timestamp_seconds":1783498805,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d00f08"} 
[2026-07-08 13:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 13:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125438,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125438,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575617024001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575617024001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:54:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575617024001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":125438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451429,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:54:22] local.INFO: GPS data processed {"connection_id":125438,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:54:22] local.INFO: Acknowledgment sent {"connection_id":125438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:54:33] local.INFO: TCP Data received {"connection_id":127561,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d2a718012d7e954005a5dd60000900792e..."} 
[2026-07-08 13:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d2a718012d7e954005a5dd60000900792e..."} 
[2026-07-08 13:54:33] local.INFO: Processing buffer {"connection_id":127561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d2a718012d7e954005a5dd60000900792e..."} 
[2026-07-08 13:54:33] local.INFO: Packet analysis {"connection_id":127561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d2"} 
[2026-07-08 13:54:33] local.INFO: Extracted packet for processing {"connection_id":127561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d2"} 
[2026-07-08 13:54:33] local.INFO: GPS Element Parsed {"raw_longitude":763270464,"raw_latitude":94756192,"longitude_deg":76.3270464,"latitude_deg":9.4756192,"altitude":9,"angle":121,"satellites":46,"speed":60,"hex_longitude":"2d7e9540","hex_latitude":"05a5dd60","is_valid_coordinates":true} 
[2026-07-08 13:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575736064001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342570925150961664,"note":"Value kept but may cause issues"} 
[2026-07-08 13:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9112541289033771008,"note":"Value kept but may cause issues"} 
[2026-07-08 13:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783498975000,"timestamp_ms":1783498975000,"timestamp_seconds":1783498975,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d2a718"} 
[2026-07-08 13:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 13:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575736064001,"66":28050,"32":206,"85":14336,"24":60,"16":342570925150961664,"45":9112541289033771008},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,85,24,16,45]} 
[2026-07-08 13:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575736064001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:54:33] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-08 13:54:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 13:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342570925150961664,"km_value":342570925150961.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9112541289033771008,"description":"Unknown IO ID 45"} 
[2026-07-08 13:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575736064001,"power":28050,"unknown_32":206,"unknown_85":14336,"ignition":60,"odometer":null,"unknown_45":9112541289033771008}} 
[2026-07-08 13:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":127561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:54:33] local.INFO: GPS data processed {"connection_id":127561,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:54:33] local.INFO: Acknowledgment sent {"connection_id":127561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:54:38] local.INFO: TCP Data received {"connection_id":125555,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d1b4e8012d181dc00721ae68004800d225..."} 
[2026-07-08 13:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d1b4e8012d181dc00721ae68004800d225..."} 
[2026-07-08 13:54:38] local.INFO: Processing buffer {"connection_id":125555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d1b4e8012d181dc00721ae68004800d225..."} 
[2026-07-08 13:54:38] local.INFO: Packet analysis {"connection_id":125555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d1"} 
[2026-07-08 13:54:38] local.INFO: Extracted packet for processing {"connection_id":125555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d1"} 
[2026-07-08 13:54:38] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647848,"longitude_deg":75.65552,"latitude_deg":11.9647848,"altitude":72,"angle":210,"satellites":37,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-07-08 13:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575716352001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4769402268418048,"note":"Value kept but may cause issues"} 
[2026-07-08 13:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097261568,"note":"Value kept but may cause issues"} 
[2026-07-08 13:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783498913000,"timestamp_ms":1783498913000,"timestamp_seconds":1783498913,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d1b4e8"} 
[2026-07-08 13:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-08 13:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575716352001,"66":12743,"120":206,"28":31744,"24":0,"16":4769402268418048,"45":1737756168097261568},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575716352001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:54:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:54:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4769402268418048,"km_value":4769402268418.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097261568,"description":"Unknown IO ID 45"} 
[2026-07-08 13:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575716352001,"power":12743,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097261568}} 
[2026-07-08 13:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":125555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:54:39] local.INFO: GPS data processed {"connection_id":125555,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:54:39] local.INFO: Acknowledgment sent {"connection_id":125555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:54:44] local.INFO: TCP Data received {"connection_id":126317,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126317,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:54:44] local.INFO: Processing buffer {"connection_id":126317,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:54:44] local.INFO: IMEI packet received {"connection_id":126317,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":126317,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:54:49] local.INFO: TCP Data received {"connection_id":126317,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126317,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:54:49] local.INFO: Processing buffer {"connection_id":126317,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:54:49] local.INFO: IMEI packet received {"connection_id":126317,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":126317,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:54:51] local.INFO: TCP Data received {"connection_id":126317,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d00f08012d0b130007029fc00005013421..."} 
[2026-07-08 13:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d00f08012d0b130007029fc00005013421..."} 
[2026-07-08 13:54:51] local.INFO: Processing buffer {"connection_id":126317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d00f08012d0b130007029fc00005013421..."} 
[2026-07-08 13:54:51] local.INFO: Packet analysis {"connection_id":126317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d0"} 
[2026-07-08 13:54:51] local.INFO: Extracted packet for processing {"connection_id":126317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d0"} 
[2026-07-08 13:54:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575617024001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783498805000,"timestamp_ms":1783498805000,"timestamp_seconds":1783498805,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d00f08"} 
[2026-07-08 13:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 13:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126317,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126317,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575617024001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575617024001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:54:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575617024001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":126317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451432,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:54:51] local.INFO: GPS data processed {"connection_id":126317,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:54:51] local.INFO: Acknowledgment sent {"connection_id":126317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:54:59] local.INFO: TCP Data received {"connection_id":127562,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:54:59] local.INFO: Processing buffer {"connection_id":127562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:54:59] local.INFO: IMEI packet received {"connection_id":127562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":127562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:55:00] local.INFO: TCP Data received {"connection_id":127563,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:55:00] local.INFO: Processing buffer {"connection_id":127563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:55:00] local.INFO: IMEI packet received {"connection_id":127563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":127563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:55:00] local.INFO: TCP Data received {"connection_id":127562,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:55:00] local.INFO: Processing buffer {"connection_id":127562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:55:00] local.INFO: IMEI packet received {"connection_id":127562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":127562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:55:05] local.INFO: TCP Data received {"connection_id":127563,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:55:05] local.INFO: Processing buffer {"connection_id":127563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:55:05] local.INFO: IMEI packet received {"connection_id":127563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":127563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:55:06] local.INFO: TCP Data received {"connection_id":127562,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:55:06] local.INFO: Processing buffer {"connection_id":127562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:55:06] local.INFO: IMEI packet received {"connection_id":127562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":127562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:55:06] local.INFO: TCP Data received {"connection_id":127563,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d206f0012d181dc00721ae68004800d225..."} 
[2026-07-08 13:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d206f0012d181dc00721ae68004800d225..."} 
[2026-07-08 13:55:06] local.INFO: Processing buffer {"connection_id":127563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d206f0012d181dc00721ae68004800d225..."} 
[2026-07-08 13:55:06] local.INFO: Packet analysis {"connection_id":127563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d2"} 
[2026-07-08 13:55:06] local.INFO: Extracted packet for processing {"connection_id":127563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d2"} 
[2026-07-08 13:55:06] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647848,"longitude_deg":75.65552,"latitude_deg":11.9647848,"altitude":72,"angle":210,"satellites":37,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-07-08 13:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575721728001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4769402268418048,"note":"Value kept but may cause issues"} 
[2026-07-08 13:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097261568,"note":"Value kept but may cause issues"} 
[2026-07-08 13:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783498934000,"timestamp_ms":1783498934000,"timestamp_seconds":1783498934,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d206f0"} 
[2026-07-08 13:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-08 13:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575721728001,"66":12722,"120":206,"28":31744,"24":0,"16":4769402268418048,"45":1737756168097261568},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575721728001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:55:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:55:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4769402268418048,"km_value":4769402268418.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097261568,"description":"Unknown IO ID 45"} 
[2026-07-08 13:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575721728001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097261568}} 
[2026-07-08 13:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":127563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:55:06] local.INFO: GPS data processed {"connection_id":127563,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:55:06] local.INFO: Acknowledgment sent {"connection_id":127563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:55:07] local.INFO: TCP Data received {"connection_id":127562,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d3a8e8012d7fcdc005a54d100009007c2e..."} 
[2026-07-08 13:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d3a8e8012d7fcdc005a54d100009007c2e..."} 
[2026-07-08 13:55:07] local.INFO: Processing buffer {"connection_id":127562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d3a8e8012d7fcdc005a54d100009007c2e..."} 
[2026-07-08 13:55:07] local.INFO: Packet analysis {"connection_id":127562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d3"} 
[2026-07-08 13:55:07] local.INFO: Extracted packet for processing {"connection_id":127562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d3"} 
[2026-07-08 13:55:07] local.INFO: GPS Element Parsed {"raw_longitude":763350464,"raw_latitude":94719248,"longitude_deg":76.3350464,"latitude_deg":9.4719248,"altitude":9,"angle":124,"satellites":46,"speed":29,"hex_longitude":"2d7fcdc0","hex_latitude":"05a54d10","is_valid_coordinates":true} 
[2026-07-08 13:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575753984001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342575155693748224,"note":"Value kept but may cause issues"} 
[2026-07-08 13:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9207750199895656448,"note":"Value kept but may cause issues"} 
[2026-07-08 13:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783499041000,"timestamp_ms":1783499041000,"timestamp_seconds":1783499041,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d3a8e8"} 
[2026-07-08 13:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-08 13:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575753984001,"66":27767,"54":206,"85":14336,"24":29,"16":342575155693748224,"45":9207750199895656448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,85,24,16,45]} 
[2026-07-08 13:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575753984001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:55:07] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-07-08 13:55:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 13:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342575155693748224,"km_value":342575155693748.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9207750199895656448,"description":"Unknown IO ID 45"} 
[2026-07-08 13:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575753984001,"power":27767,"unknown_54":206,"unknown_85":14336,"ignition":29,"odometer":null,"unknown_45":9207750199895656448}} 
[2026-07-08 13:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":127562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:55:07] local.INFO: GPS data processed {"connection_id":127562,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:55:07] local.INFO: Acknowledgment sent {"connection_id":127562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:55:21] local.INFO: TCP Data received {"connection_id":126317,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d4a6d0012d0b130007029fc0000501341f..."} 
[2026-07-08 13:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d4a6d0012d0b130007029fc0000501341f..."} 
[2026-07-08 13:55:21] local.INFO: Processing buffer {"connection_id":126317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d4a6d0012d0b130007029fc0000501341f..."} 
[2026-07-08 13:55:21] local.INFO: Packet analysis {"connection_id":126317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d4"} 
[2026-07-08 13:55:21] local.INFO: Extracted packet for processing {"connection_id":126317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d4"} 
[2026-07-08 13:55:21] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":31,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 13:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575694080001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783499106000,"timestamp_ms":1783499106000,"timestamp_seconds":1783499106,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d4a6d0"} 
[2026-07-08 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-07-08 13:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 13:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":126317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":126317,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":126317,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575694080001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575694080001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:55:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575694080001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":126317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451435,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:55:22] local.INFO: GPS data processed {"connection_id":126317,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:55:22] local.INFO: Acknowledgment sent {"connection_id":126317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:55:37] local.INFO: TCP Data received {"connection_id":127562,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d3d3e0012d7feb8005a538700009007e2f..."} 
[2026-07-08 13:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d3d3e0012d7feb8005a538700009007e2f..."} 
[2026-07-08 13:55:37] local.INFO: Processing buffer {"connection_id":127562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d3d3e0012d7feb8005a538700009007e2f..."} 
[2026-07-08 13:55:37] local.INFO: Packet analysis {"connection_id":127562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d3"} 
[2026-07-08 13:55:37] local.INFO: Extracted packet for processing {"connection_id":127562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d3"} 
[2026-07-08 13:55:37] local.INFO: GPS Element Parsed {"raw_longitude":763358080,"raw_latitude":94713968,"longitude_deg":76.335808,"latitude_deg":9.4713968,"altitude":9,"angle":126,"satellites":47,"speed":38,"hex_longitude":"2d7feb80","hex_latitude":"05a53870","is_valid_coordinates":true} 
[2026-07-08 13:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575754496001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342575598075379712,"note":"Value kept but may cause issues"} 
[2026-07-08 13:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9209227943523192832,"note":"Value kept but may cause issues"} 
[2026-07-08 13:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783499052000,"timestamp_ms":1783499052000,"timestamp_seconds":1783499052,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d3d3e0"} 
[2026-07-08 13:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 13:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575754496001,"66":28050,"53":206,"85":14336,"24":38,"16":342575598075379712,"45":9209227943523192832},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-08 13:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575754496001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:55:37] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-08 13:55:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 13:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342575598075379712,"km_value":342575598075379.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9209227943523192832,"description":"Unknown IO ID 45"} 
[2026-07-08 13:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575754496001,"power":28050,"unknown_53":206,"unknown_85":14336,"ignition":38,"odometer":null,"unknown_45":9209227943523192832}} 
[2026-07-08 13:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":127562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:55:37] local.INFO: GPS data processed {"connection_id":127562,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:55:37] local.INFO: Acknowledgment sent {"connection_id":127562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:55:38] local.INFO: TCP Data received {"connection_id":127563,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d258f8012d181dc00721ae68004800d224..."} 
[2026-07-08 13:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d258f8012d181dc00721ae68004800d224..."} 
[2026-07-08 13:55:38] local.INFO: Processing buffer {"connection_id":127563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d258f8012d181dc00721ae68004800d224..."} 
[2026-07-08 13:55:38] local.INFO: Packet analysis {"connection_id":127563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d2"} 
[2026-07-08 13:55:38] local.INFO: Extracted packet for processing {"connection_id":127563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d2"} 
[2026-07-08 13:55:38] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647848,"longitude_deg":75.65552,"latitude_deg":11.9647848,"altitude":72,"angle":210,"satellites":36,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-07-08 13:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575727104001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4769402268418048,"note":"Value kept but may cause issues"} 
[2026-07-08 13:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097261568,"note":"Value kept but may cause issues"} 
[2026-07-08 13:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783498955000,"timestamp_ms":1783498955000,"timestamp_seconds":1783498955,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d258f8"} 
[2026-07-08 13:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-08 13:55: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-07-08 13:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575727104001,"66":12667,"120":206,"28":31744,"24":0,"16":4769402268418048,"45":1737756168097261568},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575727104001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:55:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:55:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4769402268418048,"km_value":4769402268418.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097261568,"description":"Unknown IO ID 45"} 
[2026-07-08 13:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575727104001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097261568}} 
[2026-07-08 13:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":127563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:55:38] local.INFO: GPS data processed {"connection_id":127563,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:55:38] local.INFO: Acknowledgment sent {"connection_id":127563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:55:44] local.INFO: TCP Data received {"connection_id":126318,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126318,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:55:44] local.INFO: Processing buffer {"connection_id":126318,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:55:44] local.INFO: IMEI packet received {"connection_id":126318,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":126318,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:55:50] local.INFO: TCP Data received {"connection_id":126318,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126318,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:55:50] local.INFO: Processing buffer {"connection_id":126318,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:55:50] local.INFO: IMEI packet received {"connection_id":126318,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":126318,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:55:51] local.INFO: TCP Data received {"connection_id":126318,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d4a6d0012d0b130007029fc0000501341f..."} 
[2026-07-08 13:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d4a6d0012d0b130007029fc0000501341f..."} 
[2026-07-08 13:55:51] local.INFO: Processing buffer {"connection_id":126318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d4a6d0012d0b130007029fc0000501341f..."} 
[2026-07-08 13:55:51] local.INFO: Packet analysis {"connection_id":126318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d4"} 
[2026-07-08 13:55:51] local.INFO: Extracted packet for processing {"connection_id":126318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d4"} 
[2026-07-08 13:55:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":31,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575694080001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783499106000,"timestamp_ms":1783499106000,"timestamp_seconds":1783499106,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d4a6d0"} 
[2026-07-08 13:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126318,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126318,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575694080001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575694080001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:55:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575694080001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":126318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451438,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:55:51] local.INFO: GPS data processed {"connection_id":126318,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:55:51] local.INFO: Acknowledgment sent {"connection_id":126318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:55:54] local.INFO: TCP Data received {"connection_id":127564,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:55:54] local.INFO: Processing buffer {"connection_id":127564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:55:54] local.INFO: IMEI packet received {"connection_id":127564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":127564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:55:55] local.INFO: TCP Data received {"connection_id":127564,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:55:55] local.INFO: Processing buffer {"connection_id":127564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:55:55] local.INFO: IMEI packet received {"connection_id":127564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":127564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:56:00] local.INFO: TCP Data received {"connection_id":126320,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:56:00] local.INFO: Processing buffer {"connection_id":126320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:56:00] local.INFO: IMEI packet received {"connection_id":126320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":126320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:56:01] local.INFO: TCP Data received {"connection_id":127564,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:56:01] local.INFO: Processing buffer {"connection_id":127564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:56:01] local.INFO: IMEI packet received {"connection_id":127564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":127564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:56:01] local.INFO: TCP Data received {"connection_id":126320,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:56:01] local.INFO: Processing buffer {"connection_id":126320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:56:01] local.INFO: IMEI packet received {"connection_id":126320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":126320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:56:01] local.INFO: TCP Data received {"connection_id":127564,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d3f708012d80094005a52228000800812d..."} 
[2026-07-08 13:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d3f708012d80094005a52228000800812d..."} 
[2026-07-08 13:56:01] local.INFO: Processing buffer {"connection_id":127564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d3f708012d80094005a52228000800812d..."} 
[2026-07-08 13:56:01] local.INFO: Packet analysis {"connection_id":127564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d3"} 
[2026-07-08 13:56:01] local.INFO: Extracted packet for processing {"connection_id":127564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d3"} 
[2026-07-08 13:56:01] local.INFO: GPS Element Parsed {"raw_longitude":763365696,"raw_latitude":94708264,"longitude_deg":76.3365696,"latitude_deg":9.4708264,"altitude":8,"angle":129,"satellites":45,"speed":43,"hex_longitude":"2d800940","hex_latitude":"05a52228","is_valid_coordinates":true} 
[2026-07-08 13:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575757312001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342576057636880384,"note":"Value kept but may cause issues"} 
[2026-07-08 13:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217601824078983168,"note":"Value kept but may cause issues"} 
[2026-07-08 13:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783499061000,"timestamp_ms":1783499061000,"timestamp_seconds":1783499061,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d3f708"} 
[2026-07-08 13:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:56:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-08 13:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:56:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575757312001,"66":27919,"53":206,"85":14336,"24":43,"16":342576057636880384,"45":9217601824078983168},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-08 13:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575757312001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:56:01] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-08 13:56:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 13:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342576057636880384,"km_value":342576057636880.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217601824078983168,"description":"Unknown IO ID 45"} 
[2026-07-08 13:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575757312001,"power":27919,"unknown_53":206,"unknown_85":14336,"ignition":43,"odometer":null,"unknown_45":9217601824078983168}} 
[2026-07-08 13:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":127564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:56:01] local.INFO: GPS data processed {"connection_id":127564,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:56:01] local.INFO: Acknowledgment sent {"connection_id":127564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:56:05] local.INFO: TCP Data received {"connection_id":126320,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:56:05] local.INFO: Processing buffer {"connection_id":126320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:56:05] local.INFO: IMEI packet received {"connection_id":126320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":126320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:56:07] local.INFO: TCP Data received {"connection_id":126320,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d2ab00012d181dc00721ae68004800d224..."} 
[2026-07-08 13:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d2ab00012d181dc00721ae68004800d224..."} 
[2026-07-08 13:56:07] local.INFO: Processing buffer {"connection_id":126320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d2ab00012d181dc00721ae68004800d224..."} 
[2026-07-08 13:56:07] local.INFO: Packet analysis {"connection_id":126320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d2"} 
[2026-07-08 13:56:07] local.INFO: Extracted packet for processing {"connection_id":126320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d2"} 
[2026-07-08 13:56:07] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647848,"longitude_deg":75.65552,"latitude_deg":11.9647848,"altitude":72,"angle":210,"satellites":36,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-07-08 13:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575732480001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4769402268418048,"note":"Value kept but may cause issues"} 
[2026-07-08 13:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097261568,"note":"Value kept but may cause issues"} 
[2026-07-08 13:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783498976000,"timestamp_ms":1783498976000,"timestamp_seconds":1783498976,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d2ab00"} 
[2026-07-08 13:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-08 13:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575732480001,"66":12689,"120":206,"28":31744,"24":0,"16":4769402268418048,"45":1737756168097261568},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575732480001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:56:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:56:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4769402268418048,"km_value":4769402268418.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097261568,"description":"Unknown IO ID 45"} 
[2026-07-08 13:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575732480001,"power":12689,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097261568}} 
[2026-07-08 13:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":126320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:56:07] local.INFO: GPS data processed {"connection_id":126320,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:56:07] local.INFO: Acknowledgment sent {"connection_id":126320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:56:22] local.INFO: TCP Data received {"connection_id":126318,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d4a6d0012d0b130007029fc0000501341f..."} 
[2026-07-08 13:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d4a6d0012d0b130007029fc0000501341f..."} 
[2026-07-08 13:56:22] local.INFO: Processing buffer {"connection_id":126318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d4a6d0012d0b130007029fc0000501341f..."} 
[2026-07-08 13:56:22] local.INFO: Packet analysis {"connection_id":126318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d4"} 
[2026-07-08 13:56:22] local.INFO: Extracted packet for processing {"connection_id":126318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d4"} 
[2026-07-08 13:56:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":31,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575694080001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783499106000,"timestamp_ms":1783499106000,"timestamp_seconds":1783499106,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d4a6d0"} 
[2026-07-08 13:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:56:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:56:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126318,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126318,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575694080001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575694080001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:56:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575694080001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":126318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451441,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:56:22] local.INFO: GPS data processed {"connection_id":126318,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:56:22] local.INFO: Acknowledgment sent {"connection_id":126318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:56:26] local.INFO: TCP Data received {"connection_id":126319,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126319,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:56:26] local.INFO: Processing buffer {"connection_id":126319,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:56:26] local.INFO: IMEI packet received {"connection_id":126319,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 13:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":126319,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:56:37] local.INFO: TCP Data received {"connection_id":127564,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d41648012d80230005a50960000800892e..."} 
[2026-07-08 13:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d41648012d80230005a50960000800892e..."} 
[2026-07-08 13:56:37] local.INFO: Processing buffer {"connection_id":127564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d41648012d80230005a50960000800892e..."} 
[2026-07-08 13:56:37] local.INFO: Packet analysis {"connection_id":127564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d4"} 
[2026-07-08 13:56:37] local.INFO: Extracted packet for processing {"connection_id":127564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d4"} 
[2026-07-08 13:56:37] local.INFO: GPS Element Parsed {"raw_longitude":763372288,"raw_latitude":94701920,"longitude_deg":76.3372288,"latitude_deg":9.470192,"altitude":8,"angle":137,"satellites":46,"speed":47,"hex_longitude":"2d802300","hex_latitude":"05a50960","is_valid_coordinates":true} 
[2026-07-08 13:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575759616001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342576495723544576,"note":"Value kept but may cause issues"} 
[2026-07-08 13:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9220768369074886656,"note":"Value kept but may cause issues"} 
[2026-07-08 13:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783499069000,"timestamp_ms":1783499069000,"timestamp_seconds":1783499069,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d41648"} 
[2026-07-08 13:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 13:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575759616001,"66":27908,"53":206,"85":14336,"24":47,"16":342576495723544576,"45":-9220768369074886656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-08 13:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575759616001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:56:37] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-08 13:56:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 13:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342576495723544576,"km_value":342576495723544.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9220768369074886656,"description":"Unknown IO ID 45"} 
[2026-07-08 13:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575759616001,"power":27908,"unknown_53":206,"unknown_85":14336,"ignition":47,"odometer":null,"unknown_45":-9220768369074886656}} 
[2026-07-08 13:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":127564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:56:37] local.INFO: GPS data processed {"connection_id":127564,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:56:37] local.INFO: Acknowledgment sent {"connection_id":127564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:56:39] local.INFO: TCP Data received {"connection_id":126320,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d2fd08012d181dc00721ae68004800d225..."} 
[2026-07-08 13:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d2fd08012d181dc00721ae68004800d225..."} 
[2026-07-08 13:56:39] local.INFO: Processing buffer {"connection_id":126320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d2fd08012d181dc00721ae68004800d225..."} 
[2026-07-08 13:56:39] local.INFO: Packet analysis {"connection_id":126320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d2"} 
[2026-07-08 13:56:39] local.INFO: Extracted packet for processing {"connection_id":126320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d2"} 
[2026-07-08 13:56:39] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647848,"longitude_deg":75.65552,"latitude_deg":11.9647848,"altitude":72,"angle":210,"satellites":37,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-07-08 13:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575737856001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4769402268418048,"note":"Value kept but may cause issues"} 
[2026-07-08 13:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097261568,"note":"Value kept but may cause issues"} 
[2026-07-08 13:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783498997000,"timestamp_ms":1783498997000,"timestamp_seconds":1783498997,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d2fd08"} 
[2026-07-08 13:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 13:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575737856001,"66":12689,"120":206,"28":31744,"24":0,"16":4769402268418048,"45":1737756168097261568},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575737856001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:56:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:56:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4769402268418048,"km_value":4769402268418.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097261568,"description":"Unknown IO ID 45"} 
[2026-07-08 13:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575737856001,"power":12689,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097261568}} 
[2026-07-08 13:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":126320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:56:39] local.INFO: GPS data processed {"connection_id":126320,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:56:39] local.INFO: Acknowledgment sent {"connection_id":126320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:56:50] local.INFO: TCP Data received {"connection_id":125557,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125557,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:56:50] local.INFO: Processing buffer {"connection_id":125557,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:56:50] local.INFO: IMEI packet received {"connection_id":125557,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":125557,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:56:53] local.INFO: TCP Data received {"connection_id":125558,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:56:53] local.INFO: Processing buffer {"connection_id":125558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:56:53] local.INFO: IMEI packet received {"connection_id":125558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":125558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:56:55] local.INFO: TCP Data received {"connection_id":125557,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125557,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:56:55] local.INFO: Processing buffer {"connection_id":125557,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:56:55] local.INFO: IMEI packet received {"connection_id":125557,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":125557,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:56:56] local.INFO: TCP Data received {"connection_id":125557,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d4a6d0012d0b130007029fc0000501341f..."} 
[2026-07-08 13:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d4a6d0012d0b130007029fc0000501341f..."} 
[2026-07-08 13:56:56] local.INFO: Processing buffer {"connection_id":125557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d4a6d0012d0b130007029fc0000501341f..."} 
[2026-07-08 13:56:56] local.INFO: Packet analysis {"connection_id":125557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d4"} 
[2026-07-08 13:56:56] local.INFO: Extracted packet for processing {"connection_id":125557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d4"} 
[2026-07-08 13:56:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":31,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575694080001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783499106000,"timestamp_ms":1783499106000,"timestamp_seconds":1783499106,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d4a6d0"} 
[2026-07-08 13:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:56:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:56:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":125557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":125557,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":125557,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575694080001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575694080001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:56:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575694080001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":125557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451444,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:56:56] local.INFO: GPS data processed {"connection_id":125557,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:56:56] local.INFO: Acknowledgment sent {"connection_id":125557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:56:56] local.INFO: TCP Data received {"connection_id":125558,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:56:56] local.INFO: Processing buffer {"connection_id":125558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:56:56] local.INFO: IMEI packet received {"connection_id":125558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":125558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:56:56] local.INFO: TCP Data received {"connection_id":125439,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125439,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:56:56] local.INFO: Processing buffer {"connection_id":125439,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 13:56:56] local.INFO: IMEI packet received {"connection_id":125439,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 13:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":125439,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:57:00] local.INFO: TCP Data received {"connection_id":125558,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:57:00] local.INFO: Processing buffer {"connection_id":125558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:57:00] local.INFO: IMEI packet received {"connection_id":125558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":125558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:57:01] local.INFO: TCP Data received {"connection_id":125557,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d4a6d0012d0b130007029fc0000501341f..."} 
[2026-07-08 13:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d4a6d0012d0b130007029fc0000501341f..."} 
[2026-07-08 13:57:01] local.INFO: Processing buffer {"connection_id":125557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d4a6d0012d0b130007029fc0000501341f..."} 
[2026-07-08 13:57:01] local.INFO: Packet analysis {"connection_id":125557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d4"} 
[2026-07-08 13:57:01] local.INFO: Extracted packet for processing {"connection_id":125557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d4"} 
[2026-07-08 13:57:01] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":31,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575694080001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:57: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-07-08 13:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783499106000,"timestamp_ms":1783499106000,"timestamp_seconds":1783499106,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d4a6d0"} 
[2026-07-08 13:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:57:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:57:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125557,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125557,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575694080001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575694080001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:57:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575694080001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":125557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451445,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:57:01] local.INFO: GPS data processed {"connection_id":125557,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:57:01] local.INFO: Acknowledgment sent {"connection_id":125557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:57:01] local.INFO: TCP Data received {"connection_id":125558,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d59518012d80918005a3c160000800ac2c..."} 
[2026-07-08 13:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d59518012d80918005a3c160000800ac2c..."} 
[2026-07-08 13:57:01] local.INFO: Processing buffer {"connection_id":125558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d59518012d80918005a3c160000800ac2c..."} 
[2026-07-08 13:57:01] local.INFO: Packet analysis {"connection_id":125558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d5"} 
[2026-07-08 13:57:01] local.INFO: Extracted packet for processing {"connection_id":125558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d5"} 
[2026-07-08 13:57:01] local.INFO: GPS Element Parsed {"raw_longitude":763400576,"raw_latitude":94617952,"longitude_deg":76.3400576,"latitude_deg":9.4617952,"altitude":8,"angle":172,"satellites":44,"speed":45,"hex_longitude":"2d809180","hex_latitude":"05a3c160","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575785728001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342580859410317312,"note":"Value kept but may cause issues"} 
[2026-07-08 13:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9183684040915283968,"note":"Value kept but may cause issues"} 
[2026-07-08 13:57:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783499167000,"timestamp_ms":1783499167000,"timestamp_seconds":1783499167,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d59518"} 
[2026-07-08 13:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:57:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 13:57:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575785728001,"66":27789,"17":206,"85":14336,"24":45,"16":342580859410317312,"45":-9183684040915283968},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-07-08 13:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575785728001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:57:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 13:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342580859410317312,"km_value":342580859410317.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9183684040915283968,"description":"Unknown IO ID 45"} 
[2026-07-08 13:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575785728001,"power":27789,"axis_x":206,"unknown_85":14336,"ignition":45,"odometer":null,"unknown_45":-9183684040915283968}} 
[2026-07-08 13:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":125558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:57:01] local.INFO: GPS data processed {"connection_id":125558,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:57:01] local.INFO: Acknowledgment sent {"connection_id":125558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:57:05] local.INFO: TCP Data received {"connection_id":126321,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:57:05] local.INFO: Processing buffer {"connection_id":126321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:57:05] local.INFO: IMEI packet received {"connection_id":126321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":126321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:57:05] local.INFO: TCP Data received {"connection_id":126321,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:57:05] local.INFO: Processing buffer {"connection_id":126321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:57:05] local.INFO: IMEI packet received {"connection_id":126321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":126321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:57:10] local.INFO: TCP Data received {"connection_id":126321,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:57:10] local.INFO: Processing buffer {"connection_id":126321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:57:10] local.INFO: IMEI packet received {"connection_id":126321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":126321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:57:12] local.INFO: TCP Data received {"connection_id":126321,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d34f10012d181dc00721ae68004800d222..."} 
[2026-07-08 13:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d34f10012d181dc00721ae68004800d222..."} 
[2026-07-08 13:57:12] local.INFO: Processing buffer {"connection_id":126321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d34f10012d181dc00721ae68004800d222..."} 
[2026-07-08 13:57:12] local.INFO: Packet analysis {"connection_id":126321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d3"} 
[2026-07-08 13:57:12] local.INFO: Extracted packet for processing {"connection_id":126321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d3"} 
[2026-07-08 13:57:12] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647848,"longitude_deg":75.65552,"latitude_deg":11.9647848,"altitude":72,"angle":210,"satellites":34,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-07-08 13:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575743232001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4769402268418048,"note":"Value kept but may cause issues"} 
[2026-07-08 13:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097261568,"note":"Value kept but may cause issues"} 
[2026-07-08 13:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783499018000,"timestamp_ms":1783499018000,"timestamp_seconds":1783499018,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d34f10"} 
[2026-07-08 13:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:57: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-07-08 13: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 13:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":126321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":126321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":126321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575743232001,"66":12113,"120":206,"28":31744,"24":0,"16":4769402268418048,"45":1737756168097261568},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575743232001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:57:12] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:57:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4769402268418048,"km_value":4769402268418.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097261568,"description":"Unknown IO ID 45"} 
[2026-07-08 13:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575743232001,"power":12113,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097261568}} 
[2026-07-08 13:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":126321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:57:12] local.INFO: GPS data processed {"connection_id":126321,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:57:12] local.INFO: Acknowledgment sent {"connection_id":126321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:57:17] local.INFO: TCP Data received {"connection_id":126321,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d3a118012d181dc00721ae68004800d224..."} 
[2026-07-08 13:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d3a118012d181dc00721ae68004800d224..."} 
[2026-07-08 13:57:17] local.INFO: Processing buffer {"connection_id":126321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d3a118012d181dc00721ae68004800d224..."} 
[2026-07-08 13:57:17] local.INFO: Packet analysis {"connection_id":126321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d3"} 
[2026-07-08 13:57:17] local.INFO: Extracted packet for processing {"connection_id":126321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d3"} 
[2026-07-08 13:57:17] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647848,"longitude_deg":75.65552,"latitude_deg":11.9647848,"altitude":72,"angle":210,"satellites":36,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-07-08 13:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575748608001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4769402268418048,"note":"Value kept but may cause issues"} 
[2026-07-08 13:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097261568,"note":"Value kept but may cause issues"} 
[2026-07-08 13:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783499039000,"timestamp_ms":1783499039000,"timestamp_seconds":1783499039,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d3a118"} 
[2026-07-08 13:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:57:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-07-08 13:57:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:57:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":126321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":126321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":126321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575748608001,"66":12613,"120":206,"28":31744,"24":0,"16":4769402268418048,"45":1737756168097261568},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575748608001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:57:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:57:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4769402268418048,"km_value":4769402268418.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097261568,"description":"Unknown IO ID 45"} 
[2026-07-08 13:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575748608001,"power":12613,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097261568}} 
[2026-07-08 13:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":126321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:57:17] local.INFO: GPS data processed {"connection_id":126321,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:57:17] local.INFO: Acknowledgment sent {"connection_id":126321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:57:32] local.INFO: TCP Data received {"connection_id":125558,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d5b458012d80974005a39c28000800ab2b..."} 
[2026-07-08 13:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d5b458012d80974005a39c28000800ab2b..."} 
[2026-07-08 13:57:32] local.INFO: Processing buffer {"connection_id":125558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d5b458012d80974005a39c28000800ab2b..."} 
[2026-07-08 13:57:32] local.INFO: Packet analysis {"connection_id":125558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d5"} 
[2026-07-08 13:57:32] local.INFO: Extracted packet for processing {"connection_id":125558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d5"} 
[2026-07-08 13:57:32] local.INFO: GPS Element Parsed {"raw_longitude":763402048,"raw_latitude":94608424,"longitude_deg":76.3402048,"latitude_deg":9.4608424,"altitude":8,"angle":171,"satellites":43,"speed":50,"hex_longitude":"2d809740","hex_latitude":"05a39c28","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575786752001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342581327561752576,"note":"Value kept but may cause issues"} 
[2026-07-08 13:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9182417403521179648,"note":"Value kept but may cause issues"} 
[2026-07-08 13:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783499175000,"timestamp_ms":1783499175000,"timestamp_seconds":1783499175,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d5b458"} 
[2026-07-08 13:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-08 13:57:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575786752001,"66":27843,"17":206,"85":14336,"24":50,"16":342581327561752576,"45":-9182417403521179648},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-07-08 13:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575786752001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:57:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 13:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342581327561752576,"km_value":342581327561752.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9182417403521179648,"description":"Unknown IO ID 45"} 
[2026-07-08 13:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575786752001,"power":27843,"axis_x":206,"unknown_85":14336,"ignition":50,"odometer":null,"unknown_45":-9182417403521179648}} 
[2026-07-08 13:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":125558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:57:32] local.INFO: GPS data processed {"connection_id":125558,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:57:32] local.INFO: Acknowledgment sent {"connection_id":125558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:57:44] local.INFO: TCP Data received {"connection_id":125559,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125559,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:57:44] local.INFO: Processing buffer {"connection_id":125559,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:57:44] local.INFO: IMEI packet received {"connection_id":125559,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":125559,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:57:50] local.INFO: TCP Data received {"connection_id":125559,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125559,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:57:50] local.INFO: Processing buffer {"connection_id":125559,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:57:50] local.INFO: IMEI packet received {"connection_id":125559,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":125559,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:57:51] local.INFO: TCP Data received {"connection_id":125559,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d4a6d0012d0b130007029fc0000501341f..."} 
[2026-07-08 13:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d4a6d0012d0b130007029fc0000501341f..."} 
[2026-07-08 13:57:51] local.INFO: Processing buffer {"connection_id":125559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d4a6d0012d0b130007029fc0000501341f..."} 
[2026-07-08 13:57:51] local.INFO: Packet analysis {"connection_id":125559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d4"} 
[2026-07-08 13:57:51] local.INFO: Extracted packet for processing {"connection_id":125559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d4"} 
[2026-07-08 13:57:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":31,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575694080001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783499106000,"timestamp_ms":1783499106000,"timestamp_seconds":1783499106,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d4a6d0"} 
[2026-07-08 13:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:57:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125559,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125559,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575694080001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575694080001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:57:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575694080001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":125559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451450,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:57:51] local.INFO: GPS data processed {"connection_id":125559,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:57:51] local.INFO: Acknowledgment sent {"connection_id":125559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:57:56] local.INFO: TCP Data received {"connection_id":126322,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:57:56] local.INFO: Processing buffer {"connection_id":126322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:57:56] local.INFO: IMEI packet received {"connection_id":126322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":126322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:57:57] local.INFO: TCP Data received {"connection_id":126322,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:57:57] local.INFO: Processing buffer {"connection_id":126322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:57:57] local.INFO: IMEI packet received {"connection_id":126322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":126322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:58:00] local.INFO: TCP Data received {"connection_id":126323,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:58:00] local.INFO: Processing buffer {"connection_id":126323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:58:00] local.INFO: IMEI packet received {"connection_id":126323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":126323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:58:01] local.INFO: TCP Data received {"connection_id":126322,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:58:01] local.INFO: Processing buffer {"connection_id":126322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:58:01] local.INFO: IMEI packet received {"connection_id":126322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":126322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:58:01] local.INFO: TCP Data received {"connection_id":126322,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d5cfb0012d809c4005a378b8000800ab2b..."} 
[2026-07-08 13:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d5cfb0012d809c4005a378b8000800ab2b..."} 
[2026-07-08 13:58:01] local.INFO: Processing buffer {"connection_id":126322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d5cfb0012d809c4005a378b8000800ab2b..."} 
[2026-07-08 13:58:01] local.INFO: Packet analysis {"connection_id":126322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d5"} 
[2026-07-08 13:58:01] local.INFO: Extracted packet for processing {"connection_id":126322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d5"} 
[2026-07-08 13:58:01] local.INFO: GPS Element Parsed {"raw_longitude":763403328,"raw_latitude":94599352,"longitude_deg":76.3403328,"latitude_deg":9.4599352,"altitude":8,"angle":171,"satellites":43,"speed":52,"hex_longitude":"2d809c40","hex_latitude":"05a378b8","is_valid_coordinates":true} 
[2026-07-08 13:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575788800001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342581769943384064,"note":"Value kept but may cause issues"} 
[2026-07-08 13:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9180798922407532544,"note":"Value kept but may cause issues"} 
[2026-07-08 13:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783499182000,"timestamp_ms":1783499182000,"timestamp_seconds":1783499182,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d5cfb0"} 
[2026-07-08 13:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 13:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:58:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575788800001,"66":27843,"17":206,"85":14336,"24":52,"16":342581769943384064,"45":-9180798922407532544},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-07-08 13:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575788800001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:58:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 13:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342581769943384064,"km_value":342581769943384.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9180798922407532544,"description":"Unknown IO ID 45"} 
[2026-07-08 13:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575788800001,"power":27843,"axis_x":206,"unknown_85":14336,"ignition":52,"odometer":null,"unknown_45":-9180798922407532544}} 
[2026-07-08 13:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":126322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:58:02] local.INFO: GPS data processed {"connection_id":126322,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:58:02] local.INFO: Acknowledgment sent {"connection_id":126322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:58:05] local.INFO: TCP Data received {"connection_id":126323,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:58:05] local.INFO: Processing buffer {"connection_id":126323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:58:05] local.INFO: IMEI packet received {"connection_id":126323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":126323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:58:07] local.INFO: TCP Data received {"connection_id":126323,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d3f320012d181dc00721ae68004800d220..."} 
[2026-07-08 13:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d3f320012d181dc00721ae68004800d220..."} 
[2026-07-08 13:58:07] local.INFO: Processing buffer {"connection_id":126323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d3f320012d181dc00721ae68004800d220..."} 
[2026-07-08 13:58:07] local.INFO: Packet analysis {"connection_id":126323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d3"} 
[2026-07-08 13:58:07] local.INFO: Extracted packet for processing {"connection_id":126323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d3"} 
[2026-07-08 13:58:07] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647848,"longitude_deg":75.65552,"latitude_deg":11.9647848,"altitude":72,"angle":210,"satellites":32,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-07-08 13:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575753984001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4769402268418048,"note":"Value kept but may cause issues"} 
[2026-07-08 13:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097261568,"note":"Value kept but may cause issues"} 
[2026-07-08 13:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783499060000,"timestamp_ms":1783499060000,"timestamp_seconds":1783499060,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d3f320"} 
[2026-07-08 13:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575753984001,"66":12645,"120":206,"28":31744,"24":0,"16":4769402268418048,"45":1737756168097261568},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575753984001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:58:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:58:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4769402268418048,"km_value":4769402268418.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097261568,"description":"Unknown IO ID 45"} 
[2026-07-08 13:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575753984001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097261568}} 
[2026-07-08 13:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":126323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:58:07] local.INFO: GPS data processed {"connection_id":126323,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:58:07] local.INFO: Acknowledgment sent {"connection_id":126323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:58:22] local.INFO: TCP Data received {"connection_id":125559,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d4a6d0012d0b130007029fc0000501341f..."} 
[2026-07-08 13:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d4a6d0012d0b130007029fc0000501341f..."} 
[2026-07-08 13:58:22] local.INFO: Processing buffer {"connection_id":125559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d4a6d0012d0b130007029fc0000501341f..."} 
[2026-07-08 13:58:22] local.INFO: Packet analysis {"connection_id":125559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d4"} 
[2026-07-08 13:58:22] local.INFO: Extracted packet for processing {"connection_id":125559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d4"} 
[2026-07-08 13:58:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":31,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575694080001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783499106000,"timestamp_ms":1783499106000,"timestamp_seconds":1783499106,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d4a6d0"} 
[2026-07-08 13:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:58:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:58:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:58:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125559,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125559,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575694080001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575694080001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:58:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575694080001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":125559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451453,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:58:22] local.INFO: GPS data processed {"connection_id":125559,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:58:22] local.INFO: Acknowledgment sent {"connection_id":125559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:58:33] local.INFO: TCP Data received {"connection_id":126322,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d5eb08012d80a20005a35608000700ab2a..."} 
[2026-07-08 13:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d5eb08012d80a20005a35608000700ab2a..."} 
[2026-07-08 13:58:33] local.INFO: Processing buffer {"connection_id":126322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d5eb08012d80a20005a35608000700ab2a..."} 
[2026-07-08 13:58:33] local.INFO: Packet analysis {"connection_id":126322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d5"} 
[2026-07-08 13:58:33] local.INFO: Extracted packet for processing {"connection_id":126322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d5"} 
[2026-07-08 13:58:33] local.INFO: GPS Element Parsed {"raw_longitude":763404800,"raw_latitude":94590472,"longitude_deg":76.34048,"latitude_deg":9.4590472,"altitude":7,"angle":171,"satellites":42,"speed":47,"hex_longitude":"2d80a200","hex_latitude":"05a35608","is_valid_coordinates":true} 
[2026-07-08 13:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575790592001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342582208030048256,"note":"Value kept but may cause issues"} 
[2026-07-08 13:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9179391547526301696,"note":"Value kept but may cause issues"} 
[2026-07-08 13:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783499189000,"timestamp_ms":1783499189000,"timestamp_seconds":1783499189,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d5eb08"} 
[2026-07-08 13:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 13:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575790592001,"66":27919,"17":206,"85":14336,"24":47,"16":342582208030048256,"45":-9179391547526301696},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-07-08 13:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575790592001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:58:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 13:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342582208030048256,"km_value":342582208030048.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9179391547526301696,"description":"Unknown IO ID 45"} 
[2026-07-08 13:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575790592001,"power":27919,"axis_x":206,"unknown_85":14336,"ignition":47,"odometer":null,"unknown_45":-9179391547526301696}} 
[2026-07-08 13:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":126322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:58:33] local.INFO: GPS data processed {"connection_id":126322,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:58:33] local.INFO: Acknowledgment sent {"connection_id":126322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:58:38] local.INFO: TCP Data received {"connection_id":126323,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d44528012d181dc00721ae68004800d222..."} 
[2026-07-08 13:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d44528012d181dc00721ae68004800d222..."} 
[2026-07-08 13:58:38] local.INFO: Processing buffer {"connection_id":126323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d44528012d181dc00721ae68004800d222..."} 
[2026-07-08 13:58:38] local.INFO: Packet analysis {"connection_id":126323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d4"} 
[2026-07-08 13:58:38] local.INFO: Extracted packet for processing {"connection_id":126323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d4"} 
[2026-07-08 13:58:38] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647848,"longitude_deg":75.65552,"latitude_deg":11.9647848,"altitude":72,"angle":210,"satellites":34,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-07-08 13:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575759360001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4769402268418048,"note":"Value kept but may cause issues"} 
[2026-07-08 13:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097261568,"note":"Value kept but may cause issues"} 
[2026-07-08 13:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783499081000,"timestamp_ms":1783499081000,"timestamp_seconds":1783499081,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d44528"} 
[2026-07-08 13:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 13:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575759360001,"66":12645,"120":206,"28":31744,"24":0,"16":4769402268418048,"45":1737756168097261568},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575759360001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:58:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:58:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4769402268418048,"km_value":4769402268418.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097261568,"description":"Unknown IO ID 45"} 
[2026-07-08 13:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575759360001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097261568}} 
[2026-07-08 13:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":126323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:58:38] local.INFO: GPS data processed {"connection_id":126323,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:58:38] local.INFO: Acknowledgment sent {"connection_id":126323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:58:46] local.INFO: TCP Data received {"connection_id":125441,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125441,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:58:46] local.INFO: Processing buffer {"connection_id":125441,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:58:46] local.INFO: IMEI packet received {"connection_id":125441,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":125441,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:58:51] local.INFO: TCP Data received {"connection_id":125441,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125441,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:58:51] local.INFO: Processing buffer {"connection_id":125441,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:58:51] local.INFO: IMEI packet received {"connection_id":125441,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":125441,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:58:52] local.INFO: TCP Data received {"connection_id":125441,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d4a6d0012d0b130007029fc0000501341f..."} 
[2026-07-08 13:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d4a6d0012d0b130007029fc0000501341f..."} 
[2026-07-08 13:58:52] local.INFO: Processing buffer {"connection_id":125441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d4a6d0012d0b130007029fc0000501341f..."} 
[2026-07-08 13:58:52] local.INFO: Packet analysis {"connection_id":125441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d4"} 
[2026-07-08 13:58:52] local.INFO: Extracted packet for processing {"connection_id":125441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d4"} 
[2026-07-08 13:58:52] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":31,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575694080001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783499106000,"timestamp_ms":1783499106000,"timestamp_seconds":1783499106,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d4a6d0"} 
[2026-07-08 13:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:58:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":125441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":125441,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":125441,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575694080001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575694080001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:58:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575694080001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":125441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451456,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:58:52] local.INFO: GPS data processed {"connection_id":125441,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:58:52] local.INFO: Acknowledgment sent {"connection_id":125441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:58:55] local.INFO: TCP Data received {"connection_id":125441,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d4a6d0012d0b130007029fc0000501341f..."} 
[2026-07-08 13:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d4a6d0012d0b130007029fc0000501341f..."} 
[2026-07-08 13:58:55] local.INFO: Processing buffer {"connection_id":125441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d4a6d0012d0b130007029fc0000501341f..."} 
[2026-07-08 13:58:55] local.INFO: Packet analysis {"connection_id":125441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d4"} 
[2026-07-08 13:58:55] local.INFO: Extracted packet for processing {"connection_id":125441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d4"} 
[2026-07-08 13:58:55] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":31,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575694080001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783499106000,"timestamp_ms":1783499106000,"timestamp_seconds":1783499106,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d4a6d0"} 
[2026-07-08 13:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:58:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:58:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":125441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":125441,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":125441,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575694080001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575694080001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:58:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575694080001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":125441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451457,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:58:55] local.INFO: GPS data processed {"connection_id":125441,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:58:55] local.INFO: Acknowledgment sent {"connection_id":125441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:58:55] local.INFO: TCP Data received {"connection_id":125442,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:58:55] local.INFO: Processing buffer {"connection_id":125442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:58:55] local.INFO: IMEI packet received {"connection_id":125442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":125442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:59:00] local.INFO: TCP Data received {"connection_id":126324,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:59:00] local.INFO: Processing buffer {"connection_id":126324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:59:00] local.INFO: IMEI packet received {"connection_id":126324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 13:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":126324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:59:00] local.INFO: TCP Data received {"connection_id":125442,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:59:00] local.INFO: Processing buffer {"connection_id":125442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:59:00] local.INFO: IMEI packet received {"connection_id":125442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 13:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":125442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:59:01] local.INFO: TCP Data received {"connection_id":125442,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d60e30012d80a70005a33160000800ac2b..."} 
[2026-07-08 13:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d60e30012d80a70005a33160000800ac2b..."} 
[2026-07-08 13:59:01] local.INFO: Processing buffer {"connection_id":125442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d60e30012d80a70005a33160000800ac2b..."} 
[2026-07-08 13:59:01] local.INFO: Packet analysis {"connection_id":125442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d6"} 
[2026-07-08 13:59:01] local.INFO: Extracted packet for processing {"connection_id":125442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d6"} 
[2026-07-08 13:59:01] local.INFO: GPS Element Parsed {"raw_longitude":763406080,"raw_latitude":94581088,"longitude_deg":76.340608,"latitude_deg":9.4581088,"altitude":8,"angle":172,"satellites":43,"speed":40,"hex_longitude":"2d80a700","hex_latitude":"05a33160","is_valid_coordinates":true} 
[2026-07-08 13: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-07-08 13:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575792384001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342582667591548928,"note":"Value kept but may cause issues"} 
[2026-07-08 13:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9177773066412488704,"note":"Value kept but may cause issues"} 
[2026-07-08 13:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783499198000,"timestamp_ms":1783499198000,"timestamp_seconds":1783499198,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d60e30"} 
[2026-07-08 13:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 13:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13: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-07-08 13:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575792384001,"66":27865,"81":206,"85":14336,"24":40,"16":342582667591548928,"45":-9177773066412488704},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-08 13:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575792384001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:59:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-08 13:59:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 13:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342582667591548928,"km_value":342582667591548.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9177773066412488704,"description":"Unknown IO ID 45"} 
[2026-07-08 13:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575792384001,"power":27865,"unknown_81":206,"unknown_85":14336,"ignition":40,"odometer":null,"unknown_45":-9177773066412488704}} 
[2026-07-08 13:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":125442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:59:01] local.INFO: GPS data processed {"connection_id":125442,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:59:01] local.INFO: Acknowledgment sent {"connection_id":125442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:59:06] local.INFO: TCP Data received {"connection_id":126324,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:59:06] local.INFO: Processing buffer {"connection_id":126324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 13:59:06] local.INFO: IMEI packet received {"connection_id":126324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 13:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":126324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:59:07] local.INFO: TCP Data received {"connection_id":126324,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d49730012d181dc00721ae68004800d223..."} 
[2026-07-08 13:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d49730012d181dc00721ae68004800d223..."} 
[2026-07-08 13:59:07] local.INFO: Processing buffer {"connection_id":126324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d49730012d181dc00721ae68004800d223..."} 
[2026-07-08 13:59:07] local.INFO: Packet analysis {"connection_id":126324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d4"} 
[2026-07-08 13:59:07] local.INFO: Extracted packet for processing {"connection_id":126324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d4"} 
[2026-07-08 13:59:07] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647848,"longitude_deg":75.65552,"latitude_deg":11.9647848,"altitude":72,"angle":210,"satellites":35,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-07-08 13:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575764736001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4769402268418048,"note":"Value kept but may cause issues"} 
[2026-07-08 13:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097261568,"note":"Value kept but may cause issues"} 
[2026-07-08 13:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783499102000,"timestamp_ms":1783499102000,"timestamp_seconds":1783499102,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d49730"} 
[2026-07-08 13:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 13:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:59:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575764736001,"66":12526,"120":206,"28":31744,"24":0,"16":4769402268418048,"45":1737756168097261568},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575764736001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:59:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:59:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4769402268418048,"km_value":4769402268418.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097261568,"description":"Unknown IO ID 45"} 
[2026-07-08 13:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575764736001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097261568}} 
[2026-07-08 13:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":126324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:59:07] local.INFO: GPS data processed {"connection_id":126324,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:59:07] local.INFO: Acknowledgment sent {"connection_id":126324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:59:26] local.INFO: TCP Data received {"connection_id":125441,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d4a6d0012d0b130007029fc0000501341f..."} 
[2026-07-08 13:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d4a6d0012d0b130007029fc0000501341f..."} 
[2026-07-08 13:59:26] local.INFO: Processing buffer {"connection_id":125441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d4a6d0012d0b130007029fc0000501341f..."} 
[2026-07-08 13:59:26] local.INFO: Packet analysis {"connection_id":125441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d4"} 
[2026-07-08 13:59:26] local.INFO: Extracted packet for processing {"connection_id":125441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d4"} 
[2026-07-08 13:59:26] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":31,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 13:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575694080001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783499106000,"timestamp_ms":1783499106000,"timestamp_seconds":1783499106,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d4a6d0"} 
[2026-07-08 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-07-08 13:59:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:59:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 13:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":125441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":125441,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":125441,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:59:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575694080001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575694080001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:59:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575694080001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":125441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451460,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:59:26] local.INFO: GPS data processed {"connection_id":125441,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:59:26] local.INFO: Acknowledgment sent {"connection_id":125441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:59:34] local.INFO: TCP Data received {"connection_id":125442,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d63540012d80ac4005a30f10000800aa2b..."} 
[2026-07-08 13:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d63540012d80ac4005a30f10000800aa2b..."} 
[2026-07-08 13:59:34] local.INFO: Processing buffer {"connection_id":125442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d63540012d80ac4005a30f10000800aa2b..."} 
[2026-07-08 13:59:34] local.INFO: Packet analysis {"connection_id":125442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d6"} 
[2026-07-08 13:59:34] local.INFO: Extracted packet for processing {"connection_id":125442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d6"} 
[2026-07-08 13:59:34] local.INFO: GPS Element Parsed {"raw_longitude":763407424,"raw_latitude":94572304,"longitude_deg":76.3407424,"latitude_deg":9.4572304,"altitude":8,"angle":170,"satellites":43,"speed":31,"hex_longitude":"2d80ac40","hex_latitude":"05a30f10","is_valid_coordinates":true} 
[2026-07-08 13:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575794688001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342583097088278528,"note":"Value kept but may cause issues"} 
[2026-07-08 13:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176365691531337728,"note":"Value kept but may cause issues"} 
[2026-07-08 13:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783499208000,"timestamp_ms":1783499208000,"timestamp_seconds":1783499208,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d63540"} 
[2026-07-08 13:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 13:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 13:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 13:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 13:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575794688001,"66":27919,"81":206,"85":14336,"24":31,"16":342583097088278528,"45":-9176365691531337728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-08 13:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 13:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 13:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575794688001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:59:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-08 13:59:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 13:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342583097088278528,"km_value":342583097088278.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176365691531337728,"description":"Unknown IO ID 45"} 
[2026-07-08 13:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575794688001,"power":27919,"unknown_81":206,"unknown_85":14336,"ignition":31,"odometer":null,"unknown_45":-9176365691531337728}} 
[2026-07-08 13:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":125442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:59:34] local.INFO: GPS data processed {"connection_id":125442,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:59:34] local.INFO: Acknowledgment sent {"connection_id":125442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:59:39] local.INFO: TCP Data received {"connection_id":126324,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d4e938012d181dc00721ae68004800d224..."} 
[2026-07-08 13:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d4e938012d181dc00721ae68004800d224..."} 
[2026-07-08 13:59:39] local.INFO: Processing buffer {"connection_id":126324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d4e938012d181dc00721ae68004800d224..."} 
[2026-07-08 13:59:39] local.INFO: Packet analysis {"connection_id":126324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d4"} 
[2026-07-08 13:59:39] local.INFO: Extracted packet for processing {"connection_id":126324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d4"} 
[2026-07-08 13:59:39] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647848,"longitude_deg":75.65552,"latitude_deg":11.9647848,"altitude":72,"angle":210,"satellites":36,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-07-08 13:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575770112001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4769402268418048,"note":"Value kept but may cause issues"} 
[2026-07-08 13:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097261568,"note":"Value kept but may cause issues"} 
[2026-07-08 13:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783499123000,"timestamp_ms":1783499123000,"timestamp_seconds":1783499123,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d4e938"} 
[2026-07-08 13:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 13:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 13:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 13:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 13:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 13:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575770112001,"66":12341,"120":206,"28":31744,"24":0,"16":4769402268418048,"45":1737756168097261568},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 13:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 13:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 13:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575770112001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:59:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 13:59:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 13:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4769402268418048,"km_value":4769402268418.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097261568,"description":"Unknown IO ID 45"} 
[2026-07-08 13:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575770112001,"power":12341,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097261568}} 
[2026-07-08 13:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":126324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:59:39] local.INFO: GPS data processed {"connection_id":126324,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:59:39] local.INFO: Acknowledgment sent {"connection_id":126324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:59:44] local.INFO: TCP Data received {"connection_id":126325,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126325,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:59:44] local.INFO: Processing buffer {"connection_id":126325,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:59:44] local.INFO: IMEI packet received {"connection_id":126325,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 13:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":126325,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 13:59:50] local.INFO: TCP Data received {"connection_id":126325,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126325,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:59:50] local.INFO: Processing buffer {"connection_id":126325,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 13:59:50] local.INFO: IMEI packet received {"connection_id":126325,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 13:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":126325,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 13:59:51] local.INFO: TCP Data received {"connection_id":126325,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d4a6d0012d0b130007029fc0000501341f..."} 
[2026-07-08 13:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d4a6d0012d0b130007029fc0000501341f..."} 
[2026-07-08 13:59:51] local.INFO: Processing buffer {"connection_id":126325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d4a6d0012d0b130007029fc0000501341f..."} 
[2026-07-08 13:59:51] local.INFO: Packet analysis {"connection_id":126325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d4"} 
[2026-07-08 13:59:51] local.INFO: Extracted packet for processing {"connection_id":126325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d4"} 
[2026-07-08 13:59:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":31,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 13:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 13:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575694080001,"note":"Value kept but may cause issues"} 
[2026-07-08 13:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 13:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 13:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 13:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783499106000,"timestamp_ms":1783499106000,"timestamp_seconds":1783499106,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d4a6d0"} 
[2026-07-08 13:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 13:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 13:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 13:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 13:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 13:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 13:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 13:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 13:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126325,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126325,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 13:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 13:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 13:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 13:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575694080001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 13:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 13:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 13:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575694080001,"description":"Unknown IO ID 0"} 
[2026-07-08 13:59:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 13:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 13:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 13:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575694080001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 13:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":126325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451463,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 13:59:51] local.INFO: GPS data processed {"connection_id":126325,"processed":1,"errors":0,"total":1} 
[2026-07-08 13:59:51] local.INFO: Acknowledgment sent {"connection_id":126325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 13:59:55] local.INFO: TCP Data received {"connection_id":127566,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:59:55] local.INFO: Processing buffer {"connection_id":127566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 13:59:55] local.INFO: IMEI packet received {"connection_id":127566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 13:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":127566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:00:00] local.INFO: TCP Data received {"connection_id":127566,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:00:00] local.INFO: Processing buffer {"connection_id":127566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:00:00] local.INFO: IMEI packet received {"connection_id":127566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":127566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:00:00] local.INFO: TCP Data received {"connection_id":126326,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:00:00] local.INFO: Processing buffer {"connection_id":126326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:00:00] local.INFO: IMEI packet received {"connection_id":126326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":126326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:00:00] local.INFO: TCP Data received {"connection_id":127566,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:00:00] local.INFO: Processing buffer {"connection_id":127566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:00:00] local.INFO: IMEI packet received {"connection_id":127566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":127566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:00:01] local.INFO: TCP Data received {"connection_id":127566,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d80230012d80f3c005a18ad8000600a82c..."} 
[2026-07-08 14:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d80230012d80f3c005a18ad8000600a82c..."} 
[2026-07-08 14:00:01] local.INFO: Processing buffer {"connection_id":127566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d80230012d80f3c005a18ad8000600a82c..."} 
[2026-07-08 14:00:01] local.INFO: Packet analysis {"connection_id":127566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d8"} 
[2026-07-08 14:00:01] local.INFO: Extracted packet for processing {"connection_id":127566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d8"} 
[2026-07-08 14:00:01] local.INFO: GPS Element Parsed {"raw_longitude":763425728,"raw_latitude":94472920,"longitude_deg":76.3425728,"latitude_deg":9.447292,"altitude":6,"angle":168,"satellites":44,"speed":38,"hex_longitude":"2d80f3c0","hex_latitude":"05a18ad8","is_valid_coordinates":true} 
[2026-07-08 14:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575824896001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342587997645963264,"note":"Value kept but may cause issues"} 
[2026-07-08 14:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9156521705698668544,"note":"Value kept but may cause issues"} 
[2026-07-08 14:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783499326000,"timestamp_ms":1783499326000,"timestamp_seconds":1783499326,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d80230"} 
[2026-07-08 14:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 14:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:00:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575824896001,"66":27908,"82":206,"85":14336,"24":38,"16":342587997645963264,"45":-9156521705698668544},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-08 14:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575824896001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:00:01] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-08 14:00:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 14:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342587997645963264,"km_value":342587997645963.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9156521705698668544,"description":"Unknown IO ID 45"} 
[2026-07-08 14:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575824896001,"power":27908,"unknown_82":206,"unknown_85":14336,"ignition":38,"odometer":null,"unknown_45":-9156521705698668544}} 
[2026-07-08 14:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":127566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:00:01] local.INFO: GPS data processed {"connection_id":127566,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:00:01] local.INFO: Acknowledgment sent {"connection_id":127566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:00:05] local.INFO: TCP Data received {"connection_id":126326,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:00:05] local.INFO: Processing buffer {"connection_id":126326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:00:05] local.INFO: IMEI packet received {"connection_id":126326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":126326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:00:06] local.INFO: TCP Data received {"connection_id":127566,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d82940012d80fb4005a16670000600a82d..."} 
[2026-07-08 14:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d82940012d80fb4005a16670000600a82d..."} 
[2026-07-08 14:00:06] local.INFO: Processing buffer {"connection_id":127566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d82940012d80fb4005a16670000600a82d..."} 
[2026-07-08 14:00:06] local.INFO: Packet analysis {"connection_id":127566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d8"} 
[2026-07-08 14:00:06] local.INFO: Extracted packet for processing {"connection_id":127566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d8"} 
[2026-07-08 14:00:06] local.INFO: GPS Element Parsed {"raw_longitude":763427648,"raw_latitude":94463600,"longitude_deg":76.3427648,"latitude_deg":9.44636,"altitude":6,"angle":168,"satellites":45,"speed":41,"hex_longitude":"2d80fb40","hex_latitude":"05a16670","is_valid_coordinates":true} 
[2026-07-08 14:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575827456001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342588457207463936,"note":"Value kept but may cause issues"} 
[2026-07-08 14:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154762487096485888,"note":"Value kept but may cause issues"} 
[2026-07-08 14:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783499336000,"timestamp_ms":1783499336000,"timestamp_seconds":1783499336,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d82940"} 
[2026-07-08 14:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 14:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575827456001,"66":27767,"82":206,"85":14336,"24":41,"16":342588457207463936,"45":-9154762487096485888},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-08 14:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575827456001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:00:06] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-08 14:00:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 14:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342588457207463936,"km_value":342588457207463.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154762487096485888,"description":"Unknown IO ID 45"} 
[2026-07-08 14:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575827456001,"power":27767,"unknown_82":206,"unknown_85":14336,"ignition":41,"odometer":null,"unknown_45":-9154762487096485888}} 
[2026-07-08 14:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":127566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:00:06] local.INFO: GPS data processed {"connection_id":127566,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:00:06] local.INFO: Acknowledgment sent {"connection_id":127566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:00:07] local.INFO: TCP Data received {"connection_id":126326,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d53b40012d181dc00721ae68004800d224..."} 
[2026-07-08 14:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d53b40012d181dc00721ae68004800d224..."} 
[2026-07-08 14:00:07] local.INFO: Processing buffer {"connection_id":126326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d53b40012d181dc00721ae68004800d224..."} 
[2026-07-08 14:00:07] local.INFO: Packet analysis {"connection_id":126326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d5"} 
[2026-07-08 14:00:07] local.INFO: Extracted packet for processing {"connection_id":126326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d5"} 
[2026-07-08 14:00:07] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647848,"longitude_deg":75.65552,"latitude_deg":11.9647848,"altitude":72,"angle":210,"satellites":36,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-07-08 14:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575775488001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4769402268418048,"note":"Value kept but may cause issues"} 
[2026-07-08 14:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097261568,"note":"Value kept but may cause issues"} 
[2026-07-08 14:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783499144000,"timestamp_ms":1783499144000,"timestamp_seconds":1783499144,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d53b40"} 
[2026-07-08 14:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 14:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575775488001,"66":12428,"120":206,"28":31744,"24":0,"16":4769402268418048,"45":1737756168097261568},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 14:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575775488001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:00:07] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 14:00:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4769402268418048,"km_value":4769402268418.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097261568,"description":"Unknown IO ID 45"} 
[2026-07-08 14:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575775488001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097261568}} 
[2026-07-08 14:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":126326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:00:07] local.INFO: GPS data processed {"connection_id":126326,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:00:07] local.INFO: Acknowledgment sent {"connection_id":126326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:00:22] local.INFO: TCP Data received {"connection_id":126325,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d93e98012d0b130007029fc00005013421..."} 
[2026-07-08 14:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d93e98012d0b130007029fc00005013421..."} 
[2026-07-08 14:00:22] local.INFO: Processing buffer {"connection_id":126325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d93e98012d0b130007029fc00005013421..."} 
[2026-07-08 14:00:22] local.INFO: Packet analysis {"connection_id":126325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d9"} 
[2026-07-08 14:00:22] local.INFO: Extracted packet for processing {"connection_id":126325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d9"} 
[2026-07-08 14:00:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575771136001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783499407000,"timestamp_ms":1783499407000,"timestamp_seconds":1783499407,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d93e98"} 
[2026-07-08 14:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126325,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126325,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575771136001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575771136001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:00:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575771136001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":126325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451467,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:00:22] local.INFO: GPS data processed {"connection_id":126325,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:00:22] local.INFO: Acknowledgment sent {"connection_id":126325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:00:37] local.INFO: TCP Data received {"connection_id":127566,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d84c68012d8102c005a14188000600a82d..."} 
[2026-07-08 14:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d84c68012d8102c005a14188000600a82d..."} 
[2026-07-08 14:00:37] local.INFO: Processing buffer {"connection_id":127566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d84c68012d8102c005a14188000600a82d..."} 
[2026-07-08 14:00:37] local.INFO: Packet analysis {"connection_id":127566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d8"} 
[2026-07-08 14:00:37] local.INFO: Extracted packet for processing {"connection_id":127566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d8"} 
[2026-07-08 14:00:37] local.INFO: GPS Element Parsed {"raw_longitude":763429568,"raw_latitude":94454152,"longitude_deg":76.3429568,"latitude_deg":9.4454152,"altitude":6,"angle":168,"satellites":45,"speed":44,"hex_longitude":"2d8102c0","hex_latitude":"05a14188","is_valid_coordinates":true} 
[2026-07-08 14:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575830016001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342588925358899200,"note":"Value kept but may cause issues"} 
[2026-07-08 14:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9152651424773541888,"note":"Value kept but may cause issues"} 
[2026-07-08 14:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783499345000,"timestamp_ms":1783499345000,"timestamp_seconds":1783499345,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d84c68"} 
[2026-07-08 14:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 14:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575830016001,"66":27800,"82":206,"85":14336,"24":44,"16":342588925358899200,"45":-9152651424773541888},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-08 14:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575830016001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:00:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-08 14:00:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 14:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342588925358899200,"km_value":342588925358899.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9152651424773541888,"description":"Unknown IO ID 45"} 
[2026-07-08 14:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575830016001,"power":27800,"unknown_82":206,"unknown_85":14336,"ignition":44,"odometer":null,"unknown_45":-9152651424773541888}} 
[2026-07-08 14:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":127566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:00:37] local.INFO: GPS data processed {"connection_id":127566,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:00:37] local.INFO: Acknowledgment sent {"connection_id":127566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:00:39] local.INFO: TCP Data received {"connection_id":126326,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d58d48012d181dc00721ae68004800d224..."} 
[2026-07-08 14:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d58d48012d181dc00721ae68004800d224..."} 
[2026-07-08 14:00:39] local.INFO: Processing buffer {"connection_id":126326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d58d48012d181dc00721ae68004800d224..."} 
[2026-07-08 14:00:39] local.INFO: Packet analysis {"connection_id":126326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d5"} 
[2026-07-08 14:00:39] local.INFO: Extracted packet for processing {"connection_id":126326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d5"} 
[2026-07-08 14:00:39] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647848,"longitude_deg":75.65552,"latitude_deg":11.9647848,"altitude":72,"angle":210,"satellites":36,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-07-08 14:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575780864001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4769402268418048,"note":"Value kept but may cause issues"} 
[2026-07-08 14:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097261568,"note":"Value kept but may cause issues"} 
[2026-07-08 14:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783499165000,"timestamp_ms":1783499165000,"timestamp_seconds":1783499165,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d58d48"} 
[2026-07-08 14:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-08 14:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:00:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575780864001,"66":12461,"120":206,"28":31744,"24":0,"16":4769402268418048,"45":1737756168097261568},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 14:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575780864001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:00:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 14:00:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4769402268418048,"km_value":4769402268418.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097261568,"description":"Unknown IO ID 45"} 
[2026-07-08 14:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575780864001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097261568}} 
[2026-07-08 14:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":126326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:00:39] local.INFO: GPS data processed {"connection_id":126326,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:00:39] local.INFO: Acknowledgment sent {"connection_id":126326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:00:47] local.INFO: TCP Data received {"connection_id":125561,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125561,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:00:47] local.INFO: Processing buffer {"connection_id":125561,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:00:47] local.INFO: IMEI packet received {"connection_id":125561,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":125561,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:00:50] local.INFO: TCP Data received {"connection_id":125561,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125561,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:00:50] local.INFO: Processing buffer {"connection_id":125561,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:00:50] local.INFO: IMEI packet received {"connection_id":125561,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":125561,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:00:53] local.INFO: TCP Data received {"connection_id":125561,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d93e98012d0b130007029fc00005013421..."} 
[2026-07-08 14:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d93e98012d0b130007029fc00005013421..."} 
[2026-07-08 14:00:53] local.INFO: Processing buffer {"connection_id":125561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d93e98012d0b130007029fc00005013421..."} 
[2026-07-08 14:00:53] local.INFO: Packet analysis {"connection_id":125561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d9"} 
[2026-07-08 14:00:53] local.INFO: Extracted packet for processing {"connection_id":125561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d9"} 
[2026-07-08 14:00:53] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 14:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575771136001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783499407000,"timestamp_ms":1783499407000,"timestamp_seconds":1783499407,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d93e98"} 
[2026-07-08 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-07-08 14:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:00: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-07-08 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-07-08 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-07-08 14:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125561,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125561,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575771136001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575771136001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:00:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575771136001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":125561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451470,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:00:54] local.INFO: GPS data processed {"connection_id":125561,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:00:54] local.INFO: Acknowledgment sent {"connection_id":125561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:01:00] local.INFO: TCP Data received {"connection_id":126328,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:01:00] local.INFO: Processing buffer {"connection_id":126328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:01:00] local.INFO: IMEI packet received {"connection_id":126328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":126328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:01:01] local.INFO: TCP Data received {"connection_id":126328,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:01:01] local.INFO: Processing buffer {"connection_id":126328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:01:01] local.INFO: IMEI packet received {"connection_id":126328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":126328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:01:01] local.INFO: TCP Data received {"connection_id":125562,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:01:01] local.INFO: Processing buffer {"connection_id":125562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:01:01] local.INFO: IMEI packet received {"connection_id":125562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":125562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:01:02] local.INFO: TCP Data received {"connection_id":125562,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:01:02] local.INFO: Processing buffer {"connection_id":125562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:01:02] local.INFO: IMEI packet received {"connection_id":125562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":125562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:01:02] local.INFO: TCP Data received {"connection_id":125562,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d86ba8012d810a4005a11ee0000600a82c..."} 
[2026-07-08 14:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d86ba8012d810a4005a11ee0000600a82c..."} 
[2026-07-08 14:01:02] local.INFO: Processing buffer {"connection_id":125562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d86ba8012d810a4005a11ee0000600a82c..."} 
[2026-07-08 14:01:02] local.INFO: Packet analysis {"connection_id":125562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d8"} 
[2026-07-08 14:01:02] local.INFO: Extracted packet for processing {"connection_id":125562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d8"} 
[2026-07-08 14:01:02] local.INFO: GPS Element Parsed {"raw_longitude":763431488,"raw_latitude":94445280,"longitude_deg":76.3431488,"latitude_deg":9.444528,"altitude":6,"angle":168,"satellites":44,"speed":42,"hex_longitude":"2d810a40","hex_latitude":"05a11ee0","is_valid_coordinates":true} 
[2026-07-08 14:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575832320001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342589363445563392,"note":"Value kept but may cause issues"} 
[2026-07-08 14:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9150540362450630656,"note":"Value kept but may cause issues"} 
[2026-07-08 14:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783499353000,"timestamp_ms":1783499353000,"timestamp_seconds":1783499353,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d86ba8"} 
[2026-07-08 14:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 14:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:01:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575832320001,"66":27908,"177":206,"85":14336,"24":42,"16":342589363445563392,"45":-9150540362450630656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-07-08 14:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575832320001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:01:02] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-08 14:01:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 14:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342589363445563392,"km_value":342589363445563.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9150540362450630656,"description":"Unknown IO ID 45"} 
[2026-07-08 14:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575832320001,"power":27908,"unknown_177":206,"unknown_85":14336,"ignition":42,"odometer":null,"unknown_45":-9150540362450630656}} 
[2026-07-08 14:01:02] local.INFO: TCP Data received {"connection_id":126328,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:01:02] local.INFO: Processing buffer {"connection_id":126328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:01:02] local.INFO: IMEI packet received {"connection_id":126328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":126328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":125562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:01:02] local.INFO: GPS data processed {"connection_id":125562,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:01:02] local.INFO: Acknowledgment sent {"connection_id":125562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:01:03] local.INFO: TCP Data received {"connection_id":126328,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:01:03] local.INFO: Processing buffer {"connection_id":126328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:01:03] local.INFO: IMEI packet received {"connection_id":126328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":126328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:01:06] local.INFO: TCP Data received {"connection_id":125562,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d88ed0012d81114005a0fb78000600a92c..."} 
[2026-07-08 14:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d88ed0012d81114005a0fb78000600a92c..."} 
[2026-07-08 14:01:06] local.INFO: Processing buffer {"connection_id":125562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d88ed0012d81114005a0fb78000600a92c..."} 
[2026-07-08 14:01:06] local.INFO: Packet analysis {"connection_id":125562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d8"} 
[2026-07-08 14:01:06] local.INFO: Extracted packet for processing {"connection_id":125562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d8"} 
[2026-07-08 14:01:06] local.INFO: GPS Element Parsed {"raw_longitude":763433280,"raw_latitude":94436216,"longitude_deg":76.343328,"latitude_deg":9.4436216,"altitude":6,"angle":169,"satellites":44,"speed":39,"hex_longitude":"2d811140","hex_latitude":"05a0fb78","is_valid_coordinates":true} 
[2026-07-08 14:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575834368001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342589810122162176,"note":"Value kept but may cause issues"} 
[2026-07-08 14:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9148429300127571968,"note":"Value kept but may cause issues"} 
[2026-07-08 14:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783499362000,"timestamp_ms":1783499362000,"timestamp_seconds":1783499362,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d88ed0"} 
[2026-07-08 14:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 14:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575834368001,"66":27800,"177":206,"85":14336,"24":39,"16":342589810122162176,"45":-9148429300127571968},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-07-08 14:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575834368001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:01:06] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-08 14:01:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 14:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342589810122162176,"km_value":342589810122162.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9148429300127571968,"description":"Unknown IO ID 45"} 
[2026-07-08 14:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575834368001,"power":27800,"unknown_177":206,"unknown_85":14336,"ignition":39,"odometer":null,"unknown_45":-9148429300127571968}} 
[2026-07-08 14:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":125562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:01:06] local.INFO: GPS data processed {"connection_id":125562,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:01:06] local.INFO: Acknowledgment sent {"connection_id":125562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:01:25] local.INFO: TCP Data received {"connection_id":125561,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d93e98012d0b130007029fc00005013421..."} 
[2026-07-08 14:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d93e98012d0b130007029fc00005013421..."} 
[2026-07-08 14:01:25] local.INFO: Processing buffer {"connection_id":125561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d93e98012d0b130007029fc00005013421..."} 
[2026-07-08 14:01:25] local.INFO: Packet analysis {"connection_id":125561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d9"} 
[2026-07-08 14:01:25] local.INFO: Extracted packet for processing {"connection_id":125561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d9"} 
[2026-07-08 14:01:25] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 14:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575771136001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:01:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783499407000,"timestamp_ms":1783499407000,"timestamp_seconds":1783499407,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d93e98"} 
[2026-07-08 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-07-08 14:01:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:01:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:01:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 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-07-08 14:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":125561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":125561,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":125561,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:01:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575771136001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575771136001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:01:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575771136001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":125561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451473,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:01:25] local.INFO: GPS data processed {"connection_id":125561,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:01:25] local.INFO: Acknowledgment sent {"connection_id":125561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:01:38] local.INFO: TCP Data received {"connection_id":125562,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d8b5e0012d8118c005a0d788000600a82c..."} 
[2026-07-08 14:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d8b5e0012d8118c005a0d788000600a82c..."} 
[2026-07-08 14:01:38] local.INFO: Processing buffer {"connection_id":125562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d8b5e0012d8118c005a0d788000600a82c..."} 
[2026-07-08 14:01:38] local.INFO: Packet analysis {"connection_id":125562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d8"} 
[2026-07-08 14:01:38] local.INFO: Extracted packet for processing {"connection_id":125562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d8"} 
[2026-07-08 14:01:38] local.INFO: GPS Element Parsed {"raw_longitude":763435200,"raw_latitude":94427016,"longitude_deg":76.34352,"latitude_deg":9.4427016,"altitude":6,"angle":168,"satellites":44,"speed":36,"hex_longitude":"2d8118c0","hex_latitude":"05a0d788","is_valid_coordinates":true} 
[2026-07-08 14:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575836672001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342590269683662848,"note":"Value kept but may cause issues"} 
[2026-07-08 14:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146458975292917760,"note":"Value kept but may cause issues"} 
[2026-07-08 14:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783499372000,"timestamp_ms":1783499372000,"timestamp_seconds":1783499372,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d8b5e0"} 
[2026-07-08 14:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 14:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575836672001,"66":27887,"177":206,"85":14336,"24":36,"16":342590269683662848,"45":-9146458975292917760},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-07-08 14:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575836672001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:01:38] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-08 14:01:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 14:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342590269683662848,"km_value":342590269683662.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146458975292917760,"description":"Unknown IO ID 45"} 
[2026-07-08 14:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575836672001,"power":27887,"unknown_177":206,"unknown_85":14336,"ignition":36,"odometer":null,"unknown_45":-9146458975292917760}} 
[2026-07-08 14:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":125562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:01:38] local.INFO: GPS data processed {"connection_id":125562,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:01:38] local.INFO: Acknowledgment sent {"connection_id":125562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:01:50] local.INFO: TCP Data received {"connection_id":126329,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126329,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:01:50] local.INFO: Processing buffer {"connection_id":126329,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:01:50] local.INFO: IMEI packet received {"connection_id":126329,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":126329,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:01:55] local.INFO: TCP Data received {"connection_id":126329,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126329,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:01:55] local.INFO: Processing buffer {"connection_id":126329,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:01:55] local.INFO: IMEI packet received {"connection_id":126329,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":126329,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:01:55] local.INFO: TCP Data received {"connection_id":125443,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:01:55] local.INFO: Processing buffer {"connection_id":125443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:01:55] local.INFO: IMEI packet received {"connection_id":125443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":125443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:01:56] local.INFO: TCP Data received {"connection_id":126329,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d93e98012d0b130007029fc00005013421..."} 
[2026-07-08 14:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d93e98012d0b130007029fc00005013421..."} 
[2026-07-08 14:01:56] local.INFO: Processing buffer {"connection_id":126329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d93e98012d0b130007029fc00005013421..."} 
[2026-07-08 14:01:56] local.INFO: Packet analysis {"connection_id":126329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d9"} 
[2026-07-08 14:01:56] local.INFO: Extracted packet for processing {"connection_id":126329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d9"} 
[2026-07-08 14:01:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575771136001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783499407000,"timestamp_ms":1783499407000,"timestamp_seconds":1783499407,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d93e98"} 
[2026-07-08 14:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:01:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:01:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":126329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":126329,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":126329,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575771136001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575771136001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:01:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575771136001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":126329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451475,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:01:56] local.INFO: GPS data processed {"connection_id":126329,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:01:56] local.INFO: Acknowledgment sent {"connection_id":126329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:02:00] local.INFO: TCP Data received {"connection_id":126329,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d93e98012d0b130007029fc00005013421..."} 
[2026-07-08 14:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d93e98012d0b130007029fc00005013421..."} 
[2026-07-08 14:02:00] local.INFO: Processing buffer {"connection_id":126329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d93e98012d0b130007029fc00005013421..."} 
[2026-07-08 14:02:00] local.INFO: Packet analysis {"connection_id":126329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d9"} 
[2026-07-08 14:02:00] local.INFO: Extracted packet for processing {"connection_id":126329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d9"} 
[2026-07-08 14:02:00] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575771136001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:02:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783499407000,"timestamp_ms":1783499407000,"timestamp_seconds":1783499407,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d93e98"} 
[2026-07-08 14:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:02:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:02:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126329,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126329,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:02:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575771136001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575771136001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:02:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575771136001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":126329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451476,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:02:00] local.INFO: GPS data processed {"connection_id":126329,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:02:00] local.INFO: Acknowledgment sent {"connection_id":126329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:02:01] local.INFO: TCP Data received {"connection_id":125443,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:02:01] local.INFO: Processing buffer {"connection_id":125443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:02:01] local.INFO: IMEI packet received {"connection_id":125443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":125443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:02:02] local.INFO: TCP Data received {"connection_id":125443,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d8e4c0012d8120c005a0b2c0000700a72d..."} 
[2026-07-08 14:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d8e4c0012d8120c005a0b2c0000700a72d..."} 
[2026-07-08 14:02:02] local.INFO: Processing buffer {"connection_id":125443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d8e4c0012d8120c005a0b2c0000700a72d..."} 
[2026-07-08 14:02:02] local.INFO: Packet analysis {"connection_id":125443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d8"} 
[2026-07-08 14:02:02] local.INFO: Extracted packet for processing {"connection_id":125443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d8"} 
[2026-07-08 14:02:02] local.INFO: GPS Element Parsed {"raw_longitude":763437248,"raw_latitude":94417600,"longitude_deg":76.3437248,"latitude_deg":9.44176,"altitude":7,"angle":167,"satellites":45,"speed":35,"hex_longitude":"2d8120c0","hex_latitude":"05a0b2c0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575839232001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342590733540130816,"note":"Value kept but may cause issues"} 
[2026-07-08 14:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9144347912969943040,"note":"Value kept but may cause issues"} 
[2026-07-08 14:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783499384000,"timestamp_ms":1783499384000,"timestamp_seconds":1783499384,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d8e4c0"} 
[2026-07-08 14:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:02:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-08 14:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575839232001,"66":27843,"177":206,"85":14336,"24":35,"16":342590733540130816,"45":-9144347912969943040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-07-08 14:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575839232001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:02:02] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-08 14:02:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 14:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342590733540130816,"km_value":342590733540130.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9144347912969943040,"description":"Unknown IO ID 45"} 
[2026-07-08 14:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575839232001,"power":27843,"unknown_177":206,"unknown_85":14336,"ignition":35,"odometer":null,"unknown_45":-9144347912969943040}} 
[2026-07-08 14:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":125443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:02:02] local.INFO: GPS data processed {"connection_id":125443,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:02:02] local.INFO: Acknowledgment sent {"connection_id":125443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:02:16] local.INFO: TCP Data received {"connection_id":127567,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127567,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:02:16] local.INFO: Processing buffer {"connection_id":127567,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:02:16] local.INFO: IMEI packet received {"connection_id":127567,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 14:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":127567,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:02:33] local.INFO: TCP Data received {"connection_id":125443,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d90bd0012d81290005a08e08000800a62d..."} 
[2026-07-08 14:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d90bd0012d81290005a08e08000800a62d..."} 
[2026-07-08 14:02:33] local.INFO: Processing buffer {"connection_id":125443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d90bd0012d81290005a08e08000800a62d..."} 
[2026-07-08 14:02:33] local.INFO: Packet analysis {"connection_id":125443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d9"} 
[2026-07-08 14:02:33] local.INFO: Extracted packet for processing {"connection_id":125443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d9"} 
[2026-07-08 14:02:33] local.INFO: GPS Element Parsed {"raw_longitude":763439360,"raw_latitude":94408200,"longitude_deg":76.343936,"latitude_deg":9.44082,"altitude":8,"angle":166,"satellites":45,"speed":31,"hex_longitude":"2d812900","hex_latitude":"05a08e08","is_valid_coordinates":true} 
[2026-07-08 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-07-08 14:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575842304001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342591201691566080,"note":"Value kept but may cause issues"} 
[2026-07-08 14:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9142096113158668288,"note":"Value kept but may cause issues"} 
[2026-07-08 14:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783499394000,"timestamp_ms":1783499394000,"timestamp_seconds":1783499394,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d90bd0"} 
[2026-07-08 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-07-08 14:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 14:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 14:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575842304001,"66":27876,"177":206,"85":14336,"24":31,"16":342591201691566080,"45":-9142096113158668288},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-07-08 14:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575842304001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:02:33] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-08 14:02:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 14:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342591201691566080,"km_value":342591201691566.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9142096113158668288,"description":"Unknown IO ID 45"} 
[2026-07-08 14:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575842304001,"power":27876,"unknown_177":206,"unknown_85":14336,"ignition":31,"odometer":null,"unknown_45":-9142096113158668288}} 
[2026-07-08 14:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":125443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:02:33] local.INFO: GPS data processed {"connection_id":125443,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:02:33] local.INFO: Acknowledgment sent {"connection_id":125443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:02:45] local.INFO: TCP Data received {"connection_id":127569,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127569,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:02:45] local.INFO: Processing buffer {"connection_id":127569,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:02:45] local.INFO: IMEI packet received {"connection_id":127569,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":127569,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:02:49] local.INFO: TCP Data received {"connection_id":127569,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127569,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:02:49] local.INFO: Processing buffer {"connection_id":127569,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:02:49] local.INFO: IMEI packet received {"connection_id":127569,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":127569,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:02:50] local.INFO: TCP Data received {"connection_id":127569,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d93e98012d0b130007029fc00005013421..."} 
[2026-07-08 14:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d93e98012d0b130007029fc00005013421..."} 
[2026-07-08 14:02:50] local.INFO: Processing buffer {"connection_id":127569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d93e98012d0b130007029fc00005013421..."} 
[2026-07-08 14:02:50] local.INFO: Packet analysis {"connection_id":127569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d9"} 
[2026-07-08 14:02:50] local.INFO: Extracted packet for processing {"connection_id":127569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d9"} 
[2026-07-08 14:02:50] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575771136001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:02:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783499407000,"timestamp_ms":1783499407000,"timestamp_seconds":1783499407,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d93e98"} 
[2026-07-08 14:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:02:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:02:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:02:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":127569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":127569,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":127569,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:02:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575771136001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575771136001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:02:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:02:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575771136001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":127569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451479,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:02:51] local.INFO: GPS data processed {"connection_id":127569,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:02:51] local.INFO: Acknowledgment sent {"connection_id":127569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:02:56] local.INFO: TCP Data received {"connection_id":127570,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127570,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:02:56] local.INFO: Processing buffer {"connection_id":127570,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:02:56] local.INFO: IMEI packet received {"connection_id":127570,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 14:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":127570,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:03:01] local.INFO: TCP Data received {"connection_id":127571,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:03:01] local.INFO: Processing buffer {"connection_id":127571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:03:01] local.INFO: IMEI packet received {"connection_id":127571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":127571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:03:03] local.INFO: TCP Data received {"connection_id":127571,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:03:03] local.INFO: Processing buffer {"connection_id":127571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:03:03] local.INFO: IMEI packet received {"connection_id":127571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":127571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:03:04] local.INFO: TCP Data received {"connection_id":127571,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40dac150012d817900059f04a8000700a82a..."} 
[2026-07-08 14:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40dac150012d817900059f04a8000700a82a..."} 
[2026-07-08 14:03:04] local.INFO: Processing buffer {"connection_id":127571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40dac150012d817900059f04a8000700a82a..."} 
[2026-07-08 14:03:04] local.INFO: Packet analysis {"connection_id":127571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40da"} 
[2026-07-08 14:03:04] local.INFO: Extracted packet for processing {"connection_id":127571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40da"} 
[2026-07-08 14:03:04] local.INFO: GPS Element Parsed {"raw_longitude":763459840,"raw_latitude":94307496,"longitude_deg":76.345984,"latitude_deg":9.4307496,"altitude":7,"angle":168,"satellites":42,"speed":36,"hex_longitude":"2d817900","hex_latitude":"059f04a8","is_valid_coordinates":true} 
[2026-07-08 14:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575870976001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342596183853629440,"note":"Value kept but may cause issues"} 
[2026-07-08 14:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9119367008815075328,"note":"Value kept but may cause issues"} 
[2026-07-08 14:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783499506000,"timestamp_ms":1783499506000,"timestamp_seconds":1783499506,"priority":1,"record_length":96,"hex_timestamp":"0000019f40dac150"} 
[2026-07-08 14:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-08 14:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":127571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":127571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":127571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575870976001,"66":27876,"178":206,"85":14336,"24":36,"16":342596183853629440,"45":-9119367008815075328},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,45]} 
[2026-07-08 14:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575870976001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:03:04] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-08 14:03:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 14:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342596183853629440,"km_value":342596183853629.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9119367008815075328,"description":"Unknown IO ID 45"} 
[2026-07-08 14:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575870976001,"power":27876,"unknown_178":206,"unknown_85":14336,"ignition":36,"odometer":null,"unknown_45":-9119367008815075328}} 
[2026-07-08 14:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":127571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:03:04] local.INFO: GPS data processed {"connection_id":127571,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:03:04] local.INFO: Acknowledgment sent {"connection_id":127571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:03:06] local.INFO: TCP Data received {"connection_id":127571,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40dae860012d818080059ee0b0000600a92c..."} 
[2026-07-08 14:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40dae860012d818080059ee0b0000600a92c..."} 
[2026-07-08 14:03:06] local.INFO: Processing buffer {"connection_id":127571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40dae860012d818080059ee0b0000600a92c..."} 
[2026-07-08 14:03:06] local.INFO: Packet analysis {"connection_id":127571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40da"} 
[2026-07-08 14:03:06] local.INFO: Extracted packet for processing {"connection_id":127571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40da"} 
[2026-07-08 14:03:06] local.INFO: GPS Element Parsed {"raw_longitude":763461760,"raw_latitude":94298288,"longitude_deg":76.346176,"latitude_deg":9.4298288,"altitude":6,"angle":169,"satellites":44,"speed":31,"hex_longitude":"2d818080","hex_latitude":"059ee0b0","is_valid_coordinates":true} 
[2026-07-08 14:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575873536001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342596639120162816,"note":"Value kept but may cause issues"} 
[2026-07-08 14:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9117255946492139520,"note":"Value kept but may cause issues"} 
[2026-07-08 14:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783499516000,"timestamp_ms":1783499516000,"timestamp_seconds":1783499516,"priority":1,"record_length":96,"hex_timestamp":"0000019f40dae860"} 
[2026-07-08 14:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 14:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575873536001,"66":27800,"178":206,"85":14336,"24":31,"16":342596639120162816,"45":-9117255946492139520},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,45]} 
[2026-07-08 14:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575873536001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:03:06] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-08 14:03:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 14:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342596639120162816,"km_value":342596639120162.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9117255946492139520,"description":"Unknown IO ID 45"} 
[2026-07-08 14:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575873536001,"power":27800,"unknown_178":206,"unknown_85":14336,"ignition":31,"odometer":null,"unknown_45":-9117255946492139520}} 
[2026-07-08 14:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":127571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:03:06] local.INFO: GPS data processed {"connection_id":127571,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:03:06] local.INFO: Acknowledgment sent {"connection_id":127571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:03:22] local.INFO: TCP Data received {"connection_id":127569,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d93e98012d0b130007029fc00005013421..."} 
[2026-07-08 14:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d93e98012d0b130007029fc00005013421..."} 
[2026-07-08 14:03:22] local.INFO: Processing buffer {"connection_id":127569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d93e98012d0b130007029fc00005013421..."} 
[2026-07-08 14:03:22] local.INFO: Packet analysis {"connection_id":127569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d9"} 
[2026-07-08 14:03:22] local.INFO: Extracted packet for processing {"connection_id":127569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d9"} 
[2026-07-08 14:03:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575771136001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783499407000,"timestamp_ms":1783499407000,"timestamp_seconds":1783499407,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d93e98"} 
[2026-07-08 14:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:03:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":127569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":127569,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":127569,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575771136001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575771136001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:03:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575771136001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":127569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451482,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:03:22] local.INFO: GPS data processed {"connection_id":127569,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:03:22] local.INFO: Acknowledgment sent {"connection_id":127569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:03:37] local.INFO: TCP Data received {"connection_id":127571,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40db1740012d818800059ebb88000700a92d..."} 
[2026-07-08 14:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40db1740012d818800059ebb88000700a92d..."} 
[2026-07-08 14:03:37] local.INFO: Processing buffer {"connection_id":127571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40db1740012d818800059ebb88000700a92d..."} 
[2026-07-08 14:03:37] local.INFO: Packet analysis {"connection_id":127571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40db"} 
[2026-07-08 14:03:37] local.INFO: Extracted packet for processing {"connection_id":127571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40db"} 
[2026-07-08 14:03:37] local.INFO: GPS Element Parsed {"raw_longitude":763463680,"raw_latitude":94288776,"longitude_deg":76.346368,"latitude_deg":9.4288776,"altitude":7,"angle":169,"satellites":45,"speed":37,"hex_longitude":"2d818800","hex_latitude":"059ebb88","is_valid_coordinates":true} 
[2026-07-08 14:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575876096001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342597107271598080,"note":"Value kept but may cause issues"} 
[2026-07-08 14:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9115144884169166848,"note":"Value kept but may cause issues"} 
[2026-07-08 14:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783499528000,"timestamp_ms":1783499528000,"timestamp_seconds":1783499528,"priority":1,"record_length":96,"hex_timestamp":"0000019f40db1740"} 
[2026-07-08 14:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 14:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575876096001,"66":27865,"178":206,"85":14336,"24":37,"16":342597107271598080,"45":-9115144884169166848},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,45]} 
[2026-07-08 14:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575876096001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:03:37] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-08 14:03:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 14:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342597107271598080,"km_value":342597107271598.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9115144884169166848,"description":"Unknown IO ID 45"} 
[2026-07-08 14:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575876096001,"power":27865,"unknown_178":206,"unknown_85":14336,"ignition":37,"odometer":null,"unknown_45":-9115144884169166848}} 
[2026-07-08 14:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":127571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:03:37] local.INFO: GPS data processed {"connection_id":127571,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:03:37] local.INFO: Acknowledgment sent {"connection_id":127571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:03:45] local.INFO: TCP Data received {"connection_id":127572,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127572,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:03:45] local.INFO: Processing buffer {"connection_id":127572,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:03:45] local.INFO: IMEI packet received {"connection_id":127572,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":127572,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:03:49] local.INFO: TCP Data received {"connection_id":127572,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127572,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:03:49] local.INFO: Processing buffer {"connection_id":127572,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:03:49] local.INFO: IMEI packet received {"connection_id":127572,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":127572,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:03:50] local.INFO: TCP Data received {"connection_id":127572,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d93e98012d0b130007029fc00005013421..."} 
[2026-07-08 14:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d93e98012d0b130007029fc00005013421..."} 
[2026-07-08 14:03:50] local.INFO: Processing buffer {"connection_id":127572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d93e98012d0b130007029fc00005013421..."} 
[2026-07-08 14:03:50] local.INFO: Packet analysis {"connection_id":127572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d9"} 
[2026-07-08 14:03:50] local.INFO: Extracted packet for processing {"connection_id":127572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d9"} 
[2026-07-08 14:03:50] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575771136001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:03:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783499407000,"timestamp_ms":1783499407000,"timestamp_seconds":1783499407,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d93e98"} 
[2026-07-08 14:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:03:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:03:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":127572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":127572,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":127572,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:03:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575771136001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575771136001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:03:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:03:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575771136001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":127572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451484,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:03:51] local.INFO: GPS data processed {"connection_id":127572,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:03:51] local.INFO: Acknowledgment sent {"connection_id":127572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:03:56] local.INFO: TCP Data received {"connection_id":125564,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:03:56] local.INFO: Processing buffer {"connection_id":125564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:03:56] local.INFO: IMEI packet received {"connection_id":125564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":125564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:03:59] local.INFO: TCP Data received {"connection_id":125564,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:03:59] local.INFO: Processing buffer {"connection_id":125564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:03:59] local.INFO: IMEI packet received {"connection_id":125564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":125564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:03:59] local.INFO: TCP Data received {"connection_id":125564,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40db3a68012d818f80059e9760000800a92d..."} 
[2026-07-08 14:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40db3a68012d818f80059e9760000800a92d..."} 
[2026-07-08 14:03:59] local.INFO: Processing buffer {"connection_id":125564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40db3a68012d818f80059e9760000800a92d..."} 
[2026-07-08 14:03:59] local.INFO: Packet analysis {"connection_id":125564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40db"} 
[2026-07-08 14:03:59] local.INFO: Extracted packet for processing {"connection_id":125564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40db"} 
[2026-07-08 14:03:59] local.INFO: GPS Element Parsed {"raw_longitude":763465600,"raw_latitude":94279520,"longitude_deg":76.34656,"latitude_deg":9.427952,"altitude":8,"angle":169,"satellites":45,"speed":43,"hex_longitude":"2d818f80","hex_latitude":"059e9760","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575879168001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342597566833098752,"note":"Value kept but may cause issues"} 
[2026-07-08 14:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9113033821846272000,"note":"Value kept but may cause issues"} 
[2026-07-08 14:03:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783499537000,"timestamp_ms":1783499537000,"timestamp_seconds":1783499537,"priority":1,"record_length":96,"hex_timestamp":"0000019f40db3a68"} 
[2026-07-08 14:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:03: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-07-08 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 14:03:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":125564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":125564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":125564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:03:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575879168001,"66":27930,"178":206,"85":14336,"24":43,"16":342597566833098752,"45":-9113033821846272000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,45]} 
[2026-07-08 14:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575879168001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:03:59] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-08 14:03:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 14:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342597566833098752,"km_value":342597566833098.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9113033821846272000,"description":"Unknown IO ID 45"} 
[2026-07-08 14:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575879168001,"power":27930,"unknown_178":206,"unknown_85":14336,"ignition":43,"odometer":null,"unknown_45":-9113033821846272000}} 
[2026-07-08 14:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":125564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:03:59] local.INFO: GPS data processed {"connection_id":125564,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:03:59] local.INFO: Acknowledgment sent {"connection_id":125564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:04:23] local.INFO: TCP Data received {"connection_id":127572,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d93e98012d0b130007029fc00005013421..."} 
[2026-07-08 14:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d93e98012d0b130007029fc00005013421..."} 
[2026-07-08 14:04:23] local.INFO: Processing buffer {"connection_id":127572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d93e98012d0b130007029fc00005013421..."} 
[2026-07-08 14:04:23] local.INFO: Packet analysis {"connection_id":127572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d9"} 
[2026-07-08 14:04:23] local.INFO: Extracted packet for processing {"connection_id":127572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d9"} 
[2026-07-08 14:04:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575771136001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783499407000,"timestamp_ms":1783499407000,"timestamp_seconds":1783499407,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d93e98"} 
[2026-07-08 14:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:04:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:04:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:04:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":127572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":127572,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":127572,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:04:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575771136001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575771136001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:04:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575771136001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":127572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451486,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:04:23] local.INFO: GPS data processed {"connection_id":127572,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:04:23] local.INFO: Acknowledgment sent {"connection_id":127572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:04:44] local.INFO: TCP Data received {"connection_id":126330,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126330,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:04:44] local.INFO: Processing buffer {"connection_id":126330,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:04:44] local.INFO: IMEI packet received {"connection_id":126330,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":126330,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:04:47] local.INFO: TCP Data received {"connection_id":125564,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40db59a8012d8196c0059e7460000800a62d..."} 
[2026-07-08 14:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40db59a8012d8196c0059e7460000800a62d..."} 
[2026-07-08 14:04:47] local.INFO: Processing buffer {"connection_id":125564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40db59a8012d8196c0059e7460000800a62d..."} 
[2026-07-08 14:04:47] local.INFO: Packet analysis {"connection_id":125564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40db"} 
[2026-07-08 14:04:47] local.INFO: Extracted packet for processing {"connection_id":125564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40db"} 
[2026-07-08 14:04:47] local.INFO: GPS Element Parsed {"raw_longitude":763467456,"raw_latitude":94270560,"longitude_deg":76.3467456,"latitude_deg":9.427056,"altitude":8,"angle":166,"satellites":45,"speed":46,"hex_longitude":"2d8196c0","hex_latitude":"059e7460","is_valid_coordinates":true} 
[2026-07-08 14:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575881472001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342598009214730240,"note":"Value kept but may cause issues"} 
[2026-07-08 14:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9110922759523311616,"note":"Value kept but may cause issues"} 
[2026-07-08 14:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783499545000,"timestamp_ms":1783499545000,"timestamp_seconds":1783499545,"priority":1,"record_length":96,"hex_timestamp":"0000019f40db59a8"} 
[2026-07-08 14:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-08 14:04:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:04:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":125564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":125564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":125564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575881472001,"66":27876,"178":206,"85":14336,"24":46,"16":342598009214730240,"45":-9110922759523311616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,45]} 
[2026-07-08 14:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575881472001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:04:47] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-08 14:04:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 14:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342598009214730240,"km_value":342598009214730.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9110922759523311616,"description":"Unknown IO ID 45"} 
[2026-07-08 14:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575881472001,"power":27876,"unknown_178":206,"unknown_85":14336,"ignition":46,"odometer":null,"unknown_45":-9110922759523311616}} 
[2026-07-08 14:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":125564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:04:47] local.INFO: GPS data processed {"connection_id":125564,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:04:47] local.INFO: Acknowledgment sent {"connection_id":125564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:04:50] local.INFO: TCP Data received {"connection_id":126330,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126330,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:04:50] local.INFO: Processing buffer {"connection_id":126330,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:04:50] local.INFO: IMEI packet received {"connection_id":126330,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":126330,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:04:50] local.INFO: TCP Data received {"connection_id":126330,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f40d93e98012d0b130007029fc00005013421..."} 
[2026-07-08 14:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40d93e98012d0b130007029fc00005013421..."} 
[2026-07-08 14:04:50] local.INFO: Processing buffer {"connection_id":126330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40d93e98012d0b130007029fc00005013421..."} 
[2026-07-08 14:04:50] local.INFO: Packet analysis {"connection_id":126330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40d9"} 
[2026-07-08 14:04:50] local.INFO: Extracted packet for processing {"connection_id":126330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40d9"} 
[2026-07-08 14:04:50] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575771136001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783499407000,"timestamp_ms":1783499407000,"timestamp_seconds":1783499407,"priority":1,"record_length":96,"hex_timestamp":"0000019f40d93e98"} 
[2026-07-08 14:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":126330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":126330,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":126330,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575771136001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575771136001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:04:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575771136001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":126330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451488,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:04:51] local.INFO: GPS data processed {"connection_id":126330,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:04:51] local.INFO: Acknowledgment sent {"connection_id":126330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:04:56] local.INFO: TCP Data received {"connection_id":127573,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:04:56] local.INFO: Processing buffer {"connection_id":127573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:04:56] local.INFO: IMEI packet received {"connection_id":127573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":127573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:04:58] local.INFO: TCP Data received {"connection_id":127573,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:04:58] local.INFO: Processing buffer {"connection_id":127573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:04:58] local.INFO: IMEI packet received {"connection_id":127573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":127573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:04:59] local.INFO: TCP Data received {"connection_id":127573,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40db84a0012d819fc0059e5108000800a62d..."} 
[2026-07-08 14:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40db84a0012d819fc0059e5108000800a62d..."} 
[2026-07-08 14:04:59] local.INFO: Processing buffer {"connection_id":127573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40db84a0012d819fc0059e5108000800a62d..."} 
[2026-07-08 14:04:59] local.INFO: Packet analysis {"connection_id":127573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40db"} 
[2026-07-08 14:04:59] local.INFO: Extracted packet for processing {"connection_id":127573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40db"} 
[2026-07-08 14:04:59] local.INFO: GPS Element Parsed {"raw_longitude":763469760,"raw_latitude":94261512,"longitude_deg":76.346976,"latitude_deg":9.4261512,"altitude":8,"angle":166,"satellites":45,"speed":33,"hex_longitude":"2d819fc0","hex_latitude":"059e5108","is_valid_coordinates":true} 
[2026-07-08 14:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575883520001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342598464481263616,"note":"Value kept but may cause issues"} 
[2026-07-08 14:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9108882065944453120,"note":"Value kept but may cause issues"} 
[2026-07-08 14:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783499556000,"timestamp_ms":1783499556000,"timestamp_seconds":1783499556,"priority":1,"record_length":96,"hex_timestamp":"0000019f40db84a0"} 
[2026-07-08 14:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:04: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-07-08 14:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 14:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":127573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":127573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":127573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575883520001,"66":27832,"178":206,"85":14336,"24":33,"16":342598464481263616,"45":-9108882065944453120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,45]} 
[2026-07-08 14:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575883520001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:04:59] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-08 14:04:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 14:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342598464481263616,"km_value":342598464481263.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9108882065944453120,"description":"Unknown IO ID 45"} 
[2026-07-08 14:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575883520001,"power":27832,"unknown_178":206,"unknown_85":14336,"ignition":33,"odometer":null,"unknown_45":-9108882065944453120}} 
[2026-07-08 14:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":127573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:04:59] local.INFO: GPS data processed {"connection_id":127573,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:04:59] local.INFO: Acknowledgment sent {"connection_id":127573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:05:22] local.INFO: TCP Data received {"connection_id":126330,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ddd660012d0b130007029fc00005013422..."} 
[2026-07-08 14:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ddd660012d0b130007029fc00005013422..."} 
[2026-07-08 14:05:22] local.INFO: Processing buffer {"connection_id":126330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ddd660012d0b130007029fc00005013422..."} 
[2026-07-08 14:05:22] local.INFO: Packet analysis {"connection_id":126330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40dd"} 
[2026-07-08 14:05:22] local.INFO: Extracted packet for processing {"connection_id":126330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40dd"} 
[2026-07-08 14:05:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 14:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575848192001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783499708000,"timestamp_ms":1783499708000,"timestamp_seconds":1783499708,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ddd660"} 
[2026-07-08 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-07-08 14:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 14:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126330,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126330,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575848192001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575848192001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:05:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575848192001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":126330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451490,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:05:22] local.INFO: GPS data processed {"connection_id":126330,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:05:22] local.INFO: Acknowledgment sent {"connection_id":126330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:05:30] local.INFO: TCP Data received {"connection_id":127573,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40dbabb0012d81a780059e2c98000700aa2d..."} 
[2026-07-08 14:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40dbabb0012d81a780059e2c98000700aa2d..."} 
[2026-07-08 14:05:30] local.INFO: Processing buffer {"connection_id":127573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40dbabb0012d81a780059e2c98000700aa2d..."} 
[2026-07-08 14:05:30] local.INFO: Packet analysis {"connection_id":127573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40db"} 
[2026-07-08 14:05:30] local.INFO: Extracted packet for processing {"connection_id":127573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40db"} 
[2026-07-08 14:05:30] local.INFO: GPS Element Parsed {"raw_longitude":763471744,"raw_latitude":94252184,"longitude_deg":76.3471744,"latitude_deg":9.4252184,"altitude":7,"angle":170,"satellites":45,"speed":42,"hex_longitude":"2d81a780","hex_latitude":"059e2c98","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575886336001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342598924042764288,"note":"Value kept but may cause issues"} 
[2026-07-08 14:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9106348791156373504,"note":"Value kept but may cause issues"} 
[2026-07-08 14:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783499566000,"timestamp_ms":1783499566000,"timestamp_seconds":1783499566,"priority":1,"record_length":96,"hex_timestamp":"0000019f40dbabb0"} 
[2026-07-08 14:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-08 14:05:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":127573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":127573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":127573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575886336001,"66":27832,"178":206,"85":14336,"24":42,"16":342598924042764288,"45":-9106348791156373504},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,45]} 
[2026-07-08 14:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575886336001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:05:30] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-08 14:05:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 14:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342598924042764288,"km_value":342598924042764.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9106348791156373504,"description":"Unknown IO ID 45"} 
[2026-07-08 14:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575886336001,"power":27832,"unknown_178":206,"unknown_85":14336,"ignition":42,"odometer":null,"unknown_45":-9106348791156373504}} 
[2026-07-08 14:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":127573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:05:30] local.INFO: GPS data processed {"connection_id":127573,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:05:30] local.INFO: Acknowledgment sent {"connection_id":127573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:05:44] local.INFO: TCP Data received {"connection_id":125447,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125447,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:05:44] local.INFO: Processing buffer {"connection_id":125447,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:05:44] local.INFO: IMEI packet received {"connection_id":125447,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":125447,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:05:50] local.INFO: TCP Data received {"connection_id":125447,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125447,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:05:50] local.INFO: Processing buffer {"connection_id":125447,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:05:50] local.INFO: IMEI packet received {"connection_id":125447,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":125447,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:05:51] local.INFO: TCP Data received {"connection_id":125447,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ddd660012d0b130007029fc00005013422..."} 
[2026-07-08 14:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ddd660012d0b130007029fc00005013422..."} 
[2026-07-08 14:05:51] local.INFO: Processing buffer {"connection_id":125447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ddd660012d0b130007029fc00005013422..."} 
[2026-07-08 14:05:51] local.INFO: Packet analysis {"connection_id":125447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40dd"} 
[2026-07-08 14:05:51] local.INFO: Extracted packet for processing {"connection_id":125447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40dd"} 
[2026-07-08 14:05:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575848192001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783499708000,"timestamp_ms":1783499708000,"timestamp_seconds":1783499708,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ddd660"} 
[2026-07-08 14:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:05:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:05:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125447,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125447,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575848192001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575848192001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:05:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575848192001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":125447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451492,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:05:51] local.INFO: GPS data processed {"connection_id":125447,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:05:51] local.INFO: Acknowledgment sent {"connection_id":125447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:05:56] local.INFO: TCP Data received {"connection_id":125565,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:05:56] local.INFO: Processing buffer {"connection_id":125565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:05:56] local.INFO: IMEI packet received {"connection_id":125565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":125565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:05:56] local.INFO: TCP Data received {"connection_id":125565,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:05:56] local.INFO: Processing buffer {"connection_id":125565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:05:56] local.INFO: IMEI packet received {"connection_id":125565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":125565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:06:01] local.INFO: TCP Data received {"connection_id":125565,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:06:01] local.INFO: Processing buffer {"connection_id":125565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:06:01] local.INFO: IMEI packet received {"connection_id":125565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":125565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:06:01] local.INFO: TCP Data received {"connection_id":125565,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40dd9bc8012d81ef00059cb260000900a92d..."} 
[2026-07-08 14:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40dd9bc8012d81ef00059cb260000900a92d..."} 
[2026-07-08 14:06:01] local.INFO: Processing buffer {"connection_id":125565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40dd9bc8012d81ef00059cb260000900a92d..."} 
[2026-07-08 14:06:01] local.INFO: Packet analysis {"connection_id":125565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40dd"} 
[2026-07-08 14:06:01] local.INFO: Extracted packet for processing {"connection_id":125565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40dd"} 
[2026-07-08 14:06:01] local.INFO: GPS Element Parsed {"raw_longitude":763490048,"raw_latitude":94155360,"longitude_deg":76.3490048,"latitude_deg":9.415536,"altitude":9,"angle":169,"satellites":45,"speed":54,"hex_longitude":"2d81ef00","hex_latitude":"059cb260","is_valid_coordinates":true} 
[2026-07-08 14:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575919616001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342603708636332032,"note":"Value kept but may cause issues"} 
[2026-07-08 14:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9086012224113852416,"note":"Value kept but may cause issues"} 
[2026-07-08 14:06:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783499693000,"timestamp_ms":1783499693000,"timestamp_seconds":1783499693,"priority":1,"record_length":96,"hex_timestamp":"0000019f40dd9bc8"} 
[2026-07-08 14:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 14:06:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:06:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575919616001,"66":27865,"179":206,"85":14592,"24":54,"16":342603708636332032,"45":-9086012224113852416},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-07-08 14:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575919616001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:06:01] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-08 14:06:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 14:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342603708636332032,"km_value":342603708636332.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9086012224113852416,"description":"Unknown IO ID 45"} 
[2026-07-08 14:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575919616001,"power":27865,"unknown_179":206,"unknown_85":14592,"ignition":54,"odometer":null,"unknown_45":-9086012224113852416}} 
[2026-07-08 14:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":125565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:06:01] local.INFO: GPS data processed {"connection_id":125565,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:06:01] local.INFO: Acknowledgment sent {"connection_id":125565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:06:04] local.INFO: TCP Data received {"connection_id":127575,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:06:04] local.INFO: Processing buffer {"connection_id":127575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:06:04] local.INFO: IMEI packet received {"connection_id":127575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":127575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:06:05] local.INFO: TCP Data received {"connection_id":127575,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:06:05] local.INFO: Processing buffer {"connection_id":127575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:06:05] local.INFO: IMEI packet received {"connection_id":127575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":127575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:06:06] local.INFO: TCP Data received {"connection_id":127575,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40dd9fb0012d1822400721a6600049008422..."} 
[2026-07-08 14:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40dd9fb0012d1822400721a6600049008422..."} 
[2026-07-08 14:06:06] local.INFO: Processing buffer {"connection_id":127575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40dd9fb0012d1822400721a6600049008422..."} 
[2026-07-08 14:06:06] local.INFO: Packet analysis {"connection_id":127575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40dd"} 
[2026-07-08 14:06:06] local.INFO: Extracted packet for processing {"connection_id":127575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40dd"} 
[2026-07-08 14:06:06] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119645792,"longitude_deg":75.6556352,"latitude_deg":11.9645792,"altitude":73,"angle":132,"satellites":34,"speed":13,"hex_longitude":"2d182240","hex_latitude":"0721a660","is_valid_coordinates":true} 
[2026-07-08 14:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575921152001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4774002178392064,"note":"Value kept but may cause issues"} 
[2026-07-08 14:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855538593792,"note":"Value kept but may cause issues"} 
[2026-07-08 14:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783499694000,"timestamp_ms":1783499694000,"timestamp_seconds":1783499694,"priority":1,"record_length":96,"hex_timestamp":"0000019f40dd9fb0"} 
[2026-07-08 14:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-08 14:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575921152001,"66":14374,"120":206,"28":31744,"24":13,"16":4774002178392064,"45":1738459855538593792},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 14:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575921152001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:06:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 14:06:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4774002178392064,"km_value":4774002178392.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855538593792,"description":"Unknown IO ID 45"} 
[2026-07-08 14:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575921152001,"power":14374,"unknown_120":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1738459855538593792}} 
[2026-07-08 14:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":127575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:06:06] local.INFO: GPS data processed {"connection_id":127575,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:06:06] local.INFO: Acknowledgment sent {"connection_id":127575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:06:23] local.INFO: TCP Data received {"connection_id":125447,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ddd660012d0b130007029fc00005013422..."} 
[2026-07-08 14:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ddd660012d0b130007029fc00005013422..."} 
[2026-07-08 14:06:23] local.INFO: Processing buffer {"connection_id":125447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ddd660012d0b130007029fc00005013422..."} 
[2026-07-08 14:06:23] local.INFO: Packet analysis {"connection_id":125447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40dd"} 
[2026-07-08 14:06:23] local.INFO: Extracted packet for processing {"connection_id":125447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40dd"} 
[2026-07-08 14:06:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575848192001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783499708000,"timestamp_ms":1783499708000,"timestamp_seconds":1783499708,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ddd660"} 
[2026-07-08 14:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:06:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:06:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":125447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":125447,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":125447,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:06:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575848192001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575848192001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:06:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575848192001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":125447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451495,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:06:23] local.INFO: GPS data processed {"connection_id":125447,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:06:23] local.INFO: Acknowledgment sent {"connection_id":125447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:06:32] local.INFO: TCP Data received {"connection_id":125565,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ddb720012d81f7c0059c8c10000900a42d..."} 
[2026-07-08 14:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ddb720012d81f7c0059c8c10000900a42d..."} 
[2026-07-08 14:06:32] local.INFO: Processing buffer {"connection_id":125565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ddb720012d81f7c0059c8c10000900a42d..."} 
[2026-07-08 14:06:32] local.INFO: Packet analysis {"connection_id":125565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40dd"} 
[2026-07-08 14:06:32] local.INFO: Extracted packet for processing {"connection_id":125565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40dd"} 
[2026-07-08 14:06:32] local.INFO: GPS Element Parsed {"raw_longitude":763492288,"raw_latitude":94145552,"longitude_deg":76.3492288,"latitude_deg":9.4145552,"altitude":9,"angle":164,"satellites":45,"speed":59,"hex_longitude":"2d81f7c0","hex_latitude":"059c8c10","is_valid_coordinates":true} 
[2026-07-08 14:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575921408001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342604193967636480,"note":"Value kept but may cause issues"} 
[2026-07-08 14:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9084041899279228928,"note":"Value kept but may cause issues"} 
[2026-07-08 14:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783499700000,"timestamp_ms":1783499700000,"timestamp_seconds":1783499700,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ddb720"} 
[2026-07-08 14:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 14:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575921408001,"66":27800,"179":206,"85":14592,"24":59,"16":342604193967636480,"45":-9084041899279228928},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-07-08 14:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575921408001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:06:32] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-08 14:06:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 14:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342604193967636480,"km_value":342604193967636.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9084041899279228928,"description":"Unknown IO ID 45"} 
[2026-07-08 14:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575921408001,"power":27800,"unknown_179":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-9084041899279228928}} 
[2026-07-08 14:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":125565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:06:32] local.INFO: GPS data processed {"connection_id":125565,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:06:32] local.INFO: Acknowledgment sent {"connection_id":125565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:06:38] local.INFO: TCP Data received {"connection_id":127575,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ddf1b8012d18288007219fa8004c008325..."} 
[2026-07-08 14:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ddf1b8012d18288007219fa8004c008325..."} 
[2026-07-08 14:06:38] local.INFO: Processing buffer {"connection_id":127575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ddf1b8012d18288007219fa8004c008325..."} 
[2026-07-08 14:06:38] local.INFO: Packet analysis {"connection_id":127575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40dd"} 
[2026-07-08 14:06:38] local.INFO: Extracted packet for processing {"connection_id":127575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40dd"} 
[2026-07-08 14:06:38] local.INFO: GPS Element Parsed {"raw_longitude":756557952,"raw_latitude":119644072,"longitude_deg":75.6557952,"latitude_deg":11.9644072,"altitude":76,"angle":131,"satellites":37,"speed":0,"hex_longitude":"2d182880","hex_latitude":"07219fa8","is_valid_coordinates":true} 
[2026-07-08 14:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575921664001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4774126732443648,"note":"Value kept but may cause issues"} 
[2026-07-08 14:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805491933184,"note":"Value kept but may cause issues"} 
[2026-07-08 14:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783499715000,"timestamp_ms":1783499715000,"timestamp_seconds":1783499715,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ddf1b8"} 
[2026-07-08 14:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-08 14:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575921664001,"66":14135,"121":206,"28":31744,"24":0,"16":4774126732443648,"45":1739022805491933184},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575921664001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:06:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:06:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4774126732443648,"km_value":4774126732443.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805491933184,"description":"Unknown IO ID 45"} 
[2026-07-08 14:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575921664001,"power":14135,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805491933184}} 
[2026-07-08 14:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":127575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:06:38] local.INFO: GPS data processed {"connection_id":127575,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:06:38] local.INFO: Acknowledgment sent {"connection_id":127575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:06:52] local.INFO: TCP Data received {"connection_id":125567,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125567,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:06:52] local.INFO: Processing buffer {"connection_id":125567,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:06:52] local.INFO: IMEI packet received {"connection_id":125567,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":125567,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:06:54] local.INFO: TCP Data received {"connection_id":125567,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125567,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:06:54] local.INFO: Processing buffer {"connection_id":125567,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:06:54] local.INFO: IMEI packet received {"connection_id":125567,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":125567,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:06:56] local.INFO: TCP Data received {"connection_id":126331,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:06:56] local.INFO: Processing buffer {"connection_id":126331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:06:56] local.INFO: IMEI packet received {"connection_id":126331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":126331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:06:58] local.INFO: TCP Data received {"connection_id":125567,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ddd660012d0b130007029fc00005013422..."} 
[2026-07-08 14:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ddd660012d0b130007029fc00005013422..."} 
[2026-07-08 14:06:58] local.INFO: Processing buffer {"connection_id":125567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ddd660012d0b130007029fc00005013422..."} 
[2026-07-08 14:06:58] local.INFO: Packet analysis {"connection_id":125567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40dd"} 
[2026-07-08 14:06:58] local.INFO: Extracted packet for processing {"connection_id":125567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40dd"} 
[2026-07-08 14:06:58] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575848192001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783499708000,"timestamp_ms":1783499708000,"timestamp_seconds":1783499708,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ddd660"} 
[2026-07-08 14:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:06: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-07-08 14:06:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":125567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":125567,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":125567,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575848192001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575848192001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:06:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575848192001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":125567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451498,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:06:58] local.INFO: GPS data processed {"connection_id":125567,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:06:58] local.INFO: Acknowledgment sent {"connection_id":125567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:07:01] local.INFO: TCP Data received {"connection_id":126331,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:07:01] local.INFO: Processing buffer {"connection_id":126331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:07:01] local.INFO: IMEI packet received {"connection_id":126331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":126331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:07:02] local.INFO: TCP Data received {"connection_id":126331,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ddce90012d820140059c69a8000a00a52c..."} 
[2026-07-08 14:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ddce90012d820140059c69a8000a00a52c..."} 
[2026-07-08 14:07:02] local.INFO: Processing buffer {"connection_id":126331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ddce90012d820140059c69a8000a00a52c..."} 
[2026-07-08 14:07:02] local.INFO: Packet analysis {"connection_id":126331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40dd"} 
[2026-07-08 14:07:02] local.INFO: Extracted packet for processing {"connection_id":126331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40dd"} 
[2026-07-08 14:07:02] local.INFO: GPS Element Parsed {"raw_longitude":763494720,"raw_latitude":94136744,"longitude_deg":76.349472,"latitude_deg":9.4136744,"altitude":10,"angle":165,"satellites":44,"speed":60,"hex_longitude":"2d820140","hex_latitude":"059c69a8","is_valid_coordinates":true} 
[2026-07-08 14:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575923200001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342604640644235264,"note":"Value kept but may cause issues"} 
[2026-07-08 14:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9081578993235521536,"note":"Value kept but may cause issues"} 
[2026-07-08 14:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783499706000,"timestamp_ms":1783499706000,"timestamp_seconds":1783499706,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ddce90"} 
[2026-07-08 14:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 14:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:07:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575923200001,"66":27908,"179":206,"85":14592,"24":60,"16":342604640644235264,"45":-9081578993235521536},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-07-08 14:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575923200001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:07:02] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-08 14:07:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 14:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342604640644235264,"km_value":342604640644235.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9081578993235521536,"description":"Unknown IO ID 45"} 
[2026-07-08 14:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575923200001,"power":27908,"unknown_179":206,"unknown_85":14592,"ignition":60,"odometer":null,"unknown_45":-9081578993235521536}} 
[2026-07-08 14:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":126331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:07:02] local.INFO: GPS data processed {"connection_id":126331,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:07:02] local.INFO: Acknowledgment sent {"connection_id":126331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:07:03] local.INFO: TCP Data received {"connection_id":125448,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:07:03] local.INFO: Processing buffer {"connection_id":125448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:07:03] local.INFO: IMEI packet received {"connection_id":125448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":125448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:07:05] local.INFO: TCP Data received {"connection_id":125448,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:07:05] local.INFO: Processing buffer {"connection_id":125448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:07:05] local.INFO: IMEI packet received {"connection_id":125448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":125448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:07:07] local.INFO: TCP Data received {"connection_id":125448,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:07:07] local.INFO: Processing buffer {"connection_id":125448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:07:07] local.INFO: IMEI packet received {"connection_id":125448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":125448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:07:09] local.INFO: TCP Data received {"connection_id":125448,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:07:09] local.INFO: Processing buffer {"connection_id":125448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:07:09] local.INFO: IMEI packet received {"connection_id":125448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":125448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:07:09] local.INFO: TCP Data received {"connection_id":125567,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ddd660012d0b130007029fc00005013422..."} 
[2026-07-08 14:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ddd660012d0b130007029fc00005013422..."} 
[2026-07-08 14:07:09] local.INFO: Processing buffer {"connection_id":125567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ddd660012d0b130007029fc00005013422..."} 
[2026-07-08 14:07:09] local.INFO: Packet analysis {"connection_id":125567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40dd"} 
[2026-07-08 14:07:09] local.INFO: Extracted packet for processing {"connection_id":125567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40dd"} 
[2026-07-08 14:07:09] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575848192001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783499708000,"timestamp_ms":1783499708000,"timestamp_seconds":1783499708,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ddd660"} 
[2026-07-08 14:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:07: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-07-08 14:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125567,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125567,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575848192001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575848192001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:07:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575848192001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":125567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451500,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:07:09] local.INFO: GPS data processed {"connection_id":125567,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:07:09] local.INFO: Acknowledgment sent {"connection_id":125567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:07:10] local.INFO: TCP Data received {"connection_id":125448,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40decc78012d18ba0007216188004a009223..."} 
[2026-07-08 14:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40decc78012d18ba0007216188004a009223..."} 
[2026-07-08 14:07:10] local.INFO: Processing buffer {"connection_id":125448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40decc78012d18ba0007216188004a009223..."} 
[2026-07-08 14:07:10] local.INFO: Packet analysis {"connection_id":125448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40de"} 
[2026-07-08 14:07:10] local.INFO: Extracted packet for processing {"connection_id":125448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40de"} 
[2026-07-08 14:07:10] local.INFO: GPS Element Parsed {"raw_longitude":756595200,"raw_latitude":119628168,"longitude_deg":75.65952,"latitude_deg":11.9628168,"altitude":74,"angle":146,"satellites":35,"speed":35,"hex_longitude":"2d18ba00","hex_latitude":"07216188","is_valid_coordinates":true} 
[2026-07-08 14:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575940096001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4776128187203584,"note":"Value kept but may cause issues"} 
[2026-07-08 14:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778921883437101056,"note":"Value kept but may cause issues"} 
[2026-07-08 14:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783499771000,"timestamp_ms":1783499771000,"timestamp_seconds":1783499771,"priority":1,"record_length":96,"hex_timestamp":"0000019f40decc78"} 
[2026-07-08 14:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 14:07: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-07-08 14:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575940096001,"66":14080,"121":206,"28":31744,"24":35,"16":4776128187203584,"45":1778921883437101056},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575940096001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:07:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:07:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4776128187203584,"km_value":4776128187203.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778921883437101056,"description":"Unknown IO ID 45"} 
[2026-07-08 14:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575940096001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1778921883437101056}} 
[2026-07-08 14:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":125448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:07:10] local.INFO: GPS data processed {"connection_id":125448,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:07:10] local.INFO: Acknowledgment sent {"connection_id":125448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:07:11] local.INFO: TCP Data received {"connection_id":125448,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40dee000012d18c480072151c80048009f25..."} 
[2026-07-08 14:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40dee000012d18c480072151c80048009f25..."} 
[2026-07-08 14:07:11] local.INFO: Processing buffer {"connection_id":125448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40dee000012d18c480072151c80048009f25..."} 
[2026-07-08 14:07:11] local.INFO: Packet analysis {"connection_id":125448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40de"} 
[2026-07-08 14:07:11] local.INFO: Extracted packet for processing {"connection_id":125448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40de"} 
[2026-07-08 14:07:11] local.INFO: GPS Element Parsed {"raw_longitude":756597888,"raw_latitude":119624136,"longitude_deg":75.6597888,"latitude_deg":11.9624136,"altitude":72,"angle":159,"satellites":37,"speed":37,"hex_longitude":"2d18c480","hex_latitude":"072151c8","is_valid_coordinates":true} 
[2026-07-08 14:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575941376001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4776364410404864,"note":"Value kept but may cause issues"} 
[2026-07-08 14:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1781736633203263488,"note":"Value kept but may cause issues"} 
[2026-07-08 14:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783499776000,"timestamp_ms":1783499776000,"timestamp_seconds":1783499776,"priority":1,"record_length":96,"hex_timestamp":"0000019f40dee000"} 
[2026-07-08 14:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-08 14:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-07-08 14:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4142530560,"note":"Value kept but may cause issues"} 
[2026-07-08 14:07:11] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":2550136832,"corrected_to":0} 
[2026-07-08 14:07:11] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2164260941,"note":"Value kept but may cause issues"} 
[2026-07-08 14:07:11] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3733590017,"note":"Value kept but may cause issues"} 
[2026-07-08 14:07:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-08 14:07:11] local.WARNING: Large IO value detected {"io_id":110,"raw_value":3087084824,"note":"Value kept but may cause issues"} 
[2026-07-08 14:07:11] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2483080679,"note":"Value kept but may cause issues"} 
[2026-07-08 14:07:11] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,247,159,184,45,111,76,36,10,66,177,115,77,35,1,240,33,64,4,113,205,37,110,112,176,34,239,54,2,7,78,39],"length":479,"final_offset":609,"validated_count":38,"validation_warnings":[{"io_id":247,"original":2550136832,"validated":0},{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-08 14:07:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332422637830471680,"timestamp_seconds":5332422637830472.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 14:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575941376001,"66":14048,"121":206,"28":31744,"24":37,"16":4776364410404864,"45":1781736633203263488},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575941376001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:07:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:07:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4776364410404864,"km_value":4776364410404.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1781736633203263488,"description":"Unknown IO ID 45"} 
[2026-07-08 14:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575941376001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1781736633203263488}} 
[2026-07-08 14:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":125448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:07:11] local.INFO: GPS data processed {"connection_id":125448,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:07:11] local.INFO: Acknowledgment sent {"connection_id":125448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:07:33] local.INFO: TCP Data received {"connection_id":126331,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40dde9e8012d820800059c47b8000900ae2c..."} 
[2026-07-08 14:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40dde9e8012d820800059c47b8000900ae2c..."} 
[2026-07-08 14:07:33] local.INFO: Processing buffer {"connection_id":126331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40dde9e8012d820800059c47b8000900ae2c..."} 
[2026-07-08 14:07:33] local.INFO: Packet analysis {"connection_id":126331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40dd"} 
[2026-07-08 14:07:33] local.INFO: Extracted packet for processing {"connection_id":126331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40dd"} 
[2026-07-08 14:07:33] local.INFO: GPS Element Parsed {"raw_longitude":763496448,"raw_latitude":94128056,"longitude_deg":76.3496448,"latitude_deg":9.4128056,"altitude":9,"angle":174,"satellites":44,"speed":40,"hex_longitude":"2d820800","hex_latitude":"059c47b8","is_valid_coordinates":true} 
[2026-07-08 14:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575924736001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342605070140964864,"note":"Value kept but may cause issues"} 
[2026-07-08 14:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9078904980959025152,"note":"Value kept but may cause issues"} 
[2026-07-08 14:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783499713000,"timestamp_ms":1783499713000,"timestamp_seconds":1783499713,"priority":1,"record_length":96,"hex_timestamp":"0000019f40dde9e8"} 
[2026-07-08 14:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 14:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575924736001,"66":27908,"179":206,"85":14592,"24":40,"16":342605070140964864,"45":-9078904980959025152},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-07-08 14:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575924736001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:07:33] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-08 14:07:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 14:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342605070140964864,"km_value":342605070140964.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9078904980959025152,"description":"Unknown IO ID 45"} 
[2026-07-08 14:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575924736001,"power":27908,"unknown_179":206,"unknown_85":14592,"ignition":40,"odometer":null,"unknown_45":-9078904980959025152}} 
[2026-07-08 14:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":126331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:07:33] local.INFO: GPS data processed {"connection_id":126331,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:07:33] local.INFO: Acknowledgment sent {"connection_id":126331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:07:42] local.INFO: TCP Data received {"connection_id":125448,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40dee7d0012d18c5c007214a80004700af25..."} 
[2026-07-08 14:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40dee7d0012d18c5c007214a80004700af25..."} 
[2026-07-08 14:07:42] local.INFO: Processing buffer {"connection_id":125448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40dee7d0012d18c5c007214a80004700af25..."} 
[2026-07-08 14:07:42] local.INFO: Packet analysis {"connection_id":125448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40de"} 
[2026-07-08 14:07:42] local.INFO: Extracted packet for processing {"connection_id":125448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40de"} 
[2026-07-08 14:07:42] local.INFO: GPS Element Parsed {"raw_longitude":756598208,"raw_latitude":119622272,"longitude_deg":75.6598208,"latitude_deg":11.9622272,"altitude":71,"angle":175,"satellites":37,"speed":38,"hex_longitude":"2d18c5c0","hex_latitude":"07214a80","is_valid_coordinates":true} 
[2026-07-08 14:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575942656001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4776454604718080,"note":"Value kept but may cause issues"} 
[2026-07-08 14:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784692120457693184,"note":"Value kept but may cause issues"} 
[2026-07-08 14:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783499778000,"timestamp_ms":1783499778000,"timestamp_seconds":1783499778,"priority":1,"record_length":96,"hex_timestamp":"0000019f40dee7d0"} 
[2026-07-08 14:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:07: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-07-08 14:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-08 14:07: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-07-08 14:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":125448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":125448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":125448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575942656001,"66":13406,"121":206,"28":31744,"24":38,"16":4776454604718080,"45":1784692120457693184},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575942656001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:07:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:07:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4776454604718080,"km_value":4776454604718.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784692120457693184,"description":"Unknown IO ID 45"} 
[2026-07-08 14:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575942656001,"power":13406,"unknown_121":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1784692120457693184}} 
[2026-07-08 14:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":125448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:07:43] local.INFO: GPS data processed {"connection_id":125448,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:07:43] local.INFO: Acknowledgment sent {"connection_id":125448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:07:44] local.INFO: TCP Data received {"connection_id":126332,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126332,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:07:44] local.INFO: Processing buffer {"connection_id":126332,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:07:44] local.INFO: IMEI packet received {"connection_id":126332,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":126332,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:07:50] local.INFO: TCP Data received {"connection_id":126332,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126332,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:07:50] local.INFO: Processing buffer {"connection_id":126332,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:07:50] local.INFO: IMEI packet received {"connection_id":126332,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":126332,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:07:51] local.INFO: TCP Data received {"connection_id":126332,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ddd660012d0b130007029fc00005013422..."} 
[2026-07-08 14:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ddd660012d0b130007029fc00005013422..."} 
[2026-07-08 14:07:51] local.INFO: Processing buffer {"connection_id":126332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ddd660012d0b130007029fc00005013422..."} 
[2026-07-08 14:07:51] local.INFO: Packet analysis {"connection_id":126332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40dd"} 
[2026-07-08 14:07:51] local.INFO: Extracted packet for processing {"connection_id":126332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40dd"} 
[2026-07-08 14:07:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575848192001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783499708000,"timestamp_ms":1783499708000,"timestamp_seconds":1783499708,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ddd660"} 
[2026-07-08 14:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126332,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126332,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575848192001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575848192001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:07:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575848192001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":126332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451505,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:07:51] local.INFO: GPS data processed {"connection_id":126332,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:07:51] local.INFO: Acknowledgment sent {"connection_id":126332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:07:55] local.INFO: TCP Data received {"connection_id":125449,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:07:55] local.INFO: Processing buffer {"connection_id":125449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:07:55] local.INFO: IMEI packet received {"connection_id":125449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":125449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:07:58] local.INFO: TCP Data received {"connection_id":127577,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:07:58] local.INFO: Processing buffer {"connection_id":127577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:07:58] local.INFO: IMEI packet received {"connection_id":127577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":127577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:08:00] local.INFO: TCP Data received {"connection_id":127577,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:08:00] local.INFO: Processing buffer {"connection_id":127577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:08:00] local.INFO: IMEI packet received {"connection_id":127577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":127577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:08:01] local.INFO: TCP Data received {"connection_id":125449,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:08:01] local.INFO: Processing buffer {"connection_id":125449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:08:01] local.INFO: IMEI packet received {"connection_id":125449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":125449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:08:01] local.INFO: TCP Data received {"connection_id":127577,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:08:01] local.INFO: Processing buffer {"connection_id":127577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:08:01] local.INFO: IMEI packet received {"connection_id":127577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":127577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:08:06] local.INFO: TCP Data received {"connection_id":125449,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40df6ca0012d824b40059aed98000700a72d..."} 
[2026-07-08 14:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40df6ca0012d824b40059aed98000700a72d..."} 
[2026-07-08 14:08:06] local.INFO: Processing buffer {"connection_id":125449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40df6ca0012d824b40059aed98000700a72d..."} 
[2026-07-08 14:08:06] local.INFO: Packet analysis {"connection_id":125449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40df"} 
[2026-07-08 14:08:06] local.INFO: Extracted packet for processing {"connection_id":125449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40df"} 
[2026-07-08 14:08:06] local.INFO: GPS Element Parsed {"raw_longitude":763513664,"raw_latitude":94039448,"longitude_deg":76.3513664,"latitude_deg":9.4039448,"altitude":7,"angle":167,"satellites":45,"speed":53,"hex_longitude":"2d824b40","hex_latitude":"059aed98","is_valid_coordinates":true} 
[2026-07-08 14:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:08:06] local.INFO: TCP Data received {"connection_id":127577,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575949824001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342609468187475968,"note":"Value kept but may cause issues"} 
[2026-07-08 14:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9060398001262678016,"note":"Value kept but may cause issues"} 
[2026-07-08 14:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783499812000,"timestamp_ms":1783499812000,"timestamp_seconds":1783499812,"priority":1,"record_length":96,"hex_timestamp":"0000019f40df6ca0"} 
[2026-07-08 14:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-08 14:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:08:06] local.INFO: Processing buffer {"connection_id":127577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:08:06] local.INFO: IMEI packet received {"connection_id":127577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":127577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575949824001,"66":27800,"15":206,"85":14592,"24":53,"16":342609468187475968,"45":-9060398001262678016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-08 14:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575949824001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:08:06] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-08 14:08:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 14:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342609468187475968,"km_value":342609468187475.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9060398001262678016,"description":"Unknown IO ID 45"} 
[2026-07-08 14:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575949824001,"power":27800,"unknown_15":206,"unknown_85":14592,"ignition":53,"odometer":null,"unknown_45":-9060398001262678016}} 
[2026-07-08 14:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":125449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:08:06] local.INFO: GPS data processed {"connection_id":125449,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:08:06] local.INFO: Acknowledgment sent {"connection_id":125449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:08:07] local.INFO: TCP Data received {"connection_id":125449,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40df87f8012d825240059aca68000700a62d..."} 
[2026-07-08 14:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40df87f8012d825240059aca68000700a62d..."} 
[2026-07-08 14:08:07] local.INFO: Processing buffer {"connection_id":125449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40df87f8012d825240059aca68000700a62d..."} 
[2026-07-08 14:08:07] local.INFO: Packet analysis {"connection_id":125449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40df"} 
[2026-07-08 14:08:07] local.INFO: Extracted packet for processing {"connection_id":125449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40df"} 
[2026-07-08 14:08:07] local.INFO: GPS Element Parsed {"raw_longitude":763515456,"raw_latitude":94030440,"longitude_deg":76.3515456,"latitude_deg":9.403044,"altitude":7,"angle":166,"satellites":45,"speed":53,"hex_longitude":"2d825240","hex_latitude":"059aca68","is_valid_coordinates":true} 
[2026-07-08 14:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575951872001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342609910569107456,"note":"Value kept but may cause issues"} 
[2026-07-08 14:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9058075832707344384,"note":"Value kept but may cause issues"} 
[2026-07-08 14:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783499819000,"timestamp_ms":1783499819000,"timestamp_seconds":1783499819,"priority":1,"record_length":96,"hex_timestamp":"0000019f40df87f8"} 
[2026-07-08 14:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 14:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575951872001,"66":27919,"15":206,"85":14592,"24":53,"16":342609910569107456,"45":-9058075832707344384},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-08 14:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575951872001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:08:07] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-08 14:08:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 14:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342609910569107456,"km_value":342609910569107.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9058075832707344384,"description":"Unknown IO ID 45"} 
[2026-07-08 14:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575951872001,"power":27919,"unknown_15":206,"unknown_85":14592,"ignition":53,"odometer":null,"unknown_45":-9058075832707344384}} 
[2026-07-08 14:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":125449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:08:07] local.INFO: GPS data processed {"connection_id":125449,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:08:07] local.INFO: Acknowledgment sent {"connection_id":125449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:08:08] local.INFO: TCP Data received {"connection_id":127577,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40df93b0012d191f400720c0f00032006e23..."} 
[2026-07-08 14:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40df93b0012d191f400720c0f00032006e23..."} 
[2026-07-08 14:08:08] local.INFO: Processing buffer {"connection_id":127577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40df93b0012d191f400720c0f00032006e23..."} 
[2026-07-08 14:08:08] local.INFO: Packet analysis {"connection_id":127577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40df"} 
[2026-07-08 14:08:08] local.INFO: Extracted packet for processing {"connection_id":127577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40df"} 
[2026-07-08 14:08:08] local.INFO: GPS Element Parsed {"raw_longitude":756621120,"raw_latitude":119587056,"longitude_deg":75.662112,"latitude_deg":11.9587056,"altitude":50,"angle":110,"satellites":35,"speed":53,"hex_longitude":"2d191f40","hex_latitude":"0720c0f0","is_valid_coordinates":true} 
[2026-07-08 14:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575953152001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4778619268235264,"note":"Value kept but may cause issues"} 
[2026-07-08 14:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1803832418865219584,"note":"Value kept but may cause issues"} 
[2026-07-08 14:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783499822000,"timestamp_ms":1783499822000,"timestamp_seconds":1783499822,"priority":1,"record_length":96,"hex_timestamp":"0000019f40df93b0"} 
[2026-07-08 14:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-08 14:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":127577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":127577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":127577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575953152001,"66":13961,"121":206,"28":31744,"24":53,"16":4778619268235264,"45":1803832418865219584},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575953152001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:08:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:08:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4778619268235264,"km_value":4778619268235.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1803832418865219584,"description":"Unknown IO ID 45"} 
[2026-07-08 14:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575953152001,"power":13961,"unknown_121":206,"unknown_28":31744,"ignition":53,"odometer":null,"unknown_45":1803832418865219584}} 
[2026-07-08 14:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":127577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:08:08] local.INFO: GPS data processed {"connection_id":127577,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:08:08] local.INFO: Acknowledgment sent {"connection_id":127577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:08:21] local.INFO: TCP Data received {"connection_id":126333,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126333,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:08:21] local.INFO: Processing buffer {"connection_id":126333,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:08:21] local.INFO: IMEI packet received {"connection_id":126333,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 14:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":126333,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:08:22] local.INFO: TCP Data received {"connection_id":126332,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ddd660012d0b130007029fc00005013422..."} 
[2026-07-08 14:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ddd660012d0b130007029fc00005013422..."} 
[2026-07-08 14:08:22] local.INFO: Processing buffer {"connection_id":126332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ddd660012d0b130007029fc00005013422..."} 
[2026-07-08 14:08:22] local.INFO: Packet analysis {"connection_id":126332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40dd"} 
[2026-07-08 14:08:22] local.INFO: Extracted packet for processing {"connection_id":126332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40dd"} 
[2026-07-08 14:08:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575848192001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783499708000,"timestamp_ms":1783499708000,"timestamp_seconds":1783499708,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ddd660"} 
[2026-07-08 14:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:08:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126332,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126332,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575848192001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575848192001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:08:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575848192001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":126332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451509,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:08:22] local.INFO: GPS data processed {"connection_id":126332,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:08:22] local.INFO: Acknowledgment sent {"connection_id":126332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:08:38] local.INFO: TCP Data received {"connection_id":125449,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40dfa350012d825ac0059aa560000700a72d..."} 
[2026-07-08 14:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40dfa350012d825ac0059aa560000700a72d..."} 
[2026-07-08 14:08:38] local.INFO: Processing buffer {"connection_id":125449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40dfa350012d825ac0059aa560000700a72d..."} 
[2026-07-08 14:08:38] local.INFO: Packet analysis {"connection_id":125449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40df"} 
[2026-07-08 14:08:38] local.INFO: Extracted packet for processing {"connection_id":125449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40df"} 
[2026-07-08 14:08:38] local.INFO: GPS Element Parsed {"raw_longitude":763517632,"raw_latitude":94020960,"longitude_deg":76.3517632,"latitude_deg":9.402096,"altitude":7,"angle":167,"satellites":45,"speed":56,"hex_longitude":"2d825ac0","hex_latitude":"059aa560","is_valid_coordinates":true} 
[2026-07-08 14:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575953664001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342610383015510016,"note":"Value kept but may cause issues"} 
[2026-07-08 14:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9056105507872675840,"note":"Value kept but may cause issues"} 
[2026-07-08 14:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783499826000,"timestamp_ms":1783499826000,"timestamp_seconds":1783499826,"priority":1,"record_length":96,"hex_timestamp":"0000019f40dfa350"} 
[2026-07-08 14:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 14:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575953664001,"66":27843,"15":206,"85":14592,"24":56,"16":342610383015510016,"45":-9056105507872675840},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-08 14:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575953664001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:08:38] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-08 14:08:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 14:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342610383015510016,"km_value":342610383015510.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9056105507872675840,"description":"Unknown IO ID 45"} 
[2026-07-08 14:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575953664001,"power":27843,"unknown_15":206,"unknown_85":14592,"ignition":56,"odometer":null,"unknown_45":-9056105507872675840}} 
[2026-07-08 14:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":125449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:08:38] local.INFO: GPS data processed {"connection_id":125449,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:08:38] local.INFO: Acknowledgment sent {"connection_id":125449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:08:40] local.INFO: TCP Data received {"connection_id":127577,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e05ed0012d19ae0007209088002c00c721..."} 
[2026-07-08 14:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e05ed0012d19ae0007209088002c00c721..."} 
[2026-07-08 14:08:40] local.INFO: Processing buffer {"connection_id":127577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e05ed0012d19ae0007209088002c00c721..."} 
[2026-07-08 14:08:40] local.INFO: Packet analysis {"connection_id":127577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e0"} 
[2026-07-08 14:08:40] local.INFO: Extracted packet for processing {"connection_id":127577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e0"} 
[2026-07-08 14:08:40] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119574664,"longitude_deg":75.6657664,"latitude_deg":11.9574664,"altitude":44,"angle":199,"satellites":33,"speed":33,"hex_longitude":"2d19ae00","hex_latitude":"07209088","is_valid_coordinates":true} 
[2026-07-08 14:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575966464001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4780977205280768,"note":"Value kept but may cause issues"} 
[2026-07-08 14:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853301646019162112,"note":"Value kept but may cause issues"} 
[2026-07-08 14:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783499874000,"timestamp_ms":1783499874000,"timestamp_seconds":1783499874,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e05ed0"} 
[2026-07-08 14:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-07-08 14:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":127577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":127577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":127577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575966464001,"66":14363,"121":206,"28":31744,"24":33,"16":4780977205280768,"45":1853301646019162112},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575966464001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:08:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:08:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4780977205280768,"km_value":4780977205280.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853301646019162112,"description":"Unknown IO ID 45"} 
[2026-07-08 14:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575966464001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1853301646019162112}} 
[2026-07-08 14:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":127577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:08:40] local.INFO: GPS data processed {"connection_id":127577,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:08:40] local.INFO: Acknowledgment sent {"connection_id":127577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:08:45] local.INFO: TCP Data received {"connection_id":126334,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126334,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:08:45] local.INFO: Processing buffer {"connection_id":126334,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:08:45] local.INFO: IMEI packet received {"connection_id":126334,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":126334,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:08:50] local.INFO: TCP Data received {"connection_id":126334,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126334,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:08:50] local.INFO: Processing buffer {"connection_id":126334,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:08:50] local.INFO: IMEI packet received {"connection_id":126334,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":126334,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:08:50] local.INFO: TCP Data received {"connection_id":126334,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ddd660012d0b130007029fc00005013422..."} 
[2026-07-08 14:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ddd660012d0b130007029fc00005013422..."} 
[2026-07-08 14:08:50] local.INFO: Processing buffer {"connection_id":126334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ddd660012d0b130007029fc00005013422..."} 
[2026-07-08 14:08:50] local.INFO: Packet analysis {"connection_id":126334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40dd"} 
[2026-07-08 14:08:50] local.INFO: Extracted packet for processing {"connection_id":126334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40dd"} 
[2026-07-08 14:08:50] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575848192001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:08:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783499708000,"timestamp_ms":1783499708000,"timestamp_seconds":1783499708,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ddd660"} 
[2026-07-08 14:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:08:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:08:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":126334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":126334,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":126334,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:08:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575848192001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575848192001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:08:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:08:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575848192001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":126334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451512,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:08:51] local.INFO: GPS data processed {"connection_id":126334,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:08:51] local.INFO: Acknowledgment sent {"connection_id":126334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:08:55] local.INFO: TCP Data received {"connection_id":125450,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:08:55] local.INFO: Processing buffer {"connection_id":125450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:08:55] local.INFO: IMEI packet received {"connection_id":125450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":125450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:08:57] local.INFO: TCP Data received {"connection_id":125450,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:08:57] local.INFO: Processing buffer {"connection_id":125450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:08:57] local.INFO: IMEI packet received {"connection_id":125450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":125450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:09:00] local.INFO: TCP Data received {"connection_id":125568,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:09:00] local.INFO: Processing buffer {"connection_id":125568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:09:00] local.INFO: IMEI packet received {"connection_id":125568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":125568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:09:01] local.INFO: TCP Data received {"connection_id":125568,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:09:01] local.INFO: Processing buffer {"connection_id":125568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:09:01] local.INFO: IMEI packet received {"connection_id":125568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":125568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:09:05] local.INFO: TCP Data received {"connection_id":125568,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:09:05] local.INFO: Processing buffer {"connection_id":125568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:09:05] local.INFO: IMEI packet received {"connection_id":125568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":125568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:09:06] local.INFO: TCP Data received {"connection_id":125568,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e066a0012d19ad40072089d0002b00b320..."} 
[2026-07-08 14:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e066a0012d19ad40072089d0002b00b320..."} 
[2026-07-08 14:09:06] local.INFO: Processing buffer {"connection_id":125568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e066a0012d19ad40072089d0002b00b320..."} 
[2026-07-08 14:09:06] local.INFO: Packet analysis {"connection_id":125568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e0"} 
[2026-07-08 14:09:06] local.INFO: Extracted packet for processing {"connection_id":125568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e0"} 
[2026-07-08 14:09:06] local.INFO: GPS Element Parsed {"raw_longitude":756657472,"raw_latitude":119572944,"longitude_deg":75.6657472,"latitude_deg":11.9572944,"altitude":43,"angle":179,"satellites":32,"speed":34,"hex_longitude":"2d19ad40","hex_latitude":"072089d0","is_valid_coordinates":true} 
[2026-07-08 14:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575967744001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4781058809659392,"note":"Value kept but may cause issues"} 
[2026-07-08 14:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850416527506966528,"note":"Value kept but may cause issues"} 
[2026-07-08 14:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783499876000,"timestamp_ms":1783499876000,"timestamp_seconds":1783499876,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e066a0"} 
[2026-07-08 14:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":27,"data_length":795,"current_offset":136} 
[2026-07-08 14:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575967744001,"66":13722,"121":206,"28":31744,"24":34,"16":4781058809659392,"45":1850416527506966528},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575967744001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:09:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:09:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4781058809659392,"km_value":4781058809659.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850416527506966528,"description":"Unknown IO ID 45"} 
[2026-07-08 14:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575967744001,"power":13722,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1850416527506966528}} 
[2026-07-08 14:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":125568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:09:06] local.INFO: GPS data processed {"connection_id":125568,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:09:06] local.INFO: Acknowledgment sent {"connection_id":125568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:09:09] local.INFO: TCP Data received {"connection_id":125450,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:09:09] local.INFO: Processing buffer {"connection_id":125450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:09:09] local.INFO: IMEI packet received {"connection_id":125450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":125450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:09:10] local.INFO: TCP Data received {"connection_id":125450,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:09:10] local.INFO: Processing buffer {"connection_id":125450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:09:10] local.INFO: IMEI packet received {"connection_id":125450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":125450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:09:10] local.INFO: TCP Data received {"connection_id":125450,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40dfc290012d826300059a81e8000700a52b..."} 
[2026-07-08 14:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40dfc290012d826300059a81e8000700a52b..."} 
[2026-07-08 14:09:10] local.INFO: Processing buffer {"connection_id":125450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40dfc290012d826300059a81e8000700a52b..."} 
[2026-07-08 14:09:10] local.INFO: Packet analysis {"connection_id":125450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40df"} 
[2026-07-08 14:09:10] local.INFO: Extracted packet for processing {"connection_id":125450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40df"} 
[2026-07-08 14:09:10] local.INFO: GPS Element Parsed {"raw_longitude":763519744,"raw_latitude":94011880,"longitude_deg":76.3519744,"latitude_deg":9.401188,"altitude":7,"angle":165,"satellites":43,"speed":27,"hex_longitude":"2d826300","hex_latitude":"059a81e8","is_valid_coordinates":true} 
[2026-07-08 14:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575955456001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342610833987076096,"note":"Value kept but may cause issues"} 
[2026-07-08 14:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9053712970573062144,"note":"Value kept but may cause issues"} 
[2026-07-08 14:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783499834000,"timestamp_ms":1783499834000,"timestamp_seconds":1783499834,"priority":1,"record_length":96,"hex_timestamp":"0000019f40dfc290"} 
[2026-07-08 14:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 14:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575955456001,"66":27876,"15":206,"85":14592,"24":27,"16":342610833987076096,"45":-9053712970573062144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-08 14:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575955456001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:09:10] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-08 14:09:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 14:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342610833987076096,"km_value":342610833987076.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9053712970573062144,"description":"Unknown IO ID 45"} 
[2026-07-08 14:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575955456001,"power":27876,"unknown_15":206,"unknown_85":14592,"ignition":27,"odometer":null,"unknown_45":-9053712970573062144}} 
[2026-07-08 14:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":125450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:09:10] local.INFO: GPS data processed {"connection_id":125450,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:09:10] local.INFO: Acknowledgment sent {"connection_id":125450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:09:11] local.INFO: TCP Data received {"connection_id":125450,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40dff170012d8265c0059a7078000700b32d..."} 
[2026-07-08 14:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40dff170012d8265c0059a7078000700b32d..."} 
[2026-07-08 14:09:11] local.INFO: Processing buffer {"connection_id":125450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40dff170012d8265c0059a7078000700b32d..."} 
[2026-07-08 14:09:11] local.INFO: Packet analysis {"connection_id":125450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40df"} 
[2026-07-08 14:09:11] local.INFO: Extracted packet for processing {"connection_id":125450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40df"} 
[2026-07-08 14:09:11] local.INFO: GPS Element Parsed {"raw_longitude":763520448,"raw_latitude":94007416,"longitude_deg":76.3520448,"latitude_deg":9.4007416,"altitude":7,"angle":179,"satellites":45,"speed":20,"hex_longitude":"2d8265c0","hex_latitude":"059a7078","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575957504001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342611057325375488,"note":"Value kept but may cause issues"} 
[2026-07-08 14:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9051390802017523712,"note":"Value kept but may cause issues"} 
[2026-07-08 14:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783499846000,"timestamp_ms":1783499846000,"timestamp_seconds":1783499846,"priority":1,"record_length":96,"hex_timestamp":"0000019f40dff170"} 
[2026-07-08 14:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 14:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575957504001,"66":27843,"177":206,"85":14592,"24":20,"16":342611057325375488,"45":-9051390802017523712},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-07-08 14:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575957504001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:09:11] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-08 14:09:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 14:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342611057325375488,"km_value":342611057325375.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9051390802017523712,"description":"Unknown IO ID 45"} 
[2026-07-08 14:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575957504001,"power":27843,"unknown_177":206,"unknown_85":14592,"ignition":20,"odometer":null,"unknown_45":-9051390802017523712}} 
[2026-07-08 14:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":125450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:09:11] local.INFO: GPS data processed {"connection_id":125450,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:09:11] local.INFO: Acknowledgment sent {"connection_id":125450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:09:22] local.INFO: TCP Data received {"connection_id":126334,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ddd660012d0b130007029fc00005013422..."} 
[2026-07-08 14:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ddd660012d0b130007029fc00005013422..."} 
[2026-07-08 14:09:22] local.INFO: Processing buffer {"connection_id":126334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ddd660012d0b130007029fc00005013422..."} 
[2026-07-08 14:09:22] local.INFO: Packet analysis {"connection_id":126334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40dd"} 
[2026-07-08 14:09:22] local.INFO: Extracted packet for processing {"connection_id":126334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40dd"} 
[2026-07-08 14:09:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575848192001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783499708000,"timestamp_ms":1783499708000,"timestamp_seconds":1783499708,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ddd660"} 
[2026-07-08 14:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126334,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126334,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575848192001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575848192001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:09:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575848192001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":126334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451516,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:09:22] local.INFO: GPS data processed {"connection_id":126334,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:09:22] local.INFO: Acknowledgment sent {"connection_id":126334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:09:43] local.INFO: TCP Data received {"connection_id":125568,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e07258012d19afc007207e70002a00a722..."} 
[2026-07-08 14:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e07258012d19afc007207e70002a00a722..."} 
[2026-07-08 14:09:43] local.INFO: Processing buffer {"connection_id":125568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e07258012d19afc007207e70002a00a722..."} 
[2026-07-08 14:09:43] local.INFO: Packet analysis {"connection_id":125568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e0"} 
[2026-07-08 14:09:43] local.INFO: Extracted packet for processing {"connection_id":125568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e0"} 
[2026-07-08 14:09:43] local.INFO: GPS Element Parsed {"raw_longitude":756658112,"raw_latitude":119570032,"longitude_deg":75.6658112,"latitude_deg":11.9570032,"altitude":42,"angle":167,"satellites":34,"speed":42,"hex_longitude":"2d19afc0","hex_latitude":"07207e70","is_valid_coordinates":true} 
[2026-07-08 14:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575968256001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4781204838547456,"note":"Value kept but may cause issues"} 
[2026-07-08 14:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850205421273993216,"note":"Value kept but may cause issues"} 
[2026-07-08 14:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783499879000,"timestamp_ms":1783499879000,"timestamp_seconds":1783499879,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e07258"} 
[2026-07-08 14:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:09:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-07-08 14:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:09:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":125568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":125568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":125568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575968256001,"66":14374,"121":206,"28":31744,"24":42,"16":4781204838547456,"45":1850205421273993216},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575968256001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:09:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:09:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4781204838547456,"km_value":4781204838547.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850205421273993216,"description":"Unknown IO ID 45"} 
[2026-07-08 14:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575968256001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1850205421273993216}} 
[2026-07-08 14:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":125568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:09:43] local.INFO: GPS data processed {"connection_id":125568,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:09:43] local.INFO: Acknowledgment sent {"connection_id":125568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:09:44] local.INFO: TCP Data received {"connection_id":126335,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126335,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:09:44] local.INFO: Processing buffer {"connection_id":126335,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:09:44] local.INFO: IMEI packet received {"connection_id":126335,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":126335,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:09:50] local.INFO: TCP Data received {"connection_id":126335,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126335,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:09:50] local.INFO: Processing buffer {"connection_id":126335,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:09:50] local.INFO: IMEI packet received {"connection_id":126335,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":126335,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:09:51] local.INFO: TCP Data received {"connection_id":126335,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ddd660012d0b130007029fc00005013422..."} 
[2026-07-08 14:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ddd660012d0b130007029fc00005013422..."} 
[2026-07-08 14:09:51] local.INFO: Processing buffer {"connection_id":126335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ddd660012d0b130007029fc00005013422..."} 
[2026-07-08 14:09:51] local.INFO: Packet analysis {"connection_id":126335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40dd"} 
[2026-07-08 14:09:51] local.INFO: Extracted packet for processing {"connection_id":126335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40dd"} 
[2026-07-08 14:09:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575848192001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783499708000,"timestamp_ms":1783499708000,"timestamp_seconds":1783499708,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ddd660"} 
[2026-07-08 14:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:09:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:09:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:09:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126335,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126335,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575848192001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575848192001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:09:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575848192001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":126335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451518,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:09:51] local.INFO: GPS data processed {"connection_id":126335,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:09:51] local.INFO: Acknowledgment sent {"connection_id":126335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:09:56] local.INFO: TCP Data received {"connection_id":127578,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127578,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:09:56] local.INFO: Processing buffer {"connection_id":127578,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:09:56] local.INFO: IMEI packet received {"connection_id":127578,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 14:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":127578,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:09:57] local.INFO: TCP Data received {"connection_id":126336,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:09:57] local.INFO: Processing buffer {"connection_id":126336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:09:57] local.INFO: IMEI packet received {"connection_id":126336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":126336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:10:00] local.INFO: TCP Data received {"connection_id":126337,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:10:00] local.INFO: Processing buffer {"connection_id":126337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:10:00] local.INFO: IMEI packet received {"connection_id":126337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":126337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:10:01] local.INFO: TCP Data received {"connection_id":126336,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:10:01] local.INFO: Processing buffer {"connection_id":126336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:10:01] local.INFO: IMEI packet received {"connection_id":126336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":126336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:10:01] local.INFO: TCP Data received {"connection_id":127578,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127578,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:10:01] local.INFO: Processing buffer {"connection_id":127578,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:10:01] local.INFO: IMEI packet received {"connection_id":127578,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":127578,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:10:02] local.INFO: TCP Data received {"connection_id":127578,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40dde600012cd4acc007377a90001100b729..."} 
[2026-07-08 14:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40dde600012cd4acc007377a90001100b729..."} 
[2026-07-08 14:10:02] local.INFO: Processing buffer {"connection_id":127578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40dde600012cd4acc007377a90001100b729..."} 
[2026-07-08 14:10:02] local.INFO: Packet analysis {"connection_id":127578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40dd"} 
[2026-07-08 14:10:02] local.INFO: Extracted packet for processing {"connection_id":127578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40dd"} 
[2026-07-08 14:10:02] local.INFO: GPS Element Parsed {"raw_longitude":752135360,"raw_latitude":121076368,"longitude_deg":75.213536,"latitude_deg":12.1076368,"altitude":17,"angle":183,"satellites":41,"speed":0,"hex_longitude":"2cd4acc0","hex_latitude":"07377a90","is_valid_coordinates":true} 
[2026-07-08 14:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575877120001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133338947626467328,"note":"Value kept but may cause issues"} 
[2026-07-08 14:10:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3120220454585966592,"note":"Value kept but may cause issues"} 
[2026-07-08 14:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783499712000,"timestamp_ms":1783499712000,"timestamp_seconds":1783499712,"priority":1,"record_length":96,"hex_timestamp":"0000019f40dde600"} 
[2026-07-08 14:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-08 14:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575877120001,"66":26332,"89":206,"83":43264,"24":0,"16":133338947626467328,"44":-3120220454585966592},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-08 14:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575877120001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:10:02] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-08 14:10:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-08 14:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133338947626467328,"km_value":133338947626467.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:10:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3120220454585966592,"description":"Unknown IO ID 44"} 
[2026-07-08 14:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575877120001,"power":26332,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3120220454585966592}} 
[2026-07-08 14:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":127578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451519,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:10:02] local.INFO: GPS data processed {"connection_id":127578,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:10:02] local.INFO: Acknowledgment sent {"connection_id":127578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:10:05] local.INFO: TCP Data received {"connection_id":126336,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:10:05] local.INFO: Processing buffer {"connection_id":126336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:10:05] local.INFO: IMEI packet received {"connection_id":126336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":126336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:10:06] local.INFO: TCP Data received {"connection_id":126336,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e10ab0012d829100059936e0000900c42b..."} 
[2026-07-08 14:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e10ab0012d829100059936e0000900c42b..."} 
[2026-07-08 14:10:06] local.INFO: Processing buffer {"connection_id":126336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e10ab0012d829100059936e0000900c42b..."} 
[2026-07-08 14:10:06] local.INFO: Packet analysis {"connection_id":126336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e1"} 
[2026-07-08 14:10:06] local.INFO: Extracted packet for processing {"connection_id":126336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e1"} 
[2026-07-08 14:10:06] local.INFO: GPS Element Parsed {"raw_longitude":763531520,"raw_latitude":93927136,"longitude_deg":76.353152,"latitude_deg":9.3927136,"altitude":9,"angle":196,"satellites":43,"speed":48,"hex_longitude":"2d829100","hex_latitude":"059936e0","is_valid_coordinates":true} 
[2026-07-08 14:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575976960001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342615073119797248,"note":"Value kept but may cause issues"} 
[2026-07-08 14:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035417097108449280,"note":"Value kept but may cause issues"} 
[2026-07-08 14:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783499918000,"timestamp_ms":1783499918000,"timestamp_seconds":1783499918,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e10ab0"} 
[2026-07-08 14:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 14:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575976960001,"66":27876,"19":206,"85":14592,"24":48,"16":342615073119797248,"45":-9035417097108449280},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-07-08 14:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575976960001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:10:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-08 14:10:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 14:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342615073119797248,"km_value":342615073119797.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035417097108449280,"description":"Unknown IO ID 45"} 
[2026-07-08 14:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575976960001,"power":27876,"unknown_19":206,"unknown_85":14592,"ignition":48,"odometer":null,"unknown_45":-9035417097108449280}} 
[2026-07-08 14:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":126336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:10:06] local.INFO: GPS data processed {"connection_id":126336,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:10:06] local.INFO: Acknowledgment sent {"connection_id":126336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:10:06] local.INFO: TCP Data received {"connection_id":126336,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e12dd8012d82880005991320000a00bc2d..."} 
[2026-07-08 14:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e12dd8012d82880005991320000a00bc2d..."} 
[2026-07-08 14:10:06] local.INFO: Processing buffer {"connection_id":126336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e12dd8012d82880005991320000a00bc2d..."} 
[2026-07-08 14:10:06] local.INFO: Packet analysis {"connection_id":126336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e1"} 
[2026-07-08 14:10:06] local.INFO: Extracted packet for processing {"connection_id":126336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e1"} 
[2026-07-08 14:10:06] local.INFO: GPS Element Parsed {"raw_longitude":763529216,"raw_latitude":93917984,"longitude_deg":76.3529216,"latitude_deg":9.3917984,"altitude":10,"angle":188,"satellites":45,"speed":34,"hex_longitude":"2d828800","hex_latitude":"05991320","is_valid_coordinates":true} 
[2026-07-08 14:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575979008001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342615528386330624,"note":"Value kept but may cause issues"} 
[2026-07-08 14:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9038442953110528000,"note":"Value kept but may cause issues"} 
[2026-07-08 14:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783499927000,"timestamp_ms":1783499927000,"timestamp_seconds":1783499927,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e12dd8"} 
[2026-07-08 14:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 14:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575979008001,"66":27843,"17":206,"85":14592,"24":34,"16":342615528386330624,"45":-9038442953110528000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-07-08 14:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575979008001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:10:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 14:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342615528386330624,"km_value":342615528386330.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9038442953110528000,"description":"Unknown IO ID 45"} 
[2026-07-08 14:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575979008001,"power":27843,"axis_x":206,"unknown_85":14592,"ignition":34,"odometer":null,"unknown_45":-9038442953110528000}} 
[2026-07-08 14:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":126336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:10:06] local.INFO: GPS data processed {"connection_id":126336,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:10:06] local.INFO: Acknowledgment sent {"connection_id":126336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:10:09] local.INFO: TCP Data received {"connection_id":126337,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:10:09] local.INFO: Processing buffer {"connection_id":126337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:10:09] local.INFO: IMEI packet received {"connection_id":126337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":126337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:10:12] local.INFO: TCP Data received {"connection_id":126337,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e16c58012d1a4c80071fe4f00030007020..."} 
[2026-07-08 14:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e16c58012d1a4c80071fe4f00030007020..."} 
[2026-07-08 14:10:12] local.INFO: Processing buffer {"connection_id":126337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e16c58012d1a4c80071fe4f00030007020..."} 
[2026-07-08 14:10:12] local.INFO: Packet analysis {"connection_id":126337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e1"} 
[2026-07-08 14:10:12] local.INFO: Extracted packet for processing {"connection_id":126337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e1"} 
[2026-07-08 14:10:12] local.INFO: GPS Element Parsed {"raw_longitude":756698240,"raw_latitude":119530736,"longitude_deg":75.669824,"latitude_deg":11.9530736,"altitude":48,"angle":112,"satellites":32,"speed":40,"hex_longitude":"2d1a4c80","hex_latitude":"071fe4f0","is_valid_coordinates":true} 
[2026-07-08 14:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575983104001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4784262855262208,"note":"Value kept but may cause issues"} 
[2026-07-08 14:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884756474655070208,"note":"Value kept but may cause issues"} 
[2026-07-08 14:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783499943000,"timestamp_ms":1783499943000,"timestamp_seconds":1783499943,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e16c58"} 
[2026-07-08 14:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:10: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-07-08 14:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-08 14:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":126337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":126337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":126337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575983104001,"66":14243,"121":206,"28":31744,"24":40,"16":4784262855262208,"45":1884756474655070208},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575983104001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:10:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:10:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4784262855262208,"km_value":4784262855262.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884756474655070208,"description":"Unknown IO ID 45"} 
[2026-07-08 14:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575983104001,"power":14243,"unknown_121":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1884756474655070208}} 
[2026-07-08 14:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":126337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:10:13] local.INFO: GPS data processed {"connection_id":126337,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:10:13] local.INFO: Acknowledgment sent {"connection_id":126337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:10:23] local.INFO: TCP Data received {"connection_id":126335,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e26e28012d0b130007029fc00005013423..."} 
[2026-07-08 14:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e26e28012d0b130007029fc00005013423..."} 
[2026-07-08 14:10:23] local.INFO: Processing buffer {"connection_id":126335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e26e28012d0b130007029fc00005013423..."} 
[2026-07-08 14:10:23] local.INFO: Packet analysis {"connection_id":126335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e2"} 
[2026-07-08 14:10:23] local.INFO: Extracted packet for processing {"connection_id":126335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e2"} 
[2026-07-08 14:10:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575925248001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783500009000,"timestamp_ms":1783500009000,"timestamp_seconds":1783500009,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e26e28"} 
[2026-07-08 14:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:10:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:10:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":126335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":126335,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":126335,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575925248001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575925248001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:10:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575925248001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":126335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451523,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:10:23] local.INFO: GPS data processed {"connection_id":126335,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:10:23] local.INFO: Acknowledgment sent {"connection_id":126335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:10:35] local.INFO: TCP Data received {"connection_id":127578,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e04760012cd4ad8007377ae0001100b729..."} 
[2026-07-08 14:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e04760012cd4ad8007377ae0001100b729..."} 
[2026-07-08 14:10:35] local.INFO: Processing buffer {"connection_id":127578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e04760012cd4ad8007377ae0001100b729..."} 
[2026-07-08 14:10:35] local.INFO: Packet analysis {"connection_id":127578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e0"} 
[2026-07-08 14:10:35] local.INFO: Extracted packet for processing {"connection_id":127578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e0"} 
[2026-07-08 14:10:35] local.INFO: GPS Element Parsed {"raw_longitude":752135552,"raw_latitude":121076448,"longitude_deg":75.2135552,"latitude_deg":12.1076448,"altitude":17,"angle":183,"satellites":41,"speed":0,"hex_longitude":"2cd4ad80","hex_latitude":"07377ae0","is_valid_coordinates":true} 
[2026-07-08 14:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575926272001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133338947626467328,"note":"Value kept but may cause issues"} 
[2026-07-08 14:10:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121909304446513152,"note":"Value kept but may cause issues"} 
[2026-07-08 14:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783499868000,"timestamp_ms":1783499868000,"timestamp_seconds":1783499868,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e04760"} 
[2026-07-08 14:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:10: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-07-08 14: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":102,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-08 14:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":127578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":127578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":127578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575926272001,"66":26278,"89":206,"83":43264,"24":0,"16":133338947626467328,"44":-3121909304446513152},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-08 14:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575926272001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:10:35] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-08 14:10:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-08 14:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133338947626467328,"km_value":133338947626467.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:10:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121909304446513152,"description":"Unknown IO ID 44"} 
[2026-07-08 14:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575926272001,"power":26278,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121909304446513152}} 
[2026-07-08 14:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":127578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451524,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:10:35] local.INFO: GPS data processed {"connection_id":127578,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:10:35] local.INFO: Acknowledgment sent {"connection_id":127578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:10:37] local.INFO: TCP Data received {"connection_id":126336,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e154e8012d8285400598f038000c00b32d..."} 
[2026-07-08 14:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e154e8012d8285400598f038000c00b32d..."} 
[2026-07-08 14:10:37] local.INFO: Processing buffer {"connection_id":126336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e154e8012d8285400598f038000c00b32d..."} 
[2026-07-08 14:10:37] local.INFO: Packet analysis {"connection_id":126336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e1"} 
[2026-07-08 14:10:37] local.INFO: Extracted packet for processing {"connection_id":126336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e1"} 
[2026-07-08 14:10:37] local.INFO: GPS Element Parsed {"raw_longitude":763528512,"raw_latitude":93909048,"longitude_deg":76.3528512,"latitude_deg":9.3909048,"altitude":12,"angle":179,"satellites":45,"speed":38,"hex_longitude":"2d828540","hex_latitude":"0598f038","is_valid_coordinates":true} 
[2026-07-08 14:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575981312001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342615966472994816,"note":"Value kept but may cause issues"} 
[2026-07-08 14:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9040976227903266816,"note":"Value kept but may cause issues"} 
[2026-07-08 14:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783499937000,"timestamp_ms":1783499937000,"timestamp_seconds":1783499937,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e154e8"} 
[2026-07-08 14:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 14:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575981312001,"66":27908,"19":206,"85":14592,"24":38,"16":342615966472994816,"45":-9040976227903266816},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-07-08 14:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575981312001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:10:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-08 14:10:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 14:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342615966472994816,"km_value":342615966472994.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9040976227903266816,"description":"Unknown IO ID 45"} 
[2026-07-08 14:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575981312001,"power":27908,"unknown_19":206,"unknown_85":14592,"ignition":38,"odometer":null,"unknown_45":-9040976227903266816}} 
[2026-07-08 14:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":126336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:10:38] local.INFO: GPS data processed {"connection_id":126336,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:10:38] local.INFO: Acknowledgment sent {"connection_id":126336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:10:50] local.INFO: TCP Data received {"connection_id":125451,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125451,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:10:50] local.INFO: Processing buffer {"connection_id":125451,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:10:50] local.INFO: IMEI packet received {"connection_id":125451,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":125451,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:10:55] local.INFO: TCP Data received {"connection_id":125451,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125451,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:10:55] local.INFO: Processing buffer {"connection_id":125451,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:10:55] local.INFO: IMEI packet received {"connection_id":125451,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":125451,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:10:56] local.INFO: TCP Data received {"connection_id":125451,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e26e28012d0b130007029fc00005013423..."} 
[2026-07-08 14:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e26e28012d0b130007029fc00005013423..."} 
[2026-07-08 14:10:56] local.INFO: Processing buffer {"connection_id":125451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e26e28012d0b130007029fc00005013423..."} 
[2026-07-08 14:10:56] local.INFO: Packet analysis {"connection_id":125451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e2"} 
[2026-07-08 14:10:56] local.INFO: Extracted packet for processing {"connection_id":125451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e2"} 
[2026-07-08 14:10:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575925248001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783500009000,"timestamp_ms":1783500009000,"timestamp_seconds":1783500009,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e26e28"} 
[2026-07-08 14:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:10:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:10:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":125451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":125451,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":125451,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575925248001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575925248001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:10:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575925248001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":125451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451526,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:10:56] local.INFO: GPS data processed {"connection_id":125451,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:10:56] local.INFO: Acknowledgment sent {"connection_id":125451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:10:56] local.INFO: TCP Data received {"connection_id":125452,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:10:56] local.INFO: Processing buffer {"connection_id":125452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:10:56] local.INFO: IMEI packet received {"connection_id":125452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":125452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:10:59] local.INFO: TCP Data received {"connection_id":125452,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:10:59] local.INFO: Processing buffer {"connection_id":125452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:10:59] local.INFO: IMEI packet received {"connection_id":125452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":125452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:11:00] local.INFO: TCP Data received {"connection_id":125451,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e26e28012d0b130007029fc00005013423..."} 
[2026-07-08 14:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e26e28012d0b130007029fc00005013423..."} 
[2026-07-08 14:11:00] local.INFO: Processing buffer {"connection_id":125451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e26e28012d0b130007029fc00005013423..."} 
[2026-07-08 14:11:00] local.INFO: Packet analysis {"connection_id":125451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e2"} 
[2026-07-08 14:11:00] local.INFO: Extracted packet for processing {"connection_id":125451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e2"} 
[2026-07-08 14:11:00] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575925248001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783500009000,"timestamp_ms":1783500009000,"timestamp_seconds":1783500009,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e26e28"} 
[2026-07-08 14:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125451,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125451,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575925248001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575925248001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:11:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575925248001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:11:00] local.INFO: TCP Data received {"connection_id":126338,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:11:00] local.INFO: Processing buffer {"connection_id":126338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:11:00] local.INFO: IMEI packet received {"connection_id":126338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":126338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":125451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451527,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:11:00] local.INFO: GPS data processed {"connection_id":125451,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:11:00] local.INFO: Acknowledgment sent {"connection_id":125451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:11:02] local.INFO: TCP Data received {"connection_id":125452,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e17040012d8288800598d438000c00a72d..."} 
[2026-07-08 14:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e17040012d8288800598d438000c00a72d..."} 
[2026-07-08 14:11:02] local.INFO: Processing buffer {"connection_id":125452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e17040012d8288800598d438000c00a72d..."} 
[2026-07-08 14:11:02] local.INFO: Packet analysis {"connection_id":125452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e1"} 
[2026-07-08 14:11:02] local.INFO: Extracted packet for processing {"connection_id":125452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e1"} 
[2026-07-08 14:11:02] local.INFO: GPS Element Parsed {"raw_longitude":763529344,"raw_latitude":93901880,"longitude_deg":76.3529344,"latitude_deg":9.390188,"altitude":12,"angle":167,"satellites":45,"speed":44,"hex_longitude":"2d828880","hex_latitude":"0598d438","is_valid_coordinates":true} 
[2026-07-08 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-07-08 14:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575983872001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342616314365345792,"note":"Value kept but may cause issues"} 
[2026-07-08 14:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041750284091508736,"note":"Value kept but may cause issues"} 
[2026-07-08 14:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783499944000,"timestamp_ms":1783499944000,"timestamp_seconds":1783499944,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e17040"} 
[2026-07-08 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-07-08 14:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 14:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:11:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 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-07-08 14:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575983872001,"66":27908,"19":206,"85":14592,"24":44,"16":342616314365345792,"45":-9041750284091508736},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-07-08 14:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575983872001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:11:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-08 14:11:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 14:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342616314365345792,"km_value":342616314365345.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041750284091508736,"description":"Unknown IO ID 45"} 
[2026-07-08 14:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575983872001,"power":27908,"unknown_19":206,"unknown_85":14592,"ignition":44,"odometer":null,"unknown_45":-9041750284091508736}} 
[2026-07-08 14:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":125452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:11:02] local.INFO: GPS data processed {"connection_id":125452,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:11:02] local.INFO: Acknowledgment sent {"connection_id":125452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:11:04] local.INFO: TCP Data received {"connection_id":126338,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:11:04] local.INFO: Processing buffer {"connection_id":126338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:11:04] local.INFO: IMEI packet received {"connection_id":126338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":126338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:11:05] local.INFO: TCP Data received {"connection_id":126338,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:11:05] local.INFO: Processing buffer {"connection_id":126338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:11:05] local.INFO: IMEI packet received {"connection_id":126338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":126338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:11:06] local.INFO: TCP Data received {"connection_id":126338,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e22bc0012d1ac240071f7a60003900ca23..."} 
[2026-07-08 14:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e22bc0012d1ac240071f7a60003900ca23..."} 
[2026-07-08 14:11:06] local.INFO: Processing buffer {"connection_id":126338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e22bc0012d1ac240071f7a60003900ca23..."} 
[2026-07-08 14:11:06] local.INFO: Packet analysis {"connection_id":126338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e2"} 
[2026-07-08 14:11:06] local.INFO: Extracted packet for processing {"connection_id":126338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e2"} 
[2026-07-08 14:11:06] local.INFO: GPS Element Parsed {"raw_longitude":756728384,"raw_latitude":119503456,"longitude_deg":75.6728384,"latitude_deg":11.9503456,"altitude":57,"angle":202,"satellites":35,"speed":39,"hex_longitude":"2d1ac240","hex_latitude":"071f7a60","is_valid_coordinates":true} 
[2026-07-08 14:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575997184001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4786448993615872,"note":"Value kept but may cause issues"} 
[2026-07-08 14:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929299889712609280,"note":"Value kept but may cause issues"} 
[2026-07-08 14:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783499992000,"timestamp_ms":1783499992000,"timestamp_seconds":1783499992,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e22bc0"} 
[2026-07-08 14:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-07-08 14:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575997184001,"66":14080,"121":206,"28":31744,"24":39,"16":4786448993615872,"45":1929299889712609280},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575997184001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:11:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:11:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4786448993615872,"km_value":4786448993615.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929299889712609280,"description":"Unknown IO ID 45"} 
[2026-07-08 14:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575997184001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1929299889712609280}} 
[2026-07-08 14:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":126338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:11:06] local.INFO: GPS data processed {"connection_id":126338,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:11:06] local.INFO: Acknowledgment sent {"connection_id":126338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:11:07] local.INFO: TCP Data received {"connection_id":127579,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127579,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:11:07] local.INFO: Processing buffer {"connection_id":127579,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:11:07] local.INFO: IMEI packet received {"connection_id":127579,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 14:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":127579,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:11:08] local.INFO: TCP Data received {"connection_id":127579,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127579,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:11:08] local.INFO: Processing buffer {"connection_id":127579,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:11:08] local.INFO: IMEI packet received {"connection_id":127579,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":127579,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:11:09] local.INFO: TCP Data received {"connection_id":127579,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e0acf0012cd4acc007377a90001100b729..."} 
[2026-07-08 14:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e0acf0012cd4acc007377a90001100b729..."} 
[2026-07-08 14:11:09] local.INFO: Processing buffer {"connection_id":127579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e0acf0012cd4acc007377a90001100b729..."} 
[2026-07-08 14:11:09] local.INFO: Packet analysis {"connection_id":127579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e0"} 
[2026-07-08 14:11:09] local.INFO: Extracted packet for processing {"connection_id":127579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e0"} 
[2026-07-08 14:11:09] local.INFO: GPS Element Parsed {"raw_longitude":752135360,"raw_latitude":121076368,"longitude_deg":75.213536,"latitude_deg":12.1076368,"altitude":17,"angle":183,"satellites":41,"speed":0,"hex_longitude":"2cd4acc0","hex_latitude":"07377a90","is_valid_coordinates":true} 
[2026-07-08 14:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575966208001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133338947626467328,"note":"Value kept but may cause issues"} 
[2026-07-08 14:11:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121698198213959680,"note":"Value kept but may cause issues"} 
[2026-07-08 14:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783499894000,"timestamp_ms":1783499894000,"timestamp_seconds":1783499894,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e0acf0"} 
[2026-07-08 14:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":102,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-08 14:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2202,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":127579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":127579,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":127579,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575966208001,"66":28332,"89":206,"83":43264,"24":0,"16":133338947626467328,"44":-3121698198213959680},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-08 14:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575966208001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:11:09] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-08 14:11:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-08 14:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133338947626467328,"km_value":133338947626467.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:11:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121698198213959680,"description":"Unknown IO ID 44"} 
[2026-07-08 14:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575966208001,"power":28332,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121698198213959680}} 
[2026-07-08 14:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":127579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451530,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:11:09] local.INFO: GPS data processed {"connection_id":127579,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:11:09] local.INFO: Acknowledgment sent {"connection_id":127579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:11:09] local.INFO: TCP Data received {"connection_id":126338,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e23b60012d1abc40071f6af0003900bf23..."} 
[2026-07-08 14:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e23b60012d1abc40071f6af0003900bf23..."} 
[2026-07-08 14:11:09] local.INFO: Processing buffer {"connection_id":126338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e23b60012d1abc40071f6af0003900bf23..."} 
[2026-07-08 14:11:09] local.INFO: Packet analysis {"connection_id":126338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e2"} 
[2026-07-08 14:11:09] local.INFO: Extracted packet for processing {"connection_id":126338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e2"} 
[2026-07-08 14:11:09] local.INFO: GPS Element Parsed {"raw_longitude":756726848,"raw_latitude":119499504,"longitude_deg":75.6726848,"latitude_deg":11.9499504,"altitude":57,"angle":191,"satellites":35,"speed":43,"hex_longitude":"2d1abc40","hex_latitude":"071f6af0","is_valid_coordinates":true} 
[2026-07-08 14:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575997952001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4786655152046080,"note":"Value kept but may cause issues"} 
[2026-07-08 14:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928173989805056000,"note":"Value kept but may cause issues"} 
[2026-07-08 14:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783499996000,"timestamp_ms":1783499996000,"timestamp_seconds":1783499996,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e23b60"} 
[2026-07-08 14:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:11: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-07-08 14: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-08 14:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-07-08 14:11:09] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3792726017,"note":"Value kept but may cause issues"} 
[2026-07-08 14:11:09] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2426404921,"note":"Value kept but may cause issues"} 
[2026-07-08 14:11:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-08 14:11:09] local.WARNING: Large IO value detected {"io_id":191,"raw_value":3221692308,"note":"Value kept but may cause issues"} 
[2026-07-08 14:11:09] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,1,159,32,45,64,133,57,35,10,66,136,128,240,92,31,4,113,205,29,8,191,33,239,56,2,17,7,55,37],"length":479,"final_offset":609,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-08 14:11:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107505111837114368,"timestamp_seconds":4107505111837114.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 14:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575997952001,"66":14428,"121":206,"28":31744,"24":43,"16":4786655152046080,"45":1928173989805056000},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575997952001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:11:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:11:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4786655152046080,"km_value":4786655152046.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928173989805056000,"description":"Unknown IO ID 45"} 
[2026-07-08 14:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575997952001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":43,"odometer":null,"unknown_45":1928173989805056000}} 
[2026-07-08 14:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":126338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:11:09] local.INFO: GPS data processed {"connection_id":126338,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:11:09] local.INFO: Acknowledgment sent {"connection_id":126338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:11:11] local.INFO: TCP Data received {"connection_id":127579,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e12220012cd4acc007377a90001100b729..."} 
[2026-07-08 14:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e12220012cd4acc007377a90001100b729..."} 
[2026-07-08 14:11:11] local.INFO: Processing buffer {"connection_id":127579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e12220012cd4acc007377a90001100b729..."} 
[2026-07-08 14:11:11] local.INFO: Packet analysis {"connection_id":127579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e1"} 
[2026-07-08 14:11:11] local.INFO: Extracted packet for processing {"connection_id":127579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e1"} 
[2026-07-08 14:11:11] local.INFO: GPS Element Parsed {"raw_longitude":752135360,"raw_latitude":121076368,"longitude_deg":75.213536,"latitude_deg":12.1076368,"altitude":17,"angle":183,"satellites":41,"speed":0,"hex_longitude":"2cd4acc0","hex_latitude":"07377a90","is_valid_coordinates":true} 
[2026-07-08 14:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575972864001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133338947626467328,"note":"Value kept but may cause issues"} 
[2026-07-08 14:11:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121909304446513152,"note":"Value kept but may cause issues"} 
[2026-07-08 14:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783499924000,"timestamp_ms":1783499924000,"timestamp_seconds":1783499924,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e12220"} 
[2026-07-08 14:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-08 14:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2296,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":127579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":127579,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":127579,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575972864001,"66":28398,"89":206,"83":43264,"24":0,"16":133338947626467328,"44":-3121909304446513152},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-08 14:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575972864001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:11:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-08 14:11:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-08 14:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133338947626467328,"km_value":133338947626467.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:11:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121909304446513152,"description":"Unknown IO ID 44"} 
[2026-07-08 14:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575972864001,"power":28398,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121909304446513152}} 
[2026-07-08 14:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":127579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451532,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:11:11] local.INFO: GPS data processed {"connection_id":127579,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:11:11] local.INFO: Acknowledgment sent {"connection_id":127579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:11:43] local.INFO: TCP Data received {"connection_id":126338,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e2c030012d1af980071f3c50003f009521..."} 
[2026-07-08 14:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e2c030012d1af980071f3c50003f009521..."} 
[2026-07-08 14:11:43] local.INFO: Processing buffer {"connection_id":126338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e2c030012d1af980071f3c50003f009521..."} 
[2026-07-08 14:11:43] local.INFO: Packet analysis {"connection_id":126338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e2"} 
[2026-07-08 14:11:43] local.INFO: Extracted packet for processing {"connection_id":126338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e2"} 
[2026-07-08 14:11:43] local.INFO: GPS Element Parsed {"raw_longitude":756742528,"raw_latitude":119487568,"longitude_deg":75.6742528,"latitude_deg":11.9487568,"altitude":63,"angle":149,"satellites":33,"speed":24,"hex_longitude":"2d1af980","hex_latitude":"071f3c50","is_valid_coordinates":true} 
[2026-07-08 14:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576007424001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4787986591907840,"note":"Value kept but may cause issues"} 
[2026-07-08 14:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943444007287689216,"note":"Value kept but may cause issues"} 
[2026-07-08 14:11:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783500030000,"timestamp_ms":1783500030000,"timestamp_seconds":1783500030,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e2c030"} 
[2026-07-08 14:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:11:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-08 14:11:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:11:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":126338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":126338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":126338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576007424001,"66":14004,"121":206,"28":31744,"24":24,"16":4787986591907840,"45":1943444007287689216},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576007424001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:11:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:11:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4787986591907840,"km_value":4787986591907.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943444007287689216,"description":"Unknown IO ID 45"} 
[2026-07-08 14:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576007424001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1943444007287689216}} 
[2026-07-08 14:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":126338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:11:43] local.INFO: GPS data processed {"connection_id":126338,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:11:43] local.INFO: Acknowledgment sent {"connection_id":126338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:11:44] local.INFO: TCP Data received {"connection_id":125453,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125453,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:11:44] local.INFO: Processing buffer {"connection_id":125453,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:11:44] local.INFO: IMEI packet received {"connection_id":125453,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":125453,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:11:50] local.INFO: TCP Data received {"connection_id":125453,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125453,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:11:50] local.INFO: Processing buffer {"connection_id":125453,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:11:50] local.INFO: IMEI packet received {"connection_id":125453,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":125453,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:11:50] local.INFO: TCP Data received {"connection_id":125453,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e26e28012d0b130007029fc00005013423..."} 
[2026-07-08 14:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e26e28012d0b130007029fc00005013423..."} 
[2026-07-08 14:11:50] local.INFO: Processing buffer {"connection_id":125453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e26e28012d0b130007029fc00005013423..."} 
[2026-07-08 14:11:50] local.INFO: Packet analysis {"connection_id":125453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e2"} 
[2026-07-08 14:11:50] local.INFO: Extracted packet for processing {"connection_id":125453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e2"} 
[2026-07-08 14:11:50] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575925248001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783500009000,"timestamp_ms":1783500009000,"timestamp_seconds":1783500009,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e26e28"} 
[2026-07-08 14:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:11:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:11:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":125453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":125453,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":125453,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575925248001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575925248001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:11:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575925248001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":125453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451534,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:11:51] local.INFO: GPS data processed {"connection_id":125453,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:11:51] local.INFO: Acknowledgment sent {"connection_id":125453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:11:56] local.INFO: TCP Data received {"connection_id":125569,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:11:56] local.INFO: Processing buffer {"connection_id":125569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:11:56] local.INFO: IMEI packet received {"connection_id":125569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":125569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:11:59] local.INFO: TCP Data received {"connection_id":125569,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:11:59] local.INFO: Processing buffer {"connection_id":125569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:11:59] local.INFO: IMEI packet received {"connection_id":125569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":125569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:12:00] local.INFO: TCP Data received {"connection_id":127580,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127580,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:12:00] local.INFO: Processing buffer {"connection_id":127580,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:12:00] local.INFO: IMEI packet received {"connection_id":127580,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 14:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":127580,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:12:00] local.INFO: TCP Data received {"connection_id":125569,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e18f80012d8293000598b020000a00a52d..."} 
[2026-07-08 14:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e18f80012d8293000598b020000a00a52d..."} 
[2026-07-08 14:12:00] local.INFO: Processing buffer {"connection_id":125569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e18f80012d8293000598b020000a00a52d..."} 
[2026-07-08 14:12:00] local.INFO: Packet analysis {"connection_id":125569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e1"} 
[2026-07-08 14:12:00] local.INFO: Extracted packet for processing {"connection_id":125569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e1"} 
[2026-07-08 14:12:00] local.INFO: GPS Element Parsed {"raw_longitude":763532032,"raw_latitude":93892640,"longitude_deg":76.3532032,"latitude_deg":9.389264,"altitude":10,"angle":165,"satellites":45,"speed":49,"hex_longitude":"2d829300","hex_latitude":"0598b020","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575985664001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342616782516781056,"note":"Value kept but may cause issues"} 
[2026-07-08 14:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9040835490419034112,"note":"Value kept but may cause issues"} 
[2026-07-08 14:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783499952000,"timestamp_ms":1783499952000,"timestamp_seconds":1783499952,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e18f80"} 
[2026-07-08 14:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 14:12:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575985664001,"66":27919,"19":206,"85":14592,"24":49,"16":342616782516781056,"45":-9040835490419034112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-07-08 14:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575985664001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:12:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-08 14:12:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 14:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342616782516781056,"km_value":342616782516781.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9040835490419034112,"description":"Unknown IO ID 45"} 
[2026-07-08 14:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575985664001,"power":27919,"unknown_19":206,"unknown_85":14592,"ignition":49,"odometer":null,"unknown_45":-9040835490419034112}} 
[2026-07-08 14:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":125569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:12:00] local.INFO: GPS data processed {"connection_id":125569,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:12:00] local.INFO: Acknowledgment sent {"connection_id":125569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:12:01] local.INFO: TCP Data received {"connection_id":127580,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127580,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:12:01] local.INFO: Processing buffer {"connection_id":127580,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:12:01] local.INFO: IMEI packet received {"connection_id":127580,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":127580,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:12:02] local.INFO: TCP Data received {"connection_id":127580,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e1f5100100000000000000000000000000..."} 
[2026-07-08 14:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e1f5100100000000000000000000000000..."} 
[2026-07-08 14:12:02] local.INFO: Processing buffer {"connection_id":127580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e1f5100100000000000000000000000000..."} 
[2026-07-08 14:12:02] local.INFO: Packet analysis {"connection_id":127580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e1"} 
[2026-07-08 14:12:02] local.INFO: Extracted packet for processing {"connection_id":127580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e1"} 
[2026-07-08 14:12:02] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-08 14:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575980544001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133338947626467328,"note":"Value kept but may cause issues"} 
[2026-07-08 14:12:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121909304446513152,"note":"Value kept but may cause issues"} 
[2026-07-08 14:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783499978000,"timestamp_ms":1783499978000,"timestamp_seconds":1783499978,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e1f510"} 
[2026-07-08 14:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:12: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-07-08 14:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 14:12:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:12:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127580,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127580,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":127580,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-08 14:12:02] local.INFO: GPS data processed {"connection_id":127580,"processed":0,"errors":0,"total":1} 
[2026-07-08 14:12:02] local.INFO: Acknowledgment sent {"connection_id":127580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:12:03] local.INFO: TCP Data received {"connection_id":125570,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:12:03] local.INFO: Processing buffer {"connection_id":125570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:12:03] local.INFO: IMEI packet received {"connection_id":125570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":125570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:12:05] local.INFO: TCP Data received {"connection_id":125570,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:12:05] local.INFO: Processing buffer {"connection_id":125570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:12:05] local.INFO: IMEI packet received {"connection_id":125570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":125570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:12:07] local.INFO: TCP Data received {"connection_id":125570,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:12:07] local.INFO: Processing buffer {"connection_id":125570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:12:07] local.INFO: IMEI packet received {"connection_id":125570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":125570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:12:07] local.INFO: TCP Data received {"connection_id":127580,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e18f80012cd46d80073764b0000b010829..."} 
[2026-07-08 14:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e18f80012cd46d80073764b0000b010829..."} 
[2026-07-08 14:12:07] local.INFO: Processing buffer {"connection_id":127580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e18f80012cd46d80073764b0000b010829..."} 
[2026-07-08 14:12:07] local.INFO: Packet analysis {"connection_id":127580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e1"} 
[2026-07-08 14:12:07] local.INFO: Extracted packet for processing {"connection_id":127580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e1"} 
[2026-07-08 14:12:07] local.INFO: GPS Element Parsed {"raw_longitude":752119168,"raw_latitude":121070768,"longitude_deg":75.2119168,"latitude_deg":12.1070768,"altitude":11,"angle":264,"satellites":41,"speed":38,"hex_longitude":"2cd46d80","hex_latitude":"073764b0","is_valid_coordinates":true} 
[2026-07-08 14:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133338947626467328,"note":"Value kept but may cause issues"} 
[2026-07-08 14:12:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,254,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 14:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783499952000,"timestamp_ms":1783499952000,"timestamp_seconds":1783499952,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e18f80"} 
[2026-07-08 14:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:12: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-08 14:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1464,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127580,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127580,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28495,"254":206,"2":56832,"24":38,"16":133338947626467328},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,2,24,16]} 
[2026-07-08 14:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-08 14:12:07] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-08 14:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133338947626467328,"km_value":133338947626467.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:12:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28495,"unknown_254":206,"power_alt":56832,"ignition":38,"odometer":null}} 
[2026-07-08 14:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":127580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451536,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:12:07] local.INFO: GPS data processed {"connection_id":127580,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:12:07] local.INFO: Acknowledgment sent {"connection_id":127580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:12:09] local.INFO: TCP Data received {"connection_id":125570,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e2cbe8012d1afbc0071f3548004000a820..."} 
[2026-07-08 14:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e2cbe8012d1afbc0071f3548004000a820..."} 
[2026-07-08 14:12:09] local.INFO: Processing buffer {"connection_id":125570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e2cbe8012d1afbc0071f3548004000a820..."} 
[2026-07-08 14:12:09] local.INFO: Packet analysis {"connection_id":125570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e2"} 
[2026-07-08 14:12:09] local.INFO: Extracted packet for processing {"connection_id":125570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e2"} 
[2026-07-08 14:12:09] local.INFO: GPS Element Parsed {"raw_longitude":756743104,"raw_latitude":119485768,"longitude_deg":75.6743104,"latitude_deg":11.9485768,"altitude":64,"angle":168,"satellites":32,"speed":23,"hex_longitude":"2d1afbc0","hex_latitude":"071f3548","is_valid_coordinates":true} 
[2026-07-08 14:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576007680001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4788081081188352,"note":"Value kept but may cause issues"} 
[2026-07-08 14:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943725482264252416,"note":"Value kept but may cause issues"} 
[2026-07-08 14:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783500033000,"timestamp_ms":1783500033000,"timestamp_seconds":1783500033,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e2cbe8"} 
[2026-07-08 14:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:12: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-07-08 14: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-08 14:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576007680001,"66":13993,"121":206,"28":31744,"24":23,"16":4788081081188352,"45":1943725482264252416},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576007680001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:12:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:12:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4788081081188352,"km_value":4788081081188.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943725482264252416,"description":"Unknown IO ID 45"} 
[2026-07-08 14:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576007680001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1943725482264252416}} 
[2026-07-08 14:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":125570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:12:09] local.INFO: GPS data processed {"connection_id":125570,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:12:09] local.INFO: Acknowledgment sent {"connection_id":125570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:12:15] local.INFO: TCP Data received {"connection_id":125570,"ip":"117.224.97.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e30e50012d1affc0071f11f8004400a922..."} 
[2026-07-08 14:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e30e50012d1affc0071f11f8004400a922..."} 
[2026-07-08 14:12:15] local.INFO: Processing buffer {"connection_id":125570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e30e50012d1affc0071f11f8004400a922..."} 
[2026-07-08 14:12:15] local.INFO: Packet analysis {"connection_id":125570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e3"} 
[2026-07-08 14:12:15] local.INFO: Extracted packet for processing {"connection_id":125570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e3"} 
[2026-07-08 14:12:15] local.INFO: GPS Element Parsed {"raw_longitude":756744128,"raw_latitude":119476728,"longitude_deg":75.6744128,"latitude_deg":11.9476728,"altitude":68,"angle":169,"satellites":34,"speed":23,"hex_longitude":"2d1affc0","hex_latitude":"071f11f8","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576008448001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4788523462819840,"note":"Value kept but may cause issues"} 
[2026-07-08 14:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944358800961390592,"note":"Value kept but may cause issues"} 
[2026-07-08 14:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783500050000,"timestamp_ms":1783500050000,"timestamp_seconds":1783500050,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e30e50"} 
[2026-07-08 14:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:12:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 14:12: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-07-08 14: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-07-08 14:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":125570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":125570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":125570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.97.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576008448001,"66":14483,"121":206,"28":31744,"24":23,"16":4788523462819840,"45":1944358800961390592},"client_ip":"117.224.97.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576008448001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:12:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:12:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4788523462819840,"km_value":4788523462819.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944358800961390592,"description":"Unknown IO ID 45"} 
[2026-07-08 14:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576008448001,"power":14483,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1944358800961390592}} 
[2026-07-08 14:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":125570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:12:15] local.INFO: GPS data processed {"connection_id":125570,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:12:15] local.INFO: Acknowledgment sent {"connection_id":125570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:12:24] local.INFO: TCP Data received {"connection_id":125453,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e26e28012d0b130007029fc00005013423..."} 
[2026-07-08 14:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e26e28012d0b130007029fc00005013423..."} 
[2026-07-08 14:12:24] local.INFO: Processing buffer {"connection_id":125453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e26e28012d0b130007029fc00005013423..."} 
[2026-07-08 14:12:24] local.INFO: Packet analysis {"connection_id":125453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e2"} 
[2026-07-08 14:12:24] local.INFO: Extracted packet for processing {"connection_id":125453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e2"} 
[2026-07-08 14:12:24] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575925248001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783500009000,"timestamp_ms":1783500009000,"timestamp_seconds":1783500009,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e26e28"} 
[2026-07-08 14:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:12:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:12: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-07-08 14: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-07-08 14:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125453,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125453,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575925248001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575925248001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:12:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575925248001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":125453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451539,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:12:24] local.INFO: GPS data processed {"connection_id":125453,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:12:24] local.INFO: Acknowledgment sent {"connection_id":125453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:12:31] local.INFO: TCP Data received {"connection_id":125569,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e3c5e8012d832d00059717d0000500992d..."} 
[2026-07-08 14:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e3c5e8012d832d00059717d0000500992d..."} 
[2026-07-08 14:12:31] local.INFO: Processing buffer {"connection_id":125569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e3c5e8012d832d00059717d0000500992d..."} 
[2026-07-08 14:12:31] local.INFO: Packet analysis {"connection_id":125569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e3"} 
[2026-07-08 14:12:31] local.INFO: Extracted packet for processing {"connection_id":125569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e3"} 
[2026-07-08 14:12:31] local.INFO: GPS Element Parsed {"raw_longitude":763571456,"raw_latitude":93788112,"longitude_deg":76.3571456,"latitude_deg":9.3788112,"altitude":5,"angle":153,"satellites":45,"speed":53,"hex_longitude":"2d832d00","hex_latitude":"059717d0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 14:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576022784001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342622258600083456,"note":"Value kept but may cause issues"} 
[2026-07-08 14:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8999036456404258816,"note":"Value kept but may cause issues"} 
[2026-07-08 14:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783500097000,"timestamp_ms":1783500097000,"timestamp_seconds":1783500097,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e3c5e8"} 
[2026-07-08 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-07-08 14:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 14:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 14:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":125569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":125569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":125569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576022784001,"66":27919,"143":206,"85":14592,"24":53,"16":342622258600083456,"45":-8999036456404258816},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,45]} 
[2026-07-08 14:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576022784001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:12:31] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-08 14:12:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 14:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342622258600083456,"km_value":342622258600083.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8999036456404258816,"description":"Unknown IO ID 45"} 
[2026-07-08 14:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576022784001,"power":27919,"unknown_143":206,"unknown_85":14592,"ignition":53,"odometer":null,"unknown_45":-8999036456404258816}} 
[2026-07-08 14:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":125569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:12:31] local.INFO: GPS data processed {"connection_id":125569,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:12:31] local.INFO: Acknowledgment sent {"connection_id":125569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:12:39] local.INFO: TCP Data received {"connection_id":127580,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e1e188012cd44780073760b0000c010228..."} 
[2026-07-08 14:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e1e188012cd44780073760b0000c010228..."} 
[2026-07-08 14:12:39] local.INFO: Processing buffer {"connection_id":127580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e1e188012cd44780073760b0000c010228..."} 
[2026-07-08 14:12:39] local.INFO: Packet analysis {"connection_id":127580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e1"} 
[2026-07-08 14:12:39] local.INFO: Extracted packet for processing {"connection_id":127580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e1"} 
[2026-07-08 14:12:39] local.INFO: GPS Element Parsed {"raw_longitude":752109440,"raw_latitude":121069744,"longitude_deg":75.210944,"latitude_deg":12.1069744,"altitude":12,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2cd44780","hex_latitude":"073760b0","is_valid_coordinates":true} 
[2026-07-08 14:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575987712001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133338947626467328,"note":"Value kept but may cause issues"} 
[2026-07-08 14:12:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3139712596724895744,"note":"Value kept but may cause issues"} 
[2026-07-08 14:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783499973000,"timestamp_ms":1783499973000,"timestamp_seconds":1783499973,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e1e188"} 
[2026-07-08 14:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:12: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-07-08 14:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-08 14:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1464,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":127580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":127580,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":127580,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575987712001,"66":28582,"254":206,"2":56832,"24":0,"16":133338947626467328,"44":-3139712596724895744},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,2,24,16,44]} 
[2026-07-08 14:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575987712001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:12:39] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-08 14:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133338947626467328,"km_value":133338947626467.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:12:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3139712596724895744,"description":"Unknown IO ID 44"} 
[2026-07-08 14:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575987712001,"power":28582,"unknown_254":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3139712596724895744}} 
[2026-07-08 14:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":127580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451541,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:12:39] local.INFO: GPS data processed {"connection_id":127580,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:12:39] local.INFO: Acknowledgment sent {"connection_id":127580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:12:44] local.INFO: TCP Data received {"connection_id":125454,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125454,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:12:44] local.INFO: Processing buffer {"connection_id":125454,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:12:44] local.INFO: IMEI packet received {"connection_id":125454,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":125454,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:12:50] local.INFO: TCP Data received {"connection_id":125454,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125454,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:12:50] local.INFO: Processing buffer {"connection_id":125454,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:12:50] local.INFO: IMEI packet received {"connection_id":125454,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":125454,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:12:52] local.INFO: TCP Data received {"connection_id":125454,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e26e28012d0b130007029fc00005013423..."} 
[2026-07-08 14:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e26e28012d0b130007029fc00005013423..."} 
[2026-07-08 14:12:52] local.INFO: Processing buffer {"connection_id":125454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e26e28012d0b130007029fc00005013423..."} 
[2026-07-08 14:12:52] local.INFO: Packet analysis {"connection_id":125454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e2"} 
[2026-07-08 14:12:52] local.INFO: Extracted packet for processing {"connection_id":125454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e2"} 
[2026-07-08 14:12:52] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575925248001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783500009000,"timestamp_ms":1783500009000,"timestamp_seconds":1783500009,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e26e28"} 
[2026-07-08 14:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:12:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":125454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":125454,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":125454,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575925248001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575925248001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:12:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575925248001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":125454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451542,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:12:52] local.INFO: GPS data processed {"connection_id":125454,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:12:52] local.INFO: Acknowledgment sent {"connection_id":125454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:12:54] local.INFO: TCP Data received {"connection_id":126339,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126339,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:12:54] local.INFO: Processing buffer {"connection_id":126339,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:12:54] local.INFO: IMEI packet received {"connection_id":126339,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 14:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":126339,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:12:55] local.INFO: TCP Data received {"connection_id":125455,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:12:55] local.INFO: Processing buffer {"connection_id":125455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:12:55] local.INFO: IMEI packet received {"connection_id":125455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":125455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:12:56] local.INFO: TCP Data received {"connection_id":126339,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126339,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:12:56] local.INFO: Processing buffer {"connection_id":126339,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:12:56] local.INFO: IMEI packet received {"connection_id":126339,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":126339,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:12:59] local.INFO: TCP Data received {"connection_id":125455,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:12:59] local.INFO: Processing buffer {"connection_id":125455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:12:59] local.INFO: IMEI packet received {"connection_id":125455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":125455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:13:00] local.INFO: TCP Data received {"connection_id":125455,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e3e140012d833d400596f5880005009b2d..."} 
[2026-07-08 14:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e3e140012d833d400596f5880005009b2d..."} 
[2026-07-08 14:13:00] local.INFO: Processing buffer {"connection_id":125455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e3e140012d833d400596f5880005009b2d..."} 
[2026-07-08 14:13:00] local.INFO: Packet analysis {"connection_id":125455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e3"} 
[2026-07-08 14:13:00] local.INFO: Extracted packet for processing {"connection_id":125455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e3"} 
[2026-07-08 14:13:00] local.INFO: GPS Element Parsed {"raw_longitude":763575616,"raw_latitude":93779336,"longitude_deg":76.3575616,"latitude_deg":9.3779336,"altitude":5,"angle":155,"satellites":45,"speed":57,"hex_longitude":"2d833d40","hex_latitude":"0596f588","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576024832001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342622726751518720,"note":"Value kept but may cause issues"} 
[2026-07-08 14:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8994532856779255808,"note":"Value kept but may cause issues"} 
[2026-07-08 14:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783500104000,"timestamp_ms":1783500104000,"timestamp_seconds":1783500104,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e3e140"} 
[2026-07-08 14:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 14:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576024832001,"66":27865,"143":206,"85":14592,"24":57,"16":342622726751518720,"45":-8994532856779255808},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,45]} 
[2026-07-08 14:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576024832001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:13:00] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-08 14:13:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 14:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342622726751518720,"km_value":342622726751518.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8994532856779255808,"description":"Unknown IO ID 45"} 
[2026-07-08 14:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576024832001,"power":27865,"unknown_143":206,"unknown_85":14592,"ignition":57,"odometer":null,"unknown_45":-8994532856779255808}} 
[2026-07-08 14:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":125455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:13:00] local.INFO: GPS data processed {"connection_id":125455,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:13:00] local.INFO: Acknowledgment sent {"connection_id":125455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:13:01] local.INFO: TCP Data received {"connection_id":126339,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126339,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:13:01] local.INFO: Processing buffer {"connection_id":126339,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:13:01] local.INFO: IMEI packet received {"connection_id":126339,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":126339,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:13:03] local.INFO: TCP Data received {"connection_id":126340,"ip":"117.224.97.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:13:03] local.INFO: Processing buffer {"connection_id":126340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:13:03] local.INFO: IMEI packet received {"connection_id":126340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":126340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:13:03] local.INFO: TCP Data received {"connection_id":126339,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e23390012cd44780073760b0000c010228..."} 
[2026-07-08 14:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e23390012cd44780073760b0000c010228..."} 
[2026-07-08 14:13:03] local.INFO: Processing buffer {"connection_id":126339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e23390012cd44780073760b0000c010228..."} 
[2026-07-08 14:13:03] local.INFO: Packet analysis {"connection_id":126339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e2"} 
[2026-07-08 14:13:03] local.INFO: Extracted packet for processing {"connection_id":126339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e2"} 
[2026-07-08 14:13:03] local.INFO: GPS Element Parsed {"raw_longitude":752109440,"raw_latitude":121069744,"longitude_deg":75.210944,"latitude_deg":12.1069744,"altitude":12,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2cd44780","hex_latitude":"073760b0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 14:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575993088001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133338947626467328,"note":"Value kept but may cause issues"} 
[2026-07-08 14:13:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3150408645840162816,"note":"Value kept but may cause issues"} 
[2026-07-08 14:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783499994000,"timestamp_ms":1783499994000,"timestamp_seconds":1783499994,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e23390"} 
[2026-07-08 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-07-08 14:13: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-07-08 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":111,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-08 14:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2247,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 14:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126339,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126339,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575993088001,"66":28571,"254":206,"2":56832,"24":0,"16":133338947626467328,"44":-3150408645840162816},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,2,24,16,44]} 
[2026-07-08 14:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575993088001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:13:03] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-08 14:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133338947626467328,"km_value":133338947626467.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:13:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3150408645840162816,"description":"Unknown IO ID 44"} 
[2026-07-08 14:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575993088001,"power":28571,"unknown_254":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3150408645840162816}} 
[2026-07-08 14:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":126339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451544,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:13:03] local.INFO: GPS data processed {"connection_id":126339,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:13:03] local.INFO: Acknowledgment sent {"connection_id":126339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:13:23] local.INFO: TCP Data received {"connection_id":125454,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e26e28012d0b130007029fc00005013423..."} 
[2026-07-08 14:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e26e28012d0b130007029fc00005013423..."} 
[2026-07-08 14:13:23] local.INFO: Processing buffer {"connection_id":125454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e26e28012d0b130007029fc00005013423..."} 
[2026-07-08 14:13:23] local.INFO: Packet analysis {"connection_id":125454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e2"} 
[2026-07-08 14:13:23] local.INFO: Extracted packet for processing {"connection_id":125454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e2"} 
[2026-07-08 14:13:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575925248001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783500009000,"timestamp_ms":1783500009000,"timestamp_seconds":1783500009,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e26e28"} 
[2026-07-08 14:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:13:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:13:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":125454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":125454,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":125454,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575925248001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575925248001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:13:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575925248001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":125454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451545,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:13:24] local.INFO: GPS data processed {"connection_id":125454,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:13:24] local.INFO: Acknowledgment sent {"connection_id":125454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:13:31] local.INFO: TCP Data received {"connection_id":125455,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e3f8b0012d834c000596d5980004009b2c..."} 
[2026-07-08 14:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e3f8b0012d834c000596d5980004009b2c..."} 
[2026-07-08 14:13:31] local.INFO: Processing buffer {"connection_id":125455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e3f8b0012d834c000596d5980004009b2c..."} 
[2026-07-08 14:13:31] local.INFO: Packet analysis {"connection_id":125455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e3"} 
[2026-07-08 14:13:31] local.INFO: Extracted packet for processing {"connection_id":125455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e3"} 
[2026-07-08 14:13:31] local.INFO: GPS Element Parsed {"raw_longitude":763579392,"raw_latitude":93771160,"longitude_deg":76.3579392,"latitude_deg":9.377116,"altitude":4,"angle":155,"satellites":44,"speed":61,"hex_longitude":"2d834c00","hex_latitude":"0596d598","is_valid_coordinates":true} 
[2026-07-08 14:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576026624001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342623160543215616,"note":"Value kept but may cause issues"} 
[2026-07-08 14:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8989958888409954304,"note":"Value kept but may cause issues"} 
[2026-07-08 14:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783500110000,"timestamp_ms":1783500110000,"timestamp_seconds":1783500110,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e3f8b0"} 
[2026-07-08 14:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 14:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:13:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":125455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":125455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":125455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576026624001,"66":27865,"143":206,"85":14592,"24":61,"16":342623160543215616,"45":-8989958888409954304},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,45]} 
[2026-07-08 14:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576026624001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:13:31] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-08 14:13:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 14:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342623160543215616,"km_value":342623160543215.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8989958888409954304,"description":"Unknown IO ID 45"} 
[2026-07-08 14:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576026624001,"power":27865,"unknown_143":206,"unknown_85":14592,"ignition":61,"odometer":null,"unknown_45":-8989958888409954304}} 
[2026-07-08 14:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":125455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:13:31] local.INFO: GPS data processed {"connection_id":125455,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:13:31] local.INFO: Acknowledgment sent {"connection_id":125455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:13:45] local.INFO: TCP Data received {"connection_id":126341,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126341,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:13:45] local.INFO: Processing buffer {"connection_id":126341,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:13:45] local.INFO: IMEI packet received {"connection_id":126341,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":126341,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:13:46] local.INFO: TCP Data received {"connection_id":126339,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e28598012cd44780073760b0000c010228..."} 
[2026-07-08 14:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e28598012cd44780073760b0000c010228..."} 
[2026-07-08 14:13:46] local.INFO: Processing buffer {"connection_id":126339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e28598012cd44780073760b0000c010228..."} 
[2026-07-08 14:13:46] local.INFO: Packet analysis {"connection_id":126339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e2"} 
[2026-07-08 14:13:46] local.INFO: Extracted packet for processing {"connection_id":126339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e2"} 
[2026-07-08 14:13:46] local.INFO: GPS Element Parsed {"raw_longitude":752109440,"raw_latitude":121069744,"longitude_deg":75.210944,"latitude_deg":12.1069744,"altitude":12,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2cd44780","hex_latitude":"073760b0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575998464001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133338947626467328,"note":"Value kept but may cause issues"} 
[2026-07-08 14:13:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3150408645840162816,"note":"Value kept but may cause issues"} 
[2026-07-08 14:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783500015000,"timestamp_ms":1783500015000,"timestamp_seconds":1783500015,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e28598"} 
[2026-07-08 14:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":111,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-08 14:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2148,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":126339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":126339,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":126339,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575998464001,"66":28571,"254":206,"2":56832,"24":0,"16":133338947626467328,"44":-3150408645840162816},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,2,24,16,44]} 
[2026-07-08 14:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575998464001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:13:46] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-08 14:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133338947626467328,"km_value":133338947626467.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:13:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3150408645840162816,"description":"Unknown IO ID 44"} 
[2026-07-08 14:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575998464001,"power":28571,"unknown_254":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3150408645840162816}} 
[2026-07-08 14:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":126339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451547,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:13:46] local.INFO: GPS data processed {"connection_id":126339,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:13:46] local.INFO: Acknowledgment sent {"connection_id":126339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:13:50] local.INFO: TCP Data received {"connection_id":126341,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126341,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:13:50] local.INFO: Processing buffer {"connection_id":126341,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:13:50] local.INFO: IMEI packet received {"connection_id":126341,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":126341,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:13:50] local.INFO: TCP Data received {"connection_id":126341,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e26e28012d0b130007029fc00005013423..."} 
[2026-07-08 14:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e26e28012d0b130007029fc00005013423..."} 
[2026-07-08 14:13:50] local.INFO: Processing buffer {"connection_id":126341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e26e28012d0b130007029fc00005013423..."} 
[2026-07-08 14:13:50] local.INFO: Packet analysis {"connection_id":126341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e2"} 
[2026-07-08 14:13:50] local.INFO: Extracted packet for processing {"connection_id":126341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e2"} 
[2026-07-08 14:13:50] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575925248001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783500009000,"timestamp_ms":1783500009000,"timestamp_seconds":1783500009,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e26e28"} 
[2026-07-08 14:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":126341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":126341,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":126341,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575925248001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575925248001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:13:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575925248001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":126341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451548,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:13:51] local.INFO: GPS data processed {"connection_id":126341,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:13:51] local.INFO: Acknowledgment sent {"connection_id":126341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:13:54] local.INFO: TCP Data received {"connection_id":125572,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:13:54] local.INFO: Processing buffer {"connection_id":125572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:13:54] local.INFO: IMEI packet received {"connection_id":125572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":125572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:13:55] local.INFO: TCP Data received {"connection_id":125572,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:13:55] local.INFO: Processing buffer {"connection_id":125572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:13:55] local.INFO: IMEI packet received {"connection_id":125572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":125572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:13:56] local.INFO: TCP Data received {"connection_id":125571,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:13:56] local.INFO: Processing buffer {"connection_id":125571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:13:56] local.INFO: IMEI packet received {"connection_id":125571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 14:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":125571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:13:58] local.INFO: TCP Data received {"connection_id":125571,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:13:58] local.INFO: Processing buffer {"connection_id":125571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:13:58] local.INFO: IMEI packet received {"connection_id":125571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":125571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:14:00] local.INFO: TCP Data received {"connection_id":125572,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:14:00] local.INFO: Processing buffer {"connection_id":125572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:14:00] local.INFO: IMEI packet received {"connection_id":125572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":125572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:14:01] local.INFO: TCP Data received {"connection_id":125571,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:14:01] local.INFO: Processing buffer {"connection_id":125571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:14:01] local.INFO: IMEI packet received {"connection_id":125571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":125571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:14:02] local.INFO: TCP Data received {"connection_id":125571,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e2d7a0012cd44780073760b0000c010228..."} 
[2026-07-08 14:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e2d7a0012cd44780073760b0000c010228..."} 
[2026-07-08 14:14:02] local.INFO: Processing buffer {"connection_id":125571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e2d7a0012cd44780073760b0000c010228..."} 
[2026-07-08 14:14:02] local.INFO: Packet analysis {"connection_id":125571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e2"} 
[2026-07-08 14:14:02] local.INFO: Extracted packet for processing {"connection_id":125571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e2"} 
[2026-07-08 14:14:02] local.INFO: GPS Element Parsed {"raw_longitude":752109440,"raw_latitude":121069744,"longitude_deg":75.210944,"latitude_deg":12.1069744,"altitude":12,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2cd44780","hex_latitude":"073760b0","is_valid_coordinates":true} 
[2026-07-08 14:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576003840001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133338947626467328,"note":"Value kept but may cause issues"} 
[2026-07-08 14:14:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3150408645840162816,"note":"Value kept but may cause issues"} 
[2026-07-08 14:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783500036000,"timestamp_ms":1783500036000,"timestamp_seconds":1783500036,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e2d7a0"} 
[2026-07-08 14:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:14: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-07-08 14:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-08 14:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2148,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:14:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576003840001,"66":28430,"254":206,"2":56832,"24":0,"16":133338947626467328,"44":-3150408645840162816},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,2,24,16,44]} 
[2026-07-08 14:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576003840001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:14:02] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-08 14:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133338947626467328,"km_value":133338947626467.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:14:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3150408645840162816,"description":"Unknown IO ID 44"} 
[2026-07-08 14:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576003840001,"power":28430,"unknown_254":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3150408645840162816}} 
[2026-07-08 14:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":125571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451549,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:14:03] local.INFO: GPS data processed {"connection_id":125571,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:14:03] local.INFO: Acknowledgment sent {"connection_id":125571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:14:03] local.INFO: TCP Data received {"connection_id":125572,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e50638012d83ce4005955ba80005009b2d..."} 
[2026-07-08 14:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e50638012d83ce4005955ba80005009b2d..."} 
[2026-07-08 14:14:03] local.INFO: Processing buffer {"connection_id":125572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e50638012d83ce4005955ba80005009b2d..."} 
[2026-07-08 14:14:03] local.INFO: Packet analysis {"connection_id":125572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e5"} 
[2026-07-08 14:14:03] local.INFO: Extracted packet for processing {"connection_id":125572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e5"} 
[2026-07-08 14:14:03] local.INFO: GPS Element Parsed {"raw_longitude":763612736,"raw_latitude":93674408,"longitude_deg":76.3612736,"latitude_deg":9.3674408,"altitude":5,"angle":155,"satellites":45,"speed":61,"hex_longitude":"2d83ce40","hex_latitude":"05955ba8","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576044288001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342628129820377088,"note":"Value kept but may cause issues"} 
[2026-07-08 14:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8953015297741391872,"note":"Value kept but may cause issues"} 
[2026-07-08 14:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783500179000,"timestamp_ms":1783500179000,"timestamp_seconds":1783500179,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e50638"} 
[2026-07-08 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-07-08 14:14: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-07-08 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 14:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 14:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576044288001,"66":27821,"217":206,"85":14592,"24":61,"16":342628129820377088,"45":-8953015297741391872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-07-08 14:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576044288001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:14:03] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-08 14:14:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 14:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342628129820377088,"km_value":342628129820377.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8953015297741391872,"description":"Unknown IO ID 45"} 
[2026-07-08 14:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576044288001,"power":27821,"unknown_217":206,"unknown_85":14592,"ignition":61,"odometer":null,"unknown_45":-8953015297741391872}} 
[2026-07-08 14:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":125572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:14:04] local.INFO: GPS data processed {"connection_id":125572,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:14:04] local.INFO: Acknowledgment sent {"connection_id":125572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:14:07] local.INFO: TCP Data received {"connection_id":125571,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e32d90012cd44780073760b0000c010228..."} 
[2026-07-08 14:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e32d90012cd44780073760b0000c010228..."} 
[2026-07-08 14:14:07] local.INFO: Processing buffer {"connection_id":125571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e32d90012cd44780073760b0000c010228..."} 
[2026-07-08 14:14:07] local.INFO: Packet analysis {"connection_id":125571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e3"} 
[2026-07-08 14:14:07] local.INFO: Extracted packet for processing {"connection_id":125571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e3"} 
[2026-07-08 14:14:07] local.INFO: GPS Element Parsed {"raw_longitude":752109440,"raw_latitude":121069744,"longitude_deg":75.210944,"latitude_deg":12.1069744,"altitude":12,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2cd44780","hex_latitude":"073760b0","is_valid_coordinates":true} 
[2026-07-08 14:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576009216001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133338947626467328,"note":"Value kept but may cause issues"} 
[2026-07-08 14:14:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3150408645840162816,"note":"Value kept but may cause issues"} 
[2026-07-08 14:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783500058000,"timestamp_ms":1783500058000,"timestamp_seconds":1783500058,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e32d90"} 
[2026-07-08 14:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:14: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-07-08 14:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-08 14:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576009216001,"66":28571,"254":206,"2":56832,"24":0,"16":133338947626467328,"44":-3150408645840162816},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,2,24,16,44]} 
[2026-07-08 14:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576009216001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:14:07] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-08 14:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133338947626467328,"km_value":133338947626467.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:14:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3150408645840162816,"description":"Unknown IO ID 44"} 
[2026-07-08 14:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576009216001,"power":28571,"unknown_254":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3150408645840162816}} 
[2026-07-08 14:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":125571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451551,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:14:07] local.INFO: GPS data processed {"connection_id":125571,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:14:07] local.INFO: Acknowledgment sent {"connection_id":125571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:14:22] local.INFO: TCP Data received {"connection_id":126341,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e26e28012d0b130007029fc00005013423..."} 
[2026-07-08 14:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e26e28012d0b130007029fc00005013423..."} 
[2026-07-08 14:14:22] local.INFO: Processing buffer {"connection_id":126341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e26e28012d0b130007029fc00005013423..."} 
[2026-07-08 14:14:22] local.INFO: Packet analysis {"connection_id":126341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e2"} 
[2026-07-08 14:14:22] local.INFO: Extracted packet for processing {"connection_id":126341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e2"} 
[2026-07-08 14:14:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575925248001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783500009000,"timestamp_ms":1783500009000,"timestamp_seconds":1783500009,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e26e28"} 
[2026-07-08 14:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:14:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126341,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126341,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575925248001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575925248001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:14:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575925248001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":126341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451552,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:14:22] local.INFO: GPS data processed {"connection_id":126341,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:14:22] local.INFO: Acknowledgment sent {"connection_id":126341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:14:35] local.INFO: TCP Data received {"connection_id":125572,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e51da8012d83dc4005953ad8000400a02c..."} 
[2026-07-08 14:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e51da8012d83dc4005953ad8000400a02c..."} 
[2026-07-08 14:14:35] local.INFO: Processing buffer {"connection_id":125572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e51da8012d83dc4005953ad8000400a02c..."} 
[2026-07-08 14:14:35] local.INFO: Packet analysis {"connection_id":125572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e5"} 
[2026-07-08 14:14:35] local.INFO: Extracted packet for processing {"connection_id":125572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e5"} 
[2026-07-08 14:14:35] local.INFO: GPS Element Parsed {"raw_longitude":763616320,"raw_latitude":93666008,"longitude_deg":76.361632,"latitude_deg":9.3666008,"altitude":4,"angle":160,"satellites":44,"speed":59,"hex_longitude":"2d83dc40","hex_latitude":"05953ad8","is_valid_coordinates":true} 
[2026-07-08 14:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576045824001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342628572202008576,"note":"Value kept but may cause issues"} 
[2026-07-08 14:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8949145016813770752,"note":"Value kept but may cause issues"} 
[2026-07-08 14:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783500185000,"timestamp_ms":1783500185000,"timestamp_seconds":1783500185,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e51da8"} 
[2026-07-08 14:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 14:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576045824001,"66":27876,"217":206,"85":14592,"24":59,"16":342628572202008576,"45":-8949145016813770752},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-07-08 14:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576045824001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:14:35] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-08 14:14:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 14:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342628572202008576,"km_value":342628572202008.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8949145016813770752,"description":"Unknown IO ID 45"} 
[2026-07-08 14:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576045824001,"power":27876,"unknown_217":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-8949145016813770752}} 
[2026-07-08 14:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":125572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:14:35] local.INFO: GPS data processed {"connection_id":125572,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:14:35] local.INFO: Acknowledgment sent {"connection_id":125572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:14:39] local.INFO: TCP Data received {"connection_id":125571,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e37f98012cd44780073760b0000c010228..."} 
[2026-07-08 14:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e37f98012cd44780073760b0000c010228..."} 
[2026-07-08 14:14:39] local.INFO: Processing buffer {"connection_id":125571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e37f98012cd44780073760b0000c010228..."} 
[2026-07-08 14:14:39] local.INFO: Packet analysis {"connection_id":125571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e3"} 
[2026-07-08 14:14:39] local.INFO: Extracted packet for processing {"connection_id":125571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e3"} 
[2026-07-08 14:14:39] local.INFO: GPS Element Parsed {"raw_longitude":752109440,"raw_latitude":121069744,"longitude_deg":75.210944,"latitude_deg":12.1069744,"altitude":12,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2cd44780","hex_latitude":"073760b0","is_valid_coordinates":true} 
[2026-07-08 14:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576014848001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133338947626467328,"note":"Value kept but may cause issues"} 
[2026-07-08 14:14:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3150408645840162816,"note":"Value kept but may cause issues"} 
[2026-07-08 14:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783500079000,"timestamp_ms":1783500079000,"timestamp_seconds":1783500079,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e37f98"} 
[2026-07-08 14:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:14: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-07-08 14:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-08 14:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2148,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576014848001,"66":28539,"254":206,"2":56832,"24":0,"16":133338947626467328,"44":-3150408645840162816},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,2,24,16,44]} 
[2026-07-08 14:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576014848001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:14:39] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-08 14:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133338947626467328,"km_value":133338947626467.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:14:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3150408645840162816,"description":"Unknown IO ID 44"} 
[2026-07-08 14:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576014848001,"power":28539,"unknown_254":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3150408645840162816}} 
[2026-07-08 14:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":125571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451554,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:14:39] local.INFO: GPS data processed {"connection_id":125571,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:14:39] local.INFO: Acknowledgment sent {"connection_id":125571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:14:44] local.INFO: TCP Data received {"connection_id":127581,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127581,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:14:44] local.INFO: Processing buffer {"connection_id":127581,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:14:44] local.INFO: IMEI packet received {"connection_id":127581,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":127581,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:14:50] local.INFO: TCP Data received {"connection_id":127581,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127581,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:14:50] local.INFO: Processing buffer {"connection_id":127581,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:14:50] local.INFO: IMEI packet received {"connection_id":127581,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":127581,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:14:50] local.INFO: TCP Data received {"connection_id":127581,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e26e28012d0b130007029fc00005013423..."} 
[2026-07-08 14:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e26e28012d0b130007029fc00005013423..."} 
[2026-07-08 14:14:50] local.INFO: Processing buffer {"connection_id":127581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e26e28012d0b130007029fc00005013423..."} 
[2026-07-08 14:14:50] local.INFO: Packet analysis {"connection_id":127581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e2"} 
[2026-07-08 14:14:50] local.INFO: Extracted packet for processing {"connection_id":127581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e2"} 
[2026-07-08 14:14:50] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456575925248001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783500009000,"timestamp_ms":1783500009000,"timestamp_seconds":1783500009,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e26e28"} 
[2026-07-08 14:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:14:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":127581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":127581,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":127581,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456575925248001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456575925248001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:14:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456575925248001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":127581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451555,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:14:51] local.INFO: GPS data processed {"connection_id":127581,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:14:51] local.INFO: Acknowledgment sent {"connection_id":127581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:14:55] local.INFO: TCP Data received {"connection_id":125574,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:14:55] local.INFO: Processing buffer {"connection_id":125574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:14:55] local.INFO: IMEI packet received {"connection_id":125574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":125574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:14:56] local.INFO: TCP Data received {"connection_id":126340,"ip":"117.224.97.30","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-08 14:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126340,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-08 14:14:56] local.INFO: Processing buffer {"connection_id":126340,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-08 14:14:56] local.INFO: IMEI packet received {"connection_id":126340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":126340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:14:56] local.INFO: TCP Data received {"connection_id":125573,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125573,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:14:56] local.INFO: Processing buffer {"connection_id":125573,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:14:56] local.INFO: IMEI packet received {"connection_id":125573,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 14:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":125573,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:15:00] local.INFO: TCP Data received {"connection_id":125574,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:15:00] local.INFO: Processing buffer {"connection_id":125574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:15:00] local.INFO: IMEI packet received {"connection_id":125574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":125574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:15:01] local.INFO: TCP Data received {"connection_id":125574,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e53518012d83e68005951970000400a32d..."} 
[2026-07-08 14:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e53518012d83e68005951970000400a32d..."} 
[2026-07-08 14:15:01] local.INFO: Processing buffer {"connection_id":125574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e53518012d83e68005951970000400a32d..."} 
[2026-07-08 14:15:01] local.INFO: Packet analysis {"connection_id":125574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e5"} 
[2026-07-08 14:15:01] local.INFO: Extracted packet for processing {"connection_id":125574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e5"} 
[2026-07-08 14:15:01] local.INFO: GPS Element Parsed {"raw_longitude":763618944,"raw_latitude":93657456,"longitude_deg":76.3618944,"latitude_deg":9.3657456,"altitude":4,"angle":163,"satellites":45,"speed":58,"hex_longitude":"2d83e680","hex_latitude":"05951970","is_valid_coordinates":true} 
[2026-07-08 14:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576047360001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342629005993705472,"note":"Value kept but may cause issues"} 
[2026-07-08 14:15:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8945204367141971968,"note":"Value kept but may cause issues"} 
[2026-07-08 14:15:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783500191000,"timestamp_ms":1783500191000,"timestamp_seconds":1783500191,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e53518"} 
[2026-07-08 14:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:15:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 14:15:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:15:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:15:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576047360001,"66":27908,"217":206,"85":14592,"24":58,"16":342629005993705472,"45":-8945204367141971968},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-07-08 14:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576047360001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:15:01] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-08 14:15:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 14:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342629005993705472,"km_value":342629005993705.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:15:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8945204367141971968,"description":"Unknown IO ID 45"} 
[2026-07-08 14:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576047360001,"power":27908,"unknown_217":206,"unknown_85":14592,"ignition":58,"odometer":null,"unknown_45":-8945204367141971968}} 
[2026-07-08 14:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":125574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:15:01] local.INFO: GPS data processed {"connection_id":125574,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:15:01] local.INFO: Acknowledgment sent {"connection_id":125574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:15:02] local.INFO: TCP Data received {"connection_id":125573,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125573,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:15:02] local.INFO: Processing buffer {"connection_id":125573,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:15:02] local.INFO: IMEI packet received {"connection_id":125573,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":125573,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:15:05] local.INFO: TCP Data received {"connection_id":125573,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e61b90012cd42ec0073843a0000c016729..."} 
[2026-07-08 14:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e61b90012cd42ec0073843a0000c016729..."} 
[2026-07-08 14:15:05] local.INFO: Processing buffer {"connection_id":125573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e61b90012cd42ec0073843a0000c016729..."} 
[2026-07-08 14:15:05] local.INFO: Packet analysis {"connection_id":125573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e6"} 
[2026-07-08 14:15:05] local.INFO: Extracted packet for processing {"connection_id":125573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e6"} 
[2026-07-08 14:15:05] local.INFO: GPS Element Parsed {"raw_longitude":752103104,"raw_latitude":121127840,"longitude_deg":75.2103104,"latitude_deg":12.112784,"altitude":12,"angle":359,"satellites":41,"speed":32,"hex_longitude":"2cd42ec0","hex_latitude":"073843a0","is_valid_coordinates":true} 
[2026-07-08 14:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576061440001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133341696405536768,"note":"Value kept but may cause issues"} 
[2026-07-08 14:15:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3157445520245362688,"note":"Value kept but may cause issues"} 
[2026-07-08 14:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783500250000,"timestamp_ms":1783500250000,"timestamp_seconds":1783500250,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e61b90"} 
[2026-07-08 14:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-08 14:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125573,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125573,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576061440001,"66":28430,"126":206,"2":56832,"24":32,"16":133341696405536768,"44":-3157445520245362688},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,2,24,16,44]} 
[2026-07-08 14:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576061440001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:15:05] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-08 14:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133341696405536768,"km_value":133341696405536.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:15:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3157445520245362688,"description":"Unknown IO ID 44"} 
[2026-07-08 14:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576061440001,"power":28430,"unknown_126":206,"power_alt":56832,"ignition":32,"odometer":null,"unknown_44":-3157445520245362688}} 
[2026-07-08 14:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":125573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451557,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:15:05] local.INFO: GPS data processed {"connection_id":125573,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:15:05] local.INFO: Acknowledgment sent {"connection_id":125573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:15:20] local.INFO: TCP Data received {"connection_id":126342,"ip":"117.225.159.213","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:15:20] local.INFO: Processing buffer {"connection_id":126342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:15:20] local.INFO: IMEI packet received {"connection_id":126342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":126342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:15:22] local.INFO: TCP Data received {"connection_id":127581,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e705f0012d0b130007029fc00005013422..."} 
[2026-07-08 14:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e705f0012d0b130007029fc00005013422..."} 
[2026-07-08 14:15:22] local.INFO: Processing buffer {"connection_id":127581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e705f0012d0b130007029fc00005013422..."} 
[2026-07-08 14:15:22] local.INFO: Packet analysis {"connection_id":127581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e7"} 
[2026-07-08 14:15:22] local.INFO: Extracted packet for processing {"connection_id":127581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e7"} 
[2026-07-08 14:15:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 14:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576002304001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783500310000,"timestamp_ms":1783500310000,"timestamp_seconds":1783500310,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e705f0"} 
[2026-07-08 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-07-08 14:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:15:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 14:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":127581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":127581,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":127581,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576002304001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576002304001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:15:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576002304001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":127581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451558,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:15:22] local.INFO: GPS data processed {"connection_id":127581,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:15:22] local.INFO: Acknowledgment sent {"connection_id":127581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:15:25] local.INFO: TCP Data received {"connection_id":126342,"ip":"117.225.159.213","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:15:25] local.INFO: Processing buffer {"connection_id":126342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:15:25] local.INFO: IMEI packet received {"connection_id":126342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":126342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:15:32] local.INFO: TCP Data received {"connection_id":125574,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e54c88012d83f0c00594f818000400a12d..."} 
[2026-07-08 14:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e54c88012d83f0c00594f818000400a12d..."} 
[2026-07-08 14:15:32] local.INFO: Processing buffer {"connection_id":125574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e54c88012d83f0c00594f818000400a12d..."} 
[2026-07-08 14:15:32] local.INFO: Packet analysis {"connection_id":125574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e5"} 
[2026-07-08 14:15:32] local.INFO: Extracted packet for processing {"connection_id":125574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e5"} 
[2026-07-08 14:15:32] local.INFO: GPS Element Parsed {"raw_longitude":763621568,"raw_latitude":93648920,"longitude_deg":76.3621568,"latitude_deg":9.364892,"altitude":4,"angle":161,"satellites":45,"speed":59,"hex_longitude":"2d83f0c0","hex_latitude":"0594f818","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576048896001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342629439785402368,"note":"Value kept but may cause issues"} 
[2026-07-08 14:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8942319248632877056,"note":"Value kept but may cause issues"} 
[2026-07-08 14:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783500197000,"timestamp_ms":1783500197000,"timestamp_seconds":1783500197,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e54c88"} 
[2026-07-08 14:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 14:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576048896001,"66":27908,"217":206,"85":14592,"24":59,"16":342629439785402368,"45":-8942319248632877056},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-07-08 14:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576048896001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:15:32] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-08 14:15:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 14:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342629439785402368,"km_value":342629439785402.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8942319248632877056,"description":"Unknown IO ID 45"} 
[2026-07-08 14:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576048896001,"power":27908,"unknown_217":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-8942319248632877056}} 
[2026-07-08 14:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":125574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:15:32] local.INFO: GPS data processed {"connection_id":125574,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:15:32] local.INFO: Acknowledgment sent {"connection_id":125574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:15:35] local.INFO: TCP Data received {"connection_id":126342,"ip":"117.225.159.213","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e62360012d1aeb00071f8558004a010c24..."} 
[2026-07-08 14:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e62360012d1aeb00071f8558004a010c24..."} 
[2026-07-08 14:15:35] local.INFO: Processing buffer {"connection_id":126342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e62360012d1aeb00071f8558004a010c24..."} 
[2026-07-08 14:15:35] local.INFO: Packet analysis {"connection_id":126342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e6"} 
[2026-07-08 14:15:35] local.INFO: Extracted packet for processing {"connection_id":126342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e6"} 
[2026-07-08 14:15:35] local.INFO: GPS Element Parsed {"raw_longitude":756738816,"raw_latitude":119506264,"longitude_deg":75.6738816,"latitude_deg":11.9506264,"altitude":74,"angle":268,"satellites":36,"speed":6,"hex_longitude":"2d1aeb00","hex_latitude":"071f8558","is_valid_coordinates":true} 
[2026-07-08 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-07-08 14:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576064000001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4792298739073024,"note":"Value kept but may cause issues"} 
[2026-07-08 14:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1940136676315994112,"note":"Value kept but may cause issues"} 
[2026-07-08 14:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,187,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783500252000,"timestamp_ms":1783500252000,"timestamp_seconds":1783500252,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e62360"} 
[2026-07-08 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-07-08 14:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-08 14:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3441142272,"note":"Value kept but may cause issues"} 
[2026-07-08 14:15:35] local.WARNING: Large IO value detected {"io_id":187,"raw_value":2147489792,"note":"Value kept but may cause issues"} 
[2026-07-08 14:15:35] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2550213914,"note":"Value kept but may cause issues"} 
[2026-07-08 14:15:35] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3858006017,"note":"Value kept but may cause issues"} 
[2026-07-08 14:15:35] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2310012997,"note":"Value kept but may cause issues"} 
[2026-07-08 14:15:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":464126158,"corrected_to":0} 
[2026-07-08 14:15:35] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":2147950474,"corrected_to":0} 
[2026-07-08 14:15:35] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3758148891,"note":"Value kept but may cause issues"} 
[2026-07-08 14:15:35] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,170,187,24,241,16,6,159,15,45,192,135,71,33,10,66,8,136,70,32,248,128,1,240,137,64,31,4,113,205,3,247,30,239,54,2,17,7,67],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":464126158,"validated":0},{"io_id":247,"original":2147950474,"validated":0}]} 
[2026-07-08 14:15:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260479388705226752,"timestamp_seconds":5260479388705227.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 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-07-08 14:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.159.213","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576064000001,"66":13374,"170":206,"187":32768,"24":6,"16":4792298739073024,"45":1940136676315994112},"client_ip":"117.225.159.213","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,187,24,16,45]} 
[2026-07-08 14:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576064000001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:15:35] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-08 14:15:35] local.INFO: Unknown IO ID detected {"io_id":187,"value":32768,"description":"Unknown IO ID 187"} 
[2026-07-08 14:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4792298739073024,"km_value":4792298739073.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1940136676315994112,"description":"Unknown IO ID 45"} 
[2026-07-08 14:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576064000001,"power":13374,"unknown_170":206,"unknown_187":32768,"ignition":6,"odometer":null,"unknown_45":1940136676315994112}} 
[2026-07-08 14:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":126342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:15:35] local.INFO: GPS data processed {"connection_id":126342,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:15:35] local.INFO: Acknowledgment sent {"connection_id":126342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:15:37] local.INFO: TCP Data received {"connection_id":125573,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e64688012cd42e8007385b00000b001229..."} 
[2026-07-08 14:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e64688012cd42e8007385b00000b001229..."} 
[2026-07-08 14:15:37] local.INFO: Processing buffer {"connection_id":125573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e64688012cd42e8007385b00000b001229..."} 
[2026-07-08 14:15:37] local.INFO: Packet analysis {"connection_id":125573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e6"} 
[2026-07-08 14:15:37] local.INFO: Extracted packet for processing {"connection_id":125573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e6"} 
[2026-07-08 14:15:37] local.INFO: GPS Element Parsed {"raw_longitude":752103040,"raw_latitude":121133824,"longitude_deg":75.210304,"latitude_deg":12.1133824,"altitude":11,"angle":18,"satellites":41,"speed":9,"hex_longitude":"2cd42e80","hex_latitude":"07385b00","is_valid_coordinates":true} 
[2026-07-08 14:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576064000001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133341984168345600,"note":"Value kept but may cause issues"} 
[2026-07-08 14:15:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3157375151498878976,"note":"Value kept but may cause issues"} 
[2026-07-08 14:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783500261000,"timestamp_ms":1783500261000,"timestamp_seconds":1783500261,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e64688"} 
[2026-07-08 14:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-08 14:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125573,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125573,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576064000001,"66":28452,"127":206,"2":56832,"24":9,"16":133341984168345600,"44":-3157375151498878976},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,44]} 
[2026-07-08 14:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576064000001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:15:37] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-07-08 14:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133341984168345600,"km_value":133341984168345.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:15:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3157375151498878976,"description":"Unknown IO ID 44"} 
[2026-07-08 14:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576064000001,"power":28452,"unknown_127":206,"power_alt":56832,"ignition":9,"odometer":null,"unknown_44":-3157375151498878976}} 
[2026-07-08 14:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":125573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451561,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:15:37] local.INFO: GPS data processed {"connection_id":125573,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:15:37] local.INFO: Acknowledgment sent {"connection_id":125573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:15:49] local.INFO: TCP Data received {"connection_id":126343,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126343,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:15:49] local.INFO: Processing buffer {"connection_id":126343,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:15:49] local.INFO: IMEI packet received {"connection_id":126343,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":126343,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:15:54] local.INFO: TCP Data received {"connection_id":126343,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126343,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:15:54] local.INFO: Processing buffer {"connection_id":126343,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:15:54] local.INFO: IMEI packet received {"connection_id":126343,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":126343,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:15:56] local.INFO: TCP Data received {"connection_id":126343,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e705f0012d0b130007029fc00005013422..."} 
[2026-07-08 14:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e705f0012d0b130007029fc00005013422..."} 
[2026-07-08 14:15:56] local.INFO: Processing buffer {"connection_id":126343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e705f0012d0b130007029fc00005013422..."} 
[2026-07-08 14:15:56] local.INFO: Packet analysis {"connection_id":126343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e7"} 
[2026-07-08 14:15:56] local.INFO: Extracted packet for processing {"connection_id":126343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e7"} 
[2026-07-08 14:15:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576002304001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783500310000,"timestamp_ms":1783500310000,"timestamp_seconds":1783500310,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e705f0"} 
[2026-07-08 14:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:15:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:15:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:15:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":126343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":126343,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":126343,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576002304001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576002304001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:15:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576002304001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":126343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451562,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:15:56] local.INFO: GPS data processed {"connection_id":126343,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:15:56] local.INFO: Acknowledgment sent {"connection_id":126343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:15:56] local.INFO: TCP Data received {"connection_id":127582,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127582,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:15:56] local.INFO: Processing buffer {"connection_id":127582,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:15:56] local.INFO: IMEI packet received {"connection_id":127582,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 14:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":127582,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:15:59] local.INFO: TCP Data received {"connection_id":126344,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:15:59] local.INFO: Processing buffer {"connection_id":126344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:15:59] local.INFO: IMEI packet received {"connection_id":126344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":126344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:16:00] local.INFO: TCP Data received {"connection_id":125575,"ip":"117.225.159.213","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:16:00] local.INFO: Processing buffer {"connection_id":125575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:16:00] local.INFO: IMEI packet received {"connection_id":125575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":125575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:16:00] local.INFO: TCP Data received {"connection_id":126344,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:16:00] local.INFO: Processing buffer {"connection_id":126344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:16:00] local.INFO: IMEI packet received {"connection_id":126344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":126344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:16:01] local.INFO: TCP Data received {"connection_id":125575,"ip":"117.225.159.213","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:16:01] local.INFO: Processing buffer {"connection_id":125575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:16:01] local.INFO: IMEI packet received {"connection_id":125575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":125575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:16:01] local.INFO: TCP Data received {"connection_id":125575,"ip":"117.225.159.213","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:16:01] local.INFO: Processing buffer {"connection_id":125575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:16:01] local.INFO: IMEI packet received {"connection_id":125575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":125575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:16:01] local.INFO: TCP Data received {"connection_id":127582,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127582,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:16:01] local.INFO: Processing buffer {"connection_id":127582,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:16:01] local.INFO: IMEI packet received {"connection_id":127582,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":127582,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:16:02] local.INFO: TCP Data received {"connection_id":126343,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e705f0012d0b130007029fc00005013422..."} 
[2026-07-08 14:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e705f0012d0b130007029fc00005013422..."} 
[2026-07-08 14:16:02] local.INFO: Processing buffer {"connection_id":126343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e705f0012d0b130007029fc00005013422..."} 
[2026-07-08 14:16:02] local.INFO: Packet analysis {"connection_id":126343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e7"} 
[2026-07-08 14:16:02] local.INFO: Extracted packet for processing {"connection_id":126343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e7"} 
[2026-07-08 14:16:02] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576002304001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:16: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-07-08 14:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783500310000,"timestamp_ms":1783500310000,"timestamp_seconds":1783500310,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e705f0"} 
[2026-07-08 14:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:16:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:16:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:16:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126343,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126343,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576002304001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576002304001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:16:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576002304001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":126343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451563,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:16:02] local.INFO: GPS data processed {"connection_id":126343,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:16:02] local.INFO: Acknowledgment sent {"connection_id":126343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:16:02] local.INFO: TCP Data received {"connection_id":125575,"ip":"117.225.159.213","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:16:02] local.INFO: Processing buffer {"connection_id":125575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:16:02] local.INFO: IMEI packet received {"connection_id":125575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":125575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:16:03] local.INFO: TCP Data received {"connection_id":127582,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e64a70012cd42f0007385c20000b002029..."} 
[2026-07-08 14:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e64a70012cd42f0007385c20000b002029..."} 
[2026-07-08 14:16:03] local.INFO: Processing buffer {"connection_id":127582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e64a70012cd42f0007385c20000b002029..."} 
[2026-07-08 14:16:03] local.INFO: Packet analysis {"connection_id":127582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e6"} 
[2026-07-08 14:16:03] local.INFO: Extracted packet for processing {"connection_id":127582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e6"} 
[2026-07-08 14:16:03] local.INFO: GPS Element Parsed {"raw_longitude":752103168,"raw_latitude":121134112,"longitude_deg":75.2103168,"latitude_deg":12.1134112,"altitude":11,"angle":32,"satellites":41,"speed":11,"hex_longitude":"2cd42f00","hex_latitude":"07385c20","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576066816001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133342001348214784,"note":"Value kept but may cause issues"} 
[2026-07-08 14:16:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3157445520241524736,"note":"Value kept but may cause issues"} 
[2026-07-08 14:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783500262000,"timestamp_ms":1783500262000,"timestamp_seconds":1783500262,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e64a70"} 
[2026-07-08 14:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 14:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127582,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127582,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576066816001,"66":28430,"127":206,"2":56832,"24":11,"16":133342001348214784,"44":-3157445520241524736},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,44]} 
[2026-07-08 14:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576066816001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:16:03] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-07-08 14:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133342001348214784,"km_value":133342001348214.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:16:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3157445520241524736,"description":"Unknown IO ID 44"} 
[2026-07-08 14:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576066816001,"power":28430,"unknown_127":206,"power_alt":56832,"ignition":11,"odometer":null,"unknown_44":-3157445520241524736}} 
[2026-07-08 14:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":127582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451564,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:16:03] local.INFO: GPS data processed {"connection_id":127582,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:16:03] local.INFO: Acknowledgment sent {"connection_id":127582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:16:06] local.INFO: TCP Data received {"connection_id":126344,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:16:06] local.INFO: Processing buffer {"connection_id":126344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:16:06] local.INFO: IMEI packet received {"connection_id":126344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":126344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:16:07] local.INFO: TCP Data received {"connection_id":126344,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e69c78012d844cc00593a0a0000500a52c..."} 
[2026-07-08 14:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e69c78012d844cc00593a0a0000500a52c..."} 
[2026-07-08 14:16:07] local.INFO: Processing buffer {"connection_id":126344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e69c78012d844cc00593a0a0000500a52c..."} 
[2026-07-08 14:16:07] local.INFO: Packet analysis {"connection_id":126344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e6"} 
[2026-07-08 14:16:07] local.INFO: Extracted packet for processing {"connection_id":126344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e6"} 
[2026-07-08 14:16:07] local.INFO: GPS Element Parsed {"raw_longitude":763645120,"raw_latitude":93560992,"longitude_deg":76.364512,"latitude_deg":9.3560992,"altitude":5,"angle":165,"satellites":44,"speed":22,"hex_longitude":"2d844cc0","hex_latitude":"0593a0a0","is_valid_coordinates":true} 
[2026-07-08 14:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576071424001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342633867896684544,"note":"Value kept but may cause issues"} 
[2026-07-08 14:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8914312488474423296,"note":"Value kept but may cause issues"} 
[2026-07-08 14:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783500283000,"timestamp_ms":1783500283000,"timestamp_seconds":1783500283,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e69c78"} 
[2026-07-08 14:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 14:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576071424001,"66":27843,"149":206,"85":14592,"24":22,"16":342633867896684544,"45":-8914312488474423296},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,85,24,16,45]} 
[2026-07-08 14:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576071424001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:16:07] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-08 14:16:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 14:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342633867896684544,"km_value":342633867896684.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8914312488474423296,"description":"Unknown IO ID 45"} 
[2026-07-08 14:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576071424001,"power":27843,"unknown_149":206,"unknown_85":14592,"ignition":22,"odometer":null,"unknown_45":-8914312488474423296}} 
[2026-07-08 14:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":126344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:16:07] local.INFO: GPS data processed {"connection_id":126344,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:16:07] local.INFO: Acknowledgment sent {"connection_id":126344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:16:34] local.INFO: TCP Data received {"connection_id":127582,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e64e58012cd42fc007385cf8000c002d29..."} 
[2026-07-08 14:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e64e58012cd42fc007385cf8000c002d29..."} 
[2026-07-08 14:16:34] local.INFO: Processing buffer {"connection_id":127582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e64e58012cd42fc007385cf8000c002d29..."} 
[2026-07-08 14:16:34] local.INFO: Packet analysis {"connection_id":127582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e6"} 
[2026-07-08 14:16:34] local.INFO: Extracted packet for processing {"connection_id":127582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e6"} 
[2026-07-08 14:16:34] local.INFO: GPS Element Parsed {"raw_longitude":752103360,"raw_latitude":121134328,"longitude_deg":75.210336,"latitude_deg":12.1134328,"altitude":12,"angle":45,"satellites":41,"speed":7,"hex_longitude":"2cd42fc0","hex_latitude":"07385cf8","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576067072001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133342014233116672,"note":"Value kept but may cause issues"} 
[2026-07-08 14:16:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3157304782753095680,"note":"Value kept but may cause issues"} 
[2026-07-08 14:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783500263000,"timestamp_ms":1783500263000,"timestamp_seconds":1783500263,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e64e58"} 
[2026-07-08 14:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-08 14:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127582,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127582,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576067072001,"66":28430,"127":206,"2":56832,"24":7,"16":133342014233116672,"44":-3157304782753095680},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,44]} 
[2026-07-08 14:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576067072001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:16:34] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-07-08 14:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133342014233116672,"km_value":133342014233116.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:16:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3157304782753095680,"description":"Unknown IO ID 44"} 
[2026-07-08 14:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576067072001,"power":28430,"unknown_127":206,"power_alt":56832,"ignition":7,"odometer":null,"unknown_44":-3157304782753095680}} 
[2026-07-08 14:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":127582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451566,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:16:34] local.INFO: GPS data processed {"connection_id":127582,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:16:34] local.INFO: Acknowledgment sent {"connection_id":127582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:16:39] local.INFO: TCP Data received {"connection_id":126344,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e6cf40012d84568005937c40000400a32c..."} 
[2026-07-08 14:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e6cf40012d84568005937c40000400a32c..."} 
[2026-07-08 14:16:39] local.INFO: Processing buffer {"connection_id":126344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e6cf40012d84568005937c40000400a32c..."} 
[2026-07-08 14:16:39] local.INFO: Packet analysis {"connection_id":126344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e6"} 
[2026-07-08 14:16:39] local.INFO: Extracted packet for processing {"connection_id":126344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e6"} 
[2026-07-08 14:16:39] local.INFO: GPS Element Parsed {"raw_longitude":763647616,"raw_latitude":93551680,"longitude_deg":76.3647616,"latitude_deg":9.355168,"altitude":4,"angle":163,"satellites":44,"speed":32,"hex_longitude":"2d845680","hex_latitude":"05937c40","is_valid_coordinates":true} 
[2026-07-08 14:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576072448001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342634336048119808,"note":"Value kept but may cause issues"} 
[2026-07-08 14:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8913538432288907264,"note":"Value kept but may cause issues"} 
[2026-07-08 14:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783500296000,"timestamp_ms":1783500296000,"timestamp_seconds":1783500296,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e6cf40"} 
[2026-07-08 14:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 14:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:16:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576072448001,"66":27843,"149":206,"85":14592,"24":32,"16":342634336048119808,"45":-8913538432288907264},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,85,24,16,45]} 
[2026-07-08 14:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576072448001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:16:39] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-08 14:16:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 14:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342634336048119808,"km_value":342634336048119.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8913538432288907264,"description":"Unknown IO ID 45"} 
[2026-07-08 14:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576072448001,"power":27843,"unknown_149":206,"unknown_85":14592,"ignition":32,"odometer":null,"unknown_45":-8913538432288907264}} 
[2026-07-08 14:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":126344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:16:39] local.INFO: GPS data processed {"connection_id":126344,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:16:39] local.INFO: Acknowledgment sent {"connection_id":126344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:16:44] local.INFO: TCP Data received {"connection_id":127583,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127583,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:16:44] local.INFO: Processing buffer {"connection_id":127583,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:16:44] local.INFO: IMEI packet received {"connection_id":127583,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":127583,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:16:50] local.INFO: TCP Data received {"connection_id":127583,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127583,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:16:50] local.INFO: Processing buffer {"connection_id":127583,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:16:50] local.INFO: IMEI packet received {"connection_id":127583,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":127583,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:16:51] local.INFO: TCP Data received {"connection_id":127583,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e705f0012d0b130007029fc00005013422..."} 
[2026-07-08 14:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e705f0012d0b130007029fc00005013422..."} 
[2026-07-08 14:16:51] local.INFO: Processing buffer {"connection_id":127583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e705f0012d0b130007029fc00005013422..."} 
[2026-07-08 14:16:51] local.INFO: Packet analysis {"connection_id":127583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e7"} 
[2026-07-08 14:16:51] local.INFO: Extracted packet for processing {"connection_id":127583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e7"} 
[2026-07-08 14:16:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576002304001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783500310000,"timestamp_ms":1783500310000,"timestamp_seconds":1783500310,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e705f0"} 
[2026-07-08 14:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127583,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127583,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576002304001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576002304001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:16:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576002304001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":127583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451568,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:16:51] local.INFO: GPS data processed {"connection_id":127583,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:16:51] local.INFO: Acknowledgment sent {"connection_id":127583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:16:56] local.INFO: TCP Data received {"connection_id":125456,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:16:56] local.INFO: Processing buffer {"connection_id":125456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:16:56] local.INFO: IMEI packet received {"connection_id":125456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":125456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:16:58] local.INFO: TCP Data received {"connection_id":127584,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127584,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:16:58] local.INFO: Processing buffer {"connection_id":127584,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:16:58] local.INFO: IMEI packet received {"connection_id":127584,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 14:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":127584,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:16:59] local.INFO: TCP Data received {"connection_id":125456,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:16:59] local.INFO: Processing buffer {"connection_id":125456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:16:59] local.INFO: IMEI packet received {"connection_id":125456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":125456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:17:00] local.INFO: TCP Data received {"connection_id":125456,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e6fe20012d8462c0059359580004009d2b..."} 
[2026-07-08 14:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e6fe20012d8462c0059359580004009d2b..."} 
[2026-07-08 14:17:00] local.INFO: Processing buffer {"connection_id":125456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e6fe20012d8462c0059359580004009d2b..."} 
[2026-07-08 14:17:00] local.INFO: Packet analysis {"connection_id":125456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e6"} 
[2026-07-08 14:17:00] local.INFO: Extracted packet for processing {"connection_id":125456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e6"} 
[2026-07-08 14:17:00] local.INFO: GPS Element Parsed {"raw_longitude":763650752,"raw_latitude":93542744,"longitude_deg":76.3650752,"latitude_deg":9.3542744,"altitude":4,"angle":157,"satellites":43,"speed":32,"hex_longitude":"2d8462c0","hex_latitude":"05935958","is_valid_coordinates":true} 
[2026-07-08 14:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576075776001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342634791314653184,"note":"Value kept but may cause issues"} 
[2026-07-08 14:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8910794051268362240,"note":"Value kept but may cause issues"} 
[2026-07-08 14:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783500308000,"timestamp_ms":1783500308000,"timestamp_seconds":1783500308,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e6fe20"} 
[2026-07-08 14:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:17: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 14:17:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:17:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576075776001,"66":27974,"148":206,"85":14592,"24":32,"16":342634791314653184,"45":-8910794051268362240},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,85,24,16,45]} 
[2026-07-08 14:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576075776001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:17:00] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-07-08 14:17:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 14:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342634791314653184,"km_value":342634791314653.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8910794051268362240,"description":"Unknown IO ID 45"} 
[2026-07-08 14:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576075776001,"power":27974,"unknown_148":206,"unknown_85":14592,"ignition":32,"odometer":null,"unknown_45":-8910794051268362240}} 
[2026-07-08 14:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":125456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:17:00] local.INFO: GPS data processed {"connection_id":125456,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:17:00] local.INFO: Acknowledgment sent {"connection_id":125456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:17:01] local.INFO: TCP Data received {"connection_id":127584,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127584,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:17:01] local.INFO: Processing buffer {"connection_id":127584,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:17:01] local.INFO: IMEI packet received {"connection_id":127584,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":127584,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:17:06] local.INFO: TCP Data received {"connection_id":127584,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127584,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:17:06] local.INFO: Processing buffer {"connection_id":127584,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:17:06] local.INFO: IMEI packet received {"connection_id":127584,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":127584,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:17:08] local.INFO: TCP Data received {"connection_id":127584,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e6a060012cd4304007385db0000c002d2a..."} 
[2026-07-08 14:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e6a060012cd4304007385db0000c002d2a..."} 
[2026-07-08 14:17:08] local.INFO: Processing buffer {"connection_id":127584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e6a060012cd4304007385db0000c002d2a..."} 
[2026-07-08 14:17:08] local.INFO: Packet analysis {"connection_id":127584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e6"} 
[2026-07-08 14:17:08] local.INFO: Extracted packet for processing {"connection_id":127584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e6"} 
[2026-07-08 14:17:08] local.INFO: GPS Element Parsed {"raw_longitude":752103488,"raw_latitude":121134512,"longitude_deg":75.2103488,"latitude_deg":12.1134512,"altitude":12,"angle":45,"satellites":42,"speed":0,"hex_longitude":"2cd43040","hex_latitude":"07385db0","is_valid_coordinates":true} 
[2026-07-08 14:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576067328001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133342027118018560,"note":"Value kept but may cause issues"} 
[2026-07-08 14:17:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3157093676520507392,"note":"Value kept but may cause issues"} 
[2026-07-08 14:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783500284000,"timestamp_ms":1783500284000,"timestamp_seconds":1783500284,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e6a060"} 
[2026-07-08 14:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-08 14:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":127584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":127584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":127584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576067328001,"66":28430,"127":206,"2":56832,"24":0,"16":133342027118018560,"44":-3157093676520507392},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,44]} 
[2026-07-08 14:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576067328001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:17:08] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-07-08 14:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133342027118018560,"km_value":133342027118018.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:17:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3157093676520507392,"description":"Unknown IO ID 44"} 
[2026-07-08 14:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576067328001,"power":28430,"unknown_127":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3157093676520507392}} 
[2026-07-08 14:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":127584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451570,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:17:08] local.INFO: GPS data processed {"connection_id":127584,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:17:08] local.INFO: Acknowledgment sent {"connection_id":127584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:17:22] local.INFO: TCP Data received {"connection_id":127583,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e705f0012d0b130007029fc00005013422..."} 
[2026-07-08 14:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e705f0012d0b130007029fc00005013422..."} 
[2026-07-08 14:17:22] local.INFO: Processing buffer {"connection_id":127583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e705f0012d0b130007029fc00005013422..."} 
[2026-07-08 14:17:22] local.INFO: Packet analysis {"connection_id":127583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e7"} 
[2026-07-08 14:17:22] local.INFO: Extracted packet for processing {"connection_id":127583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e7"} 
[2026-07-08 14:17:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576002304001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783500310000,"timestamp_ms":1783500310000,"timestamp_seconds":1783500310,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e705f0"} 
[2026-07-08 14:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":127583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":127583,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":127583,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576002304001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576002304001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:17:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576002304001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":127583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451571,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:17:22] local.INFO: GPS data processed {"connection_id":127583,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:17:22] local.INFO: Acknowledgment sent {"connection_id":127583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:17:31] local.INFO: TCP Data received {"connection_id":125456,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e86580012d84f8800591f7b80005009e2d..."} 
[2026-07-08 14:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e86580012d84f8800591f7b80005009e2d..."} 
[2026-07-08 14:17:31] local.INFO: Processing buffer {"connection_id":125456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e86580012d84f8800591f7b80005009e2d..."} 
[2026-07-08 14:17:31] local.INFO: Packet analysis {"connection_id":125456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e8"} 
[2026-07-08 14:17:31] local.INFO: Extracted packet for processing {"connection_id":125456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e8"} 
[2026-07-08 14:17:31] local.INFO: GPS Element Parsed {"raw_longitude":763689088,"raw_latitude":93452216,"longitude_deg":76.3689088,"latitude_deg":9.3452216,"altitude":5,"angle":158,"satellites":45,"speed":59,"hex_longitude":"2d84f880","hex_latitude":"0591f7b8","is_valid_coordinates":true} 
[2026-07-08 14:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576100864001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342639554433384448,"note":"Value kept but may cause issues"} 
[2026-07-08 14:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8868713542273443840,"note":"Value kept but may cause issues"} 
[2026-07-08 14:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783500400000,"timestamp_ms":1783500400000,"timestamp_seconds":1783500400,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e86580"} 
[2026-07-08 14:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 14:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:17:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":125456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":125456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":125456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576100864001,"66":27919,"173":206,"85":14592,"24":59,"16":342639554433384448,"45":-8868713542273443840},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-07-08 14:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576100864001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:17:31] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-08 14:17:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 14:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342639554433384448,"km_value":342639554433384.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8868713542273443840,"description":"Unknown IO ID 45"} 
[2026-07-08 14:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576100864001,"power":27919,"unknown_173":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-8868713542273443840}} 
[2026-07-08 14:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":125456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:17:31] local.INFO: GPS data processed {"connection_id":125456,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:17:31] local.INFO: Acknowledgment sent {"connection_id":125456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:17:39] local.INFO: TCP Data received {"connection_id":127584,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e6daf8012cd4740007385b20000f00662a..."} 
[2026-07-08 14:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e6daf8012cd4740007385b20000f00662a..."} 
[2026-07-08 14:17:39] local.INFO: Processing buffer {"connection_id":127584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e6daf8012cd4740007385b20000f00662a..."} 
[2026-07-08 14:17:39] local.INFO: Packet analysis {"connection_id":127584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e6"} 
[2026-07-08 14:17:39] local.INFO: Extracted packet for processing {"connection_id":127584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e6"} 
[2026-07-08 14:17:39] local.INFO: GPS Element Parsed {"raw_longitude":752120832,"raw_latitude":121133856,"longitude_deg":75.2120832,"latitude_deg":12.1133856,"altitude":15,"angle":102,"satellites":42,"speed":38,"hex_longitude":"2cd47400","hex_latitude":"07385b20","is_valid_coordinates":true} 
[2026-07-08 14:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576072704001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133342027118018560,"note":"Value kept but may cause issues"} 
[2026-07-08 14:17:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3156952939032104960,"note":"Value kept but may cause issues"} 
[2026-07-08 14:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783500299000,"timestamp_ms":1783500299000,"timestamp_seconds":1783500299,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e6daf8"} 
[2026-07-08 14:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-08 14:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":127584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":127584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":127584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576072704001,"66":28452,"127":206,"2":56832,"24":38,"16":133342027118018560,"44":-3156952939032104960},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,44]} 
[2026-07-08 14:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576072704001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:17:39] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-07-08 14:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133342027118018560,"km_value":133342027118018.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:17:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3156952939032104960,"description":"Unknown IO ID 44"} 
[2026-07-08 14:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576072704001,"power":28452,"unknown_127":206,"power_alt":56832,"ignition":38,"odometer":null,"unknown_44":-3156952939032104960}} 
[2026-07-08 14:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":127584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451573,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:17:39] local.INFO: GPS data processed {"connection_id":127584,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:17:39] local.INFO: Acknowledgment sent {"connection_id":127584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:17:45] local.INFO: TCP Data received {"connection_id":127585,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127585,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:17:45] local.INFO: Processing buffer {"connection_id":127585,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:17:45] local.INFO: IMEI packet received {"connection_id":127585,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":127585,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:17:50] local.INFO: TCP Data received {"connection_id":127585,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127585,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:17:50] local.INFO: Processing buffer {"connection_id":127585,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:17:50] local.INFO: IMEI packet received {"connection_id":127585,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":127585,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:17:51] local.INFO: TCP Data received {"connection_id":127585,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e705f0012d0b130007029fc00005013422..."} 
[2026-07-08 14:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e705f0012d0b130007029fc00005013422..."} 
[2026-07-08 14:17:51] local.INFO: Processing buffer {"connection_id":127585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e705f0012d0b130007029fc00005013422..."} 
[2026-07-08 14:17:51] local.INFO: Packet analysis {"connection_id":127585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e7"} 
[2026-07-08 14:17:51] local.INFO: Extracted packet for processing {"connection_id":127585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e7"} 
[2026-07-08 14:17:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576002304001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783500310000,"timestamp_ms":1783500310000,"timestamp_seconds":1783500310,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e705f0"} 
[2026-07-08 14:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:17:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:17:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127585,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127585,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576002304001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576002304001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:17:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576002304001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":127585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451574,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:17:51] local.INFO: GPS data processed {"connection_id":127585,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:17:51] local.INFO: Acknowledgment sent {"connection_id":127585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:17:56] local.INFO: TCP Data received {"connection_id":126345,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:17:56] local.INFO: Processing buffer {"connection_id":126345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:17:56] local.INFO: IMEI packet received {"connection_id":126345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":126345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:17:57] local.INFO: TCP Data received {"connection_id":125577,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125577,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:17:57] local.INFO: Processing buffer {"connection_id":125577,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:17:57] local.INFO: IMEI packet received {"connection_id":125577,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 14:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":125577,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:17:58] local.INFO: TCP Data received {"connection_id":125577,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125577,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:17:58] local.INFO: Processing buffer {"connection_id":125577,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:17:58] local.INFO: IMEI packet received {"connection_id":125577,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":125577,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:17:59] local.INFO: TCP Data received {"connection_id":126345,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:17:59] local.INFO: Processing buffer {"connection_id":126345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:17:59] local.INFO: IMEI packet received {"connection_id":126345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":126345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:18:00] local.INFO: TCP Data received {"connection_id":125577,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125577,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:18:00] local.INFO: Processing buffer {"connection_id":125577,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:18:00] local.INFO: IMEI packet received {"connection_id":125577,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":125577,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:18:00] local.INFO: TCP Data received {"connection_id":126345,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e87cf0012d8505c00591d7380005009e2c..."} 
[2026-07-08 14:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e87cf0012d8505c00591d7380005009e2c..."} 
[2026-07-08 14:18:00] local.INFO: Processing buffer {"connection_id":126345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e87cf0012d8505c00591d7380005009e2c..."} 
[2026-07-08 14:18:00] local.INFO: Packet analysis {"connection_id":126345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e8"} 
[2026-07-08 14:18:00] local.INFO: Extracted packet for processing {"connection_id":126345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e8"} 
[2026-07-08 14:18:00] local.INFO: GPS Element Parsed {"raw_longitude":763692480,"raw_latitude":93443896,"longitude_deg":76.369248,"latitude_deg":9.3443896,"altitude":5,"angle":158,"satellites":44,"speed":59,"hex_longitude":"2d8505c0","hex_latitude":"0591d738","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576102400001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342639988225081344,"note":"Value kept but may cause issues"} 
[2026-07-08 14:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8865195105066698752,"note":"Value kept but may cause issues"} 
[2026-07-08 14:18:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783500406000,"timestamp_ms":1783500406000,"timestamp_seconds":1783500406,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e87cf0"} 
[2026-07-08 14:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:18:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 14:18:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:18:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576102400001,"66":27821,"173":206,"85":14592,"24":59,"16":342639988225081344,"45":-8865195105066698752},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-07-08 14:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576102400001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:18:00] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-08 14:18:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 14:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342639988225081344,"km_value":342639988225081.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:18:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8865195105066698752,"description":"Unknown IO ID 45"} 
[2026-07-08 14:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576102400001,"power":27821,"unknown_173":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-8865195105066698752}} 
[2026-07-08 14:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":126345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:18:00] local.INFO: GPS data processed {"connection_id":126345,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:18:00] local.INFO: Acknowledgment sent {"connection_id":126345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:18:02] local.INFO: TCP Data received {"connection_id":125577,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e72530012cd4ba00073856e8000a004f2a..."} 
[2026-07-08 14:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e72530012cd4ba00073856e8000a004f2a..."} 
[2026-07-08 14:18:02] local.INFO: Processing buffer {"connection_id":125577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e72530012cd4ba00073856e8000a004f2a..."} 
[2026-07-08 14:18:02] local.INFO: Packet analysis {"connection_id":125577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e7"} 
[2026-07-08 14:18:02] local.INFO: Extracted packet for processing {"connection_id":125577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e7"} 
[2026-07-08 14:18:02] local.INFO: GPS Element Parsed {"raw_longitude":752138752,"raw_latitude":121132776,"longitude_deg":75.2138752,"latitude_deg":12.1132776,"altitude":10,"angle":79,"satellites":42,"speed":40,"hex_longitude":"2cd4ba00","hex_latitude":"073856e8","is_valid_coordinates":true} 
[2026-07-08 14:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576076544001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133342027118018560,"note":"Value kept but may cause issues"} 
[2026-07-08 14:18:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3137883009360125952,"note":"Value kept but may cause issues"} 
[2026-07-08 14:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783500318000,"timestamp_ms":1783500318000,"timestamp_seconds":1783500318,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e72530"} 
[2026-07-08 14:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:18: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-07-08 14:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 14:18:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:18:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576076544001,"66":28517,"49":206,"2":56832,"24":40,"16":133342027118018560,"44":-3137883009360125952},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,2,24,16,44]} 
[2026-07-08 14:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576076544001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:18:02] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-08 14:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133342027118018560,"km_value":133342027118018.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:18:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3137883009360125952,"description":"Unknown IO ID 44"} 
[2026-07-08 14:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576076544001,"power":28517,"unknown_49":206,"power_alt":56832,"ignition":40,"odometer":null,"unknown_44":-3137883009360125952}} 
[2026-07-08 14:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":125577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451576,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:18:02] local.INFO: GPS data processed {"connection_id":125577,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:18:02] local.INFO: Acknowledgment sent {"connection_id":125577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:18:02] local.INFO: TCP Data received {"connection_id":125577,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e77738012cd50000073867a0000800562d..."} 
[2026-07-08 14:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e77738012cd50000073867a0000800562d..."} 
[2026-07-08 14:18:03] local.INFO: Processing buffer {"connection_id":125577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e77738012cd50000073867a0000800562d..."} 
[2026-07-08 14:18:03] local.INFO: Packet analysis {"connection_id":125577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e7"} 
[2026-07-08 14:18:03] local.INFO: Extracted packet for processing {"connection_id":125577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e7"} 
[2026-07-08 14:18:03] local.INFO: GPS Element Parsed {"raw_longitude":752156672,"raw_latitude":121137056,"longitude_deg":75.2156672,"latitude_deg":12.1137056,"altitude":8,"angle":86,"satellites":45,"speed":0,"hex_longitude":"2cd50000","hex_latitude":"073867a0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576081408001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133342027118018560,"note":"Value kept but may cause issues"} 
[2026-07-08 14:18:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3118179760990656512,"note":"Value kept but may cause issues"} 
[2026-07-08 14:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783500339000,"timestamp_ms":1783500339000,"timestamp_seconds":1783500339,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e77738"} 
[2026-07-08 14:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":111,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 14:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1662,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576081408001,"66":28539,"49":206,"2":56832,"24":0,"16":133342027118018560,"44":-3118179760990656512},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,2,24,16,44]} 
[2026-07-08 14:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576081408001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:18:03] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-08 14:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133342027118018560,"km_value":133342027118018.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:18:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3118179760990656512,"description":"Unknown IO ID 44"} 
[2026-07-08 14:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576081408001,"power":28539,"unknown_49":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3118179760990656512}} 
[2026-07-08 14:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":125577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451577,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:18:03] local.INFO: GPS data processed {"connection_id":125577,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:18:03] local.INFO: Acknowledgment sent {"connection_id":125577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:18:22] local.INFO: TCP Data received {"connection_id":127585,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e705f0012d0b130007029fc00005013422..."} 
[2026-07-08 14:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e705f0012d0b130007029fc00005013422..."} 
[2026-07-08 14:18:22] local.INFO: Processing buffer {"connection_id":127585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e705f0012d0b130007029fc00005013422..."} 
[2026-07-08 14:18:22] local.INFO: Packet analysis {"connection_id":127585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e7"} 
[2026-07-08 14:18:22] local.INFO: Extracted packet for processing {"connection_id":127585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e7"} 
[2026-07-08 14:18:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576002304001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783500310000,"timestamp_ms":1783500310000,"timestamp_seconds":1783500310,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e705f0"} 
[2026-07-08 14:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:18:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:18:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":127585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":127585,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":127585,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576002304001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576002304001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:18:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576002304001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":127585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451578,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:18:22] local.INFO: GPS data processed {"connection_id":127585,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:18:22] local.INFO: Acknowledgment sent {"connection_id":127585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:18:31] local.INFO: TCP Data received {"connection_id":126345,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e89460012d8512c00591b7000004009c2b..."} 
[2026-07-08 14:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e89460012d8512c00591b7000004009c2b..."} 
[2026-07-08 14:18:31] local.INFO: Processing buffer {"connection_id":126345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e89460012d8512c00591b7000004009c2b..."} 
[2026-07-08 14:18:31] local.INFO: Packet analysis {"connection_id":126345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e8"} 
[2026-07-08 14:18:31] local.INFO: Extracted packet for processing {"connection_id":126345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e8"} 
[2026-07-08 14:18:31] local.INFO: GPS Element Parsed {"raw_longitude":763695808,"raw_latitude":93435648,"longitude_deg":76.3695808,"latitude_deg":9.3435648,"altitude":4,"angle":156,"satellites":43,"speed":59,"hex_longitude":"2d8512c0","hex_latitude":"0591b700","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576103936001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342640422016778240,"note":"Value kept but may cause issues"} 
[2026-07-08 14:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8861465561627412480,"note":"Value kept but may cause issues"} 
[2026-07-08 14:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783500412000,"timestamp_ms":1783500412000,"timestamp_seconds":1783500412,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e89460"} 
[2026-07-08 14:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 14:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":126345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":126345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":126345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576103936001,"66":27843,"173":206,"85":14592,"24":59,"16":342640422016778240,"45":-8861465561627412480},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-07-08 14:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576103936001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:18:31] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-08 14:18:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 14:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342640422016778240,"km_value":342640422016778.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8861465561627412480,"description":"Unknown IO ID 45"} 
[2026-07-08 14:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576103936001,"power":27843,"unknown_173":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-8861465561627412480}} 
[2026-07-08 14:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":126345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:18:31] local.INFO: GPS data processed {"connection_id":126345,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:18:31] local.INFO: Acknowledgment sent {"connection_id":126345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:18:34] local.INFO: TCP Data received {"connection_id":125577,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e95f80012cd53b4007399d48001000002e..."} 
[2026-07-08 14:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e95f80012cd53b4007399d48001000002e..."} 
[2026-07-08 14:18:34] local.INFO: Processing buffer {"connection_id":125577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e95f80012cd53b4007399d48001000002e..."} 
[2026-07-08 14:18:34] local.INFO: Packet analysis {"connection_id":125577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e9"} 
[2026-07-08 14:18:34] local.INFO: Extracted packet for processing {"connection_id":125577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e9"} 
[2026-07-08 14:18:34] local.INFO: GPS Element Parsed {"raw_longitude":752171840,"raw_latitude":121216328,"longitude_deg":75.217184,"latitude_deg":12.1216328,"altitude":16,"angle":0,"satellites":46,"speed":45,"hex_longitude":"2cd53b40","hex_latitude":"07399d48","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576116736001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133346038617473024,"note":"Value kept but may cause issues"} 
[2026-07-08 14:18:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3081658382743420928,"note":"Value kept but may cause issues"} 
[2026-07-08 14:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783500464000,"timestamp_ms":1783500464000,"timestamp_seconds":1783500464,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e95f80"} 
[2026-07-08 14:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1374,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576116736001,"66":28506,"50":206,"2":56832,"24":45,"16":133346038617473024,"44":-3081658382743420928},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,2,24,16,44]} 
[2026-07-08 14:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576116736001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:18:34] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-08 14:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133346038617473024,"km_value":133346038617473.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:18:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3081658382743420928,"description":"Unknown IO ID 44"} 
[2026-07-08 14:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576116736001,"power":28506,"unknown_50":206,"power_alt":56832,"ignition":45,"odometer":null,"unknown_44":-3081658382743420928}} 
[2026-07-08 14:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":125577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451580,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:18:34] local.INFO: GPS data processed {"connection_id":125577,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:18:34] local.INFO: Acknowledgment sent {"connection_id":125577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:18:44] local.INFO: TCP Data received {"connection_id":125579,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125579,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:18:44] local.INFO: Processing buffer {"connection_id":125579,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:18:44] local.INFO: IMEI packet received {"connection_id":125579,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":125579,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:18:49] local.INFO: TCP Data received {"connection_id":125579,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125579,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:18:49] local.INFO: Processing buffer {"connection_id":125579,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:18:49] local.INFO: IMEI packet received {"connection_id":125579,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":125579,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:18:50] local.INFO: TCP Data received {"connection_id":125579,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e705f0012d0b130007029fc00005013422..."} 
[2026-07-08 14:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e705f0012d0b130007029fc00005013422..."} 
[2026-07-08 14:18:50] local.INFO: Processing buffer {"connection_id":125579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e705f0012d0b130007029fc00005013422..."} 
[2026-07-08 14:18:50] local.INFO: Packet analysis {"connection_id":125579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e7"} 
[2026-07-08 14:18:50] local.INFO: Extracted packet for processing {"connection_id":125579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e7"} 
[2026-07-08 14:18:50] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576002304001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:18:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:18:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783500310000,"timestamp_ms":1783500310000,"timestamp_seconds":1783500310,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e705f0"} 
[2026-07-08 14:18:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:18:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:18:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:18:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:18:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":125579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":125579,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":125579,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:18:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576002304001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576002304001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:18:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:18:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576002304001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":125579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451581,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:18:50] local.INFO: GPS data processed {"connection_id":125579,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:18:50] local.INFO: Acknowledgment sent {"connection_id":125579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:18:55] local.INFO: TCP Data received {"connection_id":127586,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127586,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:18:55] local.INFO: Processing buffer {"connection_id":127586,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:18:55] local.INFO: IMEI packet received {"connection_id":127586,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 14:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":127586,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:18:55] local.INFO: TCP Data received {"connection_id":125580,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:18:55] local.INFO: Processing buffer {"connection_id":125580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:18:55] local.INFO: IMEI packet received {"connection_id":125580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":125580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:18:56] local.INFO: TCP Data received {"connection_id":127586,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127586,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:18:56] local.INFO: Processing buffer {"connection_id":127586,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:18:56] local.INFO: IMEI packet received {"connection_id":127586,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":127586,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:19:00] local.INFO: TCP Data received {"connection_id":125580,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:19:00] local.INFO: Processing buffer {"connection_id":125580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:19:00] local.INFO: IMEI packet received {"connection_id":125580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":125580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:19:01] local.INFO: TCP Data received {"connection_id":125580,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e99630012d85a480059053200005009e2d..."} 
[2026-07-08 14:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e99630012d85a480059053200005009e2d..."} 
[2026-07-08 14:19:01] local.INFO: Processing buffer {"connection_id":125580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e99630012d85a480059053200005009e2d..."} 
[2026-07-08 14:19:01] local.INFO: Packet analysis {"connection_id":125580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e9"} 
[2026-07-08 14:19:01] local.INFO: Extracted packet for processing {"connection_id":125580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e9"} 
[2026-07-08 14:19:01] local.INFO: GPS Element Parsed {"raw_longitude":763733120,"raw_latitude":93344544,"longitude_deg":76.373312,"latitude_deg":9.3344544,"altitude":5,"angle":158,"satellites":45,"speed":59,"hex_longitude":"2d85a480","hex_latitude":"05905320","is_valid_coordinates":true} 
[2026-07-08 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-07-08 14:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576120832001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342645189430476800,"note":"Value kept but may cause issues"} 
[2026-07-08 14:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8820229477562585088,"note":"Value kept but may cause issues"} 
[2026-07-08 14:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783500478000,"timestamp_ms":1783500478000,"timestamp_seconds":1783500478,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e99630"} 
[2026-07-08 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-07-08 14:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-08 14:19:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 14:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576120832001,"66":27974,"173":206,"85":14592,"24":59,"16":342645189430476800,"45":-8820229477562585088},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-07-08 14:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576120832001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:19:01] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-08 14:19:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 14:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342645189430476800,"km_value":342645189430476.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8820229477562585088,"description":"Unknown IO ID 45"} 
[2026-07-08 14:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576120832001,"power":27974,"unknown_173":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-8820229477562585088}} 
[2026-07-08 14:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":125580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:19:01] local.INFO: GPS data processed {"connection_id":125580,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:19:01] local.INFO: Acknowledgment sent {"connection_id":125580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:19:01] local.INFO: TCP Data received {"connection_id":127586,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127586,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:19:01] local.INFO: Processing buffer {"connection_id":127586,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:19:01] local.INFO: IMEI packet received {"connection_id":127586,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":127586,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:19:02] local.INFO: TCP Data received {"connection_id":127586,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e97ec0012cd53c800739c250000f00002c..."} 
[2026-07-08 14:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e97ec0012cd53c800739c250000f00002c..."} 
[2026-07-08 14:19:02] local.INFO: Processing buffer {"connection_id":127586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e97ec0012cd53c800739c250000f00002c..."} 
[2026-07-08 14:19:02] local.INFO: Packet analysis {"connection_id":127586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e9"} 
[2026-07-08 14:19:02] local.INFO: Extracted packet for processing {"connection_id":127586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e9"} 
[2026-07-08 14:19:02] local.INFO: GPS Element Parsed {"raw_longitude":752172160,"raw_latitude":121225808,"longitude_deg":75.217216,"latitude_deg":12.1225808,"altitude":15,"angle":0,"satellites":44,"speed":50,"hex_longitude":"2cd53c80","hex_latitude":"0739c250","is_valid_coordinates":true} 
[2026-07-08 14:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576118784001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133346498178973696,"note":"Value kept but may cause issues"} 
[2026-07-08 14:19:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3081799120229414912,"note":"Value kept but may cause issues"} 
[2026-07-08 14:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783500472000,"timestamp_ms":1783500472000,"timestamp_seconds":1783500472,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e97ec0"} 
[2026-07-08 14:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:19: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-07-08 14:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-07-08 14:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1563,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127586,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127586,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576118784001,"66":28506,"39":206,"2":56832,"24":50,"16":133346498178973696,"44":-3081799120229414912},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,2,24,16,44]} 
[2026-07-08 14:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576118784001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:19:02] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-08 14:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133346498178973696,"km_value":133346498178973.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:19:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3081799120229414912,"description":"Unknown IO ID 44"} 
[2026-07-08 14:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576118784001,"power":28506,"unknown_39":206,"power_alt":56832,"ignition":50,"odometer":null,"unknown_44":-3081799120229414912}} 
[2026-07-08 14:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":127586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451583,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:19:02] local.INFO: GPS data processed {"connection_id":127586,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:19:02] local.INFO: Acknowledgment sent {"connection_id":127586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:19:22] local.INFO: TCP Data received {"connection_id":125579,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e705f0012d0b130007029fc00005013422..."} 
[2026-07-08 14:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e705f0012d0b130007029fc00005013422..."} 
[2026-07-08 14:19:22] local.INFO: Processing buffer {"connection_id":125579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e705f0012d0b130007029fc00005013422..."} 
[2026-07-08 14:19:22] local.INFO: Packet analysis {"connection_id":125579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e7"} 
[2026-07-08 14:19:22] local.INFO: Extracted packet for processing {"connection_id":125579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e7"} 
[2026-07-08 14:19:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576002304001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:19:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783500310000,"timestamp_ms":1783500310000,"timestamp_seconds":1783500310,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e705f0"} 
[2026-07-08 14:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:19:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:19:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125579,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125579,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:19:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576002304001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576002304001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:19:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576002304001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":125579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451584,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:19:22] local.INFO: GPS data processed {"connection_id":125579,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:19:22] local.INFO: Acknowledgment sent {"connection_id":125579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:19:32] local.INFO: TCP Data received {"connection_id":125580,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e9ada0012d85b300059033100005009a2d..."} 
[2026-07-08 14:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e9ada0012d85b300059033100005009a2d..."} 
[2026-07-08 14:19:32] local.INFO: Processing buffer {"connection_id":125580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e9ada0012d85b300059033100005009a2d..."} 
[2026-07-08 14:19:32] local.INFO: Packet analysis {"connection_id":125580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e9"} 
[2026-07-08 14:19:32] local.INFO: Extracted packet for processing {"connection_id":125580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e9"} 
[2026-07-08 14:19:32] local.INFO: GPS Element Parsed {"raw_longitude":763736832,"raw_latitude":93336336,"longitude_deg":76.3736832,"latitude_deg":9.3336336,"altitude":5,"angle":154,"satellites":45,"speed":59,"hex_longitude":"2d85b300","hex_latitude":"05903310","is_valid_coordinates":true} 
[2026-07-08 14:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576122368001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342645623222173696,"note":"Value kept but may cause issues"} 
[2026-07-08 14:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8816781409100029952,"note":"Value kept but may cause issues"} 
[2026-07-08 14:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783500484000,"timestamp_ms":1783500484000,"timestamp_seconds":1783500484,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e9ada0"} 
[2026-07-08 14:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-08 14:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576122368001,"66":27930,"173":206,"85":14592,"24":59,"16":342645623222173696,"45":-8816781409100029952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-07-08 14:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576122368001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:19:32] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-08 14:19:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 14:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342645623222173696,"km_value":342645623222173.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8816781409100029952,"description":"Unknown IO ID 45"} 
[2026-07-08 14:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576122368001,"power":27930,"unknown_173":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-8816781409100029952}} 
[2026-07-08 14:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":125580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:19:32] local.INFO: GPS data processed {"connection_id":125580,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:19:32] local.INFO: Acknowledgment sent {"connection_id":125580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:19:33] local.INFO: TCP Data received {"connection_id":127586,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e99a18012cd53c000739e708000f01652d..."} 
[2026-07-08 14:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e99a18012cd53c000739e708000f01652d..."} 
[2026-07-08 14:19:33] local.INFO: Processing buffer {"connection_id":127586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e99a18012cd53c000739e708000f01652d..."} 
[2026-07-08 14:19:33] local.INFO: Packet analysis {"connection_id":127586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e9"} 
[2026-07-08 14:19:33] local.INFO: Extracted packet for processing {"connection_id":127586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e9"} 
[2026-07-08 14:19:33] local.INFO: GPS Element Parsed {"raw_longitude":752172032,"raw_latitude":121235208,"longitude_deg":75.2172032,"latitude_deg":12.1235208,"altitude":15,"angle":357,"satellites":45,"speed":55,"hex_longitude":"2cd53c00","hex_latitude":"0739e708","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576120832001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133346953445507072,"note":"Value kept but may cause issues"} 
[2026-07-08 14:19:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3081447276506099712,"note":"Value kept but may cause issues"} 
[2026-07-08 14:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783500479000,"timestamp_ms":1783500479000,"timestamp_seconds":1783500479,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e99a18"} 
[2026-07-08 14:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:19: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-07-08 14: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":111,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-07-08 14:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1563,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127586,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127586,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576120832001,"66":28517,"39":206,"2":56832,"24":55,"16":133346953445507072,"44":-3081447276506099712},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,2,24,16,44]} 
[2026-07-08 14:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576120832001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:19:33] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-08 14:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133346953445507072,"km_value":133346953445507.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:19:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3081447276506099712,"description":"Unknown IO ID 44"} 
[2026-07-08 14:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576120832001,"power":28517,"unknown_39":206,"power_alt":56832,"ignition":55,"odometer":null,"unknown_44":-3081447276506099712}} 
[2026-07-08 14:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":127586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451586,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:19:34] local.INFO: GPS data processed {"connection_id":127586,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:19:34] local.INFO: Acknowledgment sent {"connection_id":127586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:19:44] local.INFO: TCP Data received {"connection_id":127587,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127587,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:19:44] local.INFO: Processing buffer {"connection_id":127587,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:19:44] local.INFO: IMEI packet received {"connection_id":127587,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":127587,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:19:51] local.INFO: TCP Data received {"connection_id":127587,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127587,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:19:51] local.INFO: Processing buffer {"connection_id":127587,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:19:51] local.INFO: IMEI packet received {"connection_id":127587,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":127587,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:19:52] local.INFO: TCP Data received {"connection_id":127587,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e705f0012d0b130007029fc00005013422..."} 
[2026-07-08 14:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e705f0012d0b130007029fc00005013422..."} 
[2026-07-08 14:19:52] local.INFO: Processing buffer {"connection_id":127587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e705f0012d0b130007029fc00005013422..."} 
[2026-07-08 14:19:52] local.INFO: Packet analysis {"connection_id":127587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e7"} 
[2026-07-08 14:19:52] local.INFO: Extracted packet for processing {"connection_id":127587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e7"} 
[2026-07-08 14:19:52] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 14:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576002304001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783500310000,"timestamp_ms":1783500310000,"timestamp_seconds":1783500310,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e705f0"} 
[2026-07-08 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-07-08 14:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 14:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":127587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":127587,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":127587,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576002304001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576002304001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:19:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576002304001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":127587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451587,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:19:52] local.INFO: GPS data processed {"connection_id":127587,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:19:52] local.INFO: Acknowledgment sent {"connection_id":127587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:19:55] local.INFO: TCP Data received {"connection_id":125457,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:19:55] local.INFO: Processing buffer {"connection_id":125457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:19:55] local.INFO: IMEI packet received {"connection_id":125457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":125457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:19:56] local.INFO: TCP Data received {"connection_id":127588,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127588,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:19:56] local.INFO: Processing buffer {"connection_id":127588,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:19:56] local.INFO: IMEI packet received {"connection_id":127588,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 14:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":127588,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:19:58] local.INFO: TCP Data received {"connection_id":127588,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127588,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:19:58] local.INFO: Processing buffer {"connection_id":127588,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:19:58] local.INFO: IMEI packet received {"connection_id":127588,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":127588,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:20:00] local.INFO: TCP Data received {"connection_id":127588,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127588,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:20:00] local.INFO: Processing buffer {"connection_id":127588,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:20:00] local.INFO: IMEI packet received {"connection_id":127588,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":127588,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:20:00] local.INFO: TCP Data received {"connection_id":125457,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:20:00] local.INFO: Processing buffer {"connection_id":125457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:20:00] local.INFO: IMEI packet received {"connection_id":125457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":125457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:20:01] local.INFO: TCP Data received {"connection_id":125457,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e9c510012d85c20005901360000500992d..."} 
[2026-07-08 14:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e9c510012d85c20005901360000500992d..."} 
[2026-07-08 14:20:01] local.INFO: Processing buffer {"connection_id":125457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e9c510012d85c20005901360000500992d..."} 
[2026-07-08 14:20:01] local.INFO: Packet analysis {"connection_id":125457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e9"} 
[2026-07-08 14:20:01] local.INFO: Extracted packet for processing {"connection_id":125457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e9"} 
[2026-07-08 14:20:01] local.INFO: GPS Element Parsed {"raw_longitude":763740672,"raw_latitude":93328224,"longitude_deg":76.3740672,"latitude_deg":9.3328224,"altitude":5,"angle":153,"satellites":45,"speed":59,"hex_longitude":"2d85c200","hex_latitude":"05901360","is_valid_coordinates":true} 
[2026-07-08 14:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576123904001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342646057013870592,"note":"Value kept but may cause issues"} 
[2026-07-08 14:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8812700021939826688,"note":"Value kept but may cause issues"} 
[2026-07-08 14:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783500490000,"timestamp_ms":1783500490000,"timestamp_seconds":1783500490,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e9c510"} 
[2026-07-08 14:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-08 14:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:20:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576123904001,"66":27865,"173":206,"85":14592,"24":59,"16":342646057013870592,"45":-8812700021939826688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-07-08 14:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576123904001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:20:01] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-08 14:20:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 14:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342646057013870592,"km_value":342646057013870.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8812700021939826688,"description":"Unknown IO ID 45"} 
[2026-07-08 14:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576123904001,"power":27865,"unknown_173":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-8812700021939826688}} 
[2026-07-08 14:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":125457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:20:01] local.INFO: GPS data processed {"connection_id":125457,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:20:01] local.INFO: Acknowledgment sent {"connection_id":125457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:20:02] local.INFO: TCP Data received {"connection_id":127588,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127588,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:20:02] local.INFO: Processing buffer {"connection_id":127588,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:20:02] local.INFO: IMEI packet received {"connection_id":127588,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":127588,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:20:03] local.INFO: TCP Data received {"connection_id":127588,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e9b570012cd53500073a0bf0000f015a2d..."} 
[2026-07-08 14:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e9b570012cd53500073a0bf0000f015a2d..."} 
[2026-07-08 14:20:03] local.INFO: Processing buffer {"connection_id":127588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e9b570012cd53500073a0bf0000f015a2d..."} 
[2026-07-08 14:20:03] local.INFO: Packet analysis {"connection_id":127588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e9"} 
[2026-07-08 14:20:03] local.INFO: Extracted packet for processing {"connection_id":127588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e9"} 
[2026-07-08 14:20:03] local.INFO: GPS Element Parsed {"raw_longitude":752170240,"raw_latitude":121244656,"longitude_deg":75.217024,"latitude_deg":12.1244656,"altitude":15,"angle":346,"satellites":45,"speed":53,"hex_longitude":"2cd53500","hex_latitude":"073a0bf0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 14:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576122624001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133347421596942336,"note":"Value kept but may cause issues"} 
[2026-07-08 14:20:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3081588013992048640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783500486000,"timestamp_ms":1783500486000,"timestamp_seconds":1783500486,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e9b570"} 
[2026-07-08 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-07-08 14:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":111,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 14:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1662,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 14:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127588,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127588,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576122624001,"66":28495,"39":206,"2":56832,"24":53,"16":133347421596942336,"44":-3081588013992048640},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,2,24,16,44]} 
[2026-07-08 14:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576122624001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:20:03] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-08 14:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133347421596942336,"km_value":133347421596942.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:20:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3081588013992048640,"description":"Unknown IO ID 44"} 
[2026-07-08 14:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576122624001,"power":28495,"unknown_39":206,"power_alt":56832,"ignition":53,"odometer":null,"unknown_44":-3081588013992048640}} 
[2026-07-08 14:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":127588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451589,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:20:03] local.INFO: GPS data processed {"connection_id":127588,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:20:03] local.INFO: Acknowledgment sent {"connection_id":127588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:20:07] local.INFO: TCP Data received {"connection_id":127588,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e9d0c8012cd52e00073a2f180010015e2b..."} 
[2026-07-08 14:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e9d0c8012cd52e00073a2f180010015e2b..."} 
[2026-07-08 14:20:07] local.INFO: Processing buffer {"connection_id":127588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e9d0c8012cd52e00073a2f180010015e2b..."} 
[2026-07-08 14:20:07] local.INFO: Packet analysis {"connection_id":127588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e9"} 
[2026-07-08 14:20:07] local.INFO: Extracted packet for processing {"connection_id":127588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e9"} 
[2026-07-08 14:20:07] local.INFO: GPS Element Parsed {"raw_longitude":752168448,"raw_latitude":121253656,"longitude_deg":75.2168448,"latitude_deg":12.1253656,"altitude":16,"angle":350,"satellites":43,"speed":49,"hex_longitude":"2cd52e00","hex_latitude":"073a2f18","is_valid_coordinates":true} 
[2026-07-08 14:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576124416001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133347863978573824,"note":"Value kept but may cause issues"} 
[2026-07-08 14:20:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3083558338826604544,"note":"Value kept but may cause issues"} 
[2026-07-08 14:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783500493000,"timestamp_ms":1783500493000,"timestamp_seconds":1783500493,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e9d0c8"} 
[2026-07-08 14:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-08 14:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1464,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127588,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127588,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576124416001,"66":28452,"39":206,"2":56832,"24":49,"16":133347863978573824,"44":-3083558338826604544},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,2,24,16,44]} 
[2026-07-08 14:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576124416001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:20:07] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-08 14:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133347863978573824,"km_value":133347863978573.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:20:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3083558338826604544,"description":"Unknown IO ID 44"} 
[2026-07-08 14:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576124416001,"power":28452,"unknown_39":206,"power_alt":56832,"ignition":49,"odometer":null,"unknown_44":-3083558338826604544}} 
[2026-07-08 14:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":127588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451590,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:20:07] local.INFO: GPS data processed {"connection_id":127588,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:20:07] local.INFO: Acknowledgment sent {"connection_id":127588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:20:24] local.INFO: TCP Data received {"connection_id":127587,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40eb9db8012d0b130007029fc00005013422..."} 
[2026-07-08 14:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40eb9db8012d0b130007029fc00005013422..."} 
[2026-07-08 14:20:24] local.INFO: Processing buffer {"connection_id":127587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40eb9db8012d0b130007029fc00005013422..."} 
[2026-07-08 14:20:24] local.INFO: Packet analysis {"connection_id":127587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:20:24] local.INFO: Extracted packet for processing {"connection_id":127587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:20:24] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576079360001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783500611000,"timestamp_ms":1783500611000,"timestamp_seconds":1783500611,"priority":1,"record_length":96,"hex_timestamp":"0000019f40eb9db8"} 
[2026-07-08 14:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:20:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:20: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-07-08 14:20: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-07-08 14:20:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":127587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":127587,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":127587,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576079360001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576079360001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:20:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576079360001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":127587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451591,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:20:24] local.INFO: GPS data processed {"connection_id":127587,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:20:24] local.INFO: Acknowledgment sent {"connection_id":127587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:20:32] local.INFO: TCP Data received {"connection_id":125457,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40e9f7d8012d85d280058ff3b8000300972d..."} 
[2026-07-08 14:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40e9f7d8012d85d280058ff3b8000300972d..."} 
[2026-07-08 14:20:32] local.INFO: Processing buffer {"connection_id":125457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40e9f7d8012d85d280058ff3b8000300972d..."} 
[2026-07-08 14:20:32] local.INFO: Packet analysis {"connection_id":125457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40e9"} 
[2026-07-08 14:20:32] local.INFO: Extracted packet for processing {"connection_id":125457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40e9"} 
[2026-07-08 14:20:32] local.INFO: GPS Element Parsed {"raw_longitude":763744896,"raw_latitude":93320120,"longitude_deg":76.3744896,"latitude_deg":9.332012,"altitude":3,"angle":151,"satellites":45,"speed":18,"hex_longitude":"2d85d280","hex_latitude":"058ff3b8","is_valid_coordinates":true} 
[2026-07-08 14:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576125440001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342646499395502080,"note":"Value kept but may cause issues"} 
[2026-07-08 14:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8808477897291243520,"note":"Value kept but may cause issues"} 
[2026-07-08 14:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783500503000,"timestamp_ms":1783500503000,"timestamp_seconds":1783500503,"priority":1,"record_length":96,"hex_timestamp":"0000019f40e9f7d8"} 
[2026-07-08 14:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 14:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576125440001,"66":27876,"172":206,"85":14592,"24":18,"16":342646499395502080,"45":-8808477897291243520},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,85,24,16,45]} 
[2026-07-08 14:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576125440001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:20:32] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-08 14:20:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 14:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342646499395502080,"km_value":342646499395502.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8808477897291243520,"description":"Unknown IO ID 45"} 
[2026-07-08 14:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576125440001,"power":27876,"unknown_172":206,"unknown_85":14592,"ignition":18,"odometer":null,"unknown_45":-8808477897291243520}} 
[2026-07-08 14:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":125457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:20:32] local.INFO: GPS data processed {"connection_id":125457,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:20:32] local.INFO: Acknowledgment sent {"connection_id":125457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:20:41] local.INFO: TCP Data received {"connection_id":127588,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40eb2888012cd50140073b7d10000f01612c..."} 
[2026-07-08 14:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40eb2888012cd50140073b7d10000f01612c..."} 
[2026-07-08 14:20:41] local.INFO: Processing buffer {"connection_id":127588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40eb2888012cd50140073b7d10000f01612c..."} 
[2026-07-08 14:20:41] local.INFO: Packet analysis {"connection_id":127588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:20:41] local.INFO: Extracted packet for processing {"connection_id":127588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:20:41] local.INFO: GPS Element Parsed {"raw_longitude":752156992,"raw_latitude":121339152,"longitude_deg":75.2156992,"latitude_deg":12.1339152,"altitude":15,"angle":353,"satellites":44,"speed":47,"hex_longitude":"2cd50140","hex_latitude":"073b7d10","is_valid_coordinates":true} 
[2026-07-08 14:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576147200001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133352137471033344,"note":"Value kept but may cause issues"} 
[2026-07-08 14:20:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3095309919081699328,"note":"Value kept but may cause issues"} 
[2026-07-08 14:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783500581000,"timestamp_ms":1783500581000,"timestamp_seconds":1783500581,"priority":1,"record_length":96,"hex_timestamp":"0000019f40eb2888"} 
[2026-07-08 14:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 14:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":127588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":127588,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":127588,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576147200001,"66":28452,"38":206,"2":56832,"24":47,"16":133352137471033344,"44":-3095309919081699328},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,2,24,16,44]} 
[2026-07-08 14:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576147200001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:20:41] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-08 14:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133352137471033344,"km_value":133352137471033.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:20:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3095309919081699328,"description":"Unknown IO ID 44"} 
[2026-07-08 14:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576147200001,"power":28452,"unknown_38":206,"power_alt":56832,"ignition":47,"odometer":null,"unknown_44":-3095309919081699328}} 
[2026-07-08 14:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":127588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451593,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:20:41] local.INFO: GPS data processed {"connection_id":127588,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:20:41] local.INFO: Acknowledgment sent {"connection_id":127588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:20:50] local.INFO: TCP Data received {"connection_id":126346,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126346,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:20:50] local.INFO: Processing buffer {"connection_id":126346,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:20:50] local.INFO: IMEI packet received {"connection_id":126346,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":126346,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:20:55] local.INFO: TCP Data received {"connection_id":126346,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126346,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:20:55] local.INFO: Processing buffer {"connection_id":126346,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:20:55] local.INFO: IMEI packet received {"connection_id":126346,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":126346,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:20:55] local.INFO: TCP Data received {"connection_id":126347,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:20:55] local.INFO: Processing buffer {"connection_id":126347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:20:55] local.INFO: IMEI packet received {"connection_id":126347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":126347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:20:56] local.INFO: TCP Data received {"connection_id":126346,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40eb9db8012d0b130007029fc00005013422..."} 
[2026-07-08 14:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40eb9db8012d0b130007029fc00005013422..."} 
[2026-07-08 14:20:56] local.INFO: Processing buffer {"connection_id":126346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40eb9db8012d0b130007029fc00005013422..."} 
[2026-07-08 14:20:56] local.INFO: Packet analysis {"connection_id":126346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:20:56] local.INFO: Extracted packet for processing {"connection_id":126346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:20:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 14:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576079360001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783500611000,"timestamp_ms":1783500611000,"timestamp_seconds":1783500611,"priority":1,"record_length":96,"hex_timestamp":"0000019f40eb9db8"} 
[2026-07-08 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-07-08 14:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:20:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 14:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":126346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":126346,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":126346,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576079360001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576079360001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:20:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576079360001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":126346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451594,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:20:56] local.INFO: GPS data processed {"connection_id":126346,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:20:56] local.INFO: Acknowledgment sent {"connection_id":126346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:20:56] local.INFO: TCP Data received {"connection_id":125582,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125582,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:20:56] local.INFO: Processing buffer {"connection_id":125582,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:20:56] local.INFO: IMEI packet received {"connection_id":125582,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 14:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":125582,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:21:00] local.INFO: TCP Data received {"connection_id":126346,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40eb9db8012d0b130007029fc00005013422..."} 
[2026-07-08 14:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40eb9db8012d0b130007029fc00005013422..."} 
[2026-07-08 14:21:00] local.INFO: Processing buffer {"connection_id":126346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40eb9db8012d0b130007029fc00005013422..."} 
[2026-07-08 14:21:00] local.INFO: Packet analysis {"connection_id":126346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:21:00] local.INFO: Extracted packet for processing {"connection_id":126346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:21:00] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576079360001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:21:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783500611000,"timestamp_ms":1783500611000,"timestamp_seconds":1783500611,"priority":1,"record_length":96,"hex_timestamp":"0000019f40eb9db8"} 
[2026-07-08 14:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:21:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:21:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:21:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126346,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126346,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576079360001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576079360001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:21:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576079360001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":126346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451595,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:21:00] local.INFO: GPS data processed {"connection_id":126346,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:21:00] local.INFO: Acknowledgment sent {"connection_id":126346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:21:01] local.INFO: TCP Data received {"connection_id":126347,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:21:01] local.INFO: Processing buffer {"connection_id":126347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:21:01] local.INFO: IMEI packet received {"connection_id":126347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":126347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:21:01] local.INFO: TCP Data received {"connection_id":125582,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125582,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:21:01] local.INFO: Processing buffer {"connection_id":125582,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:21:01] local.INFO: IMEI packet received {"connection_id":125582,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":125582,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:21:01] local.INFO: TCP Data received {"connection_id":126347,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40eb5f38012d866340058eaf00000200962c..."} 
[2026-07-08 14:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40eb5f38012d866340058eaf00000200962c..."} 
[2026-07-08 14:21:01] local.INFO: Processing buffer {"connection_id":126347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40eb5f38012d866340058eaf00000200962c..."} 
[2026-07-08 14:21:01] local.INFO: Packet analysis {"connection_id":126347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:21:01] local.INFO: Extracted packet for processing {"connection_id":126347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:21:01] local.INFO: GPS Element Parsed {"raw_longitude":763781952,"raw_latitude":93236992,"longitude_deg":76.3781952,"latitude_deg":9.3236992,"altitude":2,"angle":150,"satellites":44,"speed":53,"hex_longitude":"2d866340","hex_latitude":"058eaf00","is_valid_coordinates":true} 
[2026-07-08 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-07-08 14:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576150528001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342650923211816960,"note":"Value kept but may cause issues"} 
[2026-07-08 14:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8768015869410387968,"note":"Value kept but may cause issues"} 
[2026-07-08 14:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783500595000,"timestamp_ms":1783500595000,"timestamp_seconds":1783500595,"priority":1,"record_length":96,"hex_timestamp":"0000019f40eb5f38"} 
[2026-07-08 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-07-08 14:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 14:21:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 14:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576150528001,"66":27908,"89":206,"85":14592,"24":53,"16":342650923211816960,"45":-8768015869410387968},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-07-08 14:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576150528001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:21:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-08 14:21:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 14:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342650923211816960,"km_value":342650923211816.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8768015869410387968,"description":"Unknown IO ID 45"} 
[2026-07-08 14:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576150528001,"power":27908,"unknown_89":206,"unknown_85":14592,"ignition":53,"odometer":null,"unknown_45":-8768015869410387968}} 
[2026-07-08 14:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":126347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:21:02] local.INFO: GPS data processed {"connection_id":126347,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:21:02] local.INFO: Acknowledgment sent {"connection_id":126347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:21:03] local.INFO: TCP Data received {"connection_id":125582,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40eb47c8012cd50040073ba3a8000f01672c..."} 
[2026-07-08 14:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40eb47c8012cd50040073ba3a8000f01672c..."} 
[2026-07-08 14:21:03] local.INFO: Processing buffer {"connection_id":125582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40eb47c8012cd50040073ba3a8000f01672c..."} 
[2026-07-08 14:21:03] local.INFO: Packet analysis {"connection_id":125582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:21:03] local.INFO: Extracted packet for processing {"connection_id":125582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:21:03] local.INFO: GPS Element Parsed {"raw_longitude":752156736,"raw_latitude":121349032,"longitude_deg":75.2156736,"latitude_deg":12.1349032,"altitude":15,"angle":359,"satellites":44,"speed":48,"hex_longitude":"2cd50040","hex_latitude":"073ba3a8","is_valid_coordinates":true} 
[2026-07-08 14:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576148736001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133352618507370496,"note":"Value kept but may cause issues"} 
[2026-07-08 14:21:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3098124668847190016,"note":"Value kept but may cause issues"} 
[2026-07-08 14:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783500589000,"timestamp_ms":1783500589000,"timestamp_seconds":1783500589,"priority":1,"record_length":96,"hex_timestamp":"0000019f40eb47c8"} 
[2026-07-08 14:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 14:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125582,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125582,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576148736001,"66":28452,"38":206,"2":56832,"24":48,"16":133352618507370496,"44":-3098124668847190016},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,2,24,16,44]} 
[2026-07-08 14:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576148736001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:21:03] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-08 14:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133352618507370496,"km_value":133352618507370.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:21:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3098124668847190016,"description":"Unknown IO ID 44"} 
[2026-07-08 14:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576148736001,"power":28452,"unknown_38":206,"power_alt":56832,"ignition":48,"odometer":null,"unknown_44":-3098124668847190016}} 
[2026-07-08 14:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":125582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451597,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:21:03] local.INFO: GPS data processed {"connection_id":125582,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:21:03] local.INFO: Acknowledgment sent {"connection_id":125582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:21:05] local.INFO: TCP Data received {"connection_id":125459,"ip":"117.225.159.213","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:21:05] local.INFO: Processing buffer {"connection_id":125459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:21:05] local.INFO: IMEI packet received {"connection_id":125459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":125459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:21:06] local.INFO: TCP Data received {"connection_id":125459,"ip":"117.225.159.213","data_length":795,"data_hex":"000000000000030f8e0a0000019f40eb4f98012d187a40072181c80052010f24..."} 
[2026-07-08 14:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40eb4f98012d187a40072181c80052010f24..."} 
[2026-07-08 14:21:06] local.INFO: Processing buffer {"connection_id":125459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40eb4f98012d187a40072181c80052010f24..."} 
[2026-07-08 14:21:06] local.INFO: Packet analysis {"connection_id":125459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:21:06] local.INFO: Extracted packet for processing {"connection_id":125459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:21:06] local.INFO: GPS Element Parsed {"raw_longitude":756578880,"raw_latitude":119636424,"longitude_deg":75.657888,"latitude_deg":11.9636424,"altitude":82,"angle":271,"satellites":36,"speed":30,"hex_longitude":"2d187a40","hex_latitude":"072181c8","is_valid_coordinates":true} 
[2026-07-08 14:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576150272001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4803822136328192,"note":"Value kept but may cause issues"} 
[2026-07-08 14:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767170303160510464,"note":"Value kept but may cause issues"} 
[2026-07-08 14:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783500591000,"timestamp_ms":1783500591000,"timestamp_seconds":1783500591,"priority":1,"record_length":96,"hex_timestamp":"0000019f40eb4f98"} 
[2026-07-08 14:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-08 14:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.159.213","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576150272001,"66":14070,"121":206,"28":31744,"24":30,"16":4803822136328192,"45":1767170303160510464},"client_ip":"117.225.159.213","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576150272001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:21:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:21:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4803822136328192,"km_value":4803822136328.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767170303160510464,"description":"Unknown IO ID 45"} 
[2026-07-08 14:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576150272001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1767170303160510464}} 
[2026-07-08 14:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":125459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:21:06] local.INFO: GPS data processed {"connection_id":125459,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:21:06] local.INFO: Acknowledgment sent {"connection_id":125459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:21:32] local.INFO: TCP Data received {"connection_id":126347,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40eb7a90012d8676c0058e8f60000200922d..."} 
[2026-07-08 14:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40eb7a90012d8676c0058e8f60000200922d..."} 
[2026-07-08 14:21:32] local.INFO: Processing buffer {"connection_id":126347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40eb7a90012d8676c0058e8f60000200922d..."} 
[2026-07-08 14:21:32] local.INFO: Packet analysis {"connection_id":126347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:21:32] local.INFO: Extracted packet for processing {"connection_id":126347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:21:32] local.INFO: GPS Element Parsed {"raw_longitude":763786944,"raw_latitude":93228896,"longitude_deg":76.3786944,"latitude_deg":9.3228896,"altitude":2,"angle":146,"satellites":45,"speed":53,"hex_longitude":"2d8676c0","hex_latitude":"058e8f60","is_valid_coordinates":true} 
[2026-07-08 14:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576152320001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342651382773317632,"note":"Value kept but may cause issues"} 
[2026-07-08 14:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8763090057320005632,"note":"Value kept but may cause issues"} 
[2026-07-08 14:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783500602000,"timestamp_ms":1783500602000,"timestamp_seconds":1783500602,"priority":1,"record_length":96,"hex_timestamp":"0000019f40eb7a90"} 
[2026-07-08 14:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 14:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:21:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576152320001,"66":27919,"89":206,"85":14592,"24":53,"16":342651382773317632,"45":-8763090057320005632},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-07-08 14:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576152320001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:21:32] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-08 14:21:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 14:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342651382773317632,"km_value":342651382773317.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8763090057320005632,"description":"Unknown IO ID 45"} 
[2026-07-08 14:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576152320001,"power":27919,"unknown_89":206,"unknown_85":14592,"ignition":53,"odometer":null,"unknown_45":-8763090057320005632}} 
[2026-07-08 14:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":126347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:21:32] local.INFO: GPS data processed {"connection_id":126347,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:21:32] local.INFO: Acknowledgment sent {"connection_id":126347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:21:35] local.INFO: TCP Data received {"connection_id":125582,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40eb6708012cd50000073bcab00010016527..."} 
[2026-07-08 14:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40eb6708012cd50000073bcab00010016527..."} 
[2026-07-08 14:21:35] local.INFO: Processing buffer {"connection_id":125582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40eb6708012cd50000073bcab00010016527..."} 
[2026-07-08 14:21:35] local.INFO: Packet analysis {"connection_id":125582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:21:35] local.INFO: Extracted packet for processing {"connection_id":125582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:21:35] local.INFO: GPS Element Parsed {"raw_longitude":752156672,"raw_latitude":121359024,"longitude_deg":75.2156672,"latitude_deg":12.1359024,"altitude":16,"angle":357,"satellites":39,"speed":49,"hex_longitude":"2cd50000","hex_latitude":"073bcab0","is_valid_coordinates":true} 
[2026-07-08 14:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576150784001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133353103838674944,"note":"Value kept but may cause issues"} 
[2026-07-08 14:21:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3098406143821371392,"note":"Value kept but may cause issues"} 
[2026-07-08 14:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783500597000,"timestamp_ms":1783500597000,"timestamp_seconds":1783500597,"priority":1,"record_length":96,"hex_timestamp":"0000019f40eb6708"} 
[2026-07-08 14:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 14:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:21:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125582,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125582,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576150784001,"66":28506,"38":206,"2":56832,"24":49,"16":133353103838674944,"44":-3098406143821371392},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,2,24,16,44]} 
[2026-07-08 14:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576150784001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:21:35] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-08 14:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133353103838674944,"km_value":133353103838674.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:21:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3098406143821371392,"description":"Unknown IO ID 44"} 
[2026-07-08 14:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576150784001,"power":28506,"unknown_38":206,"power_alt":56832,"ignition":49,"odometer":null,"unknown_44":-3098406143821371392}} 
[2026-07-08 14:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":125582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451600,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:21:35] local.INFO: GPS data processed {"connection_id":125582,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:21:35] local.INFO: Acknowledgment sent {"connection_id":125582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:21:37] local.INFO: TCP Data received {"connection_id":125459,"ip":"117.225.159.213","data_length":795,"data_hex":"000000000000030f8e0a0000019f40eb6ed8012d186100072183400052012024..."} 
[2026-07-08 14:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40eb6ed8012d186100072183400052012024..."} 
[2026-07-08 14:21:37] local.INFO: Processing buffer {"connection_id":125459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40eb6ed8012d186100072183400052012024..."} 
[2026-07-08 14:21:37] local.INFO: Packet analysis {"connection_id":125459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:21:37] local.INFO: Extracted packet for processing {"connection_id":125459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:21:37] local.INFO: GPS Element Parsed {"raw_longitude":756572416,"raw_latitude":119636800,"longitude_deg":75.6572416,"latitude_deg":11.96368,"altitude":82,"angle":288,"satellites":36,"speed":35,"hex_longitude":"2d186100","hex_latitude":"07218340","is_valid_coordinates":true} 
[2026-07-08 14:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576151296001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4804131373973504,"note":"Value kept but may cause issues"} 
[2026-07-08 14:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763792603440072704,"note":"Value kept but may cause issues"} 
[2026-07-08 14:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783500599000,"timestamp_ms":1783500599000,"timestamp_seconds":1783500599,"priority":1,"record_length":96,"hex_timestamp":"0000019f40eb6ed8"} 
[2026-07-08 14:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-08 14:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.159.213","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576151296001,"66":14080,"120":206,"28":31744,"24":35,"16":4804131373973504,"45":1763792603440072704},"client_ip":"117.225.159.213","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-08 14:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576151296001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:21:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 14:21:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4804131373973504,"km_value":4804131373973.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763792603440072704,"description":"Unknown IO ID 45"} 
[2026-07-08 14:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576151296001,"power":14080,"unknown_120":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1763792603440072704}} 
[2026-07-08 14:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":125459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:21:38] local.INFO: GPS data processed {"connection_id":125459,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:21:38] local.INFO: Acknowledgment sent {"connection_id":125459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:21:45] local.INFO: TCP Data received {"connection_id":125460,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125460,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:21:45] local.INFO: Processing buffer {"connection_id":125460,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:21:45] local.INFO: IMEI packet received {"connection_id":125460,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":125460,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:21:50] local.INFO: TCP Data received {"connection_id":125460,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125460,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:21:50] local.INFO: Processing buffer {"connection_id":125460,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:21:50] local.INFO: IMEI packet received {"connection_id":125460,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":125460,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:21:50] local.INFO: TCP Data received {"connection_id":125460,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40eb9db8012d0b130007029fc00005013422..."} 
[2026-07-08 14:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40eb9db8012d0b130007029fc00005013422..."} 
[2026-07-08 14:21:50] local.INFO: Processing buffer {"connection_id":125460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40eb9db8012d0b130007029fc00005013422..."} 
[2026-07-08 14:21:50] local.INFO: Packet analysis {"connection_id":125460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:21:50] local.INFO: Extracted packet for processing {"connection_id":125460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:21:50] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576079360001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:21:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:21:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783500611000,"timestamp_ms":1783500611000,"timestamp_seconds":1783500611,"priority":1,"record_length":96,"hex_timestamp":"0000019f40eb9db8"} 
[2026-07-08 14:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:21:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:21:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:21:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":125460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":125460,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":125460,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:21:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576079360001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576079360001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:21:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:21:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576079360001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":125460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451602,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:21:51] local.INFO: GPS data processed {"connection_id":125460,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:21:51] local.INFO: Acknowledgment sent {"connection_id":125460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:21:57] local.INFO: TCP Data received {"connection_id":127589,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:21:57] local.INFO: Processing buffer {"connection_id":127589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:21:57] local.INFO: IMEI packet received {"connection_id":127589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":127589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:22:00] local.INFO: TCP Data received {"connection_id":126349,"ip":"117.225.159.213","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:22:00] local.INFO: Processing buffer {"connection_id":126349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:22:00] local.INFO: IMEI packet received {"connection_id":126349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":126349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:22:00] local.INFO: TCP Data received {"connection_id":127589,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:22:00] local.INFO: Processing buffer {"connection_id":127589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:22:00] local.INFO: IMEI packet received {"connection_id":127589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":127589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:22:01] local.INFO: TCP Data received {"connection_id":126348,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126348,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:22:01] local.INFO: Processing buffer {"connection_id":126348,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:22:01] local.INFO: IMEI packet received {"connection_id":126348,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 14:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":126348,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:22:01] local.INFO: TCP Data received {"connection_id":126349,"ip":"117.225.159.213","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:22:01] local.INFO: Processing buffer {"connection_id":126349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:22:01] local.INFO: IMEI packet received {"connection_id":126349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":126349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:22:02] local.INFO: TCP Data received {"connection_id":126348,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126348,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:22:02] local.INFO: Processing buffer {"connection_id":126348,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:22:02] local.INFO: IMEI packet received {"connection_id":126348,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":126348,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:22:02] local.INFO: TCP Data received {"connection_id":126349,"ip":"117.225.159.213","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:22:02] local.INFO: Processing buffer {"connection_id":126349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:22:02] local.INFO: IMEI packet received {"connection_id":126349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":126349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:22:03] local.INFO: TCP Data received {"connection_id":126349,"ip":"117.225.159.213","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:22:03] local.INFO: Processing buffer {"connection_id":126349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:22:03] local.INFO: IMEI packet received {"connection_id":126349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":126349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:22:06] local.INFO: TCP Data received {"connection_id":127589,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:22:06] local.INFO: Processing buffer {"connection_id":127589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:22:06] local.INFO: IMEI packet received {"connection_id":127589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":127589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:22:06] local.INFO: TCP Data received {"connection_id":126348,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126348,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:22:06] local.INFO: Processing buffer {"connection_id":126348,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:22:06] local.INFO: IMEI packet received {"connection_id":126348,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":126348,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:22:07] local.INFO: TCP Data received {"connection_id":127589,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40eb95e8012d868d40058e7268000200882a..."} 
[2026-07-08 14:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40eb95e8012d868d40058e7268000200882a..."} 
[2026-07-08 14:22:07] local.INFO: Processing buffer {"connection_id":127589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40eb95e8012d868d40058e7268000200882a..."} 
[2026-07-08 14:22:07] local.INFO: Packet analysis {"connection_id":127589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:22:07] local.INFO: Extracted packet for processing {"connection_id":127589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:22:07] local.INFO: GPS Element Parsed {"raw_longitude":763792704,"raw_latitude":93221480,"longitude_deg":76.3792704,"latitude_deg":9.322148,"altitude":2,"angle":136,"satellites":42,"speed":53,"hex_longitude":"2d868d40","hex_latitude":"058e7268","is_valid_coordinates":true} 
[2026-07-08 14:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576154112001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342651833744883712,"note":"Value kept but may cause issues"} 
[2026-07-08 14:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8757601295276220416,"note":"Value kept but may cause issues"} 
[2026-07-08 14:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783500609000,"timestamp_ms":1783500609000,"timestamp_seconds":1783500609,"priority":1,"record_length":96,"hex_timestamp":"0000019f40eb95e8"} 
[2026-07-08 14:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 14:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576154112001,"66":27908,"88":206,"85":14592,"24":53,"16":342651833744883712,"45":-8757601295276220416},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,45]} 
[2026-07-08 14:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576154112001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:22:07] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-07-08 14:22:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 14:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342651833744883712,"km_value":342651833744883.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8757601295276220416,"description":"Unknown IO ID 45"} 
[2026-07-08 14:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576154112001,"power":27908,"unknown_88":206,"unknown_85":14592,"ignition":53,"odometer":null,"unknown_45":-8757601295276220416}} 
[2026-07-08 14:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":127589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:22:07] local.INFO: GPS data processed {"connection_id":127589,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:22:07] local.INFO: Acknowledgment sent {"connection_id":127589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:22:08] local.INFO: TCP Data received {"connection_id":126348,"ip":"117.224.116.179","data_length":1360,"data_hex":"000000000000030f8e0a0000019f40ec93d0012cd4bec0073d6070001101562e..."} 
[2026-07-08 14:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126348,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019f40ec93d0012cd4bec0073d6070001101562e..."} 
[2026-07-08 14:22:08] local.INFO: Processing buffer {"connection_id":126348,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019f40ec93d0012cd4bec0073d6070001101562e..."} 
[2026-07-08 14:22:08] local.INFO: Packet analysis {"connection_id":126348,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019f40ec"} 
[2026-07-08 14:22:08] local.INFO: Extracted packet for processing {"connection_id":126348,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019f40ec"} 
[2026-07-08 14:22:08] local.INFO: GPS Element Parsed {"raw_longitude":752139968,"raw_latitude":121462896,"longitude_deg":75.2139968,"latitude_deg":12.1462896,"altitude":17,"angle":342,"satellites":46,"speed":58,"hex_longitude":"2cd4bec0","hex_latitude":"073d6070","is_valid_coordinates":true} 
[2026-07-08 14:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576170752001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133358210554789888,"note":"Value kept but may cause issues"} 
[2026-07-08 14:22:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3113746530025498624,"note":"Value kept but may cause issues"} 
[2026-07-08 14:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783500674000,"timestamp_ms":1783500674000,"timestamp_seconds":1783500674,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ec93d0"} 
[2026-07-08 14:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1374,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126348,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126348,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576170752001,"66":28452,"235":206,"2":54016,"24":58,"16":133358210554789888,"44":-3113746530025498624},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,2,24,16,44]} 
[2026-07-08 14:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576170752001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:22:08] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-08 14:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133358210554789888,"km_value":133358210554789.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:22:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3113746530025498624,"description":"Unknown IO ID 44"} 
[2026-07-08 14:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576170752001,"power":28452,"unknown_235":206,"power_alt":54016,"ignition":58,"odometer":null,"unknown_44":-3113746530025498624}} 
[2026-07-08 14:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":126348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451604,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:22:08] local.INFO: GPS data processed {"connection_id":126348,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:22:08] local.INFO: Acknowledgment sent {"connection_id":126348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:22:08] local.INFO: Packet analysis {"connection_id":126348,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019f40ec"} 
[2026-07-08 14:22:08] local.INFO: Incomplete packet, waiting for more data {"connection_id":126348,"needed":795,"available":565} 
[2026-07-08 14:22:09] local.INFO: TCP Data received {"connection_id":126348,"ip":"117.224.116.179","data_length":230,"data_hex":"2cd4e840073c82a80010015b2c003a0000000a000400ef0100715000f0010045..."} 
[2026-07-08 14:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126348,"packet_length":230,"packet_hex":"2cd4e840073c82a80010015b2c003a0000000a000400ef0100715000f0010045..."} 
[2026-07-08 14:22:09] local.INFO: Processing buffer {"connection_id":126348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ecab40012cd4b340073d8188001201552e..."} 
[2026-07-08 14:22:09] local.INFO: Packet analysis {"connection_id":126348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ec"} 
[2026-07-08 14:22:09] local.INFO: Extracted packet for processing {"connection_id":126348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ec"} 
[2026-07-08 14:22:09] local.INFO: GPS Element Parsed {"raw_longitude":752137024,"raw_latitude":121471368,"longitude_deg":75.2137024,"latitude_deg":12.1471368,"altitude":18,"angle":341,"satellites":46,"speed":59,"hex_longitude":"2cd4b340","hex_latitude":"073d8188","is_valid_coordinates":true} 
[2026-07-08 14:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576172544001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133358644346486784,"note":"Value kept but may cause issues"} 
[2026-07-08 14:22:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3116842754766770176,"note":"Value kept but may cause issues"} 
[2026-07-08 14:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783500680000,"timestamp_ms":1783500680000,"timestamp_seconds":1783500680,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ecab40"} 
[2026-07-08 14:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 14:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126348,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126348,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576172544001,"66":28485,"235":206,"2":54016,"24":59,"16":133358644346486784,"44":-3116842754766770176},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,2,24,16,44]} 
[2026-07-08 14:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576172544001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:22:09] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-08 14:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133358644346486784,"km_value":133358644346486.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:22:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3116842754766770176,"description":"Unknown IO ID 44"} 
[2026-07-08 14:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576172544001,"power":28485,"unknown_235":206,"power_alt":54016,"ignition":59,"odometer":null,"unknown_44":-3116842754766770176}} 
[2026-07-08 14:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":126348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451605,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:22:09] local.INFO: GPS data processed {"connection_id":126348,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:22:09] local.INFO: Acknowledgment sent {"connection_id":126348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:22:11] local.INFO: TCP Data received {"connection_id":126348,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ecc2b0012cd4a8c0073da318001101572d..."} 
[2026-07-08 14:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ecc2b0012cd4a8c0073da318001101572d..."} 
[2026-07-08 14:22:11] local.INFO: Processing buffer {"connection_id":126348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ecc2b0012cd4a8c0073da318001101572d..."} 
[2026-07-08 14:22:11] local.INFO: Packet analysis {"connection_id":126348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ec"} 
[2026-07-08 14:22:11] local.INFO: Extracted packet for processing {"connection_id":126348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ec"} 
[2026-07-08 14:22:11] local.INFO: GPS Element Parsed {"raw_longitude":752134336,"raw_latitude":121479960,"longitude_deg":75.2134336,"latitude_deg":12.147996,"altitude":17,"angle":343,"satellites":45,"speed":60,"hex_longitude":"2cd4a8c0","hex_latitude":"073da318","is_valid_coordinates":true} 
[2026-07-08 14:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576174080001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133359078138183680,"note":"Value kept but may cause issues"} 
[2026-07-08 14:22:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3120079716996773888,"note":"Value kept but may cause issues"} 
[2026-07-08 14:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783500686000,"timestamp_ms":1783500686000,"timestamp_seconds":1783500686,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ecc2b0"} 
[2026-07-08 14:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1374,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126348,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126348,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576174080001,"66":28430,"235":206,"2":54016,"24":60,"16":133359078138183680,"44":-3120079716996773888},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,2,24,16,44]} 
[2026-07-08 14:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576174080001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:22:11] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-08 14:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133359078138183680,"km_value":133359078138183.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:22:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3120079716996773888,"description":"Unknown IO ID 44"} 
[2026-07-08 14:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576174080001,"power":28430,"unknown_235":206,"power_alt":54016,"ignition":60,"odometer":null,"unknown_44":-3120079716996773888}} 
[2026-07-08 14:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":126348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451606,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:22:11] local.INFO: GPS data processed {"connection_id":126348,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:22:11] local.INFO: Acknowledgment sent {"connection_id":126348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:22:22] local.INFO: TCP Data received {"connection_id":125460,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40eb9db8012d0b130007029fc00005013422..."} 
[2026-07-08 14:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40eb9db8012d0b130007029fc00005013422..."} 
[2026-07-08 14:22:22] local.INFO: Processing buffer {"connection_id":125460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40eb9db8012d0b130007029fc00005013422..."} 
[2026-07-08 14:22:22] local.INFO: Packet analysis {"connection_id":125460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:22:22] local.INFO: Extracted packet for processing {"connection_id":125460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:22:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576079360001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783500611000,"timestamp_ms":1783500611000,"timestamp_seconds":1783500611,"priority":1,"record_length":96,"hex_timestamp":"0000019f40eb9db8"} 
[2026-07-08 14:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:22:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125460,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125460,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576079360001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576079360001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:22:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576079360001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":125460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451607,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:22:22] local.INFO: GPS data processed {"connection_id":125460,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:22:22] local.INFO: Acknowledgment sent {"connection_id":125460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:22:37] local.INFO: TCP Data received {"connection_id":127589,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40eceda8012d87a400058db848000700812c..."} 
[2026-07-08 14:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40eceda8012d87a400058db848000700812c..."} 
[2026-07-08 14:22:37] local.INFO: Processing buffer {"connection_id":127589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40eceda8012d87a400058db848000700812c..."} 
[2026-07-08 14:22:37] local.INFO: Packet analysis {"connection_id":127589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ec"} 
[2026-07-08 14:22:37] local.INFO: Extracted packet for processing {"connection_id":127589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ec"} 
[2026-07-08 14:22:37] local.INFO: GPS Element Parsed {"raw_longitude":763864064,"raw_latitude":93173832,"longitude_deg":76.3864064,"latitude_deg":9.3173832,"altitude":7,"angle":129,"satellites":44,"speed":41,"hex_longitude":"2d87a400","hex_latitude":"058db848","is_valid_coordinates":true} 
[2026-07-08 14:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576176128001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342655986978258944,"note":"Value kept but may cause issues"} 
[2026-07-08 14:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8681110470367668224,"note":"Value kept but may cause issues"} 
[2026-07-08 14:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783500697000,"timestamp_ms":1783500697000,"timestamp_seconds":1783500697,"priority":1,"record_length":96,"hex_timestamp":"0000019f40eceda8"} 
[2026-07-08 14:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 14:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576176128001,"66":27843,"135":206,"85":14592,"24":41,"16":342655986978258944,"45":-8681110470367668224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-07-08 14:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576176128001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:22:37] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-08 14:22:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 14:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342655986978258944,"km_value":342655986978258.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8681110470367668224,"description":"Unknown IO ID 45"} 
[2026-07-08 14:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576176128001,"power":27843,"unknown_135":206,"unknown_85":14592,"ignition":41,"odometer":null,"unknown_45":-8681110470367668224}} 
[2026-07-08 14:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":127589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:22:37] local.INFO: GPS data processed {"connection_id":127589,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:22:37] local.INFO: Acknowledgment sent {"connection_id":127589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:22:47] local.INFO: TCP Data received {"connection_id":126350,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126350,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:22:47] local.INFO: Processing buffer {"connection_id":126350,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:22:47] local.INFO: IMEI packet received {"connection_id":126350,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":126350,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:22:49] local.INFO: TCP Data received {"connection_id":126350,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126350,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:22:49] local.INFO: Processing buffer {"connection_id":126350,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:22:49] local.INFO: IMEI packet received {"connection_id":126350,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":126350,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:22:50] local.INFO: TCP Data received {"connection_id":126350,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40eb9db8012d0b130007029fc00005013422..."} 
[2026-07-08 14:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40eb9db8012d0b130007029fc00005013422..."} 
[2026-07-08 14:22:50] local.INFO: Processing buffer {"connection_id":126350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40eb9db8012d0b130007029fc00005013422..."} 
[2026-07-08 14:22:50] local.INFO: Packet analysis {"connection_id":126350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:22:50] local.INFO: Extracted packet for processing {"connection_id":126350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:22:50] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576079360001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:22:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783500611000,"timestamp_ms":1783500611000,"timestamp_seconds":1783500611,"priority":1,"record_length":96,"hex_timestamp":"0000019f40eb9db8"} 
[2026-07-08 14:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:22:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":126350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":126350,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":126350,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:22:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576079360001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576079360001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:22:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:22:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576079360001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":126350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451609,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:22:50] local.INFO: GPS data processed {"connection_id":126350,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:22:50] local.INFO: Acknowledgment sent {"connection_id":126350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:22:55] local.INFO: TCP Data received {"connection_id":126350,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40eb9db8012d0b130007029fc00005013422..."} 
[2026-07-08 14:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40eb9db8012d0b130007029fc00005013422..."} 
[2026-07-08 14:22:55] local.INFO: Processing buffer {"connection_id":126350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40eb9db8012d0b130007029fc00005013422..."} 
[2026-07-08 14:22:55] local.INFO: Packet analysis {"connection_id":126350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:22:55] local.INFO: Extracted packet for processing {"connection_id":126350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:22:55] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576079360001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783500611000,"timestamp_ms":1783500611000,"timestamp_seconds":1783500611,"priority":1,"record_length":96,"hex_timestamp":"0000019f40eb9db8"} 
[2026-07-08 14:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:22:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:22:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":126350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":126350,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":126350,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576079360001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576079360001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:22:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576079360001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":126350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451610,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:22:55] local.INFO: GPS data processed {"connection_id":126350,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:22:55] local.INFO: Acknowledgment sent {"connection_id":126350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:22:55] local.INFO: TCP Data received {"connection_id":125461,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:22:55] local.INFO: Processing buffer {"connection_id":125461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:22:55] local.INFO: IMEI packet received {"connection_id":125461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":125461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:22:56] local.INFO: TCP Data received {"connection_id":125462,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125462,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:22:56] local.INFO: Processing buffer {"connection_id":125462,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:22:56] local.INFO: IMEI packet received {"connection_id":125462,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 14:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":125462,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:23:01] local.INFO: TCP Data received {"connection_id":125461,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:23:01] local.INFO: Processing buffer {"connection_id":125461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:23:01] local.INFO: IMEI packet received {"connection_id":125461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":125461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:23:02] local.INFO: TCP Data received {"connection_id":125461,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ed10d0012d87c080058da1a8000600802c..."} 
[2026-07-08 14:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ed10d0012d87c080058da1a8000600802c..."} 
[2026-07-08 14:23:02] local.INFO: Processing buffer {"connection_id":125461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ed10d0012d87c080058da1a8000600802c..."} 
[2026-07-08 14:23:02] local.INFO: Packet analysis {"connection_id":125461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ed"} 
[2026-07-08 14:23:02] local.INFO: Extracted packet for processing {"connection_id":125461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ed"} 
[2026-07-08 14:23:02] local.INFO: GPS Element Parsed {"raw_longitude":763871360,"raw_latitude":93168040,"longitude_deg":76.387136,"latitude_deg":9.316804,"altitude":6,"angle":128,"satellites":44,"speed":38,"hex_longitude":"2d87c080","hex_latitude":"058da1a8","is_valid_coordinates":true} 
[2026-07-08 14:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576178432001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342656437949825024,"note":"Value kept but may cause issues"} 
[2026-07-08 14:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8672806958556231680,"note":"Value kept but may cause issues"} 
[2026-07-08 14:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783500706000,"timestamp_ms":1783500706000,"timestamp_seconds":1783500706,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ed10d0"} 
[2026-07-08 14:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 14:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:23:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576178432001,"66":27517,"135":206,"85":14592,"24":38,"16":342656437949825024,"45":-8672806958556231680},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-07-08 14:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576178432001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:23:02] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-08 14:23:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 14:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342656437949825024,"km_value":342656437949825.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8672806958556231680,"description":"Unknown IO ID 45"} 
[2026-07-08 14:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576178432001,"power":27517,"unknown_135":206,"unknown_85":14592,"ignition":38,"odometer":null,"unknown_45":-8672806958556231680}} 
[2026-07-08 14:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":125461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:23:02] local.INFO: GPS data processed {"connection_id":125461,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:23:02] local.INFO: Acknowledgment sent {"connection_id":125461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:23:20] local.INFO: TCP Data received {"connection_id":125462,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125462,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:23:20] local.INFO: Processing buffer {"connection_id":125462,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:23:20] local.INFO: IMEI packet received {"connection_id":125462,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":125462,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:23:21] local.INFO: TCP Data received {"connection_id":125462,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ecda20012cd49e40073dc468001201552d..."} 
[2026-07-08 14:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ecda20012cd49e40073dc468001201552d..."} 
[2026-07-08 14:23:21] local.INFO: Processing buffer {"connection_id":125462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ecda20012cd49e40073dc468001201552d..."} 
[2026-07-08 14:23:21] local.INFO: Packet analysis {"connection_id":125462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ec"} 
[2026-07-08 14:23:21] local.INFO: Extracted packet for processing {"connection_id":125462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ec"} 
[2026-07-08 14:23:21] local.INFO: GPS Element Parsed {"raw_longitude":752131648,"raw_latitude":121488488,"longitude_deg":75.2131648,"latitude_deg":12.1488488,"altitude":18,"angle":341,"satellites":45,"speed":58,"hex_longitude":"2cd49e40","hex_latitude":"073dc468","is_valid_coordinates":true} 
[2026-07-08 14:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576175616001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133359511929880576,"note":"Value kept but may cause issues"} 
[2026-07-08 14:23:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3123035204250036224,"note":"Value kept but may cause issues"} 
[2026-07-08 14:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783500692000,"timestamp_ms":1783500692000,"timestamp_seconds":1783500692,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ecda20"} 
[2026-07-08 14:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-08 14:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:23:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":125462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":125462,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":125462,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576175616001,"66":28082,"235":206,"2":54016,"24":58,"16":133359511929880576,"44":-3123035204250036224},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,2,24,16,44]} 
[2026-07-08 14:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576175616001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:23:21] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-08 14:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133359511929880576,"km_value":133359511929880.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:23:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3123035204250036224,"description":"Unknown IO ID 44"} 
[2026-07-08 14:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576175616001,"power":28082,"unknown_235":206,"power_alt":54016,"ignition":58,"odometer":null,"unknown_44":-3123035204250036224}} 
[2026-07-08 14:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":125462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451612,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:23:21] local.INFO: GPS data processed {"connection_id":125462,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:23:21] local.INFO: Acknowledgment sent {"connection_id":125462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:23:22] local.INFO: TCP Data received {"connection_id":125462,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40edc480012cd41280073eff98001501492c..."} 
[2026-07-08 14:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40edc480012cd41280073eff98001501492c..."} 
[2026-07-08 14:23:22] local.INFO: Processing buffer {"connection_id":125462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40edc480012cd41280073eff98001501492c..."} 
[2026-07-08 14:23:22] local.INFO: Packet analysis {"connection_id":125462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ed"} 
[2026-07-08 14:23:22] local.INFO: Extracted packet for processing {"connection_id":125462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ed"} 
[2026-07-08 14:23:22] local.INFO: GPS Element Parsed {"raw_longitude":752095872,"raw_latitude":121569176,"longitude_deg":75.2095872,"latitude_deg":12.1569176,"altitude":21,"angle":329,"satellites":44,"speed":59,"hex_longitude":"2cd41280","hex_latitude":"073eff98","is_valid_coordinates":true} 
[2026-07-08 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-07-08 14:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576190976001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133363824077045760,"note":"Value kept but may cause issues"} 
[2026-07-08 14:23:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3159908426178199552,"note":"Value kept but may cause issues"} 
[2026-07-08 14:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783500752000,"timestamp_ms":1783500752000,"timestamp_seconds":1783500752,"priority":1,"record_length":96,"hex_timestamp":"0000019f40edc480"} 
[2026-07-08 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-07-08 14:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 14:23:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 14:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125462,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125462,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576190976001,"66":28485,"234":206,"2":54016,"24":59,"16":133363824077045760,"44":-3159908426178199552},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,2,24,16,44]} 
[2026-07-08 14:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576190976001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:23:22] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-08 14:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133363824077045760,"km_value":133363824077045.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:23:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3159908426178199552,"description":"Unknown IO ID 44"} 
[2026-07-08 14:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576190976001,"power":28485,"unknown_234":206,"power_alt":54016,"ignition":59,"odometer":null,"unknown_44":-3159908426178199552}} 
[2026-07-08 14:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":125462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451613,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:23:22] local.INFO: GPS data processed {"connection_id":125462,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:23:22] local.INFO: Acknowledgment sent {"connection_id":125462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:23:27] local.INFO: TCP Data received {"connection_id":126350,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40eb9db8012d0b130007029fc00005013422..."} 
[2026-07-08 14:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40eb9db8012d0b130007029fc00005013422..."} 
[2026-07-08 14:23:27] local.INFO: Processing buffer {"connection_id":126350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40eb9db8012d0b130007029fc00005013422..."} 
[2026-07-08 14:23:27] local.INFO: Packet analysis {"connection_id":126350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:23:27] local.INFO: Extracted packet for processing {"connection_id":126350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:23:27] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576079360001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:23:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783500611000,"timestamp_ms":1783500611000,"timestamp_seconds":1783500611,"priority":1,"record_length":96,"hex_timestamp":"0000019f40eb9db8"} 
[2026-07-08 14:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:23:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:23:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":126350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":126350,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":126350,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576079360001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576079360001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:23:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576079360001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":126350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451614,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:23:27] local.INFO: GPS data processed {"connection_id":126350,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:23:27] local.INFO: Acknowledgment sent {"connection_id":126350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:23:33] local.INFO: TCP Data received {"connection_id":125461,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ed37e0012d87dd80058d89a00006007f2c..."} 
[2026-07-08 14:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ed37e0012d87dd80058d89a00006007f2c..."} 
[2026-07-08 14:23:33] local.INFO: Processing buffer {"connection_id":125461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ed37e0012d87dd80058d89a00006007f2c..."} 
[2026-07-08 14:23:33] local.INFO: Packet analysis {"connection_id":125461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ed"} 
[2026-07-08 14:23:33] local.INFO: Extracted packet for processing {"connection_id":125461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ed"} 
[2026-07-08 14:23:33] local.INFO: GPS Element Parsed {"raw_longitude":763878784,"raw_latitude":93161888,"longitude_deg":76.3878784,"latitude_deg":9.3161888,"altitude":6,"angle":127,"satellites":44,"speed":42,"hex_longitude":"2d87dd80","hex_latitude":"058d89a0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576180736001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342656901806292992,"note":"Value kept but may cause issues"} 
[2026-07-08 14:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8664784921721460736,"note":"Value kept but may cause issues"} 
[2026-07-08 14:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783500716000,"timestamp_ms":1783500716000,"timestamp_seconds":1783500716,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ed37e0"} 
[2026-07-08 14:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-08 14:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576180736001,"66":27930,"135":206,"85":14592,"24":42,"16":342656901806292992,"45":-8664784921721460736},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-07-08 14:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576180736001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:23:33] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-08 14:23:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 14:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342656901806292992,"km_value":342656901806293.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8664784921721460736,"description":"Unknown IO ID 45"} 
[2026-07-08 14:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576180736001,"power":27930,"unknown_135":206,"unknown_85":14592,"ignition":42,"odometer":null,"unknown_45":-8664784921721460736}} 
[2026-07-08 14:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":125461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:23:33] local.INFO: GPS data processed {"connection_id":125461,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:23:33] local.INFO: Acknowledgment sent {"connection_id":125461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:23:47] local.INFO: TCP Data received {"connection_id":125463,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125463,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:23:47] local.INFO: Processing buffer {"connection_id":125463,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:23:47] local.INFO: IMEI packet received {"connection_id":125463,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":125463,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:23:49] local.INFO: TCP Data received {"connection_id":125463,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125463,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:23:50] local.INFO: Processing buffer {"connection_id":125463,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:23:50] local.INFO: IMEI packet received {"connection_id":125463,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":125463,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:23:50] local.INFO: TCP Data received {"connection_id":125463,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40eb9db8012d0b130007029fc00005013422..."} 
[2026-07-08 14:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40eb9db8012d0b130007029fc00005013422..."} 
[2026-07-08 14:23:50] local.INFO: Processing buffer {"connection_id":125463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40eb9db8012d0b130007029fc00005013422..."} 
[2026-07-08 14:23:50] local.INFO: Packet analysis {"connection_id":125463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:23:50] local.INFO: Extracted packet for processing {"connection_id":125463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:23:50] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576079360001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783500611000,"timestamp_ms":1783500611000,"timestamp_seconds":1783500611,"priority":1,"record_length":96,"hex_timestamp":"0000019f40eb9db8"} 
[2026-07-08 14:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:23:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:23:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":125463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":125463,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":125463,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576079360001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576079360001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:23:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576079360001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":125463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451616,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:23:51] local.INFO: GPS data processed {"connection_id":125463,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:23:51] local.INFO: Acknowledgment sent {"connection_id":125463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:23:55] local.INFO: TCP Data received {"connection_id":125463,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40eb9db8012d0b130007029fc00005013422..."} 
[2026-07-08 14:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40eb9db8012d0b130007029fc00005013422..."} 
[2026-07-08 14:23:55] local.INFO: Processing buffer {"connection_id":125463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40eb9db8012d0b130007029fc00005013422..."} 
[2026-07-08 14:23:55] local.INFO: Packet analysis {"connection_id":125463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:23:55] local.INFO: Extracted packet for processing {"connection_id":125463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:23:55] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576079360001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783500611000,"timestamp_ms":1783500611000,"timestamp_seconds":1783500611,"priority":1,"record_length":96,"hex_timestamp":"0000019f40eb9db8"} 
[2026-07-08 14:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:23:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:23:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":125463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":125463,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":125463,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576079360001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576079360001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:23:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576079360001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":125463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451617,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:23:55] local.INFO: GPS data processed {"connection_id":125463,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:23:55] local.INFO: Acknowledgment sent {"connection_id":125463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:23:55] local.INFO: TCP Data received {"connection_id":126352,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:23:55] local.INFO: Processing buffer {"connection_id":126352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:23:55] local.INFO: IMEI packet received {"connection_id":126352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":126352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:23:57] local.INFO: TCP Data received {"connection_id":126352,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:23:57] local.INFO: Processing buffer {"connection_id":126352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:23:57] local.INFO: IMEI packet received {"connection_id":126352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":126352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:23:57] local.INFO: TCP Data received {"connection_id":125464,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125464,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:23:57] local.INFO: Processing buffer {"connection_id":125464,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:23:57] local.INFO: IMEI packet received {"connection_id":125464,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 14:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":125464,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:24:00] local.INFO: TCP Data received {"connection_id":126352,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:24:00] local.INFO: Processing buffer {"connection_id":126352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:24:00] local.INFO: IMEI packet received {"connection_id":126352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":126352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:24:01] local.INFO: TCP Data received {"connection_id":125464,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125464,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:24:01] local.INFO: Processing buffer {"connection_id":125464,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:24:01] local.INFO: IMEI packet received {"connection_id":125464,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":125464,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:24:01] local.INFO: TCP Data received {"connection_id":126352,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ed5b08012d87fc00058d74280008007b2b..."} 
[2026-07-08 14:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ed5b08012d87fc00058d74280008007b2b..."} 
[2026-07-08 14:24:01] local.INFO: Processing buffer {"connection_id":126352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ed5b08012d87fc00058d74280008007b2b..."} 
[2026-07-08 14:24:01] local.INFO: Packet analysis {"connection_id":126352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ed"} 
[2026-07-08 14:24:01] local.INFO: Extracted packet for processing {"connection_id":126352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ed"} 
[2026-07-08 14:24:01] local.INFO: GPS Element Parsed {"raw_longitude":763886592,"raw_latitude":93156392,"longitude_deg":76.3886592,"latitude_deg":9.3156392,"altitude":8,"angle":123,"satellites":43,"speed":41,"hex_longitude":"2d87fc00","hex_latitude":"058d7428","is_valid_coordinates":true} 
[2026-07-08 14:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576183296001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342657357072826368,"note":"Value kept but may cause issues"} 
[2026-07-08 14:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8656622147398426624,"note":"Value kept but may cause issues"} 
[2026-07-08 14:24:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783500725000,"timestamp_ms":1783500725000,"timestamp_seconds":1783500725,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ed5b08"} 
[2026-07-08 14:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:24:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:24: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-08 14:24:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:24:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576183296001,"66":27800,"135":206,"85":14592,"24":41,"16":342657357072826368,"45":-8656622147398426624},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-07-08 14:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576183296001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:24:01] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-08 14:24:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 14:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342657357072826368,"km_value":342657357072826.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8656622147398426624,"description":"Unknown IO ID 45"} 
[2026-07-08 14:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576183296001,"power":27800,"unknown_135":206,"unknown_85":14592,"ignition":41,"odometer":null,"unknown_45":-8656622147398426624}} 
[2026-07-08 14:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":126352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:24:01] local.INFO: GPS data processed {"connection_id":126352,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:24:01] local.INFO: Acknowledgment sent {"connection_id":126352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:24:10] local.INFO: TCP Data received {"connection_id":125464,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40eddbf0012cd40380073f1f48001501552e..."} 
[2026-07-08 14:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40eddbf0012cd40380073f1f48001501552e..."} 
[2026-07-08 14:24:10] local.INFO: Processing buffer {"connection_id":125464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40eddbf0012cd40380073f1f48001501552e..."} 
[2026-07-08 14:24:10] local.INFO: Packet analysis {"connection_id":125464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ed"} 
[2026-07-08 14:24:10] local.INFO: Extracted packet for processing {"connection_id":125464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ed"} 
[2026-07-08 14:24:10] local.INFO: GPS Element Parsed {"raw_longitude":752092032,"raw_latitude":121577288,"longitude_deg":75.2092032,"latitude_deg":12.1577288,"altitude":21,"angle":341,"satellites":46,"speed":59,"hex_longitude":"2cd40380","hex_latitude":"073f1f48","is_valid_coordinates":true} 
[2026-07-08 14:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576192512001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133364257868742656,"note":"Value kept but may cause issues"} 
[2026-07-08 14:24:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3165326819477972992,"note":"Value kept but may cause issues"} 
[2026-07-08 14:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783500758000,"timestamp_ms":1783500758000,"timestamp_seconds":1783500758,"priority":1,"record_length":96,"hex_timestamp":"0000019f40eddbf0"} 
[2026-07-08 14:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1374,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125464,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125464,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576192512001,"66":28376,"234":206,"2":54016,"24":59,"16":133364257868742656,"44":-3165326819477972992},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,2,24,16,44]} 
[2026-07-08 14:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576192512001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:24:10] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-08 14:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133364257868742656,"km_value":133364257868742.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:24:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3165326819477972992,"description":"Unknown IO ID 44"} 
[2026-07-08 14:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576192512001,"power":28376,"unknown_234":206,"power_alt":54016,"ignition":59,"odometer":null,"unknown_44":-3165326819477972992}} 
[2026-07-08 14:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":125464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451619,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:24:10] local.INFO: GPS data processed {"connection_id":125464,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:24:10] local.INFO: Acknowledgment sent {"connection_id":125464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:24:26] local.INFO: TCP Data received {"connection_id":125463,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40eb9db8012d0b130007029fc00005013422..."} 
[2026-07-08 14:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40eb9db8012d0b130007029fc00005013422..."} 
[2026-07-08 14:24:26] local.INFO: Processing buffer {"connection_id":125463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40eb9db8012d0b130007029fc00005013422..."} 
[2026-07-08 14:24:26] local.INFO: Packet analysis {"connection_id":125463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:24:26] local.INFO: Extracted packet for processing {"connection_id":125463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:24:26] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 14:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576079360001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783500611000,"timestamp_ms":1783500611000,"timestamp_seconds":1783500611,"priority":1,"record_length":96,"hex_timestamp":"0000019f40eb9db8"} 
[2026-07-08 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-07-08 14:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:24:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 14:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":125463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":125463,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":125463,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576079360001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576079360001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:24:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576079360001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":125463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451620,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:24:26] local.INFO: GPS data processed {"connection_id":125463,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:24:26] local.INFO: Acknowledgment sent {"connection_id":125463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:24:33] local.INFO: TCP Data received {"connection_id":126352,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ee9f40012d898a00058d8e58000600522b..."} 
[2026-07-08 14:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ee9f40012d898a00058d8e58000600522b..."} 
[2026-07-08 14:24:33] local.INFO: Processing buffer {"connection_id":126352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ee9f40012d898a00058d8e58000600522b..."} 
[2026-07-08 14:24:33] local.INFO: Packet analysis {"connection_id":126352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ee"} 
[2026-07-08 14:24:33] local.INFO: Extracted packet for processing {"connection_id":126352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ee"} 
[2026-07-08 14:24:33] local.INFO: GPS Element Parsed {"raw_longitude":763988480,"raw_latitude":93163096,"longitude_deg":76.398848,"latitude_deg":9.3163096,"altitude":6,"angle":82,"satellites":43,"speed":28,"hex_longitude":"2d898a00","hex_latitude":"058d8e58","is_valid_coordinates":true} 
[2026-07-08 14:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576205568001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342662296285216768,"note":"Value kept but may cause issues"} 
[2026-07-08 14:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8539528557086842880,"note":"Value kept but may cause issues"} 
[2026-07-08 14:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783500808000,"timestamp_ms":1783500808000,"timestamp_seconds":1783500808,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ee9f40"} 
[2026-07-08 14:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 14:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:24:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576205568001,"66":27908,"15":206,"85":14080,"24":28,"16":342662296285216768,"45":-8539528557086842880},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-08 14:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576205568001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:24:33] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-08 14:24:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342662296285216768,"km_value":342662296285216.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8539528557086842880,"description":"Unknown IO ID 45"} 
[2026-07-08 14:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576205568001,"power":27908,"unknown_15":206,"unknown_85":14080,"ignition":28,"odometer":null,"unknown_45":-8539528557086842880}} 
[2026-07-08 14:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":126352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:24:33] local.INFO: GPS data processed {"connection_id":126352,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:24:33] local.INFO: Acknowledgment sent {"connection_id":126352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:24:42] local.INFO: TCP Data received {"connection_id":125464,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40eeba98012cd33e4007402548000f01402e..."} 
[2026-07-08 14:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40eeba98012cd33e4007402548000f01402e..."} 
[2026-07-08 14:24:42] local.INFO: Processing buffer {"connection_id":125464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40eeba98012cd33e4007402548000f01402e..."} 
[2026-07-08 14:24:42] local.INFO: Packet analysis {"connection_id":125464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ee"} 
[2026-07-08 14:24:42] local.INFO: Extracted packet for processing {"connection_id":125464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ee"} 
[2026-07-08 14:24:42] local.INFO: GPS Element Parsed {"raw_longitude":752041536,"raw_latitude":121644360,"longitude_deg":75.2041536,"latitude_deg":12.164436,"altitude":15,"angle":320,"satellites":46,"speed":58,"hex_longitude":"2cd33e40","hex_latitude":"07402548","is_valid_coordinates":true} 
[2026-07-08 14:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576206848001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133368350972575744,"note":"Value kept but may cause issues"} 
[2026-07-08 14:24:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3217751533873131520,"note":"Value kept but may cause issues"} 
[2026-07-08 14:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783500815000,"timestamp_ms":1783500815000,"timestamp_seconds":1783500815,"priority":1,"record_length":96,"hex_timestamp":"0000019f40eeba98"} 
[2026-07-08 14:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 14:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1662,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":125464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":125464,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":125464,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576206848001,"66":28485,"105":206,"2":54016,"24":58,"16":133368350972575744,"44":-3217751533873131520},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,2,24,16,44]} 
[2026-07-08 14:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576206848001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:24:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 14:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133368350972575744,"km_value":133368350972575.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:24:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3217751533873131520,"description":"Unknown IO ID 44"} 
[2026-07-08 14:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576206848001,"power":28485,"unknown_105":206,"power_alt":54016,"ignition":58,"odometer":null,"unknown_44":-3217751533873131520}} 
[2026-07-08 14:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":125464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451622,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:24:43] local.INFO: GPS data processed {"connection_id":125464,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:24:43] local.INFO: Acknowledgment sent {"connection_id":125464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:24:50] local.INFO: TCP Data received {"connection_id":125465,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125465,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:24:50] local.INFO: Processing buffer {"connection_id":125465,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:24:50] local.INFO: IMEI packet received {"connection_id":125465,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":125465,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:24:55] local.INFO: TCP Data received {"connection_id":125466,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:24:55] local.INFO: Processing buffer {"connection_id":125466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:24:55] local.INFO: IMEI packet received {"connection_id":125466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":125466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:24:56] local.INFO: TCP Data received {"connection_id":125584,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125584,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:24:56] local.INFO: Processing buffer {"connection_id":125584,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:24:56] local.INFO: IMEI packet received {"connection_id":125584,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 14:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":125584,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:24:58] local.INFO: TCP Data received {"connection_id":125584,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125584,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:24:58] local.INFO: Processing buffer {"connection_id":125584,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:24:58] local.INFO: IMEI packet received {"connection_id":125584,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":125584,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:25:01] local.INFO: TCP Data received {"connection_id":125466,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:25:01] local.INFO: Processing buffer {"connection_id":125466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:25:01] local.INFO: IMEI packet received {"connection_id":125466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":125466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:25:01] local.INFO: TCP Data received {"connection_id":125584,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125584,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:25:01] local.INFO: Processing buffer {"connection_id":125584,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:25:01] local.INFO: IMEI packet received {"connection_id":125584,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":125584,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:25:01] local.INFO: TCP Data received {"connection_id":125465,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125465,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:25:01] local.INFO: Processing buffer {"connection_id":125465,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:25:01] local.INFO: IMEI packet received {"connection_id":125465,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":125465,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:25:02] local.INFO: TCP Data received {"connection_id":125466,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40eece20012d89af80058d9250000500532c..."} 
[2026-07-08 14:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40eece20012d89af80058d9250000500532c..."} 
[2026-07-08 14:25:02] local.INFO: Processing buffer {"connection_id":125466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40eece20012d89af80058d9250000500532c..."} 
[2026-07-08 14:25:02] local.INFO: Packet analysis {"connection_id":125466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ee"} 
[2026-07-08 14:25:02] local.INFO: Extracted packet for processing {"connection_id":125466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ee"} 
[2026-07-08 14:25:02] local.INFO: GPS Element Parsed {"raw_longitude":763998080,"raw_latitude":93164112,"longitude_deg":76.399808,"latitude_deg":9.3164112,"altitude":5,"angle":83,"satellites":44,"speed":33,"hex_longitude":"2d89af80","hex_latitude":"058d9250","is_valid_coordinates":true} 
[2026-07-08 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-07-08 14:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576206848001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342662760141684736,"note":"Value kept but may cause issues"} 
[2026-07-08 14:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8536010119877601280,"note":"Value kept but may cause issues"} 
[2026-07-08 14:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783500820000,"timestamp_ms":1783500820000,"timestamp_seconds":1783500820,"priority":1,"record_length":96,"hex_timestamp":"0000019f40eece20"} 
[2026-07-08 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-07-08 14:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 14:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 14:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576206848001,"66":27865,"15":206,"85":14080,"24":33,"16":342662760141684736,"45":-8536010119877601280},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-08 14:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576206848001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:25:02] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-08 14:25:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342662760141684736,"km_value":342662760141684.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8536010119877601280,"description":"Unknown IO ID 45"} 
[2026-07-08 14:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576206848001,"power":27865,"unknown_15":206,"unknown_85":14080,"ignition":33,"odometer":null,"unknown_45":-8536010119877601280}} 
[2026-07-08 14:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":125466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:25:02] local.INFO: GPS data processed {"connection_id":125466,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:25:02] local.INFO: Acknowledgment sent {"connection_id":125466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:25:03] local.INFO: TCP Data received {"connection_id":125584,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40eed5f0012cd3250007404358000f01412f..."} 
[2026-07-08 14:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40eed5f0012cd3250007404358000f01412f..."} 
[2026-07-08 14:25:03] local.INFO: Processing buffer {"connection_id":125584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40eed5f0012cd3250007404358000f01412f..."} 
[2026-07-08 14:25:03] local.INFO: Packet analysis {"connection_id":125584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ee"} 
[2026-07-08 14:25:03] local.INFO: Extracted packet for processing {"connection_id":125584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ee"} 
[2026-07-08 14:25:03] local.INFO: GPS Element Parsed {"raw_longitude":752035072,"raw_latitude":121652056,"longitude_deg":75.2035072,"latitude_deg":12.1652056,"altitude":15,"angle":321,"satellites":47,"speed":52,"hex_longitude":"2cd32500","hex_latitude":"07404358","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576208640001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133368832008912896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:25:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3225069883265562624,"note":"Value kept but may cause issues"} 
[2026-07-08 14:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783500822000,"timestamp_ms":1783500822000,"timestamp_seconds":1783500822,"priority":1,"record_length":96,"hex_timestamp":"0000019f40eed5f0"} 
[2026-07-08 14:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:25: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-07-08 14: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":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1374,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576208640001,"66":28430,"105":206,"2":54016,"24":52,"16":133368832008912896,"44":-3225069883265562624},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,2,24,16,44]} 
[2026-07-08 14:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576208640001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:25:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 14:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133368832008912896,"km_value":133368832008912.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:25:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3225069883265562624,"description":"Unknown IO ID 44"} 
[2026-07-08 14:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576208640001,"power":28430,"unknown_105":206,"power_alt":54016,"ignition":52,"odometer":null,"unknown_44":-3225069883265562624}} 
[2026-07-08 14:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":125584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451624,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:25:03] local.INFO: GPS data processed {"connection_id":125584,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:25:03] local.INFO: Acknowledgment sent {"connection_id":125584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:25:07] local.INFO: TCP Data received {"connection_id":125465,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40eb9db8012d0b130007029fc00005013422..."} 
[2026-07-08 14:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40eb9db8012d0b130007029fc00005013422..."} 
[2026-07-08 14:25:07] local.INFO: Processing buffer {"connection_id":125465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40eb9db8012d0b130007029fc00005013422..."} 
[2026-07-08 14:25:07] local.INFO: Packet analysis {"connection_id":125465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:25:07] local.INFO: Extracted packet for processing {"connection_id":125465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:25:07] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 14:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576079360001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:25: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-07-08 14:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783500611000,"timestamp_ms":1783500611000,"timestamp_seconds":1783500611,"priority":1,"record_length":96,"hex_timestamp":"0000019f40eb9db8"} 
[2026-07-08 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-07-08 14:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 14:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125465,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125465,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576079360001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576079360001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:25:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576079360001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":125465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451625,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:25:07] local.INFO: GPS data processed {"connection_id":125465,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:25:07] local.INFO: Acknowledgment sent {"connection_id":125465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:25:08] local.INFO: TCP Data received {"connection_id":125465,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40eb9db8012d0b130007029fc00005013422..."} 
[2026-07-08 14:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40eb9db8012d0b130007029fc00005013422..."} 
[2026-07-08 14:25:08] local.INFO: Processing buffer {"connection_id":125465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40eb9db8012d0b130007029fc00005013422..."} 
[2026-07-08 14:25:08] local.INFO: Packet analysis {"connection_id":125465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:25:08] local.INFO: Extracted packet for processing {"connection_id":125465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40eb"} 
[2026-07-08 14:25:08] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576079360001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:25: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-07-08 14:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783500611000,"timestamp_ms":1783500611000,"timestamp_seconds":1783500611,"priority":1,"record_length":96,"hex_timestamp":"0000019f40eb9db8"} 
[2026-07-08 14:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:25: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-07-08 14:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125465,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125465,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576079360001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576079360001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:25:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576079360001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":125465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451626,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:25:08] local.INFO: GPS data processed {"connection_id":125465,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:25:08] local.INFO: Acknowledgment sent {"connection_id":125465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:25:32] local.INFO: TCP Data received {"connection_id":125466,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40eef530012d89d400058d9600000400532c..."} 
[2026-07-08 14:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40eef530012d89d400058d9600000400532c..."} 
[2026-07-08 14:25:32] local.INFO: Processing buffer {"connection_id":125466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40eef530012d89d400058d9600000400532c..."} 
[2026-07-08 14:25:32] local.INFO: Packet analysis {"connection_id":125466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ee"} 
[2026-07-08 14:25:32] local.INFO: Extracted packet for processing {"connection_id":125466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ee"} 
[2026-07-08 14:25:32] local.INFO: GPS Element Parsed {"raw_longitude":764007424,"raw_latitude":93165056,"longitude_deg":76.4007424,"latitude_deg":9.3165056,"altitude":4,"angle":83,"satellites":44,"speed":38,"hex_longitude":"2d89d400","hex_latitude":"058d9600","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576209920001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342663206818283520,"note":"Value kept but may cause issues"} 
[2026-07-08 14:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8525454808250691584,"note":"Value kept but may cause issues"} 
[2026-07-08 14:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783500830000,"timestamp_ms":1783500830000,"timestamp_seconds":1783500830,"priority":1,"record_length":96,"hex_timestamp":"0000019f40eef530"} 
[2026-07-08 14:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:25:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 14:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576209920001,"66":27843,"15":206,"85":14080,"24":38,"16":342663206818283520,"45":-8525454808250691584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-08 14:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576209920001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:25:32] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-08 14:25:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342663206818283520,"km_value":342663206818283.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8525454808250691584,"description":"Unknown IO ID 45"} 
[2026-07-08 14:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576209920001,"power":27843,"unknown_15":206,"unknown_85":14080,"ignition":38,"odometer":null,"unknown_45":-8525454808250691584}} 
[2026-07-08 14:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":125466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:25:32] local.INFO: GPS data processed {"connection_id":125466,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:25:32] local.INFO: Acknowledgment sent {"connection_id":125466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:25:34] local.INFO: TCP Data received {"connection_id":125584,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ef08b8012cd30e0007405f60000e01432e..."} 
[2026-07-08 14:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ef08b8012cd30e0007405f60000e01432e..."} 
[2026-07-08 14:25:34] local.INFO: Processing buffer {"connection_id":125584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ef08b8012cd30e0007405f60000e01432e..."} 
[2026-07-08 14:25:34] local.INFO: Packet analysis {"connection_id":125584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ef"} 
[2026-07-08 14:25:34] local.INFO: Extracted packet for processing {"connection_id":125584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ef"} 
[2026-07-08 14:25:34] local.INFO: GPS Element Parsed {"raw_longitude":752029184,"raw_latitude":121659232,"longitude_deg":75.2029184,"latitude_deg":12.1659232,"altitude":14,"angle":323,"satellites":46,"speed":30,"hex_longitude":"2cd30e00","hex_latitude":"07405f60","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576210432001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133369278685511680,"note":"Value kept but may cause issues"} 
[2026-07-08 14:25:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3232177126425536512,"note":"Value kept but may cause issues"} 
[2026-07-08 14:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783500835000,"timestamp_ms":1783500835000,"timestamp_seconds":1783500835,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ef08b8"} 
[2026-07-08 14:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:25: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-07-08 14: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-08 14:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576210432001,"66":28354,"105":206,"2":54016,"24":30,"16":133369278685511680,"44":-3232177126425536512},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,2,24,16,44]} 
[2026-07-08 14:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576210432001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:25:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 14:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133369278685511680,"km_value":133369278685511.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:25:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3232177126425536512,"description":"Unknown IO ID 44"} 
[2026-07-08 14:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576210432001,"power":28354,"unknown_105":206,"power_alt":54016,"ignition":30,"odometer":null,"unknown_44":-3232177126425536512}} 
[2026-07-08 14:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":125584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451628,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:25:34] local.INFO: GPS data processed {"connection_id":125584,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:25:34] local.INFO: Acknowledgment sent {"connection_id":125584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:25:44] local.INFO: TCP Data received {"connection_id":127590,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127590,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:25:44] local.INFO: Processing buffer {"connection_id":127590,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:25:44] local.INFO: IMEI packet received {"connection_id":127590,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":127590,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:25:50] local.INFO: TCP Data received {"connection_id":127590,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127590,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:25:50] local.INFO: Processing buffer {"connection_id":127590,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:25:50] local.INFO: IMEI packet received {"connection_id":127590,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":127590,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:25:51] local.INFO: TCP Data received {"connection_id":127590,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f03580012d0b130007029fc00005013422..."} 
[2026-07-08 14:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f03580012d0b130007029fc00005013422..."} 
[2026-07-08 14:25:51] local.INFO: Processing buffer {"connection_id":127590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f03580012d0b130007029fc00005013422..."} 
[2026-07-08 14:25:51] local.INFO: Packet analysis {"connection_id":127590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f0"} 
[2026-07-08 14:25:51] local.INFO: Extracted packet for processing {"connection_id":127590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f0"} 
[2026-07-08 14:25:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576156416001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783500912000,"timestamp_ms":1783500912000,"timestamp_seconds":1783500912,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f03580"} 
[2026-07-08 14:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:25:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127590,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127590,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576156416001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576156416001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:25:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576156416001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":127590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451629,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:25:51] local.INFO: GPS data processed {"connection_id":127590,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:25:51] local.INFO: Acknowledgment sent {"connection_id":127590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:25:55] local.INFO: TCP Data received {"connection_id":127591,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:25:55] local.INFO: Processing buffer {"connection_id":127591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:25:55] local.INFO: IMEI packet received {"connection_id":127591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":127591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:25:56] local.INFO: TCP Data received {"connection_id":127592,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127592,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:25:56] local.INFO: Processing buffer {"connection_id":127592,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:25:56] local.INFO: IMEI packet received {"connection_id":127592,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 14:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":127592,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:26:01] local.INFO: TCP Data received {"connection_id":127591,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:26:01] local.INFO: Processing buffer {"connection_id":127591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:26:01] local.INFO: IMEI packet received {"connection_id":127591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":127591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:26:01] local.INFO: TCP Data received {"connection_id":127592,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127592,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:26:01] local.INFO: Processing buffer {"connection_id":127592,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:26:01] local.INFO: IMEI packet received {"connection_id":127592,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":127592,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:26:02] local.INFO: TCP Data received {"connection_id":127591,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ef08b8012d89e3c0058d96d8000500622a..."} 
[2026-07-08 14:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ef08b8012d89e3c0058d96d8000500622a..."} 
[2026-07-08 14:26:02] local.INFO: Processing buffer {"connection_id":127591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ef08b8012d89e3c0058d96d8000500622a..."} 
[2026-07-08 14:26:02] local.INFO: Packet analysis {"connection_id":127591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ef"} 
[2026-07-08 14:26:02] local.INFO: Extracted packet for processing {"connection_id":127591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ef"} 
[2026-07-08 14:26:02] local.INFO: GPS Element Parsed {"raw_longitude":764011456,"raw_latitude":93165272,"longitude_deg":76.4011456,"latitude_deg":9.3165272,"altitude":5,"angle":98,"satellites":42,"speed":21,"hex_longitude":"2d89e3c0","hex_latitude":"058d96d8","is_valid_coordinates":true} 
[2026-07-08 14:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576212480001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342663400091811840,"note":"Value kept but may cause issues"} 
[2026-07-08 14:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8515180971600510976,"note":"Value kept but may cause issues"} 
[2026-07-08 14:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783500835000,"timestamp_ms":1783500835000,"timestamp_seconds":1783500835,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ef08b8"} 
[2026-07-08 14:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 14:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576212480001,"66":27843,"15":206,"85":14080,"24":21,"16":342663400091811840,"45":-8515180971600510976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-08 14:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576212480001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:26:02] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-08 14:26:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342663400091811840,"km_value":342663400091811.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8515180971600510976,"description":"Unknown IO ID 45"} 
[2026-07-08 14:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576212480001,"power":27843,"unknown_15":206,"unknown_85":14080,"ignition":21,"odometer":null,"unknown_45":-8515180971600510976}} 
[2026-07-08 14:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":127591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:26:02] local.INFO: GPS data processed {"connection_id":127591,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:26:02] local.INFO: Acknowledgment sent {"connection_id":127591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:26:03] local.INFO: TCP Data received {"connection_id":127592,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f01258012cd22240074153d0001501292e..."} 
[2026-07-08 14:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f01258012cd22240074153d0001501292e..."} 
[2026-07-08 14:26:03] local.INFO: Processing buffer {"connection_id":127592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f01258012cd22240074153d0001501292e..."} 
[2026-07-08 14:26:03] local.INFO: Packet analysis {"connection_id":127592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f0"} 
[2026-07-08 14:26:03] local.INFO: Extracted packet for processing {"connection_id":127592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f0"} 
[2026-07-08 14:26:03] local.INFO: GPS Element Parsed {"raw_longitude":751968832,"raw_latitude":121721808,"longitude_deg":75.1968832,"latitude_deg":12.1721808,"altitude":21,"angle":297,"satellites":46,"speed":50,"hex_longitude":"2cd22240","hex_latitude":"074153d0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576229120001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133373504933330944,"note":"Value kept but may cause issues"} 
[2026-07-08 14:26:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3295016414959470592,"note":"Value kept but may cause issues"} 
[2026-07-08 14:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783500903000,"timestamp_ms":1783500903000,"timestamp_seconds":1783500903,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f01258"} 
[2026-07-08 14:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:26: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-07-08 14: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-08 14:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127592,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127592,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576229120001,"66":28430,"105":206,"2":54016,"24":50,"16":133373504933330944,"44":-3295016414959470592},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,2,24,16,44]} 
[2026-07-08 14:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576229120001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:26:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 14:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133373504933330944,"km_value":133373504933330.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:26:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3295016414959470592,"description":"Unknown IO ID 44"} 
[2026-07-08 14:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576229120001,"power":28430,"unknown_105":206,"power_alt":54016,"ignition":50,"odometer":null,"unknown_44":-3295016414959470592}} 
[2026-07-08 14:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":127592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451631,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:26:03] local.INFO: GPS data processed {"connection_id":127592,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:26:03] local.INFO: Acknowledgment sent {"connection_id":127592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:26:22] local.INFO: TCP Data received {"connection_id":127590,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f03580012d0b130007029fc00005013422..."} 
[2026-07-08 14:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f03580012d0b130007029fc00005013422..."} 
[2026-07-08 14:26:22] local.INFO: Processing buffer {"connection_id":127590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f03580012d0b130007029fc00005013422..."} 
[2026-07-08 14:26:22] local.INFO: Packet analysis {"connection_id":127590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f0"} 
[2026-07-08 14:26:22] local.INFO: Extracted packet for processing {"connection_id":127590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f0"} 
[2026-07-08 14:26:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576156416001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783500912000,"timestamp_ms":1783500912000,"timestamp_seconds":1783500912,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f03580"} 
[2026-07-08 14:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:26:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":127590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":127590,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":127590,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576156416001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576156416001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:26:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576156416001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":127590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451632,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:26:22] local.INFO: GPS data processed {"connection_id":127590,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:26:22] local.INFO: Acknowledgment sent {"connection_id":127590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:26:33] local.INFO: TCP Data received {"connection_id":127591,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f08b70012d8b6880058d8ba00005005a2c..."} 
[2026-07-08 14:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f08b70012d8b6880058d8ba00005005a2c..."} 
[2026-07-08 14:26:33] local.INFO: Processing buffer {"connection_id":127591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f08b70012d8b6880058d8ba00005005a2c..."} 
[2026-07-08 14:26:33] local.INFO: Packet analysis {"connection_id":127591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f0"} 
[2026-07-08 14:26:33] local.INFO: Extracted packet for processing {"connection_id":127591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f0"} 
[2026-07-08 14:26:33] local.INFO: GPS Element Parsed {"raw_longitude":764110976,"raw_latitude":93162400,"longitude_deg":76.4110976,"latitude_deg":9.31624,"altitude":5,"angle":90,"satellites":44,"speed":46,"hex_longitude":"2d8b6880","hex_latitude":"058d8ba0","is_valid_coordinates":true} 
[2026-07-08 14:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576237056001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342668180390412288,"note":"Value kept but may cause issues"} 
[2026-07-08 14:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8411668548915824640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783500934000,"timestamp_ms":1783500934000,"timestamp_seconds":1783500934,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f08b70"} 
[2026-07-08 14:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-08 14:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576237056001,"66":27908,"213":206,"85":14080,"24":46,"16":342668180390412288,"45":-8411668548915824640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,85,24,16,45]} 
[2026-07-08 14:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576237056001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:26:33] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-07-08 14:26:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342668180390412288,"km_value":342668180390412.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8411668548915824640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576237056001,"power":27908,"unknown_213":206,"unknown_85":14080,"ignition":46,"odometer":null,"unknown_45":-8411668548915824640}} 
[2026-07-08 14:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":127591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:26:33] local.INFO: GPS data processed {"connection_id":127591,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:26:33] local.INFO: Acknowledgment sent {"connection_id":127591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:26:35] local.INFO: TCP Data received {"connection_id":127592,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f02db0012cd2018007416348001501272e..."} 
[2026-07-08 14:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f02db0012cd2018007416348001501272e..."} 
[2026-07-08 14:26:35] local.INFO: Processing buffer {"connection_id":127592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f02db0012cd2018007416348001501272e..."} 
[2026-07-08 14:26:35] local.INFO: Packet analysis {"connection_id":127592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f0"} 
[2026-07-08 14:26:35] local.INFO: Extracted packet for processing {"connection_id":127592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f0"} 
[2026-07-08 14:26:35] local.INFO: GPS Element Parsed {"raw_longitude":751960448,"raw_latitude":121725768,"longitude_deg":75.1960448,"latitude_deg":12.1725768,"altitude":21,"angle":295,"satellites":46,"speed":53,"hex_longitude":"2cd20180","hex_latitude":"07416348","is_valid_coordinates":true} 
[2026-07-08 14:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576231168001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133373947314962432,"note":"Value kept but may cause issues"} 
[2026-07-08 14:26:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3305008776631562240,"note":"Value kept but may cause issues"} 
[2026-07-08 14:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783500910000,"timestamp_ms":1783500910000,"timestamp_seconds":1783500910,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f02db0"} 
[2026-07-08 14:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-08 14:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":127592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":127592,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":127592,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576231168001,"66":28398,"105":206,"2":54016,"24":53,"16":133373947314962432,"44":-3305008776631562240},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,2,24,16,44]} 
[2026-07-08 14:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576231168001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:26:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 14:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133373947314962432,"km_value":133373947314962.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:26:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3305008776631562240,"description":"Unknown IO ID 44"} 
[2026-07-08 14:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576231168001,"power":28398,"unknown_105":206,"power_alt":54016,"ignition":53,"odometer":null,"unknown_44":-3305008776631562240}} 
[2026-07-08 14:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":127592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451634,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:26:35] local.INFO: GPS data processed {"connection_id":127592,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:26:35] local.INFO: Acknowledgment sent {"connection_id":127592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:26:44] local.INFO: TCP Data received {"connection_id":126353,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126353,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:26:44] local.INFO: Processing buffer {"connection_id":126353,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:26:44] local.INFO: IMEI packet received {"connection_id":126353,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":126353,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:26:51] local.INFO: TCP Data received {"connection_id":126353,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126353,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:26:51] local.INFO: Processing buffer {"connection_id":126353,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:26:51] local.INFO: IMEI packet received {"connection_id":126353,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":126353,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:26:52] local.INFO: TCP Data received {"connection_id":126353,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f03580012d0b130007029fc00005013422..."} 
[2026-07-08 14:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f03580012d0b130007029fc00005013422..."} 
[2026-07-08 14:26:52] local.INFO: Processing buffer {"connection_id":126353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f03580012d0b130007029fc00005013422..."} 
[2026-07-08 14:26:52] local.INFO: Packet analysis {"connection_id":126353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f0"} 
[2026-07-08 14:26:52] local.INFO: Extracted packet for processing {"connection_id":126353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f0"} 
[2026-07-08 14:26:52] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576156416001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783500912000,"timestamp_ms":1783500912000,"timestamp_seconds":1783500912,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f03580"} 
[2026-07-08 14:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:26:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":126353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":126353,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":126353,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:26:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576156416001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576156416001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:26:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576156416001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":126353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451635,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:26:52] local.INFO: GPS data processed {"connection_id":126353,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:26:52] local.INFO: Acknowledgment sent {"connection_id":126353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:26:55] local.INFO: TCP Data received {"connection_id":125586,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:26:55] local.INFO: Processing buffer {"connection_id":125586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:26:55] local.INFO: IMEI packet received {"connection_id":125586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":125586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:26:57] local.INFO: TCP Data received {"connection_id":125587,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125587,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:26:57] local.INFO: Processing buffer {"connection_id":125587,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:26:57] local.INFO: IMEI packet received {"connection_id":125587,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 14:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":125587,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:27:01] local.INFO: TCP Data received {"connection_id":125586,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:27:01] local.INFO: Processing buffer {"connection_id":125586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:27:01] local.INFO: IMEI packet received {"connection_id":125586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":125586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:27:02] local.INFO: TCP Data received {"connection_id":125586,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f0aab0012d8b8bc0058d88100005005b2c..."} 
[2026-07-08 14:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f0aab0012d8b8bc0058d88100005005b2c..."} 
[2026-07-08 14:27:02] local.INFO: Processing buffer {"connection_id":125586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f0aab0012d8b8bc0058d88100005005b2c..."} 
[2026-07-08 14:27:02] local.INFO: Packet analysis {"connection_id":125586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f0"} 
[2026-07-08 14:27:02] local.INFO: Extracted packet for processing {"connection_id":125586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f0"} 
[2026-07-08 14:27:02] local.INFO: GPS Element Parsed {"raw_longitude":764120000,"raw_latitude":93161488,"longitude_deg":76.412,"latitude_deg":9.3161488,"altitude":5,"angle":91,"satellites":44,"speed":45,"hex_longitude":"2d8b8bc0","hex_latitude":"058d8810","is_valid_coordinates":true} 
[2026-07-08 14:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576239104001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342668618477076480,"note":"Value kept but may cause issues"} 
[2026-07-08 14:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8401324343521730560,"note":"Value kept but may cause issues"} 
[2026-07-08 14:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783500942000,"timestamp_ms":1783500942000,"timestamp_seconds":1783500942,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f0aab0"} 
[2026-07-08 14:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 14:27:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:27:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576239104001,"66":27974,"213":206,"85":14080,"24":45,"16":342668618477076480,"45":-8401324343521730560},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,85,24,16,45]} 
[2026-07-08 14:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576239104001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:27:02] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-07-08 14:27:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342668618477076480,"km_value":342668618477076.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8401324343521730560,"description":"Unknown IO ID 45"} 
[2026-07-08 14:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576239104001,"power":27974,"unknown_213":206,"unknown_85":14080,"ignition":45,"odometer":null,"unknown_45":-8401324343521730560}} 
[2026-07-08 14:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":125586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:27:02] local.INFO: GPS data processed {"connection_id":125586,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:27:02] local.INFO: Acknowledgment sent {"connection_id":125586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:27:02] local.INFO: TCP Data received {"connection_id":125587,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125587,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:27:02] local.INFO: Processing buffer {"connection_id":125587,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:27:02] local.INFO: IMEI packet received {"connection_id":125587,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":125587,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:27:03] local.INFO: TCP Data received {"connection_id":125587,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125587,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:27:03] local.INFO: Processing buffer {"connection_id":125587,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:27:03] local.INFO: IMEI packet received {"connection_id":125587,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":125587,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:27:04] local.INFO: TCP Data received {"connection_id":125587,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f123c8012cd10280074263c8001601352d..."} 
[2026-07-08 14:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f123c8012cd10280074263c8001601352d..."} 
[2026-07-08 14:27:04] local.INFO: Processing buffer {"connection_id":125587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f123c8012cd10280074263c8001601352d..."} 
[2026-07-08 14:27:04] local.INFO: Packet analysis {"connection_id":125587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f1"} 
[2026-07-08 14:27:04] local.INFO: Extracted packet for processing {"connection_id":125587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f1"} 
[2026-07-08 14:27:04] local.INFO: GPS Element Parsed {"raw_longitude":751895168,"raw_latitude":121791432,"longitude_deg":75.1895168,"latitude_deg":12.1791432,"altitude":22,"angle":309,"satellites":45,"speed":59,"hex_longitude":"2cd10280","hex_latitude":"074263c8","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576247552001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133378444145721344,"note":"Value kept but may cause issues"} 
[2026-07-08 14:27:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3378544114280914944,"note":"Value kept but may cause issues"} 
[2026-07-08 14:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783500973000,"timestamp_ms":1783500973000,"timestamp_seconds":1783500973,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f123c8"} 
[2026-07-08 14:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:27: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-07-08 14: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-08 14:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125587,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125587,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576247552001,"66":28398,"189":206,"2":54016,"24":59,"16":133378444145721344,"44":-3378544114280914944},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,2,24,16,44]} 
[2026-07-08 14:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576247552001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:27:04] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-08 14:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133378444145721344,"km_value":133378444145721.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:27:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3378544114280914944,"description":"Unknown IO ID 44"} 
[2026-07-08 14:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576247552001,"power":28398,"unknown_189":206,"power_alt":54016,"ignition":59,"odometer":null,"unknown_44":-3378544114280914944}} 
[2026-07-08 14:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":125587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451637,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:27:04] local.INFO: GPS data processed {"connection_id":125587,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:27:04] local.INFO: Acknowledgment sent {"connection_id":125587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:27:05] local.INFO: TCP Data received {"connection_id":125468,"ip":"117.225.159.213","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:27:05] local.INFO: Processing buffer {"connection_id":125468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:27:05] local.INFO: IMEI packet received {"connection_id":125468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":125468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:27:07] local.INFO: TCP Data received {"connection_id":125587,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f13b38012cd0e68007427968001501322e..."} 
[2026-07-08 14:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f13b38012cd0e68007427968001501322e..."} 
[2026-07-08 14:27:07] local.INFO: Processing buffer {"connection_id":125587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f13b38012cd0e68007427968001501322e..."} 
[2026-07-08 14:27:07] local.INFO: Packet analysis {"connection_id":125587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f1"} 
[2026-07-08 14:27:07] local.INFO: Extracted packet for processing {"connection_id":125587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f1"} 
[2026-07-08 14:27:07] local.INFO: GPS Element Parsed {"raw_longitude":751888000,"raw_latitude":121796968,"longitude_deg":75.1888,"latitude_deg":12.1796968,"altitude":21,"angle":306,"satellites":46,"speed":59,"hex_longitude":"2cd0e680","hex_latitude":"07427968","is_valid_coordinates":true} 
[2026-07-08 14:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576249088001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133378877937418240,"note":"Value kept but may cause issues"} 
[2026-07-08 14:27:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3386003201162229760,"note":"Value kept but may cause issues"} 
[2026-07-08 14:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783500979000,"timestamp_ms":1783500979000,"timestamp_seconds":1783500979,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f13b38"} 
[2026-07-08 14:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14: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-07-08 14: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 14:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125587,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125587,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576249088001,"66":28398,"189":206,"2":54016,"24":59,"16":133378877937418240,"44":-3386003201162229760},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,2,24,16,44]} 
[2026-07-08 14:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576249088001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:27:07] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-08 14:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133378877937418240,"km_value":133378877937418.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:27:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3386003201162229760,"description":"Unknown IO ID 44"} 
[2026-07-08 14:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576249088001,"power":28398,"unknown_189":206,"power_alt":54016,"ignition":59,"odometer":null,"unknown_44":-3386003201162229760}} 
[2026-07-08 14:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":125587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451638,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:27:07] local.INFO: GPS data processed {"connection_id":125587,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:27:07] local.INFO: Acknowledgment sent {"connection_id":125587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:27:07] local.INFO: TCP Data received {"connection_id":125468,"ip":"117.225.159.213","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f07fb8012d18d140072112300042009023..."} 
[2026-07-08 14:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f07fb8012d18d140072112300042009023..."} 
[2026-07-08 14:27:07] local.INFO: Processing buffer {"connection_id":125468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f07fb8012d18d140072112300042009023..."} 
[2026-07-08 14:27:07] local.INFO: Packet analysis {"connection_id":125468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f0"} 
[2026-07-08 14:27:07] local.INFO: Extracted packet for processing {"connection_id":125468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f0"} 
[2026-07-08 14:27:07] local.INFO: GPS Element Parsed {"raw_longitude":756601152,"raw_latitude":119607856,"longitude_deg":75.6601152,"latitude_deg":11.9607856,"altitude":66,"angle":144,"satellites":35,"speed":7,"hex_longitude":"2d18d140","hex_latitude":"07211230","is_valid_coordinates":true} 
[2026-07-08 14:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576238080001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4810689789034496,"note":"Value kept but may cause issues"} 
[2026-07-08 14:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188918267904,"note":"Value kept but may cause issues"} 
[2026-07-08 14:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783500931000,"timestamp_ms":1783500931000,"timestamp_seconds":1783500931,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f07fb8"} 
[2026-07-08 14:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-08 14:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-07-08 14:27:07] local.WARNING: Large IO value detected {"io_id":22,"raw_value":2583691264,"note":"Value kept but may cause issues"} 
[2026-07-08 14:27:07] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2919288295,"note":"Value kept but may cause issues"} 
[2026-07-08 14:27:07] local.WARNING: Large IO value detected {"io_id":64,"raw_value":4026198017,"note":"Value kept but may cause issues"} 
[2026-07-08 14:27:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-08 14:27:07] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":77080,"corrected_to":0} 
[2026-07-08 14:27:07] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,121,28,24,241,158,16,23,159,116,45,192,19,65,37,10,66,128,20,36,22,254,1,240,55,64,33,4,113,205,14,247,144,208,38,239,2,17,7,68,9],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0},{"io_id":247,"original":77080,"validated":0}]} 
[2026-07-08 14:27:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755938795781029888,"timestamp_seconds":4755938795781030.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 14:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.159.213","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576238080001,"66":13993,"121":206,"28":31744,"24":7,"16":4810689789034496,"45":1788140188918267904},"client_ip":"117.225.159.213","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576238080001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:27:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:27:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4810689789034496,"km_value":4810689789034.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188918267904,"description":"Unknown IO ID 45"} 
[2026-07-08 14:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576238080001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1788140188918267904}} 
[2026-07-08 14:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":125468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:27:07] local.INFO: GPS data processed {"connection_id":125468,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:27:07] local.INFO: Acknowledgment sent {"connection_id":125468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:27:23] local.INFO: TCP Data received {"connection_id":126353,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f03580012d0b130007029fc00005013422..."} 
[2026-07-08 14:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f03580012d0b130007029fc00005013422..."} 
[2026-07-08 14:27:23] local.INFO: Processing buffer {"connection_id":126353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f03580012d0b130007029fc00005013422..."} 
[2026-07-08 14:27:23] local.INFO: Packet analysis {"connection_id":126353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f0"} 
[2026-07-08 14:27:23] local.INFO: Extracted packet for processing {"connection_id":126353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f0"} 
[2026-07-08 14:27:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576156416001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783500912000,"timestamp_ms":1783500912000,"timestamp_seconds":1783500912,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f03580"} 
[2026-07-08 14:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:27:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:27:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:27:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":126353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":126353,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":126353,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:27:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576156416001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576156416001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:27:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576156416001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":126353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451640,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:27:24] local.INFO: GPS data processed {"connection_id":126353,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:27:24] local.INFO: Acknowledgment sent {"connection_id":126353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:27:33] local.INFO: TCP Data received {"connection_id":125586,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f0c9f0012d8bb1c0058d87400005005a2c..."} 
[2026-07-08 14:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f0c9f0012d8bb1c0058d87400005005a2c..."} 
[2026-07-08 14:27:33] local.INFO: Processing buffer {"connection_id":125586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f0c9f0012d8bb1c0058d87400005005a2c..."} 
[2026-07-08 14:27:33] local.INFO: Packet analysis {"connection_id":125586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f0"} 
[2026-07-08 14:27:33] local.INFO: Extracted packet for processing {"connection_id":125586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f0"} 
[2026-07-08 14:27:33] local.INFO: GPS Element Parsed {"raw_longitude":764129728,"raw_latitude":93161280,"longitude_deg":76.4129728,"latitude_deg":9.316128,"altitude":5,"angle":90,"satellites":44,"speed":49,"hex_longitude":"2d8bb1c0","hex_latitude":"058d8740","is_valid_coordinates":true} 
[2026-07-08 14:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576241152001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342669082333544448,"note":"Value kept but may cause issues"} 
[2026-07-08 14:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8391402350592913408,"note":"Value kept but may cause issues"} 
[2026-07-08 14:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783500950000,"timestamp_ms":1783500950000,"timestamp_seconds":1783500950,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f0c9f0"} 
[2026-07-08 14:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-08 14:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576241152001,"66":27332,"213":206,"85":14080,"24":49,"16":342669082333544448,"45":-8391402350592913408},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,85,24,16,45]} 
[2026-07-08 14:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576241152001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:27:33] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-07-08 14:27:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342669082333544448,"km_value":342669082333544.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8391402350592913408,"description":"Unknown IO ID 45"} 
[2026-07-08 14:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576241152001,"power":27332,"unknown_213":206,"unknown_85":14080,"ignition":49,"odometer":null,"unknown_45":-8391402350592913408}} 
[2026-07-08 14:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":125586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:27:33] local.INFO: GPS data processed {"connection_id":125586,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:27:33] local.INFO: Acknowledgment sent {"connection_id":125586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:27:38] local.INFO: TCP Data received {"connection_id":125587,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f152a8012cd0c98007428e20001401332b..."} 
[2026-07-08 14:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f152a8012cd0c98007428e20001401332b..."} 
[2026-07-08 14:27:38] local.INFO: Processing buffer {"connection_id":125587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f152a8012cd0c98007428e20001401332b..."} 
[2026-07-08 14:27:38] local.INFO: Packet analysis {"connection_id":125587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f1"} 
[2026-07-08 14:27:38] local.INFO: Extracted packet for processing {"connection_id":125587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f1"} 
[2026-07-08 14:27:38] local.INFO: GPS Element Parsed {"raw_longitude":751880576,"raw_latitude":121802272,"longitude_deg":75.1880576,"latitude_deg":12.1802272,"altitude":20,"angle":307,"satellites":43,"speed":59,"hex_longitude":"2cd0c980","hex_latitude":"07428e20","is_valid_coordinates":true} 
[2026-07-08 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-07-08 14:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576250624001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133379311729115136,"note":"Value kept but may cause issues"} 
[2026-07-08 14:27:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3393884500508710912,"note":"Value kept but may cause issues"} 
[2026-07-08 14:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783500985000,"timestamp_ms":1783500985000,"timestamp_seconds":1783500985,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f152a8"} 
[2026-07-08 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-07-08 14:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 14:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 14:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125587,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125587,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576250624001,"66":28376,"189":206,"2":54016,"24":59,"16":133379311729115136,"44":-3393884500508710912},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,2,24,16,44]} 
[2026-07-08 14:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576250624001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:27:38] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-08 14:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133379311729115136,"km_value":133379311729115.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:27:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3393884500508710912,"description":"Unknown IO ID 44"} 
[2026-07-08 14:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576250624001,"power":28376,"unknown_189":206,"power_alt":54016,"ignition":59,"odometer":null,"unknown_44":-3393884500508710912}} 
[2026-07-08 14:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":125587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451642,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:27:38] local.INFO: GPS data processed {"connection_id":125587,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:27:38] local.INFO: Acknowledgment sent {"connection_id":125587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:27:39] local.INFO: TCP Data received {"connection_id":125468,"ip":"117.225.159.213","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f083a0012d18d1c007211170004200a424..."} 
[2026-07-08 14:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f083a0012d18d1c007211170004200a424..."} 
[2026-07-08 14:27:39] local.INFO: Processing buffer {"connection_id":125468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f083a0012d18d1c007211170004200a424..."} 
[2026-07-08 14:27:39] local.INFO: Packet analysis {"connection_id":125468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f0"} 
[2026-07-08 14:27:39] local.INFO: Extracted packet for processing {"connection_id":125468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f0"} 
[2026-07-08 14:27:39] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119607664,"longitude_deg":75.660128,"latitude_deg":11.9607664,"altitude":66,"angle":164,"satellites":36,"speed":8,"hex_longitude":"2d18d1c0","hex_latitude":"07211170","is_valid_coordinates":true} 
[2026-07-08 14:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576238336001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4810702673936384,"note":"Value kept but may cause issues"} 
[2026-07-08 14:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788280926406586368,"note":"Value kept but may cause issues"} 
[2026-07-08 14:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783500932000,"timestamp_ms":1783500932000,"timestamp_seconds":1783500932,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f083a0"} 
[2026-07-08 14:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:27: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-07-08 14: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 14:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.159.213","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576238336001,"66":13993,"121":206,"28":31744,"24":8,"16":4810702673936384,"45":1788280926406586368},"client_ip":"117.225.159.213","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576238336001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:27:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:27:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4810702673936384,"km_value":4810702673936.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788280926406586368,"description":"Unknown IO ID 45"} 
[2026-07-08 14:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576238336001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1788280926406586368}} 
[2026-07-08 14:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":125468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:27:39] local.INFO: GPS data processed {"connection_id":125468,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:27:39] local.INFO: Acknowledgment sent {"connection_id":125468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:27:50] local.INFO: TCP Data received {"connection_id":127593,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127593,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:27:50] local.INFO: Processing buffer {"connection_id":127593,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:27:50] local.INFO: IMEI packet received {"connection_id":127593,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":127593,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:27:56] local.INFO: TCP Data received {"connection_id":125469,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:27:56] local.INFO: Processing buffer {"connection_id":125469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:27:56] local.INFO: IMEI packet received {"connection_id":125469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 14:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":125469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:27:56] local.INFO: TCP Data received {"connection_id":125588,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:27:56] local.INFO: Processing buffer {"connection_id":125588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:27:56] local.INFO: IMEI packet received {"connection_id":125588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":125588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:27:57] local.INFO: TCP Data received {"connection_id":125469,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:27:57] local.INFO: Processing buffer {"connection_id":125469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:27:57] local.INFO: IMEI packet received {"connection_id":125469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":125469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:27:58] local.INFO: TCP Data received {"connection_id":127593,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127593,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:27:58] local.INFO: Processing buffer {"connection_id":127593,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:27:58] local.INFO: IMEI packet received {"connection_id":127593,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":127593,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:28:00] local.INFO: TCP Data received {"connection_id":125589,"ip":"117.225.159.213","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:28:00] local.INFO: Processing buffer {"connection_id":125589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:28:00] local.INFO: IMEI packet received {"connection_id":125589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":125589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:28:00] local.INFO: TCP Data received {"connection_id":127593,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f03580012d0b130007029fc00005013422..."} 
[2026-07-08 14:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f03580012d0b130007029fc00005013422..."} 
[2026-07-08 14:28:00] local.INFO: Processing buffer {"connection_id":127593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f03580012d0b130007029fc00005013422..."} 
[2026-07-08 14:28:00] local.INFO: Packet analysis {"connection_id":127593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f0"} 
[2026-07-08 14:28:00] local.INFO: Extracted packet for processing {"connection_id":127593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f0"} 
[2026-07-08 14:28:00] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576156416001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:28:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783500912000,"timestamp_ms":1783500912000,"timestamp_seconds":1783500912,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f03580"} 
[2026-07-08 14:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:28: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":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:28:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:28:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":127593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":127593,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":127593,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576156416001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576156416001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:28:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576156416001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":127593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451644,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:28:00] local.INFO: GPS data processed {"connection_id":127593,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:28:00] local.INFO: Acknowledgment sent {"connection_id":127593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:28:01] local.INFO: TCP Data received {"connection_id":125588,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:28:01] local.INFO: Processing buffer {"connection_id":125588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:28:01] local.INFO: IMEI packet received {"connection_id":125588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":125588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:28:01] local.INFO: TCP Data received {"connection_id":127593,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f03580012d0b130007029fc00005013422..."} 
[2026-07-08 14:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f03580012d0b130007029fc00005013422..."} 
[2026-07-08 14:28:01] local.INFO: Processing buffer {"connection_id":127593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f03580012d0b130007029fc00005013422..."} 
[2026-07-08 14:28:01] local.INFO: Packet analysis {"connection_id":127593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f0"} 
[2026-07-08 14:28:01] local.INFO: Extracted packet for processing {"connection_id":127593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f0"} 
[2026-07-08 14:28:01] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576156416001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:28: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-07-08 14:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783500912000,"timestamp_ms":1783500912000,"timestamp_seconds":1783500912,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f03580"} 
[2026-07-08 14:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:28:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:28:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127593,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127593,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576156416001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576156416001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:28:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576156416001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:28:01] local.INFO: TCP Data received {"connection_id":125469,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:28:01] local.INFO: Processing buffer {"connection_id":125469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:28:01] local.INFO: IMEI packet received {"connection_id":125469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":125469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:28:01] local.INFO: TCP Data received {"connection_id":125588,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:28:01] local.INFO: Processing buffer {"connection_id":125588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:28:01] local.INFO: IMEI packet received {"connection_id":125588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":125588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":127593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451645,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:28:01] local.INFO: GPS data processed {"connection_id":127593,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:28:01] local.INFO: Acknowledgment sent {"connection_id":127593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:28:03] local.INFO: TCP Data received {"connection_id":125469,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f16a18012cd0acc00742a350001201332e..."} 
[2026-07-08 14:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f16a18012cd0acc00742a350001201332e..."} 
[2026-07-08 14:28:03] local.INFO: Processing buffer {"connection_id":125469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f16a18012cd0acc00742a350001201332e..."} 
[2026-07-08 14:28:03] local.INFO: Packet analysis {"connection_id":125469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f1"} 
[2026-07-08 14:28:03] local.INFO: Extracted packet for processing {"connection_id":125469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f1"} 
[2026-07-08 14:28:03] local.INFO: GPS Element Parsed {"raw_longitude":751873216,"raw_latitude":121807696,"longitude_deg":75.1873216,"latitude_deg":12.1807696,"altitude":18,"angle":307,"satellites":46,"speed":59,"hex_longitude":"2cd0acc0","hex_latitude":"0742a350","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576252160001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133379745520812032,"note":"Value kept but may cause issues"} 
[2026-07-08 14:28:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3402047274831962112,"note":"Value kept but may cause issues"} 
[2026-07-08 14:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783500991000,"timestamp_ms":1783500991000,"timestamp_seconds":1783500991,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f16a18"} 
[2026-07-08 14:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:28: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-07-08 14: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-08 14:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576252160001,"66":28354,"189":206,"2":54016,"24":59,"16":133379745520812032,"44":-3402047274831962112},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,2,24,16,44]} 
[2026-07-08 14:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576252160001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:28:03] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-08 14:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133379745520812032,"km_value":133379745520812.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:28:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3402047274831962112,"description":"Unknown IO ID 44"} 
[2026-07-08 14:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576252160001,"power":28354,"unknown_189":206,"power_alt":54016,"ignition":59,"odometer":null,"unknown_44":-3402047274831962112}} 
[2026-07-08 14:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":125469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451646,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:28:03] local.INFO: GPS data processed {"connection_id":125469,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:28:03] local.INFO: Acknowledgment sent {"connection_id":125469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:28:05] local.INFO: TCP Data received {"connection_id":125589,"ip":"117.225.159.213","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:28:05] local.INFO: Processing buffer {"connection_id":125589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:28:05] local.INFO: IMEI packet received {"connection_id":125589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":125589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:28:06] local.INFO: TCP Data received {"connection_id":125588,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:28:06] local.INFO: Processing buffer {"connection_id":125588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:28:06] local.INFO: IMEI packet received {"connection_id":125588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":125588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:28:07] local.INFO: TCP Data received {"connection_id":125588,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f1eee8012d8ccc00058dcc68000400452d..."} 
[2026-07-08 14:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f1eee8012d8ccc00058dcc68000400452d..."} 
[2026-07-08 14:28:07] local.INFO: Processing buffer {"connection_id":125588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f1eee8012d8ccc00058dcc68000400452d..."} 
[2026-07-08 14:28:07] local.INFO: Packet analysis {"connection_id":125588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f1"} 
[2026-07-08 14:28:07] local.INFO: Extracted packet for processing {"connection_id":125588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f1"} 
[2026-07-08 14:28:07] local.INFO: GPS Element Parsed {"raw_longitude":764201984,"raw_latitude":93178984,"longitude_deg":76.4201984,"latitude_deg":9.3178984,"altitude":4,"angle":69,"satellites":45,"speed":50,"hex_longitude":"2d8ccc00","hex_latitude":"058dcc68","is_valid_coordinates":true} 
[2026-07-08 14:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576260352001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342672681516138496,"note":"Value kept but may cause issues"} 
[2026-07-08 14:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8311181982226728960,"note":"Value kept but may cause issues"} 
[2026-07-08 14:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783501025000,"timestamp_ms":1783501025000,"timestamp_seconds":1783501025,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f1eee8"} 
[2026-07-08 14:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 14:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576260352001,"66":27767,"213":206,"85":14080,"24":50,"16":342672681516138496,"45":-8311181982226728960},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,85,24,16,45]} 
[2026-07-08 14:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576260352001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:28:07] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-07-08 14:28:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342672681516138496,"km_value":342672681516138.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8311181982226728960,"description":"Unknown IO ID 45"} 
[2026-07-08 14:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576260352001,"power":27767,"unknown_213":206,"unknown_85":14080,"ignition":50,"odometer":null,"unknown_45":-8311181982226728960}} 
[2026-07-08 14:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":125588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:28:07] local.INFO: GPS data processed {"connection_id":125588,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:28:07] local.INFO: Acknowledgment sent {"connection_id":125588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:28:07] local.INFO: TCP Data received {"connection_id":125589,"ip":"117.225.159.213","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f0be38012d18d34007210e080042009126..."} 
[2026-07-08 14:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f0be38012d18d34007210e080042009126..."} 
[2026-07-08 14:28:07] local.INFO: Processing buffer {"connection_id":125589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f0be38012d18d34007210e080042009126..."} 
[2026-07-08 14:28:07] local.INFO: Packet analysis {"connection_id":125589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f0"} 
[2026-07-08 14:28:07] local.INFO: Extracted packet for processing {"connection_id":125589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f0"} 
[2026-07-08 14:28:07] local.INFO: GPS Element Parsed {"raw_longitude":756601664,"raw_latitude":119606792,"longitude_deg":75.6601664,"latitude_deg":11.9606792,"altitude":66,"angle":145,"satellites":38,"speed":1,"hex_longitude":"2d18d340","hex_latitude":"07210e08","is_valid_coordinates":true} 
[2026-07-08 14:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576238592001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4810749918576640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788421663894892544,"note":"Value kept but may cause issues"} 
[2026-07-08 14:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783500947000,"timestamp_ms":1783500947000,"timestamp_seconds":1783500947,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f0be38"} 
[2026-07-08 14:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 14:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.159.213","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576238592001,"66":14080,"121":206,"28":31744,"24":1,"16":4810749918576640,"45":1788421663894892544},"client_ip":"117.225.159.213","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576238592001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:28:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:28:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4810749918576640,"km_value":4810749918576.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788421663894892544,"description":"Unknown IO ID 45"} 
[2026-07-08 14:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576238592001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1788421663894892544}} 
[2026-07-08 14:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":125589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:28:07] local.INFO: GPS data processed {"connection_id":125589,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:28:07] local.INFO: Acknowledgment sent {"connection_id":125589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:28:34] local.INFO: TCP Data received {"connection_id":125469,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f18570012cd08c000742bbe8001101322d..."} 
[2026-07-08 14:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f18570012cd08c000742bbe8001101322d..."} 
[2026-07-08 14:28:34] local.INFO: Processing buffer {"connection_id":125469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f18570012cd08c000742bbe8001101322d..."} 
[2026-07-08 14:28:34] local.INFO: Packet analysis {"connection_id":125469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f1"} 
[2026-07-08 14:28:34] local.INFO: Extracted packet for processing {"connection_id":125469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f1"} 
[2026-07-08 14:28:34] local.INFO: GPS Element Parsed {"raw_longitude":751864832,"raw_latitude":121813992,"longitude_deg":75.1864832,"latitude_deg":12.1813992,"altitude":17,"angle":306,"satellites":45,"speed":59,"hex_longitude":"2cd08c00","hex_latitude":"0742bbe8","is_valid_coordinates":true} 
[2026-07-08 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-07-08 14:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576253696001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133380248031985664,"note":"Value kept but may cause issues"} 
[2026-07-08 14:28:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3410139680411004928,"note":"Value kept but may cause issues"} 
[2026-07-08 14:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783500998000,"timestamp_ms":1783500998000,"timestamp_seconds":1783500998,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f18570"} 
[2026-07-08 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-07-08 14:28: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-07-08 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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-08 14:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 14:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576253696001,"66":28376,"189":206,"2":54016,"24":59,"16":133380248031985664,"44":-3410139680411004928},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,2,24,16,44]} 
[2026-07-08 14:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576253696001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:28:34] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-08 14:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133380248031985664,"km_value":133380248031985.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:28:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3410139680411004928,"description":"Unknown IO ID 44"} 
[2026-07-08 14:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576253696001,"power":28376,"unknown_189":206,"power_alt":54016,"ignition":59,"odometer":null,"unknown_44":-3410139680411004928}} 
[2026-07-08 14:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":125469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451649,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:28:34] local.INFO: GPS data processed {"connection_id":125469,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:28:34] local.INFO: Acknowledgment sent {"connection_id":125469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:28:38] local.INFO: TCP Data received {"connection_id":125588,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f20a40012d8ceec0058dd8c8000400472d..."} 
[2026-07-08 14:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f20a40012d8ceec0058dd8c8000400472d..."} 
[2026-07-08 14:28:38] local.INFO: Processing buffer {"connection_id":125588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f20a40012d8ceec0058dd8c8000400472d..."} 
[2026-07-08 14:28:38] local.INFO: Packet analysis {"connection_id":125588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f2"} 
[2026-07-08 14:28:38] local.INFO: Extracted packet for processing {"connection_id":125588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f2"} 
[2026-07-08 14:28:38] local.INFO: GPS Element Parsed {"raw_longitude":764210880,"raw_latitude":93182152,"longitude_deg":76.421088,"latitude_deg":9.3182152,"altitude":4,"angle":71,"satellites":45,"speed":55,"hex_longitude":"2d8ceec0","hex_latitude":"058dd8c8","is_valid_coordinates":true} 
[2026-07-08 14:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576262400001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342673136782671872,"note":"Value kept but may cause issues"} 
[2026-07-08 14:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8301259989296846848,"note":"Value kept but may cause issues"} 
[2026-07-08 14:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783501032000,"timestamp_ms":1783501032000,"timestamp_seconds":1783501032,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f20a40"} 
[2026-07-08 14:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 14:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576262400001,"66":27876,"213":206,"85":14080,"24":55,"16":342673136782671872,"45":-8301259989296846848},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,85,24,16,45]} 
[2026-07-08 14:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576262400001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:28:38] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-07-08 14:28:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342673136782671872,"km_value":342673136782671.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8301259989296846848,"description":"Unknown IO ID 45"} 
[2026-07-08 14:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576262400001,"power":27876,"unknown_213":206,"unknown_85":14080,"ignition":55,"odometer":null,"unknown_45":-8301259989296846848}} 
[2026-07-08 14:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":125588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:28:38] local.INFO: GPS data processed {"connection_id":125588,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:28:38] local.INFO: Acknowledgment sent {"connection_id":125588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:28:39] local.INFO: TCP Data received {"connection_id":125589,"ip":"117.225.159.213","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f11040012d18d34007210de80042009126..."} 
[2026-07-08 14:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f11040012d18d34007210de80042009126..."} 
[2026-07-08 14:28:39] local.INFO: Processing buffer {"connection_id":125589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f11040012d18d34007210de80042009126..."} 
[2026-07-08 14:28:39] local.INFO: Packet analysis {"connection_id":125589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f1"} 
[2026-07-08 14:28:39] local.INFO: Extracted packet for processing {"connection_id":125589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f1"} 
[2026-07-08 14:28:39] local.INFO: GPS Element Parsed {"raw_longitude":756601664,"raw_latitude":119606760,"longitude_deg":75.6601664,"latitude_deg":11.960676,"altitude":66,"angle":145,"satellites":38,"speed":0,"hex_longitude":"2d18d340","hex_latitude":"07210de8","is_valid_coordinates":true} 
[2026-07-08 14:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576242432001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4810754213543936,"note":"Value kept but may cause issues"} 
[2026-07-08 14:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788843876359735296,"note":"Value kept but may cause issues"} 
[2026-07-08 14:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783500968000,"timestamp_ms":1783500968000,"timestamp_seconds":1783500968,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f11040"} 
[2026-07-08 14:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:28: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-07-08 14: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-08 14:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-07-08 14:28:39] local.WARNING: Large IO value detected {"io_id":64,"raw_value":4034134017,"note":"Value kept but may cause issues"} 
[2026-07-08 14:28:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-08 14:28:39] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3758173464,"note":"Value kept but may cause issues"} 
[2026-07-08 14:28:39] local.WARNING: Large IO value detected {"io_id":172,"raw_value":2147950868,"note":"Value kept but may cause issues"} 
[2026-07-08 14:28:39] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,23,159,131,45,192,17,66,36,10,127,64,18,35,123,1,240,33,4,113,205,37,172,248,239,55,2,7,67],"length":479,"final_offset":609,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-08 14:28:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755960798898094080,"timestamp_seconds":4755960798898094.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 14:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.159.213","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576242432001,"66":14135,"121":206,"28":31744,"24":0,"16":4810754213543936,"45":1788843876359735296},"client_ip":"117.225.159.213","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576242432001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:28:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:28:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4810754213543936,"km_value":4810754213543.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788843876359735296,"description":"Unknown IO ID 45"} 
[2026-07-08 14:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576242432001,"power":14135,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788843876359735296}} 
[2026-07-08 14:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":125589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:28:40] local.INFO: GPS data processed {"connection_id":125589,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:28:40] local.INFO: Acknowledgment sent {"connection_id":125589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:28:44] local.INFO: TCP Data received {"connection_id":127594,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127594,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:28:44] local.INFO: Processing buffer {"connection_id":127594,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:28:44] local.INFO: IMEI packet received {"connection_id":127594,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":127594,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:28:49] local.INFO: TCP Data received {"connection_id":127594,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127594,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:28:49] local.INFO: Processing buffer {"connection_id":127594,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:28:49] local.INFO: IMEI packet received {"connection_id":127594,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":127594,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:28:50] local.INFO: TCP Data received {"connection_id":127594,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f03580012d0b130007029fc00005013422..."} 
[2026-07-08 14:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f03580012d0b130007029fc00005013422..."} 
[2026-07-08 14:28:50] local.INFO: Processing buffer {"connection_id":127594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f03580012d0b130007029fc00005013422..."} 
[2026-07-08 14:28:50] local.INFO: Packet analysis {"connection_id":127594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f0"} 
[2026-07-08 14:28:50] local.INFO: Extracted packet for processing {"connection_id":127594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f0"} 
[2026-07-08 14:28:50] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576156416001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783500912000,"timestamp_ms":1783500912000,"timestamp_seconds":1783500912,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f03580"} 
[2026-07-08 14:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:28:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":127594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":127594,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":127594,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576156416001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576156416001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:28:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:28:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576156416001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":127594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451652,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:28:51] local.INFO: GPS data processed {"connection_id":127594,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:28:51] local.INFO: Acknowledgment sent {"connection_id":127594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:28:55] local.INFO: TCP Data received {"connection_id":127594,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f03580012d0b130007029fc00005013422..."} 
[2026-07-08 14:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f03580012d0b130007029fc00005013422..."} 
[2026-07-08 14:28:55] local.INFO: Processing buffer {"connection_id":127594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f03580012d0b130007029fc00005013422..."} 
[2026-07-08 14:28:55] local.INFO: Packet analysis {"connection_id":127594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f0"} 
[2026-07-08 14:28:55] local.INFO: Extracted packet for processing {"connection_id":127594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f0"} 
[2026-07-08 14:28:55] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576156416001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783500912000,"timestamp_ms":1783500912000,"timestamp_seconds":1783500912,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f03580"} 
[2026-07-08 14:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:28:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":127594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":127594,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":127594,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576156416001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576156416001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:28:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576156416001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":127594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451653,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:28:55] local.INFO: GPS data processed {"connection_id":127594,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:28:55] local.INFO: Acknowledgment sent {"connection_id":127594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:28:56] local.INFO: TCP Data received {"connection_id":127595,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:28:56] local.INFO: Processing buffer {"connection_id":127595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:28:56] local.INFO: IMEI packet received {"connection_id":127595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":127595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:28:56] local.INFO: TCP Data received {"connection_id":125470,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125470,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:28:56] local.INFO: Processing buffer {"connection_id":125470,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:28:56] local.INFO: IMEI packet received {"connection_id":125470,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 14:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":125470,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:28:59] local.INFO: TCP Data received {"connection_id":127595,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:28:59] local.INFO: Processing buffer {"connection_id":127595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:28:59] local.INFO: IMEI packet received {"connection_id":127595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":127595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:28:59] local.INFO: TCP Data received {"connection_id":127595,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f22598012d8d0f40058de148000400572e..."} 
[2026-07-08 14:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f22598012d8d0f40058de148000400572e..."} 
[2026-07-08 14:28:59] local.INFO: Processing buffer {"connection_id":127595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f22598012d8d0f40058de148000400572e..."} 
[2026-07-08 14:28:59] local.INFO: Packet analysis {"connection_id":127595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f2"} 
[2026-07-08 14:28:59] local.INFO: Extracted packet for processing {"connection_id":127595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f2"} 
[2026-07-08 14:28:59] local.INFO: GPS Element Parsed {"raw_longitude":764219200,"raw_latitude":93184328,"longitude_deg":76.42192,"latitude_deg":9.3184328,"altitude":4,"angle":87,"satellites":46,"speed":37,"hex_longitude":"2d8d0f40","hex_latitude":"058de148","is_valid_coordinates":true} 
[2026-07-08 14:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576264192001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342673549099532288,"note":"Value kept but may cause issues"} 
[2026-07-08 14:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8291478733855340544,"note":"Value kept but may cause issues"} 
[2026-07-08 14:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783501039000,"timestamp_ms":1783501039000,"timestamp_seconds":1783501039,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f22598"} 
[2026-07-08 14:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:28: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-07-08 14:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 14:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":127595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":127595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":127595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576264192001,"66":27832,"211":206,"85":14080,"24":37,"16":342673549099532288,"45":-8291478733855340544},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,85,24,16,45]} 
[2026-07-08 14:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576264192001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:28:59] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-07-08 14:28:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342673549099532288,"km_value":342673549099532.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8291478733855340544,"description":"Unknown IO ID 45"} 
[2026-07-08 14:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576264192001,"power":27832,"unknown_211":206,"unknown_85":14080,"ignition":37,"odometer":null,"unknown_45":-8291478733855340544}} 
[2026-07-08 14:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":127595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:28:59] local.INFO: GPS data processed {"connection_id":127595,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:28:59] local.INFO: Acknowledgment sent {"connection_id":127595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:29:01] local.INFO: TCP Data received {"connection_id":125470,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125470,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:29:01] local.INFO: Processing buffer {"connection_id":125470,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:29:01] local.INFO: IMEI packet received {"connection_id":125470,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":125470,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:29:02] local.INFO: TCP Data received {"connection_id":125470,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f2a298012ccf41400743c4d0000d01452e..."} 
[2026-07-08 14:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f2a298012ccf41400743c4d0000d01452e..."} 
[2026-07-08 14:29:02] local.INFO: Processing buffer {"connection_id":125470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f2a298012ccf41400743c4d0000d01452e..."} 
[2026-07-08 14:29:02] local.INFO: Packet analysis {"connection_id":125470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f2"} 
[2026-07-08 14:29:02] local.INFO: Extracted packet for processing {"connection_id":125470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f2"} 
[2026-07-08 14:29:02] local.INFO: GPS Element Parsed {"raw_longitude":751780160,"raw_latitude":121881808,"longitude_deg":75.178016,"latitude_deg":12.1881808,"altitude":13,"angle":325,"satellites":46,"speed":59,"hex_longitude":"2ccf4140","hex_latitude":"0743c4d0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 14:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576272384001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133385479302152192,"note":"Value kept but may cause issues"} 
[2026-07-08 14:29:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3505981909964208128,"note":"Value kept but may cause issues"} 
[2026-07-08 14:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783501071000,"timestamp_ms":1783501071000,"timestamp_seconds":1783501071,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f2a298"} 
[2026-07-08 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-07-08 14:29: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-07-08 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":111,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 14:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":780,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 14:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125470,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125470,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576272384001,"66":28452,"189":206,"2":54016,"24":59,"16":133385479302152192,"44":-3505981909964208128},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,2,24,16,44]} 
[2026-07-08 14:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576272384001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:29:02] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-08 14:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133385479302152192,"km_value":133385479302152.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:29:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3505981909964208128,"description":"Unknown IO ID 44"} 
[2026-07-08 14:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576272384001,"power":28452,"unknown_189":206,"power_alt":54016,"ignition":59,"odometer":null,"unknown_44":-3505981909964208128}} 
[2026-07-08 14:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":125470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451655,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:29:03] local.INFO: GPS data processed {"connection_id":125470,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:29:03] local.INFO: Acknowledgment sent {"connection_id":125470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:29:05] local.INFO: TCP Data received {"connection_id":125590,"ip":"117.225.159.213","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:29:05] local.INFO: Processing buffer {"connection_id":125590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:29:05] local.INFO: IMEI packet received {"connection_id":125590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":125590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:29:10] local.INFO: TCP Data received {"connection_id":125590,"ip":"117.225.159.213","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:29:10] local.INFO: Processing buffer {"connection_id":125590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:29:10] local.INFO: IMEI packet received {"connection_id":125590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":125590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:29:12] local.INFO: TCP Data received {"connection_id":125590,"ip":"117.225.159.213","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f31f98012d1910400720c7780039007c24..."} 
[2026-07-08 14:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f31f98012d1910400720c7780039007c24..."} 
[2026-07-08 14:29:12] local.INFO: Processing buffer {"connection_id":125590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f31f98012d1910400720c7780039007c24..."} 
[2026-07-08 14:29:12] local.INFO: Packet analysis {"connection_id":125590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f3"} 
[2026-07-08 14:29:12] local.INFO: Extracted packet for processing {"connection_id":125590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f3"} 
[2026-07-08 14:29:12] local.INFO: GPS Element Parsed {"raw_longitude":756617280,"raw_latitude":119588728,"longitude_deg":75.661728,"latitude_deg":11.9588728,"altitude":57,"angle":124,"satellites":36,"speed":6,"hex_longitude":"2d191040","hex_latitude":"0720c778","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576276992001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4811939624517632,"note":"Value kept but may cause issues"} 
[2026-07-08 14:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805591637469433856,"note":"Value kept but may cause issues"} 
[2026-07-08 14:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783501103000,"timestamp_ms":1783501103000,"timestamp_seconds":1783501103,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f31f98"} 
[2026-07-08 14:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:29: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-07-08 14: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-07-08 14: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-07-08 14: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-07-08 14:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.159.213","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576276992001,"66":14080,"121":206,"28":31744,"24":6,"16":4811939624517632,"45":1805591637469433856},"client_ip":"117.225.159.213","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576276992001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:29:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:29:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4811939624517632,"km_value":4811939624517.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805591637469433856,"description":"Unknown IO ID 45"} 
[2026-07-08 14:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576276992001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1805591637469433856}} 
[2026-07-08 14:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":125590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:29:12] local.INFO: GPS data processed {"connection_id":125590,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:29:12] local.INFO: Acknowledgment sent {"connection_id":125590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:29:28] local.INFO: TCP Data received {"connection_id":127594,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f03580012d0b130007029fc00005013422..."} 
[2026-07-08 14:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f03580012d0b130007029fc00005013422..."} 
[2026-07-08 14:29:28] local.INFO: Processing buffer {"connection_id":127594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f03580012d0b130007029fc00005013422..."} 
[2026-07-08 14:29:28] local.INFO: Packet analysis {"connection_id":127594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f0"} 
[2026-07-08 14:29:28] local.INFO: Extracted packet for processing {"connection_id":127594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f0"} 
[2026-07-08 14:29:28] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576156416001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783500912000,"timestamp_ms":1783500912000,"timestamp_seconds":1783500912,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f03580"} 
[2026-07-08 14:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:29:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:29:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":127594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":127594,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":127594,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576156416001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576156416001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:29:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576156416001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":127594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451657,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:29:28] local.INFO: GPS data processed {"connection_id":127594,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:29:28] local.INFO: Acknowledgment sent {"connection_id":127594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:29:30] local.INFO: TCP Data received {"connection_id":127595,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f35e18012d8e2640058d2330000500962c..."} 
[2026-07-08 14:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f35e18012d8e2640058d2330000500962c..."} 
[2026-07-08 14:29:30] local.INFO: Processing buffer {"connection_id":127595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f35e18012d8e2640058d2330000500962c..."} 
[2026-07-08 14:29:30] local.INFO: Packet analysis {"connection_id":127595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f3"} 
[2026-07-08 14:29:30] local.INFO: Extracted packet for processing {"connection_id":127595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f3"} 
[2026-07-08 14:29:30] local.INFO: GPS Element Parsed {"raw_longitude":764290624,"raw_latitude":93135664,"longitude_deg":76.4290624,"latitude_deg":9.3135664,"altitude":5,"angle":150,"satellites":44,"speed":59,"hex_longitude":"2d8e2640","hex_latitude":"058d2330","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576284928001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342678333693100032,"note":"Value kept but may cause issues"} 
[2026-07-08 14:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8208654721968136192,"note":"Value kept but may cause issues"} 
[2026-07-08 14:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783501119000,"timestamp_ms":1783501119000,"timestamp_seconds":1783501119,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f35e18"} 
[2026-07-08 14:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 14:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":127595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":127595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":127595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576284928001,"66":27908,"18":206,"85":14080,"24":59,"16":342678333693100032,"45":-8208654721968136192},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-07-08 14:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576284928001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:29:30] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-08 14:29:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342678333693100032,"km_value":342678333693100.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8208654721968136192,"description":"Unknown IO ID 45"} 
[2026-07-08 14:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576284928001,"power":27908,"unknown_18":206,"unknown_85":14080,"ignition":59,"odometer":null,"unknown_45":-8208654721968136192}} 
[2026-07-08 14:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":127595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:29:30] local.INFO: GPS data processed {"connection_id":127595,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:29:30] local.INFO: Acknowledgment sent {"connection_id":127595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:29:34] local.INFO: TCP Data received {"connection_id":125470,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f2ba08012ccf2d400743e1c0000d01462d..."} 
[2026-07-08 14:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f2ba08012ccf2d400743e1c0000d01462d..."} 
[2026-07-08 14:29:34] local.INFO: Processing buffer {"connection_id":125470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f2ba08012ccf2d400743e1c0000d01462d..."} 
[2026-07-08 14:29:34] local.INFO: Packet analysis {"connection_id":125470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f2"} 
[2026-07-08 14:29:34] local.INFO: Extracted packet for processing {"connection_id":125470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f2"} 
[2026-07-08 14:29:34] local.INFO: GPS Element Parsed {"raw_longitude":751775040,"raw_latitude":121889216,"longitude_deg":75.177504,"latitude_deg":12.1889216,"altitude":13,"angle":326,"satellites":45,"speed":59,"hex_longitude":"2ccf2d40","hex_latitude":"0743e1c0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576274176001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133385913093849088,"note":"Value kept but may cause issues"} 
[2026-07-08 14:29:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3512455834426355712,"note":"Value kept but may cause issues"} 
[2026-07-08 14:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783501077000,"timestamp_ms":1783501077000,"timestamp_seconds":1783501077,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f2ba08"} 
[2026-07-08 14:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14: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-07-08 14: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 14:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125470,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125470,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576274176001,"66":28430,"189":206,"2":54016,"24":59,"16":133385913093849088,"44":-3512455834426355712},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,2,24,16,44]} 
[2026-07-08 14:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576274176001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:29:34] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-08 14:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133385913093849088,"km_value":133385913093849.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:29:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3512455834426355712,"description":"Unknown IO ID 44"} 
[2026-07-08 14:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576274176001,"power":28430,"unknown_189":206,"power_alt":54016,"ignition":59,"odometer":null,"unknown_44":-3512455834426355712}} 
[2026-07-08 14:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":125470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451659,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:29:34] local.INFO: GPS data processed {"connection_id":125470,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:29:34] local.INFO: Acknowledgment sent {"connection_id":125470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:29:44] local.INFO: TCP Data received {"connection_id":125471,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125471,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:29:44] local.INFO: Processing buffer {"connection_id":125471,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:29:44] local.INFO: IMEI packet received {"connection_id":125471,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":125471,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:29:46] local.INFO: TCP Data received {"connection_id":125590,"ip":"117.225.159.213","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f31f98012d1910400720c7780039007c24..."} 
[2026-07-08 14:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f31f98012d1910400720c7780039007c24..."} 
[2026-07-08 14:29:46] local.INFO: Processing buffer {"connection_id":125590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f31f98012d1910400720c7780039007c24..."} 
[2026-07-08 14:29:46] local.INFO: Packet analysis {"connection_id":125590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f3"} 
[2026-07-08 14:29:46] local.INFO: Extracted packet for processing {"connection_id":125590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f3"} 
[2026-07-08 14:29:46] local.INFO: GPS Element Parsed {"raw_longitude":756617280,"raw_latitude":119588728,"longitude_deg":75.661728,"latitude_deg":11.9588728,"altitude":57,"angle":124,"satellites":36,"speed":6,"hex_longitude":"2d191040","hex_latitude":"0720c778","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576282368001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4811939624517632,"note":"Value kept but may cause issues"} 
[2026-07-08 14:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1806013849934460928,"note":"Value kept but may cause issues"} 
[2026-07-08 14:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783501103000,"timestamp_ms":1783501103000,"timestamp_seconds":1783501103,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f31f98"} 
[2026-07-08 14:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:29: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-07-08 14: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-08 14:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-07-08 14:29:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-08 14:29:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4096,"corrected_to":0} 
[2026-07-08 14:29:46] local.WARNING: Large IO value detected {"io_id":64,"raw_value":4068438017,"note":"Value kept but may cause issues"} 
[2026-07-08 14:29:46] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-07-08 14:29:46] local.WARNING: Large IO value detected {"io_id":219,"raw_value":3221692667,"note":"Value kept but may cause issues"} 
[2026-07-08 14:29:46] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,159,205,45,192,200,57,34,10,66,182,64,62,37,128,1,240,224,32,4,113,111,219,38,239,55,2,17,7,68,29],"length":479,"final_offset":609,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0},{"io_id":200,"original":4096,"validated":0}]} 
[2026-07-08 14:29:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107419354222952448,"timestamp_seconds":4107419354222952.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 14:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":125590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":125590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":125590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.159.213","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576282368001,"66":14080,"121":206,"28":31744,"24":6,"16":4811939624517632,"45":1806013849934460928},"client_ip":"117.225.159.213","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576282368001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:29:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:29:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4811939624517632,"km_value":4811939624517.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1806013849934460928,"description":"Unknown IO ID 45"} 
[2026-07-08 14:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576282368001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1806013849934460928}} 
[2026-07-08 14:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":125590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:29:46] local.INFO: GPS data processed {"connection_id":125590,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:29:46] local.INFO: Acknowledgment sent {"connection_id":125590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:29:50] local.INFO: TCP Data received {"connection_id":125471,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125471,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:29:50] local.INFO: Processing buffer {"connection_id":125471,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:29:50] local.INFO: IMEI packet received {"connection_id":125471,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":125471,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:29:50] local.INFO: TCP Data received {"connection_id":125471,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f03580012d0b130007029fc00005013422..."} 
[2026-07-08 14:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f03580012d0b130007029fc00005013422..."} 
[2026-07-08 14:29:50] local.INFO: Processing buffer {"connection_id":125471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f03580012d0b130007029fc00005013422..."} 
[2026-07-08 14:29:50] local.INFO: Packet analysis {"connection_id":125471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f0"} 
[2026-07-08 14:29:50] local.INFO: Extracted packet for processing {"connection_id":125471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f0"} 
[2026-07-08 14:29:50] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576156416001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783500912000,"timestamp_ms":1783500912000,"timestamp_seconds":1783500912,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f03580"} 
[2026-07-08 14:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:29:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:29:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":125471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":125471,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":125471,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576156416001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576156416001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:29:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576156416001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":125471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451661,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:29:51] local.INFO: GPS data processed {"connection_id":125471,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:29:51] local.INFO: Acknowledgment sent {"connection_id":125471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:29:56] local.INFO: TCP Data received {"connection_id":125591,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:29:56] local.INFO: Processing buffer {"connection_id":125591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:29:56] local.INFO: IMEI packet received {"connection_id":125591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":125591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:29:56] local.INFO: TCP Data received {"connection_id":125592,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125592,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:29:56] local.INFO: Processing buffer {"connection_id":125592,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:29:56] local.INFO: IMEI packet received {"connection_id":125592,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 14:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":125592,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:29:57] local.INFO: TCP Data received {"connection_id":125591,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:29:57] local.INFO: Processing buffer {"connection_id":125591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:29:57] local.INFO: IMEI packet received {"connection_id":125591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":125591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:30:01] local.INFO: TCP Data received {"connection_id":125591,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:30:01] local.INFO: Processing buffer {"connection_id":125591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:30:01] local.INFO: IMEI packet received {"connection_id":125591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":125591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:30:01] local.INFO: TCP Data received {"connection_id":126354,"ip":"117.225.159.213","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:30:01] local.INFO: Processing buffer {"connection_id":126354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:30:01] local.INFO: IMEI packet received {"connection_id":126354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":126354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:30:02] local.INFO: TCP Data received {"connection_id":125592,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125592,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:30:02] local.INFO: Processing buffer {"connection_id":125592,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:30:02] local.INFO: IMEI packet received {"connection_id":125592,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":125592,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:30:02] local.INFO: TCP Data received {"connection_id":125591,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f37588012d8e3740058d0490000500972d..."} 
[2026-07-08 14:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f37588012d8e3740058d0490000500972d..."} 
[2026-07-08 14:30:02] local.INFO: Processing buffer {"connection_id":125591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f37588012d8e3740058d0490000500972d..."} 
[2026-07-08 14:30:02] local.INFO: Packet analysis {"connection_id":125591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f3"} 
[2026-07-08 14:30:02] local.INFO: Extracted packet for processing {"connection_id":125591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f3"} 
[2026-07-08 14:30:02] local.INFO: GPS Element Parsed {"raw_longitude":764294976,"raw_latitude":93127824,"longitude_deg":76.4294976,"latitude_deg":9.3127824,"altitude":5,"angle":151,"satellites":45,"speed":59,"hex_longitude":"2d8e3740","hex_latitude":"058d0490","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576286464001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342678767484796928,"note":"Value kept but may cause issues"} 
[2026-07-08 14:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8203799278621872128,"note":"Value kept but may cause issues"} 
[2026-07-08 14:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783501125000,"timestamp_ms":1783501125000,"timestamp_seconds":1783501125,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f37588"} 
[2026-07-08 14:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 14:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576286464001,"66":27908,"18":206,"85":14080,"24":59,"16":342678767484796928,"45":-8203799278621872128},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-07-08 14:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576286464001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:30:02] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-08 14:30:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342678767484796928,"km_value":342678767484796.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8203799278621872128,"description":"Unknown IO ID 45"} 
[2026-07-08 14:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576286464001,"power":27908,"unknown_18":206,"unknown_85":14080,"ignition":59,"odometer":null,"unknown_45":-8203799278621872128}} 
[2026-07-08 14:30:02] local.INFO: TCP Data received {"connection_id":126354,"ip":"117.225.159.213","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:30:02] local.INFO: Processing buffer {"connection_id":126354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:30:02] local.INFO: IMEI packet received {"connection_id":126354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":126354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":125591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:30:02] local.INFO: GPS data processed {"connection_id":125591,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:30:02] local.INFO: Acknowledgment sent {"connection_id":125591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:30:04] local.INFO: TCP Data received {"connection_id":125592,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f2d178012ccf17c00743fd90000c013b2e..."} 
[2026-07-08 14:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f2d178012ccf17c00743fd90000c013b2e..."} 
[2026-07-08 14:30:04] local.INFO: Processing buffer {"connection_id":125592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f2d178012ccf17c00743fd90000c013b2e..."} 
[2026-07-08 14:30:04] local.INFO: Packet analysis {"connection_id":125592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f2"} 
[2026-07-08 14:30:04] local.INFO: Extracted packet for processing {"connection_id":125592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f2"} 
[2026-07-08 14:30:04] local.INFO: GPS Element Parsed {"raw_longitude":751769536,"raw_latitude":121896336,"longitude_deg":75.1769536,"latitude_deg":12.1896336,"altitude":12,"angle":315,"satellites":46,"speed":59,"hex_longitude":"2ccf17c0","hex_latitude":"0743fd90","is_valid_coordinates":true} 
[2026-07-08 14:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576275712001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133386346885545984,"note":"Value kept but may cause issues"} 
[2026-07-08 14:30:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3518085333958672384,"note":"Value kept but may cause issues"} 
[2026-07-08 14:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783501083000,"timestamp_ms":1783501083000,"timestamp_seconds":1783501083,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f2d178"} 
[2026-07-08 14:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:30: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-07-08 14:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-08 14:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125592,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125592,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576275712001,"66":28430,"189":206,"2":54016,"24":59,"16":133386346885545984,"44":-3518085333958672384},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,2,24,16,44]} 
[2026-07-08 14:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576275712001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:30:04] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-08 14:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133386346885545984,"km_value":133386346885545.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:30:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3518085333958672384,"description":"Unknown IO ID 44"} 
[2026-07-08 14:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576275712001,"power":28430,"unknown_189":206,"power_alt":54016,"ignition":59,"odometer":null,"unknown_44":-3518085333958672384}} 
[2026-07-08 14:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":125592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451663,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:30:04] local.INFO: GPS data processed {"connection_id":125592,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:30:04] local.INFO: Acknowledgment sent {"connection_id":125592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:30:05] local.INFO: TCP Data received {"connection_id":126354,"ip":"117.225.159.213","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:30:05] local.INFO: Processing buffer {"connection_id":126354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:30:05] local.INFO: IMEI packet received {"connection_id":126354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":126354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:30:10] local.INFO: TCP Data received {"connection_id":126354,"ip":"117.225.159.213","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:30:10] local.INFO: Processing buffer {"connection_id":126354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:30:10] local.INFO: IMEI packet received {"connection_id":126354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":126354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:30:12] local.INFO: TCP Data received {"connection_id":126354,"ip":"117.225.159.213","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f32b50012d1913800720c5e80038007124..."} 
[2026-07-08 14:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f32b50012d1913800720c5e80038007124..."} 
[2026-07-08 14:30:12] local.INFO: Processing buffer {"connection_id":126354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f32b50012d1913800720c5e80038007124..."} 
[2026-07-08 14:30:12] local.INFO: Packet analysis {"connection_id":126354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f3"} 
[2026-07-08 14:30:12] local.INFO: Extracted packet for processing {"connection_id":126354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f3"} 
[2026-07-08 14:30:12] local.INFO: GPS Element Parsed {"raw_longitude":756618112,"raw_latitude":119588328,"longitude_deg":75.6618112,"latitude_deg":11.9588328,"altitude":56,"angle":113,"satellites":36,"speed":15,"hex_longitude":"2d191380","hex_latitude":"0720c5e8","is_valid_coordinates":true} 
[2026-07-08 14:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576282368001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4811982574190592,"note":"Value kept but may cause issues"} 
[2026-07-08 14:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1806013849934460928,"note":"Value kept but may cause issues"} 
[2026-07-08 14:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783501106000,"timestamp_ms":1783501106000,"timestamp_seconds":1783501106,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f32b50"} 
[2026-07-08 14:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:30: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-07-08 14: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-08 14:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-07-08 14:30:12] local.WARNING: Large IO value detected {"io_id":64,"raw_value":4070486017,"note":"Value kept but may cause issues"} 
[2026-07-08 14:30:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-08 14:30:12] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4096,"corrected_to":0} 
[2026-07-08 14:30:12] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3616538688,"note":"Value kept but may cause issues"} 
[2026-07-08 14:30:12] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,159,31,45,64,199,57,36,10,66,205,192,200,34,182,1,240,223,32,4,113,37,127,230,88,239,55,2,17,7,68],"length":479,"final_offset":609,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0},{"io_id":200,"original":4096,"validated":0}]} 
[2026-07-08 14:30:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107419354222952448,"timestamp_seconds":4107419354222952.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 14:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":126354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":126354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":126354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.159.213","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576282368001,"66":14265,"121":206,"28":31744,"24":15,"16":4811982574190592,"45":1806013849934460928},"client_ip":"117.225.159.213","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576282368001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:30:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:30:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4811982574190592,"km_value":4811982574190.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1806013849934460928,"description":"Unknown IO ID 45"} 
[2026-07-08 14:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576282368001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1806013849934460928}} 
[2026-07-08 14:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":126354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:30:12] local.INFO: GPS data processed {"connection_id":126354,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:30:12] local.INFO: Acknowledgment sent {"connection_id":126354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:30:22] local.INFO: TCP Data received {"connection_id":125471,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f4cd48012d0b130007029fc00005013421..."} 
[2026-07-08 14:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f4cd48012d0b130007029fc00005013421..."} 
[2026-07-08 14:30:22] local.INFO: Processing buffer {"connection_id":125471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f4cd48012d0b130007029fc00005013421..."} 
[2026-07-08 14:30:22] local.INFO: Packet analysis {"connection_id":125471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f4"} 
[2026-07-08 14:30:22] local.INFO: Extracted packet for processing {"connection_id":125471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f4"} 
[2026-07-08 14:30:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576233472001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783501213000,"timestamp_ms":1783501213000,"timestamp_seconds":1783501213,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f4cd48"} 
[2026-07-08 14:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:30:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125471,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125471,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576233472001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576233472001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:30:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576233472001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":125471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451665,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:30:22] local.INFO: GPS data processed {"connection_id":125471,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:30:22] local.INFO: Acknowledgment sent {"connection_id":125471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:30:34] local.INFO: TCP Data received {"connection_id":125591,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f38cf8012d8e4780058ce588000500972d..."} 
[2026-07-08 14:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f38cf8012d8e4780058ce588000500972d..."} 
[2026-07-08 14:30:34] local.INFO: Processing buffer {"connection_id":125591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f38cf8012d8e4780058ce588000500972d..."} 
[2026-07-08 14:30:34] local.INFO: Packet analysis {"connection_id":125591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f3"} 
[2026-07-08 14:30:34] local.INFO: Extracted packet for processing {"connection_id":125591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f3"} 
[2026-07-08 14:30:34] local.INFO: GPS Element Parsed {"raw_longitude":764299136,"raw_latitude":93119880,"longitude_deg":76.4299136,"latitude_deg":9.311988,"altitude":5,"angle":151,"satellites":45,"speed":59,"hex_longitude":"2d8e4780","hex_latitude":"058ce588","is_valid_coordinates":true} 
[2026-07-08 14:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576288000001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342679201276493824,"note":"Value kept but may cause issues"} 
[2026-07-08 14:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8199014204019798016,"note":"Value kept but may cause issues"} 
[2026-07-08 14:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783501131000,"timestamp_ms":1783501131000,"timestamp_seconds":1783501131,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f38cf8"} 
[2026-07-08 14:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 14:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576288000001,"66":27930,"18":206,"85":14080,"24":59,"16":342679201276493824,"45":-8199014204019798016},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-07-08 14:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576288000001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:30:34] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-08 14:30:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342679201276493824,"km_value":342679201276493.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8199014204019798016,"description":"Unknown IO ID 45"} 
[2026-07-08 14:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576288000001,"power":27930,"unknown_18":206,"unknown_85":14080,"ignition":59,"odometer":null,"unknown_45":-8199014204019798016}} 
[2026-07-08 14:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":125591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:30:34] local.INFO: GPS data processed {"connection_id":125591,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:30:34] local.INFO: Acknowledgment sent {"connection_id":125591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:30:35] local.INFO: TCP Data received {"connection_id":125592,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f2e118012ccf05c007440c28000c012d2e..."} 
[2026-07-08 14:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f2e118012ccf05c007440c28000c012d2e..."} 
[2026-07-08 14:30:35] local.INFO: Processing buffer {"connection_id":125592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f2e118012ccf05c007440c28000c012d2e..."} 
[2026-07-08 14:30:35] local.INFO: Packet analysis {"connection_id":125592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f2"} 
[2026-07-08 14:30:35] local.INFO: Extracted packet for processing {"connection_id":125592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f2"} 
[2026-07-08 14:30:35] local.INFO: GPS Element Parsed {"raw_longitude":751764928,"raw_latitude":121900072,"longitude_deg":75.1764928,"latitude_deg":12.1900072,"altitude":12,"angle":301,"satellites":46,"speed":59,"hex_longitude":"2ccf05c0","hex_latitude":"07440c28","is_valid_coordinates":true} 
[2026-07-08 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-07-08 14:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576277248001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133386630353387520,"note":"Value kept but may cause issues"} 
[2026-07-08 14:30:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3524137045956128768,"note":"Value kept but may cause issues"} 
[2026-07-08 14:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783501087000,"timestamp_ms":1783501087000,"timestamp_seconds":1783501087,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f2e118"} 
[2026-07-08 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-07-08 14:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-08 14:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 14:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125592,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125592,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576277248001,"66":28452,"189":206,"2":54016,"24":59,"16":133386630353387520,"44":-3524137045956128768},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,2,24,16,44]} 
[2026-07-08 14:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576277248001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:30:35] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-08 14:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133386630353387520,"km_value":133386630353387.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:30:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3524137045956128768,"description":"Unknown IO ID 44"} 
[2026-07-08 14:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576277248001,"power":28452,"unknown_189":206,"power_alt":54016,"ignition":59,"odometer":null,"unknown_44":-3524137045956128768}} 
[2026-07-08 14:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":125592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451667,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:30:35] local.INFO: GPS data processed {"connection_id":125592,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:30:35] local.INFO: Acknowledgment sent {"connection_id":125592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:30:43] local.INFO: TCP Data received {"connection_id":126354,"ip":"117.225.159.213","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f467b8012d195080072094f80034009624..."} 
[2026-07-08 14:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f467b8012d195080072094f80034009624..."} 
[2026-07-08 14:30:43] local.INFO: Processing buffer {"connection_id":126354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f467b8012d195080072094f80034009624..."} 
[2026-07-08 14:30:43] local.INFO: Packet analysis {"connection_id":126354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f4"} 
[2026-07-08 14:30:43] local.INFO: Extracted packet for processing {"connection_id":126354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f4"} 
[2026-07-08 14:30:43] local.INFO: GPS Element Parsed {"raw_longitude":756633728,"raw_latitude":119575800,"longitude_deg":75.6633728,"latitude_deg":11.95758,"altitude":52,"angle":150,"satellites":36,"speed":9,"hex_longitude":"2d195080","hex_latitude":"072094f8","is_valid_coordinates":true} 
[2026-07-08 14:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576303616001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4813279654313984,"note":"Value kept but may cause issues"} 
[2026-07-08 14:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824028248440690688,"note":"Value kept but may cause issues"} 
[2026-07-08 14:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783501187000,"timestamp_ms":1783501187000,"timestamp_seconds":1783501187,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f467b8"} 
[2026-07-08 14:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:30: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-07-08 14:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-08 14:30:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:30:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":126354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":126354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":126354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.159.213","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576303616001,"66":14189,"121":206,"28":31744,"24":9,"16":4813279654313984,"45":1824028248440690688},"client_ip":"117.225.159.213","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576303616001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:30:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:30:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4813279654313984,"km_value":4813279654313.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824028248440690688,"description":"Unknown IO ID 45"} 
[2026-07-08 14:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576303616001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1824028248440690688}} 
[2026-07-08 14:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":126354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:30:44] local.INFO: GPS data processed {"connection_id":126354,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:30:44] local.INFO: Acknowledgment sent {"connection_id":126354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:30:44] local.INFO: TCP Data received {"connection_id":127596,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127596,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:30:44] local.INFO: Processing buffer {"connection_id":127596,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:30:44] local.INFO: IMEI packet received {"connection_id":127596,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":127596,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:30:50] local.INFO: TCP Data received {"connection_id":127596,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127596,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:30:50] local.INFO: Processing buffer {"connection_id":127596,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:30:50] local.INFO: IMEI packet received {"connection_id":127596,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":127596,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:30:50] local.INFO: TCP Data received {"connection_id":127596,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f4cd48012d0b130007029fc00005013421..."} 
[2026-07-08 14:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f4cd48012d0b130007029fc00005013421..."} 
[2026-07-08 14:30:50] local.INFO: Processing buffer {"connection_id":127596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f4cd48012d0b130007029fc00005013421..."} 
[2026-07-08 14:30:50] local.INFO: Packet analysis {"connection_id":127596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f4"} 
[2026-07-08 14:30:50] local.INFO: Extracted packet for processing {"connection_id":127596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f4"} 
[2026-07-08 14:30:50] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576233472001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:30:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783501213000,"timestamp_ms":1783501213000,"timestamp_seconds":1783501213,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f4cd48"} 
[2026-07-08 14:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:30:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":127596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":127596,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":127596,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:30:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576233472001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576233472001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:30:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:30:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576233472001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":127596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451669,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:30:51] local.INFO: GPS data processed {"connection_id":127596,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:30:51] local.INFO: Acknowledgment sent {"connection_id":127596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:30:56] local.INFO: TCP Data received {"connection_id":125593,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125593,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:30:56] local.INFO: Processing buffer {"connection_id":125593,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:30:56] local.INFO: IMEI packet received {"connection_id":125593,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 14:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":125593,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:30:59] local.INFO: TCP Data received {"connection_id":125593,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125593,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:30:59] local.INFO: Processing buffer {"connection_id":125593,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:30:59] local.INFO: IMEI packet received {"connection_id":125593,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":125593,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:31:00] local.INFO: TCP Data received {"connection_id":125594,"ip":"117.225.159.213","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:31:00] local.INFO: Processing buffer {"connection_id":125594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:31:00] local.INFO: IMEI packet received {"connection_id":125594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":125594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:31:01] local.INFO: TCP Data received {"connection_id":125593,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125593,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:31:01] local.INFO: Processing buffer {"connection_id":125593,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:31:01] local.INFO: IMEI packet received {"connection_id":125593,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":125593,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:31:02] local.INFO: TCP Data received {"connection_id":125593,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f2ecd0012ccef580074413a8000b01212d..."} 
[2026-07-08 14:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f2ecd0012ccef580074413a8000b01212d..."} 
[2026-07-08 14:31:02] local.INFO: Processing buffer {"connection_id":125593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f2ecd0012ccef580074413a8000b01212d..."} 
[2026-07-08 14:31:02] local.INFO: Packet analysis {"connection_id":125593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f2"} 
[2026-07-08 14:31:02] local.INFO: Extracted packet for processing {"connection_id":125593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f2"} 
[2026-07-08 14:31:02] local.INFO: GPS Element Parsed {"raw_longitude":751760768,"raw_latitude":121901992,"longitude_deg":75.1760768,"latitude_deg":12.1901992,"altitude":11,"angle":289,"satellites":45,"speed":59,"hex_longitude":"2ccef580","hex_latitude":"074413a8","is_valid_coordinates":true} 
[2026-07-08 14:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576278272001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133386849396719616,"note":"Value kept but may cause issues"} 
[2026-07-08 14:31:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3529203595535964160,"note":"Value kept but may cause issues"} 
[2026-07-08 14:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783501090000,"timestamp_ms":1783501090000,"timestamp_seconds":1783501090,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f2ecd0"} 
[2026-07-08 14:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:31: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-07-08 14:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 14:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:31:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576278272001,"66":28452,"189":206,"2":54016,"24":59,"16":133386849396719616,"44":-3529203595535964160},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,2,24,16,44]} 
[2026-07-08 14:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576278272001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:31:02] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-08 14:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133386849396719616,"km_value":133386849396719.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:31:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3529203595535964160,"description":"Unknown IO ID 44"} 
[2026-07-08 14:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576278272001,"power":28452,"unknown_189":206,"power_alt":54016,"ignition":59,"odometer":null,"unknown_44":-3529203595535964160}} 
[2026-07-08 14:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":125593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451670,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:31:03] local.INFO: GPS data processed {"connection_id":125593,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:31:03] local.INFO: Acknowledgment sent {"connection_id":125593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:31:05] local.INFO: TCP Data received {"connection_id":125594,"ip":"117.225.159.213","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:31:05] local.INFO: Processing buffer {"connection_id":125594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:31:05] local.INFO: IMEI packet received {"connection_id":125594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":125594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:31:06] local.INFO: TCP Data received {"connection_id":125594,"ip":"117.225.159.213","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f46f88012d1951c0072093b80033007b24..."} 
[2026-07-08 14:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f46f88012d1951c0072093b80033007b24..."} 
[2026-07-08 14:31:06] local.INFO: Processing buffer {"connection_id":125594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f46f88012d1951c0072093b80033007b24..."} 
[2026-07-08 14:31:06] local.INFO: Packet analysis {"connection_id":125594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f4"} 
[2026-07-08 14:31:06] local.INFO: Extracted packet for processing {"connection_id":125594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f4"} 
[2026-07-08 14:31:06] local.INFO: GPS Element Parsed {"raw_longitude":756634048,"raw_latitude":119575480,"longitude_deg":75.6634048,"latitude_deg":11.957548,"altitude":51,"angle":123,"satellites":36,"speed":8,"hex_longitude":"2d1951c0","hex_latitude":"072093b8","is_valid_coordinates":true} 
[2026-07-08 14:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576303872001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4813301129150464,"note":"Value kept but may cause issues"} 
[2026-07-08 14:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824098617184811008,"note":"Value kept but may cause issues"} 
[2026-07-08 14:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783501189000,"timestamp_ms":1783501189000,"timestamp_seconds":1783501189,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f46f88"} 
[2026-07-08 14:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-08 14:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.159.213","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576303872001,"66":13993,"121":206,"28":31744,"24":8,"16":4813301129150464,"45":1824098617184811008},"client_ip":"117.225.159.213","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576303872001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:31:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:31:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4813301129150464,"km_value":4813301129150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824098617184811008,"description":"Unknown IO ID 45"} 
[2026-07-08 14:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576303872001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1824098617184811008}} 
[2026-07-08 14:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":125594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:31:06] local.INFO: GPS data processed {"connection_id":125594,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:31:06] local.INFO: Acknowledgment sent {"connection_id":125594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:31:07] local.INFO: TCP Data received {"connection_id":125595,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:31:07] local.INFO: Processing buffer {"connection_id":125595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:31:07] local.INFO: IMEI packet received {"connection_id":125595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":125595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:31:09] local.INFO: TCP Data received {"connection_id":125595,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:31:09] local.INFO: Processing buffer {"connection_id":125595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:31:09] local.INFO: IMEI packet received {"connection_id":125595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":125595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:31:11] local.INFO: TCP Data received {"connection_id":125595,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f3a468012d8e5900058cc740000500962c..."} 
[2026-07-08 14:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f3a468012d8e5900058cc740000500962c..."} 
[2026-07-08 14:31:11] local.INFO: Processing buffer {"connection_id":125595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f3a468012d8e5900058cc740000500962c..."} 
[2026-07-08 14:31:11] local.INFO: Packet analysis {"connection_id":125595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f3"} 
[2026-07-08 14:31:11] local.INFO: Extracted packet for processing {"connection_id":125595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f3"} 
[2026-07-08 14:31:11] local.INFO: GPS Element Parsed {"raw_longitude":764303616,"raw_latitude":93112128,"longitude_deg":76.4303616,"latitude_deg":9.3112128,"altitude":5,"angle":150,"satellites":44,"speed":57,"hex_longitude":"2d8e5900","hex_latitude":"058cc740","is_valid_coordinates":true} 
[2026-07-08 14:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576289536001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342679630773223424,"note":"Value kept but may cause issues"} 
[2026-07-08 14:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8194440235650283520,"note":"Value kept but may cause issues"} 
[2026-07-08 14:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783501137000,"timestamp_ms":1783501137000,"timestamp_seconds":1783501137,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f3a468"} 
[2026-07-08 14:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-08 14:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576289536001,"66":27821,"18":206,"85":14080,"24":57,"16":342679630773223424,"45":-8194440235650283520},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-07-08 14:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576289536001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:31:11] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-08 14:31:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342679630773223424,"km_value":342679630773223.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8194440235650283520,"description":"Unknown IO ID 45"} 
[2026-07-08 14:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576289536001,"power":27821,"unknown_18":206,"unknown_85":14080,"ignition":57,"odometer":null,"unknown_45":-8194440235650283520}} 
[2026-07-08 14:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":125595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:31:11] local.INFO: GPS data processed {"connection_id":125595,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:31:11] local.INFO: Acknowledgment sent {"connection_id":125595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:31:11] local.INFO: TCP Data received {"connection_id":125595,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f3c790012d8e6c40058ca918000500902e..."} 
[2026-07-08 14:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f3c790012d8e6c40058ca918000500902e..."} 
[2026-07-08 14:31:11] local.INFO: Processing buffer {"connection_id":125595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f3c790012d8e6c40058ca918000500902e..."} 
[2026-07-08 14:31:11] local.INFO: Packet analysis {"connection_id":125595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f3"} 
[2026-07-08 14:31:11] local.INFO: Extracted packet for processing {"connection_id":125595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f3"} 
[2026-07-08 14:31:11] local.INFO: GPS Element Parsed {"raw_longitude":764308544,"raw_latitude":93104408,"longitude_deg":76.4308544,"latitude_deg":9.3104408,"altitude":5,"angle":144,"satellites":46,"speed":22,"hex_longitude":"2d8e6c40","hex_latitude":"058ca918","is_valid_coordinates":true} 
[2026-07-08 14:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576291072001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342680073154854912,"note":"Value kept but may cause issues"} 
[2026-07-08 14:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8189514423559831552,"note":"Value kept but may cause issues"} 
[2026-07-08 14:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783501146000,"timestamp_ms":1783501146000,"timestamp_seconds":1783501146,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f3c790"} 
[2026-07-08 14:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 14:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576291072001,"66":27713,"17":206,"85":14080,"24":22,"16":342680073154854912,"45":-8189514423559831552},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-07-08 14:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576291072001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:31:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342680073154854912,"km_value":342680073154854.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8189514423559831552,"description":"Unknown IO ID 45"} 
[2026-07-08 14:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576291072001,"power":27713,"axis_x":206,"unknown_85":14080,"ignition":22,"odometer":null,"unknown_45":-8189514423559831552}} 
[2026-07-08 14:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":125595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:31:11] local.INFO: GPS data processed {"connection_id":125595,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:31:11] local.INFO: Acknowledgment sent {"connection_id":125595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:31:22] local.INFO: TCP Data received {"connection_id":127596,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f4cd48012d0b130007029fc00005013421..."} 
[2026-07-08 14:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f4cd48012d0b130007029fc00005013421..."} 
[2026-07-08 14:31:22] local.INFO: Processing buffer {"connection_id":127596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f4cd48012d0b130007029fc00005013421..."} 
[2026-07-08 14:31:22] local.INFO: Packet analysis {"connection_id":127596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f4"} 
[2026-07-08 14:31:22] local.INFO: Extracted packet for processing {"connection_id":127596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f4"} 
[2026-07-08 14:31:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 14:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576233472001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783501213000,"timestamp_ms":1783501213000,"timestamp_seconds":1783501213,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f4cd48"} 
[2026-07-08 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-07-08 14:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 14:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":127596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":127596,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":127596,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576233472001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576233472001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:31:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576233472001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":127596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451674,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:31:22] local.INFO: GPS data processed {"connection_id":127596,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:31:22] local.INFO: Acknowledgment sent {"connection_id":127596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:31:34] local.INFO: TCP Data received {"connection_id":125593,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f536c0012ccd65c007448fe0001301612b..."} 
[2026-07-08 14:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f536c0012ccd65c007448fe0001301612b..."} 
[2026-07-08 14:31:34] local.INFO: Processing buffer {"connection_id":125593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f536c0012ccd65c007448fe0001301612b..."} 
[2026-07-08 14:31:34] local.INFO: Packet analysis {"connection_id":125593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f5"} 
[2026-07-08 14:31:34] local.INFO: Extracted packet for processing {"connection_id":125593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f5"} 
[2026-07-08 14:31:34] local.INFO: GPS Element Parsed {"raw_longitude":751658432,"raw_latitude":121933792,"longitude_deg":75.1658432,"latitude_deg":12.1933792,"altitude":19,"angle":353,"satellites":43,"speed":22,"hex_longitude":"2ccd65c0","hex_latitude":"07448fe0","is_valid_coordinates":true} 
[2026-07-08 14:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576316928001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133387596721029120,"note":"Value kept but may cause issues"} 
[2026-07-08 14:31:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3646508292071759872,"note":"Value kept but may cause issues"} 
[2026-07-08 14:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783501240000,"timestamp_ms":1783501240000,"timestamp_seconds":1783501240,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f536c0"} 
[2026-07-08 14:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:31: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-07-08 14:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-08 14:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576316928001,"66":28354,"124":206,"2":54016,"24":22,"16":133387596721029120,"44":-3646508292071759872},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,2,24,16,44]} 
[2026-07-08 14:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576316928001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:31:34] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-07-08 14:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133387596721029120,"km_value":133387596721029.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:31:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3646508292071759872,"description":"Unknown IO ID 44"} 
[2026-07-08 14:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576316928001,"power":28354,"unknown_124":206,"power_alt":54016,"ignition":22,"odometer":null,"unknown_44":-3646508292071759872}} 
[2026-07-08 14:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":125593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451675,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:31:34] local.INFO: GPS data processed {"connection_id":125593,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:31:34] local.INFO: Acknowledgment sent {"connection_id":125593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:31:39] local.INFO: TCP Data received {"connection_id":125594,"ip":"117.225.159.213","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f48310012d1954c0072091380033008723..."} 
[2026-07-08 14:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f48310012d1954c0072091380033008723..."} 
[2026-07-08 14:31:39] local.INFO: Processing buffer {"connection_id":125594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f48310012d1954c0072091380033008723..."} 
[2026-07-08 14:31:39] local.INFO: Packet analysis {"connection_id":125594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f4"} 
[2026-07-08 14:31:39] local.INFO: Extracted packet for processing {"connection_id":125594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f4"} 
[2026-07-08 14:31:39] local.INFO: GPS Element Parsed {"raw_longitude":756634816,"raw_latitude":119574840,"longitude_deg":75.6634816,"latitude_deg":11.957484,"altitude":51,"angle":135,"satellites":35,"speed":8,"hex_longitude":"2d1954c0","hex_latitude":"07209138","is_valid_coordinates":true} 
[2026-07-08 14:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576304384001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4813348373790720,"note":"Value kept but may cause issues"} 
[2026-07-08 14:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824450460905617408,"note":"Value kept but may cause issues"} 
[2026-07-08 14:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783501194000,"timestamp_ms":1783501194000,"timestamp_seconds":1783501194,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f48310"} 
[2026-07-08 14:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:31: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-07-08 14: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 14:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.159.213","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576304384001,"66":14048,"121":206,"28":31744,"24":8,"16":4813348373790720,"45":1824450460905617408},"client_ip":"117.225.159.213","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576304384001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:31:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:31:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4813348373790720,"km_value":4813348373790.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824450460905617408,"description":"Unknown IO ID 45"} 
[2026-07-08 14:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576304384001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1824450460905617408}} 
[2026-07-08 14:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":125594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:31:39] local.INFO: GPS data processed {"connection_id":125594,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:31:39] local.INFO: Acknowledgment sent {"connection_id":125594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:31:50] local.INFO: TCP Data received {"connection_id":126355,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126355,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:31:50] local.INFO: Processing buffer {"connection_id":126355,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:31:50] local.INFO: IMEI packet received {"connection_id":126355,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":126355,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:31:55] local.INFO: TCP Data received {"connection_id":126355,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126355,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:31:55] local.INFO: Processing buffer {"connection_id":126355,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:31:55] local.INFO: IMEI packet received {"connection_id":126355,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":126355,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:31:56] local.INFO: TCP Data received {"connection_id":126355,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f4cd48012d0b130007029fc00005013421..."} 
[2026-07-08 14:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f4cd48012d0b130007029fc00005013421..."} 
[2026-07-08 14:31:56] local.INFO: Processing buffer {"connection_id":126355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f4cd48012d0b130007029fc00005013421..."} 
[2026-07-08 14:31:56] local.INFO: Packet analysis {"connection_id":126355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f4"} 
[2026-07-08 14:31:56] local.INFO: Extracted packet for processing {"connection_id":126355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f4"} 
[2026-07-08 14:31:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 14:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576233472001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:31:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783501213000,"timestamp_ms":1783501213000,"timestamp_seconds":1783501213,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f4cd48"} 
[2026-07-08 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-07-08 14:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:31:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 14:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":126355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":126355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":126355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576233472001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576233472001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:31:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576233472001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":126355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451677,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:31:56] local.INFO: GPS data processed {"connection_id":126355,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:31:56] local.INFO: Acknowledgment sent {"connection_id":126355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:31:58] local.INFO: TCP Data received {"connection_id":125473,"ip":"117.225.159.213","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125473,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:31:58] local.INFO: Processing buffer {"connection_id":125473,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:31:58] local.INFO: IMEI packet received {"connection_id":125473,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":125473,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:32:00] local.INFO: TCP Data received {"connection_id":125473,"ip":"117.225.159.213","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125473,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:32:00] local.INFO: Processing buffer {"connection_id":125473,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:32:00] local.INFO: IMEI packet received {"connection_id":125473,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":125473,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:32:01] local.INFO: TCP Data received {"connection_id":125472,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125472,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:32:01] local.INFO: Processing buffer {"connection_id":125472,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:32:01] local.INFO: IMEI packet received {"connection_id":125472,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 14:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":125472,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:32:02] local.INFO: TCP Data received {"connection_id":126355,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f4cd48012d0b130007029fc00005013421..."} 
[2026-07-08 14:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f4cd48012d0b130007029fc00005013421..."} 
[2026-07-08 14:32:02] local.INFO: Processing buffer {"connection_id":126355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f4cd48012d0b130007029fc00005013421..."} 
[2026-07-08 14:32:02] local.INFO: Packet analysis {"connection_id":126355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f4"} 
[2026-07-08 14:32:02] local.INFO: Extracted packet for processing {"connection_id":126355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f4"} 
[2026-07-08 14:32:02] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576233472001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:32: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-07-08 14:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783501213000,"timestamp_ms":1783501213000,"timestamp_seconds":1783501213,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f4cd48"} 
[2026-07-08 14:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:32:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:32:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:32:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576233472001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576233472001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:32:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576233472001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":126355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451678,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:32:02] local.INFO: GPS data processed {"connection_id":126355,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:32:02] local.INFO: Acknowledgment sent {"connection_id":126355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:32:02] local.INFO: TCP Data received {"connection_id":125472,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125472,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:32:02] local.INFO: Processing buffer {"connection_id":125472,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:32:02] local.INFO: IMEI packet received {"connection_id":125472,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":125472,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:32:03] local.INFO: TCP Data received {"connection_id":125472,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f53aa8012ccd650007449220001401552b..."} 
[2026-07-08 14:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f53aa8012ccd650007449220001401552b..."} 
[2026-07-08 14:32:03] local.INFO: Processing buffer {"connection_id":125472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f53aa8012ccd650007449220001401552b..."} 
[2026-07-08 14:32:03] local.INFO: Packet analysis {"connection_id":125472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f5"} 
[2026-07-08 14:32:03] local.INFO: Extracted packet for processing {"connection_id":125472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f5"} 
[2026-07-08 14:32:03] local.INFO: GPS Element Parsed {"raw_longitude":751658240,"raw_latitude":121934368,"longitude_deg":75.165824,"latitude_deg":12.1934368,"altitude":20,"angle":341,"satellites":43,"speed":24,"hex_longitude":"2ccd6500","hex_latitude":"07449220","is_valid_coordinates":true} 
[2026-07-08 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-07-08 14:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576317440001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133387626785800192,"note":"Value kept but may cause issues"} 
[2026-07-08 14:32:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3646297185838964736,"note":"Value kept but may cause issues"} 
[2026-07-08 14:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783501241000,"timestamp_ms":1783501241000,"timestamp_seconds":1783501241,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f53aa8"} 
[2026-07-08 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-07-08 14:32: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-07-08 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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-08 14:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 14:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576317440001,"66":28354,"124":206,"2":54016,"24":24,"16":133387626785800192,"44":-3646297185838964736},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,2,24,16,44]} 
[2026-07-08 14:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576317440001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:32:03] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-07-08 14:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133387626785800192,"km_value":133387626785800.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:32:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3646297185838964736,"description":"Unknown IO ID 44"} 
[2026-07-08 14:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576317440001,"power":28354,"unknown_124":206,"power_alt":54016,"ignition":24,"odometer":null,"unknown_44":-3646297185838964736}} 
[2026-07-08 14:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":125472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451679,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:32:03] local.INFO: GPS data processed {"connection_id":125472,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:32:03] local.INFO: Acknowledgment sent {"connection_id":125472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:32:05] local.INFO: TCP Data received {"connection_id":125473,"ip":"117.225.159.213","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125473,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:32:05] local.INFO: Processing buffer {"connection_id":125473,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:32:05] local.INFO: IMEI packet received {"connection_id":125473,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":125473,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:32:06] local.INFO: TCP Data received {"connection_id":127597,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:32:06] local.INFO: Processing buffer {"connection_id":127597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:32:06] local.INFO: IMEI packet received {"connection_id":127597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":127597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:32:06] local.INFO: TCP Data received {"connection_id":125473,"ip":"117.225.159.213","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f4b5d8012d195c00072089080034009723..."} 
[2026-07-08 14:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f4b5d8012d195c00072089080034009723..."} 
[2026-07-08 14:32:06] local.INFO: Processing buffer {"connection_id":125473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f4b5d8012d195c00072089080034009723..."} 
[2026-07-08 14:32:06] local.INFO: Packet analysis {"connection_id":125473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f4"} 
[2026-07-08 14:32:06] local.INFO: Extracted packet for processing {"connection_id":125473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f4"} 
[2026-07-08 14:32:06] local.INFO: GPS Element Parsed {"raw_longitude":756636672,"raw_latitude":119572744,"longitude_deg":75.6636672,"latitude_deg":11.9572744,"altitude":52,"angle":151,"satellites":35,"speed":9,"hex_longitude":"2d195c00","hex_latitude":"07208908","is_valid_coordinates":true} 
[2026-07-08 14:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576305664001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4813481517776896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825294885835585536,"note":"Value kept but may cause issues"} 
[2026-07-08 14:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783501207000,"timestamp_ms":1783501207000,"timestamp_seconds":1783501207,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f4b5d8"} 
[2026-07-08 14:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-08 14:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.159.213","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576305664001,"66":14461,"121":206,"28":31744,"24":9,"16":4813481517776896,"45":1825294885835585536},"client_ip":"117.225.159.213","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576305664001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:32:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:32:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4813481517776896,"km_value":4813481517776.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825294885835585536,"description":"Unknown IO ID 45"} 
[2026-07-08 14:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576305664001,"power":14461,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1825294885835585536}} 
[2026-07-08 14:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":125473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:32:06] local.INFO: GPS data processed {"connection_id":125473,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:32:06] local.INFO: Acknowledgment sent {"connection_id":125473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:32:07] local.INFO: TCP Data received {"connection_id":125472,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f559e8012ccd5b800744a3f80015014a2c..."} 
[2026-07-08 14:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f559e8012ccd5b800744a3f80015014a2c..."} 
[2026-07-08 14:32:07] local.INFO: Processing buffer {"connection_id":125472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f559e8012ccd5b800744a3f80015014a2c..."} 
[2026-07-08 14:32:07] local.INFO: Packet analysis {"connection_id":125472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f5"} 
[2026-07-08 14:32:07] local.INFO: Extracted packet for processing {"connection_id":125472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f5"} 
[2026-07-08 14:32:07] local.INFO: GPS Element Parsed {"raw_longitude":751655808,"raw_latitude":121938936,"longitude_deg":75.1655808,"latitude_deg":12.1938936,"altitude":21,"angle":330,"satellites":44,"speed":30,"hex_longitude":"2ccd5b80","hex_latitude":"0744a3f8","is_valid_coordinates":true} 
[2026-07-08 14:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576317696001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133387875893903360,"note":"Value kept but may cause issues"} 
[2026-07-08 14:32:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3646508292071350272,"note":"Value kept but may cause issues"} 
[2026-07-08 14:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783501249000,"timestamp_ms":1783501249000,"timestamp_seconds":1783501249,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f559e8"} 
[2026-07-08 14:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:32: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-07-08 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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-08 14:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576317696001,"66":28300,"124":206,"2":54016,"24":30,"16":133387875893903360,"44":-3646508292071350272},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,2,24,16,44]} 
[2026-07-08 14:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576317696001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:32:07] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-07-08 14:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133387875893903360,"km_value":133387875893903.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:32:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3646508292071350272,"description":"Unknown IO ID 44"} 
[2026-07-08 14:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576317696001,"power":28300,"unknown_124":206,"power_alt":54016,"ignition":30,"odometer":null,"unknown_44":-3646508292071350272}} 
[2026-07-08 14:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":125472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451681,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:32:07] local.INFO: GPS data processed {"connection_id":125472,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:32:07] local.INFO: Acknowledgment sent {"connection_id":125472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:32:11] local.INFO: TCP Data received {"connection_id":127597,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:32:11] local.INFO: Processing buffer {"connection_id":127597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:32:11] local.INFO: IMEI packet received {"connection_id":127597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":127597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:32:12] local.INFO: TCP Data received {"connection_id":127597,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f5a038012d8ed100058b2880000300a228..."} 
[2026-07-08 14:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f5a038012d8ed100058b2880000300a228..."} 
[2026-07-08 14:32:12] local.INFO: Processing buffer {"connection_id":127597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f5a038012d8ed100058b2880000300a228..."} 
[2026-07-08 14:32:12] local.INFO: Packet analysis {"connection_id":127597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f5"} 
[2026-07-08 14:32:12] local.INFO: Extracted packet for processing {"connection_id":127597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f5"} 
[2026-07-08 14:32:12] local.INFO: GPS Element Parsed {"raw_longitude":764334336,"raw_latitude":93005952,"longitude_deg":76.4334336,"latitude_deg":9.3005952,"altitude":3,"angle":162,"satellites":40,"speed":42,"hex_longitude":"2d8ed100","hex_latitude":"058b2880","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576322048001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342685033842081792,"note":"Value kept but may cause issues"} 
[2026-07-08 14:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8158692913634854912,"note":"Value kept but may cause issues"} 
[2026-07-08 14:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783501267000,"timestamp_ms":1783501267000,"timestamp_seconds":1783501267,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f5a038"} 
[2026-07-08 14:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-08 14:32:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":127597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":127597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":127597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576322048001,"66":27908,"197":206,"85":14080,"24":42,"16":342685033842081792,"45":-8158692913634854912},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-08 14:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576322048001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:32:12] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-08 14:32:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342685033842081792,"km_value":342685033842081.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8158692913634854912,"description":"Unknown IO ID 45"} 
[2026-07-08 14:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576322048001,"power":27908,"unknown_197":206,"unknown_85":14080,"ignition":42,"odometer":null,"unknown_45":-8158692913634854912}} 
[2026-07-08 14:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":127597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:32:12] local.INFO: GPS data processed {"connection_id":127597,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:32:12] local.INFO: Acknowledgment sent {"connection_id":127597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:32:38] local.INFO: TCP Data received {"connection_id":125473,"ip":"117.225.159.213","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f50010012d19610007207bf8003200a324..."} 
[2026-07-08 14:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f50010012d19610007207bf8003200a324..."} 
[2026-07-08 14:32:38] local.INFO: Processing buffer {"connection_id":125473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f50010012d19610007207bf8003200a324..."} 
[2026-07-08 14:32:38] local.INFO: Packet analysis {"connection_id":125473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f5"} 
[2026-07-08 14:32:38] local.INFO: Extracted packet for processing {"connection_id":125473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f5"} 
[2026-07-08 14:32:38] local.INFO: GPS Element Parsed {"raw_longitude":756637952,"raw_latitude":119569400,"longitude_deg":75.6637952,"latitude_deg":11.95694,"altitude":50,"angle":163,"satellites":36,"speed":2,"hex_longitude":"2d196100","hex_latitude":"07207bf8","is_valid_coordinates":true} 
[2026-07-08 14:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576308992001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4813657611436032,"note":"Value kept but may cause issues"} 
[2026-07-08 14:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827335579416201216,"note":"Value kept but may cause issues"} 
[2026-07-08 14:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783501226000,"timestamp_ms":1783501226000,"timestamp_seconds":1783501226,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f50010"} 
[2026-07-08 14:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":125,"data_length":795,"current_offset":136} 
[2026-07-08 14:32: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-07-08 14:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.159.213","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576308992001,"66":14483,"121":206,"28":31744,"24":2,"16":4813657611436032,"45":1827335579416201216},"client_ip":"117.225.159.213","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576308992001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:32:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:32:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4813657611436032,"km_value":4813657611436.032,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827335579416201216,"description":"Unknown IO ID 45"} 
[2026-07-08 14:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576308992001,"power":14483,"unknown_121":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1827335579416201216}} 
[2026-07-08 14:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":125473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451683,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:32:38] local.INFO: GPS data processed {"connection_id":125473,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:32:38] local.INFO: Acknowledgment sent {"connection_id":125473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:32:41] local.INFO: TCP Data received {"connection_id":125472,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f580f8012ccd47400744c208001701482b..."} 
[2026-07-08 14:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f580f8012ccd47400744c208001701482b..."} 
[2026-07-08 14:32:41] local.INFO: Processing buffer {"connection_id":125472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f580f8012ccd47400744c208001701482b..."} 
[2026-07-08 14:32:41] local.INFO: Packet analysis {"connection_id":125472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f5"} 
[2026-07-08 14:32:41] local.INFO: Extracted packet for processing {"connection_id":125472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f5"} 
[2026-07-08 14:32:41] local.INFO: GPS Element Parsed {"raw_longitude":751650624,"raw_latitude":121946632,"longitude_deg":75.1650624,"latitude_deg":12.1946632,"altitude":23,"angle":328,"satellites":43,"speed":40,"hex_longitude":"2ccd4740","hex_latitude":"0744c208","is_valid_coordinates":true} 
[2026-07-08 14:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576319744001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133388326865469440,"note":"Value kept but may cause issues"} 
[2026-07-08 14:32:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3649182304348932096,"note":"Value kept but may cause issues"} 
[2026-07-08 14:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783501259000,"timestamp_ms":1783501259000,"timestamp_seconds":1783501259,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f580f8"} 
[2026-07-08 14:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-08 14:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576319744001,"66":28452,"127":206,"2":54016,"24":40,"16":133388326865469440,"44":-3649182304348932096},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,44]} 
[2026-07-08 14:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576319744001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:32:41] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-07-08 14:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133388326865469440,"km_value":133388326865469.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:32:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3649182304348932096,"description":"Unknown IO ID 44"} 
[2026-07-08 14:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576319744001,"power":28452,"unknown_127":206,"power_alt":54016,"ignition":40,"odometer":null,"unknown_44":-3649182304348932096}} 
[2026-07-08 14:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":125472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451684,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:32:41] local.INFO: GPS data processed {"connection_id":125472,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:32:41] local.INFO: Acknowledgment sent {"connection_id":125472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:32:45] local.INFO: TCP Data received {"connection_id":126356,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126356,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:32:45] local.INFO: Processing buffer {"connection_id":126356,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:32:45] local.INFO: IMEI packet received {"connection_id":126356,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":126356,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:32:50] local.INFO: TCP Data received {"connection_id":126356,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126356,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:32:50] local.INFO: Processing buffer {"connection_id":126356,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:32:50] local.INFO: IMEI packet received {"connection_id":126356,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":126356,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:32:51] local.INFO: TCP Data received {"connection_id":126356,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f4cd48012d0b130007029fc00005013421..."} 
[2026-07-08 14:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f4cd48012d0b130007029fc00005013421..."} 
[2026-07-08 14:32:51] local.INFO: Processing buffer {"connection_id":126356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f4cd48012d0b130007029fc00005013421..."} 
[2026-07-08 14:32:51] local.INFO: Packet analysis {"connection_id":126356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f4"} 
[2026-07-08 14:32:51] local.INFO: Extracted packet for processing {"connection_id":126356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f4"} 
[2026-07-08 14:32:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576233472001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783501213000,"timestamp_ms":1783501213000,"timestamp_seconds":1783501213,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f4cd48"} 
[2026-07-08 14:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576233472001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576233472001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:32:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576233472001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":126356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451685,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:32:51] local.INFO: GPS data processed {"connection_id":126356,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:32:51] local.INFO: Acknowledgment sent {"connection_id":126356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:32:58] local.INFO: TCP Data received {"connection_id":127598,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:32:58] local.INFO: Processing buffer {"connection_id":127598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:32:58] local.INFO: IMEI packet received {"connection_id":127598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":127598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:33:00] local.INFO: TCP Data received {"connection_id":125596,"ip":"117.225.159.213","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:33:00] local.INFO: Processing buffer {"connection_id":125596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:33:00] local.INFO: IMEI packet received {"connection_id":125596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":125596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:33:01] local.INFO: TCP Data received {"connection_id":127599,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127599,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:33:01] local.INFO: Processing buffer {"connection_id":127599,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:33:01] local.INFO: IMEI packet received {"connection_id":127599,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 14:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":127599,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:33:02] local.INFO: TCP Data received {"connection_id":125596,"ip":"117.225.159.213","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:33:02] local.INFO: Processing buffer {"connection_id":125596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:33:02] local.INFO: IMEI packet received {"connection_id":125596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":125596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:33:02] local.INFO: TCP Data received {"connection_id":125596,"ip":"117.225.159.213","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:33:02] local.INFO: Processing buffer {"connection_id":125596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:33:02] local.INFO: IMEI packet received {"connection_id":125596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":125596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:33:03] local.INFO: TCP Data received {"connection_id":125596,"ip":"117.225.159.213","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:33:03] local.INFO: Processing buffer {"connection_id":125596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:33:03] local.INFO: IMEI packet received {"connection_id":125596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":125596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:33:04] local.INFO: TCP Data received {"connection_id":125596,"ip":"117.225.159.213","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f66f40012d195d4007202fd0003500d11f..."} 
[2026-07-08 14:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f66f40012d195d4007202fd0003500d11f..."} 
[2026-07-08 14:33:04] local.INFO: Processing buffer {"connection_id":125596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f66f40012d195d4007202fd0003500d11f..."} 
[2026-07-08 14:33:04] local.INFO: Packet analysis {"connection_id":125596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f6"} 
[2026-07-08 14:33:04] local.INFO: Extracted packet for processing {"connection_id":125596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f6"} 
[2026-07-08 14:33:04] local.INFO: GPS Element Parsed {"raw_longitude":756636992,"raw_latitude":119549904,"longitude_deg":75.6636992,"latitude_deg":11.9549904,"altitude":53,"angle":209,"satellites":31,"speed":9,"hex_longitude":"2d195d40","hex_latitude":"07202fd0","is_valid_coordinates":true} 
[2026-07-08 14:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576337664001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4814782892867584,"note":"Value kept but may cause issues"} 
[2026-07-08 14:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827898529363841024,"note":"Value kept but may cause issues"} 
[2026-07-08 14:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783501320000,"timestamp_ms":1783501320000,"timestamp_seconds":1783501320,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f66f40"} 
[2026-07-08 14:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:33: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-07-08 14: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-08 14:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.159.213","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576337664001,"66":13167,"121":206,"28":31744,"24":9,"16":4814782892867584,"45":1827898529363841024},"client_ip":"117.225.159.213","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576337664001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:33:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:33:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4814782892867584,"km_value":4814782892867.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827898529363841024,"description":"Unknown IO ID 45"} 
[2026-07-08 14:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576337664001,"power":13167,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1827898529363841024}} 
[2026-07-08 14:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":125596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:33:04] local.INFO: GPS data processed {"connection_id":125596,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:33:04] local.INFO: Acknowledgment sent {"connection_id":125596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:33:05] local.INFO: TCP Data received {"connection_id":127599,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127599,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:33:05] local.INFO: Processing buffer {"connection_id":127599,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:33:05] local.INFO: IMEI packet received {"connection_id":127599,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":127599,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:33:06] local.INFO: TCP Data received {"connection_id":127599,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127599,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:33:06] local.INFO: Processing buffer {"connection_id":127599,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:33:06] local.INFO: IMEI packet received {"connection_id":127599,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":127599,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:33:06] local.INFO: TCP Data received {"connection_id":127598,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:33:06] local.INFO: Processing buffer {"connection_id":127598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:33:06] local.INFO: IMEI packet received {"connection_id":127598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":127598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:33:07] local.INFO: TCP Data received {"connection_id":127599,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f6a208012cccd08007461590001901562d..."} 
[2026-07-08 14:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f6a208012cccd08007461590001901562d..."} 
[2026-07-08 14:33:07] local.INFO: Processing buffer {"connection_id":127599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f6a208012cccd08007461590001901562d..."} 
[2026-07-08 14:33:07] local.INFO: Packet analysis {"connection_id":127599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f6"} 
[2026-07-08 14:33:07] local.INFO: Extracted packet for processing {"connection_id":127599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f6"} 
[2026-07-08 14:33:07] local.INFO: GPS Element Parsed {"raw_longitude":751620224,"raw_latitude":122033552,"longitude_deg":75.1620224,"latitude_deg":12.2033552,"altitude":25,"angle":342,"satellites":45,"speed":41,"hex_longitude":"2cccd080","hex_latitude":"07461590","is_valid_coordinates":true} 
[2026-07-08 14:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576340480001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133392802221391872,"note":"Value kept but may cause issues"} 
[2026-07-08 14:33:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3688025851111550976,"note":"Value kept but may cause issues"} 
[2026-07-08 14:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783501333000,"timestamp_ms":1783501333000,"timestamp_seconds":1783501333,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f6a208"} 
[2026-07-08 14:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:33: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-07-08 14:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-08 14:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127599,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127599,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576340480001,"66":28430,"127":206,"2":54016,"24":41,"16":133392802221391872,"44":-3688025851111550976},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,44]} 
[2026-07-08 14:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576340480001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:33:07] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-07-08 14:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133392802221391872,"km_value":133392802221391.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:33:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3688025851111550976,"description":"Unknown IO ID 44"} 
[2026-07-08 14:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576340480001,"power":28430,"unknown_127":206,"power_alt":54016,"ignition":41,"odometer":null,"unknown_44":-3688025851111550976}} 
[2026-07-08 14:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":127599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451687,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:33:07] local.INFO: GPS data processed {"connection_id":127599,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:33:07] local.INFO: Acknowledgment sent {"connection_id":127599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:33:07] local.INFO: TCP Data received {"connection_id":127598,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f5bf78012d8edb40058b06e8000300a32e..."} 
[2026-07-08 14:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f5bf78012d8edb40058b06e8000300a32e..."} 
[2026-07-08 14:33:07] local.INFO: Processing buffer {"connection_id":127598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f5bf78012d8edb40058b06e8000300a32e..."} 
[2026-07-08 14:33:07] local.INFO: Packet analysis {"connection_id":127598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f5"} 
[2026-07-08 14:33:07] local.INFO: Extracted packet for processing {"connection_id":127598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f5"} 
[2026-07-08 14:33:07] local.INFO: GPS Element Parsed {"raw_longitude":764336960,"raw_latitude":92997352,"longitude_deg":76.433696,"latitude_deg":9.2997352,"altitude":3,"angle":163,"satellites":46,"speed":46,"hex_longitude":"2d8edb40","hex_latitude":"058b06e8","is_valid_coordinates":true} 
[2026-07-08 14:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576324352001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342685467633778688,"note":"Value kept but may cause issues"} 
[2026-07-08 14:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8155737426381733888,"note":"Value kept but may cause issues"} 
[2026-07-08 14:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783501275000,"timestamp_ms":1783501275000,"timestamp_seconds":1783501275,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f5bf78"} 
[2026-07-08 14:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 14:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576324352001,"66":27908,"197":206,"85":14080,"24":46,"16":342685467633778688,"45":-8155737426381733888},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-08 14:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576324352001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:33:07] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-08 14:33:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342685467633778688,"km_value":342685467633778.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8155737426381733888,"description":"Unknown IO ID 45"} 
[2026-07-08 14:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576324352001,"power":27908,"unknown_197":206,"unknown_85":14080,"ignition":46,"odometer":null,"unknown_45":-8155737426381733888}} 
[2026-07-08 14:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":127598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:33:07] local.INFO: GPS data processed {"connection_id":127598,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:33:07] local.INFO: Acknowledgment sent {"connection_id":127598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:33:08] local.INFO: TCP Data received {"connection_id":127598,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f5e2a0012d8ee500058ae3a8000300a62d..."} 
[2026-07-08 14:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f5e2a0012d8ee500058ae3a8000300a62d..."} 
[2026-07-08 14:33:08] local.INFO: Processing buffer {"connection_id":127598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f5e2a0012d8ee500058ae3a8000300a62d..."} 
[2026-07-08 14:33:08] local.INFO: Packet analysis {"connection_id":127598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f5"} 
[2026-07-08 14:33:08] local.INFO: Extracted packet for processing {"connection_id":127598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f5"} 
[2026-07-08 14:33:08] local.INFO: GPS Element Parsed {"raw_longitude":764339456,"raw_latitude":92988328,"longitude_deg":76.4339456,"latitude_deg":9.2988328,"altitude":3,"angle":166,"satellites":45,"speed":35,"hex_longitude":"2d8ee500","hex_latitude":"058ae3a8","is_valid_coordinates":true} 
[2026-07-08 14:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576326400001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342685922900312064,"note":"Value kept but may cause issues"} 
[2026-07-08 14:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8152852307872651264,"note":"Value kept but may cause issues"} 
[2026-07-08 14:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783501284000,"timestamp_ms":1783501284000,"timestamp_seconds":1783501284,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f5e2a0"} 
[2026-07-08 14:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 14:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:33:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":127598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":127598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":127598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576326400001,"66":27908,"197":206,"85":14080,"24":35,"16":342685922900312064,"45":-8152852307872651264},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-08 14:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576326400001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:33:08] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-08 14:33:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342685922900312064,"km_value":342685922900312.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8152852307872651264,"description":"Unknown IO ID 45"} 
[2026-07-08 14:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576326400001,"power":27908,"unknown_197":206,"unknown_85":14080,"ignition":35,"odometer":null,"unknown_45":-8152852307872651264}} 
[2026-07-08 14:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":127598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:33:08] local.INFO: GPS data processed {"connection_id":127598,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:33:08] local.INFO: Acknowledgment sent {"connection_id":127598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:33:10] local.INFO: TCP Data received {"connection_id":127599,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f6b590012cccc80007462870001a014b2c..."} 
[2026-07-08 14:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f6b590012cccc80007462870001a014b2c..."} 
[2026-07-08 14:33:10] local.INFO: Processing buffer {"connection_id":127599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f6b590012cccc80007462870001a014b2c..."} 
[2026-07-08 14:33:10] local.INFO: Packet analysis {"connection_id":127599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f6"} 
[2026-07-08 14:33:10] local.INFO: Extracted packet for processing {"connection_id":127599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f6"} 
[2026-07-08 14:33:10] local.INFO: GPS Element Parsed {"raw_longitude":751618048,"raw_latitude":122038384,"longitude_deg":75.1618048,"latitude_deg":12.2038384,"altitude":26,"angle":331,"satellites":44,"speed":43,"hex_longitude":"2cccc800","hex_latitude":"07462870","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576341248001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133393059919429632,"note":"Value kept but may cause issues"} 
[2026-07-08 14:33:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3688307326087491584,"note":"Value kept but may cause issues"} 
[2026-07-08 14:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783501338000,"timestamp_ms":1783501338000,"timestamp_seconds":1783501338,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f6b590"} 
[2026-07-08 14:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-08 14:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":127599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":127599,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":127599,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576341248001,"66":28452,"127":206,"2":54016,"24":43,"16":133393059919429632,"44":-3688307326087491584},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,44]} 
[2026-07-08 14:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576341248001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:33:10] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-07-08 14:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133393059919429632,"km_value":133393059919429.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:33:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3688307326087491584,"description":"Unknown IO ID 44"} 
[2026-07-08 14:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576341248001,"power":28452,"unknown_127":206,"power_alt":54016,"ignition":43,"odometer":null,"unknown_44":-3688307326087491584}} 
[2026-07-08 14:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":127599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451690,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:33:10] local.INFO: GPS data processed {"connection_id":127599,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:33:10] local.INFO: Acknowledgment sent {"connection_id":127599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:33:23] local.INFO: TCP Data received {"connection_id":126356,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f4cd48012d0b130007029fc00005013421..."} 
[2026-07-08 14:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f4cd48012d0b130007029fc00005013421..."} 
[2026-07-08 14:33:23] local.INFO: Processing buffer {"connection_id":126356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f4cd48012d0b130007029fc00005013421..."} 
[2026-07-08 14:33:23] local.INFO: Packet analysis {"connection_id":126356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f4"} 
[2026-07-08 14:33:23] local.INFO: Extracted packet for processing {"connection_id":126356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f4"} 
[2026-07-08 14:33:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 14:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576233472001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783501213000,"timestamp_ms":1783501213000,"timestamp_seconds":1783501213,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f4cd48"} 
[2026-07-08 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-07-08 14:33:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:33:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 14:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":126356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":126356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":126356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576233472001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576233472001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:33:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576233472001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":126356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451691,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:33:23] local.INFO: GPS data processed {"connection_id":126356,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:33:23] local.INFO: Acknowledgment sent {"connection_id":126356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:33:39] local.INFO: TCP Data received {"connection_id":127598,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f61180012d8eebc0058ac118000400ab2d..."} 
[2026-07-08 14:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f61180012d8eebc0058ac118000400ab2d..."} 
[2026-07-08 14:33:39] local.INFO: Processing buffer {"connection_id":127598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f61180012d8eebc0058ac118000400ab2d..."} 
[2026-07-08 14:33:39] local.INFO: Packet analysis {"connection_id":127598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f6"} 
[2026-07-08 14:33:39] local.INFO: Extracted packet for processing {"connection_id":127598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f6"} 
[2026-07-08 14:33:39] local.INFO: GPS Element Parsed {"raw_longitude":764341184,"raw_latitude":92979480,"longitude_deg":76.4341184,"latitude_deg":9.297948,"altitude":4,"angle":171,"satellites":45,"speed":33,"hex_longitude":"2d8eebc0","hex_latitude":"058ac118","is_valid_coordinates":true} 
[2026-07-08 14:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576328704001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342686356692008960,"note":"Value kept but may cause issues"} 
[2026-07-08 14:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8150107926852032512,"note":"Value kept but may cause issues"} 
[2026-07-08 14:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783501296000,"timestamp_ms":1783501296000,"timestamp_seconds":1783501296,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f61180"} 
[2026-07-08 14:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 14:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":127598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":127598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":127598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576328704001,"66":27484,"207":206,"85":14080,"24":33,"16":342686356692008960,"45":-8150107926852032512},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-08 14:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576328704001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:33:39] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-08 14:33:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342686356692008960,"km_value":342686356692008.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8150107926852032512,"description":"Unknown IO ID 45"} 
[2026-07-08 14:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576328704001,"power":27484,"unknown_207":206,"unknown_85":14080,"ignition":33,"odometer":null,"unknown_45":-8150107926852032512}} 
[2026-07-08 14:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":127598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:33:39] local.INFO: GPS data processed {"connection_id":127598,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:33:39] local.INFO: Acknowledgment sent {"connection_id":127598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:33:41] local.INFO: TCP Data received {"connection_id":127599,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f6d4d0012cccb440074645d0001b01422c..."} 
[2026-07-08 14:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f6d4d0012cccb440074645d0001b01422c..."} 
[2026-07-08 14:33:41] local.INFO: Processing buffer {"connection_id":127599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f6d4d0012cccb440074645d0001b01422c..."} 
[2026-07-08 14:33:41] local.INFO: Packet analysis {"connection_id":127599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f6"} 
[2026-07-08 14:33:41] local.INFO: Extracted packet for processing {"connection_id":127599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f6"} 
[2026-07-08 14:33:41] local.INFO: GPS Element Parsed {"raw_longitude":751612992,"raw_latitude":122045904,"longitude_deg":75.1612992,"latitude_deg":12.2045904,"altitude":27,"angle":322,"satellites":44,"speed":46,"hex_longitude":"2cccb440","hex_latitude":"074645d0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576342528001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133393493711126528,"note":"Value kept but may cause issues"} 
[2026-07-08 14:33:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3690699863388295168,"note":"Value kept but may cause issues"} 
[2026-07-08 14:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783501346000,"timestamp_ms":1783501346000,"timestamp_seconds":1783501346,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f6d4d0"} 
[2026-07-08 14:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 14:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":127599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":127599,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":127599,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576342528001,"66":27952,"127":206,"2":54016,"24":46,"16":133393493711126528,"44":-3690699863388295168},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,44]} 
[2026-07-08 14:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576342528001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:33:41] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-07-08 14:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133393493711126528,"km_value":133393493711126.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:33:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3690699863388295168,"description":"Unknown IO ID 44"} 
[2026-07-08 14:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576342528001,"power":27952,"unknown_127":206,"power_alt":54016,"ignition":46,"odometer":null,"unknown_44":-3690699863388295168}} 
[2026-07-08 14:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":127599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451693,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:33:41] local.INFO: GPS data processed {"connection_id":127599,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:33:41] local.INFO: Acknowledgment sent {"connection_id":127599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:33:44] local.INFO: TCP Data received {"connection_id":126357,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126357,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:33:44] local.INFO: Processing buffer {"connection_id":126357,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:33:44] local.INFO: IMEI packet received {"connection_id":126357,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":126357,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:33:49] local.INFO: TCP Data received {"connection_id":126357,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126357,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:33:49] local.INFO: Processing buffer {"connection_id":126357,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:33:49] local.INFO: IMEI packet received {"connection_id":126357,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":126357,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:33:50] local.INFO: TCP Data received {"connection_id":126357,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f4cd48012d0b130007029fc00005013421..."} 
[2026-07-08 14:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f4cd48012d0b130007029fc00005013421..."} 
[2026-07-08 14:33:50] local.INFO: Processing buffer {"connection_id":126357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f4cd48012d0b130007029fc00005013421..."} 
[2026-07-08 14:33:50] local.INFO: Packet analysis {"connection_id":126357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f4"} 
[2026-07-08 14:33:50] local.INFO: Extracted packet for processing {"connection_id":126357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f4"} 
[2026-07-08 14:33:50] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576233472001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:33:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783501213000,"timestamp_ms":1783501213000,"timestamp_seconds":1783501213,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f4cd48"} 
[2026-07-08 14:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:33:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:33:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:33:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":126357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":126357,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":126357,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576233472001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576233472001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:33:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:33:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576233472001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":126357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451694,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:33:50] local.INFO: GPS data processed {"connection_id":126357,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:33:50] local.INFO: Acknowledgment sent {"connection_id":126357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:33:56] local.INFO: TCP Data received {"connection_id":125474,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:33:56] local.INFO: Processing buffer {"connection_id":125474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:33:56] local.INFO: IMEI packet received {"connection_id":125474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":125474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:33:56] local.INFO: TCP Data received {"connection_id":125475,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:33:56] local.INFO: Processing buffer {"connection_id":125475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:33:56] local.INFO: IMEI packet received {"connection_id":125475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 14:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":125475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:33:56] local.INFO: TCP Data received {"connection_id":126357,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f4cd48012d0b130007029fc00005013421..."} 
[2026-07-08 14:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f4cd48012d0b130007029fc00005013421..."} 
[2026-07-08 14:33:56] local.INFO: Processing buffer {"connection_id":126357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f4cd48012d0b130007029fc00005013421..."} 
[2026-07-08 14:33:56] local.INFO: Packet analysis {"connection_id":126357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f4"} 
[2026-07-08 14:33:56] local.INFO: Extracted packet for processing {"connection_id":126357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f4"} 
[2026-07-08 14:33:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 14:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576233472001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783501213000,"timestamp_ms":1783501213000,"timestamp_seconds":1783501213,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f4cd48"} 
[2026-07-08 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-07-08 14:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:33:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 14:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":126357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":126357,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":126357,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576233472001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576233472001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:33:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576233472001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":126357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451695,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:33:57] local.INFO: GPS data processed {"connection_id":126357,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:33:57] local.INFO: Acknowledgment sent {"connection_id":126357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:33:58] local.INFO: TCP Data received {"connection_id":125475,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:33:58] local.INFO: Processing buffer {"connection_id":125475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:33:58] local.INFO: IMEI packet received {"connection_id":125475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":125475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:33:59] local.INFO: TCP Data received {"connection_id":125474,"ip":"42.106.6.46","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 14:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125474,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 14:33:59] local.INFO: Processing buffer {"connection_id":125474,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 14:33:59] local.INFO: IMEI packet received {"connection_id":125474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":125474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:34:00] local.INFO: TCP Data received {"connection_id":125474,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:34:00] local.INFO: Processing buffer {"connection_id":125474,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 14:34:00] local.INFO: IMEI packet received {"connection_id":125474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":125474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:34:01] local.INFO: TCP Data received {"connection_id":125474,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f63890012d8ef040058a9b80000500b02e..."} 
[2026-07-08 14:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f63890012d8ef040058a9b80000500b02e..."} 
[2026-07-08 14:34:01] local.INFO: Processing buffer {"connection_id":125474,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f40..."} 
[2026-07-08 14:34:01] local.INFO: IMEI packet received {"connection_id":125474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":125474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:34:02] local.INFO: TCP Data received {"connection_id":125475,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:34:02] local.INFO: Processing buffer {"connection_id":125475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:34:02] local.INFO: IMEI packet received {"connection_id":125475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":125475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:34:04] local.INFO: TCP Data received {"connection_id":125475,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f6e858012ccca5c007465638001c01332d..."} 
[2026-07-08 14:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f6e858012ccca5c007465638001c01332d..."} 
[2026-07-08 14:34:04] local.INFO: Processing buffer {"connection_id":125475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f6e858012ccca5c007465638001c01332d..."} 
[2026-07-08 14:34:04] local.INFO: Packet analysis {"connection_id":125475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f6"} 
[2026-07-08 14:34:04] local.INFO: Extracted packet for processing {"connection_id":125475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f6"} 
[2026-07-08 14:34:04] local.INFO: GPS Element Parsed {"raw_longitude":751609280,"raw_latitude":122050104,"longitude_deg":75.160928,"latitude_deg":12.2050104,"altitude":28,"angle":307,"satellites":45,"speed":38,"hex_longitude":"2ccca5c0","hex_latitude":"07465638","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576344576001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:34:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3696258994176405504,"note":"Value kept but may cause issues"} 
[2026-07-08 14:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133393764294066176,"note":"Value kept but may cause issues"} 
[2026-07-08 14:34:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 14:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783501351000,"timestamp_ms":1783501351000,"timestamp_seconds":1783501351,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f6e858"} 
[2026-07-08 14:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:34: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-07-08 14: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-08 14:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576344576001,"66":27930,"44":-3696258994176405504,"2":54016,"24":38,"16":133393764294066176},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-07-08 14:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576344576001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:34:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3696258994176405504,"description":"Unknown IO ID 44"} 
[2026-07-08 14:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133393764294066176,"km_value":133393764294066.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:34:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456576344576001,"power":27930,"unknown_44":-3696258994176405504,"power_alt":54016,"ignition":38,"odometer":null}} 
[2026-07-08 14:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":125475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451696,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:34:04] local.INFO: GPS data processed {"connection_id":125475,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:34:04] local.INFO: Acknowledgment sent {"connection_id":125475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:34:06] local.INFO: TCP Data received {"connection_id":125474,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f65bb8012d8ef280058a7548000600b02b..."} 
[2026-07-08 14:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f65bb8012d8ef280058a7548000600b02b..."} 
[2026-07-08 14:34:06] local.INFO: Processing buffer {"connection_id":125474,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f40f63890012d8ef040058a9b80000500b02e..."} 
[2026-07-08 14:34:06] local.INFO: Packet analysis {"connection_id":125474,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f40f6"} 
[2026-07-08 14:34:06] local.INFO: Extracted packet for processing {"connection_id":125474,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f6"} 
[2026-07-08 14:34:06] local.INFO: GPS Element Parsed {"raw_longitude":764342336,"raw_latitude":92969856,"longitude_deg":76.4342336,"latitude_deg":9.2969856,"altitude":5,"angle":176,"satellites":46,"speed":41,"hex_longitude":"2d8ef040","hex_latitude":"058a9b80","is_valid_coordinates":true} 
[2026-07-08 14:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576331776001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342686829138411520,"note":"Value kept but may cause issues"} 
[2026-07-08 14:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8148207970761500672,"note":"Value kept but may cause issues"} 
[2026-07-08 14:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783501306000,"timestamp_ms":1783501306000,"timestamp_seconds":1783501306,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f63890"} 
[2026-07-08 14:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 14:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576331776001,"66":27974,"207":206,"85":14080,"24":41,"16":342686829138411520,"45":-8148207970761500672},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-08 14:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576331776001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:34:06] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-08 14:34:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342686829138411520,"km_value":342686829138411.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8148207970761500672,"description":"Unknown IO ID 45"} 
[2026-07-08 14:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576331776001,"power":27974,"unknown_207":206,"unknown_85":14080,"ignition":41,"odometer":null,"unknown_45":-8148207970761500672}} 
[2026-07-08 14:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":125474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:34:06] local.INFO: GPS data processed {"connection_id":125474,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:34:06] local.INFO: Acknowledgment sent {"connection_id":125474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:34:06] local.INFO: Packet analysis {"connection_id":125474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f6"} 
[2026-07-08 14:34:06] local.INFO: Extracted packet for processing {"connection_id":125474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f6"} 
[2026-07-08 14:34:06] local.INFO: GPS Element Parsed {"raw_longitude":764342912,"raw_latitude":92960072,"longitude_deg":76.4342912,"latitude_deg":9.2960072,"altitude":6,"angle":176,"satellites":43,"speed":43,"hex_longitude":"2d8ef280","hex_latitude":"058a7548","is_valid_coordinates":true} 
[2026-07-08 14:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576334336001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342687305879781376,"note":"Value kept but may cause issues"} 
[2026-07-08 14:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8146941333368766464,"note":"Value kept but may cause issues"} 
[2026-07-08 14:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783501315000,"timestamp_ms":1783501315000,"timestamp_seconds":1783501315,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f65bb8"} 
[2026-07-08 14:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-08 14:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576334336001,"66":27908,"207":206,"85":14080,"24":43,"16":342687305879781376,"45":-8146941333368766464},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-08 14:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576334336001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:34:06] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-08 14:34:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342687305879781376,"km_value":342687305879781.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8146941333368766464,"description":"Unknown IO ID 45"} 
[2026-07-08 14:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576334336001,"power":27908,"unknown_207":206,"unknown_85":14080,"ignition":43,"odometer":null,"unknown_45":-8146941333368766464}} 
[2026-07-08 14:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":125474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:34:06] local.INFO: GPS data processed {"connection_id":125474,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:34:06] local.INFO: Acknowledgment sent {"connection_id":125474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:34:28] local.INFO: TCP Data received {"connection_id":126357,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f4cd48012d0b130007029fc00005013421..."} 
[2026-07-08 14:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f4cd48012d0b130007029fc00005013421..."} 
[2026-07-08 14:34:28] local.INFO: Processing buffer {"connection_id":126357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f4cd48012d0b130007029fc00005013421..."} 
[2026-07-08 14:34:28] local.INFO: Packet analysis {"connection_id":126357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f4"} 
[2026-07-08 14:34:28] local.INFO: Extracted packet for processing {"connection_id":126357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f4"} 
[2026-07-08 14:34:28] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576233472001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:34:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783501213000,"timestamp_ms":1783501213000,"timestamp_seconds":1783501213,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f4cd48"} 
[2026-07-08 14:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:34:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:34:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:34:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":126357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":126357,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":126357,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576233472001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576233472001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:34:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576233472001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":126357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451699,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:34:28] local.INFO: GPS data processed {"connection_id":126357,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:34:28] local.INFO: Acknowledgment sent {"connection_id":126357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:34:35] local.INFO: TCP Data received {"connection_id":125475,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f81cf0012ccc61c007479ed0000b014528..."} 
[2026-07-08 14:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f81cf0012ccc61c007479ed0000b014528..."} 
[2026-07-08 14:34:35] local.INFO: Processing buffer {"connection_id":125475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f81cf0012ccc61c007479ed0000b014528..."} 
[2026-07-08 14:34:35] local.INFO: Packet analysis {"connection_id":125475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f8"} 
[2026-07-08 14:34:35] local.INFO: Extracted packet for processing {"connection_id":125475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f8"} 
[2026-07-08 14:34:35] local.INFO: GPS Element Parsed {"raw_longitude":751591872,"raw_latitude":122134224,"longitude_deg":75.1591872,"latitude_deg":12.2134224,"altitude":11,"angle":325,"satellites":40,"speed":21,"hex_longitude":"2ccc61c0","hex_latitude":"07479ed0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 14:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576364032001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133398024901623808,"note":"Value kept but may cause issues"} 
[2026-07-08 14:34:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3717299248664342528,"note":"Value kept but may cause issues"} 
[2026-07-08 14:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783501430000,"timestamp_ms":1783501430000,"timestamp_seconds":1783501430,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f81cf0"} 
[2026-07-08 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-07-08 14:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-08 14:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2296,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 14:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576364032001,"66":28300,"59":206,"2":54016,"24":21,"16":133398024901623808,"44":-3717299248664342528},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,2,24,16,44]} 
[2026-07-08 14:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576364032001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:34:35] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-07-08 14:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133398024901623808,"km_value":133398024901623.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:34:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3717299248664342528,"description":"Unknown IO ID 44"} 
[2026-07-08 14:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576364032001,"power":28300,"unknown_59":206,"power_alt":54016,"ignition":21,"odometer":null,"unknown_44":-3717299248664342528}} 
[2026-07-08 14:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":125475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451700,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:34:36] local.INFO: GPS data processed {"connection_id":125475,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:34:36] local.INFO: Acknowledgment sent {"connection_id":125475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:34:38] local.INFO: TCP Data received {"connection_id":125474,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f7f9c8012d8f6f80058968a0000600892e..."} 
[2026-07-08 14:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f7f9c8012d8f6f80058968a0000600892e..."} 
[2026-07-08 14:34:38] local.INFO: Processing buffer {"connection_id":125474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f7f9c8012d8f6f80058968a0000600892e..."} 
[2026-07-08 14:34:38] local.INFO: Packet analysis {"connection_id":125474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f7"} 
[2026-07-08 14:34:38] local.INFO: Extracted packet for processing {"connection_id":125474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f7"} 
[2026-07-08 14:34:38] local.INFO: GPS Element Parsed {"raw_longitude":764374912,"raw_latitude":92891296,"longitude_deg":76.4374912,"latitude_deg":9.2891296,"altitude":6,"angle":137,"satellites":46,"speed":49,"hex_longitude":"2d8f6f80","hex_latitude":"058968a0","is_valid_coordinates":true} 
[2026-07-08 14:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576361728001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342691102630871040,"note":"Value kept but may cause issues"} 
[2026-07-08 14:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8117808673297518592,"note":"Value kept but may cause issues"} 
[2026-07-08 14:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783501421000,"timestamp_ms":1783501421000,"timestamp_seconds":1783501421,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f7f9c8"} 
[2026-07-08 14:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-08 14:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576361728001,"66":27974,"208":206,"85":14080,"24":49,"16":342691102630871040,"45":-8117808673297518592},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-08 14:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576361728001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:34:38] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-08 14:34:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342691102630871040,"km_value":342691102630871.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8117808673297518592,"description":"Unknown IO ID 45"} 
[2026-07-08 14:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576361728001,"power":27974,"unknown_208":206,"unknown_85":14080,"ignition":49,"odometer":null,"unknown_45":-8117808673297518592}} 
[2026-07-08 14:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":125474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:34:38] local.INFO: GPS data processed {"connection_id":125474,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:34:38] local.INFO: Acknowledgment sent {"connection_id":125474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:34:44] local.INFO: TCP Data received {"connection_id":125597,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125597,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:34:44] local.INFO: Processing buffer {"connection_id":125597,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:34:44] local.INFO: IMEI packet received {"connection_id":125597,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":125597,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:34:49] local.INFO: TCP Data received {"connection_id":125597,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125597,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:34:49] local.INFO: Processing buffer {"connection_id":125597,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:34:49] local.INFO: IMEI packet received {"connection_id":125597,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":125597,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:34:51] local.INFO: TCP Data received {"connection_id":125597,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f4cd48012d0b130007029fc00005013421..."} 
[2026-07-08 14:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f4cd48012d0b130007029fc00005013421..."} 
[2026-07-08 14:34:51] local.INFO: Processing buffer {"connection_id":125597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f4cd48012d0b130007029fc00005013421..."} 
[2026-07-08 14:34:51] local.INFO: Packet analysis {"connection_id":125597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f4"} 
[2026-07-08 14:34:51] local.INFO: Extracted packet for processing {"connection_id":125597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f4"} 
[2026-07-08 14:34:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":5,"angle":308,"satellites":33,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576233472001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783501213000,"timestamp_ms":1783501213000,"timestamp_seconds":1783501213,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f4cd48"} 
[2026-07-08 14:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:34:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125597,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125597,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576233472001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576233472001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:34:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576233472001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":125597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451702,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:34:51] local.INFO: GPS data processed {"connection_id":125597,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:34:51] local.INFO: Acknowledgment sent {"connection_id":125597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:34:56] local.INFO: TCP Data received {"connection_id":126358,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:34:56] local.INFO: Processing buffer {"connection_id":126358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:34:56] local.INFO: IMEI packet received {"connection_id":126358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":126358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:35:01] local.INFO: TCP Data received {"connection_id":126358,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:35:01] local.INFO: Processing buffer {"connection_id":126358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:35:01] local.INFO: IMEI packet received {"connection_id":126358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":126358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:35:01] local.INFO: TCP Data received {"connection_id":125476,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125476,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:35:01] local.INFO: Processing buffer {"connection_id":125476,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:35:01] local.INFO: IMEI packet received {"connection_id":125476,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 14:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":125476,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:35:02] local.INFO: TCP Data received {"connection_id":126358,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f81908012d8f894005894a380006008f2f..."} 
[2026-07-08 14:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f81908012d8f894005894a380006008f2f..."} 
[2026-07-08 14:35:02] local.INFO: Processing buffer {"connection_id":126358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f81908012d8f894005894a380006008f2f..."} 
[2026-07-08 14:35:02] local.INFO: Packet analysis {"connection_id":126358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f8"} 
[2026-07-08 14:35:02] local.INFO: Extracted packet for processing {"connection_id":126358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f8"} 
[2026-07-08 14:35:02] local.INFO: GPS Element Parsed {"raw_longitude":764381504,"raw_latitude":92883512,"longitude_deg":76.4381504,"latitude_deg":9.2883512,"altitude":6,"angle":143,"satellites":47,"speed":54,"hex_longitude":"2d8f8940","hex_latitude":"05894a38","is_valid_coordinates":true} 
[2026-07-08 14:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576363776001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342691596552110080,"note":"Value kept but may cause issues"} 
[2026-07-08 14:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8111123642602446848,"note":"Value kept but may cause issues"} 
[2026-07-08 14:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783501429000,"timestamp_ms":1783501429000,"timestamp_seconds":1783501429,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f81908"} 
[2026-07-08 14:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:35:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-08 14:35:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:35:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576363776001,"66":27767,"208":206,"85":14080,"24":54,"16":342691596552110080,"45":-8111123642602446848},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-08 14:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576363776001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:35:02] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-08 14:35:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342691596552110080,"km_value":342691596552110.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8111123642602446848,"description":"Unknown IO ID 45"} 
[2026-07-08 14:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576363776001,"power":27767,"unknown_208":206,"unknown_85":14080,"ignition":54,"odometer":null,"unknown_45":-8111123642602446848}} 
[2026-07-08 14:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":126358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:35:02] local.INFO: GPS data processed {"connection_id":126358,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:35:02] local.INFO: Acknowledgment sent {"connection_id":126358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:35:03] local.INFO: TCP Data received {"connection_id":125476,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125476,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:35:03] local.INFO: Processing buffer {"connection_id":125476,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:35:03] local.INFO: IMEI packet received {"connection_id":125476,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":125476,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:35:05] local.INFO: TCP Data received {"connection_id":125476,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f820d8012ccc60800747a050000a013929..."} 
[2026-07-08 14:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f820d8012ccc60800747a050000a013929..."} 
[2026-07-08 14:35:05] local.INFO: Processing buffer {"connection_id":125476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f820d8012ccc60800747a050000a013929..."} 
[2026-07-08 14:35:05] local.INFO: Packet analysis {"connection_id":125476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f8"} 
[2026-07-08 14:35:05] local.INFO: Extracted packet for processing {"connection_id":125476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f8"} 
[2026-07-08 14:35:05] local.INFO: GPS Element Parsed {"raw_longitude":751591552,"raw_latitude":122134608,"longitude_deg":75.1591552,"latitude_deg":12.2134608,"altitude":10,"angle":313,"satellites":41,"speed":19,"hex_longitude":"2ccc6080","hex_latitude":"0747a050","is_valid_coordinates":true} 
[2026-07-08 14:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576366080001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133398046376460288,"note":"Value kept but may cause issues"} 
[2026-07-08 14:35:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3719480679732424704,"note":"Value kept but may cause issues"} 
[2026-07-08 14:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783501431000,"timestamp_ms":1783501431000,"timestamp_seconds":1783501431,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f820d8"} 
[2026-07-08 14:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-08 14:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125476,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125476,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576366080001,"66":28300,"59":206,"2":54016,"24":19,"16":133398046376460288,"44":-3719480679732424704},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,2,24,16,44]} 
[2026-07-08 14:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576366080001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:35:05] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-07-08 14:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133398046376460288,"km_value":133398046376460.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:35:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3719480679732424704,"description":"Unknown IO ID 44"} 
[2026-07-08 14:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576366080001,"power":28300,"unknown_59":206,"power_alt":54016,"ignition":19,"odometer":null,"unknown_44":-3719480679732424704}} 
[2026-07-08 14:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":125476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451704,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:35:05] local.INFO: GPS data processed {"connection_id":125476,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:35:05] local.INFO: Acknowledgment sent {"connection_id":125476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:35:07] local.INFO: TCP Data received {"connection_id":125476,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f824c0012ccc5f000747a150000a012b2c..."} 
[2026-07-08 14:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f824c0012ccc5f000747a150000a012b2c..."} 
[2026-07-08 14:35:07] local.INFO: Processing buffer {"connection_id":125476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f824c0012ccc5f000747a150000a012b2c..."} 
[2026-07-08 14:35:07] local.INFO: Packet analysis {"connection_id":125476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f8"} 
[2026-07-08 14:35:07] local.INFO: Extracted packet for processing {"connection_id":125476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f8"} 
[2026-07-08 14:35:07] local.INFO: GPS Element Parsed {"raw_longitude":751591168,"raw_latitude":122134864,"longitude_deg":75.1591168,"latitude_deg":12.2134864,"altitude":10,"angle":299,"satellites":44,"speed":17,"hex_longitude":"2ccc5f00","hex_latitude":"0747a150","is_valid_coordinates":true} 
[2026-07-08 14:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576366336001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133398067851296768,"note":"Value kept but may cause issues"} 
[2026-07-08 14:35:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3719832523453214720,"note":"Value kept but may cause issues"} 
[2026-07-08 14:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783501432000,"timestamp_ms":1783501432000,"timestamp_seconds":1783501432,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f824c0"} 
[2026-07-08 14:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:35: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-07-08 14: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-08 14:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125476,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125476,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576366336001,"66":28300,"59":206,"2":54016,"24":17,"16":133398067851296768,"44":-3719832523453214720},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,2,24,16,44]} 
[2026-07-08 14:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576366336001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:35:07] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-07-08 14:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133398067851296768,"km_value":133398067851296.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:35:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3719832523453214720,"description":"Unknown IO ID 44"} 
[2026-07-08 14:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576366336001,"power":28300,"unknown_59":206,"power_alt":54016,"ignition":17,"odometer":null,"unknown_44":-3719832523453214720}} 
[2026-07-08 14:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":125476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451705,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:35:07] local.INFO: GPS data processed {"connection_id":125476,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:35:07] local.INFO: Acknowledgment sent {"connection_id":125476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:35:22] local.INFO: TCP Data received {"connection_id":125597,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f96510012d0b130007029fc00002013422..."} 
[2026-07-08 14:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f96510012d0b130007029fc00002013422..."} 
[2026-07-08 14:35:22] local.INFO: Processing buffer {"connection_id":125597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f96510012d0b130007029fc00002013422..."} 
[2026-07-08 14:35:22] local.INFO: Packet analysis {"connection_id":125597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f9"} 
[2026-07-08 14:35:22] local.INFO: Extracted packet for processing {"connection_id":125597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f9"} 
[2026-07-08 14:35:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576310528001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783501514000,"timestamp_ms":1783501514000,"timestamp_seconds":1783501514,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f96510"} 
[2026-07-08 14:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 14:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125597,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125597,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576310528001,"66":12548,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576310528001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:35:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576310528001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":125597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451706,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:35:22] local.INFO: GPS data processed {"connection_id":125597,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:35:22] local.INFO: Acknowledgment sent {"connection_id":125597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:35:34] local.INFO: TCP Data received {"connection_id":126358,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f83460012d8f9e0005892998000500962e..."} 
[2026-07-08 14:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f83460012d8f9e0005892998000500962e..."} 
[2026-07-08 14:35:34] local.INFO: Processing buffer {"connection_id":126358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f83460012d8f9e0005892998000500962e..."} 
[2026-07-08 14:35:34] local.INFO: Packet analysis {"connection_id":126358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f8"} 
[2026-07-08 14:35:34] local.INFO: Extracted packet for processing {"connection_id":126358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f8"} 
[2026-07-08 14:35:34] local.INFO: GPS Element Parsed {"raw_longitude":764386816,"raw_latitude":92875160,"longitude_deg":76.4386816,"latitude_deg":9.287516,"altitude":5,"angle":150,"satellites":46,"speed":57,"hex_longitude":"2d8f9e00","hex_latitude":"05892998","is_valid_coordinates":true} 
[2026-07-08 14:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576365824001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342692073293479936,"note":"Value kept but may cause issues"} 
[2026-07-08 14:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8103875661954140160,"note":"Value kept but may cause issues"} 
[2026-07-08 14:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783501436000,"timestamp_ms":1783501436000,"timestamp_seconds":1783501436,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f83460"} 
[2026-07-08 14:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 14:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576365824001,"66":27821,"208":206,"85":14080,"24":57,"16":342692073293479936,"45":-8103875661954140160},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-08 14:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576365824001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:35:34] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-08 14:35:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342692073293479936,"km_value":342692073293479.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8103875661954140160,"description":"Unknown IO ID 45"} 
[2026-07-08 14:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576365824001,"power":27821,"unknown_208":206,"unknown_85":14080,"ignition":57,"odometer":null,"unknown_45":-8103875661954140160}} 
[2026-07-08 14:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":126358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:35:34] local.INFO: GPS data processed {"connection_id":126358,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:35:34] local.INFO: Acknowledgment sent {"connection_id":126358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:35:40] local.INFO: TCP Data received {"connection_id":125476,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f83c30012ccc59000747a4c0000901382b..."} 
[2026-07-08 14:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f83c30012ccc59000747a4c0000901382b..."} 
[2026-07-08 14:35:40] local.INFO: Processing buffer {"connection_id":125476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f83c30012ccc59000747a4c0000901382b..."} 
[2026-07-08 14:35:40] local.INFO: Packet analysis {"connection_id":125476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f8"} 
[2026-07-08 14:35:40] local.INFO: Extracted packet for processing {"connection_id":125476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f8"} 
[2026-07-08 14:35:40] local.INFO: GPS Element Parsed {"raw_longitude":751589632,"raw_latitude":122135744,"longitude_deg":75.1589632,"latitude_deg":12.2135744,"altitude":9,"angle":312,"satellites":43,"speed":8,"hex_longitude":"2ccc5900","hex_latitude":"0747a4c0","is_valid_coordinates":true} 
[2026-07-08 14:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576366592001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133398153750642688,"note":"Value kept but may cause issues"} 
[2026-07-08 14:35:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3720254735918215168,"note":"Value kept but may cause issues"} 
[2026-07-08 14:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783501438000,"timestamp_ms":1783501438000,"timestamp_seconds":1783501438,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f83c30"} 
[2026-07-08 14:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-08 14:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125476,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125476,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576366592001,"66":28376,"59":206,"2":54016,"24":8,"16":133398153750642688,"44":-3720254735918215168},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,2,24,16,44]} 
[2026-07-08 14:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576366592001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:35:40] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-07-08 14:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133398153750642688,"km_value":133398153750642.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:35:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3720254735918215168,"description":"Unknown IO ID 44"} 
[2026-07-08 14:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576366592001,"power":28376,"unknown_59":206,"power_alt":54016,"ignition":8,"odometer":null,"unknown_44":-3720254735918215168}} 
[2026-07-08 14:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":125476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451708,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:35:40] local.INFO: GPS data processed {"connection_id":125476,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:35:40] local.INFO: Acknowledgment sent {"connection_id":125476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:35:45] local.INFO: TCP Data received {"connection_id":126359,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126359,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:35:45] local.INFO: Processing buffer {"connection_id":126359,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:35:45] local.INFO: IMEI packet received {"connection_id":126359,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":126359,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:35:49] local.INFO: TCP Data received {"connection_id":126359,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126359,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:35:49] local.INFO: Processing buffer {"connection_id":126359,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:35:49] local.INFO: IMEI packet received {"connection_id":126359,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":126359,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:35:51] local.INFO: TCP Data received {"connection_id":126359,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f96510012d0b130007029fc00002013422..."} 
[2026-07-08 14:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f96510012d0b130007029fc00002013422..."} 
[2026-07-08 14:35:51] local.INFO: Processing buffer {"connection_id":126359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f96510012d0b130007029fc00002013422..."} 
[2026-07-08 14:35:51] local.INFO: Packet analysis {"connection_id":126359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f9"} 
[2026-07-08 14:35:51] local.INFO: Extracted packet for processing {"connection_id":126359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f9"} 
[2026-07-08 14:35:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576310528001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783501514000,"timestamp_ms":1783501514000,"timestamp_seconds":1783501514,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f96510"} 
[2026-07-08 14:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 14:35:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126359,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126359,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576310528001,"66":12548,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576310528001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:35:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576310528001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":126359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451709,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:35:51] local.INFO: GPS data processed {"connection_id":126359,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:35:51] local.INFO: Acknowledgment sent {"connection_id":126359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:35:55] local.INFO: TCP Data received {"connection_id":125478,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:35:55] local.INFO: Processing buffer {"connection_id":125478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:35:55] local.INFO: IMEI packet received {"connection_id":125478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":125478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:35:56] local.INFO: TCP Data received {"connection_id":125477,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125477,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:35:56] local.INFO: Processing buffer {"connection_id":125477,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:35:56] local.INFO: IMEI packet received {"connection_id":125477,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 14:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":125477,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:35:58] local.INFO: TCP Data received {"connection_id":125477,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125477,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:35:58] local.INFO: Processing buffer {"connection_id":125477,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:35:58] local.INFO: IMEI packet received {"connection_id":125477,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":125477,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:35:59] local.INFO: TCP Data received {"connection_id":125477,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f84400012ccc58000747a5e8000901432b..."} 
[2026-07-08 14:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f84400012ccc58000747a5e8000901432b..."} 
[2026-07-08 14:35:59] local.INFO: Processing buffer {"connection_id":125477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f84400012ccc58000747a5e8000901432b..."} 
[2026-07-08 14:35:59] local.INFO: Packet analysis {"connection_id":125477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f8"} 
[2026-07-08 14:35:59] local.INFO: Extracted packet for processing {"connection_id":125477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f8"} 
[2026-07-08 14:35:59] local.INFO: GPS Element Parsed {"raw_longitude":751589376,"raw_latitude":122136040,"longitude_deg":75.1589376,"latitude_deg":12.213604,"altitude":9,"angle":323,"satellites":43,"speed":8,"hex_longitude":"2ccc5800","hex_latitude":"0747a5e8","is_valid_coordinates":true} 
[2026-07-08 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-07-08 14:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576368128001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133398175225479168,"note":"Value kept but may cause issues"} 
[2026-07-08 14:35:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3721943585778253824,"note":"Value kept but may cause issues"} 
[2026-07-08 14:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783501440000,"timestamp_ms":1783501440000,"timestamp_seconds":1783501440,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f84400"} 
[2026-07-08 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-07-08 14:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-08 14:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 14:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":125477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":125477,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":125477,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576368128001,"66":28354,"59":206,"2":54016,"24":8,"16":133398175225479168,"44":-3721943585778253824},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,2,24,16,44]} 
[2026-07-08 14:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576368128001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:35:59] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-07-08 14:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133398175225479168,"km_value":133398175225479.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:35:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3721943585778253824,"description":"Unknown IO ID 44"} 
[2026-07-08 14:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576368128001,"power":28354,"unknown_59":206,"power_alt":54016,"ignition":8,"odometer":null,"unknown_44":-3721943585778253824}} 
[2026-07-08 14:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":125477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451710,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:35:59] local.INFO: GPS data processed {"connection_id":125477,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:35:59] local.INFO: Acknowledgment sent {"connection_id":125477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:36:01] local.INFO: TCP Data received {"connection_id":125478,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:36:01] local.INFO: Processing buffer {"connection_id":125478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:36:01] local.INFO: IMEI packet received {"connection_id":125478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":125478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:36:01] local.INFO: TCP Data received {"connection_id":125477,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f85b70012ccc54000747ac40000a01522b..."} 
[2026-07-08 14:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f85b70012ccc54000747ac40000a01522b..."} 
[2026-07-08 14:36:01] local.INFO: Processing buffer {"connection_id":125477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f85b70012ccc54000747ac40000a01522b..."} 
[2026-07-08 14:36:01] local.INFO: Packet analysis {"connection_id":125477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f8"} 
[2026-07-08 14:36:01] local.INFO: Extracted packet for processing {"connection_id":125477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f8"} 
[2026-07-08 14:36:01] local.INFO: GPS Element Parsed {"raw_longitude":751588352,"raw_latitude":122137664,"longitude_deg":75.1588352,"latitude_deg":12.2137664,"altitude":10,"angle":338,"satellites":43,"speed":17,"hex_longitude":"2ccc5400","hex_latitude":"0747ac40","is_valid_coordinates":true} 
[2026-07-08 14:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576368640001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133398265419792384,"note":"Value kept but may cause issues"} 
[2026-07-08 14:36:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3722225060754888704,"note":"Value kept but may cause issues"} 
[2026-07-08 14:36:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783501446000,"timestamp_ms":1783501446000,"timestamp_seconds":1783501446,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f85b70"} 
[2026-07-08 14:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-08 14:36:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:36:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125477,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125477,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576368640001,"66":28419,"59":206,"2":54016,"24":17,"16":133398265419792384,"44":-3722225060754888704},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,2,24,16,44]} 
[2026-07-08 14:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576368640001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:36:01] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-07-08 14:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133398265419792384,"km_value":133398265419792.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:36:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3722225060754888704,"description":"Unknown IO ID 44"} 
[2026-07-08 14:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576368640001,"power":28419,"unknown_59":206,"power_alt":54016,"ignition":17,"odometer":null,"unknown_44":-3722225060754888704}} 
[2026-07-08 14:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":125477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451711,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:36:01] local.INFO: GPS data processed {"connection_id":125477,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:36:01] local.INFO: Acknowledgment sent {"connection_id":125477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:36:02] local.INFO: TCP Data received {"connection_id":125478,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f853a0012d8fb0c005890b78000400902e..."} 
[2026-07-08 14:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f853a0012d8fb0c005890b78000400902e..."} 
[2026-07-08 14:36:02] local.INFO: Processing buffer {"connection_id":125478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f853a0012d8fb0c005890b78000400902e..."} 
[2026-07-08 14:36:02] local.INFO: Packet analysis {"connection_id":125478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f8"} 
[2026-07-08 14:36:02] local.INFO: Extracted packet for processing {"connection_id":125478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f8"} 
[2026-07-08 14:36:02] local.INFO: GPS Element Parsed {"raw_longitude":764391616,"raw_latitude":92867448,"longitude_deg":76.4391616,"latitude_deg":9.2867448,"altitude":4,"angle":144,"satellites":46,"speed":30,"hex_longitude":"2d8fb0c0","hex_latitude":"05890b78","is_valid_coordinates":true} 
[2026-07-08 14:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576367616001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342692515675111424,"note":"Value kept but may cause issues"} 
[2026-07-08 14:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8098035056189532160,"note":"Value kept but may cause issues"} 
[2026-07-08 14:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783501444000,"timestamp_ms":1783501444000,"timestamp_seconds":1783501444,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f853a0"} 
[2026-07-08 14:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:36:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 14:36:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576367616001,"66":28191,"195":206,"85":14080,"24":30,"16":342692515675111424,"45":-8098035056189532160},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-07-08 14:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576367616001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:36:02] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-08 14:36:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342692515675111424,"km_value":342692515675111.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8098035056189532160,"description":"Unknown IO ID 45"} 
[2026-07-08 14:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576367616001,"power":28191,"unknown_195":206,"unknown_85":14080,"ignition":30,"odometer":null,"unknown_45":-8098035056189532160}} 
[2026-07-08 14:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":125478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:36:02] local.INFO: GPS data processed {"connection_id":125478,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:36:02] local.INFO: Acknowledgment sent {"connection_id":125478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:36:23] local.INFO: TCP Data received {"connection_id":126359,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f96510012d0b130007029fc00002013422..."} 
[2026-07-08 14:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f96510012d0b130007029fc00002013422..."} 
[2026-07-08 14:36:23] local.INFO: Processing buffer {"connection_id":126359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f96510012d0b130007029fc00002013422..."} 
[2026-07-08 14:36:23] local.INFO: Packet analysis {"connection_id":126359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f9"} 
[2026-07-08 14:36:23] local.INFO: Extracted packet for processing {"connection_id":126359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f9"} 
[2026-07-08 14:36:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576310528001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783501514000,"timestamp_ms":1783501514000,"timestamp_seconds":1783501514,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f96510"} 
[2026-07-08 14:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 14:36:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:36:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":126359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":126359,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":126359,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576310528001,"66":12548,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576310528001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:36:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576310528001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":126359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451713,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:36:23] local.INFO: GPS data processed {"connection_id":126359,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:36:23] local.INFO: Acknowledgment sent {"connection_id":126359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:36:33] local.INFO: TCP Data received {"connection_id":125478,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f9d270012d90bf0005883c88000800652c..."} 
[2026-07-08 14:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f9d270012d90bf0005883c88000800652c..."} 
[2026-07-08 14:36:33] local.INFO: Processing buffer {"connection_id":125478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f9d270012d90bf0005883c88000800652c..."} 
[2026-07-08 14:36:33] local.INFO: Packet analysis {"connection_id":125478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f9"} 
[2026-07-08 14:36:33] local.INFO: Extracted packet for processing {"connection_id":125478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f9"} 
[2026-07-08 14:36:33] local.INFO: GPS Element Parsed {"raw_longitude":764460800,"raw_latitude":92814472,"longitude_deg":76.44608,"latitude_deg":9.2814472,"altitude":8,"angle":101,"satellites":44,"speed":49,"hex_longitude":"2d90bf00","hex_latitude":"05883c88","is_valid_coordinates":true} 
[2026-07-08 14:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576392704001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342696935196459008,"note":"Value kept but may cause issues"} 
[2026-07-08 14:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8026188568399099904,"note":"Value kept but may cause issues"} 
[2026-07-08 14:36:33] 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-07-08 14:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783501542000,"timestamp_ms":1783501542000,"timestamp_seconds":1783501542,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f9d270"} 
[2026-07-08 14:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 14:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:36:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576392704001,"66":27919,"111":206,"85":14080,"24":49,"16":342696935196459008,"45":-8026188568399099904},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-07-08 14:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576392704001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:36:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-08 14:36:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342696935196459008,"km_value":342696935196459.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8026188568399099904,"description":"Unknown IO ID 45"} 
[2026-07-08 14:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576392704001,"power":27919,"unknown_111":206,"unknown_85":14080,"ignition":49,"odometer":null,"unknown_45":-8026188568399099904}} 
[2026-07-08 14:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":125478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:36:33] local.INFO: GPS data processed {"connection_id":125478,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:36:33] local.INFO: Acknowledgment sent {"connection_id":125478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:36:34] local.INFO: TCP Data received {"connection_id":125477,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f9a390012ccc21c0074884f0000a00172c..."} 
[2026-07-08 14:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f9a390012ccc21c0074884f0000a00172c..."} 
[2026-07-08 14:36:34] local.INFO: Processing buffer {"connection_id":125477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f9a390012ccc21c0074884f0000a00172c..."} 
[2026-07-08 14:36:34] local.INFO: Packet analysis {"connection_id":125477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f9"} 
[2026-07-08 14:36:34] local.INFO: Extracted packet for processing {"connection_id":125477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f9"} 
[2026-07-08 14:36:34] local.INFO: GPS Element Parsed {"raw_longitude":751575488,"raw_latitude":122193136,"longitude_deg":75.1575488,"latitude_deg":12.2193136,"altitude":10,"angle":23,"satellites":44,"speed":22,"hex_longitude":"2ccc21c0","hex_latitude":"074884f0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576390656001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133401100098207744,"note":"Value kept but may cause issues"} 
[2026-07-08 14:36:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3738832084366540800,"note":"Value kept but may cause issues"} 
[2026-07-08 14:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783501530000,"timestamp_ms":1783501530000,"timestamp_seconds":1783501530,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f9a390"} 
[2026-07-08 14:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:36: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-07-08 14: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 14:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125477,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125477,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576390656001,"66":28300,"15":206,"2":54016,"24":22,"16":133401100098207744,"44":-3738832084366540800},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,2,24,16,44]} 
[2026-07-08 14:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576390656001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:36:34] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-08 14:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133401100098207744,"km_value":133401100098207.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:36:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3738832084366540800,"description":"Unknown IO ID 44"} 
[2026-07-08 14:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576390656001,"power":28300,"unknown_15":206,"power_alt":54016,"ignition":22,"odometer":null,"unknown_44":-3738832084366540800}} 
[2026-07-08 14:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":125477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451715,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:36:34] local.INFO: GPS data processed {"connection_id":125477,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:36:34] local.INFO: Acknowledgment sent {"connection_id":125477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:36:44] local.INFO: TCP Data received {"connection_id":125479,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125479,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:36:44] local.INFO: Processing buffer {"connection_id":125479,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:36:44] local.INFO: IMEI packet received {"connection_id":125479,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":125479,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:36:49] local.INFO: TCP Data received {"connection_id":125479,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125479,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:36:49] local.INFO: Processing buffer {"connection_id":125479,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:36:49] local.INFO: IMEI packet received {"connection_id":125479,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":125479,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:36:51] local.INFO: TCP Data received {"connection_id":125479,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f96510012d0b130007029fc00002013422..."} 
[2026-07-08 14:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f96510012d0b130007029fc00002013422..."} 
[2026-07-08 14:36:51] local.INFO: Processing buffer {"connection_id":125479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f96510012d0b130007029fc00002013422..."} 
[2026-07-08 14:36:51] local.INFO: Packet analysis {"connection_id":125479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f9"} 
[2026-07-08 14:36:51] local.INFO: Extracted packet for processing {"connection_id":125479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f9"} 
[2026-07-08 14:36:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576310528001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783501514000,"timestamp_ms":1783501514000,"timestamp_seconds":1783501514,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f96510"} 
[2026-07-08 14:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 14:36:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125479,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125479,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576310528001,"66":12548,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576310528001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:36:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576310528001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":125479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451716,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:36:51] local.INFO: GPS data processed {"connection_id":125479,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:36:51] local.INFO: Acknowledgment sent {"connection_id":125479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:36:55] local.INFO: TCP Data received {"connection_id":126360,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:36:55] local.INFO: Processing buffer {"connection_id":126360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:36:55] local.INFO: IMEI packet received {"connection_id":126360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":126360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:36:56] local.INFO: TCP Data received {"connection_id":125598,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125598,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:36:56] local.INFO: Processing buffer {"connection_id":125598,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:36:56] local.INFO: IMEI packet received {"connection_id":125598,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 14:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":125598,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:36:58] local.INFO: TCP Data received {"connection_id":125598,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125598,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:36:58] local.INFO: Processing buffer {"connection_id":125598,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:36:58] local.INFO: IMEI packet received {"connection_id":125598,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":125598,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:37:01] local.INFO: TCP Data received {"connection_id":126360,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:37:01] local.INFO: Processing buffer {"connection_id":126360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:37:01] local.INFO: IMEI packet received {"connection_id":126360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":126360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:37:01] local.INFO: TCP Data received {"connection_id":125598,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125598,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:37:01] local.INFO: Processing buffer {"connection_id":125598,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:37:01] local.INFO: IMEI packet received {"connection_id":125598,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":125598,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:37:01] local.INFO: TCP Data received {"connection_id":126360,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f9f980012d90e24005883500000800712d..."} 
[2026-07-08 14:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f9f980012d90e24005883500000800712d..."} 
[2026-07-08 14:37:01] local.INFO: Processing buffer {"connection_id":126360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f9f980012d90e24005883500000800712d..."} 
[2026-07-08 14:37:01] local.INFO: Packet analysis {"connection_id":126360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f9"} 
[2026-07-08 14:37:01] local.INFO: Extracted packet for processing {"connection_id":126360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f9"} 
[2026-07-08 14:37:01] local.INFO: GPS Element Parsed {"raw_longitude":764469824,"raw_latitude":92812544,"longitude_deg":76.4469824,"latitude_deg":9.2812544,"altitude":8,"angle":113,"satellites":45,"speed":19,"hex_longitude":"2d90e240","hex_latitude":"05883500","is_valid_coordinates":true} 
[2026-07-08 14:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576394752001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342697377578090496,"note":"Value kept but may cause issues"} 
[2026-07-08 14:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8016688787935688704,"note":"Value kept but may cause issues"} 
[2026-07-08 14:37:01] 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-07-08 14:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783501552000,"timestamp_ms":1783501552000,"timestamp_seconds":1783501552,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f9f980"} 
[2026-07-08 14:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 14:37:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:37:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576394752001,"66":27974,"111":206,"85":14080,"24":19,"16":342697377578090496,"45":-8016688787935688704},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-07-08 14:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576394752001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:37:01] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-08 14:37:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342697377578090496,"km_value":342697377578090.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8016688787935688704,"description":"Unknown IO ID 45"} 
[2026-07-08 14:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576394752001,"power":27974,"unknown_111":206,"unknown_85":14080,"ignition":19,"odometer":null,"unknown_45":-8016688787935688704}} 
[2026-07-08 14:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":126360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:37:02] local.INFO: GPS data processed {"connection_id":126360,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:37:02] local.INFO: Acknowledgment sent {"connection_id":126360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:37:04] local.INFO: TCP Data received {"connection_id":125598,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f9ce88012ccc2d000748a5e0000c00132d..."} 
[2026-07-08 14:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f9ce88012ccc2d000748a5e0000c00132d..."} 
[2026-07-08 14:37:04] local.INFO: Processing buffer {"connection_id":125598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f9ce88012ccc2d000748a5e0000c00132d..."} 
[2026-07-08 14:37:04] local.INFO: Packet analysis {"connection_id":125598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f9"} 
[2026-07-08 14:37:04] local.INFO: Extracted packet for processing {"connection_id":125598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f9"} 
[2026-07-08 14:37:04] local.INFO: GPS Element Parsed {"raw_longitude":751578368,"raw_latitude":122201568,"longitude_deg":75.1578368,"latitude_deg":12.2201568,"altitude":12,"angle":19,"satellites":45,"speed":40,"hex_longitude":"2ccc2d00","hex_latitude":"0748a5e0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 14:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576391680001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133401533889904640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:37:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3737495078226825216,"note":"Value kept but may cause issues"} 
[2026-07-08 14:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783501541000,"timestamp_ms":1783501541000,"timestamp_seconds":1783501541,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f9ce88"} 
[2026-07-08 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-07-08 14:37: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-07-08 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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-08 14:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 14:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125598,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125598,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576391680001,"66":28452,"15":206,"2":54016,"24":40,"16":133401533889904640,"44":-3737495078226825216},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,2,24,16,44]} 
[2026-07-08 14:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576391680001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:37:04] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-08 14:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133401533889904640,"km_value":133401533889904.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:37:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3737495078226825216,"description":"Unknown IO ID 44"} 
[2026-07-08 14:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576391680001,"power":28452,"unknown_15":206,"power_alt":54016,"ignition":40,"odometer":null,"unknown_44":-3737495078226825216}} 
[2026-07-08 14:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":125598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451718,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:37:04] local.INFO: GPS data processed {"connection_id":125598,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:37:04] local.INFO: Acknowledgment sent {"connection_id":125598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:37:06] local.INFO: TCP Data received {"connection_id":125598,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f9f1b0012ccc36c00748c788000e000c2b..."} 
[2026-07-08 14:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f9f1b0012ccc36c00748c788000e000c2b..."} 
[2026-07-08 14:37:06] local.INFO: Processing buffer {"connection_id":125598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f9f1b0012ccc36c00748c788000e000c2b..."} 
[2026-07-08 14:37:06] local.INFO: Packet analysis {"connection_id":125598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f9"} 
[2026-07-08 14:37:06] local.INFO: Extracted packet for processing {"connection_id":125598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f9"} 
[2026-07-08 14:37:06] local.INFO: GPS Element Parsed {"raw_longitude":751580864,"raw_latitude":122210184,"longitude_deg":75.1580864,"latitude_deg":12.2210184,"altitude":14,"angle":12,"satellites":43,"speed":42,"hex_longitude":"2ccc36c0","hex_latitude":"0748c788","is_valid_coordinates":true} 
[2026-07-08 14:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576394496001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133401967681601536,"note":"Value kept but may cause issues"} 
[2026-07-08 14:37:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3734328484736671744,"note":"Value kept but may cause issues"} 
[2026-07-08 14:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783501550000,"timestamp_ms":1783501550000,"timestamp_seconds":1783501550,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f9f1b0"} 
[2026-07-08 14:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 14:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125598,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125598,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576394496001,"66":28354,"15":206,"2":54016,"24":42,"16":133401967681601536,"44":-3734328484736671744},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,2,24,16,44]} 
[2026-07-08 14:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576394496001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:37:06] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-08 14:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133401967681601536,"km_value":133401967681601.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:37:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3734328484736671744,"description":"Unknown IO ID 44"} 
[2026-07-08 14:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576394496001,"power":28354,"unknown_15":206,"power_alt":54016,"ignition":42,"odometer":null,"unknown_44":-3734328484736671744}} 
[2026-07-08 14:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":125598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451719,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:37:06] local.INFO: GPS data processed {"connection_id":125598,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:37:06] local.INFO: Acknowledgment sent {"connection_id":125598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:37:23] local.INFO: TCP Data received {"connection_id":125479,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f96510012d0b130007029fc00002013422..."} 
[2026-07-08 14:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f96510012d0b130007029fc00002013422..."} 
[2026-07-08 14:37:23] local.INFO: Processing buffer {"connection_id":125479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f96510012d0b130007029fc00002013422..."} 
[2026-07-08 14:37:23] local.INFO: Packet analysis {"connection_id":125479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f9"} 
[2026-07-08 14:37:23] local.INFO: Extracted packet for processing {"connection_id":125479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f9"} 
[2026-07-08 14:37:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 14:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576310528001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:37:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783501514000,"timestamp_ms":1783501514000,"timestamp_seconds":1783501514,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f96510"} 
[2026-07-08 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-07-08 14:37:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 14:37:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 14:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":125479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":125479,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":125479,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:37:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576310528001,"66":12548,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576310528001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:37:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576310528001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":125479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451720,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:37:24] local.INFO: GPS data processed {"connection_id":125479,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:37:24] local.INFO: Acknowledgment sent {"connection_id":125479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:37:33] local.INFO: TCP Data received {"connection_id":126360,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f9f980012d90e24005883500000800712d..."} 
[2026-07-08 14:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f9f980012d90e24005883500000800712d..."} 
[2026-07-08 14:37:33] local.INFO: Processing buffer {"connection_id":126360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f9f980012d90e24005883500000800712d..."} 
[2026-07-08 14:37:33] local.INFO: Packet analysis {"connection_id":126360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f9"} 
[2026-07-08 14:37:33] local.INFO: Extracted packet for processing {"connection_id":126360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f9"} 
[2026-07-08 14:37:33] local.INFO: GPS Element Parsed {"raw_longitude":764469824,"raw_latitude":92812544,"longitude_deg":76.4469824,"latitude_deg":9.2812544,"altitude":8,"angle":113,"satellites":45,"speed":19,"hex_longitude":"2d90e240","hex_latitude":"05883500","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576397312001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342697377578090496,"note":"Value kept but may cause issues"} 
[2026-07-08 14:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8006766795007131648,"note":"Value kept but may cause issues"} 
[2026-07-08 14:37:33] 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-07-08 14:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783501552000,"timestamp_ms":1783501552000,"timestamp_seconds":1783501552,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f9f980"} 
[2026-07-08 14:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-08 14:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:37:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576397312001,"66":27974,"111":206,"85":14080,"24":19,"16":342697377578090496,"45":-8006766795007131648},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-07-08 14:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576397312001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:37:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-08 14:37:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342697377578090496,"km_value":342697377578090.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8006766795007131648,"description":"Unknown IO ID 45"} 
[2026-07-08 14:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576397312001,"power":27974,"unknown_111":206,"unknown_85":14080,"ignition":19,"odometer":null,"unknown_45":-8006766795007131648}} 
[2026-07-08 14:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":126360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:37:33] local.INFO: GPS data processed {"connection_id":126360,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:37:33] local.INFO: Acknowledgment sent {"connection_id":126360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:37:38] local.INFO: TCP Data received {"connection_id":125598,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40fa10f0012ccc3c400748e9f8001100052b..."} 
[2026-07-08 14:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40fa10f0012ccc3c400748e9f8001100052b..."} 
[2026-07-08 14:37:38] local.INFO: Processing buffer {"connection_id":125598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40fa10f0012ccc3c400748e9f8001100052b..."} 
[2026-07-08 14:37:38] local.INFO: Packet analysis {"connection_id":125598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40fa"} 
[2026-07-08 14:37:38] local.INFO: Extracted packet for processing {"connection_id":125598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40fa"} 
[2026-07-08 14:37:38] local.INFO: GPS Element Parsed {"raw_longitude":751582272,"raw_latitude":122219000,"longitude_deg":75.1582272,"latitude_deg":12.2219,"altitude":17,"angle":5,"satellites":43,"speed":46,"hex_longitude":"2ccc3c40","hex_latitude":"0748e9f8","is_valid_coordinates":true} 
[2026-07-08 14:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576396800001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133402401473298432,"note":"Value kept but may cause issues"} 
[2026-07-08 14:37:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3731584103711537152,"note":"Value kept but may cause issues"} 
[2026-07-08 14:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783501558000,"timestamp_ms":1783501558000,"timestamp_seconds":1783501558,"priority":1,"record_length":96,"hex_timestamp":"0000019f40fa10f0"} 
[2026-07-08 14:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-08 14:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125598,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125598,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576396800001,"66":28332,"15":206,"2":54016,"24":46,"16":133402401473298432,"44":-3731584103711537152},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,2,24,16,44]} 
[2026-07-08 14:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576396800001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:37:38] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-08 14:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133402401473298432,"km_value":133402401473298.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:37:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3731584103711537152,"description":"Unknown IO ID 44"} 
[2026-07-08 14:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576396800001,"power":28332,"unknown_15":206,"power_alt":54016,"ignition":46,"odometer":null,"unknown_44":-3731584103711537152}} 
[2026-07-08 14:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":125598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451722,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:37:38] local.INFO: GPS data processed {"connection_id":125598,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:37:38] local.INFO: Acknowledgment sent {"connection_id":125598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:37:49] local.INFO: TCP Data received {"connection_id":126361,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126361,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:37:49] local.INFO: Processing buffer {"connection_id":126361,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:37:49] local.INFO: IMEI packet received {"connection_id":126361,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":126361,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:37:54] local.INFO: TCP Data received {"connection_id":127600,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127600,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:37:54] local.INFO: Processing buffer {"connection_id":127600,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:37:54] local.INFO: IMEI packet received {"connection_id":127600,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 14:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":127600,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:37:55] local.INFO: TCP Data received {"connection_id":126361,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126361,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:37:55] local.INFO: Processing buffer {"connection_id":126361,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:37:55] local.INFO: IMEI packet received {"connection_id":126361,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":126361,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:37:57] local.INFO: TCP Data received {"connection_id":126361,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f96510012d0b130007029fc00002013422..."} 
[2026-07-08 14:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f96510012d0b130007029fc00002013422..."} 
[2026-07-08 14:37:57] local.INFO: Processing buffer {"connection_id":126361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f96510012d0b130007029fc00002013422..."} 
[2026-07-08 14:37:57] local.INFO: Packet analysis {"connection_id":126361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f9"} 
[2026-07-08 14:37:57] local.INFO: Extracted packet for processing {"connection_id":126361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f9"} 
[2026-07-08 14:37:57] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576310528001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:37:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783501514000,"timestamp_ms":1783501514000,"timestamp_seconds":1783501514,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f96510"} 
[2026-07-08 14:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:37:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 14:37:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:37:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":126361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":126361,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":126361,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:37:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576310528001,"66":12548,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576310528001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:37:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576310528001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":126361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451723,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:37:57] local.INFO: GPS data processed {"connection_id":126361,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:37:57] local.INFO: Acknowledgment sent {"connection_id":126361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:38:01] local.INFO: TCP Data received {"connection_id":126361,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f96510012d0b130007029fc00002013422..."} 
[2026-07-08 14:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f96510012d0b130007029fc00002013422..."} 
[2026-07-08 14:38:01] local.INFO: Processing buffer {"connection_id":126361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f96510012d0b130007029fc00002013422..."} 
[2026-07-08 14:38:01] local.INFO: Packet analysis {"connection_id":126361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f9"} 
[2026-07-08 14:38:01] local.INFO: Extracted packet for processing {"connection_id":126361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f9"} 
[2026-07-08 14:38:01] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576310528001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:38: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-07-08 14:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783501514000,"timestamp_ms":1783501514000,"timestamp_seconds":1783501514,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f96510"} 
[2026-07-08 14:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:38:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 14:38: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-07-08 14:38:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126361,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126361,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:38:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576310528001,"66":12548,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576310528001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:38:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576310528001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:38:01] local.INFO: TCP Data received {"connection_id":125480,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:38:01] local.INFO: Processing buffer {"connection_id":125480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:38:01] local.INFO: IMEI packet received {"connection_id":125480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":125480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":126361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451724,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:38:01] local.INFO: GPS data processed {"connection_id":126361,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:38:01] local.INFO: Acknowledgment sent {"connection_id":126361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:38:01] local.INFO: TCP Data received {"connection_id":127600,"ip":"117.224.116.179","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-08 14:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127600,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-08 14:38:01] local.INFO: Processing buffer {"connection_id":127600,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-08 14:38:01] local.INFO: IMEI packet received {"connection_id":127600,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":127600,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:38:03] local.INFO: TCP Data received {"connection_id":127600,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40fb0708012ccb9f80074a0190001101492a..."} 
[2026-07-08 14:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40fb0708012ccb9f80074a0190001101492a..."} 
[2026-07-08 14:38:03] local.INFO: Processing buffer {"connection_id":127600,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a0000019f40..."} 
[2026-07-08 14:38:03] local.INFO: IMEI packet received {"connection_id":127600,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":127600,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:38:04] local.INFO: TCP Data received {"connection_id":125480,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:38:04] local.INFO: Processing buffer {"connection_id":125480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:38:04] local.INFO: IMEI packet received {"connection_id":125480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":125480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:38:04] local.INFO: TCP Data received {"connection_id":127600,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40fb12c0012ccb9880074a10c0000f015429..."} 
[2026-07-08 14:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40fb12c0012ccb9880074a10c0000f015429..."} 
[2026-07-08 14:38:04] local.INFO: Processing buffer {"connection_id":127600,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f40fb0708012ccb9f80074a0190001101492a..."} 
[2026-07-08 14:38:04] local.INFO: Packet analysis {"connection_id":127600,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f40fb"} 
[2026-07-08 14:38:04] local.INFO: Extracted packet for processing {"connection_id":127600,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40fb"} 
[2026-07-08 14:38:04] local.INFO: GPS Element Parsed {"raw_longitude":751542144,"raw_latitude":122290576,"longitude_deg":75.1542144,"latitude_deg":12.2290576,"altitude":17,"angle":329,"satellites":42,"speed":55,"hex_longitude":"2ccb9f80","hex_latitude":"074a0190","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576414464001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133406717915430912,"note":"Value kept but may cause issues"} 
[2026-07-08 14:38:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3772257237826205696,"note":"Value kept but may cause issues"} 
[2026-07-08 14:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783501621000,"timestamp_ms":1783501621000,"timestamp_seconds":1783501621,"priority":1,"record_length":96,"hex_timestamp":"0000019f40fb0708"} 
[2026-07-08 14:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14: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-07-08 14: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 14:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":127600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":127600,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":127600,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576414464001,"66":28398,"159":206,"2":54016,"24":55,"16":133406717915430912,"44":-3772257237826205696},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,2,24,16,44]} 
[2026-07-08 14:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576414464001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:38:04] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-08 14:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133406717915430912,"km_value":133406717915430.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:38:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3772257237826205696,"description":"Unknown IO ID 44"} 
[2026-07-08 14:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576414464001,"power":28398,"unknown_159":206,"power_alt":54016,"ignition":55,"odometer":null,"unknown_44":-3772257237826205696}} 
[2026-07-08 14:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":127600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451725,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:38:04] local.INFO: GPS data processed {"connection_id":127600,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:38:04] local.INFO: Acknowledgment sent {"connection_id":127600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:38:04] local.INFO: Packet analysis {"connection_id":127600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40fb"} 
[2026-07-08 14:38:04] local.INFO: Extracted packet for processing {"connection_id":127600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40fb"} 
[2026-07-08 14:38:04] local.INFO: GPS Element Parsed {"raw_longitude":751540352,"raw_latitude":122294464,"longitude_deg":75.1540352,"latitude_deg":12.2294464,"altitude":15,"angle":340,"satellites":41,"speed":57,"hex_longitude":"2ccb9880","hex_latitude":"074a10c0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576414976001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133406924073861120,"note":"Value kept but may cause issues"} 
[2026-07-08 14:38:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3774157193918443520,"note":"Value kept but may cause issues"} 
[2026-07-08 14:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783501624000,"timestamp_ms":1783501624000,"timestamp_seconds":1783501624,"priority":1,"record_length":96,"hex_timestamp":"0000019f40fb12c0"} 
[2026-07-08 14:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14: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-07-08 14: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 14:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":127600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":127600,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":127600,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576414976001,"66":28398,"159":206,"2":54016,"24":57,"16":133406924073861120,"44":-3774157193918443520},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,2,24,16,44]} 
[2026-07-08 14:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576414976001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:38:04] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-08 14:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133406924073861120,"km_value":133406924073861.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:38:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3774157193918443520,"description":"Unknown IO ID 44"} 
[2026-07-08 14:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576414976001,"power":28398,"unknown_159":206,"power_alt":54016,"ignition":57,"odometer":null,"unknown_44":-3774157193918443520}} 
[2026-07-08 14:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":127600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451726,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:38:04] local.INFO: GPS data processed {"connection_id":127600,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:38:04] local.INFO: Acknowledgment sent {"connection_id":127600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:38:05] local.INFO: TCP Data received {"connection_id":125480,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40fa0d08012d90ea4005883240000900662d..."} 
[2026-07-08 14:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40fa0d08012d90ea4005883240000900662d..."} 
[2026-07-08 14:38:05] local.INFO: Processing buffer {"connection_id":125480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40fa0d08012d90ea4005883240000900662d..."} 
[2026-07-08 14:38:05] local.INFO: Packet analysis {"connection_id":125480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40fa"} 
[2026-07-08 14:38:05] local.INFO: Extracted packet for processing {"connection_id":125480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40fa"} 
[2026-07-08 14:38:05] local.INFO: GPS Element Parsed {"raw_longitude":764471872,"raw_latitude":92811840,"longitude_deg":76.4471872,"latitude_deg":9.281184,"altitude":9,"angle":102,"satellites":45,"speed":16,"hex_longitude":"2d90ea40","hex_latitude":"05883240","is_valid_coordinates":true} 
[2026-07-08 14:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576397312001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342697480657305600,"note":"Value kept but may cause issues"} 
[2026-07-08 14:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8006766795007131648,"note":"Value kept but may cause issues"} 
[2026-07-08 14:38:05] 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-07-08 14:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783501557000,"timestamp_ms":1783501557000,"timestamp_seconds":1783501557,"priority":1,"record_length":96,"hex_timestamp":"0000019f40fa0d08"} 
[2026-07-08 14:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-08 14:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576397312001,"66":27800,"111":206,"85":14080,"24":16,"16":342697480657305600,"45":-8006766795007131648},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-07-08 14:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576397312001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:38:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-08 14:38:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342697480657305600,"km_value":342697480657305.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8006766795007131648,"description":"Unknown IO ID 45"} 
[2026-07-08 14:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576397312001,"power":27800,"unknown_111":206,"unknown_85":14080,"ignition":16,"odometer":null,"unknown_45":-8006766795007131648}} 
[2026-07-08 14:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":125480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:38:05] local.INFO: GPS data processed {"connection_id":125480,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:38:05] local.INFO: Acknowledgment sent {"connection_id":125480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:38:06] local.INFO: TCP Data received {"connection_id":125480,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40fa18c0012d90eec0058831e0000900582f..."} 
[2026-07-08 14:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40fa18c0012d90eec0058831e0000900582f..."} 
[2026-07-08 14:38:06] local.INFO: Processing buffer {"connection_id":125480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40fa18c0012d90eec0058831e0000900582f..."} 
[2026-07-08 14:38:06] local.INFO: Packet analysis {"connection_id":125480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40fa"} 
[2026-07-08 14:38:06] local.INFO: Extracted packet for processing {"connection_id":125480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40fa"} 
[2026-07-08 14:38:06] local.INFO: GPS Element Parsed {"raw_longitude":764473024,"raw_latitude":92811744,"longitude_deg":76.4473024,"latitude_deg":9.2811744,"altitude":9,"angle":88,"satellites":47,"speed":9,"hex_longitude":"2d90eec0","hex_latitude":"058831e0","is_valid_coordinates":true} 
[2026-07-08 14:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576398592001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342697536491880448,"note":"Value kept but may cause issues"} 
[2026-07-08 14:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8004514995193626624,"note":"Value kept but may cause issues"} 
[2026-07-08 14:38:06] 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-07-08 14:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783501560000,"timestamp_ms":1783501560000,"timestamp_seconds":1783501560,"priority":1,"record_length":96,"hex_timestamp":"0000019f40fa18c0"} 
[2026-07-08 14:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 14:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576398592001,"66":27865,"111":206,"85":14080,"24":9,"16":342697536491880448,"45":-8004514995193626624},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-07-08 14:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576398592001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:38:06] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-08 14:38:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342697536491880448,"km_value":342697536491880.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8004514995193626624,"description":"Unknown IO ID 45"} 
[2026-07-08 14:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576398592001,"power":27865,"unknown_111":206,"unknown_85":14080,"ignition":9,"odometer":null,"unknown_45":-8004514995193626624}} 
[2026-07-08 14:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":125480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:38:06] local.INFO: GPS data processed {"connection_id":125480,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:38:06] local.INFO: Acknowledgment sent {"connection_id":125480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:38:10] local.INFO: TCP Data received {"connection_id":125599,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:38:10] local.INFO: Processing buffer {"connection_id":125599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:38:10] local.INFO: IMEI packet received {"connection_id":125599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":125599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:38:15] local.INFO: TCP Data received {"connection_id":125599,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:38:15] local.INFO: Processing buffer {"connection_id":125599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:38:15] local.INFO: IMEI packet received {"connection_id":125599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":125599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:38:18] local.INFO: TCP Data received {"connection_id":125599,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f73290012d195380071ff448003c007422..."} 
[2026-07-08 14:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f73290012d195380071ff448003c007422..."} 
[2026-07-08 14:38:18] local.INFO: Processing buffer {"connection_id":125599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f73290012d195380071ff448003c007422..."} 
[2026-07-08 14:38:18] local.INFO: Packet analysis {"connection_id":125599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f7"} 
[2026-07-08 14:38:18] local.INFO: Extracted packet for processing {"connection_id":125599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f7"} 
[2026-07-08 14:38:18] local.INFO: GPS Element Parsed {"raw_longitude":756634496,"raw_latitude":119534664,"longitude_deg":75.6634496,"latitude_deg":11.9534664,"altitude":60,"angle":116,"satellites":34,"speed":8,"hex_longitude":"2d195380","hex_latitude":"071ff448","is_valid_coordinates":true} 
[2026-07-08 14:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576350720001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824943042104412160,"note":"Value kept but may cause issues"} 
[2026-07-08 14:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783501370000,"timestamp_ms":1783501370000,"timestamp_seconds":1783501370,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f73290"} 
[2026-07-08 14:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:38: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-07-08 14:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 14:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":125599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":125599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":125599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576350720001,"66":13993,"121":206,"28":31744,"24":8,"16":4815629001424896,"45":1824943042104412160},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576350720001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:38:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:38:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824943042104412160,"description":"Unknown IO ID 45"} 
[2026-07-08 14:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576350720001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1824943042104412160}} 
[2026-07-08 14:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":125599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:38:18] local.INFO: GPS data processed {"connection_id":125599,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:38:18] local.INFO: Acknowledgment sent {"connection_id":125599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:38:36] local.INFO: TCP Data received {"connection_id":125480,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40fa5b28012d91128005883320000900562e..."} 
[2026-07-08 14:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40fa5b28012d91128005883320000900562e..."} 
[2026-07-08 14:38:36] local.INFO: Processing buffer {"connection_id":125480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40fa5b28012d91128005883320000900562e..."} 
[2026-07-08 14:38:36] local.INFO: Packet analysis {"connection_id":125480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40fa"} 
[2026-07-08 14:38:36] local.INFO: Extracted packet for processing {"connection_id":125480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40fa"} 
[2026-07-08 14:38:36] local.INFO: GPS Element Parsed {"raw_longitude":764482176,"raw_latitude":92812064,"longitude_deg":76.4482176,"latitude_deg":9.2812064,"altitude":9,"angle":86,"satellites":46,"speed":36,"hex_longitude":"2d911280","hex_latitude":"05883320","is_valid_coordinates":true} 
[2026-07-08 14:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576399360001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342697974578544640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8003248357798453248,"note":"Value kept but may cause issues"} 
[2026-07-08 14:38:36] 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-07-08 14:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783501577000,"timestamp_ms":1783501577000,"timestamp_seconds":1783501577,"priority":1,"record_length":96,"hex_timestamp":"0000019f40fa5b28"} 
[2026-07-08 14:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 14:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576399360001,"66":27908,"111":206,"85":14080,"24":36,"16":342697974578544640,"45":-8003248357798453248},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-07-08 14:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576399360001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:38:36] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-08 14:38:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342697974578544640,"km_value":342697974578544.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8003248357798453248,"description":"Unknown IO ID 45"} 
[2026-07-08 14:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576399360001,"power":27908,"unknown_111":206,"unknown_85":14080,"ignition":36,"odometer":null,"unknown_45":-8003248357798453248}} 
[2026-07-08 14:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":125480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:38:36] local.INFO: GPS data processed {"connection_id":125480,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:38:36] local.INFO: Acknowledgment sent {"connection_id":125480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:38:37] local.INFO: TCP Data received {"connection_id":127600,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40fb1e78012ccb9500074a2118000e016227..."} 
[2026-07-08 14:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40fb1e78012ccb9500074a2118000e016227..."} 
[2026-07-08 14:38:37] local.INFO: Processing buffer {"connection_id":127600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40fb1e78012ccb9500074a2118000e016227..."} 
[2026-07-08 14:38:37] local.INFO: Packet analysis {"connection_id":127600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40fb"} 
[2026-07-08 14:38:37] local.INFO: Extracted packet for processing {"connection_id":127600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40fb"} 
[2026-07-08 14:38:37] local.INFO: GPS Element Parsed {"raw_longitude":751539456,"raw_latitude":122298648,"longitude_deg":75.1539456,"latitude_deg":12.2298648,"altitude":14,"angle":354,"satellites":39,"speed":56,"hex_longitude":"2ccb9500","hex_latitude":"074a2118","is_valid_coordinates":true} 
[2026-07-08 14:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576415744001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133407130232291328,"note":"Value kept but may cause issues"} 
[2026-07-08 14:38:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3776127518754422784,"note":"Value kept but may cause issues"} 
[2026-07-08 14:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783501627000,"timestamp_ms":1783501627000,"timestamp_seconds":1783501627,"priority":1,"record_length":96,"hex_timestamp":"0000019f40fb1e78"} 
[2026-07-08 14:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:38: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-07-08 14:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 14:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127600,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127600,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576415744001,"66":28354,"159":206,"2":54016,"24":56,"16":133407130232291328,"44":-3776127518754422784},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,2,24,16,44]} 
[2026-07-08 14:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576415744001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:38:37] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-08 14:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133407130232291328,"km_value":133407130232291.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:38:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3776127518754422784,"description":"Unknown IO ID 44"} 
[2026-07-08 14:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576415744001,"power":28354,"unknown_159":206,"power_alt":54016,"ignition":56,"odometer":null,"unknown_44":-3776127518754422784}} 
[2026-07-08 14:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":127600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451731,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:38:37] local.INFO: GPS data processed {"connection_id":127600,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:38:37] local.INFO: Acknowledgment sent {"connection_id":127600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:38:44] local.INFO: TCP Data received {"connection_id":126362,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126362,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:38:44] local.INFO: Processing buffer {"connection_id":126362,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:38:44] local.INFO: IMEI packet received {"connection_id":126362,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":126362,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:38:49] local.INFO: TCP Data received {"connection_id":126362,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126362,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:38:49] local.INFO: Processing buffer {"connection_id":126362,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:38:49] local.INFO: IMEI packet received {"connection_id":126362,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":126362,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:38:50] local.INFO: TCP Data received {"connection_id":126362,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f96510012d0b130007029fc00002013422..."} 
[2026-07-08 14:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f96510012d0b130007029fc00002013422..."} 
[2026-07-08 14:38:50] local.INFO: Processing buffer {"connection_id":126362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f96510012d0b130007029fc00002013422..."} 
[2026-07-08 14:38:50] local.INFO: Packet analysis {"connection_id":126362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f9"} 
[2026-07-08 14:38:50] local.INFO: Extracted packet for processing {"connection_id":126362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f9"} 
[2026-07-08 14:38:50] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576310528001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783501514000,"timestamp_ms":1783501514000,"timestamp_seconds":1783501514,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f96510"} 
[2026-07-08 14:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 14:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":126362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":126362,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":126362,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576310528001,"66":12548,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576310528001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:38:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576310528001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":126362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451732,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:38:50] local.INFO: GPS data processed {"connection_id":126362,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:38:50] local.INFO: Acknowledgment sent {"connection_id":126362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:38:55] local.INFO: TCP Data received {"connection_id":125481,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:38:55] local.INFO: Processing buffer {"connection_id":125481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:38:55] local.INFO: IMEI packet received {"connection_id":125481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":125481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:38:55] local.INFO: TCP Data received {"connection_id":125481,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:38:55] local.INFO: Processing buffer {"connection_id":125481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:38:55] local.INFO: IMEI packet received {"connection_id":125481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":125481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:38:56] local.INFO: TCP Data received {"connection_id":125482,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125482,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:38:56] local.INFO: Processing buffer {"connection_id":125482,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:38:56] local.INFO: IMEI packet received {"connection_id":125482,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 14:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":125482,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:38:56] local.INFO: TCP Data received {"connection_id":125482,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125482,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:38:56] local.INFO: Processing buffer {"connection_id":125482,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:38:56] local.INFO: IMEI packet received {"connection_id":125482,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":125482,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:39:00] local.INFO: TCP Data received {"connection_id":126363,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:39:00] local.INFO: Processing buffer {"connection_id":126363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:39:00] local.INFO: IMEI packet received {"connection_id":126363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":126363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:39:01] local.INFO: TCP Data received {"connection_id":125481,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:39:01] local.INFO: Processing buffer {"connection_id":125481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:39:01] local.INFO: IMEI packet received {"connection_id":125481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":125481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:39:01] local.INFO: TCP Data received {"connection_id":125482,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125482,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:39:01] local.INFO: Processing buffer {"connection_id":125482,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:39:01] local.INFO: IMEI packet received {"connection_id":125482,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":125482,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:39:01] local.INFO: TCP Data received {"connection_id":125481,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40fbe998012d92428005883d000007005f2d..."} 
[2026-07-08 14:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40fbe998012d92428005883d000007005f2d..."} 
[2026-07-08 14:39:01] local.INFO: Processing buffer {"connection_id":125481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40fbe998012d92428005883d000007005f2d..."} 
[2026-07-08 14:39:01] local.INFO: Packet analysis {"connection_id":125481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40fb"} 
[2026-07-08 14:39:01] local.INFO: Extracted packet for processing {"connection_id":125481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40fb"} 
[2026-07-08 14:39:01] local.INFO: GPS Element Parsed {"raw_longitude":764560000,"raw_latitude":92814592,"longitude_deg":76.456,"latitude_deg":9.2814592,"altitude":7,"angle":95,"satellites":45,"speed":24,"hex_longitude":"2d924280","hex_latitude":"05883d00","is_valid_coordinates":true} 
[2026-07-08 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-07-08 14:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576429312001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342701745559830528,"note":"Value kept but may cause issues"} 
[2026-07-08 14:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7908883871855421440,"note":"Value kept but may cause issues"} 
[2026-07-08 14:39:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783501679000,"timestamp_ms":1783501679000,"timestamp_seconds":1783501679,"priority":1,"record_length":96,"hex_timestamp":"0000019f40fbe998"} 
[2026-07-08 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-07-08 14:39:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 14:39:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 14:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576429312001,"66":27604,"125":206,"85":14080,"24":24,"16":342701745559830528,"45":-7908883871855421440},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-07-08 14:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576429312001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:39:01] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-07-08 14:39:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342701745559830528,"km_value":342701745559830.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7908883871855421440,"description":"Unknown IO ID 45"} 
[2026-07-08 14:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576429312001,"power":27604,"unknown_125":206,"unknown_85":14080,"ignition":24,"odometer":null,"unknown_45":-7908883871855421440}} 
[2026-07-08 14:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":125481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:39:01] local.INFO: GPS data processed {"connection_id":125481,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:39:01] local.INFO: Acknowledgment sent {"connection_id":125481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:39:02] local.INFO: TCP Data received {"connection_id":125482,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40fb2648012ccb9500074a2c08000e000628..."} 
[2026-07-08 14:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40fb2648012ccb9500074a2c08000e000628..."} 
[2026-07-08 14:39:02] local.INFO: Processing buffer {"connection_id":125482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40fb2648012ccb9500074a2c08000e000628..."} 
[2026-07-08 14:39:02] local.INFO: Packet analysis {"connection_id":125482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40fb"} 
[2026-07-08 14:39:02] local.INFO: Extracted packet for processing {"connection_id":125482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40fb"} 
[2026-07-08 14:39:02] local.INFO: GPS Element Parsed {"raw_longitude":751539456,"raw_latitude":122301448,"longitude_deg":75.1539456,"latitude_deg":12.2301448,"altitude":14,"angle":6,"satellites":40,"speed":55,"hex_longitude":"2ccb9500","hex_latitude":"074a2c08","is_valid_coordinates":true} 
[2026-07-08 14:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576416512001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133407267671244800,"note":"Value kept but may cause issues"} 
[2026-07-08 14:39:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3777112681171838976,"note":"Value kept but may cause issues"} 
[2026-07-08 14:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783501629000,"timestamp_ms":1783501629000,"timestamp_seconds":1783501629,"priority":1,"record_length":96,"hex_timestamp":"0000019f40fb2648"} 
[2026-07-08 14:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:39: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-07-08 14:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-08 14:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125482,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125482,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576416512001,"66":28376,"159":206,"2":54016,"24":55,"16":133407267671244800,"44":-3777112681171838976},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,2,24,16,44]} 
[2026-07-08 14:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576416512001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:39:02] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-08 14:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133407267671244800,"km_value":133407267671244.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:39:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3777112681171838976,"description":"Unknown IO ID 44"} 
[2026-07-08 14:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576416512001,"power":28376,"unknown_159":206,"power_alt":54016,"ignition":55,"odometer":null,"unknown_44":-3777112681171838976}} 
[2026-07-08 14:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":125482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451734,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:39:03] local.INFO: GPS data processed {"connection_id":125482,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:39:03] local.INFO: Acknowledgment sent {"connection_id":125482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:39:05] local.INFO: TCP Data received {"connection_id":126363,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:39:05] local.INFO: Processing buffer {"connection_id":126363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:39:05] local.INFO: IMEI packet received {"connection_id":126363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":126363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:39:08] local.INFO: TCP Data received {"connection_id":126363,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f73290012d195380071ff448003c007422..."} 
[2026-07-08 14:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f73290012d195380071ff448003c007422..."} 
[2026-07-08 14:39:08] local.INFO: Processing buffer {"connection_id":126363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f73290012d195380071ff448003c007422..."} 
[2026-07-08 14:39:08] local.INFO: Packet analysis {"connection_id":126363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f7"} 
[2026-07-08 14:39:08] local.INFO: Extracted packet for processing {"connection_id":126363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f7"} 
[2026-07-08 14:39:08] local.INFO: GPS Element Parsed {"raw_longitude":756634496,"raw_latitude":119534664,"longitude_deg":75.6634496,"latitude_deg":11.9534664,"altitude":60,"angle":116,"satellites":34,"speed":8,"hex_longitude":"2d195380","hex_latitude":"071ff448","is_valid_coordinates":true} 
[2026-07-08 14:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576350720001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824943042104412160,"note":"Value kept but may cause issues"} 
[2026-07-08 14:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783501370000,"timestamp_ms":1783501370000,"timestamp_seconds":1783501370,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f73290"} 
[2026-07-08 14:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:39: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-07-08 14:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 14:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576350720001,"66":13993,"121":206,"28":31744,"24":8,"16":4815629001424896,"45":1824943042104412160},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576350720001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:39:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:39:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824943042104412160,"description":"Unknown IO ID 45"} 
[2026-07-08 14:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576350720001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1824943042104412160}} 
[2026-07-08 14:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":126363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:39:09] local.INFO: GPS data processed {"connection_id":126363,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:39:09] local.INFO: Acknowledgment sent {"connection_id":126363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:39:22] local.INFO: TCP Data received {"connection_id":126362,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f96510012d0b130007029fc00002013422..."} 
[2026-07-08 14:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f96510012d0b130007029fc00002013422..."} 
[2026-07-08 14:39:22] local.INFO: Processing buffer {"connection_id":126362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f96510012d0b130007029fc00002013422..."} 
[2026-07-08 14:39:22] local.INFO: Packet analysis {"connection_id":126362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f9"} 
[2026-07-08 14:39:22] local.INFO: Extracted packet for processing {"connection_id":126362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f9"} 
[2026-07-08 14:39:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576310528001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783501514000,"timestamp_ms":1783501514000,"timestamp_seconds":1783501514,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f96510"} 
[2026-07-08 14:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 14:39:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126362,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126362,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576310528001,"66":12548,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576310528001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:39:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576310528001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":126362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451736,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:39:22] local.INFO: GPS data processed {"connection_id":126362,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:39:22] local.INFO: Acknowledgment sent {"connection_id":126362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:39:32] local.INFO: TCP Data received {"connection_id":125481,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40fc1490012d92668005883968000a00652c..."} 
[2026-07-08 14:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40fc1490012d92668005883968000a00652c..."} 
[2026-07-08 14:39:32] local.INFO: Processing buffer {"connection_id":125481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40fc1490012d92668005883968000a00652c..."} 
[2026-07-08 14:39:32] local.INFO: Packet analysis {"connection_id":125481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40fc"} 
[2026-07-08 14:39:32] local.INFO: Extracted packet for processing {"connection_id":125481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40fc"} 
[2026-07-08 14:39:32] local.INFO: GPS Element Parsed {"raw_longitude":764569216,"raw_latitude":92813672,"longitude_deg":76.4569216,"latitude_deg":9.2813672,"altitude":10,"angle":101,"satellites":44,"speed":40,"hex_longitude":"2d926680","hex_latitude":"05883968","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576429824001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342702187941462016,"note":"Value kept but may cause issues"} 
[2026-07-08 14:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7907617234460278784,"note":"Value kept but may cause issues"} 
[2026-07-08 14:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783501690000,"timestamp_ms":1783501690000,"timestamp_seconds":1783501690,"priority":1,"record_length":96,"hex_timestamp":"0000019f40fc1490"} 
[2026-07-08 14:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-08 14:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576429824001,"66":27745,"183":206,"85":14080,"24":40,"16":342702187941462016,"45":-7907617234460278784},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,45]} 
[2026-07-08 14:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576429824001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:39:32] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-08 14:39:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342702187941462016,"km_value":342702187941462.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7907617234460278784,"description":"Unknown IO ID 45"} 
[2026-07-08 14:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576429824001,"power":27745,"unknown_183":206,"unknown_85":14080,"ignition":40,"odometer":null,"unknown_45":-7907617234460278784}} 
[2026-07-08 14:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":125481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:39:32] local.INFO: GPS data processed {"connection_id":125481,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:39:32] local.INFO: Acknowledgment sent {"connection_id":125481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:39:34] local.INFO: TCP Data received {"connection_id":125482,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40fc7a20012ccb2200074b0998000c014c2b..."} 
[2026-07-08 14:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40fc7a20012ccb2200074b0998000c014c2b..."} 
[2026-07-08 14:39:34] local.INFO: Processing buffer {"connection_id":125482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40fc7a20012ccb2200074b0998000c014c2b..."} 
[2026-07-08 14:39:34] local.INFO: Packet analysis {"connection_id":125482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40fc"} 
[2026-07-08 14:39:34] local.INFO: Extracted packet for processing {"connection_id":125482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40fc"} 
[2026-07-08 14:39:34] local.INFO: GPS Element Parsed {"raw_longitude":751510016,"raw_latitude":122358168,"longitude_deg":75.1510016,"latitude_deg":12.2358168,"altitude":12,"angle":332,"satellites":43,"speed":27,"hex_longitude":"2ccb2200","hex_latitude":"074b0998","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576438528001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133410931278348288,"note":"Value kept but may cause issues"} 
[2026-07-08 14:39:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3808145297339377664,"note":"Value kept but may cause issues"} 
[2026-07-08 14:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783501716000,"timestamp_ms":1783501716000,"timestamp_seconds":1783501716,"priority":1,"record_length":96,"hex_timestamp":"0000019f40fc7a20"} 
[2026-07-08 14:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:39: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-07-08 14: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 14:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125482,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125482,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576438528001,"66":28376,"17":206,"2":54016,"24":27,"16":133410931278348288,"44":-3808145297339377664},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,2,24,16,44]} 
[2026-07-08 14:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576438528001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133410931278348288,"km_value":133410931278348.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:39:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3808145297339377664,"description":"Unknown IO ID 44"} 
[2026-07-08 14:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576438528001,"power":28376,"axis_x":206,"power_alt":54016,"ignition":27,"odometer":null,"unknown_44":-3808145297339377664}} 
[2026-07-08 14:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":125482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451738,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:39:34] local.INFO: GPS data processed {"connection_id":125482,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:39:34] local.INFO: Acknowledgment sent {"connection_id":125482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:39:41] local.INFO: TCP Data received {"connection_id":126363,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f73290012d195380071ff448003c007422..."} 
[2026-07-08 14:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f73290012d195380071ff448003c007422..."} 
[2026-07-08 14:39:41] local.INFO: Processing buffer {"connection_id":126363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f73290012d195380071ff448003c007422..."} 
[2026-07-08 14:39:41] local.INFO: Packet analysis {"connection_id":126363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f7"} 
[2026-07-08 14:39:41] local.INFO: Extracted packet for processing {"connection_id":126363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f7"} 
[2026-07-08 14:39:41] local.INFO: GPS Element Parsed {"raw_longitude":756634496,"raw_latitude":119534664,"longitude_deg":75.6634496,"latitude_deg":11.9534664,"altitude":60,"angle":116,"satellites":34,"speed":8,"hex_longitude":"2d195380","hex_latitude":"071ff448","is_valid_coordinates":true} 
[2026-07-08 14:39: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-07-08 14:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576350720001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824943042104412160,"note":"Value kept but may cause issues"} 
[2026-07-08 14:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783501370000,"timestamp_ms":1783501370000,"timestamp_seconds":1783501370,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f73290"} 
[2026-07-08 14:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":169,"data_length":795,"current_offset":136} 
[2026-07-08 14:39: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-07-08 14:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":126363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":126363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":126363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576350720001,"66":13993,"121":206,"28":31744,"24":8,"16":4815629001424896,"45":1824943042104412160},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576350720001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:39:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:39:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824943042104412160,"description":"Unknown IO ID 45"} 
[2026-07-08 14:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576350720001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1824943042104412160}} 
[2026-07-08 14:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":126363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:39:41] local.INFO: GPS data processed {"connection_id":126363,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:39:41] local.INFO: Acknowledgment sent {"connection_id":126363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:39:45] local.INFO: TCP Data received {"connection_id":127601,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127601,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:39:45] local.INFO: Processing buffer {"connection_id":127601,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:39:45] local.INFO: IMEI packet received {"connection_id":127601,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":127601,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:39:50] local.INFO: TCP Data received {"connection_id":127601,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127601,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:39:50] local.INFO: Processing buffer {"connection_id":127601,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:39:50] local.INFO: IMEI packet received {"connection_id":127601,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":127601,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:39:51] local.INFO: TCP Data received {"connection_id":127601,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f96510012d0b130007029fc00002013422..."} 
[2026-07-08 14:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f96510012d0b130007029fc00002013422..."} 
[2026-07-08 14:39:51] local.INFO: Processing buffer {"connection_id":127601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f96510012d0b130007029fc00002013422..."} 
[2026-07-08 14:39:51] local.INFO: Packet analysis {"connection_id":127601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f9"} 
[2026-07-08 14:39:51] local.INFO: Extracted packet for processing {"connection_id":127601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f9"} 
[2026-07-08 14:39:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":2,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576310528001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783501514000,"timestamp_ms":1783501514000,"timestamp_seconds":1783501514,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f96510"} 
[2026-07-08 14:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 14:39:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127601,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127601,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576310528001,"66":12548,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576310528001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:39:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576310528001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":127601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451740,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:39:51] local.INFO: GPS data processed {"connection_id":127601,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:39:51] local.INFO: Acknowledgment sent {"connection_id":127601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:39:56] local.INFO: TCP Data received {"connection_id":127602,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:39:56] local.INFO: Processing buffer {"connection_id":127602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:39:56] local.INFO: IMEI packet received {"connection_id":127602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":127602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:39:56] local.INFO: TCP Data received {"connection_id":127603,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127603,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:39:56] local.INFO: Processing buffer {"connection_id":127603,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:39:56] local.INFO: IMEI packet received {"connection_id":127603,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 14:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":127603,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:40:00] local.INFO: TCP Data received {"connection_id":126364,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:40:00] local.INFO: Processing buffer {"connection_id":126364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:40:00] local.INFO: IMEI packet received {"connection_id":126364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":126364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:40:01] local.INFO: TCP Data received {"connection_id":127603,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127603,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:40:01] local.INFO: Processing buffer {"connection_id":127603,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:40:01] local.INFO: IMEI packet received {"connection_id":127603,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":127603,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:40:02] local.INFO: TCP Data received {"connection_id":127602,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:40:02] local.INFO: Processing buffer {"connection_id":127602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:40:02] local.INFO: IMEI packet received {"connection_id":127602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":127602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:40:02] local.INFO: TCP Data received {"connection_id":127602,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40fc2fe8012d927f4005883190000900712d..."} 
[2026-07-08 14:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40fc2fe8012d927f4005883190000900712d..."} 
[2026-07-08 14:40:02] local.INFO: Processing buffer {"connection_id":127602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40fc2fe8012d927f4005883190000900712d..."} 
[2026-07-08 14:40:02] local.INFO: Packet analysis {"connection_id":127602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40fc"} 
[2026-07-08 14:40:02] local.INFO: Extracted packet for processing {"connection_id":127602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40fc"} 
[2026-07-08 14:40:02] local.INFO: GPS Element Parsed {"raw_longitude":764575552,"raw_latitude":92811664,"longitude_deg":76.4575552,"latitude_deg":9.2811664,"altitude":9,"angle":113,"satellites":45,"speed":27,"hex_longitude":"2d927f40","hex_latitude":"05883190","is_valid_coordinates":true} 
[2026-07-08 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-07-08 14:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576432640001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342702510064009216,"note":"Value kept but may cause issues"} 
[2026-07-08 14:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7897484135298930688,"note":"Value kept but may cause issues"} 
[2026-07-08 14:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783501697000,"timestamp_ms":1783501697000,"timestamp_seconds":1783501697,"priority":1,"record_length":96,"hex_timestamp":"0000019f40fc2fe8"} 
[2026-07-08 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-07-08 14:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 14:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 14:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576432640001,"66":27876,"183":206,"85":14080,"24":27,"16":342702510064009216,"45":-7897484135298930688},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,45]} 
[2026-07-08 14:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576432640001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:40:02] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-08 14:40:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342702510064009216,"km_value":342702510064009.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7897484135298930688,"description":"Unknown IO ID 45"} 
[2026-07-08 14:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576432640001,"power":27876,"unknown_183":206,"unknown_85":14080,"ignition":27,"odometer":null,"unknown_45":-7897484135298930688}} 
[2026-07-08 14:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":127602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:40:02] local.INFO: GPS data processed {"connection_id":127602,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:40:02] local.INFO: Acknowledgment sent {"connection_id":127602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:40:05] local.INFO: TCP Data received {"connection_id":126364,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:40:05] local.INFO: Processing buffer {"connection_id":126364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:40:05] local.INFO: IMEI packet received {"connection_id":126364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":126364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:40:06] local.INFO: TCP Data received {"connection_id":127603,"ip":"117.224.116.179","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127603,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:40:06] local.INFO: Processing buffer {"connection_id":127603,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:40:06] local.INFO: IMEI packet received {"connection_id":127603,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":127603,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:40:06] local.INFO: TCP Data received {"connection_id":126364,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f73290012d195380071ff448003c007422..."} 
[2026-07-08 14:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f73290012d195380071ff448003c007422..."} 
[2026-07-08 14:40:06] local.INFO: Processing buffer {"connection_id":126364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f73290012d195380071ff448003c007422..."} 
[2026-07-08 14:40:06] local.INFO: Packet analysis {"connection_id":126364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f7"} 
[2026-07-08 14:40:06] local.INFO: Extracted packet for processing {"connection_id":126364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f7"} 
[2026-07-08 14:40:06] local.INFO: GPS Element Parsed {"raw_longitude":756634496,"raw_latitude":119534664,"longitude_deg":75.6634496,"latitude_deg":11.9534664,"altitude":60,"angle":116,"satellites":34,"speed":8,"hex_longitude":"2d195380","hex_latitude":"071ff448","is_valid_coordinates":true} 
[2026-07-08 14:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576350720001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824943042104412160,"note":"Value kept but may cause issues"} 
[2026-07-08 14:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783501370000,"timestamp_ms":1783501370000,"timestamp_seconds":1783501370,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f73290"} 
[2026-07-08 14:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 14:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576350720001,"66":13993,"121":206,"28":31744,"24":8,"16":4815629001424896,"45":1824943042104412160},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576350720001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:40:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:40:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824943042104412160,"description":"Unknown IO ID 45"} 
[2026-07-08 14:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576350720001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1824943042104412160}} 
[2026-07-08 14:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":126364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:40:06] local.INFO: GPS data processed {"connection_id":126364,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:40:06] local.INFO: Acknowledgment sent {"connection_id":126364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:40:07] local.INFO: TCP Data received {"connection_id":127603,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40fc89c0012ccb1e80074b1410000d01582d..."} 
[2026-07-08 14:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40fc89c0012ccb1e80074b1410000d01582d..."} 
[2026-07-08 14:40:07] local.INFO: Processing buffer {"connection_id":127603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40fc89c0012ccb1e80074b1410000d01582d..."} 
[2026-07-08 14:40:07] local.INFO: Packet analysis {"connection_id":127603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40fc"} 
[2026-07-08 14:40:07] local.INFO: Extracted packet for processing {"connection_id":127603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40fc"} 
[2026-07-08 14:40:07] local.INFO: GPS Element Parsed {"raw_longitude":751509120,"raw_latitude":122360848,"longitude_deg":75.150912,"latitude_deg":12.2360848,"altitude":13,"angle":344,"satellites":45,"speed":29,"hex_longitude":"2ccb1e80","hex_latitude":"074b1410","is_valid_coordinates":true} 
[2026-07-08 14:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576439296001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133411068717301760,"note":"Value kept but may cause issues"} 
[2026-07-08 14:40:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3809482303478327296,"note":"Value kept but may cause issues"} 
[2026-07-08 14:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783501720000,"timestamp_ms":1783501720000,"timestamp_seconds":1783501720,"priority":1,"record_length":96,"hex_timestamp":"0000019f40fc89c0"} 
[2026-07-08 14:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:40: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-07-08 14:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-08 14:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127603,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127603,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576439296001,"66":28267,"17":206,"2":54016,"24":29,"16":133411068717301760,"44":-3809482303478327296},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,2,24,16,44]} 
[2026-07-08 14:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576439296001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133411068717301760,"km_value":133411068717301.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:40:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3809482303478327296,"description":"Unknown IO ID 44"} 
[2026-07-08 14:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576439296001,"power":28267,"axis_x":206,"power_alt":54016,"ignition":29,"odometer":null,"unknown_44":-3809482303478327296}} 
[2026-07-08 14:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":127603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451743,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:40:07] local.INFO: GPS data processed {"connection_id":127603,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:40:07] local.INFO: Acknowledgment sent {"connection_id":127603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:40:08] local.INFO: TCP Data received {"connection_id":127603,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40fcb4b8012ccb1580074b3660000e015b2c..."} 
[2026-07-08 14:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40fcb4b8012ccb1580074b3660000e015b2c..."} 
[2026-07-08 14:40:08] local.INFO: Processing buffer {"connection_id":127603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40fcb4b8012ccb1580074b3660000e015b2c..."} 
[2026-07-08 14:40:08] local.INFO: Packet analysis {"connection_id":127603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40fc"} 
[2026-07-08 14:40:08] local.INFO: Extracted packet for processing {"connection_id":127603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40fc"} 
[2026-07-08 14:40:08] local.INFO: GPS Element Parsed {"raw_longitude":751506816,"raw_latitude":122369632,"longitude_deg":75.1506816,"latitude_deg":12.2369632,"altitude":14,"angle":347,"satellites":44,"speed":39,"hex_longitude":"2ccb1580","hex_latitude":"074b3660","is_valid_coordinates":true} 
[2026-07-08 14:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576440320001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133411511098933248,"note":"Value kept but may cause issues"} 
[2026-07-08 14:40:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3810467465896128512,"note":"Value kept but may cause issues"} 
[2026-07-08 14:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783501731000,"timestamp_ms":1783501731000,"timestamp_seconds":1783501731,"priority":1,"record_length":96,"hex_timestamp":"0000019f40fcb4b8"} 
[2026-07-08 14:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:40: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-07-08 14:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 14:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1711,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":127603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":127603,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":127603,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576440320001,"66":28278,"96":206,"2":54016,"24":39,"16":133411511098933248,"44":-3810467465896128512},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-07-08 14:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576440320001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:40:08] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-08 14:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133411511098933248,"km_value":133411511098933.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:40:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3810467465896128512,"description":"Unknown IO ID 44"} 
[2026-07-08 14:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576440320001,"power":28278,"unknown_96":206,"power_alt":54016,"ignition":39,"odometer":null,"unknown_44":-3810467465896128512}} 
[2026-07-08 14:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":127603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451744,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:40:08] local.INFO: GPS data processed {"connection_id":127603,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:40:08] local.INFO: Acknowledgment sent {"connection_id":127603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:40:23] local.INFO: TCP Data received {"connection_id":127601,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f40fdfcd8012d0b130007029fc00003013422..."} 
[2026-07-08 14:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40fdfcd8012d0b130007029fc00003013422..."} 
[2026-07-08 14:40:23] local.INFO: Processing buffer {"connection_id":127601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40fdfcd8012d0b130007029fc00003013422..."} 
[2026-07-08 14:40:23] local.INFO: Packet analysis {"connection_id":127601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40fd"} 
[2026-07-08 14:40:23] local.INFO: Extracted packet for processing {"connection_id":127601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40fd"} 
[2026-07-08 14:40:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576387584001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:40:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783501815000,"timestamp_ms":1783501815000,"timestamp_seconds":1783501815,"priority":1,"record_length":96,"hex_timestamp":"0000019f40fdfcd8"} 
[2026-07-08 14:40:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:40:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 14:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31878144650641477,"note":"Value kept but may cause issues"} 
[2026-07-08 14:40:23] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-07-08 14:40:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 14:40:23] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":83886080,"corrected_to":0} 
[2026-07-08 14:40:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-07-08 14:40:23] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3875926017,"note":"Value kept but may cause issues"} 
[2026-07-08 14:40:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-07-08 14:40:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3422879744,"note":"Value kept but may cause issues"} 
[2026-07-08 14:40:23] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,17,94,24,241,157,16,204,159,205,45,5,33,10,66,53,34,240,69,227,64,2,1,4,113,110,19,192,35,239,49,83,7],"length":485,"final_offset":615,"validated_count":33,"validation_warnings":[{"io_id":204,"original":83886080,"validated":0},{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-07-08 14:40:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144453983686098944,"timestamp_seconds":144453983686098.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 14:40:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":127601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":127601,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":127601,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:40:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576387584001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576387584001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:40:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576387584001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":127601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451745,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:40:23] local.INFO: GPS data processed {"connection_id":127601,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:40:23] local.INFO: Acknowledgment sent {"connection_id":127601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:40:34] local.INFO: TCP Data received {"connection_id":127602,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40fc7638012d929800058825a0000b007c2f..."} 
[2026-07-08 14:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40fc7638012d929800058825a0000b007c2f..."} 
[2026-07-08 14:40:34] local.INFO: Processing buffer {"connection_id":127602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40fc7638012d929800058825a0000b007c2f..."} 
[2026-07-08 14:40:34] local.INFO: Packet analysis {"connection_id":127602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40fc"} 
[2026-07-08 14:40:34] local.INFO: Extracted packet for processing {"connection_id":127602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40fc"} 
[2026-07-08 14:40:34] local.INFO: GPS Element Parsed {"raw_longitude":764581888,"raw_latitude":92808608,"longitude_deg":76.4581888,"latitude_deg":9.2808608,"altitude":11,"angle":124,"satellites":47,"speed":26,"hex_longitude":"2d929800","hex_latitude":"058825a0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 14:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576434432001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342702845071458304,"note":"Value kept but may cause issues"} 
[2026-07-08 14:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7890517629625856000,"note":"Value kept but may cause issues"} 
[2026-07-08 14:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783501715000,"timestamp_ms":1783501715000,"timestamp_seconds":1783501715,"priority":1,"record_length":96,"hex_timestamp":"0000019f40fc7638"} 
[2026-07-08 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-07-08 14:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 14:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 14:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576434432001,"66":27919,"127":206,"85":14080,"24":26,"16":342702845071458304,"45":-7890517629625856000},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-07-08 14:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576434432001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:40:34] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-07-08 14:40:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342702845071458304,"km_value":342702845071458.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7890517629625856000,"description":"Unknown IO ID 45"} 
[2026-07-08 14:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576434432001,"power":27919,"unknown_127":206,"unknown_85":14080,"ignition":26,"odometer":null,"unknown_45":-7890517629625856000}} 
[2026-07-08 14:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":127602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:40:34] local.INFO: GPS data processed {"connection_id":127602,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:40:34] local.INFO: Acknowledgment sent {"connection_id":127602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:40:38] local.INFO: TCP Data received {"connection_id":126364,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f73290012d195380071ff448003c007422..."} 
[2026-07-08 14:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f73290012d195380071ff448003c007422..."} 
[2026-07-08 14:40:38] local.INFO: Processing buffer {"connection_id":126364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f73290012d195380071ff448003c007422..."} 
[2026-07-08 14:40:38] local.INFO: Packet analysis {"connection_id":126364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f7"} 
[2026-07-08 14:40:38] local.INFO: Extracted packet for processing {"connection_id":126364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f7"} 
[2026-07-08 14:40:38] local.INFO: GPS Element Parsed {"raw_longitude":756634496,"raw_latitude":119534664,"longitude_deg":75.6634496,"latitude_deg":11.9534664,"altitude":60,"angle":116,"satellites":34,"speed":8,"hex_longitude":"2d195380","hex_latitude":"071ff448","is_valid_coordinates":true} 
[2026-07-08 14:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576350720001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824943042104412160,"note":"Value kept but may cause issues"} 
[2026-07-08 14:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783501370000,"timestamp_ms":1783501370000,"timestamp_seconds":1783501370,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f73290"} 
[2026-07-08 14:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 14:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576350720001,"66":13993,"121":206,"28":31744,"24":8,"16":4815629001424896,"45":1824943042104412160},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576350720001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:40:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:40:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824943042104412160,"description":"Unknown IO ID 45"} 
[2026-07-08 14:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576350720001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1824943042104412160}} 
[2026-07-08 14:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":126364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:40:38] local.INFO: GPS data processed {"connection_id":126364,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:40:38] local.INFO: Acknowledgment sent {"connection_id":126364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:40:40] local.INFO: TCP Data received {"connection_id":127603,"ip":"117.224.116.179","data_length":795,"data_hex":"000000000000030f8e0a0000019f40fcd7e0012ccb0d80074b59a8000e015b2d..."} 
[2026-07-08 14:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40fcd7e0012ccb0d80074b59a8000e015b2d..."} 
[2026-07-08 14:40:40] local.INFO: Processing buffer {"connection_id":127603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40fcd7e0012ccb0d80074b59a8000e015b2d..."} 
[2026-07-08 14:40:40] local.INFO: Packet analysis {"connection_id":127603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40fc"} 
[2026-07-08 14:40:40] local.INFO: Extracted packet for processing {"connection_id":127603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40fc"} 
[2026-07-08 14:40:40] local.INFO: GPS Element Parsed {"raw_longitude":751504768,"raw_latitude":122378664,"longitude_deg":75.1504768,"latitude_deg":12.2378664,"altitude":14,"angle":347,"satellites":45,"speed":43,"hex_longitude":"2ccb0d80","hex_latitude":"074b59a8","is_valid_coordinates":true} 
[2026-07-08 14:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576443136001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133411957775532032,"note":"Value kept but may cause issues"} 
[2026-07-08 14:40:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3813000740684275712,"note":"Value kept but may cause issues"} 
[2026-07-08 14:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783501740000,"timestamp_ms":1783501740000,"timestamp_seconds":1783501740,"priority":1,"record_length":96,"hex_timestamp":"0000019f40fcd7e0"} 
[2026-07-08 14:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 14:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1810,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":127603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":127603,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":127603,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 14:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.116.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 14:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 14:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576443136001,"66":28104,"96":206,"2":54016,"24":43,"16":133411957775532032,"44":-3813000740684275712},"client_ip":"117.224.116.179","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-07-08 14:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 14:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 14:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576443136001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:40:40] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-08 14:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133411957775532032,"km_value":133411957775532.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:40:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3813000740684275712,"description":"Unknown IO ID 44"} 
[2026-07-08 14:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576443136001,"power":28104,"unknown_96":206,"power_alt":54016,"ignition":43,"odometer":null,"unknown_44":-3813000740684275712}} 
[2026-07-08 14:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":127603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451748,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:40:41] local.INFO: GPS data processed {"connection_id":127603,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:40:41] local.INFO: Acknowledgment sent {"connection_id":127603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:40:44] local.INFO: TCP Data received {"connection_id":126365,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126365,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:40:44] local.INFO: Processing buffer {"connection_id":126365,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:40:44] local.INFO: IMEI packet received {"connection_id":126365,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":126365,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:40:50] local.INFO: TCP Data received {"connection_id":126365,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126365,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:40:50] local.INFO: Processing buffer {"connection_id":126365,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:40:50] local.INFO: IMEI packet received {"connection_id":126365,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":126365,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:40:51] local.INFO: TCP Data received {"connection_id":126365,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f40fdfcd8012d0b130007029fc00003013422..."} 
[2026-07-08 14:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40fdfcd8012d0b130007029fc00003013422..."} 
[2026-07-08 14:40:51] local.INFO: Processing buffer {"connection_id":126365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40fdfcd8012d0b130007029fc00003013422..."} 
[2026-07-08 14:40:51] local.INFO: Packet analysis {"connection_id":126365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40fd"} 
[2026-07-08 14:40:51] local.INFO: Extracted packet for processing {"connection_id":126365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40fd"} 
[2026-07-08 14:40:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576387584001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783501815000,"timestamp_ms":1783501815000,"timestamp_seconds":1783501815,"priority":1,"record_length":96,"hex_timestamp":"0000019f40fdfcd8"} 
[2026-07-08 14:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 14:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31878144650641477,"note":"Value kept but may cause issues"} 
[2026-07-08 14:40:51] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-07-08 14:40:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 14:40:51] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":83886080,"corrected_to":0} 
[2026-07-08 14:40:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-07-08 14:40:51] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3875926017,"note":"Value kept but may cause issues"} 
[2026-07-08 14:40:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-07-08 14:40:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3422879744,"note":"Value kept but may cause issues"} 
[2026-07-08 14:40:51] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,17,94,24,241,157,16,204,159,205,45,5,33,10,66,53,34,240,69,227,64,2,1,4,113,110,19,192,35,239,49,83,7],"length":485,"final_offset":615,"validated_count":33,"validation_warnings":[{"io_id":204,"original":83886080,"validated":0},{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-07-08 14:40:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144453983686098944,"timestamp_seconds":144453983686098.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 14:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126365,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126365,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576387584001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576387584001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:40:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576387584001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":126365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451749,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:40:51] local.INFO: GPS data processed {"connection_id":126365,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:40:51] local.INFO: Acknowledgment sent {"connection_id":126365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:40:55] local.INFO: TCP Data received {"connection_id":125600,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:40:55] local.INFO: Processing buffer {"connection_id":125600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:40:55] local.INFO: IMEI packet received {"connection_id":125600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":125600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:40:55] local.INFO: TCP Data received {"connection_id":125600,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:40:55] local.INFO: Processing buffer {"connection_id":125600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:40:55] local.INFO: IMEI packet received {"connection_id":125600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":125600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:41:01] local.INFO: TCP Data received {"connection_id":125600,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:41:01] local.INFO: Processing buffer {"connection_id":125600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:41:01] local.INFO: IMEI packet received {"connection_id":125600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":125600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:41:01] local.INFO: TCP Data received {"connection_id":125600,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40fca130012d92b34005880e48000a00822d..."} 
[2026-07-08 14:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40fca130012d92b34005880e48000a00822d..."} 
[2026-07-08 14:41:02] local.INFO: Processing buffer {"connection_id":125600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40fca130012d92b34005880e48000a00822d..."} 
[2026-07-08 14:41:02] local.INFO: Packet analysis {"connection_id":125600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40fc"} 
[2026-07-08 14:41:02] local.INFO: Extracted packet for processing {"connection_id":125600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40fc"} 
[2026-07-08 14:41:02] local.INFO: GPS Element Parsed {"raw_longitude":764588864,"raw_latitude":92802632,"longitude_deg":76.4588864,"latitude_deg":9.2802632,"altitude":10,"angle":130,"satellites":45,"speed":34,"hex_longitude":"2d92b340","hex_latitude":"05880e48","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576439040001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342703287453089792,"note":"Value kept but may cause issues"} 
[2026-07-08 14:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7883551123953049600,"note":"Value kept but may cause issues"} 
[2026-07-08 14:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783501726000,"timestamp_ms":1783501726000,"timestamp_seconds":1783501726,"priority":1,"record_length":96,"hex_timestamp":"0000019f40fca130"} 
[2026-07-08 14:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 14:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576439040001,"66":27908,"127":206,"85":14080,"24":34,"16":342703287453089792,"45":-7883551123953049600},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-07-08 14:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576439040001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:41:02] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-07-08 14:41:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342703287453089792,"km_value":342703287453089.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7883551123953049600,"description":"Unknown IO ID 45"} 
[2026-07-08 14:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576439040001,"power":27908,"unknown_127":206,"unknown_85":14080,"ignition":34,"odometer":null,"unknown_45":-7883551123953049600}} 
[2026-07-08 14:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":125600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:41:02] local.INFO: GPS data processed {"connection_id":125600,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:41:02] local.INFO: Acknowledgment sent {"connection_id":125600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:41:05] local.INFO: TCP Data received {"connection_id":125483,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:41:05] local.INFO: Processing buffer {"connection_id":125483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:41:05] local.INFO: IMEI packet received {"connection_id":125483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":125483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:41:10] local.INFO: TCP Data received {"connection_id":125483,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:41:10] local.INFO: Processing buffer {"connection_id":125483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:41:10] local.INFO: IMEI packet received {"connection_id":125483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":125483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:41:12] local.INFO: TCP Data received {"connection_id":125483,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f73290012d195380071ff448003c007422..."} 
[2026-07-08 14:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f73290012d195380071ff448003c007422..."} 
[2026-07-08 14:41:12] local.INFO: Processing buffer {"connection_id":125483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f73290012d195380071ff448003c007422..."} 
[2026-07-08 14:41:12] local.INFO: Packet analysis {"connection_id":125483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f7"} 
[2026-07-08 14:41:12] local.INFO: Extracted packet for processing {"connection_id":125483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f7"} 
[2026-07-08 14:41:12] local.INFO: GPS Element Parsed {"raw_longitude":756634496,"raw_latitude":119534664,"longitude_deg":75.6634496,"latitude_deg":11.9534664,"altitude":60,"angle":116,"satellites":34,"speed":8,"hex_longitude":"2d195380","hex_latitude":"071ff448","is_valid_coordinates":true} 
[2026-07-08 14:41: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-07-08 14:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576350720001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824943042104412160,"note":"Value kept but may cause issues"} 
[2026-07-08 14:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783501370000,"timestamp_ms":1783501370000,"timestamp_seconds":1783501370,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f73290"} 
[2026-07-08 14:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 14:41: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-07-08 14:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576350720001,"66":13993,"121":206,"28":31744,"24":8,"16":4815629001424896,"45":1824943042104412160},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576350720001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:41:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:41:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824943042104412160,"description":"Unknown IO ID 45"} 
[2026-07-08 14:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576350720001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1824943042104412160}} 
[2026-07-08 14:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":125483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:41:12] local.INFO: GPS data processed {"connection_id":125483,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:41:12] local.INFO: Acknowledgment sent {"connection_id":125483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:41:16] local.INFO: TCP Data received {"connection_id":125483,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f73290012d195380071ff448003c007422..."} 
[2026-07-08 14:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f73290012d195380071ff448003c007422..."} 
[2026-07-08 14:41:16] local.INFO: Processing buffer {"connection_id":125483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f73290012d195380071ff448003c007422..."} 
[2026-07-08 14:41:16] local.INFO: Packet analysis {"connection_id":125483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f7"} 
[2026-07-08 14:41:16] local.INFO: Extracted packet for processing {"connection_id":125483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f7"} 
[2026-07-08 14:41:16] local.INFO: GPS Element Parsed {"raw_longitude":756634496,"raw_latitude":119534664,"longitude_deg":75.6634496,"latitude_deg":11.9534664,"altitude":60,"angle":116,"satellites":34,"speed":8,"hex_longitude":"2d195380","hex_latitude":"071ff448","is_valid_coordinates":true} 
[2026-07-08 14:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576350720001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824943042104412160,"note":"Value kept but may cause issues"} 
[2026-07-08 14:41:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783501370000,"timestamp_ms":1783501370000,"timestamp_seconds":1783501370,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f73290"} 
[2026-07-08 14:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 14:41: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-07-08 14:41:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":125483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":125483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":125483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576350720001,"66":13993,"121":206,"28":31744,"24":8,"16":4815629001424896,"45":1824943042104412160},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576350720001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:41:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:41:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824943042104412160,"description":"Unknown IO ID 45"} 
[2026-07-08 14:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576350720001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1824943042104412160}} 
[2026-07-08 14:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":125483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:41:16] local.INFO: GPS data processed {"connection_id":125483,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:41:16] local.INFO: Acknowledgment sent {"connection_id":125483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:41:22] local.INFO: TCP Data received {"connection_id":126365,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f40fdfcd8012d0b130007029fc00003013422..."} 
[2026-07-08 14:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40fdfcd8012d0b130007029fc00003013422..."} 
[2026-07-08 14:41:22] local.INFO: Processing buffer {"connection_id":126365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40fdfcd8012d0b130007029fc00003013422..."} 
[2026-07-08 14:41:22] local.INFO: Packet analysis {"connection_id":126365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40fd"} 
[2026-07-08 14:41:22] local.INFO: Extracted packet for processing {"connection_id":126365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40fd"} 
[2026-07-08 14:41:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576387584001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783501815000,"timestamp_ms":1783501815000,"timestamp_seconds":1783501815,"priority":1,"record_length":96,"hex_timestamp":"0000019f40fdfcd8"} 
[2026-07-08 14:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 14:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31878144650641477,"note":"Value kept but may cause issues"} 
[2026-07-08 14:41:22] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-07-08 14:41:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 14:41:22] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":83886080,"corrected_to":0} 
[2026-07-08 14:41:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-07-08 14:41:22] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3875926017,"note":"Value kept but may cause issues"} 
[2026-07-08 14:41:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-07-08 14:41:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3422879744,"note":"Value kept but may cause issues"} 
[2026-07-08 14:41:22] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,17,94,24,241,157,16,204,159,205,45,5,33,10,66,53,34,240,69,227,64,2,1,4,113,110,19,192,35,239,49,83,7],"length":485,"final_offset":615,"validated_count":33,"validation_warnings":[{"io_id":204,"original":83886080,"validated":0},{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-07-08 14:41:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144453983686098944,"timestamp_seconds":144453983686098.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 14:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126365,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126365,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576387584001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576387584001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:41:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576387584001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":126365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451753,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:41:22] local.INFO: GPS data processed {"connection_id":126365,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:41:22] local.INFO: Acknowledgment sent {"connection_id":126365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:41:33] local.INFO: TCP Data received {"connection_id":125600,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40fe2fa0012d92e5000586e908000800a92d..."} 
[2026-07-08 14:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40fe2fa0012d92e5000586e908000800a92d..."} 
[2026-07-08 14:41:33] local.INFO: Processing buffer {"connection_id":125600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40fe2fa0012d92e5000586e908000800a92d..."} 
[2026-07-08 14:41:33] local.INFO: Packet analysis {"connection_id":125600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40fe"} 
[2026-07-08 14:41:33] local.INFO: Extracted packet for processing {"connection_id":125600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40fe"} 
[2026-07-08 14:41:33] local.INFO: GPS Element Parsed {"raw_longitude":764601600,"raw_latitude":92727560,"longitude_deg":76.46016,"latitude_deg":9.272756,"altitude":8,"angle":169,"satellites":45,"speed":34,"hex_longitude":"2d92e500","hex_latitude":"0586e908","is_valid_coordinates":true} 
[2026-07-08 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-07-08 14:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576465152001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342707092794114048,"note":"Value kept but may cause issues"} 
[2026-07-08 14:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7863425663136557056,"note":"Value kept but may cause issues"} 
[2026-07-08 14:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783501828000,"timestamp_ms":1783501828000,"timestamp_seconds":1783501828,"priority":1,"record_length":96,"hex_timestamp":"0000019f40fe2fa0"} 
[2026-07-08 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-07-08 14:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 14:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 14:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576465152001,"66":27908,"42":206,"85":14080,"24":34,"16":342707092794114048,"45":-7863425663136557056},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,85,24,16,45]} 
[2026-07-08 14:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576465152001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:41:33] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-08 14:41:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342707092794114048,"km_value":342707092794114.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7863425663136557056,"description":"Unknown IO ID 45"} 
[2026-07-08 14:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576465152001,"power":27908,"unknown_42":206,"unknown_85":14080,"ignition":34,"odometer":null,"unknown_45":-7863425663136557056}} 
[2026-07-08 14:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":125600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:41:33] local.INFO: GPS data processed {"connection_id":125600,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:41:33] local.INFO: Acknowledgment sent {"connection_id":125600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:41:44] local.INFO: TCP Data received {"connection_id":125601,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125601,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:41:44] local.INFO: Processing buffer {"connection_id":125601,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:41:44] local.INFO: IMEI packet received {"connection_id":125601,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":125601,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:41:50] local.INFO: TCP Data received {"connection_id":125601,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125601,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:41:50] local.INFO: Processing buffer {"connection_id":125601,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:41:50] local.INFO: IMEI packet received {"connection_id":125601,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":125601,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:41:51] local.INFO: TCP Data received {"connection_id":125601,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f40fdfcd8012d0b130007029fc00003013422..."} 
[2026-07-08 14:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40fdfcd8012d0b130007029fc00003013422..."} 
[2026-07-08 14:41:51] local.INFO: Processing buffer {"connection_id":125601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40fdfcd8012d0b130007029fc00003013422..."} 
[2026-07-08 14:41:51] local.INFO: Packet analysis {"connection_id":125601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40fd"} 
[2026-07-08 14:41:51] local.INFO: Extracted packet for processing {"connection_id":125601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40fd"} 
[2026-07-08 14:41:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576387584001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783501815000,"timestamp_ms":1783501815000,"timestamp_seconds":1783501815,"priority":1,"record_length":96,"hex_timestamp":"0000019f40fdfcd8"} 
[2026-07-08 14:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 14:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31878144650641477,"note":"Value kept but may cause issues"} 
[2026-07-08 14:41:51] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-07-08 14:41:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 14:41:51] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":83886080,"corrected_to":0} 
[2026-07-08 14:41:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-07-08 14:41:51] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3875926017,"note":"Value kept but may cause issues"} 
[2026-07-08 14:41:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-07-08 14:41:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3422879744,"note":"Value kept but may cause issues"} 
[2026-07-08 14:41:51] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,17,94,24,241,157,16,204,159,205,45,5,33,10,66,53,34,240,69,227,64,2,1,4,113,110,19,192,35,239,49,83,7],"length":485,"final_offset":615,"validated_count":33,"validation_warnings":[{"io_id":204,"original":83886080,"validated":0},{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-07-08 14:41:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144453983686098944,"timestamp_seconds":144453983686098.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 14:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125601,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125601,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576387584001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576387584001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:41:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576387584001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":125601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451755,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:41:51] local.INFO: GPS data processed {"connection_id":125601,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:41:51] local.INFO: Acknowledgment sent {"connection_id":125601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:41:55] local.INFO: TCP Data received {"connection_id":127604,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:41:55] local.INFO: Processing buffer {"connection_id":127604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:41:55] local.INFO: IMEI packet received {"connection_id":127604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":127604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:42:00] local.INFO: TCP Data received {"connection_id":127604,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:42:00] local.INFO: Processing buffer {"connection_id":127604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:42:00] local.INFO: IMEI packet received {"connection_id":127604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":127604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:42:00] local.INFO: TCP Data received {"connection_id":127605,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:42:00] local.INFO: Processing buffer {"connection_id":127605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:42:00] local.INFO: IMEI packet received {"connection_id":127605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":127605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:42:00] local.INFO: TCP Data received {"connection_id":127604,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:42:00] local.INFO: Processing buffer {"connection_id":127604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:42:00] local.INFO: IMEI packet received {"connection_id":127604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":127604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:42:01] local.INFO: TCP Data received {"connection_id":127604,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40fe56b0012d92ecc00586c420000700a730..."} 
[2026-07-08 14:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40fe56b0012d92ecc00586c420000700a730..."} 
[2026-07-08 14:42:01] local.INFO: Processing buffer {"connection_id":127604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40fe56b0012d92ecc00586c420000700a730..."} 
[2026-07-08 14:42:01] local.INFO: Packet analysis {"connection_id":127604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40fe"} 
[2026-07-08 14:42:01] local.INFO: Extracted packet for processing {"connection_id":127604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40fe"} 
[2026-07-08 14:42:01] local.INFO: GPS Element Parsed {"raw_longitude":764603584,"raw_latitude":92718112,"longitude_deg":76.4603584,"latitude_deg":9.2718112,"altitude":7,"angle":167,"satellites":48,"speed":40,"hex_longitude":"2d92ecc0","hex_latitude":"0586c420","is_valid_coordinates":true} 
[2026-07-08 14:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576467968001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342707560945549312,"note":"Value kept but may cause issues"} 
[2026-07-08 14:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7861877550767077376,"note":"Value kept but may cause issues"} 
[2026-07-08 14:42:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783501838000,"timestamp_ms":1783501838000,"timestamp_seconds":1783501838,"priority":1,"record_length":96,"hex_timestamp":"0000019f40fe56b0"} 
[2026-07-08 14:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 14:42:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:42:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576467968001,"66":28028,"42":206,"85":14080,"24":40,"16":342707560945549312,"45":-7861877550767077376},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,85,24,16,45]} 
[2026-07-08 14:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576467968001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:42:01] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-08 14:42:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342707560945549312,"km_value":342707560945549.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7861877550767077376,"description":"Unknown IO ID 45"} 
[2026-07-08 14:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576467968001,"power":28028,"unknown_42":206,"unknown_85":14080,"ignition":40,"odometer":null,"unknown_45":-7861877550767077376}} 
[2026-07-08 14:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":127604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:42:01] local.INFO: GPS data processed {"connection_id":127604,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:42:01] local.INFO: Acknowledgment sent {"connection_id":127604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:42:06] local.INFO: TCP Data received {"connection_id":127605,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:42:06] local.INFO: Processing buffer {"connection_id":127605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:42:06] local.INFO: IMEI packet received {"connection_id":127605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":127605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:42:06] local.INFO: TCP Data received {"connection_id":127604,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40fe79d8012d92f5000586a068000700a630..."} 
[2026-07-08 14:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40fe79d8012d92f5000586a068000700a630..."} 
[2026-07-08 14:42:06] local.INFO: Processing buffer {"connection_id":127604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40fe79d8012d92f5000586a068000700a630..."} 
[2026-07-08 14:42:06] local.INFO: Packet analysis {"connection_id":127604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40fe"} 
[2026-07-08 14:42:06] local.INFO: Extracted packet for processing {"connection_id":127604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40fe"} 
[2026-07-08 14:42:06] local.INFO: GPS Element Parsed {"raw_longitude":764605696,"raw_latitude":92708968,"longitude_deg":76.4605696,"latitude_deg":9.2708968,"altitude":7,"angle":166,"satellites":48,"speed":43,"hex_longitude":"2d92f500","hex_latitude":"0586a068","is_valid_coordinates":true} 
[2026-07-08 14:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576470528001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342708016212082688,"note":"Value kept but may cause issues"} 
[2026-07-08 14:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7859696119699988480,"note":"Value kept but may cause issues"} 
[2026-07-08 14:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783501847000,"timestamp_ms":1783501847000,"timestamp_seconds":1783501847,"priority":1,"record_length":96,"hex_timestamp":"0000019f40fe79d8"} 
[2026-07-08 14:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-08 14:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576470528001,"66":27745,"42":206,"85":14080,"24":43,"16":342708016212082688,"45":-7859696119699988480},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,85,24,16,45]} 
[2026-07-08 14:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576470528001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:42:06] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-08 14:42:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342708016212082688,"km_value":342708016212082.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7859696119699988480,"description":"Unknown IO ID 45"} 
[2026-07-08 14:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576470528001,"power":27745,"unknown_42":206,"unknown_85":14080,"ignition":43,"odometer":null,"unknown_45":-7859696119699988480}} 
[2026-07-08 14:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":127604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:42:06] local.INFO: GPS data processed {"connection_id":127604,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:42:06] local.INFO: Acknowledgment sent {"connection_id":127604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:42:08] local.INFO: TCP Data received {"connection_id":127605,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f73290012d195380071ff448003c007422..."} 
[2026-07-08 14:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f73290012d195380071ff448003c007422..."} 
[2026-07-08 14:42:08] local.INFO: Processing buffer {"connection_id":127605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f73290012d195380071ff448003c007422..."} 
[2026-07-08 14:42:08] local.INFO: Packet analysis {"connection_id":127605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f7"} 
[2026-07-08 14:42:08] local.INFO: Extracted packet for processing {"connection_id":127605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f7"} 
[2026-07-08 14:42:08] local.INFO: GPS Element Parsed {"raw_longitude":756634496,"raw_latitude":119534664,"longitude_deg":75.6634496,"latitude_deg":11.9534664,"altitude":60,"angle":116,"satellites":34,"speed":8,"hex_longitude":"2d195380","hex_latitude":"071ff448","is_valid_coordinates":true} 
[2026-07-08 14:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576350720001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824943042104412160,"note":"Value kept but may cause issues"} 
[2026-07-08 14:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783501370000,"timestamp_ms":1783501370000,"timestamp_seconds":1783501370,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f73290"} 
[2026-07-08 14:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:42: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-07-08 14: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 14:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":127605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":127605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":127605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576350720001,"66":13993,"121":206,"28":31744,"24":8,"16":4815629001424896,"45":1824943042104412160},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576350720001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:42:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:42:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824943042104412160,"description":"Unknown IO ID 45"} 
[2026-07-08 14:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576350720001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1824943042104412160}} 
[2026-07-08 14:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":127605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:42:08] local.INFO: GPS data processed {"connection_id":127605,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:42:08] local.INFO: Acknowledgment sent {"connection_id":127605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:42:23] local.INFO: TCP Data received {"connection_id":125601,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f40fdfcd8012d0b130007029fc00003013422..."} 
[2026-07-08 14:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40fdfcd8012d0b130007029fc00003013422..."} 
[2026-07-08 14:42:23] local.INFO: Processing buffer {"connection_id":125601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40fdfcd8012d0b130007029fc00003013422..."} 
[2026-07-08 14:42:23] local.INFO: Packet analysis {"connection_id":125601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40fd"} 
[2026-07-08 14:42:23] local.INFO: Extracted packet for processing {"connection_id":125601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40fd"} 
[2026-07-08 14:42:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576387584001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:42:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783501815000,"timestamp_ms":1783501815000,"timestamp_seconds":1783501815,"priority":1,"record_length":96,"hex_timestamp":"0000019f40fdfcd8"} 
[2026-07-08 14:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:42:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 14:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31878144650641477,"note":"Value kept but may cause issues"} 
[2026-07-08 14:42:23] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-07-08 14:42:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 14:42:23] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":83886080,"corrected_to":0} 
[2026-07-08 14:42:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-07-08 14:42:23] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3875926017,"note":"Value kept but may cause issues"} 
[2026-07-08 14:42:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-07-08 14:42:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3422879744,"note":"Value kept but may cause issues"} 
[2026-07-08 14:42:23] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,17,94,24,241,157,16,204,159,205,45,5,33,10,66,53,34,240,69,227,64,2,1,4,113,110,19,192,35,239,49,83,7],"length":485,"final_offset":615,"validated_count":33,"validation_warnings":[{"io_id":204,"original":83886080,"validated":0},{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-07-08 14:42:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144453983686098944,"timestamp_seconds":144453983686098.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 14:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":125601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":125601,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":125601,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:42:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576387584001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576387584001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:42:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576387584001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":125601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451759,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:42:23] local.INFO: GPS data processed {"connection_id":125601,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:42:23] local.INFO: Acknowledgment sent {"connection_id":125601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:42:37] local.INFO: TCP Data received {"connection_id":127604,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40fe9918012d92fd8005867dd0000800a72f..."} 
[2026-07-08 14:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40fe9918012d92fd8005867dd0000800a72f..."} 
[2026-07-08 14:42:37] local.INFO: Processing buffer {"connection_id":127604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40fe9918012d92fd8005867dd0000800a72f..."} 
[2026-07-08 14:42:37] local.INFO: Packet analysis {"connection_id":127604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40fe"} 
[2026-07-08 14:42:37] local.INFO: Extracted packet for processing {"connection_id":127604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40fe"} 
[2026-07-08 14:42:37] local.INFO: GPS Element Parsed {"raw_longitude":764607872,"raw_latitude":92700112,"longitude_deg":76.4607872,"latitude_deg":9.2700112,"altitude":8,"angle":167,"satellites":47,"speed":46,"hex_longitude":"2d92fd80","hex_latitude":"05867dd0","is_valid_coordinates":true} 
[2026-07-08 14:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576472832001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342708458593714176,"note":"Value kept but may cause issues"} 
[2026-07-08 14:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7857373951144466432,"note":"Value kept but may cause issues"} 
[2026-07-08 14:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783501855000,"timestamp_ms":1783501855000,"timestamp_seconds":1783501855,"priority":1,"record_length":96,"hex_timestamp":"0000019f40fe9918"} 
[2026-07-08 14:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 14:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576472832001,"66":27930,"42":206,"85":14080,"24":46,"16":342708458593714176,"45":-7857373951144466432},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,85,24,16,45]} 
[2026-07-08 14:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576472832001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:42:37] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-08 14:42:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342708458593714176,"km_value":342708458593714.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7857373951144466432,"description":"Unknown IO ID 45"} 
[2026-07-08 14:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576472832001,"power":27930,"unknown_42":206,"unknown_85":14080,"ignition":46,"odometer":null,"unknown_45":-7857373951144466432}} 
[2026-07-08 14:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":127604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:42:37] local.INFO: GPS data processed {"connection_id":127604,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:42:37] local.INFO: Acknowledgment sent {"connection_id":127604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:42:40] local.INFO: TCP Data received {"connection_id":127605,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f40f73290012d195380071ff448003c007422..."} 
[2026-07-08 14:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40f73290012d195380071ff448003c007422..."} 
[2026-07-08 14:42:40] local.INFO: Processing buffer {"connection_id":127605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40f73290012d195380071ff448003c007422..."} 
[2026-07-08 14:42:40] local.INFO: Packet analysis {"connection_id":127605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40f7"} 
[2026-07-08 14:42:40] local.INFO: Extracted packet for processing {"connection_id":127605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40f7"} 
[2026-07-08 14:42:40] local.INFO: GPS Element Parsed {"raw_longitude":756634496,"raw_latitude":119534664,"longitude_deg":75.6634496,"latitude_deg":11.9534664,"altitude":60,"angle":116,"satellites":34,"speed":8,"hex_longitude":"2d195380","hex_latitude":"071ff448","is_valid_coordinates":true} 
[2026-07-08 14:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576350720001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824943042104412160,"note":"Value kept but may cause issues"} 
[2026-07-08 14:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783501370000,"timestamp_ms":1783501370000,"timestamp_seconds":1783501370,"priority":1,"record_length":96,"hex_timestamp":"0000019f40f73290"} 
[2026-07-08 14:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 14:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":127605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":127605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":127605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576350720001,"66":13993,"121":206,"28":31744,"24":8,"16":4815629001424896,"45":1824943042104412160},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576350720001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:42:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:42:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824943042104412160,"description":"Unknown IO ID 45"} 
[2026-07-08 14:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576350720001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1824943042104412160}} 
[2026-07-08 14:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":127605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:42:40] local.INFO: GPS data processed {"connection_id":127605,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:42:40] local.INFO: Acknowledgment sent {"connection_id":127605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:42:50] local.INFO: TCP Data received {"connection_id":126366,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126366,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:42:50] local.INFO: Processing buffer {"connection_id":126366,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:42:50] local.INFO: IMEI packet received {"connection_id":126366,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":126366,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:42:55] local.INFO: TCP Data received {"connection_id":126366,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126366,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:42:55] local.INFO: Processing buffer {"connection_id":126366,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:42:55] local.INFO: IMEI packet received {"connection_id":126366,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":126366,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:42:58] local.INFO: TCP Data received {"connection_id":126366,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f40fdfcd8012d0b130007029fc00003013422..."} 
[2026-07-08 14:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40fdfcd8012d0b130007029fc00003013422..."} 
[2026-07-08 14:42:58] local.INFO: Processing buffer {"connection_id":126366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40fdfcd8012d0b130007029fc00003013422..."} 
[2026-07-08 14:42:58] local.INFO: Packet analysis {"connection_id":126366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40fd"} 
[2026-07-08 14:42:58] local.INFO: Extracted packet for processing {"connection_id":126366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40fd"} 
[2026-07-08 14:42:58] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576387584001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:42:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783501815000,"timestamp_ms":1783501815000,"timestamp_seconds":1783501815,"priority":1,"record_length":96,"hex_timestamp":"0000019f40fdfcd8"} 
[2026-07-08 14:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:42:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 14:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31878144650641477,"note":"Value kept but may cause issues"} 
[2026-07-08 14:42:58] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-07-08 14:42:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 14:42:58] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":83886080,"corrected_to":0} 
[2026-07-08 14:42:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-07-08 14:42:58] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3875926017,"note":"Value kept but may cause issues"} 
[2026-07-08 14:42:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-07-08 14:42:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3422879744,"note":"Value kept but may cause issues"} 
[2026-07-08 14:42:58] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,17,94,24,241,157,16,204,159,205,45,5,33,10,66,53,34,240,69,227,64,2,1,4,113,110,19,192,35,239,49,83,7],"length":485,"final_offset":615,"validated_count":33,"validation_warnings":[{"io_id":204,"original":83886080,"validated":0},{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-07-08 14:42:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144453983686098944,"timestamp_seconds":144453983686098.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 14:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":126366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":126366,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":126366,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:42:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576387584001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576387584001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:42:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576387584001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":126366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451762,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:42:59] local.INFO: GPS data processed {"connection_id":126366,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:42:59] local.INFO: Acknowledgment sent {"connection_id":126366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:43:00] local.INFO: TCP Data received {"connection_id":126366,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f40fdfcd8012d0b130007029fc00003013422..."} 
[2026-07-08 14:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40fdfcd8012d0b130007029fc00003013422..."} 
[2026-07-08 14:43:00] local.INFO: Processing buffer {"connection_id":126366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40fdfcd8012d0b130007029fc00003013422..."} 
[2026-07-08 14:43:00] local.INFO: Packet analysis {"connection_id":126366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40fd"} 
[2026-07-08 14:43:00] local.INFO: Extracted packet for processing {"connection_id":126366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40fd"} 
[2026-07-08 14:43:00] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576387584001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783501815000,"timestamp_ms":1783501815000,"timestamp_seconds":1783501815,"priority":1,"record_length":96,"hex_timestamp":"0000019f40fdfcd8"} 
[2026-07-08 14:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 14:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31878144650641477,"note":"Value kept but may cause issues"} 
[2026-07-08 14:43:00] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-07-08 14:43:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 14:43:00] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":83886080,"corrected_to":0} 
[2026-07-08 14:43:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-07-08 14:43:00] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3875926017,"note":"Value kept but may cause issues"} 
[2026-07-08 14:43:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-07-08 14:43:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3422879744,"note":"Value kept but may cause issues"} 
[2026-07-08 14:43:00] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,17,94,24,241,157,16,204,159,205,45,5,33,10,66,53,34,240,69,227,64,2,1,4,113,110,19,192,35,239,49,83,7],"length":485,"final_offset":615,"validated_count":33,"validation_warnings":[{"io_id":204,"original":83886080,"validated":0},{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-07-08 14:43:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144453983686098944,"timestamp_seconds":144453983686098.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 14:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126366,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126366,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576387584001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576387584001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:43:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576387584001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":126366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451763,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:43:01] local.INFO: GPS data processed {"connection_id":126366,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:43:01] local.INFO: Acknowledgment sent {"connection_id":126366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:43:03] local.INFO: TCP Data received {"connection_id":127606,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:43:03] local.INFO: Processing buffer {"connection_id":127606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:43:03] local.INFO: IMEI packet received {"connection_id":127606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":127606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:43:03] local.INFO: TCP Data received {"connection_id":127606,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:43:03] local.INFO: Processing buffer {"connection_id":127606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:43:03] local.INFO: IMEI packet received {"connection_id":127606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":127606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:43:04] local.INFO: TCP Data received {"connection_id":127606,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40feb858012d93048005865a00000800aa2e..."} 
[2026-07-08 14:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40feb858012d93048005865a00000800aa2e..."} 
[2026-07-08 14:43:04] local.INFO: Processing buffer {"connection_id":127606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40feb858012d93048005865a00000800aa2e..."} 
[2026-07-08 14:43:04] local.INFO: Packet analysis {"connection_id":127606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40fe"} 
[2026-07-08 14:43:04] local.INFO: Extracted packet for processing {"connection_id":127606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40fe"} 
[2026-07-08 14:43:04] local.INFO: GPS Element Parsed {"raw_longitude":764609664,"raw_latitude":92690944,"longitude_deg":76.4609664,"latitude_deg":9.2690944,"altitude":8,"angle":170,"satellites":46,"speed":46,"hex_longitude":"2d930480","hex_latitude":"05865a00","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576474880001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342708909565280256,"note":"Value kept but may cause issues"} 
[2026-07-08 14:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7854981413844692992,"note":"Value kept but may cause issues"} 
[2026-07-08 14:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783501863000,"timestamp_ms":1783501863000,"timestamp_seconds":1783501863,"priority":1,"record_length":96,"hex_timestamp":"0000019f40feb858"} 
[2026-07-08 14:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-08 14:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":127606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":127606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":127606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576474880001,"66":27919,"42":206,"85":14080,"24":46,"16":342708909565280256,"45":-7854981413844692992},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,85,24,16,45]} 
[2026-07-08 14:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576474880001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:43:04] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-08 14:43:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 14:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342708909565280256,"km_value":342708909565280.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7854981413844692992,"description":"Unknown IO ID 45"} 
[2026-07-08 14:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576474880001,"power":27919,"unknown_42":206,"unknown_85":14080,"ignition":46,"odometer":null,"unknown_45":-7854981413844692992}} 
[2026-07-08 14:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":127606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:43:04] local.INFO: GPS data processed {"connection_id":127606,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:43:04] local.INFO: Acknowledgment sent {"connection_id":127606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:43:06] local.INFO: TCP Data received {"connection_id":127606,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40fedb80012d930a0005863418000800af2e..."} 
[2026-07-08 14:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40fedb80012d930a0005863418000800af2e..."} 
[2026-07-08 14:43:06] local.INFO: Processing buffer {"connection_id":127606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40fedb80012d930a0005863418000800af2e..."} 
[2026-07-08 14:43:06] local.INFO: Packet analysis {"connection_id":127606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40fe"} 
[2026-07-08 14:43:06] local.INFO: Extracted packet for processing {"connection_id":127606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40fe"} 
[2026-07-08 14:43:06] local.INFO: GPS Element Parsed {"raw_longitude":764611072,"raw_latitude":92681240,"longitude_deg":76.4611072,"latitude_deg":9.268124,"altitude":8,"angle":175,"satellites":46,"speed":41,"hex_longitude":"2d930a00","hex_latitude":"05863418","is_valid_coordinates":true} 
[2026-07-08 14:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576476928001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342709386306650112,"note":"Value kept but may cause issues"} 
[2026-07-08 14:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7853011089010065408,"note":"Value kept but may cause issues"} 
[2026-07-08 14:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783501872000,"timestamp_ms":1783501872000,"timestamp_seconds":1783501872,"priority":1,"record_length":96,"hex_timestamp":"0000019f40fedb80"} 
[2026-07-08 14:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 14:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576476928001,"66":27930,"169":206,"85":15360,"24":41,"16":342709386306650112,"45":-7853011089010065408},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-08 14:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576476928001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:43:06] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-08 14:43:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 14:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342709386306650112,"km_value":342709386306650.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7853011089010065408,"description":"Unknown IO ID 45"} 
[2026-07-08 14:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576476928001,"power":27930,"unknown_169":206,"unknown_85":15360,"ignition":41,"odometer":null,"unknown_45":-7853011089010065408}} 
[2026-07-08 14:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":127606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:43:06] local.INFO: GPS data processed {"connection_id":127606,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:43:06] local.INFO: Acknowledgment sent {"connection_id":127606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:43:15] local.INFO: TCP Data received {"connection_id":125602,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:43:15] local.INFO: Processing buffer {"connection_id":125602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:43:15] local.INFO: IMEI packet received {"connection_id":125602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":125602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:43:20] local.INFO: TCP Data received {"connection_id":125602,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:43:20] local.INFO: Processing buffer {"connection_id":125602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:43:20] local.INFO: IMEI packet received {"connection_id":125602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":125602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:43:22] local.INFO: TCP Data received {"connection_id":125602,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ffdd50012d196380071fef800037006e29..."} 
[2026-07-08 14:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ffdd50012d196380071fef800037006e29..."} 
[2026-07-08 14:43:22] local.INFO: Processing buffer {"connection_id":125602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ffdd50012d196380071fef800037006e29..."} 
[2026-07-08 14:43:22] local.INFO: Packet analysis {"connection_id":125602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ff"} 
[2026-07-08 14:43:22] local.INFO: Extracted packet for processing {"connection_id":125602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ff"} 
[2026-07-08 14:43:22] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 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-07-08 14:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576350720001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824943042104412160,"note":"Value kept but may cause issues"} 
[2026-07-08 14:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783501938000,"timestamp_ms":1783501938000,"timestamp_seconds":1783501938,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ffdd50"} 
[2026-07-08 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-07-08 14:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 14:43: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-07-08 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-07-08 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-07-08 14:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576350720001,"66":2155,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1824943042104412160},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576350720001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:43:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:43:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824943042104412160,"description":"Unknown IO ID 45"} 
[2026-07-08 14:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576350720001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1824943042104412160}} 
[2026-07-08 14:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":125602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:43:22] local.INFO: GPS data processed {"connection_id":125602,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:43:22] local.INFO: Acknowledgment sent {"connection_id":125602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:43:40] local.INFO: TCP Data received {"connection_id":127606,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40fefea8012d930dc005860ee8000800ae2d..."} 
[2026-07-08 14:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40fefea8012d930dc005860ee8000800ae2d..."} 
[2026-07-08 14:43:40] local.INFO: Processing buffer {"connection_id":127606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40fefea8012d930dc005860ee8000800ae2d..."} 
[2026-07-08 14:43:40] local.INFO: Packet analysis {"connection_id":127606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40fe"} 
[2026-07-08 14:43:40] local.INFO: Extracted packet for processing {"connection_id":127606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40fe"} 
[2026-07-08 14:43:40] local.INFO: GPS Element Parsed {"raw_longitude":764612032,"raw_latitude":92671720,"longitude_deg":76.4612032,"latitude_deg":9.267172,"altitude":8,"angle":174,"satellites":45,"speed":44,"hex_longitude":"2d930dc0","hex_latitude":"05860ee8","is_valid_coordinates":true} 
[2026-07-08 14:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576479232001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342709850163118080,"note":"Value kept but may cause issues"} 
[2026-07-08 14:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7851462976640641024,"note":"Value kept but may cause issues"} 
[2026-07-08 14:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783501881000,"timestamp_ms":1783501881000,"timestamp_seconds":1783501881,"priority":1,"record_length":96,"hex_timestamp":"0000019f40fefea8"} 
[2026-07-08 14:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-08 14:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":127606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":127606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":127606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576479232001,"66":28050,"169":206,"85":15360,"24":44,"16":342709850163118080,"45":-7851462976640641024},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-08 14:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576479232001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:43:40] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-08 14:43:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 14:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342709850163118080,"km_value":342709850163118.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7851462976640641024,"description":"Unknown IO ID 45"} 
[2026-07-08 14:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576479232001,"power":28050,"unknown_169":206,"unknown_85":15360,"ignition":44,"odometer":null,"unknown_45":-7851462976640641024}} 
[2026-07-08 14:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":127606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:43:40] local.INFO: GPS data processed {"connection_id":127606,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:43:40] local.INFO: Acknowledgment sent {"connection_id":127606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:43:44] local.INFO: TCP Data received {"connection_id":126367,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126367,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:43:44] local.INFO: Processing buffer {"connection_id":126367,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:43:44] local.INFO: IMEI packet received {"connection_id":126367,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":126367,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:43:50] local.INFO: TCP Data received {"connection_id":126367,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126367,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:43:50] local.INFO: Processing buffer {"connection_id":126367,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:43:50] local.INFO: IMEI packet received {"connection_id":126367,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":126367,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:43:51] local.INFO: TCP Data received {"connection_id":126367,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f40fdfcd8012d0b130007029fc00003013422..."} 
[2026-07-08 14:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40fdfcd8012d0b130007029fc00003013422..."} 
[2026-07-08 14:43:51] local.INFO: Processing buffer {"connection_id":126367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40fdfcd8012d0b130007029fc00003013422..."} 
[2026-07-08 14:43:51] local.INFO: Packet analysis {"connection_id":126367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40fd"} 
[2026-07-08 14:43:51] local.INFO: Extracted packet for processing {"connection_id":126367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40fd"} 
[2026-07-08 14:43:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576387584001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783501815000,"timestamp_ms":1783501815000,"timestamp_seconds":1783501815,"priority":1,"record_length":96,"hex_timestamp":"0000019f40fdfcd8"} 
[2026-07-08 14:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 14:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31878144650641477,"note":"Value kept but may cause issues"} 
[2026-07-08 14:43:51] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-07-08 14:43:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 14:43:51] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":83886080,"corrected_to":0} 
[2026-07-08 14:43:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-07-08 14:43:51] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3875926017,"note":"Value kept but may cause issues"} 
[2026-07-08 14:43:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-07-08 14:43:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3422879744,"note":"Value kept but may cause issues"} 
[2026-07-08 14:43:51] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,17,94,24,241,157,16,204,159,205,45,5,33,10,66,53,34,240,69,227,64,2,1,4,113,110,19,192,35,239,49,83,7],"length":485,"final_offset":615,"validated_count":33,"validation_warnings":[{"io_id":204,"original":83886080,"validated":0},{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-07-08 14:43:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144453983686098944,"timestamp_seconds":144453983686098.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 14:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576387584001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576387584001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:43:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576387584001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":126367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451768,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:43:51] local.INFO: GPS data processed {"connection_id":126367,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:43:51] local.INFO: Acknowledgment sent {"connection_id":126367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:43:56] local.INFO: TCP Data received {"connection_id":125484,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:43:56] local.INFO: Processing buffer {"connection_id":125484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:43:56] local.INFO: IMEI packet received {"connection_id":125484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":125484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:44:00] local.INFO: TCP Data received {"connection_id":125485,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:44:00] local.INFO: Processing buffer {"connection_id":125485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:44:00] local.INFO: IMEI packet received {"connection_id":125485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":125485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:44:01] local.INFO: TCP Data received {"connection_id":125484,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:44:01] local.INFO: Processing buffer {"connection_id":125484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:44:01] local.INFO: IMEI packet received {"connection_id":125484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":125484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:44:01] local.INFO: TCP Data received {"connection_id":125484,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ff21d0012d9312000585eb80000800a92e..."} 
[2026-07-08 14:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ff21d0012d9312000585eb80000800a92e..."} 
[2026-07-08 14:44:01] local.INFO: Processing buffer {"connection_id":125484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ff21d0012d9312000585eb80000800a92e..."} 
[2026-07-08 14:44:01] local.INFO: Packet analysis {"connection_id":125484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ff"} 
[2026-07-08 14:44:01] local.INFO: Extracted packet for processing {"connection_id":125484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ff"} 
[2026-07-08 14:44:01] local.INFO: GPS Element Parsed {"raw_longitude":764613120,"raw_latitude":92662656,"longitude_deg":76.461312,"latitude_deg":9.2662656,"altitude":8,"angle":169,"satellites":46,"speed":37,"hex_longitude":"2d931200","hex_latitude":"0585eb80","is_valid_coordinates":true} 
[2026-07-08 14:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576481536001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342710292544749568,"note":"Value kept but may cause issues"} 
[2026-07-08 14:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7850407445480413184,"note":"Value kept but may cause issues"} 
[2026-07-08 14:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783501890000,"timestamp_ms":1783501890000,"timestamp_seconds":1783501890,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ff21d0"} 
[2026-07-08 14:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-08 14:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576481536001,"66":27267,"169":206,"85":15360,"24":37,"16":342710292544749568,"45":-7850407445480413184},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-08 14:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576481536001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:44:01] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-08 14:44:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 14:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342710292544749568,"km_value":342710292544749.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7850407445480413184,"description":"Unknown IO ID 45"} 
[2026-07-08 14:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576481536001,"power":27267,"unknown_169":206,"unknown_85":15360,"ignition":37,"odometer":null,"unknown_45":-7850407445480413184}} 
[2026-07-08 14:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":125484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:44:01] local.INFO: GPS data processed {"connection_id":125484,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:44:01] local.INFO: Acknowledgment sent {"connection_id":125484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:44:05] local.INFO: TCP Data received {"connection_id":125485,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:44:05] local.INFO: Processing buffer {"connection_id":125485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:44:05] local.INFO: IMEI packet received {"connection_id":125485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":125485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:44:07] local.INFO: TCP Data received {"connection_id":125485,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ffdd50012d196380071fef800037006e29..."} 
[2026-07-08 14:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ffdd50012d196380071fef800037006e29..."} 
[2026-07-08 14:44:07] local.INFO: Processing buffer {"connection_id":125485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ffdd50012d196380071fef800037006e29..."} 
[2026-07-08 14:44:07] local.INFO: Packet analysis {"connection_id":125485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ff"} 
[2026-07-08 14:44:07] local.INFO: Extracted packet for processing {"connection_id":125485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ff"} 
[2026-07-08 14:44:07] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 14:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576350720001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824943042104412160,"note":"Value kept but may cause issues"} 
[2026-07-08 14:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783501938000,"timestamp_ms":1783501938000,"timestamp_seconds":1783501938,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ffdd50"} 
[2026-07-08 14:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:44: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-07-08 14:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 14:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576350720001,"66":2155,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1824943042104412160},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576350720001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:44:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:44:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824943042104412160,"description":"Unknown IO ID 45"} 
[2026-07-08 14:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576350720001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1824943042104412160}} 
[2026-07-08 14:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":125485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:44:07] local.INFO: GPS data processed {"connection_id":125485,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:44:07] local.INFO: Acknowledgment sent {"connection_id":125485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:44:16] local.INFO: TCP Data received {"connection_id":125603,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125603,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:44:16] local.INFO: Processing buffer {"connection_id":125603,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:44:16] local.INFO: IMEI packet received {"connection_id":125603,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 14:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":125603,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:44:23] local.INFO: TCP Data received {"connection_id":126367,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f40fdfcd8012d0b130007029fc00003013422..."} 
[2026-07-08 14:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40fdfcd8012d0b130007029fc00003013422..."} 
[2026-07-08 14:44:23] local.INFO: Processing buffer {"connection_id":126367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40fdfcd8012d0b130007029fc00003013422..."} 
[2026-07-08 14:44:23] local.INFO: Packet analysis {"connection_id":126367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40fd"} 
[2026-07-08 14:44:23] local.INFO: Extracted packet for processing {"connection_id":126367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40fd"} 
[2026-07-08 14:44:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576387584001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783501815000,"timestamp_ms":1783501815000,"timestamp_seconds":1783501815,"priority":1,"record_length":96,"hex_timestamp":"0000019f40fdfcd8"} 
[2026-07-08 14:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:44:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 14:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31878144650641477,"note":"Value kept but may cause issues"} 
[2026-07-08 14:44:23] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-07-08 14:44:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 14:44:23] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":83886080,"corrected_to":0} 
[2026-07-08 14:44:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-07-08 14:44:23] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3875926017,"note":"Value kept but may cause issues"} 
[2026-07-08 14:44:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-07-08 14:44:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3422879744,"note":"Value kept but may cause issues"} 
[2026-07-08 14:44:23] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,17,94,24,241,157,16,204,159,205,45,5,33,10,66,53,34,240,69,227,64,2,1,4,113,110,19,192,35,239,49,83,7],"length":485,"final_offset":615,"validated_count":33,"validation_warnings":[{"io_id":204,"original":83886080,"validated":0},{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-07-08 14:44:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144453983686098944,"timestamp_seconds":144453983686098.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 14:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":126367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":126367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":126367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576387584001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576387584001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:44:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576387584001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":126367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451771,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:44:23] local.INFO: GPS data processed {"connection_id":126367,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:44:23] local.INFO: Acknowledgment sent {"connection_id":126367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:44:33] local.INFO: TCP Data received {"connection_id":125484,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ff48e0012d9319400585c928000800a42e..."} 
[2026-07-08 14:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ff48e0012d9319400585c928000800a42e..."} 
[2026-07-08 14:44:33] local.INFO: Processing buffer {"connection_id":125484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ff48e0012d9319400585c928000800a42e..."} 
[2026-07-08 14:44:33] local.INFO: Packet analysis {"connection_id":125484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ff"} 
[2026-07-08 14:44:33] local.INFO: Extracted packet for processing {"connection_id":125484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ff"} 
[2026-07-08 14:44:33] local.INFO: GPS Element Parsed {"raw_longitude":764614976,"raw_latitude":92653864,"longitude_deg":76.4614976,"latitude_deg":9.2653864,"altitude":8,"angle":164,"satellites":46,"speed":36,"hex_longitude":"2d931940","hex_latitude":"0585c928","is_valid_coordinates":true} 
[2026-07-08 14:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576483840001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342710730631413760,"note":"Value kept but may cause issues"} 
[2026-07-08 14:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7849211176831713280,"note":"Value kept but may cause issues"} 
[2026-07-08 14:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783501900000,"timestamp_ms":1783501900000,"timestamp_seconds":1783501900,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ff48e0"} 
[2026-07-08 14:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:44: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-07-08 14: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 14:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:44:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576483840001,"66":27908,"169":206,"85":15360,"24":36,"16":342710730631413760,"45":-7849211176831713280},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-08 14:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576483840001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:44:33] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-08 14:44:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 14:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342710730631413760,"km_value":342710730631413.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7849211176831713280,"description":"Unknown IO ID 45"} 
[2026-07-08 14:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576483840001,"power":27908,"unknown_169":206,"unknown_85":15360,"ignition":36,"odometer":null,"unknown_45":-7849211176831713280}} 
[2026-07-08 14:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":125484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:44:33] local.INFO: GPS data processed {"connection_id":125484,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:44:33] local.INFO: Acknowledgment sent {"connection_id":125484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:44:39] local.INFO: TCP Data received {"connection_id":125485,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ffdd50012d196380071fef800037006e29..."} 
[2026-07-08 14:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ffdd50012d196380071fef800037006e29..."} 
[2026-07-08 14:44:39] local.INFO: Processing buffer {"connection_id":125485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ffdd50012d196380071fef800037006e29..."} 
[2026-07-08 14:44:39] local.INFO: Packet analysis {"connection_id":125485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ff"} 
[2026-07-08 14:44:39] local.INFO: Extracted packet for processing {"connection_id":125485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ff"} 
[2026-07-08 14:44:39] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 14:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576350720001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824943042104412160,"note":"Value kept but may cause issues"} 
[2026-07-08 14:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783501938000,"timestamp_ms":1783501938000,"timestamp_seconds":1783501938,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ffdd50"} 
[2026-07-08 14:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:44: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-07-08 14:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 14:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:44:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576350720001,"66":2155,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1824943042104412160},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576350720001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:44:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:44:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824943042104412160,"description":"Unknown IO ID 45"} 
[2026-07-08 14:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576350720001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1824943042104412160}} 
[2026-07-08 14:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":125485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:44:39] local.INFO: GPS data processed {"connection_id":125485,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:44:39] local.INFO: Acknowledgment sent {"connection_id":125485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:44:45] local.INFO: TCP Data received {"connection_id":127607,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127607,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:44:45] local.INFO: Processing buffer {"connection_id":127607,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:44:45] local.INFO: IMEI packet received {"connection_id":127607,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":127607,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:44:50] local.INFO: TCP Data received {"connection_id":127607,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127607,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:44:50] local.INFO: Processing buffer {"connection_id":127607,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:44:50] local.INFO: IMEI packet received {"connection_id":127607,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":127607,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:44:51] local.INFO: TCP Data received {"connection_id":127607,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f40fdfcd8012d0b130007029fc00003013422..."} 
[2026-07-08 14:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40fdfcd8012d0b130007029fc00003013422..."} 
[2026-07-08 14:44:51] local.INFO: Processing buffer {"connection_id":127607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40fdfcd8012d0b130007029fc00003013422..."} 
[2026-07-08 14:44:51] local.INFO: Packet analysis {"connection_id":127607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40fd"} 
[2026-07-08 14:44:51] local.INFO: Extracted packet for processing {"connection_id":127607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40fd"} 
[2026-07-08 14:44:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":34,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576387584001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783501815000,"timestamp_ms":1783501815000,"timestamp_seconds":1783501815,"priority":1,"record_length":96,"hex_timestamp":"0000019f40fdfcd8"} 
[2026-07-08 14:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 14:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31878144650641477,"note":"Value kept but may cause issues"} 
[2026-07-08 14:44:51] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-07-08 14:44:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 14:44:51] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":83886080,"corrected_to":0} 
[2026-07-08 14:44:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-07-08 14:44:51] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3875926017,"note":"Value kept but may cause issues"} 
[2026-07-08 14:44:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-07-08 14:44:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3422879744,"note":"Value kept but may cause issues"} 
[2026-07-08 14:44:51] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,17,94,24,241,157,16,204,159,205,45,5,33,10,66,53,34,240,69,227,64,2,1,4,113,110,19,192,35,239,49,83,7],"length":485,"final_offset":615,"validated_count":33,"validation_warnings":[{"io_id":204,"original":83886080,"validated":0},{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-07-08 14:44:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144453983686098944,"timestamp_seconds":144453983686098.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 14:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127607,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127607,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576387584001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576387584001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:44:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576387584001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":127607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451774,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:44:51] local.INFO: GPS data processed {"connection_id":127607,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:44:51] local.INFO: Acknowledgment sent {"connection_id":127607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:44:56] local.INFO: TCP Data received {"connection_id":125605,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:44:56] local.INFO: Processing buffer {"connection_id":125605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:44:56] local.INFO: IMEI packet received {"connection_id":125605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":125605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:45:00] local.INFO: TCP Data received {"connection_id":125605,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:45:00] local.INFO: Processing buffer {"connection_id":125605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:45:00] local.INFO: IMEI packet received {"connection_id":125605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":125605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:45:00] local.INFO: TCP Data received {"connection_id":126368,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:45:00] local.INFO: Processing buffer {"connection_id":126368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:45:00] local.INFO: IMEI packet received {"connection_id":126368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":126368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:45:01] local.INFO: TCP Data received {"connection_id":125605,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41017b60012d937c4005849360000700a12f..."} 
[2026-07-08 14:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41017b60012d937c4005849360000700a12f..."} 
[2026-07-08 14:45:01] local.INFO: Processing buffer {"connection_id":125605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41017b60012d937c4005849360000700a12f..."} 
[2026-07-08 14:45:01] local.INFO: Packet analysis {"connection_id":125605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4101"} 
[2026-07-08 14:45:01] local.INFO: Extracted packet for processing {"connection_id":125605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4101"} 
[2026-07-08 14:45:01] local.INFO: GPS Element Parsed {"raw_longitude":764640320,"raw_latitude":92574560,"longitude_deg":76.464032,"latitude_deg":9.257456,"altitude":7,"angle":161,"satellites":47,"speed":39,"hex_longitude":"2d937c40","hex_latitude":"05849360","is_valid_coordinates":true} 
[2026-07-08 14:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576520192001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342714776490606592,"note":"Value kept but may cause issues"} 
[2026-07-08 14:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7822471054064437248,"note":"Value kept but may cause issues"} 
[2026-07-08 14:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783502044000,"timestamp_ms":1783502044000,"timestamp_seconds":1783502044,"priority":1,"record_length":96,"hex_timestamp":"0000019f41017b60"} 
[2026-07-08 14:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:45: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-07-08 14:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-08 14:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576520192001,"66":27876,"169":206,"85":15360,"24":39,"16":342714776490606592,"45":-7822471054064437248},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-08 14:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576520192001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:45:01] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-08 14:45:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 14:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342714776490606592,"km_value":342714776490606.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7822471054064437248,"description":"Unknown IO ID 45"} 
[2026-07-08 14:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576520192001,"power":27876,"unknown_169":206,"unknown_85":15360,"ignition":39,"odometer":null,"unknown_45":-7822471054064437248}} 
[2026-07-08 14:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":125605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:45:01] local.INFO: GPS data processed {"connection_id":125605,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:45:01] local.INFO: Acknowledgment sent {"connection_id":125605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:45:05] local.INFO: TCP Data received {"connection_id":126368,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:45:05] local.INFO: Processing buffer {"connection_id":126368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:45:05] local.INFO: IMEI packet received {"connection_id":126368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":126368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:45:07] local.INFO: TCP Data received {"connection_id":126368,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ffdd50012d196380071fef800037006e29..."} 
[2026-07-08 14:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ffdd50012d196380071fef800037006e29..."} 
[2026-07-08 14:45:07] local.INFO: Processing buffer {"connection_id":126368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ffdd50012d196380071fef800037006e29..."} 
[2026-07-08 14:45:07] local.INFO: Packet analysis {"connection_id":126368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ff"} 
[2026-07-08 14:45:07] local.INFO: Extracted packet for processing {"connection_id":126368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ff"} 
[2026-07-08 14:45:07] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 14:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576350720001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824943042104412160,"note":"Value kept but may cause issues"} 
[2026-07-08 14:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783501938000,"timestamp_ms":1783501938000,"timestamp_seconds":1783501938,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ffdd50"} 
[2026-07-08 14:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:45: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-07-08 14: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 14:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576350720001,"66":2155,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1824943042104412160},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576350720001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:45:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:45:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824943042104412160,"description":"Unknown IO ID 45"} 
[2026-07-08 14:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576350720001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1824943042104412160}} 
[2026-07-08 14:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":126368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:45:07] local.INFO: GPS data processed {"connection_id":126368,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:45:07] local.INFO: Acknowledgment sent {"connection_id":126368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:45:23] local.INFO: TCP Data received {"connection_id":127607,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f410294a0012d0b130007029fc00003013423..."} 
[2026-07-08 14:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410294a0012d0b130007029fc00003013423..."} 
[2026-07-08 14:45:23] local.INFO: Processing buffer {"connection_id":127607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410294a0012d0b130007029fc00003013423..."} 
[2026-07-08 14:45:23] local.INFO: Packet analysis {"connection_id":127607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4102"} 
[2026-07-08 14:45:23] local.INFO: Extracted packet for processing {"connection_id":127607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4102"} 
[2026-07-08 14:45:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576464640001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783502116000,"timestamp_ms":1783502116000,"timestamp_seconds":1783502116,"priority":1,"record_length":96,"hex_timestamp":"0000019f410294a0"} 
[2026-07-08 14:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:45:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:45:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":127607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":127607,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":127607,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:45:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576464640001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576464640001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:45:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576464640001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":127607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451777,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:45:23] local.INFO: GPS data processed {"connection_id":127607,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:45:23] local.INFO: Acknowledgment sent {"connection_id":127607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:45:31] local.INFO: TCP Data received {"connection_id":125605,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41019e88012d938980058471080007009b2f..."} 
[2026-07-08 14:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41019e88012d938980058471080007009b2f..."} 
[2026-07-08 14:45:31] local.INFO: Processing buffer {"connection_id":125605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41019e88012d938980058471080007009b2f..."} 
[2026-07-08 14:45:31] local.INFO: Packet analysis {"connection_id":125605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4101"} 
[2026-07-08 14:45:31] local.INFO: Extracted packet for processing {"connection_id":125605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4101"} 
[2026-07-08 14:45:31] local.INFO: GPS Element Parsed {"raw_longitude":764643712,"raw_latitude":92565768,"longitude_deg":76.4643712,"latitude_deg":9.2565768,"altitude":7,"angle":155,"satellites":47,"speed":39,"hex_longitude":"2d938980","hex_latitude":"05847108","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576523264001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342715231757139968,"note":"Value kept but may cause issues"} 
[2026-07-08 14:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7819304460578758656,"note":"Value kept but may cause issues"} 
[2026-07-08 14:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783502053000,"timestamp_ms":1783502053000,"timestamp_seconds":1783502053,"priority":1,"record_length":96,"hex_timestamp":"0000019f41019e88"} 
[2026-07-08 14:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 14:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":125605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":125605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":125605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576523264001,"66":27908,"168":206,"85":15360,"24":39,"16":342715231757139968,"45":-7819304460578758656},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-08 14:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576523264001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:45:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-08 14:45:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 14:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342715231757139968,"km_value":342715231757139.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7819304460578758656,"description":"Unknown IO ID 45"} 
[2026-07-08 14:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576523264001,"power":27908,"unknown_168":206,"unknown_85":15360,"ignition":39,"odometer":null,"unknown_45":-7819304460578758656}} 
[2026-07-08 14:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":125605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:45:31] local.INFO: GPS data processed {"connection_id":125605,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:45:31] local.INFO: Acknowledgment sent {"connection_id":125605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:45:39] local.INFO: TCP Data received {"connection_id":126368,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ffdd50012d196380071fef800037006e29..."} 
[2026-07-08 14:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ffdd50012d196380071fef800037006e29..."} 
[2026-07-08 14:45:39] local.INFO: Processing buffer {"connection_id":126368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ffdd50012d196380071fef800037006e29..."} 
[2026-07-08 14:45:39] local.INFO: Packet analysis {"connection_id":126368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ff"} 
[2026-07-08 14:45:39] local.INFO: Extracted packet for processing {"connection_id":126368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ff"} 
[2026-07-08 14:45:39] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 14:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576350720001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824943042104412160,"note":"Value kept but may cause issues"} 
[2026-07-08 14:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783501938000,"timestamp_ms":1783501938000,"timestamp_seconds":1783501938,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ffdd50"} 
[2026-07-08 14:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:45: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-07-08 14: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 14:45:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:45:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576350720001,"66":2155,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1824943042104412160},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576350720001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:45:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:45:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824943042104412160,"description":"Unknown IO ID 45"} 
[2026-07-08 14:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576350720001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1824943042104412160}} 
[2026-07-08 14:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":126368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:45:39] local.INFO: GPS data processed {"connection_id":126368,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:45:39] local.INFO: Acknowledgment sent {"connection_id":126368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:45:44] local.INFO: TCP Data received {"connection_id":127608,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127608,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:45:44] local.INFO: Processing buffer {"connection_id":127608,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:45:44] local.INFO: IMEI packet received {"connection_id":127608,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":127608,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:45:49] local.INFO: TCP Data received {"connection_id":127608,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127608,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:45:49] local.INFO: Processing buffer {"connection_id":127608,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:45:49] local.INFO: IMEI packet received {"connection_id":127608,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":127608,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:45:50] local.INFO: TCP Data received {"connection_id":127608,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f410294a0012d0b130007029fc00003013423..."} 
[2026-07-08 14:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410294a0012d0b130007029fc00003013423..."} 
[2026-07-08 14:45:50] local.INFO: Processing buffer {"connection_id":127608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410294a0012d0b130007029fc00003013423..."} 
[2026-07-08 14:45:50] local.INFO: Packet analysis {"connection_id":127608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4102"} 
[2026-07-08 14:45:50] local.INFO: Extracted packet for processing {"connection_id":127608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4102"} 
[2026-07-08 14:45:50] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576464640001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:45:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783502116000,"timestamp_ms":1783502116000,"timestamp_seconds":1783502116,"priority":1,"record_length":96,"hex_timestamp":"0000019f410294a0"} 
[2026-07-08 14:45:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:45:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:45:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:45:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:45:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":127608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":127608,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":127608,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:45:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576464640001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576464640001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:45:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:45:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576464640001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":127608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451780,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:45:51] local.INFO: GPS data processed {"connection_id":127608,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:45:51] local.INFO: Acknowledgment sent {"connection_id":127608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:45:55] local.INFO: TCP Data received {"connection_id":125486,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:45:55] local.INFO: Processing buffer {"connection_id":125486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:45:55] local.INFO: IMEI packet received {"connection_id":125486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":125486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:45:56] local.INFO: TCP Data received {"connection_id":125486,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:45:56] local.INFO: Processing buffer {"connection_id":125486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:45:56] local.INFO: IMEI packet received {"connection_id":125486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":125486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:46:01] local.INFO: TCP Data received {"connection_id":125486,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:46:01] local.INFO: Processing buffer {"connection_id":125486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:46:01] local.INFO: IMEI packet received {"connection_id":125486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":125486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:46:02] local.INFO: TCP Data received {"connection_id":125486,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f4101c1b0012d93978005844f800007009b30..."} 
[2026-07-08 14:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4101c1b0012d93978005844f800007009b30..."} 
[2026-07-08 14:46:02] local.INFO: Processing buffer {"connection_id":125486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4101c1b0012d93978005844f800007009b30..."} 
[2026-07-08 14:46:02] local.INFO: Packet analysis {"connection_id":125486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4101"} 
[2026-07-08 14:46:02] local.INFO: Extracted packet for processing {"connection_id":125486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4101"} 
[2026-07-08 14:46:02] local.INFO: GPS Element Parsed {"raw_longitude":764647296,"raw_latitude":92557184,"longitude_deg":76.4647296,"latitude_deg":9.2557184,"altitude":7,"angle":155,"satellites":48,"speed":40,"hex_longitude":"2d939780","hex_latitude":"05844f80","is_valid_coordinates":true} 
[2026-07-08 14:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576525568001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342715682728706048,"note":"Value kept but may cause issues"} 
[2026-07-08 14:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7815574917139593216,"note":"Value kept but may cause issues"} 
[2026-07-08 14:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783502062000,"timestamp_ms":1783502062000,"timestamp_seconds":1783502062,"priority":1,"record_length":96,"hex_timestamp":"0000019f4101c1b0"} 
[2026-07-08 14:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 14:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576525568001,"66":27876,"168":206,"85":15360,"24":40,"16":342715682728706048,"45":-7815574917139593216},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-08 14:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576525568001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:46:02] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-08 14:46:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 14:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342715682728706048,"km_value":342715682728706.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7815574917139593216,"description":"Unknown IO ID 45"} 
[2026-07-08 14:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576525568001,"power":27876,"unknown_168":206,"unknown_85":15360,"ignition":40,"odometer":null,"unknown_45":-7815574917139593216}} 
[2026-07-08 14:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":125486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:46:02] local.INFO: GPS data processed {"connection_id":125486,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:46:02] local.INFO: Acknowledgment sent {"connection_id":125486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:46:05] local.INFO: TCP Data received {"connection_id":127609,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:46:05] local.INFO: Processing buffer {"connection_id":127609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:46:05] local.INFO: IMEI packet received {"connection_id":127609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":127609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:46:10] local.INFO: TCP Data received {"connection_id":127609,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:46:10] local.INFO: Processing buffer {"connection_id":127609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:46:10] local.INFO: IMEI packet received {"connection_id":127609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":127609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:46:12] local.INFO: TCP Data received {"connection_id":127609,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ffdd50012d196380071fef800037006e29..."} 
[2026-07-08 14:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ffdd50012d196380071fef800037006e29..."} 
[2026-07-08 14:46:12] local.INFO: Processing buffer {"connection_id":127609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ffdd50012d196380071fef800037006e29..."} 
[2026-07-08 14:46:12] local.INFO: Packet analysis {"connection_id":127609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ff"} 
[2026-07-08 14:46:12] local.INFO: Extracted packet for processing {"connection_id":127609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ff"} 
[2026-07-08 14:46:12] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 14:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576350720001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824943042104412160,"note":"Value kept but may cause issues"} 
[2026-07-08 14:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783501938000,"timestamp_ms":1783501938000,"timestamp_seconds":1783501938,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ffdd50"} 
[2026-07-08 14:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 14:46: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-07-08 14:46:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":127609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":127609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":127609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576350720001,"66":2155,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1824943042104412160},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576350720001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:46:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:46:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824943042104412160,"description":"Unknown IO ID 45"} 
[2026-07-08 14:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576350720001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1824943042104412160}} 
[2026-07-08 14:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":127609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:46:12] local.INFO: GPS data processed {"connection_id":127609,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:46:12] local.INFO: Acknowledgment sent {"connection_id":127609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:46:16] local.INFO: TCP Data received {"connection_id":127609,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ffdd50012d196380071fef800037006e29..."} 
[2026-07-08 14:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ffdd50012d196380071fef800037006e29..."} 
[2026-07-08 14:46:16] local.INFO: Processing buffer {"connection_id":127609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ffdd50012d196380071fef800037006e29..."} 
[2026-07-08 14:46:16] local.INFO: Packet analysis {"connection_id":127609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ff"} 
[2026-07-08 14:46:16] local.INFO: Extracted packet for processing {"connection_id":127609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ff"} 
[2026-07-08 14:46:16] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 14:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576350720001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824943042104412160,"note":"Value kept but may cause issues"} 
[2026-07-08 14:46:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783501938000,"timestamp_ms":1783501938000,"timestamp_seconds":1783501938,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ffdd50"} 
[2026-07-08 14:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:46:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 14:46: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-07-08 14:46:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":127609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":127609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":127609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:46:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576350720001,"66":2155,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1824943042104412160},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576350720001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:46:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:46:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824943042104412160,"description":"Unknown IO ID 45"} 
[2026-07-08 14:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576350720001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1824943042104412160}} 
[2026-07-08 14:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":127609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:46:16] local.INFO: GPS data processed {"connection_id":127609,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:46:16] local.INFO: Acknowledgment sent {"connection_id":127609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:46:22] local.INFO: TCP Data received {"connection_id":127608,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f410294a0012d0b130007029fc00003013423..."} 
[2026-07-08 14:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410294a0012d0b130007029fc00003013423..."} 
[2026-07-08 14:46:22] local.INFO: Processing buffer {"connection_id":127608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410294a0012d0b130007029fc00003013423..."} 
[2026-07-08 14:46:22] local.INFO: Packet analysis {"connection_id":127608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4102"} 
[2026-07-08 14:46:22] local.INFO: Extracted packet for processing {"connection_id":127608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4102"} 
[2026-07-08 14:46:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576464640001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783502116000,"timestamp_ms":1783502116000,"timestamp_seconds":1783502116,"priority":1,"record_length":96,"hex_timestamp":"0000019f410294a0"} 
[2026-07-08 14:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:46:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:46:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":127608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":127608,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":127608,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576464640001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576464640001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:46:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576464640001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":127608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451784,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:46:22] local.INFO: GPS data processed {"connection_id":127608,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:46:22] local.INFO: Acknowledgment sent {"connection_id":127608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:46:33] local.INFO: TCP Data received {"connection_id":125486,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f4101e4d8012d93a68005842d380007009e30..."} 
[2026-07-08 14:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4101e4d8012d93a68005842d380007009e30..."} 
[2026-07-08 14:46:33] local.INFO: Processing buffer {"connection_id":125486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4101e4d8012d93a68005842d380007009e30..."} 
[2026-07-08 14:46:33] local.INFO: Packet analysis {"connection_id":125486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4101"} 
[2026-07-08 14:46:33] local.INFO: Extracted packet for processing {"connection_id":125486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4101"} 
[2026-07-08 14:46:33] local.INFO: GPS Element Parsed {"raw_longitude":764651136,"raw_latitude":92548408,"longitude_deg":76.4651136,"latitude_deg":9.2548408,"altitude":7,"angle":158,"satellites":48,"speed":45,"hex_longitude":"2d93a680","hex_latitude":"05842d38","is_valid_coordinates":true} 
[2026-07-08 14:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576527872001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342716146585174016,"note":"Value kept but may cause issues"} 
[2026-07-08 14:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7811634267467841536,"note":"Value kept but may cause issues"} 
[2026-07-08 14:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783502071000,"timestamp_ms":1783502071000,"timestamp_seconds":1783502071,"priority":1,"record_length":96,"hex_timestamp":"0000019f4101e4d8"} 
[2026-07-08 14:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:46: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-07-08 14:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 14:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:46:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576527872001,"66":27930,"168":206,"85":15360,"24":45,"16":342716146585174016,"45":-7811634267467841536},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-08 14:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576527872001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:46:33] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-08 14:46:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 14:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342716146585174016,"km_value":342716146585174.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7811634267467841536,"description":"Unknown IO ID 45"} 
[2026-07-08 14:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576527872001,"power":27930,"unknown_168":206,"unknown_85":15360,"ignition":45,"odometer":null,"unknown_45":-7811634267467841536}} 
[2026-07-08 14:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":125486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:46:33] local.INFO: GPS data processed {"connection_id":125486,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:46:33] local.INFO: Acknowledgment sent {"connection_id":125486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:46:44] local.INFO: TCP Data received {"connection_id":125607,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125607,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:46:44] local.INFO: Processing buffer {"connection_id":125607,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:46:44] local.INFO: IMEI packet received {"connection_id":125607,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":125607,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:46:50] local.INFO: TCP Data received {"connection_id":125607,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125607,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:46:50] local.INFO: Processing buffer {"connection_id":125607,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:46:50] local.INFO: IMEI packet received {"connection_id":125607,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":125607,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:46:51] local.INFO: TCP Data received {"connection_id":125607,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f410294a0012d0b130007029fc00003013423..."} 
[2026-07-08 14:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410294a0012d0b130007029fc00003013423..."} 
[2026-07-08 14:46:51] local.INFO: Processing buffer {"connection_id":125607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410294a0012d0b130007029fc00003013423..."} 
[2026-07-08 14:46:51] local.INFO: Packet analysis {"connection_id":125607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4102"} 
[2026-07-08 14:46:51] local.INFO: Extracted packet for processing {"connection_id":125607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4102"} 
[2026-07-08 14:46:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576464640001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783502116000,"timestamp_ms":1783502116000,"timestamp_seconds":1783502116,"priority":1,"record_length":96,"hex_timestamp":"0000019f410294a0"} 
[2026-07-08 14:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125607,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125607,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576464640001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576464640001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:46:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576464640001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":125607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451786,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:46:51] local.INFO: GPS data processed {"connection_id":125607,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:46:51] local.INFO: Acknowledgment sent {"connection_id":125607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:46:55] local.INFO: TCP Data received {"connection_id":125487,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:46:55] local.INFO: Processing buffer {"connection_id":125487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:46:55] local.INFO: IMEI packet received {"connection_id":125487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":125487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:47:01] local.INFO: TCP Data received {"connection_id":125487,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:47:01] local.INFO: Processing buffer {"connection_id":125487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:47:01] local.INFO: IMEI packet received {"connection_id":125487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":125487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:47:01] local.INFO: TCP Data received {"connection_id":125487,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41032140012d9429400582b248000800a12f..."} 
[2026-07-08 14:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41032140012d9429400582b248000800a12f..."} 
[2026-07-08 14:47:01] local.INFO: Processing buffer {"connection_id":125487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41032140012d9429400582b248000800a12f..."} 
[2026-07-08 14:47:01] local.INFO: Packet analysis {"connection_id":125487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4103"} 
[2026-07-08 14:47:01] local.INFO: Extracted packet for processing {"connection_id":125487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4103"} 
[2026-07-08 14:47:01] local.INFO: GPS Element Parsed {"raw_longitude":764684608,"raw_latitude":92451400,"longitude_deg":76.4684608,"latitude_deg":9.24514,"altitude":8,"angle":161,"satellites":47,"speed":44,"hex_longitude":"2d942940","hex_latitude":"0582b248","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576548608001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342721115862335488,"note":"Value kept but may cause issues"} 
[2026-07-08 14:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7773986989357473792,"note":"Value kept but may cause issues"} 
[2026-07-08 14:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783502152000,"timestamp_ms":1783502152000,"timestamp_seconds":1783502152,"priority":1,"record_length":96,"hex_timestamp":"0000019f41032140"} 
[2026-07-08 14:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:47: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-07-08 14: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 14:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576548608001,"66":27767,"17":206,"85":15360,"24":44,"16":342721115862335488,"45":-7773986989357473792},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-07-08 14:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576548608001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:47:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 14:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342721115862335488,"km_value":342721115862335.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7773986989357473792,"description":"Unknown IO ID 45"} 
[2026-07-08 14:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576548608001,"power":27767,"axis_x":206,"unknown_85":15360,"ignition":44,"odometer":null,"unknown_45":-7773986989357473792}} 
[2026-07-08 14:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":125487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:47:01] local.INFO: GPS data processed {"connection_id":125487,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:47:01] local.INFO: Acknowledgment sent {"connection_id":125487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:47:02] local.INFO: TCP Data received {"connection_id":127611,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:47:02] local.INFO: Processing buffer {"connection_id":127611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:47:02] local.INFO: IMEI packet received {"connection_id":127611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":127611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:47:06] local.INFO: TCP Data received {"connection_id":127611,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:47:06] local.INFO: Processing buffer {"connection_id":127611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:47:06] local.INFO: IMEI packet received {"connection_id":127611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":127611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:47:07] local.INFO: TCP Data received {"connection_id":127611,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ffdd50012d196380071fef800037006e29..."} 
[2026-07-08 14:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ffdd50012d196380071fef800037006e29..."} 
[2026-07-08 14:47:07] local.INFO: Processing buffer {"connection_id":127611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ffdd50012d196380071fef800037006e29..."} 
[2026-07-08 14:47:07] local.INFO: Packet analysis {"connection_id":127611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ff"} 
[2026-07-08 14:47:07] local.INFO: Extracted packet for processing {"connection_id":127611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ff"} 
[2026-07-08 14:47:07] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 14:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576350720001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824943042104412160,"note":"Value kept but may cause issues"} 
[2026-07-08 14:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783501938000,"timestamp_ms":1783501938000,"timestamp_seconds":1783501938,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ffdd50"} 
[2026-07-08 14:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:47: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-07-08 14:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 14:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576350720001,"66":2155,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1824943042104412160},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576350720001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:47:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:47:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824943042104412160,"description":"Unknown IO ID 45"} 
[2026-07-08 14:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576350720001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1824943042104412160}} 
[2026-07-08 14:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":127611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:47:07] local.INFO: GPS data processed {"connection_id":127611,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:47:07] local.INFO: Acknowledgment sent {"connection_id":127611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:47:11] local.INFO: TCP Data received {"connection_id":127611,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ffdd50012d196380071fef800037006e29..."} 
[2026-07-08 14:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ffdd50012d196380071fef800037006e29..."} 
[2026-07-08 14:47:11] local.INFO: Processing buffer {"connection_id":127611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ffdd50012d196380071fef800037006e29..."} 
[2026-07-08 14:47:11] local.INFO: Packet analysis {"connection_id":127611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ff"} 
[2026-07-08 14:47:11] local.INFO: Extracted packet for processing {"connection_id":127611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ff"} 
[2026-07-08 14:47:11] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 14:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576350720001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824943042104412160,"note":"Value kept but may cause issues"} 
[2026-07-08 14:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783501938000,"timestamp_ms":1783501938000,"timestamp_seconds":1783501938,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ffdd50"} 
[2026-07-08 14:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 14:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":127611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":127611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":127611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576350720001,"66":2155,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1824943042104412160},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576350720001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:47:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:47:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824943042104412160,"description":"Unknown IO ID 45"} 
[2026-07-08 14:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576350720001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1824943042104412160}} 
[2026-07-08 14:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":127611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:47:12] local.INFO: GPS data processed {"connection_id":127611,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:47:12] local.INFO: Acknowledgment sent {"connection_id":127611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:47:23] local.INFO: TCP Data received {"connection_id":125607,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f410294a0012d0b130007029fc00003013423..."} 
[2026-07-08 14:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410294a0012d0b130007029fc00003013423..."} 
[2026-07-08 14:47:23] local.INFO: Processing buffer {"connection_id":125607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410294a0012d0b130007029fc00003013423..."} 
[2026-07-08 14:47:23] local.INFO: Packet analysis {"connection_id":125607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4102"} 
[2026-07-08 14:47:23] local.INFO: Extracted packet for processing {"connection_id":125607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4102"} 
[2026-07-08 14:47:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576464640001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783502116000,"timestamp_ms":1783502116000,"timestamp_seconds":1783502116,"priority":1,"record_length":96,"hex_timestamp":"0000019f410294a0"} 
[2026-07-08 14:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:47:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":125607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":125607,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":125607,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576464640001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576464640001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:47:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576464640001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":125607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451790,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:47:23] local.INFO: GPS data processed {"connection_id":125607,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:47:23] local.INFO: Acknowledgment sent {"connection_id":125607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:47:32] local.INFO: TCP Data received {"connection_id":125487,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41034c38012d943480058290d8000800a22e..."} 
[2026-07-08 14:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41034c38012d943480058290d8000800a22e..."} 
[2026-07-08 14:47:32] local.INFO: Processing buffer {"connection_id":125487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41034c38012d943480058290d8000800a22e..."} 
[2026-07-08 14:47:32] local.INFO: Packet analysis {"connection_id":125487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4103"} 
[2026-07-08 14:47:32] local.INFO: Extracted packet for processing {"connection_id":125487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4103"} 
[2026-07-08 14:47:32] local.INFO: GPS Element Parsed {"raw_longitude":764687488,"raw_latitude":92442840,"longitude_deg":76.4687488,"latitude_deg":9.244284,"altitude":8,"angle":162,"satellites":46,"speed":30,"hex_longitude":"2d943480","hex_latitude":"058290d8","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576550912001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342721553948999680,"note":"Value kept but may cause issues"} 
[2026-07-08 14:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7770609289639344128,"note":"Value kept but may cause issues"} 
[2026-07-08 14:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783502163000,"timestamp_ms":1783502163000,"timestamp_seconds":1783502163,"priority":1,"record_length":96,"hex_timestamp":"0000019f41034c38"} 
[2026-07-08 14:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 14:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576550912001,"66":27767,"17":206,"85":15360,"24":30,"16":342721553948999680,"45":-7770609289639344128},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-07-08 14:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576550912001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:47:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 14:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342721553948999680,"km_value":342721553948999.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7770609289639344128,"description":"Unknown IO ID 45"} 
[2026-07-08 14:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576550912001,"power":27767,"axis_x":206,"unknown_85":15360,"ignition":30,"odometer":null,"unknown_45":-7770609289639344128}} 
[2026-07-08 14:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":125487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:47:32] local.INFO: GPS data processed {"connection_id":125487,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:47:32] local.INFO: Acknowledgment sent {"connection_id":125487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:47:43] local.INFO: TCP Data received {"connection_id":127611,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f40ffdd50012d196380071fef800037006e29..."} 
[2026-07-08 14:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f40ffdd50012d196380071fef800037006e29..."} 
[2026-07-08 14:47:43] local.INFO: Processing buffer {"connection_id":127611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f40ffdd50012d196380071fef800037006e29..."} 
[2026-07-08 14:47:43] local.INFO: Packet analysis {"connection_id":127611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f40ff"} 
[2026-07-08 14:47:43] local.INFO: Extracted packet for processing {"connection_id":127611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f40ff"} 
[2026-07-08 14:47:43] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 14:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576350720001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824943042104412160,"note":"Value kept but may cause issues"} 
[2026-07-08 14:47:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783501938000,"timestamp_ms":1783501938000,"timestamp_seconds":1783501938,"priority":1,"record_length":96,"hex_timestamp":"0000019f40ffdd50"} 
[2026-07-08 14:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:47:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 14:47:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:47:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":127611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":127611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":127611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576350720001,"66":2155,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1824943042104412160},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576350720001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:47:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:47:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824943042104412160,"description":"Unknown IO ID 45"} 
[2026-07-08 14:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576350720001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1824943042104412160}} 
[2026-07-08 14:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":127611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:47:43] local.INFO: GPS data processed {"connection_id":127611,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:47:43] local.INFO: Acknowledgment sent {"connection_id":127611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:47:44] local.INFO: TCP Data received {"connection_id":125608,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125608,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:47:44] local.INFO: Processing buffer {"connection_id":125608,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:47:44] local.INFO: IMEI packet received {"connection_id":125608,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":125608,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:47:50] local.INFO: TCP Data received {"connection_id":125608,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125608,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:47:50] local.INFO: Processing buffer {"connection_id":125608,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:47:50] local.INFO: IMEI packet received {"connection_id":125608,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":125608,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:47:51] local.INFO: TCP Data received {"connection_id":125608,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f410294a0012d0b130007029fc00003013423..."} 
[2026-07-08 14:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410294a0012d0b130007029fc00003013423..."} 
[2026-07-08 14:47:51] local.INFO: Processing buffer {"connection_id":125608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410294a0012d0b130007029fc00003013423..."} 
[2026-07-08 14:47:51] local.INFO: Packet analysis {"connection_id":125608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4102"} 
[2026-07-08 14:47:51] local.INFO: Extracted packet for processing {"connection_id":125608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4102"} 
[2026-07-08 14:47:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576464640001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783502116000,"timestamp_ms":1783502116000,"timestamp_seconds":1783502116,"priority":1,"record_length":96,"hex_timestamp":"0000019f410294a0"} 
[2026-07-08 14:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:47:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125608,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125608,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576464640001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576464640001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:47:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576464640001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":125608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451793,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:47:51] local.INFO: GPS data processed {"connection_id":125608,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:47:51] local.INFO: Acknowledgment sent {"connection_id":125608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:48:00] local.INFO: TCP Data received {"connection_id":126371,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:48:00] local.INFO: Processing buffer {"connection_id":126371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:48:00] local.INFO: IMEI packet received {"connection_id":126371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":126371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:48:02] local.INFO: TCP Data received {"connection_id":126370,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:48:02] local.INFO: Processing buffer {"connection_id":126370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:48:02] local.INFO: IMEI packet received {"connection_id":126370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":126370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:48:03] local.INFO: TCP Data received {"connection_id":126370,"ip":"42.106.6.46","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 14:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126370,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 14:48:03] local.INFO: Processing buffer {"connection_id":126370,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 14:48:03] local.INFO: IMEI packet received {"connection_id":126370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":126370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:48:04] local.INFO: TCP Data received {"connection_id":126370,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41037730012d94404005826ea0000800a02e..."} 
[2026-07-08 14:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41037730012d94404005826ea0000800a02e..."} 
[2026-07-08 14:48:04] local.INFO: Processing buffer {"connection_id":126370,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f41..."} 
[2026-07-08 14:48:04] local.INFO: IMEI packet received {"connection_id":126370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":126370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:48:05] local.INFO: TCP Data received {"connection_id":126371,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:48:05] local.INFO: Processing buffer {"connection_id":126371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:48:05] local.INFO: IMEI packet received {"connection_id":126371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":126371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:48:06] local.INFO: TCP Data received {"connection_id":126370,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41039e40012d944d4005824cd80008009e2f..."} 
[2026-07-08 14:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41039e40012d944d4005824cd80008009e2f..."} 
[2026-07-08 14:48:06] local.INFO: Processing buffer {"connection_id":126370,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f41037730012d94404005826ea0000800a02e..."} 
[2026-07-08 14:48:06] local.INFO: Packet analysis {"connection_id":126370,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f4103"} 
[2026-07-08 14:48:06] local.INFO: Extracted packet for processing {"connection_id":126370,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4103"} 
[2026-07-08 14:48:06] local.INFO: GPS Element Parsed {"raw_longitude":764690496,"raw_latitude":92434080,"longitude_deg":76.4690496,"latitude_deg":9.243408,"altitude":8,"angle":160,"satellites":46,"speed":35,"hex_longitude":"2d944040","hex_latitude":"05826ea0","is_valid_coordinates":true} 
[2026-07-08 14:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576553728001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342722004920565760,"note":"Value kept but may cause issues"} 
[2026-07-08 14:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7767442696153540608,"note":"Value kept but may cause issues"} 
[2026-07-08 14:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783502174000,"timestamp_ms":1783502174000,"timestamp_seconds":1783502174,"priority":1,"record_length":96,"hex_timestamp":"0000019f41037730"} 
[2026-07-08 14:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 14:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576553728001,"66":27919,"17":206,"85":15360,"24":35,"16":342722004920565760,"45":-7767442696153540608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-07-08 14:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576553728001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:48:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 14:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342722004920565760,"km_value":342722004920565.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7767442696153540608,"description":"Unknown IO ID 45"} 
[2026-07-08 14:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576553728001,"power":27919,"axis_x":206,"unknown_85":15360,"ignition":35,"odometer":null,"unknown_45":-7767442696153540608}} 
[2026-07-08 14:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":126370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:48:06] local.INFO: GPS data processed {"connection_id":126370,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:48:06] local.INFO: Acknowledgment sent {"connection_id":126370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:48:06] local.INFO: Packet analysis {"connection_id":126370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4103"} 
[2026-07-08 14:48:06] local.INFO: Extracted packet for processing {"connection_id":126370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4103"} 
[2026-07-08 14:48:06] local.INFO: GPS Element Parsed {"raw_longitude":764693824,"raw_latitude":92425432,"longitude_deg":76.4693824,"latitude_deg":9.2425432,"altitude":8,"angle":158,"satellites":47,"speed":32,"hex_longitude":"2d944d40","hex_latitude":"05824cd8","is_valid_coordinates":true} 
[2026-07-08 14:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576556544001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342722451597164544,"note":"Value kept but may cause issues"} 
[2026-07-08 14:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7764135365179432960,"note":"Value kept but may cause issues"} 
[2026-07-08 14:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783502184000,"timestamp_ms":1783502184000,"timestamp_seconds":1783502184,"priority":1,"record_length":96,"hex_timestamp":"0000019f41039e40"} 
[2026-07-08 14:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 14:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576556544001,"66":27930,"17":206,"85":15360,"24":32,"16":342722451597164544,"45":-7764135365179432960},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-07-08 14:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576556544001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:48:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 14:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342722451597164544,"km_value":342722451597164.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7764135365179432960,"description":"Unknown IO ID 45"} 
[2026-07-08 14:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576556544001,"power":27930,"axis_x":206,"unknown_85":15360,"ignition":32,"odometer":null,"unknown_45":-7764135365179432960}} 
[2026-07-08 14:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":126370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:48:06] local.INFO: GPS data processed {"connection_id":126370,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:48:06] local.INFO: Acknowledgment sent {"connection_id":126370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:48:06] local.INFO: TCP Data received {"connection_id":126371,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f41047518012d196380071fef800037006e2b..."} 
[2026-07-08 14:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41047518012d196380071fef800037006e2b..."} 
[2026-07-08 14:48:06] local.INFO: Processing buffer {"connection_id":126371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41047518012d196380071fef800037006e2b..."} 
[2026-07-08 14:48:06] local.INFO: Packet analysis {"connection_id":126371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4104"} 
[2026-07-08 14:48:06] local.INFO: Extracted packet for processing {"connection_id":126371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4104"} 
[2026-07-08 14:48:06] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 14:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576496128001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 14:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783502239000,"timestamp_ms":1783502239000,"timestamp_seconds":1783502239,"priority":1,"record_length":96,"hex_timestamp":"0000019f41047518"} 
[2026-07-08 14:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:48:06] 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-07-08 14:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 14:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576496128001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576496128001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:48:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:48:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 14:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576496128001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 14:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":126371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:48:06] local.INFO: GPS data processed {"connection_id":126371,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:48:06] local.INFO: Acknowledgment sent {"connection_id":126371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:48:11] local.INFO: TCP Data received {"connection_id":126370,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f4103d108012d945b0005822bd00008009c30..."} 
[2026-07-08 14:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4103d108012d945b0005822bd00008009c30..."} 
[2026-07-08 14:48:11] local.INFO: Processing buffer {"connection_id":126370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4103d108012d945b0005822bd00008009c30..."} 
[2026-07-08 14:48:11] local.INFO: Packet analysis {"connection_id":126370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4103"} 
[2026-07-08 14:48:11] local.INFO: Extracted packet for processing {"connection_id":126370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4103"} 
[2026-07-08 14:48:11] local.INFO: GPS Element Parsed {"raw_longitude":764697344,"raw_latitude":92416976,"longitude_deg":76.4697344,"latitude_deg":9.2416976,"altitude":8,"angle":156,"satellites":48,"speed":27,"hex_longitude":"2d945b00","hex_latitude":"05822bd0","is_valid_coordinates":true} 
[2026-07-08 14:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576559104001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342722898273763328,"note":"Value kept but may cause issues"} 
[2026-07-08 14:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7760476190484408320,"note":"Value kept but may cause issues"} 
[2026-07-08 14:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783502197000,"timestamp_ms":1783502197000,"timestamp_seconds":1783502197,"priority":1,"record_length":96,"hex_timestamp":"0000019f4103d108"} 
[2026-07-08 14:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-08 14:48:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576559104001,"66":27821,"17":206,"85":15360,"24":27,"16":342722898273763328,"45":-7760476190484408320},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-07-08 14:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576559104001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:48:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 14:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342722898273763328,"km_value":342722898273763.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7760476190484408320,"description":"Unknown IO ID 45"} 
[2026-07-08 14:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576559104001,"power":27821,"axis_x":206,"unknown_85":15360,"ignition":27,"odometer":null,"unknown_45":-7760476190484408320}} 
[2026-07-08 14:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":126370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:48:11] local.INFO: GPS data processed {"connection_id":126370,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:48:11] local.INFO: Acknowledgment sent {"connection_id":126370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:48:22] local.INFO: TCP Data received {"connection_id":125608,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f410294a0012d0b130007029fc00003013423..."} 
[2026-07-08 14:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410294a0012d0b130007029fc00003013423..."} 
[2026-07-08 14:48:22] local.INFO: Processing buffer {"connection_id":125608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410294a0012d0b130007029fc00003013423..."} 
[2026-07-08 14:48:22] local.INFO: Packet analysis {"connection_id":125608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4102"} 
[2026-07-08 14:48:22] local.INFO: Extracted packet for processing {"connection_id":125608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4102"} 
[2026-07-08 14:48:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576464640001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783502116000,"timestamp_ms":1783502116000,"timestamp_seconds":1783502116,"priority":1,"record_length":96,"hex_timestamp":"0000019f410294a0"} 
[2026-07-08 14:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:48:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:48:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:48:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125608,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125608,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576464640001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576464640001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:48:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576464640001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":125608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451798,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:48:22] local.INFO: GPS data processed {"connection_id":125608,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:48:22] local.INFO: Acknowledgment sent {"connection_id":125608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:48:38] local.INFO: TCP Data received {"connection_id":126371,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f41047518012d196380071fef800037006e2b..."} 
[2026-07-08 14:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41047518012d196380071fef800037006e2b..."} 
[2026-07-08 14:48:38] local.INFO: Processing buffer {"connection_id":126371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41047518012d196380071fef800037006e2b..."} 
[2026-07-08 14:48:38] local.INFO: Packet analysis {"connection_id":126371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4104"} 
[2026-07-08 14:48:38] local.INFO: Extracted packet for processing {"connection_id":126371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4104"} 
[2026-07-08 14:48:38] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 14:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576496128001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 14:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783502239000,"timestamp_ms":1783502239000,"timestamp_seconds":1783502239,"priority":1,"record_length":96,"hex_timestamp":"0000019f41047518"} 
[2026-07-08 14:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:48:38] 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-07-08 14:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 14:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576496128001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576496128001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:48:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:48:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 14:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576496128001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 14:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":126371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:48:38] local.INFO: GPS data processed {"connection_id":126371,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:48:38] local.INFO: Acknowledgment sent {"connection_id":126371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:48:50] local.INFO: TCP Data received {"connection_id":126372,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126372,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:48:50] local.INFO: Processing buffer {"connection_id":126372,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:48:50] local.INFO: IMEI packet received {"connection_id":126372,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":126372,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:48:55] local.INFO: TCP Data received {"connection_id":125488,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:48:55] local.INFO: Processing buffer {"connection_id":125488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:48:55] local.INFO: IMEI packet received {"connection_id":125488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":125488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:48:55] local.INFO: TCP Data received {"connection_id":126372,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126372,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:48:55] local.INFO: Processing buffer {"connection_id":126372,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:48:55] local.INFO: IMEI packet received {"connection_id":126372,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":126372,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:48:55] local.INFO: TCP Data received {"connection_id":125488,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:48:55] local.INFO: Processing buffer {"connection_id":125488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:48:55] local.INFO: IMEI packet received {"connection_id":125488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":125488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:48:57] local.INFO: TCP Data received {"connection_id":126372,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f410294a0012d0b130007029fc00003013423..."} 
[2026-07-08 14:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410294a0012d0b130007029fc00003013423..."} 
[2026-07-08 14:48:57] local.INFO: Processing buffer {"connection_id":126372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410294a0012d0b130007029fc00003013423..."} 
[2026-07-08 14:48:57] local.INFO: Packet analysis {"connection_id":126372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4102"} 
[2026-07-08 14:48:57] local.INFO: Extracted packet for processing {"connection_id":126372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4102"} 
[2026-07-08 14:48:57] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576464640001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783502116000,"timestamp_ms":1783502116000,"timestamp_seconds":1783502116,"priority":1,"record_length":96,"hex_timestamp":"0000019f410294a0"} 
[2026-07-08 14:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:48:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:48:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:48:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":126372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":126372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":126372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576464640001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576464640001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:48:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576464640001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":126372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451800,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:48:58] local.INFO: GPS data processed {"connection_id":126372,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:48:58] local.INFO: Acknowledgment sent {"connection_id":126372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:49:01] local.INFO: TCP Data received {"connection_id":125488,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:49:01] local.INFO: Processing buffer {"connection_id":125488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:49:01] local.INFO: IMEI packet received {"connection_id":125488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":125488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:49:01] local.INFO: TCP Data received {"connection_id":125488,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41041370012d9468c005820a280009009e2e..."} 
[2026-07-08 14:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41041370012d9468c005820a280009009e2e..."} 
[2026-07-08 14:49:01] local.INFO: Processing buffer {"connection_id":125488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41041370012d9468c005820a280009009e2e..."} 
[2026-07-08 14:49:01] local.INFO: Packet analysis {"connection_id":125488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4104"} 
[2026-07-08 14:49:01] local.INFO: Extracted packet for processing {"connection_id":125488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4104"} 
[2026-07-08 14:49:01] local.INFO: GPS Element Parsed {"raw_longitude":764700864,"raw_latitude":92408360,"longitude_deg":76.4700864,"latitude_deg":9.240836,"altitude":9,"angle":158,"satellites":46,"speed":25,"hex_longitude":"2d9468c0","hex_latitude":"05820a28","is_valid_coordinates":true} 
[2026-07-08 14:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576562432001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342723344950362112,"note":"Value kept but may cause issues"} 
[2026-07-08 14:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7756605909556801536,"note":"Value kept but may cause issues"} 
[2026-07-08 14:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783502214000,"timestamp_ms":1783502214000,"timestamp_seconds":1783502214,"priority":1,"record_length":96,"hex_timestamp":"0000019f41041370"} 
[2026-07-08 14:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 14:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576562432001,"66":27876,"17":206,"85":15360,"24":25,"16":342723344950362112,"45":-7756605909556801536},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-07-08 14:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576562432001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:49:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 14:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342723344950362112,"km_value":342723344950362.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7756605909556801536,"description":"Unknown IO ID 45"} 
[2026-07-08 14:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576562432001,"power":27876,"axis_x":206,"unknown_85":15360,"ignition":25,"odometer":null,"unknown_45":-7756605909556801536}} 
[2026-07-08 14:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":125488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:49:01] local.INFO: GPS data processed {"connection_id":125488,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:49:01] local.INFO: Acknowledgment sent {"connection_id":125488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:49:05] local.INFO: TCP Data received {"connection_id":125609,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:49:05] local.INFO: Processing buffer {"connection_id":125609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:49:05] local.INFO: IMEI packet received {"connection_id":125609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":125609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:49:10] local.INFO: TCP Data received {"connection_id":125609,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:49:10] local.INFO: Processing buffer {"connection_id":125609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:49:10] local.INFO: IMEI packet received {"connection_id":125609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":125609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:49:12] local.INFO: TCP Data received {"connection_id":125609,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f41047518012d196380071fef800037006e2b..."} 
[2026-07-08 14:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41047518012d196380071fef800037006e2b..."} 
[2026-07-08 14:49:12] local.INFO: Processing buffer {"connection_id":125609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41047518012d196380071fef800037006e2b..."} 
[2026-07-08 14:49:12] local.INFO: Packet analysis {"connection_id":125609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4104"} 
[2026-07-08 14:49:12] local.INFO: Extracted packet for processing {"connection_id":125609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4104"} 
[2026-07-08 14:49:12] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 14:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576496128001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 14:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783502239000,"timestamp_ms":1783502239000,"timestamp_seconds":1783502239,"priority":1,"record_length":96,"hex_timestamp":"0000019f41047518"} 
[2026-07-08 14:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:49: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-07-08 14: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":107,"data_length":795,"current_offset":136} 
[2026-07-08 14:49: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-07-08 14:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576496128001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576496128001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:49:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:49:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 14:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576496128001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 14:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":125609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:49:12] local.INFO: GPS data processed {"connection_id":125609,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:49:12] local.INFO: Acknowledgment sent {"connection_id":125609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:49:16] local.INFO: TCP Data received {"connection_id":125609,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f41047518012d196380071fef800037006e2b..."} 
[2026-07-08 14:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41047518012d196380071fef800037006e2b..."} 
[2026-07-08 14:49:16] local.INFO: Processing buffer {"connection_id":125609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41047518012d196380071fef800037006e2b..."} 
[2026-07-08 14:49:16] local.INFO: Packet analysis {"connection_id":125609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4104"} 
[2026-07-08 14:49:16] local.INFO: Extracted packet for processing {"connection_id":125609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4104"} 
[2026-07-08 14:49:16] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 14:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576496128001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 14:49:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783502239000,"timestamp_ms":1783502239000,"timestamp_seconds":1783502239,"priority":1,"record_length":96,"hex_timestamp":"0000019f41047518"} 
[2026-07-08 14:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:49: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-07-08 14:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 14:49: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-07-08 14:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":125609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":125609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":125609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576496128001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576496128001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:49:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:49:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 14:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576496128001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 14:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":125609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:49:16] local.INFO: GPS data processed {"connection_id":125609,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:49:16] local.INFO: Acknowledgment sent {"connection_id":125609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:49:30] local.INFO: TCP Data received {"connection_id":126372,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f410294a0012d0b130007029fc00003013423..."} 
[2026-07-08 14:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410294a0012d0b130007029fc00003013423..."} 
[2026-07-08 14:49:30] local.INFO: Processing buffer {"connection_id":126372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410294a0012d0b130007029fc00003013423..."} 
[2026-07-08 14:49:30] local.INFO: Packet analysis {"connection_id":126372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4102"} 
[2026-07-08 14:49:30] local.INFO: Extracted packet for processing {"connection_id":126372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4102"} 
[2026-07-08 14:49:30] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576464640001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:49: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-07-08 14:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783502116000,"timestamp_ms":1783502116000,"timestamp_seconds":1783502116,"priority":1,"record_length":96,"hex_timestamp":"0000019f410294a0"} 
[2026-07-08 14:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:49:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":126372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":126372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":126372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576464640001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576464640001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:49:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576464640001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":126372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451804,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:49:30] local.INFO: GPS data processed {"connection_id":126372,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:49:30] local.INFO: Acknowledgment sent {"connection_id":126372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:49:31] local.INFO: TCP Data received {"connection_id":125489,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125489,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:49:31] local.INFO: Processing buffer {"connection_id":125489,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:49:31] local.INFO: IMEI packet received {"connection_id":125489,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 14:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":125489,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:49:32] local.INFO: TCP Data received {"connection_id":125488,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41059df8012d94b980058133a00007009c30..."} 
[2026-07-08 14:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41059df8012d94b980058133a00007009c30..."} 
[2026-07-08 14:49:32] local.INFO: Processing buffer {"connection_id":125488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41059df8012d94b980058133a00007009c30..."} 
[2026-07-08 14:49:32] local.INFO: Packet analysis {"connection_id":125488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4105"} 
[2026-07-08 14:49:32] local.INFO: Extracted packet for processing {"connection_id":125488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4105"} 
[2026-07-08 14:49:32] local.INFO: GPS Element Parsed {"raw_longitude":764721536,"raw_latitude":92353440,"longitude_deg":76.4721536,"latitude_deg":9.235344,"altitude":7,"angle":156,"satellites":48,"speed":37,"hex_longitude":"2d94b980","hex_latitude":"058133a0","is_valid_coordinates":true} 
[2026-07-08 14:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576589824001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342726231168385024,"note":"Value kept but may cause issues"} 
[2026-07-08 14:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7733947173945520128,"note":"Value kept but may cause issues"} 
[2026-07-08 14:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783502315000,"timestamp_ms":1783502315000,"timestamp_seconds":1783502315,"priority":1,"record_length":96,"hex_timestamp":"0000019f41059df8"} 
[2026-07-08 14:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 14:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576589824001,"66":27919,"19":206,"85":15360,"24":37,"16":342726231168385024,"45":-7733947173945520128},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-07-08 14:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576589824001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:49:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-08 14:49:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 14:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342726231168385024,"km_value":342726231168385.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7733947173945520128,"description":"Unknown IO ID 45"} 
[2026-07-08 14:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576589824001,"power":27919,"unknown_19":206,"unknown_85":15360,"ignition":37,"odometer":null,"unknown_45":-7733947173945520128}} 
[2026-07-08 14:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":125488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:49:32] local.INFO: GPS data processed {"connection_id":125488,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:49:32] local.INFO: Acknowledgment sent {"connection_id":125488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:49:47] local.INFO: TCP Data received {"connection_id":125610,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125610,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:49:47] local.INFO: Processing buffer {"connection_id":125610,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:49:47] local.INFO: IMEI packet received {"connection_id":125610,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":125610,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:49:49] local.INFO: TCP Data received {"connection_id":125610,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125610,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:49:49] local.INFO: Processing buffer {"connection_id":125610,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:49:49] local.INFO: IMEI packet received {"connection_id":125610,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":125610,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:49:53] local.INFO: TCP Data received {"connection_id":125610,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f410294a0012d0b130007029fc00003013423..."} 
[2026-07-08 14:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410294a0012d0b130007029fc00003013423..."} 
[2026-07-08 14:49:53] local.INFO: Processing buffer {"connection_id":125610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410294a0012d0b130007029fc00003013423..."} 
[2026-07-08 14:49:53] local.INFO: Packet analysis {"connection_id":125610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4102"} 
[2026-07-08 14:49:53] local.INFO: Extracted packet for processing {"connection_id":125610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4102"} 
[2026-07-08 14:49:53] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576464640001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:49:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783502116000,"timestamp_ms":1783502116000,"timestamp_seconds":1783502116,"priority":1,"record_length":96,"hex_timestamp":"0000019f410294a0"} 
[2026-07-08 14:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:49:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:49: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-07-08 14:49:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125610,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125610,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:49:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576464640001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576464640001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:49:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576464640001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":125610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451806,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:49:53] local.INFO: GPS data processed {"connection_id":125610,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:49:53] local.INFO: Acknowledgment sent {"connection_id":125610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:49:55] local.INFO: TCP Data received {"connection_id":125610,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f410294a0012d0b130007029fc00003013423..."} 
[2026-07-08 14:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410294a0012d0b130007029fc00003013423..."} 
[2026-07-08 14:49:55] local.INFO: Processing buffer {"connection_id":125610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410294a0012d0b130007029fc00003013423..."} 
[2026-07-08 14:49:55] local.INFO: Packet analysis {"connection_id":125610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4102"} 
[2026-07-08 14:49:55] local.INFO: Extracted packet for processing {"connection_id":125610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4102"} 
[2026-07-08 14:49:55] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576464640001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783502116000,"timestamp_ms":1783502116000,"timestamp_seconds":1783502116,"priority":1,"record_length":96,"hex_timestamp":"0000019f410294a0"} 
[2026-07-08 14:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":125610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":125610,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":125610,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576464640001,"66":12602,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576464640001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:49:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576464640001,"power":12602,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":125610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451807,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:49:55] local.INFO: GPS data processed {"connection_id":125610,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:49:55] local.INFO: Acknowledgment sent {"connection_id":125610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:49:56] local.INFO: TCP Data received {"connection_id":126374,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126374,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:49:56] local.INFO: Processing buffer {"connection_id":126374,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:49:56] local.INFO: IMEI packet received {"connection_id":126374,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 14:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":126374,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:49:56] local.INFO: TCP Data received {"connection_id":126373,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:49:56] local.INFO: Processing buffer {"connection_id":126373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:49:56] local.INFO: IMEI packet received {"connection_id":126373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":126373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:50:00] local.INFO: TCP Data received {"connection_id":125611,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:50:00] local.INFO: Processing buffer {"connection_id":125611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:50:00] local.INFO: IMEI packet received {"connection_id":125611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":125611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:50:00] local.INFO: TCP Data received {"connection_id":126373,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:50:00] local.INFO: Processing buffer {"connection_id":126373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:50:00] local.INFO: IMEI packet received {"connection_id":126373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":126373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:50:02] local.INFO: TCP Data received {"connection_id":126373,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f4105c8f0012d94c600058113180006009d2e..."} 
[2026-07-08 14:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4105c8f0012d94c600058113180006009d2e..."} 
[2026-07-08 14:50:02] local.INFO: Processing buffer {"connection_id":126373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4105c8f0012d94c600058113180006009d2e..."} 
[2026-07-08 14:50:02] local.INFO: Packet analysis {"connection_id":126373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4105"} 
[2026-07-08 14:50:02] local.INFO: Extracted packet for processing {"connection_id":126373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4105"} 
[2026-07-08 14:50:02] local.INFO: GPS Element Parsed {"raw_longitude":764724736,"raw_latitude":92345112,"longitude_deg":76.4724736,"latitude_deg":9.2345112,"altitude":6,"angle":157,"satellites":46,"speed":19,"hex_longitude":"2d94c600","hex_latitude":"05811318","is_valid_coordinates":true} 
[2026-07-08 14:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576592640001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342726660665114624,"note":"Value kept but may cause issues"} 
[2026-07-08 14:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7730006524273909760,"note":"Value kept but may cause issues"} 
[2026-07-08 14:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783502326000,"timestamp_ms":1783502326000,"timestamp_seconds":1783502326,"priority":1,"record_length":96,"hex_timestamp":"0000019f4105c8f0"} 
[2026-07-08 14:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 14:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576592640001,"66":27908,"237":206,"85":15360,"24":19,"16":342726660665114624,"45":-7730006524273909760},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-07-08 14:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576592640001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:50:02] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-08 14:50:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 14:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342726660665114624,"km_value":342726660665114.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7730006524273909760,"description":"Unknown IO ID 45"} 
[2026-07-08 14:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576592640001,"power":27908,"unknown_237":206,"unknown_85":15360,"ignition":19,"odometer":null,"unknown_45":-7730006524273909760}} 
[2026-07-08 14:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":126373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:50:02] local.INFO: GPS data processed {"connection_id":126373,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:50:02] local.INFO: Acknowledgment sent {"connection_id":126373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:50:05] local.INFO: TCP Data received {"connection_id":125611,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:50:05] local.INFO: Processing buffer {"connection_id":125611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:50:05] local.INFO: IMEI packet received {"connection_id":125611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":125611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:50:07] local.INFO: TCP Data received {"connection_id":125611,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f41047518012d196380071fef800037006e2b..."} 
[2026-07-08 14:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41047518012d196380071fef800037006e2b..."} 
[2026-07-08 14:50:07] local.INFO: Processing buffer {"connection_id":125611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41047518012d196380071fef800037006e2b..."} 
[2026-07-08 14:50:07] local.INFO: Packet analysis {"connection_id":125611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4104"} 
[2026-07-08 14:50:07] local.INFO: Extracted packet for processing {"connection_id":125611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4104"} 
[2026-07-08 14:50:07] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 14:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576496128001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 14:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783502239000,"timestamp_ms":1783502239000,"timestamp_seconds":1783502239,"priority":1,"record_length":96,"hex_timestamp":"0000019f41047518"} 
[2026-07-08 14:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:50:07] 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-07-08 14:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 14:50: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-07-08 14:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576496128001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576496128001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:50:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:50:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 14:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576496128001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 14:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":125611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:50:07] local.INFO: GPS data processed {"connection_id":125611,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:50:07] local.INFO: Acknowledgment sent {"connection_id":125611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:50:33] local.INFO: TCP Data received {"connection_id":126373,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f4105e830012d94ca4005810a880007008d30..."} 
[2026-07-08 14:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4105e830012d94ca4005810a880007008d30..."} 
[2026-07-08 14:50:33] local.INFO: Processing buffer {"connection_id":126373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4105e830012d94ca4005810a880007008d30..."} 
[2026-07-08 14:50:33] local.INFO: Packet analysis {"connection_id":126373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4105"} 
[2026-07-08 14:50:33] local.INFO: Extracted packet for processing {"connection_id":126373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4105"} 
[2026-07-08 14:50:33] local.INFO: GPS Element Parsed {"raw_longitude":764725824,"raw_latitude":92342920,"longitude_deg":76.4725824,"latitude_deg":9.234292,"altitude":7,"angle":141,"satellites":48,"speed":14,"hex_longitude":"2d94ca40","hex_latitude":"05810a88","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576595456001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342726780924198912,"note":"Value kept but may cause issues"} 
[2026-07-08 14:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7726488087067158528,"note":"Value kept but may cause issues"} 
[2026-07-08 14:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783502334000,"timestamp_ms":1783502334000,"timestamp_seconds":1783502334,"priority":1,"record_length":96,"hex_timestamp":"0000019f4105e830"} 
[2026-07-08 14:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 14:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576595456001,"66":27930,"237":206,"85":15360,"24":14,"16":342726780924198912,"45":-7726488087067158528},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-07-08 14:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576595456001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:50:33] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-08 14:50:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 14:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342726780924198912,"km_value":342726780924198.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7726488087067158528,"description":"Unknown IO ID 45"} 
[2026-07-08 14:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576595456001,"power":27930,"unknown_237":206,"unknown_85":15360,"ignition":14,"odometer":null,"unknown_45":-7726488087067158528}} 
[2026-07-08 14:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":126373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:50:33] local.INFO: GPS data processed {"connection_id":126373,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:50:33] local.INFO: Acknowledgment sent {"connection_id":126373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:50:38] local.INFO: TCP Data received {"connection_id":125611,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f41047518012d196380071fef800037006e2b..."} 
[2026-07-08 14:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41047518012d196380071fef800037006e2b..."} 
[2026-07-08 14:50:38] local.INFO: Processing buffer {"connection_id":125611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41047518012d196380071fef800037006e2b..."} 
[2026-07-08 14:50:38] local.INFO: Packet analysis {"connection_id":125611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4104"} 
[2026-07-08 14:50:38] local.INFO: Extracted packet for processing {"connection_id":125611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4104"} 
[2026-07-08 14:50:38] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 14:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576496128001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 14:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783502239000,"timestamp_ms":1783502239000,"timestamp_seconds":1783502239,"priority":1,"record_length":96,"hex_timestamp":"0000019f41047518"} 
[2026-07-08 14:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:50:38] 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-07-08 14:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 14:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576496128001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576496128001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:50:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:50:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 14:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576496128001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 14:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":125611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:50:39] local.INFO: GPS data processed {"connection_id":125611,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:50:39] local.INFO: Acknowledgment sent {"connection_id":125611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:50:44] local.INFO: TCP Data received {"connection_id":126375,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126375,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:50:44] local.INFO: Processing buffer {"connection_id":126375,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:50:44] local.INFO: IMEI packet received {"connection_id":126375,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":126375,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:50:50] local.INFO: TCP Data received {"connection_id":126375,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126375,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:50:50] local.INFO: Processing buffer {"connection_id":126375,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:50:50] local.INFO: IMEI packet received {"connection_id":126375,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":126375,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:50:51] local.INFO: TCP Data received {"connection_id":126375,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f41072c68012d0b130007029fc00003013423..."} 
[2026-07-08 14:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41072c68012d0b130007029fc00003013423..."} 
[2026-07-08 14:50:51] local.INFO: Processing buffer {"connection_id":126375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41072c68012d0b130007029fc00003013423..."} 
[2026-07-08 14:50:51] local.INFO: Packet analysis {"connection_id":126375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4107"} 
[2026-07-08 14:50:51] local.INFO: Extracted packet for processing {"connection_id":126375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4107"} 
[2026-07-08 14:50:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576541696001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783502417000,"timestamp_ms":1783502417000,"timestamp_seconds":1783502417,"priority":1,"record_length":96,"hex_timestamp":"0000019f41072c68"} 
[2026-07-08 14:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 14:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576541696001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576541696001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:50:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576541696001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":126375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451812,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:50:51] local.INFO: GPS data processed {"connection_id":126375,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:50:51] local.INFO: Acknowledgment sent {"connection_id":126375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:50:55] local.INFO: TCP Data received {"connection_id":125612,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:50:55] local.INFO: Processing buffer {"connection_id":125612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:50:55] local.INFO: IMEI packet received {"connection_id":125612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":125612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:50:59] local.INFO: TCP Data received {"connection_id":125610,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f41072c68012d0b130007029fc00003013423..."} 
[2026-07-08 14:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41072c68012d0b130007029fc00003013423..."} 
[2026-07-08 14:50:59] local.INFO: Processing buffer {"connection_id":125610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41072c68012d0b130007029fc00003013423..."} 
[2026-07-08 14:50:59] local.INFO: Packet analysis {"connection_id":125610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4107"} 
[2026-07-08 14:50:59] local.INFO: Extracted packet for processing {"connection_id":125610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4107"} 
[2026-07-08 14:50:59] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576541696001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783502417000,"timestamp_ms":1783502417000,"timestamp_seconds":1783502417,"priority":1,"record_length":96,"hex_timestamp":"0000019f41072c68"} 
[2026-07-08 14:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 14:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":125610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":125610,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":125610,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576541696001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576541696001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:50:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576541696001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":125610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451813,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:50:59] local.INFO: GPS data processed {"connection_id":125610,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:50:59] local.INFO: Acknowledgment sent {"connection_id":125610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:51:00] local.INFO: TCP Data received {"connection_id":127613,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:51:00] local.INFO: Processing buffer {"connection_id":127613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:51:00] local.INFO: IMEI packet received {"connection_id":127613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":127613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:51:00] local.INFO: TCP Data received {"connection_id":125612,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:51:00] local.INFO: Processing buffer {"connection_id":125612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:51:00] local.INFO: IMEI packet received {"connection_id":125612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":125612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:51:01] local.INFO: TCP Data received {"connection_id":125612,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f4105f000012d94cc80058108500006007e30..."} 
[2026-07-08 14:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4105f000012d94cc80058108500006007e30..."} 
[2026-07-08 14:51:01] local.INFO: Processing buffer {"connection_id":125612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4105f000012d94cc80058108500006007e30..."} 
[2026-07-08 14:51:01] local.INFO: Packet analysis {"connection_id":125612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4105"} 
[2026-07-08 14:51:01] local.INFO: Extracted packet for processing {"connection_id":125612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4105"} 
[2026-07-08 14:51:01] local.INFO: GPS Element Parsed {"raw_longitude":764726400,"raw_latitude":92342352,"longitude_deg":76.47264,"latitude_deg":9.2342352,"altitude":6,"angle":126,"satellites":48,"speed":17,"hex_longitude":"2d94cc80","hex_latitude":"05810850","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576597504001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342726819578904576,"note":"Value kept but may cause issues"} 
[2026-07-08 14:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7725291818416699392,"note":"Value kept but may cause issues"} 
[2026-07-08 14:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783502336000,"timestamp_ms":1783502336000,"timestamp_seconds":1783502336,"priority":1,"record_length":96,"hex_timestamp":"0000019f4105f000"} 
[2026-07-08 14:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:51:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-08 14:51:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576597504001,"66":27800,"237":206,"85":15360,"24":17,"16":342726819578904576,"45":-7725291818416699392},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-07-08 14:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576597504001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:51:01] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-08 14:51:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 14:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342726819578904576,"km_value":342726819578904.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7725291818416699392,"description":"Unknown IO ID 45"} 
[2026-07-08 14:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576597504001,"power":27800,"unknown_237":206,"unknown_85":15360,"ignition":17,"odometer":null,"unknown_45":-7725291818416699392}} 
[2026-07-08 14:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":125612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:51:01] local.INFO: GPS data processed {"connection_id":125612,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:51:01] local.INFO: Acknowledgment sent {"connection_id":125612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:51:05] local.INFO: TCP Data received {"connection_id":127613,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:51:05] local.INFO: Processing buffer {"connection_id":127613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:51:05] local.INFO: IMEI packet received {"connection_id":127613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":127613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:51:07] local.INFO: TCP Data received {"connection_id":127613,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f41047518012d196380071fef800037006e2b..."} 
[2026-07-08 14:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41047518012d196380071fef800037006e2b..."} 
[2026-07-08 14:51:07] local.INFO: Processing buffer {"connection_id":127613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41047518012d196380071fef800037006e2b..."} 
[2026-07-08 14:51:07] local.INFO: Packet analysis {"connection_id":127613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4104"} 
[2026-07-08 14:51:07] local.INFO: Extracted packet for processing {"connection_id":127613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4104"} 
[2026-07-08 14:51:07] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 14:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576496128001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 14:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783502239000,"timestamp_ms":1783502239000,"timestamp_seconds":1783502239,"priority":1,"record_length":96,"hex_timestamp":"0000019f41047518"} 
[2026-07-08 14:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:51:07] 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-07-08 14:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 14:51: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-07-08 14:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576496128001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576496128001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:51:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:51:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 14:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576496128001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 14:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":127613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:51:07] local.INFO: GPS data processed {"connection_id":127613,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:51:07] local.INFO: Acknowledgment sent {"connection_id":127613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:51:22] local.INFO: TCP Data received {"connection_id":126375,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f41072c68012d0b130007029fc00003013423..."} 
[2026-07-08 14:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41072c68012d0b130007029fc00003013423..."} 
[2026-07-08 14:51:22] local.INFO: Processing buffer {"connection_id":126375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41072c68012d0b130007029fc00003013423..."} 
[2026-07-08 14:51:22] local.INFO: Packet analysis {"connection_id":126375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4107"} 
[2026-07-08 14:51:22] local.INFO: Extracted packet for processing {"connection_id":126375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4107"} 
[2026-07-08 14:51:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576541696001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783502417000,"timestamp_ms":1783502417000,"timestamp_seconds":1783502417,"priority":1,"record_length":96,"hex_timestamp":"0000019f41072c68"} 
[2026-07-08 14:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:51:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 14:51:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:51:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576541696001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576541696001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:51:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576541696001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":126375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451816,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:51:22] local.INFO: GPS data processed {"connection_id":126375,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:51:22] local.INFO: Acknowledgment sent {"connection_id":126375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:51:32] local.INFO: TCP Data received {"connection_id":125612,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41074f90012d955440057fce100007009a2e..."} 
[2026-07-08 14:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41074f90012d955440057fce100007009a2e..."} 
[2026-07-08 14:51:32] local.INFO: Processing buffer {"connection_id":125612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41074f90012d955440057fce100007009a2e..."} 
[2026-07-08 14:51:32] local.INFO: Packet analysis {"connection_id":125612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4107"} 
[2026-07-08 14:51:32] local.INFO: Extracted packet for processing {"connection_id":125612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4107"} 
[2026-07-08 14:51:32] local.INFO: GPS Element Parsed {"raw_longitude":764761152,"raw_latitude":92261904,"longitude_deg":76.4761152,"latitude_deg":9.2261904,"altitude":7,"angle":154,"satellites":46,"speed":25,"hex_longitude":"2d955440","hex_latitude":"057fce10","is_valid_coordinates":true} 
[2026-07-08 14:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576617984001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342731080186462208,"note":"Value kept but may cause issues"} 
[2026-07-08 14:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7691162977509201920,"note":"Value kept but may cause issues"} 
[2026-07-08 14:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783502426000,"timestamp_ms":1783502426000,"timestamp_seconds":1783502426,"priority":1,"record_length":96,"hex_timestamp":"0000019f41074f90"} 
[2026-07-08 14:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 14:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:51:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576617984001,"66":27908,"236":206,"85":15360,"24":25,"16":342731080186462208,"45":-7691162977509201920},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-07-08 14:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576617984001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:51:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-08 14:51:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 14:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342731080186462208,"km_value":342731080186462.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7691162977509201920,"description":"Unknown IO ID 45"} 
[2026-07-08 14:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576617984001,"power":27908,"unknown_236":206,"unknown_85":15360,"ignition":25,"odometer":null,"unknown_45":-7691162977509201920}} 
[2026-07-08 14:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":125612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:51:32] local.INFO: GPS data processed {"connection_id":125612,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:51:32] local.INFO: Acknowledgment sent {"connection_id":125612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:51:39] local.INFO: TCP Data received {"connection_id":127613,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f41047518012d196380071fef800037006e2b..."} 
[2026-07-08 14:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41047518012d196380071fef800037006e2b..."} 
[2026-07-08 14:51:39] local.INFO: Processing buffer {"connection_id":127613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41047518012d196380071fef800037006e2b..."} 
[2026-07-08 14:51:39] local.INFO: Packet analysis {"connection_id":127613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4104"} 
[2026-07-08 14:51:39] local.INFO: Extracted packet for processing {"connection_id":127613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4104"} 
[2026-07-08 14:51:39] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 14:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576496128001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 14:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783502239000,"timestamp_ms":1783502239000,"timestamp_seconds":1783502239,"priority":1,"record_length":96,"hex_timestamp":"0000019f41047518"} 
[2026-07-08 14:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:51:39] 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-07-08 14: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 14:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:51:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":127613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":127613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":127613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576496128001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576496128001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:51:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:51:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 14:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576496128001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 14:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":127613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:51:39] local.INFO: GPS data processed {"connection_id":127613,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:51:39] local.INFO: Acknowledgment sent {"connection_id":127613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:51:44] local.INFO: TCP Data received {"connection_id":125613,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125613,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:51:44] local.INFO: Processing buffer {"connection_id":125613,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:51:44] local.INFO: IMEI packet received {"connection_id":125613,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":125613,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:51:50] local.INFO: TCP Data received {"connection_id":125613,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125613,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:51:50] local.INFO: Processing buffer {"connection_id":125613,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:51:50] local.INFO: IMEI packet received {"connection_id":125613,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":125613,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:51:50] local.INFO: TCP Data received {"connection_id":125613,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f41072c68012d0b130007029fc00003013423..."} 
[2026-07-08 14:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41072c68012d0b130007029fc00003013423..."} 
[2026-07-08 14:51:50] local.INFO: Processing buffer {"connection_id":125613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41072c68012d0b130007029fc00003013423..."} 
[2026-07-08 14:51:50] local.INFO: Packet analysis {"connection_id":125613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4107"} 
[2026-07-08 14:51:50] local.INFO: Extracted packet for processing {"connection_id":125613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4107"} 
[2026-07-08 14:51:50] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576541696001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783502417000,"timestamp_ms":1783502417000,"timestamp_seconds":1783502417,"priority":1,"record_length":96,"hex_timestamp":"0000019f41072c68"} 
[2026-07-08 14:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 14:51:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":125613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":125613,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":125613,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576541696001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576541696001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:51:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576541696001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":125613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451819,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:51:51] local.INFO: GPS data processed {"connection_id":125613,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:51:51] local.INFO: Acknowledgment sent {"connection_id":125613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:51:56] local.INFO: TCP Data received {"connection_id":125615,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:51:56] local.INFO: Processing buffer {"connection_id":125615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:51:56] local.INFO: IMEI packet received {"connection_id":125615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":125615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:51:57] local.INFO: TCP Data received {"connection_id":125615,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:51:57] local.INFO: Processing buffer {"connection_id":125615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:51:57] local.INFO: IMEI packet received {"connection_id":125615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":125615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:52:00] local.INFO: TCP Data received {"connection_id":125615,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:52:00] local.INFO: Processing buffer {"connection_id":125615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:52:00] local.INFO: IMEI packet received {"connection_id":125615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":125615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:52:02] local.INFO: TCP Data received {"connection_id":125615,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41078258012d956280057fae680007009d30..."} 
[2026-07-08 14:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41078258012d956280057fae680007009d30..."} 
[2026-07-08 14:52:02] local.INFO: Processing buffer {"connection_id":125615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41078258012d956280057fae680007009d30..."} 
[2026-07-08 14:52:02] local.INFO: Packet analysis {"connection_id":125615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4107"} 
[2026-07-08 14:52:02] local.INFO: Extracted packet for processing {"connection_id":125615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4107"} 
[2026-07-08 14:52:02] local.INFO: GPS Element Parsed {"raw_longitude":764764800,"raw_latitude":92253800,"longitude_deg":76.47648,"latitude_deg":9.22538,"altitude":7,"angle":157,"satellites":48,"speed":32,"hex_longitude":"2d956280","hex_latitude":"057fae68","is_valid_coordinates":true} 
[2026-07-08 14:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576621056001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342731509683191808,"note":"Value kept but may cause issues"} 
[2026-07-08 14:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7686448271651368960,"note":"Value kept but may cause issues"} 
[2026-07-08 14:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783502439000,"timestamp_ms":1783502439000,"timestamp_seconds":1783502439,"priority":1,"record_length":96,"hex_timestamp":"0000019f41078258"} 
[2026-07-08 14:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 14:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576621056001,"66":27930,"236":206,"85":15360,"24":32,"16":342731509683191808,"45":-7686448271651368960},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-07-08 14:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576621056001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:52:02] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-08 14:52:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 14:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342731509683191808,"km_value":342731509683191.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7686448271651368960,"description":"Unknown IO ID 45"} 
[2026-07-08 14:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576621056001,"power":27930,"unknown_236":206,"unknown_85":15360,"ignition":32,"odometer":null,"unknown_45":-7686448271651368960}} 
[2026-07-08 14:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":125615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:52:02] local.INFO: GPS data processed {"connection_id":125615,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:52:02] local.INFO: Acknowledgment sent {"connection_id":125615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:52:08] local.INFO: TCP Data received {"connection_id":125490,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:52:08] local.INFO: Processing buffer {"connection_id":125490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:52:08] local.INFO: IMEI packet received {"connection_id":125490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":125490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:52:10] local.INFO: TCP Data received {"connection_id":125490,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:52:10] local.INFO: Processing buffer {"connection_id":125490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:52:10] local.INFO: IMEI packet received {"connection_id":125490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":125490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:52:11] local.INFO: TCP Data received {"connection_id":125490,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f41047518012d196380071fef800037006e2b..."} 
[2026-07-08 14:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41047518012d196380071fef800037006e2b..."} 
[2026-07-08 14:52:11] local.INFO: Processing buffer {"connection_id":125490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41047518012d196380071fef800037006e2b..."} 
[2026-07-08 14:52:11] local.INFO: Packet analysis {"connection_id":125490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4104"} 
[2026-07-08 14:52:11] local.INFO: Extracted packet for processing {"connection_id":125490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4104"} 
[2026-07-08 14:52:11] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 14:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576496128001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 14:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783502239000,"timestamp_ms":1783502239000,"timestamp_seconds":1783502239,"priority":1,"record_length":96,"hex_timestamp":"0000019f41047518"} 
[2026-07-08 14:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:52: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-07-08 14:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 14:52: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-07-08 14:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576496128001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576496128001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:52:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:52:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 14:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576496128001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 14:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":125490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:52:11] local.INFO: GPS data processed {"connection_id":125490,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:52:11] local.INFO: Acknowledgment sent {"connection_id":125490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:52:16] local.INFO: TCP Data received {"connection_id":125490,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f41047518012d196380071fef800037006e2b..."} 
[2026-07-08 14:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41047518012d196380071fef800037006e2b..."} 
[2026-07-08 14:52:16] local.INFO: Processing buffer {"connection_id":125490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41047518012d196380071fef800037006e2b..."} 
[2026-07-08 14:52:16] local.INFO: Packet analysis {"connection_id":125490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4104"} 
[2026-07-08 14:52:16] local.INFO: Extracted packet for processing {"connection_id":125490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4104"} 
[2026-07-08 14:52:16] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 14:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576496128001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 14:52:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783502239000,"timestamp_ms":1783502239000,"timestamp_seconds":1783502239,"priority":1,"record_length":96,"hex_timestamp":"0000019f41047518"} 
[2026-07-08 14:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:52: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-07-08 14:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 14:52: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-07-08 14:52:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":125490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":125490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":125490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576496128001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576496128001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:52:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:52:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 14:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576496128001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 14:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":125490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:52:16] local.INFO: GPS data processed {"connection_id":125490,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:52:16] local.INFO: Acknowledgment sent {"connection_id":125490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:52:22] local.INFO: TCP Data received {"connection_id":125613,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f41072c68012d0b130007029fc00003013423..."} 
[2026-07-08 14:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41072c68012d0b130007029fc00003013423..."} 
[2026-07-08 14:52:22] local.INFO: Processing buffer {"connection_id":125613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41072c68012d0b130007029fc00003013423..."} 
[2026-07-08 14:52:22] local.INFO: Packet analysis {"connection_id":125613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4107"} 
[2026-07-08 14:52:22] local.INFO: Extracted packet for processing {"connection_id":125613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4107"} 
[2026-07-08 14:52:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 14:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576541696001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783502417000,"timestamp_ms":1783502417000,"timestamp_seconds":1783502417,"priority":1,"record_length":96,"hex_timestamp":"0000019f41072c68"} 
[2026-07-08 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-07-08 14:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 14:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 14:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125613,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125613,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576541696001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576541696001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:52:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576541696001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":125613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451823,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:52:22] local.INFO: GPS data processed {"connection_id":125613,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:52:22] local.INFO: Acknowledgment sent {"connection_id":125613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:52:33] local.INFO: TCP Data received {"connection_id":125615,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f4107b138012d956f00057f8df8000600a130..."} 
[2026-07-08 14:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4107b138012d956f00057f8df8000600a130..."} 
[2026-07-08 14:52:33] local.INFO: Processing buffer {"connection_id":125615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4107b138012d956f00057f8df8000600a130..."} 
[2026-07-08 14:52:33] local.INFO: Packet analysis {"connection_id":125615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4107"} 
[2026-07-08 14:52:33] local.INFO: Extracted packet for processing {"connection_id":125615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4107"} 
[2026-07-08 14:52:33] local.INFO: GPS Element Parsed {"raw_longitude":764768000,"raw_latitude":92245496,"longitude_deg":76.4768,"latitude_deg":9.2245496,"altitude":6,"angle":161,"satellites":48,"speed":24,"hex_longitude":"2d956f00","hex_latitude":"057f8df8","is_valid_coordinates":true} 
[2026-07-08 14:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576624384001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342731943474888704,"note":"Value kept but may cause issues"} 
[2026-07-08 14:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7682437253235316736,"note":"Value kept but may cause issues"} 
[2026-07-08 14:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783502451000,"timestamp_ms":1783502451000,"timestamp_seconds":1783502451,"priority":1,"record_length":96,"hex_timestamp":"0000019f4107b138"} 
[2026-07-08 14:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-08 14:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:52:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576624384001,"66":27865,"236":206,"85":15360,"24":24,"16":342731943474888704,"45":-7682437253235316736},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-07-08 14:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576624384001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:52:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-08 14:52:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 14:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342731943474888704,"km_value":342731943474888.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7682437253235316736,"description":"Unknown IO ID 45"} 
[2026-07-08 14:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576624384001,"power":27865,"unknown_236":206,"unknown_85":15360,"ignition":24,"odometer":null,"unknown_45":-7682437253235316736}} 
[2026-07-08 14:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":125615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:52:33] local.INFO: GPS data processed {"connection_id":125615,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:52:33] local.INFO: Acknowledgment sent {"connection_id":125615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:52:44] local.INFO: TCP Data received {"connection_id":126376,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126376,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:52:44] local.INFO: Processing buffer {"connection_id":126376,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:52:44] local.INFO: IMEI packet received {"connection_id":126376,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":126376,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:52:49] local.INFO: TCP Data received {"connection_id":126376,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126376,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:52:49] local.INFO: Processing buffer {"connection_id":126376,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:52:49] local.INFO: IMEI packet received {"connection_id":126376,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":126376,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:52:50] local.INFO: TCP Data received {"connection_id":126376,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41072c68012d0b130007029fc00003013423..."} 
[2026-07-08 14:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41072c68012d0b130007029fc00003013423..."} 
[2026-07-08 14:52:50] local.INFO: Processing buffer {"connection_id":126376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41072c68012d0b130007029fc00003013423..."} 
[2026-07-08 14:52:50] local.INFO: Packet analysis {"connection_id":126376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4107"} 
[2026-07-08 14:52:50] local.INFO: Extracted packet for processing {"connection_id":126376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4107"} 
[2026-07-08 14:52:50] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576541696001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783502417000,"timestamp_ms":1783502417000,"timestamp_seconds":1783502417,"priority":1,"record_length":96,"hex_timestamp":"0000019f41072c68"} 
[2026-07-08 14:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 14:52:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:52:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":126376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":126376,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":126376,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576541696001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576541696001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:52:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576541696001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":126376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451825,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:52:51] local.INFO: GPS data processed {"connection_id":126376,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:52:51] local.INFO: Acknowledgment sent {"connection_id":126376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:52:55] local.INFO: TCP Data received {"connection_id":127614,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:52:55] local.INFO: Processing buffer {"connection_id":127614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:52:55] local.INFO: IMEI packet received {"connection_id":127614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":127614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:52:58] local.INFO: TCP Data received {"connection_id":125616,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:52:58] local.INFO: Processing buffer {"connection_id":125616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:52:58] local.INFO: IMEI packet received {"connection_id":125616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":125616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:53:00] local.INFO: TCP Data received {"connection_id":125616,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:53:00] local.INFO: Processing buffer {"connection_id":125616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:53:00] local.INFO: IMEI packet received {"connection_id":125616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":125616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:53:00] local.INFO: TCP Data received {"connection_id":127614,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:53:00] local.INFO: Processing buffer {"connection_id":127614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:53:00] local.INFO: IMEI packet received {"connection_id":127614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":127614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:53:01] local.INFO: TCP Data received {"connection_id":127614,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f4107ebd0012d957980057f6bb8000600a22f..."} 
[2026-07-08 14:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4107ebd0012d957980057f6bb8000600a22f..."} 
[2026-07-08 14:53:01] local.INFO: Processing buffer {"connection_id":127614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4107ebd0012d957980057f6bb8000600a22f..."} 
[2026-07-08 14:53:01] local.INFO: Packet analysis {"connection_id":127614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4107"} 
[2026-07-08 14:53:01] local.INFO: Extracted packet for processing {"connection_id":127614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4107"} 
[2026-07-08 14:53:01] local.INFO: GPS Element Parsed {"raw_longitude":764770688,"raw_latitude":92236728,"longitude_deg":76.4770688,"latitude_deg":9.2236728,"altitude":6,"angle":162,"satellites":47,"speed":24,"hex_longitude":"2d957980","hex_latitude":"057f6bb8","is_valid_coordinates":true} 
[2026-07-08 14:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576627456001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342732385856520192,"note":"Value kept but may cause issues"} 
[2026-07-08 14:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7678918816028559360,"note":"Value kept but may cause issues"} 
[2026-07-08 14:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783502466000,"timestamp_ms":1783502466000,"timestamp_seconds":1783502466,"priority":1,"record_length":96,"hex_timestamp":"0000019f4107ebd0"} 
[2026-07-08 14:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 14:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576627456001,"66":27843,"20":206,"85":15360,"24":24,"16":342732385856520192,"45":-7678918816028559360},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,85,24,16,45]} 
[2026-07-08 14:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576627456001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:53:01] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-07-08 14:53:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 14:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342732385856520192,"km_value":342732385856520.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7678918816028559360,"description":"Unknown IO ID 45"} 
[2026-07-08 14:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576627456001,"power":27843,"unknown_20":206,"unknown_85":15360,"ignition":24,"odometer":null,"unknown_45":-7678918816028559360}} 
[2026-07-08 14:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":127614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:53:01] local.INFO: GPS data processed {"connection_id":127614,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:53:01] local.INFO: Acknowledgment sent {"connection_id":127614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:53:05] local.INFO: TCP Data received {"connection_id":125616,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:53:05] local.INFO: Processing buffer {"connection_id":125616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:53:05] local.INFO: IMEI packet received {"connection_id":125616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":125616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:53:07] local.INFO: TCP Data received {"connection_id":125616,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f41090ce0012d196380071fef800037006e27..."} 
[2026-07-08 14:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41090ce0012d196380071fef800037006e27..."} 
[2026-07-08 14:53:07] local.INFO: Processing buffer {"connection_id":125616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41090ce0012d196380071fef800037006e27..."} 
[2026-07-08 14:53:07] local.INFO: Packet analysis {"connection_id":125616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4109"} 
[2026-07-08 14:53:07] local.INFO: Extracted packet for processing {"connection_id":125616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4109"} 
[2026-07-08 14:53:07] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 14:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576573184001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 14:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783502540000,"timestamp_ms":1783502540000,"timestamp_seconds":1783502540,"priority":1,"record_length":96,"hex_timestamp":"0000019f41090ce0"} 
[2026-07-08 14:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:53:07] 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-07-08 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 14:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576573184001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576573184001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:53:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:53:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 14:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576573184001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 14:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":125616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:53:07] local.INFO: GPS data processed {"connection_id":125616,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:53:07] local.INFO: Acknowledgment sent {"connection_id":125616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:53:22] local.INFO: TCP Data received {"connection_id":126376,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41072c68012d0b130007029fc00003013423..."} 
[2026-07-08 14:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41072c68012d0b130007029fc00003013423..."} 
[2026-07-08 14:53:22] local.INFO: Processing buffer {"connection_id":126376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41072c68012d0b130007029fc00003013423..."} 
[2026-07-08 14:53:22] local.INFO: Packet analysis {"connection_id":126376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4107"} 
[2026-07-08 14:53:22] local.INFO: Extracted packet for processing {"connection_id":126376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4107"} 
[2026-07-08 14:53:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576541696001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:53:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783502417000,"timestamp_ms":1783502417000,"timestamp_seconds":1783502417,"priority":1,"record_length":96,"hex_timestamp":"0000019f41072c68"} 
[2026-07-08 14:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:53:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 14:53:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:53:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126376,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126376,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576541696001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576541696001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:53:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576541696001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":126376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451828,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:53:22] local.INFO: GPS data processed {"connection_id":126376,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:53:22] local.INFO: Acknowledgment sent {"connection_id":126376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:53:32] local.INFO: TCP Data received {"connection_id":127614,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41081ab0012d958340057f4a38000600a32e..."} 
[2026-07-08 14:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41081ab0012d958340057f4a38000600a32e..."} 
[2026-07-08 14:53:32] local.INFO: Processing buffer {"connection_id":127614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41081ab0012d958340057f4a38000600a32e..."} 
[2026-07-08 14:53:32] local.INFO: Packet analysis {"connection_id":127614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4108"} 
[2026-07-08 14:53:32] local.INFO: Extracted packet for processing {"connection_id":127614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4108"} 
[2026-07-08 14:53:32] local.INFO: GPS Element Parsed {"raw_longitude":764773184,"raw_latitude":92228152,"longitude_deg":76.4773184,"latitude_deg":9.2228152,"altitude":6,"angle":163,"satellites":46,"speed":33,"hex_longitude":"2d958340","hex_latitude":"057f4a38","is_valid_coordinates":true} 
[2026-07-08 14:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576631296001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342732819648217088,"note":"Value kept but may cause issues"} 
[2026-07-08 14:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7675963328775342080,"note":"Value kept but may cause issues"} 
[2026-07-08 14:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783502478000,"timestamp_ms":1783502478000,"timestamp_seconds":1783502478,"priority":1,"record_length":96,"hex_timestamp":"0000019f41081ab0"} 
[2026-07-08 14:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 14:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576631296001,"66":27626,"20":206,"85":15360,"24":33,"16":342732819648217088,"45":-7675963328775342080},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,85,24,16,45]} 
[2026-07-08 14:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576631296001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:53:32] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-07-08 14:53:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 14:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342732819648217088,"km_value":342732819648217.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7675963328775342080,"description":"Unknown IO ID 45"} 
[2026-07-08 14:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576631296001,"power":27626,"unknown_20":206,"unknown_85":15360,"ignition":33,"odometer":null,"unknown_45":-7675963328775342080}} 
[2026-07-08 14:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":127614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:53:32] local.INFO: GPS data processed {"connection_id":127614,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:53:32] local.INFO: Acknowledgment sent {"connection_id":127614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:53:39] local.INFO: TCP Data received {"connection_id":125616,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f41090ce0012d196380071fef800037006e27..."} 
[2026-07-08 14:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41090ce0012d196380071fef800037006e27..."} 
[2026-07-08 14:53:39] local.INFO: Processing buffer {"connection_id":125616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41090ce0012d196380071fef800037006e27..."} 
[2026-07-08 14:53:39] local.INFO: Packet analysis {"connection_id":125616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4109"} 
[2026-07-08 14:53:39] local.INFO: Extracted packet for processing {"connection_id":125616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4109"} 
[2026-07-08 14:53:39] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 14:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576573184001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 14:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783502540000,"timestamp_ms":1783502540000,"timestamp_seconds":1783502540,"priority":1,"record_length":96,"hex_timestamp":"0000019f41090ce0"} 
[2026-07-08 14:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:53:39] 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-07-08 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 14:53: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-07-08 14:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576573184001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576573184001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:53:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:53:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 14:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576573184001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 14:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":125616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:53:39] local.INFO: GPS data processed {"connection_id":125616,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:53:39] local.INFO: Acknowledgment sent {"connection_id":125616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:53:50] local.INFO: TCP Data received {"connection_id":126377,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126377,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:53:50] local.INFO: Processing buffer {"connection_id":126377,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:53:50] local.INFO: IMEI packet received {"connection_id":126377,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":126377,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:53:55] local.INFO: TCP Data received {"connection_id":126377,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126377,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:53:55] local.INFO: Processing buffer {"connection_id":126377,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:53:55] local.INFO: IMEI packet received {"connection_id":126377,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":126377,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:53:55] local.INFO: TCP Data received {"connection_id":126379,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:53:55] local.INFO: Processing buffer {"connection_id":126379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:53:55] local.INFO: IMEI packet received {"connection_id":126379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":126379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:53:56] local.INFO: TCP Data received {"connection_id":126377,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f41072c68012d0b130007029fc00003013423..."} 
[2026-07-08 14:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41072c68012d0b130007029fc00003013423..."} 
[2026-07-08 14:53:56] local.INFO: Processing buffer {"connection_id":126377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41072c68012d0b130007029fc00003013423..."} 
[2026-07-08 14:53:56] local.INFO: Packet analysis {"connection_id":126377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4107"} 
[2026-07-08 14:53:56] local.INFO: Extracted packet for processing {"connection_id":126377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4107"} 
[2026-07-08 14:53:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576541696001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783502417000,"timestamp_ms":1783502417000,"timestamp_seconds":1783502417,"priority":1,"record_length":96,"hex_timestamp":"0000019f41072c68"} 
[2026-07-08 14:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 14:53:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":126377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":126377,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":126377,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576541696001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576541696001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:53:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576541696001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":126377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451831,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:53:56] local.INFO: GPS data processed {"connection_id":126377,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:53:56] local.INFO: Acknowledgment sent {"connection_id":126377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:53:56] local.INFO: TCP Data received {"connection_id":126379,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:53:56] local.INFO: Processing buffer {"connection_id":126379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:53:56] local.INFO: IMEI packet received {"connection_id":126379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":126379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:54:00] local.INFO: TCP Data received {"connection_id":127616,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:54:00] local.INFO: Processing buffer {"connection_id":127616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:54:00] local.INFO: IMEI packet received {"connection_id":127616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":127616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:54:00] local.INFO: TCP Data received {"connection_id":126377,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f41072c68012d0b130007029fc00003013423..."} 
[2026-07-08 14:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41072c68012d0b130007029fc00003013423..."} 
[2026-07-08 14:54:00] local.INFO: Processing buffer {"connection_id":126377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41072c68012d0b130007029fc00003013423..."} 
[2026-07-08 14:54:00] local.INFO: Packet analysis {"connection_id":126377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4107"} 
[2026-07-08 14:54:00] local.INFO: Extracted packet for processing {"connection_id":126377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4107"} 
[2026-07-08 14:54:00] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576541696001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783502417000,"timestamp_ms":1783502417000,"timestamp_seconds":1783502417,"priority":1,"record_length":96,"hex_timestamp":"0000019f41072c68"} 
[2026-07-08 14:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 14:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126377,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126377,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576541696001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576541696001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:54:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576541696001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":126377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451832,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:54:00] local.INFO: GPS data processed {"connection_id":126377,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:54:00] local.INFO: Acknowledgment sent {"connection_id":126377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:54:00] local.INFO: TCP Data received {"connection_id":126379,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:54:00] local.INFO: Processing buffer {"connection_id":126379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:54:00] local.INFO: IMEI packet received {"connection_id":126379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":126379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:54:05] local.INFO: TCP Data received {"connection_id":127616,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:54:05] local.INFO: Processing buffer {"connection_id":127616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:54:05] local.INFO: IMEI packet received {"connection_id":127616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":127616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:54:06] local.INFO: TCP Data received {"connection_id":126379,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f410985f8012d95e540057e0b680009009f2e..."} 
[2026-07-08 14:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410985f8012d95e540057e0b680009009f2e..."} 
[2026-07-08 14:54:06] local.INFO: Processing buffer {"connection_id":126379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410985f8012d95e540057e0b680009009f2e..."} 
[2026-07-08 14:54:06] local.INFO: Packet analysis {"connection_id":126379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4109"} 
[2026-07-08 14:54:06] local.INFO: Extracted packet for processing {"connection_id":126379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4109"} 
[2026-07-08 14:54:06] local.INFO: GPS Element Parsed {"raw_longitude":764798272,"raw_latitude":92146536,"longitude_deg":76.4798272,"latitude_deg":9.2146536,"altitude":9,"angle":159,"satellites":46,"speed":46,"hex_longitude":"2d95e540","hex_latitude":"057e0b68","is_valid_coordinates":true} 
[2026-07-08 14:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576656128001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342736959996690432,"note":"Value kept but may cause issues"} 
[2026-07-08 14:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7649012099776206848,"note":"Value kept but may cause issues"} 
[2026-07-08 14:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783502571000,"timestamp_ms":1783502571000,"timestamp_seconds":1783502571,"priority":1,"record_length":96,"hex_timestamp":"0000019f410985f8"} 
[2026-07-08 14:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-08 14:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576656128001,"66":27865,"19":206,"85":15360,"24":46,"16":342736959996690432,"45":-7649012099776206848},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-07-08 14:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576656128001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:54:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-08 14:54:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 14:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342736959996690432,"km_value":342736959996690.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7649012099776206848,"description":"Unknown IO ID 45"} 
[2026-07-08 14:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576656128001,"power":27865,"unknown_19":206,"unknown_85":15360,"ignition":46,"odometer":null,"unknown_45":-7649012099776206848}} 
[2026-07-08 14:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":126379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:54:06] local.INFO: GPS data processed {"connection_id":126379,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:54:06] local.INFO: Acknowledgment sent {"connection_id":126379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:54:07] local.INFO: TCP Data received {"connection_id":127616,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f41090ce0012d196380071fef800037006e27..."} 
[2026-07-08 14:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41090ce0012d196380071fef800037006e27..."} 
[2026-07-08 14:54:07] local.INFO: Processing buffer {"connection_id":127616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41090ce0012d196380071fef800037006e27..."} 
[2026-07-08 14:54:07] local.INFO: Packet analysis {"connection_id":127616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4109"} 
[2026-07-08 14:54:07] local.INFO: Extracted packet for processing {"connection_id":127616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4109"} 
[2026-07-08 14:54:07] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 14:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576573184001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 14:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783502540000,"timestamp_ms":1783502540000,"timestamp_seconds":1783502540,"priority":1,"record_length":96,"hex_timestamp":"0000019f41090ce0"} 
[2026-07-08 14:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:54:07] 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-07-08 14:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 14:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576573184001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576573184001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:54:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:54:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 14:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576573184001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 14:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":127616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:54:07] local.INFO: GPS data processed {"connection_id":127616,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:54:07] local.INFO: Acknowledgment sent {"connection_id":127616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:54:39] local.INFO: TCP Data received {"connection_id":127616,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f41090ce0012d196380071fef800037006e27..."} 
[2026-07-08 14:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41090ce0012d196380071fef800037006e27..."} 
[2026-07-08 14:54:39] local.INFO: Processing buffer {"connection_id":127616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41090ce0012d196380071fef800037006e27..."} 
[2026-07-08 14:54:39] local.INFO: Packet analysis {"connection_id":127616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4109"} 
[2026-07-08 14:54:39] local.INFO: Extracted packet for processing {"connection_id":127616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4109"} 
[2026-07-08 14:54:39] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 14:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576573184001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 14:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783502540000,"timestamp_ms":1783502540000,"timestamp_seconds":1783502540,"priority":1,"record_length":96,"hex_timestamp":"0000019f41090ce0"} 
[2026-07-08 14:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:54:39] 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-07-08 14:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 14:54: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-07-08 14:54:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":127616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":127616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":127616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576573184001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576573184001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:54:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:54:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 14:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576573184001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 14:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":127616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:54:39] local.INFO: GPS data processed {"connection_id":127616,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:54:39] local.INFO: Acknowledgment sent {"connection_id":127616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:54:45] local.INFO: TCP Data received {"connection_id":125617,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125617,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:54:45] local.INFO: Processing buffer {"connection_id":125617,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:54:45] local.INFO: IMEI packet received {"connection_id":125617,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":125617,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:54:46] local.INFO: TCP Data received {"connection_id":126379,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f4109a538012d95f280057de710000800a02f..."} 
[2026-07-08 14:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4109a538012d95f280057de710000800a02f..."} 
[2026-07-08 14:54:46] local.INFO: Processing buffer {"connection_id":126379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4109a538012d95f280057de710000800a02f..."} 
[2026-07-08 14:54:46] local.INFO: Packet analysis {"connection_id":126379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4109"} 
[2026-07-08 14:54:46] local.INFO: Extracted packet for processing {"connection_id":126379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4109"} 
[2026-07-08 14:54:46] local.INFO: GPS Element Parsed {"raw_longitude":764801664,"raw_latitude":92137232,"longitude_deg":76.4801664,"latitude_deg":9.2137232,"altitude":8,"angle":160,"satellites":47,"speed":51,"hex_longitude":"2d95f280","hex_latitude":"057de710","is_valid_coordinates":true} 
[2026-07-08 14:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576658176001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342737441033027584,"note":"Value kept but may cause issues"} 
[2026-07-08 14:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7645634400057858048,"note":"Value kept but may cause issues"} 
[2026-07-08 14:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783502579000,"timestamp_ms":1783502579000,"timestamp_seconds":1783502579,"priority":1,"record_length":96,"hex_timestamp":"0000019f4109a538"} 
[2026-07-08 14:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 14:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":126379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":126379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":126379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576658176001,"66":27865,"19":206,"85":15360,"24":51,"16":342737441033027584,"45":-7645634400057858048},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-07-08 14:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576658176001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:54:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-08 14:54:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 14:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342737441033027584,"km_value":342737441033027.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7645634400057858048,"description":"Unknown IO ID 45"} 
[2026-07-08 14:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576658176001,"power":27865,"unknown_19":206,"unknown_85":15360,"ignition":51,"odometer":null,"unknown_45":-7645634400057858048}} 
[2026-07-08 14:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":126379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:54:46] local.INFO: GPS data processed {"connection_id":126379,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:54:46] local.INFO: Acknowledgment sent {"connection_id":126379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:54:50] local.INFO: TCP Data received {"connection_id":125617,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125617,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:54:50] local.INFO: Processing buffer {"connection_id":125617,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:54:50] local.INFO: IMEI packet received {"connection_id":125617,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":125617,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:54:51] local.INFO: TCP Data received {"connection_id":125617,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f41072c68012d0b130007029fc00003013423..."} 
[2026-07-08 14:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41072c68012d0b130007029fc00003013423..."} 
[2026-07-08 14:54:51] local.INFO: Processing buffer {"connection_id":125617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41072c68012d0b130007029fc00003013423..."} 
[2026-07-08 14:54:51] local.INFO: Packet analysis {"connection_id":125617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4107"} 
[2026-07-08 14:54:51] local.INFO: Extracted packet for processing {"connection_id":125617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4107"} 
[2026-07-08 14:54:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576541696001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783502417000,"timestamp_ms":1783502417000,"timestamp_seconds":1783502417,"priority":1,"record_length":96,"hex_timestamp":"0000019f41072c68"} 
[2026-07-08 14:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 14:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125617,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125617,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576541696001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576541696001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:54:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576541696001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":125617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451837,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:54:51] local.INFO: GPS data processed {"connection_id":125617,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:54:51] local.INFO: Acknowledgment sent {"connection_id":125617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:54:57] local.INFO: TCP Data received {"connection_id":125618,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:54:57] local.INFO: Processing buffer {"connection_id":125618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:54:57] local.INFO: IMEI packet received {"connection_id":125618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":125618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:55:00] local.INFO: TCP Data received {"connection_id":125618,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:55:00] local.INFO: Processing buffer {"connection_id":125618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:55:00] local.INFO: IMEI packet received {"connection_id":125618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":125618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:55:04] local.INFO: TCP Data received {"connection_id":125618,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:55:04] local.INFO: Processing buffer {"connection_id":125618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:55:04] local.INFO: IMEI packet received {"connection_id":125618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":125618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:55:05] local.INFO: TCP Data received {"connection_id":125618,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f410ab2c0012d967200057c6e400008009f2e..."} 
[2026-07-08 14:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410ab2c0012d967200057c6e400008009f2e..."} 
[2026-07-08 14:55:05] local.INFO: Processing buffer {"connection_id":125618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410ab2c0012d967200057c6e400008009f2e..."} 
[2026-07-08 14:55:05] local.INFO: Packet analysis {"connection_id":125618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f410a"} 
[2026-07-08 14:55:05] local.INFO: Extracted packet for processing {"connection_id":125618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f410a"} 
[2026-07-08 14:55:05] local.INFO: GPS Element Parsed {"raw_longitude":764834304,"raw_latitude":92040768,"longitude_deg":76.4834304,"latitude_deg":9.2040768,"altitude":8,"angle":159,"satellites":46,"speed":59,"hex_longitude":"2d967200","hex_latitude":"057c6e40","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576676352001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342742371655483392,"note":"Value kept but may cause issues"} 
[2026-07-08 14:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7609464865575467008,"note":"Value kept but may cause issues"} 
[2026-07-08 14:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783502648000,"timestamp_ms":1783502648000,"timestamp_seconds":1783502648,"priority":1,"record_length":96,"hex_timestamp":"0000019f410ab2c0"} 
[2026-07-08 14:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 14:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576676352001,"66":27767,"19":206,"85":15360,"24":59,"16":342742371655483392,"45":-7609464865575467008},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-07-08 14:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576676352001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:55:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-08 14:55:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 14:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342742371655483392,"km_value":342742371655483.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7609464865575467008,"description":"Unknown IO ID 45"} 
[2026-07-08 14:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576676352001,"power":27767,"unknown_19":206,"unknown_85":15360,"ignition":59,"odometer":null,"unknown_45":-7609464865575467008}} 
[2026-07-08 14:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":125618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:55:05] local.INFO: GPS data processed {"connection_id":125618,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:55:05] local.INFO: Acknowledgment sent {"connection_id":125618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:55:05] local.INFO: TCP Data received {"connection_id":127617,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:55:05] local.INFO: Processing buffer {"connection_id":127617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:55:05] local.INFO: IMEI packet received {"connection_id":127617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":127617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:55:11] local.INFO: TCP Data received {"connection_id":127617,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:55:11] local.INFO: Processing buffer {"connection_id":127617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:55:11] local.INFO: IMEI packet received {"connection_id":127617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":127617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:55:12] local.INFO: TCP Data received {"connection_id":127617,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f41090ce0012d196380071fef800037006e27..."} 
[2026-07-08 14:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41090ce0012d196380071fef800037006e27..."} 
[2026-07-08 14:55:12] local.INFO: Processing buffer {"connection_id":127617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41090ce0012d196380071fef800037006e27..."} 
[2026-07-08 14:55:12] local.INFO: Packet analysis {"connection_id":127617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4109"} 
[2026-07-08 14:55:12] local.INFO: Extracted packet for processing {"connection_id":127617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4109"} 
[2026-07-08 14:55:12] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 14:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576573184001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 14:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783502540000,"timestamp_ms":1783502540000,"timestamp_seconds":1783502540,"priority":1,"record_length":96,"hex_timestamp":"0000019f41090ce0"} 
[2026-07-08 14:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:55: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-07-08 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 14:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":127617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":127617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":127617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576573184001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576573184001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:55:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:55:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 14:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576573184001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 14:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":127617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:55:12] local.INFO: GPS data processed {"connection_id":127617,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:55:12] local.INFO: Acknowledgment sent {"connection_id":127617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:55:16] local.INFO: TCP Data received {"connection_id":125491,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:55:16] local.INFO: Processing buffer {"connection_id":125491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:55:16] local.INFO: IMEI packet received {"connection_id":125491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 14:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":125491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:55:16] local.INFO: TCP Data received {"connection_id":127617,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f41090ce0012d196380071fef800037006e27..."} 
[2026-07-08 14:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41090ce0012d196380071fef800037006e27..."} 
[2026-07-08 14:55:16] local.INFO: Processing buffer {"connection_id":127617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41090ce0012d196380071fef800037006e27..."} 
[2026-07-08 14:55:16] local.INFO: Packet analysis {"connection_id":127617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4109"} 
[2026-07-08 14:55:16] local.INFO: Extracted packet for processing {"connection_id":127617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4109"} 
[2026-07-08 14:55:16] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 14:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576573184001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 14:55:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783502540000,"timestamp_ms":1783502540000,"timestamp_seconds":1783502540,"priority":1,"record_length":96,"hex_timestamp":"0000019f41090ce0"} 
[2026-07-08 14:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:55: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-07-08 14:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 14:55:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:55:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":127617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":127617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":127617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576573184001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576573184001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:55:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:55:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 14:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576573184001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 14:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":127617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:55:17] local.INFO: GPS data processed {"connection_id":127617,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:55:17] local.INFO: Acknowledgment sent {"connection_id":127617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:55:30] local.INFO: TCP Data received {"connection_id":125617,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f410bc430012d0b130007029fc00003013420..."} 
[2026-07-08 14:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410bc430012d0b130007029fc00003013420..."} 
[2026-07-08 14:55:30] local.INFO: Processing buffer {"connection_id":125617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410bc430012d0b130007029fc00003013420..."} 
[2026-07-08 14:55:30] local.INFO: Packet analysis {"connection_id":125617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f410b"} 
[2026-07-08 14:55:30] local.INFO: Extracted packet for processing {"connection_id":125617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f410b"} 
[2026-07-08 14:55:30] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576618752001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:55: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-07-08 14:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783502718000,"timestamp_ms":1783502718000,"timestamp_seconds":1783502718,"priority":1,"record_length":96,"hex_timestamp":"0000019f410bc430"} 
[2026-07-08 14:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":125617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":125617,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":125617,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576618752001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576618752001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:55:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576618752001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":125617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451841,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:55:30] local.INFO: GPS data processed {"connection_id":125617,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:55:30] local.INFO: Acknowledgment sent {"connection_id":125617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:55:35] local.INFO: TCP Data received {"connection_id":125618,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f410aca30012d967d80057c4d38000800a12e..."} 
[2026-07-08 14:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410aca30012d967d80057c4d38000800a12e..."} 
[2026-07-08 14:55:35] local.INFO: Processing buffer {"connection_id":125618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410aca30012d967d80057c4d38000800a12e..."} 
[2026-07-08 14:55:35] local.INFO: Packet analysis {"connection_id":125618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f410a"} 
[2026-07-08 14:55:35] local.INFO: Extracted packet for processing {"connection_id":125618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f410a"} 
[2026-07-08 14:55:35] local.INFO: GPS Element Parsed {"raw_longitude":764837248,"raw_latitude":92032312,"longitude_deg":76.4837248,"latitude_deg":9.2032312,"altitude":8,"angle":161,"satellites":46,"speed":59,"hex_longitude":"2d967d80","hex_latitude":"057c4d38","is_valid_coordinates":true} 
[2026-07-08 14:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576677888001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342742805447180288,"note":"Value kept but may cause issues"} 
[2026-07-08 14:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606016797112909824,"note":"Value kept but may cause issues"} 
[2026-07-08 14:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783502654000,"timestamp_ms":1783502654000,"timestamp_seconds":1783502654,"priority":1,"record_length":96,"hex_timestamp":"0000019f410aca30"} 
[2026-07-08 14:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 14:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576677888001,"66":27745,"71":206,"85":15872,"24":59,"16":342742805447180288,"45":-7606016797112909824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-08 14:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576677888001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:55:35] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-08 14:55:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 14:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342742805447180288,"km_value":342742805447180.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606016797112909824,"description":"Unknown IO ID 45"} 
[2026-07-08 14:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576677888001,"power":27745,"unknown_71":206,"unknown_85":15872,"ignition":59,"odometer":null,"unknown_45":-7606016797112909824}} 
[2026-07-08 14:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":125618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:55:35] local.INFO: GPS data processed {"connection_id":125618,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:55:35] local.INFO: Acknowledgment sent {"connection_id":125618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:55:44] local.INFO: TCP Data received {"connection_id":125492,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125492,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:55:44] local.INFO: Processing buffer {"connection_id":125492,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:55:44] local.INFO: IMEI packet received {"connection_id":125492,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":125492,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:55:50] local.INFO: TCP Data received {"connection_id":125492,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125492,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:55:50] local.INFO: Processing buffer {"connection_id":125492,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:55:50] local.INFO: IMEI packet received {"connection_id":125492,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":125492,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:55:50] local.INFO: TCP Data received {"connection_id":125492,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f410bc430012d0b130007029fc00003013420..."} 
[2026-07-08 14:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410bc430012d0b130007029fc00003013420..."} 
[2026-07-08 14:55:50] local.INFO: Processing buffer {"connection_id":125492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410bc430012d0b130007029fc00003013420..."} 
[2026-07-08 14:55:50] local.INFO: Packet analysis {"connection_id":125492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f410b"} 
[2026-07-08 14:55:50] local.INFO: Extracted packet for processing {"connection_id":125492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f410b"} 
[2026-07-08 14:55:50] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576618752001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:55:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783502718000,"timestamp_ms":1783502718000,"timestamp_seconds":1783502718,"priority":1,"record_length":96,"hex_timestamp":"0000019f410bc430"} 
[2026-07-08 14:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:55:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:55:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:55:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":125492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":125492,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":125492,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:55:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576618752001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576618752001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:55:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:55:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576618752001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":125492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451843,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:55:51] local.INFO: GPS data processed {"connection_id":125492,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:55:51] local.INFO: Acknowledgment sent {"connection_id":125492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:55:56] local.INFO: TCP Data received {"connection_id":125619,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125619,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:55:56] local.INFO: Processing buffer {"connection_id":125619,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:55:56] local.INFO: IMEI packet received {"connection_id":125619,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 14:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":125619,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:55:56] local.INFO: TCP Data received {"connection_id":126380,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:55:56] local.INFO: Processing buffer {"connection_id":126380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:55:56] local.INFO: IMEI packet received {"connection_id":126380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":126380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:55:57] local.INFO: TCP Data received {"connection_id":126380,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:55:57] local.INFO: Processing buffer {"connection_id":126380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:55:57] local.INFO: IMEI packet received {"connection_id":126380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":126380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:55:58] local.INFO: TCP Data received {"connection_id":126380,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f410ae1a0012d968800057c2bf0000800a32e..."} 
[2026-07-08 14:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410ae1a0012d968800057c2bf0000800a32e..."} 
[2026-07-08 14:55:58] local.INFO: Processing buffer {"connection_id":126380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410ae1a0012d968800057c2bf0000800a32e..."} 
[2026-07-08 14:55:58] local.INFO: Packet analysis {"connection_id":126380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f410a"} 
[2026-07-08 14:55:58] local.INFO: Extracted packet for processing {"connection_id":126380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f410a"} 
[2026-07-08 14:55:58] local.INFO: GPS Element Parsed {"raw_longitude":764839936,"raw_latitude":92023792,"longitude_deg":76.4839936,"latitude_deg":9.2023792,"altitude":8,"angle":163,"satellites":46,"speed":59,"hex_longitude":"2d968800","hex_latitude":"057c2bf0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576679424001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342743239238877184,"note":"Value kept but may cause issues"} 
[2026-07-08 14:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7602779834882902016,"note":"Value kept but may cause issues"} 
[2026-07-08 14:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783502660000,"timestamp_ms":1783502660000,"timestamp_seconds":1783502660,"priority":1,"record_length":96,"hex_timestamp":"0000019f410ae1a0"} 
[2026-07-08 14:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:55: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-07-08 14: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 14:55:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":126380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":126380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":126380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576679424001,"66":27234,"71":206,"85":15872,"24":59,"16":342743239238877184,"45":-7602779834882902016},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-08 14:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576679424001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:55:58] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-08 14:55:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 14:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342743239238877184,"km_value":342743239238877.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7602779834882902016,"description":"Unknown IO ID 45"} 
[2026-07-08 14:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576679424001,"power":27234,"unknown_71":206,"unknown_85":15872,"ignition":59,"odometer":null,"unknown_45":-7602779834882902016}} 
[2026-07-08 14:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":126380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:55:58] local.INFO: GPS data processed {"connection_id":126380,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:55:58] local.INFO: Acknowledgment sent {"connection_id":126380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:56:00] local.INFO: TCP Data received {"connection_id":125493,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:56:00] local.INFO: Processing buffer {"connection_id":125493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:56:00] local.INFO: IMEI packet received {"connection_id":125493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":125493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:56:01] local.INFO: TCP Data received {"connection_id":125619,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125619,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:56:01] local.INFO: Processing buffer {"connection_id":125619,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:56:01] local.INFO: IMEI packet received {"connection_id":125619,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":125619,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:56:01] local.INFO: TCP Data received {"connection_id":125619,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125619,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:56:01] local.INFO: Processing buffer {"connection_id":125619,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 14:56:01] local.INFO: IMEI packet received {"connection_id":125619,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 14:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":125619,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:56:05] local.INFO: TCP Data received {"connection_id":125493,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:56:05] local.INFO: Processing buffer {"connection_id":125493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:56:05] local.INFO: IMEI packet received {"connection_id":125493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":125493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:56:10] local.INFO: TCP Data received {"connection_id":125493,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f41090ce0012d196380071fef800037006e27..."} 
[2026-07-08 14:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41090ce0012d196380071fef800037006e27..."} 
[2026-07-08 14:56:10] local.INFO: Processing buffer {"connection_id":125493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41090ce0012d196380071fef800037006e27..."} 
[2026-07-08 14:56:10] local.INFO: Packet analysis {"connection_id":125493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4109"} 
[2026-07-08 14:56:10] local.INFO: Extracted packet for processing {"connection_id":125493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4109"} 
[2026-07-08 14:56:10] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 14:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576573184001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 14:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783502540000,"timestamp_ms":1783502540000,"timestamp_seconds":1783502540,"priority":1,"record_length":96,"hex_timestamp":"0000019f41090ce0"} 
[2026-07-08 14:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:56: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-07-08 14:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 14:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576573184001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576573184001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:56:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:56:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 14:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576573184001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 14:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":125493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:56:10] local.INFO: GPS data processed {"connection_id":125493,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:56:10] local.INFO: Acknowledgment sent {"connection_id":125493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:56:11] local.INFO: TCP Data received {"connection_id":125493,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f41090ce0012d196380071fef800037006e27..."} 
[2026-07-08 14:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41090ce0012d196380071fef800037006e27..."} 
[2026-07-08 14:56:11] local.INFO: Processing buffer {"connection_id":125493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41090ce0012d196380071fef800037006e27..."} 
[2026-07-08 14:56:11] local.INFO: Packet analysis {"connection_id":125493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4109"} 
[2026-07-08 14:56:11] local.INFO: Extracted packet for processing {"connection_id":125493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4109"} 
[2026-07-08 14:56:11] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 14:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576573184001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 14:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783502540000,"timestamp_ms":1783502540000,"timestamp_seconds":1783502540,"priority":1,"record_length":96,"hex_timestamp":"0000019f41090ce0"} 
[2026-07-08 14:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:56: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-07-08 14: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":118,"data_length":795,"current_offset":136} 
[2026-07-08 14:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576573184001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576573184001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:56:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:56:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 14:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576573184001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 14:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":125493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:56:12] local.INFO: GPS data processed {"connection_id":125493,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:56:12] local.INFO: Acknowledgment sent {"connection_id":125493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:56:22] local.INFO: TCP Data received {"connection_id":125492,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f410bc430012d0b130007029fc00003013420..."} 
[2026-07-08 14:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410bc430012d0b130007029fc00003013420..."} 
[2026-07-08 14:56:22] local.INFO: Processing buffer {"connection_id":125492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410bc430012d0b130007029fc00003013420..."} 
[2026-07-08 14:56:22] local.INFO: Packet analysis {"connection_id":125492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f410b"} 
[2026-07-08 14:56:22] local.INFO: Extracted packet for processing {"connection_id":125492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f410b"} 
[2026-07-08 14:56:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576618752001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783502718000,"timestamp_ms":1783502718000,"timestamp_seconds":1783502718,"priority":1,"record_length":96,"hex_timestamp":"0000019f410bc430"} 
[2026-07-08 14:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:56:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:56:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125492,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125492,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576618752001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576618752001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:56:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576618752001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":125492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451847,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:56:22] local.INFO: GPS data processed {"connection_id":125492,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:56:22] local.INFO: Acknowledgment sent {"connection_id":125492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:56:29] local.INFO: TCP Data received {"connection_id":126380,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f410af910012d969140057c0a58000900a430..."} 
[2026-07-08 14:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410af910012d969140057c0a58000900a430..."} 
[2026-07-08 14:56:29] local.INFO: Processing buffer {"connection_id":126380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410af910012d969140057c0a58000900a430..."} 
[2026-07-08 14:56:29] local.INFO: Packet analysis {"connection_id":126380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f410a"} 
[2026-07-08 14:56:29] local.INFO: Extracted packet for processing {"connection_id":126380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f410a"} 
[2026-07-08 14:56:29] local.INFO: GPS Element Parsed {"raw_longitude":764842304,"raw_latitude":92015192,"longitude_deg":76.4842304,"latitude_deg":9.2015192,"altitude":9,"angle":164,"satellites":48,"speed":59,"hex_longitude":"2d969140","hex_latitude":"057c0a58","is_valid_coordinates":true} 
[2026-07-08 14:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576680960001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342743668735606784,"note":"Value kept but may cause issues"} 
[2026-07-08 14:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7599824347629621248,"note":"Value kept but may cause issues"} 
[2026-07-08 14:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783502666000,"timestamp_ms":1783502666000,"timestamp_seconds":1783502666,"priority":1,"record_length":96,"hex_timestamp":"0000019f410af910"} 
[2026-07-08 14:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:56:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-08 14:56:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:56:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":126380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":126380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":126380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:56:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576680960001,"66":28028,"71":206,"85":15872,"24":59,"16":342743668735606784,"45":-7599824347629621248},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-08 14:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576680960001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:56:29] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-08 14:56:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 14:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342743668735606784,"km_value":342743668735606.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7599824347629621248,"description":"Unknown IO ID 45"} 
[2026-07-08 14:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576680960001,"power":28028,"unknown_71":206,"unknown_85":15872,"ignition":59,"odometer":null,"unknown_45":-7599824347629621248}} 
[2026-07-08 14:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":126380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:56:29] local.INFO: GPS data processed {"connection_id":126380,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:56:29] local.INFO: Acknowledgment sent {"connection_id":126380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:56:43] local.INFO: TCP Data received {"connection_id":125493,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f41090ce0012d196380071fef800037006e27..."} 
[2026-07-08 14:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41090ce0012d196380071fef800037006e27..."} 
[2026-07-08 14:56:43] local.INFO: Processing buffer {"connection_id":125493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41090ce0012d196380071fef800037006e27..."} 
[2026-07-08 14:56:43] local.INFO: Packet analysis {"connection_id":125493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4109"} 
[2026-07-08 14:56:43] local.INFO: Extracted packet for processing {"connection_id":125493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4109"} 
[2026-07-08 14:56:43] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 14:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576573184001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 14:56:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783502540000,"timestamp_ms":1783502540000,"timestamp_seconds":1783502540,"priority":1,"record_length":96,"hex_timestamp":"0000019f41090ce0"} 
[2026-07-08 14:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:56:43] 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-07-08 14:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 14:56:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:56:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":125493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":125493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":125493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576573184001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576573184001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:56:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:56:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 14:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576573184001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 14:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":125493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:56:43] local.INFO: GPS data processed {"connection_id":125493,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:56:43] local.INFO: Acknowledgment sent {"connection_id":125493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:56:44] local.INFO: TCP Data received {"connection_id":125494,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125494,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:56:44] local.INFO: Processing buffer {"connection_id":125494,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:56:44] local.INFO: IMEI packet received {"connection_id":125494,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":125494,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:56:50] local.INFO: TCP Data received {"connection_id":125494,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125494,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:56:50] local.INFO: Processing buffer {"connection_id":125494,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:56:50] local.INFO: IMEI packet received {"connection_id":125494,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":125494,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:56:50] local.INFO: TCP Data received {"connection_id":125494,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f410bc430012d0b130007029fc00003013420..."} 
[2026-07-08 14:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410bc430012d0b130007029fc00003013420..."} 
[2026-07-08 14:56:50] local.INFO: Processing buffer {"connection_id":125494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410bc430012d0b130007029fc00003013420..."} 
[2026-07-08 14:56:50] local.INFO: Packet analysis {"connection_id":125494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f410b"} 
[2026-07-08 14:56:50] local.INFO: Extracted packet for processing {"connection_id":125494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f410b"} 
[2026-07-08 14:56:50] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576618752001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783502718000,"timestamp_ms":1783502718000,"timestamp_seconds":1783502718,"priority":1,"record_length":96,"hex_timestamp":"0000019f410bc430"} 
[2026-07-08 14:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:56:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":125494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":125494,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":125494,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576618752001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576618752001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:56:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576618752001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":125494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451850,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:56:51] local.INFO: GPS data processed {"connection_id":125494,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:56:51] local.INFO: Acknowledgment sent {"connection_id":125494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:56:54] local.INFO: TCP Data received {"connection_id":127618,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:56:54] local.INFO: Processing buffer {"connection_id":127618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:56:54] local.INFO: IMEI packet received {"connection_id":127618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":127618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:56:55] local.INFO: TCP Data received {"connection_id":127618,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:56:55] local.INFO: Processing buffer {"connection_id":127618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:56:55] local.INFO: IMEI packet received {"connection_id":127618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":127618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:57:00] local.INFO: TCP Data received {"connection_id":125495,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:57:00] local.INFO: Processing buffer {"connection_id":125495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:57:00] local.INFO: IMEI packet received {"connection_id":125495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":125495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:57:00] local.INFO: TCP Data received {"connection_id":127618,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:57:00] local.INFO: Processing buffer {"connection_id":127618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:57:00] local.INFO: IMEI packet received {"connection_id":127618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":127618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:57:01] local.INFO: TCP Data received {"connection_id":127618,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f410c3d48012d96f7c0057ab070000900a42c..."} 
[2026-07-08 14:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410c3d48012d96f7c0057ab070000900a42c..."} 
[2026-07-08 14:57:01] local.INFO: Processing buffer {"connection_id":127618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410c3d48012d96f7c0057ab070000900a42c..."} 
[2026-07-08 14:57:01] local.INFO: Packet analysis {"connection_id":127618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f410c"} 
[2026-07-08 14:57:01] local.INFO: Extracted packet for processing {"connection_id":127618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f410c"} 
[2026-07-08 14:57:01] local.INFO: GPS Element Parsed {"raw_longitude":764868544,"raw_latitude":91926640,"longitude_deg":76.4868544,"latitude_deg":9.192664,"altitude":9,"angle":164,"satellites":44,"speed":41,"hex_longitude":"2d96f7c0","hex_latitude":"057ab070","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576701440001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342748148386496512,"note":"Value kept but may cause issues"} 
[2026-07-08 14:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7571113900027809792,"note":"Value kept but may cause issues"} 
[2026-07-08 14:57:01] 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-07-08 14:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783502749000,"timestamp_ms":1783502749000,"timestamp_seconds":1783502749,"priority":1,"record_length":96,"hex_timestamp":"0000019f410c3d48"} 
[2026-07-08 14:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:57: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-07-08 14: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-08 14:57:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576701440001,"66":27865,"69":206,"85":15872,"24":41,"16":342748148386496512,"45":-7571113900027809792},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-07-08 14:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576701440001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:57:01] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-08 14:57:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 14:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342748148386496512,"km_value":342748148386496.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7571113900027809792,"description":"Unknown IO ID 45"} 
[2026-07-08 14:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576701440001,"power":27865,"unknown_69":206,"unknown_85":15872,"ignition":41,"odometer":null,"unknown_45":-7571113900027809792}} 
[2026-07-08 14:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":127618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:57:01] local.INFO: GPS data processed {"connection_id":127618,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:57:01] local.INFO: Acknowledgment sent {"connection_id":127618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:57:05] local.INFO: TCP Data received {"connection_id":125495,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:57:05] local.INFO: Processing buffer {"connection_id":125495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:57:05] local.INFO: IMEI packet received {"connection_id":125495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":125495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:57:07] local.INFO: TCP Data received {"connection_id":125495,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f41090ce0012d196380071fef800037006e27..."} 
[2026-07-08 14:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41090ce0012d196380071fef800037006e27..."} 
[2026-07-08 14:57:07] local.INFO: Processing buffer {"connection_id":125495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41090ce0012d196380071fef800037006e27..."} 
[2026-07-08 14:57:07] local.INFO: Packet analysis {"connection_id":125495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4109"} 
[2026-07-08 14:57:07] local.INFO: Extracted packet for processing {"connection_id":125495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4109"} 
[2026-07-08 14:57:07] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 14:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576573184001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 14:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783502540000,"timestamp_ms":1783502540000,"timestamp_seconds":1783502540,"priority":1,"record_length":96,"hex_timestamp":"0000019f41090ce0"} 
[2026-07-08 14:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:57:07] 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-07-08 14:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 14:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576573184001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576573184001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:57:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:57:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 14:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576573184001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 14:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":125495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:57:07] local.INFO: GPS data processed {"connection_id":125495,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:57:07] local.INFO: Acknowledgment sent {"connection_id":125495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:57:22] local.INFO: TCP Data received {"connection_id":125494,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f410bc430012d0b130007029fc00003013420..."} 
[2026-07-08 14:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410bc430012d0b130007029fc00003013420..."} 
[2026-07-08 14:57:22] local.INFO: Processing buffer {"connection_id":125494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410bc430012d0b130007029fc00003013420..."} 
[2026-07-08 14:57:22] local.INFO: Packet analysis {"connection_id":125494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f410b"} 
[2026-07-08 14:57:22] local.INFO: Extracted packet for processing {"connection_id":125494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f410b"} 
[2026-07-08 14:57:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 14:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576618752001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783502718000,"timestamp_ms":1783502718000,"timestamp_seconds":1783502718,"priority":1,"record_length":96,"hex_timestamp":"0000019f410bc430"} 
[2026-07-08 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-07-08 14:57:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:57:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 14:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125494,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125494,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576618752001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576618752001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:57:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576618752001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":125494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451853,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:57:22] local.INFO: GPS data processed {"connection_id":125494,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:57:22] local.INFO: Acknowledgment sent {"connection_id":125494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:57:32] local.INFO: TCP Data received {"connection_id":127618,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f410c6070012d970140057a8b20000900a82c..."} 
[2026-07-08 14:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410c6070012d970140057a8b20000900a82c..."} 
[2026-07-08 14:57:32] local.INFO: Processing buffer {"connection_id":127618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410c6070012d970140057a8b20000900a82c..."} 
[2026-07-08 14:57:32] local.INFO: Packet analysis {"connection_id":127618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f410c"} 
[2026-07-08 14:57:32] local.INFO: Extracted packet for processing {"connection_id":127618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f410c"} 
[2026-07-08 14:57:32] local.INFO: GPS Element Parsed {"raw_longitude":764870976,"raw_latitude":91917088,"longitude_deg":76.4870976,"latitude_deg":9.1917088,"altitude":9,"angle":168,"satellites":44,"speed":41,"hex_longitude":"2d970140","hex_latitude":"057a8b20","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576703744001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342748625127866368,"note":"Value kept but may cause issues"} 
[2026-07-08 14:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7568369519007076352,"note":"Value kept but may cause issues"} 
[2026-07-08 14:57:32] 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-07-08 14:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783502758000,"timestamp_ms":1783502758000,"timestamp_seconds":1783502758,"priority":1,"record_length":96,"hex_timestamp":"0000019f410c6070"} 
[2026-07-08 14:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 14:57:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576703744001,"66":27930,"69":206,"85":15872,"24":41,"16":342748625127866368,"45":-7568369519007076352},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-07-08 14:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576703744001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:57:32] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-08 14:57:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 14:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342748625127866368,"km_value":342748625127866.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7568369519007076352,"description":"Unknown IO ID 45"} 
[2026-07-08 14:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576703744001,"power":27930,"unknown_69":206,"unknown_85":15872,"ignition":41,"odometer":null,"unknown_45":-7568369519007076352}} 
[2026-07-08 14:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":127618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:57:32] local.INFO: GPS data processed {"connection_id":127618,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:57:32] local.INFO: Acknowledgment sent {"connection_id":127618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:57:44] local.INFO: TCP Data received {"connection_id":125495,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f41090ce0012d196380071fef800037006e27..."} 
[2026-07-08 14:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41090ce0012d196380071fef800037006e27..."} 
[2026-07-08 14:57:44] local.INFO: Processing buffer {"connection_id":125495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41090ce0012d196380071fef800037006e27..."} 
[2026-07-08 14:57:44] local.INFO: Packet analysis {"connection_id":125495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4109"} 
[2026-07-08 14:57:44] local.INFO: Extracted packet for processing {"connection_id":125495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4109"} 
[2026-07-08 14:57:44] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 14:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576573184001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 14:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783502540000,"timestamp_ms":1783502540000,"timestamp_seconds":1783502540,"priority":1,"record_length":96,"hex_timestamp":"0000019f41090ce0"} 
[2026-07-08 14:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:57:44] 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-07-08 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 14:57:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:57:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":125495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":125495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":125495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576573184001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576573184001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:57:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:57:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 14:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576573184001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 14:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":125495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:57:44] local.INFO: GPS data processed {"connection_id":125495,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:57:44] local.INFO: Acknowledgment sent {"connection_id":125495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:57:49] local.INFO: TCP Data received {"connection_id":125496,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125496,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:57:49] local.INFO: Processing buffer {"connection_id":125496,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:57:49] local.INFO: IMEI packet received {"connection_id":125496,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":125496,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:57:55] local.INFO: TCP Data received {"connection_id":125496,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125496,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:57:55] local.INFO: Processing buffer {"connection_id":125496,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:57:55] local.INFO: IMEI packet received {"connection_id":125496,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":125496,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:57:55] local.INFO: TCP Data received {"connection_id":125496,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f410bc430012d0b130007029fc00003013420..."} 
[2026-07-08 14:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410bc430012d0b130007029fc00003013420..."} 
[2026-07-08 14:57:55] local.INFO: Processing buffer {"connection_id":125496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410bc430012d0b130007029fc00003013420..."} 
[2026-07-08 14:57:55] local.INFO: Packet analysis {"connection_id":125496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f410b"} 
[2026-07-08 14:57:55] local.INFO: Extracted packet for processing {"connection_id":125496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f410b"} 
[2026-07-08 14:57:55] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576618752001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783502718000,"timestamp_ms":1783502718000,"timestamp_seconds":1783502718,"priority":1,"record_length":96,"hex_timestamp":"0000019f410bc430"} 
[2026-07-08 14:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:57:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":125496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":125496,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":125496,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576618752001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576618752001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:57:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576618752001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":125496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451856,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:57:56] local.INFO: GPS data processed {"connection_id":125496,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:57:56] local.INFO: Acknowledgment sent {"connection_id":125496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:57:56] local.INFO: TCP Data received {"connection_id":126381,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:57:56] local.INFO: Processing buffer {"connection_id":126381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:57:56] local.INFO: IMEI packet received {"connection_id":126381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":126381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:58:00] local.INFO: TCP Data received {"connection_id":125496,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f410bc430012d0b130007029fc00003013420..."} 
[2026-07-08 14:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410bc430012d0b130007029fc00003013420..."} 
[2026-07-08 14:58:00] local.INFO: Processing buffer {"connection_id":125496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410bc430012d0b130007029fc00003013420..."} 
[2026-07-08 14:58:00] local.INFO: Packet analysis {"connection_id":125496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f410b"} 
[2026-07-08 14:58:00] local.INFO: Extracted packet for processing {"connection_id":125496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f410b"} 
[2026-07-08 14:58:00] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576618752001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:58:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:58:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783502718000,"timestamp_ms":1783502718000,"timestamp_seconds":1783502718,"priority":1,"record_length":96,"hex_timestamp":"0000019f410bc430"} 
[2026-07-08 14:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:58:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:58: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":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:58:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:58:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125496,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125496,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:58:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576618752001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576618752001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:58:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576618752001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:58:00] local.INFO: TCP Data received {"connection_id":127619,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:58:00] local.INFO: Processing buffer {"connection_id":127619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:58:00] local.INFO: IMEI packet received {"connection_id":127619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":127619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":125496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451857,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:58:00] local.INFO: GPS data processed {"connection_id":125496,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:58:00] local.INFO: Acknowledgment sent {"connection_id":125496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:58:00] local.INFO: TCP Data received {"connection_id":126381,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:58:00] local.INFO: Processing buffer {"connection_id":126381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:58:00] local.INFO: IMEI packet received {"connection_id":126381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":126381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:58:01] local.INFO: TCP Data received {"connection_id":126381,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f410c7010012d9703c0057a7ad0000800b42d..."} 
[2026-07-08 14:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410c7010012d9703c0057a7ad0000800b42d..."} 
[2026-07-08 14:58:01] local.INFO: Processing buffer {"connection_id":126381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410c7010012d9703c0057a7ad0000800b42d..."} 
[2026-07-08 14:58:01] local.INFO: Packet analysis {"connection_id":126381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f410c"} 
[2026-07-08 14:58:01] local.INFO: Extracted packet for processing {"connection_id":126381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f410c"} 
[2026-07-08 14:58:01] local.INFO: GPS Element Parsed {"raw_longitude":764871616,"raw_latitude":91912912,"longitude_deg":76.4871616,"latitude_deg":9.1912912,"altitude":8,"angle":180,"satellites":45,"speed":42,"hex_longitude":"2d9703c0","hex_latitude":"057a7ad0","is_valid_coordinates":true} 
[2026-07-08 14:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576706048001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342748831286296576,"note":"Value kept but may cause issues"} 
[2026-07-08 14:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7565695506730770432,"note":"Value kept but may cause issues"} 
[2026-07-08 14:58:01] 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-07-08 14:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783502762000,"timestamp_ms":1783502762000,"timestamp_seconds":1783502762,"priority":1,"record_length":96,"hex_timestamp":"0000019f410c7010"} 
[2026-07-08 14:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:58: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-07-08 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-08 14:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:58:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576706048001,"66":27865,"69":206,"85":15872,"24":42,"16":342748831286296576,"45":-7565695506730770432},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-07-08 14:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576706048001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:58:01] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-08 14:58:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 14:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342748831286296576,"km_value":342748831286296.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7565695506730770432,"description":"Unknown IO ID 45"} 
[2026-07-08 14:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576706048001,"power":27865,"unknown_69":206,"unknown_85":15872,"ignition":42,"odometer":null,"unknown_45":-7565695506730770432}} 
[2026-07-08 14:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":126381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:58:01] local.INFO: GPS data processed {"connection_id":126381,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:58:01] local.INFO: Acknowledgment sent {"connection_id":126381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:58:05] local.INFO: TCP Data received {"connection_id":127619,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:58:05] local.INFO: Processing buffer {"connection_id":127619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:58:05] local.INFO: IMEI packet received {"connection_id":127619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":127619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:58:07] local.INFO: TCP Data received {"connection_id":127619,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f410da4a8012d196380071fef800037006e2a..."} 
[2026-07-08 14:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410da4a8012d196380071fef800037006e2a..."} 
[2026-07-08 14:58:07] local.INFO: Processing buffer {"connection_id":127619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410da4a8012d196380071fef800037006e2a..."} 
[2026-07-08 14:58:07] local.INFO: Packet analysis {"connection_id":127619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f410d"} 
[2026-07-08 14:58:07] local.INFO: Extracted packet for processing {"connection_id":127619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f410d"} 
[2026-07-08 14:58:07] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 14:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576650240001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 14:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783502841000,"timestamp_ms":1783502841000,"timestamp_seconds":1783502841,"priority":1,"record_length":96,"hex_timestamp":"0000019f410da4a8"} 
[2026-07-08 14:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 14:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576650240001,"66":2155,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576650240001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:58:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:58:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 14:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576650240001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 14:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":127619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:58:07] local.INFO: GPS data processed {"connection_id":127619,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:58:07] local.INFO: Acknowledgment sent {"connection_id":127619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:58:11] local.INFO: TCP Data received {"connection_id":127619,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f410da4a8012d196380071fef800037006e2a..."} 
[2026-07-08 14:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410da4a8012d196380071fef800037006e2a..."} 
[2026-07-08 14:58:11] local.INFO: Processing buffer {"connection_id":127619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410da4a8012d196380071fef800037006e2a..."} 
[2026-07-08 14:58:11] local.INFO: Packet analysis {"connection_id":127619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f410d"} 
[2026-07-08 14:58:11] local.INFO: Extracted packet for processing {"connection_id":127619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f410d"} 
[2026-07-08 14:58:11] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 14:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576650240001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 14:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783502841000,"timestamp_ms":1783502841000,"timestamp_seconds":1783502841,"priority":1,"record_length":96,"hex_timestamp":"0000019f410da4a8"} 
[2026-07-08 14:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 14:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":127619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":127619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":127619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576650240001,"66":2155,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576650240001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:58:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:58:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 14:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576650240001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 14:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":127619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:58:11] local.INFO: GPS data processed {"connection_id":127619,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:58:11] local.INFO: Acknowledgment sent {"connection_id":127619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:58:33] local.INFO: TCP Data received {"connection_id":126381,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f410dd770012d97aac005790cc00008009a2e..."} 
[2026-07-08 14:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410dd770012d97aac005790cc00008009a2e..."} 
[2026-07-08 14:58:33] local.INFO: Processing buffer {"connection_id":126381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410dd770012d97aac005790cc00008009a2e..."} 
[2026-07-08 14:58:33] local.INFO: Packet analysis {"connection_id":126381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f410d"} 
[2026-07-08 14:58:33] local.INFO: Extracted packet for processing {"connection_id":126381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f410d"} 
[2026-07-08 14:58:33] local.INFO: GPS Element Parsed {"raw_longitude":764914368,"raw_latitude":91819200,"longitude_deg":76.4914368,"latitude_deg":9.18192,"altitude":8,"angle":154,"satellites":46,"speed":43,"hex_longitude":"2d97aac0","hex_latitude":"05790cc0","is_valid_coordinates":true} 
[2026-07-08 14:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576728320001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342753860693000192,"note":"Value kept but may cause issues"} 
[2026-07-08 14:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7523263154014552064,"note":"Value kept but may cause issues"} 
[2026-07-08 14:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783502854000,"timestamp_ms":1783502854000,"timestamp_seconds":1783502854,"priority":1,"record_length":96,"hex_timestamp":"0000019f410dd770"} 
[2026-07-08 14:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-08 14:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576728320001,"66":27876,"161":206,"85":15872,"24":43,"16":342753860693000192,"45":-7523263154014552064},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-07-08 14:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576728320001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:58:33] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-08 14:58:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 14:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342753860693000192,"km_value":342753860693000.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7523263154014552064,"description":"Unknown IO ID 45"} 
[2026-07-08 14:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576728320001,"power":27876,"unknown_161":206,"unknown_85":15872,"ignition":43,"odometer":null,"unknown_45":-7523263154014552064}} 
[2026-07-08 14:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":126381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:58:34] local.INFO: GPS data processed {"connection_id":126381,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:58:34] local.INFO: Acknowledgment sent {"connection_id":126381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:58:45] local.INFO: TCP Data received {"connection_id":127619,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f410da4a8012d196380071fef800037006e2a..."} 
[2026-07-08 14:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410da4a8012d196380071fef800037006e2a..."} 
[2026-07-08 14:58:45] local.INFO: Processing buffer {"connection_id":127619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410da4a8012d196380071fef800037006e2a..."} 
[2026-07-08 14:58:45] local.INFO: Packet analysis {"connection_id":127619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f410d"} 
[2026-07-08 14:58:45] local.INFO: Extracted packet for processing {"connection_id":127619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f410d"} 
[2026-07-08 14:58:45] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 14:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576650240001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 14:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783502841000,"timestamp_ms":1783502841000,"timestamp_seconds":1783502841,"priority":1,"record_length":96,"hex_timestamp":"0000019f410da4a8"} 
[2026-07-08 14:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:58:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 14:58: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-07-08 14:58:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":127619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":127619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":127619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576650240001,"66":2155,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576650240001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:58:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:58:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 14:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576650240001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 14:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":127619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:58:45] local.INFO: GPS data processed {"connection_id":127619,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:58:45] local.INFO: Acknowledgment sent {"connection_id":127619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:58:47] local.INFO: TCP Data received {"connection_id":125497,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125497,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:58:47] local.INFO: Processing buffer {"connection_id":125497,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:58:47] local.INFO: IMEI packet received {"connection_id":125497,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":125497,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:58:50] local.INFO: TCP Data received {"connection_id":125497,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125497,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:58:50] local.INFO: Processing buffer {"connection_id":125497,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:58:50] local.INFO: IMEI packet received {"connection_id":125497,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":125497,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:58:53] local.INFO: TCP Data received {"connection_id":125497,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f410bc430012d0b130007029fc00003013420..."} 
[2026-07-08 14:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410bc430012d0b130007029fc00003013420..."} 
[2026-07-08 14:58:53] local.INFO: Processing buffer {"connection_id":125497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410bc430012d0b130007029fc00003013420..."} 
[2026-07-08 14:58:53] local.INFO: Packet analysis {"connection_id":125497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f410b"} 
[2026-07-08 14:58:53] local.INFO: Extracted packet for processing {"connection_id":125497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f410b"} 
[2026-07-08 14:58:53] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 14:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576618752001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783502718000,"timestamp_ms":1783502718000,"timestamp_seconds":1783502718,"priority":1,"record_length":96,"hex_timestamp":"0000019f410bc430"} 
[2026-07-08 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-07-08 14:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:58: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-07-08 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-07-08 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-07-08 14:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125497,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125497,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576618752001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576618752001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:58:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576618752001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":125497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451863,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:58:54] local.INFO: GPS data processed {"connection_id":125497,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:58:54] local.INFO: Acknowledgment sent {"connection_id":125497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:58:55] local.INFO: TCP Data received {"connection_id":125622,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:58:55] local.INFO: Processing buffer {"connection_id":125622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:58:55] local.INFO: IMEI packet received {"connection_id":125622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":125622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:58:56] local.INFO: TCP Data received {"connection_id":125497,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f410bc430012d0b130007029fc00003013420..."} 
[2026-07-08 14:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410bc430012d0b130007029fc00003013420..."} 
[2026-07-08 14:58:56] local.INFO: Processing buffer {"connection_id":125497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410bc430012d0b130007029fc00003013420..."} 
[2026-07-08 14:58:56] local.INFO: Packet analysis {"connection_id":125497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f410b"} 
[2026-07-08 14:58:56] local.INFO: Extracted packet for processing {"connection_id":125497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f410b"} 
[2026-07-08 14:58:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576618752001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783502718000,"timestamp_ms":1783502718000,"timestamp_seconds":1783502718,"priority":1,"record_length":96,"hex_timestamp":"0000019f410bc430"} 
[2026-07-08 14:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:58:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:58:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":125497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":125497,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":125497,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576618752001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576618752001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:58:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576618752001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":125497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451864,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:58:56] local.INFO: GPS data processed {"connection_id":125497,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:58:56] local.INFO: Acknowledgment sent {"connection_id":125497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:59:00] local.INFO: TCP Data received {"connection_id":127621,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:59:00] local.INFO: Processing buffer {"connection_id":127621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:59:00] local.INFO: IMEI packet received {"connection_id":127621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 14:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":127621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:59:00] local.INFO: TCP Data received {"connection_id":125622,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:59:00] local.INFO: Processing buffer {"connection_id":125622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:59:00] local.INFO: IMEI packet received {"connection_id":125622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 14:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":125622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:59:02] local.INFO: TCP Data received {"connection_id":125622,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f410dfa98012d97bb800578ea00000700982e..."} 
[2026-07-08 14:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410dfa98012d97bb800578ea00000700982e..."} 
[2026-07-08 14:59:02] local.INFO: Processing buffer {"connection_id":125622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410dfa98012d97bb800578ea00000700982e..."} 
[2026-07-08 14:59:02] local.INFO: Packet analysis {"connection_id":125622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f410d"} 
[2026-07-08 14:59:02] local.INFO: Extracted packet for processing {"connection_id":125622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f410d"} 
[2026-07-08 14:59:02] local.INFO: GPS Element Parsed {"raw_longitude":764918656,"raw_latitude":91810304,"longitude_deg":76.4918656,"latitude_deg":9.1810304,"altitude":7,"angle":152,"satellites":46,"speed":45,"hex_longitude":"2d97bb80","hex_latitude":"0578ea00","is_valid_coordinates":true} 
[2026-07-08 14:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576730624001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342754337434370048,"note":"Value kept but may cause issues"} 
[2026-07-08 14:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7517985498203373568,"note":"Value kept but may cause issues"} 
[2026-07-08 14:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783502863000,"timestamp_ms":1783502863000,"timestamp_seconds":1783502863,"priority":1,"record_length":96,"hex_timestamp":"0000019f410dfa98"} 
[2026-07-08 14:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 14:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576730624001,"66":27821,"161":206,"85":15872,"24":45,"16":342754337434370048,"45":-7517985498203373568},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-07-08 14:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576730624001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:59:02] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-08 14:59:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 14:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342754337434370048,"km_value":342754337434370.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7517985498203373568,"description":"Unknown IO ID 45"} 
[2026-07-08 14:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576730624001,"power":27821,"unknown_161":206,"unknown_85":15872,"ignition":45,"odometer":null,"unknown_45":-7517985498203373568}} 
[2026-07-08 14:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":125622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:59:02] local.INFO: GPS data processed {"connection_id":125622,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:59:02] local.INFO: Acknowledgment sent {"connection_id":125622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:59:05] local.INFO: TCP Data received {"connection_id":127621,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:59:05] local.INFO: Processing buffer {"connection_id":127621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 14:59:05] local.INFO: IMEI packet received {"connection_id":127621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 14:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":127621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:59:07] local.INFO: TCP Data received {"connection_id":127621,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f410da4a8012d196380071fef800037006e2a..."} 
[2026-07-08 14:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410da4a8012d196380071fef800037006e2a..."} 
[2026-07-08 14:59:07] local.INFO: Processing buffer {"connection_id":127621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410da4a8012d196380071fef800037006e2a..."} 
[2026-07-08 14:59:07] local.INFO: Packet analysis {"connection_id":127621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f410d"} 
[2026-07-08 14:59:07] local.INFO: Extracted packet for processing {"connection_id":127621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f410d"} 
[2026-07-08 14:59:07] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 14:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576650240001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 14:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783502841000,"timestamp_ms":1783502841000,"timestamp_seconds":1783502841,"priority":1,"record_length":96,"hex_timestamp":"0000019f410da4a8"} 
[2026-07-08 14:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 14:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:59:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576650240001,"66":2155,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576650240001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:59:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:59:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 14:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576650240001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 14:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":127621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:59:07] local.INFO: GPS data processed {"connection_id":127621,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:59:07] local.INFO: Acknowledgment sent {"connection_id":127621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:59:11] local.INFO: TCP Data received {"connection_id":127621,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f410da4a8012d196380071fef800037006e2a..."} 
[2026-07-08 14:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410da4a8012d196380071fef800037006e2a..."} 
[2026-07-08 14:59:11] local.INFO: Processing buffer {"connection_id":127621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410da4a8012d196380071fef800037006e2a..."} 
[2026-07-08 14:59:11] local.INFO: Packet analysis {"connection_id":127621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f410d"} 
[2026-07-08 14:59:11] local.INFO: Extracted packet for processing {"connection_id":127621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f410d"} 
[2026-07-08 14:59:11] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 14:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576650240001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 14:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783502841000,"timestamp_ms":1783502841000,"timestamp_seconds":1783502841,"priority":1,"record_length":96,"hex_timestamp":"0000019f410da4a8"} 
[2026-07-08 14:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 14:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":127621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":127621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":127621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576650240001,"66":2155,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576650240001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:59:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:59:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 14:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576650240001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 14:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":127621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:59:11] local.INFO: GPS data processed {"connection_id":127621,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:59:11] local.INFO: Acknowledgment sent {"connection_id":127621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:59:27] local.INFO: TCP Data received {"connection_id":125497,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f410bc430012d0b130007029fc00003013420..."} 
[2026-07-08 14:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410bc430012d0b130007029fc00003013420..."} 
[2026-07-08 14:59:27] local.INFO: Processing buffer {"connection_id":125497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410bc430012d0b130007029fc00003013420..."} 
[2026-07-08 14:59:27] local.INFO: Packet analysis {"connection_id":125497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f410b"} 
[2026-07-08 14:59:27] local.INFO: Extracted packet for processing {"connection_id":125497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f410b"} 
[2026-07-08 14:59:27] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576618752001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783502718000,"timestamp_ms":1783502718000,"timestamp_seconds":1783502718,"priority":1,"record_length":96,"hex_timestamp":"0000019f410bc430"} 
[2026-07-08 14:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":125497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":125497,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":125497,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576618752001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576618752001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:59:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576618752001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":125497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451868,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:59:27] local.INFO: GPS data processed {"connection_id":125497,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:59:27] local.INFO: Acknowledgment sent {"connection_id":125497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:59:37] local.INFO: TCP Data received {"connection_id":125622,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f410e19d8012d97cc800578cad0000700952c..."} 
[2026-07-08 14:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410e19d8012d97cc800578cad0000700952c..."} 
[2026-07-08 14:59:37] local.INFO: Processing buffer {"connection_id":125622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410e19d8012d97cc800578cad0000700952c..."} 
[2026-07-08 14:59:37] local.INFO: Packet analysis {"connection_id":125622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f410e"} 
[2026-07-08 14:59:37] local.INFO: Extracted packet for processing {"connection_id":125622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f410e"} 
[2026-07-08 14:59:37] local.INFO: GPS Element Parsed {"raw_longitude":764923008,"raw_latitude":91802320,"longitude_deg":76.4923008,"latitude_deg":9.180232,"altitude":7,"angle":149,"satellites":44,"speed":43,"hex_longitude":"2d97cc80","hex_latitude":"0578cad0","is_valid_coordinates":true} 
[2026-07-08 14:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576732928001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342754775521034240,"note":"Value kept but may cause issues"} 
[2026-07-08 14:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7513270792345747456,"note":"Value kept but may cause issues"} 
[2026-07-08 14:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783502871000,"timestamp_ms":1783502871000,"timestamp_seconds":1783502871,"priority":1,"record_length":96,"hex_timestamp":"0000019f410e19d8"} 
[2026-07-08 14:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 14:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 14:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 14:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 14:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 14:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576732928001,"66":27952,"161":206,"85":15872,"24":43,"16":342754775521034240,"45":-7513270792345747456},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-07-08 14:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 14:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 14:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576732928001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:59:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-08 14:59:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 14:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342754775521034240,"km_value":342754775521034.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7513270792345747456,"description":"Unknown IO ID 45"} 
[2026-07-08 14:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576732928001,"power":27952,"unknown_161":206,"unknown_85":15872,"ignition":43,"odometer":null,"unknown_45":-7513270792345747456}} 
[2026-07-08 14:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":125622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:59:37] local.INFO: GPS data processed {"connection_id":125622,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:59:37] local.INFO: Acknowledgment sent {"connection_id":125622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:59:43] local.INFO: TCP Data received {"connection_id":127621,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f410da4a8012d196380071fef800037006e2a..."} 
[2026-07-08 14:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410da4a8012d196380071fef800037006e2a..."} 
[2026-07-08 14:59:43] local.INFO: Processing buffer {"connection_id":127621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410da4a8012d196380071fef800037006e2a..."} 
[2026-07-08 14:59:43] local.INFO: Packet analysis {"connection_id":127621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f410d"} 
[2026-07-08 14:59:43] local.INFO: Extracted packet for processing {"connection_id":127621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f410d"} 
[2026-07-08 14:59:43] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 14:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576650240001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 14:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 14:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783502841000,"timestamp_ms":1783502841000,"timestamp_seconds":1783502841,"priority":1,"record_length":96,"hex_timestamp":"0000019f410da4a8"} 
[2026-07-08 14:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 14:59:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:59:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":127621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":127621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":127621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 14:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 14:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 14:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576650240001,"66":2155,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 14:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 14:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 14:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576650240001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:59:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 14:59:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 14:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 14:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576650240001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 14:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":127621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:59:43] local.INFO: GPS data processed {"connection_id":127621,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:59:43] local.INFO: Acknowledgment sent {"connection_id":127621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:59:47] local.INFO: TCP Data received {"connection_id":127622,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127622,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:59:47] local.INFO: Processing buffer {"connection_id":127622,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:59:47] local.INFO: IMEI packet received {"connection_id":127622,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 14:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":127622,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:59:50] local.INFO: TCP Data received {"connection_id":127622,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127622,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:59:50] local.INFO: Processing buffer {"connection_id":127622,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 14:59:50] local.INFO: IMEI packet received {"connection_id":127622,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 14:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":127622,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 14:59:54] local.INFO: TCP Data received {"connection_id":127622,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f410bc430012d0b130007029fc00003013420..."} 
[2026-07-08 14:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410bc430012d0b130007029fc00003013420..."} 
[2026-07-08 14:59:54] local.INFO: Processing buffer {"connection_id":127622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410bc430012d0b130007029fc00003013420..."} 
[2026-07-08 14:59:54] local.INFO: Packet analysis {"connection_id":127622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f410b"} 
[2026-07-08 14:59:54] local.INFO: Extracted packet for processing {"connection_id":127622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f410b"} 
[2026-07-08 14:59:54] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14: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-07-08 14:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576618752001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783502718000,"timestamp_ms":1783502718000,"timestamp_seconds":1783502718,"priority":1,"record_length":96,"hex_timestamp":"0000019f410bc430"} 
[2026-07-08 14:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:59:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14: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-07-08 14:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":127622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":127622,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":127622,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576618752001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576618752001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:59:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576618752001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":127622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451871,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:59:54] local.INFO: GPS data processed {"connection_id":127622,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:59:54] local.INFO: Acknowledgment sent {"connection_id":127622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 14:59:55] local.INFO: TCP Data received {"connection_id":126382,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:59:55] local.INFO: Processing buffer {"connection_id":126382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 14:59:55] local.INFO: IMEI packet received {"connection_id":126382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 14:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":126382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 14:59:56] local.INFO: TCP Data received {"connection_id":127622,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f410bc430012d0b130007029fc00003013420..."} 
[2026-07-08 14:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410bc430012d0b130007029fc00003013420..."} 
[2026-07-08 14:59:56] local.INFO: Processing buffer {"connection_id":127622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410bc430012d0b130007029fc00003013420..."} 
[2026-07-08 14:59:56] local.INFO: Packet analysis {"connection_id":127622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f410b"} 
[2026-07-08 14:59:56] local.INFO: Extracted packet for processing {"connection_id":127622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f410b"} 
[2026-07-08 14:59:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 14:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 14:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576618752001,"note":"Value kept but may cause issues"} 
[2026-07-08 14:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 14:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 14:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 14:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783502718000,"timestamp_ms":1783502718000,"timestamp_seconds":1783502718,"priority":1,"record_length":96,"hex_timestamp":"0000019f410bc430"} 
[2026-07-08 14:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 14:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 14:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 14:59:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 14:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 14:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 14:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":127622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 14:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":127622,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":127622,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 14:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 14:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 14:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 14:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576618752001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 14:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 14:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 14:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576618752001,"description":"Unknown IO ID 0"} 
[2026-07-08 14:59:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 14:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 14:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 14:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576618752001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 14:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":127622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451872,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 14:59:56] local.INFO: GPS data processed {"connection_id":127622,"processed":1,"errors":0,"total":1} 
[2026-07-08 14:59:56] local.INFO: Acknowledgment sent {"connection_id":127622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:00:00] local.INFO: TCP Data received {"connection_id":126382,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:00:00] local.INFO: Processing buffer {"connection_id":126382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:00:00] local.INFO: IMEI packet received {"connection_id":126382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":126382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:00:00] local.INFO: TCP Data received {"connection_id":126382,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:00:00] local.INFO: Processing buffer {"connection_id":126382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:00:00] local.INFO: IMEI packet received {"connection_id":126382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":126382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:00:00] local.INFO: TCP Data received {"connection_id":125499,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:00:00] local.INFO: Processing buffer {"connection_id":125499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:00:00] local.INFO: IMEI packet received {"connection_id":125499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":125499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:00:01] local.INFO: TCP Data received {"connection_id":126382,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f410e3d00012d97dec00578ac48000700952e..."} 
[2026-07-08 15:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410e3d00012d97dec00578ac48000700952e..."} 
[2026-07-08 15:00:01] local.INFO: Processing buffer {"connection_id":126382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410e3d00012d97dec00578ac48000700952e..."} 
[2026-07-08 15:00:01] local.INFO: Packet analysis {"connection_id":126382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f410e"} 
[2026-07-08 15:00:01] local.INFO: Extracted packet for processing {"connection_id":126382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f410e"} 
[2026-07-08 15:00:01] local.INFO: GPS Element Parsed {"raw_longitude":764927680,"raw_latitude":91794504,"longitude_deg":76.492768,"latitude_deg":9.1794504,"altitude":7,"angle":149,"satellites":46,"speed":28,"hex_longitude":"2d97dec0","hex_latitude":"0578ac48","is_valid_coordinates":true} 
[2026-07-08 15:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576734976001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342755217902665728,"note":"Value kept but may cause issues"} 
[2026-07-08 15:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7508485717743710208,"note":"Value kept but may cause issues"} 
[2026-07-08 15:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783502880000,"timestamp_ms":1783502880000,"timestamp_seconds":1783502880,"priority":1,"record_length":96,"hex_timestamp":"0000019f410e3d00"} 
[2026-07-08 15:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-08 15:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:00:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576734976001,"66":27800,"161":206,"85":15872,"24":28,"16":342755217902665728,"45":-7508485717743710208},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-07-08 15:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576734976001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:00:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-08 15:00:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342755217902665728,"km_value":342755217902665.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7508485717743710208,"description":"Unknown IO ID 45"} 
[2026-07-08 15:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576734976001,"power":27800,"unknown_161":206,"unknown_85":15872,"ignition":28,"odometer":null,"unknown_45":-7508485717743710208}} 
[2026-07-08 15:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":126382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:00:01] local.INFO: GPS data processed {"connection_id":126382,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:00:01] local.INFO: Acknowledgment sent {"connection_id":126382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:00:05] local.INFO: TCP Data received {"connection_id":125499,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:00:05] local.INFO: Processing buffer {"connection_id":125499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:00:05] local.INFO: IMEI packet received {"connection_id":125499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":125499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:00:06] local.INFO: TCP Data received {"connection_id":126382,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f410e7798012d97f28005788d48000600932e..."} 
[2026-07-08 15:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410e7798012d97f28005788d48000600932e..."} 
[2026-07-08 15:00:06] local.INFO: Processing buffer {"connection_id":126382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410e7798012d97f28005788d48000600932e..."} 
[2026-07-08 15:00:06] local.INFO: Packet analysis {"connection_id":126382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f410e"} 
[2026-07-08 15:00:06] local.INFO: Extracted packet for processing {"connection_id":126382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f410e"} 
[2026-07-08 15:00:06] local.INFO: GPS Element Parsed {"raw_longitude":764932736,"raw_latitude":91786568,"longitude_deg":76.4932736,"latitude_deg":9.1786568,"altitude":6,"angle":147,"satellites":46,"speed":33,"hex_longitude":"2d97f280","hex_latitude":"05788d48","is_valid_coordinates":true} 
[2026-07-08 15:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576737280001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342755673169199104,"note":"Value kept but may cause issues"} 
[2026-07-08 15:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7503348799420741632,"note":"Value kept but may cause issues"} 
[2026-07-08 15:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783502895000,"timestamp_ms":1783502895000,"timestamp_seconds":1783502895,"priority":1,"record_length":96,"hex_timestamp":"0000019f410e7798"} 
[2026-07-08 15:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 15:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576737280001,"66":27908,"161":206,"85":15872,"24":33,"16":342755673169199104,"45":-7503348799420741632},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-07-08 15:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576737280001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:00:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-08 15:00:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342755673169199104,"km_value":342755673169199.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7503348799420741632,"description":"Unknown IO ID 45"} 
[2026-07-08 15:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576737280001,"power":27908,"unknown_161":206,"unknown_85":15872,"ignition":33,"odometer":null,"unknown_45":-7503348799420741632}} 
[2026-07-08 15:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":126382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:00:06] local.INFO: GPS data processed {"connection_id":126382,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:00:06] local.INFO: Acknowledgment sent {"connection_id":126382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:00:07] local.INFO: TCP Data received {"connection_id":125499,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f410da4a8012d196380071fef800037006e2a..."} 
[2026-07-08 15:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410da4a8012d196380071fef800037006e2a..."} 
[2026-07-08 15:00:07] local.INFO: Processing buffer {"connection_id":125499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410da4a8012d196380071fef800037006e2a..."} 
[2026-07-08 15:00:07] local.INFO: Packet analysis {"connection_id":125499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f410d"} 
[2026-07-08 15:00:07] local.INFO: Extracted packet for processing {"connection_id":125499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f410d"} 
[2026-07-08 15:00:07] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576650240001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783502841000,"timestamp_ms":1783502841000,"timestamp_seconds":1783502841,"priority":1,"record_length":96,"hex_timestamp":"0000019f410da4a8"} 
[2026-07-08 15:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 15:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576650240001,"66":2155,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576650240001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:00:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:00:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576650240001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":125499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:00:07] local.INFO: GPS data processed {"connection_id":125499,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:00:07] local.INFO: Acknowledgment sent {"connection_id":125499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:00:27] local.INFO: TCP Data received {"connection_id":127622,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f41105bf8012d0b130007029fc00003013423..."} 
[2026-07-08 15:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41105bf8012d0b130007029fc00003013423..."} 
[2026-07-08 15:00:27] local.INFO: Processing buffer {"connection_id":127622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41105bf8012d0b130007029fc00003013423..."} 
[2026-07-08 15:00:27] local.INFO: Packet analysis {"connection_id":127622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4110"} 
[2026-07-08 15:00:27] local.INFO: Extracted packet for processing {"connection_id":127622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4110"} 
[2026-07-08 15:00:27] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576695808001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783503019000,"timestamp_ms":1783503019000,"timestamp_seconds":1783503019,"priority":1,"record_length":96,"hex_timestamp":"0000019f41105bf8"} 
[2026-07-08 15:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 15:00:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":127622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":127622,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":127622,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576695808001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576695808001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:00:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576695808001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":127622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451876,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:00:28] local.INFO: GPS data processed {"connection_id":127622,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:00:28] local.INFO: Acknowledgment sent {"connection_id":127622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:00:37] local.INFO: TCP Data received {"connection_id":126382,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41100220012d989d80057786300003006e2e..."} 
[2026-07-08 15:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41100220012d989d80057786300003006e2e..."} 
[2026-07-08 15:00:37] local.INFO: Processing buffer {"connection_id":126382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41100220012d989d80057786300003006e2e..."} 
[2026-07-08 15:00:37] local.INFO: Packet analysis {"connection_id":126382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4110"} 
[2026-07-08 15:00:37] local.INFO: Extracted packet for processing {"connection_id":126382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4110"} 
[2026-07-08 15:00:37] local.INFO: GPS Element Parsed {"raw_longitude":764976512,"raw_latitude":91719216,"longitude_deg":76.4976512,"latitude_deg":9.1719216,"altitude":3,"angle":110,"satellites":46,"speed":14,"hex_longitude":"2d989d80","hex_latitude":"05778630","is_valid_coordinates":true} 
[2026-07-08 15:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576766720001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342759564409569280,"note":"Value kept but may cause issues"} 
[2026-07-08 15:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7450009291353309184,"note":"Value kept but may cause issues"} 
[2026-07-08 15:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783502996000,"timestamp_ms":1783502996000,"timestamp_seconds":1783502996,"priority":1,"record_length":96,"hex_timestamp":"0000019f41100220"} 
[2026-07-08 15:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-08 15:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576766720001,"66":28017,"32":206,"85":15872,"24":14,"16":342759564409569280,"45":-7450009291353309184},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,85,24,16,45]} 
[2026-07-08 15:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576766720001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:00:37] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-08 15:00:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342759564409569280,"km_value":342759564409569.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7450009291353309184,"description":"Unknown IO ID 45"} 
[2026-07-08 15:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576766720001,"power":28017,"unknown_32":206,"unknown_85":15872,"ignition":14,"odometer":null,"unknown_45":-7450009291353309184}} 
[2026-07-08 15:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":126382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:00:37] local.INFO: GPS data processed {"connection_id":126382,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:00:37] local.INFO: Acknowledgment sent {"connection_id":126382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:00:38] local.INFO: TCP Data received {"connection_id":125499,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f410da4a8012d196380071fef800037006e2a..."} 
[2026-07-08 15:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410da4a8012d196380071fef800037006e2a..."} 
[2026-07-08 15:00:38] local.INFO: Processing buffer {"connection_id":125499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410da4a8012d196380071fef800037006e2a..."} 
[2026-07-08 15:00:38] local.INFO: Packet analysis {"connection_id":125499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f410d"} 
[2026-07-08 15:00:38] local.INFO: Extracted packet for processing {"connection_id":125499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f410d"} 
[2026-07-08 15:00:38] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576650240001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783502841000,"timestamp_ms":1783502841000,"timestamp_seconds":1783502841,"priority":1,"record_length":96,"hex_timestamp":"0000019f410da4a8"} 
[2026-07-08 15:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 15:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576650240001,"66":2155,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576650240001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:00:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:00:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576650240001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":125499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:00:39] local.INFO: GPS data processed {"connection_id":125499,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:00:39] local.INFO: Acknowledgment sent {"connection_id":125499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:00:50] local.INFO: TCP Data received {"connection_id":125500,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125500,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:00:50] local.INFO: Processing buffer {"connection_id":125500,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:00:50] local.INFO: IMEI packet received {"connection_id":125500,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":125500,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:00:55] local.INFO: TCP Data received {"connection_id":125500,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125500,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:00:55] local.INFO: Processing buffer {"connection_id":125500,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:00:55] local.INFO: IMEI packet received {"connection_id":125500,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":125500,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:00:55] local.INFO: TCP Data received {"connection_id":125500,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f41105bf8012d0b130007029fc00003013423..."} 
[2026-07-08 15:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41105bf8012d0b130007029fc00003013423..."} 
[2026-07-08 15:00:55] local.INFO: Processing buffer {"connection_id":125500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41105bf8012d0b130007029fc00003013423..."} 
[2026-07-08 15:00:55] local.INFO: Packet analysis {"connection_id":125500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4110"} 
[2026-07-08 15:00:55] local.INFO: Extracted packet for processing {"connection_id":125500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4110"} 
[2026-07-08 15:00:55] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576695808001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783503019000,"timestamp_ms":1783503019000,"timestamp_seconds":1783503019,"priority":1,"record_length":96,"hex_timestamp":"0000019f41105bf8"} 
[2026-07-08 15:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 15:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":125500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":125500,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":125500,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576695808001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576695808001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:00:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576695808001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":125500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451879,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:00:56] local.INFO: GPS data processed {"connection_id":125500,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:00:56] local.INFO: Acknowledgment sent {"connection_id":125500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:00:56] local.INFO: TCP Data received {"connection_id":125623,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:00:56] local.INFO: Processing buffer {"connection_id":125623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:00:56] local.INFO: IMEI packet received {"connection_id":125623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":125623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:00:57] local.INFO: TCP Data received {"connection_id":125623,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:00:57] local.INFO: Processing buffer {"connection_id":125623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:00:57] local.INFO: IMEI packet received {"connection_id":125623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":125623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:01:00] local.INFO: TCP Data received {"connection_id":125500,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f41105bf8012d0b130007029fc00003013423..."} 
[2026-07-08 15:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41105bf8012d0b130007029fc00003013423..."} 
[2026-07-08 15:01:00] local.INFO: Processing buffer {"connection_id":125500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41105bf8012d0b130007029fc00003013423..."} 
[2026-07-08 15:01:00] local.INFO: Packet analysis {"connection_id":125500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4110"} 
[2026-07-08 15:01:00] local.INFO: Extracted packet for processing {"connection_id":125500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4110"} 
[2026-07-08 15:01:00] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576695808001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783503019000,"timestamp_ms":1783503019000,"timestamp_seconds":1783503019,"priority":1,"record_length":96,"hex_timestamp":"0000019f41105bf8"} 
[2026-07-08 15:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 15:01:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:01:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125500,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125500,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576695808001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576695808001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:01:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576695808001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":125500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451880,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:01:00] local.INFO: GPS data processed {"connection_id":125500,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:01:00] local.INFO: Acknowledgment sent {"connection_id":125500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:01:01] local.INFO: TCP Data received {"connection_id":125623,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:01:01] local.INFO: Processing buffer {"connection_id":125623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:01:01] local.INFO: IMEI packet received {"connection_id":125623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":125623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:01:04] local.INFO: TCP Data received {"connection_id":126383,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126383,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:01:04] local.INFO: Processing buffer {"connection_id":126383,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:01:04] local.INFO: IMEI packet received {"connection_id":126383,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 15:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":126383,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:01:05] local.INFO: TCP Data received {"connection_id":126384,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:01:05] local.INFO: Processing buffer {"connection_id":126384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:01:05] local.INFO: IMEI packet received {"connection_id":126384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":126384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:01:06] local.INFO: TCP Data received {"connection_id":125623,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:01:06] local.INFO: Processing buffer {"connection_id":125623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:01:06] local.INFO: IMEI packet received {"connection_id":125623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":125623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:01:07] local.INFO: TCP Data received {"connection_id":125623,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41100608012d989f00057785e80003005f2e..."} 
[2026-07-08 15:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41100608012d989f00057785e80003005f2e..."} 
[2026-07-08 15:01:07] local.INFO: Processing buffer {"connection_id":125623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41100608012d989f00057785e80003005f2e..."} 
[2026-07-08 15:01:07] local.INFO: Packet analysis {"connection_id":125623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4110"} 
[2026-07-08 15:01:07] local.INFO: Extracted packet for processing {"connection_id":125623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4110"} 
[2026-07-08 15:01:07] local.INFO: GPS Element Parsed {"raw_longitude":764976896,"raw_latitude":91719144,"longitude_deg":76.4976896,"latitude_deg":9.1719144,"altitude":3,"angle":95,"satellites":46,"speed":15,"hex_longitude":"2d989f00","hex_latitude":"057785e8","is_valid_coordinates":true} 
[2026-07-08 15:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576766976001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342759585884405760,"note":"Value kept but may cause issues"} 
[2026-07-08 15:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7449657447632457728,"note":"Value kept but may cause issues"} 
[2026-07-08 15:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783502997000,"timestamp_ms":1783502997000,"timestamp_seconds":1783502997,"priority":1,"record_length":96,"hex_timestamp":"0000019f41100608"} 
[2026-07-08 15:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-08 15:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576766976001,"66":27800,"32":206,"85":15872,"24":15,"16":342759585884405760,"45":-7449657447632457728},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,85,24,16,45]} 
[2026-07-08 15:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576766976001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:01:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-08 15:01:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342759585884405760,"km_value":342759585884405.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7449657447632457728,"description":"Unknown IO ID 45"} 
[2026-07-08 15:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576766976001,"power":27800,"unknown_32":206,"unknown_85":15872,"ignition":15,"odometer":null,"unknown_45":-7449657447632457728}} 
[2026-07-08 15:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":125623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:01:07] local.INFO: GPS data processed {"connection_id":125623,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:01:07] local.INFO: Acknowledgment sent {"connection_id":125623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:01:09] local.INFO: TCP Data received {"connection_id":125623,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f411009f0012d98a080057785f0000300532e..."} 
[2026-07-08 15:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411009f0012d98a080057785f0000300532e..."} 
[2026-07-08 15:01:09] local.INFO: Processing buffer {"connection_id":125623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411009f0012d98a080057785f0000300532e..."} 
[2026-07-08 15:01:09] local.INFO: Packet analysis {"connection_id":125623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4110"} 
[2026-07-08 15:01:09] local.INFO: Extracted packet for processing {"connection_id":125623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4110"} 
[2026-07-08 15:01:09] local.INFO: GPS Element Parsed {"raw_longitude":764977280,"raw_latitude":91719152,"longitude_deg":76.497728,"latitude_deg":9.1719152,"altitude":3,"angle":83,"satellites":46,"speed":15,"hex_longitude":"2d98a080","hex_latitude":"057785f0","is_valid_coordinates":true} 
[2026-07-08 15:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576767232001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342759603064274944,"note":"Value kept but may cause issues"} 
[2026-07-08 15:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7449235235167410176,"note":"Value kept but may cause issues"} 
[2026-07-08 15:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783502998000,"timestamp_ms":1783502998000,"timestamp_seconds":1783502998,"priority":1,"record_length":96,"hex_timestamp":"0000019f411009f0"} 
[2026-07-08 15:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 15:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576767232001,"66":27800,"32":206,"85":15872,"24":15,"16":342759603064274944,"45":-7449235235167410176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,85,24,16,45]} 
[2026-07-08 15:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576767232001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:01:09] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-08 15:01:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342759603064274944,"km_value":342759603064274.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7449235235167410176,"description":"Unknown IO ID 45"} 
[2026-07-08 15:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576767232001,"power":27800,"unknown_32":206,"unknown_85":15872,"ignition":15,"odometer":null,"unknown_45":-7449235235167410176}} 
[2026-07-08 15:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":125623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:01:09] local.INFO: GPS data processed {"connection_id":125623,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:01:09] local.INFO: Acknowledgment sent {"connection_id":125623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:01:10] local.INFO: TCP Data received {"connection_id":126384,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:01:10] local.INFO: Processing buffer {"connection_id":126384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:01:10] local.INFO: IMEI packet received {"connection_id":126384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":126384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:01:12] local.INFO: TCP Data received {"connection_id":126384,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f410da4a8012d196380071fef800037006e2a..."} 
[2026-07-08 15:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410da4a8012d196380071fef800037006e2a..."} 
[2026-07-08 15:01:12] local.INFO: Processing buffer {"connection_id":126384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410da4a8012d196380071fef800037006e2a..."} 
[2026-07-08 15:01:12] local.INFO: Packet analysis {"connection_id":126384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f410d"} 
[2026-07-08 15:01:12] local.INFO: Extracted packet for processing {"connection_id":126384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f410d"} 
[2026-07-08 15:01:12] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576650240001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783502841000,"timestamp_ms":1783502841000,"timestamp_seconds":1783502841,"priority":1,"record_length":96,"hex_timestamp":"0000019f410da4a8"} 
[2026-07-08 15:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 15:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":126384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":126384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":126384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576650240001,"66":2155,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576650240001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:01:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:01:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576650240001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":126384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:01:12] local.INFO: GPS data processed {"connection_id":126384,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:01:12] local.INFO: Acknowledgment sent {"connection_id":126384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:01:16] local.INFO: TCP Data received {"connection_id":126384,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f410da4a8012d196380071fef800037006e2a..."} 
[2026-07-08 15:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410da4a8012d196380071fef800037006e2a..."} 
[2026-07-08 15:01:16] local.INFO: Processing buffer {"connection_id":126384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410da4a8012d196380071fef800037006e2a..."} 
[2026-07-08 15:01:16] local.INFO: Packet analysis {"connection_id":126384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f410d"} 
[2026-07-08 15:01:16] local.INFO: Extracted packet for processing {"connection_id":126384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f410d"} 
[2026-07-08 15:01:16] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576650240001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:01:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783502841000,"timestamp_ms":1783502841000,"timestamp_seconds":1783502841,"priority":1,"record_length":96,"hex_timestamp":"0000019f410da4a8"} 
[2026-07-08 15:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 15:01:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:01:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":126384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":126384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":126384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576650240001,"66":2155,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576650240001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:01:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:01:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576650240001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":126384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:01:16] local.INFO: GPS data processed {"connection_id":126384,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:01:16] local.INFO: Acknowledgment sent {"connection_id":126384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:01:40] local.INFO: TCP Data received {"connection_id":125623,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41105bf8012d98c48005778978000600542c..."} 
[2026-07-08 15:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41105bf8012d98c48005778978000600542c..."} 
[2026-07-08 15:01:40] local.INFO: Processing buffer {"connection_id":125623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41105bf8012d98c48005778978000600542c..."} 
[2026-07-08 15:01:40] local.INFO: Packet analysis {"connection_id":125623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4110"} 
[2026-07-08 15:01:40] local.INFO: Extracted packet for processing {"connection_id":125623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4110"} 
[2026-07-08 15:01:40] local.INFO: GPS Element Parsed {"raw_longitude":764986496,"raw_latitude":91720056,"longitude_deg":76.4986496,"latitude_deg":9.1720056,"altitude":6,"angle":84,"satellites":44,"speed":21,"hex_longitude":"2d98c480","hex_latitude":"05778978","is_valid_coordinates":true} 
[2026-07-08 15:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576767488001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342760045445906432,"note":"Value kept but may cause issues"} 
[2026-07-08 15:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7448813022702342144,"note":"Value kept but may cause issues"} 
[2026-07-08 15:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783503019000,"timestamp_ms":1783503019000,"timestamp_seconds":1783503019,"priority":1,"record_length":96,"hex_timestamp":"0000019f41105bf8"} 
[2026-07-08 15:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 15:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:01:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576767488001,"66":27832,"32":206,"85":15872,"24":21,"16":342760045445906432,"45":-7448813022702342144},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,85,24,16,45]} 
[2026-07-08 15:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576767488001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:01:40] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-08 15:01:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342760045445906432,"km_value":342760045445906.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7448813022702342144,"description":"Unknown IO ID 45"} 
[2026-07-08 15:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576767488001,"power":27832,"unknown_32":206,"unknown_85":15872,"ignition":21,"odometer":null,"unknown_45":-7448813022702342144}} 
[2026-07-08 15:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":125623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:01:40] local.INFO: GPS data processed {"connection_id":125623,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:01:40] local.INFO: Acknowledgment sent {"connection_id":125623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:01:44] local.INFO: TCP Data received {"connection_id":126385,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126385,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:01:44] local.INFO: Processing buffer {"connection_id":126385,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:01:44] local.INFO: IMEI packet received {"connection_id":126385,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":126385,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:01:50] local.INFO: TCP Data received {"connection_id":126385,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126385,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:01:50] local.INFO: Processing buffer {"connection_id":126385,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:01:50] local.INFO: IMEI packet received {"connection_id":126385,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":126385,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:01:52] local.INFO: TCP Data received {"connection_id":126385,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f41105bf8012d0b130007029fc00003013423..."} 
[2026-07-08 15:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41105bf8012d0b130007029fc00003013423..."} 
[2026-07-08 15:01:52] local.INFO: Processing buffer {"connection_id":126385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41105bf8012d0b130007029fc00003013423..."} 
[2026-07-08 15:01:52] local.INFO: Packet analysis {"connection_id":126385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4110"} 
[2026-07-08 15:01:52] local.INFO: Extracted packet for processing {"connection_id":126385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4110"} 
[2026-07-08 15:01:52] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576695808001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783503019000,"timestamp_ms":1783503019000,"timestamp_seconds":1783503019,"priority":1,"record_length":96,"hex_timestamp":"0000019f41105bf8"} 
[2026-07-08 15:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 15:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":126385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":126385,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":126385,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576695808001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576695808001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:01:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576695808001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":126385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451886,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:01:53] local.INFO: GPS data processed {"connection_id":126385,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:01:53] local.INFO: Acknowledgment sent {"connection_id":126385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:01:54] local.INFO: TCP Data received {"connection_id":127623,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:01:54] local.INFO: Processing buffer {"connection_id":127623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:01:54] local.INFO: IMEI packet received {"connection_id":127623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":127623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:01:54] local.INFO: TCP Data received {"connection_id":127623,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:01:54] local.INFO: Processing buffer {"connection_id":127623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:01:54] local.INFO: IMEI packet received {"connection_id":127623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":127623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:01:55] local.INFO: TCP Data received {"connection_id":127623,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:01:55] local.INFO: Processing buffer {"connection_id":127623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:01:55] local.INFO: IMEI packet received {"connection_id":127623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":127623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:01:59] local.INFO: TCP Data received {"connection_id":127623,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:01:59] local.INFO: Processing buffer {"connection_id":127623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:01:59] local.INFO: IMEI packet received {"connection_id":127623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":127623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:02:00] local.INFO: TCP Data received {"connection_id":127623,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41105bf8012d98c48005778978000600542c..."} 
[2026-07-08 15:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41105bf8012d98c48005778978000600542c..."} 
[2026-07-08 15:02:00] local.INFO: Processing buffer {"connection_id":127623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41105bf8012d98c48005778978000600542c..."} 
[2026-07-08 15:02:00] local.INFO: Packet analysis {"connection_id":127623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4110"} 
[2026-07-08 15:02:00] local.INFO: Extracted packet for processing {"connection_id":127623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4110"} 
[2026-07-08 15:02:00] local.INFO: GPS Element Parsed {"raw_longitude":764986496,"raw_latitude":91720056,"longitude_deg":76.4986496,"latitude_deg":9.1720056,"altitude":6,"angle":84,"satellites":44,"speed":21,"hex_longitude":"2d98c480","hex_latitude":"05778978","is_valid_coordinates":true} 
[2026-07-08 15:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576772864001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342760045445906432,"note":"Value kept but may cause issues"} 
[2026-07-08 15:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7438679923540527104,"note":"Value kept but may cause issues"} 
[2026-07-08 15:02:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783503019000,"timestamp_ms":1783503019000,"timestamp_seconds":1783503019,"priority":1,"record_length":96,"hex_timestamp":"0000019f41105bf8"} 
[2026-07-08 15:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-08 15:02:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:02:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":127623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":127623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":127623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:02:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576772864001,"66":27832,"32":206,"85":15872,"24":21,"16":342760045445906432,"45":-7438679923540527104},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,85,24,16,45]} 
[2026-07-08 15:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576772864001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:02:00] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-08 15:02:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342760045445906432,"km_value":342760045445906.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7438679923540527104,"description":"Unknown IO ID 45"} 
[2026-07-08 15:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576772864001,"power":27832,"unknown_32":206,"unknown_85":15872,"ignition":21,"odometer":null,"unknown_45":-7438679923540527104}} 
[2026-07-08 15:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":127623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:02:00] local.INFO: GPS data processed {"connection_id":127623,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:02:00] local.INFO: Acknowledgment sent {"connection_id":127623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:02:00] local.INFO: TCP Data received {"connection_id":125624,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:02:00] local.INFO: Processing buffer {"connection_id":125624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:02:00] local.INFO: IMEI packet received {"connection_id":125624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":125624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:02:05] local.INFO: TCP Data received {"connection_id":125624,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:02:05] local.INFO: Processing buffer {"connection_id":125624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:02:05] local.INFO: IMEI packet received {"connection_id":125624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":125624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:02:07] local.INFO: TCP Data received {"connection_id":125624,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f410da4a8012d196380071fef800037006e2a..."} 
[2026-07-08 15:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410da4a8012d196380071fef800037006e2a..."} 
[2026-07-08 15:02:07] local.INFO: Processing buffer {"connection_id":125624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410da4a8012d196380071fef800037006e2a..."} 
[2026-07-08 15:02:07] local.INFO: Packet analysis {"connection_id":125624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f410d"} 
[2026-07-08 15:02:07] local.INFO: Extracted packet for processing {"connection_id":125624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f410d"} 
[2026-07-08 15:02:07] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576650240001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783502841000,"timestamp_ms":1783502841000,"timestamp_seconds":1783502841,"priority":1,"record_length":96,"hex_timestamp":"0000019f410da4a8"} 
[2026-07-08 15:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 15:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576650240001,"66":2155,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576650240001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:02:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:02:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576650240001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":125624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:02:07] local.INFO: GPS data processed {"connection_id":125624,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:02:07] local.INFO: Acknowledgment sent {"connection_id":125624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:02:26] local.INFO: TCP Data received {"connection_id":126385,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f41105bf8012d0b130007029fc00003013423..."} 
[2026-07-08 15:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41105bf8012d0b130007029fc00003013423..."} 
[2026-07-08 15:02:26] local.INFO: Processing buffer {"connection_id":126385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41105bf8012d0b130007029fc00003013423..."} 
[2026-07-08 15:02:26] local.INFO: Packet analysis {"connection_id":126385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4110"} 
[2026-07-08 15:02:26] local.INFO: Extracted packet for processing {"connection_id":126385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4110"} 
[2026-07-08 15:02:26] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576695808001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783503019000,"timestamp_ms":1783503019000,"timestamp_seconds":1783503019,"priority":1,"record_length":96,"hex_timestamp":"0000019f41105bf8"} 
[2026-07-08 15:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 15:02:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:02:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":126385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":126385,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":126385,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:02:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576695808001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576695808001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:02:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576695808001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":126385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451889,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:02:26] local.INFO: GPS data processed {"connection_id":126385,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:02:26] local.INFO: Acknowledgment sent {"connection_id":126385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:02:31] local.INFO: TCP Data received {"connection_id":127623,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f4111a418012d98fc800577ec58000d005329..."} 
[2026-07-08 15:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4111a418012d98fc800577ec58000d005329..."} 
[2026-07-08 15:02:31] local.INFO: Processing buffer {"connection_id":127623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4111a418012d98fc800577ec58000d005329..."} 
[2026-07-08 15:02:31] local.INFO: Packet analysis {"connection_id":127623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4111"} 
[2026-07-08 15:02:31] local.INFO: Extracted packet for processing {"connection_id":127623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4111"} 
[2026-07-08 15:02:31] local.INFO: GPS Element Parsed {"raw_longitude":765000832,"raw_latitude":91745368,"longitude_deg":76.5000832,"latitude_deg":9.1745368,"altitude":13,"angle":83,"satellites":41,"speed":12,"hex_longitude":"2d98fc80","hex_latitude":"0577ec58","is_valid_coordinates":true} 
[2026-07-08 15:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576794112001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342761814972432384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7423269168559155200,"note":"Value kept but may cause issues"} 
[2026-07-08 15:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783503103000,"timestamp_ms":1783503103000,"timestamp_seconds":1783503103,"priority":1,"record_length":96,"hex_timestamp":"0000019f4111a418"} 
[2026-07-08 15:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-08 15:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:02:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":127623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":127623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":127623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576794112001,"66":28006,"32":206,"85":15872,"24":12,"16":342761814972432384,"45":-7423269168559155200},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,85,24,16,45]} 
[2026-07-08 15:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576794112001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:02:31] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-08 15:02:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342761814972432384,"km_value":342761814972432.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7423269168559155200,"description":"Unknown IO ID 45"} 
[2026-07-08 15:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576794112001,"power":28006,"unknown_32":206,"unknown_85":15872,"ignition":12,"odometer":null,"unknown_45":-7423269168559155200}} 
[2026-07-08 15:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":127623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:02:31] local.INFO: GPS data processed {"connection_id":127623,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:02:31] local.INFO: Acknowledgment sent {"connection_id":127623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:02:39] local.INFO: TCP Data received {"connection_id":125624,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f410da4a8012d196380071fef800037006e2a..."} 
[2026-07-08 15:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f410da4a8012d196380071fef800037006e2a..."} 
[2026-07-08 15:02:39] local.INFO: Processing buffer {"connection_id":125624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f410da4a8012d196380071fef800037006e2a..."} 
[2026-07-08 15:02:39] local.INFO: Packet analysis {"connection_id":125624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f410d"} 
[2026-07-08 15:02:39] local.INFO: Extracted packet for processing {"connection_id":125624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f410d"} 
[2026-07-08 15:02:39] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576650240001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783502841000,"timestamp_ms":1783502841000,"timestamp_seconds":1783502841,"priority":1,"record_length":96,"hex_timestamp":"0000019f410da4a8"} 
[2026-07-08 15:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 15:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576650240001,"66":2155,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576650240001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:02:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:02:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576650240001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":125624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:02:39] local.INFO: GPS data processed {"connection_id":125624,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:02:39] local.INFO: Acknowledgment sent {"connection_id":125624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:02:48] local.INFO: TCP Data received {"connection_id":125501,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125501,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:02:48] local.INFO: Processing buffer {"connection_id":125501,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:02:48] local.INFO: IMEI packet received {"connection_id":125501,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":125501,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:02:50] local.INFO: TCP Data received {"connection_id":125501,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125501,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:02:50] local.INFO: Processing buffer {"connection_id":125501,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:02:50] local.INFO: IMEI packet received {"connection_id":125501,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":125501,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:02:53] local.INFO: TCP Data received {"connection_id":125501,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41105bf8012d0b130007029fc00003013423..."} 
[2026-07-08 15:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41105bf8012d0b130007029fc00003013423..."} 
[2026-07-08 15:02:53] local.INFO: Processing buffer {"connection_id":125501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41105bf8012d0b130007029fc00003013423..."} 
[2026-07-08 15:02:53] local.INFO: Packet analysis {"connection_id":125501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4110"} 
[2026-07-08 15:02:53] local.INFO: Extracted packet for processing {"connection_id":125501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4110"} 
[2026-07-08 15:02:53] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576695808001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783503019000,"timestamp_ms":1783503019000,"timestamp_seconds":1783503019,"priority":1,"record_length":96,"hex_timestamp":"0000019f41105bf8"} 
[2026-07-08 15:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":47,"data_length":795,"current_offset":136} 
[2026-07-08 15:02: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-07-08 15: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-07-08 15:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125501,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125501,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576695808001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576695808001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:02:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576695808001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":125501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451892,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:02:53] local.INFO: GPS data processed {"connection_id":125501,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:02:53] local.INFO: Acknowledgment sent {"connection_id":125501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:02:55] local.INFO: TCP Data received {"connection_id":127624,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:02:55] local.INFO: Processing buffer {"connection_id":127624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:02:55] local.INFO: IMEI packet received {"connection_id":127624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":127624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:03:00] local.INFO: TCP Data received {"connection_id":126387,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:03:00] local.INFO: Processing buffer {"connection_id":126387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:03:00] local.INFO: IMEI packet received {"connection_id":126387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":126387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:03:01] local.INFO: TCP Data received {"connection_id":125501,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41105bf8012d0b130007029fc00003013423..."} 
[2026-07-08 15:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41105bf8012d0b130007029fc00003013423..."} 
[2026-07-08 15:03:01] local.INFO: Processing buffer {"connection_id":125501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41105bf8012d0b130007029fc00003013423..."} 
[2026-07-08 15:03:01] local.INFO: Packet analysis {"connection_id":125501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4110"} 
[2026-07-08 15:03:01] local.INFO: Extracted packet for processing {"connection_id":125501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4110"} 
[2026-07-08 15:03:01] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576695808001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:03: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-07-08 15:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783503019000,"timestamp_ms":1783503019000,"timestamp_seconds":1783503019,"priority":1,"record_length":96,"hex_timestamp":"0000019f41105bf8"} 
[2026-07-08 15:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:03:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 15:03:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:03:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125501,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125501,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576695808001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576695808001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:03:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576695808001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:03:01] local.INFO: TCP Data received {"connection_id":127624,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:03:01] local.INFO: Processing buffer {"connection_id":127624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:03:01] local.INFO: IMEI packet received {"connection_id":127624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":127624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":125501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451893,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:03:01] local.INFO: GPS data processed {"connection_id":125501,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:03:01] local.INFO: Acknowledgment sent {"connection_id":125501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:03:01] local.INFO: TCP Data received {"connection_id":126387,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:03:01] local.INFO: Processing buffer {"connection_id":126387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:03:01] local.INFO: IMEI packet received {"connection_id":126387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":126387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:03:02] local.INFO: TCP Data received {"connection_id":127624,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f4111a800012d98fdc00577ec50000c00632b..."} 
[2026-07-08 15:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4111a800012d98fdc00577ec50000c00632b..."} 
[2026-07-08 15:03:02] local.INFO: Processing buffer {"connection_id":127624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4111a800012d98fdc00577ec50000c00632b..."} 
[2026-07-08 15:03:02] local.INFO: Packet analysis {"connection_id":127624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4111"} 
[2026-07-08 15:03:02] local.INFO: Extracted packet for processing {"connection_id":127624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4111"} 
[2026-07-08 15:03:02] local.INFO: GPS Element Parsed {"raw_longitude":765001152,"raw_latitude":91745360,"longitude_deg":76.5001152,"latitude_deg":9.174536,"altitude":12,"angle":99,"satellites":43,"speed":14,"hex_longitude":"2d98fdc0","hex_latitude":"0577ec50","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576794368001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342761827857334272,"note":"Value kept but may cause issues"} 
[2026-07-08 15:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7422917324838250496,"note":"Value kept but may cause issues"} 
[2026-07-08 15:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783503104000,"timestamp_ms":1783503104000,"timestamp_seconds":1783503104,"priority":1,"record_length":96,"hex_timestamp":"0000019f4111a800"} 
[2026-07-08 15:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 15:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:03:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576794368001,"66":28006,"31":206,"85":15872,"24":14,"16":342761827857334272,"45":-7422917324838250496},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,45]} 
[2026-07-08 15:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576794368001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:03:02] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-08 15:03:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342761827857334272,"km_value":342761827857334.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7422917324838250496,"description":"Unknown IO ID 45"} 
[2026-07-08 15:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576794368001,"power":28006,"unknown_31":206,"unknown_85":15872,"ignition":14,"odometer":null,"unknown_45":-7422917324838250496}} 
[2026-07-08 15:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":127624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:03:02] local.INFO: GPS data processed {"connection_id":127624,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:03:02] local.INFO: Acknowledgment sent {"connection_id":127624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:03:05] local.INFO: TCP Data received {"connection_id":126387,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:03:05] local.INFO: Processing buffer {"connection_id":126387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:03:05] local.INFO: IMEI packet received {"connection_id":126387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":126387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:03:07] local.INFO: TCP Data received {"connection_id":126387,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f41123c70012d196380071fef800037006e2b..."} 
[2026-07-08 15:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41123c70012d196380071fef800037006e2b..."} 
[2026-07-08 15:03:07] local.INFO: Processing buffer {"connection_id":126387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41123c70012d196380071fef800037006e2b..."} 
[2026-07-08 15:03:07] local.INFO: Packet analysis {"connection_id":126387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4112"} 
[2026-07-08 15:03:07] local.INFO: Extracted packet for processing {"connection_id":126387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4112"} 
[2026-07-08 15:03:07] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576727296001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783503142000,"timestamp_ms":1783503142000,"timestamp_seconds":1783503142,"priority":1,"record_length":96,"hex_timestamp":"0000019f41123c70"} 
[2026-07-08 15:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:03:07] 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-07-08 15:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 15:03: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-07-08 15:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576727296001,"66":2155,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576727296001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:03:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:03:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576727296001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":126387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:03:07] local.INFO: GPS data processed {"connection_id":126387,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:03:07] local.INFO: Acknowledgment sent {"connection_id":126387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:03:36] local.INFO: TCP Data received {"connection_id":127624,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f4111b3b8012d9902400577ebd8000d00562e..."} 
[2026-07-08 15:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4111b3b8012d9902400577ebd8000d00562e..."} 
[2026-07-08 15:03:36] local.INFO: Processing buffer {"connection_id":127624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4111b3b8012d9902400577ebd8000d00562e..."} 
[2026-07-08 15:03:36] local.INFO: Packet analysis {"connection_id":127624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4111"} 
[2026-07-08 15:03:36] local.INFO: Extracted packet for processing {"connection_id":127624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4111"} 
[2026-07-08 15:03:36] local.INFO: GPS Element Parsed {"raw_longitude":765002304,"raw_latitude":91745240,"longitude_deg":76.5002304,"latitude_deg":9.174524,"altitude":13,"angle":86,"satellites":46,"speed":17,"hex_longitude":"2d990240","hex_latitude":"0577ebd8","is_valid_coordinates":true} 
[2026-07-08 15:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576794624001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342761883691909120,"note":"Value kept but may cause issues"} 
[2026-07-08 15:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7422565481117364224,"note":"Value kept but may cause issues"} 
[2026-07-08 15:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783503107000,"timestamp_ms":1783503107000,"timestamp_seconds":1783503107,"priority":1,"record_length":96,"hex_timestamp":"0000019f4111b3b8"} 
[2026-07-08 15:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 15:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576794624001,"66":27865,"31":206,"85":15872,"24":17,"16":342761883691909120,"45":-7422565481117364224},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,45]} 
[2026-07-08 15:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576794624001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:03:36] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-08 15:03:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342761883691909120,"km_value":342761883691909.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7422565481117364224,"description":"Unknown IO ID 45"} 
[2026-07-08 15:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576794624001,"power":27865,"unknown_31":206,"unknown_85":15872,"ignition":17,"odometer":null,"unknown_45":-7422565481117364224}} 
[2026-07-08 15:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":127624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:03:36] local.INFO: GPS data processed {"connection_id":127624,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:03:36] local.INFO: Acknowledgment sent {"connection_id":127624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:03:42] local.INFO: TCP Data received {"connection_id":126387,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f41123c70012d196380071fef800037006e2b..."} 
[2026-07-08 15:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41123c70012d196380071fef800037006e2b..."} 
[2026-07-08 15:03:42] local.INFO: Processing buffer {"connection_id":126387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41123c70012d196380071fef800037006e2b..."} 
[2026-07-08 15:03:42] local.INFO: Packet analysis {"connection_id":126387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4112"} 
[2026-07-08 15:03:42] local.INFO: Extracted packet for processing {"connection_id":126387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4112"} 
[2026-07-08 15:03:42] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576727296001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783503142000,"timestamp_ms":1783503142000,"timestamp_seconds":1783503142,"priority":1,"record_length":96,"hex_timestamp":"0000019f41123c70"} 
[2026-07-08 15:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:03:42] 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-07-08 15:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 15:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":126387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":126387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":126387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576727296001,"66":2155,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576727296001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:03:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:03:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576727296001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":126387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:03:42] local.INFO: GPS data processed {"connection_id":126387,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:03:42] local.INFO: Acknowledgment sent {"connection_id":126387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:03:46] local.INFO: TCP Data received {"connection_id":126388,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126388,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:03:46] local.INFO: Processing buffer {"connection_id":126388,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:03:46] local.INFO: IMEI packet received {"connection_id":126388,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":126388,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:03:50] local.INFO: TCP Data received {"connection_id":126388,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126388,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:03:50] local.INFO: Processing buffer {"connection_id":126388,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:03:50] local.INFO: IMEI packet received {"connection_id":126388,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":126388,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:03:55] local.INFO: TCP Data received {"connection_id":125502,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:03:55] local.INFO: Processing buffer {"connection_id":125502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:03:55] local.INFO: IMEI packet received {"connection_id":125502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":125502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:04:00] local.INFO: TCP Data received {"connection_id":126389,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:04:00] local.INFO: Processing buffer {"connection_id":126389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:04:00] local.INFO: IMEI packet received {"connection_id":126389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":126389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:04:01] local.INFO: TCP Data received {"connection_id":125502,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:04:01] local.INFO: Processing buffer {"connection_id":125502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:04:01] local.INFO: IMEI packet received {"connection_id":125502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":125502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:04:01] local.INFO: TCP Data received {"connection_id":125502,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f4111dac8012d9915c00577eb98000d00482d..."} 
[2026-07-08 15:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4111dac8012d9915c00577eb98000d00482d..."} 
[2026-07-08 15:04:01] local.INFO: Processing buffer {"connection_id":125502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4111dac8012d9915c00577eb98000d00482d..."} 
[2026-07-08 15:04:01] local.INFO: Packet analysis {"connection_id":125502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4111"} 
[2026-07-08 15:04:01] local.INFO: Extracted packet for processing {"connection_id":125502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4111"} 
[2026-07-08 15:04:01] local.INFO: GPS Element Parsed {"raw_longitude":765007296,"raw_latitude":91745176,"longitude_deg":76.5007296,"latitude_deg":9.1745176,"altitude":13,"angle":72,"satellites":45,"speed":19,"hex_longitude":"2d9915c0","hex_latitude":"0577eb98","is_valid_coordinates":true} 
[2026-07-08 15:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576795392001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342762124210077696,"note":"Value kept but may cause issues"} 
[2026-07-08 15:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7421298843722196992,"note":"Value kept but may cause issues"} 
[2026-07-08 15:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783503117000,"timestamp_ms":1783503117000,"timestamp_seconds":1783503117,"priority":1,"record_length":96,"hex_timestamp":"0000019f4111dac8"} 
[2026-07-08 15:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:04:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 15:04:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:04:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576795392001,"66":27908,"31":206,"85":15872,"24":19,"16":342762124210077696,"45":-7421298843722196992},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,45]} 
[2026-07-08 15:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576795392001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:04:01] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-08 15:04:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342762124210077696,"km_value":342762124210077.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7421298843722196992,"description":"Unknown IO ID 45"} 
[2026-07-08 15:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576795392001,"power":27908,"unknown_31":206,"unknown_85":15872,"ignition":19,"odometer":null,"unknown_45":-7421298843722196992}} 
[2026-07-08 15:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":125502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:04:01] local.INFO: GPS data processed {"connection_id":125502,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:04:01] local.INFO: Acknowledgment sent {"connection_id":125502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:04:02] local.INFO: TCP Data received {"connection_id":126388,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f41105bf8012d0b130007029fc00003013423..."} 
[2026-07-08 15:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41105bf8012d0b130007029fc00003013423..."} 
[2026-07-08 15:04:02] local.INFO: Processing buffer {"connection_id":126388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41105bf8012d0b130007029fc00003013423..."} 
[2026-07-08 15:04:02] local.INFO: Packet analysis {"connection_id":126388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4110"} 
[2026-07-08 15:04:02] local.INFO: Extracted packet for processing {"connection_id":126388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4110"} 
[2026-07-08 15:04:02] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576695808001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:04: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-07-08 15:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783503019000,"timestamp_ms":1783503019000,"timestamp_seconds":1783503019,"priority":1,"record_length":96,"hex_timestamp":"0000019f41105bf8"} 
[2026-07-08 15:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 15:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:04:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126388,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126388,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576695808001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576695808001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:04:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576695808001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":126388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451899,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:04:02] local.INFO: GPS data processed {"connection_id":126388,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:04:02] local.INFO: Acknowledgment sent {"connection_id":126388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:04:07] local.INFO: TCP Data received {"connection_id":126389,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:04:08] local.INFO: Processing buffer {"connection_id":126389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:04:08] local.INFO: IMEI packet received {"connection_id":126389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":126389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:04:11] local.INFO: TCP Data received {"connection_id":126389,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f41123c70012d196380071fef800037006e2b..."} 
[2026-07-08 15:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41123c70012d196380071fef800037006e2b..."} 
[2026-07-08 15:04:11] local.INFO: Processing buffer {"connection_id":126389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41123c70012d196380071fef800037006e2b..."} 
[2026-07-08 15:04:11] local.INFO: Packet analysis {"connection_id":126389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4112"} 
[2026-07-08 15:04:11] local.INFO: Extracted packet for processing {"connection_id":126389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4112"} 
[2026-07-08 15:04:11] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576727296001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783503142000,"timestamp_ms":1783503142000,"timestamp_seconds":1783503142,"priority":1,"record_length":96,"hex_timestamp":"0000019f41123c70"} 
[2026-07-08 15:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:04: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-07-08 15:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 15:04: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-07-08 15:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576727296001,"66":2155,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576727296001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:04:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:04:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576727296001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":126389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:04:11] local.INFO: GPS data processed {"connection_id":126389,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:04:11] local.INFO: Acknowledgment sent {"connection_id":126389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:04:35] local.INFO: TCP Data received {"connection_id":125502,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41137cc0012d99f00005781020000a004e2c..."} 
[2026-07-08 15:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41137cc0012d99f00005781020000a004e2c..."} 
[2026-07-08 15:04:35] local.INFO: Processing buffer {"connection_id":125502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41137cc0012d99f00005781020000a004e2c..."} 
[2026-07-08 15:04:35] local.INFO: Packet analysis {"connection_id":125502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4113"} 
[2026-07-08 15:04:35] local.INFO: Extracted packet for processing {"connection_id":125502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4113"} 
[2026-07-08 15:04:35] local.INFO: GPS Element Parsed {"raw_longitude":765063168,"raw_latitude":91754528,"longitude_deg":76.5063168,"latitude_deg":9.1754528,"altitude":10,"angle":78,"satellites":44,"speed":12,"hex_longitude":"2d99f000","hex_latitude":"05781020","is_valid_coordinates":true} 
[2026-07-08 15:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576824320001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342764868694179840,"note":"Value kept but may cause issues"} 
[2026-07-08 15:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7355644805402015744,"note":"Value kept but may cause issues"} 
[2026-07-08 15:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783503224000,"timestamp_ms":1783503224000,"timestamp_seconds":1783503224,"priority":1,"record_length":96,"hex_timestamp":"0000019f41137cc0"} 
[2026-07-08 15:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 15:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576824320001,"66":27843,"31":206,"85":15872,"24":12,"16":342764868694179840,"45":-7355644805402015744},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,45]} 
[2026-07-08 15:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576824320001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:04:35] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-08 15:04:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342764868694179840,"km_value":342764868694179.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7355644805402015744,"description":"Unknown IO ID 45"} 
[2026-07-08 15:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576824320001,"power":27843,"unknown_31":206,"unknown_85":15872,"ignition":12,"odometer":null,"unknown_45":-7355644805402015744}} 
[2026-07-08 15:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":125502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:04:35] local.INFO: GPS data processed {"connection_id":125502,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:04:35] local.INFO: Acknowledgment sent {"connection_id":125502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:04:43] local.INFO: TCP Data received {"connection_id":126389,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f41123c70012d196380071fef800037006e2b..."} 
[2026-07-08 15:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41123c70012d196380071fef800037006e2b..."} 
[2026-07-08 15:04:43] local.INFO: Processing buffer {"connection_id":126389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41123c70012d196380071fef800037006e2b..."} 
[2026-07-08 15:04:43] local.INFO: Packet analysis {"connection_id":126389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4112"} 
[2026-07-08 15:04:43] local.INFO: Extracted packet for processing {"connection_id":126389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4112"} 
[2026-07-08 15:04:43] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576727296001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:04:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:04:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783503142000,"timestamp_ms":1783503142000,"timestamp_seconds":1783503142,"priority":1,"record_length":96,"hex_timestamp":"0000019f41123c70"} 
[2026-07-08 15:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:04:43] 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-07-08 15:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 15:04:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:04:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":126389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":126389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":126389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576727296001,"66":2155,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576727296001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:04:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:04:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:04:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576727296001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":126389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:04:43] local.INFO: GPS data processed {"connection_id":126389,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:04:43] local.INFO: Acknowledgment sent {"connection_id":126389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:04:45] local.INFO: TCP Data received {"connection_id":125503,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125503,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:04:45] local.INFO: Processing buffer {"connection_id":125503,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:04:45] local.INFO: IMEI packet received {"connection_id":125503,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":125503,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:04:50] local.INFO: TCP Data received {"connection_id":125503,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125503,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:04:50] local.INFO: Processing buffer {"connection_id":125503,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:04:50] local.INFO: IMEI packet received {"connection_id":125503,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":125503,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:04:53] local.INFO: TCP Data received {"connection_id":125503,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f41105bf8012d0b130007029fc00003013423..."} 
[2026-07-08 15:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41105bf8012d0b130007029fc00003013423..."} 
[2026-07-08 15:04:53] local.INFO: Processing buffer {"connection_id":125503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41105bf8012d0b130007029fc00003013423..."} 
[2026-07-08 15:04:53] local.INFO: Packet analysis {"connection_id":125503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4110"} 
[2026-07-08 15:04:53] local.INFO: Extracted packet for processing {"connection_id":125503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4110"} 
[2026-07-08 15:04:53] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 15:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576695808001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783503019000,"timestamp_ms":1783503019000,"timestamp_seconds":1783503019,"priority":1,"record_length":96,"hex_timestamp":"0000019f41105bf8"} 
[2026-07-08 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-07-08 15:04:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 15:04: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-07-08 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-07-08 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-07-08 15:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125503,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125503,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:04:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576695808001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576695808001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:04:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576695808001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":125503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451903,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:04:53] local.INFO: GPS data processed {"connection_id":125503,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:04:53] local.INFO: Acknowledgment sent {"connection_id":125503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:04:55] local.INFO: TCP Data received {"connection_id":125625,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:04:55] local.INFO: Processing buffer {"connection_id":125625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:04:55] local.INFO: IMEI packet received {"connection_id":125625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":125625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:05:01] local.INFO: TCP Data received {"connection_id":125625,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:05:01] local.INFO: Processing buffer {"connection_id":125625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:05:01] local.INFO: IMEI packet received {"connection_id":125625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":125625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:05:02] local.INFO: TCP Data received {"connection_id":125625,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f411380a8012d99f14005781090000a003f2b..."} 
[2026-07-08 15:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411380a8012d99f14005781090000a003f2b..."} 
[2026-07-08 15:05:02] local.INFO: Processing buffer {"connection_id":125625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411380a8012d99f14005781090000a003f2b..."} 
[2026-07-08 15:05:02] local.INFO: Packet analysis {"connection_id":125625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4113"} 
[2026-07-08 15:05:02] local.INFO: Extracted packet for processing {"connection_id":125625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4113"} 
[2026-07-08 15:05:02] local.INFO: GPS Element Parsed {"raw_longitude":765063488,"raw_latitude":91754640,"longitude_deg":76.5063488,"latitude_deg":9.175464,"altitude":10,"angle":63,"satellites":43,"speed":15,"hex_longitude":"2d99f140","hex_latitude":"05781090","is_valid_coordinates":true} 
[2026-07-08 15:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576825344001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342764881579081728,"note":"Value kept but may cause issues"} 
[2026-07-08 15:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7354378168006860800,"note":"Value kept but may cause issues"} 
[2026-07-08 15:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783503225000,"timestamp_ms":1783503225000,"timestamp_seconds":1783503225,"priority":1,"record_length":96,"hex_timestamp":"0000019f411380a8"} 
[2026-07-08 15:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:05:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 15:05:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:05:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576825344001,"66":27843,"31":206,"85":15872,"24":15,"16":342764881579081728,"45":-7354378168006860800},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,45]} 
[2026-07-08 15:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576825344001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:05:02] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-08 15:05:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342764881579081728,"km_value":342764881579081.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7354378168006860800,"description":"Unknown IO ID 45"} 
[2026-07-08 15:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576825344001,"power":27843,"unknown_31":206,"unknown_85":15872,"ignition":15,"odometer":null,"unknown_45":-7354378168006860800}} 
[2026-07-08 15:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":125625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:05:02] local.INFO: GPS data processed {"connection_id":125625,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:05:02] local.INFO: Acknowledgment sent {"connection_id":125625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:05:05] local.INFO: TCP Data received {"connection_id":127627,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:05:05] local.INFO: Processing buffer {"connection_id":127627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:05:05] local.INFO: IMEI packet received {"connection_id":127627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":127627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:05:10] local.INFO: TCP Data received {"connection_id":127627,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:05:10] local.INFO: Processing buffer {"connection_id":127627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:05:10] local.INFO: IMEI packet received {"connection_id":127627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":127627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:05:12] local.INFO: TCP Data received {"connection_id":127627,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f41123c70012d196380071fef800037006e2b..."} 
[2026-07-08 15:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41123c70012d196380071fef800037006e2b..."} 
[2026-07-08 15:05:12] local.INFO: Processing buffer {"connection_id":127627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41123c70012d196380071fef800037006e2b..."} 
[2026-07-08 15:05:12] local.INFO: Packet analysis {"connection_id":127627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4112"} 
[2026-07-08 15:05:12] local.INFO: Extracted packet for processing {"connection_id":127627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4112"} 
[2026-07-08 15:05:12] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576727296001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783503142000,"timestamp_ms":1783503142000,"timestamp_seconds":1783503142,"priority":1,"record_length":96,"hex_timestamp":"0000019f41123c70"} 
[2026-07-08 15:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:05: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-07-08 15: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":107,"data_length":795,"current_offset":136} 
[2026-07-08 15:05: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-07-08 15: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-07-08 15:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":127627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":127627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":127627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576727296001,"66":2155,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576727296001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:05:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:05:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576727296001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":127627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:05:12] local.INFO: GPS data processed {"connection_id":127627,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:05:12] local.INFO: Acknowledgment sent {"connection_id":127627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:05:16] local.INFO: TCP Data received {"connection_id":127627,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f41123c70012d196380071fef800037006e2b..."} 
[2026-07-08 15:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41123c70012d196380071fef800037006e2b..."} 
[2026-07-08 15:05:16] local.INFO: Processing buffer {"connection_id":127627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41123c70012d196380071fef800037006e2b..."} 
[2026-07-08 15:05:16] local.INFO: Packet analysis {"connection_id":127627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4112"} 
[2026-07-08 15:05:16] local.INFO: Extracted packet for processing {"connection_id":127627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4112"} 
[2026-07-08 15:05:16] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576727296001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:05:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783503142000,"timestamp_ms":1783503142000,"timestamp_seconds":1783503142,"priority":1,"record_length":96,"hex_timestamp":"0000019f41123c70"} 
[2026-07-08 15:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:05: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-07-08 15:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 15:05: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-07-08 15:05:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":127627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":127627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":127627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576727296001,"66":2155,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576727296001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:05:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:05:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576727296001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":127627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:05:16] local.INFO: GPS data processed {"connection_id":127627,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:05:16] local.INFO: Acknowledgment sent {"connection_id":127627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:05:28] local.INFO: TCP Data received {"connection_id":125503,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f4114f3c0012d0b130007029fc00003013423..."} 
[2026-07-08 15:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4114f3c0012d0b130007029fc00003013423..."} 
[2026-07-08 15:05:28] local.INFO: Processing buffer {"connection_id":125503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4114f3c0012d0b130007029fc00003013423..."} 
[2026-07-08 15:05:28] local.INFO: Packet analysis {"connection_id":125503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4114"} 
[2026-07-08 15:05:28] local.INFO: Extracted packet for processing {"connection_id":125503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4114"} 
[2026-07-08 15:05:28] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576772864001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783503320000,"timestamp_ms":1783503320000,"timestamp_seconds":1783503320,"priority":1,"record_length":96,"hex_timestamp":"0000019f4114f3c0"} 
[2026-07-08 15:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 15:05:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:05:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":125503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":125503,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":125503,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576772864001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576772864001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:05:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576772864001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":125503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451907,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:05:28] local.INFO: GPS data processed {"connection_id":125503,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:05:28] local.INFO: Acknowledgment sent {"connection_id":125503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:05:37] local.INFO: TCP Data received {"connection_id":125625,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41138878012d99f480057811a8000900502b..."} 
[2026-07-08 15:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41138878012d99f480057811a8000900502b..."} 
[2026-07-08 15:05:37] local.INFO: Processing buffer {"connection_id":125625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41138878012d99f480057811a8000900502b..."} 
[2026-07-08 15:05:37] local.INFO: Packet analysis {"connection_id":125625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4113"} 
[2026-07-08 15:05:37] local.INFO: Extracted packet for processing {"connection_id":125625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4113"} 
[2026-07-08 15:05:37] local.INFO: GPS Element Parsed {"raw_longitude":765064320,"raw_latitude":91754920,"longitude_deg":76.506432,"latitude_deg":9.175492,"altitude":9,"angle":80,"satellites":43,"speed":18,"hex_longitude":"2d99f480","hex_latitude":"057811a8","is_valid_coordinates":true} 
[2026-07-08 15:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576825600001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342764924528754688,"note":"Value kept but may cause issues"} 
[2026-07-08 15:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7354026324285943808,"note":"Value kept but may cause issues"} 
[2026-07-08 15:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783503227000,"timestamp_ms":1783503227000,"timestamp_seconds":1783503227,"priority":1,"record_length":96,"hex_timestamp":"0000019f41138878"} 
[2026-07-08 15:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 15:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576825600001,"66":27908,"31":206,"85":15872,"24":18,"16":342764924528754688,"45":-7354026324285943808},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,45]} 
[2026-07-08 15:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576825600001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:05:37] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-08 15:05:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342764924528754688,"km_value":342764924528754.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7354026324285943808,"description":"Unknown IO ID 45"} 
[2026-07-08 15:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576825600001,"power":27908,"unknown_31":206,"unknown_85":15872,"ignition":18,"odometer":null,"unknown_45":-7354026324285943808}} 
[2026-07-08 15:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":125625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:05:37] local.INFO: GPS data processed {"connection_id":125625,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:05:37] local.INFO: Acknowledgment sent {"connection_id":125625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:06:00] local.INFO: TCP Data received {"connection_id":126390,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126390,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:06:00] local.INFO: Processing buffer {"connection_id":126390,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:06:00] local.INFO: IMEI packet received {"connection_id":126390,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":126390,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:06:00] local.INFO: TCP Data received {"connection_id":127629,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:06:00] local.INFO: Processing buffer {"connection_id":127629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:06:00] local.INFO: IMEI packet received {"connection_id":127629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":127629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:06:01] local.INFO: TCP Data received {"connection_id":127628,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:06:01] local.INFO: Processing buffer {"connection_id":127628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:06:01] local.INFO: IMEI packet received {"connection_id":127628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":127628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:06:05] local.INFO: TCP Data received {"connection_id":127629,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:06:05] local.INFO: Processing buffer {"connection_id":127629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:06:05] local.INFO: IMEI packet received {"connection_id":127629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":127629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:06:06] local.INFO: TCP Data received {"connection_id":127628,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:06:06] local.INFO: Processing buffer {"connection_id":127628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:06:06] local.INFO: IMEI packet received {"connection_id":127628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":127628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:06:06] local.INFO: TCP Data received {"connection_id":127628,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f4113bf28012d9a1a0005781490000b00582b..."} 
[2026-07-08 15:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4113bf28012d9a1a0005781490000b00582b..."} 
[2026-07-08 15:06:06] local.INFO: Processing buffer {"connection_id":127628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4113bf28012d9a1a0005781490000b00582b..."} 
[2026-07-08 15:06:06] local.INFO: Packet analysis {"connection_id":127628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4113"} 
[2026-07-08 15:06:06] local.INFO: Extracted packet for processing {"connection_id":127628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4113"} 
[2026-07-08 15:06:06] local.INFO: GPS Element Parsed {"raw_longitude":765073920,"raw_latitude":91755664,"longitude_deg":76.507392,"latitude_deg":9.1755664,"altitude":11,"angle":88,"satellites":43,"speed":31,"hex_longitude":"2d9a1a00","hex_latitude":"05781490","is_valid_coordinates":true} 
[2026-07-08 15:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576826112001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342765388385222656,"note":"Value kept but may cause issues"} 
[2026-07-08 15:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7353111530611562496,"note":"Value kept but may cause issues"} 
[2026-07-08 15:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783503241000,"timestamp_ms":1783503241000,"timestamp_seconds":1783503241,"priority":1,"record_length":96,"hex_timestamp":"0000019f4113bf28"} 
[2026-07-08 15:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 15:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576826112001,"66":27995,"135":206,"85":15872,"24":31,"16":342765388385222656,"45":-7353111530611562496},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-07-08 15:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576826112001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:06:06] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-08 15:06:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342765388385222656,"km_value":342765388385222.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7353111530611562496,"description":"Unknown IO ID 45"} 
[2026-07-08 15:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576826112001,"power":27995,"unknown_135":206,"unknown_85":15872,"ignition":31,"odometer":null,"unknown_45":-7353111530611562496}} 
[2026-07-08 15:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":127628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:06:06] local.INFO: GPS data processed {"connection_id":127628,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:06:06] local.INFO: Acknowledgment sent {"connection_id":127628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:06:07] local.INFO: TCP Data received {"connection_id":127629,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f41123c70012d196380071fef800037006e2b..."} 
[2026-07-08 15:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41123c70012d196380071fef800037006e2b..."} 
[2026-07-08 15:06:07] local.INFO: Processing buffer {"connection_id":127629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41123c70012d196380071fef800037006e2b..."} 
[2026-07-08 15:06:07] local.INFO: Packet analysis {"connection_id":127629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4112"} 
[2026-07-08 15:06:07] local.INFO: Extracted packet for processing {"connection_id":127629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4112"} 
[2026-07-08 15:06:07] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576727296001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783503142000,"timestamp_ms":1783503142000,"timestamp_seconds":1783503142,"priority":1,"record_length":96,"hex_timestamp":"0000019f41123c70"} 
[2026-07-08 15:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:06:07] 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-07-08 15: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 15:06: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-07-08 15:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576727296001,"66":2155,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576727296001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:06:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:06:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576727296001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":127629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:06:07] local.INFO: GPS data processed {"connection_id":127629,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:06:07] local.INFO: Acknowledgment sent {"connection_id":127629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:06:11] local.INFO: TCP Data received {"connection_id":127628,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f4113ea20012d9a3d8005781470000c005b2d..."} 
[2026-07-08 15:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4113ea20012d9a3d8005781470000c005b2d..."} 
[2026-07-08 15:06:11] local.INFO: Processing buffer {"connection_id":127628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4113ea20012d9a3d8005781470000c005b2d..."} 
[2026-07-08 15:06:11] local.INFO: Packet analysis {"connection_id":127628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4113"} 
[2026-07-08 15:06:11] local.INFO: Extracted packet for processing {"connection_id":127628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4113"} 
[2026-07-08 15:06:11] local.INFO: GPS Element Parsed {"raw_longitude":765083008,"raw_latitude":91755632,"longitude_deg":76.5083008,"latitude_deg":9.1755632,"altitude":12,"angle":91,"satellites":45,"speed":32,"hex_longitude":"2d9a3d80","hex_latitude":"05781470","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576829696001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342765822176919552,"note":"Value kept but may cause issues"} 
[2026-07-08 15:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7342556218984722432,"note":"Value kept but may cause issues"} 
[2026-07-08 15:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783503252000,"timestamp_ms":1783503252000,"timestamp_seconds":1783503252,"priority":1,"record_length":96,"hex_timestamp":"0000019f4113ea20"} 
[2026-07-08 15:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-08 15:06:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":127628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":127628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":127628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576829696001,"66":28104,"25":206,"85":15872,"24":32,"16":342765822176919552,"45":-7342556218984722432},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-07-08 15:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576829696001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:06:11] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-07-08 15:06:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342765822176919552,"km_value":342765822176919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7342556218984722432,"description":"Unknown IO ID 45"} 
[2026-07-08 15:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576829696001,"power":28104,"unknown_25":206,"unknown_85":15872,"ignition":32,"odometer":null,"unknown_45":-7342556218984722432}} 
[2026-07-08 15:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":127628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:06:11] local.INFO: GPS data processed {"connection_id":127628,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:06:11] local.INFO: Acknowledgment sent {"connection_id":127628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:06:12] local.INFO: TCP Data received {"connection_id":126390,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126390,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:06:12] local.INFO: Processing buffer {"connection_id":126390,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:06:12] local.INFO: IMEI packet received {"connection_id":126390,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":126390,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:06:16] local.INFO: TCP Data received {"connection_id":126390,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f4114f3c0012d0b130007029fc00003013423..."} 
[2026-07-08 15:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4114f3c0012d0b130007029fc00003013423..."} 
[2026-07-08 15:06:16] local.INFO: Processing buffer {"connection_id":126390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4114f3c0012d0b130007029fc00003013423..."} 
[2026-07-08 15:06:16] local.INFO: Packet analysis {"connection_id":126390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4114"} 
[2026-07-08 15:06:16] local.INFO: Extracted packet for processing {"connection_id":126390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4114"} 
[2026-07-08 15:06:16] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576772864001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783503320000,"timestamp_ms":1783503320000,"timestamp_seconds":1783503320,"priority":1,"record_length":96,"hex_timestamp":"0000019f4114f3c0"} 
[2026-07-08 15:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 15:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:06:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":126390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":126390,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":126390,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576772864001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576772864001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:06:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576772864001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":126390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451912,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:06:16] local.INFO: GPS data processed {"connection_id":126390,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:06:16] local.INFO: Acknowledgment sent {"connection_id":126390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:06:39] local.INFO: TCP Data received {"connection_id":127629,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f41123c70012d196380071fef800037006e2b..."} 
[2026-07-08 15:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41123c70012d196380071fef800037006e2b..."} 
[2026-07-08 15:06:39] local.INFO: Processing buffer {"connection_id":127629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41123c70012d196380071fef800037006e2b..."} 
[2026-07-08 15:06:39] local.INFO: Packet analysis {"connection_id":127629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4112"} 
[2026-07-08 15:06:39] local.INFO: Extracted packet for processing {"connection_id":127629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4112"} 
[2026-07-08 15:06:39] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576727296001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783503142000,"timestamp_ms":1783503142000,"timestamp_seconds":1783503142,"priority":1,"record_length":96,"hex_timestamp":"0000019f41123c70"} 
[2026-07-08 15:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:06:39] 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-07-08 15: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 15:06:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:06:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":127629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":127629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":127629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576727296001,"66":2155,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576727296001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:06:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:06:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576727296001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":127629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:06:39] local.INFO: GPS data processed {"connection_id":127629,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:06:39] local.INFO: Acknowledgment sent {"connection_id":127629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:06:42] local.INFO: TCP Data received {"connection_id":127630,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127630,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:06:42] local.INFO: Processing buffer {"connection_id":127630,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:06:42] local.INFO: IMEI packet received {"connection_id":127630,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 15:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":127630,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:06:45] local.INFO: TCP Data received {"connection_id":125505,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125505,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:06:45] local.INFO: Processing buffer {"connection_id":125505,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:06:45] local.INFO: IMEI packet received {"connection_id":125505,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":125505,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:06:50] local.INFO: TCP Data received {"connection_id":125505,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125505,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:06:50] local.INFO: Processing buffer {"connection_id":125505,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:06:50] local.INFO: IMEI packet received {"connection_id":125505,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":125505,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:06:53] local.INFO: TCP Data received {"connection_id":125506,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:06:53] local.INFO: Processing buffer {"connection_id":125506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:06:53] local.INFO: IMEI packet received {"connection_id":125506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":125506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:06:54] local.INFO: TCP Data received {"connection_id":125505,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4114f3c0012d0b130007029fc00003013423..."} 
[2026-07-08 15:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4114f3c0012d0b130007029fc00003013423..."} 
[2026-07-08 15:06:54] local.INFO: Processing buffer {"connection_id":125505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4114f3c0012d0b130007029fc00003013423..."} 
[2026-07-08 15:06:54] local.INFO: Packet analysis {"connection_id":125505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4114"} 
[2026-07-08 15:06:54] local.INFO: Extracted packet for processing {"connection_id":125505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4114"} 
[2026-07-08 15:06:54] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576772864001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783503320000,"timestamp_ms":1783503320000,"timestamp_seconds":1783503320,"priority":1,"record_length":96,"hex_timestamp":"0000019f4114f3c0"} 
[2026-07-08 15:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 15:06:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:06:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":125505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":125505,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":125505,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576772864001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576772864001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:06:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576772864001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":125505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451914,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:06:54] local.INFO: GPS data processed {"connection_id":125505,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:06:54] local.INFO: Acknowledgment sent {"connection_id":125505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:06:55] local.INFO: TCP Data received {"connection_id":125506,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:06:55] local.INFO: Processing buffer {"connection_id":125506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:06:55] local.INFO: IMEI packet received {"connection_id":125506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":125506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:06:56] local.INFO: TCP Data received {"connection_id":125626,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125626,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:06:56] local.INFO: Processing buffer {"connection_id":125626,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:06:56] local.INFO: IMEI packet received {"connection_id":125626,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 15:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":125626,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:07:00] local.INFO: TCP Data received {"connection_id":127631,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:07:00] local.INFO: Processing buffer {"connection_id":127631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:07:00] local.INFO: IMEI packet received {"connection_id":127631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":127631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:07:01] local.INFO: TCP Data received {"connection_id":125506,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:07:01] local.INFO: Processing buffer {"connection_id":125506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:07:01] local.INFO: IMEI packet received {"connection_id":125506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":125506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:07:01] local.INFO: TCP Data received {"connection_id":125506,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41141518012d9a628005781428000b005a2d..."} 
[2026-07-08 15:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41141518012d9a628005781428000b005a2d..."} 
[2026-07-08 15:07:01] local.INFO: Processing buffer {"connection_id":125506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41141518012d9a628005781428000b005a2d..."} 
[2026-07-08 15:07:01] local.INFO: Packet analysis {"connection_id":125506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4114"} 
[2026-07-08 15:07:01] local.INFO: Extracted packet for processing {"connection_id":125506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4114"} 
[2026-07-08 15:07:01] local.INFO: GPS Element Parsed {"raw_longitude":765092480,"raw_latitude":91755560,"longitude_deg":76.509248,"latitude_deg":9.175556,"altitude":11,"angle":90,"satellites":45,"speed":31,"hex_longitude":"2d9a6280","hex_latitude":"05781428","is_valid_coordinates":true} 
[2026-07-08 15:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576832512001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342766273148485632,"note":"Value kept but may cause issues"} 
[2026-07-08 15:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7332563857311502336,"note":"Value kept but may cause issues"} 
[2026-07-08 15:07:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783503263000,"timestamp_ms":1783503263000,"timestamp_seconds":1783503263,"priority":1,"record_length":96,"hex_timestamp":"0000019f41141518"} 
[2026-07-08 15:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:07: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-07-08 15:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-08 15:07:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576832512001,"66":27974,"24":31,"85":15872,"16":342766273148485632,"45":-7332563857311502336},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576832512001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:07:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342766273148485632,"km_value":342766273148485.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7332563857311502336,"description":"Unknown IO ID 45"} 
[2026-07-08 15:07:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456576832512001,"power":27974,"ignition":31,"unknown_85":15872,"odometer":null,"unknown_45":-7332563857311502336}} 
[2026-07-08 15:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":125506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:07:01] local.INFO: GPS data processed {"connection_id":125506,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:07:01] local.INFO: Acknowledgment sent {"connection_id":125506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:07:05] local.INFO: TCP Data received {"connection_id":127631,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:07:05] local.INFO: Processing buffer {"connection_id":127631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:07:05] local.INFO: IMEI packet received {"connection_id":127631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":127631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:07:07] local.INFO: TCP Data received {"connection_id":127631,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f41123c70012d196380071fef800037006e2b..."} 
[2026-07-08 15:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41123c70012d196380071fef800037006e2b..."} 
[2026-07-08 15:07:07] local.INFO: Processing buffer {"connection_id":127631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41123c70012d196380071fef800037006e2b..."} 
[2026-07-08 15:07:07] local.INFO: Packet analysis {"connection_id":127631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4112"} 
[2026-07-08 15:07:07] local.INFO: Extracted packet for processing {"connection_id":127631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4112"} 
[2026-07-08 15:07:07] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576727296001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783503142000,"timestamp_ms":1783503142000,"timestamp_seconds":1783503142,"priority":1,"record_length":96,"hex_timestamp":"0000019f41123c70"} 
[2026-07-08 15:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:07:07] 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-07-08 15: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 15:07: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-07-08 15:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576727296001,"66":2155,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576727296001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:07:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:07:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576727296001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":127631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:07:07] local.INFO: GPS data processed {"connection_id":127631,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:07:07] local.INFO: Acknowledgment sent {"connection_id":127631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:07:27] local.INFO: TCP Data received {"connection_id":125505,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f4114f3c0012d0b130007029fc00003013423..."} 
[2026-07-08 15:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4114f3c0012d0b130007029fc00003013423..."} 
[2026-07-08 15:07:27] local.INFO: Processing buffer {"connection_id":125505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4114f3c0012d0b130007029fc00003013423..."} 
[2026-07-08 15:07:27] local.INFO: Packet analysis {"connection_id":125505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4114"} 
[2026-07-08 15:07:27] local.INFO: Extracted packet for processing {"connection_id":125505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4114"} 
[2026-07-08 15:07:27] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576772864001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:07:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783503320000,"timestamp_ms":1783503320000,"timestamp_seconds":1783503320,"priority":1,"record_length":96,"hex_timestamp":"0000019f4114f3c0"} 
[2026-07-08 15:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 15:07:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:07:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":125505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":125505,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":125505,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576772864001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576772864001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:07:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576772864001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":125505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451917,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:07:27] local.INFO: GPS data processed {"connection_id":125505,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:07:27] local.INFO: Acknowledgment sent {"connection_id":125505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:07:32] local.INFO: TCP Data received {"connection_id":125506,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41146338012d9a824005781380000900672e..."} 
[2026-07-08 15:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41146338012d9a824005781380000900672e..."} 
[2026-07-08 15:07:32] local.INFO: Processing buffer {"connection_id":125506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41146338012d9a824005781380000900672e..."} 
[2026-07-08 15:07:32] local.INFO: Packet analysis {"connection_id":125506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4114"} 
[2026-07-08 15:07:32] local.INFO: Extracted packet for processing {"connection_id":125506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4114"} 
[2026-07-08 15:07:32] local.INFO: GPS Element Parsed {"raw_longitude":765100608,"raw_latitude":91755392,"longitude_deg":76.5100608,"latitude_deg":9.1755392,"altitude":9,"angle":103,"satellites":46,"speed":5,"hex_longitude":"2d9a8240","hex_latitude":"05781380","is_valid_coordinates":true} 
[2026-07-08 15:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576835328001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342766663990509568,"note":"Value kept but may cause issues"} 
[2026-07-08 15:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7322149283173226496,"note":"Value kept but may cause issues"} 
[2026-07-08 15:07:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783503283000,"timestamp_ms":1783503283000,"timestamp_seconds":1783503283,"priority":1,"record_length":96,"hex_timestamp":"0000019f41146338"} 
[2026-07-08 15:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-08 15:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576835328001,"66":28028,"24":5,"85":15872,"16":342766663990509568,"45":-7322149283173226496},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576835328001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:07:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342766663990509568,"km_value":342766663990509.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7322149283173226496,"description":"Unknown IO ID 45"} 
[2026-07-08 15:07:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456576835328001,"power":28028,"ignition":5,"unknown_85":15872,"odometer":null,"unknown_45":-7322149283173226496}} 
[2026-07-08 15:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":125506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:07:32] local.INFO: GPS data processed {"connection_id":125506,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:07:32] local.INFO: Acknowledgment sent {"connection_id":125506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:07:38] local.INFO: TCP Data received {"connection_id":127631,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f41123c70012d196380071fef800037006e2b..."} 
[2026-07-08 15:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41123c70012d196380071fef800037006e2b..."} 
[2026-07-08 15:07:38] local.INFO: Processing buffer {"connection_id":127631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41123c70012d196380071fef800037006e2b..."} 
[2026-07-08 15:07:38] local.INFO: Packet analysis {"connection_id":127631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4112"} 
[2026-07-08 15:07:38] local.INFO: Extracted packet for processing {"connection_id":127631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4112"} 
[2026-07-08 15:07:38] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576727296001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783503142000,"timestamp_ms":1783503142000,"timestamp_seconds":1783503142,"priority":1,"record_length":96,"hex_timestamp":"0000019f41123c70"} 
[2026-07-08 15:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:07:38] 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-07-08 15: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 15:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576727296001,"66":2155,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576727296001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:07:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:07:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576727296001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":127631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:07:39] local.INFO: GPS data processed {"connection_id":127631,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:07:39] local.INFO: Acknowledgment sent {"connection_id":127631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:07:50] local.INFO: TCP Data received {"connection_id":126391,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126391,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:07:50] local.INFO: Processing buffer {"connection_id":126391,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:07:50] local.INFO: IMEI packet received {"connection_id":126391,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":126391,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:07:54] local.INFO: TCP Data received {"connection_id":126391,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126391,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:07:54] local.INFO: Processing buffer {"connection_id":126391,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:07:54] local.INFO: IMEI packet received {"connection_id":126391,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":126391,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:07:56] local.INFO: TCP Data received {"connection_id":125507,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:07:56] local.INFO: Processing buffer {"connection_id":125507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:07:56] local.INFO: IMEI packet received {"connection_id":125507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":125507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:07:58] local.INFO: TCP Data received {"connection_id":126391,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019f4114f3c0012d0b130007029fc00003013423..."} 
[2026-07-08 15:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4114f3c0012d0b130007029fc00003013423..."} 
[2026-07-08 15:07:58] local.INFO: Processing buffer {"connection_id":126391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4114f3c0012d0b130007029fc00003013423..."} 
[2026-07-08 15:07:58] local.INFO: Packet analysis {"connection_id":126391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4114"} 
[2026-07-08 15:07:58] local.INFO: Extracted packet for processing {"connection_id":126391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4114"} 
[2026-07-08 15:07:58] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576772864001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:07:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783503320000,"timestamp_ms":1783503320000,"timestamp_seconds":1783503320,"priority":1,"record_length":96,"hex_timestamp":"0000019f4114f3c0"} 
[2026-07-08 15:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:07:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 15:07: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-07-08 15:07:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":126391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":126391,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":126391,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:07:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576772864001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576772864001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:07:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576772864001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":126391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451920,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:07:58] local.INFO: GPS data processed {"connection_id":126391,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:07:58] local.INFO: Acknowledgment sent {"connection_id":126391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:08:00] local.INFO: TCP Data received {"connection_id":127632,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:08:00] local.INFO: Processing buffer {"connection_id":127632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:08:00] local.INFO: IMEI packet received {"connection_id":127632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":127632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:08:01] local.INFO: TCP Data received {"connection_id":125507,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:08:01] local.INFO: Processing buffer {"connection_id":125507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:08:01] local.INFO: IMEI packet received {"connection_id":125507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":125507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:08:01] local.INFO: TCP Data received {"connection_id":127632,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:08:01] local.INFO: Processing buffer {"connection_id":127632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:08:01] local.INFO: IMEI packet received {"connection_id":127632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":127632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:08:01] local.INFO: TCP Data received {"connection_id":125507,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f41148660012d9a89c005781290000600592e..."} 
[2026-07-08 15:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41148660012d9a89c005781290000600592e..."} 
[2026-07-08 15:08:01] local.INFO: Processing buffer {"connection_id":125507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41148660012d9a89c005781290000600592e..."} 
[2026-07-08 15:08:01] local.INFO: Packet analysis {"connection_id":125507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4114"} 
[2026-07-08 15:08:01] local.INFO: Extracted packet for processing {"connection_id":125507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4114"} 
[2026-07-08 15:08:01] local.INFO: GPS Element Parsed {"raw_longitude":765102528,"raw_latitude":91755152,"longitude_deg":76.5102528,"latitude_deg":9.1755152,"altitude":6,"angle":89,"satellites":46,"speed":11,"hex_longitude":"2d9a89c0","hex_latitude":"05781290","is_valid_coordinates":true} 
[2026-07-08 15:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576840448001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342766758479790080,"note":"Value kept but may cause issues"} 
[2026-07-08 15:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7313212452662706176,"note":"Value kept but may cause issues"} 
[2026-07-08 15:08:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783503292000,"timestamp_ms":1783503292000,"timestamp_seconds":1783503292,"priority":1,"record_length":96,"hex_timestamp":"0000019f41148660"} 
[2026-07-08 15:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:08: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-07-08 15:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-08 15:08:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:08:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576840448001,"66":28006,"24":11,"85":15872,"16":342766758479790080,"45":-7313212452662706176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576840448001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:08:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342766758479790080,"km_value":342766758479790.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7313212452662706176,"description":"Unknown IO ID 45"} 
[2026-07-08 15:08:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456576840448001,"power":28006,"ignition":11,"unknown_85":15872,"odometer":null,"unknown_45":-7313212452662706176}} 
[2026-07-08 15:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":125507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:08:01] local.INFO: GPS data processed {"connection_id":125507,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:08:01] local.INFO: Acknowledgment sent {"connection_id":125507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:08:03] local.INFO: TCP Data received {"connection_id":126391,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019f4114f3c0012d0b130007029fc00003013423..."} 
[2026-07-08 15:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4114f3c0012d0b130007029fc00003013423..."} 
[2026-07-08 15:08:03] local.INFO: Processing buffer {"connection_id":126391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4114f3c0012d0b130007029fc00003013423..."} 
[2026-07-08 15:08:03] local.INFO: Packet analysis {"connection_id":126391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4114"} 
[2026-07-08 15:08:03] local.INFO: Extracted packet for processing {"connection_id":126391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4114"} 
[2026-07-08 15:08:03] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576772864001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783503320000,"timestamp_ms":1783503320000,"timestamp_seconds":1783503320,"priority":1,"record_length":96,"hex_timestamp":"0000019f4114f3c0"} 
[2026-07-08 15:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":69,"data_length":795,"current_offset":136} 
[2026-07-08 15:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126391,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126391,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576772864001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576772864001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:08:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576772864001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":126391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451922,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:08:03] local.INFO: GPS data processed {"connection_id":126391,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:08:03] local.INFO: Acknowledgment sent {"connection_id":126391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:08:05] local.INFO: TCP Data received {"connection_id":127632,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:08:05] local.INFO: Processing buffer {"connection_id":127632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:08:05] local.INFO: IMEI packet received {"connection_id":127632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":127632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:08:09] local.INFO: TCP Data received {"connection_id":127632,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f4116d438012d196380071fef800037006e2c..."} 
[2026-07-08 15:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4116d438012d196380071fef800037006e2c..."} 
[2026-07-08 15:08:09] local.INFO: Processing buffer {"connection_id":127632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4116d438012d196380071fef800037006e2c..."} 
[2026-07-08 15:08:09] local.INFO: Packet analysis {"connection_id":127632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4116"} 
[2026-07-08 15:08:09] local.INFO: Extracted packet for processing {"connection_id":127632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4116"} 
[2026-07-08 15:08:09] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576804352001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783503443000,"timestamp_ms":1783503443000,"timestamp_seconds":1783503443,"priority":1,"record_length":96,"hex_timestamp":"0000019f4116d438"} 
[2026-07-08 15:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:08:09] 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-07-08 15: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 15:08:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:08:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":127632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":127632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":127632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576804352001,"66":2144,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576804352001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:08:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:08:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576804352001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":127632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:08:09] local.INFO: GPS data processed {"connection_id":127632,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:08:09] local.INFO: Acknowledgment sent {"connection_id":127632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:08:32] local.INFO: TCP Data received {"connection_id":125507,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f4114c4e0012d9a9dc0057812580006006b2a..."} 
[2026-07-08 15:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4114c4e0012d9a9dc0057812580006006b2a..."} 
[2026-07-08 15:08:32] local.INFO: Processing buffer {"connection_id":125507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4114c4e0012d9a9dc0057812580006006b2a..."} 
[2026-07-08 15:08:32] local.INFO: Packet analysis {"connection_id":125507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4114"} 
[2026-07-08 15:08:32] local.INFO: Extracted packet for processing {"connection_id":125507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4114"} 
[2026-07-08 15:08:32] local.INFO: GPS Element Parsed {"raw_longitude":765107648,"raw_latitude":91755096,"longitude_deg":76.5107648,"latitude_deg":9.1755096,"altitude":6,"angle":107,"satellites":42,"speed":10,"hex_longitude":"2d9a9dc0","hex_latitude":"05781258","is_valid_coordinates":true} 
[2026-07-08 15:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576842752001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767003292925952,"note":"Value kept but may cause issues"} 
[2026-07-08 15:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7311101390337437696,"note":"Value kept but may cause issues"} 
[2026-07-08 15:08:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783503308000,"timestamp_ms":1783503308000,"timestamp_seconds":1783503308,"priority":1,"record_length":96,"hex_timestamp":"0000019f4114c4e0"} 
[2026-07-08 15:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 15:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:08:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576842752001,"66":27767,"24":10,"85":15872,"16":342767003292925952,"45":-7311101390337437696},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576842752001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:08:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767003292925952,"km_value":342767003292925.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7311101390337437696,"description":"Unknown IO ID 45"} 
[2026-07-08 15:08:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456576842752001,"power":27767,"ignition":10,"unknown_85":15872,"odometer":null,"unknown_45":-7311101390337437696}} 
[2026-07-08 15:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":125507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:08:32] local.INFO: GPS data processed {"connection_id":125507,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:08:32] local.INFO: Acknowledgment sent {"connection_id":125507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:08:41] local.INFO: TCP Data received {"connection_id":127632,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f4116d438012d196380071fef800037006e2c..."} 
[2026-07-08 15:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4116d438012d196380071fef800037006e2c..."} 
[2026-07-08 15:08:41] local.INFO: Processing buffer {"connection_id":127632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4116d438012d196380071fef800037006e2c..."} 
[2026-07-08 15:08:41] local.INFO: Packet analysis {"connection_id":127632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4116"} 
[2026-07-08 15:08:41] local.INFO: Extracted packet for processing {"connection_id":127632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4116"} 
[2026-07-08 15:08:41] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576804352001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783503443000,"timestamp_ms":1783503443000,"timestamp_seconds":1783503443,"priority":1,"record_length":96,"hex_timestamp":"0000019f4116d438"} 
[2026-07-08 15:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:08:41] 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-07-08 15: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-07-08 15: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-07-08 15:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":127632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":127632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":127632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576804352001,"66":2144,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576804352001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:08:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:08:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576804352001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":127632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:08:41] local.INFO: GPS data processed {"connection_id":127632,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:08:41] local.INFO: Acknowledgment sent {"connection_id":127632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:08:44] local.INFO: TCP Data received {"connection_id":125627,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125627,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:08:44] local.INFO: Processing buffer {"connection_id":125627,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:08:44] local.INFO: IMEI packet received {"connection_id":125627,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":125627,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:08:49] local.INFO: TCP Data received {"connection_id":125627,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125627,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:08:49] local.INFO: Processing buffer {"connection_id":125627,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:08:49] local.INFO: IMEI packet received {"connection_id":125627,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":125627,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:08:51] local.INFO: TCP Data received {"connection_id":125627,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4114f3c0012d0b130007029fc00003013423..."} 
[2026-07-08 15:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4114f3c0012d0b130007029fc00003013423..."} 
[2026-07-08 15:08:51] local.INFO: Processing buffer {"connection_id":125627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4114f3c0012d0b130007029fc00003013423..."} 
[2026-07-08 15:08:51] local.INFO: Packet analysis {"connection_id":125627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4114"} 
[2026-07-08 15:08:51] local.INFO: Extracted packet for processing {"connection_id":125627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4114"} 
[2026-07-08 15:08:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576772864001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783503320000,"timestamp_ms":1783503320000,"timestamp_seconds":1783503320,"priority":1,"record_length":96,"hex_timestamp":"0000019f4114f3c0"} 
[2026-07-08 15:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 15:08:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:08:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125627,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125627,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:08:51] 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-07-08 15:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576772864001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 15:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576772864001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:08:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576772864001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":125627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451926,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:08:51] local.INFO: GPS data processed {"connection_id":125627,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:08:51] local.INFO: Acknowledgment sent {"connection_id":125627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:08:55] local.INFO: TCP Data received {"connection_id":125509,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:08:55] local.INFO: Processing buffer {"connection_id":125509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:08:55] local.INFO: IMEI packet received {"connection_id":125509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":125509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:09:00] local.INFO: TCP Data received {"connection_id":125510,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:09:00] local.INFO: Processing buffer {"connection_id":125510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:09:00] local.INFO: IMEI packet received {"connection_id":125510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":125510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:09:01] local.INFO: TCP Data received {"connection_id":125509,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:09:01] local.INFO: Processing buffer {"connection_id":125509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:09:01] local.INFO: IMEI packet received {"connection_id":125509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":125509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:09:01] local.INFO: TCP Data received {"connection_id":125509,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4114d868012d9aa20005781108000500572d..."} 
[2026-07-08 15:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4114d868012d9aa20005781108000500572d..."} 
[2026-07-08 15:09:01] local.INFO: Processing buffer {"connection_id":125509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4114d868012d9aa20005781108000500572d..."} 
[2026-07-08 15:09:01] local.INFO: Packet analysis {"connection_id":125509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4114"} 
[2026-07-08 15:09:01] local.INFO: Extracted packet for processing {"connection_id":125509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4114"} 
[2026-07-08 15:09:01] local.INFO: GPS Element Parsed {"raw_longitude":765108736,"raw_latitude":91754760,"longitude_deg":76.5108736,"latitude_deg":9.175476,"altitude":5,"angle":87,"satellites":45,"speed":6,"hex_longitude":"2d9aa200","hex_latitude":"05781108","is_valid_coordinates":true} 
[2026-07-08 15:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576846848001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767059127500800,"note":"Value kept but may cause issues"} 
[2026-07-08 15:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7305471890803238912,"note":"Value kept but may cause issues"} 
[2026-07-08 15:09:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783503313000,"timestamp_ms":1783503313000,"timestamp_seconds":1783503313,"priority":1,"record_length":96,"hex_timestamp":"0000019f4114d868"} 
[2026-07-08 15:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:09: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-07-08 15:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 15:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:09:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576846848001,"66":28050,"24":6,"85":15872,"16":342767059127500800,"45":-7305471890803238912},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576846848001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:09:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767059127500800,"km_value":342767059127500.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7305471890803238912,"description":"Unknown IO ID 45"} 
[2026-07-08 15:09:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456576846848001,"power":28050,"ignition":6,"unknown_85":15872,"odometer":null,"unknown_45":-7305471890803238912}} 
[2026-07-08 15:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":125509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:09:01] local.INFO: GPS data processed {"connection_id":125509,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:09:01] local.INFO: Acknowledgment sent {"connection_id":125509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:09:05] local.INFO: TCP Data received {"connection_id":125510,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:09:05] local.INFO: Processing buffer {"connection_id":125510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:09:05] local.INFO: IMEI packet received {"connection_id":125510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":125510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:09:07] local.INFO: TCP Data received {"connection_id":125510,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f4116d438012d196380071fef800037006e2c..."} 
[2026-07-08 15:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4116d438012d196380071fef800037006e2c..."} 
[2026-07-08 15:09:07] local.INFO: Processing buffer {"connection_id":125510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4116d438012d196380071fef800037006e2c..."} 
[2026-07-08 15:09:07] local.INFO: Packet analysis {"connection_id":125510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4116"} 
[2026-07-08 15:09:07] local.INFO: Extracted packet for processing {"connection_id":125510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4116"} 
[2026-07-08 15:09:07] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576804352001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783503443000,"timestamp_ms":1783503443000,"timestamp_seconds":1783503443,"priority":1,"record_length":96,"hex_timestamp":"0000019f4116d438"} 
[2026-07-08 15:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:09:07] 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-07-08 15:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 15:09: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-07-08 15:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576804352001,"66":2144,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576804352001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:09:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:09:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576804352001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":125510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:09:07] local.INFO: GPS data processed {"connection_id":125510,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:09:07] local.INFO: Acknowledgment sent {"connection_id":125510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:09:23] local.INFO: TCP Data received {"connection_id":125627,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4114f3c0012d0b130007029fc00003013423..."} 
[2026-07-08 15:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4114f3c0012d0b130007029fc00003013423..."} 
[2026-07-08 15:09:23] local.INFO: Processing buffer {"connection_id":125627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4114f3c0012d0b130007029fc00003013423..."} 
[2026-07-08 15:09:23] local.INFO: Packet analysis {"connection_id":125627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4114"} 
[2026-07-08 15:09:23] local.INFO: Extracted packet for processing {"connection_id":125627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4114"} 
[2026-07-08 15:09:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576772864001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783503320000,"timestamp_ms":1783503320000,"timestamp_seconds":1783503320,"priority":1,"record_length":96,"hex_timestamp":"0000019f4114f3c0"} 
[2026-07-08 15:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:09:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 15:09:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":125627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":125627,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":125627,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:09:23] 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-07-08 15:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576772864001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 15:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576772864001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:09:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576772864001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":125627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451929,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:09:23] local.INFO: GPS data processed {"connection_id":125627,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:09:23] local.INFO: Acknowledgment sent {"connection_id":125627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:09:32] local.INFO: TCP Data received {"connection_id":125509,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f41152688012d9aa2c005781110000500572b..."} 
[2026-07-08 15:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41152688012d9aa2c005781110000500572b..."} 
[2026-07-08 15:09:32] local.INFO: Processing buffer {"connection_id":125509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41152688012d9aa2c005781110000500572b..."} 
[2026-07-08 15:09:32] local.INFO: Packet analysis {"connection_id":125509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4115"} 
[2026-07-08 15:09:32] local.INFO: Extracted packet for processing {"connection_id":125509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4115"} 
[2026-07-08 15:09:32] local.INFO: GPS Element Parsed {"raw_longitude":765108928,"raw_latitude":91754768,"longitude_deg":76.5108928,"latitude_deg":9.1754768,"altitude":5,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d9aa2c0","hex_latitude":"05781110","is_valid_coordinates":true} 
[2026-07-08 15:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576848128001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767067717435392,"note":"Value kept but may cause issues"} 
[2026-07-08 15:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7304275622152304640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:09:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783503333000,"timestamp_ms":1783503333000,"timestamp_seconds":1783503333,"priority":1,"record_length":96,"hex_timestamp":"0000019f41152688"} 
[2026-07-08 15:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-08 15:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576848128001,"66":27974,"24":0,"85":15872,"16":342767067717435392,"45":-7304275622152304640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576848128001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:09:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767067717435392,"km_value":342767067717435.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7304275622152304640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:09:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456576848128001,"power":27974,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7304275622152304640}} 
[2026-07-08 15:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":125509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:09:32] local.INFO: GPS data processed {"connection_id":125509,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:09:32] local.INFO: Acknowledgment sent {"connection_id":125509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:09:41] local.INFO: TCP Data received {"connection_id":125510,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f4116d438012d196380071fef800037006e2c..."} 
[2026-07-08 15:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4116d438012d196380071fef800037006e2c..."} 
[2026-07-08 15:09:41] local.INFO: Processing buffer {"connection_id":125510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4116d438012d196380071fef800037006e2c..."} 
[2026-07-08 15:09:41] local.INFO: Packet analysis {"connection_id":125510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4116"} 
[2026-07-08 15:09:41] local.INFO: Extracted packet for processing {"connection_id":125510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4116"} 
[2026-07-08 15:09:41] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576804352001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783503443000,"timestamp_ms":1783503443000,"timestamp_seconds":1783503443,"priority":1,"record_length":96,"hex_timestamp":"0000019f4116d438"} 
[2026-07-08 15:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:09:41] 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-07-08 15: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":107,"data_length":795,"current_offset":136} 
[2026-07-08 15:09: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-07-08 15:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576804352001,"66":2144,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576804352001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:09:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:09:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576804352001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":125510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:09:41] local.INFO: GPS data processed {"connection_id":125510,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:09:41] local.INFO: Acknowledgment sent {"connection_id":125510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:09:44] local.INFO: TCP Data received {"connection_id":125629,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125629,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:09:44] local.INFO: Processing buffer {"connection_id":125629,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:09:44] local.INFO: IMEI packet received {"connection_id":125629,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":125629,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:09:50] local.INFO: TCP Data received {"connection_id":125629,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125629,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:09:50] local.INFO: Processing buffer {"connection_id":125629,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:09:50] local.INFO: IMEI packet received {"connection_id":125629,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":125629,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:09:50] local.INFO: TCP Data received {"connection_id":125629,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4114f3c0012d0b130007029fc00003013423..."} 
[2026-07-08 15:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4114f3c0012d0b130007029fc00003013423..."} 
[2026-07-08 15:09:50] local.INFO: Processing buffer {"connection_id":125629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4114f3c0012d0b130007029fc00003013423..."} 
[2026-07-08 15:09:50] local.INFO: Packet analysis {"connection_id":125629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4114"} 
[2026-07-08 15:09:50] local.INFO: Extracted packet for processing {"connection_id":125629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4114"} 
[2026-07-08 15:09:50] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576772864001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:09:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783503320000,"timestamp_ms":1783503320000,"timestamp_seconds":1783503320,"priority":1,"record_length":96,"hex_timestamp":"0000019f4114f3c0"} 
[2026-07-08 15:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 15:09:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:09:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":125629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":125629,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":125629,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576772864001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 15:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576772864001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:09:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:09:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576772864001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":125629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451932,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:09:51] local.INFO: GPS data processed {"connection_id":125629,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:09:51] local.INFO: Acknowledgment sent {"connection_id":125629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:09:55] local.INFO: TCP Data received {"connection_id":127633,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:09:55] local.INFO: Processing buffer {"connection_id":127633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:09:55] local.INFO: IMEI packet received {"connection_id":127633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":127633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:10:00] local.INFO: TCP Data received {"connection_id":125511,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:10:00] local.INFO: Processing buffer {"connection_id":125511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:10:00] local.INFO: IMEI packet received {"connection_id":125511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":125511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:10:01] local.INFO: TCP Data received {"connection_id":127633,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:10:01] local.INFO: Processing buffer {"connection_id":127633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:10:01] local.INFO: IMEI packet received {"connection_id":127633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":127633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:10:01] local.INFO: TCP Data received {"connection_id":127633,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f41157890012d9aa44005781110000900572b..."} 
[2026-07-08 15:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41157890012d9aa44005781110000900572b..."} 
[2026-07-08 15:10:01] local.INFO: Processing buffer {"connection_id":127633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41157890012d9aa44005781110000900572b..."} 
[2026-07-08 15:10:01] local.INFO: Packet analysis {"connection_id":127633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4115"} 
[2026-07-08 15:10:01] local.INFO: Extracted packet for processing {"connection_id":127633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4115"} 
[2026-07-08 15:10:01] local.INFO: GPS Element Parsed {"raw_longitude":765109312,"raw_latitude":91754768,"longitude_deg":76.5109312,"latitude_deg":9.1754768,"altitude":9,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d9aa440","hex_latitude":"05781110","is_valid_coordinates":true} 
[2026-07-08 15:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576853248001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767089192271872,"note":"Value kept but may cause issues"} 
[2026-07-08 15:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7304064515919769600,"note":"Value kept but may cause issues"} 
[2026-07-08 15:10:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783503354000,"timestamp_ms":1783503354000,"timestamp_seconds":1783503354,"priority":1,"record_length":96,"hex_timestamp":"0000019f41157890"} 
[2026-07-08 15:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:10:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-08 15:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:10:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576853248001,"66":27767,"24":0,"85":15872,"16":342767089192271872,"45":-7304064515919769600},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576853248001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:10:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767089192271872,"km_value":342767089192271.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7304064515919769600,"description":"Unknown IO ID 45"} 
[2026-07-08 15:10:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456576853248001,"power":27767,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7304064515919769600}} 
[2026-07-08 15:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":127633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:10:01] local.INFO: GPS data processed {"connection_id":127633,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:10:01] local.INFO: Acknowledgment sent {"connection_id":127633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:10:05] local.INFO: TCP Data received {"connection_id":125511,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:10:05] local.INFO: Processing buffer {"connection_id":125511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:10:05] local.INFO: IMEI packet received {"connection_id":125511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":125511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:10:07] local.INFO: TCP Data received {"connection_id":125511,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f4116d438012d196380071fef800037006e2c..."} 
[2026-07-08 15:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4116d438012d196380071fef800037006e2c..."} 
[2026-07-08 15:10:07] local.INFO: Processing buffer {"connection_id":125511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4116d438012d196380071fef800037006e2c..."} 
[2026-07-08 15:10:07] local.INFO: Packet analysis {"connection_id":125511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4116"} 
[2026-07-08 15:10:07] local.INFO: Extracted packet for processing {"connection_id":125511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4116"} 
[2026-07-08 15:10:07] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576804352001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783503443000,"timestamp_ms":1783503443000,"timestamp_seconds":1783503443,"priority":1,"record_length":96,"hex_timestamp":"0000019f4116d438"} 
[2026-07-08 15:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:10:07] 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-07-08 15:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 15:10: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-07-08 15:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576804352001,"66":2144,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576804352001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:10:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:10:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576804352001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":125511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:10:07] local.INFO: GPS data processed {"connection_id":125511,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:10:07] local.INFO: Acknowledgment sent {"connection_id":125511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:10:22] local.INFO: TCP Data received {"connection_id":125629,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4114f3c0012d0b130007029fc00003013423..."} 
[2026-07-08 15:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4114f3c0012d0b130007029fc00003013423..."} 
[2026-07-08 15:10:22] local.INFO: Processing buffer {"connection_id":125629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4114f3c0012d0b130007029fc00003013423..."} 
[2026-07-08 15:10:22] local.INFO: Packet analysis {"connection_id":125629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4114"} 
[2026-07-08 15:10:22] local.INFO: Extracted packet for processing {"connection_id":125629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4114"} 
[2026-07-08 15:10:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576772864001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783503320000,"timestamp_ms":1783503320000,"timestamp_seconds":1783503320,"priority":1,"record_length":96,"hex_timestamp":"0000019f4114f3c0"} 
[2026-07-08 15:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 15:10:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125629,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125629,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576772864001,"66":12613,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 15:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576772864001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:10:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576772864001,"power":12613,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":125629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451935,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:10:22] local.INFO: GPS data processed {"connection_id":125629,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:10:22] local.INFO: Acknowledgment sent {"connection_id":125629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:10:32] local.INFO: TCP Data received {"connection_id":127633,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f4115ce80012d9aa440057811100009005728..."} 
[2026-07-08 15:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4115ce80012d9aa440057811100009005728..."} 
[2026-07-08 15:10:32] local.INFO: Processing buffer {"connection_id":127633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4115ce80012d9aa440057811100009005728..."} 
[2026-07-08 15:10:32] local.INFO: Packet analysis {"connection_id":127633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4115"} 
[2026-07-08 15:10:32] local.INFO: Extracted packet for processing {"connection_id":127633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4115"} 
[2026-07-08 15:10:32] local.INFO: GPS Element Parsed {"raw_longitude":765109312,"raw_latitude":91754768,"longitude_deg":76.5109312,"latitude_deg":9.1754768,"altitude":9,"angle":87,"satellites":40,"speed":0,"hex_longitude":"2d9aa440","hex_latitude":"05781110","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576858624001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767089192271872,"note":"Value kept but may cause issues"} 
[2026-07-08 15:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303642303454703616,"note":"Value kept but may cause issues"} 
[2026-07-08 15:10:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783503376000,"timestamp_ms":1783503376000,"timestamp_seconds":1783503376,"priority":1,"record_length":96,"hex_timestamp":"0000019f4115ce80"} 
[2026-07-08 15:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 15:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576858624001,"66":27745,"24":0,"85":15872,"16":342767089192271872,"45":-7303642303454703616},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576858624001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:10:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767089192271872,"km_value":342767089192271.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303642303454703616,"description":"Unknown IO ID 45"} 
[2026-07-08 15:10:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456576858624001,"power":27745,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303642303454703616}} 
[2026-07-08 15:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":127633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:10:32] local.INFO: GPS data processed {"connection_id":127633,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:10:32] local.INFO: Acknowledgment sent {"connection_id":127633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:10:38] local.INFO: TCP Data received {"connection_id":125511,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f4116d438012d196380071fef800037006e2c..."} 
[2026-07-08 15:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4116d438012d196380071fef800037006e2c..."} 
[2026-07-08 15:10:38] local.INFO: Processing buffer {"connection_id":125511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4116d438012d196380071fef800037006e2c..."} 
[2026-07-08 15:10:38] local.INFO: Packet analysis {"connection_id":125511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4116"} 
[2026-07-08 15:10:38] local.INFO: Extracted packet for processing {"connection_id":125511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4116"} 
[2026-07-08 15:10:38] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576804352001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783503443000,"timestamp_ms":1783503443000,"timestamp_seconds":1783503443,"priority":1,"record_length":96,"hex_timestamp":"0000019f4116d438"} 
[2026-07-08 15:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:10:38] 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-07-08 15:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 15:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576804352001,"66":2144,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576804352001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:10:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:10:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576804352001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":125511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:10:38] local.INFO: GPS data processed {"connection_id":125511,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:10:38] local.INFO: Acknowledgment sent {"connection_id":125511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:10:44] local.INFO: TCP Data received {"connection_id":126392,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126392,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:10:44] local.INFO: Processing buffer {"connection_id":126392,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:10:44] local.INFO: IMEI packet received {"connection_id":126392,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":126392,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:10:50] local.INFO: TCP Data received {"connection_id":126392,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126392,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:10:50] local.INFO: Processing buffer {"connection_id":126392,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:10:50] local.INFO: IMEI packet received {"connection_id":126392,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":126392,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:10:51] local.INFO: TCP Data received {"connection_id":126392,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f41198b88012d0b130007029fc00003013423..."} 
[2026-07-08 15:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41198b88012d0b130007029fc00003013423..."} 
[2026-07-08 15:10:51] local.INFO: Processing buffer {"connection_id":126392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41198b88012d0b130007029fc00003013423..."} 
[2026-07-08 15:10:51] local.INFO: Packet analysis {"connection_id":126392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4119"} 
[2026-07-08 15:10:51] local.INFO: Extracted packet for processing {"connection_id":126392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4119"} 
[2026-07-08 15:10:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576849920001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783503621000,"timestamp_ms":1783503621000,"timestamp_seconds":1783503621,"priority":1,"record_length":96,"hex_timestamp":"0000019f41198b88"} 
[2026-07-08 15:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 15:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:10:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576849920001,"66":12537,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576849920001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:10:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576849920001,"power":12537,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":126392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451938,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:10:51] local.INFO: GPS data processed {"connection_id":126392,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:10:51] local.INFO: Acknowledgment sent {"connection_id":126392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:10:55] local.INFO: TCP Data received {"connection_id":125512,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:10:55] local.INFO: Processing buffer {"connection_id":125512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:10:55] local.INFO: IMEI packet received {"connection_id":125512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":125512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:11:01] local.INFO: TCP Data received {"connection_id":125512,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:11:01] local.INFO: Processing buffer {"connection_id":125512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:11:01] local.INFO: IMEI packet received {"connection_id":125512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":125512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:11:01] local.INFO: TCP Data received {"connection_id":125512,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f41162088012d9aa2c005781118000f00572a..."} 
[2026-07-08 15:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41162088012d9aa2c005781118000f00572a..."} 
[2026-07-08 15:11:01] local.INFO: Processing buffer {"connection_id":125512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41162088012d9aa2c005781118000f00572a..."} 
[2026-07-08 15:11:01] local.INFO: Packet analysis {"connection_id":125512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4116"} 
[2026-07-08 15:11:01] local.INFO: Extracted packet for processing {"connection_id":125512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4116"} 
[2026-07-08 15:11:01] local.INFO: GPS Element Parsed {"raw_longitude":765108928,"raw_latitude":91754776,"longitude_deg":76.5108928,"latitude_deg":9.1754776,"altitude":15,"angle":87,"satellites":42,"speed":0,"hex_longitude":"2d9aa2c0","hex_latitude":"05781118","is_valid_coordinates":true} 
[2026-07-08 15:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576864256001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767157911748608,"note":"Value kept but may cause issues"} 
[2026-07-08 15:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303642303454703616,"note":"Value kept but may cause issues"} 
[2026-07-08 15:11:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783503397000,"timestamp_ms":1783503397000,"timestamp_seconds":1783503397,"priority":1,"record_length":96,"hex_timestamp":"0000019f41162088"} 
[2026-07-08 15:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:11:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 15:11:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:11:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576864256001,"66":27974,"24":0,"85":15872,"16":342767157911748608,"45":-7303642303454703616},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576864256001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:11:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767157911748608,"km_value":342767157911748.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303642303454703616,"description":"Unknown IO ID 45"} 
[2026-07-08 15:11:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456576864256001,"power":27974,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303642303454703616}} 
[2026-07-08 15:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":125512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:11:01] local.INFO: GPS data processed {"connection_id":125512,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:11:01] local.INFO: Acknowledgment sent {"connection_id":125512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:11:05] local.INFO: TCP Data received {"connection_id":125631,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:11:05] local.INFO: Processing buffer {"connection_id":125631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:11:05] local.INFO: IMEI packet received {"connection_id":125631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":125631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:11:10] local.INFO: TCP Data received {"connection_id":125631,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:11:10] local.INFO: Processing buffer {"connection_id":125631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:11:10] local.INFO: IMEI packet received {"connection_id":125631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":125631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:11:12] local.INFO: TCP Data received {"connection_id":125631,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f4116d438012d196380071fef800037006e2c..."} 
[2026-07-08 15:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4116d438012d196380071fef800037006e2c..."} 
[2026-07-08 15:11:12] local.INFO: Processing buffer {"connection_id":125631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4116d438012d196380071fef800037006e2c..."} 
[2026-07-08 15:11:12] local.INFO: Packet analysis {"connection_id":125631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4116"} 
[2026-07-08 15:11:12] local.INFO: Extracted packet for processing {"connection_id":125631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4116"} 
[2026-07-08 15:11:12] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576804352001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783503443000,"timestamp_ms":1783503443000,"timestamp_seconds":1783503443,"priority":1,"record_length":96,"hex_timestamp":"0000019f4116d438"} 
[2026-07-08 15:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:11:12] 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-07-08 15: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-07-08 15: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-07-08 15:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576804352001,"66":2144,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576804352001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:11:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:11:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576804352001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":125631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:11:12] local.INFO: GPS data processed {"connection_id":125631,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:11:12] local.INFO: Acknowledgment sent {"connection_id":125631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:11:16] local.INFO: TCP Data received {"connection_id":125631,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f4116d438012d196380071fef800037006e2c..."} 
[2026-07-08 15:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4116d438012d196380071fef800037006e2c..."} 
[2026-07-08 15:11:16] local.INFO: Processing buffer {"connection_id":125631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4116d438012d196380071fef800037006e2c..."} 
[2026-07-08 15:11:16] local.INFO: Packet analysis {"connection_id":125631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4116"} 
[2026-07-08 15:11:16] local.INFO: Extracted packet for processing {"connection_id":125631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4116"} 
[2026-07-08 15:11:16] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576804352001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783503443000,"timestamp_ms":1783503443000,"timestamp_seconds":1783503443,"priority":1,"record_length":96,"hex_timestamp":"0000019f4116d438"} 
[2026-07-08 15:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:11:16] 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-07-08 15:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 15:11: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-07-08 15:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":125631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":125631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":125631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576804352001,"66":2144,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576804352001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:11:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:11:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576804352001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":125631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:11:16] local.INFO: GPS data processed {"connection_id":125631,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:11:16] local.INFO: Acknowledgment sent {"connection_id":125631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:11:24] local.INFO: TCP Data received {"connection_id":126392,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f41198b88012d0b130007029fc00003013423..."} 
[2026-07-08 15:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41198b88012d0b130007029fc00003013423..."} 
[2026-07-08 15:11:24] local.INFO: Processing buffer {"connection_id":126392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41198b88012d0b130007029fc00003013423..."} 
[2026-07-08 15:11:24] local.INFO: Packet analysis {"connection_id":126392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4119"} 
[2026-07-08 15:11:24] local.INFO: Extracted packet for processing {"connection_id":126392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4119"} 
[2026-07-08 15:11:24] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576849920001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783503621000,"timestamp_ms":1783503621000,"timestamp_seconds":1783503621,"priority":1,"record_length":96,"hex_timestamp":"0000019f41198b88"} 
[2026-07-08 15:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 15:11: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-07-08 15: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-07-08 15:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":126392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":126392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":126392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576849920001,"66":12537,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576849920001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:11:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576849920001,"power":12537,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":126392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451942,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:11:24] local.INFO: GPS data processed {"connection_id":126392,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:11:24] local.INFO: Acknowledgment sent {"connection_id":126392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:11:32] local.INFO: TCP Data received {"connection_id":125512,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f411666d8012d9aa440057811f8000e005a2b..."} 
[2026-07-08 15:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411666d8012d9aa440057811f8000e005a2b..."} 
[2026-07-08 15:11:32] local.INFO: Processing buffer {"connection_id":125512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411666d8012d9aa440057811f8000e005a2b..."} 
[2026-07-08 15:11:32] local.INFO: Packet analysis {"connection_id":125512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4116"} 
[2026-07-08 15:11:32] local.INFO: Extracted packet for processing {"connection_id":125512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4116"} 
[2026-07-08 15:11:32] local.INFO: GPS Element Parsed {"raw_longitude":765109312,"raw_latitude":91755000,"longitude_deg":76.5109312,"latitude_deg":9.1755,"altitude":14,"angle":90,"satellites":43,"speed":5,"hex_longitude":"2d9aa440","hex_latitude":"057811f8","is_valid_coordinates":true} 
[2026-07-08 15:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576869632001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7304064515919767552,"note":"Value kept but may cause issues"} 
[2026-07-08 15:11:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783503415000,"timestamp_ms":1783503415000,"timestamp_seconds":1783503415,"priority":1,"record_length":96,"hex_timestamp":"0000019f411666d8"} 
[2026-07-08 15:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-08 15:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576869632001,"66":27789,"24":5,"85":15872,"16":342767183681552384,"45":-7304064515919767552},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576869632001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:11:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7304064515919767552,"description":"Unknown IO ID 45"} 
[2026-07-08 15:11:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456576869632001,"power":27789,"ignition":5,"unknown_85":15872,"odometer":null,"unknown_45":-7304064515919767552}} 
[2026-07-08 15:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":125512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:11:32] local.INFO: GPS data processed {"connection_id":125512,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:11:32] local.INFO: Acknowledgment sent {"connection_id":125512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:11:34] local.INFO: TCP Data received {"connection_id":125632,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125632,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:11:34] local.INFO: Processing buffer {"connection_id":125632,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:11:34] local.INFO: IMEI packet received {"connection_id":125632,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 15:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":125632,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:11:36] local.INFO: TCP Data received {"connection_id":125632,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125632,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:11:36] local.INFO: Processing buffer {"connection_id":125632,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:11:36] local.INFO: IMEI packet received {"connection_id":125632,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 15:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":125632,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:11:39] local.INFO: TCP Data received {"connection_id":125632,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125632,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:11:39] local.INFO: Processing buffer {"connection_id":125632,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:11:39] local.INFO: IMEI packet received {"connection_id":125632,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 15:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":125632,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:11:41] local.INFO: TCP Data received {"connection_id":125632,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-08 15:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125632,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-08 15:11:41] local.INFO: Processing buffer {"connection_id":125632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-08 15:11:41] local.INFO: Packet analysis {"connection_id":125632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-08 15:11:41] local.INFO: Extracted packet for processing {"connection_id":125632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-08 15:11:41] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-08 15:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 15:11:41] 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-07-08 15:11:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 15:11:41] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-08 15:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125632,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125632,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-08 15:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125632,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-08 15:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-08 15:11:41] local.WARNING: DEBUG: No valid data to process  
[2026-07-08 15:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":125632,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-08 15:11:41] local.ERROR: GPS data processing failed {"connection_id":125632,"error":"No valid data to process"} 
[2026-07-08 15:11:41] local.INFO: Acknowledgment sent {"connection_id":125632,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-08 15:11:44] local.INFO: TCP Data received {"connection_id":127635,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127635,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:11:44] local.INFO: Processing buffer {"connection_id":127635,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:11:44] local.INFO: IMEI packet received {"connection_id":127635,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":127635,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:11:50] local.INFO: TCP Data received {"connection_id":127635,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127635,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:11:50] local.INFO: Processing buffer {"connection_id":127635,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:11:50] local.INFO: IMEI packet received {"connection_id":127635,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":127635,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:11:50] local.INFO: TCP Data received {"connection_id":127635,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f41198b88012d0b130007029fc00003013423..."} 
[2026-07-08 15:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41198b88012d0b130007029fc00003013423..."} 
[2026-07-08 15:11:50] local.INFO: Processing buffer {"connection_id":127635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41198b88012d0b130007029fc00003013423..."} 
[2026-07-08 15:11:50] local.INFO: Packet analysis {"connection_id":127635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4119"} 
[2026-07-08 15:11:50] local.INFO: Extracted packet for processing {"connection_id":127635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4119"} 
[2026-07-08 15:11:50] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576849920001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783503621000,"timestamp_ms":1783503621000,"timestamp_seconds":1783503621,"priority":1,"record_length":96,"hex_timestamp":"0000019f41198b88"} 
[2026-07-08 15:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 15:11:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:11:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":127635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":127635,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":127635,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576849920001,"66":12537,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576849920001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:11:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576849920001,"power":12537,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":127635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451944,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:11:51] local.INFO: GPS data processed {"connection_id":127635,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:11:51] local.INFO: Acknowledgment sent {"connection_id":127635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:11:55] local.INFO: TCP Data received {"connection_id":125513,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:11:55] local.INFO: Processing buffer {"connection_id":125513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:11:55] local.INFO: IMEI packet received {"connection_id":125513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":125513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:12:00] local.INFO: TCP Data received {"connection_id":125514,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:12:00] local.INFO: Processing buffer {"connection_id":125514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:12:00] local.INFO: IMEI packet received {"connection_id":125514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":125514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:12:01] local.INFO: TCP Data received {"connection_id":125513,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:12:01] local.INFO: Processing buffer {"connection_id":125513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:12:01] local.INFO: IMEI packet received {"connection_id":125513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":125513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:12:01] local.INFO: TCP Data received {"connection_id":125513,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f41167290012d9aa500057811f8000e005a2b..."} 
[2026-07-08 15:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41167290012d9aa500057811f8000e005a2b..."} 
[2026-07-08 15:12:01] local.INFO: Processing buffer {"connection_id":125513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41167290012d9aa500057811f8000e005a2b..."} 
[2026-07-08 15:12:01] local.INFO: Packet analysis {"connection_id":125513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4116"} 
[2026-07-08 15:12:01] local.INFO: Extracted packet for processing {"connection_id":125513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4116"} 
[2026-07-08 15:12:01] local.INFO: GPS Element Parsed {"raw_longitude":765109504,"raw_latitude":91755000,"longitude_deg":76.5109504,"latitude_deg":9.1755,"altitude":14,"angle":90,"satellites":43,"speed":0,"hex_longitude":"2d9aa500","hex_latitude":"057811f8","is_valid_coordinates":true} 
[2026-07-08 15:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576874240001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303642303454644224,"note":"Value kept but may cause issues"} 
[2026-07-08 15:12:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783503418000,"timestamp_ms":1783503418000,"timestamp_seconds":1783503418,"priority":1,"record_length":96,"hex_timestamp":"0000019f41167290"} 
[2026-07-08 15:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:12:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-08 15:12:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:12:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:12:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576874240001,"66":27213,"24":0,"85":15872,"16":342767183681552384,"45":-7303642303454644224},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576874240001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:12:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303642303454644224,"description":"Unknown IO ID 45"} 
[2026-07-08 15:12:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456576874240001,"power":27213,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303642303454644224}} 
[2026-07-08 15:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":125513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:12:01] local.INFO: GPS data processed {"connection_id":125513,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:12:01] local.INFO: Acknowledgment sent {"connection_id":125513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:12:05] local.INFO: TCP Data received {"connection_id":125514,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:12:05] local.INFO: Processing buffer {"connection_id":125514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:12:05] local.INFO: IMEI packet received {"connection_id":125514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":125514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:12:07] local.INFO: TCP Data received {"connection_id":125514,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f4116d438012d196380071fef800037006e2c..."} 
[2026-07-08 15:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4116d438012d196380071fef800037006e2c..."} 
[2026-07-08 15:12:07] local.INFO: Processing buffer {"connection_id":125514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4116d438012d196380071fef800037006e2c..."} 
[2026-07-08 15:12:07] local.INFO: Packet analysis {"connection_id":125514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4116"} 
[2026-07-08 15:12:07] local.INFO: Extracted packet for processing {"connection_id":125514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4116"} 
[2026-07-08 15:12:07] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576804352001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783503443000,"timestamp_ms":1783503443000,"timestamp_seconds":1783503443,"priority":1,"record_length":96,"hex_timestamp":"0000019f4116d438"} 
[2026-07-08 15:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:12:07] 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-07-08 15:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 15:12: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-07-08 15:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576804352001,"66":2144,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576804352001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:12:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:12:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576804352001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":125514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:12:07] local.INFO: GPS data processed {"connection_id":125514,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:12:07] local.INFO: Acknowledgment sent {"connection_id":125514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:12:13] local.INFO: TCP Data received {"connection_id":125632,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-08 15:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125632,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-08 15:12:13] local.INFO: Processing buffer {"connection_id":125632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-08 15:12:13] local.INFO: Packet analysis {"connection_id":125632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-08 15:12:13] local.INFO: Extracted packet for processing {"connection_id":125632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-08 15:12: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-07-08 15:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 15:12:13] 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-07-08 15:12:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 15:12:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-08 15:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125632,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125632,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-08 15:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125632,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-08 15:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-08 15:12:13] local.WARNING: DEBUG: No valid data to process  
[2026-07-08 15:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":125632,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-08 15:12:13] local.ERROR: GPS data processing failed {"connection_id":125632,"error":"No valid data to process"} 
[2026-07-08 15:12:13] local.INFO: Acknowledgment sent {"connection_id":125632,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-08 15:12:22] local.INFO: TCP Data received {"connection_id":127635,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f41198b88012d0b130007029fc00003013423..."} 
[2026-07-08 15:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41198b88012d0b130007029fc00003013423..."} 
[2026-07-08 15:12:22] local.INFO: Processing buffer {"connection_id":127635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41198b88012d0b130007029fc00003013423..."} 
[2026-07-08 15:12:22] local.INFO: Packet analysis {"connection_id":127635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4119"} 
[2026-07-08 15:12:22] local.INFO: Extracted packet for processing {"connection_id":127635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4119"} 
[2026-07-08 15:12:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576849920001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783503621000,"timestamp_ms":1783503621000,"timestamp_seconds":1783503621,"priority":1,"record_length":96,"hex_timestamp":"0000019f41198b88"} 
[2026-07-08 15:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 15:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":127635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":127635,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":127635,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576849920001,"66":12537,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576849920001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:12:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576849920001,"power":12537,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":127635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451947,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:12:22] local.INFO: GPS data processed {"connection_id":127635,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:12:22] local.INFO: Acknowledgment sent {"connection_id":127635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:12:26] local.INFO: TCP Data received {"connection_id":126393,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126393,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:12:26] local.INFO: Processing buffer {"connection_id":126393,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:12:26] local.INFO: IMEI packet received {"connection_id":126393,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 15:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":126393,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:12:33] local.INFO: TCP Data received {"connection_id":125513,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f41167290012d9aa500057811f8000e005a2b..."} 
[2026-07-08 15:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41167290012d9aa500057811f8000e005a2b..."} 
[2026-07-08 15:12:33] local.INFO: Processing buffer {"connection_id":125513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41167290012d9aa500057811f8000e005a2b..."} 
[2026-07-08 15:12:33] local.INFO: Packet analysis {"connection_id":125513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4116"} 
[2026-07-08 15:12:33] local.INFO: Extracted packet for processing {"connection_id":125513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4116"} 
[2026-07-08 15:12:33] local.INFO: GPS Element Parsed {"raw_longitude":765109504,"raw_latitude":91755000,"longitude_deg":76.5109504,"latitude_deg":9.1755,"altitude":14,"angle":90,"satellites":43,"speed":0,"hex_longitude":"2d9aa500","hex_latitude":"057811f8","is_valid_coordinates":true} 
[2026-07-08 15:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576874240001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303642303454644224,"note":"Value kept but may cause issues"} 
[2026-07-08 15:12:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783503418000,"timestamp_ms":1783503418000,"timestamp_seconds":1783503418,"priority":1,"record_length":96,"hex_timestamp":"0000019f41167290"} 
[2026-07-08 15:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-08 15:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:12:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576874240001,"66":27213,"24":0,"85":15872,"16":342767183681552384,"45":-7303642303454644224},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576874240001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:12:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303642303454644224,"description":"Unknown IO ID 45"} 
[2026-07-08 15:12:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456576874240001,"power":27213,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303642303454644224}} 
[2026-07-08 15:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":125513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:12:33] local.INFO: GPS data processed {"connection_id":125513,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:12:33] local.INFO: Acknowledgment sent {"connection_id":125513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:12:39] local.INFO: TCP Data received {"connection_id":125514,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f4116d438012d196380071fef800037006e2c..."} 
[2026-07-08 15:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4116d438012d196380071fef800037006e2c..."} 
[2026-07-08 15:12:39] local.INFO: Processing buffer {"connection_id":125514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4116d438012d196380071fef800037006e2c..."} 
[2026-07-08 15:12:39] local.INFO: Packet analysis {"connection_id":125514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4116"} 
[2026-07-08 15:12:39] local.INFO: Extracted packet for processing {"connection_id":125514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4116"} 
[2026-07-08 15:12:39] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576804352001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783503443000,"timestamp_ms":1783503443000,"timestamp_seconds":1783503443,"priority":1,"record_length":96,"hex_timestamp":"0000019f4116d438"} 
[2026-07-08 15:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 15:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576804352001,"66":2144,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576804352001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:12:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:12:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576804352001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":125514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:12:39] local.INFO: GPS data processed {"connection_id":125514,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:12:39] local.INFO: Acknowledgment sent {"connection_id":125514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:12:50] local.INFO: TCP Data received {"connection_id":126394,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126394,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:12:50] local.INFO: Processing buffer {"connection_id":126394,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:12:50] local.INFO: IMEI packet received {"connection_id":126394,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":126394,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:12:51] local.INFO: TCP Data received {"connection_id":126394,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f41198b88012d0b130007029fc00003013423..."} 
[2026-07-08 15:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41198b88012d0b130007029fc00003013423..."} 
[2026-07-08 15:12:51] local.INFO: Processing buffer {"connection_id":126394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41198b88012d0b130007029fc00003013423..."} 
[2026-07-08 15:12:51] local.INFO: Packet analysis {"connection_id":126394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4119"} 
[2026-07-08 15:12:51] local.INFO: Extracted packet for processing {"connection_id":126394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4119"} 
[2026-07-08 15:12:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576849920001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783503621000,"timestamp_ms":1783503621000,"timestamp_seconds":1783503621,"priority":1,"record_length":96,"hex_timestamp":"0000019f41198b88"} 
[2026-07-08 15:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 15:12:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126394,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126394,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576849920001,"66":12537,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576849920001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:12:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576849920001,"power":12537,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:12:51] local.INFO: TCP Data received {"connection_id":125632,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-07-08 15:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-07-08 15:12:51] local.INFO: Processing buffer {"connection_id":125632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-07-08 15:12:51] local.INFO: Packet analysis {"connection_id":125632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-08 15:12:51] local.INFO: Extracted packet for processing {"connection_id":125632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-08 15: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-07-08 15:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 15:12: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-07-08 15:12:51] 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-07-08 15:12:51] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-08 15:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125632,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125632,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-08 15:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125632,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-08 15:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-08 15:12:51] local.WARNING: DEBUG: No valid data to process  
[2026-07-08 15:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":125632,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-08 15:12:51] local.ERROR: GPS data processing failed {"connection_id":125632,"error":"No valid data to process"} 
[2026-07-08 15:12:51] local.INFO: Acknowledgment sent {"connection_id":125632,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-08 15:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":126394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451950,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:12:51] local.INFO: GPS data processed {"connection_id":126394,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:12:51] local.INFO: Acknowledgment sent {"connection_id":126394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:12:56] local.INFO: TCP Data received {"connection_id":125633,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125633,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:12:56] local.INFO: Processing buffer {"connection_id":125633,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:12:56] local.INFO: IMEI packet received {"connection_id":125633,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 15:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":125633,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:12:56] local.INFO: TCP Data received {"connection_id":127636,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:12:56] local.INFO: Processing buffer {"connection_id":127636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:12:56] local.INFO: IMEI packet received {"connection_id":127636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":127636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:13:00] local.INFO: TCP Data received {"connection_id":125634,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:13:00] local.INFO: Processing buffer {"connection_id":125634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:13:00] local.INFO: IMEI packet received {"connection_id":125634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":125634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:13:01] local.INFO: TCP Data received {"connection_id":127636,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:13:01] local.INFO: Processing buffer {"connection_id":127636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:13:01] local.INFO: IMEI packet received {"connection_id":127636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":127636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:13:02] local.INFO: TCP Data received {"connection_id":127636,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f411b0a58012d9aa3c0057811f8000f005a2a..."} 
[2026-07-08 15:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411b0a58012d9aa3c0057811f8000f005a2a..."} 
[2026-07-08 15:13:02] local.INFO: Processing buffer {"connection_id":127636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411b0a58012d9aa3c0057811f8000f005a2a..."} 
[2026-07-08 15:13:02] local.INFO: Packet analysis {"connection_id":127636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411b"} 
[2026-07-08 15:13:02] local.INFO: Extracted packet for processing {"connection_id":127636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411b"} 
[2026-07-08 15:13:02] local.INFO: GPS Element Parsed {"raw_longitude":765109184,"raw_latitude":91755000,"longitude_deg":76.5109184,"latitude_deg":9.1755,"altitude":15,"angle":90,"satellites":42,"speed":0,"hex_longitude":"2d9aa3c0","hex_latitude":"057811f8","is_valid_coordinates":true} 
[2026-07-08 15:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576875008001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303431197222111232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:13:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783503719000,"timestamp_ms":1783503719000,"timestamp_seconds":1783503719,"priority":1,"record_length":96,"hex_timestamp":"0000019f411b0a58"} 
[2026-07-08 15:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-08 15:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:13:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576875008001,"66":26321,"24":0,"85":15872,"16":342767183681552384,"45":-7303431197222111232},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576875008001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:13:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303431197222111232,"description":"Unknown IO ID 45"} 
[2026-07-08 15:13:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456576875008001,"power":26321,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303431197222111232}} 
[2026-07-08 15:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":127636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:13:02] local.INFO: GPS data processed {"connection_id":127636,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:13:02] local.INFO: Acknowledgment sent {"connection_id":127636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:13:02] local.INFO: TCP Data received {"connection_id":125634,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:13:02] local.INFO: Processing buffer {"connection_id":125634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:13:02] local.INFO: IMEI packet received {"connection_id":125634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":125634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:13:06] local.INFO: TCP Data received {"connection_id":125634,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:13:06] local.INFO: Processing buffer {"connection_id":125634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:13:06] local.INFO: IMEI packet received {"connection_id":125634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":125634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:13:06] local.INFO: TCP Data received {"connection_id":127636,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f411b0a58012d9aa3c0057811f8000f005a2a..."} 
[2026-07-08 15:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411b0a58012d9aa3c0057811f8000f005a2a..."} 
[2026-07-08 15:13:06] local.INFO: Processing buffer {"connection_id":127636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411b0a58012d9aa3c0057811f8000f005a2a..."} 
[2026-07-08 15:13:06] local.INFO: Packet analysis {"connection_id":127636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411b"} 
[2026-07-08 15:13:06] local.INFO: Extracted packet for processing {"connection_id":127636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411b"} 
[2026-07-08 15:13:06] local.INFO: GPS Element Parsed {"raw_longitude":765109184,"raw_latitude":91755000,"longitude_deg":76.5109184,"latitude_deg":9.1755,"altitude":15,"angle":90,"satellites":42,"speed":0,"hex_longitude":"2d9aa3c0","hex_latitude":"057811f8","is_valid_coordinates":true} 
[2026-07-08 15:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576875008001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303431197222111232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:13:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783503719000,"timestamp_ms":1783503719000,"timestamp_seconds":1783503719,"priority":1,"record_length":96,"hex_timestamp":"0000019f411b0a58"} 
[2026-07-08 15:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-08 15:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576875008001,"66":26321,"24":0,"85":15872,"16":342767183681552384,"45":-7303431197222111232},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576875008001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:13:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303431197222111232,"description":"Unknown IO ID 45"} 
[2026-07-08 15:13:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456576875008001,"power":26321,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303431197222111232}} 
[2026-07-08 15:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":127636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:13:06] local.INFO: GPS data processed {"connection_id":127636,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:13:06] local.INFO: Acknowledgment sent {"connection_id":127636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:13:07] local.INFO: TCP Data received {"connection_id":125634,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f411b6c00012d196380071fef800037006e2a..."} 
[2026-07-08 15:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411b6c00012d196380071fef800037006e2a..."} 
[2026-07-08 15:13:07] local.INFO: Processing buffer {"connection_id":125634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411b6c00012d196380071fef800037006e2a..."} 
[2026-07-08 15:13:07] local.INFO: Packet analysis {"connection_id":125634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411b"} 
[2026-07-08 15:13:07] local.INFO: Extracted packet for processing {"connection_id":125634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411b"} 
[2026-07-08 15:13:07] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576881408001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783503744000,"timestamp_ms":1783503744000,"timestamp_seconds":1783503744,"priority":1,"record_length":96,"hex_timestamp":"0000019f411b6c00"} 
[2026-07-08 15:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:13: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-07-08 15:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 15:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576881408001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576881408001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:13:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:13:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576881408001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":125634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:13:07] local.INFO: GPS data processed {"connection_id":125634,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:13:07] local.INFO: Acknowledgment sent {"connection_id":125634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:13:11] local.INFO: TCP Data received {"connection_id":125634,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f411b6c00012d196380071fef800037006e2a..."} 
[2026-07-08 15:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411b6c00012d196380071fef800037006e2a..."} 
[2026-07-08 15:13:11] local.INFO: Processing buffer {"connection_id":125634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411b6c00012d196380071fef800037006e2a..."} 
[2026-07-08 15:13:11] local.INFO: Packet analysis {"connection_id":125634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411b"} 
[2026-07-08 15:13:11] local.INFO: Extracted packet for processing {"connection_id":125634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411b"} 
[2026-07-08 15:13:11] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576881408001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783503744000,"timestamp_ms":1783503744000,"timestamp_seconds":1783503744,"priority":1,"record_length":96,"hex_timestamp":"0000019f411b6c00"} 
[2026-07-08 15:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:13:11] 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-07-08 15: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":96,"data_length":795,"current_offset":136} 
[2026-07-08 15:13: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-07-08 15: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-07-08 15:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576881408001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576881408001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:13:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:13:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576881408001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":125634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:13:11] local.INFO: GPS data processed {"connection_id":125634,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:13:11] local.INFO: Acknowledgment sent {"connection_id":125634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:13:23] local.INFO: TCP Data received {"connection_id":125632,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-07-08 15:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125632,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-07-08 15:13:23] local.INFO: Processing buffer {"connection_id":125632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-07-08 15:13:23] local.INFO: Packet analysis {"connection_id":125632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-08 15:13:23] local.INFO: Extracted packet for processing {"connection_id":125632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-08 15: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-07-08 15:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 15:13:23] 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-07-08 15:13:23] 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-07-08 15:13:23] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-08 15:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":125632,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":125632,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-08 15:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":125632,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-08 15:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-08 15:13:23] local.WARNING: DEBUG: No valid data to process  
[2026-07-08 15:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":125632,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-08 15:13:23] local.ERROR: GPS data processing failed {"connection_id":125632,"error":"No valid data to process"} 
[2026-07-08 15:13:23] local.INFO: Acknowledgment sent {"connection_id":125632,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-08 15:13:23] local.INFO: TCP Data received {"connection_id":126394,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f41198b88012d0b130007029fc00003013423..."} 
[2026-07-08 15:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41198b88012d0b130007029fc00003013423..."} 
[2026-07-08 15:13:23] local.INFO: Processing buffer {"connection_id":126394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41198b88012d0b130007029fc00003013423..."} 
[2026-07-08 15:13:23] local.INFO: Packet analysis {"connection_id":126394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4119"} 
[2026-07-08 15:13:23] local.INFO: Extracted packet for processing {"connection_id":126394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4119"} 
[2026-07-08 15:13:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576849920001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783503621000,"timestamp_ms":1783503621000,"timestamp_seconds":1783503621,"priority":1,"record_length":96,"hex_timestamp":"0000019f41198b88"} 
[2026-07-08 15:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:13:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 15:13:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":126394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":126394,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":126394,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576849920001,"66":12537,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576849920001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:13:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576849920001,"power":12537,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":126394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451955,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:13:23] local.INFO: GPS data processed {"connection_id":126394,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:13:23] local.INFO: Acknowledgment sent {"connection_id":126394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:13:37] local.INFO: TCP Data received {"connection_id":127636,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f411b0a58012d9aa3c0057811f8000f005a2a..."} 
[2026-07-08 15:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411b0a58012d9aa3c0057811f8000f005a2a..."} 
[2026-07-08 15:13:37] local.INFO: Processing buffer {"connection_id":127636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411b0a58012d9aa3c0057811f8000f005a2a..."} 
[2026-07-08 15:13:37] local.INFO: Packet analysis {"connection_id":127636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411b"} 
[2026-07-08 15:13:37] local.INFO: Extracted packet for processing {"connection_id":127636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411b"} 
[2026-07-08 15:13:37] local.INFO: GPS Element Parsed {"raw_longitude":765109184,"raw_latitude":91755000,"longitude_deg":76.5109184,"latitude_deg":9.1755,"altitude":15,"angle":90,"satellites":42,"speed":0,"hex_longitude":"2d9aa3c0","hex_latitude":"057811f8","is_valid_coordinates":true} 
[2026-07-08 15:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576875008001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303431197222111232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:13:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783503719000,"timestamp_ms":1783503719000,"timestamp_seconds":1783503719,"priority":1,"record_length":96,"hex_timestamp":"0000019f411b0a58"} 
[2026-07-08 15:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-08 15:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576875008001,"66":26321,"24":0,"85":15872,"16":342767183681552384,"45":-7303431197222111232},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576875008001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:13:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303431197222111232,"description":"Unknown IO ID 45"} 
[2026-07-08 15:13:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456576875008001,"power":26321,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303431197222111232}} 
[2026-07-08 15:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":127636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:13:37] local.INFO: GPS data processed {"connection_id":127636,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:13:37] local.INFO: Acknowledgment sent {"connection_id":127636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:13:43] local.INFO: TCP Data received {"connection_id":125634,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f411b6c00012d196380071fef800037006e2a..."} 
[2026-07-08 15:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411b6c00012d196380071fef800037006e2a..."} 
[2026-07-08 15:13:43] local.INFO: Processing buffer {"connection_id":125634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411b6c00012d196380071fef800037006e2a..."} 
[2026-07-08 15:13:43] local.INFO: Packet analysis {"connection_id":125634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411b"} 
[2026-07-08 15:13:43] local.INFO: Extracted packet for processing {"connection_id":125634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411b"} 
[2026-07-08 15:13:43] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576881408001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783503744000,"timestamp_ms":1783503744000,"timestamp_seconds":1783503744,"priority":1,"record_length":96,"hex_timestamp":"0000019f411b6c00"} 
[2026-07-08 15:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:13:43] 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-07-08 15:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 15:13:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":125634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":125634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":125634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576881408001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576881408001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:13:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:13:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576881408001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":125634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:13:43] local.INFO: GPS data processed {"connection_id":125634,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:13:43] local.INFO: Acknowledgment sent {"connection_id":125634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:13:53] local.INFO: TCP Data received {"connection_id":125515,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125515,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:13:53] local.INFO: Processing buffer {"connection_id":125515,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:13:53] local.INFO: IMEI packet received {"connection_id":125515,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":125515,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:13:54] local.INFO: TCP Data received {"connection_id":125632,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f411bece80100000000000000000000000000..."} 
[2026-07-08 15:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411bece80100000000000000000000000000..."} 
[2026-07-08 15:13:54] local.INFO: Processing buffer {"connection_id":125632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411bece80100000000000000000000000000..."} 
[2026-07-08 15:13:54] local.INFO: Packet analysis {"connection_id":125632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411b"} 
[2026-07-08 15:13:54] local.INFO: Extracted packet for processing {"connection_id":125632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411b"} 
[2026-07-08 15: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-07-08 15: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-07-08 15:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 15:13:54] 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-07-08 15:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783503777000,"timestamp_ms":1783503777000,"timestamp_seconds":1783503777,"priority":1,"record_length":96,"hex_timestamp":"0000019f411bece8"} 
[2026-07-08 15:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1792,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":248,"data_length":795,"current_offset":136} 
[2026-07-08 15:13:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":125632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":125632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":125632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15: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-07-08 15:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 15:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 15:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":125632,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-08 15:13:54] local.INFO: GPS data processed {"connection_id":125632,"processed":0,"errors":0,"total":1} 
[2026-07-08 15:13:54] local.INFO: Acknowledgment sent {"connection_id":125632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:13:54] local.INFO: TCP Data received {"connection_id":125515,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125515,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:13:54] local.INFO: Processing buffer {"connection_id":125515,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:13:54] local.INFO: IMEI packet received {"connection_id":125515,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":125515,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:13:55] local.INFO: TCP Data received {"connection_id":126395,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:13:55] local.INFO: Processing buffer {"connection_id":126395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:13:55] local.INFO: IMEI packet received {"connection_id":126395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":126395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:13:56] local.INFO: TCP Data received {"connection_id":125515,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f41198b88012d0b130007029fc00003013423..."} 
[2026-07-08 15:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41198b88012d0b130007029fc00003013423..."} 
[2026-07-08 15:13:56] local.INFO: Processing buffer {"connection_id":125515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41198b88012d0b130007029fc00003013423..."} 
[2026-07-08 15:13:56] local.INFO: Packet analysis {"connection_id":125515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4119"} 
[2026-07-08 15:13:56] local.INFO: Extracted packet for processing {"connection_id":125515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4119"} 
[2026-07-08 15:13:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576849920001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:13:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783503621000,"timestamp_ms":1783503621000,"timestamp_seconds":1783503621,"priority":1,"record_length":96,"hex_timestamp":"0000019f41198b88"} 
[2026-07-08 15:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:13:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 15:13:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:13:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":125515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":125515,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":125515,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:13:56] 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-07-08 15:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576849920001,"66":12537,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 15:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576849920001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:13:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576849920001,"power":12537,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":125515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451958,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:13:56] local.INFO: GPS data processed {"connection_id":125515,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:13:56] local.INFO: Acknowledgment sent {"connection_id":125515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:14:00] local.INFO: TCP Data received {"connection_id":125636,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:14:00] local.INFO: Processing buffer {"connection_id":125636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:14:00] local.INFO: IMEI packet received {"connection_id":125636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":125636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:14:01] local.INFO: TCP Data received {"connection_id":126395,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:14:01] local.INFO: Processing buffer {"connection_id":126395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:14:01] local.INFO: IMEI packet received {"connection_id":126395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":126395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:14:01] local.INFO: TCP Data received {"connection_id":125515,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f41198b88012d0b130007029fc00003013423..."} 
[2026-07-08 15:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41198b88012d0b130007029fc00003013423..."} 
[2026-07-08 15:14:01] local.INFO: Processing buffer {"connection_id":125515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41198b88012d0b130007029fc00003013423..."} 
[2026-07-08 15:14:01] local.INFO: Packet analysis {"connection_id":125515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4119"} 
[2026-07-08 15:14:01] local.INFO: Extracted packet for processing {"connection_id":125515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4119"} 
[2026-07-08 15:14:01] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576849920001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:14: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-07-08 15:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783503621000,"timestamp_ms":1783503621000,"timestamp_seconds":1783503621,"priority":1,"record_length":96,"hex_timestamp":"0000019f41198b88"} 
[2026-07-08 15:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:14:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 15:14:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125515,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125515,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:14:01] 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-07-08 15:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576849920001,"66":12537,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 15:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576849920001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:14:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576849920001,"power":12537,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":125515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451959,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:14:01] local.INFO: GPS data processed {"connection_id":125515,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:14:01] local.INFO: Acknowledgment sent {"connection_id":125515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:14:02] local.INFO: TCP Data received {"connection_id":126395,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f411b0a58012d9aa3c0057811f8000f005a2a..."} 
[2026-07-08 15:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411b0a58012d9aa3c0057811f8000f005a2a..."} 
[2026-07-08 15:14:02] local.INFO: Processing buffer {"connection_id":126395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411b0a58012d9aa3c0057811f8000f005a2a..."} 
[2026-07-08 15:14:02] local.INFO: Packet analysis {"connection_id":126395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411b"} 
[2026-07-08 15:14:02] local.INFO: Extracted packet for processing {"connection_id":126395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411b"} 
[2026-07-08 15:14:02] local.INFO: GPS Element Parsed {"raw_longitude":765109184,"raw_latitude":91755000,"longitude_deg":76.5109184,"latitude_deg":9.1755,"altitude":15,"angle":90,"satellites":42,"speed":0,"hex_longitude":"2d9aa3c0","hex_latitude":"057811f8","is_valid_coordinates":true} 
[2026-07-08 15:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576875008001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303431197222111232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:14:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783503719000,"timestamp_ms":1783503719000,"timestamp_seconds":1783503719,"priority":1,"record_length":96,"hex_timestamp":"0000019f411b0a58"} 
[2026-07-08 15:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-08 15:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:14:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576875008001,"66":26321,"24":0,"85":15872,"16":342767183681552384,"45":-7303431197222111232},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576875008001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:14:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303431197222111232,"description":"Unknown IO ID 45"} 
[2026-07-08 15:14:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456576875008001,"power":26321,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303431197222111232}} 
[2026-07-08 15:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":126395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:14:02] local.INFO: GPS data processed {"connection_id":126395,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:14:02] local.INFO: Acknowledgment sent {"connection_id":126395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:14:05] local.INFO: TCP Data received {"connection_id":125636,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:14:05] local.INFO: Processing buffer {"connection_id":125636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:14:05] local.INFO: IMEI packet received {"connection_id":125636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":125636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:14:07] local.INFO: TCP Data received {"connection_id":125636,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f411b6c00012d196380071fef800037006e2a..."} 
[2026-07-08 15:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411b6c00012d196380071fef800037006e2a..."} 
[2026-07-08 15:14:07] local.INFO: Processing buffer {"connection_id":125636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411b6c00012d196380071fef800037006e2a..."} 
[2026-07-08 15:14:07] local.INFO: Packet analysis {"connection_id":125636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411b"} 
[2026-07-08 15:14:07] local.INFO: Extracted packet for processing {"connection_id":125636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411b"} 
[2026-07-08 15:14:07] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576881408001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783503744000,"timestamp_ms":1783503744000,"timestamp_seconds":1783503744,"priority":1,"record_length":96,"hex_timestamp":"0000019f411b6c00"} 
[2026-07-08 15:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:14: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-07-08 15:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 15:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576881408001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576881408001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:14:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:14:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576881408001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":125636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:14:07] local.INFO: GPS data processed {"connection_id":125636,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:14:07] local.INFO: Acknowledgment sent {"connection_id":125636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:14:26] local.INFO: TCP Data received {"connection_id":125632,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f411c3ef00100000000000000000000000000..."} 
[2026-07-08 15:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411c3ef00100000000000000000000000000..."} 
[2026-07-08 15:14:26] local.INFO: Processing buffer {"connection_id":125632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411c3ef00100000000000000000000000000..."} 
[2026-07-08 15:14:26] local.INFO: Packet analysis {"connection_id":125632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411c"} 
[2026-07-08 15:14:26] local.INFO: Extracted packet for processing {"connection_id":125632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411c"} 
[2026-07-08 15: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-07-08 15: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-07-08 15:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 15:14:26] 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-07-08 15:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783503798000,"timestamp_ms":1783503798000,"timestamp_seconds":1783503798,"priority":1,"record_length":96,"hex_timestamp":"0000019f411c3ef0"} 
[2026-07-08 15:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:14:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-08 15:14: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-07-08 15: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-07-08 15:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":125632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":125632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":125632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:14:26] 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-07-08 15:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 15:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 15:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":125632,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-08 15:14:26] local.INFO: GPS data processed {"connection_id":125632,"processed":0,"errors":0,"total":1} 
[2026-07-08 15:14:26] local.INFO: Acknowledgment sent {"connection_id":125632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:14:33] local.INFO: TCP Data received {"connection_id":126395,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f411b0a58012d9aa3c0057811f8000f005a2a..."} 
[2026-07-08 15:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411b0a58012d9aa3c0057811f8000f005a2a..."} 
[2026-07-08 15:14:33] local.INFO: Processing buffer {"connection_id":126395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411b0a58012d9aa3c0057811f8000f005a2a..."} 
[2026-07-08 15:14:33] local.INFO: Packet analysis {"connection_id":126395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411b"} 
[2026-07-08 15:14:33] local.INFO: Extracted packet for processing {"connection_id":126395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411b"} 
[2026-07-08 15:14:33] local.INFO: GPS Element Parsed {"raw_longitude":765109184,"raw_latitude":91755000,"longitude_deg":76.5109184,"latitude_deg":9.1755,"altitude":15,"angle":90,"satellites":42,"speed":0,"hex_longitude":"2d9aa3c0","hex_latitude":"057811f8","is_valid_coordinates":true} 
[2026-07-08 15:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576875008001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303431197222111232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:14:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783503719000,"timestamp_ms":1783503719000,"timestamp_seconds":1783503719,"priority":1,"record_length":96,"hex_timestamp":"0000019f411b0a58"} 
[2026-07-08 15:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-08 15:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:14:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576875008001,"66":26321,"24":0,"85":15872,"16":342767183681552384,"45":-7303431197222111232},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576875008001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:14:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303431197222111232,"description":"Unknown IO ID 45"} 
[2026-07-08 15:14:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456576875008001,"power":26321,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303431197222111232}} 
[2026-07-08 15:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":126395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:14:33] local.INFO: GPS data processed {"connection_id":126395,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:14:33] local.INFO: Acknowledgment sent {"connection_id":126395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:14:39] local.INFO: TCP Data received {"connection_id":125636,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f411b6c00012d196380071fef800037006e2a..."} 
[2026-07-08 15:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411b6c00012d196380071fef800037006e2a..."} 
[2026-07-08 15:14:39] local.INFO: Processing buffer {"connection_id":125636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411b6c00012d196380071fef800037006e2a..."} 
[2026-07-08 15:14:39] local.INFO: Packet analysis {"connection_id":125636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411b"} 
[2026-07-08 15:14:39] local.INFO: Extracted packet for processing {"connection_id":125636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411b"} 
[2026-07-08 15:14:39] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576881408001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783503744000,"timestamp_ms":1783503744000,"timestamp_seconds":1783503744,"priority":1,"record_length":96,"hex_timestamp":"0000019f411b6c00"} 
[2026-07-08 15:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:14:39] 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-07-08 15:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 15:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576881408001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576881408001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:14:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:14:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576881408001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":125636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:14:39] local.INFO: GPS data processed {"connection_id":125636,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:14:39] local.INFO: Acknowledgment sent {"connection_id":125636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:14:44] local.INFO: TCP Data received {"connection_id":125637,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125637,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:14:44] local.INFO: Processing buffer {"connection_id":125637,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:14:44] local.INFO: IMEI packet received {"connection_id":125637,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":125637,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:14:49] local.INFO: TCP Data received {"connection_id":125637,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125637,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:14:49] local.INFO: Processing buffer {"connection_id":125637,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:14:49] local.INFO: IMEI packet received {"connection_id":125637,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":125637,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:14:50] local.INFO: TCP Data received {"connection_id":125637,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f41198b88012d0b130007029fc00003013423..."} 
[2026-07-08 15:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41198b88012d0b130007029fc00003013423..."} 
[2026-07-08 15:14:50] local.INFO: Processing buffer {"connection_id":125637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41198b88012d0b130007029fc00003013423..."} 
[2026-07-08 15:14:50] local.INFO: Packet analysis {"connection_id":125637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4119"} 
[2026-07-08 15:14:50] local.INFO: Extracted packet for processing {"connection_id":125637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4119"} 
[2026-07-08 15:14:50] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576849920001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783503621000,"timestamp_ms":1783503621000,"timestamp_seconds":1783503621,"priority":1,"record_length":96,"hex_timestamp":"0000019f41198b88"} 
[2026-07-08 15:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 15:14:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":125637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":125637,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":125637,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576849920001,"66":12537,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576849920001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:14:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576849920001,"power":12537,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":125637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451964,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:14:50] local.INFO: GPS data processed {"connection_id":125637,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:14:50] local.INFO: Acknowledgment sent {"connection_id":125637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:14:56] local.INFO: TCP Data received {"connection_id":125639,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:14:56] local.INFO: Processing buffer {"connection_id":125639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:14:56] local.INFO: IMEI packet received {"connection_id":125639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":125639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:14:57] local.INFO: TCP Data received {"connection_id":125632,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f411c90f80100000000000000000000000000..."} 
[2026-07-08 15:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411c90f80100000000000000000000000000..."} 
[2026-07-08 15:14:57] local.INFO: Processing buffer {"connection_id":125632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411c90f80100000000000000000000000000..."} 
[2026-07-08 15:14:57] local.INFO: Packet analysis {"connection_id":125632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411c"} 
[2026-07-08 15:14:57] local.INFO: Extracted packet for processing {"connection_id":125632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411c"} 
[2026-07-08 15:14: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-07-08 15:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 15:14:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,198,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783503819000,"timestamp_ms":1783503819000,"timestamp_seconds":1783503819,"priority":1,"record_length":96,"hex_timestamp":"0000019f411c90f8"} 
[2026-07-08 15:14:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:14:57] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-08 15:14: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-07-08 15:14:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:14:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":125632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":125632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":125632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:14:57] 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-07-08 15:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 15:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 15:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":125632,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-08 15:14:57] local.INFO: GPS data processed {"connection_id":125632,"processed":0,"errors":0,"total":1} 
[2026-07-08 15:14:57] local.INFO: Acknowledgment sent {"connection_id":125632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:15:01] local.INFO: TCP Data received {"connection_id":125639,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:15:01] local.INFO: Processing buffer {"connection_id":125639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:15:01] local.INFO: IMEI packet received {"connection_id":125639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":125639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:15:01] local.INFO: TCP Data received {"connection_id":125639,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f411b0a58012d9aa3c0057811f8000f005a2a..."} 
[2026-07-08 15:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411b0a58012d9aa3c0057811f8000f005a2a..."} 
[2026-07-08 15:15:01] local.INFO: Processing buffer {"connection_id":125639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411b0a58012d9aa3c0057811f8000f005a2a..."} 
[2026-07-08 15:15:01] local.INFO: Packet analysis {"connection_id":125639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411b"} 
[2026-07-08 15:15:01] local.INFO: Extracted packet for processing {"connection_id":125639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411b"} 
[2026-07-08 15:15:01] local.INFO: GPS Element Parsed {"raw_longitude":765109184,"raw_latitude":91755000,"longitude_deg":76.5109184,"latitude_deg":9.1755,"altitude":15,"angle":90,"satellites":42,"speed":0,"hex_longitude":"2d9aa3c0","hex_latitude":"057811f8","is_valid_coordinates":true} 
[2026-07-08 15:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576875008001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:15:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303431197222111232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:15:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783503719000,"timestamp_ms":1783503719000,"timestamp_seconds":1783503719,"priority":1,"record_length":96,"hex_timestamp":"0000019f411b0a58"} 
[2026-07-08 15:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:15:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-08 15:15:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:15:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:15:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576875008001,"66":26321,"24":0,"85":15872,"16":342767183681552384,"45":-7303431197222111232},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576875008001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:15:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:15:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303431197222111232,"description":"Unknown IO ID 45"} 
[2026-07-08 15:15:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456576875008001,"power":26321,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303431197222111232}} 
[2026-07-08 15:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":125639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:15:01] local.INFO: GPS data processed {"connection_id":125639,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:15:01] local.INFO: Acknowledgment sent {"connection_id":125639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:15:05] local.INFO: TCP Data received {"connection_id":127637,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:15:05] local.INFO: Processing buffer {"connection_id":127637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:15:05] local.INFO: IMEI packet received {"connection_id":127637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":127637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:15:10] local.INFO: TCP Data received {"connection_id":127637,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:15:10] local.INFO: Processing buffer {"connection_id":127637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:15:10] local.INFO: IMEI packet received {"connection_id":127637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":127637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:15:12] local.INFO: TCP Data received {"connection_id":127637,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f411b6c00012d196380071fef800037006e2a..."} 
[2026-07-08 15:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411b6c00012d196380071fef800037006e2a..."} 
[2026-07-08 15:15:12] local.INFO: Processing buffer {"connection_id":127637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411b6c00012d196380071fef800037006e2a..."} 
[2026-07-08 15:15:12] local.INFO: Packet analysis {"connection_id":127637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411b"} 
[2026-07-08 15:15:12] local.INFO: Extracted packet for processing {"connection_id":127637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411b"} 
[2026-07-08 15:15:12] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576881408001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783503744000,"timestamp_ms":1783503744000,"timestamp_seconds":1783503744,"priority":1,"record_length":96,"hex_timestamp":"0000019f411b6c00"} 
[2026-07-08 15:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:15:12] 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-07-08 15: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 15:15: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-07-08 15:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":127637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":127637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":127637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576881408001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576881408001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:15:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:15:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576881408001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":127637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:15:12] local.INFO: GPS data processed {"connection_id":127637,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:15:12] local.INFO: Acknowledgment sent {"connection_id":127637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:15:16] local.INFO: TCP Data received {"connection_id":127637,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f411b6c00012d196380071fef800037006e2a..."} 
[2026-07-08 15:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411b6c00012d196380071fef800037006e2a..."} 
[2026-07-08 15:15:16] local.INFO: Processing buffer {"connection_id":127637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411b6c00012d196380071fef800037006e2a..."} 
[2026-07-08 15:15:16] local.INFO: Packet analysis {"connection_id":127637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411b"} 
[2026-07-08 15:15:16] local.INFO: Extracted packet for processing {"connection_id":127637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411b"} 
[2026-07-08 15:15:16] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576881408001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783503744000,"timestamp_ms":1783503744000,"timestamp_seconds":1783503744,"priority":1,"record_length":96,"hex_timestamp":"0000019f411b6c00"} 
[2026-07-08 15:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:15:16] 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-07-08 15:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 15:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":127637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":127637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":127637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576881408001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576881408001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:15:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:15:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576881408001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":127637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:15:16] local.INFO: GPS data processed {"connection_id":127637,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:15:16] local.INFO: Acknowledgment sent {"connection_id":127637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:15:22] local.INFO: TCP Data received {"connection_id":125637,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f41198b88012d0b130007029fc00003013423..."} 
[2026-07-08 15:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41198b88012d0b130007029fc00003013423..."} 
[2026-07-08 15:15:22] local.INFO: Processing buffer {"connection_id":125637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41198b88012d0b130007029fc00003013423..."} 
[2026-07-08 15:15:22] local.INFO: Packet analysis {"connection_id":125637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4119"} 
[2026-07-08 15:15:22] local.INFO: Extracted packet for processing {"connection_id":125637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4119"} 
[2026-07-08 15:15:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576849920001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783503621000,"timestamp_ms":1783503621000,"timestamp_seconds":1783503621,"priority":1,"record_length":96,"hex_timestamp":"0000019f41198b88"} 
[2026-07-08 15:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 15:15:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125637,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125637,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576849920001,"66":12537,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576849920001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:15:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576849920001,"power":12537,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":125637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451968,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:15:22] local.INFO: GPS data processed {"connection_id":125637,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:15:22] local.INFO: Acknowledgment sent {"connection_id":125637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:15:28] local.INFO: TCP Data received {"connection_id":125632,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f411ce3000100000000000000000000000000..."} 
[2026-07-08 15:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411ce3000100000000000000000000000000..."} 
[2026-07-08 15:15:28] local.INFO: Processing buffer {"connection_id":125632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411ce3000100000000000000000000000000..."} 
[2026-07-08 15:15:28] local.INFO: Packet analysis {"connection_id":125632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411c"} 
[2026-07-08 15:15:28] local.INFO: Extracted packet for processing {"connection_id":125632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411c"} 
[2026-07-08 15:15:28] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-08 15:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 15:15:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,198,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783503840000,"timestamp_ms":1783503840000,"timestamp_seconds":1783503840,"priority":1,"record_length":96,"hex_timestamp":"0000019f411ce300"} 
[2026-07-08 15:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:15:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-07-08 15:15:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":125632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":125632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":125632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:15:28] 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-07-08 15:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 15:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 15:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":125632,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-08 15:15:28] local.INFO: GPS data processed {"connection_id":125632,"processed":0,"errors":0,"total":1} 
[2026-07-08 15:15:28] local.INFO: Acknowledgment sent {"connection_id":125632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:15:33] local.INFO: TCP Data received {"connection_id":125639,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f411b0a58012d9aa3c0057811f8000f005a2a..."} 
[2026-07-08 15:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411b0a58012d9aa3c0057811f8000f005a2a..."} 
[2026-07-08 15:15:33] local.INFO: Processing buffer {"connection_id":125639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411b0a58012d9aa3c0057811f8000f005a2a..."} 
[2026-07-08 15:15:33] local.INFO: Packet analysis {"connection_id":125639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411b"} 
[2026-07-08 15:15:33] local.INFO: Extracted packet for processing {"connection_id":125639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411b"} 
[2026-07-08 15:15:33] local.INFO: GPS Element Parsed {"raw_longitude":765109184,"raw_latitude":91755000,"longitude_deg":76.5109184,"latitude_deg":9.1755,"altitude":15,"angle":90,"satellites":42,"speed":0,"hex_longitude":"2d9aa3c0","hex_latitude":"057811f8","is_valid_coordinates":true} 
[2026-07-08 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-07-08 15:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576875008001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303431197222111232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:15:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783503719000,"timestamp_ms":1783503719000,"timestamp_seconds":1783503719,"priority":1,"record_length":96,"hex_timestamp":"0000019f411b0a58"} 
[2026-07-08 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-07-08 15:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-08 15:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 15:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576875008001,"66":26321,"24":0,"85":15872,"16":342767183681552384,"45":-7303431197222111232},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576875008001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:15:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303431197222111232,"description":"Unknown IO ID 45"} 
[2026-07-08 15:15:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456576875008001,"power":26321,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303431197222111232}} 
[2026-07-08 15:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":125639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:15:33] local.INFO: GPS data processed {"connection_id":125639,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:15:33] local.INFO: Acknowledgment sent {"connection_id":125639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:15:44] local.INFO: TCP Data received {"connection_id":125640,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125640,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:15:44] local.INFO: Processing buffer {"connection_id":125640,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:15:44] local.INFO: IMEI packet received {"connection_id":125640,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":125640,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:15:50] local.INFO: TCP Data received {"connection_id":125640,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125640,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:15:50] local.INFO: Processing buffer {"connection_id":125640,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:15:50] local.INFO: IMEI packet received {"connection_id":125640,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":125640,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:15:50] local.INFO: TCP Data received {"connection_id":125640,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f411e2350012d0b130007029fc00003013423..."} 
[2026-07-08 15:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411e2350012d0b130007029fc00003013423..."} 
[2026-07-08 15:15:50] local.INFO: Processing buffer {"connection_id":125640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411e2350012d0b130007029fc00003013423..."} 
[2026-07-08 15:15:50] local.INFO: Packet analysis {"connection_id":125640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411e"} 
[2026-07-08 15:15:50] local.INFO: Extracted packet for processing {"connection_id":125640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411e"} 
[2026-07-08 15:15:50] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576926976001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:15:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783503922000,"timestamp_ms":1783503922000,"timestamp_seconds":1783503922,"priority":1,"record_length":96,"hex_timestamp":"0000019f411e2350"} 
[2026-07-08 15:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:15:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-08 15:15:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:15:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":125640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":125640,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":125640,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:15:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576926976001,"66":12406,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576926976001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:15:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:15:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576926976001,"power":12406,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":125640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451970,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:15:51] local.INFO: GPS data processed {"connection_id":125640,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:15:51] local.INFO: Acknowledgment sent {"connection_id":125640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:15:55] local.INFO: TCP Data received {"connection_id":125517,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:15:55] local.INFO: Processing buffer {"connection_id":125517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:15:55] local.INFO: IMEI packet received {"connection_id":125517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":125517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:16:00] local.INFO: TCP Data received {"connection_id":125641,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:16:00] local.INFO: Processing buffer {"connection_id":125641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:16:00] local.INFO: IMEI packet received {"connection_id":125641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":125641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:16:01] local.INFO: TCP Data received {"connection_id":125517,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:16:01] local.INFO: Processing buffer {"connection_id":125517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:16:01] local.INFO: IMEI packet received {"connection_id":125517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":125517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:16:01] local.INFO: TCP Data received {"connection_id":125517,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f411b0a58012d9aa3c0057811f8000f005a2a..."} 
[2026-07-08 15:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411b0a58012d9aa3c0057811f8000f005a2a..."} 
[2026-07-08 15:16:01] local.INFO: Processing buffer {"connection_id":125517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411b0a58012d9aa3c0057811f8000f005a2a..."} 
[2026-07-08 15:16:01] local.INFO: Packet analysis {"connection_id":125517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411b"} 
[2026-07-08 15:16:01] local.INFO: Extracted packet for processing {"connection_id":125517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411b"} 
[2026-07-08 15:16:01] local.INFO: GPS Element Parsed {"raw_longitude":765109184,"raw_latitude":91755000,"longitude_deg":76.5109184,"latitude_deg":9.1755,"altitude":15,"angle":90,"satellites":42,"speed":0,"hex_longitude":"2d9aa3c0","hex_latitude":"057811f8","is_valid_coordinates":true} 
[2026-07-08 15:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576875008001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303431197222111232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:16:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783503719000,"timestamp_ms":1783503719000,"timestamp_seconds":1783503719,"priority":1,"record_length":96,"hex_timestamp":"0000019f411b0a58"} 
[2026-07-08 15:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-08 15:16:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:16:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576875008001,"66":26321,"24":0,"85":15872,"16":342767183681552384,"45":-7303431197222111232},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576875008001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:16:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303431197222111232,"description":"Unknown IO ID 45"} 
[2026-07-08 15:16:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456576875008001,"power":26321,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303431197222111232}} 
[2026-07-08 15:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":125517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:16:01] local.INFO: GPS data processed {"connection_id":125517,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:16:01] local.INFO: Acknowledgment sent {"connection_id":125517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:16:05] local.INFO: TCP Data received {"connection_id":125641,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:16:05] local.INFO: Processing buffer {"connection_id":125641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:16:05] local.INFO: IMEI packet received {"connection_id":125641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":125641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:16:09] local.INFO: TCP Data received {"connection_id":125641,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f411b6c00012d196380071fef800037006e2a..."} 
[2026-07-08 15:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411b6c00012d196380071fef800037006e2a..."} 
[2026-07-08 15:16:09] local.INFO: Processing buffer {"connection_id":125641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411b6c00012d196380071fef800037006e2a..."} 
[2026-07-08 15:16:09] local.INFO: Packet analysis {"connection_id":125641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411b"} 
[2026-07-08 15:16:09] local.INFO: Extracted packet for processing {"connection_id":125641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411b"} 
[2026-07-08 15:16:09] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576881408001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783503744000,"timestamp_ms":1783503744000,"timestamp_seconds":1783503744,"priority":1,"record_length":96,"hex_timestamp":"0000019f411b6c00"} 
[2026-07-08 15:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:16:09] 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-07-08 15: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":96,"data_length":795,"current_offset":136} 
[2026-07-08 15:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576881408001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576881408001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:16:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:16:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576881408001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":125641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:16:09] local.INFO: GPS data processed {"connection_id":125641,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:16:09] local.INFO: Acknowledgment sent {"connection_id":125641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:16:14] local.INFO: TCP Data received {"connection_id":127638,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127638,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:16:14] local.INFO: Processing buffer {"connection_id":127638,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:16:14] local.INFO: IMEI packet received {"connection_id":127638,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 15:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":127638,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:16:15] local.INFO: TCP Data received {"connection_id":127638,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127638,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:16:15] local.INFO: Processing buffer {"connection_id":127638,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:16:15] local.INFO: IMEI packet received {"connection_id":127638,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 15:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":127638,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:16:19] local.INFO: TCP Data received {"connection_id":127638,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127638,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:16:19] local.INFO: Processing buffer {"connection_id":127638,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:16:19] local.INFO: IMEI packet received {"connection_id":127638,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 15:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":127638,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:16:20] local.INFO: TCP Data received {"connection_id":127638,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f411d0a10012d7c150005ec32c00019010c0c..."} 
[2026-07-08 15:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411d0a10012d7c150005ec32c00019010c0c..."} 
[2026-07-08 15:16:20] local.INFO: Processing buffer {"connection_id":127638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411d0a10012d7c150005ec32c00019010c0c..."} 
[2026-07-08 15:16:20] local.INFO: Packet analysis {"connection_id":127638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411d"} 
[2026-07-08 15:16:20] local.INFO: Extracted packet for processing {"connection_id":127638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411d"} 
[2026-07-08 15:16:20] local.INFO: GPS Element Parsed {"raw_longitude":763106560,"raw_latitude":99365568,"longitude_deg":76.310656,"latitude_deg":9.9365568,"altitude":25,"angle":268,"satellites":12,"speed":27,"hex_longitude":"2d7c1500","hex_latitude":"05ec32c0","is_valid_coordinates":true} 
[2026-07-08 15:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703475715571712,"note":"Value kept but may cause issues"} 
[2026-07-08 15:16:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,198,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783503850000,"timestamp_ms":1783503850000,"timestamp_seconds":1783503850,"priority":1,"record_length":96,"hex_timestamp":"0000019f411d0a10"} 
[2026-07-08 15:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5632,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-08 15:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":127638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":127638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":127638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:16: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-07-08 15:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 15:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 15:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13624,"198":206,"87":13824,"24":27,"16":103703475715571712},"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]} 
[2026-07-08 15:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 15:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 15:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-08 15:16:20] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-08 15:16:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 15:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703475715571712,"km_value":103703475715571.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:16:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13624,"unknown_198":206,"unknown_87":13824,"ignition":27,"odometer":null}} 
[2026-07-08 15:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":127638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451973,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:16:20] local.INFO: GPS data processed {"connection_id":127638,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:16:20] local.INFO: Acknowledgment sent {"connection_id":127638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:16:22] local.INFO: TCP Data received {"connection_id":125640,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f411e2350012d0b130007029fc00003013423..."} 
[2026-07-08 15:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411e2350012d0b130007029fc00003013423..."} 
[2026-07-08 15:16:22] local.INFO: Processing buffer {"connection_id":125640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411e2350012d0b130007029fc00003013423..."} 
[2026-07-08 15:16:22] local.INFO: Packet analysis {"connection_id":125640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411e"} 
[2026-07-08 15:16:22] local.INFO: Extracted packet for processing {"connection_id":125640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411e"} 
[2026-07-08 15:16:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 15:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576926976001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783503922000,"timestamp_ms":1783503922000,"timestamp_seconds":1783503922,"priority":1,"record_length":96,"hex_timestamp":"0000019f411e2350"} 
[2026-07-08 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-07-08 15:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-08 15:16:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 15:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125640,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125640,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576926976001,"66":12406,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576926976001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:16:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576926976001,"power":12406,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":125640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451974,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:16:22] local.INFO: GPS data processed {"connection_id":125640,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:16:22] local.INFO: Acknowledgment sent {"connection_id":125640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:16:24] local.INFO: TCP Data received {"connection_id":127638,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f411d3120012d7bfd0005ec3168001a01080d..."} 
[2026-07-08 15:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411d3120012d7bfd0005ec3168001a01080d..."} 
[2026-07-08 15:16:24] local.INFO: Processing buffer {"connection_id":127638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411d3120012d7bfd0005ec3168001a01080d..."} 
[2026-07-08 15:16:24] local.INFO: Packet analysis {"connection_id":127638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411d"} 
[2026-07-08 15:16:24] local.INFO: Extracted packet for processing {"connection_id":127638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411d"} 
[2026-07-08 15:16:24] local.INFO: GPS Element Parsed {"raw_longitude":763100416,"raw_latitude":99365224,"longitude_deg":76.3100416,"latitude_deg":9.9365224,"altitude":26,"angle":264,"satellites":13,"speed":25,"hex_longitude":"2d7bfd00","hex_latitude":"05ec3168","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576985600001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103703763478380544,"note":"Value kept but may cause issues"} 
[2026-07-08 15:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8941052660651573248,"note":"Value kept but may cause issues"} 
[2026-07-08 15:16:24] 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-07-08 15:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783503860000,"timestamp_ms":1783503860000,"timestamp_seconds":1783503860,"priority":1,"record_length":96,"hex_timestamp":"0000019f411d3120"} 
[2026-07-08 15:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:16:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-07-08 15:16:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":127638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":127638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":127638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:16: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-07-08 15:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 15:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 15:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576985600001,"66":13374,"198":206,"87":13824,"24":25,"16":103703763478380544,"45":8941052660651573248},"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-07-08 15:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 15:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 15:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576985600001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:16:24] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-08 15:16:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 15:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103703763478380544,"km_value":103703763478380.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8941052660651573248,"description":"Unknown IO ID 45"} 
[2026-07-08 15:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576985600001,"power":13374,"unknown_198":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8941052660651573248}} 
[2026-07-08 15:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":127638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451975,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:16:24] local.INFO: GPS data processed {"connection_id":127638,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:16:24] local.INFO: Acknowledgment sent {"connection_id":127638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:16:33] local.INFO: TCP Data received {"connection_id":125517,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f411e8110012d9aa3c0057811f8000f005a29..."} 
[2026-07-08 15:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411e8110012d9aa3c0057811f8000f005a29..."} 
[2026-07-08 15:16:33] local.INFO: Processing buffer {"connection_id":125517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411e8110012d9aa3c0057811f8000f005a29..."} 
[2026-07-08 15:16:33] local.INFO: Packet analysis {"connection_id":125517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411e"} 
[2026-07-08 15:16:33] local.INFO: Extracted packet for processing {"connection_id":125517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411e"} 
[2026-07-08 15:16:33] local.INFO: GPS Element Parsed {"raw_longitude":765109184,"raw_latitude":91755000,"longitude_deg":76.5109184,"latitude_deg":9.1755,"altitude":15,"angle":90,"satellites":41,"speed":0,"hex_longitude":"2d9aa3c0","hex_latitude":"057811f8","is_valid_coordinates":true} 
[2026-07-08 15:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576952064001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303783040942999552,"note":"Value kept but may cause issues"} 
[2026-07-08 15:16:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783503946000,"timestamp_ms":1783503946000,"timestamp_seconds":1783503946,"priority":1,"record_length":96,"hex_timestamp":"0000019f411e8110"} 
[2026-07-08 15:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-08 15:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:16:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576952064001,"66":26039,"24":0,"85":15872,"16":342767183681552384,"45":-7303783040942999552},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576952064001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:16:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303783040942999552,"description":"Unknown IO ID 45"} 
[2026-07-08 15:16:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456576952064001,"power":26039,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303783040942999552}} 
[2026-07-08 15:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":125517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:16:33] local.INFO: GPS data processed {"connection_id":125517,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:16:33] local.INFO: Acknowledgment sent {"connection_id":125517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:16:40] local.INFO: TCP Data received {"connection_id":125641,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f411b6c00012d196380071fef800037006e2a..."} 
[2026-07-08 15:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411b6c00012d196380071fef800037006e2a..."} 
[2026-07-08 15:16:40] local.INFO: Processing buffer {"connection_id":125641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411b6c00012d196380071fef800037006e2a..."} 
[2026-07-08 15:16:40] local.INFO: Packet analysis {"connection_id":125641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411b"} 
[2026-07-08 15:16:40] local.INFO: Extracted packet for processing {"connection_id":125641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411b"} 
[2026-07-08 15:16:40] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576881408001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783503744000,"timestamp_ms":1783503744000,"timestamp_seconds":1783503744,"priority":1,"record_length":96,"hex_timestamp":"0000019f411b6c00"} 
[2026-07-08 15:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:16:40] 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-07-08 15: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":96,"data_length":795,"current_offset":136} 
[2026-07-08 15:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576881408001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576881408001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:16:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:16:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576881408001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":125641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:16:40] local.INFO: GPS data processed {"connection_id":125641,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:16:40] local.INFO: Acknowledgment sent {"connection_id":125641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:16:44] local.INFO: TCP Data received {"connection_id":126396,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126396,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:16:44] local.INFO: Processing buffer {"connection_id":126396,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:16:44] local.INFO: IMEI packet received {"connection_id":126396,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":126396,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:16:50] local.INFO: TCP Data received {"connection_id":126396,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126396,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:16:50] local.INFO: Processing buffer {"connection_id":126396,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:16:50] local.INFO: IMEI packet received {"connection_id":126396,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":126396,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:16:50] local.INFO: TCP Data received {"connection_id":126396,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f411e2350012d0b130007029fc00003013423..."} 
[2026-07-08 15:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411e2350012d0b130007029fc00003013423..."} 
[2026-07-08 15:16:50] local.INFO: Processing buffer {"connection_id":126396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411e2350012d0b130007029fc00003013423..."} 
[2026-07-08 15:16:50] local.INFO: Packet analysis {"connection_id":126396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411e"} 
[2026-07-08 15:16:50] local.INFO: Extracted packet for processing {"connection_id":126396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411e"} 
[2026-07-08 15:16:50] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576926976001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783503922000,"timestamp_ms":1783503922000,"timestamp_seconds":1783503922,"priority":1,"record_length":96,"hex_timestamp":"0000019f411e2350"} 
[2026-07-08 15:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-08 15:16:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:16:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":126396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":126396,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":126396,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:16:50] 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-07-08 15:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576926976001,"66":12406,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 15:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576926976001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:16:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576926976001,"power":12406,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":126396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451978,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:16:51] local.INFO: GPS data processed {"connection_id":126396,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:16:51] local.INFO: Acknowledgment sent {"connection_id":126396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:16:55] local.INFO: TCP Data received {"connection_id":125518,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:16:55] local.INFO: Processing buffer {"connection_id":125518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:16:55] local.INFO: IMEI packet received {"connection_id":125518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":125518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:16:56] local.INFO: TCP Data received {"connection_id":127638,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f411d6fa0012d7bd8c005ec2b00001601010d..."} 
[2026-07-08 15:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411d6fa0012d7bd8c005ec2b00001601010d..."} 
[2026-07-08 15:16:56] local.INFO: Processing buffer {"connection_id":127638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411d6fa0012d7bd8c005ec2b00001601010d..."} 
[2026-07-08 15:16:56] local.INFO: Packet analysis {"connection_id":127638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411d"} 
[2026-07-08 15:16:56] local.INFO: Extracted packet for processing {"connection_id":127638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411d"} 
[2026-07-08 15:16:56] local.INFO: GPS Element Parsed {"raw_longitude":763091136,"raw_latitude":99363584,"longitude_deg":76.3091136,"latitude_deg":9.9363584,"altitude":22,"angle":257,"satellites":13,"speed":24,"hex_longitude":"2d7bd8c0","hex_latitude":"05ec2b00","is_valid_coordinates":true} 
[2026-07-08 15:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576988160001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103704218744913920,"note":"Value kept but may cause issues"} 
[2026-07-08 15:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8934297261210429440,"note":"Value kept but may cause issues"} 
[2026-07-08 15:16: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-07-08 15:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783503876000,"timestamp_ms":1783503876000,"timestamp_seconds":1783503876,"priority":1,"record_length":96,"hex_timestamp":"0000019f411d6fa0"} 
[2026-07-08 15:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-08 15:16: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-07-08 15:16:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":127638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":127638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":127638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:16:56] 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-07-08 15:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 15:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 15:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576988160001,"66":13341,"198":206,"87":13824,"24":24,"16":103704218744913920,"45":8934297261210429440},"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-07-08 15:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 15:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 15:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576988160001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:16:56] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-08 15:16:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 15:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103704218744913920,"km_value":103704218744913.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8934297261210429440,"description":"Unknown IO ID 45"} 
[2026-07-08 15:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576988160001,"power":13341,"unknown_198":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8934297261210429440}} 
[2026-07-08 15:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":127638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451979,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:16:56] local.INFO: GPS data processed {"connection_id":127638,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:16:56] local.INFO: Acknowledgment sent {"connection_id":127638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:17:00] local.INFO: TCP Data received {"connection_id":125519,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:17:00] local.INFO: Processing buffer {"connection_id":125519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:17:00] local.INFO: IMEI packet received {"connection_id":125519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":125519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:17:01] local.INFO: TCP Data received {"connection_id":125518,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:17:01] local.INFO: Processing buffer {"connection_id":125518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:17:01] local.INFO: IMEI packet received {"connection_id":125518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":125518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:17:01] local.INFO: TCP Data received {"connection_id":125518,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f411edae8012d9aa2c0057811c8000f005a29..."} 
[2026-07-08 15:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411edae8012d9aa2c0057811c8000f005a29..."} 
[2026-07-08 15:17:01] local.INFO: Processing buffer {"connection_id":125518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411edae8012d9aa2c0057811c8000f005a29..."} 
[2026-07-08 15:17:01] local.INFO: Packet analysis {"connection_id":125518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411e"} 
[2026-07-08 15:17:01] local.INFO: Extracted packet for processing {"connection_id":125518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411e"} 
[2026-07-08 15:17:01] local.INFO: GPS Element Parsed {"raw_longitude":765108928,"raw_latitude":91754952,"longitude_deg":76.5108928,"latitude_deg":9.1754952,"altitude":15,"angle":90,"satellites":41,"speed":0,"hex_longitude":"2d9aa2c0","hex_latitude":"057811c8","is_valid_coordinates":true} 
[2026-07-08 15:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577010176001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303783040942999552,"note":"Value kept but may cause issues"} 
[2026-07-08 15:17:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783503969000,"timestamp_ms":1783503969000,"timestamp_seconds":1783503969,"priority":1,"record_length":96,"hex_timestamp":"0000019f411edae8"} 
[2026-07-08 15:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:17:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 15:17:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:17:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577010176001,"66":27745,"24":0,"85":15872,"16":342767183681552384,"45":-7303783040942999552},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577010176001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:17:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303783040942999552,"description":"Unknown IO ID 45"} 
[2026-07-08 15:17:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577010176001,"power":27745,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303783040942999552}} 
[2026-07-08 15:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":125518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:17:01] local.INFO: GPS data processed {"connection_id":125518,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:17:01] local.INFO: Acknowledgment sent {"connection_id":125518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:17:05] local.INFO: TCP Data received {"connection_id":125519,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:17:05] local.INFO: Processing buffer {"connection_id":125519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:17:05] local.INFO: IMEI packet received {"connection_id":125519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":125519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:17:07] local.INFO: TCP Data received {"connection_id":125519,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f411b6c00012d196380071fef800037006e2a..."} 
[2026-07-08 15:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411b6c00012d196380071fef800037006e2a..."} 
[2026-07-08 15:17:07] local.INFO: Processing buffer {"connection_id":125519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411b6c00012d196380071fef800037006e2a..."} 
[2026-07-08 15:17:07] local.INFO: Packet analysis {"connection_id":125519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411b"} 
[2026-07-08 15:17:07] local.INFO: Extracted packet for processing {"connection_id":125519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411b"} 
[2026-07-08 15:17:07] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576881408001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783503744000,"timestamp_ms":1783503744000,"timestamp_seconds":1783503744,"priority":1,"record_length":96,"hex_timestamp":"0000019f411b6c00"} 
[2026-07-08 15:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:17: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-07-08 15:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 15:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576881408001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576881408001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:17:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:17:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576881408001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":125519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:17:07] local.INFO: GPS data processed {"connection_id":125519,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:17:07] local.INFO: Acknowledgment sent {"connection_id":125519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:17:22] local.INFO: TCP Data received {"connection_id":126396,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f411e2350012d0b130007029fc00003013423..."} 
[2026-07-08 15:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411e2350012d0b130007029fc00003013423..."} 
[2026-07-08 15:17:22] local.INFO: Processing buffer {"connection_id":126396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411e2350012d0b130007029fc00003013423..."} 
[2026-07-08 15:17:22] local.INFO: Packet analysis {"connection_id":126396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411e"} 
[2026-07-08 15:17:22] local.INFO: Extracted packet for processing {"connection_id":126396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411e"} 
[2026-07-08 15:17:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576926976001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783503922000,"timestamp_ms":1783503922000,"timestamp_seconds":1783503922,"priority":1,"record_length":96,"hex_timestamp":"0000019f411e2350"} 
[2026-07-08 15:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-08 15:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126396,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126396,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:17:22] 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-07-08 15:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576926976001,"66":12406,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"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-07-08 15:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576926976001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:17:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576926976001,"power":12406,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":126396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451982,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:17:22] local.INFO: GPS data processed {"connection_id":126396,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:17:22] local.INFO: Acknowledgment sent {"connection_id":126396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:17:27] local.INFO: TCP Data received {"connection_id":127638,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f411da268012d7bb64005ec2180001400fd0f..."} 
[2026-07-08 15:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411da268012d7bb64005ec2180001400fd0f..."} 
[2026-07-08 15:17:27] local.INFO: Processing buffer {"connection_id":127638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411da268012d7bb64005ec2180001400fd0f..."} 
[2026-07-08 15:17:27] local.INFO: Packet analysis {"connection_id":127638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411d"} 
[2026-07-08 15:17:27] local.INFO: Extracted packet for processing {"connection_id":127638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411d"} 
[2026-07-08 15:17:27] local.INFO: GPS Element Parsed {"raw_longitude":763082304,"raw_latitude":99361152,"longitude_deg":76.3082304,"latitude_deg":9.9361152,"altitude":20,"angle":253,"satellites":15,"speed":29,"hex_longitude":"2d7bb640","hex_latitude":"05ec2180","is_valid_coordinates":true} 
[2026-07-08 15:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576992256001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103704656831578112,"note":"Value kept but may cause issues"} 
[2026-07-08 15:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924093793304248320,"note":"Value kept but may cause issues"} 
[2026-07-08 15:17: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-07-08 15:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783503889000,"timestamp_ms":1783503889000,"timestamp_seconds":1783503889,"priority":1,"record_length":96,"hex_timestamp":"0000019f411da268"} 
[2026-07-08 15:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-08 15:17: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-07-08 15:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":127638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":127638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":127638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:17: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-07-08 15:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 15:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 15:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576992256001,"66":13602,"198":206,"87":13824,"24":29,"16":103704656831578112,"45":8924093793304248320},"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-07-08 15:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 15:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 15:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576992256001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:17:27] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-08 15:17:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 15:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103704656831578112,"km_value":103704656831578.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924093793304248320,"description":"Unknown IO ID 45"} 
[2026-07-08 15:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576992256001,"power":13602,"unknown_198":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8924093793304248320}} 
[2026-07-08 15:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":127638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451983,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:17:27] local.INFO: GPS data processed {"connection_id":127638,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:17:27] local.INFO: Acknowledgment sent {"connection_id":127638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:17:32] local.INFO: TCP Data received {"connection_id":125518,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f411f2cf0012d9aa2c0057811c8000f005a28..."} 
[2026-07-08 15:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411f2cf0012d9aa2c0057811c8000f005a28..."} 
[2026-07-08 15:17:32] local.INFO: Processing buffer {"connection_id":125518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411f2cf0012d9aa2c0057811c8000f005a28..."} 
[2026-07-08 15:17:32] local.INFO: Packet analysis {"connection_id":125518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411f"} 
[2026-07-08 15:17:32] local.INFO: Extracted packet for processing {"connection_id":125518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411f"} 
[2026-07-08 15:17:32] local.INFO: GPS Element Parsed {"raw_longitude":765108928,"raw_latitude":91754952,"longitude_deg":76.5108928,"latitude_deg":9.1754952,"altitude":15,"angle":90,"satellites":40,"speed":0,"hex_longitude":"2d9aa2c0","hex_latitude":"057811c8","is_valid_coordinates":true} 
[2026-07-08 15:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577016064001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7304064515919722496,"note":"Value kept but may cause issues"} 
[2026-07-08 15:17:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783503990000,"timestamp_ms":1783503990000,"timestamp_seconds":1783503990,"priority":1,"record_length":96,"hex_timestamp":"0000019f411f2cf0"} 
[2026-07-08 15:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 15:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577016064001,"66":27658,"24":0,"85":15872,"16":342767183681552384,"45":-7304064515919722496},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577016064001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:17:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7304064515919722496,"description":"Unknown IO ID 45"} 
[2026-07-08 15:17:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577016064001,"power":27658,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7304064515919722496}} 
[2026-07-08 15:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":125518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:17:32] local.INFO: GPS data processed {"connection_id":125518,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:17:32] local.INFO: Acknowledgment sent {"connection_id":125518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:17:38] local.INFO: TCP Data received {"connection_id":125519,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f411b6c00012d196380071fef800037006e2a..."} 
[2026-07-08 15:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411b6c00012d196380071fef800037006e2a..."} 
[2026-07-08 15:17:38] local.INFO: Processing buffer {"connection_id":125519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411b6c00012d196380071fef800037006e2a..."} 
[2026-07-08 15:17:38] local.INFO: Packet analysis {"connection_id":125519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411b"} 
[2026-07-08 15:17:38] local.INFO: Extracted packet for processing {"connection_id":125519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411b"} 
[2026-07-08 15:17:38] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576881408001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783503744000,"timestamp_ms":1783503744000,"timestamp_seconds":1783503744,"priority":1,"record_length":96,"hex_timestamp":"0000019f411b6c00"} 
[2026-07-08 15:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:17:38] 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-07-08 15: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 15:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576881408001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576881408001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:17:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:17:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576881408001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":125519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:17:38] local.INFO: GPS data processed {"connection_id":125519,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:17:38] local.INFO: Acknowledgment sent {"connection_id":125519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:17:44] local.INFO: TCP Data received {"connection_id":126397,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126397,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:17:44] local.INFO: Processing buffer {"connection_id":126397,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:17:44] local.INFO: IMEI packet received {"connection_id":126397,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":126397,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:17:50] local.INFO: TCP Data received {"connection_id":126397,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126397,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:17:50] local.INFO: Processing buffer {"connection_id":126397,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:17:50] local.INFO: IMEI packet received {"connection_id":126397,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":126397,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:17:51] local.INFO: TCP Data received {"connection_id":126397,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f411e2350012d0b130007029fc00003013423..."} 
[2026-07-08 15:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411e2350012d0b130007029fc00003013423..."} 
[2026-07-08 15:17:51] local.INFO: Processing buffer {"connection_id":126397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411e2350012d0b130007029fc00003013423..."} 
[2026-07-08 15:17:51] local.INFO: Packet analysis {"connection_id":126397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411e"} 
[2026-07-08 15:17:51] local.INFO: Extracted packet for processing {"connection_id":126397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411e"} 
[2026-07-08 15:17:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576926976001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783503922000,"timestamp_ms":1783503922000,"timestamp_seconds":1783503922,"priority":1,"record_length":96,"hex_timestamp":"0000019f411e2350"} 
[2026-07-08 15:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-08 15:17:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126397,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126397,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576926976001,"66":12406,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576926976001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:17:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576926976001,"power":12406,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":126397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451986,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:17:51] local.INFO: GPS data processed {"connection_id":126397,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:17:51] local.INFO: Acknowledgment sent {"connection_id":126397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:17:55] local.INFO: TCP Data received {"connection_id":127639,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:17:55] local.INFO: Processing buffer {"connection_id":127639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:17:55] local.INFO: IMEI packet received {"connection_id":127639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":127639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:17:58] local.INFO: TCP Data received {"connection_id":127638,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f411dd918012d7b91c005ec16e0001500fe13..."} 
[2026-07-08 15:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411dd918012d7b91c005ec16e0001500fe13..."} 
[2026-07-08 15:17:58] local.INFO: Processing buffer {"connection_id":127638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411dd918012d7b91c005ec16e0001500fe13..."} 
[2026-07-08 15:17:58] local.INFO: Packet analysis {"connection_id":127638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411d"} 
[2026-07-08 15:17:58] local.INFO: Extracted packet for processing {"connection_id":127638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411d"} 
[2026-07-08 15:17:58] local.INFO: GPS Element Parsed {"raw_longitude":763072960,"raw_latitude":99358432,"longitude_deg":76.307296,"latitude_deg":9.9358432,"altitude":21,"angle":254,"satellites":19,"speed":29,"hex_longitude":"2d7b91c0","hex_latitude":"05ec16e0","is_valid_coordinates":true} 
[2026-07-08 15:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576995584001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103705120688046080,"note":"Value kept but may cause issues"} 
[2026-07-08 15:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8914382906607108096,"note":"Value kept but may cause issues"} 
[2026-07-08 15:17:58] 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-07-08 15:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783503903000,"timestamp_ms":1783503903000,"timestamp_seconds":1783503903,"priority":1,"record_length":96,"hex_timestamp":"0000019f411dd918"} 
[2026-07-08 15:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:17:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-07-08 15:17: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-07-08 15:17:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":127638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":127638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":127638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:17:58] 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-07-08 15:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 15:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 15:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576995584001,"66":13417,"198":206,"87":13824,"24":29,"16":103705120688046080,"45":8914382906607108096},"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-07-08 15:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 15:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 15:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576995584001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:17:58] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-08 15:17:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 15:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103705120688046080,"km_value":103705120688046.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8914382906607108096,"description":"Unknown IO ID 45"} 
[2026-07-08 15:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576995584001,"power":13417,"unknown_198":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8914382906607108096}} 
[2026-07-08 15:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":127638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451987,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:17:58] local.INFO: GPS data processed {"connection_id":127638,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:17:58] local.INFO: Acknowledgment sent {"connection_id":127638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:18:00] local.INFO: TCP Data received {"connection_id":125643,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:18:00] local.INFO: Processing buffer {"connection_id":125643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:18:00] local.INFO: IMEI packet received {"connection_id":125643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":125643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:18:01] local.INFO: TCP Data received {"connection_id":127639,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:18:01] local.INFO: Processing buffer {"connection_id":127639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:18:01] local.INFO: IMEI packet received {"connection_id":127639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":127639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:18:01] local.INFO: TCP Data received {"connection_id":127639,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f411f2cf0012d9aa2c0057811c8000f005a28..."} 
[2026-07-08 15:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411f2cf0012d9aa2c0057811c8000f005a28..."} 
[2026-07-08 15:18:01] local.INFO: Processing buffer {"connection_id":127639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411f2cf0012d9aa2c0057811c8000f005a28..."} 
[2026-07-08 15:18:01] local.INFO: Packet analysis {"connection_id":127639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411f"} 
[2026-07-08 15:18:01] local.INFO: Extracted packet for processing {"connection_id":127639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411f"} 
[2026-07-08 15:18:01] local.INFO: GPS Element Parsed {"raw_longitude":765108928,"raw_latitude":91754952,"longitude_deg":76.5108928,"latitude_deg":9.1754952,"altitude":15,"angle":90,"satellites":40,"speed":0,"hex_longitude":"2d9aa2c0","hex_latitude":"057811c8","is_valid_coordinates":true} 
[2026-07-08 15:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577021440001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7304064515919722496,"note":"Value kept but may cause issues"} 
[2026-07-08 15:18:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783503990000,"timestamp_ms":1783503990000,"timestamp_seconds":1783503990,"priority":1,"record_length":96,"hex_timestamp":"0000019f411f2cf0"} 
[2026-07-08 15:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 15:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577021440001,"66":27658,"24":0,"85":15872,"16":342767183681552384,"45":-7304064515919722496},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577021440001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:18:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7304064515919722496,"description":"Unknown IO ID 45"} 
[2026-07-08 15:18:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577021440001,"power":27658,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7304064515919722496}} 
[2026-07-08 15:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":127639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:18:01] local.INFO: GPS data processed {"connection_id":127639,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:18:01] local.INFO: Acknowledgment sent {"connection_id":127639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:18:03] local.INFO: TCP Data received {"connection_id":125643,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:18:03] local.INFO: Processing buffer {"connection_id":125643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:18:03] local.INFO: IMEI packet received {"connection_id":125643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":125643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:18:05] local.INFO: TCP Data received {"connection_id":125643,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:18:05] local.INFO: Processing buffer {"connection_id":125643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:18:05] local.INFO: IMEI packet received {"connection_id":125643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":125643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:18:07] local.INFO: TCP Data received {"connection_id":125643,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f412003c8012d196380071fef800037006e29..."} 
[2026-07-08 15:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412003c8012d196380071fef800037006e29..."} 
[2026-07-08 15:18:07] local.INFO: Processing buffer {"connection_id":125643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412003c8012d196380071fef800037006e29..."} 
[2026-07-08 15:18:07] local.INFO: Packet analysis {"connection_id":125643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4120"} 
[2026-07-08 15:18:07] local.INFO: Extracted packet for processing {"connection_id":125643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4120"} 
[2026-07-08 15:18:07] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576958464001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783504045000,"timestamp_ms":1783504045000,"timestamp_seconds":1783504045,"priority":1,"record_length":96,"hex_timestamp":"0000019f412003c8"} 
[2026-07-08 15:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 15:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576958464001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576958464001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:18:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:18:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576958464001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":125643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:18:07] local.INFO: GPS data processed {"connection_id":125643,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:18:07] local.INFO: Acknowledgment sent {"connection_id":125643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:18:14] local.INFO: TCP Data received {"connection_id":125521,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125521,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:18:14] local.INFO: Processing buffer {"connection_id":125521,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:18:14] local.INFO: IMEI packet received {"connection_id":125521,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 15:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":125521,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:18:15] local.INFO: TCP Data received {"connection_id":125521,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125521,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:18:15] local.INFO: Processing buffer {"connection_id":125521,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:18:15] local.INFO: IMEI packet received {"connection_id":125521,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 15:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":125521,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:18:16] local.INFO: TCP Data received {"connection_id":125520,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125520,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:18:16] local.INFO: Processing buffer {"connection_id":125520,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:18:16] local.INFO: IMEI packet received {"connection_id":125520,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 15:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":125520,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:18:19] local.INFO: TCP Data received {"connection_id":125521,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125521,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:18:19] local.INFO: Processing buffer {"connection_id":125521,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:18:19] local.INFO: IMEI packet received {"connection_id":125521,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 15:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":125521,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:18:24] local.INFO: TCP Data received {"connection_id":125521,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f411e0be0012d7b6e0005ec0c08001400fb17..."} 
[2026-07-08 15:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411e0be0012d7b6e0005ec0c08001400fb17..."} 
[2026-07-08 15:18:24] local.INFO: Processing buffer {"connection_id":125521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411e0be0012d7b6e0005ec0c08001400fb17..."} 
[2026-07-08 15:18:24] local.INFO: Packet analysis {"connection_id":125521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411e"} 
[2026-07-08 15:18:24] local.INFO: Extracted packet for processing {"connection_id":125521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411e"} 
[2026-07-08 15:18:24] local.INFO: GPS Element Parsed {"raw_longitude":763063808,"raw_latitude":99355656,"longitude_deg":76.3063808,"latitude_deg":9.9355656,"altitude":20,"angle":251,"satellites":23,"speed":29,"hex_longitude":"2d7b6e00","hex_latitude":"05ec0c08","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576999168001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103705575954579456,"note":"Value kept but may cause issues"} 
[2026-07-08 15:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8904109069956472832,"note":"Value kept but may cause issues"} 
[2026-07-08 15:18:24] 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-07-08 15:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783503916000,"timestamp_ms":1783503916000,"timestamp_seconds":1783503916,"priority":1,"record_length":96,"hex_timestamp":"0000019f411e0be0"} 
[2026-07-08 15:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:18:24] 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-07-08 15: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-07-08 15:18:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:18:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125521,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125521,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:18: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-07-08 15:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 15:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 15:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576999168001,"66":13493,"198":206,"87":13824,"24":29,"16":103705575954579456,"45":8904109069956472832},"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-07-08 15:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 15:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 15:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576999168001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:18:24] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-08 15:18:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 15:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103705575954579456,"km_value":103705575954579.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8904109069956472832,"description":"Unknown IO ID 45"} 
[2026-07-08 15:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576999168001,"power":13493,"unknown_198":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8904109069956472832}} 
[2026-07-08 15:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":125521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451990,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:18:24] local.INFO: GPS data processed {"connection_id":125521,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:18:24] local.INFO: Acknowledgment sent {"connection_id":125521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:18:25] local.INFO: TCP Data received {"connection_id":126397,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f411e2350012d0b130007029fc00003013423..."} 
[2026-07-08 15:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411e2350012d0b130007029fc00003013423..."} 
[2026-07-08 15:18:25] local.INFO: Processing buffer {"connection_id":126397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411e2350012d0b130007029fc00003013423..."} 
[2026-07-08 15:18:25] local.INFO: Packet analysis {"connection_id":126397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411e"} 
[2026-07-08 15:18:25] local.INFO: Extracted packet for processing {"connection_id":126397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411e"} 
[2026-07-08 15:18:25] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576926976001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783503922000,"timestamp_ms":1783503922000,"timestamp_seconds":1783503922,"priority":1,"record_length":96,"hex_timestamp":"0000019f411e2350"} 
[2026-07-08 15:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:18:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-08 15:18:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":126397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":126397,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":126397,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:18:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576926976001,"66":12406,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576926976001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:18:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576926976001,"power":12406,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":126397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451991,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:18:25] local.INFO: GPS data processed {"connection_id":126397,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:18:25] local.INFO: Acknowledgment sent {"connection_id":126397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:18:32] local.INFO: TCP Data received {"connection_id":127639,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f411f82e0012d9aa340057812f00010005a28..."} 
[2026-07-08 15:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411f82e0012d9aa340057812f00010005a28..."} 
[2026-07-08 15:18:32] local.INFO: Processing buffer {"connection_id":127639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411f82e0012d9aa340057812f00010005a28..."} 
[2026-07-08 15:18:32] local.INFO: Packet analysis {"connection_id":127639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411f"} 
[2026-07-08 15:18:32] local.INFO: Extracted packet for processing {"connection_id":127639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411f"} 
[2026-07-08 15:18:32] local.INFO: GPS Element Parsed {"raw_longitude":765109056,"raw_latitude":91755248,"longitude_deg":76.5109056,"latitude_deg":9.1755248,"altitude":16,"angle":90,"satellites":40,"speed":0,"hex_longitude":"2d9aa340","hex_latitude":"057812f0","is_valid_coordinates":true} 
[2026-07-08 15:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577021440001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7304064515919722496,"note":"Value kept but may cause issues"} 
[2026-07-08 15:18:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783504012000,"timestamp_ms":1783504012000,"timestamp_seconds":1783504012,"priority":1,"record_length":96,"hex_timestamp":"0000019f411f82e0"} 
[2026-07-08 15:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 15:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577021440001,"66":26636,"24":0,"85":15872,"16":342767183681552384,"45":-7304064515919722496},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577021440001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:18:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7304064515919722496,"description":"Unknown IO ID 45"} 
[2026-07-08 15:18:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577021440001,"power":26636,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7304064515919722496}} 
[2026-07-08 15:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":127639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:18:32] local.INFO: GPS data processed {"connection_id":127639,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:18:32] local.INFO: Acknowledgment sent {"connection_id":127639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:18:43] local.INFO: TCP Data received {"connection_id":125643,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f412003c8012d196380071fef800037006e29..."} 
[2026-07-08 15:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412003c8012d196380071fef800037006e29..."} 
[2026-07-08 15:18:43] local.INFO: Processing buffer {"connection_id":125643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412003c8012d196380071fef800037006e29..."} 
[2026-07-08 15:18:43] local.INFO: Packet analysis {"connection_id":125643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4120"} 
[2026-07-08 15:18:43] local.INFO: Extracted packet for processing {"connection_id":125643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4120"} 
[2026-07-08 15:18:43] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576958464001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:18:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783504045000,"timestamp_ms":1783504045000,"timestamp_seconds":1783504045,"priority":1,"record_length":96,"hex_timestamp":"0000019f412003c8"} 
[2026-07-08 15:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:18:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 15:18:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":125643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":125643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":125643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:18:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576958464001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576958464001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:18:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:18:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576958464001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":125643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:18:43] local.INFO: GPS data processed {"connection_id":125643,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:18:43] local.INFO: Acknowledgment sent {"connection_id":125643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:18:50] local.INFO: TCP Data received {"connection_id":127640,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127640,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:18:50] local.INFO: Processing buffer {"connection_id":127640,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:18:50] local.INFO: IMEI packet received {"connection_id":127640,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":127640,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:18:56] local.INFO: TCP Data received {"connection_id":127640,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127640,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:18:56] local.INFO: Processing buffer {"connection_id":127640,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:18:56] local.INFO: IMEI packet received {"connection_id":127640,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":127640,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:18:56] local.INFO: TCP Data received {"connection_id":125644,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125644,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:18:56] local.INFO: Processing buffer {"connection_id":125644,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:18:56] local.INFO: IMEI packet received {"connection_id":125644,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 15:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":125644,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:18:57] local.INFO: TCP Data received {"connection_id":127640,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f411e2350012d0b130007029fc00003013423..."} 
[2026-07-08 15:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411e2350012d0b130007029fc00003013423..."} 
[2026-07-08 15:18:57] local.INFO: Processing buffer {"connection_id":127640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411e2350012d0b130007029fc00003013423..."} 
[2026-07-08 15:18:57] local.INFO: Packet analysis {"connection_id":127640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411e"} 
[2026-07-08 15:18:57] local.INFO: Extracted packet for processing {"connection_id":127640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411e"} 
[2026-07-08 15:18:57] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576926976001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:18:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783503922000,"timestamp_ms":1783503922000,"timestamp_seconds":1783503922,"priority":1,"record_length":96,"hex_timestamp":"0000019f411e2350"} 
[2026-07-08 15:18:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:18:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-08 15:18:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:18:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:18:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":127640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":127640,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":127640,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:18:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576926976001,"66":12406,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576926976001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:18:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576926976001,"power":12406,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":127640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451994,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:18:57] local.INFO: GPS data processed {"connection_id":127640,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:18:57] local.INFO: Acknowledgment sent {"connection_id":127640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:19:00] local.INFO: TCP Data received {"connection_id":126398,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:19:00] local.INFO: Processing buffer {"connection_id":126398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:19:00] local.INFO: IMEI packet received {"connection_id":126398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":126398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:19:01] local.INFO: TCP Data received {"connection_id":125645,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:19:01] local.INFO: Processing buffer {"connection_id":125645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:19:01] local.INFO: IMEI packet received {"connection_id":125645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":125645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:19:06] local.INFO: TCP Data received {"connection_id":125645,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:19:06] local.INFO: Processing buffer {"connection_id":125645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:19:06] local.INFO: IMEI packet received {"connection_id":125645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":125645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:19:06] local.INFO: TCP Data received {"connection_id":126398,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:19:06] local.INFO: Processing buffer {"connection_id":126398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:19:06] local.INFO: IMEI packet received {"connection_id":126398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":126398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:19:06] local.INFO: TCP Data received {"connection_id":125645,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f411f8ab0012d9aa2c005781288001000f828..."} 
[2026-07-08 15:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411f8ab0012d9aa2c005781288001000f828..."} 
[2026-07-08 15:19:06] local.INFO: Processing buffer {"connection_id":125645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411f8ab0012d9aa2c005781288001000f828..."} 
[2026-07-08 15:19:06] local.INFO: Packet analysis {"connection_id":125645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411f"} 
[2026-07-08 15:19:06] local.INFO: Extracted packet for processing {"connection_id":125645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411f"} 
[2026-07-08 15:19:06] local.INFO: GPS Element Parsed {"raw_longitude":765108928,"raw_latitude":91755144,"longitude_deg":76.5108928,"latitude_deg":9.1755144,"altitude":16,"angle":248,"satellites":40,"speed":0,"hex_longitude":"2d9aa2c0","hex_latitude":"05781288","is_valid_coordinates":true} 
[2026-07-08 15:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577027072001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303923778431291392,"note":"Value kept but may cause issues"} 
[2026-07-08 15:19:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783504014000,"timestamp_ms":1783504014000,"timestamp_seconds":1783504014,"priority":1,"record_length":96,"hex_timestamp":"0000019f411f8ab0"} 
[2026-07-08 15:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-08 15:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577027072001,"66":26582,"24":0,"85":15872,"16":342767183681552384,"45":-7303923778431291392},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577027072001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:19:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303923778431291392,"description":"Unknown IO ID 45"} 
[2026-07-08 15:19:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577027072001,"power":26582,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303923778431291392}} 
[2026-07-08 15:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":125645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:19:06] local.INFO: GPS data processed {"connection_id":125645,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:19:06] local.INFO: Acknowledgment sent {"connection_id":125645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:19:09] local.INFO: TCP Data received {"connection_id":126398,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f412003c8012d196380071fef800037006e29..."} 
[2026-07-08 15:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412003c8012d196380071fef800037006e29..."} 
[2026-07-08 15:19:09] local.INFO: Processing buffer {"connection_id":126398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412003c8012d196380071fef800037006e29..."} 
[2026-07-08 15:19:09] local.INFO: Packet analysis {"connection_id":126398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4120"} 
[2026-07-08 15:19:09] local.INFO: Extracted packet for processing {"connection_id":126398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4120"} 
[2026-07-08 15:19:09] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576958464001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783504045000,"timestamp_ms":1783504045000,"timestamp_seconds":1783504045,"priority":1,"record_length":96,"hex_timestamp":"0000019f412003c8"} 
[2026-07-08 15:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 15:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576958464001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576958464001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:19:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:19:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576958464001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":126398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:19:09] local.INFO: GPS data processed {"connection_id":126398,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:19:09] local.INFO: Acknowledgment sent {"connection_id":126398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:19:11] local.INFO: TCP Data received {"connection_id":126398,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f412003c8012d196380071fef800037006e29..."} 
[2026-07-08 15:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412003c8012d196380071fef800037006e29..."} 
[2026-07-08 15:19:11] local.INFO: Processing buffer {"connection_id":126398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412003c8012d196380071fef800037006e29..."} 
[2026-07-08 15:19:11] local.INFO: Packet analysis {"connection_id":126398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4120"} 
[2026-07-08 15:19:11] local.INFO: Extracted packet for processing {"connection_id":126398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4120"} 
[2026-07-08 15:19:11] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576958464001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783504045000,"timestamp_ms":1783504045000,"timestamp_seconds":1783504045,"priority":1,"record_length":96,"hex_timestamp":"0000019f412003c8"} 
[2026-07-08 15:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:19:11] 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-07-08 15:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 15:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576958464001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576958464001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:19:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:19:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576958464001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:19:11] local.INFO: TCP Data received {"connection_id":125645,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f411fdcb8012d9aa2c005781288001000f827..."} 
[2026-07-08 15:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411fdcb8012d9aa2c005781288001000f827..."} 
[2026-07-08 15:19:11] local.INFO: Processing buffer {"connection_id":125645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411fdcb8012d9aa2c005781288001000f827..."} 
[2026-07-08 15:19:11] local.INFO: Packet analysis {"connection_id":125645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411f"} 
[2026-07-08 15:19:11] local.INFO: Extracted packet for processing {"connection_id":125645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411f"} 
[2026-07-08 15:19:11] local.INFO: GPS Element Parsed {"raw_longitude":765108928,"raw_latitude":91755144,"longitude_deg":76.5108928,"latitude_deg":9.1755144,"altitude":16,"angle":248,"satellites":39,"speed":0,"hex_longitude":"2d9aa2c0","hex_latitude":"05781288","is_valid_coordinates":true} 
[2026-07-08 15:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577027584001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7304064515919673344,"note":"Value kept but may cause issues"} 
[2026-07-08 15:19:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783504035000,"timestamp_ms":1783504035000,"timestamp_seconds":1783504035,"priority":1,"record_length":96,"hex_timestamp":"0000019f411fdcb8"} 
[2026-07-08 15:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-07-08 15:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577027584001,"66":27615,"24":0,"85":15872,"16":342767183681552384,"45":-7304064515919673344},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577027584001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:19:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7304064515919673344,"description":"Unknown IO ID 45"} 
[2026-07-08 15:19:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577027584001,"power":27615,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7304064515919673344}} 
[2026-07-08 15:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":125645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:19:11] local.INFO: GPS data processed {"connection_id":125645,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:19:11] local.INFO: Acknowledgment sent {"connection_id":125645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":126398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:19:11] local.INFO: GPS data processed {"connection_id":126398,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:19:11] local.INFO: Acknowledgment sent {"connection_id":126398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:19:13] local.INFO: TCP Data received {"connection_id":127641,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127641,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:19:13] local.INFO: Processing buffer {"connection_id":127641,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:19:13] local.INFO: IMEI packet received {"connection_id":127641,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 15:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":127641,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:19:19] local.INFO: TCP Data received {"connection_id":127641,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127641,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:19:19] local.INFO: Processing buffer {"connection_id":127641,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:19:19] local.INFO: IMEI packet received {"connection_id":127641,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 15:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":127641,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:19:19] local.INFO: TCP Data received {"connection_id":127641,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f41210980012d7a868005eba408000800f51f..."} 
[2026-07-08 15:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41210980012d7a868005eba408000800f51f..."} 
[2026-07-08 15:19:19] local.INFO: Processing buffer {"connection_id":127641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41210980012d7a868005eba408000800f51f..."} 
[2026-07-08 15:19:19] local.INFO: Packet analysis {"connection_id":127641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4121"} 
[2026-07-08 15:19:19] local.INFO: Extracted packet for processing {"connection_id":127641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4121"} 
[2026-07-08 15:19:19] local.INFO: GPS Element Parsed {"raw_longitude":763004544,"raw_latitude":99329032,"longitude_deg":76.3004544,"latitude_deg":9.9329032,"altitude":8,"angle":245,"satellites":31,"speed":0,"hex_longitude":"2d7a8680","hex_latitude":"05eba408","is_valid_coordinates":true} 
[2026-07-08 15:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577047552001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103708706985738240,"note":"Value kept but may cause issues"} 
[2026-07-08 15:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835077331911204864,"note":"Value kept but may cause issues"} 
[2026-07-08 15:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783504112000,"timestamp_ms":1783504112000,"timestamp_seconds":1783504112,"priority":1,"record_length":96,"hex_timestamp":"0000019f41210980"} 
[2026-07-08 15:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-08 15:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":127641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":127641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":127641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:19: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-07-08 15:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 15:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 15:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577047552001,"66":13678,"155":206,"87":13824,"24":0,"16":103708706985738240,"45":8835077331911204864},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-07-08 15:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 15:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 15:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577047552001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:19:19] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-08 15:19:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 15:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103708706985738240,"km_value":103708706985738.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835077331911204864,"description":"Unknown IO ID 45"} 
[2026-07-08 15:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577047552001,"power":13678,"unknown_155":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8835077331911204864}} 
[2026-07-08 15:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":127641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":451999,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:19:19] local.INFO: GPS data processed {"connection_id":127641,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:19:19] local.INFO: Acknowledgment sent {"connection_id":127641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:19:28] local.INFO: TCP Data received {"connection_id":127640,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f411e2350012d0b130007029fc00003013423..."} 
[2026-07-08 15:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411e2350012d0b130007029fc00003013423..."} 
[2026-07-08 15:19:28] local.INFO: Processing buffer {"connection_id":127640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411e2350012d0b130007029fc00003013423..."} 
[2026-07-08 15:19:28] local.INFO: Packet analysis {"connection_id":127640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411e"} 
[2026-07-08 15:19:28] local.INFO: Extracted packet for processing {"connection_id":127640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411e"} 
[2026-07-08 15:19:28] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576926976001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783503922000,"timestamp_ms":1783503922000,"timestamp_seconds":1783503922,"priority":1,"record_length":96,"hex_timestamp":"0000019f411e2350"} 
[2026-07-08 15:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-08 15:19:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:19:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":127640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":127640,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":127640,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576926976001,"66":12406,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576926976001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:19:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576926976001,"power":12406,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":127640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452000,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:19:28] local.INFO: GPS data processed {"connection_id":127640,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:19:28] local.INFO: Acknowledgment sent {"connection_id":127640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:19:44] local.INFO: TCP Data received {"connection_id":126398,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f412003c8012d196380071fef800037006e29..."} 
[2026-07-08 15:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412003c8012d196380071fef800037006e29..."} 
[2026-07-08 15:19:44] local.INFO: Processing buffer {"connection_id":126398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412003c8012d196380071fef800037006e29..."} 
[2026-07-08 15:19:44] local.INFO: Packet analysis {"connection_id":126398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4120"} 
[2026-07-08 15:19:44] local.INFO: Extracted packet for processing {"connection_id":126398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4120"} 
[2026-07-08 15:19:44] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576958464001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:19:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783504045000,"timestamp_ms":1783504045000,"timestamp_seconds":1783504045,"priority":1,"record_length":96,"hex_timestamp":"0000019f412003c8"} 
[2026-07-08 15:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:19:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 15:19:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:19:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":126398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":126398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":126398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:19:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576958464001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576958464001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:19:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:19:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576958464001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":126398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:19:44] local.INFO: GPS data processed {"connection_id":126398,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:19:44] local.INFO: Acknowledgment sent {"connection_id":126398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:19:44] local.INFO: TCP Data received {"connection_id":125522,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125522,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:19:44] local.INFO: Processing buffer {"connection_id":125522,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:19:44] local.INFO: IMEI packet received {"connection_id":125522,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":125522,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:19:51] local.INFO: TCP Data received {"connection_id":127641,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f41215b88012d7a858005eba348000800f11e..."} 
[2026-07-08 15:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41215b88012d7a858005eba348000800f11e..."} 
[2026-07-08 15:19:51] local.INFO: Processing buffer {"connection_id":127641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41215b88012d7a858005eba348000800f11e..."} 
[2026-07-08 15:19:51] local.INFO: Packet analysis {"connection_id":127641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4121"} 
[2026-07-08 15:19:51] local.INFO: Extracted packet for processing {"connection_id":127641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4121"} 
[2026-07-08 15:19:51] local.INFO: GPS Element Parsed {"raw_longitude":763004288,"raw_latitude":99328840,"longitude_deg":76.3004288,"latitude_deg":9.932884,"altitude":8,"angle":241,"satellites":30,"speed":0,"hex_longitude":"2d7a8580","hex_latitude":"05eba348","is_valid_coordinates":true} 
[2026-07-08 15:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577052672001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103708719870640128,"note":"Value kept but may cause issues"} 
[2026-07-08 15:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8828884882423023616,"note":"Value kept but may cause issues"} 
[2026-07-08 15:19:51] 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-07-08 15:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783504133000,"timestamp_ms":1783504133000,"timestamp_seconds":1783504133,"priority":1,"record_length":96,"hex_timestamp":"0000019f41215b88"} 
[2026-07-08 15:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-07-08 15:19:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:19: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-07-08 15:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 15:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 15:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577052672001,"66":12493,"161":206,"87":13824,"24":0,"16":103708719870640128,"45":8828884882423023616},"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-07-08 15:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 15:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 15:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577052672001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:19:51] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-08 15:19:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 15:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103708719870640128,"km_value":103708719870640.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8828884882423023616,"description":"Unknown IO ID 45"} 
[2026-07-08 15:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577052672001,"power":12493,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8828884882423023616}} 
[2026-07-08 15:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":127641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452002,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:19:51] local.INFO: GPS data processed {"connection_id":127641,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:19:51] local.INFO: Acknowledgment sent {"connection_id":127641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:19:52] local.INFO: TCP Data received {"connection_id":125522,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125522,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:19:52] local.INFO: Processing buffer {"connection_id":125522,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:19:52] local.INFO: IMEI packet received {"connection_id":125522,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":125522,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:19:53] local.INFO: TCP Data received {"connection_id":125522,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f411e2350012d0b130007029fc00003013423..."} 
[2026-07-08 15:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411e2350012d0b130007029fc00003013423..."} 
[2026-07-08 15:19:53] local.INFO: Processing buffer {"connection_id":125522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411e2350012d0b130007029fc00003013423..."} 
[2026-07-08 15:19:53] local.INFO: Packet analysis {"connection_id":125522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411e"} 
[2026-07-08 15:19:53] local.INFO: Extracted packet for processing {"connection_id":125522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411e"} 
[2026-07-08 15:19:53] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 15:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576926976001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783503922000,"timestamp_ms":1783503922000,"timestamp_seconds":1783503922,"priority":1,"record_length":96,"hex_timestamp":"0000019f411e2350"} 
[2026-07-08 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-07-08 15:19:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-08 15:19:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 15:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125522,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125522,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:19:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576926976001,"66":12406,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576926976001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:19:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576926976001,"power":12406,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":125522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452003,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:19:53] local.INFO: GPS data processed {"connection_id":125522,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:19:53] local.INFO: Acknowledgment sent {"connection_id":125522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:19:56] local.INFO: TCP Data received {"connection_id":125523,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:19:56] local.INFO: Processing buffer {"connection_id":125523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:19:56] local.INFO: IMEI packet received {"connection_id":125523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":125523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:20:00] local.INFO: TCP Data received {"connection_id":126400,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:20:00] local.INFO: Processing buffer {"connection_id":126400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:20:00] local.INFO: IMEI packet received {"connection_id":126400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":126400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:20:01] local.INFO: TCP Data received {"connection_id":125523,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:20:01] local.INFO: Processing buffer {"connection_id":125523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:20:01] local.INFO: IMEI packet received {"connection_id":125523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":125523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:20:01] local.INFO: TCP Data received {"connection_id":125523,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f41202ec0012d9aa2c005781288001000f82b..."} 
[2026-07-08 15:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41202ec0012d9aa2c005781288001000f82b..."} 
[2026-07-08 15:20:01] local.INFO: Processing buffer {"connection_id":125523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41202ec0012d9aa2c005781288001000f82b..."} 
[2026-07-08 15:20:01] local.INFO: Packet analysis {"connection_id":125523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4120"} 
[2026-07-08 15:20:01] local.INFO: Extracted packet for processing {"connection_id":125523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4120"} 
[2026-07-08 15:20:01] local.INFO: GPS Element Parsed {"raw_longitude":765108928,"raw_latitude":91755144,"longitude_deg":76.5108928,"latitude_deg":9.1755144,"altitude":16,"angle":248,"satellites":43,"speed":0,"hex_longitude":"2d9aa2c0","hex_latitude":"05781288","is_valid_coordinates":true} 
[2026-07-08 15:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577032960001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7304064515919673344,"note":"Value kept but may cause issues"} 
[2026-07-08 15:20:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783504056000,"timestamp_ms":1783504056000,"timestamp_seconds":1783504056,"priority":1,"record_length":96,"hex_timestamp":"0000019f41202ec0"} 
[2026-07-08 15:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-08 15:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:20:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577032960001,"66":27680,"24":0,"85":15872,"16":342767183681552384,"45":-7304064515919673344},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577032960001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:20:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7304064515919673344,"description":"Unknown IO ID 45"} 
[2026-07-08 15:20:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577032960001,"power":27680,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7304064515919673344}} 
[2026-07-08 15:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":125523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:20:01] local.INFO: GPS data processed {"connection_id":125523,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:20:01] local.INFO: Acknowledgment sent {"connection_id":125523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:20:05] local.INFO: TCP Data received {"connection_id":126400,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:20:05] local.INFO: Processing buffer {"connection_id":126400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:20:05] local.INFO: IMEI packet received {"connection_id":126400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":126400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:20:07] local.INFO: TCP Data received {"connection_id":126400,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f412003c8012d196380071fef800037006e29..."} 
[2026-07-08 15:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412003c8012d196380071fef800037006e29..."} 
[2026-07-08 15:20:07] local.INFO: Processing buffer {"connection_id":126400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412003c8012d196380071fef800037006e29..."} 
[2026-07-08 15:20:07] local.INFO: Packet analysis {"connection_id":126400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4120"} 
[2026-07-08 15:20:07] local.INFO: Extracted packet for processing {"connection_id":126400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4120"} 
[2026-07-08 15:20:07] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576958464001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783504045000,"timestamp_ms":1783504045000,"timestamp_seconds":1783504045,"priority":1,"record_length":96,"hex_timestamp":"0000019f412003c8"} 
[2026-07-08 15:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 15:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576958464001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576958464001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:20:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:20:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576958464001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":126400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:20:07] local.INFO: GPS data processed {"connection_id":126400,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:20:07] local.INFO: Acknowledgment sent {"connection_id":126400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:20:13] local.INFO: TCP Data received {"connection_id":126401,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126401,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:20:13] local.INFO: Processing buffer {"connection_id":126401,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:20:13] local.INFO: IMEI packet received {"connection_id":126401,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 15:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":126401,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:20:14] local.INFO: TCP Data received {"connection_id":126401,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126401,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:20:14] local.INFO: Processing buffer {"connection_id":126401,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:20:14] local.INFO: IMEI packet received {"connection_id":126401,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 15:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":126401,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:20:18] local.INFO: TCP Data received {"connection_id":126401,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126401,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:20:18] local.INFO: Processing buffer {"connection_id":126401,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:20:18] local.INFO: IMEI packet received {"connection_id":126401,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 15:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":126401,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:20:19] local.INFO: TCP Data received {"connection_id":126401,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f41216f10012d7a844005eba3c8000801101e..."} 
[2026-07-08 15:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41216f10012d7a844005eba3c8000801101e..."} 
[2026-07-08 15:20:19] local.INFO: Processing buffer {"connection_id":126401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41216f10012d7a844005eba3c8000801101e..."} 
[2026-07-08 15:20:19] local.INFO: Packet analysis {"connection_id":126401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4121"} 
[2026-07-08 15:20:19] local.INFO: Extracted packet for processing {"connection_id":126401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4121"} 
[2026-07-08 15:20:19] local.INFO: GPS Element Parsed {"raw_longitude":763003968,"raw_latitude":99328968,"longitude_deg":76.3003968,"latitude_deg":9.9328968,"altitude":8,"angle":272,"satellites":30,"speed":3,"hex_longitude":"2d7a8440","hex_latitude":"05eba3c8","is_valid_coordinates":true} 
[2026-07-08 15:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577058048001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103708737050509312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:20:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8828603407446263808,"note":"Value kept but may cause issues"} 
[2026-07-08 15:20:19] 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-07-08 15:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783504138000,"timestamp_ms":1783504138000,"timestamp_seconds":1783504138,"priority":1,"record_length":96,"hex_timestamp":"0000019f41216f10"} 
[2026-07-08 15:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:20:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-08 15:20:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2283,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:20:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":126401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":126401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":126401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:20: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-07-08 15:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 15:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 15:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577058048001,"66":13428,"161":206,"87":13824,"24":3,"16":103708737050509312,"45":8828603407446263808},"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-07-08 15:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 15:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 15:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577058048001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:20:19] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-08 15:20:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 15:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103708737050509312,"km_value":103708737050509.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:20:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8828603407446263808,"description":"Unknown IO ID 45"} 
[2026-07-08 15:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577058048001,"power":13428,"unknown_161":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8828603407446263808}} 
[2026-07-08 15:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":126401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452006,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:20:19] local.INFO: GPS data processed {"connection_id":126401,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:20:19] local.INFO: Acknowledgment sent {"connection_id":126401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:20:27] local.INFO: TCP Data received {"connection_id":125522,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f411e2350012d0b130007029fc00003013423..."} 
[2026-07-08 15:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f411e2350012d0b130007029fc00003013423..."} 
[2026-07-08 15:20:27] local.INFO: Processing buffer {"connection_id":125522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f411e2350012d0b130007029fc00003013423..."} 
[2026-07-08 15:20:27] local.INFO: Packet analysis {"connection_id":125522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f411e"} 
[2026-07-08 15:20:27] local.INFO: Extracted packet for processing {"connection_id":125522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f411e"} 
[2026-07-08 15:20:27] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":3,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576926976001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783503922000,"timestamp_ms":1783503922000,"timestamp_seconds":1783503922,"priority":1,"record_length":96,"hex_timestamp":"0000019f411e2350"} 
[2026-07-08 15:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-08 15:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":125522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":125522,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":125522,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576926976001,"66":12406,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576926976001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:20:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576926976001,"power":12406,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":125522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452007,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:20:27] local.INFO: GPS data processed {"connection_id":125522,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:20:27] local.INFO: Acknowledgment sent {"connection_id":125522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:20:32] local.INFO: TCP Data received {"connection_id":125523,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f41203690012d9aa2c005781288001000f82b..."} 
[2026-07-08 15:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41203690012d9aa2c005781288001000f82b..."} 
[2026-07-08 15:20:32] local.INFO: Processing buffer {"connection_id":125523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41203690012d9aa2c005781288001000f82b..."} 
[2026-07-08 15:20:32] local.INFO: Packet analysis {"connection_id":125523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4120"} 
[2026-07-08 15:20:32] local.INFO: Extracted packet for processing {"connection_id":125523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4120"} 
[2026-07-08 15:20:32] local.INFO: GPS Element Parsed {"raw_longitude":765108928,"raw_latitude":91755144,"longitude_deg":76.5108928,"latitude_deg":9.1755144,"altitude":16,"angle":248,"satellites":43,"speed":0,"hex_longitude":"2d9aa2c0","hex_latitude":"05781288","is_valid_coordinates":true} 
[2026-07-08 15:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577038336001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7304064515919673344,"note":"Value kept but may cause issues"} 
[2026-07-08 15:20:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783504058000,"timestamp_ms":1783504058000,"timestamp_seconds":1783504058,"priority":1,"record_length":96,"hex_timestamp":"0000019f41203690"} 
[2026-07-08 15:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:20: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":32,"data_length":795,"current_offset":136} 
[2026-07-08 15:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1026,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577038336001,"66":27865,"24":0,"85":15872,"16":342767183681552384,"45":-7304064515919673344},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577038336001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:20:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7304064515919673344,"description":"Unknown IO ID 45"} 
[2026-07-08 15:20:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577038336001,"power":27865,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7304064515919673344}} 
[2026-07-08 15:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":125523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:20:32] local.INFO: GPS data processed {"connection_id":125523,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:20:32] local.INFO: Acknowledgment sent {"connection_id":125523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:20:39] local.INFO: TCP Data received {"connection_id":126400,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f412003c8012d196380071fef800037006e29..."} 
[2026-07-08 15:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412003c8012d196380071fef800037006e29..."} 
[2026-07-08 15:20:39] local.INFO: Processing buffer {"connection_id":126400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412003c8012d196380071fef800037006e29..."} 
[2026-07-08 15:20:39] local.INFO: Packet analysis {"connection_id":126400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4120"} 
[2026-07-08 15:20:39] local.INFO: Extracted packet for processing {"connection_id":126400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4120"} 
[2026-07-08 15:20:39] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576958464001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783504045000,"timestamp_ms":1783504045000,"timestamp_seconds":1783504045,"priority":1,"record_length":96,"hex_timestamp":"0000019f412003c8"} 
[2026-07-08 15:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 15:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576958464001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576958464001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:20:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:20:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576958464001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":126400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:20:39] local.INFO: GPS data processed {"connection_id":126400,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:20:39] local.INFO: Acknowledgment sent {"connection_id":126400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:20:44] local.INFO: TCP Data received {"connection_id":125524,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125524,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:20:44] local.INFO: Processing buffer {"connection_id":125524,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:20:44] local.INFO: IMEI packet received {"connection_id":125524,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":125524,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:20:50] local.INFO: TCP Data received {"connection_id":125524,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125524,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:20:50] local.INFO: Processing buffer {"connection_id":125524,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:20:50] local.INFO: IMEI packet received {"connection_id":125524,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":125524,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:20:51] local.INFO: TCP Data received {"connection_id":125524,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4122bb18012d0b130007029fc00015013424..."} 
[2026-07-08 15:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4122bb18012d0b130007029fc00015013424..."} 
[2026-07-08 15:20:51] local.INFO: Processing buffer {"connection_id":125524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4122bb18012d0b130007029fc00015013424..."} 
[2026-07-08 15:20:51] local.INFO: Packet analysis {"connection_id":125524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4122"} 
[2026-07-08 15:20:51] local.INFO: Extracted packet for processing {"connection_id":125524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4122"} 
[2026-07-08 15:20:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":21,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577004032001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783504223000,"timestamp_ms":1783504223000,"timestamp_seconds":1783504223,"priority":1,"record_length":96,"hex_timestamp":"0000019f4122bb18"} 
[2026-07-08 15:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 15:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125524,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125524,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577004032001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577004032001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:20:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577004032001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":125524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452010,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:20:51] local.INFO: GPS data processed {"connection_id":125524,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:20:51] local.INFO: Acknowledgment sent {"connection_id":125524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:20:52] local.INFO: TCP Data received {"connection_id":126401,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f41217ac8012d7a824005eba378000801031e..."} 
[2026-07-08 15:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41217ac8012d7a824005eba378000801031e..."} 
[2026-07-08 15:20:52] local.INFO: Processing buffer {"connection_id":126401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41217ac8012d7a824005eba378000801031e..."} 
[2026-07-08 15:20:52] local.INFO: Packet analysis {"connection_id":126401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4121"} 
[2026-07-08 15:20:52] local.INFO: Extracted packet for processing {"connection_id":126401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4121"} 
[2026-07-08 15:20:52] local.INFO: GPS Element Parsed {"raw_longitude":763003456,"raw_latitude":99328888,"longitude_deg":76.3003456,"latitude_deg":9.9328888,"altitude":8,"angle":259,"satellites":30,"speed":10,"hex_longitude":"2d7a8240","hex_latitude":"05eba378","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577059328001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103708762820313088,"note":"Value kept but may cause issues"} 
[2026-07-08 15:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8828251563725408256,"note":"Value kept but may cause issues"} 
[2026-07-08 15:20:52] 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-07-08 15:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783504141000,"timestamp_ms":1783504141000,"timestamp_seconds":1783504141,"priority":1,"record_length":96,"hex_timestamp":"0000019f41217ac8"} 
[2026-07-08 15:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-08 15:20:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":126401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":126401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":126401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:20:52] 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-07-08 15:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 15:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 15:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577059328001,"66":13330,"161":206,"87":13824,"24":10,"16":103708762820313088,"45":8828251563725408256},"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-07-08 15:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 15:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 15:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577059328001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:20:52] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-08 15:20:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 15:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103708762820313088,"km_value":103708762820313.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8828251563725408256,"description":"Unknown IO ID 45"} 
[2026-07-08 15:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577059328001,"power":13330,"unknown_161":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8828251563725408256}} 
[2026-07-08 15:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":126401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452011,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:20:52] local.INFO: GPS data processed {"connection_id":126401,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:20:52] local.INFO: Acknowledgment sent {"connection_id":126401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:20:55] local.INFO: TCP Data received {"connection_id":126402,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:20:55] local.INFO: Processing buffer {"connection_id":126402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:20:55] local.INFO: IMEI packet received {"connection_id":126402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":126402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:21:00] local.INFO: TCP Data received {"connection_id":125526,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:21:00] local.INFO: Processing buffer {"connection_id":125526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:21:00] local.INFO: IMEI packet received {"connection_id":125526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":125526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:21:01] local.INFO: TCP Data received {"connection_id":126402,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:21:01] local.INFO: Processing buffer {"connection_id":126402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:21:01] local.INFO: IMEI packet received {"connection_id":126402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":126402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:21:01] local.INFO: TCP Data received {"connection_id":126402,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f41203690012d9aa2c005781288001000f82b..."} 
[2026-07-08 15:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41203690012d9aa2c005781288001000f82b..."} 
[2026-07-08 15:21:01] local.INFO: Processing buffer {"connection_id":126402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41203690012d9aa2c005781288001000f82b..."} 
[2026-07-08 15:21:01] local.INFO: Packet analysis {"connection_id":126402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4120"} 
[2026-07-08 15:21:01] local.INFO: Extracted packet for processing {"connection_id":126402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4120"} 
[2026-07-08 15:21:01] local.INFO: GPS Element Parsed {"raw_longitude":765108928,"raw_latitude":91755144,"longitude_deg":76.5108928,"latitude_deg":9.1755144,"altitude":16,"angle":248,"satellites":43,"speed":0,"hex_longitude":"2d9aa2c0","hex_latitude":"05781288","is_valid_coordinates":true} 
[2026-07-08 15:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577038336001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7304064515919673344,"note":"Value kept but may cause issues"} 
[2026-07-08 15:21:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783504058000,"timestamp_ms":1783504058000,"timestamp_seconds":1783504058,"priority":1,"record_length":96,"hex_timestamp":"0000019f41203690"} 
[2026-07-08 15:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":108,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-08 15:21:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1026,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:21:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577038336001,"66":27865,"24":0,"85":15872,"16":342767183681552384,"45":-7304064515919673344},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577038336001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:21:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7304064515919673344,"description":"Unknown IO ID 45"} 
[2026-07-08 15:21:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577038336001,"power":27865,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7304064515919673344}} 
[2026-07-08 15:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":126402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:21:01] local.INFO: GPS data processed {"connection_id":126402,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:21:01] local.INFO: Acknowledgment sent {"connection_id":126402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:21:05] local.INFO: TCP Data received {"connection_id":125526,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:21:05] local.INFO: Processing buffer {"connection_id":125526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:21:05] local.INFO: IMEI packet received {"connection_id":125526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":125526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:21:07] local.INFO: TCP Data received {"connection_id":125526,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f412003c8012d196380071fef800037006e29..."} 
[2026-07-08 15:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412003c8012d196380071fef800037006e29..."} 
[2026-07-08 15:21:07] local.INFO: Processing buffer {"connection_id":125526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412003c8012d196380071fef800037006e29..."} 
[2026-07-08 15:21:07] local.INFO: Packet analysis {"connection_id":125526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4120"} 
[2026-07-08 15:21:07] local.INFO: Extracted packet for processing {"connection_id":125526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4120"} 
[2026-07-08 15:21:07] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576958464001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783504045000,"timestamp_ms":1783504045000,"timestamp_seconds":1783504045,"priority":1,"record_length":96,"hex_timestamp":"0000019f412003c8"} 
[2026-07-08 15:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 15:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576958464001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576958464001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:21:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:21:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576958464001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":125526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:21:07] local.INFO: GPS data processed {"connection_id":125526,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:21:07] local.INFO: Acknowledgment sent {"connection_id":125526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:21:13] local.INFO: TCP Data received {"connection_id":126403,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:21:13] local.INFO: Processing buffer {"connection_id":126403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:21:13] local.INFO: IMEI packet received {"connection_id":126403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 15:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":126403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:21:18] local.INFO: TCP Data received {"connection_id":126403,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:21:18] local.INFO: Processing buffer {"connection_id":126403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:21:18] local.INFO: IMEI packet received {"connection_id":126403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 15:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":126403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:21:19] local.INFO: TCP Data received {"connection_id":126403,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f41219df0012d7a70c005eb9da8000800f81f..."} 
[2026-07-08 15:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41219df0012d7a70c005eb9da8000800f81f..."} 
[2026-07-08 15:21:19] local.INFO: Processing buffer {"connection_id":126403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41219df0012d7a70c005eb9da8000800f81f..."} 
[2026-07-08 15:21:19] local.INFO: Packet analysis {"connection_id":126403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4121"} 
[2026-07-08 15:21:19] local.INFO: Extracted packet for processing {"connection_id":126403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4121"} 
[2026-07-08 15:21:19] local.INFO: GPS Element Parsed {"raw_longitude":762998976,"raw_latitude":99327400,"longitude_deg":76.2998976,"latitude_deg":9.93274,"altitude":8,"angle":248,"satellites":31,"speed":16,"hex_longitude":"2d7a70c0","hex_latitude":"05eb9da8","is_valid_coordinates":true} 
[2026-07-08 15:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577060096001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103708990453579776,"note":"Value kept but may cause issues"} 
[2026-07-08 15:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8827688613771966464,"note":"Value kept but may cause issues"} 
[2026-07-08 15:21:19] 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-07-08 15:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783504150000,"timestamp_ms":1783504150000,"timestamp_seconds":1783504150,"priority":1,"record_length":96,"hex_timestamp":"0000019f41219df0"} 
[2026-07-08 15:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-08 15:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-08 15:21:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 15:21:19] local.WARNING: Large IO value detected {"io_id":114,"raw_value":2231369728,"note":"Value kept but may cause issues"} 
[2026-07-08 15:21:19] local.WARNING: Large IO value detected {"io_id":128,"raw_value":3355520378,"note":"Value kept but may cause issues"} 
[2026-07-08 15:21:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277176870057789712,"note":"Value kept but may cause issues"} 
[2026-07-08 15:21:19] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-4773815540572217856,"note":"Value kept but may cause issues"} 
[2026-07-08 15:21:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033568462,"corrected_to":0} 
[2026-07-08 15:21:19] local.WARNING: Large IO value detected {"io_id":190,"raw_value":2147871673,"note":"Value kept but may cause issues"} 
[2026-07-08 15:21:19] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422269,"note":"Value kept but may cause issues"} 
[2026-07-08 15:21:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3955023872,"note":"Value kept but may cause issues"} 
[2026-07-08 15:21:19] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57770106168432438,"note":"Value kept but may cause issues"} 
[2026-07-08 15:21:19] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-2542280694805577723,"note":"Value kept but may cause issues"} 
[2026-07-08 15:21:19] local.WARNING: Large IO value detected {"io_id":61,"raw_value":-7277590123867269120,"note":"Value kept but may cause issues"} 
[2026-07-08 15:21:19] local.WARNING: Large IO value detected {"io_id":40,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-08 15:21:19] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,161,87,24,241,157,16,114,159,111,45,64,163,8,30,10,66,91,128,9,1,240,110,227,65,235,4,113,205,27,190,248,33,239,51,155,2,112,5,14,187,31,61,40],"length":626,"final_offset":756,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1033568462,"validated":0}]} 
[2026-07-08 15:21:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576745654664691712,"timestamp_seconds":576745654664691.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 15:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":126403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":126403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":126403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:21: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-07-08 15:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 15:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 15:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577060096001,"66":13341,"161":206,"87":13824,"24":16,"16":103708990453579776,"45":8827688613771966464},"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-07-08 15:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 15:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 15:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577060096001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:21:19] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-08 15:21:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 15:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103708990453579776,"km_value":103708990453579.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8827688613771966464,"description":"Unknown IO ID 45"} 
[2026-07-08 15:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577060096001,"power":13341,"unknown_161":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8827688613771966464}} 
[2026-07-08 15:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":126403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452014,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:21:19] local.INFO: GPS data processed {"connection_id":126403,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:21:19] local.INFO: Acknowledgment sent {"connection_id":126403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:21:22] local.INFO: TCP Data received {"connection_id":125524,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4122bb18012d0b130007029fc00015013424..."} 
[2026-07-08 15:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4122bb18012d0b130007029fc00015013424..."} 
[2026-07-08 15:21:22] local.INFO: Processing buffer {"connection_id":125524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4122bb18012d0b130007029fc00015013424..."} 
[2026-07-08 15:21:22] local.INFO: Packet analysis {"connection_id":125524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4122"} 
[2026-07-08 15:21:22] local.INFO: Extracted packet for processing {"connection_id":125524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4122"} 
[2026-07-08 15:21:22] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":21,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577004032001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783504223000,"timestamp_ms":1783504223000,"timestamp_seconds":1783504223,"priority":1,"record_length":96,"hex_timestamp":"0000019f4122bb18"} 
[2026-07-08 15:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:21:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 15:21:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125524,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125524,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577004032001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577004032001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:21:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577004032001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":125524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452015,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:21:22] local.INFO: GPS data processed {"connection_id":125524,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:21:22] local.INFO: Acknowledgment sent {"connection_id":125524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:21:32] local.INFO: TCP Data received {"connection_id":126402,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f41203690012d9aa2c005781288001000f82b..."} 
[2026-07-08 15:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41203690012d9aa2c005781288001000f82b..."} 
[2026-07-08 15:21:32] local.INFO: Processing buffer {"connection_id":126402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41203690012d9aa2c005781288001000f82b..."} 
[2026-07-08 15:21:32] local.INFO: Packet analysis {"connection_id":126402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4120"} 
[2026-07-08 15:21:32] local.INFO: Extracted packet for processing {"connection_id":126402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4120"} 
[2026-07-08 15:21:32] local.INFO: GPS Element Parsed {"raw_longitude":765108928,"raw_latitude":91755144,"longitude_deg":76.5108928,"latitude_deg":9.1755144,"altitude":16,"angle":248,"satellites":43,"speed":0,"hex_longitude":"2d9aa2c0","hex_latitude":"05781288","is_valid_coordinates":true} 
[2026-07-08 15:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577038336001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7304064515919673344,"note":"Value kept but may cause issues"} 
[2026-07-08 15:21:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783504058000,"timestamp_ms":1783504058000,"timestamp_seconds":1783504058,"priority":1,"record_length":96,"hex_timestamp":"0000019f41203690"} 
[2026-07-08 15:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-08 15:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1026,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:21:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577038336001,"66":27865,"24":0,"85":15872,"16":342767183681552384,"45":-7304064515919673344},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577038336001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:21:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7304064515919673344,"description":"Unknown IO ID 45"} 
[2026-07-08 15:21:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577038336001,"power":27865,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7304064515919673344}} 
[2026-07-08 15:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":126402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:21:32] local.INFO: GPS data processed {"connection_id":126402,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:21:32] local.INFO: Acknowledgment sent {"connection_id":126402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:21:38] local.INFO: TCP Data received {"connection_id":125526,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f412003c8012d196380071fef800037006e29..."} 
[2026-07-08 15:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412003c8012d196380071fef800037006e29..."} 
[2026-07-08 15:21:38] local.INFO: Processing buffer {"connection_id":125526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412003c8012d196380071fef800037006e29..."} 
[2026-07-08 15:21:38] local.INFO: Packet analysis {"connection_id":125526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4120"} 
[2026-07-08 15:21:38] local.INFO: Extracted packet for processing {"connection_id":125526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4120"} 
[2026-07-08 15:21:38] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576958464001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783504045000,"timestamp_ms":1783504045000,"timestamp_seconds":1783504045,"priority":1,"record_length":96,"hex_timestamp":"0000019f412003c8"} 
[2026-07-08 15:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 15:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576958464001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576958464001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:21:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:21:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576958464001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":125526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:21:38] local.INFO: GPS data processed {"connection_id":125526,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:21:38] local.INFO: Acknowledgment sent {"connection_id":125526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:21:49] local.INFO: TCP Data received {"connection_id":126404,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126404,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:21:49] local.INFO: Processing buffer {"connection_id":126404,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:21:49] local.INFO: IMEI packet received {"connection_id":126404,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":126404,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:21:50] local.INFO: TCP Data received {"connection_id":126403,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4121eff8012d7a640005eb97e0000801021f..."} 
[2026-07-08 15:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4121eff8012d7a640005eb97e0000801021f..."} 
[2026-07-08 15:21:50] local.INFO: Processing buffer {"connection_id":126403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4121eff8012d7a640005eb97e0000801021f..."} 
[2026-07-08 15:21:50] local.INFO: Packet analysis {"connection_id":126403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4121"} 
[2026-07-08 15:21:50] local.INFO: Extracted packet for processing {"connection_id":126403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4121"} 
[2026-07-08 15:21:50] local.INFO: GPS Element Parsed {"raw_longitude":762995712,"raw_latitude":99325920,"longitude_deg":76.2995712,"latitude_deg":9.932592,"altitude":8,"angle":258,"satellites":31,"speed":0,"hex_longitude":"2d7a6400","hex_latitude":"05eb97e0","is_valid_coordinates":true} 
[2026-07-08 15:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577062400001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103709162252271616,"note":"Value kept but may cause issues"} 
[2026-07-08 15:21:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8822762801679149056,"note":"Value kept but may cause issues"} 
[2026-07-08 15:21:50] 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-07-08 15:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783504171000,"timestamp_ms":1783504171000,"timestamp_seconds":1783504171,"priority":1,"record_length":96,"hex_timestamp":"0000019f4121eff8"} 
[2026-07-08 15:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:21:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-08 15:21:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:21:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":126403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":126403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":126403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:21: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-07-08 15:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 15:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 15:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577062400001,"66":13319,"161":206,"87":13824,"24":0,"16":103709162252271616,"45":8822762801679149056},"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-07-08 15:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 15:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 15:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577062400001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:21:50] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-08 15:21:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 15:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103709162252271616,"km_value":103709162252271.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:21:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8822762801679149056,"description":"Unknown IO ID 45"} 
[2026-07-08 15:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577062400001,"power":13319,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8822762801679149056}} 
[2026-07-08 15:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":126403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452018,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:21:50] local.INFO: GPS data processed {"connection_id":126403,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:21:50] local.INFO: Acknowledgment sent {"connection_id":126403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:21:54] local.INFO: TCP Data received {"connection_id":126404,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126404,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:21:54] local.INFO: Processing buffer {"connection_id":126404,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:21:54] local.INFO: IMEI packet received {"connection_id":126404,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":126404,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:21:55] local.INFO: TCP Data received {"connection_id":125528,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:21:55] local.INFO: Processing buffer {"connection_id":125528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:21:55] local.INFO: IMEI packet received {"connection_id":125528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":125528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:22:00] local.INFO: TCP Data received {"connection_id":126404,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4122bb18012d0b130007029fc00015013424..."} 
[2026-07-08 15:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4122bb18012d0b130007029fc00015013424..."} 
[2026-07-08 15:22:00] local.INFO: Processing buffer {"connection_id":126404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4122bb18012d0b130007029fc00015013424..."} 
[2026-07-08 15:22:00] local.INFO: Packet analysis {"connection_id":126404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4122"} 
[2026-07-08 15:22:00] local.INFO: Extracted packet for processing {"connection_id":126404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4122"} 
[2026-07-08 15:22:00] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":21,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577004032001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783504223000,"timestamp_ms":1783504223000,"timestamp_seconds":1783504223,"priority":1,"record_length":96,"hex_timestamp":"0000019f4122bb18"} 
[2026-07-08 15:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 15:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:22:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126404,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126404,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577004032001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577004032001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:22:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577004032001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:22:00] local.INFO: TCP Data received {"connection_id":125646,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:22:00] local.INFO: Processing buffer {"connection_id":125646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:22:00] local.INFO: IMEI packet received {"connection_id":125646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":125646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":126404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452019,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:22:00] local.INFO: GPS data processed {"connection_id":126404,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:22:00] local.INFO: Acknowledgment sent {"connection_id":126404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:22:01] local.INFO: TCP Data received {"connection_id":125528,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:22:01] local.INFO: Processing buffer {"connection_id":125528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:22:01] local.INFO: IMEI packet received {"connection_id":125528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":125528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:22:01] local.INFO: TCP Data received {"connection_id":125528,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41203690012d9aa2c005781288001000f82b..."} 
[2026-07-08 15:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41203690012d9aa2c005781288001000f82b..."} 
[2026-07-08 15:22:01] local.INFO: Processing buffer {"connection_id":125528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41203690012d9aa2c005781288001000f82b..."} 
[2026-07-08 15:22:01] local.INFO: Packet analysis {"connection_id":125528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4120"} 
[2026-07-08 15:22:01] local.INFO: Extracted packet for processing {"connection_id":125528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4120"} 
[2026-07-08 15:22:01] local.INFO: GPS Element Parsed {"raw_longitude":765108928,"raw_latitude":91755144,"longitude_deg":76.5108928,"latitude_deg":9.1755144,"altitude":16,"angle":248,"satellites":43,"speed":0,"hex_longitude":"2d9aa2c0","hex_latitude":"05781288","is_valid_coordinates":true} 
[2026-07-08 15:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577038336001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7304064515919673344,"note":"Value kept but may cause issues"} 
[2026-07-08 15:22:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783504058000,"timestamp_ms":1783504058000,"timestamp_seconds":1783504058,"priority":1,"record_length":96,"hex_timestamp":"0000019f41203690"} 
[2026-07-08 15:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:22:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-08 15:22:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1026,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:22:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:22:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577038336001,"66":27865,"24":0,"85":15872,"16":342767183681552384,"45":-7304064515919673344},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577038336001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:22:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7304064515919673344,"description":"Unknown IO ID 45"} 
[2026-07-08 15:22:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577038336001,"power":27865,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7304064515919673344}} 
[2026-07-08 15:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":125528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:22:01] local.INFO: GPS data processed {"connection_id":125528,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:22:01] local.INFO: Acknowledgment sent {"connection_id":125528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:22:05] local.INFO: TCP Data received {"connection_id":125646,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:22:05] local.INFO: Processing buffer {"connection_id":125646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:22:05] local.INFO: IMEI packet received {"connection_id":125646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":125646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:22:07] local.INFO: TCP Data received {"connection_id":125646,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f412003c8012d196380071fef800037006e29..."} 
[2026-07-08 15:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412003c8012d196380071fef800037006e29..."} 
[2026-07-08 15:22:07] local.INFO: Processing buffer {"connection_id":125646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412003c8012d196380071fef800037006e29..."} 
[2026-07-08 15:22:07] local.INFO: Packet analysis {"connection_id":125646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4120"} 
[2026-07-08 15:22:07] local.INFO: Extracted packet for processing {"connection_id":125646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4120"} 
[2026-07-08 15:22:07] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576958464001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783504045000,"timestamp_ms":1783504045000,"timestamp_seconds":1783504045,"priority":1,"record_length":96,"hex_timestamp":"0000019f412003c8"} 
[2026-07-08 15:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 15:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576958464001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576958464001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:22:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:22:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576958464001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":125646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:22:07] local.INFO: GPS data processed {"connection_id":125646,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:22:07] local.INFO: Acknowledgment sent {"connection_id":125646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:22:13] local.INFO: TCP Data received {"connection_id":125529,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125529,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:22:13] local.INFO: Processing buffer {"connection_id":125529,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:22:13] local.INFO: IMEI packet received {"connection_id":125529,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 15:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":125529,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:22:16] local.INFO: TCP Data received {"connection_id":125529,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125529,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:22:16] local.INFO: Processing buffer {"connection_id":125529,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:22:16] local.INFO: IMEI packet received {"connection_id":125529,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 15:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":125529,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:22:19] local.INFO: TCP Data received {"connection_id":125529,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125529,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:22:19] local.INFO: Processing buffer {"connection_id":125529,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:22:19] local.INFO: IMEI packet received {"connection_id":125529,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 15:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":125529,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:22:19] local.INFO: TCP Data received {"connection_id":125529,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4123cc88012d7a228005ebf7e80003015221..."} 
[2026-07-08 15:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4123cc88012d7a228005ebf7e80003015221..."} 
[2026-07-08 15:22:19] local.INFO: Processing buffer {"connection_id":125529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4123cc88012d7a228005ebf7e80003015221..."} 
[2026-07-08 15:22:19] local.INFO: Packet analysis {"connection_id":125529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4123"} 
[2026-07-08 15:22:19] local.INFO: Extracted packet for processing {"connection_id":125529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4123"} 
[2026-07-08 15:22:19] local.INFO: GPS Element Parsed {"raw_longitude":762978944,"raw_latitude":99350504,"longitude_deg":76.2978944,"latitude_deg":9.9350504,"altitude":3,"angle":338,"satellites":33,"speed":24,"hex_longitude":"2d7a2280","hex_latitude":"05ebf7e8","is_valid_coordinates":true} 
[2026-07-08 15:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577094656001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103710738505269248,"note":"Value kept but may cause issues"} 
[2026-07-08 15:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805029878150250496,"note":"Value kept but may cause issues"} 
[2026-07-08 15:22:19] 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-07-08 15:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783504293000,"timestamp_ms":1783504293000,"timestamp_seconds":1783504293,"priority":1,"record_length":96,"hex_timestamp":"0000019f4123cc88"} 
[2026-07-08 15:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:22:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-08 15:22:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 15:22:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-08 15:22:19] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-7502996944822592256,"note":"Value kept but may cause issues"} 
[2026-07-08 15:22:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765526222,"corrected_to":0} 
[2026-07-08 15:22:19] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2818649466,"note":"Value kept but may cause issues"} 
[2026-07-08 15:22:19] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3221613460,"note":"Value kept but may cause issues"} 
[2026-07-08 15:22:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3952355328,"note":"Value kept but may cause issues"} 
[2026-07-08 15:22:19] local.WARNING: Large IO value detected {"io_id":220,"raw_value":57752539752191798,"note":"Value kept but may cause issues"} 
[2026-07-08 15:22:19] local.WARNING: Large IO value detected {"io_id":34,"raw_value":-1868992550520225787,"note":"Value kept but may cause issues"} 
[2026-07-08 15:22:19] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,163,87,24,241,157,16,115,159,91,45,128,185,7,30,10,66,44,152,8,161,40,1,240,214,227,65,235,4,113,205,18,32,85,160,29,239,52,2,112,5,220,34],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":765526222,"validated":0}]} 
[2026-07-08 15:22:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288597746181079040,"timestamp_seconds":288597746181079.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 15:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":125529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":125529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":125529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:22: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-07-08 15:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 15:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 15:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577094656001,"66":13048,"163":206,"87":13824,"24":24,"16":103710738505269248,"45":8805029878150250496},"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-07-08 15:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 15:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 15:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577094656001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:22:19] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-08 15:22:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 15:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103710738505269248,"km_value":103710738505269.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805029878150250496,"description":"Unknown IO ID 45"} 
[2026-07-08 15:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577094656001,"power":13048,"unknown_163":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8805029878150250496}} 
[2026-07-08 15:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":125529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452022,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:22:20] local.INFO: GPS data processed {"connection_id":125529,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:22:20] local.INFO: Acknowledgment sent {"connection_id":125529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:22:34] local.INFO: TCP Data received {"connection_id":125528,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41203690012d9aa2c005781288001000f82b..."} 
[2026-07-08 15:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41203690012d9aa2c005781288001000f82b..."} 
[2026-07-08 15:22:34] local.INFO: Processing buffer {"connection_id":125528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41203690012d9aa2c005781288001000f82b..."} 
[2026-07-08 15:22:34] local.INFO: Packet analysis {"connection_id":125528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4120"} 
[2026-07-08 15:22:34] local.INFO: Extracted packet for processing {"connection_id":125528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4120"} 
[2026-07-08 15:22:34] local.INFO: GPS Element Parsed {"raw_longitude":765108928,"raw_latitude":91755144,"longitude_deg":76.5108928,"latitude_deg":9.1755144,"altitude":16,"angle":248,"satellites":43,"speed":0,"hex_longitude":"2d9aa2c0","hex_latitude":"05781288","is_valid_coordinates":true} 
[2026-07-08 15:22: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-07-08 15:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577038336001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7304064515919673344,"note":"Value kept but may cause issues"} 
[2026-07-08 15:22:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783504058000,"timestamp_ms":1783504058000,"timestamp_seconds":1783504058,"priority":1,"record_length":96,"hex_timestamp":"0000019f41203690"} 
[2026-07-08 15:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":108,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-08 15:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1026,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:22:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577038336001,"66":27865,"24":0,"85":15872,"16":342767183681552384,"45":-7304064515919673344},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577038336001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:22:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7304064515919673344,"description":"Unknown IO ID 45"} 
[2026-07-08 15:22:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577038336001,"power":27865,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7304064515919673344}} 
[2026-07-08 15:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":125528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:22:34] local.INFO: GPS data processed {"connection_id":125528,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:22:34] local.INFO: Acknowledgment sent {"connection_id":125528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:22:38] local.INFO: TCP Data received {"connection_id":125646,"ip":"117.224.150.222","data_length":795,"data_hex":"000000000000030f8e0a0000019f412003c8012d196380071fef800037006e29..."} 
[2026-07-08 15:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412003c8012d196380071fef800037006e29..."} 
[2026-07-08 15:22:38] local.INFO: Processing buffer {"connection_id":125646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412003c8012d196380071fef800037006e29..."} 
[2026-07-08 15:22:38] local.INFO: Packet analysis {"connection_id":125646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4120"} 
[2026-07-08 15:22:38] local.INFO: Extracted packet for processing {"connection_id":125646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4120"} 
[2026-07-08 15:22:38] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533440,"longitude_deg":75.6638592,"latitude_deg":11.953344,"altitude":55,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-08 15:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456576958464001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4815629001424896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731469312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783504045000,"timestamp_ms":1783504045000,"timestamp_seconds":1783504045,"priority":1,"record_length":96,"hex_timestamp":"0000019f412003c8"} 
[2026-07-08 15:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 15:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.150.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456576958464001,"66":2166,"121":206,"28":31744,"24":0,"16":4815629001424896,"45":1829446641731469312},"client_ip":"117.224.150.222","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-08 15:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456576958464001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:22:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 15:22:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-08 15:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4815629001424896,"km_value":4815629001424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731469312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456576958464001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829446641731469312}} 
[2026-07-08 15:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":125646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:22:39] local.INFO: GPS data processed {"connection_id":125646,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:22:39] local.INFO: Acknowledgment sent {"connection_id":125646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:22:48] local.INFO: TCP Data received {"connection_id":125530,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125530,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:22:48] local.INFO: Processing buffer {"connection_id":125530,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:22:48] local.INFO: IMEI packet received {"connection_id":125530,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":125530,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:22:50] local.INFO: TCP Data received {"connection_id":125530,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125530,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:22:50] local.INFO: Processing buffer {"connection_id":125530,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:22:50] local.INFO: IMEI packet received {"connection_id":125530,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":125530,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:22:50] local.INFO: TCP Data received {"connection_id":125529,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f41241e90012d7a168005ec19080009015221..."} 
[2026-07-08 15:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41241e90012d7a168005ec19080009015221..."} 
[2026-07-08 15:22:50] local.INFO: Processing buffer {"connection_id":125529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41241e90012d7a168005ec19080009015221..."} 
[2026-07-08 15:22:50] local.INFO: Packet analysis {"connection_id":125529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4124"} 
[2026-07-08 15:22:50] local.INFO: Extracted packet for processing {"connection_id":125529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4124"} 
[2026-07-08 15:22:50] local.INFO: GPS Element Parsed {"raw_longitude":762975872,"raw_latitude":99358984,"longitude_deg":76.2975872,"latitude_deg":9.9358984,"altitude":9,"angle":338,"satellites":33,"speed":22,"hex_longitude":"2d7a1680","hex_latitude":"05ec1908","is_valid_coordinates":true} 
[2026-07-08 15:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577099008001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103711180886900736,"note":"Value kept but may cause issues"} 
[2026-07-08 15:22:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800737384757454848,"note":"Value kept but may cause issues"} 
[2026-07-08 15:22:50] 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-07-08 15:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783504314000,"timestamp_ms":1783504314000,"timestamp_seconds":1783504314,"priority":1,"record_length":96,"hex_timestamp":"0000019f41241e90"} 
[2026-07-08 15:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-08 15:22:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:22:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":125529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":125529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":125529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:22: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-07-08 15:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 15:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 15:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577099008001,"66":13319,"156":206,"87":13824,"24":22,"16":103711180886900736,"45":8800737384757454848},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-08 15:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 15:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 15:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577099008001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:22:50] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 15:22:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 15:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103711180886900736,"km_value":103711180886900.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:22:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800737384757454848,"description":"Unknown IO ID 45"} 
[2026-07-08 15:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577099008001,"power":13319,"unknown_156":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8800737384757454848}} 
[2026-07-08 15:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":125529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452025,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:22:51] local.INFO: GPS data processed {"connection_id":125529,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:22:51] local.INFO: Acknowledgment sent {"connection_id":125529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:22:51] local.INFO: TCP Data received {"connection_id":125530,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4122bb18012d0b130007029fc00015013424..."} 
[2026-07-08 15:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4122bb18012d0b130007029fc00015013424..."} 
[2026-07-08 15:22:51] local.INFO: Processing buffer {"connection_id":125530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4122bb18012d0b130007029fc00015013424..."} 
[2026-07-08 15:22:51] local.INFO: Packet analysis {"connection_id":125530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4122"} 
[2026-07-08 15:22:51] local.INFO: Extracted packet for processing {"connection_id":125530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4122"} 
[2026-07-08 15:22:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":21,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577004032001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783504223000,"timestamp_ms":1783504223000,"timestamp_seconds":1783504223,"priority":1,"record_length":96,"hex_timestamp":"0000019f4122bb18"} 
[2026-07-08 15:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 15:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:22:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577004032001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577004032001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:22:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577004032001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":125530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452026,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:22:51] local.INFO: GPS data processed {"connection_id":125530,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:22:51] local.INFO: Acknowledgment sent {"connection_id":125530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:22:55] local.INFO: TCP Data received {"connection_id":125531,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:22:55] local.INFO: Processing buffer {"connection_id":125531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:22:55] local.INFO: IMEI packet received {"connection_id":125531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":125531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:23:00] local.INFO: TCP Data received {"connection_id":125648,"ip":"117.224.150.222","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:23:00] local.INFO: Processing buffer {"connection_id":125648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:23:00] local.INFO: IMEI packet received {"connection_id":125648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":125648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:23:01] local.INFO: TCP Data received {"connection_id":125531,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:23:01] local.INFO: Processing buffer {"connection_id":125531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:23:01] local.INFO: IMEI packet received {"connection_id":125531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":125531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:23:01] local.INFO: TCP Data received {"connection_id":125531,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41203690012d9aa2c005781288001000f82b..."} 
[2026-07-08 15:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41203690012d9aa2c005781288001000f82b..."} 
[2026-07-08 15:23:01] local.INFO: Processing buffer {"connection_id":125531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41203690012d9aa2c005781288001000f82b..."} 
[2026-07-08 15:23:01] local.INFO: Packet analysis {"connection_id":125531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4120"} 
[2026-07-08 15:23:01] local.INFO: Extracted packet for processing {"connection_id":125531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4120"} 
[2026-07-08 15:23:01] local.INFO: GPS Element Parsed {"raw_longitude":765108928,"raw_latitude":91755144,"longitude_deg":76.5108928,"latitude_deg":9.1755144,"altitude":16,"angle":248,"satellites":43,"speed":0,"hex_longitude":"2d9aa2c0","hex_latitude":"05781288","is_valid_coordinates":true} 
[2026-07-08 15:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577038336001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7304064515919673344,"note":"Value kept but may cause issues"} 
[2026-07-08 15:23:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783504058000,"timestamp_ms":1783504058000,"timestamp_seconds":1783504058,"priority":1,"record_length":96,"hex_timestamp":"0000019f41203690"} 
[2026-07-08 15:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-08 15:23:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1026,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577038336001,"66":27865,"24":0,"85":15872,"16":342767183681552384,"45":-7304064515919673344},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577038336001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:23:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7304064515919673344,"description":"Unknown IO ID 45"} 
[2026-07-08 15:23:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577038336001,"power":27865,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7304064515919673344}} 
[2026-07-08 15:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":125531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:23:01] local.INFO: GPS data processed {"connection_id":125531,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:23:01] local.INFO: Acknowledgment sent {"connection_id":125531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:23:02] local.INFO: TCP Data received {"connection_id":125648,"ip":"117.224.150.222","data_length":51,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-08 15:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125648,"packet_length":51,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-08 15:23:02] local.INFO: Processing buffer {"connection_id":125648,"buffer_length":51,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-08 15:23:02] local.INFO: IMEI packet received {"connection_id":125648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":125648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:23:03] local.INFO: TCP Data received {"connection_id":125530,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4122bb18012d0b130007029fc00015013424..."} 
[2026-07-08 15:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4122bb18012d0b130007029fc00015013424..."} 
[2026-07-08 15:23:03] local.INFO: Processing buffer {"connection_id":125530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4122bb18012d0b130007029fc00015013424..."} 
[2026-07-08 15:23:03] local.INFO: Packet analysis {"connection_id":125530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4122"} 
[2026-07-08 15:23:03] local.INFO: Extracted packet for processing {"connection_id":125530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4122"} 
[2026-07-08 15:23:03] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":21,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577004032001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783504223000,"timestamp_ms":1783504223000,"timestamp_seconds":1783504223,"priority":1,"record_length":96,"hex_timestamp":"0000019f4122bb18"} 
[2026-07-08 15:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 15:23: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-07-08 15:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577004032001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577004032001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:23:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577004032001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":125530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452028,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:23:03] local.INFO: GPS data processed {"connection_id":125530,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:23:03] local.INFO: Acknowledgment sent {"connection_id":125530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:23:13] local.INFO: TCP Data received {"connection_id":127642,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127642,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:23:13] local.INFO: Processing buffer {"connection_id":127642,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:23:13] local.INFO: IMEI packet received {"connection_id":127642,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 15:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":127642,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:23:15] local.INFO: TCP Data received {"connection_id":127642,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127642,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:23:15] local.INFO: Processing buffer {"connection_id":127642,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:23:15] local.INFO: IMEI packet received {"connection_id":127642,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 15:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":127642,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:23:19] local.INFO: TCP Data received {"connection_id":127642,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127642,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:23:19] local.INFO: Processing buffer {"connection_id":127642,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:23:19] local.INFO: IMEI packet received {"connection_id":127642,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 15:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":127642,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:23:19] local.INFO: TCP Data received {"connection_id":127642,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f41246cb0012d7a0a4005ec3628000b015c23..."} 
[2026-07-08 15:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41246cb0012d7a0a4005ec3628000b015c23..."} 
[2026-07-08 15:23:19] local.INFO: Processing buffer {"connection_id":127642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41246cb0012d7a0a4005ec3628000b015c23..."} 
[2026-07-08 15:23:19] local.INFO: Packet analysis {"connection_id":127642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4124"} 
[2026-07-08 15:23:19] local.INFO: Extracted packet for processing {"connection_id":127642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4124"} 
[2026-07-08 15:23:19] local.INFO: GPS Element Parsed {"raw_longitude":762972736,"raw_latitude":99366440,"longitude_deg":76.2972736,"latitude_deg":9.936644,"altitude":11,"angle":348,"satellites":35,"speed":0,"hex_longitude":"2d7a0a40","hex_latitude":"05ec3628","is_valid_coordinates":true} 
[2026-07-08 15:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577104384001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103711571728924672,"note":"Value kept but may cause issues"} 
[2026-07-08 15:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797359685039097856,"note":"Value kept but may cause issues"} 
[2026-07-08 15:23:19] 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-07-08 15:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783504334000,"timestamp_ms":1783504334000,"timestamp_seconds":1783504334,"priority":1,"record_length":96,"hex_timestamp":"0000019f41246cb0"} 
[2026-07-08 15:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:23:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-08 15:23:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 15:23:19] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":59392,"corrected_to":0} 
[2026-07-08 15:23:19] local.WARNING: Large IO value detected {"io_id":115,"raw_value":2466250752,"note":"Value kept but may cause issues"} 
[2026-07-08 15:23:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-08 15:23:19] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-7737184125443760896,"note":"Value kept but may cause issues"} 
[2026-07-08 15:23:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765526222,"corrected_to":0} 
[2026-07-08 15:23:19] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3590376749,"note":"Value kept but may cause issues"} 
[2026-07-08 15:23:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3952443392,"note":"Value kept but may cause issues"} 
[2026-07-08 15:23:19] local.WARNING: Large IO value detected {"io_id":94,"raw_value":57752539752191798,"note":"Value kept but may cause issues"} 
[2026-07-08 15:23:19] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2353132100138680325,"note":"Value kept but may cause issues"} 
[2026-07-08 15:23:19] local.INFO: IO Element Parsed {"io_data_count":48,"io_data_keys":[0,156,87,24,241,157,16,116,159,204,45,128,247,3,33,10,66,163,138,192,216,4,31,115,91,1,240,133,227,65,235,113,205,22,40,83,232,30,239,52,161,2,112,5,8,18,94,35],"length":527,"final_offset":657,"validated_count":48,"validation_warnings":[{"io_id":247,"original":59392,"validated":0},{"io_id":205,"original":765526222,"validated":0}]} 
[2026-07-08 15:23:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648890123006902272,"timestamp_seconds":648890123006902.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 15:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":127642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":127642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":127642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:23: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-07-08 15:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 15:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 15:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577104384001,"66":13374,"156":206,"87":13824,"24":0,"16":103711571728924672,"45":8797359685039097856},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-08 15:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 15:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 15:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577104384001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:23:19] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 15:23:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 15:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103711571728924672,"km_value":103711571728924.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797359685039097856,"description":"Unknown IO ID 45"} 
[2026-07-08 15:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577104384001,"power":13374,"unknown_156":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8797359685039097856}} 
[2026-07-08 15:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":127642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452029,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:23:19] local.INFO: GPS data processed {"connection_id":127642,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:23:19] local.INFO: Acknowledgment sent {"connection_id":127642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:23:32] local.INFO: TCP Data received {"connection_id":125531,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4124e1e0012d9aa38005781260001000f82a..."} 
[2026-07-08 15:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4124e1e0012d9aa38005781260001000f82a..."} 
[2026-07-08 15:23:33] local.INFO: Processing buffer {"connection_id":125531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4124e1e0012d9aa38005781260001000f82a..."} 
[2026-07-08 15:23:33] local.INFO: Packet analysis {"connection_id":125531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4124"} 
[2026-07-08 15:23:33] local.INFO: Extracted packet for processing {"connection_id":125531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4124"} 
[2026-07-08 15:23:33] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":16,"angle":248,"satellites":42,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577038848001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7304064515919673344,"note":"Value kept but may cause issues"} 
[2026-07-08 15:23:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783504364000,"timestamp_ms":1783504364000,"timestamp_seconds":1783504364,"priority":1,"record_length":96,"hex_timestamp":"0000019f4124e1e0"} 
[2026-07-08 15:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 15:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577038848001,"66":26267,"24":0,"85":15872,"16":342767183681552384,"45":-7304064515919673344},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577038848001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:23:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7304064515919673344,"description":"Unknown IO ID 45"} 
[2026-07-08 15:23:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577038848001,"power":26267,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7304064515919673344}} 
[2026-07-08 15:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":125531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:23:33] local.INFO: GPS data processed {"connection_id":125531,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:23:33] local.INFO: Acknowledgment sent {"connection_id":125531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:23:44] local.INFO: TCP Data received {"connection_id":125649,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125649,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:23:44] local.INFO: Processing buffer {"connection_id":125649,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:23:44] local.INFO: IMEI packet received {"connection_id":125649,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":125649,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:23:50] local.INFO: TCP Data received {"connection_id":127642,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4124b300012d7a094005ec3dc0000b000223..."} 
[2026-07-08 15:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4124b300012d7a094005ec3dc0000b000223..."} 
[2026-07-08 15:23:50] local.INFO: Processing buffer {"connection_id":127642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4124b300012d7a094005ec3dc0000b000223..."} 
[2026-07-08 15:23:50] local.INFO: Packet analysis {"connection_id":127642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4124"} 
[2026-07-08 15:23:50] local.INFO: Extracted packet for processing {"connection_id":127642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4124"} 
[2026-07-08 15:23:50] local.INFO: GPS Element Parsed {"raw_longitude":762972480,"raw_latitude":99368384,"longitude_deg":76.297248,"latitude_deg":9.9368384,"altitude":11,"angle":2,"satellites":35,"speed":12,"hex_longitude":"2d7a0940","hex_latitude":"05ec3dc0","is_valid_coordinates":true} 
[2026-07-08 15:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577109504001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103711670513172480,"note":"Value kept but may cause issues"} 
[2026-07-08 15:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793911616576301056,"note":"Value kept but may cause issues"} 
[2026-07-08 15:23:50] 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-07-08 15:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783504352000,"timestamp_ms":1783504352000,"timestamp_seconds":1783504352,"priority":1,"record_length":96,"hex_timestamp":"0000019f4124b300"} 
[2026-07-08 15:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-08 15:23:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:23:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":127642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":127642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":127642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:23: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-07-08 15:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 15:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 15:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577109504001,"66":13319,"156":206,"87":13824,"24":12,"16":103711670513172480,"45":8793911616576301056},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-08 15:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 15:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 15:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577109504001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:23:50] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 15:23:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 15:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103711670513172480,"km_value":103711670513172.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793911616576301056,"description":"Unknown IO ID 45"} 
[2026-07-08 15:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577109504001,"power":13319,"unknown_156":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8793911616576301056}} 
[2026-07-08 15:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":127642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452031,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:23:50] local.INFO: GPS data processed {"connection_id":127642,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:23:50] local.INFO: Acknowledgment sent {"connection_id":127642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:23:52] local.INFO: TCP Data received {"connection_id":125649,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125649,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:23:52] local.INFO: Processing buffer {"connection_id":125649,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:23:52] local.INFO: IMEI packet received {"connection_id":125649,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":125649,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:23:53] local.INFO: TCP Data received {"connection_id":125649,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4122bb18012d0b130007029fc00015013424..."} 
[2026-07-08 15:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4122bb18012d0b130007029fc00015013424..."} 
[2026-07-08 15:23:53] local.INFO: Processing buffer {"connection_id":125649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4122bb18012d0b130007029fc00015013424..."} 
[2026-07-08 15:23:53] local.INFO: Packet analysis {"connection_id":125649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4122"} 
[2026-07-08 15:23:53] local.INFO: Extracted packet for processing {"connection_id":125649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4122"} 
[2026-07-08 15:23:53] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":21,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 15:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577004032001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783504223000,"timestamp_ms":1783504223000,"timestamp_seconds":1783504223,"priority":1,"record_length":96,"hex_timestamp":"0000019f4122bb18"} 
[2026-07-08 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-07-08 15:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 15:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 15:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125649,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125649,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577004032001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577004032001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:23:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577004032001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":125649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452032,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:23:53] local.INFO: GPS data processed {"connection_id":125649,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:23:53] local.INFO: Acknowledgment sent {"connection_id":125649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:23:56] local.INFO: TCP Data received {"connection_id":126405,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:23:56] local.INFO: Processing buffer {"connection_id":126405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:23:56] local.INFO: IMEI packet received {"connection_id":126405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":126405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:24:01] local.INFO: TCP Data received {"connection_id":126405,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:24:01] local.INFO: Processing buffer {"connection_id":126405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:24:01] local.INFO: IMEI packet received {"connection_id":126405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":126405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:24:02] local.INFO: TCP Data received {"connection_id":126405,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4124e1e0012d9aa38005781260001000f82a..."} 
[2026-07-08 15:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4124e1e0012d9aa38005781260001000f82a..."} 
[2026-07-08 15:24:02] local.INFO: Processing buffer {"connection_id":126405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4124e1e0012d9aa38005781260001000f82a..."} 
[2026-07-08 15:24:02] local.INFO: Packet analysis {"connection_id":126405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4124"} 
[2026-07-08 15:24:02] local.INFO: Extracted packet for processing {"connection_id":126405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4124"} 
[2026-07-08 15:24:02] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":16,"angle":248,"satellites":42,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577038848001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7304064515919673344,"note":"Value kept but may cause issues"} 
[2026-07-08 15:24:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783504364000,"timestamp_ms":1783504364000,"timestamp_seconds":1783504364,"priority":1,"record_length":96,"hex_timestamp":"0000019f4124e1e0"} 
[2026-07-08 15:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:24:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 15:24:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:24:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577038848001,"66":26267,"24":0,"85":15872,"16":342767183681552384,"45":-7304064515919673344},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577038848001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:24:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7304064515919673344,"description":"Unknown IO ID 45"} 
[2026-07-08 15:24:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577038848001,"power":26267,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7304064515919673344}} 
[2026-07-08 15:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":126405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:24:02] local.INFO: GPS data processed {"connection_id":126405,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:24:02] local.INFO: Acknowledgment sent {"connection_id":126405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:24:16] local.INFO: TCP Data received {"connection_id":125651,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125651,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:24:16] local.INFO: Processing buffer {"connection_id":125651,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:24:16] local.INFO: IMEI packet received {"connection_id":125651,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 15:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":125651,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:24:17] local.INFO: TCP Data received {"connection_id":125651,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125651,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:24:17] local.INFO: Processing buffer {"connection_id":125651,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:24:17] local.INFO: IMEI packet received {"connection_id":125651,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 15:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":125651,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:24:18] local.INFO: TCP Data received {"connection_id":125651,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125651,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:24:18] local.INFO: Processing buffer {"connection_id":125651,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:24:18] local.INFO: IMEI packet received {"connection_id":125651,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 15:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":125651,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:24:19] local.INFO: TCP Data received {"connection_id":125651,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125651,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:24:19] local.INFO: Processing buffer {"connection_id":125651,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:24:19] local.INFO: IMEI packet received {"connection_id":125651,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 15:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":125651,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:24:25] local.INFO: TCP Data received {"connection_id":125649,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4122bb18012d0b130007029fc00015013424..."} 
[2026-07-08 15:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4122bb18012d0b130007029fc00015013424..."} 
[2026-07-08 15:24:25] local.INFO: Processing buffer {"connection_id":125649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4122bb18012d0b130007029fc00015013424..."} 
[2026-07-08 15:24:25] local.INFO: Packet analysis {"connection_id":125649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4122"} 
[2026-07-08 15:24:25] local.INFO: Extracted packet for processing {"connection_id":125649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4122"} 
[2026-07-08 15:24:25] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":21,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577004032001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783504223000,"timestamp_ms":1783504223000,"timestamp_seconds":1783504223,"priority":1,"record_length":96,"hex_timestamp":"0000019f4122bb18"} 
[2026-07-08 15:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 15:24:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":125649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":125649,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":125649,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577004032001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577004032001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:24:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577004032001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":125649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452034,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:24:25] local.INFO: GPS data processed {"connection_id":125649,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:24:25] local.INFO: Acknowledgment sent {"connection_id":125649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:24:33] local.INFO: TCP Data received {"connection_id":126405,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4124e1e0012d9aa38005781260001000f82a..."} 
[2026-07-08 15:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4124e1e0012d9aa38005781260001000f82a..."} 
[2026-07-08 15:24:33] local.INFO: Processing buffer {"connection_id":126405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4124e1e0012d9aa38005781260001000f82a..."} 
[2026-07-08 15:24:33] local.INFO: Packet analysis {"connection_id":126405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4124"} 
[2026-07-08 15:24:33] local.INFO: Extracted packet for processing {"connection_id":126405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4124"} 
[2026-07-08 15:24:33] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":16,"angle":248,"satellites":42,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577038848001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7304064515919673344,"note":"Value kept but may cause issues"} 
[2026-07-08 15:24:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783504364000,"timestamp_ms":1783504364000,"timestamp_seconds":1783504364,"priority":1,"record_length":96,"hex_timestamp":"0000019f4124e1e0"} 
[2026-07-08 15:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 15:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:24:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577038848001,"66":26267,"24":0,"85":15872,"16":342767183681552384,"45":-7304064515919673344},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577038848001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:24:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7304064515919673344,"description":"Unknown IO ID 45"} 
[2026-07-08 15:24:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577038848001,"power":26267,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7304064515919673344}} 
[2026-07-08 15:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":126405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:24:33] local.INFO: GPS data processed {"connection_id":126405,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:24:33] local.INFO: Acknowledgment sent {"connection_id":126405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:24:54] local.INFO: TCP Data received {"connection_id":125533,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125533,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:24:54] local.INFO: Processing buffer {"connection_id":125533,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:24:54] local.INFO: IMEI packet received {"connection_id":125533,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":125533,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:24:55] local.INFO: TCP Data received {"connection_id":125533,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125533,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:24:55] local.INFO: Processing buffer {"connection_id":125533,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:24:55] local.INFO: IMEI packet received {"connection_id":125533,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":125533,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:24:55] local.INFO: TCP Data received {"connection_id":126407,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:24:55] local.INFO: Processing buffer {"connection_id":126407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:24:55] local.INFO: IMEI packet received {"connection_id":126407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":126407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:24:56] local.INFO: TCP Data received {"connection_id":126406,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126406,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:24:56] local.INFO: Processing buffer {"connection_id":126406,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:24:56] local.INFO: IMEI packet received {"connection_id":126406,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 15:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":126406,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:25:01] local.INFO: TCP Data received {"connection_id":126407,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:25:01] local.INFO: Processing buffer {"connection_id":126407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:25:01] local.INFO: IMEI packet received {"connection_id":126407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":126407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:25:01] local.INFO: TCP Data received {"connection_id":125533,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125533,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:25:01] local.INFO: Processing buffer {"connection_id":125533,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:25:01] local.INFO: IMEI packet received {"connection_id":125533,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":125533,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:25:01] local.INFO: TCP Data received {"connection_id":126407,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4124e1e0012d9aa38005781260001000f82a..."} 
[2026-07-08 15:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4124e1e0012d9aa38005781260001000f82a..."} 
[2026-07-08 15:25:01] local.INFO: Processing buffer {"connection_id":126407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4124e1e0012d9aa38005781260001000f82a..."} 
[2026-07-08 15:25:01] local.INFO: Packet analysis {"connection_id":126407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4124"} 
[2026-07-08 15:25:01] local.INFO: Extracted packet for processing {"connection_id":126407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4124"} 
[2026-07-08 15:25:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":16,"angle":248,"satellites":42,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 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-07-08 15:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577038848001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7304064515919673344,"note":"Value kept but may cause issues"} 
[2026-07-08 15:25:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783504364000,"timestamp_ms":1783504364000,"timestamp_seconds":1783504364,"priority":1,"record_length":96,"hex_timestamp":"0000019f4124e1e0"} 
[2026-07-08 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-07-08 15:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 15:25:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 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-07-08 15:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577038848001,"66":26267,"24":0,"85":15872,"16":342767183681552384,"45":-7304064515919673344},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577038848001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:25:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7304064515919673344,"description":"Unknown IO ID 45"} 
[2026-07-08 15:25:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577038848001,"power":26267,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7304064515919673344}} 
[2026-07-08 15:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":126407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:25:01] local.INFO: GPS data processed {"connection_id":126407,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:25:01] local.INFO: Acknowledgment sent {"connection_id":126407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:25:02] local.INFO: TCP Data received {"connection_id":125533,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4122bb18012d0b130007029fc00015013424..."} 
[2026-07-08 15:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4122bb18012d0b130007029fc00015013424..."} 
[2026-07-08 15:25:02] local.INFO: Processing buffer {"connection_id":125533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4122bb18012d0b130007029fc00015013424..."} 
[2026-07-08 15:25:02] local.INFO: Packet analysis {"connection_id":125533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4122"} 
[2026-07-08 15:25:02] local.INFO: Extracted packet for processing {"connection_id":125533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4122"} 
[2026-07-08 15:25:02] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":21,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577004032001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:25: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-07-08 15:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783504223000,"timestamp_ms":1783504223000,"timestamp_seconds":1783504223,"priority":1,"record_length":96,"hex_timestamp":"0000019f4122bb18"} 
[2026-07-08 15:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 15:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:25:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125533,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125533,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577004032001,"66":12580,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577004032001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:25:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577004032001,"power":12580,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":125533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452037,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:25:02] local.INFO: GPS data processed {"connection_id":125533,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:25:02] local.INFO: Acknowledgment sent {"connection_id":125533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:25:32] local.INFO: TCP Data received {"connection_id":126407,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4124e1e0012d9aa38005781260001000f82a..."} 
[2026-07-08 15:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4124e1e0012d9aa38005781260001000f82a..."} 
[2026-07-08 15:25:32] local.INFO: Processing buffer {"connection_id":126407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4124e1e0012d9aa38005781260001000f82a..."} 
[2026-07-08 15:25:32] local.INFO: Packet analysis {"connection_id":126407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4124"} 
[2026-07-08 15:25:32] local.INFO: Extracted packet for processing {"connection_id":126407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4124"} 
[2026-07-08 15:25:32] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":16,"angle":248,"satellites":42,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577038848001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7304064515919673344,"note":"Value kept but may cause issues"} 
[2026-07-08 15:25:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783504364000,"timestamp_ms":1783504364000,"timestamp_seconds":1783504364,"priority":1,"record_length":96,"hex_timestamp":"0000019f4124e1e0"} 
[2026-07-08 15:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:25:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 15:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577038848001,"66":26267,"24":0,"85":15872,"16":342767183681552384,"45":-7304064515919673344},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577038848001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:25:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7304064515919673344,"description":"Unknown IO ID 45"} 
[2026-07-08 15:25:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577038848001,"power":26267,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7304064515919673344}} 
[2026-07-08 15:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":126407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:25:32] local.INFO: GPS data processed {"connection_id":126407,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:25:32] local.INFO: Acknowledgment sent {"connection_id":126407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:25:55] local.INFO: TCP Data received {"connection_id":127644,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:25:55] local.INFO: Processing buffer {"connection_id":127644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:25:55] local.INFO: IMEI packet received {"connection_id":127644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":127644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:26:01] local.INFO: TCP Data received {"connection_id":127644,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:26:01] local.INFO: Processing buffer {"connection_id":127644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:26:01] local.INFO: IMEI packet received {"connection_id":127644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":127644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:26:01] local.INFO: TCP Data received {"connection_id":127644,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4124e1e0012d9aa38005781260001000f82a..."} 
[2026-07-08 15:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4124e1e0012d9aa38005781260001000f82a..."} 
[2026-07-08 15:26:01] local.INFO: Processing buffer {"connection_id":127644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4124e1e0012d9aa38005781260001000f82a..."} 
[2026-07-08 15:26:01] local.INFO: Packet analysis {"connection_id":127644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4124"} 
[2026-07-08 15:26:01] local.INFO: Extracted packet for processing {"connection_id":127644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4124"} 
[2026-07-08 15:26:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":16,"angle":248,"satellites":42,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577038848001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7304064515919673344,"note":"Value kept but may cause issues"} 
[2026-07-08 15:26:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783504364000,"timestamp_ms":1783504364000,"timestamp_seconds":1783504364,"priority":1,"record_length":96,"hex_timestamp":"0000019f4124e1e0"} 
[2026-07-08 15:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:26:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 15:26:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:26:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:26:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577038848001,"66":26267,"24":0,"85":15872,"16":342767183681552384,"45":-7304064515919673344},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577038848001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:26:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7304064515919673344,"description":"Unknown IO ID 45"} 
[2026-07-08 15:26:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577038848001,"power":26267,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7304064515919673344}} 
[2026-07-08 15:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":127644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:26:01] local.INFO: GPS data processed {"connection_id":127644,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:26:01] local.INFO: Acknowledgment sent {"connection_id":127644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:26:32] local.INFO: TCP Data received {"connection_id":127644,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4124e1e0012d9aa38005781260001000f82a..."} 
[2026-07-08 15:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4124e1e0012d9aa38005781260001000f82a..."} 
[2026-07-08 15:26:32] local.INFO: Processing buffer {"connection_id":127644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4124e1e0012d9aa38005781260001000f82a..."} 
[2026-07-08 15:26:32] local.INFO: Packet analysis {"connection_id":127644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4124"} 
[2026-07-08 15:26:32] local.INFO: Extracted packet for processing {"connection_id":127644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4124"} 
[2026-07-08 15:26:32] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":16,"angle":248,"satellites":42,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577038848001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7304064515919673344,"note":"Value kept but may cause issues"} 
[2026-07-08 15:26:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783504364000,"timestamp_ms":1783504364000,"timestamp_seconds":1783504364,"priority":1,"record_length":96,"hex_timestamp":"0000019f4124e1e0"} 
[2026-07-08 15:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 15:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577038848001,"66":26267,"24":0,"85":15872,"16":342767183681552384,"45":-7304064515919673344},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577038848001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:26:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7304064515919673344,"description":"Unknown IO ID 45"} 
[2026-07-08 15:26:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577038848001,"power":26267,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7304064515919673344}} 
[2026-07-08 15:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":127644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:26:32] local.INFO: GPS data processed {"connection_id":127644,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:26:32] local.INFO: Acknowledgment sent {"connection_id":127644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:26:51] local.INFO: TCP Data received {"connection_id":125534,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125534,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:26:51] local.INFO: Processing buffer {"connection_id":125534,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:26:51] local.INFO: IMEI packet received {"connection_id":125534,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":125534,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:26:55] local.INFO: TCP Data received {"connection_id":125534,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125534,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:26:55] local.INFO: Processing buffer {"connection_id":125534,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:26:55] local.INFO: IMEI packet received {"connection_id":125534,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":125534,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:26:56] local.INFO: TCP Data received {"connection_id":125534,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f412752e0012d0b130007029fc00015013425..."} 
[2026-07-08 15:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412752e0012d0b130007029fc00015013425..."} 
[2026-07-08 15:26:56] local.INFO: Processing buffer {"connection_id":125534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412752e0012d0b130007029fc00015013425..."} 
[2026-07-08 15:26:56] local.INFO: Packet analysis {"connection_id":125534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4127"} 
[2026-07-08 15:26:56] local.INFO: Extracted packet for processing {"connection_id":125534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4127"} 
[2026-07-08 15:26:56] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":21,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577081088001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783504524000,"timestamp_ms":1783504524000,"timestamp_seconds":1783504524,"priority":1,"record_length":96,"hex_timestamp":"0000019f412752e0"} 
[2026-07-08 15:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 15:26:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:26:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":125534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":125534,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":125534,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577081088001,"66":12548,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577081088001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:26:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577081088001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":125534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452041,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:26:56] local.INFO: GPS data processed {"connection_id":125534,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:26:56] local.INFO: Acknowledgment sent {"connection_id":125534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:27:01] local.INFO: TCP Data received {"connection_id":125535,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:27:01] local.INFO: Processing buffer {"connection_id":125535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:27:01] local.INFO: IMEI packet received {"connection_id":125535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":125535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:27:06] local.INFO: TCP Data received {"connection_id":125535,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:27:06] local.INFO: Processing buffer {"connection_id":125535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:27:06] local.INFO: IMEI packet received {"connection_id":125535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":125535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:27:06] local.INFO: TCP Data received {"connection_id":125535,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4124e1e0012d9aa38005781260001000f82a..."} 
[2026-07-08 15:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4124e1e0012d9aa38005781260001000f82a..."} 
[2026-07-08 15:27:06] local.INFO: Processing buffer {"connection_id":125535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4124e1e0012d9aa38005781260001000f82a..."} 
[2026-07-08 15:27:06] local.INFO: Packet analysis {"connection_id":125535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4124"} 
[2026-07-08 15:27:06] local.INFO: Extracted packet for processing {"connection_id":125535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4124"} 
[2026-07-08 15:27:06] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":16,"angle":248,"satellites":42,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577038848001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7304064515919673344,"note":"Value kept but may cause issues"} 
[2026-07-08 15:27:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783504364000,"timestamp_ms":1783504364000,"timestamp_seconds":1783504364,"priority":1,"record_length":96,"hex_timestamp":"0000019f4124e1e0"} 
[2026-07-08 15:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 15:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577038848001,"66":26267,"24":0,"85":15872,"16":342767183681552384,"45":-7304064515919673344},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577038848001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:27:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7304064515919673344,"description":"Unknown IO ID 45"} 
[2026-07-08 15:27:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577038848001,"power":26267,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7304064515919673344}} 
[2026-07-08 15:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":125535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:27:06] local.INFO: GPS data processed {"connection_id":125535,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:27:06] local.INFO: Acknowledgment sent {"connection_id":125535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:27:07] local.INFO: TCP Data received {"connection_id":125534,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f412752e0012d0b130007029fc00015013425..."} 
[2026-07-08 15:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412752e0012d0b130007029fc00015013425..."} 
[2026-07-08 15:27:07] local.INFO: Processing buffer {"connection_id":125534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412752e0012d0b130007029fc00015013425..."} 
[2026-07-08 15:27:07] local.INFO: Packet analysis {"connection_id":125534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4127"} 
[2026-07-08 15:27:07] local.INFO: Extracted packet for processing {"connection_id":125534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4127"} 
[2026-07-08 15:27:07] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":21,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577081088001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:27: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-07-08 15:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783504524000,"timestamp_ms":1783504524000,"timestamp_seconds":1783504524,"priority":1,"record_length":96,"hex_timestamp":"0000019f412752e0"} 
[2026-07-08 15:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":36,"data_length":795,"current_offset":136} 
[2026-07-08 15:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125534,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125534,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577081088001,"66":12548,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577081088001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:27:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577081088001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":125534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452043,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:27:08] local.INFO: GPS data processed {"connection_id":125534,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:27:08] local.INFO: Acknowledgment sent {"connection_id":125534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:27:35] local.INFO: TCP Data received {"connection_id":125535,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4124e1e0012d9aa38005781260001000f82a..."} 
[2026-07-08 15:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4124e1e0012d9aa38005781260001000f82a..."} 
[2026-07-08 15:27:35] local.INFO: Processing buffer {"connection_id":125535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4124e1e0012d9aa38005781260001000f82a..."} 
[2026-07-08 15:27:35] local.INFO: Packet analysis {"connection_id":125535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4124"} 
[2026-07-08 15:27:35] local.INFO: Extracted packet for processing {"connection_id":125535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4124"} 
[2026-07-08 15:27:35] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":16,"angle":248,"satellites":42,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577038848001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7304064515919673344,"note":"Value kept but may cause issues"} 
[2026-07-08 15:27:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783504364000,"timestamp_ms":1783504364000,"timestamp_seconds":1783504364,"priority":1,"record_length":96,"hex_timestamp":"0000019f4124e1e0"} 
[2026-07-08 15:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 15:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577038848001,"66":26267,"24":0,"85":15872,"16":342767183681552384,"45":-7304064515919673344},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577038848001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:27:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7304064515919673344,"description":"Unknown IO ID 45"} 
[2026-07-08 15:27:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577038848001,"power":26267,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7304064515919673344}} 
[2026-07-08 15:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":125535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:27:35] local.INFO: GPS data processed {"connection_id":125535,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:27:35] local.INFO: Acknowledgment sent {"connection_id":125535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:27:44] local.INFO: TCP Data received {"connection_id":125536,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125536,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:27:44] local.INFO: Processing buffer {"connection_id":125536,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:27:44] local.INFO: IMEI packet received {"connection_id":125536,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":125536,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:27:51] local.INFO: TCP Data received {"connection_id":125536,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125536,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:27:51] local.INFO: Processing buffer {"connection_id":125536,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:27:51] local.INFO: IMEI packet received {"connection_id":125536,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":125536,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:27:56] local.INFO: TCP Data received {"connection_id":126409,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:27:56] local.INFO: Processing buffer {"connection_id":126409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:27:56] local.INFO: IMEI packet received {"connection_id":126409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":126409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:28:00] local.INFO: TCP Data received {"connection_id":125536,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f41296238012d0b130007029fc0001501341d..."} 
[2026-07-08 15:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41296238012d0b130007029fc0001501341d..."} 
[2026-07-08 15:28:00] local.INFO: Processing buffer {"connection_id":125536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41296238012d0b130007029fc0001501341d..."} 
[2026-07-08 15:28:00] local.INFO: Packet analysis {"connection_id":125536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4129"} 
[2026-07-08 15:28:00] local.INFO: Extracted packet for processing {"connection_id":125536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4129"} 
[2026-07-08 15:28:00] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":21,"angle":308,"satellites":29,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577158144001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:28:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783504659000,"timestamp_ms":1783504659000,"timestamp_seconds":1783504659,"priority":1,"record_length":96,"hex_timestamp":"0000019f41296238"} 
[2026-07-08 15:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:28: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":4,"data_length":795,"current_offset":136} 
[2026-07-08 15:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31877045139013701,"note":"Value kept but may cause issues"} 
[2026-07-08 15:28:00] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-07-08 15:28:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 15:28:00] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":83886080,"corrected_to":0} 
[2026-07-08 15:28:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-07-08 15:28:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-07-08 15:28:00] local.WARNING: Large IO value detected {"io_id":91,"raw_value":4160826635,"note":"Value kept but may cause issues"} 
[2026-07-08 15:28:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3422879744,"note":"Value kept but may cause issues"} 
[2026-07-08 15:28:00] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,17,94,24,241,157,16,204,159,187,45,21,36,10,66,35,3,139,240,249,227,65,2,1,4,113,205,91,19,192,239,49,83,7],"length":485,"final_offset":615,"validated_count":34,"validation_warnings":[{"io_id":204,"original":83886080,"validated":0},{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-07-08 15:28:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1513548283291631616,"timestamp_seconds":1513548283291631.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 15:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125536,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125536,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577158144001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577158144001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:28:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577158144001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":125536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452045,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:28:00] local.INFO: GPS data processed {"connection_id":125536,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:28:00] local.INFO: Acknowledgment sent {"connection_id":125536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:28:01] local.INFO: TCP Data received {"connection_id":126409,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:28:01] local.INFO: Processing buffer {"connection_id":126409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:28:01] local.INFO: IMEI packet received {"connection_id":126409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":126409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:28:23] local.INFO: TCP Data received {"connection_id":126409,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4124e1e0012d9aa38005781260001000f82a..."} 
[2026-07-08 15:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4124e1e0012d9aa38005781260001000f82a..."} 
[2026-07-08 15:28:23] local.INFO: Processing buffer {"connection_id":126409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4124e1e0012d9aa38005781260001000f82a..."} 
[2026-07-08 15:28:23] local.INFO: Packet analysis {"connection_id":126409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4124"} 
[2026-07-08 15:28:23] local.INFO: Extracted packet for processing {"connection_id":126409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4124"} 
[2026-07-08 15:28:23] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":16,"angle":248,"satellites":42,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577038848001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7304064515919673344,"note":"Value kept but may cause issues"} 
[2026-07-08 15:28:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783504364000,"timestamp_ms":1783504364000,"timestamp_seconds":1783504364,"priority":1,"record_length":96,"hex_timestamp":"0000019f4124e1e0"} 
[2026-07-08 15:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:28:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 15:28:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:28:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":126409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":126409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":126409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:28:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577038848001,"66":26267,"24":0,"85":15872,"16":342767183681552384,"45":-7304064515919673344},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577038848001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:28:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7304064515919673344,"description":"Unknown IO ID 45"} 
[2026-07-08 15:28:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577038848001,"power":26267,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7304064515919673344}} 
[2026-07-08 15:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":126409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:28:23] local.INFO: GPS data processed {"connection_id":126409,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:28:23] local.INFO: Acknowledgment sent {"connection_id":126409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:28:44] local.INFO: TCP Data received {"connection_id":125537,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125537,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:28:44] local.INFO: Processing buffer {"connection_id":125537,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:28:44] local.INFO: IMEI packet received {"connection_id":125537,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":125537,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:28:50] local.INFO: TCP Data received {"connection_id":125537,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125537,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:28:50] local.INFO: Processing buffer {"connection_id":125537,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:28:50] local.INFO: IMEI packet received {"connection_id":125537,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":125537,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:28:51] local.INFO: TCP Data received {"connection_id":125537,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f41296238012d0b130007029fc0001501341d..."} 
[2026-07-08 15:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41296238012d0b130007029fc0001501341d..."} 
[2026-07-08 15:28:51] local.INFO: Processing buffer {"connection_id":125537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41296238012d0b130007029fc0001501341d..."} 
[2026-07-08 15:28:51] local.INFO: Packet analysis {"connection_id":125537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4129"} 
[2026-07-08 15:28:51] local.INFO: Extracted packet for processing {"connection_id":125537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4129"} 
[2026-07-08 15:28:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":21,"angle":308,"satellites":29,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15:28: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-07-08 15:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577192704001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783504659000,"timestamp_ms":1783504659000,"timestamp_seconds":1783504659,"priority":1,"record_length":96,"hex_timestamp":"0000019f41296238"} 
[2026-07-08 15:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 15:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125537,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125537,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577192704001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577192704001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:28:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577192704001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":125537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452047,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:28:51] local.INFO: GPS data processed {"connection_id":125537,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:28:51] local.INFO: Acknowledgment sent {"connection_id":125537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:28:55] local.INFO: TCP Data received {"connection_id":125538,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:28:55] local.INFO: Processing buffer {"connection_id":125538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:28:55] local.INFO: IMEI packet received {"connection_id":125538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":125538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:29:01] local.INFO: TCP Data received {"connection_id":125538,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:29:01] local.INFO: Processing buffer {"connection_id":125538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:29:01] local.INFO: IMEI packet received {"connection_id":125538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":125538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:29:01] local.INFO: TCP Data received {"connection_id":125538,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f412975c0012d9aa38005781260001000f828..."} 
[2026-07-08 15:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412975c0012d9aa38005781260001000f828..."} 
[2026-07-08 15:29:01] local.INFO: Processing buffer {"connection_id":125538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412975c0012d9aa38005781260001000f828..."} 
[2026-07-08 15:29:01] local.INFO: Packet analysis {"connection_id":125538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4129"} 
[2026-07-08 15:29:01] local.INFO: Extracted packet for processing {"connection_id":125538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4129"} 
[2026-07-08 15:29:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":16,"angle":248,"satellites":40,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577117184001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:29:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783504664000,"timestamp_ms":1783504664000,"timestamp_seconds":1783504664,"priority":1,"record_length":96,"hex_timestamp":"0000019f412975c0"} 
[2026-07-08 15:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-08 15:29:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577117184001,"66":26115,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577117184001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:29:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:29:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577117184001,"power":26115,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":125538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:29:01] local.INFO: GPS data processed {"connection_id":125538,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:29:01] local.INFO: Acknowledgment sent {"connection_id":125538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:29:24] local.INFO: TCP Data received {"connection_id":125537,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f41296620012d0b130007029fc0001501341d..."} 
[2026-07-08 15:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41296620012d0b130007029fc0001501341d..."} 
[2026-07-08 15:29:24] local.INFO: Processing buffer {"connection_id":125537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41296620012d0b130007029fc0001501341d..."} 
[2026-07-08 15:29:24] local.INFO: Packet analysis {"connection_id":125537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4129"} 
[2026-07-08 15:29:24] local.INFO: Extracted packet for processing {"connection_id":125537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4129"} 
[2026-07-08 15:29:24] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":21,"angle":308,"satellites":29,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577192704001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:29:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783504660000,"timestamp_ms":1783504660000,"timestamp_seconds":1783504660,"priority":1,"record_length":96,"hex_timestamp":"0000019f41296620"} 
[2026-07-08 15:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:29:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:29: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":47,"data_length":795,"current_offset":136} 
[2026-07-08 15:29:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:29:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125537,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125537,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:29:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577192704001,"66":3873,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577192704001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:29:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577192704001,"power":3873,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":125537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452049,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:29:24] local.INFO: GPS data processed {"connection_id":125537,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:29:24] local.INFO: Acknowledgment sent {"connection_id":125537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:29:32] local.INFO: TCP Data received {"connection_id":125538,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f412975c0012d9aa38005781260001000f828..."} 
[2026-07-08 15:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412975c0012d9aa38005781260001000f828..."} 
[2026-07-08 15:29:32] local.INFO: Processing buffer {"connection_id":125538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412975c0012d9aa38005781260001000f828..."} 
[2026-07-08 15:29:32] local.INFO: Packet analysis {"connection_id":125538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4129"} 
[2026-07-08 15:29:32] local.INFO: Extracted packet for processing {"connection_id":125538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4129"} 
[2026-07-08 15:29:32] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":16,"angle":248,"satellites":40,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577117184001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:29:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783504664000,"timestamp_ms":1783504664000,"timestamp_seconds":1783504664,"priority":1,"record_length":96,"hex_timestamp":"0000019f412975c0"} 
[2026-07-08 15:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-08 15:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577117184001,"66":26115,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577117184001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:29:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:29:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577117184001,"power":26115,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":125538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:29:32] local.INFO: GPS data processed {"connection_id":125538,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:29:32] local.INFO: Acknowledgment sent {"connection_id":125538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:29:33] local.INFO: TCP Data received {"connection_id":125539,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125539,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:29:33] local.INFO: Processing buffer {"connection_id":125539,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:29:33] local.INFO: IMEI packet received {"connection_id":125539,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 15:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":125539,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:29:39] local.INFO: TCP Data received {"connection_id":125539,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125539,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:29:39] local.INFO: Processing buffer {"connection_id":125539,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:29:39] local.INFO: IMEI packet received {"connection_id":125539,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 15:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":125539,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:29:43] local.INFO: TCP Data received {"connection_id":125539,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f412afc60012d7a1b4005ec84a00008012c24..."} 
[2026-07-08 15:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412afc60012d7a1b4005ec84a00008012c24..."} 
[2026-07-08 15:29:43] local.INFO: Processing buffer {"connection_id":125539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412afc60012d7a1b4005ec84a00008012c24..."} 
[2026-07-08 15:29:43] local.INFO: Packet analysis {"connection_id":125539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f412a"} 
[2026-07-08 15:29:43] local.INFO: Extracted packet for processing {"connection_id":125539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f412a"} 
[2026-07-08 15:29:43] local.INFO: GPS Element Parsed {"raw_longitude":762977088,"raw_latitude":99386528,"longitude_deg":76.2977088,"latitude_deg":9.9386528,"altitude":8,"angle":300,"satellites":36,"speed":9,"hex_longitude":"2d7a1b40","hex_latitude":"05ec84a0","is_valid_coordinates":true} 
[2026-07-08 15:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577219328001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103714702760083456,"note":"Value kept but may cause issues"} 
[2026-07-08 15:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798837428673847296,"note":"Value kept but may cause issues"} 
[2026-07-08 15:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783504764000,"timestamp_ms":1783504764000,"timestamp_seconds":1783504764,"priority":1,"record_length":96,"hex_timestamp":"0000019f412afc60"} 
[2026-07-08 15:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-08 15:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":125539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":125539,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":125539,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 15:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 15:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577219328001,"66":13243,"157":206,"87":13824,"24":9,"16":103714702760083456,"45":8798837428673847296},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 15:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 15:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 15:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577219328001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:29:43] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 15:29:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 15:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103714702760083456,"km_value":103714702760083.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798837428673847296,"description":"Unknown IO ID 45"} 
[2026-07-08 15:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577219328001,"power":13243,"unknown_157":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8798837428673847296}} 
[2026-07-08 15:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":125539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452051,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:29:43] local.INFO: GPS data processed {"connection_id":125539,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:29:43] local.INFO: Acknowledgment sent {"connection_id":125539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:29:44] local.INFO: TCP Data received {"connection_id":127646,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127646,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:29:44] local.INFO: Processing buffer {"connection_id":127646,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:29:44] local.INFO: IMEI packet received {"connection_id":127646,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":127646,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:29:50] local.INFO: TCP Data received {"connection_id":127646,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127646,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:29:50] local.INFO: Processing buffer {"connection_id":127646,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:29:50] local.INFO: IMEI packet received {"connection_id":127646,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":127646,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:29:51] local.INFO: TCP Data received {"connection_id":127646,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f41296620012d0b130007029fc0001501341d..."} 
[2026-07-08 15:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41296620012d0b130007029fc0001501341d..."} 
[2026-07-08 15:29:51] local.INFO: Processing buffer {"connection_id":127646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41296620012d0b130007029fc0001501341d..."} 
[2026-07-08 15:29:51] local.INFO: Packet analysis {"connection_id":127646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4129"} 
[2026-07-08 15:29:51] local.INFO: Extracted packet for processing {"connection_id":127646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4129"} 
[2026-07-08 15:29:51] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":21,"angle":308,"satellites":29,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15:29: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-07-08 15:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577192960001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783504660000,"timestamp_ms":1783504660000,"timestamp_seconds":1783504660,"priority":1,"record_length":96,"hex_timestamp":"0000019f41296620"} 
[2026-07-08 15:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":15,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-08 15:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152921208237325312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:29:51] local.WARNING: Large IO value detected {"io_id":17,"raw_value":58087383980572672,"note":"Value kept but may cause issues"} 
[2026-07-08 15:29:51] local.WARNING: Large IO value detected {"io_id":94,"raw_value":3098502931909968384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:29:51] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-07-08 15:29:51] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185683,"note":"Value kept but may cause issues"} 
[2026-07-08 15:29:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652633507986176,"note":"Value kept but may cause issues"} 
[2026-07-08 15:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:29:51] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":360287970189639681,"corrected_to":0} 
[2026-07-08 15:29:51] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4611682714722828288,"note":"Value kept but may cause issues"} 
[2026-07-08 15:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:29:51] local.WARNING: Large IO value detected {"io_id":21,"raw_value":86733875245481984,"note":"Value kept but may cause issues"} 
[2026-07-08 15:29:51] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926404055360,"note":"Value kept but may cause issues"} 
[2026-07-08 15:29:51] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3550244763297972430,"note":"Value kept but may cause issues"} 
[2026-07-08 15:29:51] local.WARNING: Large IO value detected {"io_id":139,"raw_value":-8646580283987982590,"note":"Value kept but may cause issues"} 
[2026-07-08 15:29:51] local.WARNING: Large IO value detected {"io_id":3,"raw_value":86732775733854208,"note":"Value kept but may cause issues"} 
[2026-07-08 15:29:51] local.INFO: IO Element Parsed {"io_data_count":23,"io_data_keys":[0,17,94,24,241,157,16,204,159,98,45,21,29,10,66,82,240,4,227,65,35,139,3],"length":576,"final_offset":706,"validated_count":23,"validation_warnings":[{"io_id":204,"original":360287970189639681,"validated":0}]} 
[2026-07-08 15:29:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1513548248931893279,"timestamp_seconds":1513548248931893.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 15:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127646,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127646,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577192960001,"66":3873,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577192960001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:29:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577192960001,"power":3873,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":127646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452052,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:29:51] local.INFO: GPS data processed {"connection_id":127646,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:29:51] local.INFO: Acknowledgment sent {"connection_id":127646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:30:01] local.INFO: TCP Data received {"connection_id":126412,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:30:01] local.INFO: Processing buffer {"connection_id":126412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:30:01] local.INFO: IMEI packet received {"connection_id":126412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":126412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:30:06] local.INFO: TCP Data received {"connection_id":126412,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:30:06] local.INFO: Processing buffer {"connection_id":126412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:30:06] local.INFO: IMEI packet received {"connection_id":126412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":126412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:30:06] local.INFO: TCP Data received {"connection_id":126412,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f412975c0012d9aa38005781260001000f828..."} 
[2026-07-08 15:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412975c0012d9aa38005781260001000f828..."} 
[2026-07-08 15:30:06] local.INFO: Processing buffer {"connection_id":126412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412975c0012d9aa38005781260001000f828..."} 
[2026-07-08 15:30:06] local.INFO: Packet analysis {"connection_id":126412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4129"} 
[2026-07-08 15:30:06] local.INFO: Extracted packet for processing {"connection_id":126412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4129"} 
[2026-07-08 15:30:06] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":16,"angle":248,"satellites":40,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577117184001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:30:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783504664000,"timestamp_ms":1783504664000,"timestamp_seconds":1783504664,"priority":1,"record_length":96,"hex_timestamp":"0000019f412975c0"} 
[2026-07-08 15:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-08 15:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577117184001,"66":26115,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577117184001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:30:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:30:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577117184001,"power":26115,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":126412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:30:06] local.INFO: GPS data processed {"connection_id":126412,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:30:06] local.INFO: Acknowledgment sent {"connection_id":126412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:30:17] local.INFO: TCP Data received {"connection_id":126413,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126413,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:30:17] local.INFO: Processing buffer {"connection_id":126413,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:30:17] local.INFO: IMEI packet received {"connection_id":126413,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 15:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":126413,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:30:18] local.INFO: TCP Data received {"connection_id":126413,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126413,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:30:18] local.INFO: Processing buffer {"connection_id":126413,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:30:18] local.INFO: IMEI packet received {"connection_id":126413,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 15:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":126413,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:30:18] local.INFO: TCP Data received {"connection_id":126413,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126413,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:30:18] local.INFO: Processing buffer {"connection_id":126413,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:30:18] local.INFO: IMEI packet received {"connection_id":126413,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 15:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":126413,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:30:21] local.INFO: TCP Data received {"connection_id":126413,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126413,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:30:21] local.INFO: Processing buffer {"connection_id":126413,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:30:21] local.INFO: IMEI packet received {"connection_id":126413,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 15:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":126413,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:30:22] local.INFO: TCP Data received {"connection_id":126413,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f412b0048012d7a1a4005ec84c80008011022..."} 
[2026-07-08 15:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412b0048012d7a1a4005ec84c80008011022..."} 
[2026-07-08 15:30:22] local.INFO: Processing buffer {"connection_id":126413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412b0048012d7a1a4005ec84c80008011022..."} 
[2026-07-08 15:30:22] local.INFO: Packet analysis {"connection_id":126413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f412b"} 
[2026-07-08 15:30:22] local.INFO: Extracted packet for processing {"connection_id":126413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f412b"} 
[2026-07-08 15:30:22] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":99386568,"longitude_deg":76.2976832,"latitude_deg":9.9386568,"altitude":8,"angle":272,"satellites":34,"speed":7,"hex_longitude":"2d7a1a40","hex_latitude":"05ec84c8","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577219584001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103714711350018048,"note":"Value kept but may cause issues"} 
[2026-07-08 15:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798696691185524736,"note":"Value kept but may cause issues"} 
[2026-07-08 15:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783504765000,"timestamp_ms":1783504765000,"timestamp_seconds":1783504765,"priority":1,"record_length":96,"hex_timestamp":"0000019f412b0048"} 
[2026-07-08 15:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-08 15:30:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 15:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 15:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577219584001,"66":13243,"157":206,"87":13824,"24":7,"16":103714711350018048,"45":8798696691185524736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 15:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 15:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 15:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577219584001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:30:22] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 15:30:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 15:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103714711350018048,"km_value":103714711350018.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798696691185524736,"description":"Unknown IO ID 45"} 
[2026-07-08 15:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577219584001,"power":13243,"unknown_157":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8798696691185524736}} 
[2026-07-08 15:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":126413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452054,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:30:22] local.INFO: GPS data processed {"connection_id":126413,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:30:22] local.INFO: Acknowledgment sent {"connection_id":126413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:30:23] local.INFO: TCP Data received {"connection_id":127646,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f412a3cf8012d0b130007029fc0000901341d..."} 
[2026-07-08 15:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412a3cf8012d0b130007029fc0000901341d..."} 
[2026-07-08 15:30:23] local.INFO: Processing buffer {"connection_id":127646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412a3cf8012d0b130007029fc0000901341d..."} 
[2026-07-08 15:30:23] local.INFO: Packet analysis {"connection_id":127646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f412a"} 
[2026-07-08 15:30:23] local.INFO: Extracted packet for processing {"connection_id":127646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f412a"} 
[2026-07-08 15:30:23] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":9,"angle":308,"satellites":29,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577192960001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:30:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783504715000,"timestamp_ms":1783504715000,"timestamp_seconds":1783504715,"priority":1,"record_length":96,"hex_timestamp":"0000019f412a3cf8"} 
[2026-07-08 15:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:30:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:30: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":15,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-08 15:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152921208237325312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:30:23] local.WARNING: Large IO value detected {"io_id":17,"raw_value":58087383980572672,"note":"Value kept but may cause issues"} 
[2026-07-08 15:30:23] local.WARNING: Large IO value detected {"io_id":94,"raw_value":3098502931909968384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:30:23] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-07-08 15:30:23] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185683,"note":"Value kept but may cause issues"} 
[2026-07-08 15:30:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652633507986176,"note":"Value kept but may cause issues"} 
[2026-07-08 15:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:30:23] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":360287970189639681,"corrected_to":0} 
[2026-07-08 15:30:23] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4611682714722828288,"note":"Value kept but may cause issues"} 
[2026-07-08 15:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:30:23] local.WARNING: Large IO value detected {"io_id":21,"raw_value":86734974757109760,"note":"Value kept but may cause issues"} 
[2026-07-08 15:30:23] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926404055360,"note":"Value kept but may cause issues"} 
[2026-07-08 15:30:23] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3528852665067962574,"note":"Value kept but may cause issues"} 
[2026-07-08 15:30:23] local.WARNING: Large IO value detected {"io_id":35,"raw_value":5764938523597604610,"note":"Value kept but may cause issues"} 
[2026-07-08 15:30:23] local.WARNING: Large IO value detected {"io_id":3,"raw_value":86732775733854208,"note":"Value kept but may cause issues"} 
[2026-07-08 15:30:23] local.INFO: IO Element Parsed {"io_data_count":23,"io_data_keys":[0,17,94,24,241,157,16,204,159,102,45,21,29,10,66,98,240,47,227,65,36,35,3],"length":576,"final_offset":706,"validated_count":23,"validation_warnings":[{"io_id":204,"original":360287970189639681,"validated":0}]} 
[2026-07-08 15:30:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1513548248931893314,"timestamp_seconds":1513548248931893.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 15:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":127646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":127646,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":127646,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:30:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577192960001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577192960001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:30:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577192960001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":127646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452055,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:30:23] local.INFO: GPS data processed {"connection_id":127646,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:30:23] local.INFO: Acknowledgment sent {"connection_id":127646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:30:26] local.INFO: TCP Data received {"connection_id":125654,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125654,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:30:26] local.INFO: Processing buffer {"connection_id":125654,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:30:26] local.INFO: IMEI packet received {"connection_id":125654,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 15:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":125654,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:30:37] local.INFO: TCP Data received {"connection_id":126412,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f412975c0012d9aa38005781260001000f828..."} 
[2026-07-08 15:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412975c0012d9aa38005781260001000f828..."} 
[2026-07-08 15:30:37] local.INFO: Processing buffer {"connection_id":126412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412975c0012d9aa38005781260001000f828..."} 
[2026-07-08 15:30:37] local.INFO: Packet analysis {"connection_id":126412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4129"} 
[2026-07-08 15:30:37] local.INFO: Extracted packet for processing {"connection_id":126412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4129"} 
[2026-07-08 15:30:37] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":16,"angle":248,"satellites":40,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577117184001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:30:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783504664000,"timestamp_ms":1783504664000,"timestamp_seconds":1783504664,"priority":1,"record_length":96,"hex_timestamp":"0000019f412975c0"} 
[2026-07-08 15:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-08 15:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577117184001,"66":26115,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577117184001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:30:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:30:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577117184001,"power":26115,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":126412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:30:37] local.INFO: GPS data processed {"connection_id":126412,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:30:37] local.INFO: Acknowledgment sent {"connection_id":126412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:30:44] local.INFO: TCP Data received {"connection_id":125655,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125655,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:30:44] local.INFO: Processing buffer {"connection_id":125655,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:30:44] local.INFO: IMEI packet received {"connection_id":125655,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":125655,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:30:51] local.INFO: TCP Data received {"connection_id":125655,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125655,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:30:51] local.INFO: Processing buffer {"connection_id":125655,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:30:51] local.INFO: IMEI packet received {"connection_id":125655,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":125655,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:30:52] local.INFO: TCP Data received {"connection_id":125655,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f412a3cf8012d0b130007029fc0000901341d..."} 
[2026-07-08 15:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412a3cf8012d0b130007029fc0000901341d..."} 
[2026-07-08 15:30:52] local.INFO: Processing buffer {"connection_id":125655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412a3cf8012d0b130007029fc0000901341d..."} 
[2026-07-08 15:30:52] local.INFO: Packet analysis {"connection_id":125655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f412a"} 
[2026-07-08 15:30:52] local.INFO: Extracted packet for processing {"connection_id":125655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f412a"} 
[2026-07-08 15:30:52] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612480,"longitude_deg":75.570048,"latitude_deg":11.761248,"altitude":9,"angle":308,"satellites":29,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-07-08 15:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577207040001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783504715000,"timestamp_ms":1783504715000,"timestamp_seconds":1783504715,"priority":1,"record_length":96,"hex_timestamp":"0000019f412a3cf8"} 
[2026-07-08 15:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 15:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":125655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":125655,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":125655,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577207040001,"66":12591,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577207040001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:30:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577207040001,"power":12591,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":125655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452057,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:30:52] local.INFO: GPS data processed {"connection_id":125655,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:30:52] local.INFO: Acknowledgment sent {"connection_id":125655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:30:53] local.INFO: TCP Data received {"connection_id":126413,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f412b0430012d7a19c005ec8470000800ef22..."} 
[2026-07-08 15:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412b0430012d7a19c005ec8470000800ef22..."} 
[2026-07-08 15:30:53] local.INFO: Processing buffer {"connection_id":126413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412b0430012d7a19c005ec8470000800ef22..."} 
[2026-07-08 15:30:53] local.INFO: Packet analysis {"connection_id":126413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f412b"} 
[2026-07-08 15:30:53] local.INFO: Extracted packet for processing {"connection_id":126413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f412b"} 
[2026-07-08 15:30:53] local.INFO: GPS Element Parsed {"raw_longitude":762976704,"raw_latitude":99386480,"longitude_deg":76.2976704,"latitude_deg":9.938648,"altitude":8,"angle":239,"satellites":34,"speed":8,"hex_longitude":"2d7a19c0","hex_latitude":"05ec8470","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577219840001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103714719939952640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216208824320,"note":"Value kept but may cause issues"} 
[2026-07-08 15:30:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783504766000,"timestamp_ms":1783504766000,"timestamp_seconds":1783504766,"priority":1,"record_length":96,"hex_timestamp":"0000019f412b0430"} 
[2026-07-08 15:30:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:30: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-07-08 15: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-08 15:30:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:30:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":126413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":126413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":126413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:30:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 15:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 15:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577219840001,"66":13461,"157":206,"87":13824,"24":8,"16":103714719939952640,"45":8798415216208824320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 15:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 15:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 15:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577219840001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:30:53] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 15:30:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 15:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103714719939952640,"km_value":103714719939952.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:30:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216208824320,"description":"Unknown IO ID 45"} 
[2026-07-08 15:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577219840001,"power":13461,"unknown_157":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8798415216208824320}} 
[2026-07-08 15:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":126413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452058,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:30:53] local.INFO: GPS data processed {"connection_id":126413,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:30:53] local.INFO: Acknowledgment sent {"connection_id":126413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:30:55] local.INFO: TCP Data received {"connection_id":125656,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:30:55] local.INFO: Processing buffer {"connection_id":125656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:30:55] local.INFO: IMEI packet received {"connection_id":125656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":125656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:31:02] local.INFO: TCP Data received {"connection_id":125656,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:31:02] local.INFO: Processing buffer {"connection_id":125656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:31:02] local.INFO: IMEI packet received {"connection_id":125656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":125656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:31:02] local.INFO: TCP Data received {"connection_id":125656,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f412975c0012d9aa38005781260001000f828..."} 
[2026-07-08 15:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412975c0012d9aa38005781260001000f828..."} 
[2026-07-08 15:31:02] local.INFO: Processing buffer {"connection_id":125656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412975c0012d9aa38005781260001000f828..."} 
[2026-07-08 15:31:02] local.INFO: Packet analysis {"connection_id":125656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4129"} 
[2026-07-08 15:31:02] local.INFO: Extracted packet for processing {"connection_id":125656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4129"} 
[2026-07-08 15:31:02] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":16,"angle":248,"satellites":40,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577117184001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:31:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783504664000,"timestamp_ms":1783504664000,"timestamp_seconds":1783504664,"priority":1,"record_length":96,"hex_timestamp":"0000019f412975c0"} 
[2026-07-08 15:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:31:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-08 15:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577117184001,"66":26115,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577117184001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:31:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:31:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577117184001,"power":26115,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":125656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:31:02] local.INFO: GPS data processed {"connection_id":125656,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:31:02] local.INFO: Acknowledgment sent {"connection_id":125656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:31:11] local.INFO: TCP Data received {"connection_id":125541,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125541,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:31:11] local.INFO: Processing buffer {"connection_id":125541,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:31:11] local.INFO: IMEI packet received {"connection_id":125541,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 15:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":125541,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:31:15] local.INFO: TCP Data received {"connection_id":125542,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:31:15] local.INFO: Processing buffer {"connection_id":125542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:31:15] local.INFO: IMEI packet received {"connection_id":125542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":125542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:31:18] local.INFO: TCP Data received {"connection_id":125542,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:31:18] local.INFO: Processing buffer {"connection_id":125542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:31:18] local.INFO: IMEI packet received {"connection_id":125542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":125542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:31:20] local.INFO: TCP Data received {"connection_id":125542,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:31:20] local.INFO: Processing buffer {"connection_id":125542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:31:20] local.INFO: IMEI packet received {"connection_id":125542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":125542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:31:21] local.INFO: TCP Data received {"connection_id":125542,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f412b4e68012d1ab540072150280049003b25..."} 
[2026-07-08 15:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412b4e68012d1ab540072150280049003b25..."} 
[2026-07-08 15:31:21] local.INFO: Processing buffer {"connection_id":125542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412b4e68012d1ab540072150280049003b25..."} 
[2026-07-08 15:31:21] local.INFO: Packet analysis {"connection_id":125542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f412b"} 
[2026-07-08 15:31:21] local.INFO: Extracted packet for processing {"connection_id":125542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f412b"} 
[2026-07-08 15:31:21] local.INFO: GPS Element Parsed {"raw_longitude":756725056,"raw_latitude":119623720,"longitude_deg":75.6725056,"latitude_deg":11.962372,"altitude":73,"angle":59,"satellites":37,"speed":3,"hex_longitude":"2d1ab540","hex_latitude":"07215028","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577224448001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4823578985889792,"note":"Value kept but may cause issues"} 
[2026-07-08 15:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1924303708906059776,"note":"Value kept but may cause issues"} 
[2026-07-08 15:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,187,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783504785000,"timestamp_ms":1783504785000,"timestamp_seconds":1783504785,"priority":1,"record_length":96,"hex_timestamp":"0000019f412b4e68"} 
[2026-07-08 15:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-08 15:31:21] 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-07-08 15: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-07-08 15:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":125542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":125542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":125542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:31:21] 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-07-08 15:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577224448001,"66":14461,"169":206,"187":32768,"24":3,"16":4823578985889792,"45":1924303708906059776},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,187,24,16,45]} 
[2026-07-08 15:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577224448001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:31:21] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-08 15:31:21] local.INFO: Unknown IO ID detected {"io_id":187,"value":32768,"description":"Unknown IO ID 187"} 
[2026-07-08 15:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4823578985889792,"km_value":4823578985889.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1924303708906059776,"description":"Unknown IO ID 45"} 
[2026-07-08 15:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577224448001,"power":14461,"unknown_169":206,"unknown_187":32768,"ignition":3,"odometer":null,"unknown_45":1924303708906059776}} 
[2026-07-08 15:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":125542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:31:21] local.INFO: GPS data processed {"connection_id":125542,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:31:21] local.INFO: Acknowledgment sent {"connection_id":125542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:31:22] local.INFO: TCP Data received {"connection_id":125542,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f412b61f0012d1ab54007214f88004900be26..."} 
[2026-07-08 15:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412b61f0012d1ab54007214f88004900be26..."} 
[2026-07-08 15:31:22] local.INFO: Processing buffer {"connection_id":125542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412b61f0012d1ab54007214f88004900be26..."} 
[2026-07-08 15:31:22] local.INFO: Packet analysis {"connection_id":125542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f412b"} 
[2026-07-08 15:31:22] local.INFO: Extracted packet for processing {"connection_id":125542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f412b"} 
[2026-07-08 15:31:22] local.INFO: GPS Element Parsed {"raw_longitude":756725056,"raw_latitude":119623560,"longitude_deg":75.6725056,"latitude_deg":11.962356,"altitude":73,"angle":190,"satellites":38,"speed":3,"hex_longitude":"2d1ab540","hex_latitude":"07214f88","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577224960001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4823596165758976,"note":"Value kept but may cause issues"} 
[2026-07-08 15:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1924514815138605056,"note":"Value kept but may cause issues"} 
[2026-07-08 15:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,187,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783504790000,"timestamp_ms":1783504790000,"timestamp_seconds":1783504790,"priority":1,"record_length":96,"hex_timestamp":"0000019f412b61f0"} 
[2026-07-08 15:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:31: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-07-08 15: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-08 15:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:31:22] 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-07-08 15:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577224960001,"66":14461,"169":206,"187":32768,"24":3,"16":4823596165758976,"45":1924514815138605056},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,187,24,16,45]} 
[2026-07-08 15:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577224960001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:31:22] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-08 15:31:22] local.INFO: Unknown IO ID detected {"io_id":187,"value":32768,"description":"Unknown IO ID 187"} 
[2026-07-08 15:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4823596165758976,"km_value":4823596165758.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1924514815138605056,"description":"Unknown IO ID 45"} 
[2026-07-08 15:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577224960001,"power":14461,"unknown_169":206,"unknown_187":32768,"ignition":3,"odometer":null,"unknown_45":1924514815138605056}} 
[2026-07-08 15:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":125542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:31:22] local.INFO: GPS data processed {"connection_id":125542,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:31:22] local.INFO: Acknowledgment sent {"connection_id":125542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:31:29] local.INFO: TCP Data received {"connection_id":125655,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f412a4c98012d0b12000702a2780009009e1d..."} 
[2026-07-08 15:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412a4c98012d0b12000702a2780009009e1d..."} 
[2026-07-08 15:31:29] local.INFO: Processing buffer {"connection_id":125655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412a4c98012d0b12000702a2780009009e1d..."} 
[2026-07-08 15:31:29] local.INFO: Packet analysis {"connection_id":125655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f412a"} 
[2026-07-08 15:31:29] local.INFO: Extracted packet for processing {"connection_id":125655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f412a"} 
[2026-07-08 15:31:29] local.INFO: GPS Element Parsed {"raw_longitude":755700224,"raw_latitude":117613176,"longitude_deg":75.5700224,"latitude_deg":11.7613176,"altitude":9,"angle":158,"satellites":29,"speed":0,"hex_longitude":"2d0b1200","hex_latitude":"0702a278","is_valid_coordinates":true} 
[2026-07-08 15:31:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577207040001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23586744913887232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:31:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083504640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:31:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783504719000,"timestamp_ms":1783504719000,"timestamp_seconds":1783504719,"priority":1,"record_length":96,"hex_timestamp":"0000019f412a4c98"} 
[2026-07-08 15:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:31:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 15:31:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:31:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":125655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":125655,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":125655,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:31:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577207040001,"66":11874,"17":206,"94":11008,"24":0,"16":23586744913887232,"45":797981589083504640},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577207040001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:31:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23586744913887232,"km_value":23586744913887.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:31:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083504640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577207040001,"power":11874,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797981589083504640}} 
[2026-07-08 15:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":125655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452062,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:31:29] local.INFO: GPS data processed {"connection_id":125655,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:31:29] local.INFO: Acknowledgment sent {"connection_id":125655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:31:35] local.INFO: TCP Data received {"connection_id":125656,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f412975c0012d9aa38005781260001000f828..."} 
[2026-07-08 15:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412975c0012d9aa38005781260001000f828..."} 
[2026-07-08 15:31:35] local.INFO: Processing buffer {"connection_id":125656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412975c0012d9aa38005781260001000f828..."} 
[2026-07-08 15:31:35] local.INFO: Packet analysis {"connection_id":125656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4129"} 
[2026-07-08 15:31:35] local.INFO: Extracted packet for processing {"connection_id":125656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4129"} 
[2026-07-08 15:31:35] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":16,"angle":248,"satellites":40,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577117184001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:31:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783504664000,"timestamp_ms":1783504664000,"timestamp_seconds":1783504664,"priority":1,"record_length":96,"hex_timestamp":"0000019f412975c0"} 
[2026-07-08 15:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-08 15:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577117184001,"66":26115,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577117184001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:31:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:31:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577117184001,"power":26115,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":125656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:31:35] local.INFO: GPS data processed {"connection_id":125656,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:31:35] local.INFO: Acknowledgment sent {"connection_id":125656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:32:00] local.INFO: TCP Data received {"connection_id":126414,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:32:00] local.INFO: Processing buffer {"connection_id":126414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:32:00] local.INFO: IMEI packet received {"connection_id":126414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":126414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:32:01] local.INFO: TCP Data received {"connection_id":125544,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:32:01] local.INFO: Processing buffer {"connection_id":125544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:32:01] local.INFO: IMEI packet received {"connection_id":125544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":125544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:32:01] local.INFO: TCP Data received {"connection_id":126414,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:32:01] local.INFO: Processing buffer {"connection_id":126414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:32:01] local.INFO: IMEI packet received {"connection_id":126414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":126414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:32:05] local.INFO: TCP Data received {"connection_id":126414,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:32:05] local.INFO: Processing buffer {"connection_id":126414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:32:05] local.INFO: IMEI packet received {"connection_id":126414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":126414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:32:06] local.INFO: TCP Data received {"connection_id":125544,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:32:06] local.INFO: Processing buffer {"connection_id":125544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:32:06] local.INFO: IMEI packet received {"connection_id":125544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":125544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:32:06] local.INFO: TCP Data received {"connection_id":126414,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f412c6f78012d1a41800720fb80004100eb27..."} 
[2026-07-08 15:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412c6f78012d1a41800720fb80004100eb27..."} 
[2026-07-08 15:32:06] local.INFO: Processing buffer {"connection_id":126414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412c6f78012d1a41800720fb80004100eb27..."} 
[2026-07-08 15:32:06] local.INFO: Packet analysis {"connection_id":126414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f412c"} 
[2026-07-08 15:32:06] local.INFO: Extracted packet for processing {"connection_id":126414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f412c"} 
[2026-07-08 15:32:06] local.INFO: GPS Element Parsed {"raw_longitude":756695424,"raw_latitude":119602048,"longitude_deg":75.6695424,"latitude_deg":11.9602048,"altitude":65,"angle":235,"satellites":39,"speed":21,"hex_longitude":"2d1a4180","hex_latitude":"0720fb80","is_valid_coordinates":true} 
[2026-07-08 15:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577243136001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4825434411761664,"note":"Value kept but may cause issues"} 
[2026-07-08 15:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1893411830206705664,"note":"Value kept but may cause issues"} 
[2026-07-08 15:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783504859000,"timestamp_ms":1783504859000,"timestamp_seconds":1783504859,"priority":1,"record_length":96,"hex_timestamp":"0000019f412c6f78"} 
[2026-07-08 15:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-07-08 15:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577243136001,"66":14461,"103":206,"83":41984,"24":21,"16":4825434411761664,"45":1893411830206705664},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 15:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577243136001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:32:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 15:32:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4825434411761664,"km_value":4825434411761.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1893411830206705664,"description":"Unknown IO ID 45"} 
[2026-07-08 15:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577243136001,"power":14461,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1893411830206705664}} 
[2026-07-08 15:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":126414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:32:06] local.INFO: GPS data processed {"connection_id":126414,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:32:06] local.INFO: Acknowledgment sent {"connection_id":126414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:32:08] local.INFO: TCP Data received {"connection_id":125544,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f412975c0012d9aa38005781260001000f828..."} 
[2026-07-08 15:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412975c0012d9aa38005781260001000f828..."} 
[2026-07-08 15:32:08] local.INFO: Processing buffer {"connection_id":125544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412975c0012d9aa38005781260001000f828..."} 
[2026-07-08 15:32:08] local.INFO: Packet analysis {"connection_id":125544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4129"} 
[2026-07-08 15:32:08] local.INFO: Extracted packet for processing {"connection_id":125544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4129"} 
[2026-07-08 15:32:08] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":16,"angle":248,"satellites":40,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577117184001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:32:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783504664000,"timestamp_ms":1783504664000,"timestamp_seconds":1783504664,"priority":1,"record_length":96,"hex_timestamp":"0000019f412975c0"} 
[2026-07-08 15:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-08 15:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577117184001,"66":26115,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577117184001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:32:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:32:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577117184001,"power":26115,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":125544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:32:08] local.INFO: GPS data processed {"connection_id":125544,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:32:08] local.INFO: Acknowledgment sent {"connection_id":125544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:32:16] local.INFO: TCP Data received {"connection_id":125544,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f412975c0012d9aa38005781260001000f828..."} 
[2026-07-08 15:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412975c0012d9aa38005781260001000f828..."} 
[2026-07-08 15:32:17] local.INFO: Processing buffer {"connection_id":125544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412975c0012d9aa38005781260001000f828..."} 
[2026-07-08 15:32:17] local.INFO: Packet analysis {"connection_id":125544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4129"} 
[2026-07-08 15:32:17] local.INFO: Extracted packet for processing {"connection_id":125544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4129"} 
[2026-07-08 15:32:17] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":16,"angle":248,"satellites":40,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577117184001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:32:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:32:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783504664000,"timestamp_ms":1783504664000,"timestamp_seconds":1783504664,"priority":1,"record_length":96,"hex_timestamp":"0000019f412975c0"} 
[2026-07-08 15:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:32: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-07-08 15: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-08 15:32:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":125544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":125544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":125544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:32:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577117184001,"66":26115,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577117184001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:32:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:32:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:32:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577117184001,"power":26115,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":125544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:32:17] local.INFO: GPS data processed {"connection_id":125544,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:32:17] local.INFO: Acknowledgment sent {"connection_id":125544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:32:19] local.INFO: TCP Data received {"connection_id":125657,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125657,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:32:19] local.INFO: Processing buffer {"connection_id":125657,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:32:19] local.INFO: IMEI packet received {"connection_id":125657,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":125657,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:32:20] local.INFO: TCP Data received {"connection_id":125657,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125657,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:32:20] local.INFO: Processing buffer {"connection_id":125657,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:32:20] local.INFO: IMEI packet received {"connection_id":125657,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":125657,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:32:20] local.INFO: TCP Data received {"connection_id":125657,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125657,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:32:20] local.INFO: Processing buffer {"connection_id":125657,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:32:20] local.INFO: IMEI packet received {"connection_id":125657,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":125657,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:32:21] local.INFO: TCP Data received {"connection_id":125657,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125657,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:32:21] local.INFO: Processing buffer {"connection_id":125657,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:32:21] local.INFO: IMEI packet received {"connection_id":125657,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":125657,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:32:37] local.INFO: TCP Data received {"connection_id":126414,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f412d36b0012d19d5800720af80003100dc26..."} 
[2026-07-08 15:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412d36b0012d19d5800720af80003100dc26..."} 
[2026-07-08 15:32:37] local.INFO: Processing buffer {"connection_id":126414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412d36b0012d19d5800720af80003100dc26..."} 
[2026-07-08 15:32:37] local.INFO: Packet analysis {"connection_id":126414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f412d"} 
[2026-07-08 15:32:37] local.INFO: Extracted packet for processing {"connection_id":126414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f412d"} 
[2026-07-08 15:32:37] local.INFO: GPS Element Parsed {"raw_longitude":756667776,"raw_latitude":119582592,"longitude_deg":75.6667776,"latitude_deg":11.9582592,"altitude":49,"angle":220,"satellites":38,"speed":20,"hex_longitude":"2d19d580","hex_latitude":"0720af80","is_valid_coordinates":true} 
[2026-07-08 15:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577256704001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4827156693647360,"note":"Value kept but may cause issues"} 
[2026-07-08 15:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861886632810051584,"note":"Value kept but may cause issues"} 
[2026-07-08 15:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783504910000,"timestamp_ms":1783504910000,"timestamp_seconds":1783504910,"priority":1,"record_length":96,"hex_timestamp":"0000019f412d36b0"} 
[2026-07-08 15:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-08 15:32: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-07-08 15:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577256704001,"66":14102,"103":206,"83":41984,"24":20,"16":4827156693647360,"45":1861886632810051584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 15:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577256704001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:32:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 15:32:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4827156693647360,"km_value":4827156693647.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861886632810051584,"description":"Unknown IO ID 45"} 
[2026-07-08 15:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577256704001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1861886632810051584}} 
[2026-07-08 15:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":126414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:32:38] local.INFO: GPS data processed {"connection_id":126414,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:32:38] local.INFO: Acknowledgment sent {"connection_id":126414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:33:00] local.INFO: TCP Data received {"connection_id":125545,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:33:00] local.INFO: Processing buffer {"connection_id":125545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:33:00] local.INFO: IMEI packet received {"connection_id":125545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":125545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:33:00] local.INFO: TCP Data received {"connection_id":125546,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:33:00] local.INFO: Processing buffer {"connection_id":125546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:33:00] local.INFO: IMEI packet received {"connection_id":125546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":125546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:33:03] local.INFO: TCP Data received {"connection_id":125545,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:33:03] local.INFO: Processing buffer {"connection_id":125545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:33:03] local.INFO: IMEI packet received {"connection_id":125545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":125545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:33:05] local.INFO: TCP Data received {"connection_id":125545,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:33:05] local.INFO: Processing buffer {"connection_id":125545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:33:05] local.INFO: IMEI packet received {"connection_id":125545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":125545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:33:06] local.INFO: TCP Data received {"connection_id":125545,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f412d55f0012d19cb800720a548003000ec29..."} 
[2026-07-08 15:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412d55f0012d19cb800720a548003000ec29..."} 
[2026-07-08 15:33:06] local.INFO: Processing buffer {"connection_id":125545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412d55f0012d19cb800720a548003000ec29..."} 
[2026-07-08 15:33:06] local.INFO: Packet analysis {"connection_id":125545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f412d"} 
[2026-07-08 15:33:06] local.INFO: Extracted packet for processing {"connection_id":125545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f412d"} 
[2026-07-08 15:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756665216,"raw_latitude":119579976,"longitude_deg":75.6665216,"latitude_deg":11.9579976,"altitude":48,"angle":236,"satellites":41,"speed":18,"hex_longitude":"2d19cb80","hex_latitude":"0720a548","is_valid_coordinates":true} 
[2026-07-08 15:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577256960001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4827332787306496,"note":"Value kept but may cause issues"} 
[2026-07-08 15:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861534789089067008,"note":"Value kept but may cause issues"} 
[2026-07-08 15:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783504918000,"timestamp_ms":1783504918000,"timestamp_seconds":1783504918,"priority":1,"record_length":96,"hex_timestamp":"0000019f412d55f0"} 
[2026-07-08 15:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-08 15:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577256960001,"66":14080,"103":206,"83":41984,"24":18,"16":4827332787306496,"45":1861534789089067008},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 15:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577256960001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:33:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 15:33:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4827332787306496,"km_value":4827332787306.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861534789089067008,"description":"Unknown IO ID 45"} 
[2026-07-08 15:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577256960001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1861534789089067008}} 
[2026-07-08 15:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":125545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:33:06] local.INFO: GPS data processed {"connection_id":125545,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:33:06] local.INFO: Acknowledgment sent {"connection_id":125545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:33:06] local.INFO: TCP Data received {"connection_id":125546,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:33:06] local.INFO: Processing buffer {"connection_id":125546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:33:06] local.INFO: IMEI packet received {"connection_id":125546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":125546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:33:06] local.INFO: TCP Data received {"connection_id":125545,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f412d59d8012d19c9800720a498002f00fb2a..."} 
[2026-07-08 15:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412d59d8012d19c9800720a498002f00fb2a..."} 
[2026-07-08 15:33:06] local.INFO: Processing buffer {"connection_id":125545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412d59d8012d19c9800720a498002f00fb2a..."} 
[2026-07-08 15:33:06] local.INFO: Packet analysis {"connection_id":125545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f412d"} 
[2026-07-08 15:33:06] local.INFO: Extracted packet for processing {"connection_id":125545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f412d"} 
[2026-07-08 15:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756664704,"raw_latitude":119579800,"longitude_deg":75.6664704,"latitude_deg":11.95798,"altitude":47,"angle":251,"satellites":42,"speed":17,"hex_longitude":"2d19c980","hex_latitude":"0720a498","is_valid_coordinates":true} 
[2026-07-08 15:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577259008001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4827354262142976,"note":"Value kept but may cause issues"} 
[2026-07-08 15:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858720039321290752,"note":"Value kept but may cause issues"} 
[2026-07-08 15:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783504919000,"timestamp_ms":1783504919000,"timestamp_seconds":1783504919,"priority":1,"record_length":96,"hex_timestamp":"0000019f412d59d8"} 
[2026-07-08 15:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-08 15:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-07-08 15:33:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-08 15:33:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 15:33:06] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2988965939,"note":"Value kept but may cause issues"} 
[2026-07-08 15:33:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-08 15:33:06] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,103,83,24,241,157,16,38,159,54,45,128,175,49,10,66,50,192,176,41,46,1,240,40,227,65,32,4,113,205,27,23,232,88,239,57,2,17,7,55,28],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-08 15:33:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3459024174659534848,"timestamp_seconds":3459024174659535.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 15:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577259008001,"66":14102,"103":206,"83":41984,"24":17,"16":4827354262142976,"45":1858720039321290752},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 15:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577259008001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:33:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 15:33:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4827354262142976,"km_value":4827354262142.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858720039321290752,"description":"Unknown IO ID 45"} 
[2026-07-08 15:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577259008001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1858720039321290752}} 
[2026-07-08 15:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":125545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:33:06] local.INFO: GPS data processed {"connection_id":125545,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:33:06] local.INFO: Acknowledgment sent {"connection_id":125545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:33:09] local.INFO: TCP Data received {"connection_id":125546,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f412975c0012d9aa38005781260001000f828..."} 
[2026-07-08 15:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412975c0012d9aa38005781260001000f828..."} 
[2026-07-08 15:33:09] local.INFO: Processing buffer {"connection_id":125546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412975c0012d9aa38005781260001000f828..."} 
[2026-07-08 15:33:09] local.INFO: Packet analysis {"connection_id":125546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4129"} 
[2026-07-08 15:33:09] local.INFO: Extracted packet for processing {"connection_id":125546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4129"} 
[2026-07-08 15:33:09] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":16,"angle":248,"satellites":40,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577117184001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:33:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783504664000,"timestamp_ms":1783504664000,"timestamp_seconds":1783504664,"priority":1,"record_length":96,"hex_timestamp":"0000019f412975c0"} 
[2026-07-08 15:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-08 15:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577117184001,"66":26115,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577117184001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:33:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:33:09] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577117184001,"power":26115,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":125546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:33:09] local.INFO: GPS data processed {"connection_id":125546,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:33:09] local.INFO: Acknowledgment sent {"connection_id":125546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:33:38] local.INFO: TCP Data received {"connection_id":125545,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f412d5dc0012d19c8400720a460002f010b2a..."} 
[2026-07-08 15:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412d5dc0012d19c8400720a460002f010b2a..."} 
[2026-07-08 15:33:38] local.INFO: Processing buffer {"connection_id":125545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412d5dc0012d19c8400720a460002f010b2a..."} 
[2026-07-08 15:33:38] local.INFO: Packet analysis {"connection_id":125545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f412d"} 
[2026-07-08 15:33:38] local.INFO: Extracted packet for processing {"connection_id":125545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f412d"} 
[2026-07-08 15:33:38] local.INFO: GPS Element Parsed {"raw_longitude":756664384,"raw_latitude":119579744,"longitude_deg":75.6664384,"latitude_deg":11.9579744,"altitude":47,"angle":267,"satellites":42,"speed":19,"hex_longitude":"2d19c840","hex_latitude":"0720a460","is_valid_coordinates":true} 
[2026-07-08 15:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577259264001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4827375736979456,"note":"Value kept but may cause issues"} 
[2026-07-08 15:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858157089367824384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:33: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-07-08 15:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783504920000,"timestamp_ms":1783504920000,"timestamp_seconds":1783504920,"priority":1,"record_length":96,"hex_timestamp":"0000019f412d5dc0"} 
[2026-07-08 15:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-08 15:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577259264001,"66":14102,"103":206,"83":41984,"24":19,"16":4827375736979456,"45":1858157089367824384},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 15:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577259264001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:33:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 15:33:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4827375736979456,"km_value":4827375736979.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858157089367824384,"description":"Unknown IO ID 45"} 
[2026-07-08 15:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577259264001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1858157089367824384}} 
[2026-07-08 15:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":125545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:33:38] local.INFO: GPS data processed {"connection_id":125545,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:33:38] local.INFO: Acknowledgment sent {"connection_id":125545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:34:00] local.INFO: TCP Data received {"connection_id":125658,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:34:00] local.INFO: Processing buffer {"connection_id":125658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:34:00] local.INFO: IMEI packet received {"connection_id":125658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":125658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:34:01] local.INFO: TCP Data received {"connection_id":125547,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:34:01] local.INFO: Processing buffer {"connection_id":125547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:34:01] local.INFO: IMEI packet received {"connection_id":125547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":125547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:34:05] local.INFO: TCP Data received {"connection_id":125658,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:34:05] local.INFO: Processing buffer {"connection_id":125658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:34:05] local.INFO: IMEI packet received {"connection_id":125658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":125658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:34:06] local.INFO: TCP Data received {"connection_id":125658,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f412d6590012d19c3c00720a4c8003001172a..."} 
[2026-07-08 15:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412d6590012d19c3c00720a4c8003001172a..."} 
[2026-07-08 15:34:06] local.INFO: Processing buffer {"connection_id":125658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412d6590012d19c3c00720a4c8003001172a..."} 
[2026-07-08 15:34:06] local.INFO: Packet analysis {"connection_id":125658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f412d"} 
[2026-07-08 15:34:06] local.INFO: Extracted packet for processing {"connection_id":125658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f412d"} 
[2026-07-08 15:34:06] local.INFO: GPS Element Parsed {"raw_longitude":756663232,"raw_latitude":119579848,"longitude_deg":75.6663232,"latitude_deg":11.9579848,"altitude":48,"angle":279,"satellites":42,"speed":22,"hex_longitude":"2d19c3c0","hex_latitude":"0720a4c8","is_valid_coordinates":true} 
[2026-07-08 15:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577259520001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4827427276587008,"note":"Value kept but may cause issues"} 
[2026-07-08 15:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857805245646921728,"note":"Value kept but may cause issues"} 
[2026-07-08 15:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783504922000,"timestamp_ms":1783504922000,"timestamp_seconds":1783504922,"priority":1,"record_length":96,"hex_timestamp":"0000019f412d6590"} 
[2026-07-08 15:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-08 15:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577259520001,"66":14113,"103":206,"83":41984,"24":22,"16":4827427276587008,"45":1857805245646921728},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 15:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577259520001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:34:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 15:34:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4827427276587008,"km_value":4827427276587.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857805245646921728,"description":"Unknown IO ID 45"} 
[2026-07-08 15:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577259520001,"power":14113,"unknown_103":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1857805245646921728}} 
[2026-07-08 15:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":125658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:34:06] local.INFO: GPS data processed {"connection_id":125658,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:34:06] local.INFO: Acknowledgment sent {"connection_id":125658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:34:07] local.INFO: TCP Data received {"connection_id":125547,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:34:07] local.INFO: Processing buffer {"connection_id":125547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:34:07] local.INFO: IMEI packet received {"connection_id":125547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":125547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:34:08] local.INFO: TCP Data received {"connection_id":125547,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f412e1170012d9aa38005781260000a00f829..."} 
[2026-07-08 15:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412e1170012d9aa38005781260000a00f829..."} 
[2026-07-08 15:34:08] local.INFO: Processing buffer {"connection_id":125547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412e1170012d9aa38005781260000a00f829..."} 
[2026-07-08 15:34:08] local.INFO: Packet analysis {"connection_id":125547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f412e"} 
[2026-07-08 15:34:08] local.INFO: Extracted packet for processing {"connection_id":125547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f412e"} 
[2026-07-08 15:34:08] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":10,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577193984001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783504966000,"timestamp_ms":1783504966000,"timestamp_seconds":1783504966,"priority":1,"record_length":96,"hex_timestamp":"0000019f412e1170"} 
[2026-07-08 15:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 15:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577193984001,"66":25995,"131":206,"85":15872,"24":0,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-08 15:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577193984001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:34:08] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-08 15:34:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577193984001,"power":25995,"unknown_131":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":125547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:34:08] local.INFO: GPS data processed {"connection_id":125547,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:34:08] local.INFO: Acknowledgment sent {"connection_id":125547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:34:37] local.INFO: TCP Data received {"connection_id":125658,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f412edc90012d193fc00720b030002f012928..."} 
[2026-07-08 15:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412edc90012d193fc00720b030002f012928..."} 
[2026-07-08 15:34:37] local.INFO: Processing buffer {"connection_id":125658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412edc90012d193fc00720b030002f012928..."} 
[2026-07-08 15:34:37] local.INFO: Packet analysis {"connection_id":125658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f412e"} 
[2026-07-08 15:34:37] local.INFO: Extracted packet for processing {"connection_id":125658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f412e"} 
[2026-07-08 15:34:37] local.INFO: GPS Element Parsed {"raw_longitude":756629440,"raw_latitude":119582768,"longitude_deg":75.662944,"latitude_deg":11.9582768,"altitude":47,"angle":297,"satellites":40,"speed":39,"hex_longitude":"2d193fc0","hex_latitude":"0720b030","is_valid_coordinates":true} 
[2026-07-08 15:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577283584001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4829098018865152,"note":"Value kept but may cause issues"} 
[2026-07-08 15:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823324561000314880,"note":"Value kept but may cause issues"} 
[2026-07-08 15:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783505018000,"timestamp_ms":1783505018000,"timestamp_seconds":1783505018,"priority":1,"record_length":96,"hex_timestamp":"0000019f412edc90"} 
[2026-07-08 15:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 15:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577283584001,"66":14450,"103":206,"83":41984,"24":39,"16":4829098018865152,"45":1823324561000314880},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 15:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577283584001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:34:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 15:34:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4829098018865152,"km_value":4829098018865.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823324561000314880,"description":"Unknown IO ID 45"} 
[2026-07-08 15:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577283584001,"power":14450,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1823324561000314880}} 
[2026-07-08 15:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":125658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:34:38] local.INFO: GPS data processed {"connection_id":125658,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:34:38] local.INFO: Acknowledgment sent {"connection_id":125658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:34:45] local.INFO: TCP Data received {"connection_id":125547,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f412e1170012d9aa38005781260000a00f829..."} 
[2026-07-08 15:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412e1170012d9aa38005781260000a00f829..."} 
[2026-07-08 15:34:45] local.INFO: Processing buffer {"connection_id":125547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412e1170012d9aa38005781260000a00f829..."} 
[2026-07-08 15:34:45] local.INFO: Packet analysis {"connection_id":125547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f412e"} 
[2026-07-08 15:34:45] local.INFO: Extracted packet for processing {"connection_id":125547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f412e"} 
[2026-07-08 15:34:45] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":10,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577193984001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:34:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:34:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783504966000,"timestamp_ms":1783504966000,"timestamp_seconds":1783504966,"priority":1,"record_length":96,"hex_timestamp":"0000019f412e1170"} 
[2026-07-08 15:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:34:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 15:34:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:34:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":125547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":125547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":125547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577193984001,"66":25995,"131":206,"85":15872,"24":0,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-08 15:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577193984001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:34:45] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-08 15:34:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:34:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577193984001,"power":25995,"unknown_131":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":125547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:34:45] local.INFO: GPS data processed {"connection_id":125547,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:34:45] local.INFO: Acknowledgment sent {"connection_id":125547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:34:59] local.INFO: TCP Data received {"connection_id":126417,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:34:59] local.INFO: Processing buffer {"connection_id":126417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:34:59] local.INFO: IMEI packet received {"connection_id":126417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":126417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:35:00] local.INFO: TCP Data received {"connection_id":126417,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:35:00] local.INFO: Processing buffer {"connection_id":126417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:35:00] local.INFO: IMEI packet received {"connection_id":126417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":126417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:35:05] local.INFO: TCP Data received {"connection_id":127651,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:35:05] local.INFO: Processing buffer {"connection_id":127651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:35:05] local.INFO: IMEI packet received {"connection_id":127651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":127651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:35:06] local.INFO: TCP Data received {"connection_id":126417,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:35:06] local.INFO: Processing buffer {"connection_id":126417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:35:06] local.INFO: IMEI packet received {"connection_id":126417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":126417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:35:07] local.INFO: TCP Data received {"connection_id":127651,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:35:07] local.INFO: Processing buffer {"connection_id":127651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:35:07] local.INFO: IMEI packet received {"connection_id":127651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":127651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:35:08] local.INFO: TCP Data received {"connection_id":127651,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f412effb8012d191fc00720bfc8002e012026..."} 
[2026-07-08 15:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412effb8012d191fc00720bfc8002e012026..."} 
[2026-07-08 15:35:08] local.INFO: Processing buffer {"connection_id":127651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412effb8012d191fc00720bfc8002e012026..."} 
[2026-07-08 15:35:08] local.INFO: Packet analysis {"connection_id":127651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f412e"} 
[2026-07-08 15:35:08] local.INFO: Extracted packet for processing {"connection_id":127651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f412e"} 
[2026-07-08 15:35:08] local.INFO: GPS Element Parsed {"raw_longitude":756621248,"raw_latitude":119586760,"longitude_deg":75.6621248,"latitude_deg":11.958676,"altitude":46,"angle":288,"satellites":38,"speed":41,"hex_longitude":"2d191fc0","hex_latitude":"0720bfc8","is_valid_coordinates":true} 
[2026-07-08 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-07-08 15:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577284608001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4829531810562048,"note":"Value kept but may cause issues"} 
[2026-07-08 15:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819383911326691328,"note":"Value kept but may cause issues"} 
[2026-07-08 15:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783505027000,"timestamp_ms":1783505027000,"timestamp_seconds":1783505027,"priority":1,"record_length":96,"hex_timestamp":"0000019f412effb8"} 
[2026-07-08 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-07-08 15:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":114,"data_length":795,"current_offset":136} 
[2026-07-08 15:35: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-07-08 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-07-08 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-07-08 15:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":127651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":127651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":127651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577284608001,"66":14428,"103":206,"83":41984,"24":41,"16":4829531810562048,"45":1819383911326691328},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 15:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577284608001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:35:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 15:35:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4829531810562048,"km_value":4829531810562.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819383911326691328,"description":"Unknown IO ID 45"} 
[2026-07-08 15:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577284608001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1819383911326691328}} 
[2026-07-08 15:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":127651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:35:08] local.INFO: GPS data processed {"connection_id":127651,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:35:08] local.INFO: Acknowledgment sent {"connection_id":127651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:35:09] local.INFO: TCP Data received {"connection_id":126417,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f412e1170012d9aa38005781260000a00f829..."} 
[2026-07-08 15:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412e1170012d9aa38005781260000a00f829..."} 
[2026-07-08 15:35:09] local.INFO: Processing buffer {"connection_id":126417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412e1170012d9aa38005781260000a00f829..."} 
[2026-07-08 15:35:09] local.INFO: Packet analysis {"connection_id":126417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f412e"} 
[2026-07-08 15:35:09] local.INFO: Extracted packet for processing {"connection_id":126417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f412e"} 
[2026-07-08 15:35:09] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":10,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577193984001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783504966000,"timestamp_ms":1783504966000,"timestamp_seconds":1783504966,"priority":1,"record_length":96,"hex_timestamp":"0000019f412e1170"} 
[2026-07-08 15:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 15:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577193984001,"66":25995,"131":206,"85":15872,"24":0,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-08 15:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577193984001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:35:09] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-08 15:35:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577193984001,"power":25995,"unknown_131":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":126417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:35:09] local.INFO: GPS data processed {"connection_id":126417,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:35:09] local.INFO: Acknowledgment sent {"connection_id":126417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:35:40] local.INFO: TCP Data received {"connection_id":127651,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f412fd2a8012d18c140072154100045014e2a..."} 
[2026-07-08 15:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412fd2a8012d18c140072154100045014e2a..."} 
[2026-07-08 15:35:40] local.INFO: Processing buffer {"connection_id":127651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412fd2a8012d18c140072154100045014e2a..."} 
[2026-07-08 15:35:40] local.INFO: Packet analysis {"connection_id":127651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f412f"} 
[2026-07-08 15:35:40] local.INFO: Extracted packet for processing {"connection_id":127651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f412f"} 
[2026-07-08 15:35:40] local.INFO: GPS Element Parsed {"raw_longitude":756597056,"raw_latitude":119624720,"longitude_deg":75.6597056,"latitude_deg":11.962472,"altitude":69,"angle":334,"satellites":42,"speed":35,"hex_longitude":"2d18c140","hex_latitude":"07215410","is_valid_coordinates":true} 
[2026-07-08 15:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577299712001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4831859682836480,"note":"Value kept but may cause issues"} 
[2026-07-08 15:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784269907991851008,"note":"Value kept but may cause issues"} 
[2026-07-08 15: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-07-08 15:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783505081000,"timestamp_ms":1783505081000,"timestamp_seconds":1783505081,"priority":1,"record_length":96,"hex_timestamp":"0000019f412fd2a8"} 
[2026-07-08 15:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:35: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-07-08 15:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-08 15:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":127651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":127651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":127651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577299712001,"66":14548,"103":206,"83":41984,"24":35,"16":4831859682836480,"45":1784269907991851008},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 15:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577299712001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:35:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 15:35:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4831859682836480,"km_value":4831859682836.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784269907991851008,"description":"Unknown IO ID 45"} 
[2026-07-08 15:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577299712001,"power":14548,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1784269907991851008}} 
[2026-07-08 15:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":127651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:35:40] local.INFO: GPS data processed {"connection_id":127651,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:35:40] local.INFO: Acknowledgment sent {"connection_id":127651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:35:59] local.INFO: TCP Data received {"connection_id":125660,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:35:59] local.INFO: Processing buffer {"connection_id":125660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:35:59] local.INFO: IMEI packet received {"connection_id":125660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":125660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:36:00] local.INFO: TCP Data received {"connection_id":125660,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:36:00] local.INFO: Processing buffer {"connection_id":125660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:36:00] local.INFO: IMEI packet received {"connection_id":125660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":125660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:36:01] local.INFO: TCP Data received {"connection_id":125659,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:36:01] local.INFO: Processing buffer {"connection_id":125659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:36:01] local.INFO: IMEI packet received {"connection_id":125659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":125659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:36:05] local.INFO: TCP Data received {"connection_id":125660,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:36:05] local.INFO: Processing buffer {"connection_id":125660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:36:05] local.INFO: IMEI packet received {"connection_id":125660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":125660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:36:06] local.INFO: TCP Data received {"connection_id":125660,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41300188012d18ae4007217050004b013d26..."} 
[2026-07-08 15:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41300188012d18ae4007217050004b013d26..."} 
[2026-07-08 15:36:06] local.INFO: Processing buffer {"connection_id":125660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41300188012d18ae4007217050004b013d26..."} 
[2026-07-08 15:36:06] local.INFO: Packet analysis {"connection_id":125660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4130"} 
[2026-07-08 15:36:06] local.INFO: Extracted packet for processing {"connection_id":125660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4130"} 
[2026-07-08 15:36:06] local.INFO: GPS Element Parsed {"raw_longitude":756592192,"raw_latitude":119631952,"longitude_deg":75.6592192,"latitude_deg":11.9631952,"altitude":75,"angle":317,"satellites":38,"speed":10,"hex_longitude":"2d18ae40","hex_latitude":"07217050","is_valid_coordinates":true} 
[2026-07-08 15:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577300736001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4832280589631488,"note":"Value kept but may cause issues"} 
[2026-07-08 15:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783777326783533056,"note":"Value kept but may cause issues"} 
[2026-07-08 15:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783505093000,"timestamp_ms":1783505093000,"timestamp_seconds":1783505093,"priority":1,"record_length":96,"hex_timestamp":"0000019f41300188"} 
[2026-07-08 15:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-08 15:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577300736001,"66":13276,"103":206,"83":41984,"24":10,"16":4832280589631488,"45":1783777326783533056},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 15:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577300736001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:36:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 15:36:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4832280589631488,"km_value":4832280589631.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783777326783533056,"description":"Unknown IO ID 45"} 
[2026-07-08 15:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577300736001,"power":13276,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1783777326783533056}} 
[2026-07-08 15:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":125660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:36:06] local.INFO: GPS data processed {"connection_id":125660,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:36:06] local.INFO: Acknowledgment sent {"connection_id":125660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:36:15] local.INFO: TCP Data received {"connection_id":125659,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:36:15] local.INFO: Processing buffer {"connection_id":125659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:36:15] local.INFO: IMEI packet received {"connection_id":125659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":125659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:36:16] local.INFO: TCP Data received {"connection_id":125659,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f412e1170012d9aa38005781260000a00f829..."} 
[2026-07-08 15:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412e1170012d9aa38005781260000a00f829..."} 
[2026-07-08 15:36:16] local.INFO: Processing buffer {"connection_id":125659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412e1170012d9aa38005781260000a00f829..."} 
[2026-07-08 15:36:16] local.INFO: Packet analysis {"connection_id":125659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f412e"} 
[2026-07-08 15:36:16] local.INFO: Extracted packet for processing {"connection_id":125659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f412e"} 
[2026-07-08 15:36:16] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":10,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577193984001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783504966000,"timestamp_ms":1783504966000,"timestamp_seconds":1783504966,"priority":1,"record_length":96,"hex_timestamp":"0000019f412e1170"} 
[2026-07-08 15:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 15:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":125659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":125659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":125659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577193984001,"66":25995,"131":206,"85":15872,"24":0,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-08 15:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577193984001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:36:16] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-08 15:36:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577193984001,"power":25995,"unknown_131":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":125659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:36:16] local.INFO: GPS data processed {"connection_id":125659,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:36:16] local.INFO: Acknowledgment sent {"connection_id":125659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:36:17] local.INFO: TCP Data received {"connection_id":125659,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f412e1170012d9aa38005781260000a00f829..."} 
[2026-07-08 15:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412e1170012d9aa38005781260000a00f829..."} 
[2026-07-08 15:36:17] local.INFO: Processing buffer {"connection_id":125659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412e1170012d9aa38005781260000a00f829..."} 
[2026-07-08 15:36:17] local.INFO: Packet analysis {"connection_id":125659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f412e"} 
[2026-07-08 15:36:17] local.INFO: Extracted packet for processing {"connection_id":125659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f412e"} 
[2026-07-08 15:36:17] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":10,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577193984001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:36:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783504966000,"timestamp_ms":1783504966000,"timestamp_seconds":1783504966,"priority":1,"record_length":96,"hex_timestamp":"0000019f412e1170"} 
[2026-07-08 15:36:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:36:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 15:36:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:36:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:36:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":125659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":125659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":125659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577193984001,"66":25995,"131":206,"85":15872,"24":0,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-08 15:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577193984001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:36:17] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-08 15:36:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577193984001,"power":25995,"unknown_131":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":125659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:36:17] local.INFO: GPS data processed {"connection_id":125659,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:36:17] local.INFO: Acknowledgment sent {"connection_id":125659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:36:37] local.INFO: TCP Data received {"connection_id":125660,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41301ce0012d18ab4007217340004c014d26..."} 
[2026-07-08 15:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41301ce0012d18ab4007217340004c014d26..."} 
[2026-07-08 15:36:37] local.INFO: Processing buffer {"connection_id":125660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41301ce0012d18ab4007217340004c014d26..."} 
[2026-07-08 15:36:37] local.INFO: Packet analysis {"connection_id":125660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4130"} 
[2026-07-08 15:36:37] local.INFO: Extracted packet for processing {"connection_id":125660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4130"} 
[2026-07-08 15:36:37] local.INFO: GPS Element Parsed {"raw_longitude":756591424,"raw_latitude":119632704,"longitude_deg":75.6591424,"latitude_deg":11.9632704,"altitude":76,"angle":333,"satellites":38,"speed":8,"hex_longitude":"2d18ab40","hex_latitude":"07217340","is_valid_coordinates":true} 
[2026-07-08 15:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577303808001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4832332129239040,"note":"Value kept but may cause issues"} 
[2026-07-08 15:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778429302227881984,"note":"Value kept but may cause issues"} 
[2026-07-08 15:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783505100000,"timestamp_ms":1783505100000,"timestamp_seconds":1783505100,"priority":1,"record_length":96,"hex_timestamp":"0000019f41301ce0"} 
[2026-07-08 15:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-08 15:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577303808001,"66":13254,"103":206,"83":41984,"24":8,"16":4832332129239040,"45":1778429302227881984},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 15:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577303808001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:36:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 15:36:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4832332129239040,"km_value":4832332129239.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778429302227881984,"description":"Unknown IO ID 45"} 
[2026-07-08 15:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577303808001,"power":13254,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1778429302227881984}} 
[2026-07-08 15:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":125660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:36:37] local.INFO: GPS data processed {"connection_id":125660,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:36:37] local.INFO: Acknowledgment sent {"connection_id":125660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:36:59] local.INFO: TCP Data received {"connection_id":125548,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125548,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:36:59] local.INFO: Processing buffer {"connection_id":125548,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:36:59] local.INFO: IMEI packet received {"connection_id":125548,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 15:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":125548,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:37:00] local.INFO: TCP Data received {"connection_id":125549,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:37:00] local.INFO: Processing buffer {"connection_id":125549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:37:00] local.INFO: IMEI packet received {"connection_id":125549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":125549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:37:01] local.INFO: TCP Data received {"connection_id":125661,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:37:01] local.INFO: Processing buffer {"connection_id":125661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:37:01] local.INFO: IMEI packet received {"connection_id":125661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":125661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:37:02] local.INFO: TCP Data received {"connection_id":125549,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:37:02] local.INFO: TCP Data received {"connection_id":125661,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:37:02] local.INFO: Processing buffer {"connection_id":125549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:37:02] local.INFO: IMEI packet received {"connection_id":125549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":125549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:37:02] local.INFO: Processing buffer {"connection_id":125661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:37:02] local.INFO: IMEI packet received {"connection_id":125661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":125661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:37:02] local.INFO: TCP Data received {"connection_id":125661,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f412e1170012d9aa38005781260000a00f829..."} 
[2026-07-08 15:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412e1170012d9aa38005781260000a00f829..."} 
[2026-07-08 15:37:02] local.INFO: Processing buffer {"connection_id":125661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412e1170012d9aa38005781260000a00f829..."} 
[2026-07-08 15:37:02] local.INFO: Packet analysis {"connection_id":125661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f412e"} 
[2026-07-08 15:37:02] local.INFO: Extracted packet for processing {"connection_id":125661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f412e"} 
[2026-07-08 15:37:02] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":10,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577193984001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:37:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783504966000,"timestamp_ms":1783504966000,"timestamp_seconds":1783504966,"priority":1,"record_length":96,"hex_timestamp":"0000019f412e1170"} 
[2026-07-08 15:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:37:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 15:37:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:37:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577193984001,"66":25995,"131":206,"85":15872,"24":0,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-08 15:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577193984001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:37:02] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-08 15:37:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577193984001,"power":25995,"unknown_131":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":125661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:37:02] local.INFO: GPS data processed {"connection_id":125661,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:37:02] local.INFO: Acknowledgment sent {"connection_id":125661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:37:05] local.INFO: TCP Data received {"connection_id":125549,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:37:05] local.INFO: Processing buffer {"connection_id":125549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:37:05] local.INFO: IMEI packet received {"connection_id":125549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":125549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:37:06] local.INFO: TCP Data received {"connection_id":125549,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41306ee8012d18aa80072171c0004e014d29..."} 
[2026-07-08 15:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41306ee8012d18aa80072171c0004e014d29..."} 
[2026-07-08 15:37:06] local.INFO: Processing buffer {"connection_id":125549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41306ee8012d18aa80072171c0004e014d29..."} 
[2026-07-08 15:37:06] local.INFO: Packet analysis {"connection_id":125549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4130"} 
[2026-07-08 15:37:06] local.INFO: Extracted packet for processing {"connection_id":125549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4130"} 
[2026-07-08 15:37:06] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119632320,"longitude_deg":75.6591232,"latitude_deg":11.963232,"altitude":78,"angle":333,"satellites":41,"speed":1,"hex_longitude":"2d18aa80","hex_latitude":"072171c0","is_valid_coordinates":true} 
[2026-07-08 15:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577305600001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4832375078912000,"note":"Value kept but may cause issues"} 
[2026-07-08 15:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777584877297942528,"note":"Value kept but may cause issues"} 
[2026-07-08 15:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783505121000,"timestamp_ms":1783505121000,"timestamp_seconds":1783505121,"priority":1,"record_length":96,"hex_timestamp":"0000019f41306ee8"} 
[2026-07-08 15:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-08 15:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577305600001,"66":13156,"106":206,"83":41984,"24":1,"16":4832375078912000,"45":1777584877297942528},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-08 15:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577305600001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:37:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-08 15:37:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4832375078912000,"km_value":4832375078912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777584877297942528,"description":"Unknown IO ID 45"} 
[2026-07-08 15:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577305600001,"power":13156,"unknown_106":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1777584877297942528}} 
[2026-07-08 15:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":125549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:37:06] local.INFO: GPS data processed {"connection_id":125549,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:37:06] local.INFO: Acknowledgment sent {"connection_id":125549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:37:06] local.INFO: TCP Data received {"connection_id":125661,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f412e1170012d9aa38005781260000a00f829..."} 
[2026-07-08 15:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412e1170012d9aa38005781260000a00f829..."} 
[2026-07-08 15:37:06] local.INFO: Processing buffer {"connection_id":125661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412e1170012d9aa38005781260000a00f829..."} 
[2026-07-08 15:37:06] local.INFO: Packet analysis {"connection_id":125661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f412e"} 
[2026-07-08 15:37:06] local.INFO: Extracted packet for processing {"connection_id":125661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f412e"} 
[2026-07-08 15:37:06] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":10,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577193984001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783504966000,"timestamp_ms":1783504966000,"timestamp_seconds":1783504966,"priority":1,"record_length":96,"hex_timestamp":"0000019f412e1170"} 
[2026-07-08 15:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 15:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577193984001,"66":25995,"131":206,"85":15872,"24":0,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-08 15:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577193984001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:37:06] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-08 15:37:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577193984001,"power":25995,"unknown_131":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":125661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:37:06] local.INFO: GPS data processed {"connection_id":125661,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:37:06] local.INFO: Acknowledgment sent {"connection_id":125661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:37:25] local.INFO: TCP Data received {"connection_id":127653,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127653,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:37:25] local.INFO: Processing buffer {"connection_id":127653,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:37:25] local.INFO: IMEI packet received {"connection_id":127653,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":127653,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:37:33] local.INFO: TCP Data received {"connection_id":127653,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4131e200012d0b6a8007034f000018007c1d..."} 
[2026-07-08 15:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4131e200012d0b6a8007034f000018007c1d..."} 
[2026-07-08 15:37:33] local.INFO: Processing buffer {"connection_id":127653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4131e200012d0b6a8007034f000018007c1d..."} 
[2026-07-08 15:37:33] local.INFO: Packet analysis {"connection_id":127653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4131"} 
[2026-07-08 15:37:33] local.INFO: Extracted packet for processing {"connection_id":127653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4131"} 
[2026-07-08 15:37:33] local.INFO: GPS Element Parsed {"raw_longitude":755722880,"raw_latitude":117657344,"longitude_deg":75.572288,"latitude_deg":11.7657344,"altitude":24,"angle":124,"satellites":29,"speed":14,"hex_longitude":"2d0b6a80","hex_latitude":"07034f00","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577335040001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23590893852295168,"note":"Value kept but may cause issues"} 
[2026-07-08 15:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":822258805836328960,"note":"Value kept but may cause issues"} 
[2026-07-08 15:37: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-07-08 15:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783505216000,"timestamp_ms":1783505216000,"timestamp_seconds":1783505216,"priority":1,"record_length":96,"hex_timestamp":"0000019f4131e200"} 
[2026-07-08 15:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15: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-07-08 15: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":179,"data_length":795,"current_offset":136} 
[2026-07-08 15:37: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-07-08 15: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-07-08 15:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127653,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127653,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577335040001,"66":14515,"17":206,"94":11008,"24":14,"16":23590893852295168,"45":822258805836328960},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577335040001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:37:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23590893852295168,"km_value":23590893852295.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":822258805836328960,"description":"Unknown IO ID 45"} 
[2026-07-08 15:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577335040001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":822258805836328960}} 
[2026-07-08 15:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":127653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452086,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:37:34] local.INFO: GPS data processed {"connection_id":127653,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:37:34] local.INFO: Acknowledgment sent {"connection_id":127653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:37:37] local.INFO: TCP Data received {"connection_id":125549,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4130c0f0012d18aa80072171b0004e014d28..."} 
[2026-07-08 15:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4130c0f0012d18aa80072171b0004e014d28..."} 
[2026-07-08 15:37:37] local.INFO: Processing buffer {"connection_id":125549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4130c0f0012d18aa80072171b0004e014d28..."} 
[2026-07-08 15:37:37] local.INFO: Packet analysis {"connection_id":125549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4130"} 
[2026-07-08 15:37:37] local.INFO: Extracted packet for processing {"connection_id":125549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4130"} 
[2026-07-08 15:37:37] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119632304,"longitude_deg":75.6591232,"latitude_deg":11.9632304,"altitude":78,"angle":333,"satellites":40,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"072171b0","is_valid_coordinates":true} 
[2026-07-08 15:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577310976001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4832375078912000,"note":"Value kept but may cause issues"} 
[2026-07-08 15:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771065311232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783505142000,"timestamp_ms":1783505142000,"timestamp_seconds":1783505142,"priority":1,"record_length":96,"hex_timestamp":"0000019f4130c0f0"} 
[2026-07-08 15:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-07-08 15:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577310976001,"66":13102,"106":206,"83":41984,"24":0,"16":4832375078912000,"45":1777373771065311232},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-08 15:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577310976001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:37:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-08 15:37:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4832375078912000,"km_value":4832375078912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771065311232,"description":"Unknown IO ID 45"} 
[2026-07-08 15:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577310976001,"power":13102,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771065311232}} 
[2026-07-08 15:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":125549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:37:37] local.INFO: GPS data processed {"connection_id":125549,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:37:37] local.INFO: Acknowledgment sent {"connection_id":125549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:37:40] local.INFO: TCP Data received {"connection_id":125661,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f412e1170012d9aa38005781260000a00f829..."} 
[2026-07-08 15:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412e1170012d9aa38005781260000a00f829..."} 
[2026-07-08 15:37:40] local.INFO: Processing buffer {"connection_id":125661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412e1170012d9aa38005781260000a00f829..."} 
[2026-07-08 15:37:40] local.INFO: Packet analysis {"connection_id":125661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f412e"} 
[2026-07-08 15:37:40] local.INFO: Extracted packet for processing {"connection_id":125661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f412e"} 
[2026-07-08 15:37:40] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":10,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577193984001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783504966000,"timestamp_ms":1783504966000,"timestamp_seconds":1783504966,"priority":1,"record_length":96,"hex_timestamp":"0000019f412e1170"} 
[2026-07-08 15:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:37:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 15:37:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:37:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577193984001,"66":25995,"131":206,"85":15872,"24":0,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-08 15:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577193984001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:37:40] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-08 15:37:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577193984001,"power":25995,"unknown_131":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":125661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:37:40] local.INFO: GPS data processed {"connection_id":125661,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:37:40] local.INFO: Acknowledgment sent {"connection_id":125661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:37:46] local.INFO: TCP Data received {"connection_id":126419,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126419,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:37:46] local.INFO: Processing buffer {"connection_id":126419,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:37:46] local.INFO: IMEI packet received {"connection_id":126419,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":126419,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:37:48] local.INFO: TCP Data received {"connection_id":126419,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126419,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:37:48] local.INFO: Processing buffer {"connection_id":126419,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:37:48] local.INFO: IMEI packet received {"connection_id":126419,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":126419,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:37:49] local.INFO: TCP Data received {"connection_id":126419,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4131e5e8012d0b6b8007034e180018008c1f..."} 
[2026-07-08 15:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4131e5e8012d0b6b8007034e180018008c1f..."} 
[2026-07-08 15:37:49] local.INFO: Processing buffer {"connection_id":126419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4131e5e8012d0b6b8007034e180018008c1f..."} 
[2026-07-08 15:37:49] local.INFO: Packet analysis {"connection_id":126419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4131"} 
[2026-07-08 15:37:49] local.INFO: Extracted packet for processing {"connection_id":126419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4131"} 
[2026-07-08 15:37:49] local.INFO: GPS Element Parsed {"raw_longitude":755723136,"raw_latitude":117657112,"longitude_deg":75.5723136,"latitude_deg":11.7657112,"altitude":24,"angle":140,"satellites":31,"speed":13,"hex_longitude":"2d0b6b80","hex_latitude":"07034e18","is_valid_coordinates":true} 
[2026-07-08 15:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577335296001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23590906737197056,"note":"Value kept but may cause issues"} 
[2026-07-08 15:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":822610649557172224,"note":"Value kept but may cause issues"} 
[2026-07-08 15:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783505217000,"timestamp_ms":1783505217000,"timestamp_seconds":1783505217,"priority":1,"record_length":96,"hex_timestamp":"0000019f4131e5e8"} 
[2026-07-08 15:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 15:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":126419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":126419,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":126419,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577335296001,"66":14439,"17":206,"94":11008,"24":13,"16":23590906737197056,"45":822610649557172224},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577335296001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:37:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23590906737197056,"km_value":23590906737197.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":822610649557172224,"description":"Unknown IO ID 45"} 
[2026-07-08 15:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577335296001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":822610649557172224}} 
[2026-07-08 15:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":126419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452089,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:37:49] local.INFO: GPS data processed {"connection_id":126419,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:37:49] local.INFO: Acknowledgment sent {"connection_id":126419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:37:50] local.INFO: TCP Data received {"connection_id":126419,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4131e9d0012d0b6c0007034d100018009c1f..."} 
[2026-07-08 15:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4131e9d0012d0b6c0007034d100018009c1f..."} 
[2026-07-08 15:37:50] local.INFO: Processing buffer {"connection_id":126419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4131e9d0012d0b6c0007034d100018009c1f..."} 
[2026-07-08 15:37:50] local.INFO: Packet analysis {"connection_id":126419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4131"} 
[2026-07-08 15:37:50] local.INFO: Extracted packet for processing {"connection_id":126419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4131"} 
[2026-07-08 15:37:50] local.INFO: GPS Element Parsed {"raw_longitude":755723264,"raw_latitude":117656848,"longitude_deg":75.5723264,"latitude_deg":11.7656848,"altitude":24,"angle":156,"satellites":31,"speed":12,"hex_longitude":"2d0b6c00","hex_latitude":"07034d10","is_valid_coordinates":true} 
[2026-07-08 15:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577335552001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23590923917066240,"note":"Value kept but may cause issues"} 
[2026-07-08 15:37:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":822892124533823488,"note":"Value kept but may cause issues"} 
[2026-07-08 15:37:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783505218000,"timestamp_ms":1783505218000,"timestamp_seconds":1783505218,"priority":1,"record_length":96,"hex_timestamp":"0000019f4131e9d0"} 
[2026-07-08 15:37:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:37:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-08 15:37:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:37:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:37:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":126419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":126419,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":126419,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:37:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:37:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577335552001,"66":14439,"17":206,"94":11008,"24":12,"16":23590923917066240,"45":822892124533823488},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:37:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:37:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:37:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577335552001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:37:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:37:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23590923917066240,"km_value":23590923917066.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:37:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":822892124533823488,"description":"Unknown IO ID 45"} 
[2026-07-08 15:37:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577335552001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":822892124533823488}} 
[2026-07-08 15:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":126419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452090,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:37:50] local.INFO: GPS data processed {"connection_id":126419,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:37:50] local.INFO: Acknowledgment sent {"connection_id":126419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:37:56] local.INFO: TCP Data received {"connection_id":127654,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:37:56] local.INFO: Processing buffer {"connection_id":127654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:37:56] local.INFO: IMEI packet received {"connection_id":127654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":127654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:38:00] local.INFO: TCP Data received {"connection_id":127655,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:38:00] local.INFO: Processing buffer {"connection_id":127655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:38:00] local.INFO: IMEI packet received {"connection_id":127655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":127655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:38:01] local.INFO: TCP Data received {"connection_id":127654,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:38:01] local.INFO: Processing buffer {"connection_id":127654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:38:01] local.INFO: IMEI packet received {"connection_id":127654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":127654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:38:02] local.INFO: TCP Data received {"connection_id":127654,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f412e1170012d9aa38005781260000a00f829..."} 
[2026-07-08 15:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f412e1170012d9aa38005781260000a00f829..."} 
[2026-07-08 15:38:02] local.INFO: Processing buffer {"connection_id":127654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f412e1170012d9aa38005781260000a00f829..."} 
[2026-07-08 15:38:02] local.INFO: Packet analysis {"connection_id":127654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f412e"} 
[2026-07-08 15:38:02] local.INFO: Extracted packet for processing {"connection_id":127654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f412e"} 
[2026-07-08 15:38:02] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":10,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 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-07-08 15:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577193984001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783504966000,"timestamp_ms":1783504966000,"timestamp_seconds":1783504966,"priority":1,"record_length":96,"hex_timestamp":"0000019f412e1170"} 
[2026-07-08 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-07-08 15:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 15:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 15:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577193984001,"66":25995,"131":206,"85":15872,"24":0,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-08 15:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577193984001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:38:02] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-08 15:38:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577193984001,"power":25995,"unknown_131":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":127654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:38:02] local.INFO: GPS data processed {"connection_id":127654,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:38:02] local.INFO: Acknowledgment sent {"connection_id":127654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:38:05] local.INFO: TCP Data received {"connection_id":127655,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:38:05] local.INFO: Processing buffer {"connection_id":127655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:38:05] local.INFO: IMEI packet received {"connection_id":127655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":127655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:38:06] local.INFO: TCP Data received {"connection_id":127655,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f413112f8012d18aa80072171b0004e014d28..."} 
[2026-07-08 15:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f413112f8012d18aa80072171b0004e014d28..."} 
[2026-07-08 15:38:06] local.INFO: Processing buffer {"connection_id":127655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f413112f8012d18aa80072171b0004e014d28..."} 
[2026-07-08 15:38:06] local.INFO: Packet analysis {"connection_id":127655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4131"} 
[2026-07-08 15:38:06] local.INFO: Extracted packet for processing {"connection_id":127655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4131"} 
[2026-07-08 15:38:06] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119632304,"longitude_deg":75.6591232,"latitude_deg":11.9632304,"altitude":78,"angle":333,"satellites":40,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"072171b0","is_valid_coordinates":true} 
[2026-07-08 15:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577316352001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4832375078912000,"note":"Value kept but may cause issues"} 
[2026-07-08 15:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771065307136,"note":"Value kept but may cause issues"} 
[2026-07-08 15:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783505163000,"timestamp_ms":1783505163000,"timestamp_seconds":1783505163,"priority":1,"record_length":96,"hex_timestamp":"0000019f413112f8"} 
[2026-07-08 15:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-08 15:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577316352001,"66":12385,"106":206,"83":41984,"24":0,"16":4832375078912000,"45":1777373771065307136},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-08 15:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577316352001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:38:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-08 15:38:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4832375078912000,"km_value":4832375078912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771065307136,"description":"Unknown IO ID 45"} 
[2026-07-08 15:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577316352001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771065307136}} 
[2026-07-08 15:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":127655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:38:06] local.INFO: GPS data processed {"connection_id":127655,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:38:06] local.INFO: Acknowledgment sent {"connection_id":127655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:38:22] local.INFO: TCP Data received {"connection_id":126419,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4131f1a0012d0b6c8007034b38001800a81f..."} 
[2026-07-08 15:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4131f1a0012d0b6c8007034b38001800a81f..."} 
[2026-07-08 15:38:22] local.INFO: Processing buffer {"connection_id":126419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4131f1a0012d0b6c8007034b38001800a81f..."} 
[2026-07-08 15:38:22] local.INFO: Packet analysis {"connection_id":126419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4131"} 
[2026-07-08 15:38:22] local.INFO: Extracted packet for processing {"connection_id":126419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4131"} 
[2026-07-08 15:38:22] local.INFO: GPS Element Parsed {"raw_longitude":755723392,"raw_latitude":117656376,"longitude_deg":75.5723392,"latitude_deg":11.7656376,"altitude":24,"angle":168,"satellites":31,"speed":9,"hex_longitude":"2d0b6c80","hex_latitude":"07034b38","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577335808001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23590945391902720,"note":"Value kept but may cause issues"} 
[2026-07-08 15:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":823032862022111232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783505220000,"timestamp_ms":1783505220000,"timestamp_seconds":1783505220,"priority":1,"record_length":96,"hex_timestamp":"0000019f4131f1a0"} 
[2026-07-08 15:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-08 15:38:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126419,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126419,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577335808001,"66":14439,"17":206,"94":11008,"24":9,"16":23590945391902720,"45":823032862022111232},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577335808001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:38:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23590945391902720,"km_value":23590945391902.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":823032862022111232,"description":"Unknown IO ID 45"} 
[2026-07-08 15:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577335808001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":823032862022111232}} 
[2026-07-08 15:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":126419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452093,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:38:23] local.INFO: GPS data processed {"connection_id":126419,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:38:23] local.INFO: Acknowledgment sent {"connection_id":126419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:38:33] local.INFO: TCP Data received {"connection_id":127654,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4132a550012d9aa38005781260000a00f82b..."} 
[2026-07-08 15:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4132a550012d9aa38005781260000a00f82b..."} 
[2026-07-08 15:38:33] local.INFO: Processing buffer {"connection_id":127654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4132a550012d9aa38005781260000a00f82b..."} 
[2026-07-08 15:38:33] local.INFO: Packet analysis {"connection_id":127654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4132"} 
[2026-07-08 15:38:33] local.INFO: Extracted packet for processing {"connection_id":127654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4132"} 
[2026-07-08 15:38:33] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":10,"angle":248,"satellites":43,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577271296001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783505266000,"timestamp_ms":1783505266000,"timestamp_seconds":1783505266,"priority":1,"record_length":96,"hex_timestamp":"0000019f4132a550"} 
[2026-07-08 15:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-08 15:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:38:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577271296001,"66":25908,"131":206,"85":15872,"24":0,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-08 15:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577271296001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:38:33] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-08 15:38:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577271296001,"power":25908,"unknown_131":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":127654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:38:33] local.INFO: GPS data processed {"connection_id":127654,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:38:33] local.INFO: Acknowledgment sent {"connection_id":127654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:38:37] local.INFO: TCP Data received {"connection_id":127655,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41316500012d18aa80072171b0004e014d23..."} 
[2026-07-08 15:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41316500012d18aa80072171b0004e014d23..."} 
[2026-07-08 15:38:37] local.INFO: Processing buffer {"connection_id":127655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41316500012d18aa80072171b0004e014d23..."} 
[2026-07-08 15:38:37] local.INFO: Packet analysis {"connection_id":127655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4131"} 
[2026-07-08 15:38:37] local.INFO: Extracted packet for processing {"connection_id":127655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4131"} 
[2026-07-08 15:38:37] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119632304,"longitude_deg":75.6591232,"latitude_deg":11.9632304,"altitude":78,"angle":333,"satellites":35,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"072171b0","is_valid_coordinates":true} 
[2026-07-08 15:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577321728001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4832375078912000,"note":"Value kept but may cause issues"} 
[2026-07-08 15:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771065307136,"note":"Value kept but may cause issues"} 
[2026-07-08 15:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783505184000,"timestamp_ms":1783505184000,"timestamp_seconds":1783505184,"priority":1,"record_length":96,"hex_timestamp":"0000019f41316500"} 
[2026-07-08 15:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 15:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577321728001,"66":13004,"106":206,"83":41984,"24":0,"16":4832375078912000,"45":1777373771065307136},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-08 15:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577321728001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:38:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-08 15:38:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4832375078912000,"km_value":4832375078912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771065307136,"description":"Unknown IO ID 45"} 
[2026-07-08 15:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577321728001,"power":13004,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771065307136}} 
[2026-07-08 15:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":127655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:38:37] local.INFO: GPS data processed {"connection_id":127655,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:38:37] local.INFO: Acknowledgment sent {"connection_id":127655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:38:43] local.INFO: TCP Data received {"connection_id":126420,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126420,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:38:43] local.INFO: Processing buffer {"connection_id":126420,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:38:43] local.INFO: IMEI packet received {"connection_id":126420,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":126420,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:38:44] local.INFO: TCP Data received {"connection_id":126420,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126420,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:38:44] local.INFO: Processing buffer {"connection_id":126420,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:38:44] local.INFO: IMEI packet received {"connection_id":126420,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":126420,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:38:49] local.INFO: TCP Data received {"connection_id":126420,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126420,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:38:49] local.INFO: Processing buffer {"connection_id":126420,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:38:49] local.INFO: IMEI packet received {"connection_id":126420,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":126420,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:38:50] local.INFO: TCP Data received {"connection_id":126420,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f41320528012d0b6d4007034740001700901f..."} 
[2026-07-08 15:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41320528012d0b6d4007034740001700901f..."} 
[2026-07-08 15:38:50] local.INFO: Processing buffer {"connection_id":126420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41320528012d0b6d4007034740001700901f..."} 
[2026-07-08 15:38:50] local.INFO: Packet analysis {"connection_id":126420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4132"} 
[2026-07-08 15:38:50] local.INFO: Extracted packet for processing {"connection_id":126420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4132"} 
[2026-07-08 15:38:50] local.INFO: GPS Element Parsed {"raw_longitude":755723584,"raw_latitude":117655360,"longitude_deg":75.5723584,"latitude_deg":11.765536,"altitude":23,"angle":144,"satellites":31,"speed":6,"hex_longitude":"2d0b6d40","hex_latitude":"07034740","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577336320001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23590996931510272,"note":"Value kept but may cause issues"} 
[2026-07-08 15:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":823173599510345728,"note":"Value kept but may cause issues"} 
[2026-07-08 15:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783505225000,"timestamp_ms":1783505225000,"timestamp_seconds":1783505225,"priority":1,"record_length":96,"hex_timestamp":"0000019f41320528"} 
[2026-07-08 15:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-08 15:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":126420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":126420,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":126420,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577336320001,"66":14646,"17":206,"94":11008,"24":6,"16":23590996931510272,"45":823173599510345728},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577336320001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:38:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23590996931510272,"km_value":23590996931510.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":823173599510345728,"description":"Unknown IO ID 45"} 
[2026-07-08 15:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577336320001,"power":14646,"axis_x":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":823173599510345728}} 
[2026-07-08 15:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":126420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452096,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:38:50] local.INFO: GPS data processed {"connection_id":126420,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:38:50] local.INFO: Acknowledgment sent {"connection_id":126420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:39:00] local.INFO: TCP Data received {"connection_id":125552,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:39:00] local.INFO: Processing buffer {"connection_id":125552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:39:00] local.INFO: IMEI packet received {"connection_id":125552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":125552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:39:01] local.INFO: TCP Data received {"connection_id":125550,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:39:01] local.INFO: Processing buffer {"connection_id":125550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:39:01] local.INFO: IMEI packet received {"connection_id":125550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":125550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:39:06] local.INFO: TCP Data received {"connection_id":125550,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:39:06] local.INFO: Processing buffer {"connection_id":125550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:39:06] local.INFO: IMEI packet received {"connection_id":125550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":125550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:39:06] local.INFO: TCP Data received {"connection_id":125550,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4132a550012d9aa38005781260000a00f82b..."} 
[2026-07-08 15:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4132a550012d9aa38005781260000a00f82b..."} 
[2026-07-08 15:39:06] local.INFO: Processing buffer {"connection_id":125550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4132a550012d9aa38005781260000a00f82b..."} 
[2026-07-08 15:39:06] local.INFO: Packet analysis {"connection_id":125550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4132"} 
[2026-07-08 15:39:06] local.INFO: Extracted packet for processing {"connection_id":125550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4132"} 
[2026-07-08 15:39:06] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":10,"angle":248,"satellites":43,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577271296001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783505266000,"timestamp_ms":1783505266000,"timestamp_seconds":1783505266,"priority":1,"record_length":96,"hex_timestamp":"0000019f4132a550"} 
[2026-07-08 15:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-08 15:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577271296001,"66":25908,"131":206,"85":15872,"24":0,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-08 15:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577271296001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:39:06] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-08 15:39:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577271296001,"power":25908,"unknown_131":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":125550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:39:06] local.INFO: GPS data processed {"connection_id":125550,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:39:06] local.INFO: Acknowledgment sent {"connection_id":125550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:39:07] local.INFO: TCP Data received {"connection_id":125552,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:39:07] local.INFO: Processing buffer {"connection_id":125552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:39:07] local.INFO: IMEI packet received {"connection_id":125552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":125552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:39:08] local.INFO: TCP Data received {"connection_id":125552,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4131b708012d18aa80072171b0004e014d26..."} 
[2026-07-08 15:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4131b708012d18aa80072171b0004e014d26..."} 
[2026-07-08 15:39:08] local.INFO: Processing buffer {"connection_id":125552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4131b708012d18aa80072171b0004e014d26..."} 
[2026-07-08 15:39:08] local.INFO: Packet analysis {"connection_id":125552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4131"} 
[2026-07-08 15:39:08] local.INFO: Extracted packet for processing {"connection_id":125552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4131"} 
[2026-07-08 15:39:08] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119632304,"longitude_deg":75.6591232,"latitude_deg":11.9632304,"altitude":78,"angle":333,"satellites":38,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"072171b0","is_valid_coordinates":true} 
[2026-07-08 15:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577327104001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4832375078912000,"note":"Value kept but may cause issues"} 
[2026-07-08 15:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771065307136,"note":"Value kept but may cause issues"} 
[2026-07-08 15:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783505205000,"timestamp_ms":1783505205000,"timestamp_seconds":1783505205,"priority":1,"record_length":96,"hex_timestamp":"0000019f4131b708"} 
[2026-07-08 15:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-08 15:39: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-07-08 15:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577327104001,"66":12917,"106":206,"83":41984,"24":0,"16":4832375078912000,"45":1777373771065307136},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-08 15:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577327104001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:39:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-08 15:39:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4832375078912000,"km_value":4832375078912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771065307136,"description":"Unknown IO ID 45"} 
[2026-07-08 15:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577327104001,"power":12917,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771065307136}} 
[2026-07-08 15:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":125552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:39:08] local.INFO: GPS data processed {"connection_id":125552,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:39:08] local.INFO: Acknowledgment sent {"connection_id":125552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:39:11] local.INFO: TCP Data received {"connection_id":125550,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4132a550012d9aa38005781260000a00f82b..."} 
[2026-07-08 15:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4132a550012d9aa38005781260000a00f82b..."} 
[2026-07-08 15:39:11] local.INFO: Processing buffer {"connection_id":125550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4132a550012d9aa38005781260000a00f82b..."} 
[2026-07-08 15:39:11] local.INFO: Packet analysis {"connection_id":125550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4132"} 
[2026-07-08 15:39:11] local.INFO: Extracted packet for processing {"connection_id":125550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4132"} 
[2026-07-08 15:39:11] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":10,"angle":248,"satellites":43,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577271296001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783505266000,"timestamp_ms":1783505266000,"timestamp_seconds":1783505266,"priority":1,"record_length":96,"hex_timestamp":"0000019f4132a550"} 
[2026-07-08 15:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-08 15:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577271296001,"66":25908,"131":206,"85":15872,"24":0,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-08 15:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577271296001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:39:11] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-08 15:39:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577271296001,"power":25908,"unknown_131":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":125550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:39:11] local.INFO: GPS data processed {"connection_id":125550,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:39:11] local.INFO: Acknowledgment sent {"connection_id":125550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:39:23] local.INFO: TCP Data received {"connection_id":126420,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4133a338012d0b87c0070352480017006123..."} 
[2026-07-08 15:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4133a338012d0b87c0070352480017006123..."} 
[2026-07-08 15:39:23] local.INFO: Processing buffer {"connection_id":126420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4133a338012d0b87c0070352480017006123..."} 
[2026-07-08 15:39:23] local.INFO: Packet analysis {"connection_id":126420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4133"} 
[2026-07-08 15:39:23] local.INFO: Extracted packet for processing {"connection_id":126420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4133"} 
[2026-07-08 15:39:23] local.INFO: GPS Element Parsed {"raw_longitude":755730368,"raw_latitude":117658184,"longitude_deg":75.5730368,"latitude_deg":11.7658184,"altitude":23,"angle":97,"satellites":35,"speed":12,"hex_longitude":"2d0b87c0","hex_latitude":"07035248","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577364224001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23591452198043648,"note":"Value kept but may cause issues"} 
[2026-07-08 15:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830140105184395264,"note":"Value kept but may cause issues"} 
[2026-07-08 15:39:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783505331000,"timestamp_ms":1783505331000,"timestamp_seconds":1783505331,"priority":1,"record_length":96,"hex_timestamp":"0000019f4133a338"} 
[2026-07-08 15:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:39:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-08 15:39:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":126420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":126420,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":126420,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:39:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577364224001,"66":14407,"17":206,"94":11008,"24":12,"16":23591452198043648,"45":830140105184395264},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577364224001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:39:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23591452198043648,"km_value":23591452198043.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":830140105184395264,"description":"Unknown IO ID 45"} 
[2026-07-08 15:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577364224001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":830140105184395264}} 
[2026-07-08 15:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":126420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452100,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:39:24] local.INFO: GPS data processed {"connection_id":126420,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:39:24] local.INFO: Acknowledgment sent {"connection_id":126420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:39:41] local.INFO: TCP Data received {"connection_id":125552,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41320910012d18aa80072171b0004e014d26..."} 
[2026-07-08 15:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41320910012d18aa80072171b0004e014d26..."} 
[2026-07-08 15:39:41] local.INFO: Processing buffer {"connection_id":125552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41320910012d18aa80072171b0004e014d26..."} 
[2026-07-08 15:39:41] local.INFO: Packet analysis {"connection_id":125552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4132"} 
[2026-07-08 15:39:41] local.INFO: Extracted packet for processing {"connection_id":125552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4132"} 
[2026-07-08 15:39:41] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119632304,"longitude_deg":75.6591232,"latitude_deg":11.9632304,"altitude":78,"angle":333,"satellites":38,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"072171b0","is_valid_coordinates":true} 
[2026-07-08 15:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577332480001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4832375078912000,"note":"Value kept but may cause issues"} 
[2026-07-08 15:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771065307136,"note":"Value kept but may cause issues"} 
[2026-07-08 15:39: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-07-08 15:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783505226000,"timestamp_ms":1783505226000,"timestamp_seconds":1783505226,"priority":1,"record_length":96,"hex_timestamp":"0000019f41320910"} 
[2026-07-08 15:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:39: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-07-08 15: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-08 15:39: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-07-08 15:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:39: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-07-08 15:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577332480001,"66":12863,"106":206,"83":41984,"24":0,"16":4832375078912000,"45":1777373771065307136},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-08 15:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577332480001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:39:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-08 15:39:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4832375078912000,"km_value":4832375078912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771065307136,"description":"Unknown IO ID 45"} 
[2026-07-08 15:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577332480001,"power":12863,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771065307136}} 
[2026-07-08 15:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":125552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:39:41] local.INFO: GPS data processed {"connection_id":125552,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:39:41] local.INFO: Acknowledgment sent {"connection_id":125552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:39:49] local.INFO: TCP Data received {"connection_id":125663,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125663,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:39:49] local.INFO: Processing buffer {"connection_id":125663,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:39:49] local.INFO: IMEI packet received {"connection_id":125663,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":125663,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:39:50] local.INFO: TCP Data received {"connection_id":125663,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125663,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:39:50] local.INFO: Processing buffer {"connection_id":125663,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:39:50] local.INFO: IMEI packet received {"connection_id":125663,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":125663,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:39:50] local.INFO: TCP Data received {"connection_id":125663,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125663,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:39:50] local.INFO: Processing buffer {"connection_id":125663,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:39:50] local.INFO: IMEI packet received {"connection_id":125663,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":125663,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:39:55] local.INFO: TCP Data received {"connection_id":125663,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125663,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:39:55] local.INFO: Processing buffer {"connection_id":125663,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:39:55] local.INFO: IMEI packet received {"connection_id":125663,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":125663,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:39:55] local.INFO: TCP Data received {"connection_id":125663,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4133ca48012d0b9600070350b80014005221..."} 
[2026-07-08 15:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4133ca48012d0b9600070350b80014005221..."} 
[2026-07-08 15:39:55] local.INFO: Processing buffer {"connection_id":125663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4133ca48012d0b9600070350b80014005221..."} 
[2026-07-08 15:39:56] local.INFO: Packet analysis {"connection_id":125663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4133"} 
[2026-07-08 15:39:56] local.INFO: Extracted packet for processing {"connection_id":125663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4133"} 
[2026-07-08 15:39:56] local.INFO: GPS Element Parsed {"raw_longitude":755734016,"raw_latitude":117657784,"longitude_deg":75.5734016,"latitude_deg":11.7657784,"altitude":20,"angle":82,"satellites":33,"speed":8,"hex_longitude":"2d0b9600","hex_latitude":"070350b8","is_valid_coordinates":true} 
[2026-07-08 15:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577364736001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23591628291702784,"note":"Value kept but may cause issues"} 
[2026-07-08 15:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830843792626173952,"note":"Value kept but may cause issues"} 
[2026-07-08 15:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783505341000,"timestamp_ms":1783505341000,"timestamp_seconds":1783505341,"priority":1,"record_length":96,"hex_timestamp":"0000019f4133ca48"} 
[2026-07-08 15:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:39: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-07-08 15: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-08 15:39:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:39:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":125663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":125663,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":125663,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577364736001,"66":14580,"17":206,"94":11008,"24":8,"16":23591628291702784,"45":830843792626173952},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577364736001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:39:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23591628291702784,"km_value":23591628291702.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":830843792626173952,"description":"Unknown IO ID 45"} 
[2026-07-08 15:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577364736001,"power":14580,"axis_x":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":830843792626173952}} 
[2026-07-08 15:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":125663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452102,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:39:56] local.INFO: GPS data processed {"connection_id":125663,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:39:56] local.INFO: Acknowledgment sent {"connection_id":125663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:39:56] local.INFO: TCP Data received {"connection_id":127656,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:39:56] local.INFO: Processing buffer {"connection_id":127656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:39:56] local.INFO: IMEI packet received {"connection_id":127656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":127656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:40:01] local.INFO: TCP Data received {"connection_id":127656,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:40:01] local.INFO: Processing buffer {"connection_id":127656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:40:01] local.INFO: IMEI packet received {"connection_id":127656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":127656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:40:01] local.INFO: TCP Data received {"connection_id":127656,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4132a550012d9aa38005781260000a00f82b..."} 
[2026-07-08 15:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4132a550012d9aa38005781260000a00f82b..."} 
[2026-07-08 15:40:01] local.INFO: Processing buffer {"connection_id":127656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4132a550012d9aa38005781260000a00f82b..."} 
[2026-07-08 15:40:01] local.INFO: Packet analysis {"connection_id":127656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4132"} 
[2026-07-08 15:40:01] local.INFO: Extracted packet for processing {"connection_id":127656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4132"} 
[2026-07-08 15:40:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":10,"angle":248,"satellites":43,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577271296001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:40:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783505266000,"timestamp_ms":1783505266000,"timestamp_seconds":1783505266,"priority":1,"record_length":96,"hex_timestamp":"0000019f4132a550"} 
[2026-07-08 15:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:40:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-08 15:40:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:40:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577271296001,"66":25908,"131":206,"85":15872,"24":0,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-08 15:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577271296001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:40:01] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-08 15:40:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577271296001,"power":25908,"unknown_131":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":127656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:40:01] local.INFO: GPS data processed {"connection_id":127656,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:40:01] local.INFO: Acknowledgment sent {"connection_id":127656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:40:05] local.INFO: TCP Data received {"connection_id":127657,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:40:05] local.INFO: Processing buffer {"connection_id":127657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:40:05] local.INFO: IMEI packet received {"connection_id":127657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":127657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:40:06] local.INFO: TCP Data received {"connection_id":127656,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4132a550012d9aa38005781260000a00f82b..."} 
[2026-07-08 15:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4132a550012d9aa38005781260000a00f82b..."} 
[2026-07-08 15:40:06] local.INFO: Processing buffer {"connection_id":127656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4132a550012d9aa38005781260000a00f82b..."} 
[2026-07-08 15:40:06] local.INFO: Packet analysis {"connection_id":127656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4132"} 
[2026-07-08 15:40:06] local.INFO: Extracted packet for processing {"connection_id":127656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4132"} 
[2026-07-08 15:40:06] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":10,"angle":248,"satellites":43,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577271296001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783505266000,"timestamp_ms":1783505266000,"timestamp_seconds":1783505266,"priority":1,"record_length":96,"hex_timestamp":"0000019f4132a550"} 
[2026-07-08 15:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-08 15:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577271296001,"66":25908,"131":206,"85":15872,"24":0,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-08 15:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577271296001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:40:06] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-08 15:40:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577271296001,"power":25908,"unknown_131":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":127656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:40:06] local.INFO: GPS data processed {"connection_id":127656,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:40:06] local.INFO: Acknowledgment sent {"connection_id":127656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:40:09] local.INFO: TCP Data received {"connection_id":127657,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:40:09] local.INFO: Processing buffer {"connection_id":127657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:40:09] local.INFO: IMEI packet received {"connection_id":127657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":127657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:40:10] local.INFO: TCP Data received {"connection_id":127657,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4133c660012d18918007217b600052012729..."} 
[2026-07-08 15:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4133c660012d18918007217b600052012729..."} 
[2026-07-08 15:40:10] local.INFO: Processing buffer {"connection_id":127657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4133c660012d18918007217b600052012729..."} 
[2026-07-08 15:40:10] local.INFO: Packet analysis {"connection_id":127657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4133"} 
[2026-07-08 15:40:10] local.INFO: Extracted packet for processing {"connection_id":127657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4133"} 
[2026-07-08 15:40:10] local.INFO: GPS Element Parsed {"raw_longitude":756584832,"raw_latitude":119634784,"longitude_deg":75.6584832,"latitude_deg":11.9634784,"altitude":82,"angle":295,"satellites":41,"speed":28,"hex_longitude":"2d189180","hex_latitude":"07217b60","is_valid_coordinates":true} 
[2026-07-08 15:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577364480001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4832731561197568,"note":"Value kept but may cause issues"} 
[2026-07-08 15:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776740452367874048,"note":"Value kept but may cause issues"} 
[2026-07-08 15:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783505340000,"timestamp_ms":1783505340000,"timestamp_seconds":1783505340,"priority":1,"record_length":96,"hex_timestamp":"0000019f4133c660"} 
[2026-07-08 15:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-08 15:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":127657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":127657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":127657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577364480001,"66":14102,"106":206,"83":41984,"24":28,"16":4832731561197568,"45":1776740452367874048},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-08 15:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577364480001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:40:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-08 15:40:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4832731561197568,"km_value":4832731561197.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776740452367874048,"description":"Unknown IO ID 45"} 
[2026-07-08 15:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577364480001,"power":14102,"unknown_106":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1776740452367874048}} 
[2026-07-08 15:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":127657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:40:10] local.INFO: GPS data processed {"connection_id":127657,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:40:10] local.INFO: Acknowledgment sent {"connection_id":127657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:40:11] local.INFO: TCP Data received {"connection_id":127657,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4133ddd0012d1881c0072181200050011829..."} 
[2026-07-08 15:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4133ddd0012d1881c0072181200050011829..."} 
[2026-07-08 15:40:11] local.INFO: Processing buffer {"connection_id":127657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4133ddd0012d1881c0072181200050011829..."} 
[2026-07-08 15:40:11] local.INFO: Packet analysis {"connection_id":127657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4133"} 
[2026-07-08 15:40:11] local.INFO: Extracted packet for processing {"connection_id":127657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4133"} 
[2026-07-08 15:40:11] local.INFO: GPS Element Parsed {"raw_longitude":756580800,"raw_latitude":119636256,"longitude_deg":75.65808,"latitude_deg":11.9636256,"altitude":80,"angle":280,"satellites":41,"speed":26,"hex_longitude":"2d1881c0","hex_latitude":"07218120","is_valid_coordinates":true} 
[2026-07-08 15:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577367040001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4832937719627776,"note":"Value kept but may cause issues"} 
[2026-07-08 15:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1770336896648175616,"note":"Value kept but may cause issues"} 
[2026-07-08 15:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783505346000,"timestamp_ms":1783505346000,"timestamp_seconds":1783505346,"priority":1,"record_length":96,"hex_timestamp":"0000019f4133ddd0"} 
[2026-07-08 15:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-08 15:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":127657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":127657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":127657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577367040001,"66":14428,"106":206,"83":41984,"24":26,"16":4832937719627776,"45":1770336896648175616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-08 15:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577367040001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:40:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-08 15:40:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4832937719627776,"km_value":4832937719627.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1770336896648175616,"description":"Unknown IO ID 45"} 
[2026-07-08 15:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577367040001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1770336896648175616}} 
[2026-07-08 15:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":127657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:40:11] local.INFO: GPS data processed {"connection_id":127657,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:40:11] local.INFO: Acknowledgment sent {"connection_id":127657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:40:26] local.INFO: TCP Data received {"connection_id":125663,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f41341480012d0b9880070351500015006023..."} 
[2026-07-08 15:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41341480012d0b9880070351500015006023..."} 
[2026-07-08 15:40:26] local.INFO: Processing buffer {"connection_id":125663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41341480012d0b9880070351500015006023..."} 
[2026-07-08 15:40:26] local.INFO: Packet analysis {"connection_id":125663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4134"} 
[2026-07-08 15:40:26] local.INFO: Extracted packet for processing {"connection_id":125663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4134"} 
[2026-07-08 15:40:26] local.INFO: GPS Element Parsed {"raw_longitude":755734656,"raw_latitude":117657936,"longitude_deg":75.5734656,"latitude_deg":11.7657936,"altitude":21,"angle":96,"satellites":35,"speed":3,"hex_longitude":"2d0b9880","hex_latitude":"07035150","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577367296001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23591658356473856,"note":"Value kept but may cause issues"} 
[2026-07-08 15:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":834854811044198400,"note":"Value kept but may cause issues"} 
[2026-07-08 15:40:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783505360000,"timestamp_ms":1783505360000,"timestamp_seconds":1783505360,"priority":1,"record_length":96,"hex_timestamp":"0000019f41341480"} 
[2026-07-08 15:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:40: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-07-08 15: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-07-08 15:40:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":125663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":125663,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":125663,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:40:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577367296001,"66":14515,"17":206,"94":11008,"24":3,"16":23591658356473856,"45":834854811044198400},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 15:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577367296001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:40:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23591658356473856,"km_value":23591658356473.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:40:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":834854811044198400,"description":"Unknown IO ID 45"} 
[2026-07-08 15:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577367296001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":834854811044198400}} 
[2026-07-08 15:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":125663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452107,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:40:27] local.INFO: GPS data processed {"connection_id":125663,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:40:27] local.INFO: Acknowledgment sent {"connection_id":125663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:40:38] local.INFO: TCP Data received {"connection_id":127656,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4132a550012d9aa38005781260000a00f82b..."} 
[2026-07-08 15:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4132a550012d9aa38005781260000a00f82b..."} 
[2026-07-08 15:40:38] local.INFO: Processing buffer {"connection_id":127656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4132a550012d9aa38005781260000a00f82b..."} 
[2026-07-08 15:40:38] local.INFO: Packet analysis {"connection_id":127656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4132"} 
[2026-07-08 15:40:38] local.INFO: Extracted packet for processing {"connection_id":127656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4132"} 
[2026-07-08 15:40:38] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":10,"angle":248,"satellites":43,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577271296001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783505266000,"timestamp_ms":1783505266000,"timestamp_seconds":1783505266,"priority":1,"record_length":96,"hex_timestamp":"0000019f4132a550"} 
[2026-07-08 15:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-08 15:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577271296001,"66":25908,"131":206,"85":15872,"24":0,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-08 15:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577271296001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:40:38] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-08 15:40:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577271296001,"power":25908,"unknown_131":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":127656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:40:38] local.INFO: GPS data processed {"connection_id":127656,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:40:38] local.INFO: Acknowledgment sent {"connection_id":127656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:40:42] local.INFO: TCP Data received {"connection_id":127657,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4133ed70012d187740072181b0004f010826..."} 
[2026-07-08 15:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4133ed70012d187740072181b0004f010826..."} 
[2026-07-08 15:40:42] local.INFO: Processing buffer {"connection_id":127657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4133ed70012d187740072181b0004f010826..."} 
[2026-07-08 15:40:42] local.INFO: Packet analysis {"connection_id":127657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4133"} 
[2026-07-08 15:40:42] local.INFO: Extracted packet for processing {"connection_id":127657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4133"} 
[2026-07-08 15:40:42] local.INFO: GPS Element Parsed {"raw_longitude":756578112,"raw_latitude":119636400,"longitude_deg":75.6578112,"latitude_deg":11.96364,"altitude":79,"angle":264,"satellites":38,"speed":27,"hex_longitude":"2d187740","hex_latitude":"072181b0","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577368576001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4833066568646656,"note":"Value kept but may cause issues"} 
[2026-07-08 15:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765903665765359616,"note":"Value kept but may cause issues"} 
[2026-07-08 15:40: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-07-08 15:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783505350000,"timestamp_ms":1783505350000,"timestamp_seconds":1783505350,"priority":1,"record_length":96,"hex_timestamp":"0000019f4133ed70"} 
[2026-07-08 15:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15: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-07-08 15:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 15:40: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-07-08 15:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":127657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":127657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":127657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:40:42] 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-07-08 15:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577368576001,"66":14004,"106":206,"83":41984,"24":27,"16":4833066568646656,"45":1765903665765359616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-08 15:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577368576001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:40:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-08 15:40:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4833066568646656,"km_value":4833066568646.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765903665765359616,"description":"Unknown IO ID 45"} 
[2026-07-08 15:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577368576001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1765903665765359616}} 
[2026-07-08 15:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":127657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:40:42] local.INFO: GPS data processed {"connection_id":127657,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:40:42] local.INFO: Acknowledgment sent {"connection_id":127657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:40:44] local.INFO: TCP Data received {"connection_id":125553,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125553,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:40:44] local.INFO: Processing buffer {"connection_id":125553,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:40:44] local.INFO: IMEI packet received {"connection_id":125553,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":125553,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:40:50] local.INFO: TCP Data received {"connection_id":125553,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125553,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:40:50] local.INFO: Processing buffer {"connection_id":125553,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:40:50] local.INFO: IMEI packet received {"connection_id":125553,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":125553,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:40:50] local.INFO: TCP Data received {"connection_id":125553,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f41351a38012d0bf80007035b900012008124..."} 
[2026-07-08 15:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41351a38012d0bf80007035b900012008124..."} 
[2026-07-08 15:40:50] local.INFO: Processing buffer {"connection_id":125553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41351a38012d0bf80007035b900012008124..."} 
[2026-07-08 15:40:50] local.INFO: Packet analysis {"connection_id":125553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4135"} 
[2026-07-08 15:40:50] local.INFO: Extracted packet for processing {"connection_id":125553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4135"} 
[2026-07-08 15:40:50] local.INFO: GPS Element Parsed {"raw_longitude":755759104,"raw_latitude":117660560,"longitude_deg":75.5759104,"latitude_deg":11.766056,"altitude":18,"angle":129,"satellites":36,"speed":12,"hex_longitude":"2d0bf800","hex_latitude":"07035b90","is_valid_coordinates":true} 
[2026-07-08 15:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577389056001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23592852357382144,"note":"Value kept but may cause issues"} 
[2026-07-08 15:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862228252530061312,"note":"Value kept but may cause issues"} 
[2026-07-08 15:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783505427000,"timestamp_ms":1783505427000,"timestamp_seconds":1783505427,"priority":1,"record_length":96,"hex_timestamp":"0000019f41351a38"} 
[2026-07-08 15:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 15:40:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:40:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":125553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":125553,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":125553,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577389056001,"66":14450,"37":206,"94":11008,"24":12,"16":23592852357382144,"45":862228252530061312},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-08 15:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577389056001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:40:50] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-08 15:40:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23592852357382144,"km_value":23592852357382.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":862228252530061312,"description":"Unknown IO ID 45"} 
[2026-07-08 15:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577389056001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":862228252530061312}} 
[2026-07-08 15:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":125553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452110,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:40:50] local.INFO: GPS data processed {"connection_id":125553,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:40:50] local.INFO: Acknowledgment sent {"connection_id":125553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:40:55] local.INFO: TCP Data received {"connection_id":125554,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:40:55] local.INFO: Processing buffer {"connection_id":125554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:40:55] local.INFO: IMEI packet received {"connection_id":125554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":125554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:41:00] local.INFO: TCP Data received {"connection_id":125664,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:41:00] local.INFO: Processing buffer {"connection_id":125664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:41:00] local.INFO: IMEI packet received {"connection_id":125664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":125664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:41:01] local.INFO: TCP Data received {"connection_id":125554,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:41:01] local.INFO: Processing buffer {"connection_id":125554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:41:01] local.INFO: IMEI packet received {"connection_id":125554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":125554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:41:01] local.INFO: TCP Data received {"connection_id":125554,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4132a550012d9aa38005781260000a00f82b..."} 
[2026-07-08 15:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4132a550012d9aa38005781260000a00f82b..."} 
[2026-07-08 15:41:01] local.INFO: Processing buffer {"connection_id":125554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4132a550012d9aa38005781260000a00f82b..."} 
[2026-07-08 15:41:01] local.INFO: Packet analysis {"connection_id":125554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4132"} 
[2026-07-08 15:41:01] local.INFO: Extracted packet for processing {"connection_id":125554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4132"} 
[2026-07-08 15:41:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":10,"angle":248,"satellites":43,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577271296001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783505266000,"timestamp_ms":1783505266000,"timestamp_seconds":1783505266,"priority":1,"record_length":96,"hex_timestamp":"0000019f4132a550"} 
[2026-07-08 15:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:41:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-08 15:41:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:41:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577271296001,"66":25908,"131":206,"85":15872,"24":0,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-08 15:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577271296001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:41:01] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-08 15:41:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577271296001,"power":25908,"unknown_131":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":125554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:41:01] local.INFO: GPS data processed {"connection_id":125554,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:41:01] local.INFO: Acknowledgment sent {"connection_id":125554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:41:05] local.INFO: TCP Data received {"connection_id":125664,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:41:05] local.INFO: Processing buffer {"connection_id":125664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:41:05] local.INFO: IMEI packet received {"connection_id":125664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":125664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:41:06] local.INFO: TCP Data received {"connection_id":125664,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f413404e0012d18640007218168004e011b28..."} 
[2026-07-08 15:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f413404e0012d18640007218168004e011b28..."} 
[2026-07-08 15:41:06] local.INFO: Processing buffer {"connection_id":125664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f413404e0012d18640007218168004e011b28..."} 
[2026-07-08 15:41:06] local.INFO: Packet analysis {"connection_id":125664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4134"} 
[2026-07-08 15:41:06] local.INFO: Extracted packet for processing {"connection_id":125664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4134"} 
[2026-07-08 15:41:06] local.INFO: GPS Element Parsed {"raw_longitude":756573184,"raw_latitude":119636328,"longitude_deg":75.6573184,"latitude_deg":11.9636328,"altitude":78,"angle":283,"satellites":40,"speed":34,"hex_longitude":"2d186400","hex_latitude":"07218168","is_valid_coordinates":true} 
[2026-07-08 15:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577369600001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4833302791847936,"note":"Value kept but may cause issues"} 
[2026-07-08 15:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762948178509934592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783505356000,"timestamp_ms":1783505356000,"timestamp_seconds":1783505356,"priority":1,"record_length":96,"hex_timestamp":"0000019f413404e0"} 
[2026-07-08 15:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-08 15:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577369600001,"66":14483,"105":206,"83":41984,"24":34,"16":4833302791847936,"45":1762948178509934592},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 15:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577369600001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:41:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 15:41:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4833302791847936,"km_value":4833302791847.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762948178509934592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577369600001,"power":14483,"unknown_105":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1762948178509934592}} 
[2026-07-08 15:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":125664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:41:06] local.INFO: GPS data processed {"connection_id":125664,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:41:06] local.INFO: Acknowledgment sent {"connection_id":125664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:41:21] local.INFO: TCP Data received {"connection_id":125553,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4135dd88012d0c1540070340480014003623..."} 
[2026-07-08 15:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4135dd88012d0c1540070340480014003623..."} 
[2026-07-08 15:41:21] local.INFO: Processing buffer {"connection_id":125553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4135dd88012d0c1540070340480014003623..."} 
[2026-07-08 15:41:21] local.INFO: Packet analysis {"connection_id":125553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4135"} 
[2026-07-08 15:41:21] local.INFO: Extracted packet for processing {"connection_id":125553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4135"} 
[2026-07-08 15:41:21] local.INFO: GPS Element Parsed {"raw_longitude":755766592,"raw_latitude":117653576,"longitude_deg":75.5766592,"latitude_deg":11.7653576,"altitude":20,"angle":54,"satellites":35,"speed":8,"hex_longitude":"2d0c1540","hex_latitude":"07034048","is_valid_coordinates":true} 
[2026-07-08 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-07-08 15:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577401856001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23593462242738176,"note":"Value kept but may cause issues"} 
[2026-07-08 15:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":870461395596990464,"note":"Value kept but may cause issues"} 
[2026-07-08 15:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783505477000,"timestamp_ms":1783505477000,"timestamp_seconds":1783505477,"priority":1,"record_length":96,"hex_timestamp":"0000019f4135dd88"} 
[2026-07-08 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-07-08 15:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 15:41:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 15:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":125553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":125553,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":125553,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577401856001,"66":14428,"37":206,"94":11008,"24":8,"16":23593462242738176,"45":870461395596990464},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-08 15:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577401856001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:41:21] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-08 15:41:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23593462242738176,"km_value":23593462242738.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":870461395596990464,"description":"Unknown IO ID 45"} 
[2026-07-08 15:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577401856001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":870461395596990464}} 
[2026-07-08 15:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":125553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452113,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:41:21] local.INFO: GPS data processed {"connection_id":125553,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:41:21] local.INFO: Acknowledgment sent {"connection_id":125553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:41:32] local.INFO: TCP Data received {"connection_id":125554,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4132a550012d9aa38005781260000a00f82b..."} 
[2026-07-08 15:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4132a550012d9aa38005781260000a00f82b..."} 
[2026-07-08 15:41:32] local.INFO: Processing buffer {"connection_id":125554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4132a550012d9aa38005781260000a00f82b..."} 
[2026-07-08 15:41:32] local.INFO: Packet analysis {"connection_id":125554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4132"} 
[2026-07-08 15:41:32] local.INFO: Extracted packet for processing {"connection_id":125554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4132"} 
[2026-07-08 15:41:32] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":10,"angle":248,"satellites":43,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577271296001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783505266000,"timestamp_ms":1783505266000,"timestamp_seconds":1783505266,"priority":1,"record_length":96,"hex_timestamp":"0000019f4132a550"} 
[2026-07-08 15:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-08 15:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577271296001,"66":25908,"131":206,"85":15872,"24":0,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-08 15:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577271296001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:41:32] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-08 15:41:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577271296001,"power":25908,"unknown_131":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":125554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:41:32] local.INFO: GPS data processed {"connection_id":125554,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:41:32] local.INFO: Acknowledgment sent {"connection_id":125554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:41:37] local.INFO: TCP Data received {"connection_id":125664,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41341098012d1859c007218528004e012827..."} 
[2026-07-08 15:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41341098012d1859c007218528004e012827..."} 
[2026-07-08 15:41:37] local.INFO: Processing buffer {"connection_id":125664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41341098012d1859c007218528004e012827..."} 
[2026-07-08 15:41:37] local.INFO: Packet analysis {"connection_id":125664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4134"} 
[2026-07-08 15:41:37] local.INFO: Extracted packet for processing {"connection_id":125664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4134"} 
[2026-07-08 15:41:37] local.INFO: GPS Element Parsed {"raw_longitude":756570560,"raw_latitude":119637288,"longitude_deg":75.657056,"latitude_deg":11.9637288,"altitude":78,"angle":296,"satellites":39,"speed":35,"hex_longitude":"2d1859c0","hex_latitude":"07218528","is_valid_coordinates":true} 
[2026-07-08 15:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577371136001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4833435935834112,"note":"Value kept but may cause issues"} 
[2026-07-08 15:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757529785208236032,"note":"Value kept but may cause issues"} 
[2026-07-08 15:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783505359000,"timestamp_ms":1783505359000,"timestamp_seconds":1783505359,"priority":1,"record_length":96,"hex_timestamp":"0000019f41341098"} 
[2026-07-08 15:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-08 15:41:37] 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-07-08 15:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577371136001,"66":14461,"105":206,"83":41984,"24":35,"16":4833435935834112,"45":1757529785208236032},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 15:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577371136001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:41:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 15:41:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4833435935834112,"km_value":4833435935834.112,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757529785208236032,"description":"Unknown IO ID 45"} 
[2026-07-08 15:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577371136001,"power":14461,"unknown_105":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1757529785208236032}} 
[2026-07-08 15:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":125664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:41:37] local.INFO: GPS data processed {"connection_id":125664,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:41:37] local.INFO: Acknowledgment sent {"connection_id":125664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:41:44] local.INFO: TCP Data received {"connection_id":127658,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127658,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:41:44] local.INFO: Processing buffer {"connection_id":127658,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:41:44] local.INFO: IMEI packet received {"connection_id":127658,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":127658,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:41:45] local.INFO: TCP Data received {"connection_id":127658,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127658,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:41:45] local.INFO: Processing buffer {"connection_id":127658,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:41:45] local.INFO: IMEI packet received {"connection_id":127658,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":127658,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:41:50] local.INFO: TCP Data received {"connection_id":127658,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127658,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:41:50] local.INFO: Processing buffer {"connection_id":127658,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:41:50] local.INFO: IMEI packet received {"connection_id":127658,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":127658,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:41:50] local.INFO: TCP Data received {"connection_id":127658,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4135e170012d0c1640070341300014002a23..."} 
[2026-07-08 15:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4135e170012d0c1640070341300014002a23..."} 
[2026-07-08 15:41:50] local.INFO: Processing buffer {"connection_id":127658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4135e170012d0c1640070341300014002a23..."} 
[2026-07-08 15:41:50] local.INFO: Packet analysis {"connection_id":127658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4135"} 
[2026-07-08 15:41:50] local.INFO: Extracted packet for processing {"connection_id":127658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4135"} 
[2026-07-08 15:41:50] local.INFO: GPS Element Parsed {"raw_longitude":755766848,"raw_latitude":117653808,"longitude_deg":75.5766848,"latitude_deg":11.7653808,"altitude":20,"angle":42,"satellites":35,"speed":10,"hex_longitude":"2d0c1640","hex_latitude":"07034130","is_valid_coordinates":true} 
[2026-07-08 15:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577402112001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23593475127640064,"note":"Value kept but may cause issues"} 
[2026-07-08 15:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":870672501829552128,"note":"Value kept but may cause issues"} 
[2026-07-08 15:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783505478000,"timestamp_ms":1783505478000,"timestamp_seconds":1783505478,"priority":1,"record_length":96,"hex_timestamp":"0000019f4135e170"} 
[2026-07-08 15:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:41:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 15:41:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:41:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":127658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":127658,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":127658,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577402112001,"66":14428,"37":206,"94":11008,"24":10,"16":23593475127640064,"45":870672501829552128},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-08 15:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577402112001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:41:50] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-08 15:41:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23593475127640064,"km_value":23593475127640.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":870672501829552128,"description":"Unknown IO ID 45"} 
[2026-07-08 15:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577402112001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":870672501829552128}} 
[2026-07-08 15:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":127658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452116,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:41:51] local.INFO: GPS data processed {"connection_id":127658,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:41:51] local.INFO: Acknowledgment sent {"connection_id":127658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:41:55] local.INFO: TCP Data received {"connection_id":126423,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:41:55] local.INFO: Processing buffer {"connection_id":126423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:41:55] local.INFO: IMEI packet received {"connection_id":126423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":126423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:42:00] local.INFO: TCP Data received {"connection_id":125556,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:42:00] local.INFO: Processing buffer {"connection_id":125556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:42:00] local.INFO: IMEI packet received {"connection_id":125556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":125556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:42:01] local.INFO: TCP Data received {"connection_id":126423,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:42:01] local.INFO: Processing buffer {"connection_id":126423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:42:01] local.INFO: IMEI packet received {"connection_id":126423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":126423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:42:01] local.INFO: TCP Data received {"connection_id":126423,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4132a550012d9aa38005781260000a00f82b..."} 
[2026-07-08 15:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4132a550012d9aa38005781260000a00f82b..."} 
[2026-07-08 15:42:01] local.INFO: Processing buffer {"connection_id":126423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4132a550012d9aa38005781260000a00f82b..."} 
[2026-07-08 15:42:01] local.INFO: Packet analysis {"connection_id":126423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4132"} 
[2026-07-08 15:42:01] local.INFO: Extracted packet for processing {"connection_id":126423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4132"} 
[2026-07-08 15:42:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":10,"angle":248,"satellites":43,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577271296001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:42:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783505266000,"timestamp_ms":1783505266000,"timestamp_seconds":1783505266,"priority":1,"record_length":96,"hex_timestamp":"0000019f4132a550"} 
[2026-07-08 15:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-08 15:42:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:42:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577271296001,"66":25908,"131":206,"85":15872,"24":0,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-08 15:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577271296001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:42:01] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-08 15:42:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577271296001,"power":25908,"unknown_131":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":126423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:42:01] local.INFO: GPS data processed {"connection_id":126423,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:42:01] local.INFO: Acknowledgment sent {"connection_id":126423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:42:05] local.INFO: TCP Data received {"connection_id":125556,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:42:05] local.INFO: Processing buffer {"connection_id":125556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:42:05] local.INFO: IMEI packet received {"connection_id":125556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":125556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:42:06] local.INFO: TCP Data received {"connection_id":125556,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41343f78012d18394007219400004c012827..."} 
[2026-07-08 15:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41343f78012d18394007219400004c012827..."} 
[2026-07-08 15:42:06] local.INFO: Processing buffer {"connection_id":125556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41343f78012d18394007219400004c012827..."} 
[2026-07-08 15:42:06] local.INFO: Packet analysis {"connection_id":125556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4134"} 
[2026-07-08 15:42:06] local.INFO: Extracted packet for processing {"connection_id":125556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4134"} 
[2026-07-08 15:42:06] local.INFO: GPS Element Parsed {"raw_longitude":756562240,"raw_latitude":119641088,"longitude_deg":75.656224,"latitude_deg":11.9641088,"altitude":76,"angle":296,"satellites":39,"speed":22,"hex_longitude":"2d183940","hex_latitude":"07219400","is_valid_coordinates":true} 
[2026-07-08 15:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577371904001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4833869727531008,"note":"Value kept but may cause issues"} 
[2026-07-08 15:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754644666697197568,"note":"Value kept but may cause issues"} 
[2026-07-08 15:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783505371000,"timestamp_ms":1783505371000,"timestamp_seconds":1783505371,"priority":1,"record_length":96,"hex_timestamp":"0000019f41343f78"} 
[2026-07-08 15:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":125,"data_length":795,"current_offset":136} 
[2026-07-08 15:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577371904001,"66":14396,"105":206,"83":41984,"24":22,"16":4833869727531008,"45":1754644666697197568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 15:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577371904001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:42:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 15:42:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4833869727531008,"km_value":4833869727531.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754644666697197568,"description":"Unknown IO ID 45"} 
[2026-07-08 15:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577371904001,"power":14396,"unknown_105":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1754644666697197568}} 
[2026-07-08 15:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":125556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:42:06] local.INFO: GPS data processed {"connection_id":125556,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:42:06] local.INFO: Acknowledgment sent {"connection_id":125556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:42:21] local.INFO: TCP Data received {"connection_id":125555,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125555,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:42:21] local.INFO: Processing buffer {"connection_id":125555,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:42:21] local.INFO: IMEI packet received {"connection_id":125555,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 15:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":125555,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:42:21] local.INFO: TCP Data received {"connection_id":127658,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4136bc30012d0c378007035b180018016626..."} 
[2026-07-08 15:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4136bc30012d0c378007035b180018016626..."} 
[2026-07-08 15:42:21] local.INFO: Processing buffer {"connection_id":127658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4136bc30012d0c378007035b180018016626..."} 
[2026-07-08 15:42:21] local.INFO: Packet analysis {"connection_id":127658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4136"} 
[2026-07-08 15:42:21] local.INFO: Extracted packet for processing {"connection_id":127658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4136"} 
[2026-07-08 15:42:21] local.INFO: GPS Element Parsed {"raw_longitude":755775360,"raw_latitude":117660440,"longitude_deg":75.577536,"latitude_deg":11.766044,"altitude":24,"angle":358,"satellites":38,"speed":7,"hex_longitude":"2d0c3780","hex_latitude":"07035b18","is_valid_coordinates":true} 
[2026-07-08 15:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577416448001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23594059243192320,"note":"Value kept but may cause issues"} 
[2026-07-08 15:42:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880242651039424512,"note":"Value kept but may cause issues"} 
[2026-07-08 15:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783505534000,"timestamp_ms":1783505534000,"timestamp_seconds":1783505534,"priority":1,"record_length":96,"hex_timestamp":"0000019f4136bc30"} 
[2026-07-08 15:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 15:42:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:42:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":127658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":127658,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":127658,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:42:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577416448001,"66":14515,"37":206,"94":11008,"24":7,"16":23594059243192320,"45":880242651039424512},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-08 15:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577416448001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:42:21] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-08 15:42:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 15:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23594059243192320,"km_value":23594059243192.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:42:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":880242651039424512,"description":"Unknown IO ID 45"} 
[2026-07-08 15:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577416448001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":880242651039424512}} 
[2026-07-08 15:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":127658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452119,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:42:22] local.INFO: GPS data processed {"connection_id":127658,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:42:22] local.INFO: Acknowledgment sent {"connection_id":127658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:42:34] local.INFO: TCP Data received {"connection_id":126423,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f4132a550012d9aa38005781260000a00f82b..."} 
[2026-07-08 15:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4132a550012d9aa38005781260000a00f82b..."} 
[2026-07-08 15:42:34] local.INFO: Processing buffer {"connection_id":126423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4132a550012d9aa38005781260000a00f82b..."} 
[2026-07-08 15:42:34] local.INFO: Packet analysis {"connection_id":126423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4132"} 
[2026-07-08 15:42:34] local.INFO: Extracted packet for processing {"connection_id":126423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4132"} 
[2026-07-08 15:42:34] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":10,"angle":248,"satellites":43,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 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-07-08 15:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577271296001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783505266000,"timestamp_ms":1783505266000,"timestamp_seconds":1783505266,"priority":1,"record_length":96,"hex_timestamp":"0000019f4132a550"} 
[2026-07-08 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-07-08 15:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-08 15:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 15:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577271296001,"66":25908,"131":206,"85":15872,"24":0,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-08 15:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577271296001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:42:34] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-08 15:42:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577271296001,"power":25908,"unknown_131":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":126423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:42:34] local.INFO: GPS data processed {"connection_id":126423,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:42:34] local.INFO: Acknowledgment sent {"connection_id":126423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:42:37] local.INFO: TCP Data received {"connection_id":125556,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41364318012d1882c007218230004d006326..."} 
[2026-07-08 15:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41364318012d1882c007218230004d006326..."} 
[2026-07-08 15:42:37] local.INFO: Processing buffer {"connection_id":125556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41364318012d1882c007218230004d006326..."} 
[2026-07-08 15:42:37] local.INFO: Packet analysis {"connection_id":125556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4136"} 
[2026-07-08 15:42:37] local.INFO: Extracted packet for processing {"connection_id":125556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4136"} 
[2026-07-08 15:42:37] local.INFO: GPS Element Parsed {"raw_longitude":756581056,"raw_latitude":119636528,"longitude_deg":75.6581056,"latitude_deg":11.9636528,"altitude":77,"angle":99,"satellites":38,"speed":36,"hex_longitude":"2d1882c0","hex_latitude":"07218230","is_valid_coordinates":true} 
[2026-07-08 15:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577407488001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4835347196280832,"note":"Value kept but may cause issues"} 
[2026-07-08 15:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761329697393891328,"note":"Value kept but may cause issues"} 
[2026-07-08 15:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783505503000,"timestamp_ms":1783505503000,"timestamp_seconds":1783505503,"priority":1,"record_length":96,"hex_timestamp":"0000019f41364318"} 
[2026-07-08 15:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-08 15:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577407488001,"66":13254,"103":206,"83":41984,"24":36,"16":4835347196280832,"45":1761329697393891328},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 15:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577407488001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:42:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 15:42:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4835347196280832,"km_value":4835347196280.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761329697393891328,"description":"Unknown IO ID 45"} 
[2026-07-08 15:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577407488001,"power":13254,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1761329697393891328}} 
[2026-07-08 15:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":125556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:42:37] local.INFO: GPS data processed {"connection_id":125556,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:42:37] local.INFO: Acknowledgment sent {"connection_id":125556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:42:45] local.INFO: TCP Data received {"connection_id":125665,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125665,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:42:45] local.INFO: Processing buffer {"connection_id":125665,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:42:45] local.INFO: IMEI packet received {"connection_id":125665,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":125665,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:42:46] local.INFO: TCP Data received {"connection_id":125665,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125665,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:42:46] local.INFO: Processing buffer {"connection_id":125665,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:42:46] local.INFO: IMEI packet received {"connection_id":125665,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":125665,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:42:50] local.INFO: TCP Data received {"connection_id":125665,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125665,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:42:50] local.INFO: Processing buffer {"connection_id":125665,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:42:50] local.INFO: IMEI packet received {"connection_id":125665,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":125665,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:42:52] local.INFO: TCP Data received {"connection_id":125665,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125665,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:42:52] local.INFO: Processing buffer {"connection_id":125665,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:42:52] local.INFO: IMEI packet received {"connection_id":125665,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":125665,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:42:55] local.INFO: TCP Data received {"connection_id":125666,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:42:55] local.INFO: Processing buffer {"connection_id":125666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:42:55] local.INFO: IMEI packet received {"connection_id":125666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":125666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:43:00] local.INFO: TCP Data received {"connection_id":126424,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:43:00] local.INFO: Processing buffer {"connection_id":126424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:43:00] local.INFO: IMEI packet received {"connection_id":126424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":126424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:43:01] local.INFO: TCP Data received {"connection_id":125666,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:43:01] local.INFO: Processing buffer {"connection_id":125666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:43:01] local.INFO: IMEI packet received {"connection_id":125666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":125666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:43:02] local.INFO: TCP Data received {"connection_id":125666,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f4132a550012d9aa38005781260000a00f82b..."} 
[2026-07-08 15:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4132a550012d9aa38005781260000a00f82b..."} 
[2026-07-08 15:43:02] local.INFO: Processing buffer {"connection_id":125666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4132a550012d9aa38005781260000a00f82b..."} 
[2026-07-08 15:43:02] local.INFO: Packet analysis {"connection_id":125666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4132"} 
[2026-07-08 15:43:02] local.INFO: Extracted packet for processing {"connection_id":125666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4132"} 
[2026-07-08 15:43:02] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":10,"angle":248,"satellites":43,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577271296001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783505266000,"timestamp_ms":1783505266000,"timestamp_seconds":1783505266,"priority":1,"record_length":96,"hex_timestamp":"0000019f4132a550"} 
[2026-07-08 15:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-08 15:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577271296001,"66":25908,"131":206,"85":15872,"24":0,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-08 15:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577271296001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:43:02] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-08 15:43:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577271296001,"power":25908,"unknown_131":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":125666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:43:02] local.INFO: GPS data processed {"connection_id":125666,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:43:02] local.INFO: Acknowledgment sent {"connection_id":125666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:43:03] local.INFO: TCP Data received {"connection_id":127659,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127659,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:43:03] local.INFO: Processing buffer {"connection_id":127659,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:43:03] local.INFO: IMEI packet received {"connection_id":127659,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 15:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":127659,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:43:05] local.INFO: TCP Data received {"connection_id":126424,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:43:05] local.INFO: Processing buffer {"connection_id":126424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:43:05] local.INFO: IMEI packet received {"connection_id":126424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":126424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:43:15] local.INFO: TCP Data received {"connection_id":126424,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41364ed0012d188d0007217f00004e006f27..."} 
[2026-07-08 15:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41364ed0012d188d0007217f00004e006f27..."} 
[2026-07-08 15:43:15] local.INFO: Processing buffer {"connection_id":126424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41364ed0012d188d0007217f00004e006f27..."} 
[2026-07-08 15:43:15] local.INFO: Packet analysis {"connection_id":126424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4136"} 
[2026-07-08 15:43:15] local.INFO: Extracted packet for processing {"connection_id":126424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4136"} 
[2026-07-08 15:43:15] local.INFO: GPS Element Parsed {"raw_longitude":756583680,"raw_latitude":119635712,"longitude_deg":75.658368,"latitude_deg":11.9635712,"altitude":78,"angle":111,"satellites":39,"speed":36,"hex_longitude":"2d188d00","hex_latitude":"07217f00","is_valid_coordinates":true} 
[2026-07-08 15:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577408768001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4835480340267008,"note":"Value kept but may cause issues"} 
[2026-07-08 15:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766185140742139904,"note":"Value kept but may cause issues"} 
[2026-07-08 15:43: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-07-08 15:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783505506000,"timestamp_ms":1783505506000,"timestamp_seconds":1783505506,"priority":1,"record_length":96,"hex_timestamp":"0000019f41364ed0"} 
[2026-07-08 15:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-08 15:43:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":126424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":126424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":126424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:43:15] 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-07-08 15:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577408768001,"66":13167,"103":206,"83":41984,"24":36,"16":4835480340267008,"45":1766185140742139904},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 15:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577408768001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:43:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 15:43:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4835480340267008,"km_value":4835480340267.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766185140742139904,"description":"Unknown IO ID 45"} 
[2026-07-08 15:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577408768001,"power":13167,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1766185140742139904}} 
[2026-07-08 15:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":126424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:43:15] local.INFO: GPS data processed {"connection_id":126424,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:43:15] local.INFO: Acknowledgment sent {"connection_id":126424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:43:33] local.INFO: TCP Data received {"connection_id":125666,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f41373d18012d9aa38005781260000a00f828..."} 
[2026-07-08 15:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41373d18012d9aa38005781260000a00f828..."} 
[2026-07-08 15:43:33] local.INFO: Processing buffer {"connection_id":125666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41373d18012d9aa38005781260000a00f828..."} 
[2026-07-08 15:43:33] local.INFO: Packet analysis {"connection_id":125666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4137"} 
[2026-07-08 15:43:33] local.INFO: Extracted packet for processing {"connection_id":125666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4137"} 
[2026-07-08 15:43:33] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":10,"angle":248,"satellites":40,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577348096001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:43:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783505567000,"timestamp_ms":1783505567000,"timestamp_seconds":1783505567,"priority":1,"record_length":96,"hex_timestamp":"0000019f41373d18"} 
[2026-07-08 15:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-08 15:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:43:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577348096001,"66":25843,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577348096001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:43:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:43:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577348096001,"power":25843,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":125666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:43:33] local.INFO: GPS data processed {"connection_id":125666,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:43:33] local.INFO: Acknowledgment sent {"connection_id":125666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:44:00] local.INFO: TCP Data received {"connection_id":126426,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:44:00] local.INFO: Processing buffer {"connection_id":126426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:44:00] local.INFO: IMEI packet received {"connection_id":126426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":126426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:44:02] local.INFO: TCP Data received {"connection_id":126425,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:44:02] local.INFO: Processing buffer {"connection_id":126425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:44:02] local.INFO: IMEI packet received {"connection_id":126425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":126425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:44:05] local.INFO: TCP Data received {"connection_id":126426,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:44:05] local.INFO: Processing buffer {"connection_id":126426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:44:05] local.INFO: IMEI packet received {"connection_id":126426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":126426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:44:06] local.INFO: TCP Data received {"connection_id":126425,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:44:06] local.INFO: Processing buffer {"connection_id":126425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:44:06] local.INFO: IMEI packet received {"connection_id":126425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":126425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:44:06] local.INFO: TCP Data received {"connection_id":126426,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41367db0012d18ac8007217220004c008529..."} 
[2026-07-08 15:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41367db0012d18ac8007217220004c008529..."} 
[2026-07-08 15:44:06] local.INFO: Processing buffer {"connection_id":126426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41367db0012d18ac8007217220004c008529..."} 
[2026-07-08 15:44:06] local.INFO: Packet analysis {"connection_id":126426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4136"} 
[2026-07-08 15:44:06] local.INFO: Extracted packet for processing {"connection_id":126426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4136"} 
[2026-07-08 15:44:06] local.INFO: GPS Element Parsed {"raw_longitude":756591744,"raw_latitude":119632416,"longitude_deg":75.6591744,"latitude_deg":11.9632416,"altitude":76,"angle":133,"satellites":41,"speed":19,"hex_longitude":"2d18ac80","hex_latitude":"07217220","is_valid_coordinates":true} 
[2026-07-08 15:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577409536001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4835892657127424,"note":"Value kept but may cause issues"} 
[2026-07-08 15:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1769070259253215232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783505518000,"timestamp_ms":1783505518000,"timestamp_seconds":1783505518,"priority":1,"record_length":96,"hex_timestamp":"0000019f41367db0"} 
[2026-07-08 15:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-08 15:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577409536001,"66":13222,"103":206,"83":41984,"24":19,"16":4835892657127424,"45":1769070259253215232},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 15:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577409536001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:44:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 15:44:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4835892657127424,"km_value":4835892657127.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1769070259253215232,"description":"Unknown IO ID 45"} 
[2026-07-08 15:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577409536001,"power":13222,"unknown_103":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1769070259253215232}} 
[2026-07-08 15:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":126426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:44:06] local.INFO: GPS data processed {"connection_id":126426,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:44:06] local.INFO: Acknowledgment sent {"connection_id":126426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:44:06] local.INFO: TCP Data received {"connection_id":126425,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f41373d18012d9aa38005781260000a00f828..."} 
[2026-07-08 15:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41373d18012d9aa38005781260000a00f828..."} 
[2026-07-08 15:44:06] local.INFO: Processing buffer {"connection_id":126425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41373d18012d9aa38005781260000a00f828..."} 
[2026-07-08 15:44:06] local.INFO: Packet analysis {"connection_id":126425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4137"} 
[2026-07-08 15:44:06] local.INFO: Extracted packet for processing {"connection_id":126425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4137"} 
[2026-07-08 15:44:06] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":10,"angle":248,"satellites":40,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577348096001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:44:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783505567000,"timestamp_ms":1783505567000,"timestamp_seconds":1783505567,"priority":1,"record_length":96,"hex_timestamp":"0000019f41373d18"} 
[2026-07-08 15:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-08 15:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577348096001,"66":25843,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577348096001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:44:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:44:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577348096001,"power":25843,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":126425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:44:06] local.INFO: GPS data processed {"connection_id":126425,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:44:06] local.INFO: Acknowledgment sent {"connection_id":126425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:44:11] local.INFO: TCP Data received {"connection_id":126425,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f41373d18012d9aa38005781260000a00f828..."} 
[2026-07-08 15:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41373d18012d9aa38005781260000a00f828..."} 
[2026-07-08 15:44:11] local.INFO: Processing buffer {"connection_id":126425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41373d18012d9aa38005781260000a00f828..."} 
[2026-07-08 15:44:11] local.INFO: Packet analysis {"connection_id":126425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4137"} 
[2026-07-08 15:44:11] local.INFO: Extracted packet for processing {"connection_id":126425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4137"} 
[2026-07-08 15:44:11] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":10,"angle":248,"satellites":40,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577348096001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:44:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783505567000,"timestamp_ms":1783505567000,"timestamp_seconds":1783505567,"priority":1,"record_length":96,"hex_timestamp":"0000019f41373d18"} 
[2026-07-08 15:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-08 15:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577348096001,"66":25843,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577348096001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:44:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:44:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577348096001,"power":25843,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":126425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:44:11] local.INFO: GPS data processed {"connection_id":126425,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:44:11] local.INFO: Acknowledgment sent {"connection_id":126425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:44:37] local.INFO: TCP Data received {"connection_id":126426,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41369cf0012d18b4c0072168e0004a00992b..."} 
[2026-07-08 15:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41369cf0012d18b4c0072168e0004a00992b..."} 
[2026-07-08 15:44:37] local.INFO: Processing buffer {"connection_id":126426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41369cf0012d18b4c0072168e0004a00992b..."} 
[2026-07-08 15:44:37] local.INFO: Packet analysis {"connection_id":126426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4136"} 
[2026-07-08 15:44:37] local.INFO: Extracted packet for processing {"connection_id":126426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4136"} 
[2026-07-08 15:44:37] local.INFO: GPS Element Parsed {"raw_longitude":756593856,"raw_latitude":119630048,"longitude_deg":75.6593856,"latitude_deg":11.9630048,"altitude":74,"angle":153,"satellites":43,"speed":5,"hex_longitude":"2d18b4c0","hex_latitude":"072168e0","is_valid_coordinates":true} 
[2026-07-08 15:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577412608001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4836047275950080,"note":"Value kept but may cause issues"} 
[2026-07-08 15:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777936721018757120,"note":"Value kept but may cause issues"} 
[2026-07-08 15:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783505526000,"timestamp_ms":1783505526000,"timestamp_seconds":1783505526,"priority":1,"record_length":96,"hex_timestamp":"0000019f41369cf0"} 
[2026-07-08 15:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-08 15:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577412608001,"66":13135,"103":206,"83":41984,"24":5,"16":4836047275950080,"45":1777936721018757120},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 15:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577412608001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:44:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 15:44:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4836047275950080,"km_value":4836047275950.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777936721018757120,"description":"Unknown IO ID 45"} 
[2026-07-08 15:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577412608001,"power":13135,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1777936721018757120}} 
[2026-07-08 15:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":126426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:44:37] local.INFO: GPS data processed {"connection_id":126426,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:44:37] local.INFO: Acknowledgment sent {"connection_id":126426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:44:56] local.INFO: TCP Data received {"connection_id":125557,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:44:56] local.INFO: Processing buffer {"connection_id":125557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:44:56] local.INFO: IMEI packet received {"connection_id":125557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":125557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:45:00] local.INFO: TCP Data received {"connection_id":126427,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:45:00] local.INFO: Processing buffer {"connection_id":126427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:45:00] local.INFO: IMEI packet received {"connection_id":126427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":126427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:45:01] local.INFO: TCP Data received {"connection_id":125557,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:45:01] local.INFO: Processing buffer {"connection_id":125557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:45:01] local.INFO: IMEI packet received {"connection_id":125557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":125557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:45:02] local.INFO: TCP Data received {"connection_id":125557,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f41373d18012d9aa38005781260000a00f828..."} 
[2026-07-08 15:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41373d18012d9aa38005781260000a00f828..."} 
[2026-07-08 15:45:02] local.INFO: Processing buffer {"connection_id":125557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41373d18012d9aa38005781260000a00f828..."} 
[2026-07-08 15:45:02] local.INFO: Packet analysis {"connection_id":125557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4137"} 
[2026-07-08 15:45:02] local.INFO: Extracted packet for processing {"connection_id":125557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4137"} 
[2026-07-08 15:45:02] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":10,"angle":248,"satellites":40,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577348096001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:45:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783505567000,"timestamp_ms":1783505567000,"timestamp_seconds":1783505567,"priority":1,"record_length":96,"hex_timestamp":"0000019f41373d18"} 
[2026-07-08 15:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-08 15:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577348096001,"66":25843,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577348096001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:45:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:45:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577348096001,"power":25843,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":125557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:45:02] local.INFO: GPS data processed {"connection_id":125557,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:45:02] local.INFO: Acknowledgment sent {"connection_id":125557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:45:05] local.INFO: TCP Data received {"connection_id":126427,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:45:05] local.INFO: Processing buffer {"connection_id":126427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:45:05] local.INFO: IMEI packet received {"connection_id":126427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":126427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:45:06] local.INFO: TCP Data received {"connection_id":126427,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41388d08012d18d58007210430003d009f29..."} 
[2026-07-08 15:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41388d08012d18d58007210430003d009f29..."} 
[2026-07-08 15:45:06] local.INFO: Processing buffer {"connection_id":126427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41388d08012d18d58007210430003d009f29..."} 
[2026-07-08 15:45:06] local.INFO: Packet analysis {"connection_id":126427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4138"} 
[2026-07-08 15:45:06] local.INFO: Extracted packet for processing {"connection_id":126427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4138"} 
[2026-07-08 15:45:06] local.INFO: GPS Element Parsed {"raw_longitude":756602240,"raw_latitude":119604272,"longitude_deg":75.660224,"latitude_deg":11.9604272,"altitude":61,"angle":159,"satellites":41,"speed":29,"hex_longitude":"2d18d580","hex_latitude":"07210430","is_valid_coordinates":true} 
[2026-07-08 15:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577443840001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4837400190648320,"note":"Value kept but may cause issues"} 
[2026-07-08 15:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788492032640425984,"note":"Value kept but may cause issues"} 
[2026-07-08 15:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783505653000,"timestamp_ms":1783505653000,"timestamp_seconds":1783505653,"priority":1,"record_length":96,"hex_timestamp":"0000019f41388d08"} 
[2026-07-08 15:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 15:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577443840001,"66":12819,"103":206,"83":41984,"24":29,"16":4837400190648320,"45":1788492032640425984},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 15:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577443840001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:45:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 15:45:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4837400190648320,"km_value":4837400190648.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788492032640425984,"description":"Unknown IO ID 45"} 
[2026-07-08 15:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577443840001,"power":12819,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1788492032640425984}} 
[2026-07-08 15:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":126427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:45:06] local.INFO: GPS data processed {"connection_id":126427,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:45:06] local.INFO: Acknowledgment sent {"connection_id":126427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:45:33] local.INFO: TCP Data received {"connection_id":125557,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f41373d18012d9aa38005781260000a00f828..."} 
[2026-07-08 15:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41373d18012d9aa38005781260000a00f828..."} 
[2026-07-08 15:45:33] local.INFO: Processing buffer {"connection_id":125557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41373d18012d9aa38005781260000a00f828..."} 
[2026-07-08 15:45:33] local.INFO: Packet analysis {"connection_id":125557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4137"} 
[2026-07-08 15:45:33] local.INFO: Extracted packet for processing {"connection_id":125557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4137"} 
[2026-07-08 15:45:33] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":10,"angle":248,"satellites":40,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577348096001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:45:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783505567000,"timestamp_ms":1783505567000,"timestamp_seconds":1783505567,"priority":1,"record_length":96,"hex_timestamp":"0000019f41373d18"} 
[2026-07-08 15:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-08 15:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577348096001,"66":25843,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577348096001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:45:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:45:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577348096001,"power":25843,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":125557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:45:33] local.INFO: GPS data processed {"connection_id":125557,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:45:33] local.INFO: Acknowledgment sent {"connection_id":125557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:45:37] local.INFO: TCP Data received {"connection_id":126427,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f413894d8012d18d8400720ff18003c009329..."} 
[2026-07-08 15:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f413894d8012d18d8400720ff18003c009329..."} 
[2026-07-08 15:45:37] local.INFO: Processing buffer {"connection_id":126427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f413894d8012d18d8400720ff18003c009329..."} 
[2026-07-08 15:45:37] local.INFO: Packet analysis {"connection_id":126427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4138"} 
[2026-07-08 15:45:37] local.INFO: Extracted packet for processing {"connection_id":126427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4138"} 
[2026-07-08 15:45:37] local.INFO: GPS Element Parsed {"raw_longitude":756602944,"raw_latitude":119602968,"longitude_deg":75.6602944,"latitude_deg":11.9602968,"altitude":60,"angle":147,"satellites":41,"speed":28,"hex_longitude":"2d18d840","hex_latitude":"0720ff18","is_valid_coordinates":true} 
[2026-07-08 15:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577447168001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4837473205092352,"note":"Value kept but may cause issues"} 
[2026-07-08 15:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789477195056689152,"note":"Value kept but may cause issues"} 
[2026-07-08 15:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783505655000,"timestamp_ms":1783505655000,"timestamp_seconds":1783505655,"priority":1,"record_length":96,"hex_timestamp":"0000019f413894d8"} 
[2026-07-08 15:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-08 15:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-07-08 15:45:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-08 15:45:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 15:45:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-08 15:45:37] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503673421168640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:45:37] local.WARNING: Large IO value detected {"io_id":65,"raw_value":4024344504107055360,"note":"Value kept but may cause issues"} 
[2026-07-08 15:45:37] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4107546747252048128,"note":"Value kept but may cause issues"} 
[2026-07-08 15:45:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675904093319069720,"corrected_to":0} 
[2026-07-08 15:45:37] local.WARNING: Large IO value detected {"io_id":196,"raw_value":2147950926,"note":"Value kept but may cause issues"} 
[2026-07-08 15:45:37] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182079385764096,"note":"Value kept but may cause issues"} 
[2026-07-08 15:45:37] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2405476356084239915,"note":"Value kept but may cause issues"} 
[2026-07-08 15:45:37] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195047680,"note":"Value kept but may cause issues"} 
[2026-07-08 15:45:37] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-9223146119846900141,"note":"Value kept but may cause issues"} 
[2026-07-08 15:45:37] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755485340532977,"note":"Value kept but may cause issues"} 
[2026-07-08 15:45:37] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84751132584780136,"note":"Value kept but may cause issues"} 
[2026-07-08 15:45:37] local.WARNING: Large IO value detected {"io_id":120,"raw_value":20829806128005120,"note":"Value kept but may cause issues"} 
[2026-07-08 15:45:37] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,103,83,24,241,157,16,47,159,90,45,38,64,42,10,66,82,62,128,1,240,63,227,65,33,4,113,205,22,12,196,248,239,48,2,17,7,69,20,50,164,168,8,120],"length":625,"final_offset":755,"validated_count":44,"validation_warnings":[{"io_id":205,"original":8675904093319069720,"validated":0}]} 
[2026-07-08 15:45:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395688234757980160,"timestamp_seconds":4395688234757980.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 15:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577447168001,"66":12254,"103":206,"83":41984,"24":28,"16":4837473205092352,"45":1789477195056689152},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 15:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577447168001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:45:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 15:45:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4837473205092352,"km_value":4837473205092.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789477195056689152,"description":"Unknown IO ID 45"} 
[2026-07-08 15:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577447168001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1789477195056689152}} 
[2026-07-08 15:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":126427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:45:37] local.INFO: GPS data processed {"connection_id":126427,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:45:37] local.INFO: Acknowledgment sent {"connection_id":126427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:45:55] local.INFO: TCP Data received {"connection_id":127661,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:45:55] local.INFO: Processing buffer {"connection_id":127661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:45:55] local.INFO: IMEI packet received {"connection_id":127661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":127661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:46:01] local.INFO: TCP Data received {"connection_id":127661,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:46:01] local.INFO: Processing buffer {"connection_id":127661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:46:01] local.INFO: IMEI packet received {"connection_id":127661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":127661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:46:01] local.INFO: TCP Data received {"connection_id":127661,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f41373d18012d9aa38005781260000a00f828..."} 
[2026-07-08 15:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41373d18012d9aa38005781260000a00f828..."} 
[2026-07-08 15:46:01] local.INFO: Processing buffer {"connection_id":127661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41373d18012d9aa38005781260000a00f828..."} 
[2026-07-08 15:46:01] local.INFO: Packet analysis {"connection_id":127661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4137"} 
[2026-07-08 15:46:01] local.INFO: Extracted packet for processing {"connection_id":127661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4137"} 
[2026-07-08 15:46:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":10,"angle":248,"satellites":40,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 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-07-08 15:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577348096001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:46:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783505567000,"timestamp_ms":1783505567000,"timestamp_seconds":1783505567,"priority":1,"record_length":96,"hex_timestamp":"0000019f41373d18"} 
[2026-07-08 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-07-08 15:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-08 15:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 15:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577348096001,"66":25843,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577348096001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:46:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:46:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577348096001,"power":25843,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":127661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:46:01] local.INFO: GPS data processed {"connection_id":127661,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:46:01] local.INFO: Acknowledgment sent {"connection_id":127661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:46:05] local.INFO: TCP Data received {"connection_id":126428,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:46:05] local.INFO: Processing buffer {"connection_id":126428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:46:05] local.INFO: IMEI packet received {"connection_id":126428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":126428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:46:06] local.INFO: TCP Data received {"connection_id":126428,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:46:06] local.INFO: Processing buffer {"connection_id":126428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:46:06] local.INFO: IMEI packet received {"connection_id":126428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":126428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:46:06] local.INFO: TCP Data received {"connection_id":126428,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41398af0012d1988000720b3e80030005829..."} 
[2026-07-08 15:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41398af0012d1988000720b3e80030005829..."} 
[2026-07-08 15:46:06] local.INFO: Processing buffer {"connection_id":126428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41398af0012d1988000720b3e80030005829..."} 
[2026-07-08 15:46:06] local.INFO: Packet analysis {"connection_id":126428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4139"} 
[2026-07-08 15:46:06] local.INFO: Extracted packet for processing {"connection_id":126428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4139"} 
[2026-07-08 15:46:06] local.INFO: GPS Element Parsed {"raw_longitude":756647936,"raw_latitude":119583720,"longitude_deg":75.6647936,"latitude_deg":11.958372,"altitude":48,"angle":88,"satellites":41,"speed":31,"hex_longitude":"2d198800","hex_latitude":"0720b3e8","is_valid_coordinates":true} 
[2026-07-08 15:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577461760001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4840002940829696,"note":"Value kept but may cause issues"} 
[2026-07-08 15:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235231975424,"note":"Value kept but may cause issues"} 
[2026-07-08 15:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783505718000,"timestamp_ms":1783505718000,"timestamp_seconds":1783505718,"priority":1,"record_length":96,"hex_timestamp":"0000019f41398af0"} 
[2026-07-08 15:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":92,"data_length":795,"current_offset":136} 
[2026-07-08 15:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577461760001,"66":14374,"103":206,"83":41984,"24":31,"16":4840002940829696,"45":1832613235231975424},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 15:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577461760001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:46:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 15:46:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4840002940829696,"km_value":4840002940829.696,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235231975424,"description":"Unknown IO ID 45"} 
[2026-07-08 15:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577461760001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1832613235231975424}} 
[2026-07-08 15:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":126428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:46:07] local.INFO: GPS data processed {"connection_id":126428,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:46:07] local.INFO: Acknowledgment sent {"connection_id":126428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:46:07] local.INFO: TCP Data received {"connection_id":126428,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4139b200012d19ab800720b0f00031006827..."} 
[2026-07-08 15:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4139b200012d19ab800720b0f00031006827..."} 
[2026-07-08 15:46:07] local.INFO: Processing buffer {"connection_id":126428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4139b200012d19ab800720b0f00031006827..."} 
[2026-07-08 15:46:07] local.INFO: Packet analysis {"connection_id":126428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4139"} 
[2026-07-08 15:46:07] local.INFO: Extracted packet for processing {"connection_id":126428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4139"} 
[2026-07-08 15:46:07] local.INFO: GPS Element Parsed {"raw_longitude":756657024,"raw_latitude":119582960,"longitude_deg":75.6657024,"latitude_deg":11.958296,"altitude":49,"angle":104,"satellites":39,"speed":39,"hex_longitude":"2d19ab80","hex_latitude":"0720b0f0","is_valid_coordinates":true} 
[2026-07-08 15:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577463808001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4840432437559296,"note":"Value kept but may cause issues"} 
[2026-07-08 15:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839720478394279936,"note":"Value kept but may cause issues"} 
[2026-07-08 15:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783505728000,"timestamp_ms":1783505728000,"timestamp_seconds":1783505728,"priority":1,"record_length":96,"hex_timestamp":"0000019f4139b200"} 
[2026-07-08 15:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15: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-07-08 15:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577463808001,"66":14363,"103":206,"83":41984,"24":39,"16":4840432437559296,"45":1839720478394279936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 15:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577463808001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:46:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 15:46:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4840432437559296,"km_value":4840432437559.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839720478394279936,"description":"Unknown IO ID 45"} 
[2026-07-08 15:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577463808001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1839720478394279936}} 
[2026-07-08 15:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":126428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:46:07] local.INFO: GPS data processed {"connection_id":126428,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:46:07] local.INFO: Acknowledgment sent {"connection_id":126428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:46:34] local.INFO: TCP Data received {"connection_id":127661,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f41373d18012d9aa38005781260000a00f828..."} 
[2026-07-08 15:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41373d18012d9aa38005781260000a00f828..."} 
[2026-07-08 15:46:34] local.INFO: Processing buffer {"connection_id":127661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41373d18012d9aa38005781260000a00f828..."} 
[2026-07-08 15:46:34] local.INFO: Packet analysis {"connection_id":127661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4137"} 
[2026-07-08 15:46:34] local.INFO: Extracted packet for processing {"connection_id":127661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4137"} 
[2026-07-08 15:46:34] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":10,"angle":248,"satellites":40,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577348096001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:46:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783505567000,"timestamp_ms":1783505567000,"timestamp_seconds":1783505567,"priority":1,"record_length":96,"hex_timestamp":"0000019f41373d18"} 
[2026-07-08 15:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-08 15:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577348096001,"66":25843,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577348096001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:46:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:46:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577348096001,"power":25843,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":127661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:46:34] local.INFO: GPS data processed {"connection_id":127661,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:46:34] local.INFO: Acknowledgment sent {"connection_id":127661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:46:39] local.INFO: TCP Data received {"connection_id":126428,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4139b200012d19ab800720b0f00031006827..."} 
[2026-07-08 15:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4139b200012d19ab800720b0f00031006827..."} 
[2026-07-08 15:46:39] local.INFO: Processing buffer {"connection_id":126428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4139b200012d19ab800720b0f00031006827..."} 
[2026-07-08 15:46:39] local.INFO: Packet analysis {"connection_id":126428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4139"} 
[2026-07-08 15:46:39] local.INFO: Extracted packet for processing {"connection_id":126428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4139"} 
[2026-07-08 15:46:39] local.INFO: GPS Element Parsed {"raw_longitude":756657024,"raw_latitude":119582960,"longitude_deg":75.6657024,"latitude_deg":11.958296,"altitude":49,"angle":104,"satellites":39,"speed":39,"hex_longitude":"2d19ab80","hex_latitude":"0720b0f0","is_valid_coordinates":true} 
[2026-07-08 15:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577466368001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4840432437559296,"note":"Value kept but may cause issues"} 
[2026-07-08 15:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849712840067313664,"note":"Value kept but may cause issues"} 
[2026-07-08 15: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-07-08 15:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783505728000,"timestamp_ms":1783505728000,"timestamp_seconds":1783505728,"priority":1,"record_length":96,"hex_timestamp":"0000019f4139b200"} 
[2026-07-08 15:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":27,"data_length":795,"current_offset":136} 
[2026-07-08 15:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577466368001,"66":14363,"103":206,"83":41984,"24":39,"16":4840432437559296,"45":1849712840067313664},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 15:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577466368001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:46:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 15:46:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4840432437559296,"km_value":4840432437559.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849712840067313664,"description":"Unknown IO ID 45"} 
[2026-07-08 15:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577466368001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1849712840067313664}} 
[2026-07-08 15:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":126428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:46:39] local.INFO: GPS data processed {"connection_id":126428,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:46:39] local.INFO: Acknowledgment sent {"connection_id":126428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:46:55] local.INFO: TCP Data received {"connection_id":125669,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:46:55] local.INFO: Processing buffer {"connection_id":125669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:46:55] local.INFO: IMEI packet received {"connection_id":125669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":125669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:46:59] local.INFO: TCP Data received {"connection_id":127663,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:46:59] local.INFO: Processing buffer {"connection_id":127663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:46:59] local.INFO: IMEI packet received {"connection_id":127663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":127663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:47:00] local.INFO: TCP Data received {"connection_id":127663,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:47:00] local.INFO: Processing buffer {"connection_id":127663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:47:00] local.INFO: IMEI packet received {"connection_id":127663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":127663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:47:01] local.INFO: TCP Data received {"connection_id":125669,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:47:01] local.INFO: Processing buffer {"connection_id":125669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:47:01] local.INFO: IMEI packet received {"connection_id":125669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":125669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:47:01] local.INFO: TCP Data received {"connection_id":125669,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f41373d18012d9aa38005781260000a00f828..."} 
[2026-07-08 15:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41373d18012d9aa38005781260000a00f828..."} 
[2026-07-08 15:47:01] local.INFO: Processing buffer {"connection_id":125669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41373d18012d9aa38005781260000a00f828..."} 
[2026-07-08 15:47:01] local.INFO: Packet analysis {"connection_id":125669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4137"} 
[2026-07-08 15:47:01] local.INFO: Extracted packet for processing {"connection_id":125669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4137"} 
[2026-07-08 15:47:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":10,"angle":248,"satellites":40,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577348096001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:47:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783505567000,"timestamp_ms":1783505567000,"timestamp_seconds":1783505567,"priority":1,"record_length":96,"hex_timestamp":"0000019f41373d18"} 
[2026-07-08 15:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-08 15:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577348096001,"66":25843,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577348096001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:47:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:47:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577348096001,"power":25843,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":125669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:47:01] local.INFO: GPS data processed {"connection_id":125669,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:47:01] local.INFO: Acknowledgment sent {"connection_id":125669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:47:05] local.INFO: TCP Data received {"connection_id":127663,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:47:05] local.INFO: Processing buffer {"connection_id":127663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:47:05] local.INFO: IMEI packet received {"connection_id":127663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":127663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:47:05] local.INFO: TCP Data received {"connection_id":127663,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f413a5de0012d1a0a000720c1100031003a25..."} 
[2026-07-08 15:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f413a5de0012d1a0a000720c1100031003a25..."} 
[2026-07-08 15:47:05] local.INFO: Processing buffer {"connection_id":127663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f413a5de0012d1a0a000720c1100031003a25..."} 
[2026-07-08 15:47:05] local.INFO: Packet analysis {"connection_id":127663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f413a"} 
[2026-07-08 15:47:05] local.INFO: Extracted packet for processing {"connection_id":127663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f413a"} 
[2026-07-08 15:47:05] local.INFO: GPS Element Parsed {"raw_longitude":756681216,"raw_latitude":119587088,"longitude_deg":75.6681216,"latitude_deg":11.9587088,"altitude":49,"angle":58,"satellites":37,"speed":29,"hex_longitude":"2d1a0a00","hex_latitude":"0720c110","is_valid_coordinates":true} 
[2026-07-08 15:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577474560001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4841729517682688,"note":"Value kept but may cause issues"} 
[2026-07-08 15:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867656869832773632,"note":"Value kept but may cause issues"} 
[2026-07-08 15:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783505772000,"timestamp_ms":1783505772000,"timestamp_seconds":1783505772,"priority":1,"record_length":96,"hex_timestamp":"0000019f413a5de0"} 
[2026-07-08 15:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 15:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577474560001,"66":13646,"103":206,"83":41984,"24":29,"16":4841729517682688,"45":1867656869832773632},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 15:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577474560001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:47:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 15:47:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4841729517682688,"km_value":4841729517682.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867656869832773632,"description":"Unknown IO ID 45"} 
[2026-07-08 15:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577474560001,"power":13646,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1867656869832773632}} 
[2026-07-08 15:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":127663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:47:06] local.INFO: GPS data processed {"connection_id":127663,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:47:06] local.INFO: Acknowledgment sent {"connection_id":127663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:47:32] local.INFO: TCP Data received {"connection_id":125669,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f41373d18012d9aa38005781260000a00f828..."} 
[2026-07-08 15:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41373d18012d9aa38005781260000a00f828..."} 
[2026-07-08 15:47:32] local.INFO: Processing buffer {"connection_id":125669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41373d18012d9aa38005781260000a00f828..."} 
[2026-07-08 15:47:32] local.INFO: Packet analysis {"connection_id":125669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4137"} 
[2026-07-08 15:47:32] local.INFO: Extracted packet for processing {"connection_id":125669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4137"} 
[2026-07-08 15:47:32] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":10,"angle":248,"satellites":40,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577348096001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:47:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783505567000,"timestamp_ms":1783505567000,"timestamp_seconds":1783505567,"priority":1,"record_length":96,"hex_timestamp":"0000019f41373d18"} 
[2026-07-08 15:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-08 15:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577348096001,"66":25843,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577348096001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:47:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:47:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577348096001,"power":25843,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":125669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:47:32] local.INFO: GPS data processed {"connection_id":125669,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:47:32] local.INFO: Acknowledgment sent {"connection_id":125669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:47:37] local.INFO: TCP Data received {"connection_id":127663,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f413a6998012d1a10c00720c6080031002d24..."} 
[2026-07-08 15:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f413a6998012d1a10c00720c6080031002d24..."} 
[2026-07-08 15:47:37] local.INFO: Processing buffer {"connection_id":127663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f413a6998012d1a10c00720c6080031002d24..."} 
[2026-07-08 15:47:37] local.INFO: Packet analysis {"connection_id":127663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f413a"} 
[2026-07-08 15:47:37] local.INFO: Extracted packet for processing {"connection_id":127663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f413a"} 
[2026-07-08 15:47:37] local.INFO: GPS Element Parsed {"raw_longitude":756682944,"raw_latitude":119588360,"longitude_deg":75.6682944,"latitude_deg":11.958836,"altitude":49,"angle":45,"satellites":36,"speed":26,"hex_longitude":"2d1a10c0","hex_latitude":"0720c608","is_valid_coordinates":true} 
[2026-07-08 15:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577477632001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4841832596897792,"note":"Value kept but may cause issues"} 
[2026-07-08 15:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1876312225367527424,"note":"Value kept but may cause issues"} 
[2026-07-08 15:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783505775000,"timestamp_ms":1783505775000,"timestamp_seconds":1783505775,"priority":1,"record_length":96,"hex_timestamp":"0000019f413a6998"} 
[2026-07-08 15:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-07-08 15:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577477632001,"66":14428,"103":206,"83":41984,"24":26,"16":4841832596897792,"45":1876312225367527424},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 15:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577477632001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:47:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 15:47:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4841832596897792,"km_value":4841832596897.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1876312225367527424,"description":"Unknown IO ID 45"} 
[2026-07-08 15:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577477632001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1876312225367527424}} 
[2026-07-08 15:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":127663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:47:37] local.INFO: GPS data processed {"connection_id":127663,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:47:37] local.INFO: Acknowledgment sent {"connection_id":127663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:47:51] local.INFO: TCP Data received {"connection_id":127664,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127664,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:47:51] local.INFO: Processing buffer {"connection_id":127664,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:47:51] local.INFO: IMEI packet received {"connection_id":127664,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":127664,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:47:52] local.INFO: TCP Data received {"connection_id":127664,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f413ba600012d0b9a800704b8200015010822..."} 
[2026-07-08 15:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f413ba600012d0b9a800704b8200015010822..."} 
[2026-07-08 15:47:52] local.INFO: Processing buffer {"connection_id":127664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f413ba600012d0b9a800704b8200015010822..."} 
[2026-07-08 15:47:52] local.INFO: Packet analysis {"connection_id":127664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f413b"} 
[2026-07-08 15:47:52] local.INFO: Extracted packet for processing {"connection_id":127664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f413b"} 
[2026-07-08 15:47:52] local.INFO: GPS Element Parsed {"raw_longitude":755735168,"raw_latitude":117749792,"longitude_deg":75.5735168,"latitude_deg":11.7749792,"altitude":21,"angle":264,"satellites":34,"speed":31,"hex_longitude":"2d0b9a80","hex_latitude":"0704b820","is_valid_coordinates":true} 
[2026-07-08 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-07-08 15:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577496320001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23602979890266112,"note":"Value kept but may cause issues"} 
[2026-07-08 15:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":846606391345522688,"note":"Value kept but may cause issues"} 
[2026-07-08 15:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783505856000,"timestamp_ms":1783505856000,"timestamp_seconds":1783505856,"priority":1,"record_length":96,"hex_timestamp":"0000019f413ba600"} 
[2026-07-08 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-07-08 15:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-08 15:47:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 15:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":127664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":127664,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":127664,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:47:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577496320001,"66":14450,"96":206,"94":10240,"24":31,"16":23602979890266112,"45":846606391345522688},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-08 15:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577496320001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:47:52] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-08 15:47:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 15:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23602979890266112,"km_value":23602979890266.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":846606391345522688,"description":"Unknown IO ID 45"} 
[2026-07-08 15:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577496320001,"power":14450,"unknown_96":206,"unknown_94":10240,"ignition":31,"odometer":null,"unknown_45":846606391345522688}} 
[2026-07-08 15:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":127664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452142,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:47:52] local.INFO: GPS data processed {"connection_id":127664,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:47:52] local.INFO: Acknowledgment sent {"connection_id":127664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:47:55] local.INFO: TCP Data received {"connection_id":126429,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:47:55] local.INFO: Processing buffer {"connection_id":126429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:47:55] local.INFO: IMEI packet received {"connection_id":126429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":126429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:47:59] local.INFO: TCP Data received {"connection_id":126430,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:47:59] local.INFO: Processing buffer {"connection_id":126430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:47:59] local.INFO: IMEI packet received {"connection_id":126430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":126430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:48:00] local.INFO: TCP Data received {"connection_id":126430,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:48:00] local.INFO: Processing buffer {"connection_id":126430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:48:00] local.INFO: IMEI packet received {"connection_id":126430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":126430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:48:00] local.INFO: TCP Data received {"connection_id":126430,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:48:00] local.INFO: Processing buffer {"connection_id":126430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:48:00] local.INFO: IMEI packet received {"connection_id":126430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":126430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:48:01] local.INFO: TCP Data received {"connection_id":126429,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:48:01] local.INFO: Processing buffer {"connection_id":126429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:48:01] local.INFO: IMEI packet received {"connection_id":126429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":126429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:48:01] local.INFO: TCP Data received {"connection_id":126430,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:48:01] local.INFO: Processing buffer {"connection_id":126430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:48:01] local.INFO: IMEI packet received {"connection_id":126430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":126430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:48:09] local.INFO: TCP Data received {"connection_id":126429,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41373d18012d9aa38005781260000a00f828..."} 
[2026-07-08 15:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41373d18012d9aa38005781260000a00f828..."} 
[2026-07-08 15:48:09] local.INFO: Processing buffer {"connection_id":126429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41373d18012d9aa38005781260000a00f828..."} 
[2026-07-08 15:48:09] local.INFO: Packet analysis {"connection_id":126429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4137"} 
[2026-07-08 15:48:09] local.INFO: Extracted packet for processing {"connection_id":126429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4137"} 
[2026-07-08 15:48:09] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":10,"angle":248,"satellites":40,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577348096001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:48:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783505567000,"timestamp_ms":1783505567000,"timestamp_seconds":1783505567,"priority":1,"record_length":96,"hex_timestamp":"0000019f41373d18"} 
[2026-07-08 15:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-08 15:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577348096001,"66":25843,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577348096001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:48:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:48:09] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577348096001,"power":25843,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":126429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:48:09] local.INFO: GPS data processed {"connection_id":126429,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:48:09] local.INFO: Acknowledgment sent {"connection_id":126429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:48:21] local.INFO: TCP Data received {"connection_id":125561,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125561,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:48:21] local.INFO: Processing buffer {"connection_id":125561,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:48:21] local.INFO: IMEI packet received {"connection_id":125561,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 15:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":125561,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:48:27] local.INFO: TCP Data received {"connection_id":127664,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f413c0f78012d0b62800704ca580018014923..."} 
[2026-07-08 15:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f413c0f78012d0b62800704ca580018014923..."} 
[2026-07-08 15:48:27] local.INFO: Processing buffer {"connection_id":127664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f413c0f78012d0b62800704ca580018014923..."} 
[2026-07-08 15:48:27] local.INFO: Packet analysis {"connection_id":127664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f413c"} 
[2026-07-08 15:48:27] local.INFO: Extracted packet for processing {"connection_id":127664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f413c"} 
[2026-07-08 15:48:27] local.INFO: GPS Element Parsed {"raw_longitude":755720832,"raw_latitude":117754456,"longitude_deg":75.5720832,"latitude_deg":11.7754456,"altitude":24,"angle":329,"satellites":35,"speed":19,"hex_longitude":"2d0b6280","hex_latitude":"0704ca58","is_valid_coordinates":true} 
[2026-07-08 15:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577505792001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23603752984379392,"note":"Value kept but may cause issues"} 
[2026-07-08 15:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":820569956000774144,"note":"Value kept but may cause issues"} 
[2026-07-08 15:48:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783505883000,"timestamp_ms":1783505883000,"timestamp_seconds":1783505883,"priority":1,"record_length":96,"hex_timestamp":"0000019f413c0f78"} 
[2026-07-08 15:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 15:48:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":127664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":127664,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":127664,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577505792001,"66":14548,"96":206,"94":10240,"24":19,"16":23603752984379392,"45":820569956000774144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-08 15:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577505792001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:48:27] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-08 15:48:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 15:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23603752984379392,"km_value":23603752984379.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":820569956000774144,"description":"Unknown IO ID 45"} 
[2026-07-08 15:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577505792001,"power":14548,"unknown_96":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":820569956000774144}} 
[2026-07-08 15:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":127664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452144,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:48:27] local.INFO: GPS data processed {"connection_id":127664,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:48:27] local.INFO: Acknowledgment sent {"connection_id":127664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:48:40] local.INFO: TCP Data received {"connection_id":126429,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f413bd4e0012d9aa38005781260000700f829..."} 
[2026-07-08 15:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f413bd4e0012d9aa38005781260000700f829..."} 
[2026-07-08 15:48:40] local.INFO: Processing buffer {"connection_id":126429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f413bd4e0012d9aa38005781260000700f829..."} 
[2026-07-08 15:48:40] local.INFO: Packet analysis {"connection_id":126429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f413b"} 
[2026-07-08 15:48:40] local.INFO: Extracted packet for processing {"connection_id":126429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f413b"} 
[2026-07-08 15:48:40] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577425152001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:48:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783505868000,"timestamp_ms":1783505868000,"timestamp_seconds":1783505868,"priority":1,"record_length":96,"hex_timestamp":"0000019f413bd4e0"} 
[2026-07-08 15:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-08 15:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577425152001,"66":25756,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577425152001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:48:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:48:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577425152001,"power":25756,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":126429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:48:40] local.INFO: GPS data processed {"connection_id":126429,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:48:40] local.INFO: Acknowledgment sent {"connection_id":126429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:48:46] local.INFO: TCP Data received {"connection_id":125671,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125671,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:48:46] local.INFO: Processing buffer {"connection_id":125671,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:48:46] local.INFO: IMEI packet received {"connection_id":125671,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":125671,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:48:51] local.INFO: TCP Data received {"connection_id":125671,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125671,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:48:51] local.INFO: Processing buffer {"connection_id":125671,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:48:51] local.INFO: IMEI packet received {"connection_id":125671,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":125671,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:48:52] local.INFO: TCP Data received {"connection_id":125671,"ip":"42.106.6.31","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-08 15:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125671,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-08 15:48:52] local.INFO: Processing buffer {"connection_id":125671,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-08 15:48:52] local.INFO: IMEI packet received {"connection_id":125671,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":125671,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:48:53] local.INFO: TCP Data received {"connection_id":125671,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f413c1360012d0b61800704cc700018015523..."} 
[2026-07-08 15:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f413c1360012d0b61800704cc700018015523..."} 
[2026-07-08 15:48:53] local.INFO: Processing buffer {"connection_id":125671,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a0000019f41..."} 
[2026-07-08 15:48:53] local.INFO: IMEI packet received {"connection_id":125671,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":125671,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:48:56] local.INFO: TCP Data received {"connection_id":125562,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125562,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:48:56] local.INFO: Processing buffer {"connection_id":125562,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:48:56] local.INFO: IMEI packet received {"connection_id":125562,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 15:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":125562,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:48:57] local.INFO: TCP Data received {"connection_id":125671,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f413c1b30012d0b61000704d1b80018016123..."} 
[2026-07-08 15:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f413c1b30012d0b61000704d1b80018016123..."} 
[2026-07-08 15:48:57] local.INFO: Processing buffer {"connection_id":125671,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f413c1360012d0b61800704cc700018015523..."} 
[2026-07-08 15:48:57] local.INFO: Packet analysis {"connection_id":125671,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f413c"} 
[2026-07-08 15:48:57] local.INFO: Extracted packet for processing {"connection_id":125671,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f413c"} 
[2026-07-08 15:48:57] local.INFO: GPS Element Parsed {"raw_longitude":755720576,"raw_latitude":117754992,"longitude_deg":75.5720576,"latitude_deg":11.7754992,"altitude":24,"angle":341,"satellites":35,"speed":22,"hex_longitude":"2d0b6180","hex_latitude":"0704cc70","is_valid_coordinates":true} 
[2026-07-08 15:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577506048001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23603783049150464,"note":"Value kept but may cause issues"} 
[2026-07-08 15:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":820358849768347648,"note":"Value kept but may cause issues"} 
[2026-07-08 15:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783505884000,"timestamp_ms":1783505884000,"timestamp_seconds":1783505884,"priority":1,"record_length":96,"hex_timestamp":"0000019f413c1360"} 
[2026-07-08 15:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:48:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-08 15:48:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:48:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":125671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":125671,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":125671,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577506048001,"66":14548,"96":206,"94":10240,"24":22,"16":23603783049150464,"45":820358849768347648},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-08 15:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577506048001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:48:57] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-08 15:48:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 15:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23603783049150464,"km_value":23603783049150.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":820358849768347648,"description":"Unknown IO ID 45"} 
[2026-07-08 15:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577506048001,"power":14548,"unknown_96":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":820358849768347648}} 
[2026-07-08 15:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":125671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452146,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:48:58] local.INFO: GPS data processed {"connection_id":125671,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:48:58] local.INFO: Acknowledgment sent {"connection_id":125671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:48:58] local.INFO: Packet analysis {"connection_id":125671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f413c"} 
[2026-07-08 15:48:58] local.INFO: Extracted packet for processing {"connection_id":125671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f413c"} 
[2026-07-08 15:48:58] local.INFO: GPS Element Parsed {"raw_longitude":755720448,"raw_latitude":117756344,"longitude_deg":75.5720448,"latitude_deg":11.7756344,"altitude":24,"angle":353,"satellites":35,"speed":27,"hex_longitude":"2d0b6100","hex_latitude":"0704d1b8","is_valid_coordinates":true} 
[2026-07-08 15:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577506304001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23603847473659904,"note":"Value kept but may cause issues"} 
[2026-07-08 15:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":820077374791774208,"note":"Value kept but may cause issues"} 
[2026-07-08 15:48:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783505886000,"timestamp_ms":1783505886000,"timestamp_seconds":1783505886,"priority":1,"record_length":96,"hex_timestamp":"0000019f413c1b30"} 
[2026-07-08 15:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:48: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-07-08 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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-08 15:48:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:48:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":125671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":125671,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":125671,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:48:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577506304001,"66":14396,"96":206,"94":10240,"24":27,"16":23603847473659904,"45":820077374791774208},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-08 15:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577506304001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:48:58] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-08 15:48:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 15:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23603847473659904,"km_value":23603847473659.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":820077374791774208,"description":"Unknown IO ID 45"} 
[2026-07-08 15:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577506304001,"power":14396,"unknown_96":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":820077374791774208}} 
[2026-07-08 15:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":125671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452147,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:48:58] local.INFO: GPS data processed {"connection_id":125671,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:48:58] local.INFO: Acknowledgment sent {"connection_id":125671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:49:00] local.INFO: TCP Data received {"connection_id":125671,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f413c6950012d0b5d800704ee60001a016423..."} 
[2026-07-08 15:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f413c6950012d0b5d800704ee60001a016423..."} 
[2026-07-08 15:49:00] local.INFO: Processing buffer {"connection_id":125671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f413c6950012d0b5d800704ee60001a016423..."} 
[2026-07-08 15:49:00] local.INFO: Packet analysis {"connection_id":125671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f413c"} 
[2026-07-08 15:49:00] local.INFO: Extracted packet for processing {"connection_id":125671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f413c"} 
[2026-07-08 15:49:00] local.INFO: GPS Element Parsed {"raw_longitude":755719552,"raw_latitude":117763680,"longitude_deg":75.5719552,"latitude_deg":11.776368,"altitude":26,"angle":356,"satellites":35,"speed":0,"hex_longitude":"2d0b5d80","hex_latitude":"0704ee60","is_valid_coordinates":true} 
[2026-07-08 15:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577506816001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23604212545880064,"note":"Value kept but may cause issues"} 
[2026-07-08 15:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":819936637303764992,"note":"Value kept but may cause issues"} 
[2026-07-08 15:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783505906000,"timestamp_ms":1783505906000,"timestamp_seconds":1783505906,"priority":1,"record_length":96,"hex_timestamp":"0000019f413c6950"} 
[2026-07-08 15:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:49: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-07-08 15:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-08 15:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125671,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125671,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577506816001,"66":14396,"96":206,"94":10240,"24":0,"16":23604212545880064,"45":819936637303764992},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-08 15:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577506816001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:49:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-08 15:49:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 15:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23604212545880064,"km_value":23604212545880.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":819936637303764992,"description":"Unknown IO ID 45"} 
[2026-07-08 15:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577506816001,"power":14396,"unknown_96":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":819936637303764992}} 
[2026-07-08 15:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":125671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452148,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:49:00] local.INFO: GPS data processed {"connection_id":125671,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:49:00] local.INFO: Acknowledgment sent {"connection_id":125671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:49:01] local.INFO: TCP Data received {"connection_id":127665,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:49:01] local.INFO: Processing buffer {"connection_id":127665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:49:01] local.INFO: IMEI packet received {"connection_id":127665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":127665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:49:06] local.INFO: TCP Data received {"connection_id":127665,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:49:06] local.INFO: Processing buffer {"connection_id":127665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:49:06] local.INFO: IMEI packet received {"connection_id":127665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":127665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:49:06] local.INFO: TCP Data received {"connection_id":127665,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f413bd4e0012d9aa38005781260000700f829..."} 
[2026-07-08 15:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f413bd4e0012d9aa38005781260000700f829..."} 
[2026-07-08 15:49:06] local.INFO: Processing buffer {"connection_id":127665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f413bd4e0012d9aa38005781260000700f829..."} 
[2026-07-08 15:49:06] local.INFO: Packet analysis {"connection_id":127665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f413b"} 
[2026-07-08 15:49:06] local.INFO: Extracted packet for processing {"connection_id":127665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f413b"} 
[2026-07-08 15:49:06] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577425152001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:49:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783505868000,"timestamp_ms":1783505868000,"timestamp_seconds":1783505868,"priority":1,"record_length":96,"hex_timestamp":"0000019f413bd4e0"} 
[2026-07-08 15:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-08 15:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577425152001,"66":25756,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577425152001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:49:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:49:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577425152001,"power":25756,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":127665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:49:06] local.INFO: GPS data processed {"connection_id":127665,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:49:06] local.INFO: Acknowledgment sent {"connection_id":127665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:49:37] local.INFO: TCP Data received {"connection_id":127665,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f413bd4e0012d9aa38005781260000700f829..."} 
[2026-07-08 15:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f413bd4e0012d9aa38005781260000700f829..."} 
[2026-07-08 15:49:37] local.INFO: Processing buffer {"connection_id":127665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f413bd4e0012d9aa38005781260000700f829..."} 
[2026-07-08 15:49:37] local.INFO: Packet analysis {"connection_id":127665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f413b"} 
[2026-07-08 15:49:37] local.INFO: Extracted packet for processing {"connection_id":127665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f413b"} 
[2026-07-08 15:49:37] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577425152001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:49:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783505868000,"timestamp_ms":1783505868000,"timestamp_seconds":1783505868,"priority":1,"record_length":96,"hex_timestamp":"0000019f413bd4e0"} 
[2026-07-08 15:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-08 15:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577425152001,"66":25756,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577425152001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:49:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:49:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577425152001,"power":25756,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":127665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:49:37] local.INFO: GPS data processed {"connection_id":127665,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:49:37] local.INFO: Acknowledgment sent {"connection_id":127665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:49:54] local.INFO: TCP Data received {"connection_id":126431,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126431,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:49:54] local.INFO: Processing buffer {"connection_id":126431,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:49:54] local.INFO: IMEI packet received {"connection_id":126431,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":126431,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:49:56] local.INFO: TCP Data received {"connection_id":125563,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:49:56] local.INFO: Processing buffer {"connection_id":125563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:49:56] local.INFO: IMEI packet received {"connection_id":125563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":125563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:49:59] local.INFO: TCP Data received {"connection_id":126431,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126431,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:49:59] local.INFO: Processing buffer {"connection_id":126431,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:49:59] local.INFO: IMEI packet received {"connection_id":126431,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":126431,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:50:00] local.INFO: TCP Data received {"connection_id":126431,"ip":"42.106.6.31","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-08 15:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126431,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-08 15:50:00] local.INFO: Processing buffer {"connection_id":126431,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-08 15:50:00] local.INFO: IMEI packet received {"connection_id":126431,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":126431,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:50:01] local.INFO: TCP Data received {"connection_id":125563,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:50:01] local.INFO: Processing buffer {"connection_id":125563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:50:01] local.INFO: IMEI packet received {"connection_id":125563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":125563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:50:01] local.INFO: TCP Data received {"connection_id":125563,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f413bd4e0012d9aa38005781260000700f829..."} 
[2026-07-08 15:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f413bd4e0012d9aa38005781260000700f829..."} 
[2026-07-08 15:50:01] local.INFO: Processing buffer {"connection_id":125563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f413bd4e0012d9aa38005781260000700f829..."} 
[2026-07-08 15:50:01] local.INFO: Packet analysis {"connection_id":125563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f413b"} 
[2026-07-08 15:50:01] local.INFO: Extracted packet for processing {"connection_id":125563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f413b"} 
[2026-07-08 15:50:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 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-07-08 15:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577425152001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:50:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783505868000,"timestamp_ms":1783505868000,"timestamp_seconds":1783505868,"priority":1,"record_length":96,"hex_timestamp":"0000019f413bd4e0"} 
[2026-07-08 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-07-08 15:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-08 15:50:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 15:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577425152001,"66":25756,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577425152001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:50:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:50:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577425152001,"power":25756,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":125563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:50:01] local.INFO: GPS data processed {"connection_id":125563,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:50:01] local.INFO: Acknowledgment sent {"connection_id":125563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:50:02] local.INFO: TCP Data received {"connection_id":126431,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f413d4410012d0b2b40070503a0001c000623..."} 
[2026-07-08 15:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f413d4410012d0b2b40070503a0001c000623..."} 
[2026-07-08 15:50:02] local.INFO: Processing buffer {"connection_id":126431,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a0000019f41..."} 
[2026-07-08 15:50:02] local.INFO: IMEI packet received {"connection_id":126431,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":126431,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:50:03] local.INFO: TCP Data received {"connection_id":126431,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f413d5b80012d0b2d8007050ea8001d001323..."} 
[2026-07-08 15:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f413d5b80012d0b2d8007050ea8001d001323..."} 
[2026-07-08 15:50:03] local.INFO: Processing buffer {"connection_id":126431,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f413d4410012d0b2b40070503a0001c000623..."} 
[2026-07-08 15:50:03] local.INFO: Packet analysis {"connection_id":126431,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f413d"} 
[2026-07-08 15:50:03] local.INFO: Extracted packet for processing {"connection_id":126431,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f413d"} 
[2026-07-08 15:50:03] local.INFO: GPS Element Parsed {"raw_longitude":755706688,"raw_latitude":117769120,"longitude_deg":75.5706688,"latitude_deg":11.776912,"altitude":28,"angle":6,"satellites":35,"speed":15,"hex_longitude":"2d0b2b40","hex_latitude":"070503a0","is_valid_coordinates":true} 
[2026-07-08 15:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577525504001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23604977050058752,"note":"Value kept but may cause issues"} 
[2026-07-08 15:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804948094796933120,"note":"Value kept but may cause issues"} 
[2026-07-08 15:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783505962000,"timestamp_ms":1783505962000,"timestamp_seconds":1783505962,"priority":1,"record_length":96,"hex_timestamp":"0000019f413d4410"} 
[2026-07-08 15:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-08 15:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126431,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126431,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577525504001,"66":14537,"96":206,"94":10240,"24":15,"16":23604977050058752,"45":804948094796933120},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-08 15:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577525504001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:50:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-08 15:50:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 15:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23604977050058752,"km_value":23604977050058.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":804948094796933120,"description":"Unknown IO ID 45"} 
[2026-07-08 15:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577525504001,"power":14537,"unknown_96":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":804948094796933120}} 
[2026-07-08 15:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":126431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452152,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:50:03] local.INFO: GPS data processed {"connection_id":126431,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:50:03] local.INFO: Acknowledgment sent {"connection_id":126431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:50:03] local.INFO: Packet analysis {"connection_id":126431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f413d"} 
[2026-07-08 15:50:03] local.INFO: Extracted packet for processing {"connection_id":126431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f413d"} 
[2026-07-08 15:50:03] local.INFO: GPS Element Parsed {"raw_longitude":755707264,"raw_latitude":117771944,"longitude_deg":75.5707264,"latitude_deg":11.7771944,"altitude":29,"angle":19,"satellites":35,"speed":22,"hex_longitude":"2d0b2d80","hex_latitude":"07050ea8","is_valid_coordinates":true} 
[2026-07-08 15:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577526272001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23605118783979520,"note":"Value kept but may cause issues"} 
[2026-07-08 15:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804807357308837888,"note":"Value kept but may cause issues"} 
[2026-07-08 15:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783505968000,"timestamp_ms":1783505968000,"timestamp_seconds":1783505968,"priority":1,"record_length":96,"hex_timestamp":"0000019f413d5b80"} 
[2026-07-08 15:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-08 15:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126431,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126431,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577526272001,"66":14450,"96":206,"94":10240,"24":22,"16":23605118783979520,"45":804807357308837888},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-08 15:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577526272001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:50:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-08 15:50:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 15:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23605118783979520,"km_value":23605118783979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":804807357308837888,"description":"Unknown IO ID 45"} 
[2026-07-08 15:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577526272001,"power":14450,"unknown_96":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":804807357308837888}} 
[2026-07-08 15:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":126431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452153,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:50:03] local.INFO: GPS data processed {"connection_id":126431,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:50:03] local.INFO: Acknowledgment sent {"connection_id":126431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:50:03] local.INFO: TCP Data received {"connection_id":126431,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f413d6350012d0b2f80070512d0001d002223..."} 
[2026-07-08 15:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f413d6350012d0b2f80070512d0001d002223..."} 
[2026-07-08 15:50:03] local.INFO: Processing buffer {"connection_id":126431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f413d6350012d0b2f80070512d0001d002223..."} 
[2026-07-08 15:50:03] local.INFO: Packet analysis {"connection_id":126431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f413d"} 
[2026-07-08 15:50:03] local.INFO: Extracted packet for processing {"connection_id":126431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f413d"} 
[2026-07-08 15:50:03] local.INFO: GPS Element Parsed {"raw_longitude":755707776,"raw_latitude":117773008,"longitude_deg":75.5707776,"latitude_deg":11.7773008,"altitude":29,"angle":34,"satellites":35,"speed":23,"hex_longitude":"2d0b2f80","hex_latitude":"070512d0","is_valid_coordinates":true} 
[2026-07-08 15:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577527808001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23605174618554368,"note":"Value kept but may cause issues"} 
[2026-07-08 15:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":805440676007159808,"note":"Value kept but may cause issues"} 
[2026-07-08 15:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783505970000,"timestamp_ms":1783505970000,"timestamp_seconds":1783505970,"priority":1,"record_length":96,"hex_timestamp":"0000019f413d6350"} 
[2026-07-08 15:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-08 15:50: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-07-08 15:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126431,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126431,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577527808001,"66":14548,"96":206,"94":10240,"24":23,"16":23605174618554368,"45":805440676007159808},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-08 15:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577527808001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:50:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-08 15:50:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 15:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23605174618554368,"km_value":23605174618554.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":805440676007159808,"description":"Unknown IO ID 45"} 
[2026-07-08 15:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577527808001,"power":14548,"unknown_96":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":805440676007159808}} 
[2026-07-08 15:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":126431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452154,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:50:03] local.INFO: GPS data processed {"connection_id":126431,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:50:03] local.INFO: Acknowledgment sent {"connection_id":126431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:50:33] local.INFO: TCP Data received {"connection_id":125563,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f413bd4e0012d9aa38005781260000700f829..."} 
[2026-07-08 15:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f413bd4e0012d9aa38005781260000700f829..."} 
[2026-07-08 15:50:33] local.INFO: Processing buffer {"connection_id":125563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f413bd4e0012d9aa38005781260000700f829..."} 
[2026-07-08 15:50:33] local.INFO: Packet analysis {"connection_id":125563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f413b"} 
[2026-07-08 15:50:33] local.INFO: Extracted packet for processing {"connection_id":125563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f413b"} 
[2026-07-08 15:50:33] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577425152001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:50:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783505868000,"timestamp_ms":1783505868000,"timestamp_seconds":1783505868,"priority":1,"record_length":96,"hex_timestamp":"0000019f413bd4e0"} 
[2026-07-08 15:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-08 15:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577425152001,"66":25756,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577425152001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:50:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:50:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577425152001,"power":25756,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":125563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:50:33] local.INFO: GPS data processed {"connection_id":125563,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:50:33] local.INFO: Acknowledgment sent {"connection_id":125563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:50:48] local.INFO: TCP Data received {"connection_id":125672,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125672,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:50:48] local.INFO: Processing buffer {"connection_id":125672,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:50:48] local.INFO: IMEI packet received {"connection_id":125672,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":125672,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:50:49] local.INFO: TCP Data received {"connection_id":125672,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125672,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:50:49] local.INFO: Processing buffer {"connection_id":125672,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:50:49] local.INFO: IMEI packet received {"connection_id":125672,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":125672,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:50:51] local.INFO: TCP Data received {"connection_id":125673,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:50:51] local.INFO: Processing buffer {"connection_id":125673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:50:51] local.INFO: IMEI packet received {"connection_id":125673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 15:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":125673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:50:52] local.INFO: TCP Data received {"connection_id":125673,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:50:52] local.INFO: Processing buffer {"connection_id":125673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:50:52] local.INFO: IMEI packet received {"connection_id":125673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 15:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":125673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:50:55] local.INFO: TCP Data received {"connection_id":125672,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125672,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:50:55] local.INFO: Processing buffer {"connection_id":125672,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:50:55] local.INFO: IMEI packet received {"connection_id":125672,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":125672,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:50:55] local.INFO: TCP Data received {"connection_id":125565,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:50:55] local.INFO: Processing buffer {"connection_id":125565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:50:55] local.INFO: IMEI packet received {"connection_id":125565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":125565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:50:55] local.INFO: TCP Data received {"connection_id":125672,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f413e3a28012d0b274007057db80020016521..."} 
[2026-07-08 15:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f413e3a28012d0b274007057db80020016521..."} 
[2026-07-08 15:50:55] local.INFO: Processing buffer {"connection_id":125672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f413e3a28012d0b274007057db80020016521..."} 
[2026-07-08 15:50:55] local.INFO: Packet analysis {"connection_id":125672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f413e"} 
[2026-07-08 15:50:55] local.INFO: Extracted packet for processing {"connection_id":125672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f413e"} 
[2026-07-08 15:50:55] local.INFO: GPS Element Parsed {"raw_longitude":755705664,"raw_latitude":117800376,"longitude_deg":75.5705664,"latitude_deg":11.7800376,"altitude":32,"angle":357,"satellites":33,"speed":23,"hex_longitude":"2d0b2740","hex_latitude":"07057db8","is_valid_coordinates":true} 
[2026-07-08 15:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577540096001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23606793821224960,"note":"Value kept but may cause issues"} 
[2026-07-08 15:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803188876199043072,"note":"Value kept but may cause issues"} 
[2026-07-08 15:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783506025000,"timestamp_ms":1783506025000,"timestamp_seconds":1783506025,"priority":1,"record_length":96,"hex_timestamp":"0000019f413e3a28"} 
[2026-07-08 15:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-08 15:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":125672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":125672,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":125672,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577540096001,"66":14580,"165":206,"94":10240,"24":23,"16":23606793821224960,"45":803188876199043072},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-08 15:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577540096001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:50:55] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-08 15:50:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 15:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23606793821224960,"km_value":23606793821224.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":803188876199043072,"description":"Unknown IO ID 45"} 
[2026-07-08 15:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577540096001,"power":14580,"unknown_165":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":803188876199043072}} 
[2026-07-08 15:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":125672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452156,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:50:55] local.INFO: GPS data processed {"connection_id":125672,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:50:55] local.INFO: Acknowledgment sent {"connection_id":125672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:50:56] local.INFO: TCP Data received {"connection_id":125673,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:50:56] local.INFO: Processing buffer {"connection_id":125673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:50:56] local.INFO: IMEI packet received {"connection_id":125673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 15:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":125673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:50:57] local.INFO: TCP Data received {"connection_id":125673,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-08 15:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125673,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-08 15:50:57] local.INFO: Processing buffer {"connection_id":125673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-08 15:50:57] local.INFO: Packet analysis {"connection_id":125673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-08 15:50:57] local.INFO: Extracted packet for processing {"connection_id":125673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-08 15:50: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-07-08 15:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103714840199036928,"note":"Value kept but may cause issues"} 
[2026-07-08 15:50:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,157,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:50:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 15:50:57] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-08 15:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":125673,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":125673,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-08 15:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":125673,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-08 15:50:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-08 15:50:57] local.WARNING: DEBUG: No valid data to process  
[2026-07-08 15:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":125673,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-08 15:50:57] local.ERROR: GPS data processing failed {"connection_id":125673,"error":"No valid data to process"} 
[2026-07-08 15:50:57] local.INFO: Acknowledgment sent {"connection_id":125673,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-08 15:51:01] local.INFO: TCP Data received {"connection_id":125565,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:51:01] local.INFO: Processing buffer {"connection_id":125565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:51:01] local.INFO: IMEI packet received {"connection_id":125565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":125565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:51:01] local.INFO: TCP Data received {"connection_id":125565,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f413bd4e0012d9aa38005781260000700f829..."} 
[2026-07-08 15:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f413bd4e0012d9aa38005781260000700f829..."} 
[2026-07-08 15:51:01] local.INFO: Processing buffer {"connection_id":125565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f413bd4e0012d9aa38005781260000700f829..."} 
[2026-07-08 15:51:01] local.INFO: Packet analysis {"connection_id":125565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f413b"} 
[2026-07-08 15:51:01] local.INFO: Extracted packet for processing {"connection_id":125565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f413b"} 
[2026-07-08 15:51:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 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-07-08 15:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577425152001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:51:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783505868000,"timestamp_ms":1783505868000,"timestamp_seconds":1783505868,"priority":1,"record_length":96,"hex_timestamp":"0000019f413bd4e0"} 
[2026-07-08 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-07-08 15:51:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-08 15:51:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 15:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577425152001,"66":25756,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577425152001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:51:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:51:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577425152001,"power":25756,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":125565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:51:01] local.INFO: GPS data processed {"connection_id":125565,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:51:01] local.INFO: Acknowledgment sent {"connection_id":125565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:51:27] local.INFO: TCP Data received {"connection_id":125672,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f413e41f8012d0b268007058198001f015a21..."} 
[2026-07-08 15:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f413e41f8012d0b268007058198001f015a21..."} 
[2026-07-08 15:51:27] local.INFO: Processing buffer {"connection_id":125672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f413e41f8012d0b268007058198001f015a21..."} 
[2026-07-08 15:51:27] local.INFO: Packet analysis {"connection_id":125672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f413e"} 
[2026-07-08 15:51:27] local.INFO: Extracted packet for processing {"connection_id":125672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f413e"} 
[2026-07-08 15:51:27] local.INFO: GPS Element Parsed {"raw_longitude":755705472,"raw_latitude":117801368,"longitude_deg":75.5705472,"latitude_deg":11.7801368,"altitude":31,"angle":346,"satellites":33,"speed":16,"hex_longitude":"2d0b2680","hex_latitude":"07058198","is_valid_coordinates":true} 
[2026-07-08 15:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577542400001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23606845360832512,"note":"Value kept but may cause issues"} 
[2026-07-08 15:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803681457409996800,"note":"Value kept but may cause issues"} 
[2026-07-08 15:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783506027000,"timestamp_ms":1783506027000,"timestamp_seconds":1783506027,"priority":1,"record_length":96,"hex_timestamp":"0000019f413e41f8"} 
[2026-07-08 15:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:51: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-07-08 15:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-07-08 15:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":125672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":125672,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":125672,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577542400001,"66":14580,"165":206,"94":10240,"24":16,"16":23606845360832512,"45":803681457409996800},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-08 15:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577542400001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:51:27] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-08 15:51:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 15:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23606845360832512,"km_value":23606845360832.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":803681457409996800,"description":"Unknown IO ID 45"} 
[2026-07-08 15:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577542400001,"power":14580,"unknown_165":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":803681457409996800}} 
[2026-07-08 15:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":125672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452158,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:51:27] local.INFO: GPS data processed {"connection_id":125672,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:51:27] local.INFO: Acknowledgment sent {"connection_id":125672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:51:28] local.INFO: TCP Data received {"connection_id":125673,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-08 15:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125673,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-08 15:51:28] local.INFO: Processing buffer {"connection_id":125673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-08 15:51:28] local.INFO: Packet analysis {"connection_id":125673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-08 15:51:28] local.INFO: Extracted packet for processing {"connection_id":125673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-08 15:51:28] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-08 15:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103714840199036928,"note":"Value kept but may cause issues"} 
[2026-07-08 15:51:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,157,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:51:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 15:51:28] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-08 15:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":125673,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":125673,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-08 15:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":125673,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-08 15:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-08 15:51:28] local.WARNING: DEBUG: No valid data to process  
[2026-07-08 15:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":125673,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-08 15:51:28] local.ERROR: GPS data processing failed {"connection_id":125673,"error":"No valid data to process"} 
[2026-07-08 15:51:28] local.INFO: Acknowledgment sent {"connection_id":125673,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-08 15:51:32] local.INFO: TCP Data received {"connection_id":125565,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f413bd4e0012d9aa38005781260000700f829..."} 
[2026-07-08 15:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f413bd4e0012d9aa38005781260000700f829..."} 
[2026-07-08 15:51:32] local.INFO: Processing buffer {"connection_id":125565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f413bd4e0012d9aa38005781260000700f829..."} 
[2026-07-08 15:51:32] local.INFO: Packet analysis {"connection_id":125565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f413b"} 
[2026-07-08 15:51:32] local.INFO: Extracted packet for processing {"connection_id":125565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f413b"} 
[2026-07-08 15:51:32] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577425152001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:51:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783505868000,"timestamp_ms":1783505868000,"timestamp_seconds":1783505868,"priority":1,"record_length":96,"hex_timestamp":"0000019f413bd4e0"} 
[2026-07-08 15:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-08 15:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:51:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577425152001,"66":25756,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577425152001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:51:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:51:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577425152001,"power":25756,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":125565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:51:32] local.INFO: GPS data processed {"connection_id":125565,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:51:32] local.INFO: Acknowledgment sent {"connection_id":125565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:51:45] local.INFO: TCP Data received {"connection_id":125674,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125674,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:51:45] local.INFO: Processing buffer {"connection_id":125674,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:51:45] local.INFO: IMEI packet received {"connection_id":125674,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":125674,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:51:53] local.INFO: TCP Data received {"connection_id":125674,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125674,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:51:53] local.INFO: Processing buffer {"connection_id":125674,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:51:53] local.INFO: IMEI packet received {"connection_id":125674,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":125674,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:51:53] local.INFO: TCP Data received {"connection_id":125674,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f413f2870012d0ae84007059370002a011421..."} 
[2026-07-08 15:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f413f2870012d0ae84007059370002a011421..."} 
[2026-07-08 15:51:53] local.INFO: Processing buffer {"connection_id":125674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f413f2870012d0ae84007059370002a011421..."} 
[2026-07-08 15:51:53] local.INFO: Packet analysis {"connection_id":125674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f413f"} 
[2026-07-08 15:51:53] local.INFO: Extracted packet for processing {"connection_id":125674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f413f"} 
[2026-07-08 15:51:53] local.INFO: GPS Element Parsed {"raw_longitude":755689536,"raw_latitude":117805936,"longitude_deg":75.5689536,"latitude_deg":11.7805936,"altitude":42,"angle":276,"satellites":33,"speed":13,"hex_longitude":"2d0ae840","hex_latitude":"07059370","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577557760001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23607893332852736,"note":"Value kept but may cause issues"} 
[2026-07-08 15:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":786300377599537152,"note":"Value kept but may cause issues"} 
[2026-07-08 15:51:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783506086000,"timestamp_ms":1783506086000,"timestamp_seconds":1783506086,"priority":1,"record_length":96,"hex_timestamp":"0000019f413f2870"} 
[2026-07-08 15:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 15:51:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125674,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125674,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:51:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577557760001,"66":14515,"165":206,"94":10240,"24":13,"16":23607893332852736,"45":786300377599537152},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-08 15:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577557760001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:51:53] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-08 15:51:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 15:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23607893332852736,"km_value":23607893332852.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":786300377599537152,"description":"Unknown IO ID 45"} 
[2026-07-08 15:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577557760001,"power":14515,"unknown_165":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":786300377599537152}} 
[2026-07-08 15:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":125674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452160,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:51:53] local.INFO: GPS data processed {"connection_id":125674,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:51:53] local.INFO: Acknowledgment sent {"connection_id":125674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:51:55] local.INFO: TCP Data received {"connection_id":125566,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:51:55] local.INFO: Processing buffer {"connection_id":125566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:51:55] local.INFO: IMEI packet received {"connection_id":125566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":125566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:51:59] local.INFO: TCP Data received {"connection_id":125673,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f413f3fe00100000000000000000000000000..."} 
[2026-07-08 15:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f413f3fe00100000000000000000000000000..."} 
[2026-07-08 15:51:59] local.INFO: Processing buffer {"connection_id":125673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f413f3fe00100000000000000000000000000..."} 
[2026-07-08 15:51:59] local.INFO: Packet analysis {"connection_id":125673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f413f"} 
[2026-07-08 15:51:59] local.INFO: Extracted packet for processing {"connection_id":125673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f413f"} 
[2026-07-08 15:51: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-07-08 15:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103714840199036928,"note":"Value kept but may cause issues"} 
[2026-07-08 15:51:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,157,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783506092000,"timestamp_ms":1783506092000,"timestamp_seconds":1783506092,"priority":1,"record_length":96,"hex_timestamp":"0000019f413f3fe0"} 
[2026-07-08 15:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-08 15:51: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-07-08 15:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":125673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":125673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":125673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 15:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 15:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":125673,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-08 15:51:59] local.INFO: GPS data processed {"connection_id":125673,"processed":0,"errors":0,"total":1} 
[2026-07-08 15:51:59] local.INFO: Acknowledgment sent {"connection_id":125673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:52:01] local.INFO: TCP Data received {"connection_id":125566,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:52:01] local.INFO: Processing buffer {"connection_id":125566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:52:01] local.INFO: IMEI packet received {"connection_id":125566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":125566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:52:01] local.INFO: TCP Data received {"connection_id":125566,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f413bd4e0012d9aa38005781260000700f829..."} 
[2026-07-08 15:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f413bd4e0012d9aa38005781260000700f829..."} 
[2026-07-08 15:52:01] local.INFO: Processing buffer {"connection_id":125566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f413bd4e0012d9aa38005781260000700f829..."} 
[2026-07-08 15:52:01] local.INFO: Packet analysis {"connection_id":125566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f413b"} 
[2026-07-08 15:52:01] local.INFO: Extracted packet for processing {"connection_id":125566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f413b"} 
[2026-07-08 15:52:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577425152001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:52:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783505868000,"timestamp_ms":1783505868000,"timestamp_seconds":1783505868,"priority":1,"record_length":96,"hex_timestamp":"0000019f413bd4e0"} 
[2026-07-08 15:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:52:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-08 15:52:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:52:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:52:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577425152001,"66":25756,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577425152001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:52:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:52:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577425152001,"power":25756,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":125566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:52:01] local.INFO: GPS data processed {"connection_id":125566,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:52:01] local.INFO: Acknowledgment sent {"connection_id":125566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:52:30] local.INFO: TCP Data received {"connection_id":125673,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f413f91e80100000000000000000000000000..."} 
[2026-07-08 15:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f413f91e80100000000000000000000000000..."} 
[2026-07-08 15:52:30] local.INFO: Processing buffer {"connection_id":125673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f413f91e80100000000000000000000000000..."} 
[2026-07-08 15:52:30] local.INFO: Packet analysis {"connection_id":125673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f413f"} 
[2026-07-08 15:52:30] local.INFO: Extracted packet for processing {"connection_id":125673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f413f"} 
[2026-07-08 15:52:30] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-08 15:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103714840199036928,"note":"Value kept but may cause issues"} 
[2026-07-08 15:52:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,157,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783506113000,"timestamp_ms":1783506113000,"timestamp_seconds":1783506113,"priority":1,"record_length":96,"hex_timestamp":"0000019f413f91e8"} 
[2026-07-08 15:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-08 15:52: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-07-08 15:52:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":125673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":125673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":125673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:52:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 15:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 15:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":125673,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-08 15:52:30] local.INFO: GPS data processed {"connection_id":125673,"processed":0,"errors":0,"total":1} 
[2026-07-08 15:52:30] local.INFO: Acknowledgment sent {"connection_id":125673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:52:31] local.INFO: TCP Data received {"connection_id":125674,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f413f2c58012d0ae6c007059390002a01271f..."} 
[2026-07-08 15:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f413f2c58012d0ae6c007059390002a01271f..."} 
[2026-07-08 15:52:31] local.INFO: Processing buffer {"connection_id":125674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f413f2c58012d0ae6c007059390002a01271f..."} 
[2026-07-08 15:52:31] local.INFO: Packet analysis {"connection_id":125674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f413f"} 
[2026-07-08 15:52:31] local.INFO: Extracted packet for processing {"connection_id":125674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f413f"} 
[2026-07-08 15:52:31] local.INFO: GPS Element Parsed {"raw_longitude":755689152,"raw_latitude":117805968,"longitude_deg":75.5689152,"latitude_deg":11.7805968,"altitude":42,"angle":295,"satellites":31,"speed":13,"hex_longitude":"2d0ae6c0","hex_latitude":"07059390","is_valid_coordinates":true} 
[2026-07-08 15:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577558016001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23607910512721920,"note":"Value kept but may cause issues"} 
[2026-07-08 15:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":785948533878648832,"note":"Value kept but may cause issues"} 
[2026-07-08 15:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783506087000,"timestamp_ms":1783506087000,"timestamp_seconds":1783506087,"priority":1,"record_length":96,"hex_timestamp":"0000019f413f2c58"} 
[2026-07-08 15:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:52: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-07-08 15: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 15:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":125674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":125674,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":125674,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577558016001,"66":14450,"165":206,"94":10240,"24":13,"16":23607910512721920,"45":785948533878648832},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-08 15:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577558016001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:52:31] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-08 15:52:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 15:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23607910512721920,"km_value":23607910512721.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":785948533878648832,"description":"Unknown IO ID 45"} 
[2026-07-08 15:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577558016001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":785948533878648832}} 
[2026-07-08 15:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":125674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452162,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:52:31] local.INFO: GPS data processed {"connection_id":125674,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:52:31] local.INFO: Acknowledgment sent {"connection_id":125674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:52:33] local.INFO: TCP Data received {"connection_id":125566,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f413bd4e0012d9aa38005781260000700f829..."} 
[2026-07-08 15:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f413bd4e0012d9aa38005781260000700f829..."} 
[2026-07-08 15:52:33] local.INFO: Processing buffer {"connection_id":125566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f413bd4e0012d9aa38005781260000700f829..."} 
[2026-07-08 15:52:33] local.INFO: Packet analysis {"connection_id":125566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f413b"} 
[2026-07-08 15:52:33] local.INFO: Extracted packet for processing {"connection_id":125566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f413b"} 
[2026-07-08 15:52:33] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577425152001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:52:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783505868000,"timestamp_ms":1783505868000,"timestamp_seconds":1783505868,"priority":1,"record_length":96,"hex_timestamp":"0000019f413bd4e0"} 
[2026-07-08 15:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-08 15:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:52:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577425152001,"66":25756,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577425152001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:52:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:52:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577425152001,"power":25756,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":125566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:52:33] local.INFO: GPS data processed {"connection_id":125566,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:52:33] local.INFO: Acknowledgment sent {"connection_id":125566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:52:43] local.INFO: TCP Data received {"connection_id":126435,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126435,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:52:43] local.INFO: Processing buffer {"connection_id":126435,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:52:43] local.INFO: IMEI packet received {"connection_id":126435,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":126435,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:52:44] local.INFO: TCP Data received {"connection_id":126435,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126435,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:52:44] local.INFO: Processing buffer {"connection_id":126435,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:52:44] local.INFO: IMEI packet received {"connection_id":126435,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":126435,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:52:49] local.INFO: TCP Data received {"connection_id":126435,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126435,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:52:49] local.INFO: Processing buffer {"connection_id":126435,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:52:49] local.INFO: IMEI packet received {"connection_id":126435,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":126435,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:52:50] local.INFO: TCP Data received {"connection_id":126435,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f413f3810012d0ae380070594c0002a010f21..."} 
[2026-07-08 15:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f413f3810012d0ae380070594c0002a010f21..."} 
[2026-07-08 15:52:50] local.INFO: Processing buffer {"connection_id":126435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f413f3810012d0ae380070594c0002a010f21..."} 
[2026-07-08 15:52:50] local.INFO: Packet analysis {"connection_id":126435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f413f"} 
[2026-07-08 15:52:50] local.INFO: Extracted packet for processing {"connection_id":126435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f413f"} 
[2026-07-08 15:52:50] local.INFO: GPS Element Parsed {"raw_longitude":755688320,"raw_latitude":117806272,"longitude_deg":75.568832,"latitude_deg":11.7806272,"altitude":42,"angle":271,"satellites":33,"speed":8,"hex_longitude":"2d0ae380","hex_latitude":"070594c0","is_valid_coordinates":true} 
[2026-07-08 15:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577558272001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23607953462394880,"note":"Value kept but may cause issues"} 
[2026-07-08 15:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":785526321413591040,"note":"Value kept but may cause issues"} 
[2026-07-08 15:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783506090000,"timestamp_ms":1783506090000,"timestamp_seconds":1783506090,"priority":1,"record_length":96,"hex_timestamp":"0000019f413f3810"} 
[2026-07-08 15:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:52: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-07-08 15:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-08 15:52:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:52:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":126435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":126435,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":126435,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577558272001,"66":14428,"165":206,"94":10240,"24":8,"16":23607953462394880,"45":785526321413591040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-08 15:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577558272001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:52:50] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-08 15:52:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 15:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23607953462394880,"km_value":23607953462394.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":785526321413591040,"description":"Unknown IO ID 45"} 
[2026-07-08 15:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577558272001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":785526321413591040}} 
[2026-07-08 15:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":126435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452164,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:52:51] local.INFO: GPS data processed {"connection_id":126435,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:52:51] local.INFO: Acknowledgment sent {"connection_id":126435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:52:55] local.INFO: TCP Data received {"connection_id":126436,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:52:55] local.INFO: Processing buffer {"connection_id":126436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:52:55] local.INFO: IMEI packet received {"connection_id":126436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":126436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:53:01] local.INFO: TCP Data received {"connection_id":126436,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:53:01] local.INFO: Processing buffer {"connection_id":126436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:53:01] local.INFO: IMEI packet received {"connection_id":126436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":126436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:53:01] local.INFO: TCP Data received {"connection_id":126436,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f413bd4e0012d9aa38005781260000700f829..."} 
[2026-07-08 15:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f413bd4e0012d9aa38005781260000700f829..."} 
[2026-07-08 15:53:01] local.INFO: Processing buffer {"connection_id":126436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f413bd4e0012d9aa38005781260000700f829..."} 
[2026-07-08 15:53:01] local.INFO: Packet analysis {"connection_id":126436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f413b"} 
[2026-07-08 15:53:01] local.INFO: Extracted packet for processing {"connection_id":126436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f413b"} 
[2026-07-08 15:53:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 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-07-08 15:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577425152001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:53:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783505868000,"timestamp_ms":1783505868000,"timestamp_seconds":1783505868,"priority":1,"record_length":96,"hex_timestamp":"0000019f413bd4e0"} 
[2026-07-08 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-07-08 15:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-08 15:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 15:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577425152001,"66":25756,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577425152001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:53:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:53:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577425152001,"power":25756,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":126436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:53:01] local.INFO: GPS data processed {"connection_id":126436,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:53:01] local.INFO: Acknowledgment sent {"connection_id":126436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:53:01] local.INFO: TCP Data received {"connection_id":125673,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f413fe3f00100000000000000000000000000..."} 
[2026-07-08 15:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f413fe3f00100000000000000000000000000..."} 
[2026-07-08 15:53:01] local.INFO: Processing buffer {"connection_id":125673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f413fe3f00100000000000000000000000000..."} 
[2026-07-08 15:53:01] local.INFO: Packet analysis {"connection_id":125673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f413f"} 
[2026-07-08 15:53:01] local.INFO: Extracted packet for processing {"connection_id":125673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f413f"} 
[2026-07-08 15:53: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-07-08 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-07-08 15:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103714840199036928,"note":"Value kept but may cause issues"} 
[2026-07-08 15:53:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,156,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783506134000,"timestamp_ms":1783506134000,"timestamp_seconds":1783506134,"priority":1,"record_length":96,"hex_timestamp":"0000019f413fe3f0"} 
[2026-07-08 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-07-08 15:53:01] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-08 15:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 15:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 15:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 15:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":125673,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-08 15:53:01] local.INFO: GPS data processed {"connection_id":125673,"processed":0,"errors":0,"total":1} 
[2026-07-08 15:53:01] local.INFO: Acknowledgment sent {"connection_id":125673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:53:03] local.INFO: TCP Data received {"connection_id":125568,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:53:03] local.INFO: Processing buffer {"connection_id":125568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:53:03] local.INFO: IMEI packet received {"connection_id":125568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":125568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:53:04] local.INFO: TCP Data received {"connection_id":125568,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:53:04] local.INFO: Processing buffer {"connection_id":125568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:53:04] local.INFO: IMEI packet received {"connection_id":125568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":125568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:53:05] local.INFO: TCP Data received {"connection_id":125568,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:53:05] local.INFO: Processing buffer {"connection_id":125568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:53:05] local.INFO: IMEI packet received {"connection_id":125568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":125568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:53:05] local.INFO: TCP Data received {"connection_id":125568,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f413eb728012d1a184007210f780049008c27..."} 
[2026-07-08 15:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f413eb728012d1a184007210f780049008c27..."} 
[2026-07-08 15:53:05] local.INFO: Processing buffer {"connection_id":125568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f413eb728012d1a184007210f780049008c27..."} 
[2026-07-08 15:53:05] local.INFO: Packet analysis {"connection_id":125568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f413e"} 
[2026-07-08 15:53:05] local.INFO: Extracted packet for processing {"connection_id":125568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f413e"} 
[2026-07-08 15:53:05] local.INFO: GPS Element Parsed {"raw_longitude":756684864,"raw_latitude":119607160,"longitude_deg":75.6684864,"latitude_deg":11.960716,"altitude":73,"angle":140,"satellites":39,"speed":9,"hex_longitude":"2d1a1840","hex_latitude":"07210f78","is_valid_coordinates":true} 
[2026-07-08 15:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577550336001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4845131131781120,"note":"Value kept but may cause issues"} 
[2026-07-08 15:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1880252875046666240,"note":"Value kept but may cause issues"} 
[2026-07-08 15:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783506057000,"timestamp_ms":1783506057000,"timestamp_seconds":1783506057,"priority":1,"record_length":96,"hex_timestamp":"0000019f413eb728"} 
[2026-07-08 15:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-08 15:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577550336001,"66":12819,"103":206,"83":41984,"24":9,"16":4845131131781120,"45":1880252875046666240},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 15:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577550336001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:53:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 15:53:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4845131131781120,"km_value":4845131131781.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1880252875046666240,"description":"Unknown IO ID 45"} 
[2026-07-08 15:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577550336001,"power":12819,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1880252875046666240}} 
[2026-07-08 15:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":125568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:53:05] local.INFO: GPS data processed {"connection_id":125568,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:53:05] local.INFO: Acknowledgment sent {"connection_id":125568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:53:22] local.INFO: TCP Data received {"connection_id":126435,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4140da08012d0a86c00705a7f0001e013623..."} 
[2026-07-08 15:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4140da08012d0a86c00705a7f0001e013623..."} 
[2026-07-08 15:53:22] local.INFO: Processing buffer {"connection_id":126435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4140da08012d0a86c00705a7f0001e013623..."} 
[2026-07-08 15:53:22] local.INFO: Packet analysis {"connection_id":126435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4140"} 
[2026-07-08 15:53:22] local.INFO: Extracted packet for processing {"connection_id":126435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4140"} 
[2026-07-08 15:53:22] local.INFO: GPS Element Parsed {"raw_longitude":755664576,"raw_latitude":117811184,"longitude_deg":75.5664576,"latitude_deg":11.7811184,"altitude":30,"angle":310,"satellites":35,"speed":13,"hex_longitude":"2d0a86c0","hex_latitude":"0705a7f0","is_valid_coordinates":true} 
[2026-07-08 15:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577585408001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23609345031798784,"note":"Value kept but may cause issues"} 
[2026-07-08 15:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":759630623557126144,"note":"Value kept but may cause issues"} 
[2026-07-08 15:53:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783506197000,"timestamp_ms":1783506197000,"timestamp_seconds":1783506197,"priority":1,"record_length":96,"hex_timestamp":"0000019f4140da08"} 
[2026-07-08 15:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:53:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-08 15:53:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:53:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126435,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126435,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577585408001,"66":14537,"153":206,"94":10240,"24":13,"16":23609345031798784,"45":759630623557126144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-08 15:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577585408001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:53:22] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-08 15:53:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 15:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23609345031798784,"km_value":23609345031798.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":759630623557126144,"description":"Unknown IO ID 45"} 
[2026-07-08 15:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577585408001,"power":14537,"unknown_153":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":759630623557126144}} 
[2026-07-08 15:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":126435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452167,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:53:22] local.INFO: GPS data processed {"connection_id":126435,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:53:22] local.INFO: Acknowledgment sent {"connection_id":126435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:53:32] local.INFO: TCP Data received {"connection_id":125673,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f414035f80100000000000000000000000000..."} 
[2026-07-08 15:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414035f80100000000000000000000000000..."} 
[2026-07-08 15:53:32] local.INFO: Processing buffer {"connection_id":125673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414035f80100000000000000000000000000..."} 
[2026-07-08 15:53:32] local.INFO: Packet analysis {"connection_id":125673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4140"} 
[2026-07-08 15:53:32] local.INFO: Extracted packet for processing {"connection_id":125673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4140"} 
[2026-07-08 15:53: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-07-08 15:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103714840199036928,"note":"Value kept but may cause issues"} 
[2026-07-08 15:53:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,156,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783506155000,"timestamp_ms":1783506155000,"timestamp_seconds":1783506155,"priority":1,"record_length":96,"hex_timestamp":"0000019f414035f8"} 
[2026-07-08 15:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1536,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-08 15:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 15:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 15:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":125673,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-08 15:53:32] local.INFO: GPS data processed {"connection_id":125673,"processed":0,"errors":0,"total":1} 
[2026-07-08 15:53:32] local.INFO: Acknowledgment sent {"connection_id":125673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:53:32] local.INFO: TCP Data received {"connection_id":126436,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f41406ca8012d9aa38005781260000700f827..."} 
[2026-07-08 15:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41406ca8012d9aa38005781260000700f827..."} 
[2026-07-08 15:53:32] local.INFO: Processing buffer {"connection_id":126436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41406ca8012d9aa38005781260000700f827..."} 
[2026-07-08 15:53:32] local.INFO: Packet analysis {"connection_id":126436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4140"} 
[2026-07-08 15:53:32] local.INFO: Extracted packet for processing {"connection_id":126436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4140"} 
[2026-07-08 15:53:32] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":39,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577502208001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:53:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783506169000,"timestamp_ms":1783506169000,"timestamp_seconds":1783506169,"priority":1,"record_length":96,"hex_timestamp":"0000019f41406ca8"} 
[2026-07-08 15:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-08 15:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577502208001,"66":25756,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577502208001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:53:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:53:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577502208001,"power":25756,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":126436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:53:32] local.INFO: GPS data processed {"connection_id":126436,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:53:32] local.INFO: Acknowledgment sent {"connection_id":126436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:53:37] local.INFO: TCP Data received {"connection_id":125568,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41405920012d1a36c00720efa8003f00ca2a..."} 
[2026-07-08 15:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41405920012d1a36c00720efa8003f00ca2a..."} 
[2026-07-08 15:53:37] local.INFO: Processing buffer {"connection_id":125568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41405920012d1a36c00720efa8003f00ca2a..."} 
[2026-07-08 15:53:37] local.INFO: Packet analysis {"connection_id":125568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4140"} 
[2026-07-08 15:53:37] local.INFO: Extracted packet for processing {"connection_id":125568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4140"} 
[2026-07-08 15:53:37] local.INFO: GPS Element Parsed {"raw_longitude":756692672,"raw_latitude":119599016,"longitude_deg":75.6692672,"latitude_deg":11.9599016,"altitude":63,"angle":202,"satellites":42,"speed":19,"hex_longitude":"2d1a36c0","hex_latitude":"0720efa8","is_valid_coordinates":true} 
[2026-07-08 15:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577576192001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4845835506417664,"note":"Value kept but may cause issues"} 
[2026-07-08 15:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890174867974049792,"note":"Value kept but may cause issues"} 
[2026-07-08 15:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783506164000,"timestamp_ms":1783506164000,"timestamp_seconds":1783506164,"priority":1,"record_length":96,"hex_timestamp":"0000019f41405920"} 
[2026-07-08 15:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-08 15:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577576192001,"66":13928,"103":206,"83":41984,"24":19,"16":4845835506417664,"45":1890174867974049792},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 15:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577576192001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:53:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 15:53:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4845835506417664,"km_value":4845835506417.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890174867974049792,"description":"Unknown IO ID 45"} 
[2026-07-08 15:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577576192001,"power":13928,"unknown_103":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1890174867974049792}} 
[2026-07-08 15:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":125568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:53:37] local.INFO: GPS data processed {"connection_id":125568,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:53:37] local.INFO: Acknowledgment sent {"connection_id":125568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:53:44] local.INFO: TCP Data received {"connection_id":127668,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127668,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:53:44] local.INFO: Processing buffer {"connection_id":127668,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:53:44] local.INFO: IMEI packet received {"connection_id":127668,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":127668,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:53:50] local.INFO: TCP Data received {"connection_id":127668,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127668,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:53:50] local.INFO: Processing buffer {"connection_id":127668,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:53:50] local.INFO: IMEI packet received {"connection_id":127668,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":127668,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:53:55] local.INFO: TCP Data received {"connection_id":127668,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4140ddf0012d0a86000705a880001e012424..."} 
[2026-07-08 15:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4140ddf0012d0a86000705a880001e012424..."} 
[2026-07-08 15:53:55] local.INFO: Processing buffer {"connection_id":127668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4140ddf0012d0a86000705a880001e012424..."} 
[2026-07-08 15:53:55] local.INFO: Packet analysis {"connection_id":127668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4140"} 
[2026-07-08 15:53:55] local.INFO: Extracted packet for processing {"connection_id":127668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4140"} 
[2026-07-08 15:53:55] local.INFO: GPS Element Parsed {"raw_longitude":755664384,"raw_latitude":117811328,"longitude_deg":75.5664384,"latitude_deg":11.7811328,"altitude":30,"angle":292,"satellites":36,"speed":10,"hex_longitude":"2d0a8600","hex_latitude":"0705a880","is_valid_coordinates":true} 
[2026-07-08 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-07-08 15:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577586432001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23609357916700672,"note":"Value kept but may cause issues"} 
[2026-07-08 15:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758504723650703360,"note":"Value kept but may cause issues"} 
[2026-07-08 15:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783506198000,"timestamp_ms":1783506198000,"timestamp_seconds":1783506198,"priority":1,"record_length":96,"hex_timestamp":"0000019f4140ddf0"} 
[2026-07-08 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-07-08 15:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-08 15:53:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 15:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":127668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":127668,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":127668,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577586432001,"66":14537,"153":206,"94":10240,"24":10,"16":23609357916700672,"45":758504723650703360},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-08 15:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577586432001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:53:55] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-08 15:53:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 15:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23609357916700672,"km_value":23609357916700.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":758504723650703360,"description":"Unknown IO ID 45"} 
[2026-07-08 15:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577586432001,"power":14537,"unknown_153":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":758504723650703360}} 
[2026-07-08 15:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":127668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452170,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:53:55] local.INFO: GPS data processed {"connection_id":127668,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:53:55] local.INFO: Acknowledgment sent {"connection_id":127668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:54:01] local.INFO: TCP Data received {"connection_id":126438,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:54:01] local.INFO: Processing buffer {"connection_id":126438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:54:01] local.INFO: IMEI packet received {"connection_id":126438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":126438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:54:05] local.INFO: TCP Data received {"connection_id":126439,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:54:05] local.INFO: Processing buffer {"connection_id":126439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:54:05] local.INFO: IMEI packet received {"connection_id":126439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":126439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:54:06] local.INFO: TCP Data received {"connection_id":126438,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:54:06] local.INFO: Processing buffer {"connection_id":126438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:54:06] local.INFO: IMEI packet received {"connection_id":126438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":126438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:54:06] local.INFO: TCP Data received {"connection_id":126439,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:54:06] local.INFO: Processing buffer {"connection_id":126439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:54:06] local.INFO: IMEI packet received {"connection_id":126439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":126439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:54:06] local.INFO: TCP Data received {"connection_id":126439,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41407c48012d1a2d800720da98003c00d729..."} 
[2026-07-08 15:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41407c48012d1a2d800720da98003c00d729..."} 
[2026-07-08 15:54:06] local.INFO: Processing buffer {"connection_id":126439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41407c48012d1a2d800720da98003c00d729..."} 
[2026-07-08 15:54:06] local.INFO: Packet analysis {"connection_id":126439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4140"} 
[2026-07-08 15:54:06] local.INFO: Extracted packet for processing {"connection_id":126439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4140"} 
[2026-07-08 15:54:06] local.INFO: GPS Element Parsed {"raw_longitude":756690304,"raw_latitude":119593624,"longitude_deg":75.6690304,"latitude_deg":11.9593624,"altitude":60,"angle":215,"satellites":41,"speed":25,"hex_longitude":"2d1a2d80","hex_latitude":"0720da98","is_valid_coordinates":true} 
[2026-07-08 15:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577577984001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4846118974259200,"note":"Value kept but may cause issues"} 
[2026-07-08 15:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888908230578382848,"note":"Value kept but may cause issues"} 
[2026-07-08 15:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783506173000,"timestamp_ms":1783506173000,"timestamp_seconds":1783506173,"priority":1,"record_length":96,"hex_timestamp":"0000019f41407c48"} 
[2026-07-08 15:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-08 15:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577577984001,"66":14265,"103":206,"83":41984,"24":25,"16":4846118974259200,"45":1888908230578382848},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 15:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577577984001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:54:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 15:54:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4846118974259200,"km_value":4846118974259.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888908230578382848,"description":"Unknown IO ID 45"} 
[2026-07-08 15:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577577984001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1888908230578382848}} 
[2026-07-08 15:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":126439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:54:07] local.INFO: GPS data processed {"connection_id":126439,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:54:07] local.INFO: Acknowledgment sent {"connection_id":126439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:54:10] local.INFO: TCP Data received {"connection_id":125673,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f414088000100000000000000000000000000..."} 
[2026-07-08 15:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414088000100000000000000000000000000..."} 
[2026-07-08 15:54:10] local.INFO: Processing buffer {"connection_id":125673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414088000100000000000000000000000000..."} 
[2026-07-08 15:54:10] local.INFO: Packet analysis {"connection_id":125673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4140"} 
[2026-07-08 15:54:10] local.INFO: Extracted packet for processing {"connection_id":125673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4140"} 
[2026-07-08 15:54:10] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-08 15:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103714840199036928,"note":"Value kept but may cause issues"} 
[2026-07-08 15:54:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,163,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783506176000,"timestamp_ms":1783506176000,"timestamp_seconds":1783506176,"priority":1,"record_length":96,"hex_timestamp":"0000019f41408800"} 
[2026-07-08 15:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:54:10] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-08 15:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 15:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 15:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":125673,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-08 15:54:10] local.INFO: GPS data processed {"connection_id":125673,"processed":0,"errors":0,"total":1} 
[2026-07-08 15:54:10] local.INFO: Acknowledgment sent {"connection_id":125673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:54:10] local.INFO: TCP Data received {"connection_id":126439,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41408418012d1a2a400720d728003b00e729..."} 
[2026-07-08 15:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41408418012d1a2a400720d728003b00e729..."} 
[2026-07-08 15:54:10] local.INFO: Processing buffer {"connection_id":126439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41408418012d1a2a400720d728003b00e729..."} 
[2026-07-08 15:54:10] local.INFO: Packet analysis {"connection_id":126439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4140"} 
[2026-07-08 15:54:10] local.INFO: Extracted packet for processing {"connection_id":126439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4140"} 
[2026-07-08 15:54:10] local.INFO: GPS Element Parsed {"raw_longitude":756689472,"raw_latitude":119592744,"longitude_deg":75.6689472,"latitude_deg":11.9592744,"altitude":59,"angle":231,"satellites":41,"speed":23,"hex_longitude":"2d1a2a40","hex_latitude":"0720d728","is_valid_coordinates":true} 
[2026-07-08 15:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577580288001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4846179103801344,"note":"Value kept but may cause issues"} 
[2026-07-08 15:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1886304587042428928,"note":"Value kept but may cause issues"} 
[2026-07-08 15:54: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-07-08 15:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783506175000,"timestamp_ms":1783506175000,"timestamp_seconds":1783506175,"priority":1,"record_length":96,"hex_timestamp":"0000019f41408418"} 
[2026-07-08 15:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 15:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577580288001,"66":13993,"103":206,"83":41984,"24":23,"16":4846179103801344,"45":1886304587042428928},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 15:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577580288001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:54:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 15:54:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4846179103801344,"km_value":4846179103801.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1886304587042428928,"description":"Unknown IO ID 45"} 
[2026-07-08 15:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577580288001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1886304587042428928}} 
[2026-07-08 15:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":126439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:54:10] local.INFO: GPS data processed {"connection_id":126439,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:54:10] local.INFO: Acknowledgment sent {"connection_id":126439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:54:10] local.INFO: TCP Data received {"connection_id":126438,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f41406ca8012d9aa38005781260000700f827..."} 
[2026-07-08 15:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41406ca8012d9aa38005781260000700f827..."} 
[2026-07-08 15:54:10] local.INFO: Processing buffer {"connection_id":126438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41406ca8012d9aa38005781260000700f827..."} 
[2026-07-08 15:54:10] local.INFO: Packet analysis {"connection_id":126438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4140"} 
[2026-07-08 15:54:10] local.INFO: Extracted packet for processing {"connection_id":126438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4140"} 
[2026-07-08 15:54:10] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":39,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577502208001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:54:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783506169000,"timestamp_ms":1783506169000,"timestamp_seconds":1783506169,"priority":1,"record_length":96,"hex_timestamp":"0000019f41406ca8"} 
[2026-07-08 15:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-08 15:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577502208001,"66":25756,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577502208001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:54:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577502208001,"power":25756,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":126438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:54:10] local.INFO: GPS data processed {"connection_id":126438,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:54:10] local.INFO: Acknowledgment sent {"connection_id":126438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:54:26] local.INFO: TCP Data received {"connection_id":127668,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4140e1d8012d0a85000705a890001d010f23..."} 
[2026-07-08 15:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4140e1d8012d0a85000705a890001d010f23..."} 
[2026-07-08 15:54:26] local.INFO: Processing buffer {"connection_id":127668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4140e1d8012d0a85000705a890001d010f23..."} 
[2026-07-08 15:54:26] local.INFO: Packet analysis {"connection_id":127668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4140"} 
[2026-07-08 15:54:26] local.INFO: Extracted packet for processing {"connection_id":127668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4140"} 
[2026-07-08 15:54:26] local.INFO: GPS Element Parsed {"raw_longitude":755664128,"raw_latitude":117811344,"longitude_deg":75.5664128,"latitude_deg":11.7811344,"altitude":29,"angle":271,"satellites":35,"speed":9,"hex_longitude":"2d0a8500","hex_latitude":"0705a890","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577586688001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23609366506635264,"note":"Value kept but may cause issues"} 
[2026-07-08 15:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758293617418207232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:54:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783506199000,"timestamp_ms":1783506199000,"timestamp_seconds":1783506199,"priority":1,"record_length":96,"hex_timestamp":"0000019f4140e1d8"} 
[2026-07-08 15:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:54: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-07-08 15: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-08 15:54:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":127668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":127668,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":127668,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:54:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577586688001,"66":14407,"153":206,"94":10240,"24":9,"16":23609366506635264,"45":758293617418207232},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-08 15:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577586688001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:54:26] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-08 15:54:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 15:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23609366506635264,"km_value":23609366506635.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":758293617418207232,"description":"Unknown IO ID 45"} 
[2026-07-08 15:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577586688001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":758293617418207232}} 
[2026-07-08 15:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":127668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452174,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:54:26] local.INFO: GPS data processed {"connection_id":127668,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:54:26] local.INFO: Acknowledgment sent {"connection_id":127668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:54:42] local.INFO: TCP Data received {"connection_id":125673,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4141bc98012d7ac78005ebc4580000003d07..."} 
[2026-07-08 15:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4141bc98012d7ac78005ebc4580000003d07..."} 
[2026-07-08 15:54:42] local.INFO: Processing buffer {"connection_id":125673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4141bc98012d7ac78005ebc4580000003d07..."} 
[2026-07-08 15:54:42] local.INFO: Packet analysis {"connection_id":125673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4141"} 
[2026-07-08 15:54:42] local.INFO: Extracted packet for processing {"connection_id":125673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4141"} 
[2026-07-08 15:54:42] local.INFO: GPS Element Parsed {"raw_longitude":763021184,"raw_latitude":99337304,"longitude_deg":76.3021184,"latitude_deg":9.9337304,"altitude":0,"angle":61,"satellites":7,"speed":36,"hex_longitude":"2d7ac780","hex_latitude":"05ebc458","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577598464001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103716583955759104,"note":"Value kept but may cause issues"} 
[2026-07-08 15:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837399500469616640,"note":"Value kept but may cause issues"} 
[2026-07-08 15:54:42] 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-07-08 15:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783506255000,"timestamp_ms":1783506255000,"timestamp_seconds":1783506255,"priority":1,"record_length":96,"hex_timestamp":"0000019f4141bc98"} 
[2026-07-08 15:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5632,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-08 15:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":125673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":125673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":125673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 15:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 15:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577598464001,"66":13276,"161":206,"87":13824,"24":36,"16":103716583955759104,"45":8837399500469616640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-07-08 15:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 15:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 15:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577598464001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:54:42] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-08 15:54:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 15:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103716583955759104,"km_value":103716583955759.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837399500469616640,"description":"Unknown IO ID 45"} 
[2026-07-08 15:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577598464001,"power":13276,"unknown_161":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8837399500469616640}} 
[2026-07-08 15:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":125673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452175,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:54:42] local.INFO: GPS data processed {"connection_id":125673,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:54:42] local.INFO: Acknowledgment sent {"connection_id":125673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:54:44] local.INFO: TCP Data received {"connection_id":125569,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125569,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:54:44] local.INFO: Processing buffer {"connection_id":125569,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:54:44] local.INFO: IMEI packet received {"connection_id":125569,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":125569,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:54:45] local.INFO: TCP Data received {"connection_id":125569,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125569,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:54:45] local.INFO: Processing buffer {"connection_id":125569,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:54:45] local.INFO: IMEI packet received {"connection_id":125569,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":125569,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:54:50] local.INFO: TCP Data received {"connection_id":125569,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125569,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:54:50] local.INFO: Processing buffer {"connection_id":125569,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:54:50] local.INFO: IMEI packet received {"connection_id":125569,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":125569,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:54:51] local.INFO: TCP Data received {"connection_id":125569,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4141f348012d0a6f400705df300019011323..."} 
[2026-07-08 15:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4141f348012d0a6f400705df300019011323..."} 
[2026-07-08 15:54:51] local.INFO: Processing buffer {"connection_id":125569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4141f348012d0a6f400705df300019011323..."} 
[2026-07-08 15:54:51] local.INFO: Packet analysis {"connection_id":125569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4141"} 
[2026-07-08 15:54:51] local.INFO: Extracted packet for processing {"connection_id":125569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4141"} 
[2026-07-08 15:54:51] local.INFO: GPS Element Parsed {"raw_longitude":755658560,"raw_latitude":117825328,"longitude_deg":75.565856,"latitude_deg":11.7825328,"altitude":25,"angle":275,"satellites":35,"speed":1,"hex_longitude":"2d0a6f40","hex_latitude":"0705df30","is_valid_coordinates":true} 
[2026-07-08 15:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577604608001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23610182550421504,"note":"Value kept but may cause issues"} 
[2026-07-08 15:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":751960430445803520,"note":"Value kept but may cause issues"} 
[2026-07-08 15:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783506269000,"timestamp_ms":1783506269000,"timestamp_seconds":1783506269,"priority":1,"record_length":96,"hex_timestamp":"0000019f4141f348"} 
[2026-07-08 15:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-08 15:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125569,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125569,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577604608001,"66":14439,"153":206,"94":10240,"24":1,"16":23610182550421504,"45":751960430445803520},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-08 15:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577604608001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:54:51] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-08 15:54:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 15:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23610182550421504,"km_value":23610182550421.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":751960430445803520,"description":"Unknown IO ID 45"} 
[2026-07-08 15:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577604608001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":751960430445803520}} 
[2026-07-08 15:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":125569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452176,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:54:51] local.INFO: GPS data processed {"connection_id":125569,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:54:51] local.INFO: Acknowledgment sent {"connection_id":125569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:54:55] local.INFO: TCP Data received {"connection_id":125570,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:54:55] local.INFO: Processing buffer {"connection_id":125570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:54:55] local.INFO: IMEI packet received {"connection_id":125570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":125570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:54:55] local.INFO: TCP Data received {"connection_id":126439,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41416a90012d19be400720a620002e012128..."} 
[2026-07-08 15:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41416a90012d19be400720a620002e012128..."} 
[2026-07-08 15:54:55] local.INFO: Processing buffer {"connection_id":126439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41416a90012d19be400720a620002e012128..."} 
[2026-07-08 15:54:55] local.INFO: Packet analysis {"connection_id":126439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4141"} 
[2026-07-08 15:54:55] local.INFO: Extracted packet for processing {"connection_id":126439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4141"} 
[2026-07-08 15:54:55] local.INFO: GPS Element Parsed {"raw_longitude":756661824,"raw_latitude":119580192,"longitude_deg":75.6661824,"latitude_deg":11.9580192,"altitude":46,"angle":289,"satellites":40,"speed":18,"hex_longitude":"2d19be40","hex_latitude":"0720a620","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577595136001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4847686637322240,"note":"Value kept but may cause issues"} 
[2026-07-08 15:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856608976995938304,"note":"Value kept but may cause issues"} 
[2026-07-08 15:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783506234000,"timestamp_ms":1783506234000,"timestamp_seconds":1783506234,"priority":1,"record_length":96,"hex_timestamp":"0000019f41416a90"} 
[2026-07-08 15:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:54: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-07-08 15: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":88,"data_length":795,"current_offset":136} 
[2026-07-08 15:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":126439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":126439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":126439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:54:55] 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-07-08 15:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577595136001,"66":14428,"103":206,"83":41984,"24":18,"16":4847686637322240,"45":1856608976995938304},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 15:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577595136001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:54:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 15:54:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4847686637322240,"km_value":4847686637322.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856608976995938304,"description":"Unknown IO ID 45"} 
[2026-07-08 15:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577595136001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1856608976995938304}} 
[2026-07-08 15:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":126439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:54:55] local.INFO: GPS data processed {"connection_id":126439,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:54:55] local.INFO: Acknowledgment sent {"connection_id":126439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:54:56] local.INFO: TCP Data received {"connection_id":126440,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126440,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:54:56] local.INFO: Processing buffer {"connection_id":126440,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 15:54:56] local.INFO: IMEI packet received {"connection_id":126440,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 15:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":126440,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:54:58] local.INFO: TCP Data received {"connection_id":126441,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:54:58] local.INFO: Processing buffer {"connection_id":126441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:54:58] local.INFO: IMEI packet received {"connection_id":126441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":126441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:55:00] local.INFO: TCP Data received {"connection_id":126441,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:55:00] local.INFO: Processing buffer {"connection_id":126441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:55:00] local.INFO: IMEI packet received {"connection_id":126441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":126441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:55:01] local.INFO: TCP Data received {"connection_id":125570,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:55:01] local.INFO: Processing buffer {"connection_id":125570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:55:01] local.INFO: IMEI packet received {"connection_id":125570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":125570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:55:01] local.INFO: TCP Data received {"connection_id":125570,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41406ca8012d9aa38005781260000700f827..."} 
[2026-07-08 15:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41406ca8012d9aa38005781260000700f827..."} 
[2026-07-08 15:55:01] local.INFO: Processing buffer {"connection_id":125570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41406ca8012d9aa38005781260000700f827..."} 
[2026-07-08 15:55:01] local.INFO: Packet analysis {"connection_id":125570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4140"} 
[2026-07-08 15:55:01] local.INFO: Extracted packet for processing {"connection_id":125570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4140"} 
[2026-07-08 15:55:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":39,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577502208001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:55:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783506169000,"timestamp_ms":1783506169000,"timestamp_seconds":1783506169,"priority":1,"record_length":96,"hex_timestamp":"0000019f41406ca8"} 
[2026-07-08 15:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:55:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-08 15:55:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:55:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577502208001,"66":25756,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577502208001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:55:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:55:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577502208001,"power":25756,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":125570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:55:01] local.INFO: GPS data processed {"connection_id":125570,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:55:01] local.INFO: Acknowledgment sent {"connection_id":125570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:55:05] local.INFO: TCP Data received {"connection_id":126441,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:55:05] local.INFO: Processing buffer {"connection_id":126441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:55:05] local.INFO: IMEI packet received {"connection_id":126441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":126441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:55:06] local.INFO: TCP Data received {"connection_id":126441,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41417a30012d19b9800720a860002f013128..."} 
[2026-07-08 15:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41417a30012d19b9800720a860002f013128..."} 
[2026-07-08 15:55:06] local.INFO: Processing buffer {"connection_id":126441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41417a30012d19b9800720a860002f013128..."} 
[2026-07-08 15:55:06] local.INFO: Packet analysis {"connection_id":126441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4141"} 
[2026-07-08 15:55:06] local.INFO: Extracted packet for processing {"connection_id":126441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4141"} 
[2026-07-08 15:55:06] local.INFO: GPS Element Parsed {"raw_longitude":756660608,"raw_latitude":119580768,"longitude_deg":75.6660608,"latitude_deg":11.9580768,"altitude":47,"angle":305,"satellites":40,"speed":16,"hex_longitude":"2d19b980","hex_latitude":"0720a860","is_valid_coordinates":true} 
[2026-07-08 15:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577595904001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4847751061831680,"note":"Value kept but may cause issues"} 
[2026-07-08 15:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854990495879929856,"note":"Value kept but may cause issues"} 
[2026-07-08 15:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783506238000,"timestamp_ms":1783506238000,"timestamp_seconds":1783506238,"priority":1,"record_length":96,"hex_timestamp":"0000019f41417a30"} 
[2026-07-08 15:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":92,"data_length":795,"current_offset":136} 
[2026-07-08 15:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577595904001,"66":14483,"103":206,"83":41984,"24":16,"16":4847751061831680,"45":1854990495879929856},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 15:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577595904001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:55:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 15:55:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4847751061831680,"km_value":4847751061831.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854990495879929856,"description":"Unknown IO ID 45"} 
[2026-07-08 15:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577595904001,"power":14483,"unknown_103":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1854990495879929856}} 
[2026-07-08 15:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":126441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:55:06] local.INFO: GPS data processed {"connection_id":126441,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:55:06] local.INFO: Acknowledgment sent {"connection_id":126441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:55:15] local.INFO: TCP Data received {"connection_id":125673,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4141e3a8012d7ae90005ebd5f80000003c07..."} 
[2026-07-08 15:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4141e3a8012d7ae90005ebd5f80000003c07..."} 
[2026-07-08 15:55:15] local.INFO: Processing buffer {"connection_id":125673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4141e3a8012d7ae90005ebd5f80000003c07..."} 
[2026-07-08 15:55:15] local.INFO: Packet analysis {"connection_id":125673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4141"} 
[2026-07-08 15:55:15] local.INFO: Extracted packet for processing {"connection_id":125673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4141"} 
[2026-07-08 15:55:15] local.INFO: GPS Element Parsed {"raw_longitude":763029760,"raw_latitude":99341816,"longitude_deg":76.302976,"latitude_deg":9.9341816,"altitude":0,"angle":60,"satellites":7,"speed":32,"hex_longitude":"2d7ae900","hex_latitude":"05ebd5f8","is_valid_coordinates":true} 
[2026-07-08 15:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577601280001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103717052107194368,"note":"Value kept but may cause issues"} 
[2026-07-08 15:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847180755911333888,"note":"Value kept but may cause issues"} 
[2026-07-08 15:55:15] 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-07-08 15:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783506265000,"timestamp_ms":1783506265000,"timestamp_seconds":1783506265,"priority":1,"record_length":96,"hex_timestamp":"0000019f4141e3a8"} 
[2026-07-08 15:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-08 15:55:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":125673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":125673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":125673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 15:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 15:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577601280001,"66":13319,"156":206,"87":13824,"24":32,"16":103717052107194368,"45":8847180755911333888},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-08 15:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 15:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 15:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577601280001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:55:15] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 15:55:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 15:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103717052107194368,"km_value":103717052107194.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847180755911333888,"description":"Unknown IO ID 45"} 
[2026-07-08 15:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577601280001,"power":13319,"unknown_156":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8847180755911333888}} 
[2026-07-08 15:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":125673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452180,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:55:15] local.INFO: GPS data processed {"connection_id":125673,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:55:15] local.INFO: Acknowledgment sent {"connection_id":125673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:55:22] local.INFO: TCP Data received {"connection_id":125569,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4141ff00012d0a70000705df080019007423..."} 
[2026-07-08 15:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4141ff00012d0a70000705df080019007423..."} 
[2026-07-08 15:55:22] local.INFO: Processing buffer {"connection_id":125569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4141ff00012d0a70000705df080019007423..."} 
[2026-07-08 15:55:22] local.INFO: Packet analysis {"connection_id":125569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4141"} 
[2026-07-08 15:55:22] local.INFO: Extracted packet for processing {"connection_id":125569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4141"} 
[2026-07-08 15:55:22] local.INFO: GPS Element Parsed {"raw_longitude":755658752,"raw_latitude":117825288,"longitude_deg":75.5658752,"latitude_deg":11.7825288,"altitude":25,"angle":116,"satellites":35,"speed":0,"hex_longitude":"2d0a7000","hex_latitude":"0705df08","is_valid_coordinates":true} 
[2026-07-08 15:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577604864001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23610191140356096,"note":"Value kept but may cause issues"} 
[2026-07-08 15:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":751890061701623808,"note":"Value kept but may cause issues"} 
[2026-07-08 15:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783506272000,"timestamp_ms":1783506272000,"timestamp_seconds":1783506272,"priority":1,"record_length":96,"hex_timestamp":"0000019f4141ff00"} 
[2026-07-08 15:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:55:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-08 15:55:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:55:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125569,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125569,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577604864001,"66":14428,"153":206,"94":10240,"24":0,"16":23610191140356096,"45":751890061701623808},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-08 15:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577604864001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:55:22] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-08 15:55:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 15:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23610191140356096,"km_value":23610191140356.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":751890061701623808,"description":"Unknown IO ID 45"} 
[2026-07-08 15:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577604864001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":751890061701623808}} 
[2026-07-08 15:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":125569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452181,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:55:22] local.INFO: GPS data processed {"connection_id":125569,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:55:22] local.INFO: Acknowledgment sent {"connection_id":125569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:55:30] local.INFO: TCP Data received {"connection_id":126442,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126442,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:55:30] local.INFO: Processing buffer {"connection_id":126442,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:55:30] local.INFO: IMEI packet received {"connection_id":126442,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 15:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":126442,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:55:31] local.INFO: TCP Data received {"connection_id":126442,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126442,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:55:31] local.INFO: Processing buffer {"connection_id":126442,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:55:31] local.INFO: IMEI packet received {"connection_id":126442,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 15:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":126442,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:55:34] local.INFO: TCP Data received {"connection_id":125570,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41406ca8012d9aa38005781260000700f827..."} 
[2026-07-08 15:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41406ca8012d9aa38005781260000700f827..."} 
[2026-07-08 15:55:34] local.INFO: Processing buffer {"connection_id":125570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41406ca8012d9aa38005781260000700f827..."} 
[2026-07-08 15:55:34] local.INFO: Packet analysis {"connection_id":125570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4140"} 
[2026-07-08 15:55:34] local.INFO: Extracted packet for processing {"connection_id":125570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4140"} 
[2026-07-08 15:55:34] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":39,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 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-07-08 15:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577502208001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:55:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783506169000,"timestamp_ms":1783506169000,"timestamp_seconds":1783506169,"priority":1,"record_length":96,"hex_timestamp":"0000019f41406ca8"} 
[2026-07-08 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-07-08 15:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-08 15:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 15:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577502208001,"66":25756,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577502208001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:55:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:55:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577502208001,"power":25756,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":125570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:55:34] local.INFO: GPS data processed {"connection_id":125570,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:55:34] local.INFO: Acknowledgment sent {"connection_id":125570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:55:36] local.INFO: TCP Data received {"connection_id":126442,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126442,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:55:36] local.INFO: Processing buffer {"connection_id":126442,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:55:36] local.INFO: IMEI packet received {"connection_id":126442,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 15:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":126442,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:55:37] local.INFO: TCP Data received {"connection_id":126442,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f41420ab8012d7b0a4005ebe2680000004109..."} 
[2026-07-08 15:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41420ab8012d7b0a4005ebe2680000004109..."} 
[2026-07-08 15:55:37] local.INFO: Processing buffer {"connection_id":126442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41420ab8012d7b0a4005ebe2680000004109..."} 
[2026-07-08 15:55:37] local.INFO: Packet analysis {"connection_id":126442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4142"} 
[2026-07-08 15:55:37] local.INFO: Extracted packet for processing {"connection_id":126442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4142"} 
[2026-07-08 15:55:37] local.INFO: GPS Element Parsed {"raw_longitude":763038272,"raw_latitude":99345000,"longitude_deg":76.3038272,"latitude_deg":9.9345,"altitude":0,"angle":65,"satellites":9,"speed":35,"hex_longitude":"2d7b0a40","hex_latitude":"05ebe268","is_valid_coordinates":true} 
[2026-07-08 15:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577603840001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103717490193858560,"note":"Value kept but may cause issues"} 
[2026-07-08 15:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8856610167632295936,"note":"Value kept but may cause issues"} 
[2026-07-08 15:55:37] 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-07-08 15:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783506275000,"timestamp_ms":1783506275000,"timestamp_seconds":1783506275,"priority":1,"record_length":96,"hex_timestamp":"0000019f41420ab8"} 
[2026-07-08 15:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-08 15:55:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 15:55:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-08 15:55:37] local.WARNING: Large IO value detected {"io_id":120,"raw_value":3724541952,"note":"Value kept but may cause issues"} 
[2026-07-08 15:55:37] local.WARNING: Large IO value detected {"io_id":65,"raw_value":923239218448646149,"note":"Value kept but may cause issues"} 
[2026-07-08 15:55:37] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-7615586969877150208,"note":"Value kept but may cause issues"} 
[2026-07-08 15:55:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765657294,"corrected_to":0} 
[2026-07-08 15:55:37] local.WARNING: Large IO value detected {"io_id":105,"raw_value":3221613468,"note":"Value kept but may cause issues"} 
[2026-07-08 15:55:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3952508928,"note":"Value kept but may cause issues"} 
[2026-07-08 15:55:37] local.WARNING: Large IO value detected {"io_id":138,"raw_value":57752548342126390,"note":"Value kept but may cause issues"} 
[2026-07-08 15:55:37] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,156,87,24,241,157,16,122,159,188,45,128,196,7,10,66,161,121,145,192,180,98,1,240,227,120,65,235,4,113,205,14,44,105,232,239,51,163,2,112,5,20,138],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":765657294,"validated":0}]} 
[2026-07-08 15:55:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":66000764534784,"timestamp_seconds":66000764534.784,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 15:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 15:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 15:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577603840001,"66":12982,"156":206,"87":13824,"24":35,"16":103717490193858560,"45":8856610167632295936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-08 15:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 15:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 15:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577603840001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:55:37] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 15:55:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 15:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103717490193858560,"km_value":103717490193858.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8856610167632295936,"description":"Unknown IO ID 45"} 
[2026-07-08 15:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577603840001,"power":12982,"unknown_156":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8856610167632295936}} 
[2026-07-08 15:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":126442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452183,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:55:37] local.INFO: GPS data processed {"connection_id":126442,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:55:37] local.INFO: Acknowledgment sent {"connection_id":126442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:55:37] local.INFO: TCP Data received {"connection_id":126441,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f414185e8012d19b4800720ab300030012628..."} 
[2026-07-08 15:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414185e8012d19b4800720ab300030012628..."} 
[2026-07-08 15:55:37] local.INFO: Processing buffer {"connection_id":126441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414185e8012d19b4800720ab300030012628..."} 
[2026-07-08 15:55:37] local.INFO: Packet analysis {"connection_id":126441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4141"} 
[2026-07-08 15:55:37] local.INFO: Extracted packet for processing {"connection_id":126441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4141"} 
[2026-07-08 15:55:37] local.INFO: GPS Element Parsed {"raw_longitude":756659328,"raw_latitude":119581488,"longitude_deg":75.6659328,"latitude_deg":11.9581488,"altitude":48,"angle":294,"satellites":40,"speed":19,"hex_longitude":"2d19b480","hex_latitude":"0720ab30","is_valid_coordinates":true} 
[2026-07-08 15:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577596928001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4847824076275712,"note":"Value kept but may cause issues"} 
[2026-07-08 15:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853653489740701696,"note":"Value kept but may cause issues"} 
[2026-07-08 15:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783506241000,"timestamp_ms":1783506241000,"timestamp_seconds":1783506241,"priority":1,"record_length":96,"hex_timestamp":"0000019f414185e8"} 
[2026-07-08 15:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-08 15:55:37] 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-07-08 15:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577596928001,"66":14396,"103":206,"83":41984,"24":19,"16":4847824076275712,"45":1853653489740701696},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 15:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577596928001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:55:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 15:55:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4847824076275712,"km_value":4847824076275.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853653489740701696,"description":"Unknown IO ID 45"} 
[2026-07-08 15:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577596928001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1853653489740701696}} 
[2026-07-08 15:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":126441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:55:37] local.INFO: GPS data processed {"connection_id":126441,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:55:37] local.INFO: Acknowledgment sent {"connection_id":126441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:55:44] local.INFO: TCP Data received {"connection_id":125676,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125676,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:55:44] local.INFO: Processing buffer {"connection_id":125676,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:55:44] local.INFO: IMEI packet received {"connection_id":125676,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":125676,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:55:46] local.INFO: TCP Data received {"connection_id":125676,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125676,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:55:46] local.INFO: Processing buffer {"connection_id":125676,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:55:46] local.INFO: IMEI packet received {"connection_id":125676,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":125676,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:55:49] local.INFO: TCP Data received {"connection_id":125676,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125676,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:55:49] local.INFO: Processing buffer {"connection_id":125676,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:55:49] local.INFO: IMEI packet received {"connection_id":125676,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":125676,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:55:53] local.INFO: TCP Data received {"connection_id":125676,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f41421a58012d0a71400705dea80019006523..."} 
[2026-07-08 15:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41421a58012d0a71400705dea80019006523..."} 
[2026-07-08 15:55:53] local.INFO: Processing buffer {"connection_id":125676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41421a58012d0a71400705dea80019006523..."} 
[2026-07-08 15:55:53] local.INFO: Packet analysis {"connection_id":125676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4142"} 
[2026-07-08 15:55:53] local.INFO: Extracted packet for processing {"connection_id":125676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4142"} 
[2026-07-08 15:55:53] local.INFO: GPS Element Parsed {"raw_longitude":755659072,"raw_latitude":117825192,"longitude_deg":75.5659072,"latitude_deg":11.7825192,"altitude":25,"angle":101,"satellites":35,"speed":1,"hex_longitude":"2d0a7140","hex_latitude":"0705dea8","is_valid_coordinates":true} 
[2026-07-08 15:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577605632001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23610212615192576,"note":"Value kept but may cause issues"} 
[2026-07-08 15:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752101167934146560,"note":"Value kept but may cause issues"} 
[2026-07-08 15:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783506279000,"timestamp_ms":1783506279000,"timestamp_seconds":1783506279,"priority":1,"record_length":96,"hex_timestamp":"0000019f41421a58"} 
[2026-07-08 15:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:55:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 15:55:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:55:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125676,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125676,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577605632001,"66":14537,"153":206,"94":10240,"24":1,"16":23610212615192576,"45":752101167934146560},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-08 15:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577605632001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:55:53] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-08 15:55:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 15:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23610212615192576,"km_value":23610212615192.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":752101167934146560,"description":"Unknown IO ID 45"} 
[2026-07-08 15:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577605632001,"power":14537,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":752101167934146560}} 
[2026-07-08 15:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":125676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452185,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:55:53] local.INFO: GPS data processed {"connection_id":125676,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:55:53] local.INFO: Acknowledgment sent {"connection_id":125676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:55:55] local.INFO: TCP Data received {"connection_id":125677,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:55:55] local.INFO: Processing buffer {"connection_id":125677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:55:55] local.INFO: IMEI packet received {"connection_id":125677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":125677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:56:00] local.INFO: TCP Data received {"connection_id":125679,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:56:00] local.INFO: Processing buffer {"connection_id":125679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:56:00] local.INFO: IMEI packet received {"connection_id":125679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":125679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:56:01] local.INFO: TCP Data received {"connection_id":125677,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:56:01] local.INFO: Processing buffer {"connection_id":125677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:56:01] local.INFO: IMEI packet received {"connection_id":125677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":125677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:56:01] local.INFO: TCP Data received {"connection_id":125677,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f41406ca8012d9aa38005781260000700f827..."} 
[2026-07-08 15:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41406ca8012d9aa38005781260000700f827..."} 
[2026-07-08 15:56:01] local.INFO: Processing buffer {"connection_id":125677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41406ca8012d9aa38005781260000700f827..."} 
[2026-07-08 15:56:01] local.INFO: Packet analysis {"connection_id":125677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4140"} 
[2026-07-08 15:56:01] local.INFO: Extracted packet for processing {"connection_id":125677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4140"} 
[2026-07-08 15:56:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":39,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577502208001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:56:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783506169000,"timestamp_ms":1783506169000,"timestamp_seconds":1783506169,"priority":1,"record_length":96,"hex_timestamp":"0000019f41406ca8"} 
[2026-07-08 15:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:56:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-08 15:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:56:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577502208001,"66":25756,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577502208001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:56:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:56:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577502208001,"power":25756,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":125677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:56:01] local.INFO: GPS data processed {"connection_id":125677,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:56:01] local.INFO: Acknowledgment sent {"connection_id":125677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:56:05] local.INFO: TCP Data received {"connection_id":125679,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:56:05] local.INFO: Processing buffer {"connection_id":125679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:56:05] local.INFO: IMEI packet received {"connection_id":125679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":125679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:56:06] local.INFO: TCP Data received {"connection_id":125679,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41419d58012d19a9400720af58003301182a..."} 
[2026-07-08 15:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41419d58012d19a9400720af58003301182a..."} 
[2026-07-08 15:56:06] local.INFO: Processing buffer {"connection_id":125679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41419d58012d19a9400720af58003301182a..."} 
[2026-07-08 15:56:06] local.INFO: Packet analysis {"connection_id":125679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4141"} 
[2026-07-08 15:56:06] local.INFO: Extracted packet for processing {"connection_id":125679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4141"} 
[2026-07-08 15:56:06] local.INFO: GPS Element Parsed {"raw_longitude":756656448,"raw_latitude":119582552,"longitude_deg":75.6656448,"latitude_deg":11.9582552,"altitude":51,"angle":280,"satellites":42,"speed":22,"hex_longitude":"2d19a940","hex_latitude":"0720af58","is_valid_coordinates":true} 
[2026-07-08 15:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577597696001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4847970105163776,"note":"Value kept but may cause issues"} 
[2026-07-08 15:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852246114857332736,"note":"Value kept but may cause issues"} 
[2026-07-08 15:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783506247000,"timestamp_ms":1783506247000,"timestamp_seconds":1783506247,"priority":1,"record_length":96,"hex_timestamp":"0000019f41419d58"} 
[2026-07-08 15:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-08 15:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577597696001,"66":14048,"103":206,"83":41984,"24":22,"16":4847970105163776,"45":1852246114857332736},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 15:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577597696001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:56:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 15:56:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4847970105163776,"km_value":4847970105163.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852246114857332736,"description":"Unknown IO ID 45"} 
[2026-07-08 15:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577597696001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1852246114857332736}} 
[2026-07-08 15:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":125679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:56:06] local.INFO: GPS data processed {"connection_id":125679,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:56:06] local.INFO: Acknowledgment sent {"connection_id":125679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:56:09] local.INFO: TCP Data received {"connection_id":126442,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f414231c8012d7b2cc005ebf0c8000000410a..."} 
[2026-07-08 15:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414231c8012d7b2cc005ebf0c8000000410a..."} 
[2026-07-08 15:56:09] local.INFO: Processing buffer {"connection_id":126442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414231c8012d7b2cc005ebf0c8000000410a..."} 
[2026-07-08 15:56:09] local.INFO: Packet analysis {"connection_id":126442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4142"} 
[2026-07-08 15:56:09] local.INFO: Extracted packet for processing {"connection_id":126442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4142"} 
[2026-07-08 15:56:09] local.INFO: GPS Element Parsed {"raw_longitude":763047104,"raw_latitude":99348680,"longitude_deg":76.3047104,"latitude_deg":9.934868,"altitude":0,"angle":65,"satellites":10,"speed":33,"hex_longitude":"2d7b2cc0","hex_latitude":"05ebf0c8","is_valid_coordinates":true} 
[2026-07-08 15:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577606400001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103717949755359232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865969210608740352,"note":"Value kept but may cause issues"} 
[2026-07-08 15:56:09] 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-07-08 15:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783506285000,"timestamp_ms":1783506285000,"timestamp_seconds":1783506285,"priority":1,"record_length":96,"hex_timestamp":"0000019f414231c8"} 
[2026-07-08 15:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-08 15:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:56: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-07-08 15:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 15:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 15:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577606400001,"66":13276,"156":206,"87":13824,"24":33,"16":103717949755359232,"45":8865969210608740352},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-08 15:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 15:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 15:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577606400001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:56:09] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 15:56:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 15:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103717949755359232,"km_value":103717949755359.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865969210608740352,"description":"Unknown IO ID 45"} 
[2026-07-08 15:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577606400001,"power":13276,"unknown_156":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8865969210608740352}} 
[2026-07-08 15:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":126442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452188,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:56:09] local.INFO: GPS data processed {"connection_id":126442,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:56:09] local.INFO: Acknowledgment sent {"connection_id":126442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:56:24] local.INFO: TCP Data received {"connection_id":125676,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f41434ef0012d0a80c00705aa80001a00c623..."} 
[2026-07-08 15:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41434ef0012d0a80c00705aa80001a00c623..."} 
[2026-07-08 15:56:24] local.INFO: Processing buffer {"connection_id":125676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41434ef0012d0a80c00705aa80001a00c623..."} 
[2026-07-08 15:56:24] local.INFO: Packet analysis {"connection_id":125676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4143"} 
[2026-07-08 15:56:24] local.INFO: Extracted packet for processing {"connection_id":125676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4143"} 
[2026-07-08 15:56:24] local.INFO: GPS Element Parsed {"raw_longitude":755663040,"raw_latitude":117811840,"longitude_deg":75.566304,"latitude_deg":11.781184,"altitude":26,"angle":198,"satellites":35,"speed":12,"hex_longitude":"2d0a80c0","hex_latitude":"0705aa80","is_valid_coordinates":true} 
[2026-07-08 15:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577627392001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23610921284796416,"note":"Value kept but may cause issues"} 
[2026-07-08 15:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":756815873790683136,"note":"Value kept but may cause issues"} 
[2026-07-08 15:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783506358000,"timestamp_ms":1783506358000,"timestamp_seconds":1783506358,"priority":1,"record_length":96,"hex_timestamp":"0000019f41434ef0"} 
[2026-07-08 15:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:56: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-07-08 15:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-08 15:56:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:56:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125676,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125676,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:56:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577627392001,"66":14461,"153":206,"94":10240,"24":12,"16":23610921284796416,"45":756815873790683136},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-08 15:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577627392001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:56:24] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-08 15:56:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 15:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23610921284796416,"km_value":23610921284796.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":756815873790683136,"description":"Unknown IO ID 45"} 
[2026-07-08 15:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577627392001,"power":14461,"unknown_153":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":756815873790683136}} 
[2026-07-08 15:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":125676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452189,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:56:24] local.INFO: GPS data processed {"connection_id":125676,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:56:24] local.INFO: Acknowledgment sent {"connection_id":125676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:56:33] local.INFO: TCP Data received {"connection_id":125677,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f41406ca8012d9aa38005781260000700f827..."} 
[2026-07-08 15:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41406ca8012d9aa38005781260000700f827..."} 
[2026-07-08 15:56:33] local.INFO: Processing buffer {"connection_id":125677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41406ca8012d9aa38005781260000700f827..."} 
[2026-07-08 15:56:33] local.INFO: Packet analysis {"connection_id":125677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4140"} 
[2026-07-08 15:56:33] local.INFO: Extracted packet for processing {"connection_id":125677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4140"} 
[2026-07-08 15:56:33] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":39,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577502208001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:56:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783506169000,"timestamp_ms":1783506169000,"timestamp_seconds":1783506169,"priority":1,"record_length":96,"hex_timestamp":"0000019f41406ca8"} 
[2026-07-08 15:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-08 15:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:56:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577502208001,"66":25756,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577502208001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:56:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:56:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577502208001,"power":25756,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":125677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:56:33] local.INFO: GPS data processed {"connection_id":125677,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:56:33] local.INFO: Acknowledgment sent {"connection_id":125677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:56:37] local.INFO: TCP Data received {"connection_id":125679,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4141d020012d1990000720b2900037010c2a..."} 
[2026-07-08 15:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4141d020012d1990000720b2900037010c2a..."} 
[2026-07-08 15:56:37] local.INFO: Processing buffer {"connection_id":125679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4141d020012d1990000720b2900037010c2a..."} 
[2026-07-08 15:56:37] local.INFO: Packet analysis {"connection_id":125679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4141"} 
[2026-07-08 15:56:37] local.INFO: Extracted packet for processing {"connection_id":125679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4141"} 
[2026-07-08 15:56:37] local.INFO: GPS Element Parsed {"raw_longitude":756649984,"raw_latitude":119583376,"longitude_deg":75.6649984,"latitude_deg":11.9583376,"altitude":55,"angle":268,"satellites":42,"speed":6,"hex_longitude":"2d199000","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-07-08 15:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577599232001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4848275047841792,"note":"Value kept but may cause issues"} 
[2026-07-08 15:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849079521369610240,"note":"Value kept but may cause issues"} 
[2026-07-08 15:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783506260000,"timestamp_ms":1783506260000,"timestamp_seconds":1783506260,"priority":1,"record_length":96,"hex_timestamp":"0000019f4141d020"} 
[2026-07-08 15:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-08 15:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577599232001,"66":14233,"103":206,"83":41984,"24":6,"16":4848275047841792,"45":1849079521369610240},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 15:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577599232001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:56:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 15:56:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4848275047841792,"km_value":4848275047841.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849079521369610240,"description":"Unknown IO ID 45"} 
[2026-07-08 15:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577599232001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1849079521369610240}} 
[2026-07-08 15:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":125679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:56:37] local.INFO: GPS data processed {"connection_id":125679,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:56:37] local.INFO: Acknowledgment sent {"connection_id":125679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:56:40] local.INFO: TCP Data received {"connection_id":126442,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f41425cc0012d7b4f0005ec01e0000000410b..."} 
[2026-07-08 15:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41425cc0012d7b4f0005ec01e0000000410b..."} 
[2026-07-08 15:56:40] local.INFO: Processing buffer {"connection_id":126442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41425cc0012d7b4f0005ec01e0000000410b..."} 
[2026-07-08 15:56:40] local.INFO: Packet analysis {"connection_id":126442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4142"} 
[2026-07-08 15:56:40] local.INFO: Extracted packet for processing {"connection_id":126442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4142"} 
[2026-07-08 15:56:40] local.INFO: GPS Element Parsed {"raw_longitude":763055872,"raw_latitude":99353056,"longitude_deg":76.3055872,"latitude_deg":9.9353056,"altitude":0,"angle":65,"satellites":11,"speed":34,"hex_longitude":"2d7b4f00","hex_latitude":"05ec01e0","is_valid_coordinates":true} 
[2026-07-08 15:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577608960001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103718417906794496,"note":"Value kept but may cause issues"} 
[2026-07-08 15:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875680097306200064,"note":"Value kept but may cause issues"} 
[2026-07-08 15:56:40] 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-07-08 15:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783506296000,"timestamp_ms":1783506296000,"timestamp_seconds":1783506296,"priority":1,"record_length":96,"hex_timestamp":"0000019f41425cc0"} 
[2026-07-08 15:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-08 15:56: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-07-08 15:56:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 15:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 15:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577608960001,"66":13178,"156":206,"87":13824,"24":34,"16":103718417906794496,"45":8875680097306200064},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-08 15:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 15:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 15:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577608960001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:56:40] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 15:56:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 15:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103718417906794496,"km_value":103718417906794.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875680097306200064,"description":"Unknown IO ID 45"} 
[2026-07-08 15:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577608960001,"power":13178,"unknown_156":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8875680097306200064}} 
[2026-07-08 15:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":126442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452192,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:56:41] local.INFO: GPS data processed {"connection_id":126442,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:56:41] local.INFO: Acknowledgment sent {"connection_id":126442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:56:50] local.INFO: TCP Data received {"connection_id":126443,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126443,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:56:50] local.INFO: Processing buffer {"connection_id":126443,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:56:50] local.INFO: IMEI packet received {"connection_id":126443,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":126443,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:56:54] local.INFO: TCP Data received {"connection_id":126443,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126443,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:56:54] local.INFO: Processing buffer {"connection_id":126443,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:56:54] local.INFO: IMEI packet received {"connection_id":126443,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":126443,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:56:55] local.INFO: TCP Data received {"connection_id":125680,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:56:55] local.INFO: Processing buffer {"connection_id":125680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:56:55] local.INFO: IMEI packet received {"connection_id":125680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":125680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:56:55] local.INFO: TCP Data received {"connection_id":126443,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f414352d8012d0a80400705a938001a00d323..."} 
[2026-07-08 15:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414352d8012d0a80400705a938001a00d323..."} 
[2026-07-08 15:56:55] local.INFO: Processing buffer {"connection_id":126443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414352d8012d0a80400705a938001a00d323..."} 
[2026-07-08 15:56:55] local.INFO: Packet analysis {"connection_id":126443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4143"} 
[2026-07-08 15:56:55] local.INFO: Extracted packet for processing {"connection_id":126443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4143"} 
[2026-07-08 15:56:55] local.INFO: GPS Element Parsed {"raw_longitude":755662912,"raw_latitude":117811512,"longitude_deg":75.5662912,"latitude_deg":11.7811512,"altitude":26,"angle":211,"satellites":35,"speed":15,"hex_longitude":"2d0a8040","hex_latitude":"0705a938","is_valid_coordinates":true} 
[2026-07-08 15:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577627648001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23610938464665600,"note":"Value kept but may cause issues"} 
[2026-07-08 15:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":756815873790607360,"note":"Value kept but may cause issues"} 
[2026-07-08 15:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783506359000,"timestamp_ms":1783506359000,"timestamp_seconds":1783506359,"priority":1,"record_length":96,"hex_timestamp":"0000019f414352d8"} 
[2026-07-08 15:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-08 15:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:56:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":126443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":126443,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":126443,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577627648001,"66":14515,"153":206,"94":10240,"24":15,"16":23610938464665600,"45":756815873790607360},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-08 15:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577627648001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:56:55] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-08 15:56:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 15:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23610938464665600,"km_value":23610938464665.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":756815873790607360,"description":"Unknown IO ID 45"} 
[2026-07-08 15:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577627648001,"power":14515,"unknown_153":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":756815873790607360}} 
[2026-07-08 15:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":126443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452193,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:56:55] local.INFO: GPS data processed {"connection_id":126443,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:56:55] local.INFO: Acknowledgment sent {"connection_id":126443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:57:00] local.INFO: TCP Data received {"connection_id":126444,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:57:00] local.INFO: Processing buffer {"connection_id":126444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:57:00] local.INFO: IMEI packet received {"connection_id":126444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":126444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:57:01] local.INFO: TCP Data received {"connection_id":125680,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:57:01] local.INFO: Processing buffer {"connection_id":125680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:57:01] local.INFO: IMEI packet received {"connection_id":125680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":125680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:57:01] local.INFO: TCP Data received {"connection_id":125680,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f41406ca8012d9aa38005781260000700f827..."} 
[2026-07-08 15:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41406ca8012d9aa38005781260000700f827..."} 
[2026-07-08 15:57:01] local.INFO: Processing buffer {"connection_id":125680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41406ca8012d9aa38005781260000700f827..."} 
[2026-07-08 15:57:01] local.INFO: Packet analysis {"connection_id":125680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4140"} 
[2026-07-08 15:57:01] local.INFO: Extracted packet for processing {"connection_id":125680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4140"} 
[2026-07-08 15:57:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":39,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577502208001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:57:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783506169000,"timestamp_ms":1783506169000,"timestamp_seconds":1783506169,"priority":1,"record_length":96,"hex_timestamp":"0000019f41406ca8"} 
[2026-07-08 15:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:57:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-08 15:57:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577502208001,"66":25756,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577502208001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:57:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:57:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577502208001,"power":25756,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":125680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:57:01] local.INFO: GPS data processed {"connection_id":125680,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:57:01] local.INFO: Acknowledgment sent {"connection_id":125680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:57:05] local.INFO: TCP Data received {"connection_id":126444,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:57:05] local.INFO: Processing buffer {"connection_id":126444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:57:05] local.INFO: IMEI packet received {"connection_id":126444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":126444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:57:06] local.INFO: TCP Data received {"connection_id":126444,"ip":"42.106.6.26","data_length":93,"data_hex":"00000000000000518e010000019f41437dd0012d18de400720f710003b013929..."} 
[2026-07-08 15:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126444,"packet_length":93,"packet_hex":"00000000000000518e010000019f41437dd0012d18de400720f710003b013929..."} 
[2026-07-08 15:57:06] local.INFO: Processing buffer {"connection_id":126444,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f41437dd0012d18de400720f710003b013929..."} 
[2026-07-08 15:57:06] local.INFO: Packet analysis {"connection_id":126444,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f4143"} 
[2026-07-08 15:57:06] local.INFO: Extracted packet for processing {"connection_id":126444,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f4143"} 
[2026-07-08 15:57:06] local.INFO: GPS Element Parsed {"raw_longitude":756604480,"raw_latitude":119600912,"longitude_deg":75.660448,"latitude_deg":11.9600912,"altitude":59,"angle":313,"satellites":41,"speed":31,"hex_longitude":"2d18de40","hex_latitude":"0720f710","is_valid_coordinates":true} 
[2026-07-08 15:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-08 15:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:57:06] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:57:06] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-08 15:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126444,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-08 15:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126444,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-08 15:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126444,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-08 15:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-08 15:57:06] local.WARNING: DEBUG: No valid data to process  
[2026-07-08 15:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":126444,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-08 15:57:06] local.ERROR: GPS data processing failed {"connection_id":126444,"error":"No valid data to process"} 
[2026-07-08 15:57:06] local.INFO: Acknowledgment sent {"connection_id":126444,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-08 15:57:12] local.INFO: TCP Data received {"connection_id":126442,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f414287b8012d7b720005ec0fb0000700470b..."} 
[2026-07-08 15:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414287b8012d7b720005ec0fb0000700470b..."} 
[2026-07-08 15:57:12] local.INFO: Processing buffer {"connection_id":126442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414287b8012d7b720005ec0fb0000700470b..."} 
[2026-07-08 15:57:12] local.INFO: Packet analysis {"connection_id":126442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4142"} 
[2026-07-08 15:57:12] local.INFO: Extracted packet for processing {"connection_id":126442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4142"} 
[2026-07-08 15:57:12] local.INFO: GPS Element Parsed {"raw_longitude":763064832,"raw_latitude":99356592,"longitude_deg":76.3064832,"latitude_deg":9.9356592,"altitude":7,"angle":71,"satellites":11,"speed":35,"hex_longitude":"2d7b7200","hex_latitude":"05ec0fb0","is_valid_coordinates":true} 
[2026-07-08 15:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577611776001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103718877468295168,"note":"Value kept but may cause issues"} 
[2026-07-08 15:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885320615259660288,"note":"Value kept but may cause issues"} 
[2026-07-08 15:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783506307000,"timestamp_ms":1783506307000,"timestamp_seconds":1783506307,"priority":1,"record_length":96,"hex_timestamp":"0000019f414287b8"} 
[2026-07-08 15:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-08 15:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":126442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":126442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":126442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 15:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 15:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577611776001,"66":13189,"196":206,"87":13824,"24":35,"16":103718877468295168,"45":8885320615259660288},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-07-08 15:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 15:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 15:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577611776001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:57:12] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-08 15:57:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 15:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103718877468295168,"km_value":103718877468295.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885320615259660288,"description":"Unknown IO ID 45"} 
[2026-07-08 15:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577611776001,"power":13189,"unknown_196":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8885320615259660288}} 
[2026-07-08 15:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":126442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452195,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:57:12] local.INFO: GPS data processed {"connection_id":126442,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:57:12] local.INFO: Acknowledgment sent {"connection_id":126442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:57:27] local.INFO: TCP Data received {"connection_id":126443,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f414385a0012d0a734007059590001600e023..."} 
[2026-07-08 15:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414385a0012d0a734007059590001600e023..."} 
[2026-07-08 15:57:27] local.INFO: Processing buffer {"connection_id":126443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414385a0012d0a734007059590001600e023..."} 
[2026-07-08 15:57:27] local.INFO: Packet analysis {"connection_id":126443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4143"} 
[2026-07-08 15:57:27] local.INFO: Extracted packet for processing {"connection_id":126443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4143"} 
[2026-07-08 15:57:27] local.INFO: GPS Element Parsed {"raw_longitude":755659584,"raw_latitude":117806480,"longitude_deg":75.5659584,"latitude_deg":11.780648,"altitude":22,"angle":224,"satellites":35,"speed":14,"hex_longitude":"2d0a7340","hex_latitude":"07059590","is_valid_coordinates":true} 
[2026-07-08 15:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577627904001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23611230522441728,"note":"Value kept but may cause issues"} 
[2026-07-08 15:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":756675136302168064,"note":"Value kept but may cause issues"} 
[2026-07-08 15:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783506372000,"timestamp_ms":1783506372000,"timestamp_seconds":1783506372,"priority":1,"record_length":96,"hex_timestamp":"0000019f414385a0"} 
[2026-07-08 15:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:57: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-07-08 15:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 15:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":126443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":126443,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":126443,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577627904001,"66":14439,"153":206,"94":10240,"24":14,"16":23611230522441728,"45":756675136302168064},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-08 15:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577627904001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:57:27] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-08 15:57:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 15:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23611230522441728,"km_value":23611230522441.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":756675136302168064,"description":"Unknown IO ID 45"} 
[2026-07-08 15:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577627904001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":756675136302168064}} 
[2026-07-08 15:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":126443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452196,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:57:27] local.INFO: GPS data processed {"connection_id":126443,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:57:27] local.INFO: Acknowledgment sent {"connection_id":126443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:57:32] local.INFO: TCP Data received {"connection_id":125680,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f41406ca8012d9aa38005781260000700f827..."} 
[2026-07-08 15:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41406ca8012d9aa38005781260000700f827..."} 
[2026-07-08 15:57:32] local.INFO: Processing buffer {"connection_id":125680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41406ca8012d9aa38005781260000700f827..."} 
[2026-07-08 15:57:32] local.INFO: Packet analysis {"connection_id":125680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4140"} 
[2026-07-08 15:57:32] local.INFO: Extracted packet for processing {"connection_id":125680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4140"} 
[2026-07-08 15:57:32] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":39,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577502208001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:57:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783506169000,"timestamp_ms":1783506169000,"timestamp_seconds":1783506169,"priority":1,"record_length":96,"hex_timestamp":"0000019f41406ca8"} 
[2026-07-08 15:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-08 15:57:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:57: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-07-08 15:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577502208001,"66":25756,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577502208001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:57:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:57:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577502208001,"power":25756,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":125680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:57:32] local.INFO: GPS data processed {"connection_id":125680,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:57:32] local.INFO: Acknowledgment sent {"connection_id":125680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:57:38] local.INFO: TCP Data received {"connection_id":126444,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41438988012d18d7400720fe28003c014629..."} 
[2026-07-08 15:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41438988012d18d7400720fe28003c014629..."} 
[2026-07-08 15:57:38] local.INFO: Processing buffer {"connection_id":126444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41438988012d18d7400720fe28003c014629..."} 
[2026-07-08 15:57:38] local.INFO: Packet analysis {"connection_id":126444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4143"} 
[2026-07-08 15:57:38] local.INFO: Extracted packet for processing {"connection_id":126444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4143"} 
[2026-07-08 15:57:38] local.INFO: GPS Element Parsed {"raw_longitude":756602688,"raw_latitude":119602728,"longitude_deg":75.6602688,"latitude_deg":11.9602728,"altitude":60,"angle":326,"satellites":41,"speed":33,"hex_longitude":"2d18d740","hex_latitude":"0720fe28","is_valid_coordinates":true} 
[2026-07-08 15:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577630720001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4850920747696128,"note":"Value kept but may cause issues"} 
[2026-07-08 15:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791940101102047232,"note":"Value kept but may cause issues"} 
[2026-07-08 15:57: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-07-08 15:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783506373000,"timestamp_ms":1783506373000,"timestamp_seconds":1783506373,"priority":1,"record_length":96,"hex_timestamp":"0000019f41438988"} 
[2026-07-08 15:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-08 15:57: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-07-08 15:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577630720001,"66":14461,"103":206,"83":41984,"24":33,"16":4850920747696128,"45":1791940101102047232},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 15:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577630720001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:57:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 15:57:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4850920747696128,"km_value":4850920747696.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791940101102047232,"description":"Unknown IO ID 45"} 
[2026-07-08 15:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577630720001,"power":14461,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1791940101102047232}} 
[2026-07-08 15:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":126444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:57:38] local.INFO: GPS data processed {"connection_id":126444,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:57:38] local.INFO: Acknowledgment sent {"connection_id":126444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:57:44] local.INFO: TCP Data received {"connection_id":126442,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4142aec8012d7b944005ec1990000a00480b..."} 
[2026-07-08 15:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4142aec8012d7b944005ec1990000a00480b..."} 
[2026-07-08 15:57:44] local.INFO: Processing buffer {"connection_id":126442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4142aec8012d7b944005ec1990000a00480b..."} 
[2026-07-08 15:57:44] local.INFO: Packet analysis {"connection_id":126442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4142"} 
[2026-07-08 15:57:44] local.INFO: Extracted packet for processing {"connection_id":126442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4142"} 
[2026-07-08 15:57:44] local.INFO: GPS Element Parsed {"raw_longitude":763073600,"raw_latitude":99359120,"longitude_deg":76.30736,"latitude_deg":9.935912,"altitude":10,"angle":72,"satellites":11,"speed":30,"hex_longitude":"2d7b9440","hex_latitude":"05ec1990","is_valid_coordinates":true} 
[2026-07-08 15:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577614592001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103719311259992064,"note":"Value kept but may cause issues"} 
[2026-07-08 15:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895172239445438464,"note":"Value kept but may cause issues"} 
[2026-07-08 15:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783506317000,"timestamp_ms":1783506317000,"timestamp_seconds":1783506317,"priority":1,"record_length":96,"hex_timestamp":"0000019f4142aec8"} 
[2026-07-08 15:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:57:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-08 15:57: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-07-08 15:57:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":126442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":126442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":126442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 15:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 15:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577614592001,"66":12939,"196":206,"87":13824,"24":30,"16":103719311259992064,"45":8895172239445438464},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-07-08 15:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 15:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 15:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577614592001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:57:44] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-08 15:57:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 15:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103719311259992064,"km_value":103719311259992.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895172239445438464,"description":"Unknown IO ID 45"} 
[2026-07-08 15:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577614592001,"power":12939,"unknown_196":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8895172239445438464}} 
[2026-07-08 15:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":126442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452199,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:57:44] local.INFO: GPS data processed {"connection_id":126442,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:57:44] local.INFO: Acknowledgment sent {"connection_id":126442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:57:45] local.INFO: TCP Data received {"connection_id":125572,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125572,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:57:45] local.INFO: Processing buffer {"connection_id":125572,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:57:45] local.INFO: IMEI packet received {"connection_id":125572,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":125572,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:57:46] local.INFO: TCP Data received {"connection_id":125572,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125572,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:57:46] local.INFO: Processing buffer {"connection_id":125572,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:57:46] local.INFO: IMEI packet received {"connection_id":125572,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":125572,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:57:50] local.INFO: TCP Data received {"connection_id":125572,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125572,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:57:50] local.INFO: Processing buffer {"connection_id":125572,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:57:50] local.INFO: IMEI packet received {"connection_id":125572,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":125572,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:57:51] local.INFO: TCP Data received {"connection_id":125572,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4143b098012d0a660007058798001400f023..."} 
[2026-07-08 15:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4143b098012d0a660007058798001400f023..."} 
[2026-07-08 15:57:51] local.INFO: Processing buffer {"connection_id":125572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4143b098012d0a660007058798001400f023..."} 
[2026-07-08 15:57:51] local.INFO: Packet analysis {"connection_id":125572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4143"} 
[2026-07-08 15:57:51] local.INFO: Extracted packet for processing {"connection_id":125572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4143"} 
[2026-07-08 15:57:51] local.INFO: GPS Element Parsed {"raw_longitude":755656192,"raw_latitude":117802904,"longitude_deg":75.5656192,"latitude_deg":11.7802904,"altitude":20,"angle":240,"satellites":35,"speed":22,"hex_longitude":"2d0a6600","hex_latitude":"07058798","is_valid_coordinates":true} 
[2026-07-08 15:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577631232001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23611466745643008,"note":"Value kept but may cause issues"} 
[2026-07-08 15:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753015961603641344,"note":"Value kept but may cause issues"} 
[2026-07-08 15:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783506383000,"timestamp_ms":1783506383000,"timestamp_seconds":1783506383,"priority":1,"record_length":96,"hex_timestamp":"0000019f4143b098"} 
[2026-07-08 15:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-08 15:57:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:57:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125572,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125572,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577631232001,"66":14494,"153":206,"94":10240,"24":22,"16":23611466745643008,"45":753015961603641344},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-08 15:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577631232001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:57:51] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-08 15:57:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 15:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23611466745643008,"km_value":23611466745643.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":753015961603641344,"description":"Unknown IO ID 45"} 
[2026-07-08 15:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577631232001,"power":14494,"unknown_153":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":753015961603641344}} 
[2026-07-08 15:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":125572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452200,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:57:51] local.INFO: GPS data processed {"connection_id":125572,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:57:51] local.INFO: Acknowledgment sent {"connection_id":125572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:57:52] local.INFO: TCP Data received {"connection_id":125572,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4143df78012d0a51c007057be8001400ff23..."} 
[2026-07-08 15:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4143df78012d0a51c007057be8001400ff23..."} 
[2026-07-08 15:57:52] local.INFO: Processing buffer {"connection_id":125572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4143df78012d0a51c007057be8001400ff23..."} 
[2026-07-08 15:57:52] local.INFO: Packet analysis {"connection_id":125572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4143"} 
[2026-07-08 15:57:52] local.INFO: Extracted packet for processing {"connection_id":125572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4143"} 
[2026-07-08 15:57:52] local.INFO: GPS Element Parsed {"raw_longitude":755651008,"raw_latitude":117799912,"longitude_deg":75.5651008,"latitude_deg":11.7799912,"altitude":20,"angle":255,"satellites":35,"speed":7,"hex_longitude":"2d0a51c0","hex_latitude":"07057be8","is_valid_coordinates":true} 
[2026-07-08 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-07-08 15:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577634048001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23611754508451840,"note":"Value kept but may cause issues"} 
[2026-07-08 15:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":749286418161309696,"note":"Value kept but may cause issues"} 
[2026-07-08 15:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783506395000,"timestamp_ms":1783506395000,"timestamp_seconds":1783506395,"priority":1,"record_length":96,"hex_timestamp":"0000019f4143df78"} 
[2026-07-08 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-07-08 15:57: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-07-08 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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-08 15:57:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 15:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":125572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":125572,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":125572,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577634048001,"66":14515,"153":206,"94":10240,"24":7,"16":23611754508451840,"45":749286418161309696},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-08 15:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577634048001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:57:52] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-08 15:57:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 15:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23611754508451840,"km_value":23611754508451.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":749286418161309696,"description":"Unknown IO ID 45"} 
[2026-07-08 15:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577634048001,"power":14515,"unknown_153":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":749286418161309696}} 
[2026-07-08 15:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":125572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452201,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:57:52] local.INFO: GPS data processed {"connection_id":125572,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:57:52] local.INFO: Acknowledgment sent {"connection_id":125572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:58:00] local.INFO: TCP Data received {"connection_id":125682,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:58:00] local.INFO: Processing buffer {"connection_id":125682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:58:00] local.INFO: IMEI packet received {"connection_id":125682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":125682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:58:01] local.INFO: TCP Data received {"connection_id":125681,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:58:01] local.INFO: Processing buffer {"connection_id":125681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:58:01] local.INFO: IMEI packet received {"connection_id":125681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":125681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:58:01] local.INFO: TCP Data received {"connection_id":125682,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:58:01] local.INFO: Processing buffer {"connection_id":125682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:58:01] local.INFO: IMEI packet received {"connection_id":125682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":125682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:58:05] local.INFO: TCP Data received {"connection_id":125682,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:58:05] local.INFO: Processing buffer {"connection_id":125682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:58:05] local.INFO: IMEI packet received {"connection_id":125682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":125682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:58:06] local.INFO: TCP Data received {"connection_id":125681,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:58:06] local.INFO: Processing buffer {"connection_id":125681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:58:06] local.INFO: IMEI packet received {"connection_id":125681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":125681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:58:06] local.INFO: TCP Data received {"connection_id":125682,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41439158012d18d44007210450003c015429..."} 
[2026-07-08 15:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41439158012d18d44007210450003c015429..."} 
[2026-07-08 15:58:06] local.INFO: Processing buffer {"connection_id":125682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41439158012d18d44007210450003c015429..."} 
[2026-07-08 15:58:06] local.INFO: Packet analysis {"connection_id":125682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4143"} 
[2026-07-08 15:58:06] local.INFO: Extracted packet for processing {"connection_id":125682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4143"} 
[2026-07-08 15:58:06] local.INFO: GPS Element Parsed {"raw_longitude":756601920,"raw_latitude":119604304,"longitude_deg":75.660192,"latitude_deg":11.9604304,"altitude":60,"angle":340,"satellites":41,"speed":35,"hex_longitude":"2d18d440","hex_latitude":"07210450","is_valid_coordinates":true} 
[2026-07-08 15:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577631488001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4851002352074752,"note":"Value kept but may cause issues"} 
[2026-07-08 15:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789969776265537536,"note":"Value kept but may cause issues"} 
[2026-07-08 15:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783506375000,"timestamp_ms":1783506375000,"timestamp_seconds":1783506375,"priority":1,"record_length":96,"hex_timestamp":"0000019f41439158"} 
[2026-07-08 15:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-08 15:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577631488001,"66":13689,"103":206,"83":41984,"24":35,"16":4851002352074752,"45":1789969776265537536},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 15:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577631488001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:58:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 15:58:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4851002352074752,"km_value":4851002352074.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789969776265537536,"description":"Unknown IO ID 45"} 
[2026-07-08 15:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577631488001,"power":13689,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1789969776265537536}} 
[2026-07-08 15:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":125682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:58:06] local.INFO: GPS data processed {"connection_id":125682,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:58:06] local.INFO: Acknowledgment sent {"connection_id":125682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:58:06] local.INFO: TCP Data received {"connection_id":125681,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f41406ca8012d9aa38005781260000700f827..."} 
[2026-07-08 15:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41406ca8012d9aa38005781260000700f827..."} 
[2026-07-08 15:58:06] local.INFO: Processing buffer {"connection_id":125681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41406ca8012d9aa38005781260000700f827..."} 
[2026-07-08 15:58:06] local.INFO: Packet analysis {"connection_id":125681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4140"} 
[2026-07-08 15:58:06] local.INFO: Extracted packet for processing {"connection_id":125681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4140"} 
[2026-07-08 15:58:06] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":39,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577502208001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:58:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783506169000,"timestamp_ms":1783506169000,"timestamp_seconds":1783506169,"priority":1,"record_length":96,"hex_timestamp":"0000019f41406ca8"} 
[2026-07-08 15:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-08 15:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577502208001,"66":25756,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577502208001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:58:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:58:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577502208001,"power":25756,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":125681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:58:06] local.INFO: GPS data processed {"connection_id":125681,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:58:06] local.INFO: Acknowledgment sent {"connection_id":125681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:58:11] local.INFO: TCP Data received {"connection_id":125681,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f41406ca8012d9aa38005781260000700f827..."} 
[2026-07-08 15:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41406ca8012d9aa38005781260000700f827..."} 
[2026-07-08 15:58:11] local.INFO: Processing buffer {"connection_id":125681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41406ca8012d9aa38005781260000700f827..."} 
[2026-07-08 15:58:11] local.INFO: Packet analysis {"connection_id":125681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4140"} 
[2026-07-08 15:58:11] local.INFO: Extracted packet for processing {"connection_id":125681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4140"} 
[2026-07-08 15:58:11] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":39,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577502208001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:58:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783506169000,"timestamp_ms":1783506169000,"timestamp_seconds":1783506169,"priority":1,"record_length":96,"hex_timestamp":"0000019f41406ca8"} 
[2026-07-08 15:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-08 15:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577502208001,"66":25756,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577502208001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:58:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:58:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577502208001,"power":25756,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":125681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:58:11] local.INFO: GPS data processed {"connection_id":125681,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:58:11] local.INFO: Acknowledgment sent {"connection_id":125681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:58:15] local.INFO: TCP Data received {"connection_id":126442,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f41450858012d7d1a8005ec41900000012413..."} 
[2026-07-08 15:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41450858012d7d1a8005ec41900000012413..."} 
[2026-07-08 15:58:15] local.INFO: Processing buffer {"connection_id":126442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41450858012d7d1a8005ec41900000012413..."} 
[2026-07-08 15:58:15] local.INFO: Packet analysis {"connection_id":126442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 15:58:15] local.INFO: Extracted packet for processing {"connection_id":126442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 15:58:15] local.INFO: GPS Element Parsed {"raw_longitude":763173504,"raw_latitude":99369360,"longitude_deg":76.3173504,"latitude_deg":9.936936,"altitude":0,"angle":292,"satellites":19,"speed":9,"hex_longitude":"2d7d1a80","hex_latitude":"05ec4190","is_valid_coordinates":true} 
[2026-07-08 15:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577656320001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103724224702578688,"note":"Value kept but may cause issues"} 
[2026-07-08 15:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014869473294878720,"note":"Value kept but may cause issues"} 
[2026-07-08 15:58: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-07-08 15:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783506471000,"timestamp_ms":1783506471000,"timestamp_seconds":1783506471,"priority":1,"record_length":96,"hex_timestamp":"0000019f41450858"} 
[2026-07-08 15:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:58:15] 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-07-08 15:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-08 15:58:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:58:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":126442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":126442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":126442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 15:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 15:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577656320001,"66":13222,"110":206,"87":13824,"24":9,"16":103724224702578688,"45":9014869473294878720},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 15:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 15:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 15:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577656320001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:58:15] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 15:58:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 15:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103724224702578688,"km_value":103724224702578.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014869473294878720,"description":"Unknown IO ID 45"} 
[2026-07-08 15:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577656320001,"power":13222,"unknown_110":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9014869473294878720}} 
[2026-07-08 15:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":126442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452205,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:58:15] local.INFO: GPS data processed {"connection_id":126442,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:58:15] local.INFO: Acknowledgment sent {"connection_id":126442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:58:23] local.INFO: TCP Data received {"connection_id":125572,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f41451be0012d0a2180070582b8001000fe22..."} 
[2026-07-08 15:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41451be0012d0a2180070582b8001000fe22..."} 
[2026-07-08 15:58:23] local.INFO: Processing buffer {"connection_id":125572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41451be0012d0a2180070582b8001000fe22..."} 
[2026-07-08 15:58:23] local.INFO: Packet analysis {"connection_id":125572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 15:58:23] local.INFO: Extracted packet for processing {"connection_id":125572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 15:58:23] local.INFO: GPS Element Parsed {"raw_longitude":755638656,"raw_latitude":117801656,"longitude_deg":75.5638656,"latitude_deg":11.7801656,"altitude":16,"angle":254,"satellites":34,"speed":7,"hex_longitude":"2d0a2180","hex_latitude":"070582b8","is_valid_coordinates":true} 
[2026-07-08 15:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577656320001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23612458883088384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":732609025791008768,"note":"Value kept but may cause issues"} 
[2026-07-08 15:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783506476000,"timestamp_ms":1783506476000,"timestamp_seconds":1783506476,"priority":1,"record_length":96,"hex_timestamp":"0000019f41451be0"} 
[2026-07-08 15:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:58: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-07-08 15:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-08 15:58:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:58:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":125572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":125572,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":125572,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577656320001,"66":14559,"177":206,"94":10240,"24":7,"16":23612458883088384,"45":732609025791008768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-08 15:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577656320001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:58:23] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-08 15:58:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 15:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23612458883088384,"km_value":23612458883088.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":732609025791008768,"description":"Unknown IO ID 45"} 
[2026-07-08 15:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577656320001,"power":14559,"unknown_177":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":732609025791008768}} 
[2026-07-08 15:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":125572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452206,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:58:23] local.INFO: GPS data processed {"connection_id":125572,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:58:23] local.INFO: Acknowledgment sent {"connection_id":125572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:58:31] local.INFO: TCP Data received {"connection_id":127670,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:58:31] local.INFO: Processing buffer {"connection_id":127670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:58:31] local.INFO: IMEI packet received {"connection_id":127670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 15:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":127670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:58:36] local.INFO: TCP Data received {"connection_id":127670,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:58:36] local.INFO: Processing buffer {"connection_id":127670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:58:36] local.INFO: IMEI packet received {"connection_id":127670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 15:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":127670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:58:37] local.INFO: TCP Data received {"connection_id":125682,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4144d1a8012d1820c00721a488004b012a28..."} 
[2026-07-08 15:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4144d1a8012d1820c00721a488004b012a28..."} 
[2026-07-08 15:58:37] local.INFO: Processing buffer {"connection_id":125682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4144d1a8012d1820c00721a488004b012a28..."} 
[2026-07-08 15:58:37] local.INFO: Packet analysis {"connection_id":125682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4144"} 
[2026-07-08 15:58:37] local.INFO: Extracted packet for processing {"connection_id":125682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4144"} 
[2026-07-08 15:58:37] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119645320,"longitude_deg":75.6555968,"latitude_deg":11.964532,"altitude":75,"angle":298,"satellites":40,"speed":10,"hex_longitude":"2d1820c0","hex_latitude":"0721a488","is_valid_coordinates":true} 
[2026-07-08 15:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577651456001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854335246696448,"note":"Value kept but may cause issues"} 
[2026-07-08 15:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740852392839987200,"note":"Value kept but may cause issues"} 
[2026-07-08 15:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783506457000,"timestamp_ms":1783506457000,"timestamp_seconds":1783506457,"priority":1,"record_length":96,"hex_timestamp":"0000019f4144d1a8"} 
[2026-07-08 15:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-08 15:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577651456001,"66":14102,"105":206,"83":41984,"24":10,"16":4854335246696448,"45":1740852392839987200},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 15:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577651456001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:58:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 15:58:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854335246696448,"km_value":4854335246696.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740852392839987200,"description":"Unknown IO ID 45"} 
[2026-07-08 15:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577651456001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1740852392839987200}} 
[2026-07-08 15:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":125682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:58:37] local.INFO: GPS data processed {"connection_id":125682,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:58:37] local.INFO: Acknowledgment sent {"connection_id":125682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:58:38] local.INFO: TCP Data received {"connection_id":127670,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f41450c40012d7d19c005ec41c00000011113..."} 
[2026-07-08 15:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41450c40012d7d19c005ec41c00000011113..."} 
[2026-07-08 15:58:38] local.INFO: Processing buffer {"connection_id":127670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41450c40012d7d19c005ec41c00000011113..."} 
[2026-07-08 15:58:38] local.INFO: Packet analysis {"connection_id":127670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 15:58:38] local.INFO: Extracted packet for processing {"connection_id":127670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 15:58:38] local.INFO: GPS Element Parsed {"raw_longitude":763173312,"raw_latitude":99369408,"longitude_deg":76.3173312,"latitude_deg":9.9369408,"altitude":0,"angle":273,"satellites":19,"speed":9,"hex_longitude":"2d7d19c0","hex_latitude":"05ec41c0","is_valid_coordinates":true} 
[2026-07-08 15:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577656576001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103724233292513280,"note":"Value kept but may cause issues"} 
[2026-07-08 15:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014658367062380544,"note":"Value kept but may cause issues"} 
[2026-07-08 15:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783506472000,"timestamp_ms":1783506472000,"timestamp_seconds":1783506472,"priority":1,"record_length":96,"hex_timestamp":"0000019f41450c40"} 
[2026-07-08 15:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:58:38] 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-07-08 15:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-08 15:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 15:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 15:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577656576001,"66":13222,"110":206,"87":13824,"24":9,"16":103724233292513280,"45":9014658367062380544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 15:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 15:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 15:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577656576001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:58:38] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 15:58:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 15:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103724233292513280,"km_value":103724233292513.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014658367062380544,"description":"Unknown IO ID 45"} 
[2026-07-08 15:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577656576001,"power":13222,"unknown_110":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9014658367062380544}} 
[2026-07-08 15:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":127670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452208,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:58:38] local.INFO: GPS data processed {"connection_id":127670,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:58:38] local.INFO: Acknowledgment sent {"connection_id":127670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:58:45] local.INFO: TCP Data received {"connection_id":125573,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125573,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:58:45] local.INFO: Processing buffer {"connection_id":125573,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:58:45] local.INFO: IMEI packet received {"connection_id":125573,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":125573,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:58:45] local.INFO: TCP Data received {"connection_id":125573,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125573,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:58:45] local.INFO: Processing buffer {"connection_id":125573,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:58:45] local.INFO: IMEI packet received {"connection_id":125573,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":125573,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:58:50] local.INFO: TCP Data received {"connection_id":125573,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125573,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:58:50] local.INFO: Processing buffer {"connection_id":125573,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:58:50] local.INFO: IMEI packet received {"connection_id":125573,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":125573,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:58:50] local.INFO: TCP Data received {"connection_id":125573,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f41453350012d0a1c40070581900010010d23..."} 
[2026-07-08 15:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41453350012d0a1c40070581900010010d23..."} 
[2026-07-08 15:58:50] local.INFO: Processing buffer {"connection_id":125573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41453350012d0a1c40070581900010010d23..."} 
[2026-07-08 15:58:50] local.INFO: Packet analysis {"connection_id":125573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 15:58:50] local.INFO: Extracted packet for processing {"connection_id":125573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 15:58:50] local.INFO: GPS Element Parsed {"raw_longitude":755637312,"raw_latitude":117801360,"longitude_deg":75.5637312,"latitude_deg":11.780136,"altitude":16,"angle":269,"satellites":35,"speed":14,"hex_longitude":"2d0a1c40","hex_latitude":"07058190","is_valid_coordinates":true} 
[2026-07-08 15:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577657856001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23612527602565120,"note":"Value kept but may cause issues"} 
[2026-07-08 15:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":730005382256310272,"note":"Value kept but may cause issues"} 
[2026-07-08 15:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783506482000,"timestamp_ms":1783506482000,"timestamp_seconds":1783506482,"priority":1,"record_length":96,"hex_timestamp":"0000019f41453350"} 
[2026-07-08 15:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:58: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-07-08 15:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-08 15:58:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":125573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":125573,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":125573,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577657856001,"66":14407,"177":206,"94":10240,"24":14,"16":23612527602565120,"45":730005382256310272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-08 15:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577657856001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:58:50] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-08 15:58:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 15:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23612527602565120,"km_value":23612527602565.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":730005382256310272,"description":"Unknown IO ID 45"} 
[2026-07-08 15:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577657856001,"power":14407,"unknown_177":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":730005382256310272}} 
[2026-07-08 15:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":125573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452209,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:58:51] local.INFO: GPS data processed {"connection_id":125573,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:58:51] local.INFO: Acknowledgment sent {"connection_id":125573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:58:56] local.INFO: TCP Data received {"connection_id":126445,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:58:56] local.INFO: Processing buffer {"connection_id":126445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:58:56] local.INFO: IMEI packet received {"connection_id":126445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":126445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:58:59] local.INFO: TCP Data received {"connection_id":125574,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:58:59] local.INFO: Processing buffer {"connection_id":125574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:58:59] local.INFO: IMEI packet received {"connection_id":125574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 15:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":125574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:59:00] local.INFO: TCP Data received {"connection_id":125574,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:59:00] local.INFO: Processing buffer {"connection_id":125574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:59:00] local.INFO: IMEI packet received {"connection_id":125574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":125574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:59:01] local.INFO: TCP Data received {"connection_id":126445,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:59:01] local.INFO: Processing buffer {"connection_id":126445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:59:01] local.INFO: IMEI packet received {"connection_id":126445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 15:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":126445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:59:01] local.INFO: TCP Data received {"connection_id":126445,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f41450470012d9aa38005781260000700f829..."} 
[2026-07-08 15:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41450470012d9aa38005781260000700f829..."} 
[2026-07-08 15:59:01] local.INFO: Processing buffer {"connection_id":126445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41450470012d9aa38005781260000700f829..."} 
[2026-07-08 15:59:01] local.INFO: Packet analysis {"connection_id":126445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 15:59:01] local.INFO: Extracted packet for processing {"connection_id":126445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 15:59:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577579264001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:59:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783506470000,"timestamp_ms":1783506470000,"timestamp_seconds":1783506470,"priority":1,"record_length":96,"hex_timestamp":"0000019f41450470"} 
[2026-07-08 15:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-08 15:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577579264001,"66":25702,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577579264001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:59:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:59:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577579264001,"power":25702,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":126445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:59:01] local.INFO: GPS data processed {"connection_id":126445,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:59:01] local.INFO: Acknowledgment sent {"connection_id":126445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:59:05] local.INFO: TCP Data received {"connection_id":125574,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:59:05] local.INFO: Processing buffer {"connection_id":125574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 15:59:05] local.INFO: IMEI packet received {"connection_id":125574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 15:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":125574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:59:06] local.INFO: TCP Data received {"connection_id":125574,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4144d590012d181fc00721a4e0004b011f28..."} 
[2026-07-08 15:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4144d590012d181fc00721a4e0004b011f28..."} 
[2026-07-08 15:59:06] local.INFO: Processing buffer {"connection_id":125574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4144d590012d181fc00721a4e0004b011f28..."} 
[2026-07-08 15:59:06] local.INFO: Packet analysis {"connection_id":125574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4144"} 
[2026-07-08 15:59:06] local.INFO: Extracted packet for processing {"connection_id":125574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4144"} 
[2026-07-08 15:59:06] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119645408,"longitude_deg":75.6555712,"latitude_deg":11.9645408,"altitude":75,"angle":287,"satellites":40,"speed":7,"hex_longitude":"2d181fc0","hex_latitude":"0721a4e0","is_valid_coordinates":true} 
[2026-07-08 15:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577652992001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854348131598336,"note":"Value kept but may cause issues"} 
[2026-07-08 15:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593026746368,"note":"Value kept but may cause issues"} 
[2026-07-08 15:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783506458000,"timestamp_ms":1783506458000,"timestamp_seconds":1783506458,"priority":1,"record_length":96,"hex_timestamp":"0000019f4144d590"} 
[2026-07-08 15:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-08 15:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577652992001,"66":14102,"105":206,"83":41984,"24":7,"16":4854348131598336,"45":1738600593026746368},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 15:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577652992001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:59:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 15:59:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854348131598336,"km_value":4854348131598.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593026746368,"description":"Unknown IO ID 45"} 
[2026-07-08 15:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577652992001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1738600593026746368}} 
[2026-07-08 15:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":125574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:59:06] local.INFO: GPS data processed {"connection_id":125574,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:59:06] local.INFO: Acknowledgment sent {"connection_id":125574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:59:09] local.INFO: TCP Data received {"connection_id":127670,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f414542f0012d7cf60005ec40f80000010c13..."} 
[2026-07-08 15:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414542f0012d7cf60005ec40f80000010c13..."} 
[2026-07-08 15:59:09] local.INFO: Processing buffer {"connection_id":127670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414542f0012d7cf60005ec40f80000010c13..."} 
[2026-07-08 15:59:09] local.INFO: Packet analysis {"connection_id":127670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 15:59:09] local.INFO: Extracted packet for processing {"connection_id":127670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 15:59:09] local.INFO: GPS Element Parsed {"raw_longitude":763164160,"raw_latitude":99369208,"longitude_deg":76.316416,"latitude_deg":9.9369208,"altitude":0,"angle":268,"satellites":19,"speed":27,"hex_longitude":"2d7cf600","hex_latitude":"05ec40f8","is_valid_coordinates":true} 
[2026-07-08 15:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577656832001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103724671379177472,"note":"Value kept but may cause issues"} 
[2026-07-08 15:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014447260829859840,"note":"Value kept but may cause issues"} 
[2026-07-08 15:59: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-07-08 15:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783506486000,"timestamp_ms":1783506486000,"timestamp_seconds":1783506486,"priority":1,"record_length":96,"hex_timestamp":"0000019f414542f0"} 
[2026-07-08 15:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:59:09] 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-07-08 15:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-08 15:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:59:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":127670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":127670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":127670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:59: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-07-08 15:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 15:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 15:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577656832001,"66":13374,"110":206,"87":13824,"24":27,"16":103724671379177472,"45":9014447260829859840},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 15:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 15:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 15:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577656832001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:59:09] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 15:59:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 15:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103724671379177472,"km_value":103724671379177.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014447260829859840,"description":"Unknown IO ID 45"} 
[2026-07-08 15:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577656832001,"power":13374,"unknown_110":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":9014447260829859840}} 
[2026-07-08 15:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":127670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452212,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:59:09] local.INFO: GPS data processed {"connection_id":127670,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:59:09] local.INFO: Acknowledgment sent {"connection_id":127670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:59:22] local.INFO: TCP Data received {"connection_id":125573,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f414640d8012d09d58007057460000d012222..."} 
[2026-07-08 15:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414640d8012d09d58007057460000d012222..."} 
[2026-07-08 15:59:22] local.INFO: Processing buffer {"connection_id":125573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414640d8012d09d58007057460000d012222..."} 
[2026-07-08 15:59:22] local.INFO: Packet analysis {"connection_id":125573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4146"} 
[2026-07-08 15:59:22] local.INFO: Extracted packet for processing {"connection_id":125573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4146"} 
[2026-07-08 15:59:22] local.INFO: GPS Element Parsed {"raw_longitude":755619200,"raw_latitude":117797984,"longitude_deg":75.56192,"latitude_deg":11.7797984,"altitude":13,"angle":290,"satellites":34,"speed":22,"hex_longitude":"2d09d580","hex_latitude":"07057460","is_valid_coordinates":true} 
[2026-07-08 15: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-07-08 15:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577676544001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23613528329945088,"note":"Value kept but may cause issues"} 
[2026-07-08 15:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":709739183932104704,"note":"Value kept but may cause issues"} 
[2026-07-08 15:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783506551000,"timestamp_ms":1783506551000,"timestamp_seconds":1783506551,"priority":1,"record_length":96,"hex_timestamp":"0000019f414640d8"} 
[2026-07-08 15:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:59: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-07-08 15: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-08 15:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15: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-07-08 15:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125573,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125573,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577676544001,"66":14515,"177":206,"94":10240,"24":22,"16":23613528329945088,"45":709739183932104704},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-08 15:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577676544001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:59:22] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-08 15:59:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 15:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23613528329945088,"km_value":23613528329945.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":709739183932104704,"description":"Unknown IO ID 45"} 
[2026-07-08 15:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577676544001,"power":14515,"unknown_177":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":709739183932104704}} 
[2026-07-08 15:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":125573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452213,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:59:22] local.INFO: GPS data processed {"connection_id":125573,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:59:22] local.INFO: Acknowledgment sent {"connection_id":125573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:59:32] local.INFO: TCP Data received {"connection_id":126445,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f41450470012d9aa38005781260000700f829..."} 
[2026-07-08 15:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41450470012d9aa38005781260000700f829..."} 
[2026-07-08 15:59:32] local.INFO: Processing buffer {"connection_id":126445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41450470012d9aa38005781260000700f829..."} 
[2026-07-08 15:59:32] local.INFO: Packet analysis {"connection_id":126445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 15:59:32] local.INFO: Extracted packet for processing {"connection_id":126445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 15:59:32] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 15:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577579264001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 15:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 15:59:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 15:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783506470000,"timestamp_ms":1783506470000,"timestamp_seconds":1783506470,"priority":1,"record_length":96,"hex_timestamp":"0000019f41450470"} 
[2026-07-08 15:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 15:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-08 15:59:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 15:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 15:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 15:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577579264001,"66":25702,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 15:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 15:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 15:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577579264001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:59:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 15:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 15:59:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577579264001,"power":25702,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 15:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":126445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:59:32] local.INFO: GPS data processed {"connection_id":126445,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:59:32] local.INFO: Acknowledgment sent {"connection_id":126445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:59:36] local.INFO: TCP Data received {"connection_id":127672,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127672,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:59:36] local.INFO: Processing buffer {"connection_id":127672,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:59:36] local.INFO: IMEI packet received {"connection_id":127672,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 15:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":127672,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:59:37] local.INFO: TCP Data received {"connection_id":125574,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4144d978012d181f400721a528004b012c28..."} 
[2026-07-08 15:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4144d978012d181f400721a528004b012c28..."} 
[2026-07-08 15:59:37] local.INFO: Processing buffer {"connection_id":125574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4144d978012d181f400721a528004b012c28..."} 
[2026-07-08 15:59:37] local.INFO: Packet analysis {"connection_id":125574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4144"} 
[2026-07-08 15:59:37] local.INFO: Extracted packet for processing {"connection_id":125574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4144"} 
[2026-07-08 15:59:37] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119645480,"longitude_deg":75.6555584,"latitude_deg":11.964548,"altitude":75,"angle":300,"satellites":40,"speed":6,"hex_longitude":"2d181f40","hex_latitude":"0721a528","is_valid_coordinates":true} 
[2026-07-08 15:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577653248001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854356721532928,"note":"Value kept but may cause issues"} 
[2026-07-08 15:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050058240,"note":"Value kept but may cause issues"} 
[2026-07-08 15:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783506459000,"timestamp_ms":1783506459000,"timestamp_seconds":1783506459,"priority":1,"record_length":96,"hex_timestamp":"0000019f4144d978"} 
[2026-07-08 15:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-08 15:59: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-07-08 15:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 15:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 15:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 15:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577653248001,"66":13993,"105":206,"83":41984,"24":6,"16":4854356721532928,"45":1738319118050058240},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 15:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 15:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 15:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577653248001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:59:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 15:59:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 15:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854356721532928,"km_value":4854356721532.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050058240,"description":"Unknown IO ID 45"} 
[2026-07-08 15:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577653248001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1738319118050058240}} 
[2026-07-08 15:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":125574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:59:37] local.INFO: GPS data processed {"connection_id":125574,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:59:37] local.INFO: Acknowledgment sent {"connection_id":125574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:59:41] local.INFO: TCP Data received {"connection_id":127672,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127672,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:59:41] local.INFO: Processing buffer {"connection_id":127672,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 15:59:41] local.INFO: IMEI packet received {"connection_id":127672,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 15:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":127672,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:59:43] local.INFO: TCP Data received {"connection_id":127672,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f41456de8012d7cd24005ec40b00000010914..."} 
[2026-07-08 15:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41456de8012d7cd24005ec40b00000010914..."} 
[2026-07-08 15:59:43] local.INFO: Processing buffer {"connection_id":127672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41456de8012d7cd24005ec40b00000010914..."} 
[2026-07-08 15:59:43] local.INFO: Packet analysis {"connection_id":127672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 15:59:43] local.INFO: Extracted packet for processing {"connection_id":127672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 15:59:43] local.INFO: GPS Element Parsed {"raw_longitude":763155008,"raw_latitude":99369136,"longitude_deg":76.3155008,"latitude_deg":9.9369136,"altitude":0,"angle":265,"satellites":20,"speed":32,"hex_longitude":"2d7cd240","hex_latitude":"05ec40b0","is_valid_coordinates":true} 
[2026-07-08 15:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577660416001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103725109465841664,"note":"Value kept but may cause issues"} 
[2026-07-08 15:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004384530412402688,"note":"Value kept but may cause issues"} 
[2026-07-08 15:59:43] 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-07-08 15:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783506497000,"timestamp_ms":1783506497000,"timestamp_seconds":1783506497,"priority":1,"record_length":96,"hex_timestamp":"0000019f41456de8"} 
[2026-07-08 15:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-08 15:59:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:59:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":127672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":127672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":127672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 15:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 15:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577660416001,"66":12885,"110":206,"87":13824,"24":32,"16":103725109465841664,"45":9004384530412402688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-08 15:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 15:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 15:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577660416001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:59:43] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 15:59:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 15:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103725109465841664,"km_value":103725109465841.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004384530412402688,"description":"Unknown IO ID 45"} 
[2026-07-08 15:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577660416001,"power":12885,"unknown_110":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":9004384530412402688}} 
[2026-07-08 15:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":127672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452216,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:59:43] local.INFO: GPS data processed {"connection_id":127672,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:59:43] local.INFO: Acknowledgment sent {"connection_id":127672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:59:45] local.INFO: TCP Data received {"connection_id":126446,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126446,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:59:45] local.INFO: Processing buffer {"connection_id":126446,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:59:45] local.INFO: IMEI packet received {"connection_id":126446,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 15:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":126446,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 15:59:45] local.INFO: TCP Data received {"connection_id":126446,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126446,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:59:45] local.INFO: Processing buffer {"connection_id":126446,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:59:45] local.INFO: IMEI packet received {"connection_id":126446,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":126446,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:59:47] local.INFO: TCP Data received {"connection_id":127672,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f414594f8012d7cae8005ec3d280000010a14..."} 
[2026-07-08 15:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414594f8012d7cae8005ec3d280000010a14..."} 
[2026-07-08 15:59:47] local.INFO: Processing buffer {"connection_id":127672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414594f8012d7cae8005ec3d280000010a14..."} 
[2026-07-08 15:59:47] local.INFO: Packet analysis {"connection_id":127672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 15:59:47] local.INFO: Extracted packet for processing {"connection_id":127672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 15:59:47] local.INFO: GPS Element Parsed {"raw_longitude":763145856,"raw_latitude":99368232,"longitude_deg":76.3145856,"latitude_deg":9.9368232,"altitude":0,"angle":266,"satellites":20,"speed":41,"hex_longitude":"2d7cae80","hex_latitude":"05ec3d28","is_valid_coordinates":true} 
[2026-07-08 15:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577663232001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103725547552505856,"note":"Value kept but may cause issues"} 
[2026-07-08 15:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8994321799994978304,"note":"Value kept but may cause issues"} 
[2026-07-08 15:59:47] 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-07-08 15:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783506507000,"timestamp_ms":1783506507000,"timestamp_seconds":1783506507,"priority":1,"record_length":96,"hex_timestamp":"0000019f414594f8"} 
[2026-07-08 15:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-08 15:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":127672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":127672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":127672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 15:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 15:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 15:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577663232001,"66":12982,"197":206,"87":13824,"24":41,"16":103725547552505856,"45":8994321799994978304},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-08 15:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 15:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 15:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577663232001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:59:47] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-08 15:59:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 15:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103725547552505856,"km_value":103725547552505.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8994321799994978304,"description":"Unknown IO ID 45"} 
[2026-07-08 15:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577663232001,"power":12982,"unknown_197":206,"unknown_87":13824,"ignition":41,"odometer":null,"unknown_45":8994321799994978304}} 
[2026-07-08 15:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":127672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452217,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:59:47] local.INFO: GPS data processed {"connection_id":127672,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:59:47] local.INFO: Acknowledgment sent {"connection_id":127672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:59:50] local.INFO: TCP Data received {"connection_id":126446,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126446,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:59:50] local.INFO: Processing buffer {"connection_id":126446,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 15:59:50] local.INFO: IMEI packet received {"connection_id":126446,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 15:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":126446,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 15:59:50] local.INFO: TCP Data received {"connection_id":126446,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f41469ab0012d09c300070568a8000a008123..."} 
[2026-07-08 15:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41469ab0012d09c300070568a8000a008123..."} 
[2026-07-08 15:59:50] local.INFO: Processing buffer {"connection_id":126446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41469ab0012d09c300070568a8000a008123..."} 
[2026-07-08 15:59:50] local.INFO: Packet analysis {"connection_id":126446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4146"} 
[2026-07-08 15:59:50] local.INFO: Extracted packet for processing {"connection_id":126446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4146"} 
[2026-07-08 15:59:50] local.INFO: GPS Element Parsed {"raw_longitude":755614464,"raw_latitude":117794984,"longitude_deg":75.5614464,"latitude_deg":11.7794984,"altitude":10,"angle":129,"satellites":35,"speed":11,"hex_longitude":"2d09c300","hex_latitude":"070568a8","is_valid_coordinates":true} 
[2026-07-08 15:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 15:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577682688001,"note":"Value kept but may cause issues"} 
[2026-07-08 15:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23613975006543872,"note":"Value kept but may cause issues"} 
[2026-07-08 15:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703194890722955264,"note":"Value kept but may cause issues"} 
[2026-07-08 15:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 15:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783506574000,"timestamp_ms":1783506574000,"timestamp_seconds":1783506574,"priority":1,"record_length":96,"hex_timestamp":"0000019f41469ab0"} 
[2026-07-08 15:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 15:59:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 15: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-08 15:59:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 15:59:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 15:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 15:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 15:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":126446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 15:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":126446,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":126446,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 15:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 15:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 15:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 15:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577682688001,"66":14298,"177":206,"94":10240,"24":11,"16":23613975006543872,"45":703194890722955264},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-08 15:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 15:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 15:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577682688001,"description":"Unknown IO ID 0"} 
[2026-07-08 15:59:51] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-08 15:59:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 15:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23613975006543872,"km_value":23613975006543.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 15:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":703194890722955264,"description":"Unknown IO ID 45"} 
[2026-07-08 15:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577682688001,"power":14298,"unknown_177":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":703194890722955264}} 
[2026-07-08 15:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":126446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452218,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 15:59:51] local.INFO: GPS data processed {"connection_id":126446,"processed":1,"errors":0,"total":1} 
[2026-07-08 15:59:51] local.INFO: Acknowledgment sent {"connection_id":126446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 15:59:55] local.INFO: TCP Data received {"connection_id":127673,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:59:55] local.INFO: Processing buffer {"connection_id":127673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 15:59:55] local.INFO: IMEI packet received {"connection_id":127673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 15:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":127673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:00:00] local.INFO: TCP Data received {"connection_id":125683,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:00:00] local.INFO: Processing buffer {"connection_id":125683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:00:00] local.INFO: IMEI packet received {"connection_id":125683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":125683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:00:01] local.INFO: TCP Data received {"connection_id":127673,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:00:01] local.INFO: Processing buffer {"connection_id":127673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:00:01] local.INFO: IMEI packet received {"connection_id":127673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":127673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:00:01] local.INFO: TCP Data received {"connection_id":127673,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f41450470012d9aa38005781260000700f829..."} 
[2026-07-08 16:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41450470012d9aa38005781260000700f829..."} 
[2026-07-08 16:00:01] local.INFO: Processing buffer {"connection_id":127673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41450470012d9aa38005781260000700f829..."} 
[2026-07-08 16:00:01] local.INFO: Packet analysis {"connection_id":127673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 16:00:01] local.INFO: Extracted packet for processing {"connection_id":127673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 16:00:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577579264001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:00:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783506470000,"timestamp_ms":1783506470000,"timestamp_seconds":1783506470,"priority":1,"record_length":96,"hex_timestamp":"0000019f41450470"} 
[2026-07-08 16:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-08 16:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:00:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:00: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-07-08 16:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577579264001,"66":25702,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577579264001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:00:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:00:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577579264001,"power":25702,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":127673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:00:01] local.INFO: GPS data processed {"connection_id":127673,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:00:01] local.INFO: Acknowledgment sent {"connection_id":127673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:00:05] local.INFO: TCP Data received {"connection_id":125683,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:00:05] local.INFO: Processing buffer {"connection_id":125683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:00:05] local.INFO: IMEI packet received {"connection_id":125683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":125683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:00:06] local.INFO: TCP Data received {"connection_id":125683,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41452b80012d181d000721a5f8004a012c29..."} 
[2026-07-08 16:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41452b80012d181d000721a5f8004a012c29..."} 
[2026-07-08 16:00:06] local.INFO: Processing buffer {"connection_id":125683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41452b80012d181d000721a5f8004a012c29..."} 
[2026-07-08 16:00:06] local.INFO: Packet analysis {"connection_id":125683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 16:00:06] local.INFO: Extracted packet for processing {"connection_id":125683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 16:00:06] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119645688,"longitude_deg":75.6555008,"latitude_deg":11.9645688,"altitude":74,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721a5f8","is_valid_coordinates":true} 
[2026-07-08 16:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577653504001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854382491336704,"note":"Value kept but may cause issues"} 
[2026-07-08 16:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561721344,"note":"Value kept but may cause issues"} 
[2026-07-08 16:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783506480000,"timestamp_ms":1783506480000,"timestamp_seconds":1783506480,"priority":1,"record_length":96,"hex_timestamp":"0000019f41452b80"} 
[2026-07-08 16:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 16:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577653504001,"66":13863,"105":206,"83":41984,"24":0,"16":4854382491336704,"45":1738178380561721344},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 16:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577653504001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:00:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:00:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854382491336704,"km_value":4854382491336.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561721344,"description":"Unknown IO ID 45"} 
[2026-07-08 16:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577653504001,"power":13863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380561721344}} 
[2026-07-08 16:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":125683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:00:06] local.INFO: GPS data processed {"connection_id":125683,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:00:06] local.INFO: Acknowledgment sent {"connection_id":125683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:00:11] local.INFO: TCP Data received {"connection_id":127674,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127674,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:00:11] local.INFO: Processing buffer {"connection_id":127674,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:00:11] local.INFO: IMEI packet received {"connection_id":127674,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 16:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":127674,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:00:22] local.INFO: TCP Data received {"connection_id":126446,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f41469e98012d09c3c0070567c0000b009523..."} 
[2026-07-08 16:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41469e98012d09c3c0070567c0000b009523..."} 
[2026-07-08 16:00:22] local.INFO: Processing buffer {"connection_id":126446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41469e98012d09c3c0070567c0000b009523..."} 
[2026-07-08 16:00:22] local.INFO: Packet analysis {"connection_id":126446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4146"} 
[2026-07-08 16:00:22] local.INFO: Extracted packet for processing {"connection_id":126446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4146"} 
[2026-07-08 16:00:22] local.INFO: GPS Element Parsed {"raw_longitude":755614656,"raw_latitude":117794752,"longitude_deg":75.5614656,"latitude_deg":11.7794752,"altitude":11,"angle":149,"satellites":35,"speed":13,"hex_longitude":"2d09c3c0","hex_latitude":"070567c0","is_valid_coordinates":true} 
[2026-07-08 16:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577682944001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23613987891445760,"note":"Value kept but may cause issues"} 
[2026-07-08 16:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703405996955445248,"note":"Value kept but may cause issues"} 
[2026-07-08 16:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783506575000,"timestamp_ms":1783506575000,"timestamp_seconds":1783506575,"priority":1,"record_length":96,"hex_timestamp":"0000019f41469e98"} 
[2026-07-08 16:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-08 16:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126446,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126446,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 16:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 16:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577682944001,"66":14537,"177":206,"94":10240,"24":13,"16":23613987891445760,"45":703405996955445248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-08 16:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 16:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 16:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577682944001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:00:22] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-08 16:00:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 16:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23613987891445760,"km_value":23613987891445.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":703405996955445248,"description":"Unknown IO ID 45"} 
[2026-07-08 16:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577682944001,"power":14537,"unknown_177":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":703405996955445248}} 
[2026-07-08 16:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":126446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452221,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:00:22] local.INFO: GPS data processed {"connection_id":126446,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:00:22] local.INFO: Acknowledgment sent {"connection_id":126446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:00:31] local.INFO: TCP Data received {"connection_id":127675,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127675,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:00:31] local.INFO: Processing buffer {"connection_id":127675,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:00:31] local.INFO: IMEI packet received {"connection_id":127675,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":127675,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:00:32] local.INFO: TCP Data received {"connection_id":127675,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127675,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:00:32] local.INFO: Processing buffer {"connection_id":127675,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:00:32] local.INFO: IMEI packet received {"connection_id":127675,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":127675,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:00:33] local.INFO: TCP Data received {"connection_id":127673,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f41450470012d9aa38005781260000700f829..."} 
[2026-07-08 16:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41450470012d9aa38005781260000700f829..."} 
[2026-07-08 16:00:33] local.INFO: Processing buffer {"connection_id":127673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41450470012d9aa38005781260000700f829..."} 
[2026-07-08 16:00:33] local.INFO: Packet analysis {"connection_id":127673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 16:00:33] local.INFO: Extracted packet for processing {"connection_id":127673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 16:00:33] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577579264001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:00:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783506470000,"timestamp_ms":1783506470000,"timestamp_seconds":1783506470,"priority":1,"record_length":96,"hex_timestamp":"0000019f41450470"} 
[2026-07-08 16:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-08 16:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:00: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-07-08 16:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577579264001,"66":25702,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577579264001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:00:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:00:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577579264001,"power":25702,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":127673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:00:33] local.INFO: GPS data processed {"connection_id":127673,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:00:33] local.INFO: Acknowledgment sent {"connection_id":127673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:00:36] local.INFO: TCP Data received {"connection_id":127675,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127675,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:00:36] local.INFO: Processing buffer {"connection_id":127675,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:00:36] local.INFO: IMEI packet received {"connection_id":127675,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":127675,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:00:37] local.INFO: TCP Data received {"connection_id":125683,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41457d88012d181d000721a688004a012c29..."} 
[2026-07-08 16:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41457d88012d181d000721a688004a012c29..."} 
[2026-07-08 16:00:37] local.INFO: Processing buffer {"connection_id":125683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41457d88012d181d000721a688004a012c29..."} 
[2026-07-08 16:00:37] local.INFO: Packet analysis {"connection_id":125683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 16:00:37] local.INFO: Extracted packet for processing {"connection_id":125683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 16:00:37] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119645832,"longitude_deg":75.6555008,"latitude_deg":11.9645832,"altitude":74,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721a688","is_valid_coordinates":true} 
[2026-07-08 16:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577658880001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854391081271296,"note":"Value kept but may cause issues"} 
[2026-07-08 16:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864175616,"note":"Value kept but may cause issues"} 
[2026-07-08 16:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783506501000,"timestamp_ms":1783506501000,"timestamp_seconds":1783506501,"priority":1,"record_length":96,"hex_timestamp":"0000019f41457d88"} 
[2026-07-08 16:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-07-08 16:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577658880001,"66":14211,"105":206,"83":41984,"24":0,"16":4854391081271296,"45":1737545061864175616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 16:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577658880001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:00:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:00:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854391081271296,"km_value":4854391081271.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864175616,"description":"Unknown IO ID 45"} 
[2026-07-08 16:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577658880001,"power":14211,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864175616}} 
[2026-07-08 16:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":125683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:00:37] local.INFO: GPS data processed {"connection_id":125683,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:00:37] local.INFO: Acknowledgment sent {"connection_id":125683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:00:37] local.INFO: TCP Data received {"connection_id":127675,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4146f488012d7be6c005ec2e88000800a516..."} 
[2026-07-08 16:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4146f488012d7be6c005ec2e88000800a516..."} 
[2026-07-08 16:00:37] local.INFO: Processing buffer {"connection_id":127675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4146f488012d7be6c005ec2e88000800a516..."} 
[2026-07-08 16:00:37] local.INFO: Packet analysis {"connection_id":127675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4146"} 
[2026-07-08 16:00:37] local.INFO: Extracted packet for processing {"connection_id":127675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4146"} 
[2026-07-08 16:00:37] local.INFO: GPS Element Parsed {"raw_longitude":763094720,"raw_latitude":99364488,"longitude_deg":76.309472,"latitude_deg":9.9364488,"altitude":8,"angle":165,"satellites":22,"speed":10,"hex_longitude":"2d7be6c0","hex_latitude":"05ec2e88","is_valid_coordinates":true} 
[2026-07-08 16:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577688576001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103728038633537536,"note":"Value kept but may cause issues"} 
[2026-07-08 16:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927964074234308608,"note":"Value kept but may cause issues"} 
[2026-07-08 16:00:37] 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-07-08 16:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783506597000,"timestamp_ms":1783506597000,"timestamp_seconds":1783506597,"priority":1,"record_length":96,"hex_timestamp":"0000019f4146f488"} 
[2026-07-08 16:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-08 16:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577688576001,"66":13341,"198":206,"87":13824,"24":10,"16":103728038633537536,"45":8927964074234308608},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-08 16:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577688576001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:00:37] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-08 16:00:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103728038633537536,"km_value":103728038633537.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927964074234308608,"description":"Unknown IO ID 45"} 
[2026-07-08 16:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577688576001,"power":13341,"unknown_198":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8927964074234308608}} 
[2026-07-08 16:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":127675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452224,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:00:37] local.INFO: GPS data processed {"connection_id":127675,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:00:37] local.INFO: Acknowledgment sent {"connection_id":127675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:00:44] local.INFO: TCP Data received {"connection_id":125575,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125575,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:00:44] local.INFO: Processing buffer {"connection_id":125575,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:00:44] local.INFO: IMEI packet received {"connection_id":125575,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 16:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":125575,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:00:45] local.INFO: TCP Data received {"connection_id":127675,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4146f870012d7be70005ec2d880008009516..."} 
[2026-07-08 16:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4146f870012d7be70005ec2d880008009516..."} 
[2026-07-08 16:00:45] local.INFO: Processing buffer {"connection_id":127675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4146f870012d7be70005ec2d880008009516..."} 
[2026-07-08 16:00:45] local.INFO: Packet analysis {"connection_id":127675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4146"} 
[2026-07-08 16:00:45] local.INFO: Extracted packet for processing {"connection_id":127675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4146"} 
[2026-07-08 16:00:45] local.INFO: GPS Element Parsed {"raw_longitude":763094784,"raw_latitude":99364232,"longitude_deg":76.3094784,"latitude_deg":9.9364232,"altitude":8,"angle":149,"satellites":22,"speed":12,"hex_longitude":"2d7be700","hex_latitude":"05ec2d88","is_valid_coordinates":true} 
[2026-07-08 16:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577688832001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103728051518439424,"note":"Value kept but may cause issues"} 
[2026-07-08 16:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928034442978428928,"note":"Value kept but may cause issues"} 
[2026-07-08 16:00: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-07-08 16:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783506598000,"timestamp_ms":1783506598000,"timestamp_seconds":1783506598,"priority":1,"record_length":96,"hex_timestamp":"0000019f4146f870"} 
[2026-07-08 16:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-08 16:00: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-07-08 16:00:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":127675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":127675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":127675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577688832001,"66":13341,"198":206,"87":13824,"24":12,"16":103728051518439424,"45":8928034442978428928},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-08 16:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577688832001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:00:45] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-08 16:00:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103728051518439424,"km_value":103728051518439.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928034442978428928,"description":"Unknown IO ID 45"} 
[2026-07-08 16:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577688832001,"power":13341,"unknown_198":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8928034442978428928}} 
[2026-07-08 16:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":127675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452225,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:00:45] local.INFO: GPS data processed {"connection_id":127675,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:00:45] local.INFO: Acknowledgment sent {"connection_id":127675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:00:47] local.INFO: TCP Data received {"connection_id":125575,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125575,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:00:47] local.INFO: Processing buffer {"connection_id":125575,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:00:47] local.INFO: IMEI packet received {"connection_id":125575,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 16:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":125575,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:00:48] local.INFO: TCP Data received {"connection_id":125575,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125575,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:00:48] local.INFO: Processing buffer {"connection_id":125575,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:00:48] local.INFO: IMEI packet received {"connection_id":125575,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 16:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":125575,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:00:48] local.INFO: TCP Data received {"connection_id":125575,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125575,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:00:48] local.INFO: Processing buffer {"connection_id":125575,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:00:48] local.INFO: IMEI packet received {"connection_id":125575,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 16:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":125575,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:00:49] local.INFO: TCP Data received {"connection_id":125575,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4146a280012d09c40007056698000a00ab23..."} 
[2026-07-08 16:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4146a280012d09c40007056698000a00ab23..."} 
[2026-07-08 16:00:49] local.INFO: Processing buffer {"connection_id":125575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4146a280012d09c40007056698000a00ab23..."} 
[2026-07-08 16:00:49] local.INFO: Packet analysis {"connection_id":125575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4146"} 
[2026-07-08 16:00:49] local.INFO: Extracted packet for processing {"connection_id":125575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4146"} 
[2026-07-08 16:00:49] local.INFO: GPS Element Parsed {"raw_longitude":755614720,"raw_latitude":117794456,"longitude_deg":75.561472,"latitude_deg":11.7794456,"altitude":10,"angle":171,"satellites":35,"speed":13,"hex_longitude":"2d09c400","hex_latitude":"07056698","is_valid_coordinates":true} 
[2026-07-08 16:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577683200001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23614000776347648,"note":"Value kept but may cause issues"} 
[2026-07-08 16:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703617103187918848,"note":"Value kept but may cause issues"} 
[2026-07-08 16:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783506576000,"timestamp_ms":1783506576000,"timestamp_seconds":1783506576,"priority":1,"record_length":96,"hex_timestamp":"0000019f4146a280"} 
[2026-07-08 16:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-08 16:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":125575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":125575,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":125575,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 16:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 16:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577683200001,"66":14537,"177":206,"94":10240,"24":13,"16":23614000776347648,"45":703617103187918848},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-08 16:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 16:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 16:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577683200001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:00:49] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-08 16:00:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 16:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23614000776347648,"km_value":23614000776347.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":703617103187918848,"description":"Unknown IO ID 45"} 
[2026-07-08 16:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577683200001,"power":14537,"unknown_177":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":703617103187918848}} 
[2026-07-08 16:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":125575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452226,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:00:49] local.INFO: GPS data processed {"connection_id":125575,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:00:49] local.INFO: Acknowledgment sent {"connection_id":125575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:00:50] local.INFO: TCP Data received {"connection_id":125575,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4146a668012d09c44007056530000a00b623..."} 
[2026-07-08 16:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4146a668012d09c44007056530000a00b623..."} 
[2026-07-08 16:00:50] local.INFO: Processing buffer {"connection_id":125575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4146a668012d09c44007056530000a00b623..."} 
[2026-07-08 16:00:50] local.INFO: Packet analysis {"connection_id":125575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4146"} 
[2026-07-08 16:00:50] local.INFO: Extracted packet for processing {"connection_id":125575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4146"} 
[2026-07-08 16:00:50] local.INFO: GPS Element Parsed {"raw_longitude":755614784,"raw_latitude":117794096,"longitude_deg":75.5614784,"latitude_deg":11.7794096,"altitude":10,"angle":182,"satellites":35,"speed":15,"hex_longitude":"2d09c440","hex_latitude":"07056530","is_valid_coordinates":true} 
[2026-07-08 16: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-07-08 16:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577683456001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23614017956216832,"note":"Value kept but may cause issues"} 
[2026-07-08 16:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703687471932020736,"note":"Value kept but may cause issues"} 
[2026-07-08 16:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783506577000,"timestamp_ms":1783506577000,"timestamp_seconds":1783506577,"priority":1,"record_length":96,"hex_timestamp":"0000019f4146a668"} 
[2026-07-08 16:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:00:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-08 16:00:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":125575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":125575,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":125575,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 16:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 16:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577683456001,"66":14309,"177":206,"94":10240,"24":15,"16":23614017956216832,"45":703687471932020736},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-08 16:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 16:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 16:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577683456001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:00:50] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-08 16:00:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 16:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23614017956216832,"km_value":23614017956216.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":703687471932020736,"description":"Unknown IO ID 45"} 
[2026-07-08 16:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577683456001,"power":14309,"unknown_177":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":703687471932020736}} 
[2026-07-08 16:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":125575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452227,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:00:50] local.INFO: GPS data processed {"connection_id":125575,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:00:50] local.INFO: Acknowledgment sent {"connection_id":125575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:00:55] local.INFO: TCP Data received {"connection_id":126447,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:00:55] local.INFO: Processing buffer {"connection_id":126447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:00:55] local.INFO: IMEI packet received {"connection_id":126447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":126447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:01:00] local.INFO: TCP Data received {"connection_id":125685,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:01:00] local.INFO: Processing buffer {"connection_id":125685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:01:00] local.INFO: IMEI packet received {"connection_id":125685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":125685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:01:00] local.INFO: TCP Data received {"connection_id":125684,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125684,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:01:00] local.INFO: Processing buffer {"connection_id":125684,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:01:00] local.INFO: IMEI packet received {"connection_id":125684,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 16:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":125684,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:01:00] local.INFO: TCP Data received {"connection_id":126447,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:01:00] local.INFO: Processing buffer {"connection_id":126447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:01:00] local.INFO: IMEI packet received {"connection_id":126447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":126447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:01:01] local.INFO: TCP Data received {"connection_id":126447,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f41450470012d9aa38005781260000700f829..."} 
[2026-07-08 16:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41450470012d9aa38005781260000700f829..."} 
[2026-07-08 16:01:01] local.INFO: Processing buffer {"connection_id":126447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41450470012d9aa38005781260000700f829..."} 
[2026-07-08 16:01:01] local.INFO: Packet analysis {"connection_id":126447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 16:01:01] local.INFO: Extracted packet for processing {"connection_id":126447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 16:01:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577579264001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:01:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783506470000,"timestamp_ms":1783506470000,"timestamp_seconds":1783506470,"priority":1,"record_length":96,"hex_timestamp":"0000019f41450470"} 
[2026-07-08 16:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:01:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-08 16:01:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:01:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:01: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-07-08 16:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577579264001,"66":25702,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577579264001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:01:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:01:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577579264001,"power":25702,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":126447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:01:01] local.INFO: GPS data processed {"connection_id":126447,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:01:01] local.INFO: Acknowledgment sent {"connection_id":126447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:01:05] local.INFO: TCP Data received {"connection_id":125685,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:01:05] local.INFO: Processing buffer {"connection_id":125685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:01:05] local.INFO: IMEI packet received {"connection_id":125685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":125685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:01:06] local.INFO: TCP Data received {"connection_id":125685,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f414594f8012d181cc00721a830004b00062a..."} 
[2026-07-08 16:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414594f8012d181cc00721a830004b00062a..."} 
[2026-07-08 16:01:06] local.INFO: Processing buffer {"connection_id":125685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414594f8012d181cc00721a830004b00062a..."} 
[2026-07-08 16:01:06] local.INFO: Packet analysis {"connection_id":125685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 16:01:06] local.INFO: Extracted packet for processing {"connection_id":125685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 16:01:06] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119646256,"longitude_deg":75.6554944,"latitude_deg":11.9646256,"altitude":75,"angle":6,"satellites":42,"speed":9,"hex_longitude":"2d181cc0","hex_latitude":"0721a830","is_valid_coordinates":true} 
[2026-07-08 16:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577664256001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854412556107776,"note":"Value kept but may cause issues"} 
[2026-07-08 16:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864212480,"note":"Value kept but may cause issues"} 
[2026-07-08 16:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783506507000,"timestamp_ms":1783506507000,"timestamp_seconds":1783506507,"priority":1,"record_length":96,"hex_timestamp":"0000019f414594f8"} 
[2026-07-08 16:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 16:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577664256001,"66":14548,"105":206,"83":41984,"24":9,"16":4854412556107776,"45":1737545061864212480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 16:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577664256001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:01:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:01:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854412556107776,"km_value":4854412556107.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864212480,"description":"Unknown IO ID 45"} 
[2026-07-08 16:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577664256001,"power":14548,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1737545061864212480}} 
[2026-07-08 16:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":125685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:01:06] local.INFO: GPS data processed {"connection_id":125685,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:01:06] local.INFO: Acknowledgment sent {"connection_id":125685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:01:16] local.INFO: TCP Data received {"connection_id":127675,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f41470810012d7bea8005ec2720000500a215..."} 
[2026-07-08 16:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41470810012d7bea8005ec2720000500a215..."} 
[2026-07-08 16:01:16] local.INFO: Processing buffer {"connection_id":127675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41470810012d7bea8005ec2720000500a215..."} 
[2026-07-08 16:01:16] local.INFO: Packet analysis {"connection_id":127675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4147"} 
[2026-07-08 16:01:16] local.INFO: Extracted packet for processing {"connection_id":127675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4147"} 
[2026-07-08 16:01:16] local.INFO: GPS Element Parsed {"raw_longitude":763095680,"raw_latitude":99362592,"longitude_deg":76.309568,"latitude_deg":9.9362592,"altitude":5,"angle":162,"satellites":21,"speed":20,"hex_longitude":"2d7bea80","hex_latitude":"05ec2720","is_valid_coordinates":true} 
[2026-07-08 16:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577689088001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103728141712752640,"note":"Value kept but may cause issues"} 
[2026-07-08 16:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928104811722541056,"note":"Value kept but may cause issues"} 
[2026-07-08 16:01: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-07-08 16:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783506602000,"timestamp_ms":1783506602000,"timestamp_seconds":1783506602,"priority":1,"record_length":96,"hex_timestamp":"0000019f41470810"} 
[2026-07-08 16:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":29,"data_length":795,"current_offset":136} 
[2026-07-08 16:01:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:01:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":127675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":127675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":127675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577689088001,"66":13059,"198":206,"87":13824,"24":20,"16":103728141712752640,"45":8928104811722541056},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-08 16:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577689088001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:01:16] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-08 16:01:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103728141712752640,"km_value":103728141712752.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928104811722541056,"description":"Unknown IO ID 45"} 
[2026-07-08 16:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577689088001,"power":13059,"unknown_198":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8928104811722541056}} 
[2026-07-08 16:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":127675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452230,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:01:16] local.INFO: GPS data processed {"connection_id":127675,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:01:16] local.INFO: Acknowledgment sent {"connection_id":127675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:01:21] local.INFO: TCP Data received {"connection_id":125575,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f414805f8012d09cac00704fcf80010009923..."} 
[2026-07-08 16:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414805f8012d09cac00704fcf80010009923..."} 
[2026-07-08 16:01:21] local.INFO: Processing buffer {"connection_id":125575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414805f8012d09cac00704fcf80010009923..."} 
[2026-07-08 16:01:21] local.INFO: Packet analysis {"connection_id":125575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4148"} 
[2026-07-08 16:01:21] local.INFO: Extracted packet for processing {"connection_id":125575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4148"} 
[2026-07-08 16:01:21] local.INFO: GPS Element Parsed {"raw_longitude":755616448,"raw_latitude":117767416,"longitude_deg":75.5616448,"latitude_deg":11.7767416,"altitude":16,"angle":153,"satellites":35,"speed":8,"hex_longitude":"2d09cac0","hex_latitude":"0704fcf8","is_valid_coordinates":true} 
[2026-07-08 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-07-08 16:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577705984001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23615478245097472,"note":"Value kept but may cause issues"} 
[2026-07-08 16:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":705235584297134080,"note":"Value kept but may cause issues"} 
[2026-07-08 16:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783506667000,"timestamp_ms":1783506667000,"timestamp_seconds":1783506667,"priority":1,"record_length":96,"hex_timestamp":"0000019f414805f8"} 
[2026-07-08 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-07-08 16:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-08 16:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 16:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":125575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":125575,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":125575,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 16:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 16:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577705984001,"66":14407,"177":206,"94":10240,"24":8,"16":23615478245097472,"45":705235584297134080},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-08 16:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 16:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 16:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577705984001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:01:21] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-08 16:01:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 16:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23615478245097472,"km_value":23615478245097.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":705235584297134080,"description":"Unknown IO ID 45"} 
[2026-07-08 16:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577705984001,"power":14407,"unknown_177":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":705235584297134080}} 
[2026-07-08 16:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":125575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452231,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:01:22] local.INFO: GPS data processed {"connection_id":125575,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:01:22] local.INFO: Acknowledgment sent {"connection_id":125575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:01:31] local.INFO: TCP Data received {"connection_id":127676,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127676,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:01:31] local.INFO: Processing buffer {"connection_id":127676,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:01:31] local.INFO: IMEI packet received {"connection_id":127676,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":127676,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:01:31] local.INFO: TCP Data received {"connection_id":127676,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127676,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:01:31] local.INFO: Processing buffer {"connection_id":127676,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:01:31] local.INFO: IMEI packet received {"connection_id":127676,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":127676,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:01:32] local.INFO: TCP Data received {"connection_id":126447,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f41450470012d9aa38005781260000700f829..."} 
[2026-07-08 16:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41450470012d9aa38005781260000700f829..."} 
[2026-07-08 16:01:32] local.INFO: Processing buffer {"connection_id":126447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41450470012d9aa38005781260000700f829..."} 
[2026-07-08 16:01:32] local.INFO: Packet analysis {"connection_id":126447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 16:01:32] local.INFO: Extracted packet for processing {"connection_id":126447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 16:01:32] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577579264001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:01:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783506470000,"timestamp_ms":1783506470000,"timestamp_seconds":1783506470,"priority":1,"record_length":96,"hex_timestamp":"0000019f41450470"} 
[2026-07-08 16:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:01: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":156,"data_length":795,"current_offset":136} 
[2026-07-08 16:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:01: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-07-08 16:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577579264001,"66":25702,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577579264001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:01:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:01:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577579264001,"power":25702,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":126447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:01:32] local.INFO: GPS data processed {"connection_id":126447,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:01:32] local.INFO: Acknowledgment sent {"connection_id":126447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:01:37] local.INFO: TCP Data received {"connection_id":125685,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f414598e0012d181d000721a960004b00152a..."} 
[2026-07-08 16:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414598e0012d181d000721a960004b00152a..."} 
[2026-07-08 16:01:37] local.INFO: Processing buffer {"connection_id":125685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414598e0012d181d000721a960004b00152a..."} 
[2026-07-08 16:01:37] local.INFO: Packet analysis {"connection_id":125685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 16:01:37] local.INFO: Extracted packet for processing {"connection_id":125685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 16:01:37] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119646560,"longitude_deg":75.6555008,"latitude_deg":11.964656,"altitude":75,"angle":21,"satellites":42,"speed":14,"hex_longitude":"2d181d00","hex_latitude":"0721a960","is_valid_coordinates":true} 
[2026-07-08 16:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577665792001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854429735976960,"note":"Value kept but may cause issues"} 
[2026-07-08 16:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120143360,"note":"Value kept but may cause issues"} 
[2026-07-08 16:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783506508000,"timestamp_ms":1783506508000,"timestamp_seconds":1783506508,"priority":1,"record_length":96,"hex_timestamp":"0000019f414598e0"} 
[2026-07-08 16:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-08 16:01: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-07-08 16:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577665792001,"66":14548,"105":206,"83":41984,"24":14,"16":4854429735976960,"45":1737474693120143360},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 16:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577665792001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:01:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:01:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854429735976960,"km_value":4854429735976.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120143360,"description":"Unknown IO ID 45"} 
[2026-07-08 16:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577665792001,"power":14548,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1737474693120143360}} 
[2026-07-08 16:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":125685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:01:37] local.INFO: GPS data processed {"connection_id":125685,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:01:37] local.INFO: Acknowledgment sent {"connection_id":125685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:01:38] local.INFO: TCP Data received {"connection_id":127676,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127676,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:01:38] local.INFO: Processing buffer {"connection_id":127676,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:01:38] local.INFO: IMEI packet received {"connection_id":127676,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":127676,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:01:40] local.INFO: TCP Data received {"connection_id":127676,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f41473ad8012d7bf34005ec02a8000200ad15..."} 
[2026-07-08 16:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41473ad8012d7bf34005ec02a8000200ad15..."} 
[2026-07-08 16:01:40] local.INFO: Processing buffer {"connection_id":127676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41473ad8012d7bf34005ec02a8000200ad15..."} 
[2026-07-08 16:01:40] local.INFO: Packet analysis {"connection_id":127676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4147"} 
[2026-07-08 16:01:40] local.INFO: Extracted packet for processing {"connection_id":127676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4147"} 
[2026-07-08 16:01:40] local.INFO: GPS Element Parsed {"raw_longitude":763097920,"raw_latitude":99353256,"longitude_deg":76.309792,"latitude_deg":9.9353256,"altitude":2,"angle":173,"satellites":21,"speed":30,"hex_longitude":"2d7bf340","hex_latitude":"05ec02a8","is_valid_coordinates":true} 
[2026-07-08 16:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577690112001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103728605569220608,"note":"Value kept but may cause issues"} 
[2026-07-08 16:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929089974140608512,"note":"Value kept but may cause issues"} 
[2026-07-08 16:01:40] 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-07-08 16:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783506615000,"timestamp_ms":1783506615000,"timestamp_seconds":1783506615,"priority":1,"record_length":96,"hex_timestamp":"0000019f41473ad8"} 
[2026-07-08 16:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 16:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303158080359765,"note":"Value kept but may cause issues"} 
[2026-07-08 16:01:40] local.WARNING: Large IO value detected {"io_id":198,"raw_value":58079734643818503,"note":"Value kept but may cause issues"} 
[2026-07-08 16:01:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 16:01:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-07-08 16:01:40] local.WARNING: Large IO value detected {"io_id":228,"raw_value":3892391291,"note":"Value kept but may cause issues"} 
[2026-07-08 16:01:40] local.WARNING: Large IO value detected {"io_id":231,"raw_value":2147871793,"note":"Value kept but may cause issues"} 
[2026-07-08 16:01:40] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802133,"note":"Value kept but may cause issues"} 
[2026-07-08 16:01:40] local.WARNING: Large IO value detected {"io_id":112,"raw_value":2215641088,"note":"Value kept but may cause issues"} 
[2026-07-08 16:01:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3962814464,"note":"Value kept but may cause issues"} 
[2026-07-08 16:01:40] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,198,87,24,241,157,16,132,159,248,45,8,22,10,66,244,192,46,240,128,1,227,65,236,4,113,205,228,231,144,239,50,2,112,5,11,7],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1439039694,"validated":0}]} 
[2026-07-08 16:01:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360466181268963328,"timestamp_seconds":360466181268963.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 16:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":127676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":127676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":127676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577690112001,"66":13319,"198":206,"87":13824,"24":30,"16":103728605569220608,"45":8929089974140608512},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-08 16:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577690112001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:01:40] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-08 16:01:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103728605569220608,"km_value":103728605569220.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929089974140608512,"description":"Unknown IO ID 45"} 
[2026-07-08 16:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577690112001,"power":13319,"unknown_198":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8929089974140608512}} 
[2026-07-08 16:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":127676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452234,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:01:40] local.INFO: GPS data processed {"connection_id":127676,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:01:40] local.INFO: Acknowledgment sent {"connection_id":127676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:01:45] local.INFO: TCP Data received {"connection_id":126448,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126448,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:01:45] local.INFO: Processing buffer {"connection_id":126448,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:01:45] local.INFO: IMEI packet received {"connection_id":126448,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 16:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":126448,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:01:48] local.INFO: TCP Data received {"connection_id":126448,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126448,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:01:48] local.INFO: Processing buffer {"connection_id":126448,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:01:48] local.INFO: IMEI packet received {"connection_id":126448,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 16:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":126448,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:01:48] local.INFO: TCP Data received {"connection_id":126448,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126448,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:01:48] local.INFO: Processing buffer {"connection_id":126448,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:01:48] local.INFO: IMEI packet received {"connection_id":126448,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 16:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":126448,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:01:52] local.INFO: TCP Data received {"connection_id":126448,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126448,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:01:52] local.INFO: Processing buffer {"connection_id":126448,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:01:52] local.INFO: IMEI packet received {"connection_id":126448,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 16:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":126448,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:01:55] local.INFO: TCP Data received {"connection_id":125576,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:01:55] local.INFO: Processing buffer {"connection_id":125576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:01:55] local.INFO: IMEI packet received {"connection_id":125576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":125576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:02:00] local.INFO: TCP Data received {"connection_id":125576,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:02:00] local.INFO: Processing buffer {"connection_id":125576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:02:00] local.INFO: IMEI packet received {"connection_id":125576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":125576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:02:01] local.INFO: TCP Data received {"connection_id":125576,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f41450470012d9aa38005781260000700f829..."} 
[2026-07-08 16:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41450470012d9aa38005781260000700f829..."} 
[2026-07-08 16:02:01] local.INFO: Processing buffer {"connection_id":125576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41450470012d9aa38005781260000700f829..."} 
[2026-07-08 16:02:01] local.INFO: Packet analysis {"connection_id":125576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 16:02:01] local.INFO: Extracted packet for processing {"connection_id":125576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 16:02:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577579264001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:02:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783506470000,"timestamp_ms":1783506470000,"timestamp_seconds":1783506470,"priority":1,"record_length":96,"hex_timestamp":"0000019f41450470"} 
[2026-07-08 16:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:02:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-08 16:02:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:02:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:02: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-07-08 16:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577579264001,"66":25702,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577579264001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:02:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:02:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577579264001,"power":25702,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":125576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:02:01] local.INFO: GPS data processed {"connection_id":125576,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:02:01] local.INFO: Acknowledgment sent {"connection_id":125576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:02:02] local.INFO: TCP Data received {"connection_id":125687,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:02:02] local.INFO: Processing buffer {"connection_id":125687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:02:02] local.INFO: IMEI packet received {"connection_id":125687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":125687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:02:05] local.INFO: TCP Data received {"connection_id":125687,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:02:05] local.INFO: Processing buffer {"connection_id":125687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:02:05] local.INFO: IMEI packet received {"connection_id":125687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":125687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:02:10] local.INFO: TCP Data received {"connection_id":125687,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:02:10] local.INFO: Processing buffer {"connection_id":125687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:02:10] local.INFO: IMEI packet received {"connection_id":125687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":125687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:02:11] local.INFO: TCP Data received {"connection_id":125687,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4145a0b0012d181e400721abd8004c002429..."} 
[2026-07-08 16:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4145a0b0012d181e400721abd8004c002429..."} 
[2026-07-08 16:02:11] local.INFO: Processing buffer {"connection_id":125687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4145a0b0012d181e400721abd8004c002429..."} 
[2026-07-08 16:02:11] local.INFO: Packet analysis {"connection_id":125687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 16:02:11] local.INFO: Extracted packet for processing {"connection_id":125687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 16:02:11] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647192,"longitude_deg":75.6555328,"latitude_deg":11.9647192,"altitude":76,"angle":36,"satellites":41,"speed":13,"hex_longitude":"2d181e40","hex_latitude":"0721abd8","is_valid_coordinates":true} 
[2026-07-08 16: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-07-08 16:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577666048001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854459800748032,"note":"Value kept but may cause issues"} 
[2026-07-08 16:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864398848,"note":"Value kept but may cause issues"} 
[2026-07-08 16:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783506510000,"timestamp_ms":1783506510000,"timestamp_seconds":1783506510,"priority":1,"record_length":96,"hex_timestamp":"0000019f4145a0b0"} 
[2026-07-08 16:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:02: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-07-08 16: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-08 16:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577666048001,"66":14157,"105":206,"83":41984,"24":13,"16":4854459800748032,"45":1737545061864398848},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 16:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577666048001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:02:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:02:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854459800748032,"km_value":4854459800748.032,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864398848,"description":"Unknown IO ID 45"} 
[2026-07-08 16:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577666048001,"power":14157,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1737545061864398848}} 
[2026-07-08 16:02:11] local.INFO: TCP Data received {"connection_id":127676,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4148e0b8012d7c318005eb1418000000a017..."} 
[2026-07-08 16:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4148e0b8012d7c318005eb1418000000a017..."} 
[2026-07-08 16:02:11] local.INFO: Processing buffer {"connection_id":127676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4148e0b8012d7c318005eb1418000000a017..."} 
[2026-07-08 16:02:11] local.INFO: Packet analysis {"connection_id":127676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4148"} 
[2026-07-08 16:02:11] local.INFO: Extracted packet for processing {"connection_id":127676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4148"} 
[2026-07-08 16:02:11] local.INFO: GPS Element Parsed {"raw_longitude":763113856,"raw_latitude":99292184,"longitude_deg":76.3113856,"latitude_deg":9.9292184,"altitude":0,"angle":160,"satellites":23,"speed":26,"hex_longitude":"2d7c3180","hex_latitude":"05eb1418","is_valid_coordinates":true} 
[2026-07-08 16: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-07-08 16:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577720064001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103731706535608320,"note":"Value kept but may cause issues"} 
[2026-07-08 16:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948441378772164608,"note":"Value kept but may cause issues"} 
[2026-07-08 16:02:11] 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-07-08 16:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783506723000,"timestamp_ms":1783506723000,"timestamp_seconds":1783506723,"priority":1,"record_length":96,"hex_timestamp":"0000019f4148e0b8"} 
[2026-07-08 16:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-08 16:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":127676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":127676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":127676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577720064001,"66":13254,"10":206,"87":13824,"24":26,"16":103731706535608320,"45":8948441378772164608},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-07-08 16:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577720064001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:02:11] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-08 16:02:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103731706535608320,"km_value":103731706535608.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948441378772164608,"description":"Unknown IO ID 45"} 
[2026-07-08 16:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577720064001,"power":13254,"unknown_10":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8948441378772164608}} 
[2026-07-08 16:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":125687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:02:11] local.INFO: GPS data processed {"connection_id":125687,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:02:11] local.INFO: Acknowledgment sent {"connection_id":125687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":127676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452237,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:02:11] local.INFO: GPS data processed {"connection_id":127676,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:02:11] local.INFO: Acknowledgment sent {"connection_id":127676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:02:15] local.INFO: TCP Data received {"connection_id":125687,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4145b820012d1822400721b1d0004e000f2a..."} 
[2026-07-08 16:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4145b820012d1822400721b1d0004e000f2a..."} 
[2026-07-08 16:02:15] local.INFO: Processing buffer {"connection_id":125687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4145b820012d1822400721b1d0004e000f2a..."} 
[2026-07-08 16:02:15] local.INFO: Packet analysis {"connection_id":125687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 16:02:15] local.INFO: Extracted packet for processing {"connection_id":125687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 16:02:15] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119648720,"longitude_deg":75.6556352,"latitude_deg":11.964872,"altitude":78,"angle":15,"satellites":42,"speed":9,"hex_longitude":"2d182240","hex_latitude":"0721b1d0","is_valid_coordinates":true} 
[2026-07-08 16:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577666560001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854549995061248,"note":"Value kept but may cause issues"} 
[2026-07-08 16:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585448960,"note":"Value kept but may cause issues"} 
[2026-07-08 16:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783506516000,"timestamp_ms":1783506516000,"timestamp_seconds":1783506516,"priority":1,"record_length":96,"hex_timestamp":"0000019f4145b820"} 
[2026-07-08 16:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-08 16:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":125687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":125687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":125687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:02:15] 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-07-08 16:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577666560001,"66":13319,"105":206,"83":41984,"24":9,"16":4854549995061248,"45":1737896905585448960},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 16:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577666560001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:02:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:02:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854549995061248,"km_value":4854549995061.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585448960,"description":"Unknown IO ID 45"} 
[2026-07-08 16:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577666560001,"power":13319,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1737896905585448960}} 
[2026-07-08 16:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":125687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:02:15] local.INFO: GPS data processed {"connection_id":125687,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:02:15] local.INFO: Acknowledgment sent {"connection_id":125687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:02:31] local.INFO: TCP Data received {"connection_id":125577,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125577,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:02:31] local.INFO: Processing buffer {"connection_id":125577,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:02:31] local.INFO: IMEI packet received {"connection_id":125577,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":125577,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:02:32] local.INFO: TCP Data received {"connection_id":125576,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f41450470012d9aa38005781260000700f829..."} 
[2026-07-08 16:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41450470012d9aa38005781260000700f829..."} 
[2026-07-08 16:02:32] local.INFO: Processing buffer {"connection_id":125576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41450470012d9aa38005781260000700f829..."} 
[2026-07-08 16:02:32] local.INFO: Packet analysis {"connection_id":125576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 16:02:32] local.INFO: Extracted packet for processing {"connection_id":125576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 16:02:32] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577579264001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:02:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783506470000,"timestamp_ms":1783506470000,"timestamp_seconds":1783506470,"priority":1,"record_length":96,"hex_timestamp":"0000019f41450470"} 
[2026-07-08 16:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:02: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":156,"data_length":795,"current_offset":136} 
[2026-07-08 16:02:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:02: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-07-08 16:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577579264001,"66":25702,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577579264001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:02:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:02:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577579264001,"power":25702,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":125576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:02:32] local.INFO: GPS data processed {"connection_id":125576,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:02:32] local.INFO: Acknowledgment sent {"connection_id":125576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:02:36] local.INFO: TCP Data received {"connection_id":125577,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125577,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:02:36] local.INFO: Processing buffer {"connection_id":125577,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:02:36] local.INFO: IMEI packet received {"connection_id":125577,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":125577,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:02:37] local.INFO: TCP Data received {"connection_id":125577,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4148e4a0012d7c32c005eb11980000009217..."} 
[2026-07-08 16:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4148e4a0012d7c32c005eb11980000009217..."} 
[2026-07-08 16:02:37] local.INFO: Processing buffer {"connection_id":125577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4148e4a0012d7c32c005eb11980000009217..."} 
[2026-07-08 16:02:37] local.INFO: Packet analysis {"connection_id":125577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4148"} 
[2026-07-08 16:02:37] local.INFO: Extracted packet for processing {"connection_id":125577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4148"} 
[2026-07-08 16:02:37] local.INFO: GPS Element Parsed {"raw_longitude":763114176,"raw_latitude":99291544,"longitude_deg":76.3114176,"latitude_deg":9.9291544,"altitude":0,"angle":146,"satellites":23,"speed":27,"hex_longitude":"2d7c32c0","hex_latitude":"05eb1198","is_valid_coordinates":true} 
[2026-07-08 16:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577721088001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103731740895346688,"note":"Value kept but may cause issues"} 
[2026-07-08 16:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949074697469040640,"note":"Value kept but may cause issues"} 
[2026-07-08 16:02:37] 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-07-08 16:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783506724000,"timestamp_ms":1783506724000,"timestamp_seconds":1783506724,"priority":1,"record_length":96,"hex_timestamp":"0000019f4148e4a0"} 
[2026-07-08 16:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-08 16:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577721088001,"66":13254,"10":206,"87":13824,"24":27,"16":103731740895346688,"45":8949074697469040640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-07-08 16:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577721088001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:02:37] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-08 16:02:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103731740895346688,"km_value":103731740895346.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949074697469040640,"description":"Unknown IO ID 45"} 
[2026-07-08 16:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577721088001,"power":13254,"unknown_10":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8949074697469040640}} 
[2026-07-08 16:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":125577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452240,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:02:37] local.INFO: GPS data processed {"connection_id":125577,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:02:37] local.INFO: Acknowledgment sent {"connection_id":125577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:02:55] local.INFO: TCP Data received {"connection_id":127679,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:02:55] local.INFO: Processing buffer {"connection_id":127679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:02:55] local.INFO: IMEI packet received {"connection_id":127679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":127679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:03:00] local.INFO: TCP Data received {"connection_id":126449,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:03:00] local.INFO: Processing buffer {"connection_id":126449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:03:00] local.INFO: IMEI packet received {"connection_id":126449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":126449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:03:00] local.INFO: TCP Data received {"connection_id":127679,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:03:00] local.INFO: Processing buffer {"connection_id":127679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:03:00] local.INFO: IMEI packet received {"connection_id":127679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":127679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:03:01] local.INFO: TCP Data received {"connection_id":127679,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f41450470012d9aa38005781260000700f829..."} 
[2026-07-08 16:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41450470012d9aa38005781260000700f829..."} 
[2026-07-08 16:03:01] local.INFO: Processing buffer {"connection_id":127679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41450470012d9aa38005781260000700f829..."} 
[2026-07-08 16:03:01] local.INFO: Packet analysis {"connection_id":127679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 16:03:01] local.INFO: Extracted packet for processing {"connection_id":127679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4145"} 
[2026-07-08 16:03:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577579264001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:03:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783506470000,"timestamp_ms":1783506470000,"timestamp_seconds":1783506470,"priority":1,"record_length":96,"hex_timestamp":"0000019f41450470"} 
[2026-07-08 16:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:03:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-08 16:03:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:03:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:03: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-07-08 16:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577579264001,"66":25702,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577579264001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:03:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:03:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577579264001,"power":25702,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":127679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:03:01] local.INFO: GPS data processed {"connection_id":127679,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:03:01] local.INFO: Acknowledgment sent {"connection_id":127679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:03:05] local.INFO: TCP Data received {"connection_id":126449,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:03:05] local.INFO: Processing buffer {"connection_id":126449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:03:05] local.INFO: IMEI packet received {"connection_id":126449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":126449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:03:06] local.INFO: TCP Data received {"connection_id":126449,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41460a28012d1821800721b2d8004e000f2b..."} 
[2026-07-08 16:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41460a28012d1821800721b2d8004e000f2b..."} 
[2026-07-08 16:03:06] local.INFO: Processing buffer {"connection_id":126449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41460a28012d1821800721b2d8004e000f2b..."} 
[2026-07-08 16:03:06] local.INFO: Packet analysis {"connection_id":126449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4146"} 
[2026-07-08 16:03:06] local.INFO: Extracted packet for processing {"connection_id":126449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4146"} 
[2026-07-08 16:03:06] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119648984,"longitude_deg":75.655616,"latitude_deg":11.9648984,"altitude":78,"angle":15,"satellites":43,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b2d8","is_valid_coordinates":true} 
[2026-07-08 16:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577668096001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854571469897728,"note":"Value kept but may cause issues"} 
[2026-07-08 16:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492682752,"note":"Value kept but may cause issues"} 
[2026-07-08 16:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783506537000,"timestamp_ms":1783506537000,"timestamp_seconds":1783506537,"priority":1,"record_length":96,"hex_timestamp":"0000019f41460a28"} 
[2026-07-08 16:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-08 16:03:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-08 16:03:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 16:03:06] local.WARNING: Large IO value detected {"io_id":169,"raw_value":57819369443316644,"note":"Value kept but may cause issues"} 
[2026-07-08 16:03:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788854,"note":"Value kept but may cause issues"} 
[2026-07-08 16:03:06] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-6566247934564816896,"note":"Value kept but may cause issues"} 
[2026-07-08 16:03:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-08 16:03:06] local.WARNING: Large IO value detected {"io_id":43,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-07-08 16:03:06] local.WARNING: Large IO value detected {"io_id":68,"raw_value":-3057942853794676729,"note":"Value kept but may cause issues"} 
[2026-07-08 16:03:06] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,105,83,24,241,157,16,63,159,160,45,64,171,76,41,10,66,152,169,75,42,148,192,1,240,212,227,65,33,4,113,205,43,29,248,239,54,2,17,7,6,68],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-08 16:03:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620509008022011904,"timestamp_seconds":5620509008022012.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 16:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577668096001,"66":13276,"105":206,"83":41984,"24":0,"16":4854571469897728,"45":1739022805492682752},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 16:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577668096001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:03:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:03:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854571469897728,"km_value":4854571469897.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492682752,"description":"Unknown IO ID 45"} 
[2026-07-08 16:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577668096001,"power":13276,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492682752}} 
[2026-07-08 16:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":126449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:03:06] local.INFO: GPS data processed {"connection_id":126449,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:03:06] local.INFO: Acknowledgment sent {"connection_id":126449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:03:08] local.INFO: TCP Data received {"connection_id":125577,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4148e888012d7c348005eb0f800000008717..."} 
[2026-07-08 16:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4148e888012d7c348005eb0f800000008717..."} 
[2026-07-08 16:03:08] local.INFO: Processing buffer {"connection_id":125577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4148e888012d7c348005eb0f800000008717..."} 
[2026-07-08 16:03:08] local.INFO: Packet analysis {"connection_id":125577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4148"} 
[2026-07-08 16:03:08] local.INFO: Extracted packet for processing {"connection_id":125577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4148"} 
[2026-07-08 16:03:08] local.INFO: GPS Element Parsed {"raw_longitude":763114624,"raw_latitude":99291008,"longitude_deg":76.3114624,"latitude_deg":9.9291008,"altitude":0,"angle":135,"satellites":23,"speed":26,"hex_longitude":"2d7c3480","hex_latitude":"05eb0f80","is_valid_coordinates":true} 
[2026-07-08 16:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577721344001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103731775255085056,"note":"Value kept but may cause issues"} 
[2026-07-08 16:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949426541189765120,"note":"Value kept but may cause issues"} 
[2026-07-08 16:03:08] 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-07-08 16:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783506725000,"timestamp_ms":1783506725000,"timestamp_seconds":1783506725,"priority":1,"record_length":96,"hex_timestamp":"0000019f4148e888"} 
[2026-07-08 16:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-08 16:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577721344001,"66":13222,"10":206,"87":13824,"24":26,"16":103731775255085056,"45":8949426541189765120},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-07-08 16:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577721344001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:03:08] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-08 16:03:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103731775255085056,"km_value":103731775255085.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949426541189765120,"description":"Unknown IO ID 45"} 
[2026-07-08 16:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577721344001,"power":13222,"unknown_10":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8949426541189765120}} 
[2026-07-08 16:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":125577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452243,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:03:08] local.INFO: GPS data processed {"connection_id":125577,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:03:08] local.INFO: Acknowledgment sent {"connection_id":125577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:03:32] local.INFO: TCP Data received {"connection_id":127679,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f41499c38012d9aa38005781260000700f82a..."} 
[2026-07-08 16:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41499c38012d9aa38005781260000700f82a..."} 
[2026-07-08 16:03:32] local.INFO: Processing buffer {"connection_id":127679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41499c38012d9aa38005781260000700f82a..."} 
[2026-07-08 16:03:32] local.INFO: Packet analysis {"connection_id":127679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4149"} 
[2026-07-08 16:03:32] local.INFO: Extracted packet for processing {"connection_id":127679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4149"} 
[2026-07-08 16:03:32] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":42,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16: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-07-08 16:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577656320001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:03:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783506771000,"timestamp_ms":1783506771000,"timestamp_seconds":1783506771,"priority":1,"record_length":96,"hex_timestamp":"0000019f41499c38"} 
[2026-07-08 16:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 16:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:03: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-07-08 16:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577656320001,"66":25060,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577656320001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:03:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:03:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577656320001,"power":25060,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":127679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:03:32] local.INFO: GPS data processed {"connection_id":127679,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:03:32] local.INFO: Acknowledgment sent {"connection_id":127679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:03:36] local.INFO: TCP Data received {"connection_id":125688,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125688,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:03:36] local.INFO: Processing buffer {"connection_id":125688,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:03:36] local.INFO: IMEI packet received {"connection_id":125688,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":125688,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:03:37] local.INFO: TCP Data received {"connection_id":126449,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41465c30012d1820000721b0f8004d000f29..."} 
[2026-07-08 16:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41465c30012d1820000721b0f8004d000f29..."} 
[2026-07-08 16:03:37] local.INFO: Processing buffer {"connection_id":126449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41465c30012d1820000721b0f8004d000f29..."} 
[2026-07-08 16:03:37] local.INFO: Packet analysis {"connection_id":126449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4146"} 
[2026-07-08 16:03:37] local.INFO: Extracted packet for processing {"connection_id":126449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4146"} 
[2026-07-08 16:03:37] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648504,"longitude_deg":75.6555776,"latitude_deg":11.9648504,"altitude":77,"angle":15,"satellites":41,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b0f8","is_valid_coordinates":true} 
[2026-07-08 16:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577673472001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854605829636096,"note":"Value kept but may cause issues"} 
[2026-07-08 16:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260217344,"note":"Value kept but may cause issues"} 
[2026-07-08 16:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783506558000,"timestamp_ms":1783506558000,"timestamp_seconds":1783506558,"priority":1,"record_length":96,"hex_timestamp":"0000019f41465c30"} 
[2026-07-08 16:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-08 16:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577673472001,"66":13243,"105":206,"83":41984,"24":0,"16":4854605829636096,"45":1738811699260217344},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 16:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577673472001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:03:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:03:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854605829636096,"km_value":4854605829636.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260217344,"description":"Unknown IO ID 45"} 
[2026-07-08 16:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577673472001,"power":13243,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260217344}} 
[2026-07-08 16:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":126449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:03:37] local.INFO: GPS data processed {"connection_id":126449,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:03:37] local.INFO: Acknowledgment sent {"connection_id":126449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:03:41] local.INFO: TCP Data received {"connection_id":125688,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125688,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:03:41] local.INFO: Processing buffer {"connection_id":125688,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:03:41] local.INFO: IMEI packet received {"connection_id":125688,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":125688,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:03:42] local.INFO: TCP Data received {"connection_id":125688,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4149ee40012d7c75c005eaced00006004917..."} 
[2026-07-08 16:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4149ee40012d7c75c005eaced00006004917..."} 
[2026-07-08 16:03:42] local.INFO: Processing buffer {"connection_id":125688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4149ee40012d7c75c005eaced00006004917..."} 
[2026-07-08 16:03:42] local.INFO: Packet analysis {"connection_id":125688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4149"} 
[2026-07-08 16:03:42] local.INFO: Extracted packet for processing {"connection_id":125688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4149"} 
[2026-07-08 16:03:42] local.INFO: GPS Element Parsed {"raw_longitude":763131328,"raw_latitude":99274448,"longitude_deg":76.3131328,"latitude_deg":9.9274448,"altitude":6,"angle":73,"satellites":23,"speed":20,"hex_longitude":"2d7c75c0","hex_latitude":"05eaced0","is_valid_coordinates":true} 
[2026-07-08 16:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577737728001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103733398752722944,"note":"Value kept but may cause issues"} 
[2026-07-08 16:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8966244671043758080,"note":"Value kept but may cause issues"} 
[2026-07-08 16:03:42] 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-07-08 16:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783506792000,"timestamp_ms":1783506792000,"timestamp_seconds":1783506792,"priority":1,"record_length":96,"hex_timestamp":"0000019f4149ee40"} 
[2026-07-08 16:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:03: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-07-08 16:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-08 16:03: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-07-08 16:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":125688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":125688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":125688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577737728001,"66":13091,"10":206,"87":13824,"24":20,"16":103733398752722944,"45":8966244671043758080},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-07-08 16:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577737728001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:03:42] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-08 16:03:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103733398752722944,"km_value":103733398752722.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8966244671043758080,"description":"Unknown IO ID 45"} 
[2026-07-08 16:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577737728001,"power":13091,"unknown_10":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8966244671043758080}} 
[2026-07-08 16:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":125688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452246,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:03:42] local.INFO: GPS data processed {"connection_id":125688,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:03:42] local.INFO: Acknowledgment sent {"connection_id":125688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:04:00] local.INFO: TCP Data received {"connection_id":127682,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:04:00] local.INFO: Processing buffer {"connection_id":127682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:04:00] local.INFO: IMEI packet received {"connection_id":127682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":127682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:04:00] local.INFO: TCP Data received {"connection_id":125689,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:04:00] local.INFO: Processing buffer {"connection_id":125689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:04:00] local.INFO: IMEI packet received {"connection_id":125689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":125689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:04:05] local.INFO: TCP Data received {"connection_id":127682,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:04:05] local.INFO: Processing buffer {"connection_id":127682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:04:05] local.INFO: IMEI packet received {"connection_id":127682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":127682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:04:05] local.INFO: TCP Data received {"connection_id":125689,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:04:05] local.INFO: Processing buffer {"connection_id":125689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:04:05] local.INFO: IMEI packet received {"connection_id":125689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":125689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:04:06] local.INFO: TCP Data received {"connection_id":127682,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f4146ae38012d1820000721b0f8004d000f28..."} 
[2026-07-08 16:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4146ae38012d1820000721b0f8004d000f28..."} 
[2026-07-08 16:04:06] local.INFO: Processing buffer {"connection_id":127682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4146ae38012d1820000721b0f8004d000f28..."} 
[2026-07-08 16:04:06] local.INFO: Packet analysis {"connection_id":127682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4146"} 
[2026-07-08 16:04:06] local.INFO: Extracted packet for processing {"connection_id":127682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4146"} 
[2026-07-08 16:04:06] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648504,"longitude_deg":75.6555776,"latitude_deg":11.9648504,"altitude":77,"angle":15,"satellites":40,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b0f8","is_valid_coordinates":true} 
[2026-07-08 16:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577678848001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854605829636096,"note":"Value kept but may cause issues"} 
[2026-07-08 16:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795028480,"note":"Value kept but may cause issues"} 
[2026-07-08 16:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783506579000,"timestamp_ms":1783506579000,"timestamp_seconds":1783506579,"priority":1,"record_length":96,"hex_timestamp":"0000019f4146ae38"} 
[2026-07-08 16:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-08 16:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577678848001,"66":13222,"105":206,"83":41984,"24":0,"16":4854605829636096,"45":1738389486795028480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 16:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577678848001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:04:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:04:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854605829636096,"km_value":4854605829636.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795028480,"description":"Unknown IO ID 45"} 
[2026-07-08 16:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577678848001,"power":13222,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795028480}} 
[2026-07-08 16:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":127682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:04:06] local.INFO: GPS data processed {"connection_id":127682,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:04:06] local.INFO: Acknowledgment sent {"connection_id":127682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:04:06] local.INFO: TCP Data received {"connection_id":125689,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f41499c38012d9aa38005781260000700f82a..."} 
[2026-07-08 16:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41499c38012d9aa38005781260000700f82a..."} 
[2026-07-08 16:04:06] local.INFO: Processing buffer {"connection_id":125689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41499c38012d9aa38005781260000700f82a..."} 
[2026-07-08 16:04:06] local.INFO: Packet analysis {"connection_id":125689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4149"} 
[2026-07-08 16:04:06] local.INFO: Extracted packet for processing {"connection_id":125689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4149"} 
[2026-07-08 16:04:06] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":42,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577656320001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:04:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783506771000,"timestamp_ms":1783506771000,"timestamp_seconds":1783506771,"priority":1,"record_length":96,"hex_timestamp":"0000019f41499c38"} 
[2026-07-08 16:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 16:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577656320001,"66":25060,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577656320001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:04:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:04:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577656320001,"power":25060,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":125689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:04:06] local.INFO: GPS data processed {"connection_id":125689,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:04:06] local.INFO: Acknowledgment sent {"connection_id":125689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:04:14] local.INFO: TCP Data received {"connection_id":125688,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f414a2cc0012d7c7ec005ead2580006003e17..."} 
[2026-07-08 16:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414a2cc0012d7c7ec005ead2580006003e17..."} 
[2026-07-08 16:04:14] local.INFO: Processing buffer {"connection_id":125688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414a2cc0012d7c7ec005ead2580006003e17..."} 
[2026-07-08 16:04:14] local.INFO: Packet analysis {"connection_id":125688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f414a"} 
[2026-07-08 16:04:14] local.INFO: Extracted packet for processing {"connection_id":125688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f414a"} 
[2026-07-08 16:04:14] local.INFO: GPS Element Parsed {"raw_longitude":763133632,"raw_latitude":99275352,"longitude_deg":76.3133632,"latitude_deg":9.9275352,"altitude":6,"angle":62,"satellites":23,"speed":8,"hex_longitude":"2d7c7ec0","hex_latitude":"05ead258","is_valid_coordinates":true} 
[2026-07-08 16:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577738752001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103733519011807232,"note":"Value kept but may cause issues"} 
[2026-07-08 16:04:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8968285364625002496,"note":"Value kept but may cause issues"} 
[2026-07-08 16:04:14] 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-07-08 16:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783506808000,"timestamp_ms":1783506808000,"timestamp_seconds":1783506808,"priority":1,"record_length":96,"hex_timestamp":"0000019f414a2cc0"} 
[2026-07-08 16:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:04:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-08 16:04:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:04:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":125688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":125688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":125688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:04:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577738752001,"66":12982,"8":206,"87":13824,"24":8,"16":103733519011807232,"45":8968285364625002496},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-07-08 16:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577738752001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:04:14] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-08 16:04:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103733519011807232,"km_value":103733519011807.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:04:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8968285364625002496,"description":"Unknown IO ID 45"} 
[2026-07-08 16:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577738752001,"power":12982,"unknown_8":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8968285364625002496}} 
[2026-07-08 16:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":125688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452249,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:04:14] local.INFO: GPS data processed {"connection_id":125688,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:04:14] local.INFO: Acknowledgment sent {"connection_id":125688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:04:31] local.INFO: TCP Data received {"connection_id":125690,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:04:31] local.INFO: Processing buffer {"connection_id":125690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:04:31] local.INFO: IMEI packet received {"connection_id":125690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":125690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:04:36] local.INFO: TCP Data received {"connection_id":125690,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:04:36] local.INFO: Processing buffer {"connection_id":125690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:04:36] local.INFO: IMEI packet received {"connection_id":125690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":125690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:04:37] local.INFO: TCP Data received {"connection_id":125689,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f41499c38012d9aa38005781260000700f82a..."} 
[2026-07-08 16:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41499c38012d9aa38005781260000700f82a..."} 
[2026-07-08 16:04:37] local.INFO: Processing buffer {"connection_id":125689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41499c38012d9aa38005781260000700f82a..."} 
[2026-07-08 16:04:37] local.INFO: Packet analysis {"connection_id":125689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4149"} 
[2026-07-08 16:04:37] local.INFO: Extracted packet for processing {"connection_id":125689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4149"} 
[2026-07-08 16:04:37] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":42,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577656320001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:04:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783506771000,"timestamp_ms":1783506771000,"timestamp_seconds":1783506771,"priority":1,"record_length":96,"hex_timestamp":"0000019f41499c38"} 
[2026-07-08 16:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 16:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577656320001,"66":25060,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577656320001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:04:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:04:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577656320001,"power":25060,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":125689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:04:37] local.INFO: GPS data processed {"connection_id":125689,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:04:37] local.INFO: Acknowledgment sent {"connection_id":125689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:04:37] local.INFO: TCP Data received {"connection_id":127682,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41470040012d1820000721b0f8004d000f29..."} 
[2026-07-08 16:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41470040012d1820000721b0f8004d000f29..."} 
[2026-07-08 16:04:37] local.INFO: Processing buffer {"connection_id":127682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41470040012d1820000721b0f8004d000f29..."} 
[2026-07-08 16:04:37] local.INFO: Packet analysis {"connection_id":127682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4147"} 
[2026-07-08 16:04:37] local.INFO: Extracted packet for processing {"connection_id":127682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4147"} 
[2026-07-08 16:04:37] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648504,"longitude_deg":75.6555776,"latitude_deg":11.9648504,"altitude":77,"angle":15,"satellites":41,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b0f8","is_valid_coordinates":true} 
[2026-07-08 16:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577684224001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854605829636096,"note":"Value kept but may cause issues"} 
[2026-07-08 16:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795028480,"note":"Value kept but may cause issues"} 
[2026-07-08 16:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783506600000,"timestamp_ms":1783506600000,"timestamp_seconds":1783506600,"priority":1,"record_length":96,"hex_timestamp":"0000019f41470040"} 
[2026-07-08 16:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-08 16:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577684224001,"66":13102,"105":206,"83":41984,"24":0,"16":4854605829636096,"45":1738389486795028480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 16:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577684224001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:04:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:04:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854605829636096,"km_value":4854605829636.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795028480,"description":"Unknown IO ID 45"} 
[2026-07-08 16:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577684224001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795028480}} 
[2026-07-08 16:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":127682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:04:37] local.INFO: GPS data processed {"connection_id":127682,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:04:37] local.INFO: Acknowledgment sent {"connection_id":127682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:04:37] local.INFO: TCP Data received {"connection_id":125690,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f414a57b8012d7c91c005eada600004004a17..."} 
[2026-07-08 16:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414a57b8012d7c91c005eada600004004a17..."} 
[2026-07-08 16:04:37] local.INFO: Processing buffer {"connection_id":125690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414a57b8012d7c91c005eada600004004a17..."} 
[2026-07-08 16:04:37] local.INFO: Packet analysis {"connection_id":125690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f414a"} 
[2026-07-08 16:04:37] local.INFO: Extracted packet for processing {"connection_id":125690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f414a"} 
[2026-07-08 16:04:37] local.INFO: GPS Element Parsed {"raw_longitude":763138496,"raw_latitude":99277408,"longitude_deg":76.3138496,"latitude_deg":9.9277408,"altitude":4,"angle":74,"satellites":23,"speed":23,"hex_longitude":"2d7c91c0","hex_latitude":"05eada60","is_valid_coordinates":true} 
[2026-07-08 16:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577742848001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103733772414877696,"note":"Value kept but may cause issues"} 
[2026-07-08 16:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970818639415629824,"note":"Value kept but may cause issues"} 
[2026-07-08 16:04:37] 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-07-08 16:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783506819000,"timestamp_ms":1783506819000,"timestamp_seconds":1783506819,"priority":1,"record_length":96,"hex_timestamp":"0000019f414a57b8"} 
[2026-07-08 16:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-08 16:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577742848001,"66":13059,"8":206,"87":13824,"24":23,"16":103733772414877696,"45":8970818639415629824},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-07-08 16:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577742848001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:04:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-08 16:04:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103733772414877696,"km_value":103733772414877.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970818639415629824,"description":"Unknown IO ID 45"} 
[2026-07-08 16:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577742848001,"power":13059,"unknown_8":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8970818639415629824}} 
[2026-07-08 16:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":125690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452252,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:04:37] local.INFO: GPS data processed {"connection_id":125690,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:04:37] local.INFO: Acknowledgment sent {"connection_id":125690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:04:41] local.INFO: TCP Data received {"connection_id":125690,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f414aa1f0012d7cb34005eae5680002004b17..."} 
[2026-07-08 16:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414aa1f0012d7cb34005eae5680002004b17..."} 
[2026-07-08 16:04:41] local.INFO: Processing buffer {"connection_id":125690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414aa1f0012d7cb34005eae5680002004b17..."} 
[2026-07-08 16:04:41] local.INFO: Packet analysis {"connection_id":125690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f414a"} 
[2026-07-08 16:04:41] local.INFO: Extracted packet for processing {"connection_id":125690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f414a"} 
[2026-07-08 16:04:41] local.INFO: GPS Element Parsed {"raw_longitude":763147072,"raw_latitude":99280232,"longitude_deg":76.3147072,"latitude_deg":9.9280232,"altitude":2,"angle":75,"satellites":23,"speed":13,"hex_longitude":"2d7cb340","hex_latitude":"05eae568","is_valid_coordinates":true} 
[2026-07-08 16:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577745664001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103734206206574592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8976166663973658624,"note":"Value kept but may cause issues"} 
[2026-07-08 16:04:41] 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-07-08 16:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783506838000,"timestamp_ms":1783506838000,"timestamp_seconds":1783506838,"priority":1,"record_length":96,"hex_timestamp":"0000019f414aa1f0"} 
[2026-07-08 16:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:04: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-07-08 16:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 16:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303168113134926,"note":"Value kept but may cause issues"} 
[2026-07-08 16:04:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 16:04:41] local.WARNING: Large IO value detected {"io_id":10,"raw_value":58079734643818503,"note":"Value kept but may cause issues"} 
[2026-07-08 16:04:41] local.WARNING: Large IO value detected {"io_id":136,"raw_value":3858759680,"note":"Value kept but may cause issues"} 
[2026-07-08 16:04:41] local.WARNING: Large IO value detected {"io_id":234,"raw_value":3428843524,"note":"Value kept but may cause issues"} 
[2026-07-08 16:04:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1309278414,"corrected_to":0} 
[2026-07-08 16:04:41] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053505870,"note":"Value kept but may cause issues"} 
[2026-07-08 16:04:41] local.WARNING: Large IO value detected {"io_id":112,"raw_value":2289827840,"note":"Value kept but may cause issues"} 
[2026-07-08 16:04:41] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,8,87,24,241,157,16,137,159,44,45,192,210,6,23,10,66,238,206,136,222,128,1,240,123,227,65,234,4,113,205,17,156,74,56,239,50,2,112,5,7],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1309278414,"validated":0}]} 
[2026-07-08 16:04:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288311838797922304,"timestamp_seconds":288311838797922.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 16:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577745664001,"66":13102,"8":206,"87":13824,"24":13,"16":103734206206574592,"45":8976166663973658624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-07-08 16:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577745664001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:04:41] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-08 16:04:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103734206206574592,"km_value":103734206206574.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8976166663973658624,"description":"Unknown IO ID 45"} 
[2026-07-08 16:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577745664001,"power":13102,"unknown_8":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8976166663973658624}} 
[2026-07-08 16:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":125690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452253,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:04:41] local.INFO: GPS data processed {"connection_id":125690,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:04:41] local.INFO: Acknowledgment sent {"connection_id":125690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:04:56] local.INFO: TCP Data received {"connection_id":126450,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:04:56] local.INFO: Processing buffer {"connection_id":126450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:04:56] local.INFO: IMEI packet received {"connection_id":126450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":126450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:05:00] local.INFO: TCP Data received {"connection_id":127683,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:05:00] local.INFO: Processing buffer {"connection_id":127683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:05:00] local.INFO: IMEI packet received {"connection_id":127683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":127683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:05:00] local.INFO: TCP Data received {"connection_id":126450,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:05:00] local.INFO: Processing buffer {"connection_id":126450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:05:00] local.INFO: IMEI packet received {"connection_id":126450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":126450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:05:01] local.INFO: TCP Data received {"connection_id":126450,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f41499c38012d9aa38005781260000700f82a..."} 
[2026-07-08 16:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41499c38012d9aa38005781260000700f82a..."} 
[2026-07-08 16:05:01] local.INFO: Processing buffer {"connection_id":126450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41499c38012d9aa38005781260000700f82a..."} 
[2026-07-08 16:05:01] local.INFO: Packet analysis {"connection_id":126450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4149"} 
[2026-07-08 16:05:01] local.INFO: Extracted packet for processing {"connection_id":126450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4149"} 
[2026-07-08 16:05:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":42,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16: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-07-08 16:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577656320001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:05:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783506771000,"timestamp_ms":1783506771000,"timestamp_seconds":1783506771,"priority":1,"record_length":96,"hex_timestamp":"0000019f41499c38"} 
[2026-07-08 16:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 16:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577656320001,"66":25060,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577656320001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:05:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:05:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577656320001,"power":25060,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":126450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:05:01] local.INFO: GPS data processed {"connection_id":126450,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:05:01] local.INFO: Acknowledgment sent {"connection_id":126450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:05:05] local.INFO: TCP Data received {"connection_id":127683,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:05:05] local.INFO: Processing buffer {"connection_id":127683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:05:05] local.INFO: IMEI packet received {"connection_id":127683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":127683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:05:06] local.INFO: TCP Data received {"connection_id":127683,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41475248012d1820000721b0f8004d000f2c..."} 
[2026-07-08 16:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41475248012d1820000721b0f8004d000f2c..."} 
[2026-07-08 16:05:06] local.INFO: Processing buffer {"connection_id":127683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41475248012d1820000721b0f8004d000f2c..."} 
[2026-07-08 16:05:06] local.INFO: Packet analysis {"connection_id":127683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4147"} 
[2026-07-08 16:05:06] local.INFO: Extracted packet for processing {"connection_id":127683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4147"} 
[2026-07-08 16:05:06] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648504,"longitude_deg":75.6555776,"latitude_deg":11.9648504,"altitude":77,"angle":15,"satellites":44,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b0f8","is_valid_coordinates":true} 
[2026-07-08 16:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577689600001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854605829636096,"note":"Value kept but may cause issues"} 
[2026-07-08 16:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795028480,"note":"Value kept but may cause issues"} 
[2026-07-08 16:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783506621000,"timestamp_ms":1783506621000,"timestamp_seconds":1783506621,"priority":1,"record_length":96,"hex_timestamp":"0000019f41475248"} 
[2026-07-08 16:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-08 16:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577689600001,"66":12776,"105":206,"83":41984,"24":0,"16":4854605829636096,"45":1738389486795028480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 16:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577689600001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:05:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:05:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854605829636096,"km_value":4854605829636.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795028480,"description":"Unknown IO ID 45"} 
[2026-07-08 16:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577689600001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795028480}} 
[2026-07-08 16:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":127683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:05:06] local.INFO: GPS data processed {"connection_id":127683,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:05:06] local.INFO: Acknowledgment sent {"connection_id":127683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:05:13] local.INFO: TCP Data received {"connection_id":125690,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f414af010012d7cc48005eae9600003004f17..."} 
[2026-07-08 16:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414af010012d7cc48005eae9600003004f17..."} 
[2026-07-08 16:05:13] local.INFO: Processing buffer {"connection_id":125690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414af010012d7cc48005eae9600003004f17..."} 
[2026-07-08 16:05:13] local.INFO: Packet analysis {"connection_id":125690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f414a"} 
[2026-07-08 16:05:13] local.INFO: Extracted packet for processing {"connection_id":125690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f414a"} 
[2026-07-08 16:05:13] local.INFO: GPS Element Parsed {"raw_longitude":763151488,"raw_latitude":99281248,"longitude_deg":76.3151488,"latitude_deg":9.9281248,"altitude":3,"angle":79,"satellites":23,"speed":18,"hex_longitude":"2d7cc480","hex_latitude":"05eae960","is_valid_coordinates":true} 
[2026-07-08 16:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577750528001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103734420954939392,"note":"Value kept but may cause issues"} 
[2026-07-08 16:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8985596075694188544,"note":"Value kept but may cause issues"} 
[2026-07-08 16:05:13] 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-07-08 16:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783506858000,"timestamp_ms":1783506858000,"timestamp_seconds":1783506858,"priority":1,"record_length":96,"hex_timestamp":"0000019f414af010"} 
[2026-07-08 16:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:05: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-07-08 16:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-08 16:05:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:05:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577750528001,"66":13276,"8":206,"87":13824,"24":18,"16":103734420954939392,"45":8985596075694188544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-07-08 16:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577750528001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:05:13] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-08 16:05:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103734420954939392,"km_value":103734420954939.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8985596075694188544,"description":"Unknown IO ID 45"} 
[2026-07-08 16:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577750528001,"power":13276,"unknown_8":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8985596075694188544}} 
[2026-07-08 16:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":125690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452256,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:05:13] local.INFO: GPS data processed {"connection_id":125690,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:05:13] local.INFO: Acknowledgment sent {"connection_id":125690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:05:31] local.INFO: TCP Data received {"connection_id":125579,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125579,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:05:31] local.INFO: Processing buffer {"connection_id":125579,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:05:31] local.INFO: IMEI packet received {"connection_id":125579,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":125579,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:05:32] local.INFO: TCP Data received {"connection_id":126450,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f41499c38012d9aa38005781260000700f82a..."} 
[2026-07-08 16:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41499c38012d9aa38005781260000700f82a..."} 
[2026-07-08 16:05:32] local.INFO: Processing buffer {"connection_id":126450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41499c38012d9aa38005781260000700f82a..."} 
[2026-07-08 16:05:32] local.INFO: Packet analysis {"connection_id":126450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4149"} 
[2026-07-08 16:05:32] local.INFO: Extracted packet for processing {"connection_id":126450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4149"} 
[2026-07-08 16:05:32] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":42,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577656320001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:05:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783506771000,"timestamp_ms":1783506771000,"timestamp_seconds":1783506771,"priority":1,"record_length":96,"hex_timestamp":"0000019f41499c38"} 
[2026-07-08 16:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:05: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":102,"data_length":795,"current_offset":136} 
[2026-07-08 16:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577656320001,"66":25060,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577656320001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:05:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:05:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577656320001,"power":25060,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":126450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:05:32] local.INFO: GPS data processed {"connection_id":126450,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:05:32] local.INFO: Acknowledgment sent {"connection_id":126450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:05:35] local.INFO: TCP Data received {"connection_id":125579,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125579,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:05:35] local.INFO: Processing buffer {"connection_id":125579,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:05:35] local.INFO: IMEI packet received {"connection_id":125579,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":125579,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:05:36] local.INFO: TCP Data received {"connection_id":125579,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f414b4218012d7ce2c005eaec800009005117..."} 
[2026-07-08 16:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414b4218012d7ce2c005eaec800009005117..."} 
[2026-07-08 16:05:36] local.INFO: Processing buffer {"connection_id":125579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414b4218012d7ce2c005eaec800009005117..."} 
[2026-07-08 16:05:36] local.INFO: Packet analysis {"connection_id":125579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f414b"} 
[2026-07-08 16:05:36] local.INFO: Extracted packet for processing {"connection_id":125579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f414b"} 
[2026-07-08 16:05:36] local.INFO: GPS Element Parsed {"raw_longitude":763159232,"raw_latitude":99282048,"longitude_deg":76.3159232,"latitude_deg":9.9282048,"altitude":9,"angle":81,"satellites":23,"speed":0,"hex_longitude":"2d7ce2c0","hex_latitude":"05eaec80","is_valid_coordinates":true} 
[2026-07-08 16:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577755648001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103734798912061440,"note":"Value kept but may cause issues"} 
[2026-07-08 16:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8990451519042707456,"note":"Value kept but may cause issues"} 
[2026-07-08 16:05:36] 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-07-08 16:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783506879000,"timestamp_ms":1783506879000,"timestamp_seconds":1783506879,"priority":1,"record_length":96,"hex_timestamp":"0000019f414b4218"} 
[2026-07-08 16:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-08 16:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577755648001,"66":12852,"8":206,"87":13824,"24":0,"16":103734798912061440,"45":8990451519042707456},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-07-08 16:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577755648001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:05:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-08 16:05:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103734798912061440,"km_value":103734798912061.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8990451519042707456,"description":"Unknown IO ID 45"} 
[2026-07-08 16:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577755648001,"power":12852,"unknown_8":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8990451519042707456}} 
[2026-07-08 16:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":125579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452258,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:05:36] local.INFO: GPS data processed {"connection_id":125579,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:05:36] local.INFO: Acknowledgment sent {"connection_id":125579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:05:40] local.INFO: TCP Data received {"connection_id":127683,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f414ad8a0012d1820000721b0f8004d000f2e..."} 
[2026-07-08 16:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414ad8a0012d1820000721b0f8004d000f2e..."} 
[2026-07-08 16:05:40] local.INFO: Processing buffer {"connection_id":127683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414ad8a0012d1820000721b0f8004d000f2e..."} 
[2026-07-08 16:05:40] local.INFO: Packet analysis {"connection_id":127683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f414a"} 
[2026-07-08 16:05:40] local.INFO: Extracted packet for processing {"connection_id":127683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f414a"} 
[2026-07-08 16:05:40] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648504,"longitude_deg":75.6555776,"latitude_deg":11.9648504,"altitude":77,"angle":15,"satellites":46,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b0f8","is_valid_coordinates":true} 
[2026-07-08 16:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577748736001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854605829636096,"note":"Value kept but may cause issues"} 
[2026-07-08 16:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795028480,"note":"Value kept but may cause issues"} 
[2026-07-08 16:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783506852000,"timestamp_ms":1783506852000,"timestamp_seconds":1783506852,"priority":1,"record_length":96,"hex_timestamp":"0000019f414ad8a0"} 
[2026-07-08 16:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-08 16:05: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-07-08 16:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":127683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":127683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":127683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577748736001,"66":12852,"105":206,"83":41984,"24":0,"16":4854605829636096,"45":1738389486795028480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 16:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577748736001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:05:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:05:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854605829636096,"km_value":4854605829636.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795028480,"description":"Unknown IO ID 45"} 
[2026-07-08 16:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577748736001,"power":12852,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795028480}} 
[2026-07-08 16:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":127683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:05:40] local.INFO: GPS data processed {"connection_id":127683,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:05:40] local.INFO: Acknowledgment sent {"connection_id":127683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:05:55] local.INFO: TCP Data received {"connection_id":127684,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:05:55] local.INFO: Processing buffer {"connection_id":127684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:05:55] local.INFO: IMEI packet received {"connection_id":127684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":127684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:06:00] local.INFO: TCP Data received {"connection_id":125691,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:06:00] local.INFO: Processing buffer {"connection_id":125691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:06:00] local.INFO: IMEI packet received {"connection_id":125691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":125691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:06:00] local.INFO: TCP Data received {"connection_id":127684,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:06:00] local.INFO: Processing buffer {"connection_id":127684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:06:00] local.INFO: IMEI packet received {"connection_id":127684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":127684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:06:01] local.INFO: TCP Data received {"connection_id":127684,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f41499c38012d9aa38005781260000700f82a..."} 
[2026-07-08 16:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41499c38012d9aa38005781260000700f82a..."} 
[2026-07-08 16:06:01] local.INFO: Processing buffer {"connection_id":127684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41499c38012d9aa38005781260000700f82a..."} 
[2026-07-08 16:06:01] local.INFO: Packet analysis {"connection_id":127684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4149"} 
[2026-07-08 16:06:01] local.INFO: Extracted packet for processing {"connection_id":127684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4149"} 
[2026-07-08 16:06:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":42,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577656320001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:06:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783506771000,"timestamp_ms":1783506771000,"timestamp_seconds":1783506771,"priority":1,"record_length":96,"hex_timestamp":"0000019f41499c38"} 
[2026-07-08 16:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 16:06:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:06:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577656320001,"66":25060,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577656320001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:06:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:06:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577656320001,"power":25060,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":127684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:06:01] local.INFO: GPS data processed {"connection_id":127684,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:06:01] local.INFO: Acknowledgment sent {"connection_id":127684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:06:05] local.INFO: TCP Data received {"connection_id":125691,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:06:05] local.INFO: Processing buffer {"connection_id":125691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:06:05] local.INFO: IMEI packet received {"connection_id":125691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":125691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:06:06] local.INFO: TCP Data received {"connection_id":125691,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f414b2aa8012d1820000721b0f8004d000f2b..."} 
[2026-07-08 16:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414b2aa8012d1820000721b0f8004d000f2b..."} 
[2026-07-08 16:06:06] local.INFO: Processing buffer {"connection_id":125691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414b2aa8012d1820000721b0f8004d000f2b..."} 
[2026-07-08 16:06:06] local.INFO: Packet analysis {"connection_id":125691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f414b"} 
[2026-07-08 16:06:06] local.INFO: Extracted packet for processing {"connection_id":125691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f414b"} 
[2026-07-08 16:06:06] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648504,"longitude_deg":75.6555776,"latitude_deg":11.9648504,"altitude":77,"angle":15,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b0f8","is_valid_coordinates":true} 
[2026-07-08 16:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577754112001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854605829636096,"note":"Value kept but may cause issues"} 
[2026-07-08 16:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795028480,"note":"Value kept but may cause issues"} 
[2026-07-08 16:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783506873000,"timestamp_ms":1783506873000,"timestamp_seconds":1783506873,"priority":1,"record_length":96,"hex_timestamp":"0000019f414b2aa8"} 
[2026-07-08 16:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-08 16:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577754112001,"66":12852,"105":206,"83":41984,"24":0,"16":4854605829636096,"45":1738389486795028480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 16:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577754112001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:06:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:06:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854605829636096,"km_value":4854605829636.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795028480,"description":"Unknown IO ID 45"} 
[2026-07-08 16:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577754112001,"power":12852,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795028480}} 
[2026-07-08 16:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":125691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:06:06] local.INFO: GPS data processed {"connection_id":125691,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:06:06] local.INFO: Acknowledgment sent {"connection_id":125691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:06:06] local.INFO: TCP Data received {"connection_id":127685,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127685,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:06:06] local.INFO: Processing buffer {"connection_id":127685,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:06:06] local.INFO: IMEI packet received {"connection_id":127685,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 16:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":127685,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:06:08] local.INFO: TCP Data received {"connection_id":125579,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f414b5d70012d7ce4c005eaec00000b006417..."} 
[2026-07-08 16:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414b5d70012d7ce4c005eaec00000b006417..."} 
[2026-07-08 16:06:08] local.INFO: Processing buffer {"connection_id":125579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414b5d70012d7ce4c005eaec00000b006417..."} 
[2026-07-08 16:06:08] local.INFO: Packet analysis {"connection_id":125579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f414b"} 
[2026-07-08 16:06:08] local.INFO: Extracted packet for processing {"connection_id":125579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f414b"} 
[2026-07-08 16:06:08] local.INFO: GPS Element Parsed {"raw_longitude":763159744,"raw_latitude":99281920,"longitude_deg":76.3159744,"latitude_deg":9.928192,"altitude":11,"angle":100,"satellites":23,"speed":3,"hex_longitude":"2d7ce4c0","hex_latitude":"05eaec00","is_valid_coordinates":true} 
[2026-07-08 16:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577761024001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103734820386897920,"note":"Value kept but may cause issues"} 
[2026-07-08 16:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8998966137088409600,"note":"Value kept but may cause issues"} 
[2026-07-08 16:06:08] 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-07-08 16:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783506886000,"timestamp_ms":1783506886000,"timestamp_seconds":1783506886,"priority":1,"record_length":96,"hex_timestamp":"0000019f414b5d70"} 
[2026-07-08 16:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-08 16:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577761024001,"66":13037,"8":206,"87":13824,"24":3,"16":103734820386897920,"45":8998966137088409600},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-07-08 16:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577761024001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:06:08] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-08 16:06:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103734820386897920,"km_value":103734820386897.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8998966137088409600,"description":"Unknown IO ID 45"} 
[2026-07-08 16:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577761024001,"power":13037,"unknown_8":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8998966137088409600}} 
[2026-07-08 16:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":125579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452262,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:06:08] local.INFO: GPS data processed {"connection_id":125579,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:06:08] local.INFO: Acknowledgment sent {"connection_id":125579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:06:31] local.INFO: TCP Data received {"connection_id":125692,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125692,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:06:31] local.INFO: Processing buffer {"connection_id":125692,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:06:31] local.INFO: IMEI packet received {"connection_id":125692,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":125692,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:06:32] local.INFO: TCP Data received {"connection_id":125692,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125692,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:06:32] local.INFO: Processing buffer {"connection_id":125692,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:06:32] local.INFO: IMEI packet received {"connection_id":125692,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":125692,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:06:32] local.INFO: TCP Data received {"connection_id":127684,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f41499c38012d9aa38005781260000700f82a..."} 
[2026-07-08 16:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41499c38012d9aa38005781260000700f82a..."} 
[2026-07-08 16:06:32] local.INFO: Processing buffer {"connection_id":127684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41499c38012d9aa38005781260000700f82a..."} 
[2026-07-08 16:06:32] local.INFO: Packet analysis {"connection_id":127684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4149"} 
[2026-07-08 16:06:32] local.INFO: Extracted packet for processing {"connection_id":127684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4149"} 
[2026-07-08 16:06:32] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":42,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 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-07-08 16:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577656320001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:06:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783506771000,"timestamp_ms":1783506771000,"timestamp_seconds":1783506771,"priority":1,"record_length":96,"hex_timestamp":"0000019f41499c38"} 
[2026-07-08 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-07-08 16:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 16:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 16:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577656320001,"66":25060,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577656320001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:06:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:06:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577656320001,"power":25060,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":127684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:06:32] local.INFO: GPS data processed {"connection_id":127684,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:06:32] local.INFO: Acknowledgment sent {"connection_id":127684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:06:35] local.INFO: TCP Data received {"connection_id":125692,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125692,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:06:35] local.INFO: Processing buffer {"connection_id":125692,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:06:35] local.INFO: IMEI packet received {"connection_id":125692,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":125692,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:06:36] local.INFO: TCP Data received {"connection_id":125692,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f414cc8b8012d7d168005eafa18000a004617..."} 
[2026-07-08 16:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414cc8b8012d7d168005eafa18000a004617..."} 
[2026-07-08 16:06:36] local.INFO: Processing buffer {"connection_id":125692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414cc8b8012d7d168005eafa18000a004617..."} 
[2026-07-08 16:06:36] local.INFO: Packet analysis {"connection_id":125692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f414c"} 
[2026-07-08 16:06:36] local.INFO: Extracted packet for processing {"connection_id":125692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f414c"} 
[2026-07-08 16:06:36] local.INFO: GPS Element Parsed {"raw_longitude":763172480,"raw_latitude":99285528,"longitude_deg":76.317248,"latitude_deg":9.9285528,"altitude":10,"angle":70,"satellites":23,"speed":4,"hex_longitude":"2d7d1680","hex_latitude":"05eafa18","is_valid_coordinates":true} 
[2026-07-08 16: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-07-08 16:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577786112001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103735464631992320,"note":"Value kept but may cause issues"} 
[2026-07-08 16:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013180623413161984,"note":"Value kept but may cause issues"} 
[2026-07-08 16:06:36] 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-07-08 16:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783506979000,"timestamp_ms":1783506979000,"timestamp_seconds":1783506979,"priority":1,"record_length":96,"hex_timestamp":"0000019f414cc8b8"} 
[2026-07-08 16:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-08 16:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577786112001,"66":13059,"158":206,"87":13824,"24":4,"16":103735464631992320,"45":9013180623413161984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-08 16:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577786112001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:06:36] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-08 16:06:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103735464631992320,"km_value":103735464631992.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013180623413161984,"description":"Unknown IO ID 45"} 
[2026-07-08 16:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577786112001,"power":13059,"unknown_158":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":9013180623413161984}} 
[2026-07-08 16:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":125692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452264,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:06:36] local.INFO: GPS data processed {"connection_id":125692,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:06:36] local.INFO: Acknowledgment sent {"connection_id":125692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:06:37] local.INFO: TCP Data received {"connection_id":125691,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f414b7cb0012d1820000721b0f8004d000f2d..."} 
[2026-07-08 16:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414b7cb0012d1820000721b0f8004d000f2d..."} 
[2026-07-08 16:06:37] local.INFO: Processing buffer {"connection_id":125691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414b7cb0012d1820000721b0f8004d000f2d..."} 
[2026-07-08 16:06:37] local.INFO: Packet analysis {"connection_id":125691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f414b"} 
[2026-07-08 16:06:37] local.INFO: Extracted packet for processing {"connection_id":125691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f414b"} 
[2026-07-08 16:06:37] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648504,"longitude_deg":75.6555776,"latitude_deg":11.9648504,"altitude":77,"angle":15,"satellites":45,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b0f8","is_valid_coordinates":true} 
[2026-07-08 16:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577759488001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854605829636096,"note":"Value kept but may cause issues"} 
[2026-07-08 16:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795028480,"note":"Value kept but may cause issues"} 
[2026-07-08 16:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783506894000,"timestamp_ms":1783506894000,"timestamp_seconds":1783506894,"priority":1,"record_length":96,"hex_timestamp":"0000019f414b7cb0"} 
[2026-07-08 16:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-08 16:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577759488001,"66":12863,"105":206,"83":41984,"24":0,"16":4854605829636096,"45":1738389486795028480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 16:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577759488001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:06:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:06:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854605829636096,"km_value":4854605829636.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795028480,"description":"Unknown IO ID 45"} 
[2026-07-08 16:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577759488001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795028480}} 
[2026-07-08 16:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":125691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:06:37] local.INFO: GPS data processed {"connection_id":125691,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:06:37] local.INFO: Acknowledgment sent {"connection_id":125691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:06:53] local.INFO: TCP Data received {"connection_id":125693,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125693,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:06:53] local.INFO: Processing buffer {"connection_id":125693,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:06:53] local.INFO: IMEI packet received {"connection_id":125693,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 16:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":125693,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:06:54] local.INFO: TCP Data received {"connection_id":125693,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f414ce7f8012d0c8c800704d4880020014122..."} 
[2026-07-08 16:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414ce7f8012d0c8c800704d4880020014122..."} 
[2026-07-08 16:06:54] local.INFO: Processing buffer {"connection_id":125693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414ce7f8012d0c8c800704d4880020014122..."} 
[2026-07-08 16:06:54] local.INFO: Packet analysis {"connection_id":125693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f414c"} 
[2026-07-08 16:06:54] local.INFO: Extracted packet for processing {"connection_id":125693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f414c"} 
[2026-07-08 16:06:54] local.INFO: GPS Element Parsed {"raw_longitude":755797120,"raw_latitude":117757064,"longitude_deg":75.579712,"latitude_deg":11.7757064,"altitude":32,"angle":321,"satellites":34,"speed":8,"hex_longitude":"2d0c8c80","hex_latitude":"0704d488","is_valid_coordinates":true} 
[2026-07-08 16:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577786880001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23625494108831744,"note":"Value kept but may cause issues"} 
[2026-07-08 16:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":904097655340382208,"note":"Value kept but may cause issues"} 
[2026-07-08 16:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783506987000,"timestamp_ms":1783506987000,"timestamp_seconds":1783506987,"priority":1,"record_length":96,"hex_timestamp":"0000019f414ce7f8"} 
[2026-07-08 16:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:06: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-07-08 16:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-08 16:06:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:06:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":125693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":125693,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":125693,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 16:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 16:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577786880001,"66":14494,"95":206,"94":10240,"24":8,"16":23625494108831744,"45":904097655340382208},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-08 16:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 16:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 16:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577786880001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:06:54] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-08 16:06:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 16:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23625494108831744,"km_value":23625494108831.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":904097655340382208,"description":"Unknown IO ID 45"} 
[2026-07-08 16:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577786880001,"power":14494,"unknown_95":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":904097655340382208}} 
[2026-07-08 16:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":125693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452266,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:06:54] local.INFO: GPS data processed {"connection_id":125693,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:06:54] local.INFO: Acknowledgment sent {"connection_id":125693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:06:55] local.INFO: TCP Data received {"connection_id":127686,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:06:55] local.INFO: Processing buffer {"connection_id":127686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:06:55] local.INFO: IMEI packet received {"connection_id":127686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":127686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:07:00] local.INFO: TCP Data received {"connection_id":125581,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:07:00] local.INFO: Processing buffer {"connection_id":125581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:07:00] local.INFO: IMEI packet received {"connection_id":125581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":125581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:07:00] local.INFO: TCP Data received {"connection_id":127686,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:07:00] local.INFO: Processing buffer {"connection_id":127686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:07:00] local.INFO: IMEI packet received {"connection_id":127686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":127686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:07:01] local.INFO: TCP Data received {"connection_id":127686,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f41499c38012d9aa38005781260000700f82a..."} 
[2026-07-08 16:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41499c38012d9aa38005781260000700f82a..."} 
[2026-07-08 16:07:01] local.INFO: Processing buffer {"connection_id":127686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41499c38012d9aa38005781260000700f82a..."} 
[2026-07-08 16:07:01] local.INFO: Packet analysis {"connection_id":127686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4149"} 
[2026-07-08 16:07:01] local.INFO: Extracted packet for processing {"connection_id":127686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4149"} 
[2026-07-08 16:07:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":42,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577656320001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:07:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783506771000,"timestamp_ms":1783506771000,"timestamp_seconds":1783506771,"priority":1,"record_length":96,"hex_timestamp":"0000019f41499c38"} 
[2026-07-08 16:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 16:07:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577656320001,"66":25060,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577656320001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:07:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:07:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577656320001,"power":25060,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":127686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:07:01] local.INFO: GPS data processed {"connection_id":127686,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:07:01] local.INFO: Acknowledgment sent {"connection_id":127686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:07:05] local.INFO: TCP Data received {"connection_id":125581,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:07:05] local.INFO: Processing buffer {"connection_id":125581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:07:05] local.INFO: IMEI packet received {"connection_id":125581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":125581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:07:06] local.INFO: TCP Data received {"connection_id":125581,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f414bceb8012d1820000721b0f8004d000f2d..."} 
[2026-07-08 16:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414bceb8012d1820000721b0f8004d000f2d..."} 
[2026-07-08 16:07:06] local.INFO: Processing buffer {"connection_id":125581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414bceb8012d1820000721b0f8004d000f2d..."} 
[2026-07-08 16:07:06] local.INFO: Packet analysis {"connection_id":125581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f414b"} 
[2026-07-08 16:07:06] local.INFO: Extracted packet for processing {"connection_id":125581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f414b"} 
[2026-07-08 16:07:06] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648504,"longitude_deg":75.6555776,"latitude_deg":11.9648504,"altitude":77,"angle":15,"satellites":45,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b0f8","is_valid_coordinates":true} 
[2026-07-08 16:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577764864001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854605829636096,"note":"Value kept but may cause issues"} 
[2026-07-08 16:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795028480,"note":"Value kept but may cause issues"} 
[2026-07-08 16:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783506915000,"timestamp_ms":1783506915000,"timestamp_seconds":1783506915,"priority":1,"record_length":96,"hex_timestamp":"0000019f414bceb8"} 
[2026-07-08 16:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-08 16:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577764864001,"66":12798,"105":206,"83":41984,"24":0,"16":4854605829636096,"45":1738389486795028480},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 16:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577764864001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:07:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:07:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854605829636096,"km_value":4854605829636.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795028480,"description":"Unknown IO ID 45"} 
[2026-07-08 16:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577764864001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795028480}} 
[2026-07-08 16:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":125581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:07:06] local.INFO: GPS data processed {"connection_id":125581,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:07:06] local.INFO: Acknowledgment sent {"connection_id":125581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:07:07] local.INFO: TCP Data received {"connection_id":125692,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f414cf3b0012d7d1e8005eafd28000a003a17..."} 
[2026-07-08 16:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414cf3b0012d7d1e8005eafd28000a003a17..."} 
[2026-07-08 16:07:07] local.INFO: Processing buffer {"connection_id":125692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414cf3b0012d7d1e8005eafd28000a003a17..."} 
[2026-07-08 16:07:07] local.INFO: Packet analysis {"connection_id":125692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f414c"} 
[2026-07-08 16:07:07] local.INFO: Extracted packet for processing {"connection_id":125692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f414c"} 
[2026-07-08 16:07:07] local.INFO: GPS Element Parsed {"raw_longitude":763174528,"raw_latitude":99286312,"longitude_deg":76.3174528,"latitude_deg":9.9286312,"altitude":10,"angle":58,"satellites":23,"speed":8,"hex_longitude":"2d7d1e80","hex_latitude":"05eafd28","is_valid_coordinates":true} 
[2026-07-08 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-07-08 16:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577786624001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103735572006174720,"note":"Value kept but may cause issues"} 
[2026-07-08 16:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013532467134076928,"note":"Value kept but may cause issues"} 
[2026-07-08 16:07:07] 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-07-08 16:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783506990000,"timestamp_ms":1783506990000,"timestamp_seconds":1783506990,"priority":1,"record_length":96,"hex_timestamp":"0000019f414cf3b0"} 
[2026-07-08 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-07-08 16:07: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-07-08 16:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 16:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165193899344,"note":"Value kept but may cause issues"} 
[2026-07-08 16:07:07] local.WARNING: Large IO value detected {"io_id":158,"raw_value":58079734643818496,"note":"Value kept but may cause issues"} 
[2026-07-08 16:07:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 16:07:07] local.WARNING: Large IO value detected {"io_id":138,"raw_value":3405774848,"note":"Value kept but may cause issues"} 
[2026-07-08 16:07:07] local.WARNING: Large IO value detected {"io_id":234,"raw_value":4031250442,"note":"Value kept but may cause issues"} 
[2026-07-08 16:07:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1352532174,"corrected_to":0} 
[2026-07-08 16:07:07] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3221613294,"note":"Value kept but may cause issues"} 
[2026-07-08 16:07:07] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802128,"note":"Value kept but may cause issues"} 
[2026-07-08 16:07:07] local.WARNING: Large IO value detected {"io_id":112,"raw_value":2322464768,"note":"Value kept but may cause issues"} 
[2026-07-08 16:07:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3941486592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:07:07] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,158,87,24,241,157,16,138,159,192,45,64,249,10,23,66,161,83,1,240,187,227,65,234,4,113,205,20,17,242,168,239,50,2,112,5],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1352532174,"validated":0}]} 
[2026-07-08 16:07:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720653004977733632,"timestamp_seconds":720653004977733.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 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-07-08 16:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577786624001,"66":13222,"158":206,"87":13824,"24":8,"16":103735572006174720,"45":9013532467134076928},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-08 16:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577786624001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:07:07] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-08 16:07:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103735572006174720,"km_value":103735572006174.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013532467134076928,"description":"Unknown IO ID 45"} 
[2026-07-08 16:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577786624001,"power":13222,"unknown_158":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9013532467134076928}} 
[2026-07-08 16:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":125692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452269,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:07:07] local.INFO: GPS data processed {"connection_id":125692,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:07:07] local.INFO: Acknowledgment sent {"connection_id":125692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:07:30] local.INFO: TCP Data received {"connection_id":127687,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:07:30] local.INFO: Processing buffer {"connection_id":127687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:07:30] local.INFO: IMEI packet received {"connection_id":127687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":127687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:07:31] local.INFO: TCP Data received {"connection_id":127687,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:07:31] local.INFO: Processing buffer {"connection_id":127687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:07:31] local.INFO: IMEI packet received {"connection_id":127687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":127687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:07:32] local.INFO: TCP Data received {"connection_id":127686,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f41499c38012d9aa38005781260000700f82a..."} 
[2026-07-08 16:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41499c38012d9aa38005781260000700f82a..."} 
[2026-07-08 16:07:32] local.INFO: Processing buffer {"connection_id":127686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41499c38012d9aa38005781260000700f82a..."} 
[2026-07-08 16:07:32] local.INFO: Packet analysis {"connection_id":127686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4149"} 
[2026-07-08 16:07:32] local.INFO: Extracted packet for processing {"connection_id":127686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4149"} 
[2026-07-08 16:07:32] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":42,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577656320001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:07:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783506771000,"timestamp_ms":1783506771000,"timestamp_seconds":1783506771,"priority":1,"record_length":96,"hex_timestamp":"0000019f41499c38"} 
[2026-07-08 16:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 16:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577656320001,"66":25060,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577656320001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:07:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:07:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577656320001,"power":25060,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":127686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:07:32] local.INFO: GPS data processed {"connection_id":127686,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:07:32] local.INFO: Acknowledgment sent {"connection_id":127686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:07:35] local.INFO: TCP Data received {"connection_id":125693,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f414cf3b0012d0c89c00704d8d00020014c22..."} 
[2026-07-08 16:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414cf3b0012d0c89c00704d8d00020014c22..."} 
[2026-07-08 16:07:35] local.INFO: Processing buffer {"connection_id":125693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414cf3b0012d0c89c00704d8d00020014c22..."} 
[2026-07-08 16:07:35] local.INFO: Packet analysis {"connection_id":125693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f414c"} 
[2026-07-08 16:07:35] local.INFO: Extracted packet for processing {"connection_id":125693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f414c"} 
[2026-07-08 16:07:35] local.INFO: GPS Element Parsed {"raw_longitude":755796416,"raw_latitude":117758160,"longitude_deg":75.5796416,"latitude_deg":11.775816,"altitude":32,"angle":332,"satellites":34,"speed":22,"hex_longitude":"2d0c89c0","hex_latitude":"0704d8d0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 16:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577788672001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23625558533341184,"note":"Value kept but may cause issues"} 
[2026-07-08 16:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":904238392828790784,"note":"Value kept but may cause issues"} 
[2026-07-08 16:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783506990000,"timestamp_ms":1783506990000,"timestamp_seconds":1783506990,"priority":1,"record_length":96,"hex_timestamp":"0000019f414cf3b0"} 
[2026-07-08 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-07-08 16:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":158,"data_length":795,"current_offset":136} 
[2026-07-08 16:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 16:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125693,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125693,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 16:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 16:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577788672001,"66":14396,"95":206,"94":10240,"24":22,"16":23625558533341184,"45":904238392828790784},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-08 16:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 16:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 16:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577788672001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:07:35] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-08 16:07:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 16:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23625558533341184,"km_value":23625558533341.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":904238392828790784,"description":"Unknown IO ID 45"} 
[2026-07-08 16:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577788672001,"power":14396,"unknown_95":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":904238392828790784}} 
[2026-07-08 16:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":125693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452271,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:07:35] local.INFO: GPS data processed {"connection_id":125693,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:07:35] local.INFO: Acknowledgment sent {"connection_id":125693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:07:36] local.INFO: TCP Data received {"connection_id":127687,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:07:36] local.INFO: Processing buffer {"connection_id":127687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:07:36] local.INFO: IMEI packet received {"connection_id":127687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":127687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:07:37] local.INFO: TCP Data received {"connection_id":125581,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f414bda70012d1820000721b0f8004d000f2d..."} 
[2026-07-08 16:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414bda70012d1820000721b0f8004d000f2d..."} 
[2026-07-08 16:07:37] local.INFO: Processing buffer {"connection_id":125581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414bda70012d1820000721b0f8004d000f2d..."} 
[2026-07-08 16:07:37] local.INFO: Packet analysis {"connection_id":125581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f414b"} 
[2026-07-08 16:07:37] local.INFO: Extracted packet for processing {"connection_id":125581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f414b"} 
[2026-07-08 16:07:37] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648504,"longitude_deg":75.6555776,"latitude_deg":11.9648504,"altitude":77,"angle":15,"satellites":45,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b0f8","is_valid_coordinates":true} 
[2026-07-08 16:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577770240001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854605829636096,"note":"Value kept but may cause issues"} 
[2026-07-08 16:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795028480,"note":"Value kept but may cause issues"} 
[2026-07-08 16:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783506918000,"timestamp_ms":1783506918000,"timestamp_seconds":1783506918,"priority":1,"record_length":96,"hex_timestamp":"0000019f414bda70"} 
[2026-07-08 16:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-08 16:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:07:37] 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-07-08 16:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577770240001,"66":12743,"105":206,"83":41984,"24":0,"16":4854605829636096,"45":1738389486795028480},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 16:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577770240001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:07:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:07:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854605829636096,"km_value":4854605829636.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795028480,"description":"Unknown IO ID 45"} 
[2026-07-08 16:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577770240001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795028480}} 
[2026-07-08 16:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":125581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:07:37] local.INFO: GPS data processed {"connection_id":125581,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:07:37] local.INFO: Acknowledgment sent {"connection_id":125581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:07:37] local.INFO: TCP Data received {"connection_id":127687,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f414cff68012d7d214005eafec8000a005317..."} 
[2026-07-08 16:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414cff68012d7d214005eafec8000a005317..."} 
[2026-07-08 16:07:37] local.INFO: Processing buffer {"connection_id":127687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414cff68012d7d214005eafec8000a005317..."} 
[2026-07-08 16:07:37] local.INFO: Packet analysis {"connection_id":127687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f414c"} 
[2026-07-08 16:07:37] local.INFO: Extracted packet for processing {"connection_id":127687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f414c"} 
[2026-07-08 16:07:37] local.INFO: GPS Element Parsed {"raw_longitude":763175232,"raw_latitude":99286728,"longitude_deg":76.3175232,"latitude_deg":9.9286728,"altitude":10,"angle":83,"satellites":23,"speed":6,"hex_longitude":"2d7d2140","hex_latitude":"05eafec8","is_valid_coordinates":true} 
[2026-07-08 16:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577789440001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103735606365913088,"note":"Value kept but may cause issues"} 
[2026-07-08 16:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015784266947962880,"note":"Value kept but may cause issues"} 
[2026-07-08 16:07:37] 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-07-08 16:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783506993000,"timestamp_ms":1783506993000,"timestamp_seconds":1783506993,"priority":1,"record_length":96,"hex_timestamp":"0000019f414cff68"} 
[2026-07-08 16:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-08 16:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577789440001,"66":13091,"158":206,"87":13824,"24":6,"16":103735606365913088,"45":9015784266947962880},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-08 16:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577789440001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:07:37] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-08 16:07:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103735606365913088,"km_value":103735606365913.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015784266947962880,"description":"Unknown IO ID 45"} 
[2026-07-08 16:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577789440001,"power":13091,"unknown_158":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9015784266947962880}} 
[2026-07-08 16:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":127687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:07:37] local.INFO: GPS data processed {"connection_id":127687,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:07:37] local.INFO: Acknowledgment sent {"connection_id":127687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:07:54] local.INFO: TCP Data received {"connection_id":125694,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125694,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:07:54] local.INFO: Processing buffer {"connection_id":125694,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:07:54] local.INFO: IMEI packet received {"connection_id":125694,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 16:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":125694,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:07:55] local.INFO: TCP Data received {"connection_id":127688,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:07:55] local.INFO: Processing buffer {"connection_id":127688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:07:55] local.INFO: IMEI packet received {"connection_id":127688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":127688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:07:59] local.INFO: TCP Data received {"connection_id":125694,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125694,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:07:59] local.INFO: Processing buffer {"connection_id":125694,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:07:59] local.INFO: IMEI packet received {"connection_id":125694,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 16:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":125694,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:08:00] local.INFO: TCP Data received {"connection_id":125694,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f414d0350012d0c83800704e3480020014022..."} 
[2026-07-08 16:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414d0350012d0c83800704e3480020014022..."} 
[2026-07-08 16:08:00] local.INFO: Processing buffer {"connection_id":125694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414d0350012d0c83800704e3480020014022..."} 
[2026-07-08 16:08:00] local.INFO: Packet analysis {"connection_id":125694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f414d"} 
[2026-07-08 16:08:00] local.INFO: Extracted packet for processing {"connection_id":125694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f414d"} 
[2026-07-08 16:08:00] local.INFO: GPS Element Parsed {"raw_longitude":755794816,"raw_latitude":117760840,"longitude_deg":75.5794816,"latitude_deg":11.776084,"altitude":32,"angle":320,"satellites":34,"speed":33,"hex_longitude":"2d0c8380","hex_latitude":"0704e348","is_valid_coordinates":true} 
[2026-07-08 16:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577789440001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23625708857196544,"note":"Value kept but may cause issues"} 
[2026-07-08 16:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":903464336643117056,"note":"Value kept but may cause issues"} 
[2026-07-08 16:08:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783506994000,"timestamp_ms":1783506994000,"timestamp_seconds":1783506994,"priority":1,"record_length":96,"hex_timestamp":"0000019f414d0350"} 
[2026-07-08 16:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:08: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":60,"data_length":795,"current_offset":136} 
[2026-07-08 16:08:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:08:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125694,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125694,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:08:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 16:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 16:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577789440001,"66":14428,"95":206,"94":10240,"24":33,"16":23625708857196544,"45":903464336643117056},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-08 16:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 16:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 16:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577789440001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:08:00] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-08 16:08:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 16:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23625708857196544,"km_value":23625708857196.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":903464336643117056,"description":"Unknown IO ID 45"} 
[2026-07-08 16:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577789440001,"power":14428,"unknown_95":206,"unknown_94":10240,"ignition":33,"odometer":null,"unknown_45":903464336643117056}} 
[2026-07-08 16:08:00] local.INFO: TCP Data received {"connection_id":125582,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:08:00] local.INFO: Processing buffer {"connection_id":125582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:08:00] local.INFO: IMEI packet received {"connection_id":125582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":125582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":125694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452274,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:08:00] local.INFO: GPS data processed {"connection_id":125694,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:08:00] local.INFO: Acknowledgment sent {"connection_id":125694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:08:01] local.INFO: TCP Data received {"connection_id":127688,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:08:01] local.INFO: Processing buffer {"connection_id":127688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:08:01] local.INFO: IMEI packet received {"connection_id":127688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":127688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:08:01] local.INFO: TCP Data received {"connection_id":127688,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f41499c38012d9aa38005781260000700f82a..."} 
[2026-07-08 16:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41499c38012d9aa38005781260000700f82a..."} 
[2026-07-08 16:08:01] local.INFO: Processing buffer {"connection_id":127688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41499c38012d9aa38005781260000700f82a..."} 
[2026-07-08 16:08:01] local.INFO: Packet analysis {"connection_id":127688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4149"} 
[2026-07-08 16:08:01] local.INFO: Extracted packet for processing {"connection_id":127688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4149"} 
[2026-07-08 16:08:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":42,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577656320001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:08:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783506771000,"timestamp_ms":1783506771000,"timestamp_seconds":1783506771,"priority":1,"record_length":96,"hex_timestamp":"0000019f41499c38"} 
[2026-07-08 16:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 16:08:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:08:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577656320001,"66":25060,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577656320001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:08:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:08:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577656320001,"power":25060,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":127688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:08:01] local.INFO: GPS data processed {"connection_id":127688,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:08:01] local.INFO: Acknowledgment sent {"connection_id":127688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:08:05] local.INFO: TCP Data received {"connection_id":125582,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:08:05] local.INFO: Processing buffer {"connection_id":125582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:08:05] local.INFO: IMEI packet received {"connection_id":125582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":125582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:08:06] local.INFO: TCP Data received {"connection_id":125582,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f414bde58012d1820000721b0f8004d000f2d..."} 
[2026-07-08 16:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414bde58012d1820000721b0f8004d000f2d..."} 
[2026-07-08 16:08:06] local.INFO: Processing buffer {"connection_id":125582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414bde58012d1820000721b0f8004d000f2d..."} 
[2026-07-08 16:08:06] local.INFO: Packet analysis {"connection_id":125582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f414b"} 
[2026-07-08 16:08:06] local.INFO: Extracted packet for processing {"connection_id":125582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f414b"} 
[2026-07-08 16:08:06] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648504,"longitude_deg":75.6555776,"latitude_deg":11.9648504,"altitude":77,"angle":15,"satellites":45,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b0f8","is_valid_coordinates":true} 
[2026-07-08 16:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577771008001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854605829636096,"note":"Value kept but may cause issues"} 
[2026-07-08 16:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795028480,"note":"Value kept but may cause issues"} 
[2026-07-08 16:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783506919000,"timestamp_ms":1783506919000,"timestamp_seconds":1783506919,"priority":1,"record_length":96,"hex_timestamp":"0000019f414bde58"} 
[2026-07-08 16:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-08 16:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577771008001,"66":4275,"105":206,"83":41984,"24":0,"16":4854605829636096,"45":1738389486795028480},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 16:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577771008001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:08:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:08:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854605829636096,"km_value":4854605829636.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795028480,"description":"Unknown IO ID 45"} 
[2026-07-08 16:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577771008001,"power":4275,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795028480}} 
[2026-07-08 16:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":125582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:08:06] local.INFO: GPS data processed {"connection_id":125582,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:08:06] local.INFO: Acknowledgment sent {"connection_id":125582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:08:08] local.INFO: TCP Data received {"connection_id":127687,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f414d0350012d7d218005eafed0000a007117..."} 
[2026-07-08 16:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414d0350012d7d218005eafed0000a007117..."} 
[2026-07-08 16:08:08] local.INFO: Processing buffer {"connection_id":127687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414d0350012d7d218005eafed0000a007117..."} 
[2026-07-08 16:08:08] local.INFO: Packet analysis {"connection_id":127687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f414d"} 
[2026-07-08 16:08:08] local.INFO: Extracted packet for processing {"connection_id":127687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f414d"} 
[2026-07-08 16:08:08] local.INFO: GPS Element Parsed {"raw_longitude":763175296,"raw_latitude":99286736,"longitude_deg":76.3175296,"latitude_deg":9.9286736,"altitude":10,"angle":113,"satellites":23,"speed":4,"hex_longitude":"2d7d2180","hex_latitude":"05eafed0","is_valid_coordinates":true} 
[2026-07-08 16:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577790208001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103735610660880384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016558323134023680,"note":"Value kept but may cause issues"} 
[2026-07-08 16:08:08] 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-07-08 16:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783506994000,"timestamp_ms":1783506994000,"timestamp_seconds":1783506994,"priority":1,"record_length":96,"hex_timestamp":"0000019f414d0350"} 
[2026-07-08 16:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-08 16:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":127687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":127687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":127687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577790208001,"66":13091,"158":206,"87":13824,"24":4,"16":103735610660880384,"45":9016558323134023680},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-08 16:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577790208001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:08:08] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-08 16:08:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103735610660880384,"km_value":103735610660880.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016558323134023680,"description":"Unknown IO ID 45"} 
[2026-07-08 16:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577790208001,"power":13091,"unknown_158":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":9016558323134023680}} 
[2026-07-08 16:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":127687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452277,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:08:08] local.INFO: GPS data processed {"connection_id":127687,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:08:08] local.INFO: Acknowledgment sent {"connection_id":127687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:08:33] local.INFO: TCP Data received {"connection_id":127688,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f414e3400012d9aa38005781260000700f828..."} 
[2026-07-08 16:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414e3400012d9aa38005781260000700f828..."} 
[2026-07-08 16:08:33] local.INFO: Processing buffer {"connection_id":127688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414e3400012d9aa38005781260000700f828..."} 
[2026-07-08 16:08:33] local.INFO: Packet analysis {"connection_id":127688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f414e"} 
[2026-07-08 16:08:33] local.INFO: Extracted packet for processing {"connection_id":127688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f414e"} 
[2026-07-08 16:08:33] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":40,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577733376001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:08:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783507072000,"timestamp_ms":1783507072000,"timestamp_seconds":1783507072,"priority":1,"record_length":96,"hex_timestamp":"0000019f414e3400"} 
[2026-07-08 16:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 16:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:08:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577733376001,"66":25691,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577733376001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:08:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:08:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577733376001,"power":25691,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":127688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:08:33] local.INFO: GPS data processed {"connection_id":127688,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:08:33] local.INFO: Acknowledgment sent {"connection_id":127688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:08:36] local.INFO: TCP Data received {"connection_id":126453,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126453,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:08:36] local.INFO: Processing buffer {"connection_id":126453,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:08:36] local.INFO: IMEI packet received {"connection_id":126453,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":126453,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:08:37] local.INFO: TCP Data received {"connection_id":125582,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f414bde58012d1820000721b0f8004d000f2d..."} 
[2026-07-08 16:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414bde58012d1820000721b0f8004d000f2d..."} 
[2026-07-08 16:08:37] local.INFO: Processing buffer {"connection_id":125582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414bde58012d1820000721b0f8004d000f2d..."} 
[2026-07-08 16:08:37] local.INFO: Packet analysis {"connection_id":125582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f414b"} 
[2026-07-08 16:08:37] local.INFO: Extracted packet for processing {"connection_id":125582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f414b"} 
[2026-07-08 16:08:37] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648504,"longitude_deg":75.6555776,"latitude_deg":11.9648504,"altitude":77,"angle":15,"satellites":45,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b0f8","is_valid_coordinates":true} 
[2026-07-08 16:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577771264001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854605829636096,"note":"Value kept but may cause issues"} 
[2026-07-08 16:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795028480,"note":"Value kept but may cause issues"} 
[2026-07-08 16:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783506919000,"timestamp_ms":1783506919000,"timestamp_seconds":1783506919,"priority":1,"record_length":96,"hex_timestamp":"0000019f414bde58"} 
[2026-07-08 16:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":16,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 16:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577771264001,"66":4275,"105":206,"83":41984,"24":0,"16":4854605829636096,"45":1738389486795028480},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 16:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577771264001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:08:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:08:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854605829636096,"km_value":4854605829636.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795028480,"description":"Unknown IO ID 45"} 
[2026-07-08 16:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577771264001,"power":4275,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795028480}} 
[2026-07-08 16:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":125582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:08:37] local.INFO: GPS data processed {"connection_id":125582,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:08:37] local.INFO: Acknowledgment sent {"connection_id":125582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:08:41] local.INFO: TCP Data received {"connection_id":126453,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126453,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:08:41] local.INFO: Processing buffer {"connection_id":126453,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:08:41] local.INFO: IMEI packet received {"connection_id":126453,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":126453,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:08:42] local.INFO: TCP Data received {"connection_id":126453,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f414d0738012d7d220005eafed0000a008017..."} 
[2026-07-08 16:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414d0738012d7d220005eafed0000a008017..."} 
[2026-07-08 16:08:42] local.INFO: Processing buffer {"connection_id":126453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414d0738012d7d220005eafed0000a008017..."} 
[2026-07-08 16:08:42] local.INFO: Packet analysis {"connection_id":126453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f414d"} 
[2026-07-08 16:08:42] local.INFO: Extracted packet for processing {"connection_id":126453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f414d"} 
[2026-07-08 16:08:42] local.INFO: GPS Element Parsed {"raw_longitude":763175424,"raw_latitude":99286736,"longitude_deg":76.3175424,"latitude_deg":9.9286736,"altitude":10,"angle":128,"satellites":23,"speed":5,"hex_longitude":"2d7d2200","hex_latitude":"05eafed0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 16:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577790464001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103735619250814976,"note":"Value kept but may cause issues"} 
[2026-07-08 16:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016628691878203392,"note":"Value kept but may cause issues"} 
[2026-07-08 16:08:42] 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-07-08 16:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783506995000,"timestamp_ms":1783506995000,"timestamp_seconds":1783506995,"priority":1,"record_length":96,"hex_timestamp":"0000019f414d0738"} 
[2026-07-08 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-07-08 16:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-08 16:08: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-07-08 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-07-08 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-07-08 16:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":126453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":126453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":126453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577790464001,"66":12798,"158":206,"87":13824,"24":5,"16":103735619250814976,"45":9016628691878203392},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-08 16:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577790464001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:08:42] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-08 16:08:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103735619250814976,"km_value":103735619250814.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016628691878203392,"description":"Unknown IO ID 45"} 
[2026-07-08 16:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577790464001,"power":12798,"unknown_158":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":9016628691878203392}} 
[2026-07-08 16:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":126453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452280,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:08:42] local.INFO: GPS data processed {"connection_id":126453,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:08:42] local.INFO: Acknowledgment sent {"connection_id":126453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:09:00] local.INFO: TCP Data received {"connection_id":127691,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:09:00] local.INFO: Processing buffer {"connection_id":127691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:09:00] local.INFO: IMEI packet received {"connection_id":127691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":127691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:09:05] local.INFO: TCP Data received {"connection_id":127691,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:09:05] local.INFO: Processing buffer {"connection_id":127691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:09:05] local.INFO: IMEI packet received {"connection_id":127691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":127691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:09:05] local.INFO: TCP Data received {"connection_id":127690,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:09:05] local.INFO: Processing buffer {"connection_id":127690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:09:05] local.INFO: IMEI packet received {"connection_id":127690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":127690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:09:06] local.INFO: TCP Data received {"connection_id":127691,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f414bde58012d1820000721b0f8004d000f2d..."} 
[2026-07-08 16:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414bde58012d1820000721b0f8004d000f2d..."} 
[2026-07-08 16:09:06] local.INFO: Processing buffer {"connection_id":127691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414bde58012d1820000721b0f8004d000f2d..."} 
[2026-07-08 16:09:06] local.INFO: Packet analysis {"connection_id":127691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f414b"} 
[2026-07-08 16:09:06] local.INFO: Extracted packet for processing {"connection_id":127691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f414b"} 
[2026-07-08 16:09:06] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648504,"longitude_deg":75.6555776,"latitude_deg":11.9648504,"altitude":77,"angle":15,"satellites":45,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b0f8","is_valid_coordinates":true} 
[2026-07-08 16:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577771264001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854605829636096,"note":"Value kept but may cause issues"} 
[2026-07-08 16:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795028480,"note":"Value kept but may cause issues"} 
[2026-07-08 16:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783506919000,"timestamp_ms":1783506919000,"timestamp_seconds":1783506919,"priority":1,"record_length":96,"hex_timestamp":"0000019f414bde58"} 
[2026-07-08 16:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":16,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 16:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577771264001,"66":4275,"105":206,"83":41984,"24":0,"16":4854605829636096,"45":1738389486795028480},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 16:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577771264001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:09:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:09:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854605829636096,"km_value":4854605829636.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795028480,"description":"Unknown IO ID 45"} 
[2026-07-08 16:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577771264001,"power":4275,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795028480}} 
[2026-07-08 16:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":127691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:09:06] local.INFO: GPS data processed {"connection_id":127691,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:09:06] local.INFO: Acknowledgment sent {"connection_id":127691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:09:06] local.INFO: TCP Data received {"connection_id":127690,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:09:06] local.INFO: Processing buffer {"connection_id":127690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:09:06] local.INFO: IMEI packet received {"connection_id":127690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":127690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:09:11] local.INFO: TCP Data received {"connection_id":127690,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:09:11] local.INFO: Processing buffer {"connection_id":127690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:09:11] local.INFO: IMEI packet received {"connection_id":127690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":127690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:09:12] local.INFO: TCP Data received {"connection_id":127690,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f414e3400012d9aa38005781260000700f828..."} 
[2026-07-08 16:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414e3400012d9aa38005781260000700f828..."} 
[2026-07-08 16:09:12] local.INFO: Processing buffer {"connection_id":127690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414e3400012d9aa38005781260000700f828..."} 
[2026-07-08 16:09:12] local.INFO: Packet analysis {"connection_id":127690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f414e"} 
[2026-07-08 16:09:12] local.INFO: Extracted packet for processing {"connection_id":127690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f414e"} 
[2026-07-08 16:09:12] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":40,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577733376001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:09:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783507072000,"timestamp_ms":1783507072000,"timestamp_seconds":1783507072,"priority":1,"record_length":96,"hex_timestamp":"0000019f414e3400"} 
[2026-07-08 16:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 16:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":127690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":127690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":127690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577733376001,"66":25691,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577733376001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:09:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:09:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577733376001,"power":25691,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":127690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:09:12] local.INFO: GPS data processed {"connection_id":127690,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:09:12] local.INFO: Acknowledgment sent {"connection_id":127690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:09:13] local.INFO: TCP Data received {"connection_id":126453,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f414eb8d0012d7d198005ea34a0000500b416..."} 
[2026-07-08 16:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414eb8d0012d7d198005ea34a0000500b416..."} 
[2026-07-08 16:09:13] local.INFO: Processing buffer {"connection_id":126453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414eb8d0012d7d198005ea34a0000500b416..."} 
[2026-07-08 16:09:13] local.INFO: Packet analysis {"connection_id":126453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f414e"} 
[2026-07-08 16:09:13] local.INFO: Extracted packet for processing {"connection_id":126453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f414e"} 
[2026-07-08 16:09:13] local.INFO: GPS Element Parsed {"raw_longitude":763173248,"raw_latitude":99234976,"longitude_deg":76.3173248,"latitude_deg":9.9234976,"altitude":5,"angle":180,"satellites":22,"speed":14,"hex_longitude":"2d7d1980","hex_latitude":"05ea34a0","is_valid_coordinates":true} 
[2026-07-08 16:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577816320001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103738148986552320,"note":"Value kept but may cause issues"} 
[2026-07-08 16:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014728735774494720,"note":"Value kept but may cause issues"} 
[2026-07-08 16:09:13] 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-07-08 16:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783507106000,"timestamp_ms":1783507106000,"timestamp_seconds":1783507106,"priority":1,"record_length":96,"hex_timestamp":"0000019f414eb8d0"} 
[2026-07-08 16:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:09: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-07-08 16:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-08 16:09:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":126453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":126453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":126453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577816320001,"66":13222,"158":206,"87":13824,"24":14,"16":103738148986552320,"45":9014728735774494720},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-08 16:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577816320001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:09:13] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-08 16:09:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103738148986552320,"km_value":103738148986552.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014728735774494720,"description":"Unknown IO ID 45"} 
[2026-07-08 16:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577816320001,"power":13222,"unknown_158":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":9014728735774494720}} 
[2026-07-08 16:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":126453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452283,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:09:13] local.INFO: GPS data processed {"connection_id":126453,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:09:13] local.INFO: Acknowledgment sent {"connection_id":126453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:09:31] local.INFO: TCP Data received {"connection_id":127692,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127692,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:09:31] local.INFO: Processing buffer {"connection_id":127692,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:09:31] local.INFO: IMEI packet received {"connection_id":127692,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":127692,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:09:36] local.INFO: TCP Data received {"connection_id":127692,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127692,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:09:36] local.INFO: Processing buffer {"connection_id":127692,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:09:36] local.INFO: IMEI packet received {"connection_id":127692,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":127692,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:09:37] local.INFO: TCP Data received {"connection_id":127691,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f414bde58012d1820000721b0f8004d000f2d..."} 
[2026-07-08 16:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414bde58012d1820000721b0f8004d000f2d..."} 
[2026-07-08 16:09:37] local.INFO: Processing buffer {"connection_id":127691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414bde58012d1820000721b0f8004d000f2d..."} 
[2026-07-08 16:09:37] local.INFO: Packet analysis {"connection_id":127691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f414b"} 
[2026-07-08 16:09:37] local.INFO: Extracted packet for processing {"connection_id":127691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f414b"} 
[2026-07-08 16:09:37] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648504,"longitude_deg":75.6555776,"latitude_deg":11.9648504,"altitude":77,"angle":15,"satellites":45,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b0f8","is_valid_coordinates":true} 
[2026-07-08 16:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577771264001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854605829636096,"note":"Value kept but may cause issues"} 
[2026-07-08 16:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795028480,"note":"Value kept but may cause issues"} 
[2026-07-08 16:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783506919000,"timestamp_ms":1783506919000,"timestamp_seconds":1783506919,"priority":1,"record_length":96,"hex_timestamp":"0000019f414bde58"} 
[2026-07-08 16:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":16,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 16:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577771264001,"66":4275,"105":206,"83":41984,"24":0,"16":4854605829636096,"45":1738389486795028480},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 16:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577771264001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:09:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:09:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854605829636096,"km_value":4854605829636.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795028480,"description":"Unknown IO ID 45"} 
[2026-07-08 16:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577771264001,"power":4275,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795028480}} 
[2026-07-08 16:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":127691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:09:37] local.INFO: GPS data processed {"connection_id":127691,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:09:37] local.INFO: Acknowledgment sent {"connection_id":127691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:09:37] local.INFO: TCP Data received {"connection_id":127692,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f414f06f0012d7d198005ea32b0000600b819..."} 
[2026-07-08 16:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414f06f0012d7d198005ea32b0000600b819..."} 
[2026-07-08 16:09:37] local.INFO: Processing buffer {"connection_id":127692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414f06f0012d7d198005ea32b0000600b819..."} 
[2026-07-08 16:09:37] local.INFO: Packet analysis {"connection_id":127692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f414f"} 
[2026-07-08 16:09:37] local.INFO: Extracted packet for processing {"connection_id":127692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f414f"} 
[2026-07-08 16:09:37] local.INFO: GPS Element Parsed {"raw_longitude":763173248,"raw_latitude":99234480,"longitude_deg":76.3173248,"latitude_deg":9.923448,"altitude":6,"angle":184,"satellites":25,"speed":0,"hex_longitude":"2d7d1980","hex_latitude":"05ea32b0","is_valid_coordinates":true} 
[2026-07-08 16:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577819136001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103738174756356096,"note":"Value kept but may cause issues"} 
[2026-07-08 16:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014376892051267584,"note":"Value kept but may cause issues"} 
[2026-07-08 16:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783507126000,"timestamp_ms":1783507126000,"timestamp_seconds":1783507126,"priority":1,"record_length":96,"hex_timestamp":"0000019f414f06f0"} 
[2026-07-08 16:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-08 16:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577819136001,"66":13102,"126":206,"87":13824,"24":0,"16":103738174756356096,"45":9014376892051267584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,87,24,16,45]} 
[2026-07-08 16:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577819136001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:09:37] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-08 16:09:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103738174756356096,"km_value":103738174756356.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014376892051267584,"description":"Unknown IO ID 45"} 
[2026-07-08 16:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577819136001,"power":13102,"unknown_126":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9014376892051267584}} 
[2026-07-08 16:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":127692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452285,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:09:37] local.INFO: GPS data processed {"connection_id":127692,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:09:37] local.INFO: Acknowledgment sent {"connection_id":127692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:09:55] local.INFO: TCP Data received {"connection_id":125584,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:09:55] local.INFO: Processing buffer {"connection_id":125584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:09:55] local.INFO: IMEI packet received {"connection_id":125584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":125584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:10:01] local.INFO: TCP Data received {"connection_id":126454,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126454,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:10:01] local.INFO: Processing buffer {"connection_id":126454,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:10:01] local.INFO: IMEI packet received {"connection_id":126454,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 16:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":126454,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:10:02] local.INFO: TCP Data received {"connection_id":125584,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:10:02] local.INFO: Processing buffer {"connection_id":125584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:10:02] local.INFO: IMEI packet received {"connection_id":125584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":125584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:10:02] local.INFO: TCP Data received {"connection_id":126454,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126454,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:10:02] local.INFO: Processing buffer {"connection_id":126454,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:10:02] local.INFO: IMEI packet received {"connection_id":126454,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 16:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":126454,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:10:03] local.INFO: TCP Data received {"connection_id":125584,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f414e3400012d9aa38005781260000700f828..."} 
[2026-07-08 16:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414e3400012d9aa38005781260000700f828..."} 
[2026-07-08 16:10:03] local.INFO: Processing buffer {"connection_id":125584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414e3400012d9aa38005781260000700f828..."} 
[2026-07-08 16:10:03] local.INFO: Packet analysis {"connection_id":125584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f414e"} 
[2026-07-08 16:10:03] local.INFO: Extracted packet for processing {"connection_id":125584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f414e"} 
[2026-07-08 16:10:03] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":40,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16: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-07-08 16:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577733376001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:10:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783507072000,"timestamp_ms":1783507072000,"timestamp_seconds":1783507072,"priority":1,"record_length":96,"hex_timestamp":"0000019f414e3400"} 
[2026-07-08 16:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:10: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-07-08 16: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 16:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577733376001,"66":25691,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577733376001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:10:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:10:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577733376001,"power":25691,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":125584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:10:03] local.INFO: GPS data processed {"connection_id":125584,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:10:03] local.INFO: Acknowledgment sent {"connection_id":125584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:10:04] local.INFO: TCP Data received {"connection_id":126454,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126454,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:10:04] local.INFO: Processing buffer {"connection_id":126454,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:10:04] local.INFO: IMEI packet received {"connection_id":126454,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 16:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":126454,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:10:05] local.INFO: TCP Data received {"connection_id":127693,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:10:05] local.INFO: Processing buffer {"connection_id":127693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:10:05] local.INFO: IMEI packet received {"connection_id":127693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":127693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:10:09] local.INFO: TCP Data received {"connection_id":127692,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f414f58f8012d7d170005ea0ed8000500b51a..."} 
[2026-07-08 16:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414f58f8012d7d170005ea0ed8000500b51a..."} 
[2026-07-08 16:10:09] local.INFO: Processing buffer {"connection_id":127692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414f58f8012d7d170005ea0ed8000500b51a..."} 
[2026-07-08 16:10:09] local.INFO: Packet analysis {"connection_id":127692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f414f"} 
[2026-07-08 16:10:09] local.INFO: Extracted packet for processing {"connection_id":127692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f414f"} 
[2026-07-08 16:10:09] local.INFO: GPS Element Parsed {"raw_longitude":763172608,"raw_latitude":99225304,"longitude_deg":76.3172608,"latitude_deg":9.9225304,"altitude":5,"angle":181,"satellites":26,"speed":32,"hex_longitude":"2d7d1700","hex_latitude":"05ea0ed8","is_valid_coordinates":true} 
[2026-07-08 16:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577824256001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103738621432954880,"note":"Value kept but may cause issues"} 
[2026-07-08 16:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014376892051140608,"note":"Value kept but may cause issues"} 
[2026-07-08 16:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783507147000,"timestamp_ms":1783507147000,"timestamp_seconds":1783507147,"priority":1,"record_length":96,"hex_timestamp":"0000019f414f58f8"} 
[2026-07-08 16:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-08 16:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":127692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":127692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":127692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:10: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-07-08 16:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577824256001,"66":13048,"126":206,"87":13824,"24":32,"16":103738621432954880,"45":9014376892051140608},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,87,24,16,45]} 
[2026-07-08 16:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577824256001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:10:09] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-08 16:10:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103738621432954880,"km_value":103738621432954.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014376892051140608,"description":"Unknown IO ID 45"} 
[2026-07-08 16:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577824256001,"power":13048,"unknown_126":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":9014376892051140608}} 
[2026-07-08 16:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":127692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452287,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:10:09] local.INFO: GPS data processed {"connection_id":127692,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:10:09] local.INFO: Acknowledgment sent {"connection_id":127692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:10:09] local.INFO: TCP Data received {"connection_id":126454,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126454,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:10:09] local.INFO: Processing buffer {"connection_id":126454,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:10:09] local.INFO: IMEI packet received {"connection_id":126454,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 16:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":126454,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:10:10] local.INFO: TCP Data received {"connection_id":127693,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:10:10] local.INFO: Processing buffer {"connection_id":127693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:10:10] local.INFO: IMEI packet received {"connection_id":127693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":127693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:10:10] local.INFO: TCP Data received {"connection_id":127693,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f414bde58012d1820000721b0f8004d000f2d..."} 
[2026-07-08 16:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414bde58012d1820000721b0f8004d000f2d..."} 
[2026-07-08 16:10:10] local.INFO: Processing buffer {"connection_id":127693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414bde58012d1820000721b0f8004d000f2d..."} 
[2026-07-08 16:10:10] local.INFO: Packet analysis {"connection_id":127693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f414b"} 
[2026-07-08 16:10:10] local.INFO: Extracted packet for processing {"connection_id":127693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f414b"} 
[2026-07-08 16:10:10] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648504,"longitude_deg":75.6555776,"latitude_deg":11.9648504,"altitude":77,"angle":15,"satellites":45,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b0f8","is_valid_coordinates":true} 
[2026-07-08 16:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577771264001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854605829636096,"note":"Value kept but may cause issues"} 
[2026-07-08 16:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795028480,"note":"Value kept but may cause issues"} 
[2026-07-08 16:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783506919000,"timestamp_ms":1783506919000,"timestamp_seconds":1783506919,"priority":1,"record_length":96,"hex_timestamp":"0000019f414bde58"} 
[2026-07-08 16:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16: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":16,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 16:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":127693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":127693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":127693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:10:10] 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-07-08 16:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577771264001,"66":4275,"105":206,"83":41984,"24":0,"16":4854605829636096,"45":1738389486795028480},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 16:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577771264001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:10:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:10:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854605829636096,"km_value":4854605829636.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795028480,"description":"Unknown IO ID 45"} 
[2026-07-08 16:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577771264001,"power":4275,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795028480}} 
[2026-07-08 16:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":127693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:10:10] local.INFO: GPS data processed {"connection_id":127693,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:10:10] local.INFO: Acknowledgment sent {"connection_id":127693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:10:15] local.INFO: TCP Data received {"connection_id":127693,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f414bde58012d1820000721b0f8004d000f2d..."} 
[2026-07-08 16:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414bde58012d1820000721b0f8004d000f2d..."} 
[2026-07-08 16:10:15] local.INFO: Processing buffer {"connection_id":127693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414bde58012d1820000721b0f8004d000f2d..."} 
[2026-07-08 16:10:15] local.INFO: Packet analysis {"connection_id":127693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f414b"} 
[2026-07-08 16:10:15] local.INFO: Extracted packet for processing {"connection_id":127693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f414b"} 
[2026-07-08 16:10:15] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648504,"longitude_deg":75.6555776,"latitude_deg":11.9648504,"altitude":77,"angle":15,"satellites":45,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b0f8","is_valid_coordinates":true} 
[2026-07-08 16:10: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-07-08 16:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577771264001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854605829636096,"note":"Value kept but may cause issues"} 
[2026-07-08 16:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795028480,"note":"Value kept but may cause issues"} 
[2026-07-08 16:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783506919000,"timestamp_ms":1783506919000,"timestamp_seconds":1783506919,"priority":1,"record_length":96,"hex_timestamp":"0000019f414bde58"} 
[2026-07-08 16:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16: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":16,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 16:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:10:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":127693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":127693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":127693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:10: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-07-08 16:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577771264001,"66":4275,"105":206,"83":41984,"24":0,"16":4854605829636096,"45":1738389486795028480},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 16:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577771264001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:10:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:10:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854605829636096,"km_value":4854605829636.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795028480,"description":"Unknown IO ID 45"} 
[2026-07-08 16:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577771264001,"power":4275,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795028480}} 
[2026-07-08 16:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":127693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:10:15] local.INFO: GPS data processed {"connection_id":127693,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:10:15] local.INFO: Acknowledgment sent {"connection_id":127693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:10:34] local.INFO: TCP Data received {"connection_id":126455,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126455,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:10:34] local.INFO: Processing buffer {"connection_id":126455,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:10:34] local.INFO: IMEI packet received {"connection_id":126455,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":126455,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:10:35] local.INFO: TCP Data received {"connection_id":125584,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f414e3400012d9aa38005781260000700f828..."} 
[2026-07-08 16:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414e3400012d9aa38005781260000700f828..."} 
[2026-07-08 16:10:35] local.INFO: Processing buffer {"connection_id":125584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414e3400012d9aa38005781260000700f828..."} 
[2026-07-08 16:10:35] local.INFO: Packet analysis {"connection_id":125584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f414e"} 
[2026-07-08 16:10:35] local.INFO: Extracted packet for processing {"connection_id":125584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f414e"} 
[2026-07-08 16:10:35] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":40,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577733376001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:10:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783507072000,"timestamp_ms":1783507072000,"timestamp_seconds":1783507072,"priority":1,"record_length":96,"hex_timestamp":"0000019f414e3400"} 
[2026-07-08 16:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 16:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577733376001,"66":25691,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577733376001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:10:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:10:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577733376001,"power":25691,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":125584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:10:35] local.INFO: GPS data processed {"connection_id":125584,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:10:35] local.INFO: Acknowledgment sent {"connection_id":125584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:10:36] local.INFO: TCP Data received {"connection_id":126455,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126455,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:10:36] local.INFO: Processing buffer {"connection_id":126455,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:10:36] local.INFO: IMEI packet received {"connection_id":126455,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":126455,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:10:38] local.INFO: TCP Data received {"connection_id":126455,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126455,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:10:38] local.INFO: Processing buffer {"connection_id":126455,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:10:38] local.INFO: IMEI packet received {"connection_id":126455,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":126455,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:10:39] local.INFO: TCP Data received {"connection_id":126455,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f41506e50012d7ccd8005e9b648000601311b..."} 
[2026-07-08 16:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41506e50012d7ccd8005e9b648000601311b..."} 
[2026-07-08 16:10:39] local.INFO: Processing buffer {"connection_id":126455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41506e50012d7ccd8005e9b648000601311b..."} 
[2026-07-08 16:10:39] local.INFO: Packet analysis {"connection_id":126455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4150"} 
[2026-07-08 16:10:39] local.INFO: Extracted packet for processing {"connection_id":126455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4150"} 
[2026-07-08 16:10:39] local.INFO: GPS Element Parsed {"raw_longitude":763153792,"raw_latitude":99202632,"longitude_deg":76.3153792,"latitude_deg":9.9202632,"altitude":6,"angle":305,"satellites":27,"speed":10,"hex_longitude":"2d7ccd80","hex_latitude":"05e9b648","is_valid_coordinates":true} 
[2026-07-08 16:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577847552001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103740455383990272,"note":"Value kept but may cause issues"} 
[2026-07-08 16:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8993195900045473792,"note":"Value kept but may cause issues"} 
[2026-07-08 16:10:39] 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-07-08 16:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783507218000,"timestamp_ms":1783507218000,"timestamp_seconds":1783507218,"priority":1,"record_length":96,"hex_timestamp":"0000019f41506e50"} 
[2026-07-08 16:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-08 16:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577847552001,"66":13189,"192":206,"87":13824,"24":10,"16":103740455383990272,"45":8993195900045473792},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-08 16:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577847552001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:10:39] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-08 16:10:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103740455383990272,"km_value":103740455383990.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8993195900045473792,"description":"Unknown IO ID 45"} 
[2026-07-08 16:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577847552001,"power":13189,"unknown_192":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8993195900045473792}} 
[2026-07-08 16:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":126455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452291,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:10:39] local.INFO: GPS data processed {"connection_id":126455,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:10:39] local.INFO: Acknowledgment sent {"connection_id":126455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:10:42] local.INFO: TCP Data received {"connection_id":126455,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f41507238012d7cccc005e9b7400006014b1b..."} 
[2026-07-08 16:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41507238012d7cccc005e9b7400006014b1b..."} 
[2026-07-08 16:10:42] local.INFO: Processing buffer {"connection_id":126455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41507238012d7cccc005e9b7400006014b1b..."} 
[2026-07-08 16:10:42] local.INFO: Packet analysis {"connection_id":126455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4150"} 
[2026-07-08 16:10:42] local.INFO: Extracted packet for processing {"connection_id":126455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4150"} 
[2026-07-08 16:10:42] local.INFO: GPS Element Parsed {"raw_longitude":763153600,"raw_latitude":99202880,"longitude_deg":76.31536,"latitude_deg":9.920288,"altitude":6,"angle":331,"satellites":27,"speed":11,"hex_longitude":"2d7cccc0","hex_latitude":"05e9b740","is_valid_coordinates":true} 
[2026-07-08 16:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577847808001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103740468268892160,"note":"Value kept but may cause issues"} 
[2026-07-08 16:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992984793812977664,"note":"Value kept but may cause issues"} 
[2026-07-08 16:10:42] 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-07-08 16:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783507219000,"timestamp_ms":1783507219000,"timestamp_seconds":1783507219,"priority":1,"record_length":96,"hex_timestamp":"0000019f41507238"} 
[2026-07-08 16:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-08 16:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":126455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":126455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":126455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577847808001,"66":13135,"192":206,"87":13824,"24":11,"16":103740468268892160,"45":8992984793812977664},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-08 16:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577847808001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:10:42] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-08 16:10:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103740468268892160,"km_value":103740468268892.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992984793812977664,"description":"Unknown IO ID 45"} 
[2026-07-08 16:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577847808001,"power":13135,"unknown_192":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8992984793812977664}} 
[2026-07-08 16:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":126455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452292,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:10:42] local.INFO: GPS data processed {"connection_id":126455,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:10:42] local.INFO: Acknowledgment sent {"connection_id":126455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:10:55] local.INFO: TCP Data received {"connection_id":127694,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:10:55] local.INFO: Processing buffer {"connection_id":127694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:10:55] local.INFO: IMEI packet received {"connection_id":127694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":127694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:11:00] local.INFO: TCP Data received {"connection_id":125696,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:11:00] local.INFO: Processing buffer {"connection_id":125696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:11:00] local.INFO: IMEI packet received {"connection_id":125696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":125696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:11:01] local.INFO: TCP Data received {"connection_id":127694,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:11:01] local.INFO: Processing buffer {"connection_id":127694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:11:01] local.INFO: IMEI packet received {"connection_id":127694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":127694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:11:01] local.INFO: TCP Data received {"connection_id":125696,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:11:01] local.INFO: Processing buffer {"connection_id":125696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:11:01] local.INFO: IMEI packet received {"connection_id":125696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":125696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:11:02] local.INFO: TCP Data received {"connection_id":127694,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f414e3400012d9aa38005781260000700f828..."} 
[2026-07-08 16:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414e3400012d9aa38005781260000700f828..."} 
[2026-07-08 16:11:02] local.INFO: Processing buffer {"connection_id":127694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414e3400012d9aa38005781260000700f828..."} 
[2026-07-08 16:11:02] local.INFO: Packet analysis {"connection_id":127694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f414e"} 
[2026-07-08 16:11:02] local.INFO: Extracted packet for processing {"connection_id":127694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f414e"} 
[2026-07-08 16:11:02] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":40,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577733376001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:11:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783507072000,"timestamp_ms":1783507072000,"timestamp_seconds":1783507072,"priority":1,"record_length":96,"hex_timestamp":"0000019f414e3400"} 
[2026-07-08 16:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 16:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:11:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577733376001,"66":25691,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577733376001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:11:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:11:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577733376001,"power":25691,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":127694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:11:02] local.INFO: GPS data processed {"connection_id":127694,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:11:02] local.INFO: Acknowledgment sent {"connection_id":127694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:11:05] local.INFO: TCP Data received {"connection_id":125696,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:11:05] local.INFO: Processing buffer {"connection_id":125696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:11:05] local.INFO: IMEI packet received {"connection_id":125696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":125696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:11:06] local.INFO: TCP Data received {"connection_id":125696,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f415081d8012d181dc00721b088004e000f2e..."} 
[2026-07-08 16:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415081d8012d181dc00721b088004e000f2e..."} 
[2026-07-08 16:11:06] local.INFO: Processing buffer {"connection_id":125696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415081d8012d181dc00721b088004e000f2e..."} 
[2026-07-08 16:11:06] local.INFO: Packet analysis {"connection_id":125696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4150"} 
[2026-07-08 16:11:06] local.INFO: Extracted packet for processing {"connection_id":125696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4150"} 
[2026-07-08 16:11:06] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648392,"longitude_deg":75.65552,"latitude_deg":11.9648392,"altitude":78,"angle":15,"satellites":46,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-07-08 16:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577771264001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854605829636096,"note":"Value kept but may cause issues"} 
[2026-07-08 16:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795028480,"note":"Value kept but may cause issues"} 
[2026-07-08 16:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783507223000,"timestamp_ms":1783507223000,"timestamp_seconds":1783507223,"priority":1,"record_length":96,"hex_timestamp":"0000019f415081d8"} 
[2026-07-08 16:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":16,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 16:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577771264001,"66":2144,"105":206,"83":41984,"24":0,"16":4854605829636096,"45":1738389486795028480},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 16:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577771264001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:11:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:11:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854605829636096,"km_value":4854605829636.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795028480,"description":"Unknown IO ID 45"} 
[2026-07-08 16:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577771264001,"power":2144,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795028480}} 
[2026-07-08 16:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":125696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:11:06] local.INFO: GPS data processed {"connection_id":125696,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:11:06] local.INFO: Acknowledgment sent {"connection_id":125696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:11:13] local.INFO: TCP Data received {"connection_id":126455,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f41507620012d7ccc8005e9b890000601611b..."} 
[2026-07-08 16:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41507620012d7ccc8005e9b890000601611b..."} 
[2026-07-08 16:11:13] local.INFO: Processing buffer {"connection_id":126455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41507620012d7ccc8005e9b890000601611b..."} 
[2026-07-08 16:11:13] local.INFO: Packet analysis {"connection_id":126455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4150"} 
[2026-07-08 16:11:13] local.INFO: Extracted packet for processing {"connection_id":126455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4150"} 
[2026-07-08 16:11:13] local.INFO: GPS Element Parsed {"raw_longitude":763153536,"raw_latitude":99203216,"longitude_deg":76.3153536,"latitude_deg":9.9203216,"altitude":6,"angle":353,"satellites":27,"speed":13,"hex_longitude":"2d7ccc80","hex_latitude":"05e9b890","is_valid_coordinates":true} 
[2026-07-08 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-07-08 16:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577848064001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103740485448761344,"note":"Value kept but may cause issues"} 
[2026-07-08 16:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992773687580508160,"note":"Value kept but may cause issues"} 
[2026-07-08 16:11:13] 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-07-08 16:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783507220000,"timestamp_ms":1783507220000,"timestamp_seconds":1783507220,"priority":1,"record_length":96,"hex_timestamp":"0000019f41507620"} 
[2026-07-08 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-07-08 16:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-08 16:11: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-07-08 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-07-08 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-07-08 16:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":126455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":126455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":126455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577848064001,"66":13135,"192":206,"87":13824,"24":13,"16":103740485448761344,"45":8992773687580508160},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-08 16:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577848064001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:11:13] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-08 16:11:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103740485448761344,"km_value":103740485448761.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992773687580508160,"description":"Unknown IO ID 45"} 
[2026-07-08 16:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577848064001,"power":13135,"unknown_192":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8992773687580508160}} 
[2026-07-08 16:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":126455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452295,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:11:13] local.INFO: GPS data processed {"connection_id":126455,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:11:13] local.INFO: Acknowledgment sent {"connection_id":126455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:11:27] local.INFO: TCP Data received {"connection_id":125697,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125697,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:11:27] local.INFO: Processing buffer {"connection_id":125697,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:11:27] local.INFO: IMEI packet received {"connection_id":125697,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":125697,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:11:28] local.INFO: TCP Data received {"connection_id":125697,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125697,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:11:28] local.INFO: Processing buffer {"connection_id":125697,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:11:28] local.INFO: IMEI packet received {"connection_id":125697,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":125697,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:11:29] local.INFO: TCP Data received {"connection_id":125697,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125697,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:11:29] local.INFO: Processing buffer {"connection_id":125697,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:11:29] local.INFO: IMEI packet received {"connection_id":125697,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":125697,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:11:30] local.INFO: TCP Data received {"connection_id":125697,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125697,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:11:30] local.INFO: Processing buffer {"connection_id":125697,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:11:30] local.INFO: IMEI packet received {"connection_id":125697,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":125697,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:11:35] local.INFO: TCP Data received {"connection_id":127694,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f414e3400012d9aa38005781260000700f828..."} 
[2026-07-08 16:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414e3400012d9aa38005781260000700f828..."} 
[2026-07-08 16:11:35] local.INFO: Processing buffer {"connection_id":127694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414e3400012d9aa38005781260000700f828..."} 
[2026-07-08 16:11:35] local.INFO: Packet analysis {"connection_id":127694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f414e"} 
[2026-07-08 16:11:35] local.INFO: Extracted packet for processing {"connection_id":127694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f414e"} 
[2026-07-08 16:11:35] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":40,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577733376001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:11:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783507072000,"timestamp_ms":1783507072000,"timestamp_seconds":1783507072,"priority":1,"record_length":96,"hex_timestamp":"0000019f414e3400"} 
[2026-07-08 16:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 16:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":127694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":127694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":127694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577733376001,"66":25691,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577733376001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:11:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:11:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577733376001,"power":25691,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":127694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:11:35] local.INFO: GPS data processed {"connection_id":127694,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:11:35] local.INFO: Acknowledgment sent {"connection_id":127694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:11:37] local.INFO: TCP Data received {"connection_id":125696,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f415081d8012d181dc00721b088004e000f2e..."} 
[2026-07-08 16:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415081d8012d181dc00721b088004e000f2e..."} 
[2026-07-08 16:11:37] local.INFO: Processing buffer {"connection_id":125696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415081d8012d181dc00721b088004e000f2e..."} 
[2026-07-08 16:11:37] local.INFO: Packet analysis {"connection_id":125696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4150"} 
[2026-07-08 16:11:37] local.INFO: Extracted packet for processing {"connection_id":125696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4150"} 
[2026-07-08 16:11:37] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648392,"longitude_deg":75.65552,"latitude_deg":11.9648392,"altitude":78,"angle":15,"satellites":46,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-07-08 16:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577771264001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854605829636096,"note":"Value kept but may cause issues"} 
[2026-07-08 16:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795028480,"note":"Value kept but may cause issues"} 
[2026-07-08 16:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783507223000,"timestamp_ms":1783507223000,"timestamp_seconds":1783507223,"priority":1,"record_length":96,"hex_timestamp":"0000019f415081d8"} 
[2026-07-08 16:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":16,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 16:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:11:37] 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-07-08 16:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577771264001,"66":2144,"105":206,"83":41984,"24":0,"16":4854605829636096,"45":1738389486795028480},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 16:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577771264001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:11:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:11:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854605829636096,"km_value":4854605829636.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795028480,"description":"Unknown IO ID 45"} 
[2026-07-08 16:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577771264001,"power":2144,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795028480}} 
[2026-07-08 16:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":125696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:11:37] local.INFO: GPS data processed {"connection_id":125696,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:11:37] local.INFO: Acknowledgment sent {"connection_id":125696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:11:55] local.INFO: TCP Data received {"connection_id":125585,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125585,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:11:55] local.INFO: Processing buffer {"connection_id":125585,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:11:55] local.INFO: IMEI packet received {"connection_id":125585,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 16:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":125585,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:12:00] local.INFO: TCP Data received {"connection_id":125587,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:12:00] local.INFO: Processing buffer {"connection_id":125587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:12:00] local.INFO: IMEI packet received {"connection_id":125587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":125587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:12:01] local.INFO: TCP Data received {"connection_id":125586,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:12:01] local.INFO: Processing buffer {"connection_id":125586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:12:01] local.INFO: IMEI packet received {"connection_id":125586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":125586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:12:05] local.INFO: TCP Data received {"connection_id":125587,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:12:05] local.INFO: Processing buffer {"connection_id":125587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:12:05] local.INFO: IMEI packet received {"connection_id":125587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":125587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:12:06] local.INFO: TCP Data received {"connection_id":125587,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f415081d8012d181dc00721b088004e000f2e..."} 
[2026-07-08 16:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415081d8012d181dc00721b088004e000f2e..."} 
[2026-07-08 16:12:06] local.INFO: Processing buffer {"connection_id":125587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415081d8012d181dc00721b088004e000f2e..."} 
[2026-07-08 16:12:06] local.INFO: Packet analysis {"connection_id":125587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4150"} 
[2026-07-08 16:12:06] local.INFO: Extracted packet for processing {"connection_id":125587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4150"} 
[2026-07-08 16:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648392,"longitude_deg":75.65552,"latitude_deg":11.9648392,"altitude":78,"angle":15,"satellites":46,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-07-08 16:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577771264001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854605829636096,"note":"Value kept but may cause issues"} 
[2026-07-08 16:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795028480,"note":"Value kept but may cause issues"} 
[2026-07-08 16:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783507223000,"timestamp_ms":1783507223000,"timestamp_seconds":1783507223,"priority":1,"record_length":96,"hex_timestamp":"0000019f415081d8"} 
[2026-07-08 16:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":16,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 16:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577771264001,"66":2144,"105":206,"83":41984,"24":0,"16":4854605829636096,"45":1738389486795028480},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 16:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577771264001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:12:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854605829636096,"km_value":4854605829636.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795028480,"description":"Unknown IO ID 45"} 
[2026-07-08 16:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577771264001,"power":2144,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795028480}} 
[2026-07-08 16:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":125587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:12:06] local.INFO: GPS data processed {"connection_id":125587,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:12:06] local.INFO: Acknowledgment sent {"connection_id":125587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:12:08] local.INFO: TCP Data received {"connection_id":125586,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:12:08] local.INFO: Processing buffer {"connection_id":125586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:12:08] local.INFO: IMEI packet received {"connection_id":125586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":125586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:12:09] local.INFO: TCP Data received {"connection_id":125586,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f414e3400012d9aa38005781260000700f828..."} 
[2026-07-08 16:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414e3400012d9aa38005781260000700f828..."} 
[2026-07-08 16:12:09] local.INFO: Processing buffer {"connection_id":125586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414e3400012d9aa38005781260000700f828..."} 
[2026-07-08 16:12:09] local.INFO: Packet analysis {"connection_id":125586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f414e"} 
[2026-07-08 16:12:09] local.INFO: Extracted packet for processing {"connection_id":125586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f414e"} 
[2026-07-08 16:12:09] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":40,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577733376001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:12:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783507072000,"timestamp_ms":1783507072000,"timestamp_seconds":1783507072,"priority":1,"record_length":96,"hex_timestamp":"0000019f414e3400"} 
[2026-07-08 16:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 16:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577733376001,"66":25691,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577733376001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:12:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:12:09] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577733376001,"power":25691,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":125586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:12:09] local.INFO: GPS data processed {"connection_id":125586,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:12:09] local.INFO: Acknowledgment sent {"connection_id":125586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:12:10] local.INFO: TCP Data received {"connection_id":125586,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f414e3400012d9aa38005781260000700f828..."} 
[2026-07-08 16:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414e3400012d9aa38005781260000700f828..."} 
[2026-07-08 16:12:10] local.INFO: Processing buffer {"connection_id":125586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414e3400012d9aa38005781260000700f828..."} 
[2026-07-08 16:12:10] local.INFO: Packet analysis {"connection_id":125586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f414e"} 
[2026-07-08 16:12:10] local.INFO: Extracted packet for processing {"connection_id":125586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f414e"} 
[2026-07-08 16:12:10] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":40,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577733376001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:12:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783507072000,"timestamp_ms":1783507072000,"timestamp_seconds":1783507072,"priority":1,"record_length":96,"hex_timestamp":"0000019f414e3400"} 
[2026-07-08 16:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 16:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577733376001,"66":25691,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577733376001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:12:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:12:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577733376001,"power":25691,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":125586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:12:10] local.INFO: GPS data processed {"connection_id":125586,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:12:10] local.INFO: Acknowledgment sent {"connection_id":125586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:12:37] local.INFO: TCP Data received {"connection_id":125587,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f415081d8012d181dc00721b088004e000f2e..."} 
[2026-07-08 16:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415081d8012d181dc00721b088004e000f2e..."} 
[2026-07-08 16:12:37] local.INFO: Processing buffer {"connection_id":125587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415081d8012d181dc00721b088004e000f2e..."} 
[2026-07-08 16:12:37] local.INFO: Packet analysis {"connection_id":125587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4150"} 
[2026-07-08 16:12:37] local.INFO: Extracted packet for processing {"connection_id":125587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4150"} 
[2026-07-08 16:12:37] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648392,"longitude_deg":75.65552,"latitude_deg":11.9648392,"altitude":78,"angle":15,"satellites":46,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-07-08 16:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577771264001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854605829636096,"note":"Value kept but may cause issues"} 
[2026-07-08 16:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795028480,"note":"Value kept but may cause issues"} 
[2026-07-08 16:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783507223000,"timestamp_ms":1783507223000,"timestamp_seconds":1783507223,"priority":1,"record_length":96,"hex_timestamp":"0000019f415081d8"} 
[2026-07-08 16:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":16,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 16:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577771264001,"66":2144,"105":206,"83":41984,"24":0,"16":4854605829636096,"45":1738389486795028480},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 16:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577771264001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:12:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:12:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854605829636096,"km_value":4854605829636.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795028480,"description":"Unknown IO ID 45"} 
[2026-07-08 16:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577771264001,"power":2144,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795028480}} 
[2026-07-08 16:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":125587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:12:37] local.INFO: GPS data processed {"connection_id":125587,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:12:37] local.INFO: Acknowledgment sent {"connection_id":125587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:12:55] local.INFO: TCP Data received {"connection_id":126456,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:12:55] local.INFO: Processing buffer {"connection_id":126456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:12:55] local.INFO: IMEI packet received {"connection_id":126456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":126456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:13:00] local.INFO: TCP Data received {"connection_id":125699,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:13:00] local.INFO: Processing buffer {"connection_id":125699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:13:00] local.INFO: IMEI packet received {"connection_id":125699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":125699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:13:00] local.INFO: TCP Data received {"connection_id":126456,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:13:00] local.INFO: Processing buffer {"connection_id":126456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:13:00] local.INFO: IMEI packet received {"connection_id":126456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":126456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:13:05] local.INFO: TCP Data received {"connection_id":126456,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f414e3400012d9aa38005781260000700f828..."} 
[2026-07-08 16:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f414e3400012d9aa38005781260000700f828..."} 
[2026-07-08 16:13:05] local.INFO: Processing buffer {"connection_id":126456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f414e3400012d9aa38005781260000700f828..."} 
[2026-07-08 16:13:05] local.INFO: Packet analysis {"connection_id":126456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f414e"} 
[2026-07-08 16:13:05] local.INFO: Extracted packet for processing {"connection_id":126456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f414e"} 
[2026-07-08 16:13:05] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":7,"angle":248,"satellites":40,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577733376001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:13:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783507072000,"timestamp_ms":1783507072000,"timestamp_seconds":1783507072,"priority":1,"record_length":96,"hex_timestamp":"0000019f414e3400"} 
[2026-07-08 16:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 16:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577733376001,"66":25691,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577733376001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:13:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:13:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577733376001,"power":25691,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":126456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:13:05] local.INFO: GPS data processed {"connection_id":126456,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:13:05] local.INFO: Acknowledgment sent {"connection_id":126456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:13:05] local.INFO: TCP Data received {"connection_id":125699,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:13:05] local.INFO: Processing buffer {"connection_id":125699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:13:05] local.INFO: IMEI packet received {"connection_id":125699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":125699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:13:06] local.INFO: TCP Data received {"connection_id":125699,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f415081d8012d181dc00721b088004e000f2e..."} 
[2026-07-08 16:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415081d8012d181dc00721b088004e000f2e..."} 
[2026-07-08 16:13:06] local.INFO: Processing buffer {"connection_id":125699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415081d8012d181dc00721b088004e000f2e..."} 
[2026-07-08 16:13:06] local.INFO: Packet analysis {"connection_id":125699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4150"} 
[2026-07-08 16:13:06] local.INFO: Extracted packet for processing {"connection_id":125699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4150"} 
[2026-07-08 16:13:06] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648392,"longitude_deg":75.65552,"latitude_deg":11.9648392,"altitude":78,"angle":15,"satellites":46,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-07-08 16:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577771264001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854605829636096,"note":"Value kept but may cause issues"} 
[2026-07-08 16:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795028480,"note":"Value kept but may cause issues"} 
[2026-07-08 16:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783507223000,"timestamp_ms":1783507223000,"timestamp_seconds":1783507223,"priority":1,"record_length":96,"hex_timestamp":"0000019f415081d8"} 
[2026-07-08 16:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":16,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 16:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577771264001,"66":2144,"105":206,"83":41984,"24":0,"16":4854605829636096,"45":1738389486795028480},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 16:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577771264001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:13:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:13:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854605829636096,"km_value":4854605829636.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795028480,"description":"Unknown IO ID 45"} 
[2026-07-08 16:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577771264001,"power":2144,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795028480}} 
[2026-07-08 16:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":125699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:13:06] local.INFO: GPS data processed {"connection_id":125699,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:13:06] local.INFO: Acknowledgment sent {"connection_id":125699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:13:37] local.INFO: TCP Data received {"connection_id":125699,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f415081d8012d181dc00721b088004e000f2e..."} 
[2026-07-08 16:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415081d8012d181dc00721b088004e000f2e..."} 
[2026-07-08 16:13:37] local.INFO: Processing buffer {"connection_id":125699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415081d8012d181dc00721b088004e000f2e..."} 
[2026-07-08 16:13:37] local.INFO: Packet analysis {"connection_id":125699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4150"} 
[2026-07-08 16:13:37] local.INFO: Extracted packet for processing {"connection_id":125699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4150"} 
[2026-07-08 16:13:37] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648392,"longitude_deg":75.65552,"latitude_deg":11.9648392,"altitude":78,"angle":15,"satellites":46,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-07-08 16:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577771264001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854605829636096,"note":"Value kept but may cause issues"} 
[2026-07-08 16:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795028480,"note":"Value kept but may cause issues"} 
[2026-07-08 16:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783507223000,"timestamp_ms":1783507223000,"timestamp_seconds":1783507223,"priority":1,"record_length":96,"hex_timestamp":"0000019f415081d8"} 
[2026-07-08 16:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":16,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 16:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:13:37] 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-07-08 16:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577771264001,"66":2144,"105":206,"83":41984,"24":0,"16":4854605829636096,"45":1738389486795028480},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 16:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577771264001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:13:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:13:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854605829636096,"km_value":4854605829636.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795028480,"description":"Unknown IO ID 45"} 
[2026-07-08 16:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577771264001,"power":2144,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795028480}} 
[2026-07-08 16:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":125699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:13:37] local.INFO: GPS data processed {"connection_id":125699,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:13:37] local.INFO: Acknowledgment sent {"connection_id":125699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:13:40] local.INFO: TCP Data received {"connection_id":126456,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4152cbc8012d9aa38005781260000c00f829..."} 
[2026-07-08 16:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4152cbc8012d9aa38005781260000c00f829..."} 
[2026-07-08 16:13:40] local.INFO: Processing buffer {"connection_id":126456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4152cbc8012d9aa38005781260000c00f829..."} 
[2026-07-08 16:13:40] local.INFO: Packet analysis {"connection_id":126456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4152"} 
[2026-07-08 16:13:40] local.INFO: Extracted packet for processing {"connection_id":126456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4152"} 
[2026-07-08 16:13:40] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577810432001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:13:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783507373000,"timestamp_ms":1783507373000,"timestamp_seconds":1783507373,"priority":1,"record_length":96,"hex_timestamp":"0000019f4152cbc8"} 
[2026-07-08 16:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-08 16:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577810432001,"66":25702,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577810432001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:13:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:13:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577810432001,"power":25702,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":126456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:13:40] local.INFO: GPS data processed {"connection_id":126456,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:13:40] local.INFO: Acknowledgment sent {"connection_id":126456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:14:00] local.INFO: TCP Data received {"connection_id":125590,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:14:00] local.INFO: Processing buffer {"connection_id":125590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:14:00] local.INFO: IMEI packet received {"connection_id":125590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":125590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:14:05] local.INFO: TCP Data received {"connection_id":125591,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:14:05] local.INFO: Processing buffer {"connection_id":125591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:14:05] local.INFO: IMEI packet received {"connection_id":125591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":125591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:14:05] local.INFO: TCP Data received {"connection_id":125590,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:14:05] local.INFO: Processing buffer {"connection_id":125590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:14:05] local.INFO: IMEI packet received {"connection_id":125590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":125590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:14:06] local.INFO: TCP Data received {"connection_id":125590,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4152cbc8012d9aa38005781260000c00f829..."} 
[2026-07-08 16:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4152cbc8012d9aa38005781260000c00f829..."} 
[2026-07-08 16:14:06] local.INFO: Processing buffer {"connection_id":125590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4152cbc8012d9aa38005781260000c00f829..."} 
[2026-07-08 16:14:06] local.INFO: Packet analysis {"connection_id":125590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4152"} 
[2026-07-08 16:14:06] local.INFO: Extracted packet for processing {"connection_id":125590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4152"} 
[2026-07-08 16:14:06] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577810432001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:14:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783507373000,"timestamp_ms":1783507373000,"timestamp_seconds":1783507373,"priority":1,"record_length":96,"hex_timestamp":"0000019f4152cbc8"} 
[2026-07-08 16:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-08 16:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577810432001,"66":25702,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577810432001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:14:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:14:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577810432001,"power":25702,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":125590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:14:06] local.INFO: GPS data processed {"connection_id":125590,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:14:06] local.INFO: Acknowledgment sent {"connection_id":125590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:14:10] local.INFO: TCP Data received {"connection_id":125591,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:14:10] local.INFO: Processing buffer {"connection_id":125591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:14:10] local.INFO: IMEI packet received {"connection_id":125591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":125591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:14:10] local.INFO: TCP Data received {"connection_id":125591,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f415081d8012d181dc00721b088004e000f2e..."} 
[2026-07-08 16:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415081d8012d181dc00721b088004e000f2e..."} 
[2026-07-08 16:14:10] local.INFO: Processing buffer {"connection_id":125591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415081d8012d181dc00721b088004e000f2e..."} 
[2026-07-08 16:14:10] local.INFO: Packet analysis {"connection_id":125591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4150"} 
[2026-07-08 16:14:10] local.INFO: Extracted packet for processing {"connection_id":125591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4150"} 
[2026-07-08 16:14:10] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648392,"longitude_deg":75.65552,"latitude_deg":11.9648392,"altitude":78,"angle":15,"satellites":46,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-07-08 16:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577771264001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854605829636096,"note":"Value kept but may cause issues"} 
[2026-07-08 16:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795028480,"note":"Value kept but may cause issues"} 
[2026-07-08 16:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783507223000,"timestamp_ms":1783507223000,"timestamp_seconds":1783507223,"priority":1,"record_length":96,"hex_timestamp":"0000019f415081d8"} 
[2026-07-08 16:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16: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":16,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 16:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577771264001,"66":2144,"105":206,"83":41984,"24":0,"16":4854605829636096,"45":1738389486795028480},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 16:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577771264001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:14:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:14:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854605829636096,"km_value":4854605829636.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795028480,"description":"Unknown IO ID 45"} 
[2026-07-08 16:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577771264001,"power":2144,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795028480}} 
[2026-07-08 16:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":125591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:14:10] local.INFO: GPS data processed {"connection_id":125591,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:14:10] local.INFO: Acknowledgment sent {"connection_id":125591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:14:11] local.INFO: TCP Data received {"connection_id":125590,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4152cbc8012d9aa38005781260000c00f829..."} 
[2026-07-08 16:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4152cbc8012d9aa38005781260000c00f829..."} 
[2026-07-08 16:14:11] local.INFO: Processing buffer {"connection_id":125590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4152cbc8012d9aa38005781260000c00f829..."} 
[2026-07-08 16:14:11] local.INFO: Packet analysis {"connection_id":125590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4152"} 
[2026-07-08 16:14:11] local.INFO: Extracted packet for processing {"connection_id":125590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4152"} 
[2026-07-08 16:14:11] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577810432001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:14:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783507373000,"timestamp_ms":1783507373000,"timestamp_seconds":1783507373,"priority":1,"record_length":96,"hex_timestamp":"0000019f4152cbc8"} 
[2026-07-08 16:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-08 16:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577810432001,"66":25702,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577810432001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:14:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:14:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577810432001,"power":25702,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":125590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:14:11] local.INFO: GPS data processed {"connection_id":125590,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:14:11] local.INFO: Acknowledgment sent {"connection_id":125590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:14:15] local.INFO: TCP Data received {"connection_id":125591,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f415081d8012d181dc00721b088004e000f2e..."} 
[2026-07-08 16:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415081d8012d181dc00721b088004e000f2e..."} 
[2026-07-08 16:14:15] local.INFO: Processing buffer {"connection_id":125591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415081d8012d181dc00721b088004e000f2e..."} 
[2026-07-08 16:14:15] local.INFO: Packet analysis {"connection_id":125591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4150"} 
[2026-07-08 16:14:15] local.INFO: Extracted packet for processing {"connection_id":125591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4150"} 
[2026-07-08 16:14:15] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648392,"longitude_deg":75.65552,"latitude_deg":11.9648392,"altitude":78,"angle":15,"satellites":46,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-07-08 16: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-07-08 16:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577771264001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854605829636096,"note":"Value kept but may cause issues"} 
[2026-07-08 16:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795028480,"note":"Value kept but may cause issues"} 
[2026-07-08 16:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783507223000,"timestamp_ms":1783507223000,"timestamp_seconds":1783507223,"priority":1,"record_length":96,"hex_timestamp":"0000019f415081d8"} 
[2026-07-08 16:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16: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":16,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 16:14:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":125591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":125591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":125591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577771264001,"66":2144,"105":206,"83":41984,"24":0,"16":4854605829636096,"45":1738389486795028480},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 16:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577771264001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:14:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:14:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854605829636096,"km_value":4854605829636.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795028480,"description":"Unknown IO ID 45"} 
[2026-07-08 16:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577771264001,"power":2144,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795028480}} 
[2026-07-08 16:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":125591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:14:16] local.INFO: GPS data processed {"connection_id":125591,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:14:16] local.INFO: Acknowledgment sent {"connection_id":125591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:14:56] local.INFO: TCP Data received {"connection_id":126458,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:14:56] local.INFO: Processing buffer {"connection_id":126458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:14:56] local.INFO: IMEI packet received {"connection_id":126458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":126458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:15:00] local.INFO: TCP Data received {"connection_id":125700,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:15:00] local.INFO: Processing buffer {"connection_id":125700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:15:00] local.INFO: IMEI packet received {"connection_id":125700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":125700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:15:00] local.INFO: TCP Data received {"connection_id":126458,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:15:01] local.INFO: Processing buffer {"connection_id":126458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:15:01] local.INFO: IMEI packet received {"connection_id":126458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":126458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:15:04] local.INFO: TCP Data received {"connection_id":126458,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4152cbc8012d9aa38005781260000c00f829..."} 
[2026-07-08 16:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4152cbc8012d9aa38005781260000c00f829..."} 
[2026-07-08 16:15:04] local.INFO: Processing buffer {"connection_id":126458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4152cbc8012d9aa38005781260000c00f829..."} 
[2026-07-08 16:15:04] local.INFO: Packet analysis {"connection_id":126458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4152"} 
[2026-07-08 16:15:04] local.INFO: Extracted packet for processing {"connection_id":126458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4152"} 
[2026-07-08 16:15:04] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577810432001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:15:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783507373000,"timestamp_ms":1783507373000,"timestamp_seconds":1783507373,"priority":1,"record_length":96,"hex_timestamp":"0000019f4152cbc8"} 
[2026-07-08 16:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-08 16:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577810432001,"66":25702,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577810432001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:15:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:15:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577810432001,"power":25702,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":126458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:15:04] local.INFO: GPS data processed {"connection_id":126458,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:15:04] local.INFO: Acknowledgment sent {"connection_id":126458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:15:05] local.INFO: TCP Data received {"connection_id":125700,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:15:05] local.INFO: Processing buffer {"connection_id":125700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:15:05] local.INFO: IMEI packet received {"connection_id":125700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":125700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:15:06] local.INFO: TCP Data received {"connection_id":125700,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f415081d8012d181dc00721b088004e000f2e..."} 
[2026-07-08 16:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415081d8012d181dc00721b088004e000f2e..."} 
[2026-07-08 16:15:06] local.INFO: Processing buffer {"connection_id":125700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415081d8012d181dc00721b088004e000f2e..."} 
[2026-07-08 16:15:06] local.INFO: Packet analysis {"connection_id":125700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4150"} 
[2026-07-08 16:15:06] local.INFO: Extracted packet for processing {"connection_id":125700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4150"} 
[2026-07-08 16:15:06] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648392,"longitude_deg":75.65552,"latitude_deg":11.9648392,"altitude":78,"angle":15,"satellites":46,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-07-08 16:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577771264001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854605829636096,"note":"Value kept but may cause issues"} 
[2026-07-08 16:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795028480,"note":"Value kept but may cause issues"} 
[2026-07-08 16:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783507223000,"timestamp_ms":1783507223000,"timestamp_seconds":1783507223,"priority":1,"record_length":96,"hex_timestamp":"0000019f415081d8"} 
[2026-07-08 16:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16: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":16,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 16:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577771264001,"66":2144,"105":206,"83":41984,"24":0,"16":4854605829636096,"45":1738389486795028480},"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-07-08 16:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577771264001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:15:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:15:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854605829636096,"km_value":4854605829636.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795028480,"description":"Unknown IO ID 45"} 
[2026-07-08 16:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577771264001,"power":2144,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795028480}} 
[2026-07-08 16:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":125700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:15:06] local.INFO: GPS data processed {"connection_id":125700,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:15:06] local.INFO: Acknowledgment sent {"connection_id":125700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:15:35] local.INFO: TCP Data received {"connection_id":126458,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4152cbc8012d9aa38005781260000c00f829..."} 
[2026-07-08 16:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4152cbc8012d9aa38005781260000c00f829..."} 
[2026-07-08 16:15:35] local.INFO: Processing buffer {"connection_id":126458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4152cbc8012d9aa38005781260000c00f829..."} 
[2026-07-08 16:15:35] local.INFO: Packet analysis {"connection_id":126458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4152"} 
[2026-07-08 16:15:35] local.INFO: Extracted packet for processing {"connection_id":126458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4152"} 
[2026-07-08 16:15:35] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16: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-07-08 16:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577810432001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:15:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783507373000,"timestamp_ms":1783507373000,"timestamp_seconds":1783507373,"priority":1,"record_length":96,"hex_timestamp":"0000019f4152cbc8"} 
[2026-07-08 16:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-08 16:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577810432001,"66":25702,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577810432001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:15:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:15:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577810432001,"power":25702,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":126458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:15:35] local.INFO: GPS data processed {"connection_id":126458,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:15:35] local.INFO: Acknowledgment sent {"connection_id":126458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:15:37] local.INFO: TCP Data received {"connection_id":125700,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f415081d8012d181dc00721b088004e000f2e..."} 
[2026-07-08 16:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415081d8012d181dc00721b088004e000f2e..."} 
[2026-07-08 16:15:37] local.INFO: Processing buffer {"connection_id":125700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415081d8012d181dc00721b088004e000f2e..."} 
[2026-07-08 16:15:37] local.INFO: Packet analysis {"connection_id":125700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4150"} 
[2026-07-08 16:15:37] local.INFO: Extracted packet for processing {"connection_id":125700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4150"} 
[2026-07-08 16:15:37] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648392,"longitude_deg":75.65552,"latitude_deg":11.9648392,"altitude":78,"angle":15,"satellites":46,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-07-08 16:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577771264001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854605829636096,"note":"Value kept but may cause issues"} 
[2026-07-08 16:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795028480,"note":"Value kept but may cause issues"} 
[2026-07-08 16:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783507223000,"timestamp_ms":1783507223000,"timestamp_seconds":1783507223,"priority":1,"record_length":96,"hex_timestamp":"0000019f415081d8"} 
[2026-07-08 16:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":16,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 16:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577771264001,"66":2144,"105":206,"83":41984,"24":0,"16":4854605829636096,"45":1738389486795028480},"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-07-08 16:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577771264001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:15:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:15:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854605829636096,"km_value":4854605829636.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795028480,"description":"Unknown IO ID 45"} 
[2026-07-08 16:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577771264001,"power":2144,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795028480}} 
[2026-07-08 16:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":125700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:15:37] local.INFO: GPS data processed {"connection_id":125700,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:15:37] local.INFO: Acknowledgment sent {"connection_id":125700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:15:44] local.INFO: TCP Data received {"connection_id":125701,"ip":"117.224.187.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125701,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:15:44] local.INFO: Processing buffer {"connection_id":125701,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:15:44] local.INFO: IMEI packet received {"connection_id":125701,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 16:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":125701,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:15:50] local.INFO: TCP Data received {"connection_id":125701,"ip":"117.224.187.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125701,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:15:50] local.INFO: Processing buffer {"connection_id":125701,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:15:50] local.INFO: IMEI packet received {"connection_id":125701,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 16:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":125701,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:15:51] local.INFO: TCP Data received {"connection_id":125701,"ip":"117.224.187.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f41547978012d0c4a40070640f00018007526..."} 
[2026-07-08 16:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41547978012d0c4a40070640f00018007526..."} 
[2026-07-08 16:15:51] local.INFO: Processing buffer {"connection_id":125701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41547978012d0c4a40070640f00018007526..."} 
[2026-07-08 16:15:51] local.INFO: Packet analysis {"connection_id":125701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4154"} 
[2026-07-08 16:15:51] local.INFO: Extracted packet for processing {"connection_id":125701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4154"} 
[2026-07-08 16:15:51] local.INFO: GPS Element Parsed {"raw_longitude":755780160,"raw_latitude":117850352,"longitude_deg":75.578016,"latitude_deg":11.7850352,"altitude":24,"angle":117,"satellites":38,"speed":16,"hex_longitude":"2d0c4a40","hex_latitude":"070640f0","is_valid_coordinates":true} 
[2026-07-08 16: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-07-08 16:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577913600001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23632018164154368,"note":"Value kept but may cause issues"} 
[2026-07-08 16:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882564819646160896,"note":"Value kept but may cause issues"} 
[2026-07-08 16:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783507483000,"timestamp_ms":1783507483000,"timestamp_seconds":1783507483,"priority":1,"record_length":96,"hex_timestamp":"0000019f41547978"} 
[2026-07-08 16:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-08 16:15:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125701,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125701,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.187.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 16:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 16:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577913600001,"66":14396,"139":206,"28":32256,"24":16,"16":23632018164154368,"45":882564819646160896},"client_ip":"117.224.187.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,28,24,16,45]} 
[2026-07-08 16:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 16:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 16:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577913600001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:15:51] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-08 16:15:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-08 16:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23632018164154368,"km_value":23632018164154.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":882564819646160896,"description":"Unknown IO ID 45"} 
[2026-07-08 16:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577913600001,"power":14396,"unknown_139":206,"unknown_28":32256,"ignition":16,"odometer":null,"unknown_45":882564819646160896}} 
[2026-07-08 16:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":125701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452314,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:15:52] local.INFO: GPS data processed {"connection_id":125701,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:15:52] local.INFO: Acknowledgment sent {"connection_id":125701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:15:55] local.INFO: TCP Data received {"connection_id":127698,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:15:55] local.INFO: Processing buffer {"connection_id":127698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:15:55] local.INFO: IMEI packet received {"connection_id":127698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":127698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:16:00] local.INFO: TCP Data received {"connection_id":126460,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:16:00] local.INFO: Processing buffer {"connection_id":126460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:16:00] local.INFO: IMEI packet received {"connection_id":126460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":126460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:16:00] local.INFO: TCP Data received {"connection_id":127698,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:16:00] local.INFO: Processing buffer {"connection_id":127698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:16:00] local.INFO: IMEI packet received {"connection_id":127698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":127698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:16:01] local.INFO: TCP Data received {"connection_id":127698,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4152cbc8012d9aa38005781260000c00f829..."} 
[2026-07-08 16:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4152cbc8012d9aa38005781260000c00f829..."} 
[2026-07-08 16:16:01] local.INFO: Processing buffer {"connection_id":127698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4152cbc8012d9aa38005781260000c00f829..."} 
[2026-07-08 16:16:01] local.INFO: Packet analysis {"connection_id":127698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4152"} 
[2026-07-08 16:16:01] local.INFO: Extracted packet for processing {"connection_id":127698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4152"} 
[2026-07-08 16:16:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577810432001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:16:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783507373000,"timestamp_ms":1783507373000,"timestamp_seconds":1783507373,"priority":1,"record_length":96,"hex_timestamp":"0000019f4152cbc8"} 
[2026-07-08 16:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-08 16:16:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:16:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577810432001,"66":25702,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577810432001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:16:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:16:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577810432001,"power":25702,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":127698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:16:01] local.INFO: GPS data processed {"connection_id":127698,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:16:01] local.INFO: Acknowledgment sent {"connection_id":127698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:16:02] local.INFO: TCP Data received {"connection_id":126460,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:16:02] local.INFO: Processing buffer {"connection_id":126460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:16:02] local.INFO: IMEI packet received {"connection_id":126460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":126460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:16:05] local.INFO: TCP Data received {"connection_id":126460,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:16:05] local.INFO: Processing buffer {"connection_id":126460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:16:05] local.INFO: IMEI packet received {"connection_id":126460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":126460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:16:06] local.INFO: TCP Data received {"connection_id":126460,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f415519a0012d181dc00721b088004e000f30..."} 
[2026-07-08 16:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415519a0012d181dc00721b088004e000f30..."} 
[2026-07-08 16:16:06] local.INFO: Processing buffer {"connection_id":126460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415519a0012d181dc00721b088004e000f30..."} 
[2026-07-08 16:16:06] local.INFO: Packet analysis {"connection_id":126460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4155"} 
[2026-07-08 16:16:06] local.INFO: Extracted packet for processing {"connection_id":126460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4155"} 
[2026-07-08 16:16:06] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648392,"longitude_deg":75.65552,"latitude_deg":11.9648392,"altitude":78,"angle":15,"satellites":48,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-07-08 16:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577849088001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854605829636096,"note":"Value kept but may cause issues"} 
[2026-07-08 16:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097400832,"note":"Value kept but may cause issues"} 
[2026-07-08 16:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783507524000,"timestamp_ms":1783507524000,"timestamp_seconds":1783507524,"priority":1,"record_length":96,"hex_timestamp":"0000019f415519a0"} 
[2026-07-08 16:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 16:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577849088001,"66":2166,"105":206,"83":41984,"24":0,"16":4854605829636096,"45":1737756168097400832},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 16:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577849088001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:16:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:16:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854605829636096,"km_value":4854605829636.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097400832,"description":"Unknown IO ID 45"} 
[2026-07-08 16:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577849088001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097400832}} 
[2026-07-08 16:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":126460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:16:06] local.INFO: GPS data processed {"connection_id":126460,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:16:06] local.INFO: Acknowledgment sent {"connection_id":126460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:16:10] local.INFO: TCP Data received {"connection_id":126460,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f415519a0012d181dc00721b088004e000f30..."} 
[2026-07-08 16:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415519a0012d181dc00721b088004e000f30..."} 
[2026-07-08 16:16:10] local.INFO: Processing buffer {"connection_id":126460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415519a0012d181dc00721b088004e000f30..."} 
[2026-07-08 16:16:10] local.INFO: Packet analysis {"connection_id":126460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4155"} 
[2026-07-08 16:16:10] local.INFO: Extracted packet for processing {"connection_id":126460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4155"} 
[2026-07-08 16:16:10] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648392,"longitude_deg":75.65552,"latitude_deg":11.9648392,"altitude":78,"angle":15,"satellites":48,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-07-08 16: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-07-08 16:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577849088001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854605829636096,"note":"Value kept but may cause issues"} 
[2026-07-08 16:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097400832,"note":"Value kept but may cause issues"} 
[2026-07-08 16:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783507524000,"timestamp_ms":1783507524000,"timestamp_seconds":1783507524,"priority":1,"record_length":96,"hex_timestamp":"0000019f415519a0"} 
[2026-07-08 16:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 16:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577849088001,"66":2166,"105":206,"83":41984,"24":0,"16":4854605829636096,"45":1737756168097400832},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 16:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577849088001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:16:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:16:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854605829636096,"km_value":4854605829636.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097400832,"description":"Unknown IO ID 45"} 
[2026-07-08 16:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577849088001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097400832}} 
[2026-07-08 16:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":126460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:16:10] local.INFO: GPS data processed {"connection_id":126460,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:16:10] local.INFO: Acknowledgment sent {"connection_id":126460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:16:24] local.INFO: TCP Data received {"connection_id":125701,"ip":"117.224.187.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f415494d0012d0c548007063af00018008426..."} 
[2026-07-08 16:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415494d0012d0c548007063af00018008426..."} 
[2026-07-08 16:16:24] local.INFO: Processing buffer {"connection_id":125701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415494d0012d0c548007063af00018008426..."} 
[2026-07-08 16:16:24] local.INFO: Packet analysis {"connection_id":125701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4154"} 
[2026-07-08 16:16:24] local.INFO: Extracted packet for processing {"connection_id":125701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4154"} 
[2026-07-08 16:16:24] local.INFO: GPS Element Parsed {"raw_longitude":755782784,"raw_latitude":117848816,"longitude_deg":75.5782784,"latitude_deg":11.7848816,"altitude":24,"angle":132,"satellites":38,"speed":18,"hex_longitude":"2d0c5480","hex_latitude":"07063af0","is_valid_coordinates":true} 
[2026-07-08 16: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-07-08 16:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577915648001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23632164193042432,"note":"Value kept but may cause issues"} 
[2026-07-08 16:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885590675645591552,"note":"Value kept but may cause issues"} 
[2026-07-08 16:16:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783507490000,"timestamp_ms":1783507490000,"timestamp_seconds":1783507490,"priority":1,"record_length":96,"hex_timestamp":"0000019f415494d0"} 
[2026-07-08 16:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:16:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-08 16:16:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":125701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":125701,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":125701,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:16:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.187.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 16:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 16:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577915648001,"66":14352,"139":206,"28":32256,"24":18,"16":23632164193042432,"45":885590675645591552},"client_ip":"117.224.187.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,28,24,16,45]} 
[2026-07-08 16:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 16:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 16:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577915648001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:16:24] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-08 16:16:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-08 16:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23632164193042432,"km_value":23632164193042.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":885590675645591552,"description":"Unknown IO ID 45"} 
[2026-07-08 16:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577915648001,"power":14352,"unknown_139":206,"unknown_28":32256,"ignition":18,"odometer":null,"unknown_45":885590675645591552}} 
[2026-07-08 16:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":125701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452318,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:16:24] local.INFO: GPS data processed {"connection_id":125701,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:16:24] local.INFO: Acknowledgment sent {"connection_id":125701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:16:31] local.INFO: TCP Data received {"connection_id":126461,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126461,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:16:31] local.INFO: Processing buffer {"connection_id":126461,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:16:31] local.INFO: IMEI packet received {"connection_id":126461,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":126461,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:16:32] local.INFO: TCP Data received {"connection_id":127698,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f4152cbc8012d9aa38005781260000c00f829..."} 
[2026-07-08 16:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4152cbc8012d9aa38005781260000c00f829..."} 
[2026-07-08 16:16:32] local.INFO: Processing buffer {"connection_id":127698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4152cbc8012d9aa38005781260000c00f829..."} 
[2026-07-08 16:16:32] local.INFO: Packet analysis {"connection_id":127698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4152"} 
[2026-07-08 16:16:32] local.INFO: Extracted packet for processing {"connection_id":127698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4152"} 
[2026-07-08 16:16:32] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577810432001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:16:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783507373000,"timestamp_ms":1783507373000,"timestamp_seconds":1783507373,"priority":1,"record_length":96,"hex_timestamp":"0000019f4152cbc8"} 
[2026-07-08 16:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-08 16:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577810432001,"66":25702,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577810432001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:16:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:16:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577810432001,"power":25702,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":127698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:16:32] local.INFO: GPS data processed {"connection_id":127698,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:16:32] local.INFO: Acknowledgment sent {"connection_id":127698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:16:36] local.INFO: TCP Data received {"connection_id":126461,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126461,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:16:36] local.INFO: Processing buffer {"connection_id":126461,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:16:36] local.INFO: IMEI packet received {"connection_id":126461,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":126461,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:16:39] local.INFO: TCP Data received {"connection_id":126461,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f41542b58012d7b8c0005e93c80000400ff1d..."} 
[2026-07-08 16:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41542b58012d7b8c0005e93c80000400ff1d..."} 
[2026-07-08 16:16:39] local.INFO: Processing buffer {"connection_id":126461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41542b58012d7b8c0005e93c80000400ff1d..."} 
[2026-07-08 16:16:39] local.INFO: Packet analysis {"connection_id":126461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4154"} 
[2026-07-08 16:16:39] local.INFO: Extracted packet for processing {"connection_id":126461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4154"} 
[2026-07-08 16:16:39] local.INFO: GPS Element Parsed {"raw_longitude":763071488,"raw_latitude":99171456,"longitude_deg":76.3071488,"latitude_deg":9.9171456,"altitude":4,"angle":255,"satellites":29,"speed":6,"hex_longitude":"2d7b8c00","hex_latitude":"05e93c80","is_valid_coordinates":true} 
[2026-07-08 16:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577905408001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103745093948669952,"note":"Value kept but may cause issues"} 
[2026-07-08 16:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905375707304007680,"note":"Value kept but may cause issues"} 
[2026-07-08 16:16:39] 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-07-08 16:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783507463000,"timestamp_ms":1783507463000,"timestamp_seconds":1783507463,"priority":1,"record_length":96,"hex_timestamp":"0000019f41542b58"} 
[2026-07-08 16:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-08 16:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:16:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577905408001,"66":12939,"156":206,"87":13824,"24":6,"16":103745093948669952,"45":8905375707304007680},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-08 16:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577905408001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:16:39] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 16:16:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103745093948669952,"km_value":103745093948669.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905375707304007680,"description":"Unknown IO ID 45"} 
[2026-07-08 16:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577905408001,"power":12939,"unknown_156":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8905375707304007680}} 
[2026-07-08 16:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":126461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452320,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:16:39] local.INFO: GPS data processed {"connection_id":126461,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:16:39] local.INFO: Acknowledgment sent {"connection_id":126461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:16:41] local.INFO: TCP Data received {"connection_id":126460,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f415519a0012d181dc00721b088004e000f30..."} 
[2026-07-08 16:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415519a0012d181dc00721b088004e000f30..."} 
[2026-07-08 16:16:41] local.INFO: Processing buffer {"connection_id":126460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415519a0012d181dc00721b088004e000f30..."} 
[2026-07-08 16:16:41] local.INFO: Packet analysis {"connection_id":126460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4155"} 
[2026-07-08 16:16:41] local.INFO: Extracted packet for processing {"connection_id":126460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4155"} 
[2026-07-08 16:16:41] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648392,"longitude_deg":75.65552,"latitude_deg":11.9648392,"altitude":78,"angle":15,"satellites":48,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-07-08 16:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577849088001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854605829636096,"note":"Value kept but may cause issues"} 
[2026-07-08 16:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097400832,"note":"Value kept but may cause issues"} 
[2026-07-08 16: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-07-08 16:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783507524000,"timestamp_ms":1783507524000,"timestamp_seconds":1783507524,"priority":1,"record_length":96,"hex_timestamp":"0000019f415519a0"} 
[2026-07-08 16:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16: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":96,"data_length":795,"current_offset":136} 
[2026-07-08 16:16: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-07-08 16:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":126460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":126460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":126460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577849088001,"66":2166,"105":206,"83":41984,"24":0,"16":4854605829636096,"45":1737756168097400832},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 16:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577849088001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:16:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:16:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854605829636096,"km_value":4854605829636.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097400832,"description":"Unknown IO ID 45"} 
[2026-07-08 16:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577849088001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097400832}} 
[2026-07-08 16:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":126460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:16:41] local.INFO: GPS data processed {"connection_id":126460,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:16:41] local.INFO: Acknowledgment sent {"connection_id":126460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:16:46] local.INFO: TCP Data received {"connection_id":127699,"ip":"117.224.187.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127699,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:16:46] local.INFO: Processing buffer {"connection_id":127699,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:16:46] local.INFO: IMEI packet received {"connection_id":127699,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 16:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":127699,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:16:50] local.INFO: TCP Data received {"connection_id":127699,"ip":"117.224.187.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127699,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:16:50] local.INFO: Processing buffer {"connection_id":127699,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:16:50] local.INFO: IMEI packet received {"connection_id":127699,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 16:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":127699,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:16:53] local.INFO: TCP Data received {"connection_id":127699,"ip":"117.224.187.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127699,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:16:53] local.INFO: Processing buffer {"connection_id":127699,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:16:53] local.INFO: IMEI packet received {"connection_id":127699,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 16:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":127699,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:16:55] local.INFO: TCP Data received {"connection_id":126462,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:16:55] local.INFO: Processing buffer {"connection_id":126462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:16:55] local.INFO: IMEI packet received {"connection_id":126462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":126462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:17:00] local.INFO: TCP Data received {"connection_id":127699,"ip":"117.224.187.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f41549ca0012d0c5740070638600018008f26..."} 
[2026-07-08 16:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41549ca0012d0c5740070638600018008f26..."} 
[2026-07-08 16:17:00] local.INFO: Processing buffer {"connection_id":127699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41549ca0012d0c5740070638600018008f26..."} 
[2026-07-08 16:17:00] local.INFO: Packet analysis {"connection_id":127699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4154"} 
[2026-07-08 16:17:00] local.INFO: Extracted packet for processing {"connection_id":127699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4154"} 
[2026-07-08 16:17:00] local.INFO: GPS Element Parsed {"raw_longitude":755783488,"raw_latitude":117848160,"longitude_deg":75.5783488,"latitude_deg":11.784816,"altitude":24,"angle":143,"satellites":38,"speed":18,"hex_longitude":"2d0c5740","hex_latitude":"07063860","is_valid_coordinates":true} 
[2026-07-08 16:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577917440001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23632211437682688,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888475794156482560,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783507492000,"timestamp_ms":1783507492000,"timestamp_seconds":1783507492,"priority":1,"record_length":96,"hex_timestamp":"0000019f41549ca0"} 
[2026-07-08 16:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:17: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":16,"data_length":795,"current_offset":136} 
[2026-07-08 16:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733144320,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:00] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503960220270592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:00] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:00] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639316264544651,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:00] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5981044192238174464,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3918201038,"corrected_to":0} 
[2026-07-08 16:17:00] local.WARNING: Large IO value detected {"io_id":70,"raw_value":2952867084,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:00] local.WARNING: Large IO value detected {"io_id":59,"raw_value":3221685830,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:00] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":4110811136,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:00] local.WARNING: Large IO value detected {"io_id":40,"raw_value":84737416606713414,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:00] local.WARNING: Large IO value detected {"io_id":144,"raw_value":7037910142419456,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:00] local.WARNING: Large IO value detected {"io_id":12,"raw_value":4269420170283843609,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:00] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,139,28,24,241,158,16,245,159,121,45,64,38,10,66,90,128,68,25,82,1,240,115,65,6,4,113,205,7,70,59,239,56,2,83,206,40,144,12],"length":628,"final_offset":758,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3918201038,"validated":0}]} 
[2026-07-08 16:17:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1729527555655073792,"timestamp_seconds":1729527555655073.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 16:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":127699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":127699,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":127699,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.187.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 16:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 16:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577917440001,"66":14428,"139":206,"28":32256,"24":18,"16":23632211437682688,"45":888475794156482560},"client_ip":"117.224.187.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,28,24,16,45]} 
[2026-07-08 16:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 16:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 16:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577917440001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:17:00] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-08 16:17:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-08 16:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23632211437682688,"km_value":23632211437682.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":888475794156482560,"description":"Unknown IO ID 45"} 
[2026-07-08 16:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577917440001,"power":14428,"unknown_139":206,"unknown_28":32256,"ignition":18,"odometer":null,"unknown_45":888475794156482560}} 
[2026-07-08 16:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":127699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452322,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:17:00] local.INFO: GPS data processed {"connection_id":127699,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:17:00] local.INFO: Acknowledgment sent {"connection_id":127699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:17:00] local.INFO: TCP Data received {"connection_id":126462,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:17:00] local.INFO: Processing buffer {"connection_id":126462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:17:00] local.INFO: IMEI packet received {"connection_id":126462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":126462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:17:01] local.INFO: TCP Data received {"connection_id":126462,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4152cbc8012d9aa38005781260000c00f829..."} 
[2026-07-08 16:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4152cbc8012d9aa38005781260000c00f829..."} 
[2026-07-08 16:17:01] local.INFO: Processing buffer {"connection_id":126462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4152cbc8012d9aa38005781260000c00f829..."} 
[2026-07-08 16:17:01] local.INFO: Packet analysis {"connection_id":126462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4152"} 
[2026-07-08 16:17:01] local.INFO: Extracted packet for processing {"connection_id":126462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4152"} 
[2026-07-08 16:17:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577810432001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783507373000,"timestamp_ms":1783507373000,"timestamp_seconds":1783507373,"priority":1,"record_length":96,"hex_timestamp":"0000019f4152cbc8"} 
[2026-07-08 16:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:17:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-08 16:17:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:17:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577810432001,"66":25702,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577810432001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:17:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:17:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577810432001,"power":25702,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":126462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:17:01] local.INFO: GPS data processed {"connection_id":126462,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:17:01] local.INFO: Acknowledgment sent {"connection_id":126462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:17:02] local.INFO: TCP Data received {"connection_id":127699,"ip":"117.224.187.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4154e2f0012d0c6ec007061c880013008d25..."} 
[2026-07-08 16:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4154e2f0012d0c6ec007061c880013008d25..."} 
[2026-07-08 16:17:02] local.INFO: Processing buffer {"connection_id":127699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4154e2f0012d0c6ec007061c880013008d25..."} 
[2026-07-08 16:17:02] local.INFO: Packet analysis {"connection_id":127699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4154"} 
[2026-07-08 16:17:02] local.INFO: Extracted packet for processing {"connection_id":127699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4154"} 
[2026-07-08 16:17:02] local.INFO: GPS Element Parsed {"raw_longitude":755789504,"raw_latitude":117841032,"longitude_deg":75.5789504,"latitude_deg":11.7841032,"altitude":19,"angle":141,"satellites":37,"speed":20,"hex_longitude":"2d0c6ec0","hex_latitude":"07061c88","is_valid_coordinates":true} 
[2026-07-08 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-07-08 16:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577917952001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23632662409248768,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":889249850342268928,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783507510000,"timestamp_ms":1783507510000,"timestamp_seconds":1783507510,"priority":1,"record_length":96,"hex_timestamp":"0000019f4154e2f0"} 
[2026-07-08 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-07-08 16:17: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-07-08 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":92,"data_length":795,"current_offset":136} 
[2026-07-08 16:17:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 16:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127699,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127699,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.187.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 16:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 16:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577917952001,"66":14428,"139":206,"28":32256,"24":20,"16":23632662409248768,"45":889249850342268928},"client_ip":"117.224.187.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,28,24,16,45]} 
[2026-07-08 16:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 16:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 16:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577917952001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:17:02] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-08 16:17:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-08 16:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23632662409248768,"km_value":23632662409248.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":889249850342268928,"description":"Unknown IO ID 45"} 
[2026-07-08 16:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577917952001,"power":14428,"unknown_139":206,"unknown_28":32256,"ignition":20,"odometer":null,"unknown_45":889249850342268928}} 
[2026-07-08 16:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":127699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452324,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:17:02] local.INFO: GPS data processed {"connection_id":127699,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:17:02] local.INFO: Acknowledgment sent {"connection_id":127699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:17:05] local.INFO: TCP Data received {"connection_id":125595,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:17:05] local.INFO: Processing buffer {"connection_id":125595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:17:05] local.INFO: IMEI packet received {"connection_id":125595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":125595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:17:07] local.INFO: TCP Data received {"connection_id":125595,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:17:07] local.INFO: Processing buffer {"connection_id":125595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:17:07] local.INFO: IMEI packet received {"connection_id":125595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":125595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:17:07] local.INFO: TCP Data received {"connection_id":125595,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4155bdb0012d181dc00721b088004e000f30..."} 
[2026-07-08 16:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4155bdb0012d181dc00721b088004e000f30..."} 
[2026-07-08 16:17:07] local.INFO: Processing buffer {"connection_id":125595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4155bdb0012d181dc00721b088004e000f30..."} 
[2026-07-08 16:17:07] local.INFO: Packet analysis {"connection_id":125595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4155"} 
[2026-07-08 16:17:07] local.INFO: Extracted packet for processing {"connection_id":125595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4155"} 
[2026-07-08 16:17:07] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648392,"longitude_deg":75.65552,"latitude_deg":11.9648392,"altitude":78,"angle":15,"satellites":48,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-07-08 16:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577926144001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854605829636096,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097400832,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783507566000,"timestamp_ms":1783507566000,"timestamp_seconds":1783507566,"priority":1,"record_length":96,"hex_timestamp":"0000019f4155bdb0"} 
[2026-07-08 16:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 16:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577926144001,"66":2166,"105":206,"83":41984,"24":0,"16":4854605829636096,"45":1737756168097400832},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 16:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577926144001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:17:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:17:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854605829636096,"km_value":4854605829636.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097400832,"description":"Unknown IO ID 45"} 
[2026-07-08 16:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577926144001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097400832}} 
[2026-07-08 16:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":125595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:17:07] local.INFO: GPS data processed {"connection_id":125595,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:17:07] local.INFO: Acknowledgment sent {"connection_id":125595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:17:10] local.INFO: TCP Data received {"connection_id":125595,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4155bdb0012d181dc00721b088004e000f30..."} 
[2026-07-08 16:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4155bdb0012d181dc00721b088004e000f30..."} 
[2026-07-08 16:17:10] local.INFO: Processing buffer {"connection_id":125595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4155bdb0012d181dc00721b088004e000f30..."} 
[2026-07-08 16:17:10] local.INFO: Packet analysis {"connection_id":125595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4155"} 
[2026-07-08 16:17:10] local.INFO: Extracted packet for processing {"connection_id":125595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4155"} 
[2026-07-08 16:17:10] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648392,"longitude_deg":75.65552,"latitude_deg":11.9648392,"altitude":78,"angle":15,"satellites":48,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-07-08 16:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577936896001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854605829636096,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097400832,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783507566000,"timestamp_ms":1783507566000,"timestamp_seconds":1783507566,"priority":1,"record_length":96,"hex_timestamp":"0000019f4155bdb0"} 
[2026-07-08 16:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 16:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577936896001,"66":2166,"105":206,"83":41984,"24":0,"16":4854605829636096,"45":1737756168097400832},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 16:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577936896001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:17:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:17:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854605829636096,"km_value":4854605829636.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097400832,"description":"Unknown IO ID 45"} 
[2026-07-08 16:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577936896001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097400832}} 
[2026-07-08 16:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":125595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:17:10] local.INFO: GPS data processed {"connection_id":125595,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:17:10] local.INFO: Acknowledgment sent {"connection_id":125595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:17:10] local.INFO: TCP Data received {"connection_id":126461,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f41543af8012d7b89c005e93bc0000400f01c..."} 
[2026-07-08 16:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41543af8012d7b89c005e93bc0000400f01c..."} 
[2026-07-08 16:17:10] local.INFO: Processing buffer {"connection_id":126461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41543af8012d7b89c005e93bc0000400f01c..."} 
[2026-07-08 16:17:10] local.INFO: Packet analysis {"connection_id":126461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4154"} 
[2026-07-08 16:17:10] local.INFO: Extracted packet for processing {"connection_id":126461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4154"} 
[2026-07-08 16:17:10] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":99171264,"longitude_deg":76.3070912,"latitude_deg":9.9171264,"altitude":4,"angle":240,"satellites":28,"speed":4,"hex_longitude":"2d7b89c0","hex_latitude":"05e93bc0","is_valid_coordinates":true} 
[2026-07-08 16:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577910528001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103745124013441024,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902490588792520704,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:10] 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-07-08 16:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783507467000,"timestamp_ms":1783507467000,"timestamp_seconds":1783507467,"priority":1,"record_length":96,"hex_timestamp":"0000019f41543af8"} 
[2026-07-08 16:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-08 16:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577910528001,"66":13222,"156":206,"87":13824,"24":4,"16":103745124013441024,"45":8902490588792520704},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-08 16:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577910528001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:17:10] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 16:17:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103745124013441024,"km_value":103745124013441.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902490588792520704,"description":"Unknown IO ID 45"} 
[2026-07-08 16:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577910528001,"power":13222,"unknown_156":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8902490588792520704}} 
[2026-07-08 16:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":126461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:17:10] local.INFO: GPS data processed {"connection_id":126461,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:17:10] local.INFO: Acknowledgment sent {"connection_id":126461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:17:21] local.INFO: TCP Data received {"connection_id":125594,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125594,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:17:21] local.INFO: Processing buffer {"connection_id":125594,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:17:21] local.INFO: IMEI packet received {"connection_id":125594,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 16:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":125594,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:17:31] local.INFO: TCP Data received {"connection_id":125596,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:17:31] local.INFO: Processing buffer {"connection_id":125596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:17:31] local.INFO: IMEI packet received {"connection_id":125596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":125596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:17:32] local.INFO: TCP Data received {"connection_id":126462,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4152cbc8012d9aa38005781260000c00f829..."} 
[2026-07-08 16:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4152cbc8012d9aa38005781260000c00f829..."} 
[2026-07-08 16:17:32] local.INFO: Processing buffer {"connection_id":126462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4152cbc8012d9aa38005781260000c00f829..."} 
[2026-07-08 16:17:32] local.INFO: Packet analysis {"connection_id":126462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4152"} 
[2026-07-08 16:17:32] local.INFO: Extracted packet for processing {"connection_id":126462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4152"} 
[2026-07-08 16:17:32] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577810432001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783507373000,"timestamp_ms":1783507373000,"timestamp_seconds":1783507373,"priority":1,"record_length":96,"hex_timestamp":"0000019f4152cbc8"} 
[2026-07-08 16:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-08 16:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:17: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-07-08 16:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577810432001,"66":25702,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577810432001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:17:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:17:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577810432001,"power":25702,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":126462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:17:32] local.INFO: GPS data processed {"connection_id":126462,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:17:32] local.INFO: Acknowledgment sent {"connection_id":126462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:17:36] local.INFO: TCP Data received {"connection_id":125596,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:17:36] local.INFO: Processing buffer {"connection_id":125596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:17:36] local.INFO: IMEI packet received {"connection_id":125596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":125596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:17:38] local.INFO: TCP Data received {"connection_id":125596,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f41543ee0012d7b898005e93ba8000400c61d..."} 
[2026-07-08 16:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41543ee0012d7b898005e93ba8000400c61d..."} 
[2026-07-08 16:17:38] local.INFO: Processing buffer {"connection_id":125596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41543ee0012d7b898005e93ba8000400c61d..."} 
[2026-07-08 16:17:38] local.INFO: Packet analysis {"connection_id":125596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4154"} 
[2026-07-08 16:17:38] local.INFO: Extracted packet for processing {"connection_id":125596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4154"} 
[2026-07-08 16:17:38] local.INFO: GPS Element Parsed {"raw_longitude":763070848,"raw_latitude":99171240,"longitude_deg":76.3070848,"latitude_deg":9.917124,"altitude":4,"angle":198,"satellites":29,"speed":1,"hex_longitude":"2d7b8980","hex_latitude":"05e93ba8","is_valid_coordinates":true} 
[2026-07-08 16:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577911552001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103745128308408320,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270094872576,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:38] 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-07-08 16:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783507468000,"timestamp_ms":1783507468000,"timestamp_seconds":1783507468,"priority":1,"record_length":96,"hex_timestamp":"0000019f41543ee0"} 
[2026-07-08 16:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-08 16:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577911552001,"66":13222,"156":206,"87":13824,"24":1,"16":103745128308408320,"45":8901857270094872576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-08 16:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577911552001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:17:38] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 16:17:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103745128308408320,"km_value":103745128308408.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270094872576,"description":"Unknown IO ID 45"} 
[2026-07-08 16:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577911552001,"power":13222,"unknown_156":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8901857270094872576}} 
[2026-07-08 16:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":125596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452329,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:17:38] local.INFO: GPS data processed {"connection_id":125596,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:17:38] local.INFO: Acknowledgment sent {"connection_id":125596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:17:41] local.INFO: TCP Data received {"connection_id":125595,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4155bdb0012d181dc00721b088004e000f30..."} 
[2026-07-08 16:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4155bdb0012d181dc00721b088004e000f30..."} 
[2026-07-08 16:17:41] local.INFO: Processing buffer {"connection_id":125595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4155bdb0012d181dc00721b088004e000f30..."} 
[2026-07-08 16:17:41] local.INFO: Packet analysis {"connection_id":125595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4155"} 
[2026-07-08 16:17:41] local.INFO: Extracted packet for processing {"connection_id":125595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4155"} 
[2026-07-08 16:17:41] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648392,"longitude_deg":75.65552,"latitude_deg":11.9648392,"altitude":78,"angle":15,"satellites":48,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-07-08 16:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577936896001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854605829636096,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097400832,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783507566000,"timestamp_ms":1783507566000,"timestamp_seconds":1783507566,"priority":1,"record_length":96,"hex_timestamp":"0000019f4155bdb0"} 
[2026-07-08 16:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:17: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-07-08 16:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 16: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-07-08 16: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-07-08 16:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:17: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-07-08 16:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577936896001,"66":2166,"105":206,"83":41984,"24":0,"16":4854605829636096,"45":1737756168097400832},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 16:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577936896001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:17:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:17:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854605829636096,"km_value":4854605829636.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097400832,"description":"Unknown IO ID 45"} 
[2026-07-08 16:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577936896001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097400832}} 
[2026-07-08 16:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":125595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:17:42] local.INFO: GPS data processed {"connection_id":125595,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:17:42] local.INFO: Acknowledgment sent {"connection_id":125595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:17:42] local.INFO: TCP Data received {"connection_id":127700,"ip":"117.224.187.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127700,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:17:42] local.INFO: Processing buffer {"connection_id":127700,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:17:42] local.INFO: IMEI packet received {"connection_id":127700,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 16:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":127700,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:17:42] local.INFO: TCP Data received {"connection_id":127700,"ip":"117.224.187.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127700,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:17:42] local.INFO: Processing buffer {"connection_id":127700,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:17:42] local.INFO: IMEI packet received {"connection_id":127700,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 16:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":127700,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:17:44] local.INFO: TCP Data received {"connection_id":127700,"ip":"117.224.187.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127700,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:17:44] local.INFO: Processing buffer {"connection_id":127700,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:17:44] local.INFO: IMEI packet received {"connection_id":127700,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 16:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":127700,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:17:45] local.INFO: TCP Data received {"connection_id":127700,"ip":"117.224.187.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127700,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:17:45] local.INFO: Processing buffer {"connection_id":127700,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:17:45] local.INFO: IMEI packet received {"connection_id":127700,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 16:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":127700,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:17:45] local.INFO: TCP Data received {"connection_id":125596,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f41548d00012d7b894005e93b90000400c61e..."} 
[2026-07-08 16:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41548d00012d7b894005e93b90000400c61e..."} 
[2026-07-08 16:17:45] local.INFO: Processing buffer {"connection_id":125596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41548d00012d7b894005e93b90000400c61e..."} 
[2026-07-08 16:17:45] local.INFO: Packet analysis {"connection_id":125596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4154"} 
[2026-07-08 16:17:45] local.INFO: Extracted packet for processing {"connection_id":125596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4154"} 
[2026-07-08 16:17:45] local.INFO: GPS Element Parsed {"raw_longitude":763070784,"raw_latitude":99171216,"longitude_deg":76.3070784,"latitude_deg":9.9171216,"altitude":4,"angle":198,"satellites":30,"speed":0,"hex_longitude":"2d7b8940","hex_latitude":"05e93b90","is_valid_coordinates":true} 
[2026-07-08 16: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-07-08 16:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577911808001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103745132603375616,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901786901350688768,"note":"Value kept but may cause issues"} 
[2026-07-08 16:17:45] 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-07-08 16:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783507488000,"timestamp_ms":1783507488000,"timestamp_seconds":1783507488,"priority":1,"record_length":96,"hex_timestamp":"0000019f41548d00"} 
[2026-07-08 16:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:17:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-08 16:17: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-07-08 16: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-07-08 16:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":125596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":125596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":125596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577911808001,"66":13059,"156":206,"87":13824,"24":0,"16":103745132603375616,"45":8901786901350688768},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-08 16:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577911808001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:17:45] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 16:17:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103745132603375616,"km_value":103745132603375.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901786901350688768,"description":"Unknown IO ID 45"} 
[2026-07-08 16:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577911808001,"power":13059,"unknown_156":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8901786901350688768}} 
[2026-07-08 16:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":125596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452331,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:17:45] local.INFO: GPS data processed {"connection_id":125596,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:17:45] local.INFO: Acknowledgment sent {"connection_id":125596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:17:55] local.INFO: TCP Data received {"connection_id":126463,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:17:55] local.INFO: Processing buffer {"connection_id":126463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:17:55] local.INFO: IMEI packet received {"connection_id":126463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":126463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:17:56] local.INFO: TCP Data received {"connection_id":127701,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127701,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:17:56] local.INFO: Processing buffer {"connection_id":127701,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:17:56] local.INFO: IMEI packet received {"connection_id":127701,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 16:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":127701,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:18:00] local.INFO: TCP Data received {"connection_id":127702,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:18:00] local.INFO: Processing buffer {"connection_id":127702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:18:00] local.INFO: IMEI packet received {"connection_id":127702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":127702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:18:00] local.INFO: TCP Data received {"connection_id":126463,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:18:00] local.INFO: Processing buffer {"connection_id":126463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:18:00] local.INFO: IMEI packet received {"connection_id":126463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":126463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:18:01] local.INFO: TCP Data received {"connection_id":126463,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4152cbc8012d9aa38005781260000c00f829..."} 
[2026-07-08 16:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4152cbc8012d9aa38005781260000c00f829..."} 
[2026-07-08 16:18:01] local.INFO: Processing buffer {"connection_id":126463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4152cbc8012d9aa38005781260000c00f829..."} 
[2026-07-08 16:18:01] local.INFO: Packet analysis {"connection_id":126463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4152"} 
[2026-07-08 16:18:01] local.INFO: Extracted packet for processing {"connection_id":126463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4152"} 
[2026-07-08 16:18:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 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-07-08 16:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577810432001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:18:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783507373000,"timestamp_ms":1783507373000,"timestamp_seconds":1783507373,"priority":1,"record_length":96,"hex_timestamp":"0000019f4152cbc8"} 
[2026-07-08 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-07-08 16:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-08 16:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 16:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577810432001,"66":25702,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577810432001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:18:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:18:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577810432001,"power":25702,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":126463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:18:01] local.INFO: GPS data processed {"connection_id":126463,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:18:01] local.INFO: Acknowledgment sent {"connection_id":126463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:18:05] local.INFO: TCP Data received {"connection_id":127702,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:18:05] local.INFO: Processing buffer {"connection_id":127702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:18:05] local.INFO: IMEI packet received {"connection_id":127702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":127702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:18:06] local.INFO: TCP Data received {"connection_id":127702,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4155c580012d181dc00721af90004e00d730..."} 
[2026-07-08 16:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4155c580012d181dc00721af90004e00d730..."} 
[2026-07-08 16:18:06] local.INFO: Processing buffer {"connection_id":127702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4155c580012d181dc00721af90004e00d730..."} 
[2026-07-08 16:18:06] local.INFO: Packet analysis {"connection_id":127702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4155"} 
[2026-07-08 16:18:06] local.INFO: Extracted packet for processing {"connection_id":127702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4155"} 
[2026-07-08 16:18:06] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648144,"longitude_deg":75.65552,"latitude_deg":11.9648144,"altitude":78,"angle":215,"satellites":48,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721af90","is_valid_coordinates":true} 
[2026-07-08 16:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577936896001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854605829636096,"note":"Value kept but may cause issues"} 
[2026-07-08 16:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097400832,"note":"Value kept but may cause issues"} 
[2026-07-08 16:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783507568000,"timestamp_ms":1783507568000,"timestamp_seconds":1783507568,"priority":1,"record_length":96,"hex_timestamp":"0000019f4155c580"} 
[2026-07-08 16:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 16:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577936896001,"66":12645,"105":206,"83":41984,"24":0,"16":4854605829636096,"45":1737756168097400832},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 16:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577936896001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:18:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:18:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854605829636096,"km_value":4854605829636.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097400832,"description":"Unknown IO ID 45"} 
[2026-07-08 16:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577936896001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097400832}} 
[2026-07-08 16:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":127702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:18:06] local.INFO: GPS data processed {"connection_id":127702,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:18:06] local.INFO: Acknowledgment sent {"connection_id":127702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:18:10] local.INFO: TCP Data received {"connection_id":127702,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41561788012d181dc00721af90004e00d72f..."} 
[2026-07-08 16:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41561788012d181dc00721af90004e00d72f..."} 
[2026-07-08 16:18:10] local.INFO: Processing buffer {"connection_id":127702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41561788012d181dc00721af90004e00d72f..."} 
[2026-07-08 16:18:10] local.INFO: Packet analysis {"connection_id":127702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4156"} 
[2026-07-08 16:18:10] local.INFO: Extracted packet for processing {"connection_id":127702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4156"} 
[2026-07-08 16:18:10] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648144,"longitude_deg":75.65552,"latitude_deg":11.9648144,"altitude":78,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721af90","is_valid_coordinates":true} 
[2026-07-08 16:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577937408001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854605829636096,"note":"Value kept but may cause issues"} 
[2026-07-08 16:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097337344,"note":"Value kept but may cause issues"} 
[2026-07-08 16:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783507589000,"timestamp_ms":1783507589000,"timestamp_seconds":1783507589,"priority":1,"record_length":96,"hex_timestamp":"0000019f41561788"} 
[2026-07-08 16:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 16:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":127702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":127702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":127702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577937408001,"66":13928,"105":206,"83":41984,"24":0,"16":4854605829636096,"45":1737756168097337344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 16:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577937408001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:18:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:18:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854605829636096,"km_value":4854605829636.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097337344,"description":"Unknown IO ID 45"} 
[2026-07-08 16:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577937408001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097337344}} 
[2026-07-08 16:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":127702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:18:10] local.INFO: GPS data processed {"connection_id":127702,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:18:10] local.INFO: Acknowledgment sent {"connection_id":127702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:18:16] local.INFO: TCP Data received {"connection_id":125596,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4154df08012d7b894005e93b90000400c61d..."} 
[2026-07-08 16:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4154df08012d7b894005e93b90000400c61d..."} 
[2026-07-08 16:18:16] local.INFO: Processing buffer {"connection_id":125596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4154df08012d7b894005e93b90000400c61d..."} 
[2026-07-08 16:18:16] local.INFO: Packet analysis {"connection_id":125596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4154"} 
[2026-07-08 16:18:16] local.INFO: Extracted packet for processing {"connection_id":125596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4154"} 
[2026-07-08 16:18:16] local.INFO: GPS Element Parsed {"raw_longitude":763070784,"raw_latitude":99171216,"longitude_deg":76.3070784,"latitude_deg":9.9171216,"altitude":4,"angle":198,"satellites":29,"speed":0,"hex_longitude":"2d7b8940","hex_latitude":"05e93b90","is_valid_coordinates":true} 
[2026-07-08 16:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577916928001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103745132603375616,"note":"Value kept but may cause issues"} 
[2026-07-08 16:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901716532606504960,"note":"Value kept but may cause issues"} 
[2026-07-08 16:18:16] 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-07-08 16:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783507509000,"timestamp_ms":1783507509000,"timestamp_seconds":1783507509,"priority":1,"record_length":96,"hex_timestamp":"0000019f4154df08"} 
[2026-07-08 16:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 16:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303150782270807,"note":"Value kept but may cause issues"} 
[2026-07-08 16:18:16] local.WARNING: Large IO value detected {"io_id":156,"raw_value":58079734643818509,"note":"Value kept but may cause issues"} 
[2026-07-08 16:18:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 16:18:16] local.WARNING: Large IO value detected {"io_id":147,"raw_value":2634022912,"note":"Value kept but may cause issues"} 
[2026-07-08 16:18:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1469841614,"corrected_to":0} 
[2026-07-08 16:18:16] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3489738107,"note":"Value kept but may cause issues"} 
[2026-07-08 16:18:16] local.WARNING: Large IO value detected {"io_id":184,"raw_value":2147871051,"note":"Value kept but may cause issues"} 
[2026-07-08 16:18:16] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422295,"note":"Value kept but may cause issues"} 
[2026-07-08 16:18:16] local.WARNING: Large IO value detected {"io_id":112,"raw_value":2467758080,"note":"Value kept but may cause issues"} 
[2026-07-08 16:18:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3914811392,"note":"Value kept but may cause issues"} 
[2026-07-08 16:18:16] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,156,87,24,241,157,16,147,159,62,45,128,59,4,29,10,66,58,192,28,43,1,240,139,227,65,233,113,205,21,154,184,30,239,51,2,112,5,8,13],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1469841614,"validated":0}]} 
[2026-07-08 16:18:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288448208303030272,"timestamp_seconds":288448208303030.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 16:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":125596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":125596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":125596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577916928001,"66":12982,"156":206,"87":13824,"24":0,"16":103745132603375616,"45":8901716532606504960},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-08 16:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577916928001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:18:16] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 16:18:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103745132603375616,"km_value":103745132603375.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901716532606504960,"description":"Unknown IO ID 45"} 
[2026-07-08 16:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577916928001,"power":12982,"unknown_156":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8901716532606504960}} 
[2026-07-08 16:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":125596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452335,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:18:16] local.INFO: GPS data processed {"connection_id":125596,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:18:16] local.INFO: Acknowledgment sent {"connection_id":125596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:18:29] local.INFO: TCP Data received {"connection_id":125597,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:18:29] local.INFO: Processing buffer {"connection_id":125597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:18:29] local.INFO: IMEI packet received {"connection_id":125597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":125597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:18:31] local.INFO: TCP Data received {"connection_id":125597,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:18:31] local.INFO: Processing buffer {"connection_id":125597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:18:31] local.INFO: IMEI packet received {"connection_id":125597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":125597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:18:32] local.INFO: TCP Data received {"connection_id":126463,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4152cbc8012d9aa38005781260000c00f829..."} 
[2026-07-08 16:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4152cbc8012d9aa38005781260000c00f829..."} 
[2026-07-08 16:18:32] local.INFO: Processing buffer {"connection_id":126463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4152cbc8012d9aa38005781260000c00f829..."} 
[2026-07-08 16:18:32] local.INFO: Packet analysis {"connection_id":126463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4152"} 
[2026-07-08 16:18:32] local.INFO: Extracted packet for processing {"connection_id":126463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4152"} 
[2026-07-08 16:18:32] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 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-07-08 16:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577810432001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:18:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783507373000,"timestamp_ms":1783507373000,"timestamp_seconds":1783507373,"priority":1,"record_length":96,"hex_timestamp":"0000019f4152cbc8"} 
[2026-07-08 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-07-08 16:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-08 16:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 16:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577810432001,"66":25702,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577810432001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:18:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:18:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577810432001,"power":25702,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":126463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:18:32] local.INFO: GPS data processed {"connection_id":126463,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:18:32] local.INFO: Acknowledgment sent {"connection_id":126463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:18:36] local.INFO: TCP Data received {"connection_id":125597,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:18:36] local.INFO: Processing buffer {"connection_id":125597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:18:36] local.INFO: IMEI packet received {"connection_id":125597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":125597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:18:37] local.INFO: TCP Data received {"connection_id":125597,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f41553110012d7b894005e93b90000400c61f..."} 
[2026-07-08 16:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41553110012d7b894005e93b90000400c61f..."} 
[2026-07-08 16:18:37] local.INFO: Processing buffer {"connection_id":125597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41553110012d7b894005e93b90000400c61f..."} 
[2026-07-08 16:18:37] local.INFO: Packet analysis {"connection_id":125597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4155"} 
[2026-07-08 16:18:37] local.INFO: Extracted packet for processing {"connection_id":125597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4155"} 
[2026-07-08 16:18:37] local.INFO: GPS Element Parsed {"raw_longitude":763070784,"raw_latitude":99171216,"longitude_deg":76.3070784,"latitude_deg":9.9171216,"altitude":4,"angle":198,"satellites":31,"speed":0,"hex_longitude":"2d7b8940","hex_latitude":"05e93b90","is_valid_coordinates":true} 
[2026-07-08 16:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577922304001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103745132603375616,"note":"Value kept but may cause issues"} 
[2026-07-08 16:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901716532606504960,"note":"Value kept but may cause issues"} 
[2026-07-08 16:18:37] 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-07-08 16:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783507530000,"timestamp_ms":1783507530000,"timestamp_seconds":1783507530,"priority":1,"record_length":96,"hex_timestamp":"0000019f41553110"} 
[2026-07-08 16:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-08 16:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577922304001,"66":13015,"156":206,"87":13824,"24":0,"16":103745132603375616,"45":8901716532606504960},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-08 16:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577922304001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:18:37] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 16:18:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103745132603375616,"km_value":103745132603375.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901716532606504960,"description":"Unknown IO ID 45"} 
[2026-07-08 16:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577922304001,"power":13015,"unknown_156":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8901716532606504960}} 
[2026-07-08 16:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":125597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452337,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:18:38] local.INFO: GPS data processed {"connection_id":125597,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:18:38] local.INFO: Acknowledgment sent {"connection_id":125597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:18:41] local.INFO: TCP Data received {"connection_id":127702,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41566990012d181dc00721af90004e00d72f..."} 
[2026-07-08 16:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41566990012d181dc00721af90004e00d72f..."} 
[2026-07-08 16:18:41] local.INFO: Processing buffer {"connection_id":127702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41566990012d181dc00721af90004e00d72f..."} 
[2026-07-08 16:18:41] local.INFO: Packet analysis {"connection_id":127702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4156"} 
[2026-07-08 16:18:41] local.INFO: Extracted packet for processing {"connection_id":127702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4156"} 
[2026-07-08 16:18:41] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648144,"longitude_deg":75.65552,"latitude_deg":11.9648144,"altitude":78,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721af90","is_valid_coordinates":true} 
[2026-07-08 16:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577942784001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4854605829636096,"note":"Value kept but may cause issues"} 
[2026-07-08 16:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097337344,"note":"Value kept but may cause issues"} 
[2026-07-08 16: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-07-08 16:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783507610000,"timestamp_ms":1783507610000,"timestamp_seconds":1783507610,"priority":1,"record_length":96,"hex_timestamp":"0000019f41566990"} 
[2026-07-08 16:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:18: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-07-08 16: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-08 16:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":127702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":127702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":127702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:18: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-07-08 16:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577942784001,"66":13993,"105":206,"83":41984,"24":0,"16":4854605829636096,"45":1737756168097337344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 16:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577942784001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:18:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 16:18:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4854605829636096,"km_value":4854605829636.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097337344,"description":"Unknown IO ID 45"} 
[2026-07-08 16:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577942784001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097337344}} 
[2026-07-08 16:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":127702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:18:42] local.INFO: GPS data processed {"connection_id":127702,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:18:42] local.INFO: Acknowledgment sent {"connection_id":127702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:19:00] local.INFO: TCP Data received {"connection_id":125703,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:19:00] local.INFO: Processing buffer {"connection_id":125703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:19:00] local.INFO: IMEI packet received {"connection_id":125703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":125703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:19:00] local.INFO: TCP Data received {"connection_id":125704,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:19:00] local.INFO: Processing buffer {"connection_id":125704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:19:00] local.INFO: IMEI packet received {"connection_id":125704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":125704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:19:01] local.INFO: TCP Data received {"connection_id":125703,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:19:01] local.INFO: Processing buffer {"connection_id":125703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:19:01] local.INFO: IMEI packet received {"connection_id":125703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":125703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:19:04] local.INFO: TCP Data received {"connection_id":125703,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:19:04] local.INFO: Processing buffer {"connection_id":125703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:19:04] local.INFO: IMEI packet received {"connection_id":125703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":125703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:19:04] local.INFO: TCP Data received {"connection_id":125703,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4157adc8012d186480072182d8004c00692c..."} 
[2026-07-08 16:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4157adc8012d186480072182d8004c00692c..."} 
[2026-07-08 16:19:04] local.INFO: Processing buffer {"connection_id":125703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4157adc8012d186480072182d8004c00692c..."} 
[2026-07-08 16:19:04] local.INFO: Packet analysis {"connection_id":125703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4157"} 
[2026-07-08 16:19:04] local.INFO: Extracted packet for processing {"connection_id":125703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4157"} 
[2026-07-08 16:19:04] local.INFO: GPS Element Parsed {"raw_longitude":756573312,"raw_latitude":119636696,"longitude_deg":75.6573312,"latitude_deg":11.9636696,"altitude":76,"angle":105,"satellites":44,"speed":26,"hex_longitude":"2d186480","hex_latitude":"072182d8","is_valid_coordinates":true} 
[2026-07-08 16:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577968384001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4855692456361984,"note":"Value kept but may cause issues"} 
[2026-07-08 16:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754011347999789056,"note":"Value kept but may cause issues"} 
[2026-07-08 16:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783507693000,"timestamp_ms":1783507693000,"timestamp_seconds":1783507693,"priority":1,"record_length":96,"hex_timestamp":"0000019f4157adc8"} 
[2026-07-08 16:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-08 16:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577968384001,"66":14396,"106":206,"83":41984,"24":26,"16":4855692456361984,"45":1754011347999789056},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-08 16:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577968384001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:19:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-08 16:19:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4855692456361984,"km_value":4855692456361.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754011347999789056,"description":"Unknown IO ID 45"} 
[2026-07-08 16:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577968384001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1754011347999789056}} 
[2026-07-08 16:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":125703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:19:04] local.INFO: GPS data processed {"connection_id":125703,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:19:04] local.INFO: Acknowledgment sent {"connection_id":125703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:19:05] local.INFO: TCP Data received {"connection_id":125703,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4157bd68012d186f4007218170004c00592b..."} 
[2026-07-08 16:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4157bd68012d186f4007218170004c00592b..."} 
[2026-07-08 16:19:05] local.INFO: Processing buffer {"connection_id":125703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4157bd68012d186f4007218170004c00592b..."} 
[2026-07-08 16:19:05] local.INFO: Packet analysis {"connection_id":125703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4157"} 
[2026-07-08 16:19:05] local.INFO: Extracted packet for processing {"connection_id":125703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4157"} 
[2026-07-08 16:19:05] local.INFO: GPS Element Parsed {"raw_longitude":756576064,"raw_latitude":119636336,"longitude_deg":75.6576064,"latitude_deg":11.9636336,"altitude":76,"angle":89,"satellites":43,"speed":28,"hex_longitude":"2d186f40","hex_latitude":"07218170","is_valid_coordinates":true} 
[2026-07-08 16:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577969408001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4855825600348160,"note":"Value kept but may cause issues"} 
[2026-07-08 16:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757670522696685568,"note":"Value kept but may cause issues"} 
[2026-07-08 16:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783507697000,"timestamp_ms":1783507697000,"timestamp_seconds":1783507697,"priority":1,"record_length":96,"hex_timestamp":"0000019f4157bd68"} 
[2026-07-08 16:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-08 16:19: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-07-08 16:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577969408001,"66":14396,"106":206,"83":41984,"24":28,"16":4855825600348160,"45":1757670522696685568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-08 16:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577969408001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:19:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-08 16:19:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4855825600348160,"km_value":4855825600348.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757670522696685568,"description":"Unknown IO ID 45"} 
[2026-07-08 16:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577969408001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1757670522696685568}} 
[2026-07-08 16:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":125703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:19:05] local.INFO: GPS data processed {"connection_id":125703,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:19:05] local.INFO: Acknowledgment sent {"connection_id":125703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:19:05] local.INFO: TCP Data received {"connection_id":125704,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:19:05] local.INFO: Processing buffer {"connection_id":125704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:19:05] local.INFO: IMEI packet received {"connection_id":125704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":125704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:19:06] local.INFO: TCP Data received {"connection_id":125704,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f41576390012d9aa38005781260000c00f829..."} 
[2026-07-08 16:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41576390012d9aa38005781260000c00f829..."} 
[2026-07-08 16:19:06] local.INFO: Processing buffer {"connection_id":125704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41576390012d9aa38005781260000c00f829..."} 
[2026-07-08 16:19:06] local.INFO: Packet analysis {"connection_id":125704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4157"} 
[2026-07-08 16:19:06] local.INFO: Extracted packet for processing {"connection_id":125704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4157"} 
[2026-07-08 16:19:06] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577887488001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:19:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783507674000,"timestamp_ms":1783507674000,"timestamp_seconds":1783507674,"priority":1,"record_length":96,"hex_timestamp":"0000019f41576390"} 
[2026-07-08 16:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 16:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577887488001,"66":25495,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577887488001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:19:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:19:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577887488001,"power":25495,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":125704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:19:06] local.INFO: GPS data processed {"connection_id":125704,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:19:06] local.INFO: Acknowledgment sent {"connection_id":125704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:19:18] local.INFO: TCP Data received {"connection_id":125597,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f41557f30012d7b870005e93bd0000500f41e..."} 
[2026-07-08 16:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41557f30012d7b870005e93bd0000500f41e..."} 
[2026-07-08 16:19:18] local.INFO: Processing buffer {"connection_id":125597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41557f30012d7b870005e93bd0000500f41e..."} 
[2026-07-08 16:19:18] local.INFO: Packet analysis {"connection_id":125597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4155"} 
[2026-07-08 16:19:18] local.INFO: Extracted packet for processing {"connection_id":125597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4155"} 
[2026-07-08 16:19:18] local.INFO: GPS Element Parsed {"raw_longitude":763070208,"raw_latitude":99171280,"longitude_deg":76.3070208,"latitude_deg":9.917128,"altitude":5,"angle":244,"satellites":30,"speed":3,"hex_longitude":"2d7b8700","hex_latitude":"05e93bd0","is_valid_coordinates":true} 
[2026-07-08 16:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577927680001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103745158373179392,"note":"Value kept but may cause issues"} 
[2026-07-08 16:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901716532606504960,"note":"Value kept but may cause issues"} 
[2026-07-08 16:19:18] 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-07-08 16:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783507550000,"timestamp_ms":1783507550000,"timestamp_seconds":1783507550,"priority":1,"record_length":96,"hex_timestamp":"0000019f41557f30"} 
[2026-07-08 16:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-08 16:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":125597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":125597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":125597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577927680001,"66":13135,"156":206,"87":13824,"24":3,"16":103745158373179392,"45":8901716532606504960},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-08 16:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577927680001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:19:18] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 16:19:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103745158373179392,"km_value":103745158373179.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901716532606504960,"description":"Unknown IO ID 45"} 
[2026-07-08 16:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577927680001,"power":13135,"unknown_156":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8901716532606504960}} 
[2026-07-08 16:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":125597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:19:18] local.INFO: GPS data processed {"connection_id":125597,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:19:18] local.INFO: Acknowledgment sent {"connection_id":125597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:19:31] local.INFO: TCP Data received {"connection_id":126466,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:19:31] local.INFO: Processing buffer {"connection_id":126466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:19:31] local.INFO: IMEI packet received {"connection_id":126466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":126466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:19:37] local.INFO: TCP Data received {"connection_id":125703,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4157d4d8012d188380072180f0004a00652c..."} 
[2026-07-08 16:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4157d4d8012d188380072180f0004a00652c..."} 
[2026-07-08 16:19:37] local.INFO: Processing buffer {"connection_id":125703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4157d4d8012d188380072180f0004a00652c..."} 
[2026-07-08 16:19:37] local.INFO: Packet analysis {"connection_id":125703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4157"} 
[2026-07-08 16:19:37] local.INFO: Extracted packet for processing {"connection_id":125703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4157"} 
[2026-07-08 16:19:37] local.INFO: GPS Element Parsed {"raw_longitude":756581248,"raw_latitude":119636208,"longitude_deg":75.6581248,"latitude_deg":11.9636208,"altitude":74,"angle":101,"satellites":44,"speed":37,"hex_longitude":"2d188380","hex_latitude":"072180f0","is_valid_coordinates":true} 
[2026-07-08 16:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577970432001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4856074708451328,"note":"Value kept but may cause issues"} 
[2026-07-08 16:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760696378696232960,"note":"Value kept but may cause issues"} 
[2026-07-08 16:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783507703000,"timestamp_ms":1783507703000,"timestamp_seconds":1783507703,"priority":1,"record_length":96,"hex_timestamp":"0000019f4157d4d8"} 
[2026-07-08 16:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-08 16:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577970432001,"66":14265,"106":206,"83":41984,"24":37,"16":4856074708451328,"45":1760696378696232960},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-08 16:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577970432001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:19:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-08 16:19:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4856074708451328,"km_value":4856074708451.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760696378696232960,"description":"Unknown IO ID 45"} 
[2026-07-08 16:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577970432001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1760696378696232960}} 
[2026-07-08 16:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":125703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:19:37] local.INFO: GPS data processed {"connection_id":125703,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:19:37] local.INFO: Acknowledgment sent {"connection_id":125703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:19:37] local.INFO: TCP Data received {"connection_id":125704,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f41576390012d9aa38005781260000c00f829..."} 
[2026-07-08 16:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41576390012d9aa38005781260000c00f829..."} 
[2026-07-08 16:19:37] local.INFO: Processing buffer {"connection_id":125704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41576390012d9aa38005781260000c00f829..."} 
[2026-07-08 16:19:37] local.INFO: Packet analysis {"connection_id":125704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4157"} 
[2026-07-08 16:19:37] local.INFO: Extracted packet for processing {"connection_id":125704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4157"} 
[2026-07-08 16:19:37] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577887488001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:19:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783507674000,"timestamp_ms":1783507674000,"timestamp_seconds":1783507674,"priority":1,"record_length":96,"hex_timestamp":"0000019f41576390"} 
[2026-07-08 16:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 16:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577887488001,"66":25495,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577887488001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:19:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:19:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577887488001,"power":25495,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":125704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:19:37] local.INFO: GPS data processed {"connection_id":125704,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:19:37] local.INFO: Acknowledgment sent {"connection_id":125704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:19:40] local.INFO: TCP Data received {"connection_id":126466,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:19:40] local.INFO: Processing buffer {"connection_id":126466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:19:40] local.INFO: IMEI packet received {"connection_id":126466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":126466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:19:40] local.INFO: TCP Data received {"connection_id":126466,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:19:40] local.INFO: Processing buffer {"connection_id":126466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:19:40] local.INFO: IMEI packet received {"connection_id":126466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":126466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:19:41] local.INFO: TCP Data received {"connection_id":126466,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f415596a0012d7b84c005e93b48000501031f..."} 
[2026-07-08 16:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415596a0012d7b84c005e93b48000501031f..."} 
[2026-07-08 16:19:41] local.INFO: Processing buffer {"connection_id":126466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415596a0012d7b84c005e93b48000501031f..."} 
[2026-07-08 16:19:41] local.INFO: Packet analysis {"connection_id":126466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4155"} 
[2026-07-08 16:19:41] local.INFO: Extracted packet for processing {"connection_id":126466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4155"} 
[2026-07-08 16:19:41] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":99171144,"longitude_deg":76.3069632,"latitude_deg":9.9171144,"altitude":5,"angle":259,"satellites":31,"speed":4,"hex_longitude":"2d7b84c0","hex_latitude":"05e93b48","is_valid_coordinates":true} 
[2026-07-08 16:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577932800001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103745188437950464,"note":"Value kept but may cause issues"} 
[2026-07-08 16:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901083213908922368,"note":"Value kept but may cause issues"} 
[2026-07-08 16:19:41] 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-07-08 16:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783507556000,"timestamp_ms":1783507556000,"timestamp_seconds":1783507556,"priority":1,"record_length":96,"hex_timestamp":"0000019f415596a0"} 
[2026-07-08 16:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:19: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-07-08 16: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":79,"data_length":795,"current_offset":136} 
[2026-07-08 16:19: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-07-08 16:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":126466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":126466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":126466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577932800001,"66":13222,"156":206,"87":13824,"24":4,"16":103745188437950464,"45":8901083213908922368},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-08 16:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577932800001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:19:41] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 16:19:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103745188437950464,"km_value":103745188437950.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901083213908922368,"description":"Unknown IO ID 45"} 
[2026-07-08 16:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577932800001,"power":13222,"unknown_156":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8901083213908922368}} 
[2026-07-08 16:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":126466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452345,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:19:41] local.INFO: GPS data processed {"connection_id":126466,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:19:41] local.INFO: Acknowledgment sent {"connection_id":126466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:19:42] local.INFO: TCP Data received {"connection_id":126466,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4155aa28012d7b828005e93b18000501111f..."} 
[2026-07-08 16:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4155aa28012d7b828005e93b18000501111f..."} 
[2026-07-08 16:19:42] local.INFO: Processing buffer {"connection_id":126466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4155aa28012d7b828005e93b18000501111f..."} 
[2026-07-08 16:19:42] local.INFO: Packet analysis {"connection_id":126466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4155"} 
[2026-07-08 16:19:42] local.INFO: Extracted packet for processing {"connection_id":126466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4155"} 
[2026-07-08 16:19:42] local.INFO: GPS Element Parsed {"raw_longitude":763069056,"raw_latitude":99171096,"longitude_deg":76.3069056,"latitude_deg":9.9171096,"altitude":5,"angle":273,"satellites":31,"speed":2,"hex_longitude":"2d7b8280","hex_latitude":"05e93b18","is_valid_coordinates":true} 
[2026-07-08 16:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577934336001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103745214207754240,"note":"Value kept but may cause issues"} 
[2026-07-08 16:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895211288576,"note":"Value kept but may cause issues"} 
[2026-07-08 16:19:42] 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-07-08 16:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783507561000,"timestamp_ms":1783507561000,"timestamp_seconds":1783507561,"priority":1,"record_length":96,"hex_timestamp":"0000019f4155aa28"} 
[2026-07-08 16:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:19: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-07-08 16:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-08 16:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":126466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":126466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":126466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577934336001,"66":13015,"156":206,"87":13824,"24":2,"16":103745214207754240,"45":8900449895211288576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-08 16:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577934336001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:19:42] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 16:19:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103745214207754240,"km_value":103745214207754.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895211288576,"description":"Unknown IO ID 45"} 
[2026-07-08 16:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577934336001,"power":13015,"unknown_156":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8900449895211288576}} 
[2026-07-08 16:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":126466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452346,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:19:42] local.INFO: GPS data processed {"connection_id":126466,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:19:42] local.INFO: Acknowledgment sent {"connection_id":126466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:19:55] local.INFO: TCP Data received {"connection_id":125599,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:19:55] local.INFO: Processing buffer {"connection_id":125599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:19:55] local.INFO: IMEI packet received {"connection_id":125599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":125599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:19:58] local.INFO: TCP Data received {"connection_id":126467,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:19:58] local.INFO: Processing buffer {"connection_id":126467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:19:58] local.INFO: IMEI packet received {"connection_id":126467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":126467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:20:00] local.INFO: TCP Data received {"connection_id":125599,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:20:00] local.INFO: Processing buffer {"connection_id":125599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:20:00] local.INFO: IMEI packet received {"connection_id":125599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":125599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:20:01] local.INFO: TCP Data received {"connection_id":126467,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:20:01] local.INFO: Processing buffer {"connection_id":126467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:20:01] local.INFO: IMEI packet received {"connection_id":126467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":126467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:20:01] local.INFO: TCP Data received {"connection_id":125599,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f41576390012d9aa38005781260000c00f829..."} 
[2026-07-08 16:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41576390012d9aa38005781260000c00f829..."} 
[2026-07-08 16:20:01] local.INFO: Processing buffer {"connection_id":125599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41576390012d9aa38005781260000c00f829..."} 
[2026-07-08 16:20:01] local.INFO: Packet analysis {"connection_id":125599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4157"} 
[2026-07-08 16:20:01] local.INFO: Extracted packet for processing {"connection_id":125599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4157"} 
[2026-07-08 16:20:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577887488001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:20:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783507674000,"timestamp_ms":1783507674000,"timestamp_seconds":1783507674,"priority":1,"record_length":96,"hex_timestamp":"0000019f41576390"} 
[2026-07-08 16:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 16:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:20:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577887488001,"66":25495,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577887488001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:20:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:20:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577887488001,"power":25495,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":125599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:20:01] local.INFO: GPS data processed {"connection_id":125599,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:20:01] local.INFO: Acknowledgment sent {"connection_id":125599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:20:02] local.INFO: TCP Data received {"connection_id":126467,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:20:02] local.INFO: Processing buffer {"connection_id":126467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:20:02] local.INFO: IMEI packet received {"connection_id":126467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":126467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:20:05] local.INFO: TCP Data received {"connection_id":126467,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:20:05] local.INFO: Processing buffer {"connection_id":126467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:20:05] local.INFO: IMEI packet received {"connection_id":126467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":126467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:20:05] local.INFO: TCP Data received {"connection_id":126467,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41589058012d18d200072111c8003e00ac27..."} 
[2026-07-08 16:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41589058012d18d200072111c8003e00ac27..."} 
[2026-07-08 16:20:05] local.INFO: Processing buffer {"connection_id":126467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41589058012d18d200072111c8003e00ac27..."} 
[2026-07-08 16:20:05] local.INFO: Packet analysis {"connection_id":126467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4158"} 
[2026-07-08 16:20:05] local.INFO: Extracted packet for processing {"connection_id":126467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4158"} 
[2026-07-08 16:20:05] local.INFO: GPS Element Parsed {"raw_longitude":756601344,"raw_latitude":119607752,"longitude_deg":75.6601344,"latitude_deg":11.9607752,"altitude":62,"angle":172,"satellites":39,"speed":28,"hex_longitude":"2d18d200","hex_latitude":"072111c8","is_valid_coordinates":true} 
[2026-07-08 16:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577982976001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4857934429290496,"note":"Value kept but may cause issues"} 
[2026-07-08 16:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401384169472,"note":"Value kept but may cause issues"} 
[2026-07-08 16:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783507751000,"timestamp_ms":1783507751000,"timestamp_seconds":1783507751,"priority":1,"record_length":96,"hex_timestamp":"0000019f41589058"} 
[2026-07-08 16:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-08 16:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751518017,"note":"Value kept but may cause issues"} 
[2026-07-08 16:20:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-08 16:20:05] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-5782614081368227766,"note":"Value kept but may cause issues"} 
[2026-07-08 16:20:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 16:20:05] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-08 16:20:05] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639037091637866,"note":"Value kept but may cause issues"} 
[2026-07-08 16:20:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-07-08 16:20:05] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-5115863319764218285,"note":"Value kept but may cause issues"} 
[2026-07-08 16:20:05] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-08 16:20:05] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755506815369457,"note":"Value kept but may cause issues"} 
[2026-07-08 16:20:05] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,103,83,24,241,157,16,66,159,117,45,128,37,64,42,10,113,41,101,1,240,185,227,65,33,4,205,30,62,196,216,239,55,106,2,17,7,69,164],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-07-08 16:20:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4611887405151092736,"timestamp_seconds":4611887405151093.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 16:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577982976001,"66":13678,"103":206,"83":41984,"24":28,"16":4857934429290496,"45":1788562401384169472},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577982976001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:20:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:20:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4857934429290496,"km_value":4857934429290.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401384169472,"description":"Unknown IO ID 45"} 
[2026-07-08 16:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577982976001,"power":13678,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1788562401384169472}} 
[2026-07-08 16:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":126467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:20:05] local.INFO: GPS data processed {"connection_id":126467,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:20:05] local.INFO: Acknowledgment sent {"connection_id":126467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:20:14] local.INFO: TCP Data received {"connection_id":126466,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4155f848012d7b824005e93af80005010d1f..."} 
[2026-07-08 16:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4155f848012d7b824005e93af80005010d1f..."} 
[2026-07-08 16:20:14] local.INFO: Processing buffer {"connection_id":126466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4155f848012d7b824005e93af80005010d1f..."} 
[2026-07-08 16:20:14] local.INFO: Packet analysis {"connection_id":126466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4155"} 
[2026-07-08 16:20:14] local.INFO: Extracted packet for processing {"connection_id":126466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4155"} 
[2026-07-08 16:20:14] local.INFO: GPS Element Parsed {"raw_longitude":763068992,"raw_latitude":99171064,"longitude_deg":76.3068992,"latitude_deg":9.9171064,"altitude":5,"angle":269,"satellites":31,"speed":0,"hex_longitude":"2d7b8240","hex_latitude":"05e93af8","is_valid_coordinates":true} 
[2026-07-08 16:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577935616001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103745218502721536,"note":"Value kept but may cause issues"} 
[2026-07-08 16:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899816576513677312,"note":"Value kept but may cause issues"} 
[2026-07-08 16:20:14] 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-07-08 16:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783507581000,"timestamp_ms":1783507581000,"timestamp_seconds":1783507581,"priority":1,"record_length":96,"hex_timestamp":"0000019f4155f848"} 
[2026-07-08 16:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-08 16:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":126466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":126466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":126466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577935616001,"66":13015,"156":206,"87":13824,"24":0,"16":103745218502721536,"45":8899816576513677312},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-08 16:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577935616001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:20:14] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 16:20:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103745218502721536,"km_value":103745218502721.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899816576513677312,"description":"Unknown IO ID 45"} 
[2026-07-08 16:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577935616001,"power":13015,"unknown_156":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8899816576513677312}} 
[2026-07-08 16:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":126466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452349,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:20:14] local.INFO: GPS data processed {"connection_id":126466,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:20:14] local.INFO: Acknowledgment sent {"connection_id":126466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:20:32] local.INFO: TCP Data received {"connection_id":125599,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f41576390012d9aa38005781260000c00f829..."} 
[2026-07-08 16:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41576390012d9aa38005781260000c00f829..."} 
[2026-07-08 16:20:32] local.INFO: Processing buffer {"connection_id":125599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41576390012d9aa38005781260000c00f829..."} 
[2026-07-08 16:20:32] local.INFO: Packet analysis {"connection_id":125599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4157"} 
[2026-07-08 16:20:32] local.INFO: Extracted packet for processing {"connection_id":125599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4157"} 
[2026-07-08 16:20:32] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577887488001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:20:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783507674000,"timestamp_ms":1783507674000,"timestamp_seconds":1783507674,"priority":1,"record_length":96,"hex_timestamp":"0000019f41576390"} 
[2026-07-08 16:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:20: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":102,"data_length":795,"current_offset":136} 
[2026-07-08 16:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:20: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-07-08 16:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577887488001,"66":25495,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577887488001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:20:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:20:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577887488001,"power":25495,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":125599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:20:32] local.INFO: GPS data processed {"connection_id":125599,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:20:32] local.INFO: Acknowledgment sent {"connection_id":125599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:20:37] local.INFO: TCP Data received {"connection_id":126467,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41589ff8012d18d58007210580003c00a029..."} 
[2026-07-08 16:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41589ff8012d18d58007210580003c00a029..."} 
[2026-07-08 16:20:37] local.INFO: Processing buffer {"connection_id":126467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41589ff8012d18d58007210580003c00a029..."} 
[2026-07-08 16:20:37] local.INFO: Packet analysis {"connection_id":126467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4158"} 
[2026-07-08 16:20:37] local.INFO: Extracted packet for processing {"connection_id":126467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4158"} 
[2026-07-08 16:20:37] local.INFO: GPS Element Parsed {"raw_longitude":756602240,"raw_latitude":119604608,"longitude_deg":75.660224,"latitude_deg":11.9604608,"altitude":60,"angle":160,"satellites":41,"speed":35,"hex_longitude":"2d18d580","hex_latitude":"07210580","is_valid_coordinates":true} 
[2026-07-08 16:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577984256001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4858089048113152,"note":"Value kept but may cause issues"} 
[2026-07-08 16:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788492032639092736,"note":"Value kept but may cause issues"} 
[2026-07-08 16:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783507755000,"timestamp_ms":1783507755000,"timestamp_seconds":1783507755,"priority":1,"record_length":96,"hex_timestamp":"0000019f41589ff8"} 
[2026-07-08 16:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-07-08 16:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577984256001,"66":14374,"103":206,"83":41984,"24":35,"16":4858089048113152,"45":1788492032639092736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577984256001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:20:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:20:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4858089048113152,"km_value":4858089048113.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788492032639092736,"description":"Unknown IO ID 45"} 
[2026-07-08 16:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577984256001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1788492032639092736}} 
[2026-07-08 16:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":126467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:20:37] local.INFO: GPS data processed {"connection_id":126467,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:20:37] local.INFO: Acknowledgment sent {"connection_id":126467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:20:38] local.INFO: TCP Data received {"connection_id":127703,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127703,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:20:38] local.INFO: Processing buffer {"connection_id":127703,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:20:38] local.INFO: IMEI packet received {"connection_id":127703,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":127703,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:20:39] local.INFO: TCP Data received {"connection_id":127703,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127703,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:20:39] local.INFO: Processing buffer {"connection_id":127703,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:20:39] local.INFO: IMEI packet received {"connection_id":127703,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":127703,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:20:41] local.INFO: TCP Data received {"connection_id":127703,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127703,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:20:41] local.INFO: Processing buffer {"connection_id":127703,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:20:41] local.INFO: IMEI packet received {"connection_id":127703,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":127703,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:20:44] local.INFO: TCP Data received {"connection_id":127703,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f41594020012d7b7ac005e93838000900e023..."} 
[2026-07-08 16:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41594020012d7b7ac005e93838000900e023..."} 
[2026-07-08 16:20:44] local.INFO: Processing buffer {"connection_id":127703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41594020012d7b7ac005e93838000900e023..."} 
[2026-07-08 16:20:44] local.INFO: Packet analysis {"connection_id":127703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4159"} 
[2026-07-08 16:20:44] local.INFO: Extracted packet for processing {"connection_id":127703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4159"} 
[2026-07-08 16:20:44] local.INFO: GPS Element Parsed {"raw_longitude":763067072,"raw_latitude":99170360,"longitude_deg":76.3067072,"latitude_deg":9.917036,"altitude":9,"angle":224,"satellites":35,"speed":0,"hex_longitude":"2d7b7ac0","hex_latitude":"05e93838","is_valid_coordinates":true} 
[2026-07-08 16:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577993216001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103745321581936640,"note":"Value kept but may cause issues"} 
[2026-07-08 16:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898057357909108736,"note":"Value kept but may cause issues"} 
[2026-07-08 16:20: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-07-08 16:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783507796000,"timestamp_ms":1783507796000,"timestamp_seconds":1783507796,"priority":1,"record_length":96,"hex_timestamp":"0000019f41594020"} 
[2026-07-08 16:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":204,"data_length":795,"current_offset":136} 
[2026-07-08 16:20:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:20:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":127703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":127703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":127703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577993216001,"66":12624,"201":206,"87":13824,"24":0,"16":103745321581936640,"45":8898057357909108736},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-08 16:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577993216001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:20:44] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-08 16:20:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103745321581936640,"km_value":103745321581936.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898057357909108736,"description":"Unknown IO ID 45"} 
[2026-07-08 16:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577993216001,"power":12624,"unknown_201":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8898057357909108736}} 
[2026-07-08 16:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":127703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452352,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:20:44] local.INFO: GPS data processed {"connection_id":127703,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:20:44] local.INFO: Acknowledgment sent {"connection_id":127703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:20:56] local.INFO: TCP Data received {"connection_id":125600,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:20:56] local.INFO: Processing buffer {"connection_id":125600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:20:56] local.INFO: IMEI packet received {"connection_id":125600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":125600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:21:00] local.INFO: TCP Data received {"connection_id":125707,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:21:00] local.INFO: Processing buffer {"connection_id":125707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:21:00] local.INFO: IMEI packet received {"connection_id":125707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":125707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:21:00] local.INFO: TCP Data received {"connection_id":125707,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:21:00] local.INFO: Processing buffer {"connection_id":125707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:21:00] local.INFO: IMEI packet received {"connection_id":125707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":125707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:21:00] local.INFO: TCP Data received {"connection_id":125600,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:21:00] local.INFO: Processing buffer {"connection_id":125600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:21:00] local.INFO: IMEI packet received {"connection_id":125600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":125600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:21:01] local.INFO: TCP Data received {"connection_id":125600,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f41576390012d9aa38005781260000c00f829..."} 
[2026-07-08 16:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41576390012d9aa38005781260000c00f829..."} 
[2026-07-08 16:21:01] local.INFO: Processing buffer {"connection_id":125600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41576390012d9aa38005781260000c00f829..."} 
[2026-07-08 16:21:01] local.INFO: Packet analysis {"connection_id":125600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4157"} 
[2026-07-08 16:21:01] local.INFO: Extracted packet for processing {"connection_id":125600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4157"} 
[2026-07-08 16:21:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577887488001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:21:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783507674000,"timestamp_ms":1783507674000,"timestamp_seconds":1783507674,"priority":1,"record_length":96,"hex_timestamp":"0000019f41576390"} 
[2026-07-08 16:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 16:21:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:21:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577887488001,"66":25495,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577887488001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:21:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:21:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577887488001,"power":25495,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":125600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:21:01] local.INFO: GPS data processed {"connection_id":125600,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:21:01] local.INFO: Acknowledgment sent {"connection_id":125600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:21:02] local.INFO: TCP Data received {"connection_id":125707,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:21:02] local.INFO: Processing buffer {"connection_id":125707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:21:02] local.INFO: IMEI packet received {"connection_id":125707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":125707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:21:04] local.INFO: TCP Data received {"connection_id":125707,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:21:04] local.INFO: Processing buffer {"connection_id":125707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:21:04] local.INFO: IMEI packet received {"connection_id":125707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":125707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:21:04] local.INFO: TCP Data received {"connection_id":125707,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f415976d0012d198c400720b360002d00582c..."} 
[2026-07-08 16:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415976d0012d198c400720b360002d00582c..."} 
[2026-07-08 16:21:04] local.INFO: Processing buffer {"connection_id":125707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415976d0012d198c400720b360002d00582c..."} 
[2026-07-08 16:21:04] local.INFO: Packet analysis {"connection_id":125707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4159"} 
[2026-07-08 16:21:04] local.INFO: Extracted packet for processing {"connection_id":125707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4159"} 
[2026-07-08 16:21:04] local.INFO: GPS Element Parsed {"raw_longitude":756649024,"raw_latitude":119583584,"longitude_deg":75.6649024,"latitude_deg":11.9583584,"altitude":45,"angle":88,"satellites":44,"speed":35,"hex_longitude":"2d198c40","hex_latitude":"0720b360","is_valid_coordinates":true} 
[2026-07-08 16:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577997056001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4860760517771264,"note":"Value kept but may cause issues"} 
[2026-07-08 16:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832050285278468096,"note":"Value kept but may cause issues"} 
[2026-07-08 16:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783507810000,"timestamp_ms":1783507810000,"timestamp_seconds":1783507810,"priority":1,"record_length":96,"hex_timestamp":"0000019f415976d0"} 
[2026-07-08 16:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-08 16:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577997056001,"66":14428,"103":206,"83":41984,"24":35,"16":4860760517771264,"45":1832050285278468096},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577997056001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:21:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:21:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4860760517771264,"km_value":4860760517771.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832050285278468096,"description":"Unknown IO ID 45"} 
[2026-07-08 16:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577997056001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1832050285278468096}} 
[2026-07-08 16:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":125707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:21:04] local.INFO: GPS data processed {"connection_id":125707,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:21:04] local.INFO: Acknowledgment sent {"connection_id":125707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:21:15] local.INFO: TCP Data received {"connection_id":127703,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f41598e40012d7b7ac005e93828000a00e024..."} 
[2026-07-08 16:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41598e40012d7b7ac005e93828000a00e024..."} 
[2026-07-08 16:21:15] local.INFO: Processing buffer {"connection_id":127703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41598e40012d7b7ac005e93828000a00e024..."} 
[2026-07-08 16:21:15] local.INFO: Packet analysis {"connection_id":127703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4159"} 
[2026-07-08 16:21:15] local.INFO: Extracted packet for processing {"connection_id":127703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4159"} 
[2026-07-08 16:21:15] local.INFO: GPS Element Parsed {"raw_longitude":763067072,"raw_latitude":99170344,"longitude_deg":76.3067072,"latitude_deg":9.9170344,"altitude":10,"angle":224,"satellites":36,"speed":0,"hex_longitude":"2d7b7ac0","hex_latitude":"05e93828","is_valid_coordinates":true} 
[2026-07-08 16: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-07-08 16:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577995776001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103745325876903936,"note":"Value kept but may cause issues"} 
[2026-07-08 16:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897635145443981312,"note":"Value kept but may cause issues"} 
[2026-07-08 16:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783507816000,"timestamp_ms":1783507816000,"timestamp_seconds":1783507816,"priority":1,"record_length":96,"hex_timestamp":"0000019f41598e40"} 
[2026-07-08 16:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-08 16:21:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":127703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":127703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":127703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577995776001,"66":12939,"201":206,"87":13824,"24":0,"16":103745325876903936,"45":8897635145443981312},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-08 16:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577995776001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:21:15] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-08 16:21:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103745325876903936,"km_value":103745325876903.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897635145443981312,"description":"Unknown IO ID 45"} 
[2026-07-08 16:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577995776001,"power":12939,"unknown_201":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8897635145443981312}} 
[2026-07-08 16:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":127703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452355,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:21:15] local.INFO: GPS data processed {"connection_id":127703,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:21:15] local.INFO: Acknowledgment sent {"connection_id":127703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:21:32] local.INFO: TCP Data received {"connection_id":125600,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f41576390012d9aa38005781260000c00f829..."} 
[2026-07-08 16:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41576390012d9aa38005781260000c00f829..."} 
[2026-07-08 16:21:32] local.INFO: Processing buffer {"connection_id":125600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41576390012d9aa38005781260000c00f829..."} 
[2026-07-08 16:21:32] local.INFO: Packet analysis {"connection_id":125600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4157"} 
[2026-07-08 16:21:32] local.INFO: Extracted packet for processing {"connection_id":125600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4157"} 
[2026-07-08 16:21:32] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577887488001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:21:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783507674000,"timestamp_ms":1783507674000,"timestamp_seconds":1783507674,"priority":1,"record_length":96,"hex_timestamp":"0000019f41576390"} 
[2026-07-08 16:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 16:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:21:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577887488001,"66":25495,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577887488001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:21:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:21:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577887488001,"power":25495,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":125600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:21:32] local.INFO: GPS data processed {"connection_id":125600,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:21:32] local.INFO: Acknowledgment sent {"connection_id":125600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:21:35] local.INFO: TCP Data received {"connection_id":125707,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41599610012d19a8800720b158002b00642b..."} 
[2026-07-08 16:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41599610012d19a8800720b158002b00642b..."} 
[2026-07-08 16:21:35] local.INFO: Processing buffer {"connection_id":125707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41599610012d19a8800720b158002b00642b..."} 
[2026-07-08 16:21:35] local.INFO: Packet analysis {"connection_id":125707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4159"} 
[2026-07-08 16:21:35] local.INFO: Extracted packet for processing {"connection_id":125707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4159"} 
[2026-07-08 16:21:35] local.INFO: GPS Element Parsed {"raw_longitude":756656256,"raw_latitude":119583064,"longitude_deg":75.6656256,"latitude_deg":11.9583064,"altitude":43,"angle":100,"satellites":43,"speed":39,"hex_longitude":"2d19a880","hex_latitude":"0720b158","is_valid_coordinates":true} 
[2026-07-08 16:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577999360001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4861104115154944,"note":"Value kept but may cause issues"} 
[2026-07-08 16:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840916747045265408,"note":"Value kept but may cause issues"} 
[2026-07-08 16:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783507818000,"timestamp_ms":1783507818000,"timestamp_seconds":1783507818,"priority":1,"record_length":96,"hex_timestamp":"0000019f41599610"} 
[2026-07-08 16:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 16:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:21:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577999360001,"66":14113,"103":206,"83":41984,"24":39,"16":4861104115154944,"45":1840916747045265408},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577999360001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:21:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:21:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4861104115154944,"km_value":4861104115154.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840916747045265408,"description":"Unknown IO ID 45"} 
[2026-07-08 16:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456577999360001,"power":14113,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1840916747045265408}} 
[2026-07-08 16:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":125707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:21:35] local.INFO: GPS data processed {"connection_id":125707,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:21:35] local.INFO: Acknowledgment sent {"connection_id":125707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:21:41] local.INFO: TCP Data received {"connection_id":126468,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:21:41] local.INFO: Processing buffer {"connection_id":126468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:21:41] local.INFO: IMEI packet received {"connection_id":126468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":126468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:21:46] local.INFO: TCP Data received {"connection_id":126468,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:21:46] local.INFO: Processing buffer {"connection_id":126468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:21:46] local.INFO: IMEI packet received {"connection_id":126468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":126468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:21:47] local.INFO: TCP Data received {"connection_id":126468,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4159e048012d7b7ac005e93828000a00e024..."} 
[2026-07-08 16:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4159e048012d7b7ac005e93828000a00e024..."} 
[2026-07-08 16:21:47] local.INFO: Processing buffer {"connection_id":126468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4159e048012d7b7ac005e93828000a00e024..."} 
[2026-07-08 16:21:47] local.INFO: Packet analysis {"connection_id":126468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4159"} 
[2026-07-08 16:21:47] local.INFO: Extracted packet for processing {"connection_id":126468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4159"} 
[2026-07-08 16:21:47] local.INFO: GPS Element Parsed {"raw_longitude":763067072,"raw_latitude":99170344,"longitude_deg":76.3067072,"latitude_deg":9.9170344,"altitude":10,"angle":224,"satellites":36,"speed":0,"hex_longitude":"2d7b7ac0","hex_latitude":"05e93828","is_valid_coordinates":true} 
[2026-07-08 16:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578000896001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103745325876903936,"note":"Value kept but may cause issues"} 
[2026-07-08 16:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897635145443977216,"note":"Value kept but may cause issues"} 
[2026-07-08 16:21:47] 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-07-08 16:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783507837000,"timestamp_ms":1783507837000,"timestamp_seconds":1783507837,"priority":1,"record_length":96,"hex_timestamp":"0000019f4159e048"} 
[2026-07-08 16:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:21: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":139,"data_length":795,"current_offset":136} 
[2026-07-08 16:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":126468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":126468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":126468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578000896001,"66":13102,"156":206,"87":13824,"24":0,"16":103745325876903936,"45":8897635145443977216},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-08 16:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578000896001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:21:47] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 16:21:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103745325876903936,"km_value":103745325876903.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897635145443977216,"description":"Unknown IO ID 45"} 
[2026-07-08 16:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578000896001,"power":13102,"unknown_156":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8897635145443977216}} 
[2026-07-08 16:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":126468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452358,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:21:47] local.INFO: GPS data processed {"connection_id":126468,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:21:47] local.INFO: Acknowledgment sent {"connection_id":126468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:21:55] local.INFO: TCP Data received {"connection_id":125708,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:21:55] local.INFO: Processing buffer {"connection_id":125708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:21:55] local.INFO: IMEI packet received {"connection_id":125708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":125708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:22:00] local.INFO: TCP Data received {"connection_id":127705,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:22:00] local.INFO: Processing buffer {"connection_id":127705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:22:00] local.INFO: IMEI packet received {"connection_id":127705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":127705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:22:02] local.INFO: TCP Data received {"connection_id":125708,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:22:02] local.INFO: Processing buffer {"connection_id":125708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:22:02] local.INFO: IMEI packet received {"connection_id":125708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":125708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:22:02] local.INFO: TCP Data received {"connection_id":125708,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f41576390012d9aa38005781260000c00f829..."} 
[2026-07-08 16:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41576390012d9aa38005781260000c00f829..."} 
[2026-07-08 16:22:02] local.INFO: Processing buffer {"connection_id":125708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41576390012d9aa38005781260000c00f829..."} 
[2026-07-08 16:22:02] local.INFO: Packet analysis {"connection_id":125708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4157"} 
[2026-07-08 16:22:02] local.INFO: Extracted packet for processing {"connection_id":125708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4157"} 
[2026-07-08 16:22:02] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577887488001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:22:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783507674000,"timestamp_ms":1783507674000,"timestamp_seconds":1783507674,"priority":1,"record_length":96,"hex_timestamp":"0000019f41576390"} 
[2026-07-08 16:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 16:22:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:22:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577887488001,"66":25495,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577887488001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:22:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:22:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577887488001,"power":25495,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":125708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:22:02] local.INFO: GPS data processed {"connection_id":125708,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:22:02] local.INFO: Acknowledgment sent {"connection_id":125708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:22:05] local.INFO: TCP Data received {"connection_id":127705,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:22:05] local.INFO: Processing buffer {"connection_id":127705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:22:05] local.INFO: IMEI packet received {"connection_id":127705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":127705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:22:06] local.INFO: TCP Data received {"connection_id":127705,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4159a5b0012d19b5c00720ad08002900712c..."} 
[2026-07-08 16:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4159a5b0012d19b5c00720ad08002900712c..."} 
[2026-07-08 16:22:06] local.INFO: Processing buffer {"connection_id":127705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4159a5b0012d19b5c00720ad08002900712c..."} 
[2026-07-08 16:22:06] local.INFO: Packet analysis {"connection_id":127705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4159"} 
[2026-07-08 16:22:06] local.INFO: Extracted packet for processing {"connection_id":127705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4159"} 
[2026-07-08 16:22:06] local.INFO: GPS Element Parsed {"raw_longitude":756659648,"raw_latitude":119581960,"longitude_deg":75.6659648,"latitude_deg":11.958196,"altitude":41,"angle":113,"satellites":44,"speed":29,"hex_longitude":"2d19b5c0","hex_latitude":"0720ad08","is_valid_coordinates":true} 
[2026-07-08 16:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578001408001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4861275913846784,"note":"Value kept but may cause issues"} 
[2026-07-08 16:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848868415137208320,"note":"Value kept but may cause issues"} 
[2026-07-08 16:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783507822000,"timestamp_ms":1783507822000,"timestamp_seconds":1783507822,"priority":1,"record_length":96,"hex_timestamp":"0000019f4159a5b0"} 
[2026-07-08 16:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-08 16:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578001408001,"66":14298,"103":206,"83":41984,"24":29,"16":4861275913846784,"45":1848868415137208320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578001408001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:22:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:22:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4861275913846784,"km_value":4861275913846.784,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848868415137208320,"description":"Unknown IO ID 45"} 
[2026-07-08 16:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578001408001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1848868415137208320}} 
[2026-07-08 16:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":127705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:22:06] local.INFO: GPS data processed {"connection_id":127705,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:22:06] local.INFO: Acknowledgment sent {"connection_id":127705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:22:31] local.INFO: TCP Data received {"connection_id":127706,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:22:31] local.INFO: Processing buffer {"connection_id":127706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:22:31] local.INFO: IMEI packet received {"connection_id":127706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":127706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:22:33] local.INFO: TCP Data received {"connection_id":125708,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f41576390012d9aa38005781260000c00f829..."} 
[2026-07-08 16:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41576390012d9aa38005781260000c00f829..."} 
[2026-07-08 16:22:33] local.INFO: Processing buffer {"connection_id":125708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41576390012d9aa38005781260000c00f829..."} 
[2026-07-08 16:22:33] local.INFO: Packet analysis {"connection_id":125708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4157"} 
[2026-07-08 16:22:33] local.INFO: Extracted packet for processing {"connection_id":125708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4157"} 
[2026-07-08 16:22:33] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16: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-07-08 16:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577887488001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:22:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783507674000,"timestamp_ms":1783507674000,"timestamp_seconds":1783507674,"priority":1,"record_length":96,"hex_timestamp":"0000019f41576390"} 
[2026-07-08 16:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 16:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577887488001,"66":25495,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577887488001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:22:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:22:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577887488001,"power":25495,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":125708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:22:33] local.INFO: GPS data processed {"connection_id":125708,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:22:33] local.INFO: Acknowledgment sent {"connection_id":125708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:22:36] local.INFO: TCP Data received {"connection_id":127706,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:22:36] local.INFO: Processing buffer {"connection_id":127706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:22:36] local.INFO: IMEI packet received {"connection_id":127706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":127706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:22:37] local.INFO: TCP Data received {"connection_id":127706,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f415a3250012d7b7ac005e93828000a00e024..."} 
[2026-07-08 16:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415a3250012d7b7ac005e93828000a00e024..."} 
[2026-07-08 16:22:37] local.INFO: Processing buffer {"connection_id":127706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415a3250012d7b7ac005e93828000a00e024..."} 
[2026-07-08 16:22:37] local.INFO: Packet analysis {"connection_id":127706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f415a"} 
[2026-07-08 16:22:37] local.INFO: Extracted packet for processing {"connection_id":127706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f415a"} 
[2026-07-08 16:22:37] local.INFO: GPS Element Parsed {"raw_longitude":763067072,"raw_latitude":99170344,"longitude_deg":76.3067072,"latitude_deg":9.9170344,"altitude":10,"angle":224,"satellites":36,"speed":0,"hex_longitude":"2d7b7ac0","hex_latitude":"05e93828","is_valid_coordinates":true} 
[2026-07-08 16:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578006272001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103745325876903936,"note":"Value kept but may cause issues"} 
[2026-07-08 16:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897635145443977216,"note":"Value kept but may cause issues"} 
[2026-07-08 16:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783507858000,"timestamp_ms":1783507858000,"timestamp_seconds":1783507858,"priority":1,"record_length":96,"hex_timestamp":"0000019f415a3250"} 
[2026-07-08 16:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-08 16:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578006272001,"66":12069,"201":206,"87":13824,"24":0,"16":103745325876903936,"45":8897635145443977216},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-08 16:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578006272001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:22:37] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-08 16:22:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103745325876903936,"km_value":103745325876903.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897635145443977216,"description":"Unknown IO ID 45"} 
[2026-07-08 16:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578006272001,"power":12069,"unknown_201":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8897635145443977216}} 
[2026-07-08 16:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":127706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452362,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:22:37] local.INFO: GPS data processed {"connection_id":127706,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:22:37] local.INFO: Acknowledgment sent {"connection_id":127706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:22:37] local.INFO: TCP Data received {"connection_id":127705,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f415b0d10012d19dec0072009a0002a00ab2c..."} 
[2026-07-08 16:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415b0d10012d19dec0072009a0002a00ab2c..."} 
[2026-07-08 16:22:37] local.INFO: Processing buffer {"connection_id":127705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415b0d10012d19dec0072009a0002a00ab2c..."} 
[2026-07-08 16:22:37] local.INFO: Packet analysis {"connection_id":127705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f415b"} 
[2026-07-08 16:22:37] local.INFO: Extracted packet for processing {"connection_id":127705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f415b"} 
[2026-07-08 16:22:37] local.INFO: GPS Element Parsed {"raw_longitude":756670144,"raw_latitude":119540128,"longitude_deg":75.6670144,"latitude_deg":11.9540128,"altitude":42,"angle":171,"satellites":44,"speed":6,"hex_longitude":"2d19dec0","hex_latitude":"072009a0","is_valid_coordinates":true} 
[2026-07-08 16:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578025728001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4863578016317440,"note":"Value kept but may cause issues"} 
[2026-07-08 16:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864068063868631040,"note":"Value kept but may cause issues"} 
[2026-07-08 16:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783507914000,"timestamp_ms":1783507914000,"timestamp_seconds":1783507914,"priority":1,"record_length":96,"hex_timestamp":"0000019f415b0d10"} 
[2026-07-08 16:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-08 16:22: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-07-08 16:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578025728001,"66":14559,"101":206,"83":41984,"24":6,"16":4863578016317440,"45":1864068063868631040},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-08 16:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578025728001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:22:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-08 16:22:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4863578016317440,"km_value":4863578016317.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864068063868631040,"description":"Unknown IO ID 45"} 
[2026-07-08 16:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578025728001,"power":14559,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1864068063868631040}} 
[2026-07-08 16:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":127705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:22:37] local.INFO: GPS data processed {"connection_id":127705,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:22:37] local.INFO: Acknowledgment sent {"connection_id":127705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:22:48] local.INFO: TCP Data received {"connection_id":125710,"ip":"117.224.187.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125710,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:22:48] local.INFO: Processing buffer {"connection_id":125710,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:22:48] local.INFO: IMEI packet received {"connection_id":125710,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 16:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":125710,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:22:50] local.INFO: TCP Data received {"connection_id":125710,"ip":"117.224.187.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f415b2c50012d0da3400705bae00013013226..."} 
[2026-07-08 16:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415b2c50012d0da3400705bae00013013226..."} 
[2026-07-08 16:22:50] local.INFO: Processing buffer {"connection_id":125710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415b2c50012d0da3400705bae00013013226..."} 
[2026-07-08 16:22:50] local.INFO: Packet analysis {"connection_id":125710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f415b"} 
[2026-07-08 16:22:50] local.INFO: Extracted packet for processing {"connection_id":125710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f415b"} 
[2026-07-08 16:22:50] local.INFO: GPS Element Parsed {"raw_longitude":755868480,"raw_latitude":117816032,"longitude_deg":75.586848,"latitude_deg":11.7816032,"altitude":19,"angle":306,"satellites":38,"speed":2,"hex_longitude":"2d0da340","hex_latitude":"0705bae0","is_valid_coordinates":true} 
[2026-07-08 16: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-07-08 16:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578027520001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23638559399346176,"note":"Value kept but may cause issues"} 
[2026-07-08 16:22:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982840280090314752,"note":"Value kept but may cause issues"} 
[2026-07-08 16:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783507922000,"timestamp_ms":1783507922000,"timestamp_seconds":1783507922,"priority":1,"record_length":96,"hex_timestamp":"0000019f415b2c50"} 
[2026-07-08 16:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-08 16:22:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":125710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":125710,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":125710,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:22:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.187.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 16:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 16:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578027520001,"66":14428,"220":206,"28":32256,"24":2,"16":23638559399346176,"45":982840280090314752},"client_ip":"117.224.187.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-07-08 16:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 16:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 16:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578027520001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:22:50] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-08 16:22:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-08 16:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23638559399346176,"km_value":23638559399346.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:22:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":982840280090314752,"description":"Unknown IO ID 45"} 
[2026-07-08 16:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578027520001,"power":14428,"unknown_220":206,"unknown_28":32256,"ignition":2,"odometer":null,"unknown_45":982840280090314752}} 
[2026-07-08 16:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":125710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452364,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:22:50] local.INFO: GPS data processed {"connection_id":125710,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:22:50] local.INFO: Acknowledgment sent {"connection_id":125710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:22:55] local.INFO: TCP Data received {"connection_id":127707,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:22:55] local.INFO: Processing buffer {"connection_id":127707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:22:55] local.INFO: IMEI packet received {"connection_id":127707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":127707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:23:00] local.INFO: TCP Data received {"connection_id":127708,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:23:00] local.INFO: Processing buffer {"connection_id":127708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:23:00] local.INFO: IMEI packet received {"connection_id":127708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":127708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:23:00] local.INFO: TCP Data received {"connection_id":127707,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:23:00] local.INFO: Processing buffer {"connection_id":127707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:23:00] local.INFO: IMEI packet received {"connection_id":127707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":127707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:23:01] local.INFO: TCP Data received {"connection_id":127707,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f41576390012d9aa38005781260000c00f829..."} 
[2026-07-08 16:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41576390012d9aa38005781260000c00f829..."} 
[2026-07-08 16:23:01] local.INFO: Processing buffer {"connection_id":127707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41576390012d9aa38005781260000c00f829..."} 
[2026-07-08 16:23:01] local.INFO: Packet analysis {"connection_id":127707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4157"} 
[2026-07-08 16:23:01] local.INFO: Extracted packet for processing {"connection_id":127707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4157"} 
[2026-07-08 16:23:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 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":795,"current_offset":40} 
[2026-07-08 16:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577887488001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:23:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783507674000,"timestamp_ms":1783507674000,"timestamp_seconds":1783507674,"priority":1,"record_length":96,"hex_timestamp":"0000019f41576390"} 
[2026-07-08 16:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 16:23:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577887488001,"66":25495,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577887488001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:23:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:23:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577887488001,"power":25495,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":127707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:23:01] local.INFO: GPS data processed {"connection_id":127707,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:23:01] local.INFO: Acknowledgment sent {"connection_id":127707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:23:05] local.INFO: TCP Data received {"connection_id":127708,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:23:05] local.INFO: Processing buffer {"connection_id":127708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:23:05] local.INFO: IMEI packet received {"connection_id":127708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":127708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:23:06] local.INFO: TCP Data received {"connection_id":127708,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f415b10f8012d19dec007200900002a00bb2c..."} 
[2026-07-08 16:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415b10f8012d19dec007200900002a00bb2c..."} 
[2026-07-08 16:23:06] local.INFO: Processing buffer {"connection_id":127708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415b10f8012d19dec007200900002a00bb2c..."} 
[2026-07-08 16:23:06] local.INFO: Packet analysis {"connection_id":127708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f415b"} 
[2026-07-08 16:23:06] local.INFO: Extracted packet for processing {"connection_id":127708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f415b"} 
[2026-07-08 16:23:06] local.INFO: GPS Element Parsed {"raw_longitude":756670144,"raw_latitude":119539968,"longitude_deg":75.6670144,"latitude_deg":11.9539968,"altitude":42,"angle":187,"satellites":44,"speed":7,"hex_longitude":"2d19dec0","hex_latitude":"07200900","is_valid_coordinates":true} 
[2026-07-08 16:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578025984001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4863582311284736,"note":"Value kept but may cause issues"} 
[2026-07-08 16:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864138432612769792,"note":"Value kept but may cause issues"} 
[2026-07-08 16:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783507915000,"timestamp_ms":1783507915000,"timestamp_seconds":1783507915,"priority":1,"record_length":96,"hex_timestamp":"0000019f415b10f8"} 
[2026-07-08 16:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-08 16:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578025984001,"66":14243,"101":206,"83":41984,"24":7,"16":4863582311284736,"45":1864138432612769792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-08 16:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578025984001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:23:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-08 16:23:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4863582311284736,"km_value":4863582311284.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864138432612769792,"description":"Unknown IO ID 45"} 
[2026-07-08 16:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578025984001,"power":14243,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1864138432612769792}} 
[2026-07-08 16:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":127708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:23:06] local.INFO: GPS data processed {"connection_id":127708,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:23:06] local.INFO: Acknowledgment sent {"connection_id":127708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:23:09] local.INFO: TCP Data received {"connection_id":127706,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f415a6130012d7b774005e935d0000c00f724..."} 
[2026-07-08 16:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415a6130012d7b774005e935d0000c00f724..."} 
[2026-07-08 16:23:09] local.INFO: Processing buffer {"connection_id":127706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415a6130012d7b774005e935d0000c00f724..."} 
[2026-07-08 16:23:09] local.INFO: Packet analysis {"connection_id":127706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f415a"} 
[2026-07-08 16:23:09] local.INFO: Extracted packet for processing {"connection_id":127706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f415a"} 
[2026-07-08 16:23:09] local.INFO: GPS Element Parsed {"raw_longitude":763066176,"raw_latitude":99169744,"longitude_deg":76.3066176,"latitude_deg":9.9169744,"altitude":12,"angle":247,"satellites":36,"speed":0,"hex_longitude":"2d7b7740","hex_latitude":"05e935d0","is_valid_coordinates":true} 
[2026-07-08 16:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578011648001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103745377416511488,"note":"Value kept but may cause issues"} 
[2026-07-08 16:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897635145443977216,"note":"Value kept but may cause issues"} 
[2026-07-08 16:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783507870000,"timestamp_ms":1783507870000,"timestamp_seconds":1783507870,"priority":1,"record_length":96,"hex_timestamp":"0000019f415a6130"} 
[2026-07-08 16:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-08 16:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":127706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":127706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":127706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:23: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-07-08 16:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578011648001,"66":13243,"201":206,"87":13824,"24":0,"16":103745377416511488,"45":8897635145443977216},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-08 16:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578011648001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:23:09] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-08 16:23:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103745377416511488,"km_value":103745377416511.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897635145443977216,"description":"Unknown IO ID 45"} 
[2026-07-08 16:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578011648001,"power":13243,"unknown_201":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8897635145443977216}} 
[2026-07-08 16:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":127706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452367,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:23:09] local.INFO: GPS data processed {"connection_id":127706,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:23:09] local.INFO: Acknowledgment sent {"connection_id":127706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:23:32] local.INFO: TCP Data received {"connection_id":127707,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f41576390012d9aa38005781260000c00f829..."} 
[2026-07-08 16:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41576390012d9aa38005781260000c00f829..."} 
[2026-07-08 16:23:32] local.INFO: Processing buffer {"connection_id":127707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41576390012d9aa38005781260000c00f829..."} 
[2026-07-08 16:23:32] local.INFO: Packet analysis {"connection_id":127707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4157"} 
[2026-07-08 16:23:32] local.INFO: Extracted packet for processing {"connection_id":127707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4157"} 
[2026-07-08 16:23:32] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 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":795,"current_offset":40} 
[2026-07-08 16:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577887488001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:23:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783507674000,"timestamp_ms":1783507674000,"timestamp_seconds":1783507674,"priority":1,"record_length":96,"hex_timestamp":"0000019f41576390"} 
[2026-07-08 16:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 16:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577887488001,"66":25495,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577887488001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:23:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:23:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577887488001,"power":25495,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":127707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:23:32] local.INFO: GPS data processed {"connection_id":127707,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:23:32] local.INFO: Acknowledgment sent {"connection_id":127707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:23:36] local.INFO: TCP Data received {"connection_id":126470,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126470,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:23:36] local.INFO: Processing buffer {"connection_id":126470,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:23:36] local.INFO: IMEI packet received {"connection_id":126470,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 16:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":126470,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:23:37] local.INFO: TCP Data received {"connection_id":127708,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f415bf770012d19a3c0071ff158003100e52e..."} 
[2026-07-08 16:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415bf770012d19a3c0071ff158003100e52e..."} 
[2026-07-08 16:23:37] local.INFO: Processing buffer {"connection_id":127708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415bf770012d19a3c0071ff158003100e52e..."} 
[2026-07-08 16:23:37] local.INFO: Packet analysis {"connection_id":127708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f415b"} 
[2026-07-08 16:23:37] local.INFO: Extracted packet for processing {"connection_id":127708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f415b"} 
[2026-07-08 16:23:37] local.INFO: GPS Element Parsed {"raw_longitude":756655040,"raw_latitude":119533912,"longitude_deg":75.665504,"latitude_deg":11.9533912,"altitude":49,"angle":229,"satellites":46,"speed":7,"hex_longitude":"2d19a3c0","hex_latitude":"071ff158","is_valid_coordinates":true} 
[2026-07-08 16:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578041088001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4864488549384192,"note":"Value kept but may cause issues"} 
[2026-07-08 16:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847601777729458176,"note":"Value kept but may cause issues"} 
[2026-07-08 16:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783507974000,"timestamp_ms":1783507974000,"timestamp_seconds":1783507974,"priority":1,"record_length":96,"hex_timestamp":"0000019f415bf770"} 
[2026-07-08 16:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-08 16:23: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-07-08 16:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578041088001,"66":13961,"101":206,"83":41984,"24":7,"16":4864488549384192,"45":1847601777729458176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-08 16:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578041088001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:23:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-08 16:23:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4864488549384192,"km_value":4864488549384.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847601777729458176,"description":"Unknown IO ID 45"} 
[2026-07-08 16:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578041088001,"power":13961,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1847601777729458176}} 
[2026-07-08 16:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":127708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:23:37] local.INFO: GPS data processed {"connection_id":127708,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:23:37] local.INFO: Acknowledgment sent {"connection_id":127708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:23:39] local.INFO: TCP Data received {"connection_id":125711,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125711,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:23:39] local.INFO: Processing buffer {"connection_id":125711,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:23:39] local.INFO: IMEI packet received {"connection_id":125711,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":125711,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:23:44] local.INFO: TCP Data received {"connection_id":125711,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125711,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:23:44] local.INFO: Processing buffer {"connection_id":125711,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:23:44] local.INFO: IMEI packet received {"connection_id":125711,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":125711,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:24:00] local.INFO: TCP Data received {"connection_id":126473,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126473,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:24:00] local.INFO: Processing buffer {"connection_id":126473,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:24:00] local.INFO: IMEI packet received {"connection_id":126473,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":126473,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:24:00] local.INFO: TCP Data received {"connection_id":125711,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f415c1e80012d7b5a0005e86c88000600b125..."} 
[2026-07-08 16:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415c1e80012d7b5a0005e86c88000600b125..."} 
[2026-07-08 16:24:00] local.INFO: Processing buffer {"connection_id":125711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415c1e80012d7b5a0005e86c88000600b125..."} 
[2026-07-08 16:24:00] local.INFO: Packet analysis {"connection_id":125711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f415c"} 
[2026-07-08 16:24:00] local.INFO: Extracted packet for processing {"connection_id":125711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f415c"} 
[2026-07-08 16:24:00] local.INFO: GPS Element Parsed {"raw_longitude":763058688,"raw_latitude":99118216,"longitude_deg":76.3058688,"latitude_deg":9.9118216,"altitude":6,"angle":177,"satellites":37,"speed":43,"hex_longitude":"2d7b5a00","hex_latitude":"05e86c88","is_valid_coordinates":true} 
[2026-07-08 16:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578041600001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103748371008716800,"note":"Value kept but may cause issues"} 
[2026-07-08 16:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887994627480825856,"note":"Value kept but may cause issues"} 
[2026-07-08 16:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783507984000,"timestamp_ms":1783507984000,"timestamp_seconds":1783507984,"priority":1,"record_length":96,"hex_timestamp":"0000019f415c1e80"} 
[2026-07-08 16:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:24: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":116,"data_length":795,"current_offset":136} 
[2026-07-08 16:24:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578041600001,"66":13091,"201":206,"87":13824,"24":43,"16":103748371008716800,"45":8887994627480825856},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-08 16:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578041600001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:24:00] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-08 16:24:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103748371008716800,"km_value":103748371008716.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887994627480825856,"description":"Unknown IO ID 45"} 
[2026-07-08 16:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578041600001,"power":13091,"unknown_201":206,"unknown_87":13824,"ignition":43,"odometer":null,"unknown_45":8887994627480825856}} 
[2026-07-08 16:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":125711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452370,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:24:00] local.INFO: GPS data processed {"connection_id":125711,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:24:00] local.INFO: Acknowledgment sent {"connection_id":125711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:24:00] local.INFO: TCP Data received {"connection_id":126472,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:24:00] local.INFO: Processing buffer {"connection_id":126472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:24:00] local.INFO: IMEI packet received {"connection_id":126472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":126472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:24:01] local.INFO: TCP Data received {"connection_id":126471,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126471,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:24:01] local.INFO: Processing buffer {"connection_id":126471,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:24:01] local.INFO: IMEI packet received {"connection_id":126471,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 16:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":126471,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:24:03] local.INFO: TCP Data received {"connection_id":126473,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126473,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:24:03] local.INFO: Processing buffer {"connection_id":126473,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:24:03] local.INFO: IMEI packet received {"connection_id":126473,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":126473,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:24:04] local.INFO: TCP Data received {"connection_id":126473,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126473,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:24:04] local.INFO: Processing buffer {"connection_id":126473,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:24:04] local.INFO: IMEI packet received {"connection_id":126473,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":126473,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:24:05] local.INFO: TCP Data received {"connection_id":126473,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126473,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:24:05] local.INFO: Processing buffer {"connection_id":126473,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:24:05] local.INFO: IMEI packet received {"connection_id":126473,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":126473,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:24:05] local.INFO: TCP Data received {"connection_id":126472,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:24:05] local.INFO: Processing buffer {"connection_id":126472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:24:05] local.INFO: IMEI packet received {"connection_id":126472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":126472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:24:06] local.INFO: TCP Data received {"connection_id":126473,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f415bff40012d19a2c0071ff020003100d12c..."} 
[2026-07-08 16:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415bff40012d19a2c0071ff020003100d12c..."} 
[2026-07-08 16:24:06] local.INFO: Processing buffer {"connection_id":126473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415bff40012d19a2c0071ff020003100d12c..."} 
[2026-07-08 16:24:06] local.INFO: Packet analysis {"connection_id":126473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f415b"} 
[2026-07-08 16:24:06] local.INFO: Extracted packet for processing {"connection_id":126473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f415b"} 
[2026-07-08 16:24:06] local.INFO: GPS Element Parsed {"raw_longitude":756654784,"raw_latitude":119533600,"longitude_deg":75.6654784,"latitude_deg":11.95336,"altitude":49,"angle":209,"satellites":44,"speed":8,"hex_longitude":"2d19a2c0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-07-08 16:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578041344001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4864510024220672,"note":"Value kept but may cause issues"} 
[2026-07-08 16:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847531408985249792,"note":"Value kept but may cause issues"} 
[2026-07-08 16:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783507976000,"timestamp_ms":1783507976000,"timestamp_seconds":1783507976,"priority":1,"record_length":96,"hex_timestamp":"0000019f415bff40"} 
[2026-07-08 16:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-08 16:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578041344001,"66":13722,"101":206,"83":41984,"24":8,"16":4864510024220672,"45":1847531408985249792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-08 16:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578041344001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:24:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-08 16:24:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4864510024220672,"km_value":4864510024220.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847531408985249792,"description":"Unknown IO ID 45"} 
[2026-07-08 16:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578041344001,"power":13722,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1847531408985249792}} 
[2026-07-08 16:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":126473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:24:06] local.INFO: GPS data processed {"connection_id":126473,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:24:06] local.INFO: Acknowledgment sent {"connection_id":126473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:24:06] local.INFO: TCP Data received {"connection_id":126472,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f415bfb58012d9aa38005781260000c00f829..."} 
[2026-07-08 16:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415bfb58012d9aa38005781260000c00f829..."} 
[2026-07-08 16:24:06] local.INFO: Processing buffer {"connection_id":126472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415bfb58012d9aa38005781260000c00f829..."} 
[2026-07-08 16:24:06] local.INFO: Packet analysis {"connection_id":126472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f415b"} 
[2026-07-08 16:24:06] local.INFO: Extracted packet for processing {"connection_id":126472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f415b"} 
[2026-07-08 16:24:06] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577964544001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:24:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783507975000,"timestamp_ms":1783507975000,"timestamp_seconds":1783507975,"priority":1,"record_length":96,"hex_timestamp":"0000019f415bfb58"} 
[2026-07-08 16:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16: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":151,"data_length":795,"current_offset":136} 
[2026-07-08 16:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577964544001,"66":25625,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577964544001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:24:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:24:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577964544001,"power":25625,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":126472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:24:06] local.INFO: GPS data processed {"connection_id":126472,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:24:06] local.INFO: Acknowledgment sent {"connection_id":126472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:24:16] local.INFO: TCP Data received {"connection_id":125711,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f415c41a8012d7b5c8005e84878000700ba25..."} 
[2026-07-08 16:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415c41a8012d7b5c8005e84878000700ba25..."} 
[2026-07-08 16:24:16] local.INFO: Processing buffer {"connection_id":125711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415c41a8012d7b5c8005e84878000700ba25..."} 
[2026-07-08 16:24:16] local.INFO: Packet analysis {"connection_id":125711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f415c"} 
[2026-07-08 16:24:16] local.INFO: Extracted packet for processing {"connection_id":125711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f415c"} 
[2026-07-08 16:24:16] local.INFO: GPS Element Parsed {"raw_longitude":763059328,"raw_latitude":99108984,"longitude_deg":76.3059328,"latitude_deg":9.9108984,"altitude":7,"angle":186,"satellites":37,"speed":40,"hex_longitude":"2d7b5c80","hex_latitude":"05e84878","is_valid_coordinates":true} 
[2026-07-08 16:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578043904001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103748817685315584,"note":"Value kept but may cause issues"} 
[2026-07-08 16:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888416839943358464,"note":"Value kept but may cause issues"} 
[2026-07-08 16:24: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-07-08 16:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783507993000,"timestamp_ms":1783507993000,"timestamp_seconds":1783507993,"priority":1,"record_length":96,"hex_timestamp":"0000019f415c41a8"} 
[2026-07-08 16:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:24: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-07-08 16:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-08 16:24: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-07-08 16:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":125711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":125711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":125711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578043904001,"66":13059,"201":206,"87":13824,"24":40,"16":103748817685315584,"45":8888416839943358464},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-08 16:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578043904001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:24:16] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-08 16:24:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103748817685315584,"km_value":103748817685315.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888416839943358464,"description":"Unknown IO ID 45"} 
[2026-07-08 16:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578043904001,"power":13059,"unknown_201":206,"unknown_87":13824,"ignition":40,"odometer":null,"unknown_45":8888416839943358464}} 
[2026-07-08 16:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":125711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452373,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:24:16] local.INFO: GPS data processed {"connection_id":125711,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:24:16] local.INFO: Acknowledgment sent {"connection_id":125711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:24:24] local.INFO: TCP Data received {"connection_id":126474,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126474,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:24:24] local.INFO: Processing buffer {"connection_id":126474,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:24:24] local.INFO: IMEI packet received {"connection_id":126474,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 16:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":126474,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:24:28] local.INFO: TCP Data received {"connection_id":126474,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126474,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:24:28] local.INFO: Processing buffer {"connection_id":126474,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:24:28] local.INFO: IMEI packet received {"connection_id":126474,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 16:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":126474,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:24:29] local.INFO: TCP Data received {"connection_id":127709,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:24:29] local.INFO: Processing buffer {"connection_id":127709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:24:29] local.INFO: IMEI packet received {"connection_id":127709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":127709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:24:31] local.INFO: TCP Data received {"connection_id":127709,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:24:31] local.INFO: Processing buffer {"connection_id":127709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:24:31] local.INFO: IMEI packet received {"connection_id":127709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":127709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:24:36] local.INFO: TCP Data received {"connection_id":127709,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:24:36] local.INFO: Processing buffer {"connection_id":127709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:24:36] local.INFO: IMEI packet received {"connection_id":127709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":127709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:24:36] local.INFO: TCP Data received {"connection_id":126473,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f415cbac0012d199b80071faee0003700a827..."} 
[2026-07-08 16:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415cbac0012d199b80071faee0003700a827..."} 
[2026-07-08 16:24:36] local.INFO: Processing buffer {"connection_id":126473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415cbac0012d199b80071faee0003700a827..."} 
[2026-07-08 16:24:36] local.INFO: Packet analysis {"connection_id":126473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f415c"} 
[2026-07-08 16:24:36] local.INFO: Extracted packet for processing {"connection_id":126473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f415c"} 
[2026-07-08 16:24:36] local.INFO: GPS Element Parsed {"raw_longitude":756652928,"raw_latitude":119516896,"longitude_deg":75.6652928,"latitude_deg":11.9516896,"altitude":55,"angle":168,"satellites":39,"speed":21,"hex_longitude":"2d199b80","hex_latitude":"071faee0","is_valid_coordinates":true} 
[2026-07-08 16: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-07-08 16:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578051840001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4865420557287424,"note":"Value kept but may cause issues"} 
[2026-07-08 16:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844787027958878208,"note":"Value kept but may cause issues"} 
[2026-07-08 16:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783508024000,"timestamp_ms":1783508024000,"timestamp_seconds":1783508024,"priority":1,"record_length":96,"hex_timestamp":"0000019f415cbac0"} 
[2026-07-08 16:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:24: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-07-08 16:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-08 16:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578051840001,"66":14070,"101":206,"83":41984,"24":21,"16":4865420557287424,"45":1844787027958878208},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-08 16:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578051840001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:24:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-08 16:24:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4865420557287424,"km_value":4865420557287.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844787027958878208,"description":"Unknown IO ID 45"} 
[2026-07-08 16:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578051840001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1844787027958878208}} 
[2026-07-08 16:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":126473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:24:36] local.INFO: GPS data processed {"connection_id":126473,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:24:36] local.INFO: Acknowledgment sent {"connection_id":126473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:24:37] local.INFO: TCP Data received {"connection_id":127709,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f415c7c40012d7b588005e82608000600b324..."} 
[2026-07-08 16:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415c7c40012d7b588005e82608000600b324..."} 
[2026-07-08 16:24:37] local.INFO: Processing buffer {"connection_id":127709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415c7c40012d7b588005e82608000600b324..."} 
[2026-07-08 16:24:37] local.INFO: Packet analysis {"connection_id":127709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f415c"} 
[2026-07-08 16:24:37] local.INFO: Extracted packet for processing {"connection_id":127709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f415c"} 
[2026-07-08 16:24:37] local.INFO: GPS Element Parsed {"raw_longitude":763058304,"raw_latitude":99100168,"longitude_deg":76.3058304,"latitude_deg":9.9100168,"altitude":6,"angle":179,"satellites":36,"speed":24,"hex_longitude":"2d7b5880","hex_latitude":"05e82608","is_valid_coordinates":true} 
[2026-07-08 16:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578046208001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103749251477012480,"note":"Value kept but may cause issues"} 
[2026-07-08 16:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889120527382771712,"note":"Value kept but may cause issues"} 
[2026-07-08 16:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783508008000,"timestamp_ms":1783508008000,"timestamp_seconds":1783508008,"priority":1,"record_length":96,"hex_timestamp":"0000019f415c7c40"} 
[2026-07-08 16:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 16:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303159539977517,"note":"Value kept but may cause issues"} 
[2026-07-08 16:24:37] local.WARNING: Large IO value detected {"io_id":201,"raw_value":58079734643818518,"note":"Value kept but may cause issues"} 
[2026-07-08 16:24:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 16:24:37] local.WARNING: Large IO value detected {"io_id":149,"raw_value":3238002688,"note":"Value kept but may cause issues"} 
[2026-07-08 16:24:37] local.WARNING: Large IO value detected {"io_id":232,"raw_value":3657433095,"note":"Value kept but may cause issues"} 
[2026-07-08 16:24:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":768147662,"corrected_to":0} 
[2026-07-08 16:24:37] local.WARNING: Large IO value detected {"io_id":112,"raw_value":2499149824,"note":"Value kept but may cause issues"} 
[2026-07-08 16:24:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3911272448,"note":"Value kept but may cause issues"} 
[2026-07-08 16:24:37] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,201,87,24,241,157,16,151,159,30,45,108,6,37,10,66,150,251,128,147,7,212,192,1,240,35,227,149,65,232,4,113,205,20,126,79,104,36,239,51,2,112,5,8,22],"length":486,"final_offset":616,"validated_count":45,"validation_warnings":[{"io_id":205,"original":768147662,"validated":0}]} 
[2026-07-08 16:24:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504607826344673280,"timestamp_seconds":504607826344673.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 16:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578046208001,"66":12765,"201":206,"87":13824,"24":24,"16":103749251477012480,"45":8889120527382771712},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-08 16:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578046208001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:24:37] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-08 16:24:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103749251477012480,"km_value":103749251477012.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889120527382771712,"description":"Unknown IO ID 45"} 
[2026-07-08 16:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578046208001,"power":12765,"unknown_201":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8889120527382771712}} 
[2026-07-08 16:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":127709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452375,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:24:37] local.INFO: GPS data processed {"connection_id":127709,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:24:37] local.INFO: Acknowledgment sent {"connection_id":127709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:24:38] local.INFO: TCP Data received {"connection_id":126472,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f415bfb58012d9aa38005781260000c00f829..."} 
[2026-07-08 16:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415bfb58012d9aa38005781260000c00f829..."} 
[2026-07-08 16:24:38] local.INFO: Processing buffer {"connection_id":126472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415bfb58012d9aa38005781260000c00f829..."} 
[2026-07-08 16:24:38] local.INFO: Packet analysis {"connection_id":126472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f415b"} 
[2026-07-08 16:24:38] local.INFO: Extracted packet for processing {"connection_id":126472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f415b"} 
[2026-07-08 16:24:38] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577964544001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:24:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783507975000,"timestamp_ms":1783507975000,"timestamp_seconds":1783507975,"priority":1,"record_length":96,"hex_timestamp":"0000019f415bfb58"} 
[2026-07-08 16:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16: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":151,"data_length":795,"current_offset":136} 
[2026-07-08 16:24: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-07-08 16:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577964544001,"66":25625,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577964544001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:24:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:24:38] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577964544001,"power":25625,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":126472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:24:38] local.INFO: GPS data processed {"connection_id":126472,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:24:38] local.INFO: Acknowledgment sent {"connection_id":126472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:24:54] local.INFO: TCP Data received {"connection_id":126477,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126477,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:24:54] local.INFO: Processing buffer {"connection_id":126477,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:24:54] local.INFO: IMEI packet received {"connection_id":126477,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 16:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":126477,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:24:56] local.INFO: TCP Data received {"connection_id":126475,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:24:56] local.INFO: Processing buffer {"connection_id":126475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:24:56] local.INFO: IMEI packet received {"connection_id":126475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":126475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:24:56] local.INFO: TCP Data received {"connection_id":126477,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126477,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:24:56] local.INFO: Processing buffer {"connection_id":126477,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:24:56] local.INFO: IMEI packet received {"connection_id":126477,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 16:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":126477,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:25:00] local.INFO: TCP Data received {"connection_id":126475,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:25:00] local.INFO: Processing buffer {"connection_id":126475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:25:00] local.INFO: IMEI packet received {"connection_id":126475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":126475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:25:01] local.INFO: TCP Data received {"connection_id":126475,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f415bfb58012d9aa38005781260000c00f829..."} 
[2026-07-08 16:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415bfb58012d9aa38005781260000c00f829..."} 
[2026-07-08 16:25:01] local.INFO: Processing buffer {"connection_id":126475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415bfb58012d9aa38005781260000c00f829..."} 
[2026-07-08 16:25:01] local.INFO: Packet analysis {"connection_id":126475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f415b"} 
[2026-07-08 16:25:01] local.INFO: Extracted packet for processing {"connection_id":126475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f415b"} 
[2026-07-08 16:25:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 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-07-08 16:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577964544001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:25:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783507975000,"timestamp_ms":1783507975000,"timestamp_seconds":1783507975,"priority":1,"record_length":96,"hex_timestamp":"0000019f415bfb58"} 
[2026-07-08 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-07-08 16:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 16:25:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 16:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577964544001,"66":25625,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577964544001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:25:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:25:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577964544001,"power":25625,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":126475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:25:01] local.INFO: GPS data processed {"connection_id":126475,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:25:01] local.INFO: Acknowledgment sent {"connection_id":126475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:25:05] local.INFO: TCP Data received {"connection_id":125712,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:25:05] local.INFO: Processing buffer {"connection_id":125712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:25:05] local.INFO: IMEI packet received {"connection_id":125712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":125712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:25:06] local.INFO: TCP Data received {"connection_id":125712,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:25:06] local.INFO: Processing buffer {"connection_id":125712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:25:06] local.INFO: IMEI packet received {"connection_id":125712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":125712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:25:08] local.INFO: TCP Data received {"connection_id":127709,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f415ca738012d7b5c8005e80308000500b324..."} 
[2026-07-08 16:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415ca738012d7b5c8005e80308000500b324..."} 
[2026-07-08 16:25:08] local.INFO: Processing buffer {"connection_id":127709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415ca738012d7b5c8005e80308000500b324..."} 
[2026-07-08 16:25:08] local.INFO: Packet analysis {"connection_id":127709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f415c"} 
[2026-07-08 16:25:08] local.INFO: Extracted packet for processing {"connection_id":127709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f415c"} 
[2026-07-08 16:25:08] local.INFO: GPS Element Parsed {"raw_longitude":763059328,"raw_latitude":99091208,"longitude_deg":76.3059328,"latitude_deg":9.9091208,"altitude":5,"angle":179,"satellites":36,"speed":39,"hex_longitude":"2d7b5c80","hex_latitude":"05e80308","is_valid_coordinates":true} 
[2026-07-08 16:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578050048001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103749689563676672,"note":"Value kept but may cause issues"} 
[2026-07-08 16:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887994627473672192,"note":"Value kept but may cause issues"} 
[2026-07-08 16:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783508019000,"timestamp_ms":1783508019000,"timestamp_seconds":1783508019,"priority":1,"record_length":96,"hex_timestamp":"0000019f415ca738"} 
[2026-07-08 16:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:25: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-07-08 16:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-08 16:25: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-07-08 16:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":127709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":127709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":127709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578050048001,"66":12885,"201":206,"87":13824,"24":39,"16":103749689563676672,"45":8887994627473672192},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-08 16:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578050048001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:25:08] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-08 16:25:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103749689563676672,"km_value":103749689563676.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887994627473672192,"description":"Unknown IO ID 45"} 
[2026-07-08 16:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578050048001,"power":12885,"unknown_201":206,"unknown_87":13824,"ignition":39,"odometer":null,"unknown_45":8887994627473672192}} 
[2026-07-08 16:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":127709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452378,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:25:08] local.INFO: GPS data processed {"connection_id":127709,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:25:08] local.INFO: Acknowledgment sent {"connection_id":127709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:25:08] local.INFO: TCP Data received {"connection_id":125712,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:25:08] local.INFO: Processing buffer {"connection_id":125712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:25:08] local.INFO: IMEI packet received {"connection_id":125712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":125712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:25:09] local.INFO: TCP Data received {"connection_id":125712,"ip":"42.106.6.22","data_length":1348,"data_hex":"000000000000030f8e0a0000019f415ce9a0012d19a040071f9f300038009828..."} 
[2026-07-08 16:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125712,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019f415ce9a0012d19a040071f9f300038009828..."} 
[2026-07-08 16:25:09] local.INFO: Processing buffer {"connection_id":125712,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019f415ce9a0012d19a040071f9f300038009828..."} 
[2026-07-08 16:25:09] local.INFO: Packet analysis {"connection_id":125712,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019f415c"} 
[2026-07-08 16:25:09] local.INFO: Extracted packet for processing {"connection_id":125712,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f415c"} 
[2026-07-08 16:25:09] local.INFO: GPS Element Parsed {"raw_longitude":756654144,"raw_latitude":119512880,"longitude_deg":75.6654144,"latitude_deg":11.951288,"altitude":56,"angle":152,"satellites":40,"speed":9,"hex_longitude":"2d19a040","hex_latitude":"071f9f30","is_valid_coordinates":true} 
[2026-07-08 16:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578054144001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4865622420750336,"note":"Value kept but may cause issues"} 
[2026-07-08 16:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845209240423030784,"note":"Value kept but may cause issues"} 
[2026-07-08 16:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783508036000,"timestamp_ms":1783508036000,"timestamp_seconds":1783508036,"priority":1,"record_length":96,"hex_timestamp":"0000019f415ce9a0"} 
[2026-07-08 16:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-08 16:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578054144001,"66":14494,"101":206,"83":41984,"24":9,"16":4865622420750336,"45":1845209240423030784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-08 16:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578054144001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:25:09] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-08 16:25:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4865622420750336,"km_value":4865622420750.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845209240423030784,"description":"Unknown IO ID 45"} 
[2026-07-08 16:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578054144001,"power":14494,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1845209240423030784}} 
[2026-07-08 16:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":125712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:25:09] local.INFO: GPS data processed {"connection_id":125712,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:25:09] local.INFO: Acknowledgment sent {"connection_id":125712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:25:09] local.INFO: Packet analysis {"connection_id":125712,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f415c"} 
[2026-07-08 16:25:09] local.INFO: Incomplete packet, waiting for more data {"connection_id":125712,"needed":795,"available":553} 
[2026-07-08 16:25:10] local.INFO: TCP Data received {"connection_id":125712,"ip":"42.106.6.22","data_length":242,"data_hex":"0000000000019f415c7c40012d19a240071fc100003600f62900110000000a00..."} 
[2026-07-08 16:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125712,"packet_length":242,"packet_hex":"0000000000019f415c7c40012d19a240071fc100003600f62900110000000a00..."} 
[2026-07-08 16:25:10] local.INFO: Processing buffer {"connection_id":125712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415cf170012d19a0c0071f9db8003900aa28..."} 
[2026-07-08 16:25:10] local.INFO: Packet analysis {"connection_id":125712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f415c"} 
[2026-07-08 16:25:10] local.INFO: Extracted packet for processing {"connection_id":125712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f415c"} 
[2026-07-08 16:25:10] local.INFO: GPS Element Parsed {"raw_longitude":756654272,"raw_latitude":119512504,"longitude_deg":75.6654272,"latitude_deg":11.9512504,"altitude":57,"angle":170,"satellites":40,"speed":6,"hex_longitude":"2d19a0c0","hex_latitude":"071f9db8","is_valid_coordinates":true} 
[2026-07-08 16:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578057216001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4865643895586816,"note":"Value kept but may cause issues"} 
[2026-07-08 16:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846546246561378304,"note":"Value kept but may cause issues"} 
[2026-07-08 16:25: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-07-08 16:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783508038000,"timestamp_ms":1783508038000,"timestamp_seconds":1783508038,"priority":1,"record_length":96,"hex_timestamp":"0000019f415cf170"} 
[2026-07-08 16:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-08 16:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578057216001,"66":14048,"101":206,"83":41984,"24":6,"16":4865643895586816,"45":1846546246561378304},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-08 16:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578057216001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:25:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-08 16:25:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4865643895586816,"km_value":4865643895586.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846546246561378304,"description":"Unknown IO ID 45"} 
[2026-07-08 16:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578057216001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1846546246561378304}} 
[2026-07-08 16:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":125712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:25:10] local.INFO: GPS data processed {"connection_id":125712,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:25:10] local.INFO: Acknowledgment sent {"connection_id":125712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:25:10] local.INFO: TCP Data received {"connection_id":125712,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f415cf558012d19a040071f9d30003900d727..."} 
[2026-07-08 16:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415cf558012d19a040071f9d30003900d727..."} 
[2026-07-08 16:25:10] local.INFO: Processing buffer {"connection_id":125712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415cf558012d19a040071f9d30003900d727..."} 
[2026-07-08 16:25:10] local.INFO: Packet analysis {"connection_id":125712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f415c"} 
[2026-07-08 16:25:10] local.INFO: Extracted packet for processing {"connection_id":125712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f415c"} 
[2026-07-08 16:25:10] local.INFO: GPS Element Parsed {"raw_longitude":756654144,"raw_latitude":119512368,"longitude_deg":75.6654144,"latitude_deg":11.9512368,"altitude":57,"angle":215,"satellites":39,"speed":5,"hex_longitude":"2d19a040","hex_latitude":"071f9d30","is_valid_coordinates":true} 
[2026-07-08 16:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578057728001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4865652485521408,"note":"Value kept but may cause issues"} 
[2026-07-08 16:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846686984049637376,"note":"Value kept but may cause issues"} 
[2026-07-08 16:25: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-07-08 16:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783508039000,"timestamp_ms":1783508039000,"timestamp_seconds":1783508039,"priority":1,"record_length":96,"hex_timestamp":"0000019f415cf558"} 
[2026-07-08 16:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-08 16:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578057728001,"66":13993,"101":206,"83":41984,"24":5,"16":4865652485521408,"45":1846686984049637376},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-08 16:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578057728001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:25:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-08 16:25:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4865652485521408,"km_value":4865652485521.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846686984049637376,"description":"Unknown IO ID 45"} 
[2026-07-08 16:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578057728001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1846686984049637376}} 
[2026-07-08 16:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":125712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:25:10] local.INFO: GPS data processed {"connection_id":125712,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:25:10] local.INFO: Acknowledgment sent {"connection_id":125712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:25:31] local.INFO: TCP Data received {"connection_id":126478,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126478,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:25:31] local.INFO: Processing buffer {"connection_id":126478,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:25:31] local.INFO: IMEI packet received {"connection_id":126478,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":126478,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:25:33] local.INFO: TCP Data received {"connection_id":126475,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f415bfb58012d9aa38005781260000c00f829..."} 
[2026-07-08 16:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415bfb58012d9aa38005781260000c00f829..."} 
[2026-07-08 16:25:33] local.INFO: Processing buffer {"connection_id":126475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415bfb58012d9aa38005781260000c00f829..."} 
[2026-07-08 16:25:33] local.INFO: Packet analysis {"connection_id":126475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f415b"} 
[2026-07-08 16:25:33] local.INFO: Extracted packet for processing {"connection_id":126475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f415b"} 
[2026-07-08 16:25:33] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577964544001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:25:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783507975000,"timestamp_ms":1783507975000,"timestamp_seconds":1783507975,"priority":1,"record_length":96,"hex_timestamp":"0000019f415bfb58"} 
[2026-07-08 16:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 16: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-07-08 16:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577964544001,"66":25625,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577964544001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:25:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:25:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577964544001,"power":25625,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":126475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:25:33] local.INFO: GPS data processed {"connection_id":126475,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:25:33] local.INFO: Acknowledgment sent {"connection_id":126475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:25:36] local.INFO: TCP Data received {"connection_id":126478,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126478,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:25:36] local.INFO: Processing buffer {"connection_id":126478,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:25:36] local.INFO: IMEI packet received {"connection_id":126478,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":126478,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:25:37] local.INFO: TCP Data received {"connection_id":126478,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f415cce48012d7b5a0005e7e060000500b123..."} 
[2026-07-08 16:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415cce48012d7b5a0005e7e060000500b123..."} 
[2026-07-08 16:25:37] local.INFO: Processing buffer {"connection_id":126478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415cce48012d7b5a0005e7e060000500b123..."} 
[2026-07-08 16:25:37] local.INFO: Packet analysis {"connection_id":126478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f415c"} 
[2026-07-08 16:25:37] local.INFO: Extracted packet for processing {"connection_id":126478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f415c"} 
[2026-07-08 16:25:37] local.INFO: GPS Element Parsed {"raw_longitude":763058688,"raw_latitude":99082336,"longitude_deg":76.3058688,"latitude_deg":9.9082336,"altitude":5,"angle":177,"satellites":35,"speed":31,"hex_longitude":"2d7b5a00","hex_latitude":"05e7e060","is_valid_coordinates":true} 
[2026-07-08 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":795,"current_offset":40} 
[2026-07-08 16:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578052864001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103750119060406272,"note":"Value kept but may cause issues"} 
[2026-07-08 16:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889120527378221056,"note":"Value kept but may cause issues"} 
[2026-07-08 16:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783508029000,"timestamp_ms":1783508029000,"timestamp_seconds":1783508029,"priority":1,"record_length":96,"hex_timestamp":"0000019f415cce48"} 
[2026-07-08 16:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:25: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-07-08 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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-08 16:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578052864001,"66":13298,"201":206,"87":13824,"24":31,"16":103750119060406272,"45":8889120527378221056},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-08 16:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578052864001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:25:37] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-08 16:25:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103750119060406272,"km_value":103750119060406.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889120527378221056,"description":"Unknown IO ID 45"} 
[2026-07-08 16:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578052864001,"power":13298,"unknown_201":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8889120527378221056}} 
[2026-07-08 16:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":126478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452383,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:25:37] local.INFO: GPS data processed {"connection_id":126478,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:25:37] local.INFO: Acknowledgment sent {"connection_id":126478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:25:41] local.INFO: TCP Data received {"connection_id":125712,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f415de3a0012d199a00071fbe18003a00242c..."} 
[2026-07-08 16:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415de3a0012d199a00071fbe18003a00242c..."} 
[2026-07-08 16:25:41] local.INFO: Processing buffer {"connection_id":125712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415de3a0012d199a00071fbe18003a00242c..."} 
[2026-07-08 16:25:41] local.INFO: Packet analysis {"connection_id":125712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f415d"} 
[2026-07-08 16:25:41] local.INFO: Extracted packet for processing {"connection_id":125712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f415d"} 
[2026-07-08 16:25:41] local.INFO: GPS Element Parsed {"raw_longitude":756652544,"raw_latitude":119520792,"longitude_deg":75.6652544,"latitude_deg":11.9520792,"altitude":58,"angle":36,"satellites":44,"speed":11,"hex_longitude":"2d199a00","hex_latitude":"071fbe18","is_valid_coordinates":true} 
[2026-07-08 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-07-08 16:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578073344001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4866116341989376,"note":"Value kept but may cause issues"} 
[2026-07-08 16:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844575921726365696,"note":"Value kept but may cause issues"} 
[2026-07-08 16: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-07-08 16:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783508100000,"timestamp_ms":1783508100000,"timestamp_seconds":1783508100,"priority":1,"record_length":96,"hex_timestamp":"0000019f415de3a0"} 
[2026-07-08 16:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:25: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-07-08 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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-08 16:25: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-07-08 16:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:25: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-07-08 16:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578073344001,"66":13972,"101":206,"83":41984,"24":11,"16":4866116341989376,"45":1844575921726365696},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-08 16:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578073344001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:25:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-08 16:25:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4866116341989376,"km_value":4866116341989.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844575921726365696,"description":"Unknown IO ID 45"} 
[2026-07-08 16:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578073344001,"power":13972,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1844575921726365696}} 
[2026-07-08 16:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":125712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:25:41] local.INFO: GPS data processed {"connection_id":125712,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:25:41] local.INFO: Acknowledgment sent {"connection_id":125712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:25:55] local.INFO: TCP Data received {"connection_id":126479,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:25:55] local.INFO: Processing buffer {"connection_id":126479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:25:55] local.INFO: IMEI packet received {"connection_id":126479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":126479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:25:56] local.INFO: TCP Data received {"connection_id":126481,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:25:56] local.INFO: Processing buffer {"connection_id":126481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:25:56] local.INFO: IMEI packet received {"connection_id":126481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":126481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:26:00] local.INFO: TCP Data received {"connection_id":126481,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:26:00] local.INFO: Processing buffer {"connection_id":126481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:26:00] local.INFO: IMEI packet received {"connection_id":126481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":126481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:26:00] local.INFO: TCP Data received {"connection_id":126479,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:26:00] local.INFO: Processing buffer {"connection_id":126479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:26:00] local.INFO: IMEI packet received {"connection_id":126479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":126479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:26:01] local.INFO: TCP Data received {"connection_id":126479,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f415bfb58012d9aa38005781260000c00f829..."} 
[2026-07-08 16:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415bfb58012d9aa38005781260000c00f829..."} 
[2026-07-08 16:26:01] local.INFO: Processing buffer {"connection_id":126479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415bfb58012d9aa38005781260000c00f829..."} 
[2026-07-08 16:26:01] local.INFO: Packet analysis {"connection_id":126479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f415b"} 
[2026-07-08 16:26:01] local.INFO: Extracted packet for processing {"connection_id":126479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f415b"} 
[2026-07-08 16:26:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577964544001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:26:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783507975000,"timestamp_ms":1783507975000,"timestamp_seconds":1783507975,"priority":1,"record_length":96,"hex_timestamp":"0000019f415bfb58"} 
[2026-07-08 16:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:26:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 16:26:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:26:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:26:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577964544001,"66":25625,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577964544001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:26:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:26:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577964544001,"power":25625,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":126479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:26:01] local.INFO: GPS data processed {"connection_id":126479,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:26:01] local.INFO: Acknowledgment sent {"connection_id":126479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:26:05] local.INFO: TCP Data received {"connection_id":126481,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:26:05] local.INFO: Processing buffer {"connection_id":126481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:26:05] local.INFO: IMEI packet received {"connection_id":126481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":126481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:26:06] local.INFO: TCP Data received {"connection_id":126481,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f415de788012d199ac0071fbed0003a00412e..."} 
[2026-07-08 16:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415de788012d199ac0071fbed0003a00412e..."} 
[2026-07-08 16:26:06] local.INFO: Processing buffer {"connection_id":126481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415de788012d199ac0071fbed0003a00412e..."} 
[2026-07-08 16:26:06] local.INFO: Packet analysis {"connection_id":126481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f415d"} 
[2026-07-08 16:26:06] local.INFO: Extracted packet for processing {"connection_id":126481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f415d"} 
[2026-07-08 16:26:06] local.INFO: GPS Element Parsed {"raw_longitude":756652736,"raw_latitude":119520976,"longitude_deg":75.6652736,"latitude_deg":11.9520976,"altitude":58,"angle":65,"satellites":46,"speed":14,"hex_longitude":"2d199ac0","hex_latitude":"071fbed0","is_valid_coordinates":true} 
[2026-07-08 16:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578073600001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4866129226891264,"note":"Value kept but may cause issues"} 
[2026-07-08 16:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844787027958962176,"note":"Value kept but may cause issues"} 
[2026-07-08 16:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783508101000,"timestamp_ms":1783508101000,"timestamp_seconds":1783508101,"priority":1,"record_length":96,"hex_timestamp":"0000019f415de788"} 
[2026-07-08 16:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-08 16:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578073600001,"66":14559,"101":206,"83":41984,"24":14,"16":4866129226891264,"45":1844787027958962176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-08 16:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578073600001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:26:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-08 16:26:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4866129226891264,"km_value":4866129226891.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844787027958962176,"description":"Unknown IO ID 45"} 
[2026-07-08 16:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578073600001,"power":14559,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1844787027958962176}} 
[2026-07-08 16:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":126481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:26:06] local.INFO: GPS data processed {"connection_id":126481,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:26:06] local.INFO: Acknowledgment sent {"connection_id":126481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:26:08] local.INFO: TCP Data received {"connection_id":126478,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f415cfd28012d7b5f8005e7bdb0000700ac22..."} 
[2026-07-08 16:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415cfd28012d7b5f8005e7bdb0000700ac22..."} 
[2026-07-08 16:26:08] local.INFO: Processing buffer {"connection_id":126478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415cfd28012d7b5f8005e7bdb0000700ac22..."} 
[2026-07-08 16:26:08] local.INFO: Packet analysis {"connection_id":126478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f415c"} 
[2026-07-08 16:26:08] local.INFO: Extracted packet for processing {"connection_id":126478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f415c"} 
[2026-07-08 16:26:08] local.INFO: GPS Element Parsed {"raw_longitude":763060096,"raw_latitude":99073456,"longitude_deg":76.3060096,"latitude_deg":9.9073456,"altitude":7,"angle":172,"satellites":34,"speed":8,"hex_longitude":"2d7b5f80","hex_latitude":"05e7bdb0","is_valid_coordinates":true} 
[2026-07-08 16:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578055424001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103750557147070464,"note":"Value kept but may cause issues"} 
[2026-07-08 16:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888416839934173184,"note":"Value kept but may cause issues"} 
[2026-07-08 16:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783508041000,"timestamp_ms":1783508041000,"timestamp_seconds":1783508041,"priority":1,"record_length":96,"hex_timestamp":"0000019f415cfd28"} 
[2026-07-08 16:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:26: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-07-08 16: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-07-08 16:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578055424001,"66":12993,"201":206,"87":13824,"24":8,"16":103750557147070464,"45":8888416839934173184},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-08 16:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578055424001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:26:08] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-08 16:26:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103750557147070464,"km_value":103750557147070.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888416839934173184,"description":"Unknown IO ID 45"} 
[2026-07-08 16:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578055424001,"power":12993,"unknown_201":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8888416839934173184}} 
[2026-07-08 16:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":126478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452387,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:26:09] local.INFO: GPS data processed {"connection_id":126478,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:26:09] local.INFO: Acknowledgment sent {"connection_id":126478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:26:10] local.INFO: TCP Data received {"connection_id":126481,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f415deb70012d199c80071fbf28003a004e2d..."} 
[2026-07-08 16:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415deb70012d199c80071fbf28003a004e2d..."} 
[2026-07-08 16:26:10] local.INFO: Processing buffer {"connection_id":126481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415deb70012d199c80071fbf28003a004e2d..."} 
[2026-07-08 16:26:10] local.INFO: Packet analysis {"connection_id":126481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f415d"} 
[2026-07-08 16:26:10] local.INFO: Extracted packet for processing {"connection_id":126481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f415d"} 
[2026-07-08 16:26:10] local.INFO: GPS Element Parsed {"raw_longitude":756653184,"raw_latitude":119521064,"longitude_deg":75.6653184,"latitude_deg":11.9521064,"altitude":58,"angle":78,"satellites":45,"speed":16,"hex_longitude":"2d199c80","hex_latitude":"071fbf28","is_valid_coordinates":true} 
[2026-07-08 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-07-08 16:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578073856001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4866150701727744,"note":"Value kept but may cause issues"} 
[2026-07-08 16:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844998134191542272,"note":"Value kept but may cause issues"} 
[2026-07-08 16:26: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-07-08 16:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783508102000,"timestamp_ms":1783508102000,"timestamp_seconds":1783508102,"priority":1,"record_length":96,"hex_timestamp":"0000019f415deb70"} 
[2026-07-08 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-07-08 16:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-08 16:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 16:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578073856001,"66":14559,"101":206,"83":41984,"24":16,"16":4866150701727744,"45":1844998134191542272},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-08 16:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578073856001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:26:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-08 16:26:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4866150701727744,"km_value":4866150701727.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844998134191542272,"description":"Unknown IO ID 45"} 
[2026-07-08 16:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578073856001,"power":14559,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1844998134191542272}} 
[2026-07-08 16:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":126481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:26:10] local.INFO: GPS data processed {"connection_id":126481,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:26:10] local.INFO: Acknowledgment sent {"connection_id":126481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:26:31] local.INFO: TCP Data received {"connection_id":125601,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:26:31] local.INFO: Processing buffer {"connection_id":125601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:26:31] local.INFO: IMEI packet received {"connection_id":125601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":125601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:26:33] local.INFO: TCP Data received {"connection_id":126479,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f415bfb58012d9aa38005781260000c00f829..."} 
[2026-07-08 16:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415bfb58012d9aa38005781260000c00f829..."} 
[2026-07-08 16:26:33] local.INFO: Processing buffer {"connection_id":126479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415bfb58012d9aa38005781260000c00f829..."} 
[2026-07-08 16:26:33] local.INFO: Packet analysis {"connection_id":126479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f415b"} 
[2026-07-08 16:26:33] local.INFO: Extracted packet for processing {"connection_id":126479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f415b"} 
[2026-07-08 16:26:33] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 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-07-08 16:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577964544001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:26:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783507975000,"timestamp_ms":1783507975000,"timestamp_seconds":1783507975,"priority":1,"record_length":96,"hex_timestamp":"0000019f415bfb58"} 
[2026-07-08 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-07-08 16:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 16:26: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-07-08 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-07-08 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-07-08 16:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577964544001,"66":25625,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577964544001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:26:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:26:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577964544001,"power":25625,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":126479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:26:33] local.INFO: GPS data processed {"connection_id":126479,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:26:33] local.INFO: Acknowledgment sent {"connection_id":126479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:26:36] local.INFO: TCP Data received {"connection_id":125601,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:26:36] local.INFO: Processing buffer {"connection_id":125601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:26:36] local.INFO: IMEI packet received {"connection_id":125601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":125601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:26:37] local.INFO: TCP Data received {"connection_id":125601,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f415ee958012d7b8f8005e6f0f0000a009a25..."} 
[2026-07-08 16:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415ee958012d7b8f8005e6f0f0000a009a25..."} 
[2026-07-08 16:26:37] local.INFO: Processing buffer {"connection_id":125601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415ee958012d7b8f8005e6f0f0000a009a25..."} 
[2026-07-08 16:26:37] local.INFO: Packet analysis {"connection_id":125601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f415e"} 
[2026-07-08 16:26:37] local.INFO: Extracted packet for processing {"connection_id":125601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f415e"} 
[2026-07-08 16:26:37] local.INFO: GPS Element Parsed {"raw_longitude":763072384,"raw_latitude":99021040,"longitude_deg":76.3072384,"latitude_deg":9.902104,"altitude":10,"angle":154,"satellites":37,"speed":28,"hex_longitude":"2d7b8f80","hex_latitude":"05e6f0f0","is_valid_coordinates":true} 
[2026-07-08 16:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578088192001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103753207141892096,"note":"Value kept but may cause issues"} 
[2026-07-08 16:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901294320104765440,"note":"Value kept but may cause issues"} 
[2026-07-08 16:26:37] 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-07-08 16:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783508167000,"timestamp_ms":1783508167000,"timestamp_seconds":1783508167,"priority":1,"record_length":96,"hex_timestamp":"0000019f415ee958"} 
[2026-07-08 16:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-08 16:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578088192001,"66":13493,"96":206,"87":13824,"24":28,"16":103753207141892096,"45":8901294320104765440},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-08 16:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578088192001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:26:37] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-08 16:26:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103753207141892096,"km_value":103753207141892.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901294320104765440,"description":"Unknown IO ID 45"} 
[2026-07-08 16:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578088192001,"power":13493,"unknown_96":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8901294320104765440}} 
[2026-07-08 16:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":125601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452390,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:26:37] local.INFO: GPS data processed {"connection_id":125601,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:26:37] local.INFO: Acknowledgment sent {"connection_id":125601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:26:41] local.INFO: TCP Data received {"connection_id":126481,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f415ec248012d19a440071ff088003800562e..."} 
[2026-07-08 16:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415ec248012d19a440071ff088003800562e..."} 
[2026-07-08 16:26:41] local.INFO: Processing buffer {"connection_id":126481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415ec248012d19a440071ff088003800562e..."} 
[2026-07-08 16:26:41] local.INFO: Packet analysis {"connection_id":126481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f415e"} 
[2026-07-08 16:26:41] local.INFO: Extracted packet for processing {"connection_id":126481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f415e"} 
[2026-07-08 16:26:41] local.INFO: GPS Element Parsed {"raw_longitude":756655168,"raw_latitude":119533704,"longitude_deg":75.6655168,"latitude_deg":11.9533704,"altitude":56,"angle":86,"satellites":46,"speed":10,"hex_longitude":"2d19a440","hex_latitude":"071ff088","is_valid_coordinates":true} 
[2026-07-08 16:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578087936001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4866855076364288,"note":"Value kept but may cause issues"} 
[2026-07-08 16:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847461040241002496,"note":"Value kept but may cause issues"} 
[2026-07-08 16:26: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-07-08 16:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783508157000,"timestamp_ms":1783508157000,"timestamp_seconds":1783508157,"priority":1,"record_length":96,"hex_timestamp":"0000019f415ec248"} 
[2026-07-08 16:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:26: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-07-08 16: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-08 16:26: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-07-08 16:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":126481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":126481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":126481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:26: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-07-08 16:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578087936001,"66":13396,"101":206,"83":41984,"24":10,"16":4866855076364288,"45":1847461040241002496},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-08 16:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578087936001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:26:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-08 16:26:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4866855076364288,"km_value":4866855076364.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847461040241002496,"description":"Unknown IO ID 45"} 
[2026-07-08 16:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578087936001,"power":13396,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1847461040241002496}} 
[2026-07-08 16:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":126481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:26:41] local.INFO: GPS data processed {"connection_id":126481,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:26:41] local.INFO: Acknowledgment sent {"connection_id":126481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:26:55] local.INFO: TCP Data received {"connection_id":125602,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:26:55] local.INFO: Processing buffer {"connection_id":125602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:26:55] local.INFO: IMEI packet received {"connection_id":125602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":125602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:26:57] local.INFO: TCP Data received {"connection_id":125603,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:26:57] local.INFO: Processing buffer {"connection_id":125603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:26:57] local.INFO: IMEI packet received {"connection_id":125603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":125603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:26:58] local.INFO: TCP Data received {"connection_id":125603,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:26:58] local.INFO: Processing buffer {"connection_id":125603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:26:58] local.INFO: IMEI packet received {"connection_id":125603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":125603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:27:00] local.INFO: TCP Data received {"connection_id":125603,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:27:00] local.INFO: Processing buffer {"connection_id":125603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:27:00] local.INFO: IMEI packet received {"connection_id":125603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":125603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:27:00] local.INFO: TCP Data received {"connection_id":125602,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:27:00] local.INFO: Processing buffer {"connection_id":125602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:27:00] local.INFO: IMEI packet received {"connection_id":125602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":125602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:27:00] local.INFO: TCP Data received {"connection_id":125603,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:27:00] local.INFO: Processing buffer {"connection_id":125603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:27:00] local.INFO: IMEI packet received {"connection_id":125603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":125603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:27:01] local.INFO: TCP Data received {"connection_id":125602,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f415bfb58012d9aa38005781260000c00f829..."} 
[2026-07-08 16:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415bfb58012d9aa38005781260000c00f829..."} 
[2026-07-08 16:27:01] local.INFO: Processing buffer {"connection_id":125602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415bfb58012d9aa38005781260000c00f829..."} 
[2026-07-08 16:27:01] local.INFO: Packet analysis {"connection_id":125602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f415b"} 
[2026-07-08 16:27:01] local.INFO: Extracted packet for processing {"connection_id":125602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f415b"} 
[2026-07-08 16:27:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577964544001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:27:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783507975000,"timestamp_ms":1783507975000,"timestamp_seconds":1783507975,"priority":1,"record_length":96,"hex_timestamp":"0000019f415bfb58"} 
[2026-07-08 16:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 16:27:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:27:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577964544001,"66":25625,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577964544001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:27:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:27:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577964544001,"power":25625,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":125602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:27:01] local.INFO: GPS data processed {"connection_id":125602,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:27:01] local.INFO: Acknowledgment sent {"connection_id":125602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:27:09] local.INFO: TCP Data received {"connection_id":125601,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f415f00c8012d7b964005e6e150000a00a525..."} 
[2026-07-08 16:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415f00c8012d7b964005e6e150000a00a525..."} 
[2026-07-08 16:27:09] local.INFO: Processing buffer {"connection_id":125601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415f00c8012d7b964005e6e150000a00a525..."} 
[2026-07-08 16:27:09] local.INFO: Packet analysis {"connection_id":125601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f415f"} 
[2026-07-08 16:27:09] local.INFO: Extracted packet for processing {"connection_id":125601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f415f"} 
[2026-07-08 16:27:09] local.INFO: GPS Element Parsed {"raw_longitude":763074112,"raw_latitude":99017040,"longitude_deg":76.3074112,"latitude_deg":9.901704,"altitude":10,"angle":165,"satellites":37,"speed":26,"hex_longitude":"2d7b9640","hex_latitude":"05e6e150","is_valid_coordinates":true} 
[2026-07-08 16:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578090752001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103753417595289600,"note":"Value kept but may cause issues"} 
[2026-07-08 16:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8903475751172501504,"note":"Value kept but may cause issues"} 
[2026-07-08 16:27:09] 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-07-08 16:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783508173000,"timestamp_ms":1783508173000,"timestamp_seconds":1783508173,"priority":1,"record_length":96,"hex_timestamp":"0000019f415f00c8"} 
[2026-07-08 16:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-08 16:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:27: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-07-08 16:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578090752001,"66":13243,"96":206,"87":13824,"24":26,"16":103753417595289600,"45":8903475751172501504},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-08 16:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578090752001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:27:09] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-08 16:27:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103753417595289600,"km_value":103753417595289.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8903475751172501504,"description":"Unknown IO ID 45"} 
[2026-07-08 16:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578090752001,"power":13243,"unknown_96":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8903475751172501504}} 
[2026-07-08 16:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":125601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452393,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:27:09] local.INFO: GPS data processed {"connection_id":125601,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:27:09] local.INFO: Acknowledgment sent {"connection_id":125601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:27:31] local.INFO: TCP Data received {"connection_id":125604,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125604,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:27:31] local.INFO: Processing buffer {"connection_id":125604,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:27:31] local.INFO: IMEI packet received {"connection_id":125604,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":125604,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:27:32] local.INFO: TCP Data received {"connection_id":125602,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f415bfb58012d9aa38005781260000c00f829..."} 
[2026-07-08 16:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415bfb58012d9aa38005781260000c00f829..."} 
[2026-07-08 16:27:32] local.INFO: Processing buffer {"connection_id":125602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415bfb58012d9aa38005781260000c00f829..."} 
[2026-07-08 16:27:32] local.INFO: Packet analysis {"connection_id":125602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f415b"} 
[2026-07-08 16:27:32] local.INFO: Extracted packet for processing {"connection_id":125602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f415b"} 
[2026-07-08 16:27:32] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577964544001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:27:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783507975000,"timestamp_ms":1783507975000,"timestamp_seconds":1783507975,"priority":1,"record_length":96,"hex_timestamp":"0000019f415bfb58"} 
[2026-07-08 16:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:27: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-07-08 16:27: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-07-08 16:27:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577964544001,"66":25625,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577964544001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:27:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:27:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577964544001,"power":25625,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":125602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:27:33] local.INFO: GPS data processed {"connection_id":125602,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:27:33] local.INFO: Acknowledgment sent {"connection_id":125602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:27:36] local.INFO: TCP Data received {"connection_id":125604,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125604,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:27:36] local.INFO: Processing buffer {"connection_id":125604,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:27:36] local.INFO: IMEI packet received {"connection_id":125604,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":125604,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:27:37] local.INFO: TCP Data received {"connection_id":125604,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f415f2bc0012d7b990005e6d448000c00b724..."} 
[2026-07-08 16:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415f2bc0012d7b990005e6d448000c00b724..."} 
[2026-07-08 16:27:37] local.INFO: Processing buffer {"connection_id":125604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415f2bc0012d7b990005e6d448000c00b724..."} 
[2026-07-08 16:27:37] local.INFO: Packet analysis {"connection_id":125604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f415f"} 
[2026-07-08 16:27:37] local.INFO: Extracted packet for processing {"connection_id":125604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f415f"} 
[2026-07-08 16:27:37] local.INFO: GPS Element Parsed {"raw_longitude":763074816,"raw_latitude":99013704,"longitude_deg":76.3074816,"latitude_deg":9.9013704,"altitude":12,"angle":183,"satellites":36,"speed":6,"hex_longitude":"2d7b9900","hex_latitude":"05e6d448","is_valid_coordinates":true} 
[2026-07-08 16:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578092288001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103753585099014144,"note":"Value kept but may cause issues"} 
[2026-07-08 16:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905375707264274432,"note":"Value kept but may cause issues"} 
[2026-07-08 16:27:37] 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-07-08 16:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783508184000,"timestamp_ms":1783508184000,"timestamp_seconds":1783508184,"priority":1,"record_length":96,"hex_timestamp":"0000019f415f2bc0"} 
[2026-07-08 16:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-08 16:27: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-07-08 16:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578092288001,"66":12917,"96":206,"87":13824,"24":6,"16":103753585099014144,"45":8905375707264274432},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-08 16:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578092288001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:27:37] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-08 16:27:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103753585099014144,"km_value":103753585099014.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905375707264274432,"description":"Unknown IO ID 45"} 
[2026-07-08 16:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578092288001,"power":12917,"unknown_96":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8905375707264274432}} 
[2026-07-08 16:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":125604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452395,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:27:37] local.INFO: GPS data processed {"connection_id":125604,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:27:37] local.INFO: Acknowledgment sent {"connection_id":125604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:27:55] local.INFO: TCP Data received {"connection_id":125713,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:27:55] local.INFO: Processing buffer {"connection_id":125713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:27:55] local.INFO: IMEI packet received {"connection_id":125713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":125713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:28:02] local.INFO: TCP Data received {"connection_id":125713,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:28:02] local.INFO: Processing buffer {"connection_id":125713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:28:02] local.INFO: IMEI packet received {"connection_id":125713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":125713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:28:02] local.INFO: TCP Data received {"connection_id":125713,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f415bfb58012d9aa38005781260000c00f829..."} 
[2026-07-08 16:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415bfb58012d9aa38005781260000c00f829..."} 
[2026-07-08 16:28:02] local.INFO: Processing buffer {"connection_id":125713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415bfb58012d9aa38005781260000c00f829..."} 
[2026-07-08 16:28:02] local.INFO: Packet analysis {"connection_id":125713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f415b"} 
[2026-07-08 16:28:02] local.INFO: Extracted packet for processing {"connection_id":125713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f415b"} 
[2026-07-08 16:28:02] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577964544001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:28:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783507975000,"timestamp_ms":1783507975000,"timestamp_seconds":1783507975,"priority":1,"record_length":96,"hex_timestamp":"0000019f415bfb58"} 
[2026-07-08 16:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 16:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577964544001,"66":25625,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577964544001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:28:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:28:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577964544001,"power":25625,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":125713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:28:03] local.INFO: GPS data processed {"connection_id":125713,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:28:03] local.INFO: Acknowledgment sent {"connection_id":125713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:28:08] local.INFO: TCP Data received {"connection_id":125604,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f415f6e28012d7b968005e6b488000b00ab24..."} 
[2026-07-08 16:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415f6e28012d7b968005e6b488000b00ab24..."} 
[2026-07-08 16:28:08] local.INFO: Processing buffer {"connection_id":125604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415f6e28012d7b968005e6b488000b00ab24..."} 
[2026-07-08 16:28:08] local.INFO: Packet analysis {"connection_id":125604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f415f"} 
[2026-07-08 16:28:08] local.INFO: Extracted packet for processing {"connection_id":125604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f415f"} 
[2026-07-08 16:28:08] local.INFO: GPS Element Parsed {"raw_longitude":763074176,"raw_latitude":99005576,"longitude_deg":76.3074176,"latitude_deg":9.9005576,"altitude":11,"angle":171,"satellites":36,"speed":33,"hex_longitude":"2d7b9680","hex_latitude":"05e6b488","is_valid_coordinates":true} 
[2026-07-08 16:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578095104001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103753984530972672,"note":"Value kept but may cause issues"} 
[2026-07-08 16:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8906149763449374720,"note":"Value kept but may cause issues"} 
[2026-07-08 16:28:08] 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-07-08 16:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783508201000,"timestamp_ms":1783508201000,"timestamp_seconds":1783508201,"priority":1,"record_length":96,"hex_timestamp":"0000019f415f6e28"} 
[2026-07-08 16:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-08 16:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578095104001,"66":13200,"96":206,"87":13824,"24":33,"16":103753984530972672,"45":8906149763449374720},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-08 16:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578095104001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:28:08] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-08 16:28:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103753984530972672,"km_value":103753984530972.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8906149763449374720,"description":"Unknown IO ID 45"} 
[2026-07-08 16:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578095104001,"power":13200,"unknown_96":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8906149763449374720}} 
[2026-07-08 16:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":125604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452397,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:28:09] local.INFO: GPS data processed {"connection_id":125604,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:28:09] local.INFO: Acknowledgment sent {"connection_id":125604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:28:30] local.INFO: TCP Data received {"connection_id":125605,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125605,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:28:30] local.INFO: Processing buffer {"connection_id":125605,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:28:30] local.INFO: IMEI packet received {"connection_id":125605,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":125605,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:28:31] local.INFO: TCP Data received {"connection_id":125605,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125605,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:28:31] local.INFO: Processing buffer {"connection_id":125605,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:28:31] local.INFO: IMEI packet received {"connection_id":125605,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":125605,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:28:35] local.INFO: TCP Data received {"connection_id":125605,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125605,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:28:35] local.INFO: Processing buffer {"connection_id":125605,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:28:35] local.INFO: IMEI packet received {"connection_id":125605,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":125605,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:28:36] local.INFO: TCP Data received {"connection_id":125605,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f415f9150012d7b9e8005e691c8000700a622..."} 
[2026-07-08 16:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415f9150012d7b9e8005e691c8000700a622..."} 
[2026-07-08 16:28:36] local.INFO: Processing buffer {"connection_id":125605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415f9150012d7b9e8005e691c8000700a622..."} 
[2026-07-08 16:28:36] local.INFO: Packet analysis {"connection_id":125605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f415f"} 
[2026-07-08 16:28:36] local.INFO: Extracted packet for processing {"connection_id":125605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f415f"} 
[2026-07-08 16:28:36] local.INFO: GPS Element Parsed {"raw_longitude":763076224,"raw_latitude":98996680,"longitude_deg":76.3076224,"latitude_deg":9.899668,"altitude":7,"angle":166,"satellites":34,"speed":43,"hex_longitude":"2d7b9e80","hex_latitude":"05e691c8","is_valid_coordinates":true} 
[2026-07-08 16:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578099456001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103754426912604160,"note":"Value kept but may cause issues"} 
[2026-07-08 16:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905446076005517312,"note":"Value kept but may cause issues"} 
[2026-07-08 16:28:36] 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-07-08 16:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783508210000,"timestamp_ms":1783508210000,"timestamp_seconds":1783508210,"priority":1,"record_length":96,"hex_timestamp":"0000019f415f9150"} 
[2026-07-08 16:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-07-08 16:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578099456001,"66":13178,"96":206,"87":13824,"24":43,"16":103754426912604160,"45":8905446076005517312},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-08 16:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578099456001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:28:36] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-08 16:28:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103754426912604160,"km_value":103754426912604.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905446076005517312,"description":"Unknown IO ID 45"} 
[2026-07-08 16:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578099456001,"power":13178,"unknown_96":206,"unknown_87":13824,"ignition":43,"odometer":null,"unknown_45":8905446076005517312}} 
[2026-07-08 16:28:36] local.INFO: TCP Data received {"connection_id":125713,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f415bfb58012d9aa38005781260000c00f829..."} 
[2026-07-08 16:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f415bfb58012d9aa38005781260000c00f829..."} 
[2026-07-08 16:28:36] local.INFO: Processing buffer {"connection_id":125713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f415bfb58012d9aa38005781260000c00f829..."} 
[2026-07-08 16:28:36] local.INFO: Packet analysis {"connection_id":125713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f415b"} 
[2026-07-08 16:28:36] local.INFO: Extracted packet for processing {"connection_id":125713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f415b"} 
[2026-07-08 16:28:36] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456577964544001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:28:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783507975000,"timestamp_ms":1783507975000,"timestamp_seconds":1783507975,"priority":1,"record_length":96,"hex_timestamp":"0000019f415bfb58"} 
[2026-07-08 16:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 16:28: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-07-08 16:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456577964544001,"66":25625,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456577964544001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:28:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:28:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456577964544001,"power":25625,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":125713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:28:36] local.INFO: GPS data processed {"connection_id":125713,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:28:36] local.INFO: Acknowledgment sent {"connection_id":125713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":125605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452399,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:28:36] local.INFO: GPS data processed {"connection_id":125605,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:28:36] local.INFO: Acknowledgment sent {"connection_id":125605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:29:00] local.INFO: TCP Data received {"connection_id":125715,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:29:00] local.INFO: Processing buffer {"connection_id":125715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:29:00] local.INFO: IMEI packet received {"connection_id":125715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":125715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:29:05] local.INFO: TCP Data received {"connection_id":125715,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:29:05] local.INFO: Processing buffer {"connection_id":125715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:29:05] local.INFO: IMEI packet received {"connection_id":125715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":125715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:29:06] local.INFO: TCP Data received {"connection_id":125715,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f41609320012d9aa38005781260000c00f82f..."} 
[2026-07-08 16:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41609320012d9aa38005781260000c00f82f..."} 
[2026-07-08 16:29:06] local.INFO: Processing buffer {"connection_id":125715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41609320012d9aa38005781260000c00f82f..."} 
[2026-07-08 16:29:06] local.INFO: Packet analysis {"connection_id":125715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4160"} 
[2026-07-08 16:29:06] local.INFO: Extracted packet for processing {"connection_id":125715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4160"} 
[2026-07-08 16:29:06] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":47,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578041600001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:29:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783508276000,"timestamp_ms":1783508276000,"timestamp_seconds":1783508276,"priority":1,"record_length":96,"hex_timestamp":"0000019f41609320"} 
[2026-07-08 16:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 16:29: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-07-08 16:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578041600001,"66":25647,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578041600001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:29:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:29:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456578041600001,"power":25647,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":125715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:29:06] local.INFO: GPS data processed {"connection_id":125715,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:29:06] local.INFO: Acknowledgment sent {"connection_id":125715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:29:08] local.INFO: TCP Data received {"connection_id":125605,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f41615a58012d7c250005e58920000900a420..."} 
[2026-07-08 16:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41615a58012d7c250005e58920000900a420..."} 
[2026-07-08 16:29:08] local.INFO: Processing buffer {"connection_id":125605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41615a58012d7c250005e58920000900a420..."} 
[2026-07-08 16:29:08] local.INFO: Packet analysis {"connection_id":125605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4161"} 
[2026-07-08 16:29:08] local.INFO: Extracted packet for processing {"connection_id":125605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4161"} 
[2026-07-08 16:29:08] local.INFO: GPS Element Parsed {"raw_longitude":763110656,"raw_latitude":98928928,"longitude_deg":76.3110656,"latitude_deg":9.8928928,"altitude":9,"angle":164,"satellites":32,"speed":34,"hex_longitude":"2d7c2500","hex_latitude":"05e58920","is_valid_coordinates":true} 
[2026-07-08 16:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578130176001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103758167829118976,"note":"Value kept but may cause issues"} 
[2026-07-08 16:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943515566587193344,"note":"Value kept but may cause issues"} 
[2026-07-08 16:29:08] 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-07-08 16:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783508327000,"timestamp_ms":1783508327000,"timestamp_seconds":1783508327,"priority":1,"record_length":96,"hex_timestamp":"0000019f41615a58"} 
[2026-07-08 16:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-08 16:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578130176001,"66":12961,"40":206,"87":13824,"24":34,"16":103758167829118976,"45":8943515566587193344},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-07-08 16:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578130176001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:29:08] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-08 16:29:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103758167829118976,"km_value":103758167829118.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943515566587193344,"description":"Unknown IO ID 45"} 
[2026-07-08 16:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578130176001,"power":12961,"unknown_40":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8943515566587193344}} 
[2026-07-08 16:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":125605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452401,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:29:08] local.INFO: GPS data processed {"connection_id":125605,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:29:08] local.INFO: Acknowledgment sent {"connection_id":125605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:29:31] local.INFO: TCP Data received {"connection_id":127714,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127714,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:29:31] local.INFO: Processing buffer {"connection_id":127714,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:29:31] local.INFO: IMEI packet received {"connection_id":127714,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 16:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":127714,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:29:35] local.INFO: TCP Data received {"connection_id":126485,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126485,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:29:35] local.INFO: Processing buffer {"connection_id":126485,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:29:35] local.INFO: IMEI packet received {"connection_id":126485,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":126485,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:29:36] local.INFO: TCP Data received {"connection_id":126485,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126485,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:29:36] local.INFO: Processing buffer {"connection_id":126485,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:29:36] local.INFO: IMEI packet received {"connection_id":126485,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":126485,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:29:37] local.INFO: TCP Data received {"connection_id":125715,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f41609320012d9aa38005781260000c00f82f..."} 
[2026-07-08 16:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41609320012d9aa38005781260000c00f82f..."} 
[2026-07-08 16:29:37] local.INFO: Processing buffer {"connection_id":125715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41609320012d9aa38005781260000c00f82f..."} 
[2026-07-08 16:29:37] local.INFO: Packet analysis {"connection_id":125715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4160"} 
[2026-07-08 16:29:37] local.INFO: Extracted packet for processing {"connection_id":125715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4160"} 
[2026-07-08 16:29:37] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":47,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578041600001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:29:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783508276000,"timestamp_ms":1783508276000,"timestamp_seconds":1783508276,"priority":1,"record_length":96,"hex_timestamp":"0000019f41609320"} 
[2026-07-08 16:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 16:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578041600001,"66":25647,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578041600001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:29:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:29:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456578041600001,"power":25647,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":125715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:29:37] local.INFO: GPS data processed {"connection_id":125715,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:29:37] local.INFO: Acknowledgment sent {"connection_id":125715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:29:41] local.INFO: TCP Data received {"connection_id":126485,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126485,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:29:41] local.INFO: Processing buffer {"connection_id":126485,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:29:41] local.INFO: IMEI packet received {"connection_id":126485,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":126485,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:29:44] local.INFO: TCP Data received {"connection_id":126485,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f41617d80012d7c2dc005e566c8000900a721..."} 
[2026-07-08 16:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41617d80012d7c2dc005e566c8000900a721..."} 
[2026-07-08 16:29:44] local.INFO: Processing buffer {"connection_id":126485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41617d80012d7c2dc005e566c8000900a721..."} 
[2026-07-08 16:29:44] local.INFO: Packet analysis {"connection_id":126485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4161"} 
[2026-07-08 16:29:44] local.INFO: Extracted packet for processing {"connection_id":126485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4161"} 
[2026-07-08 16:29:44] local.INFO: GPS Element Parsed {"raw_longitude":763112896,"raw_latitude":98920136,"longitude_deg":76.3112896,"latitude_deg":9.8920136,"altitude":9,"angle":167,"satellites":33,"speed":35,"hex_longitude":"2d7c2dc0","hex_latitude":"05e566c8","is_valid_coordinates":true} 
[2026-07-08 16:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578131712001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103758605915783168,"note":"Value kept but may cause issues"} 
[2026-07-08 16:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945556260167163904,"note":"Value kept but may cause issues"} 
[2026-07-08 16:29: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-07-08 16:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783508336000,"timestamp_ms":1783508336000,"timestamp_seconds":1783508336,"priority":1,"record_length":96,"hex_timestamp":"0000019f41617d80"} 
[2026-07-08 16:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-08 16:29: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-07-08 16: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-07-08 16:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":126485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":126485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":126485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578131712001,"66":13254,"40":206,"87":13824,"24":35,"16":103758605915783168,"45":8945556260167163904},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-07-08 16:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578131712001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:29:44] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-08 16:29:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103758605915783168,"km_value":103758605915783.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945556260167163904,"description":"Unknown IO ID 45"} 
[2026-07-08 16:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578131712001,"power":13254,"unknown_40":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8945556260167163904}} 
[2026-07-08 16:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":126485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452403,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:29:44] local.INFO: GPS data processed {"connection_id":126485,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:29:44] local.INFO: Acknowledgment sent {"connection_id":126485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:29:56] local.INFO: TCP Data received {"connection_id":127716,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127716,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:29:56] local.INFO: Processing buffer {"connection_id":127716,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:29:56] local.INFO: IMEI packet received {"connection_id":127716,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 16:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":127716,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:29:56] local.INFO: TCP Data received {"connection_id":127715,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:29:56] local.INFO: Processing buffer {"connection_id":127715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:29:56] local.INFO: IMEI packet received {"connection_id":127715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":127715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:30:00] local.INFO: TCP Data received {"connection_id":125716,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125716,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:30:00] local.INFO: Processing buffer {"connection_id":125716,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:30:00] local.INFO: IMEI packet received {"connection_id":125716,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 16:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":125716,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:30:00] local.INFO: TCP Data received {"connection_id":125716,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f416215d8012d0e3ec00706d680002b015825..."} 
[2026-07-08 16:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416215d8012d0e3ec00706d680002b015825..."} 
[2026-07-08 16:30:00] local.INFO: Processing buffer {"connection_id":125716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416215d8012d0e3ec00706d680002b015825..."} 
[2026-07-08 16:30:00] local.INFO: Packet analysis {"connection_id":125716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4162"} 
[2026-07-08 16:30:00] local.INFO: Extracted packet for processing {"connection_id":125716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4162"} 
[2026-07-08 16:30:00] local.INFO: GPS Element Parsed {"raw_longitude":755908288,"raw_latitude":117888640,"longitude_deg":75.5908288,"latitude_deg":11.788864,"altitude":43,"angle":344,"satellites":37,"speed":14,"hex_longitude":"2d0e3ec0","hex_latitude":"0706d680","is_valid_coordinates":true} 
[2026-07-08 16:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578143488001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23646350470021120,"note":"Value kept but may cause issues"} 
[2026-07-08 16:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026539270243090432,"note":"Value kept but may cause issues"} 
[2026-07-08 16:30: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-07-08 16:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783508375000,"timestamp_ms":1783508375000,"timestamp_seconds":1783508375,"priority":1,"record_length":96,"hex_timestamp":"0000019f416215d8"} 
[2026-07-08 16:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:30: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-07-08 16:30: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-07-08 16:30:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125716,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125716,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:30:00] 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-07-08 16:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 16:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 16:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578143488001,"66":13678,"219":206,"94":10240,"24":14,"16":23646350470021120,"45":1026539270243090432},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-08 16:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 16:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 16:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578143488001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:30:00] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-08 16:30:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 16:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23646350470021120,"km_value":23646350470021.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026539270243090432,"description":"Unknown IO ID 45"} 
[2026-07-08 16:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578143488001,"power":13678,"unknown_219":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":1026539270243090432}} 
[2026-07-08 16:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":125716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452404,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:30:00] local.INFO: GPS data processed {"connection_id":125716,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:30:00] local.INFO: Acknowledgment sent {"connection_id":125716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:30:00] local.INFO: TCP Data received {"connection_id":127715,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:30:00] local.INFO: Processing buffer {"connection_id":127715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:30:00] local.INFO: IMEI packet received {"connection_id":127715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":127715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:30:01] local.INFO: TCP Data received {"connection_id":127715,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f41609320012d9aa38005781260000c00f82f..."} 
[2026-07-08 16:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41609320012d9aa38005781260000c00f82f..."} 
[2026-07-08 16:30:01] local.INFO: Processing buffer {"connection_id":127715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41609320012d9aa38005781260000c00f82f..."} 
[2026-07-08 16:30:01] local.INFO: Packet analysis {"connection_id":127715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4160"} 
[2026-07-08 16:30:01] local.INFO: Extracted packet for processing {"connection_id":127715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4160"} 
[2026-07-08 16:30:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":47,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578041600001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:30:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783508276000,"timestamp_ms":1783508276000,"timestamp_seconds":1783508276,"priority":1,"record_length":96,"hex_timestamp":"0000019f41609320"} 
[2026-07-08 16:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 16:30:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:30:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:30:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578041600001,"66":25647,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578041600001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:30:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:30:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456578041600001,"power":25647,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":127715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:30:01] local.INFO: GPS data processed {"connection_id":127715,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:30:01] local.INFO: Acknowledgment sent {"connection_id":127715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:30:16] local.INFO: TCP Data received {"connection_id":126485,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f416194f0012d7c30c005e55a500008009924..."} 
[2026-07-08 16:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416194f0012d7c30c005e55a500008009924..."} 
[2026-07-08 16:30:16] local.INFO: Processing buffer {"connection_id":126485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416194f0012d7c30c005e55a500008009924..."} 
[2026-07-08 16:30:16] local.INFO: Packet analysis {"connection_id":126485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4161"} 
[2026-07-08 16:30:16] local.INFO: Extracted packet for processing {"connection_id":126485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4161"} 
[2026-07-08 16:30:16] local.INFO: GPS Element Parsed {"raw_longitude":763113664,"raw_latitude":98916944,"longitude_deg":76.3113664,"latitude_deg":9.8916944,"altitude":8,"angle":153,"satellites":36,"speed":16,"hex_longitude":"2d7c30c0","hex_latitude":"05e55a50","is_valid_coordinates":true} 
[2026-07-08 16:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578134016001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103758769124540416,"note":"Value kept but may cause issues"} 
[2026-07-08 16:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948019166211131392,"note":"Value kept but may cause issues"} 
[2026-07-08 16:30:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783508342000,"timestamp_ms":1783508342000,"timestamp_seconds":1783508342,"priority":1,"record_length":96,"hex_timestamp":"0000019f416194f0"} 
[2026-07-08 16:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:30:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-08 16:30:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:30:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":126485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":126485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":126485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578134016001,"66":13319,"39":206,"87":13824,"24":16,"16":103758769124540416,"45":8948019166211131392},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-08 16:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578134016001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:30:16] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-08 16:30:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103758769124540416,"km_value":103758769124540.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948019166211131392,"description":"Unknown IO ID 45"} 
[2026-07-08 16:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578134016001,"power":13319,"unknown_39":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8948019166211131392}} 
[2026-07-08 16:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":126485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452406,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:30:16] local.INFO: GPS data processed {"connection_id":126485,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:30:16] local.INFO: Acknowledgment sent {"connection_id":126485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:30:31] local.INFO: TCP Data received {"connection_id":125607,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125607,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:30:31] local.INFO: Processing buffer {"connection_id":125607,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:30:31] local.INFO: IMEI packet received {"connection_id":125607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":125607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:30:33] local.INFO: TCP Data received {"connection_id":127715,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f41609320012d9aa38005781260000c00f82f..."} 
[2026-07-08 16:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41609320012d9aa38005781260000c00f82f..."} 
[2026-07-08 16:30:33] local.INFO: Processing buffer {"connection_id":127715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41609320012d9aa38005781260000c00f82f..."} 
[2026-07-08 16:30:33] local.INFO: Packet analysis {"connection_id":127715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4160"} 
[2026-07-08 16:30:33] local.INFO: Extracted packet for processing {"connection_id":127715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4160"} 
[2026-07-08 16:30:33] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":47,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578041600001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:30:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783508276000,"timestamp_ms":1783508276000,"timestamp_seconds":1783508276,"priority":1,"record_length":96,"hex_timestamp":"0000019f41609320"} 
[2026-07-08 16:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 16:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:30:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578041600001,"66":25647,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578041600001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:30:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:30:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456578041600001,"power":25647,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":127715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:30:33] local.INFO: GPS data processed {"connection_id":127715,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:30:33] local.INFO: Acknowledgment sent {"connection_id":127715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:30:33] local.INFO: TCP Data received {"connection_id":125607,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125607,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:30:33] local.INFO: Processing buffer {"connection_id":125607,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:30:33] local.INFO: IMEI packet received {"connection_id":125607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":125607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:30:34] local.INFO: TCP Data received {"connection_id":125607,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4161b048012d7c348005e551a0000800a623..."} 
[2026-07-08 16:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4161b048012d7c348005e551a0000800a623..."} 
[2026-07-08 16:30:34] local.INFO: Processing buffer {"connection_id":125607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4161b048012d7c348005e551a0000800a623..."} 
[2026-07-08 16:30:34] local.INFO: Packet analysis {"connection_id":125607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4161"} 
[2026-07-08 16:30:34] local.INFO: Extracted packet for processing {"connection_id":125607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4161"} 
[2026-07-08 16:30:34] local.INFO: GPS Element Parsed {"raw_longitude":763114624,"raw_latitude":98914720,"longitude_deg":76.3114624,"latitude_deg":9.891472,"altitude":8,"angle":166,"satellites":35,"speed":18,"hex_longitude":"2d7c3480","hex_latitude":"05e551a0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 16:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578135552001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103758885088657408,"note":"Value kept but may cause issues"} 
[2026-07-08 16:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948863591140446208,"note":"Value kept but may cause issues"} 
[2026-07-08 16:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783508349000,"timestamp_ms":1783508349000,"timestamp_seconds":1783508349,"priority":1,"record_length":96,"hex_timestamp":"0000019f4161b048"} 
[2026-07-08 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-07-08 16:30: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-07-08 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-08 16:30:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 16:30:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":57787440656439094,"note":"Value kept but may cause issues"} 
[2026-07-08 16:30:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-08 16:30:34] local.WARNING: Large IO value detected {"io_id":229,"raw_value":-1583015226061937408,"note":"Value kept but may cause issues"} 
[2026-07-08 16:30:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1479016654,"corrected_to":0} 
[2026-07-08 16:30:34] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2315308376,"note":"Value kept but may cause issues"} 
[2026-07-08 16:30:34] local.WARNING: Large IO value detected {"io_id":112,"raw_value":2661351424,"note":"Value kept but may cause issues"} 
[2026-07-08 16:30:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3856982016,"note":"Value kept but may cause issues"} 
[2026-07-08 16:30:34] local.WARNING: Large IO value detected {"io_id":96,"raw_value":-1652819768381292539,"note":"Value kept but may cause issues"} 
[2026-07-08 16:30:34] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,39,87,24,241,157,16,160,159,125,45,192,102,9,33,10,66,40,90,137,32,1,240,220,227,65,229,4,113,205,2,144,36,239,52,112,5,96],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1479016654,"validated":0}]} 
[2026-07-08 16:30:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576629132202344448,"timestamp_seconds":576629132202344.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 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-07-08 16:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578135552001,"66":13363,"39":206,"87":13824,"24":18,"16":103758885088657408,"45":8948863591140446208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-08 16:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578135552001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:30:34] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-08 16:30:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103758885088657408,"km_value":103758885088657.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948863591140446208,"description":"Unknown IO ID 45"} 
[2026-07-08 16:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578135552001,"power":13363,"unknown_39":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8948863591140446208}} 
[2026-07-08 16:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":125607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452408,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:30:34] local.INFO: GPS data processed {"connection_id":125607,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:30:34] local.INFO: Acknowledgment sent {"connection_id":125607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:30:44] local.INFO: TCP Data received {"connection_id":125608,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125608,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:30:44] local.INFO: Processing buffer {"connection_id":125608,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:30:44] local.INFO: IMEI packet received {"connection_id":125608,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 16:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":125608,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:30:50] local.INFO: TCP Data received {"connection_id":125608,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125608,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:30:50] local.INFO: Processing buffer {"connection_id":125608,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:30:50] local.INFO: IMEI packet received {"connection_id":125608,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 16:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":125608,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:30:50] local.INFO: TCP Data received {"connection_id":125608,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f416219c0012d0e3dc00706d7d8002a014b25..."} 
[2026-07-08 16:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416219c0012d0e3dc00706d7d8002a014b25..."} 
[2026-07-08 16:30:50] local.INFO: Processing buffer {"connection_id":125608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416219c0012d0e3dc00706d7d8002a014b25..."} 
[2026-07-08 16:30:50] local.INFO: Packet analysis {"connection_id":125608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4162"} 
[2026-07-08 16:30:50] local.INFO: Extracted packet for processing {"connection_id":125608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4162"} 
[2026-07-08 16:30:50] local.INFO: GPS Element Parsed {"raw_longitude":755908032,"raw_latitude":117888984,"longitude_deg":75.5908032,"latitude_deg":11.7888984,"altitude":42,"angle":331,"satellites":37,"speed":14,"hex_longitude":"2d0e3dc0","hex_latitude":"0706d7d8","is_valid_coordinates":true} 
[2026-07-08 16: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-07-08 16:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578144000001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23646371944857600,"note":"Value kept but may cause issues"} 
[2026-07-08 16:30:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026468901499076608,"note":"Value kept but may cause issues"} 
[2026-07-08 16:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783508376000,"timestamp_ms":1783508376000,"timestamp_seconds":1783508376,"priority":1,"record_length":96,"hex_timestamp":"0000019f416219c0"} 
[2026-07-08 16:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-07-08 16:30:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":125608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":125608,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":125608,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:30:50] 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-07-08 16:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 16:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 16:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578144000001,"66":13678,"219":206,"94":10240,"24":14,"16":23646371944857600,"45":1026468901499076608},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-08 16:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 16:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 16:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578144000001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:30:50] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-08 16:30:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 16:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23646371944857600,"km_value":23646371944857.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:30:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026468901499076608,"description":"Unknown IO ID 45"} 
[2026-07-08 16:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578144000001,"power":13678,"unknown_219":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":1026468901499076608}} 
[2026-07-08 16:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":125608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452409,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:30:50] local.INFO: GPS data processed {"connection_id":125608,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:30:50] local.INFO: Acknowledgment sent {"connection_id":125608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:30:55] local.INFO: TCP Data received {"connection_id":125609,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:30:55] local.INFO: Processing buffer {"connection_id":125609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:30:55] local.INFO: IMEI packet received {"connection_id":125609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":125609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:31:00] local.INFO: TCP Data received {"connection_id":125609,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:31:00] local.INFO: Processing buffer {"connection_id":125609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:31:00] local.INFO: IMEI packet received {"connection_id":125609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":125609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:31:01] local.INFO: TCP Data received {"connection_id":125609,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f41609320012d9aa38005781260000c00f82f..."} 
[2026-07-08 16:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41609320012d9aa38005781260000c00f82f..."} 
[2026-07-08 16:31:01] local.INFO: Processing buffer {"connection_id":125609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41609320012d9aa38005781260000c00f82f..."} 
[2026-07-08 16:31:01] local.INFO: Packet analysis {"connection_id":125609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4160"} 
[2026-07-08 16:31:01] local.INFO: Extracted packet for processing {"connection_id":125609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4160"} 
[2026-07-08 16:31:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":47,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578041600001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:31:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783508276000,"timestamp_ms":1783508276000,"timestamp_seconds":1783508276,"priority":1,"record_length":96,"hex_timestamp":"0000019f41609320"} 
[2026-07-08 16:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 16:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:31:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578041600001,"66":25647,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578041600001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:31:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:31:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456578041600001,"power":25647,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":125609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:31:01] local.INFO: GPS data processed {"connection_id":125609,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:31:01] local.INFO: Acknowledgment sent {"connection_id":125609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:31:06] local.INFO: TCP Data received {"connection_id":125607,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f41630fd8012d7bca8005e46280001000d426..."} 
[2026-07-08 16:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41630fd8012d7bca8005e46280001000d426..."} 
[2026-07-08 16:31:06] local.INFO: Processing buffer {"connection_id":125607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41630fd8012d7bca8005e46280001000d426..."} 
[2026-07-08 16:31:06] local.INFO: Packet analysis {"connection_id":125607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4163"} 
[2026-07-08 16:31:06] local.INFO: Extracted packet for processing {"connection_id":125607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4163"} 
[2026-07-08 16:31:06] local.INFO: GPS Element Parsed {"raw_longitude":763087488,"raw_latitude":98853504,"longitude_deg":76.3087488,"latitude_deg":9.8853504,"altitude":16,"angle":212,"satellites":38,"speed":46,"hex_longitude":"2d7bca80","hex_latitude":"05e46280","is_valid_coordinates":true} 
[2026-07-08 16:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578158336001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103762325357461504,"note":"Value kept but may cause issues"} 
[2026-07-08 16:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925993749268568064,"note":"Value kept but may cause issues"} 
[2026-07-08 16:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783508439000,"timestamp_ms":1783508439000,"timestamp_seconds":1783508439,"priority":1,"record_length":96,"hex_timestamp":"0000019f41630fd8"} 
[2026-07-08 16:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-08 16:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578158336001,"66":13222,"39":206,"87":13824,"24":46,"16":103762325357461504,"45":8925993749268568064},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-08 16:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578158336001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:31:06] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-08 16:31:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103762325357461504,"km_value":103762325357461.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925993749268568064,"description":"Unknown IO ID 45"} 
[2026-07-08 16:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578158336001,"power":13222,"unknown_39":206,"unknown_87":13824,"ignition":46,"odometer":null,"unknown_45":8925993749268568064}} 
[2026-07-08 16:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":125607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452411,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:31:06] local.INFO: GPS data processed {"connection_id":125607,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:31:06] local.INFO: Acknowledgment sent {"connection_id":125607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:31:21] local.INFO: TCP Data received {"connection_id":125608,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f41637d38012d0dcbc00706f478002000e225..."} 
[2026-07-08 16:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41637d38012d0dcbc00706f478002000e225..."} 
[2026-07-08 16:31:21] local.INFO: Processing buffer {"connection_id":125608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41637d38012d0dcbc00706f478002000e225..."} 
[2026-07-08 16:31:21] local.INFO: Packet analysis {"connection_id":125608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4163"} 
[2026-07-08 16:31:21] local.INFO: Extracted packet for processing {"connection_id":125608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4163"} 
[2026-07-08 16:31:21] local.INFO: GPS Element Parsed {"raw_longitude":755878848,"raw_latitude":117896312,"longitude_deg":75.5878848,"latitude_deg":11.7896312,"altitude":32,"angle":226,"satellites":37,"speed":11,"hex_longitude":"2d0dcbc0","hex_latitude":"0706f478","is_valid_coordinates":true} 
[2026-07-08 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-07-08 16:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578166528001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23648334744911872,"note":"Value kept but may cause issues"} 
[2026-07-08 16:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995014072853919744,"note":"Value kept but may cause issues"} 
[2026-07-08 16:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783508467000,"timestamp_ms":1783508467000,"timestamp_seconds":1783508467,"priority":1,"record_length":96,"hex_timestamp":"0000019f41637d38"} 
[2026-07-08 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-07-08 16:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-08 16:31:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 16:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":125608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":125608,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":125608,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:31:21] 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-07-08 16:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 16:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 16:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578166528001,"66":14537,"219":206,"94":10240,"24":11,"16":23648334744911872,"45":995014072853919744},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-08 16:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 16:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 16:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578166528001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:31:21] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-08 16:31:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 16:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23648334744911872,"km_value":23648334744911.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":995014072853919744,"description":"Unknown IO ID 45"} 
[2026-07-08 16:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578166528001,"power":14537,"unknown_219":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":995014072853919744}} 
[2026-07-08 16:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":125608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452412,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:31:22] local.INFO: GPS data processed {"connection_id":125608,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:31:22] local.INFO: Acknowledgment sent {"connection_id":125608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:31:31] local.INFO: TCP Data received {"connection_id":125610,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125610,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:31:31] local.INFO: Processing buffer {"connection_id":125610,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:31:31] local.INFO: IMEI packet received {"connection_id":125610,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":125610,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:31:33] local.INFO: TCP Data received {"connection_id":125609,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f41609320012d9aa38005781260000c00f82f..."} 
[2026-07-08 16:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41609320012d9aa38005781260000c00f82f..."} 
[2026-07-08 16:31:33] local.INFO: Processing buffer {"connection_id":125609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41609320012d9aa38005781260000c00f82f..."} 
[2026-07-08 16:31:33] local.INFO: Packet analysis {"connection_id":125609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4160"} 
[2026-07-08 16:31:33] local.INFO: Extracted packet for processing {"connection_id":125609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4160"} 
[2026-07-08 16:31:33] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":47,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 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-07-08 16:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578041600001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:31:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783508276000,"timestamp_ms":1783508276000,"timestamp_seconds":1783508276,"priority":1,"record_length":96,"hex_timestamp":"0000019f41609320"} 
[2026-07-08 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-07-08 16:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 16:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 16:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578041600001,"66":25647,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578041600001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:31:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:31:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456578041600001,"power":25647,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":125609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:31:33] local.INFO: GPS data processed {"connection_id":125609,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:31:33] local.INFO: Acknowledgment sent {"connection_id":125609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:31:33] local.INFO: TCP Data received {"connection_id":125610,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125610,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:31:33] local.INFO: Processing buffer {"connection_id":125610,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:31:33] local.INFO: IMEI packet received {"connection_id":125610,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":125610,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:31:34] local.INFO: TCP Data received {"connection_id":125610,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f41632f18012d7bb6c005e44560000f00d527..."} 
[2026-07-08 16:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41632f18012d7bb6c005e44560000f00d527..."} 
[2026-07-08 16:31:34] local.INFO: Processing buffer {"connection_id":125610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41632f18012d7bb6c005e44560000f00d527..."} 
[2026-07-08 16:31:34] local.INFO: Packet analysis {"connection_id":125610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4163"} 
[2026-07-08 16:31:34] local.INFO: Extracted packet for processing {"connection_id":125610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4163"} 
[2026-07-08 16:31:34] local.INFO: GPS Element Parsed {"raw_longitude":763082432,"raw_latitude":98846048,"longitude_deg":76.3082432,"latitude_deg":9.8846048,"altitude":15,"angle":213,"satellites":39,"speed":40,"hex_longitude":"2d7bb6c0","hex_latitude":"05e44560","is_valid_coordinates":true} 
[2026-07-08 16:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578160384001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103762759149158400,"note":"Value kept but may cause issues"} 
[2026-07-08 16:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920082774755540992,"note":"Value kept but may cause issues"} 
[2026-07-08 16:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783508447000,"timestamp_ms":1783508447000,"timestamp_seconds":1783508447,"priority":1,"record_length":96,"hex_timestamp":"0000019f41632f18"} 
[2026-07-08 16:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-08 16:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578160384001,"66":13102,"39":206,"87":13824,"24":40,"16":103762759149158400,"45":8920082774755540992},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-08 16:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578160384001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:31:34] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-08 16:31:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103762759149158400,"km_value":103762759149158.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920082774755540992,"description":"Unknown IO ID 45"} 
[2026-07-08 16:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578160384001,"power":13102,"unknown_39":206,"unknown_87":13824,"ignition":40,"odometer":null,"unknown_45":8920082774755540992}} 
[2026-07-08 16:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":125610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452414,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:31:34] local.INFO: GPS data processed {"connection_id":125610,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:31:34] local.INFO: Acknowledgment sent {"connection_id":125610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:31:44] local.INFO: TCP Data received {"connection_id":125718,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125718,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:31:44] local.INFO: Processing buffer {"connection_id":125718,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:31:44] local.INFO: IMEI packet received {"connection_id":125718,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 16:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":125718,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:31:45] local.INFO: TCP Data received {"connection_id":125718,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125718,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:31:45] local.INFO: Processing buffer {"connection_id":125718,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:31:45] local.INFO: IMEI packet received {"connection_id":125718,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 16:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":125718,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:31:50] local.INFO: TCP Data received {"connection_id":125718,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125718,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:31:50] local.INFO: Processing buffer {"connection_id":125718,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:31:50] local.INFO: IMEI packet received {"connection_id":125718,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 16:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":125718,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:31:50] local.INFO: TCP Data received {"connection_id":125718,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f41638120012d0dcac00706f3c8002000f925..."} 
[2026-07-08 16:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41638120012d0dcac00706f3c8002000f925..."} 
[2026-07-08 16:31:50] local.INFO: Processing buffer {"connection_id":125718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41638120012d0dcac00706f3c8002000f925..."} 
[2026-07-08 16:31:50] local.INFO: Packet analysis {"connection_id":125718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4163"} 
[2026-07-08 16:31:50] local.INFO: Extracted packet for processing {"connection_id":125718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4163"} 
[2026-07-08 16:31:50] local.INFO: GPS Element Parsed {"raw_longitude":755878592,"raw_latitude":117896136,"longitude_deg":75.5878592,"latitude_deg":11.7896136,"altitude":32,"angle":249,"satellites":37,"speed":12,"hex_longitude":"2d0dcac0","hex_latitude":"0706f3c8","is_valid_coordinates":true} 
[2026-07-08 16:31:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578167552001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23648347629813760,"note":"Value kept but may cause issues"} 
[2026-07-08 16:31:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994099279179315200,"note":"Value kept but may cause issues"} 
[2026-07-08 16:31:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783508468000,"timestamp_ms":1783508468000,"timestamp_seconds":1783508468,"priority":1,"record_length":96,"hex_timestamp":"0000019f41638120"} 
[2026-07-08 16:31:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:31:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:31:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-08 16:31:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:31:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:31:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":125718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":125718,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":125718,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:31:50] 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-07-08 16:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 16:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 16:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578167552001,"66":14537,"219":206,"94":10240,"24":12,"16":23648347629813760,"45":994099279179315200},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-08 16:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 16:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 16:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578167552001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:31:50] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-08 16:31:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 16:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23648347629813760,"km_value":23648347629813.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:31:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":994099279179315200,"description":"Unknown IO ID 45"} 
[2026-07-08 16:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578167552001,"power":14537,"unknown_219":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":994099279179315200}} 
[2026-07-08 16:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":125718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452415,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:31:50] local.INFO: GPS data processed {"connection_id":125718,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:31:50] local.INFO: Acknowledgment sent {"connection_id":125718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:31:55] local.INFO: TCP Data received {"connection_id":125719,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:31:55] local.INFO: Processing buffer {"connection_id":125719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:31:55] local.INFO: IMEI packet received {"connection_id":125719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":125719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:32:00] local.INFO: TCP Data received {"connection_id":125719,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:32:00] local.INFO: Processing buffer {"connection_id":125719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:32:00] local.INFO: IMEI packet received {"connection_id":125719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":125719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:32:01] local.INFO: TCP Data received {"connection_id":125719,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f41609320012d9aa38005781260000c00f82f..."} 
[2026-07-08 16:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41609320012d9aa38005781260000c00f82f..."} 
[2026-07-08 16:32:01] local.INFO: Processing buffer {"connection_id":125719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41609320012d9aa38005781260000c00f82f..."} 
[2026-07-08 16:32:01] local.INFO: Packet analysis {"connection_id":125719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4160"} 
[2026-07-08 16:32:01] local.INFO: Extracted packet for processing {"connection_id":125719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4160"} 
[2026-07-08 16:32:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":47,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578041600001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:32:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783508276000,"timestamp_ms":1783508276000,"timestamp_seconds":1783508276,"priority":1,"record_length":96,"hex_timestamp":"0000019f41609320"} 
[2026-07-08 16:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 16:32:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:32:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578041600001,"66":25647,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578041600001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:32:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:32:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456578041600001,"power":25647,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":125719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:32:01] local.INFO: GPS data processed {"connection_id":125719,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:32:01] local.INFO: Acknowledgment sent {"connection_id":125719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:32:03] local.INFO: TCP Data received {"connection_id":127717,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:32:03] local.INFO: Processing buffer {"connection_id":127717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:32:03] local.INFO: IMEI packet received {"connection_id":127717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":127717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:32:05] local.INFO: TCP Data received {"connection_id":127717,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:32:05] local.INFO: Processing buffer {"connection_id":127717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:32:05] local.INFO: IMEI packet received {"connection_id":127717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":127717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:32:05] local.INFO: TCP Data received {"connection_id":125610,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f41635240012d7ba30005e42720000d00d527..."} 
[2026-07-08 16:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41635240012d7ba30005e42720000d00d527..."} 
[2026-07-08 16:32:05] local.INFO: Processing buffer {"connection_id":125610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41635240012d7ba30005e42720000d00d527..."} 
[2026-07-08 16:32:05] local.INFO: Packet analysis {"connection_id":125610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4163"} 
[2026-07-08 16:32:05] local.INFO: Extracted packet for processing {"connection_id":125610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4163"} 
[2026-07-08 16:32:05] local.INFO: GPS Element Parsed {"raw_longitude":763077376,"raw_latitude":98838304,"longitude_deg":76.3077376,"latitude_deg":9.8838304,"altitude":13,"angle":213,"satellites":39,"speed":43,"hex_longitude":"2d7ba300","hex_latitude":"05e42720","is_valid_coordinates":true} 
[2026-07-08 16:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578162432001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103763205825757184,"note":"Value kept but may cause issues"} 
[2026-07-08 16:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8914523643963596800,"note":"Value kept but may cause issues"} 
[2026-07-08 16:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783508456000,"timestamp_ms":1783508456000,"timestamp_seconds":1783508456,"priority":1,"record_length":96,"hex_timestamp":"0000019f41635240"} 
[2026-07-08 16:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-08 16:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578162432001,"66":13048,"39":206,"87":13824,"24":43,"16":103763205825757184,"45":8914523643963596800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-08 16:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578162432001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:32:05] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-08 16:32:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 16:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103763205825757184,"km_value":103763205825757.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8914523643963596800,"description":"Unknown IO ID 45"} 
[2026-07-08 16:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578162432001,"power":13048,"unknown_39":206,"unknown_87":13824,"ignition":43,"odometer":null,"unknown_45":8914523643963596800}} 
[2026-07-08 16:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":125610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452417,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:32:05] local.INFO: GPS data processed {"connection_id":125610,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:32:05] local.INFO: Acknowledgment sent {"connection_id":125610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:32:06] local.INFO: TCP Data received {"connection_id":127717,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4162b218012d19580007200b60004300492d..."} 
[2026-07-08 16:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4162b218012d19580007200b60004300492d..."} 
[2026-07-08 16:32:06] local.INFO: Processing buffer {"connection_id":127717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4162b218012d19580007200b60004300492d..."} 
[2026-07-08 16:32:06] local.INFO: Packet analysis {"connection_id":127717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4162"} 
[2026-07-08 16:32:06] local.INFO: Extracted packet for processing {"connection_id":127717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4162"} 
[2026-07-08 16:32:06] local.INFO: GPS Element Parsed {"raw_longitude":756635648,"raw_latitude":119540576,"longitude_deg":75.6635648,"latitude_deg":11.9540576,"altitude":67,"angle":73,"satellites":45,"speed":9,"hex_longitude":"2d195800","hex_latitude":"07200b60","is_valid_coordinates":true} 
[2026-07-08 16:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578153984001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4871339022221312,"note":"Value kept but may cause issues"} 
[2026-07-08 16:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825998573268578304,"note":"Value kept but may cause issues"} 
[2026-07-08 16:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783508415000,"timestamp_ms":1783508415000,"timestamp_seconds":1783508415,"priority":1,"record_length":96,"hex_timestamp":"0000019f4162b218"} 
[2026-07-08 16:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-07-08 16:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578153984001,"66":12428,"102":206,"83":41984,"24":9,"16":4871339022221312,"45":1825998573268578304},"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-07-08 16:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578153984001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:32:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 16:32:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4871339022221312,"km_value":4871339022221.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825998573268578304,"description":"Unknown IO ID 45"} 
[2026-07-08 16:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578153984001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1825998573268578304}} 
[2026-07-08 16:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":127717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:32:06] local.INFO: GPS data processed {"connection_id":127717,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:32:06] local.INFO: Acknowledgment sent {"connection_id":127717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:32:07] local.INFO: TCP Data received {"connection_id":127717,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4162b600012d19590007200bc80043003a2d..."} 
[2026-07-08 16:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4162b600012d19590007200bc80043003a2d..."} 
[2026-07-08 16:32:07] local.INFO: Processing buffer {"connection_id":127717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4162b600012d19590007200bc80043003a2d..."} 
[2026-07-08 16:32:07] local.INFO: Packet analysis {"connection_id":127717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4162"} 
[2026-07-08 16:32:07] local.INFO: Extracted packet for processing {"connection_id":127717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4162"} 
[2026-07-08 16:32:07] local.INFO: GPS Element Parsed {"raw_longitude":756635904,"raw_latitude":119540680,"longitude_deg":75.6635904,"latitude_deg":11.954068,"altitude":67,"angle":58,"satellites":45,"speed":10,"hex_longitude":"2d195900","hex_latitude":"07200bc8","is_valid_coordinates":true} 
[2026-07-08 16:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578154240001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4871351907123200,"note":"Value kept but may cause issues"} 
[2026-07-08 16:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826209679501123584,"note":"Value kept but may cause issues"} 
[2026-07-08 16:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783508416000,"timestamp_ms":1783508416000,"timestamp_seconds":1783508416,"priority":1,"record_length":96,"hex_timestamp":"0000019f4162b600"} 
[2026-07-08 16:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-08 16:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578154240001,"66":12428,"102":206,"83":41984,"24":10,"16":4871351907123200,"45":1826209679501123584},"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-07-08 16:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578154240001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:32:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 16:32:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4871351907123200,"km_value":4871351907123.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826209679501123584,"description":"Unknown IO ID 45"} 
[2026-07-08 16:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578154240001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1826209679501123584}} 
[2026-07-08 16:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":127717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:32:07] local.INFO: GPS data processed {"connection_id":127717,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:32:07] local.INFO: Acknowledgment sent {"connection_id":127717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:32:31] local.INFO: TCP Data received {"connection_id":127718,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127718,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:32:31] local.INFO: Processing buffer {"connection_id":127718,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:32:31] local.INFO: IMEI packet received {"connection_id":127718,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":127718,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:32:32] local.INFO: TCP Data received {"connection_id":125719,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f41609320012d9aa38005781260000c00f82f..."} 
[2026-07-08 16:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41609320012d9aa38005781260000c00f82f..."} 
[2026-07-08 16:32:32] local.INFO: Processing buffer {"connection_id":125719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41609320012d9aa38005781260000c00f82f..."} 
[2026-07-08 16:32:32] local.INFO: Packet analysis {"connection_id":125719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4160"} 
[2026-07-08 16:32:32] local.INFO: Extracted packet for processing {"connection_id":125719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4160"} 
[2026-07-08 16:32:32] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":47,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16: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-07-08 16:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578041600001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:32:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783508276000,"timestamp_ms":1783508276000,"timestamp_seconds":1783508276,"priority":1,"record_length":96,"hex_timestamp":"0000019f41609320"} 
[2026-07-08 16:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 16:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578041600001,"66":25647,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578041600001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:32:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:32:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456578041600001,"power":25647,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":125719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:32:32] local.INFO: GPS data processed {"connection_id":125719,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:32:32] local.INFO: Acknowledgment sent {"connection_id":125719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:32:36] local.INFO: TCP Data received {"connection_id":127718,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127718,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:32:36] local.INFO: Processing buffer {"connection_id":127718,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:32:36] local.INFO: IMEI packet received {"connection_id":127718,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":127718,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:32:37] local.INFO: TCP Data received {"connection_id":125718,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f41638508012d0dc9400706f3700020010625..."} 
[2026-07-08 16:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41638508012d0dc9400706f3700020010625..."} 
[2026-07-08 16:32:37] local.INFO: Processing buffer {"connection_id":125718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41638508012d0dc9400706f3700020010625..."} 
[2026-07-08 16:32:37] local.INFO: Packet analysis {"connection_id":125718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4163"} 
[2026-07-08 16:32:37] local.INFO: Extracted packet for processing {"connection_id":125718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4163"} 
[2026-07-08 16:32:37] local.INFO: GPS Element Parsed {"raw_longitude":755878208,"raw_latitude":117896048,"longitude_deg":75.5878208,"latitude_deg":11.7896048,"altitude":32,"angle":262,"satellites":37,"speed":15,"hex_longitude":"2d0dc940","hex_latitude":"0706f370","is_valid_coordinates":true} 
[2026-07-08 16:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578167808001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23648369104650240,"note":"Value kept but may cause issues"} 
[2026-07-08 16:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":993817804202559488,"note":"Value kept but may cause issues"} 
[2026-07-08 16:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783508469000,"timestamp_ms":1783508469000,"timestamp_seconds":1783508469,"priority":1,"record_length":96,"hex_timestamp":"0000019f41638508"} 
[2026-07-08 16:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-08 16:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125718,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125718,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:32:37] 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-07-08 16:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 16:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 16:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578167808001,"66":14407,"219":206,"94":10240,"24":15,"16":23648369104650240,"45":993817804202559488},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-08 16:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 16:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 16:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578167808001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:32:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-08 16:32:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 16:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23648369104650240,"km_value":23648369104650.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":993817804202559488,"description":"Unknown IO ID 45"} 
[2026-07-08 16:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578167808001,"power":14407,"unknown_219":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":993817804202559488}} 
[2026-07-08 16:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":125718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452421,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:32:37] local.INFO: GPS data processed {"connection_id":125718,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:32:37] local.INFO: Acknowledgment sent {"connection_id":125718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:32:38] local.INFO: TCP Data received {"connection_id":127718,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f41637568012d7b8e4005e40790000c00d527..."} 
[2026-07-08 16:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41637568012d7b8e4005e40790000c00d527..."} 
[2026-07-08 16:32:38] local.INFO: Processing buffer {"connection_id":127718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41637568012d7b8e4005e40790000c00d527..."} 
[2026-07-08 16:32:38] local.INFO: Packet analysis {"connection_id":127718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4163"} 
[2026-07-08 16:32:38] local.INFO: Extracted packet for processing {"connection_id":127718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4163"} 
[2026-07-08 16:32:38] local.INFO: GPS Element Parsed {"raw_longitude":763072064,"raw_latitude":98830224,"longitude_deg":76.3072064,"latitude_deg":9.8830224,"altitude":12,"angle":213,"satellites":39,"speed":41,"hex_longitude":"2d7b8e40","hex_latitude":"05e40790","is_valid_coordinates":true} 
[2026-07-08 16:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578164736001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103763673977192448,"note":"Value kept but may cause issues"} 
[2026-07-08 16:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8908964513171578880,"note":"Value kept but may cause issues"} 
[2026-07-08 16:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783508465000,"timestamp_ms":1783508465000,"timestamp_seconds":1783508465,"priority":1,"record_length":96,"hex_timestamp":"0000019f41637568"} 
[2026-07-08 16:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-08 16:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578164736001,"66":13102,"95":206,"85":15104,"24":41,"16":103763673977192448,"45":8908964513171578880},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-08 16:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578164736001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:32:38] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-08 16:32:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 16:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103763673977192448,"km_value":103763673977192.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8908964513171578880,"description":"Unknown IO ID 45"} 
[2026-07-08 16:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578164736001,"power":13102,"unknown_95":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8908964513171578880}} 
[2026-07-08 16:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":127718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452422,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:32:38] local.INFO: GPS data processed {"connection_id":127718,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:32:38] local.INFO: Acknowledgment sent {"connection_id":127718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:32:38] local.INFO: TCP Data received {"connection_id":127717,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41642148012d196a8007203560003c002526..."} 
[2026-07-08 16:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41642148012d196a8007203560003c002526..."} 
[2026-07-08 16:32:38] local.INFO: Processing buffer {"connection_id":127717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41642148012d196a8007203560003c002526..."} 
[2026-07-08 16:32:38] local.INFO: Packet analysis {"connection_id":127717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4164"} 
[2026-07-08 16:32:38] local.INFO: Extracted packet for processing {"connection_id":127717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4164"} 
[2026-07-08 16:32:38] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119551328,"longitude_deg":75.6640384,"latitude_deg":11.9551328,"altitude":60,"angle":37,"satellites":38,"speed":10,"hex_longitude":"2d196a80","hex_latitude":"07203560","is_valid_coordinates":true} 
[2026-07-08 16:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578177792001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4872013332086784,"note":"Value kept but may cause issues"} 
[2026-07-08 16:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016619513856,"note":"Value kept but may cause issues"} 
[2026-07-08 16:32: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-07-08 16:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783508509000,"timestamp_ms":1783508509000,"timestamp_seconds":1783508509,"priority":1,"record_length":96,"hex_timestamp":"0000019f41642148"} 
[2026-07-08 16:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":131,"data_length":795,"current_offset":136} 
[2026-07-08 16:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578177792001,"66":14189,"103":206,"83":41984,"24":10,"16":4872013332086784,"45":1830854016619513856},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578177792001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:32:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:32:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4872013332086784,"km_value":4872013332086.784,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016619513856,"description":"Unknown IO ID 45"} 
[2026-07-08 16:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578177792001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1830854016619513856}} 
[2026-07-08 16:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":127717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:32:38] local.INFO: GPS data processed {"connection_id":127717,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:32:38] local.INFO: Acknowledgment sent {"connection_id":127717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:32:45] local.INFO: TCP Data received {"connection_id":125612,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125612,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:32:45] local.INFO: Processing buffer {"connection_id":125612,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:32:45] local.INFO: IMEI packet received {"connection_id":125612,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 16:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":125612,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:32:46] local.INFO: TCP Data received {"connection_id":125612,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125612,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:32:46] local.INFO: Processing buffer {"connection_id":125612,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:32:46] local.INFO: IMEI packet received {"connection_id":125612,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 16:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":125612,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:32:47] local.INFO: TCP Data received {"connection_id":125612,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125612,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:32:47] local.INFO: Processing buffer {"connection_id":125612,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:32:47] local.INFO: IMEI packet received {"connection_id":125612,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 16:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":125612,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:32:48] local.INFO: TCP Data received {"connection_id":125612,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125612,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:32:48] local.INFO: Processing buffer {"connection_id":125612,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:32:48] local.INFO: IMEI packet received {"connection_id":125612,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 16:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":125612,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:33:00] local.INFO: TCP Data received {"connection_id":125720,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:33:00] local.INFO: Processing buffer {"connection_id":125720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:33:00] local.INFO: IMEI packet received {"connection_id":125720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":125720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:33:00] local.INFO: TCP Data received {"connection_id":125614,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:33:00] local.INFO: Processing buffer {"connection_id":125614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:33:00] local.INFO: IMEI packet received {"connection_id":125614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":125614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:33:01] local.INFO: TCP Data received {"connection_id":125720,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:33:01] local.INFO: Processing buffer {"connection_id":125720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:33:01] local.INFO: IMEI packet received {"connection_id":125720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":125720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:33:05] local.INFO: TCP Data received {"connection_id":125720,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:33:05] local.INFO: Processing buffer {"connection_id":125720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:33:05] local.INFO: IMEI packet received {"connection_id":125720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":125720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:33:05] local.INFO: TCP Data received {"connection_id":125614,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:33:05] local.INFO: Processing buffer {"connection_id":125614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:33:05] local.INFO: IMEI packet received {"connection_id":125614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":125614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:33:06] local.INFO: TCP Data received {"connection_id":125720,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41642530012d196ac0072036a0003c001126..."} 
[2026-07-08 16:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41642530012d196ac0072036a0003c001126..."} 
[2026-07-08 16:33:06] local.INFO: Processing buffer {"connection_id":125720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41642530012d196ac0072036a0003c001126..."} 
[2026-07-08 16:33:06] local.INFO: Packet analysis {"connection_id":125720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4164"} 
[2026-07-08 16:33:06] local.INFO: Extracted packet for processing {"connection_id":125720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4164"} 
[2026-07-08 16:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119551648,"longitude_deg":75.6640448,"latitude_deg":11.9551648,"altitude":60,"angle":17,"satellites":38,"speed":12,"hex_longitude":"2d196ac0","hex_latitude":"072036a0","is_valid_coordinates":true} 
[2026-07-08 16:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578178304001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4872026216988672,"note":"Value kept but may cause issues"} 
[2026-07-08 16:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966573023232,"note":"Value kept but may cause issues"} 
[2026-07-08 16:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783508510000,"timestamp_ms":1783508510000,"timestamp_seconds":1783508510,"priority":1,"record_length":96,"hex_timestamp":"0000019f41642530"} 
[2026-07-08 16:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-08 16:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578178304001,"66":14189,"103":206,"83":41984,"24":12,"16":4872026216988672,"45":1831416966573023232},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578178304001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:33:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:33:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4872026216988672,"km_value":4872026216988.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966573023232,"description":"Unknown IO ID 45"} 
[2026-07-08 16:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578178304001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1831416966573023232}} 
[2026-07-08 16:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":125720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:33:06] local.INFO: GPS data processed {"connection_id":125720,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:33:06] local.INFO: Acknowledgment sent {"connection_id":125720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:33:06] local.INFO: TCP Data received {"connection_id":125614,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f41609320012d9aa38005781260000c00f82f..."} 
[2026-07-08 16:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41609320012d9aa38005781260000c00f82f..."} 
[2026-07-08 16:33:06] local.INFO: Processing buffer {"connection_id":125614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41609320012d9aa38005781260000c00f82f..."} 
[2026-07-08 16:33:06] local.INFO: Packet analysis {"connection_id":125614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4160"} 
[2026-07-08 16:33:06] local.INFO: Extracted packet for processing {"connection_id":125614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4160"} 
[2026-07-08 16:33:06] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":47,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578041600001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:33:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783508276000,"timestamp_ms":1783508276000,"timestamp_seconds":1783508276,"priority":1,"record_length":96,"hex_timestamp":"0000019f41609320"} 
[2026-07-08 16:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 16:33: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-07-08 16:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578041600001,"66":25647,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578041600001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:33:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:33:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456578041600001,"power":25647,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":125614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:33:06] local.INFO: GPS data processed {"connection_id":125614,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:33:06] local.INFO: Acknowledgment sent {"connection_id":125614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:33:09] local.INFO: TCP Data received {"connection_id":127718,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4164e880012d7b08c005e32ed0000a01651a..."} 
[2026-07-08 16:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4164e880012d7b08c005e32ed0000a01651a..."} 
[2026-07-08 16:33:09] local.INFO: Processing buffer {"connection_id":127718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4164e880012d7b08c005e32ed0000a01651a..."} 
[2026-07-08 16:33:09] local.INFO: Packet analysis {"connection_id":127718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4164"} 
[2026-07-08 16:33:09] local.INFO: Extracted packet for processing {"connection_id":127718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4164"} 
[2026-07-08 16:33:09] local.INFO: GPS Element Parsed {"raw_longitude":763037888,"raw_latitude":98774736,"longitude_deg":76.3037888,"latitude_deg":9.8774736,"altitude":10,"angle":357,"satellites":26,"speed":20,"hex_longitude":"2d7b08c0","hex_latitude":"05e32ed0","is_valid_coordinates":true} 
[2026-07-08 16:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578190336001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103767028346650624,"note":"Value kept but may cause issues"} 
[2026-07-08 16:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865758104229836800,"note":"Value kept but may cause issues"} 
[2026-07-08 16:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783508560000,"timestamp_ms":1783508560000,"timestamp_seconds":1783508560,"priority":1,"record_length":96,"hex_timestamp":"0000019f4164e880"} 
[2026-07-08 16:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-08 16:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":127718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":127718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":127718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:33: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-07-08 16:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578190336001,"66":12765,"95":206,"85":15104,"24":20,"16":103767028346650624,"45":8865758104229836800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-08 16:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578190336001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:33:09] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-08 16:33:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 16:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103767028346650624,"km_value":103767028346650.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865758104229836800,"description":"Unknown IO ID 45"} 
[2026-07-08 16:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578190336001,"power":12765,"unknown_95":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8865758104229836800}} 
[2026-07-08 16:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":127718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452426,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:33:09] local.INFO: GPS data processed {"connection_id":127718,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:33:09] local.INFO: Acknowledgment sent {"connection_id":127718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:33:11] local.INFO: TCP Data received {"connection_id":125614,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f41609320012d9aa38005781260000c00f82f..."} 
[2026-07-08 16:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41609320012d9aa38005781260000c00f82f..."} 
[2026-07-08 16:33:11] local.INFO: Processing buffer {"connection_id":125614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41609320012d9aa38005781260000c00f82f..."} 
[2026-07-08 16:33:11] local.INFO: Packet analysis {"connection_id":125614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4160"} 
[2026-07-08 16:33:11] local.INFO: Extracted packet for processing {"connection_id":125614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4160"} 
[2026-07-08 16:33:11] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":47,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578041600001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:33:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783508276000,"timestamp_ms":1783508276000,"timestamp_seconds":1783508276,"priority":1,"record_length":96,"hex_timestamp":"0000019f41609320"} 
[2026-07-08 16:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 16:33: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-07-08 16:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578041600001,"66":25647,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578041600001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:33:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:33:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456578041600001,"power":25647,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":125614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:33:11] local.INFO: GPS data processed {"connection_id":125614,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:33:11] local.INFO: Acknowledgment sent {"connection_id":125614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:33:31] local.INFO: TCP Data received {"connection_id":125721,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125721,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:33:31] local.INFO: Processing buffer {"connection_id":125721,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:33:31] local.INFO: IMEI packet received {"connection_id":125721,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":125721,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:33:36] local.INFO: TCP Data received {"connection_id":125721,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125721,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:33:36] local.INFO: Processing buffer {"connection_id":125721,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:33:36] local.INFO: IMEI packet received {"connection_id":125721,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":125721,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:33:37] local.INFO: TCP Data received {"connection_id":125721,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f41650f90012d7b060005e34d70000801551f..."} 
[2026-07-08 16:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41650f90012d7b060005e34d70000801551f..."} 
[2026-07-08 16:33:37] local.INFO: Processing buffer {"connection_id":125721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41650f90012d7b060005e34d70000801551f..."} 
[2026-07-08 16:33:37] local.INFO: Packet analysis {"connection_id":125721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4165"} 
[2026-07-08 16:33:37] local.INFO: Extracted packet for processing {"connection_id":125721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4165"} 
[2026-07-08 16:33:37] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98782576,"longitude_deg":76.3037184,"latitude_deg":9.8782576,"altitude":8,"angle":341,"satellites":31,"speed":37,"hex_longitude":"2d7b0600","hex_latitude":"05e34d70","is_valid_coordinates":true} 
[2026-07-08 16:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578191360001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103767410598739968,"note":"Value kept but may cause issues"} 
[2026-07-08 16:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865546997997686784,"note":"Value kept but may cause issues"} 
[2026-07-08 16:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783508570000,"timestamp_ms":1783508570000,"timestamp_seconds":1783508570,"priority":1,"record_length":96,"hex_timestamp":"0000019f41650f90"} 
[2026-07-08 16:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-08 16:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578191360001,"66":13276,"95":206,"85":15104,"24":37,"16":103767410598739968,"45":8865546997997686784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-08 16:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578191360001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:33:37] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-08 16:33:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 16:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103767410598739968,"km_value":103767410598739.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865546997997686784,"description":"Unknown IO ID 45"} 
[2026-07-08 16:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578191360001,"power":13276,"unknown_95":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8865546997997686784}} 
[2026-07-08 16:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":125721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452428,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:33:37] local.INFO: GPS data processed {"connection_id":125721,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:33:37] local.INFO: Acknowledgment sent {"connection_id":125721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:33:37] local.INFO: TCP Data received {"connection_id":125720,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41642918012d196b40072037f0003c000426..."} 
[2026-07-08 16:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41642918012d196b40072037f0003c000426..."} 
[2026-07-08 16:33:37] local.INFO: Processing buffer {"connection_id":125720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41642918012d196b40072037f0003c000426..."} 
[2026-07-08 16:33:37] local.INFO: Packet analysis {"connection_id":125720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4164"} 
[2026-07-08 16:33:37] local.INFO: Extracted packet for processing {"connection_id":125720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4164"} 
[2026-07-08 16:33:37] local.INFO: GPS Element Parsed {"raw_longitude":756640576,"raw_latitude":119551984,"longitude_deg":75.6640576,"latitude_deg":11.9551984,"altitude":60,"angle":4,"satellites":38,"speed":12,"hex_longitude":"2d196b40","hex_latitude":"072037f0","is_valid_coordinates":true} 
[2026-07-08 16:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578178560001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4872043396857856,"note":"Value kept but may cause issues"} 
[2026-07-08 16:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335317282816,"note":"Value kept but may cause issues"} 
[2026-07-08 16:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783508511000,"timestamp_ms":1783508511000,"timestamp_seconds":1783508511,"priority":1,"record_length":96,"hex_timestamp":"0000019f41642918"} 
[2026-07-08 16:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-08 16:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578178560001,"66":13798,"103":206,"83":41984,"24":12,"16":4872043396857856,"45":1831487335317282816},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578178560001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:33:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:33:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4872043396857856,"km_value":4872043396857.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335317282816,"description":"Unknown IO ID 45"} 
[2026-07-08 16:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578178560001,"power":13798,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1831487335317282816}} 
[2026-07-08 16:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":125720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:33:38] local.INFO: GPS data processed {"connection_id":125720,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:33:38] local.INFO: Acknowledgment sent {"connection_id":125720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:33:56] local.INFO: TCP Data received {"connection_id":127720,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:33:56] local.INFO: Processing buffer {"connection_id":127720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:33:56] local.INFO: IMEI packet received {"connection_id":127720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":127720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:34:00] local.INFO: TCP Data received {"connection_id":125615,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:34:00] local.INFO: Processing buffer {"connection_id":125615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:34:00] local.INFO: IMEI packet received {"connection_id":125615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":125615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:34:00] local.INFO: TCP Data received {"connection_id":125615,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:34:00] local.INFO: Processing buffer {"connection_id":125615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:34:00] local.INFO: IMEI packet received {"connection_id":125615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":125615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:34:01] local.INFO: TCP Data received {"connection_id":127720,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:34:01] local.INFO: Processing buffer {"connection_id":127720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:34:01] local.INFO: IMEI packet received {"connection_id":127720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":127720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:34:01] local.INFO: TCP Data received {"connection_id":127720,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41652ae8012d9aa38005781260000c00f826..."} 
[2026-07-08 16:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41652ae8012d9aa38005781260000c00f826..."} 
[2026-07-08 16:34:01] local.INFO: Processing buffer {"connection_id":127720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41652ae8012d9aa38005781260000c00f826..."} 
[2026-07-08 16:34:01] local.INFO: Packet analysis {"connection_id":127720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4165"} 
[2026-07-08 16:34:01] local.INFO: Extracted packet for processing {"connection_id":127720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4165"} 
[2026-07-08 16:34:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":38,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578118656001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:34:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783508577000,"timestamp_ms":1783508577000,"timestamp_seconds":1783508577,"priority":1,"record_length":96,"hex_timestamp":"0000019f41652ae8"} 
[2026-07-08 16:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:34:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 16:34:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:34:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578118656001,"66":25625,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578118656001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:34:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:34:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456578118656001,"power":25625,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":127720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:34:02] local.INFO: GPS data processed {"connection_id":127720,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:34:02] local.INFO: Acknowledgment sent {"connection_id":127720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:34:05] local.INFO: TCP Data received {"connection_id":125615,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:34:05] local.INFO: Processing buffer {"connection_id":125615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:34:05] local.INFO: IMEI packet received {"connection_id":125615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":125615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:34:06] local.INFO: TCP Data received {"connection_id":125615,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41654a28012d194fc0072093d00032015f27..."} 
[2026-07-08 16:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41654a28012d194fc0072093d00032015f27..."} 
[2026-07-08 16:34:06] local.INFO: Processing buffer {"connection_id":125615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41654a28012d194fc0072093d00032015f27..."} 
[2026-07-08 16:34:06] local.INFO: Packet analysis {"connection_id":125615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4165"} 
[2026-07-08 16:34:06] local.INFO: Extracted packet for processing {"connection_id":125615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4165"} 
[2026-07-08 16:34:06] local.INFO: GPS Element Parsed {"raw_longitude":756633536,"raw_latitude":119575504,"longitude_deg":75.6633536,"latitude_deg":11.9575504,"altitude":50,"angle":351,"satellites":39,"speed":12,"hex_longitude":"2d194fc0","hex_latitude":"072093d0","is_valid_coordinates":true} 
[2026-07-08 16:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578197504001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4873301822275584,"note":"Value kept but may cause issues"} 
[2026-07-08 16:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823957879696304128,"note":"Value kept but may cause issues"} 
[2026-07-08 16:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783508585000,"timestamp_ms":1783508585000,"timestamp_seconds":1783508585,"priority":1,"record_length":96,"hex_timestamp":"0000019f41654a28"} 
[2026-07-08 16:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 16:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578197504001,"66":14254,"103":206,"83":41984,"24":12,"16":4873301822275584,"45":1823957879696304128},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578197504001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:34:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:34:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4873301822275584,"km_value":4873301822275.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823957879696304128,"description":"Unknown IO ID 45"} 
[2026-07-08 16:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578197504001,"power":14254,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1823957879696304128}} 
[2026-07-08 16:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":125615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:34:06] local.INFO: GPS data processed {"connection_id":125615,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:34:06] local.INFO: Acknowledgment sent {"connection_id":125615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:34:08] local.INFO: TCP Data received {"connection_id":125721,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f416532b8012d7afac005e370580007015921..."} 
[2026-07-08 16:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416532b8012d7afac005e370580007015921..."} 
[2026-07-08 16:34:08] local.INFO: Processing buffer {"connection_id":125721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416532b8012d7afac005e370580007015921..."} 
[2026-07-08 16:34:08] local.INFO: Packet analysis {"connection_id":125721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4165"} 
[2026-07-08 16:34:08] local.INFO: Extracted packet for processing {"connection_id":125721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4165"} 
[2026-07-08 16:34:08] local.INFO: GPS Element Parsed {"raw_longitude":763034304,"raw_latitude":98791512,"longitude_deg":76.3034304,"latitude_deg":9.8791512,"altitude":7,"angle":345,"satellites":33,"speed":36,"hex_longitude":"2d7afac0","hex_latitude":"05e37058","is_valid_coordinates":true} 
[2026-07-08 16:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578193920001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103767870160240640,"note":"Value kept but may cause issues"} 
[2026-07-08 16:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941813739520,"note":"Value kept but may cause issues"} 
[2026-07-08 16:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783508579000,"timestamp_ms":1783508579000,"timestamp_seconds":1783508579,"priority":1,"record_length":96,"hex_timestamp":"0000019f416532b8"} 
[2026-07-08 16:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-08 16:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578193920001,"66":13254,"95":206,"85":15104,"24":36,"16":103767870160240640,"45":8864772941813739520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-08 16:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578193920001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:34:08] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-08 16:34:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 16:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103767870160240640,"km_value":103767870160240.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941813739520,"description":"Unknown IO ID 45"} 
[2026-07-08 16:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578193920001,"power":13254,"unknown_95":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8864772941813739520}} 
[2026-07-08 16:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":125721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452432,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:34:08] local.INFO: GPS data processed {"connection_id":125721,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:34:08] local.INFO: Acknowledgment sent {"connection_id":125721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:34:31] local.INFO: TCP Data received {"connection_id":126488,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:34:31] local.INFO: Processing buffer {"connection_id":126488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:34:31] local.INFO: IMEI packet received {"connection_id":126488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":126488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:34:34] local.INFO: TCP Data received {"connection_id":127720,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41652ae8012d9aa38005781260000c00f826..."} 
[2026-07-08 16:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41652ae8012d9aa38005781260000c00f826..."} 
[2026-07-08 16:34:34] local.INFO: Processing buffer {"connection_id":127720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41652ae8012d9aa38005781260000c00f826..."} 
[2026-07-08 16:34:34] local.INFO: Packet analysis {"connection_id":127720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4165"} 
[2026-07-08 16:34:34] local.INFO: Extracted packet for processing {"connection_id":127720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4165"} 
[2026-07-08 16:34:34] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":38,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578118656001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:34:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783508577000,"timestamp_ms":1783508577000,"timestamp_seconds":1783508577,"priority":1,"record_length":96,"hex_timestamp":"0000019f41652ae8"} 
[2026-07-08 16:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 16:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578118656001,"66":25625,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578118656001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:34:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:34:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456578118656001,"power":25625,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":127720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:34:34] local.INFO: GPS data processed {"connection_id":127720,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:34:34] local.INFO: Acknowledgment sent {"connection_id":127720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:34:36] local.INFO: TCP Data received {"connection_id":126488,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:34:36] local.INFO: Processing buffer {"connection_id":126488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:34:36] local.INFO: IMEI packet received {"connection_id":126488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":126488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:34:37] local.INFO: TCP Data received {"connection_id":125615,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4165d6c8012d1949c00720abd00035011d29..."} 
[2026-07-08 16:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4165d6c8012d1949c00720abd00035011d29..."} 
[2026-07-08 16:34:37] local.INFO: Processing buffer {"connection_id":125615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4165d6c8012d1949c00720abd00035011d29..."} 
[2026-07-08 16:34:37] local.INFO: Packet analysis {"connection_id":125615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4165"} 
[2026-07-08 16:34:37] local.INFO: Extracted packet for processing {"connection_id":125615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4165"} 
[2026-07-08 16:34:37] local.INFO: GPS Element Parsed {"raw_longitude":756632000,"raw_latitude":119581648,"longitude_deg":75.6632,"latitude_deg":11.9581648,"altitude":53,"angle":285,"satellites":41,"speed":22,"hex_longitude":"2d1949c0","hex_latitude":"0720abd0","is_valid_coordinates":true} 
[2026-07-08 16:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578204928001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4873838693187584,"note":"Value kept but may cause issues"} 
[2026-07-08 16:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826209679511523328,"note":"Value kept but may cause issues"} 
[2026-07-08 16:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783508621000,"timestamp_ms":1783508621000,"timestamp_seconds":1783508621,"priority":1,"record_length":96,"hex_timestamp":"0000019f4165d6c8"} 
[2026-07-08 16:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-08 16:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578204928001,"66":14428,"103":206,"83":41984,"24":22,"16":4873838693187584,"45":1826209679511523328},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578204928001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:34:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:34:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4873838693187584,"km_value":4873838693187.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826209679511523328,"description":"Unknown IO ID 45"} 
[2026-07-08 16:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578204928001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1826209679511523328}} 
[2026-07-08 16:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":125615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:34:37] local.INFO: GPS data processed {"connection_id":125615,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:34:37] local.INFO: Acknowledgment sent {"connection_id":125615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:34:37] local.INFO: TCP Data received {"connection_id":126488,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f416551f8012d7af3c005e383900006014b29..."} 
[2026-07-08 16:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416551f8012d7af3c005e383900006014b29..."} 
[2026-07-08 16:34:37] local.INFO: Processing buffer {"connection_id":126488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416551f8012d7af3c005e383900006014b29..."} 
[2026-07-08 16:34:37] local.INFO: Packet analysis {"connection_id":126488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4165"} 
[2026-07-08 16:34:37] local.INFO: Extracted packet for processing {"connection_id":126488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4165"} 
[2026-07-08 16:34:37] local.INFO: GPS Element Parsed {"raw_longitude":763032512,"raw_latitude":98796432,"longitude_deg":76.3032512,"latitude_deg":9.8796432,"altitude":6,"angle":331,"satellites":41,"speed":6,"hex_longitude":"2d7af3c0","hex_latitude":"05e38390","is_valid_coordinates":true} 
[2026-07-08 16:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578196224001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103768119268343808,"note":"Value kept but may cause issues"} 
[2026-07-08 16:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8861606348328032256,"note":"Value kept but may cause issues"} 
[2026-07-08 16:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783508587000,"timestamp_ms":1783508587000,"timestamp_seconds":1783508587,"priority":1,"record_length":96,"hex_timestamp":"0000019f416551f8"} 
[2026-07-08 16:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-08 16:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578196224001,"66":13243,"95":206,"85":15104,"24":6,"16":103768119268343808,"45":8861606348328032256},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-08 16:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578196224001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:34:37] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-08 16:34:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 16:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103768119268343808,"km_value":103768119268343.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8861606348328032256,"description":"Unknown IO ID 45"} 
[2026-07-08 16:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578196224001,"power":13243,"unknown_95":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8861606348328032256}} 
[2026-07-08 16:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":126488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452435,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:34:37] local.INFO: GPS data processed {"connection_id":126488,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:34:37] local.INFO: Acknowledgment sent {"connection_id":126488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:34:55] local.INFO: TCP Data received {"connection_id":127721,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:34:55] local.INFO: Processing buffer {"connection_id":127721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:34:55] local.INFO: IMEI packet received {"connection_id":127721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":127721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:35:00] local.INFO: TCP Data received {"connection_id":125616,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:35:00] local.INFO: Processing buffer {"connection_id":125616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:35:00] local.INFO: IMEI packet received {"connection_id":125616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":125616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:35:00] local.INFO: TCP Data received {"connection_id":127721,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:35:00] local.INFO: Processing buffer {"connection_id":127721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:35:00] local.INFO: IMEI packet received {"connection_id":127721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":127721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:35:01] local.INFO: TCP Data received {"connection_id":125723,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:35:01] local.INFO: Processing buffer {"connection_id":125723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:35:01] local.INFO: IMEI packet received {"connection_id":125723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 16:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":125723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:35:01] local.INFO: TCP Data received {"connection_id":127721,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f41652ae8012d9aa38005781260000c00f826..."} 
[2026-07-08 16:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41652ae8012d9aa38005781260000c00f826..."} 
[2026-07-08 16:35:01] local.INFO: Processing buffer {"connection_id":127721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41652ae8012d9aa38005781260000c00f826..."} 
[2026-07-08 16:35:01] local.INFO: Packet analysis {"connection_id":127721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4165"} 
[2026-07-08 16:35:01] local.INFO: Extracted packet for processing {"connection_id":127721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4165"} 
[2026-07-08 16:35:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":38,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578118656001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:35:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783508577000,"timestamp_ms":1783508577000,"timestamp_seconds":1783508577,"priority":1,"record_length":96,"hex_timestamp":"0000019f41652ae8"} 
[2026-07-08 16:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 16:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578118656001,"66":25625,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578118656001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:35:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:35:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456578118656001,"power":25625,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":127721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:35:01] local.INFO: GPS data processed {"connection_id":127721,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:35:01] local.INFO: Acknowledgment sent {"connection_id":127721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:35:03] local.INFO: TCP Data received {"connection_id":125616,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:35:03] local.INFO: Processing buffer {"connection_id":125616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:35:03] local.INFO: IMEI packet received {"connection_id":125616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":125616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:35:04] local.INFO: TCP Data received {"connection_id":125616,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:35:04] local.INFO: Processing buffer {"connection_id":125616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:35:04] local.INFO: IMEI packet received {"connection_id":125616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":125616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:35:05] local.INFO: TCP Data received {"connection_id":125616,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:35:05] local.INFO: Processing buffer {"connection_id":125616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:35:05] local.INFO: IMEI packet received {"connection_id":125616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":125616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:35:05] local.INFO: TCP Data received {"connection_id":125616,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4165e668012d193ec00720b0000034012929..."} 
[2026-07-08 16:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4165e668012d193ec00720b0000034012929..."} 
[2026-07-08 16:35:05] local.INFO: Processing buffer {"connection_id":125616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4165e668012d193ec00720b0000034012929..."} 
[2026-07-08 16:35:05] local.INFO: Packet analysis {"connection_id":125616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4165"} 
[2026-07-08 16:35:05] local.INFO: Extracted packet for processing {"connection_id":125616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4165"} 
[2026-07-08 16:35:05] local.INFO: GPS Element Parsed {"raw_longitude":756629184,"raw_latitude":119582720,"longitude_deg":75.6629184,"latitude_deg":11.958272,"altitude":52,"angle":297,"satellites":41,"speed":32,"hex_longitude":"2d193ec0","hex_latitude":"0720b000","is_valid_coordinates":true} 
[2026-07-08 16:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578206976001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4873984722075648,"note":"Value kept but may cause issues"} 
[2026-07-08 16:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1822198661093511168,"note":"Value kept but may cause issues"} 
[2026-07-08 16:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783508625000,"timestamp_ms":1783508625000,"timestamp_seconds":1783508625,"priority":1,"record_length":96,"hex_timestamp":"0000019f4165e668"} 
[2026-07-08 16:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 16:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578206976001,"66":14070,"103":206,"83":41984,"24":32,"16":4873984722075648,"45":1822198661093511168},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578206976001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:35:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:35:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4873984722075648,"km_value":4873984722075.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1822198661093511168,"description":"Unknown IO ID 45"} 
[2026-07-08 16:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578206976001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1822198661093511168}} 
[2026-07-08 16:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":125616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:35:05] local.INFO: GPS data processed {"connection_id":125616,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:35:05] local.INFO: Acknowledgment sent {"connection_id":125616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:35:08] local.INFO: TCP Data received {"connection_id":126488,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f41671330012d7acb8005e410100007013628..."} 
[2026-07-08 16:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41671330012d7acb8005e410100007013628..."} 
[2026-07-08 16:35:08] local.INFO: Processing buffer {"connection_id":126488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41671330012d7acb8005e410100007013628..."} 
[2026-07-08 16:35:08] local.INFO: Packet analysis {"connection_id":126488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4167"} 
[2026-07-08 16:35:08] local.INFO: Extracted packet for processing {"connection_id":126488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4167"} 
[2026-07-08 16:35:08] local.INFO: GPS Element Parsed {"raw_longitude":763022208,"raw_latitude":98832400,"longitude_deg":76.3022208,"latitude_deg":9.88324,"altitude":7,"angle":310,"satellites":40,"speed":12,"hex_longitude":"2d7acb80","hex_latitude":"05e41010","is_valid_coordinates":true} 
[2026-07-08 16:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578227456001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103769948924411904,"note":"Value kept but may cause issues"} 
[2026-07-08 16:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848588130665568256,"note":"Value kept but may cause issues"} 
[2026-07-08 16:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783508702000,"timestamp_ms":1783508702000,"timestamp_seconds":1783508702,"priority":1,"record_length":96,"hex_timestamp":"0000019f41671330"} 
[2026-07-08 16:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:35: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-07-08 16:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 16:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166284418470,"note":"Value kept but may cause issues"} 
[2026-07-08 16:35:08] local.WARNING: Large IO value detected {"io_id":97,"raw_value":58077557095399451,"note":"Value kept but may cause issues"} 
[2026-07-08 16:35:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 16:35:08] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":55297,"corrected_to":0} 
[2026-07-08 16:35:08] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3689938953,"note":"Value kept but may cause issues"} 
[2026-07-08 16:35:08] local.WARNING: Large IO value detected {"io_id":169,"raw_value":2650800128,"note":"Value kept but may cause issues"} 
[2026-07-08 16:35:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-07-08 16:35:08] local.WARNING: Large IO value detected {"io_id":95,"raw_value":2147560826,"note":"Value kept but may cause issues"} 
[2026-07-08 16:35:08] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":459095,"corrected_to":0} 
[2026-07-08 16:35:08] local.WARNING: Large IO value detected {"io_id":112,"raw_value":2841378816,"note":"Value kept but may cause issues"} 
[2026-07-08 16:35:08] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,97,85,24,241,157,16,170,159,11,45,128,13,8,39,10,66,247,43,185,192,1,240,111,227,169,65,4,113,205,95,222,200,42,239,50,2,112,5,27],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":247,"original":55297,"validated":0},{"io_id":205,"original":2791375054,"validated":0},{"io_id":200,"original":459095,"validated":0}]} 
[2026-07-08 16:35:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504757372809314304,"timestamp_seconds":504757372809314.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 16:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578227456001,"66":13059,"97":206,"85":15104,"24":12,"16":103769948924411904,"45":8848588130665568256},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-08 16:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578227456001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:35:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-08 16:35:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 16:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103769948924411904,"km_value":103769948924411.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848588130665568256,"description":"Unknown IO ID 45"} 
[2026-07-08 16:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578227456001,"power":13059,"unknown_97":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8848588130665568256}} 
[2026-07-08 16:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":126488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452438,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:35:08] local.INFO: GPS data processed {"connection_id":126488,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:35:08] local.INFO: Acknowledgment sent {"connection_id":126488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:35:31] local.INFO: TCP Data received {"connection_id":125724,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125724,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:35:31] local.INFO: Processing buffer {"connection_id":125724,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:35:31] local.INFO: IMEI packet received {"connection_id":125724,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":125724,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:35:32] local.INFO: TCP Data received {"connection_id":125724,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125724,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:35:32] local.INFO: Processing buffer {"connection_id":125724,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:35:32] local.INFO: IMEI packet received {"connection_id":125724,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":125724,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:35:33] local.INFO: TCP Data received {"connection_id":127721,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f41652ae8012d9aa38005781260000c00f826..."} 
[2026-07-08 16:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41652ae8012d9aa38005781260000c00f826..."} 
[2026-07-08 16:35:33] local.INFO: Processing buffer {"connection_id":127721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41652ae8012d9aa38005781260000c00f826..."} 
[2026-07-08 16:35:33] local.INFO: Packet analysis {"connection_id":127721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4165"} 
[2026-07-08 16:35:33] local.INFO: Extracted packet for processing {"connection_id":127721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4165"} 
[2026-07-08 16:35:33] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":38,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578118656001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:35:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783508577000,"timestamp_ms":1783508577000,"timestamp_seconds":1783508577,"priority":1,"record_length":96,"hex_timestamp":"0000019f41652ae8"} 
[2026-07-08 16:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 16:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:35:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578118656001,"66":25625,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578118656001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:35:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:35:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456578118656001,"power":25625,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":127721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:35:33] local.INFO: GPS data processed {"connection_id":127721,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:35:33] local.INFO: Acknowledgment sent {"connection_id":127721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:35:36] local.INFO: TCP Data received {"connection_id":125724,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125724,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:35:36] local.INFO: Processing buffer {"connection_id":125724,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:35:36] local.INFO: IMEI packet received {"connection_id":125724,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":125724,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:35:36] local.INFO: TCP Data received {"connection_id":125616,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41660990012d191f400720c0500033012229..."} 
[2026-07-08 16:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41660990012d191f400720c0500033012229..."} 
[2026-07-08 16:35:36] local.INFO: Processing buffer {"connection_id":125616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41660990012d191f400720c0500033012229..."} 
[2026-07-08 16:35:36] local.INFO: Packet analysis {"connection_id":125616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4166"} 
[2026-07-08 16:35:36] local.INFO: Extracted packet for processing {"connection_id":125616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4166"} 
[2026-07-08 16:35:36] local.INFO: GPS Element Parsed {"raw_longitude":756621120,"raw_latitude":119586896,"longitude_deg":75.662112,"latitude_deg":11.9586896,"altitude":51,"angle":290,"satellites":41,"speed":42,"hex_longitude":"2d191f40","hex_latitude":"0720c050","is_valid_coordinates":true} 
[2026-07-08 16:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578208000001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4874418513772544,"note":"Value kept but may cause issues"} 
[2026-07-08 16:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819102436349968384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783508634000,"timestamp_ms":1783508634000,"timestamp_seconds":1783508634,"priority":1,"record_length":96,"hex_timestamp":"0000019f41660990"} 
[2026-07-08 16:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-08 16:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578208000001,"66":13450,"103":206,"83":41984,"24":42,"16":4874418513772544,"45":1819102436349968384},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578208000001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:35:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:35:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4874418513772544,"km_value":4874418513772.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819102436349968384,"description":"Unknown IO ID 45"} 
[2026-07-08 16:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578208000001,"power":13450,"unknown_103":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1819102436349968384}} 
[2026-07-08 16:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":125616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:35:36] local.INFO: GPS data processed {"connection_id":125616,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:35:36] local.INFO: Acknowledgment sent {"connection_id":125616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:35:37] local.INFO: TCP Data received {"connection_id":125724,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f41671718012d7acac005e410a00007012528..."} 
[2026-07-08 16:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41671718012d7acac005e410a00007012528..."} 
[2026-07-08 16:35:37] local.INFO: Processing buffer {"connection_id":125724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41671718012d7acac005e410a00007012528..."} 
[2026-07-08 16:35:37] local.INFO: Packet analysis {"connection_id":125724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4167"} 
[2026-07-08 16:35:37] local.INFO: Extracted packet for processing {"connection_id":125724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4167"} 
[2026-07-08 16:35:37] local.INFO: GPS Element Parsed {"raw_longitude":763022016,"raw_latitude":98832544,"longitude_deg":76.3022016,"latitude_deg":9.8832544,"altitude":7,"angle":293,"satellites":40,"speed":9,"hex_longitude":"2d7acac0","hex_latitude":"05e410a0","is_valid_coordinates":true} 
[2026-07-08 16:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578227712001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103769961809313792,"note":"Value kept but may cause issues"} 
[2026-07-08 16:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848306655688921088,"note":"Value kept but may cause issues"} 
[2026-07-08 16:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783508703000,"timestamp_ms":1783508703000,"timestamp_seconds":1783508703,"priority":1,"record_length":96,"hex_timestamp":"0000019f41671718"} 
[2026-07-08 16:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 16:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160445947302,"note":"Value kept but may cause issues"} 
[2026-07-08 16:35:37] local.WARNING: Large IO value detected {"io_id":97,"raw_value":58077557095399463,"note":"Value kept but may cause issues"} 
[2026-07-08 16:35:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 16:35:37] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":55297,"corrected_to":0} 
[2026-07-08 16:35:37] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3703046151,"note":"Value kept but may cause issues"} 
[2026-07-08 16:35:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-07-08 16:35:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3821455360,"note":"Value kept but may cause issues"} 
[2026-07-08 16:35:37] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2684431738,"note":"Value kept but may cause issues"} 
[2026-07-08 16:35:37] local.WARNING: Large IO value detected {"io_id":215,"raw_value":3221611483,"note":"Value kept but may cause issues"} 
[2026-07-08 16:35:37] local.WARNING: Large IO value detected {"io_id":112,"raw_value":2845573120,"note":"Value kept but may cause issues"} 
[2026-07-08 16:35:37] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,97,85,24,241,157,16,170,159,15,45,128,7,40,10,66,11,13,8,39,247,1,240,227,65,4,113,205,5,173,215,41,239,51,2,112],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":247,"original":55297,"validated":0},{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-07-08 16:35:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504744178669584384,"timestamp_seconds":504744178669584.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 16:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578227712001,"66":13048,"97":206,"85":15104,"24":9,"16":103769961809313792,"45":8848306655688921088},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-08 16:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578227712001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:35:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-08 16:35:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 16:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103769961809313792,"km_value":103769961809313.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848306655688921088,"description":"Unknown IO ID 45"} 
[2026-07-08 16:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578227712001,"power":13048,"unknown_97":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8848306655688921088}} 
[2026-07-08 16:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":125724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452441,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:35:37] local.INFO: GPS data processed {"connection_id":125724,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:35:37] local.INFO: Acknowledgment sent {"connection_id":125724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:35:55] local.INFO: TCP Data received {"connection_id":127722,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:35:55] local.INFO: Processing buffer {"connection_id":127722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:35:55] local.INFO: IMEI packet received {"connection_id":127722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":127722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:36:00] local.INFO: TCP Data received {"connection_id":127722,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:36:00] local.INFO: Processing buffer {"connection_id":127722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:36:00] local.INFO: IMEI packet received {"connection_id":127722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":127722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:36:01] local.INFO: TCP Data received {"connection_id":127722,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f41652ae8012d9aa38005781260000c00f826..."} 
[2026-07-08 16:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41652ae8012d9aa38005781260000c00f826..."} 
[2026-07-08 16:36:01] local.INFO: Processing buffer {"connection_id":127722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41652ae8012d9aa38005781260000c00f826..."} 
[2026-07-08 16:36:01] local.INFO: Packet analysis {"connection_id":127722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4165"} 
[2026-07-08 16:36:01] local.INFO: Extracted packet for processing {"connection_id":127722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4165"} 
[2026-07-08 16:36:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":38,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578118656001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:36:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783508577000,"timestamp_ms":1783508577000,"timestamp_seconds":1783508577,"priority":1,"record_length":96,"hex_timestamp":"0000019f41652ae8"} 
[2026-07-08 16:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 16:36:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:36:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578118656001,"66":25625,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578118656001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:36:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:36:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456578118656001,"power":25625,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":127722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:36:01] local.INFO: GPS data processed {"connection_id":127722,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:36:01] local.INFO: Acknowledgment sent {"connection_id":127722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:36:05] local.INFO: TCP Data received {"connection_id":125618,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:36:05] local.INFO: Processing buffer {"connection_id":125618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:36:05] local.INFO: IMEI packet received {"connection_id":125618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":125618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:36:07] local.INFO: TCP Data received {"connection_id":125618,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:36:07] local.INFO: Processing buffer {"connection_id":125618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:36:07] local.INFO: IMEI packet received {"connection_id":125618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":125618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:36:07] local.INFO: TCP Data received {"connection_id":125618,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41662100012d190a400720c9e00034012d2b..."} 
[2026-07-08 16:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41662100012d190a400720c9e00034012d2b..."} 
[2026-07-08 16:36:07] local.INFO: Processing buffer {"connection_id":125618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41662100012d190a400720c9e00034012d2b..."} 
[2026-07-08 16:36:07] local.INFO: Packet analysis {"connection_id":125618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4166"} 
[2026-07-08 16:36:07] local.INFO: Extracted packet for processing {"connection_id":125618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4166"} 
[2026-07-08 16:36:07] local.INFO: GPS Element Parsed {"raw_longitude":756615744,"raw_latitude":119589344,"longitude_deg":75.6615744,"latitude_deg":11.9589344,"altitude":52,"angle":301,"satellites":43,"speed":33,"hex_longitude":"2d190a40","hex_latitude":"0720c9e0","is_valid_coordinates":true} 
[2026-07-08 16:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578210304001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4874701981614080,"note":"Value kept but may cause issues"} 
[2026-07-08 16:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1810235974584651776,"note":"Value kept but may cause issues"} 
[2026-07-08 16:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783508640000,"timestamp_ms":1783508640000,"timestamp_seconds":1783508640,"priority":1,"record_length":96,"hex_timestamp":"0000019f41662100"} 
[2026-07-08 16:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-08 16:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578210304001,"66":13080,"103":206,"83":41984,"24":33,"16":4874701981614080,"45":1810235974584651776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578210304001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:36:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:36:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4874701981614080,"km_value":4874701981614.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1810235974584651776,"description":"Unknown IO ID 45"} 
[2026-07-08 16:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578210304001,"power":13080,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1810235974584651776}} 
[2026-07-08 16:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":125618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:36:08] local.INFO: GPS data processed {"connection_id":125618,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:36:08] local.INFO: Acknowledgment sent {"connection_id":125618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:36:08] local.INFO: TCP Data received {"connection_id":125724,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f41671b00012d7ac9c005e410c00007010e27..."} 
[2026-07-08 16:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41671b00012d7ac9c005e410c00007010e27..."} 
[2026-07-08 16:36:08] local.INFO: Processing buffer {"connection_id":125724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41671b00012d7ac9c005e410c00007010e27..."} 
[2026-07-08 16:36:08] local.INFO: Packet analysis {"connection_id":125724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4167"} 
[2026-07-08 16:36:08] local.INFO: Extracted packet for processing {"connection_id":125724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4167"} 
[2026-07-08 16:36:08] local.INFO: GPS Element Parsed {"raw_longitude":763021760,"raw_latitude":98832576,"longitude_deg":76.302176,"latitude_deg":9.8832576,"altitude":7,"angle":270,"satellites":39,"speed":10,"hex_longitude":"2d7ac9c0","hex_latitude":"05e410c0","is_valid_coordinates":true} 
[2026-07-08 16:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578227968001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103769970399248384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848095549456424960,"note":"Value kept but may cause issues"} 
[2026-07-08 16:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783508704000,"timestamp_ms":1783508704000,"timestamp_seconds":1783508704,"priority":1,"record_length":96,"hex_timestamp":"0000019f41671b00"} 
[2026-07-08 16:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:36: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-07-08 16: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-08 16:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578227968001,"66":13048,"97":206,"85":15104,"24":10,"16":103769970399248384,"45":8848095549456424960},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-08 16:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578227968001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:36:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-08 16:36:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 16:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103769970399248384,"km_value":103769970399248.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848095549456424960,"description":"Unknown IO ID 45"} 
[2026-07-08 16:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578227968001,"power":13048,"unknown_97":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8848095549456424960}} 
[2026-07-08 16:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":125724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452444,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:36:08] local.INFO: GPS data processed {"connection_id":125724,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:36:08] local.INFO: Acknowledgment sent {"connection_id":125724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:36:31] local.INFO: TCP Data received {"connection_id":125725,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:36:31] local.INFO: Processing buffer {"connection_id":125725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:36:31] local.INFO: IMEI packet received {"connection_id":125725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":125725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:36:32] local.INFO: TCP Data received {"connection_id":125725,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:36:32] local.INFO: Processing buffer {"connection_id":125725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:36:32] local.INFO: IMEI packet received {"connection_id":125725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":125725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:36:32] local.INFO: TCP Data received {"connection_id":127722,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f41652ae8012d9aa38005781260000c00f826..."} 
[2026-07-08 16:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41652ae8012d9aa38005781260000c00f826..."} 
[2026-07-08 16:36:32] local.INFO: Processing buffer {"connection_id":127722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41652ae8012d9aa38005781260000c00f826..."} 
[2026-07-08 16:36:32] local.INFO: Packet analysis {"connection_id":127722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4165"} 
[2026-07-08 16:36:32] local.INFO: Extracted packet for processing {"connection_id":127722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4165"} 
[2026-07-08 16:36:32] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":38,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578118656001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:36:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783508577000,"timestamp_ms":1783508577000,"timestamp_seconds":1783508577,"priority":1,"record_length":96,"hex_timestamp":"0000019f41652ae8"} 
[2026-07-08 16:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 16:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578118656001,"66":25625,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578118656001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:36:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:36:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456578118656001,"power":25625,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":127722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:36:32] local.INFO: GPS data processed {"connection_id":127722,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:36:32] local.INFO: Acknowledgment sent {"connection_id":127722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:36:39] local.INFO: TCP Data received {"connection_id":125618,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41664810012d18f2400720dba00036013c29..."} 
[2026-07-08 16:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41664810012d18f2400720dba00036013c29..."} 
[2026-07-08 16:36:39] local.INFO: Processing buffer {"connection_id":125618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41664810012d18f2400720dba00036013c29..."} 
[2026-07-08 16:36:39] local.INFO: Packet analysis {"connection_id":125618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4166"} 
[2026-07-08 16:36:39] local.INFO: Extracted packet for processing {"connection_id":125618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4166"} 
[2026-07-08 16:36:39] local.INFO: GPS Element Parsed {"raw_longitude":756609600,"raw_latitude":119593888,"longitude_deg":75.66096,"latitude_deg":11.9593888,"altitude":54,"angle":316,"satellites":41,"speed":32,"hex_longitude":"2d18f240","hex_latitude":"0720dba0","is_valid_coordinates":true} 
[2026-07-08 16:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578211840001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4875067053834240,"note":"Value kept but may cause issues"} 
[2026-07-08 16:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1804325000074354688,"note":"Value kept but may cause issues"} 
[2026-07-08 16:36: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-07-08 16:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783508650000,"timestamp_ms":1783508650000,"timestamp_seconds":1783508650,"priority":1,"record_length":96,"hex_timestamp":"0000019f41664810"} 
[2026-07-08 16:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-08 16:36: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-07-08 16:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578211840001,"66":12982,"103":206,"83":41984,"24":32,"16":4875067053834240,"45":1804325000074354688},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578211840001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:36:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:36:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4875067053834240,"km_value":4875067053834.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1804325000074354688,"description":"Unknown IO ID 45"} 
[2026-07-08 16:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578211840001,"power":12982,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1804325000074354688}} 
[2026-07-08 16:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":125618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:36:39] local.INFO: GPS data processed {"connection_id":125618,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:36:39] local.INFO: Acknowledgment sent {"connection_id":125618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:36:39] local.INFO: TCP Data received {"connection_id":125725,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:36:39] local.INFO: Processing buffer {"connection_id":125725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:36:39] local.INFO: IMEI packet received {"connection_id":125725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":125725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:36:40] local.INFO: TCP Data received {"connection_id":125725,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f41673270012d7ac08005e40f580008010227..."} 
[2026-07-08 16:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41673270012d7ac08005e40f580008010227..."} 
[2026-07-08 16:36:40] local.INFO: Processing buffer {"connection_id":125725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41673270012d7ac08005e40f580008010227..."} 
[2026-07-08 16:36:40] local.INFO: Packet analysis {"connection_id":125725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4167"} 
[2026-07-08 16:36:40] local.INFO: Extracted packet for processing {"connection_id":125725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4167"} 
[2026-07-08 16:36:40] local.INFO: GPS Element Parsed {"raw_longitude":763019392,"raw_latitude":98832216,"longitude_deg":76.3019392,"latitude_deg":9.8832216,"altitude":8,"angle":258,"satellites":39,"speed":20,"hex_longitude":"2d7ac080","hex_latitude":"05e40f58","is_valid_coordinates":true} 
[2026-07-08 16:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578228224001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103770086363365376,"note":"Value kept but may cause issues"} 
[2026-07-08 16:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847814074479722496,"note":"Value kept but may cause issues"} 
[2026-07-08 16:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783508710000,"timestamp_ms":1783508710000,"timestamp_seconds":1783508710,"priority":1,"record_length":96,"hex_timestamp":"0000019f41673270"} 
[2026-07-08 16:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-08 16:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578228224001,"66":12993,"97":206,"85":15104,"24":20,"16":103770086363365376,"45":8847814074479722496},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-08 16:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578228224001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:36:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-08 16:36:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 16:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103770086363365376,"km_value":103770086363365.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847814074479722496,"description":"Unknown IO ID 45"} 
[2026-07-08 16:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578228224001,"power":12993,"unknown_97":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8847814074479722496}} 
[2026-07-08 16:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":125725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452447,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:36:41] local.INFO: GPS data processed {"connection_id":125725,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:36:41] local.INFO: Acknowledgment sent {"connection_id":125725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:36:41] local.INFO: TCP Data received {"connection_id":125725,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f41678090012d7a9f8005e40a500007010a28..."} 
[2026-07-08 16:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41678090012d7a9f8005e40a500007010a28..."} 
[2026-07-08 16:36:41] local.INFO: Processing buffer {"connection_id":125725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41678090012d7a9f8005e40a500007010a28..."} 
[2026-07-08 16:36:41] local.INFO: Packet analysis {"connection_id":125725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4167"} 
[2026-07-08 16:36:41] local.INFO: Extracted packet for processing {"connection_id":125725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4167"} 
[2026-07-08 16:36:41] local.INFO: GPS Element Parsed {"raw_longitude":763010944,"raw_latitude":98830928,"longitude_deg":76.3010944,"latitude_deg":9.8830928,"altitude":7,"angle":266,"satellites":40,"speed":8,"hex_longitude":"2d7a9f80","hex_latitude":"05e40a50","is_valid_coordinates":true} 
[2026-07-08 16: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-07-08 16:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578229760001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103770494385258496,"note":"Value kept but may cause issues"} 
[2026-07-08 16:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8845210430945056768,"note":"Value kept but may cause issues"} 
[2026-07-08 16:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783508730000,"timestamp_ms":1783508730000,"timestamp_seconds":1783508730,"priority":1,"record_length":96,"hex_timestamp":"0000019f41678090"} 
[2026-07-08 16:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-08 16:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578229760001,"66":12939,"97":206,"85":15104,"24":8,"16":103770494385258496,"45":8845210430945056768},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-08 16:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578229760001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:36:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-08 16:36:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 16:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103770494385258496,"km_value":103770494385258.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8845210430945056768,"description":"Unknown IO ID 45"} 
[2026-07-08 16:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578229760001,"power":12939,"unknown_97":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8845210430945056768}} 
[2026-07-08 16:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":125725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452448,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:36:41] local.INFO: GPS data processed {"connection_id":125725,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:36:41] local.INFO: Acknowledgment sent {"connection_id":125725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:37:00] local.INFO: TCP Data received {"connection_id":127724,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:37:00] local.INFO: Processing buffer {"connection_id":127724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:37:00] local.INFO: IMEI packet received {"connection_id":127724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":127724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:37:00] local.INFO: TCP Data received {"connection_id":126491,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:37:00] local.INFO: Processing buffer {"connection_id":126491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:37:00] local.INFO: IMEI packet received {"connection_id":126491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":126491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:37:05] local.INFO: TCP Data received {"connection_id":127724,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:37:05] local.INFO: Processing buffer {"connection_id":127724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:37:05] local.INFO: IMEI packet received {"connection_id":127724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":127724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:37:05] local.INFO: TCP Data received {"connection_id":127724,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f416653c8012d18ec800720e3c8003701492a..."} 
[2026-07-08 16:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416653c8012d18ec800720e3c8003701492a..."} 
[2026-07-08 16:37:05] local.INFO: Processing buffer {"connection_id":127724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416653c8012d18ec800720e3c8003701492a..."} 
[2026-07-08 16:37:05] local.INFO: Packet analysis {"connection_id":127724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4166"} 
[2026-07-08 16:37:05] local.INFO: Extracted packet for processing {"connection_id":127724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4166"} 
[2026-07-08 16:37:05] local.INFO: GPS Element Parsed {"raw_longitude":756608128,"raw_latitude":119595976,"longitude_deg":75.6608128,"latitude_deg":11.9595976,"altitude":55,"angle":329,"satellites":42,"speed":34,"hex_longitude":"2d18ec80","hex_latitude":"0720e3c8","is_valid_coordinates":true} 
[2026-07-08 16:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578214400001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4875191607885824,"note":"Value kept but may cause issues"} 
[2026-07-08 16:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797569600634462208,"note":"Value kept but may cause issues"} 
[2026-07-08 16:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783508653000,"timestamp_ms":1783508653000,"timestamp_seconds":1783508653,"priority":1,"record_length":96,"hex_timestamp":"0000019f416653c8"} 
[2026-07-08 16:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-08 16:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578214400001,"66":11906,"103":206,"83":41984,"24":34,"16":4875191607885824,"45":1797569600634462208},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578214400001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:37:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:37:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4875191607885824,"km_value":4875191607885.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797569600634462208,"description":"Unknown IO ID 45"} 
[2026-07-08 16:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578214400001,"power":11906,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1797569600634462208}} 
[2026-07-08 16:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":127724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:37:05] local.INFO: GPS data processed {"connection_id":127724,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:37:05] local.INFO: Acknowledgment sent {"connection_id":127724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:37:05] local.INFO: TCP Data received {"connection_id":126491,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:37:05] local.INFO: Processing buffer {"connection_id":126491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:37:05] local.INFO: IMEI packet received {"connection_id":126491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":126491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:37:06] local.INFO: TCP Data received {"connection_id":126491,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f41652ae8012d9aa38005781260000c00f826..."} 
[2026-07-08 16:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41652ae8012d9aa38005781260000c00f826..."} 
[2026-07-08 16:37:06] local.INFO: Processing buffer {"connection_id":126491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41652ae8012d9aa38005781260000c00f826..."} 
[2026-07-08 16:37:06] local.INFO: Packet analysis {"connection_id":126491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4165"} 
[2026-07-08 16:37:06] local.INFO: Extracted packet for processing {"connection_id":126491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4165"} 
[2026-07-08 16:37:06] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":38,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578118656001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:37:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783508577000,"timestamp_ms":1783508577000,"timestamp_seconds":1783508577,"priority":1,"record_length":96,"hex_timestamp":"0000019f41652ae8"} 
[2026-07-08 16:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 16:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578118656001,"66":25625,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578118656001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:37:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:37:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456578118656001,"power":25625,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":126491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:37:06] local.INFO: GPS data processed {"connection_id":126491,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:37:06] local.INFO: Acknowledgment sent {"connection_id":126491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:37:12] local.INFO: TCP Data received {"connection_id":126491,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f41652ae8012d9aa38005781260000c00f826..."} 
[2026-07-08 16:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41652ae8012d9aa38005781260000c00f826..."} 
[2026-07-08 16:37:12] local.INFO: Processing buffer {"connection_id":126491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41652ae8012d9aa38005781260000c00f826..."} 
[2026-07-08 16:37:12] local.INFO: Packet analysis {"connection_id":126491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4165"} 
[2026-07-08 16:37:12] local.INFO: Extracted packet for processing {"connection_id":126491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4165"} 
[2026-07-08 16:37:12] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":38,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578118656001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:37:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783508577000,"timestamp_ms":1783508577000,"timestamp_seconds":1783508577,"priority":1,"record_length":96,"hex_timestamp":"0000019f41652ae8"} 
[2026-07-08 16:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 16:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":126491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":126491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":126491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578118656001,"66":25625,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578118656001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:37:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:37:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456578118656001,"power":25625,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":126491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:37:12] local.INFO: GPS data processed {"connection_id":126491,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:37:12] local.INFO: Acknowledgment sent {"connection_id":126491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:37:13] local.INFO: TCP Data received {"connection_id":125725,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4168a1a0012d7acfc005e40a90000b00a82a..."} 
[2026-07-08 16:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4168a1a0012d7acfc005e40a90000b00a82a..."} 
[2026-07-08 16:37:13] local.INFO: Processing buffer {"connection_id":125725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4168a1a0012d7acfc005e40a90000b00a82a..."} 
[2026-07-08 16:37:13] local.INFO: Packet analysis {"connection_id":125725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4168"} 
[2026-07-08 16:37:13] local.INFO: Extracted packet for processing {"connection_id":125725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4168"} 
[2026-07-08 16:37:13] local.INFO: GPS Element Parsed {"raw_longitude":763023296,"raw_latitude":98830992,"longitude_deg":76.3023296,"latitude_deg":9.8830992,"altitude":11,"angle":168,"satellites":42,"speed":21,"hex_longitude":"2d7acfc0","hex_latitude":"05e40a90","is_valid_coordinates":true} 
[2026-07-08 16:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578253312001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103771211644796928,"note":"Value kept but may cause issues"} 
[2026-07-08 16:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849151080618942464,"note":"Value kept but may cause issues"} 
[2026-07-08 16:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783508804000,"timestamp_ms":1783508804000,"timestamp_seconds":1783508804,"priority":1,"record_length":96,"hex_timestamp":"0000019f4168a1a0"} 
[2026-07-08 16:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 16:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303164287929766,"note":"Value kept but may cause issues"} 
[2026-07-08 16:37:13] local.WARNING: Large IO value detected {"io_id":97,"raw_value":58077557095399431,"note":"Value kept but may cause issues"} 
[2026-07-08 16:37:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 16:37:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-07-08 16:37:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3825944576,"note":"Value kept but may cause issues"} 
[2026-07-08 16:37:13] local.WARNING: Large IO value detected {"io_id":112,"raw_value":2871525376,"note":"Value kept but may cause issues"} 
[2026-07-08 16:37:13] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,97,85,24,241,157,16,171,159,149,45,192,15,10,41,66,146,42,138,128,1,240,227,65,228,4,113,205,5,103,193,216,36,239,51,2,112,7],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-07-08 16:37:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792800840574304256,"timestamp_seconds":792800840574304.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 16:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578253312001,"66":13135,"97":206,"85":15104,"24":21,"16":103771211644796928,"45":8849151080618942464},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-08 16:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578253312001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:37:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-08 16:37:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 16:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103771211644796928,"km_value":103771211644796.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849151080618942464,"description":"Unknown IO ID 45"} 
[2026-07-08 16:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578253312001,"power":13135,"unknown_97":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8849151080618942464}} 
[2026-07-08 16:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":125725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452452,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:37:13] local.INFO: GPS data processed {"connection_id":125725,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:37:13] local.INFO: Acknowledgment sent {"connection_id":125725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:37:31] local.INFO: TCP Data received {"connection_id":125619,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125619,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:37:31] local.INFO: Processing buffer {"connection_id":125619,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:37:31] local.INFO: IMEI packet received {"connection_id":125619,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":125619,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:37:33] local.INFO: TCP Data received {"connection_id":125619,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125619,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:37:33] local.INFO: Processing buffer {"connection_id":125619,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:37:33] local.INFO: IMEI packet received {"connection_id":125619,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":125619,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:37:36] local.INFO: TCP Data received {"connection_id":125619,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125619,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:37:36] local.INFO: Processing buffer {"connection_id":125619,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:37:36] local.INFO: IMEI packet received {"connection_id":125619,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":125619,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:37:36] local.INFO: TCP Data received {"connection_id":127724,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41666b38012d18e2400720f4a8003a013b2b..."} 
[2026-07-08 16:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41666b38012d18e2400720f4a8003a013b2b..."} 
[2026-07-08 16:37:36] local.INFO: Processing buffer {"connection_id":127724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41666b38012d18e2400720f4a8003a013b2b..."} 
[2026-07-08 16:37:36] local.INFO: Packet analysis {"connection_id":127724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4166"} 
[2026-07-08 16:37:36] local.INFO: Extracted packet for processing {"connection_id":127724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4166"} 
[2026-07-08 16:37:36] local.INFO: GPS Element Parsed {"raw_longitude":756605504,"raw_latitude":119600296,"longitude_deg":75.6605504,"latitude_deg":11.9600296,"altitude":58,"angle":315,"satellites":43,"speed":31,"hex_longitude":"2d18e240","hex_latitude":"0720f4a8","is_valid_coordinates":true} 
[2026-07-08 16:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578215168001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4875432126054400,"note":"Value kept but may cause issues"} 
[2026-07-08 16:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795951119518910464,"note":"Value kept but may cause issues"} 
[2026-07-08 16:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783508659000,"timestamp_ms":1783508659000,"timestamp_seconds":1783508659,"priority":1,"record_length":96,"hex_timestamp":"0000019f41666b38"} 
[2026-07-08 16:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-08 16:37:36] 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-07-08 16:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578215168001,"66":12363,"103":206,"83":41984,"24":31,"16":4875432126054400,"45":1795951119518910464},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578215168001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:37:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:37:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4875432126054400,"km_value":4875432126054.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795951119518910464,"description":"Unknown IO ID 45"} 
[2026-07-08 16:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578215168001,"power":12363,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1795951119518910464}} 
[2026-07-08 16:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":127724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:37:36] local.INFO: GPS data processed {"connection_id":127724,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:37:36] local.INFO: Acknowledgment sent {"connection_id":127724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:37:37] local.INFO: TCP Data received {"connection_id":125619,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4168cc98012d7ad74005e3e7b8000b00a72a..."} 
[2026-07-08 16:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4168cc98012d7ad74005e3e7b8000b00a72a..."} 
[2026-07-08 16:37:37] local.INFO: Processing buffer {"connection_id":125619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4168cc98012d7ad74005e3e7b8000b00a72a..."} 
[2026-07-08 16:37:37] local.INFO: Packet analysis {"connection_id":125619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4168"} 
[2026-07-08 16:37:37] local.INFO: Extracted packet for processing {"connection_id":125619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4168"} 
[2026-07-08 16:37:37] local.INFO: GPS Element Parsed {"raw_longitude":763025216,"raw_latitude":98822072,"longitude_deg":76.3025216,"latitude_deg":9.8822072,"altitude":11,"angle":167,"satellites":42,"speed":36,"hex_longitude":"2d7ad740","hex_latitude":"05e3e7b8","is_valid_coordinates":true} 
[2026-07-08 16:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578253824001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103771654026428416,"note":"Value kept but may cause issues"} 
[2026-07-08 16:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849502924339580928,"note":"Value kept but may cause issues"} 
[2026-07-08 16:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783508815000,"timestamp_ms":1783508815000,"timestamp_seconds":1783508815,"priority":1,"record_length":96,"hex_timestamp":"0000019f4168cc98"} 
[2026-07-08 16:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-08 16:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578253824001,"66":13102,"97":206,"85":15104,"24":36,"16":103771654026428416,"45":8849502924339580928},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-08 16:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578253824001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:37:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-08 16:37:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 16:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103771654026428416,"km_value":103771654026428.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849502924339580928,"description":"Unknown IO ID 45"} 
[2026-07-08 16:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578253824001,"power":13102,"unknown_97":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8849502924339580928}} 
[2026-07-08 16:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":125619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452454,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:37:37] local.INFO: GPS data processed {"connection_id":125619,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:37:37] local.INFO: Acknowledgment sent {"connection_id":125619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:37:50] local.INFO: TCP Data received {"connection_id":125726,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125726,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:37:50] local.INFO: Processing buffer {"connection_id":125726,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:37:50] local.INFO: IMEI packet received {"connection_id":125726,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 16:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":125726,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:37:51] local.INFO: TCP Data received {"connection_id":125726,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4168f3a8012d0b1cc00706a540000a00dc23..."} 
[2026-07-08 16:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4168f3a8012d0b1cc00706a540000a00dc23..."} 
[2026-07-08 16:37:51] local.INFO: Processing buffer {"connection_id":125726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4168f3a8012d0b1cc00706a540000a00dc23..."} 
[2026-07-08 16:37:51] local.INFO: Packet analysis {"connection_id":125726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4168"} 
[2026-07-08 16:37:51] local.INFO: Extracted packet for processing {"connection_id":125726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4168"} 
[2026-07-08 16:37:51] local.INFO: GPS Element Parsed {"raw_longitude":755702976,"raw_latitude":117876032,"longitude_deg":75.5702976,"latitude_deg":11.7876032,"altitude":10,"angle":220,"satellites":35,"speed":12,"hex_longitude":"2d0b1cc0","hex_latitude":"0706a540","is_valid_coordinates":true} 
[2026-07-08 16: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-07-08 16:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578257408001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23659359925960704,"note":"Value kept but may cause issues"} 
[2026-07-08 16:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802203713802301440,"note":"Value kept but may cause issues"} 
[2026-07-08 16:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783508825000,"timestamp_ms":1783508825000,"timestamp_seconds":1783508825,"priority":1,"record_length":96,"hex_timestamp":"0000019f4168f3a8"} 
[2026-07-08 16:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 16:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":125726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":125726,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":125726,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:37:51] 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-07-08 16:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 16:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 16:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578257408001,"66":14537,"163":206,"94":10240,"24":12,"16":23659359925960704,"45":802203713802301440},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-07-08 16:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 16:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 16:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578257408001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:37:51] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-08 16:37:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 16:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23659359925960704,"km_value":23659359925960.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":802203713802301440,"description":"Unknown IO ID 45"} 
[2026-07-08 16:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578257408001,"power":14537,"unknown_163":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":802203713802301440}} 
[2026-07-08 16:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":125726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452455,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:37:51] local.INFO: GPS data processed {"connection_id":125726,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:37:51] local.INFO: Acknowledgment sent {"connection_id":125726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:37:55] local.INFO: TCP Data received {"connection_id":126492,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:37:55] local.INFO: Processing buffer {"connection_id":126492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:37:55] local.INFO: IMEI packet received {"connection_id":126492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":126492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:38:00] local.INFO: TCP Data received {"connection_id":126493,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:38:00] local.INFO: Processing buffer {"connection_id":126493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:38:00] local.INFO: IMEI packet received {"connection_id":126493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":126493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:38:00] local.INFO: TCP Data received {"connection_id":126492,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:38:00] local.INFO: Processing buffer {"connection_id":126492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:38:00] local.INFO: IMEI packet received {"connection_id":126492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":126492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:38:01] local.INFO: TCP Data received {"connection_id":126492,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f41652ae8012d9aa38005781260000c00f826..."} 
[2026-07-08 16:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41652ae8012d9aa38005781260000c00f826..."} 
[2026-07-08 16:38:01] local.INFO: Processing buffer {"connection_id":126492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41652ae8012d9aa38005781260000c00f826..."} 
[2026-07-08 16:38:01] local.INFO: Packet analysis {"connection_id":126492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4165"} 
[2026-07-08 16:38:01] local.INFO: Extracted packet for processing {"connection_id":126492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4165"} 
[2026-07-08 16:38:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":38,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578118656001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:38:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783508577000,"timestamp_ms":1783508577000,"timestamp_seconds":1783508577,"priority":1,"record_length":96,"hex_timestamp":"0000019f41652ae8"} 
[2026-07-08 16:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:38:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 16:38:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:38:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:38:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578118656001,"66":25625,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578118656001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:38:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:38:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456578118656001,"power":25625,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":126492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:38:01] local.INFO: GPS data processed {"connection_id":126492,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:38:01] local.INFO: Acknowledgment sent {"connection_id":126492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:38:05] local.INFO: TCP Data received {"connection_id":126493,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:38:05] local.INFO: Processing buffer {"connection_id":126493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:38:05] local.INFO: IMEI packet received {"connection_id":126493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":126493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:38:05] local.INFO: TCP Data received {"connection_id":126493,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f416682a8012d18d9000720fc70003c012b29..."} 
[2026-07-08 16:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416682a8012d18d9000720fc70003c012b29..."} 
[2026-07-08 16:38:05] local.INFO: Processing buffer {"connection_id":126493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416682a8012d18d9000720fc70003c012b29..."} 
[2026-07-08 16:38:05] local.INFO: Packet analysis {"connection_id":126493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4166"} 
[2026-07-08 16:38:05] local.INFO: Extracted packet for processing {"connection_id":126493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4166"} 
[2026-07-08 16:38:05] local.INFO: GPS Element Parsed {"raw_longitude":756603136,"raw_latitude":119602288,"longitude_deg":75.6603136,"latitude_deg":11.9602288,"altitude":60,"angle":299,"satellites":41,"speed":8,"hex_longitude":"2d18d900","hex_latitude":"0720fc70","is_valid_coordinates":true} 
[2026-07-08 16:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578216704001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4875582449909760,"note":"Value kept but may cause issues"} 
[2026-07-08 16:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1793066001008732160,"note":"Value kept but may cause issues"} 
[2026-07-08 16:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783508665000,"timestamp_ms":1783508665000,"timestamp_seconds":1783508665,"priority":1,"record_length":96,"hex_timestamp":"0000019f416682a8"} 
[2026-07-08 16:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 16:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578216704001,"66":12798,"103":206,"83":41984,"24":8,"16":4875582449909760,"45":1793066001008732160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578216704001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:38:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:38:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4875582449909760,"km_value":4875582449909.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1793066001008732160,"description":"Unknown IO ID 45"} 
[2026-07-08 16:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578216704001,"power":12798,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1793066001008732160}} 
[2026-07-08 16:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":126493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:38:05] local.INFO: GPS data processed {"connection_id":126493,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:38:05] local.INFO: Acknowledgment sent {"connection_id":126493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:38:08] local.INFO: TCP Data received {"connection_id":125619,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4168f3a8012d7ae0c005e3c370000a00a128..."} 
[2026-07-08 16:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4168f3a8012d7ae0c005e3c370000a00a128..."} 
[2026-07-08 16:38:08] local.INFO: Processing buffer {"connection_id":125619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4168f3a8012d7ae0c005e3c370000a00a128..."} 
[2026-07-08 16:38:08] local.INFO: Packet analysis {"connection_id":125619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4168"} 
[2026-07-08 16:38:08] local.INFO: Extracted packet for processing {"connection_id":125619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4168"} 
[2026-07-08 16:38:08] local.INFO: GPS Element Parsed {"raw_longitude":763027648,"raw_latitude":98812784,"longitude_deg":76.3027648,"latitude_deg":9.8812784,"altitude":10,"angle":161,"satellites":40,"speed":43,"hex_longitude":"2d7ae0c0","hex_latitude":"05e3c370","is_valid_coordinates":true} 
[2026-07-08 16:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578256640001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103772117882896384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851613986662627328,"note":"Value kept but may cause issues"} 
[2026-07-08 16:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783508825000,"timestamp_ms":1783508825000,"timestamp_seconds":1783508825,"priority":1,"record_length":96,"hex_timestamp":"0000019f4168f3a8"} 
[2026-07-08 16:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:38: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-07-08 16:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-08 16:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578256640001,"66":13135,"97":206,"85":15104,"24":43,"16":103772117882896384,"45":8851613986662627328},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-08 16:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578256640001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:38:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-08 16:38:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 16:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103772117882896384,"km_value":103772117882896.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851613986662627328,"description":"Unknown IO ID 45"} 
[2026-07-08 16:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578256640001,"power":13135,"unknown_97":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8851613986662627328}} 
[2026-07-08 16:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":125619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452458,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:38:08] local.INFO: GPS data processed {"connection_id":125619,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:38:08] local.INFO: Acknowledgment sent {"connection_id":125619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:38:22] local.INFO: TCP Data received {"connection_id":125726,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4169f190012d0b1840070623100009008d21..."} 
[2026-07-08 16:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4169f190012d0b1840070623100009008d21..."} 
[2026-07-08 16:38:22] local.INFO: Processing buffer {"connection_id":125726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4169f190012d0b1840070623100009008d21..."} 
[2026-07-08 16:38:22] local.INFO: Packet analysis {"connection_id":125726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4169"} 
[2026-07-08 16:38:22] local.INFO: Extracted packet for processing {"connection_id":125726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4169"} 
[2026-07-08 16:38:22] local.INFO: GPS Element Parsed {"raw_longitude":755701824,"raw_latitude":117842704,"longitude_deg":75.5701824,"latitude_deg":11.7842704,"altitude":9,"angle":141,"satellites":33,"speed":35,"hex_longitude":"2d0b1840","hex_latitude":"07062310","is_valid_coordinates":true} 
[2026-07-08 16: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-07-08 16:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578272512001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23661322726014976,"note":"Value kept but may cause issues"} 
[2026-07-08 16:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":793689095749711872,"note":"Value kept but may cause issues"} 
[2026-07-08 16:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783508890000,"timestamp_ms":1783508890000,"timestamp_seconds":1783508890,"priority":1,"record_length":96,"hex_timestamp":"0000019f4169f190"} 
[2026-07-08 16:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-08 16:38:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125726,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125726,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:38:22] 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-07-08 16:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 16:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 16:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578272512001,"66":14428,"165":206,"94":10240,"24":35,"16":23661322726014976,"45":793689095749711872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-08 16:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 16:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 16:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578272512001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:38:22] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-08 16:38:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 16:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23661322726014976,"km_value":23661322726014.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":793689095749711872,"description":"Unknown IO ID 45"} 
[2026-07-08 16:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578272512001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":35,"odometer":null,"unknown_45":793689095749711872}} 
[2026-07-08 16:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":125726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452459,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:38:22] local.INFO: GPS data processed {"connection_id":125726,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:38:22] local.INFO: Acknowledgment sent {"connection_id":125726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:38:32] local.INFO: TCP Data received {"connection_id":126492,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f41652ae8012d9aa38005781260000c00f826..."} 
[2026-07-08 16:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41652ae8012d9aa38005781260000c00f826..."} 
[2026-07-08 16:38:32] local.INFO: Processing buffer {"connection_id":126492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41652ae8012d9aa38005781260000c00f826..."} 
[2026-07-08 16:38:32] local.INFO: Packet analysis {"connection_id":126492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4165"} 
[2026-07-08 16:38:32] local.INFO: Extracted packet for processing {"connection_id":126492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4165"} 
[2026-07-08 16:38:32] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":38,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578118656001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:38:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783508577000,"timestamp_ms":1783508577000,"timestamp_seconds":1783508577,"priority":1,"record_length":96,"hex_timestamp":"0000019f41652ae8"} 
[2026-07-08 16:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 16:38:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578118656001,"66":25625,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578118656001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:38:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:38:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456578118656001,"power":25625,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":126492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:38:32] local.INFO: GPS data processed {"connection_id":126492,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:38:32] local.INFO: Acknowledgment sent {"connection_id":126492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:38:36] local.INFO: TCP Data received {"connection_id":125621,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125621,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:38:36] local.INFO: Processing buffer {"connection_id":125621,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:38:36] local.INFO: IMEI packet received {"connection_id":125621,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":125621,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:38:37] local.INFO: TCP Data received {"connection_id":126493,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41668690012d18d8400720fc98003c01122c..."} 
[2026-07-08 16:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41668690012d18d8400720fc98003c01122c..."} 
[2026-07-08 16:38:37] local.INFO: Processing buffer {"connection_id":126493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41668690012d18d8400720fc98003c01122c..."} 
[2026-07-08 16:38:37] local.INFO: Packet analysis {"connection_id":126493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4166"} 
[2026-07-08 16:38:37] local.INFO: Extracted packet for processing {"connection_id":126493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4166"} 
[2026-07-08 16:38:37] local.INFO: GPS Element Parsed {"raw_longitude":756602944,"raw_latitude":119602328,"longitude_deg":75.6602944,"latitude_deg":11.9602328,"altitude":60,"angle":274,"satellites":44,"speed":6,"hex_longitude":"2d18d840","hex_latitude":"0720fc98","is_valid_coordinates":true} 
[2026-07-08 16:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578218240001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4875595334811648,"note":"Value kept but may cause issues"} 
[2026-07-08 16:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790462357474668544,"note":"Value kept but may cause issues"} 
[2026-07-08 16:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783508666000,"timestamp_ms":1783508666000,"timestamp_seconds":1783508666,"priority":1,"record_length":96,"hex_timestamp":"0000019f41668690"} 
[2026-07-08 16:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-08 16:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578218240001,"66":12798,"103":206,"83":41984,"24":6,"16":4875595334811648,"45":1790462357474668544},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578218240001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:38:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:38:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4875595334811648,"km_value":4875595334811.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790462357474668544,"description":"Unknown IO ID 45"} 
[2026-07-08 16:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578218240001,"power":12798,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1790462357474668544}} 
[2026-07-08 16:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":126493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:38:37] local.INFO: GPS data processed {"connection_id":126493,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:38:37] local.INFO: Acknowledgment sent {"connection_id":126493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:38:41] local.INFO: TCP Data received {"connection_id":125621,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125621,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:38:41] local.INFO: Processing buffer {"connection_id":125621,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:38:41] local.INFO: IMEI packet received {"connection_id":125621,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":125621,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:38:41] local.INFO: TCP Data received {"connection_id":125621,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f416916d0012d7aebc005e3a010000900a229..."} 
[2026-07-08 16:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416916d0012d7aebc005e3a010000900a229..."} 
[2026-07-08 16:38:41] local.INFO: Processing buffer {"connection_id":125621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416916d0012d7aebc005e3a010000900a229..."} 
[2026-07-08 16:38:41] local.INFO: Packet analysis {"connection_id":125621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4169"} 
[2026-07-08 16:38:41] local.INFO: Extracted packet for processing {"connection_id":125621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4169"} 
[2026-07-08 16:38:41] local.INFO: GPS Element Parsed {"raw_longitude":763030464,"raw_latitude":98803728,"longitude_deg":76.3030464,"latitude_deg":9.8803728,"altitude":9,"angle":162,"satellites":41,"speed":33,"hex_longitude":"2d7aebc0","hex_latitude":"05e3a010","is_valid_coordinates":true} 
[2026-07-08 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-07-08 16:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578259200001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103772577444397056,"note":"Value kept but may cause issues"} 
[2026-07-08 16:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854287998939000832,"note":"Value kept but may cause issues"} 
[2026-07-08 16:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783508834000,"timestamp_ms":1783508834000,"timestamp_seconds":1783508834,"priority":1,"record_length":96,"hex_timestamp":"0000019f416916d0"} 
[2026-07-08 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-07-08 16:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-08 16:38: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-07-08 16: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-07-08 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-07-08 16:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578259200001,"66":12928,"97":206,"85":15104,"24":33,"16":103772577444397056,"45":8854287998939000832},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-08 16:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578259200001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:38:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-08 16:38:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 16:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103772577444397056,"km_value":103772577444397.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854287998939000832,"description":"Unknown IO ID 45"} 
[2026-07-08 16:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578259200001,"power":12928,"unknown_97":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8854287998939000832}} 
[2026-07-08 16:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":125621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452462,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:38:41] local.INFO: GPS data processed {"connection_id":125621,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:38:41] local.INFO: Acknowledgment sent {"connection_id":125621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:38:42] local.INFO: TCP Data received {"connection_id":125621,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f41695938012d7af7c005e37f10000900a529..."} 
[2026-07-08 16:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41695938012d7af7c005e37f10000900a529..."} 
[2026-07-08 16:38:42] local.INFO: Processing buffer {"connection_id":125621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41695938012d7af7c005e37f10000900a529..."} 
[2026-07-08 16:38:42] local.INFO: Packet analysis {"connection_id":125621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4169"} 
[2026-07-08 16:38:42] local.INFO: Extracted packet for processing {"connection_id":125621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4169"} 
[2026-07-08 16:38:42] local.INFO: GPS Element Parsed {"raw_longitude":763033536,"raw_latitude":98795280,"longitude_deg":76.3033536,"latitude_deg":9.879528,"altitude":9,"angle":165,"satellites":41,"speed":20,"hex_longitude":"2d7af7c0","hex_latitude":"05e37f10","is_valid_coordinates":true} 
[2026-07-08 16:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578261504001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103773015531061248,"note":"Value kept but may cause issues"} 
[2026-07-08 16:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857384223680499712,"note":"Value kept but may cause issues"} 
[2026-07-08 16:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783508851000,"timestamp_ms":1783508851000,"timestamp_seconds":1783508851,"priority":1,"record_length":96,"hex_timestamp":"0000019f41695938"} 
[2026-07-08 16:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-08 16:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":125621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":125621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":125621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578261504001,"66":13091,"97":206,"85":15104,"24":20,"16":103773015531061248,"45":8857384223680499712},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-08 16:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578261504001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:38:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-08 16:38:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 16:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103773015531061248,"km_value":103773015531061.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857384223680499712,"description":"Unknown IO ID 45"} 
[2026-07-08 16:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578261504001,"power":13091,"unknown_97":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8857384223680499712}} 
[2026-07-08 16:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":125621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452463,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:38:42] local.INFO: GPS data processed {"connection_id":125621,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:38:42] local.INFO: Acknowledgment sent {"connection_id":125621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:38:44] local.INFO: TCP Data received {"connection_id":127725,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127725,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:38:44] local.INFO: Processing buffer {"connection_id":127725,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:38:44] local.INFO: IMEI packet received {"connection_id":127725,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 16:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":127725,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:38:49] local.INFO: TCP Data received {"connection_id":127725,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127725,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:38:49] local.INFO: Processing buffer {"connection_id":127725,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:38:49] local.INFO: IMEI packet received {"connection_id":127725,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 16:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":127725,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:38:50] local.INFO: TCP Data received {"connection_id":127725,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f4169fd48012d0b1fc007061bb00009008123..."} 
[2026-07-08 16:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4169fd48012d0b1fc007061bb00009008123..."} 
[2026-07-08 16:38:50] local.INFO: Processing buffer {"connection_id":127725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4169fd48012d0b1fc007061bb00009008123..."} 
[2026-07-08 16:38:50] local.INFO: Packet analysis {"connection_id":127725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4169"} 
[2026-07-08 16:38:50] local.INFO: Extracted packet for processing {"connection_id":127725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4169"} 
[2026-07-08 16:38:50] local.INFO: GPS Element Parsed {"raw_longitude":755703744,"raw_latitude":117840816,"longitude_deg":75.5703744,"latitude_deg":11.7840816,"altitude":9,"angle":129,"satellites":35,"speed":33,"hex_longitude":"2d0b1fc0","hex_latitude":"07061bb0","is_valid_coordinates":true} 
[2026-07-08 16: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-07-08 16:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578275840001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23661451575033856,"note":"Value kept but may cause issues"} 
[2026-07-08 16:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":799459332770172928,"note":"Value kept but may cause issues"} 
[2026-07-08 16:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783508893000,"timestamp_ms":1783508893000,"timestamp_seconds":1783508893,"priority":1,"record_length":96,"hex_timestamp":"0000019f4169fd48"} 
[2026-07-08 16:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 16:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":127725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":127725,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":127725,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:38:50] 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-07-08 16:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 16:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 16:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578275840001,"66":14537,"165":206,"94":10240,"24":33,"16":23661451575033856,"45":799459332770172928},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-08 16:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 16:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 16:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578275840001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:38:50] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-08 16:38:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 16:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23661451575033856,"km_value":23661451575033.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":799459332770172928,"description":"Unknown IO ID 45"} 
[2026-07-08 16:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578275840001,"power":14537,"unknown_165":206,"unknown_94":10240,"ignition":33,"odometer":null,"unknown_45":799459332770172928}} 
[2026-07-08 16:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":127725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452464,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:38:50] local.INFO: GPS data processed {"connection_id":127725,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:38:50] local.INFO: Acknowledgment sent {"connection_id":127725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:38:56] local.INFO: TCP Data received {"connection_id":126494,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:38:56] local.INFO: Processing buffer {"connection_id":126494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:38:56] local.INFO: IMEI packet received {"connection_id":126494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":126494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:39:00] local.INFO: TCP Data received {"connection_id":125727,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:39:00] local.INFO: Processing buffer {"connection_id":125727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:39:00] local.INFO: IMEI packet received {"connection_id":125727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":125727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:39:00] local.INFO: TCP Data received {"connection_id":126494,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:39:00] local.INFO: Processing buffer {"connection_id":126494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:39:00] local.INFO: IMEI packet received {"connection_id":126494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":126494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:39:01] local.INFO: TCP Data received {"connection_id":126494,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f4169c2b0012d9aa38005781260000c00f826..."} 
[2026-07-08 16:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4169c2b0012d9aa38005781260000c00f826..."} 
[2026-07-08 16:39:01] local.INFO: Processing buffer {"connection_id":126494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4169c2b0012d9aa38005781260000c00f826..."} 
[2026-07-08 16:39:01] local.INFO: Packet analysis {"connection_id":126494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4169"} 
[2026-07-08 16:39:01] local.INFO: Extracted packet for processing {"connection_id":126494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4169"} 
[2026-07-08 16:39:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":38,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578195712001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:39:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783508878000,"timestamp_ms":1783508878000,"timestamp_seconds":1783508878,"priority":1,"record_length":96,"hex_timestamp":"0000019f4169c2b0"} 
[2026-07-08 16:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:39:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-08 16:39:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:39:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578195712001,"66":24897,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578195712001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:39:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:39:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456578195712001,"power":24897,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":126494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:39:01] local.INFO: GPS data processed {"connection_id":126494,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:39:01] local.INFO: Acknowledgment sent {"connection_id":126494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:39:05] local.INFO: TCP Data received {"connection_id":125727,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:39:05] local.INFO: Processing buffer {"connection_id":125727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:39:05] local.INFO: IMEI packet received {"connection_id":125727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":125727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:39:05] local.INFO: TCP Data received {"connection_id":125727,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4166d898012d18d6c00720fc48003c01122c..."} 
[2026-07-08 16:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4166d898012d18d6c00720fc48003c01122c..."} 
[2026-07-08 16:39:05] local.INFO: Processing buffer {"connection_id":125727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4166d898012d18d6c00720fc48003c01122c..."} 
[2026-07-08 16:39:05] local.INFO: Packet analysis {"connection_id":125727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4166"} 
[2026-07-08 16:39:05] local.INFO: Extracted packet for processing {"connection_id":125727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4166"} 
[2026-07-08 16:39:05] local.INFO: GPS Element Parsed {"raw_longitude":756602560,"raw_latitude":119602248,"longitude_deg":75.660256,"latitude_deg":11.9602248,"altitude":60,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d18d6c0","hex_latitude":"0720fc48","is_valid_coordinates":true} 
[2026-07-08 16:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578218496001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4875612514680832,"note":"Value kept but may cause issues"} 
[2026-07-08 16:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790251251242145792,"note":"Value kept but may cause issues"} 
[2026-07-08 16:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783508687000,"timestamp_ms":1783508687000,"timestamp_seconds":1783508687,"priority":1,"record_length":96,"hex_timestamp":"0000019f4166d898"} 
[2026-07-08 16:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-08 16:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578218496001,"66":12461,"103":206,"83":41984,"24":0,"16":4875612514680832,"45":1790251251242145792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578218496001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:39:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:39:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4875612514680832,"km_value":4875612514680.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790251251242145792,"description":"Unknown IO ID 45"} 
[2026-07-08 16:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578218496001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1790251251242145792}} 
[2026-07-08 16:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":125727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:39:05] local.INFO: GPS data processed {"connection_id":125727,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:39:05] local.INFO: Acknowledgment sent {"connection_id":125727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:39:13] local.INFO: TCP Data received {"connection_id":125621,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f41698818012d7b030005e35be8000a009c2a..."} 
[2026-07-08 16:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41698818012d7b030005e35be8000a009c2a..."} 
[2026-07-08 16:39:13] local.INFO: Processing buffer {"connection_id":125621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41698818012d7b030005e35be8000a009c2a..."} 
[2026-07-08 16:39:13] local.INFO: Packet analysis {"connection_id":125621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4169"} 
[2026-07-08 16:39:13] local.INFO: Extracted packet for processing {"connection_id":125621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4169"} 
[2026-07-08 16:39:13] local.INFO: GPS Element Parsed {"raw_longitude":763036416,"raw_latitude":98786280,"longitude_deg":76.3036416,"latitude_deg":9.878628,"altitude":10,"angle":156,"satellites":42,"speed":34,"hex_longitude":"2d7b0300","hex_latitude":"05e35be8","is_valid_coordinates":true} 
[2026-07-08 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-07-08 16:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578265856001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103773475092561920,"note":"Value kept but may cause issues"} 
[2026-07-08 16:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8860761923398864896,"note":"Value kept but may cause issues"} 
[2026-07-08 16:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783508863000,"timestamp_ms":1783508863000,"timestamp_seconds":1783508863,"priority":1,"record_length":96,"hex_timestamp":"0000019f41698818"} 
[2026-07-08 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-07-08 16: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-07-08 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-08 16:39: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-07-08 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-07-08 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-07-08 16:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578265856001,"66":12852,"97":206,"85":15104,"24":34,"16":103773475092561920,"45":8860761923398864896},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-08 16:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578265856001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:39:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-08 16:39:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 16:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103773475092561920,"km_value":103773475092561.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8860761923398864896,"description":"Unknown IO ID 45"} 
[2026-07-08 16:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578265856001,"power":12852,"unknown_97":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8860761923398864896}} 
[2026-07-08 16:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":125621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452467,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:39:13] local.INFO: GPS data processed {"connection_id":125621,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:39:13] local.INFO: Acknowledgment sent {"connection_id":125621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:39:21] local.INFO: TCP Data received {"connection_id":127725,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f416a14b8012d0b2dc0070612680009007621..."} 
[2026-07-08 16:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416a14b8012d0b2dc0070612680009007621..."} 
[2026-07-08 16:39:21] local.INFO: Processing buffer {"connection_id":127725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416a14b8012d0b2dc0070612680009007621..."} 
[2026-07-08 16:39:21] local.INFO: Packet analysis {"connection_id":127725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416a"} 
[2026-07-08 16:39:21] local.INFO: Extracted packet for processing {"connection_id":127725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416a"} 
[2026-07-08 16:39:21] local.INFO: GPS Element Parsed {"raw_longitude":755707328,"raw_latitude":117838440,"longitude_deg":75.5707328,"latitude_deg":11.783844,"altitude":9,"angle":118,"satellites":33,"speed":23,"hex_longitude":"2d0b2dc0","hex_latitude":"07061268","is_valid_coordinates":true} 
[2026-07-08 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-07-08 16:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578276608001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23661657733464064,"note":"Value kept but may cause issues"} 
[2026-07-08 16:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":801570395095019520,"note":"Value kept but may cause issues"} 
[2026-07-08 16:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783508899000,"timestamp_ms":1783508899000,"timestamp_seconds":1783508899,"priority":1,"record_length":96,"hex_timestamp":"0000019f416a14b8"} 
[2026-07-08 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-07-08 16:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-08 16:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 16:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":127725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":127725,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":127725,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:39:21] 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-07-08 16:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 16:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 16:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578276608001,"66":14548,"165":206,"94":10240,"24":23,"16":23661657733464064,"45":801570395095019520},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-08 16:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 16:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 16:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578276608001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:39:21] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-08 16:39:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 16:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23661657733464064,"km_value":23661657733464.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":801570395095019520,"description":"Unknown IO ID 45"} 
[2026-07-08 16:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578276608001,"power":14548,"unknown_165":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":801570395095019520}} 
[2026-07-08 16:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":127725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452468,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:39:21] local.INFO: GPS data processed {"connection_id":127725,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:39:21] local.INFO: Acknowledgment sent {"connection_id":127725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:39:31] local.INFO: TCP Data received {"connection_id":125728,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125728,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:39:31] local.INFO: Processing buffer {"connection_id":125728,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:39:31] local.INFO: IMEI packet received {"connection_id":125728,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":125728,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:39:32] local.INFO: TCP Data received {"connection_id":126494,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f416a89e8012d9aa38005781260000c00f82a..."} 
[2026-07-08 16:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416a89e8012d9aa38005781260000c00f82a..."} 
[2026-07-08 16:39:32] local.INFO: Processing buffer {"connection_id":126494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416a89e8012d9aa38005781260000c00f82a..."} 
[2026-07-08 16:39:32] local.INFO: Packet analysis {"connection_id":126494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416a"} 
[2026-07-08 16:39:32] local.INFO: Extracted packet for processing {"connection_id":126494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416a"} 
[2026-07-08 16:39:32] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755104,"longitude_deg":76.510912,"latitude_deg":9.1755104,"altitude":12,"angle":248,"satellites":42,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781260","is_valid_coordinates":true} 
[2026-07-08 16:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578272768001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:39:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783508929000,"timestamp_ms":1783508929000,"timestamp_seconds":1783508929,"priority":1,"record_length":96,"hex_timestamp":"0000019f416a89e8"} 
[2026-07-08 16:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16: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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 16:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578272768001,"66":25647,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578272768001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:39:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:39:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456578272768001,"power":25647,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":126494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:39:32] local.INFO: GPS data processed {"connection_id":126494,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:39:32] local.INFO: Acknowledgment sent {"connection_id":126494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:39:36] local.INFO: TCP Data received {"connection_id":125728,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125728,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:39:36] local.INFO: Processing buffer {"connection_id":125728,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:39:36] local.INFO: IMEI packet received {"connection_id":125728,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":125728,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:39:36] local.INFO: TCP Data received {"connection_id":125727,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41672aa0012d18d6c00720fc48003c01122b..."} 
[2026-07-08 16:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41672aa0012d18d6c00720fc48003c01122b..."} 
[2026-07-08 16:39:36] local.INFO: Processing buffer {"connection_id":125727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41672aa0012d18d6c00720fc48003c01122b..."} 
[2026-07-08 16:39:36] local.INFO: Packet analysis {"connection_id":125727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4167"} 
[2026-07-08 16:39:36] local.INFO: Extracted packet for processing {"connection_id":125727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4167"} 
[2026-07-08 16:39:36] local.INFO: GPS Element Parsed {"raw_longitude":756602560,"raw_latitude":119602248,"longitude_deg":75.660256,"latitude_deg":11.9602248,"altitude":60,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d18d6c0","hex_latitude":"0720fc48","is_valid_coordinates":true} 
[2026-07-08 16:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578223872001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4875612514680832,"note":"Value kept but may cause issues"} 
[2026-07-08 16:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777059328,"note":"Value kept but may cause issues"} 
[2026-07-08 16:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783508708000,"timestamp_ms":1783508708000,"timestamp_seconds":1783508708,"priority":1,"record_length":96,"hex_timestamp":"0000019f41672aa0"} 
[2026-07-08 16:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 16:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578223872001,"66":12319,"103":206,"83":41984,"24":0,"16":4875612514680832,"45":1789829038777059328},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578223872001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:39:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:39:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4875612514680832,"km_value":4875612514680.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777059328,"description":"Unknown IO ID 45"} 
[2026-07-08 16:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578223872001,"power":12319,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1789829038777059328}} 
[2026-07-08 16:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":125727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:39:36] local.INFO: GPS data processed {"connection_id":125727,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:39:36] local.INFO: Acknowledgment sent {"connection_id":125727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:39:37] local.INFO: TCP Data received {"connection_id":125728,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f41699f88012d7b0a0005e34ca0000a00a727..."} 
[2026-07-08 16:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41699f88012d7b0a0005e34ca0000a00a727..."} 
[2026-07-08 16:39:37] local.INFO: Processing buffer {"connection_id":125728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41699f88012d7b0a0005e34ca0000a00a727..."} 
[2026-07-08 16:39:37] local.INFO: Packet analysis {"connection_id":125728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4169"} 
[2026-07-08 16:39:37] local.INFO: Extracted packet for processing {"connection_id":125728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4169"} 
[2026-07-08 16:39:37] local.INFO: GPS Element Parsed {"raw_longitude":763038208,"raw_latitude":98782368,"longitude_deg":76.3038208,"latitude_deg":9.8782368,"altitude":10,"angle":167,"satellites":39,"speed":20,"hex_longitude":"2d7b0a00","hex_latitude":"05e34ca0","is_valid_coordinates":true} 
[2026-07-08 16:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578268928001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103773681250992128,"note":"Value kept but may cause issues"} 
[2026-07-08 16:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863928516884555776,"note":"Value kept but may cause issues"} 
[2026-07-08 16:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783508869000,"timestamp_ms":1783508869000,"timestamp_seconds":1783508869,"priority":1,"record_length":96,"hex_timestamp":"0000019f41699f88"} 
[2026-07-08 16:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:39: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-07-08 16: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-08 16:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578268928001,"66":13037,"97":206,"85":15104,"24":20,"16":103773681250992128,"45":8863928516884555776},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-08 16:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578268928001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:39:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-08 16:39:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 16:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103773681250992128,"km_value":103773681250992.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863928516884555776,"description":"Unknown IO ID 45"} 
[2026-07-08 16:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578268928001,"power":13037,"unknown_97":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8863928516884555776}} 
[2026-07-08 16:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":125728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452471,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:39:37] local.INFO: GPS data processed {"connection_id":125728,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:39:37] local.INFO: Acknowledgment sent {"connection_id":125728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:39:43] local.INFO: TCP Data received {"connection_id":125622,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125622,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:39:43] local.INFO: Processing buffer {"connection_id":125622,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:39:43] local.INFO: IMEI packet received {"connection_id":125622,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 16:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":125622,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:39:44] local.INFO: TCP Data received {"connection_id":125622,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125622,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:39:44] local.INFO: Processing buffer {"connection_id":125622,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:39:44] local.INFO: IMEI packet received {"connection_id":125622,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 16:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":125622,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:39:50] local.INFO: TCP Data received {"connection_id":125622,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125622,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:39:50] local.INFO: Processing buffer {"connection_id":125622,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:39:50] local.INFO: IMEI packet received {"connection_id":125622,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 16:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":125622,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:39:50] local.INFO: TCP Data received {"connection_id":125622,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f416a4780012d0b4b000705fed8000d007c24..."} 
[2026-07-08 16:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416a4780012d0b4b000705fed8000d007c24..."} 
[2026-07-08 16:39:50] local.INFO: Processing buffer {"connection_id":125622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416a4780012d0b4b000705fed8000d007c24..."} 
[2026-07-08 16:39:50] local.INFO: Packet analysis {"connection_id":125622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416a"} 
[2026-07-08 16:39:50] local.INFO: Extracted packet for processing {"connection_id":125622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416a"} 
[2026-07-08 16:39:50] local.INFO: GPS Element Parsed {"raw_longitude":755714816,"raw_latitude":117833432,"longitude_deg":75.5714816,"latitude_deg":11.7833432,"altitude":13,"angle":124,"satellites":36,"speed":16,"hex_longitude":"2d0b4b00","hex_latitude":"0705fed8","is_valid_coordinates":true} 
[2026-07-08 16: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-07-08 16:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578278144001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23662087230193664,"note":"Value kept but may cause issues"} 
[2026-07-08 16:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":805511044768360448,"note":"Value kept but may cause issues"} 
[2026-07-08 16:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783508912000,"timestamp_ms":1783508912000,"timestamp_seconds":1783508912,"priority":1,"record_length":96,"hex_timestamp":"0000019f416a4780"} 
[2026-07-08 16:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-08 16:39:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":125622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":125622,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":125622,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:39:50] 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-07-08 16:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 16:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 16:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578278144001,"66":14548,"165":206,"94":10240,"24":16,"16":23662087230193664,"45":805511044768360448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-08 16:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 16:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 16:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578278144001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:39:50] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-08 16:39:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 16:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23662087230193664,"km_value":23662087230193.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":805511044768360448,"description":"Unknown IO ID 45"} 
[2026-07-08 16:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578278144001,"power":14548,"unknown_165":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":805511044768360448}} 
[2026-07-08 16:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":125622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452472,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:39:51] local.INFO: GPS data processed {"connection_id":125622,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:39:51] local.INFO: Acknowledgment sent {"connection_id":125622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:39:56] local.INFO: TCP Data received {"connection_id":125729,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:39:56] local.INFO: Processing buffer {"connection_id":125729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:39:56] local.INFO: IMEI packet received {"connection_id":125729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":125729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:40:00] local.INFO: TCP Data received {"connection_id":125730,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:40:00] local.INFO: Processing buffer {"connection_id":125730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:40:00] local.INFO: IMEI packet received {"connection_id":125730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":125730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:40:00] local.INFO: TCP Data received {"connection_id":125729,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:40:00] local.INFO: Processing buffer {"connection_id":125729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:40:00] local.INFO: IMEI packet received {"connection_id":125729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":125729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:40:01] local.INFO: TCP Data received {"connection_id":125729,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f416a9988012d9aa38005781208000c005b2a..."} 
[2026-07-08 16:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416a9988012d9aa38005781208000c005b2a..."} 
[2026-07-08 16:40:01] local.INFO: Processing buffer {"connection_id":125729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416a9988012d9aa38005781208000c005b2a..."} 
[2026-07-08 16:40:01] local.INFO: Packet analysis {"connection_id":125729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416a"} 
[2026-07-08 16:40:01] local.INFO: Extracted packet for processing {"connection_id":125729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416a"} 
[2026-07-08 16:40:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755016,"longitude_deg":76.510912,"latitude_deg":9.1755016,"altitude":12,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781208","is_valid_coordinates":true} 
[2026-07-08 16:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578285824001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687150592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:40:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783508933000,"timestamp_ms":1783508933000,"timestamp_seconds":1783508933,"priority":1,"record_length":96,"hex_timestamp":"0000019f416a9988"} 
[2026-07-08 16:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:40:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 16:40:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:40:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578285824001,"66":25473,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687150592},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578285824001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:40:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687150592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:40:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456578285824001,"power":25473,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687150592}} 
[2026-07-08 16:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":125729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:40:01] local.INFO: GPS data processed {"connection_id":125729,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:40:01] local.INFO: Acknowledgment sent {"connection_id":125729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:40:05] local.INFO: TCP Data received {"connection_id":125730,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:40:05] local.INFO: Processing buffer {"connection_id":125730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:40:05] local.INFO: IMEI packet received {"connection_id":125730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":125730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:40:05] local.INFO: TCP Data received {"connection_id":125730,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41677ca8012d18d6c00720fc48003c011226..."} 
[2026-07-08 16:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41677ca8012d18d6c00720fc48003c011226..."} 
[2026-07-08 16:40:05] local.INFO: Processing buffer {"connection_id":125730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41677ca8012d18d6c00720fc48003c011226..."} 
[2026-07-08 16:40:05] local.INFO: Packet analysis {"connection_id":125730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4167"} 
[2026-07-08 16:40:05] local.INFO: Extracted packet for processing {"connection_id":125730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4167"} 
[2026-07-08 16:40:05] local.INFO: GPS Element Parsed {"raw_longitude":756602560,"raw_latitude":119602248,"longitude_deg":75.660256,"latitude_deg":11.9602248,"altitude":60,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d18d6c0","hex_latitude":"0720fc48","is_valid_coordinates":true} 
[2026-07-08 16:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578229248001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4875612514680832,"note":"Value kept but may cause issues"} 
[2026-07-08 16:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777059328,"note":"Value kept but may cause issues"} 
[2026-07-08 16:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783508729000,"timestamp_ms":1783508729000,"timestamp_seconds":1783508729,"priority":1,"record_length":96,"hex_timestamp":"0000019f41677ca8"} 
[2026-07-08 16:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 16:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578229248001,"66":12156,"103":206,"83":41984,"24":0,"16":4875612514680832,"45":1789829038777059328},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578229248001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:40:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:40:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4875612514680832,"km_value":4875612514680.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777059328,"description":"Unknown IO ID 45"} 
[2026-07-08 16:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578229248001,"power":12156,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1789829038777059328}} 
[2026-07-08 16:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":125730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:40:05] local.INFO: GPS data processed {"connection_id":125730,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:40:05] local.INFO: Acknowledgment sent {"connection_id":125730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:40:08] local.INFO: TCP Data received {"connection_id":125728,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f416b60c0012d7b204005e291500006015620..."} 
[2026-07-08 16:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416b60c0012d7b204005e291500006015620..."} 
[2026-07-08 16:40:08] local.INFO: Processing buffer {"connection_id":125728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416b60c0012d7b204005e291500006015620..."} 
[2026-07-08 16:40:08] local.INFO: Packet analysis {"connection_id":125728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416b"} 
[2026-07-08 16:40:08] local.INFO: Extracted packet for processing {"connection_id":125728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416b"} 
[2026-07-08 16:40:08] local.INFO: GPS Element Parsed {"raw_longitude":763043904,"raw_latitude":98734416,"longitude_deg":76.3043904,"latitude_deg":9.8734416,"altitude":6,"angle":342,"satellites":32,"speed":12,"hex_longitude":"2d7b2040","hex_latitude":"05e29150","is_valid_coordinates":true} 
[2026-07-08 16:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578299648001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103776129382350848,"note":"Value kept but may cause issues"} 
[2026-07-08 16:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872302397428359168,"note":"Value kept but may cause issues"} 
[2026-07-08 16:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783508984000,"timestamp_ms":1783508984000,"timestamp_seconds":1783508984,"priority":1,"record_length":96,"hex_timestamp":"0000019f416b60c0"} 
[2026-07-08 16:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-08 16:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578299648001,"66":13276,"96":206,"85":15104,"24":12,"16":103776129382350848,"45":8872302397428359168},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-08 16:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578299648001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:40:08] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-08 16:40:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 16:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103776129382350848,"km_value":103776129382350.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872302397428359168,"description":"Unknown IO ID 45"} 
[2026-07-08 16:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578299648001,"power":13276,"unknown_96":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8872302397428359168}} 
[2026-07-08 16:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":125728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452475,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:40:08] local.INFO: GPS data processed {"connection_id":125728,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:40:08] local.INFO: Acknowledgment sent {"connection_id":125728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:40:22] local.INFO: TCP Data received {"connection_id":125622,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f416a4b68012d0b4c000705fe40000d007123..."} 
[2026-07-08 16:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416a4b68012d0b4c000705fe40000d007123..."} 
[2026-07-08 16:40:22] local.INFO: Processing buffer {"connection_id":125622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416a4b68012d0b4c000705fe40000d007123..."} 
[2026-07-08 16:40:22] local.INFO: Packet analysis {"connection_id":125622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416a"} 
[2026-07-08 16:40:22] local.INFO: Extracted packet for processing {"connection_id":125622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416a"} 
[2026-07-08 16:40:22] local.INFO: GPS Element Parsed {"raw_longitude":755715072,"raw_latitude":117833280,"longitude_deg":75.5715072,"latitude_deg":11.783328,"altitude":13,"angle":113,"satellites":35,"speed":11,"hex_longitude":"2d0b4c00","hex_latitude":"0705fe40","is_valid_coordinates":true} 
[2026-07-08 16: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-07-08 16:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578281472001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23662104410062848,"note":"Value kept but may cause issues"} 
[2026-07-08 16:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":813744187835865088,"note":"Value kept but may cause issues"} 
[2026-07-08 16:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783508913000,"timestamp_ms":1783508913000,"timestamp_seconds":1783508913,"priority":1,"record_length":96,"hex_timestamp":"0000019f416a4b68"} 
[2026-07-08 16:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-08 16:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125622,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125622,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:40:22] 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-07-08 16:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 16:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 16:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578281472001,"66":14363,"165":206,"94":10240,"24":11,"16":23662104410062848,"45":813744187835865088},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-08 16:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 16:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 16:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578281472001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:40:22] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-08 16:40:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-08 16:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23662104410062848,"km_value":23662104410062.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":813744187835865088,"description":"Unknown IO ID 45"} 
[2026-07-08 16:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578281472001,"power":14363,"unknown_165":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":813744187835865088}} 
[2026-07-08 16:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":125622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452476,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:40:22] local.INFO: GPS data processed {"connection_id":125622,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:40:22] local.INFO: Acknowledgment sent {"connection_id":125622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:40:31] local.INFO: TCP Data received {"connection_id":127728,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127728,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:40:31] local.INFO: Processing buffer {"connection_id":127728,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:40:31] local.INFO: IMEI packet received {"connection_id":127728,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":127728,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:40:32] local.INFO: TCP Data received {"connection_id":127728,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127728,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:40:32] local.INFO: Processing buffer {"connection_id":127728,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:40:32] local.INFO: IMEI packet received {"connection_id":127728,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":127728,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:40:32] local.INFO: TCP Data received {"connection_id":125729,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f416aeb90012d9aa38005781208000c005b28..."} 
[2026-07-08 16:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416aeb90012d9aa38005781208000c005b28..."} 
[2026-07-08 16:40:32] local.INFO: Processing buffer {"connection_id":125729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416aeb90012d9aa38005781208000c005b28..."} 
[2026-07-08 16:40:32] local.INFO: Packet analysis {"connection_id":125729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416a"} 
[2026-07-08 16:40:32] local.INFO: Extracted packet for processing {"connection_id":125729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416a"} 
[2026-07-08 16:40:32] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755016,"longitude_deg":76.510912,"latitude_deg":9.1755016,"altitude":12,"angle":91,"satellites":40,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781208","is_valid_coordinates":true} 
[2026-07-08 16:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578286848001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687173120,"note":"Value kept but may cause issues"} 
[2026-07-08 16:40:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783508954000,"timestamp_ms":1783508954000,"timestamp_seconds":1783508954,"priority":1,"record_length":96,"hex_timestamp":"0000019f416aeb90"} 
[2026-07-08 16:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 16:40: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-07-08 16:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578286848001,"66":27832,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687173120},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578286848001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:40:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687173120,"description":"Unknown IO ID 45"} 
[2026-07-08 16:40:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456578286848001,"power":27832,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687173120}} 
[2026-07-08 16:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":125729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:40:32] local.INFO: GPS data processed {"connection_id":125729,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:40:32] local.INFO: Acknowledgment sent {"connection_id":125729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:40:34] local.INFO: TCP Data received {"connection_id":127727,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127727,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:40:34] local.INFO: Processing buffer {"connection_id":127727,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:40:34] local.INFO: IMEI packet received {"connection_id":127727,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 16:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":127727,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:40:36] local.INFO: TCP Data received {"connection_id":127728,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127728,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:40:36] local.INFO: Processing buffer {"connection_id":127728,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:40:36] local.INFO: IMEI packet received {"connection_id":127728,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":127728,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:40:36] local.INFO: TCP Data received {"connection_id":125730,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4167ceb0012d18d6c00720fc48003c01122b..."} 
[2026-07-08 16:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4167ceb0012d18d6c00720fc48003c01122b..."} 
[2026-07-08 16:40:36] local.INFO: Processing buffer {"connection_id":125730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4167ceb0012d18d6c00720fc48003c01122b..."} 
[2026-07-08 16:40:36] local.INFO: Packet analysis {"connection_id":125730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4167"} 
[2026-07-08 16:40:36] local.INFO: Extracted packet for processing {"connection_id":125730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4167"} 
[2026-07-08 16:40:36] local.INFO: GPS Element Parsed {"raw_longitude":756602560,"raw_latitude":119602248,"longitude_deg":75.660256,"latitude_deg":11.9602248,"altitude":60,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d18d6c0","hex_latitude":"0720fc48","is_valid_coordinates":true} 
[2026-07-08 16:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578234624001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4875612514680832,"note":"Value kept but may cause issues"} 
[2026-07-08 16:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777059328,"note":"Value kept but may cause issues"} 
[2026-07-08 16:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783508750000,"timestamp_ms":1783508750000,"timestamp_seconds":1783508750,"priority":1,"record_length":96,"hex_timestamp":"0000019f4167ceb0"} 
[2026-07-08 16:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-08 16:40:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578234624001,"66":12135,"103":206,"83":41984,"24":0,"16":4875612514680832,"45":1789829038777059328},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578234624001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:40:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:40:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4875612514680832,"km_value":4875612514680.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777059328,"description":"Unknown IO ID 45"} 
[2026-07-08 16:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578234624001,"power":12135,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1789829038777059328}} 
[2026-07-08 16:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":125730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:40:36] local.INFO: GPS data processed {"connection_id":125730,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:40:36] local.INFO: Acknowledgment sent {"connection_id":125730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:40:37] local.INFO: TCP Data received {"connection_id":127728,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f416b7060012d7b1ec005e298580007016225..."} 
[2026-07-08 16:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416b7060012d7b1ec005e298580007016225..."} 
[2026-07-08 16:40:37] local.INFO: Processing buffer {"connection_id":127728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416b7060012d7b1ec005e298580007016225..."} 
[2026-07-08 16:40:37] local.INFO: Packet analysis {"connection_id":127728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416b"} 
[2026-07-08 16:40:37] local.INFO: Extracted packet for processing {"connection_id":127728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416b"} 
[2026-07-08 16:40:37] local.INFO: GPS Element Parsed {"raw_longitude":763043520,"raw_latitude":98736216,"longitude_deg":76.304352,"latitude_deg":9.8736216,"altitude":7,"angle":354,"satellites":37,"speed":22,"hex_longitude":"2d7b1ec0","hex_latitude":"05e29858","is_valid_coordinates":true} 
[2026-07-08 16:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578299904001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103776219576664064,"note":"Value kept but may cause issues"} 
[2026-07-08 16:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872161659940065280,"note":"Value kept but may cause issues"} 
[2026-07-08 16:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783508988000,"timestamp_ms":1783508988000,"timestamp_seconds":1783508988,"priority":1,"record_length":96,"hex_timestamp":"0000019f416b7060"} 
[2026-07-08 16:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-08 16:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578299904001,"66":13124,"96":206,"85":15104,"24":22,"16":103776219576664064,"45":8872161659940065280},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-08 16:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578299904001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:40:37] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-08 16:40:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 16:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103776219576664064,"km_value":103776219576664.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872161659940065280,"description":"Unknown IO ID 45"} 
[2026-07-08 16:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578299904001,"power":13124,"unknown_96":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8872161659940065280}} 
[2026-07-08 16:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":127728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452479,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:40:37] local.INFO: GPS data processed {"connection_id":127728,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:40:37] local.INFO: Acknowledgment sent {"connection_id":127728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:40:44] local.INFO: TCP Data received {"connection_id":126495,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126495,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:40:44] local.INFO: Processing buffer {"connection_id":126495,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:40:44] local.INFO: IMEI packet received {"connection_id":126495,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 16:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":126495,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:40:55] local.INFO: TCP Data received {"connection_id":127729,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:40:55] local.INFO: Processing buffer {"connection_id":127729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:40:55] local.INFO: IMEI packet received {"connection_id":127729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":127729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:40:55] local.INFO: TCP Data received {"connection_id":127729,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:40:55] local.INFO: Processing buffer {"connection_id":127729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:40:55] local.INFO: IMEI packet received {"connection_id":127729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":127729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:40:59] local.INFO: TCP Data received {"connection_id":125731,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125731,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:40:59] local.INFO: Processing buffer {"connection_id":125731,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:40:59] local.INFO: IMEI packet received {"connection_id":125731,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 16:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":125731,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:41:00] local.INFO: TCP Data received {"connection_id":126496,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:41:00] local.INFO: Processing buffer {"connection_id":126496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:41:00] local.INFO: IMEI packet received {"connection_id":126496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":126496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:41:00] local.INFO: TCP Data received {"connection_id":127729,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:41:00] local.INFO: Processing buffer {"connection_id":127729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:41:00] local.INFO: IMEI packet received {"connection_id":127729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":127729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:41:01] local.INFO: TCP Data received {"connection_id":126496,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:41:01] local.INFO: Processing buffer {"connection_id":126496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:41:01] local.INFO: IMEI packet received {"connection_id":126496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":126496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:41:01] local.INFO: TCP Data received {"connection_id":127729,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f416b3d98012d9aa38005781208000c005b27..."} 
[2026-07-08 16:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416b3d98012d9aa38005781208000c005b27..."} 
[2026-07-08 16:41:01] local.INFO: Processing buffer {"connection_id":127729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416b3d98012d9aa38005781208000c005b27..."} 
[2026-07-08 16:41:01] local.INFO: Packet analysis {"connection_id":127729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416b"} 
[2026-07-08 16:41:01] local.INFO: Extracted packet for processing {"connection_id":127729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416b"} 
[2026-07-08 16:41:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755016,"longitude_deg":76.510912,"latitude_deg":9.1755016,"altitude":12,"angle":91,"satellites":39,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781208","is_valid_coordinates":true} 
[2026-07-08 16:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578292224001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687173120,"note":"Value kept but may cause issues"} 
[2026-07-08 16:41:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783508975000,"timestamp_ms":1783508975000,"timestamp_seconds":1783508975,"priority":1,"record_length":96,"hex_timestamp":"0000019f416b3d98"} 
[2026-07-08 16:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:41: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-07-08 16:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-08 16:41:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:41:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578292224001,"66":27821,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687173120},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578292224001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:41:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687173120,"description":"Unknown IO ID 45"} 
[2026-07-08 16:41:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456578292224001,"power":27821,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687173120}} 
[2026-07-08 16:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":127729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:41:01] local.INFO: GPS data processed {"connection_id":127729,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:41:01] local.INFO: Acknowledgment sent {"connection_id":127729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:41:05] local.INFO: TCP Data received {"connection_id":126496,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:41:05] local.INFO: Processing buffer {"connection_id":126496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:41:05] local.INFO: IMEI packet received {"connection_id":126496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":126496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:41:06] local.INFO: TCP Data received {"connection_id":126496,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f416b5508012d18d6c00720fc48003c011228..."} 
[2026-07-08 16:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416b5508012d18d6c00720fc48003c011228..."} 
[2026-07-08 16:41:06] local.INFO: Processing buffer {"connection_id":126496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416b5508012d18d6c00720fc48003c011228..."} 
[2026-07-08 16:41:06] local.INFO: Packet analysis {"connection_id":126496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416b"} 
[2026-07-08 16:41:06] local.INFO: Extracted packet for processing {"connection_id":126496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416b"} 
[2026-07-08 16:41:06] local.INFO: GPS Element Parsed {"raw_longitude":756602560,"raw_latitude":119602248,"longitude_deg":75.660256,"latitude_deg":11.9602248,"altitude":60,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d18d6c0","hex_latitude":"0720fc48","is_valid_coordinates":true} 
[2026-07-08 16:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578293760001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4875612514680832,"note":"Value kept but may cause issues"} 
[2026-07-08 16:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777059328,"note":"Value kept but may cause issues"} 
[2026-07-08 16:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783508981000,"timestamp_ms":1783508981000,"timestamp_seconds":1783508981,"priority":1,"record_length":96,"hex_timestamp":"0000019f416b5508"} 
[2026-07-08 16:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 16:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578293760001,"66":12298,"103":206,"83":41984,"24":0,"16":4875612514680832,"45":1789829038777059328},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578293760001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:41:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:41:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4875612514680832,"km_value":4875612514680.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777059328,"description":"Unknown IO ID 45"} 
[2026-07-08 16:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578293760001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1789829038777059328}} 
[2026-07-08 16:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":126496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:41:06] local.INFO: GPS data processed {"connection_id":126496,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:41:06] local.INFO: Acknowledgment sent {"connection_id":126496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:41:08] local.INFO: TCP Data received {"connection_id":127728,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f416b9b58012d7b18c005e2ba700007015f1e..."} 
[2026-07-08 16:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416b9b58012d7b18c005e2ba700007015f1e..."} 
[2026-07-08 16:41:08] local.INFO: Processing buffer {"connection_id":127728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416b9b58012d7b18c005e2ba700007015f1e..."} 
[2026-07-08 16:41:08] local.INFO: Packet analysis {"connection_id":127728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416b"} 
[2026-07-08 16:41:08] local.INFO: Extracted packet for processing {"connection_id":127728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416b"} 
[2026-07-08 16:41:08] local.INFO: GPS Element Parsed {"raw_longitude":763041984,"raw_latitude":98744944,"longitude_deg":76.3041984,"latitude_deg":9.8744944,"altitude":7,"angle":351,"satellites":30,"speed":37,"hex_longitude":"2d7b18c0","hex_latitude":"05e2ba70","is_valid_coordinates":true} 
[2026-07-08 16:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578300928001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103776649073393664,"note":"Value kept but may cause issues"} 
[2026-07-08 16:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871739447475460096,"note":"Value kept but may cause issues"} 
[2026-07-08 16:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783508999000,"timestamp_ms":1783508999000,"timestamp_seconds":1783508999,"priority":1,"record_length":96,"hex_timestamp":"0000019f416b9b58"} 
[2026-07-08 16:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-08 16:41: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-07-08 16:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":127728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":127728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":127728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578300928001,"66":13189,"96":206,"85":15104,"24":37,"16":103776649073393664,"45":8871739447475460096},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-08 16:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578300928001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:41:08] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-08 16:41:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 16:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103776649073393664,"km_value":103776649073393.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871739447475460096,"description":"Unknown IO ID 45"} 
[2026-07-08 16:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578300928001,"power":13189,"unknown_96":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8871739447475460096}} 
[2026-07-08 16:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":127728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452482,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:41:08] local.INFO: GPS data processed {"connection_id":127728,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:41:08] local.INFO: Acknowledgment sent {"connection_id":127728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:41:31] local.INFO: TCP Data received {"connection_id":127730,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127730,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:41:31] local.INFO: Processing buffer {"connection_id":127730,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:41:31] local.INFO: IMEI packet received {"connection_id":127730,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":127730,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:41:35] local.INFO: TCP Data received {"connection_id":127729,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f416b8fa0012d9aa38005781208000c005b28..."} 
[2026-07-08 16:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416b8fa0012d9aa38005781208000c005b28..."} 
[2026-07-08 16:41:35] local.INFO: Processing buffer {"connection_id":127729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416b8fa0012d9aa38005781208000c005b28..."} 
[2026-07-08 16:41:35] local.INFO: Packet analysis {"connection_id":127729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416b"} 
[2026-07-08 16:41:35] local.INFO: Extracted packet for processing {"connection_id":127729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416b"} 
[2026-07-08 16:41:35] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755016,"longitude_deg":76.510912,"latitude_deg":9.1755016,"altitude":12,"angle":91,"satellites":40,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781208","is_valid_coordinates":true} 
[2026-07-08 16:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578297600001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687173120,"note":"Value kept but may cause issues"} 
[2026-07-08 16:41:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783508996000,"timestamp_ms":1783508996000,"timestamp_seconds":1783508996,"priority":1,"record_length":96,"hex_timestamp":"0000019f416b8fa0"} 
[2026-07-08 16:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 16:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":127729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":127729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":127729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578297600001,"66":27767,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687173120},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578297600001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:41:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687173120,"description":"Unknown IO ID 45"} 
[2026-07-08 16:41:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456578297600001,"power":27767,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687173120}} 
[2026-07-08 16:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":127729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:41:35] local.INFO: GPS data processed {"connection_id":127729,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:41:35] local.INFO: Acknowledgment sent {"connection_id":127729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:41:35] local.INFO: TCP Data received {"connection_id":127730,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127730,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:41:35] local.INFO: Processing buffer {"connection_id":127730,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:41:35] local.INFO: IMEI packet received {"connection_id":127730,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":127730,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:41:37] local.INFO: TCP Data received {"connection_id":127730,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f416bc268012d7b138005e2dd700007015d1b..."} 
[2026-07-08 16:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416bc268012d7b138005e2dd700007015d1b..."} 
[2026-07-08 16:41:37] local.INFO: Processing buffer {"connection_id":127730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416bc268012d7b138005e2dd700007015d1b..."} 
[2026-07-08 16:41:37] local.INFO: Packet analysis {"connection_id":127730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416b"} 
[2026-07-08 16:41:37] local.INFO: Extracted packet for processing {"connection_id":127730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416b"} 
[2026-07-08 16:41:37] local.INFO: GPS Element Parsed {"raw_longitude":763040640,"raw_latitude":98753904,"longitude_deg":76.304064,"latitude_deg":9.8753904,"altitude":7,"angle":349,"satellites":27,"speed":33,"hex_longitude":"2d7b1380","hex_latitude":"05e2dd70","is_valid_coordinates":true} 
[2026-07-08 16:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578303744001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103777087160057856,"note":"Value kept but may cause issues"} 
[2026-07-08 16:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870050597617430528,"note":"Value kept but may cause issues"} 
[2026-07-08 16:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783509009000,"timestamp_ms":1783509009000,"timestamp_seconds":1783509009,"priority":1,"record_length":96,"hex_timestamp":"0000019f416bc268"} 
[2026-07-08 16:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:41: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-07-08 16: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-08 16:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578303744001,"66":12428,"96":206,"85":15104,"24":33,"16":103777087160057856,"45":8870050597617430528},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-08 16:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578303744001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:41:37] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-08 16:41:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 16:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103777087160057856,"km_value":103777087160057.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870050597617430528,"description":"Unknown IO ID 45"} 
[2026-07-08 16:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578303744001,"power":12428,"unknown_96":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8870050597617430528}} 
[2026-07-08 16:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":127730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452484,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:41:37] local.INFO: GPS data processed {"connection_id":127730,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:41:37] local.INFO: Acknowledgment sent {"connection_id":127730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:41:37] local.INFO: TCP Data received {"connection_id":126496,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f416ba710012d18d6c00720fc48003c01122d..."} 
[2026-07-08 16:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416ba710012d18d6c00720fc48003c01122d..."} 
[2026-07-08 16:41:37] local.INFO: Processing buffer {"connection_id":126496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416ba710012d18d6c00720fc48003c01122d..."} 
[2026-07-08 16:41:37] local.INFO: Packet analysis {"connection_id":126496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416b"} 
[2026-07-08 16:41:37] local.INFO: Extracted packet for processing {"connection_id":126496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416b"} 
[2026-07-08 16:41:37] local.INFO: GPS Element Parsed {"raw_longitude":756602560,"raw_latitude":119602248,"longitude_deg":75.660256,"latitude_deg":11.9602248,"altitude":60,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d18d6c0","hex_latitude":"0720fc48","is_valid_coordinates":true} 
[2026-07-08 16:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578299136001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4875612514680832,"note":"Value kept but may cause issues"} 
[2026-07-08 16:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777059328,"note":"Value kept but may cause issues"} 
[2026-07-08 16:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783509002000,"timestamp_ms":1783509002000,"timestamp_seconds":1783509002,"priority":1,"record_length":96,"hex_timestamp":"0000019f416ba710"} 
[2026-07-08 16:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 16:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-08 16:41:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-08 16:41:37] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185617,"note":"Value kept but may cause issues"} 
[2026-07-08 16:41:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 16:41:37] local.WARNING: Large IO value detected {"io_id":82,"raw_value":6341068275337658369,"note":"Value kept but may cause issues"} 
[2026-07-08 16:41:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4713323567648676054,"note":"Value kept but may cause issues"} 
[2026-07-08 16:41:37] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513687743692013842,"note":"Value kept but may cause issues"} 
[2026-07-08 16:41:37] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77168124083830784,"note":"Value kept but may cause issues"} 
[2026-07-08 16:41:37] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832576,"note":"Value kept but may cause issues"} 
[2026-07-08 16:41:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332142286,"note":"Value kept but may cause issues"} 
[2026-07-08 16:41:37] local.WARNING: Large IO value detected {"io_id":32,"raw_value":4232577084,"note":"Value kept but may cause issues"} 
[2026-07-08 16:41:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-08 16:41:37] local.WARNING: Large IO value detected {"io_id":186,"raw_value":3758173464,"note":"Value kept but may cause issues"} 
[2026-07-08 16:41:37] local.WARNING: Large IO value detected {"io_id":214,"raw_value":3221692668,"note":"Value kept but may cause issues"} 
[2026-07-08 16:41:37] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,103,83,24,241,157,16,82,159,3,45,192,252,60,44,10,66,176,94,1,240,227,65,32,4,113,205,186,214,72,41,239,48,2,17,7,46],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-08 16:41:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323757080260378624,"timestamp_seconds":4323757080260378.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 16:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578299136001,"66":12298,"103":206,"83":41984,"24":0,"16":4875612514680832,"45":1789829038777059328},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578299136001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:41:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:41:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4875612514680832,"km_value":4875612514680.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777059328,"description":"Unknown IO ID 45"} 
[2026-07-08 16:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578299136001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1789829038777059328}} 
[2026-07-08 16:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":126496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:41:37] local.INFO: GPS data processed {"connection_id":126496,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:41:37] local.INFO: Acknowledgment sent {"connection_id":126496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:41:58] local.INFO: TCP Data received {"connection_id":125623,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:41:58] local.INFO: Processing buffer {"connection_id":125623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:41:58] local.INFO: IMEI packet received {"connection_id":125623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":125623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:41:58] local.INFO: TCP Data received {"connection_id":125623,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:41:58] local.INFO: Processing buffer {"connection_id":125623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:41:58] local.INFO: IMEI packet received {"connection_id":125623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":125623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:41:59] local.INFO: TCP Data received {"connection_id":126495,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126495,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:41:59] local.INFO: Processing buffer {"connection_id":126495,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:41:59] local.INFO: IMEI packet received {"connection_id":126495,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 16:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":126495,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:42:00] local.INFO: TCP Data received {"connection_id":125623,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:42:00] local.INFO: Processing buffer {"connection_id":125623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:42:00] local.INFO: IMEI packet received {"connection_id":125623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":125623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:42:01] local.INFO: TCP Data received {"connection_id":125623,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f416be1a8012d9aa38005781208000c005b26..."} 
[2026-07-08 16:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416be1a8012d9aa38005781208000c005b26..."} 
[2026-07-08 16:42:01] local.INFO: Processing buffer {"connection_id":125623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416be1a8012d9aa38005781208000c005b26..."} 
[2026-07-08 16:42:01] local.INFO: Packet analysis {"connection_id":125623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416b"} 
[2026-07-08 16:42:01] local.INFO: Extracted packet for processing {"connection_id":125623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416b"} 
[2026-07-08 16:42:01] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755016,"longitude_deg":76.510912,"latitude_deg":9.1755016,"altitude":12,"angle":91,"satellites":38,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781208","is_valid_coordinates":true} 
[2026-07-08 16:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578302976001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687173120,"note":"Value kept but may cause issues"} 
[2026-07-08 16:42:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783509017000,"timestamp_ms":1783509017000,"timestamp_seconds":1783509017,"priority":1,"record_length":96,"hex_timestamp":"0000019f416be1a8"} 
[2026-07-08 16:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:42: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-07-08 16:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 16:42:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:42:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578302976001,"66":27919,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687173120},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578302976001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:42:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687173120,"description":"Unknown IO ID 45"} 
[2026-07-08 16:42:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456578302976001,"power":27919,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687173120}} 
[2026-07-08 16:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":125623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:42:01] local.INFO: GPS data processed {"connection_id":125623,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:42:01] local.INFO: Acknowledgment sent {"connection_id":125623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:42:04] local.INFO: TCP Data received {"connection_id":125732,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:42:04] local.INFO: Processing buffer {"connection_id":125732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:42:04] local.INFO: IMEI packet received {"connection_id":125732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":125732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:42:05] local.INFO: TCP Data received {"connection_id":125732,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:42:05] local.INFO: Processing buffer {"connection_id":125732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:42:05] local.INFO: IMEI packet received {"connection_id":125732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":125732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:42:08] local.INFO: TCP Data received {"connection_id":127730,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f416c1088012d7b0d8005e2fbc00005015d1c..."} 
[2026-07-08 16:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416c1088012d7b0d8005e2fbc00005015d1c..."} 
[2026-07-08 16:42:08] local.INFO: Processing buffer {"connection_id":127730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416c1088012d7b0d8005e2fbc00005015d1c..."} 
[2026-07-08 16:42:08] local.INFO: Packet analysis {"connection_id":127730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416c"} 
[2026-07-08 16:42:08] local.INFO: Extracted packet for processing {"connection_id":127730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416c"} 
[2026-07-08 16:42:08] local.INFO: GPS Element Parsed {"raw_longitude":763039104,"raw_latitude":98761664,"longitude_deg":76.3039104,"latitude_deg":9.8761664,"altitude":5,"angle":349,"satellites":28,"speed":0,"hex_longitude":"2d7b0d80","hex_latitude":"05e2fbc0","is_valid_coordinates":true} 
[2026-07-08 16:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578306304001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103777486592016384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868572853991993344,"note":"Value kept but may cause issues"} 
[2026-07-08 16:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783509029000,"timestamp_ms":1783509029000,"timestamp_seconds":1783509029,"priority":1,"record_length":96,"hex_timestamp":"0000019f416c1088"} 
[2026-07-08 16:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:42: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-07-08 16: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-08 16:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":127730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":127730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":127730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578306304001,"66":12689,"96":206,"85":15104,"24":0,"16":103777486592016384,"45":8868572853991993344},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-08 16:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578306304001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:42:08] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-08 16:42:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 16:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103777486592016384,"km_value":103777486592016.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868572853991993344,"description":"Unknown IO ID 45"} 
[2026-07-08 16:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578306304001,"power":12689,"unknown_96":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8868572853991993344}} 
[2026-07-08 16:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":127730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452487,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:42:08] local.INFO: GPS data processed {"connection_id":127730,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:42:08] local.INFO: Acknowledgment sent {"connection_id":127730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:42:08] local.INFO: TCP Data received {"connection_id":125623,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f416c33b0012d9aa38005781208000c005b2c..."} 
[2026-07-08 16:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416c33b0012d9aa38005781208000c005b2c..."} 
[2026-07-08 16:42:08] local.INFO: Processing buffer {"connection_id":125623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416c33b0012d9aa38005781208000c005b2c..."} 
[2026-07-08 16:42:08] local.INFO: Packet analysis {"connection_id":125623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416c"} 
[2026-07-08 16:42:08] local.INFO: Extracted packet for processing {"connection_id":125623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416c"} 
[2026-07-08 16:42:08] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91755016,"longitude_deg":76.510912,"latitude_deg":9.1755016,"altitude":12,"angle":91,"satellites":44,"speed":0,"hex_longitude":"2d9aa380","hex_latitude":"05781208","is_valid_coordinates":true} 
[2026-07-08 16:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578308352001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767183681552384,"note":"Value kept but may cause issues"} 
[2026-07-08 16:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687173120,"note":"Value kept but may cause issues"} 
[2026-07-08 16:42:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783509038000,"timestamp_ms":1783509038000,"timestamp_seconds":1783509038,"priority":1,"record_length":96,"hex_timestamp":"0000019f416c33b0"} 
[2026-07-08 16:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 16:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578308352001,"66":27876,"24":0,"85":15872,"16":342767183681552384,"45":-7303853409687173120},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578308352001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:42:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767183681552384,"km_value":342767183681552.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687173120,"description":"Unknown IO ID 45"} 
[2026-07-08 16:42:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456578308352001,"power":27876,"ignition":0,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687173120}} 
[2026-07-08 16:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":125623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:42:08] local.INFO: GPS data processed {"connection_id":125623,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:42:08] local.INFO: Acknowledgment sent {"connection_id":125623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:42:10] local.INFO: TCP Data received {"connection_id":125732,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:42:10] local.INFO: Processing buffer {"connection_id":125732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:42:10] local.INFO: IMEI packet received {"connection_id":125732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":125732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:42:11] local.INFO: TCP Data received {"connection_id":125732,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f416bf918012d18d6c00720fc48003c01122c..."} 
[2026-07-08 16:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416bf918012d18d6c00720fc48003c01122c..."} 
[2026-07-08 16:42:11] local.INFO: Processing buffer {"connection_id":125732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416bf918012d18d6c00720fc48003c01122c..."} 
[2026-07-08 16:42:11] local.INFO: Packet analysis {"connection_id":125732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416b"} 
[2026-07-08 16:42:11] local.INFO: Extracted packet for processing {"connection_id":125732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416b"} 
[2026-07-08 16:42:11] local.INFO: GPS Element Parsed {"raw_longitude":756602560,"raw_latitude":119602248,"longitude_deg":75.660256,"latitude_deg":11.9602248,"altitude":60,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d18d6c0","hex_latitude":"0720fc48","is_valid_coordinates":true} 
[2026-07-08 16:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578304512001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4875612514680832,"note":"Value kept but may cause issues"} 
[2026-07-08 16:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777059328,"note":"Value kept but may cause issues"} 
[2026-07-08 16:42: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-07-08 16:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783509023000,"timestamp_ms":1783509023000,"timestamp_seconds":1783509023,"priority":1,"record_length":96,"hex_timestamp":"0000019f416bf918"} 
[2026-07-08 16:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 16:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-08 16:42:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-08 16:42:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185617,"note":"Value kept but may cause issues"} 
[2026-07-08 16:42:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 16:42:11] local.WARNING: Large IO value detected {"io_id":82,"raw_value":6341068275337658369,"note":"Value kept but may cause issues"} 
[2026-07-08 16:42:11] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4713413761961892054,"note":"Value kept but may cause issues"} 
[2026-07-08 16:42:11] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513687743692013842,"note":"Value kept but may cause issues"} 
[2026-07-08 16:42:11] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77169223595458560,"note":"Value kept but may cause issues"} 
[2026-07-08 16:42:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832576,"note":"Value kept but may cause issues"} 
[2026-07-08 16:42:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075959502,"note":"Value kept but may cause issues"} 
[2026-07-08 16:42:11] local.WARNING: Large IO value detected {"io_id":32,"raw_value":4232577084,"note":"Value kept but may cause issues"} 
[2026-07-08 16:42:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-08 16:42:11] local.WARNING: Large IO value detected {"io_id":12,"raw_value":3892391192,"note":"Value kept but may cause issues"} 
[2026-07-08 16:42:11] local.WARNING: Large IO value detected {"io_id":214,"raw_value":3221692668,"note":"Value kept but may cause issues"} 
[2026-07-08 16:42:11] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,103,83,24,241,157,16,82,159,85,45,192,252,60,40,10,66,3,44,176,1,240,181,227,65,32,4,113,205,12,214,72,43,239,48,2,17,7],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-08 16:42:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323757101735215104,"timestamp_seconds":4323757101735215.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 16:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578304512001,"66":12287,"103":206,"83":41984,"24":0,"16":4875612514680832,"45":1789829038777059328},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578304512001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:42:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:42:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4875612514680832,"km_value":4875612514680.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777059328,"description":"Unknown IO ID 45"} 
[2026-07-08 16:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578304512001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1789829038777059328}} 
[2026-07-08 16:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":125732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:42:11] local.INFO: GPS data processed {"connection_id":125732,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:42:11] local.INFO: Acknowledgment sent {"connection_id":125732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:42:22] local.INFO: TCP Data received {"connection_id":126495,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126495,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:42:22] local.INFO: Processing buffer {"connection_id":126495,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:42:22] local.INFO: IMEI packet received {"connection_id":126495,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 16:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":126495,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:42:24] local.INFO: TCP Data received {"connection_id":126497,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126497,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:42:24] local.INFO: Processing buffer {"connection_id":126497,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:42:24] local.INFO: IMEI packet received {"connection_id":126497,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 16:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":126497,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:42:29] local.INFO: TCP Data received {"connection_id":125625,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125625,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:42:29] local.INFO: Processing buffer {"connection_id":125625,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:42:29] local.INFO: IMEI packet received {"connection_id":125625,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":125625,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:42:31] local.INFO: TCP Data received {"connection_id":125625,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125625,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:42:31] local.INFO: Processing buffer {"connection_id":125625,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:42:31] local.INFO: IMEI packet received {"connection_id":125625,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":125625,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:42:36] local.INFO: TCP Data received {"connection_id":125625,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125625,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:42:36] local.INFO: Processing buffer {"connection_id":125625,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:42:36] local.INFO: IMEI packet received {"connection_id":125625,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":125625,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:42:37] local.INFO: TCP Data received {"connection_id":125625,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f416c6290012d7b094005e30d280005016421..."} 
[2026-07-08 16:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416c6290012d7b094005e30d280005016421..."} 
[2026-07-08 16:42:37] local.INFO: Processing buffer {"connection_id":125625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416c6290012d7b094005e30d280005016421..."} 
[2026-07-08 16:42:37] local.INFO: Packet analysis {"connection_id":125625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416c"} 
[2026-07-08 16:42:37] local.INFO: Extracted packet for processing {"connection_id":125625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416c"} 
[2026-07-08 16:42:37] local.INFO: GPS Element Parsed {"raw_longitude":763038016,"raw_latitude":98766120,"longitude_deg":76.3038016,"latitude_deg":9.876612,"altitude":5,"angle":356,"satellites":33,"speed":0,"hex_longitude":"2d7b0940","hex_latitude":"05e30d28","is_valid_coordinates":true} 
[2026-07-08 16:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578311424001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103777709930315776,"note":"Value kept but may cause issues"} 
[2026-07-08 16:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866884004133715968,"note":"Value kept but may cause issues"} 
[2026-07-08 16:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783509050000,"timestamp_ms":1783509050000,"timestamp_seconds":1783509050,"priority":1,"record_length":96,"hex_timestamp":"0000019f416c6290"} 
[2026-07-08 16:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:42: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-07-08 16:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 16:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578311424001,"66":12885,"97":206,"85":15104,"24":0,"16":103777709930315776,"45":8866884004133715968},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-08 16:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578311424001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:42:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-08 16:42:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 16:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103777709930315776,"km_value":103777709930315.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866884004133715968,"description":"Unknown IO ID 45"} 
[2026-07-08 16:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578311424001,"power":12885,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8866884004133715968}} 
[2026-07-08 16:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":125625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452490,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:42:37] local.INFO: GPS data processed {"connection_id":125625,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:42:37] local.INFO: Acknowledgment sent {"connection_id":125625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:42:41] local.INFO: TCP Data received {"connection_id":125732,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f416c4b20012d18d6c00720fc48003c01122c..."} 
[2026-07-08 16:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416c4b20012d18d6c00720fc48003c01122c..."} 
[2026-07-08 16:42:41] local.INFO: Processing buffer {"connection_id":125732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416c4b20012d18d6c00720fc48003c01122c..."} 
[2026-07-08 16:42:41] local.INFO: Packet analysis {"connection_id":125732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416c"} 
[2026-07-08 16:42:41] local.INFO: Extracted packet for processing {"connection_id":125732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416c"} 
[2026-07-08 16:42:41] local.INFO: GPS Element Parsed {"raw_longitude":756602560,"raw_latitude":119602248,"longitude_deg":75.660256,"latitude_deg":11.9602248,"altitude":60,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d18d6c0","hex_latitude":"0720fc48","is_valid_coordinates":true} 
[2026-07-08 16:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578309888001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4875612514680832,"note":"Value kept but may cause issues"} 
[2026-07-08 16:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777059328,"note":"Value kept but may cause issues"} 
[2026-07-08 16: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-07-08 16:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783509044000,"timestamp_ms":1783509044000,"timestamp_seconds":1783509044,"priority":1,"record_length":96,"hex_timestamp":"0000019f416c4b20"} 
[2026-07-08 16:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:42: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-07-08 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 16:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:42: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-07-08 16:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578309888001,"66":12298,"103":206,"83":41984,"24":0,"16":4875612514680832,"45":1789829038777059328},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578309888001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:42:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:42:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4875612514680832,"km_value":4875612514680.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777059328,"description":"Unknown IO ID 45"} 
[2026-07-08 16:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578309888001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1789829038777059328}} 
[2026-07-08 16:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":125732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:42:42] local.INFO: GPS data processed {"connection_id":125732,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:42:42] local.INFO: Acknowledgment sent {"connection_id":125732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:42:50] local.INFO: TCP Data received {"connection_id":125623,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f416c3f68012d9aa480057812b8000d003429..."} 
[2026-07-08 16:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416c3f68012d9aa480057812b8000d003429..."} 
[2026-07-08 16:42:50] local.INFO: Processing buffer {"connection_id":125623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416c3f68012d9aa480057812b8000d003429..."} 
[2026-07-08 16:42:50] local.INFO: Packet analysis {"connection_id":125623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416c"} 
[2026-07-08 16:42:50] local.INFO: Extracted packet for processing {"connection_id":125623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416c"} 
[2026-07-08 16:42:50] local.INFO: GPS Element Parsed {"raw_longitude":765109376,"raw_latitude":91755192,"longitude_deg":76.5109376,"latitude_deg":9.1755192,"altitude":13,"angle":52,"satellites":41,"speed":2,"hex_longitude":"2d9aa480","hex_latitude":"057812b8","is_valid_coordinates":true} 
[2026-07-08 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-07-08 16:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578313728001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767200861421568,"note":"Value kept but may cause issues"} 
[2026-07-08 16:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409687173120,"note":"Value kept but may cause issues"} 
[2026-07-08 16:42:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783509041000,"timestamp_ms":1783509041000,"timestamp_seconds":1783509041,"priority":1,"record_length":96,"hex_timestamp":"0000019f416c3f68"} 
[2026-07-08 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-07-08 16:42: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-07-08 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 16:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 16:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":125623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":125623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":125623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578313728001,"66":27919,"24":2,"85":15872,"16":342767200861421568,"45":-7303853409687173120},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578313728001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:42:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767200861421568,"km_value":342767200861421.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409687173120,"description":"Unknown IO ID 45"} 
[2026-07-08 16:42:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456578313728001,"power":27919,"ignition":2,"unknown_85":15872,"odometer":null,"unknown_45":-7303853409687173120}} 
[2026-07-08 16:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":125623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:42:50] local.INFO: GPS data processed {"connection_id":125623,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:42:50] local.INFO: Acknowledgment sent {"connection_id":125623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:42:54] local.INFO: TCP Data received {"connection_id":126498,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:42:54] local.INFO: Processing buffer {"connection_id":126498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:42:54] local.INFO: IMEI packet received {"connection_id":126498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":126498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:42:55] local.INFO: TCP Data received {"connection_id":126498,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:42:55] local.INFO: Processing buffer {"connection_id":126498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:42:55] local.INFO: IMEI packet received {"connection_id":126498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":126498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:43:00] local.INFO: TCP Data received {"connection_id":126499,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:43:00] local.INFO: Processing buffer {"connection_id":126499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:43:00] local.INFO: IMEI packet received {"connection_id":126499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":126499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:43:00] local.INFO: TCP Data received {"connection_id":126498,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:43:00] local.INFO: Processing buffer {"connection_id":126498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:43:00] local.INFO: IMEI packet received {"connection_id":126498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":126498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:43:01] local.INFO: TCP Data received {"connection_id":126498,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f416c4350012d9aa500057812e8000d00442c..."} 
[2026-07-08 16:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416c4350012d9aa500057812e8000d00442c..."} 
[2026-07-08 16:43:01] local.INFO: Processing buffer {"connection_id":126498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416c4350012d9aa500057812e8000d00442c..."} 
[2026-07-08 16:43:01] local.INFO: Packet analysis {"connection_id":126498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416c"} 
[2026-07-08 16:43:01] local.INFO: Extracted packet for processing {"connection_id":126498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416c"} 
[2026-07-08 16:43:01] local.INFO: GPS Element Parsed {"raw_longitude":765109504,"raw_latitude":91755240,"longitude_deg":76.5109504,"latitude_deg":9.175524,"altitude":13,"angle":68,"satellites":44,"speed":4,"hex_longitude":"2d9aa500","hex_latitude":"057812e8","is_valid_coordinates":true} 
[2026-07-08 16:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578314496001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767205156388864,"note":"Value kept but may cause issues"} 
[2026-07-08 16:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303571934710417408,"note":"Value kept but may cause issues"} 
[2026-07-08 16:43:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783509042000,"timestamp_ms":1783509042000,"timestamp_seconds":1783509042,"priority":1,"record_length":96,"hex_timestamp":"0000019f416c4350"} 
[2026-07-08 16:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:43: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-07-08 16:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 16:43:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:43:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578314496001,"66":27604,"24":4,"85":15872,"16":342767205156388864,"45":-7303571934710417408},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578314496001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:43:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767205156388864,"km_value":342767205156388.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303571934710417408,"description":"Unknown IO ID 45"} 
[2026-07-08 16:43:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456578314496001,"power":27604,"ignition":4,"unknown_85":15872,"odometer":null,"unknown_45":-7303571934710417408}} 
[2026-07-08 16:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":126498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:43:01] local.INFO: GPS data processed {"connection_id":126498,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:43:01] local.INFO: Acknowledgment sent {"connection_id":126498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:43:04] local.INFO: TCP Data received {"connection_id":126499,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:43:04] local.INFO: Processing buffer {"connection_id":126499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:43:04] local.INFO: IMEI packet received {"connection_id":126499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":126499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:43:05] local.INFO: TCP Data received {"connection_id":126499,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f416c9d28012d18d6c00720fc48003c01122c..."} 
[2026-07-08 16:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416c9d28012d18d6c00720fc48003c01122c..."} 
[2026-07-08 16:43:05] local.INFO: Processing buffer {"connection_id":126499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416c9d28012d18d6c00720fc48003c01122c..."} 
[2026-07-08 16:43:05] local.INFO: Packet analysis {"connection_id":126499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416c"} 
[2026-07-08 16:43:05] local.INFO: Extracted packet for processing {"connection_id":126499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416c"} 
[2026-07-08 16:43:05] local.INFO: GPS Element Parsed {"raw_longitude":756602560,"raw_latitude":119602248,"longitude_deg":75.660256,"latitude_deg":11.9602248,"altitude":60,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d18d6c0","hex_latitude":"0720fc48","is_valid_coordinates":true} 
[2026-07-08 16:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578315264001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4875612514680832,"note":"Value kept but may cause issues"} 
[2026-07-08 16:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777059328,"note":"Value kept but may cause issues"} 
[2026-07-08 16:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783509065000,"timestamp_ms":1783509065000,"timestamp_seconds":1783509065,"priority":1,"record_length":96,"hex_timestamp":"0000019f416c9d28"} 
[2026-07-08 16:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 16:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-08 16:43:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-08 16:43:05] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185617,"note":"Value kept but may cause issues"} 
[2026-07-08 16:43:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 16:43:05] local.WARNING: Large IO value detected {"io_id":82,"raw_value":6341068275337658369,"note":"Value kept but may cause issues"} 
[2026-07-08 16:43:05] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4713594150588324054,"note":"Value kept but may cause issues"} 
[2026-07-08 16:43:05] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513687743692013842,"note":"Value kept but may cause issues"} 
[2026-07-08 16:43:05] local.WARNING: Large IO value detected {"io_id":60,"raw_value":77171422618714112,"note":"Value kept but may cause issues"} 
[2026-07-08 16:43:05] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832576,"note":"Value kept but may cause issues"} 
[2026-07-08 16:43:05] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075959502,"note":"Value kept but may cause issues"} 
[2026-07-08 16:43:05] local.WARNING: Large IO value detected {"io_id":32,"raw_value":4232577084,"note":"Value kept but may cause issues"} 
[2026-07-08 16:43:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-08 16:43:05] local.WARNING: Large IO value detected {"io_id":176,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-07-08 16:43:05] local.WARNING: Large IO value detected {"io_id":214,"raw_value":3221692668,"note":"Value kept but may cause issues"} 
[2026-07-08 16:43:05] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,103,83,24,241,157,16,82,159,249,45,192,252,60,44,10,66,167,85,1,240,227,65,32,4,113,205,176,214,72,239,43,2,17,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-08 16:43:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323757097440247808,"timestamp_seconds":4323757097440248.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 16:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578315264001,"66":13722,"103":206,"83":41984,"24":0,"16":4875612514680832,"45":1789829038777059328},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578315264001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:43:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:43:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4875612514680832,"km_value":4875612514680.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777059328,"description":"Unknown IO ID 45"} 
[2026-07-08 16:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578315264001,"power":13722,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1789829038777059328}} 
[2026-07-08 16:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":126499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:43:05] local.INFO: GPS data processed {"connection_id":126499,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:43:05] local.INFO: Acknowledgment sent {"connection_id":126499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:43:08] local.INFO: TCP Data received {"connection_id":125625,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f416e4308012d7aca0005e411480007014628..."} 
[2026-07-08 16:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416e4308012d7aca0005e411480007014628..."} 
[2026-07-08 16:43:08] local.INFO: Processing buffer {"connection_id":125625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416e4308012d7aca0005e411480007014628..."} 
[2026-07-08 16:43:08] local.INFO: Packet analysis {"connection_id":125625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416e"} 
[2026-07-08 16:43:08] local.INFO: Extracted packet for processing {"connection_id":125625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416e"} 
[2026-07-08 16:43:08] local.INFO: GPS Element Parsed {"raw_longitude":763021824,"raw_latitude":98832712,"longitude_deg":76.3021824,"latitude_deg":9.8832712,"altitude":7,"angle":326,"satellites":40,"speed":42,"hex_longitude":"2d7aca00","hex_latitude":"05e41148","is_valid_coordinates":true} 
[2026-07-08 16:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578347776001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103781055709839360,"note":"Value kept but may cause issues"} 
[2026-07-08 16:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848939974386118656,"note":"Value kept but may cause issues"} 
[2026-07-08 16:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783509173000,"timestamp_ms":1783509173000,"timestamp_seconds":1783509173,"priority":1,"record_length":96,"hex_timestamp":"0000019f416e4308"} 
[2026-07-08 16:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-08 16:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578347776001,"66":13319,"97":206,"85":15104,"24":42,"16":103781055709839360,"45":8848939974386118656},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-08 16:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578347776001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:43:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-08 16:43:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 16:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103781055709839360,"km_value":103781055709839.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848939974386118656,"description":"Unknown IO ID 45"} 
[2026-07-08 16:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578347776001,"power":13319,"unknown_97":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8848939974386118656}} 
[2026-07-08 16:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":125625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452495,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:43:08] local.INFO: GPS data processed {"connection_id":125625,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:43:08] local.INFO: Acknowledgment sent {"connection_id":125625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:43:32] local.INFO: TCP Data received {"connection_id":126498,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f416c4b20012d9aa68005781338000d00552a..."} 
[2026-07-08 16:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416c4b20012d9aa68005781338000d00552a..."} 
[2026-07-08 16:43:32] local.INFO: Processing buffer {"connection_id":126498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416c4b20012d9aa68005781338000d00552a..."} 
[2026-07-08 16:43:32] local.INFO: Packet analysis {"connection_id":126498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416c"} 
[2026-07-08 16:43:32] local.INFO: Extracted packet for processing {"connection_id":126498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416c"} 
[2026-07-08 16:43:32] local.INFO: GPS Element Parsed {"raw_longitude":765109888,"raw_latitude":91755320,"longitude_deg":76.5109888,"latitude_deg":9.175532,"altitude":13,"angle":85,"satellites":42,"speed":11,"hex_longitude":"2d9aa680","hex_latitude":"05781338","is_valid_coordinates":true} 
[2026-07-08 16:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578314752001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342767226631225344,"note":"Value kept but may cause issues"} 
[2026-07-08 16:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303431197222049792,"note":"Value kept but may cause issues"} 
[2026-07-08 16:43:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 16:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783509044000,"timestamp_ms":1783509044000,"timestamp_seconds":1783509044,"priority":1,"record_length":96,"hex_timestamp":"0000019f416c4b20"} 
[2026-07-08 16:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-08 16:43:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:43:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578314752001,"66":27908,"24":11,"85":15872,"16":342767226631225344,"45":-7303431197222049792},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 16:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578314752001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:43:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342767226631225344,"km_value":342767226631225.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303431197222049792,"description":"Unknown IO ID 45"} 
[2026-07-08 16:43:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456578314752001,"power":27908,"ignition":11,"unknown_85":15872,"odometer":null,"unknown_45":-7303431197222049792}} 
[2026-07-08 16:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":126498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:43:32] local.INFO: GPS data processed {"connection_id":126498,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:43:32] local.INFO: Acknowledgment sent {"connection_id":126498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:43:36] local.INFO: TCP Data received {"connection_id":125628,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125628,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:43:36] local.INFO: Processing buffer {"connection_id":125628,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:43:36] local.INFO: IMEI packet received {"connection_id":125628,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":125628,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:43:36] local.INFO: TCP Data received {"connection_id":126499,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f416e1fe0012d195c000720a8a8002f00b929..."} 
[2026-07-08 16:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416e1fe0012d195c000720a8a8002f00b929..."} 
[2026-07-08 16:43:36] local.INFO: Processing buffer {"connection_id":126499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416e1fe0012d195c000720a8a8002f00b929..."} 
[2026-07-08 16:43:36] local.INFO: Packet analysis {"connection_id":126499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416e"} 
[2026-07-08 16:43:36] local.INFO: Extracted packet for processing {"connection_id":126499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416e"} 
[2026-07-08 16:43:36] local.INFO: GPS Element Parsed {"raw_longitude":756636672,"raw_latitude":119580840,"longitude_deg":75.6636672,"latitude_deg":11.958084,"altitude":47,"angle":185,"satellites":41,"speed":10,"hex_longitude":"2d195c00","hex_latitude":"0720a8a8","is_valid_coordinates":true} 
[2026-07-08 16:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578345728001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4877618264408064,"note":"Value kept but may cause issues"} 
[2026-07-08 16:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827335579418333184,"note":"Value kept but may cause issues"} 
[2026-07-08 16:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783509164000,"timestamp_ms":1783509164000,"timestamp_seconds":1783509164,"priority":1,"record_length":96,"hex_timestamp":"0000019f416e1fe0"} 
[2026-07-08 16:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-08 16:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578345728001,"66":14157,"103":206,"83":41984,"24":10,"16":4877618264408064,"45":1827335579418333184},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578345728001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:43:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:43:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4877618264408064,"km_value":4877618264408.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827335579418333184,"description":"Unknown IO ID 45"} 
[2026-07-08 16:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578345728001,"power":14157,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1827335579418333184}} 
[2026-07-08 16:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":126499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:43:37] local.INFO: GPS data processed {"connection_id":126499,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:43:37] local.INFO: Acknowledgment sent {"connection_id":126499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:43:42] local.INFO: TCP Data received {"connection_id":125628,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125628,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:43:42] local.INFO: Processing buffer {"connection_id":125628,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:43:42] local.INFO: IMEI packet received {"connection_id":125628,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":125628,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:43:43] local.INFO: TCP Data received {"connection_id":125628,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f416e5690012d7aba4005e422c80008013b28..."} 
[2026-07-08 16:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416e5690012d7aba4005e422c80008013b28..."} 
[2026-07-08 16:43:43] local.INFO: Processing buffer {"connection_id":125628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416e5690012d7aba4005e422c80008013b28..."} 
[2026-07-08 16:43:43] local.INFO: Packet analysis {"connection_id":125628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416e"} 
[2026-07-08 16:43:43] local.INFO: Extracted packet for processing {"connection_id":125628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416e"} 
[2026-07-08 16:43:43] local.INFO: GPS Element Parsed {"raw_longitude":763017792,"raw_latitude":98837192,"longitude_deg":76.3017792,"latitude_deg":9.8837192,"altitude":8,"angle":315,"satellites":40,"speed":50,"hex_longitude":"2d7aba40","hex_latitude":"05e422c8","is_valid_coordinates":true} 
[2026-07-08 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-07-08 16:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578348288001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103781347767615488,"note":"Value kept but may cause issues"} 
[2026-07-08 16:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847884443223934976,"note":"Value kept but may cause issues"} 
[2026-07-08 16:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783509178000,"timestamp_ms":1783509178000,"timestamp_seconds":1783509178,"priority":1,"record_length":96,"hex_timestamp":"0000019f416e5690"} 
[2026-07-08 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-07-08 16:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-08 16:43:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 16:43:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-08 16:43:43] local.WARNING: Large IO value detected {"io_id":227,"raw_value":-8928386218291090944,"note":"Value kept but may cause issues"} 
[2026-07-08 16:43:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-07-08 16:43:43] local.WARNING: Large IO value detected {"io_id":112,"raw_value":3000041472,"note":"Value kept but may cause issues"} 
[2026-07-08 16:43:43] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3817160704,"note":"Value kept but may cause issues"} 
[2026-07-08 16:43:43] local.WARNING: Large IO value detected {"io_id":161,"raw_value":57885305781245243,"note":"Value kept but may cause issues"} 
[2026-07-08 16:43:43] local.WARNING: Large IO value detected {"io_id":109,"raw_value":8077207226536902661,"note":"Value kept but may cause issues"} 
[2026-07-08 16:43:43] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,97,85,24,241,157,16,180,159,59,45,192,9,7,37,10,66,8,230,40,179,221,64,1,240,3,227,65,4,113,205,32,155,239,136,41,50,2,112,5,11,161,109],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-07-08 16:43:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504761770857594880,"timestamp_seconds":504761770857594.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 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-07-08 16:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":125628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":125628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":125628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578348288001,"66":12939,"97":206,"85":15104,"24":50,"16":103781347767615488,"45":8847884443223934976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-08 16:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578348288001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:43:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-08 16:43:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 16:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103781347767615488,"km_value":103781347767615.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847884443223934976,"description":"Unknown IO ID 45"} 
[2026-07-08 16:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578348288001,"power":12939,"unknown_97":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8847884443223934976}} 
[2026-07-08 16:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":125628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452498,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:43:43] local.INFO: GPS data processed {"connection_id":125628,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:43:43] local.INFO: Acknowledgment sent {"connection_id":125628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:43:55] local.INFO: TCP Data received {"connection_id":125631,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:43:55] local.INFO: Processing buffer {"connection_id":125631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:43:55] local.INFO: IMEI packet received {"connection_id":125631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":125631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:44:00] local.INFO: TCP Data received {"connection_id":126500,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:44:00] local.INFO: Processing buffer {"connection_id":126500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:44:00] local.INFO: IMEI packet received {"connection_id":126500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":126500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:44:00] local.INFO: TCP Data received {"connection_id":125631,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:44:00] local.INFO: Processing buffer {"connection_id":125631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:44:00] local.INFO: IMEI packet received {"connection_id":125631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":125631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:44:01] local.INFO: TCP Data received {"connection_id":125631,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f416e3b38012d9c3b0005783b38000f00552d..."} 
[2026-07-08 16:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416e3b38012d9c3b0005783b38000f00552d..."} 
[2026-07-08 16:44:01] local.INFO: Processing buffer {"connection_id":125631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416e3b38012d9c3b0005783b38000f00552d..."} 
[2026-07-08 16:44:01] local.INFO: Packet analysis {"connection_id":125631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416e"} 
[2026-07-08 16:44:01] local.INFO: Extracted packet for processing {"connection_id":125631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416e"} 
[2026-07-08 16:44:01] local.INFO: GPS Element Parsed {"raw_longitude":765213440,"raw_latitude":91765560,"longitude_deg":76.521344,"latitude_deg":9.176556,"altitude":15,"angle":85,"satellites":45,"speed":28,"hex_longitude":"2d9c3b00","hex_latitude":"05783b38","is_valid_coordinates":true} 
[2026-07-08 16:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578344960001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342772208793288704,"note":"Value kept but may cause issues"} 
[2026-07-08 16:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7199003980859957248,"note":"Value kept but may cause issues"} 
[2026-07-08 16:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783509171000,"timestamp_ms":1783509171000,"timestamp_seconds":1783509171,"priority":1,"record_length":96,"hex_timestamp":"0000019f416e3b38"} 
[2026-07-08 16:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:44: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-07-08 16:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-08 16:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578344960001,"66":28006,"39":206,"85":15872,"24":28,"16":342772208793288704,"45":-7199003980859957248},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,85,24,16,45]} 
[2026-07-08 16:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578344960001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:44:01] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-08 16:44:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342772208793288704,"km_value":342772208793288.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7199003980859957248,"description":"Unknown IO ID 45"} 
[2026-07-08 16:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578344960001,"power":28006,"unknown_39":206,"unknown_85":15872,"ignition":28,"odometer":null,"unknown_45":-7199003980859957248}} 
[2026-07-08 16:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":125631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:44:01] local.INFO: GPS data processed {"connection_id":125631,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:44:01] local.INFO: Acknowledgment sent {"connection_id":125631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:44:02] local.INFO: TCP Data received {"connection_id":126500,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:44:02] local.INFO: Processing buffer {"connection_id":126500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:44:02] local.INFO: IMEI packet received {"connection_id":126500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":126500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:44:03] local.INFO: TCP Data received {"connection_id":126500,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f416e23c8012d195bc00720a7e0002f00c427..."} 
[2026-07-08 16:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416e23c8012d195bc00720a7e0002f00c427..."} 
[2026-07-08 16:44:03] local.INFO: Processing buffer {"connection_id":126500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416e23c8012d195bc00720a7e0002f00c427..."} 
[2026-07-08 16:44:03] local.INFO: Packet analysis {"connection_id":126500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416e"} 
[2026-07-08 16:44:03] local.INFO: Extracted packet for processing {"connection_id":126500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416e"} 
[2026-07-08 16:44:03] local.INFO: GPS Element Parsed {"raw_longitude":756636608,"raw_latitude":119580640,"longitude_deg":75.6636608,"latitude_deg":11.958064,"altitude":47,"angle":196,"satellites":39,"speed":7,"hex_longitude":"2d195bc0","hex_latitude":"0720a7e0","is_valid_coordinates":true} 
[2026-07-08 16:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578345984001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4877631149309952,"note":"Value kept but may cause issues"} 
[2026-07-08 16:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827335579418273792,"note":"Value kept but may cause issues"} 
[2026-07-08 16:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783509165000,"timestamp_ms":1783509165000,"timestamp_seconds":1783509165,"priority":1,"record_length":96,"hex_timestamp":"0000019f416e23c8"} 
[2026-07-08 16:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-08 16:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578345984001,"66":13374,"103":206,"83":41984,"24":7,"16":4877631149309952,"45":1827335579418273792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578345984001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:44:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:44:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4877631149309952,"km_value":4877631149309.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827335579418273792,"description":"Unknown IO ID 45"} 
[2026-07-08 16:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578345984001,"power":13374,"unknown_103":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1827335579418273792}} 
[2026-07-08 16:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":126500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:44:03] local.INFO: GPS data processed {"connection_id":126500,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:44:03] local.INFO: Acknowledgment sent {"connection_id":126500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:44:14] local.INFO: TCP Data received {"connection_id":125628,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f416f4ca8012d7a238005e468580012013128..."} 
[2026-07-08 16:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416f4ca8012d7a238005e468580012013128..."} 
[2026-07-08 16:44:14] local.INFO: Processing buffer {"connection_id":125628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416f4ca8012d7a238005e468580012013128..."} 
[2026-07-08 16:44:14] local.INFO: Packet analysis {"connection_id":125628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416f"} 
[2026-07-08 16:44:14] local.INFO: Extracted packet for processing {"connection_id":125628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416f"} 
[2026-07-08 16:44:14] local.INFO: GPS Element Parsed {"raw_longitude":762979200,"raw_latitude":98855000,"longitude_deg":76.29792,"latitude_deg":9.8855,"altitude":18,"angle":305,"satellites":40,"speed":13,"hex_longitude":"2d7a2380","hex_latitude":"05e46858","is_valid_coordinates":true} 
[2026-07-08 16:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578364928001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103783611215380480,"note":"Value kept but may cause issues"} 
[2026-07-08 16:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801933653281335296,"note":"Value kept but may cause issues"} 
[2026-07-08 16:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783509241000,"timestamp_ms":1783509241000,"timestamp_seconds":1783509241,"priority":1,"record_length":96,"hex_timestamp":"0000019f416f4ca8"} 
[2026-07-08 16:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:44:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":24,"data_length":795,"current_offset":136} 
[2026-07-08 16:44:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":125628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":125628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":125628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578364928001,"66":13037,"157":206,"87":12288,"24":13,"16":103783611215380480,"45":8801933653281335296},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 16:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578364928001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:44:14] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 16:44:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-08 16:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103783611215380480,"km_value":103783611215380.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801933653281335296,"description":"Unknown IO ID 45"} 
[2026-07-08 16:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578364928001,"power":13037,"unknown_157":206,"unknown_87":12288,"ignition":13,"odometer":null,"unknown_45":8801933653281335296}} 
[2026-07-08 16:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":125628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452501,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:44:14] local.INFO: GPS data processed {"connection_id":125628,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:44:14] local.INFO: Acknowledgment sent {"connection_id":125628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:44:32] local.INFO: TCP Data received {"connection_id":125631,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f416e6a18012d9c5f4005783ec0001000552c..."} 
[2026-07-08 16:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416e6a18012d9c5f4005783ec0001000552c..."} 
[2026-07-08 16:44:32] local.INFO: Processing buffer {"connection_id":125631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416e6a18012d9c5f4005783ec0001000552c..."} 
[2026-07-08 16:44:32] local.INFO: Packet analysis {"connection_id":125631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416e"} 
[2026-07-08 16:44:32] local.INFO: Extracted packet for processing {"connection_id":125631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416e"} 
[2026-07-08 16:44:32] local.INFO: GPS Element Parsed {"raw_longitude":765222720,"raw_latitude":91766464,"longitude_deg":76.522272,"latitude_deg":9.1766464,"altitude":16,"angle":85,"satellites":44,"speed":30,"hex_longitude":"2d9c5f40","hex_latitude":"05783ec0","is_valid_coordinates":true} 
[2026-07-08 16: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-07-08 16:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578347776001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342772651174920192,"note":"Value kept but may cause issues"} 
[2026-07-08 16:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7189152356674881536,"note":"Value kept but may cause issues"} 
[2026-07-08 16:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783509183000,"timestamp_ms":1783509183000,"timestamp_seconds":1783509183,"priority":1,"record_length":96,"hex_timestamp":"0000019f416e6a18"} 
[2026-07-08 16:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 16:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578347776001,"66":27930,"39":206,"85":15872,"24":30,"16":342772651174920192,"45":-7189152356674881536},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,85,24,16,45]} 
[2026-07-08 16:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578347776001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:44:32] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-08 16:44:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342772651174920192,"km_value":342772651174920.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7189152356674881536,"description":"Unknown IO ID 45"} 
[2026-07-08 16:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578347776001,"power":27930,"unknown_39":206,"unknown_85":15872,"ignition":30,"odometer":null,"unknown_45":-7189152356674881536}} 
[2026-07-08 16:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":125631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:44:32] local.INFO: GPS data processed {"connection_id":125631,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:44:32] local.INFO: Acknowledgment sent {"connection_id":125631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:44:34] local.INFO: TCP Data received {"connection_id":126500,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f416ed390012d19520007209390002a007d29..."} 
[2026-07-08 16:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416ed390012d19520007209390002a007d29..."} 
[2026-07-08 16:44:34] local.INFO: Processing buffer {"connection_id":126500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416ed390012d19520007209390002a007d29..."} 
[2026-07-08 16:44:34] local.INFO: Packet analysis {"connection_id":126500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416e"} 
[2026-07-08 16:44:34] local.INFO: Extracted packet for processing {"connection_id":126500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416e"} 
[2026-07-08 16:44:34] local.INFO: GPS Element Parsed {"raw_longitude":756634112,"raw_latitude":119575440,"longitude_deg":75.6634112,"latitude_deg":11.957544,"altitude":42,"angle":125,"satellites":41,"speed":8,"hex_longitude":"2d195200","hex_latitude":"07209390","is_valid_coordinates":true} 
[2026-07-08 16:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578357248001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4877974746693632,"note":"Value kept but may cause issues"} 
[2026-07-08 16:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824239354673154048,"note":"Value kept but may cause issues"} 
[2026-07-08 16:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783509210000,"timestamp_ms":1783509210000,"timestamp_seconds":1783509210,"priority":1,"record_length":96,"hex_timestamp":"0000019f416ed390"} 
[2026-07-08 16:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 16:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578357248001,"66":14265,"103":206,"83":41984,"24":8,"16":4877974746693632,"45":1824239354673154048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578357248001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:44:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:44:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4877974746693632,"km_value":4877974746693.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824239354673154048,"description":"Unknown IO ID 45"} 
[2026-07-08 16:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578357248001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1824239354673154048}} 
[2026-07-08 16:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":126500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:44:34] local.INFO: GPS data processed {"connection_id":126500,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:44:34] local.INFO: Acknowledgment sent {"connection_id":126500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:44:36] local.INFO: TCP Data received {"connection_id":126501,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126501,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:44:36] local.INFO: Processing buffer {"connection_id":126501,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:44:36] local.INFO: IMEI packet received {"connection_id":126501,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":126501,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:44:41] local.INFO: TCP Data received {"connection_id":126501,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126501,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:44:41] local.INFO: Processing buffer {"connection_id":126501,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:44:41] local.INFO: IMEI packet received {"connection_id":126501,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":126501,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:44:42] local.INFO: TCP Data received {"connection_id":126501,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f416f5090012d7a228005e468c00012011c27..."} 
[2026-07-08 16:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416f5090012d7a228005e468c00012011c27..."} 
[2026-07-08 16:44:42] local.INFO: Processing buffer {"connection_id":126501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416f5090012d7a228005e468c00012011c27..."} 
[2026-07-08 16:44:42] local.INFO: Packet analysis {"connection_id":126501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416f"} 
[2026-07-08 16:44:42] local.INFO: Extracted packet for processing {"connection_id":126501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416f"} 
[2026-07-08 16:44:42] local.INFO: GPS Element Parsed {"raw_longitude":762978944,"raw_latitude":98855104,"longitude_deg":76.2978944,"latitude_deg":9.8855104,"altitude":18,"angle":284,"satellites":39,"speed":9,"hex_longitude":"2d7a2280","hex_latitude":"05e468c0","is_valid_coordinates":true} 
[2026-07-08 16:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578365696001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103783624100282368,"note":"Value kept but may cause issues"} 
[2026-07-08 16:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801018859607316480,"note":"Value kept but may cause issues"} 
[2026-07-08 16:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783509242000,"timestamp_ms":1783509242000,"timestamp_seconds":1783509242,"priority":1,"record_length":96,"hex_timestamp":"0000019f416f5090"} 
[2026-07-08 16:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-08 16:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":126501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":126501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":126501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578365696001,"66":13037,"157":206,"87":12288,"24":9,"16":103783624100282368,"45":8801018859607316480},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 16:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578365696001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:44:42] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 16:44:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-08 16:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103783624100282368,"km_value":103783624100282.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801018859607316480,"description":"Unknown IO ID 45"} 
[2026-07-08 16:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578365696001,"power":13037,"unknown_157":206,"unknown_87":12288,"ignition":9,"odometer":null,"unknown_45":8801018859607316480}} 
[2026-07-08 16:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":126501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452504,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:44:42] local.INFO: GPS data processed {"connection_id":126501,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:44:42] local.INFO: Acknowledgment sent {"connection_id":126501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:44:46] local.INFO: TCP Data received {"connection_id":126501,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f416f5478012d7a21c005e468c80012010728..."} 
[2026-07-08 16:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416f5478012d7a21c005e468c80012010728..."} 
[2026-07-08 16:44:46] local.INFO: Processing buffer {"connection_id":126501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416f5478012d7a21c005e468c80012010728..."} 
[2026-07-08 16:44:46] local.INFO: Packet analysis {"connection_id":126501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416f"} 
[2026-07-08 16:44:46] local.INFO: Extracted packet for processing {"connection_id":126501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416f"} 
[2026-07-08 16:44:46] local.INFO: GPS Element Parsed {"raw_longitude":762978752,"raw_latitude":98855112,"longitude_deg":76.2978752,"latitude_deg":9.8855112,"altitude":18,"angle":263,"satellites":40,"speed":5,"hex_longitude":"2d7a21c0","hex_latitude":"05e468c8","is_valid_coordinates":true} 
[2026-07-08 16: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-07-08 16:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578365952001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103783636985184256,"note":"Value kept but may cause issues"} 
[2026-07-08 16:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800737384630632448,"note":"Value kept but may cause issues"} 
[2026-07-08 16:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783509243000,"timestamp_ms":1783509243000,"timestamp_seconds":1783509243,"priority":1,"record_length":96,"hex_timestamp":"0000019f416f5478"} 
[2026-07-08 16:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-08 16:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":126501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":126501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":126501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578365952001,"66":13189,"157":206,"87":12288,"24":5,"16":103783636985184256,"45":8800737384630632448},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 16:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578365952001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:44:46] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 16:44:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-08 16:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103783636985184256,"km_value":103783636985184.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800737384630632448,"description":"Unknown IO ID 45"} 
[2026-07-08 16:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578365952001,"power":13189,"unknown_157":206,"unknown_87":12288,"ignition":5,"odometer":null,"unknown_45":8800737384630632448}} 
[2026-07-08 16:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":126501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452505,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:44:46] local.INFO: GPS data processed {"connection_id":126501,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:44:46] local.INFO: Acknowledgment sent {"connection_id":126501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:44:56] local.INFO: TCP Data received {"connection_id":125632,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:44:56] local.INFO: Processing buffer {"connection_id":125632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:44:56] local.INFO: IMEI packet received {"connection_id":125632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":125632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:44:59] local.INFO: TCP Data received {"connection_id":125734,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:44:59] local.INFO: Processing buffer {"connection_id":125734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:44:59] local.INFO: IMEI packet received {"connection_id":125734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":125734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:45:00] local.INFO: TCP Data received {"connection_id":125734,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:45:00] local.INFO: Processing buffer {"connection_id":125734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:45:00] local.INFO: IMEI packet received {"connection_id":125734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":125734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:45:00] local.INFO: TCP Data received {"connection_id":125632,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:45:00] local.INFO: Processing buffer {"connection_id":125632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:45:00] local.INFO: IMEI packet received {"connection_id":125632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":125632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:45:01] local.INFO: TCP Data received {"connection_id":125632,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f416e98f8012d9c8240057841b8001000542c..."} 
[2026-07-08 16:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416e98f8012d9c8240057841b8001000542c..."} 
[2026-07-08 16:45:01] local.INFO: Processing buffer {"connection_id":125632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416e98f8012d9c8240057841b8001000542c..."} 
[2026-07-08 16:45:01] local.INFO: Packet analysis {"connection_id":125632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416e"} 
[2026-07-08 16:45:01] local.INFO: Extracted packet for processing {"connection_id":125632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416e"} 
[2026-07-08 16:45:01] local.INFO: GPS Element Parsed {"raw_longitude":765231680,"raw_latitude":91767224,"longitude_deg":76.523168,"latitude_deg":9.1767224,"altitude":16,"angle":84,"satellites":44,"speed":35,"hex_longitude":"2d9c8240","hex_latitude":"057841b8","is_valid_coordinates":true} 
[2026-07-08 16:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578350848001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342773084966617088,"note":"Value kept but may cause issues"} 
[2026-07-08 16:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7178948888768888832,"note":"Value kept but may cause issues"} 
[2026-07-08 16:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783509195000,"timestamp_ms":1783509195000,"timestamp_seconds":1783509195,"priority":1,"record_length":96,"hex_timestamp":"0000019f416e98f8"} 
[2026-07-08 16:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:45: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-07-08 16:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-08 16:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578350848001,"66":27930,"39":206,"85":15872,"24":35,"16":342773084966617088,"45":-7178948888768888832},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,85,24,16,45]} 
[2026-07-08 16:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578350848001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:45:01] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-08 16:45:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342773084966617088,"km_value":342773084966617.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7178948888768888832,"description":"Unknown IO ID 45"} 
[2026-07-08 16:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578350848001,"power":27930,"unknown_39":206,"unknown_85":15872,"ignition":35,"odometer":null,"unknown_45":-7178948888768888832}} 
[2026-07-08 16:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":125632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:45:01] local.INFO: GPS data processed {"connection_id":125632,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:45:01] local.INFO: Acknowledgment sent {"connection_id":125632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:45:05] local.INFO: TCP Data received {"connection_id":125734,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:45:05] local.INFO: Processing buffer {"connection_id":125734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:45:05] local.INFO: IMEI packet received {"connection_id":125734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":125734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:45:06] local.INFO: TCP Data received {"connection_id":125734,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f416ef2d0012d19570007208f90002a008d28..."} 
[2026-07-08 16:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416ef2d0012d19570007208f90002a008d28..."} 
[2026-07-08 16:45:06] local.INFO: Processing buffer {"connection_id":125734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416ef2d0012d19570007208f90002a008d28..."} 
[2026-07-08 16:45:06] local.INFO: Packet analysis {"connection_id":125734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416e"} 
[2026-07-08 16:45:06] local.INFO: Extracted packet for processing {"connection_id":125734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416e"} 
[2026-07-08 16:45:06] local.INFO: GPS Element Parsed {"raw_longitude":756635392,"raw_latitude":119574416,"longitude_deg":75.6635392,"latitude_deg":11.9574416,"altitude":42,"angle":141,"satellites":40,"speed":6,"hex_longitude":"2d195700","hex_latitude":"07208f90","is_valid_coordinates":true} 
[2026-07-08 16:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578357760001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4878052056104960,"note":"Value kept but may cause issues"} 
[2026-07-08 16:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824520829649784832,"note":"Value kept but may cause issues"} 
[2026-07-08 16:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783509218000,"timestamp_ms":1783509218000,"timestamp_seconds":1783509218,"priority":1,"record_length":96,"hex_timestamp":"0000019f416ef2d0"} 
[2026-07-08 16:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 16:45: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-07-08 16:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578357760001,"66":14374,"103":206,"83":41984,"24":6,"16":4878052056104960,"45":1824520829649784832},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578357760001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:45:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:45:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4878052056104960,"km_value":4878052056104.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824520829649784832,"description":"Unknown IO ID 45"} 
[2026-07-08 16:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578357760001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1824520829649784832}} 
[2026-07-08 16:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":125734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:45:06] local.INFO: GPS data processed {"connection_id":125734,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:45:06] local.INFO: Acknowledgment sent {"connection_id":125734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:45:31] local.INFO: TCP Data received {"connection_id":126502,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126502,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:45:31] local.INFO: Processing buffer {"connection_id":126502,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:45:31] local.INFO: IMEI packet received {"connection_id":126502,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":126502,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:45:32] local.INFO: TCP Data received {"connection_id":125632,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f416fecd0012d9d1e0005784b60001200b02e..."} 
[2026-07-08 16:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416fecd0012d9d1e0005784b60001200b02e..."} 
[2026-07-08 16:45:32] local.INFO: Processing buffer {"connection_id":125632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416fecd0012d9d1e0005784b60001200b02e..."} 
[2026-07-08 16:45:32] local.INFO: Packet analysis {"connection_id":125632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416f"} 
[2026-07-08 16:45:32] local.INFO: Extracted packet for processing {"connection_id":125632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416f"} 
[2026-07-08 16:45:32] local.INFO: GPS Element Parsed {"raw_longitude":765271552,"raw_latitude":91769696,"longitude_deg":76.5271552,"latitude_deg":9.1769696,"altitude":18,"angle":176,"satellites":46,"speed":14,"hex_longitude":"2d9d1e00","hex_latitude":"05784b60","is_valid_coordinates":true} 
[2026-07-08 16:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578375936001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342775034881769472,"note":"Value kept but may cause issues"} 
[2026-07-08 16:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7125257536960417792,"note":"Value kept but may cause issues"} 
[2026-07-08 16:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783509282000,"timestamp_ms":1783509282000,"timestamp_seconds":1783509282,"priority":1,"record_length":96,"hex_timestamp":"0000019f416fecd0"} 
[2026-07-08 16:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 16:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578375936001,"66":27865,"37":206,"85":15872,"24":14,"16":342775034881769472,"45":-7125257536960417792},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,85,24,16,45]} 
[2026-07-08 16:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578375936001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:45:32] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-08 16:45:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342775034881769472,"km_value":342775034881769.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7125257536960417792,"description":"Unknown IO ID 45"} 
[2026-07-08 16:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578375936001,"power":27865,"unknown_37":206,"unknown_85":15872,"ignition":14,"odometer":null,"unknown_45":-7125257536960417792}} 
[2026-07-08 16:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":125632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:45:32] local.INFO: GPS data processed {"connection_id":125632,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:45:32] local.INFO: Acknowledgment sent {"connection_id":125632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:45:36] local.INFO: TCP Data received {"connection_id":126502,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126502,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:45:36] local.INFO: Processing buffer {"connection_id":126502,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:45:36] local.INFO: IMEI packet received {"connection_id":126502,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":126502,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:45:37] local.INFO: TCP Data received {"connection_id":125734,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f416f2980012d195ac007208ad8002d008025..."} 
[2026-07-08 16:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416f2980012d195ac007208ad8002d008025..."} 
[2026-07-08 16:45:37] local.INFO: Processing buffer {"connection_id":125734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416f2980012d195ac007208ad8002d008025..."} 
[2026-07-08 16:45:37] local.INFO: Packet analysis {"connection_id":125734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416f"} 
[2026-07-08 16:45:37] local.INFO: Extracted packet for processing {"connection_id":125734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416f"} 
[2026-07-08 16:45:37] local.INFO: GPS Element Parsed {"raw_longitude":756636352,"raw_latitude":119573208,"longitude_deg":75.6636352,"latitude_deg":11.9573208,"altitude":45,"angle":128,"satellites":37,"speed":2,"hex_longitude":"2d195ac0","hex_latitude":"07208ad8","is_valid_coordinates":true} 
[2026-07-08 16:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578359808001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4878129365516288,"note":"Value kept but may cause issues"} 
[2026-07-08 16:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825928204533075968,"note":"Value kept but may cause issues"} 
[2026-07-08 16:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783509232000,"timestamp_ms":1783509232000,"timestamp_seconds":1783509232,"priority":1,"record_length":96,"hex_timestamp":"0000019f416f2980"} 
[2026-07-08 16:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-08 16:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578359808001,"66":14243,"103":206,"83":41984,"24":2,"16":4878129365516288,"45":1825928204533075968},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578359808001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:45:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:45:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4878129365516288,"km_value":4878129365516.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825928204533075968,"description":"Unknown IO ID 45"} 
[2026-07-08 16:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578359808001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1825928204533075968}} 
[2026-07-08 16:45:37] local.INFO: TCP Data received {"connection_id":126502,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f416f9eb0012d7a220005e469800010014d2a..."} 
[2026-07-08 16:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416f9eb0012d7a220005e469800010014d2a..."} 
[2026-07-08 16:45:37] local.INFO: Processing buffer {"connection_id":126502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416f9eb0012d7a220005e469800010014d2a..."} 
[2026-07-08 16:45:37] local.INFO: Packet analysis {"connection_id":126502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416f"} 
[2026-07-08 16:45:37] local.INFO: Extracted packet for processing {"connection_id":126502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416f"} 
[2026-07-08 16:45:37] local.INFO: GPS Element Parsed {"raw_longitude":762978816,"raw_latitude":98855296,"longitude_deg":76.2978816,"latitude_deg":9.8855296,"altitude":16,"angle":333,"satellites":42,"speed":10,"hex_longitude":"2d7a2200","hex_latitude":"05e46980","is_valid_coordinates":true} 
[2026-07-08 16:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578366208001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103783697114726400,"note":"Value kept but may cause issues"} 
[2026-07-08 16:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800526278398101504,"note":"Value kept but may cause issues"} 
[2026-07-08 16:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783509262000,"timestamp_ms":1783509262000,"timestamp_seconds":1783509262,"priority":1,"record_length":96,"hex_timestamp":"0000019f416f9eb0"} 
[2026-07-08 16:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-08 16:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578366208001,"66":13102,"157":206,"87":12288,"24":10,"16":103783697114726400,"45":8800526278398101504},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 16:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578366208001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:45:37] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 16:45:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-08 16:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103783697114726400,"km_value":103783697114726.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800526278398101504,"description":"Unknown IO ID 45"} 
[2026-07-08 16:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578366208001,"power":13102,"unknown_157":206,"unknown_87":12288,"ignition":10,"odometer":null,"unknown_45":8800526278398101504}} 
[2026-07-08 16:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":126502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452509,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:45:37] local.INFO: GPS data processed {"connection_id":126502,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:45:37] local.INFO: Acknowledgment sent {"connection_id":126502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":125734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:45:37] local.INFO: GPS data processed {"connection_id":125734,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:45:37] local.INFO: Acknowledgment sent {"connection_id":125734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:45:55] local.INFO: TCP Data received {"connection_id":125735,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:45:55] local.INFO: Processing buffer {"connection_id":125735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:45:55] local.INFO: IMEI packet received {"connection_id":125735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":125735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:45:56] local.INFO: TCP Data received {"connection_id":125735,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:45:56] local.INFO: Processing buffer {"connection_id":125735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:45:56] local.INFO: IMEI packet received {"connection_id":125735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":125735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:46:00] local.INFO: TCP Data received {"connection_id":127735,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:46:00] local.INFO: Processing buffer {"connection_id":127735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:46:00] local.INFO: IMEI packet received {"connection_id":127735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":127735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:46:00] local.INFO: TCP Data received {"connection_id":125735,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:46:00] local.INFO: Processing buffer {"connection_id":125735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:46:00] local.INFO: IMEI packet received {"connection_id":125735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":125735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:46:01] local.INFO: TCP Data received {"connection_id":125735,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f416ff0b8012d9d1e00057849e8001200be2e..."} 
[2026-07-08 16:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416ff0b8012d9d1e00057849e8001200be2e..."} 
[2026-07-08 16:46:01] local.INFO: Processing buffer {"connection_id":125735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416ff0b8012d9d1e00057849e8001200be2e..."} 
[2026-07-08 16:46:01] local.INFO: Packet analysis {"connection_id":125735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416f"} 
[2026-07-08 16:46:01] local.INFO: Extracted packet for processing {"connection_id":125735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416f"} 
[2026-07-08 16:46:01] local.INFO: GPS Element Parsed {"raw_longitude":765271552,"raw_latitude":91769320,"longitude_deg":76.5271552,"latitude_deg":9.176932,"altitude":18,"angle":190,"satellites":46,"speed":16,"hex_longitude":"2d9d1e00","hex_latitude":"057849e8","is_valid_coordinates":true} 
[2026-07-08 16: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-07-08 16:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578376192001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342775052061638656,"note":"Value kept but may cause issues"} 
[2026-07-08 16:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7125257536960503808,"note":"Value kept but may cause issues"} 
[2026-07-08 16:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783509283000,"timestamp_ms":1783509283000,"timestamp_seconds":1783509283,"priority":1,"record_length":96,"hex_timestamp":"0000019f416ff0b8"} 
[2026-07-08 16:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 16:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578376192001,"66":27865,"37":206,"85":15872,"24":16,"16":342775052061638656,"45":-7125257536960503808},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,85,24,16,45]} 
[2026-07-08 16:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578376192001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:46:01] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-08 16:46:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342775052061638656,"km_value":342775052061638.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7125257536960503808,"description":"Unknown IO ID 45"} 
[2026-07-08 16:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578376192001,"power":27865,"unknown_37":206,"unknown_85":15872,"ignition":16,"odometer":null,"unknown_45":-7125257536960503808}} 
[2026-07-08 16:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":125735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:46:01] local.INFO: GPS data processed {"connection_id":125735,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:46:01] local.INFO: Acknowledgment sent {"connection_id":125735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:46:08] local.INFO: TCP Data received {"connection_id":127735,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:46:08] local.INFO: Processing buffer {"connection_id":127735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:46:08] local.INFO: IMEI packet received {"connection_id":127735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":127735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:46:10] local.INFO: TCP Data received {"connection_id":126502,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f416fa298012d7a21c005e46a580010016429..."} 
[2026-07-08 16:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416fa298012d7a21c005e46a580010016429..."} 
[2026-07-08 16:46:10] local.INFO: Processing buffer {"connection_id":126502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416fa298012d7a21c005e46a580010016429..."} 
[2026-07-08 16:46:10] local.INFO: Packet analysis {"connection_id":126502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416f"} 
[2026-07-08 16:46:10] local.INFO: Extracted packet for processing {"connection_id":126502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416f"} 
[2026-07-08 16:46:10] local.INFO: GPS Element Parsed {"raw_longitude":762978752,"raw_latitude":98855512,"longitude_deg":76.2978752,"latitude_deg":9.8855512,"altitude":16,"angle":356,"satellites":41,"speed":9,"hex_longitude":"2d7a21c0","hex_latitude":"05e46a58","is_valid_coordinates":true} 
[2026-07-08 16:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578371072001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103783709999628288,"note":"Value kept but may cause issues"} 
[2026-07-08 16:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800596647142326272,"note":"Value kept but may cause issues"} 
[2026-07-08 16:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783509263000,"timestamp_ms":1783509263000,"timestamp_seconds":1783509263,"priority":1,"record_length":96,"hex_timestamp":"0000019f416fa298"} 
[2026-07-08 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-07-08 16:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":46,"data_length":795,"current_offset":136} 
[2026-07-08 16:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 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-07-08 16:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578371072001,"66":12972,"157":206,"87":12288,"24":9,"16":103783709999628288,"45":8800596647142326272},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 16:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578371072001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:46:10] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 16:46:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-08 16:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103783709999628288,"km_value":103783709999628.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800596647142326272,"description":"Unknown IO ID 45"} 
[2026-07-08 16:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578371072001,"power":12972,"unknown_157":206,"unknown_87":12288,"ignition":9,"odometer":null,"unknown_45":8800596647142326272}} 
[2026-07-08 16:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":126502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452512,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:46:10] local.INFO: GPS data processed {"connection_id":126502,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:46:10] local.INFO: Acknowledgment sent {"connection_id":126502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:46:12] local.INFO: TCP Data received {"connection_id":127735,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41704a90012d196d80072067b0002f009f2c..."} 
[2026-07-08 16:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41704a90012d196d80072067b0002f009f2c..."} 
[2026-07-08 16:46:12] local.INFO: Processing buffer {"connection_id":127735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41704a90012d196d80072067b0002f009f2c..."} 
[2026-07-08 16:46:12] local.INFO: Packet analysis {"connection_id":127735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4170"} 
[2026-07-08 16:46:12] local.INFO: Extracted packet for processing {"connection_id":127735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4170"} 
[2026-07-08 16:46:12] local.INFO: GPS Element Parsed {"raw_longitude":756641152,"raw_latitude":119564208,"longitude_deg":75.6641152,"latitude_deg":11.9564208,"altitude":47,"angle":159,"satellites":44,"speed":9,"hex_longitude":"2d196d80","hex_latitude":"072067b0","is_valid_coordinates":true} 
[2026-07-08 16:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578379264001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4878631876689920,"note":"Value kept but may cause issues"} 
[2026-07-08 16:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541646886912,"note":"Value kept but may cause issues"} 
[2026-07-08 16:46: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-07-08 16:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783509306000,"timestamp_ms":1783509306000,"timestamp_seconds":1783509306,"priority":1,"record_length":96,"hex_timestamp":"0000019f41704a90"} 
[2026-07-08 16:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:46: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-07-08 16: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-08 16:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:46:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":127735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":127735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":127735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:46: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-07-08 16:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578379264001,"66":14461,"103":206,"83":41984,"24":9,"16":4878631876689920,"45":1830572541646886912},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578379264001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:46:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:46:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4878631876689920,"km_value":4878631876689.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541646886912,"description":"Unknown IO ID 45"} 
[2026-07-08 16:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578379264001,"power":14461,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1830572541646886912}} 
[2026-07-08 16:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":127735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:46:12] local.INFO: GPS data processed {"connection_id":127735,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:46:12] local.INFO: Acknowledgment sent {"connection_id":127735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:46:26] local.INFO: TCP Data received {"connection_id":127734,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127734,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:46:26] local.INFO: Processing buffer {"connection_id":127734,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:46:26] local.INFO: IMEI packet received {"connection_id":127734,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 16:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":127734,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:46:32] local.INFO: TCP Data received {"connection_id":125736,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125736,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:46:32] local.INFO: Processing buffer {"connection_id":125736,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:46:32] local.INFO: IMEI packet received {"connection_id":125736,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":125736,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:46:32] local.INFO: TCP Data received {"connection_id":125735,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f417017c8012d9d184005783968001100ca2d..."} 
[2026-07-08 16:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f417017c8012d9d184005783968001100ca2d..."} 
[2026-07-08 16:46:32] local.INFO: Processing buffer {"connection_id":125735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f417017c8012d9d184005783968001100ca2d..."} 
[2026-07-08 16:46:32] local.INFO: Packet analysis {"connection_id":125735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4170"} 
[2026-07-08 16:46:32] local.INFO: Extracted packet for processing {"connection_id":125735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4170"} 
[2026-07-08 16:46:32] local.INFO: GPS Element Parsed {"raw_longitude":765270080,"raw_latitude":91765096,"longitude_deg":76.527008,"latitude_deg":9.1765096,"altitude":17,"angle":202,"satellites":45,"speed":26,"hex_longitude":"2d9d1840","hex_latitude":"05783968","is_valid_coordinates":true} 
[2026-07-08 16:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578376448001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342775266810003456,"note":"Value kept but may cause issues"} 
[2026-07-08 16:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7125257536960600064,"note":"Value kept but may cause issues"} 
[2026-07-08 16:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783509293000,"timestamp_ms":1783509293000,"timestamp_seconds":1783509293,"priority":1,"record_length":96,"hex_timestamp":"0000019f417017c8"} 
[2026-07-08 16:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 16:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578376448001,"66":27767,"40":206,"85":15872,"24":26,"16":342775266810003456,"45":-7125257536960600064},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,45]} 
[2026-07-08 16:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578376448001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:46:32] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-08 16:46:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342775266810003456,"km_value":342775266810003.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7125257536960600064,"description":"Unknown IO ID 45"} 
[2026-07-08 16:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578376448001,"power":27767,"unknown_40":206,"unknown_85":15872,"ignition":26,"odometer":null,"unknown_45":-7125257536960600064}} 
[2026-07-08 16:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":125735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:46:32] local.INFO: GPS data processed {"connection_id":125735,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:46:32] local.INFO: Acknowledgment sent {"connection_id":125735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:46:36] local.INFO: TCP Data received {"connection_id":125736,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125736,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:46:36] local.INFO: Processing buffer {"connection_id":125736,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:46:36] local.INFO: IMEI packet received {"connection_id":125736,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":125736,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:46:37] local.INFO: TCP Data received {"connection_id":125736,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f416fa680012d7a21c005e46b300010000b29..."} 
[2026-07-08 16:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416fa680012d7a21c005e46b300010000b29..."} 
[2026-07-08 16:46:37] local.INFO: Processing buffer {"connection_id":125736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416fa680012d7a21c005e46b300010000b29..."} 
[2026-07-08 16:46:37] local.INFO: Packet analysis {"connection_id":125736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416f"} 
[2026-07-08 16:46:37] local.INFO: Extracted packet for processing {"connection_id":125736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416f"} 
[2026-07-08 16:46:37] local.INFO: GPS Element Parsed {"raw_longitude":762978752,"raw_latitude":98855728,"longitude_deg":76.2978752,"latitude_deg":9.8855728,"altitude":16,"angle":11,"satellites":41,"speed":7,"hex_longitude":"2d7a21c0","hex_latitude":"05e46b30","is_valid_coordinates":true} 
[2026-07-08 16:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578371328001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103783718589562880,"note":"Value kept but may cause issues"} 
[2026-07-08 16:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800526278398203904,"note":"Value kept but may cause issues"} 
[2026-07-08 16:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783509264000,"timestamp_ms":1783509264000,"timestamp_seconds":1783509264,"priority":1,"record_length":96,"hex_timestamp":"0000019f416fa680"} 
[2026-07-08 16:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-08 16:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578371328001,"66":12972,"157":206,"87":12288,"24":7,"16":103783718589562880,"45":8800526278398203904},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 16:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578371328001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:46:37] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 16:46:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-08 16:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103783718589562880,"km_value":103783718589562.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800526278398203904,"description":"Unknown IO ID 45"} 
[2026-07-08 16:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578371328001,"power":12972,"unknown_157":206,"unknown_87":12288,"ignition":7,"odometer":null,"unknown_45":8800526278398203904}} 
[2026-07-08 16:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":125736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452515,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:46:37] local.INFO: GPS data processed {"connection_id":125736,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:46:37] local.INFO: Acknowledgment sent {"connection_id":125736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:46:46] local.INFO: TCP Data received {"connection_id":127735,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41705260012d196dc0072065c0003000ab2c..."} 
[2026-07-08 16:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41705260012d196dc0072065c0003000ab2c..."} 
[2026-07-08 16:46:46] local.INFO: Processing buffer {"connection_id":127735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41705260012d196dc0072065c0003000ab2c..."} 
[2026-07-08 16:46:46] local.INFO: Packet analysis {"connection_id":127735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4170"} 
[2026-07-08 16:46:46] local.INFO: Extracted packet for processing {"connection_id":127735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4170"} 
[2026-07-08 16:46:46] local.INFO: GPS Element Parsed {"raw_longitude":756641216,"raw_latitude":119563712,"longitude_deg":75.6641216,"latitude_deg":11.9563712,"altitude":48,"angle":171,"satellites":44,"speed":9,"hex_longitude":"2d196dc0","hex_latitude":"072065c0","is_valid_coordinates":true} 
[2026-07-08 16:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578382336001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4878657646493696,"note":"Value kept but may cause issues"} 
[2026-07-08 16:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832261391506452480,"note":"Value kept but may cause issues"} 
[2026-07-08 16:46: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-07-08 16:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783509308000,"timestamp_ms":1783509308000,"timestamp_seconds":1783509308,"priority":1,"record_length":96,"hex_timestamp":"0000019f41705260"} 
[2026-07-08 16:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:46: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":125,"data_length":795,"current_offset":136} 
[2026-07-08 16:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:46:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":127735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":127735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":127735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578382336001,"66":14363,"103":206,"83":41984,"24":9,"16":4878657646493696,"45":1832261391506452480},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578382336001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:46:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:46:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4878657646493696,"km_value":4878657646493.696,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832261391506452480,"description":"Unknown IO ID 45"} 
[2026-07-08 16:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578382336001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1832261391506452480}} 
[2026-07-08 16:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":127735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:46:47] local.INFO: GPS data processed {"connection_id":127735,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:46:47] local.INFO: Acknowledgment sent {"connection_id":127735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:46:56] local.INFO: TCP Data received {"connection_id":126503,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126503,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:46:56] local.INFO: Processing buffer {"connection_id":126503,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:46:56] local.INFO: IMEI packet received {"connection_id":126503,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 16:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":126503,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:47:00] local.INFO: TCP Data received {"connection_id":125635,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:47:00] local.INFO: Processing buffer {"connection_id":125635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:47:00] local.INFO: IMEI packet received {"connection_id":125635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":125635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:47:00] local.INFO: TCP Data received {"connection_id":125634,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:47:00] local.INFO: Processing buffer {"connection_id":125634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:47:00] local.INFO: IMEI packet received {"connection_id":125634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":125634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:47:05] local.INFO: TCP Data received {"connection_id":125635,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:47:05] local.INFO: Processing buffer {"connection_id":125635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:47:05] local.INFO: IMEI packet received {"connection_id":125635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":125635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:47:05] local.INFO: TCP Data received {"connection_id":125634,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:47:05] local.INFO: Processing buffer {"connection_id":125634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:47:05] local.INFO: IMEI packet received {"connection_id":125634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":125634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:47:06] local.INFO: TCP Data received {"connection_id":125635,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41705a30012d196dc0072063a0003000b82c..."} 
[2026-07-08 16:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41705a30012d196dc0072063a0003000b82c..."} 
[2026-07-08 16:47:06] local.INFO: Processing buffer {"connection_id":125635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41705a30012d196dc0072063a0003000b82c..."} 
[2026-07-08 16:47:06] local.INFO: Packet analysis {"connection_id":125635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4170"} 
[2026-07-08 16:47:06] local.INFO: Extracted packet for processing {"connection_id":125635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4170"} 
[2026-07-08 16:47:06] local.INFO: GPS Element Parsed {"raw_longitude":756641216,"raw_latitude":119563168,"longitude_deg":75.6641216,"latitude_deg":11.9563168,"altitude":48,"angle":184,"satellites":44,"speed":12,"hex_longitude":"2d196dc0","hex_latitude":"072063a0","is_valid_coordinates":true} 
[2026-07-08 16:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578382848001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4878683416297472,"note":"Value kept but may cause issues"} 
[2026-07-08 16:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832331760250503168,"note":"Value kept but may cause issues"} 
[2026-07-08 16:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783509310000,"timestamp_ms":1783509310000,"timestamp_seconds":1783509310,"priority":1,"record_length":96,"hex_timestamp":"0000019f41705a30"} 
[2026-07-08 16:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-08 16:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578382848001,"66":14265,"103":206,"83":41984,"24":12,"16":4878683416297472,"45":1832331760250503168},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578382848001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:47:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:47:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4878683416297472,"km_value":4878683416297.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832331760250503168,"description":"Unknown IO ID 45"} 
[2026-07-08 16:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578382848001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1832331760250503168}} 
[2026-07-08 16:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":125635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:47:06] local.INFO: GPS data processed {"connection_id":125635,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:47:06] local.INFO: Acknowledgment sent {"connection_id":125635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:47:06] local.INFO: TCP Data received {"connection_id":125634,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f41703708012d9d0d4005782600001200d52c..."} 
[2026-07-08 16:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41703708012d9d0d4005782600001200d52c..."} 
[2026-07-08 16:47:06] local.INFO: Processing buffer {"connection_id":125634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41703708012d9d0d4005782600001200d52c..."} 
[2026-07-08 16:47:06] local.INFO: Packet analysis {"connection_id":125634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4170"} 
[2026-07-08 16:47:06] local.INFO: Extracted packet for processing {"connection_id":125634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4170"} 
[2026-07-08 16:47:06] local.INFO: GPS Element Parsed {"raw_longitude":765267264,"raw_latitude":91760128,"longitude_deg":76.5267264,"latitude_deg":9.1760128,"altitude":18,"angle":213,"satellites":44,"speed":32,"hex_longitude":"2d9d0d40","hex_latitude":"05782600","is_valid_coordinates":true} 
[2026-07-08 16:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578379008001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342775545982877696,"note":"Value kept but may cause issues"} 
[2026-07-08 16:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7126876018077767680,"note":"Value kept but may cause issues"} 
[2026-07-08 16:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783509301000,"timestamp_ms":1783509301000,"timestamp_seconds":1783509301,"priority":1,"record_length":96,"hex_timestamp":"0000019f41703708"} 
[2026-07-08 16:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 16:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578379008001,"66":27919,"40":206,"85":15872,"24":32,"16":342775545982877696,"45":-7126876018077767680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,45]} 
[2026-07-08 16:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578379008001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:47:06] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-08 16:47:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342775545982877696,"km_value":342775545982877.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7126876018077767680,"description":"Unknown IO ID 45"} 
[2026-07-08 16:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578379008001,"power":27919,"unknown_40":206,"unknown_85":15872,"ignition":32,"odometer":null,"unknown_45":-7126876018077767680}} 
[2026-07-08 16:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":125634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:47:06] local.INFO: GPS data processed {"connection_id":125634,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:47:06] local.INFO: Acknowledgment sent {"connection_id":125634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:47:08] local.INFO: TCP Data received {"connection_id":125736,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f416ff4a0012d7a1f0005e468d0000e000b28..."} 
[2026-07-08 16:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f416ff4a0012d7a1f0005e468d0000e000b28..."} 
[2026-07-08 16:47:08] local.INFO: Processing buffer {"connection_id":125736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f416ff4a0012d7a1f0005e468d0000e000b28..."} 
[2026-07-08 16:47:08] local.INFO: Packet analysis {"connection_id":125736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f416f"} 
[2026-07-08 16:47:08] local.INFO: Extracted packet for processing {"connection_id":125736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f416f"} 
[2026-07-08 16:47:08] local.INFO: GPS Element Parsed {"raw_longitude":762978048,"raw_latitude":98855120,"longitude_deg":76.2978048,"latitude_deg":9.885512,"altitude":14,"angle":11,"satellites":40,"speed":0,"hex_longitude":"2d7a1f00","hex_latitude":"05e468d0","is_valid_coordinates":true} 
[2026-07-08 16:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578371584001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103783787309039616,"note":"Value kept but may cause issues"} 
[2026-07-08 16:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800526278398259200,"note":"Value kept but may cause issues"} 
[2026-07-08 16:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783509284000,"timestamp_ms":1783509284000,"timestamp_seconds":1783509284,"priority":1,"record_length":96,"hex_timestamp":"0000019f416ff4a0"} 
[2026-07-08 16:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-08 16:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578371584001,"66":13135,"157":206,"87":12288,"24":0,"16":103783787309039616,"45":8800526278398259200},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 16:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578371584001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:47:08] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 16:47:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-08 16:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103783787309039616,"km_value":103783787309039.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800526278398259200,"description":"Unknown IO ID 45"} 
[2026-07-08 16:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578371584001,"power":13135,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8800526278398259200}} 
[2026-07-08 16:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":125736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452519,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:47:08] local.INFO: GPS data processed {"connection_id":125736,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:47:08] local.INFO: Acknowledgment sent {"connection_id":125736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:47:10] local.INFO: TCP Data received {"connection_id":125634,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f41705a30012d9cfb40057809c8001100c929..."} 
[2026-07-08 16:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41705a30012d9cfb40057809c8001100c929..."} 
[2026-07-08 16:47:10] local.INFO: Processing buffer {"connection_id":125634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41705a30012d9cfb40057809c8001100c929..."} 
[2026-07-08 16:47:10] local.INFO: Packet analysis {"connection_id":125634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4170"} 
[2026-07-08 16:47:10] local.INFO: Extracted packet for processing {"connection_id":125634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4170"} 
[2026-07-08 16:47:10] local.INFO: GPS Element Parsed {"raw_longitude":765262656,"raw_latitude":91752904,"longitude_deg":76.5262656,"latitude_deg":9.1752904,"altitude":17,"angle":201,"satellites":41,"speed":39,"hex_longitude":"2d9cfb40","hex_latitude":"057809c8","is_valid_coordinates":true} 
[2026-07-08 16:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578381056001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342775958299738112,"note":"Value kept but may cause issues"} 
[2026-07-08 16:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7129972242822856704,"note":"Value kept but may cause issues"} 
[2026-07-08 16:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783509310000,"timestamp_ms":1783509310000,"timestamp_seconds":1783509310,"priority":1,"record_length":96,"hex_timestamp":"0000019f41705a30"} 
[2026-07-08 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-07-08 16:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 16:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 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-07-08 16:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578381056001,"66":27169,"40":206,"85":15872,"24":39,"16":342775958299738112,"45":-7129972242822856704},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,45]} 
[2026-07-08 16:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578381056001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:47:10] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-08 16:47:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342775958299738112,"km_value":342775958299738.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7129972242822856704,"description":"Unknown IO ID 45"} 
[2026-07-08 16:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578381056001,"power":27169,"unknown_40":206,"unknown_85":15872,"ignition":39,"odometer":null,"unknown_45":-7129972242822856704}} 
[2026-07-08 16:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":125634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:47:10] local.INFO: GPS data processed {"connection_id":125634,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:47:10] local.INFO: Acknowledgment sent {"connection_id":125634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:47:25] local.INFO: TCP Data received {"connection_id":125633,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125633,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:47:25] local.INFO: Processing buffer {"connection_id":125633,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:47:25] local.INFO: IMEI packet received {"connection_id":125633,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 16:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":125633,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:47:27] local.INFO: TCP Data received {"connection_id":125633,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e010000019f417232d8012d0bfc400702a6f8001200ea23..."} 
[2026-07-08 16:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125633,"packet_length":93,"packet_hex":"00000000000000518e010000019f417232d8012d0bfc400702a6f8001200ea23..."} 
[2026-07-08 16:47:27] local.INFO: Processing buffer {"connection_id":125633,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f417232d8012d0bfc400702a6f8001200ea23..."} 
[2026-07-08 16:47:27] local.INFO: Packet analysis {"connection_id":125633,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f4172"} 
[2026-07-08 16:47:27] local.INFO: Extracted packet for processing {"connection_id":125633,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f4172"} 
[2026-07-08 16:47:27] local.INFO: GPS Element Parsed {"raw_longitude":755760192,"raw_latitude":117614328,"longitude_deg":75.5760192,"latitude_deg":11.7614328,"altitude":18,"angle":234,"satellites":35,"speed":5,"hex_longitude":"2d0bfc40","hex_latitude":"0702a6f8","is_valid_coordinates":true} 
[2026-07-08 16: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":93,"current_offset":40} 
[2026-07-08 16:47: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-07-08 16:47: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-07-08 16:47:27] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:47:27] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-08 16:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":125633,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-08 16:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":125633,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-08 16:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":125633,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-08 16:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-08 16:47:27] local.WARNING: DEBUG: No valid data to process  
[2026-07-08 16:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":125633,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-08 16:47:27] local.ERROR: GPS data processing failed {"connection_id":125633,"error":"No valid data to process"} 
[2026-07-08 16:47:27] local.INFO: Acknowledgment sent {"connection_id":125633,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-08 16:47:33] local.INFO: TCP Data received {"connection_id":125636,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:47:33] local.INFO: Processing buffer {"connection_id":125636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:47:33] local.INFO: IMEI packet received {"connection_id":125636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":125636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:47:36] local.INFO: TCP Data received {"connection_id":125636,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:47:36] local.INFO: Processing buffer {"connection_id":125636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:47:36] local.INFO: IMEI packet received {"connection_id":125636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":125636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:47:37] local.INFO: TCP Data received {"connection_id":125635,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41706db8012d196d4007205cd8003000ab2d..."} 
[2026-07-08 16:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41706db8012d196d4007205cd8003000ab2d..."} 
[2026-07-08 16:47:37] local.INFO: Processing buffer {"connection_id":125635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41706db8012d196d4007205cd8003000ab2d..."} 
[2026-07-08 16:47:37] local.INFO: Packet analysis {"connection_id":125635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4170"} 
[2026-07-08 16:47:37] local.INFO: Extracted packet for processing {"connection_id":125635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4170"} 
[2026-07-08 16:47:37] local.INFO: GPS Element Parsed {"raw_longitude":756641088,"raw_latitude":119561432,"longitude_deg":75.6641088,"latitude_deg":11.9561432,"altitude":48,"angle":171,"satellites":45,"speed":11,"hex_longitude":"2d196d40","hex_latitude":"07205cd8","is_valid_coordinates":true} 
[2026-07-08 16:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578383360001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4878769315643392,"note":"Value kept but may cause issues"} 
[2026-07-08 16:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832331760250363904,"note":"Value kept but may cause issues"} 
[2026-07-08 16:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783509315000,"timestamp_ms":1783509315000,"timestamp_seconds":1783509315,"priority":1,"record_length":96,"hex_timestamp":"0000019f41706db8"} 
[2026-07-08 16:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 16:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578383360001,"66":14080,"103":206,"83":41984,"24":11,"16":4878769315643392,"45":1832331760250363904},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578383360001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:47:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:47:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4878769315643392,"km_value":4878769315643.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832331760250363904,"description":"Unknown IO ID 45"} 
[2026-07-08 16:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578383360001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1832331760250363904}} 
[2026-07-08 16:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":125635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:47:37] local.INFO: GPS data processed {"connection_id":125635,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:47:37] local.INFO: Acknowledgment sent {"connection_id":125635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:47:38] local.INFO: TCP Data received {"connection_id":125636,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f41701f98012d7a1ec005e468c0000e000b29..."} 
[2026-07-08 16:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41701f98012d7a1ec005e468c0000e000b29..."} 
[2026-07-08 16:47:38] local.INFO: Processing buffer {"connection_id":125636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41701f98012d7a1ec005e468c0000e000b29..."} 
[2026-07-08 16:47:38] local.INFO: Packet analysis {"connection_id":125636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4170"} 
[2026-07-08 16:47:38] local.INFO: Extracted packet for processing {"connection_id":125636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4170"} 
[2026-07-08 16:47:38] local.INFO: GPS Element Parsed {"raw_longitude":762977984,"raw_latitude":98855104,"longitude_deg":76.2977984,"latitude_deg":9.8855104,"altitude":14,"angle":11,"satellites":41,"speed":0,"hex_longitude":"2d7a1ec0","hex_latitude":"05e468c0","is_valid_coordinates":true} 
[2026-07-08 16:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578376704001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103783800193941504,"note":"Value kept but may cause issues"} 
[2026-07-08 16:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799752222212149248,"note":"Value kept but may cause issues"} 
[2026-07-08 16:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783509295000,"timestamp_ms":1783509295000,"timestamp_seconds":1783509295,"priority":1,"record_length":96,"hex_timestamp":"0000019f41701f98"} 
[2026-07-08 16:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-08 16:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578376704001,"66":12917,"157":206,"87":12288,"24":0,"16":103783800193941504,"45":8799752222212149248},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 16:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578376704001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:47:38] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 16:47:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-08 16:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103783800193941504,"km_value":103783800193941.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799752222212149248,"description":"Unknown IO ID 45"} 
[2026-07-08 16:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578376704001,"power":12917,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799752222212149248}} 
[2026-07-08 16:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":125636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452522,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:47:39] local.INFO: GPS data processed {"connection_id":125636,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:47:39] local.INFO: Acknowledgment sent {"connection_id":125636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:47:45] local.INFO: TCP Data received {"connection_id":125637,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125637,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:47:45] local.INFO: Processing buffer {"connection_id":125637,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:47:45] local.INFO: IMEI packet received {"connection_id":125637,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 16:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":125637,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:47:49] local.INFO: TCP Data received {"connection_id":125637,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125637,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:47:49] local.INFO: Processing buffer {"connection_id":125637,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:47:49] local.INFO: IMEI packet received {"connection_id":125637,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 16:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":125637,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:47:49] local.INFO: TCP Data received {"connection_id":125637,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f41723aa8012d0bfb400702a628001200d223..."} 
[2026-07-08 16:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41723aa8012d0bfb400702a628001200d223..."} 
[2026-07-08 16:47:49] local.INFO: Processing buffer {"connection_id":125637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41723aa8012d0bfb400702a628001200d223..."} 
[2026-07-08 16:47:49] local.INFO: Packet analysis {"connection_id":125637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4172"} 
[2026-07-08 16:47:49] local.INFO: Extracted packet for processing {"connection_id":125637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4172"} 
[2026-07-08 16:47:49] local.INFO: GPS Element Parsed {"raw_longitude":755759936,"raw_latitude":117614120,"longitude_deg":75.5759936,"latitude_deg":11.761412,"altitude":18,"angle":210,"satellites":35,"speed":5,"hex_longitude":"2d0bfb40","hex_latitude":"0702a628","is_valid_coordinates":true} 
[2026-07-08 16:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578414336001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23676896277430272,"note":"Value kept but may cause issues"} 
[2026-07-08 16:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":863635627401738240,"note":"Value kept but may cause issues"} 
[2026-07-08 16:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783509433000,"timestamp_ms":1783509433000,"timestamp_seconds":1783509433,"priority":1,"record_length":96,"hex_timestamp":"0000019f41723aa8"} 
[2026-07-08 16:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-08 16:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733143296,"note":"Value kept but may cause issues"} 
[2026-07-08 16:47:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 16:47:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1529151694,"corrected_to":0} 
[2026-07-08 16:47:49] local.WARNING: Large IO value detected {"io_id":64,"raw_value":5630638270972928,"note":"Value kept but may cause issues"} 
[2026-07-08 16:47:49] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-08 16:47:49] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503960899813376,"note":"Value kept but may cause issues"} 
[2026-07-08 16:47:49] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-08 16:47:49] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639410753788709,"note":"Value kept but may cause issues"} 
[2026-07-08 16:47:49] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5692813816086462720,"note":"Value kept but may cause issues"} 
[2026-07-08 16:47:49] local.WARNING: Large IO value detected {"io_id":12,"raw_value":2936354665074786324,"note":"Value kept but may cause issues"} 
[2026-07-08 16:47:49] local.WARNING: Large IO value detected {"io_id":111,"raw_value":2281778444,"note":"Value kept but may cause issues"} 
[2026-07-08 16:47:49] local.WARNING: Large IO value detected {"io_id":120,"raw_value":84737333928592042,"note":"Value kept but may cause issues"} 
[2026-07-08 16:47:49] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,37,94,24,241,157,16,30,159,46,45,128,167,18,35,10,66,29,31,205,64,1,240,103,227,65,2,4,113,12,111,208,36,239,56,84,7,20,9,206,120],"length":628,"final_offset":758,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1529151694,"validated":0}]} 
[2026-07-08 16:47:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1297294128727785472,"timestamp_seconds":1297294128727785.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 16:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":125637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":125637,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":125637,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:47:49] 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-07-08 16:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 16:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 16:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578414336001,"66":14309,"37":206,"94":11008,"24":5,"16":23676896277430272,"45":863635627401738240},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-08 16:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 16:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 16:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578414336001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:47:49] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-08 16:47:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 16:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23676896277430272,"km_value":23676896277430.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":863635627401738240,"description":"Unknown IO ID 45"} 
[2026-07-08 16:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578414336001,"power":14309,"unknown_37":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":863635627401738240}} 
[2026-07-08 16:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":125637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452523,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:47:50] local.INFO: GPS data processed {"connection_id":125637,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:47:50] local.INFO: Acknowledgment sent {"connection_id":125637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:47:55] local.INFO: TCP Data received {"connection_id":126504,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:47:55] local.INFO: Processing buffer {"connection_id":126504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:47:55] local.INFO: IMEI packet received {"connection_id":126504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":126504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:47:56] local.INFO: TCP Data received {"connection_id":126504,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:47:56] local.INFO: Processing buffer {"connection_id":126504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:47:56] local.INFO: IMEI packet received {"connection_id":126504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":126504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:47:57] local.INFO: TCP Data received {"connection_id":126504,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:47:57] local.INFO: Processing buffer {"connection_id":126504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:47:57] local.INFO: IMEI packet received {"connection_id":126504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":126504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:47:58] local.INFO: TCP Data received {"connection_id":126504,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f41721b68012d9ca54005769e10001000c82a..."} 
[2026-07-08 16:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41721b68012d9ca54005769e10001000c82a..."} 
[2026-07-08 16:47:58] local.INFO: Processing buffer {"connection_id":126504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41721b68012d9ca54005769e10001000c82a..."} 
[2026-07-08 16:47:58] local.INFO: Packet analysis {"connection_id":126504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4172"} 
[2026-07-08 16:47:58] local.INFO: Extracted packet for processing {"connection_id":126504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4172"} 
[2026-07-08 16:47:58] local.INFO: GPS Element Parsed {"raw_longitude":765240640,"raw_latitude":91659792,"longitude_deg":76.524064,"latitude_deg":9.1659792,"altitude":16,"angle":200,"satellites":42,"speed":41,"hex_longitude":"2d9ca540","hex_latitude":"05769e10","is_valid_coordinates":true} 
[2026-07-08 16:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578410496001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342780631224156160,"note":"Value kept but may cause issues"} 
[2026-07-08 16:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7155375359494510592,"note":"Value kept but may cause issues"} 
[2026-07-08 16:47:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783509425000,"timestamp_ms":1783509425000,"timestamp_seconds":1783509425,"priority":1,"record_length":96,"hex_timestamp":"0000019f41721b68"} 
[2026-07-08 16:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:47: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-07-08 16:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 16:47:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:47:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":126504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":126504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":126504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:47: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-07-08 16:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578410496001,"66":27919,"253":206,"85":15872,"24":41,"16":342780631224156160,"45":-7155375359494510592},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-07-08 16:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578410496001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:47:58] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-07-08 16:47:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342780631224156160,"km_value":342780631224156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7155375359494510592,"description":"Unknown IO ID 45"} 
[2026-07-08 16:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578410496001,"power":27919,"unknown_253":206,"unknown_85":15872,"ignition":41,"odometer":null,"unknown_45":-7155375359494510592}} 
[2026-07-08 16:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":126504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:47:58] local.INFO: GPS data processed {"connection_id":126504,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:47:58] local.INFO: Acknowledgment sent {"connection_id":126504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:48:00] local.INFO: TCP Data received {"connection_id":127736,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:48:00] local.INFO: Processing buffer {"connection_id":127736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:48:00] local.INFO: IMEI packet received {"connection_id":127736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":127736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:48:06] local.INFO: TCP Data received {"connection_id":127736,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:48:06] local.INFO: Processing buffer {"connection_id":127736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:48:06] local.INFO: IMEI packet received {"connection_id":127736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":127736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:48:07] local.INFO: TCP Data received {"connection_id":127736,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4170a850012d196f0007204680003100bc29..."} 
[2026-07-08 16:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4170a850012d196f0007204680003100bc29..."} 
[2026-07-08 16:48:07] local.INFO: Processing buffer {"connection_id":127736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4170a850012d196f0007204680003100bc29..."} 
[2026-07-08 16:48:07] local.INFO: Packet analysis {"connection_id":127736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4170"} 
[2026-07-08 16:48:07] local.INFO: Extracted packet for processing {"connection_id":127736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4170"} 
[2026-07-08 16:48:07] local.INFO: GPS Element Parsed {"raw_longitude":756641536,"raw_latitude":119555712,"longitude_deg":75.6641536,"latitude_deg":11.9555712,"altitude":49,"angle":188,"satellites":41,"speed":14,"hex_longitude":"2d196f00","hex_latitude":"07204680","is_valid_coordinates":true} 
[2026-07-08 16:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578384640001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4879048488517632,"note":"Value kept but may cause issues"} 
[2026-07-08 16:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832191022761564160,"note":"Value kept but may cause issues"} 
[2026-07-08 16:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783509330000,"timestamp_ms":1783509330000,"timestamp_seconds":1783509330,"priority":1,"record_length":96,"hex_timestamp":"0000019f4170a850"} 
[2026-07-08 16:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-08 16:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-07-08 16:48:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-08 16:48:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 16:48:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-08 16:48:07] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,103,83,24,241,157,16,85,159,90,45,192,99,48,44,10,66,82,101,74,128,1,240,125,227,65,32,4,113,205,239,55,2,17,7,47,8],"length":479,"final_offset":609,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-08 16:48:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458952723583139840,"timestamp_seconds":3458952723583140.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 16:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578384640001,"66":13678,"103":206,"83":41984,"24":14,"16":4879048488517632,"45":1832191022761564160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578384640001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:48:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:48:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4879048488517632,"km_value":4879048488517.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832191022761564160,"description":"Unknown IO ID 45"} 
[2026-07-08 16:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578384640001,"power":13678,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1832191022761564160}} 
[2026-07-08 16:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":127736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:48:07] local.INFO: GPS data processed {"connection_id":127736,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:48:07] local.INFO: Acknowledgment sent {"connection_id":127736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:48:10] local.INFO: TCP Data received {"connection_id":125636,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f41701f98012d7a1ec005e468c0000e000b29..."} 
[2026-07-08 16:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41701f98012d7a1ec005e468c0000e000b29..."} 
[2026-07-08 16:48:10] local.INFO: Processing buffer {"connection_id":125636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41701f98012d7a1ec005e468c0000e000b29..."} 
[2026-07-08 16:48:10] local.INFO: Packet analysis {"connection_id":125636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4170"} 
[2026-07-08 16:48:10] local.INFO: Extracted packet for processing {"connection_id":125636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4170"} 
[2026-07-08 16:48:10] local.INFO: GPS Element Parsed {"raw_longitude":762977984,"raw_latitude":98855104,"longitude_deg":76.2977984,"latitude_deg":9.8855104,"altitude":14,"angle":11,"satellites":41,"speed":0,"hex_longitude":"2d7a1ec0","hex_latitude":"05e468c0","is_valid_coordinates":true} 
[2026-07-08 16:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578379520001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103783800193941504,"note":"Value kept but may cause issues"} 
[2026-07-08 16:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799681853467967488,"note":"Value kept but may cause issues"} 
[2026-07-08 16:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783509295000,"timestamp_ms":1783509295000,"timestamp_seconds":1783509295,"priority":1,"record_length":96,"hex_timestamp":"0000019f41701f98"} 
[2026-07-08 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-07-08 16:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-08 16:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 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-07-08 16:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578379520001,"66":12917,"157":206,"87":12288,"24":0,"16":103783800193941504,"45":8799681853467967488},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 16:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578379520001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:48:10] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 16:48:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-08 16:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103783800193941504,"km_value":103783800193941.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799681853467967488,"description":"Unknown IO ID 45"} 
[2026-07-08 16:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578379520001,"power":12917,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799681853467967488}} 
[2026-07-08 16:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":125636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452526,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:48:10] local.INFO: GPS data processed {"connection_id":125636,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:48:10] local.INFO: Acknowledgment sent {"connection_id":125636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:48:20] local.INFO: TCP Data received {"connection_id":125637,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f41725218012d0bf9400702a2c8001100e025..."} 
[2026-07-08 16:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41725218012d0bf9400702a2c8001100e025..."} 
[2026-07-08 16:48:20] local.INFO: Processing buffer {"connection_id":125637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41725218012d0bf9400702a2c8001100e025..."} 
[2026-07-08 16:48:20] local.INFO: Packet analysis {"connection_id":125637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4172"} 
[2026-07-08 16:48:20] local.INFO: Extracted packet for processing {"connection_id":125637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4172"} 
[2026-07-08 16:48:20] local.INFO: GPS Element Parsed {"raw_longitude":755759424,"raw_latitude":117613256,"longitude_deg":75.5759424,"latitude_deg":11.7613256,"altitude":17,"angle":224,"satellites":37,"speed":7,"hex_longitude":"2d0bf940","hex_latitude":"0702a2c8","is_valid_coordinates":true} 
[2026-07-08 16: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-07-08 16:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578414848001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23676947817037824,"note":"Value kept but may cause issues"} 
[2026-07-08 16:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":863354152424974336,"note":"Value kept but may cause issues"} 
[2026-07-08 16:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783509439000,"timestamp_ms":1783509439000,"timestamp_seconds":1783509439,"priority":1,"record_length":96,"hex_timestamp":"0000019f41725218"} 
[2026-07-08 16:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 16:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":125637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":125637,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":125637,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:48:20] 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-07-08 16:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 16:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 16:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578414848001,"66":13656,"37":206,"94":11008,"24":7,"16":23676947817037824,"45":863354152424974336},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-08 16:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 16:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 16:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578414848001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:48:20] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-08 16:48:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 16:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23676947817037824,"km_value":23676947817037.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":863354152424974336,"description":"Unknown IO ID 45"} 
[2026-07-08 16:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578414848001,"power":13656,"unknown_37":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":863354152424974336}} 
[2026-07-08 16:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":125637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452527,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:48:21] local.INFO: GPS data processed {"connection_id":125637,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:48:21] local.INFO: Acknowledgment sent {"connection_id":125637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:48:29] local.INFO: TCP Data received {"connection_id":126504,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f41722720012d9ca280057691e0001100bc29..."} 
[2026-07-08 16:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41722720012d9ca280057691e0001100bc29..."} 
[2026-07-08 16:48:29] local.INFO: Processing buffer {"connection_id":126504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41722720012d9ca280057691e0001100bc29..."} 
[2026-07-08 16:48:29] local.INFO: Packet analysis {"connection_id":126504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4172"} 
[2026-07-08 16:48:29] local.INFO: Extracted packet for processing {"connection_id":126504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4172"} 
[2026-07-08 16:48:29] local.INFO: GPS Element Parsed {"raw_longitude":765239936,"raw_latitude":91656672,"longitude_deg":76.5239936,"latitude_deg":9.1656672,"altitude":17,"angle":188,"satellites":41,"speed":42,"hex_longitude":"2d9ca280","hex_latitude":"057691e0","is_valid_coordinates":true} 
[2026-07-08 16:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578412800001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342780785842978816,"note":"Value kept but may cause issues"} 
[2026-07-08 16:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7159245640426450944,"note":"Value kept but may cause issues"} 
[2026-07-08 16:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783509428000,"timestamp_ms":1783509428000,"timestamp_seconds":1783509428,"priority":1,"record_length":96,"hex_timestamp":"0000019f41722720"} 
[2026-07-08 16:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:48:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 16:48:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:48:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":126504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":126504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":126504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578412800001,"66":27843,"253":206,"85":15872,"24":42,"16":342780785842978816,"45":-7159245640426450944},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-07-08 16:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578412800001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:48:29] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-07-08 16:48:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342780785842978816,"km_value":342780785842978.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7159245640426450944,"description":"Unknown IO ID 45"} 
[2026-07-08 16:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578412800001,"power":27843,"unknown_253":206,"unknown_85":15872,"ignition":42,"odometer":null,"unknown_45":-7159245640426450944}} 
[2026-07-08 16:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":126504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:48:29] local.INFO: GPS data processed {"connection_id":126504,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:48:29] local.INFO: Acknowledgment sent {"connection_id":126504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:48:36] local.INFO: TCP Data received {"connection_id":125638,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125638,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:48:36] local.INFO: Processing buffer {"connection_id":125638,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:48:36] local.INFO: IMEI packet received {"connection_id":125638,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":125638,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:48:38] local.INFO: TCP Data received {"connection_id":127736,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4172deb8012d195000071ff720003c00982d..."} 
[2026-07-08 16:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4172deb8012d195000071ff720003c00982d..."} 
[2026-07-08 16:48:38] local.INFO: Processing buffer {"connection_id":127736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4172deb8012d195000071ff720003c00982d..."} 
[2026-07-08 16:48:38] local.INFO: Packet analysis {"connection_id":127736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4172"} 
[2026-07-08 16:48:38] local.INFO: Extracted packet for processing {"connection_id":127736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4172"} 
[2026-07-08 16:48:38] local.INFO: GPS Element Parsed {"raw_longitude":756633600,"raw_latitude":119535392,"longitude_deg":75.66336,"latitude_deg":11.9535392,"altitude":60,"angle":152,"satellites":45,"speed":14,"hex_longitude":"2d195000","hex_latitude":"071ff720","is_valid_coordinates":true} 
[2026-07-08 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-07-08 16:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578425344001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880251079360512,"note":"Value kept but may cause issues"} 
[2026-07-08 16:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823817142197843968,"note":"Value kept but may cause issues"} 
[2026-07-08 16:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783509475000,"timestamp_ms":1783509475000,"timestamp_seconds":1783509475,"priority":1,"record_length":96,"hex_timestamp":"0000019f4172deb8"} 
[2026-07-08 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-07-08 16:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-08 16:48: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-07-08 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-07-08 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-07-08 16:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578425344001,"66":13004,"102":206,"83":41984,"24":14,"16":4880251079360512,"45":1823817142197843968},"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-07-08 16:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578425344001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:48:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 16:48:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880251079360512,"km_value":4880251079360.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823817142197843968,"description":"Unknown IO ID 45"} 
[2026-07-08 16:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578425344001,"power":13004,"unknown_102":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1823817142197843968}} 
[2026-07-08 16:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":127736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:48:38] local.INFO: GPS data processed {"connection_id":127736,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:48:38] local.INFO: Acknowledgment sent {"connection_id":127736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:48:41] local.INFO: TCP Data received {"connection_id":125638,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125638,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:48:41] local.INFO: Processing buffer {"connection_id":125638,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:48:41] local.INFO: IMEI packet received {"connection_id":125638,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":125638,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:48:42] local.INFO: TCP Data received {"connection_id":125638,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f41702b50012d7a1ec005e468c0000e000b2a..."} 
[2026-07-08 16:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41702b50012d7a1ec005e468c0000e000b2a..."} 
[2026-07-08 16:48:42] local.INFO: Processing buffer {"connection_id":125638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41702b50012d7a1ec005e468c0000e000b2a..."} 
[2026-07-08 16:48:42] local.INFO: Packet analysis {"connection_id":125638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4170"} 
[2026-07-08 16:48:42] local.INFO: Extracted packet for processing {"connection_id":125638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4170"} 
[2026-07-08 16:48:42] local.INFO: GPS Element Parsed {"raw_longitude":762977984,"raw_latitude":98855104,"longitude_deg":76.2977984,"latitude_deg":9.8855104,"altitude":14,"angle":11,"satellites":42,"speed":0,"hex_longitude":"2d7a1ec0","hex_latitude":"05e468c0","is_valid_coordinates":true} 
[2026-07-08 16:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578379520001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103783800193941504,"note":"Value kept but may cause issues"} 
[2026-07-08 16:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799681853467967488,"note":"Value kept but may cause issues"} 
[2026-07-08 16:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783509298000,"timestamp_ms":1783509298000,"timestamp_seconds":1783509298,"priority":1,"record_length":96,"hex_timestamp":"0000019f41702b50"} 
[2026-07-08 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-07-08 16:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-08 16:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 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-07-08 16:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":125638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":125638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":125638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578379520001,"66":4710,"157":206,"87":12288,"24":0,"16":103783800193941504,"45":8799681853467967488},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 16:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578379520001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:48:42] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 16:48:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-08 16:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103783800193941504,"km_value":103783800193941.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799681853467967488,"description":"Unknown IO ID 45"} 
[2026-07-08 16:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578379520001,"power":4710,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799681853467967488}} 
[2026-07-08 16:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":125638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452530,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:48:42] local.INFO: GPS data processed {"connection_id":125638,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:48:42] local.INFO: Acknowledgment sent {"connection_id":125638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:48:45] local.INFO: TCP Data received {"connection_id":126505,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126505,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:48:45] local.INFO: Processing buffer {"connection_id":126505,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:48:45] local.INFO: IMEI packet received {"connection_id":126505,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 16:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":126505,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:48:50] local.INFO: TCP Data received {"connection_id":126505,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126505,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:48:50] local.INFO: Processing buffer {"connection_id":126505,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:48:50] local.INFO: IMEI packet received {"connection_id":126505,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 16:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":126505,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:48:50] local.INFO: TCP Data received {"connection_id":126505,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f41733890012d0bb7000702a1080010013126..."} 
[2026-07-08 16:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41733890012d0bb7000702a1080010013126..."} 
[2026-07-08 16:48:50] local.INFO: Processing buffer {"connection_id":126505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41733890012d0bb7000702a1080010013126..."} 
[2026-07-08 16:48:50] local.INFO: Packet analysis {"connection_id":126505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4173"} 
[2026-07-08 16:48:50] local.INFO: Extracted packet for processing {"connection_id":126505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4173"} 
[2026-07-08 16:48:50] local.INFO: GPS Element Parsed {"raw_longitude":755742464,"raw_latitude":117612808,"longitude_deg":75.5742464,"latitude_deg":11.7612808,"altitude":16,"angle":305,"satellites":38,"speed":20,"hex_longitude":"2d0bb700","hex_latitude":"0702a108","is_valid_coordinates":true} 
[2026-07-08 16:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578430976001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23677781040693248,"note":"Value kept but may cause issues"} 
[2026-07-08 16:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":844987910194147328,"note":"Value kept but may cause issues"} 
[2026-07-08 16:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783509498000,"timestamp_ms":1783509498000,"timestamp_seconds":1783509498,"priority":1,"record_length":96,"hex_timestamp":"0000019f41733890"} 
[2026-07-08 16:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:48: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":103,"data_length":795,"current_offset":136} 
[2026-07-08 16:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":126505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":126505,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":126505,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:48:50] 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-07-08 16:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 16:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 16:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578430976001,"66":14396,"37":206,"94":11008,"24":20,"16":23677781040693248,"45":844987910194147328},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-08 16:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 16:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 16:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578430976001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:48:50] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-08 16:48:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 16:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23677781040693248,"km_value":23677781040693.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":844987910194147328,"description":"Unknown IO ID 45"} 
[2026-07-08 16:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578430976001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":20,"odometer":null,"unknown_45":844987910194147328}} 
[2026-07-08 16:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":126505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452531,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:48:51] local.INFO: GPS data processed {"connection_id":126505,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:48:51] local.INFO: Acknowledgment sent {"connection_id":126505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:48:57] local.INFO: TCP Data received {"connection_id":125738,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:48:57] local.INFO: Processing buffer {"connection_id":125738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:48:57] local.INFO: IMEI packet received {"connection_id":125738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":125738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:49:00] local.INFO: TCP Data received {"connection_id":125738,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:49:00] local.INFO: Processing buffer {"connection_id":125738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:49:00] local.INFO: IMEI packet received {"connection_id":125738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":125738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:49:00] local.INFO: TCP Data received {"connection_id":125738,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f41724a48012d9c9d4005766d68000f00b82a..."} 
[2026-07-08 16:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41724a48012d9c9d4005766d68000f00b82a..."} 
[2026-07-08 16:49:00] local.INFO: Processing buffer {"connection_id":125738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41724a48012d9c9d4005766d68000f00b82a..."} 
[2026-07-08 16:49:00] local.INFO: Packet analysis {"connection_id":125738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4172"} 
[2026-07-08 16:49:00] local.INFO: Extracted packet for processing {"connection_id":125738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4172"} 
[2026-07-08 16:49:00] local.INFO: GPS Element Parsed {"raw_longitude":765238592,"raw_latitude":91647336,"longitude_deg":76.5238592,"latitude_deg":9.1647336,"altitude":15,"angle":184,"satellites":42,"speed":38,"hex_longitude":"2d9c9d40","hex_latitude":"05766d68","is_valid_coordinates":true} 
[2026-07-08 16:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578413568001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342781241109512192,"note":"Value kept but may cause issues"} 
[2026-07-08 16:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7160019696613203968,"note":"Value kept but may cause issues"} 
[2026-07-08 16:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783509437000,"timestamp_ms":1783509437000,"timestamp_seconds":1783509437,"priority":1,"record_length":96,"hex_timestamp":"0000019f41724a48"} 
[2026-07-08 16:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 16:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578413568001,"66":27887,"253":206,"85":15872,"24":38,"16":342781241109512192,"45":-7160019696613203968},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-07-08 16:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578413568001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:49:00] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-07-08 16:49:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342781241109512192,"km_value":342781241109512.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7160019696613203968,"description":"Unknown IO ID 45"} 
[2026-07-08 16:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578413568001,"power":27887,"unknown_253":206,"unknown_85":15872,"ignition":38,"odometer":null,"unknown_45":-7160019696613203968}} 
[2026-07-08 16:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":125738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:49:00] local.INFO: GPS data processed {"connection_id":125738,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:49:00] local.INFO: Acknowledgment sent {"connection_id":125738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:49:01] local.INFO: TCP Data received {"connection_id":125738,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f41725218012d9c9d80057665b8000e00ab2a..."} 
[2026-07-08 16:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41725218012d9c9d80057665b8000e00ab2a..."} 
[2026-07-08 16:49:01] local.INFO: Processing buffer {"connection_id":125738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41725218012d9c9d80057665b8000e00ab2a..."} 
[2026-07-08 16:49:01] local.INFO: Packet analysis {"connection_id":125738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4172"} 
[2026-07-08 16:49:01] local.INFO: Extracted packet for processing {"connection_id":125738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4172"} 
[2026-07-08 16:49:01] local.INFO: GPS Element Parsed {"raw_longitude":765238656,"raw_latitude":91645368,"longitude_deg":76.5238656,"latitude_deg":9.1645368,"altitude":14,"angle":171,"satellites":42,"speed":39,"hex_longitude":"2d9c9d80","hex_latitude":"057665b8","is_valid_coordinates":true} 
[2026-07-08 16:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578415872001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342781339893760000,"note":"Value kept but may cause issues"} 
[2026-07-08 16:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7161497440243324928,"note":"Value kept but may cause issues"} 
[2026-07-08 16:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783509439000,"timestamp_ms":1783509439000,"timestamp_seconds":1783509439,"priority":1,"record_length":96,"hex_timestamp":"0000019f41725218"} 
[2026-07-08 16:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:49: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-07-08 16:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-08 16:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578415872001,"66":27919,"253":206,"85":15872,"24":39,"16":342781339893760000,"45":-7161497440243324928},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-07-08 16:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578415872001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:49:01] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-07-08 16:49:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342781339893760000,"km_value":342781339893760,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7161497440243324928,"description":"Unknown IO ID 45"} 
[2026-07-08 16:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578415872001,"power":27919,"unknown_253":206,"unknown_85":15872,"ignition":39,"odometer":null,"unknown_45":-7161497440243324928}} 
[2026-07-08 16:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":125738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:49:01] local.INFO: GPS data processed {"connection_id":125738,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:49:01] local.INFO: Acknowledgment sent {"connection_id":125738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:49:05] local.INFO: TCP Data received {"connection_id":125739,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:49:05] local.INFO: Processing buffer {"connection_id":125739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:49:05] local.INFO: IMEI packet received {"connection_id":125739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":125739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:49:10] local.INFO: TCP Data received {"connection_id":125739,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:49:10] local.INFO: Processing buffer {"connection_id":125739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:49:10] local.INFO: IMEI packet received {"connection_id":125739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":125739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:49:11] local.INFO: TCP Data received {"connection_id":125739,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4172e2a0012d195100071ff600003c00892d..."} 
[2026-07-08 16:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4172e2a0012d195100071ff600003c00892d..."} 
[2026-07-08 16:49:11] local.INFO: Processing buffer {"connection_id":125739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4172e2a0012d195100071ff600003c00892d..."} 
[2026-07-08 16:49:11] local.INFO: Packet analysis {"connection_id":125739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4172"} 
[2026-07-08 16:49:11] local.INFO: Extracted packet for processing {"connection_id":125739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4172"} 
[2026-07-08 16:49:11] local.INFO: GPS Element Parsed {"raw_longitude":756633856,"raw_latitude":119535104,"longitude_deg":75.6633856,"latitude_deg":11.9535104,"altitude":60,"angle":137,"satellites":45,"speed":14,"hex_longitude":"2d195100","hex_latitude":"071ff600","is_valid_coordinates":true} 
[2026-07-08 16:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578425600001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880268259229696,"note":"Value kept but may cause issues"} 
[2026-07-08 16:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823957879686111232,"note":"Value kept but may cause issues"} 
[2026-07-08 16:49: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-07-08 16:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783509476000,"timestamp_ms":1783509476000,"timestamp_seconds":1783509476,"priority":1,"record_length":96,"hex_timestamp":"0000019f4172e2a0"} 
[2026-07-08 16:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-08 16:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578425600001,"66":13004,"102":206,"83":41984,"24":14,"16":4880268259229696,"45":1823957879686111232},"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-07-08 16:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578425600001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:49:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 16:49:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880268259229696,"km_value":4880268259229.696,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823957879686111232,"description":"Unknown IO ID 45"} 
[2026-07-08 16:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578425600001,"power":13004,"unknown_102":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1823957879686111232}} 
[2026-07-08 16:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":125739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:49:11] local.INFO: GPS data processed {"connection_id":125739,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:49:11] local.INFO: Acknowledgment sent {"connection_id":125739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:49:15] local.INFO: TCP Data received {"connection_id":125739,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4172ea70012d1952c0071ff468003c00722d..."} 
[2026-07-08 16:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4172ea70012d1952c0071ff468003c00722d..."} 
[2026-07-08 16:49:15] local.INFO: Processing buffer {"connection_id":125739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4172ea70012d1952c0071ff468003c00722d..."} 
[2026-07-08 16:49:15] local.INFO: Packet analysis {"connection_id":125739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4172"} 
[2026-07-08 16:49:15] local.INFO: Extracted packet for processing {"connection_id":125739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4172"} 
[2026-07-08 16:49:15] local.INFO: GPS Element Parsed {"raw_longitude":756634304,"raw_latitude":119534696,"longitude_deg":75.6634304,"latitude_deg":11.9534696,"altitude":60,"angle":114,"satellites":45,"speed":12,"hex_longitude":"2d1952c0","hex_latitude":"071ff468","is_valid_coordinates":true} 
[2026-07-08 16:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578425856001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880298324000768,"note":"Value kept but may cause issues"} 
[2026-07-08 16:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824239354662748160,"note":"Value kept but may cause issues"} 
[2026-07-08 16:49: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-07-08 16:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783509478000,"timestamp_ms":1783509478000,"timestamp_seconds":1783509478,"priority":1,"record_length":96,"hex_timestamp":"0000019f4172ea70"} 
[2026-07-08 16:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-08 16:49:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:49:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":125739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":125739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":125739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578425856001,"66":13015,"102":206,"83":41984,"24":12,"16":4880298324000768,"45":1824239354662748160},"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-07-08 16:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578425856001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:49:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 16:49:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880298324000768,"km_value":4880298324000.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824239354662748160,"description":"Unknown IO ID 45"} 
[2026-07-08 16:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578425856001,"power":13015,"unknown_102":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1824239354662748160}} 
[2026-07-08 16:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":125739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:49:16] local.INFO: GPS data processed {"connection_id":125739,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:49:16] local.INFO: Acknowledgment sent {"connection_id":125739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:49:21] local.INFO: TCP Data received {"connection_id":126505,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f41734448012d0bb2000702a5680010013f24..."} 
[2026-07-08 16:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41734448012d0bb2000702a5680010013f24..."} 
[2026-07-08 16:49:21] local.INFO: Processing buffer {"connection_id":126505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41734448012d0bb2000702a5680010013f24..."} 
[2026-07-08 16:49:21] local.INFO: Packet analysis {"connection_id":126505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4173"} 
[2026-07-08 16:49:21] local.INFO: Extracted packet for processing {"connection_id":126505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4173"} 
[2026-07-08 16:49:21] local.INFO: GPS Element Parsed {"raw_longitude":755741184,"raw_latitude":117613928,"longitude_deg":75.5741184,"latitude_deg":11.7613928,"altitude":16,"angle":319,"satellites":36,"speed":22,"hex_longitude":"2d0bb200","hex_latitude":"0702a568","is_valid_coordinates":true} 
[2026-07-08 16: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-07-08 16:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578431488001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23677862645071872,"note":"Value kept but may cause issues"} 
[2026-07-08 16:49:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":844143485264136192,"note":"Value kept but may cause issues"} 
[2026-07-08 16:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783509501000,"timestamp_ms":1783509501000,"timestamp_seconds":1783509501,"priority":1,"record_length":96,"hex_timestamp":"0000019f41734448"} 
[2026-07-08 16:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:49:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-08 16:49:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":126505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":126505,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":126505,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:49:21] 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-07-08 16:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 16:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 16:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578431488001,"66":14407,"37":206,"94":11008,"24":22,"16":23677862645071872,"45":844143485264136192},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-08 16:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 16:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 16:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578431488001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:49:21] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-08 16:49:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 16:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23677862645071872,"km_value":23677862645071.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:49:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":844143485264136192,"description":"Unknown IO ID 45"} 
[2026-07-08 16:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578431488001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":22,"odometer":null,"unknown_45":844143485264136192}} 
[2026-07-08 16:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":126505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452536,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:49:21] local.INFO: GPS data processed {"connection_id":126505,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:49:21] local.INFO: Acknowledgment sent {"connection_id":126505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:49:32] local.INFO: TCP Data received {"connection_id":125738,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f41739a38012d9c09c005754bd0000e00d429..."} 
[2026-07-08 16:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41739a38012d9c09c005754bd0000e00d429..."} 
[2026-07-08 16:49:32] local.INFO: Processing buffer {"connection_id":125738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41739a38012d9c09c005754bd0000e00d429..."} 
[2026-07-08 16:49:32] local.INFO: Packet analysis {"connection_id":125738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4173"} 
[2026-07-08 16:49:32] local.INFO: Extracted packet for processing {"connection_id":125738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4173"} 
[2026-07-08 16:49:32] local.INFO: GPS Element Parsed {"raw_longitude":765200832,"raw_latitude":91573200,"longitude_deg":76.5200832,"latitude_deg":9.15732,"altitude":14,"angle":212,"satellites":41,"speed":45,"hex_longitude":"2d9c09c0","hex_latitude":"05754bd0","is_valid_coordinates":true} 
[2026-07-08 16:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578435584001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342785368573083648,"note":"Value kept but may cause issues"} 
[2026-07-08 16:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7195978124907393024,"note":"Value kept but may cause issues"} 
[2026-07-08 16:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783509523000,"timestamp_ms":1783509523000,"timestamp_seconds":1783509523,"priority":1,"record_length":96,"hex_timestamp":"0000019f41739a38"} 
[2026-07-08 16:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-08 16:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578435584001,"66":27995,"254":206,"85":15872,"24":45,"16":342785368573083648,"45":-7195978124907393024},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-07-08 16:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578435584001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:49:32] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-08 16:49:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342785368573083648,"km_value":342785368573083.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7195978124907393024,"description":"Unknown IO ID 45"} 
[2026-07-08 16:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578435584001,"power":27995,"unknown_254":206,"unknown_85":15872,"ignition":45,"odometer":null,"unknown_45":-7195978124907393024}} 
[2026-07-08 16:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":125738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:49:32] local.INFO: GPS data processed {"connection_id":125738,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:49:32] local.INFO: Acknowledgment sent {"connection_id":125738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:49:44] local.INFO: TCP Data received {"connection_id":125640,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125640,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:49:44] local.INFO: Processing buffer {"connection_id":125640,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:49:44] local.INFO: IMEI packet received {"connection_id":125640,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 16:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":125640,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:49:55] local.INFO: TCP Data received {"connection_id":127737,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:49:55] local.INFO: Processing buffer {"connection_id":127737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:49:55] local.INFO: IMEI packet received {"connection_id":127737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":127737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:49:58] local.INFO: TCP Data received {"connection_id":125741,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:49:58] local.INFO: Processing buffer {"connection_id":125741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:49:58] local.INFO: IMEI packet received {"connection_id":125741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":125741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:50:00] local.INFO: TCP Data received {"connection_id":125741,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:50:00] local.INFO: Processing buffer {"connection_id":125741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:50:00] local.INFO: IMEI packet received {"connection_id":125741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":125741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:50:01] local.INFO: TCP Data received {"connection_id":127737,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:50:01] local.INFO: Processing buffer {"connection_id":127737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:50:01] local.INFO: IMEI packet received {"connection_id":127737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":127737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:50:02] local.INFO: TCP Data received {"connection_id":127737,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4173adc0012d9bfcc0057539f8000d00e029..."} 
[2026-07-08 16:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4173adc0012d9bfcc0057539f8000d00e029..."} 
[2026-07-08 16:50:02] local.INFO: Processing buffer {"connection_id":127737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4173adc0012d9bfcc0057539f8000d00e029..."} 
[2026-07-08 16:50:02] local.INFO: Packet analysis {"connection_id":127737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4173"} 
[2026-07-08 16:50:02] local.INFO: Extracted packet for processing {"connection_id":127737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4173"} 
[2026-07-08 16:50:02] local.INFO: GPS Element Parsed {"raw_longitude":765197504,"raw_latitude":91568632,"longitude_deg":76.5197504,"latitude_deg":9.1568632,"altitude":13,"angle":224,"satellites":41,"speed":43,"hex_longitude":"2d9bfcc0","hex_latitude":"057539f8","is_valid_coordinates":true} 
[2026-07-08 16:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578437888001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342785639156023296,"note":"Value kept but may cause issues"} 
[2026-07-08 16:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7203014999327125504,"note":"Value kept but may cause issues"} 
[2026-07-08 16:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783509528000,"timestamp_ms":1783509528000,"timestamp_seconds":1783509528,"priority":1,"record_length":96,"hex_timestamp":"0000019f4173adc0"} 
[2026-07-08 16:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-08 16:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578437888001,"66":27865,"254":206,"85":15872,"24":43,"16":342785639156023296,"45":-7203014999327125504},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-07-08 16:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578437888001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:50:02] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-08 16:50:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342785639156023296,"km_value":342785639156023.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7203014999327125504,"description":"Unknown IO ID 45"} 
[2026-07-08 16:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578437888001,"power":27865,"unknown_254":206,"unknown_85":15872,"ignition":43,"odometer":null,"unknown_45":-7203014999327125504}} 
[2026-07-08 16:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":127737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:50:02] local.INFO: GPS data processed {"connection_id":127737,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:50:02] local.INFO: Acknowledgment sent {"connection_id":127737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:50:05] local.INFO: TCP Data received {"connection_id":125741,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:50:05] local.INFO: Processing buffer {"connection_id":125741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:50:05] local.INFO: IMEI packet received {"connection_id":125741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":125741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:50:06] local.INFO: TCP Data received {"connection_id":125741,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4172fa10012d195680071ff2b0003c00642d..."} 
[2026-07-08 16:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4172fa10012d195680071ff2b0003c00642d..."} 
[2026-07-08 16:50:06] local.INFO: Processing buffer {"connection_id":125741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4172fa10012d195680071ff2b0003c00642d..."} 
[2026-07-08 16:50:06] local.INFO: Packet analysis {"connection_id":125741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4172"} 
[2026-07-08 16:50:06] local.INFO: Extracted packet for processing {"connection_id":125741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4172"} 
[2026-07-08 16:50:06] local.INFO: GPS Element Parsed {"raw_longitude":756635264,"raw_latitude":119534256,"longitude_deg":75.6635264,"latitude_deg":11.9534256,"altitude":60,"angle":100,"satellites":45,"speed":9,"hex_longitude":"2d195680","hex_latitude":"071ff2b0","is_valid_coordinates":true} 
[2026-07-08 16:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578426368001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880349863608320,"note":"Value kept but may cause issues"} 
[2026-07-08 16:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824731935871887360,"note":"Value kept but may cause issues"} 
[2026-07-08 16:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783509482000,"timestamp_ms":1783509482000,"timestamp_seconds":1783509482,"priority":1,"record_length":96,"hex_timestamp":"0000019f4172fa10"} 
[2026-07-08 16:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-08 16:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578426368001,"66":12841,"102":206,"83":41984,"24":9,"16":4880349863608320,"45":1824731935871887360},"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-07-08 16:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578426368001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:50:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 16:50:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880349863608320,"km_value":4880349863608.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824731935871887360,"description":"Unknown IO ID 45"} 
[2026-07-08 16:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578426368001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1824731935871887360}} 
[2026-07-08 16:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":125741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:50:06] local.INFO: GPS data processed {"connection_id":125741,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:50:06] local.INFO: Acknowledgment sent {"connection_id":125741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:50:10] local.INFO: TCP Data received {"connection_id":125741,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f417301e0012d195840071ff200003c006f2e..."} 
[2026-07-08 16:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f417301e0012d195840071ff200003c006f2e..."} 
[2026-07-08 16:50:10] local.INFO: Processing buffer {"connection_id":125741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f417301e0012d195840071ff200003c006f2e..."} 
[2026-07-08 16:50:10] local.INFO: Packet analysis {"connection_id":125741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4173"} 
[2026-07-08 16:50:10] local.INFO: Extracted packet for processing {"connection_id":125741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4173"} 
[2026-07-08 16:50:10] local.INFO: GPS Element Parsed {"raw_longitude":756635712,"raw_latitude":119534080,"longitude_deg":75.6635712,"latitude_deg":11.953408,"altitude":60,"angle":111,"satellites":46,"speed":8,"hex_longitude":"2d195840","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-07-08 16:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578427392001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880371338444800,"note":"Value kept but may cause issues"} 
[2026-07-08 16:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825787467034439680,"note":"Value kept but may cause issues"} 
[2026-07-08 16:50: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-07-08 16:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783509484000,"timestamp_ms":1783509484000,"timestamp_seconds":1783509484,"priority":1,"record_length":96,"hex_timestamp":"0000019f417301e0"} 
[2026-07-08 16:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-08 16:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578427392001,"66":12950,"102":206,"83":41984,"24":8,"16":4880371338444800,"45":1825787467034439680},"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-07-08 16:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578427392001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:50:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 16:50:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880371338444800,"km_value":4880371338444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825787467034439680,"description":"Unknown IO ID 45"} 
[2026-07-08 16:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578427392001,"power":12950,"unknown_102":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1825787467034439680}} 
[2026-07-08 16:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":125741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:50:10] local.INFO: GPS data processed {"connection_id":125741,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:50:10] local.INFO: Acknowledgment sent {"connection_id":125741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:50:34] local.INFO: TCP Data received {"connection_id":127737,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4173bd60012d9bef0005752f50000e00ec2a..."} 
[2026-07-08 16:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4173bd60012d9bef0005752f50000e00ec2a..."} 
[2026-07-08 16:50:34] local.INFO: Processing buffer {"connection_id":127737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4173bd60012d9bef0005752f50000e00ec2a..."} 
[2026-07-08 16:50:34] local.INFO: Packet analysis {"connection_id":127737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4173"} 
[2026-07-08 16:50:34] local.INFO: Extracted packet for processing {"connection_id":127737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4173"} 
[2026-07-08 16:50:34] local.INFO: GPS Element Parsed {"raw_longitude":765193984,"raw_latitude":91565904,"longitude_deg":76.5193984,"latitude_deg":9.1565904,"altitude":14,"angle":236,"satellites":42,"speed":45,"hex_longitude":"2d9bef00","hex_latitude":"05752f50","is_valid_coordinates":true} 
[2026-07-08 16: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-07-08 16:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578439168001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342785853904388096,"note":"Value kept but may cause issues"} 
[2026-07-08 16:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7206674174025533440,"note":"Value kept but may cause issues"} 
[2026-07-08 16:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783509532000,"timestamp_ms":1783509532000,"timestamp_seconds":1783509532,"priority":1,"record_length":96,"hex_timestamp":"0000019f4173bd60"} 
[2026-07-08 16:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:50: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-07-08 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 16:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578439168001,"66":28028,"254":206,"85":15872,"24":45,"16":342785853904388096,"45":-7206674174025533440},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-07-08 16:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578439168001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:50:34] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-08 16:50:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342785853904388096,"km_value":342785853904388.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7206674174025533440,"description":"Unknown IO ID 45"} 
[2026-07-08 16:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578439168001,"power":28028,"unknown_254":206,"unknown_85":15872,"ignition":45,"odometer":null,"unknown_45":-7206674174025533440}} 
[2026-07-08 16:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":127737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:50:34] local.INFO: GPS data processed {"connection_id":127737,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:50:34] local.INFO: Acknowledgment sent {"connection_id":127737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:50:41] local.INFO: TCP Data received {"connection_id":125741,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f417334a8012d196280071fee38003c005f2c..."} 
[2026-07-08 16:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f417334a8012d196280071fee38003c005f2c..."} 
[2026-07-08 16:50:41] local.INFO: Processing buffer {"connection_id":125741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f417334a8012d196280071fee38003c005f2c..."} 
[2026-07-08 16:50:41] local.INFO: Packet analysis {"connection_id":125741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4173"} 
[2026-07-08 16:50:41] local.INFO: Extracted packet for processing {"connection_id":125741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4173"} 
[2026-07-08 16:50:41] local.INFO: GPS Element Parsed {"raw_longitude":756638336,"raw_latitude":119533112,"longitude_deg":75.6638336,"latitude_deg":11.9533112,"altitude":60,"angle":95,"satellites":44,"speed":7,"hex_longitude":"2d196280","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-07-08 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-07-08 16:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578427904001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880504482430976,"note":"Value kept but may cause issues"} 
[2026-07-08 16:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826280048243638272,"note":"Value kept but may cause issues"} 
[2026-07-08 16: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-07-08 16:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783509497000,"timestamp_ms":1783509497000,"timestamp_seconds":1783509497,"priority":1,"record_length":96,"hex_timestamp":"0000019f417334a8"} 
[2026-07-08 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-07-08 16:50: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-07-08 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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-08 16:50: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-07-08 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-07-08 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-07-08 16:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:50: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-07-08 16:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578427904001,"66":13059,"102":206,"83":41984,"24":7,"16":4880504482430976,"45":1826280048243638272},"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-07-08 16:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578427904001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:50:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 16:50:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880504482430976,"km_value":4880504482430.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826280048243638272,"description":"Unknown IO ID 45"} 
[2026-07-08 16:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578427904001,"power":13059,"unknown_102":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1826280048243638272}} 
[2026-07-08 16:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":125741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:50:41] local.INFO: GPS data processed {"connection_id":125741,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:50:41] local.INFO: Acknowledgment sent {"connection_id":125741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:50:50] local.INFO: TCP Data received {"connection_id":125641,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125641,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:50:50] local.INFO: Processing buffer {"connection_id":125641,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:50:50] local.INFO: IMEI packet received {"connection_id":125641,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-08 16:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":125641,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:50:51] local.INFO: TCP Data received {"connection_id":125641,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125641,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:50:51] local.INFO: Processing buffer {"connection_id":125641,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:50:51] local.INFO: IMEI packet received {"connection_id":125641,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 16:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":125641,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:50:53] local.INFO: TCP Data received {"connection_id":125641,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125641,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:50:53] local.INFO: Processing buffer {"connection_id":125641,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-08 16:50:53] local.INFO: IMEI packet received {"connection_id":125641,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-08 16:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":125641,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:50:54] local.INFO: TCP Data received {"connection_id":125641,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41753c30012d0b01400702c0d0001200d724..."} 
[2026-07-08 16:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41753c30012d0b01400702c0d0001200d724..."} 
[2026-07-08 16:50:54] local.INFO: Processing buffer {"connection_id":125641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41753c30012d0b01400702c0d0001200d724..."} 
[2026-07-08 16:50:54] local.INFO: Packet analysis {"connection_id":125641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4175"} 
[2026-07-08 16:50:54] local.INFO: Extracted packet for processing {"connection_id":125641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4175"} 
[2026-07-08 16:50:54] local.INFO: GPS Element Parsed {"raw_longitude":755695936,"raw_latitude":117620944,"longitude_deg":75.5695936,"latitude_deg":11.7620944,"altitude":18,"angle":215,"satellites":36,"speed":9,"hex_longitude":"2d0b0140","hex_latitude":"0702c0d0","is_valid_coordinates":true} 
[2026-07-08 16: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-07-08 16:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578465024001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23679825445126144,"note":"Value kept but may cause issues"} 
[2026-07-08 16:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":793266883225806848,"note":"Value kept but may cause issues"} 
[2026-07-08 16:50:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783509630000,"timestamp_ms":1783509630000,"timestamp_seconds":1783509630,"priority":1,"record_length":96,"hex_timestamp":"0000019f41753c30"} 
[2026-07-08 16:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:50:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-08 16:50:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":125641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":125641,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":125641,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:50:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 16:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 16:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578465024001,"66":14407,"17":206,"94":11008,"24":9,"16":23679825445126144,"45":793266883225806848},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 16:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 16:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 16:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578465024001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:50:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 16:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23679825445126144,"km_value":23679825445126.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":793266883225806848,"description":"Unknown IO ID 45"} 
[2026-07-08 16:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578465024001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":793266883225806848}} 
[2026-07-08 16:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":125641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452543,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:50:54] local.INFO: GPS data processed {"connection_id":125641,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:50:54] local.INFO: Acknowledgment sent {"connection_id":125641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:50:56] local.INFO: TCP Data received {"connection_id":126506,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:50:56] local.INFO: Processing buffer {"connection_id":126506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:50:56] local.INFO: IMEI packet received {"connection_id":126506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":126506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:51:00] local.INFO: TCP Data received {"connection_id":125742,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:51:00] local.INFO: Processing buffer {"connection_id":125742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:51:00] local.INFO: IMEI packet received {"connection_id":125742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":125742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:51:00] local.INFO: TCP Data received {"connection_id":126506,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:51:00] local.INFO: Processing buffer {"connection_id":126506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:51:00] local.INFO: IMEI packet received {"connection_id":126506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":126506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:51:01] local.INFO: TCP Data received {"connection_id":125742,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:51:01] local.INFO: Processing buffer {"connection_id":125742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:51:01] local.INFO: IMEI packet received {"connection_id":125742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":125742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:51:02] local.INFO: TCP Data received {"connection_id":126506,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4173c530012d9be74005752a68000e00ed2b..."} 
[2026-07-08 16:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4173c530012d9be74005752a68000e00ed2b..."} 
[2026-07-08 16:51:02] local.INFO: Processing buffer {"connection_id":126506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4173c530012d9be74005752a68000e00ed2b..."} 
[2026-07-08 16:51:02] local.INFO: Packet analysis {"connection_id":126506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4173"} 
[2026-07-08 16:51:02] local.INFO: Extracted packet for processing {"connection_id":126506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4173"} 
[2026-07-08 16:51:02] local.INFO: GPS Element Parsed {"raw_longitude":765192000,"raw_latitude":91564648,"longitude_deg":76.5192,"latitude_deg":9.1564648,"altitude":14,"angle":237,"satellites":43,"speed":46,"hex_longitude":"2d9be740","hex_latitude":"05752a68","is_valid_coordinates":true} 
[2026-07-08 16:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578440192001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342785965573537792,"note":"Value kept but may cause issues"} 
[2026-07-08 16:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7210544454956003328,"note":"Value kept but may cause issues"} 
[2026-07-08 16:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783509534000,"timestamp_ms":1783509534000,"timestamp_seconds":1783509534,"priority":1,"record_length":96,"hex_timestamp":"0000019f4173c530"} 
[2026-07-08 16:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-08 16:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578440192001,"66":27104,"254":206,"85":15872,"24":46,"16":342785965573537792,"45":-7210544454956003328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-07-08 16:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578440192001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:51:02] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-08 16:51:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342785965573537792,"km_value":342785965573537.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7210544454956003328,"description":"Unknown IO ID 45"} 
[2026-07-08 16:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578440192001,"power":27104,"unknown_254":206,"unknown_85":15872,"ignition":46,"odometer":null,"unknown_45":-7210544454956003328}} 
[2026-07-08 16:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":126506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:51:02] local.INFO: GPS data processed {"connection_id":126506,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:51:02] local.INFO: Acknowledgment sent {"connection_id":126506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:51:05] local.INFO: TCP Data received {"connection_id":125742,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:51:05] local.INFO: Processing buffer {"connection_id":125742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:51:05] local.INFO: IMEI packet received {"connection_id":125742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":125742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:51:06] local.INFO: TCP Data received {"connection_id":125742,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f417386b0012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 16:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f417386b0012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 16:51:06] local.INFO: Processing buffer {"connection_id":125742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f417386b0012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 16:51:06] local.INFO: Packet analysis {"connection_id":125742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4173"} 
[2026-07-08 16:51:06] local.INFO: Extracted packet for processing {"connection_id":125742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4173"} 
[2026-07-08 16:51:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":46,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 16:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578431232001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 16:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829165166754674688,"note":"Value kept but may cause issues"} 
[2026-07-08 16:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783509518000,"timestamp_ms":1783509518000,"timestamp_seconds":1783509518,"priority":1,"record_length":96,"hex_timestamp":"0000019f417386b0"} 
[2026-07-08 16:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 16:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163549732216,"note":"Value kept but may cause issues"} 
[2026-07-08 16:51:06] local.WARNING: Large IO value detected {"io_id":102,"raw_value":58075809043709967,"note":"Value kept but may cause issues"} 
[2026-07-08 16:51:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-08 16:51:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 16:51:06] local.WARNING: Large IO value detected {"io_id":86,"raw_value":2600468480,"note":"Value kept but may cause issues"} 
[2026-07-08 16:51:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4127195196,"note":"Value kept but may cause issues"} 
[2026-07-08 16:51:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-07-08 16:51:06] local.WARNING: Large IO value detected {"io_id":222,"raw_value":3087084825,"note":"Value kept but may cause issues"} 
[2026-07-08 16:51:06] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3422604664,"note":"Value kept but may cause issues"} 
[2026-07-08 16:51:06] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,86,159,1,45,64,242,60,46,10,66,250,128,234,192,240,215,227,65,31,4,113,205,14,222,80,32,239,50,2,17,7,15],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-07-08 16:51:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323560284859334656,"timestamp_seconds":4323560284859334.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 16:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578431232001,"66":13037,"102":206,"83":41984,"24":0,"16":4880556022038528,"45":1829165166754674688},"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-07-08 16:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578431232001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:51:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 16:51:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829165166754674688,"description":"Unknown IO ID 45"} 
[2026-07-08 16:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578431232001,"power":13037,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829165166754674688}} 
[2026-07-08 16:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":125742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:51:06] local.INFO: GPS data processed {"connection_id":125742,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:51:06] local.INFO: Acknowledgment sent {"connection_id":125742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:51:27] local.INFO: TCP Data received {"connection_id":125641,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4175ad78012d0b128007029eb00017005722..."} 
[2026-07-08 16:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4175ad78012d0b128007029eb00017005722..."} 
[2026-07-08 16:51:27] local.INFO: Processing buffer {"connection_id":125641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4175ad78012d0b128007029eb00017005722..."} 
[2026-07-08 16:51:27] local.INFO: Packet analysis {"connection_id":125641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4175"} 
[2026-07-08 16:51:27] local.INFO: Extracted packet for processing {"connection_id":125641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4175"} 
[2026-07-08 16:51:27] local.INFO: GPS Element Parsed {"raw_longitude":755700352,"raw_latitude":117612208,"longitude_deg":75.5700352,"latitude_deg":11.7612208,"altitude":23,"angle":87,"satellites":34,"speed":1,"hex_longitude":"2d0b1280","hex_latitude":"07029eb0","is_valid_coordinates":true} 
[2026-07-08 16:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578472448001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23680323661332480,"note":"Value kept but may cause issues"} 
[2026-07-08 16:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797770482850899968,"note":"Value kept but may cause issues"} 
[2026-07-08 16:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783509659000,"timestamp_ms":1783509659000,"timestamp_seconds":1783509659,"priority":1,"record_length":96,"hex_timestamp":"0000019f4175ad78"} 
[2026-07-08 16:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-08 16:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":125641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":125641,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":125641,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 16:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 16:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578472448001,"66":14559,"17":206,"94":11008,"24":1,"16":23680323661332480,"45":797770482850899968},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 16:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 16:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 16:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578472448001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:51:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 16:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23680323661332480,"km_value":23680323661332.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797770482850899968,"description":"Unknown IO ID 45"} 
[2026-07-08 16:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578472448001,"power":14559,"axis_x":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":797770482850899968}} 
[2026-07-08 16:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":125641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452546,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:51:27] local.INFO: GPS data processed {"connection_id":125641,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:51:27] local.INFO: Acknowledgment sent {"connection_id":125641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:51:33] local.INFO: TCP Data received {"connection_id":126506,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4173c530012d9be74005752a68000e00ed2b..."} 
[2026-07-08 16:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4173c530012d9be74005752a68000e00ed2b..."} 
[2026-07-08 16:51:33] local.INFO: Processing buffer {"connection_id":126506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4173c530012d9be74005752a68000e00ed2b..."} 
[2026-07-08 16:51:33] local.INFO: Packet analysis {"connection_id":126506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4173"} 
[2026-07-08 16:51:33] local.INFO: Extracted packet for processing {"connection_id":126506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4173"} 
[2026-07-08 16:51:33] local.INFO: GPS Element Parsed {"raw_longitude":765192000,"raw_latitude":91564648,"longitude_deg":76.5192,"latitude_deg":9.1564648,"altitude":14,"angle":237,"satellites":43,"speed":46,"hex_longitude":"2d9be740","hex_latitude":"05752a68","is_valid_coordinates":true} 
[2026-07-08 16:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578440192001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342785965573537792,"note":"Value kept but may cause issues"} 
[2026-07-08 16:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7210544454956003328,"note":"Value kept but may cause issues"} 
[2026-07-08 16:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783509534000,"timestamp_ms":1783509534000,"timestamp_seconds":1783509534,"priority":1,"record_length":96,"hex_timestamp":"0000019f4173c530"} 
[2026-07-08 16:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-08 16:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:51:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578440192001,"66":27104,"254":206,"85":15872,"24":46,"16":342785965573537792,"45":-7210544454956003328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-07-08 16:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578440192001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:51:33] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-08 16:51:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342785965573537792,"km_value":342785965573537.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7210544454956003328,"description":"Unknown IO ID 45"} 
[2026-07-08 16:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578440192001,"power":27104,"unknown_254":206,"unknown_85":15872,"ignition":46,"odometer":null,"unknown_45":-7210544454956003328}} 
[2026-07-08 16:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":126506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:51:33] local.INFO: GPS data processed {"connection_id":126506,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:51:33] local.INFO: Acknowledgment sent {"connection_id":126506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:51:36] local.INFO: TCP Data received {"connection_id":125742,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4173d8b8012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 16:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4173d8b8012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 16:51:36] local.INFO: Processing buffer {"connection_id":125742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4173d8b8012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 16:51:36] local.INFO: Packet analysis {"connection_id":125742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4173"} 
[2026-07-08 16:51:36] local.INFO: Extracted packet for processing {"connection_id":125742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4173"} 
[2026-07-08 16:51:36] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 16:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578436608001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 16:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 16:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783509539000,"timestamp_ms":1783509539000,"timestamp_seconds":1783509539,"priority":1,"record_length":96,"hex_timestamp":"0000019f4173d8b8"} 
[2026-07-08 16:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-08 16:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578436608001,"66":12972,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578436608001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:51:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:51:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 16:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578436608001,"power":12972,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 16:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":125742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:51:37] local.INFO: GPS data processed {"connection_id":125742,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:51:37] local.INFO: Acknowledgment sent {"connection_id":125742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:51:55] local.INFO: TCP Data received {"connection_id":125743,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:51:55] local.INFO: Processing buffer {"connection_id":125743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:51:55] local.INFO: IMEI packet received {"connection_id":125743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":125743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:52:00] local.INFO: TCP Data received {"connection_id":127739,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:52:00] local.INFO: Processing buffer {"connection_id":127739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:52:00] local.INFO: IMEI packet received {"connection_id":127739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":127739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:52:00] local.INFO: TCP Data received {"connection_id":125743,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:52:00] local.INFO: Processing buffer {"connection_id":125743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:52:00] local.INFO: IMEI packet received {"connection_id":125743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":125743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:52:02] local.INFO: TCP Data received {"connection_id":125743,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4173c530012d9be74005752a68000e00ed2b..."} 
[2026-07-08 16:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4173c530012d9be74005752a68000e00ed2b..."} 
[2026-07-08 16:52:02] local.INFO: Processing buffer {"connection_id":125743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4173c530012d9be74005752a68000e00ed2b..."} 
[2026-07-08 16:52:02] local.INFO: Packet analysis {"connection_id":125743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4173"} 
[2026-07-08 16:52:02] local.INFO: Extracted packet for processing {"connection_id":125743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4173"} 
[2026-07-08 16:52:02] local.INFO: GPS Element Parsed {"raw_longitude":765192000,"raw_latitude":91564648,"longitude_deg":76.5192,"latitude_deg":9.1564648,"altitude":14,"angle":237,"satellites":43,"speed":46,"hex_longitude":"2d9be740","hex_latitude":"05752a68","is_valid_coordinates":true} 
[2026-07-08 16:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578440192001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342785965573537792,"note":"Value kept but may cause issues"} 
[2026-07-08 16:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7210544454956003328,"note":"Value kept but may cause issues"} 
[2026-07-08 16:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783509534000,"timestamp_ms":1783509534000,"timestamp_seconds":1783509534,"priority":1,"record_length":96,"hex_timestamp":"0000019f4173c530"} 
[2026-07-08 16:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-08 16:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578440192001,"66":27104,"254":206,"85":15872,"24":46,"16":342785965573537792,"45":-7210544454956003328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-07-08 16:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578440192001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:52:02] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-08 16:52:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342785965573537792,"km_value":342785965573537.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7210544454956003328,"description":"Unknown IO ID 45"} 
[2026-07-08 16:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578440192001,"power":27104,"unknown_254":206,"unknown_85":15872,"ignition":46,"odometer":null,"unknown_45":-7210544454956003328}} 
[2026-07-08 16:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":125743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:52:02] local.INFO: GPS data processed {"connection_id":125743,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:52:02] local.INFO: Acknowledgment sent {"connection_id":125743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:52:04] local.INFO: TCP Data received {"connection_id":127739,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:52:04] local.INFO: Processing buffer {"connection_id":127739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:52:04] local.INFO: IMEI packet received {"connection_id":127739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":127739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:52:05] local.INFO: TCP Data received {"connection_id":127739,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41742ac0012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 16:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41742ac0012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 16:52:05] local.INFO: Processing buffer {"connection_id":127739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41742ac0012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 16:52:05] local.INFO: Packet analysis {"connection_id":127739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4174"} 
[2026-07-08 16:52:05] local.INFO: Extracted packet for processing {"connection_id":127739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4174"} 
[2026-07-08 16:52:05] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 16:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578441984001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 16:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 16:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783509560000,"timestamp_ms":1783509560000,"timestamp_seconds":1783509560,"priority":1,"record_length":96,"hex_timestamp":"0000019f41742ac0"} 
[2026-07-08 16:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-08 16:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578441984001,"66":12972,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578441984001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:52:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:52:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 16:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578441984001,"power":12972,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 16:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":127739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:52:05] local.INFO: GPS data processed {"connection_id":127739,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:52:05] local.INFO: Acknowledgment sent {"connection_id":127739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:52:23] local.INFO: TCP Data received {"connection_id":125641,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4175ccb8012d0b138007029f100019005522..."} 
[2026-07-08 16:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4175ccb8012d0b138007029f100019005522..."} 
[2026-07-08 16:52:23] local.INFO: Processing buffer {"connection_id":125641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4175ccb8012d0b138007029f100019005522..."} 
[2026-07-08 16:52:23] local.INFO: Packet analysis {"connection_id":125641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4175"} 
[2026-07-08 16:52:23] local.INFO: Extracted packet for processing {"connection_id":125641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4175"} 
[2026-07-08 16:52:23] local.INFO: GPS Element Parsed {"raw_longitude":755700608,"raw_latitude":117612304,"longitude_deg":75.5700608,"latitude_deg":11.7612304,"altitude":25,"angle":85,"satellites":34,"speed":1,"hex_longitude":"2d0b1380","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-07-08 16:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578472704001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23680340841201664,"note":"Value kept but may cause issues"} 
[2026-07-08 16:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797840851595079680,"note":"Value kept but may cause issues"} 
[2026-07-08 16:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783509667000,"timestamp_ms":1783509667000,"timestamp_seconds":1783509667,"priority":1,"record_length":96,"hex_timestamp":"0000019f4175ccb8"} 
[2026-07-08 16:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:52:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-08 16:52:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":125641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":125641,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":125641,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 16:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 16:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578472704001,"66":14396,"17":206,"94":11008,"24":1,"16":23680340841201664,"45":797840851595079680},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 16:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 16:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 16:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578472704001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:52:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 16:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23680340841201664,"km_value":23680340841201.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797840851595079680,"description":"Unknown IO ID 45"} 
[2026-07-08 16:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578472704001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":797840851595079680}} 
[2026-07-08 16:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":125641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452551,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:52:23] local.INFO: GPS data processed {"connection_id":125641,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:52:23] local.INFO: Acknowledgment sent {"connection_id":125641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:52:33] local.INFO: TCP Data received {"connection_id":125743,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41765188012d9b9c400574e5a0000900eb2d..."} 
[2026-07-08 16:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41765188012d9b9c400574e5a0000900eb2d..."} 
[2026-07-08 16:52:33] local.INFO: Processing buffer {"connection_id":125743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41765188012d9b9c400574e5a0000900eb2d..."} 
[2026-07-08 16:52:33] local.INFO: Packet analysis {"connection_id":125743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4176"} 
[2026-07-08 16:52:33] local.INFO: Extracted packet for processing {"connection_id":125743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4176"} 
[2026-07-08 16:52:33] local.INFO: GPS Element Parsed {"raw_longitude":765172800,"raw_latitude":91547040,"longitude_deg":76.51728,"latitude_deg":9.154704,"altitude":9,"angle":235,"satellites":45,"speed":0,"hex_longitude":"2d9b9c40","hex_latitude":"0574e5a0","is_valid_coordinates":true} 
[2026-07-08 16:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578440704001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342785965573537792,"note":"Value kept but may cause issues"} 
[2026-07-08 16:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7212725886025832448,"note":"Value kept but may cause issues"} 
[2026-07-08 16:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783509701000,"timestamp_ms":1783509701000,"timestamp_seconds":1783509701,"priority":1,"record_length":96,"hex_timestamp":"0000019f41765188"} 
[2026-07-08 16:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-08 16:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:52:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578440704001,"66":26560,"161":206,"85":15872,"24":0,"16":342785965573537792,"45":-7212725886025832448},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-07-08 16:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578440704001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:52:33] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-08 16:52:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342785965573537792,"km_value":342785965573537.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7212725886025832448,"description":"Unknown IO ID 45"} 
[2026-07-08 16:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578440704001,"power":26560,"unknown_161":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7212725886025832448}} 
[2026-07-08 16:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":125743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:52:33] local.INFO: GPS data processed {"connection_id":125743,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:52:33] local.INFO: Acknowledgment sent {"connection_id":125743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:52:38] local.INFO: TCP Data received {"connection_id":127739,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41747cc8012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 16:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41747cc8012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 16:52:38] local.INFO: Processing buffer {"connection_id":127739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41747cc8012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 16:52:38] local.INFO: Packet analysis {"connection_id":127739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4174"} 
[2026-07-08 16:52:38] local.INFO: Extracted packet for processing {"connection_id":127739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4174"} 
[2026-07-08 16:52:38] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":46,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 16:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578447360001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 16:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 16:52: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-07-08 16:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783509581000,"timestamp_ms":1783509581000,"timestamp_seconds":1783509581,"priority":1,"record_length":96,"hex_timestamp":"0000019f41747cc8"} 
[2026-07-08 16:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-08 16:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578447360001,"66":12961,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578447360001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:52:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:52:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 16:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578447360001,"power":12961,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 16:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":127739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:52:38] local.INFO: GPS data processed {"connection_id":127739,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:52:38] local.INFO: Acknowledgment sent {"connection_id":127739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:52:56] local.INFO: TCP Data received {"connection_id":126508,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126508,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:52:56] local.INFO: Processing buffer {"connection_id":126508,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:52:56] local.INFO: IMEI packet received {"connection_id":126508,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 16:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":126508,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:53:00] local.INFO: TCP Data received {"connection_id":125642,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:53:00] local.INFO: Processing buffer {"connection_id":125642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:53:00] local.INFO: IMEI packet received {"connection_id":125642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":125642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:53:01] local.INFO: TCP Data received {"connection_id":127740,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:53:01] local.INFO: Processing buffer {"connection_id":127740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:53:01] local.INFO: IMEI packet received {"connection_id":127740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":127740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:53:02] local.INFO: TCP Data received {"connection_id":125641,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4175ccb8012d0b138007029f100019005522..."} 
[2026-07-08 16:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4175ccb8012d0b138007029f100019005522..."} 
[2026-07-08 16:53:02] local.INFO: Processing buffer {"connection_id":125641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4175ccb8012d0b138007029f100019005522..."} 
[2026-07-08 16:53:02] local.INFO: Packet analysis {"connection_id":125641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4175"} 
[2026-07-08 16:53:02] local.INFO: Extracted packet for processing {"connection_id":125641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4175"} 
[2026-07-08 16:53:02] local.INFO: GPS Element Parsed {"raw_longitude":755700608,"raw_latitude":117612304,"longitude_deg":75.5700608,"latitude_deg":11.7612304,"altitude":25,"angle":85,"satellites":34,"speed":1,"hex_longitude":"2d0b1380","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-07-08 16:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578474752001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23680340841201664,"note":"Value kept but may cause issues"} 
[2026-07-08 16:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798122326571814912,"note":"Value kept but may cause issues"} 
[2026-07-08 16:53: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-07-08 16:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783509667000,"timestamp_ms":1783509667000,"timestamp_seconds":1783509667,"priority":1,"record_length":96,"hex_timestamp":"0000019f4175ccb8"} 
[2026-07-08 16:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-08 16:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125641,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125641,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-08 16:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-08 16:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-08 16:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578474752001,"66":14396,"17":206,"94":11008,"24":1,"16":23680340841201664,"45":798122326571814912},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-08 16:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-08 16:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-08 16:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578474752001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:53:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-08 16:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23680340841201664,"km_value":23680340841201.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":798122326571814912,"description":"Unknown IO ID 45"} 
[2026-07-08 16:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578474752001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":798122326571814912}} 
[2026-07-08 16:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":125641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452554,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:53:02] local.INFO: GPS data processed {"connection_id":125641,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:53:02] local.INFO: Acknowledgment sent {"connection_id":125641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:53:03] local.INFO: TCP Data received {"connection_id":127740,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:53:03] local.INFO: Processing buffer {"connection_id":127740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:53:03] local.INFO: IMEI packet received {"connection_id":127740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":127740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:53:05] local.INFO: TCP Data received {"connection_id":125642,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:53:05] local.INFO: Processing buffer {"connection_id":125642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:53:05] local.INFO: IMEI packet received {"connection_id":125642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":125642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:53:07] local.INFO: TCP Data received {"connection_id":127740,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41765958012d9b8d000574d1a8000900ca2d..."} 
[2026-07-08 16:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41765958012d9b8d000574d1a8000900ca2d..."} 
[2026-07-08 16:53:07] local.INFO: Processing buffer {"connection_id":127740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41765958012d9b8d000574d1a8000900ca2d..."} 
[2026-07-08 16:53:07] local.INFO: Packet analysis {"connection_id":127740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4176"} 
[2026-07-08 16:53:07] local.INFO: Extracted packet for processing {"connection_id":127740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4176"} 
[2026-07-08 16:53:07] local.INFO: GPS Element Parsed {"raw_longitude":765168896,"raw_latitude":91541928,"longitude_deg":76.5168896,"latitude_deg":9.1541928,"altitude":9,"angle":202,"satellites":45,"speed":0,"hex_longitude":"2d9b8d00","hex_latitude":"0574d1a8","is_valid_coordinates":true} 
[2026-07-08 16:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578483456001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342785965573537792,"note":"Value kept but may cause issues"} 
[2026-07-08 16:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7233836509283639296,"note":"Value kept but may cause issues"} 
[2026-07-08 16:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783509703000,"timestamp_ms":1783509703000,"timestamp_seconds":1783509703,"priority":1,"record_length":96,"hex_timestamp":"0000019f41765958"} 
[2026-07-08 16:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-07-08 16:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578483456001,"66":26473,"161":206,"85":15872,"24":0,"16":342785965573537792,"45":-7233836509283639296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-07-08 16:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578483456001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:53:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-08 16:53:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342785965573537792,"km_value":342785965573537.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7233836509283639296,"description":"Unknown IO ID 45"} 
[2026-07-08 16:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578483456001,"power":26473,"unknown_161":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7233836509283639296}} 
[2026-07-08 16:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":127740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:53:07] local.INFO: GPS data processed {"connection_id":127740,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:53:07] local.INFO: Acknowledgment sent {"connection_id":127740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:53:08] local.INFO: TCP Data received {"connection_id":127740,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4176ab60012d9b8d000574d1a8000900ca2e..."} 
[2026-07-08 16:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4176ab60012d9b8d000574d1a8000900ca2e..."} 
[2026-07-08 16:53:08] local.INFO: Processing buffer {"connection_id":127740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4176ab60012d9b8d000574d1a8000900ca2e..."} 
[2026-07-08 16:53:08] local.INFO: Packet analysis {"connection_id":127740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4176"} 
[2026-07-08 16:53:08] local.INFO: Extracted packet for processing {"connection_id":127740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4176"} 
[2026-07-08 16:53:08] local.INFO: GPS Element Parsed {"raw_longitude":765168896,"raw_latitude":91541928,"longitude_deg":76.5168896,"latitude_deg":9.1541928,"altitude":9,"angle":202,"satellites":46,"speed":0,"hex_longitude":"2d9b8d00","hex_latitude":"0574d1a8","is_valid_coordinates":true} 
[2026-07-08 16:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578483968001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342785965573537792,"note":"Value kept but may cause issues"} 
[2026-07-08 16:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7238129002679785472,"note":"Value kept but may cause issues"} 
[2026-07-08 16:53:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783509724000,"timestamp_ms":1783509724000,"timestamp_seconds":1783509724,"priority":1,"record_length":96,"hex_timestamp":"0000019f4176ab60"} 
[2026-07-08 16:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-07-08 16:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:53:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":127740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":127740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":127740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578483968001,"66":27745,"161":206,"85":15872,"24":0,"16":342785965573537792,"45":-7238129002679785472},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-07-08 16:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578483968001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:53:08] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-08 16:53:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342785965573537792,"km_value":342785965573537.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7238129002679785472,"description":"Unknown IO ID 45"} 
[2026-07-08 16:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578483968001,"power":27745,"unknown_161":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7238129002679785472}} 
[2026-07-08 16:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":127740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:53:08] local.INFO: GPS data processed {"connection_id":127740,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:53:08] local.INFO: Acknowledgment sent {"connection_id":127740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:53:39] local.INFO: TCP Data received {"connection_id":127740,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4176fd68012d9b8d000574d1a8000900ca30..."} 
[2026-07-08 16:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4176fd68012d9b8d000574d1a8000900ca30..."} 
[2026-07-08 16:53:39] local.INFO: Processing buffer {"connection_id":127740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4176fd68012d9b8d000574d1a8000900ca30..."} 
[2026-07-08 16:53:39] local.INFO: Packet analysis {"connection_id":127740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4176"} 
[2026-07-08 16:53:39] local.INFO: Extracted packet for processing {"connection_id":127740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4176"} 
[2026-07-08 16:53:39] local.INFO: GPS Element Parsed {"raw_longitude":765168896,"raw_latitude":91541928,"longitude_deg":76.5168896,"latitude_deg":9.1541928,"altitude":9,"angle":202,"satellites":48,"speed":0,"hex_longitude":"2d9b8d00","hex_latitude":"0574d1a8","is_valid_coordinates":true} 
[2026-07-08 16:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578489344001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342785965573537792,"note":"Value kept but may cause issues"} 
[2026-07-08 16:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7238129002679785472,"note":"Value kept but may cause issues"} 
[2026-07-08 16:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783509745000,"timestamp_ms":1783509745000,"timestamp_seconds":1783509745,"priority":1,"record_length":96,"hex_timestamp":"0000019f4176fd68"} 
[2026-07-08 16:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 16:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":127740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":127740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":127740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578489344001,"66":27843,"161":206,"85":15872,"24":0,"16":342785965573537792,"45":-7238129002679785472},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-07-08 16:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578489344001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:53:39] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-08 16:53:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342785965573537792,"km_value":342785965573537.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7238129002679785472,"description":"Unknown IO ID 45"} 
[2026-07-08 16:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578489344001,"power":27843,"unknown_161":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7238129002679785472}} 
[2026-07-08 16:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":127740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:53:39] local.INFO: GPS data processed {"connection_id":127740,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:53:39] local.INFO: Acknowledgment sent {"connection_id":127740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:53:55] local.INFO: TCP Data received {"connection_id":126509,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:53:55] local.INFO: Processing buffer {"connection_id":126509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:53:55] local.INFO: IMEI packet received {"connection_id":126509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":126509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:54:00] local.INFO: TCP Data received {"connection_id":125643,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:54:00] local.INFO: Processing buffer {"connection_id":125643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:54:00] local.INFO: IMEI packet received {"connection_id":125643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":125643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:54:01] local.INFO: TCP Data received {"connection_id":126509,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:54:01] local.INFO: Processing buffer {"connection_id":126509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:54:01] local.INFO: IMEI packet received {"connection_id":126509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":126509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:54:03] local.INFO: TCP Data received {"connection_id":126509,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41774f70012d9b88000574c918001000cb2f..."} 
[2026-07-08 16:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41774f70012d9b88000574c918001000cb2f..."} 
[2026-07-08 16:54:03] local.INFO: Processing buffer {"connection_id":126509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41774f70012d9b88000574c918001000cb2f..."} 
[2026-07-08 16:54:03] local.INFO: Packet analysis {"connection_id":126509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4177"} 
[2026-07-08 16:54:03] local.INFO: Extracted packet for processing {"connection_id":126509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4177"} 
[2026-07-08 16:54:03] local.INFO: GPS Element Parsed {"raw_longitude":765167616,"raw_latitude":91539736,"longitude_deg":76.5167616,"latitude_deg":9.1539736,"altitude":16,"angle":203,"satellites":47,"speed":0,"hex_longitude":"2d9b8800","hex_latitude":"0574c918","is_valid_coordinates":true} 
[2026-07-08 16:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578494720001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342786098717523968,"note":"Value kept but may cause issues"} 
[2026-07-08 16:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7238129002679785472,"note":"Value kept but may cause issues"} 
[2026-07-08 16:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783509766000,"timestamp_ms":1783509766000,"timestamp_seconds":1783509766,"priority":1,"record_length":96,"hex_timestamp":"0000019f41774f70"} 
[2026-07-08 16:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:54: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-07-08 16: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 16:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578494720001,"66":27767,"254":206,"85":15872,"24":0,"16":342786098717523968,"45":-7238129002679785472},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-07-08 16:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578494720001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:54:03] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-08 16:54:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342786098717523968,"km_value":342786098717523.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7238129002679785472,"description":"Unknown IO ID 45"} 
[2026-07-08 16:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578494720001,"power":27767,"unknown_254":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7238129002679785472}} 
[2026-07-08 16:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":126509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:54:03] local.INFO: GPS data processed {"connection_id":126509,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:54:03] local.INFO: Acknowledgment sent {"connection_id":126509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:54:05] local.INFO: TCP Data received {"connection_id":125643,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:54:05] local.INFO: Processing buffer {"connection_id":125643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:54:05] local.INFO: IMEI packet received {"connection_id":125643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":125643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:54:06] local.INFO: TCP Data received {"connection_id":125643,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f417572e0012d1966c0071fedd0003e005a2f..."} 
[2026-07-08 16:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f417572e0012d1966c0071fedd0003e005a2f..."} 
[2026-07-08 16:54:06] local.INFO: Processing buffer {"connection_id":125643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f417572e0012d1966c0071fedd0003e005a2f..."} 
[2026-07-08 16:54:06] local.INFO: Packet analysis {"connection_id":125643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4175"} 
[2026-07-08 16:54:06] local.INFO: Extracted packet for processing {"connection_id":125643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4175"} 
[2026-07-08 16:54:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":47,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 16:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578463488001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 16:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 16:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783509644000,"timestamp_ms":1783509644000,"timestamp_seconds":1783509644,"priority":1,"record_length":96,"hex_timestamp":"0000019f417572e0"} 
[2026-07-08 16:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-08 16:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578463488001,"66":12939,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578463488001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:54:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:54:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 16:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578463488001,"power":12939,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 16:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":125643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:54:06] local.INFO: GPS data processed {"connection_id":125643,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:54:06] local.INFO: Acknowledgment sent {"connection_id":125643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:54:34] local.INFO: TCP Data received {"connection_id":126509,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4177a178012d9b86400574c590001000cb31..."} 
[2026-07-08 16:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4177a178012d9b86400574c590001000cb31..."} 
[2026-07-08 16:54:34] local.INFO: Processing buffer {"connection_id":126509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4177a178012d9b86400574c590001000cb31..."} 
[2026-07-08 16:54:34] local.INFO: Packet analysis {"connection_id":126509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4177"} 
[2026-07-08 16:54:34] local.INFO: Extracted packet for processing {"connection_id":126509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4177"} 
[2026-07-08 16:54:34] local.INFO: GPS Element Parsed {"raw_longitude":765167168,"raw_latitude":91538832,"longitude_deg":76.5167168,"latitude_deg":9.1538832,"altitude":16,"angle":203,"satellites":49,"speed":0,"hex_longitude":"2d9b8640","hex_latitude":"0574c590","is_valid_coordinates":true} 
[2026-07-08 16:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578500096001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342786150257131520,"note":"Value kept but may cause issues"} 
[2026-07-08 16:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7239536377563899904,"note":"Value kept but may cause issues"} 
[2026-07-08 16:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783509787000,"timestamp_ms":1783509787000,"timestamp_seconds":1783509787,"priority":1,"record_length":96,"hex_timestamp":"0000019f4177a178"} 
[2026-07-08 16:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:54: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-07-08 16:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 16:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578500096001,"66":27876,"254":206,"85":15872,"24":0,"16":342786150257131520,"45":-7239536377563899904},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-07-08 16:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578500096001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:54:34] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-08 16:54:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342786150257131520,"km_value":342786150257131.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7239536377563899904,"description":"Unknown IO ID 45"} 
[2026-07-08 16:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578500096001,"power":27876,"unknown_254":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7239536377563899904}} 
[2026-07-08 16:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":126509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:54:34] local.INFO: GPS data processed {"connection_id":126509,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:54:34] local.INFO: Acknowledgment sent {"connection_id":126509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:54:36] local.INFO: TCP Data received {"connection_id":125643,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4175c4e8012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 16:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4175c4e8012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 16:54:36] local.INFO: Processing buffer {"connection_id":125643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4175c4e8012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 16:54:36] local.INFO: Packet analysis {"connection_id":125643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4175"} 
[2026-07-08 16:54:36] local.INFO: Extracted packet for processing {"connection_id":125643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4175"} 
[2026-07-08 16:54:36] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":46,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 16:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578468864001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 16:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 16:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783509665000,"timestamp_ms":1783509665000,"timestamp_seconds":1783509665,"priority":1,"record_length":96,"hex_timestamp":"0000019f4175c4e8"} 
[2026-07-08 16:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-08 16:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578468864001,"66":12874,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578468864001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:54:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:54:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 16:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578468864001,"power":12874,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 16:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":125643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:54:36] local.INFO: GPS data processed {"connection_id":125643,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:54:36] local.INFO: Acknowledgment sent {"connection_id":125643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:54:41] local.INFO: TCP Data received {"connection_id":127741,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127741,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:54:41] local.INFO: Processing buffer {"connection_id":127741,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:54:41] local.INFO: IMEI packet received {"connection_id":127741,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":127741,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:54:51] local.INFO: TCP Data received {"connection_id":127741,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127741,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:54:51] local.INFO: Processing buffer {"connection_id":127741,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:54:51] local.INFO: IMEI packet received {"connection_id":127741,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":127741,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:54:52] local.INFO: TCP Data received {"connection_id":127741,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f41746170012d7a204005e46880000e000b2c..."} 
[2026-07-08 16:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41746170012d7a204005e46880000e000b2c..."} 
[2026-07-08 16:54:52] local.INFO: Processing buffer {"connection_id":127741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41746170012d7a204005e46880000e000b2c..."} 
[2026-07-08 16:54:52] local.INFO: Packet analysis {"connection_id":127741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4174"} 
[2026-07-08 16:54:52] local.INFO: Extracted packet for processing {"connection_id":127741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4174"} 
[2026-07-08 16:54:52] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98855040,"longitude_deg":76.2978368,"latitude_deg":9.885504,"altitude":14,"angle":11,"satellites":44,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46880","is_valid_coordinates":true} 
[2026-07-08 16:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578380288001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103783800193941504,"note":"Value kept but may cause issues"} 
[2026-07-08 16:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799681853467967488,"note":"Value kept but may cause issues"} 
[2026-07-08 16:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783509574000,"timestamp_ms":1783509574000,"timestamp_seconds":1783509574,"priority":1,"record_length":96,"hex_timestamp":"0000019f41746170"} 
[2026-07-08 16:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:54: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-07-08 16: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":18,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 16:54:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":127741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":127741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":127741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:54:52] 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-07-08 16:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578380288001,"66":2231,"157":206,"87":12288,"24":0,"16":103783800193941504,"45":8799681853467967488},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 16:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578380288001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:54:52] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 16:54:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-08 16:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103783800193941504,"km_value":103783800193941.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799681853467967488,"description":"Unknown IO ID 45"} 
[2026-07-08 16:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578380288001,"power":2231,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799681853467967488}} 
[2026-07-08 16:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":127741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452562,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:54:52] local.INFO: GPS data processed {"connection_id":127741,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:54:52] local.INFO: Acknowledgment sent {"connection_id":127741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:54:53] local.INFO: TCP Data received {"connection_id":127741,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f41746170012d7a204005e46880000e000b2c..."} 
[2026-07-08 16:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41746170012d7a204005e46880000e000b2c..."} 
[2026-07-08 16:54:53] local.INFO: Processing buffer {"connection_id":127741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41746170012d7a204005e46880000e000b2c..."} 
[2026-07-08 16:54:53] local.INFO: Packet analysis {"connection_id":127741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4174"} 
[2026-07-08 16:54:53] local.INFO: Extracted packet for processing {"connection_id":127741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4174"} 
[2026-07-08 16:54:53] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98855040,"longitude_deg":76.2978368,"latitude_deg":9.885504,"altitude":14,"angle":11,"satellites":44,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05e46880","is_valid_coordinates":true} 
[2026-07-08 16:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578450944001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103783800193941504,"note":"Value kept but may cause issues"} 
[2026-07-08 16:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065933017088,"note":"Value kept but may cause issues"} 
[2026-07-08 16:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783509574000,"timestamp_ms":1783509574000,"timestamp_seconds":1783509574,"priority":1,"record_length":96,"hex_timestamp":"0000019f41746170"} 
[2026-07-08 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-07-08 16:54:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 16:54:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 16:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":127741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":127741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":127741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 16:54: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-07-08 16:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 16:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 16:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578450944001,"66":2231,"157":206,"87":12288,"24":0,"16":103783800193941504,"45":8800104065933017088},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 16:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 16:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 16:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578450944001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:54:53] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 16:54:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-08 16:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103783800193941504,"km_value":103783800193941.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065933017088,"description":"Unknown IO ID 45"} 
[2026-07-08 16:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578450944001,"power":2231,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8800104065933017088}} 
[2026-07-08 16:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":127741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452563,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:54:54] local.INFO: GPS data processed {"connection_id":127741,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:54:54] local.INFO: Acknowledgment sent {"connection_id":127741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:54:55] local.INFO: TCP Data received {"connection_id":125644,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:54:55] local.INFO: Processing buffer {"connection_id":125644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:54:55] local.INFO: IMEI packet received {"connection_id":125644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":125644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:55:00] local.INFO: TCP Data received {"connection_id":125744,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:55:00] local.INFO: Processing buffer {"connection_id":125744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:55:00] local.INFO: IMEI packet received {"connection_id":125744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":125744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:55:00] local.INFO: TCP Data received {"connection_id":125644,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:55:00] local.INFO: Processing buffer {"connection_id":125644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:55:00] local.INFO: IMEI packet received {"connection_id":125644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":125644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:55:01] local.INFO: TCP Data received {"connection_id":125644,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4177f380012d9b86400574c590001000cb2f..."} 
[2026-07-08 16:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4177f380012d9b86400574c590001000cb2f..."} 
[2026-07-08 16:55:01] local.INFO: Processing buffer {"connection_id":125644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4177f380012d9b86400574c590001000cb2f..."} 
[2026-07-08 16:55:01] local.INFO: Packet analysis {"connection_id":125644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4177"} 
[2026-07-08 16:55:01] local.INFO: Extracted packet for processing {"connection_id":125644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4177"} 
[2026-07-08 16:55:01] local.INFO: GPS Element Parsed {"raw_longitude":765167168,"raw_latitude":91538832,"longitude_deg":76.5167168,"latitude_deg":9.1538832,"altitude":16,"angle":203,"satellites":47,"speed":0,"hex_longitude":"2d9b8640","hex_latitude":"0574c590","is_valid_coordinates":true} 
[2026-07-08 16:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578505472001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342786150257131520,"note":"Value kept but may cause issues"} 
[2026-07-08 16:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7240028958773374976,"note":"Value kept but may cause issues"} 
[2026-07-08 16:55:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783509808000,"timestamp_ms":1783509808000,"timestamp_seconds":1783509808,"priority":1,"record_length":96,"hex_timestamp":"0000019f4177f380"} 
[2026-07-08 16:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:55:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 16:55:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:55:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578505472001,"66":27919,"161":206,"85":15872,"24":0,"16":342786150257131520,"45":-7240028958773374976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-07-08 16:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578505472001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:55:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-08 16:55:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342786150257131520,"km_value":342786150257131.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7240028958773374976,"description":"Unknown IO ID 45"} 
[2026-07-08 16:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578505472001,"power":27919,"unknown_161":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7240028958773374976}} 
[2026-07-08 16:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":125644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:55:01] local.INFO: GPS data processed {"connection_id":125644,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:55:01] local.INFO: Acknowledgment sent {"connection_id":125644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:55:05] local.INFO: TCP Data received {"connection_id":125744,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:55:05] local.INFO: Processing buffer {"connection_id":125744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:55:05] local.INFO: IMEI packet received {"connection_id":125744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":125744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:55:06] local.INFO: TCP Data received {"connection_id":125744,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f417616f0012d1966c0071fedd0003e005a30..."} 
[2026-07-08 16:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f417616f0012d1966c0071fedd0003e005a30..."} 
[2026-07-08 16:55:06] local.INFO: Processing buffer {"connection_id":125744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f417616f0012d1966c0071fedd0003e005a30..."} 
[2026-07-08 16:55:06] local.INFO: Packet analysis {"connection_id":125744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4176"} 
[2026-07-08 16:55:06] local.INFO: Extracted packet for processing {"connection_id":125744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4176"} 
[2026-07-08 16:55:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":48,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 16:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578474240001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 16:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 16:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783509686000,"timestamp_ms":1783509686000,"timestamp_seconds":1783509686,"priority":1,"record_length":96,"hex_timestamp":"0000019f417616f0"} 
[2026-07-08 16:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-08 16:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578474240001,"66":12863,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578474240001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:55:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:55:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 16:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578474240001,"power":12863,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 16:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":125744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:55:06] local.INFO: GPS data processed {"connection_id":125744,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:55:06] local.INFO: Acknowledgment sent {"connection_id":125744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:55:26] local.INFO: TCP Data received {"connection_id":125645,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125645,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:55:26] local.INFO: Processing buffer {"connection_id":125645,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:55:26] local.INFO: IMEI packet received {"connection_id":125645,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 16:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":125645,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:55:31] local.INFO: TCP Data received {"connection_id":125645,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125645,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:55:31] local.INFO: Processing buffer {"connection_id":125645,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 16:55:31] local.INFO: IMEI packet received {"connection_id":125645,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 16:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":125645,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:55:32] local.INFO: TCP Data received {"connection_id":125644,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41784588012d9b85800574c220001100c331..."} 
[2026-07-08 16:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41784588012d9b85800574c220001100c331..."} 
[2026-07-08 16:55:32] local.INFO: Processing buffer {"connection_id":125644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41784588012d9b85800574c220001100c331..."} 
[2026-07-08 16:55:32] local.INFO: Packet analysis {"connection_id":125644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4178"} 
[2026-07-08 16:55:32] local.INFO: Extracted packet for processing {"connection_id":125644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4178"} 
[2026-07-08 16:55:32] local.INFO: GPS Element Parsed {"raw_longitude":765166976,"raw_latitude":91537952,"longitude_deg":76.5166976,"latitude_deg":9.1537952,"altitude":17,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2d9b8580","hex_latitude":"0574c220","is_valid_coordinates":true} 
[2026-07-08 16:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578510848001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342786197501771776,"note":"Value kept but may cause issues"} 
[2026-07-08 16:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7240028958773374976,"note":"Value kept but may cause issues"} 
[2026-07-08 16:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783509829000,"timestamp_ms":1783509829000,"timestamp_seconds":1783509829,"priority":1,"record_length":96,"hex_timestamp":"0000019f41784588"} 
[2026-07-08 16:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 16:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578510848001,"66":28006,"161":206,"85":15872,"24":0,"16":342786197501771776,"45":-7240028958773374976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-07-08 16:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578510848001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:55:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-08 16:55:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342786197501771776,"km_value":342786197501771.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7240028958773374976,"description":"Unknown IO ID 45"} 
[2026-07-08 16:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578510848001,"power":28006,"unknown_161":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7240028958773374976}} 
[2026-07-08 16:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":125644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:55:32] local.INFO: GPS data processed {"connection_id":125644,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:55:32] local.INFO: Acknowledgment sent {"connection_id":125644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:55:36] local.INFO: TCP Data received {"connection_id":125744,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f417668f8012d1966c0071fedd0003e005a2f..."} 
[2026-07-08 16:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f417668f8012d1966c0071fedd0003e005a2f..."} 
[2026-07-08 16:55:36] local.INFO: Processing buffer {"connection_id":125744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f417668f8012d1966c0071fedd0003e005a2f..."} 
[2026-07-08 16:55:36] local.INFO: Packet analysis {"connection_id":125744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4176"} 
[2026-07-08 16:55:36] local.INFO: Extracted packet for processing {"connection_id":125744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4176"} 
[2026-07-08 16:55:36] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":47,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 16:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578479616001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 16:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 16:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783509707000,"timestamp_ms":1783509707000,"timestamp_seconds":1783509707,"priority":1,"record_length":96,"hex_timestamp":"0000019f417668f8"} 
[2026-07-08 16:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-08 16:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578479616001,"66":12852,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578479616001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:55:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:55:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 16:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578479616001,"power":12852,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 16:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":125744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:55:36] local.INFO: GPS data processed {"connection_id":125744,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:55:36] local.INFO: Acknowledgment sent {"connection_id":125744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:55:55] local.INFO: TCP Data received {"connection_id":126511,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:55:55] local.INFO: Processing buffer {"connection_id":126511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:55:55] local.INFO: IMEI packet received {"connection_id":126511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":126511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:55:56] local.INFO: TCP Data received {"connection_id":125642,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4174ced0012d1966c0071fedd0003e005a2f..."} 
[2026-07-08 16:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4174ced0012d1966c0071fedd0003e005a2f..."} 
[2026-07-08 16:55:56] local.INFO: Processing buffer {"connection_id":125642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4174ced0012d1966c0071fedd0003e005a2f..."} 
[2026-07-08 16:55:56] local.INFO: Packet analysis {"connection_id":125642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4174"} 
[2026-07-08 16:55:56] local.INFO: Extracted packet for processing {"connection_id":125642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4174"} 
[2026-07-08 16:55:56] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":47,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 16:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578452736001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 16:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 16:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783509602000,"timestamp_ms":1783509602000,"timestamp_seconds":1783509602,"priority":1,"record_length":96,"hex_timestamp":"0000019f4174ced0"} 
[2026-07-08 16:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-08 16:55:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:55:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":125642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":125642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":125642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578452736001,"66":12950,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578452736001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:55:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:55:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 16:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578452736001,"power":12950,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 16:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":125642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:55:56] local.INFO: GPS data processed {"connection_id":125642,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:55:56] local.INFO: Acknowledgment sent {"connection_id":125642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:56:00] local.INFO: TCP Data received {"connection_id":126513,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:56:00] local.INFO: Processing buffer {"connection_id":126513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:56:00] local.INFO: IMEI packet received {"connection_id":126513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":126513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:56:00] local.INFO: TCP Data received {"connection_id":126511,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:56:00] local.INFO: Processing buffer {"connection_id":126511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:56:00] local.INFO: IMEI packet received {"connection_id":126511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":126511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:56:01] local.INFO: TCP Data received {"connection_id":126511,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41789790012d9b85800574c220001100c32d..."} 
[2026-07-08 16:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41789790012d9b85800574c220001100c32d..."} 
[2026-07-08 16:56:01] local.INFO: Processing buffer {"connection_id":126511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41789790012d9b85800574c220001100c32d..."} 
[2026-07-08 16:56:01] local.INFO: Packet analysis {"connection_id":126511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4178"} 
[2026-07-08 16:56:01] local.INFO: Extracted packet for processing {"connection_id":126511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4178"} 
[2026-07-08 16:56:01] local.INFO: GPS Element Parsed {"raw_longitude":765166976,"raw_latitude":91537952,"longitude_deg":76.5166976,"latitude_deg":9.1537952,"altitude":17,"angle":195,"satellites":45,"speed":0,"hex_longitude":"2d9b8580","hex_latitude":"0574c220","is_valid_coordinates":true} 
[2026-07-08 16:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578516224001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342786197501771776,"note":"Value kept but may cause issues"} 
[2026-07-08 16:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7240240065006133248,"note":"Value kept but may cause issues"} 
[2026-07-08 16:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783509850000,"timestamp_ms":1783509850000,"timestamp_seconds":1783509850,"priority":1,"record_length":96,"hex_timestamp":"0000019f41789790"} 
[2026-07-08 16:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:56: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-07-08 16:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 16:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:56:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578516224001,"66":27876,"161":206,"85":15872,"24":0,"16":342786197501771776,"45":-7240240065006133248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-07-08 16:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578516224001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:56:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-08 16:56:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342786197501771776,"km_value":342786197501771.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7240240065006133248,"description":"Unknown IO ID 45"} 
[2026-07-08 16:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578516224001,"power":27876,"unknown_161":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7240240065006133248}} 
[2026-07-08 16:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":126511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:56:01] local.INFO: GPS data processed {"connection_id":126511,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:56:01] local.INFO: Acknowledgment sent {"connection_id":126511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:56:05] local.INFO: TCP Data received {"connection_id":126513,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:56:05] local.INFO: Processing buffer {"connection_id":126513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:56:05] local.INFO: IMEI packet received {"connection_id":126513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":126513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:56:12] local.INFO: TCP Data received {"connection_id":126513,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4176bb00012d1966c0071fedd0003e005a30..."} 
[2026-07-08 16:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4176bb00012d1966c0071fedd0003e005a30..."} 
[2026-07-08 16:56:12] local.INFO: Processing buffer {"connection_id":126513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4176bb00012d1966c0071fedd0003e005a30..."} 
[2026-07-08 16:56:12] local.INFO: Packet analysis {"connection_id":126513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4176"} 
[2026-07-08 16:56:12] local.INFO: Extracted packet for processing {"connection_id":126513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4176"} 
[2026-07-08 16:56:12] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":48,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 16:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578484992001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 16:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 16:56: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-07-08 16:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783509728000,"timestamp_ms":1783509728000,"timestamp_seconds":1783509728,"priority":1,"record_length":96,"hex_timestamp":"0000019f4176bb00"} 
[2026-07-08 16:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:56: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-07-08 16:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-08 16:56: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-07-08 16:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":126513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":126513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":126513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:56: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-07-08 16:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578484992001,"66":12841,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578484992001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:56:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:56:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 16:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578484992001,"power":12841,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 16:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":126513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:56:12] local.INFO: GPS data processed {"connection_id":126513,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:56:12] local.INFO: Acknowledgment sent {"connection_id":126513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:56:33] local.INFO: TCP Data received {"connection_id":126511,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4178e998012d9b85000574c0e8001200ca30..."} 
[2026-07-08 16:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4178e998012d9b85000574c0e8001200ca30..."} 
[2026-07-08 16:56:33] local.INFO: Processing buffer {"connection_id":126511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4178e998012d9b85000574c0e8001200ca30..."} 
[2026-07-08 16:56:33] local.INFO: Packet analysis {"connection_id":126511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4178"} 
[2026-07-08 16:56:33] local.INFO: Extracted packet for processing {"connection_id":126511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4178"} 
[2026-07-08 16:56:33] local.INFO: GPS Element Parsed {"raw_longitude":765166848,"raw_latitude":91537640,"longitude_deg":76.5166848,"latitude_deg":9.153764,"altitude":18,"angle":202,"satellites":48,"speed":0,"hex_longitude":"2d9b8500","hex_latitude":"0574c0e8","is_valid_coordinates":true} 
[2026-07-08 16:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578521600001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342786214681640960,"note":"Value kept but may cause issues"} 
[2026-07-08 16:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7240240065006133248,"note":"Value kept but may cause issues"} 
[2026-07-08 16:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783509871000,"timestamp_ms":1783509871000,"timestamp_seconds":1783509871,"priority":1,"record_length":96,"hex_timestamp":"0000019f4178e998"} 
[2026-07-08 16:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 16:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:56:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 16:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 16:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 16:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578521600001,"66":27908,"161":206,"85":15872,"24":0,"16":342786214681640960,"45":-7240240065006133248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-07-08 16:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 16:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 16:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578521600001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:56:33] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-08 16:56:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 16:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342786214681640960,"km_value":342786214681640.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7240240065006133248,"description":"Unknown IO ID 45"} 
[2026-07-08 16:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578521600001,"power":27908,"unknown_161":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7240240065006133248}} 
[2026-07-08 16:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":126511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:56:33] local.INFO: GPS data processed {"connection_id":126511,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:56:33] local.INFO: Acknowledgment sent {"connection_id":126511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:56:51] local.INFO: TCP Data received {"connection_id":126513,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41770d08012d1966c0071fedd0003e005a30..."} 
[2026-07-08 16:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41770d08012d1966c0071fedd0003e005a30..."} 
[2026-07-08 16:56:51] local.INFO: Processing buffer {"connection_id":126513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41770d08012d1966c0071fedd0003e005a30..."} 
[2026-07-08 16:56:51] local.INFO: Packet analysis {"connection_id":126513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4177"} 
[2026-07-08 16:56:51] local.INFO: Extracted packet for processing {"connection_id":126513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4177"} 
[2026-07-08 16:56:51] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":48,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 16: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-07-08 16:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578490368001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 16:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 16:56: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-07-08 16:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783509749000,"timestamp_ms":1783509749000,"timestamp_seconds":1783509749,"priority":1,"record_length":96,"hex_timestamp":"0000019f41770d08"} 
[2026-07-08 16:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-08 16:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16: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-07-08 16:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578490368001,"66":12776,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578490368001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:56:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:56:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 16:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578490368001,"power":12776,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 16:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":126513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:56:51] local.INFO: GPS data processed {"connection_id":126513,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:56:51] local.INFO: Acknowledgment sent {"connection_id":126513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:56:58] local.INFO: TCP Data received {"connection_id":127744,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:56:58] local.INFO: Processing buffer {"connection_id":127744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:56:58] local.INFO: IMEI packet received {"connection_id":127744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 16:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":127744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:56:58] local.INFO: TCP Data received {"connection_id":127744,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:56:58] local.INFO: Processing buffer {"connection_id":127744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:56:58] local.INFO: IMEI packet received {"connection_id":127744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":127744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:56:59] local.INFO: TCP Data received {"connection_id":127744,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:56:59] local.INFO: Processing buffer {"connection_id":127744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:56:59] local.INFO: IMEI packet received {"connection_id":127744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":127744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:56:59] local.INFO: TCP Data received {"connection_id":126514,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:56:59] local.INFO: Processing buffer {"connection_id":126514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:56:59] local.INFO: IMEI packet received {"connection_id":126514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":126514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:57:00] local.INFO: TCP Data received {"connection_id":127744,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:57:00] local.INFO: Processing buffer {"connection_id":127744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 16:57:00] local.INFO: IMEI packet received {"connection_id":127744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 16:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":127744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:57:05] local.INFO: TCP Data received {"connection_id":126514,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:57:05] local.INFO: Processing buffer {"connection_id":126514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:57:05] local.INFO: IMEI packet received {"connection_id":126514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":126514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:57:06] local.INFO: TCP Data received {"connection_id":126514,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41775f10012d1966c0071fedd0003e005a30..."} 
[2026-07-08 16:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41775f10012d1966c0071fedd0003e005a30..."} 
[2026-07-08 16:57:06] local.INFO: Processing buffer {"connection_id":126514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41775f10012d1966c0071fedd0003e005a30..."} 
[2026-07-08 16:57:06] local.INFO: Packet analysis {"connection_id":126514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4177"} 
[2026-07-08 16:57:06] local.INFO: Extracted packet for processing {"connection_id":126514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4177"} 
[2026-07-08 16:57:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":48,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 16:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578495744001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 16:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 16:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783509770000,"timestamp_ms":1783509770000,"timestamp_seconds":1783509770,"priority":1,"record_length":96,"hex_timestamp":"0000019f41775f10"} 
[2026-07-08 16:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-08 16:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578495744001,"66":12809,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578495744001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:57:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:57:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 16:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578495744001,"power":12809,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 16:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":126514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:57:06] local.INFO: GPS data processed {"connection_id":126514,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:57:06] local.INFO: Acknowledgment sent {"connection_id":126514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:57:37] local.INFO: TCP Data received {"connection_id":126514,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4177b118012d1966c0071fedd0003e005a30..."} 
[2026-07-08 16:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4177b118012d1966c0071fedd0003e005a30..."} 
[2026-07-08 16:57:37] local.INFO: Processing buffer {"connection_id":126514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4177b118012d1966c0071fedd0003e005a30..."} 
[2026-07-08 16:57:37] local.INFO: Packet analysis {"connection_id":126514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4177"} 
[2026-07-08 16:57:37] local.INFO: Extracted packet for processing {"connection_id":126514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4177"} 
[2026-07-08 16:57:37] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":48,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 16:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578501120001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 16:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 16:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783509791000,"timestamp_ms":1783509791000,"timestamp_seconds":1783509791,"priority":1,"record_length":96,"hex_timestamp":"0000019f4177b118"} 
[2026-07-08 16:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:57: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-07-08 16:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-08 16:57:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-08 16:57:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 16:57:37] local.WARNING: Large IO value detected {"io_id":86,"raw_value":3607101440,"note":"Value kept but may cause issues"} 
[2026-07-08 16:57:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-08 16:57:37] local.WARNING: Large IO value detected {"io_id":65,"raw_value":8439983201255515840,"note":"Value kept but may cause issues"} 
[2026-07-08 16:57:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3989831742,"note":"Value kept but may cause issues"} 
[2026-07-08 16:57:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-08 16:57:37] local.WARNING: Large IO value detected {"io_id":196,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-07-08 16:57:37] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3221692397,"note":"Value kept but may cause issues"} 
[2026-07-08 16:57:37] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512585429692845,"note":"Value kept but may cause issues"} 
[2026-07-08 16:57:37] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300723684114979375,"note":"Value kept but may cause issues"} 
[2026-07-08 16:57:37] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-08 16:57:37] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,103,83,24,241,157,16,86,159,13,45,192,237,62,48,10,66,187,104,1,240,52,227,65,31,4,113,205,196,102,208,46,239,50,2,17,7,164,215],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-08 16:57:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467669992556462080,"timestamp_seconds":4467669992556462.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 16:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578501120001,"66":12776,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578501120001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:57:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:57:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 16:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578501120001,"power":12776,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 16:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":126514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:57:37] local.INFO: GPS data processed {"connection_id":126514,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:57:37] local.INFO: Acknowledgment sent {"connection_id":126514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:57:59] local.INFO: TCP Data received {"connection_id":127745,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:57:59] local.INFO: Processing buffer {"connection_id":127745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:57:59] local.INFO: IMEI packet received {"connection_id":127745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":127745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:58:01] local.INFO: TCP Data received {"connection_id":127745,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:58:01] local.INFO: Processing buffer {"connection_id":127745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:58:01] local.INFO: IMEI packet received {"connection_id":127745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":127745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:58:05] local.INFO: TCP Data received {"connection_id":127745,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:58:05] local.INFO: Processing buffer {"connection_id":127745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:58:05] local.INFO: IMEI packet received {"connection_id":127745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":127745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:58:06] local.INFO: TCP Data received {"connection_id":127745,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41780320012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 16:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41780320012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 16:58:06] local.INFO: Processing buffer {"connection_id":127745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41780320012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 16:58:06] local.INFO: Packet analysis {"connection_id":127745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4178"} 
[2026-07-08 16:58:06] local.INFO: Extracted packet for processing {"connection_id":127745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4178"} 
[2026-07-08 16:58:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":46,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 16:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578506496001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 16:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 16:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783509812000,"timestamp_ms":1783509812000,"timestamp_seconds":1783509812,"priority":1,"record_length":96,"hex_timestamp":"0000019f41780320"} 
[2026-07-08 16:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-08 16:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578506496001,"66":12776,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578506496001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:58:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:58:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 16:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578506496001,"power":12776,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 16:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":127745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:58:06] local.INFO: GPS data processed {"connection_id":127745,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:58:06] local.INFO: Acknowledgment sent {"connection_id":127745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:58:21] local.INFO: TCP Data received {"connection_id":125646,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125646,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:58:21] local.INFO: Processing buffer {"connection_id":125646,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:58:21] local.INFO: IMEI packet received {"connection_id":125646,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 16:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":125646,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:58:36] local.INFO: TCP Data received {"connection_id":127745,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41785528012d1966c0071fedd0003e005a30..."} 
[2026-07-08 16:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41785528012d1966c0071fedd0003e005a30..."} 
[2026-07-08 16:58:36] local.INFO: Processing buffer {"connection_id":127745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41785528012d1966c0071fedd0003e005a30..."} 
[2026-07-08 16:58:36] local.INFO: Packet analysis {"connection_id":127745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4178"} 
[2026-07-08 16:58:36] local.INFO: Extracted packet for processing {"connection_id":127745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4178"} 
[2026-07-08 16:58:36] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":48,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 16:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578511872001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 16:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 16:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783509833000,"timestamp_ms":1783509833000,"timestamp_seconds":1783509833,"priority":1,"record_length":96,"hex_timestamp":"0000019f41785528"} 
[2026-07-08 16:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-08 16:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578511872001,"66":12743,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578511872001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:58:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:58:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 16:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578511872001,"power":12743,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 16:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":127745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:58:37] local.INFO: GPS data processed {"connection_id":127745,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:58:37] local.INFO: Acknowledgment sent {"connection_id":127745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:58:56] local.INFO: TCP Data received {"connection_id":126517,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126517,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:58:56] local.INFO: Processing buffer {"connection_id":126517,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 16:58:56] local.INFO: IMEI packet received {"connection_id":126517,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 16:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":126517,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:59:04] local.INFO: TCP Data received {"connection_id":126518,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:59:04] local.INFO: Processing buffer {"connection_id":126518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:59:04] local.INFO: IMEI packet received {"connection_id":126518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 16:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":126518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 16:59:04] local.INFO: TCP Data received {"connection_id":126518,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:59:04] local.INFO: Processing buffer {"connection_id":126518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:59:04] local.INFO: IMEI packet received {"connection_id":126518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":126518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:59:10] local.INFO: TCP Data received {"connection_id":126518,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:59:10] local.INFO: Processing buffer {"connection_id":126518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 16:59:10] local.INFO: IMEI packet received {"connection_id":126518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 16:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":126518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 16:59:11] local.INFO: TCP Data received {"connection_id":126518,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f417bdb80012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 16:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f417bdb80012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 16:59:11] local.INFO: Processing buffer {"connection_id":126518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f417bdb80012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 16:59:11] local.INFO: Packet analysis {"connection_id":126518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f417b"} 
[2026-07-08 16:59:11] local.INFO: Extracted packet for processing {"connection_id":126518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f417b"} 
[2026-07-08 16:59:11] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":46,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 16:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578571008001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 16:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 16:59: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-07-08 16:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783510064000,"timestamp_ms":1783510064000,"timestamp_seconds":1783510064,"priority":1,"record_length":96,"hex_timestamp":"0000019f417bdb80"} 
[2026-07-08 16:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 16:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578571008001,"66":12591,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578571008001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:59:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:59:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 16:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578571008001,"power":12591,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 16:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":126518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:59:11] local.INFO: GPS data processed {"connection_id":126518,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:59:11] local.INFO: Acknowledgment sent {"connection_id":126518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 16:59:19] local.INFO: TCP Data received {"connection_id":126518,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f417c2d88012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 16:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f417c2d88012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 16:59:19] local.INFO: Processing buffer {"connection_id":126518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f417c2d88012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 16:59:19] local.INFO: Packet analysis {"connection_id":126518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f417c"} 
[2026-07-08 16:59:19] local.INFO: Extracted packet for processing {"connection_id":126518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f417c"} 
[2026-07-08 16:59:19] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 16:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 16:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578576384001,"note":"Value kept but may cause issues"} 
[2026-07-08 16:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 16:59:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 16:59:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 16:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783510085000,"timestamp_ms":1783510085000,"timestamp_seconds":1783510085,"priority":1,"record_length":96,"hex_timestamp":"0000019f417c2d88"} 
[2026-07-08 16:59:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 16:59:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 16:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 16:59:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 16:59:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 16:59:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 16:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 16:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":126518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 16:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":126518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":126518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 16:59:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 16:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 16:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 16:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578576384001,"66":12591,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 16:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 16:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 16:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578576384001,"description":"Unknown IO ID 0"} 
[2026-07-08 16:59:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 16:59:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 16:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 16:59:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 16:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578576384001,"power":12591,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 16:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":126518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 16:59:19] local.INFO: GPS data processed {"connection_id":126518,"processed":1,"errors":0,"total":1} 
[2026-07-08 16:59:19] local.INFO: Acknowledgment sent {"connection_id":126518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:00:00] local.INFO: TCP Data received {"connection_id":127747,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:00:00] local.INFO: Processing buffer {"connection_id":127747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:00:00] local.INFO: IMEI packet received {"connection_id":127747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":127747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:00:05] local.INFO: TCP Data received {"connection_id":127747,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:00:05] local.INFO: Processing buffer {"connection_id":127747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:00:05] local.INFO: IMEI packet received {"connection_id":127747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":127747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:00:06] local.INFO: TCP Data received {"connection_id":127747,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f417c7f90012d1966c0071fedd0003e005a2f..."} 
[2026-07-08 17:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f417c7f90012d1966c0071fedd0003e005a2f..."} 
[2026-07-08 17:00:06] local.INFO: Processing buffer {"connection_id":127747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f417c7f90012d1966c0071fedd0003e005a2f..."} 
[2026-07-08 17:00:06] local.INFO: Packet analysis {"connection_id":127747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f417c"} 
[2026-07-08 17:00:06] local.INFO: Extracted packet for processing {"connection_id":127747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f417c"} 
[2026-07-08 17:00:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":47,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578581760001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783510106000,"timestamp_ms":1783510106000,"timestamp_seconds":1783510106,"priority":1,"record_length":96,"hex_timestamp":"0000019f417c7f90"} 
[2026-07-08 17:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 17:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578581760001,"66":12591,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578581760001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:00:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:00:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578581760001,"power":12591,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":127747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:00:06] local.INFO: GPS data processed {"connection_id":127747,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:00:06] local.INFO: Acknowledgment sent {"connection_id":127747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:00:36] local.INFO: TCP Data received {"connection_id":127747,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f417cd198012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 17:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f417cd198012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 17:00:36] local.INFO: Processing buffer {"connection_id":127747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f417cd198012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 17:00:36] local.INFO: Packet analysis {"connection_id":127747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f417c"} 
[2026-07-08 17:00:36] local.INFO: Extracted packet for processing {"connection_id":127747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f417c"} 
[2026-07-08 17:00:36] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":46,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17: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-07-08 17:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578587136001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783510127000,"timestamp_ms":1783510127000,"timestamp_seconds":1783510127,"priority":1,"record_length":96,"hex_timestamp":"0000019f417cd198"} 
[2026-07-08 17:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 17:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17: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-07-08 17:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578587136001,"66":12558,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578587136001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:00:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:00:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578587136001,"power":12558,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":127747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:00:37] local.INFO: GPS data processed {"connection_id":127747,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:00:37] local.INFO: Acknowledgment sent {"connection_id":127747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:01:00] local.INFO: TCP Data received {"connection_id":125746,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:01:00] local.INFO: Processing buffer {"connection_id":125746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:01:00] local.INFO: IMEI packet received {"connection_id":125746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":125746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:01:05] local.INFO: TCP Data received {"connection_id":125746,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:01:05] local.INFO: Processing buffer {"connection_id":125746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:01:05] local.INFO: IMEI packet received {"connection_id":125746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":125746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:01:06] local.INFO: TCP Data received {"connection_id":125746,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f417d23a0012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f417d23a0012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:01:06] local.INFO: Processing buffer {"connection_id":125746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f417d23a0012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:01:06] local.INFO: Packet analysis {"connection_id":125746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f417d"} 
[2026-07-08 17:01:06] local.INFO: Extracted packet for processing {"connection_id":125746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f417d"} 
[2026-07-08 17:01:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":43,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578592512001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783510148000,"timestamp_ms":1783510148000,"timestamp_seconds":1783510148,"priority":1,"record_length":96,"hex_timestamp":"0000019f417d23a0"} 
[2026-07-08 17:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-08 17:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-07-08 17:01:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-08 17:01:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 17:01:06] local.WARNING: Large IO value detected {"io_id":86,"raw_value":3607101440,"note":"Value kept but may cause issues"} 
[2026-07-08 17:01:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249741581063810512,"note":"Value kept but may cause issues"} 
[2026-07-08 17:01:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3989831742,"note":"Value kept but may cause issues"} 
[2026-07-08 17:01:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-08 17:01:06] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3221692397,"note":"Value kept but may cause issues"} 
[2026-07-08 17:01:06] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-07-08 17:01:06] local.WARNING: Large IO value detected {"io_id":67,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-08 17:01:06] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-07-08 17:01:06] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,103,83,24,241,157,16,86,159,127,45,192,237,62,47,10,66,44,219,1,240,227,65,31,4,113,205,55,102,208,46,239,49,2,17,7,120,67,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-08 17:01:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467669983966527488,"timestamp_seconds":4467669983966527.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 17:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578592512001,"66":12558,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578592512001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:01:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:01:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578592512001,"power":12558,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":125746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:01:06] local.INFO: GPS data processed {"connection_id":125746,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:01:06] local.INFO: Acknowledgment sent {"connection_id":125746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:01:37] local.INFO: TCP Data received {"connection_id":125746,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f417d75a8012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 17:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f417d75a8012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 17:01:37] local.INFO: Processing buffer {"connection_id":125746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f417d75a8012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 17:01:37] local.INFO: Packet analysis {"connection_id":125746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f417d"} 
[2026-07-08 17:01:37] local.INFO: Extracted packet for processing {"connection_id":125746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f417d"} 
[2026-07-08 17:01:37] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":46,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578597888001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783510169000,"timestamp_ms":1783510169000,"timestamp_seconds":1783510169,"priority":1,"record_length":96,"hex_timestamp":"0000019f417d75a8"} 
[2026-07-08 17:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-08 17:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-07-08 17:01:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-08 17:01:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 17:01:37] local.WARNING: Large IO value detected {"io_id":86,"raw_value":3607101440,"note":"Value kept but may cause issues"} 
[2026-07-08 17:01:37] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-07-08 17:01:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249741581063810512,"note":"Value kept but may cause issues"} 
[2026-07-08 17:01:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3989831742,"note":"Value kept but may cause issues"} 
[2026-07-08 17:01:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-08 17:01:37] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3221692397,"note":"Value kept but may cause issues"} 
[2026-07-08 17:01:37] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-07-08 17:01:37] local.WARNING: Large IO value detected {"io_id":68,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-08 17:01:37] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-07-08 17:01:37] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,103,83,24,241,157,16,86,159,209,45,192,237,62,46,10,66,127,47,1,240,227,65,31,4,113,205,137,102,208,239,2,17,7,120,68,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-08 17:01:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467669971081625600,"timestamp_seconds":4467669971081625.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 17:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578597888001,"66":12254,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578597888001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:01:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:01:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578597888001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":125746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:01:37] local.INFO: GPS data processed {"connection_id":125746,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:01:37] local.INFO: Acknowledgment sent {"connection_id":125746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:02:00] local.INFO: TCP Data received {"connection_id":125649,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:02:00] local.INFO: Processing buffer {"connection_id":125649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:02:00] local.INFO: IMEI packet received {"connection_id":125649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":125649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:02:05] local.INFO: TCP Data received {"connection_id":125649,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:02:05] local.INFO: Processing buffer {"connection_id":125649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:02:05] local.INFO: IMEI packet received {"connection_id":125649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":125649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:02:05] local.INFO: TCP Data received {"connection_id":127748,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:02:05] local.INFO: Processing buffer {"connection_id":127748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:02:05] local.INFO: IMEI packet received {"connection_id":127748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":127748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:02:06] local.INFO: TCP Data received {"connection_id":125649,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f417dc7b0012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 17:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f417dc7b0012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 17:02:06] local.INFO: Processing buffer {"connection_id":125649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f417dc7b0012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 17:02:06] local.INFO: Packet analysis {"connection_id":125649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f417d"} 
[2026-07-08 17:02:06] local.INFO: Extracted packet for processing {"connection_id":125649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f417d"} 
[2026-07-08 17:02:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":46,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578603264001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783510190000,"timestamp_ms":1783510190000,"timestamp_seconds":1783510190,"priority":1,"record_length":96,"hex_timestamp":"0000019f417dc7b0"} 
[2026-07-08 17:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-08 17:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578603264001,"66":12548,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578603264001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:02:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:02:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578603264001,"power":12548,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":125649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:02:06] local.INFO: GPS data processed {"connection_id":125649,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:02:06] local.INFO: Acknowledgment sent {"connection_id":125649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:02:06] local.INFO: TCP Data received {"connection_id":127748,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f417ec598012d9af5c0057448c8000d00192f..."} 
[2026-07-08 17:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f417ec598012d9af5c0057448c8000d00192f..."} 
[2026-07-08 17:02:06] local.INFO: Processing buffer {"connection_id":127748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f417ec598012d9af5c0057448c8000d00192f..."} 
[2026-07-08 17:02:06] local.INFO: Packet analysis {"connection_id":127748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f417e"} 
[2026-07-08 17:02:06] local.INFO: Extracted packet for processing {"connection_id":127748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f417e"} 
[2026-07-08 17:02:06] local.INFO: GPS Element Parsed {"raw_longitude":765130176,"raw_latitude":91506888,"longitude_deg":76.5130176,"latitude_deg":9.1506888,"altitude":13,"angle":25,"satellites":47,"speed":11,"hex_longitude":"2d9af5c0","hex_latitude":"057448c8","is_valid_coordinates":true} 
[2026-07-08 17:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578624256001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342790423749591040,"note":"Value kept but may cause issues"} 
[2026-07-08 17:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7281194674125780992,"note":"Value kept but may cause issues"} 
[2026-07-08 17:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783510255000,"timestamp_ms":1783510255000,"timestamp_seconds":1783510255,"priority":1,"record_length":96,"hex_timestamp":"0000019f417ec598"} 
[2026-07-08 17:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 17:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578624256001,"66":27974,"161":206,"85":15872,"24":11,"16":342790423749591040,"45":-7281194674125780992},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-07-08 17:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578624256001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:02:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-08 17:02:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 17:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342790423749591040,"km_value":342790423749591.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7281194674125780992,"description":"Unknown IO ID 45"} 
[2026-07-08 17:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578624256001,"power":27974,"unknown_161":206,"unknown_85":15872,"ignition":11,"odometer":null,"unknown_45":-7281194674125780992}} 
[2026-07-08 17:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":127748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:02:06] local.INFO: GPS data processed {"connection_id":127748,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:02:06] local.INFO: Acknowledgment sent {"connection_id":127748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:02:36] local.INFO: TCP Data received {"connection_id":125649,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f417e19b8012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f417e19b8012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:02:36] local.INFO: Processing buffer {"connection_id":125649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f417e19b8012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:02:36] local.INFO: Packet analysis {"connection_id":125649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f417e"} 
[2026-07-08 17:02:36] local.INFO: Extracted packet for processing {"connection_id":125649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f417e"} 
[2026-07-08 17:02:36] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17: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-07-08 17:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578608640001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783510211000,"timestamp_ms":1783510211000,"timestamp_seconds":1783510211,"priority":1,"record_length":96,"hex_timestamp":"0000019f417e19b8"} 
[2026-07-08 17:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 17:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-08 17:02:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-08 17:02:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 17:02:36] local.WARNING: Large IO value detected {"io_id":86,"raw_value":3607101440,"note":"Value kept but may cause issues"} 
[2026-07-08 17:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-07-08 17:02:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-07-08 17:02:36] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3989831742,"note":"Value kept but may cause issues"} 
[2026-07-08 17:02:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-08 17:02:36] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3221692397,"note":"Value kept but may cause issues"} 
[2026-07-08 17:02:36] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-07-08 17:02:36] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,103,83,24,241,157,16,86,159,117,45,192,237,62,46,10,66,35,43,209,1,240,14,227,65,31,4,113,205,102,208,44,239,49,2,17,7,120],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-08 17:02:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467669983966527488,"timestamp_seconds":4467669983966527.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 17:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578608640001,"66":12504,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578608640001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:02:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:02:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578608640001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":125649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:02:36] local.INFO: GPS data processed {"connection_id":125649,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:02:36] local.INFO: Acknowledgment sent {"connection_id":125649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:02:37] local.INFO: TCP Data received {"connection_id":127748,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f417ed538012d9af7c005744e90000c000b30..."} 
[2026-07-08 17:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f417ed538012d9af7c005744e90000c000b30..."} 
[2026-07-08 17:02:37] local.INFO: Processing buffer {"connection_id":127748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f417ed538012d9af7c005744e90000c000b30..."} 
[2026-07-08 17:02:37] local.INFO: Packet analysis {"connection_id":127748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f417e"} 
[2026-07-08 17:02:37] local.INFO: Extracted packet for processing {"connection_id":127748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f417e"} 
[2026-07-08 17:02:37] local.INFO: GPS Element Parsed {"raw_longitude":765130688,"raw_latitude":91508368,"longitude_deg":76.5130688,"latitude_deg":9.1508368,"altitude":12,"angle":11,"satellites":48,"speed":17,"hex_longitude":"2d9af7c0","hex_latitude":"05744e90","is_valid_coordinates":true} 
[2026-07-08 17:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578625280001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342790501059002368,"note":"Value kept but may cause issues"} 
[2026-07-08 17:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7280702092916242432,"note":"Value kept but may cause issues"} 
[2026-07-08 17:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783510259000,"timestamp_ms":1783510259000,"timestamp_seconds":1783510259,"priority":1,"record_length":96,"hex_timestamp":"0000019f417ed538"} 
[2026-07-08 17:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-08 17:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578625280001,"66":27865,"161":206,"85":15872,"24":17,"16":342790501059002368,"45":-7280702092916242432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-07-08 17:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578625280001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:02:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-08 17:02:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 17:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342790501059002368,"km_value":342790501059002.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7280702092916242432,"description":"Unknown IO ID 45"} 
[2026-07-08 17:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578625280001,"power":27865,"unknown_161":206,"unknown_85":15872,"ignition":17,"odometer":null,"unknown_45":-7280702092916242432}} 
[2026-07-08 17:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":127748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:02:37] local.INFO: GPS data processed {"connection_id":127748,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:02:37] local.INFO: Acknowledgment sent {"connection_id":127748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:02:55] local.INFO: TCP Data received {"connection_id":127750,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:02:55] local.INFO: Processing buffer {"connection_id":127750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:02:55] local.INFO: IMEI packet received {"connection_id":127750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":127750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:03:00] local.INFO: TCP Data received {"connection_id":125651,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:03:00] local.INFO: Processing buffer {"connection_id":125651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:03:00] local.INFO: IMEI packet received {"connection_id":125651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":125651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:03:00] local.INFO: TCP Data received {"connection_id":127750,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:03:00] local.INFO: Processing buffer {"connection_id":127750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:03:00] local.INFO: IMEI packet received {"connection_id":127750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":127750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:03:01] local.INFO: TCP Data received {"connection_id":127750,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f417edd08012d9af80005745238000d016530..."} 
[2026-07-08 17:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f417edd08012d9af80005745238000d016530..."} 
[2026-07-08 17:03:01] local.INFO: Processing buffer {"connection_id":127750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f417edd08012d9af80005745238000d016530..."} 
[2026-07-08 17:03:01] local.INFO: Packet analysis {"connection_id":127750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f417e"} 
[2026-07-08 17:03:01] local.INFO: Extracted packet for processing {"connection_id":127750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f417e"} 
[2026-07-08 17:03:01] local.INFO: GPS Element Parsed {"raw_longitude":765130752,"raw_latitude":91509304,"longitude_deg":76.5130752,"latitude_deg":9.1509304,"altitude":13,"angle":357,"satellites":48,"speed":19,"hex_longitude":"2d9af800","hex_latitude":"05745238","is_valid_coordinates":true} 
[2026-07-08 17:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578626304001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342790548303642624,"note":"Value kept but may cause issues"} 
[2026-07-08 17:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7280139142962442240,"note":"Value kept but may cause issues"} 
[2026-07-08 17:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783510261000,"timestamp_ms":1783510261000,"timestamp_seconds":1783510261,"priority":1,"record_length":96,"hex_timestamp":"0000019f417edd08"} 
[2026-07-08 17:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:03: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-07-08 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 17:03:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:03:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578626304001,"66":27908,"161":206,"85":15872,"24":19,"16":342790548303642624,"45":-7280139142962442240},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-07-08 17:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578626304001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:03:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-08 17:03:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 17:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342790548303642624,"km_value":342790548303642.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7280139142962442240,"description":"Unknown IO ID 45"} 
[2026-07-08 17:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578626304001,"power":27908,"unknown_161":206,"unknown_85":15872,"ignition":19,"odometer":null,"unknown_45":-7280139142962442240}} 
[2026-07-08 17:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":127750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:03:01] local.INFO: GPS data processed {"connection_id":127750,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:03:01] local.INFO: Acknowledgment sent {"connection_id":127750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:03:05] local.INFO: TCP Data received {"connection_id":125651,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:03:05] local.INFO: Processing buffer {"connection_id":125651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:03:05] local.INFO: IMEI packet received {"connection_id":125651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":125651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:03:06] local.INFO: TCP Data received {"connection_id":125651,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f417e6bc0012d1966c0071fedd0003e005a30..."} 
[2026-07-08 17:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f417e6bc0012d1966c0071fedd0003e005a30..."} 
[2026-07-08 17:03:06] local.INFO: Processing buffer {"connection_id":125651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f417e6bc0012d1966c0071fedd0003e005a30..."} 
[2026-07-08 17:03:06] local.INFO: Packet analysis {"connection_id":125651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f417e"} 
[2026-07-08 17:03:06] local.INFO: Extracted packet for processing {"connection_id":125651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f417e"} 
[2026-07-08 17:03:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":48,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578614016001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783510232000,"timestamp_ms":1783510232000,"timestamp_seconds":1783510232,"priority":1,"record_length":96,"hex_timestamp":"0000019f417e6bc0"} 
[2026-07-08 17:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-08 17:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578614016001,"66":12526,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578614016001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:03:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:03:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578614016001,"power":12526,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":125651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:03:06] local.INFO: GPS data processed {"connection_id":125651,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:03:06] local.INFO: Acknowledgment sent {"connection_id":125651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:03:32] local.INFO: TCP Data received {"connection_id":127750,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41802140012d9a6a8005750810000b015631..."} 
[2026-07-08 17:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41802140012d9a6a8005750810000b015631..."} 
[2026-07-08 17:03:32] local.INFO: Processing buffer {"connection_id":127750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41802140012d9a6a8005750810000b015631..."} 
[2026-07-08 17:03:32] local.INFO: Packet analysis {"connection_id":127750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4180"} 
[2026-07-08 17:03:32] local.INFO: Extracted packet for processing {"connection_id":127750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4180"} 
[2026-07-08 17:03:32] local.INFO: GPS Element Parsed {"raw_longitude":765094528,"raw_latitude":91555856,"longitude_deg":76.5094528,"latitude_deg":9.1555856,"altitude":11,"angle":342,"satellites":49,"speed":41,"hex_longitude":"2d9a6a80","hex_latitude":"05750810","is_valid_coordinates":true} 
[2026-07-08 17: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-07-08 17:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578645760001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342793481766305792,"note":"Value kept but may cause issues"} 
[2026-07-08 17:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7316379046204063744,"note":"Value kept but may cause issues"} 
[2026-07-08 17:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783510344000,"timestamp_ms":1783510344000,"timestamp_seconds":1783510344,"priority":1,"record_length":96,"hex_timestamp":"0000019f41802140"} 
[2026-07-08 17:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 17:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17: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-07-08 17:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578645760001,"66":27484,"150":206,"85":15872,"24":41,"16":342793481766305792,"45":-7316379046204063744},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,85,24,16,45]} 
[2026-07-08 17:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578645760001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:03:32] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-07-08 17:03:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 17:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342793481766305792,"km_value":342793481766305.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7316379046204063744,"description":"Unknown IO ID 45"} 
[2026-07-08 17:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578645760001,"power":27484,"unknown_150":206,"unknown_85":15872,"ignition":41,"odometer":null,"unknown_45":-7316379046204063744}} 
[2026-07-08 17:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":127750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:03:32] local.INFO: GPS data processed {"connection_id":127750,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:03:32] local.INFO: Acknowledgment sent {"connection_id":127750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:03:36] local.INFO: TCP Data received {"connection_id":125651,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f417ebdc8012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f417ebdc8012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:03:36] local.INFO: Processing buffer {"connection_id":125651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f417ebdc8012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:03:36] local.INFO: Packet analysis {"connection_id":125651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f417e"} 
[2026-07-08 17:03:36] local.INFO: Extracted packet for processing {"connection_id":125651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f417e"} 
[2026-07-08 17:03:36] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578619392001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783510253000,"timestamp_ms":1783510253000,"timestamp_seconds":1783510253,"priority":1,"record_length":96,"hex_timestamp":"0000019f417ebdc8"} 
[2026-07-08 17:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 17:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578619392001,"66":12526,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578619392001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:03:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:03:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578619392001,"power":12526,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":125651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:03:36] local.INFO: GPS data processed {"connection_id":125651,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:03:36] local.INFO: Acknowledgment sent {"connection_id":125651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:03:59] local.INFO: TCP Data received {"connection_id":126520,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:04:00] local.INFO: Processing buffer {"connection_id":126520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:04:00] local.INFO: IMEI packet received {"connection_id":126520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":126520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:04:00] local.INFO: TCP Data received {"connection_id":125748,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:04:00] local.INFO: Processing buffer {"connection_id":125748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:04:00] local.INFO: IMEI packet received {"connection_id":125748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":125748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:04:05] local.INFO: TCP Data received {"connection_id":126520,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:04:05] local.INFO: Processing buffer {"connection_id":126520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:04:05] local.INFO: IMEI packet received {"connection_id":126520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":126520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:04:05] local.INFO: TCP Data received {"connection_id":125748,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:04:05] local.INFO: Processing buffer {"connection_id":125748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:04:05] local.INFO: IMEI packet received {"connection_id":125748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":125748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:04:06] local.INFO: TCP Data received {"connection_id":126520,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f417f0fd0012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f417f0fd0012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:04:06] local.INFO: Processing buffer {"connection_id":126520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f417f0fd0012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:04:06] local.INFO: Packet analysis {"connection_id":126520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f417f"} 
[2026-07-08 17:04:06] local.INFO: Extracted packet for processing {"connection_id":126520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f417f"} 
[2026-07-08 17:04:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578624768001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783510274000,"timestamp_ms":1783510274000,"timestamp_seconds":1783510274,"priority":1,"record_length":96,"hex_timestamp":"0000019f417f0fd0"} 
[2026-07-08 17:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 17:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578624768001,"66":12515,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578624768001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:04:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:04:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578624768001,"power":12515,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":126520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:04:06] local.INFO: GPS data processed {"connection_id":126520,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:04:06] local.INFO: Acknowledgment sent {"connection_id":126520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:04:06] local.INFO: TCP Data received {"connection_id":125748,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41804468012d9a5f40057529f0000a01562e..."} 
[2026-07-08 17:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41804468012d9a5f40057529f0000a01562e..."} 
[2026-07-08 17:04:06] local.INFO: Processing buffer {"connection_id":125748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41804468012d9a5f40057529f0000a01562e..."} 
[2026-07-08 17:04:06] local.INFO: Packet analysis {"connection_id":125748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4180"} 
[2026-07-08 17:04:06] local.INFO: Extracted packet for processing {"connection_id":125748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4180"} 
[2026-07-08 17:04:06] local.INFO: GPS Element Parsed {"raw_longitude":765091648,"raw_latitude":91564528,"longitude_deg":76.5091648,"latitude_deg":9.1564528,"altitude":10,"angle":342,"satellites":46,"speed":39,"hex_longitude":"2d9a5f40","hex_latitude":"057529f0","is_valid_coordinates":true} 
[2026-07-08 17:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578648064001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342793924147937280,"note":"Value kept but may cause issues"} 
[2026-07-08 17:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7319897483410665472,"note":"Value kept but may cause issues"} 
[2026-07-08 17:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783510353000,"timestamp_ms":1783510353000,"timestamp_seconds":1783510353,"priority":1,"record_length":96,"hex_timestamp":"0000019f41804468"} 
[2026-07-08 17:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 17:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578648064001,"66":28050,"150":206,"85":15872,"24":39,"16":342793924147937280,"45":-7319897483410665472},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,85,24,16,45]} 
[2026-07-08 17:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578648064001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:04:06] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-07-08 17:04:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 17:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342793924147937280,"km_value":342793924147937.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7319897483410665472,"description":"Unknown IO ID 45"} 
[2026-07-08 17:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578648064001,"power":28050,"unknown_150":206,"unknown_85":15872,"ignition":39,"odometer":null,"unknown_45":-7319897483410665472}} 
[2026-07-08 17:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":125748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:04:06] local.INFO: GPS data processed {"connection_id":125748,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:04:06] local.INFO: Acknowledgment sent {"connection_id":125748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:04:07] local.INFO: TCP Data received {"connection_id":125748,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41807b18012d9a548005754c70000901552f..."} 
[2026-07-08 17:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41807b18012d9a548005754c70000901552f..."} 
[2026-07-08 17:04:07] local.INFO: Processing buffer {"connection_id":125748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41807b18012d9a548005754c70000901552f..."} 
[2026-07-08 17:04:07] local.INFO: Packet analysis {"connection_id":125748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4180"} 
[2026-07-08 17:04:07] local.INFO: Extracted packet for processing {"connection_id":125748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4180"} 
[2026-07-08 17:04:07] local.INFO: GPS Element Parsed {"raw_longitude":765088896,"raw_latitude":91573360,"longitude_deg":76.5088896,"latitude_deg":9.157336,"altitude":9,"angle":341,"satellites":47,"speed":19,"hex_longitude":"2d9a5480","hex_latitude":"05754c70","is_valid_coordinates":true} 
[2026-07-08 17:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578650368001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342794370824536064,"note":"Value kept but may cause issues"} 
[2026-07-08 17:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7323064076896440320,"note":"Value kept but may cause issues"} 
[2026-07-08 17:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783510367000,"timestamp_ms":1783510367000,"timestamp_seconds":1783510367,"priority":1,"record_length":96,"hex_timestamp":"0000019f41807b18"} 
[2026-07-08 17:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-08 17:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578650368001,"66":27919,"150":206,"85":15872,"24":19,"16":342794370824536064,"45":-7323064076896440320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,85,24,16,45]} 
[2026-07-08 17:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578650368001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:04:07] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-07-08 17:04:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 17:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342794370824536064,"km_value":342794370824536.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7323064076896440320,"description":"Unknown IO ID 45"} 
[2026-07-08 17:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578650368001,"power":27919,"unknown_150":206,"unknown_85":15872,"ignition":19,"odometer":null,"unknown_45":-7323064076896440320}} 
[2026-07-08 17:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":125748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:04:07] local.INFO: GPS data processed {"connection_id":125748,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:04:07] local.INFO: Acknowledgment sent {"connection_id":125748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:04:26] local.INFO: TCP Data received {"connection_id":125747,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125747,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:04:26] local.INFO: Processing buffer {"connection_id":125747,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:04:26] local.INFO: IMEI packet received {"connection_id":125747,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 17:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":125747,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:04:36] local.INFO: TCP Data received {"connection_id":126520,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f417f61d8012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f417f61d8012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:04:36] local.INFO: Processing buffer {"connection_id":126520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f417f61d8012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:04:36] local.INFO: Packet analysis {"connection_id":126520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f417f"} 
[2026-07-08 17:04:36] local.INFO: Extracted packet for processing {"connection_id":126520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f417f"} 
[2026-07-08 17:04:36] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578630144001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783510295000,"timestamp_ms":1783510295000,"timestamp_seconds":1783510295,"priority":1,"record_length":96,"hex_timestamp":"0000019f417f61d8"} 
[2026-07-08 17:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-08 17:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578630144001,"66":12515,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578630144001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:04:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:04:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578630144001,"power":12515,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":126520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:04:37] local.INFO: GPS data processed {"connection_id":126520,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:04:37] local.INFO: Acknowledgment sent {"connection_id":126520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:04:39] local.INFO: TCP Data received {"connection_id":125748,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4180cd20012d9a4e0005755d300008015330..."} 
[2026-07-08 17:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4180cd20012d9a4e0005755d300008015330..."} 
[2026-07-08 17:04:39] local.INFO: Processing buffer {"connection_id":125748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4180cd20012d9a4e0005755d300008015330..."} 
[2026-07-08 17:04:39] local.INFO: Packet analysis {"connection_id":125748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4180"} 
[2026-07-08 17:04:39] local.INFO: Extracted packet for processing {"connection_id":125748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4180"} 
[2026-07-08 17:04:39] local.INFO: GPS Element Parsed {"raw_longitude":765087232,"raw_latitude":91577648,"longitude_deg":76.5087232,"latitude_deg":9.1577648,"altitude":8,"angle":339,"satellites":48,"speed":6,"hex_longitude":"2d9a4e00","hex_latitude":"05755d30","is_valid_coordinates":true} 
[2026-07-08 17:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578653952001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342794594162835456,"note":"Value kept but may cause issues"} 
[2026-07-08 17:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7326089932893818880,"note":"Value kept but may cause issues"} 
[2026-07-08 17:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783510388000,"timestamp_ms":1783510388000,"timestamp_seconds":1783510388,"priority":1,"record_length":96,"hex_timestamp":"0000019f4180cd20"} 
[2026-07-08 17:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 17:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578653952001,"66":27930,"151":206,"85":15872,"24":6,"16":342794594162835456,"45":-7326089932893818880},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,85,24,16,45]} 
[2026-07-08 17:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578653952001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:04:39] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-07-08 17:04:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 17:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342794594162835456,"km_value":342794594162835.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7326089932893818880,"description":"Unknown IO ID 45"} 
[2026-07-08 17:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578653952001,"power":27930,"unknown_151":206,"unknown_85":15872,"ignition":6,"odometer":null,"unknown_45":-7326089932893818880}} 
[2026-07-08 17:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":125748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:04:39] local.INFO: GPS data processed {"connection_id":125748,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:04:39] local.INFO: Acknowledgment sent {"connection_id":125748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:04:53] local.INFO: TCP Data received {"connection_id":127751,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:04:53] local.INFO: Processing buffer {"connection_id":127751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:04:53] local.INFO: IMEI packet received {"connection_id":127751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":127751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:04:55] local.INFO: TCP Data received {"connection_id":127751,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:04:55] local.INFO: Processing buffer {"connection_id":127751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:04:55] local.INFO: IMEI packet received {"connection_id":127751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":127751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:04:55] local.INFO: TCP Data received {"connection_id":126521,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126521,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:04:55] local.INFO: Processing buffer {"connection_id":126521,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:04:55] local.INFO: IMEI packet received {"connection_id":126521,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 17:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":126521,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:04:59] local.INFO: TCP Data received {"connection_id":125652,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:04:59] local.INFO: Processing buffer {"connection_id":125652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:04:59] local.INFO: IMEI packet received {"connection_id":125652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":125652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:05:00] local.INFO: TCP Data received {"connection_id":127751,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:05:00] local.INFO: Processing buffer {"connection_id":127751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:05:00] local.INFO: IMEI packet received {"connection_id":127751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":127751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:05:01] local.INFO: TCP Data received {"connection_id":125652,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:05:01] local.INFO: Processing buffer {"connection_id":125652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:05:01] local.INFO: IMEI packet received {"connection_id":125652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":125652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:05:01] local.INFO: TCP Data received {"connection_id":127751,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41811f28012d9a41c005757aa0000901512f..."} 
[2026-07-08 17:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41811f28012d9a41c005757aa0000901512f..."} 
[2026-07-08 17:05:01] local.INFO: Processing buffer {"connection_id":127751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41811f28012d9a41c005757aa0000901512f..."} 
[2026-07-08 17:05:01] local.INFO: Packet analysis {"connection_id":127751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4181"} 
[2026-07-08 17:05:01] local.INFO: Extracted packet for processing {"connection_id":127751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4181"} 
[2026-07-08 17:05:01] local.INFO: GPS Element Parsed {"raw_longitude":765084096,"raw_latitude":91585184,"longitude_deg":76.5084096,"latitude_deg":9.1585184,"altitude":9,"angle":337,"satellites":47,"speed":30,"hex_longitude":"2d9a41c0","hex_latitude":"05757aa0","is_valid_coordinates":true} 
[2026-07-08 17: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-07-08 17:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578659328001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342794993594793984,"note":"Value kept but may cause issues"} 
[2026-07-08 17:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7327919520241340416,"note":"Value kept but may cause issues"} 
[2026-07-08 17:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783510409000,"timestamp_ms":1783510409000,"timestamp_seconds":1783510409,"priority":1,"record_length":96,"hex_timestamp":"0000019f41811f28"} 
[2026-07-08 17:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:05: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-07-08 17: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-08 17:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17: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-07-08 17:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578659328001,"66":27876,"151":206,"85":15872,"24":30,"16":342794993594793984,"45":-7327919520241340416},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,85,24,16,45]} 
[2026-07-08 17:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578659328001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:05:01] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-07-08 17:05:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 17:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342794993594793984,"km_value":342794993594794.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7327919520241340416,"description":"Unknown IO ID 45"} 
[2026-07-08 17:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578659328001,"power":27876,"unknown_151":206,"unknown_85":15872,"ignition":30,"odometer":null,"unknown_45":-7327919520241340416}} 
[2026-07-08 17:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":127751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:05:01] local.INFO: GPS data processed {"connection_id":127751,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:05:01] local.INFO: Acknowledgment sent {"connection_id":127751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:05:05] local.INFO: TCP Data received {"connection_id":125652,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:05:05] local.INFO: Processing buffer {"connection_id":125652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:05:05] local.INFO: IMEI packet received {"connection_id":125652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":125652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:05:06] local.INFO: TCP Data received {"connection_id":125652,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f417fb3e0012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f417fb3e0012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:05:06] local.INFO: Processing buffer {"connection_id":125652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f417fb3e0012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:05:06] local.INFO: Packet analysis {"connection_id":125652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f417f"} 
[2026-07-08 17:05:06] local.INFO: Extracted packet for processing {"connection_id":125652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f417f"} 
[2026-07-08 17:05:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578635520001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783510316000,"timestamp_ms":1783510316000,"timestamp_seconds":1783510316,"priority":1,"record_length":96,"hex_timestamp":"0000019f417fb3e0"} 
[2026-07-08 17:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-08 17:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578635520001,"66":12504,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578635520001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:05:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:05:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578635520001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":125652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:05:06] local.INFO: GPS data processed {"connection_id":125652,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:05:06] local.INFO: Acknowledgment sent {"connection_id":125652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:05:32] local.INFO: TCP Data received {"connection_id":127751,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41814a20012d9a324005759d880009014d2f..."} 
[2026-07-08 17:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41814a20012d9a324005759d880009014d2f..."} 
[2026-07-08 17:05:32] local.INFO: Processing buffer {"connection_id":127751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41814a20012d9a324005759d880009014d2f..."} 
[2026-07-08 17:05:32] local.INFO: Packet analysis {"connection_id":127751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4181"} 
[2026-07-08 17:05:32] local.INFO: Extracted packet for processing {"connection_id":127751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4181"} 
[2026-07-08 17:05:32] local.INFO: GPS Element Parsed {"raw_longitude":765080128,"raw_latitude":91594120,"longitude_deg":76.5080128,"latitude_deg":9.159412,"altitude":9,"angle":333,"satellites":47,"speed":39,"hex_longitude":"2d9a3240","hex_latitude":"05759d88","is_valid_coordinates":true} 
[2026-07-08 17:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578664704001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342795466041196544,"note":"Value kept but may cause issues"} 
[2026-07-08 17:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7331367588704116736,"note":"Value kept but may cause issues"} 
[2026-07-08 17:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783510420000,"timestamp_ms":1783510420000,"timestamp_seconds":1783510420,"priority":1,"record_length":96,"hex_timestamp":"0000019f41814a20"} 
[2026-07-08 17:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:05: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":228,"data_length":795,"current_offset":136} 
[2026-07-08 17:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578664704001,"66":27974,"151":206,"85":15872,"24":39,"16":342795466041196544,"45":-7331367588704116736},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,85,24,16,45]} 
[2026-07-08 17:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578664704001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:05:32] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-07-08 17:05:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 17:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342795466041196544,"km_value":342795466041196.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7331367588704116736,"description":"Unknown IO ID 45"} 
[2026-07-08 17:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578664704001,"power":27974,"unknown_151":206,"unknown_85":15872,"ignition":39,"odometer":null,"unknown_45":-7331367588704116736}} 
[2026-07-08 17:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":127751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:05:32] local.INFO: GPS data processed {"connection_id":127751,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:05:32] local.INFO: Acknowledgment sent {"connection_id":127751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:05:36] local.INFO: TCP Data received {"connection_id":125652,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f418005e8012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418005e8012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:05:36] local.INFO: Processing buffer {"connection_id":125652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418005e8012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:05:36] local.INFO: Packet analysis {"connection_id":125652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4180"} 
[2026-07-08 17:05:36] local.INFO: Extracted packet for processing {"connection_id":125652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4180"} 
[2026-07-08 17:05:36] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578640896001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783510337000,"timestamp_ms":1783510337000,"timestamp_seconds":1783510337,"priority":1,"record_length":96,"hex_timestamp":"0000019f418005e8"} 
[2026-07-08 17:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-08 17:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578640896001,"66":12504,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578640896001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:05:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:05:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578640896001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":125652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:05:36] local.INFO: GPS data processed {"connection_id":125652,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:05:36] local.INFO: Acknowledgment sent {"connection_id":125652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:05:53] local.INFO: TCP Data received {"connection_id":125653,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:05:53] local.INFO: Processing buffer {"connection_id":125653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:05:53] local.INFO: IMEI packet received {"connection_id":125653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":125653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:05:55] local.INFO: TCP Data received {"connection_id":125653,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:05:55] local.INFO: Processing buffer {"connection_id":125653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:05:55] local.INFO: IMEI packet received {"connection_id":125653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":125653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:05:59] local.INFO: TCP Data received {"connection_id":125749,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:05:59] local.INFO: Processing buffer {"connection_id":125749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:05:59] local.INFO: IMEI packet received {"connection_id":125749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":125749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:06:00] local.INFO: TCP Data received {"connection_id":125653,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:06:00] local.INFO: Processing buffer {"connection_id":125653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:06:00] local.INFO: IMEI packet received {"connection_id":125653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":125653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:06:01] local.INFO: TCP Data received {"connection_id":125653,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41816960012d9a21800575b8a8000801422d..."} 
[2026-07-08 17:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41816960012d9a21800575b8a8000801422d..."} 
[2026-07-08 17:06:01] local.INFO: Processing buffer {"connection_id":125653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41816960012d9a21800575b8a8000801422d..."} 
[2026-07-08 17:06:01] local.INFO: Packet analysis {"connection_id":125653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4181"} 
[2026-07-08 17:06:01] local.INFO: Extracted packet for processing {"connection_id":125653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4181"} 
[2026-07-08 17:06:01] local.INFO: GPS Element Parsed {"raw_longitude":765075840,"raw_latitude":91601064,"longitude_deg":76.507584,"latitude_deg":9.1601064,"altitude":8,"angle":322,"satellites":45,"speed":39,"hex_longitude":"2d9a2180","hex_latitude":"0575b8a8","is_valid_coordinates":true} 
[2026-07-08 17:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578667520001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342795861178187776,"note":"Value kept but may cause issues"} 
[2026-07-08 17:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7335730450840844288,"note":"Value kept but may cause issues"} 
[2026-07-08 17:06:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783510428000,"timestamp_ms":1783510428000,"timestamp_seconds":1783510428,"priority":1,"record_length":96,"hex_timestamp":"0000019f41816960"} 
[2026-07-08 17:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:06: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-07-08 17:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-08 17:06:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:06:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578667520001,"66":27919,"151":206,"85":15872,"24":39,"16":342795861178187776,"45":-7335730450840844288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,85,24,16,45]} 
[2026-07-08 17:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578667520001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:06:01] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-07-08 17:06:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 17:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342795861178187776,"km_value":342795861178187.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7335730450840844288,"description":"Unknown IO ID 45"} 
[2026-07-08 17:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578667520001,"power":27919,"unknown_151":206,"unknown_85":15872,"ignition":39,"odometer":null,"unknown_45":-7335730450840844288}} 
[2026-07-08 17:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":125653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:06:01] local.INFO: GPS data processed {"connection_id":125653,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:06:01] local.INFO: Acknowledgment sent {"connection_id":125653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:06:04] local.INFO: TCP Data received {"connection_id":125749,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:06:04] local.INFO: Processing buffer {"connection_id":125749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:06:04] local.INFO: IMEI packet received {"connection_id":125749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":125749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:06:04] local.INFO: TCP Data received {"connection_id":125749,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:06:04] local.INFO: Processing buffer {"connection_id":125749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:06:04] local.INFO: IMEI packet received {"connection_id":125749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":125749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:06:05] local.INFO: TCP Data received {"connection_id":125749,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f418057f0012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418057f0012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:06:05] local.INFO: Processing buffer {"connection_id":125749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418057f0012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:06:05] local.INFO: Packet analysis {"connection_id":125749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4180"} 
[2026-07-08 17:06:05] local.INFO: Extracted packet for processing {"connection_id":125749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4180"} 
[2026-07-08 17:06:05] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578646272001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783510358000,"timestamp_ms":1783510358000,"timestamp_seconds":1783510358,"priority":1,"record_length":96,"hex_timestamp":"0000019f418057f0"} 
[2026-07-08 17:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-08 17:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578646272001,"66":12504,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578646272001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:06:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:06:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578646272001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":125749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:06:05] local.INFO: GPS data processed {"connection_id":125749,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:06:05] local.INFO: Acknowledgment sent {"connection_id":125749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:06:10] local.INFO: TCP Data received {"connection_id":125749,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4180a9f8012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4180a9f8012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:06:10] local.INFO: Processing buffer {"connection_id":125749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4180a9f8012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:06:10] local.INFO: Packet analysis {"connection_id":125749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4180"} 
[2026-07-08 17:06:10] local.INFO: Extracted packet for processing {"connection_id":125749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4180"} 
[2026-07-08 17:06:10] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578651648001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:06: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-07-08 17:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783510379000,"timestamp_ms":1783510379000,"timestamp_seconds":1783510379,"priority":1,"record_length":96,"hex_timestamp":"0000019f4180a9f8"} 
[2026-07-08 17:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-08 17:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578651648001,"66":12461,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578651648001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:06:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:06:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578651648001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":125749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:06:10] local.INFO: GPS data processed {"connection_id":125749,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:06:10] local.INFO: Acknowledgment sent {"connection_id":125749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:06:32] local.INFO: TCP Data received {"connection_id":125653,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4182e060012d9907400576dd98000601442f..."} 
[2026-07-08 17:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4182e060012d9907400576dd98000601442f..."} 
[2026-07-08 17:06:32] local.INFO: Processing buffer {"connection_id":125653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4182e060012d9907400576dd98000601442f..."} 
[2026-07-08 17:06:32] local.INFO: Packet analysis {"connection_id":125653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4182"} 
[2026-07-08 17:06:32] local.INFO: Extracted packet for processing {"connection_id":125653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4182"} 
[2026-07-08 17:06:32] local.INFO: GPS Element Parsed {"raw_longitude":765003584,"raw_latitude":91676056,"longitude_deg":76.5003584,"latitude_deg":9.1676056,"altitude":6,"angle":324,"satellites":47,"speed":48,"hex_longitude":"2d990740","hex_latitude":"0576dd98","is_valid_coordinates":true} 
[2026-07-08 17:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578691840001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342800933534564352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7413769388114952192,"note":"Value kept but may cause issues"} 
[2026-07-08 17:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783510524000,"timestamp_ms":1783510524000,"timestamp_seconds":1783510524,"priority":1,"record_length":96,"hex_timestamp":"0000019f4182e060"} 
[2026-07-08 17:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 17:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578691840001,"66":27930,"60":206,"85":15872,"24":48,"16":342800933534564352,"45":-7413769388114952192},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-08 17:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578691840001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:06:32] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-08 17:06:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 17:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342800933534564352,"km_value":342800933534564.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7413769388114952192,"description":"Unknown IO ID 45"} 
[2026-07-08 17:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578691840001,"power":27930,"unknown_60":206,"unknown_85":15872,"ignition":48,"odometer":null,"unknown_45":-7413769388114952192}} 
[2026-07-08 17:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":125653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:06:32] local.INFO: GPS data processed {"connection_id":125653,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:06:32] local.INFO: Acknowledgment sent {"connection_id":125653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:06:41] local.INFO: TCP Data received {"connection_id":125749,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4180fc00012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4180fc00012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:06:41] local.INFO: Processing buffer {"connection_id":125749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4180fc00012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:06:41] local.INFO: Packet analysis {"connection_id":125749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4180"} 
[2026-07-08 17:06:41] local.INFO: Extracted packet for processing {"connection_id":125749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4180"} 
[2026-07-08 17:06:41] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":43,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 17:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578657024001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:06: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-07-08 17:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783510400000,"timestamp_ms":1783510400000,"timestamp_seconds":1783510400,"priority":1,"record_length":96,"hex_timestamp":"0000019f4180fc00"} 
[2026-07-08 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-07-08 17:06: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-07-08 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 17:06: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-07-08 17:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 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-07-08 17:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:06: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-07-08 17:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578657024001,"66":12461,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578657024001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:06:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:06:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578657024001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":125749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:06:41] local.INFO: GPS data processed {"connection_id":125749,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:06:41] local.INFO: Acknowledgment sent {"connection_id":125749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:06:55] local.INFO: TCP Data received {"connection_id":127752,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:06:55] local.INFO: Processing buffer {"connection_id":127752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:06:55] local.INFO: IMEI packet received {"connection_id":127752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":127752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:07:01] local.INFO: TCP Data received {"connection_id":127752,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:07:01] local.INFO: Processing buffer {"connection_id":127752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:07:01] local.INFO: IMEI packet received {"connection_id":127752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":127752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:07:02] local.INFO: TCP Data received {"connection_id":127752,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4182fbb8012d98f3400576fa28000701462f..."} 
[2026-07-08 17:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4182fbb8012d98f3400576fa28000701462f..."} 
[2026-07-08 17:07:02] local.INFO: Processing buffer {"connection_id":127752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4182fbb8012d98f3400576fa28000701462f..."} 
[2026-07-08 17:07:02] local.INFO: Packet analysis {"connection_id":127752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4182"} 
[2026-07-08 17:07:02] local.INFO: Extracted packet for processing {"connection_id":127752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4182"} 
[2026-07-08 17:07:02] local.INFO: GPS Element Parsed {"raw_longitude":764998464,"raw_latitude":91683368,"longitude_deg":76.4998464,"latitude_deg":9.1683368,"altitude":7,"angle":326,"satellites":47,"speed":51,"hex_longitude":"2d98f340","hex_latitude":"0576fa28","is_valid_coordinates":true} 
[2026-07-08 17:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578694144001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342801363031293952,"note":"Value kept but may cause issues"} 
[2026-07-08 17:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7419891468856354816,"note":"Value kept but may cause issues"} 
[2026-07-08 17:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783510531000,"timestamp_ms":1783510531000,"timestamp_seconds":1783510531,"priority":1,"record_length":96,"hex_timestamp":"0000019f4182fbb8"} 
[2026-07-08 17:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-08 17:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:07:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578694144001,"66":27974,"60":206,"85":15872,"24":51,"16":342801363031293952,"45":-7419891468856354816},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-08 17:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578694144001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:07:02] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-08 17:07:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 17:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342801363031293952,"km_value":342801363031293.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7419891468856354816,"description":"Unknown IO ID 45"} 
[2026-07-08 17:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578694144001,"power":27974,"unknown_60":206,"unknown_85":15872,"ignition":51,"odometer":null,"unknown_45":-7419891468856354816}} 
[2026-07-08 17:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":127752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:07:02] local.INFO: GPS data processed {"connection_id":127752,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:07:02] local.INFO: Acknowledgment sent {"connection_id":127752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:07:05] local.INFO: TCP Data received {"connection_id":126523,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:07:05] local.INFO: Processing buffer {"connection_id":126523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:07:05] local.INFO: IMEI packet received {"connection_id":126523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":126523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:07:07] local.INFO: TCP Data received {"connection_id":126523,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:07:07] local.INFO: Processing buffer {"connection_id":126523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:07:07] local.INFO: IMEI packet received {"connection_id":126523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":126523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:07:08] local.INFO: TCP Data received {"connection_id":126523,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41814e08012d1966c0071fedd0003e005a30..."} 
[2026-07-08 17:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41814e08012d1966c0071fedd0003e005a30..."} 
[2026-07-08 17:07:08] local.INFO: Processing buffer {"connection_id":126523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41814e08012d1966c0071fedd0003e005a30..."} 
[2026-07-08 17:07:08] local.INFO: Packet analysis {"connection_id":126523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4181"} 
[2026-07-08 17:07:08] local.INFO: Extracted packet for processing {"connection_id":126523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4181"} 
[2026-07-08 17:07:08] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":48,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578662400001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783510421000,"timestamp_ms":1783510421000,"timestamp_seconds":1783510421,"priority":1,"record_length":96,"hex_timestamp":"0000019f41814e08"} 
[2026-07-08 17:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 17:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578662400001,"66":12461,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578662400001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:07:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:07:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578662400001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":126523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:07:08] local.INFO: GPS data processed {"connection_id":126523,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:07:08] local.INFO: Acknowledgment sent {"connection_id":126523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:07:10] local.INFO: TCP Data received {"connection_id":126523,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4181a010012d1966c0071fedd0003e005a2f..."} 
[2026-07-08 17:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4181a010012d1966c0071fedd0003e005a2f..."} 
[2026-07-08 17:07:10] local.INFO: Processing buffer {"connection_id":126523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4181a010012d1966c0071fedd0003e005a2f..."} 
[2026-07-08 17:07:10] local.INFO: Packet analysis {"connection_id":126523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4181"} 
[2026-07-08 17:07:10] local.INFO: Extracted packet for processing {"connection_id":126523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4181"} 
[2026-07-08 17:07:10] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":47,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578667776001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:07: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-07-08 17:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783510442000,"timestamp_ms":1783510442000,"timestamp_seconds":1783510442,"priority":1,"record_length":96,"hex_timestamp":"0000019f4181a010"} 
[2026-07-08 17:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 17:07: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-07-08 17:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578667776001,"66":12504,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578667776001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:07:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:07:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578667776001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":126523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:07:10] local.INFO: GPS data processed {"connection_id":126523,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:07:10] local.INFO: Acknowledgment sent {"connection_id":126523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:07:33] local.INFO: TCP Data received {"connection_id":127752,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41831ee0012d98df00057717800007014430..."} 
[2026-07-08 17:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41831ee0012d98df00057717800007014430..."} 
[2026-07-08 17:07:33] local.INFO: Processing buffer {"connection_id":127752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41831ee0012d98df00057717800007014430..."} 
[2026-07-08 17:07:33] local.INFO: Packet analysis {"connection_id":127752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4183"} 
[2026-07-08 17:07:33] local.INFO: Extracted packet for processing {"connection_id":127752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4183"} 
[2026-07-08 17:07:33] local.INFO: GPS Element Parsed {"raw_longitude":764993280,"raw_latitude":91690880,"longitude_deg":76.499328,"latitude_deg":9.169088,"altitude":7,"angle":324,"satellites":48,"speed":24,"hex_longitude":"2d98df00","hex_latitude":"05771780","is_valid_coordinates":true} 
[2026-07-08 17:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578695936001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342801805412925440,"note":"Value kept but may cause issues"} 
[2026-07-08 17:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7425520968388696064,"note":"Value kept but may cause issues"} 
[2026-07-08 17:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783510540000,"timestamp_ms":1783510540000,"timestamp_seconds":1783510540,"priority":1,"record_length":96,"hex_timestamp":"0000019f41831ee0"} 
[2026-07-08 17:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:07: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-07-08 17:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-08 17:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578695936001,"66":28006,"60":206,"85":15872,"24":24,"16":342801805412925440,"45":-7425520968388696064},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-08 17:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578695936001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:07:33] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-08 17:07:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 17:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342801805412925440,"km_value":342801805412925.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7425520968388696064,"description":"Unknown IO ID 45"} 
[2026-07-08 17:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578695936001,"power":28006,"unknown_60":206,"unknown_85":15872,"ignition":24,"odometer":null,"unknown_45":-7425520968388696064}} 
[2026-07-08 17:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":127752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:07:33] local.INFO: GPS data processed {"connection_id":127752,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:07:33] local.INFO: Acknowledgment sent {"connection_id":127752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:07:41] local.INFO: TCP Data received {"connection_id":126523,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4181f218012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4181f218012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:07:41] local.INFO: Processing buffer {"connection_id":126523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4181f218012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:07:41] local.INFO: Packet analysis {"connection_id":126523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4181"} 
[2026-07-08 17:07:41] local.INFO: Extracted packet for processing {"connection_id":126523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4181"} 
[2026-07-08 17:07:41] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578673152001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:07: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-07-08 17:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783510463000,"timestamp_ms":1783510463000,"timestamp_seconds":1783510463,"priority":1,"record_length":96,"hex_timestamp":"0000019f4181f218"} 
[2026-07-08 17:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:07: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-07-08 17: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-08 17:07: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-07-08 17:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":126523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":126523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":126523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:07: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-07-08 17:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578673152001,"66":12156,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578673152001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:07:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:07:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578673152001,"power":12156,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":126523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:07:41] local.INFO: GPS data processed {"connection_id":126523,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:07:41] local.INFO: Acknowledgment sent {"connection_id":126523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:07:55] local.INFO: TCP Data received {"connection_id":125655,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:07:55] local.INFO: Processing buffer {"connection_id":125655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:07:55] local.INFO: IMEI packet received {"connection_id":125655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":125655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:07:59] local.INFO: TCP Data received {"connection_id":125655,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:07:59] local.INFO: Processing buffer {"connection_id":125655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:07:59] local.INFO: IMEI packet received {"connection_id":125655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":125655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:08:00] local.INFO: TCP Data received {"connection_id":125750,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:08:00] local.INFO: Processing buffer {"connection_id":125750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:08:00] local.INFO: IMEI packet received {"connection_id":125750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":125750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:08:00] local.INFO: TCP Data received {"connection_id":125655,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:08:00] local.INFO: Processing buffer {"connection_id":125655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:08:00] local.INFO: IMEI packet received {"connection_id":125655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":125655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:08:01] local.INFO: TCP Data received {"connection_id":125655,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f418370e8012d98d8c0057720580008014531..."} 
[2026-07-08 17:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418370e8012d98d8c0057720580008014531..."} 
[2026-07-08 17:08:01] local.INFO: Processing buffer {"connection_id":125655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418370e8012d98d8c0057720580008014531..."} 
[2026-07-08 17:08:01] local.INFO: Packet analysis {"connection_id":125655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4183"} 
[2026-07-08 17:08:01] local.INFO: Extracted packet for processing {"connection_id":125655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4183"} 
[2026-07-08 17:08:01] local.INFO: GPS Element Parsed {"raw_longitude":764991680,"raw_latitude":91693144,"longitude_deg":76.499168,"latitude_deg":9.1693144,"altitude":8,"angle":325,"satellites":49,"speed":5,"hex_longitude":"2d98d8c0","hex_latitude":"05772058","is_valid_coordinates":true} 
[2026-07-08 17:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578698240001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342801942851878912,"note":"Value kept but may cause issues"} 
[2026-07-08 17:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7431220836665163776,"note":"Value kept but may cause issues"} 
[2026-07-08 17:08:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783510561000,"timestamp_ms":1783510561000,"timestamp_seconds":1783510561,"priority":1,"record_length":96,"hex_timestamp":"0000019f418370e8"} 
[2026-07-08 17:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 17:08:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:08:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578698240001,"66":27865,"60":206,"85":15872,"24":5,"16":342801942851878912,"45":-7431220836665163776},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-08 17:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578698240001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:08:01] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-08 17:08:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 17:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342801942851878912,"km_value":342801942851878.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7431220836665163776,"description":"Unknown IO ID 45"} 
[2026-07-08 17:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578698240001,"power":27865,"unknown_60":206,"unknown_85":15872,"ignition":5,"odometer":null,"unknown_45":-7431220836665163776}} 
[2026-07-08 17:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":125655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:08:01] local.INFO: GPS data processed {"connection_id":125655,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:08:01] local.INFO: Acknowledgment sent {"connection_id":125655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:08:05] local.INFO: TCP Data received {"connection_id":125750,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:08:05] local.INFO: Processing buffer {"connection_id":125750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:08:05] local.INFO: IMEI packet received {"connection_id":125750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":125750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:08:06] local.INFO: TCP Data received {"connection_id":125750,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41824420012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41824420012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:08:06] local.INFO: Processing buffer {"connection_id":125750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41824420012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:08:06] local.INFO: Packet analysis {"connection_id":125750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4182"} 
[2026-07-08 17:08:06] local.INFO: Extracted packet for processing {"connection_id":125750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4182"} 
[2026-07-08 17:08:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578678528001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783510484000,"timestamp_ms":1783510484000,"timestamp_seconds":1783510484,"priority":1,"record_length":96,"hex_timestamp":"0000019f41824420"} 
[2026-07-08 17:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-08 17:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578678528001,"66":12461,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578678528001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:08:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:08:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578678528001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:08:06] local.INFO: TCP Data received {"connection_id":125655,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4183c2f0012d98c38005773e080008014531..."} 
[2026-07-08 17:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4183c2f0012d98c38005773e080008014531..."} 
[2026-07-08 17:08:06] local.INFO: Processing buffer {"connection_id":125655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4183c2f0012d98c38005773e080008014531..."} 
[2026-07-08 17:08:06] local.INFO: Packet analysis {"connection_id":125655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4183"} 
[2026-07-08 17:08:06] local.INFO: Extracted packet for processing {"connection_id":125655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4183"} 
[2026-07-08 17:08:06] local.INFO: GPS Element Parsed {"raw_longitude":764986240,"raw_latitude":91700744,"longitude_deg":76.498624,"latitude_deg":9.1700744,"altitude":8,"angle":325,"satellites":49,"speed":17,"hex_longitude":"2d98c380","hex_latitude":"05773e08","is_valid_coordinates":true} 
[2026-07-08 17:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578703616001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342802393823444992,"note":"Value kept but may cause issues"} 
[2026-07-08 17:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7432980055269025792,"note":"Value kept but may cause issues"} 
[2026-07-08 17:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783510582000,"timestamp_ms":1783510582000,"timestamp_seconds":1783510582,"priority":1,"record_length":96,"hex_timestamp":"0000019f4183c2f0"} 
[2026-07-08 17:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 17:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578703616001,"66":27995,"161":206,"85":15872,"24":17,"16":342802393823444992,"45":-7432980055269025792},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-07-08 17:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578703616001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:08:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-08 17:08:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 17:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342802393823444992,"km_value":342802393823445.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7432980055269025792,"description":"Unknown IO ID 45"} 
[2026-07-08 17:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578703616001,"power":27995,"unknown_161":206,"unknown_85":15872,"ignition":17,"odometer":null,"unknown_45":-7432980055269025792}} 
[2026-07-08 17:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":125750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:08:06] local.INFO: GPS data processed {"connection_id":125750,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:08:06] local.INFO: Acknowledgment sent {"connection_id":125750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":125655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:08:06] local.INFO: GPS data processed {"connection_id":125655,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:08:06] local.INFO: Acknowledgment sent {"connection_id":125655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:08:36] local.INFO: TCP Data received {"connection_id":125750,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41829628012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41829628012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:08:36] local.INFO: Processing buffer {"connection_id":125750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41829628012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:08:36] local.INFO: Packet analysis {"connection_id":125750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4182"} 
[2026-07-08 17:08:36] local.INFO: Extracted packet for processing {"connection_id":125750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4182"} 
[2026-07-08 17:08:36] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578683904001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783510505000,"timestamp_ms":1783510505000,"timestamp_seconds":1783510505,"priority":1,"record_length":96,"hex_timestamp":"0000019f41829628"} 
[2026-07-08 17:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 17:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578683904001,"66":12461,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578683904001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:08:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:08:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578683904001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":125750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:08:36] local.INFO: GPS data processed {"connection_id":125750,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:08:36] local.INFO: Acknowledgment sent {"connection_id":125750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:08:38] local.INFO: TCP Data received {"connection_id":125655,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4183c2f0012d98c38005773e080008014531..."} 
[2026-07-08 17:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4183c2f0012d98c38005773e080008014531..."} 
[2026-07-08 17:08:38] local.INFO: Processing buffer {"connection_id":125655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4183c2f0012d98c38005773e080008014531..."} 
[2026-07-08 17:08:38] local.INFO: Packet analysis {"connection_id":125655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4183"} 
[2026-07-08 17:08:38] local.INFO: Extracted packet for processing {"connection_id":125655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4183"} 
[2026-07-08 17:08:38] local.INFO: GPS Element Parsed {"raw_longitude":764986240,"raw_latitude":91700744,"longitude_deg":76.498624,"latitude_deg":9.1700744,"altitude":8,"angle":325,"satellites":49,"speed":17,"hex_longitude":"2d98c380","hex_latitude":"05773e08","is_valid_coordinates":true} 
[2026-07-08 17:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578708992001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342802393823444992,"note":"Value kept but may cause issues"} 
[2026-07-08 17:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7438961398522181632,"note":"Value kept but may cause issues"} 
[2026-07-08 17:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783510582000,"timestamp_ms":1783510582000,"timestamp_seconds":1783510582,"priority":1,"record_length":96,"hex_timestamp":"0000019f4183c2f0"} 
[2026-07-08 17:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-08 17:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578708992001,"66":27995,"161":206,"85":15872,"24":17,"16":342802393823444992,"45":-7438961398522181632},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-07-08 17:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578708992001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:08:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-08 17:08:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 17:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342802393823444992,"km_value":342802393823445.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7438961398522181632,"description":"Unknown IO ID 45"} 
[2026-07-08 17:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578708992001,"power":27995,"unknown_161":206,"unknown_85":15872,"ignition":17,"odometer":null,"unknown_45":-7438961398522181632}} 
[2026-07-08 17:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":125655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:08:38] local.INFO: GPS data processed {"connection_id":125655,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:08:38] local.INFO: Acknowledgment sent {"connection_id":125655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:08:55] local.INFO: TCP Data received {"connection_id":126524,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:08:55] local.INFO: Processing buffer {"connection_id":126524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:08:55] local.INFO: IMEI packet received {"connection_id":126524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":126524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:09:00] local.INFO: TCP Data received {"connection_id":125751,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:09:00] local.INFO: Processing buffer {"connection_id":125751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:09:00] local.INFO: IMEI packet received {"connection_id":125751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":125751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:09:00] local.INFO: TCP Data received {"connection_id":126524,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:09:00] local.INFO: Processing buffer {"connection_id":126524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:09:00] local.INFO: IMEI packet received {"connection_id":126524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":126524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:09:01] local.INFO: TCP Data received {"connection_id":126524,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41840558012d98b60005775198000801562d..."} 
[2026-07-08 17:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41840558012d98b60005775198000801562d..."} 
[2026-07-08 17:09:01] local.INFO: Processing buffer {"connection_id":126524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41840558012d98b60005775198000801562d..."} 
[2026-07-08 17:09:01] local.INFO: Packet analysis {"connection_id":126524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4184"} 
[2026-07-08 17:09:01] local.INFO: Extracted packet for processing {"connection_id":126524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4184"} 
[2026-07-08 17:09:01] local.INFO: GPS Element Parsed {"raw_longitude":764982784,"raw_latitude":91705752,"longitude_deg":76.4982784,"latitude_deg":9.1705752,"altitude":8,"angle":342,"satellites":45,"speed":20,"hex_longitude":"2d98b600","hex_latitude":"05775198","is_valid_coordinates":true} 
[2026-07-08 17:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578708992001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342802690176188416,"note":"Value kept but may cause issues"} 
[2026-07-08 17:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7438961398522181632,"note":"Value kept but may cause issues"} 
[2026-07-08 17:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783510599000,"timestamp_ms":1783510599000,"timestamp_seconds":1783510599,"priority":1,"record_length":96,"hex_timestamp":"0000019f41840558"} 
[2026-07-08 17:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-08 17:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:09:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578708992001,"66":27919,"161":206,"85":15872,"24":20,"16":342802690176188416,"45":-7438961398522181632},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-07-08 17:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578708992001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:09:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-08 17:09:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 17:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342802690176188416,"km_value":342802690176188.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7438961398522181632,"description":"Unknown IO ID 45"} 
[2026-07-08 17:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578708992001,"power":27919,"unknown_161":206,"unknown_85":15872,"ignition":20,"odometer":null,"unknown_45":-7438961398522181632}} 
[2026-07-08 17:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":126524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:09:01] local.INFO: GPS data processed {"connection_id":126524,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:09:01] local.INFO: Acknowledgment sent {"connection_id":126524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:09:05] local.INFO: TCP Data received {"connection_id":125751,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:09:05] local.INFO: Processing buffer {"connection_id":125751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:09:05] local.INFO: IMEI packet received {"connection_id":125751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":125751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:09:06] local.INFO: TCP Data received {"connection_id":125751,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4182e830012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4182e830012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:09:06] local.INFO: Processing buffer {"connection_id":125751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4182e830012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:09:06] local.INFO: Packet analysis {"connection_id":125751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4182"} 
[2026-07-08 17:09:06] local.INFO: Extracted packet for processing {"connection_id":125751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4182"} 
[2026-07-08 17:09:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578689280001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783510526000,"timestamp_ms":1783510526000,"timestamp_seconds":1783510526,"priority":1,"record_length":96,"hex_timestamp":"0000019f4182e830"} 
[2026-07-08 17:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 17:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578689280001,"66":12461,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578689280001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:09:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:09:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578689280001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":125751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:09:06] local.INFO: GPS data processed {"connection_id":125751,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:09:06] local.INFO: Acknowledgment sent {"connection_id":125751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:09:32] local.INFO: TCP Data received {"connection_id":126524,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41841cc8012d98b20005775be8000a014930..."} 
[2026-07-08 17:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41841cc8012d98b20005775be8000a014930..."} 
[2026-07-08 17:09:32] local.INFO: Processing buffer {"connection_id":126524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41841cc8012d98b20005775be8000a014930..."} 
[2026-07-08 17:09:32] local.INFO: Packet analysis {"connection_id":126524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4184"} 
[2026-07-08 17:09:32] local.INFO: Extracted packet for processing {"connection_id":126524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4184"} 
[2026-07-08 17:09:32] local.INFO: GPS Element Parsed {"raw_longitude":764981760,"raw_latitude":91708392,"longitude_deg":76.498176,"latitude_deg":9.1708392,"altitude":10,"angle":329,"satellites":48,"speed":22,"hex_longitude":"2d98b200","hex_latitude":"05775be8","is_valid_coordinates":true} 
[2026-07-08 17:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578713344001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342802831910109184,"note":"Value kept but may cause issues"} 
[2026-07-08 17:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7442761310706493440,"note":"Value kept but may cause issues"} 
[2026-07-08 17:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783510605000,"timestamp_ms":1783510605000,"timestamp_seconds":1783510605,"priority":1,"record_length":96,"hex_timestamp":"0000019f41841cc8"} 
[2026-07-08 17:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 17:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578713344001,"66":27995,"161":206,"85":15872,"24":22,"16":342802831910109184,"45":-7442761310706493440},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-07-08 17:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578713344001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:09:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-08 17:09:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 17:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342802831910109184,"km_value":342802831910109.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7442761310706493440,"description":"Unknown IO ID 45"} 
[2026-07-08 17:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578713344001,"power":27995,"unknown_161":206,"unknown_85":15872,"ignition":22,"odometer":null,"unknown_45":-7442761310706493440}} 
[2026-07-08 17:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":126524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:09:32] local.INFO: GPS data processed {"connection_id":126524,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:09:32] local.INFO: Acknowledgment sent {"connection_id":126524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:09:36] local.INFO: TCP Data received {"connection_id":125751,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41833a38012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41833a38012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:09:36] local.INFO: Processing buffer {"connection_id":125751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41833a38012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:09:36] local.INFO: Packet analysis {"connection_id":125751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4183"} 
[2026-07-08 17:09:36] local.INFO: Extracted packet for processing {"connection_id":125751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4183"} 
[2026-07-08 17:09:36] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":43,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578694656001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783510547000,"timestamp_ms":1783510547000,"timestamp_seconds":1783510547,"priority":1,"record_length":96,"hex_timestamp":"0000019f41833a38"} 
[2026-07-08 17:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 17:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578694656001,"66":12461,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578694656001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:09:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:09:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578694656001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":125751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:09:37] local.INFO: GPS data processed {"connection_id":125751,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:09:37] local.INFO: Acknowledgment sent {"connection_id":125751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:09:57] local.INFO: TCP Data received {"connection_id":126527,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:09:57] local.INFO: Processing buffer {"connection_id":126527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:09:57] local.INFO: IMEI packet received {"connection_id":126527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":126527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:10:00] local.INFO: TCP Data received {"connection_id":126526,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:10:00] local.INFO: Processing buffer {"connection_id":126526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:10:00] local.INFO: IMEI packet received {"connection_id":126526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":126526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:10:00] local.INFO: TCP Data received {"connection_id":126527,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:10:00] local.INFO: Processing buffer {"connection_id":126527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:10:00] local.INFO: IMEI packet received {"connection_id":126527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":126527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:10:05] local.INFO: TCP Data received {"connection_id":126526,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:10:05] local.INFO: Processing buffer {"connection_id":126526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:10:05] local.INFO: IMEI packet received {"connection_id":126526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":126526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:10:06] local.INFO: TCP Data received {"connection_id":126526,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41838c40012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41838c40012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:10:06] local.INFO: Processing buffer {"connection_id":126526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41838c40012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:10:06] local.INFO: Packet analysis {"connection_id":126526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4183"} 
[2026-07-08 17:10:06] local.INFO: Extracted packet for processing {"connection_id":126526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4183"} 
[2026-07-08 17:10:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":43,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578700032001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783510568000,"timestamp_ms":1783510568000,"timestamp_seconds":1783510568,"priority":1,"record_length":96,"hex_timestamp":"0000019f41838c40"} 
[2026-07-08 17:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 17:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578700032001,"66":12461,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578700032001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:10:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:10:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578700032001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":126526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:10:06] local.INFO: GPS data processed {"connection_id":126526,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:10:06] local.INFO: Acknowledgment sent {"connection_id":126526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:10:07] local.INFO: TCP Data received {"connection_id":126527,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:10:07] local.INFO: Processing buffer {"connection_id":126527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:10:07] local.INFO: IMEI packet received {"connection_id":126527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":126527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:10:07] local.INFO: TCP Data received {"connection_id":126527,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41845378012d989f0005777ad80009014630..."} 
[2026-07-08 17:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41845378012d989f0005777ad80009014630..."} 
[2026-07-08 17:10:07] local.INFO: Processing buffer {"connection_id":126527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41845378012d989f0005777ad80009014630..."} 
[2026-07-08 17:10:07] local.INFO: Packet analysis {"connection_id":126527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4184"} 
[2026-07-08 17:10:07] local.INFO: Extracted packet for processing {"connection_id":126527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4184"} 
[2026-07-08 17:10:07] local.INFO: GPS Element Parsed {"raw_longitude":764976896,"raw_latitude":91716312,"longitude_deg":76.4976896,"latitude_deg":9.1716312,"altitude":9,"angle":326,"satellites":48,"speed":32,"hex_longitude":"2d989f00","hex_latitude":"05777ad8","is_valid_coordinates":true} 
[2026-07-08 17:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578714880001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342803278586707968,"note":"Value kept but may cause issues"} 
[2026-07-08 17:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7443887210612660224,"note":"Value kept but may cause issues"} 
[2026-07-08 17:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783510619000,"timestamp_ms":1783510619000,"timestamp_seconds":1783510619,"priority":1,"record_length":96,"hex_timestamp":"0000019f41845378"} 
[2026-07-08 17:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-08 17:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578714880001,"66":27821,"161":206,"85":15872,"24":32,"16":342803278586707968,"45":-7443887210612660224},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-07-08 17:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578714880001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:10:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-08 17:10:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 17:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342803278586707968,"km_value":342803278586707.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7443887210612660224,"description":"Unknown IO ID 45"} 
[2026-07-08 17:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578714880001,"power":27821,"unknown_161":206,"unknown_85":15872,"ignition":32,"odometer":null,"unknown_45":-7443887210612660224}} 
[2026-07-08 17:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":126527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:10:07] local.INFO: GPS data processed {"connection_id":126527,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:10:07] local.INFO: Acknowledgment sent {"connection_id":126527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:10:16] local.INFO: TCP Data received {"connection_id":126528,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126528,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:10:16] local.INFO: Processing buffer {"connection_id":126528,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:10:16] local.INFO: IMEI packet received {"connection_id":126528,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 17:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":126528,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:10:36] local.INFO: TCP Data received {"connection_id":126526,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4183de48012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4183de48012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:10:36] local.INFO: Processing buffer {"connection_id":126526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4183de48012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:10:36] local.INFO: Packet analysis {"connection_id":126526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4183"} 
[2026-07-08 17:10:36] local.INFO: Extracted packet for processing {"connection_id":126526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4183"} 
[2026-07-08 17:10:36] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578705408001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783510589000,"timestamp_ms":1783510589000,"timestamp_seconds":1783510589,"priority":1,"record_length":96,"hex_timestamp":"0000019f4183de48"} 
[2026-07-08 17:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 17:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578705408001,"66":12385,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578705408001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:10:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:10:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578705408001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":126526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:10:37] local.INFO: GPS data processed {"connection_id":126526,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:10:37] local.INFO: Acknowledgment sent {"connection_id":126526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:10:39] local.INFO: TCP Data received {"connection_id":126527,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41847e70012d988a80057799e8000a01462e..."} 
[2026-07-08 17:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41847e70012d988a80057799e8000a01462e..."} 
[2026-07-08 17:10:39] local.INFO: Processing buffer {"connection_id":126527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41847e70012d988a80057799e8000a01462e..."} 
[2026-07-08 17:10:39] local.INFO: Packet analysis {"connection_id":126527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4184"} 
[2026-07-08 17:10:39] local.INFO: Extracted packet for processing {"connection_id":126527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4184"} 
[2026-07-08 17:10:39] local.INFO: GPS Element Parsed {"raw_longitude":764971648,"raw_latitude":91724264,"longitude_deg":76.4971648,"latitude_deg":9.1724264,"altitude":10,"angle":326,"satellites":46,"speed":35,"hex_longitude":"2d988a80","hex_latitude":"057799e8","is_valid_coordinates":true} 
[2026-07-08 17:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578718464001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342803742443175936,"note":"Value kept but may cause issues"} 
[2026-07-08 17:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7449235235168135168,"note":"Value kept but may cause issues"} 
[2026-07-08 17:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783510630000,"timestamp_ms":1783510630000,"timestamp_seconds":1783510630,"priority":1,"record_length":96,"hex_timestamp":"0000019f41847e70"} 
[2026-07-08 17:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 17:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578718464001,"66":27974,"161":206,"85":15872,"24":35,"16":342803742443175936,"45":-7449235235168135168},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-07-08 17:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578718464001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:10:39] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-08 17:10:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 17:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342803742443175936,"km_value":342803742443175.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7449235235168135168,"description":"Unknown IO ID 45"} 
[2026-07-08 17:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578718464001,"power":27974,"unknown_161":206,"unknown_85":15872,"ignition":35,"odometer":null,"unknown_45":-7449235235168135168}} 
[2026-07-08 17:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":126527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:10:39] local.INFO: GPS data processed {"connection_id":126527,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:10:39] local.INFO: Acknowledgment sent {"connection_id":126527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:10:55] local.INFO: TCP Data received {"connection_id":125752,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:10:55] local.INFO: Processing buffer {"connection_id":125752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:10:55] local.INFO: IMEI packet received {"connection_id":125752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":125752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:10:55] local.INFO: TCP Data received {"connection_id":126529,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126529,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:10:55] local.INFO: Processing buffer {"connection_id":126529,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:10:55] local.INFO: IMEI packet received {"connection_id":126529,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 17:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":126529,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:10:56] local.INFO: TCP Data received {"connection_id":125752,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:10:56] local.INFO: Processing buffer {"connection_id":125752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:10:56] local.INFO: IMEI packet received {"connection_id":125752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":125752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:10:58] local.INFO: TCP Data received {"connection_id":125656,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:10:58] local.INFO: Processing buffer {"connection_id":125656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:10:58] local.INFO: IMEI packet received {"connection_id":125656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":125656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:11:00] local.INFO: TCP Data received {"connection_id":125752,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:11:00] local.INFO: Processing buffer {"connection_id":125752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:11:00] local.INFO: IMEI packet received {"connection_id":125752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":125752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:11:00] local.INFO: TCP Data received {"connection_id":125656,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:11:00] local.INFO: Processing buffer {"connection_id":125656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:11:00] local.INFO: IMEI packet received {"connection_id":125656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":125656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:11:03] local.INFO: TCP Data received {"connection_id":125752,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41874d30012d982600057824580008012c32..."} 
[2026-07-08 17:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41874d30012d982600057824580008012c32..."} 
[2026-07-08 17:11:03] local.INFO: Processing buffer {"connection_id":125752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41874d30012d982600057824580008012c32..."} 
[2026-07-08 17:11:03] local.INFO: Packet analysis {"connection_id":125752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4187"} 
[2026-07-08 17:11:03] local.INFO: Extracted packet for processing {"connection_id":125752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4187"} 
[2026-07-08 17:11:03] local.INFO: GPS Element Parsed {"raw_longitude":764945920,"raw_latitude":91759704,"longitude_deg":76.494592,"latitude_deg":9.1759704,"altitude":8,"angle":300,"satellites":50,"speed":4,"hex_longitude":"2d982600","hex_latitude":"05782458","is_valid_coordinates":true} 
[2026-07-08 17:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578763008001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342805894221791232,"note":"Value kept but may cause issues"} 
[2026-07-08 17:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7481112276269793280,"note":"Value kept but may cause issues"} 
[2026-07-08 17:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783510814000,"timestamp_ms":1783510814000,"timestamp_seconds":1783510814,"priority":1,"record_length":96,"hex_timestamp":"0000019f41874d30"} 
[2026-07-08 17:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:11: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-07-08 17: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 17:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578763008001,"66":27919,"161":206,"85":15872,"24":4,"16":342805894221791232,"45":-7481112276269793280},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-07-08 17:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578763008001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:11:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-08 17:11:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 17:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342805894221791232,"km_value":342805894221791.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7481112276269793280,"description":"Unknown IO ID 45"} 
[2026-07-08 17:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578763008001,"power":27919,"unknown_161":206,"unknown_85":15872,"ignition":4,"odometer":null,"unknown_45":-7481112276269793280}} 
[2026-07-08 17:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":125752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:11:03] local.INFO: GPS data processed {"connection_id":125752,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:11:03] local.INFO: Acknowledgment sent {"connection_id":125752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:11:05] local.INFO: TCP Data received {"connection_id":125656,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:11:05] local.INFO: Processing buffer {"connection_id":125656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:11:05] local.INFO: IMEI packet received {"connection_id":125656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":125656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:11:06] local.INFO: TCP Data received {"connection_id":125656,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41843050012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41843050012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:11:06] local.INFO: Processing buffer {"connection_id":125656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41843050012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:11:06] local.INFO: Packet analysis {"connection_id":125656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4184"} 
[2026-07-08 17:11:06] local.INFO: Extracted packet for processing {"connection_id":125656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4184"} 
[2026-07-08 17:11:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":43,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578710784001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783510610000,"timestamp_ms":1783510610000,"timestamp_seconds":1783510610,"priority":1,"record_length":96,"hex_timestamp":"0000019f41843050"} 
[2026-07-08 17:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 17:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578710784001,"66":12461,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578710784001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:11:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:11:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578710784001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":125656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:11:06] local.INFO: GPS data processed {"connection_id":125656,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:11:06] local.INFO: Acknowledgment sent {"connection_id":125656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:11:33] local.INFO: TCP Data received {"connection_id":125752,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f418758e8012d982500057825b80008013d32..."} 
[2026-07-08 17:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418758e8012d982500057825b80008013d32..."} 
[2026-07-08 17:11:33] local.INFO: Processing buffer {"connection_id":125752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418758e8012d982500057825b80008013d32..."} 
[2026-07-08 17:11:33] local.INFO: Packet analysis {"connection_id":125752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4187"} 
[2026-07-08 17:11:33] local.INFO: Extracted packet for processing {"connection_id":125752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4187"} 
[2026-07-08 17:11:33] local.INFO: GPS Element Parsed {"raw_longitude":764945664,"raw_latitude":91760056,"longitude_deg":76.4945664,"latitude_deg":9.1760056,"altitude":8,"angle":317,"satellites":50,"speed":5,"hex_longitude":"2d982500","hex_latitude":"057825b8","is_valid_coordinates":true} 
[2026-07-08 17:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578768384001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342805915696627712,"note":"Value kept but may cause issues"} 
[2026-07-08 17:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7483293707339016192,"note":"Value kept but may cause issues"} 
[2026-07-08 17:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783510817000,"timestamp_ms":1783510817000,"timestamp_seconds":1783510817,"priority":1,"record_length":96,"hex_timestamp":"0000019f418758e8"} 
[2026-07-08 17:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:11: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-07-08 17:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 17:11:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:11:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578768384001,"66":27908,"161":206,"85":15872,"24":5,"16":342805915696627712,"45":-7483293707339016192},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-07-08 17:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578768384001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:11:33] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-08 17:11:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 17:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342805915696627712,"km_value":342805915696627.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7483293707339016192,"description":"Unknown IO ID 45"} 
[2026-07-08 17:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578768384001,"power":27908,"unknown_161":206,"unknown_85":15872,"ignition":5,"odometer":null,"unknown_45":-7483293707339016192}} 
[2026-07-08 17:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":125752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:11:33] local.INFO: GPS data processed {"connection_id":125752,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:11:33] local.INFO: Acknowledgment sent {"connection_id":125752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:11:37] local.INFO: TCP Data received {"connection_id":125656,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41848258012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41848258012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:11:37] local.INFO: Processing buffer {"connection_id":125656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41848258012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:11:37] local.INFO: Packet analysis {"connection_id":125656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4184"} 
[2026-07-08 17:11:37] local.INFO: Extracted packet for processing {"connection_id":125656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4184"} 
[2026-07-08 17:11:37] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578716160001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783510631000,"timestamp_ms":1783510631000,"timestamp_seconds":1783510631,"priority":1,"record_length":96,"hex_timestamp":"0000019f41848258"} 
[2026-07-08 17:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 17:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578716160001,"66":12439,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578716160001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:11:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:11:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578716160001,"power":12439,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":125656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452626,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:11:37] local.INFO: GPS data processed {"connection_id":125656,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:11:37] local.INFO: Acknowledgment sent {"connection_id":125656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:11:55] local.INFO: TCP Data received {"connection_id":125657,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:11:55] local.INFO: Processing buffer {"connection_id":125657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:11:55] local.INFO: IMEI packet received {"connection_id":125657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":125657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:11:57] local.INFO: TCP Data received {"connection_id":125657,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:11:57] local.INFO: Processing buffer {"connection_id":125657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:11:57] local.INFO: IMEI packet received {"connection_id":125657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":125657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:12:00] local.INFO: TCP Data received {"connection_id":127754,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:12:00] local.INFO: Processing buffer {"connection_id":127754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:12:00] local.INFO: IMEI packet received {"connection_id":127754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":127754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:12:00] local.INFO: TCP Data received {"connection_id":125657,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:12:00] local.INFO: Processing buffer {"connection_id":125657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:12:00] local.INFO: IMEI packet received {"connection_id":125657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":125657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:12:01] local.INFO: TCP Data received {"connection_id":127754,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:12:01] local.INFO: Processing buffer {"connection_id":127754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:12:01] local.INFO: IMEI packet received {"connection_id":127754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":127754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:12:01] local.INFO: TCP Data received {"connection_id":125657,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f418764a0012d9823c0057827f00008014c31..."} 
[2026-07-08 17:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418764a0012d9823c0057827f00008014c31..."} 
[2026-07-08 17:12:01] local.INFO: Processing buffer {"connection_id":125657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418764a0012d9823c0057827f00008014c31..."} 
[2026-07-08 17:12:01] local.INFO: Packet analysis {"connection_id":125657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4187"} 
[2026-07-08 17:12:01] local.INFO: Extracted packet for processing {"connection_id":125657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4187"} 
[2026-07-08 17:12:01] local.INFO: GPS Element Parsed {"raw_longitude":764945344,"raw_latitude":91760624,"longitude_deg":76.4945344,"latitude_deg":9.1760624,"altitude":8,"angle":332,"satellites":49,"speed":10,"hex_longitude":"2d9823c0","hex_latitude":"057827f0","is_valid_coordinates":true} 
[2026-07-08 17:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578769152001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342805945761398784,"note":"Value kept but may cause issues"} 
[2026-07-08 17:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7483575182315636736,"note":"Value kept but may cause issues"} 
[2026-07-08 17:12:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783510820000,"timestamp_ms":1783510820000,"timestamp_seconds":1783510820,"priority":1,"record_length":96,"hex_timestamp":"0000019f418764a0"} 
[2026-07-08 17:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:12:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 17:12:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:12:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:12:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578769152001,"66":27691,"161":206,"85":15872,"24":10,"16":342805945761398784,"45":-7483575182315636736},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-07-08 17:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578769152001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:12:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-08 17:12:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 17:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342805945761398784,"km_value":342805945761398.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7483575182315636736,"description":"Unknown IO ID 45"} 
[2026-07-08 17:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578769152001,"power":27691,"unknown_161":206,"unknown_85":15872,"ignition":10,"odometer":null,"unknown_45":-7483575182315636736}} 
[2026-07-08 17:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":125657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:12:01] local.INFO: GPS data processed {"connection_id":125657,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:12:01] local.INFO: Acknowledgment sent {"connection_id":125657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:12:05] local.INFO: TCP Data received {"connection_id":127754,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:12:05] local.INFO: Processing buffer {"connection_id":127754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:12:05] local.INFO: IMEI packet received {"connection_id":127754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":127754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:12:06] local.INFO: TCP Data received {"connection_id":127754,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4184d460012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4184d460012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:12:06] local.INFO: Processing buffer {"connection_id":127754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4184d460012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:12:06] local.INFO: Packet analysis {"connection_id":127754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4184"} 
[2026-07-08 17:12:06] local.INFO: Extracted packet for processing {"connection_id":127754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4184"} 
[2026-07-08 17:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578721536001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783510652000,"timestamp_ms":1783510652000,"timestamp_seconds":1783510652,"priority":1,"record_length":96,"hex_timestamp":"0000019f4184d460"} 
[2026-07-08 17:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 17:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578721536001,"66":12439,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578721536001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:12:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578721536001,"power":12439,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":127754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:12:06] local.INFO: GPS data processed {"connection_id":127754,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:12:06] local.INFO: Acknowledgment sent {"connection_id":127754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:12:32] local.INFO: TCP Data received {"connection_id":125657,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4187a708012d981a00057837600007013f2f..."} 
[2026-07-08 17:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4187a708012d981a00057837600007013f2f..."} 
[2026-07-08 17:12:32] local.INFO: Processing buffer {"connection_id":125657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4187a708012d981a00057837600007013f2f..."} 
[2026-07-08 17:12:32] local.INFO: Packet analysis {"connection_id":125657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4187"} 
[2026-07-08 17:12:32] local.INFO: Extracted packet for processing {"connection_id":125657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4187"} 
[2026-07-08 17:12:32] local.INFO: GPS Element Parsed {"raw_longitude":764942848,"raw_latitude":91764576,"longitude_deg":76.4942848,"latitude_deg":9.1764576,"altitude":7,"angle":319,"satellites":47,"speed":14,"hex_longitude":"2d981a00","hex_latitude":"05783760","is_valid_coordinates":true} 
[2026-07-08 17:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578769920001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342806173394665472,"note":"Value kept but may cause issues"} 
[2026-07-08 17:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7483927026036379648,"note":"Value kept but may cause issues"} 
[2026-07-08 17:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783510837000,"timestamp_ms":1783510837000,"timestamp_seconds":1783510837,"priority":1,"record_length":96,"hex_timestamp":"0000019f4187a708"} 
[2026-07-08 17:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 17:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578769920001,"66":27908,"161":206,"85":15872,"24":14,"16":342806173394665472,"45":-7483927026036379648},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-07-08 17:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578769920001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:12:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-08 17:12:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 17:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342806173394665472,"km_value":342806173394665.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7483927026036379648,"description":"Unknown IO ID 45"} 
[2026-07-08 17:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578769920001,"power":27908,"unknown_161":206,"unknown_85":15872,"ignition":14,"odometer":null,"unknown_45":-7483927026036379648}} 
[2026-07-08 17:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":125657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:12:32] local.INFO: GPS data processed {"connection_id":125657,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:12:32] local.INFO: Acknowledgment sent {"connection_id":125657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:12:36] local.INFO: TCP Data received {"connection_id":127754,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41852668012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 17:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41852668012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 17:12:36] local.INFO: Processing buffer {"connection_id":127754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41852668012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 17:12:36] local.INFO: Packet analysis {"connection_id":127754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4185"} 
[2026-07-08 17:12:36] local.INFO: Extracted packet for processing {"connection_id":127754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4185"} 
[2026-07-08 17:12:36] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":46,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578726912001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783510673000,"timestamp_ms":1783510673000,"timestamp_seconds":1783510673,"priority":1,"record_length":96,"hex_timestamp":"0000019f41852668"} 
[2026-07-08 17:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 17:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578726912001,"66":12439,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578726912001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:12:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:12:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578726912001,"power":12439,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":127754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:12:37] local.INFO: GPS data processed {"connection_id":127754,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:12:37] local.INFO: Acknowledgment sent {"connection_id":127754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:12:55] local.INFO: TCP Data received {"connection_id":125754,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:12:55] local.INFO: Processing buffer {"connection_id":125754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:12:55] local.INFO: IMEI packet received {"connection_id":125754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":125754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:12:58] local.INFO: TCP Data received {"connection_id":125754,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:12:58] local.INFO: Processing buffer {"connection_id":125754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:12:58] local.INFO: IMEI packet received {"connection_id":125754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":125754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:12:59] local.INFO: TCP Data received {"connection_id":126530,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:12:59] local.INFO: Processing buffer {"connection_id":126530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:12:59] local.INFO: IMEI packet received {"connection_id":126530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":126530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:13:03] local.INFO: TCP Data received {"connection_id":125754,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:13:03] local.INFO: Processing buffer {"connection_id":125754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:13:03] local.INFO: IMEI packet received {"connection_id":125754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":125754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:13:04] local.INFO: TCP Data received {"connection_id":126530,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:13:04] local.INFO: Processing buffer {"connection_id":126530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:13:04] local.INFO: IMEI packet received {"connection_id":126530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":126530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:13:04] local.INFO: TCP Data received {"connection_id":125754,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4188f6f8012d977b4005796268000b014a30..."} 
[2026-07-08 17:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4188f6f8012d977b4005796268000b014a30..."} 
[2026-07-08 17:13:04] local.INFO: Processing buffer {"connection_id":125754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4188f6f8012d977b4005796268000b014a30..."} 
[2026-07-08 17:13:04] local.INFO: Packet analysis {"connection_id":125754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4188"} 
[2026-07-08 17:13:04] local.INFO: Extracted packet for processing {"connection_id":125754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4188"} 
[2026-07-08 17:13:04] local.INFO: GPS Element Parsed {"raw_longitude":764902208,"raw_latitude":91841128,"longitude_deg":76.4902208,"latitude_deg":9.1841128,"altitude":11,"angle":330,"satellites":48,"speed":34,"hex_longitude":"2d977b40","hex_latitude":"05796268","is_valid_coordinates":true} 
[2026-07-08 17: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-07-08 17:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578792960001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342810378167648256,"note":"Value kept but may cause issues"} 
[2026-07-08 17:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7526429747501215744,"note":"Value kept but may cause issues"} 
[2026-07-08 17:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783510923000,"timestamp_ms":1783510923000,"timestamp_seconds":1783510923,"priority":1,"record_length":96,"hex_timestamp":"0000019f4188f6f8"} 
[2026-07-08 17:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-08 17:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578792960001,"66":27767,"70":206,"85":15872,"24":34,"16":342810378167648256,"45":-7526429747501215744},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,85,24,16,45]} 
[2026-07-08 17:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578792960001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:13:05] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-08 17:13:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 17:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342810378167648256,"km_value":342810378167648.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7526429747501215744,"description":"Unknown IO ID 45"} 
[2026-07-08 17:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578792960001,"power":27767,"unknown_70":206,"unknown_85":15872,"ignition":34,"odometer":null,"unknown_45":-7526429747501215744}} 
[2026-07-08 17:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":125754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:13:05] local.INFO: GPS data processed {"connection_id":125754,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:13:05] local.INFO: Acknowledgment sent {"connection_id":125754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:13:05] local.INFO: TCP Data received {"connection_id":126530,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4188acc0012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4188acc0012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:13:05] local.INFO: Processing buffer {"connection_id":126530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4188acc0012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:13:05] local.INFO: Packet analysis {"connection_id":126530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4188"} 
[2026-07-08 17:13:05] local.INFO: Extracted packet for processing {"connection_id":126530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4188"} 
[2026-07-08 17:13:05] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578786048001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783510904000,"timestamp_ms":1783510904000,"timestamp_seconds":1783510904,"priority":1,"record_length":96,"hex_timestamp":"0000019f4188acc0"} 
[2026-07-08 17:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 17:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578786048001,"66":12406,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578786048001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:13:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:13:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578786048001,"power":12406,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":126530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:13:05] local.INFO: GPS data processed {"connection_id":126530,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:13:05] local.INFO: Acknowledgment sent {"connection_id":126530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:13:36] local.INFO: TCP Data received {"connection_id":125754,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41891a20012d9768c0057981b8000a014930..."} 
[2026-07-08 17:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41891a20012d9768c0057981b8000a014930..."} 
[2026-07-08 17:13:36] local.INFO: Processing buffer {"connection_id":125754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41891a20012d9768c0057981b8000a014930..."} 
[2026-07-08 17:13:36] local.INFO: Packet analysis {"connection_id":125754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4189"} 
[2026-07-08 17:13:36] local.INFO: Extracted packet for processing {"connection_id":125754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4189"} 
[2026-07-08 17:13:36] local.INFO: GPS Element Parsed {"raw_longitude":764897472,"raw_latitude":91849144,"longitude_deg":76.4897472,"latitude_deg":9.1849144,"altitude":10,"angle":329,"satellites":48,"speed":44,"hex_longitude":"2d9768c0","hex_latitude":"057981b8","is_valid_coordinates":true} 
[2026-07-08 17:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578796288001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342810824844247040,"note":"Value kept but may cause issues"} 
[2026-07-08 17:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7531355559591516160,"note":"Value kept but may cause issues"} 
[2026-07-08 17:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783510932000,"timestamp_ms":1783510932000,"timestamp_seconds":1783510932,"priority":1,"record_length":96,"hex_timestamp":"0000019f41891a20"} 
[2026-07-08 17:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 17:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578796288001,"66":27930,"70":206,"85":15872,"24":44,"16":342810824844247040,"45":-7531355559591516160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,85,24,16,45]} 
[2026-07-08 17:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578796288001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:13:36] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-08 17:13:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 17:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342810824844247040,"km_value":342810824844247.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7531355559591516160,"description":"Unknown IO ID 45"} 
[2026-07-08 17:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578796288001,"power":27930,"unknown_70":206,"unknown_85":15872,"ignition":44,"odometer":null,"unknown_45":-7531355559591516160}} 
[2026-07-08 17:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":125754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:13:36] local.INFO: GPS data processed {"connection_id":125754,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:13:36] local.INFO: Acknowledgment sent {"connection_id":125754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:13:36] local.INFO: TCP Data received {"connection_id":126530,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4188fec8012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4188fec8012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:13:36] local.INFO: Processing buffer {"connection_id":126530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4188fec8012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:13:36] local.INFO: Packet analysis {"connection_id":126530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4188"} 
[2026-07-08 17:13:36] local.INFO: Extracted packet for processing {"connection_id":126530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4188"} 
[2026-07-08 17:13:36] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578791424001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783510925000,"timestamp_ms":1783510925000,"timestamp_seconds":1783510925,"priority":1,"record_length":96,"hex_timestamp":"0000019f4188fec8"} 
[2026-07-08 17:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 17:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578791424001,"66":12385,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578791424001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:13:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:13:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578791424001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":126530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:13:36] local.INFO: GPS data processed {"connection_id":126530,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:13:36] local.INFO: Acknowledgment sent {"connection_id":126530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:13:56] local.INFO: TCP Data received {"connection_id":127756,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:13:56] local.INFO: Processing buffer {"connection_id":127756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:13:56] local.INFO: IMEI packet received {"connection_id":127756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":127756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:13:59] local.INFO: TCP Data received {"connection_id":127757,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:13:59] local.INFO: Processing buffer {"connection_id":127757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:13:59] local.INFO: IMEI packet received {"connection_id":127757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":127757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:14:01] local.INFO: TCP Data received {"connection_id":127756,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:14:01] local.INFO: Processing buffer {"connection_id":127756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:14:01] local.INFO: IMEI packet received {"connection_id":127756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":127756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:14:05] local.INFO: TCP Data received {"connection_id":127757,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:14:05] local.INFO: Processing buffer {"connection_id":127757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:14:05] local.INFO: IMEI packet received {"connection_id":127757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":127757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:14:05] local.INFO: TCP Data received {"connection_id":127756,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:14:05] local.INFO: Processing buffer {"connection_id":127756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:14:05] local.INFO: IMEI packet received {"connection_id":127756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":127756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:14:06] local.INFO: TCP Data received {"connection_id":127757,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f418950d0012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418950d0012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:14:06] local.INFO: Processing buffer {"connection_id":127757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418950d0012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:14:06] local.INFO: Packet analysis {"connection_id":127757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4189"} 
[2026-07-08 17:14:06] local.INFO: Extracted packet for processing {"connection_id":127757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4189"} 
[2026-07-08 17:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":43,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578796800001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783510946000,"timestamp_ms":1783510946000,"timestamp_seconds":1783510946,"priority":1,"record_length":96,"hex_timestamp":"0000019f418950d0"} 
[2026-07-08 17:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 17:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578796800001,"66":12385,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578796800001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:14:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578796800001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":127757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:14:06] local.INFO: GPS data processed {"connection_id":127757,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:14:06] local.INFO: Acknowledgment sent {"connection_id":127757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:14:06] local.INFO: TCP Data received {"connection_id":127756,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41893960012d9755c00579a2b8000a014b30..."} 
[2026-07-08 17:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41893960012d9755c00579a2b8000a014b30..."} 
[2026-07-08 17:14:06] local.INFO: Processing buffer {"connection_id":127756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41893960012d9755c00579a2b8000a014b30..."} 
[2026-07-08 17:14:06] local.INFO: Packet analysis {"connection_id":127756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4189"} 
[2026-07-08 17:14:06] local.INFO: Extracted packet for processing {"connection_id":127756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4189"} 
[2026-07-08 17:14:06] local.INFO: GPS Element Parsed {"raw_longitude":764892608,"raw_latitude":91857592,"longitude_deg":76.4892608,"latitude_deg":9.1857592,"altitude":10,"angle":331,"satellites":48,"speed":51,"hex_longitude":"2d9755c0","hex_latitude":"0579a2b8","is_valid_coordinates":true} 
[2026-07-08 17:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578798592001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342811297290649600,"note":"Value kept but may cause issues"} 
[2026-07-08 17:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7536562846658611200,"note":"Value kept but may cause issues"} 
[2026-07-08 17:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783510940000,"timestamp_ms":1783510940000,"timestamp_seconds":1783510940,"priority":1,"record_length":96,"hex_timestamp":"0000019f41893960"} 
[2026-07-08 17:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-08 17:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578798592001,"66":27213,"70":206,"85":15872,"24":51,"16":342811297290649600,"45":-7536562846658611200},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,85,24,16,45]} 
[2026-07-08 17:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578798592001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:14:06] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-08 17:14:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 17:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342811297290649600,"km_value":342811297290649.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7536562846658611200,"description":"Unknown IO ID 45"} 
[2026-07-08 17:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578798592001,"power":27213,"unknown_70":206,"unknown_85":15872,"ignition":51,"odometer":null,"unknown_45":-7536562846658611200}} 
[2026-07-08 17:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":127756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:14:06] local.INFO: GPS data processed {"connection_id":127756,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:14:06] local.INFO: Acknowledgment sent {"connection_id":127756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:14:07] local.INFO: TCP Data received {"connection_id":127756,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f418954b8012d9744000579c360000a014b31..."} 
[2026-07-08 17:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418954b8012d9744000579c360000a014b31..."} 
[2026-07-08 17:14:07] local.INFO: Processing buffer {"connection_id":127756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418954b8012d9744000579c360000a014b31..."} 
[2026-07-08 17:14:07] local.INFO: Packet analysis {"connection_id":127756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4189"} 
[2026-07-08 17:14:07] local.INFO: Extracted packet for processing {"connection_id":127756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4189"} 
[2026-07-08 17:14:07] local.INFO: GPS Element Parsed {"raw_longitude":764888064,"raw_latitude":91865952,"longitude_deg":76.4888064,"latitude_deg":9.1865952,"altitude":10,"angle":331,"satellites":49,"speed":56,"hex_longitude":"2d974400","hex_latitude":"0579c360","is_valid_coordinates":true} 
[2026-07-08 17:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578800640001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342811756852150272,"note":"Value kept but may cause issues"} 
[2026-07-08 17:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7541910871213950976,"note":"Value kept but may cause issues"} 
[2026-07-08 17:14:07] 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-07-08 17:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783510947000,"timestamp_ms":1783510947000,"timestamp_seconds":1783510947,"priority":1,"record_length":96,"hex_timestamp":"0000019f418954b8"} 
[2026-07-08 17:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-08 17:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578800640001,"66":27865,"69":206,"85":15872,"24":56,"16":342811756852150272,"45":-7541910871213950976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-07-08 17:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578800640001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:14:07] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-08 17:14:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 17:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342811756852150272,"km_value":342811756852150.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7541910871213950976,"description":"Unknown IO ID 45"} 
[2026-07-08 17:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578800640001,"power":27865,"unknown_69":206,"unknown_85":15872,"ignition":56,"odometer":null,"unknown_45":-7541910871213950976}} 
[2026-07-08 17:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":127756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:14:07] local.INFO: GPS data processed {"connection_id":127756,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:14:07] local.INFO: Acknowledgment sent {"connection_id":127756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:14:36] local.INFO: TCP Data received {"connection_id":127757,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4189a2d8012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4189a2d8012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:14:36] local.INFO: Processing buffer {"connection_id":127757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4189a2d8012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:14:36] local.INFO: Packet analysis {"connection_id":127757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4189"} 
[2026-07-08 17:14:36] local.INFO: Extracted packet for processing {"connection_id":127757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4189"} 
[2026-07-08 17:14:36] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":43,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578802176001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783510967000,"timestamp_ms":1783510967000,"timestamp_seconds":1783510967,"priority":1,"record_length":96,"hex_timestamp":"0000019f4189a2d8"} 
[2026-07-08 17:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 17:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578802176001,"66":12406,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578802176001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:14:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:14:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578802176001,"power":12406,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":127757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:14:36] local.INFO: GPS data processed {"connection_id":127757,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:14:36] local.INFO: Acknowledgment sent {"connection_id":127757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:14:37] local.INFO: TCP Data received {"connection_id":127756,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41897010012d9731800579e6d8000b014b2f..."} 
[2026-07-08 17:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41897010012d9731800579e6d8000b014b2f..."} 
[2026-07-08 17:14:37] local.INFO: Processing buffer {"connection_id":127756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41897010012d9731800579e6d8000b014b2f..."} 
[2026-07-08 17:14:37] local.INFO: Packet analysis {"connection_id":127756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4189"} 
[2026-07-08 17:14:37] local.INFO: Extracted packet for processing {"connection_id":127756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4189"} 
[2026-07-08 17:14:37] local.INFO: GPS Element Parsed {"raw_longitude":764883328,"raw_latitude":91875032,"longitude_deg":76.4883328,"latitude_deg":9.1875032,"altitude":11,"angle":331,"satellites":47,"speed":56,"hex_longitude":"2d973180","hex_latitude":"0579e6d8","is_valid_coordinates":true} 
[2026-07-08 17:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578802432001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342812250773389312,"note":"Value kept but may cause issues"} 
[2026-07-08 17:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7546907052048424960,"note":"Value kept but may cause issues"} 
[2026-07-08 17:14:37] 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-07-08 17:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783510954000,"timestamp_ms":1783510954000,"timestamp_seconds":1783510954,"priority":1,"record_length":96,"hex_timestamp":"0000019f41897010"} 
[2026-07-08 17:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 17:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578802432001,"66":27908,"69":206,"85":15872,"24":56,"16":342812250773389312,"45":-7546907052048424960},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-07-08 17:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578802432001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:14:37] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-08 17:14:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-07-08 17:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342812250773389312,"km_value":342812250773389.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7546907052048424960,"description":"Unknown IO ID 45"} 
[2026-07-08 17:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578802432001,"power":27908,"unknown_69":206,"unknown_85":15872,"ignition":56,"odometer":null,"unknown_45":-7546907052048424960}} 
[2026-07-08 17:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":127756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:14:37] local.INFO: GPS data processed {"connection_id":127756,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:14:37] local.INFO: Acknowledgment sent {"connection_id":127756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:15:05] local.INFO: TCP Data received {"connection_id":126532,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:15:05] local.INFO: Processing buffer {"connection_id":126532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:15:05] local.INFO: IMEI packet received {"connection_id":126532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":126532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:15:05] local.INFO: TCP Data received {"connection_id":125756,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:15:05] local.INFO: Processing buffer {"connection_id":125756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:15:05] local.INFO: IMEI packet received {"connection_id":125756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":125756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:15:06] local.INFO: TCP Data received {"connection_id":125755,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125755,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:15:06] local.INFO: Processing buffer {"connection_id":125755,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:15:06] local.INFO: IMEI packet received {"connection_id":125755,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 17:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":125755,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:15:07] local.INFO: TCP Data received {"connection_id":125755,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125755,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:15:07] local.INFO: Processing buffer {"connection_id":125755,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:15:07] local.INFO: IMEI packet received {"connection_id":125755,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":125755,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:15:08] local.INFO: TCP Data received {"connection_id":125756,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:15:08] local.INFO: Processing buffer {"connection_id":125756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:15:08] local.INFO: IMEI packet received {"connection_id":125756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":125756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:15:10] local.INFO: TCP Data received {"connection_id":126532,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:15:10] local.INFO: Processing buffer {"connection_id":126532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:15:10] local.INFO: IMEI packet received {"connection_id":126532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":126532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:15:10] local.INFO: TCP Data received {"connection_id":125756,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:15:10] local.INFO: Processing buffer {"connection_id":125756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:15:10] local.INFO: IMEI packet received {"connection_id":125756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":125756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:15:11] local.INFO: TCP Data received {"connection_id":126532,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4189f4e0012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4189f4e0012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:15:11] local.INFO: Processing buffer {"connection_id":126532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4189f4e0012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:15:11] local.INFO: Packet analysis {"connection_id":126532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4189"} 
[2026-07-08 17:15:11] local.INFO: Extracted packet for processing {"connection_id":126532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4189"} 
[2026-07-08 17:15:11] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578807552001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:15: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-07-08 17:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783510988000,"timestamp_ms":1783510988000,"timestamp_seconds":1783510988,"priority":1,"record_length":96,"hex_timestamp":"0000019f4189f4e0"} 
[2026-07-08 17:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:15: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-07-08 17:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 17:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578807552001,"66":12406,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578807552001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:15:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:15:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578807552001,"power":12406,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:15:11] local.INFO: TCP Data received {"connection_id":125756,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f418b0650012d96b580057b6438000a016632..."} 
[2026-07-08 17:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418b0650012d96b580057b6438000a016632..."} 
[2026-07-08 17:15:11] local.INFO: Processing buffer {"connection_id":125756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418b0650012d96b580057b6438000a016632..."} 
[2026-07-08 17:15:11] local.INFO: Packet analysis {"connection_id":125756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f418b"} 
[2026-07-08 17:15:11] local.INFO: Extracted packet for processing {"connection_id":125756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f418b"} 
[2026-07-08 17:15:11] local.INFO: GPS Element Parsed {"raw_longitude":764851584,"raw_latitude":91972664,"longitude_deg":76.4851584,"latitude_deg":9.1972664,"altitude":10,"angle":358,"satellites":50,"speed":22,"hex_longitude":"2d96b580","hex_latitude":"057b6438","is_valid_coordinates":true} 
[2026-07-08 17:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578827008001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342817237230419968,"note":"Value kept but may cause issues"} 
[2026-07-08 17:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7584272855181752320,"note":"Value kept but may cause issues"} 
[2026-07-08 17:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783511058000,"timestamp_ms":1783511058000,"timestamp_seconds":1783511058,"priority":1,"record_length":96,"hex_timestamp":"0000019f418b0650"} 
[2026-07-08 17:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-08 17:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578827008001,"66":27843,"120":206,"85":15360,"24":22,"16":342817237230419968,"45":-7584272855181752320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-07-08 17:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578827008001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:15:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 17:15:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 17:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342817237230419968,"km_value":342817237230419.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7584272855181752320,"description":"Unknown IO ID 45"} 
[2026-07-08 17:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578827008001,"power":27843,"unknown_120":206,"unknown_85":15360,"ignition":22,"odometer":null,"unknown_45":-7584272855181752320}} 
[2026-07-08 17:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":125756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:15:11] local.INFO: GPS data processed {"connection_id":125756,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:15:11] local.INFO: Acknowledgment sent {"connection_id":125756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":126532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:15:11] local.INFO: GPS data processed {"connection_id":126532,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:15:11] local.INFO: Acknowledgment sent {"connection_id":126532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:15:11] local.INFO: TCP Data received {"connection_id":126532,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f418a46e8012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418a46e8012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:15:12] local.INFO: Processing buffer {"connection_id":126532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418a46e8012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:15:12] local.INFO: Packet analysis {"connection_id":126532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f418a"} 
[2026-07-08 17:15:12] local.INFO: Extracted packet for processing {"connection_id":126532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f418a"} 
[2026-07-08 17:15:12] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":43,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 17:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578812928001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:15: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-07-08 17:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783511009000,"timestamp_ms":1783511009000,"timestamp_seconds":1783511009,"priority":1,"record_length":96,"hex_timestamp":"0000019f418a46e8"} 
[2026-07-08 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-07-08 17:15: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-07-08 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 17:15: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-07-08 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-07-08 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-07-08 17:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":126532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":126532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":126532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:15: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-07-08 17:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578812928001,"66":12341,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578812928001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:15:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:15:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578812928001,"power":12341,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":126532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:15:12] local.INFO: GPS data processed {"connection_id":126532,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:15:12] local.INFO: Acknowledgment sent {"connection_id":126532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:15:13] local.INFO: TCP Data received {"connection_id":125755,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125755,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:15:13] local.INFO: Processing buffer {"connection_id":125755,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:15:13] local.INFO: IMEI packet received {"connection_id":125755,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":125755,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:15:13] local.INFO: TCP Data received {"connection_id":125755,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f418a3748012d7a310005e45d28000700482a..."} 
[2026-07-08 17:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418a3748012d7a310005e45d28000700482a..."} 
[2026-07-08 17:15:13] local.INFO: Processing buffer {"connection_id":125755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418a3748012d7a310005e45d28000700482a..."} 
[2026-07-08 17:15:13] local.INFO: Packet analysis {"connection_id":125755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f418a"} 
[2026-07-08 17:15:13] local.INFO: Extracted packet for processing {"connection_id":125755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f418a"} 
[2026-07-08 17:15:13] local.INFO: GPS Element Parsed {"raw_longitude":762982656,"raw_latitude":98852136,"longitude_deg":76.2982656,"latitude_deg":9.8852136,"altitude":7,"angle":72,"satellites":42,"speed":0,"hex_longitude":"2d7a3100","hex_latitude":"05e45d28","is_valid_coordinates":true} 
[2026-07-08 17:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578812160001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103784113726554112,"note":"Value kept but may cause issues"} 
[2026-07-08 17:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804326190582904832,"note":"Value kept but may cause issues"} 
[2026-07-08 17:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783511005000,"timestamp_ms":1783511005000,"timestamp_seconds":1783511005,"priority":1,"record_length":96,"hex_timestamp":"0000019f418a3748"} 
[2026-07-08 17:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:15: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-07-08 17: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":117,"data_length":795,"current_offset":136} 
[2026-07-08 17:15:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125755,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125755,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578812160001,"66":13048,"157":206,"87":12288,"24":0,"16":103784113726554112,"45":8804326190582904832},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 17:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578812160001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:15:13] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 17:15:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-08 17:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103784113726554112,"km_value":103784113726554.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804326190582904832,"description":"Unknown IO ID 45"} 
[2026-07-08 17:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578812160001,"power":13048,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8804326190582904832}} 
[2026-07-08 17:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":125755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452643,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:15:14] local.INFO: GPS data processed {"connection_id":125755,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:15:14] local.INFO: Acknowledgment sent {"connection_id":125755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:15:15] local.INFO: TCP Data received {"connection_id":125756,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f418b0650012d96b580057b6438000a016632..."} 
[2026-07-08 17:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418b0650012d96b580057b6438000a016632..."} 
[2026-07-08 17:15:15] local.INFO: Processing buffer {"connection_id":125756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418b0650012d96b580057b6438000a016632..."} 
[2026-07-08 17:15:15] local.INFO: Packet analysis {"connection_id":125756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f418b"} 
[2026-07-08 17:15:15] local.INFO: Extracted packet for processing {"connection_id":125756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f418b"} 
[2026-07-08 17:15:15] local.INFO: GPS Element Parsed {"raw_longitude":764851584,"raw_latitude":91972664,"longitude_deg":76.4851584,"latitude_deg":9.1972664,"altitude":10,"angle":358,"satellites":50,"speed":22,"hex_longitude":"2d96b580","hex_latitude":"057b6438","is_valid_coordinates":true} 
[2026-07-08 17:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578830848001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342817237230419968,"note":"Value kept but may cause issues"} 
[2026-07-08 17:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7587017236202375168,"note":"Value kept but may cause issues"} 
[2026-07-08 17:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783511058000,"timestamp_ms":1783511058000,"timestamp_seconds":1783511058,"priority":1,"record_length":96,"hex_timestamp":"0000019f418b0650"} 
[2026-07-08 17:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:15:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 17:15:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":125756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":125756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":125756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578830848001,"66":27843,"120":206,"85":15360,"24":22,"16":342817237230419968,"45":-7587017236202375168},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-07-08 17:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578830848001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:15:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 17:15:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 17:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342817237230419968,"km_value":342817237230419.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7587017236202375168,"description":"Unknown IO ID 45"} 
[2026-07-08 17:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578830848001,"power":27843,"unknown_120":206,"unknown_85":15360,"ignition":22,"odometer":null,"unknown_45":-7587017236202375168}} 
[2026-07-08 17:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":125756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:15:15] local.INFO: GPS data processed {"connection_id":125756,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:15:15] local.INFO: Acknowledgment sent {"connection_id":125756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:15:36] local.INFO: TCP Data received {"connection_id":125658,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125658,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:15:36] local.INFO: Processing buffer {"connection_id":125658,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:15:36] local.INFO: IMEI packet received {"connection_id":125658,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 17:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":125658,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:15:41] local.INFO: TCP Data received {"connection_id":125658,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125658,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:15:41] local.INFO: Processing buffer {"connection_id":125658,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:15:41] local.INFO: IMEI packet received {"connection_id":125658,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":125658,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:15:42] local.INFO: TCP Data received {"connection_id":125658,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f418a8950012d7a310005e45d28000700482c..."} 
[2026-07-08 17:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418a8950012d7a310005e45d28000700482c..."} 
[2026-07-08 17:15:42] local.INFO: Processing buffer {"connection_id":125658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418a8950012d7a310005e45d28000700482c..."} 
[2026-07-08 17:15:42] local.INFO: Packet analysis {"connection_id":125658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f418a"} 
[2026-07-08 17:15:42] local.INFO: Extracted packet for processing {"connection_id":125658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f418a"} 
[2026-07-08 17:15:42] local.INFO: GPS Element Parsed {"raw_longitude":762982656,"raw_latitude":98852136,"longitude_deg":76.2982656,"latitude_deg":9.8852136,"altitude":7,"angle":72,"satellites":44,"speed":0,"hex_longitude":"2d7a3100","hex_latitude":"05e45d28","is_valid_coordinates":true} 
[2026-07-08 17:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578817280001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103784113726554112,"note":"Value kept but may cause issues"} 
[2026-07-08 17:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804818771792177152,"note":"Value kept but may cause issues"} 
[2026-07-08 17:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783511026000,"timestamp_ms":1783511026000,"timestamp_seconds":1783511026,"priority":1,"record_length":96,"hex_timestamp":"0000019f418a8950"} 
[2026-07-08 17:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-08 17:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":125658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":125658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":125658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578817280001,"66":13178,"157":206,"87":12288,"24":0,"16":103784113726554112,"45":8804818771792177152},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 17:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578817280001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:15:42] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 17:15:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-08 17:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103784113726554112,"km_value":103784113726554.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804818771792177152,"description":"Unknown IO ID 45"} 
[2026-07-08 17:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578817280001,"power":13178,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8804818771792177152}} 
[2026-07-08 17:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":125658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452645,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:15:42] local.INFO: GPS data processed {"connection_id":125658,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:15:42] local.INFO: Acknowledgment sent {"connection_id":125658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:15:43] local.INFO: TCP Data received {"connection_id":126532,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f418a98f0012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418a98f0012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:15:43] local.INFO: Processing buffer {"connection_id":126532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418a98f0012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:15:43] local.INFO: Packet analysis {"connection_id":126532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f418a"} 
[2026-07-08 17:15:43] local.INFO: Extracted packet for processing {"connection_id":126532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f418a"} 
[2026-07-08 17:15:43] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578818304001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:15: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-07-08 17:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783511030000,"timestamp_ms":1783511030000,"timestamp_seconds":1783511030,"priority":1,"record_length":96,"hex_timestamp":"0000019f418a98f0"} 
[2026-07-08 17:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:15:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 17:15:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":126532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":126532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":126532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578818304001,"66":12406,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578818304001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:15:43] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:15:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578818304001,"power":12406,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":126532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:15:43] local.INFO: GPS data processed {"connection_id":126532,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:15:43] local.INFO: Acknowledgment sent {"connection_id":126532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:15:46] local.INFO: TCP Data received {"connection_id":125658,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f418adb58012d7a310005e45d28000700482d..."} 
[2026-07-08 17:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418adb58012d7a310005e45d28000700482d..."} 
[2026-07-08 17:15:46] local.INFO: Processing buffer {"connection_id":125658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418adb58012d7a310005e45d28000700482d..."} 
[2026-07-08 17:15:46] local.INFO: Packet analysis {"connection_id":125658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f418a"} 
[2026-07-08 17:15:46] local.INFO: Extracted packet for processing {"connection_id":125658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f418a"} 
[2026-07-08 17:15:46] local.INFO: GPS Element Parsed {"raw_longitude":762982656,"raw_latitude":98852136,"longitude_deg":76.2982656,"latitude_deg":9.8852136,"altitude":7,"angle":72,"satellites":45,"speed":0,"hex_longitude":"2d7a3100","hex_latitude":"05e45d28","is_valid_coordinates":true} 
[2026-07-08 17: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-07-08 17:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578822656001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103784113726554112,"note":"Value kept but may cause issues"} 
[2026-07-08 17:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804818771792177152,"note":"Value kept but may cause issues"} 
[2026-07-08 17:15:46] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-07-08 17:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783511047000,"timestamp_ms":1783511047000,"timestamp_seconds":1783511047,"priority":1,"record_length":96,"hex_timestamp":"0000019f418adb58"} 
[2026-07-08 17:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:15: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-07-08 17: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-08 17:15: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-07-08 17: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-07-08 17:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":125658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":125658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":125658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578822656001,"66":13254,"24":0,"16":103784113726554112,"45":8804818771792177152},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-07-08 17:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578822656001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103784113726554112,"km_value":103784113726554.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804818771792177152,"description":"Unknown IO ID 45"} 
[2026-07-08 17:15:46] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":456578822656001,"power":13254,"ignition":0,"odometer":null,"unknown_45":8804818771792177152}} 
[2026-07-08 17:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":125658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452647,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:15:46] local.INFO: GPS data processed {"connection_id":125658,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:15:46] local.INFO: Acknowledgment sent {"connection_id":125658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:15:55] local.INFO: TCP Data received {"connection_id":126533,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:15:55] local.INFO: Processing buffer {"connection_id":126533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:15:55] local.INFO: IMEI packet received {"connection_id":126533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":126533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:15:58] local.INFO: TCP Data received {"connection_id":126533,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:15:58] local.INFO: Processing buffer {"connection_id":126533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:15:58] local.INFO: IMEI packet received {"connection_id":126533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":126533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:15:59] local.INFO: TCP Data received {"connection_id":126533,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f418b2978012d96b1c0057b7f60000a015b33..."} 
[2026-07-08 17:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418b2978012d96b1c0057b7f60000a015b33..."} 
[2026-07-08 17:15:59] local.INFO: Processing buffer {"connection_id":126533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418b2978012d96b1c0057b7f60000a015b33..."} 
[2026-07-08 17:15:59] local.INFO: Packet analysis {"connection_id":126533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f418b"} 
[2026-07-08 17:15:59] local.INFO: Extracted packet for processing {"connection_id":126533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f418b"} 
[2026-07-08 17:15:59] local.INFO: GPS Element Parsed {"raw_longitude":764850624,"raw_latitude":91979616,"longitude_deg":76.4850624,"latitude_deg":9.1979616,"altitude":10,"angle":347,"satellites":51,"speed":39,"hex_longitude":"2d96b1c0","hex_latitude":"057b7f60","is_valid_coordinates":true} 
[2026-07-08 17:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578830848001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342817580827803648,"note":"Value kept but may cause issues"} 
[2026-07-08 17:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7587017236202375168,"note":"Value kept but may cause issues"} 
[2026-07-08 17:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783511067000,"timestamp_ms":1783511067000,"timestamp_seconds":1783511067,"priority":1,"record_length":96,"hex_timestamp":"0000019f418b2978"} 
[2026-07-08 17:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:15: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-07-08 17:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 17:15:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:15:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":126533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":126533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":126533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578830848001,"66":27876,"236":206,"85":15360,"24":39,"16":342817580827803648,"45":-7587017236202375168},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-07-08 17:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578830848001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:15:59] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-08 17:15:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 17:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342817580827803648,"km_value":342817580827803.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7587017236202375168,"description":"Unknown IO ID 45"} 
[2026-07-08 17:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578830848001,"power":27876,"unknown_236":206,"unknown_85":15360,"ignition":39,"odometer":null,"unknown_45":-7587017236202375168}} 
[2026-07-08 17:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":126533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:15:59] local.INFO: GPS data processed {"connection_id":126533,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:15:59] local.INFO: Acknowledgment sent {"connection_id":126533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:16:00] local.INFO: TCP Data received {"connection_id":126535,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:16:00] local.INFO: Processing buffer {"connection_id":126535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:16:00] local.INFO: IMEI packet received {"connection_id":126535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":126535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:16:05] local.INFO: TCP Data received {"connection_id":126535,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:16:05] local.INFO: Processing buffer {"connection_id":126535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:16:05] local.INFO: IMEI packet received {"connection_id":126535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":126535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:16:06] local.INFO: TCP Data received {"connection_id":126535,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f418aeaf8012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418aeaf8012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:16:06] local.INFO: Processing buffer {"connection_id":126535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418aeaf8012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:16:06] local.INFO: Packet analysis {"connection_id":126535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f418a"} 
[2026-07-08 17:16:06] local.INFO: Extracted packet for processing {"connection_id":126535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f418a"} 
[2026-07-08 17:16:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578823680001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783511051000,"timestamp_ms":1783511051000,"timestamp_seconds":1783511051,"priority":1,"record_length":96,"hex_timestamp":"0000019f418aeaf8"} 
[2026-07-08 17:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 17:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578823680001,"66":12385,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578823680001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:16:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:16:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578823680001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":126535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:16:06] local.INFO: GPS data processed {"connection_id":126535,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:16:06] local.INFO: Acknowledgment sent {"connection_id":126535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:16:30] local.INFO: TCP Data received {"connection_id":126533,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f418c3ed0012d963a80057cf850000b015530..."} 
[2026-07-08 17:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418c3ed0012d963a80057cf850000b015530..."} 
[2026-07-08 17:16:30] local.INFO: Processing buffer {"connection_id":126533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418c3ed0012d963a80057cf850000b015530..."} 
[2026-07-08 17:16:30] local.INFO: Packet analysis {"connection_id":126533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f418c"} 
[2026-07-08 17:16:30] local.INFO: Extracted packet for processing {"connection_id":126533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f418c"} 
[2026-07-08 17:16:30] local.INFO: GPS Element Parsed {"raw_longitude":764820096,"raw_latitude":92076112,"longitude_deg":76.4820096,"latitude_deg":9.2076112,"altitude":11,"angle":341,"satellites":48,"speed":60,"hex_longitude":"2d963a80","hex_latitude":"057cf850","is_valid_coordinates":true} 
[2026-07-08 17:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578849792001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342822485680455680,"note":"Value kept but may cause issues"} 
[2026-07-08 17:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7618331327337121792,"note":"Value kept but may cause issues"} 
[2026-07-08 17:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783511138000,"timestamp_ms":1783511138000,"timestamp_seconds":1783511138,"priority":1,"record_length":96,"hex_timestamp":"0000019f418c3ed0"} 
[2026-07-08 17:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-08 17:16:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":126533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":126533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":126533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:16: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-07-08 17:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578849792001,"66":27865,"19":206,"85":15360,"24":60,"16":342822485680455680,"45":-7618331327337121792},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-07-08 17:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578849792001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:16:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-08 17:16:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 17:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342822485680455680,"km_value":342822485680455.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7618331327337121792,"description":"Unknown IO ID 45"} 
[2026-07-08 17:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578849792001,"power":27865,"unknown_19":206,"unknown_85":15360,"ignition":60,"odometer":null,"unknown_45":-7618331327337121792}} 
[2026-07-08 17:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":126533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:16:30] local.INFO: GPS data processed {"connection_id":126533,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:16:30] local.INFO: Acknowledgment sent {"connection_id":126533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:16:33] local.INFO: TCP Data received {"connection_id":126536,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126536,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:16:33] local.INFO: Processing buffer {"connection_id":126536,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:16:33] local.INFO: IMEI packet received {"connection_id":126536,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 17:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":126536,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:16:33] local.INFO: TCP Data received {"connection_id":126536,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126536,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:16:33] local.INFO: Processing buffer {"connection_id":126536,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:16:33] local.INFO: IMEI packet received {"connection_id":126536,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":126536,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:16:36] local.INFO: TCP Data received {"connection_id":126536,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126536,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:16:36] local.INFO: Processing buffer {"connection_id":126536,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:16:36] local.INFO: IMEI packet received {"connection_id":126536,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":126536,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:16:36] local.INFO: TCP Data received {"connection_id":126535,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f418b3d00012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 17:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418b3d00012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 17:16:36] local.INFO: Processing buffer {"connection_id":126535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418b3d00012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 17:16:36] local.INFO: Packet analysis {"connection_id":126535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f418b"} 
[2026-07-08 17:16:36] local.INFO: Extracted packet for processing {"connection_id":126535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f418b"} 
[2026-07-08 17:16:36] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":46,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578829056001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783511072000,"timestamp_ms":1783511072000,"timestamp_seconds":1783511072,"priority":1,"record_length":96,"hex_timestamp":"0000019f418b3d00"} 
[2026-07-08 17:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 17:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578829056001,"66":12385,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578829056001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:16:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:16:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578829056001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":126535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:16:37] local.INFO: GPS data processed {"connection_id":126535,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:16:37] local.INFO: Acknowledgment sent {"connection_id":126535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:16:37] local.INFO: TCP Data received {"connection_id":126536,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f418b2d60012d7a310005e45d28000700482c..."} 
[2026-07-08 17:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418b2d60012d7a310005e45d28000700482c..."} 
[2026-07-08 17:16:37] local.INFO: Processing buffer {"connection_id":126536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418b2d60012d7a310005e45d28000700482c..."} 
[2026-07-08 17:16:37] local.INFO: Packet analysis {"connection_id":126536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f418b"} 
[2026-07-08 17:16:37] local.INFO: Extracted packet for processing {"connection_id":126536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f418b"} 
[2026-07-08 17:16:37] local.INFO: GPS Element Parsed {"raw_longitude":762982656,"raw_latitude":98852136,"longitude_deg":76.2982656,"latitude_deg":9.8852136,"altitude":7,"angle":72,"satellites":44,"speed":0,"hex_longitude":"2d7a3100","hex_latitude":"05e45d28","is_valid_coordinates":true} 
[2026-07-08 17:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578828032001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103784113726554112,"note":"Value kept but may cause issues"} 
[2026-07-08 17:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804818771792177152,"note":"Value kept but may cause issues"} 
[2026-07-08 17:16:37] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-07-08 17:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783511068000,"timestamp_ms":1783511068000,"timestamp_seconds":1783511068,"priority":1,"record_length":96,"hex_timestamp":"0000019f418b2d60"} 
[2026-07-08 17:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-08 17:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578828032001,"66":13135,"24":0,"16":103784113726554112,"45":8804818771792177152},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-07-08 17:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578828032001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103784113726554112,"km_value":103784113726554.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804818771792177152,"description":"Unknown IO ID 45"} 
[2026-07-08 17:16:37] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":456578828032001,"power":13135,"ignition":0,"odometer":null,"unknown_45":8804818771792177152}} 
[2026-07-08 17:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":126536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452652,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:16:37] local.INFO: GPS data processed {"connection_id":126536,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:16:37] local.INFO: Acknowledgment sent {"connection_id":126536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:16:41] local.INFO: TCP Data received {"connection_id":126536,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f418bba00012d7a310005e45d28000700482d..."} 
[2026-07-08 17:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418bba00012d7a310005e45d28000700482d..."} 
[2026-07-08 17:16:41] local.INFO: Processing buffer {"connection_id":126536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418bba00012d7a310005e45d28000700482d..."} 
[2026-07-08 17:16:41] local.INFO: Packet analysis {"connection_id":126536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f418b"} 
[2026-07-08 17:16:41] local.INFO: Extracted packet for processing {"connection_id":126536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f418b"} 
[2026-07-08 17:16:41] local.INFO: GPS Element Parsed {"raw_longitude":762982656,"raw_latitude":98852136,"longitude_deg":76.2982656,"latitude_deg":9.8852136,"altitude":7,"angle":72,"satellites":45,"speed":0,"hex_longitude":"2d7a3100","hex_latitude":"05e45d28","is_valid_coordinates":true} 
[2026-07-08 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-07-08 17:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578833408001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103784113726554112,"note":"Value kept but may cause issues"} 
[2026-07-08 17:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804818771792177152,"note":"Value kept but may cause issues"} 
[2026-07-08 17:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783511104000,"timestamp_ms":1783511104000,"timestamp_seconds":1783511104,"priority":1,"record_length":96,"hex_timestamp":"0000019f418bba00"} 
[2026-07-08 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-07-08 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-07-08 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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-08 17:16: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-07-08 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-07-08 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-07-08 17:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":126536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":126536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":126536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578833408001,"66":13352,"157":206,"87":12288,"24":0,"16":103784113726554112,"45":8804818771792177152},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 17:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578833408001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:16:41] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 17:16:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-08 17:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103784113726554112,"km_value":103784113726554.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804818771792177152,"description":"Unknown IO ID 45"} 
[2026-07-08 17:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578833408001,"power":13352,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8804818771792177152}} 
[2026-07-08 17:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":126536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452653,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:16:41] local.INFO: GPS data processed {"connection_id":126536,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:16:41] local.INFO: Acknowledgment sent {"connection_id":126536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:16:55] local.INFO: TCP Data received {"connection_id":125757,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:16:55] local.INFO: Processing buffer {"connection_id":125757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:16:55] local.INFO: IMEI packet received {"connection_id":125757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":125757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:16:57] local.INFO: TCP Data received {"connection_id":125757,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:16:57] local.INFO: Processing buffer {"connection_id":125757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:16:57] local.INFO: IMEI packet received {"connection_id":125757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":125757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:17:00] local.INFO: TCP Data received {"connection_id":125659,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:17:00] local.INFO: Processing buffer {"connection_id":125659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:17:00] local.INFO: IMEI packet received {"connection_id":125659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":125659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:17:01] local.INFO: TCP Data received {"connection_id":127759,"ip":"42.106.6.12","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127759,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:17:01] local.INFO: Processing buffer {"connection_id":127759,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:17:01] local.INFO: IMEI packet received {"connection_id":127759,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 17:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":127759,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:17:02] local.INFO: TCP Data received {"connection_id":125757,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:17:02] local.INFO: Processing buffer {"connection_id":125757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:17:02] local.INFO: IMEI packet received {"connection_id":125757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":125757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:17:03] local.INFO: TCP Data received {"connection_id":125757,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f418c5640012d962f80057d1988000c01562e..."} 
[2026-07-08 17:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418c5640012d962f80057d1988000c01562e..."} 
[2026-07-08 17:17:03] local.INFO: Processing buffer {"connection_id":125757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418c5640012d962f80057d1988000c01562e..."} 
[2026-07-08 17:17:03] local.INFO: Packet analysis {"connection_id":125757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f418c"} 
[2026-07-08 17:17:03] local.INFO: Extracted packet for processing {"connection_id":125757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f418c"} 
[2026-07-08 17:17:03] local.INFO: GPS Element Parsed {"raw_longitude":764817280,"raw_latitude":92084616,"longitude_deg":76.481728,"latitude_deg":9.2084616,"altitude":12,"angle":342,"satellites":46,"speed":59,"hex_longitude":"2d962f80","hex_latitude":"057d1988","is_valid_coordinates":true} 
[2026-07-08 17: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-07-08 17:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578851328001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342822919472152576,"note":"Value kept but may cause issues"} 
[2026-07-08 17:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7621638658311303168,"note":"Value kept but may cause issues"} 
[2026-07-08 17:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783511144000,"timestamp_ms":1783511144000,"timestamp_seconds":1783511144,"priority":1,"record_length":96,"hex_timestamp":"0000019f418c5640"} 
[2026-07-08 17:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:17: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-07-08 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 17:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17: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-07-08 17:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578851328001,"66":27876,"19":206,"85":15360,"24":59,"16":342822919472152576,"45":-7621638658311303168},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-07-08 17:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578851328001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:17:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-08 17:17:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 17:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342822919472152576,"km_value":342822919472152.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7621638658311303168,"description":"Unknown IO ID 45"} 
[2026-07-08 17:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578851328001,"power":27876,"unknown_19":206,"unknown_85":15360,"ignition":59,"odometer":null,"unknown_45":-7621638658311303168}} 
[2026-07-08 17:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":125757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:17:03] local.INFO: GPS data processed {"connection_id":125757,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:17:03] local.INFO: Acknowledgment sent {"connection_id":125757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:17:05] local.INFO: TCP Data received {"connection_id":125659,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:17:05] local.INFO: Processing buffer {"connection_id":125659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:17:05] local.INFO: IMEI packet received {"connection_id":125659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":125659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:17:06] local.INFO: TCP Data received {"connection_id":125659,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f418b8f08012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418b8f08012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:17:06] local.INFO: Processing buffer {"connection_id":125659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418b8f08012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:17:06] local.INFO: Packet analysis {"connection_id":125659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f418b"} 
[2026-07-08 17:17:06] local.INFO: Extracted packet for processing {"connection_id":125659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f418b"} 
[2026-07-08 17:17:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578834432001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783511093000,"timestamp_ms":1783511093000,"timestamp_seconds":1783511093,"priority":1,"record_length":96,"hex_timestamp":"0000019f418b8f08"} 
[2026-07-08 17:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 17:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578834432001,"66":12385,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578834432001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:17:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:17:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578834432001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":125659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:17:06] local.INFO: GPS data processed {"connection_id":125659,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:17:06] local.INFO: Acknowledgment sent {"connection_id":125659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:17:16] local.INFO: TCP Data received {"connection_id":126536,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f418c0c08012d7a310005e45d280007004829..."} 
[2026-07-08 17:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418c0c08012d7a310005e45d280007004829..."} 
[2026-07-08 17:17:16] local.INFO: Processing buffer {"connection_id":126536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418c0c08012d7a310005e45d280007004829..."} 
[2026-07-08 17:17:16] local.INFO: Packet analysis {"connection_id":126536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f418c"} 
[2026-07-08 17:17:16] local.INFO: Extracted packet for processing {"connection_id":126536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f418c"} 
[2026-07-08 17:17:16] local.INFO: GPS Element Parsed {"raw_longitude":762982656,"raw_latitude":98852136,"longitude_deg":76.2982656,"latitude_deg":9.8852136,"altitude":7,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d7a3100","hex_latitude":"05e45d28","is_valid_coordinates":true} 
[2026-07-08 17:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578842624001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103784113726554112,"note":"Value kept but may cause issues"} 
[2026-07-08 17:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804818771792177152,"note":"Value kept but may cause issues"} 
[2026-07-08 17:17:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783511125000,"timestamp_ms":1783511125000,"timestamp_seconds":1783511125,"priority":1,"record_length":96,"hex_timestamp":"0000019f418c0c08"} 
[2026-07-08 17:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:17:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-08 17:17: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-07-08 17:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":126536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":126536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":126536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578842624001,"66":13406,"157":206,"87":12288,"24":0,"16":103784113726554112,"45":8804818771792177152},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 17:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578842624001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:17:16] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 17:17:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-08 17:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103784113726554112,"km_value":103784113726554.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804818771792177152,"description":"Unknown IO ID 45"} 
[2026-07-08 17:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578842624001,"power":13406,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8804818771792177152}} 
[2026-07-08 17:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":126536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452656,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:17:16] local.INFO: GPS data processed {"connection_id":126536,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:17:16] local.INFO: Acknowledgment sent {"connection_id":126536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:17:34] local.INFO: TCP Data received {"connection_id":125758,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125758,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:17:34] local.INFO: Processing buffer {"connection_id":125758,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:17:34] local.INFO: IMEI packet received {"connection_id":125758,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 17:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":125758,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:17:36] local.INFO: TCP Data received {"connection_id":125659,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f418be110012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418be110012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:17:36] local.INFO: Processing buffer {"connection_id":125659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418be110012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:17:36] local.INFO: Packet analysis {"connection_id":125659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f418b"} 
[2026-07-08 17:17:36] local.INFO: Extracted packet for processing {"connection_id":125659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f418b"} 
[2026-07-08 17:17:36] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578839808001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783511114000,"timestamp_ms":1783511114000,"timestamp_seconds":1783511114,"priority":1,"record_length":96,"hex_timestamp":"0000019f418be110"} 
[2026-07-08 17:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 17:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578839808001,"66":12385,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578839808001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:17:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:17:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578839808001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":125659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:17:37] local.INFO: GPS data processed {"connection_id":125659,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:17:37] local.INFO: Acknowledgment sent {"connection_id":125659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:17:37] local.INFO: TCP Data received {"connection_id":125757,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f418c7198012d962300057d3f80000d015631..."} 
[2026-07-08 17:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418c7198012d962300057d3f80000d015631..."} 
[2026-07-08 17:17:37] local.INFO: Processing buffer {"connection_id":125757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418c7198012d962300057d3f80000d015631..."} 
[2026-07-08 17:17:37] local.INFO: Packet analysis {"connection_id":125757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f418c"} 
[2026-07-08 17:17:37] local.INFO: Extracted packet for processing {"connection_id":125757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f418c"} 
[2026-07-08 17:17:37] local.INFO: GPS Element Parsed {"raw_longitude":764814080,"raw_latitude":92094336,"longitude_deg":76.481408,"latitude_deg":9.2094336,"altitude":13,"angle":342,"satellites":49,"speed":57,"hex_longitude":"2d962300","hex_latitude":"057d3f80","is_valid_coordinates":true} 
[2026-07-08 17:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578852864001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342823417688358912,"note":"Value kept but may cause issues"} 
[2026-07-08 17:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7624734883052943360,"note":"Value kept but may cause issues"} 
[2026-07-08 17:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783511151000,"timestamp_ms":1783511151000,"timestamp_seconds":1783511151,"priority":1,"record_length":96,"hex_timestamp":"0000019f418c7198"} 
[2026-07-08 17:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 17:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578852864001,"66":27919,"19":206,"85":15360,"24":57,"16":342823417688358912,"45":-7624734883052943360},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-07-08 17:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578852864001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:17:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-08 17:17:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 17:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342823417688358912,"km_value":342823417688358.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7624734883052943360,"description":"Unknown IO ID 45"} 
[2026-07-08 17:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578852864001,"power":27919,"unknown_19":206,"unknown_85":15360,"ignition":57,"odometer":null,"unknown_45":-7624734883052943360}} 
[2026-07-08 17:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":125757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:17:37] local.INFO: GPS data processed {"connection_id":125757,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:17:37] local.INFO: Acknowledgment sent {"connection_id":125757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:17:38] local.INFO: TCP Data received {"connection_id":125758,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125758,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:17:38] local.INFO: Processing buffer {"connection_id":125758,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:17:38] local.INFO: IMEI packet received {"connection_id":125758,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":125758,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:17:39] local.INFO: TCP Data received {"connection_id":125758,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f418c5e10012d7a310005e45d28000700482b..."} 
[2026-07-08 17:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418c5e10012d7a310005e45d28000700482b..."} 
[2026-07-08 17:17:39] local.INFO: Processing buffer {"connection_id":125758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418c5e10012d7a310005e45d28000700482b..."} 
[2026-07-08 17:17:39] local.INFO: Packet analysis {"connection_id":125758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f418c"} 
[2026-07-08 17:17:39] local.INFO: Extracted packet for processing {"connection_id":125758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f418c"} 
[2026-07-08 17:17:39] local.INFO: GPS Element Parsed {"raw_longitude":762982656,"raw_latitude":98852136,"longitude_deg":76.2982656,"latitude_deg":9.8852136,"altitude":7,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d7a3100","hex_latitude":"05e45d28","is_valid_coordinates":true} 
[2026-07-08 17:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578848000001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103784113726554112,"note":"Value kept but may cause issues"} 
[2026-07-08 17:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804818771792177152,"note":"Value kept but may cause issues"} 
[2026-07-08 17:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783511146000,"timestamp_ms":1783511146000,"timestamp_seconds":1783511146,"priority":1,"record_length":96,"hex_timestamp":"0000019f418c5e10"} 
[2026-07-08 17:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-08 17:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578848000001,"66":13363,"157":206,"87":12288,"24":0,"16":103784113726554112,"45":8804818771792177152},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 17:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578848000001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:17:39] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 17:17:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-08 17:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103784113726554112,"km_value":103784113726554.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804818771792177152,"description":"Unknown IO ID 45"} 
[2026-07-08 17:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578848000001,"power":13363,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8804818771792177152}} 
[2026-07-08 17:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":125758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452659,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:17:39] local.INFO: GPS data processed {"connection_id":125758,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:17:39] local.INFO: Acknowledgment sent {"connection_id":125758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:17:41] local.INFO: TCP Data received {"connection_id":125758,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f418cb018012d7a310005e45d28000700482c..."} 
[2026-07-08 17:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418cb018012d7a310005e45d28000700482c..."} 
[2026-07-08 17:17:41] local.INFO: Processing buffer {"connection_id":125758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418cb018012d7a310005e45d28000700482c..."} 
[2026-07-08 17:17:41] local.INFO: Packet analysis {"connection_id":125758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f418c"} 
[2026-07-08 17:17:41] local.INFO: Extracted packet for processing {"connection_id":125758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f418c"} 
[2026-07-08 17:17:41] local.INFO: GPS Element Parsed {"raw_longitude":762982656,"raw_latitude":98852136,"longitude_deg":76.2982656,"latitude_deg":9.8852136,"altitude":7,"angle":72,"satellites":44,"speed":0,"hex_longitude":"2d7a3100","hex_latitude":"05e45d28","is_valid_coordinates":true} 
[2026-07-08 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-07-08 17:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578853376001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103784113726554112,"note":"Value kept but may cause issues"} 
[2026-07-08 17:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804818771792177152,"note":"Value kept but may cause issues"} 
[2026-07-08 17:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783511167000,"timestamp_ms":1783511167000,"timestamp_seconds":1783511167,"priority":1,"record_length":96,"hex_timestamp":"0000019f418cb018"} 
[2026-07-08 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-07-08 17:17: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-07-08 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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-08 17:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 17:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578853376001,"66":13363,"157":206,"87":12288,"24":0,"16":103784113726554112,"45":8804818771792177152},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-08 17:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578853376001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:17:41] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-08 17:17:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-08 17:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103784113726554112,"km_value":103784113726554.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804818771792177152,"description":"Unknown IO ID 45"} 
[2026-07-08 17:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578853376001,"power":13363,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8804818771792177152}} 
[2026-07-08 17:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":125758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452660,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:17:41] local.INFO: GPS data processed {"connection_id":125758,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:17:41] local.INFO: Acknowledgment sent {"connection_id":125758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:17:58] local.INFO: TCP Data received {"connection_id":125660,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:17:58] local.INFO: Processing buffer {"connection_id":125660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:17:58] local.INFO: IMEI packet received {"connection_id":125660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":125660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:17:59] local.INFO: TCP Data received {"connection_id":126538,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:17:59] local.INFO: Processing buffer {"connection_id":126538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:17:59] local.INFO: IMEI packet received {"connection_id":126538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":126538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:18:00] local.INFO: TCP Data received {"connection_id":126538,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:18:00] local.INFO: Processing buffer {"connection_id":126538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:18:00] local.INFO: IMEI packet received {"connection_id":126538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":126538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:18:00] local.INFO: TCP Data received {"connection_id":125660,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:18:00] local.INFO: Processing buffer {"connection_id":125660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:18:00] local.INFO: IMEI packet received {"connection_id":125660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":125660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:18:05] local.INFO: TCP Data received {"connection_id":125660,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:18:05] local.INFO: Processing buffer {"connection_id":125660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:18:05] local.INFO: IMEI packet received {"connection_id":125660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":125660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:18:05] local.INFO: TCP Data received {"connection_id":126538,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:18:05] local.INFO: Processing buffer {"connection_id":126538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:18:05] local.INFO: IMEI packet received {"connection_id":126538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":126538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:18:06] local.INFO: TCP Data received {"connection_id":125660,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f418c3318012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 17:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418c3318012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 17:18:06] local.INFO: Processing buffer {"connection_id":125660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418c3318012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 17:18:06] local.INFO: Packet analysis {"connection_id":125660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f418c"} 
[2026-07-08 17:18:06] local.INFO: Extracted packet for processing {"connection_id":125660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f418c"} 
[2026-07-08 17:18:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":46,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578845184001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783511135000,"timestamp_ms":1783511135000,"timestamp_seconds":1783511135,"priority":1,"record_length":96,"hex_timestamp":"0000019f418c3318"} 
[2026-07-08 17:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 17:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578845184001,"66":12385,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578845184001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:18:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:18:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578845184001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":125660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:18:06] local.INFO: GPS data processed {"connection_id":125660,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:18:06] local.INFO: Acknowledgment sent {"connection_id":125660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:18:06] local.INFO: TCP Data received {"connection_id":126538,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f418c8cf0012d9617c0057d6360000c01572f..."} 
[2026-07-08 17:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418c8cf0012d9617c0057d6360000c01572f..."} 
[2026-07-08 17:18:06] local.INFO: Processing buffer {"connection_id":126538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418c8cf0012d9617c0057d6360000c01572f..."} 
[2026-07-08 17:18:06] local.INFO: Packet analysis {"connection_id":126538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f418c"} 
[2026-07-08 17:18:06] local.INFO: Extracted packet for processing {"connection_id":126538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f418c"} 
[2026-07-08 17:18:06] local.INFO: GPS Element Parsed {"raw_longitude":764811200,"raw_latitude":92103520,"longitude_deg":76.48112,"latitude_deg":9.210352,"altitude":12,"angle":343,"satellites":47,"speed":48,"hex_longitude":"2d9617c0","hex_latitude":"057d6360","is_valid_coordinates":true} 
[2026-07-08 17:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578854656001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342823881544826880,"note":"Value kept but may cause issues"} 
[2026-07-08 17:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7628253320259338240,"note":"Value kept but may cause issues"} 
[2026-07-08 17:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783511158000,"timestamp_ms":1783511158000,"timestamp_seconds":1783511158,"priority":1,"record_length":96,"hex_timestamp":"0000019f418c8cf0"} 
[2026-07-08 17:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 17:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578854656001,"66":27800,"19":206,"85":15360,"24":48,"16":342823881544826880,"45":-7628253320259338240},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-07-08 17:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578854656001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:18:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-08 17:18:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 17:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342823881544826880,"km_value":342823881544826.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7628253320259338240,"description":"Unknown IO ID 45"} 
[2026-07-08 17:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578854656001,"power":27800,"unknown_19":206,"unknown_85":15360,"ignition":48,"odometer":null,"unknown_45":-7628253320259338240}} 
[2026-07-08 17:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":126538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:18:06] local.INFO: GPS data processed {"connection_id":126538,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:18:06] local.INFO: Acknowledgment sent {"connection_id":126538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:18:11] local.INFO: TCP Data received {"connection_id":126538,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f418ca848012d960e00057d84c0000c01572f..."} 
[2026-07-08 17:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418ca848012d960e00057d84c0000c01572f..."} 
[2026-07-08 17:18:11] local.INFO: Processing buffer {"connection_id":126538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418ca848012d960e00057d84c0000c01572f..."} 
[2026-07-08 17:18:11] local.INFO: Packet analysis {"connection_id":126538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f418c"} 
[2026-07-08 17:18:11] local.INFO: Extracted packet for processing {"connection_id":126538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f418c"} 
[2026-07-08 17:18:11] local.INFO: GPS Element Parsed {"raw_longitude":764808704,"raw_latitude":92112064,"longitude_deg":76.4808704,"latitude_deg":9.2112064,"altitude":12,"angle":343,"satellites":47,"speed":52,"hex_longitude":"2d960e00","hex_latitude":"057d84c0","is_valid_coordinates":true} 
[2026-07-08 17:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578856448001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342824315336523776,"note":"Value kept but may cause issues"} 
[2026-07-08 17:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7631419913744982016,"note":"Value kept but may cause issues"} 
[2026-07-08 17:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783511165000,"timestamp_ms":1783511165000,"timestamp_seconds":1783511165,"priority":1,"record_length":96,"hex_timestamp":"0000019f418ca848"} 
[2026-07-08 17:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 17:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578856448001,"66":27767,"19":206,"85":15360,"24":52,"16":342824315336523776,"45":-7631419913744982016},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-07-08 17:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578856448001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:18:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-08 17:18:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 17:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342824315336523776,"km_value":342824315336523.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7631419913744982016,"description":"Unknown IO ID 45"} 
[2026-07-08 17:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578856448001,"power":27767,"unknown_19":206,"unknown_85":15360,"ignition":52,"odometer":null,"unknown_45":-7631419913744982016}} 
[2026-07-08 17:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":126538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:18:11] local.INFO: GPS data processed {"connection_id":126538,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:18:11] local.INFO: Acknowledgment sent {"connection_id":126538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:18:36] local.INFO: TCP Data received {"connection_id":125660,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f418c8520012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418c8520012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:18:36] local.INFO: Processing buffer {"connection_id":125660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418c8520012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:18:36] local.INFO: Packet analysis {"connection_id":125660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f418c"} 
[2026-07-08 17:18:36] local.INFO: Extracted packet for processing {"connection_id":125660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f418c"} 
[2026-07-08 17:18:36] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578850560001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783511156000,"timestamp_ms":1783511156000,"timestamp_seconds":1783511156,"priority":1,"record_length":96,"hex_timestamp":"0000019f418c8520"} 
[2026-07-08 17:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 17:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578850560001,"66":12287,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578850560001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:18:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:18:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578850560001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":125660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:18:37] local.INFO: GPS data processed {"connection_id":125660,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:18:37] local.INFO: Acknowledgment sent {"connection_id":125660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:18:55] local.INFO: TCP Data received {"connection_id":126539,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:18:55] local.INFO: Processing buffer {"connection_id":126539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:18:55] local.INFO: IMEI packet received {"connection_id":126539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":126539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:19:00] local.INFO: TCP Data received {"connection_id":126539,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:19:00] local.INFO: Processing buffer {"connection_id":126539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:19:00] local.INFO: IMEI packet received {"connection_id":126539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":126539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:19:00] local.INFO: TCP Data received {"connection_id":127760,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:19:00] local.INFO: Processing buffer {"connection_id":127760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:19:00] local.INFO: IMEI packet received {"connection_id":127760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":127760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:19:00] local.INFO: TCP Data received {"connection_id":126539,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f418e7d08012d959480057ee830000c01562f..."} 
[2026-07-08 17:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418e7d08012d959480057ee830000c01562f..."} 
[2026-07-08 17:19:00] local.INFO: Processing buffer {"connection_id":126539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418e7d08012d959480057ee830000c01562f..."} 
[2026-07-08 17:19:00] local.INFO: Packet analysis {"connection_id":126539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f418e"} 
[2026-07-08 17:19:00] local.INFO: Extracted packet for processing {"connection_id":126539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f418e"} 
[2026-07-08 17:19:00] local.INFO: GPS Element Parsed {"raw_longitude":764777600,"raw_latitude":92203056,"longitude_deg":76.47776,"latitude_deg":9.2203056,"altitude":12,"angle":342,"satellites":47,"speed":45,"hex_longitude":"2d959480","hex_latitude":"057ee830","is_valid_coordinates":true} 
[2026-07-08 17:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578886400001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342828979671007232,"note":"Value kept but may cause issues"} 
[2026-07-08 17:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7665267279671412736,"note":"Value kept but may cause issues"} 
[2026-07-08 17:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783511285000,"timestamp_ms":1783511285000,"timestamp_seconds":1783511285,"priority":1,"record_length":96,"hex_timestamp":"0000019f418e7d08"} 
[2026-07-08 17:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:19:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:19: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-08 17:19:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:19:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578886400001,"66":27821,"236":206,"85":15360,"24":45,"16":342828979671007232,"45":-7665267279671412736},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-07-08 17:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578886400001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:19:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-08 17:19:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 17:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342828979671007232,"km_value":342828979671007.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7665267279671412736,"description":"Unknown IO ID 45"} 
[2026-07-08 17:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578886400001,"power":27821,"unknown_236":206,"unknown_85":15360,"ignition":45,"odometer":null,"unknown_45":-7665267279671412736}} 
[2026-07-08 17:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":126539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:19:00] local.INFO: GPS data processed {"connection_id":126539,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:19:00] local.INFO: Acknowledgment sent {"connection_id":126539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:19:01] local.INFO: TCP Data received {"connection_id":127760,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:19:01] local.INFO: Processing buffer {"connection_id":127760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:19:01] local.INFO: IMEI packet received {"connection_id":127760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":127760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:19:05] local.INFO: TCP Data received {"connection_id":127760,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:19:05] local.INFO: Processing buffer {"connection_id":127760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:19:05] local.INFO: IMEI packet received {"connection_id":127760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":127760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:19:09] local.INFO: TCP Data received {"connection_id":127760,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f418cd728012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418cd728012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:19:09] local.INFO: Processing buffer {"connection_id":127760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418cd728012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:19:09] local.INFO: Packet analysis {"connection_id":127760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f418c"} 
[2026-07-08 17:19:09] local.INFO: Extracted packet for processing {"connection_id":127760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f418c"} 
[2026-07-08 17:19:09] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578855936001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783511177000,"timestamp_ms":1783511177000,"timestamp_seconds":1783511177,"priority":1,"record_length":96,"hex_timestamp":"0000019f418cd728"} 
[2026-07-08 17:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 17:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":127760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":127760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":127760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578855936001,"66":12385,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578855936001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:19:09] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:19:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578855936001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":127760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:19:09] local.INFO: GPS data processed {"connection_id":127760,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:19:09] local.INFO: Acknowledgment sent {"connection_id":127760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:19:32] local.INFO: TCP Data received {"connection_id":126539,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f418e9c48012d958980057f0cb0000b01582b..."} 
[2026-07-08 17:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418e9c48012d958980057f0cb0000b01582b..."} 
[2026-07-08 17:19:32] local.INFO: Processing buffer {"connection_id":126539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418e9c48012d958980057f0cb0000b01582b..."} 
[2026-07-08 17:19:32] local.INFO: Packet analysis {"connection_id":126539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f418e"} 
[2026-07-08 17:19:32] local.INFO: Extracted packet for processing {"connection_id":126539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f418e"} 
[2026-07-08 17:19:32] local.INFO: GPS Element Parsed {"raw_longitude":764774784,"raw_latitude":92212400,"longitude_deg":76.4774784,"latitude_deg":9.22124,"altitude":11,"angle":344,"satellites":43,"speed":52,"hex_longitude":"2d958980","hex_latitude":"057f0cb0","is_valid_coordinates":true} 
[2026-07-08 17:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578888960001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342829452117409792,"note":"Value kept but may cause issues"} 
[2026-07-08 17:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7668363504412774400,"note":"Value kept but may cause issues"} 
[2026-07-08 17:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783511293000,"timestamp_ms":1783511293000,"timestamp_seconds":1783511293,"priority":1,"record_length":96,"hex_timestamp":"0000019f418e9c48"} 
[2026-07-08 17:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 17:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578888960001,"66":27876,"236":206,"85":15360,"24":52,"16":342829452117409792,"45":-7668363504412774400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-07-08 17:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578888960001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:19:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-08 17:19:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 17:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342829452117409792,"km_value":342829452117409.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7668363504412774400,"description":"Unknown IO ID 45"} 
[2026-07-08 17:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578888960001,"power":27876,"unknown_236":206,"unknown_85":15360,"ignition":52,"odometer":null,"unknown_45":-7668363504412774400}} 
[2026-07-08 17:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":126539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:19:32] local.INFO: GPS data processed {"connection_id":126539,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:19:32] local.INFO: Acknowledgment sent {"connection_id":126539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:19:40] local.INFO: TCP Data received {"connection_id":127760,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f418d2930012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418d2930012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:19:40] local.INFO: Processing buffer {"connection_id":127760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418d2930012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:19:40] local.INFO: Packet analysis {"connection_id":127760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f418d"} 
[2026-07-08 17:19:40] local.INFO: Extracted packet for processing {"connection_id":127760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f418d"} 
[2026-07-08 17:19:40] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578861312001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:19: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-07-08 17:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783511198000,"timestamp_ms":1783511198000,"timestamp_seconds":1783511198,"priority":1,"record_length":96,"hex_timestamp":"0000019f418d2930"} 
[2026-07-08 17:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 17:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":127760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":127760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":127760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578861312001,"66":12385,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578861312001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:19:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:19:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578861312001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":127760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:19:40] local.INFO: GPS data processed {"connection_id":127760,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:19:40] local.INFO: Acknowledgment sent {"connection_id":127760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:19:56] local.INFO: TCP Data received {"connection_id":125759,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:19:56] local.INFO: Processing buffer {"connection_id":125759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:19:56] local.INFO: IMEI packet received {"connection_id":125759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":125759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:19:56] local.INFO: TCP Data received {"connection_id":125759,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:19:56] local.INFO: Processing buffer {"connection_id":125759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:19:56] local.INFO: IMEI packet received {"connection_id":125759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":125759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:20:00] local.INFO: TCP Data received {"connection_id":125662,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:20:00] local.INFO: Processing buffer {"connection_id":125662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:20:00] local.INFO: IMEI packet received {"connection_id":125662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":125662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:20:01] local.INFO: TCP Data received {"connection_id":125759,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:20:01] local.INFO: Processing buffer {"connection_id":125759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:20:01] local.INFO: IMEI packet received {"connection_id":125759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":125759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:20:01] local.INFO: TCP Data received {"connection_id":125759,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f418ebb88012d957ec0057f31e0000b01572e..."} 
[2026-07-08 17:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418ebb88012d957ec0057f31e0000b01572e..."} 
[2026-07-08 17:20:01] local.INFO: Processing buffer {"connection_id":125759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418ebb88012d957ec0057f31e0000b01572e..."} 
[2026-07-08 17:20:01] local.INFO: Packet analysis {"connection_id":125759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f418e"} 
[2026-07-08 17:20:01] local.INFO: Extracted packet for processing {"connection_id":125759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f418e"} 
[2026-07-08 17:20:01] local.INFO: GPS Element Parsed {"raw_longitude":764772032,"raw_latitude":92221920,"longitude_deg":76.4772032,"latitude_deg":9.222192,"altitude":11,"angle":343,"satellites":46,"speed":48,"hex_longitude":"2d957ec0","hex_latitude":"057f31e0","is_valid_coordinates":true} 
[2026-07-08 17:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578891008001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342829928858779648,"note":"Value kept but may cause issues"} 
[2026-07-08 17:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7671459729154199552,"note":"Value kept but may cause issues"} 
[2026-07-08 17:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783511301000,"timestamp_ms":1783511301000,"timestamp_seconds":1783511301,"priority":1,"record_length":96,"hex_timestamp":"0000019f418ebb88"} 
[2026-07-08 17:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:20: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-07-08 17:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 17:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:20:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578891008001,"66":27887,"236":206,"85":15360,"24":48,"16":342829928858779648,"45":-7671459729154199552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-07-08 17:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578891008001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:20:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-08 17:20:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 17:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342829928858779648,"km_value":342829928858779.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7671459729154199552,"description":"Unknown IO ID 45"} 
[2026-07-08 17:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578891008001,"power":27887,"unknown_236":206,"unknown_85":15360,"ignition":48,"odometer":null,"unknown_45":-7671459729154199552}} 
[2026-07-08 17:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":125759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:20:01] local.INFO: GPS data processed {"connection_id":125759,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:20:01] local.INFO: Acknowledgment sent {"connection_id":125759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:20:04] local.INFO: TCP Data received {"connection_id":125662,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:20:04] local.INFO: Processing buffer {"connection_id":125662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:20:04] local.INFO: IMEI packet received {"connection_id":125662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":125662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:20:05] local.INFO: TCP Data received {"connection_id":125662,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f418d7b38012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 17:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418d7b38012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 17:20:05] local.INFO: Processing buffer {"connection_id":125662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418d7b38012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 17:20:05] local.INFO: Packet analysis {"connection_id":125662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f418d"} 
[2026-07-08 17:20:05] local.INFO: Extracted packet for processing {"connection_id":125662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f418d"} 
[2026-07-08 17:20:05] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":46,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578866688001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783511219000,"timestamp_ms":1783511219000,"timestamp_seconds":1783511219,"priority":1,"record_length":96,"hex_timestamp":"0000019f418d7b38"} 
[2026-07-08 17:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":97,"data_length":795,"current_offset":136} 
[2026-07-08 17:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578866688001,"66":12341,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578866688001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:20:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:20:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578866688001,"power":12341,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":125662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:20:05] local.INFO: GPS data processed {"connection_id":125662,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:20:05] local.INFO: Acknowledgment sent {"connection_id":125662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:20:32] local.INFO: TCP Data received {"connection_id":125759,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f418ed6e0012d957540057f53e0000a015830..."} 
[2026-07-08 17:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418ed6e0012d957540057f53e0000a015830..."} 
[2026-07-08 17:20:32] local.INFO: Processing buffer {"connection_id":125759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418ed6e0012d957540057f53e0000a015830..."} 
[2026-07-08 17:20:32] local.INFO: Packet analysis {"connection_id":125759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f418e"} 
[2026-07-08 17:20:32] local.INFO: Extracted packet for processing {"connection_id":125759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f418e"} 
[2026-07-08 17:20:32] local.INFO: GPS Element Parsed {"raw_longitude":764769600,"raw_latitude":92230624,"longitude_deg":76.47696,"latitude_deg":9.2230624,"altitude":10,"angle":344,"satellites":48,"speed":53,"hex_longitude":"2d957540","hex_latitude":"057f53e0","is_valid_coordinates":true} 
[2026-07-08 17:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578893056001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342830366945443840,"note":"Value kept but may cause issues"} 
[2026-07-08 17:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7674485585151401984,"note":"Value kept but may cause issues"} 
[2026-07-08 17:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783511308000,"timestamp_ms":1783511308000,"timestamp_seconds":1783511308,"priority":1,"record_length":96,"hex_timestamp":"0000019f418ed6e0"} 
[2026-07-08 17:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:20: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":239,"data_length":795,"current_offset":136} 
[2026-07-08 17:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578893056001,"66":27974,"236":206,"85":15360,"24":53,"16":342830366945443840,"45":-7674485585151401984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-07-08 17:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578893056001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:20:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-08 17:20:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 17:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342830366945443840,"km_value":342830366945443.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7674485585151401984,"description":"Unknown IO ID 45"} 
[2026-07-08 17:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578893056001,"power":27974,"unknown_236":206,"unknown_85":15360,"ignition":53,"odometer":null,"unknown_45":-7674485585151401984}} 
[2026-07-08 17:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":125759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:20:32] local.INFO: GPS data processed {"connection_id":125759,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:20:32] local.INFO: Acknowledgment sent {"connection_id":125759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:20:35] local.INFO: TCP Data received {"connection_id":125662,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f418dcd40012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418dcd40012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:20:35] local.INFO: Processing buffer {"connection_id":125662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418dcd40012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:20:35] local.INFO: Packet analysis {"connection_id":125662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f418d"} 
[2026-07-08 17:20:35] local.INFO: Extracted packet for processing {"connection_id":125662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f418d"} 
[2026-07-08 17:20:35] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":43,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578872064001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783511240000,"timestamp_ms":1783511240000,"timestamp_seconds":1783511240,"priority":1,"record_length":96,"hex_timestamp":"0000019f418dcd40"} 
[2026-07-08 17:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 17:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578872064001,"66":12298,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578872064001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:20:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:20:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578872064001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":125662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:20:36] local.INFO: GPS data processed {"connection_id":125662,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:20:36] local.INFO: Acknowledgment sent {"connection_id":125662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:20:36] local.INFO: TCP Data received {"connection_id":125663,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125663,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:20:36] local.INFO: Processing buffer {"connection_id":125663,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:20:36] local.INFO: IMEI packet received {"connection_id":125663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 17:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":125663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:20:38] local.INFO: TCP Data received {"connection_id":125663,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125663,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:20:38] local.INFO: Processing buffer {"connection_id":125663,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:20:38] local.INFO: IMEI packet received {"connection_id":125663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":125663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:20:41] local.INFO: TCP Data received {"connection_id":125663,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125663,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:20:41] local.INFO: Processing buffer {"connection_id":125663,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:20:41] local.INFO: IMEI packet received {"connection_id":125663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":125663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:20:43] local.INFO: TCP Data received {"connection_id":125663,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f41906938012d7b014005e35f60000a00992c..."} 
[2026-07-08 17:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41906938012d7b014005e35f60000a00992c..."} 
[2026-07-08 17:20:43] local.INFO: Processing buffer {"connection_id":125663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41906938012d7b014005e35f60000a00992c..."} 
[2026-07-08 17:20:43] local.INFO: Packet analysis {"connection_id":125663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4190"} 
[2026-07-08 17:20:43] local.INFO: Extracted packet for processing {"connection_id":125663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4190"} 
[2026-07-08 17:20:43] local.INFO: GPS Element Parsed {"raw_longitude":763035968,"raw_latitude":98787168,"longitude_deg":76.3035968,"latitude_deg":9.8787168,"altitude":10,"angle":153,"satellites":44,"speed":17,"hex_longitude":"2d7b0140","hex_latitude":"05e35f60","is_valid_coordinates":true} 
[2026-07-08 17: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-07-08 17:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578919680001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103788739406331904,"note":"Value kept but may cause issues"} 
[2026-07-08 17:20:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8862591510746058752,"note":"Value kept but may cause issues"} 
[2026-07-08 17:20:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783511411000,"timestamp_ms":1783511411000,"timestamp_seconds":1783511411,"priority":1,"record_length":96,"hex_timestamp":"0000019f41906938"} 
[2026-07-08 17:20:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:20:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-08 17:20:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17: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-07-08 17:20:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":125663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":125663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":125663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:20:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578919680001,"66":13102,"97":206,"85":15104,"24":17,"16":103788739406331904,"45":8862591510746058752},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-08 17:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578919680001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:20:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-08 17:20:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103788739406331904,"km_value":103788739406331.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:20:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8862591510746058752,"description":"Unknown IO ID 45"} 
[2026-07-08 17:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578919680001,"power":13102,"unknown_97":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8862591510746058752}} 
[2026-07-08 17:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":125663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452673,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:20:43] local.INFO: GPS data processed {"connection_id":125663,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:20:43] local.INFO: Acknowledgment sent {"connection_id":125663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:20:45] local.INFO: TCP Data received {"connection_id":125663,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f41909430012d7b08c005e34e90000900a52b..."} 
[2026-07-08 17:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41909430012d7b08c005e34e90000900a52b..."} 
[2026-07-08 17:20:45] local.INFO: Processing buffer {"connection_id":125663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41909430012d7b08c005e34e90000900a52b..."} 
[2026-07-08 17:20:45] local.INFO: Packet analysis {"connection_id":125663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4190"} 
[2026-07-08 17:20:45] local.INFO: Extracted packet for processing {"connection_id":125663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4190"} 
[2026-07-08 17:20:45] local.INFO: GPS Element Parsed {"raw_longitude":763037888,"raw_latitude":98782864,"longitude_deg":76.3037888,"latitude_deg":9.8782864,"altitude":9,"angle":165,"satellites":43,"speed":9,"hex_longitude":"2d7b08c0","hex_latitude":"05e34e90","is_valid_coordinates":true} 
[2026-07-08 17:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578921216001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103788988514435072,"note":"Value kept but may cause issues"} 
[2026-07-08 17:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863435935675539456,"note":"Value kept but may cause issues"} 
[2026-07-08 17:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783511422000,"timestamp_ms":1783511422000,"timestamp_seconds":1783511422,"priority":1,"record_length":96,"hex_timestamp":"0000019f41909430"} 
[2026-07-08 17:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:20:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:20: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":46,"data_length":795,"current_offset":136} 
[2026-07-08 17:20:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:20:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":125663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":125663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":125663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578921216001,"66":12341,"97":206,"85":15104,"24":9,"16":103788988514435072,"45":8863435935675539456},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-08 17:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578921216001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:20:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-08 17:20:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103788988514435072,"km_value":103788988514435.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863435935675539456,"description":"Unknown IO ID 45"} 
[2026-07-08 17:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578921216001,"power":12341,"unknown_97":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8863435935675539456}} 
[2026-07-08 17:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":125663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452674,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:20:45] local.INFO: GPS data processed {"connection_id":125663,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:20:45] local.INFO: Acknowledgment sent {"connection_id":125663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:20:55] local.INFO: TCP Data received {"connection_id":127761,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:20:55] local.INFO: Processing buffer {"connection_id":127761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:20:55] local.INFO: IMEI packet received {"connection_id":127761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":127761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:21:00] local.INFO: TCP Data received {"connection_id":127762,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:21:00] local.INFO: Processing buffer {"connection_id":127762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:21:00] local.INFO: IMEI packet received {"connection_id":127762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":127762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:21:00] local.INFO: TCP Data received {"connection_id":127761,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:21:00] local.INFO: Processing buffer {"connection_id":127761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:21:00] local.INFO: IMEI packet received {"connection_id":127761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":127761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:21:01] local.INFO: TCP Data received {"connection_id":127761,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f419026d0012d94d7000580d920000a01512e..."} 
[2026-07-08 17:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f419026d0012d94d7000580d920000a01512e..."} 
[2026-07-08 17:21:01] local.INFO: Processing buffer {"connection_id":127761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f419026d0012d94d7000580d920000a01512e..."} 
[2026-07-08 17:21:01] local.INFO: Packet analysis {"connection_id":127761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4190"} 
[2026-07-08 17:21:01] local.INFO: Extracted packet for processing {"connection_id":127761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4190"} 
[2026-07-08 17:21:01] local.INFO: GPS Element Parsed {"raw_longitude":764729088,"raw_latitude":92330272,"longitude_deg":76.4729088,"latitude_deg":9.2330272,"altitude":10,"angle":337,"satellites":46,"speed":44,"hex_longitude":"2d94d700","hex_latitude":"0580d920","is_valid_coordinates":true} 
[2026-07-08 17:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578914560001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342835585330708480,"note":"Value kept but may cause issues"} 
[2026-07-08 17:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7718043837771943936,"note":"Value kept but may cause issues"} 
[2026-07-08 17:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783511394000,"timestamp_ms":1783511394000,"timestamp_seconds":1783511394,"priority":1,"record_length":96,"hex_timestamp":"0000019f419026d0"} 
[2026-07-08 17:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 17:21:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:21:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578914560001,"66":27745,"19":206,"85":15360,"24":44,"16":342835585330708480,"45":-7718043837771943936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-07-08 17:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578914560001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:21:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-08 17:21:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 17:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342835585330708480,"km_value":342835585330708.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7718043837771943936,"description":"Unknown IO ID 45"} 
[2026-07-08 17:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578914560001,"power":27745,"unknown_19":206,"unknown_85":15360,"ignition":44,"odometer":null,"unknown_45":-7718043837771943936}} 
[2026-07-08 17:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":127761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:21:01] local.INFO: GPS data processed {"connection_id":127761,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:21:01] local.INFO: Acknowledgment sent {"connection_id":127761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:21:05] local.INFO: TCP Data received {"connection_id":127762,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:21:05] local.INFO: Processing buffer {"connection_id":127762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:21:05] local.INFO: IMEI packet received {"connection_id":127762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":127762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:21:06] local.INFO: TCP Data received {"connection_id":127762,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f418e1f48012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418e1f48012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:21:06] local.INFO: Processing buffer {"connection_id":127762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418e1f48012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:21:06] local.INFO: Packet analysis {"connection_id":127762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f418e"} 
[2026-07-08 17:21:06] local.INFO: Extracted packet for processing {"connection_id":127762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f418e"} 
[2026-07-08 17:21:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578877440001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783511261000,"timestamp_ms":1783511261000,"timestamp_seconds":1783511261,"priority":1,"record_length":96,"hex_timestamp":"0000019f418e1f48"} 
[2026-07-08 17:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 17:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-08 17:21:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-08 17:21:06] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185617,"note":"Value kept but may cause issues"} 
[2026-07-08 17:21:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 17:21:06] local.WARNING: Large IO value detected {"io_id":86,"raw_value":-2954361355555045375,"note":"Value kept but may cause issues"} 
[2026-07-08 17:21:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4723025898770340198,"note":"Value kept but may cause issues"} 
[2026-07-08 17:21:06] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390360156569690,"note":"Value kept but may cause issues"} 
[2026-07-08 17:21:06] local.WARNING: Large IO value detected {"io_id":62,"raw_value":25382225927208960,"note":"Value kept but may cause issues"} 
[2026-07-08 17:21:06] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-07-08 17:21:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068469049786574,"note":"Value kept but may cause issues"} 
[2026-07-08 17:21:06] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2357534721,"note":"Value kept but may cause issues"} 
[2026-07-08 17:21:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3989831742,"note":"Value kept but may cause issues"} 
[2026-07-08 17:21:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-08 17:21:06] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3221692397,"note":"Value kept but may cause issues"} 
[2026-07-08 17:21:06] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,103,83,24,241,157,16,86,159,123,45,192,237,62,46,10,66,41,44,215,1,240,97,227,65,31,4,113,205,51,102,208,239,48,2,17,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-08 17:21:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467669971081625600,"timestamp_seconds":4467669971081625.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 17:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578877440001,"66":12374,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578877440001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:21:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:21:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578877440001,"power":12374,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":127762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:21:06] local.INFO: GPS data processed {"connection_id":127762,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:21:06] local.INFO: Acknowledgment sent {"connection_id":127762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:21:16] local.INFO: TCP Data received {"connection_id":125663,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4190c6f8012d7b0d8005e33bb8000900bc20..."} 
[2026-07-08 17:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4190c6f8012d7b0d8005e33bb8000900bc20..."} 
[2026-07-08 17:21:16] local.INFO: Processing buffer {"connection_id":125663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4190c6f8012d7b0d8005e33bb8000900bc20..."} 
[2026-07-08 17:21:16] local.INFO: Packet analysis {"connection_id":125663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4190"} 
[2026-07-08 17:21:16] local.INFO: Extracted packet for processing {"connection_id":125663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4190"} 
[2026-07-08 17:21:16] local.INFO: GPS Element Parsed {"raw_longitude":763039104,"raw_latitude":98778040,"longitude_deg":76.3039104,"latitude_deg":9.877804,"altitude":9,"angle":188,"satellites":32,"speed":20,"hex_longitude":"2d7b0d80","hex_latitude":"05e33bb8","is_valid_coordinates":true} 
[2026-07-08 17:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578924032001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103789233327570944,"note":"Value kept but may cause issues"} 
[2026-07-08 17:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865546997999767552,"note":"Value kept but may cause issues"} 
[2026-07-08 17:21:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783511435000,"timestamp_ms":1783511435000,"timestamp_seconds":1783511435,"priority":1,"record_length":96,"hex_timestamp":"0000019f4190c6f8"} 
[2026-07-08 17:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:21:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 17:21:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:21:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":125663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":125663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":125663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578924032001,"66":13254,"97":206,"85":15104,"24":20,"16":103789233327570944,"45":8865546997999767552},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-08 17:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578924032001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:21:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-08 17:21:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103789233327570944,"km_value":103789233327570.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865546997999767552,"description":"Unknown IO ID 45"} 
[2026-07-08 17:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578924032001,"power":13254,"unknown_97":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8865546997999767552}} 
[2026-07-08 17:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":125663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452677,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:21:16] local.INFO: GPS data processed {"connection_id":125663,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:21:16] local.INFO: Acknowledgment sent {"connection_id":125663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:21:31] local.INFO: TCP Data received {"connection_id":125761,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125761,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:21:31] local.INFO: Processing buffer {"connection_id":125761,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:21:31] local.INFO: IMEI packet received {"connection_id":125761,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 17:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":125761,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:21:33] local.INFO: TCP Data received {"connection_id":127761,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f419049f8012d94c9800580fbb8000b01552c..."} 
[2026-07-08 17:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f419049f8012d94c9800580fbb8000b01552c..."} 
[2026-07-08 17:21:33] local.INFO: Processing buffer {"connection_id":127761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f419049f8012d94c9800580fbb8000b01552c..."} 
[2026-07-08 17:21:33] local.INFO: Packet analysis {"connection_id":127761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4190"} 
[2026-07-08 17:21:33] local.INFO: Extracted packet for processing {"connection_id":127761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4190"} 
[2026-07-08 17:21:33] local.INFO: GPS Element Parsed {"raw_longitude":764725632,"raw_latitude":92339128,"longitude_deg":76.4725632,"latitude_deg":9.2339128,"altitude":11,"angle":341,"satellites":44,"speed":32,"hex_longitude":"2d94c980","hex_latitude":"0580fbb8","is_valid_coordinates":true} 
[2026-07-08 17:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578916864001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342836044892209152,"note":"Value kept but may cause issues"} 
[2026-07-08 17:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7721703012466876416,"note":"Value kept but may cause issues"} 
[2026-07-08 17:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783511403000,"timestamp_ms":1783511403000,"timestamp_seconds":1783511403,"priority":1,"record_length":96,"hex_timestamp":"0000019f419049f8"} 
[2026-07-08 17:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:21: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-07-08 17:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 17:21:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:21:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578916864001,"66":27887,"19":206,"85":15360,"24":32,"16":342836044892209152,"45":-7721703012466876416},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-07-08 17:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578916864001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:21:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-08 17:21:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 17:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342836044892209152,"km_value":342836044892209.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7721703012466876416,"description":"Unknown IO ID 45"} 
[2026-07-08 17:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578916864001,"power":27887,"unknown_19":206,"unknown_85":15360,"ignition":32,"odometer":null,"unknown_45":-7721703012466876416}} 
[2026-07-08 17:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":127761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:21:33] local.INFO: GPS data processed {"connection_id":127761,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:21:33] local.INFO: Acknowledgment sent {"connection_id":127761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:21:36] local.INFO: TCP Data received {"connection_id":127762,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f418e7150012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418e7150012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:21:36] local.INFO: Processing buffer {"connection_id":127762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418e7150012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:21:36] local.INFO: Packet analysis {"connection_id":127762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f418e"} 
[2026-07-08 17:21:36] local.INFO: Extracted packet for processing {"connection_id":127762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f418e"} 
[2026-07-08 17:21:36] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578882816001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783511282000,"timestamp_ms":1783511282000,"timestamp_seconds":1783511282,"priority":1,"record_length":96,"hex_timestamp":"0000019f418e7150"} 
[2026-07-08 17:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 17:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578882816001,"66":12341,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578882816001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:21:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:21:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578882816001,"power":12341,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":127762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:21:36] local.INFO: GPS data processed {"connection_id":127762,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:21:36] local.INFO: Acknowledgment sent {"connection_id":127762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:21:36] local.INFO: TCP Data received {"connection_id":125761,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125761,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:21:36] local.INFO: Processing buffer {"connection_id":125761,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:21:36] local.INFO: IMEI packet received {"connection_id":125761,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":125761,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:21:38] local.INFO: TCP Data received {"connection_id":125761,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4190e250012d7b0c8005e32920000900b124..."} 
[2026-07-08 17:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4190e250012d7b0c8005e32920000900b124..."} 
[2026-07-08 17:21:38] local.INFO: Processing buffer {"connection_id":125761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4190e250012d7b0c8005e32920000900b124..."} 
[2026-07-08 17:21:38] local.INFO: Packet analysis {"connection_id":125761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4190"} 
[2026-07-08 17:21:38] local.INFO: Extracted packet for processing {"connection_id":125761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4190"} 
[2026-07-08 17:21:38] local.INFO: GPS Element Parsed {"raw_longitude":763038848,"raw_latitude":98773280,"longitude_deg":76.3038848,"latitude_deg":9.877328,"altitude":9,"angle":177,"satellites":36,"speed":28,"hex_longitude":"2d7b0c80","hex_latitude":"05e32920","is_valid_coordinates":true} 
[2026-07-08 17:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578927360001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103789465255804928,"note":"Value kept but may cause issues"} 
[2026-07-08 17:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866884004137908224,"note":"Value kept but may cause issues"} 
[2026-07-08 17:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783511442000,"timestamp_ms":1783511442000,"timestamp_seconds":1783511442,"priority":1,"record_length":96,"hex_timestamp":"0000019f4190e250"} 
[2026-07-08 17:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-08 17:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578927360001,"66":12613,"97":206,"85":15104,"24":28,"16":103789465255804928,"45":8866884004137908224},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-08 17:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578927360001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:21:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-08 17:21:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103789465255804928,"km_value":103789465255804.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866884004137908224,"description":"Unknown IO ID 45"} 
[2026-07-08 17:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578927360001,"power":12613,"unknown_97":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8866884004137908224}} 
[2026-07-08 17:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":125761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452680,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:21:38] local.INFO: GPS data processed {"connection_id":125761,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:21:38] local.INFO: Acknowledgment sent {"connection_id":125761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:21:55] local.INFO: TCP Data received {"connection_id":125763,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:21:55] local.INFO: Processing buffer {"connection_id":125763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:21:55] local.INFO: IMEI packet received {"connection_id":125763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":125763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:21:58] local.INFO: TCP Data received {"connection_id":125763,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:21:58] local.INFO: Processing buffer {"connection_id":125763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:21:58] local.INFO: IMEI packet received {"connection_id":125763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":125763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:22:00] local.INFO: TCP Data received {"connection_id":125764,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:22:00] local.INFO: Processing buffer {"connection_id":125764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:22:00] local.INFO: IMEI packet received {"connection_id":125764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":125764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:22:00] local.INFO: TCP Data received {"connection_id":125763,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:22:00] local.INFO: Processing buffer {"connection_id":125763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:22:00] local.INFO: IMEI packet received {"connection_id":125763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":125763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:22:02] local.INFO: TCP Data received {"connection_id":125763,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f419051c8012d94c84005810130000b01652b..."} 
[2026-07-08 17:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f419051c8012d94c84005810130000b01652b..."} 
[2026-07-08 17:22:02] local.INFO: Processing buffer {"connection_id":125763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f419051c8012d94c84005810130000b01652b..."} 
[2026-07-08 17:22:02] local.INFO: Packet analysis {"connection_id":125763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4190"} 
[2026-07-08 17:22:02] local.INFO: Extracted packet for processing {"connection_id":125763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4190"} 
[2026-07-08 17:22:02] local.INFO: GPS Element Parsed {"raw_longitude":764725312,"raw_latitude":92340528,"longitude_deg":76.4725312,"latitude_deg":9.2340528,"altitude":11,"angle":357,"satellites":43,"speed":26,"hex_longitude":"2d94c840","hex_latitude":"05810130","is_valid_coordinates":true} 
[2026-07-08 17:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578919168001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342836117906653184,"note":"Value kept but may cause issues"} 
[2026-07-08 17:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7725502924650203136,"note":"Value kept but may cause issues"} 
[2026-07-08 17:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783511405000,"timestamp_ms":1783511405000,"timestamp_seconds":1783511405,"priority":1,"record_length":96,"hex_timestamp":"0000019f419051c8"} 
[2026-07-08 17:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-08 17:22:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:22:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578919168001,"66":27919,"19":206,"85":15360,"24":26,"16":342836117906653184,"45":-7725502924650203136},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-07-08 17:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578919168001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:22:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-08 17:22:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 17:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342836117906653184,"km_value":342836117906653.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7725502924650203136,"description":"Unknown IO ID 45"} 
[2026-07-08 17:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578919168001,"power":27919,"unknown_19":206,"unknown_85":15360,"ignition":26,"odometer":null,"unknown_45":-7725502924650203136}} 
[2026-07-08 17:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":125763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:22:02] local.INFO: GPS data processed {"connection_id":125763,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:22:02] local.INFO: Acknowledgment sent {"connection_id":125763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:22:05] local.INFO: TCP Data received {"connection_id":125764,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:22:05] local.INFO: Processing buffer {"connection_id":125764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:22:05] local.INFO: IMEI packet received {"connection_id":125764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":125764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:22:06] local.INFO: TCP Data received {"connection_id":125764,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f418ec358012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418ec358012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:22:06] local.INFO: Processing buffer {"connection_id":125764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418ec358012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:22:06] local.INFO: Packet analysis {"connection_id":125764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f418e"} 
[2026-07-08 17:22:06] local.INFO: Extracted packet for processing {"connection_id":125764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f418e"} 
[2026-07-08 17:22:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578888192001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783511303000,"timestamp_ms":1783511303000,"timestamp_seconds":1783511303,"priority":1,"record_length":96,"hex_timestamp":"0000019f418ec358"} 
[2026-07-08 17:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 17:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578888192001,"66":11971,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578888192001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:22:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:22:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578888192001,"power":11971,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":125764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:22:06] local.INFO: GPS data processed {"connection_id":125764,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:22:06] local.INFO: Acknowledgment sent {"connection_id":125764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:22:09] local.INFO: TCP Data received {"connection_id":125761,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f41913070012d7b140005e30af8000400a820..."} 
[2026-07-08 17:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41913070012d7b140005e30af8000400a820..."} 
[2026-07-08 17:22:09] local.INFO: Processing buffer {"connection_id":125761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41913070012d7b140005e30af8000400a820..."} 
[2026-07-08 17:22:09] local.INFO: Packet analysis {"connection_id":125761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4191"} 
[2026-07-08 17:22:09] local.INFO: Extracted packet for processing {"connection_id":125761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4191"} 
[2026-07-08 17:22:09] local.INFO: GPS Element Parsed {"raw_longitude":763040768,"raw_latitude":98765560,"longitude_deg":76.3040768,"latitude_deg":9.876556,"altitude":4,"angle":168,"satellites":32,"speed":5,"hex_longitude":"2d7b1400","hex_latitude":"05e30af8","is_valid_coordinates":true} 
[2026-07-08 17:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578929152001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103789856097828864,"note":"Value kept but may cause issues"} 
[2026-07-08 17:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866602529159979008,"note":"Value kept but may cause issues"} 
[2026-07-08 17:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783511462000,"timestamp_ms":1783511462000,"timestamp_seconds":1783511462,"priority":1,"record_length":96,"hex_timestamp":"0000019f41913070"} 
[2026-07-08 17:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":69,"data_length":795,"current_offset":136} 
[2026-07-08 17:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578929152001,"66":12298,"97":206,"85":15104,"24":5,"16":103789856097828864,"45":8866602529159979008},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-08 17:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578929152001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:22:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-08 17:22:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103789856097828864,"km_value":103789856097828.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866602529159979008,"description":"Unknown IO ID 45"} 
[2026-07-08 17:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578929152001,"power":12298,"unknown_97":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8866602529159979008}} 
[2026-07-08 17:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":125761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452683,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:22:09] local.INFO: GPS data processed {"connection_id":125761,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:22:09] local.INFO: Acknowledgment sent {"connection_id":125761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:22:31] local.INFO: TCP Data received {"connection_id":125762,"ip":"42.106.6.12","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125762,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:22:31] local.INFO: Processing buffer {"connection_id":125762,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:22:31] local.INFO: IMEI packet received {"connection_id":125762,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 17:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":125762,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:22:31] local.INFO: TCP Data received {"connection_id":125664,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125664,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:22:31] local.INFO: Processing buffer {"connection_id":125664,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:22:31] local.INFO: IMEI packet received {"connection_id":125664,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 17:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":125664,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:22:32] local.INFO: TCP Data received {"connection_id":125664,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125664,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:22:32] local.INFO: Processing buffer {"connection_id":125664,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:22:32] local.INFO: IMEI packet received {"connection_id":125664,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":125664,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:22:33] local.INFO: TCP Data received {"connection_id":125664,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125664,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:22:33] local.INFO: Processing buffer {"connection_id":125664,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:22:33] local.INFO: IMEI packet received {"connection_id":125664,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":125664,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:22:33] local.INFO: TCP Data received {"connection_id":125763,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4191bd10012d94668005820360000c01442f..."} 
[2026-07-08 17:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4191bd10012d94668005820360000c01442f..."} 
[2026-07-08 17:22:33] local.INFO: Processing buffer {"connection_id":125763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4191bd10012d94668005820360000c01442f..."} 
[2026-07-08 17:22:33] local.INFO: Packet analysis {"connection_id":125763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4191"} 
[2026-07-08 17:22:33] local.INFO: Extracted packet for processing {"connection_id":125763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4191"} 
[2026-07-08 17:22:33] local.INFO: GPS Element Parsed {"raw_longitude":764700288,"raw_latitude":92406624,"longitude_deg":76.4700288,"latitude_deg":9.2406624,"altitude":12,"angle":324,"satellites":47,"speed":33,"hex_longitude":"2d946680","hex_latitude":"05820360","is_valid_coordinates":true} 
[2026-07-08 17: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-07-08 17:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578941184001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342839571060359168,"note":"Value kept but may cause issues"} 
[2026-07-08 17:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7749006085190449152,"note":"Value kept but may cause issues"} 
[2026-07-08 17:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783511498000,"timestamp_ms":1783511498000,"timestamp_seconds":1783511498,"priority":1,"record_length":96,"hex_timestamp":"0000019f4191bd10"} 
[2026-07-08 17:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-08 17:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17: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-07-08 17:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578941184001,"66":27919,"17":206,"85":15360,"24":33,"16":342839571060359168,"45":-7749006085190449152},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-07-08 17:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578941184001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:22:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 17:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342839571060359168,"km_value":342839571060359.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7749006085190449152,"description":"Unknown IO ID 45"} 
[2026-07-08 17:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578941184001,"power":27919,"axis_x":206,"unknown_85":15360,"ignition":33,"odometer":null,"unknown_45":-7749006085190449152}} 
[2026-07-08 17:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":125763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:22:33] local.INFO: GPS data processed {"connection_id":125763,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:22:33] local.INFO: Acknowledgment sent {"connection_id":125763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:22:35] local.INFO: TCP Data received {"connection_id":125664,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125664,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:22:35] local.INFO: Processing buffer {"connection_id":125664,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:22:35] local.INFO: IMEI packet received {"connection_id":125664,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":125664,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:22:36] local.INFO: TCP Data received {"connection_id":125664,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f41928830012d7b684005e312380004004328..."} 
[2026-07-08 17:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41928830012d7b684005e312380004004328..."} 
[2026-07-08 17:22:36] local.INFO: Processing buffer {"connection_id":125664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41928830012d7b684005e312380004004328..."} 
[2026-07-08 17:22:36] local.INFO: Packet analysis {"connection_id":125664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4192"} 
[2026-07-08 17:22:36] local.INFO: Extracted packet for processing {"connection_id":125664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4192"} 
[2026-07-08 17:22:36] local.INFO: GPS Element Parsed {"raw_longitude":763062336,"raw_latitude":98767416,"longitude_deg":76.3062336,"latitude_deg":9.8767416,"altitude":4,"angle":67,"satellites":40,"speed":11,"hex_longitude":"2d7b6840","hex_latitude":"05e31238","is_valid_coordinates":true} 
[2026-07-08 17:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578954752001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103790899774881792,"note":"Value kept but may cause issues"} 
[2026-07-08 17:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889613108504471552,"note":"Value kept but may cause issues"} 
[2026-07-08 17:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783511550000,"timestamp_ms":1783511550000,"timestamp_seconds":1783511550,"priority":1,"record_length":96,"hex_timestamp":"0000019f41928830"} 
[2026-07-08 17:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-08 17:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578954752001,"66":12841,"95":206,"85":15104,"24":11,"16":103790899774881792,"45":8889613108504471552},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-08 17:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578954752001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:22:36] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-08 17:22:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103790899774881792,"km_value":103790899774881.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889613108504471552,"description":"Unknown IO ID 45"} 
[2026-07-08 17:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578954752001,"power":12841,"unknown_95":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8889613108504471552}} 
[2026-07-08 17:22:36] local.INFO: TCP Data received {"connection_id":125764,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f418f1560012d1966c0071fedd0003e005a28..."} 
[2026-07-08 17:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418f1560012d1966c0071fedd0003e005a28..."} 
[2026-07-08 17:22:36] local.INFO: Processing buffer {"connection_id":125764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418f1560012d1966c0071fedd0003e005a28..."} 
[2026-07-08 17:22:36] local.INFO: Packet analysis {"connection_id":125764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f418f"} 
[2026-07-08 17:22:36] local.INFO: Extracted packet for processing {"connection_id":125764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f418f"} 
[2026-07-08 17:22:36] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":40,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578893568001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783511324000,"timestamp_ms":1783511324000,"timestamp_seconds":1783511324,"priority":1,"record_length":96,"hex_timestamp":"0000019f418f1560"} 
[2026-07-08 17:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":46,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 17:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2183,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578893568001,"66":12341,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578893568001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:22:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:22:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578893568001,"power":12341,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":125664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452685,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:22:36] local.INFO: GPS data processed {"connection_id":125664,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:22:36] local.INFO: Acknowledgment sent {"connection_id":125664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":125764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:22:36] local.INFO: GPS data processed {"connection_id":125764,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:22:36] local.INFO: Acknowledgment sent {"connection_id":125764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:22:55] local.INFO: TCP Data received {"connection_id":127764,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:22:55] local.INFO: Processing buffer {"connection_id":127764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:22:55] local.INFO: IMEI packet received {"connection_id":127764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":127764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:22:55] local.INFO: TCP Data received {"connection_id":127763,"ip":"42.106.6.12","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127763,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:22:55] local.INFO: Processing buffer {"connection_id":127763,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:22:55] local.INFO: IMEI packet received {"connection_id":127763,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 17:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":127763,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:22:59] local.INFO: TCP Data received {"connection_id":125665,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:22:59] local.INFO: Processing buffer {"connection_id":125665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:22:59] local.INFO: IMEI packet received {"connection_id":125665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":125665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:23:00] local.INFO: TCP Data received {"connection_id":127764,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:23:00] local.INFO: Processing buffer {"connection_id":127764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:23:00] local.INFO: IMEI packet received {"connection_id":127764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":127764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:23:01] local.INFO: TCP Data received {"connection_id":127764,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4191bd10012d94668005820360000c01442f..."} 
[2026-07-08 17:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4191bd10012d94668005820360000c01442f..."} 
[2026-07-08 17:23:01] local.INFO: Processing buffer {"connection_id":127764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4191bd10012d94668005820360000c01442f..."} 
[2026-07-08 17:23:01] local.INFO: Packet analysis {"connection_id":127764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4191"} 
[2026-07-08 17:23:01] local.INFO: Extracted packet for processing {"connection_id":127764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4191"} 
[2026-07-08 17:23:01] local.INFO: GPS Element Parsed {"raw_longitude":764700288,"raw_latitude":92406624,"longitude_deg":76.4700288,"latitude_deg":9.2406624,"altitude":12,"angle":324,"satellites":47,"speed":33,"hex_longitude":"2d946680","hex_latitude":"05820360","is_valid_coordinates":true} 
[2026-07-08 17:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578943488001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342839571060359168,"note":"Value kept but may cause issues"} 
[2026-07-08 17:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7753368947327279104,"note":"Value kept but may cause issues"} 
[2026-07-08 17:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783511498000,"timestamp_ms":1783511498000,"timestamp_seconds":1783511498,"priority":1,"record_length":96,"hex_timestamp":"0000019f4191bd10"} 
[2026-07-08 17:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:23: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-07-08 17:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 17:23:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578943488001,"66":27919,"17":206,"85":15360,"24":33,"16":342839571060359168,"45":-7753368947327279104},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-07-08 17:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578943488001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:23:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 17:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342839571060359168,"km_value":342839571060359.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7753368947327279104,"description":"Unknown IO ID 45"} 
[2026-07-08 17:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578943488001,"power":27919,"axis_x":206,"unknown_85":15360,"ignition":33,"odometer":null,"unknown_45":-7753368947327279104}} 
[2026-07-08 17:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":127764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:23:01] local.INFO: GPS data processed {"connection_id":127764,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:23:01] local.INFO: Acknowledgment sent {"connection_id":127764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:23:05] local.INFO: TCP Data received {"connection_id":125665,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:23:05] local.INFO: Processing buffer {"connection_id":125665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:23:05] local.INFO: IMEI packet received {"connection_id":125665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":125665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:23:06] local.INFO: TCP Data received {"connection_id":125665,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f418f6768012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418f6768012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:23:06] local.INFO: Processing buffer {"connection_id":125665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418f6768012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:23:06] local.INFO: Packet analysis {"connection_id":125665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f418f"} 
[2026-07-08 17:23:06] local.INFO: Extracted packet for processing {"connection_id":125665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f418f"} 
[2026-07-08 17:23:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578898944001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783511345000,"timestamp_ms":1783511345000,"timestamp_seconds":1783511345,"priority":1,"record_length":96,"hex_timestamp":"0000019f418f6768"} 
[2026-07-08 17:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 17:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578898944001,"66":12385,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578898944001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:23:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:23:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578898944001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":125665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:23:06] local.INFO: GPS data processed {"connection_id":125665,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:23:06] local.INFO: Acknowledgment sent {"connection_id":125665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:23:08] local.INFO: TCP Data received {"connection_id":125664,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f41928c18012d7b690005e312e80005002f28..."} 
[2026-07-08 17:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41928c18012d7b690005e312e80005002f28..."} 
[2026-07-08 17:23:08] local.INFO: Processing buffer {"connection_id":125664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41928c18012d7b690005e312e80005002f28..."} 
[2026-07-08 17:23:08] local.INFO: Packet analysis {"connection_id":125664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4192"} 
[2026-07-08 17:23:08] local.INFO: Extracted packet for processing {"connection_id":125664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4192"} 
[2026-07-08 17:23:08] local.INFO: GPS Element Parsed {"raw_longitude":763062528,"raw_latitude":98767592,"longitude_deg":76.3062528,"latitude_deg":9.8767592,"altitude":5,"angle":47,"satellites":40,"speed":10,"hex_longitude":"2d7b6900","hex_latitude":"05e312e8","is_valid_coordinates":true} 
[2026-07-08 17:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578956800001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103790912659783680,"note":"Value kept but may cause issues"} 
[2026-07-08 17:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892427858271680512,"note":"Value kept but may cause issues"} 
[2026-07-08 17:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783511551000,"timestamp_ms":1783511551000,"timestamp_seconds":1783511551,"priority":1,"record_length":96,"hex_timestamp":"0000019f41928c18"} 
[2026-07-08 17:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:23: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-07-08 17: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":41,"data_length":795,"current_offset":136} 
[2026-07-08 17:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578956800001,"66":12939,"95":206,"85":15104,"24":10,"16":103790912659783680,"45":8892427858271680512},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-08 17:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578956800001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:23:08] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-08 17:23:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103790912659783680,"km_value":103790912659783.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892427858271680512,"description":"Unknown IO ID 45"} 
[2026-07-08 17:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578956800001,"power":12939,"unknown_95":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8892427858271680512}} 
[2026-07-08 17:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":125664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452689,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:23:08] local.INFO: GPS data processed {"connection_id":125664,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:23:08] local.INFO: Acknowledgment sent {"connection_id":125664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:23:31] local.INFO: TCP Data received {"connection_id":126541,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126541,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:23:31] local.INFO: Processing buffer {"connection_id":126541,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:23:31] local.INFO: IMEI packet received {"connection_id":126541,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 17:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":126541,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:23:32] local.INFO: TCP Data received {"connection_id":126541,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126541,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:23:32] local.INFO: Processing buffer {"connection_id":126541,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:23:32] local.INFO: IMEI packet received {"connection_id":126541,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":126541,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:23:32] local.INFO: TCP Data received {"connection_id":127764,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4191e038012d94570005821810000a015330..."} 
[2026-07-08 17:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4191e038012d94570005821810000a015330..."} 
[2026-07-08 17:23:32] local.INFO: Processing buffer {"connection_id":127764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4191e038012d94570005821810000a015330..."} 
[2026-07-08 17:23:32] local.INFO: Packet analysis {"connection_id":127764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4191"} 
[2026-07-08 17:23:32] local.INFO: Extracted packet for processing {"connection_id":127764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4191"} 
[2026-07-08 17:23:32] local.INFO: GPS Element Parsed {"raw_longitude":764696320,"raw_latitude":92411920,"longitude_deg":76.469632,"latitude_deg":9.241192,"altitude":10,"angle":339,"satellites":48,"speed":30,"hex_longitude":"2d945700","hex_latitude":"05821810","is_valid_coordinates":true} 
[2026-07-08 17: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-07-08 17:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578943488001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342839888887939072,"note":"Value kept but may cause issues"} 
[2026-07-08 17:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7753368947327279104,"note":"Value kept but may cause issues"} 
[2026-07-08 17:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783511507000,"timestamp_ms":1783511507000,"timestamp_seconds":1783511507,"priority":1,"record_length":96,"hex_timestamp":"0000019f4191e038"} 
[2026-07-08 17:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 17:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17: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-07-08 17:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578943488001,"66":27974,"17":206,"85":15360,"24":30,"16":342839888887939072,"45":-7753368947327279104},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-07-08 17:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578943488001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:23:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 17:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342839888887939072,"km_value":342839888887939.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7753368947327279104,"description":"Unknown IO ID 45"} 
[2026-07-08 17:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578943488001,"power":27974,"axis_x":206,"unknown_85":15360,"ignition":30,"odometer":null,"unknown_45":-7753368947327279104}} 
[2026-07-08 17:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":127764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:23:32] local.INFO: GPS data processed {"connection_id":127764,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:23:32] local.INFO: Acknowledgment sent {"connection_id":127764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:23:36] local.INFO: TCP Data received {"connection_id":126541,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126541,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:23:36] local.INFO: Processing buffer {"connection_id":126541,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:23:36] local.INFO: IMEI packet received {"connection_id":126541,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":126541,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:23:36] local.INFO: TCP Data received {"connection_id":125665,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f418fb970012d1966c0071fedd0003e005a2f..."} 
[2026-07-08 17:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f418fb970012d1966c0071fedd0003e005a2f..."} 
[2026-07-08 17:23:36] local.INFO: Processing buffer {"connection_id":125665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f418fb970012d1966c0071fedd0003e005a2f..."} 
[2026-07-08 17:23:36] local.INFO: Packet analysis {"connection_id":125665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f418f"} 
[2026-07-08 17:23:36] local.INFO: Extracted packet for processing {"connection_id":125665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f418f"} 
[2026-07-08 17:23:36] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":47,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578904320001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783511366000,"timestamp_ms":1783511366000,"timestamp_seconds":1783511366,"priority":1,"record_length":96,"hex_timestamp":"0000019f418fb970"} 
[2026-07-08 17:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 17:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578904320001,"66":12374,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578904320001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:23:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:23:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578904320001,"power":12374,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":125665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:23:36] local.INFO: GPS data processed {"connection_id":125665,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:23:36] local.INFO: Acknowledgment sent {"connection_id":125665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:23:37] local.INFO: TCP Data received {"connection_id":126541,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f419293e8012d7b6b0005e315480005002229..."} 
[2026-07-08 17:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f419293e8012d7b6b0005e315480005002229..."} 
[2026-07-08 17:23:37] local.INFO: Processing buffer {"connection_id":126541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f419293e8012d7b6b0005e315480005002229..."} 
[2026-07-08 17:23:37] local.INFO: Packet analysis {"connection_id":126541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4192"} 
[2026-07-08 17:23:37] local.INFO: Extracted packet for processing {"connection_id":126541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4192"} 
[2026-07-08 17:23:37] local.INFO: GPS Element Parsed {"raw_longitude":763063040,"raw_latitude":98768200,"longitude_deg":76.306304,"latitude_deg":9.87682,"altitude":5,"angle":34,"satellites":41,"speed":17,"hex_longitude":"2d7b6b00","hex_latitude":"05e31548","is_valid_coordinates":true} 
[2026-07-08 17:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578957056001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103790951314489344,"note":"Value kept but may cause issues"} 
[2026-07-08 17:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892638964504258560,"note":"Value kept but may cause issues"} 
[2026-07-08 17:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783511553000,"timestamp_ms":1783511553000,"timestamp_seconds":1783511553,"priority":1,"record_length":96,"hex_timestamp":"0000019f419293e8"} 
[2026-07-08 17:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:23: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-07-08 17:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-08 17:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578957056001,"66":12722,"95":206,"85":15104,"24":17,"16":103790951314489344,"45":8892638964504258560},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-08 17:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578957056001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:23:37] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-08 17:23:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103790951314489344,"km_value":103790951314489.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892638964504258560,"description":"Unknown IO ID 45"} 
[2026-07-08 17:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578957056001,"power":12722,"unknown_95":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8892638964504258560}} 
[2026-07-08 17:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":126541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452692,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:23:37] local.INFO: GPS data processed {"connection_id":126541,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:23:37] local.INFO: Acknowledgment sent {"connection_id":126541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:23:59] local.INFO: TCP Data received {"connection_id":126542,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:23:59] local.INFO: Processing buffer {"connection_id":126542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:23:59] local.INFO: IMEI packet received {"connection_id":126542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":126542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:24:00] local.INFO: TCP Data received {"connection_id":127765,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:24:00] local.INFO: Processing buffer {"connection_id":127765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:24:00] local.INFO: IMEI packet received {"connection_id":127765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":127765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:24:01] local.INFO: TCP Data received {"connection_id":127765,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:24:01] local.INFO: Processing buffer {"connection_id":127765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:24:01] local.INFO: IMEI packet received {"connection_id":127765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":127765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:24:05] local.INFO: TCP Data received {"connection_id":126542,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:24:05] local.INFO: Processing buffer {"connection_id":126542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:24:05] local.INFO: IMEI packet received {"connection_id":126542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":126542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:24:05] local.INFO: TCP Data received {"connection_id":127765,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:24:05] local.INFO: Processing buffer {"connection_id":127765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:24:05] local.INFO: IMEI packet received {"connection_id":127765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":127765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:24:06] local.INFO: TCP Data received {"connection_id":126542,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41900b78012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41900b78012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:24:06] local.INFO: Processing buffer {"connection_id":126542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41900b78012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:24:06] local.INFO: Packet analysis {"connection_id":126542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4190"} 
[2026-07-08 17:24:06] local.INFO: Extracted packet for processing {"connection_id":126542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4190"} 
[2026-07-08 17:24:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":43,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578909696001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783511387000,"timestamp_ms":1783511387000,"timestamp_seconds":1783511387,"priority":1,"record_length":96,"hex_timestamp":"0000019f41900b78"} 
[2026-07-08 17:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 17:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578909696001,"66":12374,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578909696001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:24:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:24:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578909696001,"power":12374,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":126542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:24:06] local.INFO: GPS data processed {"connection_id":126542,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:24:06] local.INFO: Acknowledgment sent {"connection_id":126542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:24:06] local.INFO: TCP Data received {"connection_id":127765,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41920b30012d9448c005823b28000b01512f..."} 
[2026-07-08 17:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41920b30012d9448c005823b28000b01512f..."} 
[2026-07-08 17:24:06] local.INFO: Processing buffer {"connection_id":127765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41920b30012d9448c005823b28000b01512f..."} 
[2026-07-08 17:24:06] local.INFO: Packet analysis {"connection_id":127765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4192"} 
[2026-07-08 17:24:06] local.INFO: Extracted packet for processing {"connection_id":127765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4192"} 
[2026-07-08 17:24:06] local.INFO: GPS Element Parsed {"raw_longitude":764692672,"raw_latitude":92420904,"longitude_deg":76.4692672,"latitude_deg":9.2420904,"altitude":11,"angle":337,"satellites":47,"speed":41,"hex_longitude":"2d9448c0","hex_latitude":"05823b28","is_valid_coordinates":true} 
[2026-07-08 17:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578945792001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342840361334341632,"note":"Value kept but may cause issues"} 
[2026-07-08 17:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7757731809464938496,"note":"Value kept but may cause issues"} 
[2026-07-08 17:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783511518000,"timestamp_ms":1783511518000,"timestamp_seconds":1783511518,"priority":1,"record_length":96,"hex_timestamp":"0000019f41920b30"} 
[2026-07-08 17:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-08 17:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578945792001,"66":27930,"17":206,"85":15360,"24":41,"16":342840361334341632,"45":-7757731809464938496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-07-08 17:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578945792001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:24:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 17:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342840361334341632,"km_value":342840361334341.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7757731809464938496,"description":"Unknown IO ID 45"} 
[2026-07-08 17:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578945792001,"power":27930,"axis_x":206,"unknown_85":15360,"ignition":41,"odometer":null,"unknown_45":-7757731809464938496}} 
[2026-07-08 17:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":127765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:24:06] local.INFO: GPS data processed {"connection_id":127765,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:24:06] local.INFO: Acknowledgment sent {"connection_id":127765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:24:08] local.INFO: TCP Data received {"connection_id":126541,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4193ad28012d7bedc005e32a58000300a429..."} 
[2026-07-08 17:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4193ad28012d7bedc005e32a58000300a429..."} 
[2026-07-08 17:24:08] local.INFO: Processing buffer {"connection_id":126541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4193ad28012d7bedc005e32a58000300a429..."} 
[2026-07-08 17:24:08] local.INFO: Packet analysis {"connection_id":126541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4193"} 
[2026-07-08 17:24:08] local.INFO: Extracted packet for processing {"connection_id":126541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4193"} 
[2026-07-08 17:24:08] local.INFO: GPS Element Parsed {"raw_longitude":763096512,"raw_latitude":98773592,"longitude_deg":76.3096512,"latitude_deg":9.8773592,"altitude":3,"angle":164,"satellites":41,"speed":15,"hex_longitude":"2d7bedc0","hex_latitude":"05e32a58","is_valid_coordinates":true} 
[2026-07-08 17:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578975744001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103792673596375040,"note":"Value kept but may cause issues"} 
[2026-07-08 17:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929934398920054784,"note":"Value kept but may cause issues"} 
[2026-07-08 17:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783511625000,"timestamp_ms":1783511625000,"timestamp_seconds":1783511625,"priority":1,"record_length":96,"hex_timestamp":"0000019f4193ad28"} 
[2026-07-08 17:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:24: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-07-08 17: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-08 17:24: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-07-08 17:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578975744001,"66":12863,"95":206,"85":15104,"24":15,"16":103792673596375040,"45":8929934398920054784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-08 17:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578975744001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:24:08] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-08 17:24:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103792673596375040,"km_value":103792673596375.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929934398920054784,"description":"Unknown IO ID 45"} 
[2026-07-08 17:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578975744001,"power":12863,"unknown_95":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8929934398920054784}} 
[2026-07-08 17:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":126541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452695,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:24:08] local.INFO: GPS data processed {"connection_id":126541,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:24:08] local.INFO: Acknowledgment sent {"connection_id":126541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:24:12] local.INFO: TCP Data received {"connection_id":127765,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41922a70012d943c0005825b88000c01522f..."} 
[2026-07-08 17:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41922a70012d943c0005825b88000c01522f..."} 
[2026-07-08 17:24:12] local.INFO: Processing buffer {"connection_id":127765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41922a70012d943c0005825b88000c01522f..."} 
[2026-07-08 17:24:12] local.INFO: Packet analysis {"connection_id":127765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4192"} 
[2026-07-08 17:24:12] local.INFO: Extracted packet for processing {"connection_id":127765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4192"} 
[2026-07-08 17:24:12] local.INFO: GPS Element Parsed {"raw_longitude":764689408,"raw_latitude":92429192,"longitude_deg":76.4689408,"latitude_deg":9.2429192,"altitude":12,"angle":338,"satellites":47,"speed":44,"hex_longitude":"2d943c00","hex_latitude":"05825b88","is_valid_coordinates":true} 
[2026-07-08 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-07-08 17:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578948608001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342840790831071232,"note":"Value kept but may cause issues"} 
[2026-07-08 17:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7761742827880765440,"note":"Value kept but may cause issues"} 
[2026-07-08 17:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783511526000,"timestamp_ms":1783511526000,"timestamp_seconds":1783511526,"priority":1,"record_length":96,"hex_timestamp":"0000019f41922a70"} 
[2026-07-08 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-07-08 17:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-08 17:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 17:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":127765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":127765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":127765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578948608001,"66":27974,"17":206,"85":15360,"24":44,"16":342840790831071232,"45":-7761742827880765440},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-07-08 17:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578948608001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:24:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 17:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342840790831071232,"km_value":342840790831071.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7761742827880765440,"description":"Unknown IO ID 45"} 
[2026-07-08 17:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578948608001,"power":27974,"axis_x":206,"unknown_85":15360,"ignition":44,"odometer":null,"unknown_45":-7761742827880765440}} 
[2026-07-08 17:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":127765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:24:12] local.INFO: GPS data processed {"connection_id":127765,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:24:12] local.INFO: Acknowledgment sent {"connection_id":127765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:24:14] local.INFO: TCP Data received {"connection_id":127765,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f419249b0012d942f8005827df8000c01552f..."} 
[2026-07-08 17:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f419249b0012d942f8005827df8000c01552f..."} 
[2026-07-08 17:24:14] local.INFO: Processing buffer {"connection_id":127765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f419249b0012d942f8005827df8000c01552f..."} 
[2026-07-08 17:24:14] local.INFO: Packet analysis {"connection_id":127765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4192"} 
[2026-07-08 17:24:14] local.INFO: Extracted packet for processing {"connection_id":127765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4192"} 
[2026-07-08 17:24:14] local.INFO: GPS Element Parsed {"raw_longitude":764686208,"raw_latitude":92438008,"longitude_deg":76.4686208,"latitude_deg":9.2438008,"altitude":12,"angle":341,"satellites":47,"speed":46,"hex_longitude":"2d942f80","hex_latitude":"05827df8","is_valid_coordinates":true} 
[2026-07-08 17:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578950656001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342841246097604608,"note":"Value kept but may cause issues"} 
[2026-07-08 17:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7765331633831704576,"note":"Value kept but may cause issues"} 
[2026-07-08 17:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783511534000,"timestamp_ms":1783511534000,"timestamp_seconds":1783511534,"priority":1,"record_length":96,"hex_timestamp":"0000019f419249b0"} 
[2026-07-08 17:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-08 17:24:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:24:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":127765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":127765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":127765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578950656001,"66":27876,"168":206,"85":15360,"24":46,"16":342841246097604608,"45":-7765331633831704576},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-08 17:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578950656001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:24:14] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-08 17:24:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 17:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342841246097604608,"km_value":342841246097604.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7765331633831704576,"description":"Unknown IO ID 45"} 
[2026-07-08 17:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578950656001,"power":27876,"unknown_168":206,"unknown_85":15360,"ignition":46,"odometer":null,"unknown_45":-7765331633831704576}} 
[2026-07-08 17:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":127765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:24:14] local.INFO: GPS data processed {"connection_id":127765,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:24:14] local.INFO: Acknowledgment sent {"connection_id":127765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:24:31] local.INFO: TCP Data received {"connection_id":126543,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126543,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:24:31] local.INFO: Processing buffer {"connection_id":126543,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:24:31] local.INFO: IMEI packet received {"connection_id":126543,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 17:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":126543,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:24:36] local.INFO: TCP Data received {"connection_id":126543,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126543,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:24:36] local.INFO: Processing buffer {"connection_id":126543,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:24:36] local.INFO: IMEI packet received {"connection_id":126543,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":126543,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:24:37] local.INFO: TCP Data received {"connection_id":126542,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41905d80012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41905d80012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:24:37] local.INFO: Processing buffer {"connection_id":126542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41905d80012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:24:37] local.INFO: Packet analysis {"connection_id":126542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4190"} 
[2026-07-08 17:24:37] local.INFO: Extracted packet for processing {"connection_id":126542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4190"} 
[2026-07-08 17:24:37] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578915072001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783511408000,"timestamp_ms":1783511408000,"timestamp_seconds":1783511408,"priority":1,"record_length":96,"hex_timestamp":"0000019f41905d80"} 
[2026-07-08 17:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 17:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578915072001,"66":12363,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578915072001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:24:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:24:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578915072001,"power":12363,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":126542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:24:37] local.INFO: GPS data processed {"connection_id":126542,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:24:37] local.INFO: Acknowledgment sent {"connection_id":126542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:24:37] local.INFO: TCP Data received {"connection_id":126543,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4193b110012d7bee4005e32890000300b029..."} 
[2026-07-08 17:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4193b110012d7bee4005e32890000300b029..."} 
[2026-07-08 17:24:37] local.INFO: Processing buffer {"connection_id":126543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4193b110012d7bee4005e32890000300b029..."} 
[2026-07-08 17:24:37] local.INFO: Packet analysis {"connection_id":126543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4193"} 
[2026-07-08 17:24:37] local.INFO: Extracted packet for processing {"connection_id":126543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4193"} 
[2026-07-08 17:24:37] local.INFO: GPS Element Parsed {"raw_longitude":763096640,"raw_latitude":98773136,"longitude_deg":76.309664,"latitude_deg":9.8773136,"altitude":3,"angle":176,"satellites":41,"speed":18,"hex_longitude":"2d7bee40","hex_latitude":"05e32890","is_valid_coordinates":true} 
[2026-07-08 17:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578976000001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103792695071211520,"note":"Value kept but may cause issues"} 
[2026-07-08 17:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930004767664134144,"note":"Value kept but may cause issues"} 
[2026-07-08 17:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783511626000,"timestamp_ms":1783511626000,"timestamp_seconds":1783511626,"priority":1,"record_length":96,"hex_timestamp":"0000019f4193b110"} 
[2026-07-08 17:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-08 17:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578976000001,"66":12863,"95":206,"85":15104,"24":18,"16":103792695071211520,"45":8930004767664134144},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-08 17:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578976000001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:24:37] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-08 17:24:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103792695071211520,"km_value":103792695071211.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930004767664134144,"description":"Unknown IO ID 45"} 
[2026-07-08 17:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578976000001,"power":12863,"unknown_95":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8930004767664134144}} 
[2026-07-08 17:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":126543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452699,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:24:37] local.INFO: GPS data processed {"connection_id":126543,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:24:37] local.INFO: Acknowledgment sent {"connection_id":126543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:24:55] local.INFO: TCP Data received {"connection_id":125766,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:24:55] local.INFO: Processing buffer {"connection_id":125766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:24:55] local.INFO: IMEI packet received {"connection_id":125766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":125766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:24:58] local.INFO: TCP Data received {"connection_id":125766,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:24:58] local.INFO: Processing buffer {"connection_id":125766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:24:58] local.INFO: IMEI packet received {"connection_id":125766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":125766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:24:59] local.INFO: TCP Data received {"connection_id":125766,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4193a170012d93a38005842a60000a01532e..."} 
[2026-07-08 17:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4193a170012d93a38005842a60000a01532e..."} 
[2026-07-08 17:24:59] local.INFO: Processing buffer {"connection_id":125766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4193a170012d93a38005842a60000a01532e..."} 
[2026-07-08 17:24:59] local.INFO: Packet analysis {"connection_id":125766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4193"} 
[2026-07-08 17:24:59] local.INFO: Extracted packet for processing {"connection_id":125766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4193"} 
[2026-07-08 17:24:59] local.INFO: GPS Element Parsed {"raw_longitude":764650368,"raw_latitude":92547680,"longitude_deg":76.4650368,"latitude_deg":9.254768,"altitude":10,"angle":339,"satellites":46,"speed":44,"hex_longitude":"2d93a380","hex_latitude":"05842a60","is_valid_coordinates":true} 
[2026-07-08 17:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578973440001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342846838145024000,"note":"Value kept but may cause issues"} 
[2026-07-08 17:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7804738130543028224,"note":"Value kept but may cause issues"} 
[2026-07-08 17:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783511622000,"timestamp_ms":1783511622000,"timestamp_seconds":1783511622,"priority":1,"record_length":96,"hex_timestamp":"0000019f4193a170"} 
[2026-07-08 17:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:24: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-07-08 17:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 17:24:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":125766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":125766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":125766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:24:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578973440001,"66":27930,"169":206,"85":15360,"24":44,"16":342846838145024000,"45":-7804738130543028224},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-08 17:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578973440001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:24:59] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-08 17:24:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 17:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342846838145024000,"km_value":342846838145024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7804738130543028224,"description":"Unknown IO ID 45"} 
[2026-07-08 17:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578973440001,"power":27930,"unknown_169":206,"unknown_85":15360,"ignition":44,"odometer":null,"unknown_45":-7804738130543028224}} 
[2026-07-08 17:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":125766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:24:59] local.INFO: GPS data processed {"connection_id":125766,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:24:59] local.INFO: Acknowledgment sent {"connection_id":125766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:25:05] local.INFO: TCP Data received {"connection_id":125667,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:25:05] local.INFO: Processing buffer {"connection_id":125667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:25:05] local.INFO: IMEI packet received {"connection_id":125667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":125667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:25:10] local.INFO: TCP Data received {"connection_id":125667,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:25:10] local.INFO: Processing buffer {"connection_id":125667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:25:10] local.INFO: IMEI packet received {"connection_id":125667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":125667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:25:10] local.INFO: TCP Data received {"connection_id":125667,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4190af88012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4190af88012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:25:10] local.INFO: Processing buffer {"connection_id":125667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4190af88012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:25:10] local.INFO: Packet analysis {"connection_id":125667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4190"} 
[2026-07-08 17:25:10] local.INFO: Extracted packet for processing {"connection_id":125667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4190"} 
[2026-07-08 17:25:10] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":43,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578920448001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:25: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-07-08 17:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783511429000,"timestamp_ms":1783511429000,"timestamp_seconds":1783511429,"priority":1,"record_length":96,"hex_timestamp":"0000019f4190af88"} 
[2026-07-08 17:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 17:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578920448001,"66":12298,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578920448001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:25:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:25:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578920448001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":125667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:25:11] local.INFO: GPS data processed {"connection_id":125667,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:25:11] local.INFO: Acknowledgment sent {"connection_id":125667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:25:13] local.INFO: TCP Data received {"connection_id":126543,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4193e3d8012d7bef0005e30490000600b029..."} 
[2026-07-08 17:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4193e3d8012d7bef0005e30490000600b029..."} 
[2026-07-08 17:25:13] local.INFO: Processing buffer {"connection_id":126543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4193e3d8012d7bef0005e30490000600b029..."} 
[2026-07-08 17:25:13] local.INFO: Packet analysis {"connection_id":126543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4193"} 
[2026-07-08 17:25:13] local.INFO: Extracted packet for processing {"connection_id":126543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4193"} 
[2026-07-08 17:25:13] local.INFO: GPS Element Parsed {"raw_longitude":763096832,"raw_latitude":98763920,"longitude_deg":76.3096832,"latitude_deg":9.876392,"altitude":6,"angle":176,"satellites":41,"speed":36,"hex_longitude":"2d7bef00","hex_latitude":"05e30490","is_valid_coordinates":true} 
[2026-07-08 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-07-08 17:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578976256001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103793141747810304,"note":"Value kept but may cause issues"} 
[2026-07-08 17:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930145505152372736,"note":"Value kept but may cause issues"} 
[2026-07-08 17:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783511639000,"timestamp_ms":1783511639000,"timestamp_seconds":1783511639,"priority":1,"record_length":96,"hex_timestamp":"0000019f4193e3d8"} 
[2026-07-08 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-07-08 17:25: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-07-08 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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-08 17:25:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 17:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":126543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":126543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":126543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578976256001,"66":12765,"95":206,"85":15104,"24":36,"16":103793141747810304,"45":8930145505152372736},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-08 17:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578976256001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:25:13] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-08 17:25:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103793141747810304,"km_value":103793141747810.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930145505152372736,"description":"Unknown IO ID 45"} 
[2026-07-08 17:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578976256001,"power":12765,"unknown_95":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8930145505152372736}} 
[2026-07-08 17:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":126543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452702,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:25:13] local.INFO: GPS data processed {"connection_id":126543,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:25:13] local.INFO: Acknowledgment sent {"connection_id":126543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:25:18] local.INFO: TCP Data received {"connection_id":125667,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41910190012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41910190012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:25:18] local.INFO: Processing buffer {"connection_id":125667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41910190012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:25:18] local.INFO: Packet analysis {"connection_id":125667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4191"} 
[2026-07-08 17:25:18] local.INFO: Extracted packet for processing {"connection_id":125667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4191"} 
[2026-07-08 17:25:18] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578925824001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:25:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783511450000,"timestamp_ms":1783511450000,"timestamp_seconds":1783511450,"priority":1,"record_length":96,"hex_timestamp":"0000019f41910190"} 
[2026-07-08 17:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 17:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-08 17:25:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-08 17:25:18] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185617,"note":"Value kept but may cause issues"} 
[2026-07-08 17:25:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 17:25:18] local.WARNING: Large IO value detected {"io_id":86,"raw_value":-2954361355555045375,"note":"Value kept but may cause issues"} 
[2026-07-08 17:25:18] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4723837647589284198,"note":"Value kept but may cause issues"} 
[2026-07-08 17:25:18] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390360156569690,"note":"Value kept but may cause issues"} 
[2026-07-08 17:25:18] local.WARNING: Large IO value detected {"io_id":62,"raw_value":25382225927208960,"note":"Value kept but may cause issues"} 
[2026-07-08 17:25:18] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-07-08 17:25:18] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3369537828691574990,"note":"Value kept but may cause issues"} 
[2026-07-08 17:25:18] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2405918721,"note":"Value kept but may cause issues"} 
[2026-07-08 17:25:18] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3989831742,"note":"Value kept but may cause issues"} 
[2026-07-08 17:25:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-08 17:25:18] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3221692397,"note":"Value kept but may cause issues"} 
[2026-07-08 17:25:18] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,103,83,24,241,157,16,86,159,93,45,192,237,62,44,10,66,11,43,185,1,240,227,65,31,4,113,205,21,102,208,40,239,48,2,17,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-08 17:25:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467669971081625600,"timestamp_seconds":4467669971081625.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 17:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":125667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":125667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":125667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:25:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578925824001,"66":12385,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578925824001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:25:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:25:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578925824001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":125667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:25:18] local.INFO: GPS data processed {"connection_id":125667,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:25:18] local.INFO: Acknowledgment sent {"connection_id":125667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:25:30] local.INFO: TCP Data received {"connection_id":125766,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4193c880012d9398c005844d00000b014f2d..."} 
[2026-07-08 17:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4193c880012d9398c005844d00000b014f2d..."} 
[2026-07-08 17:25:30] local.INFO: Processing buffer {"connection_id":125766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4193c880012d9398c005844d00000b014f2d..."} 
[2026-07-08 17:25:30] local.INFO: Packet analysis {"connection_id":125766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4193"} 
[2026-07-08 17:25:30] local.INFO: Extracted packet for processing {"connection_id":125766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4193"} 
[2026-07-08 17:25:30] local.INFO: GPS Element Parsed {"raw_longitude":764647616,"raw_latitude":92556544,"longitude_deg":76.4647616,"latitude_deg":9.2556544,"altitude":11,"angle":335,"satellites":45,"speed":38,"hex_longitude":"2d9398c0","hex_latitude":"05844d00","is_valid_coordinates":true} 
[2026-07-08 17:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578975232001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342847289116590080,"note":"Value kept but may cause issues"} 
[2026-07-08 17:25:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7808256567749746688,"note":"Value kept but may cause issues"} 
[2026-07-08 17:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783511632000,"timestamp_ms":1783511632000,"timestamp_seconds":1783511632,"priority":1,"record_length":96,"hex_timestamp":"0000019f4193c880"} 
[2026-07-08 17:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-08 17:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:25:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":125766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":125766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":125766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:25: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-07-08 17:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578975232001,"66":28028,"169":206,"85":15360,"24":38,"16":342847289116590080,"45":-7808256567749746688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-08 17:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578975232001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:25:30] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-08 17:25:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 17:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342847289116590080,"km_value":342847289116590.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:25:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7808256567749746688,"description":"Unknown IO ID 45"} 
[2026-07-08 17:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578975232001,"power":28028,"unknown_169":206,"unknown_85":15360,"ignition":38,"odometer":null,"unknown_45":-7808256567749746688}} 
[2026-07-08 17:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":125766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:25:30] local.INFO: GPS data processed {"connection_id":125766,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:25:30] local.INFO: Acknowledgment sent {"connection_id":125766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:25:37] local.INFO: TCP Data received {"connection_id":125668,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125668,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:25:37] local.INFO: Processing buffer {"connection_id":125668,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:25:37] local.INFO: IMEI packet received {"connection_id":125668,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 17:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":125668,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:25:41] local.INFO: TCP Data received {"connection_id":125668,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125668,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:25:41] local.INFO: Processing buffer {"connection_id":125668,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:25:41] local.INFO: IMEI packet received {"connection_id":125668,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":125668,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:25:43] local.INFO: TCP Data received {"connection_id":125668,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f41940ae8012d7bf20005e2e1c8000400ae2a..."} 
[2026-07-08 17:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41940ae8012d7bf20005e2e1c8000400ae2a..."} 
[2026-07-08 17:25:43] local.INFO: Processing buffer {"connection_id":125668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41940ae8012d7bf20005e2e1c8000400ae2a..."} 
[2026-07-08 17:25:43] local.INFO: Packet analysis {"connection_id":125668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4194"} 
[2026-07-08 17:25:43] local.INFO: Extracted packet for processing {"connection_id":125668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4194"} 
[2026-07-08 17:25:43] local.INFO: GPS Element Parsed {"raw_longitude":763097600,"raw_latitude":98755016,"longitude_deg":76.30976,"latitude_deg":9.8755016,"altitude":4,"angle":174,"satellites":42,"speed":27,"hex_longitude":"2d7bf200","hex_latitude":"05e2e1c8","is_valid_coordinates":true} 
[2026-07-08 17:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578979584001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103793575539507200,"note":"Value kept but may cause issues"} 
[2026-07-08 17:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930356611382546432,"note":"Value kept but may cause issues"} 
[2026-07-08 17:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783511649000,"timestamp_ms":1783511649000,"timestamp_seconds":1783511649,"priority":1,"record_length":96,"hex_timestamp":"0000019f41940ae8"} 
[2026-07-08 17:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:25: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-07-08 17:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-08 17:25:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:25:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":125668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":125668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":125668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578979584001,"66":12961,"95":206,"85":15104,"24":27,"16":103793575539507200,"45":8930356611382546432},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-08 17:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578979584001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:25:43] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-08 17:25:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103793575539507200,"km_value":103793575539507.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930356611382546432,"description":"Unknown IO ID 45"} 
[2026-07-08 17:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578979584001,"power":12961,"unknown_95":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8930356611382546432}} 
[2026-07-08 17:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":125668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452705,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:25:43] local.INFO: GPS data processed {"connection_id":125668,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:25:43] local.INFO: Acknowledgment sent {"connection_id":125668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:25:55] local.INFO: TCP Data received {"connection_id":126544,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:25:55] local.INFO: Processing buffer {"connection_id":126544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:25:55] local.INFO: IMEI packet received {"connection_id":126544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":126544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:25:58] local.INFO: TCP Data received {"connection_id":126544,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:25:58] local.INFO: Processing buffer {"connection_id":126544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:25:58] local.INFO: IMEI packet received {"connection_id":126544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":126544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:26:00] local.INFO: TCP Data received {"connection_id":127766,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:26:00] local.INFO: Processing buffer {"connection_id":127766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:26:00] local.INFO: IMEI packet received {"connection_id":127766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":127766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:26:01] local.INFO: TCP Data received {"connection_id":127766,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:26:01] local.INFO: Processing buffer {"connection_id":127766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:26:01] local.INFO: IMEI packet received {"connection_id":127766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":127766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:26:01] local.INFO: TCP Data received {"connection_id":126544,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4194c668012d9362c00584e618000c001832..."} 
[2026-07-08 17:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4194c668012d9362c00584e618000c001832..."} 
[2026-07-08 17:26:01] local.INFO: Processing buffer {"connection_id":126544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4194c668012d9362c00584e618000c001832..."} 
[2026-07-08 17:26:01] local.INFO: Packet analysis {"connection_id":126544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4194"} 
[2026-07-08 17:26:01] local.INFO: Extracted packet for processing {"connection_id":126544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4194"} 
[2026-07-08 17:26:01] local.INFO: GPS Element Parsed {"raw_longitude":764633792,"raw_latitude":92595736,"longitude_deg":76.4633792,"latitude_deg":9.2595736,"altitude":12,"angle":24,"satellites":50,"speed":13,"hex_longitude":"2d9362c0","hex_latitude":"0584e618","is_valid_coordinates":true} 
[2026-07-08 17:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578993664001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342849393650565120,"note":"Value kept but may cause issues"} 
[2026-07-08 17:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7827256128665630720,"note":"Value kept but may cause issues"} 
[2026-07-08 17:26:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783511697000,"timestamp_ms":1783511697000,"timestamp_seconds":1783511697,"priority":1,"record_length":96,"hex_timestamp":"0000019f4194c668"} 
[2026-07-08 17:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:26:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-08 17:26:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:26:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:26:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578993664001,"66":27995,"169":206,"85":15360,"24":13,"16":342849393650565120,"45":-7827256128665630720},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-08 17:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578993664001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:26:01] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-08 17:26:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 17:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342849393650565120,"km_value":342849393650565.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7827256128665630720,"description":"Unknown IO ID 45"} 
[2026-07-08 17:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578993664001,"power":27995,"unknown_169":206,"unknown_85":15360,"ignition":13,"odometer":null,"unknown_45":-7827256128665630720}} 
[2026-07-08 17:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":126544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:26:01] local.INFO: GPS data processed {"connection_id":126544,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:26:01] local.INFO: Acknowledgment sent {"connection_id":126544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:26:05] local.INFO: TCP Data received {"connection_id":127766,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:26:05] local.INFO: Processing buffer {"connection_id":127766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:26:05] local.INFO: IMEI packet received {"connection_id":127766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":127766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:26:06] local.INFO: TCP Data received {"connection_id":127766,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f419487e8012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f419487e8012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:26:06] local.INFO: Processing buffer {"connection_id":127766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f419487e8012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:26:06] local.INFO: Packet analysis {"connection_id":127766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4194"} 
[2026-07-08 17:26:06] local.INFO: Extracted packet for processing {"connection_id":127766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4194"} 
[2026-07-08 17:26:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578984960001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783511681000,"timestamp_ms":1783511681000,"timestamp_seconds":1783511681,"priority":1,"record_length":96,"hex_timestamp":"0000019f419487e8"} 
[2026-07-08 17:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 17:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2093,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578984960001,"66":12211,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578984960001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:26:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:26:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578984960001,"power":12211,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":127766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:26:06] local.INFO: GPS data processed {"connection_id":127766,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:26:06] local.INFO: Acknowledgment sent {"connection_id":127766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:26:10] local.INFO: TCP Data received {"connection_id":127766,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4194d9f0012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 17:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4194d9f0012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 17:26:10] local.INFO: Processing buffer {"connection_id":127766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4194d9f0012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 17:26:10] local.INFO: Packet analysis {"connection_id":127766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4194"} 
[2026-07-08 17:26:10] local.INFO: Extracted packet for processing {"connection_id":127766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4194"} 
[2026-07-08 17:26:10] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":46,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578990336001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:26: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-07-08 17:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783511702000,"timestamp_ms":1783511702000,"timestamp_seconds":1783511702,"priority":1,"record_length":96,"hex_timestamp":"0000019f4194d9f0"} 
[2026-07-08 17:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 17:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":127766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":127766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":127766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578990336001,"66":12287,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578990336001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:26:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:26:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578990336001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":127766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:26:10] local.INFO: GPS data processed {"connection_id":127766,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:26:10] local.INFO: Acknowledgment sent {"connection_id":127766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:26:22] local.INFO: TCP Data received {"connection_id":125668,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4195d3f0012d7bd40005e1dd280005007228..."} 
[2026-07-08 17:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4195d3f0012d7bd40005e1dd280005007228..."} 
[2026-07-08 17:26:22] local.INFO: Processing buffer {"connection_id":125668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4195d3f0012d7bd40005e1dd280005007228..."} 
[2026-07-08 17:26:22] local.INFO: Packet analysis {"connection_id":125668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4195"} 
[2026-07-08 17:26:22] local.INFO: Extracted packet for processing {"connection_id":125668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4195"} 
[2026-07-08 17:26:22] local.INFO: GPS Element Parsed {"raw_longitude":763089920,"raw_latitude":98688296,"longitude_deg":76.308992,"latitude_deg":9.8688296,"altitude":5,"angle":114,"satellites":40,"speed":7,"hex_longitude":"2d7bd400","hex_latitude":"05e1dd28","is_valid_coordinates":true} 
[2026-07-08 17: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-07-08 17:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579010560001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103796882664325120,"note":"Value kept but may cause issues"} 
[2026-07-08 17:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922545680759705600,"note":"Value kept but may cause issues"} 
[2026-07-08 17:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783511766000,"timestamp_ms":1783511766000,"timestamp_seconds":1783511766,"priority":1,"record_length":96,"hex_timestamp":"0000019f4195d3f0"} 
[2026-07-08 17:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 17:26:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17: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-07-08 17:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579010560001,"66":12613,"169":206,"85":15104,"24":7,"16":103796882664325120,"45":8922545680759705600},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-08 17:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579010560001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:26:22] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-08 17:26:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103796882664325120,"km_value":103796882664325.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922545680759705600,"description":"Unknown IO ID 45"} 
[2026-07-08 17:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579010560001,"power":12613,"unknown_169":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8922545680759705600}} 
[2026-07-08 17:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":125668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452709,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:26:22] local.INFO: GPS data processed {"connection_id":125668,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:26:22] local.INFO: Acknowledgment sent {"connection_id":125668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:26:31] local.INFO: TCP Data received {"connection_id":125669,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125669,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:26:31] local.INFO: Processing buffer {"connection_id":125669,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:26:31] local.INFO: IMEI packet received {"connection_id":125669,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 17:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":125669,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:26:35] local.INFO: TCP Data received {"connection_id":126544,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4194ce38012d9363c00584e930000c016730..."} 
[2026-07-08 17:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4194ce38012d9363c00584e930000c016730..."} 
[2026-07-08 17:26:35] local.INFO: Processing buffer {"connection_id":126544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4194ce38012d9363c00584e930000c016730..."} 
[2026-07-08 17:26:35] local.INFO: Packet analysis {"connection_id":126544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4194"} 
[2026-07-08 17:26:35] local.INFO: Extracted packet for processing {"connection_id":126544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4194"} 
[2026-07-08 17:26:35] local.INFO: GPS Element Parsed {"raw_longitude":764634048,"raw_latitude":92596528,"longitude_deg":76.4634048,"latitude_deg":9.2596528,"altitude":12,"angle":359,"satellites":48,"speed":18,"hex_longitude":"2d9363c0","hex_latitude":"0584e930","is_valid_coordinates":true} 
[2026-07-08 17:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578994432001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342849432305270784,"note":"Value kept but may cause issues"} 
[2026-07-08 17:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7826482072479459328,"note":"Value kept but may cause issues"} 
[2026-07-08 17:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783511699000,"timestamp_ms":1783511699000,"timestamp_seconds":1783511699,"priority":1,"record_length":96,"hex_timestamp":"0000019f4194ce38"} 
[2026-07-08 17:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-08 17:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578994432001,"66":27984,"169":206,"85":15360,"24":18,"16":342849432305270784,"45":-7826482072479459328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-08 17:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578994432001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:26:35] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-08 17:26:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 17:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342849432305270784,"km_value":342849432305270.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7826482072479459328,"description":"Unknown IO ID 45"} 
[2026-07-08 17:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578994432001,"power":27984,"unknown_169":206,"unknown_85":15360,"ignition":18,"odometer":null,"unknown_45":-7826482072479459328}} 
[2026-07-08 17:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":126544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:26:35] local.INFO: GPS data processed {"connection_id":126544,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:26:35] local.INFO: Acknowledgment sent {"connection_id":126544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:26:36] local.INFO: TCP Data received {"connection_id":125669,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125669,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:26:36] local.INFO: Processing buffer {"connection_id":125669,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:26:36] local.INFO: IMEI packet received {"connection_id":125669,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":125669,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:26:37] local.INFO: TCP Data received {"connection_id":125669,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4195d7d8012d7bd4c005e1dd180005005629..."} 
[2026-07-08 17:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4195d7d8012d7bd4c005e1dd180005005629..."} 
[2026-07-08 17:26:37] local.INFO: Processing buffer {"connection_id":125669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4195d7d8012d7bd4c005e1dd180005005629..."} 
[2026-07-08 17:26:37] local.INFO: Packet analysis {"connection_id":125669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4195"} 
[2026-07-08 17:26:37] local.INFO: Extracted packet for processing {"connection_id":125669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4195"} 
[2026-07-08 17:26:37] local.INFO: GPS Element Parsed {"raw_longitude":763090112,"raw_latitude":98688280,"longitude_deg":76.3090112,"latitude_deg":9.868828,"altitude":5,"angle":86,"satellites":41,"speed":10,"hex_longitude":"2d7bd4c0","hex_latitude":"05e1dd18","is_valid_coordinates":true} 
[2026-07-08 17:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579012096001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103796891254259712,"note":"Value kept but may cause issues"} 
[2026-07-08 17:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922756786991998976,"note":"Value kept but may cause issues"} 
[2026-07-08 17:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783511767000,"timestamp_ms":1783511767000,"timestamp_seconds":1783511767,"priority":1,"record_length":96,"hex_timestamp":"0000019f4195d7d8"} 
[2026-07-08 17:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 17:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579012096001,"66":13091,"169":206,"85":15104,"24":10,"16":103796891254259712,"45":8922756786991998976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-08 17:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579012096001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:26:37] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-08 17:26:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103796891254259712,"km_value":103796891254259.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922756786991998976,"description":"Unknown IO ID 45"} 
[2026-07-08 17:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579012096001,"power":13091,"unknown_169":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8922756786991998976}} 
[2026-07-08 17:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":125669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452711,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:26:37] local.INFO: GPS data processed {"connection_id":125669,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:26:37] local.INFO: Acknowledgment sent {"connection_id":125669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:26:41] local.INFO: TCP Data received {"connection_id":127766,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41952bf8012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 17:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41952bf8012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 17:26:41] local.INFO: Processing buffer {"connection_id":127766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41952bf8012d1966c0071fedd0003e005a2e..."} 
[2026-07-08 17:26:41] local.INFO: Packet analysis {"connection_id":127766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4195"} 
[2026-07-08 17:26:41] local.INFO: Extracted packet for processing {"connection_id":127766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4195"} 
[2026-07-08 17:26:41] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":46,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578995712001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:26: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-07-08 17:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783511723000,"timestamp_ms":1783511723000,"timestamp_seconds":1783511723,"priority":1,"record_length":96,"hex_timestamp":"0000019f41952bf8"} 
[2026-07-08 17:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:26: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-07-08 17: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 17:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":127766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":127766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":127766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:26: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-07-08 17:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578995712001,"66":12298,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578995712001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:26:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:26:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578995712001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":127766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:26:41] local.INFO: GPS data processed {"connection_id":127766,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:26:41] local.INFO: Acknowledgment sent {"connection_id":127766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:26:55] local.INFO: TCP Data received {"connection_id":125768,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:26:55] local.INFO: Processing buffer {"connection_id":125768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:26:55] local.INFO: IMEI packet received {"connection_id":125768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":125768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:26:56] local.INFO: TCP Data received {"connection_id":125768,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:26:56] local.INFO: Processing buffer {"connection_id":125768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:26:56] local.INFO: IMEI packet received {"connection_id":125768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":125768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:27:00] local.INFO: TCP Data received {"connection_id":127767,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:27:00] local.INFO: Processing buffer {"connection_id":127767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:27:00] local.INFO: IMEI packet received {"connection_id":127767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":127767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:27:00] local.INFO: TCP Data received {"connection_id":125768,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:27:00] local.INFO: Processing buffer {"connection_id":125768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:27:00] local.INFO: IMEI packet received {"connection_id":125768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":125768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:27:01] local.INFO: TCP Data received {"connection_id":125768,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4194d608012d9362c00584ed68000c015930..."} 
[2026-07-08 17:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4194d608012d9362c00584ed68000c015930..."} 
[2026-07-08 17:27:01] local.INFO: Processing buffer {"connection_id":125768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4194d608012d9362c00584ed68000c015930..."} 
[2026-07-08 17:27:01] local.INFO: Packet analysis {"connection_id":125768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4194"} 
[2026-07-08 17:27:01] local.INFO: Extracted packet for processing {"connection_id":125768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4194"} 
[2026-07-08 17:27:01] local.INFO: GPS Element Parsed {"raw_longitude":764633792,"raw_latitude":92597608,"longitude_deg":76.4633792,"latitude_deg":9.2597608,"altitude":12,"angle":345,"satellites":48,"speed":23,"hex_longitude":"2d9362c0","hex_latitude":"0584ed68","is_valid_coordinates":true} 
[2026-07-08 17:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456578994944001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342849488139845632,"note":"Value kept but may cause issues"} 
[2026-07-08 17:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7826200597502545920,"note":"Value kept but may cause issues"} 
[2026-07-08 17:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783511701000,"timestamp_ms":1783511701000,"timestamp_seconds":1783511701,"priority":1,"record_length":96,"hex_timestamp":"0000019f4194d608"} 
[2026-07-08 17:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-08 17:27:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:27:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456578994944001,"66":27930,"169":206,"85":15360,"24":23,"16":342849488139845632,"45":-7826200597502545920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-08 17:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456578994944001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:27:01] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-08 17:27:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-07-08 17:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342849488139845632,"km_value":342849488139845.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7826200597502545920,"description":"Unknown IO ID 45"} 
[2026-07-08 17:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456578994944001,"power":27930,"unknown_169":206,"unknown_85":15360,"ignition":23,"odometer":null,"unknown_45":-7826200597502545920}} 
[2026-07-08 17:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":125768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:27:01] local.INFO: GPS data processed {"connection_id":125768,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:27:01] local.INFO: Acknowledgment sent {"connection_id":125768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:27:04] local.INFO: TCP Data received {"connection_id":127767,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:27:04] local.INFO: Processing buffer {"connection_id":127767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:27:04] local.INFO: IMEI packet received {"connection_id":127767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":127767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:27:05] local.INFO: TCP Data received {"connection_id":127767,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41957e00012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41957e00012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:27:05] local.INFO: Processing buffer {"connection_id":127767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41957e00012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:27:05] local.INFO: Packet analysis {"connection_id":127767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4195"} 
[2026-07-08 17:27:05] local.INFO: Extracted packet for processing {"connection_id":127767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4195"} 
[2026-07-08 17:27:05] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579001088001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783511744000,"timestamp_ms":1783511744000,"timestamp_seconds":1783511744,"priority":1,"record_length":96,"hex_timestamp":"0000019f41957e00"} 
[2026-07-08 17:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 17:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-08 17:27:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-08 17:27:05] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185617,"note":"Value kept but may cause issues"} 
[2026-07-08 17:27:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 17:27:05] local.WARNING: Large IO value detected {"io_id":86,"raw_value":-2954361355555045375,"note":"Value kept but may cause issues"} 
[2026-07-08 17:27:05] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4725100367974308198,"note":"Value kept but may cause issues"} 
[2026-07-08 17:27:05] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390360156569690,"note":"Value kept but may cause issues"} 
[2026-07-08 17:27:05] local.WARNING: Large IO value detected {"io_id":62,"raw_value":25383325438836736,"note":"Value kept but may cause issues"} 
[2026-07-08 17:27:05] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-07-08 17:27:05] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068469049786574,"note":"Value kept but may cause issues"} 
[2026-07-08 17:27:05] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2481182721,"note":"Value kept but may cause issues"} 
[2026-07-08 17:27:05] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3989831742,"note":"Value kept but may cause issues"} 
[2026-07-08 17:27:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-08 17:27:05] local.WARNING: Large IO value detected {"io_id":145,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-07-08 17:27:05] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3221692397,"note":"Value kept but may cause issues"} 
[2026-07-08 17:27:05] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,103,83,24,241,157,16,86,159,217,45,192,237,62,46,10,66,135,53,1,240,185,227,65,31,4,113,205,145,102,208,239,48,2,17,7,44],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-08 17:27:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467669983966527488,"timestamp_seconds":4467669983966527.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 17:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579001088001,"66":12363,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579001088001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:27:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:27:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579001088001,"power":12363,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":127767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:27:05] local.INFO: GPS data processed {"connection_id":127767,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:27:05] local.INFO: Acknowledgment sent {"connection_id":127767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:27:08] local.INFO: TCP Data received {"connection_id":125669,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f4195e778012d7bdb8005e1dd300006006229..."} 
[2026-07-08 17:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4195e778012d7bdb8005e1dd300006006229..."} 
[2026-07-08 17:27:08] local.INFO: Processing buffer {"connection_id":125669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4195e778012d7bdb8005e1dd300006006229..."} 
[2026-07-08 17:27:08] local.INFO: Packet analysis {"connection_id":125669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4195"} 
[2026-07-08 17:27:08] local.INFO: Extracted packet for processing {"connection_id":125669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4195"} 
[2026-07-08 17:27:08] local.INFO: GPS Element Parsed {"raw_longitude":763091840,"raw_latitude":98688304,"longitude_deg":76.309184,"latitude_deg":9.8688304,"altitude":6,"angle":98,"satellites":41,"speed":21,"hex_longitude":"2d7bdb80","hex_latitude":"05e1dd30","is_valid_coordinates":true} 
[2026-07-08 17:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579012352001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103796972858638336,"note":"Value kept but may cause issues"} 
[2026-07-08 17:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922967893224527872,"note":"Value kept but may cause issues"} 
[2026-07-08 17:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783511771000,"timestamp_ms":1783511771000,"timestamp_seconds":1783511771,"priority":1,"record_length":96,"hex_timestamp":"0000019f4195e778"} 
[2026-07-08 17:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-08 17:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579012352001,"66":13015,"169":206,"85":15104,"24":21,"16":103796972858638336,"45":8922967893224527872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-08 17:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579012352001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:27:08] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-08 17:27:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103796972858638336,"km_value":103796972858638.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922967893224527872,"description":"Unknown IO ID 45"} 
[2026-07-08 17:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579012352001,"power":13015,"unknown_169":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8922967893224527872}} 
[2026-07-08 17:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":125669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452715,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:27:08] local.INFO: GPS data processed {"connection_id":125669,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:27:08] local.INFO: Acknowledgment sent {"connection_id":125669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:27:33] local.INFO: TCP Data received {"connection_id":125768,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41964920012d92fd8005865650000d015e30..."} 
[2026-07-08 17:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41964920012d92fd8005865650000d015e30..."} 
[2026-07-08 17:27:33] local.INFO: Processing buffer {"connection_id":125768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41964920012d92fd8005865650000d015e30..."} 
[2026-07-08 17:27:33] local.INFO: Packet analysis {"connection_id":125768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4196"} 
[2026-07-08 17:27:33] local.INFO: Extracted packet for processing {"connection_id":125768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4196"} 
[2026-07-08 17:27:33] local.INFO: GPS Element Parsed {"raw_longitude":764607872,"raw_latitude":92690000,"longitude_deg":76.4607872,"latitude_deg":9.269,"altitude":13,"angle":350,"satellites":48,"speed":59,"hex_longitude":"2d92fd80","hex_latitude":"05865650","is_valid_coordinates":true} 
[2026-07-08 17: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-07-08 17:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579018240001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342854173949165568,"note":"Value kept but may cause issues"} 
[2026-07-08 17:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7853644407710183424,"note":"Value kept but may cause issues"} 
[2026-07-08 17:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783511796000,"timestamp_ms":1783511796000,"timestamp_seconds":1783511796,"priority":1,"record_length":96,"hex_timestamp":"0000019f41964920"} 
[2026-07-08 17:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 17:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17: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-07-08 17:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579018240001,"66":27865,"127":206,"85":14080,"24":59,"16":342854173949165568,"45":-7853644407710183424},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-07-08 17:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579018240001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:27:33] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-07-08 17:27:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 17:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342854173949165568,"km_value":342854173949165.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7853644407710183424,"description":"Unknown IO ID 45"} 
[2026-07-08 17:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579018240001,"power":27865,"unknown_127":206,"unknown_85":14080,"ignition":59,"odometer":null,"unknown_45":-7853644407710183424}} 
[2026-07-08 17:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":125768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:27:33] local.INFO: GPS data processed {"connection_id":125768,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:27:33] local.INFO: Acknowledgment sent {"connection_id":125768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:27:36] local.INFO: TCP Data received {"connection_id":127768,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127768,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:27:36] local.INFO: Processing buffer {"connection_id":127768,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:27:36] local.INFO: IMEI packet received {"connection_id":127768,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 17:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":127768,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:27:36] local.INFO: TCP Data received {"connection_id":127767,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4195d008012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4195d008012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:27:36] local.INFO: Processing buffer {"connection_id":127767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4195d008012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:27:36] local.INFO: Packet analysis {"connection_id":127767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4195"} 
[2026-07-08 17:27:36] local.INFO: Extracted packet for processing {"connection_id":127767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4195"} 
[2026-07-08 17:27:36] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579006464001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783511765000,"timestamp_ms":1783511765000,"timestamp_seconds":1783511765,"priority":1,"record_length":96,"hex_timestamp":"0000019f4195d008"} 
[2026-07-08 17:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 17:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579006464001,"66":12004,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579006464001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:27:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:27:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579006464001,"power":12004,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":127767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:27:36] local.INFO: GPS data processed {"connection_id":127767,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:27:36] local.INFO: Acknowledgment sent {"connection_id":127767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:27:38] local.INFO: TCP Data received {"connection_id":127768,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127768,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:27:38] local.INFO: Processing buffer {"connection_id":127768,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:27:38] local.INFO: IMEI packet received {"connection_id":127768,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":127768,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:27:38] local.INFO: TCP Data received {"connection_id":127768,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4196cdf0012d7c62c005e213b00007004126..."} 
[2026-07-08 17:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4196cdf0012d7c62c005e213b00007004126..."} 
[2026-07-08 17:27:38] local.INFO: Processing buffer {"connection_id":127768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4196cdf0012d7c62c005e213b00007004126..."} 
[2026-07-08 17:27:38] local.INFO: Packet analysis {"connection_id":127768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4196"} 
[2026-07-08 17:27:38] local.INFO: Extracted packet for processing {"connection_id":127768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4196"} 
[2026-07-08 17:27:38] local.INFO: GPS Element Parsed {"raw_longitude":763126464,"raw_latitude":98702256,"longitude_deg":76.3126464,"latitude_deg":9.8702256,"altitude":7,"angle":65,"satellites":38,"speed":23,"hex_longitude":"2d7c62c0","hex_latitude":"05e213b0","is_valid_coordinates":true} 
[2026-07-08 17:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579028224001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103798970018430976,"note":"Value kept but may cause issues"} 
[2026-07-08 17:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962304021223362560,"note":"Value kept but may cause issues"} 
[2026-07-08 17:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783511830000,"timestamp_ms":1783511830000,"timestamp_seconds":1783511830,"priority":1,"record_length":96,"hex_timestamp":"0000019f4196cdf0"} 
[2026-07-08 17:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-08 17:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17: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-07-08 17:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579028224001,"66":13037,"43":206,"85":15104,"24":23,"16":103798970018430976,"45":8962304021223362560},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-08 17:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579028224001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:27:38] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-08 17:27:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103798970018430976,"km_value":103798970018430.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962304021223362560,"description":"Unknown IO ID 45"} 
[2026-07-08 17:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579028224001,"power":13037,"unknown_43":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8962304021223362560}} 
[2026-07-08 17:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":127768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452718,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:27:39] local.INFO: GPS data processed {"connection_id":127768,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:27:39] local.INFO: Acknowledgment sent {"connection_id":127768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:27:55] local.INFO: TCP Data received {"connection_id":126546,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:27:55] local.INFO: Processing buffer {"connection_id":126546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:27:55] local.INFO: IMEI packet received {"connection_id":126546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":126546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:28:00] local.INFO: TCP Data received {"connection_id":125769,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:28:00] local.INFO: Processing buffer {"connection_id":125769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:28:00] local.INFO: IMEI packet received {"connection_id":125769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":125769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:28:00] local.INFO: TCP Data received {"connection_id":126546,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:28:00] local.INFO: Processing buffer {"connection_id":126546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:28:00] local.INFO: IMEI packet received {"connection_id":126546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":126546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:28:01] local.INFO: TCP Data received {"connection_id":126546,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41966090012d92f680058678d8000e015b32..."} 
[2026-07-08 17:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41966090012d92f680058678d8000e015b32..."} 
[2026-07-08 17:28:01] local.INFO: Processing buffer {"connection_id":126546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41966090012d92f680058678d8000e015b32..."} 
[2026-07-08 17:28:01] local.INFO: Packet analysis {"connection_id":126546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4196"} 
[2026-07-08 17:28:01] local.INFO: Extracted packet for processing {"connection_id":126546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4196"} 
[2026-07-08 17:28:01] local.INFO: GPS Element Parsed {"raw_longitude":764606080,"raw_latitude":92698840,"longitude_deg":76.460608,"latitude_deg":9.269884,"altitude":14,"angle":347,"satellites":50,"speed":60,"hex_longitude":"2d92f680","hex_latitude":"058678d8","is_valid_coordinates":true} 
[2026-07-08 17:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579019776001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342854612035829760,"note":"Value kept but may cause issues"} 
[2026-07-08 17:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7854981413847281664,"note":"Value kept but may cause issues"} 
[2026-07-08 17:28:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783511802000,"timestamp_ms":1783511802000,"timestamp_seconds":1783511802,"priority":1,"record_length":96,"hex_timestamp":"0000019f41966090"} 
[2026-07-08 17:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 17:28:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:28:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579019776001,"66":27745,"127":206,"85":14080,"24":60,"16":342854612035829760,"45":-7854981413847281664},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-07-08 17:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579019776001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:28:01] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-07-08 17:28:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 17:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342854612035829760,"km_value":342854612035829.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7854981413847281664,"description":"Unknown IO ID 45"} 
[2026-07-08 17:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579019776001,"power":27745,"unknown_127":206,"unknown_85":14080,"ignition":60,"odometer":null,"unknown_45":-7854981413847281664}} 
[2026-07-08 17:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":126546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:28:01] local.INFO: GPS data processed {"connection_id":126546,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:28:01] local.INFO: Acknowledgment sent {"connection_id":126546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:28:05] local.INFO: TCP Data received {"connection_id":125769,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:28:05] local.INFO: Processing buffer {"connection_id":125769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:28:05] local.INFO: IMEI packet received {"connection_id":125769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":125769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:28:06] local.INFO: TCP Data received {"connection_id":125769,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41962210012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41962210012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:28:06] local.INFO: Processing buffer {"connection_id":125769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41962210012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:28:06] local.INFO: Packet analysis {"connection_id":125769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4196"} 
[2026-07-08 17:28:06] local.INFO: Extracted packet for processing {"connection_id":125769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4196"} 
[2026-07-08 17:28:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579011840001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783511786000,"timestamp_ms":1783511786000,"timestamp_seconds":1783511786,"priority":1,"record_length":96,"hex_timestamp":"0000019f41962210"} 
[2026-07-08 17:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 17:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579011840001,"66":12341,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579011840001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:28:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:28:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579011840001,"power":12341,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":125769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:28:06] local.INFO: GPS data processed {"connection_id":125769,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:28:06] local.INFO: Acknowledgment sent {"connection_id":125769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:28:09] local.INFO: TCP Data received {"connection_id":127768,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4196d5c0012d7c684005e214400007005527..."} 
[2026-07-08 17:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4196d5c0012d7c684005e214400007005527..."} 
[2026-07-08 17:28:09] local.INFO: Processing buffer {"connection_id":127768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4196d5c0012d7c684005e214400007005527..."} 
[2026-07-08 17:28:09] local.INFO: Packet analysis {"connection_id":127768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4196"} 
[2026-07-08 17:28:09] local.INFO: Extracted packet for processing {"connection_id":127768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4196"} 
[2026-07-08 17:28:09] local.INFO: GPS Element Parsed {"raw_longitude":763127872,"raw_latitude":98702400,"longitude_deg":76.3127872,"latitude_deg":9.87024,"altitude":7,"angle":85,"satellites":39,"speed":27,"hex_longitude":"2d7c6840","hex_latitude":"05e21440","is_valid_coordinates":true} 
[2026-07-08 17:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579028480001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103799038737907712,"note":"Value kept but may cause issues"} 
[2026-07-08 17:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962937339921018880,"note":"Value kept but may cause issues"} 
[2026-07-08 17:28: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-07-08 17:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783511832000,"timestamp_ms":1783511832000,"timestamp_seconds":1783511832,"priority":1,"record_length":96,"hex_timestamp":"0000019f4196d5c0"} 
[2026-07-08 17:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:28: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-07-08 17: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-08 17:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":127768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":127768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":127768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579028480001,"66":13048,"43":206,"85":15104,"24":27,"16":103799038737907712,"45":8962937339921018880},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-08 17:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579028480001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:28:09] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-08 17:28:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103799038737907712,"km_value":103799038737907.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962937339921018880,"description":"Unknown IO ID 45"} 
[2026-07-08 17:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579028480001,"power":13048,"unknown_43":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8962937339921018880}} 
[2026-07-08 17:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":127768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452721,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:28:10] local.INFO: GPS data processed {"connection_id":127768,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:28:10] local.INFO: Acknowledgment sent {"connection_id":127768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:28:31] local.INFO: TCP Data received {"connection_id":125671,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125671,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:28:31] local.INFO: Processing buffer {"connection_id":125671,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:28:31] local.INFO: IMEI packet received {"connection_id":125671,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 17:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":125671,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:28:32] local.INFO: TCP Data received {"connection_id":126546,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41967800012d92ee8005869b28000d015a30..."} 
[2026-07-08 17:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41967800012d92ee8005869b28000d015a30..."} 
[2026-07-08 17:28:32] local.INFO: Processing buffer {"connection_id":126546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41967800012d92ee8005869b28000d015a30..."} 
[2026-07-08 17:28:32] local.INFO: Packet analysis {"connection_id":126546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4196"} 
[2026-07-08 17:28:32] local.INFO: Extracted packet for processing {"connection_id":126546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4196"} 
[2026-07-08 17:28:32] local.INFO: GPS Element Parsed {"raw_longitude":764604032,"raw_latitude":92707624,"longitude_deg":76.4604032,"latitude_deg":9.2707624,"altitude":13,"angle":346,"satellites":48,"speed":59,"hex_longitude":"2d92ee80","hex_latitude":"05869b28","is_valid_coordinates":true} 
[2026-07-08 17:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579021312001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342855045827526656,"note":"Value kept but may cause issues"} 
[2026-07-08 17:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7856951738681993216,"note":"Value kept but may cause issues"} 
[2026-07-08 17:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783511808000,"timestamp_ms":1783511808000,"timestamp_seconds":1783511808,"priority":1,"record_length":96,"hex_timestamp":"0000019f41967800"} 
[2026-07-08 17:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 17:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579021312001,"66":27974,"127":206,"85":14080,"24":59,"16":342855045827526656,"45":-7856951738681993216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-07-08 17:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579021312001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:28:32] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-07-08 17:28:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 17:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342855045827526656,"km_value":342855045827526.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7856951738681993216,"description":"Unknown IO ID 45"} 
[2026-07-08 17:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579021312001,"power":27974,"unknown_127":206,"unknown_85":14080,"ignition":59,"odometer":null,"unknown_45":-7856951738681993216}} 
[2026-07-08 17:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":126546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:28:32] local.INFO: GPS data processed {"connection_id":126546,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:28:32] local.INFO: Acknowledgment sent {"connection_id":126546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:28:35] local.INFO: TCP Data received {"connection_id":125671,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125671,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:28:35] local.INFO: Processing buffer {"connection_id":125671,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:28:35] local.INFO: IMEI packet received {"connection_id":125671,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":125671,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:28:36] local.INFO: TCP Data received {"connection_id":125670,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125670,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:28:36] local.INFO: Processing buffer {"connection_id":125670,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:28:36] local.INFO: IMEI packet received {"connection_id":125670,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 17:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":125670,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:28:36] local.INFO: TCP Data received {"connection_id":125671,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4196e560012d7c778005e212b80008006426..."} 
[2026-07-08 17:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4196e560012d7c778005e212b80008006426..."} 
[2026-07-08 17:28:36] local.INFO: Processing buffer {"connection_id":125671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4196e560012d7c778005e212b80008006426..."} 
[2026-07-08 17:28:36] local.INFO: Packet analysis {"connection_id":125671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4196"} 
[2026-07-08 17:28:36] local.INFO: Extracted packet for processing {"connection_id":125671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4196"} 
[2026-07-08 17:28:36] local.INFO: GPS Element Parsed {"raw_longitude":763131776,"raw_latitude":98702008,"longitude_deg":76.3131776,"latitude_deg":9.8702008,"altitude":8,"angle":100,"satellites":38,"speed":39,"hex_longitude":"2d7c7780","hex_latitude":"05e212b8","is_valid_coordinates":true} 
[2026-07-08 17:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579028992001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103799227716468736,"note":"Value kept but may cause issues"} 
[2026-07-08 17:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8964485452292964352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783511836000,"timestamp_ms":1783511836000,"timestamp_seconds":1783511836,"priority":1,"record_length":96,"hex_timestamp":"0000019f4196e560"} 
[2026-07-08 17:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-08 17:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579028992001,"66":12232,"43":206,"85":15104,"24":39,"16":103799227716468736,"45":8964485452292964352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-08 17:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579028992001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:28:36] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-08 17:28:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103799227716468736,"km_value":103799227716468.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8964485452292964352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579028992001,"power":12232,"unknown_43":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8964485452292964352}} 
[2026-07-08 17:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":125671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452723,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:28:36] local.INFO: GPS data processed {"connection_id":125671,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:28:36] local.INFO: Acknowledgment sent {"connection_id":125671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:28:36] local.INFO: TCP Data received {"connection_id":125769,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41967418012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41967418012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:28:36] local.INFO: Processing buffer {"connection_id":125769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41967418012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:28:36] local.INFO: Packet analysis {"connection_id":125769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4196"} 
[2026-07-08 17:28:36] local.INFO: Extracted packet for processing {"connection_id":125769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4196"} 
[2026-07-08 17:28:36] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579017216001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783511807000,"timestamp_ms":1783511807000,"timestamp_seconds":1783511807,"priority":1,"record_length":96,"hex_timestamp":"0000019f41967418"} 
[2026-07-08 17:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 17:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579017216001,"66":12363,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579017216001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:28:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:28:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579017216001,"power":12363,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":125769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:28:37] local.INFO: GPS data processed {"connection_id":125769,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:28:37] local.INFO: Acknowledgment sent {"connection_id":125769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:28:56] local.INFO: TCP Data received {"connection_id":126547,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126547,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:28:56] local.INFO: Processing buffer {"connection_id":126547,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:28:56] local.INFO: IMEI packet received {"connection_id":126547,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 17:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":126547,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:28:59] local.INFO: TCP Data received {"connection_id":127769,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:28:59] local.INFO: Processing buffer {"connection_id":127769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:28:59] local.INFO: IMEI packet received {"connection_id":127769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":127769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:29:00] local.INFO: TCP Data received {"connection_id":127770,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:29:00] local.INFO: Processing buffer {"connection_id":127770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:29:00] local.INFO: IMEI packet received {"connection_id":127770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":127770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:29:00] local.INFO: TCP Data received {"connection_id":127769,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:29:00] local.INFO: Processing buffer {"connection_id":127769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:29:00] local.INFO: IMEI packet received {"connection_id":127769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":127769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:29:05] local.INFO: TCP Data received {"connection_id":127770,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:29:05] local.INFO: Processing buffer {"connection_id":127770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:29:05] local.INFO: IMEI packet received {"connection_id":127770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":127770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:29:05] local.INFO: TCP Data received {"connection_id":127769,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:29:05] local.INFO: Processing buffer {"connection_id":127769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:29:05] local.INFO: IMEI packet received {"connection_id":127769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":127769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:29:06] local.INFO: TCP Data received {"connection_id":127770,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4196c620012d1966c0071fedd0003e005a2a..."} 
[2026-07-08 17:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4196c620012d1966c0071fedd0003e005a2a..."} 
[2026-07-08 17:29:06] local.INFO: Processing buffer {"connection_id":127770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4196c620012d1966c0071fedd0003e005a2a..."} 
[2026-07-08 17:29:06] local.INFO: Packet analysis {"connection_id":127770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4196"} 
[2026-07-08 17:29:06] local.INFO: Extracted packet for processing {"connection_id":127770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4196"} 
[2026-07-08 17:29:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":42,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579022592001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783511828000,"timestamp_ms":1783511828000,"timestamp_seconds":1783511828,"priority":1,"record_length":96,"hex_timestamp":"0000019f4196c620"} 
[2026-07-08 17:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 17:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579022592001,"66":12341,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579022592001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:29:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:29:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579022592001,"power":12341,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":127770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:29:06] local.INFO: GPS data processed {"connection_id":127770,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:29:06] local.INFO: Acknowledgment sent {"connection_id":127770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:29:07] local.INFO: TCP Data received {"connection_id":125671,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41970888012d7c9d8005e20c08000a006225..."} 
[2026-07-08 17:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41970888012d7c9d8005e20c08000a006225..."} 
[2026-07-08 17:29:07] local.INFO: Processing buffer {"connection_id":125671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41970888012d7c9d8005e20c08000a006225..."} 
[2026-07-08 17:29:07] local.INFO: Packet analysis {"connection_id":125671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4197"} 
[2026-07-08 17:29:07] local.INFO: Extracted packet for processing {"connection_id":125671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4197"} 
[2026-07-08 17:29:07] local.INFO: GPS Element Parsed {"raw_longitude":763141504,"raw_latitude":98700296,"longitude_deg":76.3141504,"latitude_deg":9.8700296,"altitude":10,"angle":98,"satellites":37,"speed":44,"hex_longitude":"2d7c9d80","hex_latitude":"05e20c08","is_valid_coordinates":true} 
[2026-07-08 17:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579030016001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103799695867904000,"note":"Value kept but may cause issues"} 
[2026-07-08 17:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8968777945687701504,"note":"Value kept but may cause issues"} 
[2026-07-08 17:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783511845000,"timestamp_ms":1783511845000,"timestamp_seconds":1783511845,"priority":1,"record_length":96,"hex_timestamp":"0000019f41970888"} 
[2026-07-08 17:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-08 17:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579030016001,"66":12917,"43":206,"85":15104,"24":44,"16":103799695867904000,"45":8968777945687701504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-08 17:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579030016001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:29:07] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-08 17:29:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103799695867904000,"km_value":103799695867904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8968777945687701504,"description":"Unknown IO ID 45"} 
[2026-07-08 17:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579030016001,"power":12917,"unknown_43":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8968777945687701504}} 
[2026-07-08 17:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":125671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452726,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:29:07] local.INFO: GPS data processed {"connection_id":125671,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:29:07] local.INFO: Acknowledgment sent {"connection_id":125671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:29:14] local.INFO: TCP Data received {"connection_id":127769,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41968f70012d92e6c00586bd58000c015a31..."} 
[2026-07-08 17:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41968f70012d92e6c00586bd58000c015a31..."} 
[2026-07-08 17:29:14] local.INFO: Processing buffer {"connection_id":127769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41968f70012d92e6c00586bd58000c015a31..."} 
[2026-07-08 17:29:14] local.INFO: Packet analysis {"connection_id":127769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4196"} 
[2026-07-08 17:29:14] local.INFO: Extracted packet for processing {"connection_id":127769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4196"} 
[2026-07-08 17:29:14] local.INFO: GPS Element Parsed {"raw_longitude":764602048,"raw_latitude":92716376,"longitude_deg":76.4602048,"latitude_deg":9.2716376,"altitude":12,"angle":346,"satellites":49,"speed":59,"hex_longitude":"2d92e6c0","hex_latitude":"0586bd58","is_valid_coordinates":true} 
[2026-07-08 17:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579022848001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342855483914190848,"note":"Value kept but may cause issues"} 
[2026-07-08 17:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7859203538493429760,"note":"Value kept but may cause issues"} 
[2026-07-08 17:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783511814000,"timestamp_ms":1783511814000,"timestamp_seconds":1783511814,"priority":1,"record_length":96,"hex_timestamp":"0000019f41968f70"} 
[2026-07-08 17:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-08 17:29:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":127769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":127769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":127769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579022848001,"66":27930,"127":206,"85":14080,"24":59,"16":342855483914190848,"45":-7859203538493429760},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-07-08 17:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579022848001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:29:14] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-07-08 17:29:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 17:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342855483914190848,"km_value":342855483914190.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7859203538493429760,"description":"Unknown IO ID 45"} 
[2026-07-08 17:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579022848001,"power":27930,"unknown_127":206,"unknown_85":14080,"ignition":59,"odometer":null,"unknown_45":-7859203538493429760}} 
[2026-07-08 17:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":127769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:29:14] local.INFO: GPS data processed {"connection_id":127769,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:29:14] local.INFO: Acknowledgment sent {"connection_id":127769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:29:14] local.INFO: TCP Data received {"connection_id":127769,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4196a6e0012d92df400586dfb8000c015d31..."} 
[2026-07-08 17:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4196a6e0012d92df400586dfb8000c015d31..."} 
[2026-07-08 17:29:14] local.INFO: Processing buffer {"connection_id":127769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4196a6e0012d92df400586dfb8000c015d31..."} 
[2026-07-08 17:29:14] local.INFO: Packet analysis {"connection_id":127769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4196"} 
[2026-07-08 17:29:14] local.INFO: Extracted packet for processing {"connection_id":127769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4196"} 
[2026-07-08 17:29:14] local.INFO: GPS Element Parsed {"raw_longitude":764600128,"raw_latitude":92725176,"longitude_deg":76.4600128,"latitude_deg":9.2725176,"altitude":12,"angle":349,"satellites":49,"speed":59,"hex_longitude":"2d92df40","hex_latitude":"0586dfb8","is_valid_coordinates":true} 
[2026-07-08 17:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579024384001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342855917705887744,"note":"Value kept but may cause issues"} 
[2026-07-08 17:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7861384969560696832,"note":"Value kept but may cause issues"} 
[2026-07-08 17:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783511820000,"timestamp_ms":1783511820000,"timestamp_seconds":1783511820,"priority":1,"record_length":96,"hex_timestamp":"0000019f4196a6e0"} 
[2026-07-08 17:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-08 17:29:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":127769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":127769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":127769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579024384001,"66":27843,"127":206,"85":14080,"24":59,"16":342855917705887744,"45":-7861384969560696832},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-07-08 17:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579024384001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:29:14] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-07-08 17:29:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 17:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342855917705887744,"km_value":342855917705887.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7861384969560696832,"description":"Unknown IO ID 45"} 
[2026-07-08 17:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579024384001,"power":27843,"unknown_127":206,"unknown_85":14080,"ignition":59,"odometer":null,"unknown_45":-7861384969560696832}} 
[2026-07-08 17:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":127769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:29:14] local.INFO: GPS data processed {"connection_id":127769,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:29:14] local.INFO: Acknowledgment sent {"connection_id":127769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:29:31] local.INFO: TCP Data received {"connection_id":127771,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127771,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:29:31] local.INFO: Processing buffer {"connection_id":127771,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:29:31] local.INFO: IMEI packet received {"connection_id":127771,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 17:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":127771,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:29:32] local.INFO: TCP Data received {"connection_id":127771,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127771,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:29:32] local.INFO: Processing buffer {"connection_id":127771,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:29:32] local.INFO: IMEI packet received {"connection_id":127771,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":127771,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:29:36] local.INFO: TCP Data received {"connection_id":127771,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127771,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:29:36] local.INFO: Processing buffer {"connection_id":127771,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:29:36] local.INFO: IMEI packet received {"connection_id":127771,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":127771,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:29:36] local.INFO: TCP Data received {"connection_id":127770,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41971828012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41971828012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:29:36] local.INFO: Processing buffer {"connection_id":127770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41971828012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:29:36] local.INFO: Packet analysis {"connection_id":127770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4197"} 
[2026-07-08 17:29:36] local.INFO: Extracted packet for processing {"connection_id":127770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4197"} 
[2026-07-08 17:29:36] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579027968001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783511849000,"timestamp_ms":1783511849000,"timestamp_seconds":1783511849,"priority":1,"record_length":96,"hex_timestamp":"0000019f41971828"} 
[2026-07-08 17:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 17:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579027968001,"66":12298,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579027968001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:29:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:29:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579027968001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":127770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:29:36] local.INFO: GPS data processed {"connection_id":127770,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:29:36] local.INFO: Acknowledgment sent {"connection_id":127770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:29:37] local.INFO: TCP Data received {"connection_id":127771,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41973380012d7cc08005e20770000a005e28..."} 
[2026-07-08 17:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41973380012d7cc08005e20770000a005e28..."} 
[2026-07-08 17:29:37] local.INFO: Processing buffer {"connection_id":127771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41973380012d7cc08005e20770000a005e28..."} 
[2026-07-08 17:29:37] local.INFO: Packet analysis {"connection_id":127771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4197"} 
[2026-07-08 17:29:37] local.INFO: Extracted packet for processing {"connection_id":127771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4197"} 
[2026-07-08 17:29:37] local.INFO: GPS Element Parsed {"raw_longitude":763150464,"raw_latitude":98699120,"longitude_deg":76.3150464,"latitude_deg":9.869912,"altitude":10,"angle":94,"satellites":40,"speed":15,"hex_longitude":"2d7cc080","hex_latitude":"05e20770","is_valid_coordinates":true} 
[2026-07-08 17:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579032320001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103800129659600896,"note":"Value kept but may cause issues"} 
[2026-07-08 17:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979473994802268160,"note":"Value kept but may cause issues"} 
[2026-07-08 17:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783511856000,"timestamp_ms":1783511856000,"timestamp_seconds":1783511856,"priority":1,"record_length":96,"hex_timestamp":"0000019f41973380"} 
[2026-07-08 17:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-08 17:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:29: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-07-08 17:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579032320001,"66":12993,"43":206,"85":15104,"24":15,"16":103800129659600896,"45":8979473994802268160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-08 17:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579032320001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:29:37] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-08 17:29:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103800129659600896,"km_value":103800129659600.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979473994802268160,"description":"Unknown IO ID 45"} 
[2026-07-08 17:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579032320001,"power":12993,"unknown_43":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8979473994802268160}} 
[2026-07-08 17:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":127771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452730,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:29:37] local.INFO: GPS data processed {"connection_id":127771,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:29:37] local.INFO: Acknowledgment sent {"connection_id":127771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:29:55] local.INFO: TCP Data received {"connection_id":126548,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:29:55] local.INFO: Processing buffer {"connection_id":126548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:29:55] local.INFO: IMEI packet received {"connection_id":126548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":126548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:30:00] local.INFO: TCP Data received {"connection_id":126548,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:30:00] local.INFO: Processing buffer {"connection_id":126548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:30:00] local.INFO: IMEI packet received {"connection_id":126548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":126548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:30:00] local.INFO: TCP Data received {"connection_id":125672,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:30:00] local.INFO: Processing buffer {"connection_id":125672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:30:00] local.INFO: IMEI packet received {"connection_id":125672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":125672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:30:00] local.INFO: TCP Data received {"connection_id":126548,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4196be50012d92da0005870220000c016031..."} 
[2026-07-08 17:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4196be50012d92da0005870220000c016031..."} 
[2026-07-08 17:30:00] local.INFO: Processing buffer {"connection_id":126548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4196be50012d92da0005870220000c016031..."} 
[2026-07-08 17:30:00] local.INFO: Packet analysis {"connection_id":126548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4196"} 
[2026-07-08 17:30:00] local.INFO: Extracted packet for processing {"connection_id":126548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4196"} 
[2026-07-08 17:30:00] local.INFO: GPS Element Parsed {"raw_longitude":764598784,"raw_latitude":92733984,"longitude_deg":76.4598784,"latitude_deg":9.2733984,"altitude":12,"angle":352,"satellites":49,"speed":59,"hex_longitude":"2d92da00","hex_latitude":"05870220","is_valid_coordinates":true} 
[2026-07-08 17:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579025920001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342856351497584640,"note":"Value kept but may cause issues"} 
[2026-07-08 17:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7863496031883773952,"note":"Value kept but may cause issues"} 
[2026-07-08 17:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783511826000,"timestamp_ms":1783511826000,"timestamp_seconds":1783511826,"priority":1,"record_length":96,"hex_timestamp":"0000019f4196be50"} 
[2026-07-08 17:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:30: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 17:30:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:30:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579025920001,"66":27919,"127":206,"85":14080,"24":59,"16":342856351497584640,"45":-7863496031883773952},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-07-08 17:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579025920001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:30:00] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-07-08 17:30:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 17:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342856351497584640,"km_value":342856351497584.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7863496031883773952,"description":"Unknown IO ID 45"} 
[2026-07-08 17:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579025920001,"power":27919,"unknown_127":206,"unknown_85":14080,"ignition":59,"odometer":null,"unknown_45":-7863496031883773952}} 
[2026-07-08 17:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":126548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:30:00] local.INFO: GPS data processed {"connection_id":126548,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:30:00] local.INFO: Acknowledgment sent {"connection_id":126548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:30:07] local.INFO: TCP Data received {"connection_id":125672,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:30:07] local.INFO: Processing buffer {"connection_id":125672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:30:07] local.INFO: IMEI packet received {"connection_id":125672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":125672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:30:08] local.INFO: TCP Data received {"connection_id":127771,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41977db8012d7cd78005e20718000a004d2c..."} 
[2026-07-08 17:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41977db8012d7cd78005e20718000a004d2c..."} 
[2026-07-08 17:30:08] local.INFO: Processing buffer {"connection_id":127771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41977db8012d7cd78005e20718000a004d2c..."} 
[2026-07-08 17:30:08] local.INFO: Packet analysis {"connection_id":127771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4197"} 
[2026-07-08 17:30:08] local.INFO: Extracted packet for processing {"connection_id":127771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4197"} 
[2026-07-08 17:30:08] local.INFO: GPS Element Parsed {"raw_longitude":763156352,"raw_latitude":98699032,"longitude_deg":76.3156352,"latitude_deg":9.8699032,"altitude":10,"angle":77,"satellites":44,"speed":18,"hex_longitude":"2d7cd780","hex_latitude":"05e20718","is_valid_coordinates":true} 
[2026-07-08 17:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579035136001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103800413127442432,"note":"Value kept but may cause issues"} 
[2026-07-08 17:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8989325618986840064,"note":"Value kept but may cause issues"} 
[2026-07-08 17:30: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-07-08 17:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783511875000,"timestamp_ms":1783511875000,"timestamp_seconds":1783511875,"priority":1,"record_length":96,"hex_timestamp":"0000019f41977db8"} 
[2026-07-08 17:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-08 17:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":127771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":127771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":127771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:30: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-07-08 17:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579035136001,"66":12982,"43":206,"85":15104,"24":18,"16":103800413127442432,"45":8989325618986840064},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-08 17:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579035136001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:30:08] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-08 17:30:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103800413127442432,"km_value":103800413127442.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8989325618986840064,"description":"Unknown IO ID 45"} 
[2026-07-08 17:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579035136001,"power":12982,"unknown_43":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8989325618986840064}} 
[2026-07-08 17:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":127771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452732,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:30:08] local.INFO: GPS data processed {"connection_id":127771,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:30:08] local.INFO: Acknowledgment sent {"connection_id":127771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:30:11] local.INFO: TCP Data received {"connection_id":125672,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41976a30012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41976a30012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:30:11] local.INFO: Processing buffer {"connection_id":125672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41976a30012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:30:11] local.INFO: Packet analysis {"connection_id":125672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4197"} 
[2026-07-08 17:30:11] local.INFO: Extracted packet for processing {"connection_id":125672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4197"} 
[2026-07-08 17:30:11] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17: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-07-08 17:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579033344001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:30: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-07-08 17:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783511870000,"timestamp_ms":1783511870000,"timestamp_seconds":1783511870,"priority":1,"record_length":96,"hex_timestamp":"0000019f41976a30"} 
[2026-07-08 17:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 17:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-08 17:30:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-08 17:30:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185617,"note":"Value kept but may cause issues"} 
[2026-07-08 17:30:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 17:30:11] local.WARNING: Large IO value detected {"io_id":86,"raw_value":-2954361355555045375,"note":"Value kept but may cause issues"} 
[2026-07-08 17:30:11] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4725641533853604198,"note":"Value kept but may cause issues"} 
[2026-07-08 17:30:11] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390360156569690,"note":"Value kept but may cause issues"} 
[2026-07-08 17:30:11] local.WARNING: Large IO value detected {"io_id":62,"raw_value":25383325438836736,"note":"Value kept but may cause issues"} 
[2026-07-08 17:30:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-07-08 17:30:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075959502,"note":"Value kept but may cause issues"} 
[2026-07-08 17:30:11] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2513438721,"note":"Value kept but may cause issues"} 
[2026-07-08 17:30:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3989831742,"note":"Value kept but may cause issues"} 
[2026-07-08 17:30:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-08 17:30:11] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3221692397,"note":"Value kept but may cause issues"} 
[2026-07-08 17:30:11] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,103,83,24,241,157,16,86,159,198,45,192,237,62,42,10,66,116,44,34,1,240,53,227,65,31,4,113,205,126,102,208,239,48,2,17,7,46],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-08 17:30:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467669975376592896,"timestamp_seconds":4467669975376593.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 17:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579033344001,"66":12341,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579033344001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:30:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:30:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579033344001,"power":12341,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":125672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:30:11] local.INFO: GPS data processed {"connection_id":125672,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:30:11] local.INFO: Acknowledgment sent {"connection_id":125672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:30:31] local.INFO: TCP Data received {"connection_id":126548,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41991fb0012d92520005883c48000d01142d..."} 
[2026-07-08 17:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41991fb0012d92520005883c48000d01142d..."} 
[2026-07-08 17:30:31] local.INFO: Processing buffer {"connection_id":126548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41991fb0012d92520005883c48000d01142d..."} 
[2026-07-08 17:30:31] local.INFO: Packet analysis {"connection_id":126548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4199"} 
[2026-07-08 17:30:31] local.INFO: Extracted packet for processing {"connection_id":126548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4199"} 
[2026-07-08 17:30:31] local.INFO: GPS Element Parsed {"raw_longitude":764563968,"raw_latitude":92814408,"longitude_deg":76.4563968,"latitude_deg":9.2814408,"altitude":13,"angle":276,"satellites":45,"speed":32,"hex_longitude":"2d925200","hex_latitude":"05883c48","is_valid_coordinates":true} 
[2026-07-08 17:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579062016001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342861080256577536,"note":"Value kept but may cause issues"} 
[2026-07-08 17:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7894739754276208640,"note":"Value kept but may cause issues"} 
[2026-07-08 17:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783511982000,"timestamp_ms":1783511982000,"timestamp_seconds":1783511982,"priority":1,"record_length":96,"hex_timestamp":"0000019f41991fb0"} 
[2026-07-08 17:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-08 17:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":126548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":126548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":126548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579062016001,"66":27865,"183":206,"85":14080,"24":32,"16":342861080256577536,"45":-7894739754276208640},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,45]} 
[2026-07-08 17:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579062016001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:30:31] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-08 17:30:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 17:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342861080256577536,"km_value":342861080256577.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7894739754276208640,"description":"Unknown IO ID 45"} 
[2026-07-08 17:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579062016001,"power":27865,"unknown_183":206,"unknown_85":14080,"ignition":32,"odometer":null,"unknown_45":-7894739754276208640}} 
[2026-07-08 17:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":126548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:30:31] local.INFO: GPS data processed {"connection_id":126548,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:30:31] local.INFO: Acknowledgment sent {"connection_id":126548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:30:31] local.INFO: TCP Data received {"connection_id":126549,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126549,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:30:31] local.INFO: Processing buffer {"connection_id":126549,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:30:31] local.INFO: IMEI packet received {"connection_id":126549,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 17:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":126549,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:30:36] local.INFO: TCP Data received {"connection_id":126549,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126549,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:30:36] local.INFO: Processing buffer {"connection_id":126549,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:30:36] local.INFO: IMEI packet received {"connection_id":126549,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":126549,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:30:37] local.INFO: TCP Data received {"connection_id":126549,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f4197c408012d7cf7c005e20ed0000a00582b..."} 
[2026-07-08 17:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4197c408012d7cf7c005e20ed0000a00582b..."} 
[2026-07-08 17:30:37] local.INFO: Processing buffer {"connection_id":126549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4197c408012d7cf7c005e20ed0000a00582b..."} 
[2026-07-08 17:30:37] local.INFO: Packet analysis {"connection_id":126549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4197"} 
[2026-07-08 17:30:37] local.INFO: Extracted packet for processing {"connection_id":126549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4197"} 
[2026-07-08 17:30:37] local.INFO: GPS Element Parsed {"raw_longitude":763164608,"raw_latitude":98701008,"longitude_deg":76.3164608,"latitude_deg":9.8701008,"altitude":10,"angle":88,"satellites":43,"speed":15,"hex_longitude":"2d7cf7c0","hex_latitude":"05e20ed0","is_valid_coordinates":true} 
[2026-07-08 17:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579040000001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103800821149335552,"note":"Value kept but may cause issues"} 
[2026-07-08 17:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8995799543451162624,"note":"Value kept but may cause issues"} 
[2026-07-08 17:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783511893000,"timestamp_ms":1783511893000,"timestamp_seconds":1783511893,"priority":1,"record_length":96,"hex_timestamp":"0000019f4197c408"} 
[2026-07-08 17:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-08 17:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:30: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-07-08 17:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579040000001,"66":13059,"43":206,"85":15104,"24":15,"16":103800821149335552,"45":8995799543451162624},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-08 17:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579040000001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:30:37] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-08 17:30:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103800821149335552,"km_value":103800821149335.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8995799543451162624,"description":"Unknown IO ID 45"} 
[2026-07-08 17:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579040000001,"power":13059,"unknown_43":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8995799543451162624}} 
[2026-07-08 17:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":126549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452735,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:30:37] local.INFO: GPS data processed {"connection_id":126549,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:30:37] local.INFO: Acknowledgment sent {"connection_id":126549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:30:46] local.INFO: TCP Data received {"connection_id":125672,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4197bc38012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4197bc38012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:30:46] local.INFO: Processing buffer {"connection_id":125672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4197bc38012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:30:46] local.INFO: Packet analysis {"connection_id":125672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4197"} 
[2026-07-08 17:30:46] local.INFO: Extracted packet for processing {"connection_id":125672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4197"} 
[2026-07-08 17:30:46] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17: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-07-08 17:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579038720001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:30: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-07-08 17:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783511891000,"timestamp_ms":1783511891000,"timestamp_seconds":1783511891,"priority":1,"record_length":96,"hex_timestamp":"0000019f4197bc38"} 
[2026-07-08 17:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:30: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-07-08 17: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 17:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17: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-07-08 17:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":125672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":125672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":125672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579038720001,"66":12319,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579038720001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:30:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:30:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579038720001,"power":12319,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":125672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:30:46] local.INFO: GPS data processed {"connection_id":125672,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:30:46] local.INFO: Acknowledgment sent {"connection_id":125672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:30:56] local.INFO: TCP Data received {"connection_id":125673,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:30:56] local.INFO: Processing buffer {"connection_id":125673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:30:56] local.INFO: IMEI packet received {"connection_id":125673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":125673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:30:59] local.INFO: TCP Data received {"connection_id":127772,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:30:59] local.INFO: Processing buffer {"connection_id":127772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:30:59] local.INFO: IMEI packet received {"connection_id":127772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":127772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:31:00] local.INFO: TCP Data received {"connection_id":125673,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:31:00] local.INFO: Processing buffer {"connection_id":125673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:31:00] local.INFO: IMEI packet received {"connection_id":125673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":125673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:31:01] local.INFO: TCP Data received {"connection_id":125673,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41991fb0012d92520005883c48000d01142d..."} 
[2026-07-08 17:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41991fb0012d92520005883c48000d01142d..."} 
[2026-07-08 17:31:01] local.INFO: Processing buffer {"connection_id":125673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41991fb0012d92520005883c48000d01142d..."} 
[2026-07-08 17:31:01] local.INFO: Packet analysis {"connection_id":125673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4199"} 
[2026-07-08 17:31:01] local.INFO: Extracted packet for processing {"connection_id":125673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4199"} 
[2026-07-08 17:31:01] local.INFO: GPS Element Parsed {"raw_longitude":764563968,"raw_latitude":92814408,"longitude_deg":76.4563968,"latitude_deg":9.2814408,"altitude":13,"angle":276,"satellites":45,"speed":32,"hex_longitude":"2d925200","hex_latitude":"05883c48","is_valid_coordinates":true} 
[2026-07-08 17:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579067392001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342861080256577536,"note":"Value kept but may cause issues"} 
[2026-07-08 17:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7903254372321310720,"note":"Value kept but may cause issues"} 
[2026-07-08 17:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783511982000,"timestamp_ms":1783511982000,"timestamp_seconds":1783511982,"priority":1,"record_length":96,"hex_timestamp":"0000019f41991fb0"} 
[2026-07-08 17:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 17:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:31:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579067392001,"66":27865,"183":206,"85":14080,"24":32,"16":342861080256577536,"45":-7903254372321310720},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,45]} 
[2026-07-08 17:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579067392001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:31:01] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-08 17:31:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 17:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342861080256577536,"km_value":342861080256577.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7903254372321310720,"description":"Unknown IO ID 45"} 
[2026-07-08 17:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579067392001,"power":27865,"unknown_183":206,"unknown_85":14080,"ignition":32,"odometer":null,"unknown_45":-7903254372321310720}} 
[2026-07-08 17:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":125673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:31:01] local.INFO: GPS data processed {"connection_id":125673,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:31:01] local.INFO: Acknowledgment sent {"connection_id":125673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:31:05] local.INFO: TCP Data received {"connection_id":127772,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:31:05] local.INFO: Processing buffer {"connection_id":127772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:31:05] local.INFO: IMEI packet received {"connection_id":127772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":127772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:31:06] local.INFO: TCP Data received {"connection_id":127772,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41980e40012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41980e40012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:31:06] local.INFO: Processing buffer {"connection_id":127772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41980e40012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:31:06] local.INFO: Packet analysis {"connection_id":127772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4198"} 
[2026-07-08 17:31:06] local.INFO: Extracted packet for processing {"connection_id":127772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4198"} 
[2026-07-08 17:31:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579044096001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783511912000,"timestamp_ms":1783511912000,"timestamp_seconds":1783511912,"priority":1,"record_length":96,"hex_timestamp":"0000019f41980e40"} 
[2026-07-08 17:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 17:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579044096001,"66":12341,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579044096001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:31:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:31:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579044096001,"power":12341,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":127772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:31:06] local.INFO: GPS data processed {"connection_id":127772,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:31:06] local.INFO: Acknowledgment sent {"connection_id":127772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:31:11] local.INFO: TCP Data received {"connection_id":126549,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f419a5830012d7e2d4005e209e00007009326..."} 
[2026-07-08 17:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f419a5830012d7e2d4005e209e00007009326..."} 
[2026-07-08 17:31:11] local.INFO: Processing buffer {"connection_id":126549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f419a5830012d7e2d4005e209e00007009326..."} 
[2026-07-08 17:31:11] local.INFO: Packet analysis {"connection_id":126549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f419a"} 
[2026-07-08 17:31:11] local.INFO: Extracted packet for processing {"connection_id":126549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f419a"} 
[2026-07-08 17:31:11] local.INFO: GPS Element Parsed {"raw_longitude":763243840,"raw_latitude":98699744,"longitude_deg":76.324384,"latitude_deg":9.8699744,"altitude":7,"angle":147,"satellites":38,"speed":22,"hex_longitude":"2d7e2d40","hex_latitude":"05e209e0","is_valid_coordinates":true} 
[2026-07-08 17:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579087616001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103804712389705728,"note":"Value kept but may cause issues"} 
[2026-07-08 17:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091571404277262336,"note":"Value kept but may cause issues"} 
[2026-07-08 17:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783512062000,"timestamp_ms":1783512062000,"timestamp_seconds":1783512062,"priority":1,"record_length":96,"hex_timestamp":"0000019f419a5830"} 
[2026-07-08 17:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-08 17:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579087616001,"66":12798,"61":206,"85":15104,"24":22,"16":103804712389705728,"45":9091571404277262336},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-08 17:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579087616001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:31:11] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-08 17:31:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103804712389705728,"km_value":103804712389705.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091571404277262336,"description":"Unknown IO ID 45"} 
[2026-07-08 17:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579087616001,"power":12798,"unknown_61":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9091571404277262336}} 
[2026-07-08 17:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":126549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452739,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:31:11] local.INFO: GPS data processed {"connection_id":126549,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:31:11] local.INFO: Acknowledgment sent {"connection_id":126549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:31:31] local.INFO: TCP Data received {"connection_id":126550,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:31:31] local.INFO: Processing buffer {"connection_id":126550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:31:31] local.INFO: IMEI packet received {"connection_id":126550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 17:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":126550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:31:32] local.INFO: TCP Data received {"connection_id":126550,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:31:32] local.INFO: Processing buffer {"connection_id":126550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:31:32] local.INFO: IMEI packet received {"connection_id":126550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":126550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:31:32] local.INFO: TCP Data received {"connection_id":126550,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:31:32] local.INFO: Processing buffer {"connection_id":126550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:31:32] local.INFO: IMEI packet received {"connection_id":126550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":126550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:31:32] local.INFO: TCP Data received {"connection_id":125673,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41993ef0012d92394005883dd0000b01082e..."} 
[2026-07-08 17:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41993ef0012d92394005883dd0000b01082e..."} 
[2026-07-08 17:31:32] local.INFO: Processing buffer {"connection_id":125673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41993ef0012d92394005883dd0000b01082e..."} 
[2026-07-08 17:31:32] local.INFO: Packet analysis {"connection_id":125673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4199"} 
[2026-07-08 17:31:32] local.INFO: Extracted packet for processing {"connection_id":125673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4199"} 
[2026-07-08 17:31:32] local.INFO: GPS Element Parsed {"raw_longitude":764557632,"raw_latitude":92814800,"longitude_deg":76.4557632,"latitude_deg":9.28148,"altitude":11,"angle":264,"satellites":46,"speed":21,"hex_longitude":"2d923940","hex_latitude":"05883dd0","is_valid_coordinates":true} 
[2026-07-08 17:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579067392001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342861385199255552,"note":"Value kept but may cause issues"} 
[2026-07-08 17:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7903254372321310720,"note":"Value kept but may cause issues"} 
[2026-07-08 17:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783511990000,"timestamp_ms":1783511990000,"timestamp_seconds":1783511990,"priority":1,"record_length":96,"hex_timestamp":"0000019f41993ef0"} 
[2026-07-08 17:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:31:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 17:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:31:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579067392001,"66":28050,"183":206,"85":14080,"24":21,"16":342861385199255552,"45":-7903254372321310720},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,45]} 
[2026-07-08 17:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579067392001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:31:32] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-08 17:31:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 17:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342861385199255552,"km_value":342861385199255.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7903254372321310720,"description":"Unknown IO ID 45"} 
[2026-07-08 17:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579067392001,"power":28050,"unknown_183":206,"unknown_85":14080,"ignition":21,"odometer":null,"unknown_45":-7903254372321310720}} 
[2026-07-08 17:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":125673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:31:32] local.INFO: GPS data processed {"connection_id":125673,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:31:32] local.INFO: Acknowledgment sent {"connection_id":125673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:31:34] local.INFO: TCP Data received {"connection_id":126550,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:31:34] local.INFO: Processing buffer {"connection_id":126550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:31:34] local.INFO: IMEI packet received {"connection_id":126550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":126550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:31:36] local.INFO: TCP Data received {"connection_id":127772,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41986048012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41986048012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:31:36] local.INFO: Processing buffer {"connection_id":127772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41986048012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:31:36] local.INFO: Packet analysis {"connection_id":127772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4198"} 
[2026-07-08 17:31:36] local.INFO: Extracted packet for processing {"connection_id":127772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4198"} 
[2026-07-08 17:31:36] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579049472001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783511933000,"timestamp_ms":1783511933000,"timestamp_seconds":1783511933,"priority":1,"record_length":96,"hex_timestamp":"0000019f41986048"} 
[2026-07-08 17:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 17:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579049472001,"66":12341,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579049472001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:31:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:31:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579049472001,"power":12341,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":127772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:31:36] local.INFO: GPS data processed {"connection_id":127772,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:31:36] local.INFO: Acknowledgment sent {"connection_id":127772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:31:55] local.INFO: TCP Data received {"connection_id":126551,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:31:55] local.INFO: Processing buffer {"connection_id":126551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:31:55] local.INFO: IMEI packet received {"connection_id":126551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":126551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:31:56] local.INFO: TCP Data received {"connection_id":126551,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:31:56] local.INFO: Processing buffer {"connection_id":126551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:31:56] local.INFO: IMEI packet received {"connection_id":126551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":126551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:31:59] local.INFO: TCP Data received {"connection_id":125772,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:31:59] local.INFO: Processing buffer {"connection_id":125772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:31:59] local.INFO: IMEI packet received {"connection_id":125772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":125772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:32:00] local.INFO: TCP Data received {"connection_id":126551,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:32:00] local.INFO: Processing buffer {"connection_id":126551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:32:00] local.INFO: IMEI packet received {"connection_id":126551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":126551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:32:01] local.INFO: TCP Data received {"connection_id":126551,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41998540012d921e0005883b58000801152f..."} 
[2026-07-08 17:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41998540012d921e0005883b58000801152f..."} 
[2026-07-08 17:32:01] local.INFO: Processing buffer {"connection_id":126551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41998540012d921e0005883b58000801152f..."} 
[2026-07-08 17:32:01] local.INFO: Packet analysis {"connection_id":126551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4199"} 
[2026-07-08 17:32:01] local.INFO: Extracted packet for processing {"connection_id":126551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4199"} 
[2026-07-08 17:32:01] local.INFO: GPS Element Parsed {"raw_longitude":764550656,"raw_latitude":92814168,"longitude_deg":76.4550656,"latitude_deg":9.2814168,"altitude":8,"angle":277,"satellites":47,"speed":14,"hex_longitude":"2d921e00","hex_latitude":"05883b58","is_valid_coordinates":true} 
[2026-07-08 17:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579069440001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342861720206704640,"note":"Value kept but may cause issues"} 
[2026-07-08 17:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7910220877994799104,"note":"Value kept but may cause issues"} 
[2026-07-08 17:32:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783512008000,"timestamp_ms":1783512008000,"timestamp_seconds":1783512008,"priority":1,"record_length":96,"hex_timestamp":"0000019f41998540"} 
[2026-07-08 17:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:32: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-08 17:32:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:32:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579069440001,"66":27995,"183":206,"85":14080,"24":14,"16":342861720206704640,"45":-7910220877994799104},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,45]} 
[2026-07-08 17:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579069440001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:32:01] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-08 17:32:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 17:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342861720206704640,"km_value":342861720206704.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7910220877994799104,"description":"Unknown IO ID 45"} 
[2026-07-08 17:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579069440001,"power":27995,"unknown_183":206,"unknown_85":14080,"ignition":14,"odometer":null,"unknown_45":-7910220877994799104}} 
[2026-07-08 17:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":126551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:32:01] local.INFO: GPS data processed {"connection_id":126551,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:32:01] local.INFO: Acknowledgment sent {"connection_id":126551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:32:05] local.INFO: TCP Data received {"connection_id":125772,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:32:05] local.INFO: Processing buffer {"connection_id":125772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:32:05] local.INFO: IMEI packet received {"connection_id":125772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":125772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:32:06] local.INFO: TCP Data received {"connection_id":125772,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4198b250012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4198b250012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:32:06] local.INFO: Processing buffer {"connection_id":125772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4198b250012d1966c0071fedd0003e005a2c..."} 
[2026-07-08 17:32:06] local.INFO: Packet analysis {"connection_id":125772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4198"} 
[2026-07-08 17:32:06] local.INFO: Extracted packet for processing {"connection_id":125772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4198"} 
[2026-07-08 17:32:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579054848001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783511954000,"timestamp_ms":1783511954000,"timestamp_seconds":1783511954,"priority":1,"record_length":96,"hex_timestamp":"0000019f4198b250"} 
[2026-07-08 17:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 17:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579054848001,"66":12341,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579054848001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:32:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:32:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579054848001,"power":12341,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":125772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:32:06] local.INFO: GPS data processed {"connection_id":125772,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:32:06] local.INFO: Acknowledgment sent {"connection_id":125772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:32:33] local.INFO: TCP Data received {"connection_id":126551,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41998d10012d921bc005883bf0000801242e..."} 
[2026-07-08 17:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41998d10012d921bc005883bf0000801242e..."} 
[2026-07-08 17:32:33] local.INFO: Processing buffer {"connection_id":126551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41998d10012d921bc005883bf0000801242e..."} 
[2026-07-08 17:32:33] local.INFO: Packet analysis {"connection_id":126551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4199"} 
[2026-07-08 17:32:33] local.INFO: Extracted packet for processing {"connection_id":126551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4199"} 
[2026-07-08 17:32:33] local.INFO: GPS Element Parsed {"raw_longitude":764550080,"raw_latitude":92814320,"longitude_deg":76.455008,"latitude_deg":9.281432,"altitude":8,"angle":292,"satellites":46,"speed":9,"hex_longitude":"2d921bc0","hex_latitude":"05883bf0","is_valid_coordinates":true} 
[2026-07-08 17: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-07-08 17:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579074048001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342861750271475712,"note":"Value kept but may cause issues"} 
[2026-07-08 17:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7917891071110326272,"note":"Value kept but may cause issues"} 
[2026-07-08 17:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783512010000,"timestamp_ms":1783512010000,"timestamp_seconds":1783512010,"priority":1,"record_length":96,"hex_timestamp":"0000019f41998d10"} 
[2026-07-08 17:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-08 17:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17: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-07-08 17:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579074048001,"66":27800,"183":206,"85":14080,"24":9,"16":342861750271475712,"45":-7917891071110326272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,45]} 
[2026-07-08 17:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579074048001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:32:33] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-08 17:32:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 17:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342861750271475712,"km_value":342861750271475.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7917891071110326272,"description":"Unknown IO ID 45"} 
[2026-07-08 17:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579074048001,"power":27800,"unknown_183":206,"unknown_85":14080,"ignition":9,"odometer":null,"unknown_45":-7917891071110326272}} 
[2026-07-08 17:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":126551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:32:33] local.INFO: GPS data processed {"connection_id":126551,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:32:33] local.INFO: Acknowledgment sent {"connection_id":126551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:32:36] local.INFO: TCP Data received {"connection_id":125772,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41990458012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41990458012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:32:36] local.INFO: Processing buffer {"connection_id":125772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41990458012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:32:36] local.INFO: Packet analysis {"connection_id":125772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4199"} 
[2026-07-08 17:32:36] local.INFO: Extracted packet for processing {"connection_id":125772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4199"} 
[2026-07-08 17:32:36] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579060224001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783511975000,"timestamp_ms":1783511975000,"timestamp_seconds":1783511975,"priority":1,"record_length":96,"hex_timestamp":"0000019f41990458"} 
[2026-07-08 17:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 17:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579060224001,"66":12287,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579060224001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:32:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:32:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579060224001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":125772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:32:36] local.INFO: GPS data processed {"connection_id":125772,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:32:36] local.INFO: Acknowledgment sent {"connection_id":125772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:32:54] local.INFO: TCP Data received {"connection_id":125674,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:32:54] local.INFO: Processing buffer {"connection_id":125674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:32:54] local.INFO: IMEI packet received {"connection_id":125674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":125674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:32:55] local.INFO: TCP Data received {"connection_id":125674,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:32:55] local.INFO: Processing buffer {"connection_id":125674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:32:55] local.INFO: IMEI packet received {"connection_id":125674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":125674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:32:59] local.INFO: TCP Data received {"connection_id":125674,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:32:59] local.INFO: Processing buffer {"connection_id":125674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:32:59] local.INFO: IMEI packet received {"connection_id":125674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":125674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:33:00] local.INFO: TCP Data received {"connection_id":127774,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:33:00] local.INFO: Processing buffer {"connection_id":127774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:33:00] local.INFO: IMEI packet received {"connection_id":127774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":127774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:33:00] local.INFO: TCP Data received {"connection_id":125674,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f419b0028012d913ec005883780000a01002d..."} 
[2026-07-08 17:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f419b0028012d913ec005883780000a01002d..."} 
[2026-07-08 17:33:00] local.INFO: Processing buffer {"connection_id":125674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f419b0028012d913ec005883780000a01002d..."} 
[2026-07-08 17:33:00] local.INFO: Packet analysis {"connection_id":125674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f419b"} 
[2026-07-08 17:33:00] local.INFO: Extracted packet for processing {"connection_id":125674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f419b"} 
[2026-07-08 17:33:00] local.INFO: GPS Element Parsed {"raw_longitude":764493504,"raw_latitude":92813184,"longitude_deg":76.4493504,"latitude_deg":9.2813184,"altitude":10,"angle":256,"satellites":45,"speed":23,"hex_longitude":"2d913ec0","hex_latitude":"05883780","is_valid_coordinates":true} 
[2026-07-08 17:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579096576001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342864499050545152,"note":"Value kept but may cause issues"} 
[2026-07-08 17:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7972708322824800256,"note":"Value kept but may cause issues"} 
[2026-07-08 17:33:00] 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-07-08 17:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783512105000,"timestamp_ms":1783512105000,"timestamp_seconds":1783512105,"priority":1,"record_length":96,"hex_timestamp":"0000019f419b0028"} 
[2026-07-08 17:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-08 17:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:33:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579096576001,"66":27919,"111":206,"85":14080,"24":23,"16":342864499050545152,"45":-7972708322824800256},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-07-08 17:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579096576001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:33:00] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-08 17:33:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 17:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342864499050545152,"km_value":342864499050545.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7972708322824800256,"description":"Unknown IO ID 45"} 
[2026-07-08 17:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579096576001,"power":27919,"unknown_111":206,"unknown_85":14080,"ignition":23,"odometer":null,"unknown_45":-7972708322824800256}} 
[2026-07-08 17:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":125674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:33:00] local.INFO: GPS data processed {"connection_id":125674,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:33:00] local.INFO: Acknowledgment sent {"connection_id":125674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:33:01] local.INFO: TCP Data received {"connection_id":127774,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:33:01] local.INFO: Processing buffer {"connection_id":127774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:33:01] local.INFO: IMEI packet received {"connection_id":127774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":127774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:33:05] local.INFO: TCP Data received {"connection_id":127774,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:33:05] local.INFO: Processing buffer {"connection_id":127774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:33:05] local.INFO: IMEI packet received {"connection_id":127774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":127774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:33:06] local.INFO: TCP Data received {"connection_id":127774,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41995660012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41995660012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:33:06] local.INFO: Processing buffer {"connection_id":127774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41995660012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:33:06] local.INFO: Packet analysis {"connection_id":127774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4199"} 
[2026-07-08 17:33:06] local.INFO: Extracted packet for processing {"connection_id":127774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4199"} 
[2026-07-08 17:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":43,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579065600001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783511996000,"timestamp_ms":1783511996000,"timestamp_seconds":1783511996,"priority":1,"record_length":96,"hex_timestamp":"0000019f41995660"} 
[2026-07-08 17:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 17:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579065600001,"66":12341,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579065600001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:33:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:33:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579065600001,"power":12341,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":127774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:33:06] local.INFO: GPS data processed {"connection_id":127774,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:33:06] local.INFO: Acknowledgment sent {"connection_id":127774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:33:10] local.INFO: TCP Data received {"connection_id":127774,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4199a868012d1966c0071fedd0003e005a2a..."} 
[2026-07-08 17:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4199a868012d1966c0071fedd0003e005a2a..."} 
[2026-07-08 17:33:10] local.INFO: Processing buffer {"connection_id":127774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4199a868012d1966c0071fedd0003e005a2a..."} 
[2026-07-08 17:33:10] local.INFO: Packet analysis {"connection_id":127774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4199"} 
[2026-07-08 17:33:10] local.INFO: Extracted packet for processing {"connection_id":127774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4199"} 
[2026-07-08 17:33:10] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":42,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17: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-07-08 17:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579070976001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:33: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-07-08 17:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783512017000,"timestamp_ms":1783512017000,"timestamp_seconds":1783512017,"priority":1,"record_length":96,"hex_timestamp":"0000019f4199a868"} 
[2026-07-08 17:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 17:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17: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-07-08 17:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":127774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":127774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":127774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579070976001,"66":12341,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579070976001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:33:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:33:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579070976001,"power":12341,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":127774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:33:10] local.INFO: GPS data processed {"connection_id":127774,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:33:10] local.INFO: Acknowledgment sent {"connection_id":127774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:33:31] local.INFO: TCP Data received {"connection_id":125674,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f419b2f08012d911c0005883088000a010b2f..."} 
[2026-07-08 17:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f419b2f08012d911c0005883088000a010b2f..."} 
[2026-07-08 17:33:31] local.INFO: Processing buffer {"connection_id":125674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f419b2f08012d911c0005883088000a010b2f..."} 
[2026-07-08 17:33:31] local.INFO: Packet analysis {"connection_id":125674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f419b"} 
[2026-07-08 17:33:31] local.INFO: Extracted packet for processing {"connection_id":125674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f419b"} 
[2026-07-08 17:33:31] local.INFO: GPS Element Parsed {"raw_longitude":764484608,"raw_latitude":92811400,"longitude_deg":76.4484608,"latitude_deg":9.28114,"altitude":10,"angle":267,"satellites":47,"speed":37,"hex_longitude":"2d911c00","hex_latitude":"05883088","is_valid_coordinates":true} 
[2026-07-08 17: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-07-08 17:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579098880001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342864932842242048,"note":"Value kept but may cause issues"} 
[2026-07-08 17:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7980730359661232128,"note":"Value kept but may cause issues"} 
[2026-07-08 17:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783512117000,"timestamp_ms":1783512117000,"timestamp_seconds":1783512117,"priority":1,"record_length":96,"hex_timestamp":"0000019f419b2f08"} 
[2026-07-08 17:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 17:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17: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-07-08 17:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":125674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":125674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":125674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579098880001,"66":27930,"195":206,"85":14080,"24":37,"16":342864932842242048,"45":-7980730359661232128},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-07-08 17:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579098880001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:33:31] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-08 17:33:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 17:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342864932842242048,"km_value":342864932842242.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7980730359661232128,"description":"Unknown IO ID 45"} 
[2026-07-08 17:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579098880001,"power":27930,"unknown_195":206,"unknown_85":14080,"ignition":37,"odometer":null,"unknown_45":-7980730359661232128}} 
[2026-07-08 17:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":125674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:33:31] local.INFO: GPS data processed {"connection_id":125674,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:33:31] local.INFO: Acknowledgment sent {"connection_id":125674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:33:41] local.INFO: TCP Data received {"connection_id":127774,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f4199fa70012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4199fa70012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:33:41] local.INFO: Processing buffer {"connection_id":127774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4199fa70012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:33:41] local.INFO: Packet analysis {"connection_id":127774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4199"} 
[2026-07-08 17:33:41] local.INFO: Extracted packet for processing {"connection_id":127774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4199"} 
[2026-07-08 17:33:41] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":43,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579076352001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:33: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-07-08 17:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783512038000,"timestamp_ms":1783512038000,"timestamp_seconds":1783512038,"priority":1,"record_length":96,"hex_timestamp":"0000019f4199fa70"} 
[2026-07-08 17:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:33: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-07-08 17:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 17:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":127774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":127774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":127774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:33: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-07-08 17:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579076352001,"66":12341,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579076352001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:33:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:33:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579076352001,"power":12341,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":127774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:33:41] local.INFO: GPS data processed {"connection_id":127774,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:33:41] local.INFO: Acknowledgment sent {"connection_id":127774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:33:55] local.INFO: TCP Data received {"connection_id":126552,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:33:55] local.INFO: Processing buffer {"connection_id":126552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:33:55] local.INFO: IMEI packet received {"connection_id":126552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":126552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:33:59] local.INFO: TCP Data received {"connection_id":126552,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:33:59] local.INFO: Processing buffer {"connection_id":126552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:33:59] local.INFO: IMEI packet received {"connection_id":126552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":126552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:34:00] local.INFO: TCP Data received {"connection_id":125776,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:34:00] local.INFO: Processing buffer {"connection_id":125776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:34:00] local.INFO: IMEI packet received {"connection_id":125776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":125776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:34:00] local.INFO: TCP Data received {"connection_id":126552,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:34:00] local.INFO: Processing buffer {"connection_id":126552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:34:00] local.INFO: IMEI packet received {"connection_id":126552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":126552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:34:01] local.INFO: TCP Data received {"connection_id":126552,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f419b2f08012d911c0005883088000a010b2f..."} 
[2026-07-08 17:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f419b2f08012d911c0005883088000a010b2f..."} 
[2026-07-08 17:34:01] local.INFO: Processing buffer {"connection_id":126552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f419b2f08012d911c0005883088000a010b2f..."} 
[2026-07-08 17:34:01] local.INFO: Packet analysis {"connection_id":126552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f419b"} 
[2026-07-08 17:34:01] local.INFO: Extracted packet for processing {"connection_id":126552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f419b"} 
[2026-07-08 17:34:01] local.INFO: GPS Element Parsed {"raw_longitude":764484608,"raw_latitude":92811400,"longitude_deg":76.4484608,"latitude_deg":9.28114,"altitude":10,"angle":267,"satellites":47,"speed":37,"hex_longitude":"2d911c00","hex_latitude":"05883088","is_valid_coordinates":true} 
[2026-07-08 17:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579101952001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342864932842242048,"note":"Value kept but may cause issues"} 
[2026-07-08 17:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7990511615102384128,"note":"Value kept but may cause issues"} 
[2026-07-08 17:34:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783512117000,"timestamp_ms":1783512117000,"timestamp_seconds":1783512117,"priority":1,"record_length":96,"hex_timestamp":"0000019f419b2f08"} 
[2026-07-08 17:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:34:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-08 17:34:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:34:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579101952001,"66":27930,"195":206,"85":14080,"24":37,"16":342864932842242048,"45":-7990511615102384128},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-07-08 17:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579101952001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:34:01] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-08 17:34:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 17:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342864932842242048,"km_value":342864932842242.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7990511615102384128,"description":"Unknown IO ID 45"} 
[2026-07-08 17:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579101952001,"power":27930,"unknown_195":206,"unknown_85":14080,"ignition":37,"odometer":null,"unknown_45":-7990511615102384128}} 
[2026-07-08 17:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":126552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:34:01] local.INFO: GPS data processed {"connection_id":126552,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:34:01] local.INFO: Acknowledgment sent {"connection_id":126552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:34:04] local.INFO: TCP Data received {"connection_id":125776,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:34:04] local.INFO: Processing buffer {"connection_id":125776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:34:04] local.INFO: IMEI packet received {"connection_id":125776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":125776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:34:04] local.INFO: TCP Data received {"connection_id":126552,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f419b5230012d90f8c005883080000a01102d..."} 
[2026-07-08 17:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f419b5230012d90f8c005883080000a01102d..."} 
[2026-07-08 17:34:04] local.INFO: Processing buffer {"connection_id":126552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f419b5230012d90f8c005883080000a01102d..."} 
[2026-07-08 17:34:04] local.INFO: Packet analysis {"connection_id":126552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f419b"} 
[2026-07-08 17:34:04] local.INFO: Extracted packet for processing {"connection_id":126552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f419b"} 
[2026-07-08 17:34:04] local.INFO: GPS Element Parsed {"raw_longitude":764475584,"raw_latitude":92811392,"longitude_deg":76.4475584,"latitude_deg":9.2811392,"altitude":10,"angle":272,"satellites":45,"speed":40,"hex_longitude":"2d90f8c0","hex_latitude":"05883080","is_valid_coordinates":true} 
[2026-07-08 17:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579101952001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342865366633938944,"note":"Value kept but may cause issues"} 
[2026-07-08 17:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7990511615102384128,"note":"Value kept but may cause issues"} 
[2026-07-08 17:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783512126000,"timestamp_ms":1783512126000,"timestamp_seconds":1783512126,"priority":1,"record_length":96,"hex_timestamp":"0000019f419b5230"} 
[2026-07-08 17:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-08 17:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579101952001,"66":27843,"195":206,"85":14080,"24":40,"16":342865366633938944,"45":-7990511615102384128},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-07-08 17:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579101952001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:34:04] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-08 17:34:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 17:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342865366633938944,"km_value":342865366633938.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7990511615102384128,"description":"Unknown IO ID 45"} 
[2026-07-08 17:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579101952001,"power":27843,"unknown_195":206,"unknown_85":14080,"ignition":40,"odometer":null,"unknown_45":-7990511615102384128}} 
[2026-07-08 17:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":126552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:34:04] local.INFO: GPS data processed {"connection_id":126552,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:34:04] local.INFO: Acknowledgment sent {"connection_id":126552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:34:05] local.INFO: TCP Data received {"connection_id":125776,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f419a4c78012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f419a4c78012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:34:05] local.INFO: Processing buffer {"connection_id":125776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f419a4c78012d1966c0071fedd0003e005a2b..."} 
[2026-07-08 17:34:05] local.INFO: Packet analysis {"connection_id":125776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f419a"} 
[2026-07-08 17:34:05] local.INFO: Extracted packet for processing {"connection_id":125776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f419a"} 
[2026-07-08 17:34:05] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":43,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579081728001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783512059000,"timestamp_ms":1783512059000,"timestamp_seconds":1783512059,"priority":1,"record_length":96,"hex_timestamp":"0000019f419a4c78"} 
[2026-07-08 17:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 17:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579081728001,"66":12298,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579081728001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:34:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:34:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579081728001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":125776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:34:05] local.INFO: GPS data processed {"connection_id":125776,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:34:05] local.INFO: Acknowledgment sent {"connection_id":125776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:34:26] local.INFO: TCP Data received {"connection_id":126553,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126553,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:34:26] local.INFO: Processing buffer {"connection_id":126553,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:34:26] local.INFO: IMEI packet received {"connection_id":126553,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 17:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":126553,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:34:35] local.INFO: TCP Data received {"connection_id":126552,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f419cb5a8012d8fe0c00588ad500009013e2f..."} 
[2026-07-08 17:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f419cb5a8012d8fe0c00588ad500009013e2f..."} 
[2026-07-08 17:34:35] local.INFO: Processing buffer {"connection_id":126552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f419cb5a8012d8fe0c00588ad500009013e2f..."} 
[2026-07-08 17:34:35] local.INFO: Packet analysis {"connection_id":126552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f419c"} 
[2026-07-08 17:34:35] local.INFO: Extracted packet for processing {"connection_id":126552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f419c"} 
[2026-07-08 17:34:35] local.INFO: GPS Element Parsed {"raw_longitude":764403904,"raw_latitude":92843344,"longitude_deg":76.4403904,"latitude_deg":9.2843344,"altitude":9,"angle":318,"satellites":47,"speed":35,"hex_longitude":"2d8fe0c0","hex_latitude":"0588ad50","is_valid_coordinates":true} 
[2026-07-08 17:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579124480001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342869206334701568,"note":"Value kept but may cause issues"} 
[2026-07-08 17:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8071998620853706752,"note":"Value kept but may cause issues"} 
[2026-07-08 17:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783512217000,"timestamp_ms":1783512217000,"timestamp_seconds":1783512217,"priority":1,"record_length":96,"hex_timestamp":"0000019f419cb5a8"} 
[2026-07-08 17:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 17:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579124480001,"66":27865,"208":206,"85":14080,"24":35,"16":342869206334701568,"45":-8071998620853706752},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-08 17:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579124480001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:34:35] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-08 17:34:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 17:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342869206334701568,"km_value":342869206334701.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8071998620853706752,"description":"Unknown IO ID 45"} 
[2026-07-08 17:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579124480001,"power":27865,"unknown_208":206,"unknown_85":14080,"ignition":35,"odometer":null,"unknown_45":-8071998620853706752}} 
[2026-07-08 17:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":126552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:34:35] local.INFO: GPS data processed {"connection_id":126552,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:34:35] local.INFO: Acknowledgment sent {"connection_id":126552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:34:36] local.INFO: TCP Data received {"connection_id":125776,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f419a9e80012d1966c0071fedd0003e005a29..."} 
[2026-07-08 17:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f419a9e80012d1966c0071fedd0003e005a29..."} 
[2026-07-08 17:34:36] local.INFO: Processing buffer {"connection_id":125776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f419a9e80012d1966c0071fedd0003e005a29..."} 
[2026-07-08 17:34:36] local.INFO: Packet analysis {"connection_id":125776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f419a"} 
[2026-07-08 17:34:36] local.INFO: Extracted packet for processing {"connection_id":125776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f419a"} 
[2026-07-08 17:34:36] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":41,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579087104001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783512080000,"timestamp_ms":1783512080000,"timestamp_seconds":1783512080,"priority":1,"record_length":96,"hex_timestamp":"0000019f419a9e80"} 
[2026-07-08 17:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 17:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-08 17:34:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-08 17:34:36] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185617,"note":"Value kept but may cause issues"} 
[2026-07-08 17:34:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 17:34:36] local.WARNING: Large IO value detected {"io_id":86,"raw_value":-2954361355555045375,"note":"Value kept but may cause issues"} 
[2026-07-08 17:34:36] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4726543476985764198,"note":"Value kept but may cause issues"} 
[2026-07-08 17:34:36] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390360156569690,"note":"Value kept but may cause issues"} 
[2026-07-08 17:34:36] local.WARNING: Large IO value detected {"io_id":62,"raw_value":25381126415581184,"note":"Value kept but may cause issues"} 
[2026-07-08 17:34:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-07-08 17:34:36] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074517710,"note":"Value kept but may cause issues"} 
[2026-07-08 17:34:36] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2567198721,"note":"Value kept but may cause issues"} 
[2026-07-08 17:34:36] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3989831742,"note":"Value kept but may cause issues"} 
[2026-07-08 17:34:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-08 17:34:36] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3221692397,"note":"Value kept but may cause issues"} 
[2026-07-08 17:34:36] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,103,83,24,241,157,16,86,159,250,45,192,237,62,43,10,66,168,42,1,240,53,227,65,31,4,113,205,178,102,208,44,239,48,2,17,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-08 17:34:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467669971081625600,"timestamp_seconds":4467669971081625.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 17:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579087104001,"66":11961,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579087104001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:34:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:34:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579087104001,"power":11961,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":125776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:34:36] local.INFO: GPS data processed {"connection_id":125776,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:34:36] local.INFO: Acknowledgment sent {"connection_id":125776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:34:55] local.INFO: TCP Data received {"connection_id":126554,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:34:55] local.INFO: Processing buffer {"connection_id":126554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:34:55] local.INFO: IMEI packet received {"connection_id":126554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":126554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:34:56] local.INFO: TCP Data received {"connection_id":127776,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127776,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:34:56] local.INFO: Processing buffer {"connection_id":127776,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:34:56] local.INFO: IMEI packet received {"connection_id":127776,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 17:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":127776,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:34:59] local.INFO: TCP Data received {"connection_id":126554,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:34:59] local.INFO: Processing buffer {"connection_id":126554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:34:59] local.INFO: IMEI packet received {"connection_id":126554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":126554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:35:00] local.INFO: TCP Data received {"connection_id":125675,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:35:00] local.INFO: Processing buffer {"connection_id":125675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:35:00] local.INFO: IMEI packet received {"connection_id":125675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":125675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:35:00] local.INFO: TCP Data received {"connection_id":126554,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:35:00] local.INFO: Processing buffer {"connection_id":126554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:35:00] local.INFO: IMEI packet received {"connection_id":126554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":126554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:35:01] local.INFO: TCP Data received {"connection_id":126554,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f419cd8d0012d8fcb400588caf80008014727..."} 
[2026-07-08 17:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f419cd8d0012d8fcb400588caf80008014727..."} 
[2026-07-08 17:35:01] local.INFO: Processing buffer {"connection_id":126554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f419cd8d0012d8fcb400588caf80008014727..."} 
[2026-07-08 17:35:01] local.INFO: Packet analysis {"connection_id":126554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f419c"} 
[2026-07-08 17:35:01] local.INFO: Extracted packet for processing {"connection_id":126554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f419c"} 
[2026-07-08 17:35:01] local.INFO: GPS Element Parsed {"raw_longitude":764398400,"raw_latitude":92850936,"longitude_deg":76.43984,"latitude_deg":9.2850936,"altitude":8,"angle":327,"satellites":39,"speed":45,"hex_longitude":"2d8fcb40","hex_latitude":"0588caf8","is_valid_coordinates":true} 
[2026-07-08 17:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579127552001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342869661601234944,"note":"Value kept but may cause issues"} 
[2026-07-08 17:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8079246601502240768,"note":"Value kept but may cause issues"} 
[2026-07-08 17:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783512226000,"timestamp_ms":1783512226000,"timestamp_seconds":1783512226,"priority":1,"record_length":96,"hex_timestamp":"0000019f419cd8d0"} 
[2026-07-08 17:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 17:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579127552001,"66":27843,"208":206,"85":14080,"24":45,"16":342869661601234944,"45":-8079246601502240768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-08 17:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579127552001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:35:01] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-08 17:35:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 17:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342869661601234944,"km_value":342869661601234.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8079246601502240768,"description":"Unknown IO ID 45"} 
[2026-07-08 17:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579127552001,"power":27843,"unknown_208":206,"unknown_85":14080,"ignition":45,"odometer":null,"unknown_45":-8079246601502240768}} 
[2026-07-08 17:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":126554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:35:01] local.INFO: GPS data processed {"connection_id":126554,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:35:01] local.INFO: Acknowledgment sent {"connection_id":126554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:35:05] local.INFO: TCP Data received {"connection_id":125675,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:35:05] local.INFO: Processing buffer {"connection_id":125675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:35:05] local.INFO: IMEI packet received {"connection_id":125675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":125675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:35:06] local.INFO: TCP Data received {"connection_id":125675,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f419af088012d1966c0071fedd0003e005a2a..."} 
[2026-07-08 17:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f419af088012d1966c0071fedd0003e005a2a..."} 
[2026-07-08 17:35:06] local.INFO: Processing buffer {"connection_id":125675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f419af088012d1966c0071fedd0003e005a2a..."} 
[2026-07-08 17:35:06] local.INFO: Packet analysis {"connection_id":125675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f419a"} 
[2026-07-08 17:35:06] local.INFO: Extracted packet for processing {"connection_id":125675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f419a"} 
[2026-07-08 17:35:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":42,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579092480001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783512101000,"timestamp_ms":1783512101000,"timestamp_seconds":1783512101,"priority":1,"record_length":96,"hex_timestamp":"0000019f419af088"} 
[2026-07-08 17:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 17:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2093,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579092480001,"66":12319,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579092480001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:35:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:35:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579092480001,"power":12319,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":125675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452757,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:35:06] local.INFO: GPS data processed {"connection_id":125675,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:35:06] local.INFO: Acknowledgment sent {"connection_id":125675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:35:34] local.INFO: TCP Data received {"connection_id":126554,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f419cf428012d8fbcc00588e9980007015228..."} 
[2026-07-08 17:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f419cf428012d8fbcc00588e9980007015228..."} 
[2026-07-08 17:35:34] local.INFO: Processing buffer {"connection_id":126554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f419cf428012d8fbcc00588e9980007015228..."} 
[2026-07-08 17:35:34] local.INFO: Packet analysis {"connection_id":126554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f419c"} 
[2026-07-08 17:35:34] local.INFO: Extracted packet for processing {"connection_id":126554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f419c"} 
[2026-07-08 17:35:34] local.INFO: GPS Element Parsed {"raw_longitude":764394688,"raw_latitude":92858776,"longitude_deg":76.4394688,"latitude_deg":9.2858776,"altitude":7,"angle":338,"satellites":40,"speed":53,"hex_longitude":"2d8fbcc0","hex_latitude":"0588e998","is_valid_coordinates":true} 
[2026-07-08 17:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579129856001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342870082508029952,"note":"Value kept but may cause issues"} 
[2026-07-08 17:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8085298313499576320,"note":"Value kept but may cause issues"} 
[2026-07-08 17:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783512233000,"timestamp_ms":1783512233000,"timestamp_seconds":1783512233,"priority":1,"record_length":96,"hex_timestamp":"0000019f419cf428"} 
[2026-07-08 17:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 17:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579129856001,"66":27887,"209":206,"85":14080,"24":53,"16":342870082508029952,"45":-8085298313499576320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-07-08 17:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579129856001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:35:34] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-08 17:35:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 17:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342870082508029952,"km_value":342870082508029.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8085298313499576320,"description":"Unknown IO ID 45"} 
[2026-07-08 17:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579129856001,"power":27887,"unknown_209":206,"unknown_85":14080,"ignition":53,"odometer":null,"unknown_45":-8085298313499576320}} 
[2026-07-08 17:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":126554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:35:34] local.INFO: GPS data processed {"connection_id":126554,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:35:34] local.INFO: Acknowledgment sent {"connection_id":126554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:35:37] local.INFO: TCP Data received {"connection_id":125675,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f419b4290012d1966c0071fedd0003e005a28..."} 
[2026-07-08 17:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f419b4290012d1966c0071fedd0003e005a28..."} 
[2026-07-08 17:35:37] local.INFO: Processing buffer {"connection_id":125675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f419b4290012d1966c0071fedd0003e005a28..."} 
[2026-07-08 17:35:37] local.INFO: Packet analysis {"connection_id":125675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f419b"} 
[2026-07-08 17:35:37] local.INFO: Extracted packet for processing {"connection_id":125675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f419b"} 
[2026-07-08 17:35:37] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":40,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579097856001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783512122000,"timestamp_ms":1783512122000,"timestamp_seconds":1783512122,"priority":1,"record_length":96,"hex_timestamp":"0000019f419b4290"} 
[2026-07-08 17:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 17:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579097856001,"66":12298,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579097856001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:35:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:35:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579097856001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":125675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:35:37] local.INFO: GPS data processed {"connection_id":125675,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:35:37] local.INFO: Acknowledgment sent {"connection_id":125675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:36:00] local.INFO: TCP Data received {"connection_id":125778,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:36:00] local.INFO: Processing buffer {"connection_id":125778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:36:00] local.INFO: IMEI packet received {"connection_id":125778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":125778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:36:02] local.INFO: TCP Data received {"connection_id":126555,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:36:02] local.INFO: Processing buffer {"connection_id":126555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:36:02] local.INFO: IMEI packet received {"connection_id":126555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":126555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:36:05] local.INFO: TCP Data received {"connection_id":125778,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:36:05] local.INFO: Processing buffer {"connection_id":125778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:36:05] local.INFO: IMEI packet received {"connection_id":125778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":125778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:36:06] local.INFO: TCP Data received {"connection_id":125778,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f419b9498012d1966c0071fedd0003e005a27..."} 
[2026-07-08 17:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f419b9498012d1966c0071fedd0003e005a27..."} 
[2026-07-08 17:36:06] local.INFO: Processing buffer {"connection_id":125778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f419b9498012d1966c0071fedd0003e005a27..."} 
[2026-07-08 17:36:06] local.INFO: Packet analysis {"connection_id":125778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f419b"} 
[2026-07-08 17:36:06] local.INFO: Extracted packet for processing {"connection_id":125778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f419b"} 
[2026-07-08 17:36:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":39,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579103232001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783512143000,"timestamp_ms":1783512143000,"timestamp_seconds":1783512143,"priority":1,"record_length":96,"hex_timestamp":"0000019f419b9498"} 
[2026-07-08 17:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 17:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-08 17:36:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-08 17:36:06] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185617,"note":"Value kept but may cause issues"} 
[2026-07-08 17:36:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 17:36:06] local.WARNING: Large IO value detected {"io_id":86,"raw_value":-2954361355555045375,"note":"Value kept but may cause issues"} 
[2026-07-08 17:36:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4726814059925412198,"note":"Value kept but may cause issues"} 
[2026-07-08 17:36:06] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390360156569690,"note":"Value kept but may cause issues"} 
[2026-07-08 17:36:06] local.WARNING: Large IO value detected {"io_id":62,"raw_value":25380026903953408,"note":"Value kept but may cause issues"} 
[2026-07-08 17:36:06] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-07-08 17:36:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074517710,"note":"Value kept but may cause issues"} 
[2026-07-08 17:36:06] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2583326721,"note":"Value kept but may cause issues"} 
[2026-07-08 17:36:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3989831742,"note":"Value kept but may cause issues"} 
[2026-07-08 17:36:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-08 17:36:06] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3221692397,"note":"Value kept but may cause issues"} 
[2026-07-08 17:36:06] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,103,83,24,241,157,16,86,159,240,45,192,237,62,42,10,66,158,41,76,1,227,65,31,4,113,205,168,102,208,239,48,2,17,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-08 17:36:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467669958196723712,"timestamp_seconds":4467669958196723.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 17:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579103232001,"66":12232,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579103232001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:36:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:36:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579103232001,"power":12232,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":125778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:36:06] local.INFO: GPS data processed {"connection_id":125778,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:36:06] local.INFO: Acknowledgment sent {"connection_id":125778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:36:22] local.INFO: TCP Data received {"connection_id":126555,"ip":"42.106.6.19","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 17:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126555,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 17:36:22] local.INFO: Processing buffer {"connection_id":126555,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 17:36:22] local.INFO: IMEI packet received {"connection_id":126555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":126555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:36:36] local.INFO: TCP Data received {"connection_id":127778,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127778,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:36:36] local.INFO: Processing buffer {"connection_id":127778,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:36:36] local.INFO: IMEI packet received {"connection_id":127778,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 17:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":127778,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:36:37] local.INFO: TCP Data received {"connection_id":125778,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f419be6a0012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f419be6a0012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:36:37] local.INFO: Processing buffer {"connection_id":125778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f419be6a0012d1966c0071fedd0003e005a2d..."} 
[2026-07-08 17:36:37] local.INFO: Packet analysis {"connection_id":125778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f419b"} 
[2026-07-08 17:36:37] local.INFO: Extracted packet for processing {"connection_id":125778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f419b"} 
[2026-07-08 17:36:37] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579108608001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783512164000,"timestamp_ms":1783512164000,"timestamp_seconds":1783512164,"priority":1,"record_length":96,"hex_timestamp":"0000019f419be6a0"} 
[2026-07-08 17:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-08 17:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579108608001,"66":12341,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579108608001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:36:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:36:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579108608001,"power":12341,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":125778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:36:37] local.INFO: GPS data processed {"connection_id":125778,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:36:37] local.INFO: Acknowledgment sent {"connection_id":125778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:36:38] local.INFO: TCP Data received {"connection_id":127778,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f419eb178012d7ead0005df11d80005008b28..."} 
[2026-07-08 17:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f419eb178012d7ead0005df11d80005008b28..."} 
[2026-07-08 17:36:38] local.INFO: Processing buffer {"connection_id":127778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f419eb178012d7ead0005df11d80005008b28..."} 
[2026-07-08 17:36:38] local.INFO: Packet analysis {"connection_id":127778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f419e"} 
[2026-07-08 17:36:38] local.INFO: Extracted packet for processing {"connection_id":127778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f419e"} 
[2026-07-08 17:36:38] local.INFO: GPS Element Parsed {"raw_longitude":763276544,"raw_latitude":98505176,"longitude_deg":76.3276544,"latitude_deg":9.8505176,"altitude":5,"angle":139,"satellites":40,"speed":20,"hex_longitude":"2d7ead00","hex_latitude":"05df11d8","is_valid_coordinates":true} 
[2026-07-08 17:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579159808001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103814706778603520,"note":"Value kept but may cause issues"} 
[2026-07-08 17:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126474301339883520,"note":"Value kept but may cause issues"} 
[2026-07-08 17:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783512347000,"timestamp_ms":1783512347000,"timestamp_seconds":1783512347,"priority":1,"record_length":96,"hex_timestamp":"0000019f419eb178"} 
[2026-07-08 17:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-08 17:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127778,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127778,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:36: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-07-08 17:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579159808001,"66":12885,"207":206,"85":15104,"24":20,"16":103814706778603520,"45":9126474301339883520},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-08 17:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579159808001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:36:38] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-08 17:36:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103814706778603520,"km_value":103814706778603.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126474301339883520,"description":"Unknown IO ID 45"} 
[2026-07-08 17:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579159808001,"power":12885,"unknown_207":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9126474301339883520}} 
[2026-07-08 17:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":127778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452762,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:36:38] local.INFO: GPS data processed {"connection_id":127778,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:36:38] local.INFO: Acknowledgment sent {"connection_id":127778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:37:00] local.INFO: TCP Data received {"connection_id":125676,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:37:00] local.INFO: Processing buffer {"connection_id":125676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:37:00] local.INFO: IMEI packet received {"connection_id":125676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":125676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:37:05] local.INFO: TCP Data received {"connection_id":125676,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:37:05] local.INFO: Processing buffer {"connection_id":125676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:37:05] local.INFO: IMEI packet received {"connection_id":125676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":125676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:37:06] local.INFO: TCP Data received {"connection_id":125676,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f419c38a8012d1966c0071fedd0003e005a29..."} 
[2026-07-08 17:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f419c38a8012d1966c0071fedd0003e005a29..."} 
[2026-07-08 17:37:06] local.INFO: Processing buffer {"connection_id":125676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f419c38a8012d1966c0071fedd0003e005a29..."} 
[2026-07-08 17:37:06] local.INFO: Packet analysis {"connection_id":125676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f419c"} 
[2026-07-08 17:37:06] local.INFO: Extracted packet for processing {"connection_id":125676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f419c"} 
[2026-07-08 17:37:06] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":41,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579113984001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783512185000,"timestamp_ms":1783512185000,"timestamp_seconds":1783512185,"priority":1,"record_length":96,"hex_timestamp":"0000019f419c38a8"} 
[2026-07-08 17:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 17:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579113984001,"66":12287,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579113984001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:37:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:37:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579113984001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":125676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:37:06] local.INFO: GPS data processed {"connection_id":125676,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:37:06] local.INFO: Acknowledgment sent {"connection_id":125676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:37:09] local.INFO: TCP Data received {"connection_id":127778,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f419eec10012d7ec4c005def7880007008929..."} 
[2026-07-08 17:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f419eec10012d7ec4c005def7880007008929..."} 
[2026-07-08 17:37:09] local.INFO: Processing buffer {"connection_id":127778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f419eec10012d7ec4c005def7880007008929..."} 
[2026-07-08 17:37:09] local.INFO: Packet analysis {"connection_id":127778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f419e"} 
[2026-07-08 17:37:09] local.INFO: Extracted packet for processing {"connection_id":127778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f419e"} 
[2026-07-08 17:37:09] local.INFO: GPS Element Parsed {"raw_longitude":763282624,"raw_latitude":98498440,"longitude_deg":76.3282624,"latitude_deg":9.849844,"altitude":7,"angle":137,"satellites":41,"speed":32,"hex_longitude":"2d7ec4c0","hex_latitude":"05def788","is_valid_coordinates":true} 
[2026-07-08 17:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579160832001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103815144865267712,"note":"Value kept but may cause issues"} 
[2026-07-08 17:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127952044967188480,"note":"Value kept but may cause issues"} 
[2026-07-08 17:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783512362000,"timestamp_ms":1783512362000,"timestamp_seconds":1783512362,"priority":1,"record_length":96,"hex_timestamp":"0000019f419eec10"} 
[2026-07-08 17:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-08 17:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:37:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":127778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":127778,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":127778,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579160832001,"66":12939,"207":206,"85":15104,"24":32,"16":103815144865267712,"45":9127952044967188480},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-08 17:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579160832001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:37:09] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-08 17:37:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103815144865267712,"km_value":103815144865267.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127952044967188480,"description":"Unknown IO ID 45"} 
[2026-07-08 17:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579160832001,"power":12939,"unknown_207":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9127952044967188480}} 
[2026-07-08 17:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":127778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452764,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:37:09] local.INFO: GPS data processed {"connection_id":127778,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:37:09] local.INFO: Acknowledgment sent {"connection_id":127778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:37:31] local.INFO: TCP Data received {"connection_id":126556,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126556,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:37:31] local.INFO: Processing buffer {"connection_id":126556,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:37:31] local.INFO: IMEI packet received {"connection_id":126556,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 17:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":126556,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:37:32] local.INFO: TCP Data received {"connection_id":126556,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126556,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:37:32] local.INFO: Processing buffer {"connection_id":126556,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:37:32] local.INFO: IMEI packet received {"connection_id":126556,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":126556,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:37:36] local.INFO: TCP Data received {"connection_id":126556,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126556,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:37:36] local.INFO: Processing buffer {"connection_id":126556,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:37:36] local.INFO: IMEI packet received {"connection_id":126556,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":126556,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:37:36] local.INFO: TCP Data received {"connection_id":126556,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f419ef7c8012d7eca0005deefb80007009a2a..."} 
[2026-07-08 17:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f419ef7c8012d7eca0005deefb80007009a2a..."} 
[2026-07-08 17:37:36] local.INFO: Processing buffer {"connection_id":126556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f419ef7c8012d7eca0005deefb80007009a2a..."} 
[2026-07-08 17:37:36] local.INFO: Packet analysis {"connection_id":126556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f419e"} 
[2026-07-08 17:37:36] local.INFO: Extracted packet for processing {"connection_id":126556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f419e"} 
[2026-07-08 17:37:36] local.INFO: GPS Element Parsed {"raw_longitude":763283968,"raw_latitude":98496440,"longitude_deg":76.3283968,"latitude_deg":9.849644,"altitude":7,"angle":154,"satellites":42,"speed":33,"hex_longitude":"2d7eca00","hex_latitude":"05deefb8","is_valid_coordinates":true} 
[2026-07-08 17:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579164672001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103815265124352000,"note":"Value kept but may cause issues"} 
[2026-07-08 17:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9134637075662342144,"note":"Value kept but may cause issues"} 
[2026-07-08 17:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783512365000,"timestamp_ms":1783512365000,"timestamp_seconds":1783512365,"priority":1,"record_length":96,"hex_timestamp":"0000019f419ef7c8"} 
[2026-07-08 17:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-08 17:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579164672001,"66":12917,"206":206,"85":15104,"24":33,"16":103815265124352000,"45":9134637075662342144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-07-08 17:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579164672001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:37:36] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-08 17:37:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103815265124352000,"km_value":103815265124352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9134637075662342144,"description":"Unknown IO ID 45"} 
[2026-07-08 17:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579164672001,"power":12917,"unknown_206":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9134637075662342144}} 
[2026-07-08 17:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":126556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452765,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:37:37] local.INFO: GPS data processed {"connection_id":126556,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:37:37] local.INFO: Acknowledgment sent {"connection_id":126556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:37:37] local.INFO: TCP Data received {"connection_id":125676,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f419c8ab0012d1966c0071fedd0003e005a29..."} 
[2026-07-08 17:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f419c8ab0012d1966c0071fedd0003e005a29..."} 
[2026-07-08 17:37:37] local.INFO: Processing buffer {"connection_id":125676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f419c8ab0012d1966c0071fedd0003e005a29..."} 
[2026-07-08 17:37:37] local.INFO: Packet analysis {"connection_id":125676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f419c"} 
[2026-07-08 17:37:37] local.INFO: Extracted packet for processing {"connection_id":125676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f419c"} 
[2026-07-08 17:37:37] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533008,"longitude_deg":75.6639424,"latitude_deg":11.9533008,"altitude":62,"angle":90,"satellites":41,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fedd0","is_valid_coordinates":true} 
[2026-07-08 17:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579119360001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880556022038528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783512206000,"timestamp_ms":1783512206000,"timestamp_seconds":1783512206,"priority":1,"record_length":96,"hex_timestamp":"0000019f419c8ab0"} 
[2026-07-08 17:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 17:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579119360001,"66":12341,"103":206,"83":41984,"24":0,"16":4880556022038528,"45":1830361435405668352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579119360001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:37:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:37:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880556022038528,"km_value":4880556022038.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579119360001,"power":12341,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":125676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:37:37] local.INFO: GPS data processed {"connection_id":125676,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:37:37] local.INFO: Acknowledgment sent {"connection_id":125676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:38:00] local.INFO: TCP Data received {"connection_id":125677,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:38:00] local.INFO: Processing buffer {"connection_id":125677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:38:00] local.INFO: IMEI packet received {"connection_id":125677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":125677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:38:00] local.INFO: TCP Data received {"connection_id":125677,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:38:00] local.INFO: Processing buffer {"connection_id":125677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:38:00] local.INFO: IMEI packet received {"connection_id":125677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":125677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:38:01] local.INFO: TCP Data received {"connection_id":125677,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:38:01] local.INFO: Processing buffer {"connection_id":125677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:38:01] local.INFO: IMEI packet received {"connection_id":125677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":125677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:38:04] local.INFO: TCP Data received {"connection_id":125677,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:38:04] local.INFO: Processing buffer {"connection_id":125677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:38:04] local.INFO: IMEI packet received {"connection_id":125677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":125677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:38:05] local.INFO: TCP Data received {"connection_id":125677,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a00550012d1967c0071fedb0004300ad2a..."} 
[2026-07-08 17:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a00550012d1967c0071fedb0004300ad2a..."} 
[2026-07-08 17:38:05] local.INFO: Processing buffer {"connection_id":125677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a00550012d1967c0071fedb0004300ad2a..."} 
[2026-07-08 17:38:05] local.INFO: Packet analysis {"connection_id":125677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a0"} 
[2026-07-08 17:38:05] local.INFO: Extracted packet for processing {"connection_id":125677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a0"} 
[2026-07-08 17:38:05] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532976,"longitude_deg":75.663968,"latitude_deg":11.9532976,"altitude":67,"angle":173,"satellites":42,"speed":2,"hex_longitude":"2d1967c0","hex_latitude":"071fedb0","is_valid_coordinates":true} 
[2026-07-08 17:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579178496001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4880573201907712,"note":"Value kept but may cause issues"} 
[2026-07-08 17:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405668352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783512434000,"timestamp_ms":1783512434000,"timestamp_seconds":1783512434,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a00550"} 
[2026-07-08 17:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 17:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579178496001,"66":14113,"102":206,"83":41984,"24":2,"16":4880573201907712,"45":1830361435405668352},"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-07-08 17:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579178496001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:38:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 17:38:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4880573201907712,"km_value":4880573201907.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405668352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579178496001,"power":14113,"unknown_102":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1830361435405668352}} 
[2026-07-08 17:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":125677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:38:05] local.INFO: GPS data processed {"connection_id":125677,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:38:05] local.INFO: Acknowledgment sent {"connection_id":125677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:38:07] local.INFO: TCP Data received {"connection_id":126556,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a0a190012d7f1ec005ddde30000700932c..."} 
[2026-07-08 17:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a0a190012d7f1ec005ddde30000700932c..."} 
[2026-07-08 17:38:07] local.INFO: Processing buffer {"connection_id":126556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a0a190012d7f1ec005ddde30000700932c..."} 
[2026-07-08 17:38:07] local.INFO: Packet analysis {"connection_id":126556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a0"} 
[2026-07-08 17:38:07] local.INFO: Extracted packet for processing {"connection_id":126556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a0"} 
[2026-07-08 17:38:07] local.INFO: GPS Element Parsed {"raw_longitude":763305664,"raw_latitude":98426416,"longitude_deg":76.3305664,"latitude_deg":9.8426416,"altitude":7,"angle":147,"satellites":44,"speed":37,"hex_longitude":"2d7f1ec0","hex_latitude":"05ddde30","is_valid_coordinates":true} 
[2026-07-08 17:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579190016001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103818851422044160,"note":"Value kept but may cause issues"} 
[2026-07-08 17:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9156029173875916800,"note":"Value kept but may cause issues"} 
[2026-07-08 17:38:07] 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-07-08 17:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783512474000,"timestamp_ms":1783512474000,"timestamp_seconds":1783512474,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a0a190"} 
[2026-07-08 17:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-08 17:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579190016001,"66":13037,"205":206,"85":15104,"24":37,"16":103818851422044160,"45":9156029173875916800},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-07-08 17:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579190016001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:38:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103818851422044160,"km_value":103818851422044.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9156029173875916800,"description":"Unknown IO ID 45"} 
[2026-07-08 17:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579190016001,"power":13037,"cell_id":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9156029173875916800}} 
[2026-07-08 17:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":126556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452768,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:38:07] local.INFO: GPS data processed {"connection_id":126556,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:38:07] local.INFO: Acknowledgment sent {"connection_id":126556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:38:31] local.INFO: TCP Data received {"connection_id":125678,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125678,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:38:31] local.INFO: Processing buffer {"connection_id":125678,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:38:31] local.INFO: IMEI packet received {"connection_id":125678,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 17:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":125678,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:38:35] local.INFO: TCP Data received {"connection_id":125678,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125678,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:38:35] local.INFO: Processing buffer {"connection_id":125678,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:38:35] local.INFO: IMEI packet received {"connection_id":125678,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":125678,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:38:36] local.INFO: TCP Data received {"connection_id":125678,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125678,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:38:36] local.INFO: Processing buffer {"connection_id":125678,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:38:36] local.INFO: IMEI packet received {"connection_id":125678,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":125678,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:38:37] local.INFO: TCP Data received {"connection_id":125677,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a0a578012d19558007200ad8004600562b..."} 
[2026-07-08 17:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a0a578012d19558007200ad8004600562b..."} 
[2026-07-08 17:38:37] local.INFO: Processing buffer {"connection_id":125677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a0a578012d19558007200ad8004600562b..."} 
[2026-07-08 17:38:37] local.INFO: Packet analysis {"connection_id":125677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a0"} 
[2026-07-08 17:38:37] local.INFO: Extracted packet for processing {"connection_id":125677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a0"} 
[2026-07-08 17:38:37] local.INFO: GPS Element Parsed {"raw_longitude":756635008,"raw_latitude":119540440,"longitude_deg":75.6635008,"latitude_deg":11.954044,"altitude":70,"angle":86,"satellites":43,"speed":13,"hex_longitude":"2d195580","hex_latitude":"07200ad8","is_valid_coordinates":true} 
[2026-07-08 17:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579193344001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4881170202361856,"note":"Value kept but may cause issues"} 
[2026-07-08 17:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825154148338405376,"note":"Value kept but may cause issues"} 
[2026-07-08 17:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783512475000,"timestamp_ms":1783512475000,"timestamp_seconds":1783512475,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a0a578"} 
[2026-07-08 17:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-08 17:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579193344001,"66":13993,"102":206,"83":41984,"24":13,"16":4881170202361856,"45":1825154148338405376},"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-07-08 17:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579193344001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:38:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 17:38:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4881170202361856,"km_value":4881170202361.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825154148338405376,"description":"Unknown IO ID 45"} 
[2026-07-08 17:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579193344001,"power":13993,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1825154148338405376}} 
[2026-07-08 17:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":125677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:38:37] local.INFO: GPS data processed {"connection_id":125677,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:38:37] local.INFO: Acknowledgment sent {"connection_id":125677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:38:40] local.INFO: TCP Data received {"connection_id":125678,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a0c4b8012d7f334005ddbd980006009f29..."} 
[2026-07-08 17:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a0c4b8012d7f334005ddbd980006009f29..."} 
[2026-07-08 17:38:40] local.INFO: Processing buffer {"connection_id":125678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a0c4b8012d7f334005ddbd980006009f29..."} 
[2026-07-08 17:38:40] local.INFO: Packet analysis {"connection_id":125678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a0"} 
[2026-07-08 17:38:40] local.INFO: Extracted packet for processing {"connection_id":125678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a0"} 
[2026-07-08 17:38:40] local.INFO: GPS Element Parsed {"raw_longitude":763310912,"raw_latitude":98418072,"longitude_deg":76.3310912,"latitude_deg":9.8418072,"altitude":6,"angle":159,"satellites":41,"speed":45,"hex_longitude":"2d7f3340","hex_latitude":"05ddbd98","is_valid_coordinates":true} 
[2026-07-08 17:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579193344001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103819328163414016,"note":"Value kept but may cause issues"} 
[2026-07-08 17:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9159969823547863040,"note":"Value kept but may cause issues"} 
[2026-07-08 17:38:40] 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-07-08 17:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783512483000,"timestamp_ms":1783512483000,"timestamp_seconds":1783512483,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a0c4b8"} 
[2026-07-08 17:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:38:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-08 17:38: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-07-08 17:38:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:38: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-07-08 17:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579193344001,"66":12917,"205":206,"85":15104,"24":45,"16":103819328163414016,"45":9159969823547863040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-07-08 17:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579193344001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:38:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103819328163414016,"km_value":103819328163414.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9159969823547863040,"description":"Unknown IO ID 45"} 
[2026-07-08 17:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579193344001,"power":12917,"cell_id":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9159969823547863040}} 
[2026-07-08 17:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":125678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452770,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:38:40] local.INFO: GPS data processed {"connection_id":125678,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:38:40] local.INFO: Acknowledgment sent {"connection_id":125678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:38:43] local.INFO: TCP Data received {"connection_id":125678,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a0c4b8012d7f334005ddbd980006009f29..."} 
[2026-07-08 17:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a0c4b8012d7f334005ddbd980006009f29..."} 
[2026-07-08 17:38:43] local.INFO: Processing buffer {"connection_id":125678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a0c4b8012d7f334005ddbd980006009f29..."} 
[2026-07-08 17:38:43] local.INFO: Packet analysis {"connection_id":125678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a0"} 
[2026-07-08 17:38:43] local.INFO: Extracted packet for processing {"connection_id":125678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a0"} 
[2026-07-08 17:38:43] local.INFO: GPS Element Parsed {"raw_longitude":763310912,"raw_latitude":98418072,"longitude_deg":76.3310912,"latitude_deg":9.8418072,"altitude":6,"angle":159,"satellites":41,"speed":45,"hex_longitude":"2d7f3340","hex_latitude":"05ddbd98","is_valid_coordinates":true} 
[2026-07-08 17:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579195648001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103819328163414016,"note":"Value kept but may cause issues"} 
[2026-07-08 17:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9165740060568295424,"note":"Value kept but may cause issues"} 
[2026-07-08 17:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783512483000,"timestamp_ms":1783512483000,"timestamp_seconds":1783512483,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a0c4b8"} 
[2026-07-08 17:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:38:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-08 17:38:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:38:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":125678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":125678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":125678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579195648001,"66":12917,"205":206,"85":15104,"24":45,"16":103819328163414016,"45":9165740060568295424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-07-08 17:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579195648001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:38:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103819328163414016,"km_value":103819328163414.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9165740060568295424,"description":"Unknown IO ID 45"} 
[2026-07-08 17:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579195648001,"power":12917,"cell_id":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9165740060568295424}} 
[2026-07-08 17:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":125678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452771,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:38:43] local.INFO: GPS data processed {"connection_id":125678,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:38:43] local.INFO: Acknowledgment sent {"connection_id":125678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:38:59] local.INFO: TCP Data received {"connection_id":127780,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:38:59] local.INFO: Processing buffer {"connection_id":127780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:38:59] local.INFO: IMEI packet received {"connection_id":127780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":127780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:39:00] local.INFO: TCP Data received {"connection_id":127780,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:39:00] local.INFO: Processing buffer {"connection_id":127780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:39:00] local.INFO: IMEI packet received {"connection_id":127780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":127780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:39:05] local.INFO: TCP Data received {"connection_id":127780,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:39:05] local.INFO: Processing buffer {"connection_id":127780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:39:05] local.INFO: IMEI packet received {"connection_id":127780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":127780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:39:05] local.INFO: TCP Data received {"connection_id":127780,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a10338012d196000072032600036005327..."} 
[2026-07-08 17:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a10338012d196000072032600036005327..."} 
[2026-07-08 17:39:05] local.INFO: Processing buffer {"connection_id":127780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a10338012d196000072032600036005327..."} 
[2026-07-08 17:39:05] local.INFO: Packet analysis {"connection_id":127780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a1"} 
[2026-07-08 17:39:05] local.INFO: Extracted packet for processing {"connection_id":127780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a1"} 
[2026-07-08 17:39:05] local.INFO: GPS Element Parsed {"raw_longitude":756637696,"raw_latitude":119550560,"longitude_deg":75.6637696,"latitude_deg":11.955056,"altitude":54,"angle":83,"satellites":39,"speed":14,"hex_longitude":"2d196000","hex_latitude":"07203260","is_valid_coordinates":true} 
[2026-07-08 17:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579199232001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4881741433012224,"note":"Value kept but may cause issues"} 
[2026-07-08 17:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827757791875543040,"note":"Value kept but may cause issues"} 
[2026-07-08 17:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783512499000,"timestamp_ms":1783512499000,"timestamp_seconds":1783512499,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a10338"} 
[2026-07-08 17:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 17:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579199232001,"66":14157,"103":206,"83":41984,"24":14,"16":4881741433012224,"45":1827757791875543040},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579199232001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:39:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:39:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4881741433012224,"km_value":4881741433012.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827757791875543040,"description":"Unknown IO ID 45"} 
[2026-07-08 17:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579199232001,"power":14157,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1827757791875543040}} 
[2026-07-08 17:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":127780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:39:05] local.INFO: GPS data processed {"connection_id":127780,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:39:05] local.INFO: Acknowledgment sent {"connection_id":127780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:39:19] local.INFO: TCP Data received {"connection_id":125678,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a0e3f8012d7f3dc005dd99a0000400af29..."} 
[2026-07-08 17:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a0e3f8012d7f3dc005dd99a0000400af29..."} 
[2026-07-08 17:39:19] local.INFO: Processing buffer {"connection_id":125678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a0e3f8012d7f3dc005dd99a0000400af29..."} 
[2026-07-08 17:39:19] local.INFO: Packet analysis {"connection_id":125678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a0"} 
[2026-07-08 17:39:19] local.INFO: Extracted packet for processing {"connection_id":125678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a0"} 
[2026-07-08 17:39:19] local.INFO: GPS Element Parsed {"raw_longitude":763313600,"raw_latitude":98408864,"longitude_deg":76.33136,"latitude_deg":9.8408864,"altitude":4,"angle":175,"satellites":41,"speed":49,"hex_longitude":"2d7f3dc0","hex_latitude":"05dd99a0","is_valid_coordinates":true} 
[2026-07-08 17:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579195648001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103819796314849280,"note":"Value kept but may cause issues"} 
[2026-07-08 17:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9165740060568295424,"note":"Value kept but may cause issues"} 
[2026-07-08 17:39:19] 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-07-08 17:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783512491000,"timestamp_ms":1783512491000,"timestamp_seconds":1783512491,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a0e3f8"} 
[2026-07-08 17:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:39:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-08 17:39:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:39:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":125678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":125678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":125678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579195648001,"66":13091,"205":206,"85":15104,"24":49,"16":103819796314849280,"45":9165740060568295424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-07-08 17:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579195648001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:39:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103819796314849280,"km_value":103819796314849.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9165740060568295424,"description":"Unknown IO ID 45"} 
[2026-07-08 17:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579195648001,"power":13091,"cell_id":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9165740060568295424}} 
[2026-07-08 17:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":125678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452773,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:39:19] local.INFO: GPS data processed {"connection_id":125678,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:39:19] local.INFO: Acknowledgment sent {"connection_id":125678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:39:30] local.INFO: TCP Data received {"connection_id":125679,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125679,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:39:30] local.INFO: Processing buffer {"connection_id":125679,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:39:30] local.INFO: IMEI packet received {"connection_id":125679,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 17:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":125679,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:39:31] local.INFO: TCP Data received {"connection_id":125679,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125679,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:39:31] local.INFO: Processing buffer {"connection_id":125679,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:39:31] local.INFO: IMEI packet received {"connection_id":125679,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":125679,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:39:36] local.INFO: TCP Data received {"connection_id":125679,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125679,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:39:36] local.INFO: Processing buffer {"connection_id":125679,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:39:36] local.INFO: IMEI packet received {"connection_id":125679,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":125679,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:39:36] local.INFO: TCP Data received {"connection_id":127780,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a10ef0012d196400072033280035004628..."} 
[2026-07-08 17:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a10ef0012d196400072033280035004628..."} 
[2026-07-08 17:39:36] local.INFO: Processing buffer {"connection_id":127780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a10ef0012d196400072033280035004628..."} 
[2026-07-08 17:39:36] local.INFO: Packet analysis {"connection_id":127780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a1"} 
[2026-07-08 17:39:36] local.INFO: Extracted packet for processing {"connection_id":127780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a1"} 
[2026-07-08 17:39:36] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119550760,"longitude_deg":75.663872,"latitude_deg":11.955076,"altitude":53,"angle":70,"satellites":40,"speed":15,"hex_longitude":"2d196400","hex_latitude":"07203328","is_valid_coordinates":true} 
[2026-07-08 17:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579199744001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4881788677652480,"note":"Value kept but may cause issues"} 
[2026-07-08 17:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828461479317364736,"note":"Value kept but may cause issues"} 
[2026-07-08 17:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783512502000,"timestamp_ms":1783512502000,"timestamp_seconds":1783512502,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a10ef0"} 
[2026-07-08 17:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-08 17:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579199744001,"66":13928,"103":206,"83":41984,"24":15,"16":4881788677652480,"45":1828461479317364736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579199744001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:39:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:39:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4881788677652480,"km_value":4881788677652.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828461479317364736,"description":"Unknown IO ID 45"} 
[2026-07-08 17:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579199744001,"power":13928,"unknown_103":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1828461479317364736}} 
[2026-07-08 17:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":127780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:39:36] local.INFO: GPS data processed {"connection_id":127780,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:39:36] local.INFO: Acknowledgment sent {"connection_id":127780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:39:38] local.INFO: TCP Data received {"connection_id":125679,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a1bad0012d7f8a4005dcbb900000009c29..."} 
[2026-07-08 17:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a1bad0012d7f8a4005dcbb900000009c29..."} 
[2026-07-08 17:39:38] local.INFO: Processing buffer {"connection_id":125679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a1bad0012d7f8a4005dcbb900000009c29..."} 
[2026-07-08 17:39:38] local.INFO: Packet analysis {"connection_id":125679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a1"} 
[2026-07-08 17:39:38] local.INFO: Extracted packet for processing {"connection_id":125679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a1"} 
[2026-07-08 17:39:38] local.INFO: GPS Element Parsed {"raw_longitude":763333184,"raw_latitude":98352016,"longitude_deg":76.3333184,"latitude_deg":9.8352016,"altitude":0,"angle":156,"satellites":41,"speed":36,"hex_longitude":"2d7f8a40","hex_latitude":"05dcbb90","is_valid_coordinates":true} 
[2026-07-08 17:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579210240001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103822781317120000,"note":"Value kept but may cause issues"} 
[2026-07-08 17:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9186709946317287424,"note":"Value kept but may cause issues"} 
[2026-07-08 17:39:38] 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-07-08 17:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783512546000,"timestamp_ms":1783512546000,"timestamp_seconds":1783512546,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a1bad0"} 
[2026-07-08 17:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-08 17:39: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-07-08 17:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:39: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-07-08 17:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579210240001,"66":13417,"111":206,"85":15104,"24":36,"16":103822781317120000,"45":9186709946317287424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-07-08 17:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579210240001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:39:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-08 17:39:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103822781317120000,"km_value":103822781317120,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9186709946317287424,"description":"Unknown IO ID 45"} 
[2026-07-08 17:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579210240001,"power":13417,"unknown_111":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9186709946317287424}} 
[2026-07-08 17:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":125679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452775,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:39:38] local.INFO: GPS data processed {"connection_id":125679,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:39:38] local.INFO: Acknowledgment sent {"connection_id":125679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:40:05] local.INFO: TCP Data received {"connection_id":125680,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:40:05] local.INFO: Processing buffer {"connection_id":125680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:40:05] local.INFO: IMEI packet received {"connection_id":125680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":125680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:40:10] local.INFO: TCP Data received {"connection_id":125680,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:40:10] local.INFO: Processing buffer {"connection_id":125680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:40:10] local.INFO: IMEI packet received {"connection_id":125680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":125680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:40:10] local.INFO: TCP Data received {"connection_id":125679,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a1ddf8012d7f964005dc9a680000009f27..."} 
[2026-07-08 17:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a1ddf8012d7f964005dc9a680000009f27..."} 
[2026-07-08 17:40:10] local.INFO: Processing buffer {"connection_id":125679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a1ddf8012d7f964005dc9a680000009f27..."} 
[2026-07-08 17:40:10] local.INFO: Packet analysis {"connection_id":125679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a1"} 
[2026-07-08 17:40:10] local.INFO: Extracted packet for processing {"connection_id":125679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a1"} 
[2026-07-08 17:40:10] local.INFO: GPS Element Parsed {"raw_longitude":763336256,"raw_latitude":98343528,"longitude_deg":76.3336256,"latitude_deg":9.8343528,"altitude":0,"angle":159,"satellites":39,"speed":41,"hex_longitude":"2d7f9640","hex_latitude":"05dc9a68","is_valid_coordinates":true} 
[2026-07-08 17:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579211776001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103823215108816896,"note":"Value kept but may cause issues"} 
[2026-07-08 17:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190228383525212160,"note":"Value kept but may cause issues"} 
[2026-07-08 17:40: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-07-08 17:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783512555000,"timestamp_ms":1783512555000,"timestamp_seconds":1783512555,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a1ddf8"} 
[2026-07-08 17:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-07-08 17:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579211776001,"66":13254,"53":206,"85":15104,"24":41,"16":103823215108816896,"45":9190228383525212160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-08 17:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579211776001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:40:10] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-08 17:40:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103823215108816896,"km_value":103823215108816.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190228383525212160,"description":"Unknown IO ID 45"} 
[2026-07-08 17:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579211776001,"power":13254,"unknown_53":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9190228383525212160}} 
[2026-07-08 17:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":125679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452776,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:40:10] local.INFO: GPS data processed {"connection_id":125679,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:40:10] local.INFO: Acknowledgment sent {"connection_id":125679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:40:10] local.INFO: TCP Data received {"connection_id":125680,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a12278012d196b40072036000031002929..."} 
[2026-07-08 17:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a12278012d196b40072036000031002929..."} 
[2026-07-08 17:40:10] local.INFO: Processing buffer {"connection_id":125680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a12278012d196b40072036000031002929..."} 
[2026-07-08 17:40:10] local.INFO: Packet analysis {"connection_id":125680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a1"} 
[2026-07-08 17:40:10] local.INFO: Extracted packet for processing {"connection_id":125680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a1"} 
[2026-07-08 17:40:10] local.INFO: GPS Element Parsed {"raw_longitude":756640576,"raw_latitude":119551488,"longitude_deg":75.6640576,"latitude_deg":11.9551488,"altitude":49,"angle":41,"satellites":41,"speed":13,"hex_longitude":"2d196b40","hex_latitude":"07203600","is_valid_coordinates":true} 
[2026-07-08 17:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579200512001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4881887461900288,"note":"Value kept but may cause issues"} 
[2026-07-08 17:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379224258560,"note":"Value kept but may cause issues"} 
[2026-07-08 17:40: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-07-08 17:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783512507000,"timestamp_ms":1783512507000,"timestamp_seconds":1783512507,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a12278"} 
[2026-07-08 17:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:40: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-07-08 17:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-08 17:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579200512001,"66":14189,"103":206,"83":41984,"24":13,"16":4881887461900288,"45":1829587379224258560},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579200512001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:40:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:40:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4881887461900288,"km_value":4881887461900.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379224258560,"description":"Unknown IO ID 45"} 
[2026-07-08 17:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579200512001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1829587379224258560}} 
[2026-07-08 17:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":125680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:40:11] local.INFO: GPS data processed {"connection_id":125680,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:40:11] local.INFO: Acknowledgment sent {"connection_id":125680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:40:15] local.INFO: TCP Data received {"connection_id":125680,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a12660012d196bc0072037280030001729..."} 
[2026-07-08 17:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a12660012d196bc0072037280030001729..."} 
[2026-07-08 17:40:15] local.INFO: Processing buffer {"connection_id":125680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a12660012d196bc0072037280030001729..."} 
[2026-07-08 17:40:15] local.INFO: Packet analysis {"connection_id":125680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a1"} 
[2026-07-08 17:40:15] local.INFO: Extracted packet for processing {"connection_id":125680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a1"} 
[2026-07-08 17:40:15] local.INFO: GPS Element Parsed {"raw_longitude":756640704,"raw_latitude":119551784,"longitude_deg":75.6640704,"latitude_deg":11.9551784,"altitude":48,"angle":23,"satellites":41,"speed":13,"hex_longitude":"2d196bc0","hex_latitude":"07203728","is_valid_coordinates":true} 
[2026-07-08 17:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579201792001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4881900346802176,"note":"Value kept but may cause issues"} 
[2026-07-08 17:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831628072805597184,"note":"Value kept but may cause issues"} 
[2026-07-08 17:40: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-07-08 17:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783512508000,"timestamp_ms":1783512508000,"timestamp_seconds":1783512508,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a12660"} 
[2026-07-08 17:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-08 17:40:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":125680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":125680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":125680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579201792001,"66":14189,"103":206,"83":41984,"24":13,"16":4881900346802176,"45":1831628072805597184},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579201792001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:40:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:40:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4881900346802176,"km_value":4881900346802.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831628072805597184,"description":"Unknown IO ID 45"} 
[2026-07-08 17:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579201792001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1831628072805597184}} 
[2026-07-08 17:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":125680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:40:15] local.INFO: GPS data processed {"connection_id":125680,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:40:15] local.INFO: Acknowledgment sent {"connection_id":125680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:40:31] local.INFO: TCP Data received {"connection_id":125681,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125681,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:40:31] local.INFO: Processing buffer {"connection_id":125681,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:40:31] local.INFO: IMEI packet received {"connection_id":125681,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 17:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":125681,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:40:36] local.INFO: TCP Data received {"connection_id":125681,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125681,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:40:36] local.INFO: Processing buffer {"connection_id":125681,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:40:36] local.INFO: IMEI packet received {"connection_id":125681,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":125681,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:40:37] local.INFO: TCP Data received {"connection_id":125681,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a2e798012d80674005dca9300007005d29..."} 
[2026-07-08 17:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a2e798012d80674005dca9300007005d29..."} 
[2026-07-08 17:40:37] local.INFO: Processing buffer {"connection_id":125681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a2e798012d80674005dca9300007005d29..."} 
[2026-07-08 17:40:37] local.INFO: Packet analysis {"connection_id":125681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a2"} 
[2026-07-08 17:40:37] local.INFO: Extracted packet for processing {"connection_id":125681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a2"} 
[2026-07-08 17:40:37] local.INFO: GPS Element Parsed {"raw_longitude":763389760,"raw_latitude":98347312,"longitude_deg":76.338976,"latitude_deg":9.8347312,"altitude":7,"angle":93,"satellites":41,"speed":23,"hex_longitude":"2d806740","hex_latitude":"05dca930","is_valid_coordinates":true} 
[2026-07-08 17:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579230720001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103826084146970624,"note":"Value kept but may cause issues"} 
[2026-07-08 17:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9196702257634605056,"note":"Value kept but may cause issues"} 
[2026-07-08 17:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783512623000,"timestamp_ms":1783512623000,"timestamp_seconds":1783512623,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a2e798"} 
[2026-07-08 17:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 17:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303169572752745,"note":"Value kept but may cause issues"} 
[2026-07-08 17:40:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 17:40:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3699206144,"note":"Value kept but may cause issues"} 
[2026-07-08 17:40:37] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2292711429,"note":"Value kept but may cause issues"} 
[2026-07-08 17:40:37] local.WARNING: Large IO value detected {"io_id":219,"raw_value":4143972352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:40:37] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2721822721,"note":"Value kept but may cause issues"} 
[2026-07-08 17:40:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1765081294,"corrected_to":0} 
[2026-07-08 17:40:37] local.WARNING: Large IO value detected {"io_id":59,"raw_value":3087084927,"note":"Value kept but may cause issues"} 
[2026-07-08 17:40:37] local.WARNING: Large IO value detected {"io_id":53,"raw_value":58077557095399456,"note":"Value kept but may cause issues"} 
[2026-07-08 17:40:37] local.WARNING: Large IO value detected {"io_id":112,"raw_value":3683713024,"note":"Value kept but may cause issues"} 
[2026-07-08 17:40:37] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,251,85,24,241,157,16,221,159,180,45,160,5,41,10,66,220,141,192,152,106,128,1,240,7,227,219,65,4,113,205,17,59,209,168,43,239,51,53,2,112,3,32],"length":486,"final_offset":616,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1765081294,"validated":0}]} 
[2026-07-08 17:40:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432430398423891968,"timestamp_seconds":432430398423891.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 17:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:40: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-07-08 17:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579230720001,"66":12765,"251":206,"85":15104,"24":23,"16":103826084146970624,"45":-9196702257634605056},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-08 17:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579230720001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:40:37] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-08 17:40:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103826084146970624,"km_value":103826084146970.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9196702257634605056,"description":"Unknown IO ID 45"} 
[2026-07-08 17:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579230720001,"power":12765,"unknown_251":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9196702257634605056}} 
[2026-07-08 17:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":125681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452779,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:40:37] local.INFO: GPS data processed {"connection_id":125681,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:40:37] local.INFO: Acknowledgment sent {"connection_id":125681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:40:55] local.INFO: TCP Data received {"connection_id":126558,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126558,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:40:55] local.INFO: Processing buffer {"connection_id":126558,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:40:55] local.INFO: IMEI packet received {"connection_id":126558,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 17:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":126558,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:40:59] local.INFO: TCP Data received {"connection_id":126559,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:40:59] local.INFO: Processing buffer {"connection_id":126559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:40:59] local.INFO: IMEI packet received {"connection_id":126559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":126559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:40:59] local.INFO: TCP Data received {"connection_id":126559,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:40:59] local.INFO: Processing buffer {"connection_id":126559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:40:59] local.INFO: IMEI packet received {"connection_id":126559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":126559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:41:03] local.INFO: TCP Data received {"connection_id":126559,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:41:03] local.INFO: Processing buffer {"connection_id":126559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:41:03] local.INFO: IMEI packet received {"connection_id":126559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":126559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:41:03] local.INFO: TCP Data received {"connection_id":126559,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a13218012d196cc007203ad0002e00062a..."} 
[2026-07-08 17:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a13218012d196cc007203ad0002e00062a..."} 
[2026-07-08 17:41:03] local.INFO: Processing buffer {"connection_id":126559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a13218012d196cc007203ad0002e00062a..."} 
[2026-07-08 17:41:03] local.INFO: Packet analysis {"connection_id":126559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a1"} 
[2026-07-08 17:41:03] local.INFO: Extracted packet for processing {"connection_id":126559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a1"} 
[2026-07-08 17:41:03] local.INFO: GPS Element Parsed {"raw_longitude":756640960,"raw_latitude":119552720,"longitude_deg":75.664096,"latitude_deg":11.955272,"altitude":46,"angle":6,"satellites":42,"speed":14,"hex_longitude":"2d196cc0","hex_latitude":"07203ad0","is_valid_coordinates":true} 
[2026-07-08 17:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579202048001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4881947591442432,"note":"Value kept but may cause issues"} 
[2026-07-08 17:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831768810294028288,"note":"Value kept but may cause issues"} 
[2026-07-08 17:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783512511000,"timestamp_ms":1783512511000,"timestamp_seconds":1783512511,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a13218"} 
[2026-07-08 17:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:41: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-07-08 17:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-08 17:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579202048001,"66":14113,"103":206,"83":41984,"24":14,"16":4881947591442432,"45":1831768810294028288},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579202048001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:41:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:41:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4881947591442432,"km_value":4881947591442.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831768810294028288,"description":"Unknown IO ID 45"} 
[2026-07-08 17:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579202048001,"power":14113,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1831768810294028288}} 
[2026-07-08 17:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":126559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:41:03] local.INFO: GPS data processed {"connection_id":126559,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:41:03] local.INFO: Acknowledgment sent {"connection_id":126559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:41:08] local.INFO: TCP Data received {"connection_id":125681,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a2eb80012d80698005dca8b00007006c29..."} 
[2026-07-08 17:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a2eb80012d80698005dca8b00007006c29..."} 
[2026-07-08 17:41:08] local.INFO: Processing buffer {"connection_id":125681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a2eb80012d80698005dca8b00007006c29..."} 
[2026-07-08 17:41:08] local.INFO: Packet analysis {"connection_id":125681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a2"} 
[2026-07-08 17:41:08] local.INFO: Extracted packet for processing {"connection_id":125681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a2"} 
[2026-07-08 17:41:08] local.INFO: GPS Element Parsed {"raw_longitude":763390336,"raw_latitude":98347184,"longitude_deg":76.3390336,"latitude_deg":9.8347184,"altitude":7,"angle":108,"satellites":41,"speed":22,"hex_longitude":"2d806980","hex_latitude":"05dca8b0","is_valid_coordinates":true} 
[2026-07-08 17:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579231488001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103826114211741696,"note":"Value kept but may cause issues"} 
[2026-07-08 17:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9194309720332488704,"note":"Value kept but may cause issues"} 
[2026-07-08 17:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783512624000,"timestamp_ms":1783512624000,"timestamp_seconds":1783512624,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a2eb80"} 
[2026-07-08 17:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-08 17:41: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-07-08 17:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:41: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-07-08 17:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579231488001,"66":12765,"251":206,"85":15104,"24":22,"16":103826114211741696,"45":-9194309720332488704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-08 17:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579231488001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:41:08] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-08 17:41:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103826114211741696,"km_value":103826114211741.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9194309720332488704,"description":"Unknown IO ID 45"} 
[2026-07-08 17:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579231488001,"power":12765,"unknown_251":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9194309720332488704}} 
[2026-07-08 17:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":125681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452781,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:41:08] local.INFO: GPS data processed {"connection_id":125681,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:41:08] local.INFO: Acknowledgment sent {"connection_id":125681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:41:25] local.INFO: TCP Data received {"connection_id":127782,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:41:25] local.INFO: Processing buffer {"connection_id":127782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:41:25] local.INFO: IMEI packet received {"connection_id":127782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":127782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:41:26] local.INFO: TCP Data received {"connection_id":127782,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a2bca0012d8dc280058dc788000a013d2e..."} 
[2026-07-08 17:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a2bca0012d8dc280058dc788000a013d2e..."} 
[2026-07-08 17:41:26] local.INFO: Processing buffer {"connection_id":127782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a2bca0012d8dc280058dc788000a013d2e..."} 
[2026-07-08 17:41:26] local.INFO: Packet analysis {"connection_id":127782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a2"} 
[2026-07-08 17:41:26] local.INFO: Extracted packet for processing {"connection_id":127782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a2"} 
[2026-07-08 17:41:26] local.INFO: GPS Element Parsed {"raw_longitude":764265088,"raw_latitude":93177736,"longitude_deg":76.4265088,"latitude_deg":9.3177736,"altitude":10,"angle":317,"satellites":46,"speed":54,"hex_longitude":"2d8dc280","hex_latitude":"058dc788","is_valid_coordinates":true} 
[2026-07-08 17:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579227136001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342887081988587520,"note":"Value kept but may cause issues"} 
[2026-07-08 17:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8226739489214730240,"note":"Value kept but may cause issues"} 
[2026-07-08 17:41:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783512612000,"timestamp_ms":1783512612000,"timestamp_seconds":1783512612,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a2bca0"} 
[2026-07-08 17:41:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:41: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-07-08 17:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 17:41:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:41:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:41:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":127782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":127782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":127782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:41: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-07-08 17:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579227136001,"66":27974,"211":206,"85":14080,"24":54,"16":342887081988587520,"45":-8226739489214730240},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,85,24,16,45]} 
[2026-07-08 17:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579227136001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:41:26] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-07-08 17:41:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 17:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342887081988587520,"km_value":342887081988587.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8226739489214730240,"description":"Unknown IO ID 45"} 
[2026-07-08 17:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579227136001,"power":27974,"unknown_211":206,"unknown_85":14080,"ignition":54,"odometer":null,"unknown_45":-8226739489214730240}} 
[2026-07-08 17:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":127782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:41:26] local.INFO: GPS data processed {"connection_id":127782,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:41:26] local.INFO: Acknowledgment sent {"connection_id":127782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:41:34] local.INFO: TCP Data received {"connection_id":126559,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a14d70012d196d8007204b80002901602a..."} 
[2026-07-08 17:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a14d70012d196d8007204b80002901602a..."} 
[2026-07-08 17:41:34] local.INFO: Processing buffer {"connection_id":126559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a14d70012d196d8007204b80002901602a..."} 
[2026-07-08 17:41:34] local.INFO: Packet analysis {"connection_id":126559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a1"} 
[2026-07-08 17:41:34] local.INFO: Extracted packet for processing {"connection_id":126559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a1"} 
[2026-07-08 17:41:34] local.INFO: GPS Element Parsed {"raw_longitude":756641152,"raw_latitude":119556992,"longitude_deg":75.6641152,"latitude_deg":11.9556992,"altitude":41,"angle":352,"satellites":42,"speed":22,"hex_longitude":"2d196d80","hex_latitude":"07204b80","is_valid_coordinates":true} 
[2026-07-08 17:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579202816001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4882158044839936,"note":"Value kept but may cause issues"} 
[2026-07-08 17:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832050285270978560,"note":"Value kept but may cause issues"} 
[2026-07-08 17:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783512518000,"timestamp_ms":1783512518000,"timestamp_seconds":1783512518,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a14d70"} 
[2026-07-08 17:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:41: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-07-08 17: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-08 17:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:41:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579202816001,"66":13961,"103":206,"83":41984,"24":22,"16":4882158044839936,"45":1832050285270978560},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579202816001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:41:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:41:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4882158044839936,"km_value":4882158044839.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832050285270978560,"description":"Unknown IO ID 45"} 
[2026-07-08 17:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579202816001,"power":13961,"unknown_103":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1832050285270978560}} 
[2026-07-08 17:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":126559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:41:34] local.INFO: GPS data processed {"connection_id":126559,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:41:34] local.INFO: Acknowledgment sent {"connection_id":126559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:41:36] local.INFO: TCP Data received {"connection_id":127783,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127783,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:41:36] local.INFO: Processing buffer {"connection_id":127783,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:41:36] local.INFO: IMEI packet received {"connection_id":127783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 17:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":127783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:41:38] local.INFO: TCP Data received {"connection_id":127783,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127783,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:41:38] local.INFO: Processing buffer {"connection_id":127783,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:41:38] local.INFO: IMEI packet received {"connection_id":127783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":127783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:41:39] local.INFO: TCP Data received {"connection_id":127783,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a2ef68012d806b4005dca7880007007d29..."} 
[2026-07-08 17:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a2ef68012d806b4005dca7880007007d29..."} 
[2026-07-08 17:41:39] local.INFO: Processing buffer {"connection_id":127783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a2ef68012d806b4005dca7880007007d29..."} 
[2026-07-08 17:41:39] local.INFO: Packet analysis {"connection_id":127783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a2"} 
[2026-07-08 17:41:39] local.INFO: Extracted packet for processing {"connection_id":127783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a2"} 
[2026-07-08 17:41:39] local.INFO: GPS Element Parsed {"raw_longitude":763390784,"raw_latitude":98346888,"longitude_deg":76.3390784,"latitude_deg":9.8346888,"altitude":7,"angle":125,"satellites":41,"speed":23,"hex_longitude":"2d806b40","hex_latitude":"05dca788","is_valid_coordinates":true} 
[2026-07-08 17:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579231744001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103826139981545472,"note":"Value kept but may cause issues"} 
[2026-07-08 17:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193676401634922496,"note":"Value kept but may cause issues"} 
[2026-07-08 17:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783512625000,"timestamp_ms":1783512625000,"timestamp_seconds":1783512625,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a2ef68"} 
[2026-07-08 17:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:41: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-07-08 17: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-08 17:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:41:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":127783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":127783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":127783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:41: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-07-08 17:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579231744001,"66":13015,"251":206,"85":15104,"24":23,"16":103826139981545472,"45":-9193676401634922496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-08 17:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579231744001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:41:39] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-08 17:41:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103826139981545472,"km_value":103826139981545.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193676401634922496,"description":"Unknown IO ID 45"} 
[2026-07-08 17:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579231744001,"power":13015,"unknown_251":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9193676401634922496}} 
[2026-07-08 17:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":127783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452784,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:41:39] local.INFO: GPS data processed {"connection_id":127783,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:41:39] local.INFO: Acknowledgment sent {"connection_id":127783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:41:41] local.INFO: TCP Data received {"connection_id":127783,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a2f350012d806d4005dca5c00007008f29..."} 
[2026-07-08 17:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a2f350012d806d4005dca5c00007008f29..."} 
[2026-07-08 17:41:41] local.INFO: Processing buffer {"connection_id":127783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a2f350012d806d4005dca5c00007008f29..."} 
[2026-07-08 17:41:41] local.INFO: Packet analysis {"connection_id":127783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a2"} 
[2026-07-08 17:41:41] local.INFO: Extracted packet for processing {"connection_id":127783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a2"} 
[2026-07-08 17:41:41] local.INFO: GPS Element Parsed {"raw_longitude":763391296,"raw_latitude":98346432,"longitude_deg":76.3391296,"latitude_deg":9.8346432,"altitude":7,"angle":143,"satellites":41,"speed":25,"hex_longitude":"2d806d40","hex_latitude":"05dca5c0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 17:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579232000001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103826170046316544,"note":"Value kept but may cause issues"} 
[2026-07-08 17:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193183820425754624,"note":"Value kept but may cause issues"} 
[2026-07-08 17:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783512626000,"timestamp_ms":1783512626000,"timestamp_seconds":1783512626,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a2f350"} 
[2026-07-08 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-07-08 17:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-08 17:41: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-07-08 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-07-08 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-07-08 17:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":127783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":127783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":127783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:41: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-07-08 17:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579232000001,"66":13015,"251":206,"85":15104,"24":25,"16":103826170046316544,"45":-9193183820425754624},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-08 17:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579232000001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:41:41] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-08 17:41:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103826170046316544,"km_value":103826170046316.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193183820425754624,"description":"Unknown IO ID 45"} 
[2026-07-08 17:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579232000001,"power":13015,"unknown_251":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9193183820425754624}} 
[2026-07-08 17:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":127783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452785,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:41:41] local.INFO: GPS data processed {"connection_id":127783,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:41:41] local.INFO: Acknowledgment sent {"connection_id":127783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:41:59] local.INFO: TCP Data received {"connection_id":125784,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:41:59] local.INFO: Processing buffer {"connection_id":125784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:41:59] local.INFO: IMEI packet received {"connection_id":125784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":125784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:42:00] local.INFO: TCP Data received {"connection_id":127785,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:42:00] local.INFO: Processing buffer {"connection_id":127785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:42:00] local.INFO: IMEI packet received {"connection_id":127785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":127785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:42:03] local.INFO: TCP Data received {"connection_id":127785,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:42:03] local.INFO: Processing buffer {"connection_id":127785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:42:03] local.INFO: IMEI packet received {"connection_id":127785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":127785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:42:04] local.INFO: TCP Data received {"connection_id":127785,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a2d028012d8dae80058dd968000b013230..."} 
[2026-07-08 17:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a2d028012d8dae80058dd968000b013230..."} 
[2026-07-08 17:42:04] local.INFO: Processing buffer {"connection_id":127785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a2d028012d8dae80058dd968000b013230..."} 
[2026-07-08 17:42:04] local.INFO: Packet analysis {"connection_id":127785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a2"} 
[2026-07-08 17:42:04] local.INFO: Extracted packet for processing {"connection_id":127785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a2"} 
[2026-07-08 17:42:04] local.INFO: GPS Element Parsed {"raw_longitude":764259968,"raw_latitude":93182312,"longitude_deg":76.4259968,"latitude_deg":9.3182312,"altitude":11,"angle":306,"satellites":48,"speed":54,"hex_longitude":"2d8dae80","hex_latitude":"058dd968","is_valid_coordinates":true} 
[2026-07-08 17:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579228672001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342887412701069312,"note":"Value kept but may cause issues"} 
[2026-07-08 17:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8231876407537989632,"note":"Value kept but may cause issues"} 
[2026-07-08 17:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783512617000,"timestamp_ms":1783512617000,"timestamp_seconds":1783512617,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a2d028"} 
[2026-07-08 17:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-08 17:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":127785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":127785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":127785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579228672001,"66":27876,"211":206,"85":14080,"24":54,"16":342887412701069312,"45":-8231876407537989632},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,85,24,16,45]} 
[2026-07-08 17:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579228672001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:42:04] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-07-08 17:42:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 17:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342887412701069312,"km_value":342887412701069.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8231876407537989632,"description":"Unknown IO ID 45"} 
[2026-07-08 17:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579228672001,"power":27876,"unknown_211":206,"unknown_85":14080,"ignition":54,"odometer":null,"unknown_45":-8231876407537989632}} 
[2026-07-08 17:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":127785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:42:04] local.INFO: GPS data processed {"connection_id":127785,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:42:04] local.INFO: Acknowledgment sent {"connection_id":127785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:42:05] local.INFO: TCP Data received {"connection_id":125784,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:42:05] local.INFO: Processing buffer {"connection_id":125784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:42:05] local.INFO: IMEI packet received {"connection_id":125784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":125784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:42:05] local.INFO: TCP Data received {"connection_id":127785,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a2e3b0012d8d97c0058de660000d012534..."} 
[2026-07-08 17:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a2e3b0012d8d97c0058de660000d012534..."} 
[2026-07-08 17:42:05] local.INFO: Processing buffer {"connection_id":127785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a2e3b0012d8d97c0058de660000d012534..."} 
[2026-07-08 17:42:05] local.INFO: Packet analysis {"connection_id":127785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a2"} 
[2026-07-08 17:42:05] local.INFO: Extracted packet for processing {"connection_id":127785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a2"} 
[2026-07-08 17:42:05] local.INFO: GPS Element Parsed {"raw_longitude":764254144,"raw_latitude":93185632,"longitude_deg":76.4254144,"latitude_deg":9.3185632,"altitude":13,"angle":293,"satellites":52,"speed":51,"hex_longitude":"2d8d97c0","hex_latitude":"058de660","is_valid_coordinates":true} 
[2026-07-08 17:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579229952001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342887734823616512,"note":"Value kept but may cause issues"} 
[2026-07-08 17:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8237505907071031296,"note":"Value kept but may cause issues"} 
[2026-07-08 17:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783512622000,"timestamp_ms":1783512622000,"timestamp_seconds":1783512622,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a2e3b0"} 
[2026-07-08 17:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 17:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579229952001,"66":27865,"211":206,"85":14080,"24":51,"16":342887734823616512,"45":-8237505907071031296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,85,24,16,45]} 
[2026-07-08 17:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579229952001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:42:05] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-07-08 17:42:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 17:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342887734823616512,"km_value":342887734823616.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8237505907071031296,"description":"Unknown IO ID 45"} 
[2026-07-08 17:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579229952001,"power":27865,"unknown_211":206,"unknown_85":14080,"ignition":51,"odometer":null,"unknown_45":-8237505907071031296}} 
[2026-07-08 17:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":127785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:42:05] local.INFO: GPS data processed {"connection_id":127785,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:42:05] local.INFO: Acknowledgment sent {"connection_id":127785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:42:06] local.INFO: TCP Data received {"connection_id":125784,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a37c08012d195080072095f00033000229..."} 
[2026-07-08 17:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a37c08012d195080072095f00033000229..."} 
[2026-07-08 17:42:06] local.INFO: Processing buffer {"connection_id":125784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a37c08012d195080072095f00033000229..."} 
[2026-07-08 17:42:06] local.INFO: Packet analysis {"connection_id":125784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a3"} 
[2026-07-08 17:42:06] local.INFO: Extracted packet for processing {"connection_id":125784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a3"} 
[2026-07-08 17:42:06] local.INFO: GPS Element Parsed {"raw_longitude":756633728,"raw_latitude":119576048,"longitude_deg":75.6633728,"latitude_deg":11.9576048,"altitude":51,"angle":2,"satellites":41,"speed":12,"hex_longitude":"2d195080","hex_latitude":"072095f0","is_valid_coordinates":true} 
[2026-07-08 17:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579240960001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4883197426925568,"note":"Value kept but may cause issues"} 
[2026-07-08 17:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824239354673149952,"note":"Value kept but may cause issues"} 
[2026-07-08 17:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783512661000,"timestamp_ms":1783512661000,"timestamp_seconds":1783512661,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a37c08"} 
[2026-07-08 17:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-08 17:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579240960001,"66":14233,"103":206,"83":41984,"24":12,"16":4883197426925568,"45":1824239354673149952},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579240960001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:42:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:42:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4883197426925568,"km_value":4883197426925.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824239354673149952,"description":"Unknown IO ID 45"} 
[2026-07-08 17:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579240960001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1824239354673149952}} 
[2026-07-08 17:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":125784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:42:06] local.INFO: GPS data processed {"connection_id":125784,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:42:06] local.INFO: Acknowledgment sent {"connection_id":125784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:42:13] local.INFO: TCP Data received {"connection_id":127783,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a456c8012d80ff4005db69c8000a009d29..."} 
[2026-07-08 17:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a456c8012d80ff4005db69c8000a009d29..."} 
[2026-07-08 17:42:13] local.INFO: Processing buffer {"connection_id":127783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a456c8012d80ff4005db69c8000a009d29..."} 
[2026-07-08 17:42:13] local.INFO: Packet analysis {"connection_id":127783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a4"} 
[2026-07-08 17:42:13] local.INFO: Extracted packet for processing {"connection_id":127783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a4"} 
[2026-07-08 17:42:13] local.INFO: GPS Element Parsed {"raw_longitude":763428672,"raw_latitude":98265544,"longitude_deg":76.3428672,"latitude_deg":9.8265544,"altitude":10,"angle":157,"satellites":41,"speed":43,"hex_longitude":"2d80ff40","hex_latitude":"05db69c8","is_valid_coordinates":true} 
[2026-07-08 17:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579253504001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103830499373350912,"note":"Value kept but may cause issues"} 
[2026-07-08 17:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155043961100126208,"note":"Value kept but may cause issues"} 
[2026-07-08 17:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783512717000,"timestamp_ms":1783512717000,"timestamp_seconds":1783512717,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a456c8"} 
[2026-07-08 17:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:42: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-07-08 17:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-08 17:42: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-07-08 17:42:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":127783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":127783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":127783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579253504001,"66":12765,"154":206,"85":15104,"24":43,"16":103830499373350912,"45":-9155043961100126208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-07-08 17:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579253504001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:42:13] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-08 17:42:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103830499373350912,"km_value":103830499373350.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155043961100126208,"description":"Unknown IO ID 45"} 
[2026-07-08 17:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579253504001,"power":12765,"unknown_154":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":-9155043961100126208}} 
[2026-07-08 17:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":127783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452789,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:42:13] local.INFO: GPS data processed {"connection_id":127783,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:42:13] local.INFO: Acknowledgment sent {"connection_id":127783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:42:28] local.INFO: TCP Data received {"connection_id":125785,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125785,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:42:28] local.INFO: Processing buffer {"connection_id":125785,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:42:28] local.INFO: IMEI packet received {"connection_id":125785,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 17:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":125785,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:42:30] local.INFO: TCP Data received {"connection_id":125785,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125785,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:42:30] local.INFO: Processing buffer {"connection_id":125785,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:42:30] local.INFO: IMEI packet received {"connection_id":125785,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":125785,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:42:31] local.INFO: TCP Data received {"connection_id":125785,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125785,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:42:31] local.INFO: Processing buffer {"connection_id":125785,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:42:31] local.INFO: IMEI packet received {"connection_id":125785,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":125785,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:42:32] local.INFO: TCP Data received {"connection_id":125785,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125785,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:42:32] local.INFO: Processing buffer {"connection_id":125785,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:42:32] local.INFO: IMEI packet received {"connection_id":125785,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":125785,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:42:32] local.INFO: TCP Data received {"connection_id":125785,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a46280012d81058005db5e30000900922b..."} 
[2026-07-08 17:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a46280012d81058005db5e30000900922b..."} 
[2026-07-08 17:42:32] local.INFO: Processing buffer {"connection_id":125785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a46280012d81058005db5e30000900922b..."} 
[2026-07-08 17:42:32] local.INFO: Packet analysis {"connection_id":125785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a4"} 
[2026-07-08 17:42:32] local.INFO: Extracted packet for processing {"connection_id":125785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a4"} 
[2026-07-08 17:42:32] local.INFO: GPS Element Parsed {"raw_longitude":763430272,"raw_latitude":98262576,"longitude_deg":76.3430272,"latitude_deg":9.8262576,"altitude":9,"angle":146,"satellites":43,"speed":46,"hex_longitude":"2d810580","hex_latitude":"05db5e30","is_valid_coordinates":true} 
[2026-07-08 17:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579255552001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103830662582108160,"note":"Value kept but may cause issues"} 
[2026-07-08 17:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9151525523893401600,"note":"Value kept but may cause issues"} 
[2026-07-08 17:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783512720000,"timestamp_ms":1783512720000,"timestamp_seconds":1783512720,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a46280"} 
[2026-07-08 17:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17: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-07-08 17: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-08 17:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17: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-07-08 17:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579255552001,"66":12722,"154":206,"85":15104,"24":46,"16":103830662582108160,"45":-9151525523893401600},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-07-08 17:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579255552001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:42:32] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-08 17:42:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103830662582108160,"km_value":103830662582108.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9151525523893401600,"description":"Unknown IO ID 45"} 
[2026-07-08 17:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579255552001,"power":12722,"unknown_154":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":-9151525523893401600}} 
[2026-07-08 17:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":125785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452790,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:42:32] local.INFO: GPS data processed {"connection_id":125785,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:42:32] local.INFO: Acknowledgment sent {"connection_id":125785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:42:36] local.INFO: TCP Data received {"connection_id":127785,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a2ff08012d8d7700058df030000c011633..."} 
[2026-07-08 17:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a2ff08012d8d7700058df030000c011633..."} 
[2026-07-08 17:42:36] local.INFO: Processing buffer {"connection_id":127785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a2ff08012d8d7700058df030000c011633..."} 
[2026-07-08 17:42:36] local.INFO: Packet analysis {"connection_id":127785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a2"} 
[2026-07-08 17:42:36] local.INFO: Extracted packet for processing {"connection_id":127785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a2"} 
[2026-07-08 17:42:36] local.INFO: GPS Element Parsed {"raw_longitude":764245760,"raw_latitude":93188144,"longitude_deg":76.424576,"latitude_deg":9.3188144,"altitude":12,"angle":278,"satellites":51,"speed":45,"hex_longitude":"2d8d7700","hex_latitude":"058df030","is_valid_coordinates":true} 
[2026-07-08 17:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579231232001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342888155730411520,"note":"Value kept but may cause issues"} 
[2026-07-08 17:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8243909462790348800,"note":"Value kept but may cause issues"} 
[2026-07-08 17:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783512629000,"timestamp_ms":1783512629000,"timestamp_seconds":1783512629,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a2ff08"} 
[2026-07-08 17:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 17:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579231232001,"66":27800,"213":206,"85":14080,"24":45,"16":342888155730411520,"45":-8243909462790348800},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,85,24,16,45]} 
[2026-07-08 17:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579231232001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:42:36] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-07-08 17:42:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 17:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342888155730411520,"km_value":342888155730411.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8243909462790348800,"description":"Unknown IO ID 45"} 
[2026-07-08 17:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579231232001,"power":27800,"unknown_213":206,"unknown_85":14080,"ignition":45,"odometer":null,"unknown_45":-8243909462790348800}} 
[2026-07-08 17:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":127785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:42:36] local.INFO: GPS data processed {"connection_id":127785,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:42:36] local.INFO: Acknowledgment sent {"connection_id":127785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:42:37] local.INFO: TCP Data received {"connection_id":125784,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a38ba8012d19514007209b380034000e2b..."} 
[2026-07-08 17:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a38ba8012d19514007209b380034000e2b..."} 
[2026-07-08 17:42:37] local.INFO: Processing buffer {"connection_id":125784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a38ba8012d19514007209b380034000e2b..."} 
[2026-07-08 17:42:37] local.INFO: Packet analysis {"connection_id":125784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a3"} 
[2026-07-08 17:42:37] local.INFO: Extracted packet for processing {"connection_id":125784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a3"} 
[2026-07-08 17:42:37] local.INFO: GPS Element Parsed {"raw_longitude":756633920,"raw_latitude":119577400,"longitude_deg":75.663392,"latitude_deg":11.95774,"altitude":52,"angle":14,"satellites":43,"speed":12,"hex_longitude":"2d195140","hex_latitude":"07209b38","is_valid_coordinates":true} 
[2026-07-08 17:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579241216001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4883261851435008,"note":"Value kept but may cause issues"} 
[2026-07-08 17:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824098617184874496,"note":"Value kept but may cause issues"} 
[2026-07-08 17:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783512665000,"timestamp_ms":1783512665000,"timestamp_seconds":1783512665,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a38ba8"} 
[2026-07-08 17:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-08 17:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579241216001,"66":14211,"103":206,"83":41984,"24":12,"16":4883261851435008,"45":1824098617184874496},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579241216001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:42:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:42:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4883261851435008,"km_value":4883261851435.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824098617184874496,"description":"Unknown IO ID 45"} 
[2026-07-08 17:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579241216001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1824098617184874496}} 
[2026-07-08 17:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":125784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:42:37] local.INFO: GPS data processed {"connection_id":125784,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:42:37] local.INFO: Acknowledgment sent {"connection_id":125784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:42:56] local.INFO: TCP Data received {"connection_id":125786,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:42:56] local.INFO: Processing buffer {"connection_id":125786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:42:56] local.INFO: IMEI packet received {"connection_id":125786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":125786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:42:59] local.INFO: TCP Data received {"connection_id":125786,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:42:59] local.INFO: Processing buffer {"connection_id":125786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:42:59] local.INFO: IMEI packet received {"connection_id":125786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":125786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:43:00] local.INFO: TCP Data received {"connection_id":126561,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:43:00] local.INFO: Processing buffer {"connection_id":126561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:43:00] local.INFO: IMEI packet received {"connection_id":126561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":126561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:43:00] local.INFO: TCP Data received {"connection_id":125786,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:43:00] local.INFO: Processing buffer {"connection_id":125786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:43:00] local.INFO: IMEI packet received {"connection_id":125786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":125786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:43:01] local.INFO: TCP Data received {"connection_id":125786,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a44340012d8bfdc0058d87d80005010531..."} 
[2026-07-08 17:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a44340012d8bfdc0058d87d80005010531..."} 
[2026-07-08 17:43:01] local.INFO: Processing buffer {"connection_id":125786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a44340012d8bfdc0058d87d80005010531..."} 
[2026-07-08 17:43:01] local.INFO: Packet analysis {"connection_id":125786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a4"} 
[2026-07-08 17:43:01] local.INFO: Extracted packet for processing {"connection_id":125786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a4"} 
[2026-07-08 17:43:01] local.INFO: GPS Element Parsed {"raw_longitude":764149184,"raw_latitude":93161432,"longitude_deg":76.4149184,"latitude_deg":9.3161432,"altitude":5,"angle":261,"satellites":49,"speed":45,"hex_longitude":"2d8bfdc0","hex_latitude":"058d87d8","is_valid_coordinates":true} 
[2026-07-08 17:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579251968001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342892978978684928,"note":"Value kept but may cause issues"} 
[2026-07-08 17:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8348688522876655616,"note":"Value kept but may cause issues"} 
[2026-07-08 17:43:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783512712000,"timestamp_ms":1783512712000,"timestamp_seconds":1783512712,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a44340"} 
[2026-07-08 17:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:43:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 17:43:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:43:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579251968001,"66":27821,"14":206,"85":14080,"24":45,"16":342892978978684928,"45":-8348688522876655616},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-07-08 17:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579251968001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:43:01] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-08 17:43:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 17:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342892978978684928,"km_value":342892978978684.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8348688522876655616,"description":"Unknown IO ID 45"} 
[2026-07-08 17:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579251968001,"power":27821,"unknown_14":206,"unknown_85":14080,"ignition":45,"odometer":null,"unknown_45":-8348688522876655616}} 
[2026-07-08 17:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":125786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:43:01] local.INFO: GPS data processed {"connection_id":125786,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:43:01] local.INFO: Acknowledgment sent {"connection_id":125786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:43:03] local.INFO: TCP Data received {"connection_id":125785,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a53d40012d816ac005da82f8000400852a..."} 
[2026-07-08 17:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a53d40012d816ac005da82f8000400852a..."} 
[2026-07-08 17:43:03] local.INFO: Processing buffer {"connection_id":125785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a53d40012d816ac005da82f8000400852a..."} 
[2026-07-08 17:43:03] local.INFO: Packet analysis {"connection_id":125785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a5"} 
[2026-07-08 17:43:03] local.INFO: Extracted packet for processing {"connection_id":125785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a5"} 
[2026-07-08 17:43:03] local.INFO: GPS Element Parsed {"raw_longitude":763456192,"raw_latitude":98206456,"longitude_deg":76.3456192,"latitude_deg":9.8206456,"altitude":4,"angle":133,"satellites":42,"speed":24,"hex_longitude":"2d816ac0","hex_latitude":"05da82f8","is_valid_coordinates":true} 
[2026-07-08 17: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-07-08 17:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579270400001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103833699123986432,"note":"Value kept but may cause issues"} 
[2026-07-08 17:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9121689176377090048,"note":"Value kept but may cause issues"} 
[2026-07-08 17:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783512776000,"timestamp_ms":1783512776000,"timestamp_seconds":1783512776,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a53d40"} 
[2026-07-08 17:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-08 17:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17: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-07-08 17:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:43: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-07-08 17:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579270400001,"66":12841,"153":206,"85":15104,"24":24,"16":103833699123986432,"45":-9121689176377090048},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-07-08 17:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579270400001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:43:03] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-08 17:43:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103833699123986432,"km_value":103833699123986.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9121689176377090048,"description":"Unknown IO ID 45"} 
[2026-07-08 17:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579270400001,"power":12841,"unknown_153":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9121689176377090048}} 
[2026-07-08 17:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":125785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452794,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:43:04] local.INFO: GPS data processed {"connection_id":125785,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:43:04] local.INFO: Acknowledgment sent {"connection_id":125785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:43:05] local.INFO: TCP Data received {"connection_id":126561,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:43:05] local.INFO: Processing buffer {"connection_id":126561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:43:05] local.INFO: IMEI packet received {"connection_id":126561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":126561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:43:05] local.INFO: TCP Data received {"connection_id":126561,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a485a8012d198b400720b4a80038004d28..."} 
[2026-07-08 17:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a485a8012d198b400720b4a80038004d28..."} 
[2026-07-08 17:43:05] local.INFO: Processing buffer {"connection_id":126561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a485a8012d198b400720b4a80038004d28..."} 
[2026-07-08 17:43:05] local.INFO: Packet analysis {"connection_id":126561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a4"} 
[2026-07-08 17:43:05] local.INFO: Extracted packet for processing {"connection_id":126561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a4"} 
[2026-07-08 17:43:05] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583912,"longitude_deg":75.6648768,"latitude_deg":11.9583912,"altitude":56,"angle":77,"satellites":40,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b4a8","is_valid_coordinates":true} 
[2026-07-08 17:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579253248001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4884150909665280,"note":"Value kept but may cause issues"} 
[2026-07-08 17:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654022662144,"note":"Value kept but may cause issues"} 
[2026-07-08 17:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783512729000,"timestamp_ms":1783512729000,"timestamp_seconds":1783512729,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a485a8"} 
[2026-07-08 17:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-08 17:43: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-07-08 17:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579253248001,"66":13993,"103":206,"83":41984,"24":0,"16":4884150909665280,"45":1832120654022662144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579253248001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:43:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:43:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4884150909665280,"km_value":4884150909665.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654022662144,"description":"Unknown IO ID 45"} 
[2026-07-08 17:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579253248001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654022662144}} 
[2026-07-08 17:43:06] local.INFO: TCP Data received {"connection_id":125786,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a46668012d8bd900058d85e00005010c31..."} 
[2026-07-08 17:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a46668012d8bd900058d85e00005010c31..."} 
[2026-07-08 17:43:06] local.INFO: Processing buffer {"connection_id":125786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a46668012d8bd900058d85e00005010c31..."} 
[2026-07-08 17:43:06] local.INFO: Packet analysis {"connection_id":125786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a4"} 
[2026-07-08 17:43:06] local.INFO: Extracted packet for processing {"connection_id":125786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a4"} 
[2026-07-08 17:43:06] local.INFO: GPS Element Parsed {"raw_longitude":764139776,"raw_latitude":93160928,"longitude_deg":76.4139776,"latitude_deg":9.3160928,"altitude":5,"angle":268,"satellites":49,"speed":43,"hex_longitude":"2d8bd900","hex_latitude":"058d85e0","is_valid_coordinates":true} 
[2026-07-08 17:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579254272001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342893429950251008,"note":"Value kept but may cause issues"} 
[2026-07-08 17:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8359314203247912960,"note":"Value kept but may cause issues"} 
[2026-07-08 17:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783512721000,"timestamp_ms":1783512721000,"timestamp_seconds":1783512721,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a46668"} 
[2026-07-08 17:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 17:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579254272001,"66":27865,"14":206,"85":14080,"24":43,"16":342893429950251008,"45":-8359314203247912960},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-07-08 17:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579254272001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:43:06] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-08 17:43:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 17:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342893429950251008,"km_value":342893429950251.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8359314203247912960,"description":"Unknown IO ID 45"} 
[2026-07-08 17:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579254272001,"power":27865,"unknown_14":206,"unknown_85":14080,"ignition":43,"odometer":null,"unknown_45":-8359314203247912960}} 
[2026-07-08 17:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":125786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:43:06] local.INFO: GPS data processed {"connection_id":125786,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:43:06] local.INFO: Acknowledgment sent {"connection_id":125786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":126561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:43:06] local.INFO: GPS data processed {"connection_id":126561,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:43:06] local.INFO: Acknowledgment sent {"connection_id":126561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:43:31] local.INFO: TCP Data received {"connection_id":127786,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127786,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:43:31] local.INFO: Processing buffer {"connection_id":127786,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:43:31] local.INFO: IMEI packet received {"connection_id":127786,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 17:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":127786,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:43:33] local.INFO: TCP Data received {"connection_id":127786,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127786,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:43:33] local.INFO: Processing buffer {"connection_id":127786,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:43:33] local.INFO: IMEI packet received {"connection_id":127786,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":127786,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:43:36] local.INFO: TCP Data received {"connection_id":125786,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a485a8012d8bb4c0058d85f00005010e30..."} 
[2026-07-08 17:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a485a8012d8bb4c0058d85f00005010e30..."} 
[2026-07-08 17:43:36] local.INFO: Processing buffer {"connection_id":125786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a485a8012d8bb4c0058d85f00005010e30..."} 
[2026-07-08 17:43:36] local.INFO: Packet analysis {"connection_id":125786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a4"} 
[2026-07-08 17:43:36] local.INFO: Extracted packet for processing {"connection_id":125786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a4"} 
[2026-07-08 17:43:36] local.INFO: GPS Element Parsed {"raw_longitude":764130496,"raw_latitude":93160944,"longitude_deg":76.4130496,"latitude_deg":9.3160944,"altitude":5,"angle":270,"satellites":48,"speed":43,"hex_longitude":"2d8bb4c0","hex_latitude":"058d85f0","is_valid_coordinates":true} 
[2026-07-08 17:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579256576001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342893876626849792,"note":"Value kept but may cause issues"} 
[2026-07-08 17:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8369658408642158592,"note":"Value kept but may cause issues"} 
[2026-07-08 17:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783512729000,"timestamp_ms":1783512729000,"timestamp_seconds":1783512729,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a485a8"} 
[2026-07-08 17:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 17:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579256576001,"66":27995,"14":206,"85":14080,"24":43,"16":342893876626849792,"45":-8369658408642158592},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-07-08 17:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579256576001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:43:36] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-08 17:43:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 17:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342893876626849792,"km_value":342893876626849.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8369658408642158592,"description":"Unknown IO ID 45"} 
[2026-07-08 17:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579256576001,"power":27995,"unknown_14":206,"unknown_85":14080,"ignition":43,"odometer":null,"unknown_45":-8369658408642158592}} 
[2026-07-08 17:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":125786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:43:36] local.INFO: GPS data processed {"connection_id":125786,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:43:36] local.INFO: Acknowledgment sent {"connection_id":125786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:43:37] local.INFO: TCP Data received {"connection_id":126561,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a49930012d198a800720b3300034010323..."} 
[2026-07-08 17:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a49930012d198a800720b3300034010323..."} 
[2026-07-08 17:43:37] local.INFO: Processing buffer {"connection_id":126561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a49930012d198a800720b3300034010323..."} 
[2026-07-08 17:43:37] local.INFO: Packet analysis {"connection_id":126561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a4"} 
[2026-07-08 17:43:37] local.INFO: Extracted packet for processing {"connection_id":126561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a4"} 
[2026-07-08 17:43:37] local.INFO: GPS Element Parsed {"raw_longitude":756648576,"raw_latitude":119583536,"longitude_deg":75.6648576,"latitude_deg":11.9583536,"altitude":52,"angle":259,"satellites":35,"speed":0,"hex_longitude":"2d198a80","hex_latitude":"0720b330","is_valid_coordinates":true} 
[2026-07-08 17:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579258624001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4884172384501760,"note":"Value kept but may cause issues"} 
[2026-07-08 17:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068638720,"note":"Value kept but may cause issues"} 
[2026-07-08 17:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783512734000,"timestamp_ms":1783512734000,"timestamp_seconds":1783512734,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a49930"} 
[2026-07-08 17:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:43: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-07-08 17:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 17:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579258624001,"66":14048,"103":206,"83":41984,"24":0,"16":4884172384501760,"45":1840635272068638720},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579258624001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:43:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:43:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4884172384501760,"km_value":4884172384501.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068638720,"description":"Unknown IO ID 45"} 
[2026-07-08 17:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579258624001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068638720}} 
[2026-07-08 17:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":126561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:43:37] local.INFO: GPS data processed {"connection_id":126561,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:43:37] local.INFO: Acknowledgment sent {"connection_id":126561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:43:40] local.INFO: TCP Data received {"connection_id":127786,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127786,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:43:40] local.INFO: Processing buffer {"connection_id":127786,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:43:40] local.INFO: IMEI packet received {"connection_id":127786,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":127786,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:43:41] local.INFO: TCP Data received {"connection_id":127786,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a54128012d816cc005da81f0000400752a..."} 
[2026-07-08 17:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a54128012d816cc005da81f0000400752a..."} 
[2026-07-08 17:43:41] local.INFO: Processing buffer {"connection_id":127786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a54128012d816cc005da81f0000400752a..."} 
[2026-07-08 17:43:41] local.INFO: Packet analysis {"connection_id":127786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a5"} 
[2026-07-08 17:43:41] local.INFO: Extracted packet for processing {"connection_id":127786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a5"} 
[2026-07-08 17:43:41] local.INFO: GPS Element Parsed {"raw_longitude":763456704,"raw_latitude":98206192,"longitude_deg":76.3456704,"latitude_deg":9.8206192,"altitude":4,"angle":117,"satellites":42,"speed":24,"hex_longitude":"2d816cc0","hex_latitude":"05da81f0","is_valid_coordinates":true} 
[2026-07-08 17:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579270656001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103833729188757504,"note":"Value kept but may cause issues"} 
[2026-07-08 17:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9121266963912132608,"note":"Value kept but may cause issues"} 
[2026-07-08 17:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783512777000,"timestamp_ms":1783512777000,"timestamp_seconds":1783512777,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a54128"} 
[2026-07-08 17:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-08 17:43: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-07-08 17:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":127786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":127786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":127786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:43: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-07-08 17:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579270656001,"66":12765,"153":206,"85":15104,"24":24,"16":103833729188757504,"45":-9121266963912132608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-07-08 17:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579270656001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:43:41] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-08 17:43:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103833729188757504,"km_value":103833729188757.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9121266963912132608,"description":"Unknown IO ID 45"} 
[2026-07-08 17:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579270656001,"power":12765,"unknown_153":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9121266963912132608}} 
[2026-07-08 17:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":127786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452799,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:43:41] local.INFO: GPS data processed {"connection_id":127786,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:43:41] local.INFO: Acknowledgment sent {"connection_id":127786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:43:41] local.INFO: TCP Data received {"connection_id":127786,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a54510012d816fc005da8170000400672a..."} 
[2026-07-08 17:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a54510012d816fc005da8170000400672a..."} 
[2026-07-08 17:43:41] local.INFO: Processing buffer {"connection_id":127786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a54510012d816fc005da8170000400672a..."} 
[2026-07-08 17:43:41] local.INFO: Packet analysis {"connection_id":127786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a5"} 
[2026-07-08 17:43:41] local.INFO: Extracted packet for processing {"connection_id":127786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a5"} 
[2026-07-08 17:43:41] local.INFO: GPS Element Parsed {"raw_longitude":763457472,"raw_latitude":98206064,"longitude_deg":76.3457472,"latitude_deg":9.8206064,"altitude":4,"angle":103,"satellites":42,"speed":28,"hex_longitude":"2d816fc0","hex_latitude":"05da8170","is_valid_coordinates":true} 
[2026-07-08 17:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579270912001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103833767843463168,"note":"Value kept but may cause issues"} 
[2026-07-08 17:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9120704013958778880,"note":"Value kept but may cause issues"} 
[2026-07-08 17:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783512778000,"timestamp_ms":1783512778000,"timestamp_seconds":1783512778,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a54510"} 
[2026-07-08 17:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-08 17:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":127786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":127786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":127786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:43: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-07-08 17:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579270912001,"66":12765,"153":206,"85":15104,"24":28,"16":103833767843463168,"45":-9120704013958778880},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-07-08 17:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579270912001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:43:41] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-08 17:43:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103833767843463168,"km_value":103833767843463.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9120704013958778880,"description":"Unknown IO ID 45"} 
[2026-07-08 17:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579270912001,"power":12765,"unknown_153":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9120704013958778880}} 
[2026-07-08 17:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":127786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452800,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:43:41] local.INFO: GPS data processed {"connection_id":127786,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:43:41] local.INFO: Acknowledgment sent {"connection_id":127786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:43:55] local.INFO: TCP Data received {"connection_id":125682,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:43:55] local.INFO: Processing buffer {"connection_id":125682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:43:55] local.INFO: IMEI packet received {"connection_id":125682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":125682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:43:56] local.INFO: TCP Data received {"connection_id":125682,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:43:56] local.INFO: Processing buffer {"connection_id":125682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:43:56] local.INFO: IMEI packet received {"connection_id":125682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":125682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:44:00] local.INFO: TCP Data received {"connection_id":125682,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:44:00] local.INFO: Processing buffer {"connection_id":125682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:44:00] local.INFO: IMEI packet received {"connection_id":125682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":125682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:44:01] local.INFO: TCP Data received {"connection_id":125787,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:44:01] local.INFO: Processing buffer {"connection_id":125787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:44:01] local.INFO: IMEI packet received {"connection_id":125787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":125787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:44:01] local.INFO: TCP Data received {"connection_id":125682,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a4b0a0012d8b8e80058d87280005011430..."} 
[2026-07-08 17:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a4b0a0012d8b8e80058d87280005011430..."} 
[2026-07-08 17:44:01] local.INFO: Processing buffer {"connection_id":125682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a4b0a0012d8b8e80058d87280005011430..."} 
[2026-07-08 17:44:01] local.INFO: Packet analysis {"connection_id":125682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a4"} 
[2026-07-08 17:44:01] local.INFO: Extracted packet for processing {"connection_id":125682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a4"} 
[2026-07-08 17:44:01] local.INFO: GPS Element Parsed {"raw_longitude":764120704,"raw_latitude":93161256,"longitude_deg":76.4120704,"latitude_deg":9.3161256,"altitude":5,"angle":276,"satellites":48,"speed":35,"hex_longitude":"2d8b8e80","hex_latitude":"058d8728","is_valid_coordinates":true} 
[2026-07-08 17:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579258624001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342894344778285056,"note":"Value kept but may cause issues"} 
[2026-07-08 17:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8379861876547915776,"note":"Value kept but may cause issues"} 
[2026-07-08 17:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783512740000,"timestamp_ms":1783512740000,"timestamp_seconds":1783512740,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a4b0a0"} 
[2026-07-08 17:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-08 17:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579258624001,"66":27821,"15":206,"85":14080,"24":35,"16":342894344778285056,"45":-8379861876547915776},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-08 17:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579258624001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:44:01] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-08 17:44:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 17:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342894344778285056,"km_value":342894344778285.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8379861876547915776,"description":"Unknown IO ID 45"} 
[2026-07-08 17:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579258624001,"power":27821,"unknown_15":206,"unknown_85":14080,"ignition":35,"odometer":null,"unknown_45":-8379861876547915776}} 
[2026-07-08 17:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":125682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:44:01] local.INFO: GPS data processed {"connection_id":125682,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:44:01] local.INFO: Acknowledgment sent {"connection_id":125682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:44:04] local.INFO: TCP Data received {"connection_id":125787,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:44:04] local.INFO: Processing buffer {"connection_id":125787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:44:04] local.INFO: IMEI packet received {"connection_id":125787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":125787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:44:05] local.INFO: TCP Data received {"connection_id":125787,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a49d18012d198a400720b3480034010f25..."} 
[2026-07-08 17:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a49d18012d198a400720b3480034010f25..."} 
[2026-07-08 17:44:05] local.INFO: Processing buffer {"connection_id":125787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a49d18012d198a400720b3480034010f25..."} 
[2026-07-08 17:44:05] local.INFO: Packet analysis {"connection_id":125787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a4"} 
[2026-07-08 17:44:05] local.INFO: Extracted packet for processing {"connection_id":125787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a4"} 
[2026-07-08 17:44:05] local.INFO: GPS Element Parsed {"raw_longitude":756648512,"raw_latitude":119583560,"longitude_deg":75.6648512,"latitude_deg":11.958356,"altitude":52,"angle":271,"satellites":37,"speed":2,"hex_longitude":"2d198a40","hex_latitude":"0720b348","is_valid_coordinates":true} 
[2026-07-08 17:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579259904001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4884176679469056,"note":"Value kept but may cause issues"} 
[2026-07-08 17:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840424165836009472,"note":"Value kept but may cause issues"} 
[2026-07-08 17:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783512735000,"timestamp_ms":1783512735000,"timestamp_seconds":1783512735,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a49d18"} 
[2026-07-08 17:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:44: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-07-08 17:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-08 17:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579259904001,"66":14135,"103":206,"83":41984,"24":2,"16":4884176679469056,"45":1840424165836009472},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579259904001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:44:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:44:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4884176679469056,"km_value":4884176679469.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840424165836009472,"description":"Unknown IO ID 45"} 
[2026-07-08 17:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579259904001,"power":14135,"unknown_103":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1840424165836009472}} 
[2026-07-08 17:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":125787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:44:05] local.INFO: GPS data processed {"connection_id":125787,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:44:05] local.INFO: Acknowledgment sent {"connection_id":125787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:44:12] local.INFO: TCP Data received {"connection_id":127786,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a62f70012d822e4005da65880009009e2b..."} 
[2026-07-08 17:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a62f70012d822e4005da65880009009e2b..."} 
[2026-07-08 17:44:12] local.INFO: Processing buffer {"connection_id":127786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a62f70012d822e4005da65880009009e2b..."} 
[2026-07-08 17:44:12] local.INFO: Packet analysis {"connection_id":127786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a6"} 
[2026-07-08 17:44:12] local.INFO: Extracted packet for processing {"connection_id":127786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a6"} 
[2026-07-08 17:44:12] local.INFO: GPS Element Parsed {"raw_longitude":763506240,"raw_latitude":98198920,"longitude_deg":76.350624,"latitude_deg":9.819892,"altitude":9,"angle":158,"satellites":43,"speed":44,"hex_longitude":"2d822e40","hex_latitude":"05da6588","is_valid_coordinates":true} 
[2026-07-08 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-07-08 17:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579283968001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103836533802401792,"note":"Value kept but may cause issues"} 
[2026-07-08 17:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9069897780661997568,"note":"Value kept but may cause issues"} 
[2026-07-08 17:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783512838000,"timestamp_ms":1783512838000,"timestamp_seconds":1783512838,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a62f70"} 
[2026-07-08 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-07-08 17:44: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-07-08 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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-08 17:44: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-07-08 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-07-08 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-07-08 17:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":127786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":127786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":127786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579283968001,"66":13135,"71":206,"85":15104,"24":44,"16":103836533802401792,"45":-9069897780661997568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-08 17:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579283968001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:44:12] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-08 17:44:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103836533802401792,"km_value":103836533802401.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9069897780661997568,"description":"Unknown IO ID 45"} 
[2026-07-08 17:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579283968001,"power":13135,"unknown_71":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":-9069897780661997568}} 
[2026-07-08 17:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":127786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452803,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:44:12] local.INFO: GPS data processed {"connection_id":127786,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:44:12] local.INFO: Acknowledgment sent {"connection_id":127786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:44:31] local.INFO: TCP Data received {"connection_id":126562,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126562,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:44:31] local.INFO: Processing buffer {"connection_id":126562,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:44:31] local.INFO: IMEI packet received {"connection_id":126562,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 17:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":126562,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:44:33] local.INFO: TCP Data received {"connection_id":125682,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a60c48012d89f500058d9468000600fb30..."} 
[2026-07-08 17:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a60c48012d89f500058d9468000600fb30..."} 
[2026-07-08 17:44:33] local.INFO: Processing buffer {"connection_id":125682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a60c48012d89f500058d9468000600fb30..."} 
[2026-07-08 17:44:33] local.INFO: Packet analysis {"connection_id":125682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a6"} 
[2026-07-08 17:44:33] local.INFO: Extracted packet for processing {"connection_id":125682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a6"} 
[2026-07-08 17:44:33] local.INFO: GPS Element Parsed {"raw_longitude":764015872,"raw_latitude":93164648,"longitude_deg":76.4015872,"latitude_deg":9.3164648,"altitude":6,"angle":251,"satellites":48,"speed":37,"hex_longitude":"2d89f500","hex_latitude":"058d9468","is_valid_coordinates":true} 
[2026-07-08 17:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579281920001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342899382774923264,"note":"Value kept but may cause issues"} 
[2026-07-08 17:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8495125879509661696,"note":"Value kept but may cause issues"} 
[2026-07-08 17:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783512829000,"timestamp_ms":1783512829000,"timestamp_seconds":1783512829,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a60c48"} 
[2026-07-08 17:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 17:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:44:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579281920001,"66":27876,"15":206,"85":14080,"24":37,"16":342899382774923264,"45":-8495125879509661696},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-08 17:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579281920001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:44:33] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-08 17:44:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 17:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342899382774923264,"km_value":342899382774923.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8495125879509661696,"description":"Unknown IO ID 45"} 
[2026-07-08 17:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579281920001,"power":27876,"unknown_15":206,"unknown_85":14080,"ignition":37,"odometer":null,"unknown_45":-8495125879509661696}} 
[2026-07-08 17:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":125682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:44:33] local.INFO: GPS data processed {"connection_id":125682,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:44:33] local.INFO: Acknowledgment sent {"connection_id":125682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:44:36] local.INFO: TCP Data received {"connection_id":126562,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126562,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:44:36] local.INFO: Processing buffer {"connection_id":126562,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:44:36] local.INFO: IMEI packet received {"connection_id":126562,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":126562,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:44:36] local.INFO: TCP Data received {"connection_id":125787,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a4d7b0012d1983000720b2b80033010429..."} 
[2026-07-08 17:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a4d7b0012d1983000720b2b80033010429..."} 
[2026-07-08 17:44:36] local.INFO: Processing buffer {"connection_id":125787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a4d7b0012d1983000720b2b80033010429..."} 
[2026-07-08 17:44:36] local.INFO: Packet analysis {"connection_id":125787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a4"} 
[2026-07-08 17:44:36] local.INFO: Extracted packet for processing {"connection_id":125787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a4"} 
[2026-07-08 17:44:36] local.INFO: GPS Element Parsed {"raw_longitude":756646656,"raw_latitude":119583416,"longitude_deg":75.6646656,"latitude_deg":11.9583416,"altitude":51,"angle":260,"satellites":41,"speed":21,"hex_longitude":"2d198300","hex_latitude":"0720b2b8","is_valid_coordinates":true} 
[2026-07-08 17:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579260160001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4884266873782272,"note":"Value kept but may cause issues"} 
[2026-07-08 17:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840353797091837952,"note":"Value kept but may cause issues"} 
[2026-07-08 17:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783512750000,"timestamp_ms":1783512750000,"timestamp_seconds":1783512750,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a4d7b0"} 
[2026-07-08 17:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-08 17:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579260160001,"66":14211,"103":206,"83":41984,"24":21,"16":4884266873782272,"45":1840353797091837952},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579260160001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:44:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:44:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4884266873782272,"km_value":4884266873782.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840353797091837952,"description":"Unknown IO ID 45"} 
[2026-07-08 17:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579260160001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1840353797091837952}} 
[2026-07-08 17:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":125787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:44:36] local.INFO: GPS data processed {"connection_id":125787,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:44:36] local.INFO: Acknowledgment sent {"connection_id":125787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:44:37] local.INFO: TCP Data received {"connection_id":126562,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a64eb0012d82370005da4360000800aa2b..."} 
[2026-07-08 17:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a64eb0012d82370005da4360000800aa2b..."} 
[2026-07-08 17:44:37] local.INFO: Processing buffer {"connection_id":126562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a64eb0012d82370005da4360000800aa2b..."} 
[2026-07-08 17:44:37] local.INFO: Packet analysis {"connection_id":126562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a6"} 
[2026-07-08 17:44:37] local.INFO: Extracted packet for processing {"connection_id":126562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a6"} 
[2026-07-08 17:44:37] local.INFO: GPS Element Parsed {"raw_longitude":763508480,"raw_latitude":98190176,"longitude_deg":76.350848,"latitude_deg":9.8190176,"altitude":8,"angle":170,"satellites":43,"speed":45,"hex_longitude":"2d823700","hex_latitude":"05da4360","is_valid_coordinates":true} 
[2026-07-08 17:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579286528001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103836971889065984,"note":"Value kept but may cause issues"} 
[2026-07-08 17:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9066238605967128576,"note":"Value kept but may cause issues"} 
[2026-07-08 17:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783512846000,"timestamp_ms":1783512846000,"timestamp_seconds":1783512846,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a64eb0"} 
[2026-07-08 17:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-08 17:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579286528001,"66":13059,"71":206,"85":15104,"24":45,"16":103836971889065984,"45":-9066238605967128576},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-08 17:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579286528001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:44:37] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-08 17:44:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103836971889065984,"km_value":103836971889065.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9066238605967128576,"description":"Unknown IO ID 45"} 
[2026-07-08 17:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579286528001,"power":13059,"unknown_71":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":-9066238605967128576}} 
[2026-07-08 17:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":126562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452806,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:44:37] local.INFO: GPS data processed {"connection_id":126562,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:44:37] local.INFO: Acknowledgment sent {"connection_id":126562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:44:57] local.INFO: TCP Data received {"connection_id":127789,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:44:57] local.INFO: Processing buffer {"connection_id":127789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:44:57] local.INFO: IMEI packet received {"connection_id":127789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":127789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:44:59] local.INFO: TCP Data received {"connection_id":125683,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:44:59] local.INFO: Processing buffer {"connection_id":125683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:44:59] local.INFO: IMEI packet received {"connection_id":125683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":125683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:45:01] local.INFO: TCP Data received {"connection_id":127789,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:45:01] local.INFO: Processing buffer {"connection_id":127789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:45:01] local.INFO: IMEI packet received {"connection_id":127789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":127789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:45:02] local.INFO: TCP Data received {"connection_id":125683,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:45:02] local.INFO: Processing buffer {"connection_id":125683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:45:02] local.INFO: IMEI packet received {"connection_id":125683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":125683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:45:04] local.INFO: TCP Data received {"connection_id":125683,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:45:04] local.INFO: Processing buffer {"connection_id":125683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:45:04] local.INFO: IMEI packet received {"connection_id":125683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":125683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:45:04] local.INFO: TCP Data received {"connection_id":125683,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a61fd0012d18d70007210040003c014f27..."} 
[2026-07-08 17:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a61fd0012d18d70007210040003c014f27..."} 
[2026-07-08 17:45:04] local.INFO: Processing buffer {"connection_id":125683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a61fd0012d18d70007210040003c014f27..."} 
[2026-07-08 17:45:04] local.INFO: Packet analysis {"connection_id":125683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a6"} 
[2026-07-08 17:45:04] local.INFO: Extracted packet for processing {"connection_id":125683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a6"} 
[2026-07-08 17:45:04] local.INFO: GPS Element Parsed {"raw_longitude":756602624,"raw_latitude":119603264,"longitude_deg":75.6602624,"latitude_deg":11.9603264,"altitude":60,"angle":335,"satellites":39,"speed":24,"hex_longitude":"2d18d700","hex_latitude":"07210040","is_valid_coordinates":true} 
[2026-07-08 17:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579285248001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4886775134683136,"note":"Value kept but may cause issues"} 
[2026-07-08 17:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790251251242250240,"note":"Value kept but may cause issues"} 
[2026-07-08 17:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783512834000,"timestamp_ms":1783512834000,"timestamp_seconds":1783512834,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a61fd0"} 
[2026-07-08 17:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":60,"data_length":795,"current_offset":136} 
[2026-07-08 17:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579285248001,"66":14396,"103":206,"83":41984,"24":24,"16":4886775134683136,"45":1790251251242250240},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579285248001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:45:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:45:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4886775134683136,"km_value":4886775134683.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790251251242250240,"description":"Unknown IO ID 45"} 
[2026-07-08 17:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579285248001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1790251251242250240}} 
[2026-07-08 17:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":125683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:45:04] local.INFO: GPS data processed {"connection_id":125683,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:45:04] local.INFO: Acknowledgment sent {"connection_id":125683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:45:05] local.INFO: TCP Data received {"connection_id":127789,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:45:05] local.INFO: Processing buffer {"connection_id":127789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:45:05] local.INFO: IMEI packet received {"connection_id":127789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":127789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:45:06] local.INFO: TCP Data received {"connection_id":127789,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a60c48012d89f500058d9468000600fb30..."} 
[2026-07-08 17:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a60c48012d89f500058d9468000600fb30..."} 
[2026-07-08 17:45:06] local.INFO: Processing buffer {"connection_id":127789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a60c48012d89f500058d9468000600fb30..."} 
[2026-07-08 17:45:06] local.INFO: Packet analysis {"connection_id":127789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a6"} 
[2026-07-08 17:45:06] local.INFO: Extracted packet for processing {"connection_id":127789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a6"} 
[2026-07-08 17:45:06] local.INFO: GPS Element Parsed {"raw_longitude":764015872,"raw_latitude":93164648,"longitude_deg":76.4015872,"latitude_deg":9.3164648,"altitude":6,"angle":251,"satellites":48,"speed":37,"hex_longitude":"2d89f500","hex_latitude":"058d9468","is_valid_coordinates":true} 
[2026-07-08 17:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579284224001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342899382774923264,"note":"Value kept but may cause issues"} 
[2026-07-08 17:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8505892297369163776,"note":"Value kept but may cause issues"} 
[2026-07-08 17:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783512829000,"timestamp_ms":1783512829000,"timestamp_seconds":1783512829,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a60c48"} 
[2026-07-08 17:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 17:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579284224001,"66":27876,"15":206,"85":14080,"24":37,"16":342899382774923264,"45":-8505892297369163776},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-08 17:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579284224001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:45:06] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-08 17:45:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 17:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342899382774923264,"km_value":342899382774923.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8505892297369163776,"description":"Unknown IO ID 45"} 
[2026-07-08 17:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579284224001,"power":27876,"unknown_15":206,"unknown_85":14080,"ignition":37,"odometer":null,"unknown_45":-8505892297369163776}} 
[2026-07-08 17:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":127789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:45:06] local.INFO: GPS data processed {"connection_id":127789,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:45:06] local.INFO: Acknowledgment sent {"connection_id":127789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:45:08] local.INFO: TCP Data received {"connection_id":126562,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a64eb0012d82370005da4360000800aa2b..."} 
[2026-07-08 17:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a64eb0012d82370005da4360000800aa2b..."} 
[2026-07-08 17:45:08] local.INFO: Processing buffer {"connection_id":126562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a64eb0012d82370005da4360000800aa2b..."} 
[2026-07-08 17:45:08] local.INFO: Packet analysis {"connection_id":126562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a6"} 
[2026-07-08 17:45:08] local.INFO: Extracted packet for processing {"connection_id":126562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a6"} 
[2026-07-08 17:45:08] local.INFO: GPS Element Parsed {"raw_longitude":763508480,"raw_latitude":98190176,"longitude_deg":76.350848,"latitude_deg":9.8190176,"altitude":8,"angle":170,"satellites":43,"speed":45,"hex_longitude":"2d823700","hex_latitude":"05da4360","is_valid_coordinates":true} 
[2026-07-08 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-07-08 17:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579288576001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103836971889065984,"note":"Value kept but may cause issues"} 
[2026-07-08 17:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9063775699923148800,"note":"Value kept but may cause issues"} 
[2026-07-08 17:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783512846000,"timestamp_ms":1783512846000,"timestamp_seconds":1783512846,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a64eb0"} 
[2026-07-08 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-07-08 17:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 17:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303159724527015,"note":"Value kept but may cause issues"} 
[2026-07-08 17:45:08] local.WARNING: Large IO value detected {"io_id":71,"raw_value":58077557095399448,"note":"Value kept but may cause issues"} 
[2026-07-08 17:45:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 17:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2183036933,"note":"Value kept but may cause issues"} 
[2026-07-08 17:45:08] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2785054721,"note":"Value kept but may cause issues"} 
[2026-07-08 17:45:08] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2379218950,"note":"Value kept but may cause issues"} 
[2026-07-08 17:45:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2806448334,"corrected_to":0} 
[2026-07-08 17:45:08] local.WARNING: Large IO value detected {"io_id":252,"raw_value":2818649474,"note":"Value kept but may cause issues"} 
[2026-07-08 17:45:08] local.WARNING: Large IO value detected {"io_id":28,"raw_value":3221609102,"note":"Value kept but may cause issues"} 
[2026-07-08 17:45:08] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2147536295,"note":"Value kept but may cause issues"} 
[2026-07-08 17:45:08] local.WARNING: Large IO value detected {"io_id":112,"raw_value":3863150592,"note":"Value kept but may cause issues"} 
[2026-07-08 17:45:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3666829312,"note":"Value kept but may cause issues"} 
[2026-07-08 17:45:08] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,71,85,24,241,157,16,231,159,47,45,64,101,9,43,10,66,230,8,137,7,41,4,1,240,227,65,218,113,205,21,252,28,232,239,50,2,112,5,6],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2806448334,"validated":0}]} 
[2026-07-08 17:45:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576647853966688256,"timestamp_seconds":576647853966688.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 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-07-08 17:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579288576001,"66":13059,"71":206,"85":15104,"24":45,"16":103836971889065984,"45":-9063775699923148800},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-08 17:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579288576001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:45:08] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-08 17:45:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103836971889065984,"km_value":103836971889065.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9063775699923148800,"description":"Unknown IO ID 45"} 
[2026-07-08 17:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579288576001,"power":13059,"unknown_71":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":-9063775699923148800}} 
[2026-07-08 17:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":126562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452809,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:45:08] local.INFO: GPS data processed {"connection_id":126562,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:45:08] local.INFO: Acknowledgment sent {"connection_id":126562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:45:11] local.INFO: TCP Data received {"connection_id":127789,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a61418012d89ee80058d9160000600ef30..."} 
[2026-07-08 17:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a61418012d89ee80058d9160000600ef30..."} 
[2026-07-08 17:45:11] local.INFO: Processing buffer {"connection_id":127789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a61418012d89ee80058d9160000600ef30..."} 
[2026-07-08 17:45:11] local.INFO: Packet analysis {"connection_id":127789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a6"} 
[2026-07-08 17:45:11] local.INFO: Extracted packet for processing {"connection_id":127789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a6"} 
[2026-07-08 17:45:11] local.INFO: GPS Element Parsed {"raw_longitude":764014208,"raw_latitude":93163872,"longitude_deg":76.4014208,"latitude_deg":9.3163872,"altitude":6,"angle":239,"satellites":48,"speed":34,"hex_longitude":"2d89ee80","hex_latitude":"058d9160","is_valid_coordinates":true} 
[2026-07-08 17:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579284224001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342899468674269184,"note":"Value kept but may cause issues"} 
[2026-07-08 17:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8505892297369163776,"note":"Value kept but may cause issues"} 
[2026-07-08 17:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783512831000,"timestamp_ms":1783512831000,"timestamp_seconds":1783512831,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a61418"} 
[2026-07-08 17:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 17:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":127789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":127789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":127789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579284224001,"66":27908,"15":206,"85":14080,"24":34,"16":342899468674269184,"45":-8505892297369163776},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-08 17:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579284224001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:45:11] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-08 17:45:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 17:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342899468674269184,"km_value":342899468674269.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8505892297369163776,"description":"Unknown IO ID 45"} 
[2026-07-08 17:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579284224001,"power":27908,"unknown_15":206,"unknown_85":14080,"ignition":34,"odometer":null,"unknown_45":-8505892297369163776}} 
[2026-07-08 17:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":127789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:45:11] local.INFO: GPS data processed {"connection_id":127789,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:45:11] local.INFO: Acknowledgment sent {"connection_id":127789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:45:30] local.INFO: TCP Data received {"connection_id":126563,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:45:30] local.INFO: Processing buffer {"connection_id":126563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:45:30] local.INFO: IMEI packet received {"connection_id":126563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 17:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":126563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:45:31] local.INFO: TCP Data received {"connection_id":126563,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:45:31] local.INFO: Processing buffer {"connection_id":126563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:45:31] local.INFO: IMEI packet received {"connection_id":126563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":126563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:45:35] local.INFO: TCP Data received {"connection_id":125683,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a63358012d18d2c007210cf0003d015a29..."} 
[2026-07-08 17:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a63358012d18d2c007210cf0003d015a29..."} 
[2026-07-08 17:45:35] local.INFO: Processing buffer {"connection_id":125683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a63358012d18d2c007210cf0003d015a29..."} 
[2026-07-08 17:45:35] local.INFO: Packet analysis {"connection_id":125683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a6"} 
[2026-07-08 17:45:35] local.INFO: Extracted packet for processing {"connection_id":125683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a6"} 
[2026-07-08 17:45:35] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119606512,"longitude_deg":75.6601536,"latitude_deg":11.9606512,"altitude":61,"angle":346,"satellites":41,"speed":29,"hex_longitude":"2d18d2c0","hex_latitude":"07210cf0","is_valid_coordinates":true} 
[2026-07-08 17:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579285504001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4886942638407680,"note":"Value kept but may cause issues"} 
[2026-07-08 17:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789899407521497088,"note":"Value kept but may cause issues"} 
[2026-07-08 17:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783512839000,"timestamp_ms":1783512839000,"timestamp_seconds":1783512839,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a63358"} 
[2026-07-08 17:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":60,"data_length":795,"current_offset":136} 
[2026-07-08 17:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579285504001,"66":14428,"103":206,"83":41984,"24":29,"16":4886942638407680,"45":1789899407521497088},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579285504001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:45:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:45:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4886942638407680,"km_value":4886942638407.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789899407521497088,"description":"Unknown IO ID 45"} 
[2026-07-08 17:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579285504001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1789899407521497088}} 
[2026-07-08 17:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":125683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:45:36] local.INFO: GPS data processed {"connection_id":125683,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:45:36] local.INFO: Acknowledgment sent {"connection_id":125683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:45:36] local.INFO: TCP Data received {"connection_id":126563,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:45:36] local.INFO: Processing buffer {"connection_id":126563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:45:36] local.INFO: IMEI packet received {"connection_id":126563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":126563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:45:37] local.INFO: TCP Data received {"connection_id":126563,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a66df0012d823c8005da1f60000800aa2e..."} 
[2026-07-08 17:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a66df0012d823c8005da1f60000800aa2e..."} 
[2026-07-08 17:45:37] local.INFO: Processing buffer {"connection_id":126563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a66df0012d823c8005da1f60000800aa2e..."} 
[2026-07-08 17:45:37] local.INFO: Packet analysis {"connection_id":126563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a6"} 
[2026-07-08 17:45:37] local.INFO: Extracted packet for processing {"connection_id":126563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a6"} 
[2026-07-08 17:45:37] local.INFO: GPS Element Parsed {"raw_longitude":763509888,"raw_latitude":98180960,"longitude_deg":76.3509888,"latitude_deg":9.818096,"altitude":8,"angle":170,"satellites":46,"speed":48,"hex_longitude":"2d823c80","hex_latitude":"05da1f60","is_valid_coordinates":true} 
[2026-07-08 17:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579288576001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103837422860632064,"note":"Value kept but may cause issues"} 
[2026-07-08 17:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9063775699923148800,"note":"Value kept but may cause issues"} 
[2026-07-08 17:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783512854000,"timestamp_ms":1783512854000,"timestamp_seconds":1783512854,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a66df0"} 
[2026-07-08 17:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 17:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160815046055,"note":"Value kept but may cause issues"} 
[2026-07-08 17:45:37] local.WARNING: Large IO value detected {"io_id":71,"raw_value":58077557095399446,"note":"Value kept but may cause issues"} 
[2026-07-08 17:45:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 17:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2183135237,"note":"Value kept but may cause issues"} 
[2026-07-08 17:45:37] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2785310721,"note":"Value kept but may cause issues"} 
[2026-07-08 17:45:37] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2351431686,"note":"Value kept but may cause issues"} 
[2026-07-08 17:45:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2806448334,"corrected_to":0} 
[2026-07-08 17:45:37] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147867277,"note":"Value kept but may cause issues"} 
[2026-07-08 17:45:37] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2147536295,"note":"Value kept but may cause issues"} 
[2026-07-08 17:45:37] local.WARNING: Large IO value detected {"io_id":112,"raw_value":3863543808,"note":"Value kept but may cause issues"} 
[2026-07-08 17:45:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3666798592,"note":"Value kept but may cause issues"} 
[2026-07-08 17:45:37] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,71,85,24,241,157,16,231,159,78,45,67,8,43,10,66,47,64,101,9,230,1,240,227,65,218,4,113,205,22,30,208,41,239,50,2,112,5,6],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2806448334,"validated":0}]} 
[2026-07-08 17:45:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576647853966688256,"timestamp_seconds":576647853966688.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 17:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579288576001,"66":13189,"71":206,"85":15104,"24":48,"16":103837422860632064,"45":-9063775699923148800},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-08 17:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579288576001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:45:37] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-08 17:45:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103837422860632064,"km_value":103837422860632.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9063775699923148800,"description":"Unknown IO ID 45"} 
[2026-07-08 17:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579288576001,"power":13189,"unknown_71":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":-9063775699923148800}} 
[2026-07-08 17:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":126563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452812,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:45:37] local.INFO: GPS data processed {"connection_id":126563,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:45:37] local.INFO: Acknowledgment sent {"connection_id":126563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:45:59] local.INFO: TCP Data received {"connection_id":125685,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:45:59] local.INFO: Processing buffer {"connection_id":125685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:45:59] local.INFO: IMEI packet received {"connection_id":125685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":125685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:46:00] local.INFO: TCP Data received {"connection_id":125684,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:46:00] local.INFO: Processing buffer {"connection_id":125684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:46:00] local.INFO: IMEI packet received {"connection_id":125684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":125684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:46:00] local.INFO: TCP Data received {"connection_id":125684,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:46:00] local.INFO: Processing buffer {"connection_id":125684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:46:00] local.INFO: IMEI packet received {"connection_id":125684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":125684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:46:05] local.INFO: TCP Data received {"connection_id":125685,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:46:05] local.INFO: Processing buffer {"connection_id":125685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:46:05] local.INFO: IMEI packet received {"connection_id":125685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":125685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:46:05] local.INFO: TCP Data received {"connection_id":125684,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:46:05] local.INFO: Processing buffer {"connection_id":125684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:46:05] local.INFO: IMEI packet received {"connection_id":125684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":125684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:46:05] local.INFO: TCP Data received {"connection_id":125685,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a715e8012d187940072182b0004e010e27..."} 
[2026-07-08 17:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a715e8012d187940072182b0004e010e27..."} 
[2026-07-08 17:46:05] local.INFO: Processing buffer {"connection_id":125685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a715e8012d187940072182b0004e010e27..."} 
[2026-07-08 17:46:05] local.INFO: Packet analysis {"connection_id":125685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a7"} 
[2026-07-08 17:46:05] local.INFO: Extracted packet for processing {"connection_id":125685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a7"} 
[2026-07-08 17:46:05] local.INFO: GPS Element Parsed {"raw_longitude":756578624,"raw_latitude":119636656,"longitude_deg":75.6578624,"latitude_deg":11.9636656,"altitude":78,"angle":270,"satellites":39,"speed":34,"hex_longitude":"2d187940","hex_latitude":"072182b0","is_valid_coordinates":true} 
[2026-07-08 17:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579300864001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4888987042840576,"note":"Value kept but may cause issues"} 
[2026-07-08 17:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766536984462985216,"note":"Value kept but may cause issues"} 
[2026-07-08 17:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783512897000,"timestamp_ms":1783512897000,"timestamp_seconds":1783512897,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a715e8"} 
[2026-07-08 17:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:46: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-07-08 17:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-08 17:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579300864001,"66":13993,"106":206,"83":41984,"24":34,"16":4888987042840576,"45":1766536984462985216},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-08 17:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579300864001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:46:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-08 17:46:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4888987042840576,"km_value":4888987042840.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766536984462985216,"description":"Unknown IO ID 45"} 
[2026-07-08 17:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579300864001,"power":13993,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1766536984462985216}} 
[2026-07-08 17:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":125685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:46:06] local.INFO: GPS data processed {"connection_id":125685,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:46:06] local.INFO: Acknowledgment sent {"connection_id":125685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:46:06] local.INFO: TCP Data received {"connection_id":125684,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a721a0012d891040058d7b100007010630..."} 
[2026-07-08 17:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a721a0012d891040058d7b100007010630..."} 
[2026-07-08 17:46:06] local.INFO: Processing buffer {"connection_id":125684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a721a0012d891040058d7b100007010630..."} 
[2026-07-08 17:46:06] local.INFO: Packet analysis {"connection_id":125684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a7"} 
[2026-07-08 17:46:06] local.INFO: Extracted packet for processing {"connection_id":125684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a7"} 
[2026-07-08 17:46:06] local.INFO: GPS Element Parsed {"raw_longitude":763957312,"raw_latitude":93158160,"longitude_deg":76.3957312,"latitude_deg":9.315816,"altitude":7,"angle":262,"satellites":48,"speed":51,"hex_longitude":"2d891040","hex_latitude":"058d7b10","is_valid_coordinates":true} 
[2026-07-08 17:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579300352001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342902238928175104,"note":"Value kept but may cause issues"} 
[2026-07-08 17:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8559583649178077184,"note":"Value kept but may cause issues"} 
[2026-07-08 17:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783512900000,"timestamp_ms":1783512900000,"timestamp_seconds":1783512900,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a721a0"} 
[2026-07-08 17:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 17:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579300352001,"66":27843,"15":206,"85":14080,"24":51,"16":342902238928175104,"45":-8559583649178077184},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-08 17:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579300352001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:46:06] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-08 17:46:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 17:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342902238928175104,"km_value":342902238928175.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8559583649178077184,"description":"Unknown IO ID 45"} 
[2026-07-08 17:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579300352001,"power":27843,"unknown_15":206,"unknown_85":14080,"ignition":51,"odometer":null,"unknown_45":-8559583649178077184}} 
[2026-07-08 17:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":125684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:46:06] local.INFO: GPS data processed {"connection_id":125684,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:46:06] local.INFO: Acknowledgment sent {"connection_id":125684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:46:09] local.INFO: TCP Data received {"connection_id":126563,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a68d30012d8242c005d9f9d8000800aa2d..."} 
[2026-07-08 17:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a68d30012d8242c005d9f9d8000800aa2d..."} 
[2026-07-08 17:46:09] local.INFO: Processing buffer {"connection_id":126563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a68d30012d8242c005d9f9d8000800aa2d..."} 
[2026-07-08 17:46:09] local.INFO: Packet analysis {"connection_id":126563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a6"} 
[2026-07-08 17:46:09] local.INFO: Extracted packet for processing {"connection_id":126563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a6"} 
[2026-07-08 17:46:09] local.INFO: GPS Element Parsed {"raw_longitude":763511488,"raw_latitude":98171352,"longitude_deg":76.3511488,"latitude_deg":9.8171352,"altitude":8,"angle":170,"satellites":45,"speed":43,"hex_longitude":"2d8242c0","hex_latitude":"05d9f9d8","is_valid_coordinates":true} 
[2026-07-08 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-07-08 17:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579290624001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103837895307034624,"note":"Value kept but may cause issues"} 
[2026-07-08 17:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9062227587553599488,"note":"Value kept but may cause issues"} 
[2026-07-08 17:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783512862000,"timestamp_ms":1783512862000,"timestamp_seconds":1783512862,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a68d30"} 
[2026-07-08 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-07-08 17:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-08 17:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 17:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579290624001,"66":13015,"71":206,"85":15104,"24":43,"16":103837895307034624,"45":-9062227587553599488},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-08 17:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579290624001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:46:09] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-08 17:46:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103837895307034624,"km_value":103837895307034.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9062227587553599488,"description":"Unknown IO ID 45"} 
[2026-07-08 17:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579290624001,"power":13015,"unknown_71":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":-9062227587553599488}} 
[2026-07-08 17:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":126563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:46:09] local.INFO: GPS data processed {"connection_id":126563,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:46:09] local.INFO: Acknowledgment sent {"connection_id":126563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:46:26] local.INFO: TCP Data received {"connection_id":125788,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125788,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:46:26] local.INFO: Processing buffer {"connection_id":125788,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:46:26] local.INFO: IMEI packet received {"connection_id":125788,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 17:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":125788,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:46:31] local.INFO: TCP Data received {"connection_id":126564,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126564,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:46:31] local.INFO: Processing buffer {"connection_id":126564,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:46:31] local.INFO: IMEI packet received {"connection_id":126564,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 17:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":126564,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:46:36] local.INFO: TCP Data received {"connection_id":126564,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126564,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:46:36] local.INFO: Processing buffer {"connection_id":126564,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:46:36] local.INFO: IMEI packet received {"connection_id":126564,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":126564,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:46:37] local.INFO: TCP Data received {"connection_id":125685,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a72d58012d18644007218290004f011927..."} 
[2026-07-08 17:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a72d58012d18644007218290004f011927..."} 
[2026-07-08 17:46:37] local.INFO: Processing buffer {"connection_id":125685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a72d58012d18644007218290004f011927..."} 
[2026-07-08 17:46:37] local.INFO: Packet analysis {"connection_id":125685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a7"} 
[2026-07-08 17:46:37] local.INFO: Extracted packet for processing {"connection_id":125685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a7"} 
[2026-07-08 17:46:37] local.INFO: GPS Element Parsed {"raw_longitude":756573248,"raw_latitude":119636624,"longitude_deg":75.6573248,"latitude_deg":11.9636624,"altitude":79,"angle":281,"satellites":39,"speed":35,"hex_longitude":"2d186440","hex_latitude":"07218290","is_valid_coordinates":true} 
[2026-07-08 17:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579301632001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4889240445911040,"note":"Value kept but may cause issues"} 
[2026-07-08 17:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763511128463421440,"note":"Value kept but may cause issues"} 
[2026-07-08 17:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783512903000,"timestamp_ms":1783512903000,"timestamp_seconds":1783512903,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a72d58"} 
[2026-07-08 17:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:46: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-07-08 17:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 17:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579301632001,"66":13993,"105":206,"83":41984,"24":35,"16":4889240445911040,"45":1763511128463421440},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 17:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579301632001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:46:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 17:46:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4889240445911040,"km_value":4889240445911.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763511128463421440,"description":"Unknown IO ID 45"} 
[2026-07-08 17:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579301632001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1763511128463421440}} 
[2026-07-08 17:46:37] local.INFO: TCP Data received {"connection_id":126564,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a817b8012d8283c005d8e900000b00b026..."} 
[2026-07-08 17:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a817b8012d8283c005d8e900000b00b026..."} 
[2026-07-08 17:46:37] local.INFO: Processing buffer {"connection_id":126564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a817b8012d8283c005d8e900000b00b026..."} 
[2026-07-08 17:46:37] local.INFO: Packet analysis {"connection_id":126564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a8"} 
[2026-07-08 17:46:37] local.INFO: Extracted packet for processing {"connection_id":126564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a8"} 
[2026-07-08 17:46:37] local.INFO: GPS Element Parsed {"raw_longitude":763528128,"raw_latitude":98101504,"longitude_deg":76.3528128,"latitude_deg":9.8101504,"altitude":11,"angle":176,"satellites":38,"speed":33,"hex_longitude":"2d8283c0","hex_latitude":"05d8e900","is_valid_coordinates":true} 
[2026-07-08 17:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579313408001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103841400000348160,"note":"Value kept but may cause issues"} 
[2026-07-08 17:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042524339202496512,"note":"Value kept but may cause issues"} 
[2026-07-08 17:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783512963000,"timestamp_ms":1783512963000,"timestamp_seconds":1783512963,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a817b8"} 
[2026-07-08 17:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-08 17:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126564,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126564,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579313408001,"66":13189,"49":206,"85":15104,"24":33,"16":103841400000348160,"45":-9042524339202496512},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-08 17:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579313408001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:46:37] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-08 17:46:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103841400000348160,"km_value":103841400000348.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042524339202496512,"description":"Unknown IO ID 45"} 
[2026-07-08 17:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579313408001,"power":13189,"unknown_49":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9042524339202496512}} 
[2026-07-08 17:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":126564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452816,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:46:37] local.INFO: GPS data processed {"connection_id":126564,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:46:37] local.INFO: Acknowledgment sent {"connection_id":126564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":125685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:46:37] local.INFO: GPS data processed {"connection_id":125685,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:46:37] local.INFO: Acknowledgment sent {"connection_id":125685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:46:37] local.INFO: TCP Data received {"connection_id":125684,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a73cf8012d88eb00058d76a00007010731..."} 
[2026-07-08 17:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a73cf8012d88eb00058d76a00007010731..."} 
[2026-07-08 17:46:37] local.INFO: Processing buffer {"connection_id":125684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a73cf8012d88eb00058d76a00007010731..."} 
[2026-07-08 17:46:37] local.INFO: Packet analysis {"connection_id":125684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a7"} 
[2026-07-08 17:46:37] local.INFO: Extracted packet for processing {"connection_id":125684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a7"} 
[2026-07-08 17:46:37] local.INFO: GPS Element Parsed {"raw_longitude":763947776,"raw_latitude":93157024,"longitude_deg":76.3947776,"latitude_deg":9.3157024,"altitude":7,"angle":263,"satellites":49,"speed":54,"hex_longitude":"2d88eb00","hex_latitude":"058d76a0","is_valid_coordinates":true} 
[2026-07-08 17:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579302400001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342902698489675776,"note":"Value kept but may cause issues"} 
[2026-07-08 17:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8570279698293387264,"note":"Value kept but may cause issues"} 
[2026-07-08 17:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783512907000,"timestamp_ms":1783512907000,"timestamp_seconds":1783512907,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a73cf8"} 
[2026-07-08 17:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 17:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579302400001,"66":27984,"15":206,"85":14080,"24":54,"16":342902698489675776,"45":-8570279698293387264},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-07-08 17:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579302400001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:46:37] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-08 17:46:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-07-08 17:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342902698489675776,"km_value":342902698489675.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8570279698293387264,"description":"Unknown IO ID 45"} 
[2026-07-08 17:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579302400001,"power":27984,"unknown_15":206,"unknown_85":14080,"ignition":54,"odometer":null,"unknown_45":-8570279698293387264}} 
[2026-07-08 17:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":125684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:46:37] local.INFO: GPS data processed {"connection_id":125684,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:46:37] local.INFO: Acknowledgment sent {"connection_id":125684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:46:55] local.INFO: TCP Data received {"connection_id":126565,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:46:55] local.INFO: Processing buffer {"connection_id":126565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:46:55] local.INFO: IMEI packet received {"connection_id":126565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":126565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:46:55] local.INFO: TCP Data received {"connection_id":125686,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125686,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:46:55] local.INFO: Processing buffer {"connection_id":125686,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:46:55] local.INFO: IMEI packet received {"connection_id":125686,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 17:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":125686,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:46:59] local.INFO: TCP Data received {"connection_id":125789,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:46:59] local.INFO: Processing buffer {"connection_id":125789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:46:59] local.INFO: IMEI packet received {"connection_id":125789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":125789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:47:00] local.INFO: TCP Data received {"connection_id":126565,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:47:00] local.INFO: Processing buffer {"connection_id":126565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:47:00] local.INFO: IMEI packet received {"connection_id":126565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":126565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:47:01] local.INFO: TCP Data received {"connection_id":126565,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a75c38012d88c380058d72300006010730..."} 
[2026-07-08 17:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a75c38012d88c380058d72300006010730..."} 
[2026-07-08 17:47:01] local.INFO: Processing buffer {"connection_id":126565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a75c38012d88c380058d72300006010730..."} 
[2026-07-08 17:47:01] local.INFO: Packet analysis {"connection_id":126565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a7"} 
[2026-07-08 17:47:01] local.INFO: Extracted packet for processing {"connection_id":126565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a7"} 
[2026-07-08 17:47:01] local.INFO: GPS Element Parsed {"raw_longitude":763937664,"raw_latitude":93155888,"longitude_deg":76.3937664,"latitude_deg":9.3155888,"altitude":6,"angle":263,"satellites":48,"speed":49,"hex_longitude":"2d88c380","hex_latitude":"058d7230","is_valid_coordinates":true} 
[2026-07-08 17: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-07-08 17:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579304192001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342903183820980224,"note":"Value kept but may cause issues"} 
[2026-07-08 17:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8580764641176150016,"note":"Value kept but may cause issues"} 
[2026-07-08 17:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783512915000,"timestamp_ms":1783512915000,"timestamp_seconds":1783512915,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a75c38"} 
[2026-07-08 17:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-08 17:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17: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-07-08 17:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579304192001,"66":27767,"135":206,"85":14592,"24":49,"16":342903183820980224,"45":-8580764641176150016},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-07-08 17:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579304192001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:47:01] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-08 17:47:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 17:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342903183820980224,"km_value":342903183820980.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8580764641176150016,"description":"Unknown IO ID 45"} 
[2026-07-08 17:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579304192001,"power":27767,"unknown_135":206,"unknown_85":14592,"ignition":49,"odometer":null,"unknown_45":-8580764641176150016}} 
[2026-07-08 17:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":126565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:47:01] local.INFO: GPS data processed {"connection_id":126565,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:47:01] local.INFO: Acknowledgment sent {"connection_id":126565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:47:05] local.INFO: TCP Data received {"connection_id":125789,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:47:05] local.INFO: Processing buffer {"connection_id":125789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:47:05] local.INFO: IMEI packet received {"connection_id":125789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":125789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:47:08] local.INFO: TCP Data received {"connection_id":126564,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a83ec8012d8285c005d8c2b0000a00b126..."} 
[2026-07-08 17:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a83ec8012d8285c005d8c2b0000a00b126..."} 
[2026-07-08 17:47:08] local.INFO: Processing buffer {"connection_id":126564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a83ec8012d8285c005d8c2b0000a00b126..."} 
[2026-07-08 17:47:08] local.INFO: Packet analysis {"connection_id":126564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a8"} 
[2026-07-08 17:47:08] local.INFO: Extracted packet for processing {"connection_id":126564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a8"} 
[2026-07-08 17:47:08] local.INFO: GPS Element Parsed {"raw_longitude":763528640,"raw_latitude":98091696,"longitude_deg":76.352864,"latitude_deg":9.8091696,"altitude":10,"angle":177,"satellites":38,"speed":42,"hex_longitude":"2d8285c0","hex_latitude":"05d8c2b0","is_valid_coordinates":true} 
[2026-07-08 17:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579318528001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103841872446750720,"note":"Value kept but may cause issues"} 
[2026-07-08 17:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042172495483305984,"note":"Value kept but may cause issues"} 
[2026-07-08 17:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783512973000,"timestamp_ms":1783512973000,"timestamp_seconds":1783512973,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a83ec8"} 
[2026-07-08 17:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-08 17:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126564,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126564,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579318528001,"66":13243,"49":206,"85":15104,"24":42,"16":103841872446750720,"45":-9042172495483305984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-08 17:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579318528001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:47:08] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-08 17:47:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103841872446750720,"km_value":103841872446750.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042172495483305984,"description":"Unknown IO ID 45"} 
[2026-07-08 17:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579318528001,"power":13243,"unknown_49":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-9042172495483305984}} 
[2026-07-08 17:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":126564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452820,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:47:08] local.INFO: GPS data processed {"connection_id":126564,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:47:08] local.INFO: Acknowledgment sent {"connection_id":126564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:47:10] local.INFO: TCP Data received {"connection_id":125789,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a73910012d185ac0072185f0004f012828..."} 
[2026-07-08 17:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a73910012d185ac0072185f0004f012828..."} 
[2026-07-08 17:47:10] local.INFO: Processing buffer {"connection_id":125789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a73910012d185ac0072185f0004f012828..."} 
[2026-07-08 17:47:10] local.INFO: Packet analysis {"connection_id":125789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a7"} 
[2026-07-08 17:47:10] local.INFO: Extracted packet for processing {"connection_id":125789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a7"} 
[2026-07-08 17:47:10] local.INFO: GPS Element Parsed {"raw_longitude":756570816,"raw_latitude":119637488,"longitude_deg":75.6570816,"latitude_deg":11.9637488,"altitude":79,"angle":296,"satellites":40,"speed":34,"hex_longitude":"2d185ac0","hex_latitude":"072185f0","is_valid_coordinates":true} 
[2026-07-08 17:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579303168001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4889364999962624,"note":"Value kept but may cause issues"} 
[2026-07-08 17:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757600153952489472,"note":"Value kept but may cause issues"} 
[2026-07-08 17:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783512906000,"timestamp_ms":1783512906000,"timestamp_seconds":1783512906,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a73910"} 
[2026-07-08 17:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 17:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579303168001,"66":13830,"105":206,"83":41984,"24":34,"16":4889364999962624,"45":1757600153952489472},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 17:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579303168001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:47:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 17:47:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4889364999962624,"km_value":4889364999962.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757600153952489472,"description":"Unknown IO ID 45"} 
[2026-07-08 17:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579303168001,"power":13830,"unknown_105":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1757600153952489472}} 
[2026-07-08 17:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":125789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:47:10] local.INFO: GPS data processed {"connection_id":125789,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:47:10] local.INFO: Acknowledgment sent {"connection_id":125789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:47:31] local.INFO: TCP Data received {"connection_id":125687,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:47:31] local.INFO: Processing buffer {"connection_id":125687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:47:31] local.INFO: IMEI packet received {"connection_id":125687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 17:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":125687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:47:32] local.INFO: TCP Data received {"connection_id":125687,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:47:32] local.INFO: Processing buffer {"connection_id":125687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:47:32] local.INFO: IMEI packet received {"connection_id":125687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":125687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:47:32] local.INFO: TCP Data received {"connection_id":126565,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a77790012d88a080058d6ec80007010730..."} 
[2026-07-08 17:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a77790012d88a080058d6ec80007010730..."} 
[2026-07-08 17:47:32] local.INFO: Processing buffer {"connection_id":126565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a77790012d88a080058d6ec80007010730..."} 
[2026-07-08 17:47:32] local.INFO: Packet analysis {"connection_id":126565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a7"} 
[2026-07-08 17:47:32] local.INFO: Extracted packet for processing {"connection_id":126565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a7"} 
[2026-07-08 17:47:32] local.INFO: GPS Element Parsed {"raw_longitude":763928704,"raw_latitude":93155016,"longitude_deg":76.3928704,"latitude_deg":9.3155016,"altitude":7,"angle":263,"satellites":48,"speed":51,"hex_longitude":"2d88a080","hex_latitude":"058d6ec8","is_valid_coordinates":true} 
[2026-07-08 17: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-07-08 17:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579306240001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342903617612677120,"note":"Value kept but may cause issues"} 
[2026-07-08 17:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8591882902756511744,"note":"Value kept but may cause issues"} 
[2026-07-08 17:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783512922000,"timestamp_ms":1783512922000,"timestamp_seconds":1783512922,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a77790"} 
[2026-07-08 17:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 17:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17: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-07-08 17:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579306240001,"66":27800,"135":206,"85":14592,"24":51,"16":342903617612677120,"45":-8591882902756511744},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-07-08 17:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579306240001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:47:32] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-08 17:47:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 17:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342903617612677120,"km_value":342903617612677.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8591882902756511744,"description":"Unknown IO ID 45"} 
[2026-07-08 17:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579306240001,"power":27800,"unknown_135":206,"unknown_85":14592,"ignition":51,"odometer":null,"unknown_45":-8591882902756511744}} 
[2026-07-08 17:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":126565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:47:32] local.INFO: GPS data processed {"connection_id":126565,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:47:32] local.INFO: Acknowledgment sent {"connection_id":126565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:47:36] local.INFO: TCP Data received {"connection_id":125687,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:47:36] local.INFO: Processing buffer {"connection_id":125687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:47:36] local.INFO: IMEI packet received {"connection_id":125687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":125687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:47:37] local.INFO: TCP Data received {"connection_id":125687,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a861f0012d8286c005d89d58000b00b428..."} 
[2026-07-08 17:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a861f0012d8286c005d89d58000b00b428..."} 
[2026-07-08 17:47:37] local.INFO: Processing buffer {"connection_id":125687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a861f0012d8286c005d89d58000b00b428..."} 
[2026-07-08 17:47:37] local.INFO: Packet analysis {"connection_id":125687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a8"} 
[2026-07-08 17:47:37] local.INFO: Extracted packet for processing {"connection_id":125687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a8"} 
[2026-07-08 17:47:37] local.INFO: GPS Element Parsed {"raw_longitude":763528896,"raw_latitude":98082136,"longitude_deg":76.3528896,"latitude_deg":9.8082136,"altitude":11,"angle":180,"satellites":40,"speed":41,"hex_longitude":"2d8286c0","hex_latitude":"05d89d58","is_valid_coordinates":true} 
[2026-07-08 17:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579321088001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103842340598185984,"note":"Value kept but may cause issues"} 
[2026-07-08 17:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041609545532395520,"note":"Value kept but may cause issues"} 
[2026-07-08 17:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783512982000,"timestamp_ms":1783512982000,"timestamp_seconds":1783512982,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a861f0"} 
[2026-07-08 17:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-08 17:47: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-07-08 17:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579321088001,"66":12645,"49":206,"85":15104,"24":41,"16":103842340598185984,"45":-9041609545532395520},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-08 17:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579321088001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:47:37] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-08 17:47:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103842340598185984,"km_value":103842340598185.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041609545532395520,"description":"Unknown IO ID 45"} 
[2026-07-08 17:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579321088001,"power":12645,"unknown_49":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9041609545532395520}} 
[2026-07-08 17:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":125687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452823,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:47:37] local.INFO: GPS data processed {"connection_id":125687,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:47:37] local.INFO: Acknowledgment sent {"connection_id":125687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:47:52] local.INFO: TCP Data received {"connection_id":125789,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a76408012d184000072191e00051011d29..."} 
[2026-07-08 17:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a76408012d184000072191e00051011d29..."} 
[2026-07-08 17:47:52] local.INFO: Processing buffer {"connection_id":125789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a76408012d184000072191e00051011d29..."} 
[2026-07-08 17:47:52] local.INFO: Packet analysis {"connection_id":125789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a7"} 
[2026-07-08 17:47:52] local.INFO: Extracted packet for processing {"connection_id":125789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a7"} 
[2026-07-08 17:47:52] local.INFO: GPS Element Parsed {"raw_longitude":756563968,"raw_latitude":119640544,"longitude_deg":75.6563968,"latitude_deg":11.9640544,"altitude":81,"angle":285,"satellites":41,"speed":18,"hex_longitude":"2d184000","hex_latitude":"072191e0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 17:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579303936001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4889721482248192,"note":"Value kept but may cause issues"} 
[2026-07-08 17:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754926141673959424,"note":"Value kept but may cause issues"} 
[2026-07-08 17:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783512917000,"timestamp_ms":1783512917000,"timestamp_seconds":1783512917,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a76408"} 
[2026-07-08 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-07-08 17:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-07-08 17:47:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-08 17:47:52] local.WARNING: Large IO value detected {"io_id":24,"raw_value":6192458093363200,"note":"Value kept but may cause issues"} 
[2026-07-08 17:47:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652634622524672,"note":"Value kept but may cause issues"} 
[2026-07-08 17:47:52] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2799390721,"note":"Value kept but may cause issues"} 
[2026-07-08 17:47:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-07-08 17:47:52] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-07-08 17:47:52] local.WARNING: Large IO value detected {"io_id":172,"raw_value":2147950961,"note":"Value kept but may cause issues"} 
[2026-07-08 17:47:52] local.WARNING: Large IO value detected {"io_id":149,"raw_value":331059346540321,"note":"Value kept but may cause issues"} 
[2026-07-08 17:47:52] local.WARNING: Large IO value detected {"io_id":81,"raw_value":-6917454255126675435,"note":"Value kept but may cause issues"} 
[2026-07-08 17:47:52] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,94,159,45,64,130,79,39,10,66,21,78,106,1,240,148,227,65,33,4,113,205,27,211,172,40,239,55,2,17,7,69,22,149,81],"length":528,"final_offset":658,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-07-08 17:47:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692875556239048704,"timestamp_seconds":5692875556239049.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 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-07-08 17:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":125789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":125789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":125789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:47:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579303936001,"66":13961,"105":206,"83":41984,"24":18,"16":4889721482248192,"45":1754926141673959424},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 17:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579303936001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:47:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 17:47:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4889721482248192,"km_value":4889721482248.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754926141673959424,"description":"Unknown IO ID 45"} 
[2026-07-08 17:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579303936001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1754926141673959424}} 
[2026-07-08 17:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":125789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:47:52] local.INFO: GPS data processed {"connection_id":125789,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:47:52] local.INFO: Acknowledgment sent {"connection_id":125789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:47:55] local.INFO: TCP Data received {"connection_id":126566,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:47:55] local.INFO: Processing buffer {"connection_id":126566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:47:55] local.INFO: IMEI packet received {"connection_id":126566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":126566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:48:00] local.INFO: TCP Data received {"connection_id":126566,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:48:00] local.INFO: Processing buffer {"connection_id":126566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:48:00] local.INFO: IMEI packet received {"connection_id":126566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":126566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:48:01] local.INFO: TCP Data received {"connection_id":126566,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a796d0012d8878c0058d6c48000a010c31..."} 
[2026-07-08 17:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a796d0012d8878c0058d6c48000a010c31..."} 
[2026-07-08 17:48:01] local.INFO: Processing buffer {"connection_id":126566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a796d0012d8878c0058d6c48000a010c31..."} 
[2026-07-08 17:48:01] local.INFO: Packet analysis {"connection_id":126566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a7"} 
[2026-07-08 17:48:01] local.INFO: Extracted packet for processing {"connection_id":126566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a7"} 
[2026-07-08 17:48:01] local.INFO: GPS Element Parsed {"raw_longitude":763918528,"raw_latitude":93154376,"longitude_deg":76.3918528,"latitude_deg":9.3154376,"altitude":10,"angle":268,"satellites":49,"speed":49,"hex_longitude":"2d8878c0","hex_latitude":"058d6c48","is_valid_coordinates":true} 
[2026-07-08 17:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579308032001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342904102943981568,"note":"Value kept but may cause issues"} 
[2026-07-08 17:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8601734526941607936,"note":"Value kept but may cause issues"} 
[2026-07-08 17:48:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783512930000,"timestamp_ms":1783512930000,"timestamp_seconds":1783512930,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a796d0"} 
[2026-07-08 17:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:48:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 17:48:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:48:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579308032001,"66":27658,"135":206,"85":14592,"24":49,"16":342904102943981568,"45":-8601734526941607936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-07-08 17:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579308032001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:48:01] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-08 17:48:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 17:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342904102943981568,"km_value":342904102943981.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8601734526941607936,"description":"Unknown IO ID 45"} 
[2026-07-08 17:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579308032001,"power":27658,"unknown_135":206,"unknown_85":14592,"ignition":49,"odometer":null,"unknown_45":-8601734526941607936}} 
[2026-07-08 17:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":126566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:48:01] local.INFO: GPS data processed {"connection_id":126566,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:48:01] local.INFO: Acknowledgment sent {"connection_id":126566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:48:05] local.INFO: TCP Data received {"connection_id":125791,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:48:05] local.INFO: Processing buffer {"connection_id":125791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:48:05] local.INFO: IMEI packet received {"connection_id":125791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":125791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:48:05] local.INFO: TCP Data received {"connection_id":125791,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:48:05] local.INFO: Processing buffer {"connection_id":125791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:48:05] local.INFO: IMEI packet received {"connection_id":125791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":125791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:48:06] local.INFO: TCP Data received {"connection_id":125791,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:48:06] local.INFO: Processing buffer {"connection_id":125791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:48:06] local.INFO: IMEI packet received {"connection_id":125791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":125791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:48:07] local.INFO: TCP Data received {"connection_id":125791,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a938c8012d188680072181880051006927..."} 
[2026-07-08 17:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a938c8012d188680072181880051006927..."} 
[2026-07-08 17:48:07] local.INFO: Processing buffer {"connection_id":125791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a938c8012d188680072181880051006927..."} 
[2026-07-08 17:48:07] local.INFO: Packet analysis {"connection_id":125791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a9"} 
[2026-07-08 17:48:07] local.INFO: Extracted packet for processing {"connection_id":125791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a9"} 
[2026-07-08 17:48:07] local.INFO: GPS Element Parsed {"raw_longitude":756582016,"raw_latitude":119636360,"longitude_deg":75.6582016,"latitude_deg":11.963636,"altitude":81,"angle":105,"satellites":39,"speed":34,"hex_longitude":"2d188680","hex_latitude":"07218188","is_valid_coordinates":true} 
[2026-07-08 17:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579335168001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4891392224526336,"note":"Value kept but may cause issues"} 
[2026-07-08 17:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1759218635068579840,"note":"Value kept but may cause issues"} 
[2026-07-08 17:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783513037000,"timestamp_ms":1783513037000,"timestamp_seconds":1783513037,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a938c8"} 
[2026-07-08 17:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:48: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-07-08 17:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-08 17:48: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-07-08 17:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579335168001,"66":14233,"106":206,"83":41984,"24":34,"16":4891392224526336,"45":1759218635068579840},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-08 17:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579335168001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:48:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-08 17:48:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4891392224526336,"km_value":4891392224526.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1759218635068579840,"description":"Unknown IO ID 45"} 
[2026-07-08 17:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579335168001,"power":14233,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1759218635068579840}} 
[2026-07-08 17:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":125791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:48:07] local.INFO: GPS data processed {"connection_id":125791,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:48:07] local.INFO: Acknowledgment sent {"connection_id":125791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:48:08] local.INFO: TCP Data received {"connection_id":125687,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a87190012d82884005d88d28000a00a526..."} 
[2026-07-08 17:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a87190012d82884005d88d28000a00a526..."} 
[2026-07-08 17:48:08] local.INFO: Processing buffer {"connection_id":125687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a87190012d82884005d88d28000a00a526..."} 
[2026-07-08 17:48:08] local.INFO: Packet analysis {"connection_id":125687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a8"} 
[2026-07-08 17:48:08] local.INFO: Extracted packet for processing {"connection_id":125687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a8"} 
[2026-07-08 17:48:08] local.INFO: GPS Element Parsed {"raw_longitude":763529280,"raw_latitude":98077992,"longitude_deg":76.352928,"latitude_deg":9.8077992,"altitude":10,"angle":165,"satellites":38,"speed":42,"hex_longitude":"2d828840","hex_latitude":"05d88d28","is_valid_coordinates":true} 
[2026-07-08 17:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579323392001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103842542461648896,"note":"Value kept but may cause issues"} 
[2026-07-08 17:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041328070558132224,"note":"Value kept but may cause issues"} 
[2026-07-08 17:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783512986000,"timestamp_ms":1783512986000,"timestamp_seconds":1783512986,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a87190"} 
[2026-07-08 17:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":101,"data_length":795,"current_offset":136} 
[2026-07-08 17:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579323392001,"66":12526,"49":206,"85":15104,"24":42,"16":103842542461648896,"45":-9041328070558132224},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-08 17:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579323392001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:48:08] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-08 17:48:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103842542461648896,"km_value":103842542461648.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041328070558132224,"description":"Unknown IO ID 45"} 
[2026-07-08 17:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579323392001,"power":12526,"unknown_49":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-9041328070558132224}} 
[2026-07-08 17:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":125687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452827,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:48:08] local.INFO: GPS data processed {"connection_id":125687,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:48:08] local.INFO: Acknowledgment sent {"connection_id":125687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:48:09] local.INFO: TCP Data received {"connection_id":125791,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a95fd8012d18a940072174d00053007128..."} 
[2026-07-08 17:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a95fd8012d18a940072174d00053007128..."} 
[2026-07-08 17:48:09] local.INFO: Processing buffer {"connection_id":125791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a95fd8012d18a940072174d00053007128..."} 
[2026-07-08 17:48:09] local.INFO: Packet analysis {"connection_id":125791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a9"} 
[2026-07-08 17:48:09] local.INFO: Extracted packet for processing {"connection_id":125791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a9"} 
[2026-07-08 17:48:09] local.INFO: GPS Element Parsed {"raw_longitude":756590912,"raw_latitude":119633104,"longitude_deg":75.6590912,"latitude_deg":11.9633104,"altitude":83,"angle":113,"satellites":40,"speed":33,"hex_longitude":"2d18a940","hex_latitude":"072174d0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 17:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579337472001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4891843196092416,"note":"Value kept but may cause issues"} 
[2026-07-08 17:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767240671904761856,"note":"Value kept but may cause issues"} 
[2026-07-08 17:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783513047000,"timestamp_ms":1783513047000,"timestamp_seconds":1783513047,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a95fd8"} 
[2026-07-08 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-07-08 17:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-08 17:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 17:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579337472001,"66":14613,"106":206,"83":41984,"24":33,"16":4891843196092416,"45":1767240671904761856},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-08 17:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579337472001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:48:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-08 17:48:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4891843196092416,"km_value":4891843196092.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767240671904761856,"description":"Unknown IO ID 45"} 
[2026-07-08 17:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579337472001,"power":14613,"unknown_106":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1767240671904761856}} 
[2026-07-08 17:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":125791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:48:09] local.INFO: GPS data processed {"connection_id":125791,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:48:09] local.INFO: Acknowledgment sent {"connection_id":125791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:48:31] local.INFO: TCP Data received {"connection_id":126567,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126567,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:48:31] local.INFO: Processing buffer {"connection_id":126567,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:48:31] local.INFO: IMEI packet received {"connection_id":126567,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 17:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":126567,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:48:33] local.INFO: TCP Data received {"connection_id":126566,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a97360012d872e80058e0eb00008012b31..."} 
[2026-07-08 17:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a97360012d872e80058e0eb00008012b31..."} 
[2026-07-08 17:48:33] local.INFO: Processing buffer {"connection_id":126566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a97360012d872e80058e0eb00008012b31..."} 
[2026-07-08 17:48:33] local.INFO: Packet analysis {"connection_id":126566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a9"} 
[2026-07-08 17:48:33] local.INFO: Extracted packet for processing {"connection_id":126566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a9"} 
[2026-07-08 17:48:33] local.INFO: GPS Element Parsed {"raw_longitude":763833984,"raw_latitude":93195952,"longitude_deg":76.3833984,"latitude_deg":9.3195952,"altitude":8,"angle":299,"satellites":49,"speed":39,"hex_longitude":"2d872e80","hex_latitude":"058e0eb0","is_valid_coordinates":true} 
[2026-07-08 17:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579338752001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342908827408007168,"note":"Value kept but may cause issues"} 
[2026-07-08 17:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8697154544037310464,"note":"Value kept but may cause issues"} 
[2026-07-08 17:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783513052000,"timestamp_ms":1783513052000,"timestamp_seconds":1783513052,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a97360"} 
[2026-07-08 17:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-08 17:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579338752001,"66":27865,"87":206,"85":14592,"24":39,"16":342908827408007168,"45":-8697154544037310464},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,85,24,16,45]} 
[2026-07-08 17:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579338752001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:48:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-08 17:48:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 17:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342908827408007168,"km_value":342908827408007.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8697154544037310464,"description":"Unknown IO ID 45"} 
[2026-07-08 17:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579338752001,"power":27865,"unknown_87":206,"unknown_85":14592,"ignition":39,"odometer":null,"unknown_45":-8697154544037310464}} 
[2026-07-08 17:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":126566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:48:33] local.INFO: GPS data processed {"connection_id":126566,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:48:33] local.INFO: Acknowledgment sent {"connection_id":126566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:48:36] local.INFO: TCP Data received {"connection_id":126567,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126567,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:48:36] local.INFO: Processing buffer {"connection_id":126567,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:48:36] local.INFO: IMEI packet received {"connection_id":126567,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":126567,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:48:37] local.INFO: TCP Data received {"connection_id":126567,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a894b8012d82974005d869d8000800a126..."} 
[2026-07-08 17:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a894b8012d82974005d869d8000800a126..."} 
[2026-07-08 17:48:37] local.INFO: Processing buffer {"connection_id":126567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a894b8012d82974005d869d8000800a126..."} 
[2026-07-08 17:48:37] local.INFO: Packet analysis {"connection_id":126567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a8"} 
[2026-07-08 17:48:37] local.INFO: Extracted packet for processing {"connection_id":126567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a8"} 
[2026-07-08 17:48:37] local.INFO: GPS Element Parsed {"raw_longitude":763533120,"raw_latitude":98068952,"longitude_deg":76.353312,"latitude_deg":9.8068952,"altitude":8,"angle":161,"satellites":38,"speed":41,"hex_longitude":"2d829740","hex_latitude":"05d869d8","is_valid_coordinates":true} 
[2026-07-08 17:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579324416001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103843014908051456,"note":"Value kept but may cause issues"} 
[2026-07-08 17:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9040905858094127104,"note":"Value kept but may cause issues"} 
[2026-07-08 17:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783512995000,"timestamp_ms":1783512995000,"timestamp_seconds":1783512995,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a894b8"} 
[2026-07-08 17:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 17:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579324416001,"66":12613,"49":206,"85":15104,"24":41,"16":103843014908051456,"45":-9040905858094127104},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-08 17:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579324416001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:48:37] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-08 17:48:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103843014908051456,"km_value":103843014908051.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9040905858094127104,"description":"Unknown IO ID 45"} 
[2026-07-08 17:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579324416001,"power":12613,"unknown_49":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9040905858094127104}} 
[2026-07-08 17:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":126567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452830,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:48:37] local.INFO: GPS data processed {"connection_id":126567,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:48:37] local.INFO: Acknowledgment sent {"connection_id":126567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:48:40] local.INFO: TCP Data received {"connection_id":125791,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a967a8012d18ae80072171300053008527..."} 
[2026-07-08 17:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a967a8012d18ae80072171300053008527..."} 
[2026-07-08 17:48:40] local.INFO: Processing buffer {"connection_id":125791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a967a8012d18ae80072171300053008527..."} 
[2026-07-08 17:48:40] local.INFO: Packet analysis {"connection_id":125791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a9"} 
[2026-07-08 17:48:40] local.INFO: Extracted packet for processing {"connection_id":125791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a9"} 
[2026-07-08 17:48:40] local.INFO: GPS Element Parsed {"raw_longitude":756592256,"raw_latitude":119632176,"longitude_deg":75.6592256,"latitude_deg":11.9632176,"altitude":83,"angle":133,"satellites":39,"speed":33,"hex_longitude":"2d18ae80","hex_latitude":"07217130","is_valid_coordinates":true} 
[2026-07-08 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-07-08 17:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579340032001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4891920505503744,"note":"Value kept but may cause issues"} 
[2026-07-08 17:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777021927344623616,"note":"Value kept but may cause issues"} 
[2026-07-08 17:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783513049000,"timestamp_ms":1783513049000,"timestamp_seconds":1783513049,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a967a8"} 
[2026-07-08 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-07-08 17:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-07-08 17:48:40] 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-07-08 17:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 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-07-08 17:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579340032001,"66":14450,"106":206,"83":41984,"24":33,"16":4891920505503744,"45":1777021927344623616},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-08 17:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579340032001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:48:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-08 17:48:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4891920505503744,"km_value":4891920505503.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777021927344623616,"description":"Unknown IO ID 45"} 
[2026-07-08 17:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579340032001,"power":14450,"unknown_106":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1777021927344623616}} 
[2026-07-08 17:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":125791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:48:40] local.INFO: GPS data processed {"connection_id":125791,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:48:40] local.INFO: Acknowledgment sent {"connection_id":125791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:48:55] local.INFO: TCP Data received {"connection_id":126568,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:48:55] local.INFO: Processing buffer {"connection_id":126568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:48:55] local.INFO: IMEI packet received {"connection_id":126568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":126568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:48:59] local.INFO: TCP Data received {"connection_id":127791,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:48:59] local.INFO: Processing buffer {"connection_id":127791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:48:59] local.INFO: IMEI packet received {"connection_id":127791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":127791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:48:59] local.INFO: TCP Data received {"connection_id":127791,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:48:59] local.INFO: Processing buffer {"connection_id":127791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:48:59] local.INFO: IMEI packet received {"connection_id":127791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":127791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:49:00] local.INFO: TCP Data received {"connection_id":126568,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:49:00] local.INFO: Processing buffer {"connection_id":126568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:49:00] local.INFO: IMEI packet received {"connection_id":126568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":126568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:49:01] local.INFO: TCP Data received {"connection_id":126568,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a99688012d870ec0058e1ff80008012832..."} 
[2026-07-08 17:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a99688012d870ec0058e1ff80008012832..."} 
[2026-07-08 17:49:01] local.INFO: Processing buffer {"connection_id":126568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a99688012d870ec0058e1ff80008012832..."} 
[2026-07-08 17:49:01] local.INFO: Packet analysis {"connection_id":126568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a9"} 
[2026-07-08 17:49:01] local.INFO: Extracted packet for processing {"connection_id":126568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a9"} 
[2026-07-08 17:49:01] local.INFO: GPS Element Parsed {"raw_longitude":763825856,"raw_latitude":93200376,"longitude_deg":76.3825856,"latitude_deg":9.3200376,"altitude":8,"angle":296,"satellites":50,"speed":41,"hex_longitude":"2d870ec0","hex_latitude":"058e1ff8","is_valid_coordinates":true} 
[2026-07-08 17:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579341312001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342909269789638656,"note":"Value kept but may cause issues"} 
[2026-07-08 17:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8705880268314071040,"note":"Value kept but may cause issues"} 
[2026-07-08 17:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783513061000,"timestamp_ms":1783513061000,"timestamp_seconds":1783513061,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a99688"} 
[2026-07-08 17:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 17:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579341312001,"66":27908,"87":206,"85":14592,"24":41,"16":342909269789638656,"45":-8705880268314071040},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,85,24,16,45]} 
[2026-07-08 17:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579341312001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:49:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-08 17:49:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 17:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342909269789638656,"km_value":342909269789638.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8705880268314071040,"description":"Unknown IO ID 45"} 
[2026-07-08 17:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579341312001,"power":27908,"unknown_87":206,"unknown_85":14592,"ignition":41,"odometer":null,"unknown_45":-8705880268314071040}} 
[2026-07-08 17:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":126568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:49:01] local.INFO: GPS data processed {"connection_id":126568,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:49:01] local.INFO: Acknowledgment sent {"connection_id":126568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:49:02] local.INFO: TCP Data received {"connection_id":127791,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:49:02] local.INFO: Processing buffer {"connection_id":127791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:49:02] local.INFO: IMEI packet received {"connection_id":127791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":127791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:49:03] local.INFO: TCP Data received {"connection_id":127791,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a96f78012d18b30007216be80052009027..."} 
[2026-07-08 17:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a96f78012d18b30007216be80052009027..."} 
[2026-07-08 17:49:03] local.INFO: Processing buffer {"connection_id":127791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a96f78012d18b30007216be80052009027..."} 
[2026-07-08 17:49:03] local.INFO: Packet analysis {"connection_id":127791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a9"} 
[2026-07-08 17:49:03] local.INFO: Extracted packet for processing {"connection_id":127791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a9"} 
[2026-07-08 17:49:03] local.INFO: GPS Element Parsed {"raw_longitude":756593408,"raw_latitude":119630824,"longitude_deg":75.6593408,"latitude_deg":11.9630824,"altitude":82,"angle":144,"satellites":39,"speed":36,"hex_longitude":"2d18b300","hex_latitude":"07216be8","is_valid_coordinates":true} 
[2026-07-08 17: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-07-08 17:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579340544001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4892006404849664,"note":"Value kept but may cause issues"} 
[2026-07-08 17:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778499670972116992,"note":"Value kept but may cause issues"} 
[2026-07-08 17:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783513051000,"timestamp_ms":1783513051000,"timestamp_seconds":1783513051,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a96f78"} 
[2026-07-08 17:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17: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-07-08 17: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":114,"data_length":795,"current_offset":136} 
[2026-07-08 17:49: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-07-08 17: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-07-08 17:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579340544001,"66":14428,"106":206,"83":41984,"24":36,"16":4892006404849664,"45":1778499670972116992},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-08 17:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579340544001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:49:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-08 17:49:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4892006404849664,"km_value":4892006404849.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778499670972116992,"description":"Unknown IO ID 45"} 
[2026-07-08 17:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579340544001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1778499670972116992}} 
[2026-07-08 17:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":127791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:49:03] local.INFO: GPS data processed {"connection_id":127791,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:49:03] local.INFO: Acknowledgment sent {"connection_id":127791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:49:08] local.INFO: TCP Data received {"connection_id":126567,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a8ac28012d829c4005d852f0000800ac29..."} 
[2026-07-08 17:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a8ac28012d829c4005d852f0000800ac29..."} 
[2026-07-08 17:49:08] local.INFO: Processing buffer {"connection_id":126567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a8ac28012d829c4005d852f0000800ac29..."} 
[2026-07-08 17:49:08] local.INFO: Packet analysis {"connection_id":126567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a8"} 
[2026-07-08 17:49:08] local.INFO: Extracted packet for processing {"connection_id":126567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a8"} 
[2026-07-08 17:49:08] local.INFO: GPS Element Parsed {"raw_longitude":763534400,"raw_latitude":98063088,"longitude_deg":76.35344,"latitude_deg":9.8063088,"altitude":8,"angle":172,"satellites":41,"speed":37,"hex_longitude":"2d829c40","hex_latitude":"05d852f0","is_valid_coordinates":true} 
[2026-07-08 17:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579326720001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103843306965827584,"note":"Value kept but may cause issues"} 
[2026-07-08 17:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036683733445781504,"note":"Value kept but may cause issues"} 
[2026-07-08 17:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783513001000,"timestamp_ms":1783513001000,"timestamp_seconds":1783513001,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a8ac28"} 
[2026-07-08 17:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 17:49: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-07-08 17:49:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579326720001,"66":12917,"49":206,"85":15104,"24":37,"16":103843306965827584,"45":-9036683733445781504},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-08 17:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579326720001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:49:08] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-08 17:49:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103843306965827584,"km_value":103843306965827.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036683733445781504,"description":"Unknown IO ID 45"} 
[2026-07-08 17:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579326720001,"power":12917,"unknown_49":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9036683733445781504}} 
[2026-07-08 17:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":126567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452834,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:49:08] local.INFO: GPS data processed {"connection_id":126567,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:49:08] local.INFO: Acknowledgment sent {"connection_id":126567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:49:31] local.INFO: TCP Data received {"connection_id":126569,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:49:31] local.INFO: Processing buffer {"connection_id":126569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:49:31] local.INFO: IMEI packet received {"connection_id":126569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 17:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":126569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:49:32] local.INFO: TCP Data received {"connection_id":126569,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:49:32] local.INFO: Processing buffer {"connection_id":126569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:49:32] local.INFO: IMEI packet received {"connection_id":126569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":126569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:49:32] local.INFO: TCP Data received {"connection_id":126568,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41a9bd98012d86ee80058e2e98000701272f..."} 
[2026-07-08 17:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41a9bd98012d86ee80058e2e98000701272f..."} 
[2026-07-08 17:49:32] local.INFO: Processing buffer {"connection_id":126568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41a9bd98012d86ee80058e2e98000701272f..."} 
[2026-07-08 17:49:32] local.INFO: Packet analysis {"connection_id":126568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41a9"} 
[2026-07-08 17:49:32] local.INFO: Extracted packet for processing {"connection_id":126568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41a9"} 
[2026-07-08 17:49:32] local.INFO: GPS Element Parsed {"raw_longitude":763817600,"raw_latitude":93204120,"longitude_deg":76.38176,"latitude_deg":9.320412,"altitude":7,"angle":295,"satellites":47,"speed":25,"hex_longitude":"2d86ee80","hex_latitude":"058e2e98","is_valid_coordinates":true} 
[2026-07-08 17:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579343616001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342909703581335552,"note":"Value kept but may cause issues"} 
[2026-07-08 17:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8714817098823501824,"note":"Value kept but may cause issues"} 
[2026-07-08 17:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783513071000,"timestamp_ms":1783513071000,"timestamp_seconds":1783513071,"priority":1,"record_length":96,"hex_timestamp":"0000019f41a9bd98"} 
[2026-07-08 17:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 17:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579343616001,"66":27974,"87":206,"85":14592,"24":25,"16":342909703581335552,"45":-8714817098823501824},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,85,24,16,45]} 
[2026-07-08 17:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579343616001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:49:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-08 17:49:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 17:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342909703581335552,"km_value":342909703581335.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8714817098823501824,"description":"Unknown IO ID 45"} 
[2026-07-08 17:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579343616001,"power":27974,"unknown_87":206,"unknown_85":14592,"ignition":25,"odometer":null,"unknown_45":-8714817098823501824}} 
[2026-07-08 17:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":126568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:49:32] local.INFO: GPS data processed {"connection_id":126568,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:49:32] local.INFO: Acknowledgment sent {"connection_id":126568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:49:34] local.INFO: TCP Data received {"connection_id":126569,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:49:34] local.INFO: Processing buffer {"connection_id":126569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:49:34] local.INFO: IMEI packet received {"connection_id":126569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":126569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:49:35] local.INFO: TCP Data received {"connection_id":127791,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41aa5dc0012d1912400720c6b80036007326..."} 
[2026-07-08 17:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41aa5dc0012d1912400720c6b80036007326..."} 
[2026-07-08 17:49:35] local.INFO: Processing buffer {"connection_id":127791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41aa5dc0012d1912400720c6b80036007326..."} 
[2026-07-08 17:49:35] local.INFO: Packet analysis {"connection_id":127791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41aa"} 
[2026-07-08 17:49:35] local.INFO: Extracted packet for processing {"connection_id":127791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41aa"} 
[2026-07-08 17:49:35] local.INFO: GPS Element Parsed {"raw_longitude":756617792,"raw_latitude":119588536,"longitude_deg":75.6617792,"latitude_deg":11.9588536,"altitude":54,"angle":115,"satellites":38,"speed":43,"hex_longitude":"2d191240","hex_latitude":"0720c6b8","is_valid_coordinates":true} 
[2026-07-08 17:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579354624001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894480306012160,"note":"Value kept but may cause issues"} 
[2026-07-08 17:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799891769191919616,"note":"Value kept but may cause issues"} 
[2026-07-08 17:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783513112000,"timestamp_ms":1783513112000,"timestamp_seconds":1783513112,"priority":1,"record_length":96,"hex_timestamp":"0000019f41aa5dc0"} 
[2026-07-08 17:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-08 17:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":127791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":127791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":127791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579354624001,"66":14396,"103":206,"83":41984,"24":43,"16":4894480306012160,"45":1799891769191919616},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579354624001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:49:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:49:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894480306012160,"km_value":4894480306012.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799891769191919616,"description":"Unknown IO ID 45"} 
[2026-07-08 17:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579354624001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1799891769191919616}} 
[2026-07-08 17:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":127791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:49:35] local.INFO: GPS data processed {"connection_id":127791,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:49:35] local.INFO: Acknowledgment sent {"connection_id":127791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:49:36] local.INFO: TCP Data received {"connection_id":126569,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:49:36] local.INFO: Processing buffer {"connection_id":126569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:49:36] local.INFO: IMEI packet received {"connection_id":126569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":126569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:49:37] local.INFO: TCP Data received {"connection_id":126569,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41aae290012d82ba8005d6e060000900b02a..."} 
[2026-07-08 17:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41aae290012d82ba8005d6e060000900b02a..."} 
[2026-07-08 17:49:37] local.INFO: Processing buffer {"connection_id":126569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41aae290012d82ba8005d6e060000900b02a..."} 
[2026-07-08 17:49:37] local.INFO: Packet analysis {"connection_id":126569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41aa"} 
[2026-07-08 17:49:37] local.INFO: Extracted packet for processing {"connection_id":126569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41aa"} 
[2026-07-08 17:49:37] local.INFO: GPS Element Parsed {"raw_longitude":763542144,"raw_latitude":97968224,"longitude_deg":76.3542144,"latitude_deg":9.7968224,"altitude":9,"angle":176,"satellites":42,"speed":13,"hex_longitude":"2d82ba80","hex_latitude":"05d6e060","is_valid_coordinates":true} 
[2026-07-08 17:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579362048001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103847941235539968,"note":"Value kept but may cause issues"} 
[2026-07-08 17:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027817271702931456,"note":"Value kept but may cause issues"} 
[2026-07-08 17:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783513146000,"timestamp_ms":1783513146000,"timestamp_seconds":1783513146,"priority":1,"record_length":96,"hex_timestamp":"0000019f41aae290"} 
[2026-07-08 17:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-08 17:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579362048001,"66":13037,"156":206,"85":15104,"24":13,"16":103847941235539968,"45":-9027817271702931456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-08 17:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579362048001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:49:37] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 17:49:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103847941235539968,"km_value":103847941235539.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027817271702931456,"description":"Unknown IO ID 45"} 
[2026-07-08 17:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579362048001,"power":13037,"unknown_156":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":-9027817271702931456}} 
[2026-07-08 17:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":126569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452837,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:49:37] local.INFO: GPS data processed {"connection_id":126569,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:49:37] local.INFO: Acknowledgment sent {"connection_id":126569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:49:55] local.INFO: TCP Data received {"connection_id":126571,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:49:55] local.INFO: Processing buffer {"connection_id":126571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:49:55] local.INFO: IMEI packet received {"connection_id":126571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":126571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:49:58] local.INFO: TCP Data received {"connection_id":126571,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:49:58] local.INFO: Processing buffer {"connection_id":126571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:49:58] local.INFO: IMEI packet received {"connection_id":126571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":126571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:50:00] local.INFO: TCP Data received {"connection_id":125792,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:50:00] local.INFO: Processing buffer {"connection_id":125792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:50:00] local.INFO: IMEI packet received {"connection_id":125792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":125792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:50:00] local.INFO: TCP Data received {"connection_id":126571,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:50:00] local.INFO: Processing buffer {"connection_id":126571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:50:00] local.INFO: IMEI packet received {"connection_id":126571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":126571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:50:00] local.INFO: TCP Data received {"connection_id":125792,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:50:00] local.INFO: Processing buffer {"connection_id":125792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:50:00] local.INFO: IMEI packet received {"connection_id":125792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":125792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:50:01] local.INFO: TCP Data received {"connection_id":126571,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41aaabe0012d864500058ece680009014d2d..."} 
[2026-07-08 17:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41aaabe0012d864500058ece680009014d2d..."} 
[2026-07-08 17:50:01] local.INFO: Processing buffer {"connection_id":126571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41aaabe0012d864500058ece680009014d2d..."} 
[2026-07-08 17:50:01] local.INFO: Packet analysis {"connection_id":126571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41aa"} 
[2026-07-08 17:50:01] local.INFO: Extracted packet for processing {"connection_id":126571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41aa"} 
[2026-07-08 17:50:01] local.INFO: GPS Element Parsed {"raw_longitude":763774208,"raw_latitude":93245032,"longitude_deg":76.3774208,"latitude_deg":9.3245032,"altitude":9,"angle":333,"satellites":45,"speed":44,"hex_longitude":"2d864500","hex_latitude":"058ece68","is_valid_coordinates":true} 
[2026-07-08 17:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579359744001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342912697173540864,"note":"Value kept but may cause issues"} 
[2026-07-08 17:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8766678863273162752,"note":"Value kept but may cause issues"} 
[2026-07-08 17:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783513132000,"timestamp_ms":1783513132000,"timestamp_seconds":1783513132,"priority":1,"record_length":96,"hex_timestamp":"0000019f41aaabe0"} 
[2026-07-08 17:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 17:50:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579359744001,"66":27821,"89":206,"85":14592,"24":44,"16":342912697173540864,"45":-8766678863273162752},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-07-08 17:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579359744001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:50:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-08 17:50:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 17:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342912697173540864,"km_value":342912697173540.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8766678863273162752,"description":"Unknown IO ID 45"} 
[2026-07-08 17:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579359744001,"power":27821,"unknown_89":206,"unknown_85":14592,"ignition":44,"odometer":null,"unknown_45":-8766678863273162752}} 
[2026-07-08 17:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":126571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:50:01] local.INFO: GPS data processed {"connection_id":126571,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:50:01] local.INFO: Acknowledgment sent {"connection_id":126571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:50:02] local.INFO: TCP Data received {"connection_id":125792,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:50:02] local.INFO: Processing buffer {"connection_id":125792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:50:02] local.INFO: IMEI packet received {"connection_id":125792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":125792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:50:04] local.INFO: TCP Data received {"connection_id":125792,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:50:04] local.INFO: Processing buffer {"connection_id":125792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:50:04] local.INFO: IMEI packet received {"connection_id":125792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":125792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:50:05] local.INFO: TCP Data received {"connection_id":125792,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41aa80e8012d1934800720b8c8002e007729..."} 
[2026-07-08 17:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41aa80e8012d1934800720b8c8002e007729..."} 
[2026-07-08 17:50:05] local.INFO: Processing buffer {"connection_id":125792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41aa80e8012d1934800720b8c8002e007729..."} 
[2026-07-08 17:50:05] local.INFO: Packet analysis {"connection_id":125792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41aa"} 
[2026-07-08 17:50:05] local.INFO: Extracted packet for processing {"connection_id":125792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41aa"} 
[2026-07-08 17:50:05] local.INFO: GPS Element Parsed {"raw_longitude":756626560,"raw_latitude":119584968,"longitude_deg":75.662656,"latitude_deg":11.9584968,"altitude":46,"angle":119,"satellites":41,"speed":24,"hex_longitude":"2d193480","hex_latitude":"0720b8c8","is_valid_coordinates":true} 
[2026-07-08 17:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579356672001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4894931277578240,"note":"Value kept but may cause issues"} 
[2026-07-08 17:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1806576799887833088,"note":"Value kept but may cause issues"} 
[2026-07-08 17:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783513121000,"timestamp_ms":1783513121000,"timestamp_seconds":1783513121,"priority":1,"record_length":96,"hex_timestamp":"0000019f41aa80e8"} 
[2026-07-08 17:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:50: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-07-08 17:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-08 17:50: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-07-08 17:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579356672001,"66":14428,"103":206,"83":41984,"24":24,"16":4894931277578240,"45":1806576799887833088},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579356672001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:50:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:50:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4894931277578240,"km_value":4894931277578.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1806576799887833088,"description":"Unknown IO ID 45"} 
[2026-07-08 17:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579356672001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1806576799887833088}} 
[2026-07-08 17:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":125792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:50:05] local.INFO: GPS data processed {"connection_id":125792,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:50:05] local.INFO: Acknowledgment sent {"connection_id":125792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:50:06] local.INFO: TCP Data received {"connection_id":126571,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41aacf08012d863600058ef068000801532f..."} 
[2026-07-08 17:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41aacf08012d863600058ef068000801532f..."} 
[2026-07-08 17:50:06] local.INFO: Processing buffer {"connection_id":126571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41aacf08012d863600058ef068000801532f..."} 
[2026-07-08 17:50:06] local.INFO: Packet analysis {"connection_id":126571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41aa"} 
[2026-07-08 17:50:06] local.INFO: Extracted packet for processing {"connection_id":126571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41aa"} 
[2026-07-08 17:50:06] local.INFO: GPS Element Parsed {"raw_longitude":763770368,"raw_latitude":93253736,"longitude_deg":76.3770368,"latitude_deg":9.3253736,"altitude":8,"angle":339,"satellites":47,"speed":42,"hex_longitude":"2d863600","hex_latitude":"058ef068","is_valid_coordinates":true} 
[2026-07-08 17:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579361792001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342913161030008832,"note":"Value kept but may cause issues"} 
[2026-07-08 17:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8771604675363444736,"note":"Value kept but may cause issues"} 
[2026-07-08 17:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783513141000,"timestamp_ms":1783513141000,"timestamp_seconds":1783513141,"priority":1,"record_length":96,"hex_timestamp":"0000019f41aacf08"} 
[2026-07-08 17:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 17:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579361792001,"66":28104,"172":206,"85":14592,"24":42,"16":342913161030008832,"45":-8771604675363444736},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,85,24,16,45]} 
[2026-07-08 17:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579361792001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:50:06] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-08 17:50:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 17:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342913161030008832,"km_value":342913161030008.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8771604675363444736,"description":"Unknown IO ID 45"} 
[2026-07-08 17:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579361792001,"power":28104,"unknown_172":206,"unknown_85":14592,"ignition":42,"odometer":null,"unknown_45":-8771604675363444736}} 
[2026-07-08 17:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":126571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:50:06] local.INFO: GPS data processed {"connection_id":126571,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:50:06] local.INFO: Acknowledgment sent {"connection_id":126571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:50:06] local.INFO: TCP Data received {"connection_id":125792,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41aaafc8012d194b800720ace0002d006a29..."} 
[2026-07-08 17:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41aaafc8012d194b800720ace0002d006a29..."} 
[2026-07-08 17:50:06] local.INFO: Processing buffer {"connection_id":125792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41aaafc8012d194b800720ace0002d006a29..."} 
[2026-07-08 17:50:06] local.INFO: Packet analysis {"connection_id":125792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41aa"} 
[2026-07-08 17:50:06] local.INFO: Extracted packet for processing {"connection_id":125792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41aa"} 
[2026-07-08 17:50:06] local.INFO: GPS Element Parsed {"raw_longitude":756632448,"raw_latitude":119581920,"longitude_deg":75.6632448,"latitude_deg":11.958192,"altitude":45,"angle":106,"satellites":41,"speed":28,"hex_longitude":"2d194b80","hex_latitude":"0720ace0","is_valid_coordinates":true} 
[2026-07-08 17:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579358976001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4895249105158144,"note":"Value kept but may cause issues"} 
[2026-07-08 17:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1816217317839259648,"note":"Value kept but may cause issues"} 
[2026-07-08 17:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783513133000,"timestamp_ms":1783513133000,"timestamp_seconds":1783513133,"priority":1,"record_length":96,"hex_timestamp":"0000019f41aaafc8"} 
[2026-07-08 17:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 17:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579358976001,"66":13993,"103":206,"83":41984,"24":28,"16":4895249105158144,"45":1816217317839259648},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579358976001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:50:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:50:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4895249105158144,"km_value":4895249105158.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1816217317839259648,"description":"Unknown IO ID 45"} 
[2026-07-08 17:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579358976001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1816217317839259648}} 
[2026-07-08 17:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":125792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:50:06] local.INFO: GPS data processed {"connection_id":125792,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:50:06] local.INFO: Acknowledgment sent {"connection_id":125792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:50:08] local.INFO: TCP Data received {"connection_id":126569,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ab1940012d82bb0005d6bb88000b00ba2b..."} 
[2026-07-08 17:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ab1940012d82bb0005d6bb88000b00ba2b..."} 
[2026-07-08 17:50:08] local.INFO: Processing buffer {"connection_id":126569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ab1940012d82bb0005d6bb88000b00ba2b..."} 
[2026-07-08 17:50:08] local.INFO: Packet analysis {"connection_id":126569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ab"} 
[2026-07-08 17:50:08] local.INFO: Extracted packet for processing {"connection_id":126569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ab"} 
[2026-07-08 17:50:08] local.INFO: GPS Element Parsed {"raw_longitude":763542272,"raw_latitude":97958792,"longitude_deg":76.3542272,"latitude_deg":9.7958792,"altitude":11,"angle":186,"satellites":43,"speed":35,"hex_longitude":"2d82bb00","hex_latitude":"05d6bb88","is_valid_coordinates":true} 
[2026-07-08 17:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579365376001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103848400797040640,"note":"Value kept but may cause issues"} 
[2026-07-08 17:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026761740542517248,"note":"Value kept but may cause issues"} 
[2026-07-08 17:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783513160000,"timestamp_ms":1783513160000,"timestamp_seconds":1783513160,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ab1940"} 
[2026-07-08 17:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:50: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-07-08 17:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-08 17:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579365376001,"66":12885,"156":206,"85":15104,"24":35,"16":103848400797040640,"45":-9026761740542517248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-08 17:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579365376001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:50:08] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 17:50:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103848400797040640,"km_value":103848400797040.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026761740542517248,"description":"Unknown IO ID 45"} 
[2026-07-08 17:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579365376001,"power":12885,"unknown_156":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9026761740542517248}} 
[2026-07-08 17:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":126569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452842,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:50:08] local.INFO: GPS data processed {"connection_id":126569,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:50:08] local.INFO: Acknowledgment sent {"connection_id":126569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:50:36] local.INFO: TCP Data received {"connection_id":125688,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125688,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:50:36] local.INFO: Processing buffer {"connection_id":125688,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:50:36] local.INFO: IMEI packet received {"connection_id":125688,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 17:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":125688,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:50:37] local.INFO: TCP Data received {"connection_id":126571,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41aaf618012d862a00058f14500008015733..."} 
[2026-07-08 17:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41aaf618012d862a00058f14500008015733..."} 
[2026-07-08 17:50:37] local.INFO: Processing buffer {"connection_id":126571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41aaf618012d862a00058f14500008015733..."} 
[2026-07-08 17:50:37] local.INFO: Packet analysis {"connection_id":126571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41aa"} 
[2026-07-08 17:50:37] local.INFO: Extracted packet for processing {"connection_id":126571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41aa"} 
[2026-07-08 17:50:37] local.INFO: GPS Element Parsed {"raw_longitude":763767296,"raw_latitude":93262928,"longitude_deg":76.3767296,"latitude_deg":9.3262928,"altitude":8,"angle":343,"satellites":51,"speed":39,"hex_longitude":"2d862a00","hex_latitude":"058f1450","is_valid_coordinates":true} 
[2026-07-08 17:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579364096001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342913629181444096,"note":"Value kept but may cause issues"} 
[2026-07-08 17:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8775826800011876352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783513151000,"timestamp_ms":1783513151000,"timestamp_seconds":1783513151,"priority":1,"record_length":96,"hex_timestamp":"0000019f41aaf618"} 
[2026-07-08 17:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-08 17:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579364096001,"66":27930,"172":206,"85":14592,"24":39,"16":342913629181444096,"45":-8775826800011876352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,85,24,16,45]} 
[2026-07-08 17:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579364096001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:50:37] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-08 17:50:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 17:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342913629181444096,"km_value":342913629181444.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8775826800011876352,"description":"Unknown IO ID 45"} 
[2026-07-08 17:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579364096001,"power":27930,"unknown_172":206,"unknown_85":14592,"ignition":39,"odometer":null,"unknown_45":-8775826800011876352}} 
[2026-07-08 17:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":126571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:50:37] local.INFO: GPS data processed {"connection_id":126571,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:50:37] local.INFO: Acknowledgment sent {"connection_id":126571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:50:37] local.INFO: TCP Data received {"connection_id":125792,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ab8e70012d19da000720b378003000472b..."} 
[2026-07-08 17:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ab8e70012d19da000720b378003000472b..."} 
[2026-07-08 17:50:37] local.INFO: Processing buffer {"connection_id":125792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ab8e70012d19da000720b378003000472b..."} 
[2026-07-08 17:50:37] local.INFO: Packet analysis {"connection_id":125792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ab"} 
[2026-07-08 17:50:37] local.INFO: Extracted packet for processing {"connection_id":125792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ab"} 
[2026-07-08 17:50:37] local.INFO: GPS Element Parsed {"raw_longitude":756668928,"raw_latitude":119583608,"longitude_deg":75.6668928,"latitude_deg":11.9583608,"altitude":48,"angle":71,"satellites":43,"speed":23,"hex_longitude":"2d19da00","hex_latitude":"0720b378","is_valid_coordinates":true} 
[2026-07-08 17:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579376384001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4897104531030016,"note":"Value kept but may cause issues"} 
[2026-07-08 17:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862238476531050496,"note":"Value kept but may cause issues"} 
[2026-07-08 17:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783513190000,"timestamp_ms":1783513190000,"timestamp_seconds":1783513190,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ab8e70"} 
[2026-07-08 17:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:50: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-07-08 17: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-08 17:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579376384001,"66":14461,"103":206,"83":41984,"24":23,"16":4897104531030016,"45":1862238476531050496},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579376384001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:50:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:50:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4897104531030016,"km_value":4897104531030.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862238476531050496,"description":"Unknown IO ID 45"} 
[2026-07-08 17:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579376384001,"power":14461,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1862238476531050496}} 
[2026-07-08 17:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":125792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:50:37] local.INFO: GPS data processed {"connection_id":125792,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:50:37] local.INFO: Acknowledgment sent {"connection_id":125792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:50:41] local.INFO: TCP Data received {"connection_id":125688,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125688,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:50:41] local.INFO: Processing buffer {"connection_id":125688,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:50:41] local.INFO: IMEI packet received {"connection_id":125688,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":125688,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:50:42] local.INFO: TCP Data received {"connection_id":125688,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41abdc90012d82cd8005d67098000700c729..."} 
[2026-07-08 17:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41abdc90012d82cd8005d67098000700c729..."} 
[2026-07-08 17:50:42] local.INFO: Processing buffer {"connection_id":125688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41abdc90012d82cd8005d67098000700c729..."} 
[2026-07-08 17:50:42] local.INFO: Packet analysis {"connection_id":125688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ab"} 
[2026-07-08 17:50:42] local.INFO: Extracted packet for processing {"connection_id":125688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ab"} 
[2026-07-08 17:50:42] local.INFO: GPS Element Parsed {"raw_longitude":763547008,"raw_latitude":97939608,"longitude_deg":76.3547008,"latitude_deg":9.7939608,"altitude":7,"angle":199,"satellites":41,"speed":9,"hex_longitude":"2d82cd80","hex_latitude":"05d67098","is_valid_coordinates":true} 
[2026-07-08 17:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579379456001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103849470243897344,"note":"Value kept but may cause issues"} 
[2026-07-08 17:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020850766038149120,"note":"Value kept but may cause issues"} 
[2026-07-08 17:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783513210000,"timestamp_ms":1783513210000,"timestamp_seconds":1783513210,"priority":1,"record_length":96,"hex_timestamp":"0000019f41abdc90"} 
[2026-07-08 17:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:50: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-07-08 17:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-08 17:50: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-07-08 17:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":125688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":125688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":125688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579379456001,"66":12885,"156":206,"85":15104,"24":9,"16":103849470243897344,"45":-9020850766038149120},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-08 17:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579379456001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:50:42] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 17:50:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103849470243897344,"km_value":103849470243897.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020850766038149120,"description":"Unknown IO ID 45"} 
[2026-07-08 17:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579379456001,"power":12885,"unknown_156":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9020850766038149120}} 
[2026-07-08 17:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":125688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452845,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:50:42] local.INFO: GPS data processed {"connection_id":125688,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:50:42] local.INFO: Acknowledgment sent {"connection_id":125688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:50:42] local.INFO: TCP Data received {"connection_id":125688,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41abe460012d82ccc005d66f28000800d428..."} 
[2026-07-08 17:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41abe460012d82ccc005d66f28000800d428..."} 
[2026-07-08 17:50:42] local.INFO: Processing buffer {"connection_id":125688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41abe460012d82ccc005d66f28000800d428..."} 
[2026-07-08 17:50:42] local.INFO: Packet analysis {"connection_id":125688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ab"} 
[2026-07-08 17:50:42] local.INFO: Extracted packet for processing {"connection_id":125688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ab"} 
[2026-07-08 17:50:42] local.INFO: GPS Element Parsed {"raw_longitude":763546816,"raw_latitude":97939240,"longitude_deg":76.3546816,"latitude_deg":9.793924,"altitude":8,"angle":212,"satellites":40,"speed":6,"hex_longitude":"2d82ccc0","hex_latitude":"05d66f28","is_valid_coordinates":true} 
[2026-07-08 17:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579381760001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103849487423766528,"note":"Value kept but may cause issues"} 
[2026-07-08 17:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9021413715992340480,"note":"Value kept but may cause issues"} 
[2026-07-08 17:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783513212000,"timestamp_ms":1783513212000,"timestamp_seconds":1783513212,"priority":1,"record_length":96,"hex_timestamp":"0000019f41abe460"} 
[2026-07-08 17:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:50: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-07-08 17:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-08 17:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":125688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":125688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":125688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579381760001,"66":13102,"156":206,"85":15104,"24":6,"16":103849487423766528,"45":-9021413715992340480},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-08 17:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579381760001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:50:42] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 17:50:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103849487423766528,"km_value":103849487423766.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9021413715992340480,"description":"Unknown IO ID 45"} 
[2026-07-08 17:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579381760001,"power":13102,"unknown_156":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":-9021413715992340480}} 
[2026-07-08 17:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":125688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452846,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:50:42] local.INFO: GPS data processed {"connection_id":125688,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:50:42] local.INFO: Acknowledgment sent {"connection_id":125688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:50:55] local.INFO: TCP Data received {"connection_id":125793,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:50:55] local.INFO: Processing buffer {"connection_id":125793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:50:55] local.INFO: IMEI packet received {"connection_id":125793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":125793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:51:00] local.INFO: TCP Data received {"connection_id":125689,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:51:00] local.INFO: Processing buffer {"connection_id":125689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:51:00] local.INFO: IMEI packet received {"connection_id":125689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":125689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:51:00] local.INFO: TCP Data received {"connection_id":125793,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:51:00] local.INFO: Processing buffer {"connection_id":125793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:51:00] local.INFO: IMEI packet received {"connection_id":125793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":125793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:51:01] local.INFO: TCP Data received {"connection_id":125793,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ab1940012d861f00058f3898000701562f..."} 
[2026-07-08 17:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ab1940012d861f00058f3898000701562f..."} 
[2026-07-08 17:51:01] local.INFO: Processing buffer {"connection_id":125793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ab1940012d861f00058f3898000701562f..."} 
[2026-07-08 17:51:01] local.INFO: Packet analysis {"connection_id":125793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ab"} 
[2026-07-08 17:51:01] local.INFO: Extracted packet for processing {"connection_id":125793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ab"} 
[2026-07-08 17:51:01] local.INFO: GPS Element Parsed {"raw_longitude":763764480,"raw_latitude":93272216,"longitude_deg":76.376448,"latitude_deg":9.3272216,"altitude":7,"angle":342,"satellites":47,"speed":43,"hex_longitude":"2d861f00","hex_latitude":"058f3898","is_valid_coordinates":true} 
[2026-07-08 17: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-07-08 17:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579366656001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342914097332879360,"note":"Value kept but may cause issues"} 
[2026-07-08 17:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8779204499730051072,"note":"Value kept but may cause issues"} 
[2026-07-08 17:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783513160000,"timestamp_ms":1783513160000,"timestamp_seconds":1783513160,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ab1940"} 
[2026-07-08 17:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:51:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-08 17:51:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17: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-07-08 17:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579366656001,"66":27919,"172":206,"85":14592,"24":43,"16":342914097332879360,"45":-8779204499730051072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,85,24,16,45]} 
[2026-07-08 17:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579366656001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:51:01] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-08 17:51:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 17:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342914097332879360,"km_value":342914097332879.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8779204499730051072,"description":"Unknown IO ID 45"} 
[2026-07-08 17:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579366656001,"power":27919,"unknown_172":206,"unknown_85":14592,"ignition":43,"odometer":null,"unknown_45":-8779204499730051072}} 
[2026-07-08 17:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":125793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:51:01] local.INFO: GPS data processed {"connection_id":125793,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:51:01] local.INFO: Acknowledgment sent {"connection_id":125793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:51:05] local.INFO: TCP Data received {"connection_id":125689,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:51:05] local.INFO: Processing buffer {"connection_id":125689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:51:05] local.INFO: IMEI packet received {"connection_id":125689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":125689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:51:06] local.INFO: TCP Data received {"connection_id":125689,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ab9258012d19dcc00720b3a0002f00592b..."} 
[2026-07-08 17:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ab9258012d19dcc00720b3a0002f00592b..."} 
[2026-07-08 17:51:06] local.INFO: Processing buffer {"connection_id":125689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ab9258012d19dcc00720b3a0002f00592b..."} 
[2026-07-08 17:51:06] local.INFO: Packet analysis {"connection_id":125689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ab"} 
[2026-07-08 17:51:06] local.INFO: Extracted packet for processing {"connection_id":125689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ab"} 
[2026-07-08 17:51:06] local.INFO: GPS Element Parsed {"raw_longitude":756669632,"raw_latitude":119583648,"longitude_deg":75.6669632,"latitude_deg":11.9583648,"altitude":47,"angle":89,"satellites":43,"speed":24,"hex_longitude":"2d19dcc0","hex_latitude":"0720b3a0","is_valid_coordinates":true} 
[2026-07-08 17:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579376640001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4897138890768384,"note":"Value kept but may cause issues"} 
[2026-07-08 17:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862801426484525056,"note":"Value kept but may cause issues"} 
[2026-07-08 17:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783513191000,"timestamp_ms":1783513191000,"timestamp_seconds":1783513191,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ab9258"} 
[2026-07-08 17:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-08 17:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579376640001,"66":13330,"103":206,"83":41984,"24":24,"16":4897138890768384,"45":1862801426484525056},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579376640001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:51:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:51:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4897138890768384,"km_value":4897138890768.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862801426484525056,"description":"Unknown IO ID 45"} 
[2026-07-08 17:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579376640001,"power":13330,"unknown_103":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1862801426484525056}} 
[2026-07-08 17:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":125689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:51:06] local.INFO: GPS data processed {"connection_id":125689,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:51:06] local.INFO: Acknowledgment sent {"connection_id":125689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:51:13] local.INFO: TCP Data received {"connection_id":125688,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41acbf20012d829dc005d61348000600c32a..."} 
[2026-07-08 17:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41acbf20012d829dc005d61348000600c32a..."} 
[2026-07-08 17:51:13] local.INFO: Processing buffer {"connection_id":125688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41acbf20012d829dc005d61348000600c32a..."} 
[2026-07-08 17:51:13] local.INFO: Packet analysis {"connection_id":125688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ac"} 
[2026-07-08 17:51:13] local.INFO: Extracted packet for processing {"connection_id":125688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ac"} 
[2026-07-08 17:51:13] local.INFO: GPS Element Parsed {"raw_longitude":763534784,"raw_latitude":97915720,"longitude_deg":76.3534784,"latitude_deg":9.791572,"altitude":6,"angle":195,"satellites":42,"speed":12,"hex_longitude":"2d829dc0","hex_latitude":"05d61348","is_valid_coordinates":true} 
[2026-07-08 17:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579396352001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103850831748530176,"note":"Value kept but may cause issues"} 
[2026-07-08 17:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034783777392142336,"note":"Value kept but may cause issues"} 
[2026-07-08 17:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783513268000,"timestamp_ms":1783513268000,"timestamp_seconds":1783513268,"priority":1,"record_length":96,"hex_timestamp":"0000019f41acbf20"} 
[2026-07-08 17:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-08 17:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579396352001,"66":13037,"156":206,"85":15104,"24":12,"16":103850831748530176,"45":-9034783777392142336},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-08 17:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579396352001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:51:13] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 17:51:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103850831748530176,"km_value":103850831748530.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034783777392142336,"description":"Unknown IO ID 45"} 
[2026-07-08 17:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579396352001,"power":13037,"unknown_156":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9034783777392142336}} 
[2026-07-08 17:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":125688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452849,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:51:13] local.INFO: GPS data processed {"connection_id":125688,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:51:13] local.INFO: Acknowledgment sent {"connection_id":125688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:51:28] local.INFO: TCP Data received {"connection_id":127794,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:51:28] local.INFO: Processing buffer {"connection_id":127794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:51:28] local.INFO: IMEI packet received {"connection_id":127794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 17:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":127794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:51:31] local.INFO: TCP Data received {"connection_id":127794,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:51:31] local.INFO: Processing buffer {"connection_id":127794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:51:31] local.INFO: IMEI packet received {"connection_id":127794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":127794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:51:36] local.INFO: TCP Data received {"connection_id":127794,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:51:36] local.INFO: Processing buffer {"connection_id":127794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:51:36] local.INFO: IMEI packet received {"connection_id":127794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":127794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:51:36] local.INFO: TCP Data received {"connection_id":125793,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ab3c68012d861400058f59b00007015330..."} 
[2026-07-08 17:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ab3c68012d861400058f59b00007015330..."} 
[2026-07-08 17:51:36] local.INFO: Processing buffer {"connection_id":125793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ab3c68012d861400058f59b00007015330..."} 
[2026-07-08 17:51:36] local.INFO: Packet analysis {"connection_id":125793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ab"} 
[2026-07-08 17:51:36] local.INFO: Extracted packet for processing {"connection_id":125793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ab"} 
[2026-07-08 17:51:36] local.INFO: GPS Element Parsed {"raw_longitude":763761664,"raw_latitude":93280688,"longitude_deg":76.3761664,"latitude_deg":9.3280688,"altitude":7,"angle":339,"satellites":48,"speed":40,"hex_longitude":"2d861400","hex_latitude":"058f59b0","is_valid_coordinates":true} 
[2026-07-08 17:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579368960001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342914531124576256,"note":"Value kept but may cause issues"} 
[2026-07-08 17:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8782300724471490560,"note":"Value kept but may cause issues"} 
[2026-07-08 17:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783513169000,"timestamp_ms":1783513169000,"timestamp_seconds":1783513169,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ab3c68"} 
[2026-07-08 17:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 17:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17: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-07-08 17:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579368960001,"66":27767,"172":206,"85":14592,"24":40,"16":342914531124576256,"45":-8782300724471490560},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,85,24,16,45]} 
[2026-07-08 17:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579368960001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:51:36] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-08 17:51:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 17:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342914531124576256,"km_value":342914531124576.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8782300724471490560,"description":"Unknown IO ID 45"} 
[2026-07-08 17:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579368960001,"power":27767,"unknown_172":206,"unknown_85":14592,"ignition":40,"odometer":null,"unknown_45":-8782300724471490560}} 
[2026-07-08 17:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":125793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:51:36] local.INFO: GPS data processed {"connection_id":125793,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:51:36] local.INFO: Acknowledgment sent {"connection_id":125793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:51:37] local.INFO: TCP Data received {"connection_id":127794,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41acc308012d829dc005d611f8000600b22a..."} 
[2026-07-08 17:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41acc308012d829dc005d611f8000600b22a..."} 
[2026-07-08 17:51:37] local.INFO: Processing buffer {"connection_id":127794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41acc308012d829dc005d611f8000600b22a..."} 
[2026-07-08 17:51:37] local.INFO: Packet analysis {"connection_id":127794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ac"} 
[2026-07-08 17:51:37] local.INFO: Extracted packet for processing {"connection_id":127794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ac"} 
[2026-07-08 17:51:37] local.INFO: GPS Element Parsed {"raw_longitude":763534784,"raw_latitude":97915384,"longitude_deg":76.3534784,"latitude_deg":9.7915384,"altitude":6,"angle":178,"satellites":42,"speed":13,"hex_longitude":"2d829dc0","hex_latitude":"05d611f8","is_valid_coordinates":true} 
[2026-07-08 17:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579396608001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103850848928399360,"note":"Value kept but may cause issues"} 
[2026-07-08 17:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034854146136389632,"note":"Value kept but may cause issues"} 
[2026-07-08 17:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783513269000,"timestamp_ms":1783513269000,"timestamp_seconds":1783513269,"priority":1,"record_length":96,"hex_timestamp":"0000019f41acc308"} 
[2026-07-08 17:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-08 17:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579396608001,"66":12982,"156":206,"85":15104,"24":13,"16":103850848928399360,"45":-9034854146136389632},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-08 17:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579396608001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:51:37] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 17:51:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103850848928399360,"km_value":103850848928399.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034854146136389632,"description":"Unknown IO ID 45"} 
[2026-07-08 17:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579396608001,"power":12982,"unknown_156":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":-9034854146136389632}} 
[2026-07-08 17:51:37] local.INFO: TCP Data received {"connection_id":125689,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41aba5e0012d19ea000720b3b0003000492b..."} 
[2026-07-08 17:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41aba5e0012d19ea000720b3b0003000492b..."} 
[2026-07-08 17:51:37] local.INFO: Processing buffer {"connection_id":125689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41aba5e0012d19ea000720b3b0003000492b..."} 
[2026-07-08 17:51:37] local.INFO: Packet analysis {"connection_id":125689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ab"} 
[2026-07-08 17:51:37] local.INFO: Extracted packet for processing {"connection_id":125689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ab"} 
[2026-07-08 17:51:37] local.INFO: GPS Element Parsed {"raw_longitude":756673024,"raw_latitude":119583664,"longitude_deg":75.6673024,"latitude_deg":11.9583664,"altitude":48,"angle":73,"satellites":43,"speed":28,"hex_longitude":"2d19ea00","hex_latitude":"0720b3b0","is_valid_coordinates":true} 
[2026-07-08 17:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579376896001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4897302099525632,"note":"Value kept but may cause issues"} 
[2026-07-08 17:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863575482670489600,"note":"Value kept but may cause issues"} 
[2026-07-08 17:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783513196000,"timestamp_ms":1783513196000,"timestamp_seconds":1783513196,"priority":1,"record_length":96,"hex_timestamp":"0000019f41aba5e0"} 
[2026-07-08 17:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:51: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-07-08 17:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-08 17:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-08 17:51:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-08 17:51:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 17:51:37] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2986344448,"note":"Value kept but may cause issues"} 
[2026-07-08 17:51:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249834764674312488,"note":"Value kept but may cause issues"} 
[2026-07-08 17:51:37] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2875934721,"note":"Value kept but may cause issues"} 
[2026-07-08 17:51:37] local.WARNING: Large IO value detected {"io_id":32,"raw_value":-6361334258905175808,"note":"Value kept but may cause issues"} 
[2026-07-08 17:51:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-08 17:51:37] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":2147950757,"corrected_to":0} 
[2026-07-08 17:51:37] local.WARNING: Large IO value detected {"io_id":201,"raw_value":57834754016170916,"note":"Value kept but may cause issues"} 
[2026-07-08 17:51:37] local.WARNING: Large IO value detected {"io_id":171,"raw_value":5197155263202574343,"note":"Value kept but may cause issues"} 
[2026-07-08 17:51:37] local.WARNING: Large IO value detected {"io_id":6,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-08 17:51:37] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-07-08 17:51:37] local.WARNING: Large IO value detected {"io_id":73,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-08 17:51:37] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,103,83,24,241,157,16,101,159,142,45,179,48,43,10,66,138,178,44,111,64,1,240,147,227,65,32,4,113,205,17,202,176,239,53,2,7,50,21,201,171,6,120,73],"length":626,"final_offset":756,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0},{"io_id":202,"original":2147950757,"validated":0}]} 
[2026-07-08 17:51:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3386804961002651648,"timestamp_seconds":3386804961002651.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 17:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579376896001,"66":14265,"103":206,"83":41984,"24":28,"16":4897302099525632,"45":1863575482670489600},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579376896001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:51:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:51:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4897302099525632,"km_value":4897302099525.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863575482670489600,"description":"Unknown IO ID 45"} 
[2026-07-08 17:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579376896001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1863575482670489600}} 
[2026-07-08 17:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":127794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452851,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:51:37] local.INFO: GPS data processed {"connection_id":127794,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:51:37] local.INFO: Acknowledgment sent {"connection_id":127794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":125689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:51:37] local.INFO: GPS data processed {"connection_id":125689,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:51:37] local.INFO: Acknowledgment sent {"connection_id":125689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:51:57] local.INFO: TCP Data received {"connection_id":125794,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:51:57] local.INFO: Processing buffer {"connection_id":125794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:51:57] local.INFO: IMEI packet received {"connection_id":125794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":125794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:51:59] local.INFO: TCP Data received {"connection_id":125691,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:51:59] local.INFO: Processing buffer {"connection_id":125691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:51:59] local.INFO: IMEI packet received {"connection_id":125691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":125691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:52:00] local.INFO: TCP Data received {"connection_id":125794,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:52:00] local.INFO: Processing buffer {"connection_id":125794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:52:00] local.INFO: IMEI packet received {"connection_id":125794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":125794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:52:02] local.INFO: TCP Data received {"connection_id":125691,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:52:02] local.INFO: Processing buffer {"connection_id":125691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:52:02] local.INFO: IMEI packet received {"connection_id":125691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":125691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:52:03] local.INFO: TCP Data received {"connection_id":125794,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:52:03] local.INFO: Processing buffer {"connection_id":125794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:52:03] local.INFO: IMEI packet received {"connection_id":125794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":125794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:52:04] local.INFO: TCP Data received {"connection_id":125691,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:52:04] local.INFO: Processing buffer {"connection_id":125691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:52:04] local.INFO: IMEI packet received {"connection_id":125691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":125691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:52:04] local.INFO: TCP Data received {"connection_id":125794,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ac74e8012d8583400590a080000701522f..."} 
[2026-07-08 17:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ac74e8012d8583400590a080000701522f..."} 
[2026-07-08 17:52:04] local.INFO: Processing buffer {"connection_id":125794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ac74e8012d8583400590a080000701522f..."} 
[2026-07-08 17:52:04] local.INFO: Packet analysis {"connection_id":125794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ac"} 
[2026-07-08 17:52:04] local.INFO: Extracted packet for processing {"connection_id":125794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ac"} 
[2026-07-08 17:52:04] local.INFO: GPS Element Parsed {"raw_longitude":763724608,"raw_latitude":93364352,"longitude_deg":76.3724608,"latitude_deg":9.3364352,"altitude":7,"angle":338,"satellites":47,"speed":59,"hex_longitude":"2d858340","hex_latitude":"0590a080","is_valid_coordinates":true} 
[2026-07-08 17: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-07-08 17:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579390208001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342918967825793024,"note":"Value kept but may cause issues"} 
[2026-07-08 17:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8822903489840599040,"note":"Value kept but may cause issues"} 
[2026-07-08 17:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783513249000,"timestamp_ms":1783513249000,"timestamp_seconds":1783513249,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ac74e8"} 
[2026-07-08 17:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-08 17:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17: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-07-08 17:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579390208001,"66":27919,"173":206,"85":14592,"24":59,"16":342918967825793024,"45":-8822903489840599040},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-07-08 17:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579390208001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:52:04] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-08 17:52:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 17:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342918967825793024,"km_value":342918967825793.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8822903489840599040,"description":"Unknown IO ID 45"} 
[2026-07-08 17:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579390208001,"power":27919,"unknown_173":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-8822903489840599040}} 
[2026-07-08 17:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":125794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:52:04] local.INFO: GPS data processed {"connection_id":125794,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:52:04] local.INFO: Acknowledgment sent {"connection_id":125794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:52:04] local.INFO: TCP Data received {"connection_id":125691,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:52:04] local.INFO: Processing buffer {"connection_id":125691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:52:04] local.INFO: IMEI packet received {"connection_id":125691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":125691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:52:05] local.INFO: TCP Data received {"connection_id":125691,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ac9fe0012d1a44800720f288003200682a..."} 
[2026-07-08 17:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ac9fe0012d1a44800720f288003200682a..."} 
[2026-07-08 17:52:05] local.INFO: Processing buffer {"connection_id":125691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ac9fe0012d1a44800720f288003200682a..."} 
[2026-07-08 17:52:05] local.INFO: Packet analysis {"connection_id":125691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ac"} 
[2026-07-08 17:52:05] local.INFO: Extracted packet for processing {"connection_id":125691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ac"} 
[2026-07-08 17:52:05] local.INFO: GPS Element Parsed {"raw_longitude":756696192,"raw_latitude":119599752,"longitude_deg":75.6696192,"latitude_deg":11.9599752,"altitude":50,"angle":104,"satellites":42,"speed":11,"hex_longitude":"2d1a4480","hex_latitude":"0720f288","is_valid_coordinates":true} 
[2026-07-08 17:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579394304001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4898805338079232,"note":"Value kept but may cause issues"} 
[2026-07-08 17:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1892426667787489280,"note":"Value kept but may cause issues"} 
[2026-07-08 17:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783513260000,"timestamp_ms":1783513260000,"timestamp_seconds":1783513260,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ac9fe0"} 
[2026-07-08 17:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:52: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-07-08 17: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-08 17:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-07-08 17:52:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-08 17:52:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 17:52:05] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":34816,"corrected_to":0} 
[2026-07-08 17:52:05] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":61440,"corrected_to":0} 
[2026-07-08 17:52:05] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2891038721,"note":"Value kept but may cause issues"} 
[2026-07-08 17:52:05] local.WARNING: Large IO value detected {"io_id":32,"raw_value":4137156660,"note":"Value kept but may cause issues"} 
[2026-07-08 17:52:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-08 17:52:05] local.WARNING: Large IO value detected {"io_id":38,"raw_value":3355520282,"note":"Value kept but may cause issues"} 
[2026-07-08 17:52:05] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3221692635,"note":"Value kept but may cause issues"} 
[2026-07-08 17:52:05] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2566966648,"note":"Value kept but may cause issues"} 
[2026-07-08 17:52:05] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,103,83,24,241,157,16,159,136,45,192,246,52,42,10,66,89,64,247,51,41,85,1,240,104,227,65,32,4,113,205,17,38,46,176,43,239,55,2,7,53,22],"length":479,"final_offset":609,"validated_count":42,"validation_warnings":[{"io_id":246,"original":34816,"validated":0},{"io_id":247,"original":61440,"validated":0},{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-08 17:52:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3603012923192770560,"timestamp_seconds":3603012923192770.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 17:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579394304001,"66":14080,"103":206,"83":41984,"24":11,"16":4898805338079232,"45":1892426667787489280},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579394304001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:52:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:52:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4898805338079232,"km_value":4898805338079.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1892426667787489280,"description":"Unknown IO ID 45"} 
[2026-07-08 17:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579394304001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1892426667787489280}} 
[2026-07-08 17:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":125691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:52:05] local.INFO: GPS data processed {"connection_id":125691,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:52:05] local.INFO: Acknowledgment sent {"connection_id":125691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:52:06] local.INFO: TCP Data received {"connection_id":125691,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41acab98012d1a48000720f150003200742b..."} 
[2026-07-08 17:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41acab98012d1a48000720f150003200742b..."} 
[2026-07-08 17:52:06] local.INFO: Processing buffer {"connection_id":125691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41acab98012d1a48000720f150003200742b..."} 
[2026-07-08 17:52:06] local.INFO: Packet analysis {"connection_id":125691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ac"} 
[2026-07-08 17:52:06] local.INFO: Extracted packet for processing {"connection_id":125691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ac"} 
[2026-07-08 17:52:06] local.INFO: GPS Element Parsed {"raw_longitude":756697088,"raw_latitude":119599440,"longitude_deg":75.6697088,"latitude_deg":11.959944,"altitude":50,"angle":116,"satellites":43,"speed":12,"hex_longitude":"2d1a4800","hex_latitude":"0720f150","is_valid_coordinates":true} 
[2026-07-08 17:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579394560001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4898852582719488,"note":"Value kept but may cause issues"} 
[2026-07-08 17:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1892778511508342784,"note":"Value kept but may cause issues"} 
[2026-07-08 17:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783513263000,"timestamp_ms":1783513263000,"timestamp_seconds":1783513263,"priority":1,"record_length":96,"hex_timestamp":"0000019f41acab98"} 
[2026-07-08 17:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-08 17:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-07-08 17:52:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-08 17:52:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 17:52:06] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":34816,"corrected_to":0} 
[2026-07-08 17:52:06] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2891294721,"note":"Value kept but may cause issues"} 
[2026-07-08 17:52:06] local.WARNING: Large IO value detected {"io_id":32,"raw_value":4152885300,"note":"Value kept but may cause issues"} 
[2026-07-08 17:52:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-08 17:52:06] local.WARNING: Large IO value detected {"io_id":81,"raw_value":3221302554,"note":"Value kept but may cause issues"} 
[2026-07-08 17:52:06] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2466303352,"note":"Value kept but may cause issues"} 
[2026-07-08 17:52:06] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,103,83,24,241,157,16,159,155,45,64,243,50,42,10,66,136,192,246,52,89,1,240,104,227,65,32,4,113,205,13,81,59,152,39,239,56,2,17,7,53,26],"length":479,"final_offset":609,"validated_count":42,"validation_warnings":[{"io_id":246,"original":34816,"validated":0},{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-08 17:52:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3602994231495032832,"timestamp_seconds":3602994231495033.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 17:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579394560001,"66":13993,"103":206,"83":41984,"24":12,"16":4898852582719488,"45":1892778511508342784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579394560001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:52:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:52:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4898852582719488,"km_value":4898852582719.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1892778511508342784,"description":"Unknown IO ID 45"} 
[2026-07-08 17:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579394560001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1892778511508342784}} 
[2026-07-08 17:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":125691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:52:06] local.INFO: GPS data processed {"connection_id":125691,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:52:06] local.INFO: Acknowledgment sent {"connection_id":125691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:52:35] local.INFO: TCP Data received {"connection_id":125794,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ac8c58012d8577400590c1800007015231..."} 
[2026-07-08 17:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ac8c58012d8577400590c1800007015231..."} 
[2026-07-08 17:52:35] local.INFO: Processing buffer {"connection_id":125794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ac8c58012d8577400590c1800007015231..."} 
[2026-07-08 17:52:35] local.INFO: Packet analysis {"connection_id":125794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ac"} 
[2026-07-08 17:52:35] local.INFO: Extracted packet for processing {"connection_id":125794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ac"} 
[2026-07-08 17:52:35] local.INFO: GPS Element Parsed {"raw_longitude":763721536,"raw_latitude":93372800,"longitude_deg":76.3721536,"latitude_deg":9.33728,"altitude":7,"angle":338,"satellites":49,"speed":59,"hex_longitude":"2d857740","hex_latitude":"0590c180","is_valid_coordinates":true} 
[2026-07-08 17:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579391744001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342919401617489920,"note":"Value kept but may cause issues"} 
[2026-07-08 17:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8826140452070588416,"note":"Value kept but may cause issues"} 
[2026-07-08 17:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783513255000,"timestamp_ms":1783513255000,"timestamp_seconds":1783513255,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ac8c58"} 
[2026-07-08 17:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 17:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579391744001,"66":27821,"173":206,"85":14592,"24":59,"16":342919401617489920,"45":-8826140452070588416},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-07-08 17:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579391744001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:52:35] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-08 17:52:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 17:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342919401617489920,"km_value":342919401617489.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8826140452070588416,"description":"Unknown IO ID 45"} 
[2026-07-08 17:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579391744001,"power":27821,"unknown_173":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-8826140452070588416}} 
[2026-07-08 17:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":125794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:52:35] local.INFO: GPS data processed {"connection_id":125794,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:52:35] local.INFO: Acknowledgment sent {"connection_id":125794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:52:36] local.INFO: TCP Data received {"connection_id":125690,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125690,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:52:36] local.INFO: Processing buffer {"connection_id":125690,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:52:36] local.INFO: IMEI packet received {"connection_id":125690,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 17:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":125690,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:52:37] local.INFO: TCP Data received {"connection_id":125691,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41acb368012d1a4a000720efd8003300802b..."} 
[2026-07-08 17:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41acb368012d1a4a000720efd8003300802b..."} 
[2026-07-08 17:52:37] local.INFO: Processing buffer {"connection_id":125691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41acb368012d1a4a000720efd8003300802b..."} 
[2026-07-08 17:52:37] local.INFO: Packet analysis {"connection_id":125691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ac"} 
[2026-07-08 17:52:37] local.INFO: Extracted packet for processing {"connection_id":125691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ac"} 
[2026-07-08 17:52:37] local.INFO: GPS Element Parsed {"raw_longitude":756697600,"raw_latitude":119599064,"longitude_deg":75.66976,"latitude_deg":11.9599064,"altitude":51,"angle":128,"satellites":43,"speed":13,"hex_longitude":"2d1a4a00","hex_latitude":"0720efd8","is_valid_coordinates":true} 
[2026-07-08 17:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579395328001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4898882647490560,"note":"Value kept but may cause issues"} 
[2026-07-08 17:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1893763673926750208,"note":"Value kept but may cause issues"} 
[2026-07-08 17:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783513265000,"timestamp_ms":1783513265000,"timestamp_seconds":1783513265,"priority":1,"record_length":96,"hex_timestamp":"0000019f41acb368"} 
[2026-07-08 17:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:52: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-07-08 17: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 17:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579395328001,"66":13972,"103":206,"83":41984,"24":13,"16":4898882647490560,"45":1893763673926750208},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579395328001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:52:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:52:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4898882647490560,"km_value":4898882647490.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1893763673926750208,"description":"Unknown IO ID 45"} 
[2026-07-08 17:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579395328001,"power":13972,"unknown_103":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1893763673926750208}} 
[2026-07-08 17:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":125691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:52:37] local.INFO: GPS data processed {"connection_id":125691,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:52:37] local.INFO: Acknowledgment sent {"connection_id":125691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:52:39] local.INFO: TCP Data received {"connection_id":127794,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ad8658012d82440005d5d228000100e226..."} 
[2026-07-08 17:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ad8658012d82440005d5d228000100e226..."} 
[2026-07-08 17:52:39] local.INFO: Processing buffer {"connection_id":127794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ad8658012d82440005d5d228000100e226..."} 
[2026-07-08 17:52:39] local.INFO: Packet analysis {"connection_id":127794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ad"} 
[2026-07-08 17:52:39] local.INFO: Extracted packet for processing {"connection_id":127794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ad"} 
[2026-07-08 17:52:39] local.INFO: GPS Element Parsed {"raw_longitude":763511808,"raw_latitude":97899048,"longitude_deg":76.3511808,"latitude_deg":9.7899048,"altitude":1,"angle":226,"satellites":38,"speed":35,"hex_longitude":"2d824400","hex_latitude":"05d5d228","is_valid_coordinates":true} 
[2026-07-08 17:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579407360001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103852442361266176,"note":"Value kept but may cause issues"} 
[2026-07-08 17:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9052164857207132160,"note":"Value kept but may cause issues"} 
[2026-07-08 17:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783513319000,"timestamp_ms":1783513319000,"timestamp_seconds":1783513319,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ad8658"} 
[2026-07-08 17:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:52: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-07-08 17:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-08 17:52:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:52:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":127794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":127794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":127794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579407360001,"66":13015,"156":206,"85":15104,"24":35,"16":103852442361266176,"45":-9052164857207132160},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-08 17:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579407360001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:52:39] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 17:52:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103852442361266176,"km_value":103852442361266.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9052164857207132160,"description":"Unknown IO ID 45"} 
[2026-07-08 17:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579407360001,"power":13015,"unknown_156":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9052164857207132160}} 
[2026-07-08 17:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":127794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452858,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:52:39] local.INFO: GPS data processed {"connection_id":127794,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:52:39] local.INFO: Acknowledgment sent {"connection_id":127794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:52:46] local.INFO: TCP Data received {"connection_id":125692,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125692,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:52:46] local.INFO: Processing buffer {"connection_id":125692,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:52:46] local.INFO: IMEI packet received {"connection_id":125692,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 17:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":125692,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:52:51] local.INFO: TCP Data received {"connection_id":125692,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125692,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:52:51] local.INFO: Processing buffer {"connection_id":125692,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:52:51] local.INFO: IMEI packet received {"connection_id":125692,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":125692,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:52:52] local.INFO: TCP Data received {"connection_id":125692,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ae16e0012d81fe8005d5cfe80001012d2b..."} 
[2026-07-08 17:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ae16e0012d81fe8005d5cfe80001012d2b..."} 
[2026-07-08 17:52:52] local.INFO: Processing buffer {"connection_id":125692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ae16e0012d81fe8005d5cfe80001012d2b..."} 
[2026-07-08 17:52:52] local.INFO: Packet analysis {"connection_id":125692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ae"} 
[2026-07-08 17:52:52] local.INFO: Extracted packet for processing {"connection_id":125692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ae"} 
[2026-07-08 17:52:52] local.INFO: GPS Element Parsed {"raw_longitude":763494016,"raw_latitude":97898472,"longitude_deg":76.3494016,"latitude_deg":9.7898472,"altitude":1,"angle":301,"satellites":43,"speed":18,"hex_longitude":"2d81fe80","hex_latitude":"05d5cfe8","is_valid_coordinates":true} 
[2026-07-08 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-07-08 17:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579418880001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103853533282959360,"note":"Value kept but may cause issues"} 
[2026-07-08 17:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9079327192461166592,"note":"Value kept but may cause issues"} 
[2026-07-08 17:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783513356000,"timestamp_ms":1783513356000,"timestamp_seconds":1783513356,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ae16e0"} 
[2026-07-08 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-07-08 17:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-07-08 17:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 17:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":125692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":125692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":125692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579418880001,"66":13200,"156":206,"85":15104,"24":18,"16":103853533282959360,"45":-9079327192461166592},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-08 17:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579418880001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:52:52] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 17:52:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103853533282959360,"km_value":103853533282959.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9079327192461166592,"description":"Unknown IO ID 45"} 
[2026-07-08 17:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579418880001,"power":13200,"unknown_156":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":-9079327192461166592}} 
[2026-07-08 17:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":125692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452859,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:52:52] local.INFO: GPS data processed {"connection_id":125692,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:52:52] local.INFO: Acknowledgment sent {"connection_id":125692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:52:52] local.INFO: TCP Data received {"connection_id":125692,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ae1ac8012d81fc8005d5d0880001011a2b..."} 
[2026-07-08 17:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ae1ac8012d81fc8005d5d0880001011a2b..."} 
[2026-07-08 17:52:52] local.INFO: Processing buffer {"connection_id":125692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ae1ac8012d81fc8005d5d0880001011a2b..."} 
[2026-07-08 17:52:52] local.INFO: Packet analysis {"connection_id":125692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ae"} 
[2026-07-08 17:52:52] local.INFO: Extracted packet for processing {"connection_id":125692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ae"} 
[2026-07-08 17:52:52] local.INFO: GPS Element Parsed {"raw_longitude":763493504,"raw_latitude":97898632,"longitude_deg":76.3493504,"latitude_deg":9.7898632,"altitude":1,"angle":282,"satellites":43,"speed":20,"hex_longitude":"2d81fc80","hex_latitude":"05d5d088","is_valid_coordinates":true} 
[2026-07-08 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-07-08 17:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579419136001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103853559052763136,"note":"Value kept but may cause issues"} 
[2026-07-08 17:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9079679036181977088,"note":"Value kept but may cause issues"} 
[2026-07-08 17:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783513357000,"timestamp_ms":1783513357000,"timestamp_seconds":1783513357,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ae1ac8"} 
[2026-07-08 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-07-08 17:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-07-08 17:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 17:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":125692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":125692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":125692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579419136001,"66":12906,"156":206,"85":15104,"24":20,"16":103853559052763136,"45":-9079679036181977088},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-08 17:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579419136001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:52:52] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 17:52:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103853559052763136,"km_value":103853559052763.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9079679036181977088,"description":"Unknown IO ID 45"} 
[2026-07-08 17:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579419136001,"power":12906,"unknown_156":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9079679036181977088}} 
[2026-07-08 17:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":125692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452860,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:52:52] local.INFO: GPS data processed {"connection_id":125692,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:52:52] local.INFO: Acknowledgment sent {"connection_id":125692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:52:55] local.INFO: TCP Data received {"connection_id":125796,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:52:55] local.INFO: Processing buffer {"connection_id":125796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:52:55] local.INFO: IMEI packet received {"connection_id":125796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":125796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:52:55] local.INFO: TCP Data received {"connection_id":125795,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125795,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:52:55] local.INFO: Processing buffer {"connection_id":125795,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:52:55] local.INFO: IMEI packet received {"connection_id":125795,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 17:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":125795,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:52:57] local.INFO: TCP Data received {"connection_id":125796,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:52:57] local.INFO: Processing buffer {"connection_id":125796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:52:57] local.INFO: IMEI packet received {"connection_id":125796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":125796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:52:59] local.INFO: TCP Data received {"connection_id":125693,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:52:59] local.INFO: Processing buffer {"connection_id":125693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:52:59] local.INFO: IMEI packet received {"connection_id":125693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":125693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:53:00] local.INFO: TCP Data received {"connection_id":125693,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:53:00] local.INFO: Processing buffer {"connection_id":125693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:53:00] local.INFO: IMEI packet received {"connection_id":125693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":125693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:53:00] local.INFO: TCP Data received {"connection_id":125796,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:53:00] local.INFO: Processing buffer {"connection_id":125796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:53:00] local.INFO: IMEI packet received {"connection_id":125796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":125796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:53:00] local.INFO: TCP Data received {"connection_id":125693,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:53:00] local.INFO: Processing buffer {"connection_id":125693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:53:00] local.INFO: IMEI packet received {"connection_id":125693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":125693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:53:01] local.INFO: TCP Data received {"connection_id":125796,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ad8e28012d84e140059224b80007015230..."} 
[2026-07-08 17:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ad8e28012d84e140059224b80007015230..."} 
[2026-07-08 17:53:01] local.INFO: Processing buffer {"connection_id":125796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ad8e28012d84e140059224b80007015230..."} 
[2026-07-08 17:53:01] local.INFO: Packet analysis {"connection_id":125796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ad"} 
[2026-07-08 17:53:01] local.INFO: Extracted packet for processing {"connection_id":125796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ad"} 
[2026-07-08 17:53:01] local.INFO: GPS Element Parsed {"raw_longitude":763683136,"raw_latitude":93463736,"longitude_deg":76.3683136,"latitude_deg":9.3463736,"altitude":7,"angle":338,"satellites":48,"speed":59,"hex_longitude":"2d84e140","hex_latitude":"059224b8","is_valid_coordinates":true} 
[2026-07-08 17:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579408640001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342924177621123072,"note":"Value kept but may cause issues"} 
[2026-07-08 17:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8868080223577171968,"note":"Value kept but may cause issues"} 
[2026-07-08 17:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783513321000,"timestamp_ms":1783513321000,"timestamp_seconds":1783513321,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ad8e28"} 
[2026-07-08 17:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 17:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579408640001,"66":27908,"148":206,"85":14592,"24":59,"16":342924177621123072,"45":-8868080223577171968},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,85,24,16,45]} 
[2026-07-08 17:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579408640001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:53:01] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-07-08 17:53:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 17:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342924177621123072,"km_value":342924177621123.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8868080223577171968,"description":"Unknown IO ID 45"} 
[2026-07-08 17:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579408640001,"power":27908,"unknown_148":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-8868080223577171968}} 
[2026-07-08 17:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":125796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:53:01] local.INFO: GPS data processed {"connection_id":125796,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:53:01] local.INFO: Acknowledgment sent {"connection_id":125796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:53:04] local.INFO: TCP Data received {"connection_id":125796,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ada598012d84d480059245580007015330..."} 
[2026-07-08 17:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ada598012d84d480059245580007015330..."} 
[2026-07-08 17:53:04] local.INFO: Processing buffer {"connection_id":125796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ada598012d84d480059245580007015330..."} 
[2026-07-08 17:53:04] local.INFO: Packet analysis {"connection_id":125796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ad"} 
[2026-07-08 17:53:04] local.INFO: Extracted packet for processing {"connection_id":125796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ad"} 
[2026-07-08 17:53:04] local.INFO: GPS Element Parsed {"raw_longitude":763679872,"raw_latitude":93472088,"longitude_deg":76.3679872,"latitude_deg":9.3472088,"altitude":7,"angle":339,"satellites":48,"speed":59,"hex_longitude":"2d84d480","hex_latitude":"05924558","is_valid_coordinates":true} 
[2026-07-08 17:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579410176001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342924611412819968,"note":"Value kept but may cause issues"} 
[2026-07-08 17:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8871739398272272384,"note":"Value kept but may cause issues"} 
[2026-07-08 17:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783513327000,"timestamp_ms":1783513327000,"timestamp_seconds":1783513327,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ada598"} 
[2026-07-08 17:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 17:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579410176001,"66":27865,"148":206,"85":14592,"24":59,"16":342924611412819968,"45":-8871739398272272384},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,85,24,16,45]} 
[2026-07-08 17:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579410176001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:53:04] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-07-08 17:53:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 17:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342924611412819968,"km_value":342924611412819.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8871739398272272384,"description":"Unknown IO ID 45"} 
[2026-07-08 17:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579410176001,"power":27865,"unknown_148":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-8871739398272272384}} 
[2026-07-08 17:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":125796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:53:04] local.INFO: GPS data processed {"connection_id":125796,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:53:04] local.INFO: Acknowledgment sent {"connection_id":125796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:53:05] local.INFO: TCP Data received {"connection_id":125693,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:53:05] local.INFO: Processing buffer {"connection_id":125693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:53:05] local.INFO: IMEI packet received {"connection_id":125693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":125693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:53:07] local.INFO: TCP Data received {"connection_id":125693,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ada980012d1a57c00720e970003800e628..."} 
[2026-07-08 17:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ada980012d1a57c00720e970003800e628..."} 
[2026-07-08 17:53:07] local.INFO: Processing buffer {"connection_id":125693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ada980012d1a57c00720e970003800e628..."} 
[2026-07-08 17:53:07] local.INFO: Packet analysis {"connection_id":125693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ad"} 
[2026-07-08 17:53:07] local.INFO: Extracted packet for processing {"connection_id":125693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ad"} 
[2026-07-08 17:53:07] local.INFO: GPS Element Parsed {"raw_longitude":756701120,"raw_latitude":119597424,"longitude_deg":75.670112,"latitude_deg":11.9597424,"altitude":56,"angle":230,"satellites":40,"speed":11,"hex_longitude":"2d1a57c0","hex_latitude":"0720e970","is_valid_coordinates":true} 
[2026-07-08 17:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579410176001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4899290669383680,"note":"Value kept but may cause issues"} 
[2026-07-08 17:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1899322804716601344,"note":"Value kept but may cause issues"} 
[2026-07-08 17:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783513328000,"timestamp_ms":1783513328000,"timestamp_seconds":1783513328,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ada980"} 
[2026-07-08 17:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:53: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-07-08 17: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-08 17:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579410176001,"66":14428,"103":206,"83":41984,"24":11,"16":4899290669383680,"45":1899322804716601344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579410176001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:53:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:53:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4899290669383680,"km_value":4899290669383.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1899322804716601344,"description":"Unknown IO ID 45"} 
[2026-07-08 17:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579410176001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1899322804716601344}} 
[2026-07-08 17:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":125693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:53:07] local.INFO: GPS data processed {"connection_id":125693,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:53:07] local.INFO: Acknowledgment sent {"connection_id":125693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:53:29] local.INFO: TCP Data received {"connection_id":126572,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126572,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:53:29] local.INFO: Processing buffer {"connection_id":126572,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:53:29] local.INFO: IMEI packet received {"connection_id":126572,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 17:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":126572,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:53:31] local.INFO: TCP Data received {"connection_id":126572,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126572,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:53:31] local.INFO: Processing buffer {"connection_id":126572,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:53:31] local.INFO: IMEI packet received {"connection_id":126572,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":126572,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:53:35] local.INFO: TCP Data received {"connection_id":125796,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41adbd08012d84c800059266380006015330..."} 
[2026-07-08 17:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41adbd08012d84c800059266380006015330..."} 
[2026-07-08 17:53:35] local.INFO: Processing buffer {"connection_id":125796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41adbd08012d84c800059266380006015330..."} 
[2026-07-08 17:53:35] local.INFO: Packet analysis {"connection_id":125796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ad"} 
[2026-07-08 17:53:35] local.INFO: Extracted packet for processing {"connection_id":125796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ad"} 
[2026-07-08 17:53:35] local.INFO: GPS Element Parsed {"raw_longitude":763676672,"raw_latitude":93480504,"longitude_deg":76.3676672,"latitude_deg":9.3480504,"altitude":6,"angle":339,"satellites":48,"speed":59,"hex_longitude":"2d84c800","hex_latitude":"05926638","is_valid_coordinates":true} 
[2026-07-08 17:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579411712001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342925049499484160,"note":"Value kept but may cause issues"} 
[2026-07-08 17:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8875328204223195136,"note":"Value kept but may cause issues"} 
[2026-07-08 17:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783513333000,"timestamp_ms":1783513333000,"timestamp_seconds":1783513333,"priority":1,"record_length":96,"hex_timestamp":"0000019f41adbd08"} 
[2026-07-08 17:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 17:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:53:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579411712001,"66":27843,"148":206,"85":14592,"24":59,"16":342925049499484160,"45":-8875328204223195136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,85,24,16,45]} 
[2026-07-08 17:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579411712001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:53:35] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-07-08 17:53:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 17:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342925049499484160,"km_value":342925049499484.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8875328204223195136,"description":"Unknown IO ID 45"} 
[2026-07-08 17:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579411712001,"power":27843,"unknown_148":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-8875328204223195136}} 
[2026-07-08 17:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":125796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:53:35] local.INFO: GPS data processed {"connection_id":125796,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:53:35] local.INFO: Acknowledgment sent {"connection_id":125796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:53:36] local.INFO: TCP Data received {"connection_id":126572,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126572,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:53:36] local.INFO: Processing buffer {"connection_id":126572,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:53:36] local.INFO: IMEI packet received {"connection_id":126572,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":126572,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:53:37] local.INFO: TCP Data received {"connection_id":126572,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ae1eb0012d81fa0005d5d0a80002010c2b..."} 
[2026-07-08 17:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ae1eb0012d81fa0005d5d0a80002010c2b..."} 
[2026-07-08 17:53:37] local.INFO: Processing buffer {"connection_id":126572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ae1eb0012d81fa0005d5d0a80002010c2b..."} 
[2026-07-08 17:53:37] local.INFO: Packet analysis {"connection_id":126572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ae"} 
[2026-07-08 17:53:37] local.INFO: Extracted packet for processing {"connection_id":126572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ae"} 
[2026-07-08 17:53:37] local.INFO: GPS Element Parsed {"raw_longitude":763492864,"raw_latitude":97898664,"longitude_deg":76.3492864,"latitude_deg":9.7898664,"altitude":2,"angle":268,"satellites":43,"speed":23,"hex_longitude":"2d81fa00","hex_latitude":"05d5d0a8","is_valid_coordinates":true} 
[2026-07-08 17:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579419392001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103853589117534208,"note":"Value kept but may cause issues"} 
[2026-07-08 17:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9080241986135357440,"note":"Value kept but may cause issues"} 
[2026-07-08 17:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783513358000,"timestamp_ms":1783513358000,"timestamp_seconds":1783513358,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ae1eb0"} 
[2026-07-08 17:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-08 17:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579419392001,"66":12906,"156":206,"85":15104,"24":23,"16":103853589117534208,"45":-9080241986135357440},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-08 17:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579419392001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:53:37] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-08 17:53:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103853589117534208,"km_value":103853589117534.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9080241986135357440,"description":"Unknown IO ID 45"} 
[2026-07-08 17:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579419392001,"power":12906,"unknown_156":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9080241986135357440}} 
[2026-07-08 17:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":126572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452865,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:53:37] local.INFO: GPS data processed {"connection_id":126572,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:53:37] local.INFO: Acknowledgment sent {"connection_id":126572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:53:38] local.INFO: TCP Data received {"connection_id":125693,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ae3a08012d1a2e000720d980003f00dd2b..."} 
[2026-07-08 17:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ae3a08012d1a2e000720d980003f00dd2b..."} 
[2026-07-08 17:53:38] local.INFO: Processing buffer {"connection_id":125693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ae3a08012d1a2e000720d980003f00dd2b..."} 
[2026-07-08 17:53:38] local.INFO: Packet analysis {"connection_id":125693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ae"} 
[2026-07-08 17:53:38] local.INFO: Extracted packet for processing {"connection_id":125693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ae"} 
[2026-07-08 17:53:38] local.INFO: GPS Element Parsed {"raw_longitude":756690432,"raw_latitude":119593344,"longitude_deg":75.6690432,"latitude_deg":11.9593344,"altitude":63,"angle":221,"satellites":43,"speed":25,"hex_longitude":"2d1a2e00","hex_latitude":"0720d980","is_valid_coordinates":true} 
[2026-07-08 17:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579418368001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4900085238333440,"note":"Value kept but may cause issues"} 
[2026-07-08 17:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890174867973836800,"note":"Value kept but may cause issues"} 
[2026-07-08 17:53: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-07-08 17:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783513365000,"timestamp_ms":1783513365000,"timestamp_seconds":1783513365,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ae3a08"} 
[2026-07-08 17:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:53: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-07-08 17: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-08 17:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579418368001,"66":14048,"103":206,"83":41984,"24":25,"16":4900085238333440,"45":1890174867973836800},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579418368001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:53:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:53:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4900085238333440,"km_value":4900085238333.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890174867973836800,"description":"Unknown IO ID 45"} 
[2026-07-08 17:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579418368001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1890174867973836800}} 
[2026-07-08 17:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":125693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:53:38] local.INFO: GPS data processed {"connection_id":125693,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:53:38] local.INFO: Acknowledgment sent {"connection_id":125693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:53:55] local.INFO: TCP Data received {"connection_id":125797,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:53:55] local.INFO: Processing buffer {"connection_id":125797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:53:55] local.INFO: IMEI packet received {"connection_id":125797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":125797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:54:00] local.INFO: TCP Data received {"connection_id":125797,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:54:00] local.INFO: Processing buffer {"connection_id":125797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:54:00] local.INFO: IMEI packet received {"connection_id":125797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":125797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:54:01] local.INFO: TCP Data received {"connection_id":125797,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41add478012d84bb80059286e80006015230..."} 
[2026-07-08 17:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41add478012d84bb80059286e80006015230..."} 
[2026-07-08 17:54:01] local.INFO: Processing buffer {"connection_id":125797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41add478012d84bb80059286e80006015230..."} 
[2026-07-08 17:54:01] local.INFO: Packet analysis {"connection_id":125797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ad"} 
[2026-07-08 17:54:01] local.INFO: Extracted packet for processing {"connection_id":125797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ad"} 
[2026-07-08 17:54:01] local.INFO: GPS Element Parsed {"raw_longitude":763673472,"raw_latitude":93488872,"longitude_deg":76.3673472,"latitude_deg":9.3488872,"altitude":6,"angle":338,"satellites":48,"speed":59,"hex_longitude":"2d84bb80","hex_latitude":"059286e8","is_valid_coordinates":true} 
[2026-07-08 17:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579413248001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342925483291181056,"note":"Value kept but may cause issues"} 
[2026-07-08 17:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8878846641429923840,"note":"Value kept but may cause issues"} 
[2026-07-08 17:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783513339000,"timestamp_ms":1783513339000,"timestamp_seconds":1783513339,"priority":1,"record_length":96,"hex_timestamp":"0000019f41add478"} 
[2026-07-08 17:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 17:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579413248001,"66":26767,"148":206,"85":14592,"24":59,"16":342925483291181056,"45":-8878846641429923840},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,85,24,16,45]} 
[2026-07-08 17:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579413248001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:54:01] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-07-08 17:54:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 17:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342925483291181056,"km_value":342925483291181.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8878846641429923840,"description":"Unknown IO ID 45"} 
[2026-07-08 17:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579413248001,"power":26767,"unknown_148":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-8878846641429923840}} 
[2026-07-08 17:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":125797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:54:01] local.INFO: GPS data processed {"connection_id":125797,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:54:01] local.INFO: Acknowledgment sent {"connection_id":125797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:54:05] local.INFO: TCP Data received {"connection_id":125798,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:54:05] local.INFO: Processing buffer {"connection_id":125798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:54:05] local.INFO: IMEI packet received {"connection_id":125798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":125798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:54:06] local.INFO: TCP Data received {"connection_id":125798,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:54:06] local.INFO: Processing buffer {"connection_id":125798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:54:06] local.INFO: IMEI packet received {"connection_id":125798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":125798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:54:06] local.INFO: TCP Data received {"connection_id":125798,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ae41d8012d1a2a800720d660003f00ed2a..."} 
[2026-07-08 17:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ae41d8012d1a2a800720d660003f00ed2a..."} 
[2026-07-08 17:54:06] local.INFO: Processing buffer {"connection_id":125798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ae41d8012d1a2a800720d660003f00ed2a..."} 
[2026-07-08 17:54:06] local.INFO: Packet analysis {"connection_id":125798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ae"} 
[2026-07-08 17:54:06] local.INFO: Extracted packet for processing {"connection_id":125798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ae"} 
[2026-07-08 17:54:06] local.INFO: GPS Element Parsed {"raw_longitude":756689536,"raw_latitude":119592544,"longitude_deg":75.6689536,"latitude_deg":11.9592544,"altitude":63,"angle":237,"satellites":42,"speed":25,"hex_longitude":"2d1a2a80","hex_latitude":"0720d660","is_valid_coordinates":true} 
[2026-07-08 17:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579421440001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4900145367875584,"note":"Value kept but may cause issues"} 
[2026-07-08 17:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1886445324530712576,"note":"Value kept but may cause issues"} 
[2026-07-08 17:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783513367000,"timestamp_ms":1783513367000,"timestamp_seconds":1783513367,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ae41d8"} 
[2026-07-08 17:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-08 17:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579421440001,"66":13852,"103":206,"83":41984,"24":25,"16":4900145367875584,"45":1886445324530712576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579421440001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:54:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:54:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4900145367875584,"km_value":4900145367875.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1886445324530712576,"description":"Unknown IO ID 45"} 
[2026-07-08 17:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579421440001,"power":13852,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1886445324530712576}} 
[2026-07-08 17:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":125798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:54:06] local.INFO: GPS data processed {"connection_id":125798,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:54:06] local.INFO: Acknowledgment sent {"connection_id":125798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:54:08] local.INFO: TCP Data received {"connection_id":126572,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41af2c38012d81b94005d544b0000500c62c..."} 
[2026-07-08 17:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41af2c38012d81b94005d544b0000500c62c..."} 
[2026-07-08 17:54:08] local.INFO: Processing buffer {"connection_id":126572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41af2c38012d81b94005d544b0000500c62c..."} 
[2026-07-08 17:54:08] local.INFO: Packet analysis {"connection_id":126572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41af"} 
[2026-07-08 17:54:08] local.INFO: Extracted packet for processing {"connection_id":126572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41af"} 
[2026-07-08 17:54:08] local.INFO: GPS Element Parsed {"raw_longitude":763476288,"raw_latitude":97862832,"longitude_deg":76.3476288,"latitude_deg":9.7862832,"altitude":5,"angle":198,"satellites":44,"speed":47,"hex_longitude":"2d81b940","hex_latitude":"05d544b0","is_valid_coordinates":true} 
[2026-07-08 17:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579436288001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103856037248892928,"note":"Value kept but may cause issues"} 
[2026-07-08 17:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9097834172187672576,"note":"Value kept but may cause issues"} 
[2026-07-08 17:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783513427000,"timestamp_ms":1783513427000,"timestamp_seconds":1783513427,"priority":1,"record_length":96,"hex_timestamp":"0000019f41af2c38"} 
[2026-07-08 17:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 17:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":420459774812487873,"note":"Value kept but may cause issues"} 
[2026-07-08 17:54:08] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436667810304,"note":"Value kept but may cause issues"} 
[2026-07-08 17:54:08] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185968,"note":"Value kept but may cause issues"} 
[2026-07-08 17:54:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 17:54:08] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4732857078910910904,"note":"Value kept but may cause issues"} 
[2026-07-08 17:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2176417797,"note":"Value kept but may cause issues"} 
[2026-07-08 17:54:08] local.WARNING: Large IO value detected {"io_id":42,"raw_value":1970324837629956,"note":"Value kept but may cause issues"} 
[2026-07-08 17:54:08] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832597,"note":"Value kept but may cause issues"} 
[2026-07-08 17:54:08] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3580925536976568526,"note":"Value kept but may cause issues"} 
[2026-07-08 17:54:08] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":1008806316530991105,"corrected_to":0} 
[2026-07-08 17:54:08] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2930206721,"note":"Value kept but may cause issues"} 
[2026-07-08 17:54:08] local.WARNING: Large IO value detected {"io_id":213,"raw_value":3263692807,"note":"Value kept but may cause issues"} 
[2026-07-08 17:54:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795307214,"corrected_to":0} 
[2026-07-08 17:54:08] local.WARNING: Large IO value detected {"io_id":184,"raw_value":2147866052,"note":"Value kept but may cause issues"} 
[2026-07-08 17:54:08] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397094,"note":"Value kept but may cause issues"} 
[2026-07-08 17:54:08] local.WARNING: Large IO value detected {"io_id":112,"raw_value":4145020928,"note":"Value kept but may cause issues"} 
[2026-07-08 17:54:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3586457600,"note":"Value kept but may cause issues"} 
[2026-07-08 17:54:08] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,165,85,24,241,157,16,248,159,28,45,88,6,42,10,66,1,192,122,7,43,247,222,128,240,198,227,65,213,4,113,205,8,132,184,48,239,49,2,112,5],"length":534,"final_offset":664,"validated_count":41,"validation_warnings":[{"io_id":247,"original":1008806316530991105,"validated":0},{"io_id":205,"original":2795307214,"validated":0}]} 
[2026-07-08 17:54:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432550253782302720,"timestamp_seconds":432550253782302.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 17:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579436288001,"66":13091,"165":206,"85":15104,"24":47,"16":103856037248892928,"45":-9097834172187672576},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-07-08 17:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579436288001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:54:08] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-08 17:54:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103856037248892928,"km_value":103856037248892.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9097834172187672576,"description":"Unknown IO ID 45"} 
[2026-07-08 17:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579436288001,"power":13091,"unknown_165":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":-9097834172187672576}} 
[2026-07-08 17:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":126572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452869,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:54:08] local.INFO: GPS data processed {"connection_id":126572,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:54:08] local.INFO: Acknowledgment sent {"connection_id":126572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:54:10] local.INFO: TCP Data received {"connection_id":125798,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ae68e8012d1a16400720cab8003c00dd2b..."} 
[2026-07-08 17:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ae68e8012d1a16400720cab8003c00dd2b..."} 
[2026-07-08 17:54:10] local.INFO: Processing buffer {"connection_id":125798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ae68e8012d1a16400720cab8003c00dd2b..."} 
[2026-07-08 17:54:10] local.INFO: Packet analysis {"connection_id":125798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ae"} 
[2026-07-08 17:54:10] local.INFO: Extracted packet for processing {"connection_id":125798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ae"} 
[2026-07-08 17:54:10] local.INFO: GPS Element Parsed {"raw_longitude":756684352,"raw_latitude":119589560,"longitude_deg":75.6684352,"latitude_deg":11.958956,"altitude":60,"angle":221,"satellites":43,"speed":21,"hex_longitude":"2d1a1640","hex_latitude":"0720cab8","is_valid_coordinates":true} 
[2026-07-08 17:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579421952001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4900433130684416,"note":"Value kept but may cause issues"} 
[2026-07-08 17:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1885460162112020480,"note":"Value kept but may cause issues"} 
[2026-07-08 17:54: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-07-08 17:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783513377000,"timestamp_ms":1783513377000,"timestamp_seconds":1783513377,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ae68e8"} 
[2026-07-08 17:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-07-08 17:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579421952001,"66":14461,"103":206,"83":41984,"24":21,"16":4900433130684416,"45":1885460162112020480},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579421952001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:54:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:54:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4900433130684416,"km_value":4900433130684.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1885460162112020480,"description":"Unknown IO ID 45"} 
[2026-07-08 17:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579421952001,"power":14461,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1885460162112020480}} 
[2026-07-08 17:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":125798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:54:10] local.INFO: GPS data processed {"connection_id":125798,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:54:10] local.INFO: Acknowledgment sent {"connection_id":125798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:54:31] local.INFO: TCP Data received {"connection_id":125694,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:54:31] local.INFO: Processing buffer {"connection_id":125694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:54:31] local.INFO: IMEI packet received {"connection_id":125694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 17:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":125694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:54:32] local.INFO: TCP Data received {"connection_id":125797,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41adebe8012d84ad400592a6980005014e31..."} 
[2026-07-08 17:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41adebe8012d84ad400592a6980005014e31..."} 
[2026-07-08 17:54:32] local.INFO: Processing buffer {"connection_id":125797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41adebe8012d84ad400592a6980005014e31..."} 
[2026-07-08 17:54:32] local.INFO: Packet analysis {"connection_id":125797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ad"} 
[2026-07-08 17:54:32] local.INFO: Extracted packet for processing {"connection_id":125797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ad"} 
[2026-07-08 17:54:32] local.INFO: GPS Element Parsed {"raw_longitude":763669824,"raw_latitude":93496984,"longitude_deg":76.3669824,"latitude_deg":9.3496984,"altitude":5,"angle":334,"satellites":49,"speed":58,"hex_longitude":"2d84ad40","hex_latitude":"0592a698","is_valid_coordinates":true} 
[2026-07-08 17:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579414784001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342925912787910656,"note":"Value kept but may cause issues"} 
[2026-07-08 17:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8882365078636664832,"note":"Value kept but may cause issues"} 
[2026-07-08 17:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783513345000,"timestamp_ms":1783513345000,"timestamp_seconds":1783513345,"priority":1,"record_length":96,"hex_timestamp":"0000019f41adebe8"} 
[2026-07-08 17:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":143,"data_length":795,"current_offset":136} 
[2026-07-08 17:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2005,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579414784001,"66":28093,"148":206,"85":14592,"24":58,"16":342925912787910656,"45":-8882365078636664832},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,85,24,16,45]} 
[2026-07-08 17:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579414784001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:54:32] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-07-08 17:54:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 17:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342925912787910656,"km_value":342925912787910.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8882365078636664832,"description":"Unknown IO ID 45"} 
[2026-07-08 17:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579414784001,"power":28093,"unknown_148":206,"unknown_85":14592,"ignition":58,"odometer":null,"unknown_45":-8882365078636664832}} 
[2026-07-08 17:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":125797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:54:32] local.INFO: GPS data processed {"connection_id":125797,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:54:32] local.INFO: Acknowledgment sent {"connection_id":125797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:54:34] local.INFO: TCP Data received {"connection_id":125694,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:54:34] local.INFO: Processing buffer {"connection_id":125694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:54:34] local.INFO: IMEI packet received {"connection_id":125694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":125694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:54:34] local.INFO: TCP Data received {"connection_id":125694,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41af43a8012d81b20005d53008000400b429..."} 
[2026-07-08 17:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41af43a8012d81b20005d53008000400b429..."} 
[2026-07-08 17:54:34] local.INFO: Processing buffer {"connection_id":125694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41af43a8012d81b20005d53008000400b429..."} 
[2026-07-08 17:54:34] local.INFO: Packet analysis {"connection_id":125694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41af"} 
[2026-07-08 17:54:34] local.INFO: Extracted packet for processing {"connection_id":125694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41af"} 
[2026-07-08 17:54:34] local.INFO: GPS Element Parsed {"raw_longitude":763474432,"raw_latitude":97857544,"longitude_deg":76.3474432,"latitude_deg":9.7857544,"altitude":4,"angle":180,"satellites":41,"speed":28,"hex_longitude":"2d81b200","hex_latitude":"05d53008","is_valid_coordinates":true} 
[2026-07-08 17:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579437312001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103856312126799872,"note":"Value kept but may cause issues"} 
[2026-07-08 17:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9099171178328313856,"note":"Value kept but may cause issues"} 
[2026-07-08 17:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783513433000,"timestamp_ms":1783513433000,"timestamp_seconds":1783513433,"priority":1,"record_length":96,"hex_timestamp":"0000019f41af43a8"} 
[2026-07-08 17:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:54: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-07-08 17:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-08 17:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579437312001,"66":13091,"165":206,"85":15104,"24":28,"16":103856312126799872,"45":-9099171178328313856},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-07-08 17:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579437312001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:54:34] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-08 17:54:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103856312126799872,"km_value":103856312126799.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9099171178328313856,"description":"Unknown IO ID 45"} 
[2026-07-08 17:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579437312001,"power":13091,"unknown_165":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9099171178328313856}} 
[2026-07-08 17:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":125694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452872,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:54:34] local.INFO: GPS data processed {"connection_id":125694,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:54:34] local.INFO: Acknowledgment sent {"connection_id":125694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:54:59] local.INFO: TCP Data received {"connection_id":125798,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41af4790012d19c7800720a4c8003501102a..."} 
[2026-07-08 17:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41af4790012d19c7800720a4c8003501102a..."} 
[2026-07-08 17:54:59] local.INFO: Processing buffer {"connection_id":125798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41af4790012d19c7800720a4c8003501102a..."} 
[2026-07-08 17:54:59] local.INFO: Packet analysis {"connection_id":125798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41af"} 
[2026-07-08 17:54:59] local.INFO: Extracted packet for processing {"connection_id":125798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41af"} 
[2026-07-08 17:54:59] local.INFO: GPS Element Parsed {"raw_longitude":756664192,"raw_latitude":119579848,"longitude_deg":75.6664192,"latitude_deg":11.9579848,"altitude":53,"angle":272,"satellites":42,"speed":15,"hex_longitude":"2d19c780","hex_latitude":"0720a4c8","is_valid_coordinates":true} 
[2026-07-08 17: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-07-08 17:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579438336001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901549822181376,"note":"Value kept but may cause issues"} 
[2026-07-08 17:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858579301832921088,"note":"Value kept but may cause issues"} 
[2026-07-08 17:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783513434000,"timestamp_ms":1783513434000,"timestamp_seconds":1783513434,"priority":1,"record_length":96,"hex_timestamp":"0000019f41af4790"} 
[2026-07-08 17:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 17:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17: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-07-08 17:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":125798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":125798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":125798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579438336001,"66":14048,"103":206,"83":41984,"24":15,"16":4901549822181376,"45":1858579301832921088},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579438336001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:54:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:54:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901549822181376,"km_value":4901549822181.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858579301832921088,"description":"Unknown IO ID 45"} 
[2026-07-08 17:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579438336001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1858579301832921088}} 
[2026-07-08 17:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":125798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:54:59] local.INFO: GPS data processed {"connection_id":125798,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:54:59] local.INFO: Acknowledgment sent {"connection_id":125798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:54:59] local.INFO: TCP Data received {"connection_id":125696,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:54:59] local.INFO: Processing buffer {"connection_id":125696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:54:59] local.INFO: IMEI packet received {"connection_id":125696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":125696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:55:00] local.INFO: TCP Data received {"connection_id":126573,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:55:00] local.INFO: Processing buffer {"connection_id":126573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:55:00] local.INFO: IMEI packet received {"connection_id":126573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":126573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:55:03] local.INFO: TCP Data received {"connection_id":126573,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:55:03] local.INFO: Processing buffer {"connection_id":126573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:55:03] local.INFO: IMEI packet received {"connection_id":126573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":126573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:55:04] local.INFO: TCP Data received {"connection_id":125696,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:55:04] local.INFO: Processing buffer {"connection_id":125696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:55:04] local.INFO: IMEI packet received {"connection_id":125696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":125696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:55:04] local.INFO: TCP Data received {"connection_id":126573,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41af6ab8012d842980059425e00008015e32..."} 
[2026-07-08 17:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41af6ab8012d842980059425e00008015e32..."} 
[2026-07-08 17:55:04] local.INFO: Processing buffer {"connection_id":126573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41af6ab8012d842980059425e00008015e32..."} 
[2026-07-08 17:55:04] local.INFO: Packet analysis {"connection_id":126573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41af"} 
[2026-07-08 17:55:04] local.INFO: Extracted packet for processing {"connection_id":126573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41af"} 
[2026-07-08 17:55:04] local.INFO: GPS Element Parsed {"raw_longitude":763636096,"raw_latitude":93595104,"longitude_deg":76.3636096,"latitude_deg":9.3595104,"altitude":8,"angle":350,"satellites":50,"speed":50,"hex_longitude":"2d842980","hex_latitude":"059425e0","is_valid_coordinates":true} 
[2026-07-08 17:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579439360001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342930980849319936,"note":"Value kept but may cause issues"} 
[2026-07-08 17:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8921630837863151616,"note":"Value kept but may cause issues"} 
[2026-07-08 17:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783513443000,"timestamp_ms":1783513443000,"timestamp_seconds":1783513443,"priority":1,"record_length":96,"hex_timestamp":"0000019f41af6ab8"} 
[2026-07-08 17:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 17:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579439360001,"66":27919,"217":206,"85":14592,"24":50,"16":342930980849319936,"45":-8921630837863151616},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-07-08 17:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579439360001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:55:04] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-08 17:55:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 17:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342930980849319936,"km_value":342930980849319.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8921630837863151616,"description":"Unknown IO ID 45"} 
[2026-07-08 17:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579439360001,"power":27919,"unknown_217":206,"unknown_85":14592,"ignition":50,"odometer":null,"unknown_45":-8921630837863151616}} 
[2026-07-08 17:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":126573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:55:04] local.INFO: GPS data processed {"connection_id":126573,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:55:04] local.INFO: Acknowledgment sent {"connection_id":126573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:55:05] local.INFO: TCP Data received {"connection_id":125696,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41af5348012d19c2400720a5c80036011d29..."} 
[2026-07-08 17:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41af5348012d19c2400720a5c80036011d29..."} 
[2026-07-08 17:55:05] local.INFO: Processing buffer {"connection_id":125696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41af5348012d19c2400720a5c80036011d29..."} 
[2026-07-08 17:55:05] local.INFO: Packet analysis {"connection_id":125696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41af"} 
[2026-07-08 17:55:05] local.INFO: Extracted packet for processing {"connection_id":125696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41af"} 
[2026-07-08 17:55:05] local.INFO: GPS Element Parsed {"raw_longitude":756662848,"raw_latitude":119580104,"longitude_deg":75.6662848,"latitude_deg":11.9580104,"altitude":54,"angle":285,"satellites":41,"speed":18,"hex_longitude":"2d19c240","hex_latitude":"0720a5c8","is_valid_coordinates":true} 
[2026-07-08 17: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-07-08 17:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579439104001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901618541658112,"note":"Value kept but may cause issues"} 
[2026-07-08 17:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857594139414415360,"note":"Value kept but may cause issues"} 
[2026-07-08 17:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783513437000,"timestamp_ms":1783513437000,"timestamp_seconds":1783513437,"priority":1,"record_length":96,"hex_timestamp":"0000019f41af5348"} 
[2026-07-08 17:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:55: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-07-08 17: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-08 17:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17: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-07-08 17:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579439104001,"66":14450,"103":206,"83":41984,"24":18,"16":4901618541658112,"45":1857594139414415360},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579439104001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:55:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:55:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901618541658112,"km_value":4901618541658.112,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857594139414415360,"description":"Unknown IO ID 45"} 
[2026-07-08 17:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579439104001,"power":14450,"unknown_103":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1857594139414415360}} 
[2026-07-08 17:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":125696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:55:05] local.INFO: GPS data processed {"connection_id":125696,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:55:05] local.INFO: Acknowledgment sent {"connection_id":125696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:55:05] local.INFO: TCP Data received {"connection_id":126573,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41af8610012d8422c0059448600007015b32..."} 
[2026-07-08 17:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41af8610012d8422c0059448600007015b32..."} 
[2026-07-08 17:55:05] local.INFO: Processing buffer {"connection_id":126573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41af8610012d8422c0059448600007015b32..."} 
[2026-07-08 17:55:05] local.INFO: Packet analysis {"connection_id":126573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41af"} 
[2026-07-08 17:55:05] local.INFO: Extracted packet for processing {"connection_id":126573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41af"} 
[2026-07-08 17:55:05] local.INFO: GPS Element Parsed {"raw_longitude":763634368,"raw_latitude":93603936,"longitude_deg":76.3634368,"latitude_deg":9.3603936,"altitude":7,"angle":347,"satellites":50,"speed":51,"hex_longitude":"2d8422c0","hex_latitude":"05944860","is_valid_coordinates":true} 
[2026-07-08 17: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-07-08 17:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579441408001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342931418935984128,"note":"Value kept but may cause issues"} 
[2026-07-08 17:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8923460425209225216,"note":"Value kept but may cause issues"} 
[2026-07-08 17:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783513450000,"timestamp_ms":1783513450000,"timestamp_seconds":1783513450,"priority":1,"record_length":96,"hex_timestamp":"0000019f41af8610"} 
[2026-07-08 17:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 17:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17: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-07-08 17:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579441408001,"66":27919,"217":206,"85":14592,"24":51,"16":342931418935984128,"45":-8923460425209225216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-07-08 17:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579441408001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:55:05] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-08 17:55:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 17:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342931418935984128,"km_value":342931418935984.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8923460425209225216,"description":"Unknown IO ID 45"} 
[2026-07-08 17:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579441408001,"power":27919,"unknown_217":206,"unknown_85":14592,"ignition":51,"odometer":null,"unknown_45":-8923460425209225216}} 
[2026-07-08 17:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":126573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:55:05] local.INFO: GPS data processed {"connection_id":126573,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:55:05] local.INFO: Acknowledgment sent {"connection_id":126573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:55:05] local.INFO: TCP Data received {"connection_id":125694,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b02e08012d819ac005d4abd8000600c52c..."} 
[2026-07-08 17:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b02e08012d819ac005d4abd8000600c52c..."} 
[2026-07-08 17:55:05] local.INFO: Processing buffer {"connection_id":125694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b02e08012d819ac005d4abd8000600c52c..."} 
[2026-07-08 17:55:05] local.INFO: Packet analysis {"connection_id":125694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b0"} 
[2026-07-08 17:55:05] local.INFO: Extracted packet for processing {"connection_id":125694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b0"} 
[2026-07-08 17:55:05] local.INFO: GPS Element Parsed {"raw_longitude":763468480,"raw_latitude":97823704,"longitude_deg":76.346848,"latitude_deg":9.7823704,"altitude":6,"angle":197,"satellites":44,"speed":29,"hex_longitude":"2d819ac0","hex_latitude":"05d4abd8","is_valid_coordinates":true} 
[2026-07-08 17: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-07-08 17:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579453952001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103858330761428992,"note":"Value kept but may cause issues"} 
[2026-07-08 17:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9107474690151106560,"note":"Value kept but may cause issues"} 
[2026-07-08 17:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783513493000,"timestamp_ms":1783513493000,"timestamp_seconds":1783513493,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b02e08"} 
[2026-07-08 17:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-08 17:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17: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-07-08 17:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579453952001,"66":13178,"165":206,"85":15104,"24":29,"16":103858330761428992,"45":-9107474690151106560},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-07-08 17:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579453952001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:55:05] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-08 17:55:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103858330761428992,"km_value":103858330761428.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9107474690151106560,"description":"Unknown IO ID 45"} 
[2026-07-08 17:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579453952001,"power":13178,"unknown_165":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9107474690151106560}} 
[2026-07-08 17:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":125694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452877,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:55:05] local.INFO: GPS data processed {"connection_id":125694,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:55:05] local.INFO: Acknowledgment sent {"connection_id":125694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:55:29] local.INFO: TCP Data received {"connection_id":125799,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125799,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:55:29] local.INFO: Processing buffer {"connection_id":125799,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:55:29] local.INFO: IMEI packet received {"connection_id":125799,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 17:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":125799,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:55:31] local.INFO: TCP Data received {"connection_id":125799,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125799,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:55:31] local.INFO: Processing buffer {"connection_id":125799,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:55:31] local.INFO: IMEI packet received {"connection_id":125799,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":125799,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:55:36] local.INFO: TCP Data received {"connection_id":125696,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41af5b18012d19bf000720a6f00036012829..."} 
[2026-07-08 17:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41af5b18012d19bf000720a6f00036012829..."} 
[2026-07-08 17:55:36] local.INFO: Processing buffer {"connection_id":125696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41af5b18012d19bf000720a6f00036012829..."} 
[2026-07-08 17:55:36] local.INFO: Packet analysis {"connection_id":125696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41af"} 
[2026-07-08 17:55:36] local.INFO: Extracted packet for processing {"connection_id":125696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41af"} 
[2026-07-08 17:55:36] local.INFO: GPS Element Parsed {"raw_longitude":756662016,"raw_latitude":119580400,"longitude_deg":75.6662016,"latitude_deg":11.95804,"altitude":54,"angle":296,"satellites":41,"speed":15,"hex_longitude":"2d19bf00","hex_latitude":"0720a6f0","is_valid_coordinates":true} 
[2026-07-08 17: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-07-08 17:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579439872001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901657196363776,"note":"Value kept but may cause issues"} 
[2026-07-08 17:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856116395786749952,"note":"Value kept but may cause issues"} 
[2026-07-08 17:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783513439000,"timestamp_ms":1783513439000,"timestamp_seconds":1783513439,"priority":1,"record_length":96,"hex_timestamp":"0000019f41af5b18"} 
[2026-07-08 17:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-08 17:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17: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-07-08 17:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579439872001,"66":14396,"103":206,"83":41984,"24":15,"16":4901657196363776,"45":1856116395786749952},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579439872001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:55:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:55:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901657196363776,"km_value":4901657196363.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856116395786749952,"description":"Unknown IO ID 45"} 
[2026-07-08 17:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579439872001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1856116395786749952}} 
[2026-07-08 17:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":125696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:55:36] local.INFO: GPS data processed {"connection_id":125696,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:55:36] local.INFO: Acknowledgment sent {"connection_id":125696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:55:36] local.INFO: TCP Data received {"connection_id":125799,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125799,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:55:36] local.INFO: Processing buffer {"connection_id":125799,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:55:36] local.INFO: IMEI packet received {"connection_id":125799,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":125799,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:55:36] local.INFO: TCP Data received {"connection_id":126573,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41afa168012d841a4005946ab80007015831..."} 
[2026-07-08 17:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41afa168012d841a4005946ab80007015831..."} 
[2026-07-08 17:55:36] local.INFO: Processing buffer {"connection_id":126573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41afa168012d841a4005946ab80007015831..."} 
[2026-07-08 17:55:36] local.INFO: Packet analysis {"connection_id":126573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41af"} 
[2026-07-08 17:55:36] local.INFO: Extracted packet for processing {"connection_id":126573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41af"} 
[2026-07-08 17:55:36] local.INFO: GPS Element Parsed {"raw_longitude":763632192,"raw_latitude":93612728,"longitude_deg":76.3632192,"latitude_deg":9.3612728,"altitude":7,"angle":344,"satellites":49,"speed":49,"hex_longitude":"2d841a40","hex_latitude":"05946ab8","is_valid_coordinates":true} 
[2026-07-08 17: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-07-08 17:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579443200001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342931857022648320,"note":"Value kept but may cause issues"} 
[2026-07-08 17:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8925360381299761152,"note":"Value kept but may cause issues"} 
[2026-07-08 17:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783513457000,"timestamp_ms":1783513457000,"timestamp_seconds":1783513457,"priority":1,"record_length":96,"hex_timestamp":"0000019f41afa168"} 
[2026-07-08 17:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 17:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17: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-07-08 17:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579443200001,"66":27658,"142":206,"85":14592,"24":49,"16":342931857022648320,"45":-8925360381299761152},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,85,24,16,45]} 
[2026-07-08 17:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579443200001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:55:37] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-08 17:55:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 17:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342931857022648320,"km_value":342931857022648.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8925360381299761152,"description":"Unknown IO ID 45"} 
[2026-07-08 17:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579443200001,"power":27658,"unknown_142":206,"unknown_85":14592,"ignition":49,"odometer":null,"unknown_45":-8925360381299761152}} 
[2026-07-08 17:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":126573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:55:37] local.INFO: GPS data processed {"connection_id":126573,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:55:37] local.INFO: Acknowledgment sent {"connection_id":126573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:55:37] local.INFO: TCP Data received {"connection_id":125799,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b031f0012d819a8005d4a888000600b92c..."} 
[2026-07-08 17:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b031f0012d819a8005d4a888000600b92c..."} 
[2026-07-08 17:55:37] local.INFO: Processing buffer {"connection_id":125799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b031f0012d819a8005d4a888000600b92c..."} 
[2026-07-08 17:55:37] local.INFO: Packet analysis {"connection_id":125799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b0"} 
[2026-07-08 17:55:37] local.INFO: Extracted packet for processing {"connection_id":125799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b0"} 
[2026-07-08 17:55:37] local.INFO: GPS Element Parsed {"raw_longitude":763468416,"raw_latitude":97822856,"longitude_deg":76.3468416,"latitude_deg":9.7822856,"altitude":6,"angle":185,"satellites":44,"speed":32,"hex_longitude":"2d819a80","hex_latitude":"05d4a888","is_valid_coordinates":true} 
[2026-07-08 17:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579454208001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103858373711101952,"note":"Value kept but may cause issues"} 
[2026-07-08 17:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9107756165128005632,"note":"Value kept but may cause issues"} 
[2026-07-08 17:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783513494000,"timestamp_ms":1783513494000,"timestamp_seconds":1783513494,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b031f0"} 
[2026-07-08 17:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-08 17:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579454208001,"66":13178,"165":206,"85":15104,"24":32,"16":103858373711101952,"45":-9107756165128005632},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-07-08 17:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579454208001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:55:37] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-08 17:55:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103858373711101952,"km_value":103858373711101.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9107756165128005632,"description":"Unknown IO ID 45"} 
[2026-07-08 17:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579454208001,"power":13178,"unknown_165":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9107756165128005632}} 
[2026-07-08 17:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":125799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452880,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:55:37] local.INFO: GPS data processed {"connection_id":125799,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:55:37] local.INFO: Acknowledgment sent {"connection_id":125799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:55:55] local.INFO: TCP Data received {"connection_id":125697,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:55:55] local.INFO: Processing buffer {"connection_id":125697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:55:55] local.INFO: IMEI packet received {"connection_id":125697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":125697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:55:57] local.INFO: TCP Data received {"connection_id":125697,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:55:57] local.INFO: Processing buffer {"connection_id":125697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:55:57] local.INFO: IMEI packet received {"connection_id":125697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":125697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:55:58] local.INFO: TCP Data received {"connection_id":125697,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41afc0a8012d840f8005948f300007015631..."} 
[2026-07-08 17:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41afc0a8012d840f8005948f300007015631..."} 
[2026-07-08 17:55:58] local.INFO: Processing buffer {"connection_id":125697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41afc0a8012d840f8005948f300007015631..."} 
[2026-07-08 17:55:58] local.INFO: Packet analysis {"connection_id":125697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41af"} 
[2026-07-08 17:55:58] local.INFO: Extracted packet for processing {"connection_id":125697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41af"} 
[2026-07-08 17:55:58] local.INFO: GPS Element Parsed {"raw_longitude":763629440,"raw_latitude":93622064,"longitude_deg":76.362944,"latitude_deg":9.3622064,"altitude":7,"angle":342,"satellites":49,"speed":48,"hex_longitude":"2d840f80","hex_latitude":"05948f30","is_valid_coordinates":true} 
[2026-07-08 17: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-07-08 17:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579444992001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342932329469050880,"note":"Value kept but may cause issues"} 
[2026-07-08 17:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8927752918599550976,"note":"Value kept but may cause issues"} 
[2026-07-08 17:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783513465000,"timestamp_ms":1783513465000,"timestamp_seconds":1783513465,"priority":1,"record_length":96,"hex_timestamp":"0000019f41afc0a8"} 
[2026-07-08 17:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:55:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 17:55:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17: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-07-08 17:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":125697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":125697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":125697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579444992001,"66":27919,"142":206,"85":14592,"24":48,"16":342932329469050880,"45":-8927752918599550976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,85,24,16,45]} 
[2026-07-08 17:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579444992001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:55:58] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-08 17:55:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 17:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342932329469050880,"km_value":342932329469050.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8927752918599550976,"description":"Unknown IO ID 45"} 
[2026-07-08 17:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579444992001,"power":27919,"unknown_142":206,"unknown_85":14592,"ignition":48,"odometer":null,"unknown_45":-8927752918599550976}} 
[2026-07-08 17:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":125697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:55:58] local.INFO: GPS data processed {"connection_id":125697,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:55:58] local.INFO: Acknowledgment sent {"connection_id":125697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:55:59] local.INFO: TCP Data received {"connection_id":126575,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:55:59] local.INFO: Processing buffer {"connection_id":126575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:55:59] local.INFO: IMEI packet received {"connection_id":126575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":126575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:56:00] local.INFO: TCP Data received {"connection_id":126575,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:56:00] local.INFO: Processing buffer {"connection_id":126575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:56:00] local.INFO: IMEI packet received {"connection_id":126575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":126575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:56:05] local.INFO: TCP Data received {"connection_id":126575,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:56:05] local.INFO: Processing buffer {"connection_id":126575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:56:05] local.INFO: IMEI packet received {"connection_id":126575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":126575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:56:06] local.INFO: TCP Data received {"connection_id":126575,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41af8de0012d19a9800720b078003b01172a..."} 
[2026-07-08 17:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41af8de0012d19a9800720b078003b01172a..."} 
[2026-07-08 17:56:06] local.INFO: Processing buffer {"connection_id":126575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41af8de0012d19a9800720b078003b01172a..."} 
[2026-07-08 17:56:06] local.INFO: Packet analysis {"connection_id":126575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41af"} 
[2026-07-08 17:56:06] local.INFO: Extracted packet for processing {"connection_id":126575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41af"} 
[2026-07-08 17:56:06] local.INFO: GPS Element Parsed {"raw_longitude":756656512,"raw_latitude":119582840,"longitude_deg":75.6656512,"latitude_deg":11.958284,"altitude":59,"angle":279,"satellites":42,"speed":22,"hex_longitude":"2d19a980","hex_latitude":"0720b078","is_valid_coordinates":true} 
[2026-07-08 17:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579440384001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4901949254139904,"note":"Value kept but may cause issues"} 
[2026-07-08 17:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855201602112516096,"note":"Value kept but may cause issues"} 
[2026-07-08 17:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783513452000,"timestamp_ms":1783513452000,"timestamp_seconds":1783513452,"priority":1,"record_length":96,"hex_timestamp":"0000019f41af8de0"} 
[2026-07-08 17:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-08 17:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579440384001,"66":14396,"103":206,"83":41984,"24":22,"16":4901949254139904,"45":1855201602112516096},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579440384001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:56:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:56:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4901949254139904,"km_value":4901949254139.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855201602112516096,"description":"Unknown IO ID 45"} 
[2026-07-08 17:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579440384001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1855201602112516096}} 
[2026-07-08 17:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":126575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:56:06] local.INFO: GPS data processed {"connection_id":126575,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:56:06] local.INFO: Acknowledgment sent {"connection_id":126575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:56:09] local.INFO: TCP Data received {"connection_id":125799,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b05518012d819e0005d482f8000800b02c..."} 
[2026-07-08 17:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b05518012d819e0005d482f8000800b02c..."} 
[2026-07-08 17:56:09] local.INFO: Processing buffer {"connection_id":125799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b05518012d819e0005d482f8000800b02c..."} 
[2026-07-08 17:56:09] local.INFO: Packet analysis {"connection_id":125799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b0"} 
[2026-07-08 17:56:09] local.INFO: Extracted packet for processing {"connection_id":125799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b0"} 
[2026-07-08 17:56:09] local.INFO: GPS Element Parsed {"raw_longitude":763469312,"raw_latitude":97813240,"longitude_deg":76.3469312,"latitude_deg":9.781324,"altitude":8,"angle":176,"satellites":44,"speed":46,"hex_longitude":"2d819e00","hex_latitude":"05d482f8","is_valid_coordinates":true} 
[2026-07-08 17:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579454464001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103858841862537216,"note":"Value kept but may cause issues"} 
[2026-07-08 17:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9107826533872400384,"note":"Value kept but may cause issues"} 
[2026-07-08 17:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783513503000,"timestamp_ms":1783513503000,"timestamp_seconds":1783513503,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b05518"} 
[2026-07-08 17:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-08 17:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579454464001,"66":12667,"165":206,"85":15104,"24":46,"16":103858841862537216,"45":-9107826533872400384},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-07-08 17:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579454464001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:56:09] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-08 17:56:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103858841862537216,"km_value":103858841862537.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9107826533872400384,"description":"Unknown IO ID 45"} 
[2026-07-08 17:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579454464001,"power":12667,"unknown_165":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":-9107826533872400384}} 
[2026-07-08 17:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":125799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452883,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:56:09] local.INFO: GPS data processed {"connection_id":125799,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:56:09] local.INFO: Acknowledgment sent {"connection_id":125799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:56:29] local.INFO: TCP Data received {"connection_id":125697,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41afdfe8012d8402800594b3c80006015331..."} 
[2026-07-08 17:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41afdfe8012d8402800594b3c80006015331..."} 
[2026-07-08 17:56:29] local.INFO: Processing buffer {"connection_id":125697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41afdfe8012d8402800594b3c80006015331..."} 
[2026-07-08 17:56:29] local.INFO: Packet analysis {"connection_id":125697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41af"} 
[2026-07-08 17:56:29] local.INFO: Extracted packet for processing {"connection_id":125697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41af"} 
[2026-07-08 17:56:29] local.INFO: GPS Element Parsed {"raw_longitude":763626112,"raw_latitude":93631432,"longitude_deg":76.3626112,"latitude_deg":9.3631432,"altitude":6,"angle":339,"satellites":49,"speed":48,"hex_longitude":"2d840280","hex_latitude":"0594b3c8","is_valid_coordinates":true} 
[2026-07-08 17:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579447040001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342932810505388032,"note":"Value kept but may cause issues"} 
[2026-07-08 17:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8930778774596800512,"note":"Value kept but may cause issues"} 
[2026-07-08 17:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783513473000,"timestamp_ms":1783513473000,"timestamp_seconds":1783513473,"priority":1,"record_length":96,"hex_timestamp":"0000019f41afdfe8"} 
[2026-07-08 17:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:56:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 17:56:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:56:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":125697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":125697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":125697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:56:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579447040001,"66":27843,"142":206,"85":14592,"24":48,"16":342932810505388032,"45":-8930778774596800512},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,85,24,16,45]} 
[2026-07-08 17:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579447040001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:56:29] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-08 17:56:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 17:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342932810505388032,"km_value":342932810505388.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8930778774596800512,"description":"Unknown IO ID 45"} 
[2026-07-08 17:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579447040001,"power":27843,"unknown_142":206,"unknown_85":14592,"ignition":48,"odometer":null,"unknown_45":-8930778774596800512}} 
[2026-07-08 17:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":125697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:56:29] local.INFO: GPS data processed {"connection_id":125697,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:56:29] local.INFO: Acknowledgment sent {"connection_id":125697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:56:31] local.INFO: TCP Data received {"connection_id":127797,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127797,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:56:31] local.INFO: Processing buffer {"connection_id":127797,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:56:31] local.INFO: IMEI packet received {"connection_id":127797,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 17:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":127797,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:56:35] local.INFO: TCP Data received {"connection_id":127797,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127797,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:56:35] local.INFO: Processing buffer {"connection_id":127797,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:56:35] local.INFO: IMEI packet received {"connection_id":127797,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":127797,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:56:35] local.INFO: TCP Data received {"connection_id":127797,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b15eb8012d81b38005d385600006009d2c..."} 
[2026-07-08 17:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b15eb8012d81b38005d385600006009d2c..."} 
[2026-07-08 17:56:35] local.INFO: Processing buffer {"connection_id":127797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b15eb8012d81b38005d385600006009d2c..."} 
[2026-07-08 17:56:35] local.INFO: Packet analysis {"connection_id":127797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b1"} 
[2026-07-08 17:56:35] local.INFO: Extracted packet for processing {"connection_id":127797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b1"} 
[2026-07-08 17:56:35] local.INFO: GPS Element Parsed {"raw_longitude":763474816,"raw_latitude":97748320,"longitude_deg":76.3474816,"latitude_deg":9.774832,"altitude":6,"angle":157,"satellites":44,"speed":31,"hex_longitude":"2d81b380","hex_latitude":"05d38560","is_valid_coordinates":true} 
[2026-07-08 17:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579473152001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103862067382976512,"note":"Value kept but may cause issues"} 
[2026-07-08 17:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9101985928123793408,"note":"Value kept but may cause issues"} 
[2026-07-08 17:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783513571000,"timestamp_ms":1783513571000,"timestamp_seconds":1783513571,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b15eb8"} 
[2026-07-08 17:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":24,"data_length":795,"current_offset":136} 
[2026-07-08 17:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":127797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":127797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":127797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579473152001,"66":13048,"166":206,"85":15104,"24":31,"16":103862067382976512,"45":-9101985928123793408},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-07-08 17:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579473152001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:56:35] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-08 17:56:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103862067382976512,"km_value":103862067382976.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9101985928123793408,"description":"Unknown IO ID 45"} 
[2026-07-08 17:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579473152001,"power":13048,"unknown_166":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9101985928123793408}} 
[2026-07-08 17:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":127797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452885,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:56:35] local.INFO: GPS data processed {"connection_id":127797,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:56:35] local.INFO: Acknowledgment sent {"connection_id":127797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:56:37] local.INFO: TCP Data received {"connection_id":126575,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b11098012d18cc80072132780043014528..."} 
[2026-07-08 17:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b11098012d18cc80072132780043014528..."} 
[2026-07-08 17:56:37] local.INFO: Processing buffer {"connection_id":126575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b11098012d18cc80072132780043014528..."} 
[2026-07-08 17:56:37] local.INFO: Packet analysis {"connection_id":126575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b1"} 
[2026-07-08 17:56:37] local.INFO: Extracted packet for processing {"connection_id":126575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b1"} 
[2026-07-08 17:56:37] local.INFO: GPS Element Parsed {"raw_longitude":756599936,"raw_latitude":119616120,"longitude_deg":75.6599936,"latitude_deg":11.961612,"altitude":67,"angle":325,"satellites":40,"speed":29,"hex_longitude":"2d18cc80","hex_latitude":"07213278","is_valid_coordinates":true} 
[2026-07-08 17:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579468288001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4905565616603136,"note":"Value kept but may cause issues"} 
[2026-07-08 17:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788069820175661056,"note":"Value kept but may cause issues"} 
[2026-07-08 17:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783513551000,"timestamp_ms":1783513551000,"timestamp_seconds":1783513551,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b11098"} 
[2026-07-08 17:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-08 17:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579468288001,"66":14157,"103":206,"83":41984,"24":29,"16":4905565616603136,"45":1788069820175661056},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579468288001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:56:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:56:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4905565616603136,"km_value":4905565616603.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788069820175661056,"description":"Unknown IO ID 45"} 
[2026-07-08 17:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579468288001,"power":14157,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1788069820175661056}} 
[2026-07-08 17:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":126575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:56:37] local.INFO: GPS data processed {"connection_id":126575,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:56:37] local.INFO: Acknowledgment sent {"connection_id":126575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:56:55] local.INFO: TCP Data received {"connection_id":126576,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:56:55] local.INFO: Processing buffer {"connection_id":126576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:56:55] local.INFO: IMEI packet received {"connection_id":126576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":126576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:56:58] local.INFO: TCP Data received {"connection_id":126576,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:56:58] local.INFO: Processing buffer {"connection_id":126576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:56:58] local.INFO: IMEI packet received {"connection_id":126576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":126576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:56:59] local.INFO: TCP Data received {"connection_id":125698,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:56:59] local.INFO: Processing buffer {"connection_id":125698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:56:59] local.INFO: IMEI packet received {"connection_id":125698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":125698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:56:59] local.INFO: TCP Data received {"connection_id":126576,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b12bf0012d83804005962eb8000601592f..."} 
[2026-07-08 17:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b12bf0012d83804005962eb8000601592f..."} 
[2026-07-08 17:56:59] local.INFO: Processing buffer {"connection_id":126576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b12bf0012d83804005962eb8000601592f..."} 
[2026-07-08 17:56:59] local.INFO: Packet analysis {"connection_id":126576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b1"} 
[2026-07-08 17:56:59] local.INFO: Extracted packet for processing {"connection_id":126576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b1"} 
[2026-07-08 17:56:59] local.INFO: GPS Element Parsed {"raw_longitude":763592768,"raw_latitude":93728440,"longitude_deg":76.3592768,"latitude_deg":9.372844,"altitude":6,"angle":345,"satellites":47,"speed":54,"hex_longitude":"2d838040","hex_latitude":"05962eb8","is_valid_coordinates":true} 
[2026-07-08 17:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579469056001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342937784077516800,"note":"Value kept but may cause issues"} 
[2026-07-08 17:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8968496421451126784,"note":"Value kept but may cause issues"} 
[2026-07-08 17:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783513558000,"timestamp_ms":1783513558000,"timestamp_seconds":1783513558,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b12bf0"} 
[2026-07-08 17:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:56: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-07-08 17:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 17:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":126576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":126576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":126576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579469056001,"66":27865,"18":206,"85":14592,"24":54,"16":342937784077516800,"45":-8968496421451126784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-07-08 17:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579469056001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:56:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-08 17:56:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 17:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342937784077516800,"km_value":342937784077516.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8968496421451126784,"description":"Unknown IO ID 45"} 
[2026-07-08 17:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579469056001,"power":27865,"unknown_18":206,"unknown_85":14592,"ignition":54,"odometer":null,"unknown_45":-8968496421451126784}} 
[2026-07-08 17:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":126576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:56:59] local.INFO: GPS data processed {"connection_id":126576,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:56:59] local.INFO: Acknowledgment sent {"connection_id":126576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:57:00] local.INFO: TCP Data received {"connection_id":125698,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:57:00] local.INFO: Processing buffer {"connection_id":125698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:57:00] local.INFO: IMEI packet received {"connection_id":125698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":125698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:57:05] local.INFO: TCP Data received {"connection_id":125698,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:57:05] local.INFO: Processing buffer {"connection_id":125698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:57:05] local.INFO: IMEI packet received {"connection_id":125698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":125698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:57:06] local.INFO: TCP Data received {"connection_id":127797,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b1dbb8012d81c90005d345f8000200692a..."} 
[2026-07-08 17:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b1dbb8012d81c90005d345f8000200692a..."} 
[2026-07-08 17:57:06] local.INFO: Processing buffer {"connection_id":127797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b1dbb8012d81c90005d345f8000200692a..."} 
[2026-07-08 17:57:06] local.INFO: Packet analysis {"connection_id":127797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b1"} 
[2026-07-08 17:57:06] local.INFO: Extracted packet for processing {"connection_id":127797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b1"} 
[2026-07-08 17:57:06] local.INFO: GPS Element Parsed {"raw_longitude":763480320,"raw_latitude":97732088,"longitude_deg":76.348032,"latitude_deg":9.7732088,"altitude":2,"angle":105,"satellites":42,"speed":12,"hex_longitude":"2d81c900","hex_latitude":"05d345f8","is_valid_coordinates":true} 
[2026-07-08 17:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579482112001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103862965031141376,"note":"Value kept but may cause issues"} 
[2026-07-08 17:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9095019422455277568,"note":"Value kept but may cause issues"} 
[2026-07-08 17:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783513603000,"timestamp_ms":1783513603000,"timestamp_seconds":1783513603,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b1dbb8"} 
[2026-07-08 17:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-08 17:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579482112001,"66":12798,"166":206,"85":15104,"24":12,"16":103862965031141376,"45":-9095019422455277568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-07-08 17:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579482112001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:57:06] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-08 17:57:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103862965031141376,"km_value":103862965031141.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9095019422455277568,"description":"Unknown IO ID 45"} 
[2026-07-08 17:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579482112001,"power":12798,"unknown_166":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9095019422455277568}} 
[2026-07-08 17:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":127797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452888,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:57:06] local.INFO: GPS data processed {"connection_id":127797,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:57:06] local.INFO: Acknowledgment sent {"connection_id":127797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:57:08] local.INFO: TCP Data received {"connection_id":125698,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b12420012d18c58007213e480045015727..."} 
[2026-07-08 17:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b12420012d18c58007213e480045015727..."} 
[2026-07-08 17:57:08] local.INFO: Processing buffer {"connection_id":125698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b12420012d18c58007213e480045015727..."} 
[2026-07-08 17:57:08] local.INFO: Packet analysis {"connection_id":125698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b1"} 
[2026-07-08 17:57:08] local.INFO: Extracted packet for processing {"connection_id":125698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b1"} 
[2026-07-08 17:57:08] local.INFO: GPS Element Parsed {"raw_longitude":756598144,"raw_latitude":119619144,"longitude_deg":75.6598144,"latitude_deg":11.9619144,"altitude":69,"angle":343,"satellites":39,"speed":29,"hex_longitude":"2d18c580","hex_latitude":"07213e48","is_valid_coordinates":true} 
[2026-07-08 17:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579469056001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4905737415294976,"note":"Value kept but may cause issues"} 
[2026-07-08 17:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786943920269326336,"note":"Value kept but may cause issues"} 
[2026-07-08 17:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783513556000,"timestamp_ms":1783513556000,"timestamp_seconds":1783513556,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b12420"} 
[2026-07-08 17:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:57: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-07-08 17:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-08 17:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579469056001,"66":14135,"103":206,"83":41984,"24":29,"16":4905737415294976,"45":1786943920269326336},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579469056001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:57:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:57:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4905737415294976,"km_value":4905737415294.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786943920269326336,"description":"Unknown IO ID 45"} 
[2026-07-08 17:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579469056001,"power":14135,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1786943920269326336}} 
[2026-07-08 17:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":125698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:57:08] local.INFO: GPS data processed {"connection_id":125698,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:57:08] local.INFO: Acknowledgment sent {"connection_id":125698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:57:30] local.INFO: TCP Data received {"connection_id":126576,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b14748012d837680059652600006015831..."} 
[2026-07-08 17:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b14748012d837680059652600006015831..."} 
[2026-07-08 17:57:30] local.INFO: Processing buffer {"connection_id":126576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b14748012d837680059652600006015831..."} 
[2026-07-08 17:57:30] local.INFO: Packet analysis {"connection_id":126576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b1"} 
[2026-07-08 17:57:30] local.INFO: Extracted packet for processing {"connection_id":126576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b1"} 
[2026-07-08 17:57:30] local.INFO: GPS Element Parsed {"raw_longitude":763590272,"raw_latitude":93737568,"longitude_deg":76.3590272,"latitude_deg":9.3737568,"altitude":6,"angle":344,"satellites":49,"speed":51,"hex_longitude":"2d837680","hex_latitude":"05965260","is_valid_coordinates":true} 
[2026-07-08 17: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-07-08 17:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579470848001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342938243639017472,"note":"Value kept but may cause issues"} 
[2026-07-08 17:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8971100064983369728,"note":"Value kept but may cause issues"} 
[2026-07-08 17:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783513565000,"timestamp_ms":1783513565000,"timestamp_seconds":1783513565,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b14748"} 
[2026-07-08 17:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 17:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17: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-07-08 17:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":126576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":126576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":126576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:57: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-07-08 17:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579470848001,"66":27800,"18":206,"85":14592,"24":51,"16":342938243639017472,"45":-8971100064983369728},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-07-08 17:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579470848001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:57:30] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-08 17:57:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 17:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342938243639017472,"km_value":342938243639017.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8971100064983369728,"description":"Unknown IO ID 45"} 
[2026-07-08 17:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579470848001,"power":27800,"unknown_18":206,"unknown_85":14592,"ignition":51,"odometer":null,"unknown_45":-8971100064983369728}} 
[2026-07-08 17:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":126576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:57:30] local.INFO: GPS data processed {"connection_id":126576,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:57:30] local.INFO: Acknowledgment sent {"connection_id":126576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:57:40] local.INFO: TCP Data received {"connection_id":125698,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b12bf0012d18c480072144280046016528..."} 
[2026-07-08 17:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b12bf0012d18c480072144280046016528..."} 
[2026-07-08 17:57:40] local.INFO: Processing buffer {"connection_id":125698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b12bf0012d18c480072144280046016528..."} 
[2026-07-08 17:57:40] local.INFO: Packet analysis {"connection_id":125698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b1"} 
[2026-07-08 17:57:40] local.INFO: Extracted packet for processing {"connection_id":125698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b1"} 
[2026-07-08 17:57:40] local.INFO: GPS Element Parsed {"raw_longitude":756597888,"raw_latitude":119620648,"longitude_deg":75.6597888,"latitude_deg":11.9620648,"altitude":70,"angle":357,"satellites":40,"speed":31,"hex_longitude":"2d18c480","hex_latitude":"07214428","is_valid_coordinates":true} 
[2026-07-08 17:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579470336001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4905814724706304,"note":"Value kept but may cause issues"} 
[2026-07-08 17:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784973595433125888,"note":"Value kept but may cause issues"} 
[2026-07-08 17:57: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-07-08 17:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783513558000,"timestamp_ms":1783513558000,"timestamp_seconds":1783513558,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b12bf0"} 
[2026-07-08 17:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:57: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-07-08 17:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-08 17:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579470336001,"66":14070,"103":206,"83":41984,"24":31,"16":4905814724706304,"45":1784973595433125888},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 17:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579470336001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:57:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 17:57:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4905814724706304,"km_value":4905814724706.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784973595433125888,"description":"Unknown IO ID 45"} 
[2026-07-08 17:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579470336001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1784973595433125888}} 
[2026-07-08 17:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":125698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:57:40] local.INFO: GPS data processed {"connection_id":125698,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:57:40] local.INFO: Acknowledgment sent {"connection_id":125698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:57:41] local.INFO: TCP Data received {"connection_id":127798,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:57:41] local.INFO: Processing buffer {"connection_id":127798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:57:41] local.INFO: IMEI packet received {"connection_id":127798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 17:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":127798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:57:42] local.INFO: TCP Data received {"connection_id":127798,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:57:42] local.INFO: Processing buffer {"connection_id":127798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:57:42] local.INFO: IMEI packet received {"connection_id":127798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":127798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:57:46] local.INFO: TCP Data received {"connection_id":127798,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:57:46] local.INFO: Processing buffer {"connection_id":127798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:57:46] local.INFO: IMEI packet received {"connection_id":127798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":127798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:57:47] local.INFO: TCP Data received {"connection_id":127798,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b1dfa0012d81ca8005d345c80002005e2a..."} 
[2026-07-08 17:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b1dfa0012d81ca8005d345c80002005e2a..."} 
[2026-07-08 17:57:47] local.INFO: Processing buffer {"connection_id":127798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b1dfa0012d81ca8005d345c80002005e2a..."} 
[2026-07-08 17:57:47] local.INFO: Packet analysis {"connection_id":127798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b1"} 
[2026-07-08 17:57:47] local.INFO: Extracted packet for processing {"connection_id":127798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b1"} 
[2026-07-08 17:57:47] local.INFO: GPS Element Parsed {"raw_longitude":763480704,"raw_latitude":97732040,"longitude_deg":76.3480704,"latitude_deg":9.773204,"altitude":2,"angle":94,"satellites":42,"speed":16,"hex_longitude":"2d81ca80","hex_latitude":"05d345c8","is_valid_coordinates":true} 
[2026-07-08 17:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579482368001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103862982211010560,"note":"Value kept but may cause issues"} 
[2026-07-08 17:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9094737947478591488,"note":"Value kept but may cause issues"} 
[2026-07-08 17:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783513604000,"timestamp_ms":1783513604000,"timestamp_seconds":1783513604,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b1dfa0"} 
[2026-07-08 17:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:57: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-07-08 17:57: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-08 17:57:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":127798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":127798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":127798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579482368001,"66":12798,"166":206,"85":15104,"24":16,"16":103862982211010560,"45":-9094737947478591488},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-07-08 17:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579482368001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:57:47] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-08 17:57:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103862982211010560,"km_value":103862982211010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9094737947478591488,"description":"Unknown IO ID 45"} 
[2026-07-08 17:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579482368001,"power":12798,"unknown_166":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":-9094737947478591488}} 
[2026-07-08 17:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":127798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452892,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:57:47] local.INFO: GPS data processed {"connection_id":127798,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:57:47] local.INFO: Acknowledgment sent {"connection_id":127798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:57:51] local.INFO: TCP Data received {"connection_id":127798,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b21a38012d81ee0005d34380000600572a..."} 
[2026-07-08 17:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b21a38012d81ee0005d34380000600572a..."} 
[2026-07-08 17:57:51] local.INFO: Processing buffer {"connection_id":127798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b21a38012d81ee0005d34380000600572a..."} 
[2026-07-08 17:57:51] local.INFO: Packet analysis {"connection_id":127798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b2"} 
[2026-07-08 17:57:51] local.INFO: Extracted packet for processing {"connection_id":127798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b2"} 
[2026-07-08 17:57:51] local.INFO: GPS Element Parsed {"raw_longitude":763489792,"raw_latitude":97731456,"longitude_deg":76.3489792,"latitude_deg":9.7731456,"altitude":6,"angle":87,"satellites":42,"speed":26,"hex_longitude":"2d81ee00","hex_latitude":"05d34380","is_valid_coordinates":true} 
[2026-07-08 17: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-07-08 17:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579482624001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103863420297674752,"note":"Value kept but may cause issues"} 
[2026-07-08 17:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9094315735013537792,"note":"Value kept but may cause issues"} 
[2026-07-08 17:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783513619000,"timestamp_ms":1783513619000,"timestamp_seconds":1783513619,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b21a38"} 
[2026-07-08 17:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-08 17:57:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17: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-07-08 17:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":127798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":127798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":127798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579482624001,"66":12928,"207":206,"85":15104,"24":26,"16":103863420297674752,"45":-9094315735013537792},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-08 17:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579482624001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:57:51] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-08 17:57:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103863420297674752,"km_value":103863420297674.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9094315735013537792,"description":"Unknown IO ID 45"} 
[2026-07-08 17:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579482624001,"power":12928,"unknown_207":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9094315735013537792}} 
[2026-07-08 17:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":127798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452893,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:57:51] local.INFO: GPS data processed {"connection_id":127798,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:57:51] local.INFO: Acknowledgment sent {"connection_id":127798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:57:55] local.INFO: TCP Data received {"connection_id":126578,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:57:55] local.INFO: Processing buffer {"connection_id":126578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:57:55] local.INFO: IMEI packet received {"connection_id":126578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":126578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:58:00] local.INFO: TCP Data received {"connection_id":125800,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:58:00] local.INFO: Processing buffer {"connection_id":125800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:58:00] local.INFO: IMEI packet received {"connection_id":125800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":125800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:58:00] local.INFO: TCP Data received {"connection_id":126578,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:58:00] local.INFO: Processing buffer {"connection_id":126578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:58:00] local.INFO: IMEI packet received {"connection_id":126578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":126578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:58:01] local.INFO: TCP Data received {"connection_id":126578,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b16688012d836c4005967660000601572f..."} 
[2026-07-08 17:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b16688012d836c4005967660000601572f..."} 
[2026-07-08 17:58:01] local.INFO: Processing buffer {"connection_id":126578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b16688012d836c4005967660000601572f..."} 
[2026-07-08 17:58:01] local.INFO: Packet analysis {"connection_id":126578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b1"} 
[2026-07-08 17:58:01] local.INFO: Extracted packet for processing {"connection_id":126578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b1"} 
[2026-07-08 17:58:01] local.INFO: GPS Element Parsed {"raw_longitude":763587648,"raw_latitude":93746784,"longitude_deg":76.3587648,"latitude_deg":9.3746784,"altitude":6,"angle":343,"satellites":47,"speed":48,"hex_longitude":"2d836c40","hex_latitude":"05967660","is_valid_coordinates":true} 
[2026-07-08 17:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579472640001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342938707495485440,"note":"Value kept but may cause issues"} 
[2026-07-08 17:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8973844446003961856,"note":"Value kept but may cause issues"} 
[2026-07-08 17:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783513573000,"timestamp_ms":1783513573000,"timestamp_seconds":1783513573,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b16688"} 
[2026-07-08 17:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 17:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:58:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579472640001,"66":27745,"18":206,"85":14592,"24":48,"16":342938707495485440,"45":-8973844446003961856},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-07-08 17:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579472640001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:58:01] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-08 17:58:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 17:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342938707495485440,"km_value":342938707495485.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8973844446003961856,"description":"Unknown IO ID 45"} 
[2026-07-08 17:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579472640001,"power":27745,"unknown_18":206,"unknown_85":14592,"ignition":48,"odometer":null,"unknown_45":-8973844446003961856}} 
[2026-07-08 17:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":126578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:58:01] local.INFO: GPS data processed {"connection_id":126578,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:58:01] local.INFO: Acknowledgment sent {"connection_id":126578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:58:05] local.INFO: TCP Data received {"connection_id":125800,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:58:05] local.INFO: Processing buffer {"connection_id":125800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:58:05] local.INFO: IMEI packet received {"connection_id":125800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":125800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:58:06] local.INFO: TCP Data received {"connection_id":125800,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b202c8012d184040072191b00052012628..."} 
[2026-07-08 17:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b202c8012d184040072191b00052012628..."} 
[2026-07-08 17:58:06] local.INFO: Processing buffer {"connection_id":125800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b202c8012d184040072191b00052012628..."} 
[2026-07-08 17:58:06] local.INFO: Packet analysis {"connection_id":125800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b2"} 
[2026-07-08 17:58:06] local.INFO: Extracted packet for processing {"connection_id":125800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b2"} 
[2026-07-08 17:58:06] local.INFO: GPS Element Parsed {"raw_longitude":756564032,"raw_latitude":119640496,"longitude_deg":75.6564032,"latitude_deg":11.9640496,"altitude":82,"angle":294,"satellites":40,"speed":23,"hex_longitude":"2d184040","hex_latitude":"072191b0","is_valid_coordinates":true} 
[2026-07-08 17:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579481856001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4907863424106496,"note":"Value kept but may cause issues"} 
[2026-07-08 17:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757037203999064064,"note":"Value kept but may cause issues"} 
[2026-07-08 17:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783513613000,"timestamp_ms":1783513613000,"timestamp_seconds":1783513613,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b202c8"} 
[2026-07-08 17:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-08 17:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579481856001,"66":14211,"106":206,"83":41984,"24":23,"16":4907863424106496,"45":1757037203999064064},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-08 17:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579481856001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:58:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-08 17:58:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4907863424106496,"km_value":4907863424106.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757037203999064064,"description":"Unknown IO ID 45"} 
[2026-07-08 17:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579481856001,"power":14211,"unknown_106":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1757037203999064064}} 
[2026-07-08 17:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":125800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:58:06] local.INFO: GPS data processed {"connection_id":125800,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:58:06] local.INFO: Acknowledgment sent {"connection_id":125800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:58:31] local.INFO: TCP Data received {"connection_id":127799,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127799,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:58:31] local.INFO: Processing buffer {"connection_id":127799,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:58:31] local.INFO: IMEI packet received {"connection_id":127799,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 17:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":127799,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:58:32] local.INFO: TCP Data received {"connection_id":126578,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b181e0012d83604005969740000601522d..."} 
[2026-07-08 17:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b181e0012d83604005969740000601522d..."} 
[2026-07-08 17:58:32] local.INFO: Processing buffer {"connection_id":126578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b181e0012d83604005969740000601522d..."} 
[2026-07-08 17:58:32] local.INFO: Packet analysis {"connection_id":126578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b1"} 
[2026-07-08 17:58:32] local.INFO: Extracted packet for processing {"connection_id":126578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b1"} 
[2026-07-08 17:58:32] local.INFO: GPS Element Parsed {"raw_longitude":763584576,"raw_latitude":93755200,"longitude_deg":76.3584576,"latitude_deg":9.37552,"altitude":6,"angle":338,"satellites":45,"speed":52,"hex_longitude":"2d836040","hex_latitude":"05969740","is_valid_coordinates":true} 
[2026-07-08 17:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579474688001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342939141287182336,"note":"Value kept but may cause issues"} 
[2026-07-08 17:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8976729564512886784,"note":"Value kept but may cause issues"} 
[2026-07-08 17:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783513580000,"timestamp_ms":1783513580000,"timestamp_seconds":1783513580,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b181e0"} 
[2026-07-08 17:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 17:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579474688001,"66":27713,"18":206,"85":14592,"24":52,"16":342939141287182336,"45":-8976729564512886784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-07-08 17:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579474688001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:58:32] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-08 17:58:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 17:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342939141287182336,"km_value":342939141287182.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8976729564512886784,"description":"Unknown IO ID 45"} 
[2026-07-08 17:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579474688001,"power":27713,"unknown_18":206,"unknown_85":14592,"ignition":52,"odometer":null,"unknown_45":-8976729564512886784}} 
[2026-07-08 17:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":126578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:58:32] local.INFO: GPS data processed {"connection_id":126578,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:58:32] local.INFO: Acknowledgment sent {"connection_id":126578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:58:36] local.INFO: TCP Data received {"connection_id":127799,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127799,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:58:36] local.INFO: Processing buffer {"connection_id":127799,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:58:36] local.INFO: IMEI packet received {"connection_id":127799,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":127799,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:58:36] local.INFO: TCP Data received {"connection_id":126579,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126579,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:58:36] local.INFO: Processing buffer {"connection_id":126579,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:58:36] local.INFO: IMEI packet received {"connection_id":126579,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 17:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":126579,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:58:37] local.INFO: TCP Data received {"connection_id":127799,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b250e8012d8212c005d342300008005e27..."} 
[2026-07-08 17:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b250e8012d8212c005d342300008005e27..."} 
[2026-07-08 17:58:37] local.INFO: Processing buffer {"connection_id":127799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b250e8012d8212c005d342300008005e27..."} 
[2026-07-08 17:58:37] local.INFO: Packet analysis {"connection_id":127799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b2"} 
[2026-07-08 17:58:37] local.INFO: Extracted packet for processing {"connection_id":127799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b2"} 
[2026-07-08 17:58:37] local.INFO: GPS Element Parsed {"raw_longitude":763499200,"raw_latitude":97731120,"longitude_deg":76.34992,"latitude_deg":9.773112,"altitude":8,"angle":94,"satellites":39,"speed":27,"hex_longitude":"2d8212c0","hex_latitude":"05d34230","is_valid_coordinates":true} 
[2026-07-08 17:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579486464001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103863871269240832,"note":"Value kept but may cause issues"} 
[2026-07-08 17:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9084323373340459008,"note":"Value kept but may cause issues"} 
[2026-07-08 17:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783513633000,"timestamp_ms":1783513633000,"timestamp_seconds":1783513633,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b250e8"} 
[2026-07-08 17:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-08 17:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579486464001,"66":12645,"207":206,"85":15104,"24":27,"16":103863871269240832,"45":-9084323373340459008},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-08 17:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579486464001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:58:37] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-08 17:58:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103863871269240832,"km_value":103863871269240.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9084323373340459008,"description":"Unknown IO ID 45"} 
[2026-07-08 17:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579486464001,"power":12645,"unknown_207":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9084323373340459008}} 
[2026-07-08 17:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":127799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452897,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:58:37] local.INFO: GPS data processed {"connection_id":127799,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:58:37] local.INFO: Acknowledgment sent {"connection_id":127799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:58:37] local.INFO: TCP Data received {"connection_id":125800,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b23590012d1829c007219ce0004e013427..."} 
[2026-07-08 17:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b23590012d1829c007219ce0004e013427..."} 
[2026-07-08 17:58:37] local.INFO: Processing buffer {"connection_id":125800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b23590012d1829c007219ce0004e013427..."} 
[2026-07-08 17:58:37] local.INFO: Packet analysis {"connection_id":125800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b2"} 
[2026-07-08 17:58:37] local.INFO: Extracted packet for processing {"connection_id":125800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b2"} 
[2026-07-08 17:58:37] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119643360,"longitude_deg":75.6558272,"latitude_deg":11.964336,"altitude":78,"angle":308,"satellites":39,"speed":14,"hex_longitude":"2d1829c0","hex_latitude":"07219ce0","is_valid_coordinates":true} 
[2026-07-08 17:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579484928001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4908168366784512,"note":"Value kept but may cause issues"} 
[2026-07-08 17:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747467054791897088,"note":"Value kept but may cause issues"} 
[2026-07-08 17:58: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-07-08 17:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783513626000,"timestamp_ms":1783513626000,"timestamp_seconds":1783513626,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b23590"} 
[2026-07-08 17:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 17:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579484928001,"66":14363,"107":206,"83":41984,"24":14,"16":4908168366784512,"45":1747467054791897088},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-08 17:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579484928001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:58:37] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-08 17:58:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4908168366784512,"km_value":4908168366784.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747467054791897088,"description":"Unknown IO ID 45"} 
[2026-07-08 17:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579484928001,"power":14363,"unknown_107":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1747467054791897088}} 
[2026-07-08 17:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":125800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:58:37] local.INFO: GPS data processed {"connection_id":125800,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:58:37] local.INFO: Acknowledgment sent {"connection_id":125800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:58:43] local.INFO: TCP Data received {"connection_id":127799,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b27fc8012d82378005d340d80008005628..."} 
[2026-07-08 17:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b27fc8012d82378005d340d80008005628..."} 
[2026-07-08 17:58:43] local.INFO: Processing buffer {"connection_id":127799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b27fc8012d82378005d340d80008005628..."} 
[2026-07-08 17:58:43] local.INFO: Packet analysis {"connection_id":127799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b2"} 
[2026-07-08 17:58:43] local.INFO: Extracted packet for processing {"connection_id":127799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b2"} 
[2026-07-08 17:58:43] local.INFO: GPS Element Parsed {"raw_longitude":763508608,"raw_latitude":97730776,"longitude_deg":76.3508608,"latitude_deg":9.7730776,"altitude":8,"angle":86,"satellites":40,"speed":33,"hex_longitude":"2d823780","hex_latitude":"05d340d8","is_valid_coordinates":true} 
[2026-07-08 17:58:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:58:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579490048001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:58:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103864322240806912,"note":"Value kept but may cause issues"} 
[2026-07-08 17:58:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9073979167946428416,"note":"Value kept but may cause issues"} 
[2026-07-08 17:58:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:58:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783513645000,"timestamp_ms":1783513645000,"timestamp_seconds":1783513645,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b27fc8"} 
[2026-07-08 17:58:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:58:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:58: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 17:58:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:58:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:58:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:58:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:58:43] local.INFO: Teltonika packet parsed successfully {"connection_id":127799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:58:43] local.INFO: Passing IMEI to GPS processor {"connection_id":127799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:58:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":127799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:58:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:58:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:58:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:58:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579490048001,"66":12982,"207":206,"85":15104,"24":33,"16":103864322240806912,"45":-9073979167946428416},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-08 17:58:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:58:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:58:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579490048001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:58:43] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-08 17:58:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:58:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103864322240806912,"km_value":103864322240806.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:58:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9073979167946428416,"description":"Unknown IO ID 45"} 
[2026-07-08 17:58:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579490048001,"power":12982,"unknown_207":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9073979167946428416}} 
[2026-07-08 17:58:43] local.INFO: DEBUG: GPS processor result {"connection_id":127799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452899,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:58:43] local.INFO: GPS data processed {"connection_id":127799,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:58:43] local.INFO: Acknowledgment sent {"connection_id":127799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:58:55] local.INFO: TCP Data received {"connection_id":125802,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:58:55] local.INFO: Processing buffer {"connection_id":125802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:58:55] local.INFO: IMEI packet received {"connection_id":125802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 17:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":125802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:58:56] local.INFO: TCP Data received {"connection_id":125801,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:58:56] local.INFO: Processing buffer {"connection_id":125801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 17:58:56] local.INFO: IMEI packet received {"connection_id":125801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 17:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":125801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:58:59] local.INFO: TCP Data received {"connection_id":127800,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:58:59] local.INFO: Processing buffer {"connection_id":127800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:58:59] local.INFO: IMEI packet received {"connection_id":127800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":127800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:59:01] local.INFO: TCP Data received {"connection_id":125802,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:59:01] local.INFO: Processing buffer {"connection_id":125802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 17:59:01] local.INFO: IMEI packet received {"connection_id":125802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 17:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":125802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:59:01] local.INFO: TCP Data received {"connection_id":125802,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b19d38012d8351800596b8480007014d2d..."} 
[2026-07-08 17:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b19d38012d8351800596b8480007014d2d..."} 
[2026-07-08 17:59:01] local.INFO: Processing buffer {"connection_id":125802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b19d38012d8351800596b8480007014d2d..."} 
[2026-07-08 17:59:01] local.INFO: Packet analysis {"connection_id":125802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b1"} 
[2026-07-08 17:59:01] local.INFO: Extracted packet for processing {"connection_id":125802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b1"} 
[2026-07-08 17:59:01] local.INFO: GPS Element Parsed {"raw_longitude":763580800,"raw_latitude":93763656,"longitude_deg":76.35808,"latitude_deg":9.3763656,"altitude":7,"angle":333,"satellites":45,"speed":52,"hex_longitude":"2d835180","hex_latitude":"0596b848","is_valid_coordinates":true} 
[2026-07-08 17: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-07-08 17:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579476480001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342939587963781120,"note":"Value kept but may cause issues"} 
[2026-07-08 17:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8980107264231260160,"note":"Value kept but may cause issues"} 
[2026-07-08 17:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783513587000,"timestamp_ms":1783513587000,"timestamp_seconds":1783513587,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b19d38"} 
[2026-07-08 17:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 17:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17: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-07-08 17:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579476480001,"66":27919,"18":206,"85":14592,"24":52,"16":342939587963781120,"45":-8980107264231260160},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-07-08 17:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579476480001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:59:01] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-08 17:59:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 17:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342939587963781120,"km_value":342939587963781.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8980107264231260160,"description":"Unknown IO ID 45"} 
[2026-07-08 17:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579476480001,"power":27919,"unknown_18":206,"unknown_85":14592,"ignition":52,"odometer":null,"unknown_45":-8980107264231260160}} 
[2026-07-08 17:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":125802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:59:01] local.INFO: GPS data processed {"connection_id":125802,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:59:01] local.INFO: Acknowledgment sent {"connection_id":125802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:59:05] local.INFO: TCP Data received {"connection_id":127800,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:59:05] local.INFO: Processing buffer {"connection_id":127800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:59:05] local.INFO: IMEI packet received {"connection_id":127800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 17:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":127800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:59:05] local.INFO: TCP Data received {"connection_id":127800,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b26858012d1820400721a5280050012729..."} 
[2026-07-08 17:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b26858012d1820400721a5280050012729..."} 
[2026-07-08 17:59:05] local.INFO: Processing buffer {"connection_id":127800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b26858012d1820400721a5280050012729..."} 
[2026-07-08 17:59:05] local.INFO: Packet analysis {"connection_id":127800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b2"} 
[2026-07-08 17:59:05] local.INFO: Extracted packet for processing {"connection_id":127800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b2"} 
[2026-07-08 17:59:05] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119645480,"longitude_deg":75.655584,"latitude_deg":11.964548,"altitude":80,"angle":295,"satellites":41,"speed":5,"hex_longitude":"2d182040","hex_latitude":"0721a528","is_valid_coordinates":true} 
[2026-07-08 17:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579488256001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4908322985607168,"note":"Value kept but may cause issues"} 
[2026-07-08 17:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816640512,"note":"Value kept but may cause issues"} 
[2026-07-08 17:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783513639000,"timestamp_ms":1783513639000,"timestamp_seconds":1783513639,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b26858"} 
[2026-07-08 17:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:59: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-07-08 17:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-08 17:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579488256001,"66":13993,"105":206,"83":41984,"24":5,"16":4908322985607168,"45":1741133867816640512},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 17:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579488256001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:59:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 17:59:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4908322985607168,"km_value":4908322985607.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816640512,"description":"Unknown IO ID 45"} 
[2026-07-08 17:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579488256001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1741133867816640512}} 
[2026-07-08 17:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":127800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:59:06] local.INFO: GPS data processed {"connection_id":127800,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:59:06] local.INFO: Acknowledgment sent {"connection_id":127800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:59:15] local.INFO: TCP Data received {"connection_id":127799,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b2aac0012d825d0005d34610000900532b..."} 
[2026-07-08 17:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b2aac0012d825d0005d34610000900532b..."} 
[2026-07-08 17:59:15] local.INFO: Processing buffer {"connection_id":127799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b2aac0012d825d0005d34610000900532b..."} 
[2026-07-08 17:59:15] local.INFO: Packet analysis {"connection_id":127799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b2"} 
[2026-07-08 17:59:15] local.INFO: Extracted packet for processing {"connection_id":127799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b2"} 
[2026-07-08 17:59:15] local.INFO: GPS Element Parsed {"raw_longitude":763518208,"raw_latitude":97732112,"longitude_deg":76.3518208,"latitude_deg":9.7732112,"altitude":9,"angle":83,"satellites":43,"speed":36,"hex_longitude":"2d825d00","hex_latitude":"05d34610","is_valid_coordinates":true} 
[2026-07-08 17:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579493120001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103864786097274880,"note":"Value kept but may cause issues"} 
[2026-07-08 17:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9063634962552399872,"note":"Value kept but may cause issues"} 
[2026-07-08 17:59: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-07-08 17:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783513656000,"timestamp_ms":1783513656000,"timestamp_seconds":1783513656,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b2aac0"} 
[2026-07-08 17:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:59:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-08 17:59:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":127799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":127799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":127799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579493120001,"66":12993,"207":206,"85":15104,"24":36,"16":103864786097274880,"45":-9063634962552399872},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-08 17:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579493120001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:59:15] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-08 17:59:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103864786097274880,"km_value":103864786097274.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9063634962552399872,"description":"Unknown IO ID 45"} 
[2026-07-08 17:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579493120001,"power":12993,"unknown_207":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9063634962552399872}} 
[2026-07-08 17:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":127799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452902,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:59:15] local.INFO: GPS data processed {"connection_id":127799,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:59:15] local.INFO: Acknowledgment sent {"connection_id":127799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:59:31] local.INFO: TCP Data received {"connection_id":125699,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125699,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:59:31] local.INFO: Processing buffer {"connection_id":125699,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:59:31] local.INFO: IMEI packet received {"connection_id":125699,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 17:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":125699,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 17:59:37] local.INFO: TCP Data received {"connection_id":127800,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b2ba60012d181c800721a7e0004e012c2c..."} 
[2026-07-08 17:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b2ba60012d181c800721a7e0004e012c2c..."} 
[2026-07-08 17:59:37] local.INFO: Processing buffer {"connection_id":127800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b2ba60012d181c800721a7e0004e012c2c..."} 
[2026-07-08 17:59:37] local.INFO: Packet analysis {"connection_id":127800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b2"} 
[2026-07-08 17:59:37] local.INFO: Extracted packet for processing {"connection_id":127800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b2"} 
[2026-07-08 17:59:37] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119646176,"longitude_deg":75.655488,"latitude_deg":11.9646176,"altitude":78,"angle":300,"satellites":44,"speed":5,"hex_longitude":"2d181c80","hex_latitude":"0721a7e0","is_valid_coordinates":true} 
[2026-07-08 17:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579491584001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4908383115149312,"note":"Value kept but may cause issues"} 
[2026-07-08 17:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855538432000,"note":"Value kept but may cause issues"} 
[2026-07-08 17:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783513660000,"timestamp_ms":1783513660000,"timestamp_seconds":1783513660,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b2ba60"} 
[2026-07-08 17:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 17:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 17:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 17:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 17:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579491584001,"66":13993,"105":206,"83":41984,"24":5,"16":4908383115149312,"45":1738459855538432000},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 17:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 17:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 17:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579491584001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:59:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 17:59:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 17:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4908383115149312,"km_value":4908383115149.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855538432000,"description":"Unknown IO ID 45"} 
[2026-07-08 17:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579491584001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1738459855538432000}} 
[2026-07-08 17:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":127800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:59:37] local.INFO: GPS data processed {"connection_id":127800,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:59:37] local.INFO: Acknowledgment sent {"connection_id":127800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:59:37] local.INFO: TCP Data received {"connection_id":125699,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125699,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:59:37] local.INFO: Processing buffer {"connection_id":125699,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 17:59:37] local.INFO: IMEI packet received {"connection_id":125699,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 17:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":125699,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 17:59:37] local.INFO: TCP Data received {"connection_id":125802,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b38d50012d82af00059826c8000a014a30..."} 
[2026-07-08 17:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b38d50012d82af00059826c8000a014a30..."} 
[2026-07-08 17:59:37] local.INFO: Processing buffer {"connection_id":125802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b38d50012d82af00059826c8000a014a30..."} 
[2026-07-08 17:59:37] local.INFO: Packet analysis {"connection_id":125802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b3"} 
[2026-07-08 17:59:37] local.INFO: Extracted packet for processing {"connection_id":125802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b3"} 
[2026-07-08 17:59:37] local.INFO: GPS Element Parsed {"raw_longitude":763539200,"raw_latitude":93857480,"longitude_deg":76.35392,"latitude_deg":9.385748,"altitude":10,"angle":330,"satellites":48,"speed":41,"hex_longitude":"2d82af00","hex_latitude":"059826c8","is_valid_coordinates":true} 
[2026-07-08 17:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579508224001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342944565830877184,"note":"Value kept but may cause issues"} 
[2026-07-08 17:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9025072891736840192,"note":"Value kept but may cause issues"} 
[2026-07-08 17:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783513714000,"timestamp_ms":1783513714000,"timestamp_seconds":1783513714,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b38d50"} 
[2026-07-08 17:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 17:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 17:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 17:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 17:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579508224001,"66":27974,"19":206,"85":14592,"24":41,"16":342944565830877184,"45":-9025072891736840192},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-07-08 17:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 17:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 17:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579508224001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:59:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-08 17:59:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 17:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342944565830877184,"km_value":342944565830877.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9025072891736840192,"description":"Unknown IO ID 45"} 
[2026-07-08 17:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579508224001,"power":27974,"unknown_19":206,"unknown_85":14592,"ignition":41,"odometer":null,"unknown_45":-9025072891736840192}} 
[2026-07-08 17:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":125802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:59:37] local.INFO: GPS data processed {"connection_id":125802,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:59:37] local.INFO: Acknowledgment sent {"connection_id":125802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:59:38] local.INFO: TCP Data received {"connection_id":125699,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b3eb10012d82870005d2f358000d00a62c..."} 
[2026-07-08 17:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b3eb10012d82870005d2f358000d00a62c..."} 
[2026-07-08 17:59:38] local.INFO: Processing buffer {"connection_id":125699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b3eb10012d82870005d2f358000d00a62c..."} 
[2026-07-08 17:59:38] local.INFO: Packet analysis {"connection_id":125699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b3"} 
[2026-07-08 17:59:38] local.INFO: Extracted packet for processing {"connection_id":125699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b3"} 
[2026-07-08 17:59:38] local.INFO: GPS Element Parsed {"raw_longitude":763528960,"raw_latitude":97710936,"longitude_deg":76.352896,"latitude_deg":9.7710936,"altitude":13,"angle":166,"satellites":44,"speed":0,"hex_longitude":"2d828700","hex_latitude":"05d2f358","is_valid_coordinates":true} 
[2026-07-08 17:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 17:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579511808001,"note":"Value kept but may cause issues"} 
[2026-07-08 17:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103866340875436032,"note":"Value kept but may cause issues"} 
[2026-07-08 17:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041891020605915136,"note":"Value kept but may cause issues"} 
[2026-07-08 17:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 17:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783513738000,"timestamp_ms":1783513738000,"timestamp_seconds":1783513738,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b3eb10"} 
[2026-07-08 17:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 17:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 17:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-08 17:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 17:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 17:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 17:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 17:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 17:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 17:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 17:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 17:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 17:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579511808001,"66":13135,"221":206,"85":15104,"24":0,"16":103866340875436032,"45":-9041891020605915136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-08 17:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 17:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 17:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579511808001,"description":"Unknown IO ID 0"} 
[2026-07-08 17:59:38] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-08 17:59:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 17:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103866340875436032,"km_value":103866340875436.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 17:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041891020605915136,"description":"Unknown IO ID 45"} 
[2026-07-08 17:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579511808001,"power":13135,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9041891020605915136}} 
[2026-07-08 17:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":125699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452905,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 17:59:38] local.INFO: GPS data processed {"connection_id":125699,"processed":1,"errors":0,"total":1} 
[2026-07-08 17:59:38] local.INFO: Acknowledgment sent {"connection_id":125699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 17:59:59] local.INFO: TCP Data received {"connection_id":126580,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:59:59] local.INFO: Processing buffer {"connection_id":126580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 17:59:59] local.INFO: IMEI packet received {"connection_id":126580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 17:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":126580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:00:05] local.INFO: TCP Data received {"connection_id":126580,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:00:05] local.INFO: Processing buffer {"connection_id":126580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:00:05] local.INFO: IMEI packet received {"connection_id":126580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":126580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:00:05] local.INFO: TCP Data received {"connection_id":127802,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:00:05] local.INFO: Processing buffer {"connection_id":127802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:00:05] local.INFO: IMEI packet received {"connection_id":127802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":127802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:00:05] local.INFO: TCP Data received {"connection_id":127802,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:00:05] local.INFO: Processing buffer {"connection_id":127802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:00:05] local.INFO: IMEI packet received {"connection_id":127802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":127802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:00:05] local.INFO: TCP Data received {"connection_id":126580,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b2be48012d181c800721a870004e000a2c..."} 
[2026-07-08 18:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b2be48012d181c800721a870004e000a2c..."} 
[2026-07-08 18:00:05] local.INFO: Processing buffer {"connection_id":126580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b2be48012d181c800721a870004e000a2c..."} 
[2026-07-08 18:00:05] local.INFO: Packet analysis {"connection_id":126580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b2"} 
[2026-07-08 18:00:05] local.INFO: Extracted packet for processing {"connection_id":126580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b2"} 
[2026-07-08 18:00:05] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119646320,"longitude_deg":75.655488,"latitude_deg":11.964632,"altitude":78,"angle":10,"satellites":44,"speed":7,"hex_longitude":"2d181c80","hex_latitude":"0721a870","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579496960001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4908391705083904,"note":"Value kept but may cause issues"} 
[2026-07-08 18:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375945216,"note":"Value kept but may cause issues"} 
[2026-07-08 18:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783513661000,"timestamp_ms":1783513661000,"timestamp_seconds":1783513661,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b2be48"} 
[2026-07-08 18:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:00: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-07-08 18: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 18:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579496960001,"66":13243,"105":206,"83":41984,"24":7,"16":4908391705083904,"45":1737404324375945216},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579496960001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:00:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:00:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4908391705083904,"km_value":4908391705083.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375945216,"description":"Unknown IO ID 45"} 
[2026-07-08 18:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579496960001,"power":13243,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1737404324375945216}} 
[2026-07-08 18:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":126580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:00:06] local.INFO: GPS data processed {"connection_id":126580,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:00:06] local.INFO: Acknowledgment sent {"connection_id":126580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:00:11] local.INFO: TCP Data received {"connection_id":125699,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b43d18012d828bc005d2d548001200a62c..."} 
[2026-07-08 18:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b43d18012d828bc005d2d548001200a62c..."} 
[2026-07-08 18:00:11] local.INFO: Processing buffer {"connection_id":125699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b43d18012d828bc005d2d548001200a62c..."} 
[2026-07-08 18:00:11] local.INFO: Packet analysis {"connection_id":125699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b4"} 
[2026-07-08 18:00:11] local.INFO: Extracted packet for processing {"connection_id":125699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b4"} 
[2026-07-08 18:00:11] local.INFO: GPS Element Parsed {"raw_longitude":763530176,"raw_latitude":97703240,"longitude_deg":76.3530176,"latitude_deg":9.770324,"altitude":18,"angle":166,"satellites":44,"speed":14,"hex_longitude":"2d828bc0","hex_latitude":"05d2d548","is_valid_coordinates":true} 
[2026-07-08 18:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579516928001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103866723127525376,"note":"Value kept but may cause issues"} 
[2026-07-08 18:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041257701908981760,"note":"Value kept but may cause issues"} 
[2026-07-08 18:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783513759000,"timestamp_ms":1783513759000,"timestamp_seconds":1783513759,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b43d18"} 
[2026-07-08 18:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-08 18:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579516928001,"66":12874,"221":206,"85":15104,"24":14,"16":103866723127525376,"45":-9041257701908981760},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-08 18:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579516928001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:00:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-08 18:00:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103866723127525376,"km_value":103866723127525.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041257701908981760,"description":"Unknown IO ID 45"} 
[2026-07-08 18:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579516928001,"power":12874,"unknown_221":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":-9041257701908981760}} 
[2026-07-08 18:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":125699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452907,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:00:11] local.INFO: GPS data processed {"connection_id":125699,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:00:11] local.INFO: Acknowledgment sent {"connection_id":125699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:00:11] local.INFO: TCP Data received {"connection_id":127802,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:00:11] local.INFO: Processing buffer {"connection_id":127802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:00:11] local.INFO: IMEI packet received {"connection_id":127802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":127802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:00:12] local.INFO: TCP Data received {"connection_id":127802,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b3ac90012d82a180059843d8000a015730..."} 
[2026-07-08 18:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b3ac90012d82a180059843d8000a015730..."} 
[2026-07-08 18:00:12] local.INFO: Processing buffer {"connection_id":127802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b3ac90012d82a180059843d8000a015730..."} 
[2026-07-08 18:00:12] local.INFO: Packet analysis {"connection_id":127802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b3"} 
[2026-07-08 18:00:12] local.INFO: Extracted packet for processing {"connection_id":127802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b3"} 
[2026-07-08 18:00:12] local.INFO: GPS Element Parsed {"raw_longitude":763535744,"raw_latitude":93864920,"longitude_deg":76.3535744,"latitude_deg":9.386492,"altitude":10,"angle":343,"satellites":48,"speed":41,"hex_longitude":"2d82a180","hex_latitude":"059843d8","is_valid_coordinates":true} 
[2026-07-08 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-07-08 18:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579510784001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342944965262835712,"note":"Value kept but may cause issues"} 
[2026-07-08 18:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9029998703827040256,"note":"Value kept but may cause issues"} 
[2026-07-08 18:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783513722000,"timestamp_ms":1783513722000,"timestamp_seconds":1783513722,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b3ac90"} 
[2026-07-08 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-07-08 18:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-08 18:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 18:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":127802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":127802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":127802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579510784001,"66":27767,"19":206,"85":14592,"24":41,"16":342944965262835712,"45":-9029998703827040256},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-07-08 18:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579510784001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:00:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-08 18:00:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 18:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342944965262835712,"km_value":342944965262835.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9029998703827040256,"description":"Unknown IO ID 45"} 
[2026-07-08 18:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579510784001,"power":27767,"unknown_19":206,"unknown_85":14592,"ignition":41,"odometer":null,"unknown_45":-9029998703827040256}} 
[2026-07-08 18:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":127802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:00:12] local.INFO: GPS data processed {"connection_id":127802,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:00:12] local.INFO: Acknowledgment sent {"connection_id":127802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:00:30] local.INFO: TCP Data received {"connection_id":126581,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126581,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:00:30] local.INFO: Processing buffer {"connection_id":126581,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:00:30] local.INFO: IMEI packet received {"connection_id":126581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":126581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:00:31] local.INFO: TCP Data received {"connection_id":126581,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126581,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:00:31] local.INFO: Processing buffer {"connection_id":126581,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:00:31] local.INFO: IMEI packet received {"connection_id":126581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":126581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:00:36] local.INFO: TCP Data received {"connection_id":126581,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126581,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:00:36] local.INFO: Processing buffer {"connection_id":126581,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:00:36] local.INFO: IMEI packet received {"connection_id":126581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":126581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:00:36] local.INFO: TCP Data received {"connection_id":126581,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b477b0012d82904005d2b1f8001000b12c..."} 
[2026-07-08 18:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b477b0012d82904005d2b1f8001000b12c..."} 
[2026-07-08 18:00:36] local.INFO: Processing buffer {"connection_id":126581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b477b0012d82904005d2b1f8001000b12c..."} 
[2026-07-08 18:00:36] local.INFO: Packet analysis {"connection_id":126581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b4"} 
[2026-07-08 18:00:36] local.INFO: Extracted packet for processing {"connection_id":126581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b4"} 
[2026-07-08 18:00:36] local.INFO: GPS Element Parsed {"raw_longitude":763531328,"raw_latitude":97694200,"longitude_deg":76.3531328,"latitude_deg":9.76942,"altitude":16,"angle":177,"satellites":44,"speed":24,"hex_longitude":"2d829040","hex_latitude":"05d2b1f8","is_valid_coordinates":true} 
[2026-07-08 18:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579522304001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103867165509156864,"note":"Value kept but may cause issues"} 
[2026-07-08 18:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9039920695771576320,"note":"Value kept but may cause issues"} 
[2026-07-08 18:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783513774000,"timestamp_ms":1783513774000,"timestamp_seconds":1783513774,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b477b0"} 
[2026-07-08 18:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-08 18:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579522304001,"66":13015,"221":206,"85":15104,"24":24,"16":103867165509156864,"45":-9039920695771576320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-08 18:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579522304001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:00:36] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-08 18:00:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103867165509156864,"km_value":103867165509156.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9039920695771576320,"description":"Unknown IO ID 45"} 
[2026-07-08 18:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579522304001,"power":13015,"unknown_221":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9039920695771576320}} 
[2026-07-08 18:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":126581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452909,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:00:36] local.INFO: GPS data processed {"connection_id":126581,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:00:36] local.INFO: Acknowledgment sent {"connection_id":126581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:00:37] local.INFO: TCP Data received {"connection_id":126580,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b2c618012d181d000721aa00004e001a2c..."} 
[2026-07-08 18:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b2c618012d181d000721aa00004e001a2c..."} 
[2026-07-08 18:00:37] local.INFO: Processing buffer {"connection_id":126580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b2c618012d181d000721aa00004e001a2c..."} 
[2026-07-08 18:00:37] local.INFO: Packet analysis {"connection_id":126580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b2"} 
[2026-07-08 18:00:37] local.INFO: Extracted packet for processing {"connection_id":126580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b2"} 
[2026-07-08 18:00:37] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119646720,"longitude_deg":75.6555008,"latitude_deg":11.964672,"altitude":78,"angle":26,"satellites":44,"speed":8,"hex_longitude":"2d181d00","hex_latitude":"0721aa00","is_valid_coordinates":true} 
[2026-07-08 18:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579497216001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4908413179920384,"note":"Value kept but may cause issues"} 
[2026-07-08 18:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375982080,"note":"Value kept but may cause issues"} 
[2026-07-08 18:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783513663000,"timestamp_ms":1783513663000,"timestamp_seconds":1783513663,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b2c618"} 
[2026-07-08 18:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-08 18:00: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-07-08 18:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579497216001,"66":13167,"105":206,"83":41984,"24":8,"16":4908413179920384,"45":1737404324375982080},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579497216001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:00:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:00:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4908413179920384,"km_value":4908413179920.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375982080,"description":"Unknown IO ID 45"} 
[2026-07-08 18:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579497216001,"power":13167,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737404324375982080}} 
[2026-07-08 18:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":126580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:00:37] local.INFO: GPS data processed {"connection_id":126580,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:00:37] local.INFO: Acknowledgment sent {"connection_id":126580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:00:55] local.INFO: TCP Data received {"connection_id":125803,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:00:55] local.INFO: Processing buffer {"connection_id":125803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:00:55] local.INFO: IMEI packet received {"connection_id":125803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":125803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:01:00] local.INFO: TCP Data received {"connection_id":125803,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:01:00] local.INFO: Processing buffer {"connection_id":125803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:01:00] local.INFO: IMEI packet received {"connection_id":125803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":125803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:01:01] local.INFO: TCP Data received {"connection_id":125803,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b3cbd0012d829ac005986298000a016330..."} 
[2026-07-08 18:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b3cbd0012d829ac005986298000a016330..."} 
[2026-07-08 18:01:01] local.INFO: Processing buffer {"connection_id":125803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b3cbd0012d829ac005986298000a016330..."} 
[2026-07-08 18:01:01] local.INFO: Packet analysis {"connection_id":125803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b3"} 
[2026-07-08 18:01:01] local.INFO: Extracted packet for processing {"connection_id":125803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b3"} 
[2026-07-08 18:01:01] local.INFO: GPS Element Parsed {"raw_longitude":763534016,"raw_latitude":93872792,"longitude_deg":76.3534016,"latitude_deg":9.3872792,"altitude":10,"angle":355,"satellites":48,"speed":34,"hex_longitude":"2d829ac0","hex_latitude":"05986298","is_valid_coordinates":true} 
[2026-07-08 18:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579512832001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342945356104859648,"note":"Value kept but may cause issues"} 
[2026-07-08 18:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033798616010729472,"note":"Value kept but may cause issues"} 
[2026-07-08 18:01:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783513730000,"timestamp_ms":1783513730000,"timestamp_seconds":1783513730,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b3cbd0"} 
[2026-07-08 18:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:01:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 18:01:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:01:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579512832001,"66":27876,"17":206,"85":14592,"24":34,"16":342945356104859648,"45":-9033798616010729472},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-07-08 18:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579512832001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:01:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 18:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342945356104859648,"km_value":342945356104859.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033798616010729472,"description":"Unknown IO ID 45"} 
[2026-07-08 18:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579512832001,"power":27876,"axis_x":206,"unknown_85":14592,"ignition":34,"odometer":null,"unknown_45":-9033798616010729472}} 
[2026-07-08 18:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":125803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:01:01] local.INFO: GPS data processed {"connection_id":125803,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:01:01] local.INFO: Acknowledgment sent {"connection_id":125803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:01:05] local.INFO: TCP Data received {"connection_id":126582,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:01:05] local.INFO: Processing buffer {"connection_id":126582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:01:05] local.INFO: IMEI packet received {"connection_id":126582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":126582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:01:10] local.INFO: TCP Data received {"connection_id":126582,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:01:10] local.INFO: Processing buffer {"connection_id":126582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:01:10] local.INFO: IMEI packet received {"connection_id":126582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":126582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:01:10] local.INFO: TCP Data received {"connection_id":126582,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b2f110012d1824800721b690004d015e2b..."} 
[2026-07-08 18:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b2f110012d1824800721b690004d015e2b..."} 
[2026-07-08 18:01:10] local.INFO: Processing buffer {"connection_id":126582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b2f110012d1824800721b690004d015e2b..."} 
[2026-07-08 18:01:10] local.INFO: Packet analysis {"connection_id":126582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b2"} 
[2026-07-08 18:01:10] local.INFO: Extracted packet for processing {"connection_id":126582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b2"} 
[2026-07-08 18:01:10] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649936,"longitude_deg":75.6556928,"latitude_deg":11.9649936,"altitude":77,"angle":350,"satellites":43,"speed":8,"hex_longitude":"2d182480","hex_latitude":"0721b690","is_valid_coordinates":true} 
[2026-07-08 18:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579497728001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4908593568546816,"note":"Value kept but may cause issues"} 
[2026-07-08 18:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864439808,"note":"Value kept but may cause issues"} 
[2026-07-08 18:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783513674000,"timestamp_ms":1783513674000,"timestamp_seconds":1783513674,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b2f110"} 
[2026-07-08 18:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:01: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-07-08 18: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-08 18:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579497728001,"66":13254,"105":206,"83":41984,"24":8,"16":4908593568546816,"45":1737545061864439808},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579497728001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:01:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:01:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4908593568546816,"km_value":4908593568546.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864439808,"description":"Unknown IO ID 45"} 
[2026-07-08 18:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579497728001,"power":13254,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737545061864439808}} 
[2026-07-08 18:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":126582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:01:11] local.INFO: GPS data processed {"connection_id":126582,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:01:11] local.INFO: Acknowledgment sent {"connection_id":126582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:01:15] local.INFO: TCP Data received {"connection_id":126582,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b2f4f8012d1824400721b740004d01392b..."} 
[2026-07-08 18:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b2f4f8012d1824400721b740004d01392b..."} 
[2026-07-08 18:01:15] local.INFO: Processing buffer {"connection_id":126582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b2f4f8012d1824400721b740004d01392b..."} 
[2026-07-08 18:01:15] local.INFO: Packet analysis {"connection_id":126582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b2"} 
[2026-07-08 18:01:15] local.INFO: Extracted packet for processing {"connection_id":126582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b2"} 
[2026-07-08 18:01:15] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650112,"longitude_deg":75.6556864,"latitude_deg":11.9650112,"altitude":77,"angle":313,"satellites":43,"speed":7,"hex_longitude":"2d182440","hex_latitude":"0721b740","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579500544001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4908602158481408,"note":"Value kept but may cause issues"} 
[2026-07-08 18:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190593024,"note":"Value kept but may cause issues"} 
[2026-07-08 18:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783513675000,"timestamp_ms":1783513675000,"timestamp_seconds":1783513675,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b2f4f8"} 
[2026-07-08 18:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:01: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-07-08 18: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-08 18:01:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":126582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":126582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":126582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579500544001,"66":13222,"105":206,"83":41984,"24":7,"16":4908602158481408,"45":1739656124190593024},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579500544001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:01:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:01:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4908602158481408,"km_value":4908602158481.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190593024,"description":"Unknown IO ID 45"} 
[2026-07-08 18:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579500544001,"power":13222,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1739656124190593024}} 
[2026-07-08 18:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":126582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:01:15] local.INFO: GPS data processed {"connection_id":126582,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:01:15] local.INFO: Acknowledgment sent {"connection_id":126582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:01:16] local.INFO: TCP Data received {"connection_id":126581,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b48750012d828fc005d2a8c0001000bc2c..."} 
[2026-07-08 18:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b48750012d828fc005d2a8c0001000bc2c..."} 
[2026-07-08 18:01:16] local.INFO: Processing buffer {"connection_id":126581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b48750012d828fc005d2a8c0001000bc2c..."} 
[2026-07-08 18:01:16] local.INFO: Packet analysis {"connection_id":126581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b4"} 
[2026-07-08 18:01:16] local.INFO: Extracted packet for processing {"connection_id":126581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b4"} 
[2026-07-08 18:01:16] local.INFO: GPS Element Parsed {"raw_longitude":763531200,"raw_latitude":97691840,"longitude_deg":76.35312,"latitude_deg":9.769184,"altitude":16,"angle":188,"satellites":44,"speed":22,"hex_longitude":"2d828fc0","hex_latitude":"05d2a8c0","is_valid_coordinates":true} 
[2026-07-08 18:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579526144001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103867281473273856,"note":"Value kept but may cause issues"} 
[2026-07-08 18:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9038654058378692608,"note":"Value kept but may cause issues"} 
[2026-07-08 18:01:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783513778000,"timestamp_ms":1783513778000,"timestamp_seconds":1783513778,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b48750"} 
[2026-07-08 18:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:01: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-07-08 18: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-08 18:01: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-07-08 18:01:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":126581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":126581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":126581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579526144001,"66":13015,"221":206,"85":15104,"24":22,"16":103867281473273856,"45":-9038654058378692608},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-08 18:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579526144001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:01:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-08 18:01:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103867281473273856,"km_value":103867281473273.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9038654058378692608,"description":"Unknown IO ID 45"} 
[2026-07-08 18:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579526144001,"power":13015,"unknown_221":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9038654058378692608}} 
[2026-07-08 18:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":126581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452914,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:01:16] local.INFO: GPS data processed {"connection_id":126581,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:01:16] local.INFO: Acknowledgment sent {"connection_id":126581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:01:31] local.INFO: TCP Data received {"connection_id":125701,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:01:31] local.INFO: Processing buffer {"connection_id":125701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:01:31] local.INFO: IMEI packet received {"connection_id":125701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":125701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:01:32] local.INFO: TCP Data received {"connection_id":125803,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b3fe98012d8298c005988598000a016331..."} 
[2026-07-08 18:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b3fe98012d8298c005988598000a016331..."} 
[2026-07-08 18:01:32] local.INFO: Processing buffer {"connection_id":125803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b3fe98012d8298c005988598000a016331..."} 
[2026-07-08 18:01:32] local.INFO: Packet analysis {"connection_id":125803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b3"} 
[2026-07-08 18:01:32] local.INFO: Extracted packet for processing {"connection_id":125803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b3"} 
[2026-07-08 18:01:32] local.INFO: GPS Element Parsed {"raw_longitude":763533504,"raw_latitude":93881752,"longitude_deg":76.3533504,"latitude_deg":9.3881752,"altitude":10,"angle":355,"satellites":49,"speed":27,"hex_longitude":"2d8298c0","hex_latitude":"05988598","is_valid_coordinates":true} 
[2026-07-08 18:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579514880001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342945789896556544,"note":"Value kept but may cause issues"} 
[2026-07-08 18:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035698572101511168,"note":"Value kept but may cause issues"} 
[2026-07-08 18:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783513743000,"timestamp_ms":1783513743000,"timestamp_seconds":1783513743,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b3fe98"} 
[2026-07-08 18:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:01: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":228,"data_length":795,"current_offset":136} 
[2026-07-08 18:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579514880001,"66":27767,"18":206,"85":14592,"24":27,"16":342945789896556544,"45":-9035698572101511168},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-07-08 18:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579514880001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:01:32] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-08 18:01:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 18:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342945789896556544,"km_value":342945789896556.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035698572101511168,"description":"Unknown IO ID 45"} 
[2026-07-08 18:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579514880001,"power":27767,"unknown_18":206,"unknown_85":14592,"ignition":27,"odometer":null,"unknown_45":-9035698572101511168}} 
[2026-07-08 18:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":125803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:01:32] local.INFO: GPS data processed {"connection_id":125803,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:01:32] local.INFO: Acknowledgment sent {"connection_id":125803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:01:41] local.INFO: TCP Data received {"connection_id":125701,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:01:41] local.INFO: Processing buffer {"connection_id":125701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:01:41] local.INFO: IMEI packet received {"connection_id":125701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":125701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:01:51] local.INFO: TCP Data received {"connection_id":125701,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:01:51] local.INFO: Processing buffer {"connection_id":125701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:01:51] local.INFO: IMEI packet received {"connection_id":125701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":125701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:01:52] local.INFO: TCP Data received {"connection_id":125701,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b49ad8012d828f0005d29cf8001000ae2c..."} 
[2026-07-08 18:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b49ad8012d828f0005d29cf8001000ae2c..."} 
[2026-07-08 18:01:52] local.INFO: Processing buffer {"connection_id":125701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b49ad8012d828f0005d29cf8001000ae2c..."} 
[2026-07-08 18:01:52] local.INFO: Packet analysis {"connection_id":125701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b4"} 
[2026-07-08 18:01:52] local.INFO: Extracted packet for processing {"connection_id":125701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b4"} 
[2026-07-08 18:01:52] local.INFO: GPS Element Parsed {"raw_longitude":763531008,"raw_latitude":97688824,"longitude_deg":76.3531008,"latitude_deg":9.7688824,"altitude":16,"angle":174,"satellites":44,"speed":24,"hex_longitude":"2d828f00","hex_latitude":"05d29cf8","is_valid_coordinates":true} 
[2026-07-08 18:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579527168001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103867427502161920,"note":"Value kept but may cause issues"} 
[2026-07-08 18:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9038794795867652096,"note":"Value kept but may cause issues"} 
[2026-07-08 18:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783513783000,"timestamp_ms":1783513783000,"timestamp_seconds":1783513783,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b49ad8"} 
[2026-07-08 18:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-08 18:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":125701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":125701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":125701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579527168001,"66":13015,"221":206,"85":15104,"24":24,"16":103867427502161920,"45":-9038794795867652096},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-08 18:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579527168001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:01:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-08 18:01:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103867427502161920,"km_value":103867427502161.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9038794795867652096,"description":"Unknown IO ID 45"} 
[2026-07-08 18:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579527168001,"power":13015,"unknown_221":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9038794795867652096}} 
[2026-07-08 18:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":125701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452916,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:01:52] local.INFO: GPS data processed {"connection_id":125701,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:01:52] local.INFO: Acknowledgment sent {"connection_id":125701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:01:53] local.INFO: TCP Data received {"connection_id":125701,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b4d570012d8292c005d278c8000c00ae2b..."} 
[2026-07-08 18:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b4d570012d8292c005d278c8000c00ae2b..."} 
[2026-07-08 18:01:53] local.INFO: Processing buffer {"connection_id":125701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b4d570012d8292c005d278c8000c00ae2b..."} 
[2026-07-08 18:01:53] local.INFO: Packet analysis {"connection_id":125701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b4"} 
[2026-07-08 18:01:53] local.INFO: Extracted packet for processing {"connection_id":125701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b4"} 
[2026-07-08 18:01:53] local.INFO: GPS Element Parsed {"raw_longitude":763531968,"raw_latitude":97679560,"longitude_deg":76.3531968,"latitude_deg":9.767956,"altitude":12,"angle":174,"satellites":43,"speed":24,"hex_longitude":"2d8292c0","hex_latitude":"05d278c8","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579528448001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103867878473728000,"note":"Value kept but may cause issues"} 
[2026-07-08 18:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9039005902100957184,"note":"Value kept but may cause issues"} 
[2026-07-08 18:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783513798000,"timestamp_ms":1783513798000,"timestamp_seconds":1783513798,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b4d570"} 
[2026-07-08 18:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-08 18:01:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":125701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":125701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":125701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579528448001,"66":12961,"221":206,"85":15104,"24":24,"16":103867878473728000,"45":-9039005902100957184},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-08 18:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579528448001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:01:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-08 18:01:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103867878473728000,"km_value":103867878473728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9039005902100957184,"description":"Unknown IO ID 45"} 
[2026-07-08 18:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579528448001,"power":12961,"unknown_221":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9039005902100957184}} 
[2026-07-08 18:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":125701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452917,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:01:53] local.INFO: GPS data processed {"connection_id":125701,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:01:53] local.INFO: Acknowledgment sent {"connection_id":125701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:02:00] local.INFO: TCP Data received {"connection_id":126583,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:02:00] local.INFO: Processing buffer {"connection_id":126583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:02:00] local.INFO: IMEI packet received {"connection_id":126583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":126583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:02:00] local.INFO: TCP Data received {"connection_id":127803,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:02:00] local.INFO: Processing buffer {"connection_id":127803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:02:00] local.INFO: IMEI packet received {"connection_id":127803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":127803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:02:00] local.INFO: TCP Data received {"connection_id":126583,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:02:00] local.INFO: Processing buffer {"connection_id":126583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:02:00] local.INFO: IMEI packet received {"connection_id":126583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":126583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:02:01] local.INFO: TCP Data received {"connection_id":126583,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b2f8e0012d1823800721b790004d011f2b..."} 
[2026-07-08 18:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b2f8e0012d1823800721b790004d011f2b..."} 
[2026-07-08 18:02:01] local.INFO: Processing buffer {"connection_id":126583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b2f8e0012d1823800721b790004d011f2b..."} 
[2026-07-08 18:02:01] local.INFO: Packet analysis {"connection_id":126583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b2"} 
[2026-07-08 18:02:01] local.INFO: Extracted packet for processing {"connection_id":126583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b2"} 
[2026-07-08 18:02:01] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650192,"longitude_deg":75.6556672,"latitude_deg":11.9650192,"altitude":77,"angle":287,"satellites":43,"speed":5,"hex_longitude":"2d182380","hex_latitude":"0721b790","is_valid_coordinates":true} 
[2026-07-08 18:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579500800001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4908610748416000,"note":"Value kept but may cause issues"} 
[2026-07-08 18:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446460416,"note":"Value kept but may cause issues"} 
[2026-07-08 18:02:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783513676000,"timestamp_ms":1783513676000,"timestamp_seconds":1783513676,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b2f8e0"} 
[2026-07-08 18:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:02: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-07-08 18:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-08 18:02:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:02:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:02:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579500800001,"66":13222,"105":206,"83":41984,"24":5,"16":4908610748416000,"45":1739585755446460416},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579500800001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:02:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:02:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4908610748416000,"km_value":4908610748416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446460416,"description":"Unknown IO ID 45"} 
[2026-07-08 18:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579500800001,"power":13222,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739585755446460416}} 
[2026-07-08 18:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":126583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:02:01] local.INFO: GPS data processed {"connection_id":126583,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:02:01] local.INFO: Acknowledgment sent {"connection_id":126583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:02:03] local.INFO: TCP Data received {"connection_id":127803,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:02:03] local.INFO: Processing buffer {"connection_id":127803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:02:03] local.INFO: IMEI packet received {"connection_id":127803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":127803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:02:03] local.INFO: TCP Data received {"connection_id":127803,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b5a860012d8285400599f9700004015830..."} 
[2026-07-08 18:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b5a860012d8285400599f9700004015830..."} 
[2026-07-08 18:02:03] local.INFO: Processing buffer {"connection_id":127803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b5a860012d8285400599f9700004015830..."} 
[2026-07-08 18:02:03] local.INFO: Packet analysis {"connection_id":127803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b5"} 
[2026-07-08 18:02:03] local.INFO: Extracted packet for processing {"connection_id":127803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b5"} 
[2026-07-08 18:02:03] local.INFO: GPS Element Parsed {"raw_longitude":763528512,"raw_latitude":93976944,"longitude_deg":76.3528512,"latitude_deg":9.3976944,"altitude":4,"angle":344,"satellites":48,"speed":31,"hex_longitude":"2d828540","hex_latitude":"0599f970","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579543808001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342950518655549440,"note":"Value kept but may cause issues"} 
[2026-07-08 18:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9039076271797618688,"note":"Value kept but may cause issues"} 
[2026-07-08 18:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783513852000,"timestamp_ms":1783513852000,"timestamp_seconds":1783513852,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b5a860"} 
[2026-07-08 18:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-08 18:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579543808001,"66":27876,"177":206,"85":14592,"24":31,"16":342950518655549440,"45":-9039076271797618688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-07-08 18:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579543808001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:02:03] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-08 18:02:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 18:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342950518655549440,"km_value":342950518655549.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9039076271797618688,"description":"Unknown IO ID 45"} 
[2026-07-08 18:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579543808001,"power":27876,"unknown_177":206,"unknown_85":14592,"ignition":31,"odometer":null,"unknown_45":-9039076271797618688}} 
[2026-07-08 18:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":127803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:02:03] local.INFO: GPS data processed {"connection_id":127803,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:02:03] local.INFO: Acknowledgment sent {"connection_id":127803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:02:05] local.INFO: TCP Data received {"connection_id":127803,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b5d740012d827a80059a1dc80005015930..."} 
[2026-07-08 18:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b5d740012d827a80059a1dc80005015930..."} 
[2026-07-08 18:02:05] local.INFO: Processing buffer {"connection_id":127803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b5d740012d827a80059a1dc80005015930..."} 
[2026-07-08 18:02:05] local.INFO: Packet analysis {"connection_id":127803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b5"} 
[2026-07-08 18:02:05] local.INFO: Extracted packet for processing {"connection_id":127803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b5"} 
[2026-07-08 18:02:05] local.INFO: GPS Element Parsed {"raw_longitude":763525760,"raw_latitude":93986248,"longitude_deg":76.352576,"latitude_deg":9.3986248,"altitude":5,"angle":345,"satellites":48,"speed":35,"hex_longitude":"2d827a80","hex_latitude":"059a1dc8","is_valid_coordinates":true} 
[2026-07-08 18:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579546112001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342950991101952000,"note":"Value kept but may cause issues"} 
[2026-07-08 18:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041750284074127360,"note":"Value kept but may cause issues"} 
[2026-07-08 18:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783513864000,"timestamp_ms":1783513864000,"timestamp_seconds":1783513864,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b5d740"} 
[2026-07-08 18:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 18:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579546112001,"66":27767,"177":206,"85":14592,"24":35,"16":342950991101952000,"45":-9041750284074127360},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-07-08 18:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579546112001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:02:05] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-08 18:02:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 18:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342950991101952000,"km_value":342950991101952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041750284074127360,"description":"Unknown IO ID 45"} 
[2026-07-08 18:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579546112001,"power":27767,"unknown_177":206,"unknown_85":14592,"ignition":35,"odometer":null,"unknown_45":-9041750284074127360}} 
[2026-07-08 18:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":127803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:02:05] local.INFO: GPS data processed {"connection_id":127803,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:02:05] local.INFO: Acknowledgment sent {"connection_id":127803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:02:31] local.INFO: TCP Data received {"connection_id":126584,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:02:31] local.INFO: Processing buffer {"connection_id":126584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:02:31] local.INFO: IMEI packet received {"connection_id":126584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":126584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:02:32] local.INFO: TCP Data received {"connection_id":126583,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b33b48012d1824000721b668004c00c42c..."} 
[2026-07-08 18:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b33b48012d1824000721b668004c00c42c..."} 
[2026-07-08 18:02:32] local.INFO: Processing buffer {"connection_id":126583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b33b48012d1824000721b668004c00c42c..."} 
[2026-07-08 18:02:32] local.INFO: Packet analysis {"connection_id":126583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b3"} 
[2026-07-08 18:02:32] local.INFO: Extracted packet for processing {"connection_id":126583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b3"} 
[2026-07-08 18:02:32] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119649896,"longitude_deg":75.65568,"latitude_deg":11.9649896,"altitude":76,"angle":196,"satellites":44,"speed":7,"hex_longitude":"2d182400","hex_latitude":"0721b668","is_valid_coordinates":true} 
[2026-07-08 18:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579501056001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4908653698088960,"note":"Value kept but may cause issues"} 
[2026-07-08 18:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213947904,"note":"Value kept but may cause issues"} 
[2026-07-08 18:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783513693000,"timestamp_ms":1783513693000,"timestamp_seconds":1783513693,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b33b48"} 
[2026-07-08 18:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:02: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-07-08 18:02: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-07-08 18:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579501056001,"66":13222,"105":206,"83":41984,"24":7,"16":4908653698088960,"45":1739374649213947904},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579501056001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:02:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:02:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4908653698088960,"km_value":4908653698088.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213947904,"description":"Unknown IO ID 45"} 
[2026-07-08 18:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579501056001,"power":13222,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1739374649213947904}} 
[2026-07-08 18:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":126583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:02:32] local.INFO: GPS data processed {"connection_id":126583,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:02:32] local.INFO: Acknowledgment sent {"connection_id":126583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:02:34] local.INFO: TCP Data received {"connection_id":126584,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:02:34] local.INFO: Processing buffer {"connection_id":126584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:02:34] local.INFO: IMEI packet received {"connection_id":126584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":126584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:02:36] local.INFO: TCP Data received {"connection_id":126584,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:02:36] local.INFO: Processing buffer {"connection_id":126584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:02:36] local.INFO: IMEI packet received {"connection_id":126584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":126584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:02:36] local.INFO: TCP Data received {"connection_id":126584,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b513f0012d82968005d25650000b00b12b..."} 
[2026-07-08 18:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b513f0012d82968005d25650000b00b12b..."} 
[2026-07-08 18:02:36] local.INFO: Processing buffer {"connection_id":126584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b513f0012d82968005d25650000b00b12b..."} 
[2026-07-08 18:02:36] local.INFO: Packet analysis {"connection_id":126584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b5"} 
[2026-07-08 18:02:36] local.INFO: Extracted packet for processing {"connection_id":126584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b5"} 
[2026-07-08 18:02:36] local.INFO: GPS Element Parsed {"raw_longitude":763532928,"raw_latitude":97670736,"longitude_deg":76.3532928,"latitude_deg":9.7670736,"altitude":11,"angle":177,"satellites":43,"speed":19,"hex_longitude":"2d829680","hex_latitude":"05d25650","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579532288001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103868307970457600,"note":"Value kept but may cause issues"} 
[2026-07-08 18:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037950370940663808,"note":"Value kept but may cause issues"} 
[2026-07-08 18:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783513814000,"timestamp_ms":1783513814000,"timestamp_seconds":1783513814,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b513f0"} 
[2026-07-08 18:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-08 18:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579532288001,"66":12982,"221":206,"85":15104,"24":19,"16":103868307970457600,"45":-9037950370940663808},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-08 18:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579532288001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:02:36] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-08 18:02:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103868307970457600,"km_value":103868307970457.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037950370940663808,"description":"Unknown IO ID 45"} 
[2026-07-08 18:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579532288001,"power":12982,"unknown_221":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9037950370940663808}} 
[2026-07-08 18:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":126584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452922,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:02:36] local.INFO: GPS data processed {"connection_id":126584,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:02:36] local.INFO: Acknowledgment sent {"connection_id":126584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:02:38] local.INFO: TCP Data received {"connection_id":127803,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b5fe50012d827100059a4010000601582e..."} 
[2026-07-08 18:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b5fe50012d827100059a4010000601582e..."} 
[2026-07-08 18:02:38] local.INFO: Processing buffer {"connection_id":127803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b5fe50012d827100059a4010000601582e..."} 
[2026-07-08 18:02:38] local.INFO: Packet analysis {"connection_id":127803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b5"} 
[2026-07-08 18:02:38] local.INFO: Extracted packet for processing {"connection_id":127803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b5"} 
[2026-07-08 18:02:38] local.INFO: GPS Element Parsed {"raw_longitude":763523328,"raw_latitude":93995024,"longitude_deg":76.3523328,"latitude_deg":9.3995024,"altitude":6,"angle":344,"satellites":46,"speed":39,"hex_longitude":"2d827100","hex_latitude":"059a4010","is_valid_coordinates":true} 
[2026-07-08 18:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579549184001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342951433483583488,"note":"Value kept but may cause issues"} 
[2026-07-08 18:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9044776140071385088,"note":"Value kept but may cause issues"} 
[2026-07-08 18:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783513874000,"timestamp_ms":1783513874000,"timestamp_seconds":1783513874,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b5fe50"} 
[2026-07-08 18:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 18:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579549184001,"66":27908,"177":206,"85":14592,"24":39,"16":342951433483583488,"45":-9044776140071385088},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-07-08 18:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579549184001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:02:39] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-08 18:02:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 18:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342951433483583488,"km_value":342951433483583.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9044776140071385088,"description":"Unknown IO ID 45"} 
[2026-07-08 18:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579549184001,"power":27908,"unknown_177":206,"unknown_85":14592,"ignition":39,"odometer":null,"unknown_45":-9044776140071385088}} 
[2026-07-08 18:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":127803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:02:39] local.INFO: GPS data processed {"connection_id":127803,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:02:39] local.INFO: Acknowledgment sent {"connection_id":127803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:02:55] local.INFO: TCP Data received {"connection_id":125805,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:02:55] local.INFO: Processing buffer {"connection_id":125805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:02:55] local.INFO: IMEI packet received {"connection_id":125805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":125805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:02:58] local.INFO: TCP Data received {"connection_id":125805,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:02:58] local.INFO: Processing buffer {"connection_id":125805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:02:58] local.INFO: IMEI packet received {"connection_id":125805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":125805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:02:59] local.INFO: TCP Data received {"connection_id":125805,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b62560012d826740059a62f00007015d30..."} 
[2026-07-08 18:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b62560012d826740059a62f00007015d30..."} 
[2026-07-08 18:02:59] local.INFO: Processing buffer {"connection_id":125805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b62560012d826740059a62f00007015d30..."} 
[2026-07-08 18:02:59] local.INFO: Packet analysis {"connection_id":125805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b6"} 
[2026-07-08 18:02:59] local.INFO: Extracted packet for processing {"connection_id":125805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b6"} 
[2026-07-08 18:02:59] local.INFO: GPS Element Parsed {"raw_longitude":763520832,"raw_latitude":94003952,"longitude_deg":76.3520832,"latitude_deg":9.4003952,"altitude":7,"angle":349,"satellites":48,"speed":22,"hex_longitude":"2d826740","hex_latitude":"059a62f0","is_valid_coordinates":true} 
[2026-07-08 18:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579551744001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342951880160182272,"note":"Value kept but may cause issues"} 
[2026-07-08 18:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9047450152347889664,"note":"Value kept but may cause issues"} 
[2026-07-08 18:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783513884000,"timestamp_ms":1783513884000,"timestamp_seconds":1783513884,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b62560"} 
[2026-07-08 18:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 18:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":125805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":125805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":125805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579551744001,"66":27865,"177":206,"85":14592,"24":22,"16":342951880160182272,"45":-9047450152347889664},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-07-08 18:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579551744001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:02:59] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-08 18:02:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 18:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342951880160182272,"km_value":342951880160182.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9047450152347889664,"description":"Unknown IO ID 45"} 
[2026-07-08 18:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579551744001,"power":27865,"unknown_177":206,"unknown_85":14592,"ignition":22,"odometer":null,"unknown_45":-9047450152347889664}} 
[2026-07-08 18:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":125805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:02:59] local.INFO: GPS data processed {"connection_id":125805,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:02:59] local.INFO: Acknowledgment sent {"connection_id":125805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:03:00] local.INFO: TCP Data received {"connection_id":125702,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:03:00] local.INFO: Processing buffer {"connection_id":125702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:03:00] local.INFO: IMEI packet received {"connection_id":125702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":125702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:03:04] local.INFO: TCP Data received {"connection_id":125702,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:03:04] local.INFO: Processing buffer {"connection_id":125702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:03:04] local.INFO: IMEI packet received {"connection_id":125702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":125702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:03:05] local.INFO: TCP Data received {"connection_id":125702,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b67380012d1823400721b578004c00d02b..."} 
[2026-07-08 18:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b67380012d1823400721b578004c00d02b..."} 
[2026-07-08 18:03:05] local.INFO: Processing buffer {"connection_id":125702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b67380012d1823400721b578004c00d02b..."} 
[2026-07-08 18:03:05] local.INFO: Packet analysis {"connection_id":125702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b6"} 
[2026-07-08 18:03:05] local.INFO: Extracted packet for processing {"connection_id":125702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b6"} 
[2026-07-08 18:03:05] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649656,"longitude_deg":75.6556608,"latitude_deg":11.9649656,"altitude":76,"angle":208,"satellites":43,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b578","is_valid_coordinates":true} 
[2026-07-08 18:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579554048001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4908670877958144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469633024,"note":"Value kept but may cause issues"} 
[2026-07-08 18:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783513904000,"timestamp_ms":1783513904000,"timestamp_seconds":1783513904,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b67380"} 
[2026-07-08 18:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:03: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-07-08 18:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-08 18:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579554048001,"66":12917,"105":206,"83":41984,"24":0,"16":4908670877958144,"45":1739304280469633024},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579554048001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:03:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:03:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4908670877958144,"km_value":4908670877958.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469633024,"description":"Unknown IO ID 45"} 
[2026-07-08 18:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579554048001,"power":12917,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469633024}} 
[2026-07-08 18:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":125702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:03:05] local.INFO: GPS data processed {"connection_id":125702,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:03:05] local.INFO: Acknowledgment sent {"connection_id":125702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:03:07] local.INFO: TCP Data received {"connection_id":126584,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b76998012d82b00005d16248000b00622b..."} 
[2026-07-08 18:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b76998012d82b00005d16248000b00622b..."} 
[2026-07-08 18:03:07] local.INFO: Processing buffer {"connection_id":126584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b76998012d82b00005d16248000b00622b..."} 
[2026-07-08 18:03:07] local.INFO: Packet analysis {"connection_id":126584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b7"} 
[2026-07-08 18:03:07] local.INFO: Extracted packet for processing {"connection_id":126584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b7"} 
[2026-07-08 18:03:07] local.INFO: GPS Element Parsed {"raw_longitude":763539456,"raw_latitude":97608264,"longitude_deg":76.3539456,"latitude_deg":9.7608264,"altitude":11,"angle":98,"satellites":43,"speed":35,"hex_longitude":"2d82b000","hex_latitude":"05d16248","is_valid_coordinates":true} 
[2026-07-08 18:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579573504001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103871653749981184,"note":"Value kept but may cause issues"} 
[2026-07-08 18:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035839308633567232,"note":"Value kept but may cause issues"} 
[2026-07-08 18:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783513967000,"timestamp_ms":1783513967000,"timestamp_seconds":1783513967,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b76998"} 
[2026-07-08 18:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-08 18:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579573504001,"66":13341,"63":206,"85":15104,"24":35,"16":103871653749981184,"45":-9035839308633567232},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-08 18:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579573504001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:03:07] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-08 18:03:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103871653749981184,"km_value":103871653749981.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035839308633567232,"description":"Unknown IO ID 45"} 
[2026-07-08 18:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579573504001,"power":13341,"unknown_63":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9035839308633567232}} 
[2026-07-08 18:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":126584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452926,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:03:07] local.INFO: GPS data processed {"connection_id":126584,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:03:07] local.INFO: Acknowledgment sent {"connection_id":126584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:03:30] local.INFO: TCP Data received {"connection_id":125805,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b63cd0012d8265c0059a6e680009000031..."} 
[2026-07-08 18:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b63cd0012d8265c0059a6e680009000031..."} 
[2026-07-08 18:03:30] local.INFO: Processing buffer {"connection_id":125805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b63cd0012d8265c0059a6e680009000031..."} 
[2026-07-08 18:03:30] local.INFO: Packet analysis {"connection_id":125805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b6"} 
[2026-07-08 18:03:30] local.INFO: Extracted packet for processing {"connection_id":125805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b6"} 
[2026-07-08 18:03:30] local.INFO: GPS Element Parsed {"raw_longitude":763520448,"raw_latitude":94006888,"longitude_deg":76.3520448,"latitude_deg":9.4006888,"altitude":9,"angle":0,"satellites":49,"speed":23,"hex_longitude":"2d8265c0","hex_latitude":"059a6e68","is_valid_coordinates":true} 
[2026-07-08 18:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579554304001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342952026189070336,"note":"Value kept but may cause issues"} 
[2026-07-08 18:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9050194533368532992,"note":"Value kept but may cause issues"} 
[2026-07-08 18:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783513890000,"timestamp_ms":1783513890000,"timestamp_seconds":1783513890,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b63cd0"} 
[2026-07-08 18:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 18:03:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:03:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":125805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":125805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":125805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:03: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-07-08 18:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579554304001,"66":27865,"177":206,"85":14592,"24":23,"16":342952026189070336,"45":-9050194533368532992},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-07-08 18:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579554304001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:03:30] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-08 18:03:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 18:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342952026189070336,"km_value":342952026189070.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9050194533368532992,"description":"Unknown IO ID 45"} 
[2026-07-08 18:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579554304001,"power":27865,"unknown_177":206,"unknown_85":14592,"ignition":23,"odometer":null,"unknown_45":-9050194533368532992}} 
[2026-07-08 18:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":125805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:03:30] local.INFO: GPS data processed {"connection_id":125805,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:03:30] local.INFO: Acknowledgment sent {"connection_id":125805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:03:34] local.INFO: TCP Data received {"connection_id":127804,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127804,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:03:34] local.INFO: Processing buffer {"connection_id":127804,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:03:34] local.INFO: IMEI packet received {"connection_id":127804,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":127804,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:03:36] local.INFO: TCP Data received {"connection_id":127804,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127804,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:03:36] local.INFO: Processing buffer {"connection_id":127804,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:03:36] local.INFO: IMEI packet received {"connection_id":127804,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":127804,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:03:41] local.INFO: TCP Data received {"connection_id":127804,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127804,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:03:41] local.INFO: Processing buffer {"connection_id":127804,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:03:41] local.INFO: IMEI packet received {"connection_id":127804,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":127804,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:03:41] local.INFO: TCP Data received {"connection_id":127804,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b78cc0012d82d40005d15ba0000b00612b..."} 
[2026-07-08 18:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b78cc0012d82d40005d15ba0000b00612b..."} 
[2026-07-08 18:03:41] local.INFO: Processing buffer {"connection_id":127804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b78cc0012d82d40005d15ba0000b00612b..."} 
[2026-07-08 18:03:41] local.INFO: Packet analysis {"connection_id":127804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b7"} 
[2026-07-08 18:03:41] local.INFO: Extracted packet for processing {"connection_id":127804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b7"} 
[2026-07-08 18:03:41] local.INFO: GPS Element Parsed {"raw_longitude":763548672,"raw_latitude":97606560,"longitude_deg":76.3548672,"latitude_deg":9.760656,"altitude":11,"angle":97,"satellites":43,"speed":43,"hex_longitude":"2d82d400","hex_latitude":"05d15ba0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 18:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579575552001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103872104721547264,"note":"Value kept but may cause issues"} 
[2026-07-08 18:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9029717227890128896,"note":"Value kept but may cause issues"} 
[2026-07-08 18:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783513976000,"timestamp_ms":1783513976000,"timestamp_seconds":1783513976,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b78cc0"} 
[2026-07-08 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-07-08 18:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-08 18:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 18:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":127804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":127804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":127804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579575552001,"66":13243,"63":206,"85":15104,"24":43,"16":103872104721547264,"45":-9029717227890128896},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-08 18:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579575552001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:03:41] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-08 18:03:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103872104721547264,"km_value":103872104721547.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9029717227890128896,"description":"Unknown IO ID 45"} 
[2026-07-08 18:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579575552001,"power":13243,"unknown_63":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":-9029717227890128896}} 
[2026-07-08 18:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":127804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452928,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:03:41] local.INFO: GPS data processed {"connection_id":127804,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:03:41] local.INFO: Acknowledgment sent {"connection_id":127804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:03:45] local.INFO: TCP Data received {"connection_id":125702,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b6c588012d1823400721b578004c00d02d..."} 
[2026-07-08 18:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b6c588012d1823400721b578004c00d02d..."} 
[2026-07-08 18:03:45] local.INFO: Processing buffer {"connection_id":125702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b6c588012d1823400721b578004c00d02d..."} 
[2026-07-08 18:03:45] local.INFO: Packet analysis {"connection_id":125702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b6"} 
[2026-07-08 18:03:45] local.INFO: Extracted packet for processing {"connection_id":125702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b6"} 
[2026-07-08 18:03:45] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649656,"longitude_deg":75.6556608,"latitude_deg":11.9649656,"altitude":76,"angle":208,"satellites":45,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b578","is_valid_coordinates":true} 
[2026-07-08 18:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579559424001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4908670877958144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469633024,"note":"Value kept but may cause issues"} 
[2026-07-08 18:03: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-07-08 18:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783513925000,"timestamp_ms":1783513925000,"timestamp_seconds":1783513925,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b6c588"} 
[2026-07-08 18:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:03:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-08 18:03:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:03:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":125702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":125702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":125702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:03:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579559424001,"66":12885,"105":206,"83":41984,"24":0,"16":4908670877958144,"45":1739304280469633024},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579559424001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:03:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:03:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4908670877958144,"km_value":4908670877958.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:03:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469633024,"description":"Unknown IO ID 45"} 
[2026-07-08 18:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579559424001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469633024}} 
[2026-07-08 18:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":125702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:03:45] local.INFO: GPS data processed {"connection_id":125702,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:03:45] local.INFO: Acknowledgment sent {"connection_id":125702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:03:46] local.INFO: TCP Data received {"connection_id":127804,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b7ac00012d82fa0005d15800000d005d2b..."} 
[2026-07-08 18:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b7ac00012d82fa0005d15800000d005d2b..."} 
[2026-07-08 18:03:46] local.INFO: Processing buffer {"connection_id":127804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b7ac00012d82fa0005d15800000d005d2b..."} 
[2026-07-08 18:03:46] local.INFO: Packet analysis {"connection_id":127804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b7"} 
[2026-07-08 18:03:46] local.INFO: Extracted packet for processing {"connection_id":127804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b7"} 
[2026-07-08 18:03:46] local.INFO: GPS Element Parsed {"raw_longitude":763558400,"raw_latitude":97605632,"longitude_deg":76.35584,"latitude_deg":9.7605632,"altitude":13,"angle":93,"satellites":43,"speed":48,"hex_longitude":"2d82fa00","hex_latitude":"05d15800","is_valid_coordinates":true} 
[2026-07-08 18:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579577856001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103872572872982528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9019584128728981504,"note":"Value kept but may cause issues"} 
[2026-07-08 18:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783513984000,"timestamp_ms":1783513984000,"timestamp_seconds":1783513984,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b7ac00"} 
[2026-07-08 18:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-08 18:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":127804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":127804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":127804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579577856001,"66":13276,"63":206,"85":15104,"24":48,"16":103872572872982528,"45":-9019584128728981504},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-08 18:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579577856001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:03:46] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-08 18:03:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103872572872982528,"km_value":103872572872982.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9019584128728981504,"description":"Unknown IO ID 45"} 
[2026-07-08 18:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579577856001,"power":13276,"unknown_63":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":-9019584128728981504}} 
[2026-07-08 18:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":127804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452930,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:03:46] local.INFO: GPS data processed {"connection_id":127804,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:03:46] local.INFO: Acknowledgment sent {"connection_id":127804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:03:55] local.INFO: TCP Data received {"connection_id":125703,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:03:55] local.INFO: Processing buffer {"connection_id":125703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:03:55] local.INFO: IMEI packet received {"connection_id":125703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":125703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:04:00] local.INFO: TCP Data received {"connection_id":126585,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:04:00] local.INFO: Processing buffer {"connection_id":126585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:04:00] local.INFO: IMEI packet received {"connection_id":126585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":126585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:04:00] local.INFO: TCP Data received {"connection_id":125703,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:04:00] local.INFO: Processing buffer {"connection_id":125703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:04:00] local.INFO: IMEI packet received {"connection_id":125703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":125703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:04:01] local.INFO: TCP Data received {"connection_id":125703,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b64c70012d826580059a7720000a015c32..."} 
[2026-07-08 18:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b64c70012d826580059a7720000a015c32..."} 
[2026-07-08 18:04:01] local.INFO: Processing buffer {"connection_id":125703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b64c70012d826580059a7720000a015c32..."} 
[2026-07-08 18:04:01] local.INFO: Packet analysis {"connection_id":125703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b6"} 
[2026-07-08 18:04:01] local.INFO: Extracted packet for processing {"connection_id":125703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b6"} 
[2026-07-08 18:04:01] local.INFO: GPS Element Parsed {"raw_longitude":763520384,"raw_latitude":94009120,"longitude_deg":76.3520384,"latitude_deg":9.400912,"altitude":10,"angle":348,"satellites":50,"speed":20,"hex_longitude":"2d826580","hex_latitude":"059a7720","is_valid_coordinates":true} 
[2026-07-08 18:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579555840001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342952133563252736,"note":"Value kept but may cause issues"} 
[2026-07-08 18:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9050616745832847360,"note":"Value kept but may cause issues"} 
[2026-07-08 18:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783513894000,"timestamp_ms":1783513894000,"timestamp_seconds":1783513894,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b64c70"} 
[2026-07-08 18:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:04:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 18:04:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:04:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579555840001,"66":27876,"177":206,"85":14592,"24":20,"16":342952133563252736,"45":-9050616745832847360},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-07-08 18:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579555840001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:04:01] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-08 18:04:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 18:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342952133563252736,"km_value":342952133563252.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9050616745832847360,"description":"Unknown IO ID 45"} 
[2026-07-08 18:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579555840001,"power":27876,"unknown_177":206,"unknown_85":14592,"ignition":20,"odometer":null,"unknown_45":-9050616745832847360}} 
[2026-07-08 18:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":125703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:04:01] local.INFO: GPS data processed {"connection_id":125703,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:04:01] local.INFO: Acknowledgment sent {"connection_id":125703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:04:05] local.INFO: TCP Data received {"connection_id":126585,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:04:05] local.INFO: Processing buffer {"connection_id":126585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:04:05] local.INFO: IMEI packet received {"connection_id":126585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":126585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:04:05] local.INFO: TCP Data received {"connection_id":126585,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b71790012d1823400721b578004c00d02c..."} 
[2026-07-08 18:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b71790012d1823400721b578004c00d02c..."} 
[2026-07-08 18:04:05] local.INFO: Processing buffer {"connection_id":126585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b71790012d1823400721b578004c00d02c..."} 
[2026-07-08 18:04:05] local.INFO: Packet analysis {"connection_id":126585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b7"} 
[2026-07-08 18:04:05] local.INFO: Extracted packet for processing {"connection_id":126585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b7"} 
[2026-07-08 18:04:05] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649656,"longitude_deg":75.6556608,"latitude_deg":11.9649656,"altitude":76,"angle":208,"satellites":44,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b578","is_valid_coordinates":true} 
[2026-07-08 18:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579564800001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4908670877958144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469633024,"note":"Value kept but may cause issues"} 
[2026-07-08 18:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783513946000,"timestamp_ms":1783513946000,"timestamp_seconds":1783513946,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b71790"} 
[2026-07-08 18:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:04: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-07-08 18:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-08 18:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579564800001,"66":12841,"105":206,"83":41984,"24":0,"16":4908670877958144,"45":1739304280469633024},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579564800001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:04:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:04:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4908670877958144,"km_value":4908670877958.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469633024,"description":"Unknown IO ID 45"} 
[2026-07-08 18:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579564800001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469633024}} 
[2026-07-08 18:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":126585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:04:06] local.INFO: GPS data processed {"connection_id":126585,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:04:06] local.INFO: Acknowledgment sent {"connection_id":126585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:04:16] local.INFO: TCP Data received {"connection_id":125807,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125807,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:04:16] local.INFO: Processing buffer {"connection_id":125807,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:04:16] local.INFO: IMEI packet received {"connection_id":125807,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 18:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":125807,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:04:30] local.INFO: TCP Data received {"connection_id":126586,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126586,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:04:30] local.INFO: Processing buffer {"connection_id":126586,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:04:30] local.INFO: IMEI packet received {"connection_id":126586,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":126586,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:04:31] local.INFO: TCP Data received {"connection_id":126586,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126586,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:04:31] local.INFO: Processing buffer {"connection_id":126586,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:04:31] local.INFO: IMEI packet received {"connection_id":126586,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":126586,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:04:36] local.INFO: TCP Data received {"connection_id":126586,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126586,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:04:36] local.INFO: Processing buffer {"connection_id":126586,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:04:36] local.INFO: IMEI packet received {"connection_id":126586,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":126586,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:04:36] local.INFO: TCP Data received {"connection_id":126586,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b86b68012d83314005d152d0000e01122c..."} 
[2026-07-08 18:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b86b68012d83314005d152d0000e01122c..."} 
[2026-07-08 18:04:36] local.INFO: Processing buffer {"connection_id":126586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b86b68012d83314005d152d0000e01122c..."} 
[2026-07-08 18:04:36] local.INFO: Packet analysis {"connection_id":126586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b8"} 
[2026-07-08 18:04:36] local.INFO: Extracted packet for processing {"connection_id":126586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b8"} 
[2026-07-08 18:04:36] local.INFO: GPS Element Parsed {"raw_longitude":763572544,"raw_latitude":97604304,"longitude_deg":76.3572544,"latitude_deg":9.7604304,"altitude":14,"angle":274,"satellites":44,"speed":11,"hex_longitude":"2d833140","hex_latitude":"05d152d0","is_valid_coordinates":true} 
[2026-07-08 18:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579592192001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103873393211736064,"note":"Value kept but may cause issues"} 
[2026-07-08 18:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8993055112174577664,"note":"Value kept but may cause issues"} 
[2026-07-08 18:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783514033000,"timestamp_ms":1783514033000,"timestamp_seconds":1783514033,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b86b68"} 
[2026-07-08 18:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-08 18:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579592192001,"66":13189,"63":206,"85":15104,"24":11,"16":103873393211736064,"45":-8993055112174577664},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-08 18:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579592192001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:04:36] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-08 18:04:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103873393211736064,"km_value":103873393211736.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8993055112174577664,"description":"Unknown IO ID 45"} 
[2026-07-08 18:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579592192001,"power":13189,"unknown_63":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-8993055112174577664}} 
[2026-07-08 18:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":126586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452933,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:04:36] local.INFO: GPS data processed {"connection_id":126586,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:04:36] local.INFO: Acknowledgment sent {"connection_id":126586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:04:36] local.INFO: TCP Data received {"connection_id":126585,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b76998012d1823400721b578004c00d02d..."} 
[2026-07-08 18:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b76998012d1823400721b578004c00d02d..."} 
[2026-07-08 18:04:36] local.INFO: Processing buffer {"connection_id":126585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b76998012d1823400721b578004c00d02d..."} 
[2026-07-08 18:04:36] local.INFO: Packet analysis {"connection_id":126585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b7"} 
[2026-07-08 18:04:36] local.INFO: Extracted packet for processing {"connection_id":126585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b7"} 
[2026-07-08 18:04:36] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649656,"longitude_deg":75.6556608,"latitude_deg":11.9649656,"altitude":76,"angle":208,"satellites":45,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b578","is_valid_coordinates":true} 
[2026-07-08 18:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579570176001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4908670877958144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469633024,"note":"Value kept but may cause issues"} 
[2026-07-08 18:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783513967000,"timestamp_ms":1783513967000,"timestamp_seconds":1783513967,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b76998"} 
[2026-07-08 18:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-08 18:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579570176001,"66":12863,"105":206,"83":41984,"24":0,"16":4908670877958144,"45":1739304280469633024},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579570176001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:04:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:04:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4908670877958144,"km_value":4908670877958.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469633024,"description":"Unknown IO ID 45"} 
[2026-07-08 18:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579570176001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469633024}} 
[2026-07-08 18:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":126585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:04:37] local.INFO: GPS data processed {"connection_id":126585,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:04:37] local.INFO: Acknowledgment sent {"connection_id":126585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:04:37] local.INFO: TCP Data received {"connection_id":125703,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b809c0012d822a00059bd7a0000e01582f..."} 
[2026-07-08 18:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b809c0012d822a00059bd7a0000e01582f..."} 
[2026-07-08 18:04:37] local.INFO: Processing buffer {"connection_id":125703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b809c0012d822a00059bd7a0000e01582f..."} 
[2026-07-08 18:04:37] local.INFO: Packet analysis {"connection_id":125703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b8"} 
[2026-07-08 18:04:37] local.INFO: Extracted packet for processing {"connection_id":125703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b8"} 
[2026-07-08 18:04:37] local.INFO: GPS Element Parsed {"raw_longitude":763505152,"raw_latitude":94099360,"longitude_deg":76.3505152,"latitude_deg":9.409936,"altitude":14,"angle":344,"satellites":47,"speed":21,"hex_longitude":"2d822a00","hex_latitude":"059bd7a0","is_valid_coordinates":true} 
[2026-07-08 18:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579580672001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342956583149371392,"note":"Value kept but may cause issues"} 
[2026-07-08 18:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9065675657065097216,"note":"Value kept but may cause issues"} 
[2026-07-08 18:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783514008000,"timestamp_ms":1783514008000,"timestamp_seconds":1783514008,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b809c0"} 
[2026-07-08 18:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 18:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579580672001,"66":27658,"179":206,"85":14592,"24":21,"16":342956583149371392,"45":-9065675657065097216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-07-08 18:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579580672001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:04:37] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-08 18:04:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-08 18:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342956583149371392,"km_value":342956583149371.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9065675657065097216,"description":"Unknown IO ID 45"} 
[2026-07-08 18:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579580672001,"power":27658,"unknown_179":206,"unknown_85":14592,"ignition":21,"odometer":null,"unknown_45":-9065675657065097216}} 
[2026-07-08 18:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":125703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:04:37] local.INFO: GPS data processed {"connection_id":125703,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:04:37] local.INFO: Acknowledgment sent {"connection_id":125703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:04:55] local.INFO: TCP Data received {"connection_id":125704,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:04:55] local.INFO: Processing buffer {"connection_id":125704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:04:55] local.INFO: IMEI packet received {"connection_id":125704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":125704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:04:55] local.INFO: TCP Data received {"connection_id":125705,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125705,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:04:55] local.INFO: Processing buffer {"connection_id":125705,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:04:55] local.INFO: IMEI packet received {"connection_id":125705,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 18:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":125705,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:04:58] local.INFO: TCP Data received {"connection_id":125704,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:04:58] local.INFO: Processing buffer {"connection_id":125704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:04:58] local.INFO: IMEI packet received {"connection_id":125704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":125704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:05:00] local.INFO: TCP Data received {"connection_id":127805,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:05:00] local.INFO: Processing buffer {"connection_id":127805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:05:00] local.INFO: IMEI packet received {"connection_id":127805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":127805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:05:00] local.INFO: TCP Data received {"connection_id":125704,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:05:00] local.INFO: Processing buffer {"connection_id":125704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:05:00] local.INFO: IMEI packet received {"connection_id":125704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":125704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:05:01] local.INFO: TCP Data received {"connection_id":125704,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b838a0012d821ec0059bf8f0000c01542f..."} 
[2026-07-08 18:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b838a0012d821ec0059bf8f0000c01542f..."} 
[2026-07-08 18:05:01] local.INFO: Processing buffer {"connection_id":125704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b838a0012d821ec0059bf8f0000c01542f..."} 
[2026-07-08 18:05:01] local.INFO: Packet analysis {"connection_id":125704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b8"} 
[2026-07-08 18:05:01] local.INFO: Extracted packet for processing {"connection_id":125704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b8"} 
[2026-07-08 18:05:01] local.INFO: GPS Element Parsed {"raw_longitude":763502272,"raw_latitude":94107888,"longitude_deg":76.3502272,"latitude_deg":9.4107888,"altitude":12,"angle":340,"satellites":47,"speed":32,"hex_longitude":"2d821ec0","hex_latitude":"059bf8f0","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579586048001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342957021236035584,"note":"Value kept but may cause issues"} 
[2026-07-08 18:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9067434875667636224,"note":"Value kept but may cause issues"} 
[2026-07-08 18:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783514020000,"timestamp_ms":1783514020000,"timestamp_seconds":1783514020,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b838a0"} 
[2026-07-08 18:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 18:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579586048001,"66":27800,"192":206,"85":14336,"24":32,"16":342957021236035584,"45":-9067434875667636224},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,85,24,16,45]} 
[2026-07-08 18:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579586048001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:05:01] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-08 18:05:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342957021236035584,"km_value":342957021236035.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9067434875667636224,"description":"Unknown IO ID 45"} 
[2026-07-08 18:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579586048001,"power":27800,"unknown_192":206,"unknown_85":14336,"ignition":32,"odometer":null,"unknown_45":-9067434875667636224}} 
[2026-07-08 18:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":125704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:05:01] local.INFO: GPS data processed {"connection_id":125704,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:05:01] local.INFO: Acknowledgment sent {"connection_id":125704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:05:05] local.INFO: TCP Data received {"connection_id":127805,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:05:05] local.INFO: Processing buffer {"connection_id":127805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:05:05] local.INFO: IMEI packet received {"connection_id":127805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":127805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:05:05] local.INFO: TCP Data received {"connection_id":127805,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b7bba0012d1823400721b578004c00d02d..."} 
[2026-07-08 18:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b7bba0012d1823400721b578004c00d02d..."} 
[2026-07-08 18:05:05] local.INFO: Processing buffer {"connection_id":127805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b7bba0012d1823400721b578004c00d02d..."} 
[2026-07-08 18:05:05] local.INFO: Packet analysis {"connection_id":127805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b7"} 
[2026-07-08 18:05:05] local.INFO: Extracted packet for processing {"connection_id":127805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b7"} 
[2026-07-08 18:05:05] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649656,"longitude_deg":75.6556608,"latitude_deg":11.9649656,"altitude":76,"angle":208,"satellites":45,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b578","is_valid_coordinates":true} 
[2026-07-08 18:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579575552001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4908670877958144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469633024,"note":"Value kept but may cause issues"} 
[2026-07-08 18:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783513988000,"timestamp_ms":1783513988000,"timestamp_seconds":1783513988,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b7bba0"} 
[2026-07-08 18:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:05: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-07-08 18:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-08 18:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579575552001,"66":12798,"105":206,"83":41984,"24":0,"16":4908670877958144,"45":1739304280469633024},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579575552001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:05:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:05:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4908670877958144,"km_value":4908670877958.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469633024,"description":"Unknown IO ID 45"} 
[2026-07-08 18:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579575552001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469633024}} 
[2026-07-08 18:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":127805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:05:06] local.INFO: GPS data processed {"connection_id":127805,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:05:06] local.INFO: Acknowledgment sent {"connection_id":127805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:05:07] local.INFO: TCP Data received {"connection_id":126586,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b89e30012d830ac005d155e8000d01102b..."} 
[2026-07-08 18:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b89e30012d830ac005d155e8000d01102b..."} 
[2026-07-08 18:05:07] local.INFO: Processing buffer {"connection_id":126586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b89e30012d830ac005d155e8000d01102b..."} 
[2026-07-08 18:05:07] local.INFO: Packet analysis {"connection_id":126586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b8"} 
[2026-07-08 18:05:07] local.INFO: Extracted packet for processing {"connection_id":126586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b8"} 
[2026-07-08 18:05:07] local.INFO: GPS Element Parsed {"raw_longitude":763562688,"raw_latitude":97605096,"longitude_deg":76.3562688,"latitude_deg":9.7605096,"altitude":13,"angle":272,"satellites":43,"speed":39,"hex_longitude":"2d830ac0","hex_latitude":"05d155e8","is_valid_coordinates":true} 
[2026-07-08 18:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579592448001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103873865658138624,"note":"Value kept but may cause issues"} 
[2026-07-08 18:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8993336587151290368,"note":"Value kept but may cause issues"} 
[2026-07-08 18:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783514046000,"timestamp_ms":1783514046000,"timestamp_seconds":1783514046,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b89e30"} 
[2026-07-08 18:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-08 18:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579592448001,"66":13189,"63":206,"85":15104,"24":39,"16":103873865658138624,"45":-8993336587151290368},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-08 18:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579592448001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:05:07] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-08 18:05:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103873865658138624,"km_value":103873865658138.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8993336587151290368,"description":"Unknown IO ID 45"} 
[2026-07-08 18:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579592448001,"power":13189,"unknown_63":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-8993336587151290368}} 
[2026-07-08 18:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":126586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452938,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:05:07] local.INFO: GPS data processed {"connection_id":126586,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:05:07] local.INFO: Acknowledgment sent {"connection_id":126586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:05:29] local.INFO: TCP Data received {"connection_id":125808,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125808,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:05:29] local.INFO: Processing buffer {"connection_id":125808,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:05:29] local.INFO: IMEI packet received {"connection_id":125808,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":125808,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:05:31] local.INFO: TCP Data received {"connection_id":125808,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125808,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:05:31] local.INFO: Processing buffer {"connection_id":125808,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:05:31] local.INFO: IMEI packet received {"connection_id":125808,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":125808,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:05:32] local.INFO: TCP Data received {"connection_id":125704,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b86f50012d8212c0059c1b78000a01542b..."} 
[2026-07-08 18:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b86f50012d8212c0059c1b78000a01542b..."} 
[2026-07-08 18:05:32] local.INFO: Processing buffer {"connection_id":125704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b86f50012d8212c0059c1b78000a01542b..."} 
[2026-07-08 18:05:32] local.INFO: Packet analysis {"connection_id":125704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b8"} 
[2026-07-08 18:05:32] local.INFO: Extracted packet for processing {"connection_id":125704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b8"} 
[2026-07-08 18:05:32] local.INFO: GPS Element Parsed {"raw_longitude":763499200,"raw_latitude":94116728,"longitude_deg":76.34992,"latitude_deg":9.4116728,"altitude":10,"angle":340,"satellites":43,"speed":24,"hex_longitude":"2d8212c0","hex_latitude":"059c1b78","is_valid_coordinates":true} 
[2026-07-08 18:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579589120001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342957472207601664,"note":"Value kept but may cause issues"} 
[2026-07-08 18:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9070601469153447936,"note":"Value kept but may cause issues"} 
[2026-07-08 18:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783514034000,"timestamp_ms":1783514034000,"timestamp_seconds":1783514034,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b86f50"} 
[2026-07-08 18:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:05: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-07-08 18:05: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-07-08 18:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579589120001,"66":27865,"192":206,"85":14336,"24":24,"16":342957472207601664,"45":-9070601469153447936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,85,24,16,45]} 
[2026-07-08 18:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579589120001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:05:32] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-08 18:05:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342957472207601664,"km_value":342957472207601.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9070601469153447936,"description":"Unknown IO ID 45"} 
[2026-07-08 18:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579589120001,"power":27865,"unknown_192":206,"unknown_85":14336,"ignition":24,"odometer":null,"unknown_45":-9070601469153447936}} 
[2026-07-08 18:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":125704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:05:32] local.INFO: GPS data processed {"connection_id":125704,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:05:32] local.INFO: Acknowledgment sent {"connection_id":125704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:05:36] local.INFO: TCP Data received {"connection_id":125808,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125808,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:05:36] local.INFO: Processing buffer {"connection_id":125808,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:05:36] local.INFO: IMEI packet received {"connection_id":125808,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":125808,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:05:37] local.INFO: TCP Data received {"connection_id":127805,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b80da8012d1823400721b578004c00d02b..."} 
[2026-07-08 18:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b80da8012d1823400721b578004c00d02b..."} 
[2026-07-08 18:05:37] local.INFO: Processing buffer {"connection_id":127805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b80da8012d1823400721b578004c00d02b..."} 
[2026-07-08 18:05:37] local.INFO: Packet analysis {"connection_id":127805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b8"} 
[2026-07-08 18:05:37] local.INFO: Extracted packet for processing {"connection_id":127805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b8"} 
[2026-07-08 18:05:37] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649656,"longitude_deg":75.6556608,"latitude_deg":11.9649656,"altitude":76,"angle":208,"satellites":43,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b578","is_valid_coordinates":true} 
[2026-07-08 18:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579580928001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4908670877958144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469633024,"note":"Value kept but may cause issues"} 
[2026-07-08 18:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783514009000,"timestamp_ms":1783514009000,"timestamp_seconds":1783514009,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b80da8"} 
[2026-07-08 18:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-08 18:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579580928001,"66":12819,"105":206,"83":41984,"24":0,"16":4908670877958144,"45":1739304280469633024},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579580928001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:05:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:05:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4908670877958144,"km_value":4908670877958.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469633024,"description":"Unknown IO ID 45"} 
[2026-07-08 18:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579580928001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469633024}} 
[2026-07-08 18:05:37] local.INFO: TCP Data received {"connection_id":125808,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b99060012d826d8005d16668000b010929..."} 
[2026-07-08 18:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b99060012d826d8005d16668000b010929..."} 
[2026-07-08 18:05:37] local.INFO: Processing buffer {"connection_id":125808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b99060012d826d8005d16668000b010929..."} 
[2026-07-08 18:05:37] local.INFO: Packet analysis {"connection_id":125808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b9"} 
[2026-07-08 18:05:37] local.INFO: Extracted packet for processing {"connection_id":125808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b9"} 
[2026-07-08 18:05:37] local.INFO: GPS Element Parsed {"raw_longitude":763522432,"raw_latitude":97609320,"longitude_deg":76.3522432,"latitude_deg":9.760932,"altitude":11,"angle":265,"satellites":41,"speed":35,"hex_longitude":"2d826d80","hex_latitude":"05d16668","is_valid_coordinates":true} 
[2026-07-08 18:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579608064001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103875871407865856,"note":"Value kept but may cause issues"} 
[2026-07-08 18:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9038372583423518720,"note":"Value kept but may cause issues"} 
[2026-07-08 18:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783514108000,"timestamp_ms":1783514108000,"timestamp_seconds":1783514108,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b99060"} 
[2026-07-08 18:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-08 18:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579608064001,"66":13015,"63":206,"85":15104,"24":35,"16":103875871407865856,"45":-9038372583423518720},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-08 18:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579608064001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:05:37] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-08 18:05:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103875871407865856,"km_value":103875871407865.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9038372583423518720,"description":"Unknown IO ID 45"} 
[2026-07-08 18:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579608064001,"power":13015,"unknown_63":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9038372583423518720}} 
[2026-07-08 18:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":127805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:05:37] local.INFO: GPS data processed {"connection_id":127805,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:05:37] local.INFO: Acknowledgment sent {"connection_id":127805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":125808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452941,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:05:37] local.INFO: GPS data processed {"connection_id":125808,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:05:37] local.INFO: Acknowledgment sent {"connection_id":125808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:05:55] local.INFO: TCP Data received {"connection_id":125706,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:05:55] local.INFO: Processing buffer {"connection_id":125706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:05:55] local.INFO: IMEI packet received {"connection_id":125706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":125706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:05:57] local.INFO: TCP Data received {"connection_id":125706,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:05:57] local.INFO: Processing buffer {"connection_id":125706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:05:57] local.INFO: IMEI packet received {"connection_id":125706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":125706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:06:00] local.INFO: TCP Data received {"connection_id":125707,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:06:00] local.INFO: Processing buffer {"connection_id":125707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:06:00] local.INFO: IMEI packet received {"connection_id":125707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":125707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:06:00] local.INFO: TCP Data received {"connection_id":125706,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:06:00] local.INFO: Processing buffer {"connection_id":125706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:06:00] local.INFO: IMEI packet received {"connection_id":125706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":125706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:06:01] local.INFO: TCP Data received {"connection_id":125706,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b8a218012d820880059c3de8000901572e..."} 
[2026-07-08 18:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b8a218012d820880059c3de8000901572e..."} 
[2026-07-08 18:06:01] local.INFO: Processing buffer {"connection_id":125706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b8a218012d820880059c3de8000901572e..."} 
[2026-07-08 18:06:01] local.INFO: Packet analysis {"connection_id":125706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b8"} 
[2026-07-08 18:06:01] local.INFO: Extracted packet for processing {"connection_id":125706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b8"} 
[2026-07-08 18:06:01] local.INFO: GPS Element Parsed {"raw_longitude":763496576,"raw_latitude":94125544,"longitude_deg":76.3496576,"latitude_deg":9.4125544,"altitude":9,"angle":343,"satellites":46,"speed":22,"hex_longitude":"2d820880","hex_latitude":"059c3de8","is_valid_coordinates":true} 
[2026-07-08 18:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579592704001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342957918884200448,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9073979168871712768,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783514047000,"timestamp_ms":1783514047000,"timestamp_seconds":1783514047,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b8a218"} 
[2026-07-08 18:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 18:06:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:06:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579592704001,"66":27800,"192":206,"85":14336,"24":22,"16":342957918884200448,"45":-9073979168871712768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,85,24,16,45]} 
[2026-07-08 18:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579592704001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:06:01] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-08 18:06:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342957918884200448,"km_value":342957918884200.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9073979168871712768,"description":"Unknown IO ID 45"} 
[2026-07-08 18:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579592704001,"power":27800,"unknown_192":206,"unknown_85":14336,"ignition":22,"odometer":null,"unknown_45":-9073979168871712768}} 
[2026-07-08 18:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":125706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:06:01] local.INFO: GPS data processed {"connection_id":125706,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:06:01] local.INFO: Acknowledgment sent {"connection_id":125706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:06:05] local.INFO: TCP Data received {"connection_id":125707,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:06:05] local.INFO: Processing buffer {"connection_id":125707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:06:05] local.INFO: IMEI packet received {"connection_id":125707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":125707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:06:06] local.INFO: TCP Data received {"connection_id":125707,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b85fb0012d1823400721b578004c00d02f..."} 
[2026-07-08 18:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b85fb0012d1823400721b578004c00d02f..."} 
[2026-07-08 18:06:06] local.INFO: Processing buffer {"connection_id":125707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b85fb0012d1823400721b578004c00d02f..."} 
[2026-07-08 18:06:06] local.INFO: Packet analysis {"connection_id":125707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b8"} 
[2026-07-08 18:06:06] local.INFO: Extracted packet for processing {"connection_id":125707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b8"} 
[2026-07-08 18:06:06] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649656,"longitude_deg":75.6556608,"latitude_deg":11.9649656,"altitude":76,"angle":208,"satellites":47,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b578","is_valid_coordinates":true} 
[2026-07-08 18:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579586304001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4908670877958144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469633024,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783514030000,"timestamp_ms":1783514030000,"timestamp_seconds":1783514030,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b85fb0"} 
[2026-07-08 18:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-08 18:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:06] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:06] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503674527744000,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:06] local.WARNING: Large IO value detected {"io_id":65,"raw_value":-5345931082311654592,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:06] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3044540492,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:06] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5332525845896823040,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-07-08 18:06:06] local.WARNING: Large IO value detected {"io_id":115,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:06] local.WARNING: Large IO value detected {"io_id":120,"raw_value":21392992287850496,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:06] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182156695175424,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:06] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4539854281301347923,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:06] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428979516706705451,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:06] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:06] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195056128,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:06] local.WARNING: Large IO value detected {"io_id":104,"raw_value":84750507667038645,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:06] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,112,159,187,45,64,181,76,10,66,23,1,240,41,227,65,33,4,113,205,115,35,120,43,239,50,2,17,7,164,69,104],"length":625,"final_offset":755,"validated_count":38,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0}]} 
[2026-07-08 18:06:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476606029984694272,"timestamp_seconds":5476606029984694.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 18:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579586304001,"66":12809,"105":206,"83":41984,"24":0,"16":4908670877958144,"45":1739304280469633024},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579586304001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:06:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:06:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4908670877958144,"km_value":4908670877958.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469633024,"description":"Unknown IO ID 45"} 
[2026-07-08 18:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579586304001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469633024}} 
[2026-07-08 18:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":125707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:06:06] local.INFO: GPS data processed {"connection_id":125707,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:06:06] local.INFO: Acknowledgment sent {"connection_id":125707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:06:09] local.INFO: TCP Data received {"connection_id":125808,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b9b388012d82484005d164a00008010d27..."} 
[2026-07-08 18:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b9b388012d82484005d164a00008010d27..."} 
[2026-07-08 18:06:09] local.INFO: Processing buffer {"connection_id":125808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b9b388012d82484005d164a00008010d27..."} 
[2026-07-08 18:06:09] local.INFO: Packet analysis {"connection_id":125808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b9"} 
[2026-07-08 18:06:09] local.INFO: Extracted packet for processing {"connection_id":125808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b9"} 
[2026-07-08 18:06:09] local.INFO: GPS Element Parsed {"raw_longitude":763512896,"raw_latitude":97608864,"longitude_deg":76.3512896,"latitude_deg":9.7608864,"altitude":8,"angle":269,"satellites":39,"speed":41,"hex_longitude":"2d824840","hex_latitude":"05d164a0","is_valid_coordinates":true} 
[2026-07-08 18:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579611648001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103876326674399232,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9048435313841117184,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783514117000,"timestamp_ms":1783514117000,"timestamp_seconds":1783514117,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b9b388"} 
[2026-07-08 18:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-08 18:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579611648001,"66":13037,"63":206,"85":15104,"24":41,"16":103876326674399232,"45":-9048435313841117184},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-08 18:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579611648001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:06:09] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-08 18:06:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103876326674399232,"km_value":103876326674399.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9048435313841117184,"description":"Unknown IO ID 45"} 
[2026-07-08 18:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579611648001,"power":13037,"unknown_63":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9048435313841117184}} 
[2026-07-08 18:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":125808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452944,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:06:09] local.INFO: GPS data processed {"connection_id":125808,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:06:09] local.INFO: Acknowledgment sent {"connection_id":125808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:06:31] local.INFO: TCP Data received {"connection_id":126587,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126587,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:06:31] local.INFO: Processing buffer {"connection_id":126587,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:06:31] local.INFO: IMEI packet received {"connection_id":126587,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":126587,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:06:32] local.INFO: TCP Data received {"connection_id":125706,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b8d4e0012d81fec0059c5ff00008015a30..."} 
[2026-07-08 18:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b8d4e0012d81fec0059c5ff00008015a30..."} 
[2026-07-08 18:06:32] local.INFO: Processing buffer {"connection_id":125706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b8d4e0012d81fec0059c5ff00008015a30..."} 
[2026-07-08 18:06:32] local.INFO: Packet analysis {"connection_id":125706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b8"} 
[2026-07-08 18:06:32] local.INFO: Extracted packet for processing {"connection_id":125706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b8"} 
[2026-07-08 18:06:32] local.INFO: GPS Element Parsed {"raw_longitude":763494080,"raw_latitude":94134256,"longitude_deg":76.349408,"latitude_deg":9.4134256,"altitude":8,"angle":346,"satellites":48,"speed":23,"hex_longitude":"2d81fec0","hex_latitude":"059c5ff0","is_valid_coordinates":true} 
[2026-07-08 18:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579596032001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342958356970864640,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9076864287380740096,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783514060000,"timestamp_ms":1783514060000,"timestamp_seconds":1783514060,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b8d4e0"} 
[2026-07-08 18:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 18:06: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-07-08 18:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579596032001,"66":27821,"192":206,"85":14336,"24":23,"16":342958356970864640,"45":-9076864287380740096},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,85,24,16,45]} 
[2026-07-08 18:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579596032001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:06:32] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-08 18:06:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342958356970864640,"km_value":342958356970864.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9076864287380740096,"description":"Unknown IO ID 45"} 
[2026-07-08 18:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579596032001,"power":27821,"unknown_192":206,"unknown_85":14336,"ignition":23,"odometer":null,"unknown_45":-9076864287380740096}} 
[2026-07-08 18:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":125706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:06:32] local.INFO: GPS data processed {"connection_id":125706,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:06:32] local.INFO: Acknowledgment sent {"connection_id":125706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:06:33] local.INFO: TCP Data received {"connection_id":126587,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126587,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:06:33] local.INFO: Processing buffer {"connection_id":126587,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:06:33] local.INFO: IMEI packet received {"connection_id":126587,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":126587,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:06:35] local.INFO: TCP Data received {"connection_id":126587,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126587,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:06:35] local.INFO: Processing buffer {"connection_id":126587,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:06:35] local.INFO: IMEI packet received {"connection_id":126587,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":126587,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:06:35] local.INFO: TCP Data received {"connection_id":126587,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41bac110012d818b4005d185b00008011c2b..."} 
[2026-07-08 18:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41bac110012d818b4005d185b00008011c2b..."} 
[2026-07-08 18:06:35] local.INFO: Processing buffer {"connection_id":126587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41bac110012d818b4005d185b00008011c2b..."} 
[2026-07-08 18:06:35] local.INFO: Packet analysis {"connection_id":126587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ba"} 
[2026-07-08 18:06:35] local.INFO: Extracted packet for processing {"connection_id":126587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ba"} 
[2026-07-08 18:06:35] local.INFO: GPS Element Parsed {"raw_longitude":763464512,"raw_latitude":97617328,"longitude_deg":76.3464512,"latitude_deg":9.7617328,"altitude":8,"angle":284,"satellites":43,"speed":28,"hex_longitude":"2d818b40","hex_latitude":"05d185b0","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579628800001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103878714676215808,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9101985928158404608,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783514186000,"timestamp_ms":1783514186000,"timestamp_seconds":1783514186,"priority":1,"record_length":96,"hex_timestamp":"0000019f41bac110"} 
[2026-07-08 18:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-08 18:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579628800001,"66":13048,"65":206,"85":15104,"24":28,"16":103878714676215808,"45":-9101985928158404608},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-07-08 18:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579628800001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:06:36] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-08 18:06:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103878714676215808,"km_value":103878714676215.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9101985928158404608,"description":"Unknown IO ID 45"} 
[2026-07-08 18:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579628800001,"power":13048,"unknown_65":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9101985928158404608}} 
[2026-07-08 18:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":126587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452946,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:06:36] local.INFO: GPS data processed {"connection_id":126587,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:06:36] local.INFO: Acknowledgment sent {"connection_id":126587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:06:37] local.INFO: TCP Data received {"connection_id":125707,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b8b1b8012d1820c00721b340004c00d42e..."} 
[2026-07-08 18:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b8b1b8012d1820c00721b340004c00d42e..."} 
[2026-07-08 18:06:37] local.INFO: Processing buffer {"connection_id":125707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b8b1b8012d1820c00721b340004c00d42e..."} 
[2026-07-08 18:06:37] local.INFO: Packet analysis {"connection_id":125707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b8"} 
[2026-07-08 18:06:37] local.INFO: Extracted packet for processing {"connection_id":125707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b8"} 
[2026-07-08 18:06:37] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649088,"longitude_deg":75.6555968,"latitude_deg":11.9649088,"altitude":76,"angle":212,"satellites":46,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b340","is_valid_coordinates":true} 
[2026-07-08 18:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579591680001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4908713827631104,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469633024,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783514051000,"timestamp_ms":1783514051000,"timestamp_seconds":1783514051,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b8b1b8"} 
[2026-07-08 18:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-08 18:06:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:37] local.WARNING: Large IO value detected {"io_id":65,"raw_value":-5322841338128358592,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:37] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3044540492,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-08 18:06:37] local.WARNING: Large IO value detected {"io_id":197,"raw_value":2281778456,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:37] local.WARNING: Large IO value detected {"io_id":50,"raw_value":8430964359349456467,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:37] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428979516706705452,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:37] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:37] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,112,159,13,45,64,181,76,43,10,66,187,1,240,63,227,65,33,4,113,205,197,35,120,239,50,2,17,7,164],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-08 18:06:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476606047164563456,"timestamp_seconds":5476606047164563.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 18:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579591680001,"66":12776,"105":206,"83":41984,"24":0,"16":4908713827631104,"45":1739304280469633024},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579591680001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:06:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:06:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4908713827631104,"km_value":4908713827631.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469633024,"description":"Unknown IO ID 45"} 
[2026-07-08 18:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579591680001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469633024}} 
[2026-07-08 18:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":125707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:06:37] local.INFO: GPS data processed {"connection_id":125707,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:06:37] local.INFO: Acknowledgment sent {"connection_id":125707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:06:41] local.INFO: TCP Data received {"connection_id":126587,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41bad498012d81804005d188e00008010e26..."} 
[2026-07-08 18:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41bad498012d81804005d188e00008010e26..."} 
[2026-07-08 18:06:41] local.INFO: Processing buffer {"connection_id":126587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41bad498012d81804005d188e00008010e26..."} 
[2026-07-08 18:06:41] local.INFO: Packet analysis {"connection_id":126587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ba"} 
[2026-07-08 18:06:41] local.INFO: Extracted packet for processing {"connection_id":126587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ba"} 
[2026-07-08 18:06:41] local.INFO: GPS Element Parsed {"raw_longitude":763461696,"raw_latitude":97618144,"longitude_deg":76.3461696,"latitude_deg":9.7618144,"altitude":8,"angle":270,"satellites":38,"speed":19,"hex_longitude":"2d818040","hex_latitude":"05d188e0","is_valid_coordinates":true} 
[2026-07-08 18:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579631616001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103878856410136576,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9112119027319853056,"note":"Value kept but may cause issues"} 
[2026-07-08 18:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783514191000,"timestamp_ms":1783514191000,"timestamp_seconds":1783514191,"priority":1,"record_length":96,"hex_timestamp":"0000019f41bad498"} 
[2026-07-08 18:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-08 18:06: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-07-08 18:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":126587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":126587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":126587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579631616001,"66":12678,"65":206,"85":15104,"24":19,"16":103878856410136576,"45":-9112119027319853056},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-07-08 18:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579631616001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:06:41] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-08 18:06:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103878856410136576,"km_value":103878856410136.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9112119027319853056,"description":"Unknown IO ID 45"} 
[2026-07-08 18:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579631616001,"power":12678,"unknown_65":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9112119027319853056}} 
[2026-07-08 18:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":126587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452948,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:06:41] local.INFO: GPS data processed {"connection_id":126587,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:06:41] local.INFO: Acknowledgment sent {"connection_id":126587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:06:59] local.INFO: TCP Data received {"connection_id":127807,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:06:59] local.INFO: Processing buffer {"connection_id":127807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:06:59] local.INFO: IMEI packet received {"connection_id":127807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":127807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:07:00] local.INFO: TCP Data received {"connection_id":125810,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:07:00] local.INFO: Processing buffer {"connection_id":125810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:07:00] local.INFO: IMEI packet received {"connection_id":125810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":125810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:07:05] local.INFO: TCP Data received {"connection_id":127807,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:07:05] local.INFO: Processing buffer {"connection_id":127807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:07:05] local.INFO: IMEI packet received {"connection_id":127807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":127807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:07:05] local.INFO: TCP Data received {"connection_id":125810,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:07:05] local.INFO: Processing buffer {"connection_id":125810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:07:05] local.INFO: IMEI packet received {"connection_id":125810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":125810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:07:05] local.INFO: TCP Data received {"connection_id":127807,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b903c0012d1820c00721b340004c00d42f..."} 
[2026-07-08 18:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b903c0012d1820c00721b340004c00d42f..."} 
[2026-07-08 18:07:05] local.INFO: Processing buffer {"connection_id":127807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b903c0012d1820c00721b340004c00d42f..."} 
[2026-07-08 18:07:05] local.INFO: Packet analysis {"connection_id":127807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b9"} 
[2026-07-08 18:07:05] local.INFO: Extracted packet for processing {"connection_id":127807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b9"} 
[2026-07-08 18:07:05] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649088,"longitude_deg":75.6555968,"latitude_deg":11.9649088,"altitude":76,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b340","is_valid_coordinates":true} 
[2026-07-08 18:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579597056001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4908713827631104,"note":"Value kept but may cause issues"} 
[2026-07-08 18:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027710976,"note":"Value kept but may cause issues"} 
[2026-07-08 18:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783514072000,"timestamp_ms":1783514072000,"timestamp_seconds":1783514072,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b903c0"} 
[2026-07-08 18:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:07: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-07-08 18:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-08 18:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579597056001,"66":12776,"105":206,"83":41984,"24":0,"16":4908713827631104,"45":1738600593027710976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579597056001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:07:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:07:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4908713827631104,"km_value":4908713827631.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027710976,"description":"Unknown IO ID 45"} 
[2026-07-08 18:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579597056001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027710976}} 
[2026-07-08 18:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":127807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:07:06] local.INFO: GPS data processed {"connection_id":127807,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:07:06] local.INFO: Acknowledgment sent {"connection_id":127807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:07:06] local.INFO: TCP Data received {"connection_id":125810,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ba3c40012d81be40059d6ac00008015c2c..."} 
[2026-07-08 18:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ba3c40012d81be40059d6ac00008015c2c..."} 
[2026-07-08 18:07:06] local.INFO: Processing buffer {"connection_id":125810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ba3c40012d81be40059d6ac00008015c2c..."} 
[2026-07-08 18:07:06] local.INFO: Packet analysis {"connection_id":125810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ba"} 
[2026-07-08 18:07:06] local.INFO: Extracted packet for processing {"connection_id":125810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ba"} 
[2026-07-08 18:07:06] local.INFO: GPS Element Parsed {"raw_longitude":763477568,"raw_latitude":94202560,"longitude_deg":76.3477568,"latitude_deg":9.420256,"altitude":8,"angle":348,"satellites":44,"speed":34,"hex_longitude":"2d81be40","hex_latitude":"059d6ac0","is_valid_coordinates":true} 
[2026-07-08 18:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579620096001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342961775764832256,"note":"Value kept but may cause issues"} 
[2026-07-08 18:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9095793479547166720,"note":"Value kept but may cause issues"} 
[2026-07-08 18:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783514152000,"timestamp_ms":1783514152000,"timestamp_seconds":1783514152,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ba3c40"} 
[2026-07-08 18:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 18:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579620096001,"66":27930,"193":206,"85":14336,"24":34,"16":342961775764832256,"45":-9095793479547166720},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,85,24,16,45]} 
[2026-07-08 18:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579620096001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:07:06] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-08 18:07:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342961775764832256,"km_value":342961775764832.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9095793479547166720,"description":"Unknown IO ID 45"} 
[2026-07-08 18:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579620096001,"power":27930,"unknown_193":206,"unknown_85":14336,"ignition":34,"odometer":null,"unknown_45":-9095793479547166720}} 
[2026-07-08 18:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":125810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:07:06] local.INFO: GPS data processed {"connection_id":125810,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:07:06] local.INFO: Acknowledgment sent {"connection_id":125810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:07:22] local.INFO: TCP Data received {"connection_id":125810,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ba72f0012d81b6c0059d8d000009015b2d..."} 
[2026-07-08 18:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ba72f0012d81b6c0059d8d000009015b2d..."} 
[2026-07-08 18:07:22] local.INFO: Processing buffer {"connection_id":125810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ba72f0012d81b6c0059d8d000009015b2d..."} 
[2026-07-08 18:07:22] local.INFO: Packet analysis {"connection_id":125810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ba"} 
[2026-07-08 18:07:22] local.INFO: Extracted packet for processing {"connection_id":125810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ba"} 
[2026-07-08 18:07:22] local.INFO: GPS Element Parsed {"raw_longitude":763475648,"raw_latitude":94211328,"longitude_deg":76.3475648,"latitude_deg":9.4211328,"altitude":9,"angle":347,"satellites":45,"speed":9,"hex_longitude":"2d81b6c0","hex_latitude":"059d8d00","is_valid_coordinates":true} 
[2026-07-08 18:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579622912001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342962209556529152,"note":"Value kept but may cause issues"} 
[2026-07-08 18:07:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9097763804381790208,"note":"Value kept but may cause issues"} 
[2026-07-08 18:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783514166000,"timestamp_ms":1783514166000,"timestamp_seconds":1783514166,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ba72f0"} 
[2026-07-08 18:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-08 18:07:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:07:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579622912001,"66":27876,"193":206,"85":14336,"24":9,"16":342962209556529152,"45":-9097763804381790208},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,85,24,16,45]} 
[2026-07-08 18:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579622912001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:07:22] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-08 18:07:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342962209556529152,"km_value":342962209556529.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:07:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9097763804381790208,"description":"Unknown IO ID 45"} 
[2026-07-08 18:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579622912001,"power":27876,"unknown_193":206,"unknown_85":14336,"ignition":9,"odometer":null,"unknown_45":-9097763804381790208}} 
[2026-07-08 18:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":125810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:07:22] local.INFO: GPS data processed {"connection_id":125810,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:07:22] local.INFO: Acknowledgment sent {"connection_id":125810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:07:31] local.INFO: TCP Data received {"connection_id":125708,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:07:31] local.INFO: Processing buffer {"connection_id":125708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:07:31] local.INFO: IMEI packet received {"connection_id":125708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":125708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:07:36] local.INFO: TCP Data received {"connection_id":125708,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:07:36] local.INFO: Processing buffer {"connection_id":125708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:07:36] local.INFO: IMEI packet received {"connection_id":125708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":125708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:07:37] local.INFO: TCP Data received {"connection_id":127807,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b955c8012d1820c00721b340004c00d42f..."} 
[2026-07-08 18:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b955c8012d1820c00721b340004c00d42f..."} 
[2026-07-08 18:07:37] local.INFO: Processing buffer {"connection_id":127807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b955c8012d1820c00721b340004c00d42f..."} 
[2026-07-08 18:07:37] local.INFO: Packet analysis {"connection_id":127807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b9"} 
[2026-07-08 18:07:37] local.INFO: Extracted packet for processing {"connection_id":127807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b9"} 
[2026-07-08 18:07:37] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649088,"longitude_deg":75.6555968,"latitude_deg":11.9649088,"altitude":76,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b340","is_valid_coordinates":true} 
[2026-07-08 18:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579602432001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4908713827631104,"note":"Value kept but may cause issues"} 
[2026-07-08 18:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027710976,"note":"Value kept but may cause issues"} 
[2026-07-08 18:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783514093000,"timestamp_ms":1783514093000,"timestamp_seconds":1783514093,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b955c8"} 
[2026-07-08 18:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-08 18:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579602432001,"66":12776,"105":206,"83":41984,"24":0,"16":4908713827631104,"45":1738600593027710976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579602432001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:07:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:07:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4908713827631104,"km_value":4908713827631.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027710976,"description":"Unknown IO ID 45"} 
[2026-07-08 18:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579602432001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027710976}} 
[2026-07-08 18:07:37] local.INFO: TCP Data received {"connection_id":125708,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41baf3d8012d816e8005d182d80009010426..."} 
[2026-07-08 18:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":127807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:07:37] local.INFO: GPS data processed {"connection_id":127807,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:07:37] local.INFO: Acknowledgment sent {"connection_id":127807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41baf3d8012d816e8005d182d80009010426..."} 
[2026-07-08 18:07:37] local.INFO: Processing buffer {"connection_id":125708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41baf3d8012d816e8005d182d80009010426..."} 
[2026-07-08 18:07:37] local.INFO: Packet analysis {"connection_id":125708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ba"} 
[2026-07-08 18:07:37] local.INFO: Extracted packet for processing {"connection_id":125708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ba"} 
[2026-07-08 18:07:37] local.INFO: GPS Element Parsed {"raw_longitude":763457152,"raw_latitude":97616600,"longitude_deg":76.3457152,"latitude_deg":9.76166,"altitude":9,"angle":260,"satellites":38,"speed":23,"hex_longitude":"2d816e80","hex_latitude":"05d182d8","is_valid_coordinates":true} 
[2026-07-08 18:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579633408001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103879088338370560,"note":"Value kept but may cause issues"} 
[2026-07-08 18:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9116411520714553344,"note":"Value kept but may cause issues"} 
[2026-07-08 18:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783514199000,"timestamp_ms":1783514199000,"timestamp_seconds":1783514199,"priority":1,"record_length":96,"hex_timestamp":"0000019f41baf3d8"} 
[2026-07-08 18:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-08 18:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579633408001,"66":12743,"65":206,"85":15104,"24":23,"16":103879088338370560,"45":-9116411520714553344},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-07-08 18:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579633408001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:07:37] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-08 18:07:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103879088338370560,"km_value":103879088338370.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9116411520714553344,"description":"Unknown IO ID 45"} 
[2026-07-08 18:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579633408001,"power":12743,"unknown_65":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9116411520714553344}} 
[2026-07-08 18:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":125708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452953,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:07:37] local.INFO: GPS data processed {"connection_id":125708,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:07:37] local.INFO: Acknowledgment sent {"connection_id":125708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:07:40] local.INFO: TCP Data received {"connection_id":126587,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41badc68012d817c0005d187c8000900f828..."} 
[2026-07-08 18:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41badc68012d817c0005d187c8000900f828..."} 
[2026-07-08 18:07:40] local.INFO: Processing buffer {"connection_id":126587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41badc68012d817c0005d187c8000900f828..."} 
[2026-07-08 18:07:40] local.INFO: Packet analysis {"connection_id":126587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ba"} 
[2026-07-08 18:07:40] local.INFO: Extracted packet for processing {"connection_id":126587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ba"} 
[2026-07-08 18:07:40] local.INFO: GPS Element Parsed {"raw_longitude":763460608,"raw_latitude":97617864,"longitude_deg":76.3460608,"latitude_deg":9.7617864,"altitude":9,"angle":248,"satellites":40,"speed":22,"hex_longitude":"2d817c00","hex_latitude":"05d187c8","is_valid_coordinates":true} 
[2026-07-08 18:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579632896001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103878912244711424,"note":"Value kept but may cause issues"} 
[2026-07-08 18:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9115215252063461376,"note":"Value kept but may cause issues"} 
[2026-07-08 18:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783514193000,"timestamp_ms":1783514193000,"timestamp_seconds":1783514193,"priority":1,"record_length":96,"hex_timestamp":"0000019f41badc68"} 
[2026-07-08 18:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-08 18:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579632896001,"66":13048,"65":206,"85":15104,"24":22,"16":103878912244711424,"45":-9115215252063461376},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-07-08 18:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579632896001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:07:40] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-08 18:07:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103878912244711424,"km_value":103878912244711.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9115215252063461376,"description":"Unknown IO ID 45"} 
[2026-07-08 18:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579632896001,"power":13048,"unknown_65":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9115215252063461376}} 
[2026-07-08 18:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":126587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452954,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:07:40] local.INFO: GPS data processed {"connection_id":126587,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:07:40] local.INFO: Acknowledgment sent {"connection_id":126587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:07:55] local.INFO: TCP Data received {"connection_id":125811,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:07:55] local.INFO: Processing buffer {"connection_id":125811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:07:55] local.INFO: IMEI packet received {"connection_id":125811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":125811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:07:59] local.INFO: TCP Data received {"connection_id":126588,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:07:59] local.INFO: Processing buffer {"connection_id":126588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:07:59] local.INFO: IMEI packet received {"connection_id":126588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":126588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:08:00] local.INFO: TCP Data received {"connection_id":125811,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:08:00] local.INFO: Processing buffer {"connection_id":125811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:08:00] local.INFO: IMEI packet received {"connection_id":125811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":125811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:08:01] local.INFO: TCP Data received {"connection_id":125811,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41bac4f8012d81b540059d9680000a015d2e..."} 
[2026-07-08 18:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41bac4f8012d81b540059d9680000a015d2e..."} 
[2026-07-08 18:08:01] local.INFO: Processing buffer {"connection_id":125811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41bac4f8012d81b540059d9680000a015d2e..."} 
[2026-07-08 18:08:01] local.INFO: Packet analysis {"connection_id":125811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ba"} 
[2026-07-08 18:08:01] local.INFO: Extracted packet for processing {"connection_id":125811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ba"} 
[2026-07-08 18:08:01] local.INFO: GPS Element Parsed {"raw_longitude":763475264,"raw_latitude":94213760,"longitude_deg":76.3475264,"latitude_deg":9.421376,"altitude":10,"angle":349,"satellites":46,"speed":9,"hex_longitude":"2d81b540","hex_latitude":"059d9680","is_valid_coordinates":true} 
[2026-07-08 18:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579626496001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342962334110580736,"note":"Value kept but may cause issues"} 
[2026-07-08 18:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9099874866704875520,"note":"Value kept but may cause issues"} 
[2026-07-08 18:08:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783514187000,"timestamp_ms":1783514187000,"timestamp_seconds":1783514187,"priority":1,"record_length":96,"hex_timestamp":"0000019f41bac4f8"} 
[2026-07-08 18:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 18:08:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:08:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579626496001,"66":27800,"193":206,"85":14336,"24":9,"16":342962334110580736,"45":-9099874866704875520},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,85,24,16,45]} 
[2026-07-08 18:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579626496001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:08:01] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-08 18:08:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342962334110580736,"km_value":342962334110580.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9099874866704875520,"description":"Unknown IO ID 45"} 
[2026-07-08 18:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579626496001,"power":27800,"unknown_193":206,"unknown_85":14336,"ignition":9,"odometer":null,"unknown_45":-9099874866704875520}} 
[2026-07-08 18:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":125811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:08:01] local.INFO: GPS data processed {"connection_id":125811,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:08:01] local.INFO: Acknowledgment sent {"connection_id":125811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:08:05] local.INFO: TCP Data received {"connection_id":126588,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:08:05] local.INFO: Processing buffer {"connection_id":126588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:08:05] local.INFO: IMEI packet received {"connection_id":126588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":126588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:08:06] local.INFO: TCP Data received {"connection_id":126588,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b9a7d0012d1820c00721b340004c00d431..."} 
[2026-07-08 18:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b9a7d0012d1820c00721b340004c00d431..."} 
[2026-07-08 18:08:06] local.INFO: Processing buffer {"connection_id":126588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b9a7d0012d1820c00721b340004c00d431..."} 
[2026-07-08 18:08:06] local.INFO: Packet analysis {"connection_id":126588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b9"} 
[2026-07-08 18:08:06] local.INFO: Extracted packet for processing {"connection_id":126588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b9"} 
[2026-07-08 18:08:06] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649088,"longitude_deg":75.6555968,"latitude_deg":11.9649088,"altitude":76,"angle":212,"satellites":49,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b340","is_valid_coordinates":true} 
[2026-07-08 18:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579607808001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4908713827631104,"note":"Value kept but may cause issues"} 
[2026-07-08 18:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027710976,"note":"Value kept but may cause issues"} 
[2026-07-08 18:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783514114000,"timestamp_ms":1783514114000,"timestamp_seconds":1783514114,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b9a7d0"} 
[2026-07-08 18:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-08 18:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579607808001,"66":12722,"105":206,"83":41984,"24":0,"16":4908713827631104,"45":1738600593027710976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579607808001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:08:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:08:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4908713827631104,"km_value":4908713827631.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027710976,"description":"Unknown IO ID 45"} 
[2026-07-08 18:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579607808001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027710976}} 
[2026-07-08 18:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":126588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:08:06] local.INFO: GPS data processed {"connection_id":126588,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:08:06] local.INFO: Acknowledgment sent {"connection_id":126588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:08:08] local.INFO: TCP Data received {"connection_id":125708,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41bc1100012d81124005d1ed10000200092c..."} 
[2026-07-08 18:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41bc1100012d81124005d1ed10000200092c..."} 
[2026-07-08 18:08:08] local.INFO: Processing buffer {"connection_id":125708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41bc1100012d81124005d1ed10000200092c..."} 
[2026-07-08 18:08:08] local.INFO: Packet analysis {"connection_id":125708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41bc"} 
[2026-07-08 18:08:08] local.INFO: Extracted packet for processing {"connection_id":125708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41bc"} 
[2026-07-08 18:08:08] local.INFO: GPS Element Parsed {"raw_longitude":763433536,"raw_latitude":97643792,"longitude_deg":76.3433536,"latitude_deg":9.7643792,"altitude":2,"angle":9,"satellites":44,"speed":42,"hex_longitude":"2d811240","hex_latitude":"05d1ed10","is_valid_coordinates":true} 
[2026-07-08 18:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579652352001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103881450570383360,"note":"Value kept but may cause issues"} 
[2026-07-08 18:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146670080705683456,"note":"Value kept but may cause issues"} 
[2026-07-08 18:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783514272000,"timestamp_ms":1783514272000,"timestamp_seconds":1783514272,"priority":1,"record_length":96,"hex_timestamp":"0000019f41bc1100"} 
[2026-07-08 18:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-08 18:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579652352001,"66":13015,"65":206,"85":15104,"24":42,"16":103881450570383360,"45":-9146670080705683456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-07-08 18:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579652352001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:08:08] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-08 18:08:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103881450570383360,"km_value":103881450570383.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146670080705683456,"description":"Unknown IO ID 45"} 
[2026-07-08 18:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579652352001,"power":13015,"unknown_65":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-9146670080705683456}} 
[2026-07-08 18:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":125708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452957,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:08:08] local.INFO: GPS data processed {"connection_id":125708,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:08:08] local.INFO: Acknowledgment sent {"connection_id":125708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:08:30] local.INFO: TCP Data received {"connection_id":126589,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:08:30] local.INFO: Processing buffer {"connection_id":126589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:08:30] local.INFO: IMEI packet received {"connection_id":126589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":126589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:08:31] local.INFO: TCP Data received {"connection_id":126589,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:08:31] local.INFO: Processing buffer {"connection_id":126589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:08:31] local.INFO: IMEI packet received {"connection_id":126589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":126589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:08:31] local.INFO: TCP Data received {"connection_id":126589,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:08:31] local.INFO: Processing buffer {"connection_id":126589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:08:31] local.INFO: IMEI packet received {"connection_id":126589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":126589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:08:32] local.INFO: TCP Data received {"connection_id":125811,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41bbda50012d818fc0059e87000009015b2e..."} 
[2026-07-08 18:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41bbda50012d818fc0059e87000009015b2e..."} 
[2026-07-08 18:08:32] local.INFO: Processing buffer {"connection_id":125811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41bbda50012d818fc0059e87000009015b2e..."} 
[2026-07-08 18:08:32] local.INFO: Packet analysis {"connection_id":125811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41bb"} 
[2026-07-08 18:08:32] local.INFO: Extracted packet for processing {"connection_id":125811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41bb"} 
[2026-07-08 18:08:32] local.INFO: GPS Element Parsed {"raw_longitude":763465664,"raw_latitude":94275328,"longitude_deg":76.3465664,"latitude_deg":9.4275328,"altitude":9,"angle":347,"satellites":46,"speed":52,"hex_longitude":"2d818fc0","hex_latitude":"059e8700","is_valid_coordinates":true} 
[2026-07-08 18:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579648256001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342965374947426304,"note":"Value kept but may cause issues"} 
[2026-07-08 18:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9108670959712942080,"note":"Value kept but may cause issues"} 
[2026-07-08 18:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783514258000,"timestamp_ms":1783514258000,"timestamp_seconds":1783514258,"priority":1,"record_length":96,"hex_timestamp":"0000019f41bbda50"} 
[2026-07-08 18:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-08 18:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:08:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579648256001,"66":27843,"178":206,"85":14336,"24":52,"16":342965374947426304,"45":-9108670959712942080},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,45]} 
[2026-07-08 18:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579648256001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:08:32] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-08 18:08:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342965374947426304,"km_value":342965374947426.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9108670959712942080,"description":"Unknown IO ID 45"} 
[2026-07-08 18:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579648256001,"power":27843,"unknown_178":206,"unknown_85":14336,"ignition":52,"odometer":null,"unknown_45":-9108670959712942080}} 
[2026-07-08 18:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":125811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:08:32] local.INFO: GPS data processed {"connection_id":125811,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:08:32] local.INFO: Acknowledgment sent {"connection_id":125811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:08:33] local.INFO: TCP Data received {"connection_id":126589,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:08:33] local.INFO: Processing buffer {"connection_id":126589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:08:33] local.INFO: IMEI packet received {"connection_id":126589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":126589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:08:37] local.INFO: TCP Data received {"connection_id":126588,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41b9f9d8012d1820c00721b340004c00d431..."} 
[2026-07-08 18:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41b9f9d8012d1820c00721b340004c00d431..."} 
[2026-07-08 18:08:37] local.INFO: Processing buffer {"connection_id":126588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41b9f9d8012d1820c00721b340004c00d431..."} 
[2026-07-08 18:08:37] local.INFO: Packet analysis {"connection_id":126588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41b9"} 
[2026-07-08 18:08:37] local.INFO: Extracted packet for processing {"connection_id":126588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41b9"} 
[2026-07-08 18:08:37] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649088,"longitude_deg":75.6555968,"latitude_deg":11.9649088,"altitude":76,"angle":212,"satellites":49,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b340","is_valid_coordinates":true} 
[2026-07-08 18:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579613184001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4908713827631104,"note":"Value kept but may cause issues"} 
[2026-07-08 18:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027710976,"note":"Value kept but may cause issues"} 
[2026-07-08 18:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783514135000,"timestamp_ms":1783514135000,"timestamp_seconds":1783514135,"priority":1,"record_length":96,"hex_timestamp":"0000019f41b9f9d8"} 
[2026-07-08 18:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-08 18:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579613184001,"66":12689,"105":206,"83":41984,"24":0,"16":4908713827631104,"45":1738600593027710976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579613184001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:08:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:08:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4908713827631104,"km_value":4908713827631.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027710976,"description":"Unknown IO ID 45"} 
[2026-07-08 18:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579613184001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027710976}} 
[2026-07-08 18:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":126588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:08:37] local.INFO: GPS data processed {"connection_id":126588,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:08:37] local.INFO: Acknowledgment sent {"connection_id":126588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:08:56] local.INFO: TCP Data received {"connection_id":127808,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:08:56] local.INFO: Processing buffer {"connection_id":127808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:08:56] local.INFO: IMEI packet received {"connection_id":127808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":127808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:08:59] local.INFO: TCP Data received {"connection_id":127810,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:08:59] local.INFO: Processing buffer {"connection_id":127810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:08:59] local.INFO: IMEI packet received {"connection_id":127810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":127810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:09:00] local.INFO: TCP Data received {"connection_id":127808,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:09:00] local.INFO: Processing buffer {"connection_id":127808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:09:00] local.INFO: IMEI packet received {"connection_id":127808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":127808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:09:00] local.INFO: TCP Data received {"connection_id":127810,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:09:00] local.INFO: Processing buffer {"connection_id":127810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:09:00] local.INFO: IMEI packet received {"connection_id":127810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":127810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:09:00] local.INFO: TCP Data received {"connection_id":127808,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41bbf5a8012d818800059eaaf80008015c2e..."} 
[2026-07-08 18:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41bbf5a8012d818800059eaaf80008015c2e..."} 
[2026-07-08 18:09:01] local.INFO: Processing buffer {"connection_id":127808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41bbf5a8012d818800059eaaf80008015c2e..."} 
[2026-07-08 18:09:01] local.INFO: Packet analysis {"connection_id":127808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41bb"} 
[2026-07-08 18:09:01] local.INFO: Extracted packet for processing {"connection_id":127808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41bb"} 
[2026-07-08 18:09:01] local.INFO: GPS Element Parsed {"raw_longitude":763463680,"raw_latitude":94284536,"longitude_deg":76.346368,"latitude_deg":9.4284536,"altitude":8,"angle":348,"satellites":46,"speed":53,"hex_longitude":"2d818800","hex_latitude":"059eaaf8","is_valid_coordinates":true} 
[2026-07-08 18:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579650048001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342965830213959680,"note":"Value kept but may cause issues"} 
[2026-07-08 18:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9110852390780207104,"note":"Value kept but may cause issues"} 
[2026-07-08 18:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783514265000,"timestamp_ms":1783514265000,"timestamp_seconds":1783514265,"priority":1,"record_length":96,"hex_timestamp":"0000019f41bbf5a8"} 
[2026-07-08 18:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 18:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:09:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579650048001,"66":27821,"178":206,"85":14336,"24":53,"16":342965830213959680,"45":-9110852390780207104},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,45]} 
[2026-07-08 18:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579650048001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:09:01] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-08 18:09:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342965830213959680,"km_value":342965830213959.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9110852390780207104,"description":"Unknown IO ID 45"} 
[2026-07-08 18:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579650048001,"power":27821,"unknown_178":206,"unknown_85":14336,"ignition":53,"odometer":null,"unknown_45":-9110852390780207104}} 
[2026-07-08 18:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":127808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:09:01] local.INFO: GPS data processed {"connection_id":127808,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:09:01] local.INFO: Acknowledgment sent {"connection_id":127808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:09:05] local.INFO: TCP Data received {"connection_id":127810,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:09:05] local.INFO: Processing buffer {"connection_id":127810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:09:05] local.INFO: IMEI packet received {"connection_id":127810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":127810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:09:06] local.INFO: TCP Data received {"connection_id":127810,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ba4be0012d1820c00721b340004c00d431..."} 
[2026-07-08 18:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ba4be0012d1820c00721b340004c00d431..."} 
[2026-07-08 18:09:06] local.INFO: Processing buffer {"connection_id":127810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ba4be0012d1820c00721b340004c00d431..."} 
[2026-07-08 18:09:06] local.INFO: Packet analysis {"connection_id":127810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ba"} 
[2026-07-08 18:09:06] local.INFO: Extracted packet for processing {"connection_id":127810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ba"} 
[2026-07-08 18:09:06] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649088,"longitude_deg":75.6555968,"latitude_deg":11.9649088,"altitude":76,"angle":212,"satellites":49,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b340","is_valid_coordinates":true} 
[2026-07-08 18:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579618560001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4908713827631104,"note":"Value kept but may cause issues"} 
[2026-07-08 18:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027710976,"note":"Value kept but may cause issues"} 
[2026-07-08 18:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783514156000,"timestamp_ms":1783514156000,"timestamp_seconds":1783514156,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ba4be0"} 
[2026-07-08 18:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 18:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579618560001,"66":12689,"105":206,"83":41984,"24":0,"16":4908713827631104,"45":1738600593027710976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579618560001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:09:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:09:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4908713827631104,"km_value":4908713827631.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027710976,"description":"Unknown IO ID 45"} 
[2026-07-08 18:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579618560001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027710976}} 
[2026-07-08 18:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":127810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:09:06] local.INFO: GPS data processed {"connection_id":127810,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:09:06] local.INFO: Acknowledgment sent {"connection_id":127810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:09:31] local.INFO: TCP Data received {"connection_id":127808,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41bc1100012d818040059ed0d00008015c2e..."} 
[2026-07-08 18:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41bc1100012d818040059ed0d00008015c2e..."} 
[2026-07-08 18:09:31] local.INFO: Processing buffer {"connection_id":127808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41bc1100012d818040059ed0d00008015c2e..."} 
[2026-07-08 18:09:31] local.INFO: Packet analysis {"connection_id":127808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41bc"} 
[2026-07-08 18:09:31] local.INFO: Extracted packet for processing {"connection_id":127808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41bc"} 
[2026-07-08 18:09:31] local.INFO: GPS Element Parsed {"raw_longitude":763461696,"raw_latitude":94294224,"longitude_deg":76.3461696,"latitude_deg":9.4294224,"altitude":8,"angle":348,"satellites":46,"speed":58,"hex_longitude":"2d818040","hex_latitude":"059ed0d0","is_valid_coordinates":true} 
[2026-07-08 18:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579651840001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342966311250296832,"note":"Value kept but may cause issues"} 
[2026-07-08 18:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9113033821847357440,"note":"Value kept but may cause issues"} 
[2026-07-08 18:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783514272000,"timestamp_ms":1783514272000,"timestamp_seconds":1783514272,"priority":1,"record_length":96,"hex_timestamp":"0000019f41bc1100"} 
[2026-07-08 18:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:09: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-07-08 18:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 18:09:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:09:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":127808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":127808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":127808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579651840001,"66":27821,"178":206,"85":14336,"24":58,"16":342966311250296832,"45":-9113033821847357440},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,45]} 
[2026-07-08 18:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579651840001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:09:31] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-08 18:09:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342966311250296832,"km_value":342966311250296.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9113033821847357440,"description":"Unknown IO ID 45"} 
[2026-07-08 18:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579651840001,"power":27821,"unknown_178":206,"unknown_85":14336,"ignition":58,"odometer":null,"unknown_45":-9113033821847357440}} 
[2026-07-08 18:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":127808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:09:31] local.INFO: GPS data processed {"connection_id":127808,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:09:31] local.INFO: Acknowledgment sent {"connection_id":127808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:09:37] local.INFO: TCP Data received {"connection_id":127810,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ba9de8012d1820c00721b340004c00d430..."} 
[2026-07-08 18:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ba9de8012d1820c00721b340004c00d430..."} 
[2026-07-08 18:09:37] local.INFO: Processing buffer {"connection_id":127810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ba9de8012d1820c00721b340004c00d430..."} 
[2026-07-08 18:09:37] local.INFO: Packet analysis {"connection_id":127810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ba"} 
[2026-07-08 18:09:37] local.INFO: Extracted packet for processing {"connection_id":127810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ba"} 
[2026-07-08 18:09:37] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649088,"longitude_deg":75.6555968,"latitude_deg":11.9649088,"altitude":76,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b340","is_valid_coordinates":true} 
[2026-07-08 18:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579623936001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4908713827631104,"note":"Value kept but may cause issues"} 
[2026-07-08 18:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027710976,"note":"Value kept but may cause issues"} 
[2026-07-08 18:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783514177000,"timestamp_ms":1783514177000,"timestamp_seconds":1783514177,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ba9de8"} 
[2026-07-08 18:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 18:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579623936001,"66":12689,"105":206,"83":41984,"24":0,"16":4908713827631104,"45":1738600593027710976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579623936001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:09:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:09:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4908713827631104,"km_value":4908713827631.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027710976,"description":"Unknown IO ID 45"} 
[2026-07-08 18:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579623936001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027710976}} 
[2026-07-08 18:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":127810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:09:37] local.INFO: GPS data processed {"connection_id":127810,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:09:37] local.INFO: Acknowledgment sent {"connection_id":127810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:09:55] local.INFO: TCP Data received {"connection_id":126590,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:09:55] local.INFO: Processing buffer {"connection_id":126590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:09:55] local.INFO: IMEI packet received {"connection_id":126590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":126590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:10:00] local.INFO: TCP Data received {"connection_id":126590,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:10:00] local.INFO: Processing buffer {"connection_id":126590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:10:00] local.INFO: IMEI packet received {"connection_id":126590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":126590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:10:01] local.INFO: TCP Data received {"connection_id":126590,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41bc2c58012d8178c0059ef6a00008015b2e..."} 
[2026-07-08 18:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41bc2c58012d8178c0059ef6a00008015b2e..."} 
[2026-07-08 18:10:01] local.INFO: Processing buffer {"connection_id":126590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41bc2c58012d8178c0059ef6a00008015b2e..."} 
[2026-07-08 18:10:01] local.INFO: Packet analysis {"connection_id":126590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41bc"} 
[2026-07-08 18:10:01] local.INFO: Extracted packet for processing {"connection_id":126590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41bc"} 
[2026-07-08 18:10:01] local.INFO: GPS Element Parsed {"raw_longitude":763459776,"raw_latitude":94303904,"longitude_deg":76.3459776,"latitude_deg":9.4303904,"altitude":8,"angle":347,"satellites":46,"speed":47,"hex_longitude":"2d8178c0","hex_latitude":"059ef6a0","is_valid_coordinates":true} 
[2026-07-08 18:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579653632001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342966787991666688,"note":"Value kept but may cause issues"} 
[2026-07-08 18:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9115215252914384896,"note":"Value kept but may cause issues"} 
[2026-07-08 18:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783514279000,"timestamp_ms":1783514279000,"timestamp_seconds":1783514279,"priority":1,"record_length":96,"hex_timestamp":"0000019f41bc2c58"} 
[2026-07-08 18:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:10:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 18:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:10:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579653632001,"66":27908,"177":206,"85":14336,"24":47,"16":342966787991666688,"45":-9115215252914384896},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-07-08 18:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579653632001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:10:01] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-08 18:10:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342966787991666688,"km_value":342966787991666.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9115215252914384896,"description":"Unknown IO ID 45"} 
[2026-07-08 18:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579653632001,"power":27908,"unknown_177":206,"unknown_85":14336,"ignition":47,"odometer":null,"unknown_45":-9115215252914384896}} 
[2026-07-08 18:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":126590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:10:01] local.INFO: GPS data processed {"connection_id":126590,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:10:01] local.INFO: Acknowledgment sent {"connection_id":126590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:10:04] local.INFO: TCP Data received {"connection_id":125711,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:10:04] local.INFO: Processing buffer {"connection_id":125711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:10:04] local.INFO: IMEI packet received {"connection_id":125711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":125711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:10:04] local.INFO: TCP Data received {"connection_id":125711,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:10:04] local.INFO: Processing buffer {"connection_id":125711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:10:04] local.INFO: IMEI packet received {"connection_id":125711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":125711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:10:10] local.INFO: TCP Data received {"connection_id":125711,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:10:10] local.INFO: Processing buffer {"connection_id":125711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:10:10] local.INFO: IMEI packet received {"connection_id":125711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":125711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:10:11] local.INFO: TCP Data received {"connection_id":125711,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41baeff0012d181f800721b258004a00db30..."} 
[2026-07-08 18:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41baeff0012d181f800721b258004a00db30..."} 
[2026-07-08 18:10:11] local.INFO: Processing buffer {"connection_id":125711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41baeff0012d181f800721b258004a00db30..."} 
[2026-07-08 18:10:11] local.INFO: Packet analysis {"connection_id":125711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ba"} 
[2026-07-08 18:10:11] local.INFO: Extracted packet for processing {"connection_id":125711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ba"} 
[2026-07-08 18:10:11] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648856,"longitude_deg":75.6555648,"latitude_deg":11.9648856,"altitude":74,"angle":219,"satellites":48,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-07-08 18:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579629312001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4908731007500288,"note":"Value kept but may cause issues"} 
[2026-07-08 18:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027710976,"note":"Value kept but may cause issues"} 
[2026-07-08 18:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783514198000,"timestamp_ms":1783514198000,"timestamp_seconds":1783514198,"priority":1,"record_length":96,"hex_timestamp":"0000019f41baeff0"} 
[2026-07-08 18:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:10: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-07-08 18: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 18:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579629312001,"66":12689,"105":206,"83":41984,"24":0,"16":4908731007500288,"45":1738600593027710976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579629312001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:10:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:10:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4908731007500288,"km_value":4908731007500.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027710976,"description":"Unknown IO ID 45"} 
[2026-07-08 18:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579629312001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027710976}} 
[2026-07-08 18:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":125711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:10:11] local.INFO: GPS data processed {"connection_id":125711,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:10:11] local.INFO: Acknowledgment sent {"connection_id":125711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:10:15] local.INFO: TCP Data received {"connection_id":125711,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41bb41f8012d181f800721b258004a00db2d..."} 
[2026-07-08 18:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41bb41f8012d181f800721b258004a00db2d..."} 
[2026-07-08 18:10:15] local.INFO: Processing buffer {"connection_id":125711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41bb41f8012d181f800721b258004a00db2d..."} 
[2026-07-08 18:10:15] local.INFO: Packet analysis {"connection_id":125711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41bb"} 
[2026-07-08 18:10:15] local.INFO: Extracted packet for processing {"connection_id":125711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41bb"} 
[2026-07-08 18:10:15] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648856,"longitude_deg":75.6555648,"latitude_deg":11.9648856,"altitude":74,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-07-08 18:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579634688001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4908731007500288,"note":"Value kept but may cause issues"} 
[2026-07-08 18:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306763264,"note":"Value kept but may cause issues"} 
[2026-07-08 18:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783514219000,"timestamp_ms":1783514219000,"timestamp_seconds":1783514219,"priority":1,"record_length":96,"hex_timestamp":"0000019f41bb41f8"} 
[2026-07-08 18:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:10: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-07-08 18: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 18:10: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-07-08 18:10:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":125711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":125711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":125711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579634688001,"66":12667,"105":206,"83":41984,"24":0,"16":4908731007500288,"45":1738248749306763264},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579634688001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:10:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:10:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4908731007500288,"km_value":4908731007500.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306763264,"description":"Unknown IO ID 45"} 
[2026-07-08 18:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579634688001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306763264}} 
[2026-07-08 18:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":125711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:10:15] local.INFO: GPS data processed {"connection_id":125711,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:10:15] local.INFO: Acknowledgment sent {"connection_id":125711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:10:32] local.INFO: TCP Data received {"connection_id":126590,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41bd7478012d81380005a00d400008015b2e..."} 
[2026-07-08 18:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41bd7478012d81380005a00d400008015b2e..."} 
[2026-07-08 18:10:32] local.INFO: Processing buffer {"connection_id":126590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41bd7478012d81380005a00d400008015b2e..."} 
[2026-07-08 18:10:32] local.INFO: Packet analysis {"connection_id":126590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41bd"} 
[2026-07-08 18:10:32] local.INFO: Extracted packet for processing {"connection_id":126590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41bd"} 
[2026-07-08 18:10:32] local.INFO: GPS Element Parsed {"raw_longitude":763443200,"raw_latitude":94375232,"longitude_deg":76.34432,"latitude_deg":9.4375232,"altitude":8,"angle":347,"satellites":46,"speed":26,"hex_longitude":"2d813800","hex_latitude":"05a00d40","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579673856001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342970365699424256,"note":"Value kept but may cause issues"} 
[2026-07-08 18:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9133511126382108672,"note":"Value kept but may cause issues"} 
[2026-07-08 18:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783514363000,"timestamp_ms":1783514363000,"timestamp_seconds":1783514363,"priority":1,"record_length":96,"hex_timestamp":"0000019f41bd7478"} 
[2026-07-08 18:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 18:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579673856001,"66":27865,"177":206,"85":14336,"24":26,"16":342970365699424256,"45":-9133511126382108672},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-07-08 18:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579673856001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:10:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-08 18:10:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342970365699424256,"km_value":342970365699424.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9133511126382108672,"description":"Unknown IO ID 45"} 
[2026-07-08 18:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579673856001,"power":27865,"unknown_177":206,"unknown_85":14336,"ignition":26,"odometer":null,"unknown_45":-9133511126382108672}} 
[2026-07-08 18:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":126590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:10:32] local.INFO: GPS data processed {"connection_id":126590,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:10:32] local.INFO: Acknowledgment sent {"connection_id":126590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:10:59] local.INFO: TCP Data received {"connection_id":125814,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:10:59] local.INFO: Processing buffer {"connection_id":125814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:10:59] local.INFO: IMEI packet received {"connection_id":125814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":125814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:11:00] local.INFO: TCP Data received {"connection_id":125815,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:11:00] local.INFO: Processing buffer {"connection_id":125815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:11:00] local.INFO: IMEI packet received {"connection_id":125815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":125815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:11:01] local.INFO: TCP Data received {"connection_id":125816,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125816,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:11:01] local.INFO: Processing buffer {"connection_id":125816,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:11:01] local.INFO: IMEI packet received {"connection_id":125816,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 18:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":125816,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:11:05] local.INFO: TCP Data received {"connection_id":125814,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:11:05] local.INFO: Processing buffer {"connection_id":125814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:11:05] local.INFO: IMEI packet received {"connection_id":125814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":125814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:11:05] local.INFO: TCP Data received {"connection_id":125815,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:11:05] local.INFO: Processing buffer {"connection_id":125815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:11:05] local.INFO: IMEI packet received {"connection_id":125815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":125815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:11:06] local.INFO: TCP Data received {"connection_id":125814,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41bb9400012d181f800721b258004a00db2e..."} 
[2026-07-08 18:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41bb9400012d181f800721b258004a00db2e..."} 
[2026-07-08 18:11:06] local.INFO: Processing buffer {"connection_id":125814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41bb9400012d181f800721b258004a00db2e..."} 
[2026-07-08 18:11:06] local.INFO: Packet analysis {"connection_id":125814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41bb"} 
[2026-07-08 18:11:06] local.INFO: Extracted packet for processing {"connection_id":125814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41bb"} 
[2026-07-08 18:11:06] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648856,"longitude_deg":75.6555648,"latitude_deg":11.9648856,"altitude":74,"angle":219,"satellites":46,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-07-08 18:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579640064001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4908731007500288,"note":"Value kept but may cause issues"} 
[2026-07-08 18:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306763264,"note":"Value kept but may cause issues"} 
[2026-07-08 18:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783514240000,"timestamp_ms":1783514240000,"timestamp_seconds":1783514240,"priority":1,"record_length":96,"hex_timestamp":"0000019f41bb9400"} 
[2026-07-08 18:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-08 18:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579640064001,"66":12667,"105":206,"83":41984,"24":0,"16":4908731007500288,"45":1738248749306763264},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579640064001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:11:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:11:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4908731007500288,"km_value":4908731007500.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306763264,"description":"Unknown IO ID 45"} 
[2026-07-08 18:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579640064001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306763264}} 
[2026-07-08 18:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":125814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:11:06] local.INFO: GPS data processed {"connection_id":125814,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:11:06] local.INFO: Acknowledgment sent {"connection_id":125814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:11:06] local.INFO: TCP Data received {"connection_id":125815,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41bda740012d81304005a031b80007015c2e..."} 
[2026-07-08 18:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41bda740012d81304005a031b80007015c2e..."} 
[2026-07-08 18:11:06] local.INFO: Processing buffer {"connection_id":125815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41bda740012d81304005a031b80007015c2e..."} 
[2026-07-08 18:11:06] local.INFO: Packet analysis {"connection_id":125815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41bd"} 
[2026-07-08 18:11:06] local.INFO: Extracted packet for processing {"connection_id":125815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41bd"} 
[2026-07-08 18:11:06] local.INFO: GPS Element Parsed {"raw_longitude":763441216,"raw_latitude":94384568,"longitude_deg":76.3441216,"latitude_deg":9.4384568,"altitude":7,"angle":348,"satellites":46,"speed":32,"hex_longitude":"2d813040","hex_latitude":"05a031b8","is_valid_coordinates":true} 
[2026-07-08 18:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579676928001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342970829555892224,"note":"Value kept but may cause issues"} 
[2026-07-08 18:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9135551819960991744,"note":"Value kept but may cause issues"} 
[2026-07-08 18:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783514376000,"timestamp_ms":1783514376000,"timestamp_seconds":1783514376,"priority":1,"record_length":96,"hex_timestamp":"0000019f41bda740"} 
[2026-07-08 18:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 18:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579676928001,"66":27843,"184":206,"85":14336,"24":32,"16":342970829555892224,"45":-9135551819960991744},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,45]} 
[2026-07-08 18:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579676928001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:11:06] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-08 18:11:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342970829555892224,"km_value":342970829555892.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9135551819960991744,"description":"Unknown IO ID 45"} 
[2026-07-08 18:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579676928001,"power":27843,"unknown_184":206,"unknown_85":14336,"ignition":32,"odometer":null,"unknown_45":-9135551819960991744}} 
[2026-07-08 18:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":125815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:11:06] local.INFO: GPS data processed {"connection_id":125815,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:11:06] local.INFO: Acknowledgment sent {"connection_id":125815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:11:10] local.INFO: TCP Data received {"connection_id":125815,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41bdd238012d81294005a054f00008015c2f..."} 
[2026-07-08 18:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41bdd238012d81294005a054f00008015c2f..."} 
[2026-07-08 18:11:10] local.INFO: Processing buffer {"connection_id":125815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41bdd238012d81294005a054f00008015c2f..."} 
[2026-07-08 18:11:10] local.INFO: Packet analysis {"connection_id":125815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41bd"} 
[2026-07-08 18:11:10] local.INFO: Extracted packet for processing {"connection_id":125815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41bd"} 
[2026-07-08 18:11:10] local.INFO: GPS Element Parsed {"raw_longitude":763439424,"raw_latitude":94393584,"longitude_deg":76.3439424,"latitude_deg":9.4393584,"altitude":8,"angle":348,"satellites":47,"speed":37,"hex_longitude":"2d812940","hex_latitude":"05a054f0","is_valid_coordinates":true} 
[2026-07-08 18:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579680256001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342971271937523712,"note":"Value kept but may cause issues"} 
[2026-07-08 18:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9137733251028109312,"note":"Value kept but may cause issues"} 
[2026-07-08 18:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783514387000,"timestamp_ms":1783514387000,"timestamp_seconds":1783514387,"priority":1,"record_length":96,"hex_timestamp":"0000019f41bdd238"} 
[2026-07-08 18:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 18:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579680256001,"66":27745,"184":206,"85":14336,"24":37,"16":342971271937523712,"45":-9137733251028109312},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,45]} 
[2026-07-08 18:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579680256001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:11:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-08 18:11:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342971271937523712,"km_value":342971271937523.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9137733251028109312,"description":"Unknown IO ID 45"} 
[2026-07-08 18:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579680256001,"power":27745,"unknown_184":206,"unknown_85":14336,"ignition":37,"odometer":null,"unknown_45":-9137733251028109312}} 
[2026-07-08 18:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":125815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:11:10] local.INFO: GPS data processed {"connection_id":125815,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:11:10] local.INFO: Acknowledgment sent {"connection_id":125815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:11:37] local.INFO: TCP Data received {"connection_id":125814,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41bbe608012d181f800721b258004a00db2f..."} 
[2026-07-08 18:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41bbe608012d181f800721b258004a00db2f..."} 
[2026-07-08 18:11:37] local.INFO: Processing buffer {"connection_id":125814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41bbe608012d181f800721b258004a00db2f..."} 
[2026-07-08 18:11:37] local.INFO: Packet analysis {"connection_id":125814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41bb"} 
[2026-07-08 18:11:37] local.INFO: Extracted packet for processing {"connection_id":125814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41bb"} 
[2026-07-08 18:11:37] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648856,"longitude_deg":75.6555648,"latitude_deg":11.9648856,"altitude":74,"angle":219,"satellites":47,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-07-08 18:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579645440001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4908731007500288,"note":"Value kept but may cause issues"} 
[2026-07-08 18:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306763264,"note":"Value kept but may cause issues"} 
[2026-07-08 18:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783514261000,"timestamp_ms":1783514261000,"timestamp_seconds":1783514261,"priority":1,"record_length":96,"hex_timestamp":"0000019f41bbe608"} 
[2026-07-08 18:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-08 18:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579645440001,"66":12667,"105":206,"83":41984,"24":0,"16":4908731007500288,"45":1738248749306763264},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579645440001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:11:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:11:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4908731007500288,"km_value":4908731007500.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306763264,"description":"Unknown IO ID 45"} 
[2026-07-08 18:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579645440001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306763264}} 
[2026-07-08 18:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":125814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:11:37] local.INFO: GPS data processed {"connection_id":125814,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:11:37] local.INFO: Acknowledgment sent {"connection_id":125814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:11:55] local.INFO: TCP Data received {"connection_id":127812,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:11:55] local.INFO: Processing buffer {"connection_id":127812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:11:55] local.INFO: IMEI packet received {"connection_id":127812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":127812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:12:00] local.INFO: TCP Data received {"connection_id":126591,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:12:00] local.INFO: Processing buffer {"connection_id":126591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:12:00] local.INFO: IMEI packet received {"connection_id":126591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":126591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:12:00] local.INFO: TCP Data received {"connection_id":127812,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:12:00] local.INFO: Processing buffer {"connection_id":127812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:12:00] local.INFO: IMEI packet received {"connection_id":127812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":127812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:12:01] local.INFO: TCP Data received {"connection_id":127812,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41bdf948012d8121c005a078180008015b2e..."} 
[2026-07-08 18:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41bdf948012d8121c005a078180008015b2e..."} 
[2026-07-08 18:12:01] local.INFO: Processing buffer {"connection_id":127812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41bdf948012d8121c005a078180008015b2e..."} 
[2026-07-08 18:12:01] local.INFO: Packet analysis {"connection_id":127812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41bd"} 
[2026-07-08 18:12:01] local.INFO: Extracted packet for processing {"connection_id":127812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41bd"} 
[2026-07-08 18:12:01] local.INFO: GPS Element Parsed {"raw_longitude":763437504,"raw_latitude":94402584,"longitude_deg":76.3437504,"latitude_deg":9.4402584,"altitude":8,"angle":347,"satellites":46,"speed":37,"hex_longitude":"2d8121c0","hex_latitude":"05a07818","is_valid_coordinates":true} 
[2026-07-08 18:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579683072001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342971718614122496,"note":"Value kept but may cause issues"} 
[2026-07-08 18:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9139703575862775808,"note":"Value kept but may cause issues"} 
[2026-07-08 18:12:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783514397000,"timestamp_ms":1783514397000,"timestamp_seconds":1783514397,"priority":1,"record_length":96,"hex_timestamp":"0000019f41bdf948"} 
[2026-07-08 18:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:12:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 18:12:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:12:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:12:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579683072001,"66":28050,"7":206,"85":14336,"24":37,"16":342971718614122496,"45":-9139703575862775808},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-07-08 18:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579683072001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:12:01] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-08 18:12:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342971718614122496,"km_value":342971718614122.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9139703575862775808,"description":"Unknown IO ID 45"} 
[2026-07-08 18:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579683072001,"power":28050,"unknown_7":206,"unknown_85":14336,"ignition":37,"odometer":null,"unknown_45":-9139703575862775808}} 
[2026-07-08 18:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":127812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:12:01] local.INFO: GPS data processed {"connection_id":127812,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:12:01] local.INFO: Acknowledgment sent {"connection_id":127812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:12:05] local.INFO: TCP Data received {"connection_id":126591,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:12:05] local.INFO: Processing buffer {"connection_id":126591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:12:05] local.INFO: IMEI packet received {"connection_id":126591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":126591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:12:06] local.INFO: TCP Data received {"connection_id":126591,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41bc3810012d181f800721b258004a00db2f..."} 
[2026-07-08 18:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41bc3810012d181f800721b258004a00db2f..."} 
[2026-07-08 18:12:06] local.INFO: Processing buffer {"connection_id":126591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41bc3810012d181f800721b258004a00db2f..."} 
[2026-07-08 18:12:06] local.INFO: Packet analysis {"connection_id":126591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41bc"} 
[2026-07-08 18:12:06] local.INFO: Extracted packet for processing {"connection_id":126591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41bc"} 
[2026-07-08 18:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648856,"longitude_deg":75.6555648,"latitude_deg":11.9648856,"altitude":74,"angle":219,"satellites":47,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-07-08 18:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579650816001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4908731007500288,"note":"Value kept but may cause issues"} 
[2026-07-08 18:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306763264,"note":"Value kept but may cause issues"} 
[2026-07-08 18:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783514282000,"timestamp_ms":1783514282000,"timestamp_seconds":1783514282,"priority":1,"record_length":96,"hex_timestamp":"0000019f41bc3810"} 
[2026-07-08 18:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-08 18:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579650816001,"66":12580,"105":206,"83":41984,"24":0,"16":4908731007500288,"45":1738248749306763264},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579650816001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:12:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4908731007500288,"km_value":4908731007500.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306763264,"description":"Unknown IO ID 45"} 
[2026-07-08 18:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579650816001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306763264}} 
[2026-07-08 18:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":126591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:12:06] local.INFO: GPS data processed {"connection_id":126591,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:12:06] local.INFO: Acknowledgment sent {"connection_id":126591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:12:32] local.INFO: TCP Data received {"connection_id":127812,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41be2058012d8119c005a09be00008015c2e..."} 
[2026-07-08 18:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41be2058012d8119c005a09be00008015c2e..."} 
[2026-07-08 18:12:32] local.INFO: Processing buffer {"connection_id":127812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41be2058012d8119c005a09be00008015c2e..."} 
[2026-07-08 18:12:32] local.INFO: Packet analysis {"connection_id":127812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41be"} 
[2026-07-08 18:12:32] local.INFO: Extracted packet for processing {"connection_id":127812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41be"} 
[2026-07-08 18:12:32] local.INFO: GPS Element Parsed {"raw_longitude":763435456,"raw_latitude":94411744,"longitude_deg":76.3435456,"latitude_deg":9.4411744,"altitude":8,"angle":348,"satellites":46,"speed":39,"hex_longitude":"2d8119c0","hex_latitude":"05a09be0","is_valid_coordinates":true} 
[2026-07-08 18:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579685632001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342972173880655872,"note":"Value kept but may cause issues"} 
[2026-07-08 18:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9141814638185801728,"note":"Value kept but may cause issues"} 
[2026-07-08 18:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783514407000,"timestamp_ms":1783514407000,"timestamp_seconds":1783514407,"priority":1,"record_length":96,"hex_timestamp":"0000019f41be2058"} 
[2026-07-08 18:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-08 18:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579685632001,"66":27919,"7":206,"85":14336,"24":39,"16":342972173880655872,"45":-9141814638185801728},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-07-08 18:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579685632001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:12:32] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-08 18:12:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342972173880655872,"km_value":342972173880655.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9141814638185801728,"description":"Unknown IO ID 45"} 
[2026-07-08 18:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579685632001,"power":27919,"unknown_7":206,"unknown_85":14336,"ignition":39,"odometer":null,"unknown_45":-9141814638185801728}} 
[2026-07-08 18:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":127812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:12:32] local.INFO: GPS data processed {"connection_id":127812,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:12:32] local.INFO: Acknowledgment sent {"connection_id":127812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:12:41] local.INFO: TCP Data received {"connection_id":126591,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41bc8a18012d181f800721b258004a00db2e..."} 
[2026-07-08 18:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41bc8a18012d181f800721b258004a00db2e..."} 
[2026-07-08 18:12:41] local.INFO: Processing buffer {"connection_id":126591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41bc8a18012d181f800721b258004a00db2e..."} 
[2026-07-08 18:12:41] local.INFO: Packet analysis {"connection_id":126591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41bc"} 
[2026-07-08 18:12:41] local.INFO: Extracted packet for processing {"connection_id":126591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41bc"} 
[2026-07-08 18:12:41] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648856,"longitude_deg":75.6555648,"latitude_deg":11.9648856,"altitude":74,"angle":219,"satellites":46,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-07-08 18:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579656192001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4908731007500288,"note":"Value kept but may cause issues"} 
[2026-07-08 18:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306763264,"note":"Value kept but may cause issues"} 
[2026-07-08 18:12: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-07-08 18:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783514303000,"timestamp_ms":1783514303000,"timestamp_seconds":1783514303,"priority":1,"record_length":96,"hex_timestamp":"0000019f41bc8a18"} 
[2026-07-08 18:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:12: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-07-08 18: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 18:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":126591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":126591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":126591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:12: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-07-08 18:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579656192001,"66":12591,"105":206,"83":41984,"24":0,"16":4908731007500288,"45":1738248749306763264},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579656192001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:12:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:12:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4908731007500288,"km_value":4908731007500.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306763264,"description":"Unknown IO ID 45"} 
[2026-07-08 18:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579656192001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306763264}} 
[2026-07-08 18:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":126591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:12:42] local.INFO: GPS data processed {"connection_id":126591,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:12:42] local.INFO: Acknowledgment sent {"connection_id":126591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:12:55] local.INFO: TCP Data received {"connection_id":125818,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:12:55] local.INFO: Processing buffer {"connection_id":125818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:12:55] local.INFO: IMEI packet received {"connection_id":125818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":125818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:12:56] local.INFO: TCP Data received {"connection_id":125818,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:12:56] local.INFO: Processing buffer {"connection_id":125818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:12:56] local.INFO: IMEI packet received {"connection_id":125818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":125818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:13:00] local.INFO: TCP Data received {"connection_id":125713,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:13:00] local.INFO: Processing buffer {"connection_id":125713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:13:00] local.INFO: IMEI packet received {"connection_id":125713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":125713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:13:00] local.INFO: TCP Data received {"connection_id":125818,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:13:00] local.INFO: Processing buffer {"connection_id":125818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:13:00] local.INFO: IMEI packet received {"connection_id":125818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":125818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:13:01] local.INFO: TCP Data received {"connection_id":125818,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41be4768012d81120005a0c0b00009015b2d..."} 
[2026-07-08 18:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41be4768012d81120005a0c0b00009015b2d..."} 
[2026-07-08 18:13:01] local.INFO: Processing buffer {"connection_id":125818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41be4768012d81120005a0c0b00009015b2d..."} 
[2026-07-08 18:13:01] local.INFO: Packet analysis {"connection_id":125818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41be"} 
[2026-07-08 18:13:01] local.INFO: Extracted packet for processing {"connection_id":125818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41be"} 
[2026-07-08 18:13:01] local.INFO: GPS Element Parsed {"raw_longitude":763433472,"raw_latitude":94421168,"longitude_deg":76.3433472,"latitude_deg":9.4421168,"altitude":9,"angle":347,"satellites":45,"speed":37,"hex_longitude":"2d811200","hex_latitude":"05a0c0b0","is_valid_coordinates":true} 
[2026-07-08 18:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579688192001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342972642032091136,"note":"Value kept but may cause issues"} 
[2026-07-08 18:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9144066437997142016,"note":"Value kept but may cause issues"} 
[2026-07-08 18:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783514417000,"timestamp_ms":1783514417000,"timestamp_seconds":1783514417,"priority":1,"record_length":96,"hex_timestamp":"0000019f41be4768"} 
[2026-07-08 18:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 18:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:13:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579688192001,"66":28028,"82":206,"85":14336,"24":37,"16":342972642032091136,"45":-9144066437997142016},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-08 18:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579688192001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:13:01] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-08 18:13:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342972642032091136,"km_value":342972642032091.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9144066437997142016,"description":"Unknown IO ID 45"} 
[2026-07-08 18:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579688192001,"power":28028,"unknown_82":206,"unknown_85":14336,"ignition":37,"odometer":null,"unknown_45":-9144066437997142016}} 
[2026-07-08 18:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":125818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:13:01] local.INFO: GPS data processed {"connection_id":125818,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:13:01] local.INFO: Acknowledgment sent {"connection_id":125818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:13:05] local.INFO: TCP Data received {"connection_id":125713,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:13:05] local.INFO: Processing buffer {"connection_id":125713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:13:05] local.INFO: IMEI packet received {"connection_id":125713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":125713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:13:05] local.INFO: TCP Data received {"connection_id":125713,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41bcdc20012d181f800721b258004a00db2f..."} 
[2026-07-08 18:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41bcdc20012d181f800721b258004a00db2f..."} 
[2026-07-08 18:13:05] local.INFO: Processing buffer {"connection_id":125713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41bcdc20012d181f800721b258004a00db2f..."} 
[2026-07-08 18:13:05] local.INFO: Packet analysis {"connection_id":125713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41bc"} 
[2026-07-08 18:13:05] local.INFO: Extracted packet for processing {"connection_id":125713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41bc"} 
[2026-07-08 18:13:05] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648856,"longitude_deg":75.6555648,"latitude_deg":11.9648856,"altitude":74,"angle":219,"satellites":47,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-07-08 18:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579661568001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4908731007500288,"note":"Value kept but may cause issues"} 
[2026-07-08 18:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306763264,"note":"Value kept but may cause issues"} 
[2026-07-08 18:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783514324000,"timestamp_ms":1783514324000,"timestamp_seconds":1783514324,"priority":1,"record_length":96,"hex_timestamp":"0000019f41bcdc20"} 
[2026-07-08 18:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:13: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-07-08 18: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 18:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579661568001,"66":12613,"105":206,"83":41984,"24":0,"16":4908731007500288,"45":1738248749306763264},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579661568001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:13:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:13:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4908731007500288,"km_value":4908731007500.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306763264,"description":"Unknown IO ID 45"} 
[2026-07-08 18:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579661568001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306763264}} 
[2026-07-08 18:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":125713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:13:05] local.INFO: GPS data processed {"connection_id":125713,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:13:05] local.INFO: Acknowledgment sent {"connection_id":125713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:13:33] local.INFO: TCP Data received {"connection_id":125818,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41be9970012d810cc005a0d600000c015d2e..."} 
[2026-07-08 18:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41be9970012d810cc005a0d600000c015d2e..."} 
[2026-07-08 18:13:33] local.INFO: Processing buffer {"connection_id":125818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41be9970012d810cc005a0d600000c015d2e..."} 
[2026-07-08 18:13:33] local.INFO: Packet analysis {"connection_id":125818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41be"} 
[2026-07-08 18:13:33] local.INFO: Extracted packet for processing {"connection_id":125818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41be"} 
[2026-07-08 18:13:33] local.INFO: GPS Element Parsed {"raw_longitude":763432128,"raw_latitude":94426624,"longitude_deg":76.3432128,"latitude_deg":9.4426624,"altitude":12,"angle":349,"satellites":46,"speed":0,"hex_longitude":"2d810cc0","hex_latitude":"05a0d600","is_valid_coordinates":true} 
[2026-07-08 18:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579690752001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342972916909998080,"note":"Value kept but may cause issues"} 
[2026-07-08 18:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146247869064237056,"note":"Value kept but may cause issues"} 
[2026-07-08 18:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783514438000,"timestamp_ms":1783514438000,"timestamp_seconds":1783514438,"priority":1,"record_length":96,"hex_timestamp":"0000019f41be9970"} 
[2026-07-08 18:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-08 18:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579690752001,"66":27843,"82":206,"85":14336,"24":0,"16":342972916909998080,"45":-9146247869064237056},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-08 18:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579690752001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:13:33] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-08 18:13:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342972916909998080,"km_value":342972916909998.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146247869064237056,"description":"Unknown IO ID 45"} 
[2026-07-08 18:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579690752001,"power":27843,"unknown_82":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":-9146247869064237056}} 
[2026-07-08 18:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":125818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:13:33] local.INFO: GPS data processed {"connection_id":125818,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:13:33] local.INFO: Acknowledgment sent {"connection_id":125818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:13:34] local.INFO: TCP Data received {"connection_id":125820,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:13:34] local.INFO: Processing buffer {"connection_id":125820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:13:34] local.INFO: IMEI packet received {"connection_id":125820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":125820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:13:36] local.INFO: TCP Data received {"connection_id":125820,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:13:36] local.INFO: Processing buffer {"connection_id":125820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:13:36] local.INFO: IMEI packet received {"connection_id":125820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":125820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:13:37] local.INFO: TCP Data received {"connection_id":125713,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41bd2e28012d181f800721b258004a00db2c..."} 
[2026-07-08 18:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41bd2e28012d181f800721b258004a00db2c..."} 
[2026-07-08 18:13:37] local.INFO: Processing buffer {"connection_id":125713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41bd2e28012d181f800721b258004a00db2c..."} 
[2026-07-08 18:13:37] local.INFO: Packet analysis {"connection_id":125713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41bd"} 
[2026-07-08 18:13:37] local.INFO: Extracted packet for processing {"connection_id":125713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41bd"} 
[2026-07-08 18:13:37] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648856,"longitude_deg":75.6555648,"latitude_deg":11.9648856,"altitude":74,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-07-08 18:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579666944001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4908731007500288,"note":"Value kept but may cause issues"} 
[2026-07-08 18:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306763264,"note":"Value kept but may cause issues"} 
[2026-07-08 18:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783514345000,"timestamp_ms":1783514345000,"timestamp_seconds":1783514345,"priority":1,"record_length":96,"hex_timestamp":"0000019f41bd2e28"} 
[2026-07-08 18:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 18:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579666944001,"66":12602,"105":206,"83":41984,"24":0,"16":4908731007500288,"45":1738248749306763264},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579666944001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:13:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:13:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4908731007500288,"km_value":4908731007500.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306763264,"description":"Unknown IO ID 45"} 
[2026-07-08 18:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579666944001,"power":12602,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306763264}} 
[2026-07-08 18:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":125713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:13:37] local.INFO: GPS data processed {"connection_id":125713,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:13:37] local.INFO: Acknowledgment sent {"connection_id":125713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:13:38] local.INFO: TCP Data received {"connection_id":125820,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:13:38] local.INFO: Processing buffer {"connection_id":125820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:13:38] local.INFO: IMEI packet received {"connection_id":125820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":125820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:13:38] local.INFO: TCP Data received {"connection_id":125820,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c02bc8012d7fc3c005d39408000c010b2c..."} 
[2026-07-08 18:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c02bc8012d7fc3c005d39408000c010b2c..."} 
[2026-07-08 18:13:38] local.INFO: Processing buffer {"connection_id":125820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c02bc8012d7fc3c005d39408000c010b2c..."} 
[2026-07-08 18:13:38] local.INFO: Packet analysis {"connection_id":125820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c0"} 
[2026-07-08 18:13:38] local.INFO: Extracted packet for processing {"connection_id":125820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c0"} 
[2026-07-08 18:13:38] local.INFO: GPS Element Parsed {"raw_longitude":763347904,"raw_latitude":97752072,"longitude_deg":76.3347904,"latitude_deg":9.7752072,"altitude":12,"angle":267,"satellites":44,"speed":30,"hex_longitude":"2d7fc3c0","hex_latitude":"05d39408","is_valid_coordinates":true} 
[2026-07-08 18:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579719168001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103890272433209344,"note":"Value kept but may cause issues"} 
[2026-07-08 18:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217109243647594496,"note":"Value kept but may cause issues"} 
[2026-07-08 18:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783514541000,"timestamp_ms":1783514541000,"timestamp_seconds":1783514541,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c02bc8"} 
[2026-07-08 18:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-08 18:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1441151880926331904,"note":"Value kept but may cause issues"} 
[2026-07-08 18:13:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 18:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2151038981,"note":"Value kept but may cause issues"} 
[2026-07-08 18:13:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3205357869843005143,"note":"Value kept but may cause issues"} 
[2026-07-08 18:13:38] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-08 18:13:38] local.WARNING: Large IO value detected {"io_id":65,"raw_value":-4659835826572607744,"note":"Value kept but may cause issues"} 
[2026-07-08 18:13:38] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2498756616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:13:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795962574,"corrected_to":0} 
[2026-07-08 18:13:38] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3221607315,"note":"Value kept but may cause issues"} 
[2026-07-08 18:13:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":524608,"corrected_to":0} 
[2026-07-08 18:13:38] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3338718630,"note":"Value kept but may cause issues"} 
[2026-07-08 18:13:38] local.WARNING: Large IO value detected {"io_id":50,"raw_value":5332488074456780373,"note":"Value kept but may cause issues"} 
[2026-07-08 18:13:38] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755489635500273,"note":"Value kept but may cause issues"} 
[2026-07-08 18:13:38] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,167,85,24,241,157,16,23,159,198,45,128,151,5,43,10,66,22,143,149,7,42,135,1,240,41,227,65,211,4,113,205,124,55,200,239,49,2,6,21,50,59,48],"length":535,"final_offset":665,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2795962574,"validated":0},{"io_id":200,"original":524608,"validated":0}]} 
[2026-07-08 18:13:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720869694669324288,"timestamp_seconds":720869694669324.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 18:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579719168001,"66":12472,"167":206,"85":15104,"24":30,"16":103890272433209344,"45":9217109243647594496},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-08 18:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579719168001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:13:38] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-08 18:13:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103890272433209344,"km_value":103890272433209.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217109243647594496,"description":"Unknown IO ID 45"} 
[2026-07-08 18:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579719168001,"power":12472,"unknown_167":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9217109243647594496}} 
[2026-07-08 18:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":125820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452980,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:13:38] local.INFO: GPS data processed {"connection_id":125820,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:13:38] local.INFO: Acknowledgment sent {"connection_id":125820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:13:56] local.INFO: TCP Data received {"connection_id":126592,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:13:56] local.INFO: Processing buffer {"connection_id":126592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:13:56] local.INFO: IMEI packet received {"connection_id":126592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":126592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:13:57] local.INFO: TCP Data received {"connection_id":126592,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:13:57] local.INFO: Processing buffer {"connection_id":126592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:13:57] local.INFO: IMEI packet received {"connection_id":126592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":126592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:13:59] local.INFO: TCP Data received {"connection_id":125821,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:13:59] local.INFO: Processing buffer {"connection_id":125821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:13:59] local.INFO: IMEI packet received {"connection_id":125821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":125821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:14:00] local.INFO: TCP Data received {"connection_id":126592,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:14:00] local.INFO: Processing buffer {"connection_id":126592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:14:00] local.INFO: IMEI packet received {"connection_id":126592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":126592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:14:01] local.INFO: TCP Data received {"connection_id":126592,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41beeb78012d810b8005a0dcc0000d015c2e..."} 
[2026-07-08 18:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41beeb78012d810b8005a0dcc0000d015c2e..."} 
[2026-07-08 18:14:01] local.INFO: Processing buffer {"connection_id":126592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41beeb78012d810b8005a0dcc0000d015c2e..."} 
[2026-07-08 18:14:01] local.INFO: Packet analysis {"connection_id":126592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41be"} 
[2026-07-08 18:14:01] local.INFO: Extracted packet for processing {"connection_id":126592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41be"} 
[2026-07-08 18:14:01] local.INFO: GPS Element Parsed {"raw_longitude":763431808,"raw_latitude":94428352,"longitude_deg":76.3431808,"latitude_deg":9.4428352,"altitude":13,"angle":348,"satellites":46,"speed":13,"hex_longitude":"2d810b80","hex_latitude":"05a0dcc0","is_valid_coordinates":true} 
[2026-07-08 18:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579696128001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342973007104311296,"note":"Value kept but may cause issues"} 
[2026-07-08 18:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9147725612690571264,"note":"Value kept but may cause issues"} 
[2026-07-08 18:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783514459000,"timestamp_ms":1783514459000,"timestamp_seconds":1783514459,"priority":1,"record_length":96,"hex_timestamp":"0000019f41beeb78"} 
[2026-07-08 18:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:14:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 18:14:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579696128001,"66":27800,"82":206,"85":14336,"24":13,"16":342973007104311296,"45":-9147725612690571264},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-08 18:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579696128001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:14:01] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-08 18:14:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342973007104311296,"km_value":342973007104311.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9147725612690571264,"description":"Unknown IO ID 45"} 
[2026-07-08 18:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579696128001,"power":27800,"unknown_82":206,"unknown_85":14336,"ignition":13,"odometer":null,"unknown_45":-9147725612690571264}} 
[2026-07-08 18:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":126592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:14:01] local.INFO: GPS data processed {"connection_id":126592,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:14:01] local.INFO: Acknowledgment sent {"connection_id":126592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:14:05] local.INFO: TCP Data received {"connection_id":125821,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:14:05] local.INFO: Processing buffer {"connection_id":125821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:14:05] local.INFO: IMEI packet received {"connection_id":125821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":125821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:14:06] local.INFO: TCP Data received {"connection_id":125821,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41bd8030012d181f800721b258004a00db2e..."} 
[2026-07-08 18:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41bd8030012d181f800721b258004a00db2e..."} 
[2026-07-08 18:14:06] local.INFO: Processing buffer {"connection_id":125821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41bd8030012d181f800721b258004a00db2e..."} 
[2026-07-08 18:14:06] local.INFO: Packet analysis {"connection_id":125821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41bd"} 
[2026-07-08 18:14:06] local.INFO: Extracted packet for processing {"connection_id":125821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41bd"} 
[2026-07-08 18:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648856,"longitude_deg":75.6555648,"latitude_deg":11.9648856,"altitude":74,"angle":219,"satellites":46,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-07-08 18:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579672320001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4908731007500288,"note":"Value kept but may cause issues"} 
[2026-07-08 18:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306763264,"note":"Value kept but may cause issues"} 
[2026-07-08 18:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783514366000,"timestamp_ms":1783514366000,"timestamp_seconds":1783514366,"priority":1,"record_length":96,"hex_timestamp":"0000019f41bd8030"} 
[2026-07-08 18:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-08 18:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579672320001,"66":12580,"105":206,"83":41984,"24":0,"16":4908731007500288,"45":1738248749306763264},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579672320001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:14:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4908731007500288,"km_value":4908731007500.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306763264,"description":"Unknown IO ID 45"} 
[2026-07-08 18:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579672320001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306763264}} 
[2026-07-08 18:14:06] local.INFO: TCP Data received {"connection_id":126592,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41bf2228012d81044005a0ffb0000b015c2b..."} 
[2026-07-08 18:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41bf2228012d81044005a0ffb0000b015c2b..."} 
[2026-07-08 18:14:06] local.INFO: Processing buffer {"connection_id":126592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41bf2228012d81044005a0ffb0000b015c2b..."} 
[2026-07-08 18:14:06] local.INFO: Packet analysis {"connection_id":126592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41bf"} 
[2026-07-08 18:14:06] local.INFO: Extracted packet for processing {"connection_id":126592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41bf"} 
[2026-07-08 18:14:06] local.INFO: GPS Element Parsed {"raw_longitude":763429952,"raw_latitude":94437296,"longitude_deg":76.3429952,"latitude_deg":9.4437296,"altitude":11,"angle":348,"satellites":43,"speed":36,"hex_longitude":"2d810440","hex_latitude":"05a0ffb0","is_valid_coordinates":true} 
[2026-07-08 18:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579701504001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342973449485942784,"note":"Value kept but may cause issues"} 
[2026-07-08 18:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9148077456411017216,"note":"Value kept but may cause issues"} 
[2026-07-08 18:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783514473000,"timestamp_ms":1783514473000,"timestamp_seconds":1783514473,"priority":1,"record_length":96,"hex_timestamp":"0000019f41bf2228"} 
[2026-07-08 18:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 18:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579701504001,"66":27876,"82":206,"85":14336,"24":36,"16":342973449485942784,"45":-9148077456411017216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-07-08 18:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579701504001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:14:06] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-08 18:14:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342973449485942784,"km_value":342973449485942.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9148077456411017216,"description":"Unknown IO ID 45"} 
[2026-07-08 18:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579701504001,"power":27876,"unknown_82":206,"unknown_85":14336,"ignition":36,"odometer":null,"unknown_45":-9148077456411017216}} 
[2026-07-08 18:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":126592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:14:06] local.INFO: GPS data processed {"connection_id":126592,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:14:06] local.INFO: Acknowledgment sent {"connection_id":126592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":125821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:14:06] local.INFO: GPS data processed {"connection_id":125821,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:14:06] local.INFO: Acknowledgment sent {"connection_id":125821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:14:10] local.INFO: TCP Data received {"connection_id":125820,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c056c0012d7f9f4005d39328000b010c2c..."} 
[2026-07-08 18:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c056c0012d7f9f4005d39328000b010c2c..."} 
[2026-07-08 18:14:10] local.INFO: Processing buffer {"connection_id":125820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c056c0012d7f9f4005d39328000b010c2c..."} 
[2026-07-08 18:14:10] local.INFO: Packet analysis {"connection_id":125820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c0"} 
[2026-07-08 18:14:10] local.INFO: Extracted packet for processing {"connection_id":125820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c0"} 
[2026-07-08 18:14:10] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":97751848,"longitude_deg":76.333856,"latitude_deg":9.7751848,"altitude":11,"angle":268,"satellites":44,"speed":35,"hex_longitude":"2d7f9f40","hex_latitude":"05d39328","is_valid_coordinates":true} 
[2026-07-08 18:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579722496001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103890723404775424,"note":"Value kept but may cause issues"} 
[2026-07-08 18:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9206413194532489216,"note":"Value kept but may cause issues"} 
[2026-07-08 18:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783514552000,"timestamp_ms":1783514552000,"timestamp_seconds":1783514552,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c056c0"} 
[2026-07-08 18:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-08 18:14:10] 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-07-08 18:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579722496001,"66":12743,"167":206,"85":15104,"24":35,"16":103890723404775424,"45":9206413194532489216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-08 18:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579722496001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:14:10] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-08 18:14:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103890723404775424,"km_value":103890723404775.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9206413194532489216,"description":"Unknown IO ID 45"} 
[2026-07-08 18:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579722496001,"power":12743,"unknown_167":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9206413194532489216}} 
[2026-07-08 18:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":125820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452984,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:14:10] local.INFO: GPS data processed {"connection_id":125820,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:14:10] local.INFO: Acknowledgment sent {"connection_id":125820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:14:31] local.INFO: TCP Data received {"connection_id":127814,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127814,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:14:31] local.INFO: Processing buffer {"connection_id":127814,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:14:31] local.INFO: IMEI packet received {"connection_id":127814,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":127814,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:14:36] local.INFO: TCP Data received {"connection_id":127814,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127814,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:14:36] local.INFO: Processing buffer {"connection_id":127814,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:14:36] local.INFO: IMEI packet received {"connection_id":127814,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":127814,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:14:37] local.INFO: TCP Data received {"connection_id":125821,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c15890012d181f800721b258004a00db2c..."} 
[2026-07-08 18:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c15890012d181f800721b258004a00db2c..."} 
[2026-07-08 18:14:37] local.INFO: Processing buffer {"connection_id":125821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c15890012d181f800721b258004a00db2c..."} 
[2026-07-08 18:14:37] local.INFO: Packet analysis {"connection_id":125821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c1"} 
[2026-07-08 18:14:37] local.INFO: Extracted packet for processing {"connection_id":125821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c1"} 
[2026-07-08 18:14:37] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648856,"longitude_deg":75.6555648,"latitude_deg":11.9648856,"altitude":74,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b258","is_valid_coordinates":true} 
[2026-07-08 18:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579736832001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4908731007500288,"note":"Value kept but may cause issues"} 
[2026-07-08 18:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306763264,"note":"Value kept but may cause issues"} 
[2026-07-08 18:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783514618000,"timestamp_ms":1783514618000,"timestamp_seconds":1783514618,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c15890"} 
[2026-07-08 18:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 18:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579736832001,"66":12515,"105":206,"83":41984,"24":0,"16":4908731007500288,"45":1738248749306763264},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579736832001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:14:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:14:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4908731007500288,"km_value":4908731007500.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306763264,"description":"Unknown IO ID 45"} 
[2026-07-08 18:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579736832001,"power":12515,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306763264}} 
[2026-07-08 18:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":125821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:14:37] local.INFO: GPS data processed {"connection_id":125821,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:14:37] local.INFO: Acknowledgment sent {"connection_id":125821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:14:38] local.INFO: TCP Data received {"connection_id":126592,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c16060012d80b64005a2a360000a015e2e..."} 
[2026-07-08 18:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c16060012d80b64005a2a360000a015e2e..."} 
[2026-07-08 18:14:38] local.INFO: Processing buffer {"connection_id":126592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c16060012d80b64005a2a360000a015e2e..."} 
[2026-07-08 18:14:38] local.INFO: Packet analysis {"connection_id":126592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c1"} 
[2026-07-08 18:14:38] local.INFO: Extracted packet for processing {"connection_id":126592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c1"} 
[2026-07-08 18:14:38] local.INFO: GPS Element Parsed {"raw_longitude":763409984,"raw_latitude":94544736,"longitude_deg":76.3409984,"latitude_deg":9.4544736,"altitude":10,"angle":350,"satellites":46,"speed":38,"hex_longitude":"2d80b640","hex_latitude":"05a2a360","is_valid_coordinates":true} 
[2026-07-08 18:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579741440001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342978758065520640,"note":"Value kept but may cause issues"} 
[2026-07-08 18:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9171791723170248704,"note":"Value kept but may cause issues"} 
[2026-07-08 18:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783514620000,"timestamp_ms":1783514620000,"timestamp_seconds":1783514620,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c16060"} 
[2026-07-08 18:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 18:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579741440001,"66":27887,"17":206,"85":14336,"24":38,"16":342978758065520640,"45":-9171791723170248704},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-07-08 18:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579741440001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:14:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342978758065520640,"km_value":342978758065520.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9171791723170248704,"description":"Unknown IO ID 45"} 
[2026-07-08 18:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579741440001,"power":27887,"axis_x":206,"unknown_85":14336,"ignition":38,"odometer":null,"unknown_45":-9171791723170248704}} 
[2026-07-08 18:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":126592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:14:38] local.INFO: GPS data processed {"connection_id":126592,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:14:38] local.INFO: Acknowledgment sent {"connection_id":126592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:14:39] local.INFO: TCP Data received {"connection_id":127814,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c09158012d7f7a4005d392000007010b2d..."} 
[2026-07-08 18:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c09158012d7f7a4005d392000007010b2d..."} 
[2026-07-08 18:14:39] local.INFO: Processing buffer {"connection_id":127814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c09158012d7f7a4005d392000007010b2d..."} 
[2026-07-08 18:14:39] local.INFO: Packet analysis {"connection_id":127814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c0"} 
[2026-07-08 18:14:39] local.INFO: Extracted packet for processing {"connection_id":127814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c0"} 
[2026-07-08 18:14:39] local.INFO: GPS Element Parsed {"raw_longitude":763329088,"raw_latitude":97751552,"longitude_deg":76.3329088,"latitude_deg":9.7751552,"altitude":7,"angle":267,"satellites":45,"speed":22,"hex_longitude":"2d7f7a40","hex_latitude":"05d39200","is_valid_coordinates":true} 
[2026-07-08 18:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579725312001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103891174376341504,"note":"Value kept but may cause issues"} 
[2026-07-08 18:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357882492928,"note":"Value kept but may cause issues"} 
[2026-07-08 18:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783514567000,"timestamp_ms":1783514567000,"timestamp_seconds":1783514567,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c09158"} 
[2026-07-08 18:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-08 18:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":127814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":127814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":127814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579725312001,"66":12385,"167":206,"85":15104,"24":22,"16":103891174376341504,"45":9196139357882492928},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-08 18:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579725312001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:14:39] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-08 18:14:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103891174376341504,"km_value":103891174376341.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357882492928,"description":"Unknown IO ID 45"} 
[2026-07-08 18:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579725312001,"power":12385,"unknown_167":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9196139357882492928}} 
[2026-07-08 18:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":127814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452987,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:14:39] local.INFO: GPS data processed {"connection_id":127814,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:14:39] local.INFO: Acknowledgment sent {"connection_id":127814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:14:59] local.INFO: TCP Data received {"connection_id":127816,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:14:59] local.INFO: Processing buffer {"connection_id":127816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:14:59] local.INFO: IMEI packet received {"connection_id":127816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":127816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:15:02] local.INFO: TCP Data received {"connection_id":127816,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:15:02] local.INFO: Processing buffer {"connection_id":127816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:15:02] local.INFO: IMEI packet received {"connection_id":127816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":127816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:15:05] local.INFO: TCP Data received {"connection_id":127816,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:15:05] local.INFO: Processing buffer {"connection_id":127816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:15:05] local.INFO: IMEI packet received {"connection_id":127816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":127816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:15:05] local.INFO: TCP Data received {"connection_id":126593,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:15:05] local.INFO: Processing buffer {"connection_id":126593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:15:05] local.INFO: IMEI packet received {"connection_id":126593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":126593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:15:05] local.INFO: TCP Data received {"connection_id":126593,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:15:05] local.INFO: Processing buffer {"connection_id":126593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:15:05] local.INFO: IMEI packet received {"connection_id":126593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":126593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:15:06] local.INFO: TCP Data received {"connection_id":127816,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c15c78012d181e000721af18004b00e72c..."} 
[2026-07-08 18:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c15c78012d181e000721af18004b00e72c..."} 
[2026-07-08 18:15:06] local.INFO: Processing buffer {"connection_id":127816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c15c78012d181e000721af18004b00e72c..."} 
[2026-07-08 18:15:06] local.INFO: Packet analysis {"connection_id":127816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c1"} 
[2026-07-08 18:15:06] local.INFO: Extracted packet for processing {"connection_id":127816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c1"} 
[2026-07-08 18:15:06] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648024,"longitude_deg":75.6555264,"latitude_deg":11.9648024,"altitude":75,"angle":231,"satellites":44,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721af18","is_valid_coordinates":true} 
[2026-07-08 18:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579742208001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4908778252140544,"note":"Value kept but may cause issues"} 
[2026-07-08 18:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306763264,"note":"Value kept but may cause issues"} 
[2026-07-08 18:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783514619000,"timestamp_ms":1783514619000,"timestamp_seconds":1783514619,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c15c78"} 
[2026-07-08 18:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-08 18:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579742208001,"66":12461,"105":206,"83":41984,"24":0,"16":4908778252140544,"45":1738248749306763264},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579742208001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:15:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:15:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4908778252140544,"km_value":4908778252140.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306763264,"description":"Unknown IO ID 45"} 
[2026-07-08 18:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579742208001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306763264}} 
[2026-07-08 18:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":127816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:15:06] local.INFO: GPS data processed {"connection_id":127816,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:15:06] local.INFO: Acknowledgment sent {"connection_id":127816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:15:10] local.INFO: TCP Data received {"connection_id":126593,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:15:10] local.INFO: Processing buffer {"connection_id":126593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:15:10] local.INFO: IMEI packet received {"connection_id":126593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":126593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:15:11] local.INFO: TCP Data received {"connection_id":126593,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c18388012d80af8005a2c8c80009015d2f..."} 
[2026-07-08 18:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c18388012d80af8005a2c8c80009015d2f..."} 
[2026-07-08 18:15:11] local.INFO: Processing buffer {"connection_id":126593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c18388012d80af8005a2c8c80009015d2f..."} 
[2026-07-08 18:15:11] local.INFO: Packet analysis {"connection_id":126593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c1"} 
[2026-07-08 18:15:11] local.INFO: Extracted packet for processing {"connection_id":126593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c1"} 
[2026-07-08 18:15:11] local.INFO: GPS Element Parsed {"raw_longitude":763408256,"raw_latitude":94554312,"longitude_deg":76.3408256,"latitude_deg":9.4554312,"altitude":9,"angle":349,"satellites":47,"speed":46,"hex_longitude":"2d80af80","hex_latitude":"05a2c8c8","is_valid_coordinates":true} 
[2026-07-08 18:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579742720001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342979230511923200,"note":"Value kept but may cause issues"} 
[2026-07-08 18:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172073198145806336,"note":"Value kept but may cause issues"} 
[2026-07-08 18:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783514629000,"timestamp_ms":1783514629000,"timestamp_seconds":1783514629,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c18388"} 
[2026-07-08 18:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-08 18:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579742720001,"66":27876,"17":206,"85":14336,"24":46,"16":342979230511923200,"45":-9172073198145806336},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-07-08 18:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579742720001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:15:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342979230511923200,"km_value":342979230511923.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172073198145806336,"description":"Unknown IO ID 45"} 
[2026-07-08 18:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579742720001,"power":27876,"axis_x":206,"unknown_85":14336,"ignition":46,"odometer":null,"unknown_45":-9172073198145806336}} 
[2026-07-08 18:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":126593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:15:11] local.INFO: GPS data processed {"connection_id":126593,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:15:11] local.INFO: Acknowledgment sent {"connection_id":126593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:15:11] local.INFO: TCP Data received {"connection_id":127814,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c242f0012d7ea84005d31e18000000f92b..."} 
[2026-07-08 18:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c242f0012d7ea84005d31e18000000f92b..."} 
[2026-07-08 18:15:11] local.INFO: Processing buffer {"connection_id":127814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c242f0012d7ea84005d31e18000000f92b..."} 
[2026-07-08 18:15:11] local.INFO: Packet analysis {"connection_id":127814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c2"} 
[2026-07-08 18:15:11] local.INFO: Extracted packet for processing {"connection_id":127814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c2"} 
[2026-07-08 18:15:11] local.INFO: GPS Element Parsed {"raw_longitude":763275328,"raw_latitude":97721880,"longitude_deg":76.3275328,"latitude_deg":9.772188,"altitude":0,"angle":249,"satellites":43,"speed":20,"hex_longitude":"2d7ea840","hex_latitude":"05d31e18","is_valid_coordinates":true} 
[2026-07-08 18:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579752960001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103894305407500288,"note":"Value kept but may cause issues"} 
[2026-07-08 18:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9135974081603373056,"note":"Value kept but may cause issues"} 
[2026-07-08 18:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783514678000,"timestamp_ms":1783514678000,"timestamp_seconds":1783514678,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c242f0"} 
[2026-07-08 18:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 18:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303155714772343,"note":"Value kept but may cause issues"} 
[2026-07-08 18:15:11] local.WARNING: Large IO value detected {"io_id":209,"raw_value":58077557095399458,"note":"Value kept but may cause issues"} 
[2026-07-08 18:15:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 18:15:11] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2248199543,"note":"Value kept but may cause issues"} 
[2026-07-08 18:15:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010185934,"corrected_to":0} 
[2026-07-08 18:15:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545460736,"note":"Value kept but may cause issues"} 
[2026-07-08 18:15:11] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,209,85,24,241,157,16,26,159,170,45,128,44,2,10,66,92,49,3,84,1,240,173,227,65,211,4,113,205,14,232,239,5,34],"length":486,"final_offset":616,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2010185934,"validated":0}]} 
[2026-07-08 18:15:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72344755552583680,"timestamp_seconds":72344755552583.69,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 18:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":127814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":127814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":127814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579752960001,"66":12461,"209":206,"85":15104,"24":20,"16":103894305407500288,"45":9135974081603373056},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-07-08 18:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579752960001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:15:11] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-08 18:15:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103894305407500288,"km_value":103894305407500.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9135974081603373056,"description":"Unknown IO ID 45"} 
[2026-07-08 18:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579752960001,"power":12461,"unknown_209":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9135974081603373056}} 
[2026-07-08 18:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":127814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452990,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:15:11] local.INFO: GPS data processed {"connection_id":127814,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:15:11] local.INFO: Acknowledgment sent {"connection_id":127814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:15:31] local.INFO: TCP Data received {"connection_id":125822,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:15:31] local.INFO: Processing buffer {"connection_id":125822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:15:31] local.INFO: IMEI packet received {"connection_id":125822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":125822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:15:36] local.INFO: TCP Data received {"connection_id":125822,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:15:36] local.INFO: Processing buffer {"connection_id":125822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:15:36] local.INFO: IMEI packet received {"connection_id":125822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":125822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:15:37] local.INFO: TCP Data received {"connection_id":127816,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c16830012d181dc00721aed0004b00db2d..."} 
[2026-07-08 18:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c16830012d181dc00721aed0004b00db2d..."} 
[2026-07-08 18:15:37] local.INFO: Processing buffer {"connection_id":127816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c16830012d181dc00721aed0004b00db2d..."} 
[2026-07-08 18:15:37] local.INFO: Packet analysis {"connection_id":127816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c1"} 
[2026-07-08 18:15:37] local.INFO: Extracted packet for processing {"connection_id":127816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c1"} 
[2026-07-08 18:15:37] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647952,"longitude_deg":75.65552,"latitude_deg":11.9647952,"altitude":75,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721aed0","is_valid_coordinates":true} 
[2026-07-08 18:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579742464001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4908782547107840,"note":"Value kept but may cause issues"} 
[2026-07-08 18:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841484288,"note":"Value kept but may cause issues"} 
[2026-07-08 18:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783514622000,"timestamp_ms":1783514622000,"timestamp_seconds":1783514622,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c16830"} 
[2026-07-08 18:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 18:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579742464001,"66":12504,"105":206,"83":41984,"24":0,"16":4908782547107840,"45":1737826536841484288},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579742464001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:15:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:15:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4908782547107840,"km_value":4908782547107.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841484288,"description":"Unknown IO ID 45"} 
[2026-07-08 18:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579742464001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841484288}} 
[2026-07-08 18:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":127816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:15:37] local.INFO: GPS data processed {"connection_id":127816,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:15:37] local.INFO: Acknowledgment sent {"connection_id":127816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:15:57] local.INFO: TCP Data received {"connection_id":125715,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:15:57] local.INFO: Processing buffer {"connection_id":125715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:15:57] local.INFO: IMEI packet received {"connection_id":125715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":125715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:15:57] local.INFO: TCP Data received {"connection_id":125715,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:15:57] local.INFO: Processing buffer {"connection_id":125715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:15:57] local.INFO: IMEI packet received {"connection_id":125715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":125715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:16:00] local.INFO: TCP Data received {"connection_id":125715,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:16:00] local.INFO: Processing buffer {"connection_id":125715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:16:00] local.INFO: IMEI packet received {"connection_id":125715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":125715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:16:01] local.INFO: TCP Data received {"connection_id":125822,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c25a60012d7e9e4005d318a8000100eb2b..."} 
[2026-07-08 18:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c25a60012d7e9e4005d318a8000100eb2b..."} 
[2026-07-08 18:16:01] local.INFO: Processing buffer {"connection_id":125822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c25a60012d7e9e4005d318a8000100eb2b..."} 
[2026-07-08 18:16:01] local.INFO: Packet analysis {"connection_id":125822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c2"} 
[2026-07-08 18:16:01] local.INFO: Extracted packet for processing {"connection_id":125822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c2"} 
[2026-07-08 18:16:01] local.INFO: GPS Element Parsed {"raw_longitude":763272768,"raw_latitude":97720488,"longitude_deg":76.3272768,"latitude_deg":9.7720488,"altitude":1,"angle":235,"satellites":43,"speed":19,"hex_longitude":"2d7e9e40","hex_latitude":"05d318a8","is_valid_coordinates":true} 
[2026-07-08 18:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579757568001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103894447141421056,"note":"Value kept but may cause issues"} 
[2026-07-08 18:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126615038627289088,"note":"Value kept but may cause issues"} 
[2026-07-08 18:16:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783514684000,"timestamp_ms":1783514684000,"timestamp_seconds":1783514684,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c25a60"} 
[2026-07-08 18:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:16: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-07-08 18:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 18:16:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:16:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579757568001,"66":12645,"209":206,"85":15104,"24":19,"16":103894447141421056,"45":9126615038627289088},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-07-08 18:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579757568001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:16:01] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-08 18:16:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103894447141421056,"km_value":103894447141421.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126615038627289088,"description":"Unknown IO ID 45"} 
[2026-07-08 18:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579757568001,"power":12645,"unknown_209":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9126615038627289088}} 
[2026-07-08 18:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":125822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452992,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:16:01] local.INFO: GPS data processed {"connection_id":125822,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:16:01] local.INFO: Acknowledgment sent {"connection_id":125822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:16:05] local.INFO: TCP Data received {"connection_id":127817,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:16:05] local.INFO: Processing buffer {"connection_id":127817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:16:05] local.INFO: IMEI packet received {"connection_id":127817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":127817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:16:08] local.INFO: TCP Data received {"connection_id":127817,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:16:08] local.INFO: Processing buffer {"connection_id":127817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:16:08] local.INFO: IMEI packet received {"connection_id":127817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":127817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:16:08] local.INFO: TCP Data received {"connection_id":125715,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c1a2c8012d80a90005a2ef680009015f2f..."} 
[2026-07-08 18:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c1a2c8012d80a90005a2ef680009015f2f..."} 
[2026-07-08 18:16:08] local.INFO: Processing buffer {"connection_id":125715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c1a2c8012d80a90005a2ef680009015f2f..."} 
[2026-07-08 18:16:08] local.INFO: Packet analysis {"connection_id":125715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c1"} 
[2026-07-08 18:16:08] local.INFO: Extracted packet for processing {"connection_id":125715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c1"} 
[2026-07-08 18:16:08] local.INFO: GPS Element Parsed {"raw_longitude":763406592,"raw_latitude":94564200,"longitude_deg":76.3406592,"latitude_deg":9.45642,"altitude":9,"angle":351,"satellites":47,"speed":51,"hex_longitude":"2d80a900","hex_latitude":"05a2ef68","is_valid_coordinates":true} 
[2026-07-08 18:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579745024001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342979715843227648,"note":"Value kept but may cause issues"} 
[2026-07-08 18:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173973154236151808,"note":"Value kept but may cause issues"} 
[2026-07-08 18:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783514637000,"timestamp_ms":1783514637000,"timestamp_seconds":1783514637,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c1a2c8"} 
[2026-07-08 18:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 18:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579745024001,"66":27908,"17":206,"85":14336,"24":51,"16":342979715843227648,"45":-9173973154236151808},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-07-08 18:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579745024001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:16:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342979715843227648,"km_value":342979715843227.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173973154236151808,"description":"Unknown IO ID 45"} 
[2026-07-08 18:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579745024001,"power":27908,"axis_x":206,"unknown_85":14336,"ignition":51,"odometer":null,"unknown_45":-9173973154236151808}} 
[2026-07-08 18:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":125715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:16:08] local.INFO: GPS data processed {"connection_id":125715,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:16:08] local.INFO: Acknowledgment sent {"connection_id":125715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:16:09] local.INFO: TCP Data received {"connection_id":127817,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:16:09] local.INFO: Processing buffer {"connection_id":127817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:16:09] local.INFO: IMEI packet received {"connection_id":127817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":127817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:16:10] local.INFO: TCP Data received {"connection_id":127817,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c1ba38012d181d400721aea0004c00dd2d..."} 
[2026-07-08 18:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c1ba38012d181d400721aea0004c00dd2d..."} 
[2026-07-08 18:16:10] local.INFO: Processing buffer {"connection_id":127817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c1ba38012d181d400721aea0004c00dd2d..."} 
[2026-07-08 18:16:10] local.INFO: Packet analysis {"connection_id":127817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c1"} 
[2026-07-08 18:16:10] local.INFO: Extracted packet for processing {"connection_id":127817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c1"} 
[2026-07-08 18:16:10] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647904,"longitude_deg":75.6555072,"latitude_deg":11.9647904,"altitude":76,"angle":221,"satellites":45,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721aea0","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579743232001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4908786842075136,"note":"Value kept but may cause issues"} 
[2026-07-08 18:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097288192,"note":"Value kept but may cause issues"} 
[2026-07-08 18:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783514643000,"timestamp_ms":1783514643000,"timestamp_seconds":1783514643,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c1ba38"} 
[2026-07-08 18:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-08 18:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":127817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":127817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":127817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579743232001,"66":12504,"105":206,"83":41984,"24":0,"16":4908786842075136,"45":1737756168097288192},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579743232001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:16:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:16:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4908786842075136,"km_value":4908786842075.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097288192,"description":"Unknown IO ID 45"} 
[2026-07-08 18:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579743232001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097288192}} 
[2026-07-08 18:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":127817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:16:10] local.INFO: GPS data processed {"connection_id":127817,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:16:10] local.INFO: Acknowledgment sent {"connection_id":127817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:16:17] local.INFO: TCP Data received {"connection_id":127817,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c20c40012d181d400721aea0004c00dd2b..."} 
[2026-07-08 18:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c20c40012d181d400721aea0004c00dd2b..."} 
[2026-07-08 18:16:17] local.INFO: Processing buffer {"connection_id":127817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c20c40012d181d400721aea0004c00dd2b..."} 
[2026-07-08 18:16:17] local.INFO: Packet analysis {"connection_id":127817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c2"} 
[2026-07-08 18:16:17] local.INFO: Extracted packet for processing {"connection_id":127817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c2"} 
[2026-07-08 18:16:17] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647904,"longitude_deg":75.6555072,"latitude_deg":11.9647904,"altitude":76,"angle":221,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721aea0","is_valid_coordinates":true} 
[2026-07-08 18:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579748608001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4908786842075136,"note":"Value kept but may cause issues"} 
[2026-07-08 18:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608920576,"note":"Value kept but may cause issues"} 
[2026-07-08 18:16: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-07-08 18:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783514664000,"timestamp_ms":1783514664000,"timestamp_seconds":1783514664,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c20c40"} 
[2026-07-08 18:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:16: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-07-08 18:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-08 18:16: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-07-08 18:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":127817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":127817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":127817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579748608001,"66":12504,"105":206,"83":41984,"24":0,"16":4908786842075136,"45":1737615430608920576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579748608001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:16:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:16:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4908786842075136,"km_value":4908786842075.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608920576,"description":"Unknown IO ID 45"} 
[2026-07-08 18:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579748608001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608920576}} 
[2026-07-08 18:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":127817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:16:18] local.INFO: GPS data processed {"connection_id":127817,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:16:18] local.INFO: Acknowledgment sent {"connection_id":127817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:16:31] local.INFO: TCP Data received {"connection_id":126594,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126594,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:16:31] local.INFO: Processing buffer {"connection_id":126594,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:16:31] local.INFO: IMEI packet received {"connection_id":126594,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":126594,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:16:31] local.INFO: TCP Data received {"connection_id":125714,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125714,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:16:31] local.INFO: Processing buffer {"connection_id":125714,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:16:31] local.INFO: IMEI packet received {"connection_id":125714,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 18:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":125714,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:16:33] local.INFO: TCP Data received {"connection_id":126594,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126594,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:16:33] local.INFO: Processing buffer {"connection_id":126594,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:16:33] local.INFO: IMEI packet received {"connection_id":126594,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":126594,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:16:36] local.INFO: TCP Data received {"connection_id":126594,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126594,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:16:36] local.INFO: Processing buffer {"connection_id":126594,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:16:36] local.INFO: IMEI packet received {"connection_id":126594,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":126594,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:16:37] local.INFO: TCP Data received {"connection_id":126594,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c37f58012d7e57c005d354f80006012529..."} 
[2026-07-08 18:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c37f58012d7e57c005d354f80006012529..."} 
[2026-07-08 18:16:37] local.INFO: Processing buffer {"connection_id":126594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c37f58012d7e57c005d354f80006012529..."} 
[2026-07-08 18:16:37] local.INFO: Packet analysis {"connection_id":126594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c3"} 
[2026-07-08 18:16:37] local.INFO: Extracted packet for processing {"connection_id":126594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c3"} 
[2026-07-08 18:16:37] local.INFO: GPS Element Parsed {"raw_longitude":763254720,"raw_latitude":97735928,"longitude_deg":76.325472,"latitude_deg":9.7735928,"altitude":6,"angle":293,"satellites":41,"speed":14,"hex_longitude":"2d7e57c0","hex_latitude":"05d354f8","is_valid_coordinates":true} 
[2026-07-08 18:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579777792001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103896272502521856,"note":"Value kept but may cause issues"} 
[2026-07-08 18:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104800727935696896,"note":"Value kept but may cause issues"} 
[2026-07-08 18:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783514759000,"timestamp_ms":1783514759000,"timestamp_seconds":1783514759,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c37f58"} 
[2026-07-08 18:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-08 18:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579777792001,"66":11461,"109":206,"85":15104,"24":14,"16":103896272502521856,"45":9104800727935696896},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579777792001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:16:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:16:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103896272502521856,"km_value":103896272502521.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104800727935696896,"description":"Unknown IO ID 45"} 
[2026-07-08 18:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579777792001,"power":11461,"unknown_109":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9104800727935696896}} 
[2026-07-08 18:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":126594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452996,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:16:37] local.INFO: GPS data processed {"connection_id":126594,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:16:37] local.INFO: Acknowledgment sent {"connection_id":126594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:16:42] local.INFO: TCP Data received {"connection_id":125715,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c319c8012d806ac005a462600008015b2f..."} 
[2026-07-08 18:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c319c8012d806ac005a462600008015b2f..."} 
[2026-07-08 18:16:42] local.INFO: Processing buffer {"connection_id":125715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c319c8012d806ac005a462600008015b2f..."} 
[2026-07-08 18:16:42] local.INFO: Packet analysis {"connection_id":125715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c3"} 
[2026-07-08 18:16:42] local.INFO: Extracted packet for processing {"connection_id":125715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c3"} 
[2026-07-08 18:16:42] local.INFO: GPS Element Parsed {"raw_longitude":763390656,"raw_latitude":94659168,"longitude_deg":76.3390656,"latitude_deg":9.4659168,"altitude":8,"angle":347,"satellites":47,"speed":30,"hex_longitude":"2d806ac0","hex_latitude":"05a46260","is_valid_coordinates":true} 
[2026-07-08 18:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579770624001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342984388767645696,"note":"Value kept but may cause issues"} 
[2026-07-08 18:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9192902346393946112,"note":"Value kept but may cause issues"} 
[2026-07-08 18:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783514733000,"timestamp_ms":1783514733000,"timestamp_seconds":1783514733,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c319c8"} 
[2026-07-08 18:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-08 18:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":125715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":125715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":125715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579770624001,"66":27658,"53":206,"85":14336,"24":30,"16":342984388767645696,"45":-9192902346393946112},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-08 18:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579770624001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:16:42] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-08 18:16:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342984388767645696,"km_value":342984388767645.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9192902346393946112,"description":"Unknown IO ID 45"} 
[2026-07-08 18:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579770624001,"power":27658,"unknown_53":206,"unknown_85":14336,"ignition":30,"odometer":null,"unknown_45":-9192902346393946112}} 
[2026-07-08 18:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":125715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:16:42] local.INFO: GPS data processed {"connection_id":125715,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:16:42] local.INFO: Acknowledgment sent {"connection_id":125715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:16:56] local.INFO: TCP Data received {"connection_id":127818,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127818,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:16:56] local.INFO: Processing buffer {"connection_id":127818,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:16:56] local.INFO: IMEI packet received {"connection_id":127818,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 18:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":127818,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:17:00] local.INFO: TCP Data received {"connection_id":125716,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:17:00] local.INFO: Processing buffer {"connection_id":125716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:17:00] local.INFO: IMEI packet received {"connection_id":125716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":125716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:17:00] local.INFO: TCP Data received {"connection_id":127819,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:17:00] local.INFO: Processing buffer {"connection_id":127819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:17:00] local.INFO: IMEI packet received {"connection_id":127819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":127819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:17:04] local.INFO: TCP Data received {"connection_id":127819,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:17:04] local.INFO: Processing buffer {"connection_id":127819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:17:04] local.INFO: IMEI packet received {"connection_id":127819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":127819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:17:05] local.INFO: TCP Data received {"connection_id":125716,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:17:05] local.INFO: Processing buffer {"connection_id":125716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:17:05] local.INFO: IMEI packet received {"connection_id":125716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":125716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:17:05] local.INFO: TCP Data received {"connection_id":127819,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c35078012d80638005a485d80008015830..."} 
[2026-07-08 18:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c35078012d80638005a485d80008015830..."} 
[2026-07-08 18:17:05] local.INFO: Processing buffer {"connection_id":127819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c35078012d80638005a485d80008015830..."} 
[2026-07-08 18:17:05] local.INFO: Packet analysis {"connection_id":127819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c3"} 
[2026-07-08 18:17:05] local.INFO: Extracted packet for processing {"connection_id":127819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c3"} 
[2026-07-08 18:17:05] local.INFO: GPS Element Parsed {"raw_longitude":763388800,"raw_latitude":94668248,"longitude_deg":76.33888,"latitude_deg":9.4668248,"altitude":8,"angle":344,"satellites":48,"speed":35,"hex_longitude":"2d806380","hex_latitude":"05a485d8","is_valid_coordinates":true} 
[2026-07-08 18:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579771648001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342984839739211776,"note":"Value kept but may cause issues"} 
[2026-07-08 18:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193324558858166272,"note":"Value kept but may cause issues"} 
[2026-07-08 18:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783514747000,"timestamp_ms":1783514747000,"timestamp_seconds":1783514747,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c35078"} 
[2026-07-08 18:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 18:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579771648001,"66":27843,"53":206,"85":14336,"24":35,"16":342984839739211776,"45":-9193324558858166272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-08 18:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579771648001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:17:05] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-08 18:17:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342984839739211776,"km_value":342984839739211.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193324558858166272,"description":"Unknown IO ID 45"} 
[2026-07-08 18:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579771648001,"power":27843,"unknown_53":206,"unknown_85":14336,"ignition":35,"odometer":null,"unknown_45":-9193324558858166272}} 
[2026-07-08 18:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":127819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:17:05] local.INFO: GPS data processed {"connection_id":127819,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:17:05] local.INFO: Acknowledgment sent {"connection_id":127819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:17:05] local.INFO: TCP Data received {"connection_id":125716,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c25e48012d181d400721aea0004c00dd2a..."} 
[2026-07-08 18:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c25e48012d181d400721aea0004c00dd2a..."} 
[2026-07-08 18:17:05] local.INFO: Processing buffer {"connection_id":125716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c25e48012d181d400721aea0004c00dd2a..."} 
[2026-07-08 18:17:05] local.INFO: Packet analysis {"connection_id":125716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c2"} 
[2026-07-08 18:17:05] local.INFO: Extracted packet for processing {"connection_id":125716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c2"} 
[2026-07-08 18:17:05] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647904,"longitude_deg":75.6555072,"latitude_deg":11.9647904,"altitude":76,"angle":221,"satellites":42,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721aea0","is_valid_coordinates":true} 
[2026-07-08 18:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579753984001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4908786842075136,"note":"Value kept but may cause issues"} 
[2026-07-08 18:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608920576,"note":"Value kept but may cause issues"} 
[2026-07-08 18:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783514685000,"timestamp_ms":1783514685000,"timestamp_seconds":1783514685,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c25e48"} 
[2026-07-08 18:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:17: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-07-08 18: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-08 18:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579753984001,"66":12504,"105":206,"83":41984,"24":0,"16":4908786842075136,"45":1737615430608920576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579753984001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:17:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:17:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4908786842075136,"km_value":4908786842075.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608920576,"description":"Unknown IO ID 45"} 
[2026-07-08 18:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579753984001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608920576}} 
[2026-07-08 18:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":125716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":452999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:17:06] local.INFO: GPS data processed {"connection_id":125716,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:17:06] local.INFO: Acknowledgment sent {"connection_id":125716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:17:06] local.INFO: TCP Data received {"connection_id":127819,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c367e8012d805c4005a49ae80008014b30..."} 
[2026-07-08 18:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c367e8012d805c4005a49ae80008014b30..."} 
[2026-07-08 18:17:06] local.INFO: Processing buffer {"connection_id":127819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c367e8012d805c4005a49ae80008014b30..."} 
[2026-07-08 18:17:06] local.INFO: Packet analysis {"connection_id":127819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c3"} 
[2026-07-08 18:17:06] local.INFO: Extracted packet for processing {"connection_id":127819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c3"} 
[2026-07-08 18:17:06] local.INFO: GPS Element Parsed {"raw_longitude":763386944,"raw_latitude":94673640,"longitude_deg":76.3386944,"latitude_deg":9.467364,"altitude":8,"angle":331,"satellites":48,"speed":36,"hex_longitude":"2d805c40","hex_latitude":"05a49ae8","is_valid_coordinates":true} 
[2026-07-08 18:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579775232001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342985118912086016,"note":"Value kept but may cause issues"} 
[2026-07-08 18:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9195365252436994048,"note":"Value kept but may cause issues"} 
[2026-07-08 18:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783514753000,"timestamp_ms":1783514753000,"timestamp_seconds":1783514753,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c367e8"} 
[2026-07-08 18:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 18:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579775232001,"66":27865,"53":206,"85":14336,"24":36,"16":342985118912086016,"45":-9195365252436994048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-08 18:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579775232001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:17:06] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-08 18:17:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342985118912086016,"km_value":342985118912086.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9195365252436994048,"description":"Unknown IO ID 45"} 
[2026-07-08 18:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579775232001,"power":27865,"unknown_53":206,"unknown_85":14336,"ignition":36,"odometer":null,"unknown_45":-9195365252436994048}} 
[2026-07-08 18:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":127819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:17:06] local.INFO: GPS data processed {"connection_id":127819,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:17:06] local.INFO: Acknowledgment sent {"connection_id":127819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:17:09] local.INFO: TCP Data received {"connection_id":126594,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c442a8012d7e350005d34e20000300652a..."} 
[2026-07-08 18:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c442a8012d7e350005d34e20000300652a..."} 
[2026-07-08 18:17:09] local.INFO: Processing buffer {"connection_id":126594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c442a8012d7e350005d34e20000300652a..."} 
[2026-07-08 18:17:09] local.INFO: Packet analysis {"connection_id":126594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c4"} 
[2026-07-08 18:17:09] local.INFO: Extracted packet for processing {"connection_id":126594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c4"} 
[2026-07-08 18:17:09] local.INFO: GPS Element Parsed {"raw_longitude":763245824,"raw_latitude":97734176,"longitude_deg":76.3245824,"latitude_deg":9.7734176,"altitude":3,"angle":101,"satellites":42,"speed":6,"hex_longitude":"2d7e3500","hex_latitude":"05d34e20","is_valid_coordinates":true} 
[2026-07-08 18:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579790848001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103896912452648960,"note":"Value kept but may cause issues"} 
[2026-07-08 18:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094034310076184576,"note":"Value kept but may cause issues"} 
[2026-07-08 18:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783514809000,"timestamp_ms":1783514809000,"timestamp_seconds":1783514809,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c442a8"} 
[2026-07-08 18:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":74,"data_length":795,"current_offset":136} 
[2026-07-08 18:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579790848001,"66":12689,"109":206,"85":15104,"24":6,"16":103896912452648960,"45":9094034310076184576},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579790848001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:17:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:17:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103896912452648960,"km_value":103896912452648.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094034310076184576,"description":"Unknown IO ID 45"} 
[2026-07-08 18:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579790848001,"power":12689,"unknown_109":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9094034310076184576}} 
[2026-07-08 18:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":126594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453001,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:17:09] local.INFO: GPS data processed {"connection_id":126594,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:17:09] local.INFO: Acknowledgment sent {"connection_id":126594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:17:31] local.INFO: TCP Data received {"connection_id":127820,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:17:31] local.INFO: Processing buffer {"connection_id":127820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:17:31] local.INFO: IMEI packet received {"connection_id":127820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":127820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:17:35] local.INFO: TCP Data received {"connection_id":127820,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:17:35] local.INFO: Processing buffer {"connection_id":127820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:17:35] local.INFO: IMEI packet received {"connection_id":127820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":127820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:17:36] local.INFO: TCP Data received {"connection_id":127820,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:17:36] local.INFO: Processing buffer {"connection_id":127820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:17:36] local.INFO: IMEI packet received {"connection_id":127820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":127820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:17:36] local.INFO: TCP Data received {"connection_id":127820,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c44a78012d7e364005d34e20000300542a..."} 
[2026-07-08 18:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c44a78012d7e364005d34e20000300542a..."} 
[2026-07-08 18:17:36] local.INFO: Processing buffer {"connection_id":127820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c44a78012d7e364005d34e20000300542a..."} 
[2026-07-08 18:17:36] local.INFO: Packet analysis {"connection_id":127820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c4"} 
[2026-07-08 18:17:36] local.INFO: Extracted packet for processing {"connection_id":127820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c4"} 
[2026-07-08 18:17:36] local.INFO: GPS Element Parsed {"raw_longitude":763246144,"raw_latitude":97734176,"longitude_deg":76.3246144,"latitude_deg":9.7734176,"altitude":3,"angle":84,"satellites":42,"speed":6,"hex_longitude":"2d7e3640","hex_latitude":"05d34e20","is_valid_coordinates":true} 
[2026-07-08 18:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579791104001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103896925337550848,"note":"Value kept but may cause issues"} 
[2026-07-08 18:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094175047564533760,"note":"Value kept but may cause issues"} 
[2026-07-08 18:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783514811000,"timestamp_ms":1783514811000,"timestamp_seconds":1783514811,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c44a78"} 
[2026-07-08 18:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-08 18:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579791104001,"66":12613,"109":206,"85":15104,"24":6,"16":103896925337550848,"45":9094175047564533760},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579791104001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:17:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:17:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103896925337550848,"km_value":103896925337550.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094175047564533760,"description":"Unknown IO ID 45"} 
[2026-07-08 18:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579791104001,"power":12613,"unknown_109":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9094175047564533760}} 
[2026-07-08 18:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":127820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453002,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:17:36] local.INFO: GPS data processed {"connection_id":127820,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:17:36] local.INFO: Acknowledgment sent {"connection_id":127820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:17:37] local.INFO: TCP Data received {"connection_id":125716,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c2b050012d181d400721aea0004c00dd25..."} 
[2026-07-08 18:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c2b050012d181d400721aea0004c00dd25..."} 
[2026-07-08 18:17:37] local.INFO: Processing buffer {"connection_id":125716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c2b050012d181d400721aea0004c00dd25..."} 
[2026-07-08 18:17:37] local.INFO: Packet analysis {"connection_id":125716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c2"} 
[2026-07-08 18:17:37] local.INFO: Extracted packet for processing {"connection_id":125716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c2"} 
[2026-07-08 18:17:37] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647904,"longitude_deg":75.6555072,"latitude_deg":11.9647904,"altitude":76,"angle":221,"satellites":37,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721aea0","is_valid_coordinates":true} 
[2026-07-08 18:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579759360001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4908786842075136,"note":"Value kept but may cause issues"} 
[2026-07-08 18:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608920576,"note":"Value kept but may cause issues"} 
[2026-07-08 18:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783514706000,"timestamp_ms":1783514706000,"timestamp_seconds":1783514706,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c2b050"} 
[2026-07-08 18:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-08 18:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579759360001,"66":12504,"105":206,"83":41984,"24":0,"16":4908786842075136,"45":1737615430608920576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579759360001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:17:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:17:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4908786842075136,"km_value":4908786842075.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608920576,"description":"Unknown IO ID 45"} 
[2026-07-08 18:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579759360001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608920576}} 
[2026-07-08 18:17:37] local.INFO: TCP Data received {"connection_id":127819,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c396c8012d8049c005a4b9480006014930..."} 
[2026-07-08 18:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c396c8012d8049c005a4b9480006014930..."} 
[2026-07-08 18:17:37] local.INFO: Processing buffer {"connection_id":127819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c396c8012d8049c005a4b9480006014930..."} 
[2026-07-08 18:17:37] local.INFO: Packet analysis {"connection_id":127819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c3"} 
[2026-07-08 18:17:37] local.INFO: Extracted packet for processing {"connection_id":127819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c3"} 
[2026-07-08 18:17:37] local.INFO: GPS Element Parsed {"raw_longitude":763382208,"raw_latitude":94681416,"longitude_deg":76.3382208,"latitude_deg":9.4681416,"altitude":6,"angle":329,"satellites":48,"speed":27,"hex_longitude":"2d8049c0","hex_latitude":"05a4b948","is_valid_coordinates":true} 
[2026-07-08 18:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579776768001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342985556998750208,"note":"Value kept but may cause issues"} 
[2026-07-08 18:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9197405946016765952,"note":"Value kept but may cause issues"} 
[2026-07-08 18:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783514765000,"timestamp_ms":1783514765000,"timestamp_seconds":1783514765,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c396c8"} 
[2026-07-08 18:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 18:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579776768001,"66":27767,"53":206,"85":14336,"24":27,"16":342985556998750208,"45":-9197405946016765952},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-08 18:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579776768001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:17:37] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-08 18:17:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342985556998750208,"km_value":342985556998750.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9197405946016765952,"description":"Unknown IO ID 45"} 
[2026-07-08 18:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579776768001,"power":27767,"unknown_53":206,"unknown_85":14336,"ignition":27,"odometer":null,"unknown_45":-9197405946016765952}} 
[2026-07-08 18:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":127819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:17:37] local.INFO: GPS data processed {"connection_id":127819,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:17:37] local.INFO: Acknowledgment sent {"connection_id":127819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":125716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:17:37] local.INFO: GPS data processed {"connection_id":125716,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:17:37] local.INFO: Acknowledgment sent {"connection_id":125716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:17:51] local.INFO: TCP Data received {"connection_id":126595,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:17:51] local.INFO: Processing buffer {"connection_id":126595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:17:51] local.INFO: IMEI packet received {"connection_id":126595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":126595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:17:55] local.INFO: TCP Data received {"connection_id":126595,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:17:55] local.INFO: Processing buffer {"connection_id":126595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:17:55] local.INFO: IMEI packet received {"connection_id":126595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":126595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:17:59] local.INFO: TCP Data received {"connection_id":126595,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:17:59] local.INFO: Processing buffer {"connection_id":126595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:17:59] local.INFO: IMEI packet received {"connection_id":126595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":126595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:18:00] local.INFO: TCP Data received {"connection_id":127821,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:18:00] local.INFO: Processing buffer {"connection_id":127821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:18:00] local.INFO: IMEI packet received {"connection_id":127821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":127821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:18:00] local.INFO: TCP Data received {"connection_id":126595,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c3c5a8012d8037c005a4d950000601482c..."} 
[2026-07-08 18:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c3c5a8012d8037c005a4d950000601482c..."} 
[2026-07-08 18:18:00] local.INFO: Processing buffer {"connection_id":126595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c3c5a8012d8037c005a4d950000601482c..."} 
[2026-07-08 18:18:00] local.INFO: Packet analysis {"connection_id":126595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c3"} 
[2026-07-08 18:18:00] local.INFO: Extracted packet for processing {"connection_id":126595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c3"} 
[2026-07-08 18:18:00] local.INFO: GPS Element Parsed {"raw_longitude":763377600,"raw_latitude":94689616,"longitude_deg":76.33776,"latitude_deg":9.4689616,"altitude":6,"angle":328,"satellites":44,"speed":37,"hex_longitude":"2d8037c0","hex_latitude":"05a4d950","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579779840001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342986012265283584,"note":"Value kept but may cause issues"} 
[2026-07-08 18:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9202613233083922432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:18:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783514777000,"timestamp_ms":1783514777000,"timestamp_seconds":1783514777,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c3c5a8"} 
[2026-07-08 18:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:18:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 18:18:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:18:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579779840001,"66":27865,"53":206,"85":14336,"24":37,"16":342986012265283584,"45":-9202613233083922432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-08 18:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579779840001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:18:00] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-08 18:18:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342986012265283584,"km_value":342986012265283.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:18:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9202613233083922432,"description":"Unknown IO ID 45"} 
[2026-07-08 18:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579779840001,"power":27865,"unknown_53":206,"unknown_85":14336,"ignition":37,"odometer":null,"unknown_45":-9202613233083922432}} 
[2026-07-08 18:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":126595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:18:00] local.INFO: GPS data processed {"connection_id":126595,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:18:00] local.INFO: Acknowledgment sent {"connection_id":126595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:18:01] local.INFO: TCP Data received {"connection_id":127821,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:18:01] local.INFO: Processing buffer {"connection_id":127821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:18:01] local.INFO: IMEI packet received {"connection_id":127821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":127821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:18:04] local.INFO: TCP Data received {"connection_id":127821,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:18:04] local.INFO: Processing buffer {"connection_id":127821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:18:04] local.INFO: IMEI packet received {"connection_id":127821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":127821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:18:05] local.INFO: TCP Data received {"connection_id":127821,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c30258012d181d400721aea0004c00dd29..."} 
[2026-07-08 18:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c30258012d181d400721aea0004c00dd29..."} 
[2026-07-08 18:18:05] local.INFO: Processing buffer {"connection_id":127821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c30258012d181d400721aea0004c00dd29..."} 
[2026-07-08 18:18:05] local.INFO: Packet analysis {"connection_id":127821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c3"} 
[2026-07-08 18:18:05] local.INFO: Extracted packet for processing {"connection_id":127821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c3"} 
[2026-07-08 18:18:05] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647904,"longitude_deg":75.6555072,"latitude_deg":11.9647904,"altitude":76,"angle":221,"satellites":41,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721aea0","is_valid_coordinates":true} 
[2026-07-08 18:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579764736001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4908786842075136,"note":"Value kept but may cause issues"} 
[2026-07-08 18:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608920576,"note":"Value kept but may cause issues"} 
[2026-07-08 18:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783514727000,"timestamp_ms":1783514727000,"timestamp_seconds":1783514727,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c30258"} 
[2026-07-08 18:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-08 18:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579764736001,"66":12461,"105":206,"83":41984,"24":0,"16":4908786842075136,"45":1737615430608920576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579764736001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:18:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:18:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4908786842075136,"km_value":4908786842075.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608920576,"description":"Unknown IO ID 45"} 
[2026-07-08 18:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579764736001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608920576}} 
[2026-07-08 18:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":127821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:18:05] local.INFO: GPS data processed {"connection_id":127821,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:18:05] local.INFO: Acknowledgment sent {"connection_id":127821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:18:07] local.INFO: TCP Data received {"connection_id":127820,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c44e60012d7e370005d34e500003003d2a..."} 
[2026-07-08 18:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c44e60012d7e370005d34e500003003d2a..."} 
[2026-07-08 18:18:07] local.INFO: Processing buffer {"connection_id":127820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c44e60012d7e370005d34e500003003d2a..."} 
[2026-07-08 18:18:07] local.INFO: Packet analysis {"connection_id":127820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c4"} 
[2026-07-08 18:18:07] local.INFO: Extracted packet for processing {"connection_id":127820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c4"} 
[2026-07-08 18:18:07] local.INFO: GPS Element Parsed {"raw_longitude":763246336,"raw_latitude":97734224,"longitude_deg":76.3246336,"latitude_deg":9.7734224,"altitude":3,"angle":61,"satellites":42,"speed":6,"hex_longitude":"2d7e3700","hex_latitude":"05d34e50","is_valid_coordinates":true} 
[2026-07-08 18:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579791616001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103896933927485440,"note":"Value kept but may cause issues"} 
[2026-07-08 18:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094526891285422080,"note":"Value kept but may cause issues"} 
[2026-07-08 18:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783514812000,"timestamp_ms":1783514812000,"timestamp_seconds":1783514812,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c44e60"} 
[2026-07-08 18:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 18:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579791616001,"66":12613,"109":206,"85":15104,"24":6,"16":103896933927485440,"45":9094526891285422080},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579791616001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:18:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:18:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103896933927485440,"km_value":103896933927485.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094526891285422080,"description":"Unknown IO ID 45"} 
[2026-07-08 18:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579791616001,"power":12613,"unknown_109":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9094526891285422080}} 
[2026-07-08 18:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":127820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453007,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:18:07] local.INFO: GPS data processed {"connection_id":127820,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:18:07] local.INFO: Acknowledgment sent {"connection_id":127820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:18:31] local.INFO: TCP Data received {"connection_id":126595,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c3e8d0012d8022c005a4f780000701402a..."} 
[2026-07-08 18:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c3e8d0012d8022c005a4f780000701402a..."} 
[2026-07-08 18:18:31] local.INFO: Processing buffer {"connection_id":126595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c3e8d0012d8022c005a4f780000701402a..."} 
[2026-07-08 18:18:31] local.INFO: Packet analysis {"connection_id":126595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c3"} 
[2026-07-08 18:18:31] local.INFO: Extracted packet for processing {"connection_id":126595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c3"} 
[2026-07-08 18:18:31] local.INFO: GPS Element Parsed {"raw_longitude":763372224,"raw_latitude":94697344,"longitude_deg":76.3372224,"latitude_deg":9.4697344,"altitude":7,"angle":320,"satellites":42,"speed":45,"hex_longitude":"2d8022c0","hex_latitude":"05a4f780","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579782912001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342986467531816960,"note":"Value kept but may cause issues"} 
[2026-07-08 18:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9207679782662615040,"note":"Value kept but may cause issues"} 
[2026-07-08 18:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783514786000,"timestamp_ms":1783514786000,"timestamp_seconds":1783514786,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c3e8d0"} 
[2026-07-08 18:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:18: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-07-08 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 18:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":126595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":126595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":126595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579782912001,"66":27908,"53":206,"85":14336,"24":45,"16":342986467531816960,"45":-9207679782662615040},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-08 18:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579782912001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:18:31] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-08 18:18:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342986467531816960,"km_value":342986467531816.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9207679782662615040,"description":"Unknown IO ID 45"} 
[2026-07-08 18:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579782912001,"power":27908,"unknown_53":206,"unknown_85":14336,"ignition":45,"odometer":null,"unknown_45":-9207679782662615040}} 
[2026-07-08 18:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":126595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:18:31] local.INFO: GPS data processed {"connection_id":126595,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:18:31] local.INFO: Acknowledgment sent {"connection_id":126595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:18:36] local.INFO: TCP Data received {"connection_id":127821,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c52150012d1865c007218248004c00652a..."} 
[2026-07-08 18:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c52150012d1865c007218248004c00652a..."} 
[2026-07-08 18:18:36] local.INFO: Processing buffer {"connection_id":127821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c52150012d1865c007218248004c00652a..."} 
[2026-07-08 18:18:36] local.INFO: Packet analysis {"connection_id":127821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c5"} 
[2026-07-08 18:18:36] local.INFO: Extracted packet for processing {"connection_id":127821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c5"} 
[2026-07-08 18:18:36] local.INFO: GPS Element Parsed {"raw_longitude":756573632,"raw_latitude":119636552,"longitude_deg":75.6573632,"latitude_deg":11.9636552,"altitude":76,"angle":101,"satellites":42,"speed":33,"hex_longitude":"2d1865c0","hex_latitude":"07218248","is_valid_coordinates":true} 
[2026-07-08 18:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579803904001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4909882058735616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1751970654418864128,"note":"Value kept but may cause issues"} 
[2026-07-08 18:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783514866000,"timestamp_ms":1783514866000,"timestamp_seconds":1783514866,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c52150"} 
[2026-07-08 18:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-07-08 18:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579803904001,"66":14363,"106":206,"83":41984,"24":33,"16":4909882058735616,"45":1751970654418864128},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-08 18:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579803904001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:18:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-08 18:18:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4909882058735616,"km_value":4909882058735.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1751970654418864128,"description":"Unknown IO ID 45"} 
[2026-07-08 18:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579803904001,"power":14363,"unknown_106":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1751970654418864128}} 
[2026-07-08 18:18:36] local.INFO: TCP Data received {"connection_id":125823,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:18:36] local.INFO: Processing buffer {"connection_id":125823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:18:36] local.INFO: IMEI packet received {"connection_id":125823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":125823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":127821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:18:36] local.INFO: GPS data processed {"connection_id":127821,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:18:36] local.INFO: Acknowledgment sent {"connection_id":127821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:18:38] local.INFO: TCP Data received {"connection_id":125823,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:18:38] local.INFO: Processing buffer {"connection_id":125823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:18:38] local.INFO: IMEI packet received {"connection_id":125823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":125823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:18:39] local.INFO: TCP Data received {"connection_id":125823,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c49c80012d7e358005d34ef0000200372b..."} 
[2026-07-08 18:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c49c80012d7e358005d34ef0000200372b..."} 
[2026-07-08 18:18:39] local.INFO: Processing buffer {"connection_id":125823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c49c80012d7e358005d34ef0000200372b..."} 
[2026-07-08 18:18:39] local.INFO: Packet analysis {"connection_id":125823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c4"} 
[2026-07-08 18:18:39] local.INFO: Extracted packet for processing {"connection_id":125823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c4"} 
[2026-07-08 18:18:39] local.INFO: GPS Element Parsed {"raw_longitude":763245952,"raw_latitude":97734384,"longitude_deg":76.3245952,"latitude_deg":9.7734384,"altitude":2,"angle":55,"satellites":43,"speed":0,"hex_longitude":"2d7e3580","hex_latitude":"05d34ef0","is_valid_coordinates":true} 
[2026-07-08 18:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579791872001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103896994057027584,"note":"Value kept but may cause issues"} 
[2026-07-08 18:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094737997517967360,"note":"Value kept but may cause issues"} 
[2026-07-08 18:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783514832000,"timestamp_ms":1783514832000,"timestamp_seconds":1783514832,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c49c80"} 
[2026-07-08 18:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 18:18:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579791872001,"66":12504,"109":206,"85":15104,"24":0,"16":103896994057027584,"45":9094737997517967360},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579791872001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:18:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:18:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103896994057027584,"km_value":103896994057027.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094737997517967360,"description":"Unknown IO ID 45"} 
[2026-07-08 18:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579791872001,"power":12504,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094737997517967360}} 
[2026-07-08 18:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":125823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453010,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:18:39] local.INFO: GPS data processed {"connection_id":125823,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:18:39] local.INFO: Acknowledgment sent {"connection_id":125823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:18:41] local.INFO: TCP Data received {"connection_id":125823,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c4ee88012d7e368005d34d80000200372b..."} 
[2026-07-08 18:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c4ee88012d7e368005d34d80000200372b..."} 
[2026-07-08 18:18:41] local.INFO: Processing buffer {"connection_id":125823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c4ee88012d7e368005d34d80000200372b..."} 
[2026-07-08 18:18:41] local.INFO: Packet analysis {"connection_id":125823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c4"} 
[2026-07-08 18:18:41] local.INFO: Extracted packet for processing {"connection_id":125823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c4"} 
[2026-07-08 18:18:41] local.INFO: GPS Element Parsed {"raw_longitude":763246208,"raw_latitude":97734016,"longitude_deg":76.3246208,"latitude_deg":9.7734016,"altitude":2,"angle":55,"satellites":43,"speed":2,"hex_longitude":"2d7e3680","hex_latitude":"05d34d80","is_valid_coordinates":true} 
[2026-07-08 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-07-08 18:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579796992001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897037006700544,"note":"Value kept but may cause issues"} 
[2026-07-08 18:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785052942336,"note":"Value kept but may cause issues"} 
[2026-07-08 18:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783514853000,"timestamp_ms":1783514853000,"timestamp_seconds":1783514853,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c4ee88"} 
[2026-07-08 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-07-08 18:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-08 18:18: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-07-08 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-07-08 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-07-08 18:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579796992001,"66":12504,"109":206,"85":15104,"24":2,"16":103897037006700544,"45":9094315785052942336},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579796992001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:18:41] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:18:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897037006700544,"km_value":103897037006700.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785052942336,"description":"Unknown IO ID 45"} 
[2026-07-08 18:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579796992001,"power":12504,"unknown_109":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9094315785052942336}} 
[2026-07-08 18:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":125823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453011,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:18:41] local.INFO: GPS data processed {"connection_id":125823,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:18:41] local.INFO: Acknowledgment sent {"connection_id":125823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:18:55] local.INFO: TCP Data received {"connection_id":125717,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:18:55] local.INFO: Processing buffer {"connection_id":125717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:18:55] local.INFO: IMEI packet received {"connection_id":125717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":125717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:18:57] local.INFO: TCP Data received {"connection_id":125717,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:18:57] local.INFO: Processing buffer {"connection_id":125717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:18:57] local.INFO: IMEI packet received {"connection_id":125717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":125717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:18:59] local.INFO: TCP Data received {"connection_id":126596,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:18:59] local.INFO: Processing buffer {"connection_id":126596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:18:59] local.INFO: IMEI packet received {"connection_id":126596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":126596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:18:59] local.INFO: TCP Data received {"connection_id":125717,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c52d08012d7ecb8005a5bd20000c01282f..."} 
[2026-07-08 18:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c52d08012d7ecb8005a5bd20000c01282f..."} 
[2026-07-08 18:18:59] local.INFO: Processing buffer {"connection_id":125717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c52d08012d7ecb8005a5bd20000c01282f..."} 
[2026-07-08 18:18:59] local.INFO: Packet analysis {"connection_id":125717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c5"} 
[2026-07-08 18:18:59] local.INFO: Extracted packet for processing {"connection_id":125717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c5"} 
[2026-07-08 18:18:59] local.INFO: GPS Element Parsed {"raw_longitude":763284352,"raw_latitude":94747936,"longitude_deg":76.3284352,"latitude_deg":9.4747936,"altitude":12,"angle":296,"satellites":47,"speed":54,"hex_longitude":"2d7ecb80","hex_latitude":"05a5bd20","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579804672001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342991372384468992,"note":"Value kept but may cause issues"} 
[2026-07-08 18:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9146459023722930176,"note":"Value kept but may cause issues"} 
[2026-07-08 18:18:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783514869000,"timestamp_ms":1783514869000,"timestamp_seconds":1783514869,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c52d08"} 
[2026-07-08 18:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 18:18:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:18:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":125717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":125717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":125717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:18:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579804672001,"66":27887,"32":206,"85":14336,"24":54,"16":342991372384468992,"45":9146459023722930176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,85,24,16,45]} 
[2026-07-08 18:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579804672001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:18:59] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-08 18:18:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342991372384468992,"km_value":342991372384469.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9146459023722930176,"description":"Unknown IO ID 45"} 
[2026-07-08 18:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579804672001,"power":27887,"unknown_32":206,"unknown_85":14336,"ignition":54,"odometer":null,"unknown_45":9146459023722930176}} 
[2026-07-08 18:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":125717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:18:59] local.INFO: GPS data processed {"connection_id":125717,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:18:59] local.INFO: Acknowledgment sent {"connection_id":125717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:18:59] local.INFO: TCP Data received {"connection_id":126596,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:18:59] local.INFO: Processing buffer {"connection_id":126596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:18:59] local.INFO: IMEI packet received {"connection_id":126596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":126596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:19:01] local.INFO: TCP Data received {"connection_id":126596,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:19:01] local.INFO: Processing buffer {"connection_id":126596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:19:01] local.INFO: IMEI packet received {"connection_id":126596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":126596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:19:04] local.INFO: TCP Data received {"connection_id":126596,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:19:04] local.INFO: Processing buffer {"connection_id":126596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:19:04] local.INFO: IMEI packet received {"connection_id":126596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":126596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:19:08] local.INFO: TCP Data received {"connection_id":126596,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c52d08012d187040072181a8004d005925..."} 
[2026-07-08 18:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c52d08012d187040072181a8004d005925..."} 
[2026-07-08 18:19:08] local.INFO: Processing buffer {"connection_id":126596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c52d08012d187040072181a8004d005925..."} 
[2026-07-08 18:19:08] local.INFO: Packet analysis {"connection_id":126596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c5"} 
[2026-07-08 18:19:08] local.INFO: Extracted packet for processing {"connection_id":126596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c5"} 
[2026-07-08 18:19:08] local.INFO: GPS Element Parsed {"raw_longitude":756576320,"raw_latitude":119636392,"longitude_deg":75.657632,"latitude_deg":11.9636392,"altitude":77,"angle":89,"satellites":37,"speed":33,"hex_longitude":"2d187040","hex_latitude":"072181a8","is_valid_coordinates":true} 
[2026-07-08 18:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579805696001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4910010907754496,"note":"Value kept but may cause issues"} 
[2026-07-08 18:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1758022366417537024,"note":"Value kept but may cause issues"} 
[2026-07-08 18:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783514869000,"timestamp_ms":1783514869000,"timestamp_seconds":1783514869,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c52d08"} 
[2026-07-08 18:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-08 18:19: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-07-08 18:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579805696001,"66":14374,"106":206,"83":41984,"24":33,"16":4910010907754496,"45":1758022366417537024},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-08 18:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579805696001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:19:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-08 18:19:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4910010907754496,"km_value":4910010907754.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1758022366417537024,"description":"Unknown IO ID 45"} 
[2026-07-08 18:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579805696001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1758022366417537024}} 
[2026-07-08 18:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":126596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:19:08] local.INFO: GPS data processed {"connection_id":126596,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:19:08] local.INFO: Acknowledgment sent {"connection_id":126596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:19:13] local.INFO: TCP Data received {"connection_id":125823,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c54090012d7e368005d34cf0000200372c..."} 
[2026-07-08 18:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c54090012d7e368005d34cf0000200372c..."} 
[2026-07-08 18:19:13] local.INFO: Processing buffer {"connection_id":125823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c54090012d7e368005d34cf0000200372c..."} 
[2026-07-08 18:19:13] local.INFO: Packet analysis {"connection_id":125823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c5"} 
[2026-07-08 18:19:13] local.INFO: Extracted packet for processing {"connection_id":125823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c5"} 
[2026-07-08 18:19:13] local.INFO: GPS Element Parsed {"raw_longitude":763246208,"raw_latitude":97733872,"longitude_deg":76.3246208,"latitude_deg":9.7733872,"altitude":2,"angle":55,"satellites":44,"speed":0,"hex_longitude":"2d7e3680","hex_latitude":"05d34cf0","is_valid_coordinates":true} 
[2026-07-08 18:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579802368001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029558784,"note":"Value kept but may cause issues"} 
[2026-07-08 18:19: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-07-08 18:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783514874000,"timestamp_ms":1783514874000,"timestamp_seconds":1783514874,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c54090"} 
[2026-07-08 18:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:19:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-08 18:19: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-07-08 18:19:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579802368001,"66":13091,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9094597260029558784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579802368001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:19:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:19:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029558784,"description":"Unknown IO ID 45"} 
[2026-07-08 18:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579802368001,"power":13091,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029558784}} 
[2026-07-08 18:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":125823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453014,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:19:13] local.INFO: GPS data processed {"connection_id":125823,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:19:13] local.INFO: Acknowledgment sent {"connection_id":125823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:19:31] local.INFO: TCP Data received {"connection_id":126597,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:19:31] local.INFO: Processing buffer {"connection_id":126597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:19:31] local.INFO: IMEI packet received {"connection_id":126597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":126597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:19:36] local.INFO: TCP Data received {"connection_id":126597,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:19:36] local.INFO: Processing buffer {"connection_id":126597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:19:36] local.INFO: IMEI packet received {"connection_id":126597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":126597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:19:39] local.INFO: TCP Data received {"connection_id":126596,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c61380012d18dc800720f9f00039008729..."} 
[2026-07-08 18:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c61380012d18dc800720f9f00039008729..."} 
[2026-07-08 18:19:39] local.INFO: Processing buffer {"connection_id":126596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c61380012d18dc800720f9f00039008729..."} 
[2026-07-08 18:19:39] local.INFO: Packet analysis {"connection_id":126596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c6"} 
[2026-07-08 18:19:39] local.INFO: Extracted packet for processing {"connection_id":126596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c6"} 
[2026-07-08 18:19:39] local.INFO: GPS Element Parsed {"raw_longitude":756604032,"raw_latitude":119601648,"longitude_deg":75.6604032,"latitude_deg":11.9601648,"altitude":57,"angle":135,"satellites":41,"speed":38,"hex_longitude":"2d18dc80","hex_latitude":"0720f9f0","is_valid_coordinates":true} 
[2026-07-08 18:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579821056001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4912433269309440,"note":"Value kept but may cause issues"} 
[2026-07-08 18:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790180882498183168,"note":"Value kept but may cause issues"} 
[2026-07-08 18:19: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-07-08 18:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783514928000,"timestamp_ms":1783514928000,"timestamp_seconds":1783514928,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c61380"} 
[2026-07-08 18:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-08 18:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":19422517143804672,"note":"Value kept but may cause issues"} 
[2026-07-08 18:19:39] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-08 18:19:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 18:19:39] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503674571784192,"note":"Value kept but may cause issues"} 
[2026-07-08 18:19:39] local.WARNING: Large IO value detected {"io_id":65,"raw_value":3319838721,"note":"Value kept but may cause issues"} 
[2026-07-08 18:19:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-08 18:19:39] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":2147950898,"corrected_to":0} 
[2026-07-08 18:19:39] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2483080568,"note":"Value kept but may cause issues"} 
[2026-07-08 18:19:39] local.WARNING: Large IO value detected {"io_id":216,"raw_value":84751201304256844,"note":"Value kept but may cause issues"} 
[2026-07-08 18:19:39] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,103,83,24,241,157,16,115,159,252,45,128,15,60,40,10,66,236,192,30,62,42,228,1,240,104,227,65,33,4,113,205,36,213,204,248,43,239,54,2,17,7,67,31,206,216],"length":529,"final_offset":659,"validated_count":46,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0},{"io_id":204,"original":2147950898,"validated":0}]} 
[2026-07-08 18:19:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179509950791680000,"timestamp_seconds":4179509950791680,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 18:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579821056001,"66":14265,"103":206,"83":41984,"24":38,"16":4912433269309440,"45":1790180882498183168},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 18:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579821056001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:19:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 18:19:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4912433269309440,"km_value":4912433269309.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790180882498183168,"description":"Unknown IO ID 45"} 
[2026-07-08 18:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579821056001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1790180882498183168}} 
[2026-07-08 18:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":126596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:19:39] local.INFO: GPS data processed {"connection_id":126596,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:19:39] local.INFO: Acknowledgment sent {"connection_id":126596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:19:41] local.INFO: TCP Data received {"connection_id":125717,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c54860012d7eaa8005a5cf88000a012c2f..."} 
[2026-07-08 18:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c54860012d7eaa8005a5cf88000a012c2f..."} 
[2026-07-08 18:19:41] local.INFO: Processing buffer {"connection_id":125717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c54860012d7eaa8005a5cf88000a012c2f..."} 
[2026-07-08 18:19:41] local.INFO: Packet analysis {"connection_id":125717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c5"} 
[2026-07-08 18:19:41] local.INFO: Extracted packet for processing {"connection_id":125717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c5"} 
[2026-07-08 18:19:41] local.INFO: GPS Element Parsed {"raw_longitude":763275904,"raw_latitude":94752648,"longitude_deg":76.3275904,"latitude_deg":9.4752648,"altitude":10,"angle":300,"satellites":47,"speed":57,"hex_longitude":"2d7eaa80","hex_latitude":"05a5cf88","is_valid_coordinates":true} 
[2026-07-08 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-07-08 18:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579806464001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342991836240936960,"note":"Value kept but may cause issues"} 
[2026-07-08 18:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9136537030795010048,"note":"Value kept but may cause issues"} 
[2026-07-08 18:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783514876000,"timestamp_ms":1783514876000,"timestamp_seconds":1783514876,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c54860"} 
[2026-07-08 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-07-08 18:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-08 18:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 18:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579806464001,"66":27908,"32":206,"85":14336,"24":57,"16":342991836240936960,"45":9136537030795010048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,85,24,16,45]} 
[2026-07-08 18:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579806464001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:19:41] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-08 18:19:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342991836240936960,"km_value":342991836240936.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9136537030795010048,"description":"Unknown IO ID 45"} 
[2026-07-08 18:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579806464001,"power":27908,"unknown_32":206,"unknown_85":14336,"ignition":57,"odometer":null,"unknown_45":9136537030795010048}} 
[2026-07-08 18:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":125717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:19:41] local.INFO: GPS data processed {"connection_id":125717,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:19:41] local.INFO: Acknowledgment sent {"connection_id":125717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:19:47] local.INFO: TCP Data received {"connection_id":126597,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c59298012d7e368005d34cf0000200372c..."} 
[2026-07-08 18:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c59298012d7e368005d34cf0000200372c..."} 
[2026-07-08 18:19:48] local.INFO: Processing buffer {"connection_id":126597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c59298012d7e368005d34cf0000200372c..."} 
[2026-07-08 18:19:48] local.INFO: Packet analysis {"connection_id":126597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c5"} 
[2026-07-08 18:19:48] local.INFO: Extracted packet for processing {"connection_id":126597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c5"} 
[2026-07-08 18:19:48] local.INFO: GPS Element Parsed {"raw_longitude":763246208,"raw_latitude":97733872,"longitude_deg":76.3246208,"latitude_deg":9.7733872,"altitude":2,"angle":55,"satellites":44,"speed":0,"hex_longitude":"2d7e3680","hex_latitude":"05d34cf0","is_valid_coordinates":true} 
[2026-07-08 18:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579807744001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029521920,"note":"Value kept but may cause issues"} 
[2026-07-08 18:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783514895000,"timestamp_ms":1783514895000,"timestamp_seconds":1783514895,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c59298"} 
[2026-07-08 18:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:19:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-08 18:19:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:19:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":126597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":126597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":126597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579807744001,"66":13059,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9094597260029521920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579807744001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:19:48] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:19:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029521920,"description":"Unknown IO ID 45"} 
[2026-07-08 18:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579807744001,"power":13059,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029521920}} 
[2026-07-08 18:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":126597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453017,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:19:48] local.INFO: GPS data processed {"connection_id":126597,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:19:48] local.INFO: Acknowledgment sent {"connection_id":126597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:19:55] local.INFO: TCP Data received {"connection_id":127823,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:19:55] local.INFO: Processing buffer {"connection_id":127823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:19:55] local.INFO: IMEI packet received {"connection_id":127823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":127823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:19:56] local.INFO: TCP Data received {"connection_id":127823,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:19:56] local.INFO: Processing buffer {"connection_id":127823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:19:56] local.INFO: IMEI packet received {"connection_id":127823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":127823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:19:59] local.INFO: TCP Data received {"connection_id":125826,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:19:59] local.INFO: Processing buffer {"connection_id":125826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:19:59] local.INFO: IMEI packet received {"connection_id":125826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":125826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:20:00] local.INFO: TCP Data received {"connection_id":127823,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:20:00] local.INFO: Processing buffer {"connection_id":127823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:20:00] local.INFO: IMEI packet received {"connection_id":127823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":127823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:20:01] local.INFO: TCP Data received {"connection_id":127823,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c563b8012d7e880005a5e410000b012d2d..."} 
[2026-07-08 18:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c563b8012d7e880005a5e410000b012d2d..."} 
[2026-07-08 18:20:01] local.INFO: Processing buffer {"connection_id":127823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c563b8012d7e880005a5e410000b012d2d..."} 
[2026-07-08 18:20:01] local.INFO: Packet analysis {"connection_id":127823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c5"} 
[2026-07-08 18:20:01] local.INFO: Extracted packet for processing {"connection_id":127823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c5"} 
[2026-07-08 18:20:01] local.INFO: GPS Element Parsed {"raw_longitude":763267072,"raw_latitude":94757904,"longitude_deg":76.3267072,"latitude_deg":9.4757904,"altitude":11,"angle":301,"satellites":45,"speed":58,"hex_longitude":"2d7e8800","hex_latitude":"05a5e410","is_valid_coordinates":true} 
[2026-07-08 18:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579808256001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342992330162176000,"note":"Value kept but may cause issues"} 
[2026-07-08 18:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127248356564764672,"note":"Value kept but may cause issues"} 
[2026-07-08 18:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783514883000,"timestamp_ms":1783514883000,"timestamp_seconds":1783514883,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c563b8"} 
[2026-07-08 18:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 18:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:20:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579808256001,"66":27865,"32":206,"85":14336,"24":58,"16":342992330162176000,"45":9127248356564764672},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,85,24,16,45]} 
[2026-07-08 18:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579808256001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:20:01] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-08 18:20:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342992330162176000,"km_value":342992330162176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127248356564764672,"description":"Unknown IO ID 45"} 
[2026-07-08 18:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579808256001,"power":27865,"unknown_32":206,"unknown_85":14336,"ignition":58,"odometer":null,"unknown_45":9127248356564764672}} 
[2026-07-08 18:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":127823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:20:01] local.INFO: GPS data processed {"connection_id":127823,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:20:01] local.INFO: Acknowledgment sent {"connection_id":127823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:20:03] local.INFO: TCP Data received {"connection_id":125826,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:20:03] local.INFO: Processing buffer {"connection_id":125826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:20:03] local.INFO: IMEI packet received {"connection_id":125826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":125826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:20:04] local.INFO: TCP Data received {"connection_id":125826,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:20:04] local.INFO: Processing buffer {"connection_id":125826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:20:04] local.INFO: IMEI packet received {"connection_id":125826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":125826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:20:04] local.INFO: TCP Data received {"connection_id":125826,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:20:04] local.INFO: Processing buffer {"connection_id":125826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:20:04] local.INFO: IMEI packet received {"connection_id":125826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":125826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:20:05] local.INFO: TCP Data received {"connection_id":125826,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c62320012d18e6800720ef480038009328..."} 
[2026-07-08 18:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c62320012d18e6800720ef480038009328..."} 
[2026-07-08 18:20:05] local.INFO: Processing buffer {"connection_id":125826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c62320012d18e6800720ef480038009328..."} 
[2026-07-08 18:20:05] local.INFO: Packet analysis {"connection_id":125826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c6"} 
[2026-07-08 18:20:05] local.INFO: Extracted packet for processing {"connection_id":125826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c6"} 
[2026-07-08 18:20:05] local.INFO: GPS Element Parsed {"raw_longitude":756606592,"raw_latitude":119598920,"longitude_deg":75.6606592,"latitude_deg":11.959892,"altitude":56,"angle":147,"satellites":40,"speed":35,"hex_longitude":"2d18e680","hex_latitude":"0720ef48","is_valid_coordinates":true} 
[2026-07-08 18:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579821568001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4912613657935872,"note":"Value kept but may cause issues"} 
[2026-07-08 18:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791447519892992000,"note":"Value kept but may cause issues"} 
[2026-07-08 18:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783514932000,"timestamp_ms":1783514932000,"timestamp_seconds":1783514932,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c62320"} 
[2026-07-08 18:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 18:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579821568001,"66":14341,"103":206,"83":41984,"24":35,"16":4912613657935872,"45":1791447519892992000},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 18:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579821568001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:20:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 18:20:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4912613657935872,"km_value":4912613657935.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791447519892992000,"description":"Unknown IO ID 45"} 
[2026-07-08 18:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579821568001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1791447519892992000}} 
[2026-07-08 18:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":125826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:20:05] local.INFO: GPS data processed {"connection_id":125826,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:20:05] local.INFO: Acknowledgment sent {"connection_id":125826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:20:07] local.INFO: TCP Data received {"connection_id":125826,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c64260012d18f7c00720d768003200842b..."} 
[2026-07-08 18:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c64260012d18f7c00720d768003200842b..."} 
[2026-07-08 18:20:07] local.INFO: Processing buffer {"connection_id":125826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c64260012d18f7c00720d768003200842b..."} 
[2026-07-08 18:20:07] local.INFO: Packet analysis {"connection_id":125826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c6"} 
[2026-07-08 18:20:07] local.INFO: Extracted packet for processing {"connection_id":125826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c6"} 
[2026-07-08 18:20:07] local.INFO: GPS Element Parsed {"raw_longitude":756611008,"raw_latitude":119592808,"longitude_deg":75.6611008,"latitude_deg":11.9592808,"altitude":50,"angle":132,"satellites":43,"speed":38,"hex_longitude":"2d18f7c0","hex_latitude":"0720d768","is_valid_coordinates":true} 
[2026-07-08 18:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579822592001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4912978730156032,"note":"Value kept but may cause issues"} 
[2026-07-08 18:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794262269659400192,"note":"Value kept but may cause issues"} 
[2026-07-08 18:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783514940000,"timestamp_ms":1783514940000,"timestamp_seconds":1783514940,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c64260"} 
[2026-07-08 18:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-08 18:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":84751234590253362,"note":"Value kept but may cause issues"} 
[2026-07-08 18:20:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-08 18:20:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 18:20:07] local.WARNING: Large IO value detected {"io_id":115,"raw_value":2449473536,"note":"Value kept but may cause issues"} 
[2026-07-08 18:20:07] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503674575519744,"note":"Value kept but may cause issues"} 
[2026-07-08 18:20:07] local.WARNING: Large IO value detected {"io_id":65,"raw_value":3320606721,"note":"Value kept but may cause issues"} 
[2026-07-08 18:20:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-08 18:20:07] local.WARNING: Large IO value detected {"io_id":228,"raw_value":2684431640,"note":"Value kept but may cause issues"} 
[2026-07-08 18:20:07] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3221692710,"note":"Value kept but may cause issues"} 
[2026-07-08 18:20:07] local.WARNING: Large IO value detected {"io_id":248,"raw_value":18296484092977408,"note":"Value kept but may cause issues"} 
[2026-07-08 18:20:07] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,103,83,24,241,157,16,115,159,19,45,128,249,57,41,10,66,11,255,58,40,252,1,240,60,227,65,33,4,113,205,39,228,210,144,239,54,2,17,7,64,36,206,248],"length":529,"final_offset":659,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-08 18:20:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035387066134233088,"timestamp_seconds":4035387066134233.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 18:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579822592001,"66":14211,"103":206,"83":41984,"24":38,"16":4912978730156032,"45":1794262269659400192},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 18:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579822592001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:20:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 18:20:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4912978730156032,"km_value":4912978730156.032,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794262269659400192,"description":"Unknown IO ID 45"} 
[2026-07-08 18:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579822592001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1794262269659400192}} 
[2026-07-08 18:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":125826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:20:07] local.INFO: GPS data processed {"connection_id":125826,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:20:07] local.INFO: Acknowledgment sent {"connection_id":125826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:20:31] local.INFO: TCP Data received {"connection_id":127824,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:20:31] local.INFO: Processing buffer {"connection_id":127824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:20:31] local.INFO: IMEI packet received {"connection_id":127824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":127824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:20:33] local.INFO: TCP Data received {"connection_id":127823,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c6c730012d7da10005a719b0000f01582d..."} 
[2026-07-08 18:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c6c730012d7da10005a719b0000f01582d..."} 
[2026-07-08 18:20:33] local.INFO: Processing buffer {"connection_id":127823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c6c730012d7da10005a719b0000f01582d..."} 
[2026-07-08 18:20:33] local.INFO: Packet analysis {"connection_id":127823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c6"} 
[2026-07-08 18:20:33] local.INFO: Extracted packet for processing {"connection_id":127823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c6"} 
[2026-07-08 18:20:33] local.INFO: GPS Element Parsed {"raw_longitude":763207936,"raw_latitude":94837168,"longitude_deg":76.3207936,"latitude_deg":9.4837168,"altitude":15,"angle":344,"satellites":45,"speed":49,"hex_longitude":"2d7da100","hex_latitude":"05a719b0","is_valid_coordinates":true} 
[2026-07-08 18:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579831296001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342997385338683392,"note":"Value kept but may cause issues"} 
[2026-07-08 18:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9055472237522720768,"note":"Value kept but may cause issues"} 
[2026-07-08 18:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783514974000,"timestamp_ms":1783514974000,"timestamp_seconds":1783514974,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c6c730"} 
[2026-07-08 18:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 18:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:20:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579831296001,"66":27843,"63":206,"85":14336,"24":49,"16":342997385338683392,"45":9055472237522720768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-08 18:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579831296001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:20:33] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-08 18:20:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342997385338683392,"km_value":342997385338683.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9055472237522720768,"description":"Unknown IO ID 45"} 
[2026-07-08 18:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579831296001,"power":27843,"unknown_63":206,"unknown_85":14336,"ignition":49,"odometer":null,"unknown_45":9055472237522720768}} 
[2026-07-08 18:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":127823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:20:33] local.INFO: GPS data processed {"connection_id":127823,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:20:33] local.INFO: Acknowledgment sent {"connection_id":127823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:20:36] local.INFO: TCP Data received {"connection_id":127824,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:20:36] local.INFO: Processing buffer {"connection_id":127824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:20:36] local.INFO: IMEI packet received {"connection_id":127824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":127824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:20:37] local.INFO: TCP Data received {"connection_id":127824,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c5e4a0012d7e368005d34cf0000200372a..."} 
[2026-07-08 18:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c5e4a0012d7e368005d34cf0000200372a..."} 
[2026-07-08 18:20:37] local.INFO: Processing buffer {"connection_id":127824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c5e4a0012d7e368005d34cf0000200372a..."} 
[2026-07-08 18:20:37] local.INFO: Packet analysis {"connection_id":127824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c5"} 
[2026-07-08 18:20:37] local.INFO: Extracted packet for processing {"connection_id":127824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c5"} 
[2026-07-08 18:20:37] local.INFO: GPS Element Parsed {"raw_longitude":763246208,"raw_latitude":97733872,"longitude_deg":76.3246208,"latitude_deg":9.7733872,"altitude":2,"angle":55,"satellites":42,"speed":0,"hex_longitude":"2d7e3680","hex_latitude":"05d34cf0","is_valid_coordinates":true} 
[2026-07-08 18:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579813120001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029521920,"note":"Value kept but may cause issues"} 
[2026-07-08 18:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783514916000,"timestamp_ms":1783514916000,"timestamp_seconds":1783514916,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c5e4a0"} 
[2026-07-08 18:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 18:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303156805291341,"note":"Value kept but may cause issues"} 
[2026-07-08 18:20:37] local.WARNING: Large IO value detected {"io_id":109,"raw_value":58077557095399430,"note":"Value kept but may cause issues"} 
[2026-07-08 18:20:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 18:20:37] local.WARNING: Large IO value detected {"io_id":29,"raw_value":3288334336,"note":"Value kept but may cause issues"} 
[2026-07-08 18:20:37] local.WARNING: Large IO value detected {"io_id":65,"raw_value":3293470721,"note":"Value kept but may cause issues"} 
[2026-07-08 18:20:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-08 18:20:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545112576,"note":"Value kept but may cause issues"} 
[2026-07-08 18:20:37] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,109,85,24,241,157,16,29,159,64,45,128,76,2,44,10,66,238,77,43,156,1,240,216,227,65,211,4,113,205,6,74,54,32,42,239,49,5,3],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-07-08 18:20:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144175850193944576,"timestamp_seconds":144175850193944.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 18:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579813120001,"66":13037,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9094597260029521920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579813120001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:20:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:20:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029521920,"description":"Unknown IO ID 45"} 
[2026-07-08 18:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579813120001,"power":13037,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029521920}} 
[2026-07-08 18:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":127824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453022,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:20:37] local.INFO: GPS data processed {"connection_id":127824,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:20:37] local.INFO: Acknowledgment sent {"connection_id":127824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:20:38] local.INFO: TCP Data received {"connection_id":125826,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c655e8012d1907000720cd20002e00772c..."} 
[2026-07-08 18:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c655e8012d1907000720cd20002e00772c..."} 
[2026-07-08 18:20:38] local.INFO: Processing buffer {"connection_id":125826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c655e8012d1907000720cd20002e00772c..."} 
[2026-07-08 18:20:38] local.INFO: Packet analysis {"connection_id":125826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c6"} 
[2026-07-08 18:20:38] local.INFO: Extracted packet for processing {"connection_id":125826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c6"} 
[2026-07-08 18:20:38] local.INFO: GPS Element Parsed {"raw_longitude":756614912,"raw_latitude":119590176,"longitude_deg":75.6614912,"latitude_deg":11.9590176,"altitude":46,"angle":119,"satellites":44,"speed":36,"hex_longitude":"2d190700","hex_latitude":"0720cd20","is_valid_coordinates":true} 
[2026-07-08 18:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579824640001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4913202068455424,"note":"Value kept but may cause issues"} 
[2026-07-08 18:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799117713006094336,"note":"Value kept but may cause issues"} 
[2026-07-08 18:20: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-07-08 18:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783514945000,"timestamp_ms":1783514945000,"timestamp_seconds":1783514945,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c655e8"} 
[2026-07-08 18:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 18:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579824640001,"66":14265,"103":206,"83":41984,"24":36,"16":4913202068455424,"45":1799117713006094336},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 18:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579824640001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:20:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 18:20:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4913202068455424,"km_value":4913202068455.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799117713006094336,"description":"Unknown IO ID 45"} 
[2026-07-08 18:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579824640001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1799117713006094336}} 
[2026-07-08 18:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":125826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:20:38] local.INFO: GPS data processed {"connection_id":125826,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:20:38] local.INFO: Acknowledgment sent {"connection_id":125826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:20:55] local.INFO: TCP Data received {"connection_id":127825,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:20:55] local.INFO: Processing buffer {"connection_id":127825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:20:55] local.INFO: IMEI packet received {"connection_id":127825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":127825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:20:56] local.INFO: TCP Data received {"connection_id":127825,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:20:56] local.INFO: Processing buffer {"connection_id":127825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:20:56] local.INFO: IMEI packet received {"connection_id":127825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":127825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:21:00] local.INFO: TCP Data received {"connection_id":127825,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:21:00] local.INFO: Processing buffer {"connection_id":127825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:21:00] local.INFO: IMEI packet received {"connection_id":127825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":127825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:21:00] local.INFO: TCP Data received {"connection_id":127826,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:21:00] local.INFO: Processing buffer {"connection_id":127826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:21:00] local.INFO: IMEI packet received {"connection_id":127826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":127826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:21:01] local.INFO: TCP Data received {"connection_id":127825,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c6e670012d7d96c005a73fb8000f015a2d..."} 
[2026-07-08 18:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c6e670012d7d96c005a73fb8000f015a2d..."} 
[2026-07-08 18:21:01] local.INFO: Processing buffer {"connection_id":127825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c6e670012d7d96c005a73fb8000f015a2d..."} 
[2026-07-08 18:21:01] local.INFO: Packet analysis {"connection_id":127825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c6"} 
[2026-07-08 18:21:01] local.INFO: Extracted packet for processing {"connection_id":127825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c6"} 
[2026-07-08 18:21:01] local.INFO: GPS Element Parsed {"raw_longitude":763205312,"raw_latitude":94846904,"longitude_deg":76.3205312,"latitude_deg":9.4846904,"altitude":15,"angle":346,"satellites":45,"speed":52,"hex_longitude":"2d7d96c0","hex_latitude":"05a73fb8","is_valid_coordinates":true} 
[2026-07-08 18:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579833344001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342997870669987840,"note":"Value kept but may cause issues"} 
[2026-07-08 18:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9052516750269722624,"note":"Value kept but may cause issues"} 
[2026-07-08 18:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783514982000,"timestamp_ms":1783514982000,"timestamp_seconds":1783514982,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c6e670"} 
[2026-07-08 18:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 18:21:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:21:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579833344001,"66":27843,"63":206,"85":14336,"24":52,"16":342997870669987840,"45":9052516750269722624},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-08 18:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579833344001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:21:01] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-08 18:21:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342997870669987840,"km_value":342997870669987.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9052516750269722624,"description":"Unknown IO ID 45"} 
[2026-07-08 18:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579833344001,"power":27843,"unknown_63":206,"unknown_85":14336,"ignition":52,"odometer":null,"unknown_45":9052516750269722624}} 
[2026-07-08 18:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":127825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:21:01] local.INFO: GPS data processed {"connection_id":127825,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:21:01] local.INFO: Acknowledgment sent {"connection_id":127825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:21:04] local.INFO: TCP Data received {"connection_id":127826,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:21:04] local.INFO: Processing buffer {"connection_id":127826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:21:04] local.INFO: IMEI packet received {"connection_id":127826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":127826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:21:08] local.INFO: TCP Data received {"connection_id":127824,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c636a8012d7e368005d34cf0000200372c..."} 
[2026-07-08 18:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c636a8012d7e368005d34cf0000200372c..."} 
[2026-07-08 18:21:08] local.INFO: Processing buffer {"connection_id":127824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c636a8012d7e368005d34cf0000200372c..."} 
[2026-07-08 18:21:08] local.INFO: Packet analysis {"connection_id":127824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c6"} 
[2026-07-08 18:21:08] local.INFO: Extracted packet for processing {"connection_id":127824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c6"} 
[2026-07-08 18:21:08] local.INFO: GPS Element Parsed {"raw_longitude":763246208,"raw_latitude":97733872,"longitude_deg":76.3246208,"latitude_deg":9.7733872,"altitude":2,"angle":55,"satellites":44,"speed":0,"hex_longitude":"2d7e3680","hex_latitude":"05d34cf0","is_valid_coordinates":true} 
[2026-07-08 18:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579818496001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029521920,"note":"Value kept but may cause issues"} 
[2026-07-08 18:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783514937000,"timestamp_ms":1783514937000,"timestamp_seconds":1783514937,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c636a8"} 
[2026-07-08 18:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-08 18:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":127824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":127824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":127824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579818496001,"66":13091,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9094597260029521920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579818496001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:21:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:21:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029521920,"description":"Unknown IO ID 45"} 
[2026-07-08 18:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579818496001,"power":13091,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029521920}} 
[2026-07-08 18:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":127824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453025,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:21:08] local.INFO: GPS data processed {"connection_id":127824,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:21:08] local.INFO: Acknowledgment sent {"connection_id":127824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:21:10] local.INFO: TCP Data received {"connection_id":127826,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:21:10] local.INFO: Processing buffer {"connection_id":127826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:21:10] local.INFO: IMEI packet received {"connection_id":127826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":127826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:21:11] local.INFO: TCP Data received {"connection_id":127826,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c73c60012d19bc000720a5f8002900af29..."} 
[2026-07-08 18:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c73c60012d19bc000720a5f8002900af29..."} 
[2026-07-08 18:21:11] local.INFO: Processing buffer {"connection_id":127826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c73c60012d19bc000720a5f8002900af29..."} 
[2026-07-08 18:21:11] local.INFO: Packet analysis {"connection_id":127826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c7"} 
[2026-07-08 18:21:11] local.INFO: Extracted packet for processing {"connection_id":127826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c7"} 
[2026-07-08 18:21:11] local.INFO: GPS Element Parsed {"raw_longitude":756661248,"raw_latitude":119580152,"longitude_deg":75.6661248,"latitude_deg":11.9580152,"altitude":41,"angle":175,"satellites":41,"speed":20,"hex_longitude":"2d19bc00","hex_latitude":"0720a5f8","is_valid_coordinates":true} 
[2026-07-08 18:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579840768001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4915564300468224,"note":"Value kept but may cause issues"} 
[2026-07-08 18:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854357177182449664,"note":"Value kept but may cause issues"} 
[2026-07-08 18:21: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-07-08 18:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783515004000,"timestamp_ms":1783515004000,"timestamp_seconds":1783515004,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c73c60"} 
[2026-07-08 18:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-08 18:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":127826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":127826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":127826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579840768001,"66":14298,"103":206,"83":41984,"24":20,"16":4915564300468224,"45":1854357177182449664},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 18:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579840768001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:21:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 18:21:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4915564300468224,"km_value":4915564300468.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854357177182449664,"description":"Unknown IO ID 45"} 
[2026-07-08 18:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579840768001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1854357177182449664}} 
[2026-07-08 18:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":127826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:21:11] local.INFO: GPS data processed {"connection_id":127826,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:21:11] local.INFO: Acknowledgment sent {"connection_id":127826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:21:31] local.INFO: TCP Data received {"connection_id":125827,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125827,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:21:31] local.INFO: Processing buffer {"connection_id":125827,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:21:31] local.INFO: IMEI packet received {"connection_id":125827,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":125827,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:21:32] local.INFO: TCP Data received {"connection_id":127825,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c701c8012d7d8f0005a76220000f015c2e..."} 
[2026-07-08 18:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c701c8012d7d8f0005a76220000f015c2e..."} 
[2026-07-08 18:21:32] local.INFO: Processing buffer {"connection_id":127825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c701c8012d7d8f0005a76220000f015c2e..."} 
[2026-07-08 18:21:32] local.INFO: Packet analysis {"connection_id":127825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c7"} 
[2026-07-08 18:21:32] local.INFO: Extracted packet for processing {"connection_id":127825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c7"} 
[2026-07-08 18:21:32] local.INFO: GPS Element Parsed {"raw_longitude":763203328,"raw_latitude":94855712,"longitude_deg":76.3203328,"latitude_deg":9.4855712,"altitude":15,"angle":348,"satellites":46,"speed":51,"hex_longitude":"2d7d8f00","hex_latitude":"05a76220","is_valid_coordinates":true} 
[2026-07-08 18:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579835392001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":342998308756652032,"note":"Value kept but may cause issues"} 
[2026-07-08 18:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9049631631760930816,"note":"Value kept but may cause issues"} 
[2026-07-08 18:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783514989000,"timestamp_ms":1783514989000,"timestamp_seconds":1783514989,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c701c8"} 
[2026-07-08 18:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 18:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:21:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579835392001,"66":27919,"63":206,"85":14336,"24":51,"16":342998308756652032,"45":9049631631760930816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-08 18:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579835392001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:21:32] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-08 18:21:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":342998308756652032,"km_value":342998308756652.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9049631631760930816,"description":"Unknown IO ID 45"} 
[2026-07-08 18:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579835392001,"power":27919,"unknown_63":206,"unknown_85":14336,"ignition":51,"odometer":null,"unknown_45":9049631631760930816}} 
[2026-07-08 18:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":127825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:21:32] local.INFO: GPS data processed {"connection_id":127825,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:21:32] local.INFO: Acknowledgment sent {"connection_id":127825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:21:36] local.INFO: TCP Data received {"connection_id":125827,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125827,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:21:36] local.INFO: Processing buffer {"connection_id":125827,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:21:36] local.INFO: IMEI packet received {"connection_id":125827,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":125827,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:21:36] local.INFO: TCP Data received {"connection_id":125827,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c688b0012d7e368005d34cf0000200372b..."} 
[2026-07-08 18:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c688b0012d7e368005d34cf0000200372b..."} 
[2026-07-08 18:21:36] local.INFO: Processing buffer {"connection_id":125827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c688b0012d7e368005d34cf0000200372b..."} 
[2026-07-08 18:21:36] local.INFO: Packet analysis {"connection_id":125827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c6"} 
[2026-07-08 18:21:36] local.INFO: Extracted packet for processing {"connection_id":125827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c6"} 
[2026-07-08 18:21:36] local.INFO: GPS Element Parsed {"raw_longitude":763246208,"raw_latitude":97733872,"longitude_deg":76.3246208,"latitude_deg":9.7733872,"altitude":2,"angle":55,"satellites":43,"speed":0,"hex_longitude":"2d7e3680","hex_latitude":"05d34cf0","is_valid_coordinates":true} 
[2026-07-08 18:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579823872001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029521920,"note":"Value kept but may cause issues"} 
[2026-07-08 18:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783514958000,"timestamp_ms":1783514958000,"timestamp_seconds":1783514958,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c688b0"} 
[2026-07-08 18:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-08 18:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579823872001,"66":13059,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9094597260029521920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579823872001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:21:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:21:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029521920,"description":"Unknown IO ID 45"} 
[2026-07-08 18:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579823872001,"power":13059,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029521920}} 
[2026-07-08 18:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":125827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453028,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:21:36] local.INFO: GPS data processed {"connection_id":125827,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:21:36] local.INFO: Acknowledgment sent {"connection_id":125827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:21:42] local.INFO: TCP Data received {"connection_id":127826,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c74048012d19bb400720a418002900c32a..."} 
[2026-07-08 18:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c74048012d19bb400720a418002900c32a..."} 
[2026-07-08 18:21:42] local.INFO: Processing buffer {"connection_id":127826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c74048012d19bb400720a418002900c32a..."} 
[2026-07-08 18:21:42] local.INFO: Packet analysis {"connection_id":127826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c7"} 
[2026-07-08 18:21:42] local.INFO: Extracted packet for processing {"connection_id":127826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c7"} 
[2026-07-08 18:21:42] local.INFO: GPS Element Parsed {"raw_longitude":756661056,"raw_latitude":119579672,"longitude_deg":75.6661056,"latitude_deg":11.9579672,"altitude":41,"angle":195,"satellites":42,"speed":20,"hex_longitude":"2d19bb40","hex_latitude":"0720a418","is_valid_coordinates":true} 
[2026-07-08 18:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579841024001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4915590070272000,"note":"Value kept but may cause issues"} 
[2026-07-08 18:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854357177182320640,"note":"Value kept but may cause issues"} 
[2026-07-08 18:21: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-07-08 18:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783515005000,"timestamp_ms":1783515005000,"timestamp_seconds":1783515005,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c74048"} 
[2026-07-08 18:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-08 18:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":127826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":127826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":127826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579841024001,"66":14254,"103":206,"83":41984,"24":20,"16":4915590070272000,"45":1854357177182320640},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 18:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579841024001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:21:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 18:21:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4915590070272000,"km_value":4915590070272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854357177182320640,"description":"Unknown IO ID 45"} 
[2026-07-08 18:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579841024001,"power":14254,"unknown_103":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1854357177182320640}} 
[2026-07-08 18:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":127826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:21:42] local.INFO: GPS data processed {"connection_id":127826,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:21:42] local.INFO: Acknowledgment sent {"connection_id":127826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:21:55] local.INFO: TCP Data received {"connection_id":127827,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:21:55] local.INFO: Processing buffer {"connection_id":127827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:21:55] local.INFO: IMEI packet received {"connection_id":127827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":127827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:21:56] local.INFO: TCP Data received {"connection_id":127827,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:21:56] local.INFO: Processing buffer {"connection_id":127827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:21:56] local.INFO: IMEI packet received {"connection_id":127827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":127827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:22:00] local.INFO: TCP Data received {"connection_id":125719,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:22:00] local.INFO: Processing buffer {"connection_id":125719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:22:00] local.INFO: IMEI packet received {"connection_id":125719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":125719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:22:00] local.INFO: TCP Data received {"connection_id":125719,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:22:00] local.INFO: Processing buffer {"connection_id":125719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:22:00] local.INFO: IMEI packet received {"connection_id":125719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":125719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:22:01] local.INFO: TCP Data received {"connection_id":127827,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:22:01] local.INFO: Processing buffer {"connection_id":127827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:22:01] local.INFO: IMEI packet received {"connection_id":127827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":127827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:22:02] local.INFO: TCP Data received {"connection_id":127827,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c81720012d7d3ac005a8e2d0000f015c2c..."} 
[2026-07-08 18:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c81720012d7d3ac005a8e2d0000f015c2c..."} 
[2026-07-08 18:22:02] local.INFO: Processing buffer {"connection_id":127827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c81720012d7d3ac005a8e2d0000f015c2c..."} 
[2026-07-08 18:22:02] local.INFO: Packet analysis {"connection_id":127827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c8"} 
[2026-07-08 18:22:02] local.INFO: Extracted packet for processing {"connection_id":127827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c8"} 
[2026-07-08 18:22:02] local.INFO: GPS Element Parsed {"raw_longitude":763181760,"raw_latitude":94954192,"longitude_deg":76.318176,"latitude_deg":9.4954192,"altitude":15,"angle":348,"satellites":44,"speed":59,"hex_longitude":"2d7d3ac0","hex_latitude":"05a8e2d0","is_valid_coordinates":true} 
[2026-07-08 18:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579853824001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343003196429434880,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025635890021582848,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783515060000,"timestamp_ms":1783515060000,"timestamp_seconds":1783515060,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c81720"} 
[2026-07-08 18:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:22: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-07-08 18: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 18:22:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:22:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579853824001,"66":27865,"18":206,"85":14336,"24":59,"16":343003196429434880,"45":9025635890021582848},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-07-08 18:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579853824001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:22:02] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-08 18:22:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343003196429434880,"km_value":343003196429434.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025635890021582848,"description":"Unknown IO ID 45"} 
[2026-07-08 18:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579853824001,"power":27865,"unknown_18":206,"unknown_85":14336,"ignition":59,"odometer":null,"unknown_45":9025635890021582848}} 
[2026-07-08 18:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":127827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:22:02] local.INFO: GPS data processed {"connection_id":127827,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:22:02] local.INFO: Acknowledgment sent {"connection_id":127827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:22:03] local.INFO: TCP Data received {"connection_id":125719,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:22:03] local.INFO: Processing buffer {"connection_id":125719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:22:03] local.INFO: IMEI packet received {"connection_id":125719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":125719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:22:04] local.INFO: TCP Data received {"connection_id":125719,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c84dd0012d19cf00072018f00022008a27..."} 
[2026-07-08 18:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c84dd0012d19cf00072018f00022008a27..."} 
[2026-07-08 18:22:04] local.INFO: Processing buffer {"connection_id":125719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c84dd0012d19cf00072018f00022008a27..."} 
[2026-07-08 18:22:04] local.INFO: Packet analysis {"connection_id":125719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c8"} 
[2026-07-08 18:22:04] local.INFO: Extracted packet for processing {"connection_id":125719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c8"} 
[2026-07-08 18:22:04] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119544048,"longitude_deg":75.6666112,"latitude_deg":11.9544048,"altitude":34,"angle":138,"satellites":39,"speed":6,"hex_longitude":"2d19cf00","hex_latitude":"072018f0","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579858432001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4917462676013056,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753921024,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783515074000,"timestamp_ms":1783515074000,"timestamp_seconds":1783515074,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c84dd0"} 
[2026-07-08 18:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-08 18:22: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-07-08 18: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-07-08 18:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579858432001,"66":14374,"103":206,"83":41984,"24":6,"16":4917462676013056,"45":1859423726753921024},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 18:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579858432001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:22:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 18:22:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4917462676013056,"km_value":4917462676013.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753921024,"description":"Unknown IO ID 45"} 
[2026-07-08 18:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579858432001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1859423726753921024}} 
[2026-07-08 18:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":125719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:22:04] local.INFO: GPS data processed {"connection_id":125719,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:22:04] local.INFO: Acknowledgment sent {"connection_id":125719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:22:05] local.INFO: TCP Data received {"connection_id":125719,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c855a0012d19cf40072018780022009a27..."} 
[2026-07-08 18:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c855a0012d19cf40072018780022009a27..."} 
[2026-07-08 18:22:05] local.INFO: Processing buffer {"connection_id":125719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c855a0012d19cf40072018780022009a27..."} 
[2026-07-08 18:22:05] local.INFO: Packet analysis {"connection_id":125719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c8"} 
[2026-07-08 18:22:05] local.INFO: Extracted packet for processing {"connection_id":125719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c8"} 
[2026-07-08 18:22:05] local.INFO: GPS Element Parsed {"raw_longitude":756666176,"raw_latitude":119543928,"longitude_deg":75.6666176,"latitude_deg":11.9543928,"altitude":34,"angle":154,"satellites":39,"speed":1,"hex_longitude":"2d19cf40","hex_latitude":"07201878","is_valid_coordinates":true} 
[2026-07-08 18:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579858944001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4917466970980352,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201730580480,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783515076000,"timestamp_ms":1783515076000,"timestamp_seconds":1783515076,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c855a0"} 
[2026-07-08 18:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-08 18:22: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-07-08 18:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579858944001,"66":14407,"103":206,"83":41984,"24":1,"16":4917466970980352,"45":1859705201730580480},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 18:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579858944001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:22:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 18:22:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4917466970980352,"km_value":4917466970980.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201730580480,"description":"Unknown IO ID 45"} 
[2026-07-08 18:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579858944001,"power":14407,"unknown_103":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1859705201730580480}} 
[2026-07-08 18:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":125719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:22:05] local.INFO: GPS data processed {"connection_id":125719,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:22:05] local.INFO: Acknowledgment sent {"connection_id":125719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:22:11] local.INFO: TCP Data received {"connection_id":125827,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c6dab8012d7e368005d34cf0000200372e..."} 
[2026-07-08 18:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c6dab8012d7e368005d34cf0000200372e..."} 
[2026-07-08 18:22:11] local.INFO: Processing buffer {"connection_id":125827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c6dab8012d7e368005d34cf0000200372e..."} 
[2026-07-08 18:22:11] local.INFO: Packet analysis {"connection_id":125827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c6"} 
[2026-07-08 18:22:11] local.INFO: Extracted packet for processing {"connection_id":125827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c6"} 
[2026-07-08 18:22:11] local.INFO: GPS Element Parsed {"raw_longitude":763246208,"raw_latitude":97733872,"longitude_deg":76.3246208,"latitude_deg":9.7733872,"altitude":2,"angle":55,"satellites":46,"speed":0,"hex_longitude":"2d7e3680","hex_latitude":"05d34cf0","is_valid_coordinates":true} 
[2026-07-08 18:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579829248001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029521920,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783514979000,"timestamp_ms":1783514979000,"timestamp_seconds":1783514979,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c6dab8"} 
[2026-07-08 18:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 18:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303153701506381,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:11] local.WARNING: Large IO value detected {"io_id":109,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:11] local.WARNING: Large IO value detected {"io_id":29,"raw_value":3506438144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:11] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2147865421,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:11] local.WARNING: Large IO value detected {"io_id":65,"raw_value":3309342721,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-08 18:22:11] local.WARNING: Large IO value detected {"io_id":238,"raw_value":2281778558,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:11] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3623931213,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545165824,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:11] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,109,85,24,241,157,16,29,159,54,45,128,76,2,44,10,66,228,42,146,1,240,3,227,65,211,4,113,205,238,43,239,48,5],"length":486,"final_offset":616,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-07-08 18:22:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144175845898977280,"timestamp_seconds":144175845898977.28,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 18:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579829248001,"66":13189,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9094597260029521920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579829248001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:22:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:22:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029521920,"description":"Unknown IO ID 45"} 
[2026-07-08 18:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579829248001,"power":13189,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029521920}} 
[2026-07-08 18:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":125827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453033,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:22:11] local.INFO: GPS data processed {"connection_id":125827,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:22:11] local.INFO: Acknowledgment sent {"connection_id":125827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:22:26] local.INFO: TCP Data received {"connection_id":127828,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127828,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:22:26] local.INFO: Processing buffer {"connection_id":127828,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:22:26] local.INFO: IMEI packet received {"connection_id":127828,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 18:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":127828,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:22:33] local.INFO: TCP Data received {"connection_id":127827,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c82e90012d7d338005a904f0000f015c2c..."} 
[2026-07-08 18:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c82e90012d7d338005a904f0000f015c2c..."} 
[2026-07-08 18:22:33] local.INFO: Processing buffer {"connection_id":127827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c82e90012d7d338005a904f0000f015c2c..."} 
[2026-07-08 18:22:33] local.INFO: Packet analysis {"connection_id":127827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c8"} 
[2026-07-08 18:22:33] local.INFO: Extracted packet for processing {"connection_id":127827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c8"} 
[2026-07-08 18:22:33] local.INFO: GPS Element Parsed {"raw_longitude":763179904,"raw_latitude":94962928,"longitude_deg":76.3179904,"latitude_deg":9.4962928,"altitude":15,"angle":348,"satellites":44,"speed":59,"hex_longitude":"2d7d3380","hex_latitude":"05a904f0","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579855360001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343003625926164480,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023735933931016192,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783515066000,"timestamp_ms":1783515066000,"timestamp_seconds":1783515066,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c82e90"} 
[2026-07-08 18:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 18:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579855360001,"66":27930,"18":206,"85":14336,"24":59,"16":343003625926164480,"45":9023735933931016192},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-07-08 18:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579855360001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:22:33] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-08 18:22:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343003625926164480,"km_value":343003625926164.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023735933931016192,"description":"Unknown IO ID 45"} 
[2026-07-08 18:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579855360001,"power":27930,"unknown_18":206,"unknown_85":14336,"ignition":59,"odometer":null,"unknown_45":9023735933931016192}} 
[2026-07-08 18:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":127827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:22:33] local.INFO: GPS data processed {"connection_id":127827,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:22:33] local.INFO: Acknowledgment sent {"connection_id":127827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:22:36] local.INFO: TCP Data received {"connection_id":126598,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126598,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:22:36] local.INFO: Processing buffer {"connection_id":126598,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:22:36] local.INFO: IMEI packet received {"connection_id":126598,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":126598,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:22:36] local.INFO: TCP Data received {"connection_id":125719,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c8e628012d19cd80071ff920002700db2d..."} 
[2026-07-08 18:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c8e628012d19cd80071ff920002700db2d..."} 
[2026-07-08 18:22:36] local.INFO: Processing buffer {"connection_id":125719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c8e628012d19cd80071ff920002700db2d..."} 
[2026-07-08 18:22:36] local.INFO: Packet analysis {"connection_id":125719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c8"} 
[2026-07-08 18:22:36] local.INFO: Extracted packet for processing {"connection_id":125719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c8"} 
[2026-07-08 18:22:36] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119535904,"longitude_deg":75.6665728,"latitude_deg":11.9535904,"altitude":39,"angle":219,"satellites":45,"speed":17,"hex_longitude":"2d19cd80","hex_latitude":"071ff920","is_valid_coordinates":true} 
[2026-07-08 18:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579867648001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4918072561369088,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861605157821622272,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783515113000,"timestamp_ms":1783515113000,"timestamp_seconds":1783515113,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c8e628"} 
[2026-07-08 18:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-08 18:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":9852123156059648,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:36] local.WARNING: Large IO value detected {"io_id":120,"raw_value":2936012800,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:36] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503674665959424,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:36] local.WARNING: Large IO value detected {"io_id":65,"raw_value":3366430721,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-07-08 18:22:36] local.WARNING: Large IO value detected {"io_id":163,"raw_value":3221302553,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:36] local.WARNING: Large IO value detected {"io_id":80,"raw_value":84752381346521104,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:36] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,101,83,24,241,157,16,120,159,183,45,6,36,10,66,175,64,8,35,171,1,240,27,227,65,32,4,113,205,7,163,224,40,239,56,2,17,12,206,80],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-07-08 18:22:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2738449350971686912,"timestamp_seconds":2738449350971687.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 18:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579867648001,"66":14374,"101":206,"83":41984,"24":17,"16":4918072561369088,"45":1861605157821622272},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-08 18:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579867648001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:22:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-08 18:22:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4918072561369088,"km_value":4918072561369.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861605157821622272,"description":"Unknown IO ID 45"} 
[2026-07-08 18:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579867648001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1861605157821622272}} 
[2026-07-08 18:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":125719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:22:36] local.INFO: GPS data processed {"connection_id":125719,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:22:36] local.INFO: Acknowledgment sent {"connection_id":125719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:22:41] local.INFO: TCP Data received {"connection_id":126598,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126598,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:22:41] local.INFO: Processing buffer {"connection_id":126598,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:22:41] local.INFO: IMEI packet received {"connection_id":126598,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":126598,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:22:42] local.INFO: TCP Data received {"connection_id":126598,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c72cc0012d7e368005d34cf0000200372d..."} 
[2026-07-08 18:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c72cc0012d7e368005d34cf0000200372d..."} 
[2026-07-08 18:22:42] local.INFO: Processing buffer {"connection_id":126598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c72cc0012d7e368005d34cf0000200372d..."} 
[2026-07-08 18:22:42] local.INFO: Packet analysis {"connection_id":126598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c7"} 
[2026-07-08 18:22:42] local.INFO: Extracted packet for processing {"connection_id":126598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c7"} 
[2026-07-08 18:22:42] local.INFO: GPS Element Parsed {"raw_longitude":763246208,"raw_latitude":97733872,"longitude_deg":76.3246208,"latitude_deg":9.7733872,"altitude":2,"angle":55,"satellites":45,"speed":0,"hex_longitude":"2d7e3680","hex_latitude":"05d34cf0","is_valid_coordinates":true} 
[2026-07-08 18:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579834624001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029521920,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783515000000,"timestamp_ms":1783515000000,"timestamp_seconds":1783515000,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c72cc0"} 
[2026-07-08 18:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-08 18:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":126598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":126598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":126598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579834624001,"66":13091,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9094597260029521920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579834624001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:22:42] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:22:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029521920,"description":"Unknown IO ID 45"} 
[2026-07-08 18:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579834624001,"power":13091,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029521920}} 
[2026-07-08 18:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":126598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453036,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:22:42] local.INFO: GPS data processed {"connection_id":126598,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:22:42] local.INFO: Acknowledgment sent {"connection_id":126598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:22:46] local.INFO: TCP Data received {"connection_id":126598,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c77ec8012d7e368005d34cf0000200372c..."} 
[2026-07-08 18:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c77ec8012d7e368005d34cf0000200372c..."} 
[2026-07-08 18:22:46] local.INFO: Processing buffer {"connection_id":126598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c77ec8012d7e368005d34cf0000200372c..."} 
[2026-07-08 18:22:46] local.INFO: Packet analysis {"connection_id":126598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c7"} 
[2026-07-08 18:22:46] local.INFO: Extracted packet for processing {"connection_id":126598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c7"} 
[2026-07-08 18:22:46] local.INFO: GPS Element Parsed {"raw_longitude":763246208,"raw_latitude":97733872,"longitude_deg":76.3246208,"latitude_deg":9.7733872,"altitude":2,"angle":55,"satellites":44,"speed":0,"hex_longitude":"2d7e3680","hex_latitude":"05d34cf0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 18:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579840000001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029521920,"note":"Value kept but may cause issues"} 
[2026-07-08 18:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783515021000,"timestamp_ms":1783515021000,"timestamp_seconds":1783515021,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c77ec8"} 
[2026-07-08 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-07-08 18:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-08 18:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 18:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":126598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":126598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":126598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579840000001,"66":13189,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9094597260029521920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579840000001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:22:46] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:22:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029521920,"description":"Unknown IO ID 45"} 
[2026-07-08 18:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579840000001,"power":13189,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029521920}} 
[2026-07-08 18:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":126598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453037,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:22:46] local.INFO: GPS data processed {"connection_id":126598,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:22:46] local.INFO: Acknowledgment sent {"connection_id":126598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:22:55] local.INFO: TCP Data received {"connection_id":127831,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:22:55] local.INFO: Processing buffer {"connection_id":127831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:22:55] local.INFO: IMEI packet received {"connection_id":127831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":127831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:22:56] local.INFO: TCP Data received {"connection_id":125720,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125720,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:22:56] local.INFO: Processing buffer {"connection_id":125720,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:22:56] local.INFO: IMEI packet received {"connection_id":125720,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 18:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":125720,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:22:56] local.INFO: TCP Data received {"connection_id":125721,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:22:56] local.INFO: Processing buffer {"connection_id":125721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:22:56] local.INFO: IMEI packet received {"connection_id":125721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":125721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:22:57] local.INFO: TCP Data received {"connection_id":125721,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:22:57] local.INFO: Processing buffer {"connection_id":125721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:22:57] local.INFO: IMEI packet received {"connection_id":125721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":125721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:22:59] local.INFO: TCP Data received {"connection_id":125721,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:22:59] local.INFO: Processing buffer {"connection_id":125721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:22:59] local.INFO: IMEI packet received {"connection_id":125721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":125721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:23:05] local.INFO: TCP Data received {"connection_id":127831,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:23:05] local.INFO: Processing buffer {"connection_id":127831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:23:05] local.INFO: IMEI packet received {"connection_id":127831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":127831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:23:05] local.INFO: TCP Data received {"connection_id":125721,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:23:05] local.INFO: Processing buffer {"connection_id":125721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:23:05] local.INFO: IMEI packet received {"connection_id":125721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":125721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:23:06] local.INFO: TCP Data received {"connection_id":125721,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c94bb8012d199f80071fefe0002f010028..."} 
[2026-07-08 18:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c94bb8012d199f80071fefe0002f010028..."} 
[2026-07-08 18:23:06] local.INFO: Processing buffer {"connection_id":125721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c94bb8012d199f80071fefe0002f010028..."} 
[2026-07-08 18:23:06] local.INFO: Packet analysis {"connection_id":125721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c9"} 
[2026-07-08 18:23:06] local.INFO: Extracted packet for processing {"connection_id":125721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c9"} 
[2026-07-08 18:23:06] local.INFO: GPS Element Parsed {"raw_longitude":756653952,"raw_latitude":119533536,"longitude_deg":75.6653952,"latitude_deg":11.9533536,"altitude":47,"angle":256,"satellites":40,"speed":15,"hex_longitude":"2d199f80","hex_latitude":"071fefe0","is_valid_coordinates":true} 
[2026-07-08 18:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579875328001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4918699626594304,"note":"Value kept but may cause issues"} 
[2026-07-08 18:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846757352799219712,"note":"Value kept but may cause issues"} 
[2026-07-08 18:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783515139000,"timestamp_ms":1783515139000,"timestamp_seconds":1783515139,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c94bb8"} 
[2026-07-08 18:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-08 18:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219456,"note":"Value kept but may cause issues"} 
[2026-07-08 18:23:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-08 18:23:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 18:23:06] local.WARNING: Large IO value detected {"io_id":65,"raw_value":3375134721,"note":"Value kept but may cause issues"} 
[2026-07-08 18:23:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4042260524,"note":"Value kept but may cause issues"} 
[2026-07-08 18:23:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-07-08 18:23:06] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221302553,"note":"Value kept but may cause issues"} 
[2026-07-08 18:23:06] local.WARNING: Large IO value detected {"io_id":176,"raw_value":2147950575,"note":"Value kept but may cause issues"} 
[2026-07-08 18:23:06] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,101,83,24,241,157,16,121,159,67,45,240,46,39,10,66,64,128,38,60,1,92,227,65,31,4,113,205,22,32,176,168,239,56,2,17,7,40],"length":479,"final_offset":609,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-07-08 18:23:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314912280823267328,"timestamp_seconds":3314912280823267.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 18:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579875328001,"66":13450,"101":206,"83":41984,"24":15,"16":4918699626594304,"45":1846757352799219712},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-08 18:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579875328001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:23:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-08 18:23:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4918699626594304,"km_value":4918699626594.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846757352799219712,"description":"Unknown IO ID 45"} 
[2026-07-08 18:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579875328001,"power":13450,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1846757352799219712}} 
[2026-07-08 18:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":125721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:23:06] local.INFO: GPS data processed {"connection_id":125721,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:23:06] local.INFO: Acknowledgment sent {"connection_id":125721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:23:06] local.INFO: TCP Data received {"connection_id":127831,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c84600012d7d2d4005a92790000f01622b..."} 
[2026-07-08 18:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c84600012d7d2d4005a92790000f01622b..."} 
[2026-07-08 18:23:06] local.INFO: Processing buffer {"connection_id":127831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c84600012d7d2d4005a92790000f01622b..."} 
[2026-07-08 18:23:06] local.INFO: Packet analysis {"connection_id":127831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c8"} 
[2026-07-08 18:23:06] local.INFO: Extracted packet for processing {"connection_id":127831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c8"} 
[2026-07-08 18:23:06] local.INFO: GPS Element Parsed {"raw_longitude":763178304,"raw_latitude":94971792,"longitude_deg":76.3178304,"latitude_deg":9.4971792,"altitude":15,"angle":354,"satellites":43,"speed":58,"hex_longitude":"2d7d2d40","hex_latitude":"05a92790","is_valid_coordinates":true} 
[2026-07-08 18:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579856896001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343004064012828672,"note":"Value kept but may cause issues"} 
[2026-07-08 18:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021695240352100352,"note":"Value kept but may cause issues"} 
[2026-07-08 18:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783515072000,"timestamp_ms":1783515072000,"timestamp_seconds":1783515072,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c84600"} 
[2026-07-08 18:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-08 18:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579856896001,"66":27745,"18":206,"85":14336,"24":58,"16":343004064012828672,"45":9021695240352100352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-07-08 18:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579856896001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:23:06] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-08 18:23:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343004064012828672,"km_value":343004064012828.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021695240352100352,"description":"Unknown IO ID 45"} 
[2026-07-08 18:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579856896001,"power":27745,"unknown_18":206,"unknown_85":14336,"ignition":58,"odometer":null,"unknown_45":9021695240352100352}} 
[2026-07-08 18:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":127831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:23:06] local.INFO: GPS data processed {"connection_id":127831,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:23:06] local.INFO: Acknowledgment sent {"connection_id":127831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:23:31] local.INFO: TCP Data received {"connection_id":125722,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125722,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:23:31] local.INFO: Processing buffer {"connection_id":125722,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:23:31] local.INFO: IMEI packet received {"connection_id":125722,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":125722,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:23:36] local.INFO: TCP Data received {"connection_id":125722,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125722,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:23:36] local.INFO: Processing buffer {"connection_id":125722,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:23:36] local.INFO: IMEI packet received {"connection_id":125722,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":125722,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:23:37] local.INFO: TCP Data received {"connection_id":125722,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c7d0d0012d7e368005d34cf0000200372e..."} 
[2026-07-08 18:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c7d0d0012d7e368005d34cf0000200372e..."} 
[2026-07-08 18:23:37] local.INFO: Processing buffer {"connection_id":125722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c7d0d0012d7e368005d34cf0000200372e..."} 
[2026-07-08 18:23:37] local.INFO: Packet analysis {"connection_id":125722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c7"} 
[2026-07-08 18:23:37] local.INFO: Extracted packet for processing {"connection_id":125722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c7"} 
[2026-07-08 18:23:37] local.INFO: GPS Element Parsed {"raw_longitude":763246208,"raw_latitude":97733872,"longitude_deg":76.3246208,"latitude_deg":9.7733872,"altitude":2,"angle":55,"satellites":46,"speed":0,"hex_longitude":"2d7e3680","hex_latitude":"05d34cf0","is_valid_coordinates":true} 
[2026-07-08 18:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579845376001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029521920,"note":"Value kept but may cause issues"} 
[2026-07-08 18:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783515042000,"timestamp_ms":1783515042000,"timestamp_seconds":1783515042,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c7d0d0"} 
[2026-07-08 18:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-08 18:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579845376001,"66":13135,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9094597260029521920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579845376001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:23:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:23:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029521920,"description":"Unknown IO ID 45"} 
[2026-07-08 18:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579845376001,"power":13135,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029521920}} 
[2026-07-08 18:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":125722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453040,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:23:37] local.INFO: GPS data processed {"connection_id":125722,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:23:37] local.INFO: Acknowledgment sent {"connection_id":125722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:23:40] local.INFO: TCP Data received {"connection_id":125721,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c94fa0012d199e80071ff0100030011028..."} 
[2026-07-08 18:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c94fa0012d199e80071ff0100030011028..."} 
[2026-07-08 18:23:40] local.INFO: Processing buffer {"connection_id":125721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c94fa0012d199e80071ff0100030011028..."} 
[2026-07-08 18:23:40] local.INFO: Packet analysis {"connection_id":125721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c9"} 
[2026-07-08 18:23:40] local.INFO: Extracted packet for processing {"connection_id":125721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c9"} 
[2026-07-08 18:23:40] local.INFO: GPS Element Parsed {"raw_longitude":756653696,"raw_latitude":119533584,"longitude_deg":75.6653696,"latitude_deg":11.9533584,"altitude":48,"angle":272,"satellites":40,"speed":15,"hex_longitude":"2d199e80","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-07-08 18:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579875584001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4918712511496192,"note":"Value kept but may cause issues"} 
[2026-07-08 18:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846335140334133248,"note":"Value kept but may cause issues"} 
[2026-07-08 18:23: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-07-08 18:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783515140000,"timestamp_ms":1783515140000,"timestamp_seconds":1783515140,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c94fa0"} 
[2026-07-08 18:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-08 18:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579875584001,"66":13450,"101":206,"83":41984,"24":15,"16":4918712511496192,"45":1846335140334133248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-08 18:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579875584001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:23:40] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-08 18:23:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4918712511496192,"km_value":4918712511496.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846335140334133248,"description":"Unknown IO ID 45"} 
[2026-07-08 18:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579875584001,"power":13450,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1846335140334133248}} 
[2026-07-08 18:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":125721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:23:40] local.INFO: GPS data processed {"connection_id":125721,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:23:40] local.INFO: Acknowledgment sent {"connection_id":125721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:23:42] local.INFO: TCP Data received {"connection_id":127831,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c98a38012d7de2c005aa77b00009001f2e..."} 
[2026-07-08 18:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c98a38012d7de2c005aa77b00009001f2e..."} 
[2026-07-08 18:23:42] local.INFO: Processing buffer {"connection_id":127831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c98a38012d7de2c005aa77b00009001f2e..."} 
[2026-07-08 18:23:42] local.INFO: Packet analysis {"connection_id":127831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c9"} 
[2026-07-08 18:23:42] local.INFO: Extracted packet for processing {"connection_id":127831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c9"} 
[2026-07-08 18:23:42] local.INFO: GPS Element Parsed {"raw_longitude":763224768,"raw_latitude":95057840,"longitude_deg":76.3224768,"latitude_deg":9.505784,"altitude":9,"angle":31,"satellites":46,"speed":44,"hex_longitude":"2d7de2c0","hex_latitude":"05aa77b0","is_valid_coordinates":true} 
[2026-07-08 18:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579877376001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343008861491298304,"note":"Value kept but may cause issues"} 
[2026-07-08 18:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9065183124276150272,"note":"Value kept but may cause issues"} 
[2026-07-08 18:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783515155000,"timestamp_ms":1783515155000,"timestamp_seconds":1783515155,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c98a38"} 
[2026-07-08 18:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-08 18:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":127831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":127831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":127831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579877376001,"66":27865,"40":206,"85":14336,"24":44,"16":343008861491298304,"45":9065183124276150272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,45]} 
[2026-07-08 18:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579877376001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:23:42] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-08 18:23:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343008861491298304,"km_value":343008861491298.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9065183124276150272,"description":"Unknown IO ID 45"} 
[2026-07-08 18:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579877376001,"power":27865,"unknown_40":206,"unknown_85":14336,"ignition":44,"odometer":null,"unknown_45":9065183124276150272}} 
[2026-07-08 18:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":127831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:23:42] local.INFO: GPS data processed {"connection_id":127831,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:23:42] local.INFO: Acknowledgment sent {"connection_id":127831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:23:55] local.INFO: TCP Data received {"connection_id":125723,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:23:55] local.INFO: Processing buffer {"connection_id":125723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:23:55] local.INFO: IMEI packet received {"connection_id":125723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":125723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:23:56] local.INFO: TCP Data received {"connection_id":125723,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:23:56] local.INFO: Processing buffer {"connection_id":125723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:23:56] local.INFO: IMEI packet received {"connection_id":125723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":125723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:23:59] local.INFO: TCP Data received {"connection_id":127832,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:23:59] local.INFO: Processing buffer {"connection_id":127832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:23:59] local.INFO: IMEI packet received {"connection_id":127832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":127832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:23:59] local.INFO: TCP Data received {"connection_id":127832,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:23:59] local.INFO: Processing buffer {"connection_id":127832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:23:59] local.INFO: IMEI packet received {"connection_id":127832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":127832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:24:00] local.INFO: TCP Data received {"connection_id":127832,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:24:00] local.INFO: Processing buffer {"connection_id":127832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:24:00] local.INFO: IMEI packet received {"connection_id":127832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":127832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:24:00] local.INFO: TCP Data received {"connection_id":125723,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:24:00] local.INFO: Processing buffer {"connection_id":125723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:24:00] local.INFO: IMEI packet received {"connection_id":125723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":125723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:24:00] local.INFO: TCP Data received {"connection_id":127832,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:24:00] local.INFO: Processing buffer {"connection_id":127832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:24:00] local.INFO: IMEI packet received {"connection_id":127832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":127832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:24:02] local.INFO: TCP Data received {"connection_id":125723,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c9a978012d7df78005aa97d80007001d2e..."} 
[2026-07-08 18:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c9a978012d7df78005aa97d80007001d2e..."} 
[2026-07-08 18:24:02] local.INFO: Processing buffer {"connection_id":125723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c9a978012d7df78005aa97d80007001d2e..."} 
[2026-07-08 18:24:02] local.INFO: Packet analysis {"connection_id":125723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c9"} 
[2026-07-08 18:24:02] local.INFO: Extracted packet for processing {"connection_id":125723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c9"} 
[2026-07-08 18:24:02] local.INFO: GPS Element Parsed {"raw_longitude":763230080,"raw_latitude":95066072,"longitude_deg":76.323008,"latitude_deg":9.5066072,"altitude":7,"angle":29,"satellites":46,"speed":54,"hex_longitude":"2d7df780","hex_latitude":"05aa97d8","is_valid_coordinates":true} 
[2026-07-08 18:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579879680001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343009333937700864,"note":"Value kept but may cause issues"} 
[2026-07-08 18:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9071023730044940288,"note":"Value kept but may cause issues"} 
[2026-07-08 18:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783515163000,"timestamp_ms":1783515163000,"timestamp_seconds":1783515163,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c9a978"} 
[2026-07-08 18:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:24: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-07-08 18:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 18:24:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:24:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579879680001,"66":27843,"40":206,"85":14336,"24":54,"16":343009333937700864,"45":9071023730044940288},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,45]} 
[2026-07-08 18:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579879680001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:24:02] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-08 18:24:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343009333937700864,"km_value":343009333937700.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9071023730044940288,"description":"Unknown IO ID 45"} 
[2026-07-08 18:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579879680001,"power":27843,"unknown_40":206,"unknown_85":14336,"ignition":54,"odometer":null,"unknown_45":9071023730044940288}} 
[2026-07-08 18:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":125723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:24:02] local.INFO: GPS data processed {"connection_id":125723,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:24:02] local.INFO: Acknowledgment sent {"connection_id":125723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:24:08] local.INFO: TCP Data received {"connection_id":125722,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c822d8012d7e368005d34cf0000200372d..."} 
[2026-07-08 18:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c822d8012d7e368005d34cf0000200372d..."} 
[2026-07-08 18:24:08] local.INFO: Processing buffer {"connection_id":125722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c822d8012d7e368005d34cf0000200372d..."} 
[2026-07-08 18:24:08] local.INFO: Packet analysis {"connection_id":125722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c8"} 
[2026-07-08 18:24:08] local.INFO: Extracted packet for processing {"connection_id":125722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c8"} 
[2026-07-08 18:24:08] local.INFO: GPS Element Parsed {"raw_longitude":763246208,"raw_latitude":97733872,"longitude_deg":76.3246208,"latitude_deg":9.7733872,"altitude":2,"angle":55,"satellites":45,"speed":0,"hex_longitude":"2d7e3680","hex_latitude":"05d34cf0","is_valid_coordinates":true} 
[2026-07-08 18:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579850752001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029521920,"note":"Value kept but may cause issues"} 
[2026-07-08 18:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783515063000,"timestamp_ms":1783515063000,"timestamp_seconds":1783515063,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c822d8"} 
[2026-07-08 18:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-08 18:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579850752001,"66":13059,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9094597260029521920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579850752001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:24:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:24:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029521920,"description":"Unknown IO ID 45"} 
[2026-07-08 18:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579850752001,"power":13059,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029521920}} 
[2026-07-08 18:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":125722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453044,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:24:08] local.INFO: GPS data processed {"connection_id":125722,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:24:08] local.INFO: Acknowledgment sent {"connection_id":125722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:24:31] local.INFO: TCP Data received {"connection_id":125828,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:24:31] local.INFO: Processing buffer {"connection_id":125828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:24:31] local.INFO: IMEI packet received {"connection_id":125828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":125828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:24:33] local.INFO: TCP Data received {"connection_id":125723,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c9c4d0012d7e094005aab6900007001e2d..."} 
[2026-07-08 18:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c9c4d0012d7e094005aab6900007001e2d..."} 
[2026-07-08 18:24:33] local.INFO: Processing buffer {"connection_id":125723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c9c4d0012d7e094005aab6900007001e2d..."} 
[2026-07-08 18:24:33] local.INFO: Packet analysis {"connection_id":125723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c9"} 
[2026-07-08 18:24:33] local.INFO: Extracted packet for processing {"connection_id":125723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c9"} 
[2026-07-08 18:24:33] local.INFO: GPS Element Parsed {"raw_longitude":763234624,"raw_latitude":95073936,"longitude_deg":76.3234624,"latitude_deg":9.5073936,"altitude":7,"angle":30,"satellites":45,"speed":47,"hex_longitude":"2d7e0940","hex_latitude":"05aab690","is_valid_coordinates":true} 
[2026-07-08 18:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579881728001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343009776319332352,"note":"Value kept but may cause issues"} 
[2026-07-08 18:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9076864335813793792,"note":"Value kept but may cause issues"} 
[2026-07-08 18:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783515170000,"timestamp_ms":1783515170000,"timestamp_seconds":1783515170,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c9c4d0"} 
[2026-07-08 18:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 18:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:24:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579881728001,"66":27876,"40":206,"85":14336,"24":47,"16":343009776319332352,"45":9076864335813793792},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,45]} 
[2026-07-08 18:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579881728001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:24:33] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-08 18:24:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343009776319332352,"km_value":343009776319332.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9076864335813793792,"description":"Unknown IO ID 45"} 
[2026-07-08 18:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579881728001,"power":27876,"unknown_40":206,"unknown_85":14336,"ignition":47,"odometer":null,"unknown_45":9076864335813793792}} 
[2026-07-08 18:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":125723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:24:33] local.INFO: GPS data processed {"connection_id":125723,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:24:33] local.INFO: Acknowledgment sent {"connection_id":125723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:24:36] local.INFO: TCP Data received {"connection_id":125828,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:24:36] local.INFO: Processing buffer {"connection_id":125828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:24:36] local.INFO: IMEI packet received {"connection_id":125828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":125828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:24:37] local.INFO: TCP Data received {"connection_id":125828,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c826c0012d7e368005d34cf0000200372c..."} 
[2026-07-08 18:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c826c0012d7e368005d34cf0000200372c..."} 
[2026-07-08 18:24:37] local.INFO: Processing buffer {"connection_id":125828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c826c0012d7e368005d34cf0000200372c..."} 
[2026-07-08 18:24:37] local.INFO: Packet analysis {"connection_id":125828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c8"} 
[2026-07-08 18:24:37] local.INFO: Extracted packet for processing {"connection_id":125828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c8"} 
[2026-07-08 18:24:37] local.INFO: GPS Element Parsed {"raw_longitude":763246208,"raw_latitude":97733872,"longitude_deg":76.3246208,"latitude_deg":9.7733872,"altitude":2,"angle":55,"satellites":44,"speed":0,"hex_longitude":"2d7e3680","hex_latitude":"05d34cf0","is_valid_coordinates":true} 
[2026-07-08 18:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579856128001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029521920,"note":"Value kept but may cause issues"} 
[2026-07-08 18:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783515064000,"timestamp_ms":1783515064000,"timestamp_seconds":1783515064,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c826c0"} 
[2026-07-08 18:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 18:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163549732173,"note":"Value kept but may cause issues"} 
[2026-07-08 18:24:37] local.WARNING: Large IO value detected {"io_id":109,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-07-08 18:24:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-08 18:24:37] local.WARNING: Large IO value detected {"io_id":29,"raw_value":3506438144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:24:37] local.WARNING: Large IO value detected {"io_id":65,"raw_value":3336222721,"note":"Value kept but may cause issues"} 
[2026-07-08 18:24:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-08 18:24:37] local.WARNING: Large IO value detected {"io_id":136,"raw_value":2952867198,"note":"Value kept but may cause issues"} 
[2026-07-08 18:24:37] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2147865420,"note":"Value kept but may cause issues"} 
[2026-07-08 18:24:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545034752,"note":"Value kept but may cause issues"} 
[2026-07-08 18:24:37] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,109,85,24,241,157,16,29,159,208,45,128,76,2,46,10,66,126,44,1,240,35,227,65,211,4,113,205,136,54,43,239,51,5],"length":486,"final_offset":616,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-07-08 18:24:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144175854488911872,"timestamp_seconds":144175854488911.88,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 18:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579856128001,"66":13102,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9094597260029521920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579856128001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:24:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:24:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029521920,"description":"Unknown IO ID 45"} 
[2026-07-08 18:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579856128001,"power":13102,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029521920}} 
[2026-07-08 18:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":125828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453046,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:24:37] local.INFO: GPS data processed {"connection_id":125828,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:24:37] local.INFO: Acknowledgment sent {"connection_id":125828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:25:00] local.INFO: TCP Data received {"connection_id":127833,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:25:00] local.INFO: Processing buffer {"connection_id":127833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:25:00] local.INFO: IMEI packet received {"connection_id":127833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":127833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:25:02] local.INFO: TCP Data received {"connection_id":127833,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:25:02] local.INFO: Processing buffer {"connection_id":127833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:25:02] local.INFO: IMEI packet received {"connection_id":127833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":127833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:25:04] local.INFO: TCP Data received {"connection_id":127833,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c9e7f8012d7e1c4005aad4c8000700222c..."} 
[2026-07-08 18:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c9e7f8012d7e1c4005aad4c8000700222c..."} 
[2026-07-08 18:25:04] local.INFO: Processing buffer {"connection_id":127833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c9e7f8012d7e1c4005aad4c8000700222c..."} 
[2026-07-08 18:25:04] local.INFO: Packet analysis {"connection_id":127833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c9"} 
[2026-07-08 18:25:04] local.INFO: Extracted packet for processing {"connection_id":127833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c9"} 
[2026-07-08 18:25:04] local.INFO: GPS Element Parsed {"raw_longitude":763239488,"raw_latitude":95081672,"longitude_deg":76.3239488,"latitude_deg":9.5081672,"altitude":7,"angle":34,"satellites":44,"speed":35,"hex_longitude":"2d7e1c40","hex_latitude":"05aad4c8","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579883520001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343010218700963840,"note":"Value kept but may cause issues"} 
[2026-07-08 18:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9081860516652421120,"note":"Value kept but may cause issues"} 
[2026-07-08 18:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783515179000,"timestamp_ms":1783515179000,"timestamp_seconds":1783515179,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c9e7f8"} 
[2026-07-08 18:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 18:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":127833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":127833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":127833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579883520001,"66":27713,"40":206,"85":14336,"24":35,"16":343010218700963840,"45":9081860516652421120},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,45]} 
[2026-07-08 18:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579883520001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:25:04] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-08 18:25:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343010218700963840,"km_value":343010218700963.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9081860516652421120,"description":"Unknown IO ID 45"} 
[2026-07-08 18:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579883520001,"power":27713,"unknown_40":206,"unknown_85":14336,"ignition":35,"odometer":null,"unknown_45":9081860516652421120}} 
[2026-07-08 18:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":127833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:25:04] local.INFO: GPS data processed {"connection_id":127833,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:25:04] local.INFO: Acknowledgment sent {"connection_id":127833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:25:06] local.INFO: TCP Data received {"connection_id":127833,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c9f798012d7e230005aae110000700132c..."} 
[2026-07-08 18:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c9f798012d7e230005aae110000700132c..."} 
[2026-07-08 18:25:06] local.INFO: Processing buffer {"connection_id":127833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c9f798012d7e230005aae110000700132c..."} 
[2026-07-08 18:25:06] local.INFO: Packet analysis {"connection_id":127833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c9"} 
[2026-07-08 18:25:06] local.INFO: Extracted packet for processing {"connection_id":127833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c9"} 
[2026-07-08 18:25:06] local.INFO: GPS Element Parsed {"raw_longitude":763241216,"raw_latitude":95084816,"longitude_deg":76.3241216,"latitude_deg":9.5084816,"altitude":7,"angle":19,"satellites":44,"speed":35,"hex_longitude":"2d7e2300","hex_latitude":"05aae110","is_valid_coordinates":true} 
[2026-07-08 18:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579885824001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343010390499655680,"note":"Value kept but may cause issues"} 
[2026-07-08 18:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087208541211904000,"note":"Value kept but may cause issues"} 
[2026-07-08 18:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783515183000,"timestamp_ms":1783515183000,"timestamp_seconds":1783515183,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c9f798"} 
[2026-07-08 18:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 18:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579885824001,"66":27843,"40":206,"85":14336,"24":35,"16":343010390499655680,"45":9087208541211904000},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,45]} 
[2026-07-08 18:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579885824001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:25:06] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-08 18:25:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343010390499655680,"km_value":343010390499655.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087208541211904000,"description":"Unknown IO ID 45"} 
[2026-07-08 18:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579885824001,"power":27843,"unknown_40":206,"unknown_85":14336,"ignition":35,"odometer":null,"unknown_45":9087208541211904000}} 
[2026-07-08 18:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":127833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:25:06] local.INFO: GPS data processed {"connection_id":127833,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:25:06] local.INFO: Acknowledgment sent {"connection_id":127833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:25:08] local.INFO: TCP Data received {"connection_id":125828,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c826c0012d7e368005d34cf0000200372c..."} 
[2026-07-08 18:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c826c0012d7e368005d34cf0000200372c..."} 
[2026-07-08 18:25:08] local.INFO: Processing buffer {"connection_id":125828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c826c0012d7e368005d34cf0000200372c..."} 
[2026-07-08 18:25:08] local.INFO: Packet analysis {"connection_id":125828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c8"} 
[2026-07-08 18:25:08] local.INFO: Extracted packet for processing {"connection_id":125828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c8"} 
[2026-07-08 18:25:08] local.INFO: GPS Element Parsed {"raw_longitude":763246208,"raw_latitude":97733872,"longitude_deg":76.3246208,"latitude_deg":9.7733872,"altitude":2,"angle":55,"satellites":44,"speed":0,"hex_longitude":"2d7e3680","hex_latitude":"05d34cf0","is_valid_coordinates":true} 
[2026-07-08 18:25: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-07-08 18:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579856384001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029521920,"note":"Value kept but may cause issues"} 
[2026-07-08 18:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783515064000,"timestamp_ms":1783515064000,"timestamp_seconds":1783515064,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c826c0"} 
[2026-07-08 18:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-08 18:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579856384001,"66":13102,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9094597260029521920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579856384001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:25:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:25:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029521920,"description":"Unknown IO ID 45"} 
[2026-07-08 18:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579856384001,"power":13102,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029521920}} 
[2026-07-08 18:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":125828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453049,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:25:08] local.INFO: GPS data processed {"connection_id":125828,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:25:08] local.INFO: Acknowledgment sent {"connection_id":125828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:25:31] local.INFO: TCP Data received {"connection_id":125830,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125830,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:25:31] local.INFO: Processing buffer {"connection_id":125830,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:25:31] local.INFO: IMEI packet received {"connection_id":125830,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":125830,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:25:36] local.INFO: TCP Data received {"connection_id":125830,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125830,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:25:36] local.INFO: Processing buffer {"connection_id":125830,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:25:36] local.INFO: IMEI packet received {"connection_id":125830,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":125830,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:25:37] local.INFO: TCP Data received {"connection_id":127833,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ca0b20012d7e2b0005aaf188000700202b..."} 
[2026-07-08 18:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ca0b20012d7e2b0005aaf188000700202b..."} 
[2026-07-08 18:25:37] local.INFO: Processing buffer {"connection_id":127833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ca0b20012d7e2b0005aaf188000700202b..."} 
[2026-07-08 18:25:37] local.INFO: Packet analysis {"connection_id":127833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ca"} 
[2026-07-08 18:25:37] local.INFO: Extracted packet for processing {"connection_id":127833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ca"} 
[2026-07-08 18:25:37] local.INFO: GPS Element Parsed {"raw_longitude":763243264,"raw_latitude":95089032,"longitude_deg":76.3243264,"latitude_deg":9.5089032,"altitude":7,"angle":32,"satellites":43,"speed":39,"hex_longitude":"2d7e2b00","hex_latitude":"05aaf188","is_valid_coordinates":true} 
[2026-07-08 18:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579886848001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343010618132922368,"note":"Value kept but may cause issues"} 
[2026-07-08 18:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9089108497305505792,"note":"Value kept but may cause issues"} 
[2026-07-08 18:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783515188000,"timestamp_ms":1783515188000,"timestamp_seconds":1783515188,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ca0b20"} 
[2026-07-08 18:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 18:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579886848001,"66":27919,"40":206,"85":14336,"24":39,"16":343010618132922368,"45":9089108497305505792},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,45]} 
[2026-07-08 18:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579886848001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:25:37] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-08 18:25:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343010618132922368,"km_value":343010618132922.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9089108497305505792,"description":"Unknown IO ID 45"} 
[2026-07-08 18:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579886848001,"power":27919,"unknown_40":206,"unknown_85":14336,"ignition":39,"odometer":null,"unknown_45":9089108497305505792}} 
[2026-07-08 18:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":127833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:25:37] local.INFO: GPS data processed {"connection_id":127833,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:25:37] local.INFO: Acknowledgment sent {"connection_id":127833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:25:38] local.INFO: TCP Data received {"connection_id":125830,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c83278012d7e368005d34cf0000200372d..."} 
[2026-07-08 18:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c83278012d7e368005d34cf0000200372d..."} 
[2026-07-08 18:25:38] local.INFO: Processing buffer {"connection_id":125830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c83278012d7e368005d34cf0000200372d..."} 
[2026-07-08 18:25:38] local.INFO: Packet analysis {"connection_id":125830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c8"} 
[2026-07-08 18:25:38] local.INFO: Extracted packet for processing {"connection_id":125830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c8"} 
[2026-07-08 18:25:38] local.INFO: GPS Element Parsed {"raw_longitude":763246208,"raw_latitude":97733872,"longitude_deg":76.3246208,"latitude_deg":9.7733872,"altitude":2,"angle":55,"satellites":45,"speed":0,"hex_longitude":"2d7e3680","hex_latitude":"05d34cf0","is_valid_coordinates":true} 
[2026-07-08 18:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579856384001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029521920,"note":"Value kept but may cause issues"} 
[2026-07-08 18:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783515067000,"timestamp_ms":1783515067000,"timestamp_seconds":1783515067,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c83278"} 
[2026-07-08 18:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-08 18:25: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-07-08 18:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125830,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125830,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579856384001,"66":13243,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9094597260029521920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579856384001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:25:38] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:25:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029521920,"description":"Unknown IO ID 45"} 
[2026-07-08 18:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579856384001,"power":13243,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029521920}} 
[2026-07-08 18:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":125830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453051,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:25:38] local.INFO: GPS data processed {"connection_id":125830,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:25:38] local.INFO: Acknowledgment sent {"connection_id":125830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:25:55] local.INFO: TCP Data received {"connection_id":125831,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:25:55] local.INFO: Processing buffer {"connection_id":125831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:25:55] local.INFO: IMEI packet received {"connection_id":125831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":125831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:26:00] local.INFO: TCP Data received {"connection_id":125831,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:26:00] local.INFO: Processing buffer {"connection_id":125831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:26:00] local.INFO: IMEI packet received {"connection_id":125831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":125831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:26:01] local.INFO: TCP Data received {"connection_id":125831,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ca2e48012d7e3fc005ab11b0000700212b..."} 
[2026-07-08 18:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ca2e48012d7e3fc005ab11b0000700212b..."} 
[2026-07-08 18:26:01] local.INFO: Processing buffer {"connection_id":125831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ca2e48012d7e3fc005ab11b0000700212b..."} 
[2026-07-08 18:26:01] local.INFO: Packet analysis {"connection_id":125831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ca"} 
[2026-07-08 18:26:01] local.INFO: Extracted packet for processing {"connection_id":125831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ca"} 
[2026-07-08 18:26:01] local.INFO: GPS Element Parsed {"raw_longitude":763248576,"raw_latitude":95097264,"longitude_deg":76.3248576,"latitude_deg":9.5097264,"altitude":7,"angle":33,"satellites":43,"speed":47,"hex_longitude":"2d7e3fc0","hex_latitude":"05ab11b0","is_valid_coordinates":true} 
[2026-07-08 18:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579888128001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343011090579324928,"note":"Value kept but may cause issues"} 
[2026-07-08 18:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091360297120270336,"note":"Value kept but may cause issues"} 
[2026-07-08 18:26:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783515197000,"timestamp_ms":1783515197000,"timestamp_seconds":1783515197,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ca2e48"} 
[2026-07-08 18:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:26:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 18:26:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:26:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:26:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579888128001,"66":27919,"40":206,"85":14336,"24":47,"16":343011090579324928,"45":9091360297120270336},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,45]} 
[2026-07-08 18:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579888128001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:26:01] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-08 18:26:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343011090579324928,"km_value":343011090579324.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091360297120270336,"description":"Unknown IO ID 45"} 
[2026-07-08 18:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579888128001,"power":27919,"unknown_40":206,"unknown_85":14336,"ignition":47,"odometer":null,"unknown_45":9091360297120270336}} 
[2026-07-08 18:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":125831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:26:01] local.INFO: GPS data processed {"connection_id":125831,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:26:01] local.INFO: Acknowledgment sent {"connection_id":125831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:26:09] local.INFO: TCP Data received {"connection_id":125830,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f41c83278012d7e368005d34cf0000200372d..."} 
[2026-07-08 18:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41c83278012d7e368005d34cf0000200372d..."} 
[2026-07-08 18:26:09] local.INFO: Processing buffer {"connection_id":125830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41c83278012d7e368005d34cf0000200372d..."} 
[2026-07-08 18:26:09] local.INFO: Packet analysis {"connection_id":125830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41c8"} 
[2026-07-08 18:26:09] local.INFO: Extracted packet for processing {"connection_id":125830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41c8"} 
[2026-07-08 18:26:09] local.INFO: GPS Element Parsed {"raw_longitude":763246208,"raw_latitude":97733872,"longitude_deg":76.3246208,"latitude_deg":9.7733872,"altitude":2,"angle":55,"satellites":45,"speed":0,"hex_longitude":"2d7e3680","hex_latitude":"05d34cf0","is_valid_coordinates":true} 
[2026-07-08 18:26: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-07-08 18:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579857152001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029521920,"note":"Value kept but may cause issues"} 
[2026-07-08 18:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783515067000,"timestamp_ms":1783515067000,"timestamp_seconds":1783515067,"priority":1,"record_length":96,"hex_timestamp":"0000019f41c83278"} 
[2026-07-08 18:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18: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":187,"data_length":795,"current_offset":136} 
[2026-07-08 18:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125830,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125830,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579857152001,"66":13243,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9094597260029521920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579857152001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:26:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:26:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029521920,"description":"Unknown IO ID 45"} 
[2026-07-08 18:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579857152001,"power":13243,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029521920}} 
[2026-07-08 18:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":125830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453053,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:26:09] local.INFO: GPS data processed {"connection_id":125830,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:26:09] local.INFO: Acknowledgment sent {"connection_id":125830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:26:31] local.INFO: TCP Data received {"connection_id":126601,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:26:31] local.INFO: Processing buffer {"connection_id":126601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:26:31] local.INFO: IMEI packet received {"connection_id":126601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":126601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:26:36] local.INFO: TCP Data received {"connection_id":126601,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:26:36] local.INFO: Processing buffer {"connection_id":126601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:26:36] local.INFO: IMEI packet received {"connection_id":126601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":126601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:26:36] local.INFO: TCP Data received {"connection_id":125831,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ca4d88012d7e564005ab3298000600212c..."} 
[2026-07-08 18:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ca4d88012d7e564005ab3298000600212c..."} 
[2026-07-08 18:26:36] local.INFO: Processing buffer {"connection_id":125831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ca4d88012d7e564005ab3298000600212c..."} 
[2026-07-08 18:26:36] local.INFO: Packet analysis {"connection_id":125831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ca"} 
[2026-07-08 18:26:36] local.INFO: Extracted packet for processing {"connection_id":125831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ca"} 
[2026-07-08 18:26:36] local.INFO: GPS Element Parsed {"raw_longitude":763254336,"raw_latitude":95105688,"longitude_deg":76.3254336,"latitude_deg":9.5105688,"altitude":6,"angle":33,"satellites":44,"speed":51,"hex_longitude":"2d7e5640","hex_latitude":"05ab3298","is_valid_coordinates":true} 
[2026-07-08 18:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579890432001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343011584500563968,"note":"Value kept but may cause issues"} 
[2026-07-08 18:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097200902889123840,"note":"Value kept but may cause issues"} 
[2026-07-08 18:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783515205000,"timestamp_ms":1783515205000,"timestamp_seconds":1783515205,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ca4d88"} 
[2026-07-08 18:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 18:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579890432001,"66":27767,"40":206,"85":14336,"24":51,"16":343011584500563968,"45":9097200902889123840},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,45]} 
[2026-07-08 18:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579890432001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:26:36] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-08 18:26:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343011584500563968,"km_value":343011584500563.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097200902889123840,"description":"Unknown IO ID 45"} 
[2026-07-08 18:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579890432001,"power":27767,"unknown_40":206,"unknown_85":14336,"ignition":51,"odometer":null,"unknown_45":9097200902889123840}} 
[2026-07-08 18:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":125831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:26:36] local.INFO: GPS data processed {"connection_id":125831,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:26:36] local.INFO: Acknowledgment sent {"connection_id":125831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:26:37] local.INFO: TCP Data received {"connection_id":126601,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ccbe88012d7e380005d34cc0000200372e..."} 
[2026-07-08 18:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ccbe88012d7e380005d34cc0000200372e..."} 
[2026-07-08 18:26:37] local.INFO: Processing buffer {"connection_id":126601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ccbe88012d7e380005d34cc0000200372e..."} 
[2026-07-08 18:26:37] local.INFO: Packet analysis {"connection_id":126601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41cc"} 
[2026-07-08 18:26:37] local.INFO: Extracted packet for processing {"connection_id":126601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41cc"} 
[2026-07-08 18:26:37] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":46,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579857152001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029521920,"note":"Value kept but may cause issues"} 
[2026-07-08 18:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783515365000,"timestamp_ms":1783515365000,"timestamp_seconds":1783515365,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ccbe88"} 
[2026-07-08 18:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-08 18:26: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-07-08 18:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579857152001,"66":2231,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9094597260029521920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579857152001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:26:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:26:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029521920,"description":"Unknown IO ID 45"} 
[2026-07-08 18:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579857152001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029521920}} 
[2026-07-08 18:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":126601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453055,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:26:37] local.INFO: GPS data processed {"connection_id":126601,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:26:37] local.INFO: Acknowledgment sent {"connection_id":126601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:26:55] local.INFO: TCP Data received {"connection_id":125832,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:26:55] local.INFO: Processing buffer {"connection_id":125832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:26:55] local.INFO: IMEI packet received {"connection_id":125832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":125832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:27:00] local.INFO: TCP Data received {"connection_id":125832,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:27:00] local.INFO: Processing buffer {"connection_id":125832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:27:00] local.INFO: IMEI packet received {"connection_id":125832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":125832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:27:02] local.INFO: TCP Data received {"connection_id":125832,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41cc7838012d7eaa8005ac0dc8000901652b..."} 
[2026-07-08 18:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41cc7838012d7eaa8005ac0dc8000901652b..."} 
[2026-07-08 18:27:02] local.INFO: Processing buffer {"connection_id":125832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41cc7838012d7eaa8005ac0dc8000901652b..."} 
[2026-07-08 18:27:02] local.INFO: Packet analysis {"connection_id":125832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41cc"} 
[2026-07-08 18:27:02] local.INFO: Extracted packet for processing {"connection_id":125832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41cc"} 
[2026-07-08 18:27:02] local.INFO: GPS Element Parsed {"raw_longitude":763275904,"raw_latitude":95161800,"longitude_deg":76.3275904,"latitude_deg":9.51618,"altitude":9,"angle":357,"satellites":43,"speed":0,"hex_longitude":"2d7eaa80","hex_latitude":"05ac0dc8","is_valid_coordinates":true} 
[2026-07-08 18:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579923456001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343014595272638464,"note":"Value kept but may cause issues"} 
[2026-07-08 18:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127248356669177856,"note":"Value kept but may cause issues"} 
[2026-07-08 18:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783515347000,"timestamp_ms":1783515347000,"timestamp_seconds":1783515347,"priority":1,"record_length":96,"hex_timestamp":"0000019f41cc7838"} 
[2026-07-08 18:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:27: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-07-08 18:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-08 18:27:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:27:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579923456001,"66":27908,"40":206,"85":14336,"24":0,"16":343014595272638464,"45":9127248356669177856},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,45]} 
[2026-07-08 18:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579923456001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:27:02] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-08 18:27:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343014595272638464,"km_value":343014595272638.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127248356669177856,"description":"Unknown IO ID 45"} 
[2026-07-08 18:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579923456001,"power":27908,"unknown_40":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":9127248356669177856}} 
[2026-07-08 18:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":125832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:27:02] local.INFO: GPS data processed {"connection_id":125832,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:27:02] local.INFO: Acknowledgment sent {"connection_id":125832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:27:08] local.INFO: TCP Data received {"connection_id":126601,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ccbe88012d7e380005d34cc0000200372e..."} 
[2026-07-08 18:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ccbe88012d7e380005d34cc0000200372e..."} 
[2026-07-08 18:27:08] local.INFO: Processing buffer {"connection_id":126601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ccbe88012d7e380005d34cc0000200372e..."} 
[2026-07-08 18:27:08] local.INFO: Packet analysis {"connection_id":126601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41cc"} 
[2026-07-08 18:27:08] local.INFO: Extracted packet for processing {"connection_id":126601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41cc"} 
[2026-07-08 18:27:08] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":46,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579857152001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029521920,"note":"Value kept but may cause issues"} 
[2026-07-08 18:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783515365000,"timestamp_ms":1783515365000,"timestamp_seconds":1783515365,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ccbe88"} 
[2026-07-08 18:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-08 18:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579857152001,"66":2231,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9094597260029521920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579857152001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:27:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:27:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029521920,"description":"Unknown IO ID 45"} 
[2026-07-08 18:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579857152001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029521920}} 
[2026-07-08 18:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":126601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453057,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:27:08] local.INFO: GPS data processed {"connection_id":126601,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:27:08] local.INFO: Acknowledgment sent {"connection_id":126601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:27:33] local.INFO: TCP Data received {"connection_id":125832,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ccca40012d7eaa8005ac1110000a00042e..."} 
[2026-07-08 18:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ccca40012d7eaa8005ac1110000a00042e..."} 
[2026-07-08 18:27:33] local.INFO: Processing buffer {"connection_id":125832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ccca40012d7eaa8005ac1110000a00042e..."} 
[2026-07-08 18:27:33] local.INFO: Packet analysis {"connection_id":125832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41cc"} 
[2026-07-08 18:27:33] local.INFO: Extracted packet for processing {"connection_id":125832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41cc"} 
[2026-07-08 18:27:33] local.INFO: GPS Element Parsed {"raw_longitude":763275904,"raw_latitude":95162640,"longitude_deg":76.3275904,"latitude_deg":9.516264,"altitude":10,"angle":4,"satellites":46,"speed":14,"hex_longitude":"2d7eaa80","hex_latitude":"05ac1110","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579928832001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343014633927344128,"note":"Value kept but may cause issues"} 
[2026-07-08 18:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127248356669507584,"note":"Value kept but may cause issues"} 
[2026-07-08 18:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783515368000,"timestamp_ms":1783515368000,"timestamp_seconds":1783515368,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ccca40"} 
[2026-07-08 18:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 18:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579928832001,"66":28006,"40":206,"85":14336,"24":14,"16":343014633927344128,"45":9127248356669507584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,45]} 
[2026-07-08 18:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579928832001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:27:33] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-08 18:27:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343014633927344128,"km_value":343014633927344.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127248356669507584,"description":"Unknown IO ID 45"} 
[2026-07-08 18:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579928832001,"power":28006,"unknown_40":206,"unknown_85":14336,"ignition":14,"odometer":null,"unknown_45":9127248356669507584}} 
[2026-07-08 18:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":125832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:27:33] local.INFO: GPS data processed {"connection_id":125832,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:27:33] local.INFO: Acknowledgment sent {"connection_id":125832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:27:36] local.INFO: TCP Data received {"connection_id":125725,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:27:36] local.INFO: Processing buffer {"connection_id":125725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:27:36] local.INFO: IMEI packet received {"connection_id":125725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":125725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:27:41] local.INFO: TCP Data received {"connection_id":125725,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:27:41] local.INFO: Processing buffer {"connection_id":125725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:27:41] local.INFO: IMEI packet received {"connection_id":125725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":125725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:27:42] local.INFO: TCP Data received {"connection_id":125725,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ccbe88012d7e380005d34cc0000200372e..."} 
[2026-07-08 18:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ccbe88012d7e380005d34cc0000200372e..."} 
[2026-07-08 18:27:42] local.INFO: Processing buffer {"connection_id":125725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ccbe88012d7e380005d34cc0000200372e..."} 
[2026-07-08 18:27:42] local.INFO: Packet analysis {"connection_id":125725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41cc"} 
[2026-07-08 18:27:42] local.INFO: Extracted packet for processing {"connection_id":125725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41cc"} 
[2026-07-08 18:27:42] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":46,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579857152001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029521920,"note":"Value kept but may cause issues"} 
[2026-07-08 18:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783515365000,"timestamp_ms":1783515365000,"timestamp_seconds":1783515365,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ccbe88"} 
[2026-07-08 18:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-08 18:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":125725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":125725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":125725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579857152001,"66":2231,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9094597260029521920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579857152001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:27:42] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:27:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029521920,"description":"Unknown IO ID 45"} 
[2026-07-08 18:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579857152001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029521920}} 
[2026-07-08 18:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":125725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453059,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:27:42] local.INFO: GPS data processed {"connection_id":125725,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:27:42] local.INFO: Acknowledgment sent {"connection_id":125725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:27:46] local.INFO: TCP Data received {"connection_id":125725,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ccbe88012d7e380005d34cc0000200372e..."} 
[2026-07-08 18:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ccbe88012d7e380005d34cc0000200372e..."} 
[2026-07-08 18:27:46] local.INFO: Processing buffer {"connection_id":125725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ccbe88012d7e380005d34cc0000200372e..."} 
[2026-07-08 18:27:46] local.INFO: Packet analysis {"connection_id":125725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41cc"} 
[2026-07-08 18:27:46] local.INFO: Extracted packet for processing {"connection_id":125725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41cc"} 
[2026-07-08 18:27:46] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":46,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579857152001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029521920,"note":"Value kept but may cause issues"} 
[2026-07-08 18:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783515365000,"timestamp_ms":1783515365000,"timestamp_seconds":1783515365,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ccbe88"} 
[2026-07-08 18:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-08 18:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":125725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":125725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":125725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579857152001,"66":2231,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9094597260029521920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579857152001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:27:46] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:27:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029521920,"description":"Unknown IO ID 45"} 
[2026-07-08 18:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579857152001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029521920}} 
[2026-07-08 18:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":125725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453060,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:27:47] local.INFO: GPS data processed {"connection_id":125725,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:27:47] local.INFO: Acknowledgment sent {"connection_id":125725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:27:55] local.INFO: TCP Data received {"connection_id":125834,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:27:55] local.INFO: Processing buffer {"connection_id":125834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:27:55] local.INFO: IMEI packet received {"connection_id":125834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":125834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:27:55] local.INFO: TCP Data received {"connection_id":125834,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:27:55] local.INFO: Processing buffer {"connection_id":125834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:27:55] local.INFO: IMEI packet received {"connection_id":125834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":125834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:28:00] local.INFO: TCP Data received {"connection_id":125834,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:28:00] local.INFO: Processing buffer {"connection_id":125834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:28:00] local.INFO: IMEI packet received {"connection_id":125834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":125834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:28:01] local.INFO: TCP Data received {"connection_id":125834,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ccd9e0012d7eaa8005ac15580009015a2e..."} 
[2026-07-08 18:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ccd9e0012d7eaa8005ac15580009015a2e..."} 
[2026-07-08 18:28:01] local.INFO: Processing buffer {"connection_id":125834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ccd9e0012d7eaa8005ac15580009015a2e..."} 
[2026-07-08 18:28:01] local.INFO: Packet analysis {"connection_id":125834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41cc"} 
[2026-07-08 18:28:01] local.INFO: Extracted packet for processing {"connection_id":125834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41cc"} 
[2026-07-08 18:28:01] local.INFO: GPS Element Parsed {"raw_longitude":763275904,"raw_latitude":95163736,"longitude_deg":76.3275904,"latitude_deg":9.5163736,"altitude":9,"angle":346,"satellites":46,"speed":6,"hex_longitude":"2d7eaa80","hex_latitude":"05ac1558","is_valid_coordinates":true} 
[2026-07-08 18:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579934208001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343014689761918976,"note":"Value kept but may cause issues"} 
[2026-07-08 18:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127248356669722624,"note":"Value kept but may cause issues"} 
[2026-07-08 18:28:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783515372000,"timestamp_ms":1783515372000,"timestamp_seconds":1783515372,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ccd9e0"} 
[2026-07-08 18:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 18:28:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:28:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579934208001,"66":27821,"40":206,"85":14336,"24":6,"16":343014689761918976,"45":9127248356669722624},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,45]} 
[2026-07-08 18:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579934208001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:28:01] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-08 18:28:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343014689761918976,"km_value":343014689761919.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127248356669722624,"description":"Unknown IO ID 45"} 
[2026-07-08 18:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579934208001,"power":27821,"unknown_40":206,"unknown_85":14336,"ignition":6,"odometer":null,"unknown_45":9127248356669722624}} 
[2026-07-08 18:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":125834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:28:01] local.INFO: GPS data processed {"connection_id":125834,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:28:01] local.INFO: Acknowledgment sent {"connection_id":125834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:28:21] local.INFO: TCP Data received {"connection_id":125833,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125833,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:28:21] local.INFO: Processing buffer {"connection_id":125833,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:28:21] local.INFO: IMEI packet received {"connection_id":125833,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 18:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":125833,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:28:25] local.INFO: TCP Data received {"connection_id":126603,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:28:25] local.INFO: Processing buffer {"connection_id":126603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:28:25] local.INFO: IMEI packet received {"connection_id":126603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":126603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:28:30] local.INFO: TCP Data received {"connection_id":126603,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:28:30] local.INFO: Processing buffer {"connection_id":126603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:28:30] local.INFO: IMEI packet received {"connection_id":126603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":126603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:28:31] local.INFO: TCP Data received {"connection_id":126604,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126604,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:28:31] local.INFO: Processing buffer {"connection_id":126604,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:28:31] local.INFO: IMEI packet received {"connection_id":126604,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":126604,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:28:31] local.INFO: TCP Data received {"connection_id":126603,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41cd81d8012d7eab0005ac2a18000901672e..."} 
[2026-07-08 18:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41cd81d8012d7eab0005ac2a18000901672e..."} 
[2026-07-08 18:28:31] local.INFO: Processing buffer {"connection_id":126603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41cd81d8012d7eab0005ac2a18000901672e..."} 
[2026-07-08 18:28:31] local.INFO: Packet analysis {"connection_id":126603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41cd"} 
[2026-07-08 18:28:31] local.INFO: Extracted packet for processing {"connection_id":126603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41cd"} 
[2026-07-08 18:28:31] local.INFO: GPS Element Parsed {"raw_longitude":763276032,"raw_latitude":95169048,"longitude_deg":76.3276032,"latitude_deg":9.5169048,"altitude":9,"angle":359,"satellites":46,"speed":0,"hex_longitude":"2d7eab00","hex_latitude":"05ac2a18","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579940864001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343014951754924032,"note":"Value kept but may cause issues"} 
[2026-07-08 18:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127248356670558208,"note":"Value kept but may cause issues"} 
[2026-07-08 18:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783515415000,"timestamp_ms":1783515415000,"timestamp_seconds":1783515415,"priority":1,"record_length":96,"hex_timestamp":"0000019f41cd81d8"} 
[2026-07-08 18:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18: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-07-08 18: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-08 18:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":126603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":126603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":126603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579940864001,"66":27865,"41":206,"85":14336,"24":0,"16":343014951754924032,"45":9127248356670558208},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,85,24,16,45]} 
[2026-07-08 18:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579940864001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:28:31] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-07-08 18:28:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343014951754924032,"km_value":343014951754924.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127248356670558208,"description":"Unknown IO ID 45"} 
[2026-07-08 18:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579940864001,"power":27865,"unknown_41":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":9127248356670558208}} 
[2026-07-08 18:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":126603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:28:31] local.INFO: GPS data processed {"connection_id":126603,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:28:31] local.INFO: Acknowledgment sent {"connection_id":126603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:28:36] local.INFO: TCP Data received {"connection_id":126604,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126604,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:28:36] local.INFO: Processing buffer {"connection_id":126604,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:28:36] local.INFO: IMEI packet received {"connection_id":126604,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":126604,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:28:37] local.INFO: TCP Data received {"connection_id":126604,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ccbe88012d7e380005d34cc0000200372e..."} 
[2026-07-08 18:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ccbe88012d7e380005d34cc0000200372e..."} 
[2026-07-08 18:28:37] local.INFO: Processing buffer {"connection_id":126604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ccbe88012d7e380005d34cc0000200372e..."} 
[2026-07-08 18:28:37] local.INFO: Packet analysis {"connection_id":126604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41cc"} 
[2026-07-08 18:28:37] local.INFO: Extracted packet for processing {"connection_id":126604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41cc"} 
[2026-07-08 18:28:37] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":46,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579857152001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029521920,"note":"Value kept but may cause issues"} 
[2026-07-08 18:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783515365000,"timestamp_ms":1783515365000,"timestamp_seconds":1783515365,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ccbe88"} 
[2026-07-08 18:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-08 18:28: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-07-08 18:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579857152001,"66":2231,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9094597260029521920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579857152001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:28:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:28:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029521920,"description":"Unknown IO ID 45"} 
[2026-07-08 18:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579857152001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029521920}} 
[2026-07-08 18:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":126604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453063,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:28:37] local.INFO: GPS data processed {"connection_id":126604,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:28:37] local.INFO: Acknowledgment sent {"connection_id":126604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:28:55] local.INFO: TCP Data received {"connection_id":127838,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:28:55] local.INFO: Processing buffer {"connection_id":127838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:28:55] local.INFO: IMEI packet received {"connection_id":127838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":127838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:28:56] local.INFO: TCP Data received {"connection_id":127837,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127837,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:28:56] local.INFO: Processing buffer {"connection_id":127837,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:28:56] local.INFO: IMEI packet received {"connection_id":127837,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 18:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":127837,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:28:57] local.INFO: TCP Data received {"connection_id":127838,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:28:57] local.INFO: Processing buffer {"connection_id":127838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:28:57] local.INFO: IMEI packet received {"connection_id":127838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":127838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:29:00] local.INFO: TCP Data received {"connection_id":127838,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:29:00] local.INFO: Processing buffer {"connection_id":127838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:29:00] local.INFO: IMEI packet received {"connection_id":127838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":127838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:29:01] local.INFO: TCP Data received {"connection_id":127838,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41cdd3e0012d7eab0005ac3970000800012f..."} 
[2026-07-08 18:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41cdd3e0012d7eab0005ac3970000800012f..."} 
[2026-07-08 18:29:01] local.INFO: Processing buffer {"connection_id":127838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41cdd3e0012d7eab0005ac3970000800012f..."} 
[2026-07-08 18:29:01] local.INFO: Packet analysis {"connection_id":127838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41cd"} 
[2026-07-08 18:29:01] local.INFO: Extracted packet for processing {"connection_id":127838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41cd"} 
[2026-07-08 18:29:01] local.INFO: GPS Element Parsed {"raw_longitude":763276032,"raw_latitude":95172976,"longitude_deg":76.3276032,"latitude_deg":9.5172976,"altitude":8,"angle":1,"satellites":47,"speed":10,"hex_longitude":"2d7eab00","hex_latitude":"05ac3970","is_valid_coordinates":true} 
[2026-07-08 18:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579946240001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343015145028452352,"note":"Value kept but may cause issues"} 
[2026-07-08 18:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127389094159718400,"note":"Value kept but may cause issues"} 
[2026-07-08 18:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783515436000,"timestamp_ms":1783515436000,"timestamp_seconds":1783515436,"priority":1,"record_length":96,"hex_timestamp":"0000019f41cdd3e0"} 
[2026-07-08 18:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 18:29:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579946240001,"66":27767,"41":206,"85":14336,"24":10,"16":343015145028452352,"45":9127389094159718400},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,85,24,16,45]} 
[2026-07-08 18:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579946240001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:29:01] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-07-08 18:29:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343015145028452352,"km_value":343015145028452.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127389094159718400,"description":"Unknown IO ID 45"} 
[2026-07-08 18:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579946240001,"power":27767,"unknown_41":206,"unknown_85":14336,"ignition":10,"odometer":null,"unknown_45":9127389094159718400}} 
[2026-07-08 18:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":127838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:29:01] local.INFO: GPS data processed {"connection_id":127838,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:29:01] local.INFO: Acknowledgment sent {"connection_id":127838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:29:01] local.INFO: TCP Data received {"connection_id":127839,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:29:01] local.INFO: Processing buffer {"connection_id":127839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:29:01] local.INFO: IMEI packet received {"connection_id":127839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":127839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:29:02] local.INFO: TCP Data received {"connection_id":127839,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ce1260012d1945000720ae60003501242f..."} 
[2026-07-08 18:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ce1260012d1945000720ae60003501242f..."} 
[2026-07-08 18:29:02] local.INFO: Processing buffer {"connection_id":127839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ce1260012d1945000720ae60003501242f..."} 
[2026-07-08 18:29:02] local.INFO: Packet analysis {"connection_id":127839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ce"} 
[2026-07-08 18:29:02] local.INFO: Extracted packet for processing {"connection_id":127839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ce"} 
[2026-07-08 18:29:02] local.INFO: GPS Element Parsed {"raw_longitude":756630784,"raw_latitude":119582304,"longitude_deg":75.6630784,"latitude_deg":11.9582304,"altitude":53,"angle":292,"satellites":47,"speed":31,"hex_longitude":"2d194500","hex_latitude":"0720ae60","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579954688001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4924699695906816,"note":"Value kept but may cause issues"} 
[2026-07-08 18:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824098617186252800,"note":"Value kept but may cause issues"} 
[2026-07-08 18:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783515452000,"timestamp_ms":1783515452000,"timestamp_seconds":1783515452,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ce1260"} 
[2026-07-08 18:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:29:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 18:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579954688001,"66":14428,"103":206,"83":41984,"24":31,"16":4924699695906816,"45":1824098617186252800},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 18:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579954688001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:29:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 18:29:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4924699695906816,"km_value":4924699695906.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824098617186252800,"description":"Unknown IO ID 45"} 
[2026-07-08 18:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579954688001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1824098617186252800}} 
[2026-07-08 18:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":127839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:29:02] local.INFO: GPS data processed {"connection_id":127839,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:29:02] local.INFO: Acknowledgment sent {"connection_id":127839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:29:08] local.INFO: TCP Data received {"connection_id":126604,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ccbe88012d7e380005d34cc0000200372e..."} 
[2026-07-08 18:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ccbe88012d7e380005d34cc0000200372e..."} 
[2026-07-08 18:29:08] local.INFO: Processing buffer {"connection_id":126604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ccbe88012d7e380005d34cc0000200372e..."} 
[2026-07-08 18:29:08] local.INFO: Packet analysis {"connection_id":126604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41cc"} 
[2026-07-08 18:29:08] local.INFO: Extracted packet for processing {"connection_id":126604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41cc"} 
[2026-07-08 18:29:08] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":46,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579857152001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029521920,"note":"Value kept but may cause issues"} 
[2026-07-08 18:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783515365000,"timestamp_ms":1783515365000,"timestamp_seconds":1783515365,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ccbe88"} 
[2026-07-08 18:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-08 18:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579857152001,"66":2231,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9094597260029521920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579857152001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:29:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:29:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029521920,"description":"Unknown IO ID 45"} 
[2026-07-08 18:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579857152001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029521920}} 
[2026-07-08 18:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":126604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453066,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:29:08] local.INFO: GPS data processed {"connection_id":126604,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:29:08] local.INFO: Acknowledgment sent {"connection_id":126604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:29:31] local.INFO: TCP Data received {"connection_id":125835,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125835,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:29:31] local.INFO: Processing buffer {"connection_id":125835,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:29:31] local.INFO: IMEI packet received {"connection_id":125835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":125835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:29:33] local.INFO: TCP Data received {"connection_id":127839,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41cf3370012d18c440072144e0004501632b..."} 
[2026-07-08 18:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41cf3370012d18c440072144e0004501632b..."} 
[2026-07-08 18:29:33] local.INFO: Processing buffer {"connection_id":127839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41cf3370012d18c440072144e0004501632b..."} 
[2026-07-08 18:29:33] local.INFO: Packet analysis {"connection_id":127839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41cf"} 
[2026-07-08 18:29:33] local.INFO: Extracted packet for processing {"connection_id":127839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41cf"} 
[2026-07-08 18:29:33] local.INFO: GPS Element Parsed {"raw_longitude":756597824,"raw_latitude":119620832,"longitude_deg":75.6597824,"latitude_deg":11.9620832,"altitude":69,"angle":355,"satellites":43,"speed":33,"hex_longitude":"2d18c440","hex_latitude":"072144e0","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579974144001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4927328215891968,"note":"Value kept but may cause issues"} 
[2026-07-08 18:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784973595433142272,"note":"Value kept but may cause issues"} 
[2026-07-08 18:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783515526000,"timestamp_ms":1783515526000,"timestamp_seconds":1783515526,"priority":1,"record_length":96,"hex_timestamp":"0000019f41cf3370"} 
[2026-07-08 18:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-08 18:29:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579974144001,"66":14102,"106":206,"83":41984,"24":33,"16":4927328215891968,"45":1784973595433142272},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-08 18:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579974144001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:29:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-08 18:29:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4927328215891968,"km_value":4927328215891.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784973595433142272,"description":"Unknown IO ID 45"} 
[2026-07-08 18:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579974144001,"power":14102,"unknown_106":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1784973595433142272}} 
[2026-07-08 18:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":127839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:29:33] local.INFO: GPS data processed {"connection_id":127839,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:29:33] local.INFO: Acknowledgment sent {"connection_id":127839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:29:36] local.INFO: TCP Data received {"connection_id":125835,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125835,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:29:36] local.INFO: Processing buffer {"connection_id":125835,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:29:36] local.INFO: IMEI packet received {"connection_id":125835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":125835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:29:37] local.INFO: TCP Data received {"connection_id":125835,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ccbe88012d7e380005d34cc0000200372e..."} 
[2026-07-08 18:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ccbe88012d7e380005d34cc0000200372e..."} 
[2026-07-08 18:29:37] local.INFO: Processing buffer {"connection_id":125835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ccbe88012d7e380005d34cc0000200372e..."} 
[2026-07-08 18:29:37] local.INFO: Packet analysis {"connection_id":125835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41cc"} 
[2026-07-08 18:29:37] local.INFO: Extracted packet for processing {"connection_id":125835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41cc"} 
[2026-07-08 18:29:37] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":46,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579857152001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029521920,"note":"Value kept but may cause issues"} 
[2026-07-08 18:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783515365000,"timestamp_ms":1783515365000,"timestamp_seconds":1783515365,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ccbe88"} 
[2026-07-08 18:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-08 18:29: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-07-08 18:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579857152001,"66":2231,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9094597260029521920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579857152001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:29:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:29:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029521920,"description":"Unknown IO ID 45"} 
[2026-07-08 18:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579857152001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029521920}} 
[2026-07-08 18:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":125835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453068,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:29:37] local.INFO: GPS data processed {"connection_id":125835,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:29:37] local.INFO: Acknowledgment sent {"connection_id":125835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:29:54] local.INFO: TCP Data received {"connection_id":127838,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ce25e8012d7eab0005ac4878000801632d..."} 
[2026-07-08 18:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ce25e8012d7eab0005ac4878000801632d..."} 
[2026-07-08 18:29:54] local.INFO: Processing buffer {"connection_id":127838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ce25e8012d7eab0005ac4878000801632d..."} 
[2026-07-08 18:29:54] local.INFO: Packet analysis {"connection_id":127838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ce"} 
[2026-07-08 18:29:54] local.INFO: Extracted packet for processing {"connection_id":127838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ce"} 
[2026-07-08 18:29:54] local.INFO: GPS Element Parsed {"raw_longitude":763276032,"raw_latitude":95176824,"longitude_deg":76.3276032,"latitude_deg":9.5176824,"altitude":8,"angle":355,"satellites":45,"speed":7,"hex_longitude":"2d7eab00","hex_latitude":"05ac4878","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579951616001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343015334007013376,"note":"Value kept but may cause issues"} 
[2026-07-08 18:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127389094160723968,"note":"Value kept but may cause issues"} 
[2026-07-08 18:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783515457000,"timestamp_ms":1783515457000,"timestamp_seconds":1783515457,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ce25e8"} 
[2026-07-08 18:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:29: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-07-08 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 18:29: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-07-08 18: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-07-08 18:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":127838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":127838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":127838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579951616001,"66":27713,"170":206,"85":14336,"24":7,"16":343015334007013376,"45":9127389094160723968},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-07-08 18:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579951616001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:29:54] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-08 18:29:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343015334007013376,"km_value":343015334007013.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127389094160723968,"description":"Unknown IO ID 45"} 
[2026-07-08 18:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579951616001,"power":27713,"unknown_170":206,"unknown_85":14336,"ignition":7,"odometer":null,"unknown_45":9127389094160723968}} 
[2026-07-08 18:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":127838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:29:54] local.INFO: GPS data processed {"connection_id":127838,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:29:54] local.INFO: Acknowledgment sent {"connection_id":127838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:30:00] local.INFO: TCP Data received {"connection_id":125727,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:30:00] local.INFO: Processing buffer {"connection_id":125727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:30:00] local.INFO: IMEI packet received {"connection_id":125727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":125727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:30:00] local.INFO: TCP Data received {"connection_id":126605,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:30:00] local.INFO: Processing buffer {"connection_id":126605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:30:00] local.INFO: IMEI packet received {"connection_id":126605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":126605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:30:01] local.INFO: TCP Data received {"connection_id":126605,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:30:01] local.INFO: Processing buffer {"connection_id":126605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:30:01] local.INFO: IMEI packet received {"connection_id":126605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":126605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:30:02] local.INFO: TCP Data received {"connection_id":125727,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:30:02] local.INFO: Processing buffer {"connection_id":125727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:30:02] local.INFO: IMEI packet received {"connection_id":125727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":125727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:30:05] local.INFO: TCP Data received {"connection_id":125727,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:30:05] local.INFO: Processing buffer {"connection_id":125727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:30:05] local.INFO: IMEI packet received {"connection_id":125727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":125727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:30:05] local.INFO: TCP Data received {"connection_id":126605,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:30:05] local.INFO: Processing buffer {"connection_id":126605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:30:05] local.INFO: IMEI packet received {"connection_id":126605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":126605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:30:06] local.INFO: TCP Data received {"connection_id":125727,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41cf46f8012d18c240072154c80046014e2d..."} 
[2026-07-08 18:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41cf46f8012d18c240072154c80046014e2d..."} 
[2026-07-08 18:30:06] local.INFO: Processing buffer {"connection_id":125727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41cf46f8012d18c240072154c80046014e2d..."} 
[2026-07-08 18:30:06] local.INFO: Packet analysis {"connection_id":125727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41cf"} 
[2026-07-08 18:30:06] local.INFO: Extracted packet for processing {"connection_id":125727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41cf"} 
[2026-07-08 18:30:06] local.INFO: GPS Element Parsed {"raw_longitude":756597312,"raw_latitude":119624904,"longitude_deg":75.6597312,"latitude_deg":11.9624904,"altitude":70,"angle":334,"satellites":45,"speed":31,"hex_longitude":"2d18c240","hex_latitude":"072154c8","is_valid_coordinates":true} 
[2026-07-08 18:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579974656001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4927530079354880,"note":"Value kept but may cause issues"} 
[2026-07-08 18:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784621751712669696,"note":"Value kept but may cause issues"} 
[2026-07-08 18:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783515531000,"timestamp_ms":1783515531000,"timestamp_seconds":1783515531,"priority":1,"record_length":96,"hex_timestamp":"0000019f41cf46f8"} 
[2026-07-08 18:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-08 18:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579974656001,"66":14048,"106":206,"83":41984,"24":31,"16":4927530079354880,"45":1784621751712669696},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-08 18:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579974656001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:30:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-08 18:30:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4927530079354880,"km_value":4927530079354.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784621751712669696,"description":"Unknown IO ID 45"} 
[2026-07-08 18:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579974656001,"power":14048,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1784621751712669696}} 
[2026-07-08 18:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":125727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:30:06] local.INFO: GPS data processed {"connection_id":125727,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:30:06] local.INFO: Acknowledgment sent {"connection_id":125727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:30:06] local.INFO: TCP Data received {"connection_id":126605,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ce77f0012d7eaac005ac6118000701672f..."} 
[2026-07-08 18:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ce77f0012d7eaac005ac6118000701672f..."} 
[2026-07-08 18:30:06] local.INFO: Processing buffer {"connection_id":126605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ce77f0012d7eaac005ac6118000701672f..."} 
[2026-07-08 18:30:06] local.INFO: Packet analysis {"connection_id":126605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ce"} 
[2026-07-08 18:30:06] local.INFO: Extracted packet for processing {"connection_id":126605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ce"} 
[2026-07-08 18:30:06] local.INFO: GPS Element Parsed {"raw_longitude":763275968,"raw_latitude":95183128,"longitude_deg":76.3275968,"latitude_deg":9.5183128,"altitude":7,"angle":359,"satellites":47,"speed":18,"hex_longitude":"2d7eaac0","hex_latitude":"05ac6118","is_valid_coordinates":true} 
[2026-07-08 18:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579956992001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343015643244658688,"note":"Value kept but may cause issues"} 
[2026-07-08 18:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127389094161709056,"note":"Value kept but may cause issues"} 
[2026-07-08 18:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783515478000,"timestamp_ms":1783515478000,"timestamp_seconds":1783515478,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ce77f0"} 
[2026-07-08 18:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 18:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579956992001,"66":27865,"170":206,"85":14336,"24":18,"16":343015643244658688,"45":9127389094161709056},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-07-08 18:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579956992001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:30:06] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-08 18:30:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343015643244658688,"km_value":343015643244658.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127389094161709056,"description":"Unknown IO ID 45"} 
[2026-07-08 18:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579956992001,"power":27865,"unknown_170":206,"unknown_85":14336,"ignition":18,"odometer":null,"unknown_45":9127389094161709056}} 
[2026-07-08 18:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":126605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:30:06] local.INFO: GPS data processed {"connection_id":126605,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:30:06] local.INFO: Acknowledgment sent {"connection_id":126605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:30:07] local.INFO: TCP Data received {"connection_id":125727,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41cf52b0012d18bd0007215c70004701432e..."} 
[2026-07-08 18:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41cf52b0012d18bd0007215c70004701432e..."} 
[2026-07-08 18:30:07] local.INFO: Processing buffer {"connection_id":125727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41cf52b0012d18bd0007215c70004701432e..."} 
[2026-07-08 18:30:07] local.INFO: Packet analysis {"connection_id":125727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41cf"} 
[2026-07-08 18:30:07] local.INFO: Extracted packet for processing {"connection_id":125727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41cf"} 
[2026-07-08 18:30:07] local.INFO: GPS Element Parsed {"raw_longitude":756595968,"raw_latitude":119626864,"longitude_deg":75.6595968,"latitude_deg":11.9626864,"altitude":71,"angle":323,"satellites":46,"speed":32,"hex_longitude":"2d18bd00","hex_latitude":"07215c70","is_valid_coordinates":true} 
[2026-07-08 18:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579975936001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4927641748504576,"note":"Value kept but may cause issues"} 
[2026-07-08 18:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784058801760290816,"note":"Value kept but may cause issues"} 
[2026-07-08 18:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783515534000,"timestamp_ms":1783515534000,"timestamp_seconds":1783515534,"priority":1,"record_length":96,"hex_timestamp":"0000019f41cf52b0"} 
[2026-07-08 18:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-08 18:30: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-07-08 18:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579975936001,"66":14004,"106":206,"83":41984,"24":32,"16":4927641748504576,"45":1784058801760290816},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-08 18:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579975936001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:30:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-08 18:30:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4927641748504576,"km_value":4927641748504.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784058801760290816,"description":"Unknown IO ID 45"} 
[2026-07-08 18:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579975936001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1784058801760290816}} 
[2026-07-08 18:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":125727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:30:07] local.INFO: GPS data processed {"connection_id":125727,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:30:07] local.INFO: Acknowledgment sent {"connection_id":125727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:30:08] local.INFO: TCP Data received {"connection_id":125835,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ccbe88012d7e380005d34cc0000200372e..."} 
[2026-07-08 18:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ccbe88012d7e380005d34cc0000200372e..."} 
[2026-07-08 18:30:08] local.INFO: Processing buffer {"connection_id":125835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ccbe88012d7e380005d34cc0000200372e..."} 
[2026-07-08 18:30:08] local.INFO: Packet analysis {"connection_id":125835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41cc"} 
[2026-07-08 18:30:08] local.INFO: Extracted packet for processing {"connection_id":125835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41cc"} 
[2026-07-08 18:30:08] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":46,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579857152001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029521920,"note":"Value kept but may cause issues"} 
[2026-07-08 18:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783515365000,"timestamp_ms":1783515365000,"timestamp_seconds":1783515365,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ccbe88"} 
[2026-07-08 18:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-08 18:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579857152001,"66":2231,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9094597260029521920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579857152001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:30:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:30:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029521920,"description":"Unknown IO ID 45"} 
[2026-07-08 18:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579857152001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029521920}} 
[2026-07-08 18:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":125835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453073,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:30:08] local.INFO: GPS data processed {"connection_id":125835,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:30:08] local.INFO: Acknowledgment sent {"connection_id":125835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:30:11] local.INFO: TCP Data received {"connection_id":126605,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41cec9f8012d7eaa4005ac8038000701652e..."} 
[2026-07-08 18:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41cec9f8012d7eaa4005ac8038000701652e..."} 
[2026-07-08 18:30:11] local.INFO: Processing buffer {"connection_id":126605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41cec9f8012d7eaa4005ac8038000701652e..."} 
[2026-07-08 18:30:11] local.INFO: Packet analysis {"connection_id":126605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ce"} 
[2026-07-08 18:30:11] local.INFO: Extracted packet for processing {"connection_id":126605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ce"} 
[2026-07-08 18:30:11] local.INFO: GPS Element Parsed {"raw_longitude":763275840,"raw_latitude":95191096,"longitude_deg":76.327584,"latitude_deg":9.5191096,"altitude":7,"angle":357,"satellites":46,"speed":15,"hex_longitude":"2d7eaa40","hex_latitude":"05ac8038","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579962368001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343016029791715328,"note":"Value kept but may cause issues"} 
[2026-07-08 18:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127318725419145216,"note":"Value kept but may cause issues"} 
[2026-07-08 18:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783515499000,"timestamp_ms":1783515499000,"timestamp_seconds":1783515499,"priority":1,"record_length":96,"hex_timestamp":"0000019f41cec9f8"} 
[2026-07-08 18:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 18:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579962368001,"66":27919,"169":206,"85":14336,"24":15,"16":343016029791715328,"45":9127318725419145216},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-08 18:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579962368001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:30:11] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-08 18:30:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343016029791715328,"km_value":343016029791715.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127318725419145216,"description":"Unknown IO ID 45"} 
[2026-07-08 18:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579962368001,"power":27919,"unknown_169":206,"unknown_85":14336,"ignition":15,"odometer":null,"unknown_45":9127318725419145216}} 
[2026-07-08 18:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":126605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:30:11] local.INFO: GPS data processed {"connection_id":126605,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:30:11] local.INFO: Acknowledgment sent {"connection_id":126605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:30:36] local.INFO: TCP Data received {"connection_id":127840,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127840,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:30:36] local.INFO: Processing buffer {"connection_id":127840,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:30:36] local.INFO: IMEI packet received {"connection_id":127840,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":127840,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:30:38] local.INFO: TCP Data received {"connection_id":125727,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41cf79c0012d18aa40072173c0004b012c2c..."} 
[2026-07-08 18:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41cf79c0012d18aa40072173c0004b012c2c..."} 
[2026-07-08 18:30:38] local.INFO: Processing buffer {"connection_id":125727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41cf79c0012d18aa40072173c0004b012c2c..."} 
[2026-07-08 18:30:38] local.INFO: Packet analysis {"connection_id":125727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41cf"} 
[2026-07-08 18:30:38] local.INFO: Extracted packet for processing {"connection_id":125727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41cf"} 
[2026-07-08 18:30:38] local.INFO: GPS Element Parsed {"raw_longitude":756591168,"raw_latitude":119632832,"longitude_deg":75.6591168,"latitude_deg":11.9632832,"altitude":75,"angle":300,"satellites":44,"speed":27,"hex_longitude":"2d18aa40","hex_latitude":"072173c0","is_valid_coordinates":true} 
[2026-07-08 18:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579976704001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4928011115692032,"note":"Value kept but may cause issues"} 
[2026-07-08 18:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782581058133061632,"note":"Value kept but may cause issues"} 
[2026-07-08 18:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783515544000,"timestamp_ms":1783515544000,"timestamp_seconds":1783515544,"priority":1,"record_length":96,"hex_timestamp":"0000019f41cf79c0"} 
[2026-07-08 18:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-08 18:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579976704001,"66":13167,"106":206,"83":41984,"24":27,"16":4928011115692032,"45":1782581058133061632},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-08 18:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579976704001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:30:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-08 18:30:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4928011115692032,"km_value":4928011115692.032,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782581058133061632,"description":"Unknown IO ID 45"} 
[2026-07-08 18:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579976704001,"power":13167,"unknown_106":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1782581058133061632}} 
[2026-07-08 18:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":125727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:30:38] local.INFO: GPS data processed {"connection_id":125727,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:30:38] local.INFO: Acknowledgment sent {"connection_id":125727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:30:41] local.INFO: TCP Data received {"connection_id":127840,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127840,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:30:41] local.INFO: Processing buffer {"connection_id":127840,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:30:41] local.INFO: IMEI packet received {"connection_id":127840,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":127840,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:30:42] local.INFO: TCP Data received {"connection_id":127840,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ccbe88012d7e380005d34cc0000200372e..."} 
[2026-07-08 18:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ccbe88012d7e380005d34cc0000200372e..."} 
[2026-07-08 18:30:42] local.INFO: Processing buffer {"connection_id":127840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ccbe88012d7e380005d34cc0000200372e..."} 
[2026-07-08 18:30:42] local.INFO: Packet analysis {"connection_id":127840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41cc"} 
[2026-07-08 18:30:42] local.INFO: Extracted packet for processing {"connection_id":127840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41cc"} 
[2026-07-08 18:30:42] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":46,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579857152001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029521920,"note":"Value kept but may cause issues"} 
[2026-07-08 18:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783515365000,"timestamp_ms":1783515365000,"timestamp_seconds":1783515365,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ccbe88"} 
[2026-07-08 18:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-08 18:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":127840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":127840,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":127840,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579857152001,"66":2231,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9094597260029521920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579857152001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:30:42] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:30:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029521920,"description":"Unknown IO ID 45"} 
[2026-07-08 18:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579857152001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029521920}} 
[2026-07-08 18:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":127840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453076,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:30:42] local.INFO: GPS data processed {"connection_id":127840,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:30:42] local.INFO: Acknowledgment sent {"connection_id":127840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:30:46] local.INFO: TCP Data received {"connection_id":127840,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ccbe88012d7e380005d34cc0000200372e..."} 
[2026-07-08 18:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ccbe88012d7e380005d34cc0000200372e..."} 
[2026-07-08 18:30:46] local.INFO: Processing buffer {"connection_id":127840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ccbe88012d7e380005d34cc0000200372e..."} 
[2026-07-08 18:30:46] local.INFO: Packet analysis {"connection_id":127840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41cc"} 
[2026-07-08 18:30:46] local.INFO: Extracted packet for processing {"connection_id":127840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41cc"} 
[2026-07-08 18:30:46] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":46,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 18:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579857152001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029521920,"note":"Value kept but may cause issues"} 
[2026-07-08 18:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783515365000,"timestamp_ms":1783515365000,"timestamp_seconds":1783515365,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ccbe88"} 
[2026-07-08 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-07-08 18:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-08 18:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 18:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":127840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":127840,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":127840,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579857152001,"66":2231,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9094597260029521920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579857152001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:30:46] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:30:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029521920,"description":"Unknown IO ID 45"} 
[2026-07-08 18:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579857152001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029521920}} 
[2026-07-08 18:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":127840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453077,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:30:46] local.INFO: GPS data processed {"connection_id":127840,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:30:46] local.INFO: Acknowledgment sent {"connection_id":127840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:30:55] local.INFO: TCP Data received {"connection_id":126607,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:30:55] local.INFO: Processing buffer {"connection_id":126607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:30:55] local.INFO: IMEI packet received {"connection_id":126607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":126607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:30:55] local.INFO: TCP Data received {"connection_id":126607,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:30:55] local.INFO: Processing buffer {"connection_id":126607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:30:55] local.INFO: IMEI packet received {"connection_id":126607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":126607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:31:00] local.INFO: TCP Data received {"connection_id":126607,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:31:00] local.INFO: Processing buffer {"connection_id":126607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:31:00] local.INFO: IMEI packet received {"connection_id":126607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":126607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:31:01] local.INFO: TCP Data received {"connection_id":126607,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41cf1c00012d7eaa0005ac8738000601662e..."} 
[2026-07-08 18:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41cf1c00012d7eaa0005ac8738000601662e..."} 
[2026-07-08 18:31:01] local.INFO: Processing buffer {"connection_id":126607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41cf1c00012d7eaa0005ac8738000601662e..."} 
[2026-07-08 18:31:01] local.INFO: Packet analysis {"connection_id":126607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41cf"} 
[2026-07-08 18:31:01] local.INFO: Extracted packet for processing {"connection_id":126607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41cf"} 
[2026-07-08 18:31:01] local.INFO: GPS Element Parsed {"raw_longitude":763275776,"raw_latitude":95192888,"longitude_deg":76.3275776,"latitude_deg":9.5192888,"altitude":6,"angle":358,"satellites":46,"speed":0,"hex_longitude":"2d7eaa00","hex_latitude":"05ac8738","is_valid_coordinates":true} 
[2026-07-08 18:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579967744001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343016119986028544,"note":"Value kept but may cause issues"} 
[2026-07-08 18:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127177987932829696,"note":"Value kept but may cause issues"} 
[2026-07-08 18:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783515520000,"timestamp_ms":1783515520000,"timestamp_seconds":1783515520,"priority":1,"record_length":96,"hex_timestamp":"0000019f41cf1c00"} 
[2026-07-08 18:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 18:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:31:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579967744001,"66":27800,"169":206,"85":14336,"24":0,"16":343016119986028544,"45":9127177987932829696},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-08 18:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579967744001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:31:01] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-08 18:31:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343016119986028544,"km_value":343016119986028.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127177987932829696,"description":"Unknown IO ID 45"} 
[2026-07-08 18:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579967744001,"power":27800,"unknown_169":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":9127177987932829696}} 
[2026-07-08 18:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":126607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:31:01] local.INFO: GPS data processed {"connection_id":126607,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:31:01] local.INFO: Acknowledgment sent {"connection_id":126607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:31:02] local.INFO: TCP Data received {"connection_id":125836,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:31:02] local.INFO: Processing buffer {"connection_id":125836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:31:02] local.INFO: IMEI packet received {"connection_id":125836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":125836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:31:05] local.INFO: TCP Data received {"connection_id":125836,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:31:05] local.INFO: Processing buffer {"connection_id":125836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:31:05] local.INFO: IMEI packet received {"connection_id":125836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":125836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:31:06] local.INFO: TCP Data received {"connection_id":126607,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41cf6e08012d7eaa0005ac8a78000701642f..."} 
[2026-07-08 18:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41cf6e08012d7eaa0005ac8a78000701642f..."} 
[2026-07-08 18:31:06] local.INFO: Processing buffer {"connection_id":126607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41cf6e08012d7eaa0005ac8a78000701642f..."} 
[2026-07-08 18:31:06] local.INFO: Packet analysis {"connection_id":126607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41cf"} 
[2026-07-08 18:31:06] local.INFO: Extracted packet for processing {"connection_id":126607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41cf"} 
[2026-07-08 18:31:06] local.INFO: GPS Element Parsed {"raw_longitude":763275776,"raw_latitude":95193720,"longitude_deg":76.3275776,"latitude_deg":9.519372,"altitude":7,"angle":356,"satellites":47,"speed":10,"hex_longitude":"2d7eaa00","hex_latitude":"05ac8a78","is_valid_coordinates":true} 
[2026-07-08 18:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579973120001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343016158640734208,"note":"Value kept but may cause issues"} 
[2026-07-08 18:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127107619189110784,"note":"Value kept but may cause issues"} 
[2026-07-08 18:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783515541000,"timestamp_ms":1783515541000,"timestamp_seconds":1783515541,"priority":1,"record_length":96,"hex_timestamp":"0000019f41cf6e08"} 
[2026-07-08 18:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 18:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579973120001,"66":27876,"169":206,"85":14336,"24":10,"16":343016158640734208,"45":9127107619189110784},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-08 18:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579973120001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:31:06] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-08 18:31:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343016158640734208,"km_value":343016158640734.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127107619189110784,"description":"Unknown IO ID 45"} 
[2026-07-08 18:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579973120001,"power":27876,"unknown_169":206,"unknown_85":14336,"ignition":10,"odometer":null,"unknown_45":9127107619189110784}} 
[2026-07-08 18:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":126607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:31:06] local.INFO: GPS data processed {"connection_id":126607,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:31:06] local.INFO: Acknowledgment sent {"connection_id":126607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:31:16] local.INFO: TCP Data received {"connection_id":125836,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41cf8190012d18a500072175f8004b01202c..."} 
[2026-07-08 18:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41cf8190012d18a500072175f8004b01202c..."} 
[2026-07-08 18:31:16] local.INFO: Processing buffer {"connection_id":125836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41cf8190012d18a500072175f8004b01202c..."} 
[2026-07-08 18:31:16] local.INFO: Packet analysis {"connection_id":125836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41cf"} 
[2026-07-08 18:31:16] local.INFO: Extracted packet for processing {"connection_id":125836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41cf"} 
[2026-07-08 18:31:16] local.INFO: GPS Element Parsed {"raw_longitude":756589824,"raw_latitude":119633400,"longitude_deg":75.6589824,"latitude_deg":11.96334,"altitude":75,"angle":288,"satellites":44,"speed":29,"hex_longitude":"2d18a500","hex_latitude":"072175f8","is_valid_coordinates":true} 
[2026-07-08 18:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579979264001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4928084130136064,"note":"Value kept but may cause issues"} 
[2026-07-08 18:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777303402321264640,"note":"Value kept but may cause issues"} 
[2026-07-08 18:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783515546000,"timestamp_ms":1783515546000,"timestamp_seconds":1783515546,"priority":1,"record_length":96,"hex_timestamp":"0000019f41cf8190"} 
[2026-07-08 18:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-08 18:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":125836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":125836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":125836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579979264001,"66":13080,"106":206,"83":41984,"24":29,"16":4928084130136064,"45":1777303402321264640},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-08 18:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579979264001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:31:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-08 18:31:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4928084130136064,"km_value":4928084130136.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777303402321264640,"description":"Unknown IO ID 45"} 
[2026-07-08 18:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579979264001,"power":13080,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1777303402321264640}} 
[2026-07-08 18:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":125836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:31:16] local.INFO: GPS data processed {"connection_id":125836,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:31:16] local.INFO: Acknowledgment sent {"connection_id":125836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:31:22] local.INFO: TCP Data received {"connection_id":125836,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41cfb070012d18830007218290004b01172c..."} 
[2026-07-08 18:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41cfb070012d18830007218290004b01172c..."} 
[2026-07-08 18:31:22] local.INFO: Processing buffer {"connection_id":125836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41cfb070012d18830007218290004b01172c..."} 
[2026-07-08 18:31:22] local.INFO: Packet analysis {"connection_id":125836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41cf"} 
[2026-07-08 18:31:22] local.INFO: Extracted packet for processing {"connection_id":125836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41cf"} 
[2026-07-08 18:31:22] local.INFO: GPS Element Parsed {"raw_longitude":756581120,"raw_latitude":119636624,"longitude_deg":75.658112,"latitude_deg":11.9636624,"altitude":75,"angle":279,"satellites":44,"speed":25,"hex_longitude":"2d188300","hex_latitude":"07218290","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579979776001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4928526511767552,"note":"Value kept but may cause issues"} 
[2026-07-08 18:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775825658693679104,"note":"Value kept but may cause issues"} 
[2026-07-08 18:31: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-07-08 18:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783515558000,"timestamp_ms":1783515558000,"timestamp_seconds":1783515558,"priority":1,"record_length":96,"hex_timestamp":"0000019f41cfb070"} 
[2026-07-08 18:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-08 18:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579979776001,"66":13156,"106":206,"83":41984,"24":25,"16":4928526511767552,"45":1775825658693679104},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-08 18:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579979776001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:31:22] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-08 18:31:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4928526511767552,"km_value":4928526511767.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775825658693679104,"description":"Unknown IO ID 45"} 
[2026-07-08 18:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579979776001,"power":13156,"unknown_106":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1775825658693679104}} 
[2026-07-08 18:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":125836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:31:22] local.INFO: GPS data processed {"connection_id":125836,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:31:22] local.INFO: Acknowledgment sent {"connection_id":125836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:31:31] local.INFO: TCP Data received {"connection_id":126608,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126608,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:31:31] local.INFO: Processing buffer {"connection_id":126608,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:31:31] local.INFO: IMEI packet received {"connection_id":126608,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":126608,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:31:36] local.INFO: TCP Data received {"connection_id":126608,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126608,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:31:36] local.INFO: Processing buffer {"connection_id":126608,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:31:36] local.INFO: IMEI packet received {"connection_id":126608,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":126608,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:31:37] local.INFO: TCP Data received {"connection_id":126608,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d15650012d7e380005d34cc0000200372f..."} 
[2026-07-08 18:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d15650012d7e380005d34cc0000200372f..."} 
[2026-07-08 18:31:37] local.INFO: Processing buffer {"connection_id":126608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d15650012d7e380005d34cc0000200372f..."} 
[2026-07-08 18:31:37] local.INFO: Packet analysis {"connection_id":126608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d1"} 
[2026-07-08 18:31:37] local.INFO: Extracted packet for processing {"connection_id":126608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d1"} 
[2026-07-08 18:31:37] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":47,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579933440001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783515666000,"timestamp_ms":1783515666000,"timestamp_seconds":1783515666,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d15650"} 
[2026-07-08 18:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 18:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579933440001,"66":2209,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579933440001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:31:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:31:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579933440001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":126608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453082,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:31:37] local.INFO: GPS data processed {"connection_id":126608,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:31:37] local.INFO: Acknowledgment sent {"connection_id":126608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:31:37] local.INFO: TCP Data received {"connection_id":126607,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41cfc010012d7ea84005acaa40000701622e..."} 
[2026-07-08 18:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41cfc010012d7ea84005acaa40000701622e..."} 
[2026-07-08 18:31:37] local.INFO: Processing buffer {"connection_id":126607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41cfc010012d7ea84005acaa40000701622e..."} 
[2026-07-08 18:31:37] local.INFO: Packet analysis {"connection_id":126607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41cf"} 
[2026-07-08 18:31:37] local.INFO: Extracted packet for processing {"connection_id":126607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41cf"} 
[2026-07-08 18:31:37] local.INFO: GPS Element Parsed {"raw_longitude":763275328,"raw_latitude":95201856,"longitude_deg":76.3275328,"latitude_deg":9.5201856,"altitude":7,"angle":354,"satellites":46,"speed":8,"hex_longitude":"2d7ea840","hex_latitude":"05acaa40","is_valid_coordinates":true} 
[2026-07-08 18:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579978496001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343016558072692736,"note":"Value kept but may cause issues"} 
[2026-07-08 18:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127107619189323776,"note":"Value kept but may cause issues"} 
[2026-07-08 18:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783515562000,"timestamp_ms":1783515562000,"timestamp_seconds":1783515562,"priority":1,"record_length":96,"hex_timestamp":"0000019f41cfc010"} 
[2026-07-08 18:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 18:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579978496001,"66":27745,"169":206,"85":14336,"24":8,"16":343016558072692736,"45":9127107619189323776},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-08 18:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579978496001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:31:37] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-08 18:31:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343016558072692736,"km_value":343016558072692.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127107619189323776,"description":"Unknown IO ID 45"} 
[2026-07-08 18:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579978496001,"power":27745,"unknown_169":206,"unknown_85":14336,"ignition":8,"odometer":null,"unknown_45":9127107619189323776}} 
[2026-07-08 18:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":126607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:31:37] local.INFO: GPS data processed {"connection_id":126607,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:31:37] local.INFO: Acknowledgment sent {"connection_id":126607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:31:59] local.INFO: TCP Data received {"connection_id":126611,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:31:59] local.INFO: Processing buffer {"connection_id":126611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:31:59] local.INFO: IMEI packet received {"connection_id":126611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":126611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:32:00] local.INFO: TCP Data received {"connection_id":126610,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:32:00] local.INFO: Processing buffer {"connection_id":126610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:32:00] local.INFO: IMEI packet received {"connection_id":126610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":126610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:32:04] local.INFO: TCP Data received {"connection_id":126610,"ip":"42.106.6.46","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 18:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126610,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 18:32:04] local.INFO: Processing buffer {"connection_id":126610,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 18:32:04] local.INFO: IMEI packet received {"connection_id":126610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":126610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:32:05] local.INFO: TCP Data received {"connection_id":126611,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:32:05] local.INFO: Processing buffer {"connection_id":126611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:32:05] local.INFO: IMEI packet received {"connection_id":126611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":126611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:32:05] local.INFO: TCP Data received {"connection_id":126611,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41cfc3f8012d1877c0072182f8004c010a30..."} 
[2026-07-08 18:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41cfc3f8012d1877c0072182f8004c010a30..."} 
[2026-07-08 18:32:05] local.INFO: Processing buffer {"connection_id":126611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41cfc3f8012d1877c0072182f8004c010a30..."} 
[2026-07-08 18:32:05] local.INFO: Packet analysis {"connection_id":126611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41cf"} 
[2026-07-08 18:32:05] local.INFO: Extracted packet for processing {"connection_id":126611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41cf"} 
[2026-07-08 18:32:05] local.INFO: GPS Element Parsed {"raw_longitude":756578240,"raw_latitude":119636728,"longitude_deg":75.657824,"latitude_deg":11.9636728,"altitude":76,"angle":266,"satellites":48,"speed":24,"hex_longitude":"2d1877c0","hex_latitude":"072182f8","is_valid_coordinates":true} 
[2026-07-08 18:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579982848001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4928663950721024,"note":"Value kept but may cause issues"} 
[2026-07-08 18:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766255509486342144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783515563000,"timestamp_ms":1783515563000,"timestamp_seconds":1783515563,"priority":1,"record_length":96,"hex_timestamp":"0000019f41cfc3f8"} 
[2026-07-08 18:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-07-08 18:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579982848001,"66":13135,"106":206,"83":41984,"24":24,"16":4928663950721024,"45":1766255509486342144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-08 18:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579982848001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:32:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-08 18:32:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4928663950721024,"km_value":4928663950721.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766255509486342144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579982848001,"power":13135,"unknown_106":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1766255509486342144}} 
[2026-07-08 18:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":126611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:32:05] local.INFO: GPS data processed {"connection_id":126611,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:32:05] local.INFO: Acknowledgment sent {"connection_id":126611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:32:06] local.INFO: TCP Data received {"connection_id":126610,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d01218012d7ea74005acc7c8000901632c..."} 
[2026-07-08 18:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d01218012d7ea74005acc7c8000901632c..."} 
[2026-07-08 18:32:06] local.INFO: Processing buffer {"connection_id":126610,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f41..."} 
[2026-07-08 18:32:06] local.INFO: IMEI packet received {"connection_id":126610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":126610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:32:08] local.INFO: TCP Data received {"connection_id":126608,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d15650012d7e380005d34cc0000200372f..."} 
[2026-07-08 18:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d15650012d7e380005d34cc0000200372f..."} 
[2026-07-08 18:32:08] local.INFO: Processing buffer {"connection_id":126608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d15650012d7e380005d34cc0000200372f..."} 
[2026-07-08 18:32:08] local.INFO: Packet analysis {"connection_id":126608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d1"} 
[2026-07-08 18:32:08] local.INFO: Extracted packet for processing {"connection_id":126608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d1"} 
[2026-07-08 18:32:08] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":47,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579933440001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783515666000,"timestamp_ms":1783515666000,"timestamp_seconds":1783515666,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d15650"} 
[2026-07-08 18:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:32: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-07-08 18: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 18:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579933440001,"66":2209,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579933440001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:32:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:32:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579933440001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":126608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453085,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:32:08] local.INFO: GPS data processed {"connection_id":126608,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:32:08] local.INFO: Acknowledgment sent {"connection_id":126608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:32:20] local.INFO: TCP Data received {"connection_id":126610,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d06420012d7ea6c005ace138000801612b..."} 
[2026-07-08 18:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d06420012d7ea6c005ace138000801612b..."} 
[2026-07-08 18:32:20] local.INFO: Processing buffer {"connection_id":126610,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f41d01218012d7ea74005acc7c8000901632c..."} 
[2026-07-08 18:32:20] local.INFO: Packet analysis {"connection_id":126610,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f41d0"} 
[2026-07-08 18:32:20] local.INFO: Extracted packet for processing {"connection_id":126610,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d0"} 
[2026-07-08 18:32:20] local.INFO: GPS Element Parsed {"raw_longitude":763275072,"raw_latitude":95209416,"longitude_deg":76.3275072,"latitude_deg":9.5209416,"altitude":9,"angle":355,"satellites":44,"speed":7,"hex_longitude":"2d7ea740","hex_latitude":"05acc7c8","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579983872001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343016923144912896,"note":"Value kept but may cause issues"} 
[2026-07-08 18:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126615037982162944,"note":"Value kept but may cause issues"} 
[2026-07-08 18:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783515583000,"timestamp_ms":1783515583000,"timestamp_seconds":1783515583,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d01218"} 
[2026-07-08 18:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:32: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-07-08 18: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 18:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":126610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":126610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":126610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579983872001,"66":27800,"169":206,"85":14336,"24":7,"16":343016923144912896,"45":9126615037982162944},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-08 18:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579983872001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:32:20] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-08 18:32:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343016923144912896,"km_value":343016923144912.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126615037982162944,"description":"Unknown IO ID 45"} 
[2026-07-08 18:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579983872001,"power":27800,"unknown_169":206,"unknown_85":14336,"ignition":7,"odometer":null,"unknown_45":9126615037982162944}} 
[2026-07-08 18:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":126610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:32:20] local.INFO: GPS data processed {"connection_id":126610,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:32:20] local.INFO: Acknowledgment sent {"connection_id":126610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:32:20] local.INFO: Packet analysis {"connection_id":126610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d0"} 
[2026-07-08 18:32:20] local.INFO: Extracted packet for processing {"connection_id":126610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d0"} 
[2026-07-08 18:32:20] local.INFO: GPS Element Parsed {"raw_longitude":763274944,"raw_latitude":95215928,"longitude_deg":76.3274944,"latitude_deg":9.5215928,"altitude":8,"angle":353,"satellites":43,"speed":9,"hex_longitude":"2d7ea6c0","hex_latitude":"05ace138","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579989248001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343017240972492800,"note":"Value kept but may cause issues"} 
[2026-07-08 18:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126333563007387648,"note":"Value kept but may cause issues"} 
[2026-07-08 18:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783515604000,"timestamp_ms":1783515604000,"timestamp_seconds":1783515604,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d06420"} 
[2026-07-08 18:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:32: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-07-08 18: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 18:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":126610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":126610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":126610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579989248001,"66":27843,"168":206,"85":14336,"24":9,"16":343017240972492800,"45":9126333563007387648},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-08 18:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579989248001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:32:20] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-08 18:32:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343017240972492800,"km_value":343017240972492.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126333563007387648,"description":"Unknown IO ID 45"} 
[2026-07-08 18:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579989248001,"power":27843,"unknown_168":206,"unknown_85":14336,"ignition":9,"odometer":null,"unknown_45":9126333563007387648}} 
[2026-07-08 18:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":126610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:32:20] local.INFO: GPS data processed {"connection_id":126610,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:32:20] local.INFO: Acknowledgment sent {"connection_id":126610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:32:20] local.INFO: TCP Data received {"connection_id":126610,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d096e8012d7ea6c005ace4500009000528..."} 
[2026-07-08 18:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d096e8012d7ea6c005ace4500009000528..."} 
[2026-07-08 18:32:20] local.INFO: Processing buffer {"connection_id":126610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d096e8012d7ea6c005ace4500009000528..."} 
[2026-07-08 18:32:20] local.INFO: Packet analysis {"connection_id":126610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d0"} 
[2026-07-08 18:32:20] local.INFO: Extracted packet for processing {"connection_id":126610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d0"} 
[2026-07-08 18:32:20] local.INFO: GPS Element Parsed {"raw_longitude":763274944,"raw_latitude":95216720,"longitude_deg":76.3274944,"latitude_deg":9.521672,"altitude":9,"angle":5,"satellites":40,"speed":10,"hex_longitude":"2d7ea6c0","hex_latitude":"05ace450","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579994624001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343017279627198464,"note":"Value kept but may cause issues"} 
[2026-07-08 18:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126192825520699392,"note":"Value kept but may cause issues"} 
[2026-07-08 18:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783515617000,"timestamp_ms":1783515617000,"timestamp_seconds":1783515617,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d096e8"} 
[2026-07-08 18:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 18:32: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-07-08 18: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-07-08 18:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":126610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":126610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":126610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579994624001,"66":27865,"168":206,"85":14336,"24":10,"16":343017279627198464,"45":9126192825520699392},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-08 18:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579994624001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:32:20] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-08 18:32:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343017279627198464,"km_value":343017279627198.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126192825520699392,"description":"Unknown IO ID 45"} 
[2026-07-08 18:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579994624001,"power":27865,"unknown_168":206,"unknown_85":14336,"ignition":10,"odometer":null,"unknown_45":9126192825520699392}} 
[2026-07-08 18:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":126610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:32:20] local.INFO: GPS data processed {"connection_id":126610,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:32:20] local.INFO: Acknowledgment sent {"connection_id":126610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:32:31] local.INFO: TCP Data received {"connection_id":126612,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126612,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:32:31] local.INFO: Processing buffer {"connection_id":126612,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:32:31] local.INFO: IMEI packet received {"connection_id":126612,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":126612,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:32:36] local.INFO: TCP Data received {"connection_id":126612,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126612,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:32:36] local.INFO: Processing buffer {"connection_id":126612,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:32:36] local.INFO: IMEI packet received {"connection_id":126612,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":126612,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:32:37] local.INFO: TCP Data received {"connection_id":126611,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41cfdb68012d18674007218208004c011630..."} 
[2026-07-08 18:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41cfdb68012d18674007218208004c011630..."} 
[2026-07-08 18:32:37] local.INFO: Processing buffer {"connection_id":126611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41cfdb68012d18674007218208004c011630..."} 
[2026-07-08 18:32:37] local.INFO: Packet analysis {"connection_id":126611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41cf"} 
[2026-07-08 18:32:37] local.INFO: Extracted packet for processing {"connection_id":126611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41cf"} 
[2026-07-08 18:32:37] local.INFO: GPS Element Parsed {"raw_longitude":756574016,"raw_latitude":119636488,"longitude_deg":75.6574016,"latitude_deg":11.9636488,"altitude":76,"angle":278,"satellites":48,"speed":29,"hex_longitude":"2d186740","hex_latitude":"07218208","is_valid_coordinates":true} 
[2026-07-08 18:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579984128001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4928865814183936,"note":"Value kept but may cause issues"} 
[2026-07-08 18:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763088915998373888,"note":"Value kept but may cause issues"} 
[2026-07-08 18:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783515569000,"timestamp_ms":1783515569000,"timestamp_seconds":1783515569,"priority":1,"record_length":96,"hex_timestamp":"0000019f41cfdb68"} 
[2026-07-08 18:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-08 18:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579984128001,"66":13059,"106":206,"83":41984,"24":29,"16":4928865814183936,"45":1763088915998373888},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-08 18:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579984128001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:32:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-08 18:32:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4928865814183936,"km_value":4928865814183.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763088915998373888,"description":"Unknown IO ID 45"} 
[2026-07-08 18:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579984128001,"power":13059,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1763088915998373888}} 
[2026-07-08 18:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":126611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:32:37] local.INFO: GPS data processed {"connection_id":126611,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:32:37] local.INFO: Acknowledgment sent {"connection_id":126611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:32:37] local.INFO: TCP Data received {"connection_id":126612,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d15650012d7e380005d34cc0000200372f..."} 
[2026-07-08 18:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d15650012d7e380005d34cc0000200372f..."} 
[2026-07-08 18:32:37] local.INFO: Processing buffer {"connection_id":126612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d15650012d7e380005d34cc0000200372f..."} 
[2026-07-08 18:32:37] local.INFO: Packet analysis {"connection_id":126612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d1"} 
[2026-07-08 18:32:37] local.INFO: Extracted packet for processing {"connection_id":126612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d1"} 
[2026-07-08 18:32:37] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":47,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579933440001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783515666000,"timestamp_ms":1783515666000,"timestamp_seconds":1783515666,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d15650"} 
[2026-07-08 18:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 18:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579933440001,"66":2209,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579933440001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:32:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:32:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579933440001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":126612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453090,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:32:37] local.INFO: GPS data processed {"connection_id":126612,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:32:37] local.INFO: Acknowledgment sent {"connection_id":126612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:33:00] local.INFO: TCP Data received {"connection_id":125837,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:33:00] local.INFO: Processing buffer {"connection_id":125837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:33:00] local.INFO: IMEI packet received {"connection_id":125837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":125837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:33:03] local.INFO: TCP Data received {"connection_id":125837,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:33:03] local.INFO: Processing buffer {"connection_id":125837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:33:03] local.INFO: IMEI packet received {"connection_id":125837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":125837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:33:04] local.INFO: TCP Data received {"connection_id":125837,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d0e8f0012d7ea58005acf840000901672c..."} 
[2026-07-08 18:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d0e8f0012d7ea58005acf840000901672c..."} 
[2026-07-08 18:33:04] local.INFO: Processing buffer {"connection_id":125837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d0e8f0012d7ea58005acf840000901672c..."} 
[2026-07-08 18:33:04] local.INFO: Packet analysis {"connection_id":125837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d0"} 
[2026-07-08 18:33:04] local.INFO: Extracted packet for processing {"connection_id":125837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d0"} 
[2026-07-08 18:33:04] local.INFO: GPS Element Parsed {"raw_longitude":763274624,"raw_latitude":95221824,"longitude_deg":76.3274624,"latitude_deg":9.5221824,"altitude":9,"angle":359,"satellites":44,"speed":19,"hex_longitude":"2d7ea580","hex_latitude":"05acf840","is_valid_coordinates":true} 
[2026-07-08 18:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579997952001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343017533030268928,"note":"Value kept but may cause issues"} 
[2026-07-08 18:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126192825520902144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783515638000,"timestamp_ms":1783515638000,"timestamp_seconds":1783515638,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d0e8f0"} 
[2026-07-08 18:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 18:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579997952001,"66":27843,"168":206,"85":14336,"24":19,"16":343017533030268928,"45":9126192825520902144},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-08 18:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579997952001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:33:04] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-08 18:33:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-08 18:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343017533030268928,"km_value":343017533030268.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126192825520902144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579997952001,"power":27843,"unknown_168":206,"unknown_85":14336,"ignition":19,"odometer":null,"unknown_45":9126192825520902144}} 
[2026-07-08 18:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":125837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:33:04] local.INFO: GPS data processed {"connection_id":125837,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:33:04] local.INFO: Acknowledgment sent {"connection_id":125837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:33:05] local.INFO: TCP Data received {"connection_id":125838,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:33:05] local.INFO: Processing buffer {"connection_id":125838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:33:05] local.INFO: IMEI packet received {"connection_id":125838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":125838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:33:08] local.INFO: TCP Data received {"connection_id":126612,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d15650012d7e380005d34cc0000200372f..."} 
[2026-07-08 18:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d15650012d7e380005d34cc0000200372f..."} 
[2026-07-08 18:33:08] local.INFO: Processing buffer {"connection_id":126612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d15650012d7e380005d34cc0000200372f..."} 
[2026-07-08 18:33:08] local.INFO: Packet analysis {"connection_id":126612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d1"} 
[2026-07-08 18:33:08] local.INFO: Extracted packet for processing {"connection_id":126612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d1"} 
[2026-07-08 18:33:08] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":47,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579933440001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783515666000,"timestamp_ms":1783515666000,"timestamp_seconds":1783515666,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d15650"} 
[2026-07-08 18:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:33: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-07-08 18: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 18:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:33:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579933440001,"66":2209,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579933440001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:33:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:33:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579933440001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":126612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453092,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:33:08] local.INFO: GPS data processed {"connection_id":126612,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:33:08] local.INFO: Acknowledgment sent {"connection_id":126612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:33:10] local.INFO: TCP Data received {"connection_id":125838,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:33:10] local.INFO: Processing buffer {"connection_id":125838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:33:10] local.INFO: IMEI packet received {"connection_id":125838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":125838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:33:11] local.INFO: TCP Data received {"connection_id":125838,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41cfeb08012d185b0007218550004c01262e..."} 
[2026-07-08 18:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41cfeb08012d185b0007218550004c01262e..."} 
[2026-07-08 18:33:11] local.INFO: Processing buffer {"connection_id":125838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41cfeb08012d185b0007218550004c01262e..."} 
[2026-07-08 18:33:11] local.INFO: Packet analysis {"connection_id":125838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41cf"} 
[2026-07-08 18:33:11] local.INFO: Extracted packet for processing {"connection_id":125838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41cf"} 
[2026-07-08 18:33:11] local.INFO: GPS Element Parsed {"raw_longitude":756570880,"raw_latitude":119637328,"longitude_deg":75.657088,"latitude_deg":11.9637328,"altitude":76,"angle":294,"satellites":46,"speed":32,"hex_longitude":"2d185b00","hex_latitude":"07218550","is_valid_coordinates":true} 
[2026-07-08 18:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579985664001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929020433006592,"note":"Value kept but may cause issues"} 
[2026-07-08 18:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1758444578882586624,"note":"Value kept but may cause issues"} 
[2026-07-08 18:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783515573000,"timestamp_ms":1783515573000,"timestamp_seconds":1783515573,"priority":1,"record_length":96,"hex_timestamp":"0000019f41cfeb08"} 
[2026-07-08 18:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 18:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303179605527914,"note":"Value kept but may cause issues"} 
[2026-07-08 18:33:11] local.WARNING: Large IO value detected {"io_id":106,"raw_value":58075809043709983,"note":"Value kept but may cause issues"} 
[2026-07-08 18:33:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-08 18:33:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 18:33:11] local.WARNING: Large IO value detected {"io_id":65,"raw_value":3480862721,"note":"Value kept but may cause issues"} 
[2026-07-08 18:33:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-07-08 18:33:11] local.WARNING: Large IO value detected {"io_id":82,"raw_value":2952867096,"note":"Value kept but may cause issues"} 
[2026-07-08 18:33:11] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3019951466,"note":"Value kept but may cause issues"} 
[2026-07-08 18:33:11] local.WARNING: Large IO value detected {"io_id":17,"raw_value":2175401984,"note":"Value kept but may cause issues"} 
[2026-07-08 18:33:11] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,106,83,24,241,157,16,130,159,195,45,192,76,48,10,66,176,75,44,129,1,240,227,65,33,4,113,205,27,82,189,112,46,239,54,2,17,7,70,31],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-07-08 18:33:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476683017275375616,"timestamp_seconds":5476683017275376.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 18:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579985664001,"66":13102,"106":206,"83":41984,"24":32,"16":4929020433006592,"45":1758444578882586624},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-08 18:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579985664001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:33:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-08 18:33:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929020433006592,"km_value":4929020433006.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1758444578882586624,"description":"Unknown IO ID 45"} 
[2026-07-08 18:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579985664001,"power":13102,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1758444578882586624}} 
[2026-07-08 18:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":125838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:33:11] local.INFO: GPS data processed {"connection_id":125838,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:33:11] local.INFO: Acknowledgment sent {"connection_id":125838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:33:14] local.INFO: TCP Data received {"connection_id":125838,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d021b8012d183fc007219218005000fb27..."} 
[2026-07-08 18:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d021b8012d183fc007219218005000fb27..."} 
[2026-07-08 18:33:14] local.INFO: Processing buffer {"connection_id":125838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d021b8012d183fc007219218005000fb27..."} 
[2026-07-08 18:33:14] local.INFO: Packet analysis {"connection_id":125838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d0"} 
[2026-07-08 18:33:14] local.INFO: Extracted packet for processing {"connection_id":125838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d0"} 
[2026-07-08 18:33:14] local.INFO: GPS Element Parsed {"raw_longitude":756563904,"raw_latitude":119640600,"longitude_deg":75.6563904,"latitude_deg":11.96406,"altitude":80,"angle":251,"satellites":39,"speed":7,"hex_longitude":"2d183fc0","hex_latitude":"07219218","is_valid_coordinates":true} 
[2026-07-08 18:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579986688001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929389800194048,"note":"Value kept but may cause issues"} 
[2026-07-08 18:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754996510418096128,"note":"Value kept but may cause issues"} 
[2026-07-08 18:33:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783515587000,"timestamp_ms":1783515587000,"timestamp_seconds":1783515587,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d021b8"} 
[2026-07-08 18:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:33:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-08 18:33:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:33:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":125838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":125838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":125838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579986688001,"66":13080,"105":206,"83":41984,"24":7,"16":4929389800194048,"45":1754996510418096128},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579986688001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:33:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:33:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929389800194048,"km_value":4929389800194.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754996510418096128,"description":"Unknown IO ID 45"} 
[2026-07-08 18:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579986688001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1754996510418096128}} 
[2026-07-08 18:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":125838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:33:14] local.INFO: GPS data processed {"connection_id":125838,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:33:14] local.INFO: Acknowledgment sent {"connection_id":125838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:33:31] local.INFO: TCP Data received {"connection_id":127841,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:33:31] local.INFO: Processing buffer {"connection_id":127841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:33:31] local.INFO: IMEI packet received {"connection_id":127841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":127841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:33:36] local.INFO: TCP Data received {"connection_id":127841,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:33:36] local.INFO: Processing buffer {"connection_id":127841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:33:36] local.INFO: IMEI packet received {"connection_id":127841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":127841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:33:36] local.INFO: TCP Data received {"connection_id":125837,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d2ae10012d7ea0c005ae6c78000601622d..."} 
[2026-07-08 18:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d2ae10012d7ea0c005ae6c78000601622d..."} 
[2026-07-08 18:33:36] local.INFO: Processing buffer {"connection_id":125837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d2ae10012d7ea0c005ae6c78000601622d..."} 
[2026-07-08 18:33:36] local.INFO: Packet analysis {"connection_id":125837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d2"} 
[2026-07-08 18:33:36] local.INFO: Extracted packet for processing {"connection_id":125837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d2"} 
[2026-07-08 18:33:36] local.INFO: GPS Element Parsed {"raw_longitude":763273408,"raw_latitude":95317112,"longitude_deg":76.3273408,"latitude_deg":9.5317112,"altitude":6,"angle":354,"satellites":45,"speed":36,"hex_longitude":"2d7ea0c0","hex_latitude":"05ae6c78","is_valid_coordinates":true} 
[2026-07-08 18:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580030720001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343022163005014016,"note":"Value kept but may cause issues"} 
[2026-07-08 18:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124996556893253632,"note":"Value kept but may cause issues"} 
[2026-07-08 18:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783515754000,"timestamp_ms":1783515754000,"timestamp_seconds":1783515754,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d2ae10"} 
[2026-07-08 18:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 18:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580030720001,"66":27843,"29":206,"85":12544,"24":36,"16":343022163005014016,"45":9124996556893253632},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-07-08 18:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580030720001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:33:36] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-08 18:33:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343022163005014016,"km_value":343022163005014.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124996556893253632,"description":"Unknown IO ID 45"} 
[2026-07-08 18:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580030720001,"power":27843,"unknown_29":206,"unknown_85":12544,"ignition":36,"odometer":null,"unknown_45":9124996556893253632}} 
[2026-07-08 18:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":125837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:33:36] local.INFO: GPS data processed {"connection_id":125837,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:33:36] local.INFO: Acknowledgment sent {"connection_id":125837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:33:37] local.INFO: TCP Data received {"connection_id":127841,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d15650012d7e380005d34cc0000200372f..."} 
[2026-07-08 18:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d15650012d7e380005d34cc0000200372f..."} 
[2026-07-08 18:33:37] local.INFO: Processing buffer {"connection_id":127841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d15650012d7e380005d34cc0000200372f..."} 
[2026-07-08 18:33:37] local.INFO: Packet analysis {"connection_id":127841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d1"} 
[2026-07-08 18:33:37] local.INFO: Extracted packet for processing {"connection_id":127841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d1"} 
[2026-07-08 18:33:37] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":47,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579933440001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783515666000,"timestamp_ms":1783515666000,"timestamp_seconds":1783515666,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d15650"} 
[2026-07-08 18:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 18:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579933440001,"66":2209,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579933440001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:33:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:33:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579933440001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":127841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453096,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:33:37] local.INFO: GPS data processed {"connection_id":127841,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:33:37] local.INFO: Acknowledgment sent {"connection_id":127841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:33:55] local.INFO: TCP Data received {"connection_id":125839,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:33:55] local.INFO: Processing buffer {"connection_id":125839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:33:55] local.INFO: IMEI packet received {"connection_id":125839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":125839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:34:00] local.INFO: TCP Data received {"connection_id":125839,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:34:00] local.INFO: Processing buffer {"connection_id":125839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:34:00] local.INFO: IMEI packet received {"connection_id":125839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":125839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:34:00] local.INFO: TCP Data received {"connection_id":125731,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:34:00] local.INFO: Processing buffer {"connection_id":125731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:34:00] local.INFO: IMEI packet received {"connection_id":125731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":125731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:34:01] local.INFO: TCP Data received {"connection_id":125839,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d2d520012d7e9f4005ae9260000701662c..."} 
[2026-07-08 18:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d2d520012d7e9f4005ae9260000701662c..."} 
[2026-07-08 18:34:01] local.INFO: Processing buffer {"connection_id":125839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d2d520012d7e9f4005ae9260000701662c..."} 
[2026-07-08 18:34:01] local.INFO: Packet analysis {"connection_id":125839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d2"} 
[2026-07-08 18:34:01] local.INFO: Extracted packet for processing {"connection_id":125839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d2"} 
[2026-07-08 18:34:01] local.INFO: GPS Element Parsed {"raw_longitude":763273024,"raw_latitude":95326816,"longitude_deg":76.3273024,"latitude_deg":9.5326816,"altitude":7,"angle":358,"satellites":44,"speed":42,"hex_longitude":"2d7e9f40","hex_latitude":"05ae9260","is_valid_coordinates":true} 
[2026-07-08 18:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580033024001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343022631156449280,"note":"Value kept but may cause issues"} 
[2026-07-08 18:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124503975686338560,"note":"Value kept but may cause issues"} 
[2026-07-08 18:34:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783515764000,"timestamp_ms":1783515764000,"timestamp_seconds":1783515764,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d2d520"} 
[2026-07-08 18:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:34:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 18:34:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:34:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580033024001,"66":27843,"29":206,"85":12544,"24":42,"16":343022631156449280,"45":9124503975686338560},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-07-08 18:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580033024001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:34:01] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-08 18:34:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343022631156449280,"km_value":343022631156449.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124503975686338560,"description":"Unknown IO ID 45"} 
[2026-07-08 18:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580033024001,"power":27843,"unknown_29":206,"unknown_85":12544,"ignition":42,"odometer":null,"unknown_45":9124503975686338560}} 
[2026-07-08 18:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":125839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:34:01] local.INFO: GPS data processed {"connection_id":125839,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:34:01] local.INFO: Acknowledgment sent {"connection_id":125839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:34:05] local.INFO: TCP Data received {"connection_id":125731,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:34:05] local.INFO: Processing buffer {"connection_id":125731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:34:05] local.INFO: IMEI packet received {"connection_id":125731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":125731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:34:05] local.INFO: TCP Data received {"connection_id":125731,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d025a0012d183f00072191b8005000e429..."} 
[2026-07-08 18:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d025a0012d183f00072191b8005000e429..."} 
[2026-07-08 18:34:05] local.INFO: Processing buffer {"connection_id":125731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d025a0012d183f00072191b8005000e429..."} 
[2026-07-08 18:34:05] local.INFO: Packet analysis {"connection_id":125731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d0"} 
[2026-07-08 18:34:05] local.INFO: Extracted packet for processing {"connection_id":125731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d0"} 
[2026-07-08 18:34:05] local.INFO: GPS Element Parsed {"raw_longitude":756563712,"raw_latitude":119640504,"longitude_deg":75.6563712,"latitude_deg":11.9640504,"altitude":80,"angle":228,"satellites":41,"speed":6,"hex_longitude":"2d183f00","hex_latitude":"072191b8","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579990272001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929398390128640,"note":"Value kept but may cause issues"} 
[2026-07-08 18:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747326317303568384,"note":"Value kept but may cause issues"} 
[2026-07-08 18:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783515588000,"timestamp_ms":1783515588000,"timestamp_seconds":1783515588,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d025a0"} 
[2026-07-08 18:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-08 18:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579990272001,"66":13080,"105":206,"83":41984,"24":6,"16":4929398390128640,"45":1747326317303568384},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579990272001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:34:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:34:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929398390128640,"km_value":4929398390128.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747326317303568384,"description":"Unknown IO ID 45"} 
[2026-07-08 18:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579990272001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1747326317303568384}} 
[2026-07-08 18:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":125731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:34:05] local.INFO: GPS data processed {"connection_id":125731,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:34:05] local.INFO: Acknowledgment sent {"connection_id":125731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:34:08] local.INFO: TCP Data received {"connection_id":127841,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d15650012d7e380005d34cc0000200372f..."} 
[2026-07-08 18:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d15650012d7e380005d34cc0000200372f..."} 
[2026-07-08 18:34:08] local.INFO: Processing buffer {"connection_id":127841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d15650012d7e380005d34cc0000200372f..."} 
[2026-07-08 18:34:08] local.INFO: Packet analysis {"connection_id":127841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d1"} 
[2026-07-08 18:34:08] local.INFO: Extracted packet for processing {"connection_id":127841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d1"} 
[2026-07-08 18:34:08] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":47,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579933440001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783515666000,"timestamp_ms":1783515666000,"timestamp_seconds":1783515666,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d15650"} 
[2026-07-08 18:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:34: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-07-08 18:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 18:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":127841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":127841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":127841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579933440001,"66":2209,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579933440001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:34:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:34:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579933440001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":127841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453099,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:34:08] local.INFO: GPS data processed {"connection_id":127841,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:34:08] local.INFO: Acknowledgment sent {"connection_id":127841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:34:31] local.INFO: TCP Data received {"connection_id":127842,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127842,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:34:31] local.INFO: Processing buffer {"connection_id":127842,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:34:31] local.INFO: IMEI packet received {"connection_id":127842,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":127842,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:34:32] local.INFO: TCP Data received {"connection_id":125839,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d2f460012d7e9e4005aeb510000801672e..."} 
[2026-07-08 18:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d2f460012d7e9e4005aeb510000801672e..."} 
[2026-07-08 18:34:32] local.INFO: Processing buffer {"connection_id":125839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d2f460012d7e9e4005aeb510000801672e..."} 
[2026-07-08 18:34:32] local.INFO: Packet analysis {"connection_id":125839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d2"} 
[2026-07-08 18:34:32] local.INFO: Extracted packet for processing {"connection_id":125839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d2"} 
[2026-07-08 18:34:32] local.INFO: GPS Element Parsed {"raw_longitude":763272768,"raw_latitude":95335696,"longitude_deg":76.3272768,"latitude_deg":9.5335696,"altitude":8,"angle":359,"satellites":46,"speed":44,"hex_longitude":"2d7e9e40","hex_latitude":"05aeb510","is_valid_coordinates":true} 
[2026-07-08 18:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580035584001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343023064948146176,"note":"Value kept but may cause issues"} 
[2026-07-08 18:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124081763223756800,"note":"Value kept but may cause issues"} 
[2026-07-08 18:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783515772000,"timestamp_ms":1783515772000,"timestamp_seconds":1783515772,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d2f460"} 
[2026-07-08 18:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 18:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580035584001,"66":27821,"28":206,"85":12544,"24":44,"16":343023064948146176,"45":9124081763223756800},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-08 18:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580035584001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:34:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-08 18:34:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343023064948146176,"km_value":343023064948146.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124081763223756800,"description":"Unknown IO ID 45"} 
[2026-07-08 18:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580035584001,"power":27821,"unknown_28":206,"unknown_85":12544,"ignition":44,"odometer":null,"unknown_45":9124081763223756800}} 
[2026-07-08 18:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":125839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:34:32] local.INFO: GPS data processed {"connection_id":125839,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:34:32] local.INFO: Acknowledgment sent {"connection_id":125839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:34:35] local.INFO: TCP Data received {"connection_id":125730,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125730,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:34:35] local.INFO: Processing buffer {"connection_id":125730,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:34:35] local.INFO: IMEI packet received {"connection_id":125730,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 18:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":125730,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:34:36] local.INFO: TCP Data received {"connection_id":127842,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127842,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:34:36] local.INFO: Processing buffer {"connection_id":127842,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:34:36] local.INFO: IMEI packet received {"connection_id":127842,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":127842,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:34:37] local.INFO: TCP Data received {"connection_id":125731,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d077a8012d183e80072190d8005000e427..."} 
[2026-07-08 18:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d077a8012d183e80072190d8005000e427..."} 
[2026-07-08 18:34:37] local.INFO: Processing buffer {"connection_id":125731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d077a8012d183e80072190d8005000e427..."} 
[2026-07-08 18:34:37] local.INFO: Packet analysis {"connection_id":125731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d0"} 
[2026-07-08 18:34:37] local.INFO: Extracted packet for processing {"connection_id":125731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d0"} 
[2026-07-08 18:34:37] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":39,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579990528001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747115211071010816,"note":"Value kept but may cause issues"} 
[2026-07-08 18:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783515609000,"timestamp_ms":1783515609000,"timestamp_seconds":1783515609,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d077a8"} 
[2026-07-08 18:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-08 18:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579990528001,"66":12972,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1747115211071010816},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579990528001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:34:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:34:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747115211071010816,"description":"Unknown IO ID 45"} 
[2026-07-08 18:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579990528001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1747115211071010816}} 
[2026-07-08 18:34:37] local.INFO: TCP Data received {"connection_id":127842,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d15650012d7e380005d34cc0000200372f..."} 
[2026-07-08 18:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d15650012d7e380005d34cc0000200372f..."} 
[2026-07-08 18:34:37] local.INFO: Processing buffer {"connection_id":127842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d15650012d7e380005d34cc0000200372f..."} 
[2026-07-08 18:34:37] local.INFO: Packet analysis {"connection_id":127842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d1"} 
[2026-07-08 18:34:37] local.INFO: Extracted packet for processing {"connection_id":127842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d1"} 
[2026-07-08 18:34:37] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":47,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579933440001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783515666000,"timestamp_ms":1783515666000,"timestamp_seconds":1783515666,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d15650"} 
[2026-07-08 18:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 18:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579933440001,"66":2209,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579933440001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:34:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:34:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579933440001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":125731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:34:37] local.INFO: GPS data processed {"connection_id":125731,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:34:37] local.INFO: Acknowledgment sent {"connection_id":125731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":127842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453102,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:34:37] local.INFO: GPS data processed {"connection_id":127842,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:34:37] local.INFO: Acknowledgment sent {"connection_id":127842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:34:55] local.INFO: TCP Data received {"connection_id":126613,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:34:55] local.INFO: Processing buffer {"connection_id":126613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:34:55] local.INFO: IMEI packet received {"connection_id":126613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":126613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:34:56] local.INFO: TCP Data received {"connection_id":126613,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:34:56] local.INFO: Processing buffer {"connection_id":126613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:34:56] local.INFO: IMEI packet received {"connection_id":126613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":126613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:34:58] local.INFO: TCP Data received {"connection_id":125732,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125732,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:34:58] local.INFO: Processing buffer {"connection_id":125732,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:34:58] local.INFO: IMEI packet received {"connection_id":125732,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 18:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":125732,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:34:59] local.INFO: TCP Data received {"connection_id":126614,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:34:59] local.INFO: Processing buffer {"connection_id":126614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:34:59] local.INFO: IMEI packet received {"connection_id":126614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":126614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:34:59] local.INFO: TCP Data received {"connection_id":126614,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:34:59] local.INFO: Processing buffer {"connection_id":126614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:34:59] local.INFO: IMEI packet received {"connection_id":126614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":126614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:35:00] local.INFO: TCP Data received {"connection_id":126613,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:35:00] local.INFO: Processing buffer {"connection_id":126613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:35:00] local.INFO: IMEI packet received {"connection_id":126613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":126613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:35:01] local.INFO: TCP Data received {"connection_id":126613,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d313a0012d7e9d0005aed8d8000801652e..."} 
[2026-07-08 18:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d313a0012d7e9d0005aed8d8000801652e..."} 
[2026-07-08 18:35:01] local.INFO: Processing buffer {"connection_id":126613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d313a0012d7e9d0005aed8d8000801652e..."} 
[2026-07-08 18:35:01] local.INFO: Packet analysis {"connection_id":126613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d3"} 
[2026-07-08 18:35:01] local.INFO: Extracted packet for processing {"connection_id":126613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d3"} 
[2026-07-08 18:35:01] local.INFO: GPS Element Parsed {"raw_longitude":763272448,"raw_latitude":95344856,"longitude_deg":76.3272448,"latitude_deg":9.5344856,"altitude":8,"angle":357,"satellites":46,"speed":48,"hex_longitude":"2d7e9d00","hex_latitude":"05aed8d8","is_valid_coordinates":true} 
[2026-07-08 18:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580037632001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343023507329777664,"note":"Value kept but may cause issues"} 
[2026-07-08 18:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123800288249319424,"note":"Value kept but may cause issues"} 
[2026-07-08 18:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783515780000,"timestamp_ms":1783515780000,"timestamp_seconds":1783515780,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d313a0"} 
[2026-07-08 18:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 18:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580037632001,"66":27908,"28":206,"85":12544,"24":48,"16":343023507329777664,"45":9123800288249319424},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-08 18:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580037632001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:35:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-08 18:35:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343023507329777664,"km_value":343023507329777.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123800288249319424,"description":"Unknown IO ID 45"} 
[2026-07-08 18:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580037632001,"power":27908,"unknown_28":206,"unknown_85":12544,"ignition":48,"odometer":null,"unknown_45":9123800288249319424}} 
[2026-07-08 18:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":126613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:35:01] local.INFO: GPS data processed {"connection_id":126613,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:35:01] local.INFO: Acknowledgment sent {"connection_id":126613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:35:05] local.INFO: TCP Data received {"connection_id":126614,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:35:05] local.INFO: Processing buffer {"connection_id":126614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:35:05] local.INFO: IMEI packet received {"connection_id":126614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":126614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:35:05] local.INFO: TCP Data received {"connection_id":126614,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d0c9b0012d183e80072190d8005000e42b..."} 
[2026-07-08 18:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d0c9b0012d183e80072190d8005000e42b..."} 
[2026-07-08 18:35:05] local.INFO: Processing buffer {"connection_id":126614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d0c9b0012d183e80072190d8005000e42b..."} 
[2026-07-08 18:35:05] local.INFO: Packet analysis {"connection_id":126614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d0"} 
[2026-07-08 18:35:05] local.INFO: Extracted packet for processing {"connection_id":126614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d0"} 
[2026-07-08 18:35:05] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":43,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579995904001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783515630000,"timestamp_ms":1783515630000,"timestamp_seconds":1783515630,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d0c9b0"} 
[2026-07-08 18:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-08 18:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579995904001,"66":12928,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579995904001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:35:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:35:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579995904001,"power":12928,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":126614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:35:05] local.INFO: GPS data processed {"connection_id":126614,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:35:05] local.INFO: Acknowledgment sent {"connection_id":126614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:35:08] local.INFO: TCP Data received {"connection_id":127842,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d15650012d7e380005d34cc0000200372f..."} 
[2026-07-08 18:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d15650012d7e380005d34cc0000200372f..."} 
[2026-07-08 18:35:08] local.INFO: Processing buffer {"connection_id":127842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d15650012d7e380005d34cc0000200372f..."} 
[2026-07-08 18:35:08] local.INFO: Packet analysis {"connection_id":127842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d1"} 
[2026-07-08 18:35:08] local.INFO: Extracted packet for processing {"connection_id":127842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d1"} 
[2026-07-08 18:35:08] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":47,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579933440001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783515666000,"timestamp_ms":1783515666000,"timestamp_seconds":1783515666,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d15650"} 
[2026-07-08 18:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:35: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-07-08 18: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 18:35:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":127842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":127842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":127842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579933440001,"66":2209,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579933440001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:35:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:35:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579933440001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":127842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453105,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:35:08] local.INFO: GPS data processed {"connection_id":127842,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:35:08] local.INFO: Acknowledgment sent {"connection_id":127842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:35:32] local.INFO: TCP Data received {"connection_id":126613,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d49658012d7ea0c005b0d460000701672e..."} 
[2026-07-08 18:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d49658012d7ea0c005b0d460000701672e..."} 
[2026-07-08 18:35:32] local.INFO: Processing buffer {"connection_id":126613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d49658012d7ea0c005b0d460000701672e..."} 
[2026-07-08 18:35:32] local.INFO: Packet analysis {"connection_id":126613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d4"} 
[2026-07-08 18:35:32] local.INFO: Extracted packet for processing {"connection_id":126613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d4"} 
[2026-07-08 18:35:32] local.INFO: GPS Element Parsed {"raw_longitude":763273408,"raw_latitude":95474784,"longitude_deg":76.3273408,"latitude_deg":9.5474784,"altitude":7,"angle":359,"satellites":46,"speed":51,"hex_longitude":"2d7ea0c0","hex_latitude":"05b0d460","is_valid_coordinates":true} 
[2026-07-08 18:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580063232001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343029812341768192,"note":"Value kept but may cause issues"} 
[2026-07-08 18:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124222500747702272,"note":"Value kept but may cause issues"} 
[2026-07-08 18:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783515879000,"timestamp_ms":1783515879000,"timestamp_seconds":1783515879,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d49658"} 
[2026-07-08 18:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 18:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:35:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580063232001,"66":27876,"92":206,"85":12544,"24":51,"16":343029812341768192,"45":9124222500747702272},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-07-08 18:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580063232001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:35:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-08 18:35:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343029812341768192,"km_value":343029812341768.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124222500747702272,"description":"Unknown IO ID 45"} 
[2026-07-08 18:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580063232001,"power":27876,"unknown_92":206,"unknown_85":12544,"ignition":51,"odometer":null,"unknown_45":9124222500747702272}} 
[2026-07-08 18:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":126613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:35:32] local.INFO: GPS data processed {"connection_id":126613,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:35:32] local.INFO: Acknowledgment sent {"connection_id":126613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:35:36] local.INFO: TCP Data received {"connection_id":127843,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127843,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:35:36] local.INFO: Processing buffer {"connection_id":127843,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:35:36] local.INFO: IMEI packet received {"connection_id":127843,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":127843,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:35:36] local.INFO: TCP Data received {"connection_id":126614,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d11bb8012d183e80072190d8005000e42b..."} 
[2026-07-08 18:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d11bb8012d183e80072190d8005000e42b..."} 
[2026-07-08 18:35:36] local.INFO: Processing buffer {"connection_id":126614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d11bb8012d183e80072190d8005000e42b..."} 
[2026-07-08 18:35:36] local.INFO: Packet analysis {"connection_id":126614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d1"} 
[2026-07-08 18:35:36] local.INFO: Extracted packet for processing {"connection_id":126614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d1"} 
[2026-07-08 18:35:36] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":43,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580001280001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783515651000,"timestamp_ms":1783515651000,"timestamp_seconds":1783515651,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d11bb8"} 
[2026-07-08 18:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-08 18:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580001280001,"66":12841,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580001280001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:35:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:35:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580001280001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":126614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:35:37] local.INFO: GPS data processed {"connection_id":126614,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:35:37] local.INFO: Acknowledgment sent {"connection_id":126614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:35:41] local.INFO: TCP Data received {"connection_id":127843,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127843,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:35:41] local.INFO: Processing buffer {"connection_id":127843,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:35:41] local.INFO: IMEI packet received {"connection_id":127843,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":127843,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:35:42] local.INFO: TCP Data received {"connection_id":127843,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d15650012d7e380005d34cc0000200372f..."} 
[2026-07-08 18:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d15650012d7e380005d34cc0000200372f..."} 
[2026-07-08 18:35:42] local.INFO: Processing buffer {"connection_id":127843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d15650012d7e380005d34cc0000200372f..."} 
[2026-07-08 18:35:42] local.INFO: Packet analysis {"connection_id":127843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d1"} 
[2026-07-08 18:35:42] local.INFO: Extracted packet for processing {"connection_id":127843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d1"} 
[2026-07-08 18:35:42] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":47,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579933440001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783515666000,"timestamp_ms":1783515666000,"timestamp_seconds":1783515666,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d15650"} 
[2026-07-08 18:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:35: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-07-08 18:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 18:35:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":127843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":127843,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":127843,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579933440001,"66":2209,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579933440001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:35:42] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:35:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579933440001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":127843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453108,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:35:42] local.INFO: GPS data processed {"connection_id":127843,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:35:42] local.INFO: Acknowledgment sent {"connection_id":127843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:35:46] local.INFO: TCP Data received {"connection_id":127843,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d15650012d7e380005d34cc0000200372f..."} 
[2026-07-08 18:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d15650012d7e380005d34cc0000200372f..."} 
[2026-07-08 18:35:46] local.INFO: Processing buffer {"connection_id":127843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d15650012d7e380005d34cc0000200372f..."} 
[2026-07-08 18:35:46] local.INFO: Packet analysis {"connection_id":127843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d1"} 
[2026-07-08 18:35:46] local.INFO: Extracted packet for processing {"connection_id":127843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d1"} 
[2026-07-08 18:35:46] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":47,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456579933440001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783515666000,"timestamp_ms":1783515666000,"timestamp_seconds":1783515666,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d15650"} 
[2026-07-08 18:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18: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":183,"data_length":795,"current_offset":136} 
[2026-07-08 18:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":127843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":127843,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":127843,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456579933440001,"66":2209,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456579933440001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:35:46] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:35:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456579933440001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":127843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453109,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:35:46] local.INFO: GPS data processed {"connection_id":127843,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:35:46] local.INFO: Acknowledgment sent {"connection_id":127843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:35:55] local.INFO: TCP Data received {"connection_id":126615,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:35:55] local.INFO: Processing buffer {"connection_id":126615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:35:55] local.INFO: IMEI packet received {"connection_id":126615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":126615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:35:58] local.INFO: TCP Data received {"connection_id":126615,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:35:58] local.INFO: Processing buffer {"connection_id":126615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:35:58] local.INFO: IMEI packet received {"connection_id":126615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":126615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:36:00] local.INFO: TCP Data received {"connection_id":125840,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:36:00] local.INFO: Processing buffer {"connection_id":125840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:36:00] local.INFO: IMEI packet received {"connection_id":125840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":125840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:36:00] local.INFO: TCP Data received {"connection_id":126615,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:36:00] local.INFO: Processing buffer {"connection_id":126615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:36:00] local.INFO: IMEI packet received {"connection_id":126615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":126615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:36:01] local.INFO: TCP Data received {"connection_id":126615,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d4b1b0012d7ea10005b0f850000700012d..."} 
[2026-07-08 18:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d4b1b0012d7ea10005b0f850000700012d..."} 
[2026-07-08 18:36:01] local.INFO: Processing buffer {"connection_id":126615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d4b1b0012d7ea10005b0f850000700012d..."} 
[2026-07-08 18:36:01] local.INFO: Packet analysis {"connection_id":126615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d4"} 
[2026-07-08 18:36:01] local.INFO: Extracted packet for processing {"connection_id":126615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d4"} 
[2026-07-08 18:36:01] local.INFO: GPS Element Parsed {"raw_longitude":763273472,"raw_latitude":95483984,"longitude_deg":76.3273472,"latitude_deg":9.5483984,"altitude":7,"angle":1,"satellites":45,"speed":52,"hex_longitude":"2d7ea100","hex_latitude":"05b0f850","is_valid_coordinates":true} 
[2026-07-08 18:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580065024001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343030254723399680,"note":"Value kept but may cause issues"} 
[2026-07-08 18:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124503975726702592,"note":"Value kept but may cause issues"} 
[2026-07-08 18:36:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783515886000,"timestamp_ms":1783515886000,"timestamp_seconds":1783515886,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d4b1b0"} 
[2026-07-08 18:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 18:36:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:36:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580065024001,"66":27919,"92":206,"85":12544,"24":52,"16":343030254723399680,"45":9124503975726702592},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-07-08 18:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580065024001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:36:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-08 18:36:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343030254723399680,"km_value":343030254723399.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124503975726702592,"description":"Unknown IO ID 45"} 
[2026-07-08 18:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580065024001,"power":27919,"unknown_92":206,"unknown_85":12544,"ignition":52,"odometer":null,"unknown_45":9124503975726702592}} 
[2026-07-08 18:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":126615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:36:01] local.INFO: GPS data processed {"connection_id":126615,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:36:01] local.INFO: Acknowledgment sent {"connection_id":126615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:36:02] local.INFO: TCP Data received {"connection_id":125840,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:36:02] local.INFO: Processing buffer {"connection_id":125840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:36:02] local.INFO: IMEI packet received {"connection_id":125840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":125840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:36:05] local.INFO: TCP Data received {"connection_id":125840,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:36:05] local.INFO: Processing buffer {"connection_id":125840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:36:05] local.INFO: IMEI packet received {"connection_id":125840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":125840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:36:05] local.INFO: TCP Data received {"connection_id":125840,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d4a210012d183e80072190d8005000e42a..."} 
[2026-07-08 18:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d4a210012d183e80072190d8005000e42a..."} 
[2026-07-08 18:36:05] local.INFO: Processing buffer {"connection_id":125840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d4a210012d183e80072190d8005000e42a..."} 
[2026-07-08 18:36:05] local.INFO: Packet analysis {"connection_id":125840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d4"} 
[2026-07-08 18:36:05] local.INFO: Extracted packet for processing {"connection_id":125840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d4"} 
[2026-07-08 18:36:05] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":42,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580060416001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783515882000,"timestamp_ms":1783515882000,"timestamp_seconds":1783515882,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d4a210"} 
[2026-07-08 18:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 18:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580060416001,"66":12504,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580060416001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:36:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:36:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580060416001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":125840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:36:05] local.INFO: GPS data processed {"connection_id":125840,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:36:05] local.INFO: Acknowledgment sent {"connection_id":125840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:36:06] local.INFO: TCP Data received {"connection_id":126615,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d4cd08012d7ea24005b11f28000700002e..."} 
[2026-07-08 18:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d4cd08012d7ea24005b11f28000700002e..."} 
[2026-07-08 18:36:06] local.INFO: Processing buffer {"connection_id":126615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d4cd08012d7ea24005b11f28000700002e..."} 
[2026-07-08 18:36:06] local.INFO: Packet analysis {"connection_id":126615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d4"} 
[2026-07-08 18:36:06] local.INFO: Extracted packet for processing {"connection_id":126615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d4"} 
[2026-07-08 18:36:06] local.INFO: GPS Element Parsed {"raw_longitude":763273792,"raw_latitude":95493928,"longitude_deg":76.3273792,"latitude_deg":9.5493928,"altitude":7,"angle":0,"satellites":46,"speed":59,"hex_longitude":"2d7ea240","hex_latitude":"05b11f28","is_valid_coordinates":true} 
[2026-07-08 18:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580066816001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343030740054704128,"note":"Value kept but may cause issues"} 
[2026-07-08 18:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124574344473235456,"note":"Value kept but may cause issues"} 
[2026-07-08 18:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783515893000,"timestamp_ms":1783515893000,"timestamp_seconds":1783515893,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d4cd08"} 
[2026-07-08 18:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 18:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580066816001,"66":28028,"92":206,"85":12544,"24":59,"16":343030740054704128,"45":9124574344473235456},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-07-08 18:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580066816001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:36:06] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-08 18:36:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343030740054704128,"km_value":343030740054704.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124574344473235456,"description":"Unknown IO ID 45"} 
[2026-07-08 18:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580066816001,"power":28028,"unknown_92":206,"unknown_85":12544,"ignition":59,"odometer":null,"unknown_45":9124574344473235456}} 
[2026-07-08 18:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":126615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:36:06] local.INFO: GPS data processed {"connection_id":126615,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:36:06] local.INFO: Acknowledgment sent {"connection_id":126615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:36:10] local.INFO: TCP Data received {"connection_id":125840,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d4f418012d183e80072190d8005000e42b..."} 
[2026-07-08 18:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d4f418012d183e80072190d8005000e42b..."} 
[2026-07-08 18:36:10] local.INFO: Processing buffer {"connection_id":125840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d4f418012d183e80072190d8005000e42b..."} 
[2026-07-08 18:36:10] local.INFO: Packet analysis {"connection_id":125840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d4"} 
[2026-07-08 18:36:10] local.INFO: Extracted packet for processing {"connection_id":125840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d4"} 
[2026-07-08 18:36:10] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":43,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580065792001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783515903000,"timestamp_ms":1783515903000,"timestamp_seconds":1783515903,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d4f418"} 
[2026-07-08 18:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:36: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-07-08 18: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-08 18:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580065792001,"66":12461,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580065792001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:36:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:36:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580065792001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":125840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:36:10] local.INFO: GPS data processed {"connection_id":125840,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:36:10] local.INFO: Acknowledgment sent {"connection_id":125840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:36:31] local.INFO: TCP Data received {"connection_id":125841,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:36:31] local.INFO: Processing buffer {"connection_id":125841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:36:31] local.INFO: IMEI packet received {"connection_id":125841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":125841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:36:36] local.INFO: TCP Data received {"connection_id":125841,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:36:36] local.INFO: Processing buffer {"connection_id":125841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:36:36] local.INFO: IMEI packet received {"connection_id":125841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":125841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:36:36] local.INFO: TCP Data received {"connection_id":126615,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d4e478012d7ea2c005b142b8000800002e..."} 
[2026-07-08 18:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d4e478012d7ea2c005b142b8000800002e..."} 
[2026-07-08 18:36:36] local.INFO: Processing buffer {"connection_id":126615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d4e478012d7ea2c005b142b8000800002e..."} 
[2026-07-08 18:36:36] local.INFO: Packet analysis {"connection_id":126615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d4"} 
[2026-07-08 18:36:36] local.INFO: Extracted packet for processing {"connection_id":126615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d4"} 
[2026-07-08 18:36:36] local.INFO: GPS Element Parsed {"raw_longitude":763273920,"raw_latitude":95503032,"longitude_deg":76.327392,"latitude_deg":9.5503032,"altitude":8,"angle":0,"satellites":46,"speed":59,"hex_longitude":"2d7ea2c0","hex_latitude":"05b142b8","is_valid_coordinates":true} 
[2026-07-08 18:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580068608001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343031182436335616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124926188196669440,"note":"Value kept but may cause issues"} 
[2026-07-08 18:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783515899000,"timestamp_ms":1783515899000,"timestamp_seconds":1783515899,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d4e478"} 
[2026-07-08 18:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-08 18:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580068608001,"66":27995,"58":206,"85":12544,"24":59,"16":343031182436335616,"45":9124926188196669440},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-07-08 18:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580068608001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:36:36] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-08 18:36:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343031182436335616,"km_value":343031182436335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124926188196669440,"description":"Unknown IO ID 45"} 
[2026-07-08 18:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580068608001,"power":27995,"unknown_58":206,"unknown_85":12544,"ignition":59,"odometer":null,"unknown_45":9124926188196669440}} 
[2026-07-08 18:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":126615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:36:36] local.INFO: GPS data processed {"connection_id":126615,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:36:36] local.INFO: Acknowledgment sent {"connection_id":126615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:36:37] local.INFO: TCP Data received {"connection_id":125841,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d5ee18012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d5ee18012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:36:37] local.INFO: Processing buffer {"connection_id":125841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d5ee18012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:36:37] local.INFO: Packet analysis {"connection_id":125841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d5"} 
[2026-07-08 18:36:37] local.INFO: Extracted packet for processing {"connection_id":125841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d5"} 
[2026-07-08 18:36:37] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580010496001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783515967000,"timestamp_ms":1783515967000,"timestamp_seconds":1783515967,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d5ee18"} 
[2026-07-08 18:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-08 18:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580010496001,"66":2220,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580010496001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:36:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:36:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580010496001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":125841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453115,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:36:37] local.INFO: GPS data processed {"connection_id":125841,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:36:37] local.INFO: Acknowledgment sent {"connection_id":125841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:36:41] local.INFO: TCP Data received {"connection_id":125840,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d54620012d183e80072190d8005000e42b..."} 
[2026-07-08 18:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d54620012d183e80072190d8005000e42b..."} 
[2026-07-08 18:36:41] local.INFO: Processing buffer {"connection_id":125840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d54620012d183e80072190d8005000e42b..."} 
[2026-07-08 18:36:41] local.INFO: Packet analysis {"connection_id":125840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d5"} 
[2026-07-08 18:36:41] local.INFO: Extracted packet for processing {"connection_id":125840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d5"} 
[2026-07-08 18:36:41] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":43,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 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-07-08 18:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580071168001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:36: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-07-08 18:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783515924000,"timestamp_ms":1783515924000,"timestamp_seconds":1783515924,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d54620"} 
[2026-07-08 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-07-08 18:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 18:36: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-07-08 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-07-08 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-07-08 18:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:36: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-07-08 18:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580071168001,"66":12406,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580071168001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:36:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:36:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580071168001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":125840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:36:41] local.INFO: GPS data processed {"connection_id":125840,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:36:41] local.INFO: Acknowledgment sent {"connection_id":125840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:36:55] local.INFO: TCP Data received {"connection_id":127844,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:36:55] local.INFO: Processing buffer {"connection_id":127844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:36:55] local.INFO: IMEI packet received {"connection_id":127844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":127844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:36:55] local.INFO: TCP Data received {"connection_id":127844,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:36:55] local.INFO: Processing buffer {"connection_id":127844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:36:55] local.INFO: IMEI packet received {"connection_id":127844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":127844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:36:59] local.INFO: TCP Data received {"connection_id":125842,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:36:59] local.INFO: Processing buffer {"connection_id":125842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:36:59] local.INFO: IMEI packet received {"connection_id":125842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":125842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:37:00] local.INFO: TCP Data received {"connection_id":127844,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:37:00] local.INFO: Processing buffer {"connection_id":127844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:37:00] local.INFO: IMEI packet received {"connection_id":127844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":127844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:37:01] local.INFO: TCP Data received {"connection_id":127844,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d4ffd0012d7ea40005b16ae0000a00032e..."} 
[2026-07-08 18:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d4ffd0012d7ea40005b16ae0000a00032e..."} 
[2026-07-08 18:37:01] local.INFO: Processing buffer {"connection_id":127844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d4ffd0012d7ea40005b16ae0000a00032e..."} 
[2026-07-08 18:37:01] local.INFO: Packet analysis {"connection_id":127844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d4"} 
[2026-07-08 18:37:01] local.INFO: Extracted packet for processing {"connection_id":127844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d4"} 
[2026-07-08 18:37:01] local.INFO: GPS Element Parsed {"raw_longitude":763274240,"raw_latitude":95513312,"longitude_deg":76.327424,"latitude_deg":9.5513312,"altitude":10,"angle":3,"satellites":46,"speed":57,"hex_longitude":"2d7ea400","hex_latitude":"05b16ae0","is_valid_coordinates":true} 
[2026-07-08 18:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580070144001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343031680652541952,"note":"Value kept but may cause issues"} 
[2026-07-08 18:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125066925687355392,"note":"Value kept but may cause issues"} 
[2026-07-08 18:37:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783515906000,"timestamp_ms":1783515906000,"timestamp_seconds":1783515906,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d4ffd0"} 
[2026-07-08 18:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-08 18:37:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:37:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580070144001,"66":28028,"58":206,"85":12544,"24":57,"16":343031680652541952,"45":9125066925687355392},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-07-08 18:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580070144001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:37:01] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-08 18:37:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343031680652541952,"km_value":343031680652541.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125066925687355392,"description":"Unknown IO ID 45"} 
[2026-07-08 18:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580070144001,"power":28028,"unknown_58":206,"unknown_85":12544,"ignition":57,"odometer":null,"unknown_45":9125066925687355392}} 
[2026-07-08 18:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":127844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:37:01] local.INFO: GPS data processed {"connection_id":127844,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:37:01] local.INFO: Acknowledgment sent {"connection_id":127844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:37:05] local.INFO: TCP Data received {"connection_id":125842,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:37:05] local.INFO: Processing buffer {"connection_id":125842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:37:05] local.INFO: IMEI packet received {"connection_id":125842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":125842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:37:05] local.INFO: TCP Data received {"connection_id":125842,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d59828012d183e80072190d8005000e42d..."} 
[2026-07-08 18:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d59828012d183e80072190d8005000e42d..."} 
[2026-07-08 18:37:05] local.INFO: Processing buffer {"connection_id":125842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d59828012d183e80072190d8005000e42d..."} 
[2026-07-08 18:37:05] local.INFO: Packet analysis {"connection_id":125842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d5"} 
[2026-07-08 18:37:05] local.INFO: Extracted packet for processing {"connection_id":125842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d5"} 
[2026-07-08 18:37:05] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":45,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580076544001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783515945000,"timestamp_ms":1783515945000,"timestamp_seconds":1783515945,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d59828"} 
[2026-07-08 18:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 18:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580076544001,"66":12439,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580076544001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:37:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:37:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580076544001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":125842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:37:06] local.INFO: GPS data processed {"connection_id":125842,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:37:06] local.INFO: Acknowledgment sent {"connection_id":125842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:37:08] local.INFO: TCP Data received {"connection_id":125841,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d5ee18012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d5ee18012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:37:08] local.INFO: Processing buffer {"connection_id":125841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d5ee18012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:37:08] local.INFO: Packet analysis {"connection_id":125841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d5"} 
[2026-07-08 18:37:08] local.INFO: Extracted packet for processing {"connection_id":125841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d5"} 
[2026-07-08 18:37:08] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580010496001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783515967000,"timestamp_ms":1783515967000,"timestamp_seconds":1783515967,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d5ee18"} 
[2026-07-08 18:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-08 18:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580010496001,"66":2220,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580010496001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:37:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:37:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580010496001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":125841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453119,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:37:08] local.INFO: GPS data processed {"connection_id":125841,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:37:08] local.INFO: Acknowledgment sent {"connection_id":125841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:37:31] local.INFO: TCP Data received {"connection_id":126616,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126616,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:37:31] local.INFO: Processing buffer {"connection_id":126616,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:37:31] local.INFO: IMEI packet received {"connection_id":126616,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":126616,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:37:32] local.INFO: TCP Data received {"connection_id":127844,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d65b78012d7eb5c005b352b8000801672f..."} 
[2026-07-08 18:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d65b78012d7eb5c005b352b8000801672f..."} 
[2026-07-08 18:37:32] local.INFO: Processing buffer {"connection_id":127844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d65b78012d7eb5c005b352b8000801672f..."} 
[2026-07-08 18:37:32] local.INFO: Packet analysis {"connection_id":127844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d6"} 
[2026-07-08 18:37:32] local.INFO: Extracted packet for processing {"connection_id":127844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d6"} 
[2026-07-08 18:37:32] local.INFO: GPS Element Parsed {"raw_longitude":763278784,"raw_latitude":95638200,"longitude_deg":76.3278784,"latitude_deg":9.56382,"altitude":8,"angle":359,"satellites":47,"speed":57,"hex_longitude":"2d7eb5c0","hex_latitude":"05b352b8","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580093184001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343037745146363904,"note":"Value kept but may cause issues"} 
[2026-07-08 18:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130626056509700096,"note":"Value kept but may cause issues"} 
[2026-07-08 18:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783515995000,"timestamp_ms":1783515995000,"timestamp_seconds":1783515995,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d65b78"} 
[2026-07-08 18:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 18:37: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-07-08 18: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-07-08 18:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580093184001,"66":27321,"13":206,"85":12544,"24":57,"16":343037745146363904,"45":9130626056509700096},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,85,24,16,45]} 
[2026-07-08 18:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580093184001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:37:32] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-07-08 18:37:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343037745146363904,"km_value":343037745146363.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130626056509700096,"description":"Unknown IO ID 45"} 
[2026-07-08 18:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580093184001,"power":27321,"unknown_13":206,"unknown_85":12544,"ignition":57,"odometer":null,"unknown_45":9130626056509700096}} 
[2026-07-08 18:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":127844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:37:32] local.INFO: GPS data processed {"connection_id":127844,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:37:32] local.INFO: Acknowledgment sent {"connection_id":127844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:37:36] local.INFO: TCP Data received {"connection_id":126616,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126616,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:37:36] local.INFO: Processing buffer {"connection_id":126616,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:37:36] local.INFO: IMEI packet received {"connection_id":126616,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":126616,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:37:36] local.INFO: TCP Data received {"connection_id":125842,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d5ea30012d183e80072190d8005000e42b..."} 
[2026-07-08 18:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d5ea30012d183e80072190d8005000e42b..."} 
[2026-07-08 18:37:37] local.INFO: Processing buffer {"connection_id":125842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d5ea30012d183e80072190d8005000e42b..."} 
[2026-07-08 18:37:37] local.INFO: Packet analysis {"connection_id":125842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d5"} 
[2026-07-08 18:37:37] local.INFO: Extracted packet for processing {"connection_id":125842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d5"} 
[2026-07-08 18:37:37] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":43,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580081920001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783515966000,"timestamp_ms":1783515966000,"timestamp_seconds":1783515966,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d5ea30"} 
[2026-07-08 18:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 18:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580081920001,"66":12428,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580081920001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:37:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:37:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580081920001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":125842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:37:37] local.INFO: GPS data processed {"connection_id":125842,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:37:37] local.INFO: Acknowledgment sent {"connection_id":125842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:37:37] local.INFO: TCP Data received {"connection_id":126616,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d5ee18012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d5ee18012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:37:37] local.INFO: Processing buffer {"connection_id":126616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d5ee18012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:37:37] local.INFO: Packet analysis {"connection_id":126616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d5"} 
[2026-07-08 18:37:37] local.INFO: Extracted packet for processing {"connection_id":126616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d5"} 
[2026-07-08 18:37:37] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580010496001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783515967000,"timestamp_ms":1783515967000,"timestamp_seconds":1783515967,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d5ee18"} 
[2026-07-08 18:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-08 18:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580010496001,"66":2220,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580010496001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:37:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:37:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580010496001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":126616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453122,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:37:37] local.INFO: GPS data processed {"connection_id":126616,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:37:37] local.INFO: Acknowledgment sent {"connection_id":126616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:37:55] local.INFO: TCP Data received {"connection_id":127845,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:37:55] local.INFO: Processing buffer {"connection_id":127845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:37:55] local.INFO: IMEI packet received {"connection_id":127845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":127845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:37:57] local.INFO: TCP Data received {"connection_id":127845,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:37:57] local.INFO: Processing buffer {"connection_id":127845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:37:57] local.INFO: IMEI packet received {"connection_id":127845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":127845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:37:59] local.INFO: TCP Data received {"connection_id":127847,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:37:59] local.INFO: Processing buffer {"connection_id":127847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:37:59] local.INFO: IMEI packet received {"connection_id":127847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":127847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:38:00] local.INFO: TCP Data received {"connection_id":127845,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:38:00] local.INFO: Processing buffer {"connection_id":127845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:38:00] local.INFO: IMEI packet received {"connection_id":127845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":127845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:38:01] local.INFO: TCP Data received {"connection_id":127845,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d676d0012d7eb54005b37958000701662f..."} 
[2026-07-08 18:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d676d0012d7eb54005b37958000701662f..."} 
[2026-07-08 18:38:01] local.INFO: Processing buffer {"connection_id":127845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d676d0012d7eb54005b37958000701662f..."} 
[2026-07-08 18:38:01] local.INFO: Packet analysis {"connection_id":127845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d6"} 
[2026-07-08 18:38:01] local.INFO: Extracted packet for processing {"connection_id":127845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d6"} 
[2026-07-08 18:38:01] local.INFO: GPS Element Parsed {"raw_longitude":763278656,"raw_latitude":95648088,"longitude_deg":76.3278656,"latitude_deg":9.5648088,"altitude":7,"angle":358,"satellites":47,"speed":54,"hex_longitude":"2d7eb540","hex_latitude":"05b37958","is_valid_coordinates":true} 
[2026-07-08 18:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580094720001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343038226182701056,"note":"Value kept but may cause issues"} 
[2026-07-08 18:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130414950279460864,"note":"Value kept but may cause issues"} 
[2026-07-08 18:38:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783516002000,"timestamp_ms":1783516002000,"timestamp_seconds":1783516002,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d676d0"} 
[2026-07-08 18:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:38:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 18:38:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:38:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:38:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580094720001,"66":27908,"13":206,"85":12544,"24":54,"16":343038226182701056,"45":9130414950279460864},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,85,24,16,45]} 
[2026-07-08 18:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580094720001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:38:01] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-07-08 18:38:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343038226182701056,"km_value":343038226182701.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130414950279460864,"description":"Unknown IO ID 45"} 
[2026-07-08 18:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580094720001,"power":27908,"unknown_13":206,"unknown_85":12544,"ignition":54,"odometer":null,"unknown_45":9130414950279460864}} 
[2026-07-08 18:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":127845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:38:01] local.INFO: GPS data processed {"connection_id":127845,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:38:01] local.INFO: Acknowledgment sent {"connection_id":127845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:38:05] local.INFO: TCP Data received {"connection_id":127847,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:38:05] local.INFO: Processing buffer {"connection_id":127847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:38:05] local.INFO: IMEI packet received {"connection_id":127847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":127847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:38:05] local.INFO: TCP Data received {"connection_id":127847,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d63c38012d183e80072190d8005000e429..."} 
[2026-07-08 18:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d63c38012d183e80072190d8005000e429..."} 
[2026-07-08 18:38:05] local.INFO: Processing buffer {"connection_id":127847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d63c38012d183e80072190d8005000e429..."} 
[2026-07-08 18:38:05] local.INFO: Packet analysis {"connection_id":127847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d6"} 
[2026-07-08 18:38:05] local.INFO: Extracted packet for processing {"connection_id":127847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d6"} 
[2026-07-08 18:38:05] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":41,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580087296001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783515987000,"timestamp_ms":1783515987000,"timestamp_seconds":1783515987,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d63c38"} 
[2026-07-08 18:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-08 18:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580087296001,"66":12428,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580087296001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:38:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:38:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580087296001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":127847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:38:05] local.INFO: GPS data processed {"connection_id":127847,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:38:05] local.INFO: Acknowledgment sent {"connection_id":127847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:38:09] local.INFO: TCP Data received {"connection_id":126616,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d5ee18012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d5ee18012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:38:09] local.INFO: Processing buffer {"connection_id":126616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d5ee18012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:38:09] local.INFO: Packet analysis {"connection_id":126616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d5"} 
[2026-07-08 18:38:09] local.INFO: Extracted packet for processing {"connection_id":126616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d5"} 
[2026-07-08 18:38:09] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580010496001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783515967000,"timestamp_ms":1783515967000,"timestamp_seconds":1783515967,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d5ee18"} 
[2026-07-08 18:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-08 18:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580010496001,"66":2220,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580010496001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:38:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:38:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580010496001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":126616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453125,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:38:09] local.INFO: GPS data processed {"connection_id":126616,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:38:09] local.INFO: Acknowledgment sent {"connection_id":126616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:38:31] local.INFO: TCP Data received {"connection_id":126617,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:38:31] local.INFO: Processing buffer {"connection_id":126617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:38:31] local.INFO: IMEI packet received {"connection_id":126617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":126617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:38:32] local.INFO: TCP Data received {"connection_id":127845,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d69228012d7eb3c005b39dd0000701672f..."} 
[2026-07-08 18:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d69228012d7eb3c005b39dd0000701672f..."} 
[2026-07-08 18:38:32] local.INFO: Processing buffer {"connection_id":127845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d69228012d7eb3c005b39dd0000701672f..."} 
[2026-07-08 18:38:32] local.INFO: Packet analysis {"connection_id":127845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d6"} 
[2026-07-08 18:38:32] local.INFO: Extracted packet for processing {"connection_id":127845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d6"} 
[2026-07-08 18:38:32] local.INFO: GPS Element Parsed {"raw_longitude":763278272,"raw_latitude":95657424,"longitude_deg":76.3278272,"latitude_deg":9.5657424,"altitude":7,"angle":359,"satellites":47,"speed":51,"hex_longitude":"2d7eb3c0","hex_latitude":"05b39dd0","is_valid_coordinates":true} 
[2026-07-08 18:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580096512001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343038677154267136,"note":"Value kept but may cause issues"} 
[2026-07-08 18:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130274212793636864,"note":"Value kept but may cause issues"} 
[2026-07-08 18:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783516009000,"timestamp_ms":1783516009000,"timestamp_seconds":1783516009,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d69228"} 
[2026-07-08 18:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 18:38:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580096512001,"66":27843,"11":206,"85":12544,"24":51,"16":343038677154267136,"45":9130274212793636864},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-07-08 18:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580096512001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:38:32] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-08 18:38:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343038677154267136,"km_value":343038677154267.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130274212793636864,"description":"Unknown IO ID 45"} 
[2026-07-08 18:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580096512001,"power":27843,"unknown_11":206,"unknown_85":12544,"ignition":51,"odometer":null,"unknown_45":9130274212793636864}} 
[2026-07-08 18:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":127845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:38:32] local.INFO: GPS data processed {"connection_id":127845,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:38:32] local.INFO: Acknowledgment sent {"connection_id":127845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:38:36] local.INFO: TCP Data received {"connection_id":126617,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:38:36] local.INFO: Processing buffer {"connection_id":126617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:38:36] local.INFO: IMEI packet received {"connection_id":126617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":126617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:38:36] local.INFO: TCP Data received {"connection_id":127847,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d68e40012d183e80072190d8005000e429..."} 
[2026-07-08 18:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d68e40012d183e80072190d8005000e429..."} 
[2026-07-08 18:38:36] local.INFO: Processing buffer {"connection_id":127847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d68e40012d183e80072190d8005000e429..."} 
[2026-07-08 18:38:36] local.INFO: Packet analysis {"connection_id":127847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d6"} 
[2026-07-08 18:38:36] local.INFO: Extracted packet for processing {"connection_id":127847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d6"} 
[2026-07-08 18:38:36] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":41,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580092672001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783516008000,"timestamp_ms":1783516008000,"timestamp_seconds":1783516008,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d68e40"} 
[2026-07-08 18:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-08 18:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580092672001,"66":12406,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580092672001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:38:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:38:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580092672001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":127847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:38:37] local.INFO: GPS data processed {"connection_id":127847,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:38:37] local.INFO: Acknowledgment sent {"connection_id":127847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:38:37] local.INFO: TCP Data received {"connection_id":126617,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d5ee18012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d5ee18012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:38:37] local.INFO: Processing buffer {"connection_id":126617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d5ee18012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:38:37] local.INFO: Packet analysis {"connection_id":126617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d5"} 
[2026-07-08 18:38:37] local.INFO: Extracted packet for processing {"connection_id":126617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d5"} 
[2026-07-08 18:38:37] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580010496001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783515967000,"timestamp_ms":1783515967000,"timestamp_seconds":1783515967,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d5ee18"} 
[2026-07-08 18:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-08 18:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580010496001,"66":2220,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580010496001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:38:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:38:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580010496001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":126617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453128,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:38:37] local.INFO: GPS data processed {"connection_id":126617,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:38:37] local.INFO: Acknowledgment sent {"connection_id":126617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:38:56] local.INFO: TCP Data received {"connection_id":127849,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:38:56] local.INFO: Processing buffer {"connection_id":127849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:38:56] local.INFO: IMEI packet received {"connection_id":127849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":127849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:39:00] local.INFO: TCP Data received {"connection_id":127849,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:39:00] local.INFO: Processing buffer {"connection_id":127849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:39:00] local.INFO: IMEI packet received {"connection_id":127849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":127849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:39:04] local.INFO: TCP Data received {"connection_id":127849,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:39:04] local.INFO: Processing buffer {"connection_id":127849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:39:04] local.INFO: IMEI packet received {"connection_id":127849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":127849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:39:05] local.INFO: TCP Data received {"connection_id":125843,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:39:05] local.INFO: Processing buffer {"connection_id":125843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:39:05] local.INFO: IMEI packet received {"connection_id":125843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":125843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:39:05] local.INFO: TCP Data received {"connection_id":127849,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d7bb08012d7ea40005b52c00000701672f..."} 
[2026-07-08 18:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d7bb08012d7ea40005b52c00000701672f..."} 
[2026-07-08 18:39:05] local.INFO: Processing buffer {"connection_id":127849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d7bb08012d7ea40005b52c00000701672f..."} 
[2026-07-08 18:39:05] local.INFO: Packet analysis {"connection_id":127849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d7"} 
[2026-07-08 18:39:05] local.INFO: Extracted packet for processing {"connection_id":127849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d7"} 
[2026-07-08 18:39:05] local.INFO: GPS Element Parsed {"raw_longitude":763274240,"raw_latitude":95759360,"longitude_deg":76.327424,"latitude_deg":9.575936,"altitude":7,"angle":359,"satellites":47,"speed":58,"hex_longitude":"2d7ea400","hex_latitude":"05b52c00","is_valid_coordinates":true} 
[2026-07-08 18:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580116224001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343043624956592128,"note":"Value kept but may cause issues"} 
[2026-07-08 18:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125629875704109056,"note":"Value kept but may cause issues"} 
[2026-07-08 18:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783516085000,"timestamp_ms":1783516085000,"timestamp_seconds":1783516085,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d7bb08"} 
[2026-07-08 18:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-08 18:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580116224001,"66":27865,"122":206,"85":12544,"24":58,"16":343043624956592128,"45":9125629875704109056},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-07-08 18:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580116224001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:39:05] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-08 18:39:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343043624956592128,"km_value":343043624956592.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125629875704109056,"description":"Unknown IO ID 45"} 
[2026-07-08 18:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580116224001,"power":27865,"unknown_122":206,"unknown_85":12544,"ignition":58,"odometer":null,"unknown_45":9125629875704109056}} 
[2026-07-08 18:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":127849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:39:05] local.INFO: GPS data processed {"connection_id":127849,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:39:05] local.INFO: Acknowledgment sent {"connection_id":127849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:39:08] local.INFO: TCP Data received {"connection_id":126617,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d5ee18012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d5ee18012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:39:08] local.INFO: Processing buffer {"connection_id":126617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d5ee18012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:39:08] local.INFO: Packet analysis {"connection_id":126617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d5"} 
[2026-07-08 18:39:08] local.INFO: Extracted packet for processing {"connection_id":126617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d5"} 
[2026-07-08 18:39:08] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580010496001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783515967000,"timestamp_ms":1783515967000,"timestamp_seconds":1783515967,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d5ee18"} 
[2026-07-08 18:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-08 18:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580010496001,"66":2220,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580010496001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:39:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:39:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580010496001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":126617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453130,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:39:08] local.INFO: GPS data processed {"connection_id":126617,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:39:08] local.INFO: Acknowledgment sent {"connection_id":126617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:39:10] local.INFO: TCP Data received {"connection_id":125843,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:39:10] local.INFO: Processing buffer {"connection_id":125843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:39:10] local.INFO: IMEI packet received {"connection_id":125843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":125843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:39:10] local.INFO: TCP Data received {"connection_id":127849,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d7d660012d7ea44005b552a8000700002e..."} 
[2026-07-08 18:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d7d660012d7ea44005b552a8000700002e..."} 
[2026-07-08 18:39:10] local.INFO: Processing buffer {"connection_id":127849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d7d660012d7ea44005b552a8000700002e..."} 
[2026-07-08 18:39:10] local.INFO: Packet analysis {"connection_id":127849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d7"} 
[2026-07-08 18:39:10] local.INFO: Extracted packet for processing {"connection_id":127849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d7"} 
[2026-07-08 18:39:10] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95769256,"longitude_deg":76.3274304,"latitude_deg":9.5769256,"altitude":7,"angle":0,"satellites":46,"speed":54,"hex_longitude":"2d7ea440","hex_latitude":"05b552a8","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580117760001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343044105992929280,"note":"Value kept but may cause issues"} 
[2026-07-08 18:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125418769473863680,"note":"Value kept but may cause issues"} 
[2026-07-08 18:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783516092000,"timestamp_ms":1783516092000,"timestamp_seconds":1783516092,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d7d660"} 
[2026-07-08 18:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 18:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":127849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":127849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":127849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580117760001,"66":27865,"122":206,"85":12544,"24":54,"16":343044105992929280,"45":9125418769473863680},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-07-08 18:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580117760001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:39:10] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-08 18:39:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343044105992929280,"km_value":343044105992929.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125418769473863680,"description":"Unknown IO ID 45"} 
[2026-07-08 18:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580117760001,"power":27865,"unknown_122":206,"unknown_85":12544,"ignition":54,"odometer":null,"unknown_45":9125418769473863680}} 
[2026-07-08 18:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":127849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:39:10] local.INFO: GPS data processed {"connection_id":127849,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:39:10] local.INFO: Acknowledgment sent {"connection_id":127849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:39:10] local.INFO: TCP Data received {"connection_id":125843,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d6e048012d183e80072190d8005000e42b..."} 
[2026-07-08 18:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d6e048012d183e80072190d8005000e42b..."} 
[2026-07-08 18:39:10] local.INFO: Processing buffer {"connection_id":125843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d6e048012d183e80072190d8005000e42b..."} 
[2026-07-08 18:39:10] local.INFO: Packet analysis {"connection_id":125843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d6"} 
[2026-07-08 18:39:10] local.INFO: Extracted packet for processing {"connection_id":125843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d6"} 
[2026-07-08 18:39:10] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":43,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580098048001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783516029000,"timestamp_ms":1783516029000,"timestamp_seconds":1783516029,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d6e048"} 
[2026-07-08 18:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 18:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580098048001,"66":12341,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580098048001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:39:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:39:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580098048001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":125843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:39:10] local.INFO: GPS data processed {"connection_id":125843,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:39:10] local.INFO: Acknowledgment sent {"connection_id":125843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:39:11] local.INFO: TCP Data received {"connection_id":125843,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d73250012d183e80072190d8005000e42b..."} 
[2026-07-08 18:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d73250012d183e80072190d8005000e42b..."} 
[2026-07-08 18:39:11] local.INFO: Processing buffer {"connection_id":125843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d73250012d183e80072190d8005000e42b..."} 
[2026-07-08 18:39:11] local.INFO: Packet analysis {"connection_id":125843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d7"} 
[2026-07-08 18:39:11] local.INFO: Extracted packet for processing {"connection_id":125843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d7"} 
[2026-07-08 18:39:11] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":43,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580103424001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783516050000,"timestamp_ms":1783516050000,"timestamp_seconds":1783516050,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d73250"} 
[2026-07-08 18:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 18:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580103424001,"66":12319,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580103424001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:39:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:39:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580103424001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":125843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:39:11] local.INFO: GPS data processed {"connection_id":125843,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:39:11] local.INFO: Acknowledgment sent {"connection_id":125843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:39:31] local.INFO: TCP Data received {"connection_id":125844,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125844,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:39:31] local.INFO: Processing buffer {"connection_id":125844,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:39:31] local.INFO: IMEI packet received {"connection_id":125844,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":125844,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:39:36] local.INFO: TCP Data received {"connection_id":125844,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125844,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:39:36] local.INFO: Processing buffer {"connection_id":125844,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:39:36] local.INFO: IMEI packet received {"connection_id":125844,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":125844,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:39:37] local.INFO: TCP Data received {"connection_id":125844,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d5ee18012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d5ee18012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:39:37] local.INFO: Processing buffer {"connection_id":125844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d5ee18012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:39:37] local.INFO: Packet analysis {"connection_id":125844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d5"} 
[2026-07-08 18:39:37] local.INFO: Extracted packet for processing {"connection_id":125844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d5"} 
[2026-07-08 18:39:37] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580010496001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783515967000,"timestamp_ms":1783515967000,"timestamp_seconds":1783515967,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d5ee18"} 
[2026-07-08 18:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-08 18:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580010496001,"66":2220,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580010496001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:39:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:39:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580010496001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":125844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453134,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:39:37] local.INFO: GPS data processed {"connection_id":125844,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:39:37] local.INFO: Acknowledgment sent {"connection_id":125844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:39:42] local.INFO: TCP Data received {"connection_id":125843,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d78070012d183e80072190d8005000e42c..."} 
[2026-07-08 18:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d78070012d183e80072190d8005000e42c..."} 
[2026-07-08 18:39:42] local.INFO: Processing buffer {"connection_id":125843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d78070012d183e80072190d8005000e42c..."} 
[2026-07-08 18:39:42] local.INFO: Packet analysis {"connection_id":125843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d7"} 
[2026-07-08 18:39:42] local.INFO: Extracted packet for processing {"connection_id":125843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d7"} 
[2026-07-08 18:39:42] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":44,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580108800001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783516070000,"timestamp_ms":1783516070000,"timestamp_seconds":1783516070,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d78070"} 
[2026-07-08 18:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 18:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":125843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":125843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":125843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580108800001,"66":12319,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580108800001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:39:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:39:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580108800001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":125843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:39:42] local.INFO: GPS data processed {"connection_id":125843,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:39:42] local.INFO: Acknowledgment sent {"connection_id":125843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:39:55] local.INFO: TCP Data received {"connection_id":125845,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:39:55] local.INFO: Processing buffer {"connection_id":125845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:39:55] local.INFO: IMEI packet received {"connection_id":125845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":125845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:39:59] local.INFO: TCP Data received {"connection_id":125845,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:39:59] local.INFO: Processing buffer {"connection_id":125845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:39:59] local.INFO: IMEI packet received {"connection_id":125845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":125845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:39:59] local.INFO: TCP Data received {"connection_id":125845,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d7edd0012d7ea74005b571080007000c2e..."} 
[2026-07-08 18:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d7edd0012d7ea74005b571080007000c2e..."} 
[2026-07-08 18:39:59] local.INFO: Processing buffer {"connection_id":125845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d7edd0012d7ea74005b571080007000c2e..."} 
[2026-07-08 18:39:59] local.INFO: Packet analysis {"connection_id":125845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d7"} 
[2026-07-08 18:39:59] local.INFO: Extracted packet for processing {"connection_id":125845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d7"} 
[2026-07-08 18:39:59] local.INFO: GPS Element Parsed {"raw_longitude":763275072,"raw_latitude":95777032,"longitude_deg":76.3275072,"latitude_deg":9.5777032,"altitude":7,"angle":12,"satellites":46,"speed":48,"hex_longitude":"2d7ea740","hex_latitude":"05b57108","is_valid_coordinates":true} 
[2026-07-08 18:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580119552001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343044483950051328,"note":"Value kept but may cause issues"} 
[2026-07-08 18:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138220574720,"note":"Value kept but may cause issues"} 
[2026-07-08 18:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783516098000,"timestamp_ms":1783516098000,"timestamp_seconds":1783516098,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d7edd0"} 
[2026-07-08 18:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 18:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:39:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":125845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":125845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":125845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580119552001,"66":27865,"122":206,"85":12544,"24":48,"16":343044483950051328,"45":9125489138220574720},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-07-08 18:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580119552001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:39:59] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-08 18:39:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343044483950051328,"km_value":343044483950051.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138220574720,"description":"Unknown IO ID 45"} 
[2026-07-08 18:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580119552001,"power":27865,"unknown_122":206,"unknown_85":12544,"ignition":48,"odometer":null,"unknown_45":9125489138220574720}} 
[2026-07-08 18:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":125845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:39:59] local.INFO: GPS data processed {"connection_id":125845,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:39:59] local.INFO: Acknowledgment sent {"connection_id":125845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:40:00] local.INFO: TCP Data received {"connection_id":127850,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:40:00] local.INFO: Processing buffer {"connection_id":127850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:40:00] local.INFO: IMEI packet received {"connection_id":127850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":127850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:40:00] local.INFO: TCP Data received {"connection_id":125845,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d80d10012d7eab8005b59480000800052d..."} 
[2026-07-08 18:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d80d10012d7eab8005b59480000800052d..."} 
[2026-07-08 18:40:00] local.INFO: Processing buffer {"connection_id":125845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d80d10012d7eab8005b59480000800052d..."} 
[2026-07-08 18:40:00] local.INFO: Packet analysis {"connection_id":125845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d8"} 
[2026-07-08 18:40:00] local.INFO: Extracted packet for processing {"connection_id":125845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d8"} 
[2026-07-08 18:40:00] local.INFO: GPS Element Parsed {"raw_longitude":763276160,"raw_latitude":95786112,"longitude_deg":76.327616,"latitude_deg":9.5786112,"altitude":8,"angle":5,"satellites":45,"speed":40,"hex_longitude":"2d7eab80","hex_latitude":"05b59480","is_valid_coordinates":true} 
[2026-07-08 18:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580121088001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343044926331682816,"note":"Value kept but may cause issues"} 
[2026-07-08 18:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126333563152697344,"note":"Value kept but may cause issues"} 
[2026-07-08 18:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783516106000,"timestamp_ms":1783516106000,"timestamp_seconds":1783516106,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d80d10"} 
[2026-07-08 18:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 18:40:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:40:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580121088001,"66":27908,"122":206,"85":12544,"24":40,"16":343044926331682816,"45":9126333563152697344},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-07-08 18:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580121088001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:40:00] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-08 18:40:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343044926331682816,"km_value":343044926331682.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126333563152697344,"description":"Unknown IO ID 45"} 
[2026-07-08 18:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580121088001,"power":27908,"unknown_122":206,"unknown_85":12544,"ignition":40,"odometer":null,"unknown_45":9126333563152697344}} 
[2026-07-08 18:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":125845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:40:00] local.INFO: GPS data processed {"connection_id":125845,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:40:00] local.INFO: Acknowledgment sent {"connection_id":125845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:40:05] local.INFO: TCP Data received {"connection_id":127850,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:40:05] local.INFO: Processing buffer {"connection_id":127850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:40:05] local.INFO: IMEI packet received {"connection_id":127850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":127850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:40:05] local.INFO: TCP Data received {"connection_id":127850,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d7d278012d183e80072190d8005000e42b..."} 
[2026-07-08 18:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d7d278012d183e80072190d8005000e42b..."} 
[2026-07-08 18:40:05] local.INFO: Processing buffer {"connection_id":127850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d7d278012d183e80072190d8005000e42b..."} 
[2026-07-08 18:40:05] local.INFO: Packet analysis {"connection_id":127850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d7"} 
[2026-07-08 18:40:05] local.INFO: Extracted packet for processing {"connection_id":127850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d7"} 
[2026-07-08 18:40:05] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":43,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580113920001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783516091000,"timestamp_ms":1783516091000,"timestamp_seconds":1783516091,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d7d278"} 
[2026-07-08 18:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 18:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580113920001,"66":12374,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580113920001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:40:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:40:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580113920001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":127850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:40:05] local.INFO: GPS data processed {"connection_id":127850,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:40:05] local.INFO: Acknowledgment sent {"connection_id":127850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:40:08] local.INFO: TCP Data received {"connection_id":125844,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d5ee18012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d5ee18012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:40:08] local.INFO: Processing buffer {"connection_id":125844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d5ee18012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:40:08] local.INFO: Packet analysis {"connection_id":125844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d5"} 
[2026-07-08 18:40:08] local.INFO: Extracted packet for processing {"connection_id":125844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d5"} 
[2026-07-08 18:40:08] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580010496001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783515967000,"timestamp_ms":1783515967000,"timestamp_seconds":1783515967,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d5ee18"} 
[2026-07-08 18:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-08 18:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580010496001,"66":2220,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580010496001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:40:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:40:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580010496001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":125844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453139,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:40:08] local.INFO: GPS data processed {"connection_id":125844,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:40:08] local.INFO: Acknowledgment sent {"connection_id":125844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:40:21] local.INFO: TCP Data received {"connection_id":126618,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126618,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:40:21] local.INFO: Processing buffer {"connection_id":126618,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:40:21] local.INFO: IMEI packet received {"connection_id":126618,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 18:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":126618,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:40:30] local.INFO: TCP Data received {"connection_id":125736,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125736,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:40:30] local.INFO: Processing buffer {"connection_id":125736,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:40:30] local.INFO: IMEI packet received {"connection_id":125736,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":125736,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:40:31] local.INFO: TCP Data received {"connection_id":125845,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d83808012d7ead4005b5b878000800022c..."} 
[2026-07-08 18:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d83808012d7ead4005b5b878000800022c..."} 
[2026-07-08 18:40:31] local.INFO: Processing buffer {"connection_id":125845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d83808012d7ead4005b5b878000800022c..."} 
[2026-07-08 18:40:31] local.INFO: Packet analysis {"connection_id":125845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d8"} 
[2026-07-08 18:40:31] local.INFO: Extracted packet for processing {"connection_id":125845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d8"} 
[2026-07-08 18:40:31] local.INFO: GPS Element Parsed {"raw_longitude":763276608,"raw_latitude":95795320,"longitude_deg":76.3276608,"latitude_deg":9.579532,"altitude":8,"angle":2,"satellites":44,"speed":26,"hex_longitude":"2d7ead40","hex_latitude":"05b5b878","is_valid_coordinates":true} 
[2026-07-08 18:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580123136001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343045377303248896,"note":"Value kept but may cause issues"} 
[2026-07-08 18:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127529831806042112,"note":"Value kept but may cause issues"} 
[2026-07-08 18:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783516117000,"timestamp_ms":1783516117000,"timestamp_seconds":1783516117,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d83808"} 
[2026-07-08 18:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:40: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-07-08 18:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 18:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:40:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":125845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":125845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":125845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580123136001,"66":27919,"122":206,"85":12544,"24":26,"16":343045377303248896,"45":9127529831806042112},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-07-08 18:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580123136001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:40:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-08 18:40:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343045377303248896,"km_value":343045377303248.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127529831806042112,"description":"Unknown IO ID 45"} 
[2026-07-08 18:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580123136001,"power":27919,"unknown_122":206,"unknown_85":12544,"ignition":26,"odometer":null,"unknown_45":9127529831806042112}} 
[2026-07-08 18:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":125845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:40:31] local.INFO: GPS data processed {"connection_id":125845,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:40:31] local.INFO: Acknowledgment sent {"connection_id":125845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:40:36] local.INFO: TCP Data received {"connection_id":125736,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125736,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:40:36] local.INFO: Processing buffer {"connection_id":125736,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:40:36] local.INFO: IMEI packet received {"connection_id":125736,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":125736,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:40:36] local.INFO: TCP Data received {"connection_id":127850,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d82480012d183e80072190d8005000e42b..."} 
[2026-07-08 18:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d82480012d183e80072190d8005000e42b..."} 
[2026-07-08 18:40:36] local.INFO: Processing buffer {"connection_id":127850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d82480012d183e80072190d8005000e42b..."} 
[2026-07-08 18:40:36] local.INFO: Packet analysis {"connection_id":127850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d8"} 
[2026-07-08 18:40:36] local.INFO: Extracted packet for processing {"connection_id":127850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d8"} 
[2026-07-08 18:40:36] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":43,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580119296001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783516112000,"timestamp_ms":1783516112000,"timestamp_seconds":1783516112,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d82480"} 
[2026-07-08 18:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 18:40:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580119296001,"66":12200,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580119296001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:40:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:40:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580119296001,"power":12200,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":127850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:40:36] local.INFO: GPS data processed {"connection_id":127850,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:40:36] local.INFO: Acknowledgment sent {"connection_id":127850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:40:37] local.INFO: TCP Data received {"connection_id":125736,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d5ee18012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d5ee18012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:40:37] local.INFO: Processing buffer {"connection_id":125736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d5ee18012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:40:37] local.INFO: Packet analysis {"connection_id":125736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d5"} 
[2026-07-08 18:40:37] local.INFO: Extracted packet for processing {"connection_id":125736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d5"} 
[2026-07-08 18:40:37] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580010496001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783515967000,"timestamp_ms":1783515967000,"timestamp_seconds":1783515967,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d5ee18"} 
[2026-07-08 18:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-08 18:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580010496001,"66":2220,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580010496001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:40:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:40:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580010496001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":125736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453142,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:40:37] local.INFO: GPS data processed {"connection_id":125736,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:40:37] local.INFO: Acknowledgment sent {"connection_id":125736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:40:53] local.INFO: TCP Data received {"connection_id":127851,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:40:53] local.INFO: Processing buffer {"connection_id":127851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:40:53] local.INFO: IMEI packet received {"connection_id":127851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":127851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:40:55] local.INFO: TCP Data received {"connection_id":127851,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:40:55] local.INFO: Processing buffer {"connection_id":127851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:40:55] local.INFO: IMEI packet received {"connection_id":127851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":127851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:40:55] local.INFO: TCP Data received {"connection_id":127852,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127852,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:40:55] local.INFO: Processing buffer {"connection_id":127852,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:40:55] local.INFO: IMEI packet received {"connection_id":127852,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 18:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":127852,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:41:00] local.INFO: TCP Data received {"connection_id":125737,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:41:00] local.INFO: Processing buffer {"connection_id":125737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:41:00] local.INFO: IMEI packet received {"connection_id":125737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":125737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:41:02] local.INFO: TCP Data received {"connection_id":127851,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:41:02] local.INFO: Processing buffer {"connection_id":127851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:41:02] local.INFO: IMEI packet received {"connection_id":127851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":127851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:41:02] local.INFO: TCP Data received {"connection_id":127851,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d86ad0012d7ead4005b5db10000800012e..."} 
[2026-07-08 18:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d86ad0012d7ead4005b5db10000800012e..."} 
[2026-07-08 18:41:02] local.INFO: Processing buffer {"connection_id":127851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d86ad0012d7ead4005b5db10000800012e..."} 
[2026-07-08 18:41:02] local.INFO: Packet analysis {"connection_id":127851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d8"} 
[2026-07-08 18:41:02] local.INFO: Extracted packet for processing {"connection_id":127851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d8"} 
[2026-07-08 18:41:02] local.INFO: GPS Element Parsed {"raw_longitude":763276608,"raw_latitude":95804176,"longitude_deg":76.3276608,"latitude_deg":9.5804176,"altitude":8,"angle":1,"satellites":46,"speed":25,"hex_longitude":"2d7ead40","hex_latitude":"05b5db10","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580125952001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343045806799978496,"note":"Value kept but may cause issues"} 
[2026-07-08 18:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128022413017643008,"note":"Value kept but may cause issues"} 
[2026-07-08 18:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783516130000,"timestamp_ms":1783516130000,"timestamp_seconds":1783516130,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d86ad0"} 
[2026-07-08 18:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:41: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-07-08 18: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 18:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580125952001,"66":27767,"122":206,"85":12544,"24":25,"16":343045806799978496,"45":9128022413017643008},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-07-08 18:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580125952001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:41:02] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-08 18:41:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343045806799978496,"km_value":343045806799978.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128022413017643008,"description":"Unknown IO ID 45"} 
[2026-07-08 18:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580125952001,"power":27767,"unknown_122":206,"unknown_85":12544,"ignition":25,"odometer":null,"unknown_45":9128022413017643008}} 
[2026-07-08 18:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":127851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:41:02] local.INFO: GPS data processed {"connection_id":127851,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:41:02] local.INFO: Acknowledgment sent {"connection_id":127851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:41:05] local.INFO: TCP Data received {"connection_id":125737,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:41:05] local.INFO: Processing buffer {"connection_id":125737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:41:05] local.INFO: IMEI packet received {"connection_id":125737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":125737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:41:05] local.INFO: TCP Data received {"connection_id":125737,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d87a70012d183e80072190d8005000e42c..."} 
[2026-07-08 18:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d87a70012d183e80072190d8005000e42c..."} 
[2026-07-08 18:41:05] local.INFO: Processing buffer {"connection_id":125737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d87a70012d183e80072190d8005000e42c..."} 
[2026-07-08 18:41:05] local.INFO: Packet analysis {"connection_id":125737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d8"} 
[2026-07-08 18:41:05] local.INFO: Extracted packet for processing {"connection_id":125737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d8"} 
[2026-07-08 18:41:05] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":44,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580124672001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783516134000,"timestamp_ms":1783516134000,"timestamp_seconds":1783516134,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d87a70"} 
[2026-07-08 18:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-07-08 18:41:05] 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-07-08 18:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580124672001,"66":12374,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580124672001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:41:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:41:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580124672001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":125737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:41:05] local.INFO: GPS data processed {"connection_id":125737,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:41:05] local.INFO: Acknowledgment sent {"connection_id":125737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:41:08] local.INFO: TCP Data received {"connection_id":125736,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d5ee18012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d5ee18012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:41:08] local.INFO: Processing buffer {"connection_id":125736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d5ee18012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:41:08] local.INFO: Packet analysis {"connection_id":125736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d5"} 
[2026-07-08 18:41:08] local.INFO: Extracted packet for processing {"connection_id":125736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d5"} 
[2026-07-08 18:41:08] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580010496001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783515967000,"timestamp_ms":1783515967000,"timestamp_seconds":1783515967,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d5ee18"} 
[2026-07-08 18:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-08 18:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580010496001,"66":2220,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580010496001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:41:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:41:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580010496001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":125736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453145,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:41:08] local.INFO: GPS data processed {"connection_id":125736,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:41:08] local.INFO: Acknowledgment sent {"connection_id":125736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:41:34] local.INFO: TCP Data received {"connection_id":127851,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d88a10012d7ead0005b5ef180008015b2e..."} 
[2026-07-08 18:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d88a10012d7ead0005b5ef180008015b2e..."} 
[2026-07-08 18:41:34] local.INFO: Processing buffer {"connection_id":127851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d88a10012d7ead0005b5ef180008015b2e..."} 
[2026-07-08 18:41:34] local.INFO: Packet analysis {"connection_id":127851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d8"} 
[2026-07-08 18:41:34] local.INFO: Extracted packet for processing {"connection_id":127851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d8"} 
[2026-07-08 18:41:34] local.INFO: GPS Element Parsed {"raw_longitude":763276544,"raw_latitude":95809304,"longitude_deg":76.3276544,"latitude_deg":9.5809304,"altitude":8,"angle":347,"satellites":46,"speed":27,"hex_longitude":"2d7ead00","hex_latitude":"05b5ef18","is_valid_coordinates":true} 
[2026-07-08 18:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580129280001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343046055908081664,"note":"Value kept but may cause issues"} 
[2026-07-08 18:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128022413019910144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783516138000,"timestamp_ms":1783516138000,"timestamp_seconds":1783516138,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d88a10"} 
[2026-07-08 18:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:41: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-07-08 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 18:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:41:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580129280001,"66":27843,"122":206,"85":12544,"24":27,"16":343046055908081664,"45":9128022413019910144},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-07-08 18:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580129280001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:41:34] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-08 18:41:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343046055908081664,"km_value":343046055908081.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128022413019910144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580129280001,"power":27843,"unknown_122":206,"unknown_85":12544,"ignition":27,"odometer":null,"unknown_45":9128022413019910144}} 
[2026-07-08 18:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":127851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:41:34] local.INFO: GPS data processed {"connection_id":127851,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:41:34] local.INFO: Acknowledgment sent {"connection_id":127851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:41:36] local.INFO: TCP Data received {"connection_id":126619,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126619,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:41:36] local.INFO: Processing buffer {"connection_id":126619,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:41:36] local.INFO: IMEI packet received {"connection_id":126619,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":126619,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:41:37] local.INFO: TCP Data received {"connection_id":125737,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d8cc78012d183e80072190d8005000e42b..."} 
[2026-07-08 18:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d8cc78012d183e80072190d8005000e42b..."} 
[2026-07-08 18:41:37] local.INFO: Processing buffer {"connection_id":125737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d8cc78012d183e80072190d8005000e42b..."} 
[2026-07-08 18:41:37] local.INFO: Packet analysis {"connection_id":125737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d8"} 
[2026-07-08 18:41:37] local.INFO: Extracted packet for processing {"connection_id":125737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d8"} 
[2026-07-08 18:41:37] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":43,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580130304001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783516155000,"timestamp_ms":1783516155000,"timestamp_seconds":1783516155,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d8cc78"} 
[2026-07-08 18:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 18:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580130304001,"66":12341,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580130304001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:41:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:41:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580130304001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":125737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:41:37] local.INFO: GPS data processed {"connection_id":125737,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:41:37] local.INFO: Acknowledgment sent {"connection_id":125737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:41:41] local.INFO: TCP Data received {"connection_id":126619,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126619,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:41:41] local.INFO: Processing buffer {"connection_id":126619,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:41:41] local.INFO: IMEI packet received {"connection_id":126619,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":126619,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:41:42] local.INFO: TCP Data received {"connection_id":126619,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f41da85e0012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41da85e0012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:41:42] local.INFO: Processing buffer {"connection_id":126619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41da85e0012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:41:42] local.INFO: Packet analysis {"connection_id":126619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41da"} 
[2026-07-08 18:41:42] local.INFO: Extracted packet for processing {"connection_id":126619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41da"} 
[2026-07-08 18:41:42] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580087552001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783516268000,"timestamp_ms":1783516268000,"timestamp_seconds":1783516268,"priority":1,"record_length":96,"hex_timestamp":"0000019f41da85e0"} 
[2026-07-08 18:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-08 18:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:41:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":126619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":126619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":126619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580087552001,"66":2231,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580087552001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:41:42] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:41:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580087552001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":126619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453148,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:41:42] local.INFO: GPS data processed {"connection_id":126619,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:41:42] local.INFO: Acknowledgment sent {"connection_id":126619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:41:55] local.INFO: TCP Data received {"connection_id":125738,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:41:55] local.INFO: Processing buffer {"connection_id":125738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:41:55] local.INFO: IMEI packet received {"connection_id":125738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":125738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:41:58] local.INFO: TCP Data received {"connection_id":125738,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:41:58] local.INFO: Processing buffer {"connection_id":125738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:41:58] local.INFO: IMEI packet received {"connection_id":125738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":125738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:41:58] local.INFO: TCP Data received {"connection_id":125739,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:41:58] local.INFO: Processing buffer {"connection_id":125739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:41:58] local.INFO: IMEI packet received {"connection_id":125739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":125739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:41:59] local.INFO: TCP Data received {"connection_id":125738,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d8bcd8012d7ea5c005b61438000901632f..."} 
[2026-07-08 18:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d8bcd8012d7ea5c005b61438000901632f..."} 
[2026-07-08 18:41:59] local.INFO: Processing buffer {"connection_id":125738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d8bcd8012d7ea5c005b61438000901632f..."} 
[2026-07-08 18:41:59] local.INFO: Packet analysis {"connection_id":125738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d8"} 
[2026-07-08 18:41:59] local.INFO: Extracted packet for processing {"connection_id":125738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d8"} 
[2026-07-08 18:41:59] local.INFO: GPS Element Parsed {"raw_longitude":763274688,"raw_latitude":95818808,"longitude_deg":76.3274688,"latitude_deg":9.5818808,"altitude":9,"angle":355,"satellites":47,"speed":38,"hex_longitude":"2d7ea5c0","hex_latitude":"05b61438","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580131328001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343046528354484224,"note":"Value kept but may cause issues"} 
[2026-07-08 18:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127952044277045248,"note":"Value kept but may cause issues"} 
[2026-07-08 18:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783516151000,"timestamp_ms":1783516151000,"timestamp_seconds":1783516151,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d8bcd8"} 
[2026-07-08 18:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 18:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":125738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":125738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":125738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580131328001,"66":27843,"122":206,"85":12544,"24":38,"16":343046528354484224,"45":9127952044277045248},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-07-08 18:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580131328001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:41:59] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-08 18:41:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343046528354484224,"km_value":343046528354484.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127952044277045248,"description":"Unknown IO ID 45"} 
[2026-07-08 18:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580131328001,"power":27843,"unknown_122":206,"unknown_85":12544,"ignition":38,"odometer":null,"unknown_45":9127952044277045248}} 
[2026-07-08 18:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":125738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:41:59] local.INFO: GPS data processed {"connection_id":125738,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:41:59] local.INFO: Acknowledgment sent {"connection_id":125738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:41:59] local.INFO: TCP Data received {"connection_id":125739,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:41:59] local.INFO: Processing buffer {"connection_id":125739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:41:59] local.INFO: IMEI packet received {"connection_id":125739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":125739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:42:05] local.INFO: TCP Data received {"connection_id":125739,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:42:05] local.INFO: Processing buffer {"connection_id":125739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:42:05] local.INFO: IMEI packet received {"connection_id":125739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":125739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:42:08] local.INFO: TCP Data received {"connection_id":125739,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d91e80012d183e80072190d8005000e429..."} 
[2026-07-08 18:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d91e80012d183e80072190d8005000e429..."} 
[2026-07-08 18:42:08] local.INFO: Processing buffer {"connection_id":125739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d91e80012d183e80072190d8005000e429..."} 
[2026-07-08 18:42:08] local.INFO: Packet analysis {"connection_id":125739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d9"} 
[2026-07-08 18:42:08] local.INFO: Extracted packet for processing {"connection_id":125739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d9"} 
[2026-07-08 18:42:08] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":41,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580135680001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783516176000,"timestamp_ms":1783516176000,"timestamp_seconds":1783516176,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d91e80"} 
[2026-07-08 18:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 18:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580135680001,"66":12341,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580135680001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:42:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:42:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580135680001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":125739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:42:09] local.INFO: GPS data processed {"connection_id":125739,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:42:09] local.INFO: Acknowledgment sent {"connection_id":125739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:42:13] local.INFO: TCP Data received {"connection_id":126619,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f41da85e0012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41da85e0012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:42:13] local.INFO: Processing buffer {"connection_id":126619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41da85e0012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:42:13] local.INFO: Packet analysis {"connection_id":126619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41da"} 
[2026-07-08 18:42:13] local.INFO: Extracted packet for processing {"connection_id":126619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41da"} 
[2026-07-08 18:42:13] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580087552001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:42: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-07-08 18:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783516268000,"timestamp_ms":1783516268000,"timestamp_seconds":1783516268,"priority":1,"record_length":96,"hex_timestamp":"0000019f41da85e0"} 
[2026-07-08 18:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-08 18:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:42:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":126619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":126619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":126619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580087552001,"66":2231,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580087552001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:42:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:42:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580087552001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":126619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453151,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:42:13] local.INFO: GPS data processed {"connection_id":126619,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:42:13] local.INFO: Acknowledgment sent {"connection_id":126619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:42:31] local.INFO: TCP Data received {"connection_id":125738,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41dad7e8012d7ead8005b7c750000900042e..."} 
[2026-07-08 18:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41dad7e8012d7ead8005b7c750000900042e..."} 
[2026-07-08 18:42:31] local.INFO: Processing buffer {"connection_id":125738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41dad7e8012d7ead8005b7c750000900042e..."} 
[2026-07-08 18:42:31] local.INFO: Packet analysis {"connection_id":125738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41da"} 
[2026-07-08 18:42:31] local.INFO: Extracted packet for processing {"connection_id":125738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41da"} 
[2026-07-08 18:42:31] local.INFO: GPS Element Parsed {"raw_longitude":763276672,"raw_latitude":95930192,"longitude_deg":76.3276672,"latitude_deg":9.5930192,"altitude":9,"angle":4,"satellites":46,"speed":44,"hex_longitude":"2d7ead80","hex_latitude":"05b7c750","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580167680001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343051931423342592,"note":"Value kept but may cause issues"} 
[2026-07-08 18:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127740938073006080,"note":"Value kept but may cause issues"} 
[2026-07-08 18:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783516289000,"timestamp_ms":1783516289000,"timestamp_seconds":1783516289,"priority":1,"record_length":96,"hex_timestamp":"0000019f41dad7e8"} 
[2026-07-08 18:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:42: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-07-08 18: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 18:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":125738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":125738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":125738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580167680001,"66":27930,"121":206,"85":12544,"24":44,"16":343051931423342592,"45":9127740938073006080},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-08 18:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580167680001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:42:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 18:42:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343051931423342592,"km_value":343051931423342.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127740938073006080,"description":"Unknown IO ID 45"} 
[2026-07-08 18:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580167680001,"power":27930,"unknown_121":206,"unknown_85":12544,"ignition":44,"odometer":null,"unknown_45":9127740938073006080}} 
[2026-07-08 18:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":125738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:42:31] local.INFO: GPS data processed {"connection_id":125738,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:42:31] local.INFO: Acknowledgment sent {"connection_id":125738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:42:31] local.INFO: TCP Data received {"connection_id":127853,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127853,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:42:31] local.INFO: Processing buffer {"connection_id":127853,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:42:31] local.INFO: IMEI packet received {"connection_id":127853,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":127853,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:42:36] local.INFO: TCP Data received {"connection_id":127853,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127853,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:42:36] local.INFO: Processing buffer {"connection_id":127853,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:42:36] local.INFO: IMEI packet received {"connection_id":127853,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":127853,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:42:37] local.INFO: TCP Data received {"connection_id":127853,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f41da85e0012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41da85e0012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:42:37] local.INFO: Processing buffer {"connection_id":127853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41da85e0012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:42:37] local.INFO: Packet analysis {"connection_id":127853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41da"} 
[2026-07-08 18:42:37] local.INFO: Extracted packet for processing {"connection_id":127853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41da"} 
[2026-07-08 18:42:37] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580087552001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783516268000,"timestamp_ms":1783516268000,"timestamp_seconds":1783516268,"priority":1,"record_length":96,"hex_timestamp":"0000019f41da85e0"} 
[2026-07-08 18:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-08 18:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580087552001,"66":2231,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580087552001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:42:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:42:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580087552001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":127853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453153,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:42:37] local.INFO: GPS data processed {"connection_id":127853,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:42:37] local.INFO: Acknowledgment sent {"connection_id":127853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:42:40] local.INFO: TCP Data received {"connection_id":125739,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d97088012d183e80072190d8005000e42a..."} 
[2026-07-08 18:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d97088012d183e80072190d8005000e42a..."} 
[2026-07-08 18:42:40] local.INFO: Processing buffer {"connection_id":125739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d97088012d183e80072190d8005000e42a..."} 
[2026-07-08 18:42:40] local.INFO: Packet analysis {"connection_id":125739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d9"} 
[2026-07-08 18:42:40] local.INFO: Extracted packet for processing {"connection_id":125739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d9"} 
[2026-07-08 18:42:40] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":42,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580141056001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783516197000,"timestamp_ms":1783516197000,"timestamp_seconds":1783516197,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d97088"} 
[2026-07-08 18:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 18:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580141056001,"66":12319,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580141056001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:42:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:42:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580141056001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":125739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:42:40] local.INFO: GPS data processed {"connection_id":125739,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:42:40] local.INFO: Acknowledgment sent {"connection_id":125739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:42:57] local.INFO: TCP Data received {"connection_id":127854,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:42:57] local.INFO: Processing buffer {"connection_id":127854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:42:57] local.INFO: IMEI packet received {"connection_id":127854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":127854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:43:00] local.INFO: TCP Data received {"connection_id":125846,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:43:00] local.INFO: Processing buffer {"connection_id":125846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:43:00] local.INFO: IMEI packet received {"connection_id":125846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":125846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:43:01] local.INFO: TCP Data received {"connection_id":125846,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:43:01] local.INFO: Processing buffer {"connection_id":125846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:43:01] local.INFO: IMEI packet received {"connection_id":125846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":125846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:43:02] local.INFO: TCP Data received {"connection_id":127854,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:43:02] local.INFO: Processing buffer {"connection_id":127854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:43:02] local.INFO: IMEI packet received {"connection_id":127854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":127854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:43:05] local.INFO: TCP Data received {"connection_id":125846,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:43:05] local.INFO: Processing buffer {"connection_id":125846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:43:05] local.INFO: IMEI packet received {"connection_id":125846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":125846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:43:05] local.INFO: TCP Data received {"connection_id":125846,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41d9c290012d183e80072190d8005000e428..."} 
[2026-07-08 18:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41d9c290012d183e80072190d8005000e428..."} 
[2026-07-08 18:43:05] local.INFO: Processing buffer {"connection_id":125846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41d9c290012d183e80072190d8005000e428..."} 
[2026-07-08 18:43:05] local.INFO: Packet analysis {"connection_id":125846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41d9"} 
[2026-07-08 18:43:05] local.INFO: Extracted packet for processing {"connection_id":125846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41d9"} 
[2026-07-08 18:43:05] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":40,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580146432001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783516218000,"timestamp_ms":1783516218000,"timestamp_seconds":1783516218,"priority":1,"record_length":96,"hex_timestamp":"0000019f41d9c290"} 
[2026-07-08 18:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 18:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580146432001,"66":12319,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580146432001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:43:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:43:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580146432001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":125846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:43:05] local.INFO: GPS data processed {"connection_id":125846,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:43:05] local.INFO: Acknowledgment sent {"connection_id":125846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:43:08] local.INFO: TCP Data received {"connection_id":127853,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f41da85e0012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41da85e0012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:43:08] local.INFO: Processing buffer {"connection_id":127853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41da85e0012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:43:08] local.INFO: Packet analysis {"connection_id":127853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41da"} 
[2026-07-08 18:43:08] local.INFO: Extracted packet for processing {"connection_id":127853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41da"} 
[2026-07-08 18:43:08] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580087552001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783516268000,"timestamp_ms":1783516268000,"timestamp_seconds":1783516268,"priority":1,"record_length":96,"hex_timestamp":"0000019f41da85e0"} 
[2026-07-08 18:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-08 18:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":127853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":127853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":127853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580087552001,"66":2231,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580087552001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:43:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:43:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580087552001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":127853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453156,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:43:08] local.INFO: GPS data processed {"connection_id":127853,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:43:08] local.INFO: Acknowledgment sent {"connection_id":127853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:43:12] local.INFO: TCP Data received {"connection_id":127854,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41daf728012d7eaf4005b7eb58000900032d..."} 
[2026-07-08 18:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41daf728012d7eaf4005b7eb58000900032d..."} 
[2026-07-08 18:43:12] local.INFO: Processing buffer {"connection_id":127854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41daf728012d7eaf4005b7eb58000900032d..."} 
[2026-07-08 18:43:12] local.INFO: Packet analysis {"connection_id":127854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41da"} 
[2026-07-08 18:43:12] local.INFO: Extracted packet for processing {"connection_id":127854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41da"} 
[2026-07-08 18:43:12] local.INFO: GPS Element Parsed {"raw_longitude":763277120,"raw_latitude":95939416,"longitude_deg":76.327712,"latitude_deg":9.5939416,"altitude":9,"angle":3,"satellites":45,"speed":47,"hex_longitude":"2d7eaf40","hex_latitude":"05b7eb58","is_valid_coordinates":true} 
[2026-07-08 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-07-08 18:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580169984001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343052382394908672,"note":"Value kept but may cause issues"} 
[2026-07-08 18:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128092781796347904,"note":"Value kept but may cause issues"} 
[2026-07-08 18:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783516297000,"timestamp_ms":1783516297000,"timestamp_seconds":1783516297,"priority":1,"record_length":96,"hex_timestamp":"0000019f41daf728"} 
[2026-07-08 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-07-08 18:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-08 18:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 18:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":127854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":127854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":127854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580169984001,"66":27995,"121":206,"85":12544,"24":47,"16":343052382394908672,"45":9128092781796347904},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-08 18:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580169984001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:43:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 18:43:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343052382394908672,"km_value":343052382394908.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128092781796347904,"description":"Unknown IO ID 45"} 
[2026-07-08 18:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580169984001,"power":27995,"unknown_121":206,"unknown_85":12544,"ignition":47,"odometer":null,"unknown_45":9128092781796347904}} 
[2026-07-08 18:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":127854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:43:12] local.INFO: GPS data processed {"connection_id":127854,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:43:12] local.INFO: Acknowledgment sent {"connection_id":127854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:43:20] local.INFO: TCP Data received {"connection_id":127854,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41db1668012d7eb10005b81008000900032d..."} 
[2026-07-08 18:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41db1668012d7eb10005b81008000900032d..."} 
[2026-07-08 18:43:20] local.INFO: Processing buffer {"connection_id":127854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41db1668012d7eb10005b81008000900032d..."} 
[2026-07-08 18:43:20] local.INFO: Packet analysis {"connection_id":127854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41db"} 
[2026-07-08 18:43:20] local.INFO: Extracted packet for processing {"connection_id":127854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41db"} 
[2026-07-08 18:43:20] local.INFO: GPS Element Parsed {"raw_longitude":763277568,"raw_latitude":95948808,"longitude_deg":76.3277568,"latitude_deg":9.5948808,"altitude":9,"angle":3,"satellites":45,"speed":46,"hex_longitude":"2d7eb100","hex_latitude":"05b81008","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580172032001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343052837661442048,"note":"Value kept but may cause issues"} 
[2026-07-08 18:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128585363007952896,"note":"Value kept but may cause issues"} 
[2026-07-08 18:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783516305000,"timestamp_ms":1783516305000,"timestamp_seconds":1783516305,"priority":1,"record_length":96,"hex_timestamp":"0000019f41db1668"} 
[2026-07-08 18:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-08 18:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":127854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":127854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":127854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580172032001,"66":27919,"121":206,"85":12544,"24":46,"16":343052837661442048,"45":9128585363007952896},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-08 18:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580172032001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:43:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 18:43:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343052837661442048,"km_value":343052837661442.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128585363007952896,"description":"Unknown IO ID 45"} 
[2026-07-08 18:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580172032001,"power":27919,"unknown_121":206,"unknown_85":12544,"ignition":46,"odometer":null,"unknown_45":9128585363007952896}} 
[2026-07-08 18:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":127854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:43:20] local.INFO: GPS data processed {"connection_id":127854,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:43:20] local.INFO: Acknowledgment sent {"connection_id":127854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:43:31] local.INFO: TCP Data received {"connection_id":127855,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127855,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:43:31] local.INFO: Processing buffer {"connection_id":127855,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:43:31] local.INFO: IMEI packet received {"connection_id":127855,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":127855,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:43:36] local.INFO: TCP Data received {"connection_id":127855,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127855,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:43:36] local.INFO: Processing buffer {"connection_id":127855,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:43:36] local.INFO: IMEI packet received {"connection_id":127855,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":127855,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:43:37] local.INFO: TCP Data received {"connection_id":125846,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41da1498012d183e80072190d8005000e42a..."} 
[2026-07-08 18:43:37] local.INFO: TCP Data received {"connection_id":127855,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f41da85e0012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41da1498012d183e80072190d8005000e42a..."} 
[2026-07-08 18:43:37] local.INFO: Processing buffer {"connection_id":125846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41da1498012d183e80072190d8005000e42a..."} 
[2026-07-08 18:43:37] local.INFO: Packet analysis {"connection_id":125846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41da"} 
[2026-07-08 18:43:37] local.INFO: Extracted packet for processing {"connection_id":125846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41da"} 
[2026-07-08 18:43:37] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":42,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580151808001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783516239000,"timestamp_ms":1783516239000,"timestamp_seconds":1783516239,"priority":1,"record_length":96,"hex_timestamp":"0000019f41da1498"} 
[2026-07-08 18:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 18:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41da85e0012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:43:37] local.INFO: Processing buffer {"connection_id":127855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41da85e0012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:43:37] local.INFO: Packet analysis {"connection_id":127855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41da"} 
[2026-07-08 18:43:37] local.INFO: Extracted packet for processing {"connection_id":127855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41da"} 
[2026-07-08 18:43:37] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580087552001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783516268000,"timestamp_ms":1783516268000,"timestamp_seconds":1783516268,"priority":1,"record_length":96,"hex_timestamp":"0000019f41da85e0"} 
[2026-07-08 18:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-08 18:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580151808001,"66":12298,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580151808001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:43:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:43:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580151808001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580087552001,"66":2231,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580087552001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:43:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:43:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580087552001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":127855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453159,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:43:37] local.INFO: GPS data processed {"connection_id":127855,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:43:37] local.INFO: Acknowledgment sent {"connection_id":127855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":125846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:43:37] local.INFO: GPS data processed {"connection_id":125846,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:43:37] local.INFO: Acknowledgment sent {"connection_id":125846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:43:55] local.INFO: TCP Data received {"connection_id":127856,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:43:55] local.INFO: Processing buffer {"connection_id":127856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:43:55] local.INFO: IMEI packet received {"connection_id":127856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":127856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:43:59] local.INFO: TCP Data received {"connection_id":126621,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:43:59] local.INFO: Processing buffer {"connection_id":126621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:43:59] local.INFO: IMEI packet received {"connection_id":126621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":126621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:44:00] local.INFO: TCP Data received {"connection_id":127856,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:44:00] local.INFO: Processing buffer {"connection_id":127856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:44:00] local.INFO: IMEI packet received {"connection_id":127856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":127856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:44:01] local.INFO: TCP Data received {"connection_id":127856,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41db35a8012d7eb24005b833e8000900032c..."} 
[2026-07-08 18:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41db35a8012d7eb24005b833e8000900032c..."} 
[2026-07-08 18:44:01] local.INFO: Processing buffer {"connection_id":127856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41db35a8012d7eb24005b833e8000900032c..."} 
[2026-07-08 18:44:01] local.INFO: Packet analysis {"connection_id":127856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41db"} 
[2026-07-08 18:44:01] local.INFO: Extracted packet for processing {"connection_id":127856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41db"} 
[2026-07-08 18:44:01] local.INFO: GPS Element Parsed {"raw_longitude":763277888,"raw_latitude":95957992,"longitude_deg":76.3277888,"latitude_deg":9.5957992,"altitude":9,"angle":3,"satellites":44,"speed":45,"hex_longitude":"2d7eb240","hex_latitude":"05b833e8","is_valid_coordinates":true} 
[2026-07-08 18:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580174080001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343053284338040832,"note":"Value kept but may cause issues"} 
[2026-07-08 18:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129077944219600896,"note":"Value kept but may cause issues"} 
[2026-07-08 18:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783516313000,"timestamp_ms":1783516313000,"timestamp_seconds":1783516313,"priority":1,"record_length":96,"hex_timestamp":"0000019f41db35a8"} 
[2026-07-08 18:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 18:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580174080001,"66":27876,"121":206,"85":12544,"24":45,"16":343053284338040832,"45":9129077944219600896},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-08 18:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580174080001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:44:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 18:44:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343053284338040832,"km_value":343053284338040.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129077944219600896,"description":"Unknown IO ID 45"} 
[2026-07-08 18:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580174080001,"power":27876,"unknown_121":206,"unknown_85":12544,"ignition":45,"odometer":null,"unknown_45":9129077944219600896}} 
[2026-07-08 18:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":127856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:44:01] local.INFO: GPS data processed {"connection_id":127856,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:44:01] local.INFO: Acknowledgment sent {"connection_id":127856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:44:05] local.INFO: TCP Data received {"connection_id":126621,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:44:05] local.INFO: Processing buffer {"connection_id":126621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:44:05] local.INFO: IMEI packet received {"connection_id":126621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":126621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:44:07] local.INFO: TCP Data received {"connection_id":127855,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f41da85e0012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41da85e0012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:44:07] local.INFO: Processing buffer {"connection_id":127855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41da85e0012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:44:07] local.INFO: Packet analysis {"connection_id":127855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41da"} 
[2026-07-08 18:44:07] local.INFO: Extracted packet for processing {"connection_id":127855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41da"} 
[2026-07-08 18:44:07] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580087552001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783516268000,"timestamp_ms":1783516268000,"timestamp_seconds":1783516268,"priority":1,"record_length":96,"hex_timestamp":"0000019f41da85e0"} 
[2026-07-08 18:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-08 18:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580087552001,"66":2231,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580087552001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:44:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:44:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580087552001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":127855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453162,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:44:08] local.INFO: GPS data processed {"connection_id":127855,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:44:08] local.INFO: Acknowledgment sent {"connection_id":127855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:44:26] local.INFO: TCP Data received {"connection_id":126621,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41da66a0012d183e80072190d8005000e42c..."} 
[2026-07-08 18:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41da66a0012d183e80072190d8005000e42c..."} 
[2026-07-08 18:44:26] local.INFO: Processing buffer {"connection_id":126621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41da66a0012d183e80072190d8005000e42c..."} 
[2026-07-08 18:44:26] local.INFO: Packet analysis {"connection_id":126621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41da"} 
[2026-07-08 18:44:26] local.INFO: Extracted packet for processing {"connection_id":126621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41da"} 
[2026-07-08 18:44:26] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":44,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580157184001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:44:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783516260000,"timestamp_ms":1783516260000,"timestamp_seconds":1783516260,"priority":1,"record_length":96,"hex_timestamp":"0000019f41da66a0"} 
[2026-07-08 18:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:44: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-07-08 18: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 18:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-08 18:44:26] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-08 18:44:26] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185617,"note":"Value kept but may cause issues"} 
[2026-07-08 18:44:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 18:44:26] local.WARNING: Large IO value detected {"io_id":131,"raw_value":5044031582654955521,"note":"Value kept but may cause issues"} 
[2026-07-08 18:44:26] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4744492145315747902,"note":"Value kept but may cause issues"} 
[2026-07-08 18:44:26] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513851089889525988,"note":"Value kept but may cause issues"} 
[2026-07-08 18:44:26] local.WARNING: Large IO value detected {"io_id":80,"raw_value":64223573690023936,"note":"Value kept but may cause issues"} 
[2026-07-08 18:44:26] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-07-08 18:44:26] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3433995598123565262,"note":"Value kept but may cause issues"} 
[2026-07-08 18:44:26] local.WARNING: Large IO value detected {"io_id":65,"raw_value":3637278721,"note":"Value kept but may cause issues"} 
[2026-07-08 18:44:26] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2430074960,"note":"Value kept but may cause issues"} 
[2026-07-08 18:44:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-08 18:44:26] local.WARNING: Large IO value detected {"io_id":62,"raw_value":2147950992,"note":"Value kept but may cause issues"} 
[2026-07-08 18:44:26] local.WARNING: Large IO value detected {"io_id":17,"raw_value":2202402816,"note":"Value kept but may cause issues"} 
[2026-07-08 18:44:26] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,131,159,194,45,128,144,80,40,10,66,112,42,30,1,240,53,227,65,33,4,113,205,122,62,216,44,239,48,2,17,7,43],"length":534,"final_offset":664,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-08 18:44:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764858392073994240,"timestamp_seconds":5764858392073994.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 18:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":126621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":126621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":126621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:44:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580157184001,"66":12287,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580157184001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:44:26] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:44:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580157184001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":126621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:44:26] local.INFO: GPS data processed {"connection_id":126621,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:44:26] local.INFO: Acknowledgment sent {"connection_id":126621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:44:31] local.INFO: TCP Data received {"connection_id":125742,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125742,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:44:31] local.INFO: Processing buffer {"connection_id":125742,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:44:31] local.INFO: IMEI packet received {"connection_id":125742,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":125742,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:44:32] local.INFO: TCP Data received {"connection_id":127856,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41db58d0012d7eb2c005b857b0000900012b..."} 
[2026-07-08 18:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41db58d0012d7eb2c005b857b0000900012b..."} 
[2026-07-08 18:44:32] local.INFO: Processing buffer {"connection_id":127856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41db58d0012d7eb2c005b857b0000900012b..."} 
[2026-07-08 18:44:32] local.INFO: Packet analysis {"connection_id":127856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41db"} 
[2026-07-08 18:44:32] local.INFO: Extracted packet for processing {"connection_id":127856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41db"} 
[2026-07-08 18:44:32] local.INFO: GPS Element Parsed {"raw_longitude":763278016,"raw_latitude":95967152,"longitude_deg":76.3278016,"latitude_deg":9.5967152,"altitude":9,"angle":1,"satellites":43,"speed":38,"hex_longitude":"2d7eb2c0","hex_latitude":"05b857b0","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580176128001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343053726719672320,"note":"Value kept but may cause issues"} 
[2026-07-08 18:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129429787942840320,"note":"Value kept but may cause issues"} 
[2026-07-08 18:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783516322000,"timestamp_ms":1783516322000,"timestamp_seconds":1783516322,"priority":1,"record_length":96,"hex_timestamp":"0000019f41db58d0"} 
[2026-07-08 18:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 18:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580176128001,"66":27908,"166":206,"85":12544,"24":38,"16":343053726719672320,"45":9129429787942840320},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-07-08 18:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580176128001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:44:32] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-08 18:44:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343053726719672320,"km_value":343053726719672.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129429787942840320,"description":"Unknown IO ID 45"} 
[2026-07-08 18:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580176128001,"power":27908,"unknown_166":206,"unknown_85":12544,"ignition":38,"odometer":null,"unknown_45":9129429787942840320}} 
[2026-07-08 18:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":127856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:44:32] local.INFO: GPS data processed {"connection_id":127856,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:44:32] local.INFO: Acknowledgment sent {"connection_id":127856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:44:38] local.INFO: TCP Data received {"connection_id":125742,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125742,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:44:38] local.INFO: Processing buffer {"connection_id":125742,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:44:38] local.INFO: IMEI packet received {"connection_id":125742,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":125742,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:44:39] local.INFO: TCP Data received {"connection_id":125742,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f41da85e0012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41da85e0012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:44:39] local.INFO: Processing buffer {"connection_id":125742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41da85e0012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:44:39] local.INFO: Packet analysis {"connection_id":125742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41da"} 
[2026-07-08 18:44:39] local.INFO: Extracted packet for processing {"connection_id":125742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41da"} 
[2026-07-08 18:44:39] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580087552001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783516268000,"timestamp_ms":1783516268000,"timestamp_seconds":1783516268,"priority":1,"record_length":96,"hex_timestamp":"0000019f41da85e0"} 
[2026-07-08 18:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-08 18:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:44:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125742,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125742,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580087552001,"66":2231,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580087552001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:44:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:44:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580087552001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":125742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453165,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:44:39] local.INFO: GPS data processed {"connection_id":125742,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:44:39] local.INFO: Acknowledgment sent {"connection_id":125742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:44:55] local.INFO: TCP Data received {"connection_id":125848,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:44:55] local.INFO: Processing buffer {"connection_id":125848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:44:55] local.INFO: IMEI packet received {"connection_id":125848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":125848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:45:00] local.INFO: TCP Data received {"connection_id":125848,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:45:00] local.INFO: Processing buffer {"connection_id":125848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:45:00] local.INFO: IMEI packet received {"connection_id":125848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":125848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:45:01] local.INFO: TCP Data received {"connection_id":125848,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41db83c8012d7eb44005b87d48000900032d..."} 
[2026-07-08 18:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41db83c8012d7eb44005b87d48000900032d..."} 
[2026-07-08 18:45:01] local.INFO: Processing buffer {"connection_id":125848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41db83c8012d7eb44005b87d48000900032d..."} 
[2026-07-08 18:45:01] local.INFO: Packet analysis {"connection_id":125848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41db"} 
[2026-07-08 18:45:01] local.INFO: Extracted packet for processing {"connection_id":125848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41db"} 
[2026-07-08 18:45:01] local.INFO: GPS Element Parsed {"raw_longitude":763278400,"raw_latitude":95976776,"longitude_deg":76.32784,"latitude_deg":9.5976776,"altitude":9,"angle":3,"satellites":45,"speed":33,"hex_longitude":"2d7eb440","hex_latitude":"05b87d48","is_valid_coordinates":true} 
[2026-07-08 18:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580178432001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343054194871107584,"note":"Value kept but may cause issues"} 
[2026-07-08 18:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129570525433540608,"note":"Value kept but may cause issues"} 
[2026-07-08 18:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783516333000,"timestamp_ms":1783516333000,"timestamp_seconds":1783516333,"priority":1,"record_length":96,"hex_timestamp":"0000019f41db83c8"} 
[2026-07-08 18:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 18:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580178432001,"66":27908,"166":206,"85":12544,"24":33,"16":343054194871107584,"45":9129570525433540608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-07-08 18:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580178432001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:45:01] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-08 18:45:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343054194871107584,"km_value":343054194871107.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129570525433540608,"description":"Unknown IO ID 45"} 
[2026-07-08 18:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580178432001,"power":27908,"unknown_166":206,"unknown_85":12544,"ignition":33,"odometer":null,"unknown_45":9129570525433540608}} 
[2026-07-08 18:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":125848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:45:01] local.INFO: GPS data processed {"connection_id":125848,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:45:01] local.INFO: Acknowledgment sent {"connection_id":125848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:45:05] local.INFO: TCP Data received {"connection_id":126622,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:45:05] local.INFO: Processing buffer {"connection_id":126622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:45:05] local.INFO: IMEI packet received {"connection_id":126622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":126622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:45:07] local.INFO: TCP Data received {"connection_id":126622,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:45:08] local.INFO: Processing buffer {"connection_id":126622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:45:08] local.INFO: IMEI packet received {"connection_id":126622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":126622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:45:08] local.INFO: TCP Data received {"connection_id":126622,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41dab8a8012d183e80072190d8005000e42b..."} 
[2026-07-08 18:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41dab8a8012d183e80072190d8005000e42b..."} 
[2026-07-08 18:45:08] local.INFO: Processing buffer {"connection_id":126622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41dab8a8012d183e80072190d8005000e42b..."} 
[2026-07-08 18:45:08] local.INFO: Packet analysis {"connection_id":126622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41da"} 
[2026-07-08 18:45:08] local.INFO: Extracted packet for processing {"connection_id":126622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41da"} 
[2026-07-08 18:45:08] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":43,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580162560001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783516281000,"timestamp_ms":1783516281000,"timestamp_seconds":1783516281,"priority":1,"record_length":96,"hex_timestamp":"0000019f41dab8a8"} 
[2026-07-08 18:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 18:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580162560001,"66":12287,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580162560001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:45:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:45:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580162560001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":126622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:45:08] local.INFO: GPS data processed {"connection_id":126622,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:45:08] local.INFO: Acknowledgment sent {"connection_id":126622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:45:09] local.INFO: TCP Data received {"connection_id":126622,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41db0ab0012d183e80072190d8005000e429..."} 
[2026-07-08 18:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41db0ab0012d183e80072190d8005000e429..."} 
[2026-07-08 18:45:09] local.INFO: Processing buffer {"connection_id":126622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41db0ab0012d183e80072190d8005000e429..."} 
[2026-07-08 18:45:09] local.INFO: Packet analysis {"connection_id":126622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41db"} 
[2026-07-08 18:45:09] local.INFO: Extracted packet for processing {"connection_id":126622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41db"} 
[2026-07-08 18:45:09] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":41,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580167936001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783516302000,"timestamp_ms":1783516302000,"timestamp_seconds":1783516302,"priority":1,"record_length":96,"hex_timestamp":"0000019f41db0ab0"} 
[2026-07-08 18:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:45: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-07-08 18:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 18:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580167936001,"66":12341,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580167936001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:45:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:45:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580167936001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":126622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:45:10] local.INFO: GPS data processed {"connection_id":126622,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:45:10] local.INFO: Acknowledgment sent {"connection_id":126622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:45:10] local.INFO: TCP Data received {"connection_id":125742,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f41da85e0012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41da85e0012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:45:10] local.INFO: Processing buffer {"connection_id":125742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41da85e0012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:45:10] local.INFO: Packet analysis {"connection_id":125742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41da"} 
[2026-07-08 18:45:10] local.INFO: Extracted packet for processing {"connection_id":125742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41da"} 
[2026-07-08 18:45:10] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580087552001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783516268000,"timestamp_ms":1783516268000,"timestamp_seconds":1783516268,"priority":1,"record_length":96,"hex_timestamp":"0000019f41da85e0"} 
[2026-07-08 18:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-08 18:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125742,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125742,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580087552001,"66":2231,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580087552001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:45:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:45:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580087552001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":125742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453169,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:45:10] local.INFO: GPS data processed {"connection_id":125742,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:45:10] local.INFO: Acknowledgment sent {"connection_id":125742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:45:32] local.INFO: TCP Data received {"connection_id":125848,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41dbb2a8012d7eb6c005b8a038000900052d..."} 
[2026-07-08 18:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41dbb2a8012d7eb6c005b8a038000900052d..."} 
[2026-07-08 18:45:32] local.INFO: Processing buffer {"connection_id":125848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41dbb2a8012d7eb6c005b8a038000900052d..."} 
[2026-07-08 18:45:32] local.INFO: Packet analysis {"connection_id":125848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41db"} 
[2026-07-08 18:45:32] local.INFO: Extracted packet for processing {"connection_id":125848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41db"} 
[2026-07-08 18:45:32] local.INFO: GPS Element Parsed {"raw_longitude":763279040,"raw_latitude":95985720,"longitude_deg":76.327904,"latitude_deg":9.598572,"altitude":9,"angle":5,"satellites":45,"speed":25,"hex_longitude":"2d7eb6c0","hex_latitude":"05b8a038","is_valid_coordinates":true} 
[2026-07-08 18:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580181248001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343054628662804480,"note":"Value kept but may cause issues"} 
[2026-07-08 18:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129992737901070336,"note":"Value kept but may cause issues"} 
[2026-07-08 18:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783516345000,"timestamp_ms":1783516345000,"timestamp_seconds":1783516345,"priority":1,"record_length":96,"hex_timestamp":"0000019f41dbb2a8"} 
[2026-07-08 18:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 18:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580181248001,"66":27908,"166":206,"85":12544,"24":25,"16":343054628662804480,"45":9129992737901070336},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-07-08 18:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580181248001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:45:32] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-08 18:45:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343054628662804480,"km_value":343054628662804.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129992737901070336,"description":"Unknown IO ID 45"} 
[2026-07-08 18:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580181248001,"power":27908,"unknown_166":206,"unknown_85":12544,"ignition":25,"odometer":null,"unknown_45":9129992737901070336}} 
[2026-07-08 18:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":125848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:45:32] local.INFO: GPS data processed {"connection_id":125848,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:45:32] local.INFO: Acknowledgment sent {"connection_id":125848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:45:36] local.INFO: TCP Data received {"connection_id":127857,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:45:36] local.INFO: Processing buffer {"connection_id":127857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:45:36] local.INFO: IMEI packet received {"connection_id":127857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":127857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:45:41] local.INFO: TCP Data received {"connection_id":126622,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41db5cb8012d183e80072190d8005000e428..."} 
[2026-07-08 18:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41db5cb8012d183e80072190d8005000e428..."} 
[2026-07-08 18:45:41] local.INFO: Processing buffer {"connection_id":126622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41db5cb8012d183e80072190d8005000e428..."} 
[2026-07-08 18:45:41] local.INFO: Packet analysis {"connection_id":126622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41db"} 
[2026-07-08 18:45:41] local.INFO: Extracted packet for processing {"connection_id":126622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41db"} 
[2026-07-08 18:45:41] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":40,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580173312001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:45: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-07-08 18:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783516323000,"timestamp_ms":1783516323000,"timestamp_seconds":1783516323,"priority":1,"record_length":96,"hex_timestamp":"0000019f41db5cb8"} 
[2026-07-08 18:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 18:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":126622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":126622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":126622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:45: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-07-08 18:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580173312001,"66":12298,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580173312001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:45:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:45:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580173312001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":126622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:45:41] local.INFO: GPS data processed {"connection_id":126622,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:45:41] local.INFO: Acknowledgment sent {"connection_id":126622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:45:41] local.INFO: TCP Data received {"connection_id":127857,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:45:41] local.INFO: Processing buffer {"connection_id":127857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:45:41] local.INFO: IMEI packet received {"connection_id":127857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":127857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:45:42] local.INFO: TCP Data received {"connection_id":127857,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f41da85e0012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41da85e0012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:45:42] local.INFO: Processing buffer {"connection_id":127857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41da85e0012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:45:42] local.INFO: Packet analysis {"connection_id":127857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41da"} 
[2026-07-08 18:45:42] local.INFO: Extracted packet for processing {"connection_id":127857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41da"} 
[2026-07-08 18:45:42] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580087552001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783516268000,"timestamp_ms":1783516268000,"timestamp_seconds":1783516268,"priority":1,"record_length":96,"hex_timestamp":"0000019f41da85e0"} 
[2026-07-08 18:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-08 18:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":127857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":127857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":127857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580087552001,"66":2231,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580087552001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:45:42] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:45:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580087552001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":127857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453172,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:45:42] local.INFO: GPS data processed {"connection_id":127857,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:45:42] local.INFO: Acknowledgment sent {"connection_id":127857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:46:00] local.INFO: TCP Data received {"connection_id":126623,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:46:00] local.INFO: Processing buffer {"connection_id":126623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:46:00] local.INFO: IMEI packet received {"connection_id":126623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":126623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:46:00] local.INFO: TCP Data received {"connection_id":125743,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:46:00] local.INFO: Processing buffer {"connection_id":125743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:46:00] local.INFO: IMEI packet received {"connection_id":125743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":125743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:46:05] local.INFO: TCP Data received {"connection_id":126623,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:46:05] local.INFO: Processing buffer {"connection_id":126623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:46:05] local.INFO: IMEI packet received {"connection_id":126623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":126623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:46:05] local.INFO: TCP Data received {"connection_id":125743,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:46:05] local.INFO: Processing buffer {"connection_id":125743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:46:05] local.INFO: IMEI packet received {"connection_id":125743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":125743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:46:05] local.INFO: TCP Data received {"connection_id":126623,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41dbaad8012d183e80072190d8005000e42b..."} 
[2026-07-08 18:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41dbaad8012d183e80072190d8005000e42b..."} 
[2026-07-08 18:46:05] local.INFO: Processing buffer {"connection_id":126623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41dbaad8012d183e80072190d8005000e42b..."} 
[2026-07-08 18:46:05] local.INFO: Packet analysis {"connection_id":126623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41db"} 
[2026-07-08 18:46:05] local.INFO: Extracted packet for processing {"connection_id":126623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41db"} 
[2026-07-08 18:46:05] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":43,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580178688001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783516343000,"timestamp_ms":1783516343000,"timestamp_seconds":1783516343,"priority":1,"record_length":96,"hex_timestamp":"0000019f41dbaad8"} 
[2026-07-08 18:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 18:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-08 18:46:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-08 18:46:05] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185617,"note":"Value kept but may cause issues"} 
[2026-07-08 18:46:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 18:46:05] local.WARNING: Large IO value detected {"io_id":131,"raw_value":5044031582654955521,"note":"Value kept but may cause issues"} 
[2026-07-08 18:46:05] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4744857217535907902,"note":"Value kept but may cause issues"} 
[2026-07-08 18:46:05] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-07-08 18:46:05] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513851089889525988,"note":"Value kept but may cause issues"} 
[2026-07-08 18:46:05] local.WARNING: Large IO value detected {"io_id":80,"raw_value":64222474178396160,"note":"Value kept but may cause issues"} 
[2026-07-08 18:46:05] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120352133326,"note":"Value kept but may cause issues"} 
[2026-07-08 18:46:05] local.WARNING: Large IO value detected {"io_id":65,"raw_value":3658782721,"note":"Value kept but may cause issues"} 
[2026-07-08 18:46:05] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2430074960,"note":"Value kept but may cause issues"} 
[2026-07-08 18:46:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-08 18:46:05] local.WARNING: Large IO value detected {"io_id":194,"raw_value":2415996184,"note":"Value kept but may cause issues"} 
[2026-07-08 18:46:05] local.WARNING: Large IO value detected {"io_id":62,"raw_value":2147950992,"note":"Value kept but may cause issues"} 
[2026-07-08 18:46:05] local.WARNING: Large IO value detected {"io_id":17,"raw_value":2202402816,"note":"Value kept but may cause issues"} 
[2026-07-08 18:46:05] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,131,159,10,45,128,144,80,41,66,184,43,102,1,240,255,227,65,33,4,113,205,194,62,216,40,239,48,2,17,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-08 18:46:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764858383484059648,"timestamp_seconds":5764858383484060.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 18:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580178688001,"66":12287,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580178688001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:46:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:46:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580178688001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":126623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:46:05] local.INFO: GPS data processed {"connection_id":126623,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:46:05] local.INFO: Acknowledgment sent {"connection_id":126623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:46:06] local.INFO: TCP Data received {"connection_id":125743,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41dbf8f8012d7ebb4005b8c3b0000800092d..."} 
[2026-07-08 18:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41dbf8f8012d7ebb4005b8c3b0000800092d..."} 
[2026-07-08 18:46:06] local.INFO: Processing buffer {"connection_id":125743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41dbf8f8012d7ebb4005b8c3b0000800092d..."} 
[2026-07-08 18:46:06] local.INFO: Packet analysis {"connection_id":125743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41db"} 
[2026-07-08 18:46:06] local.INFO: Extracted packet for processing {"connection_id":125743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41db"} 
[2026-07-08 18:46:06] local.INFO: GPS Element Parsed {"raw_longitude":763280192,"raw_latitude":95994800,"longitude_deg":76.3280192,"latitude_deg":9.59948,"altitude":8,"angle":9,"satellites":45,"speed":23,"hex_longitude":"2d7ebb40","hex_latitude":"05b8c3b0","is_valid_coordinates":true} 
[2026-07-08 18:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580184320001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343055075339403264,"note":"Value kept but may cause issues"} 
[2026-07-08 18:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130696425345136640,"note":"Value kept but may cause issues"} 
[2026-07-08 18:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783516363000,"timestamp_ms":1783516363000,"timestamp_seconds":1783516363,"priority":1,"record_length":96,"hex_timestamp":"0000019f41dbf8f8"} 
[2026-07-08 18:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 18:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580184320001,"66":27865,"127":206,"85":12544,"24":23,"16":343055075339403264,"45":9130696425345136640},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-07-08 18:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580184320001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:46:06] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-07-08 18:46:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343055075339403264,"km_value":343055075339403.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130696425345136640,"description":"Unknown IO ID 45"} 
[2026-07-08 18:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580184320001,"power":27865,"unknown_127":206,"unknown_85":12544,"ignition":23,"odometer":null,"unknown_45":9130696425345136640}} 
[2026-07-08 18:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":125743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:46:06] local.INFO: GPS data processed {"connection_id":125743,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:46:06] local.INFO: Acknowledgment sent {"connection_id":125743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:46:10] local.INFO: TCP Data received {"connection_id":125743,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41dc27d8012d7ec0c005b8e6100008000a2e..."} 
[2026-07-08 18:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41dc27d8012d7ec0c005b8e6100008000a2e..."} 
[2026-07-08 18:46:10] local.INFO: Processing buffer {"connection_id":125743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41dc27d8012d7ec0c005b8e6100008000a2e..."} 
[2026-07-08 18:46:10] local.INFO: Packet analysis {"connection_id":125743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41dc"} 
[2026-07-08 18:46:10] local.INFO: Extracted packet for processing {"connection_id":125743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41dc"} 
[2026-07-08 18:46:10] local.INFO: GPS Element Parsed {"raw_longitude":763281600,"raw_latitude":96003600,"longitude_deg":76.32816,"latitude_deg":9.60036,"altitude":8,"angle":10,"satellites":46,"speed":30,"hex_longitude":"2d7ec0c0","hex_latitude":"05b8e610","is_valid_coordinates":true} 
[2026-07-08 18:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580188928001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343055504836132864,"note":"Value kept but may cause issues"} 
[2026-07-08 18:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131963062742659072,"note":"Value kept but may cause issues"} 
[2026-07-08 18:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783516375000,"timestamp_ms":1783516375000,"timestamp_seconds":1783516375,"priority":1,"record_length":96,"hex_timestamp":"0000019f41dc27d8"} 
[2026-07-08 18:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 18:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580188928001,"66":27908,"127":206,"85":12544,"24":30,"16":343055504836132864,"45":9131963062742659072},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-07-08 18:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580188928001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:46:10] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-07-08 18:46:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343055504836132864,"km_value":343055504836132.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131963062742659072,"description":"Unknown IO ID 45"} 
[2026-07-08 18:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580188928001,"power":27908,"unknown_127":206,"unknown_85":12544,"ignition":30,"odometer":null,"unknown_45":9131963062742659072}} 
[2026-07-08 18:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":125743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:46:10] local.INFO: GPS data processed {"connection_id":125743,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:46:11] local.INFO: Acknowledgment sent {"connection_id":125743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:46:13] local.INFO: TCP Data received {"connection_id":127857,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f41df1da8012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41df1da8012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:46:13] local.INFO: Processing buffer {"connection_id":127857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41df1da8012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:46:13] local.INFO: Packet analysis {"connection_id":127857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41df"} 
[2026-07-08 18:46:13] local.INFO: Extracted packet for processing {"connection_id":127857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41df"} 
[2026-07-08 18:46:13] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580164608001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:46: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-07-08 18:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783516569000,"timestamp_ms":1783516569000,"timestamp_seconds":1783516569,"priority":1,"record_length":96,"hex_timestamp":"0000019f41df1da8"} 
[2026-07-08 18:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:46:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 18:46:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":127857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":127857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":127857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580164608001,"66":2209,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580164608001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:46:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:46:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580164608001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":127857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:46:13] local.INFO: GPS data processed {"connection_id":127857,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:46:13] local.INFO: Acknowledgment sent {"connection_id":127857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:46:30] local.INFO: TCP Data received {"connection_id":125849,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125849,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:46:30] local.INFO: Processing buffer {"connection_id":125849,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:46:30] local.INFO: IMEI packet received {"connection_id":125849,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 18:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":125849,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:46:36] local.INFO: TCP Data received {"connection_id":127858,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127858,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:46:36] local.INFO: Processing buffer {"connection_id":127858,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:46:36] local.INFO: IMEI packet received {"connection_id":127858,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":127858,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:46:36] local.INFO: TCP Data received {"connection_id":126623,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41dbfce0012d183e80072190d8005000e42b..."} 
[2026-07-08 18:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41dbfce0012d183e80072190d8005000e42b..."} 
[2026-07-08 18:46:36] local.INFO: Processing buffer {"connection_id":126623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41dbfce0012d183e80072190d8005000e42b..."} 
[2026-07-08 18:46:36] local.INFO: Packet analysis {"connection_id":126623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41db"} 
[2026-07-08 18:46:36] local.INFO: Extracted packet for processing {"connection_id":126623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41db"} 
[2026-07-08 18:46:36] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":43,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580183808001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783516364000,"timestamp_ms":1783516364000,"timestamp_seconds":1783516364,"priority":1,"record_length":96,"hex_timestamp":"0000019f41dbfce0"} 
[2026-07-08 18:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 18:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580183808001,"66":12298,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580183808001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:46:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:46:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580183808001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":126623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:46:36] local.INFO: GPS data processed {"connection_id":126623,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:46:36] local.INFO: Acknowledgment sent {"connection_id":126623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:46:41] local.INFO: TCP Data received {"connection_id":127858,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127858,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:46:41] local.INFO: Processing buffer {"connection_id":127858,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:46:41] local.INFO: IMEI packet received {"connection_id":127858,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":127858,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:46:42] local.INFO: TCP Data received {"connection_id":127858,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f41df1da8012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41df1da8012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:46:42] local.INFO: Processing buffer {"connection_id":127858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41df1da8012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:46:42] local.INFO: Packet analysis {"connection_id":127858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41df"} 
[2026-07-08 18:46:42] local.INFO: Extracted packet for processing {"connection_id":127858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41df"} 
[2026-07-08 18:46:42] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580164608001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783516569000,"timestamp_ms":1783516569000,"timestamp_seconds":1783516569,"priority":1,"record_length":96,"hex_timestamp":"0000019f41df1da8"} 
[2026-07-08 18:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 18:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":127858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":127858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":127858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580164608001,"66":2209,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580164608001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:46:42] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:46:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580164608001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":127858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453178,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:46:42] local.INFO: GPS data processed {"connection_id":127858,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:46:42] local.INFO: Acknowledgment sent {"connection_id":127858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:46:53] local.INFO: TCP Data received {"connection_id":125850,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:46:53] local.INFO: Processing buffer {"connection_id":125850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:46:53] local.INFO: IMEI packet received {"connection_id":125850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":125850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:46:55] local.INFO: TCP Data received {"connection_id":125850,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:46:55] local.INFO: Processing buffer {"connection_id":125850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:46:55] local.INFO: IMEI packet received {"connection_id":125850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":125850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:47:00] local.INFO: TCP Data received {"connection_id":125744,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:47:00] local.INFO: Processing buffer {"connection_id":125744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:47:00] local.INFO: IMEI packet received {"connection_id":125744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":125744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:47:00] local.INFO: TCP Data received {"connection_id":125850,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:47:00] local.INFO: Processing buffer {"connection_id":125850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:47:00] local.INFO: IMEI packet received {"connection_id":125850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":125850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:47:00] local.INFO: TCP Data received {"connection_id":125851,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125851,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:47:00] local.INFO: Processing buffer {"connection_id":125851,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:47:00] local.INFO: IMEI packet received {"connection_id":125851,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 18:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":125851,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:47:01] local.INFO: TCP Data received {"connection_id":125850,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41de9108012d7ef94005ba4e88000800092c..."} 
[2026-07-08 18:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41de9108012d7ef94005ba4e88000800092c..."} 
[2026-07-08 18:47:01] local.INFO: Processing buffer {"connection_id":125850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41de9108012d7ef94005ba4e88000800092c..."} 
[2026-07-08 18:47:01] local.INFO: Packet analysis {"connection_id":125850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41de"} 
[2026-07-08 18:47:01] local.INFO: Extracted packet for processing {"connection_id":125850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41de"} 
[2026-07-08 18:47:01] local.INFO: GPS Element Parsed {"raw_longitude":763296064,"raw_latitude":96095880,"longitude_deg":76.3296064,"latitude_deg":9.609588,"altitude":8,"angle":9,"satellites":44,"speed":8,"hex_longitude":"2d7ef940","hex_latitude":"05ba4e88","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580227072001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343060040321597440,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9148992298858889216,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783516533000,"timestamp_ms":1783516533000,"timestamp_seconds":1783516533,"priority":1,"record_length":96,"hex_timestamp":"0000019f41de9108"} 
[2026-07-08 18:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-08 18:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580227072001,"66":27974,"128":206,"85":12544,"24":8,"16":343060040321597440,"45":9148992298858889216},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,85,24,16,45]} 
[2026-07-08 18:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580227072001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:47:01] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-07-08 18:47:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343060040321597440,"km_value":343060040321597.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9148992298858889216,"description":"Unknown IO ID 45"} 
[2026-07-08 18:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580227072001,"power":27974,"unknown_128":206,"unknown_85":12544,"ignition":8,"odometer":null,"unknown_45":9148992298858889216}} 
[2026-07-08 18:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":125850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:47:01] local.INFO: GPS data processed {"connection_id":125850,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:47:01] local.INFO: Acknowledgment sent {"connection_id":125850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:47:05] local.INFO: TCP Data received {"connection_id":125744,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:47:05] local.INFO: Processing buffer {"connection_id":125744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:47:05] local.INFO: IMEI packet received {"connection_id":125744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":125744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:47:05] local.INFO: TCP Data received {"connection_id":125744,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41dc4ee8012d183e80072190d8005000e42b..."} 
[2026-07-08 18:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41dc4ee8012d183e80072190d8005000e42b..."} 
[2026-07-08 18:47:05] local.INFO: Processing buffer {"connection_id":125744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41dc4ee8012d183e80072190d8005000e42b..."} 
[2026-07-08 18:47:05] local.INFO: Packet analysis {"connection_id":125744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41dc"} 
[2026-07-08 18:47:05] local.INFO: Extracted packet for processing {"connection_id":125744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41dc"} 
[2026-07-08 18:47:05] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":43,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580189184001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783516385000,"timestamp_ms":1783516385000,"timestamp_seconds":1783516385,"priority":1,"record_length":96,"hex_timestamp":"0000019f41dc4ee8"} 
[2026-07-08 18:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 18:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:05] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185617,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:05] local.WARNING: Large IO value detected {"io_id":131,"raw_value":5044031582654955521,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:05] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4745037606162339902,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:05] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513851089889525988,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:05] local.WARNING: Large IO value detected {"io_id":80,"raw_value":64222474178396160,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:05] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:05] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580145841209550,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:05] local.WARNING: Large IO value detected {"io_id":65,"raw_value":3669534721,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:05] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2430074960,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-08 18:47:05] local.WARNING: Large IO value detected {"io_id":102,"raw_value":2684431640,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:05] local.WARNING: Large IO value detected {"io_id":62,"raw_value":2147950992,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:05] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242666,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:05] local.WARNING: Large IO value detected {"io_id":17,"raw_value":2202402816,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:05] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,131,159,170,45,128,144,80,43,10,66,92,40,1,240,53,227,65,33,4,113,205,102,62,216,44,239,47,2,17,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-08 18:47:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764858396368961536,"timestamp_seconds":5764858396368962.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 18:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580189184001,"66":12298,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580189184001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:47:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:47:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580189184001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":125744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:47:05] local.INFO: GPS data processed {"connection_id":125744,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:47:05] local.INFO: Acknowledgment sent {"connection_id":125744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:47:13] local.INFO: TCP Data received {"connection_id":127858,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f41df1da8012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41df1da8012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:47:13] local.INFO: Processing buffer {"connection_id":127858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41df1da8012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:47:13] local.INFO: Packet analysis {"connection_id":127858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41df"} 
[2026-07-08 18:47:13] local.INFO: Extracted packet for processing {"connection_id":127858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41df"} 
[2026-07-08 18:47:13] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580164608001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47: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-07-08 18:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783516569000,"timestamp_ms":1783516569000,"timestamp_seconds":1783516569,"priority":1,"record_length":96,"hex_timestamp":"0000019f41df1da8"} 
[2026-07-08 18:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 18:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":127858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":127858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":127858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580164608001,"66":2209,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580164608001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:47:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:47:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580164608001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":127858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453181,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:47:13] local.INFO: GPS data processed {"connection_id":127858,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:47:13] local.INFO: Acknowledgment sent {"connection_id":127858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:47:30] local.INFO: TCP Data received {"connection_id":125745,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125745,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:47:30] local.INFO: Processing buffer {"connection_id":125745,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:47:30] local.INFO: IMEI packet received {"connection_id":125745,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":125745,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:47:32] local.INFO: TCP Data received {"connection_id":125850,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41dee310012d7efb8005ba5e20000900082c..."} 
[2026-07-08 18:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41dee310012d7efb8005ba5e20000900082c..."} 
[2026-07-08 18:47:32] local.INFO: Processing buffer {"connection_id":125850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41dee310012d7efb8005ba5e20000900082c..."} 
[2026-07-08 18:47:32] local.INFO: Packet analysis {"connection_id":125850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41de"} 
[2026-07-08 18:47:32] local.INFO: Extracted packet for processing {"connection_id":125850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41de"} 
[2026-07-08 18:47:32] local.INFO: GPS Element Parsed {"raw_longitude":763296640,"raw_latitude":96099872,"longitude_deg":76.329664,"latitude_deg":9.6099872,"altitude":9,"angle":8,"satellites":44,"speed":10,"hex_longitude":"2d7efb80","hex_latitude":"05ba5e20","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580232448001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343060242185060352,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9149414511324596224,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783516554000,"timestamp_ms":1783516554000,"timestamp_seconds":1783516554,"priority":1,"record_length":96,"hex_timestamp":"0000019f41dee310"} 
[2026-07-08 18:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-08 18:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580232448001,"66":27800,"128":206,"85":12544,"24":10,"16":343060242185060352,"45":9149414511324596224},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,85,24,16,45]} 
[2026-07-08 18:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580232448001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:47:32] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-07-08 18:47:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343060242185060352,"km_value":343060242185060.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9149414511324596224,"description":"Unknown IO ID 45"} 
[2026-07-08 18:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580232448001,"power":27800,"unknown_128":206,"unknown_85":12544,"ignition":10,"odometer":null,"unknown_45":9149414511324596224}} 
[2026-07-08 18:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":125850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:47:32] local.INFO: GPS data processed {"connection_id":125850,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:47:32] local.INFO: Acknowledgment sent {"connection_id":125850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:47:36] local.INFO: TCP Data received {"connection_id":125745,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125745,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:47:36] local.INFO: Processing buffer {"connection_id":125745,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:47:36] local.INFO: IMEI packet received {"connection_id":125745,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":125745,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:47:36] local.INFO: TCP Data received {"connection_id":125744,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41dca0f0012d183e80072190d8005000e42b..."} 
[2026-07-08 18:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41dca0f0012d183e80072190d8005000e42b..."} 
[2026-07-08 18:47:36] local.INFO: Processing buffer {"connection_id":125744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41dca0f0012d183e80072190d8005000e42b..."} 
[2026-07-08 18:47:36] local.INFO: Packet analysis {"connection_id":125744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41dc"} 
[2026-07-08 18:47:36] local.INFO: Extracted packet for processing {"connection_id":125744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41dc"} 
[2026-07-08 18:47:36] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":43,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580194560001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783516406000,"timestamp_ms":1783516406000,"timestamp_seconds":1783516406,"priority":1,"record_length":96,"hex_timestamp":"0000019f41dca0f0"} 
[2026-07-08 18:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 18:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:36] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185617,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:36] local.WARNING: Large IO value detected {"io_id":131,"raw_value":5044031582654955521,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:36] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4745127800475555902,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:36] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513851089889525988,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:36] local.WARNING: Large IO value detected {"io_id":80,"raw_value":64224673201651712,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:36] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921097392334,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:36] local.WARNING: Large IO value detected {"io_id":65,"raw_value":3674910721,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:36] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2430074960,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-08 18:47:36] local.WARNING: Large IO value detected {"io_id":184,"raw_value":2818649368,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:36] local.WARNING: Large IO value detected {"io_id":62,"raw_value":2147950992,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:36] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242666,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:36] local.WARNING: Large IO value detected {"io_id":17,"raw_value":2202402816,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:36] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,131,159,252,45,128,144,80,43,10,66,170,92,1,240,227,65,33,4,113,205,184,62,216,239,47,2,17,7,42],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-08 18:47:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764858396368961536,"timestamp_seconds":5764858396368962.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 18:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580194560001,"66":12298,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580194560001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:47:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:47:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580194560001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":125744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:47:36] local.INFO: GPS data processed {"connection_id":125744,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:47:36] local.INFO: Acknowledgment sent {"connection_id":125744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:47:37] local.INFO: TCP Data received {"connection_id":125745,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f41df1da8012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41df1da8012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:47:37] local.INFO: Processing buffer {"connection_id":125745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41df1da8012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:47:37] local.INFO: Packet analysis {"connection_id":125745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41df"} 
[2026-07-08 18:47:37] local.INFO: Extracted packet for processing {"connection_id":125745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41df"} 
[2026-07-08 18:47:37] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580164608001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783516569000,"timestamp_ms":1783516569000,"timestamp_seconds":1783516569,"priority":1,"record_length":96,"hex_timestamp":"0000019f41df1da8"} 
[2026-07-08 18:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 18:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580164608001,"66":2209,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580164608001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:47:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:47:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580164608001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":125745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453184,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:47:37] local.INFO: GPS data processed {"connection_id":125745,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:47:37] local.INFO: Acknowledgment sent {"connection_id":125745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:47:55] local.INFO: TCP Data received {"connection_id":125746,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:47:55] local.INFO: Processing buffer {"connection_id":125746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:47:55] local.INFO: IMEI packet received {"connection_id":125746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":125746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:47:56] local.INFO: TCP Data received {"connection_id":125746,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:47:56] local.INFO: Processing buffer {"connection_id":125746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:47:56] local.INFO: IMEI packet received {"connection_id":125746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":125746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:48:00] local.INFO: TCP Data received {"connection_id":126625,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:48:00] local.INFO: Processing buffer {"connection_id":126625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:48:00] local.INFO: IMEI packet received {"connection_id":126625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":126625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:48:00] local.INFO: TCP Data received {"connection_id":125746,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:48:00] local.INFO: Processing buffer {"connection_id":125746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:48:00] local.INFO: IMEI packet received {"connection_id":125746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":125746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:48:01] local.INFO: TCP Data received {"connection_id":125746,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41df3518012d7efdc005ba6df8000800072c..."} 
[2026-07-08 18:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41df3518012d7efdc005ba6df8000800072c..."} 
[2026-07-08 18:48:01] local.INFO: Processing buffer {"connection_id":125746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41df3518012d7efdc005ba6df8000800072c..."} 
[2026-07-08 18:48:01] local.INFO: Packet analysis {"connection_id":125746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41df"} 
[2026-07-08 18:48:01] local.INFO: Extracted packet for processing {"connection_id":125746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41df"} 
[2026-07-08 18:48:01] local.INFO: GPS Element Parsed {"raw_longitude":763297216,"raw_latitude":96103928,"longitude_deg":76.3297216,"latitude_deg":9.6103928,"altitude":8,"angle":7,"satellites":44,"speed":6,"hex_longitude":"2d7efdc0","hex_latitude":"05ba6df8","is_valid_coordinates":true} 
[2026-07-08 18:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580237824001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343060439753555968,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9150047830023217152,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783516575000,"timestamp_ms":1783516575000,"timestamp_seconds":1783516575,"priority":1,"record_length":96,"hex_timestamp":"0000019f41df3518"} 
[2026-07-08 18:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:48:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 18:48:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:48:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580237824001,"66":28006,"128":206,"85":12544,"24":6,"16":343060439753555968,"45":9150047830023217152},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,85,24,16,45]} 
[2026-07-08 18:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580237824001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:48:01] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-07-08 18:48:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343060439753555968,"km_value":343060439753555.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9150047830023217152,"description":"Unknown IO ID 45"} 
[2026-07-08 18:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580237824001,"power":28006,"unknown_128":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":9150047830023217152}} 
[2026-07-08 18:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":125746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:48:01] local.INFO: GPS data processed {"connection_id":125746,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:48:01] local.INFO: Acknowledgment sent {"connection_id":125746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:48:05] local.INFO: TCP Data received {"connection_id":126625,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:48:05] local.INFO: Processing buffer {"connection_id":126625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:48:05] local.INFO: IMEI packet received {"connection_id":126625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":126625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:48:05] local.INFO: TCP Data received {"connection_id":126625,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41dcf6e0012d183e80072190d8005000e429..."} 
[2026-07-08 18:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41dcf6e0012d183e80072190d8005000e429..."} 
[2026-07-08 18:48:05] local.INFO: Processing buffer {"connection_id":126625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41dcf6e0012d183e80072190d8005000e429..."} 
[2026-07-08 18:48:05] local.INFO: Packet analysis {"connection_id":126625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41dc"} 
[2026-07-08 18:48:05] local.INFO: Extracted packet for processing {"connection_id":126625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41dc"} 
[2026-07-08 18:48:05] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":41,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580199936001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783516428000,"timestamp_ms":1783516428000,"timestamp_seconds":1783516428,"priority":1,"record_length":96,"hex_timestamp":"0000019f41dcf6e0"} 
[2026-07-08 18:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 18:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:05] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185617,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:05] local.WARNING: Large IO value detected {"io_id":131,"raw_value":5044031582654955521,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:05] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4745217994788771902,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:05] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513851089889525988,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:05] local.WARNING: Large IO value detected {"io_id":80,"raw_value":64223573690023936,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:05] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:05] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921097392334,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:05] local.WARNING: Large IO value detected {"io_id":65,"raw_value":3680286721,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:05] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2430074960,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-08 18:48:05] local.WARNING: Large IO value detected {"io_id":62,"raw_value":2147950992,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:05] local.WARNING: Large IO value detected {"io_id":17,"raw_value":2202402816,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:05] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,131,159,78,45,128,144,80,43,10,66,252,170,1,240,255,227,65,33,4,113,205,62,216,41,239,48,2,17,7,44],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-08 18:48:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764858396368961536,"timestamp_seconds":5764858396368962.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 18:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580199936001,"66":12298,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580199936001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:48:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:48:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580199936001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":126625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:48:05] local.INFO: GPS data processed {"connection_id":126625,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:48:05] local.INFO: Acknowledgment sent {"connection_id":126625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:48:08] local.INFO: TCP Data received {"connection_id":125745,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f41df1da8012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41df1da8012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:48:08] local.INFO: Processing buffer {"connection_id":125745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41df1da8012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:48:08] local.INFO: Packet analysis {"connection_id":125745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41df"} 
[2026-07-08 18:48:08] local.INFO: Extracted packet for processing {"connection_id":125745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41df"} 
[2026-07-08 18:48:08] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580164608001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783516569000,"timestamp_ms":1783516569000,"timestamp_seconds":1783516569,"priority":1,"record_length":96,"hex_timestamp":"0000019f41df1da8"} 
[2026-07-08 18:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 18:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580164608001,"66":2209,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580164608001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:48:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:48:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580164608001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":125745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453187,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:48:08] local.INFO: GPS data processed {"connection_id":125745,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:48:08] local.INFO: Acknowledgment sent {"connection_id":125745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:48:31] local.INFO: TCP Data received {"connection_id":125747,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125747,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:48:31] local.INFO: Processing buffer {"connection_id":125747,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:48:31] local.INFO: IMEI packet received {"connection_id":125747,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":125747,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:48:32] local.INFO: TCP Data received {"connection_id":125746,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41df8720012d7f014005ba8608000700072a..."} 
[2026-07-08 18:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41df8720012d7f014005ba8608000700072a..."} 
[2026-07-08 18:48:32] local.INFO: Processing buffer {"connection_id":125746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41df8720012d7f014005ba8608000700072a..."} 
[2026-07-08 18:48:32] local.INFO: Packet analysis {"connection_id":125746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41df"} 
[2026-07-08 18:48:32] local.INFO: Extracted packet for processing {"connection_id":125746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41df"} 
[2026-07-08 18:48:32] local.INFO: GPS Element Parsed {"raw_longitude":763298112,"raw_latitude":96110088,"longitude_deg":76.3298112,"latitude_deg":9.6110088,"altitude":7,"angle":7,"satellites":42,"speed":21,"hex_longitude":"2d7f0140","hex_latitude":"05ba8608","is_valid_coordinates":true} 
[2026-07-08 18:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580243200001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343060744696233984,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9150681148721854464,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783516596000,"timestamp_ms":1783516596000,"timestamp_seconds":1783516596,"priority":1,"record_length":96,"hex_timestamp":"0000019f41df8720"} 
[2026-07-08 18:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:48: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 18:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580243200001,"66":27876,"120":206,"85":12544,"24":21,"16":343060744696233984,"45":9150681148721854464},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-07-08 18:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580243200001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:48:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 18:48:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343060744696233984,"km_value":343060744696234.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9150681148721854464,"description":"Unknown IO ID 45"} 
[2026-07-08 18:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580243200001,"power":27876,"unknown_120":206,"unknown_85":12544,"ignition":21,"odometer":null,"unknown_45":9150681148721854464}} 
[2026-07-08 18:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":125746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:48:32] local.INFO: GPS data processed {"connection_id":125746,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:48:32] local.INFO: Acknowledgment sent {"connection_id":125746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:48:36] local.INFO: TCP Data received {"connection_id":125747,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125747,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:48:36] local.INFO: Processing buffer {"connection_id":125747,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:48:36] local.INFO: IMEI packet received {"connection_id":125747,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":125747,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:48:36] local.INFO: TCP Data received {"connection_id":126625,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41dd48e8012d183e80072190d8005000e42b..."} 
[2026-07-08 18:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41dd48e8012d183e80072190d8005000e42b..."} 
[2026-07-08 18:48:36] local.INFO: Processing buffer {"connection_id":126625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41dd48e8012d183e80072190d8005000e42b..."} 
[2026-07-08 18:48:36] local.INFO: Packet analysis {"connection_id":126625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41dd"} 
[2026-07-08 18:48:36] local.INFO: Extracted packet for processing {"connection_id":126625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41dd"} 
[2026-07-08 18:48:36] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":43,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580205568001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783516449000,"timestamp_ms":1783516449000,"timestamp_seconds":1783516449,"priority":1,"record_length":96,"hex_timestamp":"0000019f41dd48e8"} 
[2026-07-08 18:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 18:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:36] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185617,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:36] local.WARNING: Large IO value detected {"io_id":131,"raw_value":5044031582654955521,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:36] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4745308189101987902,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:36] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513851089889525988,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:36] local.WARNING: Large IO value detected {"io_id":80,"raw_value":64221374666768384,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:36] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683569839767758,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:36] local.WARNING: Large IO value detected {"io_id":65,"raw_value":3685406721,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:36] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2430074960,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-08 18:48:36] local.WARNING: Large IO value detected {"io_id":92,"raw_value":3087084824,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:36] local.WARNING: Large IO value detected {"io_id":62,"raw_value":2147950992,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:36] local.WARNING: Large IO value detected {"io_id":17,"raw_value":2202402816,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:36] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,131,159,160,45,128,144,80,43,10,66,78,252,1,240,227,65,33,4,113,205,92,62,216,40,239,48,2,17,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-08 18:48:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764858387779026944,"timestamp_seconds":5764858387779027.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 18:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580205568001,"66":12265,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580205568001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:48:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:48:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580205568001,"power":12265,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":126625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:48:37] local.INFO: GPS data processed {"connection_id":126625,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:48:37] local.INFO: Acknowledgment sent {"connection_id":126625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:48:37] local.INFO: TCP Data received {"connection_id":125747,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41df1da8012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41df1da8012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:48:37] local.INFO: Processing buffer {"connection_id":125747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41df1da8012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:48:37] local.INFO: Packet analysis {"connection_id":125747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41df"} 
[2026-07-08 18:48:37] local.INFO: Extracted packet for processing {"connection_id":125747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41df"} 
[2026-07-08 18:48:37] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580164608001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783516569000,"timestamp_ms":1783516569000,"timestamp_seconds":1783516569,"priority":1,"record_length":96,"hex_timestamp":"0000019f41df1da8"} 
[2026-07-08 18:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 18:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580164608001,"66":2209,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580164608001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:48:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:48:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580164608001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":125747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453190,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:48:37] local.INFO: GPS data processed {"connection_id":125747,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:48:37] local.INFO: Acknowledgment sent {"connection_id":125747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:48:55] local.INFO: TCP Data received {"connection_id":127860,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:48:55] local.INFO: Processing buffer {"connection_id":127860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:48:55] local.INFO: IMEI packet received {"connection_id":127860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":127860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:48:57] local.INFO: TCP Data received {"connection_id":127860,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:48:57] local.INFO: Processing buffer {"connection_id":127860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:48:57] local.INFO: IMEI packet received {"connection_id":127860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":127860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:48:58] local.INFO: TCP Data received {"connection_id":126627,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:48:58] local.INFO: Processing buffer {"connection_id":126627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:48:58] local.INFO: IMEI packet received {"connection_id":126627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":126627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:48:59] local.INFO: TCP Data received {"connection_id":126627,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:48:59] local.INFO: Processing buffer {"connection_id":126627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:48:59] local.INFO: IMEI packet received {"connection_id":126627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":126627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:49:00] local.INFO: TCP Data received {"connection_id":127860,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:49:00] local.INFO: Processing buffer {"connection_id":127860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:49:00] local.INFO: IMEI packet received {"connection_id":127860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":127860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:49:01] local.INFO: TCP Data received {"connection_id":127860,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41dfd928012d7f04c005ba9f40000700092c..."} 
[2026-07-08 18:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41dfd928012d7f04c005ba9f40000700092c..."} 
[2026-07-08 18:49:01] local.INFO: Processing buffer {"connection_id":127860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41dfd928012d7f04c005ba9f40000700092c..."} 
[2026-07-08 18:49:01] local.INFO: Packet analysis {"connection_id":127860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41df"} 
[2026-07-08 18:49:01] local.INFO: Extracted packet for processing {"connection_id":127860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41df"} 
[2026-07-08 18:49:01] local.INFO: GPS Element Parsed {"raw_longitude":763299008,"raw_latitude":96116544,"longitude_deg":76.3299008,"latitude_deg":9.6116544,"altitude":7,"angle":9,"satellites":44,"speed":3,"hex_longitude":"2d7f04c0","hex_latitude":"05ba9f40","is_valid_coordinates":true} 
[2026-07-08 18:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580248576001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343061062523813888,"note":"Value kept but may cause issues"} 
[2026-07-08 18:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9151666311141918720,"note":"Value kept but may cause issues"} 
[2026-07-08 18:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783516617000,"timestamp_ms":1783516617000,"timestamp_seconds":1783516617,"priority":1,"record_length":96,"hex_timestamp":"0000019f41dfd928"} 
[2026-07-08 18:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 18:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580248576001,"66":27843,"120":206,"85":12544,"24":3,"16":343061062523813888,"45":9151666311141918720},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-07-08 18:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580248576001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:49:01] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 18:49:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343061062523813888,"km_value":343061062523813.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9151666311141918720,"description":"Unknown IO ID 45"} 
[2026-07-08 18:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580248576001,"power":27843,"unknown_120":206,"unknown_85":12544,"ignition":3,"odometer":null,"unknown_45":9151666311141918720}} 
[2026-07-08 18:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":127860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:49:01] local.INFO: GPS data processed {"connection_id":127860,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:49:01] local.INFO: Acknowledgment sent {"connection_id":127860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:49:05] local.INFO: TCP Data received {"connection_id":126627,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:49:05] local.INFO: Processing buffer {"connection_id":126627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:49:05] local.INFO: IMEI packet received {"connection_id":126627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":126627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:49:05] local.INFO: TCP Data received {"connection_id":126627,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41dd9af0012d183e80072190d8005000e42c..."} 
[2026-07-08 18:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41dd9af0012d183e80072190d8005000e42c..."} 
[2026-07-08 18:49:05] local.INFO: Processing buffer {"connection_id":126627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41dd9af0012d183e80072190d8005000e42c..."} 
[2026-07-08 18:49:05] local.INFO: Packet analysis {"connection_id":126627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41dd"} 
[2026-07-08 18:49:05] local.INFO: Extracted packet for processing {"connection_id":126627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41dd"} 
[2026-07-08 18:49:05] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":44,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580210944001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783516470000,"timestamp_ms":1783516470000,"timestamp_seconds":1783516470,"priority":1,"record_length":96,"hex_timestamp":"0000019f41dd9af0"} 
[2026-07-08 18:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-08 18:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580210944001,"66":12287,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580210944001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:49:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:49:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580210944001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":126627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:49:05] local.INFO: GPS data processed {"connection_id":126627,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:49:05] local.INFO: Acknowledgment sent {"connection_id":126627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:49:08] local.INFO: TCP Data received {"connection_id":125747,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41df1da8012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41df1da8012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:49:08] local.INFO: Processing buffer {"connection_id":125747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41df1da8012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:49:08] local.INFO: Packet analysis {"connection_id":125747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41df"} 
[2026-07-08 18:49:08] local.INFO: Extracted packet for processing {"connection_id":125747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41df"} 
[2026-07-08 18:49:08] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580164608001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783516569000,"timestamp_ms":1783516569000,"timestamp_seconds":1783516569,"priority":1,"record_length":96,"hex_timestamp":"0000019f41df1da8"} 
[2026-07-08 18:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 18:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:49:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580164608001,"66":2209,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580164608001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:49:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:49:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580164608001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":125747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453193,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:49:08] local.INFO: GPS data processed {"connection_id":125747,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:49:08] local.INFO: Acknowledgment sent {"connection_id":125747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:49:32] local.INFO: TCP Data received {"connection_id":127860,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e02b30012d7f074005baacd80007000b2c..."} 
[2026-07-08 18:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e02b30012d7f074005baacd80007000b2c..."} 
[2026-07-08 18:49:32] local.INFO: Processing buffer {"connection_id":127860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e02b30012d7f074005baacd80007000b2c..."} 
[2026-07-08 18:49:32] local.INFO: Packet analysis {"connection_id":127860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e0"} 
[2026-07-08 18:49:32] local.INFO: Extracted packet for processing {"connection_id":127860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e0"} 
[2026-07-08 18:49:32] local.INFO: GPS Element Parsed {"raw_longitude":763299648,"raw_latitude":96120024,"longitude_deg":76.3299648,"latitude_deg":9.6120024,"altitude":7,"angle":11,"satellites":44,"speed":11,"hex_longitude":"2d7f0740","hex_latitude":"05baacd8","is_valid_coordinates":true} 
[2026-07-08 18:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580253952001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343061238617473024,"note":"Value kept but may cause issues"} 
[2026-07-08 18:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9152651473562058752,"note":"Value kept but may cause issues"} 
[2026-07-08 18:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783516638000,"timestamp_ms":1783516638000,"timestamp_seconds":1783516638,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e02b30"} 
[2026-07-08 18:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 18:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580253952001,"66":27800,"120":206,"85":12544,"24":11,"16":343061238617473024,"45":9152651473562058752},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-07-08 18:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580253952001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:49:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-08 18:49:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343061238617473024,"km_value":343061238617473.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9152651473562058752,"description":"Unknown IO ID 45"} 
[2026-07-08 18:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580253952001,"power":27800,"unknown_120":206,"unknown_85":12544,"ignition":11,"odometer":null,"unknown_45":9152651473562058752}} 
[2026-07-08 18:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":127860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:49:32] local.INFO: GPS data processed {"connection_id":127860,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:49:32] local.INFO: Acknowledgment sent {"connection_id":127860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:49:36] local.INFO: TCP Data received {"connection_id":125852,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:49:36] local.INFO: Processing buffer {"connection_id":125852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:49:36] local.INFO: IMEI packet received {"connection_id":125852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":125852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:49:36] local.INFO: TCP Data received {"connection_id":126627,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ddecf8012d183e80072190d8005000e42c..."} 
[2026-07-08 18:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ddecf8012d183e80072190d8005000e42c..."} 
[2026-07-08 18:49:36] local.INFO: Processing buffer {"connection_id":126627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ddecf8012d183e80072190d8005000e42c..."} 
[2026-07-08 18:49:36] local.INFO: Packet analysis {"connection_id":126627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41dd"} 
[2026-07-08 18:49:36] local.INFO: Extracted packet for processing {"connection_id":126627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41dd"} 
[2026-07-08 18:49:36] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":44,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580216320001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783516491000,"timestamp_ms":1783516491000,"timestamp_seconds":1783516491,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ddecf8"} 
[2026-07-08 18:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 18:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580216320001,"66":12254,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580216320001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:49:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:49:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580216320001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":126627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:49:37] local.INFO: GPS data processed {"connection_id":126627,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:49:37] local.INFO: Acknowledgment sent {"connection_id":126627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:49:41] local.INFO: TCP Data received {"connection_id":125852,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:49:41] local.INFO: Processing buffer {"connection_id":125852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:49:41] local.INFO: IMEI packet received {"connection_id":125852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":125852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:49:42] local.INFO: TCP Data received {"connection_id":125852,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41df1da8012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41df1da8012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:49:42] local.INFO: Processing buffer {"connection_id":125852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41df1da8012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:49:42] local.INFO: Packet analysis {"connection_id":125852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41df"} 
[2026-07-08 18:49:42] local.INFO: Extracted packet for processing {"connection_id":125852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41df"} 
[2026-07-08 18:49:42] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580164608001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783516569000,"timestamp_ms":1783516569000,"timestamp_seconds":1783516569,"priority":1,"record_length":96,"hex_timestamp":"0000019f41df1da8"} 
[2026-07-08 18:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 18:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":125852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":125852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":125852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580164608001,"66":2209,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580164608001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:49:42] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:49:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580164608001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":125852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453196,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:49:42] local.INFO: GPS data processed {"connection_id":125852,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:49:42] local.INFO: Acknowledgment sent {"connection_id":125852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:49:46] local.INFO: TCP Data received {"connection_id":125852,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41df1da8012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41df1da8012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:49:46] local.INFO: Processing buffer {"connection_id":125852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41df1da8012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:49:46] local.INFO: Packet analysis {"connection_id":125852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41df"} 
[2026-07-08 18:49:46] local.INFO: Extracted packet for processing {"connection_id":125852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41df"} 
[2026-07-08 18:49:46] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580164608001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783516569000,"timestamp_ms":1783516569000,"timestamp_seconds":1783516569,"priority":1,"record_length":96,"hex_timestamp":"0000019f41df1da8"} 
[2026-07-08 18:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 18:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":125852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":125852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":125852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580164608001,"66":2209,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580164608001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:49:46] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:49:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580164608001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":125852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453197,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:49:46] local.INFO: GPS data processed {"connection_id":125852,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:49:46] local.INFO: Acknowledgment sent {"connection_id":125852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:49:59] local.INFO: TCP Data received {"connection_id":125853,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:49:59] local.INFO: Processing buffer {"connection_id":125853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:49:59] local.INFO: IMEI packet received {"connection_id":125853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":125853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:50:00] local.INFO: TCP Data received {"connection_id":126628,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:50:00] local.INFO: Processing buffer {"connection_id":126628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:50:00] local.INFO: IMEI packet received {"connection_id":126628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":126628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:50:01] local.INFO: TCP Data received {"connection_id":126628,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:50:01] local.INFO: Processing buffer {"connection_id":126628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:50:01] local.INFO: IMEI packet received {"connection_id":126628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":126628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:50:01] local.INFO: TCP Data received {"connection_id":126628,"ip":"42.106.6.46","data_length":93,"data_hex":"00000000000000518e010000019f41e1e0b0012d7f3f8005bbdcd00006000b2c..."} 
[2026-07-08 18:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126628,"packet_length":93,"packet_hex":"00000000000000518e010000019f41e1e0b0012d7f3f8005bbdcd00006000b2c..."} 
[2026-07-08 18:50:01] local.INFO: Processing buffer {"connection_id":126628,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f41e1e0b0012d7f3f8005bbdcd00006000b2c..."} 
[2026-07-08 18:50:01] local.INFO: Packet analysis {"connection_id":126628,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f41e1"} 
[2026-07-08 18:50:01] local.INFO: Extracted packet for processing {"connection_id":126628,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f41e1"} 
[2026-07-08 18:50:01] local.INFO: GPS Element Parsed {"raw_longitude":763314048,"raw_latitude":96197840,"longitude_deg":76.3314048,"latitude_deg":9.619784,"altitude":6,"angle":11,"satellites":44,"speed":52,"hex_longitude":"2d7f3f80","hex_latitude":"05bbdcd0","is_valid_coordinates":true} 
[2026-07-08 18:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-08 18:50: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-07-08 18:50: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-07-08 18:50:01] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:50:01] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-08 18:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126628,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-08 18:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126628,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-08 18:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126628,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-08 18:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-08 18:50:01] local.WARNING: DEBUG: No valid data to process  
[2026-07-08 18:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":126628,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-08 18:50:01] local.ERROR: GPS data processing failed {"connection_id":126628,"error":"No valid data to process"} 
[2026-07-08 18:50:01] local.INFO: Acknowledgment sent {"connection_id":126628,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-08 18:50:02] local.INFO: TCP Data received {"connection_id":125853,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:50:02] local.INFO: Processing buffer {"connection_id":125853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:50:02] local.INFO: IMEI packet received {"connection_id":125853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":125853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:50:05] local.INFO: TCP Data received {"connection_id":125853,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:50:05] local.INFO: Processing buffer {"connection_id":125853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:50:05] local.INFO: IMEI packet received {"connection_id":125853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":125853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:50:05] local.INFO: TCP Data received {"connection_id":125853,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e17350012d183e80072190d8005000e429..."} 
[2026-07-08 18:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e17350012d183e80072190d8005000e429..."} 
[2026-07-08 18:50:05] local.INFO: Processing buffer {"connection_id":125853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e17350012d183e80072190d8005000e429..."} 
[2026-07-08 18:50:05] local.INFO: Packet analysis {"connection_id":125853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e1"} 
[2026-07-08 18:50:05] local.INFO: Extracted packet for processing {"connection_id":125853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e1"} 
[2026-07-08 18:50:05] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":41,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580275200001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783516722000,"timestamp_ms":1783516722000,"timestamp_seconds":1783516722,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e17350"} 
[2026-07-08 18:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 18:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580275200001,"66":11993,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580275200001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:50:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:50:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580275200001,"power":11993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":125853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:50:05] local.INFO: GPS data processed {"connection_id":125853,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:50:05] local.INFO: Acknowledgment sent {"connection_id":125853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:50:05] local.INFO: TCP Data received {"connection_id":126628,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e1fc08012d7f46c005bc02a00006000a2c..."} 
[2026-07-08 18:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e1fc08012d7f46c005bc02a00006000a2c..."} 
[2026-07-08 18:50:05] local.INFO: Processing buffer {"connection_id":126628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e1fc08012d7f46c005bc02a00006000a2c..."} 
[2026-07-08 18:50:05] local.INFO: Packet analysis {"connection_id":126628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e1"} 
[2026-07-08 18:50:05] local.INFO: Extracted packet for processing {"connection_id":126628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e1"} 
[2026-07-08 18:50:05] local.INFO: GPS Element Parsed {"raw_longitude":763315904,"raw_latitude":96207520,"longitude_deg":76.3315904,"latitude_deg":9.620752,"altitude":6,"angle":10,"satellites":44,"speed":58,"hex_longitude":"2d7f46c0","hex_latitude":"05bc02a0","is_valid_coordinates":true} 
[2026-07-08 18:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580288000001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343065567944507392,"note":"Value kept but may cause issues"} 
[2026-07-08 18:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9169188128464621568,"note":"Value kept but may cause issues"} 
[2026-07-08 18:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783516757000,"timestamp_ms":1783516757000,"timestamp_seconds":1783516757,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e1fc08"} 
[2026-07-08 18:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 18:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580288000001,"66":27832,"121":206,"85":12544,"24":58,"16":343065567944507392,"45":9169188128464621568},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-08 18:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580288000001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:50:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 18:50:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343065567944507392,"km_value":343065567944507.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9169188128464621568,"description":"Unknown IO ID 45"} 
[2026-07-08 18:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580288000001,"power":27832,"unknown_121":206,"unknown_85":12544,"ignition":58,"odometer":null,"unknown_45":9169188128464621568}} 
[2026-07-08 18:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":126628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:50:05] local.INFO: GPS data processed {"connection_id":126628,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:50:05] local.INFO: Acknowledgment sent {"connection_id":126628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:50:30] local.INFO: TCP Data received {"connection_id":125854,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:50:30] local.INFO: Processing buffer {"connection_id":125854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:50:30] local.INFO: IMEI packet received {"connection_id":125854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":125854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:50:36] local.INFO: TCP Data received {"connection_id":125854,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:50:36] local.INFO: Processing buffer {"connection_id":125854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:50:36] local.INFO: IMEI packet received {"connection_id":125854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":125854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:50:36] local.INFO: TCP Data received {"connection_id":126628,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e21378012d7f4dc005bc25880007000a2c..."} 
[2026-07-08 18:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e21378012d7f4dc005bc25880007000a2c..."} 
[2026-07-08 18:50:36] local.INFO: Processing buffer {"connection_id":126628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e21378012d7f4dc005bc25880007000a2c..."} 
[2026-07-08 18:50:36] local.INFO: Packet analysis {"connection_id":126628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e2"} 
[2026-07-08 18:50:36] local.INFO: Extracted packet for processing {"connection_id":126628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e2"} 
[2026-07-08 18:50:36] local.INFO: GPS Element Parsed {"raw_longitude":763317696,"raw_latitude":96216456,"longitude_deg":76.3317696,"latitude_deg":9.6216456,"altitude":7,"angle":10,"satellites":44,"speed":60,"hex_longitude":"2d7f4dc0","hex_latitude":"05bc2588","is_valid_coordinates":true} 
[2026-07-08 18:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580289792001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343066010326138880,"note":"Value kept but may cause issues"} 
[2026-07-08 18:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9171228822048251904,"note":"Value kept but may cause issues"} 
[2026-07-08 18:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783516763000,"timestamp_ms":1783516763000,"timestamp_seconds":1783516763,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e21378"} 
[2026-07-08 18:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-08 18:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580289792001,"66":27919,"121":206,"85":12544,"24":60,"16":343066010326138880,"45":9171228822048251904},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-08 18:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580289792001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:50:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 18:50:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343066010326138880,"km_value":343066010326138.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9171228822048251904,"description":"Unknown IO ID 45"} 
[2026-07-08 18:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580289792001,"power":27919,"unknown_121":206,"unknown_85":12544,"ignition":60,"odometer":null,"unknown_45":9171228822048251904}} 
[2026-07-08 18:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":126628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:50:36] local.INFO: GPS data processed {"connection_id":126628,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:50:36] local.INFO: Acknowledgment sent {"connection_id":126628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:50:36] local.INFO: TCP Data received {"connection_id":125853,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e1c558012d183e80072190d8005000e429..."} 
[2026-07-08 18:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e1c558012d183e80072190d8005000e429..."} 
[2026-07-08 18:50:36] local.INFO: Processing buffer {"connection_id":125853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e1c558012d183e80072190d8005000e429..."} 
[2026-07-08 18:50:36] local.INFO: Packet analysis {"connection_id":125853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e1"} 
[2026-07-08 18:50:36] local.INFO: Extracted packet for processing {"connection_id":125853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e1"} 
[2026-07-08 18:50:36] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":41,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580280832001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783516743000,"timestamp_ms":1783516743000,"timestamp_seconds":1783516743,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e1c558"} 
[2026-07-08 18:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-08 18:50:36] 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-07-08 18:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580280832001,"66":12254,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580280832001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:50:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:50:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580280832001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":125853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:50:37] local.INFO: GPS data processed {"connection_id":125853,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:50:37] local.INFO: Acknowledgment sent {"connection_id":125853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:50:37] local.INFO: TCP Data received {"connection_id":125854,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41df1da8012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41df1da8012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:50:37] local.INFO: Processing buffer {"connection_id":125854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41df1da8012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:50:37] local.INFO: Packet analysis {"connection_id":125854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41df"} 
[2026-07-08 18:50:37] local.INFO: Extracted packet for processing {"connection_id":125854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41df"} 
[2026-07-08 18:50:37] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580164608001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783516569000,"timestamp_ms":1783516569000,"timestamp_seconds":1783516569,"priority":1,"record_length":96,"hex_timestamp":"0000019f41df1da8"} 
[2026-07-08 18:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 18:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580164608001,"66":2209,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580164608001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:50:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:50:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580164608001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":125854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453202,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:50:37] local.INFO: GPS data processed {"connection_id":125854,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:50:37] local.INFO: Acknowledgment sent {"connection_id":125854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:50:55] local.INFO: TCP Data received {"connection_id":125749,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:50:55] local.INFO: Processing buffer {"connection_id":125749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:50:55] local.INFO: IMEI packet received {"connection_id":125749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":125749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:50:57] local.INFO: TCP Data received {"connection_id":125749,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:50:57] local.INFO: Processing buffer {"connection_id":125749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:50:57] local.INFO: IMEI packet received {"connection_id":125749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":125749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:50:57] local.INFO: TCP Data received {"connection_id":125749,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e22ae8012d7f538005bc4868000700082c..."} 
[2026-07-08 18:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e22ae8012d7f538005bc4868000700082c..."} 
[2026-07-08 18:50:57] local.INFO: Processing buffer {"connection_id":125749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e22ae8012d7f538005bc4868000700082c..."} 
[2026-07-08 18:50:57] local.INFO: Packet analysis {"connection_id":125749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e2"} 
[2026-07-08 18:50:57] local.INFO: Extracted packet for processing {"connection_id":125749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e2"} 
[2026-07-08 18:50:57] local.INFO: GPS Element Parsed {"raw_longitude":763319168,"raw_latitude":96225384,"longitude_deg":76.3319168,"latitude_deg":9.6225384,"altitude":7,"angle":8,"satellites":44,"speed":59,"hex_longitude":"2d7f5380","hex_latitude":"05bc4868","is_valid_coordinates":true} 
[2026-07-08 18:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580291328001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343066448412803072,"note":"Value kept but may cause issues"} 
[2026-07-08 18:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9173199146887514112,"note":"Value kept but may cause issues"} 
[2026-07-08 18:50:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783516769000,"timestamp_ms":1783516769000,"timestamp_seconds":1783516769,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e22ae8"} 
[2026-07-08 18:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:50: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-07-08 18: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 18:50:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:50:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":125749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":125749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":125749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:50:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580291328001,"66":27908,"121":206,"85":12544,"24":59,"16":343066448412803072,"45":9173199146887514112},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-08 18:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580291328001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:50:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 18:50:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343066448412803072,"km_value":343066448412803.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9173199146887514112,"description":"Unknown IO ID 45"} 
[2026-07-08 18:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580291328001,"power":27908,"unknown_121":206,"unknown_85":12544,"ignition":59,"odometer":null,"unknown_45":9173199146887514112}} 
[2026-07-08 18:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":125749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:50:58] local.INFO: GPS data processed {"connection_id":125749,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:50:58] local.INFO: Acknowledgment sent {"connection_id":125749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:50:59] local.INFO: TCP Data received {"connection_id":126629,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:50:59] local.INFO: Processing buffer {"connection_id":126629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:50:59] local.INFO: IMEI packet received {"connection_id":126629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":126629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:51:05] local.INFO: TCP Data received {"connection_id":126629,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:51:05] local.INFO: Processing buffer {"connection_id":126629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:51:05] local.INFO: IMEI packet received {"connection_id":126629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":126629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:51:05] local.INFO: TCP Data received {"connection_id":126629,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e21760012d183e80072190d8005000e427..."} 
[2026-07-08 18:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e21760012d183e80072190d8005000e427..."} 
[2026-07-08 18:51:05] local.INFO: Processing buffer {"connection_id":126629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e21760012d183e80072190d8005000e427..."} 
[2026-07-08 18:51:05] local.INFO: Packet analysis {"connection_id":126629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e2"} 
[2026-07-08 18:51:05] local.INFO: Extracted packet for processing {"connection_id":126629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e2"} 
[2026-07-08 18:51:05] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":39,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580286208001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783516764000,"timestamp_ms":1783516764000,"timestamp_seconds":1783516764,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e21760"} 
[2026-07-08 18:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-08 18:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580286208001,"66":12211,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580286208001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:51:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:51:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580286208001,"power":12211,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":126629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:51:05] local.INFO: GPS data processed {"connection_id":126629,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:51:05] local.INFO: Acknowledgment sent {"connection_id":126629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:51:08] local.INFO: TCP Data received {"connection_id":125854,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41df1da8012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41df1da8012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:51:08] local.INFO: Processing buffer {"connection_id":125854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41df1da8012d7e380005d34cc0000200372d..."} 
[2026-07-08 18:51:08] local.INFO: Packet analysis {"connection_id":125854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41df"} 
[2026-07-08 18:51:08] local.INFO: Extracted packet for processing {"connection_id":125854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41df"} 
[2026-07-08 18:51:08] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580164608001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783516569000,"timestamp_ms":1783516569000,"timestamp_seconds":1783516569,"priority":1,"record_length":96,"hex_timestamp":"0000019f41df1da8"} 
[2026-07-08 18:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-08 18:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:51:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580164608001,"66":2209,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580164608001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:51:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:51:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580164608001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":125854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453205,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:51:08] local.INFO: GPS data processed {"connection_id":125854,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:51:08] local.INFO: Acknowledgment sent {"connection_id":125854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:51:29] local.INFO: TCP Data received {"connection_id":125749,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e24258012d7f58c005bc6b20000700082c..."} 
[2026-07-08 18:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e24258012d7f58c005bc6b20000700082c..."} 
[2026-07-08 18:51:29] local.INFO: Processing buffer {"connection_id":125749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e24258012d7f58c005bc6b20000700082c..."} 
[2026-07-08 18:51:29] local.INFO: Packet analysis {"connection_id":125749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e2"} 
[2026-07-08 18:51:29] local.INFO: Extracted packet for processing {"connection_id":125749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e2"} 
[2026-07-08 18:51:29] local.INFO: GPS Element Parsed {"raw_longitude":763320512,"raw_latitude":96234272,"longitude_deg":76.3320512,"latitude_deg":9.6234272,"altitude":7,"angle":8,"satellites":44,"speed":59,"hex_longitude":"2d7f58c0","hex_latitude":"05bc6b20","is_valid_coordinates":true} 
[2026-07-08 18:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580292864001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343066882204499968,"note":"Value kept but may cause issues"} 
[2026-07-08 18:51:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9174817628005885952,"note":"Value kept but may cause issues"} 
[2026-07-08 18:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783516775000,"timestamp_ms":1783516775000,"timestamp_seconds":1783516775,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e24258"} 
[2026-07-08 18:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:51:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 18:51:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:51:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":125749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":125749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":125749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580292864001,"66":28028,"121":206,"85":12544,"24":59,"16":343066882204499968,"45":9174817628005885952},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-08 18:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580292864001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:51:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 18:51:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343066882204499968,"km_value":343066882204499.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:51:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9174817628005885952,"description":"Unknown IO ID 45"} 
[2026-07-08 18:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580292864001,"power":28028,"unknown_121":206,"unknown_85":12544,"ignition":59,"odometer":null,"unknown_45":9174817628005885952}} 
[2026-07-08 18:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":125749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:51:29] local.INFO: GPS data processed {"connection_id":125749,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:51:29] local.INFO: Acknowledgment sent {"connection_id":125749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:51:32] local.INFO: TCP Data received {"connection_id":127861,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127861,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:51:32] local.INFO: Processing buffer {"connection_id":127861,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:51:32] local.INFO: IMEI packet received {"connection_id":127861,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":127861,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:51:36] local.INFO: TCP Data received {"connection_id":127861,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127861,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:51:36] local.INFO: Processing buffer {"connection_id":127861,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:51:36] local.INFO: IMEI packet received {"connection_id":127861,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":127861,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:51:36] local.INFO: TCP Data received {"connection_id":126629,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e26968012d183e80072190d8005000e42a..."} 
[2026-07-08 18:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e26968012d183e80072190d8005000e42a..."} 
[2026-07-08 18:51:36] local.INFO: Processing buffer {"connection_id":126629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e26968012d183e80072190d8005000e42a..."} 
[2026-07-08 18:51:36] local.INFO: Packet analysis {"connection_id":126629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e2"} 
[2026-07-08 18:51:36] local.INFO: Extracted packet for processing {"connection_id":126629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e2"} 
[2026-07-08 18:51:36] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":42,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580291584001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783516785000,"timestamp_ms":1783516785000,"timestamp_seconds":1783516785,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e26968"} 
[2026-07-08 18:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 18:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580291584001,"66":12232,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580291584001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:51:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:51:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580291584001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":126629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:51:37] local.INFO: GPS data processed {"connection_id":126629,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:51:37] local.INFO: Acknowledgment sent {"connection_id":126629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:51:37] local.INFO: TCP Data received {"connection_id":127861,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e3b570012d7e380005d34cc0000200372b..."} 
[2026-07-08 18:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e3b570012d7e380005d34cc0000200372b..."} 
[2026-07-08 18:51:37] local.INFO: Processing buffer {"connection_id":127861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e3b570012d7e380005d34cc0000200372b..."} 
[2026-07-08 18:51:37] local.INFO: Packet analysis {"connection_id":127861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e3"} 
[2026-07-08 18:51:37] local.INFO: Extracted packet for processing {"connection_id":127861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e3"} 
[2026-07-08 18:51:37] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580241664001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783516870000,"timestamp_ms":1783516870000,"timestamp_seconds":1783516870,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e3b570"} 
[2026-07-08 18:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:51:37] 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-07-08 18:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-08 18:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580241664001,"66":2220,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580241664001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:51:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:51:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580241664001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":127861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453208,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:51:37] local.INFO: GPS data processed {"connection_id":127861,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:51:37] local.INFO: Acknowledgment sent {"connection_id":127861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:51:55] local.INFO: TCP Data received {"connection_id":127862,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:51:55] local.INFO: Processing buffer {"connection_id":127862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:51:55] local.INFO: IMEI packet received {"connection_id":127862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":127862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:52:00] local.INFO: TCP Data received {"connection_id":127862,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:52:00] local.INFO: Processing buffer {"connection_id":127862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:52:00] local.INFO: IMEI packet received {"connection_id":127862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":127862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:52:01] local.INFO: TCP Data received {"connection_id":127862,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e25db0012d7f5b8005bc9080000600002b..."} 
[2026-07-08 18:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e25db0012d7f5b8005bc9080000600002b..."} 
[2026-07-08 18:52:01] local.INFO: Processing buffer {"connection_id":127862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e25db0012d7f5b8005bc9080000600002b..."} 
[2026-07-08 18:52:01] local.INFO: Packet analysis {"connection_id":127862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e2"} 
[2026-07-08 18:52:01] local.INFO: Extracted packet for processing {"connection_id":127862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e2"} 
[2026-07-08 18:52:01] local.INFO: GPS Element Parsed {"raw_longitude":763321216,"raw_latitude":96243840,"longitude_deg":76.3321216,"latitude_deg":9.624384,"altitude":6,"angle":0,"satellites":43,"speed":48,"hex_longitude":"2d7f5b80","hex_latitude":"05bc9080","is_valid_coordinates":true} 
[2026-07-08 18:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580294400001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343067346060967936,"note":"Value kept but may cause issues"} 
[2026-07-08 18:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9176295371635892224,"note":"Value kept but may cause issues"} 
[2026-07-08 18:52:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783516782000,"timestamp_ms":1783516782000,"timestamp_seconds":1783516782,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e25db0"} 
[2026-07-08 18:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:52:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-08 18:52:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:52:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:52:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580294400001,"66":27908,"121":206,"85":12544,"24":48,"16":343067346060967936,"45":9176295371635892224},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-08 18:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580294400001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:52:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 18:52:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343067346060967936,"km_value":343067346060967.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9176295371635892224,"description":"Unknown IO ID 45"} 
[2026-07-08 18:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580294400001,"power":27908,"unknown_121":206,"unknown_85":12544,"ignition":48,"odometer":null,"unknown_45":9176295371635892224}} 
[2026-07-08 18:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":127862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:52:01] local.INFO: GPS data processed {"connection_id":127862,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:52:01] local.INFO: Acknowledgment sent {"connection_id":127862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:52:05] local.INFO: TCP Data received {"connection_id":125855,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:52:05] local.INFO: Processing buffer {"connection_id":125855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:52:05] local.INFO: IMEI packet received {"connection_id":125855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":125855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:52:08] local.INFO: TCP Data received {"connection_id":127861,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e3b570012d7e380005d34cc0000200372b..."} 
[2026-07-08 18:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e3b570012d7e380005d34cc0000200372b..."} 
[2026-07-08 18:52:08] local.INFO: Processing buffer {"connection_id":127861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e3b570012d7e380005d34cc0000200372b..."} 
[2026-07-08 18:52:08] local.INFO: Packet analysis {"connection_id":127861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e3"} 
[2026-07-08 18:52:08] local.INFO: Extracted packet for processing {"connection_id":127861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e3"} 
[2026-07-08 18:52:08] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580241664001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783516870000,"timestamp_ms":1783516870000,"timestamp_seconds":1783516870,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e3b570"} 
[2026-07-08 18:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:52:08] 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-07-08 18:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-08 18:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":127861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":127861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":127861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580241664001,"66":2220,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580241664001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:52:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:52:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580241664001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":127861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453210,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:52:08] local.INFO: GPS data processed {"connection_id":127861,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:52:08] local.INFO: Acknowledgment sent {"connection_id":127861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:52:08] local.INFO: TCP Data received {"connection_id":125855,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:52:08] local.INFO: Processing buffer {"connection_id":125855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:52:08] local.INFO: IMEI packet received {"connection_id":125855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":125855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:52:08] local.INFO: TCP Data received {"connection_id":125855,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e2bb70012d183e80072190d8005000e42c..."} 
[2026-07-08 18:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e2bb70012d183e80072190d8005000e42c..."} 
[2026-07-08 18:52:08] local.INFO: Processing buffer {"connection_id":125855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e2bb70012d183e80072190d8005000e42c..."} 
[2026-07-08 18:52:08] local.INFO: Packet analysis {"connection_id":125855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e2"} 
[2026-07-08 18:52:08] local.INFO: Extracted packet for processing {"connection_id":125855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e2"} 
[2026-07-08 18:52:08] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":44,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580296960001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783516806000,"timestamp_ms":1783516806000,"timestamp_seconds":1783516806,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e2bb70"} 
[2026-07-08 18:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-08 18:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580296960001,"66":12254,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580296960001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:52:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:52:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580296960001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":125855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:52:08] local.INFO: GPS data processed {"connection_id":125855,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:52:08] local.INFO: Acknowledgment sent {"connection_id":125855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:52:10] local.INFO: TCP Data received {"connection_id":125855,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e30d78012d183e80072190d8005000e429..."} 
[2026-07-08 18:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e30d78012d183e80072190d8005000e429..."} 
[2026-07-08 18:52:10] local.INFO: Processing buffer {"connection_id":125855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e30d78012d183e80072190d8005000e429..."} 
[2026-07-08 18:52:10] local.INFO: Packet analysis {"connection_id":125855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e3"} 
[2026-07-08 18:52:10] local.INFO: Extracted packet for processing {"connection_id":125855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e3"} 
[2026-07-08 18:52:10] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":41,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580302336001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783516827000,"timestamp_ms":1783516827000,"timestamp_seconds":1783516827,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e30d78"} 
[2026-07-08 18:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-08 18:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580302336001,"66":12254,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580302336001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:52:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:52:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580302336001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":125855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:52:10] local.INFO: GPS data processed {"connection_id":125855,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:52:10] local.INFO: Acknowledgment sent {"connection_id":125855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:52:27] local.INFO: TCP Data received {"connection_id":127863,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127863,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:52:27] local.INFO: Processing buffer {"connection_id":127863,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:52:27] local.INFO: IMEI packet received {"connection_id":127863,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 18:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":127863,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:52:31] local.INFO: TCP Data received {"connection_id":126630,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:52:31] local.INFO: Processing buffer {"connection_id":126630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:52:31] local.INFO: IMEI packet received {"connection_id":126630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":126630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:52:33] local.INFO: TCP Data received {"connection_id":127862,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e27cf0012d7f61c005bcb6f80006000a2a..."} 
[2026-07-08 18:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e27cf0012d7f61c005bcb6f80006000a2a..."} 
[2026-07-08 18:52:33] local.INFO: Processing buffer {"connection_id":127862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e27cf0012d7f61c005bcb6f80006000a2a..."} 
[2026-07-08 18:52:33] local.INFO: Packet analysis {"connection_id":127862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e2"} 
[2026-07-08 18:52:33] local.INFO: Extracted packet for processing {"connection_id":127862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e2"} 
[2026-07-08 18:52:33] local.INFO: GPS Element Parsed {"raw_longitude":763322816,"raw_latitude":96253688,"longitude_deg":76.3322816,"latitude_deg":9.6253688,"altitude":6,"angle":10,"satellites":42,"speed":51,"hex_longitude":"2d7f61c0","hex_latitude":"05bcb6f8","is_valid_coordinates":true} 
[2026-07-08 18:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580296192001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343067831392272384,"note":"Value kept but may cause issues"} 
[2026-07-08 18:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9177069427824295936,"note":"Value kept but may cause issues"} 
[2026-07-08 18:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783516790000,"timestamp_ms":1783516790000,"timestamp_seconds":1783516790,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e27cf0"} 
[2026-07-08 18:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 18:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:52:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580296192001,"66":27919,"121":206,"85":12544,"24":51,"16":343067831392272384,"45":9177069427824295936},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-08 18:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580296192001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:52:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 18:52:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343067831392272384,"km_value":343067831392272.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9177069427824295936,"description":"Unknown IO ID 45"} 
[2026-07-08 18:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580296192001,"power":27919,"unknown_121":206,"unknown_85":12544,"ignition":51,"odometer":null,"unknown_45":9177069427824295936}} 
[2026-07-08 18:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":127862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:52:33] local.INFO: GPS data processed {"connection_id":127862,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:52:33] local.INFO: Acknowledgment sent {"connection_id":127862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:52:36] local.INFO: TCP Data received {"connection_id":126630,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:52:36] local.INFO: Processing buffer {"connection_id":126630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:52:36] local.INFO: IMEI packet received {"connection_id":126630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":126630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:52:37] local.INFO: TCP Data received {"connection_id":126630,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e3b570012d7e380005d34cc0000200372b..."} 
[2026-07-08 18:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e3b570012d7e380005d34cc0000200372b..."} 
[2026-07-08 18:52:37] local.INFO: Processing buffer {"connection_id":126630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e3b570012d7e380005d34cc0000200372b..."} 
[2026-07-08 18:52:37] local.INFO: Packet analysis {"connection_id":126630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e3"} 
[2026-07-08 18:52:37] local.INFO: Extracted packet for processing {"connection_id":126630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e3"} 
[2026-07-08 18:52:37] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580241664001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783516870000,"timestamp_ms":1783516870000,"timestamp_seconds":1783516870,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e3b570"} 
[2026-07-08 18:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:52:37] 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-07-08 18:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-08 18:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580241664001,"66":2220,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580241664001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:52:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:52:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580241664001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":126630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453214,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:52:37] local.INFO: GPS data processed {"connection_id":126630,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:52:37] local.INFO: Acknowledgment sent {"connection_id":126630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:52:41] local.INFO: TCP Data received {"connection_id":125855,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e35f80012d183e80072190d8005000e429..."} 
[2026-07-08 18:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e35f80012d183e80072190d8005000e429..."} 
[2026-07-08 18:52:41] local.INFO: Processing buffer {"connection_id":125855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e35f80012d183e80072190d8005000e429..."} 
[2026-07-08 18:52:41] local.INFO: Packet analysis {"connection_id":125855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e3"} 
[2026-07-08 18:52:41] local.INFO: Extracted packet for processing {"connection_id":125855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e3"} 
[2026-07-08 18:52:41] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":41,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 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-07-08 18:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580307712001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:52: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-07-08 18:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783516848000,"timestamp_ms":1783516848000,"timestamp_seconds":1783516848,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e35f80"} 
[2026-07-08 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-07-08 18:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-08 18:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 18:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:52: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-07-08 18:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580307712001,"66":12254,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580307712001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:52:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:52:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580307712001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":125855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:52:41] local.INFO: GPS data processed {"connection_id":125855,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:52:41] local.INFO: Acknowledgment sent {"connection_id":125855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:52:54] local.INFO: TCP Data received {"connection_id":125856,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125856,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:52:54] local.INFO: Processing buffer {"connection_id":125856,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:52:54] local.INFO: IMEI packet received {"connection_id":125856,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 18:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":125856,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:52:55] local.INFO: TCP Data received {"connection_id":125751,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:52:55] local.INFO: Processing buffer {"connection_id":125751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:52:55] local.INFO: IMEI packet received {"connection_id":125751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":125751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:53:00] local.INFO: TCP Data received {"connection_id":125857,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:53:00] local.INFO: Processing buffer {"connection_id":125857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:53:00] local.INFO: IMEI packet received {"connection_id":125857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":125857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:53:00] local.INFO: TCP Data received {"connection_id":125751,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:53:00] local.INFO: Processing buffer {"connection_id":125751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:53:00] local.INFO: IMEI packet received {"connection_id":125751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":125751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:53:01] local.INFO: TCP Data received {"connection_id":125751,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e29c30012d7f69c005bcdbf00006000b2b..."} 
[2026-07-08 18:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e29c30012d7f69c005bcdbf00006000b2b..."} 
[2026-07-08 18:53:01] local.INFO: Processing buffer {"connection_id":125751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e29c30012d7f69c005bcdbf00006000b2b..."} 
[2026-07-08 18:53:01] local.INFO: Packet analysis {"connection_id":125751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e2"} 
[2026-07-08 18:53:01] local.INFO: Extracted packet for processing {"connection_id":125751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e2"} 
[2026-07-08 18:53:01] local.INFO: GPS Element Parsed {"raw_longitude":763324864,"raw_latitude":96263152,"longitude_deg":76.3324864,"latitude_deg":9.6263152,"altitude":6,"angle":11,"satellites":43,"speed":39,"hex_longitude":"2d7f69c0","hex_latitude":"05bcdbf0","is_valid_coordinates":true} 
[2026-07-08 18:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580298240001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343068299543707648,"note":"Value kept but may cause issues"} 
[2026-07-08 18:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9178828646431258624,"note":"Value kept but may cause issues"} 
[2026-07-08 18:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783516798000,"timestamp_ms":1783516798000,"timestamp_seconds":1783516798,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e29c30"} 
[2026-07-08 18:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 18:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580298240001,"66":27843,"121":206,"85":12544,"24":39,"16":343068299543707648,"45":9178828646431258624},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-08 18:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580298240001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:53:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 18:53:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343068299543707648,"km_value":343068299543707.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9178828646431258624,"description":"Unknown IO ID 45"} 
[2026-07-08 18:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580298240001,"power":27843,"unknown_121":206,"unknown_85":12544,"ignition":39,"odometer":null,"unknown_45":9178828646431258624}} 
[2026-07-08 18:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":125751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:53:01] local.INFO: GPS data processed {"connection_id":125751,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:53:01] local.INFO: Acknowledgment sent {"connection_id":125751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:53:05] local.INFO: TCP Data received {"connection_id":125857,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:53:05] local.INFO: Processing buffer {"connection_id":125857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:53:05] local.INFO: IMEI packet received {"connection_id":125857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":125857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:53:05] local.INFO: TCP Data received {"connection_id":125857,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e3b188012d183e80072190d8005000e428..."} 
[2026-07-08 18:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e3b188012d183e80072190d8005000e428..."} 
[2026-07-08 18:53:05] local.INFO: Processing buffer {"connection_id":125857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e3b188012d183e80072190d8005000e428..."} 
[2026-07-08 18:53:05] local.INFO: Packet analysis {"connection_id":125857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e3"} 
[2026-07-08 18:53:05] local.INFO: Extracted packet for processing {"connection_id":125857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e3"} 
[2026-07-08 18:53:05] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":40,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580313088001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783516869000,"timestamp_ms":1783516869000,"timestamp_seconds":1783516869,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e3b188"} 
[2026-07-08 18:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-08 18:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580313088001,"66":12178,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580313088001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:53:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:53:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580313088001,"power":12178,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":125857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:53:06] local.INFO: GPS data processed {"connection_id":125857,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:53:06] local.INFO: Acknowledgment sent {"connection_id":125857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:53:15] local.INFO: TCP Data received {"connection_id":126630,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e3b570012d7e380005d34cc0000200372b..."} 
[2026-07-08 18:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e3b570012d7e380005d34cc0000200372b..."} 
[2026-07-08 18:53:15] local.INFO: Processing buffer {"connection_id":126630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e3b570012d7e380005d34cc0000200372b..."} 
[2026-07-08 18:53:15] local.INFO: Packet analysis {"connection_id":126630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e3"} 
[2026-07-08 18:53:15] local.INFO: Extracted packet for processing {"connection_id":126630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e3"} 
[2026-07-08 18:53:15] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580241664001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783516870000,"timestamp_ms":1783516870000,"timestamp_seconds":1783516870,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e3b570"} 
[2026-07-08 18:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:53: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-07-08 18: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-08 18:53:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":126630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":126630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":126630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580241664001,"66":2220,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580241664001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:53:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:53:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580241664001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":126630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453218,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:53:15] local.INFO: GPS data processed {"connection_id":126630,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:53:15] local.INFO: Acknowledgment sent {"connection_id":126630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:53:32] local.INFO: TCP Data received {"connection_id":125859,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125859,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:53:32] local.INFO: Processing buffer {"connection_id":125859,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:53:32] local.INFO: IMEI packet received {"connection_id":125859,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":125859,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:53:32] local.INFO: TCP Data received {"connection_id":125751,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e2ee38012d7f6e0005bcf2600007000c27..."} 
[2026-07-08 18:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e2ee38012d7f6e0005bcf2600007000c27..."} 
[2026-07-08 18:53:32] local.INFO: Processing buffer {"connection_id":125751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e2ee38012d7f6e0005bcf2600007000c27..."} 
[2026-07-08 18:53:32] local.INFO: Packet analysis {"connection_id":125751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e2"} 
[2026-07-08 18:53:32] local.INFO: Extracted packet for processing {"connection_id":125751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e2"} 
[2026-07-08 18:53:32] local.INFO: GPS Element Parsed {"raw_longitude":763325952,"raw_latitude":96268896,"longitude_deg":76.3325952,"latitude_deg":9.6268896,"altitude":7,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d7f6e00","hex_latitude":"05bcf260","is_valid_coordinates":true} 
[2026-07-08 18:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580300288001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343068583011549184,"note":"Value kept but may cause issues"} 
[2026-07-08 18:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9181080446247366656,"note":"Value kept but may cause issues"} 
[2026-07-08 18:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783516819000,"timestamp_ms":1783516819000,"timestamp_seconds":1783516819,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e2ee38"} 
[2026-07-08 18:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-08 18:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580300288001,"66":27800,"121":206,"85":12544,"24":0,"16":343068583011549184,"45":9181080446247366656},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-07-08 18:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580300288001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:53:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-08 18:53:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343068583011549184,"km_value":343068583011549.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9181080446247366656,"description":"Unknown IO ID 45"} 
[2026-07-08 18:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580300288001,"power":27800,"unknown_121":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9181080446247366656}} 
[2026-07-08 18:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":125751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:53:32] local.INFO: GPS data processed {"connection_id":125751,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:53:32] local.INFO: Acknowledgment sent {"connection_id":125751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:53:36] local.INFO: TCP Data received {"connection_id":125859,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125859,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:53:36] local.INFO: Processing buffer {"connection_id":125859,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:53:36] local.INFO: IMEI packet received {"connection_id":125859,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":125859,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:53:37] local.INFO: TCP Data received {"connection_id":125857,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e40390012d183e80072190d8005000e429..."} 
[2026-07-08 18:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e40390012d183e80072190d8005000e429..."} 
[2026-07-08 18:53:37] local.INFO: Processing buffer {"connection_id":125857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e40390012d183e80072190d8005000e429..."} 
[2026-07-08 18:53:37] local.INFO: Packet analysis {"connection_id":125857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e4"} 
[2026-07-08 18:53:37] local.INFO: Extracted packet for processing {"connection_id":125857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e4"} 
[2026-07-08 18:53:37] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":41,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580318464001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783516890000,"timestamp_ms":1783516890000,"timestamp_seconds":1783516890,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e40390"} 
[2026-07-08 18:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-08 18:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580318464001,"66":12178,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580318464001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:53:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:53:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580318464001,"power":12178,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":125857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:53:37] local.INFO: GPS data processed {"connection_id":125857,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:53:37] local.INFO: Acknowledgment sent {"connection_id":125857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:53:37] local.INFO: TCP Data received {"connection_id":125859,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e3b570012d7e380005d34cc0000200372b..."} 
[2026-07-08 18:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e3b570012d7e380005d34cc0000200372b..."} 
[2026-07-08 18:53:37] local.INFO: Processing buffer {"connection_id":125859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e3b570012d7e380005d34cc0000200372b..."} 
[2026-07-08 18:53:37] local.INFO: Packet analysis {"connection_id":125859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e3"} 
[2026-07-08 18:53:37] local.INFO: Extracted packet for processing {"connection_id":125859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e3"} 
[2026-07-08 18:53:37] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580241664001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783516870000,"timestamp_ms":1783516870000,"timestamp_seconds":1783516870,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e3b570"} 
[2026-07-08 18:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:53:37] 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-07-08 18:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-08 18:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580241664001,"66":2220,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580241664001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:53:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:53:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580241664001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":125859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453221,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:53:37] local.INFO: GPS data processed {"connection_id":125859,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:53:37] local.INFO: Acknowledgment sent {"connection_id":125859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:53:54] local.INFO: TCP Data received {"connection_id":125752,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:53:54] local.INFO: Processing buffer {"connection_id":125752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:53:54] local.INFO: IMEI packet received {"connection_id":125752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":125752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:53:55] local.INFO: TCP Data received {"connection_id":125752,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:53:55] local.INFO: Processing buffer {"connection_id":125752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:53:55] local.INFO: IMEI packet received {"connection_id":125752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":125752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:54:00] local.INFO: TCP Data received {"connection_id":126631,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:54:00] local.INFO: Processing buffer {"connection_id":126631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:54:00] local.INFO: IMEI packet received {"connection_id":126631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":126631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:54:00] local.INFO: TCP Data received {"connection_id":125752,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:54:00] local.INFO: Processing buffer {"connection_id":125752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:54:00] local.INFO: IMEI packet received {"connection_id":125752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":125752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:54:04] local.INFO: TCP Data received {"connection_id":125752,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e576a8012d7f87c005bd8a380007000b2c..."} 
[2026-07-08 18:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e576a8012d7f87c005bd8a380007000b2c..."} 
[2026-07-08 18:54:04] local.INFO: Processing buffer {"connection_id":125752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e576a8012d7f87c005bd8a380007000b2c..."} 
[2026-07-08 18:54:04] local.INFO: Packet analysis {"connection_id":125752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e5"} 
[2026-07-08 18:54:04] local.INFO: Extracted packet for processing {"connection_id":125752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e5"} 
[2026-07-08 18:54:04] local.INFO: GPS Element Parsed {"raw_longitude":763332544,"raw_latitude":96307768,"longitude_deg":76.3332544,"latitude_deg":9.6307768,"altitude":7,"angle":11,"satellites":44,"speed":33,"hex_longitude":"2d7f87c0","hex_latitude":"05bd8a38","is_valid_coordinates":true} 
[2026-07-08 18:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580342784001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343070524336766976,"note":"Value kept but may cause issues"} 
[2026-07-08 18:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9187413633232420864,"note":"Value kept but may cause issues"} 
[2026-07-08 18:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783516985000,"timestamp_ms":1783516985000,"timestamp_seconds":1783516985,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e576a8"} 
[2026-07-08 18:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 18:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580342784001,"66":27876,"119":206,"85":12544,"24":33,"16":343070524336766976,"45":9187413633232420864},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-07-08 18:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580342784001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:54:04] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-08 18:54:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343070524336766976,"km_value":343070524336767.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9187413633232420864,"description":"Unknown IO ID 45"} 
[2026-07-08 18:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580342784001,"power":27876,"unknown_119":206,"unknown_85":12544,"ignition":33,"odometer":null,"unknown_45":9187413633232420864}} 
[2026-07-08 18:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":125752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:54:04] local.INFO: GPS data processed {"connection_id":125752,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:54:04] local.INFO: Acknowledgment sent {"connection_id":125752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:54:05] local.INFO: TCP Data received {"connection_id":126631,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:54:05] local.INFO: Processing buffer {"connection_id":126631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:54:05] local.INFO: IMEI packet received {"connection_id":126631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":126631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:54:05] local.INFO: TCP Data received {"connection_id":126631,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e45598012d183e80072190d8005000e428..."} 
[2026-07-08 18:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e45598012d183e80072190d8005000e428..."} 
[2026-07-08 18:54:05] local.INFO: Processing buffer {"connection_id":126631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e45598012d183e80072190d8005000e428..."} 
[2026-07-08 18:54:05] local.INFO: Packet analysis {"connection_id":126631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e4"} 
[2026-07-08 18:54:05] local.INFO: Extracted packet for processing {"connection_id":126631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e4"} 
[2026-07-08 18:54:05] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640280,"longitude_deg":75.6563584,"latitude_deg":11.964028,"altitude":80,"angle":228,"satellites":40,"speed":0,"hex_longitude":"2d183e80","hex_latitude":"072190d8","is_valid_coordinates":true} 
[2026-07-08 18:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580323840001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4929411275030528,"note":"Value kept but may cause issues"} 
[2026-07-08 18:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582598144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783516911000,"timestamp_ms":1783516911000,"timestamp_seconds":1783516911,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e45598"} 
[2026-07-08 18:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-08 18:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580323840001,"66":10493,"105":206,"83":41984,"24":0,"16":4929411275030528,"45":1746974473582598144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580323840001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:54:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:54:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4929411275030528,"km_value":4929411275030.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582598144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580323840001,"power":10493,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746974473582598144}} 
[2026-07-08 18:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":126631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:54:05] local.INFO: GPS data processed {"connection_id":126631,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:54:05] local.INFO: Acknowledgment sent {"connection_id":126631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:54:08] local.INFO: TCP Data received {"connection_id":125859,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e3b570012d7e380005d34cc0000200372b..."} 
[2026-07-08 18:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e3b570012d7e380005d34cc0000200372b..."} 
[2026-07-08 18:54:08] local.INFO: Processing buffer {"connection_id":125859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e3b570012d7e380005d34cc0000200372b..."} 
[2026-07-08 18:54:08] local.INFO: Packet analysis {"connection_id":125859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e3"} 
[2026-07-08 18:54:08] local.INFO: Extracted packet for processing {"connection_id":125859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e3"} 
[2026-07-08 18:54:08] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580241664001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783516870000,"timestamp_ms":1783516870000,"timestamp_seconds":1783516870,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e3b570"} 
[2026-07-08 18:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:54:08] 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-07-08 18: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-08 18:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580241664001,"66":2220,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580241664001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:54:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:54:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580241664001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":125859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453224,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:54:08] local.INFO: GPS data processed {"connection_id":125859,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:54:08] local.INFO: Acknowledgment sent {"connection_id":125859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:54:31] local.INFO: TCP Data received {"connection_id":125861,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125861,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:54:31] local.INFO: Processing buffer {"connection_id":125861,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:54:31] local.INFO: IMEI packet received {"connection_id":125861,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":125861,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:54:36] local.INFO: TCP Data received {"connection_id":125861,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125861,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:54:36] local.INFO: Processing buffer {"connection_id":125861,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:54:36] local.INFO: IMEI packet received {"connection_id":125861,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":125861,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:54:36] local.INFO: TCP Data received {"connection_id":126631,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e639f8012d1824c00721b768004c00112d..."} 
[2026-07-08 18:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e639f8012d1824c00721b768004c00112d..."} 
[2026-07-08 18:54:36] local.INFO: Processing buffer {"connection_id":126631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e639f8012d1824c00721b768004c00112d..."} 
[2026-07-08 18:54:36] local.INFO: Packet analysis {"connection_id":126631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e6"} 
[2026-07-08 18:54:36] local.INFO: Extracted packet for processing {"connection_id":126631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e6"} 
[2026-07-08 18:54:36] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650152,"longitude_deg":75.6556992,"latitude_deg":11.9650152,"altitude":76,"angle":17,"satellites":45,"speed":9,"hex_longitude":"2d1824c0","hex_latitude":"0721b768","is_valid_coordinates":true} 
[2026-07-08 18:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580358656001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4930154304372736,"note":"Value kept but may cause issues"} 
[2026-07-08 18:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841271296,"note":"Value kept but may cause issues"} 
[2026-07-08 18:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783517035000,"timestamp_ms":1783517035000,"timestamp_seconds":1783517035,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e639f8"} 
[2026-07-08 18:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-08 18:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580358656001,"66":13319,"105":206,"83":41984,"24":9,"16":4930154304372736,"45":1737826536841271296},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580358656001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:54:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:54:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4930154304372736,"km_value":4930154304372.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841271296,"description":"Unknown IO ID 45"} 
[2026-07-08 18:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580358656001,"power":13319,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1737826536841271296}} 
[2026-07-08 18:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":126631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:54:36] local.INFO: GPS data processed {"connection_id":126631,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:54:36] local.INFO: Acknowledgment sent {"connection_id":126631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:54:37] local.INFO: TCP Data received {"connection_id":125752,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e576a8012d7f87c005bd8a380007000b2c..."} 
[2026-07-08 18:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e576a8012d7f87c005bd8a380007000b2c..."} 
[2026-07-08 18:54:37] local.INFO: Processing buffer {"connection_id":125752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e576a8012d7f87c005bd8a380007000b2c..."} 
[2026-07-08 18:54:37] local.INFO: Packet analysis {"connection_id":125752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e5"} 
[2026-07-08 18:54:37] local.INFO: Extracted packet for processing {"connection_id":125752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e5"} 
[2026-07-08 18:54:37] local.INFO: GPS Element Parsed {"raw_longitude":763332544,"raw_latitude":96307768,"longitude_deg":76.3332544,"latitude_deg":9.6307768,"altitude":7,"angle":11,"satellites":44,"speed":33,"hex_longitude":"2d7f87c0","hex_latitude":"05bd8a38","is_valid_coordinates":true} 
[2026-07-08 18:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580348160001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343070524336766976,"note":"Value kept but may cause issues"} 
[2026-07-08 18:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189524695560108032,"note":"Value kept but may cause issues"} 
[2026-07-08 18:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783516985000,"timestamp_ms":1783516985000,"timestamp_seconds":1783516985,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e576a8"} 
[2026-07-08 18:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 18:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580348160001,"66":27876,"119":206,"85":12544,"24":33,"16":343070524336766976,"45":9189524695560108032},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-07-08 18:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580348160001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:54:37] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-08 18:54:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343070524336766976,"km_value":343070524336767.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189524695560108032,"description":"Unknown IO ID 45"} 
[2026-07-08 18:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580348160001,"power":27876,"unknown_119":206,"unknown_85":12544,"ignition":33,"odometer":null,"unknown_45":9189524695560108032}} 
[2026-07-08 18:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":125752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:54:37] local.INFO: GPS data processed {"connection_id":125752,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:54:37] local.INFO: Acknowledgment sent {"connection_id":125752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:54:37] local.INFO: TCP Data received {"connection_id":125861,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e3b570012d7e380005d34cc0000200372b..."} 
[2026-07-08 18:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e3b570012d7e380005d34cc0000200372b..."} 
[2026-07-08 18:54:37] local.INFO: Processing buffer {"connection_id":125861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e3b570012d7e380005d34cc0000200372b..."} 
[2026-07-08 18:54:37] local.INFO: Packet analysis {"connection_id":125861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e3"} 
[2026-07-08 18:54:37] local.INFO: Extracted packet for processing {"connection_id":125861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e3"} 
[2026-07-08 18:54:37] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580241664001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783516870000,"timestamp_ms":1783516870000,"timestamp_seconds":1783516870,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e3b570"} 
[2026-07-08 18:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:54:37] 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-07-08 18:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-08 18:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580241664001,"66":2220,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580241664001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:54:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:54:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580241664001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":125861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453227,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:54:37] local.INFO: GPS data processed {"connection_id":125861,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:54:37] local.INFO: Acknowledgment sent {"connection_id":125861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:54:55] local.INFO: TCP Data received {"connection_id":126633,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:54:55] local.INFO: Processing buffer {"connection_id":126633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:54:55] local.INFO: IMEI packet received {"connection_id":126633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":126633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:55:00] local.INFO: TCP Data received {"connection_id":126634,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:55:00] local.INFO: Processing buffer {"connection_id":126634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:55:00] local.INFO: IMEI packet received {"connection_id":126634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":126634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:55:01] local.INFO: TCP Data received {"connection_id":126633,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:55:01] local.INFO: Processing buffer {"connection_id":126633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:55:01] local.INFO: IMEI packet received {"connection_id":126633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":126633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:55:02] local.INFO: TCP Data received {"connection_id":126633,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:55:02] local.INFO: Processing buffer {"connection_id":126633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:55:02] local.INFO: IMEI packet received {"connection_id":126633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":126633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:55:04] local.INFO: TCP Data received {"connection_id":126634,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:55:04] local.INFO: Processing buffer {"connection_id":126634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:55:04] local.INFO: IMEI packet received {"connection_id":126634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":126634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:55:07] local.INFO: TCP Data received {"connection_id":125861,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e3b570012d7e380005d34cc0000200372b..."} 
[2026-07-08 18:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e3b570012d7e380005d34cc0000200372b..."} 
[2026-07-08 18:55:07] local.INFO: Processing buffer {"connection_id":125861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e3b570012d7e380005d34cc0000200372b..."} 
[2026-07-08 18:55:07] local.INFO: Packet analysis {"connection_id":125861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e3"} 
[2026-07-08 18:55:07] local.INFO: Extracted packet for processing {"connection_id":125861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e3"} 
[2026-07-08 18:55:07] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580241664001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783516870000,"timestamp_ms":1783516870000,"timestamp_seconds":1783516870,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e3b570"} 
[2026-07-08 18:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:55:07] 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-07-08 18:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-08 18:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580241664001,"66":2220,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580241664001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:55:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:55:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580241664001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":125861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453228,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:55:07] local.INFO: GPS data processed {"connection_id":125861,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:55:07] local.INFO: Acknowledgment sent {"connection_id":125861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:55:14] local.INFO: TCP Data received {"connection_id":126633,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e5a1a0012d7f8fc005bdaed00007000c2c..."} 
[2026-07-08 18:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e5a1a0012d7f8fc005bdaed00007000c2c..."} 
[2026-07-08 18:55:14] local.INFO: Processing buffer {"connection_id":126633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e5a1a0012d7f8fc005bdaed00007000c2c..."} 
[2026-07-08 18:55:14] local.INFO: Packet analysis {"connection_id":126633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e5"} 
[2026-07-08 18:55:14] local.INFO: Extracted packet for processing {"connection_id":126633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e5"} 
[2026-07-08 18:55:14] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":96317136,"longitude_deg":76.3334592,"latitude_deg":9.6317136,"altitude":7,"angle":12,"satellites":44,"speed":34,"hex_longitude":"2d7f8fc0","hex_latitude":"05bdaed0","is_valid_coordinates":true} 
[2026-07-08 18:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580348160001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343070988193234944,"note":"Value kept but may cause issues"} 
[2026-07-08 18:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189524695560108032,"note":"Value kept but may cause issues"} 
[2026-07-08 18:55:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783516996000,"timestamp_ms":1783516996000,"timestamp_seconds":1783516996,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e5a1a0"} 
[2026-07-08 18:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:55:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 18:55:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:55:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":126633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":126633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":126633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:55:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580348160001,"66":27789,"119":206,"85":12544,"24":34,"16":343070988193234944,"45":9189524695560108032},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-07-08 18:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580348160001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:55:14] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-08 18:55:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-08 18:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343070988193234944,"km_value":343070988193234.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189524695560108032,"description":"Unknown IO ID 45"} 
[2026-07-08 18:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580348160001,"power":27789,"unknown_119":206,"unknown_85":12544,"ignition":34,"odometer":null,"unknown_45":9189524695560108032}} 
[2026-07-08 18:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":126633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:55:14] local.INFO: GPS data processed {"connection_id":126633,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:55:14] local.INFO: Acknowledgment sent {"connection_id":126633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:55:15] local.INFO: TCP Data received {"connection_id":126633,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e5cc98012d7f96c005bdd2e8000700092c..."} 
[2026-07-08 18:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e5cc98012d7f96c005bdd2e8000700092c..."} 
[2026-07-08 18:55:15] local.INFO: Processing buffer {"connection_id":126633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e5cc98012d7f96c005bdd2e8000700092c..."} 
[2026-07-08 18:55:15] local.INFO: Packet analysis {"connection_id":126633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e5"} 
[2026-07-08 18:55:15] local.INFO: Extracted packet for processing {"connection_id":126633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e5"} 
[2026-07-08 18:55:15] local.INFO: GPS Element Parsed {"raw_longitude":763336384,"raw_latitude":96326376,"longitude_deg":76.3336384,"latitude_deg":9.6326376,"altitude":7,"angle":9,"satellites":44,"speed":36,"hex_longitude":"2d7f96c0","hex_latitude":"05bdd2e8","is_valid_coordinates":true} 
[2026-07-08 18:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580350976001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343071447754735616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495376191488,"note":"Value kept but may cause issues"} 
[2026-07-08 18:55:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783517007000,"timestamp_ms":1783517007000,"timestamp_seconds":1783517007,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e5cc98"} 
[2026-07-08 18:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-08 18:55:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":126633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":126633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":126633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580350976001,"66":27800,"227":206,"85":12288,"24":36,"16":343071447754735616,"45":9191776495376191488},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-07-08 18:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580350976001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:55:15] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-08 18:55:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 18:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343071447754735616,"km_value":343071447754735.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495376191488,"description":"Unknown IO ID 45"} 
[2026-07-08 18:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580350976001,"power":27800,"unknown_227":206,"unknown_85":12288,"ignition":36,"odometer":null,"unknown_45":9191776495376191488}} 
[2026-07-08 18:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":126633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:55:15] local.INFO: GPS data processed {"connection_id":126633,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:55:15] local.INFO: Acknowledgment sent {"connection_id":126633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:55:36] local.INFO: TCP Data received {"connection_id":127864,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127864,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:55:36] local.INFO: Processing buffer {"connection_id":127864,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:55:36] local.INFO: IMEI packet received {"connection_id":127864,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":127864,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:55:41] local.INFO: TCP Data received {"connection_id":127864,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127864,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:55:41] local.INFO: Processing buffer {"connection_id":127864,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:55:41] local.INFO: IMEI packet received {"connection_id":127864,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":127864,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:55:41] local.INFO: TCP Data received {"connection_id":127864,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e3b570012d7e380005d34cc0000200372b..."} 
[2026-07-08 18:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e3b570012d7e380005d34cc0000200372b..."} 
[2026-07-08 18:55:41] local.INFO: Processing buffer {"connection_id":127864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e3b570012d7e380005d34cc0000200372b..."} 
[2026-07-08 18:55:41] local.INFO: Packet analysis {"connection_id":127864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e3"} 
[2026-07-08 18:55:41] local.INFO: Extracted packet for processing {"connection_id":127864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e3"} 
[2026-07-08 18:55:41] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580241664001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783516870000,"timestamp_ms":1783516870000,"timestamp_seconds":1783516870,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e3b570"} 
[2026-07-08 18:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:55:41] 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-07-08 18: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":161,"data_length":795,"current_offset":136} 
[2026-07-08 18:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":127864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":127864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":127864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580241664001,"66":2220,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580241664001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:55:41] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:55:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580241664001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":127864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453231,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:55:42] local.INFO: GPS data processed {"connection_id":127864,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:55:42] local.INFO: Acknowledgment sent {"connection_id":127864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:55:46] local.INFO: TCP Data received {"connection_id":127864,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e3b570012d7e380005d34cc0000200372b..."} 
[2026-07-08 18:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e3b570012d7e380005d34cc0000200372b..."} 
[2026-07-08 18:55:46] local.INFO: Processing buffer {"connection_id":127864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e3b570012d7e380005d34cc0000200372b..."} 
[2026-07-08 18:55:46] local.INFO: Packet analysis {"connection_id":127864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e3"} 
[2026-07-08 18:55:46] local.INFO: Extracted packet for processing {"connection_id":127864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e3"} 
[2026-07-08 18:55:46] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580241664001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783516870000,"timestamp_ms":1783516870000,"timestamp_seconds":1783516870,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e3b570"} 
[2026-07-08 18:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:55: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-07-08 18:55: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":161,"data_length":795,"current_offset":136} 
[2026-07-08 18:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:55:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":127864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":127864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":127864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580241664001,"66":2220,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580241664001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:55:46] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:55:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580241664001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":127864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453232,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:55:46] local.INFO: GPS data processed {"connection_id":127864,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:55:46] local.INFO: Acknowledgment sent {"connection_id":127864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:55:50] local.INFO: TCP Data received {"connection_id":126634,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e63de0012d1824c00721b830004c01582d..."} 
[2026-07-08 18:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e63de0012d1824c00721b830004c01582d..."} 
[2026-07-08 18:55:50] local.INFO: Processing buffer {"connection_id":126634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e63de0012d1824c00721b830004c01582d..."} 
[2026-07-08 18:55:50] local.INFO: Packet analysis {"connection_id":126634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e6"} 
[2026-07-08 18:55:50] local.INFO: Extracted packet for processing {"connection_id":126634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e6"} 
[2026-07-08 18:55:50] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650352,"longitude_deg":75.6556992,"latitude_deg":11.9650352,"altitude":76,"angle":344,"satellites":45,"speed":6,"hex_longitude":"2d1824c0","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-07-08 18:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580360960001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4930167189274624,"note":"Value kept but may cause issues"} 
[2026-07-08 18:55:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934825984,"note":"Value kept but may cause issues"} 
[2026-07-08 18:55: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-07-08 18:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783517036000,"timestamp_ms":1783517036000,"timestamp_seconds":1783517036,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e63de0"} 
[2026-07-08 18:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:55:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-08 18:55:50] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-08 18:55:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 18:55:50] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3271557120,"note":"Value kept but may cause issues"} 
[2026-07-08 18:55:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788854,"note":"Value kept but may cause issues"} 
[2026-07-08 18:55:50] local.WARNING: Large IO value detected {"io_id":65,"raw_value":3857694721,"note":"Value kept but may cause issues"} 
[2026-07-08 18:55:50] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-7469219651261945088,"note":"Value kept but may cause issues"} 
[2026-07-08 18:55:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-08 18:55:50] local.WARNING: Large IO value detected {"io_id":17,"raw_value":2209218560,"note":"Value kept but may cause issues"} 
[2026-07-08 18:55:50] local.WARNING: Large IO value detected {"io_id":180,"raw_value":57819369443316644,"note":"Value kept but may cause issues"} 
[2026-07-08 18:55:50] local.WARNING: Large IO value detected {"io_id":229,"raw_value":5172385465225953287,"note":"Value kept but may cause issues"} 
[2026-07-08 18:55:50] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,131,159,22,45,171,74,44,10,66,15,169,11,192,1,240,62,227,65,33,4,113,205,80,39,239,55,2,17,7,77,9,180,229],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-08 18:55:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476396031854313472,"timestamp_seconds":5476396031854313.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 18:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":126634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":126634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":126634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:55:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580360960001,"66":13319,"105":206,"83":41984,"24":6,"16":4930167189274624,"45":1739726492934825984},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580360960001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:55:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:55:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4930167189274624,"km_value":4930167189274.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:55:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934825984,"description":"Unknown IO ID 45"} 
[2026-07-08 18:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580360960001,"power":13319,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739726492934825984}} 
[2026-07-08 18:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":126634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:55:50] local.INFO: GPS data processed {"connection_id":126634,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:55:50] local.INFO: Acknowledgment sent {"connection_id":126634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:55:50] local.INFO: TCP Data received {"connection_id":126634,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e641c8012d1824800721b898004c01332c..."} 
[2026-07-08 18:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e641c8012d1824800721b898004c01332c..."} 
[2026-07-08 18:55:50] local.INFO: Processing buffer {"connection_id":126634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e641c8012d1824800721b898004c01332c..."} 
[2026-07-08 18:55:50] local.INFO: Packet analysis {"connection_id":126634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e6"} 
[2026-07-08 18:55:50] local.INFO: Extracted packet for processing {"connection_id":126634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e6"} 
[2026-07-08 18:55:50] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650456,"longitude_deg":75.6556928,"latitude_deg":11.9650456,"altitude":76,"angle":307,"satellites":44,"speed":5,"hex_longitude":"2d182480","hex_latitude":"0721b898","is_valid_coordinates":true} 
[2026-07-08 18:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580361216001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4930171484241920,"note":"Value kept but may cause issues"} 
[2026-07-08 18:55:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934877184,"note":"Value kept but may cause issues"} 
[2026-07-08 18:55: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-07-08 18:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783517037000,"timestamp_ms":1783517037000,"timestamp_seconds":1783517037,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e641c8"} 
[2026-07-08 18:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:55:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-08 18:55:50] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-08 18:55:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 18:55:50] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3305111552,"note":"Value kept but may cause issues"} 
[2026-07-08 18:55:50] local.WARNING: Large IO value detected {"io_id":22,"raw_value":57819369443316644,"note":"Value kept but may cause issues"} 
[2026-07-08 18:55:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788855,"note":"Value kept but may cause issues"} 
[2026-07-08 18:55:50] local.WARNING: Large IO value detected {"io_id":65,"raw_value":3859486721,"note":"Value kept but may cause issues"} 
[2026-07-08 18:55:50] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-7041377686660437504,"note":"Value kept but may cause issues"} 
[2026-07-08 18:55:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-08 18:55:50] local.WARNING: Large IO value detected {"io_id":17,"raw_value":2210136064,"note":"Value kept but may cause issues"} 
[2026-07-08 18:55:50] local.WARNING: Large IO value detected {"io_id":229,"raw_value":-9052233957824233465,"note":"Value kept but may cause issues"} 
[2026-07-08 18:55:50] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,131,159,57,45,192,183,76,10,66,22,171,74,44,15,1,240,62,227,65,33,4,113,205,8,239,30,232,43,52,2,17,7,229],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-08 18:55:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476755572156399616,"timestamp_seconds":5476755572156400.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 18:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":126634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":126634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":126634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:55:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580361216001,"66":13276,"105":206,"83":41984,"24":5,"16":4930171484241920,"45":1739726492934877184},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580361216001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:55:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:55:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4930171484241920,"km_value":4930171484241.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:55:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934877184,"description":"Unknown IO ID 45"} 
[2026-07-08 18:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580361216001,"power":13276,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739726492934877184}} 
[2026-07-08 18:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":126634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:55:50] local.INFO: GPS data processed {"connection_id":126634,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:55:50] local.ERROR: TCP Connection error {"connection_id":126634,"code":2,"message":"client closed"} 
[2026-07-08 18:55:50] local.INFO: Acknowledgment sent {"connection_id":126634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:55:58] local.INFO: TCP Data received {"connection_id":125862,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:55:58] local.INFO: Processing buffer {"connection_id":125862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:55:58] local.INFO: IMEI packet received {"connection_id":125862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":125862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:55:59] local.INFO: TCP Data received {"connection_id":125753,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:55:59] local.INFO: Processing buffer {"connection_id":125753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:55:59] local.INFO: IMEI packet received {"connection_id":125753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":125753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:56:00] local.INFO: TCP Data received {"connection_id":125862,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:56:00] local.INFO: Processing buffer {"connection_id":125862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:56:00] local.INFO: IMEI packet received {"connection_id":125862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":125862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:56:04] local.INFO: TCP Data received {"connection_id":125753,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:56:04] local.INFO: Processing buffer {"connection_id":125753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:56:04] local.INFO: IMEI packet received {"connection_id":125753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":125753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:56:05] local.INFO: TCP Data received {"connection_id":125753,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e64998012d1823400721b848004d00dd2c..."} 
[2026-07-08 18:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e64998012d1823400721b848004d00dd2c..."} 
[2026-07-08 18:56:05] local.INFO: Processing buffer {"connection_id":125753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e64998012d1823400721b848004d00dd2c..."} 
[2026-07-08 18:56:05] local.INFO: Packet analysis {"connection_id":125753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e6"} 
[2026-07-08 18:56:05] local.INFO: Extracted packet for processing {"connection_id":125753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e6"} 
[2026-07-08 18:56:05] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650376,"longitude_deg":75.6556608,"latitude_deg":11.9650376,"altitude":77,"angle":221,"satellites":44,"speed":6,"hex_longitude":"2d182340","hex_latitude":"0721b848","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580361472001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4930188664111104,"note":"Value kept but may cause issues"} 
[2026-07-08 18:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190726144,"note":"Value kept but may cause issues"} 
[2026-07-08 18:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783517039000,"timestamp_ms":1783517039000,"timestamp_seconds":1783517039,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e64998"} 
[2026-07-08 18:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-08 18:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580361472001,"66":13276,"105":206,"83":41984,"24":6,"16":4930188664111104,"45":1739656124190726144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580361472001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:56:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:56:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4930188664111104,"km_value":4930188664111.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190726144,"description":"Unknown IO ID 45"} 
[2026-07-08 18:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580361472001,"power":13276,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739656124190726144}} 
[2026-07-08 18:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":125753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:56:05] local.INFO: GPS data processed {"connection_id":125753,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:56:05] local.INFO: Acknowledgment sent {"connection_id":125753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:56:05] local.INFO: TCP Data received {"connection_id":125862,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:56:05] local.INFO: Processing buffer {"connection_id":125862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:56:05] local.INFO: IMEI packet received {"connection_id":125862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":125862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:56:06] local.INFO: TCP Data received {"connection_id":125862,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e5efc0012d7f9c8005bdf5b0000700092c..."} 
[2026-07-08 18:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e5efc0012d7f9c8005bdf5b0000700092c..."} 
[2026-07-08 18:56:06] local.INFO: Processing buffer {"connection_id":125862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e5efc0012d7f9c8005bdf5b0000700092c..."} 
[2026-07-08 18:56:06] local.INFO: Packet analysis {"connection_id":125862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e5"} 
[2026-07-08 18:56:06] local.INFO: Extracted packet for processing {"connection_id":125862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e5"} 
[2026-07-08 18:56:06] local.INFO: GPS Element Parsed {"raw_longitude":763337856,"raw_latitude":96335280,"longitude_deg":76.3337856,"latitude_deg":9.633528,"altitude":7,"angle":9,"satellites":44,"speed":41,"hex_longitude":"2d7f9c80","hex_latitude":"05bdf5b0","is_valid_coordinates":true} 
[2026-07-08 18:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580353792001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343071881546432512,"note":"Value kept but may cause issues"} 
[2026-07-08 18:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193746820215531520,"note":"Value kept but may cause issues"} 
[2026-07-08 18:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783517016000,"timestamp_ms":1783517016000,"timestamp_seconds":1783517016,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e5efc0"} 
[2026-07-08 18:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 18:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580353792001,"66":27919,"227":206,"85":12288,"24":41,"16":343071881546432512,"45":9193746820215531520},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-07-08 18:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580353792001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:56:06] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-08 18:56:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 18:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343071881546432512,"km_value":343071881546432.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193746820215531520,"description":"Unknown IO ID 45"} 
[2026-07-08 18:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580353792001,"power":27919,"unknown_227":206,"unknown_85":12288,"ignition":41,"odometer":null,"unknown_45":9193746820215531520}} 
[2026-07-08 18:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":125862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:56:06] local.INFO: GPS data processed {"connection_id":125862,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:56:06] local.INFO: Acknowledgment sent {"connection_id":125862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:56:07] local.INFO: TCP Data received {"connection_id":125862,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e612e8012d7fa28005be1ab8000700092c..."} 
[2026-07-08 18:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e612e8012d7fa28005be1ab8000700092c..."} 
[2026-07-08 18:56:07] local.INFO: Processing buffer {"connection_id":125862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e612e8012d7fa28005be1ab8000700092c..."} 
[2026-07-08 18:56:07] local.INFO: Packet analysis {"connection_id":125862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e6"} 
[2026-07-08 18:56:07] local.INFO: Extracted packet for processing {"connection_id":125862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e6"} 
[2026-07-08 18:56:07] local.INFO: GPS Element Parsed {"raw_longitude":763339392,"raw_latitude":96344760,"longitude_deg":76.3339392,"latitude_deg":9.634476,"altitude":7,"angle":9,"satellites":44,"speed":42,"hex_longitude":"2d7fa280","hex_latitude":"05be1ab8","is_valid_coordinates":true} 
[2026-07-08 18:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580356096001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343072349697867776,"note":"Value kept but may cause issues"} 
[2026-07-08 18:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195365301333897216,"note":"Value kept but may cause issues"} 
[2026-07-08 18:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783517025000,"timestamp_ms":1783517025000,"timestamp_seconds":1783517025,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e612e8"} 
[2026-07-08 18:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 18:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580356096001,"66":27908,"227":206,"85":12288,"24":42,"16":343072349697867776,"45":9195365301333897216},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-07-08 18:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580356096001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:56:07] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-08 18:56:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 18:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343072349697867776,"km_value":343072349697867.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195365301333897216,"description":"Unknown IO ID 45"} 
[2026-07-08 18:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580356096001,"power":27908,"unknown_227":206,"unknown_85":12288,"ignition":42,"odometer":null,"unknown_45":9195365301333897216}} 
[2026-07-08 18:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":125862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:56:08] local.INFO: GPS data processed {"connection_id":125862,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:56:08] local.INFO: Acknowledgment sent {"connection_id":125862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:56:31] local.INFO: TCP Data received {"connection_id":127865,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127865,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:56:31] local.INFO: Processing buffer {"connection_id":127865,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:56:31] local.INFO: IMEI packet received {"connection_id":127865,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-08 18:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":127865,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:56:36] local.INFO: TCP Data received {"connection_id":127865,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127865,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:56:36] local.INFO: Processing buffer {"connection_id":127865,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-08 18:56:36] local.INFO: IMEI packet received {"connection_id":127865,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-08 18:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":127865,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:56:36] local.INFO: TCP Data received {"connection_id":125753,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e64d80012d1823000721b7c0004d00bb2c..."} 
[2026-07-08 18:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e64d80012d1823000721b7c0004d00bb2c..."} 
[2026-07-08 18:56:36] local.INFO: Processing buffer {"connection_id":125753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e64d80012d1823000721b7c0004d00bb2c..."} 
[2026-07-08 18:56:36] local.INFO: Packet analysis {"connection_id":125753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e6"} 
[2026-07-08 18:56:36] local.INFO: Extracted packet for processing {"connection_id":125753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e6"} 
[2026-07-08 18:56:36] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650240,"longitude_deg":75.6556544,"latitude_deg":11.965024,"altitude":77,"angle":187,"satellites":44,"speed":6,"hex_longitude":"2d182300","hex_latitude":"0721b7c0","is_valid_coordinates":true} 
[2026-07-08 18:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580361984001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4930192959078400,"note":"Value kept but may cause issues"} 
[2026-07-08 18:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469817344,"note":"Value kept but may cause issues"} 
[2026-07-08 18:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783517040000,"timestamp_ms":1783517040000,"timestamp_seconds":1783517040,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e64d80"} 
[2026-07-08 18:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-08 18:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580361984001,"66":13276,"105":206,"83":41984,"24":6,"16":4930192959078400,"45":1739304280469817344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580361984001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:56:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:56:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4930192959078400,"km_value":4930192959078.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469817344,"description":"Unknown IO ID 45"} 
[2026-07-08 18:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580361984001,"power":13276,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739304280469817344}} 
[2026-07-08 18:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":125753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:56:36] local.INFO: GPS data processed {"connection_id":125753,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:56:36] local.INFO: Acknowledgment sent {"connection_id":125753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:56:37] local.INFO: TCP Data received {"connection_id":127865,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e84d38012d7e380005d34cc0000200372c..."} 
[2026-07-08 18:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e84d38012d7e380005d34cc0000200372c..."} 
[2026-07-08 18:56:37] local.INFO: Processing buffer {"connection_id":127865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e84d38012d7e380005d34cc0000200372c..."} 
[2026-07-08 18:56:37] local.INFO: Packet analysis {"connection_id":127865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e8"} 
[2026-07-08 18:56:37] local.INFO: Extracted packet for processing {"connection_id":127865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e8"} 
[2026-07-08 18:56:37] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580318720001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783517171000,"timestamp_ms":1783517171000,"timestamp_seconds":1783517171,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e84d38"} 
[2026-07-08 18:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:56:37] 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-07-08 18:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-08 18:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580318720001,"66":2209,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580318720001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:56:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:56:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580318720001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":127865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453239,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:56:37] local.INFO: GPS data processed {"connection_id":127865,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:56:37] local.INFO: Acknowledgment sent {"connection_id":127865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:56:39] local.INFO: TCP Data received {"connection_id":125862,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e7e3c0012d7fe5c005bf9a10000700092a..."} 
[2026-07-08 18:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e7e3c0012d7fe5c005bf9a10000700092a..."} 
[2026-07-08 18:56:39] local.INFO: Processing buffer {"connection_id":125862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e7e3c0012d7fe5c005bf9a10000700092a..."} 
[2026-07-08 18:56:39] local.INFO: Packet analysis {"connection_id":125862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e7"} 
[2026-07-08 18:56:39] local.INFO: Extracted packet for processing {"connection_id":125862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e7"} 
[2026-07-08 18:56:39] local.INFO: GPS Element Parsed {"raw_longitude":763356608,"raw_latitude":96442896,"longitude_deg":76.3356608,"latitude_deg":9.6442896,"altitude":7,"angle":9,"satellites":42,"speed":54,"hex_longitude":"2d7fe5c0","hex_latitude":"05bf9a10","is_valid_coordinates":true} 
[2026-07-08 18:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580387072001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343077185831043072,"note":"Value kept but may cause issues"} 
[2026-07-08 18:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9214294493542871040,"note":"Value kept but may cause issues"} 
[2026-07-08 18:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783517144000,"timestamp_ms":1783517144000,"timestamp_seconds":1783517144,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e7e3c0"} 
[2026-07-08 18:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 18:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580387072001,"66":27658,"227":206,"85":12288,"24":54,"16":343077185831043072,"45":9214294493542871040},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-07-08 18:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580387072001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:56:39] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-08 18:56:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 18:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343077185831043072,"km_value":343077185831043.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9214294493542871040,"description":"Unknown IO ID 45"} 
[2026-07-08 18:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580387072001,"power":27658,"unknown_227":206,"unknown_85":12288,"ignition":54,"odometer":null,"unknown_45":9214294493542871040}} 
[2026-07-08 18:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":125862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:56:39] local.INFO: GPS data processed {"connection_id":125862,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:56:39] local.INFO: Acknowledgment sent {"connection_id":125862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:56:55] local.INFO: TCP Data received {"connection_id":126636,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:56:55] local.INFO: Processing buffer {"connection_id":126636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:56:55] local.INFO: IMEI packet received {"connection_id":126636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":126636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:56:57] local.INFO: TCP Data received {"connection_id":126636,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:56:57] local.INFO: Processing buffer {"connection_id":126636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:56:57] local.INFO: IMEI packet received {"connection_id":126636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":126636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:56:58] local.INFO: TCP Data received {"connection_id":126636,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e7ff18012d7febc005bfbeb80008000a2a..."} 
[2026-07-08 18:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e7ff18012d7febc005bfbeb80008000a2a..."} 
[2026-07-08 18:56:58] local.INFO: Processing buffer {"connection_id":126636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e7ff18012d7febc005bfbeb80008000a2a..."} 
[2026-07-08 18:56:58] local.INFO: Packet analysis {"connection_id":126636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e7"} 
[2026-07-08 18:56:58] local.INFO: Extracted packet for processing {"connection_id":126636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e7"} 
[2026-07-08 18:56:58] local.INFO: GPS Element Parsed {"raw_longitude":763358144,"raw_latitude":96452280,"longitude_deg":76.3358144,"latitude_deg":9.645228,"altitude":8,"angle":10,"satellites":42,"speed":54,"hex_longitude":"2d7febc0","hex_latitude":"05bfbeb8","is_valid_coordinates":true} 
[2026-07-08 18:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580388864001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343077645392543744,"note":"Value kept but may cause issues"} 
[2026-07-08 18:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9215983343405502464,"note":"Value kept but may cause issues"} 
[2026-07-08 18:56:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783517151000,"timestamp_ms":1783517151000,"timestamp_seconds":1783517151,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e7ff18"} 
[2026-07-08 18:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:56:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 18:56:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:56:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":126636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":126636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":126636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580388864001,"66":27745,"227":206,"85":12288,"24":54,"16":343077645392543744,"45":9215983343405502464},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-07-08 18:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580388864001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:56:58] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-08 18:56:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 18:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343077645392543744,"km_value":343077645392543.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9215983343405502464,"description":"Unknown IO ID 45"} 
[2026-07-08 18:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580388864001,"power":27745,"unknown_227":206,"unknown_85":12288,"ignition":54,"odometer":null,"unknown_45":9215983343405502464}} 
[2026-07-08 18:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":126636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:56:58] local.INFO: GPS data processed {"connection_id":126636,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:56:58] local.INFO: Acknowledgment sent {"connection_id":126636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:56:59] local.INFO: TCP Data received {"connection_id":125755,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:56:59] local.INFO: Processing buffer {"connection_id":125755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:56:59] local.INFO: IMEI packet received {"connection_id":125755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":125755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:57:04] local.INFO: TCP Data received {"connection_id":125755,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:57:04] local.INFO: Processing buffer {"connection_id":125755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:57:04] local.INFO: IMEI packet received {"connection_id":125755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":125755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:57:05] local.INFO: TCP Data received {"connection_id":125755,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e65168012d1823000721b728004d00a32c..."} 
[2026-07-08 18:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e65168012d1823000721b728004d00a32c..."} 
[2026-07-08 18:57:05] local.INFO: Processing buffer {"connection_id":125755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e65168012d1823000721b728004d00a32c..."} 
[2026-07-08 18:57:05] local.INFO: Packet analysis {"connection_id":125755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e6"} 
[2026-07-08 18:57:05] local.INFO: Extracted packet for processing {"connection_id":125755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e6"} 
[2026-07-08 18:57:05] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650088,"longitude_deg":75.6556544,"latitude_deg":11.9650088,"altitude":77,"angle":163,"satellites":44,"speed":6,"hex_longitude":"2d182300","hex_latitude":"0721b728","is_valid_coordinates":true} 
[2026-07-08 18:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580362240001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4930201549012992,"note":"Value kept but may cause issues"} 
[2026-07-08 18:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725604864,"note":"Value kept but may cause issues"} 
[2026-07-08 18:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783517041000,"timestamp_ms":1783517041000,"timestamp_seconds":1783517041,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e65168"} 
[2026-07-08 18:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-08 18:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580362240001,"66":13254,"105":206,"83":41984,"24":6,"16":4930201549012992,"45":1739233911725604864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580362240001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:57:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:57:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4930201549012992,"km_value":4930201549012.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725604864,"description":"Unknown IO ID 45"} 
[2026-07-08 18:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580362240001,"power":13254,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739233911725604864}} 
[2026-07-08 18:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":125755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:57:05] local.INFO: GPS data processed {"connection_id":125755,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:57:05] local.INFO: Acknowledgment sent {"connection_id":125755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:57:08] local.INFO: TCP Data received {"connection_id":127865,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e84d38012d7e380005d34cc0000200372c..."} 
[2026-07-08 18:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e84d38012d7e380005d34cc0000200372c..."} 
[2026-07-08 18:57:08] local.INFO: Processing buffer {"connection_id":127865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e84d38012d7e380005d34cc0000200372c..."} 
[2026-07-08 18:57:08] local.INFO: Packet analysis {"connection_id":127865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e8"} 
[2026-07-08 18:57:08] local.INFO: Extracted packet for processing {"connection_id":127865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e8"} 
[2026-07-08 18:57:08] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":2,"angle":55,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-07-08 18:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580318720001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":103897049891602432,"note":"Value kept but may cause issues"} 
[2026-07-08 18:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494575616,"note":"Value kept but may cause issues"} 
[2026-07-08 18:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783517171000,"timestamp_ms":1783517171000,"timestamp_seconds":1783517171,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e84d38"} 
[2026-07-08 18:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 18:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-08 18:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":127865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":127865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":127865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-08 18:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-08 18:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-08 18:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580318720001,"66":2209,"109":206,"85":15104,"24":0,"16":103897049891602432,"45":9095019472494575616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-08 18:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-08 18:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-08 18:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580318720001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:57:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-08 18:57:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 18:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":103897049891602432,"km_value":103897049891602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494575616,"description":"Unknown IO ID 45"} 
[2026-07-08 18:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580318720001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494575616}} 
[2026-07-08 18:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":127865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453243,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:57:08] local.INFO: GPS data processed {"connection_id":127865,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:57:08] local.INFO: Acknowledgment sent {"connection_id":127865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:57:29] local.INFO: TCP Data received {"connection_id":126636,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e81a70012d7ff20005bfe448000700082b..."} 
[2026-07-08 18:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e81a70012d7ff20005bfe448000700082b..."} 
[2026-07-08 18:57:29] local.INFO: Processing buffer {"connection_id":126636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e81a70012d7ff20005bfe448000700082b..."} 
[2026-07-08 18:57:29] local.INFO: Packet analysis {"connection_id":126636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e8"} 
[2026-07-08 18:57:29] local.INFO: Extracted packet for processing {"connection_id":126636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e8"} 
[2026-07-08 18:57:29] local.INFO: GPS Element Parsed {"raw_longitude":763359744,"raw_latitude":96461896,"longitude_deg":76.3359744,"latitude_deg":9.6461896,"altitude":7,"angle":8,"satellites":43,"speed":56,"hex_longitude":"2d7ff200","hex_latitude":"05bfe448","is_valid_coordinates":true} 
[2026-07-08 18:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580390656001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343078117838946304,"note":"Value kept but may cause issues"} 
[2026-07-08 18:57:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217672193268168704,"note":"Value kept but may cause issues"} 
[2026-07-08 18:57:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783517158000,"timestamp_ms":1783517158000,"timestamp_seconds":1783517158,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e81a70"} 
[2026-07-08 18:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:57:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 18:57:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:57:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":126636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":126636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":126636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:57:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580390656001,"66":27539,"235":206,"85":12288,"24":56,"16":343078117838946304,"45":9217672193268168704},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-07-08 18:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580390656001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:57:29] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-08 18:57:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 18:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343078117838946304,"km_value":343078117838946.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:57:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217672193268168704,"description":"Unknown IO ID 45"} 
[2026-07-08 18:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580390656001,"power":27539,"unknown_235":206,"unknown_85":12288,"ignition":56,"odometer":null,"unknown_45":9217672193268168704}} 
[2026-07-08 18:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":126636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:57:29] local.INFO: GPS data processed {"connection_id":126636,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:57:29] local.INFO: Acknowledgment sent {"connection_id":126636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:57:36] local.INFO: TCP Data received {"connection_id":125755,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e65938012d1823000721b630004d00b32c..."} 
[2026-07-08 18:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e65938012d1823000721b630004d00b32c..."} 
[2026-07-08 18:57:36] local.INFO: Processing buffer {"connection_id":125755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e65938012d1823000721b630004d00b32c..."} 
[2026-07-08 18:57:36] local.INFO: Packet analysis {"connection_id":125755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e6"} 
[2026-07-08 18:57:36] local.INFO: Extracted packet for processing {"connection_id":125755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e6"} 
[2026-07-08 18:57:36] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649840,"longitude_deg":75.6556544,"latitude_deg":11.964984,"altitude":77,"angle":179,"satellites":44,"speed":5,"hex_longitude":"2d182300","hex_latitude":"0721b630","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580362496001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4930214433914880,"note":"Value kept but may cause issues"} 
[2026-07-08 18:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725565952,"note":"Value kept but may cause issues"} 
[2026-07-08 18:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783517043000,"timestamp_ms":1783517043000,"timestamp_seconds":1783517043,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e65938"} 
[2026-07-08 18:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-08 18:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580362496001,"66":13222,"105":206,"83":41984,"24":5,"16":4930214433914880,"45":1739233911725565952},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580362496001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:57:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:57:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4930214433914880,"km_value":4930214433914.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725565952,"description":"Unknown IO ID 45"} 
[2026-07-08 18:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580362496001,"power":13222,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739233911725565952}} 
[2026-07-08 18:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":125755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:57:36] local.INFO: GPS data processed {"connection_id":125755,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:57:36] local.INFO: Acknowledgment sent {"connection_id":125755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:57:55] local.INFO: TCP Data received {"connection_id":127866,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:57:55] local.INFO: Processing buffer {"connection_id":127866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:57:55] local.INFO: IMEI packet received {"connection_id":127866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":127866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:58:00] local.INFO: TCP Data received {"connection_id":127866,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:58:00] local.INFO: Processing buffer {"connection_id":127866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:58:00] local.INFO: IMEI packet received {"connection_id":127866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":127866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:58:01] local.INFO: TCP Data received {"connection_id":127866,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e835c8012d7ff88005c00a180007000a2c..."} 
[2026-07-08 18:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e835c8012d7ff88005c00a180007000a2c..."} 
[2026-07-08 18:58:01] local.INFO: Processing buffer {"connection_id":127866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e835c8012d7ff88005c00a180007000a2c..."} 
[2026-07-08 18:58:01] local.INFO: Packet analysis {"connection_id":127866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e8"} 
[2026-07-08 18:58:01] local.INFO: Extracted packet for processing {"connection_id":127866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e8"} 
[2026-07-08 18:58:01] local.INFO: GPS Element Parsed {"raw_longitude":763361408,"raw_latitude":96471576,"longitude_deg":76.3361408,"latitude_deg":9.6471576,"altitude":7,"angle":10,"satellites":44,"speed":55,"hex_longitude":"2d7ff880","hex_latitude":"05c00a18","is_valid_coordinates":true} 
[2026-07-08 18:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580392448001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343078594580316160,"note":"Value kept but may cause issues"} 
[2026-07-08 18:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9219431411875072000,"note":"Value kept but may cause issues"} 
[2026-07-08 18:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783517165000,"timestamp_ms":1783517165000,"timestamp_seconds":1783517165,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e835c8"} 
[2026-07-08 18:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-08 18:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:58:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580392448001,"66":27832,"235":206,"85":12288,"24":55,"16":343078594580316160,"45":9219431411875072000},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-07-08 18:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580392448001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:58:01] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-08 18:58:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 18:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343078594580316160,"km_value":343078594580316.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9219431411875072000,"description":"Unknown IO ID 45"} 
[2026-07-08 18:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580392448001,"power":27832,"unknown_235":206,"unknown_85":12288,"ignition":55,"odometer":null,"unknown_45":9219431411875072000}} 
[2026-07-08 18:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":127866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:58:01] local.INFO: GPS data processed {"connection_id":127866,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:58:01] local.INFO: Acknowledgment sent {"connection_id":127866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:58:04] local.INFO: TCP Data received {"connection_id":125864,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:58:04] local.INFO: Processing buffer {"connection_id":125864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:58:04] local.INFO: IMEI packet received {"connection_id":125864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":125864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:58:10] local.INFO: TCP Data received {"connection_id":125864,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:58:10] local.INFO: Processing buffer {"connection_id":125864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:58:10] local.INFO: IMEI packet received {"connection_id":125864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":125864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:58:10] local.INFO: TCP Data received {"connection_id":125864,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e65d20012d1823000721b5a0004d00c22c..."} 
[2026-07-08 18:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e65d20012d1823000721b5a0004d00c22c..."} 
[2026-07-08 18:58:10] local.INFO: Processing buffer {"connection_id":125864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e65d20012d1823000721b5a0004d00c22c..."} 
[2026-07-08 18:58:10] local.INFO: Packet analysis {"connection_id":125864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e6"} 
[2026-07-08 18:58:10] local.INFO: Extracted packet for processing {"connection_id":125864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e6"} 
[2026-07-08 18:58:10] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649696,"longitude_deg":75.6556544,"latitude_deg":11.9649696,"altitude":77,"angle":194,"satellites":44,"speed":7,"hex_longitude":"2d182300","hex_latitude":"0721b5a0","is_valid_coordinates":true} 
[2026-07-08 18:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580363008001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4930223023849472,"note":"Value kept but may cause issues"} 
[2026-07-08 18:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725502464,"note":"Value kept but may cause issues"} 
[2026-07-08 18:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783517044000,"timestamp_ms":1783517044000,"timestamp_seconds":1783517044,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e65d20"} 
[2026-07-08 18:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-08 18:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580363008001,"66":13222,"105":206,"83":41984,"24":7,"16":4930223023849472,"45":1739233911725502464},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580363008001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:58:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:58:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4930223023849472,"km_value":4930223023849.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725502464,"description":"Unknown IO ID 45"} 
[2026-07-08 18:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580363008001,"power":13222,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1739233911725502464}} 
[2026-07-08 18:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":125864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:58:11] local.INFO: GPS data processed {"connection_id":125864,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:58:11] local.INFO: Acknowledgment sent {"connection_id":125864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:58:16] local.INFO: TCP Data received {"connection_id":125863,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125863,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:58:16] local.INFO: Processing buffer {"connection_id":125863,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:58:16] local.INFO: IMEI packet received {"connection_id":125863,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 18:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":125863,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:58:32] local.INFO: TCP Data received {"connection_id":127866,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e85120012d7fff8005c030280008000b2c..."} 
[2026-07-08 18:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e85120012d7fff8005c030280008000b2c..."} 
[2026-07-08 18:58:32] local.INFO: Processing buffer {"connection_id":127866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e85120012d7fff8005c030280008000b2c..."} 
[2026-07-08 18:58:32] local.INFO: Packet analysis {"connection_id":127866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e8"} 
[2026-07-08 18:58:32] local.INFO: Extracted packet for processing {"connection_id":127866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e8"} 
[2026-07-08 18:58:32] local.INFO: GPS Element Parsed {"raw_longitude":763363200,"raw_latitude":96481320,"longitude_deg":76.33632,"latitude_deg":9.648132,"altitude":8,"angle":11,"satellites":44,"speed":56,"hex_longitude":"2d7fff80","hex_latitude":"05c03028","is_valid_coordinates":true} 
[2026-07-08 18:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580394240001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343079071321686016,"note":"Value kept but may cause issues"} 
[2026-07-08 18:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9221260999226169344,"note":"Value kept but may cause issues"} 
[2026-07-08 18:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783517172000,"timestamp_ms":1783517172000,"timestamp_seconds":1783517172,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e85120"} 
[2026-07-08 18:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-08 18:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580394240001,"66":27876,"235":206,"85":12288,"24":56,"16":343079071321686016,"45":9221260999226169344},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-07-08 18:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580394240001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:58:32] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-08 18:58:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 18:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343079071321686016,"km_value":343079071321686.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9221260999226169344,"description":"Unknown IO ID 45"} 
[2026-07-08 18:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580394240001,"power":27876,"unknown_235":206,"unknown_85":12288,"ignition":56,"odometer":null,"unknown_45":9221260999226169344}} 
[2026-07-08 18:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":127866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:58:32] local.INFO: GPS data processed {"connection_id":127866,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:58:32] local.INFO: Acknowledgment sent {"connection_id":127866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:58:42] local.INFO: TCP Data received {"connection_id":125864,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e66108012d1822c00721b510004d00d62c..."} 
[2026-07-08 18:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e66108012d1822c00721b510004d00d62c..."} 
[2026-07-08 18:58:42] local.INFO: Processing buffer {"connection_id":125864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e66108012d1822c00721b510004d00d62c..."} 
[2026-07-08 18:58:42] local.INFO: Packet analysis {"connection_id":125864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e6"} 
[2026-07-08 18:58:42] local.INFO: Extracted packet for processing {"connection_id":125864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e6"} 
[2026-07-08 18:58:42] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649552,"longitude_deg":75.655648,"latitude_deg":11.9649552,"altitude":77,"angle":214,"satellites":44,"speed":6,"hex_longitude":"2d1822c0","hex_latitude":"0721b510","is_valid_coordinates":true} 
[2026-07-08 18:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580363264001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4930227318816768,"note":"Value kept but may cause issues"} 
[2026-07-08 18:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725465600,"note":"Value kept but may cause issues"} 
[2026-07-08 18:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783517045000,"timestamp_ms":1783517045000,"timestamp_seconds":1783517045,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e66108"} 
[2026-07-08 18:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:58: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-07-08 18:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-08 18:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":125864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":125864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":125864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580363264001,"66":12874,"105":206,"83":41984,"24":6,"16":4930227318816768,"45":1739233911725465600},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580363264001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:58:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:58:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4930227318816768,"km_value":4930227318816.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725465600,"description":"Unknown IO ID 45"} 
[2026-07-08 18:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580363264001,"power":12874,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739233911725465600}} 
[2026-07-08 18:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":125864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:58:42] local.INFO: GPS data processed {"connection_id":125864,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:58:42] local.INFO: Acknowledgment sent {"connection_id":125864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:59:00] local.INFO: TCP Data received {"connection_id":126637,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:59:00] local.INFO: Processing buffer {"connection_id":126637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:59:00] local.INFO: IMEI packet received {"connection_id":126637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":126637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:59:00] local.INFO: TCP Data received {"connection_id":125865,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:59:00] local.INFO: Processing buffer {"connection_id":125865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:59:00] local.INFO: IMEI packet received {"connection_id":125865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":125865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:59:01] local.INFO: TCP Data received {"connection_id":125865,"ip":"42.106.6.46","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 18:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125865,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 18:59:01] local.INFO: Processing buffer {"connection_id":125865,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 18:59:01] local.INFO: IMEI packet received {"connection_id":125865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":125865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:59:01] local.INFO: TCP Data received {"connection_id":125865,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e86c78012d8005c005c05578000800082c..."} 
[2026-07-08 18:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e86c78012d8005c005c05578000800082c..."} 
[2026-07-08 18:59:01] local.INFO: Processing buffer {"connection_id":125865,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f41..."} 
[2026-07-08 18:59:01] local.INFO: IMEI packet received {"connection_id":125865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":125865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:59:02] local.INFO: TCP Data received {"connection_id":125756,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125756,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:59:02] local.INFO: Processing buffer {"connection_id":125756,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 18:59:02] local.INFO: IMEI packet received {"connection_id":125756,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 18:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":125756,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:59:04] local.INFO: TCP Data received {"connection_id":126637,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:59:04] local.INFO: Processing buffer {"connection_id":126637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:59:04] local.INFO: IMEI packet received {"connection_id":126637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 18:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":126637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:59:04] local.INFO: TCP Data received {"connection_id":125865,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e887d0012d800c4005c07a40000800072c..."} 
[2026-07-08 18:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e887d0012d800c4005c07a40000800072c..."} 
[2026-07-08 18:59:04] local.INFO: Processing buffer {"connection_id":125865,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f41e86c78012d8005c005c05578000800082c..."} 
[2026-07-08 18:59:04] local.INFO: Packet analysis {"connection_id":125865,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f41e8"} 
[2026-07-08 18:59:04] local.INFO: Extracted packet for processing {"connection_id":125865,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e8"} 
[2026-07-08 18:59:04] local.INFO: GPS Element Parsed {"raw_longitude":763364800,"raw_latitude":96490872,"longitude_deg":76.33648,"latitude_deg":9.6490872,"altitude":8,"angle":8,"satellites":44,"speed":53,"hex_longitude":"2d8005c0","hex_latitude":"05c05578","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580396032001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343079543768088576,"note":"Value kept but may cause issues"} 
[2026-07-08 18:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9223231324065638400,"note":"Value kept but may cause issues"} 
[2026-07-08 18:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783517179000,"timestamp_ms":1783517179000,"timestamp_seconds":1783517179,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e86c78"} 
[2026-07-08 18:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 18:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580396032001,"66":27658,"235":206,"85":12288,"24":53,"16":343079543768088576,"45":9223231324065638400},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-07-08 18:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580396032001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:59:04] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-08 18:59:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 18:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343079543768088576,"km_value":343079543768088.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9223231324065638400,"description":"Unknown IO ID 45"} 
[2026-07-08 18:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580396032001,"power":27658,"unknown_235":206,"unknown_85":12288,"ignition":53,"odometer":null,"unknown_45":9223231324065638400}} 
[2026-07-08 18:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":125865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:59:04] local.INFO: GPS data processed {"connection_id":125865,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:59:04] local.INFO: Acknowledgment sent {"connection_id":125865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:59:04] local.INFO: Packet analysis {"connection_id":125865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e8"} 
[2026-07-08 18:59:04] local.INFO: Extracted packet for processing {"connection_id":125865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e8"} 
[2026-07-08 18:59:04] local.INFO: GPS Element Parsed {"raw_longitude":763366464,"raw_latitude":96500288,"longitude_deg":76.3366464,"latitude_deg":9.6500288,"altitude":8,"angle":7,"satellites":44,"speed":57,"hex_longitude":"2d800c40","hex_latitude":"05c07a40","is_valid_coordinates":true} 
[2026-07-08 18: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-07-08 18:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580397824001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343080007624556544,"note":"Value kept but may cause issues"} 
[2026-07-08 18:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9221753531037026304,"note":"Value kept but may cause issues"} 
[2026-07-08 18:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783517186000,"timestamp_ms":1783517186000,"timestamp_seconds":1783517186,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e887d0"} 
[2026-07-08 18:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 18:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18: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-07-08 18:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580397824001,"66":27745,"235":206,"85":12288,"24":57,"16":343080007624556544,"45":-9221753531037026304},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-07-08 18:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580397824001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:59:04] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-08 18:59:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 18:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343080007624556544,"km_value":343080007624556.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9221753531037026304,"description":"Unknown IO ID 45"} 
[2026-07-08 18:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580397824001,"power":27745,"unknown_235":206,"unknown_85":12288,"ignition":57,"odometer":null,"unknown_45":-9221753531037026304}} 
[2026-07-08 18:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":125865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:59:05] local.INFO: GPS data processed {"connection_id":125865,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:59:05] local.INFO: Acknowledgment sent {"connection_id":125865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:59:05] local.INFO: TCP Data received {"connection_id":126637,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e6b310012d1821000721b350004c00de2a..."} 
[2026-07-08 18:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e6b310012d1821000721b350004c00de2a..."} 
[2026-07-08 18:59:05] local.INFO: Processing buffer {"connection_id":126637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e6b310012d1821000721b350004c00de2a..."} 
[2026-07-08 18:59:05] local.INFO: Packet analysis {"connection_id":126637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e6"} 
[2026-07-08 18:59:05] local.INFO: Extracted packet for processing {"connection_id":126637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e6"} 
[2026-07-08 18:59:05] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649104,"longitude_deg":75.6556032,"latitude_deg":11.9649104,"altitude":76,"angle":222,"satellites":42,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-07-08 18:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580363520001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4930261678555136,"note":"Value kept but may cause issues"} 
[2026-07-08 18:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981251072,"note":"Value kept but may cause issues"} 
[2026-07-08 18:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783517066000,"timestamp_ms":1783517066000,"timestamp_seconds":1783517066,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e6b310"} 
[2026-07-08 18:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-08 18:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580363520001,"66":13135,"105":206,"83":41984,"24":0,"16":4930261678555136,"45":1739163542981251072},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580363520001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:59:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:59:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4930261678555136,"km_value":4930261678555.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981251072,"description":"Unknown IO ID 45"} 
[2026-07-08 18:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580363520001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981251072}} 
[2026-07-08 18:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":126637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:59:05] local.INFO: GPS data processed {"connection_id":126637,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:59:05] local.INFO: Acknowledgment sent {"connection_id":126637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:59:35] local.INFO: TCP Data received {"connection_id":125865,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ea8b70012d80408005c1ebf8000700082b..."} 
[2026-07-08 18:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ea8b70012d80408005c1ebf8000700082b..."} 
[2026-07-08 18:59:35] local.INFO: Processing buffer {"connection_id":125865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ea8b70012d80408005c1ebf8000700082b..."} 
[2026-07-08 18:59:35] local.INFO: Packet analysis {"connection_id":125865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ea"} 
[2026-07-08 18:59:35] local.INFO: Extracted packet for processing {"connection_id":125865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ea"} 
[2026-07-08 18:59:35] local.INFO: GPS Element Parsed {"raw_longitude":763379840,"raw_latitude":96594936,"longitude_deg":76.337984,"latitude_deg":9.6594936,"altitude":7,"angle":8,"satellites":43,"speed":46,"hex_longitude":"2d804080","hex_latitude":"05c1ebf8","is_valid_coordinates":true} 
[2026-07-08 18:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580432128001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343084650484203520,"note":"Value kept but may cause issues"} 
[2026-07-08 18:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9206694619757785088,"note":"Value kept but may cause issues"} 
[2026-07-08 18:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783517318000,"timestamp_ms":1783517318000,"timestamp_seconds":1783517318,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ea8b70"} 
[2026-07-08 18:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 18:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 18:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 18:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 18:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580432128001,"66":27213,"234":206,"85":12288,"24":46,"16":343084650484203520,"45":-9206694619757785088},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-07-08 18:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 18:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 18:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580432128001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:59:35] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-08 18:59:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 18:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343084650484203520,"km_value":343084650484203.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9206694619757785088,"description":"Unknown IO ID 45"} 
[2026-07-08 18:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580432128001,"power":27213,"unknown_234":206,"unknown_85":12288,"ignition":46,"odometer":null,"unknown_45":-9206694619757785088}} 
[2026-07-08 18:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":125865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:59:35] local.INFO: GPS data processed {"connection_id":125865,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:59:35] local.INFO: Acknowledgment sent {"connection_id":125865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:59:36] local.INFO: TCP Data received {"connection_id":126637,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41e70518012d1821000721b350004c00de2b..."} 
[2026-07-08 18:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41e70518012d1821000721b350004c00de2b..."} 
[2026-07-08 18:59:36] local.INFO: Processing buffer {"connection_id":126637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41e70518012d1821000721b350004c00de2b..."} 
[2026-07-08 18:59:36] local.INFO: Packet analysis {"connection_id":126637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41e7"} 
[2026-07-08 18:59:36] local.INFO: Extracted packet for processing {"connection_id":126637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41e7"} 
[2026-07-08 18:59:36] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649104,"longitude_deg":75.6556032,"latitude_deg":11.9649104,"altitude":76,"angle":222,"satellites":43,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-07-08 18:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 18:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580368896001,"note":"Value kept but may cause issues"} 
[2026-07-08 18:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4930261678555136,"note":"Value kept but may cause issues"} 
[2026-07-08 18:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771892736,"note":"Value kept but may cause issues"} 
[2026-07-08 18:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 18:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783517087000,"timestamp_ms":1783517087000,"timestamp_seconds":1783517087,"priority":1,"record_length":96,"hex_timestamp":"0000019f41e70518"} 
[2026-07-08 18:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 18:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 18:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-08 18:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 18:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 18:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 18:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 18:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 18:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 18:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 18:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 18:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 18:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580368896001,"66":12972,"105":206,"83":41984,"24":0,"16":4930261678555136,"45":1738670961771892736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 18:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 18:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 18:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580368896001,"description":"Unknown IO ID 0"} 
[2026-07-08 18:59:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 18:59:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 18:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4930261678555136,"km_value":4930261678555.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 18:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771892736,"description":"Unknown IO ID 45"} 
[2026-07-08 18:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580368896001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771892736}} 
[2026-07-08 18:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":126637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 18:59:36] local.INFO: GPS data processed {"connection_id":126637,"processed":1,"errors":0,"total":1} 
[2026-07-08 18:59:36] local.INFO: Acknowledgment sent {"connection_id":126637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 18:59:55] local.INFO: TCP Data received {"connection_id":126638,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:59:55] local.INFO: Processing buffer {"connection_id":126638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:59:55] local.INFO: IMEI packet received {"connection_id":126638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 18:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":126638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 18:59:56] local.INFO: TCP Data received {"connection_id":126638,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:59:56] local.INFO: Processing buffer {"connection_id":126638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 18:59:56] local.INFO: IMEI packet received {"connection_id":126638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 18:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":126638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 18:59:57] local.INFO: TCP Data received {"connection_id":127868,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:59:57] local.INFO: Processing buffer {"connection_id":127868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 18:59:57] local.INFO: IMEI packet received {"connection_id":127868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 18:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":127868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:00:00] local.INFO: TCP Data received {"connection_id":127868,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:00:00] local.INFO: Processing buffer {"connection_id":127868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:00:00] local.INFO: IMEI packet received {"connection_id":127868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":127868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:00:00] local.INFO: TCP Data received {"connection_id":126638,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:00:00] local.INFO: Processing buffer {"connection_id":126638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:00:00] local.INFO: IMEI packet received {"connection_id":126638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":126638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:00:04] local.INFO: TCP Data received {"connection_id":127868,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:00:04] local.INFO: Processing buffer {"connection_id":127868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:00:04] local.INFO: IMEI packet received {"connection_id":127868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":127868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:00:04] local.INFO: TCP Data received {"connection_id":126638,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41eaaab0012d8045c005c21118000700082c..."} 
[2026-07-08 19:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41eaaab0012d8045c005c21118000700082c..."} 
[2026-07-08 19:00:04] local.INFO: Processing buffer {"connection_id":126638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41eaaab0012d8045c005c21118000700082c..."} 
[2026-07-08 19:00:04] local.INFO: Packet analysis {"connection_id":126638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ea"} 
[2026-07-08 19:00:04] local.INFO: Extracted packet for processing {"connection_id":126638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ea"} 
[2026-07-08 19:00:04] local.INFO: GPS Element Parsed {"raw_longitude":763381184,"raw_latitude":96604440,"longitude_deg":76.3381184,"latitude_deg":9.660444,"altitude":7,"angle":8,"satellites":44,"speed":51,"hex_longitude":"2d8045c0","hex_latitude":"05c21118","is_valid_coordinates":true} 
[2026-07-08 19:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580433408001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343085114340671488,"note":"Value kept but may cause issues"} 
[2026-07-08 19:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9205216876128634880,"note":"Value kept but may cause issues"} 
[2026-07-08 19:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783517326000,"timestamp_ms":1783517326000,"timestamp_seconds":1783517326,"priority":1,"record_length":96,"hex_timestamp":"0000019f41eaaab0"} 
[2026-07-08 19:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-08 19:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580433408001,"66":27800,"234":206,"85":12288,"24":51,"16":343085114340671488,"45":-9205216876128634880},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-07-08 19:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580433408001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:00:04] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-08 19:00:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343085114340671488,"km_value":343085114340671.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9205216876128634880,"description":"Unknown IO ID 45"} 
[2026-07-08 19:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580433408001,"power":27800,"unknown_234":206,"unknown_85":12288,"ignition":51,"odometer":null,"unknown_45":-9205216876128634880}} 
[2026-07-08 19:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":126638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:00:04] local.INFO: GPS data processed {"connection_id":126638,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:00:04] local.INFO: Acknowledgment sent {"connection_id":126638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:00:05] local.INFO: TCP Data received {"connection_id":127868,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ea8788012d1821000721b350004c00de2a..."} 
[2026-07-08 19:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ea8788012d1821000721b350004c00de2a..."} 
[2026-07-08 19:00:05] local.INFO: Processing buffer {"connection_id":127868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ea8788012d1821000721b350004c00de2a..."} 
[2026-07-08 19:00:05] local.INFO: Packet analysis {"connection_id":127868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ea"} 
[2026-07-08 19:00:05] local.INFO: Extracted packet for processing {"connection_id":127868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ea"} 
[2026-07-08 19:00:05] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649104,"longitude_deg":75.6556032,"latitude_deg":11.9649104,"altitude":76,"angle":222,"satellites":42,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-07-08 19: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-07-08 19:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580427776001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4930261678555136,"note":"Value kept but may cause issues"} 
[2026-07-08 19:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771892736,"note":"Value kept but may cause issues"} 
[2026-07-08 19:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783517317000,"timestamp_ms":1783517317000,"timestamp_seconds":1783517317,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ea8788"} 
[2026-07-08 19:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-08 19:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-07-08 19:00:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-08 19:00:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 19:00:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249383415151178576,"note":"Value kept but may cause issues"} 
[2026-07-08 19:00:05] local.WARNING: Large IO value detected {"io_id":65,"raw_value":3907870721,"note":"Value kept but may cause issues"} 
[2026-07-08 19:00:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-08 19:00:05] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4261465450,"note":"Value kept but may cause issues"} 
[2026-07-08 19:00:05] local.WARNING: Large IO value detected {"io_id":17,"raw_value":2215378944,"note":"Value kept but may cause issues"} 
[2026-07-08 19:00:05] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-07-08 19:00:05] local.WARNING: Large IO value detected {"io_id":78,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-08 19:00:05] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-07-08 19:00:05] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,132,159,227,45,179,76,43,10,66,145,63,1,240,167,65,33,4,113,205,155,80,41,239,49,2,17,7,106,78,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-08 19:00:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476621423147483136,"timestamp_seconds":5476621423147483.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 19:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580427776001,"66":12548,"105":206,"83":41984,"24":0,"16":4930261678555136,"45":1738670961771892736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580427776001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:00:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:00:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4930261678555136,"km_value":4930261678555.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771892736,"description":"Unknown IO ID 45"} 
[2026-07-08 19:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580427776001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771892736}} 
[2026-07-08 19:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":127868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:00:05] local.INFO: GPS data processed {"connection_id":127868,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:00:05] local.INFO: Acknowledgment sent {"connection_id":127868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:00:36] local.INFO: TCP Data received {"connection_id":126638,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41eac608012d804b4005c23610000700082c..."} 
[2026-07-08 19:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41eac608012d804b4005c23610000700082c..."} 
[2026-07-08 19:00:36] local.INFO: Processing buffer {"connection_id":126638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41eac608012d804b4005c23610000700082c..."} 
[2026-07-08 19:00:36] local.INFO: Packet analysis {"connection_id":126638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ea"} 
[2026-07-08 19:00:36] local.INFO: Extracted packet for processing {"connection_id":126638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ea"} 
[2026-07-08 19:00:36] local.INFO: GPS Element Parsed {"raw_longitude":763382592,"raw_latitude":96613904,"longitude_deg":76.3382592,"latitude_deg":9.6613904,"altitude":7,"angle":8,"satellites":44,"speed":57,"hex_longitude":"2d804b40","hex_latitude":"05c23610","is_valid_coordinates":true} 
[2026-07-08 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-07-08 19:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580435456001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343085578197139456,"note":"Value kept but may cause issues"} 
[2026-07-08 19:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9203739132498470912,"note":"Value kept but may cause issues"} 
[2026-07-08 19:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783517333000,"timestamp_ms":1783517333000,"timestamp_seconds":1783517333,"priority":1,"record_length":96,"hex_timestamp":"0000019f41eac608"} 
[2026-07-08 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-07-08 19:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 19:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 19:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580435456001,"66":27626,"234":206,"85":12288,"24":57,"16":343085578197139456,"45":-9203739132498470912},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-07-08 19:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580435456001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:00:36] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-08 19:00:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343085578197139456,"km_value":343085578197139.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9203739132498470912,"description":"Unknown IO ID 45"} 
[2026-07-08 19:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580435456001,"power":27626,"unknown_234":206,"unknown_85":12288,"ignition":57,"odometer":null,"unknown_45":-9203739132498470912}} 
[2026-07-08 19:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":126638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:00:36] local.INFO: GPS data processed {"connection_id":126638,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:00:36] local.INFO: Acknowledgment sent {"connection_id":126638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:00:36] local.INFO: TCP Data received {"connection_id":127868,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41eadd78012d1821000721b350004c00de2b..."} 
[2026-07-08 19:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41eadd78012d1821000721b350004c00de2b..."} 
[2026-07-08 19:00:36] local.INFO: Processing buffer {"connection_id":127868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41eadd78012d1821000721b350004c00de2b..."} 
[2026-07-08 19:00:36] local.INFO: Packet analysis {"connection_id":127868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ea"} 
[2026-07-08 19:00:36] local.INFO: Extracted packet for processing {"connection_id":127868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ea"} 
[2026-07-08 19:00:36] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649104,"longitude_deg":75.6556032,"latitude_deg":11.9649104,"altitude":76,"angle":222,"satellites":43,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-07-08 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-07-08 19:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580433152001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4930261678555136,"note":"Value kept but may cause issues"} 
[2026-07-08 19:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771892736,"note":"Value kept but may cause issues"} 
[2026-07-08 19:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783517339000,"timestamp_ms":1783517339000,"timestamp_seconds":1783517339,"priority":1,"record_length":96,"hex_timestamp":"0000019f41eadd78"} 
[2026-07-08 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-07-08 19:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 19:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-08 19:00:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-08 19:00:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 19:00:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184213414093,"note":"Value kept but may cause issues"} 
[2026-07-08 19:00:36] local.WARNING: Large IO value detected {"io_id":65,"raw_value":3913246721,"note":"Value kept but may cause issues"} 
[2026-07-08 19:00:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-08 19:00:36] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3338718570,"note":"Value kept but may cause issues"} 
[2026-07-08 19:00:36] local.WARNING: Large IO value detected {"io_id":17,"raw_value":2215378944,"note":"Value kept but may cause issues"} 
[2026-07-08 19:00:36] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-07-08 19:00:36] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,105,83,24,241,157,16,132,159,53,45,179,76,43,10,66,227,145,1,240,123,65,33,4,113,205,237,80,40,239,49,2,17,7,106],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-08 19:00:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476621418852515840,"timestamp_seconds":5476621418852516.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 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-07-08 19:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580433152001,"66":12526,"105":206,"83":41984,"24":0,"16":4930261678555136,"45":1738670961771892736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580433152001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:00:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:00:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4930261678555136,"km_value":4930261678555.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771892736,"description":"Unknown IO ID 45"} 
[2026-07-08 19:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580433152001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771892736}} 
[2026-07-08 19:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":127868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:00:36] local.INFO: GPS data processed {"connection_id":127868,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:00:36] local.INFO: Acknowledgment sent {"connection_id":127868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:00:55] local.INFO: TCP Data received {"connection_id":125866,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:00:55] local.INFO: Processing buffer {"connection_id":125866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:00:55] local.INFO: IMEI packet received {"connection_id":125866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":125866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:00:56] local.INFO: TCP Data received {"connection_id":125866,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:00:56] local.INFO: Processing buffer {"connection_id":125866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:00:56] local.INFO: IMEI packet received {"connection_id":125866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":125866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:01:00] local.INFO: TCP Data received {"connection_id":125757,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:01:00] local.INFO: Processing buffer {"connection_id":125757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:01:00] local.INFO: IMEI packet received {"connection_id":125757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":125757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:01:00] local.INFO: TCP Data received {"connection_id":125866,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:01:00] local.INFO: Processing buffer {"connection_id":125866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:01:00] local.INFO: IMEI packet received {"connection_id":125866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":125866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:01:00] local.INFO: TCP Data received {"connection_id":125757,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:01:00] local.INFO: Processing buffer {"connection_id":125757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:01:00] local.INFO: IMEI packet received {"connection_id":125757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":125757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:01:01] local.INFO: TCP Data received {"connection_id":125866,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41eae160012d80510005c25e08000700072c..."} 
[2026-07-08 19:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41eae160012d80510005c25e08000700072c..."} 
[2026-07-08 19:01:01] local.INFO: Processing buffer {"connection_id":125866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41eae160012d80510005c25e08000700072c..."} 
[2026-07-08 19:01:01] local.INFO: Packet analysis {"connection_id":125866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ea"} 
[2026-07-08 19:01:01] local.INFO: Extracted packet for processing {"connection_id":125866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ea"} 
[2026-07-08 19:01:01] local.INFO: GPS Element Parsed {"raw_longitude":763384064,"raw_latitude":96624136,"longitude_deg":76.3384064,"latitude_deg":9.6624136,"altitude":7,"angle":7,"satellites":44,"speed":59,"hex_longitude":"2d805100","hex_latitude":"05c25e08","is_valid_coordinates":true} 
[2026-07-08 19:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580437248001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343086080708313088,"note":"Value kept but may cause issues"} 
[2026-07-08 19:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9202191020124139520,"note":"Value kept but may cause issues"} 
[2026-07-08 19:01:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783517340000,"timestamp_ms":1783517340000,"timestamp_seconds":1783517340,"priority":1,"record_length":96,"hex_timestamp":"0000019f41eae160"} 
[2026-07-08 19:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:01:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-08 19:01:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:01:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580437248001,"66":27767,"234":206,"85":12288,"24":59,"16":343086080708313088,"45":-9202191020124139520},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-07-08 19:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580437248001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:01:01] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-08 19:01:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343086080708313088,"km_value":343086080708313.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9202191020124139520,"description":"Unknown IO ID 45"} 
[2026-07-08 19:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580437248001,"power":27767,"unknown_234":206,"unknown_85":12288,"ignition":59,"odometer":null,"unknown_45":-9202191020124139520}} 
[2026-07-08 19:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":125866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:01:01] local.INFO: GPS data processed {"connection_id":125866,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:01:01] local.INFO: Acknowledgment sent {"connection_id":125866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:01:04] local.INFO: TCP Data received {"connection_id":125757,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:01:04] local.INFO: Processing buffer {"connection_id":125757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:01:04] local.INFO: IMEI packet received {"connection_id":125757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":125757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:01:05] local.INFO: TCP Data received {"connection_id":125757,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41eb2f80012d1821000721b350004c00de2a..."} 
[2026-07-08 19:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41eb2f80012d1821000721b350004c00de2a..."} 
[2026-07-08 19:01:05] local.INFO: Processing buffer {"connection_id":125757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41eb2f80012d1821000721b350004c00de2a..."} 
[2026-07-08 19:01:05] local.INFO: Packet analysis {"connection_id":125757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41eb"} 
[2026-07-08 19:01:05] local.INFO: Extracted packet for processing {"connection_id":125757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41eb"} 
[2026-07-08 19:01:05] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649104,"longitude_deg":75.6556032,"latitude_deg":11.9649104,"altitude":76,"angle":222,"satellites":42,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-07-08 19:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580438784001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4930261678555136,"note":"Value kept but may cause issues"} 
[2026-07-08 19:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771892736,"note":"Value kept but may cause issues"} 
[2026-07-08 19:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783517360000,"timestamp_ms":1783517360000,"timestamp_seconds":1783517360,"priority":1,"record_length":96,"hex_timestamp":"0000019f41eb2f80"} 
[2026-07-08 19:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:01: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-07-08 19: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 19:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580438784001,"66":12504,"105":206,"83":41984,"24":0,"16":4930261678555136,"45":1738670961771892736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580438784001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:01:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:01:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4930261678555136,"km_value":4930261678555.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771892736,"description":"Unknown IO ID 45"} 
[2026-07-08 19:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580438784001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771892736}} 
[2026-07-08 19:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":125757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:01:05] local.INFO: GPS data processed {"connection_id":125757,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:01:05] local.INFO: Acknowledgment sent {"connection_id":125757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:01:33] local.INFO: TCP Data received {"connection_id":125866,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ec1210012d807f0005c3a8f0000600092c..."} 
[2026-07-08 19:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ec1210012d807f0005c3a8f0000600092c..."} 
[2026-07-08 19:01:33] local.INFO: Processing buffer {"connection_id":125866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ec1210012d807f0005c3a8f0000600092c..."} 
[2026-07-08 19:01:33] local.INFO: Packet analysis {"connection_id":125866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ec"} 
[2026-07-08 19:01:33] local.INFO: Extracted packet for processing {"connection_id":125866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ec"} 
[2026-07-08 19:01:33] local.INFO: GPS Element Parsed {"raw_longitude":763395840,"raw_latitude":96708848,"longitude_deg":76.339584,"latitude_deg":9.6708848,"altitude":6,"angle":9,"satellites":44,"speed":23,"hex_longitude":"2d807f00","hex_latitude":"05c3a8f0","is_valid_coordinates":true} 
[2026-07-08 19:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580455168001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343090229646721024,"note":"Value kept but may cause issues"} 
[2026-07-08 19:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9189102433685100544,"note":"Value kept but may cause issues"} 
[2026-07-08 19:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783517418000,"timestamp_ms":1783517418000,"timestamp_seconds":1783517418,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ec1210"} 
[2026-07-08 19:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 19:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:01:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580455168001,"66":27745,"234":206,"85":12288,"24":23,"16":343090229646721024,"45":-9189102433685100544},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-07-08 19:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580455168001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:01:33] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-08 19:01:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343090229646721024,"km_value":343090229646721.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9189102433685100544,"description":"Unknown IO ID 45"} 
[2026-07-08 19:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580455168001,"power":27745,"unknown_234":206,"unknown_85":12288,"ignition":23,"odometer":null,"unknown_45":-9189102433685100544}} 
[2026-07-08 19:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":125866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:01:33] local.INFO: GPS data processed {"connection_id":125866,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:01:33] local.INFO: Acknowledgment sent {"connection_id":125866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:01:36] local.INFO: TCP Data received {"connection_id":125757,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41eb8188012d1821000721b350004c00de2b..."} 
[2026-07-08 19:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41eb8188012d1821000721b350004c00de2b..."} 
[2026-07-08 19:01:36] local.INFO: Processing buffer {"connection_id":125757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41eb8188012d1821000721b350004c00de2b..."} 
[2026-07-08 19:01:36] local.INFO: Packet analysis {"connection_id":125757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41eb"} 
[2026-07-08 19:01:36] local.INFO: Extracted packet for processing {"connection_id":125757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41eb"} 
[2026-07-08 19:01:36] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649104,"longitude_deg":75.6556032,"latitude_deg":11.9649104,"altitude":76,"angle":222,"satellites":43,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-07-08 19:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580444160001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4930261678555136,"note":"Value kept but may cause issues"} 
[2026-07-08 19:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771892736,"note":"Value kept but may cause issues"} 
[2026-07-08 19:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783517381000,"timestamp_ms":1783517381000,"timestamp_seconds":1783517381,"priority":1,"record_length":96,"hex_timestamp":"0000019f41eb8188"} 
[2026-07-08 19:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-08 19:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580444160001,"66":12461,"105":206,"83":41984,"24":0,"16":4930261678555136,"45":1738670961771892736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580444160001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:01:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:01:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4930261678555136,"km_value":4930261678555.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771892736,"description":"Unknown IO ID 45"} 
[2026-07-08 19:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580444160001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771892736}} 
[2026-07-08 19:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":125757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:01:36] local.INFO: GPS data processed {"connection_id":125757,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:01:36] local.INFO: Acknowledgment sent {"connection_id":125757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:01:59] local.INFO: TCP Data received {"connection_id":126640,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:01:59] local.INFO: Processing buffer {"connection_id":126640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:01:59] local.INFO: IMEI packet received {"connection_id":126640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":126640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:02:00] local.INFO: TCP Data received {"connection_id":127869,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:02:00] local.INFO: Processing buffer {"connection_id":127869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:02:00] local.INFO: IMEI packet received {"connection_id":127869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":127869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:02:04] local.INFO: TCP Data received {"connection_id":126640,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:02:04] local.INFO: Processing buffer {"connection_id":126640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:02:04] local.INFO: IMEI packet received {"connection_id":126640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":126640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:02:04] local.INFO: TCP Data received {"connection_id":126640,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ebd390012d1821000721b350004c00de2a..."} 
[2026-07-08 19:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ebd390012d1821000721b350004c00de2a..."} 
[2026-07-08 19:02:04] local.INFO: Processing buffer {"connection_id":126640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ebd390012d1821000721b350004c00de2a..."} 
[2026-07-08 19:02:04] local.INFO: Packet analysis {"connection_id":126640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41eb"} 
[2026-07-08 19:02:04] local.INFO: Extracted packet for processing {"connection_id":126640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41eb"} 
[2026-07-08 19:02:04] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649104,"longitude_deg":75.6556032,"latitude_deg":11.9649104,"altitude":76,"angle":222,"satellites":42,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-07-08 19: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-07-08 19:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580449536001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4930261678555136,"note":"Value kept but may cause issues"} 
[2026-07-08 19:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771892736,"note":"Value kept but may cause issues"} 
[2026-07-08 19:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783517402000,"timestamp_ms":1783517402000,"timestamp_seconds":1783517402,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ebd390"} 
[2026-07-08 19:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 19:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19: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-07-08 19:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580449536001,"66":12461,"105":206,"83":41984,"24":0,"16":4930261678555136,"45":1738670961771892736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580449536001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:02:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:02:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4930261678555136,"km_value":4930261678555.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771892736,"description":"Unknown IO ID 45"} 
[2026-07-08 19:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580449536001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771892736}} 
[2026-07-08 19:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":126640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:02:05] local.INFO: GPS data processed {"connection_id":126640,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:02:05] local.INFO: Acknowledgment sent {"connection_id":126640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:02:05] local.INFO: TCP Data received {"connection_id":127869,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:02:05] local.INFO: Processing buffer {"connection_id":127869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:02:05] local.INFO: IMEI packet received {"connection_id":127869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":127869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:02:06] local.INFO: TCP Data received {"connection_id":127869,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ec44d8012d80850005c3cd900006000829..."} 
[2026-07-08 19:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ec44d8012d80850005c3cd900006000829..."} 
[2026-07-08 19:02:06] local.INFO: Processing buffer {"connection_id":127869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ec44d8012d80850005c3cd900006000829..."} 
[2026-07-08 19:02:06] local.INFO: Packet analysis {"connection_id":127869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ec"} 
[2026-07-08 19:02:06] local.INFO: Extracted packet for processing {"connection_id":127869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ec"} 
[2026-07-08 19:02:06] local.INFO: GPS Element Parsed {"raw_longitude":763397376,"raw_latitude":96718224,"longitude_deg":76.3397376,"latitude_deg":9.6718224,"altitude":6,"angle":8,"satellites":41,"speed":28,"hex_longitude":"2d808500","hex_latitude":"05c3cd90","is_valid_coordinates":true} 
[2026-07-08 19:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580459008001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343090693503188992,"note":"Value kept but may cause issues"} 
[2026-07-08 19:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9187624690055057408,"note":"Value kept but may cause issues"} 
[2026-07-08 19:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783517431000,"timestamp_ms":1783517431000,"timestamp_seconds":1783517431,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ec44d8"} 
[2026-07-08 19:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 19:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580459008001,"66":27789,"234":206,"85":12288,"24":28,"16":343090693503188992,"45":-9187624690055057408},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-07-08 19:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580459008001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:02:06] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-08 19:02:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343090693503188992,"km_value":343090693503189.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9187624690055057408,"description":"Unknown IO ID 45"} 
[2026-07-08 19:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580459008001,"power":27789,"unknown_234":206,"unknown_85":12288,"ignition":28,"odometer":null,"unknown_45":-9187624690055057408}} 
[2026-07-08 19:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":127869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:02:06] local.INFO: GPS data processed {"connection_id":127869,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:02:06] local.INFO: Acknowledgment sent {"connection_id":127869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:02:36] local.INFO: TCP Data received {"connection_id":126640,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ec2598012d1821000721b350004c00de2a..."} 
[2026-07-08 19:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ec2598012d1821000721b350004c00de2a..."} 
[2026-07-08 19:02:36] local.INFO: Processing buffer {"connection_id":126640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ec2598012d1821000721b350004c00de2a..."} 
[2026-07-08 19:02:36] local.INFO: Packet analysis {"connection_id":126640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ec"} 
[2026-07-08 19:02:36] local.INFO: Extracted packet for processing {"connection_id":126640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ec"} 
[2026-07-08 19:02:36] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649104,"longitude_deg":75.6556032,"latitude_deg":11.9649104,"altitude":76,"angle":222,"satellites":42,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-07-08 19: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-07-08 19:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580454912001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4930261678555136,"note":"Value kept but may cause issues"} 
[2026-07-08 19:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771892736,"note":"Value kept but may cause issues"} 
[2026-07-08 19:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783517423000,"timestamp_ms":1783517423000,"timestamp_seconds":1783517423,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ec2598"} 
[2026-07-08 19:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 19:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19: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-07-08 19:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580454912001,"66":12428,"105":206,"83":41984,"24":0,"16":4930261678555136,"45":1738670961771892736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580454912001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:02:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:02:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4930261678555136,"km_value":4930261678555.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771892736,"description":"Unknown IO ID 45"} 
[2026-07-08 19:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580454912001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771892736}} 
[2026-07-08 19:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":126640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:02:36] local.INFO: GPS data processed {"connection_id":126640,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:02:36] local.INFO: Acknowledgment sent {"connection_id":126640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:02:37] local.INFO: TCP Data received {"connection_id":127869,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ec8f10012d808a4005c3eff00009000c2a..."} 
[2026-07-08 19:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ec8f10012d808a4005c3eff00009000c2a..."} 
[2026-07-08 19:02:37] local.INFO: Processing buffer {"connection_id":127869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ec8f10012d808a4005c3eff00009000c2a..."} 
[2026-07-08 19:02:37] local.INFO: Packet analysis {"connection_id":127869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ec"} 
[2026-07-08 19:02:37] local.INFO: Extracted packet for processing {"connection_id":127869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ec"} 
[2026-07-08 19:02:37] local.INFO: GPS Element Parsed {"raw_longitude":763398720,"raw_latitude":96727024,"longitude_deg":76.339872,"latitude_deg":9.6727024,"altitude":9,"angle":12,"satellites":42,"speed":23,"hex_longitude":"2d808a40","hex_latitude":"05c3eff0","is_valid_coordinates":true} 
[2026-07-08 19:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580462336001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343091127294885888,"note":"Value kept but may cause issues"} 
[2026-07-08 19:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9185935840192393216,"note":"Value kept but may cause issues"} 
[2026-07-08 19:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783517450000,"timestamp_ms":1783517450000,"timestamp_seconds":1783517450,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ec8f10"} 
[2026-07-08 19:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-08 19:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580462336001,"66":27376,"234":206,"85":12288,"24":23,"16":343091127294885888,"45":-9185935840192393216},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-07-08 19:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580462336001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:02:37] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-08 19:02:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343091127294885888,"km_value":343091127294885.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9185935840192393216,"description":"Unknown IO ID 45"} 
[2026-07-08 19:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580462336001,"power":27376,"unknown_234":206,"unknown_85":12288,"ignition":23,"odometer":null,"unknown_45":-9185935840192393216}} 
[2026-07-08 19:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":127869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:02:37] local.INFO: GPS data processed {"connection_id":127869,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:02:37] local.INFO: Acknowledgment sent {"connection_id":127869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:02:59] local.INFO: TCP Data received {"connection_id":126641,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:02:59] local.INFO: Processing buffer {"connection_id":126641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:02:59] local.INFO: IMEI packet received {"connection_id":126641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":126641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:03:00] local.INFO: TCP Data received {"connection_id":125758,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:03:00] local.INFO: Processing buffer {"connection_id":125758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:03:00] local.INFO: IMEI packet received {"connection_id":125758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":125758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:03:04] local.INFO: TCP Data received {"connection_id":126641,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:03:04] local.INFO: Processing buffer {"connection_id":126641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:03:04] local.INFO: IMEI packet received {"connection_id":126641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":126641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:03:05] local.INFO: TCP Data received {"connection_id":126641,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ec73b8012d1821000721b350004c00de2b..."} 
[2026-07-08 19:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ec73b8012d1821000721b350004c00de2b..."} 
[2026-07-08 19:03:05] local.INFO: Processing buffer {"connection_id":126641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ec73b8012d1821000721b350004c00de2b..."} 
[2026-07-08 19:03:05] local.INFO: Packet analysis {"connection_id":126641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ec"} 
[2026-07-08 19:03:05] local.INFO: Extracted packet for processing {"connection_id":126641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ec"} 
[2026-07-08 19:03:05] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649104,"longitude_deg":75.6556032,"latitude_deg":11.9649104,"altitude":76,"angle":222,"satellites":43,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-07-08 19:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580460288001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4930261678555136,"note":"Value kept but may cause issues"} 
[2026-07-08 19:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771892736,"note":"Value kept but may cause issues"} 
[2026-07-08 19:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783517443000,"timestamp_ms":1783517443000,"timestamp_seconds":1783517443,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ec73b8"} 
[2026-07-08 19:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-08 19:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580460288001,"66":12428,"105":206,"83":41984,"24":0,"16":4930261678555136,"45":1738670961771892736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580460288001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:03:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:03:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4930261678555136,"km_value":4930261678555.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771892736,"description":"Unknown IO ID 45"} 
[2026-07-08 19:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580460288001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771892736}} 
[2026-07-08 19:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":126641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:03:05] local.INFO: GPS data processed {"connection_id":126641,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:03:05] local.INFO: Acknowledgment sent {"connection_id":126641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:03:05] local.INFO: TCP Data received {"connection_id":125758,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:03:05] local.INFO: Processing buffer {"connection_id":125758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:03:05] local.INFO: IMEI packet received {"connection_id":125758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":125758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:03:06] local.INFO: TCP Data received {"connection_id":125758,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ecae50012d808cc005c404f8000a00012a..."} 
[2026-07-08 19:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ecae50012d808cc005c404f8000a00012a..."} 
[2026-07-08 19:03:06] local.INFO: Processing buffer {"connection_id":125758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ecae50012d808cc005c404f8000a00012a..."} 
[2026-07-08 19:03:06] local.INFO: Packet analysis {"connection_id":125758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ec"} 
[2026-07-08 19:03:06] local.INFO: Extracted packet for processing {"connection_id":125758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ec"} 
[2026-07-08 19:03:06] local.INFO: GPS Element Parsed {"raw_longitude":763399360,"raw_latitude":96732408,"longitude_deg":76.339936,"latitude_deg":9.6732408,"altitude":10,"angle":1,"satellites":42,"speed":30,"hex_longitude":"2d808cc0","hex_latitude":"05c404f8","is_valid_coordinates":true} 
[2026-07-08 19:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580467200001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343091389287890944,"note":"Value kept but may cause issues"} 
[2026-07-08 19:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9184458096562409472,"note":"Value kept but may cause issues"} 
[2026-07-08 19:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783517458000,"timestamp_ms":1783517458000,"timestamp_seconds":1783517458,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ecae50"} 
[2026-07-08 19:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 19:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580467200001,"66":27365,"234":206,"85":12288,"24":30,"16":343091389287890944,"45":-9184458096562409472},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-07-08 19:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580467200001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:03:06] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-08 19:03:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343091389287890944,"km_value":343091389287890.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9184458096562409472,"description":"Unknown IO ID 45"} 
[2026-07-08 19:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580467200001,"power":27365,"unknown_234":206,"unknown_85":12288,"ignition":30,"odometer":null,"unknown_45":-9184458096562409472}} 
[2026-07-08 19:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":125758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:03:06] local.INFO: GPS data processed {"connection_id":125758,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:03:06] local.INFO: Acknowledgment sent {"connection_id":125758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:03:07] local.INFO: TCP Data received {"connection_id":125758,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ecc5c0012d808b4005c418a8000a015e2a..."} 
[2026-07-08 19:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ecc5c0012d808b4005c418a8000a015e2a..."} 
[2026-07-08 19:03:07] local.INFO: Processing buffer {"connection_id":125758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ecc5c0012d808b4005c418a8000a015e2a..."} 
[2026-07-08 19:03:07] local.INFO: Packet analysis {"connection_id":125758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ec"} 
[2026-07-08 19:03:07] local.INFO: Extracted packet for processing {"connection_id":125758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ec"} 
[2026-07-08 19:03:07] local.INFO: GPS Element Parsed {"raw_longitude":763398976,"raw_latitude":96737448,"longitude_deg":76.3398976,"latitude_deg":9.6737448,"altitude":10,"angle":350,"satellites":42,"speed":34,"hex_longitude":"2d808b40","hex_latitude":"05c418a8","is_valid_coordinates":true} 
[2026-07-08 19:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580469248001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343091634101026816,"note":"Value kept but may cause issues"} 
[2026-07-08 19:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9183754409119254528,"note":"Value kept but may cause issues"} 
[2026-07-08 19:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783517464000,"timestamp_ms":1783517464000,"timestamp_seconds":1783517464,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ecc5c0"} 
[2026-07-08 19:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 19:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580469248001,"66":26604,"234":206,"85":12288,"24":34,"16":343091634101026816,"45":-9183754409119254528},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-07-08 19:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580469248001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:03:07] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-08 19:03:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343091634101026816,"km_value":343091634101026.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9183754409119254528,"description":"Unknown IO ID 45"} 
[2026-07-08 19:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580469248001,"power":26604,"unknown_234":206,"unknown_85":12288,"ignition":34,"odometer":null,"unknown_45":-9183754409119254528}} 
[2026-07-08 19:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":125758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:03:07] local.INFO: GPS data processed {"connection_id":125758,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:03:07] local.INFO: Acknowledgment sent {"connection_id":125758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:03:36] local.INFO: TCP Data received {"connection_id":126641,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ecc5c0012d1821000721b350004c00de2c..."} 
[2026-07-08 19:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ecc5c0012d1821000721b350004c00de2c..."} 
[2026-07-08 19:03:36] local.INFO: Processing buffer {"connection_id":126641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ecc5c0012d1821000721b350004c00de2c..."} 
[2026-07-08 19:03:36] local.INFO: Packet analysis {"connection_id":126641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ec"} 
[2026-07-08 19:03:36] local.INFO: Extracted packet for processing {"connection_id":126641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ec"} 
[2026-07-08 19:03:36] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649104,"longitude_deg":75.6556032,"latitude_deg":11.9649104,"altitude":76,"angle":222,"satellites":44,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-07-08 19:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580465408001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4930261678555136,"note":"Value kept but may cause issues"} 
[2026-07-08 19:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771892736,"note":"Value kept but may cause issues"} 
[2026-07-08 19:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783517464000,"timestamp_ms":1783517464000,"timestamp_seconds":1783517464,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ecc5c0"} 
[2026-07-08 19:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-08 19:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580465408001,"66":12406,"105":206,"83":41984,"24":0,"16":4930261678555136,"45":1738670961771892736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580465408001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:03:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:03:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4930261678555136,"km_value":4930261678555.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771892736,"description":"Unknown IO ID 45"} 
[2026-07-08 19:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580465408001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771892736}} 
[2026-07-08 19:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":126641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:03:36] local.INFO: GPS data processed {"connection_id":126641,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:03:36] local.INFO: Acknowledgment sent {"connection_id":126641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:03:42] local.INFO: TCP Data received {"connection_id":125758,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ece8e8012d80884005c430d8000800012a..."} 
[2026-07-08 19:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ece8e8012d80884005c430d8000800012a..."} 
[2026-07-08 19:03:42] local.INFO: Processing buffer {"connection_id":125758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ece8e8012d80884005c430d8000800012a..."} 
[2026-07-08 19:03:42] local.INFO: Packet analysis {"connection_id":125758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ec"} 
[2026-07-08 19:03:42] local.INFO: Extracted packet for processing {"connection_id":125758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ec"} 
[2026-07-08 19:03:42] local.INFO: GPS Element Parsed {"raw_longitude":763398208,"raw_latitude":96743640,"longitude_deg":76.3398208,"latitude_deg":9.674364,"altitude":8,"angle":1,"satellites":42,"speed":26,"hex_longitude":"2d808840","hex_latitude":"05c430d8","is_valid_coordinates":true} 
[2026-07-08 19:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580470784001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343091939043704832,"note":"Value kept but may cause issues"} 
[2026-07-08 19:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9184176621583030272,"note":"Value kept but may cause issues"} 
[2026-07-08 19:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783517473000,"timestamp_ms":1783517473000,"timestamp_seconds":1783517473,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ece8e8"} 
[2026-07-08 19:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-07-08 19:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":125758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":125758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":125758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580470784001,"66":27376,"234":206,"85":12288,"24":26,"16":343091939043704832,"45":-9184176621583030272},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-07-08 19:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580470784001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:03:42] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-08 19:03:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343091939043704832,"km_value":343091939043704.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9184176621583030272,"description":"Unknown IO ID 45"} 
[2026-07-08 19:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580470784001,"power":27376,"unknown_234":206,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":-9184176621583030272}} 
[2026-07-08 19:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":125758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:03:42] local.INFO: GPS data processed {"connection_id":125758,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:03:42] local.INFO: Acknowledgment sent {"connection_id":125758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:03:55] local.INFO: TCP Data received {"connection_id":127870,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:03:55] local.INFO: Processing buffer {"connection_id":127870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:03:55] local.INFO: IMEI packet received {"connection_id":127870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":127870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:04:00] local.INFO: TCP Data received {"connection_id":127870,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:04:00] local.INFO: Processing buffer {"connection_id":127870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:04:00] local.INFO: IMEI packet received {"connection_id":127870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":127870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:04:02] local.INFO: TCP Data received {"connection_id":127870,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ecf888012d8087c005c43bb00008015b29..."} 
[2026-07-08 19:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ecf888012d8087c005c43bb00008015b29..."} 
[2026-07-08 19:04:02] local.INFO: Processing buffer {"connection_id":127870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ecf888012d8087c005c43bb00008015b29..."} 
[2026-07-08 19:04:02] local.INFO: Packet analysis {"connection_id":127870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ec"} 
[2026-07-08 19:04:02] local.INFO: Extracted packet for processing {"connection_id":127870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ec"} 
[2026-07-08 19:04:02] local.INFO: GPS Element Parsed {"raw_longitude":763398080,"raw_latitude":96746416,"longitude_deg":76.339808,"latitude_deg":9.6746416,"altitude":8,"angle":347,"satellites":41,"speed":27,"hex_longitude":"2d8087c0","hex_latitude":"05c43bb0","is_valid_coordinates":true} 
[2026-07-08 19:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580473088001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343092072187691008,"note":"Value kept but may cause issues"} 
[2026-07-08 19:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9185021046511577088,"note":"Value kept but may cause issues"} 
[2026-07-08 19:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783517477000,"timestamp_ms":1783517477000,"timestamp_seconds":1783517477,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ecf888"} 
[2026-07-08 19:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:04: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-07-08 19:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 19:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:04:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580473088001,"66":27376,"234":206,"85":12288,"24":27,"16":343092072187691008,"45":-9185021046511577088},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-07-08 19:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580473088001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:04:02] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-08 19:04:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343092072187691008,"km_value":343092072187691.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9185021046511577088,"description":"Unknown IO ID 45"} 
[2026-07-08 19:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580473088001,"power":27376,"unknown_234":206,"unknown_85":12288,"ignition":27,"odometer":null,"unknown_45":-9185021046511577088}} 
[2026-07-08 19:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":127870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:04:02] local.INFO: GPS data processed {"connection_id":127870,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:04:02] local.INFO: Acknowledgment sent {"connection_id":127870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:04:04] local.INFO: TCP Data received {"connection_id":125868,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:04:04] local.INFO: Processing buffer {"connection_id":125868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:04:04] local.INFO: IMEI packet received {"connection_id":125868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":125868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:04:09] local.INFO: TCP Data received {"connection_id":127870,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ed0828012d8083c005c445f80007014d29..."} 
[2026-07-08 19:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ed0828012d8083c005c445f80007014d29..."} 
[2026-07-08 19:04:09] local.INFO: Processing buffer {"connection_id":127870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ed0828012d8083c005c445f80007014d29..."} 
[2026-07-08 19:04:09] local.INFO: Packet analysis {"connection_id":127870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ed"} 
[2026-07-08 19:04:09] local.INFO: Extracted packet for processing {"connection_id":127870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ed"} 
[2026-07-08 19:04:09] local.INFO: GPS Element Parsed {"raw_longitude":763397056,"raw_latitude":96749048,"longitude_deg":76.3397056,"latitude_deg":9.6749048,"altitude":7,"angle":333,"satellites":41,"speed":29,"hex_longitude":"2d8083c0","hex_latitude":"05c445f8","is_valid_coordinates":true} 
[2026-07-08 19:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580474112001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343092209626644480,"note":"Value kept but may cause issues"} 
[2026-07-08 19:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9185161783999221760,"note":"Value kept but may cause issues"} 
[2026-07-08 19:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783517481000,"timestamp_ms":1783517481000,"timestamp_seconds":1783517481,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ed0828"} 
[2026-07-08 19:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 19:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":127870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":127870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":127870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580474112001,"66":27365,"234":206,"85":12288,"24":29,"16":343092209626644480,"45":-9185161783999221760},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-07-08 19:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580474112001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:04:09] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-08 19:04:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343092209626644480,"km_value":343092209626644.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9185161783999221760,"description":"Unknown IO ID 45"} 
[2026-07-08 19:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580474112001,"power":27365,"unknown_234":206,"unknown_85":12288,"ignition":29,"odometer":null,"unknown_45":-9185161783999221760}} 
[2026-07-08 19:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":127870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:04:09] local.INFO: GPS data processed {"connection_id":127870,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:04:09] local.INFO: Acknowledgment sent {"connection_id":127870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:04:10] local.INFO: TCP Data received {"connection_id":125868,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:04:10] local.INFO: Processing buffer {"connection_id":125868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:04:10] local.INFO: IMEI packet received {"connection_id":125868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":125868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:04:10] local.INFO: TCP Data received {"connection_id":125868,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ed17c8012d1821000721b350004c00de2c..."} 
[2026-07-08 19:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ed17c8012d1821000721b350004c00de2c..."} 
[2026-07-08 19:04:10] local.INFO: Processing buffer {"connection_id":125868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ed17c8012d1821000721b350004c00de2c..."} 
[2026-07-08 19:04:10] local.INFO: Packet analysis {"connection_id":125868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ed"} 
[2026-07-08 19:04:10] local.INFO: Extracted packet for processing {"connection_id":125868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ed"} 
[2026-07-08 19:04:10] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649104,"longitude_deg":75.6556032,"latitude_deg":11.9649104,"altitude":76,"angle":222,"satellites":44,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-07-08 19:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580470784001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4930261678555136,"note":"Value kept but may cause issues"} 
[2026-07-08 19:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771892736,"note":"Value kept but may cause issues"} 
[2026-07-08 19:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783517485000,"timestamp_ms":1783517485000,"timestamp_seconds":1783517485,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ed17c8"} 
[2026-07-08 19:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 19:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580470784001,"66":12385,"105":206,"83":41984,"24":0,"16":4930261678555136,"45":1738670961771892736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580470784001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:04:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:04:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4930261678555136,"km_value":4930261678555.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771892736,"description":"Unknown IO ID 45"} 
[2026-07-08 19:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580470784001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771892736}} 
[2026-07-08 19:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":125868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:04:10] local.INFO: GPS data processed {"connection_id":125868,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:04:10] local.INFO: Acknowledgment sent {"connection_id":125868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:04:11] local.INFO: TCP Data received {"connection_id":125868,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ed69d0012d1821000721b350004c00de28..."} 
[2026-07-08 19:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ed69d0012d1821000721b350004c00de28..."} 
[2026-07-08 19:04:11] local.INFO: Processing buffer {"connection_id":125868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ed69d0012d1821000721b350004c00de28..."} 
[2026-07-08 19:04:11] local.INFO: Packet analysis {"connection_id":125868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ed"} 
[2026-07-08 19:04:11] local.INFO: Extracted packet for processing {"connection_id":125868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ed"} 
[2026-07-08 19:04:11] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649104,"longitude_deg":75.6556032,"latitude_deg":11.9649104,"altitude":76,"angle":222,"satellites":40,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-07-08 19:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580476160001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4930261678555136,"note":"Value kept but may cause issues"} 
[2026-07-08 19:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771892736,"note":"Value kept but may cause issues"} 
[2026-07-08 19:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783517506000,"timestamp_ms":1783517506000,"timestamp_seconds":1783517506,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ed69d0"} 
[2026-07-08 19:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 19:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580476160001,"66":12287,"105":206,"83":41984,"24":0,"16":4930261678555136,"45":1738670961771892736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580476160001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:04:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:04:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4930261678555136,"km_value":4930261678555.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771892736,"description":"Unknown IO ID 45"} 
[2026-07-08 19:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580476160001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771892736}} 
[2026-07-08 19:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":125868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:04:11] local.INFO: GPS data processed {"connection_id":125868,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:04:11] local.INFO: Acknowledgment sent {"connection_id":125868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:04:21] local.INFO: TCP Data received {"connection_id":127871,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127871,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:04:21] local.INFO: Processing buffer {"connection_id":127871,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:04:21] local.INFO: IMEI packet received {"connection_id":127871,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 19:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":127871,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:04:41] local.INFO: TCP Data received {"connection_id":127870,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41eef458012d7fc5c005c54da8000201452a..."} 
[2026-07-08 19:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41eef458012d7fc5c005c54da8000201452a..."} 
[2026-07-08 19:04:41] local.INFO: Processing buffer {"connection_id":127870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41eef458012d7fc5c005c54da8000201452a..."} 
[2026-07-08 19:04:41] local.INFO: Packet analysis {"connection_id":127870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ee"} 
[2026-07-08 19:04:41] local.INFO: Extracted packet for processing {"connection_id":127870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ee"} 
[2026-07-08 19:04:41] local.INFO: GPS Element Parsed {"raw_longitude":763348416,"raw_latitude":96816552,"longitude_deg":76.3348416,"latitude_deg":9.6816552,"altitude":2,"angle":325,"satellites":42,"speed":23,"hex_longitude":"2d7fc5c0","hex_latitude":"05c54da8","is_valid_coordinates":true} 
[2026-07-08 19:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580503296001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343096242600935424,"note":"Value kept but may cause issues"} 
[2026-07-08 19:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9212816750011322368,"note":"Value kept but may cause issues"} 
[2026-07-08 19:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783517607000,"timestamp_ms":1783517607000,"timestamp_seconds":1783517607,"priority":1,"record_length":96,"hex_timestamp":"0000019f41eef458"} 
[2026-07-08 19:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 19:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":127870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":127870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":127870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580503296001,"66":27321,"98":206,"85":12288,"24":23,"16":343096242600935424,"45":9212816750011322368},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-07-08 19:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580503296001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:04:41] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-07-08 19:04:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343096242600935424,"km_value":343096242600935.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9212816750011322368,"description":"Unknown IO ID 45"} 
[2026-07-08 19:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580503296001,"power":27321,"unknown_98":206,"unknown_85":12288,"ignition":23,"odometer":null,"unknown_45":9212816750011322368}} 
[2026-07-08 19:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":127870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:04:41] local.INFO: GPS data processed {"connection_id":127870,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:04:41] local.INFO: Acknowledgment sent {"connection_id":127870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:04:42] local.INFO: TCP Data received {"connection_id":125868,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41edbbd8012d1821000721b350004c00de2b..."} 
[2026-07-08 19:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41edbbd8012d1821000721b350004c00de2b..."} 
[2026-07-08 19:04:42] local.INFO: Processing buffer {"connection_id":125868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41edbbd8012d1821000721b350004c00de2b..."} 
[2026-07-08 19:04:42] local.INFO: Packet analysis {"connection_id":125868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ed"} 
[2026-07-08 19:04:42] local.INFO: Extracted packet for processing {"connection_id":125868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ed"} 
[2026-07-08 19:04:42] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649104,"longitude_deg":75.6556032,"latitude_deg":11.9649104,"altitude":76,"angle":222,"satellites":43,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-07-08 19:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580481536001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4930261678555136,"note":"Value kept but may cause issues"} 
[2026-07-08 19:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771892736,"note":"Value kept but may cause issues"} 
[2026-07-08 19:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783517527000,"timestamp_ms":1783517527000,"timestamp_seconds":1783517527,"priority":1,"record_length":96,"hex_timestamp":"0000019f41edbbd8"} 
[2026-07-08 19:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 19:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":125868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":125868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":125868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580481536001,"66":12287,"105":206,"83":41984,"24":0,"16":4930261678555136,"45":1738670961771892736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580481536001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:04:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:04:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4930261678555136,"km_value":4930261678555.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771892736,"description":"Unknown IO ID 45"} 
[2026-07-08 19:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580481536001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771892736}} 
[2026-07-08 19:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":125868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:04:42] local.INFO: GPS data processed {"connection_id":125868,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:04:42] local.INFO: Acknowledgment sent {"connection_id":125868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:04:55] local.INFO: TCP Data received {"connection_id":125869,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:04:55] local.INFO: Processing buffer {"connection_id":125869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:04:55] local.INFO: IMEI packet received {"connection_id":125869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":125869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:04:55] local.INFO: TCP Data received {"connection_id":125870,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125870,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:04:55] local.INFO: Processing buffer {"connection_id":125870,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:04:55] local.INFO: IMEI packet received {"connection_id":125870,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 19:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":125870,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:04:56] local.INFO: TCP Data received {"connection_id":125869,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:04:56] local.INFO: Processing buffer {"connection_id":125869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:04:56] local.INFO: IMEI packet received {"connection_id":125869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":125869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:05:00] local.INFO: TCP Data received {"connection_id":125871,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:05:00] local.INFO: Processing buffer {"connection_id":125871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:05:00] local.INFO: IMEI packet received {"connection_id":125871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":125871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:05:00] local.INFO: TCP Data received {"connection_id":125869,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:05:00] local.INFO: Processing buffer {"connection_id":125869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:05:00] local.INFO: IMEI packet received {"connection_id":125869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":125869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:05:01] local.INFO: TCP Data received {"connection_id":125869,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ef2b08012d7fb00005c56b60000301432c..."} 
[2026-07-08 19:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ef2b08012d7fb00005c56b60000301432c..."} 
[2026-07-08 19:05:01] local.INFO: Processing buffer {"connection_id":125869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ef2b08012d7fb00005c56b60000301432c..."} 
[2026-07-08 19:05:01] local.INFO: Packet analysis {"connection_id":125869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ef"} 
[2026-07-08 19:05:01] local.INFO: Extracted packet for processing {"connection_id":125869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ef"} 
[2026-07-08 19:05:01] local.INFO: GPS Element Parsed {"raw_longitude":763342848,"raw_latitude":96824160,"longitude_deg":76.3342848,"latitude_deg":9.682416,"altitude":3,"angle":323,"satellites":44,"speed":28,"hex_longitude":"2d7fb000","hex_latitude":"05c56b60","is_valid_coordinates":true} 
[2026-07-08 19:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580507392001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343096697867468800,"note":"Value kept but may cause issues"} 
[2026-07-08 19:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9206976144246417408,"note":"Value kept but may cause issues"} 
[2026-07-08 19:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783517621000,"timestamp_ms":1783517621000,"timestamp_seconds":1783517621,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ef2b08"} 
[2026-07-08 19:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 19:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:05:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580507392001,"66":27463,"89":206,"85":12288,"24":28,"16":343096697867468800,"45":9206976144246417408},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-07-08 19:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580507392001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:05:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-08 19:05:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343096697867468800,"km_value":343096697867468.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9206976144246417408,"description":"Unknown IO ID 45"} 
[2026-07-08 19:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580507392001,"power":27463,"unknown_89":206,"unknown_85":12288,"ignition":28,"odometer":null,"unknown_45":9206976144246417408}} 
[2026-07-08 19:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":125869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:05:01] local.INFO: GPS data processed {"connection_id":125869,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:05:01] local.INFO: Acknowledgment sent {"connection_id":125869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:05:04] local.INFO: TCP Data received {"connection_id":125871,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:05:04] local.INFO: Processing buffer {"connection_id":125871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:05:04] local.INFO: IMEI packet received {"connection_id":125871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":125871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:05:05] local.INFO: TCP Data received {"connection_id":125871,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ee0de0012d1821000721b350004c00de2c..."} 
[2026-07-08 19:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ee0de0012d1821000721b350004c00de2c..."} 
[2026-07-08 19:05:05] local.INFO: Processing buffer {"connection_id":125871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ee0de0012d1821000721b350004c00de2c..."} 
[2026-07-08 19:05:05] local.INFO: Packet analysis {"connection_id":125871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ee"} 
[2026-07-08 19:05:05] local.INFO: Extracted packet for processing {"connection_id":125871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ee"} 
[2026-07-08 19:05:05] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649104,"longitude_deg":75.6556032,"latitude_deg":11.9649104,"altitude":76,"angle":222,"satellites":44,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-07-08 19:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580486912001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4930261678555136,"note":"Value kept but may cause issues"} 
[2026-07-08 19:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771892736,"note":"Value kept but may cause issues"} 
[2026-07-08 19:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783517548000,"timestamp_ms":1783517548000,"timestamp_seconds":1783517548,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ee0de0"} 
[2026-07-08 19:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:05: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-07-08 19:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 19:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580486912001,"66":12319,"105":206,"83":41984,"24":0,"16":4930261678555136,"45":1738670961771892736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580486912001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:05:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:05:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4930261678555136,"km_value":4930261678555.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771892736,"description":"Unknown IO ID 45"} 
[2026-07-08 19:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580486912001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771892736}} 
[2026-07-08 19:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":125871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:05:05] local.INFO: GPS data processed {"connection_id":125871,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:05:05] local.INFO: Acknowledgment sent {"connection_id":125871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:05:06] local.INFO: TCP Data received {"connection_id":125869,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ef5600012d7f9a8005c58888000301422c..."} 
[2026-07-08 19:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ef5600012d7f9a8005c58888000301422c..."} 
[2026-07-08 19:05:06] local.INFO: Processing buffer {"connection_id":125869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ef5600012d7f9a8005c58888000301422c..."} 
[2026-07-08 19:05:06] local.INFO: Packet analysis {"connection_id":125869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ef"} 
[2026-07-08 19:05:06] local.INFO: Extracted packet for processing {"connection_id":125869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ef"} 
[2026-07-08 19:05:06] local.INFO: GPS Element Parsed {"raw_longitude":763337344,"raw_latitude":96831624,"longitude_deg":76.3337344,"latitude_deg":9.6831624,"altitude":3,"angle":322,"satellites":44,"speed":35,"hex_longitude":"2d7f9a80","hex_latitude":"05c58888","is_valid_coordinates":true} 
[2026-07-08 19:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580510976001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343097144544067584,"note":"Value kept but may cause issues"} 
[2026-07-08 19:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200854063504908288,"note":"Value kept but may cause issues"} 
[2026-07-08 19:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783517632000,"timestamp_ms":1783517632000,"timestamp_seconds":1783517632,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ef5600"} 
[2026-07-08 19:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-08 19:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580510976001,"66":27234,"89":206,"85":12288,"24":35,"16":343097144544067584,"45":9200854063504908288},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-07-08 19:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580510976001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:05:06] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-08 19:05:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343097144544067584,"km_value":343097144544067.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200854063504908288,"description":"Unknown IO ID 45"} 
[2026-07-08 19:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580510976001,"power":27234,"unknown_89":206,"unknown_85":12288,"ignition":35,"odometer":null,"unknown_45":9200854063504908288}} 
[2026-07-08 19:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":125869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:05:06] local.INFO: GPS data processed {"connection_id":125869,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:05:06] local.INFO: Acknowledgment sent {"connection_id":125869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:05:36] local.INFO: TCP Data received {"connection_id":125871,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ee5fe8012d1821000721b350004c00de29..."} 
[2026-07-08 19:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ee5fe8012d1821000721b350004c00de29..."} 
[2026-07-08 19:05:36] local.INFO: Processing buffer {"connection_id":125871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ee5fe8012d1821000721b350004c00de29..."} 
[2026-07-08 19:05:36] local.INFO: Packet analysis {"connection_id":125871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ee"} 
[2026-07-08 19:05:36] local.INFO: Extracted packet for processing {"connection_id":125871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ee"} 
[2026-07-08 19:05:36] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649104,"longitude_deg":75.6556032,"latitude_deg":11.9649104,"altitude":76,"angle":222,"satellites":41,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-07-08 19:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580492288001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4930261678555136,"note":"Value kept but may cause issues"} 
[2026-07-08 19:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771892736,"note":"Value kept but may cause issues"} 
[2026-07-08 19:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783517569000,"timestamp_ms":1783517569000,"timestamp_seconds":1783517569,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ee5fe8"} 
[2026-07-08 19:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 19:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580492288001,"66":12374,"105":206,"83":41984,"24":0,"16":4930261678555136,"45":1738670961771892736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580492288001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:05:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:05:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4930261678555136,"km_value":4930261678555.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771892736,"description":"Unknown IO ID 45"} 
[2026-07-08 19:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580492288001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771892736}} 
[2026-07-08 19:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":125871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:05:36] local.INFO: GPS data processed {"connection_id":125871,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:05:36] local.INFO: Acknowledgment sent {"connection_id":125871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:05:37] local.INFO: TCP Data received {"connection_id":125869,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ef84e0012d7f848005c5a680000201402c..."} 
[2026-07-08 19:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ef84e0012d7f848005c5a680000201402c..."} 
[2026-07-08 19:05:37] local.INFO: Processing buffer {"connection_id":125869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ef84e0012d7f848005c5a680000201402c..."} 
[2026-07-08 19:05:37] local.INFO: Packet analysis {"connection_id":125869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ef"} 
[2026-07-08 19:05:37] local.INFO: Extracted packet for processing {"connection_id":125869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ef"} 
[2026-07-08 19:05:37] local.INFO: GPS Element Parsed {"raw_longitude":763331712,"raw_latitude":96839296,"longitude_deg":76.3331712,"latitude_deg":9.6839296,"altitude":2,"angle":320,"satellites":44,"speed":30,"hex_longitude":"2d7f8480","hex_latitude":"05c5a680","is_valid_coordinates":true} 
[2026-07-08 19:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580513792001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343097604105568256,"note":"Value kept but may cause issues"} 
[2026-07-08 19:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194802351507539968,"note":"Value kept but may cause issues"} 
[2026-07-08 19:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783517644000,"timestamp_ms":1783517644000,"timestamp_seconds":1783517644,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ef84e0"} 
[2026-07-08 19:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-08 19:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580513792001,"66":27376,"89":206,"85":12288,"24":30,"16":343097604105568256,"45":9194802351507539968},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-07-08 19:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580513792001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:05:37] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-08 19:05:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343097604105568256,"km_value":343097604105568.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194802351507539968,"description":"Unknown IO ID 45"} 
[2026-07-08 19:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580513792001,"power":27376,"unknown_89":206,"unknown_85":12288,"ignition":30,"odometer":null,"unknown_45":9194802351507539968}} 
[2026-07-08 19:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":125869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:05:37] local.INFO: GPS data processed {"connection_id":125869,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:05:37] local.INFO: Acknowledgment sent {"connection_id":125869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:05:55] local.INFO: TCP Data received {"connection_id":125761,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:05:55] local.INFO: Processing buffer {"connection_id":125761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:05:55] local.INFO: IMEI packet received {"connection_id":125761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":125761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:06:00] local.INFO: TCP Data received {"connection_id":127872,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:06:00] local.INFO: Processing buffer {"connection_id":127872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:06:00] local.INFO: IMEI packet received {"connection_id":127872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":127872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:06:00] local.INFO: TCP Data received {"connection_id":125761,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:06:00] local.INFO: Processing buffer {"connection_id":125761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:06:00] local.INFO: IMEI packet received {"connection_id":125761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":125761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:06:01] local.INFO: TCP Data received {"connection_id":125761,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41efb7a8012d7f6f8005c5c278000301402b..."} 
[2026-07-08 19:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41efb7a8012d7f6f8005c5c278000301402b..."} 
[2026-07-08 19:06:01] local.INFO: Processing buffer {"connection_id":125761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41efb7a8012d7f6f8005c5c278000301402b..."} 
[2026-07-08 19:06:01] local.INFO: Packet analysis {"connection_id":125761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ef"} 
[2026-07-08 19:06:01] local.INFO: Extracted packet for processing {"connection_id":125761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ef"} 
[2026-07-08 19:06:01] local.INFO: GPS Element Parsed {"raw_longitude":763326336,"raw_latitude":96846456,"longitude_deg":76.3326336,"latitude_deg":9.6846456,"altitude":3,"angle":320,"satellites":43,"speed":28,"hex_longitude":"2d7f6f80","hex_latitude":"05c5c278","is_valid_coordinates":true} 
[2026-07-08 19:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580516864001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343098037897265152,"note":"Value kept but may cause issues"} 
[2026-07-08 19:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9188609902021869568,"note":"Value kept but may cause issues"} 
[2026-07-08 19:06:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783517657000,"timestamp_ms":1783517657000,"timestamp_seconds":1783517657,"priority":1,"record_length":96,"hex_timestamp":"0000019f41efb7a8"} 
[2026-07-08 19:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 19:06:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:06:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580516864001,"66":27397,"100":206,"85":12288,"24":28,"16":343098037897265152,"45":9188609902021869568},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-07-08 19:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580516864001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:06:01] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-07-08 19:06:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343098037897265152,"km_value":343098037897265.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9188609902021869568,"description":"Unknown IO ID 45"} 
[2026-07-08 19:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580516864001,"power":27397,"unknown_100":206,"unknown_85":12288,"ignition":28,"odometer":null,"unknown_45":9188609902021869568}} 
[2026-07-08 19:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":125761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:06:01] local.INFO: GPS data processed {"connection_id":125761,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:06:01] local.INFO: Acknowledgment sent {"connection_id":125761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:06:04] local.INFO: TCP Data received {"connection_id":127872,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:06:04] local.INFO: Processing buffer {"connection_id":127872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:06:04] local.INFO: IMEI packet received {"connection_id":127872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":127872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:06:05] local.INFO: TCP Data received {"connection_id":127872,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41eeb1f0012d1821000721b350004c00de28..."} 
[2026-07-08 19:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41eeb1f0012d1821000721b350004c00de28..."} 
[2026-07-08 19:06:05] local.INFO: Processing buffer {"connection_id":127872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41eeb1f0012d1821000721b350004c00de28..."} 
[2026-07-08 19:06:05] local.INFO: Packet analysis {"connection_id":127872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ee"} 
[2026-07-08 19:06:05] local.INFO: Extracted packet for processing {"connection_id":127872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ee"} 
[2026-07-08 19:06:05] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649104,"longitude_deg":75.6556032,"latitude_deg":11.9649104,"altitude":76,"angle":222,"satellites":40,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-07-08 19:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580497664001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4930261678555136,"note":"Value kept but may cause issues"} 
[2026-07-08 19:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771892736,"note":"Value kept but may cause issues"} 
[2026-07-08 19:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783517590000,"timestamp_ms":1783517590000,"timestamp_seconds":1783517590,"priority":1,"record_length":96,"hex_timestamp":"0000019f41eeb1f0"} 
[2026-07-08 19:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:06: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-07-08 19: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 19:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580497664001,"66":12385,"105":206,"83":41984,"24":0,"16":4930261678555136,"45":1738670961771892736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580497664001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:06:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:06:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4930261678555136,"km_value":4930261678555.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771892736,"description":"Unknown IO ID 45"} 
[2026-07-08 19:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580497664001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771892736}} 
[2026-07-08 19:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":127872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:06:05] local.INFO: GPS data processed {"connection_id":127872,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:06:05] local.INFO: Acknowledgment sent {"connection_id":127872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:06:36] local.INFO: TCP Data received {"connection_id":127872,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ef03f8012d1821000721b350004c00de28..."} 
[2026-07-08 19:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ef03f8012d1821000721b350004c00de28..."} 
[2026-07-08 19:06:36] local.INFO: Processing buffer {"connection_id":127872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ef03f8012d1821000721b350004c00de28..."} 
[2026-07-08 19:06:36] local.INFO: Packet analysis {"connection_id":127872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ef"} 
[2026-07-08 19:06:36] local.INFO: Extracted packet for processing {"connection_id":127872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ef"} 
[2026-07-08 19:06:36] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649104,"longitude_deg":75.6556032,"latitude_deg":11.9649104,"altitude":76,"angle":222,"satellites":40,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-07-08 19: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-07-08 19:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580503040001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4930261678555136,"note":"Value kept but may cause issues"} 
[2026-07-08 19:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771892736,"note":"Value kept but may cause issues"} 
[2026-07-08 19:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783517611000,"timestamp_ms":1783517611000,"timestamp_seconds":1783517611,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ef03f8"} 
[2026-07-08 19:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 19:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19: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-07-08 19:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580503040001,"66":12341,"105":206,"83":41984,"24":0,"16":4930261678555136,"45":1738670961771892736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580503040001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:06:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:06:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4930261678555136,"km_value":4930261678555.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771892736,"description":"Unknown IO ID 45"} 
[2026-07-08 19:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580503040001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771892736}} 
[2026-07-08 19:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":127872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:06:36] local.INFO: GPS data processed {"connection_id":127872,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:06:36] local.INFO: Acknowledgment sent {"connection_id":127872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:06:37] local.INFO: TCP Data received {"connection_id":125761,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f41efe688012d7f598005c5e0a8000201442d..."} 
[2026-07-08 19:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41efe688012d7f598005c5e0a8000201442d..."} 
[2026-07-08 19:06:37] local.INFO: Processing buffer {"connection_id":125761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41efe688012d7f598005c5e0a8000201442d..."} 
[2026-07-08 19:06:37] local.INFO: Packet analysis {"connection_id":125761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ef"} 
[2026-07-08 19:06:37] local.INFO: Extracted packet for processing {"connection_id":125761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ef"} 
[2026-07-08 19:06:37] local.INFO: GPS Element Parsed {"raw_longitude":763320704,"raw_latitude":96854184,"longitude_deg":76.3320704,"latitude_deg":9.6854184,"altitude":2,"angle":324,"satellites":45,"speed":27,"hex_longitude":"2d7f5980","hex_latitude":"05c5e0a8","is_valid_coordinates":true} 
[2026-07-08 19:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580520192001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343098497458765824,"note":"Value kept but may cause issues"} 
[2026-07-08 19:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9182698927512778752,"note":"Value kept but may cause issues"} 
[2026-07-08 19:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783517669000,"timestamp_ms":1783517669000,"timestamp_seconds":1783517669,"priority":1,"record_length":96,"hex_timestamp":"0000019f41efe688"} 
[2026-07-08 19:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-08 19:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580520192001,"66":27267,"100":206,"85":12288,"24":27,"16":343098497458765824,"45":9182698927512778752},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-07-08 19:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580520192001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:06:37] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-07-08 19:06:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343098497458765824,"km_value":343098497458765.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9182698927512778752,"description":"Unknown IO ID 45"} 
[2026-07-08 19:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580520192001,"power":27267,"unknown_100":206,"unknown_85":12288,"ignition":27,"odometer":null,"unknown_45":9182698927512778752}} 
[2026-07-08 19:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":125761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:06:37] local.INFO: GPS data processed {"connection_id":125761,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:06:37] local.INFO: Acknowledgment sent {"connection_id":125761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:06:56] local.INFO: TCP Data received {"connection_id":127873,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:06:56] local.INFO: Processing buffer {"connection_id":127873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:06:56] local.INFO: IMEI packet received {"connection_id":127873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":127873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:07:00] local.INFO: TCP Data received {"connection_id":127874,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:07:00] local.INFO: Processing buffer {"connection_id":127874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:07:00] local.INFO: IMEI packet received {"connection_id":127874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":127874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:07:01] local.INFO: TCP Data received {"connection_id":127873,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:07:01] local.INFO: Processing buffer {"connection_id":127873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:07:01] local.INFO: IMEI packet received {"connection_id":127873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":127873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:07:04] local.INFO: TCP Data received {"connection_id":127874,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:07:04] local.INFO: Processing buffer {"connection_id":127874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:07:04] local.INFO: IMEI packet received {"connection_id":127874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":127874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:07:05] local.INFO: TCP Data received {"connection_id":127874,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ef59e8012d1821000721b350004c00de26..."} 
[2026-07-08 19:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ef59e8012d1821000721b350004c00de26..."} 
[2026-07-08 19:07:05] local.INFO: Processing buffer {"connection_id":127874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ef59e8012d1821000721b350004c00de26..."} 
[2026-07-08 19:07:05] local.INFO: Packet analysis {"connection_id":127874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ef"} 
[2026-07-08 19:07:05] local.INFO: Extracted packet for processing {"connection_id":127874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ef"} 
[2026-07-08 19:07:05] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649104,"longitude_deg":75.6556032,"latitude_deg":11.9649104,"altitude":76,"angle":222,"satellites":38,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-07-08 19:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580508416001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4930261678555136,"note":"Value kept but may cause issues"} 
[2026-07-08 19:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771892736,"note":"Value kept but may cause issues"} 
[2026-07-08 19:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783517633000,"timestamp_ms":1783517633000,"timestamp_seconds":1783517633,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ef59e8"} 
[2026-07-08 19:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:07: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-07-08 19: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 19:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580508416001,"66":12385,"105":206,"83":41984,"24":0,"16":4930261678555136,"45":1738670961771892736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580508416001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:07:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:07:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4930261678555136,"km_value":4930261678555.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771892736,"description":"Unknown IO ID 45"} 
[2026-07-08 19:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580508416001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771892736}} 
[2026-07-08 19:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":127874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:07:05] local.INFO: GPS data processed {"connection_id":127874,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:07:05] local.INFO: Acknowledgment sent {"connection_id":127874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:07:08] local.INFO: TCP Data received {"connection_id":127873,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41f01d38012d7f438005c5ff000002014229..."} 
[2026-07-08 19:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41f01d38012d7f438005c5ff000002014229..."} 
[2026-07-08 19:07:08] local.INFO: Processing buffer {"connection_id":127873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41f01d38012d7f438005c5ff000002014229..."} 
[2026-07-08 19:07:08] local.INFO: Packet analysis {"connection_id":127873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41f0"} 
[2026-07-08 19:07:08] local.INFO: Extracted packet for processing {"connection_id":127873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41f0"} 
[2026-07-08 19:07:08] local.INFO: GPS Element Parsed {"raw_longitude":763315072,"raw_latitude":96861952,"longitude_deg":76.3315072,"latitude_deg":9.6861952,"altitude":2,"angle":322,"satellites":41,"speed":33,"hex_longitude":"2d7f4380","hex_latitude":"05c5ff00","is_valid_coordinates":true} 
[2026-07-08 19:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580523264001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343098961315233792,"note":"Value kept but may cause issues"} 
[2026-07-08 19:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9176506478027122688,"note":"Value kept but may cause issues"} 
[2026-07-08 19:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783517683000,"timestamp_ms":1783517683000,"timestamp_seconds":1783517683,"priority":1,"record_length":96,"hex_timestamp":"0000019f41f01d38"} 
[2026-07-08 19:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 19:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":127873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":127873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":127873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580523264001,"66":27397,"100":206,"85":12288,"24":33,"16":343098961315233792,"45":9176506478027122688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-07-08 19:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580523264001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:07:08] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-07-08 19:07:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343098961315233792,"km_value":343098961315233.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9176506478027122688,"description":"Unknown IO ID 45"} 
[2026-07-08 19:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580523264001,"power":27397,"unknown_100":206,"unknown_85":12288,"ignition":33,"odometer":null,"unknown_45":9176506478027122688}} 
[2026-07-08 19:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":127873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:07:08] local.INFO: GPS data processed {"connection_id":127873,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:07:08] local.INFO: Acknowledgment sent {"connection_id":127873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:07:36] local.INFO: TCP Data received {"connection_id":127874,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41efa420012d181e800721b0a8004b00cf29..."} 
[2026-07-08 19:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41efa420012d181e800721b0a8004b00cf29..."} 
[2026-07-08 19:07:36] local.INFO: Processing buffer {"connection_id":127874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41efa420012d181e800721b0a8004b00cf29..."} 
[2026-07-08 19:07:36] local.INFO: Packet analysis {"connection_id":127874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ef"} 
[2026-07-08 19:07:36] local.INFO: Extracted packet for processing {"connection_id":127874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ef"} 
[2026-07-08 19:07:36] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648424,"longitude_deg":75.6555392,"latitude_deg":11.9648424,"altitude":75,"angle":207,"satellites":41,"speed":1,"hex_longitude":"2d181e80","hex_latitude":"0721b0a8","is_valid_coordinates":true} 
[2026-07-08 19:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580514048001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4930304628228096,"note":"Value kept but may cause issues"} 
[2026-07-08 19:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771892736,"note":"Value kept but may cause issues"} 
[2026-07-08 19:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783517652000,"timestamp_ms":1783517652000,"timestamp_seconds":1783517652,"priority":1,"record_length":96,"hex_timestamp":"0000019f41efa420"} 
[2026-07-08 19:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 19:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580514048001,"66":12385,"105":206,"83":41984,"24":1,"16":4930304628228096,"45":1738670961771892736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580514048001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:07:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:07:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4930304628228096,"km_value":4930304628228.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771892736,"description":"Unknown IO ID 45"} 
[2026-07-08 19:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580514048001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1738670961771892736}} 
[2026-07-08 19:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":127874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:07:36] local.INFO: GPS data processed {"connection_id":127874,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:07:36] local.INFO: Acknowledgment sent {"connection_id":127874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:07:44] local.INFO: TCP Data received {"connection_id":127873,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f41f06f40012d7f370005c60fb00003014329..."} 
[2026-07-08 19:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41f06f40012d7f370005c60fb00003014329..."} 
[2026-07-08 19:07:44] local.INFO: Processing buffer {"connection_id":127873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41f06f40012d7f370005c60fb00003014329..."} 
[2026-07-08 19:07:44] local.INFO: Packet analysis {"connection_id":127873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41f0"} 
[2026-07-08 19:07:44] local.INFO: Extracted packet for processing {"connection_id":127873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41f0"} 
[2026-07-08 19:07:44] local.INFO: GPS Element Parsed {"raw_longitude":763311872,"raw_latitude":96866224,"longitude_deg":76.3311872,"latitude_deg":9.6866224,"altitude":3,"angle":323,"satellites":41,"speed":13,"hex_longitude":"2d7f3700","hex_latitude":"05c60fb0","is_valid_coordinates":true} 
[2026-07-08 19:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580526848001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343099227603206144,"note":"Value kept but may cause issues"} 
[2026-07-08 19:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9170314028541476864,"note":"Value kept but may cause issues"} 
[2026-07-08 19:07:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783517704000,"timestamp_ms":1783517704000,"timestamp_seconds":1783517704,"priority":1,"record_length":96,"hex_timestamp":"0000019f41f06f40"} 
[2026-07-08 19:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:07: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-07-08 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-08 19:07:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":127873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":127873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":127873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580526848001,"66":27397,"100":206,"85":12288,"24":13,"16":343099227603206144,"45":9170314028541476864},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-07-08 19:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580526848001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:07:44] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-07-08 19:07:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343099227603206144,"km_value":343099227603206.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9170314028541476864,"description":"Unknown IO ID 45"} 
[2026-07-08 19:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580526848001,"power":27397,"unknown_100":206,"unknown_85":12288,"ignition":13,"odometer":null,"unknown_45":9170314028541476864}} 
[2026-07-08 19:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":127873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:07:44] local.INFO: GPS data processed {"connection_id":127873,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:07:44] local.INFO: Acknowledgment sent {"connection_id":127873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:07:58] local.INFO: TCP Data received {"connection_id":125874,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:07:58] local.INFO: Processing buffer {"connection_id":125874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:07:58] local.INFO: IMEI packet received {"connection_id":125874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":125874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:07:59] local.INFO: TCP Data received {"connection_id":125874,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:07:59] local.INFO: Processing buffer {"connection_id":125874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:07:59] local.INFO: IMEI packet received {"connection_id":125874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":125874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:08:05] local.INFO: TCP Data received {"connection_id":126642,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:08:05] local.INFO: Processing buffer {"connection_id":126642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:08:05] local.INFO: IMEI packet received {"connection_id":126642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":126642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:08:07] local.INFO: TCP Data received {"connection_id":125874,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:08:07] local.INFO: Processing buffer {"connection_id":125874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:08:07] local.INFO: IMEI packet received {"connection_id":125874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":125874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:08:08] local.INFO: TCP Data received {"connection_id":125874,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41eff628012d181e800721b0a8004b00cf29..."} 
[2026-07-08 19:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41eff628012d181e800721b0a8004b00cf29..."} 
[2026-07-08 19:08:08] local.INFO: Processing buffer {"connection_id":125874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41eff628012d181e800721b0a8004b00cf29..."} 
[2026-07-08 19:08:08] local.INFO: Packet analysis {"connection_id":125874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ef"} 
[2026-07-08 19:08:08] local.INFO: Extracted packet for processing {"connection_id":125874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ef"} 
[2026-07-08 19:08:08] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648424,"longitude_deg":75.6555392,"latitude_deg":11.9648424,"altitude":75,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b0a8","is_valid_coordinates":true} 
[2026-07-08 19:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580518912001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4930304628228096,"note":"Value kept but may cause issues"} 
[2026-07-08 19:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329942016,"note":"Value kept but may cause issues"} 
[2026-07-08 19:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783517673000,"timestamp_ms":1783517673000,"timestamp_seconds":1783517673,"priority":1,"record_length":96,"hex_timestamp":"0000019f41eff628"} 
[2026-07-08 19:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:08: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-07-08 19:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 19:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580518912001,"66":12374,"105":206,"83":41984,"24":0,"16":4930304628228096,"45":1737967274329942016},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580518912001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:08:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:08:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4930304628228096,"km_value":4930304628228.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329942016,"description":"Unknown IO ID 45"} 
[2026-07-08 19:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580518912001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329942016}} 
[2026-07-08 19:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":125874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:08:08] local.INFO: GPS data processed {"connection_id":125874,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:08:08] local.INFO: Acknowledgment sent {"connection_id":125874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:08:11] local.INFO: TCP Data received {"connection_id":126642,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:08:11] local.INFO: Processing buffer {"connection_id":126642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:08:11] local.INFO: IMEI packet received {"connection_id":126642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":126642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:08:12] local.INFO: TCP Data received {"connection_id":126642,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f41f0c148012d7f258005c626b80004014d2c..."} 
[2026-07-08 19:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41f0c148012d7f258005c626b80004014d2c..."} 
[2026-07-08 19:08:12] local.INFO: Processing buffer {"connection_id":126642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41f0c148012d7f258005c626b80004014d2c..."} 
[2026-07-08 19:08:12] local.INFO: Packet analysis {"connection_id":126642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41f0"} 
[2026-07-08 19:08:12] local.INFO: Extracted packet for processing {"connection_id":126642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41f0"} 
[2026-07-08 19:08:12] local.INFO: GPS Element Parsed {"raw_longitude":763307392,"raw_latitude":96872120,"longitude_deg":76.3307392,"latitude_deg":9.687212,"altitude":4,"angle":333,"satellites":44,"speed":18,"hex_longitude":"2d7f2580","hex_latitude":"05c626b8","is_valid_coordinates":true} 
[2026-07-08 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-07-08 19:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580532224001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343099584085491712,"note":"Value kept but may cause issues"} 
[2026-07-08 19:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9166795591333687296,"note":"Value kept but may cause issues"} 
[2026-07-08 19:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783517725000,"timestamp_ms":1783517725000,"timestamp_seconds":1783517725,"priority":1,"record_length":96,"hex_timestamp":"0000019f41f0c148"} 
[2026-07-08 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-07-08 19:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-08 19:08:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 19:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":126642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":126642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":126642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580532224001,"66":27343,"100":206,"85":12288,"24":18,"16":343099584085491712,"45":9166795591333687296},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-07-08 19:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580532224001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:08:12] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-07-08 19:08:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343099584085491712,"km_value":343099584085491.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9166795591333687296,"description":"Unknown IO ID 45"} 
[2026-07-08 19:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580532224001,"power":27343,"unknown_100":206,"unknown_85":12288,"ignition":18,"odometer":null,"unknown_45":9166795591333687296}} 
[2026-07-08 19:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":126642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:08:12] local.INFO: GPS data processed {"connection_id":126642,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:08:12] local.INFO: Acknowledgment sent {"connection_id":126642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:08:42] local.INFO: TCP Data received {"connection_id":125874,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41f04830012d181e800721b0a8004b00cf28..."} 
[2026-07-08 19:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41f04830012d181e800721b0a8004b00cf28..."} 
[2026-07-08 19:08:42] local.INFO: Processing buffer {"connection_id":125874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41f04830012d181e800721b0a8004b00cf28..."} 
[2026-07-08 19:08:42] local.INFO: Packet analysis {"connection_id":125874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41f0"} 
[2026-07-08 19:08:42] local.INFO: Extracted packet for processing {"connection_id":125874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41f0"} 
[2026-07-08 19:08:42] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648424,"longitude_deg":75.6555392,"latitude_deg":11.9648424,"altitude":75,"angle":207,"satellites":40,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b0a8","is_valid_coordinates":true} 
[2026-07-08 19:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580524288001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4930304628228096,"note":"Value kept but may cause issues"} 
[2026-07-08 19:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329942016,"note":"Value kept but may cause issues"} 
[2026-07-08 19:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783517694000,"timestamp_ms":1783517694000,"timestamp_seconds":1783517694,"priority":1,"record_length":96,"hex_timestamp":"0000019f41f04830"} 
[2026-07-08 19:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 19:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":125874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":125874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":125874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580524288001,"66":12374,"105":206,"83":41984,"24":0,"16":4930304628228096,"45":1737967274329942016},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580524288001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:08:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:08:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4930304628228096,"km_value":4930304628228.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329942016,"description":"Unknown IO ID 45"} 
[2026-07-08 19:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580524288001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329942016}} 
[2026-07-08 19:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":125874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:08:42] local.INFO: GPS data processed {"connection_id":125874,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:08:42] local.INFO: Acknowledgment sent {"connection_id":125874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:08:55] local.INFO: TCP Data received {"connection_id":125762,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:08:55] local.INFO: Processing buffer {"connection_id":125762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:08:55] local.INFO: IMEI packet received {"connection_id":125762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":125762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:08:59] local.INFO: TCP Data received {"connection_id":127875,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:08:59] local.INFO: Processing buffer {"connection_id":127875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:08:59] local.INFO: IMEI packet received {"connection_id":127875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":127875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:09:02] local.INFO: TCP Data received {"connection_id":127875,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:09:02] local.INFO: Processing buffer {"connection_id":127875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:09:02] local.INFO: IMEI packet received {"connection_id":127875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":127875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:09:04] local.INFO: TCP Data received {"connection_id":127875,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:09:04] local.INFO: Processing buffer {"connection_id":127875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:09:04] local.INFO: IMEI packet received {"connection_id":127875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":127875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:09:05] local.INFO: TCP Data received {"connection_id":127875,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41f09650012d181e800721b0a8004b00cf2a..."} 
[2026-07-08 19:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41f09650012d181e800721b0a8004b00cf2a..."} 
[2026-07-08 19:09:05] local.INFO: Processing buffer {"connection_id":127875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41f09650012d181e800721b0a8004b00cf2a..."} 
[2026-07-08 19:09:05] local.INFO: Packet analysis {"connection_id":127875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41f0"} 
[2026-07-08 19:09:05] local.INFO: Extracted packet for processing {"connection_id":127875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41f0"} 
[2026-07-08 19:09:05] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648424,"longitude_deg":75.6555392,"latitude_deg":11.9648424,"altitude":75,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b0a8","is_valid_coordinates":true} 
[2026-07-08 19:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580529664001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4930304628228096,"note":"Value kept but may cause issues"} 
[2026-07-08 19:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329942016,"note":"Value kept but may cause issues"} 
[2026-07-08 19:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783517714000,"timestamp_ms":1783517714000,"timestamp_seconds":1783517714,"priority":1,"record_length":96,"hex_timestamp":"0000019f41f09650"} 
[2026-07-08 19:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:09: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-07-08 19: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 19:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580529664001,"66":12341,"105":206,"83":41984,"24":0,"16":4930304628228096,"45":1737967274329942016},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580529664001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:09:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:09:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4930304628228096,"km_value":4930304628228.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329942016,"description":"Unknown IO ID 45"} 
[2026-07-08 19:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580529664001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329942016}} 
[2026-07-08 19:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":127875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:09:05] local.INFO: GPS data processed {"connection_id":127875,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:09:05] local.INFO: Acknowledgment sent {"connection_id":127875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:09:25] local.INFO: TCP Data received {"connection_id":125762,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:09:25] local.INFO: Processing buffer {"connection_id":125762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:09:25] local.INFO: IMEI packet received {"connection_id":125762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":125762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:09:27] local.INFO: TCP Data received {"connection_id":125762,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f41f0fbe0012d7f11c005c64520000501442b..."} 
[2026-07-08 19:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41f0fbe0012d7f11c005c64520000501442b..."} 
[2026-07-08 19:09:27] local.INFO: Processing buffer {"connection_id":125762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41f0fbe0012d7f11c005c64520000501442b..."} 
[2026-07-08 19:09:27] local.INFO: Packet analysis {"connection_id":125762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41f0"} 
[2026-07-08 19:09:27] local.INFO: Extracted packet for processing {"connection_id":125762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41f0"} 
[2026-07-08 19:09:27] local.INFO: GPS Element Parsed {"raw_longitude":763302336,"raw_latitude":96879904,"longitude_deg":76.3302336,"latitude_deg":9.6879904,"altitude":5,"angle":324,"satellites":43,"speed":28,"hex_longitude":"2d7f11c0","hex_latitude":"05c64520","is_valid_coordinates":true} 
[2026-07-08 19:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580537600001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:09:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-08 19:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343100035057057792,"note":"Value kept but may cause issues"} 
[2026-07-08 19:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9161869779242760192,"note":"Value kept but may cause issues"} 
[2026-07-08 19:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-08 19:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783517740000,"timestamp_ms":1783517740000,"timestamp_seconds":1783517740,"priority":1,"record_length":96,"hex_timestamp":"0000019f41f0fbe0"} 
[2026-07-08 19:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 19:09:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":125762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":125762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":125762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580537600001,"66":27310,"200":0,"85":12288,"24":28,"16":343100035057057792,"45":9161869779242760192},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-07-08 19:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580537600001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:09:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343100035057057792,"km_value":343100035057057.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9161869779242760192,"description":"Unknown IO ID 45"} 
[2026-07-08 19:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580537600001,"power":27310,"gsm_signal":0,"unknown_85":12288,"ignition":28,"odometer":null,"unknown_45":9161869779242760192}} 
[2026-07-08 19:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":125762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:09:27] local.INFO: GPS data processed {"connection_id":125762,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:09:27] local.INFO: Acknowledgment sent {"connection_id":125762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:09:37] local.INFO: TCP Data received {"connection_id":127875,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41f0e858012d181e800721b0a8004b00cf2a..."} 
[2026-07-08 19:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41f0e858012d181e800721b0a8004b00cf2a..."} 
[2026-07-08 19:09:37] local.INFO: Processing buffer {"connection_id":127875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41f0e858012d181e800721b0a8004b00cf2a..."} 
[2026-07-08 19:09:37] local.INFO: Packet analysis {"connection_id":127875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41f0"} 
[2026-07-08 19:09:37] local.INFO: Extracted packet for processing {"connection_id":127875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41f0"} 
[2026-07-08 19:09:37] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648424,"longitude_deg":75.6555392,"latitude_deg":11.9648424,"altitude":75,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b0a8","is_valid_coordinates":true} 
[2026-07-08 19:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580534784001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4930304628228096,"note":"Value kept but may cause issues"} 
[2026-07-08 19:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329942016,"note":"Value kept but may cause issues"} 
[2026-07-08 19:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783517735000,"timestamp_ms":1783517735000,"timestamp_seconds":1783517735,"priority":1,"record_length":96,"hex_timestamp":"0000019f41f0e858"} 
[2026-07-08 19:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 19:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580534784001,"66":12363,"105":206,"83":41984,"24":0,"16":4930304628228096,"45":1737967274329942016},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580534784001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:09:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:09:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4930304628228096,"km_value":4930304628228.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329942016,"description":"Unknown IO ID 45"} 
[2026-07-08 19:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580534784001,"power":12363,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329942016}} 
[2026-07-08 19:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":127875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:09:37] local.INFO: GPS data processed {"connection_id":127875,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:09:37] local.INFO: Acknowledgment sent {"connection_id":127875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:09:59] local.INFO: TCP Data received {"connection_id":127876,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:09:59] local.INFO: Processing buffer {"connection_id":127876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:09:59] local.INFO: IMEI packet received {"connection_id":127876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":127876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:10:05] local.INFO: TCP Data received {"connection_id":127876,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:10:05] local.INFO: Processing buffer {"connection_id":127876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:10:05] local.INFO: IMEI packet received {"connection_id":127876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":127876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:10:05] local.INFO: TCP Data received {"connection_id":127876,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41f13a60012d181e800721b0a8004b00cf29..."} 
[2026-07-08 19:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41f13a60012d181e800721b0a8004b00cf29..."} 
[2026-07-08 19:10:05] local.INFO: Processing buffer {"connection_id":127876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41f13a60012d181e800721b0a8004b00cf29..."} 
[2026-07-08 19:10:05] local.INFO: Packet analysis {"connection_id":127876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41f1"} 
[2026-07-08 19:10:05] local.INFO: Extracted packet for processing {"connection_id":127876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41f1"} 
[2026-07-08 19:10:05] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648424,"longitude_deg":75.6555392,"latitude_deg":11.9648424,"altitude":75,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b0a8","is_valid_coordinates":true} 
[2026-07-08 19:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580540160001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4930304628228096,"note":"Value kept but may cause issues"} 
[2026-07-08 19:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329942016,"note":"Value kept but may cause issues"} 
[2026-07-08 19:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783517756000,"timestamp_ms":1783517756000,"timestamp_seconds":1783517756,"priority":1,"record_length":96,"hex_timestamp":"0000019f41f13a60"} 
[2026-07-08 19:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:10: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-07-08 19: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 19:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580540160001,"66":12341,"105":206,"83":41984,"24":0,"16":4930304628228096,"45":1737967274329942016},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580540160001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:10:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:10:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4930304628228096,"km_value":4930304628228.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329942016,"description":"Unknown IO ID 45"} 
[2026-07-08 19:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580540160001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329942016}} 
[2026-07-08 19:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":127876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:10:05] local.INFO: GPS data processed {"connection_id":127876,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:10:05] local.INFO: Acknowledgment sent {"connection_id":127876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:10:10] local.INFO: TCP Data received {"connection_id":125875,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:10:10] local.INFO: Processing buffer {"connection_id":125875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:10:10] local.INFO: IMEI packet received {"connection_id":125875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":125875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:10:15] local.INFO: TCP Data received {"connection_id":125875,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:10:15] local.INFO: Processing buffer {"connection_id":125875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:10:15] local.INFO: IMEI packet received {"connection_id":125875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":125875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:10:20] local.INFO: TCP Data received {"connection_id":125763,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125763,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:10:20] local.INFO: Processing buffer {"connection_id":125763,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:10:20] local.INFO: IMEI packet received {"connection_id":125763,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 19:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":125763,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:10:22] local.INFO: TCP Data received {"connection_id":125875,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f41f13678012d7efdc005c661a00005014b2d..."} 
[2026-07-08 19:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41f13678012d7efdc005c661a00005014b2d..."} 
[2026-07-08 19:10:22] local.INFO: Processing buffer {"connection_id":125875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41f13678012d7efdc005c661a00005014b2d..."} 
[2026-07-08 19:10:22] local.INFO: Packet analysis {"connection_id":125875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41f1"} 
[2026-07-08 19:10:22] local.INFO: Extracted packet for processing {"connection_id":125875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41f1"} 
[2026-07-08 19:10:22] local.INFO: GPS Element Parsed {"raw_longitude":763297216,"raw_latitude":96887200,"longitude_deg":76.3297216,"latitude_deg":9.68872,"altitude":5,"angle":331,"satellites":45,"speed":20,"hex_longitude":"2d7efdc0","hex_latitude":"05c661a0","is_valid_coordinates":true} 
[2026-07-08 19: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-07-08 19:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580541440001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:10:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-08 19:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343100464553787392,"note":"Value kept but may cause issues"} 
[2026-07-08 19:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9156310648454717440,"note":"Value kept but may cause issues"} 
[2026-07-08 19:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-08 19:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783517755000,"timestamp_ms":1783517755000,"timestamp_seconds":1783517755,"priority":1,"record_length":96,"hex_timestamp":"0000019f41f13678"} 
[2026-07-08 19:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-08 19:10:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19: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-07-08 19:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":125875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":125875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":125875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:10: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-07-08 19:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580541440001,"66":27919,"200":0,"85":12288,"24":20,"16":343100464553787392,"45":9156310648454717440},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-07-08 19:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580541440001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:10:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343100464553787392,"km_value":343100464553787.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9156310648454717440,"description":"Unknown IO ID 45"} 
[2026-07-08 19:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580541440001,"power":27919,"gsm_signal":0,"unknown_85":12288,"ignition":20,"odometer":null,"unknown_45":9156310648454717440}} 
[2026-07-08 19:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":125875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:10:22] local.INFO: GPS data processed {"connection_id":125875,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:10:22] local.INFO: Acknowledgment sent {"connection_id":125875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:10:37] local.INFO: TCP Data received {"connection_id":127876,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41f48df0012d180c0007219480004900df2b..."} 
[2026-07-08 19:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41f48df0012d180c0007219480004900df2b..."} 
[2026-07-08 19:10:37] local.INFO: Processing buffer {"connection_id":127876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41f48df0012d180c0007219480004900df2b..."} 
[2026-07-08 19:10:37] local.INFO: Packet analysis {"connection_id":127876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41f4"} 
[2026-07-08 19:10:37] local.INFO: Extracted packet for processing {"connection_id":127876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41f4"} 
[2026-07-08 19:10:37] local.INFO: GPS Element Parsed {"raw_longitude":756550656,"raw_latitude":119641216,"longitude_deg":75.6550656,"latitude_deg":11.9641216,"altitude":73,"angle":223,"satellites":43,"speed":0,"hex_longitude":"2d180c00","hex_latitude":"07219480","is_valid_coordinates":true} 
[2026-07-08 19:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580595968001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4930729829990400,"note":"Value kept but may cause issues"} 
[2026-07-08 19:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732759987258949632,"note":"Value kept but may cause issues"} 
[2026-07-08 19:10: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-07-08 19:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783517974000,"timestamp_ms":1783517974000,"timestamp_seconds":1783517974,"priority":1,"record_length":96,"hex_timestamp":"0000019f41f48df0"} 
[2026-07-08 19:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:10: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-07-08 19:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-08 19:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580595968001,"66":13656,"107":206,"83":41984,"24":0,"16":4930729829990400,"45":1732759987258949632},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-08 19:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580595968001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:10:37] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-08 19:10:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4930729829990400,"km_value":4930729829990.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732759987258949632,"description":"Unknown IO ID 45"} 
[2026-07-08 19:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580595968001,"power":13656,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1732759987258949632}} 
[2026-07-08 19:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":127876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:10:37] local.INFO: GPS data processed {"connection_id":127876,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:10:37] local.INFO: Acknowledgment sent {"connection_id":127876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:10:55] local.INFO: TCP Data received {"connection_id":126644,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126644,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:10:55] local.INFO: Processing buffer {"connection_id":126644,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:10:55] local.INFO: IMEI packet received {"connection_id":126644,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 19:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":126644,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:10:56] local.INFO: TCP Data received {"connection_id":127877,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:10:56] local.INFO: Processing buffer {"connection_id":127877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:10:56] local.INFO: IMEI packet received {"connection_id":127877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":127877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:10:59] local.INFO: TCP Data received {"connection_id":125876,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:10:59] local.INFO: Processing buffer {"connection_id":125876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:10:59] local.INFO: IMEI packet received {"connection_id":125876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":125876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:11:00] local.INFO: TCP Data received {"connection_id":127877,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:11:00] local.INFO: Processing buffer {"connection_id":127877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:11:00] local.INFO: IMEI packet received {"connection_id":127877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":127877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:11:01] local.INFO: TCP Data received {"connection_id":127877,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f41f13a60012d7efcc005c663380005014a2d..."} 
[2026-07-08 19:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41f13a60012d7efcc005c663380005014a2d..."} 
[2026-07-08 19:11:01] local.INFO: Processing buffer {"connection_id":127877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41f13a60012d7efcc005c663380005014a2d..."} 
[2026-07-08 19:11:01] local.INFO: Packet analysis {"connection_id":127877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41f1"} 
[2026-07-08 19:11:01] local.INFO: Extracted packet for processing {"connection_id":127877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41f1"} 
[2026-07-08 19:11:01] local.INFO: GPS Element Parsed {"raw_longitude":763296960,"raw_latitude":96887608,"longitude_deg":76.329696,"latitude_deg":9.6887608,"altitude":5,"angle":330,"satellites":45,"speed":18,"hex_longitude":"2d7efcc0","hex_latitude":"05c66338","is_valid_coordinates":true} 
[2026-07-08 19:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580545280001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343100490323591168,"note":"Value kept but may cause issues"} 
[2026-07-08 19:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9150681148922372096,"note":"Value kept but may cause issues"} 
[2026-07-08 19:11:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783517756000,"timestamp_ms":1783517756000,"timestamp_seconds":1783517756,"priority":1,"record_length":96,"hex_timestamp":"0000019f41f13a60"} 
[2026-07-08 19:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:11:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 19:11:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:11:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580545280001,"66":27821,"244":206,"85":12288,"24":18,"16":343100490323591168,"45":9150681148922372096},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-08 19:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580545280001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:11:01] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-08 19:11:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343100490323591168,"km_value":343100490323591.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9150681148922372096,"description":"Unknown IO ID 45"} 
[2026-07-08 19:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580545280001,"power":27821,"unknown_244":206,"unknown_85":12288,"ignition":18,"odometer":null,"unknown_45":9150681148922372096}} 
[2026-07-08 19:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":127877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:11:01] local.INFO: GPS data processed {"connection_id":127877,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:11:01] local.INFO: Acknowledgment sent {"connection_id":127877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:11:05] local.INFO: TCP Data received {"connection_id":125876,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:11:05] local.INFO: Processing buffer {"connection_id":125876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:11:05] local.INFO: IMEI packet received {"connection_id":125876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":125876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:11:05] local.INFO: TCP Data received {"connection_id":125876,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41f4a560012d180b8007219370004b00d42c..."} 
[2026-07-08 19:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41f4a560012d180b8007219370004b00d42c..."} 
[2026-07-08 19:11:05] local.INFO: Processing buffer {"connection_id":125876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41f4a560012d180b8007219370004b00d42c..."} 
[2026-07-08 19:11:05] local.INFO: Packet analysis {"connection_id":125876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41f4"} 
[2026-07-08 19:11:05] local.INFO: Extracted packet for processing {"connection_id":125876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41f4"} 
[2026-07-08 19:11:05] local.INFO: GPS Element Parsed {"raw_longitude":756550528,"raw_latitude":119640944,"longitude_deg":75.6550528,"latitude_deg":11.9640944,"altitude":75,"angle":212,"satellites":44,"speed":1,"hex_longitude":"2d180b80","hex_latitude":"07219370","is_valid_coordinates":true} 
[2026-07-08 19:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580601344001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4930742714892288,"note":"Value kept but may cause issues"} 
[2026-07-08 19:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732759987258949632,"note":"Value kept but may cause issues"} 
[2026-07-08 19:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783517980000,"timestamp_ms":1783517980000,"timestamp_seconds":1783517980,"priority":1,"record_length":96,"hex_timestamp":"0000019f41f4a560"} 
[2026-07-08 19:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:11: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-07-08 19: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-07-08 19:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580601344001,"66":13646,"107":206,"83":41984,"24":1,"16":4930742714892288,"45":1732759987258949632},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-08 19:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580601344001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:11:05] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-08 19:11:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4930742714892288,"km_value":4930742714892.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732759987258949632,"description":"Unknown IO ID 45"} 
[2026-07-08 19:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580601344001,"power":13646,"unknown_107":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1732759987258949632}} 
[2026-07-08 19:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":125876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:11:05] local.INFO: GPS data processed {"connection_id":125876,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:11:05] local.INFO: Acknowledgment sent {"connection_id":125876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:11:37] local.INFO: TCP Data received {"connection_id":127877,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f41f13a60012d7efcc005c663380005014a2d..."} 
[2026-07-08 19:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41f13a60012d7efcc005c663380005014a2d..."} 
[2026-07-08 19:11:37] local.INFO: Processing buffer {"connection_id":127877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41f13a60012d7efcc005c663380005014a2d..."} 
[2026-07-08 19:11:37] local.INFO: Packet analysis {"connection_id":127877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41f1"} 
[2026-07-08 19:11:37] local.INFO: Extracted packet for processing {"connection_id":127877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41f1"} 
[2026-07-08 19:11:37] local.INFO: GPS Element Parsed {"raw_longitude":763296960,"raw_latitude":96887608,"longitude_deg":76.329696,"latitude_deg":9.6887608,"altitude":5,"angle":330,"satellites":45,"speed":18,"hex_longitude":"2d7efcc0","hex_latitude":"05c66338","is_valid_coordinates":true} 
[2026-07-08 19:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580545280001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343100490323591168,"note":"Value kept but may cause issues"} 
[2026-07-08 19:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9150681148922372096,"note":"Value kept but may cause issues"} 
[2026-07-08 19:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783517756000,"timestamp_ms":1783517756000,"timestamp_seconds":1783517756,"priority":1,"record_length":96,"hex_timestamp":"0000019f41f13a60"} 
[2026-07-08 19:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 19:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580545280001,"66":27821,"244":206,"85":12288,"24":18,"16":343100490323591168,"45":9150681148922372096},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-08 19:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580545280001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:11:37] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-08 19:11:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343100490323591168,"km_value":343100490323591.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9150681148922372096,"description":"Unknown IO ID 45"} 
[2026-07-08 19:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580545280001,"power":27821,"unknown_244":206,"unknown_85":12288,"ignition":18,"odometer":null,"unknown_45":9150681148922372096}} 
[2026-07-08 19:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":127877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:11:37] local.INFO: GPS data processed {"connection_id":127877,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:11:37] local.INFO: Acknowledgment sent {"connection_id":127877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:11:39] local.INFO: TCP Data received {"connection_id":125876,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41f587f0012d17e04007219228004e01462a..."} 
[2026-07-08 19:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41f587f0012d17e04007219228004e01462a..."} 
[2026-07-08 19:11:39] local.INFO: Processing buffer {"connection_id":125876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41f587f0012d17e04007219228004e01462a..."} 
[2026-07-08 19:11:39] local.INFO: Packet analysis {"connection_id":125876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41f5"} 
[2026-07-08 19:11:39] local.INFO: Extracted packet for processing {"connection_id":125876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41f5"} 
[2026-07-08 19:11:39] local.INFO: GPS Element Parsed {"raw_longitude":756539456,"raw_latitude":119640616,"longitude_deg":75.6539456,"latitude_deg":11.9640616,"altitude":78,"angle":326,"satellites":42,"speed":6,"hex_longitude":"2d17e040","hex_latitude":"07219228","is_valid_coordinates":true} 
[2026-07-08 19:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580617216001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4931442794561536,"note":"Value kept but may cause issues"} 
[2026-07-08 19:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1720515825771806720,"note":"Value kept but may cause issues"} 
[2026-07-08 19:11: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-07-08 19:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783518038000,"timestamp_ms":1783518038000,"timestamp_seconds":1783518038,"priority":1,"record_length":96,"hex_timestamp":"0000019f41f587f0"} 
[2026-07-08 19:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:11: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-07-08 19:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-08 19:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580617216001,"66":13352,"107":206,"83":41984,"24":6,"16":4931442794561536,"45":1720515825771806720},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-08 19:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580617216001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:11:39] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-08 19:11:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4931442794561536,"km_value":4931442794561.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1720515825771806720,"description":"Unknown IO ID 45"} 
[2026-07-08 19:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580617216001,"power":13352,"unknown_107":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1720515825771806720}} 
[2026-07-08 19:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":125876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:11:39] local.INFO: GPS data processed {"connection_id":125876,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:11:39] local.INFO: Acknowledgment sent {"connection_id":125876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:11:55] local.INFO: TCP Data received {"connection_id":125764,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:11:55] local.INFO: Processing buffer {"connection_id":125764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:11:55] local.INFO: IMEI packet received {"connection_id":125764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":125764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:12:04] local.INFO: TCP Data received {"connection_id":127879,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:12:04] local.INFO: Processing buffer {"connection_id":127879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:12:04] local.INFO: IMEI packet received {"connection_id":127879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":127879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:12:04] local.INFO: TCP Data received {"connection_id":127879,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:12:04] local.INFO: Processing buffer {"connection_id":127879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:12:04] local.INFO: IMEI packet received {"connection_id":127879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":127879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:12:05] local.INFO: TCP Data received {"connection_id":127879,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:12:05] local.INFO: Processing buffer {"connection_id":127879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:12:05] local.INFO: IMEI packet received {"connection_id":127879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":127879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:12:05] local.INFO: TCP Data received {"connection_id":127879,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:12:05] local.INFO: Processing buffer {"connection_id":127879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:12:05] local.INFO: IMEI packet received {"connection_id":127879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":127879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:12:06] local.INFO: TCP Data received {"connection_id":127879,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41f58fc0012d17df0007219318004e012a2b..."} 
[2026-07-08 19:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41f58fc0012d17df0007219318004e012a2b..."} 
[2026-07-08 19:12:06] local.INFO: Processing buffer {"connection_id":127879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41f58fc0012d17df0007219318004e012a2b..."} 
[2026-07-08 19:12:06] local.INFO: Packet analysis {"connection_id":127879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41f5"} 
[2026-07-08 19:12:06] local.INFO: Extracted packet for processing {"connection_id":127879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41f5"} 
[2026-07-08 19:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756539136,"raw_latitude":119640856,"longitude_deg":75.6539136,"latitude_deg":11.9640856,"altitude":78,"angle":298,"satellites":43,"speed":7,"hex_longitude":"2d17df00","hex_latitude":"07219318","is_valid_coordinates":true} 
[2026-07-08 19:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580617728001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4931459974430720,"note":"Value kept but may cause issues"} 
[2026-07-08 19:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1720445457027704832,"note":"Value kept but may cause issues"} 
[2026-07-08 19:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783518040000,"timestamp_ms":1783518040000,"timestamp_seconds":1783518040,"priority":1,"record_length":96,"hex_timestamp":"0000019f41f58fc0"} 
[2026-07-08 19:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-08 19:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580617728001,"66":13374,"107":206,"83":41984,"24":7,"16":4931459974430720,"45":1720445457027704832},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-08 19:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580617728001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:12:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-08 19:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4931459974430720,"km_value":4931459974430.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1720445457027704832,"description":"Unknown IO ID 45"} 
[2026-07-08 19:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580617728001,"power":13374,"unknown_107":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1720445457027704832}} 
[2026-07-08 19:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":127879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:12:06] local.INFO: GPS data processed {"connection_id":127879,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:12:06] local.INFO: Acknowledgment sent {"connection_id":127879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:12:07] local.INFO: TCP Data received {"connection_id":127879,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41f5c288012d17d200072198e8004d011b2a..."} 
[2026-07-08 19:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41f5c288012d17d200072198e8004d011b2a..."} 
[2026-07-08 19:12:07] local.INFO: Processing buffer {"connection_id":127879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41f5c288012d17d200072198e8004d011b2a..."} 
[2026-07-08 19:12:07] local.INFO: Packet analysis {"connection_id":127879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41f5"} 
[2026-07-08 19:12:07] local.INFO: Extracted packet for processing {"connection_id":127879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41f5"} 
[2026-07-08 19:12:07] local.INFO: GPS Element Parsed {"raw_longitude":756535808,"raw_latitude":119642344,"longitude_deg":75.6535808,"latitude_deg":11.9642344,"altitude":77,"angle":283,"satellites":42,"speed":15,"hex_longitude":"2d17d200","hex_latitude":"072198e8","is_valid_coordinates":true} 
[2026-07-08 19:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580618240001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4931636068089856,"note":"Value kept but may cause issues"} 
[2026-07-08 19:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1720093613306877952,"note":"Value kept but may cause issues"} 
[2026-07-08 19:12: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-07-08 19:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783518053000,"timestamp_ms":1783518053000,"timestamp_seconds":1783518053,"priority":1,"record_length":96,"hex_timestamp":"0000019f41f5c288"} 
[2026-07-08 19:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:12: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-07-08 19:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-08 19:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580618240001,"66":13559,"107":206,"83":41984,"24":15,"16":4931636068089856,"45":1720093613306877952},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-08 19:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580618240001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:12:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-08 19:12:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4931636068089856,"km_value":4931636068089.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1720093613306877952,"description":"Unknown IO ID 45"} 
[2026-07-08 19:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580618240001,"power":13559,"unknown_107":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1720093613306877952}} 
[2026-07-08 19:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":127879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:12:07] local.INFO: GPS data processed {"connection_id":127879,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:12:07] local.INFO: Acknowledgment sent {"connection_id":127879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:12:08] local.INFO: TCP Data received {"connection_id":127879,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41f5e1c8012d17cb80072199a0004a010b28..."} 
[2026-07-08 19:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41f5e1c8012d17cb80072199a0004a010b28..."} 
[2026-07-08 19:12:08] local.INFO: Processing buffer {"connection_id":127879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41f5e1c8012d17cb80072199a0004a010b28..."} 
[2026-07-08 19:12:08] local.INFO: Packet analysis {"connection_id":127879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41f5"} 
[2026-07-08 19:12:08] local.INFO: Extracted packet for processing {"connection_id":127879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41f5"} 
[2026-07-08 19:12:08] local.INFO: GPS Element Parsed {"raw_longitude":756534144,"raw_latitude":119642528,"longitude_deg":75.6534144,"latitude_deg":11.9642528,"altitude":74,"angle":267,"satellites":40,"speed":5,"hex_longitude":"2d17cb80","hex_latitude":"072199a0","is_valid_coordinates":true} 
[2026-07-08 19:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580621568001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4931717672468480,"note":"Value kept but may cause issues"} 
[2026-07-08 19:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1716434438610020352,"note":"Value kept but may cause issues"} 
[2026-07-08 19:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783518061000,"timestamp_ms":1783518061000,"timestamp_seconds":1783518061,"priority":1,"record_length":96,"hex_timestamp":"0000019f41f5e1c8"} 
[2026-07-08 19:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:12: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-07-08 19: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-08 19:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:12:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":127879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":127879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":127879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580621568001,"66":13559,"107":206,"83":41984,"24":5,"16":4931717672468480,"45":1716434438610020352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-08 19:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580621568001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:12:08] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-08 19:12:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4931717672468480,"km_value":4931717672468.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1716434438610020352,"description":"Unknown IO ID 45"} 
[2026-07-08 19:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580621568001,"power":13559,"unknown_107":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1716434438610020352}} 
[2026-07-08 19:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":127879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:12:08] local.INFO: GPS data processed {"connection_id":127879,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:12:08] local.INFO: Acknowledgment sent {"connection_id":127879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:12:18] local.INFO: TCP Data received {"connection_id":125764,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:12:18] local.INFO: Processing buffer {"connection_id":125764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:12:18] local.INFO: IMEI packet received {"connection_id":125764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":125764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:12:20] local.INFO: TCP Data received {"connection_id":125764,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f41f5d610012d7edc4005c67bc8000601422c..."} 
[2026-07-08 19:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41f5d610012d7edc4005c67bc8000601422c..."} 
[2026-07-08 19:12:20] local.INFO: Processing buffer {"connection_id":125764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41f5d610012d7edc4005c67bc8000601422c..."} 
[2026-07-08 19:12:20] local.INFO: Packet analysis {"connection_id":125764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41f5"} 
[2026-07-08 19:12:20] local.INFO: Extracted packet for processing {"connection_id":125764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41f5"} 
[2026-07-08 19:12:20] local.INFO: GPS Element Parsed {"raw_longitude":763288640,"raw_latitude":96893896,"longitude_deg":76.328864,"latitude_deg":9.6893896,"altitude":6,"angle":322,"satellites":44,"speed":0,"hex_longitude":"2d7edc40","hex_latitude":"05c67bc8","is_valid_coordinates":true} 
[2026-07-08 19: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-07-08 19:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580545536001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343100490323591168,"note":"Value kept but may cause issues"} 
[2026-07-08 19:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9150399673945765888,"note":"Value kept but may cause issues"} 
[2026-07-08 19:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783518058000,"timestamp_ms":1783518058000,"timestamp_seconds":1783518058,"priority":1,"record_length":96,"hex_timestamp":"0000019f41f5d610"} 
[2026-07-08 19:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 19: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 19:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19: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-07-08 19:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":125764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":125764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":125764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580545536001,"66":26180,"244":206,"85":12288,"24":0,"16":343100490323591168,"45":9150399673945765888},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-08 19:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580545536001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:12:20] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-08 19:12:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343100490323591168,"km_value":343100490323591.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9150399673945765888,"description":"Unknown IO ID 45"} 
[2026-07-08 19:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580545536001,"power":26180,"unknown_244":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9150399673945765888}} 
[2026-07-08 19:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":125764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:12:20] local.INFO: GPS data processed {"connection_id":125764,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:12:20] local.INFO: Acknowledgment sent {"connection_id":125764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:12:39] local.INFO: TCP Data received {"connection_id":127879,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41f5ed80012d17c940072199b00049011c2a..."} 
[2026-07-08 19:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41f5ed80012d17c940072199b00049011c2a..."} 
[2026-07-08 19:12:39] local.INFO: Processing buffer {"connection_id":127879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41f5ed80012d17c940072199b00049011c2a..."} 
[2026-07-08 19:12:39] local.INFO: Packet analysis {"connection_id":127879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41f5"} 
[2026-07-08 19:12:39] local.INFO: Extracted packet for processing {"connection_id":127879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41f5"} 
[2026-07-08 19:12:39] local.INFO: GPS Element Parsed {"raw_longitude":756533568,"raw_latitude":119642544,"longitude_deg":75.6533568,"latitude_deg":11.9642544,"altitude":73,"angle":284,"satellites":42,"speed":8,"hex_longitude":"2d17c940","hex_latitude":"072199b0","is_valid_coordinates":true} 
[2026-07-08 19:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580623616001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4931743442272256,"note":"Value kept but may cause issues"} 
[2026-07-08 19:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714604851261448192,"note":"Value kept but may cause issues"} 
[2026-07-08 19:12: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-07-08 19:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783518064000,"timestamp_ms":1783518064000,"timestamp_seconds":1783518064,"priority":1,"record_length":96,"hex_timestamp":"0000019f41f5ed80"} 
[2026-07-08 19:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:12: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-07-08 19:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-08 19:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":127879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":127879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":127879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580623616001,"66":13580,"107":206,"83":41984,"24":8,"16":4931743442272256,"45":1714604851261448192},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-08 19:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580623616001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:12:39] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-08 19:12:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4931743442272256,"km_value":4931743442272.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714604851261448192,"description":"Unknown IO ID 45"} 
[2026-07-08 19:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580623616001,"power":13580,"unknown_107":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1714604851261448192}} 
[2026-07-08 19:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":127879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:12:39] local.INFO: GPS data processed {"connection_id":127879,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:12:39] local.INFO: Acknowledgment sent {"connection_id":127879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:12:55] local.INFO: TCP Data received {"connection_id":126646,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:12:55] local.INFO: Processing buffer {"connection_id":126646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:12:55] local.INFO: IMEI packet received {"connection_id":126646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":126646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:12:59] local.INFO: TCP Data received {"connection_id":126647,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:12:59] local.INFO: Processing buffer {"connection_id":126647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:12:59] local.INFO: IMEI packet received {"connection_id":126647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":126647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:12:59] local.INFO: TCP Data received {"connection_id":126647,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:12:59] local.INFO: Processing buffer {"connection_id":126647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:12:59] local.INFO: IMEI packet received {"connection_id":126647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":126647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:13:00] local.INFO: TCP Data received {"connection_id":126646,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:13:00] local.INFO: Processing buffer {"connection_id":126646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:13:00] local.INFO: IMEI packet received {"connection_id":126646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":126646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:13:00] local.INFO: TCP Data received {"connection_id":126647,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:13:00] local.INFO: Processing buffer {"connection_id":126647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:13:00] local.INFO: IMEI packet received {"connection_id":126647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":126647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:13:01] local.INFO: TCP Data received {"connection_id":126646,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f41f5d610012d7edc4005c67bc8000601422c..."} 
[2026-07-08 19:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41f5d610012d7edc4005c67bc8000601422c..."} 
[2026-07-08 19:13:01] local.INFO: Processing buffer {"connection_id":126646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41f5d610012d7edc4005c67bc8000601422c..."} 
[2026-07-08 19:13:01] local.INFO: Packet analysis {"connection_id":126646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41f5"} 
[2026-07-08 19:13:01] local.INFO: Extracted packet for processing {"connection_id":126646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41f5"} 
[2026-07-08 19:13:01] local.INFO: GPS Element Parsed {"raw_longitude":763288640,"raw_latitude":96893896,"longitude_deg":76.328864,"latitude_deg":9.6893896,"altitude":6,"angle":322,"satellites":44,"speed":0,"hex_longitude":"2d7edc40","hex_latitude":"05c67bc8","is_valid_coordinates":true} 
[2026-07-08 19:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580545536001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343100490323591168,"note":"Value kept but may cause issues"} 
[2026-07-08 19:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9150399673945765888,"note":"Value kept but may cause issues"} 
[2026-07-08 19:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783518058000,"timestamp_ms":1783518058000,"timestamp_seconds":1783518058,"priority":1,"record_length":96,"hex_timestamp":"0000019f41f5d610"} 
[2026-07-08 19:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 19:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 19:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:13:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:13: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-07-08 19:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580545536001,"66":26180,"244":206,"85":12288,"24":0,"16":343100490323591168,"45":9150399673945765888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-08 19:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580545536001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:13:01] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-08 19:13:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343100490323591168,"km_value":343100490323591.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9150399673945765888,"description":"Unknown IO ID 45"} 
[2026-07-08 19:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580545536001,"power":26180,"unknown_244":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9150399673945765888}} 
[2026-07-08 19:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":126646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:13:01] local.INFO: GPS data processed {"connection_id":126646,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:13:01] local.INFO: Acknowledgment sent {"connection_id":126646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:13:01] local.INFO: TCP Data received {"connection_id":126647,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41f6f338012d17a8800721e5a80044015525..."} 
[2026-07-08 19:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41f6f338012d17a8800721e5a80044015525..."} 
[2026-07-08 19:13:01] local.INFO: Processing buffer {"connection_id":126647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41f6f338012d17a8800721e5a80044015525..."} 
[2026-07-08 19:13:01] local.INFO: Packet analysis {"connection_id":126647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41f6"} 
[2026-07-08 19:13:01] local.INFO: Extracted packet for processing {"connection_id":126647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41f6"} 
[2026-07-08 19:13:01] local.INFO: GPS Element Parsed {"raw_longitude":756525184,"raw_latitude":119661992,"longitude_deg":75.6525184,"latitude_deg":11.9661992,"altitude":68,"angle":341,"satellites":37,"speed":10,"hex_longitude":"2d17a880","hex_latitude":"0721e5a8","is_valid_coordinates":true} 
[2026-07-08 19:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580637184001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4932950328082432,"note":"Value kept but may cause issues"} 
[2026-07-08 19:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705668020754317312,"note":"Value kept but may cause issues"} 
[2026-07-08 19:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783518131000,"timestamp_ms":1783518131000,"timestamp_seconds":1783518131,"priority":1,"record_length":96,"hex_timestamp":"0000019f41f6f338"} 
[2026-07-08 19:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-08 19:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751518085,"note":"Value kept but may cause issues"} 
[2026-07-08 19:13:01] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-08 19:13:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 19:13:01] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":38912,"corrected_to":0} 
[2026-07-08 19:13:01] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3288334336,"note":"Value kept but may cause issues"} 
[2026-07-08 19:13:01] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2820660788862124042,"note":"Value kept but may cause issues"} 
[2026-07-08 19:13:01] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-08 19:13:01] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13462123,"corrected_to":0} 
[2026-07-08 19:13:01] local.WARNING: Large IO value detected {"io_id":65,"raw_value":4132126721,"note":"Value kept but may cause issues"} 
[2026-07-08 19:13:01] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2766667838,"note":"Value kept but may cause issues"} 
[2026-07-08 19:13:01] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635115786496619,"note":"Value kept but may cause issues"} 
[2026-07-08 19:13:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-07-08 19:13:01] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-08 19:13:01] local.WARNING: Large IO value detected {"io_id":17,"raw_value":2243690496,"note":"Value kept but may cause issues"} 
[2026-07-08 19:13:01] local.WARNING: Large IO value detected {"io_id":23,"raw_value":-5854671674564149185,"note":"Value kept but may cause issues"} 
[2026-07-08 19:13:01] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-8502570239530054061,"note":"Value kept but may cause issues"} 
[2026-07-08 19:13:01] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755446685827313,"note":"Value kept but may cause issues"} 
[2026-07-08 19:13:01] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,107,83,24,241,157,16,134,159,165,45,128,200,59,40,10,66,118,183,39,133,79,192,1,240,203,227,65,33,4,113,205,14,71,173,152,35,239,53,2,17,7,63,23,52,164],"length":577,"final_offset":707,"validated_count":46,"validation_warnings":[{"io_id":200,"original":38912,"validated":0},{"io_id":203,"original":13462123,"validated":0},{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-07-08 19:13:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395902630934740992,"timestamp_seconds":4395902630934741.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 19:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580637184001,"66":13646,"107":206,"83":41984,"24":10,"16":4932950328082432,"45":1705668020754317312},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-08 19:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580637184001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:13:01] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-08 19:13:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4932950328082432,"km_value":4932950328082.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705668020754317312,"description":"Unknown IO ID 45"} 
[2026-07-08 19:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580637184001,"power":13646,"unknown_107":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1705668020754317312}} 
[2026-07-08 19:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":126647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:13:01] local.INFO: GPS data processed {"connection_id":126647,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:13:01] local.INFO: Acknowledgment sent {"connection_id":126647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:13:32] local.INFO: TCP Data received {"connection_id":126646,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f41f5d610012d7edc4005c67bc8000601422c..."} 
[2026-07-08 19:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41f5d610012d7edc4005c67bc8000601422c..."} 
[2026-07-08 19:13:32] local.INFO: Processing buffer {"connection_id":126646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41f5d610012d7edc4005c67bc8000601422c..."} 
[2026-07-08 19:13:32] local.INFO: Packet analysis {"connection_id":126646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41f5"} 
[2026-07-08 19:13:32] local.INFO: Extracted packet for processing {"connection_id":126646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41f5"} 
[2026-07-08 19:13:32] local.INFO: GPS Element Parsed {"raw_longitude":763288640,"raw_latitude":96893896,"longitude_deg":76.328864,"latitude_deg":9.6893896,"altitude":6,"angle":322,"satellites":44,"speed":0,"hex_longitude":"2d7edc40","hex_latitude":"05c67bc8","is_valid_coordinates":true} 
[2026-07-08 19:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580545536001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343100490323591168,"note":"Value kept but may cause issues"} 
[2026-07-08 19:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9150399673945765888,"note":"Value kept but may cause issues"} 
[2026-07-08 19:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783518058000,"timestamp_ms":1783518058000,"timestamp_seconds":1783518058,"priority":1,"record_length":96,"hex_timestamp":"0000019f41f5d610"} 
[2026-07-08 19:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 19:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 19:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:13: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-07-08 19:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580545536001,"66":26180,"244":206,"85":12288,"24":0,"16":343100490323591168,"45":9150399673945765888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-08 19:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580545536001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:13:32] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-08 19:13:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343100490323591168,"km_value":343100490323591.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9150399673945765888,"description":"Unknown IO ID 45"} 
[2026-07-08 19:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580545536001,"power":26180,"unknown_244":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9150399673945765888}} 
[2026-07-08 19:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":126646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:13:32] local.INFO: GPS data processed {"connection_id":126646,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:13:32] local.INFO: Acknowledgment sent {"connection_id":126646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:13:33] local.INFO: TCP Data received {"connection_id":126647,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41f6f720012d17a8400721e6880044014526..."} 
[2026-07-08 19:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41f6f720012d17a8400721e6880044014526..."} 
[2026-07-08 19:13:33] local.INFO: Processing buffer {"connection_id":126647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41f6f720012d17a8400721e6880044014526..."} 
[2026-07-08 19:13:33] local.INFO: Packet analysis {"connection_id":126647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41f6"} 
[2026-07-08 19:13:33] local.INFO: Extracted packet for processing {"connection_id":126647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41f6"} 
[2026-07-08 19:13:33] local.INFO: GPS Element Parsed {"raw_longitude":756525120,"raw_latitude":119662216,"longitude_deg":75.652512,"latitude_deg":11.9662216,"altitude":68,"angle":325,"satellites":38,"speed":9,"hex_longitude":"2d17a840","hex_latitude":"0721e688","is_valid_coordinates":true} 
[2026-07-08 19:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580641536001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4932958918017024,"note":"Value kept but may cause issues"} 
[2026-07-08 19:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1704753227081558016,"note":"Value kept but may cause issues"} 
[2026-07-08 19:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783518132000,"timestamp_ms":1783518132000,"timestamp_seconds":1783518132,"priority":1,"record_length":96,"hex_timestamp":"0000019f41f6f720"} 
[2026-07-08 19:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-07-08 19:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580641536001,"66":13580,"107":206,"83":41984,"24":9,"16":4932958918017024,"45":1704753227081558016},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-08 19:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580641536001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:13:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-08 19:13:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4932958918017024,"km_value":4932958918017.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1704753227081558016,"description":"Unknown IO ID 45"} 
[2026-07-08 19:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580641536001,"power":13580,"unknown_107":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1704753227081558016}} 
[2026-07-08 19:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":126647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:13:33] local.INFO: GPS data processed {"connection_id":126647,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:13:33] local.INFO: Acknowledgment sent {"connection_id":126647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:13:55] local.INFO: TCP Data received {"connection_id":126648,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:13:55] local.INFO: Processing buffer {"connection_id":126648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:13:55] local.INFO: IMEI packet received {"connection_id":126648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":126648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:13:56] local.INFO: TCP Data received {"connection_id":125877,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:13:56] local.INFO: Processing buffer {"connection_id":125877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:13:56] local.INFO: IMEI packet received {"connection_id":125877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":125877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:13:59] local.INFO: TCP Data received {"connection_id":125877,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:13:59] local.INFO: Processing buffer {"connection_id":125877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:13:59] local.INFO: IMEI packet received {"connection_id":125877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":125877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:13:59] local.INFO: TCP Data received {"connection_id":125877,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:13:59] local.INFO: Processing buffer {"connection_id":125877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:13:59] local.INFO: IMEI packet received {"connection_id":125877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":125877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:14:00] local.INFO: TCP Data received {"connection_id":126648,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:14:00] local.INFO: Processing buffer {"connection_id":126648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:14:00] local.INFO: IMEI packet received {"connection_id":126648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":126648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:14:02] local.INFO: TCP Data received {"connection_id":126648,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f41f5d610012d7edc4005c67bc8000601422c..."} 
[2026-07-08 19:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41f5d610012d7edc4005c67bc8000601422c..."} 
[2026-07-08 19:14:02] local.INFO: Processing buffer {"connection_id":126648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41f5d610012d7edc4005c67bc8000601422c..."} 
[2026-07-08 19:14:02] local.INFO: Packet analysis {"connection_id":126648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41f5"} 
[2026-07-08 19:14:02] local.INFO: Extracted packet for processing {"connection_id":126648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41f5"} 
[2026-07-08 19:14:02] local.INFO: GPS Element Parsed {"raw_longitude":763288640,"raw_latitude":96893896,"longitude_deg":76.328864,"latitude_deg":9.6893896,"altitude":6,"angle":322,"satellites":44,"speed":0,"hex_longitude":"2d7edc40","hex_latitude":"05c67bc8","is_valid_coordinates":true} 
[2026-07-08 19:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580545536001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343100490323591168,"note":"Value kept but may cause issues"} 
[2026-07-08 19:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9150399673945765888,"note":"Value kept but may cause issues"} 
[2026-07-08 19:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783518058000,"timestamp_ms":1783518058000,"timestamp_seconds":1783518058,"priority":1,"record_length":96,"hex_timestamp":"0000019f41f5d610"} 
[2026-07-08 19:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 19: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 19:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:14:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580545536001,"66":26180,"244":206,"85":12288,"24":0,"16":343100490323591168,"45":9150399673945765888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-08 19:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580545536001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:14:02] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-08 19:14:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343100490323591168,"km_value":343100490323591.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9150399673945765888,"description":"Unknown IO ID 45"} 
[2026-07-08 19:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580545536001,"power":26180,"unknown_244":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9150399673945765888}} 
[2026-07-08 19:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":126648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:14:02] local.INFO: GPS data processed {"connection_id":126648,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:14:02] local.INFO: Acknowledgment sent {"connection_id":126648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:14:03] local.INFO: TCP Data received {"connection_id":125877,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:14:03] local.INFO: Processing buffer {"connection_id":125877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:14:03] local.INFO: IMEI packet received {"connection_id":125877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":125877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:14:07] local.INFO: TCP Data received {"connection_id":125877,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41f7b2a0012d179e0007221fc00052012727..."} 
[2026-07-08 19:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41f7b2a0012d179e0007221fc00052012727..."} 
[2026-07-08 19:14:07] local.INFO: Processing buffer {"connection_id":125877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41f7b2a0012d179e0007221fc00052012727..."} 
[2026-07-08 19:14:07] local.INFO: Packet analysis {"connection_id":125877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41f7"} 
[2026-07-08 19:14:07] local.INFO: Extracted packet for processing {"connection_id":125877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41f7"} 
[2026-07-08 19:14:07] local.INFO: GPS Element Parsed {"raw_longitude":756522496,"raw_latitude":119676864,"longitude_deg":75.6522496,"latitude_deg":11.9676864,"altitude":82,"angle":295,"satellites":39,"speed":12,"hex_longitude":"2d179e00","hex_latitude":"07221fc0","is_valid_coordinates":true} 
[2026-07-08 19:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580652544001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4933805026574336,"note":"Value kept but may cause issues"} 
[2026-07-08 19:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703768064666750976,"note":"Value kept but may cause issues"} 
[2026-07-08 19:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783518180000,"timestamp_ms":1783518180000,"timestamp_seconds":1783518180,"priority":1,"record_length":96,"hex_timestamp":"0000019f41f7b2a0"} 
[2026-07-08 19:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:14: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-07-08 19:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-08 19:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580652544001,"66":13678,"105":206,"83":41984,"24":12,"16":4933805026574336,"45":1703768064666750976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580652544001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:14:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:14:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4933805026574336,"km_value":4933805026574.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703768064666750976,"description":"Unknown IO ID 45"} 
[2026-07-08 19:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580652544001,"power":13678,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1703768064666750976}} 
[2026-07-08 19:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":125877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:14:07] local.INFO: GPS data processed {"connection_id":125877,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:14:07] local.INFO: Acknowledgment sent {"connection_id":125877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:14:35] local.INFO: TCP Data received {"connection_id":126648,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f41f5d610012d7edc4005c67bc8000601422c..."} 
[2026-07-08 19:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41f5d610012d7edc4005c67bc8000601422c..."} 
[2026-07-08 19:14:35] local.INFO: Processing buffer {"connection_id":126648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41f5d610012d7edc4005c67bc8000601422c..."} 
[2026-07-08 19:14:35] local.INFO: Packet analysis {"connection_id":126648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41f5"} 
[2026-07-08 19:14:35] local.INFO: Extracted packet for processing {"connection_id":126648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41f5"} 
[2026-07-08 19:14:35] local.INFO: GPS Element Parsed {"raw_longitude":763288640,"raw_latitude":96893896,"longitude_deg":76.328864,"latitude_deg":9.6893896,"altitude":6,"angle":322,"satellites":44,"speed":0,"hex_longitude":"2d7edc40","hex_latitude":"05c67bc8","is_valid_coordinates":true} 
[2026-07-08 19:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580545536001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343100490323591168,"note":"Value kept but may cause issues"} 
[2026-07-08 19:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9150399673945765888,"note":"Value kept but may cause issues"} 
[2026-07-08 19:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783518058000,"timestamp_ms":1783518058000,"timestamp_seconds":1783518058,"priority":1,"record_length":96,"hex_timestamp":"0000019f41f5d610"} 
[2026-07-08 19:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 19:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 19:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:14: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-07-08 19:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580545536001,"66":26180,"244":206,"85":12288,"24":0,"16":343100490323591168,"45":9150399673945765888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-08 19:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580545536001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:14:35] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-08 19:14:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343100490323591168,"km_value":343100490323591.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9150399673945765888,"description":"Unknown IO ID 45"} 
[2026-07-08 19:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580545536001,"power":26180,"unknown_244":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9150399673945765888}} 
[2026-07-08 19:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":126648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:14:35] local.INFO: GPS data processed {"connection_id":126648,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:14:35] local.INFO: Acknowledgment sent {"connection_id":126648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:14:38] local.INFO: TCP Data received {"connection_id":125877,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41f88978012d17624007224868005e013d27..."} 
[2026-07-08 19:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41f88978012d17624007224868005e013d27..."} 
[2026-07-08 19:14:38] local.INFO: Processing buffer {"connection_id":125877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41f88978012d17624007224868005e013d27..."} 
[2026-07-08 19:14:38] local.INFO: Packet analysis {"connection_id":125877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41f8"} 
[2026-07-08 19:14:38] local.INFO: Extracted packet for processing {"connection_id":125877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41f8"} 
[2026-07-08 19:14:38] local.INFO: GPS Element Parsed {"raw_longitude":756507200,"raw_latitude":119687272,"longitude_deg":75.65072,"latitude_deg":11.9687272,"altitude":94,"angle":317,"satellites":39,"speed":8,"hex_longitude":"2d176240","hex_latitude":"07224868","is_valid_coordinates":true} 
[2026-07-08 19:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580667136001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4934745624412160,"note":"Value kept but may cause issues"} 
[2026-07-08 19:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1685472191183075328,"note":"Value kept but may cause issues"} 
[2026-07-08 19:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783518235000,"timestamp_ms":1783518235000,"timestamp_seconds":1783518235,"priority":1,"record_length":96,"hex_timestamp":"0000019f41f88978"} 
[2026-07-08 19:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-07-08 19:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580667136001,"66":13624,"105":206,"83":41984,"24":8,"16":4934745624412160,"45":1685472191183075328},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580667136001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:14:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:14:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4934745624412160,"km_value":4934745624412.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1685472191183075328,"description":"Unknown IO ID 45"} 
[2026-07-08 19:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580667136001,"power":13624,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1685472191183075328}} 
[2026-07-08 19:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":125877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:14:38] local.INFO: GPS data processed {"connection_id":125877,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:14:38] local.INFO: Acknowledgment sent {"connection_id":125877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:14:55] local.INFO: TCP Data received {"connection_id":125880,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:14:55] local.INFO: Processing buffer {"connection_id":125880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:14:55] local.INFO: IMEI packet received {"connection_id":125880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":125880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:15:00] local.INFO: TCP Data received {"connection_id":125881,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:15:00] local.INFO: Processing buffer {"connection_id":125881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:15:00] local.INFO: IMEI packet received {"connection_id":125881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":125881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:15:02] local.INFO: TCP Data received {"connection_id":125880,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:15:02] local.INFO: Processing buffer {"connection_id":125880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:15:02] local.INFO: IMEI packet received {"connection_id":125880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":125880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:15:04] local.INFO: TCP Data received {"connection_id":125880,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f41f5d610012d7edc4005c67bc8000601422c..."} 
[2026-07-08 19:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41f5d610012d7edc4005c67bc8000601422c..."} 
[2026-07-08 19:15:04] local.INFO: Processing buffer {"connection_id":125880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41f5d610012d7edc4005c67bc8000601422c..."} 
[2026-07-08 19:15:04] local.INFO: Packet analysis {"connection_id":125880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41f5"} 
[2026-07-08 19:15:04] local.INFO: Extracted packet for processing {"connection_id":125880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41f5"} 
[2026-07-08 19:15:04] local.INFO: GPS Element Parsed {"raw_longitude":763288640,"raw_latitude":96893896,"longitude_deg":76.328864,"latitude_deg":9.6893896,"altitude":6,"angle":322,"satellites":44,"speed":0,"hex_longitude":"2d7edc40","hex_latitude":"05c67bc8","is_valid_coordinates":true} 
[2026-07-08 19:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580545536001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343100490323591168,"note":"Value kept but may cause issues"} 
[2026-07-08 19:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9150399673945765888,"note":"Value kept but may cause issues"} 
[2026-07-08 19:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783518058000,"timestamp_ms":1783518058000,"timestamp_seconds":1783518058,"priority":1,"record_length":96,"hex_timestamp":"0000019f41f5d610"} 
[2026-07-08 19:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 19:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 19:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580545536001,"66":26180,"244":206,"85":12288,"24":0,"16":343100490323591168,"45":9150399673945765888},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-08 19:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580545536001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:15:04] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-08 19:15:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343100490323591168,"km_value":343100490323591.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9150399673945765888,"description":"Unknown IO ID 45"} 
[2026-07-08 19:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580545536001,"power":26180,"unknown_244":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9150399673945765888}} 
[2026-07-08 19:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":125880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:15:04] local.INFO: GPS data processed {"connection_id":125880,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:15:04] local.INFO: Acknowledgment sent {"connection_id":125880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:15:07] local.INFO: TCP Data received {"connection_id":125881,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:15:07] local.INFO: Processing buffer {"connection_id":125881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:15:07] local.INFO: IMEI packet received {"connection_id":125881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":125881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:15:08] local.INFO: TCP Data received {"connection_id":125881,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41f88d60012d176200072248f0005d013128..."} 
[2026-07-08 19:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41f88d60012d176200072248f0005d013128..."} 
[2026-07-08 19:15:08] local.INFO: Processing buffer {"connection_id":125881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41f88d60012d176200072248f0005d013128..."} 
[2026-07-08 19:15:08] local.INFO: Packet analysis {"connection_id":125881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41f8"} 
[2026-07-08 19:15:08] local.INFO: Extracted packet for processing {"connection_id":125881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41f8"} 
[2026-07-08 19:15:08] local.INFO: GPS Element Parsed {"raw_longitude":756507136,"raw_latitude":119687408,"longitude_deg":75.6507136,"latitude_deg":11.9687408,"altitude":93,"angle":305,"satellites":40,"speed":6,"hex_longitude":"2d176200","hex_latitude":"072248f0","is_valid_coordinates":true} 
[2026-07-08 19:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580668160001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4934754214346752,"note":"Value kept but may cause issues"} 
[2026-07-08 19:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1684979609974106112,"note":"Value kept but may cause issues"} 
[2026-07-08 19:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783518236000,"timestamp_ms":1783518236000,"timestamp_seconds":1783518236,"priority":1,"record_length":96,"hex_timestamp":"0000019f41f88d60"} 
[2026-07-08 19:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:15: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-07-08 19: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-07-08 19:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:15:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580668160001,"66":13624,"105":206,"83":41984,"24":6,"16":4934754214346752,"45":1684979609974106112},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580668160001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:15:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:15:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4934754214346752,"km_value":4934754214346.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1684979609974106112,"description":"Unknown IO ID 45"} 
[2026-07-08 19:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580668160001,"power":13624,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1684979609974106112}} 
[2026-07-08 19:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":125881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:15:08] local.INFO: GPS data processed {"connection_id":125881,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:15:08] local.INFO: Acknowledgment sent {"connection_id":125881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:15:36] local.INFO: TCP Data received {"connection_id":125880,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f41f5d610012d7edc4005c67bc8000601422c..."} 
[2026-07-08 19:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41f5d610012d7edc4005c67bc8000601422c..."} 
[2026-07-08 19:15:36] local.INFO: Processing buffer {"connection_id":125880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41f5d610012d7edc4005c67bc8000601422c..."} 
[2026-07-08 19:15:36] local.INFO: Packet analysis {"connection_id":125880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41f5"} 
[2026-07-08 19:15:36] local.INFO: Extracted packet for processing {"connection_id":125880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41f5"} 
[2026-07-08 19:15:36] local.INFO: GPS Element Parsed {"raw_longitude":763288640,"raw_latitude":96893896,"longitude_deg":76.328864,"latitude_deg":9.6893896,"altitude":6,"angle":322,"satellites":44,"speed":0,"hex_longitude":"2d7edc40","hex_latitude":"05c67bc8","is_valid_coordinates":true} 
[2026-07-08 19:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580545536001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343100490323591168,"note":"Value kept but may cause issues"} 
[2026-07-08 19:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9150399673945765888,"note":"Value kept but may cause issues"} 
[2026-07-08 19:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783518058000,"timestamp_ms":1783518058000,"timestamp_seconds":1783518058,"priority":1,"record_length":96,"hex_timestamp":"0000019f41f5d610"} 
[2026-07-08 19:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 19: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 19:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580545536001,"66":26180,"244":206,"85":12288,"24":0,"16":343100490323591168,"45":9150399673945765888},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-08 19:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580545536001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:15:36] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-08 19:15:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343100490323591168,"km_value":343100490323591.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9150399673945765888,"description":"Unknown IO ID 45"} 
[2026-07-08 19:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580545536001,"power":26180,"unknown_244":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9150399673945765888}} 
[2026-07-08 19:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":125880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:15:36] local.INFO: GPS data processed {"connection_id":125880,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:15:36] local.INFO: Acknowledgment sent {"connection_id":125880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:15:46] local.INFO: TCP Data received {"connection_id":125881,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41f89918012d176000072249f8005d011726..."} 
[2026-07-08 19:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41f89918012d176000072249f8005d011726..."} 
[2026-07-08 19:15:46] local.INFO: Processing buffer {"connection_id":125881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41f89918012d176000072249f8005d011726..."} 
[2026-07-08 19:15:46] local.INFO: Packet analysis {"connection_id":125881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41f8"} 
[2026-07-08 19:15:46] local.INFO: Extracted packet for processing {"connection_id":125881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41f8"} 
[2026-07-08 19:15:46] local.INFO: GPS Element Parsed {"raw_longitude":756506624,"raw_latitude":119687672,"longitude_deg":75.6506624,"latitude_deg":11.9687672,"altitude":93,"angle":279,"satellites":38,"speed":8,"hex_longitude":"2d176000","hex_latitude":"072249f8","is_valid_coordinates":true} 
[2026-07-08 19: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-07-08 19:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580668416001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4934779984150528,"note":"Value kept but may cause issues"} 
[2026-07-08 19:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1684909241229963264,"note":"Value kept but may cause issues"} 
[2026-07-08 19:15: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-07-08 19:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783518239000,"timestamp_ms":1783518239000,"timestamp_seconds":1783518239,"priority":1,"record_length":96,"hex_timestamp":"0000019f41f89918"} 
[2026-07-08 19:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-07-08 19:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19: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-07-08 19:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":125881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":125881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":125881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580668416001,"66":13602,"105":206,"83":41984,"24":8,"16":4934779984150528,"45":1684909241229963264},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580668416001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:15:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:15:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4934779984150528,"km_value":4934779984150.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1684909241229963264,"description":"Unknown IO ID 45"} 
[2026-07-08 19:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580668416001,"power":13602,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1684909241229963264}} 
[2026-07-08 19:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":125881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:15:46] local.INFO: GPS data processed {"connection_id":125881,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:15:46] local.INFO: Acknowledgment sent {"connection_id":125881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:15:59] local.INFO: TCP Data received {"connection_id":125767,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:15:59] local.INFO: Processing buffer {"connection_id":125767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:15:59] local.INFO: IMEI packet received {"connection_id":125767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":125767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:16:00] local.INFO: TCP Data received {"connection_id":125766,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:16:00] local.INFO: Processing buffer {"connection_id":125766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:16:00] local.INFO: IMEI packet received {"connection_id":125766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":125766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:16:04] local.INFO: TCP Data received {"connection_id":125767,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:16:04] local.INFO: Processing buffer {"connection_id":125767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:16:04] local.INFO: IMEI packet received {"connection_id":125767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":125767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:16:05] local.INFO: TCP Data received {"connection_id":125767,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41f8a4d0012d175cc007224a08005e010925..."} 
[2026-07-08 19:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41f8a4d0012d175cc007224a08005e010925..."} 
[2026-07-08 19:16:05] local.INFO: Processing buffer {"connection_id":125767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41f8a4d0012d175cc007224a08005e010925..."} 
[2026-07-08 19:16:05] local.INFO: Packet analysis {"connection_id":125767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41f8"} 
[2026-07-08 19:16:05] local.INFO: Extracted packet for processing {"connection_id":125767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41f8"} 
[2026-07-08 19:16:05] local.INFO: GPS Element Parsed {"raw_longitude":756505792,"raw_latitude":119687688,"longitude_deg":75.6505792,"latitude_deg":11.9687688,"altitude":94,"angle":265,"satellites":37,"speed":11,"hex_longitude":"2d175cc0","hex_latitude":"07224a08","is_valid_coordinates":true} 
[2026-07-08 19:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580669184001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4934818638856192,"note":"Value kept but may cause issues"} 
[2026-07-08 19:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1684346291276609536,"note":"Value kept but may cause issues"} 
[2026-07-08 19:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783518242000,"timestamp_ms":1783518242000,"timestamp_seconds":1783518242,"priority":1,"record_length":96,"hex_timestamp":"0000019f41f8a4d0"} 
[2026-07-08 19:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-07-08 19:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580669184001,"66":13537,"105":206,"83":41984,"24":11,"16":4934818638856192,"45":1684346291276609536},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580669184001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:16:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:16:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4934818638856192,"km_value":4934818638856.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1684346291276609536,"description":"Unknown IO ID 45"} 
[2026-07-08 19:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580669184001,"power":13537,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1684346291276609536}} 
[2026-07-08 19:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":125767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:16:05] local.INFO: GPS data processed {"connection_id":125767,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:16:05] local.INFO: Acknowledgment sent {"connection_id":125767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:16:05] local.INFO: TCP Data received {"connection_id":125766,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:16:05] local.INFO: Processing buffer {"connection_id":125766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:16:05] local.INFO: IMEI packet received {"connection_id":125766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":125766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:16:07] local.INFO: TCP Data received {"connection_id":125766,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f41f5d610012d7edc4005c67bc8000601422c..."} 
[2026-07-08 19:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41f5d610012d7edc4005c67bc8000601422c..."} 
[2026-07-08 19:16:07] local.INFO: Processing buffer {"connection_id":125766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41f5d610012d7edc4005c67bc8000601422c..."} 
[2026-07-08 19:16:07] local.INFO: Packet analysis {"connection_id":125766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41f5"} 
[2026-07-08 19:16:07] local.INFO: Extracted packet for processing {"connection_id":125766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41f5"} 
[2026-07-08 19:16:07] local.INFO: GPS Element Parsed {"raw_longitude":763288640,"raw_latitude":96893896,"longitude_deg":76.328864,"latitude_deg":9.6893896,"altitude":6,"angle":322,"satellites":44,"speed":0,"hex_longitude":"2d7edc40","hex_latitude":"05c67bc8","is_valid_coordinates":true} 
[2026-07-08 19:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580545536001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343100490323591168,"note":"Value kept but may cause issues"} 
[2026-07-08 19:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9150399673945765888,"note":"Value kept but may cause issues"} 
[2026-07-08 19:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783518058000,"timestamp_ms":1783518058000,"timestamp_seconds":1783518058,"priority":1,"record_length":96,"hex_timestamp":"0000019f41f5d610"} 
[2026-07-08 19:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 19:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 19:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580545536001,"66":26180,"244":206,"85":12288,"24":0,"16":343100490323591168,"45":9150399673945765888},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-08 19:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580545536001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:16:07] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-08 19:16:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343100490323591168,"km_value":343100490323591.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9150399673945765888,"description":"Unknown IO ID 45"} 
[2026-07-08 19:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580545536001,"power":26180,"unknown_244":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9150399673945765888}} 
[2026-07-08 19:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":125766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:16:07] local.INFO: GPS data processed {"connection_id":125766,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:16:07] local.INFO: Acknowledgment sent {"connection_id":125766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:16:11] local.INFO: TCP Data received {"connection_id":125766,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f41f5d610012d7edc4005c67bc8000601422c..."} 
[2026-07-08 19:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41f5d610012d7edc4005c67bc8000601422c..."} 
[2026-07-08 19:16:11] local.INFO: Processing buffer {"connection_id":125766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41f5d610012d7edc4005c67bc8000601422c..."} 
[2026-07-08 19:16:11] local.INFO: Packet analysis {"connection_id":125766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41f5"} 
[2026-07-08 19:16:11] local.INFO: Extracted packet for processing {"connection_id":125766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41f5"} 
[2026-07-08 19:16:11] local.INFO: GPS Element Parsed {"raw_longitude":763288640,"raw_latitude":96893896,"longitude_deg":76.328864,"latitude_deg":9.6893896,"altitude":6,"angle":322,"satellites":44,"speed":0,"hex_longitude":"2d7edc40","hex_latitude":"05c67bc8","is_valid_coordinates":true} 
[2026-07-08 19:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580545536001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343100490323591168,"note":"Value kept but may cause issues"} 
[2026-07-08 19:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9150399673945765888,"note":"Value kept but may cause issues"} 
[2026-07-08 19:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783518058000,"timestamp_ms":1783518058000,"timestamp_seconds":1783518058,"priority":1,"record_length":96,"hex_timestamp":"0000019f41f5d610"} 
[2026-07-08 19:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 19: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 19:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580545536001,"66":26180,"244":206,"85":12288,"24":0,"16":343100490323591168,"45":9150399673945765888},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-08 19:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580545536001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:16:11] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-08 19:16:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343100490323591168,"km_value":343100490323591.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9150399673945765888,"description":"Unknown IO ID 45"} 
[2026-07-08 19:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580545536001,"power":26180,"unknown_244":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9150399673945765888}} 
[2026-07-08 19:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":125766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:16:11] local.INFO: GPS data processed {"connection_id":125766,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:16:11] local.INFO: Acknowledgment sent {"connection_id":125766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:16:15] local.INFO: TCP Data received {"connection_id":125765,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125765,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:16:15] local.INFO: Processing buffer {"connection_id":125765,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:16:15] local.INFO: IMEI packet received {"connection_id":125765,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 19:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":125765,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:16:36] local.INFO: TCP Data received {"connection_id":125767,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41f9a2b8012d17390007226ae0007800ff23..."} 
[2026-07-08 19:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41f9a2b8012d17390007226ae0007800ff23..."} 
[2026-07-08 19:16:36] local.INFO: Processing buffer {"connection_id":125767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41f9a2b8012d17390007226ae0007800ff23..."} 
[2026-07-08 19:16:36] local.INFO: Packet analysis {"connection_id":125767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41f9"} 
[2026-07-08 19:16:36] local.INFO: Extracted packet for processing {"connection_id":125767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41f9"} 
[2026-07-08 19:16:36] local.INFO: GPS Element Parsed {"raw_longitude":756496640,"raw_latitude":119696096,"longitude_deg":75.649664,"latitude_deg":11.9696096,"altitude":120,"angle":255,"satellites":35,"speed":0,"hex_longitude":"2d173900","hex_latitude":"07226ae0","is_valid_coordinates":true} 
[2026-07-08 19:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580681216001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4935587438002176,"note":"Value kept but may cause issues"} 
[2026-07-08 19:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1677239048117075968,"note":"Value kept but may cause issues"} 
[2026-07-08 19:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783518307000,"timestamp_ms":1783518307000,"timestamp_seconds":1783518307,"priority":1,"record_length":96,"hex_timestamp":"0000019f41f9a2b8"} 
[2026-07-08 19:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-08 19:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720575940547052544,"note":"Value kept but may cause issues"} 
[2026-07-08 19:16:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-08 19:16:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 19:16:36] local.WARNING: Large IO value detected {"io_id":136,"raw_value":2969567232,"note":"Value kept but may cause issues"} 
[2026-07-08 19:16:36] local.WARNING: Large IO value detected {"io_id":65,"raw_value":-522373571258395008,"note":"Value kept but may cause issues"} 
[2026-07-08 19:16:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-08 19:16:36] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2684431639,"note":"Value kept but may cause issues"} 
[2026-07-08 19:16:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-08 19:16:36] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2147951211,"note":"Value kept but may cause issues"} 
[2026-07-08 19:16:36] local.WARNING: Large IO value detected {"io_id":17,"raw_value":2292711424,"note":"Value kept but may cause issues"} 
[2026-07-08 19:16:36] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2471174375303367716,"note":"Value kept but may cause issues"} 
[2026-07-08 19:16:36] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864916985367023187,"note":"Value kept but may cause issues"} 
[2026-07-08 19:16:36] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755450980794609,"note":"Value kept but may cause issues"} 
[2026-07-08 19:16:36] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,136,159,72,45,111,114,38,10,66,65,128,113,37,61,1,240,41,227,34,4,205,6,75,232,239,50,2,17,7,101,12,53,164,86],"length":535,"final_offset":665,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-08 19:16:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":8286901649717854208,"timestamp_seconds":8286901649717854.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 19:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580681216001,"66":12972,"19":206,"83":41984,"24":0,"16":4935587438002176,"45":1677239048117075968},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-07-08 19:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580681216001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:16:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-08 19:16:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4935587438002176,"km_value":4935587438002.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1677239048117075968,"description":"Unknown IO ID 45"} 
[2026-07-08 19:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580681216001,"power":12972,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1677239048117075968}} 
[2026-07-08 19:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":125767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:16:36] local.INFO: GPS data processed {"connection_id":125767,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:16:36] local.INFO: Acknowledgment sent {"connection_id":125767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:16:55] local.INFO: TCP Data received {"connection_id":126649,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:16:55] local.INFO: Processing buffer {"connection_id":126649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:16:55] local.INFO: IMEI packet received {"connection_id":126649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":126649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:16:56] local.INFO: TCP Data received {"connection_id":126650,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126650,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:16:56] local.INFO: Processing buffer {"connection_id":126650,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:16:56] local.INFO: IMEI packet received {"connection_id":126650,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 19:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":126650,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:17:01] local.INFO: TCP Data received {"connection_id":126649,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:17:01] local.INFO: Processing buffer {"connection_id":126649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:17:01] local.INFO: IMEI packet received {"connection_id":126649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":126649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:17:02] local.INFO: TCP Data received {"connection_id":126649,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f41fa6dd8012d7edc4005c67bc8000601422b..."} 
[2026-07-08 19:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41fa6dd8012d7edc4005c67bc8000601422b..."} 
[2026-07-08 19:17:02] local.INFO: Processing buffer {"connection_id":126649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41fa6dd8012d7edc4005c67bc8000601422b..."} 
[2026-07-08 19:17:02] local.INFO: Packet analysis {"connection_id":126649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41fa"} 
[2026-07-08 19:17:02] local.INFO: Extracted packet for processing {"connection_id":126649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41fa"} 
[2026-07-08 19:17:02] local.INFO: GPS Element Parsed {"raw_longitude":763288640,"raw_latitude":96893896,"longitude_deg":76.328864,"latitude_deg":9.6893896,"altitude":6,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d7edc40","hex_latitude":"05c67bc8","is_valid_coordinates":true} 
[2026-07-08 19: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-07-08 19:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580622848001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343100490323591168,"note":"Value kept but may cause issues"} 
[2026-07-08 19:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9141251737204279296,"note":"Value kept but may cause issues"} 
[2026-07-08 19:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783518359000,"timestamp_ms":1783518359000,"timestamp_seconds":1783518359,"priority":1,"record_length":96,"hex_timestamp":"0000019f41fa6dd8"} 
[2026-07-08 19:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 19: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-08 19:17:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19: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-07-08 19:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580622848001,"66":25995,"244":206,"85":12288,"24":0,"16":343100490323591168,"45":9141251737204279296},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-08 19:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580622848001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:17:02] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-08 19:17:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343100490323591168,"km_value":343100490323591.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9141251737204279296,"description":"Unknown IO ID 45"} 
[2026-07-08 19:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580622848001,"power":25995,"unknown_244":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9141251737204279296}} 
[2026-07-08 19:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":126649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:17:02] local.INFO: GPS data processed {"connection_id":126649,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:17:02] local.INFO: Acknowledgment sent {"connection_id":126649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:17:04] local.INFO: TCP Data received {"connection_id":125882,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:17:05] local.INFO: Processing buffer {"connection_id":125882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:17:05] local.INFO: IMEI packet received {"connection_id":125882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":125882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:17:09] local.INFO: TCP Data received {"connection_id":125882,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:17:09] local.INFO: Processing buffer {"connection_id":125882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:17:09] local.INFO: IMEI packet received {"connection_id":125882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":125882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:17:09] local.INFO: TCP Data received {"connection_id":125882,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41f9f4c0012d17390007226ae0007800ff23..."} 
[2026-07-08 19:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41f9f4c0012d17390007226ae0007800ff23..."} 
[2026-07-08 19:17:09] local.INFO: Processing buffer {"connection_id":125882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41f9f4c0012d17390007226ae0007800ff23..."} 
[2026-07-08 19:17:09] local.INFO: Packet analysis {"connection_id":125882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41f9"} 
[2026-07-08 19:17:09] local.INFO: Extracted packet for processing {"connection_id":125882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41f9"} 
[2026-07-08 19:17:09] local.INFO: GPS Element Parsed {"raw_longitude":756496640,"raw_latitude":119696096,"longitude_deg":75.649664,"latitude_deg":11.9696096,"altitude":120,"angle":255,"satellites":35,"speed":0,"hex_longitude":"2d173900","hex_latitude":"07226ae0","is_valid_coordinates":true} 
[2026-07-08 19:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580686592001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4935587438002176,"note":"Value kept but may cause issues"} 
[2026-07-08 19:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1673368767187050496,"note":"Value kept but may cause issues"} 
[2026-07-08 19:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783518328000,"timestamp_ms":1783518328000,"timestamp_seconds":1783518328,"priority":1,"record_length":96,"hex_timestamp":"0000019f41f9f4c0"} 
[2026-07-08 19:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":172,"data_length":795,"current_offset":136} 
[2026-07-08 19:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580686592001,"66":12232,"103":206,"83":41984,"24":0,"16":4935587438002176,"45":1673368767187050496},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 19:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580686592001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:17:09] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 19:17:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4935587438002176,"km_value":4935587438002.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1673368767187050496,"description":"Unknown IO ID 45"} 
[2026-07-08 19:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580686592001,"power":12232,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1673368767187050496}} 
[2026-07-08 19:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":125882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:17:10] local.INFO: GPS data processed {"connection_id":125882,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:17:10] local.INFO: Acknowledgment sent {"connection_id":125882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:17:21] local.INFO: TCP Data received {"connection_id":125882,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41fa46c8012d17390007226ae0007800ff27..."} 
[2026-07-08 19:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41fa46c8012d17390007226ae0007800ff27..."} 
[2026-07-08 19:17:21] local.INFO: Processing buffer {"connection_id":125882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41fa46c8012d17390007226ae0007800ff27..."} 
[2026-07-08 19:17:21] local.INFO: Packet analysis {"connection_id":125882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41fa"} 
[2026-07-08 19:17:21] local.INFO: Extracted packet for processing {"connection_id":125882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41fa"} 
[2026-07-08 19:17:21] local.INFO: GPS Element Parsed {"raw_longitude":756496640,"raw_latitude":119696096,"longitude_deg":75.649664,"latitude_deg":11.9696096,"altitude":120,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d173900","hex_latitude":"07226ae0","is_valid_coordinates":true} 
[2026-07-08 19: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-07-08 19:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580691968001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4935587438002176,"note":"Value kept but may cause issues"} 
[2026-07-08 19:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1673368767187050496,"note":"Value kept but may cause issues"} 
[2026-07-08 19:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783518349000,"timestamp_ms":1783518349000,"timestamp_seconds":1783518349,"priority":1,"record_length":96,"hex_timestamp":"0000019f41fa46c8"} 
[2026-07-08 19:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-08 19:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19: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-07-08 19:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":125882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":125882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":125882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580691968001,"66":13048,"105":206,"83":41984,"24":0,"16":4935587438002176,"45":1673368767187050496},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580691968001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:17:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:17:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4935587438002176,"km_value":4935587438002.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1673368767187050496,"description":"Unknown IO ID 45"} 
[2026-07-08 19:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580691968001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1673368767187050496}} 
[2026-07-08 19:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":125882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:17:21] local.INFO: GPS data processed {"connection_id":125882,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:17:21] local.INFO: Acknowledgment sent {"connection_id":125882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:17:35] local.INFO: TCP Data received {"connection_id":126649,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f41fa6dd8012d7edc4005c67bc8000601422b..."} 
[2026-07-08 19:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41fa6dd8012d7edc4005c67bc8000601422b..."} 
[2026-07-08 19:17:35] local.INFO: Processing buffer {"connection_id":126649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41fa6dd8012d7edc4005c67bc8000601422b..."} 
[2026-07-08 19:17:35] local.INFO: Packet analysis {"connection_id":126649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41fa"} 
[2026-07-08 19:17:35] local.INFO: Extracted packet for processing {"connection_id":126649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41fa"} 
[2026-07-08 19:17:35] local.INFO: GPS Element Parsed {"raw_longitude":763288640,"raw_latitude":96893896,"longitude_deg":76.328864,"latitude_deg":9.6893896,"altitude":6,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d7edc40","hex_latitude":"05c67bc8","is_valid_coordinates":true} 
[2026-07-08 19:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580622848001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343100490323591168,"note":"Value kept but may cause issues"} 
[2026-07-08 19:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9141251737204279296,"note":"Value kept but may cause issues"} 
[2026-07-08 19:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783518359000,"timestamp_ms":1783518359000,"timestamp_seconds":1783518359,"priority":1,"record_length":96,"hex_timestamp":"0000019f41fa6dd8"} 
[2026-07-08 19:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 19:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-08 19:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580622848001,"66":25995,"244":206,"85":12288,"24":0,"16":343100490323591168,"45":9141251737204279296},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-08 19:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580622848001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:17:35] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-08 19:17:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343100490323591168,"km_value":343100490323591.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9141251737204279296,"description":"Unknown IO ID 45"} 
[2026-07-08 19:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580622848001,"power":25995,"unknown_244":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9141251737204279296}} 
[2026-07-08 19:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":126649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:17:35] local.INFO: GPS data processed {"connection_id":126649,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:17:35] local.INFO: Acknowledgment sent {"connection_id":126649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:17:57] local.INFO: TCP Data received {"connection_id":125883,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:17:57] local.INFO: Processing buffer {"connection_id":125883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:17:57] local.INFO: IMEI packet received {"connection_id":125883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":125883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:17:58] local.INFO: TCP Data received {"connection_id":125883,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:17:58] local.INFO: Processing buffer {"connection_id":125883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:17:58] local.INFO: IMEI packet received {"connection_id":125883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":125883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:17:59] local.INFO: TCP Data received {"connection_id":125883,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:17:59] local.INFO: Processing buffer {"connection_id":125883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:17:59] local.INFO: IMEI packet received {"connection_id":125883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":125883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:18:00] local.INFO: TCP Data received {"connection_id":125883,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:18:00] local.INFO: Processing buffer {"connection_id":125883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:18:00] local.INFO: IMEI packet received {"connection_id":125883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":125883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:18:05] local.INFO: TCP Data received {"connection_id":127880,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:18:05] local.INFO: Processing buffer {"connection_id":127880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:18:05] local.INFO: IMEI packet received {"connection_id":127880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":127880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:18:11] local.INFO: TCP Data received {"connection_id":127880,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:18:11] local.INFO: Processing buffer {"connection_id":127880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:18:11] local.INFO: IMEI packet received {"connection_id":127880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":127880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:18:11] local.INFO: TCP Data received {"connection_id":127880,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f41fa6dd8012d7edc4005c67bc8000601422b..."} 
[2026-07-08 19:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41fa6dd8012d7edc4005c67bc8000601422b..."} 
[2026-07-08 19:18:11] local.INFO: Processing buffer {"connection_id":127880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41fa6dd8012d7edc4005c67bc8000601422b..."} 
[2026-07-08 19:18:11] local.INFO: Packet analysis {"connection_id":127880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41fa"} 
[2026-07-08 19:18:11] local.INFO: Extracted packet for processing {"connection_id":127880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41fa"} 
[2026-07-08 19:18:11] local.INFO: GPS Element Parsed {"raw_longitude":763288640,"raw_latitude":96893896,"longitude_deg":76.328864,"latitude_deg":9.6893896,"altitude":6,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d7edc40","hex_latitude":"05c67bc8","is_valid_coordinates":true} 
[2026-07-08 19:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580622848001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343100490323591168,"note":"Value kept but may cause issues"} 
[2026-07-08 19:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9141251737204279296,"note":"Value kept but may cause issues"} 
[2026-07-08 19:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783518359000,"timestamp_ms":1783518359000,"timestamp_seconds":1783518359,"priority":1,"record_length":96,"hex_timestamp":"0000019f41fa6dd8"} 
[2026-07-08 19:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 19: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-08 19:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":127880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":127880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":127880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580622848001,"66":25995,"244":206,"85":12288,"24":0,"16":343100490323591168,"45":9141251737204279296},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-08 19:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580622848001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:18:12] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-08 19:18:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343100490323591168,"km_value":343100490323591.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9141251737204279296,"description":"Unknown IO ID 45"} 
[2026-07-08 19:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580622848001,"power":25995,"unknown_244":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9141251737204279296}} 
[2026-07-08 19:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":127880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:18:12] local.INFO: GPS data processed {"connection_id":127880,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:18:12] local.INFO: Acknowledgment sent {"connection_id":127880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:19:01] local.INFO: TCP Data received {"connection_id":125885,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:19:01] local.INFO: Processing buffer {"connection_id":125885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:19:01] local.INFO: IMEI packet received {"connection_id":125885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":125885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:19:05] local.INFO: TCP Data received {"connection_id":125885,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:19:05] local.INFO: Processing buffer {"connection_id":125885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:19:05] local.INFO: IMEI packet received {"connection_id":125885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":125885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:19:06] local.INFO: TCP Data received {"connection_id":125885,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f41fa6dd8012d7edc4005c67bc8000601422b..."} 
[2026-07-08 19:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41fa6dd8012d7edc4005c67bc8000601422b..."} 
[2026-07-08 19:19:06] local.INFO: Processing buffer {"connection_id":125885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41fa6dd8012d7edc4005c67bc8000601422b..."} 
[2026-07-08 19:19:06] local.INFO: Packet analysis {"connection_id":125885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41fa"} 
[2026-07-08 19:19:06] local.INFO: Extracted packet for processing {"connection_id":125885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41fa"} 
[2026-07-08 19:19:06] local.INFO: GPS Element Parsed {"raw_longitude":763288640,"raw_latitude":96893896,"longitude_deg":76.328864,"latitude_deg":9.6893896,"altitude":6,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d7edc40","hex_latitude":"05c67bc8","is_valid_coordinates":true} 
[2026-07-08 19:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580622848001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343100490323591168,"note":"Value kept but may cause issues"} 
[2026-07-08 19:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9141251737204279296,"note":"Value kept but may cause issues"} 
[2026-07-08 19:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783518359000,"timestamp_ms":1783518359000,"timestamp_seconds":1783518359,"priority":1,"record_length":96,"hex_timestamp":"0000019f41fa6dd8"} 
[2026-07-08 19:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 19:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-08 19:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580622848001,"66":25995,"244":206,"85":12288,"24":0,"16":343100490323591168,"45":9141251737204279296},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-08 19:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580622848001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:19:06] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-08 19:19:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343100490323591168,"km_value":343100490323591.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9141251737204279296,"description":"Unknown IO ID 45"} 
[2026-07-08 19:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580622848001,"power":25995,"unknown_244":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9141251737204279296}} 
[2026-07-08 19:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":125885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:19:06] local.INFO: GPS data processed {"connection_id":125885,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:19:06] local.INFO: Acknowledgment sent {"connection_id":125885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:19:10] local.INFO: TCP Data received {"connection_id":125885,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f41fa6dd8012d7edc4005c67bc8000601422b..."} 
[2026-07-08 19:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41fa6dd8012d7edc4005c67bc8000601422b..."} 
[2026-07-08 19:19:10] local.INFO: Processing buffer {"connection_id":125885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41fa6dd8012d7edc4005c67bc8000601422b..."} 
[2026-07-08 19:19:10] local.INFO: Packet analysis {"connection_id":125885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41fa"} 
[2026-07-08 19:19:10] local.INFO: Extracted packet for processing {"connection_id":125885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41fa"} 
[2026-07-08 19:19:10] local.INFO: GPS Element Parsed {"raw_longitude":763288640,"raw_latitude":96893896,"longitude_deg":76.328864,"latitude_deg":9.6893896,"altitude":6,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d7edc40","hex_latitude":"05c67bc8","is_valid_coordinates":true} 
[2026-07-08 19:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580622848001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343100490323591168,"note":"Value kept but may cause issues"} 
[2026-07-08 19:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9141251737204279296,"note":"Value kept but may cause issues"} 
[2026-07-08 19:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783518359000,"timestamp_ms":1783518359000,"timestamp_seconds":1783518359,"priority":1,"record_length":96,"hex_timestamp":"0000019f41fa6dd8"} 
[2026-07-08 19:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 19:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-08 19:19:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580622848001,"66":25995,"244":206,"85":12288,"24":0,"16":343100490323591168,"45":9141251737204279296},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-08 19:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580622848001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:19:10] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-08 19:19:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343100490323591168,"km_value":343100490323591.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9141251737204279296,"description":"Unknown IO ID 45"} 
[2026-07-08 19:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580622848001,"power":25995,"unknown_244":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9141251737204279296}} 
[2026-07-08 19:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":125885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:19:11] local.INFO: GPS data processed {"connection_id":125885,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:19:11] local.INFO: Acknowledgment sent {"connection_id":125885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:19:55] local.INFO: TCP Data received {"connection_id":126652,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:19:55] local.INFO: Processing buffer {"connection_id":126652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:19:55] local.INFO: IMEI packet received {"connection_id":126652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":126652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:20:00] local.INFO: TCP Data received {"connection_id":126652,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:20:00] local.INFO: Processing buffer {"connection_id":126652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:20:00] local.INFO: IMEI packet received {"connection_id":126652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":126652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:20:02] local.INFO: TCP Data received {"connection_id":126652,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f41fa6dd8012d7edc4005c67bc8000601422b..."} 
[2026-07-08 19:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41fa6dd8012d7edc4005c67bc8000601422b..."} 
[2026-07-08 19:20:02] local.INFO: Processing buffer {"connection_id":126652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41fa6dd8012d7edc4005c67bc8000601422b..."} 
[2026-07-08 19:20:02] local.INFO: Packet analysis {"connection_id":126652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41fa"} 
[2026-07-08 19:20:02] local.INFO: Extracted packet for processing {"connection_id":126652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41fa"} 
[2026-07-08 19:20:02] local.INFO: GPS Element Parsed {"raw_longitude":763288640,"raw_latitude":96893896,"longitude_deg":76.328864,"latitude_deg":9.6893896,"altitude":6,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d7edc40","hex_latitude":"05c67bc8","is_valid_coordinates":true} 
[2026-07-08 19:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580622848001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343100490323591168,"note":"Value kept but may cause issues"} 
[2026-07-08 19:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9141251737204279296,"note":"Value kept but may cause issues"} 
[2026-07-08 19:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783518359000,"timestamp_ms":1783518359000,"timestamp_seconds":1783518359,"priority":1,"record_length":96,"hex_timestamp":"0000019f41fa6dd8"} 
[2026-07-08 19:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:20:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 19:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-08 19:20:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:20:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580622848001,"66":25995,"244":206,"85":12288,"24":0,"16":343100490323591168,"45":9141251737204279296},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-08 19:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580622848001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:20:02] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-08 19:20:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343100490323591168,"km_value":343100490323591.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9141251737204279296,"description":"Unknown IO ID 45"} 
[2026-07-08 19:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580622848001,"power":25995,"unknown_244":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9141251737204279296}} 
[2026-07-08 19:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":126652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:20:02] local.INFO: GPS data processed {"connection_id":126652,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:20:02] local.INFO: Acknowledgment sent {"connection_id":126652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:20:34] local.INFO: TCP Data received {"connection_id":126652,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f41fa6dd8012d7edc4005c67bc8000601422b..."} 
[2026-07-08 19:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41fa6dd8012d7edc4005c67bc8000601422b..."} 
[2026-07-08 19:20:34] local.INFO: Processing buffer {"connection_id":126652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41fa6dd8012d7edc4005c67bc8000601422b..."} 
[2026-07-08 19:20:34] local.INFO: Packet analysis {"connection_id":126652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41fa"} 
[2026-07-08 19:20:34] local.INFO: Extracted packet for processing {"connection_id":126652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41fa"} 
[2026-07-08 19:20:34] local.INFO: GPS Element Parsed {"raw_longitude":763288640,"raw_latitude":96893896,"longitude_deg":76.328864,"latitude_deg":9.6893896,"altitude":6,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d7edc40","hex_latitude":"05c67bc8","is_valid_coordinates":true} 
[2026-07-08 19: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-07-08 19:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580622848001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343100490323591168,"note":"Value kept but may cause issues"} 
[2026-07-08 19:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9141251737204279296,"note":"Value kept but may cause issues"} 
[2026-07-08 19:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783518359000,"timestamp_ms":1783518359000,"timestamp_seconds":1783518359,"priority":1,"record_length":96,"hex_timestamp":"0000019f41fa6dd8"} 
[2026-07-08 19:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 19: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-08 19:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19: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-07-08 19:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580622848001,"66":25995,"244":206,"85":12288,"24":0,"16":343100490323591168,"45":9141251737204279296},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-08 19:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580622848001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:20:34] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-08 19:20:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343100490323591168,"km_value":343100490323591.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9141251737204279296,"description":"Unknown IO ID 45"} 
[2026-07-08 19:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580622848001,"power":25995,"unknown_244":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9141251737204279296}} 
[2026-07-08 19:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":126652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:20:34] local.INFO: GPS data processed {"connection_id":126652,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:20:34] local.INFO: Acknowledgment sent {"connection_id":126652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:21:10] local.INFO: TCP Data received {"connection_id":126654,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:21:10] local.INFO: Processing buffer {"connection_id":126654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:21:10] local.INFO: IMEI packet received {"connection_id":126654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":126654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:21:12] local.INFO: TCP Data received {"connection_id":126654,"ip":"42.106.6.27","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 19:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126654,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 19:21:12] local.INFO: Processing buffer {"connection_id":126654,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 19:21:12] local.INFO: IMEI packet received {"connection_id":126654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":126654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:21:16] local.INFO: TCP Data received {"connection_id":126654,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:21:16] local.INFO: Processing buffer {"connection_id":126654,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 19:21:16] local.INFO: IMEI packet received {"connection_id":126654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":126654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:21:22] local.INFO: TCP Data received {"connection_id":126654,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f41fa6dd8012d7edc4005c67bc8000601422b..."} 
[2026-07-08 19:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41fa6dd8012d7edc4005c67bc8000601422b..."} 
[2026-07-08 19:21:22] local.INFO: Processing buffer {"connection_id":126654,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f41..."} 
[2026-07-08 19:21:22] local.INFO: IMEI packet received {"connection_id":126654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":126654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:21:27] local.INFO: TCP Data received {"connection_id":126654,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f41fa6dd8012d7edc4005c67bc8000601422b..."} 
[2026-07-08 19:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41fa6dd8012d7edc4005c67bc8000601422b..."} 
[2026-07-08 19:21:27] local.INFO: Processing buffer {"connection_id":126654,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f41fa6dd8012d7edc4005c67bc8000601422b..."} 
[2026-07-08 19:21:27] local.INFO: Packet analysis {"connection_id":126654,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f41fa"} 
[2026-07-08 19:21:27] local.INFO: Extracted packet for processing {"connection_id":126654,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41fa"} 
[2026-07-08 19:21:27] local.INFO: GPS Element Parsed {"raw_longitude":763288640,"raw_latitude":96893896,"longitude_deg":76.328864,"latitude_deg":9.6893896,"altitude":6,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d7edc40","hex_latitude":"05c67bc8","is_valid_coordinates":true} 
[2026-07-08 19:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580622848001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343100490323591168,"note":"Value kept but may cause issues"} 
[2026-07-08 19:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9141251737204279296,"note":"Value kept but may cause issues"} 
[2026-07-08 19:21:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783518359000,"timestamp_ms":1783518359000,"timestamp_seconds":1783518359,"priority":1,"record_length":96,"hex_timestamp":"0000019f41fa6dd8"} 
[2026-07-08 19:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 19: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-08 19:21:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":126654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":126654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":126654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580622848001,"66":25995,"244":206,"85":12288,"24":0,"16":343100490323591168,"45":9141251737204279296},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-08 19:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580622848001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:21:27] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-08 19:21:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343100490323591168,"km_value":343100490323591.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9141251737204279296,"description":"Unknown IO ID 45"} 
[2026-07-08 19:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580622848001,"power":25995,"unknown_244":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9141251737204279296}} 
[2026-07-08 19:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":126654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:21:27] local.INFO: GPS data processed {"connection_id":126654,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:21:27] local.INFO: Acknowledgment sent {"connection_id":126654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:21:27] local.INFO: Packet analysis {"connection_id":126654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41fa"} 
[2026-07-08 19:21:27] local.INFO: Extracted packet for processing {"connection_id":126654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41fa"} 
[2026-07-08 19:21:27] local.INFO: GPS Element Parsed {"raw_longitude":763288640,"raw_latitude":96893896,"longitude_deg":76.328864,"latitude_deg":9.6893896,"altitude":6,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d7edc40","hex_latitude":"05c67bc8","is_valid_coordinates":true} 
[2026-07-08 19:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580622848001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343100490323591168,"note":"Value kept but may cause issues"} 
[2026-07-08 19:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9141251737204279296,"note":"Value kept but may cause issues"} 
[2026-07-08 19:21:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783518359000,"timestamp_ms":1783518359000,"timestamp_seconds":1783518359,"priority":1,"record_length":96,"hex_timestamp":"0000019f41fa6dd8"} 
[2026-07-08 19:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 19: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-08 19:21:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":126654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":126654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":126654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580622848001,"66":25995,"244":206,"85":12288,"24":0,"16":343100490323591168,"45":9141251737204279296},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-08 19:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580622848001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:21:27] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-08 19:21:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343100490323591168,"km_value":343100490323591.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9141251737204279296,"description":"Unknown IO ID 45"} 
[2026-07-08 19:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580622848001,"power":25995,"unknown_244":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9141251737204279296}} 
[2026-07-08 19:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":126654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:21:27] local.INFO: GPS data processed {"connection_id":126654,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:21:27] local.INFO: Acknowledgment sent {"connection_id":126654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:21:28] local.INFO: TCP Data received {"connection_id":126654,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f41fa6dd8012d7edc4005c67bc8000601422b..."} 
[2026-07-08 19:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41fa6dd8012d7edc4005c67bc8000601422b..."} 
[2026-07-08 19:21:28] local.INFO: Processing buffer {"connection_id":126654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41fa6dd8012d7edc4005c67bc8000601422b..."} 
[2026-07-08 19:21:28] local.INFO: Packet analysis {"connection_id":126654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41fa"} 
[2026-07-08 19:21:28] local.INFO: Extracted packet for processing {"connection_id":126654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41fa"} 
[2026-07-08 19:21:28] local.INFO: GPS Element Parsed {"raw_longitude":763288640,"raw_latitude":96893896,"longitude_deg":76.328864,"latitude_deg":9.6893896,"altitude":6,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d7edc40","hex_latitude":"05c67bc8","is_valid_coordinates":true} 
[2026-07-08 19:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580622848001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343100490323591168,"note":"Value kept but may cause issues"} 
[2026-07-08 19:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9141251737204279296,"note":"Value kept but may cause issues"} 
[2026-07-08 19:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783518359000,"timestamp_ms":1783518359000,"timestamp_seconds":1783518359,"priority":1,"record_length":96,"hex_timestamp":"0000019f41fa6dd8"} 
[2026-07-08 19:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:21:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 19:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-08 19:21:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:21:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":126654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":126654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":126654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580622848001,"66":25995,"244":206,"85":12288,"24":0,"16":343100490323591168,"45":9141251737204279296},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-08 19:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580622848001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:21:28] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-08 19:21:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343100490323591168,"km_value":343100490323591.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9141251737204279296,"description":"Unknown IO ID 45"} 
[2026-07-08 19:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580622848001,"power":25995,"unknown_244":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9141251737204279296}} 
[2026-07-08 19:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":126654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:21:28] local.INFO: GPS data processed {"connection_id":126654,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:21:28] local.INFO: Acknowledgment sent {"connection_id":126654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:22:00] local.INFO: TCP Data received {"connection_id":125888,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:22:00] local.INFO: Processing buffer {"connection_id":125888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:22:00] local.INFO: IMEI packet received {"connection_id":125888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":125888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:22:05] local.INFO: TCP Data received {"connection_id":125888,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:22:05] local.INFO: Processing buffer {"connection_id":125888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:22:05] local.INFO: IMEI packet received {"connection_id":125888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":125888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:22:06] local.INFO: TCP Data received {"connection_id":125888,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ff05a0012d7edc4005c67bc8000601422a..."} 
[2026-07-08 19:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ff05a0012d7edc4005c67bc8000601422a..."} 
[2026-07-08 19:22:06] local.INFO: Processing buffer {"connection_id":125888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ff05a0012d7edc4005c67bc8000601422a..."} 
[2026-07-08 19:22:06] local.INFO: Packet analysis {"connection_id":125888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ff"} 
[2026-07-08 19:22:06] local.INFO: Extracted packet for processing {"connection_id":125888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ff"} 
[2026-07-08 19:22:06] local.INFO: GPS Element Parsed {"raw_longitude":763288640,"raw_latitude":96893896,"longitude_deg":76.328864,"latitude_deg":9.6893896,"altitude":6,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d7edc40","hex_latitude":"05c67bc8","is_valid_coordinates":true} 
[2026-07-08 19:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580699904001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343100490323591168,"note":"Value kept but may cause issues"} 
[2026-07-08 19:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9141251737204279296,"note":"Value kept but may cause issues"} 
[2026-07-08 19:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783518660000,"timestamp_ms":1783518660000,"timestamp_seconds":1783518660,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ff05a0"} 
[2026-07-08 19:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 19:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-08 19:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580699904001,"66":25843,"244":206,"85":12288,"24":0,"16":343100490323591168,"45":9141251737204279296},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-08 19:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580699904001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:22:06] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-08 19:22:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343100490323591168,"km_value":343100490323591.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9141251737204279296,"description":"Unknown IO ID 45"} 
[2026-07-08 19:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580699904001,"power":25843,"unknown_244":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9141251737204279296}} 
[2026-07-08 19:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":125888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:22:06] local.INFO: GPS data processed {"connection_id":125888,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:22:06] local.INFO: Acknowledgment sent {"connection_id":125888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:22:16] local.INFO: TCP Data received {"connection_id":125770,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125770,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:22:16] local.INFO: Processing buffer {"connection_id":125770,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:22:16] local.INFO: IMEI packet received {"connection_id":125770,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 19:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":125770,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:22:41] local.INFO: TCP Data received {"connection_id":125888,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ff1158012d7edc4005c67bc8000601422a..."} 
[2026-07-08 19:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ff1158012d7edc4005c67bc8000601422a..."} 
[2026-07-08 19:22:41] local.INFO: Processing buffer {"connection_id":125888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ff1158012d7edc4005c67bc8000601422a..."} 
[2026-07-08 19:22:41] local.INFO: Packet analysis {"connection_id":125888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ff"} 
[2026-07-08 19:22:41] local.INFO: Extracted packet for processing {"connection_id":125888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ff"} 
[2026-07-08 19:22:41] local.INFO: GPS Element Parsed {"raw_longitude":763288640,"raw_latitude":96893896,"longitude_deg":76.328864,"latitude_deg":9.6893896,"altitude":6,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d7edc40","hex_latitude":"05c67bc8","is_valid_coordinates":true} 
[2026-07-08 19:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580776960001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343100490323591168,"note":"Value kept but may cause issues"} 
[2026-07-08 19:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9141251737204279296,"note":"Value kept but may cause issues"} 
[2026-07-08 19:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783518663000,"timestamp_ms":1783518663000,"timestamp_seconds":1783518663,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ff1158"} 
[2026-07-08 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-07-08 19:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-08 19:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 19:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580776960001,"66":25843,"244":206,"85":12288,"24":0,"16":343100490323591168,"45":9141251737204279296},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-08 19:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580776960001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:22:41] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-08 19:22:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343100490323591168,"km_value":343100490323591.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9141251737204279296,"description":"Unknown IO ID 45"} 
[2026-07-08 19:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580776960001,"power":25843,"unknown_244":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9141251737204279296}} 
[2026-07-08 19:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":125888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:22:41] local.INFO: GPS data processed {"connection_id":125888,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:22:41] local.INFO: Acknowledgment sent {"connection_id":125888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:22:53] local.INFO: TCP Data received {"connection_id":125890,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125890,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:22:53] local.INFO: Processing buffer {"connection_id":125890,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:22:53] local.INFO: IMEI packet received {"connection_id":125890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 19:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":125890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:22:55] local.INFO: TCP Data received {"connection_id":125891,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:22:55] local.INFO: Processing buffer {"connection_id":125891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:22:55] local.INFO: IMEI packet received {"connection_id":125891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":125891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:23:00] local.INFO: TCP Data received {"connection_id":125891,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:23:00] local.INFO: Processing buffer {"connection_id":125891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:23:00] local.INFO: IMEI packet received {"connection_id":125891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":125891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:23:01] local.INFO: TCP Data received {"connection_id":125891,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ff7300012d7ed44005c68198000601382b..."} 
[2026-07-08 19:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ff7300012d7ed44005c68198000601382b..."} 
[2026-07-08 19:23:01] local.INFO: Processing buffer {"connection_id":125891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ff7300012d7ed44005c68198000601382b..."} 
[2026-07-08 19:23:01] local.INFO: Packet analysis {"connection_id":125891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ff"} 
[2026-07-08 19:23:01] local.INFO: Extracted packet for processing {"connection_id":125891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ff"} 
[2026-07-08 19:23:01] local.INFO: GPS Element Parsed {"raw_longitude":763286592,"raw_latitude":96895384,"longitude_deg":76.3286592,"latitude_deg":9.6895384,"altitude":6,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d7ed440","hex_latitude":"05c68198","is_valid_coordinates":true} 
[2026-07-08 19:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580777728001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343100490323591168,"note":"Value kept but may cause issues"} 
[2026-07-08 19:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9141251737204279296,"note":"Value kept but may cause issues"} 
[2026-07-08 19:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783518688000,"timestamp_ms":1783518688000,"timestamp_seconds":1783518688,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ff7300"} 
[2026-07-08 19:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-08 19:23:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580777728001,"66":27321,"244":206,"85":12288,"24":0,"16":343100490323591168,"45":9141251737204279296},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-08 19:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580777728001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:23:01] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-08 19:23:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343100490323591168,"km_value":343100490323591.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9141251737204279296,"description":"Unknown IO ID 45"} 
[2026-07-08 19:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580777728001,"power":27321,"unknown_244":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9141251737204279296}} 
[2026-07-08 19:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":125891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:23:01] local.INFO: GPS data processed {"connection_id":125891,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:23:01] local.INFO: Acknowledgment sent {"connection_id":125891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:23:05] local.INFO: TCP Data received {"connection_id":126655,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:23:05] local.INFO: Processing buffer {"connection_id":126655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:23:05] local.INFO: IMEI packet received {"connection_id":126655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":126655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:23:09] local.INFO: TCP Data received {"connection_id":126655,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:23:09] local.INFO: Processing buffer {"connection_id":126655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:23:09] local.INFO: IMEI packet received {"connection_id":126655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":126655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:23:09] local.INFO: TCP Data received {"connection_id":126655,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ffffa0012d17fec007218628004700332a..."} 
[2026-07-08 19:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ffffa0012d17fec007218628004700332a..."} 
[2026-07-08 19:23:09] local.INFO: Processing buffer {"connection_id":126655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ffffa0012d17fec007218628004700332a..."} 
[2026-07-08 19:23:09] local.INFO: Packet analysis {"connection_id":126655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ff"} 
[2026-07-08 19:23:09] local.INFO: Extracted packet for processing {"connection_id":126655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ff"} 
[2026-07-08 19:23:09] local.INFO: GPS Element Parsed {"raw_longitude":756547264,"raw_latitude":119637544,"longitude_deg":75.6547264,"latitude_deg":11.9637544,"altitude":71,"angle":51,"satellites":42,"speed":16,"hex_longitude":"2d17fec0","hex_latitude":"07218628","is_valid_coordinates":true} 
[2026-07-08 19:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580792576001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4940264657387520,"note":"Value kept but may cause issues"} 
[2026-07-08 19:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1727904543909578752,"note":"Value kept but may cause issues"} 
[2026-07-08 19:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783518724000,"timestamp_ms":1783518724000,"timestamp_seconds":1783518724,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ffffa0"} 
[2026-07-08 19:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-07-08 19:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580792576001,"66":13580,"105":206,"83":41984,"24":16,"16":4940264657387520,"45":1727904543909578752},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580792576001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:23:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:23:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4940264657387520,"km_value":4940264657387.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1727904543909578752,"description":"Unknown IO ID 45"} 
[2026-07-08 19:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580792576001,"power":13580,"unknown_105":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1727904543909578752}} 
[2026-07-08 19:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":126655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:23:09] local.INFO: GPS data processed {"connection_id":126655,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:23:09] local.INFO: Acknowledgment sent {"connection_id":126655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:23:10] local.INFO: TCP Data received {"connection_id":126655,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f42001af8012d180b80072191e80048002829..."} 
[2026-07-08 19:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42001af8012d180b80072191e80048002829..."} 
[2026-07-08 19:23:10] local.INFO: Processing buffer {"connection_id":126655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42001af8012d180b80072191e80048002829..."} 
[2026-07-08 19:23:10] local.INFO: Packet analysis {"connection_id":126655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4200"} 
[2026-07-08 19:23:10] local.INFO: Extracted packet for processing {"connection_id":126655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4200"} 
[2026-07-08 19:23:10] local.INFO: GPS Element Parsed {"raw_longitude":756550528,"raw_latitude":119640552,"longitude_deg":75.6550528,"latitude_deg":11.9640552,"altitude":72,"angle":40,"satellites":41,"speed":29,"hex_longitude":"2d180b80","hex_latitude":"072191e8","is_valid_coordinates":true} 
[2026-07-08 19:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580793344001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4940479405752320,"note":"Value kept but may cause issues"} 
[2026-07-08 19:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1729030443816593408,"note":"Value kept but may cause issues"} 
[2026-07-08 19:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783518731000,"timestamp_ms":1783518731000,"timestamp_seconds":1783518731,"priority":1,"record_length":96,"hex_timestamp":"0000019f42001af8"} 
[2026-07-08 19:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-08 19:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751518092,"note":"Value kept but may cause issues"} 
[2026-07-08 19:23:10] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-08 19:23:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 19:23:10] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-08 19:23:10] local.WARNING: Large IO value detected {"io_id":65,"raw_value":4291870721,"note":"Value kept but may cause issues"} 
[2026-07-08 19:23:10] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2248671306,"note":"Value kept but may cause issues"} 
[2026-07-08 19:23:10] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634883858262635,"note":"Value kept but may cause issues"} 
[2026-07-08 19:23:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-07-08 19:23:10] local.WARNING: Large IO value detected {"io_id":177,"raw_value":2147560727,"note":"Value kept but may cause issues"} 
[2026-07-08 19:23:10] local.WARNING: Large IO value detected {"io_id":52,"raw_value":8358906765345082963,"note":"Value kept but may cause issues"} 
[2026-07-08 19:23:10] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-08 19:23:10] local.WARNING: Large IO value detected {"io_id":17,"raw_value":2364211200,"note":"Value kept but may cause issues"} 
[2026-07-08 19:23:10] local.WARNING: Large IO value detected {"io_id":23,"raw_value":-2197748777477472178,"note":"Value kept but may cause issues"} 
[2026-07-08 19:23:10] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-07-08 19:23:10] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,141,159,243,45,192,131,72,42,10,66,240,128,43,236,1,181,227,65,33,4,113,205,9,177,237,239,52,107,2,17,7,77,23,164],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-07-08 19:23:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116145432175575040,"timestamp_seconds":5116145432175575.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 19:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580793344001,"66":13656,"105":206,"83":41984,"24":29,"16":4940479405752320,"45":1729030443816593408},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580793344001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:23:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:23:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4940479405752320,"km_value":4940479405752.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1729030443816593408,"description":"Unknown IO ID 45"} 
[2026-07-08 19:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580793344001,"power":13656,"unknown_105":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1729030443816593408}} 
[2026-07-08 19:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":126655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:23:10] local.INFO: GPS data processed {"connection_id":126655,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:23:10] local.INFO: Acknowledgment sent {"connection_id":126655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:23:32] local.INFO: TCP Data received {"connection_id":125891,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ffc508012d7ed44005c68198000601382b..."} 
[2026-07-08 19:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ffc508012d7ed44005c68198000601382b..."} 
[2026-07-08 19:23:32] local.INFO: Processing buffer {"connection_id":125891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ffc508012d7ed44005c68198000601382b..."} 
[2026-07-08 19:23:32] local.INFO: Packet analysis {"connection_id":125891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ff"} 
[2026-07-08 19:23:32] local.INFO: Extracted packet for processing {"connection_id":125891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ff"} 
[2026-07-08 19:23:32] local.INFO: GPS Element Parsed {"raw_longitude":763286592,"raw_latitude":96895384,"longitude_deg":76.3286592,"latitude_deg":9.6895384,"altitude":6,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d7ed440","hex_latitude":"05c68198","is_valid_coordinates":true} 
[2026-07-08 19: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-07-08 19:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580784128001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:23:32] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-08 19:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343100490323591168,"note":"Value kept but may cause issues"} 
[2026-07-08 19:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9138999937390974976,"note":"Value kept but may cause issues"} 
[2026-07-08 19:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-08 19:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783518709000,"timestamp_ms":1783518709000,"timestamp_seconds":1783518709,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ffc508"} 
[2026-07-08 19:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 19:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19: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-07-08 19:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580784128001,"66":27365,"200":0,"85":12288,"24":0,"16":343100490323591168,"45":9138999937390974976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-07-08 19:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580784128001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:23:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343100490323591168,"km_value":343100490323591.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9138999937390974976,"description":"Unknown IO ID 45"} 
[2026-07-08 19:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580784128001,"power":27365,"gsm_signal":0,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9138999937390974976}} 
[2026-07-08 19:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":125891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:23:32] local.INFO: GPS data processed {"connection_id":125891,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:23:32] local.INFO: Acknowledgment sent {"connection_id":125891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:23:41] local.INFO: TCP Data received {"connection_id":126655,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f42003268012d1816000721a0880048001c29..."} 
[2026-07-08 19:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42003268012d1816000721a0880048001c29..."} 
[2026-07-08 19:23:41] local.INFO: Processing buffer {"connection_id":126655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42003268012d1816000721a0880048001c29..."} 
[2026-07-08 19:23:41] local.INFO: Packet analysis {"connection_id":126655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4200"} 
[2026-07-08 19:23:41] local.INFO: Extracted packet for processing {"connection_id":126655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4200"} 
[2026-07-08 19:23:41] local.INFO: GPS Element Parsed {"raw_longitude":756553216,"raw_latitude":119644296,"longitude_deg":75.6553216,"latitude_deg":11.9644296,"altitude":72,"angle":28,"satellites":41,"speed":29,"hex_longitude":"2d181600","hex_latitude":"0721a088","is_valid_coordinates":true} 
[2026-07-08 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-07-08 19:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580795136001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4940702744051712,"note":"Value kept but may cause issues"} 
[2026-07-08 19:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732619249770424320,"note":"Value kept but may cause issues"} 
[2026-07-08 19: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-07-08 19:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783518737000,"timestamp_ms":1783518737000,"timestamp_seconds":1783518737,"priority":1,"record_length":96,"hex_timestamp":"0000019f42003268"} 
[2026-07-08 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-07-08 19:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-07-08 19:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 19:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":126655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":126655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":126655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:23: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-07-08 19:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580795136001,"66":13080,"105":206,"83":41984,"24":29,"16":4940702744051712,"45":1732619249770424320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580795136001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:23:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:23:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4940702744051712,"km_value":4940702744051.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732619249770424320,"description":"Unknown IO ID 45"} 
[2026-07-08 19:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580795136001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1732619249770424320}} 
[2026-07-08 19:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":126655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:23:41] local.INFO: GPS data processed {"connection_id":126655,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:23:41] local.INFO: Acknowledgment sent {"connection_id":126655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:23:55] local.INFO: TCP Data received {"connection_id":127883,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:23:55] local.INFO: Processing buffer {"connection_id":127883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:23:55] local.INFO: IMEI packet received {"connection_id":127883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":127883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:24:00] local.INFO: TCP Data received {"connection_id":127883,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:24:00] local.INFO: Processing buffer {"connection_id":127883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:24:00] local.INFO: IMEI packet received {"connection_id":127883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":127883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:24:01] local.INFO: TCP Data received {"connection_id":127883,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ffd890012d7ed10005c68520000401442b..."} 
[2026-07-08 19:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ffd890012d7ed10005c68520000401442b..."} 
[2026-07-08 19:24:01] local.INFO: Processing buffer {"connection_id":127883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ffd890012d7ed10005c68520000401442b..."} 
[2026-07-08 19:24:01] local.INFO: Packet analysis {"connection_id":127883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ff"} 
[2026-07-08 19:24:01] local.INFO: Extracted packet for processing {"connection_id":127883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ff"} 
[2026-07-08 19:24:01] local.INFO: GPS Element Parsed {"raw_longitude":763285760,"raw_latitude":96896288,"longitude_deg":76.328576,"latitude_deg":9.6896288,"altitude":4,"angle":324,"satellites":43,"speed":12,"hex_longitude":"2d7ed100","hex_latitude":"05c68520","is_valid_coordinates":true} 
[2026-07-08 19:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580789504001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:24:01] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-08 19:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343100550453133312,"note":"Value kept but may cause issues"} 
[2026-07-08 19:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9138999937390974976,"note":"Value kept but may cause issues"} 
[2026-07-08 19:24:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-08 19:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783518714000,"timestamp_ms":1783518714000,"timestamp_seconds":1783518714,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ffd890"} 
[2026-07-08 19:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:24:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 19:24:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:24:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580789504001,"66":27343,"200":0,"85":12288,"24":12,"16":343100550453133312,"45":9138999937390974976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-07-08 19:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580789504001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:24:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343100550453133312,"km_value":343100550453133.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9138999937390974976,"description":"Unknown IO ID 45"} 
[2026-07-08 19:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580789504001,"power":27343,"gsm_signal":0,"unknown_85":12288,"ignition":12,"odometer":null,"unknown_45":9138999937390974976}} 
[2026-07-08 19:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":127883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:24:01] local.INFO: GPS data processed {"connection_id":127883,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:24:01] local.INFO: Acknowledgment sent {"connection_id":127883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:24:15] local.INFO: TCP Data received {"connection_id":125771,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:24:15] local.INFO: Processing buffer {"connection_id":125771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:24:15] local.INFO: IMEI packet received {"connection_id":125771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":125771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:24:19] local.INFO: TCP Data received {"connection_id":125771,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:24:19] local.INFO: Processing buffer {"connection_id":125771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:24:19] local.INFO: IMEI packet received {"connection_id":125771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":125771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:24:20] local.INFO: TCP Data received {"connection_id":125771,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f42006530012d182ac00721c028004b002027..."} 
[2026-07-08 19:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42006530012d182ac00721c028004b002027..."} 
[2026-07-08 19:24:20] local.INFO: Processing buffer {"connection_id":125771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42006530012d182ac00721c028004b002027..."} 
[2026-07-08 19:24:20] local.INFO: Packet analysis {"connection_id":125771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4200"} 
[2026-07-08 19:24:20] local.INFO: Extracted packet for processing {"connection_id":125771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4200"} 
[2026-07-08 19:24:20] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119652392,"longitude_deg":75.6558528,"latitude_deg":11.9652392,"altitude":75,"angle":32,"satellites":39,"speed":35,"hex_longitude":"2d182ac0","hex_latitude":"0721c028","is_valid_coordinates":true} 
[2026-07-08 19: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-07-08 19:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580796672001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4941170895486976,"note":"Value kept but may cause issues"} 
[2026-07-08 19:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735574737026844672,"note":"Value kept but may cause issues"} 
[2026-07-08 19:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783518750000,"timestamp_ms":1783518750000,"timestamp_seconds":1783518750,"priority":1,"record_length":96,"hex_timestamp":"0000019f42006530"} 
[2026-07-08 19:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-08 19:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19: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-07-08 19:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":125771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":125771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":125771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:24: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-07-08 19:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580796672001,"66":13374,"105":206,"83":41984,"24":35,"16":4941170895486976,"45":1735574737026844672},"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-07-08 19:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580796672001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:24:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:24:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4941170895486976,"km_value":4941170895486.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735574737026844672,"description":"Unknown IO ID 45"} 
[2026-07-08 19:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580796672001,"power":13374,"unknown_105":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1735574737026844672}} 
[2026-07-08 19:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":125771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:24:20] local.INFO: GPS data processed {"connection_id":125771,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:24:20] local.INFO: Acknowledgment sent {"connection_id":125771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:24:33] local.INFO: TCP Data received {"connection_id":127883,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f41ffe830012d7ece0005c688b0000401392a..."} 
[2026-07-08 19:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f41ffe830012d7ece0005c688b0000401392a..."} 
[2026-07-08 19:24:33] local.INFO: Processing buffer {"connection_id":127883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f41ffe830012d7ece0005c688b0000401392a..."} 
[2026-07-08 19:24:33] local.INFO: Packet analysis {"connection_id":127883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f41ff"} 
[2026-07-08 19:24:33] local.INFO: Extracted packet for processing {"connection_id":127883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f41ff"} 
[2026-07-08 19:24:33] local.INFO: GPS Element Parsed {"raw_longitude":763284992,"raw_latitude":96897200,"longitude_deg":76.3284992,"latitude_deg":9.68972,"altitude":4,"angle":313,"satellites":42,"speed":12,"hex_longitude":"2d7ece00","hex_latitude":"05c688b0","is_valid_coordinates":true} 
[2026-07-08 19:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580790784001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:24:33] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-08 19:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343100606287708160,"note":"Value kept but may cause issues"} 
[2026-07-08 19:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9138085143716896768,"note":"Value kept but may cause issues"} 
[2026-07-08 19:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-08 19:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783518718000,"timestamp_ms":1783518718000,"timestamp_seconds":1783518718,"priority":1,"record_length":96,"hex_timestamp":"0000019f41ffe830"} 
[2026-07-08 19:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 19:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:24:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580790784001,"66":27343,"200":0,"85":12288,"24":12,"16":343100606287708160,"45":9138085143716896768},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-07-08 19:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580790784001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:24:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343100606287708160,"km_value":343100606287708.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9138085143716896768,"description":"Unknown IO ID 45"} 
[2026-07-08 19:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580790784001,"power":27343,"gsm_signal":0,"unknown_85":12288,"ignition":12,"odometer":null,"unknown_45":9138085143716896768}} 
[2026-07-08 19:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":127883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:24:33] local.INFO: GPS data processed {"connection_id":127883,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:24:33] local.INFO: Acknowledgment sent {"connection_id":127883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:24:55] local.INFO: TCP Data received {"connection_id":125893,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:24:55] local.INFO: Processing buffer {"connection_id":125893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:24:55] local.INFO: IMEI packet received {"connection_id":125893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":125893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:25:00] local.INFO: TCP Data received {"connection_id":126657,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:25:00] local.INFO: Processing buffer {"connection_id":126657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:25:00] local.INFO: IMEI packet received {"connection_id":126657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":126657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:25:00] local.INFO: TCP Data received {"connection_id":125893,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:25:00] local.INFO: Processing buffer {"connection_id":125893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:25:00] local.INFO: IMEI packet received {"connection_id":125893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":125893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:25:01] local.INFO: TCP Data received {"connection_id":125893,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4201b138012d7dac4005c74d88000501312c..."} 
[2026-07-08 19:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4201b138012d7dac4005c74d88000501312c..."} 
[2026-07-08 19:25:01] local.INFO: Processing buffer {"connection_id":125893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4201b138012d7dac4005c74d88000501312c..."} 
[2026-07-08 19:25:01] local.INFO: Packet analysis {"connection_id":125893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4201"} 
[2026-07-08 19:25:01] local.INFO: Extracted packet for processing {"connection_id":125893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4201"} 
[2026-07-08 19:25:01] local.INFO: GPS Element Parsed {"raw_longitude":763210816,"raw_latitude":96947592,"longitude_deg":76.3210816,"latitude_deg":9.6947592,"altitude":5,"angle":305,"satellites":44,"speed":33,"hex_longitude":"2d7dac40","hex_latitude":"05c74d88","is_valid_coordinates":true} 
[2026-07-08 19: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-07-08 19:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580819968001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:25:01] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-08 19:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343104927024807936,"note":"Value kept but may cause issues"} 
[2026-07-08 19:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9062016531273435136,"note":"Value kept but may cause issues"} 
[2026-07-08 19:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-08 19:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783518835000,"timestamp_ms":1783518835000,"timestamp_seconds":1783518835,"priority":1,"record_length":96,"hex_timestamp":"0000019f4201b138"} 
[2026-07-08 19:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 19:25:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19: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-07-08 19:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580819968001,"66":27517,"200":0,"85":12288,"24":33,"16":343104927024807936,"45":9062016531273435136},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-07-08 19:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580819968001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:25:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343104927024807936,"km_value":343104927024807.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9062016531273435136,"description":"Unknown IO ID 45"} 
[2026-07-08 19:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580819968001,"power":27517,"gsm_signal":0,"unknown_85":12288,"ignition":33,"odometer":null,"unknown_45":9062016531273435136}} 
[2026-07-08 19:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":125893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:25:01] local.INFO: GPS data processed {"connection_id":125893,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:25:01] local.INFO: Acknowledgment sent {"connection_id":125893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:25:04] local.INFO: TCP Data received {"connection_id":126657,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:25:04] local.INFO: Processing buffer {"connection_id":126657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:25:04] local.INFO: IMEI packet received {"connection_id":126657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":126657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:25:05] local.INFO: TCP Data received {"connection_id":126657,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f42008858012d183c000721dac8004d002229..."} 
[2026-07-08 19:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42008858012d183c000721dac8004d002229..."} 
[2026-07-08 19:25:05] local.INFO: Processing buffer {"connection_id":126657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42008858012d183c000721dac8004d002229..."} 
[2026-07-08 19:25:05] local.INFO: Packet analysis {"connection_id":126657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4200"} 
[2026-07-08 19:25:05] local.INFO: Extracted packet for processing {"connection_id":126657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4200"} 
[2026-07-08 19:25:05] local.INFO: GPS Element Parsed {"raw_longitude":756562944,"raw_latitude":119659208,"longitude_deg":75.6562944,"latitude_deg":11.9659208,"altitude":77,"angle":34,"satellites":41,"speed":33,"hex_longitude":"2d183c00","hex_latitude":"0721dac8","is_valid_coordinates":true} 
[2026-07-08 19:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580800000001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4941561737510912,"note":"Value kept but may cause issues"} 
[2026-07-08 19:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342795663360,"note":"Value kept but may cause issues"} 
[2026-07-08 19:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783518759000,"timestamp_ms":1783518759000,"timestamp_seconds":1783518759,"priority":1,"record_length":96,"hex_timestamp":"0000019f42008858"} 
[2026-07-08 19:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-08 19:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580800000001,"66":13222,"105":206,"83":41984,"24":33,"16":4941561737510912,"45":1741415342795663360},"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-07-08 19:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580800000001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:25:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:25:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4941561737510912,"km_value":4941561737510.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342795663360,"description":"Unknown IO ID 45"} 
[2026-07-08 19:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580800000001,"power":13222,"unknown_105":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1741415342795663360}} 
[2026-07-08 19:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":126657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:25:05] local.INFO: GPS data processed {"connection_id":126657,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:25:05] local.INFO: Acknowledgment sent {"connection_id":126657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:25:32] local.INFO: TCP Data received {"connection_id":125893,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4201d848012d7d8e0005c76238000501322b..."} 
[2026-07-08 19:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4201d848012d7d8e0005c76238000501322b..."} 
[2026-07-08 19:25:32] local.INFO: Processing buffer {"connection_id":125893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4201d848012d7d8e0005c76238000501322b..."} 
[2026-07-08 19:25:32] local.INFO: Packet analysis {"connection_id":125893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4201"} 
[2026-07-08 19:25:32] local.INFO: Extracted packet for processing {"connection_id":125893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4201"} 
[2026-07-08 19:25:32] local.INFO: GPS Element Parsed {"raw_longitude":763203072,"raw_latitude":96952888,"longitude_deg":76.3203072,"latitude_deg":9.6952888,"altitude":5,"angle":306,"satellites":43,"speed":35,"hex_longitude":"2d7d8e00","hex_latitude":"05c76238","is_valid_coordinates":true} 
[2026-07-08 19: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-07-08 19:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580821760001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:25:32] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-08 19:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343105382291341312,"note":"Value kept but may cause issues"} 
[2026-07-08 19:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9055683344297986048,"note":"Value kept but may cause issues"} 
[2026-07-08 19:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-08 19:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783518845000,"timestamp_ms":1783518845000,"timestamp_seconds":1783518845,"priority":1,"record_length":96,"hex_timestamp":"0000019f4201d848"} 
[2026-07-08 19:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:25:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-08 19:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19: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-07-08 19:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580821760001,"66":27376,"200":0,"85":12288,"24":35,"16":343105382291341312,"45":9055683344297986048},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-07-08 19:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580821760001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:25:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343105382291341312,"km_value":343105382291341.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9055683344297986048,"description":"Unknown IO ID 45"} 
[2026-07-08 19:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580821760001,"power":27376,"gsm_signal":0,"unknown_85":12288,"ignition":35,"odometer":null,"unknown_45":9055683344297986048}} 
[2026-07-08 19:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":125893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:25:32] local.INFO: GPS data processed {"connection_id":125893,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:25:32] local.INFO: Acknowledgment sent {"connection_id":125893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:25:36] local.INFO: TCP Data received {"connection_id":126657,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f42008c40012d183dc00721dd88004e002129..."} 
[2026-07-08 19:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42008c40012d183dc00721dd88004e002129..."} 
[2026-07-08 19:25:36] local.INFO: Processing buffer {"connection_id":126657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42008c40012d183dc00721dd88004e002129..."} 
[2026-07-08 19:25:36] local.INFO: Packet analysis {"connection_id":126657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4200"} 
[2026-07-08 19:25:36] local.INFO: Extracted packet for processing {"connection_id":126657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4200"} 
[2026-07-08 19:25:36] local.INFO: GPS Element Parsed {"raw_longitude":756563392,"raw_latitude":119659912,"longitude_deg":75.6563392,"latitude_deg":11.9659912,"altitude":78,"angle":33,"satellites":41,"speed":32,"hex_longitude":"2d183dc0","hex_latitude":"0721dd88","is_valid_coordinates":true} 
[2026-07-08 19:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580802304001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4941561737510912,"note":"Value kept but may cause issues"} 
[2026-07-08 19:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746270786145667072,"note":"Value kept but may cause issues"} 
[2026-07-08 19:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783518760000,"timestamp_ms":1783518760000,"timestamp_seconds":1783518760,"priority":1,"record_length":96,"hex_timestamp":"0000019f42008c40"} 
[2026-07-08 19:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:25: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-07-08 19:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-08 19:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580802304001,"66":4557,"105":206,"83":41984,"24":32,"16":4941561737510912,"45":1746270786145667072},"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-07-08 19:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580802304001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:25:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:25:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4941561737510912,"km_value":4941561737510.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746270786145667072,"description":"Unknown IO ID 45"} 
[2026-07-08 19:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580802304001,"power":4557,"unknown_105":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1746270786145667072}} 
[2026-07-08 19:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":126657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:25:36] local.INFO: GPS data processed {"connection_id":126657,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:25:36] local.INFO: Acknowledgment sent {"connection_id":126657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:25:55] local.INFO: TCP Data received {"connection_id":126659,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:25:55] local.INFO: Processing buffer {"connection_id":126659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:25:55] local.INFO: IMEI packet received {"connection_id":126659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":126659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:25:59] local.INFO: TCP Data received {"connection_id":125772,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:25:59] local.INFO: Processing buffer {"connection_id":125772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:25:59] local.INFO: IMEI packet received {"connection_id":125772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":125772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:26:00] local.INFO: TCP Data received {"connection_id":126659,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:26:00] local.INFO: Processing buffer {"connection_id":126659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:26:00] local.INFO: IMEI packet received {"connection_id":126659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":126659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:26:02] local.INFO: TCP Data received {"connection_id":126659,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:26:02] local.INFO: Processing buffer {"connection_id":126659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:26:02] local.INFO: IMEI packet received {"connection_id":126659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":126659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:26:03] local.INFO: TCP Data received {"connection_id":126659,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4201ff58012d7d720005c77990000501392b..."} 
[2026-07-08 19:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4201ff58012d7d720005c77990000501392b..."} 
[2026-07-08 19:26:03] local.INFO: Processing buffer {"connection_id":126659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4201ff58012d7d720005c77990000501392b..."} 
[2026-07-08 19:26:03] local.INFO: Packet analysis {"connection_id":126659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4201"} 
[2026-07-08 19:26:03] local.INFO: Extracted packet for processing {"connection_id":126659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4201"} 
[2026-07-08 19:26:03] local.INFO: GPS Element Parsed {"raw_longitude":763195904,"raw_latitude":96958864,"longitude_deg":76.3195904,"latitude_deg":9.6958864,"altitude":5,"angle":313,"satellites":43,"speed":39,"hex_longitude":"2d7d7200","hex_latitude":"05c77990","is_valid_coordinates":true} 
[2026-07-08 19: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-07-08 19:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580824320001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:26:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-08 19:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343105828967940096,"note":"Value kept but may cause issues"} 
[2026-07-08 19:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9047168726253844480,"note":"Value kept but may cause issues"} 
[2026-07-08 19:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-08 19:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783518855000,"timestamp_ms":1783518855000,"timestamp_seconds":1783518855,"priority":1,"record_length":96,"hex_timestamp":"0000019f4201ff58"} 
[2026-07-08 19:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 19:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19: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-07-08 19:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580824320001,"66":27343,"200":0,"85":12288,"24":39,"16":343105828967940096,"45":9047168726253844480},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-07-08 19:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580824320001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:26:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343105828967940096,"km_value":343105828967940.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9047168726253844480,"description":"Unknown IO ID 45"} 
[2026-07-08 19:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580824320001,"power":27343,"gsm_signal":0,"unknown_85":12288,"ignition":39,"odometer":null,"unknown_45":9047168726253844480}} 
[2026-07-08 19:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":126659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:26:03] local.INFO: GPS data processed {"connection_id":126659,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:26:03] local.INFO: Acknowledgment sent {"connection_id":126659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:26:04] local.INFO: TCP Data received {"connection_id":125772,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:26:04] local.INFO: Processing buffer {"connection_id":125772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:26:04] local.INFO: IMEI packet received {"connection_id":125772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":125772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:26:05] local.INFO: TCP Data received {"connection_id":125772,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f42008c40012d183dc00721dd88004e002129..."} 
[2026-07-08 19:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42008c40012d183dc00721dd88004e002129..."} 
[2026-07-08 19:26:05] local.INFO: Processing buffer {"connection_id":125772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42008c40012d183dc00721dd88004e002129..."} 
[2026-07-08 19:26:05] local.INFO: Packet analysis {"connection_id":125772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4200"} 
[2026-07-08 19:26:05] local.INFO: Extracted packet for processing {"connection_id":125772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4200"} 
[2026-07-08 19:26:05] local.INFO: GPS Element Parsed {"raw_longitude":756563392,"raw_latitude":119659912,"longitude_deg":75.6563392,"latitude_deg":11.9659912,"altitude":78,"angle":33,"satellites":41,"speed":32,"hex_longitude":"2d183dc0","hex_latitude":"0721dd88","is_valid_coordinates":true} 
[2026-07-08 19:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580802560001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4941561737510912,"note":"Value kept but may cause issues"} 
[2026-07-08 19:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746763367355090944,"note":"Value kept but may cause issues"} 
[2026-07-08 19:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783518760000,"timestamp_ms":1783518760000,"timestamp_seconds":1783518760,"priority":1,"record_length":96,"hex_timestamp":"0000019f42008c40"} 
[2026-07-08 19:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 19:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-08 19:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2128,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580802560001,"66":4557,"105":206,"83":41984,"24":32,"16":4941561737510912,"45":1746763367355090944},"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-07-08 19:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580802560001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:26:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:26:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4941561737510912,"km_value":4941561737510.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746763367355090944,"description":"Unknown IO ID 45"} 
[2026-07-08 19:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580802560001,"power":4557,"unknown_105":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1746763367355090944}} 
[2026-07-08 19:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":125772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:26:05] local.INFO: GPS data processed {"connection_id":125772,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:26:05] local.INFO: Acknowledgment sent {"connection_id":125772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:26:07] local.INFO: TCP Data received {"connection_id":126659,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42022a50012d7d5a0005c794e00003014328..."} 
[2026-07-08 19:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42022a50012d7d5a0005c794e00003014328..."} 
[2026-07-08 19:26:07] local.INFO: Processing buffer {"connection_id":126659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42022a50012d7d5a0005c794e00003014328..."} 
[2026-07-08 19:26:07] local.INFO: Packet analysis {"connection_id":126659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4202"} 
[2026-07-08 19:26:07] local.INFO: Extracted packet for processing {"connection_id":126659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4202"} 
[2026-07-08 19:26:07] local.INFO: GPS Element Parsed {"raw_longitude":763189760,"raw_latitude":96965856,"longitude_deg":76.318976,"latitude_deg":9.6965856,"altitude":3,"angle":323,"satellites":40,"speed":28,"hex_longitude":"2d7d5a00","hex_latitude":"05c794e0","is_valid_coordinates":true} 
[2026-07-08 19:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580826880001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:26:07] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-08 19:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343106279939506176,"note":"Value kept but may cause issues"} 
[2026-07-08 19:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9039287426907475968,"note":"Value kept but may cause issues"} 
[2026-07-08 19:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-08 19:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783518866000,"timestamp_ms":1783518866000,"timestamp_seconds":1783518866,"priority":1,"record_length":96,"hex_timestamp":"0000019f42022a50"} 
[2026-07-08 19:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 19:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580826880001,"66":27332,"200":0,"85":12288,"24":28,"16":343106279939506176,"45":9039287426907475968},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-07-08 19:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580826880001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:26:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343106279939506176,"km_value":343106279939506.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9039287426907475968,"description":"Unknown IO ID 45"} 
[2026-07-08 19:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580826880001,"power":27332,"gsm_signal":0,"unknown_85":12288,"ignition":28,"odometer":null,"unknown_45":9039287426907475968}} 
[2026-07-08 19:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":126659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:26:07] local.INFO: GPS data processed {"connection_id":126659,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:26:07] local.INFO: Acknowledgment sent {"connection_id":126659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:26:36] local.INFO: TCP Data received {"connection_id":125772,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f42008c40012d183dc00721dd88004e002129..."} 
[2026-07-08 19:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42008c40012d183dc00721dd88004e002129..."} 
[2026-07-08 19:26:36] local.INFO: Processing buffer {"connection_id":125772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42008c40012d183dc00721dd88004e002129..."} 
[2026-07-08 19:26:36] local.INFO: Packet analysis {"connection_id":125772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4200"} 
[2026-07-08 19:26:36] local.INFO: Extracted packet for processing {"connection_id":125772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4200"} 
[2026-07-08 19:26:36] local.INFO: GPS Element Parsed {"raw_longitude":756563392,"raw_latitude":119659912,"longitude_deg":75.6563392,"latitude_deg":11.9659912,"altitude":78,"angle":33,"satellites":41,"speed":32,"hex_longitude":"2d183dc0","hex_latitude":"0721dd88","is_valid_coordinates":true} 
[2026-07-08 19:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580802560001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4941561737510912,"note":"Value kept but may cause issues"} 
[2026-07-08 19:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746763367355090944,"note":"Value kept but may cause issues"} 
[2026-07-08 19:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783518760000,"timestamp_ms":1783518760000,"timestamp_seconds":1783518760,"priority":1,"record_length":96,"hex_timestamp":"0000019f42008c40"} 
[2026-07-08 19:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:26: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-07-08 19: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":17,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-08 19:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2128,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580802560001,"66":4557,"105":206,"83":41984,"24":32,"16":4941561737510912,"45":1746763367355090944},"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-07-08 19:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580802560001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:26:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:26:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4941561737510912,"km_value":4941561737510.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746763367355090944,"description":"Unknown IO ID 45"} 
[2026-07-08 19:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580802560001,"power":4557,"unknown_105":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1746763367355090944}} 
[2026-07-08 19:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":125772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:26:36] local.INFO: GPS data processed {"connection_id":125772,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:26:36] local.INFO: Acknowledgment sent {"connection_id":125772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:26:38] local.INFO: TCP Data received {"connection_id":126659,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42027488012d7d458005c7b1500003014a27..."} 
[2026-07-08 19:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42027488012d7d458005c7b1500003014a27..."} 
[2026-07-08 19:26:38] local.INFO: Processing buffer {"connection_id":126659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42027488012d7d458005c7b1500003014a27..."} 
[2026-07-08 19:26:38] local.INFO: Packet analysis {"connection_id":126659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4202"} 
[2026-07-08 19:26:38] local.INFO: Extracted packet for processing {"connection_id":126659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4202"} 
[2026-07-08 19:26:38] local.INFO: GPS Element Parsed {"raw_longitude":763184512,"raw_latitude":96973136,"longitude_deg":76.3184512,"latitude_deg":9.6973136,"altitude":3,"angle":330,"satellites":39,"speed":23,"hex_longitude":"2d7d4580","hex_latitude":"05c7b150","is_valid_coordinates":true} 
[2026-07-08 19:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580829696001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:26:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-08 19:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343106713731203072,"note":"Value kept but may cause issues"} 
[2026-07-08 19:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9032532027468210176,"note":"Value kept but may cause issues"} 
[2026-07-08 19:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-08 19:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783518885000,"timestamp_ms":1783518885000,"timestamp_seconds":1783518885,"priority":1,"record_length":96,"hex_timestamp":"0000019f42027488"} 
[2026-07-08 19:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-08 19:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580829696001,"66":27397,"200":0,"85":12288,"24":23,"16":343106713731203072,"45":9032532027468210176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-07-08 19:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580829696001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:26:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343106713731203072,"km_value":343106713731203.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9032532027468210176,"description":"Unknown IO ID 45"} 
[2026-07-08 19:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580829696001,"power":27397,"gsm_signal":0,"unknown_85":12288,"ignition":23,"odometer":null,"unknown_45":9032532027468210176}} 
[2026-07-08 19:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":126659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:26:38] local.INFO: GPS data processed {"connection_id":126659,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:26:38] local.INFO: Acknowledgment sent {"connection_id":126659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:26:59] local.INFO: TCP Data received {"connection_id":126660,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:26:59] local.INFO: Processing buffer {"connection_id":126660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:26:59] local.INFO: IMEI packet received {"connection_id":126660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":126660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:27:00] local.INFO: TCP Data received {"connection_id":125774,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:27:00] local.INFO: Processing buffer {"connection_id":125774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:27:00] local.INFO: IMEI packet received {"connection_id":125774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":125774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:27:03] local.INFO: TCP Data received {"connection_id":125774,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:27:03] local.INFO: Processing buffer {"connection_id":125774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:27:03] local.INFO: IMEI packet received {"connection_id":125774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":125774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:27:04] local.INFO: TCP Data received {"connection_id":125774,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4202a750012d7d35c005c7d0f80002015226..."} 
[2026-07-08 19:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4202a750012d7d35c005c7d0f80002015226..."} 
[2026-07-08 19:27:04] local.INFO: Processing buffer {"connection_id":125774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4202a750012d7d35c005c7d0f80002015226..."} 
[2026-07-08 19:27:04] local.INFO: Packet analysis {"connection_id":125774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4202"} 
[2026-07-08 19:27:04] local.INFO: Extracted packet for processing {"connection_id":125774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4202"} 
[2026-07-08 19:27:04] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":96981240,"longitude_deg":76.318048,"latitude_deg":9.698124,"altitude":2,"angle":338,"satellites":38,"speed":26,"hex_longitude":"2d7d35c0","hex_latitude":"05c7d0f8","is_valid_coordinates":true} 
[2026-07-08 19:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580834560001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:27:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-08 19:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343107151817867264,"note":"Value kept but may cause issues"} 
[2026-07-08 19:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026761790447505408,"note":"Value kept but may cause issues"} 
[2026-07-08 19:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-08 19:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783518898000,"timestamp_ms":1783518898000,"timestamp_seconds":1783518898,"priority":1,"record_length":96,"hex_timestamp":"0000019f4202a750"} 
[2026-07-08 19:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-08 19:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580834560001,"66":27343,"200":0,"85":12288,"24":26,"16":343107151817867264,"45":9026761790447505408},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-07-08 19:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580834560001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:27:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343107151817867264,"km_value":343107151817867.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026761790447505408,"description":"Unknown IO ID 45"} 
[2026-07-08 19:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580834560001,"power":27343,"gsm_signal":0,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":9026761790447505408}} 
[2026-07-08 19:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":125774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:27:04] local.INFO: GPS data processed {"connection_id":125774,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:27:04] local.INFO: Acknowledgment sent {"connection_id":125774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:27:04] local.INFO: TCP Data received {"connection_id":126660,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:27:04] local.INFO: Processing buffer {"connection_id":126660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:27:04] local.INFO: IMEI packet received {"connection_id":126660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":126660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:27:05] local.INFO: TCP Data received {"connection_id":125774,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4202d630012d7d294005c7f158000301562a..."} 
[2026-07-08 19:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4202d630012d7d294005c7f158000301562a..."} 
[2026-07-08 19:27:05] local.INFO: Processing buffer {"connection_id":125774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4202d630012d7d294005c7f158000301562a..."} 
[2026-07-08 19:27:05] local.INFO: Packet analysis {"connection_id":125774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4202"} 
[2026-07-08 19:27:05] local.INFO: Extracted packet for processing {"connection_id":125774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4202"} 
[2026-07-08 19:27:05] local.INFO: GPS Element Parsed {"raw_longitude":763177280,"raw_latitude":96989528,"longitude_deg":76.317728,"latitude_deg":9.6989528,"altitude":3,"angle":342,"satellites":42,"speed":30,"hex_longitude":"2d7d2940","hex_latitude":"05c7f158","is_valid_coordinates":true} 
[2026-07-08 19:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580837888001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:27:05] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-08 19:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343107581314596864,"note":"Value kept but may cause issues"} 
[2026-07-08 19:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328559566387200,"note":"Value kept but may cause issues"} 
[2026-07-08 19:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-08 19:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783518910000,"timestamp_ms":1783518910000,"timestamp_seconds":1783518910,"priority":1,"record_length":96,"hex_timestamp":"0000019f4202d630"} 
[2026-07-08 19:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 19:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580837888001,"66":27321,"200":0,"85":12288,"24":30,"16":343107581314596864,"45":9022328559566387200},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-07-08 19:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580837888001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:27:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343107581314596864,"km_value":343107581314596.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328559566387200,"description":"Unknown IO ID 45"} 
[2026-07-08 19:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580837888001,"power":27321,"gsm_signal":0,"unknown_85":12288,"ignition":30,"odometer":null,"unknown_45":9022328559566387200}} 
[2026-07-08 19:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":125774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:27:05] local.INFO: GPS data processed {"connection_id":125774,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:27:05] local.INFO: Acknowledgment sent {"connection_id":125774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:27:05] local.INFO: TCP Data received {"connection_id":126660,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f42008c40012d183dc00721dd88004e002129..."} 
[2026-07-08 19:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42008c40012d183dc00721dd88004e002129..."} 
[2026-07-08 19:27:05] local.INFO: Processing buffer {"connection_id":126660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42008c40012d183dc00721dd88004e002129..."} 
[2026-07-08 19:27:05] local.INFO: Packet analysis {"connection_id":126660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4200"} 
[2026-07-08 19:27:05] local.INFO: Extracted packet for processing {"connection_id":126660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4200"} 
[2026-07-08 19:27:05] local.INFO: GPS Element Parsed {"raw_longitude":756563392,"raw_latitude":119659912,"longitude_deg":75.6563392,"latitude_deg":11.9659912,"altitude":78,"angle":33,"satellites":41,"speed":32,"hex_longitude":"2d183dc0","hex_latitude":"0721dd88","is_valid_coordinates":true} 
[2026-07-08 19:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580802560001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4941561737510912,"note":"Value kept but may cause issues"} 
[2026-07-08 19:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746763367355090944,"note":"Value kept but may cause issues"} 
[2026-07-08 19:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783518760000,"timestamp_ms":1783518760000,"timestamp_seconds":1783518760,"priority":1,"record_length":96,"hex_timestamp":"0000019f42008c40"} 
[2026-07-08 19:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 19: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":17,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-08 19:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2128,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580802560001,"66":4557,"105":206,"83":41984,"24":32,"16":4941561737510912,"45":1746763367355090944},"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-07-08 19:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580802560001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:27:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:27:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4941561737510912,"km_value":4941561737510.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746763367355090944,"description":"Unknown IO ID 45"} 
[2026-07-08 19:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580802560001,"power":4557,"unknown_105":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1746763367355090944}} 
[2026-07-08 19:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":126660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:27:05] local.INFO: GPS data processed {"connection_id":126660,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:27:05] local.INFO: Acknowledgment sent {"connection_id":126660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:27:36] local.INFO: TCP Data received {"connection_id":125774,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42030128012d7d218005c813c00005015e2c..."} 
[2026-07-08 19:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42030128012d7d218005c813c00005015e2c..."} 
[2026-07-08 19:27:36] local.INFO: Processing buffer {"connection_id":125774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42030128012d7d218005c813c00005015e2c..."} 
[2026-07-08 19:27:36] local.INFO: Packet analysis {"connection_id":125774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4203"} 
[2026-07-08 19:27:36] local.INFO: Extracted packet for processing {"connection_id":125774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4203"} 
[2026-07-08 19:27:36] local.INFO: GPS Element Parsed {"raw_longitude":763175296,"raw_latitude":96998336,"longitude_deg":76.3175296,"latitude_deg":9.6998336,"altitude":5,"angle":350,"satellites":44,"speed":32,"hex_longitude":"2d7d2180","hex_latitude":"05c813c0","is_valid_coordinates":true} 
[2026-07-08 19:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580840960001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:27:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-07-08 19:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343108019401261056,"note":"Value kept but may cause issues"} 
[2026-07-08 19:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018810122359625728,"note":"Value kept but may cause issues"} 
[2026-07-08 19:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-07-08 19:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783518921000,"timestamp_ms":1783518921000,"timestamp_seconds":1783518921,"priority":1,"record_length":96,"hex_timestamp":"0000019f42030128"} 
[2026-07-08 19:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 19:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580840960001,"66":27463,"200":0,"85":12288,"24":32,"16":343108019401261056,"45":9018810122359625728},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-07-08 19:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580840960001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:27:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343108019401261056,"km_value":343108019401261.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018810122359625728,"description":"Unknown IO ID 45"} 
[2026-07-08 19:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580840960001,"power":27463,"gsm_signal":0,"unknown_85":12288,"ignition":32,"odometer":null,"unknown_45":9018810122359625728}} 
[2026-07-08 19:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":125774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:27:36] local.INFO: GPS data processed {"connection_id":125774,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:27:36] local.INFO: Acknowledgment sent {"connection_id":125774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:27:36] local.INFO: TCP Data received {"connection_id":126660,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f42008c40012d183dc00721dd88004e002129..."} 
[2026-07-08 19:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42008c40012d183dc00721dd88004e002129..."} 
[2026-07-08 19:27:36] local.INFO: Processing buffer {"connection_id":126660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42008c40012d183dc00721dd88004e002129..."} 
[2026-07-08 19:27:36] local.INFO: Packet analysis {"connection_id":126660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4200"} 
[2026-07-08 19:27:36] local.INFO: Extracted packet for processing {"connection_id":126660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4200"} 
[2026-07-08 19:27:36] local.INFO: GPS Element Parsed {"raw_longitude":756563392,"raw_latitude":119659912,"longitude_deg":75.6563392,"latitude_deg":11.9659912,"altitude":78,"angle":33,"satellites":41,"speed":32,"hex_longitude":"2d183dc0","hex_latitude":"0721dd88","is_valid_coordinates":true} 
[2026-07-08 19:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580802560001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4941561737510912,"note":"Value kept but may cause issues"} 
[2026-07-08 19:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746763367355090944,"note":"Value kept but may cause issues"} 
[2026-07-08 19:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783518760000,"timestamp_ms":1783518760000,"timestamp_seconds":1783518760,"priority":1,"record_length":96,"hex_timestamp":"0000019f42008c40"} 
[2026-07-08 19:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:27: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-07-08 19: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":17,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-08 19:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2128,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580802560001,"66":4557,"105":206,"83":41984,"24":32,"16":4941561737510912,"45":1746763367355090944},"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-07-08 19:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580802560001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:27:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:27:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4941561737510912,"km_value":4941561737510.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746763367355090944,"description":"Unknown IO ID 45"} 
[2026-07-08 19:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580802560001,"power":4557,"unknown_105":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1746763367355090944}} 
[2026-07-08 19:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":126660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:27:36] local.INFO: GPS data processed {"connection_id":126660,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:27:36] local.INFO: Acknowledgment sent {"connection_id":126660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:27:53] local.INFO: TCP Data received {"connection_id":126661,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:27:53] local.INFO: Processing buffer {"connection_id":126661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:27:53] local.INFO: IMEI packet received {"connection_id":126661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":126661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:27:55] local.INFO: TCP Data received {"connection_id":126661,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:27:55] local.INFO: Processing buffer {"connection_id":126661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:27:55] local.INFO: IMEI packet received {"connection_id":126661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":126661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:28:00] local.INFO: TCP Data received {"connection_id":126661,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:28:00] local.INFO: Processing buffer {"connection_id":126661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:28:00] local.INFO: IMEI packet received {"connection_id":126661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":126661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:28:01] local.INFO: TCP Data received {"connection_id":126661,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42032c20012d7d1c4005c837c8000401602c..."} 
[2026-07-08 19:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42032c20012d7d1c4005c837c8000401602c..."} 
[2026-07-08 19:28:01] local.INFO: Processing buffer {"connection_id":126661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42032c20012d7d1c4005c837c8000401602c..."} 
[2026-07-08 19:28:01] local.INFO: Packet analysis {"connection_id":126661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4203"} 
[2026-07-08 19:28:01] local.INFO: Extracted packet for processing {"connection_id":126661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4203"} 
[2026-07-08 19:28:01] local.INFO: GPS Element Parsed {"raw_longitude":763173952,"raw_latitude":97007560,"longitude_deg":76.3173952,"latitude_deg":9.700756,"altitude":4,"angle":352,"satellites":44,"speed":33,"hex_longitude":"2d7d1c40","hex_latitude":"05c837c8","is_valid_coordinates":true} 
[2026-07-08 19:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580843776001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343108470372827136,"note":"Value kept but may cause issues"} 
[2026-07-08 19:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016628691292372992,"note":"Value kept but may cause issues"} 
[2026-07-08 19:28:01] 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-07-08 19:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783518932000,"timestamp_ms":1783518932000,"timestamp_seconds":1783518932,"priority":1,"record_length":96,"hex_timestamp":"0000019f42032c20"} 
[2026-07-08 19:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-08 19:28:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:28:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580843776001,"66":27267,"205":206,"85":12288,"24":33,"16":343108470372827136,"45":9016628691292372992},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-07-08 19:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580843776001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:28:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343108470372827136,"km_value":343108470372827.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016628691292372992,"description":"Unknown IO ID 45"} 
[2026-07-08 19:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580843776001,"power":27267,"cell_id":206,"unknown_85":12288,"ignition":33,"odometer":null,"unknown_45":9016628691292372992}} 
[2026-07-08 19:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":126661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:28:01] local.INFO: GPS data processed {"connection_id":126661,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:28:01] local.INFO: Acknowledgment sent {"connection_id":126661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:28:04] local.INFO: TCP Data received {"connection_id":125775,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:28:04] local.INFO: Processing buffer {"connection_id":125775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:28:04] local.INFO: IMEI packet received {"connection_id":125775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":125775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:28:09] local.INFO: TCP Data received {"connection_id":125775,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:28:09] local.INFO: Processing buffer {"connection_id":125775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:28:09] local.INFO: IMEI packet received {"connection_id":125775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":125775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:28:10] local.INFO: TCP Data received {"connection_id":125775,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f42008c40012d183dc00721dd88004e002129..."} 
[2026-07-08 19:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42008c40012d183dc00721dd88004e002129..."} 
[2026-07-08 19:28:10] local.INFO: Processing buffer {"connection_id":125775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42008c40012d183dc00721dd88004e002129..."} 
[2026-07-08 19:28:10] local.INFO: Packet analysis {"connection_id":125775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4200"} 
[2026-07-08 19:28:10] local.INFO: Extracted packet for processing {"connection_id":125775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4200"} 
[2026-07-08 19:28:10] local.INFO: GPS Element Parsed {"raw_longitude":756563392,"raw_latitude":119659912,"longitude_deg":75.6563392,"latitude_deg":11.9659912,"altitude":78,"angle":33,"satellites":41,"speed":32,"hex_longitude":"2d183dc0","hex_latitude":"0721dd88","is_valid_coordinates":true} 
[2026-07-08 19:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580802560001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4941561737510912,"note":"Value kept but may cause issues"} 
[2026-07-08 19:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746763367355090944,"note":"Value kept but may cause issues"} 
[2026-07-08 19:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783518760000,"timestamp_ms":1783518760000,"timestamp_seconds":1783518760,"priority":1,"record_length":96,"hex_timestamp":"0000019f42008c40"} 
[2026-07-08 19:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 19: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":17,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-08 19:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2128,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580802560001,"66":4557,"105":206,"83":41984,"24":32,"16":4941561737510912,"45":1746763367355090944},"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-07-08 19:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580802560001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:28:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:28:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4941561737510912,"km_value":4941561737510.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746763367355090944,"description":"Unknown IO ID 45"} 
[2026-07-08 19:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580802560001,"power":4557,"unknown_105":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1746763367355090944}} 
[2026-07-08 19:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":125775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:28:10] local.INFO: GPS data processed {"connection_id":125775,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:28:10] local.INFO: Acknowledgment sent {"connection_id":125775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:28:11] local.INFO: TCP Data received {"connection_id":125894,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125894,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:28:11] local.INFO: Processing buffer {"connection_id":125894,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:28:11] local.INFO: IMEI packet received {"connection_id":125894,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 19:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":125894,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:28:18] local.INFO: TCP Data received {"connection_id":125775,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f42008c40012d183dc00721dd88004e002129..."} 
[2026-07-08 19:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42008c40012d183dc00721dd88004e002129..."} 
[2026-07-08 19:28:18] local.INFO: Processing buffer {"connection_id":125775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42008c40012d183dc00721dd88004e002129..."} 
[2026-07-08 19:28:18] local.INFO: Packet analysis {"connection_id":125775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4200"} 
[2026-07-08 19:28:18] local.INFO: Extracted packet for processing {"connection_id":125775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4200"} 
[2026-07-08 19:28:18] local.INFO: GPS Element Parsed {"raw_longitude":756563392,"raw_latitude":119659912,"longitude_deg":75.6563392,"latitude_deg":11.9659912,"altitude":78,"angle":33,"satellites":41,"speed":32,"hex_longitude":"2d183dc0","hex_latitude":"0721dd88","is_valid_coordinates":true} 
[2026-07-08 19:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580802560001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4941561737510912,"note":"Value kept but may cause issues"} 
[2026-07-08 19:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746763367355090944,"note":"Value kept but may cause issues"} 
[2026-07-08 19:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783518760000,"timestamp_ms":1783518760000,"timestamp_seconds":1783518760,"priority":1,"record_length":96,"hex_timestamp":"0000019f42008c40"} 
[2026-07-08 19:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 19: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":17,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-08 19:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2128,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:28:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":125775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":125775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":125775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580802560001,"66":4557,"105":206,"83":41984,"24":32,"16":4941561737510912,"45":1746763367355090944},"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-07-08 19:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580802560001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:28:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:28:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4941561737510912,"km_value":4941561737510.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746763367355090944,"description":"Unknown IO ID 45"} 
[2026-07-08 19:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580802560001,"power":4557,"unknown_105":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1746763367355090944}} 
[2026-07-08 19:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":125775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:28:18] local.INFO: GPS data processed {"connection_id":125775,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:28:18] local.INFO: Acknowledgment sent {"connection_id":125775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:28:32] local.INFO: TCP Data received {"connection_id":126661,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42035718012d7d178005c85a28000401612d..."} 
[2026-07-08 19:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42035718012d7d178005c85a28000401612d..."} 
[2026-07-08 19:28:32] local.INFO: Processing buffer {"connection_id":126661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42035718012d7d178005c85a28000401612d..."} 
[2026-07-08 19:28:32] local.INFO: Packet analysis {"connection_id":126661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4203"} 
[2026-07-08 19:28:32] local.INFO: Extracted packet for processing {"connection_id":126661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4203"} 
[2026-07-08 19:28:32] local.INFO: GPS Element Parsed {"raw_longitude":763172736,"raw_latitude":97016360,"longitude_deg":76.3172736,"latitude_deg":9.701636,"altitude":4,"angle":353,"satellites":45,"speed":28,"hex_longitude":"2d7d1780","hex_latitude":"05c85a28","is_valid_coordinates":true} 
[2026-07-08 19:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580846592001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343108904164524032,"note":"Value kept but may cause issues"} 
[2026-07-08 19:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015150947667003392,"note":"Value kept but may cause issues"} 
[2026-07-08 19:28:32] 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-07-08 19:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783518943000,"timestamp_ms":1783518943000,"timestamp_seconds":1783518943,"priority":1,"record_length":96,"hex_timestamp":"0000019f42035718"} 
[2026-07-08 19:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 19:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580846592001,"66":27397,"205":206,"85":12288,"24":28,"16":343108904164524032,"45":9015150947667003392},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-07-08 19:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580846592001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:28:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343108904164524032,"km_value":343108904164524.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015150947667003392,"description":"Unknown IO ID 45"} 
[2026-07-08 19:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580846592001,"power":27397,"cell_id":206,"unknown_85":12288,"ignition":28,"odometer":null,"unknown_45":9015150947667003392}} 
[2026-07-08 19:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":126661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:28:32] local.INFO: GPS data processed {"connection_id":126661,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:28:32] local.INFO: Acknowledgment sent {"connection_id":126661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:28:55] local.INFO: TCP Data received {"connection_id":127884,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:28:55] local.INFO: Processing buffer {"connection_id":127884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:28:55] local.INFO: IMEI packet received {"connection_id":127884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":127884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:28:55] local.INFO: TCP Data received {"connection_id":126662,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126662,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:28:55] local.INFO: Processing buffer {"connection_id":126662,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:28:55] local.INFO: IMEI packet received {"connection_id":126662,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 19:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":126662,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:28:59] local.INFO: TCP Data received {"connection_id":125895,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:28:59] local.INFO: Processing buffer {"connection_id":125895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:28:59] local.INFO: IMEI packet received {"connection_id":125895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":125895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:29:00] local.INFO: TCP Data received {"connection_id":127884,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:29:00] local.INFO: Processing buffer {"connection_id":127884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:29:00] local.INFO: IMEI packet received {"connection_id":127884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":127884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:29:01] local.INFO: TCP Data received {"connection_id":127884,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4203a920012d7d138005c875c80006015b2b..."} 
[2026-07-08 19:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4203a920012d7d138005c875c80006015b2b..."} 
[2026-07-08 19:29:01] local.INFO: Processing buffer {"connection_id":127884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4203a920012d7d138005c875c80006015b2b..."} 
[2026-07-08 19:29:01] local.INFO: Packet analysis {"connection_id":127884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4203"} 
[2026-07-08 19:29:01] local.INFO: Extracted packet for processing {"connection_id":127884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4203"} 
[2026-07-08 19:29:01] local.INFO: GPS Element Parsed {"raw_longitude":763171712,"raw_latitude":97023432,"longitude_deg":76.3171712,"latitude_deg":9.7023432,"altitude":6,"angle":347,"satellites":43,"speed":0,"hex_longitude":"2d7d1380","hex_latitude":"05c875c8","is_valid_coordinates":true} 
[2026-07-08 19:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580849408001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343109252056875008,"note":"Value kept but may cause issues"} 
[2026-07-08 19:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013813941529880576,"note":"Value kept but may cause issues"} 
[2026-07-08 19:29:01] 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-07-08 19:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783518964000,"timestamp_ms":1783518964000,"timestamp_seconds":1783518964,"priority":1,"record_length":96,"hex_timestamp":"0000019f4203a920"} 
[2026-07-08 19:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-08 19:29:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580849408001,"66":27332,"205":206,"85":12288,"24":0,"16":343109252056875008,"45":9013813941529880576},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-07-08 19:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580849408001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:29:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-07-08 19:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343109252056875008,"km_value":343109252056875.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013813941529880576,"description":"Unknown IO ID 45"} 
[2026-07-08 19:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580849408001,"power":27332,"cell_id":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9013813941529880576}} 
[2026-07-08 19:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":127884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:29:01] local.INFO: GPS data processed {"connection_id":127884,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:29:01] local.INFO: Acknowledgment sent {"connection_id":127884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:29:05] local.INFO: TCP Data received {"connection_id":125895,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:29:05] local.INFO: Processing buffer {"connection_id":125895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:29:05] local.INFO: IMEI packet received {"connection_id":125895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":125895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:29:05] local.INFO: TCP Data received {"connection_id":125895,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f420527f0012d1855800721fd28005300212b..."} 
[2026-07-08 19:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f420527f0012d1855800721fd28005300212b..."} 
[2026-07-08 19:29:05] local.INFO: Processing buffer {"connection_id":125895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f420527f0012d1855800721fd28005300212b..."} 
[2026-07-08 19:29:05] local.INFO: Packet analysis {"connection_id":125895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4205"} 
[2026-07-08 19:29:05] local.INFO: Extracted packet for processing {"connection_id":125895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4205"} 
[2026-07-08 19:29:05] local.INFO: GPS Element Parsed {"raw_longitude":756569472,"raw_latitude":119668008,"longitude_deg":75.6569472,"latitude_deg":11.9668008,"altitude":83,"angle":33,"satellites":43,"speed":0,"hex_longitude":"2d185580","hex_latitude":"0721fd28","is_valid_coordinates":true} 
[2026-07-08 19:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580802560001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4941561737510912,"note":"Value kept but may cause issues"} 
[2026-07-08 19:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746763367355090944,"note":"Value kept but may cause issues"} 
[2026-07-08 19:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783519062000,"timestamp_ms":1783519062000,"timestamp_seconds":1783519062,"priority":1,"record_length":96,"hex_timestamp":"0000019f420527f0"} 
[2026-07-08 19:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 19:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-08 19:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2128,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580802560001,"66":2166,"105":206,"83":41984,"24":0,"16":4941561737510912,"45":1746763367355090944},"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-07-08 19:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580802560001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:29:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:29:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4941561737510912,"km_value":4941561737510.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746763367355090944,"description":"Unknown IO ID 45"} 
[2026-07-08 19:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580802560001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746763367355090944}} 
[2026-07-08 19:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":125895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:29:05] local.INFO: GPS data processed {"connection_id":125895,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:29:05] local.INFO: Acknowledgment sent {"connection_id":125895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:29:32] local.INFO: TCP Data received {"connection_id":127884,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4205eb40012d7d060005c980680006000229..."} 
[2026-07-08 19:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4205eb40012d7d060005c980680006000229..."} 
[2026-07-08 19:29:32] local.INFO: Processing buffer {"connection_id":127884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4205eb40012d7d060005c980680006000229..."} 
[2026-07-08 19:29:32] local.INFO: Packet analysis {"connection_id":127884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4205"} 
[2026-07-08 19:29:32] local.INFO: Extracted packet for processing {"connection_id":127884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4205"} 
[2026-07-08 19:29:32] local.INFO: GPS Element Parsed {"raw_longitude":763168256,"raw_latitude":97091688,"longitude_deg":76.3168256,"latitude_deg":9.7091688,"altitude":6,"angle":2,"satellites":41,"speed":39,"hex_longitude":"2d7d0600","hex_latitude":"05c98068","is_valid_coordinates":true} 
[2026-07-08 19:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580890112001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343112490462216192,"note":"Value kept but may cause issues"} 
[2026-07-08 19:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008817760710090752,"note":"Value kept but may cause issues"} 
[2026-07-08 19:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783519112000,"timestamp_ms":1783519112000,"timestamp_seconds":1783519112,"priority":1,"record_length":96,"hex_timestamp":"0000019f4205eb40"} 
[2026-07-08 19:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-08 19:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580890112001,"66":27267,"131":206,"85":15104,"24":39,"16":343112490462216192,"45":9008817760710090752},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-08 19:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580890112001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:29:32] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-08 19:29:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343112490462216192,"km_value":343112490462216.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008817760710090752,"description":"Unknown IO ID 45"} 
[2026-07-08 19:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580890112001,"power":27267,"unknown_131":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9008817760710090752}} 
[2026-07-08 19:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":127884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:29:32] local.INFO: GPS data processed {"connection_id":127884,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:29:32] local.INFO: Acknowledgment sent {"connection_id":127884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:29:36] local.INFO: TCP Data received {"connection_id":125895,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f420527f0012d1855800721fd28005300212b..."} 
[2026-07-08 19:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f420527f0012d1855800721fd28005300212b..."} 
[2026-07-08 19:29:36] local.INFO: Processing buffer {"connection_id":125895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f420527f0012d1855800721fd28005300212b..."} 
[2026-07-08 19:29:36] local.INFO: Packet analysis {"connection_id":125895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4205"} 
[2026-07-08 19:29:36] local.INFO: Extracted packet for processing {"connection_id":125895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4205"} 
[2026-07-08 19:29:36] local.INFO: GPS Element Parsed {"raw_longitude":756569472,"raw_latitude":119668008,"longitude_deg":75.6569472,"latitude_deg":11.9668008,"altitude":83,"angle":33,"satellites":43,"speed":0,"hex_longitude":"2d185580","hex_latitude":"0721fd28","is_valid_coordinates":true} 
[2026-07-08 19:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580802560001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4941561737510912,"note":"Value kept but may cause issues"} 
[2026-07-08 19:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746763367355090944,"note":"Value kept but may cause issues"} 
[2026-07-08 19:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783519062000,"timestamp_ms":1783519062000,"timestamp_seconds":1783519062,"priority":1,"record_length":96,"hex_timestamp":"0000019f420527f0"} 
[2026-07-08 19:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:29: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-07-08 19: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":17,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-08 19:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2128,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580802560001,"66":2166,"105":206,"83":41984,"24":0,"16":4941561737510912,"45":1746763367355090944},"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-07-08 19:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580802560001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:29:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:29:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4941561737510912,"km_value":4941561737510.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746763367355090944,"description":"Unknown IO ID 45"} 
[2026-07-08 19:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580802560001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746763367355090944}} 
[2026-07-08 19:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":125895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:29:36] local.INFO: GPS data processed {"connection_id":125895,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:29:36] local.INFO: Acknowledgment sent {"connection_id":125895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:29:55] local.INFO: TCP Data received {"connection_id":126663,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:29:55] local.INFO: Processing buffer {"connection_id":126663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:29:55] local.INFO: IMEI packet received {"connection_id":126663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":126663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:29:58] local.INFO: TCP Data received {"connection_id":126663,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:29:58] local.INFO: Processing buffer {"connection_id":126663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:29:58] local.INFO: IMEI packet received {"connection_id":126663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":126663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:29:59] local.INFO: TCP Data received {"connection_id":127886,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:29:59] local.INFO: Processing buffer {"connection_id":127886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:29:59] local.INFO: IMEI packet received {"connection_id":127886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":127886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:30:00] local.INFO: TCP Data received {"connection_id":126663,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:30:00] local.INFO: Processing buffer {"connection_id":126663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:30:00] local.INFO: IMEI packet received {"connection_id":126663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":126663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:30:01] local.INFO: TCP Data received {"connection_id":126663,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42060e68012d7d08c005c9a510000600032d..."} 
[2026-07-08 19:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42060e68012d7d08c005c9a510000600032d..."} 
[2026-07-08 19:30:01] local.INFO: Processing buffer {"connection_id":126663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42060e68012d7d08c005c9a510000600032d..."} 
[2026-07-08 19:30:01] local.INFO: Packet analysis {"connection_id":126663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4206"} 
[2026-07-08 19:30:01] local.INFO: Extracted packet for processing {"connection_id":126663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4206"} 
[2026-07-08 19:30:01] local.INFO: GPS Element Parsed {"raw_longitude":763168960,"raw_latitude":97101072,"longitude_deg":76.316896,"latitude_deg":9.7101072,"altitude":6,"angle":3,"satellites":45,"speed":41,"hex_longitude":"2d7d08c0","hex_latitude":"05c9a510","is_valid_coordinates":true} 
[2026-07-08 19:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580892672001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343112945728749568,"note":"Value kept but may cause issues"} 
[2026-07-08 19:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008888129456728064,"note":"Value kept but may cause issues"} 
[2026-07-08 19:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783519121000,"timestamp_ms":1783519121000,"timestamp_seconds":1783519121,"priority":1,"record_length":96,"hex_timestamp":"0000019f42060e68"} 
[2026-07-08 19:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 19:30:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:30:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:30:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580892672001,"66":27245,"131":206,"85":15104,"24":41,"16":343112945728749568,"45":9008888129456728064},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-08 19:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580892672001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:30:01] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-08 19:30:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343112945728749568,"km_value":343112945728749.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008888129456728064,"description":"Unknown IO ID 45"} 
[2026-07-08 19:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580892672001,"power":27245,"unknown_131":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9008888129456728064}} 
[2026-07-08 19:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":126663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:30:01] local.INFO: GPS data processed {"connection_id":126663,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:30:01] local.INFO: Acknowledgment sent {"connection_id":126663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:30:04] local.INFO: TCP Data received {"connection_id":127886,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:30:04] local.INFO: Processing buffer {"connection_id":127886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:30:04] local.INFO: IMEI packet received {"connection_id":127886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":127886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:30:05] local.INFO: TCP Data received {"connection_id":127886,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f420527f0012d1855800721fd28005300212b..."} 
[2026-07-08 19:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f420527f0012d1855800721fd28005300212b..."} 
[2026-07-08 19:30:05] local.INFO: Processing buffer {"connection_id":127886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f420527f0012d1855800721fd28005300212b..."} 
[2026-07-08 19:30:05] local.INFO: Packet analysis {"connection_id":127886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4205"} 
[2026-07-08 19:30:05] local.INFO: Extracted packet for processing {"connection_id":127886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4205"} 
[2026-07-08 19:30:05] local.INFO: GPS Element Parsed {"raw_longitude":756569472,"raw_latitude":119668008,"longitude_deg":75.6569472,"latitude_deg":11.9668008,"altitude":83,"angle":33,"satellites":43,"speed":0,"hex_longitude":"2d185580","hex_latitude":"0721fd28","is_valid_coordinates":true} 
[2026-07-08 19:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580802560001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4941561737510912,"note":"Value kept but may cause issues"} 
[2026-07-08 19:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746763367355090944,"note":"Value kept but may cause issues"} 
[2026-07-08 19:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783519062000,"timestamp_ms":1783519062000,"timestamp_seconds":1783519062,"priority":1,"record_length":96,"hex_timestamp":"0000019f420527f0"} 
[2026-07-08 19:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 19:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-08 19:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2128,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580802560001,"66":2166,"105":206,"83":41984,"24":0,"16":4941561737510912,"45":1746763367355090944},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580802560001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:30:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:30:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4941561737510912,"km_value":4941561737510.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746763367355090944,"description":"Unknown IO ID 45"} 
[2026-07-08 19:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580802560001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746763367355090944}} 
[2026-07-08 19:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":127886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:30:05] local.INFO: GPS data processed {"connection_id":127886,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:30:05] local.INFO: Acknowledgment sent {"connection_id":127886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:30:05] local.INFO: TCP Data received {"connection_id":126663,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42063578012d7d0b4005c9c9d0000700022d..."} 
[2026-07-08 19:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42063578012d7d0b4005c9c9d0000700022d..."} 
[2026-07-08 19:30:05] local.INFO: Processing buffer {"connection_id":126663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42063578012d7d0b4005c9c9d0000700022d..."} 
[2026-07-08 19:30:05] local.INFO: Packet analysis {"connection_id":126663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4206"} 
[2026-07-08 19:30:05] local.INFO: Extracted packet for processing {"connection_id":126663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4206"} 
[2026-07-08 19:30:05] local.INFO: GPS Element Parsed {"raw_longitude":763169600,"raw_latitude":97110480,"longitude_deg":76.31696,"latitude_deg":9.711048,"altitude":7,"angle":2,"satellites":45,"speed":37,"hex_longitude":"2d7d0b40","hex_latitude":"05c9c9d0","is_valid_coordinates":true} 
[2026-07-08 19:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580894976001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343113405290250240,"note":"Value kept but may cause issues"} 
[2026-07-08 19:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009662185645084672,"note":"Value kept but may cause issues"} 
[2026-07-08 19:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783519131000,"timestamp_ms":1783519131000,"timestamp_seconds":1783519131,"priority":1,"record_length":96,"hex_timestamp":"0000019f42063578"} 
[2026-07-08 19:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-08 19:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580894976001,"66":27463,"131":206,"85":15104,"24":37,"16":343113405290250240,"45":9009662185645084672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-08 19:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580894976001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:30:05] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-08 19:30:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343113405290250240,"km_value":343113405290250.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009662185645084672,"description":"Unknown IO ID 45"} 
[2026-07-08 19:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580894976001,"power":27463,"unknown_131":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9009662185645084672}} 
[2026-07-08 19:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":126663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:30:05] local.INFO: GPS data processed {"connection_id":126663,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:30:05] local.INFO: Acknowledgment sent {"connection_id":126663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:30:36] local.INFO: TCP Data received {"connection_id":126663,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42065c88012d7d0ec005c9ef10000700072b..."} 
[2026-07-08 19:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42065c88012d7d0ec005c9ef10000700072b..."} 
[2026-07-08 19:30:36] local.INFO: Processing buffer {"connection_id":126663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42065c88012d7d0ec005c9ef10000700072b..."} 
[2026-07-08 19:30:36] local.INFO: Packet analysis {"connection_id":126663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4206"} 
[2026-07-08 19:30:36] local.INFO: Extracted packet for processing {"connection_id":126663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4206"} 
[2026-07-08 19:30:36] local.INFO: GPS Element Parsed {"raw_longitude":763170496,"raw_latitude":97120016,"longitude_deg":76.3170496,"latitude_deg":9.7120016,"altitude":7,"angle":7,"satellites":43,"speed":38,"hex_longitude":"2d7d0ec0","hex_latitude":"05c9ef10","is_valid_coordinates":true} 
[2026-07-08 19:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580897536001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343113869146718208,"note":"Value kept but may cause issues"} 
[2026-07-08 19:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010365873089269760,"note":"Value kept but may cause issues"} 
[2026-07-08 19:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783519141000,"timestamp_ms":1783519141000,"timestamp_seconds":1783519141,"priority":1,"record_length":96,"hex_timestamp":"0000019f42065c88"} 
[2026-07-08 19:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-08 19:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580897536001,"66":27267,"131":206,"85":15104,"24":38,"16":343113869146718208,"45":9010365873089269760},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-08 19:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580897536001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:30:36] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-08 19:30:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343113869146718208,"km_value":343113869146718.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010365873089269760,"description":"Unknown IO ID 45"} 
[2026-07-08 19:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580897536001,"power":27267,"unknown_131":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9010365873089269760}} 
[2026-07-08 19:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":126663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:30:36] local.INFO: GPS data processed {"connection_id":126663,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:30:36] local.INFO: Acknowledgment sent {"connection_id":126663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:30:36] local.INFO: TCP Data received {"connection_id":127886,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f420527f0012d1855800721fd28005300212b..."} 
[2026-07-08 19:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f420527f0012d1855800721fd28005300212b..."} 
[2026-07-08 19:30:36] local.INFO: Processing buffer {"connection_id":127886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f420527f0012d1855800721fd28005300212b..."} 
[2026-07-08 19:30:36] local.INFO: Packet analysis {"connection_id":127886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4205"} 
[2026-07-08 19:30:36] local.INFO: Extracted packet for processing {"connection_id":127886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4205"} 
[2026-07-08 19:30:36] local.INFO: GPS Element Parsed {"raw_longitude":756569472,"raw_latitude":119668008,"longitude_deg":75.6569472,"latitude_deg":11.9668008,"altitude":83,"angle":33,"satellites":43,"speed":0,"hex_longitude":"2d185580","hex_latitude":"0721fd28","is_valid_coordinates":true} 
[2026-07-08 19:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580802560001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4941561737510912,"note":"Value kept but may cause issues"} 
[2026-07-08 19:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746763367355090944,"note":"Value kept but may cause issues"} 
[2026-07-08 19:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783519062000,"timestamp_ms":1783519062000,"timestamp_seconds":1783519062,"priority":1,"record_length":96,"hex_timestamp":"0000019f420527f0"} 
[2026-07-08 19:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:30: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-07-08 19: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":17,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-08 19:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2128,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:30:36] 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-07-08 19:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580802560001,"66":2166,"105":206,"83":41984,"24":0,"16":4941561737510912,"45":1746763367355090944},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580802560001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:30:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:30:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4941561737510912,"km_value":4941561737510.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746763367355090944,"description":"Unknown IO ID 45"} 
[2026-07-08 19:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580802560001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746763367355090944}} 
[2026-07-08 19:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":127886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:30:36] local.INFO: GPS data processed {"connection_id":127886,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:30:36] local.INFO: Acknowledgment sent {"connection_id":127886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:30:55] local.INFO: TCP Data received {"connection_id":126665,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:30:55] local.INFO: Processing buffer {"connection_id":126665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:30:55] local.INFO: IMEI packet received {"connection_id":126665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":126665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:30:57] local.INFO: TCP Data received {"connection_id":126665,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:30:57] local.INFO: Processing buffer {"connection_id":126665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:30:57] local.INFO: IMEI packet received {"connection_id":126665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":126665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:31:00] local.INFO: TCP Data received {"connection_id":126666,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:31:00] local.INFO: Processing buffer {"connection_id":126666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:31:00] local.INFO: IMEI packet received {"connection_id":126666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":126666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:31:00] local.INFO: TCP Data received {"connection_id":126665,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:31:00] local.INFO: Processing buffer {"connection_id":126665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:31:00] local.INFO: IMEI packet received {"connection_id":126665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":126665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:31:01] local.INFO: TCP Data received {"connection_id":126665,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42067fb0012d7d124005ca11c8000700042b..."} 
[2026-07-08 19:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42067fb0012d7d124005ca11c8000700042b..."} 
[2026-07-08 19:31:01] local.INFO: Processing buffer {"connection_id":126665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42067fb0012d7d124005ca11c8000700042b..."} 
[2026-07-08 19:31:01] local.INFO: Packet analysis {"connection_id":126665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4206"} 
[2026-07-08 19:31:01] local.INFO: Extracted packet for processing {"connection_id":126665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4206"} 
[2026-07-08 19:31:01] local.INFO: GPS Element Parsed {"raw_longitude":763171392,"raw_latitude":97128904,"longitude_deg":76.3171392,"latitude_deg":9.7128904,"altitude":7,"angle":4,"satellites":43,"speed":39,"hex_longitude":"2d7d1240","hex_latitude":"05ca11c8","is_valid_coordinates":true} 
[2026-07-08 19:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580900096001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343114302938415104,"note":"Value kept but may cause issues"} 
[2026-07-08 19:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011351035510198272,"note":"Value kept but may cause issues"} 
[2026-07-08 19:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783519150000,"timestamp_ms":1783519150000,"timestamp_seconds":1783519150,"priority":1,"record_length":96,"hex_timestamp":"0000019f42067fb0"} 
[2026-07-08 19:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 19:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:31:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580900096001,"66":27332,"131":206,"85":15104,"24":39,"16":343114302938415104,"45":9011351035510198272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-08 19:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580900096001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:31:01] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-08 19:31:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343114302938415104,"km_value":343114302938415.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011351035510198272,"description":"Unknown IO ID 45"} 
[2026-07-08 19:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580900096001,"power":27332,"unknown_131":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9011351035510198272}} 
[2026-07-08 19:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":126665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:31:01] local.INFO: GPS data processed {"connection_id":126665,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:31:01] local.INFO: Acknowledgment sent {"connection_id":126665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:31:04] local.INFO: TCP Data received {"connection_id":126666,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:31:04] local.INFO: Processing buffer {"connection_id":126666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:31:04] local.INFO: IMEI packet received {"connection_id":126666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":126666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:31:05] local.INFO: TCP Data received {"connection_id":126666,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f420527f0012d1855800721fd28005300212b..."} 
[2026-07-08 19:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f420527f0012d1855800721fd28005300212b..."} 
[2026-07-08 19:31:05] local.INFO: Processing buffer {"connection_id":126666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f420527f0012d1855800721fd28005300212b..."} 
[2026-07-08 19:31:05] local.INFO: Packet analysis {"connection_id":126666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4205"} 
[2026-07-08 19:31:05] local.INFO: Extracted packet for processing {"connection_id":126666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4205"} 
[2026-07-08 19:31:05] local.INFO: GPS Element Parsed {"raw_longitude":756569472,"raw_latitude":119668008,"longitude_deg":75.6569472,"latitude_deg":11.9668008,"altitude":83,"angle":33,"satellites":43,"speed":0,"hex_longitude":"2d185580","hex_latitude":"0721fd28","is_valid_coordinates":true} 
[2026-07-08 19:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580802560001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4941561737510912,"note":"Value kept but may cause issues"} 
[2026-07-08 19:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746763367355090944,"note":"Value kept but may cause issues"} 
[2026-07-08 19:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783519062000,"timestamp_ms":1783519062000,"timestamp_seconds":1783519062,"priority":1,"record_length":96,"hex_timestamp":"0000019f420527f0"} 
[2026-07-08 19:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 19:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-08 19:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2128,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580802560001,"66":2166,"105":206,"83":41984,"24":0,"16":4941561737510912,"45":1746763367355090944},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580802560001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:31:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:31:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4941561737510912,"km_value":4941561737510.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746763367355090944,"description":"Unknown IO ID 45"} 
[2026-07-08 19:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580802560001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746763367355090944}} 
[2026-07-08 19:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":126666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:31:05] local.INFO: GPS data processed {"connection_id":126666,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:31:05] local.INFO: Acknowledgment sent {"connection_id":126666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:31:33] local.INFO: TCP Data received {"connection_id":126665,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4206a6c0012d7d168005ca37800007000827..."} 
[2026-07-08 19:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4206a6c0012d7d168005ca37800007000827..."} 
[2026-07-08 19:31:33] local.INFO: Processing buffer {"connection_id":126665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4206a6c0012d7d168005ca37800007000827..."} 
[2026-07-08 19:31:33] local.INFO: Packet analysis {"connection_id":126665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4206"} 
[2026-07-08 19:31:33] local.INFO: Extracted packet for processing {"connection_id":126665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4206"} 
[2026-07-08 19:31:33] local.INFO: GPS Element Parsed {"raw_longitude":763172480,"raw_latitude":97138560,"longitude_deg":76.317248,"latitude_deg":9.713856,"altitude":7,"angle":8,"satellites":39,"speed":38,"hex_longitude":"2d7d1680","hex_latitude":"05ca3780","is_valid_coordinates":true} 
[2026-07-08 19:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580902400001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343114771089850368,"note":"Value kept but may cause issues"} 
[2026-07-08 19:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012336197930960896,"note":"Value kept but may cause issues"} 
[2026-07-08 19:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783519160000,"timestamp_ms":1783519160000,"timestamp_seconds":1783519160,"priority":1,"record_length":96,"hex_timestamp":"0000019f4206a6c0"} 
[2026-07-08 19:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-08 19:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:31:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580902400001,"66":27397,"131":206,"85":15104,"24":38,"16":343114771089850368,"45":9012336197930960896},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-08 19:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580902400001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:31:33] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-08 19:31:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343114771089850368,"km_value":343114771089850.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012336197930960896,"description":"Unknown IO ID 45"} 
[2026-07-08 19:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580902400001,"power":27397,"unknown_131":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9012336197930960896}} 
[2026-07-08 19:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":126665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:31:33] local.INFO: GPS data processed {"connection_id":126665,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:31:33] local.INFO: Acknowledgment sent {"connection_id":126665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:32:00] local.INFO: TCP Data received {"connection_id":127888,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:32:00] local.INFO: Processing buffer {"connection_id":127888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:32:00] local.INFO: IMEI packet received {"connection_id":127888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":127888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:32:00] local.INFO: TCP Data received {"connection_id":125776,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:32:00] local.INFO: Processing buffer {"connection_id":125776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:32:00] local.INFO: IMEI packet received {"connection_id":125776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":125776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:32:05] local.INFO: TCP Data received {"connection_id":127888,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:32:05] local.INFO: Processing buffer {"connection_id":127888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:32:05] local.INFO: IMEI packet received {"connection_id":127888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":127888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:32:05] local.INFO: TCP Data received {"connection_id":125776,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:32:05] local.INFO: Processing buffer {"connection_id":125776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:32:05] local.INFO: IMEI packet received {"connection_id":125776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":125776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:32:05] local.INFO: TCP Data received {"connection_id":127888,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f420527f0012d1855800721fd28005300212b..."} 
[2026-07-08 19:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f420527f0012d1855800721fd28005300212b..."} 
[2026-07-08 19:32:05] local.INFO: Processing buffer {"connection_id":127888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f420527f0012d1855800721fd28005300212b..."} 
[2026-07-08 19:32:05] local.INFO: Packet analysis {"connection_id":127888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4205"} 
[2026-07-08 19:32:05] local.INFO: Extracted packet for processing {"connection_id":127888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4205"} 
[2026-07-08 19:32:05] local.INFO: GPS Element Parsed {"raw_longitude":756569472,"raw_latitude":119668008,"longitude_deg":75.6569472,"latitude_deg":11.9668008,"altitude":83,"angle":33,"satellites":43,"speed":0,"hex_longitude":"2d185580","hex_latitude":"0721fd28","is_valid_coordinates":true} 
[2026-07-08 19:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580802560001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4941561737510912,"note":"Value kept but may cause issues"} 
[2026-07-08 19:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746763367355090944,"note":"Value kept but may cause issues"} 
[2026-07-08 19:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783519062000,"timestamp_ms":1783519062000,"timestamp_seconds":1783519062,"priority":1,"record_length":96,"hex_timestamp":"0000019f420527f0"} 
[2026-07-08 19:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 19: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":17,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-08 19:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2128,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:32:05] 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-07-08 19:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580802560001,"66":2166,"105":206,"83":41984,"24":0,"16":4941561737510912,"45":1746763367355090944},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580802560001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:32:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:32:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4941561737510912,"km_value":4941561737510.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746763367355090944,"description":"Unknown IO ID 45"} 
[2026-07-08 19:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580802560001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746763367355090944}} 
[2026-07-08 19:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":127888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:32:05] local.INFO: GPS data processed {"connection_id":127888,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:32:05] local.INFO: Acknowledgment sent {"connection_id":127888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:32:06] local.INFO: TCP Data received {"connection_id":125776,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4206d1b8012d7d1b8005ca5c10000700062d..."} 
[2026-07-08 19:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4206d1b8012d7d1b8005ca5c10000700062d..."} 
[2026-07-08 19:32:06] local.INFO: Processing buffer {"connection_id":125776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4206d1b8012d7d1b8005ca5c10000700062d..."} 
[2026-07-08 19:32:06] local.INFO: Packet analysis {"connection_id":125776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4206"} 
[2026-07-08 19:32:06] local.INFO: Extracted packet for processing {"connection_id":125776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4206"} 
[2026-07-08 19:32:06] local.INFO: GPS Element Parsed {"raw_longitude":763173760,"raw_latitude":97147920,"longitude_deg":76.317376,"latitude_deg":9.714792,"altitude":7,"angle":6,"satellites":45,"speed":35,"hex_longitude":"2d7d1b80","hex_latitude":"05ca5c10","is_valid_coordinates":true} 
[2026-07-08 19:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580904960001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343115230651351040,"note":"Value kept but may cause issues"} 
[2026-07-08 19:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013532466584453120,"note":"Value kept but may cause issues"} 
[2026-07-08 19:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783519171000,"timestamp_ms":1783519171000,"timestamp_seconds":1783519171,"priority":1,"record_length":96,"hex_timestamp":"0000019f4206d1b8"} 
[2026-07-08 19:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-08 19:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580904960001,"66":27376,"131":206,"85":15104,"24":35,"16":343115230651351040,"45":9013532466584453120},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-08 19:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580904960001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:32:06] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-08 19:32:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343115230651351040,"km_value":343115230651351.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013532466584453120,"description":"Unknown IO ID 45"} 
[2026-07-08 19:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580904960001,"power":27376,"unknown_131":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9013532466584453120}} 
[2026-07-08 19:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":125776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:32:06] local.INFO: GPS data processed {"connection_id":125776,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:32:06] local.INFO: Acknowledgment sent {"connection_id":125776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:32:06] local.INFO: TCP Data received {"connection_id":125776,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4206f8c8012d7d1f0005ca7f88000700062b..."} 
[2026-07-08 19:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4206f8c8012d7d1f0005ca7f88000700062b..."} 
[2026-07-08 19:32:06] local.INFO: Processing buffer {"connection_id":125776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4206f8c8012d7d1f0005ca7f88000700062b..."} 
[2026-07-08 19:32:06] local.INFO: Packet analysis {"connection_id":125776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4206"} 
[2026-07-08 19:32:06] local.INFO: Extracted packet for processing {"connection_id":125776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4206"} 
[2026-07-08 19:32:06] local.INFO: GPS Element Parsed {"raw_longitude":763174656,"raw_latitude":97157000,"longitude_deg":76.3174656,"latitude_deg":9.7157,"altitude":7,"angle":6,"satellites":43,"speed":39,"hex_longitude":"2d7d1f00","hex_latitude":"05ca7f88","is_valid_coordinates":true} 
[2026-07-08 19:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580907776001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343115673032982528,"note":"Value kept but may cause issues"} 
[2026-07-08 19:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014939841470402560,"note":"Value kept but may cause issues"} 
[2026-07-08 19:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783519181000,"timestamp_ms":1783519181000,"timestamp_seconds":1783519181,"priority":1,"record_length":96,"hex_timestamp":"0000019f4206f8c8"} 
[2026-07-08 19:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 19:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580907776001,"66":27213,"131":206,"85":15104,"24":39,"16":343115673032982528,"45":9014939841470402560},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-07-08 19:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580907776001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:32:06] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-08 19:32:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343115673032982528,"km_value":343115673032982.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014939841470402560,"description":"Unknown IO ID 45"} 
[2026-07-08 19:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580907776001,"power":27213,"unknown_131":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9014939841470402560}} 
[2026-07-08 19:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":125776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:32:06] local.INFO: GPS data processed {"connection_id":125776,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:32:06] local.INFO: Acknowledgment sent {"connection_id":125776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:32:10] local.INFO: TCP Data received {"connection_id":127888,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f420527f0012d1855800721fd28005300212b..."} 
[2026-07-08 19:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f420527f0012d1855800721fd28005300212b..."} 
[2026-07-08 19:32:10] local.INFO: Processing buffer {"connection_id":127888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f420527f0012d1855800721fd28005300212b..."} 
[2026-07-08 19:32:10] local.INFO: Packet analysis {"connection_id":127888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4205"} 
[2026-07-08 19:32:10] local.INFO: Extracted packet for processing {"connection_id":127888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4205"} 
[2026-07-08 19:32:10] local.INFO: GPS Element Parsed {"raw_longitude":756569472,"raw_latitude":119668008,"longitude_deg":75.6569472,"latitude_deg":11.9668008,"altitude":83,"angle":33,"satellites":43,"speed":0,"hex_longitude":"2d185580","hex_latitude":"0721fd28","is_valid_coordinates":true} 
[2026-07-08 19:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580802560001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4941561737510912,"note":"Value kept but may cause issues"} 
[2026-07-08 19:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746763367355090944,"note":"Value kept but may cause issues"} 
[2026-07-08 19:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783519062000,"timestamp_ms":1783519062000,"timestamp_seconds":1783519062,"priority":1,"record_length":96,"hex_timestamp":"0000019f420527f0"} 
[2026-07-08 19:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 19: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":17,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-08 19:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2128,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":127888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":127888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":127888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:32:10] 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-07-08 19:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580802560001,"66":2166,"105":206,"83":41984,"24":0,"16":4941561737510912,"45":1746763367355090944},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580802560001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:32:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:32:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4941561737510912,"km_value":4941561737510.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746763367355090944,"description":"Unknown IO ID 45"} 
[2026-07-08 19:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580802560001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746763367355090944}} 
[2026-07-08 19:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":127888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:32:10] local.INFO: GPS data processed {"connection_id":127888,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:32:10] local.INFO: Acknowledgment sent {"connection_id":127888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:32:37] local.INFO: TCP Data received {"connection_id":125776,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4208f498012d7d45c005cc2b90000600092b..."} 
[2026-07-08 19:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4208f498012d7d45c005cc2b90000600092b..."} 
[2026-07-08 19:32:37] local.INFO: Processing buffer {"connection_id":125776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4208f498012d7d45c005cc2b90000600092b..."} 
[2026-07-08 19:32:37] local.INFO: Packet analysis {"connection_id":125776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4208"} 
[2026-07-08 19:32:37] local.INFO: Extracted packet for processing {"connection_id":125776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4208"} 
[2026-07-08 19:32:37] local.INFO: GPS Element Parsed {"raw_longitude":763184576,"raw_latitude":97266576,"longitude_deg":76.3184576,"latitude_deg":9.7266576,"altitude":6,"angle":9,"satellites":43,"speed":32,"hex_longitude":"2d7d45c0","hex_latitude":"05cc2b90","is_valid_coordinates":true} 
[2026-07-08 19:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580940800001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343121020267266048,"note":"Value kept but may cause issues"} 
[2026-07-08 19:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025072940660107264,"note":"Value kept but may cause issues"} 
[2026-07-08 19:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783519311000,"timestamp_ms":1783519311000,"timestamp_seconds":1783519311,"priority":1,"record_length":96,"hex_timestamp":"0000019f4208f498"} 
[2026-07-08 19:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 19:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580940800001,"66":27397,"129":206,"85":15104,"24":32,"16":343121020267266048,"45":9025072940660107264},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-07-08 19:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580940800001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:32:37] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-08 19:32:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343121020267266048,"km_value":343121020267266.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025072940660107264,"description":"Unknown IO ID 45"} 
[2026-07-08 19:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580940800001,"power":27397,"unknown_129":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9025072940660107264}} 
[2026-07-08 19:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":125776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:32:37] local.INFO: GPS data processed {"connection_id":125776,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:32:37] local.INFO: Acknowledgment sent {"connection_id":125776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:32:41] local.INFO: TCP Data received {"connection_id":127888,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f420527f0012d1855800721fd28005300212b..."} 
[2026-07-08 19:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f420527f0012d1855800721fd28005300212b..."} 
[2026-07-08 19:32:41] local.INFO: Processing buffer {"connection_id":127888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f420527f0012d1855800721fd28005300212b..."} 
[2026-07-08 19:32:41] local.INFO: Packet analysis {"connection_id":127888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4205"} 
[2026-07-08 19:32:41] local.INFO: Extracted packet for processing {"connection_id":127888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4205"} 
[2026-07-08 19:32:41] local.INFO: GPS Element Parsed {"raw_longitude":756569472,"raw_latitude":119668008,"longitude_deg":75.6569472,"latitude_deg":11.9668008,"altitude":83,"angle":33,"satellites":43,"speed":0,"hex_longitude":"2d185580","hex_latitude":"0721fd28","is_valid_coordinates":true} 
[2026-07-08 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-07-08 19:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580802560001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4941561737510912,"note":"Value kept but may cause issues"} 
[2026-07-08 19:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746763367355090944,"note":"Value kept but may cause issues"} 
[2026-07-08 19:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783519062000,"timestamp_ms":1783519062000,"timestamp_seconds":1783519062,"priority":1,"record_length":96,"hex_timestamp":"0000019f420527f0"} 
[2026-07-08 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-07-08 19:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":17,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-08 19:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2128,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 19:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":127888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":127888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":127888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:32: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-07-08 19:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580802560001,"66":2166,"105":206,"83":41984,"24":0,"16":4941561737510912,"45":1746763367355090944},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580802560001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:32:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:32:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4941561737510912,"km_value":4941561737510.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746763367355090944,"description":"Unknown IO ID 45"} 
[2026-07-08 19:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580802560001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746763367355090944}} 
[2026-07-08 19:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":127888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:32:41] local.INFO: GPS data processed {"connection_id":127888,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:32:41] local.INFO: Acknowledgment sent {"connection_id":127888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:32:55] local.INFO: TCP Data received {"connection_id":126667,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:32:55] local.INFO: Processing buffer {"connection_id":126667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:32:55] local.INFO: IMEI packet received {"connection_id":126667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":126667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:32:56] local.INFO: TCP Data received {"connection_id":126667,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:32:56] local.INFO: Processing buffer {"connection_id":126667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:32:56] local.INFO: IMEI packet received {"connection_id":126667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":126667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:33:00] local.INFO: TCP Data received {"connection_id":125778,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:33:00] local.INFO: Processing buffer {"connection_id":125778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:33:00] local.INFO: IMEI packet received {"connection_id":125778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":125778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:33:00] local.INFO: TCP Data received {"connection_id":126667,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:33:00] local.INFO: Processing buffer {"connection_id":126667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:33:00] local.INFO: IMEI packet received {"connection_id":126667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":126667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:33:01] local.INFO: TCP Data received {"connection_id":126667,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42090438012d7d490005cc37f8000600162b..."} 
[2026-07-08 19:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42090438012d7d490005cc37f8000600162b..."} 
[2026-07-08 19:33:01] local.INFO: Processing buffer {"connection_id":126667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42090438012d7d490005cc37f8000600162b..."} 
[2026-07-08 19:33:01] local.INFO: Packet analysis {"connection_id":126667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4209"} 
[2026-07-08 19:33:01] local.INFO: Extracted packet for processing {"connection_id":126667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4209"} 
[2026-07-08 19:33:01] local.INFO: GPS Element Parsed {"raw_longitude":763185408,"raw_latitude":97269752,"longitude_deg":76.3185408,"latitude_deg":9.7269752,"altitude":6,"angle":22,"satellites":43,"speed":32,"hex_longitude":"2d7d4900","hex_latitude":"05cc37f8","is_valid_coordinates":true} 
[2026-07-08 19: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-07-08 19:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580943616001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343121179181056000,"note":"Value kept but may cause issues"} 
[2026-07-08 19:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026832159266803712,"note":"Value kept but may cause issues"} 
[2026-07-08 19:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783519315000,"timestamp_ms":1783519315000,"timestamp_seconds":1783519315,"priority":1,"record_length":96,"hex_timestamp":"0000019f42090438"} 
[2026-07-08 19:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-08 19:33:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19: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-07-08 19:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580943616001,"66":27321,"129":206,"85":15104,"24":32,"16":343121179181056000,"45":9026832159266803712},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-07-08 19:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580943616001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:33:01] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-08 19:33:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343121179181056000,"km_value":343121179181056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026832159266803712,"description":"Unknown IO ID 45"} 
[2026-07-08 19:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580943616001,"power":27321,"unknown_129":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9026832159266803712}} 
[2026-07-08 19:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":126667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:33:01] local.INFO: GPS data processed {"connection_id":126667,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:33:01] local.INFO: Acknowledgment sent {"connection_id":126667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:33:03] local.INFO: TCP Data received {"connection_id":126667,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42090ff0012d7d4c0005cc41480006000b2b..."} 
[2026-07-08 19:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42090ff0012d7d4c0005cc41480006000b2b..."} 
[2026-07-08 19:33:03] local.INFO: Processing buffer {"connection_id":126667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42090ff0012d7d4c0005cc41480006000b2b..."} 
[2026-07-08 19:33:03] local.INFO: Packet analysis {"connection_id":126667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4209"} 
[2026-07-08 19:33:03] local.INFO: Extracted packet for processing {"connection_id":126667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4209"} 
[2026-07-08 19:33:03] local.INFO: GPS Element Parsed {"raw_longitude":763186176,"raw_latitude":97272136,"longitude_deg":76.3186176,"latitude_deg":9.7272136,"altitude":6,"angle":11,"satellites":43,"speed":34,"hex_longitude":"2d7d4c00","hex_latitude":"05cc4148","is_valid_coordinates":true} 
[2026-07-08 19:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580944640001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343121299440140288,"note":"Value kept but may cause issues"} 
[2026-07-08 19:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027746952941926400,"note":"Value kept but may cause issues"} 
[2026-07-08 19:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783519318000,"timestamp_ms":1783519318000,"timestamp_seconds":1783519318,"priority":1,"record_length":96,"hex_timestamp":"0000019f42090ff0"} 
[2026-07-08 19:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 19:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580944640001,"66":27332,"129":206,"85":15104,"24":34,"16":343121299440140288,"45":9027746952941926400},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-07-08 19:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580944640001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:33:03] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-08 19:33:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343121299440140288,"km_value":343121299440140.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027746952941926400,"description":"Unknown IO ID 45"} 
[2026-07-08 19:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580944640001,"power":27332,"unknown_129":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9027746952941926400}} 
[2026-07-08 19:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":126667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:33:03] local.INFO: GPS data processed {"connection_id":126667,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:33:03] local.INFO: Acknowledgment sent {"connection_id":126667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:33:04] local.INFO: TCP Data received {"connection_id":125778,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:33:04] local.INFO: Processing buffer {"connection_id":125778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:33:04] local.INFO: IMEI packet received {"connection_id":125778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":125778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:33:05] local.INFO: TCP Data received {"connection_id":125778,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f420527f0012d1855800721fd28005300212b..."} 
[2026-07-08 19:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f420527f0012d1855800721fd28005300212b..."} 
[2026-07-08 19:33:05] local.INFO: Processing buffer {"connection_id":125778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f420527f0012d1855800721fd28005300212b..."} 
[2026-07-08 19:33:05] local.INFO: Packet analysis {"connection_id":125778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4205"} 
[2026-07-08 19:33:05] local.INFO: Extracted packet for processing {"connection_id":125778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4205"} 
[2026-07-08 19:33:05] local.INFO: GPS Element Parsed {"raw_longitude":756569472,"raw_latitude":119668008,"longitude_deg":75.6569472,"latitude_deg":11.9668008,"altitude":83,"angle":33,"satellites":43,"speed":0,"hex_longitude":"2d185580","hex_latitude":"0721fd28","is_valid_coordinates":true} 
[2026-07-08 19:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580802560001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4941561737510912,"note":"Value kept but may cause issues"} 
[2026-07-08 19:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746763367355090944,"note":"Value kept but may cause issues"} 
[2026-07-08 19:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783519062000,"timestamp_ms":1783519062000,"timestamp_seconds":1783519062,"priority":1,"record_length":96,"hex_timestamp":"0000019f420527f0"} 
[2026-07-08 19:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 19: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":17,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-08 19:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2128,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:33:05] 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-07-08 19:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580802560001,"66":2166,"105":206,"83":41984,"24":0,"16":4941561737510912,"45":1746763367355090944},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580802560001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:33:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:33:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4941561737510912,"km_value":4941561737510.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746763367355090944,"description":"Unknown IO ID 45"} 
[2026-07-08 19:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580802560001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1746763367355090944}} 
[2026-07-08 19:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":125778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:33:05] local.INFO: GPS data processed {"connection_id":125778,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:33:05] local.INFO: Acknowledgment sent {"connection_id":125778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:33:34] local.INFO: TCP Data received {"connection_id":126667,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42093700012d7d518005cc67a8000600052c..."} 
[2026-07-08 19:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42093700012d7d518005cc67a8000600052c..."} 
[2026-07-08 19:33:34] local.INFO: Processing buffer {"connection_id":126667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42093700012d7d518005cc67a8000600052c..."} 
[2026-07-08 19:33:34] local.INFO: Packet analysis {"connection_id":126667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4209"} 
[2026-07-08 19:33:34] local.INFO: Extracted packet for processing {"connection_id":126667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4209"} 
[2026-07-08 19:33:34] local.INFO: GPS Element Parsed {"raw_longitude":763187584,"raw_latitude":97281960,"longitude_deg":76.3187584,"latitude_deg":9.728196,"altitude":6,"angle":5,"satellites":44,"speed":42,"hex_longitude":"2d7d5180","hex_latitude":"05cc67a8","is_valid_coordinates":true} 
[2026-07-08 19: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-07-08 19:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580945408001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343121780476477440,"note":"Value kept but may cause issues"} 
[2026-07-08 19:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028591377872668672,"note":"Value kept but may cause issues"} 
[2026-07-08 19:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783519328000,"timestamp_ms":1783519328000,"timestamp_seconds":1783519328,"priority":1,"record_length":96,"hex_timestamp":"0000019f42093700"} 
[2026-07-08 19:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-08 19:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19: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-07-08 19:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580945408001,"66":27343,"129":206,"85":15104,"24":42,"16":343121780476477440,"45":9028591377872668672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-07-08 19:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580945408001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:33:34] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-08 19:33:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343121780476477440,"km_value":343121780476477.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028591377872668672,"description":"Unknown IO ID 45"} 
[2026-07-08 19:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580945408001,"power":27343,"unknown_129":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9028591377872668672}} 
[2026-07-08 19:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":126667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:33:34] local.INFO: GPS data processed {"connection_id":126667,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:33:34] local.INFO: Acknowledgment sent {"connection_id":126667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:33:36] local.INFO: TCP Data received {"connection_id":125778,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4209bfb8012d1855800721fd280053002129..."} 
[2026-07-08 19:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4209bfb8012d1855800721fd280053002129..."} 
[2026-07-08 19:33:36] local.INFO: Processing buffer {"connection_id":125778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4209bfb8012d1855800721fd280053002129..."} 
[2026-07-08 19:33:36] local.INFO: Packet analysis {"connection_id":125778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4209"} 
[2026-07-08 19:33:36] local.INFO: Extracted packet for processing {"connection_id":125778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4209"} 
[2026-07-08 19:33:36] local.INFO: GPS Element Parsed {"raw_longitude":756569472,"raw_latitude":119668008,"longitude_deg":75.6569472,"latitude_deg":11.9668008,"altitude":83,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2d185580","hex_latitude":"0721fd28","is_valid_coordinates":true} 
[2026-07-08 19:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580879872001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4941561737510912,"note":"Value kept but may cause issues"} 
[2026-07-08 19:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753448398054041600,"note":"Value kept but may cause issues"} 
[2026-07-08 19:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783519363000,"timestamp_ms":1783519363000,"timestamp_seconds":1783519363,"priority":1,"record_length":96,"hex_timestamp":"0000019f4209bfb8"} 
[2026-07-08 19:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 19:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 19:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:33:36] 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-07-08 19:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580879872001,"66":2166,"105":206,"83":41984,"24":0,"16":4941561737510912,"45":1753448398054041600},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580879872001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:33:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:33:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4941561737510912,"km_value":4941561737510.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753448398054041600,"description":"Unknown IO ID 45"} 
[2026-07-08 19:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580879872001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1753448398054041600}} 
[2026-07-08 19:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":125778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:33:36] local.INFO: GPS data processed {"connection_id":125778,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:33:36] local.INFO: Acknowledgment sent {"connection_id":125778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:33:52] local.INFO: TCP Data received {"connection_id":125897,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:33:52] local.INFO: Processing buffer {"connection_id":125897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:33:52] local.INFO: IMEI packet received {"connection_id":125897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":125897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:33:55] local.INFO: TCP Data received {"connection_id":125897,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:33:55] local.INFO: Processing buffer {"connection_id":125897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:33:55] local.INFO: IMEI packet received {"connection_id":125897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":125897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:33:56] local.INFO: TCP Data received {"connection_id":125897,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:33:56] local.INFO: Processing buffer {"connection_id":125897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:33:56] local.INFO: IMEI packet received {"connection_id":125897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":125897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:33:58] local.INFO: TCP Data received {"connection_id":125897,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:33:58] local.INFO: Processing buffer {"connection_id":125897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:33:58] local.INFO: IMEI packet received {"connection_id":125897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":125897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:33:59] local.INFO: TCP Data received {"connection_id":125897,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42095a28012d7d548005cc8e68000600022b..."} 
[2026-07-08 19:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42095a28012d7d548005cc8e68000600022b..."} 
[2026-07-08 19:33:59] local.INFO: Processing buffer {"connection_id":125897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42095a28012d7d548005cc8e68000600022b..."} 
[2026-07-08 19:33:59] local.INFO: Packet analysis {"connection_id":125897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4209"} 
[2026-07-08 19:33:59] local.INFO: Extracted packet for processing {"connection_id":125897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4209"} 
[2026-07-08 19:33:59] local.INFO: GPS Element Parsed {"raw_longitude":763188352,"raw_latitude":97291880,"longitude_deg":76.3188352,"latitude_deg":9.729188,"altitude":6,"angle":2,"satellites":43,"speed":47,"hex_longitude":"2d7d5480","hex_latitude":"05cc8e68","is_valid_coordinates":true} 
[2026-07-08 19: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-07-08 19:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580947968001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343122265807781888,"note":"Value kept but may cause issues"} 
[2026-07-08 19:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030139490247092224,"note":"Value kept but may cause issues"} 
[2026-07-08 19:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783519337000,"timestamp_ms":1783519337000,"timestamp_seconds":1783519337,"priority":1,"record_length":96,"hex_timestamp":"0000019f42095a28"} 
[2026-07-08 19:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 19:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19: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-07-08 19:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":125897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":125897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":125897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580947968001,"66":27397,"236":206,"85":15104,"24":47,"16":343122265807781888,"45":9030139490247092224},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-07-08 19:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580947968001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:33:59] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-08 19:33:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343122265807781888,"km_value":343122265807781.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030139490247092224,"description":"Unknown IO ID 45"} 
[2026-07-08 19:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580947968001,"power":27397,"unknown_236":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":9030139490247092224}} 
[2026-07-08 19:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":125897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:33:59] local.INFO: GPS data processed {"connection_id":125897,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:33:59] local.INFO: Acknowledgment sent {"connection_id":125897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:33:59] local.INFO: TCP Data received {"connection_id":127890,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:33:59] local.INFO: Processing buffer {"connection_id":127890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:33:59] local.INFO: IMEI packet received {"connection_id":127890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":127890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:34:04] local.INFO: TCP Data received {"connection_id":127890,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:34:04] local.INFO: Processing buffer {"connection_id":127890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:34:04] local.INFO: IMEI packet received {"connection_id":127890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":127890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:34:05] local.INFO: TCP Data received {"connection_id":127890,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4209bfb8012d1855800721fd280053002129..."} 
[2026-07-08 19:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4209bfb8012d1855800721fd280053002129..."} 
[2026-07-08 19:34:05] local.INFO: Processing buffer {"connection_id":127890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4209bfb8012d1855800721fd280053002129..."} 
[2026-07-08 19:34:05] local.INFO: Packet analysis {"connection_id":127890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4209"} 
[2026-07-08 19:34:05] local.INFO: Extracted packet for processing {"connection_id":127890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4209"} 
[2026-07-08 19:34:05] local.INFO: GPS Element Parsed {"raw_longitude":756569472,"raw_latitude":119668008,"longitude_deg":75.6569472,"latitude_deg":11.9668008,"altitude":83,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2d185580","hex_latitude":"0721fd28","is_valid_coordinates":true} 
[2026-07-08 19: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-07-08 19:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580879872001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4941561737510912,"note":"Value kept but may cause issues"} 
[2026-07-08 19:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753448398054041600,"note":"Value kept but may cause issues"} 
[2026-07-08 19:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783519363000,"timestamp_ms":1783519363000,"timestamp_seconds":1783519363,"priority":1,"record_length":96,"hex_timestamp":"0000019f4209bfb8"} 
[2026-07-08 19:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 19:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19: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-07-08 19:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:34:05] 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-07-08 19:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580879872001,"66":2166,"105":206,"83":41984,"24":0,"16":4941561737510912,"45":1753448398054041600},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580879872001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:34:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:34:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4941561737510912,"km_value":4941561737510.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753448398054041600,"description":"Unknown IO ID 45"} 
[2026-07-08 19:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580879872001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1753448398054041600}} 
[2026-07-08 19:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":127890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:34:05] local.INFO: GPS data processed {"connection_id":127890,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:34:05] local.INFO: Acknowledgment sent {"connection_id":127890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:34:25] local.INFO: TCP Data received {"connection_id":126668,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126668,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:34:25] local.INFO: Processing buffer {"connection_id":126668,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:34:25] local.INFO: IMEI packet received {"connection_id":126668,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 19:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":126668,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:34:30] local.INFO: TCP Data received {"connection_id":125897,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42097968012d7d54c005ccb530000501672b..."} 
[2026-07-08 19:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42097968012d7d54c005ccb530000501672b..."} 
[2026-07-08 19:34:30] local.INFO: Processing buffer {"connection_id":125897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42097968012d7d54c005ccb530000501672b..."} 
[2026-07-08 19:34:30] local.INFO: Packet analysis {"connection_id":125897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4209"} 
[2026-07-08 19:34:30] local.INFO: Extracted packet for processing {"connection_id":125897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4209"} 
[2026-07-08 19:34:30] local.INFO: GPS Element Parsed {"raw_longitude":763188416,"raw_latitude":97301808,"longitude_deg":76.3188416,"latitude_deg":9.7301808,"altitude":5,"angle":359,"satellites":43,"speed":50,"hex_longitude":"2d7d54c0","hex_latitude":"05ccb530","is_valid_coordinates":true} 
[2026-07-08 19:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580950272001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343122746844119040,"note":"Value kept but may cause issues"} 
[2026-07-08 19:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030983915179763712,"note":"Value kept but may cause issues"} 
[2026-07-08 19:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783519345000,"timestamp_ms":1783519345000,"timestamp_seconds":1783519345,"priority":1,"record_length":96,"hex_timestamp":"0000019f42097968"} 
[2026-07-08 19:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:34: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-07-08 19:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-08 19:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":125897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":125897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":125897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580950272001,"66":27234,"236":206,"85":15104,"24":50,"16":343122746844119040,"45":9030983915179763712},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-07-08 19:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580950272001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:34:30] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-08 19:34:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343122746844119040,"km_value":343122746844119.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030983915179763712,"description":"Unknown IO ID 45"} 
[2026-07-08 19:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580950272001,"power":27234,"unknown_236":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":9030983915179763712}} 
[2026-07-08 19:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":125897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:34:30] local.INFO: GPS data processed {"connection_id":125897,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:34:30] local.INFO: Acknowledgment sent {"connection_id":125897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:34:36] local.INFO: TCP Data received {"connection_id":127890,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4209bfb8012d1855800721fd280053002129..."} 
[2026-07-08 19:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4209bfb8012d1855800721fd280053002129..."} 
[2026-07-08 19:34:36] local.INFO: Processing buffer {"connection_id":127890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4209bfb8012d1855800721fd280053002129..."} 
[2026-07-08 19:34:36] local.INFO: Packet analysis {"connection_id":127890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4209"} 
[2026-07-08 19:34:36] local.INFO: Extracted packet for processing {"connection_id":127890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4209"} 
[2026-07-08 19:34:36] local.INFO: GPS Element Parsed {"raw_longitude":756569472,"raw_latitude":119668008,"longitude_deg":75.6569472,"latitude_deg":11.9668008,"altitude":83,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2d185580","hex_latitude":"0721fd28","is_valid_coordinates":true} 
[2026-07-08 19: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-07-08 19:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580879872001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4941561737510912,"note":"Value kept but may cause issues"} 
[2026-07-08 19:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753448398054041600,"note":"Value kept but may cause issues"} 
[2026-07-08 19:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783519363000,"timestamp_ms":1783519363000,"timestamp_seconds":1783519363,"priority":1,"record_length":96,"hex_timestamp":"0000019f4209bfb8"} 
[2026-07-08 19:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 19:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19: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-07-08 19:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:34:36] 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-07-08 19:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580879872001,"66":2166,"105":206,"83":41984,"24":0,"16":4941561737510912,"45":1753448398054041600},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580879872001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:34:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:34:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4941561737510912,"km_value":4941561737510.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753448398054041600,"description":"Unknown IO ID 45"} 
[2026-07-08 19:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580879872001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1753448398054041600}} 
[2026-07-08 19:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":127890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:34:36] local.INFO: GPS data processed {"connection_id":127890,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:34:36] local.INFO: Acknowledgment sent {"connection_id":127890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:34:55] local.INFO: TCP Data received {"connection_id":127891,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:34:55] local.INFO: Processing buffer {"connection_id":127891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:34:55] local.INFO: IMEI packet received {"connection_id":127891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":127891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:35:00] local.INFO: TCP Data received {"connection_id":125779,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:35:00] local.INFO: Processing buffer {"connection_id":125779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:35:00] local.INFO: IMEI packet received {"connection_id":125779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":125779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:35:00] local.INFO: TCP Data received {"connection_id":127891,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:35:00] local.INFO: Processing buffer {"connection_id":127891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:35:00] local.INFO: IMEI packet received {"connection_id":127891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":127891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:35:00] local.INFO: TCP Data received {"connection_id":125780,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125780,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:35:00] local.INFO: Processing buffer {"connection_id":125780,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:35:00] local.INFO: IMEI packet received {"connection_id":125780,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 19:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":125780,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:35:01] local.INFO: TCP Data received {"connection_id":127891,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f420994c0012d7d534005ccd828000401642a..."} 
[2026-07-08 19:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f420994c0012d7d534005ccd828000401642a..."} 
[2026-07-08 19:35:01] local.INFO: Processing buffer {"connection_id":127891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f420994c0012d7d534005ccd828000401642a..."} 
[2026-07-08 19:35:01] local.INFO: Packet analysis {"connection_id":127891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4209"} 
[2026-07-08 19:35:01] local.INFO: Extracted packet for processing {"connection_id":127891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4209"} 
[2026-07-08 19:35:01] local.INFO: GPS Element Parsed {"raw_longitude":763188032,"raw_latitude":97310760,"longitude_deg":76.3188032,"latitude_deg":9.731076,"altitude":4,"angle":356,"satellites":42,"speed":50,"hex_longitude":"2d7d5340","hex_latitude":"05ccd828","is_valid_coordinates":true} 
[2026-07-08 19:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580952320001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343123180635815936,"note":"Value kept but may cause issues"} 
[2026-07-08 19:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9031054283926482944,"note":"Value kept but may cause issues"} 
[2026-07-08 19:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783519352000,"timestamp_ms":1783519352000,"timestamp_seconds":1783519352,"priority":1,"record_length":96,"hex_timestamp":"0000019f420994c0"} 
[2026-07-08 19:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-08 19:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580952320001,"66":27300,"236":206,"85":15104,"24":50,"16":343123180635815936,"45":9031054283926482944},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-07-08 19:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580952320001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:35:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-08 19:35:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343123180635815936,"km_value":343123180635815.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9031054283926482944,"description":"Unknown IO ID 45"} 
[2026-07-08 19:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580952320001,"power":27300,"unknown_236":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":9031054283926482944}} 
[2026-07-08 19:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":127891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:35:01] local.INFO: GPS data processed {"connection_id":127891,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:35:01] local.INFO: Acknowledgment sent {"connection_id":127891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:35:04] local.INFO: TCP Data received {"connection_id":125779,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:35:04] local.INFO: Processing buffer {"connection_id":125779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:35:04] local.INFO: IMEI packet received {"connection_id":125779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":125779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:35:05] local.INFO: TCP Data received {"connection_id":125779,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4209bfb8012d1855800721fd280053002129..."} 
[2026-07-08 19:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4209bfb8012d1855800721fd280053002129..."} 
[2026-07-08 19:35:05] local.INFO: Processing buffer {"connection_id":125779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4209bfb8012d1855800721fd280053002129..."} 
[2026-07-08 19:35:05] local.INFO: Packet analysis {"connection_id":125779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4209"} 
[2026-07-08 19:35:05] local.INFO: Extracted packet for processing {"connection_id":125779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4209"} 
[2026-07-08 19:35:05] local.INFO: GPS Element Parsed {"raw_longitude":756569472,"raw_latitude":119668008,"longitude_deg":75.6569472,"latitude_deg":11.9668008,"altitude":83,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2d185580","hex_latitude":"0721fd28","is_valid_coordinates":true} 
[2026-07-08 19:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580879872001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4941561737510912,"note":"Value kept but may cause issues"} 
[2026-07-08 19:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753448398054041600,"note":"Value kept but may cause issues"} 
[2026-07-08 19:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783519363000,"timestamp_ms":1783519363000,"timestamp_seconds":1783519363,"priority":1,"record_length":96,"hex_timestamp":"0000019f4209bfb8"} 
[2026-07-08 19:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 19:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 19:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:35:05] 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-07-08 19:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580879872001,"66":2166,"105":206,"83":41984,"24":0,"16":4941561737510912,"45":1753448398054041600},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580879872001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:35:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:35:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4941561737510912,"km_value":4941561737510.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753448398054041600,"description":"Unknown IO ID 45"} 
[2026-07-08 19:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580879872001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1753448398054041600}} 
[2026-07-08 19:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":125779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:35:05] local.INFO: GPS data processed {"connection_id":125779,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:35:05] local.INFO: Acknowledgment sent {"connection_id":125779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:35:16] local.INFO: TCP Data received {"connection_id":125898,"ip":"194.165.16.165","data_length":47,"data_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-07-08 19:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125898,"packet_length":47,"packet_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-07-08 19:35:16] local.INFO: Processing buffer {"connection_id":125898,"buffer_length":47,"buffer_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-07-08 19:35:16] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":125898,"buffer_length":47,"first_bytes_hex":"0300002f2ae00000000000436f6f6b69"} 
[2026-07-08 19:35:32] local.INFO: TCP Data received {"connection_id":127891,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f420b7d08012d7d3d8005ce0d60000801512d..."} 
[2026-07-08 19:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f420b7d08012d7d3d8005ce0d60000801512d..."} 
[2026-07-08 19:35:32] local.INFO: Processing buffer {"connection_id":127891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f420b7d08012d7d3d8005ce0d60000801512d..."} 
[2026-07-08 19:35:32] local.INFO: Packet analysis {"connection_id":127891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f420b"} 
[2026-07-08 19:35:32] local.INFO: Extracted packet for processing {"connection_id":127891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f420b"} 
[2026-07-08 19:35:32] local.INFO: GPS Element Parsed {"raw_longitude":763182464,"raw_latitude":97389920,"longitude_deg":76.3182464,"latitude_deg":9.738992,"altitude":8,"angle":337,"satellites":45,"speed":5,"hex_longitude":"2d7d3d80","hex_latitude":"05ce0d60","is_valid_coordinates":true} 
[2026-07-08 19:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580984576001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343127063286251520,"note":"Value kept but may cause issues"} 
[2026-07-08 19:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025072940693786624,"note":"Value kept but may cause issues"} 
[2026-07-08 19:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783519477000,"timestamp_ms":1783519477000,"timestamp_seconds":1783519477,"priority":1,"record_length":96,"hex_timestamp":"0000019f420b7d08"} 
[2026-07-08 19:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-08 19:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:35:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580984576001,"66":27376,"235":206,"85":15104,"24":5,"16":343127063286251520,"45":9025072940693786624},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-07-08 19:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580984576001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:35:32] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-08 19:35:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343127063286251520,"km_value":343127063286251.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025072940693786624,"description":"Unknown IO ID 45"} 
[2026-07-08 19:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580984576001,"power":27376,"unknown_235":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9025072940693786624}} 
[2026-07-08 19:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":127891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:35:32] local.INFO: GPS data processed {"connection_id":127891,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:35:32] local.INFO: Acknowledgment sent {"connection_id":127891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:35:36] local.INFO: TCP Data received {"connection_id":125779,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4209bfb8012d1855800721fd280053002129..."} 
[2026-07-08 19:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4209bfb8012d1855800721fd280053002129..."} 
[2026-07-08 19:35:36] local.INFO: Processing buffer {"connection_id":125779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4209bfb8012d1855800721fd280053002129..."} 
[2026-07-08 19:35:36] local.INFO: Packet analysis {"connection_id":125779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4209"} 
[2026-07-08 19:35:36] local.INFO: Extracted packet for processing {"connection_id":125779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4209"} 
[2026-07-08 19:35:36] local.INFO: GPS Element Parsed {"raw_longitude":756569472,"raw_latitude":119668008,"longitude_deg":75.6569472,"latitude_deg":11.9668008,"altitude":83,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2d185580","hex_latitude":"0721fd28","is_valid_coordinates":true} 
[2026-07-08 19: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-07-08 19:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580879872001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4941561737510912,"note":"Value kept but may cause issues"} 
[2026-07-08 19:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753448398054041600,"note":"Value kept but may cause issues"} 
[2026-07-08 19:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783519363000,"timestamp_ms":1783519363000,"timestamp_seconds":1783519363,"priority":1,"record_length":96,"hex_timestamp":"0000019f4209bfb8"} 
[2026-07-08 19:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 19:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19: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-07-08 19:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:35:36] 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-07-08 19:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580879872001,"66":2166,"105":206,"83":41984,"24":0,"16":4941561737510912,"45":1753448398054041600},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580879872001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:35:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:35:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4941561737510912,"km_value":4941561737510.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753448398054041600,"description":"Unknown IO ID 45"} 
[2026-07-08 19:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580879872001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1753448398054041600}} 
[2026-07-08 19:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":125779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:35:36] local.INFO: GPS data processed {"connection_id":125779,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:35:36] local.INFO: Acknowledgment sent {"connection_id":125779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:35:58] local.INFO: TCP Data received {"connection_id":125781,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:35:58] local.INFO: Processing buffer {"connection_id":125781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:35:58] local.INFO: IMEI packet received {"connection_id":125781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":125781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:35:59] local.INFO: TCP Data received {"connection_id":125899,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:35:59] local.INFO: Processing buffer {"connection_id":125899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:35:59] local.INFO: IMEI packet received {"connection_id":125899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":125899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:36:00] local.INFO: TCP Data received {"connection_id":125899,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:36:00] local.INFO: Processing buffer {"connection_id":125899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:36:00] local.INFO: IMEI packet received {"connection_id":125899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":125899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:36:00] local.INFO: TCP Data received {"connection_id":125781,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:36:00] local.INFO: Processing buffer {"connection_id":125781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:36:00] local.INFO: IMEI packet received {"connection_id":125781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":125781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:36:00] local.INFO: TCP Data received {"connection_id":125899,"ip":"42.106.6.19","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-08 19:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125899,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-08 19:36:00] local.INFO: Processing buffer {"connection_id":125899,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-08 19:36:00] local.INFO: IMEI packet received {"connection_id":125899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":125899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:36:08] local.INFO: TCP Data received {"connection_id":125781,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f420b84d8012d7d3cc005ce0e90000801612d..."} 
[2026-07-08 19:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f420b84d8012d7d3cc005ce0e90000801612d..."} 
[2026-07-08 19:36:08] local.INFO: Processing buffer {"connection_id":125781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f420b84d8012d7d3cc005ce0e90000801612d..."} 
[2026-07-08 19:36:08] local.INFO: Packet analysis {"connection_id":125781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f420b"} 
[2026-07-08 19:36:08] local.INFO: Extracted packet for processing {"connection_id":125781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f420b"} 
[2026-07-08 19:36:08] local.INFO: GPS Element Parsed {"raw_longitude":763182272,"raw_latitude":97390224,"longitude_deg":76.3182272,"latitude_deg":9.7390224,"altitude":8,"angle":353,"satellites":45,"speed":7,"hex_longitude":"2d7d3cc0","hex_latitude":"05ce0e90","is_valid_coordinates":true} 
[2026-07-08 19:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580986112001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343127080466120704,"note":"Value kept but may cause issues"} 
[2026-07-08 19:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024509990740516864,"note":"Value kept but may cause issues"} 
[2026-07-08 19:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783519479000,"timestamp_ms":1783519479000,"timestamp_seconds":1783519479,"priority":1,"record_length":96,"hex_timestamp":"0000019f420b84d8"} 
[2026-07-08 19:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 19:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580986112001,"66":27234,"235":206,"85":15104,"24":7,"16":343127080466120704,"45":9024509990740516864},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-07-08 19:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580986112001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:36:08] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-08 19:36:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343127080466120704,"km_value":343127080466120.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024509990740516864,"description":"Unknown IO ID 45"} 
[2026-07-08 19:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580986112001,"power":27234,"unknown_235":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9024509990740516864}} 
[2026-07-08 19:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":125781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:36:08] local.INFO: GPS data processed {"connection_id":125781,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:36:08] local.INFO: Acknowledgment sent {"connection_id":125781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:36:09] local.INFO: TCP Data received {"connection_id":125781,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f420b8ca8012d7d3cc005ce1030000800082d..."} 
[2026-07-08 19:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f420b8ca8012d7d3cc005ce1030000800082d..."} 
[2026-07-08 19:36:09] local.INFO: Processing buffer {"connection_id":125781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f420b8ca8012d7d3cc005ce1030000800082d..."} 
[2026-07-08 19:36:09] local.INFO: Packet analysis {"connection_id":125781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f420b"} 
[2026-07-08 19:36:09] local.INFO: Extracted packet for processing {"connection_id":125781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f420b"} 
[2026-07-08 19:36:09] local.INFO: GPS Element Parsed {"raw_longitude":763182272,"raw_latitude":97390640,"longitude_deg":76.3182272,"latitude_deg":9.739064,"altitude":8,"angle":8,"satellites":45,"speed":9,"hex_longitude":"2d7d3cc0","hex_latitude":"05ce1030","is_valid_coordinates":true} 
[2026-07-08 19:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580986624001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343127101940957184,"note":"Value kept but may cause issues"} 
[2026-07-08 19:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024298884508061696,"note":"Value kept but may cause issues"} 
[2026-07-08 19:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783519481000,"timestamp_ms":1783519481000,"timestamp_seconds":1783519481,"priority":1,"record_length":96,"hex_timestamp":"0000019f420b8ca8"} 
[2026-07-08 19:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-08 19:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580986624001,"66":27321,"235":206,"85":15104,"24":9,"16":343127101940957184,"45":9024298884508061696},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-07-08 19:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580986624001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:36:09] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-08 19:36:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343127101940957184,"km_value":343127101940957.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024298884508061696,"description":"Unknown IO ID 45"} 
[2026-07-08 19:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580986624001,"power":27321,"unknown_235":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9024298884508061696}} 
[2026-07-08 19:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":125781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:36:09] local.INFO: GPS data processed {"connection_id":125781,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:36:09] local.INFO: Acknowledgment sent {"connection_id":125781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:36:55] local.INFO: TCP Data received {"connection_id":127893,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:36:55] local.INFO: Processing buffer {"connection_id":127893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:36:55] local.INFO: IMEI packet received {"connection_id":127893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":127893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:37:00] local.INFO: TCP Data received {"connection_id":127893,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:37:00] local.INFO: Processing buffer {"connection_id":127893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:37:00] local.INFO: IMEI packet received {"connection_id":127893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":127893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:37:03] local.INFO: TCP Data received {"connection_id":127893,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f420bcf10012d7d400005ce3448000700042b..."} 
[2026-07-08 19:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f420bcf10012d7d400005ce3448000700042b..."} 
[2026-07-08 19:37:03] local.INFO: Processing buffer {"connection_id":127893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f420bcf10012d7d400005ce3448000700042b..."} 
[2026-07-08 19:37:03] local.INFO: Packet analysis {"connection_id":127893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f420b"} 
[2026-07-08 19:37:03] local.INFO: Extracted packet for processing {"connection_id":127893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f420b"} 
[2026-07-08 19:37:03] local.INFO: GPS Element Parsed {"raw_longitude":763183104,"raw_latitude":97399880,"longitude_deg":76.3183104,"latitude_deg":9.739988,"altitude":7,"angle":4,"satellites":43,"speed":32,"hex_longitude":"2d7d4000","hex_latitude":"05ce3448","is_valid_coordinates":true} 
[2026-07-08 19: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-07-08 19:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580987136001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343127552912523264,"note":"Value kept but may cause issues"} 
[2026-07-08 19:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024298884508168192,"note":"Value kept but may cause issues"} 
[2026-07-08 19:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783519498000,"timestamp_ms":1783519498000,"timestamp_seconds":1783519498,"priority":1,"record_length":96,"hex_timestamp":"0000019f420bcf10"} 
[2026-07-08 19:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 19:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19: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-07-08 19:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":127893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":127893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":127893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580987136001,"66":27484,"235":206,"85":15104,"24":32,"16":343127552912523264,"45":9024298884508168192},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-07-08 19:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580987136001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:37:03] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-08 19:37:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343127552912523264,"km_value":343127552912523.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024298884508168192,"description":"Unknown IO ID 45"} 
[2026-07-08 19:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580987136001,"power":27484,"unknown_235":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9024298884508168192}} 
[2026-07-08 19:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":127893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:37:03] local.INFO: GPS data processed {"connection_id":127893,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:37:03] local.INFO: Acknowledgment sent {"connection_id":127893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:37:33] local.INFO: TCP Data received {"connection_id":127893,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f420bfa08012d7d42c005ce5848000700032b..."} 
[2026-07-08 19:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f420bfa08012d7d42c005ce5848000700032b..."} 
[2026-07-08 19:37:33] local.INFO: Processing buffer {"connection_id":127893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f420bfa08012d7d42c005ce5848000700032b..."} 
[2026-07-08 19:37:33] local.INFO: Packet analysis {"connection_id":127893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f420b"} 
[2026-07-08 19:37:33] local.INFO: Extracted packet for processing {"connection_id":127893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f420b"} 
[2026-07-08 19:37:33] local.INFO: GPS Element Parsed {"raw_longitude":763183808,"raw_latitude":97409096,"longitude_deg":76.3183808,"latitude_deg":9.7409096,"altitude":7,"angle":3,"satellites":43,"speed":31,"hex_longitude":"2d7d42c0","hex_latitude":"05ce5848","is_valid_coordinates":true} 
[2026-07-08 19: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-07-08 19:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580991488001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343127999589122048,"note":"Value kept but may cause issues"} 
[2026-07-08 19:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025213678184843264,"note":"Value kept but may cause issues"} 
[2026-07-08 19:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783519509000,"timestamp_ms":1783519509000,"timestamp_seconds":1783519509,"priority":1,"record_length":96,"hex_timestamp":"0000019f420bfa08"} 
[2026-07-08 19:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 19:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19: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-07-08 19:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580991488001,"66":27484,"235":206,"85":15104,"24":31,"16":343127999589122048,"45":9025213678184843264},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-07-08 19:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580991488001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:37:33] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-08 19:37:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343127999589122048,"km_value":343127999589122.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025213678184843264,"description":"Unknown IO ID 45"} 
[2026-07-08 19:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580991488001,"power":27484,"unknown_235":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9025213678184843264}} 
[2026-07-08 19:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":127893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:37:33] local.INFO: GPS data processed {"connection_id":127893,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:37:33] local.INFO: Acknowledgment sent {"connection_id":127893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:38:11] local.INFO: TCP Data received {"connection_id":125784,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:38:11] local.INFO: Processing buffer {"connection_id":125784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:38:11] local.INFO: IMEI packet received {"connection_id":125784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":125784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:38:12] local.INFO: TCP Data received {"connection_id":125784,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:38:12] local.INFO: Processing buffer {"connection_id":125784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:38:12] local.INFO: IMEI packet received {"connection_id":125784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":125784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:38:15] local.INFO: TCP Data received {"connection_id":125784,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:38:15] local.INFO: Processing buffer {"connection_id":125784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:38:15] local.INFO: IMEI packet received {"connection_id":125784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":125784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:38:16] local.INFO: TCP Data received {"connection_id":125784,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f420c4c10012d7d454005ce7878000901672b..."} 
[2026-07-08 19:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f420c4c10012d7d454005ce7878000901672b..."} 
[2026-07-08 19:38:16] local.INFO: Processing buffer {"connection_id":125784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f420c4c10012d7d454005ce7878000901672b..."} 
[2026-07-08 19:38:16] local.INFO: Packet analysis {"connection_id":125784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f420c"} 
[2026-07-08 19:38:16] local.INFO: Extracted packet for processing {"connection_id":125784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f420c"} 
[2026-07-08 19:38:16] local.INFO: GPS Element Parsed {"raw_longitude":763184448,"raw_latitude":97417336,"longitude_deg":76.3184448,"latitude_deg":9.7417336,"altitude":9,"angle":359,"satellites":43,"speed":0,"hex_longitude":"2d7d4540","hex_latitude":"05ce7878","is_valid_coordinates":true} 
[2026-07-08 19:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456580994304001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343128403316047872,"note":"Value kept but may cause issues"} 
[2026-07-08 19:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025987734373156864,"note":"Value kept but may cause issues"} 
[2026-07-08 19:38:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783519530000,"timestamp_ms":1783519530000,"timestamp_seconds":1783519530,"priority":1,"record_length":96,"hex_timestamp":"0000019f420c4c10"} 
[2026-07-08 19:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:38:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 19:38:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:38:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":125784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":125784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":125784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456580994304001,"66":27332,"237":206,"85":15104,"24":0,"16":343128403316047872,"45":9025987734373156864},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-07-08 19:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456580994304001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:38:16] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-08 19:38:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343128403316047872,"km_value":343128403316047.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025987734373156864,"description":"Unknown IO ID 45"} 
[2026-07-08 19:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456580994304001,"power":27332,"unknown_237":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9025987734373156864}} 
[2026-07-08 19:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":125784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:38:16] local.INFO: GPS data processed {"connection_id":125784,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:38:16] local.INFO: Acknowledgment sent {"connection_id":125784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:38:55] local.INFO: TCP Data received {"connection_id":126670,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:38:55] local.INFO: Processing buffer {"connection_id":126670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:38:55] local.INFO: IMEI packet received {"connection_id":126670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":126670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:38:58] local.INFO: TCP Data received {"connection_id":126670,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:38:58] local.INFO: Processing buffer {"connection_id":126670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:38:58] local.INFO: IMEI packet received {"connection_id":126670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":126670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:39:00] local.INFO: TCP Data received {"connection_id":126670,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:39:00] local.INFO: Processing buffer {"connection_id":126670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:39:00] local.INFO: IMEI packet received {"connection_id":126670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":126670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:39:00] local.INFO: TCP Data received {"connection_id":126670,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f420ead70012d7d4b4005cfa5b0000600012d..."} 
[2026-07-08 19:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f420ead70012d7d4b4005cfa5b0000600012d..."} 
[2026-07-08 19:39:00] local.INFO: Processing buffer {"connection_id":126670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f420ead70012d7d4b4005cfa5b0000600012d..."} 
[2026-07-08 19:39:00] local.INFO: Packet analysis {"connection_id":126670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f420e"} 
[2026-07-08 19:39:00] local.INFO: Extracted packet for processing {"connection_id":126670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f420e"} 
[2026-07-08 19:39:00] local.INFO: GPS Element Parsed {"raw_longitude":763185984,"raw_latitude":97494448,"longitude_deg":76.3185984,"latitude_deg":9.7494448,"altitude":6,"angle":1,"satellites":45,"speed":48,"hex_longitude":"2d7d4b40","hex_latitude":"05cfa5b0","is_valid_coordinates":true} 
[2026-07-08 19: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-07-08 19:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581037568001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343132157117464576,"note":"Value kept but may cause issues"} 
[2026-07-08 19:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028098796717860864,"note":"Value kept but may cause issues"} 
[2026-07-08 19:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783519686000,"timestamp_ms":1783519686000,"timestamp_seconds":1783519686,"priority":1,"record_length":96,"hex_timestamp":"0000019f420ead70"} 
[2026-07-08 19:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 19:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19: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-07-08 19:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581037568001,"66":27376,"198":206,"85":15104,"24":48,"16":343132157117464576,"45":9028098796717860864},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-07-08 19:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581037568001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:39:00] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-08 19:39:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343132157117464576,"km_value":343132157117464.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028098796717860864,"description":"Unknown IO ID 45"} 
[2026-07-08 19:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581037568001,"power":27376,"unknown_198":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9028098796717860864}} 
[2026-07-08 19:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":126670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:39:00] local.INFO: GPS data processed {"connection_id":126670,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:39:00] local.INFO: Acknowledgment sent {"connection_id":126670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:39:44] local.INFO: TCP Data received {"connection_id":126670,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f420ec8c8012d7d4b4005cfc8f0000600012e..."} 
[2026-07-08 19:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f420ec8c8012d7d4b4005cfc8f0000600012e..."} 
[2026-07-08 19:39:44] local.INFO: Processing buffer {"connection_id":126670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f420ec8c8012d7d4b4005cfc8f0000600012e..."} 
[2026-07-08 19:39:44] local.INFO: Packet analysis {"connection_id":126670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f420e"} 
[2026-07-08 19:39:44] local.INFO: Extracted packet for processing {"connection_id":126670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f420e"} 
[2026-07-08 19:39:44] local.INFO: GPS Element Parsed {"raw_longitude":763185984,"raw_latitude":97503472,"longitude_deg":76.3185984,"latitude_deg":9.7503472,"altitude":6,"angle":1,"satellites":46,"speed":53,"hex_longitude":"2d7d4b40","hex_latitude":"05cfc8f0","is_valid_coordinates":true} 
[2026-07-08 19:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581039616001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343132590909161472,"note":"Value kept but may cause issues"} 
[2026-07-08 19:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028380271697047552,"note":"Value kept but may cause issues"} 
[2026-07-08 19:39: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-07-08 19:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783519693000,"timestamp_ms":1783519693000,"timestamp_seconds":1783519693,"priority":1,"record_length":96,"hex_timestamp":"0000019f420ec8c8"} 
[2026-07-08 19:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:39: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-07-08 19:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 19:39:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:39:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":126670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":126670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":126670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581039616001,"66":27463,"198":206,"85":15104,"24":53,"16":343132590909161472,"45":9028380271697047552},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-07-08 19:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581039616001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:39:44] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-08 19:39:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343132590909161472,"km_value":343132590909161.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028380271697047552,"description":"Unknown IO ID 45"} 
[2026-07-08 19:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581039616001,"power":27463,"unknown_198":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":9028380271697047552}} 
[2026-07-08 19:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":126670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:39:44] local.INFO: GPS data processed {"connection_id":126670,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:39:44] local.INFO: Acknowledgment sent {"connection_id":126670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:40:06] local.INFO: TCP Data received {"connection_id":125785,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:40:06] local.INFO: Processing buffer {"connection_id":125785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:40:06] local.INFO: IMEI packet received {"connection_id":125785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":125785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:40:06] local.INFO: TCP Data received {"connection_id":125785,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:40:06] local.INFO: Processing buffer {"connection_id":125785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:40:06] local.INFO: IMEI packet received {"connection_id":125785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":125785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:40:10] local.INFO: TCP Data received {"connection_id":125785,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:40:10] local.INFO: Processing buffer {"connection_id":125785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:40:10] local.INFO: IMEI packet received {"connection_id":125785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":125785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:40:11] local.INFO: TCP Data received {"connection_id":125785,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f420ee420012d7d4b4005cfedb8000701662e..."} 
[2026-07-08 19:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f420ee420012d7d4b4005cfedb8000701662e..."} 
[2026-07-08 19:40:11] local.INFO: Processing buffer {"connection_id":125785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f420ee420012d7d4b4005cfedb8000701662e..."} 
[2026-07-08 19:40:11] local.INFO: Packet analysis {"connection_id":125785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f420e"} 
[2026-07-08 19:40:11] local.INFO: Extracted packet for processing {"connection_id":125785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f420e"} 
[2026-07-08 19:40:11] local.INFO: GPS Element Parsed {"raw_longitude":763185984,"raw_latitude":97512888,"longitude_deg":76.3185984,"latitude_deg":9.7512888,"altitude":7,"angle":358,"satellites":46,"speed":53,"hex_longitude":"2d7d4b40","hex_latitude":"05cfedb8","is_valid_coordinates":true} 
[2026-07-08 19:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581041408001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343133050470662144,"note":"Value kept but may cause issues"} 
[2026-07-08 19:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028380271699357696,"note":"Value kept but may cause issues"} 
[2026-07-08 19:40: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-07-08 19:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783519700000,"timestamp_ms":1783519700000,"timestamp_seconds":1783519700,"priority":1,"record_length":96,"hex_timestamp":"0000019f420ee420"} 
[2026-07-08 19:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-08 19:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581041408001,"66":27267,"198":206,"85":15104,"24":53,"16":343133050470662144,"45":9028380271699357696},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-07-08 19:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581041408001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:40:11] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-08 19:40:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343133050470662144,"km_value":343133050470662.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028380271699357696,"description":"Unknown IO ID 45"} 
[2026-07-08 19:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581041408001,"power":27267,"unknown_198":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":9028380271699357696}} 
[2026-07-08 19:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":125785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:40:11] local.INFO: GPS data processed {"connection_id":125785,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:40:11] local.INFO: Acknowledgment sent {"connection_id":125785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:40:20] local.INFO: TCP Data received {"connection_id":125901,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125901,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:40:20] local.INFO: Processing buffer {"connection_id":125901,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:40:20] local.INFO: IMEI packet received {"connection_id":125901,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 19:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":125901,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:40:55] local.INFO: TCP Data received {"connection_id":126671,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:40:55] local.INFO: Processing buffer {"connection_id":126671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:40:55] local.INFO: IMEI packet received {"connection_id":126671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":126671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:40:55] local.INFO: TCP Data received {"connection_id":127896,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127896,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:40:55] local.INFO: Processing buffer {"connection_id":127896,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:40:55] local.INFO: IMEI packet received {"connection_id":127896,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 19:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":127896,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:40:57] local.INFO: TCP Data received {"connection_id":126671,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:40:57] local.INFO: Processing buffer {"connection_id":126671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:40:57] local.INFO: IMEI packet received {"connection_id":126671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":126671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:41:00] local.INFO: TCP Data received {"connection_id":126671,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:41:00] local.INFO: Processing buffer {"connection_id":126671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:41:00] local.INFO: IMEI packet received {"connection_id":126671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":126671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:41:04] local.INFO: TCP Data received {"connection_id":126672,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:41:04] local.INFO: Processing buffer {"connection_id":126672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:41:04] local.INFO: IMEI packet received {"connection_id":126672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":126672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:41:04] local.INFO: TCP Data received {"connection_id":126672,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f420dea20012d1822400721afa8004800c22a..."} 
[2026-07-08 19:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f420dea20012d1822400721afa8004800c22a..."} 
[2026-07-08 19:41:04] local.INFO: Processing buffer {"connection_id":126672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f420dea20012d1822400721afa8004800c22a..."} 
[2026-07-08 19:41:04] local.INFO: Packet analysis {"connection_id":126672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f420d"} 
[2026-07-08 19:41:04] local.INFO: Extracted packet for processing {"connection_id":126672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f420d"} 
[2026-07-08 19:41:04] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119648168,"longitude_deg":75.6556352,"latitude_deg":11.9648168,"altitude":72,"angle":194,"satellites":42,"speed":10,"hex_longitude":"2d182240","hex_latitude":"0721afa8","is_valid_coordinates":true} 
[2026-07-08 19:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581026048001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4942751443451904,"note":"Value kept but may cause issues"} 
[2026-07-08 19:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702006272,"note":"Value kept but may cause issues"} 
[2026-07-08 19:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783519636000,"timestamp_ms":1783519636000,"timestamp_seconds":1783519636,"priority":1,"record_length":96,"hex_timestamp":"0000019f420dea20"} 
[2026-07-08 19:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-08 19:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:41:04] 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-07-08 19:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581026048001,"66":12156,"105":206,"83":41984,"24":10,"16":4942751443451904,"45":1739515386702006272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581026048001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:41:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:41:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4942751443451904,"km_value":4942751443451.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702006272,"description":"Unknown IO ID 45"} 
[2026-07-08 19:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581026048001,"power":12156,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1739515386702006272}} 
[2026-07-08 19:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":126672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:41:04] local.INFO: GPS data processed {"connection_id":126672,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:41:04] local.INFO: Acknowledgment sent {"connection_id":126672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:41:05] local.INFO: TCP Data received {"connection_id":126671,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:41:05] local.INFO: Processing buffer {"connection_id":126671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:41:05] local.INFO: IMEI packet received {"connection_id":126671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":126671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:41:06] local.INFO: TCP Data received {"connection_id":126671,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42102088012d7d37c005d13718000901642c..."} 
[2026-07-08 19:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42102088012d7d37c005d13718000901642c..."} 
[2026-07-08 19:41:06] local.INFO: Processing buffer {"connection_id":126671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42102088012d7d37c005d13718000901642c..."} 
[2026-07-08 19:41:06] local.INFO: Packet analysis {"connection_id":126671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4210"} 
[2026-07-08 19:41:06] local.INFO: Extracted packet for processing {"connection_id":126671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4210"} 
[2026-07-08 19:41:06] local.INFO: GPS Element Parsed {"raw_longitude":763180992,"raw_latitude":97597208,"longitude_deg":76.3180992,"latitude_deg":9.7597208,"altitude":9,"angle":356,"satellites":44,"speed":54,"hex_longitude":"2d7d37c0","hex_latitude":"05d13718","is_valid_coordinates":true} 
[2026-07-08 19:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581062144001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343137152164429824,"note":"Value kept but may cause issues"} 
[2026-07-08 19:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023454459628451840,"note":"Value kept but may cause issues"} 
[2026-07-08 19:41:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 19:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783519781000,"timestamp_ms":1783519781000,"timestamp_seconds":1783519781,"priority":1,"record_length":96,"hex_timestamp":"0000019f42102088"} 
[2026-07-08 19:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 19:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581062144001,"66":27310,"24":54,"85":15104,"16":343137152164429824,"45":9023454459628451840},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 19:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581062144001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:41:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343137152164429824,"km_value":343137152164429.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023454459628451840,"description":"Unknown IO ID 45"} 
[2026-07-08 19:41:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456581062144001,"power":27310,"ignition":54,"unknown_85":15104,"odometer":null,"unknown_45":9023454459628451840}} 
[2026-07-08 19:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":126671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:41:06] local.INFO: GPS data processed {"connection_id":126671,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:41:06] local.INFO: Acknowledgment sent {"connection_id":126671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:41:11] local.INFO: TCP Data received {"connection_id":126671,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42103fc8012d7d350005d15de0000a01652d..."} 
[2026-07-08 19:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42103fc8012d7d350005d15de0000a01652d..."} 
[2026-07-08 19:41:11] local.INFO: Processing buffer {"connection_id":126671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42103fc8012d7d350005d15de0000a01652d..."} 
[2026-07-08 19:41:11] local.INFO: Packet analysis {"connection_id":126671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4210"} 
[2026-07-08 19:41:11] local.INFO: Extracted packet for processing {"connection_id":126671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4210"} 
[2026-07-08 19:41:11] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":97607136,"longitude_deg":76.3180288,"latitude_deg":9.7607136,"altitude":10,"angle":357,"satellites":45,"speed":45,"hex_longitude":"2d7d3500","hex_latitude":"05d15de0","is_valid_coordinates":true} 
[2026-07-08 19:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581063936001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343137633200766976,"note":"Value kept but may cause issues"} 
[2026-07-08 19:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022891509677496320,"note":"Value kept but may cause issues"} 
[2026-07-08 19:41:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 19:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783519789000,"timestamp_ms":1783519789000,"timestamp_seconds":1783519789,"priority":1,"record_length":96,"hex_timestamp":"0000019f42103fc8"} 
[2026-07-08 19:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-08 19:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:41:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581063936001,"66":27321,"24":45,"85":15104,"16":343137633200766976,"45":9022891509677496320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-07-08 19:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581063936001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:41:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343137633200766976,"km_value":343137633200767.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022891509677496320,"description":"Unknown IO ID 45"} 
[2026-07-08 19:41:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456581063936001,"power":27321,"ignition":45,"unknown_85":15104,"odometer":null,"unknown_45":9022891509677496320}} 
[2026-07-08 19:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":126671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:41:11] local.INFO: GPS data processed {"connection_id":126671,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:41:11] local.INFO: Acknowledgment sent {"connection_id":126671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:41:35] local.INFO: TCP Data received {"connection_id":126672,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f420e3c28012d1821000721ac60004800cb25..."} 
[2026-07-08 19:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f420e3c28012d1821000721ac60004800cb25..."} 
[2026-07-08 19:41:35] local.INFO: Processing buffer {"connection_id":126672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f420e3c28012d1821000721ac60004800cb25..."} 
[2026-07-08 19:41:35] local.INFO: Packet analysis {"connection_id":126672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f420e"} 
[2026-07-08 19:41:35] local.INFO: Extracted packet for processing {"connection_id":126672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f420e"} 
[2026-07-08 19:41:35] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119647328,"longitude_deg":75.6556032,"latitude_deg":11.9647328,"altitude":72,"angle":203,"satellites":37,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721ac60","is_valid_coordinates":true} 
[2026-07-08 19:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581026816001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4942794393124864,"note":"Value kept but may cause issues"} 
[2026-07-08 19:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492541440,"note":"Value kept but may cause issues"} 
[2026-07-08 19:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783519657000,"timestamp_ms":1783519657000,"timestamp_seconds":1783519657,"priority":1,"record_length":96,"hex_timestamp":"0000019f420e3c28"} 
[2026-07-08 19:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-08 19:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581026816001,"66":12232,"105":206,"83":41984,"24":0,"16":4942794393124864,"45":1739022805492541440},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581026816001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:41:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:41:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4942794393124864,"km_value":4942794393124.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492541440,"description":"Unknown IO ID 45"} 
[2026-07-08 19:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581026816001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492541440}} 
[2026-07-08 19:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":126672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:41:35] local.INFO: GPS data processed {"connection_id":126672,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:41:35] local.INFO: Acknowledgment sent {"connection_id":126672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:41:55] local.INFO: TCP Data received {"connection_id":125903,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:41:55] local.INFO: Processing buffer {"connection_id":125903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:41:55] local.INFO: IMEI packet received {"connection_id":125903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":125903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:41:58] local.INFO: TCP Data received {"connection_id":125903,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:41:58] local.INFO: Processing buffer {"connection_id":125903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:41:58] local.INFO: IMEI packet received {"connection_id":125903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":125903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:41:59] local.INFO: TCP Data received {"connection_id":125903,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f421062f0012d7d330005d18170000801652d..."} 
[2026-07-08 19:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421062f0012d7d330005d18170000801652d..."} 
[2026-07-08 19:41:59] local.INFO: Processing buffer {"connection_id":125903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421062f0012d7d330005d18170000801652d..."} 
[2026-07-08 19:41:59] local.INFO: Packet analysis {"connection_id":125903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4210"} 
[2026-07-08 19:41:59] local.INFO: Extracted packet for processing {"connection_id":125903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4210"} 
[2026-07-08 19:41:59] local.INFO: GPS Element Parsed {"raw_longitude":763179776,"raw_latitude":97616240,"longitude_deg":76.3179776,"latitude_deg":9.761624,"altitude":8,"angle":357,"satellites":45,"speed":37,"hex_longitude":"2d7d3300","hex_latitude":"05d18170","is_valid_coordinates":true} 
[2026-07-08 19: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-07-08 19:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581065984001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343138075582398464,"note":"Value kept but may cause issues"} 
[2026-07-08 19:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453494083584,"note":"Value kept but may cause issues"} 
[2026-07-08 19:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783519798000,"timestamp_ms":1783519798000,"timestamp_seconds":1783519798,"priority":1,"record_length":96,"hex_timestamp":"0000019f421062f0"} 
[2026-07-08 19:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 19:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19: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-07-08 19:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":125903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":125903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":125903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581065984001,"66":27376,"23":206,"85":15104,"24":37,"16":343138075582398464,"45":9022117453494083584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-07-08 19:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581065984001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:41:59] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-08 19:41:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343138075582398464,"km_value":343138075582398.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453494083584,"description":"Unknown IO ID 45"} 
[2026-07-08 19:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581065984001,"power":27376,"unknown_23":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9022117453494083584}} 
[2026-07-08 19:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":125903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:41:59] local.INFO: GPS data processed {"connection_id":125903,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:41:59] local.INFO: Acknowledgment sent {"connection_id":125903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:42:00] local.INFO: TCP Data received {"connection_id":127897,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:42:00] local.INFO: Processing buffer {"connection_id":127897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:42:00] local.INFO: IMEI packet received {"connection_id":127897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":127897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:42:00] local.INFO: TCP Data received {"connection_id":125903,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42108230012d7d300005d19c30000801592b..."} 
[2026-07-08 19:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42108230012d7d300005d19c30000801592b..."} 
[2026-07-08 19:42:00] local.INFO: Processing buffer {"connection_id":125903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42108230012d7d300005d19c30000801592b..."} 
[2026-07-08 19:42:00] local.INFO: Packet analysis {"connection_id":125903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4210"} 
[2026-07-08 19:42:00] local.INFO: Extracted packet for processing {"connection_id":125903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4210"} 
[2026-07-08 19:42:00] local.INFO: GPS Element Parsed {"raw_longitude":763179008,"raw_latitude":97623088,"longitude_deg":76.3179008,"latitude_deg":9.7623088,"altitude":8,"angle":345,"satellites":43,"speed":23,"hex_longitude":"2d7d3000","hex_latitude":"05d19c30","is_valid_coordinates":true} 
[2026-07-08 19:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581068288001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343138410589847552,"note":"Value kept but may cause issues"} 
[2026-07-08 19:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021554503542992896,"note":"Value kept but may cause issues"} 
[2026-07-08 19:42:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783519806000,"timestamp_ms":1783519806000,"timestamp_seconds":1783519806,"priority":1,"record_length":96,"hex_timestamp":"0000019f42108230"} 
[2026-07-08 19:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 19:42:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:42:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581068288001,"66":27463,"23":206,"85":15104,"24":23,"16":343138410589847552,"45":9021554503542992896},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-07-08 19:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581068288001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:42:00] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-08 19:42:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343138410589847552,"km_value":343138410589847.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021554503542992896,"description":"Unknown IO ID 45"} 
[2026-07-08 19:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581068288001,"power":27463,"unknown_23":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9021554503542992896}} 
[2026-07-08 19:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":125903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:42:00] local.INFO: GPS data processed {"connection_id":125903,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:42:00] local.INFO: Acknowledgment sent {"connection_id":125903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:42:04] local.INFO: TCP Data received {"connection_id":127897,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:42:04] local.INFO: Processing buffer {"connection_id":127897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:42:04] local.INFO: IMEI packet received {"connection_id":127897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":127897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:42:05] local.INFO: TCP Data received {"connection_id":127897,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f420e8e30012d1821000721ac60004800cb28..."} 
[2026-07-08 19:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f420e8e30012d1821000721ac60004800cb28..."} 
[2026-07-08 19:42:05] local.INFO: Processing buffer {"connection_id":127897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f420e8e30012d1821000721ac60004800cb28..."} 
[2026-07-08 19:42:05] local.INFO: Packet analysis {"connection_id":127897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f420e"} 
[2026-07-08 19:42:05] local.INFO: Extracted packet for processing {"connection_id":127897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f420e"} 
[2026-07-08 19:42:05] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119647328,"longitude_deg":75.6556032,"latitude_deg":11.9647328,"altitude":72,"angle":203,"satellites":40,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721ac60","is_valid_coordinates":true} 
[2026-07-08 19:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581032192001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4942794393124864,"note":"Value kept but may cause issues"} 
[2026-07-08 19:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771438080,"note":"Value kept but may cause issues"} 
[2026-07-08 19:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783519678000,"timestamp_ms":1783519678000,"timestamp_seconds":1783519678,"priority":1,"record_length":96,"hex_timestamp":"0000019f420e8e30"} 
[2026-07-08 19:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-08 19:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:42:05] 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-07-08 19:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581032192001,"66":12178,"105":206,"83":41984,"24":0,"16":4942794393124864,"45":1738670961771438080},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581032192001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:42:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:42:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4942794393124864,"km_value":4942794393124.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771438080,"description":"Unknown IO ID 45"} 
[2026-07-08 19:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581032192001,"power":12178,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771438080}} 
[2026-07-08 19:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":127897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:42:05] local.INFO: GPS data processed {"connection_id":127897,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:42:05] local.INFO: Acknowledgment sent {"connection_id":127897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:42:31] local.INFO: TCP Data received {"connection_id":125903,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42108de8012d7d2e0005d1a1e80008014c2c..."} 
[2026-07-08 19:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42108de8012d7d2e0005d1a1e80008014c2c..."} 
[2026-07-08 19:42:31] local.INFO: Processing buffer {"connection_id":125903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42108de8012d7d2e0005d1a1e80008014c2c..."} 
[2026-07-08 19:42:31] local.INFO: Packet analysis {"connection_id":125903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4210"} 
[2026-07-08 19:42:31] local.INFO: Extracted packet for processing {"connection_id":125903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4210"} 
[2026-07-08 19:42:31] local.INFO: GPS Element Parsed {"raw_longitude":763178496,"raw_latitude":97624552,"longitude_deg":76.3178496,"latitude_deg":9.7624552,"altitude":8,"angle":332,"satellites":44,"speed":19,"hex_longitude":"2d7d2e00","hex_latitude":"05d1a1e8","is_valid_coordinates":true} 
[2026-07-08 19: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-07-08 19:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581070336001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343138487899258880,"note":"Value kept but may cause issues"} 
[2026-07-08 19:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020710078614614016,"note":"Value kept but may cause issues"} 
[2026-07-08 19:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783519809000,"timestamp_ms":1783519809000,"timestamp_seconds":1783519809,"priority":1,"record_length":96,"hex_timestamp":"0000019f42108de8"} 
[2026-07-08 19:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:42: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-07-08 19: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-08 19:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19: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-07-08 19:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":125903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":125903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":125903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581070336001,"66":27267,"23":206,"85":15104,"24":19,"16":343138487899258880,"45":9020710078614614016},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-07-08 19:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581070336001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:42:31] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-08 19:42:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343138487899258880,"km_value":343138487899258.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020710078614614016,"description":"Unknown IO ID 45"} 
[2026-07-08 19:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581070336001,"power":27267,"unknown_23":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9020710078614614016}} 
[2026-07-08 19:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":125903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:42:31] local.INFO: GPS data processed {"connection_id":125903,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:42:31] local.INFO: Acknowledgment sent {"connection_id":125903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:42:36] local.INFO: TCP Data received {"connection_id":127897,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f420ee038012d1821000721ac60004800cb26..."} 
[2026-07-08 19:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f420ee038012d1821000721ac60004800cb26..."} 
[2026-07-08 19:42:36] local.INFO: Processing buffer {"connection_id":127897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f420ee038012d1821000721ac60004800cb26..."} 
[2026-07-08 19:42:36] local.INFO: Packet analysis {"connection_id":127897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f420e"} 
[2026-07-08 19:42:36] local.INFO: Extracted packet for processing {"connection_id":127897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f420e"} 
[2026-07-08 19:42:36] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119647328,"longitude_deg":75.6556032,"latitude_deg":11.9647328,"altitude":72,"angle":203,"satellites":38,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721ac60","is_valid_coordinates":true} 
[2026-07-08 19:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581037568001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4942794393124864,"note":"Value kept but may cause issues"} 
[2026-07-08 19:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771438080,"note":"Value kept but may cause issues"} 
[2026-07-08 19:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783519699000,"timestamp_ms":1783519699000,"timestamp_seconds":1783519699,"priority":1,"record_length":96,"hex_timestamp":"0000019f420ee038"} 
[2026-07-08 19:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-08 19:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:42:36] 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-07-08 19:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581037568001,"66":12254,"105":206,"83":41984,"24":0,"16":4942794393124864,"45":1738670961771438080},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581037568001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:42:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:42:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4942794393124864,"km_value":4942794393124.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771438080,"description":"Unknown IO ID 45"} 
[2026-07-08 19:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581037568001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771438080}} 
[2026-07-08 19:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":127897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:42:36] local.INFO: GPS data processed {"connection_id":127897,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:42:36] local.INFO: Acknowledgment sent {"connection_id":127897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:42:55] local.INFO: TCP Data received {"connection_id":126674,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:42:55] local.INFO: Processing buffer {"connection_id":126674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:42:55] local.INFO: IMEI packet received {"connection_id":126674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":126674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:42:59] local.INFO: TCP Data received {"connection_id":126675,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:42:59] local.INFO: Processing buffer {"connection_id":126675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:42:59] local.INFO: IMEI packet received {"connection_id":126675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":126675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:43:00] local.INFO: TCP Data received {"connection_id":126674,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:43:00] local.INFO: Processing buffer {"connection_id":126674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:43:00] local.INFO: IMEI packet received {"connection_id":126674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":126674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:43:01] local.INFO: TCP Data received {"connection_id":126674,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4210a940012d7d284005d1acb00007015a2c..."} 
[2026-07-08 19:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4210a940012d7d284005d1acb00007015a2c..."} 
[2026-07-08 19:43:01] local.INFO: Processing buffer {"connection_id":126674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4210a940012d7d284005d1acb00007015a2c..."} 
[2026-07-08 19:43:01] local.INFO: Packet analysis {"connection_id":126674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4210"} 
[2026-07-08 19:43:01] local.INFO: Extracted packet for processing {"connection_id":126674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4210"} 
[2026-07-08 19:43:01] local.INFO: GPS Element Parsed {"raw_longitude":763177024,"raw_latitude":97627312,"longitude_deg":76.3177024,"latitude_deg":9.7627312,"altitude":7,"angle":346,"satellites":44,"speed":20,"hex_longitude":"2d7d2840","hex_latitude":"05d1acb0","is_valid_coordinates":true} 
[2026-07-08 19:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581071104001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343138638223114240,"note":"Value kept but may cause issues"} 
[2026-07-08 19:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020147128661567488,"note":"Value kept but may cause issues"} 
[2026-07-08 19:43:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783519816000,"timestamp_ms":1783519816000,"timestamp_seconds":1783519816,"priority":1,"record_length":96,"hex_timestamp":"0000019f4210a940"} 
[2026-07-08 19:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:43:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 19:43:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:43:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581071104001,"66":27397,"23":206,"85":15104,"24":20,"16":343138638223114240,"45":9020147128661567488},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-07-08 19:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581071104001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:43:01] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-08 19:43:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343138638223114240,"km_value":343138638223114.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020147128661567488,"description":"Unknown IO ID 45"} 
[2026-07-08 19:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581071104001,"power":27397,"unknown_23":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9020147128661567488}} 
[2026-07-08 19:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":126674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:43:01] local.INFO: GPS data processed {"connection_id":126674,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:43:01] local.INFO: Acknowledgment sent {"connection_id":126674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:43:04] local.INFO: TCP Data received {"connection_id":126675,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:43:04] local.INFO: Processing buffer {"connection_id":126675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:43:04] local.INFO: IMEI packet received {"connection_id":126675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":126675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:43:05] local.INFO: TCP Data received {"connection_id":126675,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f420f3240012d1821000721ac60004800cb24..."} 
[2026-07-08 19:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f420f3240012d1821000721ac60004800cb24..."} 
[2026-07-08 19:43:05] local.INFO: Processing buffer {"connection_id":126675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f420f3240012d1821000721ac60004800cb24..."} 
[2026-07-08 19:43:05] local.INFO: Packet analysis {"connection_id":126675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f420f"} 
[2026-07-08 19:43:05] local.INFO: Extracted packet for processing {"connection_id":126675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f420f"} 
[2026-07-08 19:43:05] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119647328,"longitude_deg":75.6556032,"latitude_deg":11.9647328,"altitude":72,"angle":203,"satellites":36,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721ac60","is_valid_coordinates":true} 
[2026-07-08 19:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581042944001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4942794393124864,"note":"Value kept but may cause issues"} 
[2026-07-08 19:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771438080,"note":"Value kept but may cause issues"} 
[2026-07-08 19:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783519720000,"timestamp_ms":1783519720000,"timestamp_seconds":1783519720,"priority":1,"record_length":96,"hex_timestamp":"0000019f420f3240"} 
[2026-07-08 19:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-08 19:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:43:05] 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-07-08 19:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581042944001,"66":12287,"105":206,"83":41984,"24":0,"16":4942794393124864,"45":1738670961771438080},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581042944001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:43:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:43:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4942794393124864,"km_value":4942794393124.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771438080,"description":"Unknown IO ID 45"} 
[2026-07-08 19:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581042944001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771438080}} 
[2026-07-08 19:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":126675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:43:05] local.INFO: GPS data processed {"connection_id":126675,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:43:05] local.INFO: Acknowledgment sent {"connection_id":126675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:43:32] local.INFO: TCP Data received {"connection_id":126674,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4210b4f8012d7d27c005d1b3000008016628..."} 
[2026-07-08 19:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4210b4f8012d7d27c005d1b3000008016628..."} 
[2026-07-08 19:43:32] local.INFO: Processing buffer {"connection_id":126674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4210b4f8012d7d27c005d1b3000008016628..."} 
[2026-07-08 19:43:32] local.INFO: Packet analysis {"connection_id":126674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4210"} 
[2026-07-08 19:43:32] local.INFO: Extracted packet for processing {"connection_id":126674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4210"} 
[2026-07-08 19:43:32] local.INFO: GPS Element Parsed {"raw_longitude":763176896,"raw_latitude":97628928,"longitude_deg":76.3176896,"latitude_deg":9.7628928,"altitude":8,"angle":358,"satellites":40,"speed":22,"hex_longitude":"2d7d27c0","hex_latitude":"05d1b300","is_valid_coordinates":true} 
[2026-07-08 19:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581072896001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343138719827492864,"note":"Value kept but may cause issues"} 
[2026-07-08 19:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018528647546187776,"note":"Value kept but may cause issues"} 
[2026-07-08 19:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783519819000,"timestamp_ms":1783519819000,"timestamp_seconds":1783519819,"priority":1,"record_length":96,"hex_timestamp":"0000019f4210b4f8"} 
[2026-07-08 19:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-08 19:43:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:43:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581072896001,"66":27376,"23":206,"85":15104,"24":22,"16":343138719827492864,"45":9018528647546187776},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-07-08 19:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581072896001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:43:32] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-08 19:43:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343138719827492864,"km_value":343138719827492.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018528647546187776,"description":"Unknown IO ID 45"} 
[2026-07-08 19:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581072896001,"power":27376,"unknown_23":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9018528647546187776}} 
[2026-07-08 19:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":126674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:43:32] local.INFO: GPS data processed {"connection_id":126674,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:43:32] local.INFO: Acknowledgment sent {"connection_id":126674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:43:36] local.INFO: TCP Data received {"connection_id":126675,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f420f8448012d1821000721ac60004800cb29..."} 
[2026-07-08 19:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f420f8448012d1821000721ac60004800cb29..."} 
[2026-07-08 19:43:36] local.INFO: Processing buffer {"connection_id":126675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f420f8448012d1821000721ac60004800cb29..."} 
[2026-07-08 19:43:36] local.INFO: Packet analysis {"connection_id":126675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f420f"} 
[2026-07-08 19:43:36] local.INFO: Extracted packet for processing {"connection_id":126675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f420f"} 
[2026-07-08 19:43:36] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119647328,"longitude_deg":75.6556032,"latitude_deg":11.9647328,"altitude":72,"angle":203,"satellites":41,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721ac60","is_valid_coordinates":true} 
[2026-07-08 19:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581048320001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4942794393124864,"note":"Value kept but may cause issues"} 
[2026-07-08 19:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771438080,"note":"Value kept but may cause issues"} 
[2026-07-08 19:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783519741000,"timestamp_ms":1783519741000,"timestamp_seconds":1783519741,"priority":1,"record_length":96,"hex_timestamp":"0000019f420f8448"} 
[2026-07-08 19:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 19:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:43:36] 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-07-08 19:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581048320001,"66":12287,"105":206,"83":41984,"24":0,"16":4942794393124864,"45":1738670961771438080},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581048320001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:43:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:43:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4942794393124864,"km_value":4942794393124.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771438080,"description":"Unknown IO ID 45"} 
[2026-07-08 19:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581048320001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771438080}} 
[2026-07-08 19:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":126675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:43:36] local.INFO: GPS data processed {"connection_id":126675,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:43:36] local.INFO: Acknowledgment sent {"connection_id":126675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:43:59] local.INFO: TCP Data received {"connection_id":125905,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:43:59] local.INFO: Processing buffer {"connection_id":125905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:43:59] local.INFO: IMEI packet received {"connection_id":125905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":125905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:44:04] local.INFO: TCP Data received {"connection_id":125905,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:44:04] local.INFO: Processing buffer {"connection_id":125905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:44:04] local.INFO: IMEI packet received {"connection_id":125905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":125905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:44:05] local.INFO: TCP Data received {"connection_id":125905,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f420fd650012d1821000721ac60004800cb29..."} 
[2026-07-08 19:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f420fd650012d1821000721ac60004800cb29..."} 
[2026-07-08 19:44:05] local.INFO: Processing buffer {"connection_id":125905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f420fd650012d1821000721ac60004800cb29..."} 
[2026-07-08 19:44:05] local.INFO: Packet analysis {"connection_id":125905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f420f"} 
[2026-07-08 19:44:05] local.INFO: Extracted packet for processing {"connection_id":125905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f420f"} 
[2026-07-08 19:44:05] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119647328,"longitude_deg":75.6556032,"latitude_deg":11.9647328,"altitude":72,"angle":203,"satellites":41,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721ac60","is_valid_coordinates":true} 
[2026-07-08 19:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581053696001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4942794393124864,"note":"Value kept but may cause issues"} 
[2026-07-08 19:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771438080,"note":"Value kept but may cause issues"} 
[2026-07-08 19:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783519762000,"timestamp_ms":1783519762000,"timestamp_seconds":1783519762,"priority":1,"record_length":96,"hex_timestamp":"0000019f420fd650"} 
[2026-07-08 19:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 19:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:44:05] 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-07-08 19:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581053696001,"66":12287,"105":206,"83":41984,"24":0,"16":4942794393124864,"45":1738670961771438080},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581053696001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:44:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:44:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4942794393124864,"km_value":4942794393124.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771438080,"description":"Unknown IO ID 45"} 
[2026-07-08 19:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581053696001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771438080}} 
[2026-07-08 19:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":125905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:44:05] local.INFO: GPS data processed {"connection_id":125905,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:44:05] local.INFO: Acknowledgment sent {"connection_id":125905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:44:05] local.INFO: TCP Data received {"connection_id":127898,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:44:05] local.INFO: Processing buffer {"connection_id":127898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:44:05] local.INFO: IMEI packet received {"connection_id":127898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":127898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:44:06] local.INFO: TCP Data received {"connection_id":127898,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:44:06] local.INFO: Processing buffer {"connection_id":127898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:44:06] local.INFO: IMEI packet received {"connection_id":127898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":127898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:44:07] local.INFO: TCP Data received {"connection_id":127898,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4210eba8012d7d254005d1d848000801622c..."} 
[2026-07-08 19:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4210eba8012d7d254005d1d848000801622c..."} 
[2026-07-08 19:44:07] local.INFO: Processing buffer {"connection_id":127898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4210eba8012d7d254005d1d848000801622c..."} 
[2026-07-08 19:44:07] local.INFO: Packet analysis {"connection_id":127898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4210"} 
[2026-07-08 19:44:07] local.INFO: Extracted packet for processing {"connection_id":127898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4210"} 
[2026-07-08 19:44:07] local.INFO: GPS Element Parsed {"raw_longitude":763176256,"raw_latitude":97638472,"longitude_deg":76.3176256,"latitude_deg":9.7638472,"altitude":8,"angle":354,"satellites":44,"speed":29,"hex_longitude":"2d7d2540","hex_latitude":"05d1d848","is_valid_coordinates":true} 
[2026-07-08 19:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581073664001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343139183683960832,"note":"Value kept but may cause issues"} 
[2026-07-08 19:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018387910058246144,"note":"Value kept but may cause issues"} 
[2026-07-08 19:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783519833000,"timestamp_ms":1783519833000,"timestamp_seconds":1783519833,"priority":1,"record_length":96,"hex_timestamp":"0000019f4210eba8"} 
[2026-07-08 19:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 19:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581073664001,"66":27332,"23":206,"85":15104,"24":29,"16":343139183683960832,"45":9018387910058246144},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-07-08 19:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581073664001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:44:07] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-08 19:44:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343139183683960832,"km_value":343139183683960.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018387910058246144,"description":"Unknown IO ID 45"} 
[2026-07-08 19:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581073664001,"power":27332,"unknown_23":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9018387910058246144}} 
[2026-07-08 19:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":127898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:44:07] local.INFO: GPS data processed {"connection_id":127898,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:44:07] local.INFO: Acknowledgment sent {"connection_id":127898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:44:07] local.INFO: TCP Data received {"connection_id":127898,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42111a88012d7d240005d1fb20000800002b..."} 
[2026-07-08 19:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42111a88012d7d240005d1fb20000800002b..."} 
[2026-07-08 19:44:07] local.INFO: Processing buffer {"connection_id":127898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42111a88012d7d240005d1fb20000800002b..."} 
[2026-07-08 19:44:07] local.INFO: Packet analysis {"connection_id":127898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4211"} 
[2026-07-08 19:44:07] local.INFO: Extracted packet for processing {"connection_id":127898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4211"} 
[2026-07-08 19:44:07] local.INFO: GPS Element Parsed {"raw_longitude":763175936,"raw_latitude":97647392,"longitude_deg":76.3175936,"latitude_deg":9.7647392,"altitude":8,"angle":0,"satellites":43,"speed":27,"hex_longitude":"2d7d2400","hex_latitude":"05d1fb20","is_valid_coordinates":true} 
[2026-07-08 19:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581077248001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343139617475657728,"note":"Value kept but may cause issues"} 
[2026-07-08 19:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017684222618912768,"note":"Value kept but may cause issues"} 
[2026-07-08 19:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783519845000,"timestamp_ms":1783519845000,"timestamp_seconds":1783519845,"priority":1,"record_length":96,"hex_timestamp":"0000019f42111a88"} 
[2026-07-08 19:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-08 19:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":127898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":127898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":127898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581077248001,"66":27593,"23":206,"85":15104,"24":27,"16":343139617475657728,"45":9017684222618912768},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-07-08 19:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581077248001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:44:07] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-08 19:44:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343139617475657728,"km_value":343139617475657.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017684222618912768,"description":"Unknown IO ID 45"} 
[2026-07-08 19:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581077248001,"power":27593,"unknown_23":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9017684222618912768}} 
[2026-07-08 19:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":127898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:44:07] local.INFO: GPS data processed {"connection_id":127898,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:44:07] local.INFO: Acknowledgment sent {"connection_id":127898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:44:36] local.INFO: TCP Data received {"connection_id":125905,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42135ca8012d1821000721ac60004800cb28..."} 
[2026-07-08 19:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42135ca8012d1821000721ac60004800cb28..."} 
[2026-07-08 19:44:36] local.INFO: Processing buffer {"connection_id":125905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42135ca8012d1821000721ac60004800cb28..."} 
[2026-07-08 19:44:36] local.INFO: Packet analysis {"connection_id":125905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4213"} 
[2026-07-08 19:44:36] local.INFO: Extracted packet for processing {"connection_id":125905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4213"} 
[2026-07-08 19:44:36] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119647328,"longitude_deg":75.6556032,"latitude_deg":11.9647328,"altitude":72,"angle":203,"satellites":40,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721ac60","is_valid_coordinates":true} 
[2026-07-08 19:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581112832001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4942794393124864,"note":"Value kept but may cause issues"} 
[2026-07-08 19:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771438080,"note":"Value kept but may cause issues"} 
[2026-07-08 19:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783519993000,"timestamp_ms":1783519993000,"timestamp_seconds":1783519993,"priority":1,"record_length":96,"hex_timestamp":"0000019f42135ca8"} 
[2026-07-08 19:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 19:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:44:36] 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-07-08 19:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581112832001,"66":12341,"105":206,"83":41984,"24":0,"16":4942794393124864,"45":1738670961771438080},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581112832001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:44:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:44:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4942794393124864,"km_value":4942794393124.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771438080,"description":"Unknown IO ID 45"} 
[2026-07-08 19:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581112832001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771438080}} 
[2026-07-08 19:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":125905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:44:36] local.INFO: GPS data processed {"connection_id":125905,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:44:36] local.INFO: Acknowledgment sent {"connection_id":125905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:44:38] local.INFO: TCP Data received {"connection_id":127898,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4213ca08012d7d378005d32668000d016621..."} 
[2026-07-08 19:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4213ca08012d7d378005d32668000d016621..."} 
[2026-07-08 19:44:38] local.INFO: Processing buffer {"connection_id":127898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4213ca08012d7d378005d32668000d016621..."} 
[2026-07-08 19:44:38] local.INFO: Packet analysis {"connection_id":127898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4213"} 
[2026-07-08 19:44:38] local.INFO: Extracted packet for processing {"connection_id":127898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4213"} 
[2026-07-08 19:44:38] local.INFO: GPS Element Parsed {"raw_longitude":763180928,"raw_latitude":97724008,"longitude_deg":76.3180928,"latitude_deg":9.7724008,"altitude":13,"angle":358,"satellites":33,"speed":41,"hex_longitude":"2d7d3780","hex_latitude":"05d32668","is_valid_coordinates":true} 
[2026-07-08 19:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581123072001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343143371277074432,"note":"Value kept but may cause issues"} 
[2026-07-08 19:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023243353428477952,"note":"Value kept but may cause issues"} 
[2026-07-08 19:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783520021000,"timestamp_ms":1783520021000,"timestamp_seconds":1783520021,"priority":1,"record_length":96,"hex_timestamp":"0000019f4213ca08"} 
[2026-07-08 19:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-08 19:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581123072001,"66":27397,"254":206,"85":15104,"24":41,"16":343143371277074432,"45":9023243353428477952},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-07-08 19:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581123072001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:44:38] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-08 19:44:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343143371277074432,"km_value":343143371277074.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023243353428477952,"description":"Unknown IO ID 45"} 
[2026-07-08 19:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581123072001,"power":27397,"unknown_254":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9023243353428477952}} 
[2026-07-08 19:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":127898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:44:38] local.INFO: GPS data processed {"connection_id":127898,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:44:38] local.INFO: Acknowledgment sent {"connection_id":127898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:44:55] local.INFO: TCP Data received {"connection_id":125906,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:44:55] local.INFO: Processing buffer {"connection_id":125906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:44:55] local.INFO: IMEI packet received {"connection_id":125906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":125906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:45:00] local.INFO: TCP Data received {"connection_id":125906,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:45:00] local.INFO: Processing buffer {"connection_id":125906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:45:00] local.INFO: IMEI packet received {"connection_id":125906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":125906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:45:01] local.INFO: TCP Data received {"connection_id":125906,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4213ed30012d7d368005d34b780010016523..."} 
[2026-07-08 19:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4213ed30012d7d368005d34b780010016523..."} 
[2026-07-08 19:45:01] local.INFO: Processing buffer {"connection_id":125906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4213ed30012d7d368005d34b780010016523..."} 
[2026-07-08 19:45:01] local.INFO: Packet analysis {"connection_id":125906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4213"} 
[2026-07-08 19:45:01] local.INFO: Extracted packet for processing {"connection_id":125906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4213"} 
[2026-07-08 19:45:01] local.INFO: GPS Element Parsed {"raw_longitude":763180672,"raw_latitude":97733496,"longitude_deg":76.3180672,"latitude_deg":9.7733496,"altitude":16,"angle":357,"satellites":35,"speed":41,"hex_longitude":"2d7d3680","hex_latitude":"05d34b78","is_valid_coordinates":true} 
[2026-07-08 19:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581125376001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343143830838575104,"note":"Value kept but may cause issues"} 
[2026-07-08 19:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022821140965779456,"note":"Value kept but may cause issues"} 
[2026-07-08 19:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783520030000,"timestamp_ms":1783520030000,"timestamp_seconds":1783520030,"priority":1,"record_length":96,"hex_timestamp":"0000019f4213ed30"} 
[2026-07-08 19:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-08 19:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581125376001,"66":27376,"81":206,"85":15104,"24":41,"16":343143830838575104,"45":9022821140965779456},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-08 19:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581125376001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:45:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-08 19:45:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343143830838575104,"km_value":343143830838575.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022821140965779456,"description":"Unknown IO ID 45"} 
[2026-07-08 19:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581125376001,"power":27376,"unknown_81":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9022821140965779456}} 
[2026-07-08 19:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":125906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:45:01] local.INFO: GPS data processed {"connection_id":125906,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:45:01] local.INFO: Acknowledgment sent {"connection_id":125906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:45:04] local.INFO: TCP Data received {"connection_id":125787,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:45:04] local.INFO: Processing buffer {"connection_id":125787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:45:04] local.INFO: IMEI packet received {"connection_id":125787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":125787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:45:09] local.INFO: TCP Data received {"connection_id":125787,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:45:09] local.INFO: Processing buffer {"connection_id":125787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:45:09] local.INFO: IMEI packet received {"connection_id":125787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":125787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:45:10] local.INFO: TCP Data received {"connection_id":125787,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4213aeb0012d1821000721ac60004800cb29..."} 
[2026-07-08 19:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4213aeb0012d1821000721ac60004800cb29..."} 
[2026-07-08 19:45:10] local.INFO: Processing buffer {"connection_id":125787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4213aeb0012d1821000721ac60004800cb29..."} 
[2026-07-08 19:45:10] local.INFO: Packet analysis {"connection_id":125787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4213"} 
[2026-07-08 19:45:10] local.INFO: Extracted packet for processing {"connection_id":125787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4213"} 
[2026-07-08 19:45:10] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119647328,"longitude_deg":75.6556032,"latitude_deg":11.9647328,"altitude":72,"angle":203,"satellites":41,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721ac60","is_valid_coordinates":true} 
[2026-07-08 19:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581118208001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4942794393124864,"note":"Value kept but may cause issues"} 
[2026-07-08 19:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771438080,"note":"Value kept but may cause issues"} 
[2026-07-08 19:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783520014000,"timestamp_ms":1783520014000,"timestamp_seconds":1783520014,"priority":1,"record_length":96,"hex_timestamp":"0000019f4213aeb0"} 
[2026-07-08 19:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 19:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:45:10] 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-07-08 19:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581118208001,"66":12341,"105":206,"83":41984,"24":0,"16":4942794393124864,"45":1738670961771438080},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581118208001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:45:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:45:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4942794393124864,"km_value":4942794393124.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771438080,"description":"Unknown IO ID 45"} 
[2026-07-08 19:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581118208001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771438080}} 
[2026-07-08 19:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":125787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:45:10] local.INFO: GPS data processed {"connection_id":125787,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:45:10] local.INFO: Acknowledgment sent {"connection_id":125787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:45:15] local.INFO: TCP Data received {"connection_id":125787,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f421400b8012d1821000721ac60004800cb2a..."} 
[2026-07-08 19:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421400b8012d1821000721ac60004800cb2a..."} 
[2026-07-08 19:45:15] local.INFO: Processing buffer {"connection_id":125787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421400b8012d1821000721ac60004800cb2a..."} 
[2026-07-08 19:45:15] local.INFO: Packet analysis {"connection_id":125787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4214"} 
[2026-07-08 19:45:15] local.INFO: Extracted packet for processing {"connection_id":125787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4214"} 
[2026-07-08 19:45:15] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119647328,"longitude_deg":75.6556032,"latitude_deg":11.9647328,"altitude":72,"angle":203,"satellites":42,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721ac60","is_valid_coordinates":true} 
[2026-07-08 19:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581123584001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4942794393124864,"note":"Value kept but may cause issues"} 
[2026-07-08 19:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771438080,"note":"Value kept but may cause issues"} 
[2026-07-08 19:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783520035000,"timestamp_ms":1783520035000,"timestamp_seconds":1783520035,"priority":1,"record_length":96,"hex_timestamp":"0000019f421400b8"} 
[2026-07-08 19:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 19:45:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":125787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":125787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":125787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:45: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-07-08 19:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581123584001,"66":12319,"105":206,"83":41984,"24":0,"16":4942794393124864,"45":1738670961771438080},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581123584001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:45:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:45:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4942794393124864,"km_value":4942794393124.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771438080,"description":"Unknown IO ID 45"} 
[2026-07-08 19:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581123584001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771438080}} 
[2026-07-08 19:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":125787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:45:15] local.INFO: GPS data processed {"connection_id":125787,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:45:15] local.INFO: Acknowledgment sent {"connection_id":125787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:45:16] local.INFO: TCP Data received {"connection_id":125787,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f421452c0012d1821000721ac60004800cb2a..."} 
[2026-07-08 19:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421452c0012d1821000721ac60004800cb2a..."} 
[2026-07-08 19:45:16] local.INFO: Processing buffer {"connection_id":125787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421452c0012d1821000721ac60004800cb2a..."} 
[2026-07-08 19:45:16] local.INFO: Packet analysis {"connection_id":125787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4214"} 
[2026-07-08 19:45:16] local.INFO: Extracted packet for processing {"connection_id":125787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4214"} 
[2026-07-08 19:45:16] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119647328,"longitude_deg":75.6556032,"latitude_deg":11.9647328,"altitude":72,"angle":203,"satellites":42,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721ac60","is_valid_coordinates":true} 
[2026-07-08 19:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581128960001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4942794393124864,"note":"Value kept but may cause issues"} 
[2026-07-08 19:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771438080,"note":"Value kept but may cause issues"} 
[2026-07-08 19:45:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783520056000,"timestamp_ms":1783520056000,"timestamp_seconds":1783520056,"priority":1,"record_length":96,"hex_timestamp":"0000019f421452c0"} 
[2026-07-08 19:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:45:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 19:45:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:45:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":125787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":125787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":125787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:45:16] 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-07-08 19:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581128960001,"66":12341,"105":206,"83":41984,"24":0,"16":4942794393124864,"45":1738670961771438080},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581128960001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:45:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:45:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4942794393124864,"km_value":4942794393124.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771438080,"description":"Unknown IO ID 45"} 
[2026-07-08 19:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581128960001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771438080}} 
[2026-07-08 19:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":125787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:45:16] local.INFO: GPS data processed {"connection_id":125787,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:45:16] local.INFO: Acknowledgment sent {"connection_id":125787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:45:32] local.INFO: TCP Data received {"connection_id":125906,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42141058012d7d360005d371300010000024..."} 
[2026-07-08 19:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42141058012d7d360005d371300010000024..."} 
[2026-07-08 19:45:32] local.INFO: Processing buffer {"connection_id":125906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42141058012d7d360005d371300010000024..."} 
[2026-07-08 19:45:32] local.INFO: Packet analysis {"connection_id":125906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4214"} 
[2026-07-08 19:45:32] local.INFO: Extracted packet for processing {"connection_id":125906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4214"} 
[2026-07-08 19:45:32] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":97743152,"longitude_deg":76.3180544,"latitude_deg":9.7743152,"altitude":16,"angle":0,"satellites":36,"speed":45,"hex_longitude":"2d7d3600","hex_latitude":"05d37130","is_valid_coordinates":true} 
[2026-07-08 19:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581127680001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343144298990010368,"note":"Value kept but may cause issues"} 
[2026-07-08 19:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022539665991497728,"note":"Value kept but may cause issues"} 
[2026-07-08 19:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783520039000,"timestamp_ms":1783520039000,"timestamp_seconds":1783520039,"priority":1,"record_length":96,"hex_timestamp":"0000019f42141058"} 
[2026-07-08 19:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 19:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581127680001,"66":27343,"81":206,"85":15104,"24":45,"16":343144298990010368,"45":9022539665991497728},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-08 19:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581127680001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:45:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-08 19:45:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343144298990010368,"km_value":343144298990010.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022539665991497728,"description":"Unknown IO ID 45"} 
[2026-07-08 19:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581127680001,"power":27343,"unknown_81":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9022539665991497728}} 
[2026-07-08 19:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":125906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:45:32] local.INFO: GPS data processed {"connection_id":125906,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:45:32] local.INFO: Acknowledgment sent {"connection_id":125906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:45:55] local.INFO: TCP Data received {"connection_id":125907,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:45:55] local.INFO: Processing buffer {"connection_id":125907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:45:55] local.INFO: IMEI packet received {"connection_id":125907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":125907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:45:58] local.INFO: TCP Data received {"connection_id":125908,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:45:58] local.INFO: Processing buffer {"connection_id":125908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:45:58] local.INFO: IMEI packet received {"connection_id":125908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":125908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:46:00] local.INFO: TCP Data received {"connection_id":125908,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:46:00] local.INFO: Processing buffer {"connection_id":125908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:46:00] local.INFO: IMEI packet received {"connection_id":125908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":125908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:46:00] local.INFO: TCP Data received {"connection_id":125907,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:46:00] local.INFO: Processing buffer {"connection_id":125907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:46:00] local.INFO: IMEI packet received {"connection_id":125907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":125907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:46:01] local.INFO: TCP Data received {"connection_id":125908,"ip":"42.106.6.19","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-08 19:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125908,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-08 19:46:01] local.INFO: Processing buffer {"connection_id":125908,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-08 19:46:01] local.INFO: IMEI packet received {"connection_id":125908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":125908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:46:01] local.INFO: TCP Data received {"connection_id":125908,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4214a4c8012d1821000721ac60004800cb2b..."} 
[2026-07-08 19:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4214a4c8012d1821000721ac60004800cb2b..."} 
[2026-07-08 19:46:01] local.INFO: Processing buffer {"connection_id":125908,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019f42..."} 
[2026-07-08 19:46:01] local.INFO: IMEI packet received {"connection_id":125908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":125908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:46:01] local.INFO: TCP Data received {"connection_id":125907,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42142f98012d7d360005d395c0000f000126..."} 
[2026-07-08 19:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42142f98012d7d360005d395c0000f000126..."} 
[2026-07-08 19:46:01] local.INFO: Processing buffer {"connection_id":125907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42142f98012d7d360005d395c0000f000126..."} 
[2026-07-08 19:46:01] local.INFO: Packet analysis {"connection_id":125907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4214"} 
[2026-07-08 19:46:01] local.INFO: Extracted packet for processing {"connection_id":125907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4214"} 
[2026-07-08 19:46:01] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":97752512,"longitude_deg":76.3180544,"latitude_deg":9.7752512,"altitude":15,"angle":1,"satellites":38,"speed":48,"hex_longitude":"2d7d3600","hex_latitude":"05d395c0","is_valid_coordinates":true} 
[2026-07-08 19:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581129984001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343144754256543744,"note":"Value kept but may cause issues"} 
[2026-07-08 19:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928505614336,"note":"Value kept but may cause issues"} 
[2026-07-08 19:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783520047000,"timestamp_ms":1783520047000,"timestamp_seconds":1783520047,"priority":1,"record_length":96,"hex_timestamp":"0000019f42142f98"} 
[2026-07-08 19:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 19:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581129984001,"66":27463,"81":206,"85":15104,"24":48,"16":343144754256543744,"45":9022398928505614336},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-08 19:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581129984001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:46:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-08 19:46:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343144754256543744,"km_value":343144754256543.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928505614336,"description":"Unknown IO ID 45"} 
[2026-07-08 19:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581129984001,"power":27463,"unknown_81":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9022398928505614336}} 
[2026-07-08 19:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":125907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:46:01] local.INFO: GPS data processed {"connection_id":125907,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:46:01] local.INFO: Acknowledgment sent {"connection_id":125907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:46:02] local.INFO: TCP Data received {"connection_id":125908,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4214f6d0012d1821000721ac60004800cb2c..."} 
[2026-07-08 19:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4214f6d0012d1821000721ac60004800cb2c..."} 
[2026-07-08 19:46:02] local.INFO: Processing buffer {"connection_id":125908,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f4214a4c8012d1821000721ac60004800cb2b..."} 
[2026-07-08 19:46:02] local.INFO: Packet analysis {"connection_id":125908,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f4214"} 
[2026-07-08 19:46:02] local.INFO: Extracted packet for processing {"connection_id":125908,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4214"} 
[2026-07-08 19:46:02] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119647328,"longitude_deg":75.6556032,"latitude_deg":11.9647328,"altitude":72,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721ac60","is_valid_coordinates":true} 
[2026-07-08 19:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581134336001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4942794393124864,"note":"Value kept but may cause issues"} 
[2026-07-08 19:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771438080,"note":"Value kept but may cause issues"} 
[2026-07-08 19:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783520077000,"timestamp_ms":1783520077000,"timestamp_seconds":1783520077,"priority":1,"record_length":96,"hex_timestamp":"0000019f4214a4c8"} 
[2026-07-08 19:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 19:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:46:02] 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-07-08 19:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581134336001,"66":12841,"105":206,"83":41984,"24":0,"16":4942794393124864,"45":1738670961771438080},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581134336001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:46:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:46:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4942794393124864,"km_value":4942794393124.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771438080,"description":"Unknown IO ID 45"} 
[2026-07-08 19:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581134336001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771438080}} 
[2026-07-08 19:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":125908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:46:02] local.INFO: GPS data processed {"connection_id":125908,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:46:02] local.INFO: Acknowledgment sent {"connection_id":125908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:46:02] local.INFO: Packet analysis {"connection_id":125908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4214"} 
[2026-07-08 19:46:02] local.INFO: Extracted packet for processing {"connection_id":125908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4214"} 
[2026-07-08 19:46:02] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119647328,"longitude_deg":75.6556032,"latitude_deg":11.9647328,"altitude":72,"angle":203,"satellites":44,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721ac60","is_valid_coordinates":true} 
[2026-07-08 19:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581139712001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4942794393124864,"note":"Value kept but may cause issues"} 
[2026-07-08 19:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771438080,"note":"Value kept but may cause issues"} 
[2026-07-08 19:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783520098000,"timestamp_ms":1783520098000,"timestamp_seconds":1783520098,"priority":1,"record_length":96,"hex_timestamp":"0000019f4214f6d0"} 
[2026-07-08 19:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:46: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-07-08 19: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-08 19:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:46:02] 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-07-08 19:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581139712001,"66":13439,"105":206,"83":41984,"24":0,"16":4942794393124864,"45":1738670961771438080},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581139712001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:46:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:46:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4942794393124864,"km_value":4942794393124.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771438080,"description":"Unknown IO ID 45"} 
[2026-07-08 19:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581139712001,"power":13439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771438080}} 
[2026-07-08 19:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":125908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:46:02] local.INFO: GPS data processed {"connection_id":125908,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:46:02] local.INFO: Acknowledgment sent {"connection_id":125908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:46:05] local.INFO: TCP Data received {"connection_id":125908,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42153d20012d1820400721abb0004600df2a..."} 
[2026-07-08 19:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42153d20012d1820400721abb0004600df2a..."} 
[2026-07-08 19:46:05] local.INFO: Processing buffer {"connection_id":125908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42153d20012d1820400721abb0004600df2a..."} 
[2026-07-08 19:46:05] local.INFO: Packet analysis {"connection_id":125908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4215"} 
[2026-07-08 19:46:05] local.INFO: Extracted packet for processing {"connection_id":125908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4215"} 
[2026-07-08 19:46:05] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119647152,"longitude_deg":75.655584,"latitude_deg":11.9647152,"altitude":70,"angle":223,"satellites":42,"speed":2,"hex_longitude":"2d182040","hex_latitude":"0721abb0","is_valid_coordinates":true} 
[2026-07-08 19:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581145088001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4942807278026752,"note":"Value kept but may cause issues"} 
[2026-07-08 19:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771438080,"note":"Value kept but may cause issues"} 
[2026-07-08 19:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783520116000,"timestamp_ms":1783520116000,"timestamp_seconds":1783520116,"priority":1,"record_length":96,"hex_timestamp":"0000019f42153d20"} 
[2026-07-08 19:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-07-08 19:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:46:05] 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-07-08 19:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581145088001,"66":12972,"105":206,"83":41984,"24":2,"16":4942807278026752,"45":1738670961771438080},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581145088001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:46:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:46:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4942807278026752,"km_value":4942807278026.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771438080,"description":"Unknown IO ID 45"} 
[2026-07-08 19:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581145088001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1738670961771438080}} 
[2026-07-08 19:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":125908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:46:05] local.INFO: GPS data processed {"connection_id":125908,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:46:05] local.INFO: Acknowledgment sent {"connection_id":125908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:46:15] local.INFO: TCP Data received {"connection_id":125788,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125788,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:46:15] local.INFO: Processing buffer {"connection_id":125788,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:46:15] local.INFO: IMEI packet received {"connection_id":125788,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 19:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":125788,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:46:36] local.INFO: TCP Data received {"connection_id":125908,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f421548d8012d181f800721aa58004600cf29..."} 
[2026-07-08 19:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421548d8012d181f800721aa58004600cf29..."} 
[2026-07-08 19:46:36] local.INFO: Processing buffer {"connection_id":125908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421548d8012d181f800721aa58004600cf29..."} 
[2026-07-08 19:46:36] local.INFO: Packet analysis {"connection_id":125908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4215"} 
[2026-07-08 19:46:36] local.INFO: Extracted packet for processing {"connection_id":125908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4215"} 
[2026-07-08 19:46:36] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119646808,"longitude_deg":75.6555648,"latitude_deg":11.9646808,"altitude":70,"angle":207,"satellites":41,"speed":7,"hex_longitude":"2d181f80","hex_latitude":"0721aa58","is_valid_coordinates":true} 
[2026-07-08 19:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581149696001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4942828752863232,"note":"Value kept but may cause issues"} 
[2026-07-08 19:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855538860032,"note":"Value kept but may cause issues"} 
[2026-07-08 19:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783520119000,"timestamp_ms":1783520119000,"timestamp_seconds":1783520119,"priority":1,"record_length":96,"hex_timestamp":"0000019f421548d8"} 
[2026-07-08 19:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-08 19:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:46:36] 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-07-08 19:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581149696001,"66":13004,"105":206,"83":41984,"24":7,"16":4942828752863232,"45":1738459855538860032},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581149696001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:46:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:46:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4942828752863232,"km_value":4942828752863.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855538860032,"description":"Unknown IO ID 45"} 
[2026-07-08 19:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581149696001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1738459855538860032}} 
[2026-07-08 19:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":125908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:46:36] local.INFO: GPS data processed {"connection_id":125908,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:46:36] local.INFO: Acknowledgment sent {"connection_id":125908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:46:36] local.INFO: TCP Data received {"connection_id":125907,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42144ed8012d7d37c005d3bc28000e000527..."} 
[2026-07-08 19:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42144ed8012d7d37c005d3bc28000e000527..."} 
[2026-07-08 19:46:36] local.INFO: Processing buffer {"connection_id":125907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42144ed8012d7d37c005d3bc28000e000527..."} 
[2026-07-08 19:46:36] local.INFO: Packet analysis {"connection_id":125907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4214"} 
[2026-07-08 19:46:36] local.INFO: Extracted packet for processing {"connection_id":125907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4214"} 
[2026-07-08 19:46:36] local.INFO: GPS Element Parsed {"raw_longitude":763180992,"raw_latitude":97762344,"longitude_deg":76.3180992,"latitude_deg":9.7762344,"altitude":14,"angle":5,"satellites":39,"speed":49,"hex_longitude":"2d7d37c0","hex_latitude":"05d3bc28","is_valid_coordinates":true} 
[2026-07-08 19:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581132032001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343145230997913600,"note":"Value kept but may cause issues"} 
[2026-07-08 19:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928508010496,"note":"Value kept but may cause issues"} 
[2026-07-08 19:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783520055000,"timestamp_ms":1783520055000,"timestamp_seconds":1783520055,"priority":1,"record_length":96,"hex_timestamp":"0000019f42144ed8"} 
[2026-07-08 19:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-08 19:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581132032001,"66":27343,"81":206,"85":15104,"24":49,"16":343145230997913600,"45":9022398928508010496},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-08 19:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581132032001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:46:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-08 19:46:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343145230997913600,"km_value":343145230997913.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928508010496,"description":"Unknown IO ID 45"} 
[2026-07-08 19:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581132032001,"power":27343,"unknown_81":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9022398928508010496}} 
[2026-07-08 19:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":125907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:46:36] local.INFO: GPS data processed {"connection_id":125907,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:46:36] local.INFO: Acknowledgment sent {"connection_id":125907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:46:59] local.INFO: TCP Data received {"connection_id":125790,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:46:59] local.INFO: Processing buffer {"connection_id":125790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:46:59] local.INFO: IMEI packet received {"connection_id":125790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":125790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:47:00] local.INFO: TCP Data received {"connection_id":125789,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:47:00] local.INFO: Processing buffer {"connection_id":125789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:47:00] local.INFO: IMEI packet received {"connection_id":125789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":125789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:47:01] local.INFO: TCP Data received {"connection_id":125789,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:47:01] local.INFO: Processing buffer {"connection_id":125789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:47:01] local.INFO: IMEI packet received {"connection_id":125789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":125789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:47:04] local.INFO: TCP Data received {"connection_id":125790,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:47:04] local.INFO: Processing buffer {"connection_id":125790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:47:04] local.INFO: IMEI packet received {"connection_id":125790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":125790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:47:05] local.INFO: TCP Data received {"connection_id":125789,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:47:05] local.INFO: Processing buffer {"connection_id":125789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:47:05] local.INFO: IMEI packet received {"connection_id":125789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":125789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:47:07] local.INFO: TCP Data received {"connection_id":125789,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4215c9c0012d7d294005d551300009016520..."} 
[2026-07-08 19:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4215c9c0012d7d294005d551300009016520..."} 
[2026-07-08 19:47:07] local.INFO: Processing buffer {"connection_id":125789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4215c9c0012d7d294005d551300009016520..."} 
[2026-07-08 19:47:07] local.INFO: Packet analysis {"connection_id":125789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4215"} 
[2026-07-08 19:47:07] local.INFO: Extracted packet for processing {"connection_id":125789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4215"} 
[2026-07-08 19:47:07] local.INFO: GPS Element Parsed {"raw_longitude":763177280,"raw_latitude":97866032,"longitude_deg":76.317728,"latitude_deg":9.7866032,"altitude":9,"angle":357,"satellites":32,"speed":43,"hex_longitude":"2d7d2940","hex_latitude":"05d55130","is_valid_coordinates":true} 
[2026-07-08 19:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581156864001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343150286174420992,"note":"Value kept but may cause issues"} 
[2026-07-08 19:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018950860070080512,"note":"Value kept but may cause issues"} 
[2026-07-08 19:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783520152000,"timestamp_ms":1783520152000,"timestamp_seconds":1783520152,"priority":1,"record_length":96,"hex_timestamp":"0000019f4215c9c0"} 
[2026-07-08 19:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 19:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581156864001,"66":27376,"253":206,"85":15104,"24":43,"16":343150286174420992,"45":9018950860070080512},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-07-08 19:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581156864001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:47:07] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-07-08 19:47:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343150286174420992,"km_value":343150286174421.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018950860070080512,"description":"Unknown IO ID 45"} 
[2026-07-08 19:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581156864001,"power":27376,"unknown_253":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9018950860070080512}} 
[2026-07-08 19:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":125789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:47:07] local.INFO: GPS data processed {"connection_id":125789,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:47:07] local.INFO: Acknowledgment sent {"connection_id":125789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:47:07] local.INFO: TCP Data received {"connection_id":125790,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f421550a8012d181f400721a8c8004700ad2a..."} 
[2026-07-08 19:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421550a8012d181f400721a8c8004700ad2a..."} 
[2026-07-08 19:47:07] local.INFO: Processing buffer {"connection_id":125790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421550a8012d181f400721a8c8004700ad2a..."} 
[2026-07-08 19:47:07] local.INFO: Packet analysis {"connection_id":125790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4215"} 
[2026-07-08 19:47:07] local.INFO: Extracted packet for processing {"connection_id":125790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4215"} 
[2026-07-08 19:47:07] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119646408,"longitude_deg":75.6555584,"latitude_deg":11.9646408,"altitude":71,"angle":173,"satellites":42,"speed":8,"hex_longitude":"2d181f40","hex_latitude":"0721a8c8","is_valid_coordinates":true} 
[2026-07-08 19:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581150464001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4942845932732416,"note":"Value kept but may cause issues"} 
[2026-07-08 19:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306238976,"note":"Value kept but may cause issues"} 
[2026-07-08 19:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783520121000,"timestamp_ms":1783520121000,"timestamp_seconds":1783520121,"priority":1,"record_length":96,"hex_timestamp":"0000019f421550a8"} 
[2026-07-08 19:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:47: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-07-08 19:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-08 19:47: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-07-08 19:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:47:07] 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-07-08 19:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581150464001,"66":12885,"105":206,"83":41984,"24":8,"16":4942845932732416,"45":1738248749306238976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581150464001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:47:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:47:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4942845932732416,"km_value":4942845932732.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306238976,"description":"Unknown IO ID 45"} 
[2026-07-08 19:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581150464001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1738248749306238976}} 
[2026-07-08 19:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":125790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:47:07] local.INFO: GPS data processed {"connection_id":125790,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:47:07] local.INFO: Acknowledgment sent {"connection_id":125790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:47:11] local.INFO: TCP Data received {"connection_id":125789,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4215ece8012d7d258005d574780009015e1f..."} 
[2026-07-08 19:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4215ece8012d7d258005d574780009015e1f..."} 
[2026-07-08 19:47:11] local.INFO: Processing buffer {"connection_id":125789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4215ece8012d7d258005d574780009015e1f..."} 
[2026-07-08 19:47:11] local.INFO: Packet analysis {"connection_id":125789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4215"} 
[2026-07-08 19:47:11] local.INFO: Extracted packet for processing {"connection_id":125789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4215"} 
[2026-07-08 19:47:11] local.INFO: GPS Element Parsed {"raw_longitude":763176320,"raw_latitude":97875064,"longitude_deg":76.317632,"latitude_deg":9.7875064,"altitude":9,"angle":350,"satellites":31,"speed":38,"hex_longitude":"2d7d2580","hex_latitude":"05d57478","is_valid_coordinates":true} 
[2026-07-08 19:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581158912001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343150724261085184,"note":"Value kept but may cause issues"} 
[2026-07-08 19:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018810122584010752,"note":"Value kept but may cause issues"} 
[2026-07-08 19:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783520161000,"timestamp_ms":1783520161000,"timestamp_seconds":1783520161,"priority":1,"record_length":96,"hex_timestamp":"0000019f4215ece8"} 
[2026-07-08 19:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 19:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581158912001,"66":27376,"253":206,"85":15104,"24":38,"16":343150724261085184,"45":9018810122584010752},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-07-08 19:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581158912001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:47:11] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-07-08 19:47:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343150724261085184,"km_value":343150724261085.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018810122584010752,"description":"Unknown IO ID 45"} 
[2026-07-08 19:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581158912001,"power":27376,"unknown_253":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9018810122584010752}} 
[2026-07-08 19:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":125789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:47:11] local.INFO: GPS data processed {"connection_id":125789,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:47:11] local.INFO: Acknowledgment sent {"connection_id":125789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:47:31] local.INFO: TCP Data received {"connection_id":125909,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125909,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:47:31] local.INFO: Processing buffer {"connection_id":125909,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:47:31] local.INFO: IMEI packet received {"connection_id":125909,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 19:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":125909,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:47:41] local.INFO: TCP Data received {"connection_id":125790,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42155490012d181f400721a808004700952a..."} 
[2026-07-08 19:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42155490012d181f400721a808004700952a..."} 
[2026-07-08 19:47:41] local.INFO: Processing buffer {"connection_id":125790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42155490012d181f400721a808004700952a..."} 
[2026-07-08 19:47:41] local.INFO: Packet analysis {"connection_id":125790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4215"} 
[2026-07-08 19:47:41] local.INFO: Extracted packet for processing {"connection_id":125790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4215"} 
[2026-07-08 19:47:41] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119646216,"longitude_deg":75.6555584,"latitude_deg":11.9646216,"altitude":71,"angle":149,"satellites":42,"speed":7,"hex_longitude":"2d181f40","hex_latitude":"0721a808","is_valid_coordinates":true} 
[2026-07-08 19:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581150976001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4942858817634304,"note":"Value kept but may cause issues"} 
[2026-07-08 19:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561958912,"note":"Value kept but may cause issues"} 
[2026-07-08 19:47: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-07-08 19:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783520122000,"timestamp_ms":1783520122000,"timestamp_seconds":1783520122,"priority":1,"record_length":96,"hex_timestamp":"0000019f42155490"} 
[2026-07-08 19:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":85,"data_length":795,"current_offset":136} 
[2026-07-08 19:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:47: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-07-08 19:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581150976001,"66":13004,"105":206,"83":41984,"24":7,"16":4942858817634304,"45":1738178380561958912},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-08 19:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581150976001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:47:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 19:47:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4942858817634304,"km_value":4942858817634.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561958912,"description":"Unknown IO ID 45"} 
[2026-07-08 19:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581150976001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1738178380561958912}} 
[2026-07-08 19:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":125790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:47:41] local.INFO: GPS data processed {"connection_id":125790,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:47:41] local.INFO: Acknowledgment sent {"connection_id":125790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:47:55] local.INFO: TCP Data received {"connection_id":127899,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:47:55] local.INFO: Processing buffer {"connection_id":127899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:47:55] local.INFO: IMEI packet received {"connection_id":127899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":127899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:47:56] local.INFO: TCP Data received {"connection_id":127899,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:47:56] local.INFO: Processing buffer {"connection_id":127899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:47:56] local.INFO: IMEI packet received {"connection_id":127899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":127899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:47:56] local.INFO: TCP Data received {"connection_id":125910,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:47:56] local.INFO: Processing buffer {"connection_id":125910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:47:56] local.INFO: IMEI packet received {"connection_id":125910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":125910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:47:59] local.INFO: TCP Data received {"connection_id":125910,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:47:59] local.INFO: Processing buffer {"connection_id":125910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:47:59] local.INFO: IMEI packet received {"connection_id":125910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":125910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:48:00] local.INFO: TCP Data received {"connection_id":127899,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:48:00] local.INFO: Processing buffer {"connection_id":127899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:48:00] local.INFO: IMEI packet received {"connection_id":127899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":127899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:48:02] local.INFO: TCP Data received {"connection_id":127899,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f421613f8012d7d1d0005d598000008015521..."} 
[2026-07-08 19:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421613f8012d7d1d0005d598000008015521..."} 
[2026-07-08 19:48:02] local.INFO: Processing buffer {"connection_id":127899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421613f8012d7d1d0005d598000008015521..."} 
[2026-07-08 19:48:02] local.INFO: Packet analysis {"connection_id":127899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4216"} 
[2026-07-08 19:48:02] local.INFO: Extracted packet for processing {"connection_id":127899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4216"} 
[2026-07-08 19:48:02] local.INFO: GPS Element Parsed {"raw_longitude":763174144,"raw_latitude":97884160,"longitude_deg":76.3174144,"latitude_deg":9.788416,"altitude":8,"angle":341,"satellites":33,"speed":33,"hex_longitude":"2d7d1d00","hex_latitude":"05d59800","is_valid_coordinates":true} 
[2026-07-08 19:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581161216001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343151179527618560,"note":"Value kept but may cause issues"} 
[2026-07-08 19:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017754591423657984,"note":"Value kept but may cause issues"} 
[2026-07-08 19:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783520171000,"timestamp_ms":1783520171000,"timestamp_seconds":1783520171,"priority":1,"record_length":96,"hex_timestamp":"0000019f421613f8"} 
[2026-07-08 19:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 19:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:48:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581161216001,"66":27376,"29":206,"85":15104,"24":33,"16":343151179527618560,"45":9017754591423657984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-07-08 19:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581161216001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:48:02] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-08 19:48:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343151179527618560,"km_value":343151179527618.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017754591423657984,"description":"Unknown IO ID 45"} 
[2026-07-08 19:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581161216001,"power":27376,"unknown_29":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9017754591423657984}} 
[2026-07-08 19:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":127899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:48:02] local.INFO: GPS data processed {"connection_id":127899,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:48:02] local.INFO: Acknowledgment sent {"connection_id":127899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:48:04] local.INFO: TCP Data received {"connection_id":125910,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:48:04] local.INFO: Processing buffer {"connection_id":125910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:48:04] local.INFO: IMEI packet received {"connection_id":125910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":125910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:48:06] local.INFO: TCP Data received {"connection_id":127899,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42163ef0012d7d0f4005d5ba180008015321..."} 
[2026-07-08 19:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42163ef0012d7d0f4005d5ba180008015321..."} 
[2026-07-08 19:48:06] local.INFO: Processing buffer {"connection_id":127899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42163ef0012d7d0f4005d5ba180008015321..."} 
[2026-07-08 19:48:06] local.INFO: Packet analysis {"connection_id":127899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4216"} 
[2026-07-08 19:48:06] local.INFO: Extracted packet for processing {"connection_id":127899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4216"} 
[2026-07-08 19:48:06] local.INFO: GPS Element Parsed {"raw_longitude":763170624,"raw_latitude":97892888,"longitude_deg":76.3170624,"latitude_deg":9.7892888,"altitude":8,"angle":339,"satellites":33,"speed":35,"hex_longitude":"2d7d0f40","hex_latitude":"05d5ba18","is_valid_coordinates":true} 
[2026-07-08 19:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581163776001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343151634794151936,"note":"Value kept but may cause issues"} 
[2026-07-08 19:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015362054123945984,"note":"Value kept but may cause issues"} 
[2026-07-08 19:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783520182000,"timestamp_ms":1783520182000,"timestamp_seconds":1783520182,"priority":1,"record_length":96,"hex_timestamp":"0000019f42163ef0"} 
[2026-07-08 19:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 19:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581163776001,"66":27300,"29":206,"85":15104,"24":35,"16":343151634794151936,"45":9015362054123945984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-07-08 19:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581163776001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:48:06] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-08 19:48:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343151634794151936,"km_value":343151634794151.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015362054123945984,"description":"Unknown IO ID 45"} 
[2026-07-08 19:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581163776001,"power":27300,"unknown_29":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9015362054123945984}} 
[2026-07-08 19:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":127899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:48:06] local.INFO: GPS data processed {"connection_id":127899,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:48:06] local.INFO: Acknowledgment sent {"connection_id":127899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:48:06] local.INFO: TCP Data received {"connection_id":126678,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126678,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:48:06] local.INFO: Processing buffer {"connection_id":126678,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:48:06] local.INFO: IMEI packet received {"connection_id":126678,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 19:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":126678,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:48:30] local.INFO: TCP Data received {"connection_id":125910,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4216d748012d18850007218188004a006829..."} 
[2026-07-08 19:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4216d748012d18850007218188004a006829..."} 
[2026-07-08 19:48:30] local.INFO: Processing buffer {"connection_id":125910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4216d748012d18850007218188004a006829..."} 
[2026-07-08 19:48:30] local.INFO: Packet analysis {"connection_id":125910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4216"} 
[2026-07-08 19:48:30] local.INFO: Extracted packet for processing {"connection_id":125910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4216"} 
[2026-07-08 19:48:30] local.INFO: GPS Element Parsed {"raw_longitude":756581632,"raw_latitude":119636360,"longitude_deg":75.6581632,"latitude_deg":11.963636,"altitude":74,"angle":104,"satellites":41,"speed":30,"hex_longitude":"2d188500","hex_latitude":"07218188","is_valid_coordinates":true} 
[2026-07-08 19:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581174528001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4944233207169024,"note":"Value kept but may cause issues"} 
[2026-07-08 19:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760344534975358976,"note":"Value kept but may cause issues"} 
[2026-07-08 19:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783520221000,"timestamp_ms":1783520221000,"timestamp_seconds":1783520221,"priority":1,"record_length":96,"hex_timestamp":"0000019f4216d748"} 
[2026-07-08 19:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-08 19:48: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-07-08 19:48:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":125910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":125910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":125910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:48:30] 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-07-08 19:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581174528001,"66":12667,"106":206,"83":41984,"24":30,"16":4944233207169024,"45":1760344534975358976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-08 19:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581174528001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:48:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-08 19:48:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4944233207169024,"km_value":4944233207169.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760344534975358976,"description":"Unknown IO ID 45"} 
[2026-07-08 19:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581174528001,"power":12667,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1760344534975358976}} 
[2026-07-08 19:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":125910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:48:30] local.INFO: GPS data processed {"connection_id":125910,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:48:30] local.INFO: Acknowledgment sent {"connection_id":125910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:48:37] local.INFO: TCP Data received {"connection_id":127899,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42166218012d7d024005d5dae80007015727..."} 
[2026-07-08 19:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42166218012d7d024005d5dae80007015727..."} 
[2026-07-08 19:48:37] local.INFO: Processing buffer {"connection_id":127899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42166218012d7d024005d5dae80007015727..."} 
[2026-07-08 19:48:37] local.INFO: Packet analysis {"connection_id":127899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4216"} 
[2026-07-08 19:48:37] local.INFO: Extracted packet for processing {"connection_id":127899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4216"} 
[2026-07-08 19:48:37] local.INFO: GPS Element Parsed {"raw_longitude":763167296,"raw_latitude":97901288,"longitude_deg":76.3167296,"latitude_deg":9.7901288,"altitude":7,"angle":343,"satellites":39,"speed":42,"hex_longitude":"2d7d0240","hex_latitude":"05d5dae8","is_valid_coordinates":true} 
[2026-07-08 19:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581166592001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343152072880816128,"note":"Value kept but may cause issues"} 
[2026-07-08 19:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011491773196408832,"note":"Value kept but may cause issues"} 
[2026-07-08 19:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783520191000,"timestamp_ms":1783520191000,"timestamp_seconds":1783520191,"priority":1,"record_length":96,"hex_timestamp":"0000019f42166218"} 
[2026-07-08 19:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-08 19:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581166592001,"66":27484,"29":206,"85":15104,"24":42,"16":343152072880816128,"45":9011491773196408832},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-07-08 19:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581166592001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:48:37] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-08 19:48:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343152072880816128,"km_value":343152072880816.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011491773196408832,"description":"Unknown IO ID 45"} 
[2026-07-08 19:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581166592001,"power":27484,"unknown_29":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9011491773196408832}} 
[2026-07-08 19:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":127899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:48:37] local.INFO: GPS data processed {"connection_id":127899,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:48:37] local.INFO: Acknowledgment sent {"connection_id":127899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:48:55] local.INFO: TCP Data received {"connection_id":125911,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:48:55] local.INFO: Processing buffer {"connection_id":125911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:48:55] local.INFO: IMEI packet received {"connection_id":125911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":125911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:48:58] local.INFO: TCP Data received {"connection_id":125791,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:48:58] local.INFO: Processing buffer {"connection_id":125791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:48:58] local.INFO: IMEI packet received {"connection_id":125791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":125791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:48:59] local.INFO: TCP Data received {"connection_id":125791,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:48:59] local.INFO: Processing buffer {"connection_id":125791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:48:59] local.INFO: IMEI packet received {"connection_id":125791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":125791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:49:00] local.INFO: TCP Data received {"connection_id":125911,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:49:00] local.INFO: Processing buffer {"connection_id":125911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:49:00] local.INFO: IMEI packet received {"connection_id":125911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":125911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:49:01] local.INFO: TCP Data received {"connection_id":125911,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42168540012d7cf98005d600000008015f29..."} 
[2026-07-08 19:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42168540012d7cf98005d600000008015f29..."} 
[2026-07-08 19:49:01] local.INFO: Processing buffer {"connection_id":125911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42168540012d7cf98005d600000008015f29..."} 
[2026-07-08 19:49:01] local.INFO: Packet analysis {"connection_id":125911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4216"} 
[2026-07-08 19:49:01] local.INFO: Extracted packet for processing {"connection_id":125911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4216"} 
[2026-07-08 19:49:01] local.INFO: GPS Element Parsed {"raw_longitude":763165056,"raw_latitude":97910784,"longitude_deg":76.3165056,"latitude_deg":9.7910784,"altitude":8,"angle":351,"satellites":41,"speed":43,"hex_longitude":"2d7cf980","hex_latitude":"05d60000","is_valid_coordinates":true} 
[2026-07-08 19:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581168896001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343152545327218688,"note":"Value kept but may cause issues"} 
[2026-07-08 19:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007832598501320704,"note":"Value kept but may cause issues"} 
[2026-07-08 19:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783520200000,"timestamp_ms":1783520200000,"timestamp_seconds":1783520200,"priority":1,"record_length":96,"hex_timestamp":"0000019f42168540"} 
[2026-07-08 19:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 19:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581168896001,"66":27376,"30":206,"85":15104,"24":43,"16":343152545327218688,"45":9007832598501320704},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-07-08 19:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581168896001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:49:01] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-08 19:49:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343152545327218688,"km_value":343152545327218.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007832598501320704,"description":"Unknown IO ID 45"} 
[2026-07-08 19:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581168896001,"power":27376,"unknown_30":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9007832598501320704}} 
[2026-07-08 19:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":125911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:49:01] local.INFO: GPS data processed {"connection_id":125911,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:49:01] local.INFO: Acknowledgment sent {"connection_id":125911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:49:04] local.INFO: TCP Data received {"connection_id":125791,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:49:04] local.INFO: Processing buffer {"connection_id":125791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:49:04] local.INFO: IMEI packet received {"connection_id":125791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":125791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:49:05] local.INFO: TCP Data received {"connection_id":125791,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4217a268012d18dbc0072156e80041016528..."} 
[2026-07-08 19:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4217a268012d18dbc0072156e80041016528..."} 
[2026-07-08 19:49:05] local.INFO: Processing buffer {"connection_id":125791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4217a268012d18dbc0072156e80041016528..."} 
[2026-07-08 19:49:05] local.INFO: Packet analysis {"connection_id":125791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4217"} 
[2026-07-08 19:49:05] local.INFO: Extracted packet for processing {"connection_id":125791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4217"} 
[2026-07-08 19:49:05] local.INFO: GPS Element Parsed {"raw_longitude":756603840,"raw_latitude":119625448,"longitude_deg":75.660384,"latitude_deg":11.9625448,"altitude":65,"angle":357,"satellites":40,"speed":12,"hex_longitude":"2d18dbc0","hex_latitude":"072156e8","is_valid_coordinates":true} 
[2026-07-08 19:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581189376001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4945560352063488,"note":"Value kept but may cause issues"} 
[2026-07-08 19:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791236413666406400,"note":"Value kept but may cause issues"} 
[2026-07-08 19:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783520273000,"timestamp_ms":1783520273000,"timestamp_seconds":1783520273,"priority":1,"record_length":96,"hex_timestamp":"0000019f4217a268"} 
[2026-07-08 19:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:49: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-07-08 19:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-08 19:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:49:05] 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-07-08 19:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581189376001,"66":13646,"106":206,"83":41984,"24":12,"16":4945560352063488,"45":1791236413666406400},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-08 19:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581189376001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:49:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-08 19:49:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4945560352063488,"km_value":4945560352063.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791236413666406400,"description":"Unknown IO ID 45"} 
[2026-07-08 19:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581189376001,"power":13646,"unknown_106":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1791236413666406400}} 
[2026-07-08 19:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":125791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:49:05] local.INFO: GPS data processed {"connection_id":125791,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:49:05] local.INFO: Acknowledgment sent {"connection_id":125791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:49:33] local.INFO: TCP Data received {"connection_id":125911,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42181798012d7ca30005d7b610000a015e25..."} 
[2026-07-08 19:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42181798012d7ca30005d7b610000a015e25..."} 
[2026-07-08 19:49:33] local.INFO: Processing buffer {"connection_id":125911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42181798012d7ca30005d7b610000a015e25..."} 
[2026-07-08 19:49:33] local.INFO: Packet analysis {"connection_id":125911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4218"} 
[2026-07-08 19:49:33] local.INFO: Extracted packet for processing {"connection_id":125911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4218"} 
[2026-07-08 19:49:33] local.INFO: GPS Element Parsed {"raw_longitude":763142912,"raw_latitude":98022928,"longitude_deg":76.3142912,"latitude_deg":9.8022928,"altitude":10,"angle":350,"satellites":37,"speed":29,"hex_longitude":"2d7ca300","hex_latitude":"05d7b610","is_valid_coordinates":true} 
[2026-07-08 19: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-07-08 19:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581193728001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343158103014899712,"note":"Value kept but may cause issues"} 
[2026-07-08 19:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8982640588114444288,"note":"Value kept but may cause issues"} 
[2026-07-08 19:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783520303000,"timestamp_ms":1783520303000,"timestamp_seconds":1783520303,"priority":1,"record_length":96,"hex_timestamp":"0000019f42181798"} 
[2026-07-08 19:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 19:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19: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-07-08 19:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581193728001,"66":27332,"195":206,"85":15104,"24":29,"16":343158103014899712,"45":8982640588114444288},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-07-08 19:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581193728001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:49:33] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-08 19:49:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343158103014899712,"km_value":343158103014899.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8982640588114444288,"description":"Unknown IO ID 45"} 
[2026-07-08 19:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581193728001,"power":27332,"unknown_195":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8982640588114444288}} 
[2026-07-08 19:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":125911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:49:33] local.INFO: GPS data processed {"connection_id":125911,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:49:33] local.INFO: Acknowledgment sent {"connection_id":125911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:49:36] local.INFO: TCP Data received {"connection_id":125791,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4217b5f0012d18dc8007215d98004300082a..."} 
[2026-07-08 19:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4217b5f0012d18dc8007215d98004300082a..."} 
[2026-07-08 19:49:37] local.INFO: Processing buffer {"connection_id":125791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4217b5f0012d18dc8007215d98004300082a..."} 
[2026-07-08 19:49:37] local.INFO: Packet analysis {"connection_id":125791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4217"} 
[2026-07-08 19:49:37] local.INFO: Extracted packet for processing {"connection_id":125791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4217"} 
[2026-07-08 19:49:37] local.INFO: GPS Element Parsed {"raw_longitude":756604032,"raw_latitude":119627160,"longitude_deg":75.6604032,"latitude_deg":11.962716,"altitude":67,"angle":8,"satellites":42,"speed":13,"hex_longitude":"2d18dc80","hex_latitude":"07215d98","is_valid_coordinates":true} 
[2026-07-08 19:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581189888001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4945646251409408,"note":"Value kept but may cause issues"} 
[2026-07-08 19:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791236413666551808,"note":"Value kept but may cause issues"} 
[2026-07-08 19:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783520278000,"timestamp_ms":1783520278000,"timestamp_seconds":1783520278,"priority":1,"record_length":96,"hex_timestamp":"0000019f4217b5f0"} 
[2026-07-08 19:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-07-08 19:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:49:37] 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-07-08 19:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581189888001,"66":13243,"106":206,"83":41984,"24":13,"16":4945646251409408,"45":1791236413666551808},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-08 19:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581189888001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:49:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-08 19:49:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4945646251409408,"km_value":4945646251409.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791236413666551808,"description":"Unknown IO ID 45"} 
[2026-07-08 19:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581189888001,"power":13243,"unknown_106":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1791236413666551808}} 
[2026-07-08 19:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":125791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:49:37] local.INFO: GPS data processed {"connection_id":125791,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:49:37] local.INFO: Acknowledgment sent {"connection_id":125791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:49:52] local.INFO: TCP Data received {"connection_id":127900,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:49:52] local.INFO: Processing buffer {"connection_id":127900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:49:52] local.INFO: IMEI packet received {"connection_id":127900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":127900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:49:55] local.INFO: TCP Data received {"connection_id":127900,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:49:55] local.INFO: Processing buffer {"connection_id":127900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:49:55] local.INFO: IMEI packet received {"connection_id":127900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":127900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:49:59] local.INFO: TCP Data received {"connection_id":127900,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:49:59] local.INFO: Processing buffer {"connection_id":127900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:49:59] local.INFO: IMEI packet received {"connection_id":127900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":127900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:49:59] local.INFO: TCP Data received {"connection_id":126679,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:49:59] local.INFO: Processing buffer {"connection_id":126679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:49:59] local.INFO: IMEI packet received {"connection_id":126679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":126679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:50:00] local.INFO: TCP Data received {"connection_id":126679,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:50:00] local.INFO: Processing buffer {"connection_id":126679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:50:00] local.INFO: IMEI packet received {"connection_id":126679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":126679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:50:00] local.INFO: TCP Data received {"connection_id":127900,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42185230012d7c9fc005d7da100008016224..."} 
[2026-07-08 19:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42185230012d7c9fc005d7da100008016224..."} 
[2026-07-08 19:50:00] local.INFO: Processing buffer {"connection_id":127900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42185230012d7c9fc005d7da100008016224..."} 
[2026-07-08 19:50:00] local.INFO: Packet analysis {"connection_id":127900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4218"} 
[2026-07-08 19:50:00] local.INFO: Extracted packet for processing {"connection_id":127900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4218"} 
[2026-07-08 19:50:00] local.INFO: GPS Element Parsed {"raw_longitude":763142080,"raw_latitude":98032144,"longitude_deg":76.314208,"latitude_deg":9.8032144,"altitude":8,"angle":354,"satellites":36,"speed":26,"hex_longitude":"2d7c9fc0","hex_latitude":"05d7da10","is_valid_coordinates":true} 
[2026-07-08 19: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-07-08 19:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581197568001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343158553986465792,"note":"Value kept but may cause issues"} 
[2026-07-08 19:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8981022107000770560,"note":"Value kept but may cause issues"} 
[2026-07-08 19:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783520318000,"timestamp_ms":1783520318000,"timestamp_seconds":1783520318,"priority":1,"record_length":96,"hex_timestamp":"0000019f42185230"} 
[2026-07-08 19:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-08 19:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19: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-07-08 19:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":127900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":127900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":127900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581197568001,"66":27397,"195":206,"85":15104,"24":26,"16":343158553986465792,"45":8981022107000770560},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-07-08 19:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581197568001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:50:00] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-08 19:50:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343158553986465792,"km_value":343158553986465.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8981022107000770560,"description":"Unknown IO ID 45"} 
[2026-07-08 19:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581197568001,"power":27397,"unknown_195":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8981022107000770560}} 
[2026-07-08 19:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":127900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:50:00] local.INFO: GPS data processed {"connection_id":127900,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:50:00] local.INFO: Acknowledgment sent {"connection_id":127900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:50:04] local.INFO: TCP Data received {"connection_id":126679,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:50:04] local.INFO: Processing buffer {"connection_id":126679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:50:04] local.INFO: IMEI packet received {"connection_id":126679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":126679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:50:05] local.INFO: TCP Data received {"connection_id":126679,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4217e8b8012d18e14007216dd00045001429..."} 
[2026-07-08 19:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4217e8b8012d18e14007216dd00045001429..."} 
[2026-07-08 19:50:05] local.INFO: Processing buffer {"connection_id":126679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4217e8b8012d18e14007216dd00045001429..."} 
[2026-07-08 19:50:05] local.INFO: Packet analysis {"connection_id":126679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4217"} 
[2026-07-08 19:50:05] local.INFO: Extracted packet for processing {"connection_id":126679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4217"} 
[2026-07-08 19:50:05] local.INFO: GPS Element Parsed {"raw_longitude":756605248,"raw_latitude":119631312,"longitude_deg":75.6605248,"latitude_deg":11.9631312,"altitude":69,"angle":20,"satellites":41,"speed":11,"hex_longitude":"2d18e140","hex_latitude":"07216dd0","is_valid_coordinates":true} 
[2026-07-08 19:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581191168001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4945856704806912,"note":"Value kept but may cause issues"} 
[2026-07-08 19:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791447519899523072,"note":"Value kept but may cause issues"} 
[2026-07-08 19:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783520291000,"timestamp_ms":1783520291000,"timestamp_seconds":1783520291,"priority":1,"record_length":96,"hex_timestamp":"0000019f4217e8b8"} 
[2026-07-08 19:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:50: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-07-08 19: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-08 19:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:50:05] 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-07-08 19:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581191168001,"66":13515,"106":206,"83":41984,"24":11,"16":4945856704806912,"45":1791447519899523072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-08 19:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581191168001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:50:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-08 19:50:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4945856704806912,"km_value":4945856704806.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791447519899523072,"description":"Unknown IO ID 45"} 
[2026-07-08 19:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581191168001,"power":13515,"unknown_106":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1791447519899523072}} 
[2026-07-08 19:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":126679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:50:05] local.INFO: GPS data processed {"connection_id":126679,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:50:05] local.INFO: Acknowledgment sent {"connection_id":126679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:50:35] local.INFO: TCP Data received {"connection_id":127900,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42188110012d7c9d8005d800480008016525..."} 
[2026-07-08 19:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42188110012d7c9d8005d800480008016525..."} 
[2026-07-08 19:50:35] local.INFO: Processing buffer {"connection_id":127900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42188110012d7c9d8005d800480008016525..."} 
[2026-07-08 19:50:35] local.INFO: Packet analysis {"connection_id":127900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4218"} 
[2026-07-08 19:50:35] local.INFO: Extracted packet for processing {"connection_id":127900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4218"} 
[2026-07-08 19:50:35] local.INFO: GPS Element Parsed {"raw_longitude":763141504,"raw_latitude":98041928,"longitude_deg":76.3141504,"latitude_deg":9.8041928,"altitude":8,"angle":357,"satellites":37,"speed":38,"hex_longitude":"2d7c9d80","hex_latitude":"05d80048","is_valid_coordinates":true} 
[2026-07-08 19:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581201408001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343159030727835648,"note":"Value kept but may cause issues"} 
[2026-07-08 19:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980107313328820224,"note":"Value kept but may cause issues"} 
[2026-07-08 19:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783520330000,"timestamp_ms":1783520330000,"timestamp_seconds":1783520330,"priority":1,"record_length":96,"hex_timestamp":"0000019f42188110"} 
[2026-07-08 19:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-08 19:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":127900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":127900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":127900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581201408001,"66":27397,"195":206,"85":15104,"24":38,"16":343159030727835648,"45":8980107313328820224},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-07-08 19:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581201408001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:50:35] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-08 19:50:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343159030727835648,"km_value":343159030727835.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980107313328820224,"description":"Unknown IO ID 45"} 
[2026-07-08 19:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581201408001,"power":27397,"unknown_195":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8980107313328820224}} 
[2026-07-08 19:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":127900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:50:35] local.INFO: GPS data processed {"connection_id":127900,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:50:35] local.INFO: Acknowledgment sent {"connection_id":127900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:50:36] local.INFO: TCP Data received {"connection_id":126679,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42180be0012d18e440072176c80046000929..."} 
[2026-07-08 19:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42180be0012d18e440072176c80046000929..."} 
[2026-07-08 19:50:36] local.INFO: Processing buffer {"connection_id":126679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42180be0012d18e440072176c80046000929..."} 
[2026-07-08 19:50:36] local.INFO: Packet analysis {"connection_id":126679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4218"} 
[2026-07-08 19:50:36] local.INFO: Extracted packet for processing {"connection_id":126679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4218"} 
[2026-07-08 19:50:36] local.INFO: GPS Element Parsed {"raw_longitude":756606016,"raw_latitude":119633608,"longitude_deg":75.6606016,"latitude_deg":11.9633608,"altitude":70,"angle":9,"satellites":41,"speed":7,"hex_longitude":"2d18e440","hex_latitude":"072176c8","is_valid_coordinates":true} 
[2026-07-08 19:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581194496001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4945972668923904,"note":"Value kept but may cause issues"} 
[2026-07-08 19:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792784526039961600,"note":"Value kept but may cause issues"} 
[2026-07-08 19:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783520300000,"timestamp_ms":1783520300000,"timestamp_seconds":1783520300,"priority":1,"record_length":96,"hex_timestamp":"0000019f42180be0"} 
[2026-07-08 19:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-08 19:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:50:36] 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-07-08 19:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581194496001,"66":13015,"106":206,"83":41984,"24":7,"16":4945972668923904,"45":1792784526039961600},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-08 19:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581194496001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:50:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-08 19:50:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4945972668923904,"km_value":4945972668923.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792784526039961600,"description":"Unknown IO ID 45"} 
[2026-07-08 19:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581194496001,"power":13015,"unknown_106":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1792784526039961600}} 
[2026-07-08 19:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":126679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:50:36] local.INFO: GPS data processed {"connection_id":126679,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:50:36] local.INFO: Acknowledgment sent {"connection_id":126679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:50:55] local.INFO: TCP Data received {"connection_id":127902,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:50:55] local.INFO: Processing buffer {"connection_id":127902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:50:55] local.INFO: IMEI packet received {"connection_id":127902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":127902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:50:58] local.INFO: TCP Data received {"connection_id":127902,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:50:58] local.INFO: Processing buffer {"connection_id":127902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:50:58] local.INFO: IMEI packet received {"connection_id":127902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":127902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:50:59] local.INFO: TCP Data received {"connection_id":126680,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:50:59] local.INFO: Processing buffer {"connection_id":126680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:50:59] local.INFO: IMEI packet received {"connection_id":126680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":126680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:50:59] local.INFO: TCP Data received {"connection_id":127902,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4218a438012d7c9c4005d825380009016620..."} 
[2026-07-08 19:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4218a438012d7c9c4005d825380009016620..."} 
[2026-07-08 19:50:59] local.INFO: Processing buffer {"connection_id":127902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4218a438012d7c9c4005d825380009016620..."} 
[2026-07-08 19:50:59] local.INFO: Packet analysis {"connection_id":127902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4218"} 
[2026-07-08 19:50:59] local.INFO: Extracted packet for processing {"connection_id":127902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4218"} 
[2026-07-08 19:50:59] local.INFO: GPS Element Parsed {"raw_longitude":763141184,"raw_latitude":98051384,"longitude_deg":76.3141184,"latitude_deg":9.8051384,"altitude":9,"angle":358,"satellites":32,"speed":44,"hex_longitude":"2d7c9c40","hex_latitude":"05d82538","is_valid_coordinates":true} 
[2026-07-08 19:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581204480001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343159490289336320,"note":"Value kept but may cause issues"} 
[2026-07-08 19:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979473994633725952,"note":"Value kept but may cause issues"} 
[2026-07-08 19:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783520339000,"timestamp_ms":1783520339000,"timestamp_seconds":1783520339,"priority":1,"record_length":96,"hex_timestamp":"0000019f4218a438"} 
[2026-07-08 19:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:50: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-07-08 19:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-08 19:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":127902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":127902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":127902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581204480001,"66":27463,"196":206,"85":15104,"24":44,"16":343159490289336320,"45":8979473994633725952},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-07-08 19:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581204480001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:50:59] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-08 19:50:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343159490289336320,"km_value":343159490289336.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979473994633725952,"description":"Unknown IO ID 45"} 
[2026-07-08 19:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581204480001,"power":27463,"unknown_196":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8979473994633725952}} 
[2026-07-08 19:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":127902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:50:59] local.INFO: GPS data processed {"connection_id":127902,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:50:59] local.INFO: Acknowledgment sent {"connection_id":127902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:51:01] local.INFO: TCP Data received {"connection_id":126680,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:51:01] local.INFO: Processing buffer {"connection_id":126680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:51:01] local.INFO: IMEI packet received {"connection_id":126680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":126680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:51:04] local.INFO: TCP Data received {"connection_id":126680,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:51:04] local.INFO: Processing buffer {"connection_id":126680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:51:04] local.INFO: IMEI packet received {"connection_id":126680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":126680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:51:05] local.INFO: TCP Data received {"connection_id":126680,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42199a50012d18e7c007218110004900bc23..."} 
[2026-07-08 19:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42199a50012d18e7c007218110004900bc23..."} 
[2026-07-08 19:51:05] local.INFO: Processing buffer {"connection_id":126680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42199a50012d18e7c007218110004900bc23..."} 
[2026-07-08 19:51:05] local.INFO: Packet analysis {"connection_id":126680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4219"} 
[2026-07-08 19:51:05] local.INFO: Extracted packet for processing {"connection_id":126680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4219"} 
[2026-07-08 19:51:05] local.INFO: GPS Element Parsed {"raw_longitude":756606912,"raw_latitude":119636240,"longitude_deg":75.6606912,"latitude_deg":11.963624,"altitude":73,"angle":188,"satellites":35,"speed":6,"hex_longitude":"2d18e7c0","hex_latitude":"07218110","is_valid_coordinates":true} 
[2026-07-08 19:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581222656001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4946243251863552,"note":"Value kept but may cause issues"} 
[2026-07-08 19:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794684482134056960,"note":"Value kept but may cause issues"} 
[2026-07-08 19:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783520402000,"timestamp_ms":1783520402000,"timestamp_seconds":1783520402,"priority":1,"record_length":96,"hex_timestamp":"0000019f42199a50"} 
[2026-07-08 19:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:51: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-07-08 19:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-07-08 19:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:51:05] 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-07-08 19:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581222656001,"66":13493,"106":206,"83":41984,"24":6,"16":4946243251863552,"45":1794684482134056960},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-08 19:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581222656001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:51:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-08 19:51:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4946243251863552,"km_value":4946243251863.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794684482134056960,"description":"Unknown IO ID 45"} 
[2026-07-08 19:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581222656001,"power":13493,"unknown_106":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1794684482134056960}} 
[2026-07-08 19:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":126680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:51:05] local.INFO: GPS data processed {"connection_id":126680,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:51:05] local.INFO: Acknowledgment sent {"connection_id":126680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:51:30] local.INFO: TCP Data received {"connection_id":127902,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f421a03c8012d7c7bc005d9b628000e016221..."} 
[2026-07-08 19:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421a03c8012d7c7bc005d9b628000e016221..."} 
[2026-07-08 19:51:30] local.INFO: Processing buffer {"connection_id":127902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421a03c8012d7c7bc005d9b628000e016221..."} 
[2026-07-08 19:51:30] local.INFO: Packet analysis {"connection_id":127902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f421a"} 
[2026-07-08 19:51:30] local.INFO: Extracted packet for processing {"connection_id":127902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f421a"} 
[2026-07-08 19:51:30] local.INFO: GPS Element Parsed {"raw_longitude":763132864,"raw_latitude":98154024,"longitude_deg":76.3132864,"latitude_deg":9.8154024,"altitude":14,"angle":354,"satellites":33,"speed":45,"hex_longitude":"2d7c7bc0","hex_latitude":"05d9b628","is_valid_coordinates":true} 
[2026-07-08 19:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581227520001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343164485336301568,"note":"Value kept but may cause issues"} 
[2026-07-08 19:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971170482847002624,"note":"Value kept but may cause issues"} 
[2026-07-08 19:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783520429000,"timestamp_ms":1783520429000,"timestamp_seconds":1783520429,"priority":1,"record_length":96,"hex_timestamp":"0000019f421a03c8"} 
[2026-07-08 19:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 19:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":127902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":127902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":127902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581227520001,"66":27245,"187":206,"85":15104,"24":45,"16":343164485336301568,"45":8971170482847002624},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-08 19:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581227520001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:51:30] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-08 19:51:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343164485336301568,"km_value":343164485336301.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971170482847002624,"description":"Unknown IO ID 45"} 
[2026-07-08 19:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581227520001,"power":27245,"unknown_187":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8971170482847002624}} 
[2026-07-08 19:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":127902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:51:30] local.INFO: GPS data processed {"connection_id":127902,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:51:30] local.INFO: Acknowledgment sent {"connection_id":127902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:51:36] local.INFO: TCP Data received {"connection_id":126680,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4219b5a8012d18e6c007217de8004a00ce26..."} 
[2026-07-08 19:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4219b5a8012d18e6c007217de8004a00ce26..."} 
[2026-07-08 19:51:36] local.INFO: Processing buffer {"connection_id":126680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4219b5a8012d18e6c007217de8004a00ce26..."} 
[2026-07-08 19:51:36] local.INFO: Packet analysis {"connection_id":126680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4219"} 
[2026-07-08 19:51:36] local.INFO: Extracted packet for processing {"connection_id":126680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4219"} 
[2026-07-08 19:51:36] local.INFO: GPS Element Parsed {"raw_longitude":756606656,"raw_latitude":119635432,"longitude_deg":75.6606656,"latitude_deg":11.9635432,"altitude":74,"angle":206,"satellites":38,"speed":5,"hex_longitude":"2d18e6c0","hex_latitude":"07217de8","is_valid_coordinates":true} 
[2026-07-08 19:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581222912001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4946286201536512,"note":"Value kept but may cause issues"} 
[2026-07-08 19:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794614113389842432,"note":"Value kept but may cause issues"} 
[2026-07-08 19:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783520409000,"timestamp_ms":1783520409000,"timestamp_seconds":1783520409,"priority":1,"record_length":96,"hex_timestamp":"0000019f4219b5a8"} 
[2026-07-08 19:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-08 19:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19: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-07-08 19:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:51:36] 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-07-08 19:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581222912001,"66":13504,"106":206,"83":41984,"24":5,"16":4946286201536512,"45":1794614113389842432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-08 19:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581222912001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:51:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-08 19:51:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4946286201536512,"km_value":4946286201536.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794614113389842432,"description":"Unknown IO ID 45"} 
[2026-07-08 19:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581222912001,"power":13504,"unknown_106":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1794614113389842432}} 
[2026-07-08 19:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":126680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:51:37] local.INFO: GPS data processed {"connection_id":126680,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:51:37] local.INFO: Acknowledgment sent {"connection_id":126680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:51:55] local.INFO: TCP Data received {"connection_id":126681,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:51:55] local.INFO: Processing buffer {"connection_id":126681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:51:55] local.INFO: IMEI packet received {"connection_id":126681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":126681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:52:00] local.INFO: TCP Data received {"connection_id":126681,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:52:00] local.INFO: Processing buffer {"connection_id":126681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:52:00] local.INFO: IMEI packet received {"connection_id":126681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":126681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:52:02] local.INFO: TCP Data received {"connection_id":126681,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f421a2308012d7c778005d9db58000e015f1e..."} 
[2026-07-08 19:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421a2308012d7c778005d9db58000e015f1e..."} 
[2026-07-08 19:52:02] local.INFO: Processing buffer {"connection_id":126681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421a2308012d7c778005d9db58000e015f1e..."} 
[2026-07-08 19:52:02] local.INFO: Packet analysis {"connection_id":126681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f421a"} 
[2026-07-08 19:52:02] local.INFO: Extracted packet for processing {"connection_id":126681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f421a"} 
[2026-07-08 19:52:02] local.INFO: GPS Element Parsed {"raw_longitude":763131776,"raw_latitude":98163544,"longitude_deg":76.3131776,"latitude_deg":9.8163544,"altitude":14,"angle":351,"satellites":30,"speed":48,"hex_longitude":"2d7c7780","hex_latitude":"05d9db58","is_valid_coordinates":true} 
[2026-07-08 19:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581229824001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343164949192769536,"note":"Value kept but may cause issues"} 
[2026-07-08 19:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969974214198437888,"note":"Value kept but may cause issues"} 
[2026-07-08 19:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783520437000,"timestamp_ms":1783520437000,"timestamp_seconds":1783520437,"priority":1,"record_length":96,"hex_timestamp":"0000019f421a2308"} 
[2026-07-08 19:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-08 19:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581229824001,"66":27343,"187":206,"85":15104,"24":48,"16":343164949192769536,"45":8969974214198437888},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-08 19:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581229824001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:52:02] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-08 19:52:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343164949192769536,"km_value":343164949192769.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969974214198437888,"description":"Unknown IO ID 45"} 
[2026-07-08 19:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581229824001,"power":27343,"unknown_187":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8969974214198437888}} 
[2026-07-08 19:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":126681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:52:02] local.INFO: GPS data processed {"connection_id":126681,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:52:02] local.INFO: Acknowledgment sent {"connection_id":126681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:52:05] local.INFO: TCP Data received {"connection_id":125913,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:52:05] local.INFO: Processing buffer {"connection_id":125913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:52:05] local.INFO: IMEI packet received {"connection_id":125913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":125913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:52:05] local.INFO: TCP Data received {"connection_id":125913,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:52:05] local.INFO: Processing buffer {"connection_id":125913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:52:05] local.INFO: IMEI packet received {"connection_id":125913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":125913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:52:10] local.INFO: TCP Data received {"connection_id":125913,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:52:10] local.INFO: Processing buffer {"connection_id":125913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:52:10] local.INFO: IMEI packet received {"connection_id":125913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":125913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:52:10] local.INFO: TCP Data received {"connection_id":125913,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f421ab390012d18c40007215160004500ae2a..."} 
[2026-07-08 19:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421ab390012d18c40007215160004500ae2a..."} 
[2026-07-08 19:52:10] local.INFO: Processing buffer {"connection_id":125913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421ab390012d18c40007215160004500ae2a..."} 
[2026-07-08 19:52:10] local.INFO: Packet analysis {"connection_id":125913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f421a"} 
[2026-07-08 19:52:10] local.INFO: Extracted packet for processing {"connection_id":125913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f421a"} 
[2026-07-08 19:52:10] local.INFO: GPS Element Parsed {"raw_longitude":756597760,"raw_latitude":119624032,"longitude_deg":75.659776,"latitude_deg":11.9624032,"altitude":69,"angle":174,"satellites":42,"speed":11,"hex_longitude":"2d18c400","hex_latitude":"07215160","is_valid_coordinates":true} 
[2026-07-08 19:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581241088001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4947128015126528,"note":"Value kept but may cause issues"} 
[2026-07-08 19:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784621751713554432,"note":"Value kept but may cause issues"} 
[2026-07-08 19:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783520474000,"timestamp_ms":1783520474000,"timestamp_seconds":1783520474,"priority":1,"record_length":96,"hex_timestamp":"0000019f421ab390"} 
[2026-07-08 19:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-08 19:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:52:10] 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-07-08 19:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581241088001,"66":13330,"106":206,"83":41984,"24":11,"16":4947128015126528,"45":1784621751713554432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-08 19:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581241088001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:52:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-08 19:52:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4947128015126528,"km_value":4947128015126.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784621751713554432,"description":"Unknown IO ID 45"} 
[2026-07-08 19:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581241088001,"power":13330,"unknown_106":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1784621751713554432}} 
[2026-07-08 19:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":125913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:52:10] local.INFO: GPS data processed {"connection_id":125913,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:52:10] local.INFO: Acknowledgment sent {"connection_id":125913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:52:34] local.INFO: TCP Data received {"connection_id":126681,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f421a3e60012d7c714005d9fdf8000d015d24..."} 
[2026-07-08 19:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421a3e60012d7c714005d9fdf8000d015d24..."} 
[2026-07-08 19:52:34] local.INFO: Processing buffer {"connection_id":126681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421a3e60012d7c714005d9fdf8000d015d24..."} 
[2026-07-08 19:52:34] local.INFO: Packet analysis {"connection_id":126681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f421a"} 
[2026-07-08 19:52:34] local.INFO: Extracted packet for processing {"connection_id":126681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f421a"} 
[2026-07-08 19:52:34] local.INFO: GPS Element Parsed {"raw_longitude":763130176,"raw_latitude":98172408,"longitude_deg":76.3130176,"latitude_deg":9.8172408,"altitude":13,"angle":349,"satellites":36,"speed":50,"hex_longitude":"2d7c7140","hex_latitude":"05d9fdf8","is_valid_coordinates":true} 
[2026-07-08 19: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-07-08 19:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581231872001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343165387279433728,"note":"Value kept but may cause issues"} 
[2026-07-08 19:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8968777945549854720,"note":"Value kept but may cause issues"} 
[2026-07-08 19:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783520444000,"timestamp_ms":1783520444000,"timestamp_seconds":1783520444,"priority":1,"record_length":96,"hex_timestamp":"0000019f421a3e60"} 
[2026-07-08 19:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:52:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 19:52:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581231872001,"66":27310,"187":206,"85":15104,"24":50,"16":343165387279433728,"45":8968777945549854720},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-08 19:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581231872001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:52:34] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-08 19:52:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343165387279433728,"km_value":343165387279433.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8968777945549854720,"description":"Unknown IO ID 45"} 
[2026-07-08 19:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581231872001,"power":27310,"unknown_187":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8968777945549854720}} 
[2026-07-08 19:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":126681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:52:34] local.INFO: GPS data processed {"connection_id":126681,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:52:34] local.INFO: Acknowledgment sent {"connection_id":126681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:52:41] local.INFO: TCP Data received {"connection_id":125913,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f421ae270012d18c6c007213cd00045009f2a..."} 
[2026-07-08 19:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421ae270012d18c6c007213cd00045009f2a..."} 
[2026-07-08 19:52:41] local.INFO: Processing buffer {"connection_id":125913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421ae270012d18c6c007213cd00045009f2a..."} 
[2026-07-08 19:52:41] local.INFO: Packet analysis {"connection_id":125913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f421a"} 
[2026-07-08 19:52:41] local.INFO: Extracted packet for processing {"connection_id":125913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f421a"} 
[2026-07-08 19:52:41] local.INFO: GPS Element Parsed {"raw_longitude":756598464,"raw_latitude":119618768,"longitude_deg":75.6598464,"latitude_deg":11.9618768,"altitude":69,"angle":159,"satellites":42,"speed":16,"hex_longitude":"2d18c6c0","hex_latitude":"07213cd0","is_valid_coordinates":true} 
[2026-07-08 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-07-08 19:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581241344001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4947390008131584,"note":"Value kept but may cause issues"} 
[2026-07-08 19:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784551382969311232,"note":"Value kept but may cause issues"} 
[2026-07-08 19:52: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-07-08 19:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783520486000,"timestamp_ms":1783520486000,"timestamp_seconds":1783520486,"priority":1,"record_length":96,"hex_timestamp":"0000019f421ae270"} 
[2026-07-08 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-07-08 19:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-08 19:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-08 19:52:41] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7638331826649438208,"note":"Value kept but may cause issues"} 
[2026-07-08 19:52:41] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-08 19:52:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 19:52:41] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249588474069734680,"note":"Value kept but may cause issues"} 
[2026-07-08 19:52:41] local.WARNING: Large IO value detected {"io_id":33,"raw_value":6075356202280036864,"note":"Value kept but may cause issues"} 
[2026-07-08 19:52:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-07-08 19:52:41] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3221692755,"note":"Value kept but may cause issues"} 
[2026-07-08 19:52:41] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144024938,"note":"Value kept but may cause issues"} 
[2026-07-08 19:52:41] local.WARNING: Large IO value detected {"io_id":17,"raw_value":2468478976,"note":"Value kept but may cause issues"} 
[2026-07-08 19:52:41] local.WARNING: Large IO value detected {"io_id":35,"raw_value":57819373738283940,"note":"Value kept but may cause issues"} 
[2026-07-08 19:52:41] local.WARNING: Large IO value detected {"io_id":26,"raw_value":6746393535003164679,"note":"Value kept but may cause issues"} 
[2026-07-08 19:52:41] local.WARNING: Large IO value detected {"io_id":8,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-08 19:52:41] local.WARNING: Large IO value detected {"io_id":79,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-08 19:52:41] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,106,83,24,241,157,16,147,159,175,45,64,82,69,42,10,66,171,128,167,1,240,116,227,33,4,113,205,101,217,144,41,239,52,2,17,7,71,35,26,8,79],"length":626,"final_offset":756,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-07-08 19:52:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4972165484029607936,"timestamp_seconds":4972165484029608.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 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-07-08 19:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:52: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-07-08 19:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581241344001,"66":13559,"106":206,"83":41984,"24":16,"16":4947390008131584,"45":1784551382969311232},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-08 19:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581241344001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:52:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-08 19:52:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4947390008131584,"km_value":4947390008131.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784551382969311232,"description":"Unknown IO ID 45"} 
[2026-07-08 19:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581241344001,"power":13559,"unknown_106":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1784551382969311232}} 
[2026-07-08 19:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":125913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:52:42] local.INFO: GPS data processed {"connection_id":125913,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:52:42] local.INFO: Acknowledgment sent {"connection_id":125913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:52:55] local.INFO: TCP Data received {"connection_id":125914,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:52:55] local.INFO: Processing buffer {"connection_id":125914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:52:55] local.INFO: IMEI packet received {"connection_id":125914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":125914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:52:55] local.INFO: TCP Data received {"connection_id":125793,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:52:55] local.INFO: Processing buffer {"connection_id":125793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:52:55] local.INFO: IMEI packet received {"connection_id":125793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":125793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:52:56] local.INFO: TCP Data received {"connection_id":125914,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:52:56] local.INFO: Processing buffer {"connection_id":125914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:52:56] local.INFO: IMEI packet received {"connection_id":125914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":125914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:53:00] local.INFO: TCP Data received {"connection_id":125793,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:53:00] local.INFO: Processing buffer {"connection_id":125793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:53:00] local.INFO: IMEI packet received {"connection_id":125793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":125793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:53:00] local.INFO: TCP Data received {"connection_id":125914,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:53:00] local.INFO: Processing buffer {"connection_id":125914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:53:00] local.INFO: IMEI packet received {"connection_id":125914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":125914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:53:00] local.INFO: TCP Data received {"connection_id":125793,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:53:00] local.INFO: Processing buffer {"connection_id":125793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:53:00] local.INFO: IMEI packet received {"connection_id":125793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":125793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:53:01] local.INFO: TCP Data received {"connection_id":125793,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f421af5f8012d18cac0072135780044009029..."} 
[2026-07-08 19:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421af5f8012d18cac0072135780044009029..."} 
[2026-07-08 19:53:01] local.INFO: Processing buffer {"connection_id":125793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421af5f8012d18cac0072135780044009029..."} 
[2026-07-08 19:53:01] local.INFO: Packet analysis {"connection_id":125793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f421a"} 
[2026-07-08 19:53:01] local.INFO: Extracted packet for processing {"connection_id":125793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f421a"} 
[2026-07-08 19:53:01] local.INFO: GPS Element Parsed {"raw_longitude":756599488,"raw_latitude":119616888,"longitude_deg":75.6599488,"latitude_deg":11.9616888,"altitude":68,"angle":144,"satellites":41,"speed":17,"hex_longitude":"2d18cac0","hex_latitude":"07213578","is_valid_coordinates":true} 
[2026-07-08 19:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581244416001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4947493087346688,"note":"Value kept but may cause issues"} 
[2026-07-08 19:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785325439153917952,"note":"Value kept but may cause issues"} 
[2026-07-08 19:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783520491000,"timestamp_ms":1783520491000,"timestamp_seconds":1783520491,"priority":1,"record_length":96,"hex_timestamp":"0000019f421af5f8"} 
[2026-07-08 19:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-08 19:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:53:01] 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-07-08 19:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581244416001,"66":13493,"106":206,"83":41984,"24":17,"16":4947493087346688,"45":1785325439153917952},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-08 19:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581244416001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:53:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-08 19:53:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4947493087346688,"km_value":4947493087346.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785325439153917952,"description":"Unknown IO ID 45"} 
[2026-07-08 19:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581244416001,"power":13493,"unknown_106":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1785325439153917952}} 
[2026-07-08 19:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":125793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:53:01] local.INFO: GPS data processed {"connection_id":125793,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:53:01] local.INFO: Acknowledgment sent {"connection_id":125793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:53:01] local.INFO: TCP Data received {"connection_id":125914,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f421a5da0012d7c68c005da2428000d015925..."} 
[2026-07-08 19:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421a5da0012d7c68c005da2428000d015925..."} 
[2026-07-08 19:53:01] local.INFO: Processing buffer {"connection_id":125914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421a5da0012d7c68c005da2428000d015925..."} 
[2026-07-08 19:53:01] local.INFO: Packet analysis {"connection_id":125914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f421a"} 
[2026-07-08 19:53:01] local.INFO: Extracted packet for processing {"connection_id":125914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f421a"} 
[2026-07-08 19:53:01] local.INFO: GPS Element Parsed {"raw_longitude":763128000,"raw_latitude":98182184,"longitude_deg":76.3128,"latitude_deg":9.8182184,"altitude":13,"angle":345,"satellites":37,"speed":49,"hex_longitude":"2d7c68c0","hex_latitude":"05da2428","is_valid_coordinates":true} 
[2026-07-08 19:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581233664001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343165872610738176,"note":"Value kept but may cause issues"} 
[2026-07-08 19:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8967018726947682304,"note":"Value kept but may cause issues"} 
[2026-07-08 19:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783520452000,"timestamp_ms":1783520452000,"timestamp_seconds":1783520452,"priority":1,"record_length":96,"hex_timestamp":"0000019f421a5da0"} 
[2026-07-08 19:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-08 19:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581233664001,"66":27343,"187":206,"85":15104,"24":49,"16":343165872610738176,"45":8967018726947682304},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-08 19:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581233664001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:53:01] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-08 19:53:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343165872610738176,"km_value":343165872610738.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8967018726947682304,"description":"Unknown IO ID 45"} 
[2026-07-08 19:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581233664001,"power":27343,"unknown_187":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8967018726947682304}} 
[2026-07-08 19:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":125914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:53:01] local.INFO: GPS data processed {"connection_id":125914,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:53:01] local.INFO: Acknowledgment sent {"connection_id":125914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:53:05] local.INFO: TCP Data received {"connection_id":125793,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f421b1150012d18d10007212af8004200a029..."} 
[2026-07-08 19:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421b1150012d18d10007212af8004200a029..."} 
[2026-07-08 19:53:05] local.INFO: Processing buffer {"connection_id":125793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421b1150012d18d10007212af8004200a029..."} 
[2026-07-08 19:53:05] local.INFO: Packet analysis {"connection_id":125793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f421b"} 
[2026-07-08 19:53:05] local.INFO: Extracted packet for processing {"connection_id":125793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f421b"} 
[2026-07-08 19:53:05] local.INFO: GPS Element Parsed {"raw_longitude":756601088,"raw_latitude":119614200,"longitude_deg":75.6601088,"latitude_deg":11.96142,"altitude":66,"angle":160,"satellites":41,"speed":17,"hex_longitude":"2d18d100","hex_latitude":"07212af8","is_valid_coordinates":true} 
[2026-07-08 19: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-07-08 19:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581245696001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4947643411202048,"note":"Value kept but may cause issues"} 
[2026-07-08 19:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786451339060279296,"note":"Value kept but may cause issues"} 
[2026-07-08 19:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783520498000,"timestamp_ms":1783520498000,"timestamp_seconds":1783520498,"priority":1,"record_length":96,"hex_timestamp":"0000019f421b1150"} 
[2026-07-08 19:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:53: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-07-08 19: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-08 19:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19: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-07-08 19:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:53:05] 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-07-08 19:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581245696001,"66":13537,"106":206,"83":41984,"24":17,"16":4947643411202048,"45":1786451339060279296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-08 19:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581245696001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:53:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-08 19:53:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4947643411202048,"km_value":4947643411202.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786451339060279296,"description":"Unknown IO ID 45"} 
[2026-07-08 19:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581245696001,"power":13537,"unknown_106":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1786451339060279296}} 
[2026-07-08 19:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":125793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:53:05] local.INFO: GPS data processed {"connection_id":125793,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:53:05] local.INFO: Acknowledgment sent {"connection_id":125793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:53:11] local.INFO: TCP Data received {"connection_id":125915,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125915,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:53:11] local.INFO: Processing buffer {"connection_id":125915,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:53:11] local.INFO: IMEI packet received {"connection_id":125915,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 19:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":125915,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:53:33] local.INFO: TCP Data received {"connection_id":125914,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f421bd4a0012d7bfa8005dba188000001592a..."} 
[2026-07-08 19:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421bd4a0012d7bfa8005dba188000001592a..."} 
[2026-07-08 19:53:33] local.INFO: Processing buffer {"connection_id":125914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421bd4a0012d7bfa8005dba188000001592a..."} 
[2026-07-08 19:53:33] local.INFO: Packet analysis {"connection_id":125914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f421b"} 
[2026-07-08 19:53:33] local.INFO: Extracted packet for processing {"connection_id":125914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f421b"} 
[2026-07-08 19:53:33] local.INFO: GPS Element Parsed {"raw_longitude":763099776,"raw_latitude":98279816,"longitude_deg":76.3099776,"latitude_deg":9.8279816,"altitude":0,"angle":345,"satellites":42,"speed":40,"hex_longitude":"2d7bfa80","hex_latitude":"05dba188","is_valid_coordinates":true} 
[2026-07-08 19:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581257728001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343170798938226688,"note":"Value kept but may cause issues"} 
[2026-07-08 19:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936056479534610432,"note":"Value kept but may cause issues"} 
[2026-07-08 19:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783520548000,"timestamp_ms":1783520548000,"timestamp_seconds":1783520548,"priority":1,"record_length":96,"hex_timestamp":"0000019f421bd4a0"} 
[2026-07-08 19:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-08 19:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:53:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581257728001,"66":27343,"168":206,"85":15104,"24":40,"16":343170798938226688,"45":8936056479534610432},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-08 19:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581257728001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:53:33] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-08 19:53:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343170798938226688,"km_value":343170798938226.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936056479534610432,"description":"Unknown IO ID 45"} 
[2026-07-08 19:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581257728001,"power":27343,"unknown_168":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8936056479534610432}} 
[2026-07-08 19:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":125914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:53:33] local.INFO: GPS data processed {"connection_id":125914,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:53:33] local.INFO: Acknowledgment sent {"connection_id":125914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:53:36] local.INFO: TCP Data received {"connection_id":125793,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f421c0b50012d1945800720af30002e006c29..."} 
[2026-07-08 19:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421c0b50012d1945800720af30002e006c29..."} 
[2026-07-08 19:53:36] local.INFO: Processing buffer {"connection_id":125793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421c0b50012d1945800720af30002e006c29..."} 
[2026-07-08 19:53:36] local.INFO: Packet analysis {"connection_id":125793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f421c"} 
[2026-07-08 19:53:36] local.INFO: Extracted packet for processing {"connection_id":125793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f421c"} 
[2026-07-08 19:53:36] local.INFO: GPS Element Parsed {"raw_longitude":756630912,"raw_latitude":119582512,"longitude_deg":75.6630912,"latitude_deg":11.9582512,"altitude":46,"angle":108,"satellites":41,"speed":33,"hex_longitude":"2d194580","hex_latitude":"0720af30","is_valid_coordinates":true} 
[2026-07-08 19:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581262592001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4949911153934336,"note":"Value kept but may cause issues"} 
[2026-07-08 19:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1816569161560107008,"note":"Value kept but may cause issues"} 
[2026-07-08 19:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783520562000,"timestamp_ms":1783520562000,"timestamp_seconds":1783520562,"priority":1,"record_length":96,"hex_timestamp":"0000019f421c0b50"} 
[2026-07-08 19:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-08 19:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:53:36] 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-07-08 19:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581262592001,"66":12841,"103":206,"83":41984,"24":33,"16":4949911153934336,"45":1816569161560107008},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 19:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581262592001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:53:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 19:53:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4949911153934336,"km_value":4949911153934.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1816569161560107008,"description":"Unknown IO ID 45"} 
[2026-07-08 19:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581262592001,"power":12841,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1816569161560107008}} 
[2026-07-08 19:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":125793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:53:36] local.INFO: GPS data processed {"connection_id":125793,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:53:36] local.INFO: Acknowledgment sent {"connection_id":125793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:53:55] local.INFO: TCP Data received {"connection_id":125916,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:53:55] local.INFO: Processing buffer {"connection_id":125916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:53:55] local.INFO: IMEI packet received {"connection_id":125916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":125916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:53:56] local.INFO: TCP Data received {"connection_id":125794,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125794,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:53:56] local.INFO: Processing buffer {"connection_id":125794,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:53:56] local.INFO: IMEI packet received {"connection_id":125794,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 19:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":125794,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:53:57] local.INFO: TCP Data received {"connection_id":125916,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:53:57] local.INFO: Processing buffer {"connection_id":125916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:53:57] local.INFO: IMEI packet received {"connection_id":125916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":125916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:53:59] local.INFO: TCP Data received {"connection_id":125917,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:53:59] local.INFO: Processing buffer {"connection_id":125917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:53:59] local.INFO: IMEI packet received {"connection_id":125917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":125917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:53:59] local.INFO: TCP Data received {"connection_id":125917,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:53:59] local.INFO: Processing buffer {"connection_id":125917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:53:59] local.INFO: IMEI packet received {"connection_id":125917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":125917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:54:00] local.INFO: TCP Data received {"connection_id":125916,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:54:00] local.INFO: Processing buffer {"connection_id":125916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:54:00] local.INFO: IMEI packet received {"connection_id":125916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":125916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:54:01] local.INFO: TCP Data received {"connection_id":125916,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f421bf7c8012d7bf1c005dbc6580000015c25..."} 
[2026-07-08 19:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421bf7c8012d7bf1c005dbc6580000015c25..."} 
[2026-07-08 19:54:01] local.INFO: Processing buffer {"connection_id":125916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421bf7c8012d7bf1c005dbc6580000015c25..."} 
[2026-07-08 19:54:01] local.INFO: Packet analysis {"connection_id":125916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f421b"} 
[2026-07-08 19:54:01] local.INFO: Extracted packet for processing {"connection_id":125916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f421b"} 
[2026-07-08 19:54:01] local.INFO: GPS Element Parsed {"raw_longitude":763097536,"raw_latitude":98289240,"longitude_deg":76.3097536,"latitude_deg":9.828924,"altitude":0,"angle":348,"satellites":37,"speed":44,"hex_longitude":"2d7bf1c0","hex_latitude":"05dbc658","is_valid_coordinates":true} 
[2026-07-08 19:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581260288001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343171267089661952,"note":"Value kept but may cause issues"} 
[2026-07-08 19:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8933593573490788352,"note":"Value kept but may cause issues"} 
[2026-07-08 19:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783520557000,"timestamp_ms":1783520557000,"timestamp_seconds":1783520557,"priority":1,"record_length":96,"hex_timestamp":"0000019f421bf7c8"} 
[2026-07-08 19:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 19:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581260288001,"66":27234,"168":206,"85":15104,"24":44,"16":343171267089661952,"45":8933593573490788352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-08 19:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581260288001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:54:01] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-08 19:54:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343171267089661952,"km_value":343171267089661.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8933593573490788352,"description":"Unknown IO ID 45"} 
[2026-07-08 19:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581260288001,"power":27234,"unknown_168":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8933593573490788352}} 
[2026-07-08 19:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":125916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:54:01] local.INFO: GPS data processed {"connection_id":125916,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:54:01] local.INFO: Acknowledgment sent {"connection_id":125916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:54:04] local.INFO: TCP Data received {"connection_id":125917,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:54:04] local.INFO: Processing buffer {"connection_id":125917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:54:04] local.INFO: IMEI packet received {"connection_id":125917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":125917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:54:04] local.INFO: TCP Data received {"connection_id":125917,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f421c22c0012d1954c00720ab00002f006024..."} 
[2026-07-08 19:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421c22c0012d1954c00720ab00002f006024..."} 
[2026-07-08 19:54:04] local.INFO: Processing buffer {"connection_id":125917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421c22c0012d1954c00720ab00002f006024..."} 
[2026-07-08 19:54:04] local.INFO: Packet analysis {"connection_id":125917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f421c"} 
[2026-07-08 19:54:04] local.INFO: Extracted packet for processing {"connection_id":125917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f421c"} 
[2026-07-08 19:54:04] local.INFO: GPS Element Parsed {"raw_longitude":756634816,"raw_latitude":119581440,"longitude_deg":75.6634816,"latitude_deg":11.958144,"altitude":47,"angle":96,"satellites":36,"speed":23,"hex_longitude":"2d1954c0","hex_latitude":"0720ab00","is_valid_coordinates":true} 
[2026-07-08 19: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-07-08 19:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581263872001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4950104427462656,"note":"Value kept but may cause issues"} 
[2026-07-08 19:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821002392442712064,"note":"Value kept but may cause issues"} 
[2026-07-08 19:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783520568000,"timestamp_ms":1783520568000,"timestamp_seconds":1783520568,"priority":1,"record_length":96,"hex_timestamp":"0000019f421c22c0"} 
[2026-07-08 19:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:54: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-07-08 19: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-08 19:54: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-07-08 19: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-07-08 19:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:54:04] 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-07-08 19:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581263872001,"66":12950,"103":206,"83":41984,"24":23,"16":4950104427462656,"45":1821002392442712064},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 19:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581263872001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:54:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 19:54:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4950104427462656,"km_value":4950104427462.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821002392442712064,"description":"Unknown IO ID 45"} 
[2026-07-08 19:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581263872001,"power":12950,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1821002392442712064}} 
[2026-07-08 19:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":125917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:54:04] local.INFO: GPS data processed {"connection_id":125917,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:54:04] local.INFO: Acknowledgment sent {"connection_id":125917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:54:32] local.INFO: TCP Data received {"connection_id":125916,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f421c1af0012d7becc005dbe9f80000016026..."} 
[2026-07-08 19:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421c1af0012d7becc005dbe9f80000016026..."} 
[2026-07-08 19:54:32] local.INFO: Processing buffer {"connection_id":125916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421c1af0012d7becc005dbe9f80000016026..."} 
[2026-07-08 19:54:32] local.INFO: Packet analysis {"connection_id":125916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f421c"} 
[2026-07-08 19:54:32] local.INFO: Extracted packet for processing {"connection_id":125916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f421c"} 
[2026-07-08 19:54:32] local.INFO: GPS Element Parsed {"raw_longitude":763096256,"raw_latitude":98298360,"longitude_deg":76.3096256,"latitude_deg":9.829836,"altitude":0,"angle":352,"satellites":38,"speed":40,"hex_longitude":"2d7becc0","hex_latitude":"05dbe9f8","is_valid_coordinates":true} 
[2026-07-08 19:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581262592001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343171713766260736,"note":"Value kept but may cause issues"} 
[2026-07-08 19:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931130667446982656,"note":"Value kept but may cause issues"} 
[2026-07-08 19:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783520566000,"timestamp_ms":1783520566000,"timestamp_seconds":1783520566,"priority":1,"record_length":96,"hex_timestamp":"0000019f421c1af0"} 
[2026-07-08 19:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-08 19:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581262592001,"66":27332,"168":206,"85":15104,"24":40,"16":343171713766260736,"45":8931130667446982656},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-08 19:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581262592001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:54:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-08 19:54:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343171713766260736,"km_value":343171713766260.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931130667446982656,"description":"Unknown IO ID 45"} 
[2026-07-08 19:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581262592001,"power":27332,"unknown_168":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8931130667446982656}} 
[2026-07-08 19:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":125916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:54:32] local.INFO: GPS data processed {"connection_id":125916,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:54:32] local.INFO: Acknowledgment sent {"connection_id":125916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:54:36] local.INFO: TCP Data received {"connection_id":125917,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f421cf5b0012d19ad8007208850002c00a929..."} 
[2026-07-08 19:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421cf5b0012d19ad8007208850002c00a929..."} 
[2026-07-08 19:54:36] local.INFO: Processing buffer {"connection_id":125917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421cf5b0012d19ad8007208850002c00a929..."} 
[2026-07-08 19:54:36] local.INFO: Packet analysis {"connection_id":125917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f421c"} 
[2026-07-08 19:54:36] local.INFO: Extracted packet for processing {"connection_id":125917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f421c"} 
[2026-07-08 19:54:36] local.INFO: GPS Element Parsed {"raw_longitude":756657536,"raw_latitude":119572560,"longitude_deg":75.6657536,"latitude_deg":11.957256,"altitude":44,"angle":169,"satellites":41,"speed":29,"hex_longitude":"2d19ad80","hex_latitude":"07208850","is_valid_coordinates":true} 
[2026-07-08 19:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581278720001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4951843889217536,"note":"Value kept but may cause issues"} 
[2026-07-08 19:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850064683785906176,"note":"Value kept but may cause issues"} 
[2026-07-08 19:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783520622000,"timestamp_ms":1783520622000,"timestamp_seconds":1783520622,"priority":1,"record_length":96,"hex_timestamp":"0000019f421cf5b0"} 
[2026-07-08 19:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-08 19:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:54:36] 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-07-08 19:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581278720001,"66":13656,"103":206,"83":41984,"24":29,"16":4951843889217536,"45":1850064683785906176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 19:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581278720001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:54:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 19:54:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4951843889217536,"km_value":4951843889217.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850064683785906176,"description":"Unknown IO ID 45"} 
[2026-07-08 19:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581278720001,"power":13656,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1850064683785906176}} 
[2026-07-08 19:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":125917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:54:36] local.INFO: GPS data processed {"connection_id":125917,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:54:36] local.INFO: Acknowledgment sent {"connection_id":125917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:54:55] local.INFO: TCP Data received {"connection_id":126682,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:54:55] local.INFO: Processing buffer {"connection_id":126682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:54:55] local.INFO: IMEI packet received {"connection_id":126682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":126682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:54:58] local.INFO: TCP Data received {"connection_id":126683,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:54:58] local.INFO: Processing buffer {"connection_id":126683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:54:58] local.INFO: IMEI packet received {"connection_id":126683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":126683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:54:59] local.INFO: TCP Data received {"connection_id":126683,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:54:59] local.INFO: Processing buffer {"connection_id":126683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:54:59] local.INFO: IMEI packet received {"connection_id":126683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":126683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:54:59] local.INFO: TCP Data received {"connection_id":126682,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:54:59] local.INFO: Processing buffer {"connection_id":126682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:54:59] local.INFO: IMEI packet received {"connection_id":126682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":126682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:54:59] local.INFO: TCP Data received {"connection_id":126683,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:54:59] local.INFO: Processing buffer {"connection_id":126683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:54:59] local.INFO: IMEI packet received {"connection_id":126683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":126683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:55:00] local.INFO: TCP Data received {"connection_id":126682,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:55:00] local.INFO: Processing buffer {"connection_id":126682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:55:00] local.INFO: IMEI packet received {"connection_id":126682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":126682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:55:00] local.INFO: TCP Data received {"connection_id":126682,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f421c3e18012d7be8c005dc0f680000016328..."} 
[2026-07-08 19:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421c3e18012d7be8c005dc0f680000016328..."} 
[2026-07-08 19:55:00] local.INFO: Processing buffer {"connection_id":126682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421c3e18012d7be8c005dc0f680000016328..."} 
[2026-07-08 19:55:00] local.INFO: Packet analysis {"connection_id":126682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f421c"} 
[2026-07-08 19:55:00] local.INFO: Extracted packet for processing {"connection_id":126682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f421c"} 
[2026-07-08 19:55:00] local.INFO: GPS Element Parsed {"raw_longitude":763095232,"raw_latitude":98307944,"longitude_deg":76.3095232,"latitude_deg":9.8307944,"altitude":0,"angle":355,"satellites":40,"speed":45,"hex_longitude":"2d7be8c0","hex_latitude":"05dc0f68","is_valid_coordinates":true} 
[2026-07-08 19:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581264896001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343172181917696000,"note":"Value kept but may cause issues"} 
[2026-07-08 19:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929723292565764096,"note":"Value kept but may cause issues"} 
[2026-07-08 19:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783520575000,"timestamp_ms":1783520575000,"timestamp_seconds":1783520575,"priority":1,"record_length":96,"hex_timestamp":"0000019f421c3e18"} 
[2026-07-08 19:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-08 19:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:55:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581264896001,"66":27245,"168":206,"85":15104,"24":45,"16":343172181917696000,"45":8929723292565764096},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-08 19:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581264896001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:55:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-08 19:55:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343172181917696000,"km_value":343172181917696,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929723292565764096,"description":"Unknown IO ID 45"} 
[2026-07-08 19:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581264896001,"power":27245,"unknown_168":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8929723292565764096}} 
[2026-07-08 19:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":126682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:55:00] local.INFO: GPS data processed {"connection_id":126682,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:55:00] local.INFO: Acknowledgment sent {"connection_id":126682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:55:03] local.INFO: TCP Data received {"connection_id":126683,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:55:03] local.INFO: Processing buffer {"connection_id":126683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:55:03] local.INFO: IMEI packet received {"connection_id":126683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":126683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:55:03] local.INFO: TCP Data received {"connection_id":126683,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f421d14f0012d19b4c007206fd0002a009a24..."} 
[2026-07-08 19:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421d14f0012d19b4c007206fd0002a009a24..."} 
[2026-07-08 19:55:03] local.INFO: Processing buffer {"connection_id":126683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421d14f0012d19b4c007206fd0002a009a24..."} 
[2026-07-08 19:55:03] local.INFO: Packet analysis {"connection_id":126683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f421d"} 
[2026-07-08 19:55:03] local.INFO: Extracted packet for processing {"connection_id":126683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f421d"} 
[2026-07-08 19:55:03] local.INFO: GPS Element Parsed {"raw_longitude":756659392,"raw_latitude":119566288,"longitude_deg":75.6659392,"latitude_deg":11.9566288,"altitude":42,"angle":154,"satellites":36,"speed":33,"hex_longitude":"2d19b4c0","hex_latitude":"07206fd0","is_valid_coordinates":true} 
[2026-07-08 19: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-07-08 19:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581279232001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4952161716797440,"note":"Value kept but may cause issues"} 
[2026-07-08 19:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850275790018072576,"note":"Value kept but may cause issues"} 
[2026-07-08 19:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783520630000,"timestamp_ms":1783520630000,"timestamp_seconds":1783520630,"priority":1,"record_length":96,"hex_timestamp":"0000019f421d14f0"} 
[2026-07-08 19:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:55: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-07-08 19: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-07-08 19:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19: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-07-08 19:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:55:03] 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-07-08 19:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581279232001,"66":13243,"103":206,"83":41984,"24":33,"16":4952161716797440,"45":1850275790018072576},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-08 19:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581279232001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:55:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 19:55:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4952161716797440,"km_value":4952161716797.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850275790018072576,"description":"Unknown IO ID 45"} 
[2026-07-08 19:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581279232001,"power":13243,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1850275790018072576}} 
[2026-07-08 19:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":126683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:55:03] local.INFO: GPS data processed {"connection_id":126683,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:55:03] local.INFO: Acknowledgment sent {"connection_id":126683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:55:05] local.INFO: TCP Data received {"connection_id":126682,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f421c5d58012d7be70005dc34200000016529..."} 
[2026-07-08 19:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421c5d58012d7be70005dc34200000016529..."} 
[2026-07-08 19:55:05] local.INFO: Processing buffer {"connection_id":126682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421c5d58012d7be70005dc34200000016529..."} 
[2026-07-08 19:55:05] local.INFO: Packet analysis {"connection_id":126682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f421c"} 
[2026-07-08 19:55:05] local.INFO: Extracted packet for processing {"connection_id":126682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f421c"} 
[2026-07-08 19:55:05] local.INFO: GPS Element Parsed {"raw_longitude":763094784,"raw_latitude":98317344,"longitude_deg":76.3094784,"latitude_deg":9.8317344,"altitude":0,"angle":357,"satellites":41,"speed":48,"hex_longitude":"2d7be700","hex_latitude":"05dc3420","is_valid_coordinates":true} 
[2026-07-08 19: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-07-08 19:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581267200001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343172641479196672,"note":"Value kept but may cause issues"} 
[2026-07-08 19:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928597392661374976,"note":"Value kept but may cause issues"} 
[2026-07-08 19:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783520583000,"timestamp_ms":1783520583000,"timestamp_seconds":1783520583,"priority":1,"record_length":96,"hex_timestamp":"0000019f421c5d58"} 
[2026-07-08 19:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-08 19:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19: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-07-08 19:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581267200001,"66":27343,"168":206,"85":15104,"24":48,"16":343172641479196672,"45":8928597392661374976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-08 19:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581267200001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:55:05] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-08 19:55:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343172641479196672,"km_value":343172641479196.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928597392661374976,"description":"Unknown IO ID 45"} 
[2026-07-08 19:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581267200001,"power":27343,"unknown_168":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8928597392661374976}} 
[2026-07-08 19:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":126682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:55:05] local.INFO: GPS data processed {"connection_id":126682,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:55:05] local.INFO: Acknowledgment sent {"connection_id":126682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:55:34] local.INFO: TCP Data received {"connection_id":126683,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f421df780012d19d380071ffcc8002900f329..."} 
[2026-07-08 19:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421df780012d19d380071ffcc8002900f329..."} 
[2026-07-08 19:55:34] local.INFO: Processing buffer {"connection_id":126683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421df780012d19d380071ffcc8002900f329..."} 
[2026-07-08 19:55:34] local.INFO: Packet analysis {"connection_id":126683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f421d"} 
[2026-07-08 19:55:34] local.INFO: Extracted packet for processing {"connection_id":126683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f421d"} 
[2026-07-08 19:55:34] local.INFO: GPS Element Parsed {"raw_longitude":756667264,"raw_latitude":119536840,"longitude_deg":75.6667264,"latitude_deg":11.953684,"altitude":41,"angle":243,"satellites":41,"speed":16,"hex_longitude":"2d19d380","hex_latitude":"071ffcc8","is_valid_coordinates":true} 
[2026-07-08 19:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581295360001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4953810984239104,"note":"Value kept but may cause issues"} 
[2026-07-08 19:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861886632798384128,"note":"Value kept but may cause issues"} 
[2026-07-08 19:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783520688000,"timestamp_ms":1783520688000,"timestamp_seconds":1783520688,"priority":1,"record_length":96,"hex_timestamp":"0000019f421df780"} 
[2026-07-08 19:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-08 19:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19: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-07-08 19:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:55:34] 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-07-08 19:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581295360001,"66":13472,"101":206,"83":41984,"24":16,"16":4953810984239104,"45":1861886632798384128},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-08 19:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581295360001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:55:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-08 19:55:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4953810984239104,"km_value":4953810984239.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861886632798384128,"description":"Unknown IO ID 45"} 
[2026-07-08 19:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581295360001,"power":13472,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1861886632798384128}} 
[2026-07-08 19:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":126683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:55:35] local.INFO: GPS data processed {"connection_id":126683,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:55:35] local.INFO: Acknowledgment sent {"connection_id":126683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:55:37] local.INFO: TCP Data received {"connection_id":126682,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f421de010012d7bbd4005ddebe00000015c23..."} 
[2026-07-08 19:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421de010012d7bbd4005ddebe00000015c23..."} 
[2026-07-08 19:55:37] local.INFO: Processing buffer {"connection_id":126682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421de010012d7bbd4005ddebe00000015c23..."} 
[2026-07-08 19:55:37] local.INFO: Packet analysis {"connection_id":126682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f421d"} 
[2026-07-08 19:55:37] local.INFO: Extracted packet for processing {"connection_id":126682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f421d"} 
[2026-07-08 19:55:37] local.INFO: GPS Element Parsed {"raw_longitude":763084096,"raw_latitude":98429920,"longitude_deg":76.3084096,"latitude_deg":9.842992,"altitude":0,"angle":348,"satellites":35,"speed":53,"hex_longitude":"2d7bbd40","hex_latitude":"05ddebe0","is_valid_coordinates":true} 
[2026-07-08 19:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581292800001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343178134742368256,"note":"Value kept but may cause issues"} 
[2026-07-08 19:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918464293528590336,"note":"Value kept but may cause issues"} 
[2026-07-08 19:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783520682000,"timestamp_ms":1783520682000,"timestamp_seconds":1783520682,"priority":1,"record_length":96,"hex_timestamp":"0000019f421de010"} 
[2026-07-08 19:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 19:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581292800001,"66":27180,"50":206,"85":15104,"24":53,"16":343178134742368256,"45":8918464293528590336},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-08 19:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581292800001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:55:37] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-08 19:55:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343178134742368256,"km_value":343178134742368.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918464293528590336,"description":"Unknown IO ID 45"} 
[2026-07-08 19:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581292800001,"power":27180,"unknown_50":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8918464293528590336}} 
[2026-07-08 19:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":126682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:55:37] local.INFO: GPS data processed {"connection_id":126682,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:55:37] local.INFO: Acknowledgment sent {"connection_id":126682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:55:58] local.INFO: TCP Data received {"connection_id":125918,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:55:58] local.INFO: Processing buffer {"connection_id":125918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:55:58] local.INFO: IMEI packet received {"connection_id":125918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":125918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:55:59] local.INFO: TCP Data received {"connection_id":125918,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:55:59] local.INFO: Processing buffer {"connection_id":125918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:55:59] local.INFO: IMEI packet received {"connection_id":125918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":125918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:56:00] local.INFO: TCP Data received {"connection_id":126684,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:56:00] local.INFO: Processing buffer {"connection_id":126684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:56:00] local.INFO: IMEI packet received {"connection_id":126684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":126684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:56:01] local.INFO: TCP Data received {"connection_id":126684,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:56:01] local.INFO: Processing buffer {"connection_id":126684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:56:01] local.INFO: IMEI packet received {"connection_id":126684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":126684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:56:02] local.INFO: TCP Data received {"connection_id":126684,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f421dfb68012d7bb5c005de0fa00000015b24..."} 
[2026-07-08 19:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421dfb68012d7bb5c005de0fa00000015b24..."} 
[2026-07-08 19:56:02] local.INFO: Processing buffer {"connection_id":126684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421dfb68012d7bb5c005de0fa00000015b24..."} 
[2026-07-08 19:56:02] local.INFO: Packet analysis {"connection_id":126684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f421d"} 
[2026-07-08 19:56:02] local.INFO: Extracted packet for processing {"connection_id":126684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f421d"} 
[2026-07-08 19:56:02] local.INFO: GPS Element Parsed {"raw_longitude":763082176,"raw_latitude":98439072,"longitude_deg":76.3082176,"latitude_deg":9.8439072,"altitude":0,"angle":347,"satellites":36,"speed":53,"hex_longitude":"2d7bb5c0","hex_latitude":"05de0fa0","is_valid_coordinates":true} 
[2026-07-08 19:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581294592001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343178585713934336,"note":"Value kept but may cause issues"} 
[2026-07-08 19:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916353231205687296,"note":"Value kept but may cause issues"} 
[2026-07-08 19:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783520689000,"timestamp_ms":1783520689000,"timestamp_seconds":1783520689,"priority":1,"record_length":96,"hex_timestamp":"0000019f421dfb68"} 
[2026-07-08 19:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:56: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-07-08 19: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-08 19:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581294592001,"66":27343,"50":206,"85":15104,"24":53,"16":343178585713934336,"45":8916353231205687296},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-08 19:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581294592001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:56:02] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-08 19:56:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343178585713934336,"km_value":343178585713934.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916353231205687296,"description":"Unknown IO ID 45"} 
[2026-07-08 19:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581294592001,"power":27343,"unknown_50":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8916353231205687296}} 
[2026-07-08 19:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":126684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:56:02] local.INFO: GPS data processed {"connection_id":126684,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:56:02] local.INFO: Acknowledgment sent {"connection_id":126684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:56:03] local.INFO: TCP Data received {"connection_id":125918,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:56:03] local.INFO: Processing buffer {"connection_id":125918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:56:03] local.INFO: IMEI packet received {"connection_id":125918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":125918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:56:04] local.INFO: TCP Data received {"connection_id":125918,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:56:04] local.INFO: Processing buffer {"connection_id":125918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:56:04] local.INFO: IMEI packet received {"connection_id":125918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":125918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:56:05] local.INFO: TCP Data received {"connection_id":125918,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f421e0720012d19cdc0071ff9b8002b00df29..."} 
[2026-07-08 19:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421e0720012d19cdc0071ff9b8002b00df29..."} 
[2026-07-08 19:56:05] local.INFO: Processing buffer {"connection_id":125918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421e0720012d19cdc0071ff9b8002b00df29..."} 
[2026-07-08 19:56:05] local.INFO: Packet analysis {"connection_id":125918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f421e"} 
[2026-07-08 19:56:05] local.INFO: Extracted packet for processing {"connection_id":125918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f421e"} 
[2026-07-08 19:56:05] local.INFO: GPS Element Parsed {"raw_longitude":756665792,"raw_latitude":119536056,"longitude_deg":75.6665792,"latitude_deg":11.9536056,"altitude":43,"angle":223,"satellites":41,"speed":16,"hex_longitude":"2d19cdc0","hex_latitude":"071ff9b8","is_valid_coordinates":true} 
[2026-07-08 19:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581296128001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4953888293650432,"note":"Value kept but may cause issues"} 
[2026-07-08 19:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860971839123933184,"note":"Value kept but may cause issues"} 
[2026-07-08 19:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783520692000,"timestamp_ms":1783520692000,"timestamp_seconds":1783520692,"priority":1,"record_length":96,"hex_timestamp":"0000019f421e0720"} 
[2026-07-08 19:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-08 19:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:56:05] 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-07-08 19:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581296128001,"66":13341,"101":206,"83":41984,"24":16,"16":4953888293650432,"45":1860971839123933184},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-08 19:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581296128001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:56:05] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-08 19:56:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4953888293650432,"km_value":4953888293650.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860971839123933184,"description":"Unknown IO ID 45"} 
[2026-07-08 19:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581296128001,"power":13341,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1860971839123933184}} 
[2026-07-08 19:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":125918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:56:05] local.INFO: GPS data processed {"connection_id":125918,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:56:05] local.INFO: Acknowledgment sent {"connection_id":125918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:56:05] local.INFO: TCP Data received {"connection_id":126684,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f421e16c0012d7bae0005de34400000015c26..."} 
[2026-07-08 19:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421e16c0012d7bae0005de34400000015c26..."} 
[2026-07-08 19:56:05] local.INFO: Processing buffer {"connection_id":126684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421e16c0012d7bae0005de34400000015c26..."} 
[2026-07-08 19:56:05] local.INFO: Packet analysis {"connection_id":126684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f421e"} 
[2026-07-08 19:56:05] local.INFO: Extracted packet for processing {"connection_id":126684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f421e"} 
[2026-07-08 19:56:05] local.INFO: GPS Element Parsed {"raw_longitude":763080192,"raw_latitude":98448448,"longitude_deg":76.3080192,"latitude_deg":9.8448448,"altitude":0,"angle":348,"satellites":38,"speed":54,"hex_longitude":"2d7bae00","hex_latitude":"05de3440","is_valid_coordinates":true} 
[2026-07-08 19:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581296384001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343179049570402304,"note":"Value kept but may cause issues"} 
[2026-07-08 19:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8914242168882700288,"note":"Value kept but may cause issues"} 
[2026-07-08 19:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783520696000,"timestamp_ms":1783520696000,"timestamp_seconds":1783520696,"priority":1,"record_length":96,"hex_timestamp":"0000019f421e16c0"} 
[2026-07-08 19:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 19:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581296384001,"66":27321,"49":206,"85":15104,"24":54,"16":343179049570402304,"45":8914242168882700288},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-08 19:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581296384001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:56:05] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-08 19:56:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343179049570402304,"km_value":343179049570402.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8914242168882700288,"description":"Unknown IO ID 45"} 
[2026-07-08 19:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581296384001,"power":27321,"unknown_49":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8914242168882700288}} 
[2026-07-08 19:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":126684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:56:05] local.INFO: GPS data processed {"connection_id":126684,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:56:05] local.INFO: Acknowledgment sent {"connection_id":126684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:56:05] local.INFO: TCP Data received {"connection_id":125918,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f421e0b08012d19cd00071ff868002b00cc29..."} 
[2026-07-08 19:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421e0b08012d19cd00071ff868002b00cc29..."} 
[2026-07-08 19:56:05] local.INFO: Processing buffer {"connection_id":125918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421e0b08012d19cd00071ff868002b00cc29..."} 
[2026-07-08 19:56:05] local.INFO: Packet analysis {"connection_id":125918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f421e"} 
[2026-07-08 19:56:05] local.INFO: Extracted packet for processing {"connection_id":125918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f421e"} 
[2026-07-08 19:56:05] local.INFO: GPS Element Parsed {"raw_longitude":756665600,"raw_latitude":119535720,"longitude_deg":75.66656,"latitude_deg":11.953572,"altitude":43,"angle":204,"satellites":41,"speed":16,"hex_longitude":"2d19cd00","hex_latitude":"071ff868","is_valid_coordinates":true} 
[2026-07-08 19:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581297152001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4953909768486912,"note":"Value kept but may cause issues"} 
[2026-07-08 19:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859353358007646208,"note":"Value kept but may cause issues"} 
[2026-07-08 19:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783520693000,"timestamp_ms":1783520693000,"timestamp_seconds":1783520693,"priority":1,"record_length":96,"hex_timestamp":"0000019f421e0b08"} 
[2026-07-08 19:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-08 19:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:56:05] 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-07-08 19:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581297152001,"66":13341,"101":206,"83":41984,"24":16,"16":4953909768486912,"45":1859353358007646208},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-08 19:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581297152001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:56:05] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-08 19:56:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4953909768486912,"km_value":4953909768486.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859353358007646208,"description":"Unknown IO ID 45"} 
[2026-07-08 19:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581297152001,"power":13341,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1859353358007646208}} 
[2026-07-08 19:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":125918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:56:05] local.INFO: GPS data processed {"connection_id":125918,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:56:05] local.INFO: Acknowledgment sent {"connection_id":125918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:56:36] local.INFO: TCP Data received {"connection_id":125918,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f421ee9b0012d198fc0071ff1800031010d28..."} 
[2026-07-08 19:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421ee9b0012d198fc0071ff1800031010d28..."} 
[2026-07-08 19:56:36] local.INFO: Processing buffer {"connection_id":125918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421ee9b0012d198fc0071ff1800031010d28..."} 
[2026-07-08 19:56:36] local.INFO: Packet analysis {"connection_id":125918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f421e"} 
[2026-07-08 19:56:36] local.INFO: Extracted packet for processing {"connection_id":125918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f421e"} 
[2026-07-08 19:56:36] local.INFO: GPS Element Parsed {"raw_longitude":756649920,"raw_latitude":119533952,"longitude_deg":75.664992,"latitude_deg":11.9533952,"altitude":49,"angle":269,"satellites":40,"speed":17,"hex_longitude":"2d198fc0","hex_latitude":"071ff180","is_valid_coordinates":true} 
[2026-07-08 19:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581309184001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4954717222338560,"note":"Value kept but may cause issues"} 
[2026-07-08 19:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845912927869083648,"note":"Value kept but may cause issues"} 
[2026-07-08 19:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783520750000,"timestamp_ms":1783520750000,"timestamp_seconds":1783520750,"priority":1,"record_length":96,"hex_timestamp":"0000019f421ee9b0"} 
[2026-07-08 19:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-08 19:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:56:36] 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-07-08 19:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581309184001,"66":12841,"102":206,"83":41984,"24":17,"16":4954717222338560,"45":1845912927869083648},"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-07-08 19:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581309184001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:56:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 19:56:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4954717222338560,"km_value":4954717222338.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845912927869083648,"description":"Unknown IO ID 45"} 
[2026-07-08 19:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581309184001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1845912927869083648}} 
[2026-07-08 19:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":125918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:56:36] local.INFO: GPS data processed {"connection_id":125918,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:56:36] local.INFO: Acknowledgment sent {"connection_id":125918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:56:36] local.INFO: TCP Data received {"connection_id":126684,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f421e3218012d7ba74005de56e80000015d27..."} 
[2026-07-08 19:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421e3218012d7ba74005de56e80000015d27..."} 
[2026-07-08 19:56:36] local.INFO: Processing buffer {"connection_id":126684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421e3218012d7ba74005de56e80000015d27..."} 
[2026-07-08 19:56:36] local.INFO: Packet analysis {"connection_id":126684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f421e"} 
[2026-07-08 19:56:36] local.INFO: Extracted packet for processing {"connection_id":126684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f421e"} 
[2026-07-08 19:56:36] local.INFO: GPS Element Parsed {"raw_longitude":763078464,"raw_latitude":98457320,"longitude_deg":76.3078464,"latitude_deg":9.845732,"altitude":0,"angle":349,"satellites":39,"speed":50,"hex_longitude":"2d7ba740","hex_latitude":"05de56e8","is_valid_coordinates":true} 
[2026-07-08 19:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581298176001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343179487657066496,"note":"Value kept but may cause issues"} 
[2026-07-08 19:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8912060737815592960,"note":"Value kept but may cause issues"} 
[2026-07-08 19:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783520703000,"timestamp_ms":1783520703000,"timestamp_seconds":1783520703,"priority":1,"record_length":96,"hex_timestamp":"0000019f421e3218"} 
[2026-07-08 19:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 19:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581298176001,"66":27332,"49":206,"85":15104,"24":50,"16":343179487657066496,"45":8912060737815592960},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-08 19:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581298176001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:56:36] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-08 19:56:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343179487657066496,"km_value":343179487657066.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8912060737815592960,"description":"Unknown IO ID 45"} 
[2026-07-08 19:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581298176001,"power":27332,"unknown_49":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8912060737815592960}} 
[2026-07-08 19:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":126684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:56:36] local.INFO: GPS data processed {"connection_id":126684,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:56:36] local.INFO: Acknowledgment sent {"connection_id":126684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:56:58] local.INFO: TCP Data received {"connection_id":125797,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:56:58] local.INFO: Processing buffer {"connection_id":125797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:56:58] local.INFO: IMEI packet received {"connection_id":125797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":125797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:56:59] local.INFO: TCP Data received {"connection_id":125797,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:56:59] local.INFO: Processing buffer {"connection_id":125797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:56:59] local.INFO: IMEI packet received {"connection_id":125797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":125797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:56:59] local.INFO: TCP Data received {"connection_id":126685,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:56:59] local.INFO: Processing buffer {"connection_id":126685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:56:59] local.INFO: IMEI packet received {"connection_id":126685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":126685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:57:00] local.INFO: TCP Data received {"connection_id":125797,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:57:00] local.INFO: Processing buffer {"connection_id":125797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:57:00] local.INFO: IMEI packet received {"connection_id":125797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":125797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:57:02] local.INFO: TCP Data received {"connection_id":126685,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:57:02] local.INFO: Processing buffer {"connection_id":126685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:57:02] local.INFO: IMEI packet received {"connection_id":126685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":126685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:57:02] local.INFO: TCP Data received {"connection_id":126685,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:57:02] local.INFO: Processing buffer {"connection_id":126685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:57:02] local.INFO: IMEI packet received {"connection_id":126685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":126685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:57:03] local.INFO: TCP Data received {"connection_id":125797,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:57:03] local.INFO: Processing buffer {"connection_id":125797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:57:03] local.INFO: IMEI packet received {"connection_id":125797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":125797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:57:04] local.INFO: TCP Data received {"connection_id":125797,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f421e4d70012d7ba10005de7b700000015f22..."} 
[2026-07-08 19:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421e4d70012d7ba10005de7b700000015f22..."} 
[2026-07-08 19:57:04] local.INFO: Processing buffer {"connection_id":125797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421e4d70012d7ba10005de7b700000015f22..."} 
[2026-07-08 19:57:04] local.INFO: Packet analysis {"connection_id":125797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f421e"} 
[2026-07-08 19:57:04] local.INFO: Extracted packet for processing {"connection_id":125797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f421e"} 
[2026-07-08 19:57:04] local.INFO: GPS Element Parsed {"raw_longitude":763076864,"raw_latitude":98466672,"longitude_deg":76.3076864,"latitude_deg":9.8466672,"altitude":0,"angle":351,"satellites":34,"speed":57,"hex_longitude":"2d7ba100","hex_latitude":"05de7b70","is_valid_coordinates":true} 
[2026-07-08 19: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-07-08 19:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581299968001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343179947218567168,"note":"Value kept but may cause issues"} 
[2026-07-08 19:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8910160781725067264,"note":"Value kept but may cause issues"} 
[2026-07-08 19:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783520710000,"timestamp_ms":1783520710000,"timestamp_seconds":1783520710,"priority":1,"record_length":96,"hex_timestamp":"0000019f421e4d70"} 
[2026-07-08 19:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-08 19:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19: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-07-08 19:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581299968001,"66":27376,"49":206,"85":15104,"24":57,"16":343179947218567168,"45":8910160781725067264},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-08 19:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581299968001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:57:04] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-08 19:57:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343179947218567168,"km_value":343179947218567.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8910160781725067264,"description":"Unknown IO ID 45"} 
[2026-07-08 19:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581299968001,"power":27376,"unknown_49":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":8910160781725067264}} 
[2026-07-08 19:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":125797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:57:04] local.INFO: GPS data processed {"connection_id":125797,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:57:04] local.INFO: Acknowledgment sent {"connection_id":125797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:57:05] local.INFO: TCP Data received {"connection_id":126685,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:57:05] local.INFO: Processing buffer {"connection_id":126685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:57:05] local.INFO: IMEI packet received {"connection_id":126685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":126685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:57:06] local.INFO: TCP Data received {"connection_id":126685,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f421efd38012d198680071ff0f80033010229..."} 
[2026-07-08 19:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421efd38012d198680071ff0f80033010229..."} 
[2026-07-08 19:57:06] local.INFO: Processing buffer {"connection_id":126685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421efd38012d198680071ff0f80033010229..."} 
[2026-07-08 19:57:06] local.INFO: Packet analysis {"connection_id":126685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f421e"} 
[2026-07-08 19:57:06] local.INFO: Extracted packet for processing {"connection_id":126685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f421e"} 
[2026-07-08 19:57:06] local.INFO: GPS Element Parsed {"raw_longitude":756647552,"raw_latitude":119533816,"longitude_deg":75.6647552,"latitude_deg":11.9533816,"altitude":51,"angle":258,"satellites":41,"speed":16,"hex_longitude":"2d198680","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-07-08 19:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581312000001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4954828891488256,"note":"Value kept but may cause issues"} 
[2026-07-08 19:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841901909451046912,"note":"Value kept but may cause issues"} 
[2026-07-08 19:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783520755000,"timestamp_ms":1783520755000,"timestamp_seconds":1783520755,"priority":1,"record_length":96,"hex_timestamp":"0000019f421efd38"} 
[2026-07-08 19:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-08 19:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581312000001,"66":12645,"102":206,"83":41984,"24":16,"16":4954828891488256,"45":1841901909451046912},"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-07-08 19:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581312000001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:57:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 19:57:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4954828891488256,"km_value":4954828891488.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841901909451046912,"description":"Unknown IO ID 45"} 
[2026-07-08 19:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581312000001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1841901909451046912}} 
[2026-07-08 19:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":126685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:57:06] local.INFO: GPS data processed {"connection_id":126685,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:57:06] local.INFO: Acknowledgment sent {"connection_id":126685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:57:35] local.INFO: TCP Data received {"connection_id":125797,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f421fa918012d7b6c8005e06a900000016124..."} 
[2026-07-08 19:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421fa918012d7b6c8005e06a900000016124..."} 
[2026-07-08 19:57:35] local.INFO: Processing buffer {"connection_id":125797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421fa918012d7b6c8005e06a900000016124..."} 
[2026-07-08 19:57:35] local.INFO: Packet analysis {"connection_id":125797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f421f"} 
[2026-07-08 19:57:35] local.INFO: Extracted packet for processing {"connection_id":125797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f421f"} 
[2026-07-08 19:57:35] local.INFO: GPS Element Parsed {"raw_longitude":763063424,"raw_latitude":98593424,"longitude_deg":76.3063424,"latitude_deg":9.8593424,"altitude":0,"angle":353,"satellites":36,"speed":55,"hex_longitude":"2d7b6c80","hex_latitude":"05e06a90","is_valid_coordinates":true} 
[2026-07-08 19:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581322752001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343186131971473408,"note":"Value kept but may cause issues"} 
[2026-07-08 19:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8894890764270827520,"note":"Value kept but may cause issues"} 
[2026-07-08 19:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783520799000,"timestamp_ms":1783520799000,"timestamp_seconds":1783520799,"priority":1,"record_length":96,"hex_timestamp":"0000019f421fa918"} 
[2026-07-08 19:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 19:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581322752001,"66":27343,"170":206,"85":15104,"24":55,"16":343186131971473408,"45":8894890764270827520},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-07-08 19:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581322752001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:57:35] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-08 19:57:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343186131971473408,"km_value":343186131971473.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8894890764270827520,"description":"Unknown IO ID 45"} 
[2026-07-08 19:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581322752001,"power":27343,"unknown_170":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":8894890764270827520}} 
[2026-07-08 19:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":125797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:57:35] local.INFO: GPS data processed {"connection_id":125797,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:57:35] local.INFO: Acknowledgment sent {"connection_id":125797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:57:37] local.INFO: TCP Data received {"connection_id":126685,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f421f0508012d198380071fefa0003400eb28..."} 
[2026-07-08 19:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421f0508012d198380071fefa0003400eb28..."} 
[2026-07-08 19:57:37] local.INFO: Processing buffer {"connection_id":126685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421f0508012d198380071fefa0003400eb28..."} 
[2026-07-08 19:57:37] local.INFO: Packet analysis {"connection_id":126685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f421f"} 
[2026-07-08 19:57:37] local.INFO: Extracted packet for processing {"connection_id":126685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f421f"} 
[2026-07-08 19:57:37] local.INFO: GPS Element Parsed {"raw_longitude":756646784,"raw_latitude":119533472,"longitude_deg":75.6646784,"latitude_deg":11.9533472,"altitude":52,"angle":235,"satellites":40,"speed":17,"hex_longitude":"2d198380","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-07-08 19:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581313280001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4954871841161216,"note":"Value kept but may cause issues"} 
[2026-07-08 19:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839298265916438528,"note":"Value kept but may cause issues"} 
[2026-07-08 19:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783520757000,"timestamp_ms":1783520757000,"timestamp_seconds":1783520757,"priority":1,"record_length":96,"hex_timestamp":"0000019f421f0508"} 
[2026-07-08 19:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-08 19:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:57:37] 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-07-08 19:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581313280001,"66":12798,"102":206,"83":41984,"24":17,"16":4954871841161216,"45":1839298265916438528},"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-07-08 19:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581313280001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:57:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 19:57:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4954871841161216,"km_value":4954871841161.216,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839298265916438528,"description":"Unknown IO ID 45"} 
[2026-07-08 19:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581313280001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1839298265916438528}} 
[2026-07-08 19:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":126685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:57:37] local.INFO: GPS data processed {"connection_id":126685,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:57:37] local.INFO: Acknowledgment sent {"connection_id":126685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:57:55] local.INFO: TCP Data received {"connection_id":125919,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:57:55] local.INFO: Processing buffer {"connection_id":125919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:57:55] local.INFO: IMEI packet received {"connection_id":125919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":125919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:57:59] local.INFO: TCP Data received {"connection_id":125919,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:57:59] local.INFO: Processing buffer {"connection_id":125919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:57:59] local.INFO: IMEI packet received {"connection_id":125919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":125919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:58:00] local.INFO: TCP Data received {"connection_id":125919,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f421fc470012d7b67c005e090200000016026..."} 
[2026-07-08 19:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421fc470012d7b67c005e090200000016026..."} 
[2026-07-08 19:58:00] local.INFO: Processing buffer {"connection_id":125919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421fc470012d7b67c005e090200000016026..."} 
[2026-07-08 19:58:00] local.INFO: Packet analysis {"connection_id":125919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f421f"} 
[2026-07-08 19:58:00] local.INFO: Extracted packet for processing {"connection_id":125919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f421f"} 
[2026-07-08 19:58:00] local.INFO: GPS Element Parsed {"raw_longitude":763062208,"raw_latitude":98603040,"longitude_deg":76.3062208,"latitude_deg":9.860304,"altitude":0,"angle":352,"satellites":38,"speed":55,"hex_longitude":"2d7b67c0","hex_latitude":"05e09020","is_valid_coordinates":true} 
[2026-07-08 19:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581324544001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343186600122908672,"note":"Value kept but may cause issues"} 
[2026-07-08 19:58:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893624126878158848,"note":"Value kept but may cause issues"} 
[2026-07-08 19:58:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783520806000,"timestamp_ms":1783520806000,"timestamp_seconds":1783520806,"priority":1,"record_length":96,"hex_timestamp":"0000019f421fc470"} 
[2026-07-08 19:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:58:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 19:58:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:58:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:58:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581324544001,"66":27343,"170":206,"85":15104,"24":55,"16":343186600122908672,"45":8893624126878158848},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-07-08 19:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581324544001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:58:00] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-08 19:58:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343186600122908672,"km_value":343186600122908.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893624126878158848,"description":"Unknown IO ID 45"} 
[2026-07-08 19:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581324544001,"power":27343,"unknown_170":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":8893624126878158848}} 
[2026-07-08 19:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":125919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:58:00] local.INFO: GPS data processed {"connection_id":125919,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:58:00] local.INFO: Acknowledgment sent {"connection_id":125919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:58:04] local.INFO: TCP Data received {"connection_id":125921,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:58:04] local.INFO: Processing buffer {"connection_id":125921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:58:04] local.INFO: IMEI packet received {"connection_id":125921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":125921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:58:05] local.INFO: TCP Data received {"connection_id":125921,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:58:05] local.INFO: Processing buffer {"connection_id":125921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:58:05] local.INFO: IMEI packet received {"connection_id":125921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":125921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:58:06] local.INFO: TCP Data received {"connection_id":125921,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f421f14a8012d197e00071febd0003500fb28..."} 
[2026-07-08 19:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421f14a8012d197e00071febd0003500fb28..."} 
[2026-07-08 19:58:06] local.INFO: Processing buffer {"connection_id":125921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421f14a8012d197e00071febd0003500fb28..."} 
[2026-07-08 19:58:06] local.INFO: Packet analysis {"connection_id":125921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f421f"} 
[2026-07-08 19:58:06] local.INFO: Extracted packet for processing {"connection_id":125921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f421f"} 
[2026-07-08 19:58:06] local.INFO: GPS Element Parsed {"raw_longitude":756645376,"raw_latitude":119532496,"longitude_deg":75.6645376,"latitude_deg":11.9532496,"altitude":53,"angle":251,"satellites":40,"speed":14,"hex_longitude":"2d197e00","hex_latitude":"071febd0","is_valid_coordinates":true} 
[2026-07-08 19:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581313792001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4954953445539840,"note":"Value kept but may cause issues"} 
[2026-07-08 19:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838453840986218496,"note":"Value kept but may cause issues"} 
[2026-07-08 19:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783520761000,"timestamp_ms":1783520761000,"timestamp_seconds":1783520761,"priority":1,"record_length":96,"hex_timestamp":"0000019f421f14a8"} 
[2026-07-08 19:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-08 19:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581313792001,"66":12689,"102":206,"83":41984,"24":14,"16":4954953445539840,"45":1838453840986218496},"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-07-08 19:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581313792001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:58:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 19:58:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4954953445539840,"km_value":4954953445539.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838453840986218496,"description":"Unknown IO ID 45"} 
[2026-07-08 19:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581313792001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1838453840986218496}} 
[2026-07-08 19:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":125921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:58:06] local.INFO: GPS data processed {"connection_id":125921,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:58:06] local.INFO: Acknowledgment sent {"connection_id":125921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:58:10] local.INFO: TCP Data received {"connection_id":125921,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f421f1890012d197c40071feb900036010b29..."} 
[2026-07-08 19:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421f1890012d197c40071feb900036010b29..."} 
[2026-07-08 19:58:10] local.INFO: Processing buffer {"connection_id":125921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421f1890012d197c40071feb900036010b29..."} 
[2026-07-08 19:58:10] local.INFO: Packet analysis {"connection_id":125921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f421f"} 
[2026-07-08 19:58:10] local.INFO: Extracted packet for processing {"connection_id":125921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f421f"} 
[2026-07-08 19:58:10] local.INFO: GPS Element Parsed {"raw_longitude":756644928,"raw_latitude":119532432,"longitude_deg":75.6644928,"latitude_deg":11.9532432,"altitude":54,"angle":267,"satellites":41,"speed":17,"hex_longitude":"2d197c40","hex_latitude":"071feb90","is_valid_coordinates":true} 
[2026-07-08 19:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581314816001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4954974920376320,"note":"Value kept but may cause issues"} 
[2026-07-08 19:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836905728614060032,"note":"Value kept but may cause issues"} 
[2026-07-08 19:58: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-07-08 19:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783520762000,"timestamp_ms":1783520762000,"timestamp_seconds":1783520762,"priority":1,"record_length":96,"hex_timestamp":"0000019f421f1890"} 
[2026-07-08 19:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:58: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":145,"data_length":795,"current_offset":136} 
[2026-07-08 19:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:58:10] 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-07-08 19:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581314816001,"66":12613,"102":206,"83":41984,"24":17,"16":4954974920376320,"45":1836905728614060032},"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-07-08 19:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581314816001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:58:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 19:58:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4954974920376320,"km_value":4954974920376.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836905728614060032,"description":"Unknown IO ID 45"} 
[2026-07-08 19:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581314816001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1836905728614060032}} 
[2026-07-08 19:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":125921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:58:10] local.INFO: GPS data processed {"connection_id":125921,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:58:10] local.INFO: Acknowledgment sent {"connection_id":125921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:58:31] local.INFO: TCP Data received {"connection_id":125919,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f421fdfc8012d7b62c005e0b2800000015e24..."} 
[2026-07-08 19:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421fdfc8012d7b62c005e0b2800000015e24..."} 
[2026-07-08 19:58:31] local.INFO: Processing buffer {"connection_id":125919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421fdfc8012d7b62c005e0b2800000015e24..."} 
[2026-07-08 19:58:31] local.INFO: Packet analysis {"connection_id":125919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f421f"} 
[2026-07-08 19:58:31] local.INFO: Extracted packet for processing {"connection_id":125919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f421f"} 
[2026-07-08 19:58:31] local.INFO: GPS Element Parsed {"raw_longitude":763060928,"raw_latitude":98611840,"longitude_deg":76.3060928,"latitude_deg":9.861184,"altitude":0,"angle":350,"satellites":36,"speed":51,"hex_longitude":"2d7b62c0","hex_latitude":"05e0b280","is_valid_coordinates":true} 
[2026-07-08 19: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-07-08 19:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581326336001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343187033914605568,"note":"Value kept but may cause issues"} 
[2026-07-08 19:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892287120741244928,"note":"Value kept but may cause issues"} 
[2026-07-08 19:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783520813000,"timestamp_ms":1783520813000,"timestamp_seconds":1783520813,"priority":1,"record_length":96,"hex_timestamp":"0000019f421fdfc8"} 
[2026-07-08 19:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 19:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19: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-07-08 19:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":125919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":125919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":125919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581326336001,"66":27343,"170":206,"85":15104,"24":51,"16":343187033914605568,"45":8892287120741244928},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-07-08 19:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581326336001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:58:31] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-08 19:58:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343187033914605568,"km_value":343187033914605.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892287120741244928,"description":"Unknown IO ID 45"} 
[2026-07-08 19:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581326336001,"power":27343,"unknown_170":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8892287120741244928}} 
[2026-07-08 19:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":125919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:58:31] local.INFO: GPS data processed {"connection_id":125919,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:58:31] local.INFO: Acknowledgment sent {"connection_id":125919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:58:41] local.INFO: TCP Data received {"connection_id":125921,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f421f3000012d197240071fec000038011828..."} 
[2026-07-08 19:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421f3000012d197240071fec000038011828..."} 
[2026-07-08 19:58:41] local.INFO: Processing buffer {"connection_id":125921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421f3000012d197240071fec000038011828..."} 
[2026-07-08 19:58:41] local.INFO: Packet analysis {"connection_id":125921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f421f"} 
[2026-07-08 19:58:41] local.INFO: Extracted packet for processing {"connection_id":125921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f421f"} 
[2026-07-08 19:58:41] local.INFO: GPS Element Parsed {"raw_longitude":756642368,"raw_latitude":119532544,"longitude_deg":75.6642368,"latitude_deg":11.9532544,"altitude":56,"angle":280,"satellites":40,"speed":14,"hex_longitude":"2d197240","hex_latitude":"071fec00","is_valid_coordinates":true} 
[2026-07-08 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-07-08 19:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581315072001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955095179460608,"note":"Value kept but may cause issues"} 
[2026-07-08 19:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836413147404800000,"note":"Value kept but may cause issues"} 
[2026-07-08 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-07-08 19:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783520768000,"timestamp_ms":1783520768000,"timestamp_seconds":1783520768,"priority":1,"record_length":96,"hex_timestamp":"0000019f421f3000"} 
[2026-07-08 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-07-08 19:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-08 19:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 19:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:58: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-07-08 19:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581315072001,"66":12711,"102":206,"83":41984,"24":14,"16":4955095179460608,"45":1836413147404800000},"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-07-08 19:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581315072001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:58:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 19:58:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955095179460608,"km_value":4955095179460.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836413147404800000,"description":"Unknown IO ID 45"} 
[2026-07-08 19:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581315072001,"power":12711,"unknown_102":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1836413147404800000}} 
[2026-07-08 19:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":125921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:58:41] local.INFO: GPS data processed {"connection_id":125921,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:58:41] local.INFO: Acknowledgment sent {"connection_id":125921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:58:55] local.INFO: TCP Data received {"connection_id":126686,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:58:55] local.INFO: Processing buffer {"connection_id":126686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:58:55] local.INFO: IMEI packet received {"connection_id":126686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":126686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:58:59] local.INFO: TCP Data received {"connection_id":126687,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:58:59] local.INFO: Processing buffer {"connection_id":126687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:58:59] local.INFO: IMEI packet received {"connection_id":126687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":126687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:59:00] local.INFO: TCP Data received {"connection_id":126686,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:59:00] local.INFO: Processing buffer {"connection_id":126686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:59:00] local.INFO: IMEI packet received {"connection_id":126686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 19:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":126686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:59:01] local.INFO: TCP Data received {"connection_id":126686,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f421ffb20012d7b5cc005e0d6380000015d23..."} 
[2026-07-08 19:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421ffb20012d7b5cc005e0d6380000015d23..."} 
[2026-07-08 19:59:01] local.INFO: Processing buffer {"connection_id":126686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421ffb20012d7b5cc005e0d6380000015d23..."} 
[2026-07-08 19:59:01] local.INFO: Packet analysis {"connection_id":126686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f421f"} 
[2026-07-08 19:59:01] local.INFO: Extracted packet for processing {"connection_id":126686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f421f"} 
[2026-07-08 19:59:01] local.INFO: GPS Element Parsed {"raw_longitude":763059392,"raw_latitude":98620984,"longitude_deg":76.3059392,"latitude_deg":9.8620984,"altitude":0,"angle":349,"satellites":35,"speed":53,"hex_longitude":"2d7b5cc0","hex_latitude":"05e0d638","is_valid_coordinates":true} 
[2026-07-08 19:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581328128001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343187480591204352,"note":"Value kept but may cause issues"} 
[2026-07-08 19:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890879745859944448,"note":"Value kept but may cause issues"} 
[2026-07-08 19:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783520820000,"timestamp_ms":1783520820000,"timestamp_seconds":1783520820,"priority":1,"record_length":96,"hex_timestamp":"0000019f421ffb20"} 
[2026-07-08 19:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 19:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581328128001,"66":27321,"170":206,"85":15104,"24":53,"16":343187480591204352,"45":8890879745859944448},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-07-08 19:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581328128001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:59:01] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-08 19:59:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343187480591204352,"km_value":343187480591204.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890879745859944448,"description":"Unknown IO ID 45"} 
[2026-07-08 19:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581328128001,"power":27321,"unknown_170":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8890879745859944448}} 
[2026-07-08 19:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":126686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:59:01] local.INFO: GPS data processed {"connection_id":126686,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:59:01] local.INFO: Acknowledgment sent {"connection_id":126686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:59:04] local.INFO: TCP Data received {"connection_id":126687,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:59:04] local.INFO: Processing buffer {"connection_id":126687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:59:04] local.INFO: IMEI packet received {"connection_id":126687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 19:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":126687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 19:59:05] local.INFO: TCP Data received {"connection_id":126687,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f421f4388012d196b80071fec98003a010c29..."} 
[2026-07-08 19:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421f4388012d196b80071fec98003a010c29..."} 
[2026-07-08 19:59:05] local.INFO: Processing buffer {"connection_id":126687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421f4388012d196b80071fec98003a010c29..."} 
[2026-07-08 19:59:05] local.INFO: Packet analysis {"connection_id":126687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f421f"} 
[2026-07-08 19:59:05] local.INFO: Extracted packet for processing {"connection_id":126687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f421f"} 
[2026-07-08 19:59:05] local.INFO: GPS Element Parsed {"raw_longitude":756640640,"raw_latitude":119532696,"longitude_deg":75.664064,"latitude_deg":11.9532696,"altitude":58,"angle":268,"satellites":41,"speed":10,"hex_longitude":"2d196b80","hex_latitude":"071fec98","is_valid_coordinates":true} 
[2026-07-08 19:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581316608001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955181078806528,"note":"Value kept but may cause issues"} 
[2026-07-08 19:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833598397637722112,"note":"Value kept but may cause issues"} 
[2026-07-08 19:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783520773000,"timestamp_ms":1783520773000,"timestamp_seconds":1783520773,"priority":1,"record_length":96,"hex_timestamp":"0000019f421f4388"} 
[2026-07-08 19:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-08 19:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:59:05] 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-07-08 19:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581316608001,"66":12254,"102":206,"83":41984,"24":10,"16":4955181078806528,"45":1833598397637722112},"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-07-08 19:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581316608001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:59:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 19:59:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955181078806528,"km_value":4955181078806.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833598397637722112,"description":"Unknown IO ID 45"} 
[2026-07-08 19:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581316608001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1833598397637722112}} 
[2026-07-08 19:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":126687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:59:05] local.INFO: GPS data processed {"connection_id":126687,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:59:05] local.INFO: Acknowledgment sent {"connection_id":126687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:59:21] local.INFO: TCP Data received {"connection_id":125798,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125798,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:59:21] local.INFO: Processing buffer {"connection_id":125798,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:59:21] local.INFO: IMEI packet received {"connection_id":125798,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 19:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":125798,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:59:31] local.INFO: TCP Data received {"connection_id":126686,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42201678012d7b564005e0fc500000015e21..."} 
[2026-07-08 19:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42201678012d7b564005e0fc500000015e21..."} 
[2026-07-08 19:59:31] local.INFO: Processing buffer {"connection_id":126686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42201678012d7b564005e0fc500000015e21..."} 
[2026-07-08 19:59:31] local.INFO: Packet analysis {"connection_id":126686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4220"} 
[2026-07-08 19:59:31] local.INFO: Extracted packet for processing {"connection_id":126686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4220"} 
[2026-07-08 19:59:31] local.INFO: GPS Element Parsed {"raw_longitude":763057728,"raw_latitude":98630736,"longitude_deg":76.3057728,"latitude_deg":9.8630736,"altitude":0,"angle":350,"satellites":33,"speed":57,"hex_longitude":"2d7b5640","hex_latitude":"05e0fc50","is_valid_coordinates":true} 
[2026-07-08 19:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581329920001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343187961627541504,"note":"Value kept but may cause issues"} 
[2026-07-08 19:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889190896002021376,"note":"Value kept but may cause issues"} 
[2026-07-08 19:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783520827000,"timestamp_ms":1783520827000,"timestamp_seconds":1783520827,"priority":1,"record_length":96,"hex_timestamp":"0000019f42201678"} 
[2026-07-08 19:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:59: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-07-08 19:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 19:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:59:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":126686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":126686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":126686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 19:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 19:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 19:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 19:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581329920001,"66":27332,"170":206,"85":15104,"24":57,"16":343187961627541504,"45":8889190896002021376},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-07-08 19:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 19:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 19:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581329920001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:59:31] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-08 19:59:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 19:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343187961627541504,"km_value":343187961627541.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889190896002021376,"description":"Unknown IO ID 45"} 
[2026-07-08 19:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581329920001,"power":27332,"unknown_170":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":8889190896002021376}} 
[2026-07-08 19:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":126686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:59:31] local.INFO: GPS data processed {"connection_id":126686,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:59:31] local.INFO: Acknowledgment sent {"connection_id":126686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:59:36] local.INFO: TCP Data received {"connection_id":126687,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f421f4b58012d1969c0071fece8003a012129..."} 
[2026-07-08 19:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421f4b58012d1969c0071fece8003a012129..."} 
[2026-07-08 19:59:36] local.INFO: Processing buffer {"connection_id":126687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421f4b58012d1969c0071fece8003a012129..."} 
[2026-07-08 19:59:36] local.INFO: Packet analysis {"connection_id":126687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f421f"} 
[2026-07-08 19:59:36] local.INFO: Extracted packet for processing {"connection_id":126687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f421f"} 
[2026-07-08 19:59:36] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532776,"longitude_deg":75.6640192,"latitude_deg":11.9532776,"altitude":58,"angle":289,"satellites":41,"speed":8,"hex_longitude":"2d1969c0","hex_latitude":"071fece8","is_valid_coordinates":true} 
[2026-07-08 19:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 19:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581317888001,"note":"Value kept but may cause issues"} 
[2026-07-08 19:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955202553643008,"note":"Value kept but may cause issues"} 
[2026-07-08 19:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831698441544964096,"note":"Value kept but may cause issues"} 
[2026-07-08 19:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 19:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783520775000,"timestamp_ms":1783520775000,"timestamp_seconds":1783520775,"priority":1,"record_length":96,"hex_timestamp":"0000019f421f4b58"} 
[2026-07-08 19:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 19:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 19: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-08 19:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 19:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 19:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 19:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 19:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 19:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 19:59:36] 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-07-08 19:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 19:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 19:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581317888001,"66":12558,"102":206,"83":41984,"24":8,"16":4955202553643008,"45":1831698441544964096},"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-07-08 19:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 19:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 19:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581317888001,"description":"Unknown IO ID 0"} 
[2026-07-08 19:59:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 19:59:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 19:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955202553643008,"km_value":4955202553643.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 19:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831698441544964096,"description":"Unknown IO ID 45"} 
[2026-07-08 19:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581317888001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1831698441544964096}} 
[2026-07-08 19:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":126687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 19:59:36] local.INFO: GPS data processed {"connection_id":126687,"processed":1,"errors":0,"total":1} 
[2026-07-08 19:59:36] local.INFO: Acknowledgment sent {"connection_id":126687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 19:59:55] local.INFO: TCP Data received {"connection_id":126688,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:59:55] local.INFO: Processing buffer {"connection_id":126688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 19:59:55] local.INFO: IMEI packet received {"connection_id":126688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 19:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":126688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:59:56] local.INFO: TCP Data received {"connection_id":127905,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127905,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:59:56] local.INFO: Processing buffer {"connection_id":127905,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 19:59:56] local.INFO: IMEI packet received {"connection_id":127905,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 19:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":127905,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 19:59:59] local.INFO: TCP Data received {"connection_id":126689,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:59:59] local.INFO: Processing buffer {"connection_id":126689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 19:59:59] local.INFO: IMEI packet received {"connection_id":126689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 19:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":126689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:00:00] local.INFO: TCP Data received {"connection_id":126688,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:00:00] local.INFO: Processing buffer {"connection_id":126688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:00:00] local.INFO: IMEI packet received {"connection_id":126688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":126688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:00:02] local.INFO: TCP Data received {"connection_id":126688,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f422031d0012d7b4f4005e122c80000015e24..."} 
[2026-07-08 20:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f422031d0012d7b4f4005e122c80000015e24..."} 
[2026-07-08 20:00:02] local.INFO: Processing buffer {"connection_id":126688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f422031d0012d7b4f4005e122c80000015e24..."} 
[2026-07-08 20:00:02] local.INFO: Packet analysis {"connection_id":126688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4220"} 
[2026-07-08 20:00:02] local.INFO: Extracted packet for processing {"connection_id":126688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4220"} 
[2026-07-08 20:00:02] local.INFO: GPS Element Parsed {"raw_longitude":763055936,"raw_latitude":98640584,"longitude_deg":76.3055936,"latitude_deg":9.8640584,"altitude":0,"angle":350,"satellites":36,"speed":56,"hex_longitude":"2d7b4f40","hex_latitude":"05e122c8","is_valid_coordinates":true} 
[2026-07-08 20: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-07-08 20:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581331712001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343188446958845952,"note":"Value kept but may cause issues"} 
[2026-07-08 20:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887361308655898624,"note":"Value kept but may cause issues"} 
[2026-07-08 20:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783520834000,"timestamp_ms":1783520834000,"timestamp_seconds":1783520834,"priority":1,"record_length":96,"hex_timestamp":"0000019f422031d0"} 
[2026-07-08 20:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:00: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-07-08 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-08 20:00:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20: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-07-08 20:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581331712001,"66":27300,"170":206,"85":15104,"24":56,"16":343188446958845952,"45":8887361308655898624},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-07-08 20:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581331712001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:00:02] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-08 20:00:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 20:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343188446958845952,"km_value":343188446958845.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887361308655898624,"description":"Unknown IO ID 45"} 
[2026-07-08 20:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581331712001,"power":27300,"unknown_170":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":8887361308655898624}} 
[2026-07-08 20:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":126688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:00:02] local.INFO: GPS data processed {"connection_id":126688,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:00:02] local.INFO: Acknowledgment sent {"connection_id":126688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:00:04] local.INFO: TCP Data received {"connection_id":126689,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:00:04] local.INFO: Processing buffer {"connection_id":126689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:00:04] local.INFO: IMEI packet received {"connection_id":126689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":126689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:00:05] local.INFO: TCP Data received {"connection_id":126689,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f421f4f40012d196900071fed48003b014329..."} 
[2026-07-08 20:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f421f4f40012d196900071fed48003b014329..."} 
[2026-07-08 20:00:05] local.INFO: Processing buffer {"connection_id":126689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f421f4f40012d196900071fed48003b014329..."} 
[2026-07-08 20:00:05] local.INFO: Packet analysis {"connection_id":126689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f421f"} 
[2026-07-08 20:00:05] local.INFO: Extracted packet for processing {"connection_id":126689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f421f"} 
[2026-07-08 20:00:05] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532872,"longitude_deg":75.664,"latitude_deg":11.9532872,"altitude":59,"angle":323,"satellites":41,"speed":6,"hex_longitude":"2d196900","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-07-08 20: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-07-08 20:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581318400001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955211143577600,"note":"Value kept but may cause issues"} 
[2026-07-08 20:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335740928,"note":"Value kept but may cause issues"} 
[2026-07-08 20:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783520776000,"timestamp_ms":1783520776000,"timestamp_seconds":1783520776,"priority":1,"record_length":96,"hex_timestamp":"0000019f421f4f40"} 
[2026-07-08 20:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-08 20:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-07-08 20:00:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-08 20:00:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 20:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-08 20:00:05] local.WARNING: Large IO value detected {"io_id":154,"raw_value":2248146944,"note":"Value kept but may cause issues"} 
[2026-07-08 20:00:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249786661040550272,"note":"Value kept but may cause issues"} 
[2026-07-08 20:00:05] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3956277301,"note":"Value kept but may cause issues"} 
[2026-07-08 20:00:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-07-08 20:00:05] local.WARNING: Large IO value detected {"io_id":131,"raw_value":2147950575,"note":"Value kept but may cause issues"} 
[2026-07-08 20:00:05] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4261465464,"note":"Value kept but may cause issues"} 
[2026-07-08 20:00:05] local.WARNING: Large IO value detected {"io_id":17,"raw_value":2590900224,"note":"Value kept but may cause issues"} 
[2026-07-08 20:00:05] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-07-08 20:00:05] local.WARNING: Large IO value detected {"io_id":81,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-08 20:00:05] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408895490,"note":"Value kept but may cause issues"} 
[2026-07-08 20:00:05] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,102,83,24,241,157,16,154,159,67,45,128,236,58,41,10,66,48,64,56,40,1,240,69,227,31,4,113,205,14,5,131,160,239,49,2,17,7,51,120,81,206],"length":575,"final_offset":705,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-07-08 20:00:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179658389154430976,"timestamp_seconds":4179658389154431.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 20:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:00:05] 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-07-08 20:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581318400001,"66":12537,"102":206,"83":41984,"24":6,"16":4955211143577600,"45":1831205860335740928},"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-07-08 20:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581318400001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:00:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:00:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955211143577600,"km_value":4955211143577.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335740928,"description":"Unknown IO ID 45"} 
[2026-07-08 20:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581318400001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1831205860335740928}} 
[2026-07-08 20:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":126689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:00:05] local.INFO: GPS data processed {"connection_id":126689,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:00:05] local.INFO: Acknowledgment sent {"connection_id":126689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:00:34] local.INFO: TCP Data received {"connection_id":126688,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42226450012d7b0b0005e31d300001015f17..."} 
[2026-07-08 20:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42226450012d7b0b0005e31d300001015f17..."} 
[2026-07-08 20:00:34] local.INFO: Processing buffer {"connection_id":126688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42226450012d7b0b0005e31d300001015f17..."} 
[2026-07-08 20:00:34] local.INFO: Packet analysis {"connection_id":126688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4222"} 
[2026-07-08 20:00:34] local.INFO: Extracted packet for processing {"connection_id":126688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4222"} 
[2026-07-08 20:00:34] local.INFO: GPS Element Parsed {"raw_longitude":763038464,"raw_latitude":98770224,"longitude_deg":76.3038464,"latitude_deg":9.8770224,"altitude":1,"angle":351,"satellites":23,"speed":43,"hex_longitude":"2d7b0b00","hex_latitude":"05e31d30","is_valid_coordinates":true} 
[2026-07-08 20: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-07-08 20:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581368320001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343194790625542144,"note":"Value kept but may cause issues"} 
[2026-07-08 20:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868080272784588800,"note":"Value kept but may cause issues"} 
[2026-07-08 20:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783520978000,"timestamp_ms":1783520978000,"timestamp_seconds":1783520978,"priority":1,"record_length":96,"hex_timestamp":"0000019f42226450"} 
[2026-07-08 20:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:00: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-07-08 20: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-08 20:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20: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-07-08 20:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581368320001,"66":27463,"97":206,"85":15104,"24":43,"16":343194790625542144,"45":8868080272784588800},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-08 20:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581368320001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:00:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-08 20:00:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 20:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343194790625542144,"km_value":343194790625542.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868080272784588800,"description":"Unknown IO ID 45"} 
[2026-07-08 20:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581368320001,"power":27463,"unknown_97":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8868080272784588800}} 
[2026-07-08 20:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":126688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:00:34] local.INFO: GPS data processed {"connection_id":126688,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:00:34] local.INFO: Acknowledgment sent {"connection_id":126688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:00:36] local.INFO: TCP Data received {"connection_id":126689,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4221fec0012d196680071ff078003e014226..."} 
[2026-07-08 20:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4221fec0012d196680071ff078003e014226..."} 
[2026-07-08 20:00:36] local.INFO: Processing buffer {"connection_id":126689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4221fec0012d196680071ff078003e014226..."} 
[2026-07-08 20:00:36] local.INFO: Packet analysis {"connection_id":126689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4221"} 
[2026-07-08 20:00:36] local.INFO: Extracted packet for processing {"connection_id":126689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4221"} 
[2026-07-08 20:00:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20: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-07-08 20:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581358336001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783520952000,"timestamp_ms":1783520952000,"timestamp_seconds":1783520952,"priority":1,"record_length":96,"hex_timestamp":"0000019f4221fec0"} 
[2026-07-08 20:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-08 20:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20: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-07-08 20:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:00:36] 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-07-08 20:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581358336001,"66":12504,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581358336001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:00:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:00:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581358336001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":126689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:00:36] local.INFO: GPS data processed {"connection_id":126689,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:00:36] local.INFO: Acknowledgment sent {"connection_id":126689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:00:55] local.INFO: TCP Data received {"connection_id":126690,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:00:55] local.INFO: Processing buffer {"connection_id":126690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:00:55] local.INFO: IMEI packet received {"connection_id":126690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":126690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:00:59] local.INFO: TCP Data received {"connection_id":125799,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:00:59] local.INFO: Processing buffer {"connection_id":125799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:00:59] local.INFO: IMEI packet received {"connection_id":125799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":125799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:01:00] local.INFO: TCP Data received {"connection_id":126690,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:01:00] local.INFO: Processing buffer {"connection_id":126690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:01:00] local.INFO: IMEI packet received {"connection_id":126690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":126690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:01:02] local.INFO: TCP Data received {"connection_id":126690,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42229330012d7b090005e341380001016324..."} 
[2026-07-08 20:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42229330012d7b090005e341380001016324..."} 
[2026-07-08 20:01:02] local.INFO: Processing buffer {"connection_id":126690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42229330012d7b090005e341380001016324..."} 
[2026-07-08 20:01:02] local.INFO: Packet analysis {"connection_id":126690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4222"} 
[2026-07-08 20:01:02] local.INFO: Extracted packet for processing {"connection_id":126690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4222"} 
[2026-07-08 20:01:02] local.INFO: GPS Element Parsed {"raw_longitude":763037952,"raw_latitude":98779448,"longitude_deg":76.3037952,"latitude_deg":9.8779448,"altitude":1,"angle":355,"satellites":36,"speed":23,"hex_longitude":"2d7b0900","hex_latitude":"05e34138","is_valid_coordinates":true} 
[2026-07-08 20:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581370368001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343195241597108224,"note":"Value kept but may cause issues"} 
[2026-07-08 20:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866180316694130688,"note":"Value kept but may cause issues"} 
[2026-07-08 20:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783520990000,"timestamp_ms":1783520990000,"timestamp_seconds":1783520990,"priority":1,"record_length":96,"hex_timestamp":"0000019f42229330"} 
[2026-07-08 20:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-08 20:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:01:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581370368001,"66":27321,"97":206,"85":15104,"24":23,"16":343195241597108224,"45":8866180316694130688},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-08 20:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581370368001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:01:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-08 20:01:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 20:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343195241597108224,"km_value":343195241597108.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866180316694130688,"description":"Unknown IO ID 45"} 
[2026-07-08 20:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581370368001,"power":27321,"unknown_97":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8866180316694130688}} 
[2026-07-08 20:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":126690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:01:02] local.INFO: GPS data processed {"connection_id":126690,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:01:02] local.INFO: Acknowledgment sent {"connection_id":126690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:01:04] local.INFO: TCP Data received {"connection_id":125799,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:01:04] local.INFO: Processing buffer {"connection_id":125799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:01:04] local.INFO: IMEI packet received {"connection_id":125799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":125799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:01:05] local.INFO: TCP Data received {"connection_id":125799,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f422250c8012d196680071ff078003e014228..."} 
[2026-07-08 20:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f422250c8012d196680071ff078003e014228..."} 
[2026-07-08 20:01:05] local.INFO: Processing buffer {"connection_id":125799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f422250c8012d196680071ff078003e014228..."} 
[2026-07-08 20:01:05] local.INFO: Packet analysis {"connection_id":125799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4222"} 
[2026-07-08 20:01:05] local.INFO: Extracted packet for processing {"connection_id":125799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4222"} 
[2026-07-08 20:01:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581363712001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783520973000,"timestamp_ms":1783520973000,"timestamp_seconds":1783520973,"priority":1,"record_length":96,"hex_timestamp":"0000019f422250c8"} 
[2026-07-08 20:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-08 20:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:01:05] 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-07-08 20:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581363712001,"66":12504,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581363712001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:01:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:01:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581363712001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":125799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:01:05] local.INFO: GPS data processed {"connection_id":125799,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:01:05] local.INFO: Acknowledgment sent {"connection_id":125799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:01:33] local.INFO: TCP Data received {"connection_id":126690,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4222a2d0012d7b078005e34b380005015725..."} 
[2026-07-08 20:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4222a2d0012d7b078005e34b380005015725..."} 
[2026-07-08 20:01:33] local.INFO: Processing buffer {"connection_id":126690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4222a2d0012d7b078005e34b380005015725..."} 
[2026-07-08 20:01:33] local.INFO: Packet analysis {"connection_id":126690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4222"} 
[2026-07-08 20:01:33] local.INFO: Extracted packet for processing {"connection_id":126690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4222"} 
[2026-07-08 20:01:33] local.INFO: GPS Element Parsed {"raw_longitude":763037568,"raw_latitude":98782008,"longitude_deg":76.3037568,"latitude_deg":9.8782008,"altitude":5,"angle":343,"satellites":37,"speed":25,"hex_longitude":"2d7b0780","hex_latitude":"05e34b38","is_valid_coordinates":true} 
[2026-07-08 20:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581373440001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343195366151159808,"note":"Value kept but may cause issues"} 
[2026-07-08 20:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865617366743070720,"note":"Value kept but may cause issues"} 
[2026-07-08 20:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783520994000,"timestamp_ms":1783520994000,"timestamp_seconds":1783520994,"priority":1,"record_length":96,"hex_timestamp":"0000019f4222a2d0"} 
[2026-07-08 20:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 20:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:01:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581373440001,"66":27463,"97":206,"85":15104,"24":25,"16":343195366151159808,"45":8865617366743070720},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-08 20:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581373440001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:01:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-08 20:01:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 20:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343195366151159808,"km_value":343195366151159.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865617366743070720,"description":"Unknown IO ID 45"} 
[2026-07-08 20:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581373440001,"power":27463,"unknown_97":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8865617366743070720}} 
[2026-07-08 20:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":126690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:01:33] local.INFO: GPS data processed {"connection_id":126690,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:01:33] local.INFO: Acknowledgment sent {"connection_id":126690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:01:36] local.INFO: TCP Data received {"connection_id":125799,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4222a2d0012d196680071ff078003e014226..."} 
[2026-07-08 20:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4222a2d0012d196680071ff078003e014226..."} 
[2026-07-08 20:01:36] local.INFO: Processing buffer {"connection_id":125799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4222a2d0012d196680071ff078003e014226..."} 
[2026-07-08 20:01:36] local.INFO: Packet analysis {"connection_id":125799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4222"} 
[2026-07-08 20:01:36] local.INFO: Extracted packet for processing {"connection_id":125799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4222"} 
[2026-07-08 20:01:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581369088001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783520994000,"timestamp_ms":1783520994000,"timestamp_seconds":1783520994,"priority":1,"record_length":96,"hex_timestamp":"0000019f4222a2d0"} 
[2026-07-08 20:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-08 20:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:01:36] 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-07-08 20:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581369088001,"66":12461,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581369088001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:01:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:01:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581369088001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":125799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:01:36] local.INFO: GPS data processed {"connection_id":125799,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:01:36] local.INFO: Acknowledgment sent {"connection_id":125799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:01:56] local.INFO: TCP Data received {"connection_id":125924,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:01:56] local.INFO: Processing buffer {"connection_id":125924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:01:56] local.INFO: IMEI packet received {"connection_id":125924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":125924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:01:59] local.INFO: TCP Data received {"connection_id":125924,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:01:59] local.INFO: Processing buffer {"connection_id":125924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:01:59] local.INFO: IMEI packet received {"connection_id":125924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":125924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:02:03] local.INFO: TCP Data received {"connection_id":125925,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:02:03] local.INFO: Processing buffer {"connection_id":125925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:02:03] local.INFO: IMEI packet received {"connection_id":125925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":125925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:02:05] local.INFO: TCP Data received {"connection_id":125924,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:02:05] local.INFO: Processing buffer {"connection_id":125924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:02:05] local.INFO: IMEI packet received {"connection_id":125924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":125924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:02:05] local.INFO: TCP Data received {"connection_id":125925,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:02:05] local.INFO: Processing buffer {"connection_id":125925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:02:05] local.INFO: IMEI packet received {"connection_id":125925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":125925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:02:06] local.INFO: TCP Data received {"connection_id":125924,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4222f4d8012d196680071ff078003e014226..."} 
[2026-07-08 20:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4222f4d8012d196680071ff078003e014226..."} 
[2026-07-08 20:02:06] local.INFO: Processing buffer {"connection_id":125924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4222f4d8012d196680071ff078003e014226..."} 
[2026-07-08 20:02:06] local.INFO: Packet analysis {"connection_id":125924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4222"} 
[2026-07-08 20:02:06] local.INFO: Extracted packet for processing {"connection_id":125924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4222"} 
[2026-07-08 20:02:06] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581374464001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783521015000,"timestamp_ms":1783521015000,"timestamp_seconds":1783521015,"priority":1,"record_length":96,"hex_timestamp":"0000019f4222f4d8"} 
[2026-07-08 20:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 20:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581374464001,"66":12461,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581374464001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:02:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:02:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581374464001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":125924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:02:06] local.INFO: GPS data processed {"connection_id":125924,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:02:06] local.INFO: Acknowledgment sent {"connection_id":125924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:02:07] local.INFO: TCP Data received {"connection_id":125925,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4222d598012d7afb8005e36e10000901582c..."} 
[2026-07-08 20:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4222d598012d7afb8005e36e10000901582c..."} 
[2026-07-08 20:02:07] local.INFO: Processing buffer {"connection_id":125925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4222d598012d7afb8005e36e10000901582c..."} 
[2026-07-08 20:02:07] local.INFO: Packet analysis {"connection_id":125925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4222"} 
[2026-07-08 20:02:07] local.INFO: Extracted packet for processing {"connection_id":125925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4222"} 
[2026-07-08 20:02:07] local.INFO: GPS Element Parsed {"raw_longitude":763034496,"raw_latitude":98790928,"longitude_deg":76.3034496,"latitude_deg":9.8790928,"altitude":9,"angle":344,"satellites":44,"speed":29,"hex_longitude":"2d7afb80","hex_latitude":"05e36e10","is_valid_coordinates":true} 
[2026-07-08 20:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581374464001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343195825712660480,"note":"Value kept but may cause issues"} 
[2026-07-08 20:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865195154278660096,"note":"Value kept but may cause issues"} 
[2026-07-08 20:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783521007000,"timestamp_ms":1783521007000,"timestamp_seconds":1783521007,"priority":1,"record_length":96,"hex_timestamp":"0000019f4222d598"} 
[2026-07-08 20:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-08 20:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581374464001,"66":27376,"97":206,"85":15104,"24":29,"16":343195825712660480,"45":8865195154278660096},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-08 20:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581374464001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:02:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-08 20:02:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 20:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343195825712660480,"km_value":343195825712660.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865195154278660096,"description":"Unknown IO ID 45"} 
[2026-07-08 20:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581374464001,"power":27376,"unknown_97":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8865195154278660096}} 
[2026-07-08 20:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":125925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:02:07] local.INFO: GPS data processed {"connection_id":125925,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:02:07] local.INFO: Acknowledgment sent {"connection_id":125925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:02:28] local.INFO: TCP Data received {"connection_id":125925,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f422327a0012d7af48005e38578000601552b..."} 
[2026-07-08 20:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f422327a0012d7af48005e38578000601552b..."} 
[2026-07-08 20:02:28] local.INFO: Processing buffer {"connection_id":125925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f422327a0012d7af48005e38578000601552b..."} 
[2026-07-08 20:02:28] local.INFO: Packet analysis {"connection_id":125925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4223"} 
[2026-07-08 20:02:28] local.INFO: Extracted packet for processing {"connection_id":125925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4223"} 
[2026-07-08 20:02:28] local.INFO: GPS Element Parsed {"raw_longitude":763032704,"raw_latitude":98796920,"longitude_deg":76.3032704,"latitude_deg":9.879692,"altitude":6,"angle":341,"satellites":43,"speed":6,"hex_longitude":"2d7af480","hex_latitude":"05e38578","is_valid_coordinates":true} 
[2026-07-08 20:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581377792001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343196130655338496,"note":"Value kept but may cause issues"} 
[2026-07-08 20:02:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8861817454560415744,"note":"Value kept but may cause issues"} 
[2026-07-08 20:02:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783521028000,"timestamp_ms":1783521028000,"timestamp_seconds":1783521028,"priority":1,"record_length":96,"hex_timestamp":"0000019f422327a0"} 
[2026-07-08 20:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:02:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 20:02:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:02:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":125925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":125925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":125925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:02:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581377792001,"66":27267,"97":206,"85":15104,"24":6,"16":343196130655338496,"45":8861817454560415744},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-08 20:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581377792001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:02:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-08 20:02:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 20:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343196130655338496,"km_value":343196130655338.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:02:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8861817454560415744,"description":"Unknown IO ID 45"} 
[2026-07-08 20:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581377792001,"power":27267,"unknown_97":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8861817454560415744}} 
[2026-07-08 20:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":125925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:02:28] local.INFO: GPS data processed {"connection_id":125925,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:02:28] local.INFO: Acknowledgment sent {"connection_id":125925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:02:37] local.INFO: TCP Data received {"connection_id":125924,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f422346e0012d196680071ff078003e014226..."} 
[2026-07-08 20:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f422346e0012d196680071ff078003e014226..."} 
[2026-07-08 20:02:37] local.INFO: Processing buffer {"connection_id":125924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f422346e0012d196680071ff078003e014226..."} 
[2026-07-08 20:02:37] local.INFO: Packet analysis {"connection_id":125924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4223"} 
[2026-07-08 20:02:37] local.INFO: Extracted packet for processing {"connection_id":125924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4223"} 
[2026-07-08 20:02:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581379840001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783521036000,"timestamp_ms":1783521036000,"timestamp_seconds":1783521036,"priority":1,"record_length":96,"hex_timestamp":"0000019f422346e0"} 
[2026-07-08 20:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-08 20:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:02:37] 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-07-08 20:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581379840001,"66":12439,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581379840001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:02:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:02:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581379840001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":125924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:02:37] local.INFO: GPS data processed {"connection_id":125924,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:02:37] local.INFO: Acknowledgment sent {"connection_id":125924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:02:54] local.INFO: TCP Data received {"connection_id":127906,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:02:54] local.INFO: Processing buffer {"connection_id":127906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:02:54] local.INFO: IMEI packet received {"connection_id":127906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":127906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:02:55] local.INFO: TCP Data received {"connection_id":127906,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:02:55] local.INFO: Processing buffer {"connection_id":127906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:02:55] local.INFO: IMEI packet received {"connection_id":127906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":127906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:03:00] local.INFO: TCP Data received {"connection_id":126691,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:03:00] local.INFO: Processing buffer {"connection_id":126691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:03:00] local.INFO: IMEI packet received {"connection_id":126691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":126691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:03:00] local.INFO: TCP Data received {"connection_id":126691,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:03:00] local.INFO: Processing buffer {"connection_id":126691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:03:00] local.INFO: IMEI packet received {"connection_id":126691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":126691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:03:00] local.INFO: TCP Data received {"connection_id":127906,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:03:00] local.INFO: Processing buffer {"connection_id":127906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:03:00] local.INFO: IMEI packet received {"connection_id":127906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":127906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:03:02] local.INFO: TCP Data received {"connection_id":127906,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f422379a8012d7aed4005e39c180007015b2c..."} 
[2026-07-08 20:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f422379a8012d7aed4005e39c180007015b2c..."} 
[2026-07-08 20:03:02] local.INFO: Processing buffer {"connection_id":127906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f422379a8012d7aed4005e39c180007015b2c..."} 
[2026-07-08 20:03:02] local.INFO: Packet analysis {"connection_id":127906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4223"} 
[2026-07-08 20:03:02] local.INFO: Extracted packet for processing {"connection_id":127906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4223"} 
[2026-07-08 20:03:02] local.INFO: GPS Element Parsed {"raw_longitude":763030848,"raw_latitude":98802712,"longitude_deg":76.3030848,"latitude_deg":9.8802712,"altitude":7,"angle":347,"satellites":44,"speed":14,"hex_longitude":"2d7aed40","hex_latitude":"05e39c18","is_valid_coordinates":true} 
[2026-07-08 20:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581383168001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343196427008081920,"note":"Value kept but may cause issues"} 
[2026-07-08 20:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859847129724975104,"note":"Value kept but may cause issues"} 
[2026-07-08 20:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783521049000,"timestamp_ms":1783521049000,"timestamp_seconds":1783521049,"priority":1,"record_length":96,"hex_timestamp":"0000019f422379a8"} 
[2026-07-08 20:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 20:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:03:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581383168001,"66":27332,"97":206,"85":15104,"24":14,"16":343196427008081920,"45":8859847129724975104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-08 20:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581383168001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:03:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-08 20:03:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 20:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343196427008081920,"km_value":343196427008081.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859847129724975104,"description":"Unknown IO ID 45"} 
[2026-07-08 20:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581383168001,"power":27332,"unknown_97":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8859847129724975104}} 
[2026-07-08 20:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":127906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:03:02] local.INFO: GPS data processed {"connection_id":127906,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:03:02] local.INFO: Acknowledgment sent {"connection_id":127906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:03:04] local.INFO: TCP Data received {"connection_id":126691,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:03:04] local.INFO: Processing buffer {"connection_id":126691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:03:04] local.INFO: IMEI packet received {"connection_id":126691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":126691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:03:05] local.INFO: TCP Data received {"connection_id":126691,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f422398e8012d196680071ff078003e014225..."} 
[2026-07-08 20:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f422398e8012d196680071ff078003e014225..."} 
[2026-07-08 20:03:05] local.INFO: Processing buffer {"connection_id":126691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f422398e8012d196680071ff078003e014225..."} 
[2026-07-08 20:03:05] local.INFO: Packet analysis {"connection_id":126691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4223"} 
[2026-07-08 20:03:05] local.INFO: Extracted packet for processing {"connection_id":126691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4223"} 
[2026-07-08 20:03:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581385216001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783521057000,"timestamp_ms":1783521057000,"timestamp_seconds":1783521057,"priority":1,"record_length":96,"hex_timestamp":"0000019f422398e8"} 
[2026-07-08 20:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-08 20:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:03:05] 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-07-08 20:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581385216001,"66":12406,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581385216001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:03:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:03:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581385216001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":126691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:03:06] local.INFO: GPS data processed {"connection_id":126691,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:03:06] local.INFO: Acknowledgment sent {"connection_id":126691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:03:35] local.INFO: TCP Data received {"connection_id":127906,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f422398e8012d7ae98005e3a8200007014f2d..."} 
[2026-07-08 20:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f422398e8012d7ae98005e3a8200007014f2d..."} 
[2026-07-08 20:03:35] local.INFO: Processing buffer {"connection_id":127906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f422398e8012d7ae98005e3a8200007014f2d..."} 
[2026-07-08 20:03:35] local.INFO: Packet analysis {"connection_id":127906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4223"} 
[2026-07-08 20:03:35] local.INFO: Extracted packet for processing {"connection_id":127906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4223"} 
[2026-07-08 20:03:35] local.INFO: GPS Element Parsed {"raw_longitude":763029888,"raw_latitude":98805792,"longitude_deg":76.3029888,"latitude_deg":9.8805792,"altitude":7,"angle":335,"satellites":45,"speed":16,"hex_longitude":"2d7ae980","hex_latitude":"05e3a820","is_valid_coordinates":true} 
[2026-07-08 20:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581388544001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343196585921871872,"note":"Value kept but may cause issues"} 
[2026-07-08 20:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857806436145305600,"note":"Value kept but may cause issues"} 
[2026-07-08 20:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783521057000,"timestamp_ms":1783521057000,"timestamp_seconds":1783521057,"priority":1,"record_length":96,"hex_timestamp":"0000019f422398e8"} 
[2026-07-08 20:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-08 20:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":127906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":127906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":127906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581388544001,"66":27463,"97":206,"85":15104,"24":16,"16":343196585921871872,"45":8857806436145305600},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-08 20:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581388544001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:03:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-08 20:03:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-08 20:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343196585921871872,"km_value":343196585921871.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857806436145305600,"description":"Unknown IO ID 45"} 
[2026-07-08 20:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581388544001,"power":27463,"unknown_97":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8857806436145305600}} 
[2026-07-08 20:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":127906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:03:35] local.INFO: GPS data processed {"connection_id":127906,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:03:35] local.INFO: Acknowledgment sent {"connection_id":127906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:03:36] local.INFO: TCP Data received {"connection_id":126691,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4223eaf0012d196680071ff078003e014226..."} 
[2026-07-08 20:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4223eaf0012d196680071ff078003e014226..."} 
[2026-07-08 20:03:36] local.INFO: Processing buffer {"connection_id":126691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4223eaf0012d196680071ff078003e014226..."} 
[2026-07-08 20:03:36] local.INFO: Packet analysis {"connection_id":126691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4223"} 
[2026-07-08 20:03:36] local.INFO: Extracted packet for processing {"connection_id":126691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4223"} 
[2026-07-08 20:03:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581390592001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783521078000,"timestamp_ms":1783521078000,"timestamp_seconds":1783521078,"priority":1,"record_length":96,"hex_timestamp":"0000019f4223eaf0"} 
[2026-07-08 20:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 20:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:03:36] 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-07-08 20:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581390592001,"66":12363,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581390592001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:03:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:03:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581390592001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":126691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:03:36] local.INFO: GPS data processed {"connection_id":126691,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:03:36] local.INFO: Acknowledgment sent {"connection_id":126691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:03:55] local.INFO: TCP Data received {"connection_id":127908,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:03:55] local.INFO: Processing buffer {"connection_id":127908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:03:55] local.INFO: IMEI packet received {"connection_id":127908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":127908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:04:00] local.INFO: TCP Data received {"connection_id":125927,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:04:00] local.INFO: Processing buffer {"connection_id":125927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:04:00] local.INFO: IMEI packet received {"connection_id":125927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":125927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:04:03] local.INFO: TCP Data received {"connection_id":125927,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:04:03] local.INFO: Processing buffer {"connection_id":125927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:04:03] local.INFO: IMEI packet received {"connection_id":125927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":125927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:04:03] local.INFO: TCP Data received {"connection_id":125927,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42243cf8012d196680071ff078003e014225..."} 
[2026-07-08 20:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42243cf8012d196680071ff078003e014225..."} 
[2026-07-08 20:04:03] local.INFO: Processing buffer {"connection_id":125927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42243cf8012d196680071ff078003e014225..."} 
[2026-07-08 20:04:03] local.INFO: Packet analysis {"connection_id":125927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4224"} 
[2026-07-08 20:04:03] local.INFO: Extracted packet for processing {"connection_id":125927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4224"} 
[2026-07-08 20:04:03] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581395968001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783521099000,"timestamp_ms":1783521099000,"timestamp_seconds":1783521099,"priority":1,"record_length":96,"hex_timestamp":"0000019f42243cf8"} 
[2026-07-08 20:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 20:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:04:03] 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-07-08 20:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581395968001,"66":12374,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581395968001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:04:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:04:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581395968001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":125927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:04:04] local.INFO: GPS data processed {"connection_id":125927,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:04:04] local.INFO: Acknowledgment sent {"connection_id":125927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:04:10] local.INFO: TCP Data received {"connection_id":127908,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:04:10] local.INFO: Processing buffer {"connection_id":127908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:04:10] local.INFO: IMEI packet received {"connection_id":127908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":127908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:04:22] local.INFO: TCP Data received {"connection_id":127908,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:04:22] local.INFO: Processing buffer {"connection_id":127908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:04:22] local.INFO: IMEI packet received {"connection_id":127908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":127908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:04:22] local.INFO: TCP Data received {"connection_id":127908,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42258518012d7a410005e49140000a014b2a..."} 
[2026-07-08 20:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42258518012d7a410005e49140000a014b2a..."} 
[2026-07-08 20:04:22] local.INFO: Processing buffer {"connection_id":127908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42258518012d7a410005e49140000a014b2a..."} 
[2026-07-08 20:04:22] local.INFO: Packet analysis {"connection_id":127908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4225"} 
[2026-07-08 20:04:22] local.INFO: Extracted packet for processing {"connection_id":127908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4225"} 
[2026-07-08 20:04:22] local.INFO: GPS Element Parsed {"raw_longitude":762986752,"raw_latitude":98865472,"longitude_deg":76.2986752,"latitude_deg":9.8865472,"altitude":10,"angle":331,"satellites":42,"speed":22,"hex_longitude":"2d7a4100","hex_latitude":"05e49140","is_valid_coordinates":true} 
[2026-07-08 20: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-07-08 20:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581419776001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343200288183681024,"note":"Value kept but may cause issues"} 
[2026-07-08 20:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8813966708537194496,"note":"Value kept but may cause issues"} 
[2026-07-08 20:04: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-07-08 20:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783521183000,"timestamp_ms":1783521183000,"timestamp_seconds":1783521183,"priority":1,"record_length":96,"hex_timestamp":"0000019f42258518"} 
[2026-07-08 20:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-08 20:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20: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-07-08 20:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":127908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":127908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":127908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581419776001,"66":27267,"39":206,"87":13824,"24":22,"16":343200288183681024,"45":8813966708537194496},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-08 20:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581419776001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:04:22] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-08 20:04:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 20:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343200288183681024,"km_value":343200288183681.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8813966708537194496,"description":"Unknown IO ID 45"} 
[2026-07-08 20:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581419776001,"power":27267,"unknown_39":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8813966708537194496}} 
[2026-07-08 20:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":127908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:04:22] local.INFO: GPS data processed {"connection_id":127908,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:04:22] local.INFO: Acknowledgment sent {"connection_id":127908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:04:23] local.INFO: TCP Data received {"connection_id":127908,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f422594b8012d7a3bc005e498300007013e29..."} 
[2026-07-08 20:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f422594b8012d7a3bc005e498300007013e29..."} 
[2026-07-08 20:04:23] local.INFO: Processing buffer {"connection_id":127908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f422594b8012d7a3bc005e498300007013e29..."} 
[2026-07-08 20:04:23] local.INFO: Packet analysis {"connection_id":127908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4225"} 
[2026-07-08 20:04:23] local.INFO: Extracted packet for processing {"connection_id":127908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4225"} 
[2026-07-08 20:04:23] local.INFO: GPS Element Parsed {"raw_longitude":762985408,"raw_latitude":98867248,"longitude_deg":76.2985408,"latitude_deg":9.8867248,"altitude":7,"angle":318,"satellites":41,"speed":26,"hex_longitude":"2d7a3bc0","hex_latitude":"05e49830","is_valid_coordinates":true} 
[2026-07-08 20:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581422848001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343200395557863424,"note":"Value kept but may cause issues"} 
[2026-07-08 20:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809322371422961664,"note":"Value kept but may cause issues"} 
[2026-07-08 20:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783521187000,"timestamp_ms":1783521187000,"timestamp_seconds":1783521187,"priority":1,"record_length":96,"hex_timestamp":"0000019f422594b8"} 
[2026-07-08 20:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:04:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:04: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 20:04:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:04:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":127908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":127908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":127908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:04:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581422848001,"66":27343,"39":206,"87":13824,"24":26,"16":343200395557863424,"45":8809322371422961664},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-08 20:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581422848001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:04:23] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-08 20:04:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 20:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343200395557863424,"km_value":343200395557863.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809322371422961664,"description":"Unknown IO ID 45"} 
[2026-07-08 20:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581422848001,"power":27343,"unknown_39":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8809322371422961664}} 
[2026-07-08 20:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":127908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:04:23] local.INFO: GPS data processed {"connection_id":127908,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:04:23] local.INFO: Acknowledgment sent {"connection_id":127908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:04:35] local.INFO: TCP Data received {"connection_id":125927,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42248f00012d196680071ff078003e014227..."} 
[2026-07-08 20:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42248f00012d196680071ff078003e014227..."} 
[2026-07-08 20:04:35] local.INFO: Processing buffer {"connection_id":125927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42248f00012d196680071ff078003e014227..."} 
[2026-07-08 20:04:35] local.INFO: Packet analysis {"connection_id":125927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4224"} 
[2026-07-08 20:04:35] local.INFO: Extracted packet for processing {"connection_id":125927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4224"} 
[2026-07-08 20:04:35] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581401344001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783521120000,"timestamp_ms":1783521120000,"timestamp_seconds":1783521120,"priority":1,"record_length":96,"hex_timestamp":"0000019f42248f00"} 
[2026-07-08 20:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 20:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581401344001,"66":12069,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581401344001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:04:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:04:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581401344001,"power":12069,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":125927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:04:35] local.INFO: GPS data processed {"connection_id":125927,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:04:35] local.INFO: Acknowledgment sent {"connection_id":125927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:04:59] local.INFO: TCP Data received {"connection_id":126692,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:04:59] local.INFO: Processing buffer {"connection_id":126692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:04:59] local.INFO: IMEI packet received {"connection_id":126692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":126692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:05:00] local.INFO: TCP Data received {"connection_id":125929,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:05:00] local.INFO: Processing buffer {"connection_id":125929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:05:00] local.INFO: IMEI packet received {"connection_id":125929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":125929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:05:01] local.INFO: TCP Data received {"connection_id":125929,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:05:01] local.INFO: Processing buffer {"connection_id":125929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:05:01] local.INFO: IMEI packet received {"connection_id":125929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":125929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:05:01] local.INFO: TCP Data received {"connection_id":125929,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4225c398012d7a26c005e4b6c00006014525..."} 
[2026-07-08 20:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4225c398012d7a26c005e4b6c00006014525..."} 
[2026-07-08 20:05:01] local.INFO: Processing buffer {"connection_id":125929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4225c398012d7a26c005e4b6c00006014525..."} 
[2026-07-08 20:05:01] local.INFO: Packet analysis {"connection_id":125929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4225"} 
[2026-07-08 20:05:01] local.INFO: Extracted packet for processing {"connection_id":125929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4225"} 
[2026-07-08 20:05:01] local.INFO: GPS Element Parsed {"raw_longitude":762980032,"raw_latitude":98875072,"longitude_deg":76.2980032,"latitude_deg":9.8875072,"altitude":6,"angle":325,"satellites":37,"speed":37,"hex_longitude":"2d7a26c0","hex_latitude":"05e4b6c0","is_valid_coordinates":true} 
[2026-07-08 20:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581423872001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343200855119364096,"note":"Value kept but may cause issues"} 
[2026-07-08 20:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807844627795685376,"note":"Value kept but may cause issues"} 
[2026-07-08 20:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783521199000,"timestamp_ms":1783521199000,"timestamp_seconds":1783521199,"priority":1,"record_length":96,"hex_timestamp":"0000019f4225c398"} 
[2026-07-08 20:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 20:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:05:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581423872001,"66":27332,"39":206,"87":13824,"24":37,"16":343200855119364096,"45":8807844627795685376},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-08 20:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581423872001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:05:01] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-08 20:05:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 20:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343200855119364096,"km_value":343200855119364.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807844627795685376,"description":"Unknown IO ID 45"} 
[2026-07-08 20:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581423872001,"power":27332,"unknown_39":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8807844627795685376}} 
[2026-07-08 20:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":125929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:05:01] local.INFO: GPS data processed {"connection_id":125929,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:05:01] local.INFO: Acknowledgment sent {"connection_id":125929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:05:05] local.INFO: TCP Data received {"connection_id":125929,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4225e6c0012d7a124005e4d4080007014528..."} 
[2026-07-08 20:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4225e6c0012d7a124005e4d4080007014528..."} 
[2026-07-08 20:05:05] local.INFO: Processing buffer {"connection_id":125929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4225e6c0012d7a124005e4d4080007014528..."} 
[2026-07-08 20:05:05] local.INFO: Packet analysis {"connection_id":125929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4225"} 
[2026-07-08 20:05:05] local.INFO: Extracted packet for processing {"connection_id":125929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4225"} 
[2026-07-08 20:05:05] local.INFO: GPS Element Parsed {"raw_longitude":762974784,"raw_latitude":98882568,"longitude_deg":76.2974784,"latitude_deg":9.8882568,"altitude":7,"angle":325,"satellites":40,"speed":42,"hex_longitude":"2d7a1240","hex_latitude":"05e4d408","is_valid_coordinates":true} 
[2026-07-08 20:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581426944001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343201297500995584,"note":"Value kept but may cause issues"} 
[2026-07-08 20:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801933653286764544,"note":"Value kept but may cause issues"} 
[2026-07-08 20:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783521208000,"timestamp_ms":1783521208000,"timestamp_seconds":1783521208,"priority":1,"record_length":96,"hex_timestamp":"0000019f4225e6c0"} 
[2026-07-08 20:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-08 20:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581426944001,"66":27310,"39":206,"87":13824,"24":42,"16":343201297500995584,"45":8801933653286764544},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-08 20:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581426944001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:05:05] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-08 20:05:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 20:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343201297500995584,"km_value":343201297500995.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801933653286764544,"description":"Unknown IO ID 45"} 
[2026-07-08 20:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581426944001,"power":27310,"unknown_39":206,"unknown_87":13824,"ignition":42,"odometer":null,"unknown_45":8801933653286764544}} 
[2026-07-08 20:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":125929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:05:05] local.INFO: GPS data processed {"connection_id":125929,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:05:05] local.INFO: Acknowledgment sent {"connection_id":125929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:05:07] local.INFO: TCP Data received {"connection_id":126692,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:05:07] local.INFO: Processing buffer {"connection_id":126692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:05:07] local.INFO: IMEI packet received {"connection_id":126692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":126692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:05:09] local.INFO: TCP Data received {"connection_id":126692,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4224e108012d196680071ff078003e014222..."} 
[2026-07-08 20:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4224e108012d196680071ff078003e014222..."} 
[2026-07-08 20:05:09] local.INFO: Processing buffer {"connection_id":126692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4224e108012d196680071ff078003e014222..."} 
[2026-07-08 20:05:09] local.INFO: Packet analysis {"connection_id":126692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4224"} 
[2026-07-08 20:05:09] local.INFO: Extracted packet for processing {"connection_id":126692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4224"} 
[2026-07-08 20:05:09] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581406720001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783521141000,"timestamp_ms":1783521141000,"timestamp_seconds":1783521141,"priority":1,"record_length":96,"hex_timestamp":"0000019f4224e108"} 
[2026-07-08 20:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-08 20:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:05:09] 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-07-08 20:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581406720001,"66":12341,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581406720001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:05:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:05:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581406720001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":126692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:05:09] local.INFO: GPS data processed {"connection_id":126692,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:05:09] local.INFO: Acknowledgment sent {"connection_id":126692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:05:26] local.INFO: TCP Data received {"connection_id":125928,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125928,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:05:26] local.INFO: Processing buffer {"connection_id":125928,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:05:26] local.INFO: IMEI packet received {"connection_id":125928,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 20:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":125928,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:05:37] local.INFO: TCP Data received {"connection_id":125929,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42260600012d79fec005e4f1200006014a26..."} 
[2026-07-08 20:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42260600012d79fec005e4f1200006014a26..."} 
[2026-07-08 20:05:37] local.INFO: Processing buffer {"connection_id":125929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42260600012d79fec005e4f1200006014a26..."} 
[2026-07-08 20:05:37] local.INFO: Packet analysis {"connection_id":125929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4226"} 
[2026-07-08 20:05:37] local.INFO: Extracted packet for processing {"connection_id":125929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4226"} 
[2026-07-08 20:05:37] local.INFO: GPS Element Parsed {"raw_longitude":762969792,"raw_latitude":98890016,"longitude_deg":76.2969792,"latitude_deg":9.8890016,"altitude":6,"angle":330,"satellites":38,"speed":42,"hex_longitude":"2d79fec0","hex_latitude":"05e4f120","is_valid_coordinates":true} 
[2026-07-08 20:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581429248001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343201726997725184,"note":"Value kept but may cause issues"} 
[2026-07-08 20:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796163416266115072,"note":"Value kept but may cause issues"} 
[2026-07-08 20:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783521216000,"timestamp_ms":1783521216000,"timestamp_seconds":1783521216,"priority":1,"record_length":96,"hex_timestamp":"0000019f42260600"} 
[2026-07-08 20:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-08 20:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581429248001,"66":27365,"39":206,"87":13824,"24":42,"16":343201726997725184,"45":8796163416266115072},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-08 20:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581429248001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:05:37] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-08 20:05:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 20:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343201726997725184,"km_value":343201726997725.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796163416266115072,"description":"Unknown IO ID 45"} 
[2026-07-08 20:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581429248001,"power":27365,"unknown_39":206,"unknown_87":13824,"ignition":42,"odometer":null,"unknown_45":8796163416266115072}} 
[2026-07-08 20:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":125929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:05:37] local.INFO: GPS data processed {"connection_id":125929,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:05:37] local.INFO: Acknowledgment sent {"connection_id":125929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:05:40] local.INFO: TCP Data received {"connection_id":126692,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42253310012d196680071ff078003e014226..."} 
[2026-07-08 20:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42253310012d196680071ff078003e014226..."} 
[2026-07-08 20:05:40] local.INFO: Processing buffer {"connection_id":126692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42253310012d196680071ff078003e014226..."} 
[2026-07-08 20:05:40] local.INFO: Packet analysis {"connection_id":126692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4225"} 
[2026-07-08 20:05:40] local.INFO: Extracted packet for processing {"connection_id":126692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4225"} 
[2026-07-08 20:05:40] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581412096001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:05: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-07-08 20:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783521162000,"timestamp_ms":1783521162000,"timestamp_seconds":1783521162,"priority":1,"record_length":96,"hex_timestamp":"0000019f42253310"} 
[2026-07-08 20:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 20:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:05:40] 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-07-08 20:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581412096001,"66":12341,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581412096001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:05:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:05:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581412096001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":126692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:05:40] local.INFO: GPS data processed {"connection_id":126692,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:05:40] local.INFO: Acknowledgment sent {"connection_id":126692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:05:59] local.INFO: TCP Data received {"connection_id":125800,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:05:59] local.INFO: Processing buffer {"connection_id":125800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:05:59] local.INFO: IMEI packet received {"connection_id":125800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":125800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:06:00] local.INFO: TCP Data received {"connection_id":125801,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:06:00] local.INFO: Processing buffer {"connection_id":125801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:06:00] local.INFO: IMEI packet received {"connection_id":125801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":125801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:06:01] local.INFO: TCP Data received {"connection_id":127909,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127909,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:06:01] local.INFO: Processing buffer {"connection_id":127909,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:06:01] local.INFO: IMEI packet received {"connection_id":127909,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 20:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":127909,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:06:01] local.INFO: TCP Data received {"connection_id":125801,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:06:01] local.INFO: Processing buffer {"connection_id":125801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:06:01] local.INFO: IMEI packet received {"connection_id":125801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":125801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:06:04] local.INFO: TCP Data received {"connection_id":125800,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:06:04] local.INFO: Processing buffer {"connection_id":125800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:06:04] local.INFO: IMEI packet received {"connection_id":125800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":125800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:06:05] local.INFO: TCP Data received {"connection_id":125800,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42258518012d196680071ff078003e014227..."} 
[2026-07-08 20:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42258518012d196680071ff078003e014227..."} 
[2026-07-08 20:06:05] local.INFO: Processing buffer {"connection_id":125800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42258518012d196680071ff078003e014227..."} 
[2026-07-08 20:06:05] local.INFO: Packet analysis {"connection_id":125800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4225"} 
[2026-07-08 20:06:05] local.INFO: Extracted packet for processing {"connection_id":125800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4225"} 
[2026-07-08 20:06:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581417472001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783521183000,"timestamp_ms":1783521183000,"timestamp_seconds":1783521183,"priority":1,"record_length":96,"hex_timestamp":"0000019f42258518"} 
[2026-07-08 20:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 20:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:06:05] 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-07-08 20:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581417472001,"66":12385,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581417472001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:06:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:06:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581417472001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":125800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:06:05] local.INFO: GPS data processed {"connection_id":125800,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:06:05] local.INFO: Acknowledgment sent {"connection_id":125800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:06:05] local.INFO: TCP Data received {"connection_id":125801,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:06:05] local.INFO: Processing buffer {"connection_id":125801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:06:05] local.INFO: IMEI packet received {"connection_id":125801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":125801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:06:06] local.INFO: TCP Data received {"connection_id":125801,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f422611b8012d79fa0005e4fc98000601582b..."} 
[2026-07-08 20:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f422611b8012d79fa0005e4fc98000601582b..."} 
[2026-07-08 20:06:06] local.INFO: Processing buffer {"connection_id":125801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f422611b8012d79fa0005e4fc98000601582b..."} 
[2026-07-08 20:06:06] local.INFO: Packet analysis {"connection_id":125801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4226"} 
[2026-07-08 20:06:06] local.INFO: Extracted packet for processing {"connection_id":125801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4226"} 
[2026-07-08 20:06:06] local.INFO: GPS Element Parsed {"raw_longitude":762968576,"raw_latitude":98892952,"longitude_deg":76.2968576,"latitude_deg":9.8892952,"altitude":6,"angle":344,"satellites":43,"speed":41,"hex_longitude":"2d79fa00","hex_latitude":"05e4fc98","is_valid_coordinates":true} 
[2026-07-08 20:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581431296001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343201881616547840,"note":"Value kept but may cause issues"} 
[2026-07-08 20:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8790674654222163968,"note":"Value kept but may cause issues"} 
[2026-07-08 20:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783521219000,"timestamp_ms":1783521219000,"timestamp_seconds":1783521219,"priority":1,"record_length":96,"hex_timestamp":"0000019f422611b8"} 
[2026-07-08 20:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 20:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581431296001,"66":27213,"39":206,"87":13824,"24":41,"16":343201881616547840,"45":8790674654222163968},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-08 20:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581431296001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:06:06] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-08 20:06:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 20:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343201881616547840,"km_value":343201881616547.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8790674654222163968,"description":"Unknown IO ID 45"} 
[2026-07-08 20:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581431296001,"power":27213,"unknown_39":206,"unknown_87":13824,"ignition":41,"odometer":null,"unknown_45":8790674654222163968}} 
[2026-07-08 20:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":125801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:06:06] local.INFO: GPS data processed {"connection_id":125801,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:06:06] local.INFO: Acknowledgment sent {"connection_id":125801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:06:36] local.INFO: TCP Data received {"connection_id":125800,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4225d720012d196680071ff078003e014227..."} 
[2026-07-08 20:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4225d720012d196680071ff078003e014227..."} 
[2026-07-08 20:06:36] local.INFO: Processing buffer {"connection_id":125800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4225d720012d196680071ff078003e014227..."} 
[2026-07-08 20:06:36] local.INFO: Packet analysis {"connection_id":125800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4225"} 
[2026-07-08 20:06:36] local.INFO: Extracted packet for processing {"connection_id":125800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4225"} 
[2026-07-08 20:06:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20: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-07-08 20:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581422848001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783521204000,"timestamp_ms":1783521204000,"timestamp_seconds":1783521204,"priority":1,"record_length":96,"hex_timestamp":"0000019f4225d720"} 
[2026-07-08 20:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 20:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20: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-07-08 20:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:06:36] 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-07-08 20:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581422848001,"66":12385,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581422848001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:06:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:06:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581422848001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":125800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:06:36] local.INFO: GPS data processed {"connection_id":125800,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:06:36] local.INFO: Acknowledgment sent {"connection_id":125800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:06:37] local.INFO: TCP Data received {"connection_id":125801,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f422638c8012d79f20005e520980007015c2b..."} 
[2026-07-08 20:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f422638c8012d79f20005e520980007015c2b..."} 
[2026-07-08 20:06:37] local.INFO: Processing buffer {"connection_id":125801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f422638c8012d79f20005e520980007015c2b..."} 
[2026-07-08 20:06:37] local.INFO: Packet analysis {"connection_id":125801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4226"} 
[2026-07-08 20:06:37] local.INFO: Extracted packet for processing {"connection_id":125801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4226"} 
[2026-07-08 20:06:37] local.INFO: GPS Element Parsed {"raw_longitude":762966528,"raw_latitude":98902168,"longitude_deg":76.2966528,"latitude_deg":9.8902168,"altitude":7,"angle":348,"satellites":43,"speed":23,"hex_longitude":"2d79f200","hex_latitude":"05e52098","is_valid_coordinates":true} 
[2026-07-08 20:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581432064001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343202341178048512,"note":"Value kept but may cause issues"} 
[2026-07-08 20:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789337648083539968,"note":"Value kept but may cause issues"} 
[2026-07-08 20:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783521229000,"timestamp_ms":1783521229000,"timestamp_seconds":1783521229,"priority":1,"record_length":96,"hex_timestamp":"0000019f422638c8"} 
[2026-07-08 20:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-08 20:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581432064001,"66":27365,"182":206,"87":13824,"24":23,"16":343202341178048512,"45":8789337648083539968},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-07-08 20:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581432064001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:06:37] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-08 20:06:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 20:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343202341178048512,"km_value":343202341178048.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789337648083539968,"description":"Unknown IO ID 45"} 
[2026-07-08 20:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581432064001,"power":27365,"unknown_182":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8789337648083539968}} 
[2026-07-08 20:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":125801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:06:37] local.INFO: GPS data processed {"connection_id":125801,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:06:37] local.INFO: Acknowledgment sent {"connection_id":125801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:07:00] local.INFO: TCP Data received {"connection_id":125930,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:07:00] local.INFO: Processing buffer {"connection_id":125930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:07:00] local.INFO: IMEI packet received {"connection_id":125930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":125930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:07:02] local.INFO: TCP Data received {"connection_id":125930,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:07:02] local.INFO: Processing buffer {"connection_id":125930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:07:02] local.INFO: IMEI packet received {"connection_id":125930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":125930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:07:04] local.INFO: TCP Data received {"connection_id":125930,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42282110012d79c0c005e668900003015f2b..."} 
[2026-07-08 20:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42282110012d79c0c005e668900003015f2b..."} 
[2026-07-08 20:07:04] local.INFO: Processing buffer {"connection_id":125930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42282110012d79c0c005e668900003015f2b..."} 
[2026-07-08 20:07:04] local.INFO: Packet analysis {"connection_id":125930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4228"} 
[2026-07-08 20:07:04] local.INFO: Extracted packet for processing {"connection_id":125930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4228"} 
[2026-07-08 20:07:04] local.INFO: GPS Element Parsed {"raw_longitude":762953920,"raw_latitude":98986128,"longitude_deg":76.295392,"latitude_deg":9.8986128,"altitude":3,"angle":351,"satellites":43,"speed":26,"hex_longitude":"2d79c0c0","hex_latitude":"05e66890","is_valid_coordinates":true} 
[2026-07-08 20: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-07-08 20:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581463552001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343206494411423744,"note":"Value kept but may cause issues"} 
[2026-07-08 20:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8774771318060326912,"note":"Value kept but may cause issues"} 
[2026-07-08 20:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783521354000,"timestamp_ms":1783521354000,"timestamp_seconds":1783521354,"priority":1,"record_length":96,"hex_timestamp":"0000019f42282110"} 
[2026-07-08 20:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-08 20:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20: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-07-08 20:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581463552001,"66":27245,"181":206,"87":13824,"24":26,"16":343206494411423744,"45":8774771318060326912},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,87,24,16,45]} 
[2026-07-08 20:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581463552001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:07:04] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-07-08 20:07:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 20:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343206494411423744,"km_value":343206494411423.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8774771318060326912,"description":"Unknown IO ID 45"} 
[2026-07-08 20:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581463552001,"power":27245,"unknown_181":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8774771318060326912}} 
[2026-07-08 20:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":125930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:07:04] local.INFO: GPS data processed {"connection_id":125930,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:07:04] local.INFO: Acknowledgment sent {"connection_id":125930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:07:04] local.INFO: TCP Data received {"connection_id":125802,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:07:04] local.INFO: Processing buffer {"connection_id":125802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:07:04] local.INFO: IMEI packet received {"connection_id":125802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":125802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:07:05] local.INFO: TCP Data received {"connection_id":125930,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42285f90012d79be4005e68d700005015f26..."} 
[2026-07-08 20:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42285f90012d79be4005e68d700005015f26..."} 
[2026-07-08 20:07:05] local.INFO: Processing buffer {"connection_id":125930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42285f90012d79be4005e68d700005015f26..."} 
[2026-07-08 20:07:05] local.INFO: Packet analysis {"connection_id":125930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4228"} 
[2026-07-08 20:07:05] local.INFO: Extracted packet for processing {"connection_id":125930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4228"} 
[2026-07-08 20:07:05] local.INFO: GPS Element Parsed {"raw_longitude":762953280,"raw_latitude":98995568,"longitude_deg":76.295328,"latitude_deg":9.8995568,"altitude":5,"angle":351,"satellites":38,"speed":23,"hex_longitude":"2d79be40","hex_latitude":"05e68d70","is_valid_coordinates":true} 
[2026-07-08 20:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581466624001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343206953972924416,"note":"Value kept but may cause issues"} 
[2026-07-08 20:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8773223205690707968,"note":"Value kept but may cause issues"} 
[2026-07-08 20:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783521370000,"timestamp_ms":1783521370000,"timestamp_seconds":1783521370,"priority":1,"record_length":96,"hex_timestamp":"0000019f42285f90"} 
[2026-07-08 20:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-08 20:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581466624001,"66":27300,"181":206,"87":13824,"24":23,"16":343206953972924416,"45":8773223205690707968},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,87,24,16,45]} 
[2026-07-08 20:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581466624001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:07:05] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-07-08 20:07:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 20:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343206953972924416,"km_value":343206953972924.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8773223205690707968,"description":"Unknown IO ID 45"} 
[2026-07-08 20:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581466624001,"power":27300,"unknown_181":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8773223205690707968}} 
[2026-07-08 20:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":125930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:07:05] local.INFO: GPS data processed {"connection_id":125930,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:07:05] local.INFO: Acknowledgment sent {"connection_id":125930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:07:09] local.INFO: TCP Data received {"connection_id":125802,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:07:09] local.INFO: Processing buffer {"connection_id":125802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:07:09] local.INFO: IMEI packet received {"connection_id":125802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":125802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:07:10] local.INFO: TCP Data received {"connection_id":125802,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42262928012d196680071ff078003e014227..."} 
[2026-07-08 20:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42262928012d196680071ff078003e014227..."} 
[2026-07-08 20:07:10] local.INFO: Processing buffer {"connection_id":125802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42262928012d196680071ff078003e014227..."} 
[2026-07-08 20:07:10] local.INFO: Packet analysis {"connection_id":125802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4226"} 
[2026-07-08 20:07:10] local.INFO: Extracted packet for processing {"connection_id":125802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4226"} 
[2026-07-08 20:07:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581428224001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:07: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-07-08 20:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783521225000,"timestamp_ms":1783521225000,"timestamp_seconds":1783521225,"priority":1,"record_length":96,"hex_timestamp":"0000019f42262928"} 
[2026-07-08 20:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-08 20:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:07:10] 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-07-08 20:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581428224001,"66":12341,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581428224001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:07:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:07:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581428224001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":125802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:07:10] local.INFO: GPS data processed {"connection_id":125802,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:07:10] local.INFO: Acknowledgment sent {"connection_id":125802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:07:11] local.INFO: TCP Data received {"connection_id":125802,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42267b30012d196680071ff078003e014228..."} 
[2026-07-08 20:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42267b30012d196680071ff078003e014228..."} 
[2026-07-08 20:07:11] local.INFO: Processing buffer {"connection_id":125802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42267b30012d196680071ff078003e014228..."} 
[2026-07-08 20:07:11] local.INFO: Packet analysis {"connection_id":125802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4226"} 
[2026-07-08 20:07:11] local.INFO: Extracted packet for processing {"connection_id":125802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4226"} 
[2026-07-08 20:07:11] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581433600001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:07: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-07-08 20:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783521246000,"timestamp_ms":1783521246000,"timestamp_seconds":1783521246,"priority":1,"record_length":96,"hex_timestamp":"0000019f42267b30"} 
[2026-07-08 20:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 20:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:07:11] 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-07-08 20:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581433600001,"66":12374,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581433600001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:07:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:07:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581433600001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":125802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:07:11] local.INFO: GPS data processed {"connection_id":125802,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:07:11] local.INFO: Acknowledgment sent {"connection_id":125802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:07:36] local.INFO: TCP Data received {"connection_id":125930,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42289640012d79bb0005e6b1e80007016326..."} 
[2026-07-08 20:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42289640012d79bb0005e6b1e80007016326..."} 
[2026-07-08 20:07:36] local.INFO: Processing buffer {"connection_id":125930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42289640012d79bb0005e6b1e80007016326..."} 
[2026-07-08 20:07:36] local.INFO: Packet analysis {"connection_id":125930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4228"} 
[2026-07-08 20:07:36] local.INFO: Extracted packet for processing {"connection_id":125930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4228"} 
[2026-07-08 20:07:36] local.INFO: GPS Element Parsed {"raw_longitude":762952448,"raw_latitude":99004904,"longitude_deg":76.2952448,"latitude_deg":9.9004904,"altitude":7,"angle":355,"satellites":38,"speed":23,"hex_longitude":"2d79bb00","hex_latitude":"05e6b1e8","is_valid_coordinates":true} 
[2026-07-08 20:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581470720001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343207409239457792,"note":"Value kept but may cause issues"} 
[2026-07-08 20:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8772519518251347968,"note":"Value kept but may cause issues"} 
[2026-07-08 20:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783521384000,"timestamp_ms":1783521384000,"timestamp_seconds":1783521384,"priority":1,"record_length":96,"hex_timestamp":"0000019f42289640"} 
[2026-07-08 20:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-08 20:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581470720001,"66":27376,"181":206,"87":13824,"24":23,"16":343207409239457792,"45":8772519518251347968},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,87,24,16,45]} 
[2026-07-08 20:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581470720001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:07:36] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-07-08 20:07:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 20:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343207409239457792,"km_value":343207409239457.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8772519518251347968,"description":"Unknown IO ID 45"} 
[2026-07-08 20:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581470720001,"power":27376,"unknown_181":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8772519518251347968}} 
[2026-07-08 20:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":125930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:07:36] local.INFO: GPS data processed {"connection_id":125930,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:07:36] local.INFO: Acknowledgment sent {"connection_id":125930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:07:43] local.INFO: TCP Data received {"connection_id":125802,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4226cd38012d196680071ff078003e014225..."} 
[2026-07-08 20:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4226cd38012d196680071ff078003e014225..."} 
[2026-07-08 20:07:43] local.INFO: Processing buffer {"connection_id":125802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4226cd38012d196680071ff078003e014225..."} 
[2026-07-08 20:07:43] local.INFO: Packet analysis {"connection_id":125802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4226"} 
[2026-07-08 20:07:43] local.INFO: Extracted packet for processing {"connection_id":125802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4226"} 
[2026-07-08 20:07:43] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581438976001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:07:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:07: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-07-08 20:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783521267000,"timestamp_ms":1783521267000,"timestamp_seconds":1783521267,"priority":1,"record_length":96,"hex_timestamp":"0000019f4226cd38"} 
[2026-07-08 20:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:07:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 20:07:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:07:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":125802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":125802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":125802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:07:43] 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-07-08 20:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581438976001,"66":12363,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581438976001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:07:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:07:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:07:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581438976001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":125802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:07:43] local.INFO: GPS data processed {"connection_id":125802,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:07:43] local.INFO: Acknowledgment sent {"connection_id":125802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:07:55] local.INFO: TCP Data received {"connection_id":127911,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:07:55] local.INFO: Processing buffer {"connection_id":127911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:07:55] local.INFO: IMEI packet received {"connection_id":127911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":127911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:07:59] local.INFO: TCP Data received {"connection_id":127912,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:07:59] local.INFO: Processing buffer {"connection_id":127912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:07:59] local.INFO: IMEI packet received {"connection_id":127912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":127912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:08:00] local.INFO: TCP Data received {"connection_id":127911,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:08:00] local.INFO: Processing buffer {"connection_id":127911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:08:00] local.INFO: IMEI packet received {"connection_id":127911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":127911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:08:01] local.INFO: TCP Data received {"connection_id":127911,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4228d4c0012d79b78005e6d5b0000901642a..."} 
[2026-07-08 20:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4228d4c0012d79b78005e6d5b0000901642a..."} 
[2026-07-08 20:08:01] local.INFO: Processing buffer {"connection_id":127911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4228d4c0012d79b78005e6d5b0000901642a..."} 
[2026-07-08 20:08:01] local.INFO: Packet analysis {"connection_id":127911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4228"} 
[2026-07-08 20:08:01] local.INFO: Extracted packet for processing {"connection_id":127911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4228"} 
[2026-07-08 20:08:01] local.INFO: GPS Element Parsed {"raw_longitude":762951552,"raw_latitude":99014064,"longitude_deg":76.2951552,"latitude_deg":9.9014064,"altitude":9,"angle":356,"satellites":42,"speed":21,"hex_longitude":"2d79b780","hex_latitude":"05e6d5b0","is_valid_coordinates":true} 
[2026-07-08 20:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581474304001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343207855916056576,"note":"Value kept but may cause issues"} 
[2026-07-08 20:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771604724579428352,"note":"Value kept but may cause issues"} 
[2026-07-08 20:08:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783521400000,"timestamp_ms":1783521400000,"timestamp_seconds":1783521400,"priority":1,"record_length":96,"hex_timestamp":"0000019f4228d4c0"} 
[2026-07-08 20:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 20:08:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:08:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581474304001,"66":27332,"202":206,"87":13824,"24":21,"16":343207855916056576,"45":8771604724579428352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-08 20:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581474304001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:08:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 20:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343207855916056576,"km_value":343207855916056.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771604724579428352,"description":"Unknown IO ID 45"} 
[2026-07-08 20:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581474304001,"power":27332,"mcc":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8771604724579428352}} 
[2026-07-08 20:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":127911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:08:01] local.INFO: GPS data processed {"connection_id":127911,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:08:01] local.INFO: Acknowledgment sent {"connection_id":127911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:08:04] local.INFO: TCP Data received {"connection_id":127912,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:08:04] local.INFO: Processing buffer {"connection_id":127912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:08:04] local.INFO: IMEI packet received {"connection_id":127912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":127912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:08:05] local.INFO: TCP Data received {"connection_id":127912,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42271f40012d196680071ff078003e014225..."} 
[2026-07-08 20:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42271f40012d196680071ff078003e014225..."} 
[2026-07-08 20:08:05] local.INFO: Processing buffer {"connection_id":127912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42271f40012d196680071ff078003e014225..."} 
[2026-07-08 20:08:05] local.INFO: Packet analysis {"connection_id":127912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4227"} 
[2026-07-08 20:08:05] local.INFO: Extracted packet for processing {"connection_id":127912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4227"} 
[2026-07-08 20:08:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581444352001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783521288000,"timestamp_ms":1783521288000,"timestamp_seconds":1783521288,"priority":1,"record_length":96,"hex_timestamp":"0000019f42271f40"} 
[2026-07-08 20:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-08 20:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:08:05] 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-07-08 20:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581444352001,"66":12374,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581444352001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:08:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:08:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581444352001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":127912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:08:05] local.INFO: GPS data processed {"connection_id":127912,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:08:05] local.INFO: Acknowledgment sent {"connection_id":127912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:08:10] local.INFO: TCP Data received {"connection_id":127912,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42277148012d196680071ff078003e014226..."} 
[2026-07-08 20:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42277148012d196680071ff078003e014226..."} 
[2026-07-08 20:08:10] local.INFO: Processing buffer {"connection_id":127912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42277148012d196680071ff078003e014226..."} 
[2026-07-08 20:08:10] local.INFO: Packet analysis {"connection_id":127912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4227"} 
[2026-07-08 20:08:10] local.INFO: Extracted packet for processing {"connection_id":127912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4227"} 
[2026-07-08 20:08:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581449728001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:08: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-07-08 20:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783521309000,"timestamp_ms":1783521309000,"timestamp_seconds":1783521309,"priority":1,"record_length":96,"hex_timestamp":"0000019f42277148"} 
[2026-07-08 20:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 20:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":127912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":127912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":127912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:08:10] 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-07-08 20:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581449728001,"66":12287,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581449728001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:08:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:08:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581449728001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":127912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:08:10] local.INFO: GPS data processed {"connection_id":127912,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:08:10] local.INFO: Acknowledgment sent {"connection_id":127912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:08:34] local.INFO: TCP Data received {"connection_id":127911,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42291340012d79b4c005e6f9b80008016428..."} 
[2026-07-08 20:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42291340012d79b4c005e6f9b80008016428..."} 
[2026-07-08 20:08:34] local.INFO: Processing buffer {"connection_id":127911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42291340012d79b4c005e6f9b80008016428..."} 
[2026-07-08 20:08:34] local.INFO: Packet analysis {"connection_id":127911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4229"} 
[2026-07-08 20:08:34] local.INFO: Extracted packet for processing {"connection_id":127911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4229"} 
[2026-07-08 20:08:34] local.INFO: GPS Element Parsed {"raw_longitude":762950848,"raw_latitude":99023288,"longitude_deg":76.2950848,"latitude_deg":9.9023288,"altitude":8,"angle":356,"satellites":40,"speed":23,"hex_longitude":"2d79b4c0","hex_latitude":"05e6f9b8","is_valid_coordinates":true} 
[2026-07-08 20:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581478400001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343208302592655360,"note":"Value kept but may cause issues"} 
[2026-07-08 20:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770619562163286016,"note":"Value kept but may cause issues"} 
[2026-07-08 20:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783521416000,"timestamp_ms":1783521416000,"timestamp_seconds":1783521416,"priority":1,"record_length":96,"hex_timestamp":"0000019f42291340"} 
[2026-07-08 20:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-08 20:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":127911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":127911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":127911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581478400001,"66":27213,"202":206,"87":13824,"24":23,"16":343208302592655360,"45":8770619562163286016},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-08 20:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581478400001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:08:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 20:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343208302592655360,"km_value":343208302592655.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770619562163286016,"description":"Unknown IO ID 45"} 
[2026-07-08 20:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581478400001,"power":27213,"mcc":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8770619562163286016}} 
[2026-07-08 20:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":127911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:08:34] local.INFO: GPS data processed {"connection_id":127911,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:08:34] local.INFO: Acknowledgment sent {"connection_id":127911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:08:41] local.INFO: TCP Data received {"connection_id":127912,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4227c350012d196680071ff078003e014225..."} 
[2026-07-08 20:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4227c350012d196680071ff078003e014225..."} 
[2026-07-08 20:08:41] local.INFO: Processing buffer {"connection_id":127912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4227c350012d196680071ff078003e014225..."} 
[2026-07-08 20:08:41] local.INFO: Packet analysis {"connection_id":127912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4227"} 
[2026-07-08 20:08:41] local.INFO: Extracted packet for processing {"connection_id":127912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4227"} 
[2026-07-08 20:08:41] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581455104001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20: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-07-08 20:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783521330000,"timestamp_ms":1783521330000,"timestamp_seconds":1783521330,"priority":1,"record_length":96,"hex_timestamp":"0000019f4227c350"} 
[2026-07-08 20:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 20:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":127912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":127912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":127912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:08: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-07-08 20:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581455104001,"66":12341,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581455104001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:08:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:08:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581455104001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":127912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:08:41] local.INFO: GPS data processed {"connection_id":127912,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:08:41] local.INFO: Acknowledgment sent {"connection_id":127912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:08:55] local.INFO: TCP Data received {"connection_id":125932,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:08:55] local.INFO: Processing buffer {"connection_id":125932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:08:55] local.INFO: IMEI packet received {"connection_id":125932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":125932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:08:56] local.INFO: TCP Data received {"connection_id":125932,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:08:56] local.INFO: Processing buffer {"connection_id":125932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:08:56] local.INFO: IMEI packet received {"connection_id":125932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":125932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:08:56] local.INFO: TCP Data received {"connection_id":127913,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:08:56] local.INFO: Processing buffer {"connection_id":127913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:08:56] local.INFO: IMEI packet received {"connection_id":127913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":127913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:08:59] local.INFO: TCP Data received {"connection_id":127913,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:08:59] local.INFO: Processing buffer {"connection_id":127913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:08:59] local.INFO: IMEI packet received {"connection_id":127913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":127913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:09:00] local.INFO: TCP Data received {"connection_id":125932,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:09:00] local.INFO: Processing buffer {"connection_id":125932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:09:00] local.INFO: IMEI packet received {"connection_id":125932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":125932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:09:04] local.INFO: TCP Data received {"connection_id":127913,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:09:04] local.INFO: Processing buffer {"connection_id":127913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:09:04] local.INFO: IMEI packet received {"connection_id":127913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":127913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:09:04] local.INFO: TCP Data received {"connection_id":125932,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42294dd8012d79b2c005e71c80000800002c..."} 
[2026-07-08 20:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42294dd8012d79b2c005e71c80000800002c..."} 
[2026-07-08 20:09:04] local.INFO: Processing buffer {"connection_id":125932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42294dd8012d79b2c005e71c80000800002c..."} 
[2026-07-08 20:09:04] local.INFO: Packet analysis {"connection_id":125932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4229"} 
[2026-07-08 20:09:04] local.INFO: Extracted packet for processing {"connection_id":125932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4229"} 
[2026-07-08 20:09:04] local.INFO: GPS Element Parsed {"raw_longitude":762950336,"raw_latitude":99032192,"longitude_deg":76.2950336,"latitude_deg":9.9032192,"altitude":8,"angle":0,"satellites":44,"speed":23,"hex_longitude":"2d79b2c0","hex_latitude":"05e71c80","is_valid_coordinates":true} 
[2026-07-08 20:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581482496001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343208736384352256,"note":"Value kept but may cause issues"} 
[2026-07-08 20:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8769845505979693056,"note":"Value kept but may cause issues"} 
[2026-07-08 20:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783521431000,"timestamp_ms":1783521431000,"timestamp_seconds":1783521431,"priority":1,"record_length":96,"hex_timestamp":"0000019f42294dd8"} 
[2026-07-08 20:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-08 20:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581482496001,"66":27397,"202":206,"87":13824,"24":23,"16":343208736384352256,"45":8769845505979693056},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-08 20:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581482496001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:09:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 20:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343208736384352256,"km_value":343208736384352.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8769845505979693056,"description":"Unknown IO ID 45"} 
[2026-07-08 20:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581482496001,"power":27397,"mcc":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8769845505979693056}} 
[2026-07-08 20:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":125932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:09:04] local.INFO: GPS data processed {"connection_id":125932,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:09:04] local.INFO: Acknowledgment sent {"connection_id":125932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:09:05] local.INFO: TCP Data received {"connection_id":127913,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42281558012d196680071ff078003e014221..."} 
[2026-07-08 20:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42281558012d196680071ff078003e014221..."} 
[2026-07-08 20:09:05] local.INFO: Processing buffer {"connection_id":127913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42281558012d196680071ff078003e014221..."} 
[2026-07-08 20:09:05] local.INFO: Packet analysis {"connection_id":127913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4228"} 
[2026-07-08 20:09:05] local.INFO: Extracted packet for processing {"connection_id":127913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4228"} 
[2026-07-08 20:09:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581460480001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783521351000,"timestamp_ms":1783521351000,"timestamp_seconds":1783521351,"priority":1,"record_length":96,"hex_timestamp":"0000019f42281558"} 
[2026-07-08 20:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 20:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:09:05] 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-07-08 20:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581460480001,"66":12341,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581460480001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:09:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:09:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581460480001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":127913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:09:05] local.INFO: GPS data processed {"connection_id":127913,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:09:05] local.INFO: Acknowledgment sent {"connection_id":127913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:09:36] local.INFO: TCP Data received {"connection_id":127913,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42286760012d196680071ff078003e014224..."} 
[2026-07-08 20:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42286760012d196680071ff078003e014224..."} 
[2026-07-08 20:09:36] local.INFO: Processing buffer {"connection_id":127913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42286760012d196680071ff078003e014224..."} 
[2026-07-08 20:09:36] local.INFO: Packet analysis {"connection_id":127913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4228"} 
[2026-07-08 20:09:36] local.INFO: Extracted packet for processing {"connection_id":127913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4228"} 
[2026-07-08 20:09:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581465856001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783521372000,"timestamp_ms":1783521372000,"timestamp_seconds":1783521372,"priority":1,"record_length":96,"hex_timestamp":"0000019f42286760"} 
[2026-07-08 20:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-08 20:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:09:36] 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-07-08 20:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581465856001,"66":12319,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581465856001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:09:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:09:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581465856001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":127913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:09:36] local.INFO: GPS data processed {"connection_id":127913,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:09:36] local.INFO: Acknowledgment sent {"connection_id":127913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:09:39] local.INFO: TCP Data received {"connection_id":125932,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42298870012d79b24005e740c00005000228..."} 
[2026-07-08 20:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42298870012d79b24005e740c00005000228..."} 
[2026-07-08 20:09:39] local.INFO: Processing buffer {"connection_id":125932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42298870012d79b24005e740c00005000228..."} 
[2026-07-08 20:09:39] local.INFO: Packet analysis {"connection_id":125932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4229"} 
[2026-07-08 20:09:39] local.INFO: Extracted packet for processing {"connection_id":125932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4229"} 
[2026-07-08 20:09:39] local.INFO: GPS Element Parsed {"raw_longitude":762950208,"raw_latitude":99041472,"longitude_deg":76.2950208,"latitude_deg":9.9041472,"altitude":5,"angle":2,"satellites":40,"speed":25,"hex_longitude":"2d79b240","hex_latitude":"05e740c0","is_valid_coordinates":true} 
[2026-07-08 20:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581486336001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343209187355918336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8769282556028551168,"note":"Value kept but may cause issues"} 
[2026-07-08 20:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783521446000,"timestamp_ms":1783521446000,"timestamp_seconds":1783521446,"priority":1,"record_length":96,"hex_timestamp":"0000019f42298870"} 
[2026-07-08 20:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-08 20:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581486336001,"66":27343,"202":206,"87":13824,"24":25,"16":343209187355918336,"45":8769282556028551168},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-08 20:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581486336001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:09:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 20:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343209187355918336,"km_value":343209187355918.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8769282556028551168,"description":"Unknown IO ID 45"} 
[2026-07-08 20:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581486336001,"power":27343,"mcc":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8769282556028551168}} 
[2026-07-08 20:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":125932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:09:39] local.INFO: GPS data processed {"connection_id":125932,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:09:39] local.INFO: Acknowledgment sent {"connection_id":125932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:09:59] local.INFO: TCP Data received {"connection_id":126694,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:09:59] local.INFO: Processing buffer {"connection_id":126694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:09:59] local.INFO: IMEI packet received {"connection_id":126694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":126694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:10:00] local.INFO: TCP Data received {"connection_id":126694,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:10:00] local.INFO: Processing buffer {"connection_id":126694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:10:00] local.INFO: IMEI packet received {"connection_id":126694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":126694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:10:04] local.INFO: TCP Data received {"connection_id":126694,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:10:04] local.INFO: Processing buffer {"connection_id":126694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:10:04] local.INFO: IMEI packet received {"connection_id":126694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":126694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:10:05] local.INFO: TCP Data received {"connection_id":127914,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:10:05] local.INFO: Processing buffer {"connection_id":127914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:10:05] local.INFO: IMEI packet received {"connection_id":127914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":127914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:10:05] local.INFO: TCP Data received {"connection_id":126694,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4228b968012d196680071ff078003e014229..."} 
[2026-07-08 20:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4228b968012d196680071ff078003e014229..."} 
[2026-07-08 20:10:05] local.INFO: Processing buffer {"connection_id":126694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4228b968012d196680071ff078003e014229..."} 
[2026-07-08 20:10:05] local.INFO: Packet analysis {"connection_id":126694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4228"} 
[2026-07-08 20:10:05] local.INFO: Extracted packet for processing {"connection_id":126694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4228"} 
[2026-07-08 20:10:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":41,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581471232001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783521393000,"timestamp_ms":1783521393000,"timestamp_seconds":1783521393,"priority":1,"record_length":96,"hex_timestamp":"0000019f4228b968"} 
[2026-07-08 20:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 20:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:10:05] 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-07-08 20:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581471232001,"66":12319,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581471232001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:10:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:10:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581471232001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":126694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:10:05] local.INFO: GPS data processed {"connection_id":126694,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:10:05] local.INFO: Acknowledgment sent {"connection_id":126694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:10:05] local.INFO: TCP Data received {"connection_id":127914,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:10:05] local.INFO: Processing buffer {"connection_id":127914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:10:05] local.INFO: IMEI packet received {"connection_id":127914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":127914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:10:09] local.INFO: TCP Data received {"connection_id":127914,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:10:09] local.INFO: Processing buffer {"connection_id":127914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:10:09] local.INFO: IMEI packet received {"connection_id":127914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":127914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:10:10] local.INFO: TCP Data received {"connection_id":127914,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4229c308012d79b44005e76480000500032d..."} 
[2026-07-08 20:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4229c308012d79b44005e76480000500032d..."} 
[2026-07-08 20:10:10] local.INFO: Processing buffer {"connection_id":127914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4229c308012d79b44005e76480000500032d..."} 
[2026-07-08 20:10:10] local.INFO: Packet analysis {"connection_id":127914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4229"} 
[2026-07-08 20:10:10] local.INFO: Extracted packet for processing {"connection_id":127914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4229"} 
[2026-07-08 20:10:10] local.INFO: GPS Element Parsed {"raw_longitude":762950720,"raw_latitude":99050624,"longitude_deg":76.295072,"latitude_deg":9.9050624,"altitude":5,"angle":3,"satellites":45,"speed":25,"hex_longitude":"2d79b440","hex_latitude":"05e76480","is_valid_coordinates":true} 
[2026-07-08 20: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-07-08 20:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581490176001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343209634032517120,"note":"Value kept but may cause issues"} 
[2026-07-08 20:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8769141818542571520,"note":"Value kept but may cause issues"} 
[2026-07-08 20:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783521461000,"timestamp_ms":1783521461000,"timestamp_seconds":1783521461,"priority":1,"record_length":96,"hex_timestamp":"0000019f4229c308"} 
[2026-07-08 20:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 20:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20: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-07-08 20:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":127914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":127914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":127914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581490176001,"66":27332,"202":206,"87":13824,"24":25,"16":343209634032517120,"45":8769141818542571520},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-08 20:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581490176001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:10:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 20:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343209634032517120,"km_value":343209634032517.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8769141818542571520,"description":"Unknown IO ID 45"} 
[2026-07-08 20:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581490176001,"power":27332,"mcc":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8769141818542571520}} 
[2026-07-08 20:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":127914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:10:10] local.INFO: GPS data processed {"connection_id":127914,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:10:10] local.INFO: Acknowledgment sent {"connection_id":127914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:10:11] local.INFO: TCP Data received {"connection_id":127914,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4229fda0012d79b74005e78780000700062c..."} 
[2026-07-08 20:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4229fda0012d79b74005e78780000700062c..."} 
[2026-07-08 20:10:11] local.INFO: Processing buffer {"connection_id":127914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4229fda0012d79b74005e78780000700062c..."} 
[2026-07-08 20:10:11] local.INFO: Packet analysis {"connection_id":127914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4229"} 
[2026-07-08 20:10:11] local.INFO: Extracted packet for processing {"connection_id":127914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4229"} 
[2026-07-08 20:10:11] local.INFO: GPS Element Parsed {"raw_longitude":762951488,"raw_latitude":99059584,"longitude_deg":76.2951488,"latitude_deg":9.9059584,"altitude":7,"angle":6,"satellites":44,"speed":23,"hex_longitude":"2d79b740","hex_latitude":"05e78780","is_valid_coordinates":true} 
[2026-07-08 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-07-08 20:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581494016001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343210067824214016,"note":"Value kept but may cause issues"} 
[2026-07-08 20:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8769704768498335744,"note":"Value kept but may cause issues"} 
[2026-07-08 20:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783521476000,"timestamp_ms":1783521476000,"timestamp_seconds":1783521476,"priority":1,"record_length":96,"hex_timestamp":"0000019f4229fda0"} 
[2026-07-08 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-07-08 20:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-08 20:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 20:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":127914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":127914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":127914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581494016001,"66":27213,"202":206,"87":13824,"24":23,"16":343210067824214016,"45":8769704768498335744},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-07-08 20:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581494016001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:10:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 20:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343210067824214016,"km_value":343210067824214.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8769704768498335744,"description":"Unknown IO ID 45"} 
[2026-07-08 20:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581494016001,"power":27213,"mcc":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8769704768498335744}} 
[2026-07-08 20:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":127914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:10:11] local.INFO: GPS data processed {"connection_id":127914,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:10:11] local.INFO: Acknowledgment sent {"connection_id":127914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:10:36] local.INFO: TCP Data received {"connection_id":126694,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42290b70012d196680071ff078003e014229..."} 
[2026-07-08 20:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42290b70012d196680071ff078003e014229..."} 
[2026-07-08 20:10:36] local.INFO: Processing buffer {"connection_id":126694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42290b70012d196680071ff078003e014229..."} 
[2026-07-08 20:10:36] local.INFO: Packet analysis {"connection_id":126694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4229"} 
[2026-07-08 20:10:36] local.INFO: Extracted packet for processing {"connection_id":126694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4229"} 
[2026-07-08 20:10:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":41,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581476608001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783521414000,"timestamp_ms":1783521414000,"timestamp_seconds":1783521414,"priority":1,"record_length":96,"hex_timestamp":"0000019f42290b70"} 
[2026-07-08 20:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 20:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:10:36] 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-07-08 20:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581476608001,"66":12330,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581476608001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:10:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:10:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581476608001,"power":12330,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":126694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:10:36] local.INFO: GPS data processed {"connection_id":126694,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:10:36] local.INFO: Acknowledgment sent {"connection_id":126694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:10:59] local.INFO: TCP Data received {"connection_id":126696,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:10:59] local.INFO: Processing buffer {"connection_id":126696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:10:59] local.INFO: IMEI packet received {"connection_id":126696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":126696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:11:02] local.INFO: TCP Data received {"connection_id":126696,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:11:02] local.INFO: Processing buffer {"connection_id":126696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:11:02] local.INFO: IMEI packet received {"connection_id":126696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":126696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:11:03] local.INFO: TCP Data received {"connection_id":126696,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42295d78012d196680071ff078003e014227..."} 
[2026-07-08 20:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42295d78012d196680071ff078003e014227..."} 
[2026-07-08 20:11:03] local.INFO: Processing buffer {"connection_id":126696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42295d78012d196680071ff078003e014227..."} 
[2026-07-08 20:11:03] local.INFO: Packet analysis {"connection_id":126696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4229"} 
[2026-07-08 20:11:03] local.INFO: Extracted packet for processing {"connection_id":126696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4229"} 
[2026-07-08 20:11:03] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581481984001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783521435000,"timestamp_ms":1783521435000,"timestamp_seconds":1783521435,"priority":1,"record_length":96,"hex_timestamp":"0000019f42295d78"} 
[2026-07-08 20:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":42,"data_length":795,"current_offset":136} 
[2026-07-08 20:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:11:03] 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-07-08 20:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581481984001,"66":12298,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581481984001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:11:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:11:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581481984001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":126696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:11:03] local.INFO: GPS data processed {"connection_id":126696,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:11:03] local.INFO: Acknowledgment sent {"connection_id":126696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:11:12] local.INFO: TCP Data received {"connection_id":126697,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:11:12] local.INFO: Processing buffer {"connection_id":126697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:11:12] local.INFO: IMEI packet received {"connection_id":126697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":126697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:11:13] local.INFO: TCP Data received {"connection_id":126697,"ip":"42.106.6.27","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 20:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126697,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 20:11:13] local.INFO: Processing buffer {"connection_id":126697,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 20:11:13] local.INFO: IMEI packet received {"connection_id":126697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":126697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:11:14] local.INFO: TCP Data received {"connection_id":126697,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:11:14] local.INFO: Processing buffer {"connection_id":126697,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 20:11:14] local.INFO: IMEI packet received {"connection_id":126697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":126697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:11:15] local.INFO: TCP Data received {"connection_id":126697,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f422b8828012d79758005e87d880005012a2c..."} 
[2026-07-08 20:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f422b8828012d79758005e87d880005012a2c..."} 
[2026-07-08 20:11:15] local.INFO: Processing buffer {"connection_id":126697,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f42..."} 
[2026-07-08 20:11:15] local.INFO: IMEI packet received {"connection_id":126697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":126697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:11:15] local.INFO: TCP Data received {"connection_id":126697,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f422b8ff8012d79700005e87fc80006011e2e..."} 
[2026-07-08 20:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f422b8ff8012d79700005e87fc80006011e2e..."} 
[2026-07-08 20:11:15] local.INFO: Processing buffer {"connection_id":126697,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f422b8828012d79758005e87d880005012a2c..."} 
[2026-07-08 20:11:15] local.INFO: Packet analysis {"connection_id":126697,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f422b"} 
[2026-07-08 20:11:15] local.INFO: Extracted packet for processing {"connection_id":126697,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f422b"} 
[2026-07-08 20:11:15] local.INFO: GPS Element Parsed {"raw_longitude":762934656,"raw_latitude":99122568,"longitude_deg":76.2934656,"latitude_deg":9.9122568,"altitude":5,"angle":298,"satellites":44,"speed":29,"hex_longitude":"2d797580","hex_latitude":"05e87d88","is_valid_coordinates":true} 
[2026-07-08 20:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581522944001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343213310524522496,"note":"Value kept but may cause issues"} 
[2026-07-08 20:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8754012538564798464,"note":"Value kept but may cause issues"} 
[2026-07-08 20:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783521577000,"timestamp_ms":1783521577000,"timestamp_seconds":1783521577,"priority":1,"record_length":96,"hex_timestamp":"0000019f422b8828"} 
[2026-07-08 20:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:11:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-08 20:11:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:11:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":126697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":126697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":126697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581522944001,"66":27376,"173":206,"87":13824,"24":29,"16":343213310524522496,"45":8754012538564798464},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,87,24,16,45]} 
[2026-07-08 20:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581522944001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:11:15] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-08 20:11:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 20:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343213310524522496,"km_value":343213310524522.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8754012538564798464,"description":"Unknown IO ID 45"} 
[2026-07-08 20:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581522944001,"power":27376,"unknown_173":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8754012538564798464}} 
[2026-07-08 20:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":126697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:11:15] local.INFO: GPS data processed {"connection_id":126697,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:11:15] local.INFO: Acknowledgment sent {"connection_id":126697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:11:15] local.INFO: Packet analysis {"connection_id":126697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f422b"} 
[2026-07-08 20:11:15] local.INFO: Extracted packet for processing {"connection_id":126697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f422b"} 
[2026-07-08 20:11:15] local.INFO: GPS Element Parsed {"raw_longitude":762933248,"raw_latitude":99123144,"longitude_deg":76.2933248,"latitude_deg":9.9123144,"altitude":6,"angle":286,"satellites":46,"speed":28,"hex_longitude":"2d797000","hex_latitude":"05e87fc8","is_valid_coordinates":true} 
[2026-07-08 20:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581523712001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343213379243999232,"note":"Value kept but may cause issues"} 
[2026-07-08 20:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8752042213728159744,"note":"Value kept but may cause issues"} 
[2026-07-08 20:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783521579000,"timestamp_ms":1783521579000,"timestamp_seconds":1783521579,"priority":1,"record_length":96,"hex_timestamp":"0000019f422b8ff8"} 
[2026-07-08 20:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:11:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 20:11:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:11:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":126697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":126697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":126697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581523712001,"66":27332,"173":206,"87":13824,"24":28,"16":343213379243999232,"45":8752042213728159744},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,87,24,16,45]} 
[2026-07-08 20:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581523712001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:11:15] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-08 20:11:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 20:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343213379243999232,"km_value":343213379243999.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8752042213728159744,"description":"Unknown IO ID 45"} 
[2026-07-08 20:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581523712001,"power":27332,"unknown_173":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8752042213728159744}} 
[2026-07-08 20:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":126697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:11:15] local.INFO: GPS data processed {"connection_id":126697,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:11:15] local.INFO: Acknowledgment sent {"connection_id":126697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:11:20] local.INFO: TCP Data received {"connection_id":126697,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f422bc2c0012d794e0005e88bc8000601212a..."} 
[2026-07-08 20:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f422bc2c0012d794e0005e88bc8000601212a..."} 
[2026-07-08 20:11:20] local.INFO: Processing buffer {"connection_id":126697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f422bc2c0012d794e0005e88bc8000601212a..."} 
[2026-07-08 20:11:20] local.INFO: Packet analysis {"connection_id":126697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f422b"} 
[2026-07-08 20:11:20] local.INFO: Extracted packet for processing {"connection_id":126697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f422b"} 
[2026-07-08 20:11:20] local.INFO: GPS Element Parsed {"raw_longitude":762924544,"raw_latitude":99126216,"longitude_deg":76.2924544,"latitude_deg":9.9126216,"altitude":6,"angle":289,"satellites":42,"speed":29,"hex_longitude":"2d794e00","hex_latitude":"05e88bc8","is_valid_coordinates":true} 
[2026-07-08 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-07-08 20:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581524224001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343213821625630720,"note":"Value kept but may cause issues"} 
[2026-07-08 20:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8750494101356398592,"note":"Value kept but may cause issues"} 
[2026-07-08 20:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783521592000,"timestamp_ms":1783521592000,"timestamp_seconds":1783521592,"priority":1,"record_length":96,"hex_timestamp":"0000019f422bc2c0"} 
[2026-07-08 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-07-08 20:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-08 20:11:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 20:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":126697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":126697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":126697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581524224001,"66":27463,"173":206,"87":13824,"24":29,"16":343213821625630720,"45":8750494101356398592},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,87,24,16,45]} 
[2026-07-08 20:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581524224001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:11:20] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-08 20:11:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 20:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343213821625630720,"km_value":343213821625630.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8750494101356398592,"description":"Unknown IO ID 45"} 
[2026-07-08 20:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581524224001,"power":27463,"unknown_173":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8750494101356398592}} 
[2026-07-08 20:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":126697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:11:20] local.INFO: GPS data processed {"connection_id":126697,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:11:20] local.INFO: Acknowledgment sent {"connection_id":126697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:11:25] local.INFO: TCP Data received {"connection_id":126695,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126695,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:11:25] local.INFO: Processing buffer {"connection_id":126695,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:11:25] local.INFO: IMEI packet received {"connection_id":126695,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 20:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":126695,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:11:35] local.INFO: TCP Data received {"connection_id":126696,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4229af80012d196680071ff078003e014226..."} 
[2026-07-08 20:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4229af80012d196680071ff078003e014226..."} 
[2026-07-08 20:11:35] local.INFO: Processing buffer {"connection_id":126696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4229af80012d196680071ff078003e014226..."} 
[2026-07-08 20:11:35] local.INFO: Packet analysis {"connection_id":126696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4229"} 
[2026-07-08 20:11:35] local.INFO: Extracted packet for processing {"connection_id":126696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4229"} 
[2026-07-08 20:11:35] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581487360001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783521456000,"timestamp_ms":1783521456000,"timestamp_seconds":1783521456,"priority":1,"record_length":96,"hex_timestamp":"0000019f4229af80"} 
[2026-07-08 20:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 20:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-08 20:11:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-08 20:11:35] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185617,"note":"Value kept but may cause issues"} 
[2026-07-08 20:11:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 20:11:35] local.WARNING: Large IO value detected {"io_id":154,"raw_value":-3674937295934324735,"note":"Value kept but may cause issues"} 
[2026-07-08 20:11:35] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4766813090353060198,"note":"Value kept but may cause issues"} 
[2026-07-08 20:11:35] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513393280734331202,"note":"Value kept but may cause issues"} 
[2026-07-08 20:11:35] local.WARNING: Large IO value detected {"io_id":62,"raw_value":90676723942686720,"note":"Value kept but may cause issues"} 
[2026-07-08 20:11:35] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832593,"note":"Value kept but may cause issues"} 
[2026-07-08 20:11:35] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-07-08 20:11:35] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4034396222,"note":"Value kept but may cause issues"} 
[2026-07-08 20:11:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-07-08 20:11:35] local.WARNING: Large IO value detected {"io_id":17,"raw_value":2597126144,"note":"Value kept but may cause issues"} 
[2026-07-08 20:11:35] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,102,83,24,241,157,16,154,159,11,45,128,240,62,41,10,66,185,103,1,31,227,4,113,205,195,120,37,239,48,2,17,7],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-07-08 20:11:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467925040599400448,"timestamp_seconds":4467925040599400.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 20:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581487360001,"66":12298,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581487360001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:11:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:11:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581487360001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":126696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:11:35] local.INFO: GPS data processed {"connection_id":126696,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:11:35] local.INFO: Acknowledgment sent {"connection_id":126696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:11:55] local.INFO: TCP Data received {"connection_id":126698,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:11:55] local.INFO: Processing buffer {"connection_id":126698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:11:55] local.INFO: IMEI packet received {"connection_id":126698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":126698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:11:55] local.INFO: TCP Data received {"connection_id":126699,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126699,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:11:55] local.INFO: Processing buffer {"connection_id":126699,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:11:55] local.INFO: IMEI packet received {"connection_id":126699,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 20:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":126699,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:11:59] local.INFO: TCP Data received {"connection_id":126700,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:11:59] local.INFO: Processing buffer {"connection_id":126700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:11:59] local.INFO: IMEI packet received {"connection_id":126700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":126700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:12:01] local.INFO: TCP Data received {"connection_id":126698,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:12:01] local.INFO: Processing buffer {"connection_id":126698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:12:01] local.INFO: IMEI packet received {"connection_id":126698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":126698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:12:02] local.INFO: TCP Data received {"connection_id":126698,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f422bfd58012d792a4005e895080005011d29..."} 
[2026-07-08 20:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f422bfd58012d792a4005e895080005011d29..."} 
[2026-07-08 20:12:02] local.INFO: Processing buffer {"connection_id":126698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f422bfd58012d792a4005e895080005011d29..."} 
[2026-07-08 20:12:02] local.INFO: Packet analysis {"connection_id":126698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f422b"} 
[2026-07-08 20:12:02] local.INFO: Extracted packet for processing {"connection_id":126698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f422b"} 
[2026-07-08 20:12:02] local.INFO: GPS Element Parsed {"raw_longitude":762915392,"raw_latitude":99128584,"longitude_deg":76.2915392,"latitude_deg":9.9128584,"altitude":5,"angle":285,"satellites":41,"speed":28,"hex_longitude":"2d792a40","hex_latitude":"05e89508","is_valid_coordinates":true} 
[2026-07-08 20:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581527552001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343214276892164096,"note":"Value kept but may cause issues"} 
[2026-07-08 20:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8740923952149022720,"note":"Value kept but may cause issues"} 
[2026-07-08 20:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783521607000,"timestamp_ms":1783521607000,"timestamp_seconds":1783521607,"priority":1,"record_length":96,"hex_timestamp":"0000019f422bfd58"} 
[2026-07-08 20:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:12: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-07-08 20:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-08 20:12:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:12:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581527552001,"66":27267,"173":206,"87":13824,"24":28,"16":343214276892164096,"45":8740923952149022720},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,87,24,16,45]} 
[2026-07-08 20:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581527552001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:12:02] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-08 20:12:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 20:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343214276892164096,"km_value":343214276892164.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8740923952149022720,"description":"Unknown IO ID 45"} 
[2026-07-08 20:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581527552001,"power":27267,"unknown_173":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8740923952149022720}} 
[2026-07-08 20:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":126698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:12:02] local.INFO: GPS data processed {"connection_id":126698,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:12:02] local.INFO: Acknowledgment sent {"connection_id":126698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:12:04] local.INFO: TCP Data received {"connection_id":126700,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:12:04] local.INFO: Processing buffer {"connection_id":126700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:12:04] local.INFO: IMEI packet received {"connection_id":126700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":126700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:12:09] local.INFO: TCP Data received {"connection_id":126700,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f422a0188012d196680071ff078003e014226..."} 
[2026-07-08 20:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f422a0188012d196680071ff078003e014226..."} 
[2026-07-08 20:12:09] local.INFO: Processing buffer {"connection_id":126700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f422a0188012d196680071ff078003e014226..."} 
[2026-07-08 20:12:09] local.INFO: Packet analysis {"connection_id":126700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f422a"} 
[2026-07-08 20:12:09] local.INFO: Extracted packet for processing {"connection_id":126700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f422a"} 
[2026-07-08 20:12:09] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581492736001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783521477000,"timestamp_ms":1783521477000,"timestamp_seconds":1783521477,"priority":1,"record_length":96,"hex_timestamp":"0000019f422a0188"} 
[2026-07-08 20:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-08 20:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-08 20:12:09] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-08 20:12:09] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185617,"note":"Value kept but may cause issues"} 
[2026-07-08 20:12:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-08 20:12:09] local.WARNING: Large IO value detected {"io_id":154,"raw_value":-3674937295934324735,"note":"Value kept but may cause issues"} 
[2026-07-08 20:12:09] local.WARNING: Large IO value detected {"io_id":159,"raw_value":4766903284666276198,"note":"Value kept but may cause issues"} 
[2026-07-08 20:12:09] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513393280734331202,"note":"Value kept but may cause issues"} 
[2026-07-08 20:12:09] local.WARNING: Large IO value detected {"io_id":62,"raw_value":90675624431058944,"note":"Value kept but may cause issues"} 
[2026-07-08 20:12:09] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832593,"note":"Value kept but may cause issues"} 
[2026-07-08 20:12:09] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-07-08 20:12:09] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4034396222,"note":"Value kept but may cause issues"} 
[2026-07-08 20:12:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-07-08 20:12:09] local.WARNING: Large IO value detected {"io_id":17,"raw_value":2597126144,"note":"Value kept but may cause issues"} 
[2026-07-08 20:12:09] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,154,159,93,45,128,240,62,39,10,66,11,41,185,1,31,227,4,113,205,21,120,33,239,48,2,17,7,38],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-07-08 20:12:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467925036304433152,"timestamp_seconds":4467925036304433.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-08 20:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:12:09] 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-07-08 20:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581492736001,"66":12287,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581492736001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:12:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:12:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581492736001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":126700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:12:09] local.INFO: GPS data processed {"connection_id":126700,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:12:09] local.INFO: Acknowledgment sent {"connection_id":126700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:12:33] local.INFO: TCP Data received {"connection_id":126698,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f422c0910012d79228005e898480006012a2a..."} 
[2026-07-08 20:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f422c0910012d79228005e898480006012a2a..."} 
[2026-07-08 20:12:33] local.INFO: Processing buffer {"connection_id":126698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f422c0910012d79228005e898480006012a2a..."} 
[2026-07-08 20:12:33] local.INFO: Packet analysis {"connection_id":126698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f422c"} 
[2026-07-08 20:12:33] local.INFO: Extracted packet for processing {"connection_id":126698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f422c"} 
[2026-07-08 20:12:33] local.INFO: GPS Element Parsed {"raw_longitude":762913408,"raw_latitude":99129416,"longitude_deg":76.2913408,"latitude_deg":9.9129416,"altitude":6,"angle":298,"satellites":42,"speed":26,"hex_longitude":"2d792280","hex_latitude":"05e89848","is_valid_coordinates":true} 
[2026-07-08 20:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581531392001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343214379971379200,"note":"Value kept but may cause issues"} 
[2026-07-08 20:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8730861221732222976,"note":"Value kept but may cause issues"} 
[2026-07-08 20:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783521610000,"timestamp_ms":1783521610000,"timestamp_seconds":1783521610,"priority":1,"record_length":96,"hex_timestamp":"0000019f422c0910"} 
[2026-07-08 20:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 20:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:12:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581531392001,"66":26941,"173":206,"87":13824,"24":26,"16":343214379971379200,"45":8730861221732222976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,87,24,16,45]} 
[2026-07-08 20:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581531392001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:12:33] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-08 20:12:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 20:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343214379971379200,"km_value":343214379971379.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8730861221732222976,"description":"Unknown IO ID 45"} 
[2026-07-08 20:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581531392001,"power":26941,"unknown_173":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8730861221732222976}} 
[2026-07-08 20:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":126698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:12:33] local.INFO: GPS data processed {"connection_id":126698,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:12:33] local.INFO: Acknowledgment sent {"connection_id":126698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:12:40] local.INFO: TCP Data received {"connection_id":126700,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f422a5390012d196680071ff078003e014222..."} 
[2026-07-08 20:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f422a5390012d196680071ff078003e014222..."} 
[2026-07-08 20:12:40] local.INFO: Processing buffer {"connection_id":126700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f422a5390012d196680071ff078003e014222..."} 
[2026-07-08 20:12:40] local.INFO: Packet analysis {"connection_id":126700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f422a"} 
[2026-07-08 20:12:40] local.INFO: Extracted packet for processing {"connection_id":126700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f422a"} 
[2026-07-08 20:12:40] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 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-07-08 20:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581498112001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 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-07-08 20:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783521498000,"timestamp_ms":1783521498000,"timestamp_seconds":1783521498,"priority":1,"record_length":96,"hex_timestamp":"0000019f422a5390"} 
[2026-07-08 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-07-08 20:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-08 20:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 20:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:12:40] 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-07-08 20:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581498112001,"66":11961,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581498112001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:12:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:12:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581498112001,"power":11961,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":126700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:12:40] local.INFO: GPS data processed {"connection_id":126700,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:12:40] local.INFO: Acknowledgment sent {"connection_id":126700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:12:55] local.INFO: TCP Data received {"connection_id":125804,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:12:55] local.INFO: Processing buffer {"connection_id":125804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:12:55] local.INFO: IMEI packet received {"connection_id":125804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":125804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:12:59] local.INFO: TCP Data received {"connection_id":125933,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:12:59] local.INFO: Processing buffer {"connection_id":125933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:12:59] local.INFO: IMEI packet received {"connection_id":125933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":125933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:13:04] local.INFO: TCP Data received {"connection_id":125933,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:13:04] local.INFO: Processing buffer {"connection_id":125933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:13:04] local.INFO: IMEI packet received {"connection_id":125933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":125933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:13:05] local.INFO: TCP Data received {"connection_id":125933,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f422aa598012d196680071ff078003e014221..."} 
[2026-07-08 20:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f422aa598012d196680071ff078003e014221..."} 
[2026-07-08 20:13:05] local.INFO: Processing buffer {"connection_id":125933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f422aa598012d196680071ff078003e014221..."} 
[2026-07-08 20:13:05] local.INFO: Packet analysis {"connection_id":125933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f422a"} 
[2026-07-08 20:13:05] local.INFO: Extracted packet for processing {"connection_id":125933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f422a"} 
[2026-07-08 20:13:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581503488001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783521519000,"timestamp_ms":1783521519000,"timestamp_seconds":1783521519,"priority":1,"record_length":96,"hex_timestamp":"0000019f422aa598"} 
[2026-07-08 20:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 20:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2093,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:13:05] 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-07-08 20:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581503488001,"66":12254,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581503488001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:13:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:13:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581503488001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":125933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:13:05] local.INFO: GPS data processed {"connection_id":125933,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:13:05] local.INFO: Acknowledgment sent {"connection_id":125933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:13:08] local.INFO: TCP Data received {"connection_id":125804,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:13:08] local.INFO: Processing buffer {"connection_id":125804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:13:08] local.INFO: IMEI packet received {"connection_id":125804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":125804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:13:09] local.INFO: TCP Data received {"connection_id":125804,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f422c2c38012d79098005e8a3100005011d2c..."} 
[2026-07-08 20:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f422c2c38012d79098005e8a3100005011d2c..."} 
[2026-07-08 20:13:09] local.INFO: Processing buffer {"connection_id":125804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f422c2c38012d79098005e8a3100005011d2c..."} 
[2026-07-08 20:13:09] local.INFO: Packet analysis {"connection_id":125804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f422c"} 
[2026-07-08 20:13:09] local.INFO: Extracted packet for processing {"connection_id":125804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f422c"} 
[2026-07-08 20:13:09] local.INFO: GPS Element Parsed {"raw_longitude":762907008,"raw_latitude":99132176,"longitude_deg":76.2907008,"latitude_deg":9.9132176,"altitude":5,"angle":285,"satellites":44,"speed":30,"hex_longitude":"2d790980","hex_latitude":"05e8a310","is_valid_coordinates":true} 
[2026-07-08 20:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581532160001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343214714978828288,"note":"Value kept but may cause issues"} 
[2026-07-08 20:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8728679790662928384,"note":"Value kept but may cause issues"} 
[2026-07-08 20:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783521619000,"timestamp_ms":1783521619000,"timestamp_seconds":1783521619,"priority":1,"record_length":96,"hex_timestamp":"0000019f422c2c38"} 
[2026-07-08 20:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":105,"n8_eight_byte":61,"data_length":795,"current_offset":136} 
[2026-07-08 20:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1272,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581532160001,"66":27343,"173":206,"87":13824,"24":30,"16":343214714978828288,"45":8728679790662928384},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,87,24,16,45]} 
[2026-07-08 20:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581532160001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:13:09] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-08 20:13:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 20:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343214714978828288,"km_value":343214714978828.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8728679790662928384,"description":"Unknown IO ID 45"} 
[2026-07-08 20:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581532160001,"power":27343,"unknown_173":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8728679790662928384}} 
[2026-07-08 20:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":125804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:13:09] local.INFO: GPS data processed {"connection_id":125804,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:13:09] local.INFO: Acknowledgment sent {"connection_id":125804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:13:36] local.INFO: TCP Data received {"connection_id":125933,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f422af7a0012d196680071ff078003e014224..."} 
[2026-07-08 20:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f422af7a0012d196680071ff078003e014224..."} 
[2026-07-08 20:13:36] local.INFO: Processing buffer {"connection_id":125933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f422af7a0012d196680071ff078003e014224..."} 
[2026-07-08 20:13:36] local.INFO: Packet analysis {"connection_id":125933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f422a"} 
[2026-07-08 20:13:36] local.INFO: Extracted packet for processing {"connection_id":125933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f422a"} 
[2026-07-08 20:13:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581508864001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783521540000,"timestamp_ms":1783521540000,"timestamp_seconds":1783521540,"priority":1,"record_length":96,"hex_timestamp":"0000019f422af7a0"} 
[2026-07-08 20:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-08 20:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:13:36] 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-07-08 20:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581508864001,"66":12232,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581508864001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:13:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:13:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581508864001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":125933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:13:36] local.INFO: GPS data processed {"connection_id":125933,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:13:36] local.INFO: Acknowledgment sent {"connection_id":125933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:13:40] local.INFO: TCP Data received {"connection_id":125804,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f422e1480012d77a00005e8b8880006011b29..."} 
[2026-07-08 20:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f422e1480012d77a00005e8b8880006011b29..."} 
[2026-07-08 20:13:40] local.INFO: Processing buffer {"connection_id":125804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f422e1480012d77a00005e8b8880006011b29..."} 
[2026-07-08 20:13:40] local.INFO: Packet analysis {"connection_id":125804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f422e"} 
[2026-07-08 20:13:40] local.INFO: Extracted packet for processing {"connection_id":125804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f422e"} 
[2026-07-08 20:13:40] local.INFO: GPS Element Parsed {"raw_longitude":762814464,"raw_latitude":99137672,"longitude_deg":76.2814464,"latitude_deg":9.9137672,"altitude":6,"angle":283,"satellites":41,"speed":29,"hex_longitude":"2d77a000","hex_latitude":"05e8b888","is_valid_coordinates":true} 
[2026-07-08 20:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581563392001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343219224694489088,"note":"Value kept but may cause issues"} 
[2026-07-08 20:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8629670967606452224,"note":"Value kept but may cause issues"} 
[2026-07-08 20:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783521744000,"timestamp_ms":1783521744000,"timestamp_seconds":1783521744,"priority":1,"record_length":96,"hex_timestamp":"0000019f422e1480"} 
[2026-07-08 20:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-08 20:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581563392001,"66":27343,"164":206,"87":12288,"24":29,"16":343219224694489088,"45":8629670967606452224},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,87,24,16,45]} 
[2026-07-08 20:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581563392001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:13:40] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-08 20:13:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-08 20:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343219224694489088,"km_value":343219224694489.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8629670967606452224,"description":"Unknown IO ID 45"} 
[2026-07-08 20:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581563392001,"power":27343,"unknown_164":206,"unknown_87":12288,"ignition":29,"odometer":null,"unknown_45":8629670967606452224}} 
[2026-07-08 20:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":125804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:13:40] local.INFO: GPS data processed {"connection_id":125804,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:13:40] local.INFO: Acknowledgment sent {"connection_id":125804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:13:59] local.INFO: TCP Data received {"connection_id":125935,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:13:59] local.INFO: Processing buffer {"connection_id":125935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:13:59] local.INFO: IMEI packet received {"connection_id":125935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":125935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:14:00] local.INFO: TCP Data received {"connection_id":125805,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:14:00] local.INFO: Processing buffer {"connection_id":125805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:14:00] local.INFO: IMEI packet received {"connection_id":125805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":125805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:14:04] local.INFO: TCP Data received {"connection_id":125935,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:14:04] local.INFO: Processing buffer {"connection_id":125935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:14:04] local.INFO: IMEI packet received {"connection_id":125935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":125935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:14:05] local.INFO: TCP Data received {"connection_id":125805,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:14:05] local.INFO: Processing buffer {"connection_id":125805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:14:05] local.INFO: IMEI packet received {"connection_id":125805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":125805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:14:05] local.INFO: TCP Data received {"connection_id":125805,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f422e4360012d777d0005e8bee0000701162a..."} 
[2026-07-08 20:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f422e4360012d777d0005e8bee0000701162a..."} 
[2026-07-08 20:14:05] local.INFO: Processing buffer {"connection_id":125805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f422e4360012d777d0005e8bee0000701162a..."} 
[2026-07-08 20:14:05] local.INFO: Packet analysis {"connection_id":125805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f422e"} 
[2026-07-08 20:14:05] local.INFO: Extracted packet for processing {"connection_id":125805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f422e"} 
[2026-07-08 20:14:05] local.INFO: GPS Element Parsed {"raw_longitude":762805504,"raw_latitude":99139296,"longitude_deg":76.2805504,"latitude_deg":9.9139296,"altitude":7,"angle":278,"satellites":42,"speed":21,"hex_longitude":"2d777d00","hex_latitude":"05e8bee0","is_valid_coordinates":true} 
[2026-07-08 20:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581566464001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343219662781153280,"note":"Value kept but may cause issues"} 
[2026-07-08 20:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619889712166373376,"note":"Value kept but may cause issues"} 
[2026-07-08 20:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783521756000,"timestamp_ms":1783521756000,"timestamp_seconds":1783521756,"priority":1,"record_length":96,"hex_timestamp":"0000019f422e4360"} 
[2026-07-08 20:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 20:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581566464001,"66":27300,"164":206,"87":12288,"24":21,"16":343219662781153280,"45":8619889712166373376},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,87,24,16,45]} 
[2026-07-08 20:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581566464001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:14:05] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-08 20:14:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-08 20:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343219662781153280,"km_value":343219662781153.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619889712166373376,"description":"Unknown IO ID 45"} 
[2026-07-08 20:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581566464001,"power":27300,"unknown_164":206,"unknown_87":12288,"ignition":21,"odometer":null,"unknown_45":8619889712166373376}} 
[2026-07-08 20:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":125805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:14:05] local.INFO: GPS data processed {"connection_id":125805,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:14:05] local.INFO: Acknowledgment sent {"connection_id":125805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:14:05] local.INFO: TCP Data received {"connection_id":125935,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f422b49a8012d196680071ff078003e014227..."} 
[2026-07-08 20:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f422b49a8012d196680071ff078003e014227..."} 
[2026-07-08 20:14:05] local.INFO: Processing buffer {"connection_id":125935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f422b49a8012d196680071ff078003e014227..."} 
[2026-07-08 20:14:05] local.INFO: Packet analysis {"connection_id":125935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f422b"} 
[2026-07-08 20:14:05] local.INFO: Extracted packet for processing {"connection_id":125935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f422b"} 
[2026-07-08 20:14:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581514240001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783521561000,"timestamp_ms":1783521561000,"timestamp_seconds":1783521561,"priority":1,"record_length":96,"hex_timestamp":"0000019f422b49a8"} 
[2026-07-08 20:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-08 20:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:14:05] 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-07-08 20:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581514240001,"66":12287,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581514240001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:14:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:14:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581514240001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":125935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:14:05] local.INFO: GPS data processed {"connection_id":125935,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:14:05] local.INFO: Acknowledgment sent {"connection_id":125935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:14:07] local.INFO: TCP Data received {"connection_id":125805,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f422e6e58012d77618005e8bf700008010a2a..."} 
[2026-07-08 20:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f422e6e58012d77618005e8bf700008010a2a..."} 
[2026-07-08 20:14:07] local.INFO: Processing buffer {"connection_id":125805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f422e6e58012d77618005e8bf700008010a2a..."} 
[2026-07-08 20:14:07] local.INFO: Packet analysis {"connection_id":125805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f422e"} 
[2026-07-08 20:14:07] local.INFO: Extracted packet for processing {"connection_id":125805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f422e"} 
[2026-07-08 20:14:07] local.INFO: GPS Element Parsed {"raw_longitude":762798464,"raw_latitude":99139440,"longitude_deg":76.2798464,"latitude_deg":9.913944,"altitude":8,"angle":266,"satellites":42,"speed":23,"hex_longitude":"2d776180","hex_latitude":"05e8bf70","is_valid_coordinates":true} 
[2026-07-08 20:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581569536001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343219997788602368,"note":"Value kept but may cause issues"} 
[2026-07-08 20:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8610038087981916160,"note":"Value kept but may cause issues"} 
[2026-07-08 20:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783521767000,"timestamp_ms":1783521767000,"timestamp_seconds":1783521767,"priority":1,"record_length":96,"hex_timestamp":"0000019f422e6e58"} 
[2026-07-08 20:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-08 20:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581569536001,"66":27332,"129":206,"87":12288,"24":23,"16":343219997788602368,"45":8610038087981916160},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-07-08 20:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581569536001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:14:07] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-08 20:14:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-08 20:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343219997788602368,"km_value":343219997788602.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8610038087981916160,"description":"Unknown IO ID 45"} 
[2026-07-08 20:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581569536001,"power":27332,"unknown_129":206,"unknown_87":12288,"ignition":23,"odometer":null,"unknown_45":8610038087981916160}} 
[2026-07-08 20:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":125805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:14:07] local.INFO: GPS data processed {"connection_id":125805,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:14:07] local.INFO: Acknowledgment sent {"connection_id":125805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:14:36] local.INFO: TCP Data received {"connection_id":125935,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f422ed000012d196680071ff078003e014229..."} 
[2026-07-08 20:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f422ed000012d196680071ff078003e014229..."} 
[2026-07-08 20:14:36] local.INFO: Processing buffer {"connection_id":125935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f422ed000012d196680071ff078003e014229..."} 
[2026-07-08 20:14:36] local.INFO: Packet analysis {"connection_id":125935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f422e"} 
[2026-07-08 20:14:36] local.INFO: Extracted packet for processing {"connection_id":125935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f422e"} 
[2026-07-08 20:14:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":41,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581573376001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783521792000,"timestamp_ms":1783521792000,"timestamp_seconds":1783521792,"priority":1,"record_length":96,"hex_timestamp":"0000019f422ed000"} 
[2026-07-08 20:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-08 20:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:14:36] 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-07-08 20:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581573376001,"66":12211,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581573376001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:14:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:14:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581573376001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":125935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:14:36] local.INFO: GPS data processed {"connection_id":125935,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:14:36] local.INFO: Acknowledgment sent {"connection_id":125935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:14:38] local.INFO: TCP Data received {"connection_id":125805,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f422ec060012d773f0005e8bd300009010c2a..."} 
[2026-07-08 20:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f422ec060012d773f0005e8bd300009010c2a..."} 
[2026-07-08 20:14:38] local.INFO: Processing buffer {"connection_id":125805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f422ec060012d773f0005e8bd300009010c2a..."} 
[2026-07-08 20:14:38] local.INFO: Packet analysis {"connection_id":125805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f422e"} 
[2026-07-08 20:14:38] local.INFO: Extracted packet for processing {"connection_id":125805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f422e"} 
[2026-07-08 20:14:38] local.INFO: GPS Element Parsed {"raw_longitude":762789632,"raw_latitude":99138864,"longitude_deg":76.2789632,"latitude_deg":9.9138864,"altitude":9,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d773f00","hex_latitude":"05e8bd30","is_valid_coordinates":true} 
[2026-07-08 20:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581572352001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343220422990364672,"note":"Value kept but may cause issues"} 
[2026-07-08 20:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8602297526122409984,"note":"Value kept but may cause issues"} 
[2026-07-08 20:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783521788000,"timestamp_ms":1783521788000,"timestamp_seconds":1783521788,"priority":1,"record_length":96,"hex_timestamp":"0000019f422ec060"} 
[2026-07-08 20:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-08 20:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581572352001,"66":27397,"129":206,"87":12288,"24":0,"16":343220422990364672,"45":8602297526122409984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-07-08 20:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581572352001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:14:38] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-08 20:14:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-08 20:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343220422990364672,"km_value":343220422990364.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8602297526122409984,"description":"Unknown IO ID 45"} 
[2026-07-08 20:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581572352001,"power":27397,"unknown_129":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8602297526122409984}} 
[2026-07-08 20:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":125805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:14:38] local.INFO: GPS data processed {"connection_id":125805,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:14:38] local.INFO: Acknowledgment sent {"connection_id":125805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:14:51] local.INFO: TCP Data received {"connection_id":127916,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:14:51] local.INFO: Processing buffer {"connection_id":127916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:14:51] local.INFO: IMEI packet received {"connection_id":127916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":127916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:14:53] local.INFO: TCP Data received {"connection_id":127916,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:14:53] local.INFO: Processing buffer {"connection_id":127916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:14:53] local.INFO: IMEI packet received {"connection_id":127916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":127916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:14:55] local.INFO: TCP Data received {"connection_id":127916,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:14:55] local.INFO: Processing buffer {"connection_id":127916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:14:55] local.INFO: IMEI packet received {"connection_id":127916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":127916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:14:59] local.INFO: TCP Data received {"connection_id":126702,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:14:59] local.INFO: Processing buffer {"connection_id":126702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:14:59] local.INFO: IMEI packet received {"connection_id":126702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":126702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:15:01] local.INFO: TCP Data received {"connection_id":127916,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:15:01] local.INFO: Processing buffer {"connection_id":127916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:15:01] local.INFO: IMEI packet received {"connection_id":127916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":127916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:15:02] local.INFO: TCP Data received {"connection_id":127916,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f422f1268012d77230005e8bb18000c01062a..."} 
[2026-07-08 20:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f422f1268012d77230005e8bb18000c01062a..."} 
[2026-07-08 20:15:02] local.INFO: Processing buffer {"connection_id":127916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f422f1268012d77230005e8bb18000c01062a..."} 
[2026-07-08 20:15:02] local.INFO: Packet analysis {"connection_id":127916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f422f"} 
[2026-07-08 20:15:02] local.INFO: Extracted packet for processing {"connection_id":127916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f422f"} 
[2026-07-08 20:15:02] local.INFO: GPS Element Parsed {"raw_longitude":762782464,"raw_latitude":99138328,"longitude_deg":76.2782464,"latitude_deg":9.9138328,"altitude":12,"angle":262,"satellites":42,"speed":16,"hex_longitude":"2d772300","hex_latitude":"05e8bb18","is_valid_coordinates":true} 
[2026-07-08 20:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581577728001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343220766587748352,"note":"Value kept but may cause issues"} 
[2026-07-08 20:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8592586639425744896,"note":"Value kept but may cause issues"} 
[2026-07-08 20:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783521809000,"timestamp_ms":1783521809000,"timestamp_seconds":1783521809,"priority":1,"record_length":96,"hex_timestamp":"0000019f422f1268"} 
[2026-07-08 20:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:15: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-07-08 20:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-08 20:15:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:15:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":127916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":127916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":127916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581577728001,"66":27300,"129":206,"87":12288,"24":16,"16":343220766587748352,"45":8592586639425744896},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-07-08 20:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581577728001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:15:02] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-08 20:15:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-08 20:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343220766587748352,"km_value":343220766587748.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8592586639425744896,"description":"Unknown IO ID 45"} 
[2026-07-08 20:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581577728001,"power":27300,"unknown_129":206,"unknown_87":12288,"ignition":16,"odometer":null,"unknown_45":8592586639425744896}} 
[2026-07-08 20:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":127916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:15:02] local.INFO: GPS data processed {"connection_id":127916,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:15:02] local.INFO: Acknowledgment sent {"connection_id":127916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:15:04] local.INFO: TCP Data received {"connection_id":126702,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:15:04] local.INFO: Processing buffer {"connection_id":126702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:15:04] local.INFO: IMEI packet received {"connection_id":126702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":126702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:15:05] local.INFO: TCP Data received {"connection_id":127916,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f422f6470012d76ff8005e8b878000e01092c..."} 
[2026-07-08 20:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f422f6470012d76ff8005e8b878000e01092c..."} 
[2026-07-08 20:15:05] local.INFO: Processing buffer {"connection_id":127916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f422f6470012d76ff8005e8b878000e01092c..."} 
[2026-07-08 20:15:05] local.INFO: Packet analysis {"connection_id":127916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f422f"} 
[2026-07-08 20:15:05] local.INFO: Extracted packet for processing {"connection_id":127916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f422f"} 
[2026-07-08 20:15:05] local.INFO: GPS Element Parsed {"raw_longitude":762773376,"raw_latitude":99137656,"longitude_deg":76.2773376,"latitude_deg":9.9137656,"altitude":14,"angle":265,"satellites":44,"speed":17,"hex_longitude":"2d76ff80","hex_latitude":"05e8b878","is_valid_coordinates":true} 
[2026-07-08 20:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581583104001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343221204674412544,"note":"Value kept but may cause issues"} 
[2026-07-08 20:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8584705340077709312,"note":"Value kept but may cause issues"} 
[2026-07-08 20:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783521830000,"timestamp_ms":1783521830000,"timestamp_seconds":1783521830,"priority":1,"record_length":96,"hex_timestamp":"0000019f422f6470"} 
[2026-07-08 20:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-08 20:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581583104001,"66":27234,"129":206,"87":12288,"24":17,"16":343221204674412544,"45":8584705340077709312},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-07-08 20:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581583104001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:15:05] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-08 20:15:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-08 20:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343221204674412544,"km_value":343221204674412.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8584705340077709312,"description":"Unknown IO ID 45"} 
[2026-07-08 20:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581583104001,"power":27234,"unknown_129":206,"unknown_87":12288,"ignition":17,"odometer":null,"unknown_45":8584705340077709312}} 
[2026-07-08 20:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":127916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:15:05] local.INFO: GPS data processed {"connection_id":127916,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:15:05] local.INFO: Acknowledgment sent {"connection_id":127916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:15:05] local.INFO: TCP Data received {"connection_id":126702,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f422f2208012d196680071ff078003e014228..."} 
[2026-07-08 20:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f422f2208012d196680071ff078003e014228..."} 
[2026-07-08 20:15:05] local.INFO: Processing buffer {"connection_id":126702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f422f2208012d196680071ff078003e014228..."} 
[2026-07-08 20:15:05] local.INFO: Packet analysis {"connection_id":126702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f422f"} 
[2026-07-08 20:15:05] local.INFO: Extracted packet for processing {"connection_id":126702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f422f"} 
[2026-07-08 20:15:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581578752001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783521813000,"timestamp_ms":1783521813000,"timestamp_seconds":1783521813,"priority":1,"record_length":96,"hex_timestamp":"0000019f422f2208"} 
[2026-07-08 20:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 20:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:15:05] 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-07-08 20:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581578752001,"66":12232,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581578752001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:15:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:15:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581578752001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":126702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:15:05] local.INFO: GPS data processed {"connection_id":126702,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:15:05] local.INFO: Acknowledgment sent {"connection_id":126702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:15:37] local.INFO: TCP Data received {"connection_id":127916,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f422f6470012d76ff8005e8b878000e01092c..."} 
[2026-07-08 20:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f422f6470012d76ff8005e8b878000e01092c..."} 
[2026-07-08 20:15:37] local.INFO: Processing buffer {"connection_id":127916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f422f6470012d76ff8005e8b878000e01092c..."} 
[2026-07-08 20:15:37] local.INFO: Packet analysis {"connection_id":127916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f422f"} 
[2026-07-08 20:15:37] local.INFO: Extracted packet for processing {"connection_id":127916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f422f"} 
[2026-07-08 20:15:37] local.INFO: GPS Element Parsed {"raw_longitude":762773376,"raw_latitude":99137656,"longitude_deg":76.2773376,"latitude_deg":9.9137656,"altitude":14,"angle":265,"satellites":44,"speed":17,"hex_longitude":"2d76ff80","hex_latitude":"05e8b878","is_valid_coordinates":true} 
[2026-07-08 20:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581588480001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343221204674412544,"note":"Value kept but may cause issues"} 
[2026-07-08 20:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8574712978404308992,"note":"Value kept but may cause issues"} 
[2026-07-08 20:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783521830000,"timestamp_ms":1783521830000,"timestamp_seconds":1783521830,"priority":1,"record_length":96,"hex_timestamp":"0000019f422f6470"} 
[2026-07-08 20:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-08 20:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581588480001,"66":27234,"129":206,"87":12288,"24":17,"16":343221204674412544,"45":8574712978404308992},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-07-08 20:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581588480001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:15:37] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-08 20:15:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-08 20:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343221204674412544,"km_value":343221204674412.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8574712978404308992,"description":"Unknown IO ID 45"} 
[2026-07-08 20:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581588480001,"power":27234,"unknown_129":206,"unknown_87":12288,"ignition":17,"odometer":null,"unknown_45":8574712978404308992}} 
[2026-07-08 20:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":127916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:15:37] local.INFO: GPS data processed {"connection_id":127916,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:15:37] local.INFO: Acknowledgment sent {"connection_id":127916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:15:39] local.INFO: TCP Data received {"connection_id":126702,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f422f7410012d196680071ff078003e014226..."} 
[2026-07-08 20:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f422f7410012d196680071ff078003e014226..."} 
[2026-07-08 20:15:39] local.INFO: Processing buffer {"connection_id":126702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f422f7410012d196680071ff078003e014226..."} 
[2026-07-08 20:15:39] local.INFO: Packet analysis {"connection_id":126702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f422f"} 
[2026-07-08 20:15:39] local.INFO: Extracted packet for processing {"connection_id":126702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f422f"} 
[2026-07-08 20:15:39] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581584128001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783521834000,"timestamp_ms":1783521834000,"timestamp_seconds":1783521834,"priority":1,"record_length":96,"hex_timestamp":"0000019f422f7410"} 
[2026-07-08 20:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:15: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-07-08 20: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-08 20:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":126702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":126702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":126702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:15:39] 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-07-08 20:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581584128001,"66":12232,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581584128001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:15:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:15:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581584128001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":126702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:15:39] local.INFO: GPS data processed {"connection_id":126702,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:15:39] local.INFO: Acknowledgment sent {"connection_id":126702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:15:55] local.INFO: TCP Data received {"connection_id":125807,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:15:55] local.INFO: Processing buffer {"connection_id":125807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:15:55] local.INFO: IMEI packet received {"connection_id":125807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":125807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:16:00] local.INFO: TCP Data received {"connection_id":125807,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:16:00] local.INFO: Processing buffer {"connection_id":125807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:16:00] local.INFO: IMEI packet received {"connection_id":125807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":125807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:16:01] local.INFO: TCP Data received {"connection_id":125807,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f422fa6d8012d76eb0005e8b720000f011a2b..."} 
[2026-07-08 20:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f422fa6d8012d76eb0005e8b720000f011a2b..."} 
[2026-07-08 20:16:01] local.INFO: Processing buffer {"connection_id":125807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f422fa6d8012d76eb0005e8b720000f011a2b..."} 
[2026-07-08 20:16:01] local.INFO: Packet analysis {"connection_id":125807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f422f"} 
[2026-07-08 20:16:01] local.INFO: Extracted packet for processing {"connection_id":125807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f422f"} 
[2026-07-08 20:16:01] local.INFO: GPS Element Parsed {"raw_longitude":762768128,"raw_latitude":99137312,"longitude_deg":76.2768128,"latitude_deg":9.9137312,"altitude":15,"angle":282,"satellites":43,"speed":14,"hex_longitude":"2d76eb00","hex_latitude":"05e8b720","is_valid_coordinates":true} 
[2026-07-08 20:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581588480001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343221453782515712,"note":"Value kept but may cause issues"} 
[2026-07-08 20:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8574712978404308992,"note":"Value kept but may cause issues"} 
[2026-07-08 20:16:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783521847000,"timestamp_ms":1783521847000,"timestamp_seconds":1783521847,"priority":1,"record_length":96,"hex_timestamp":"0000019f422fa6d8"} 
[2026-07-08 20:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-08 20:16:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:16:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581588480001,"66":27463,"129":206,"87":12288,"24":14,"16":343221453782515712,"45":8574712978404308992},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-07-08 20:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581588480001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:16:01] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-08 20:16:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-08 20:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343221453782515712,"km_value":343221453782515.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8574712978404308992,"description":"Unknown IO ID 45"} 
[2026-07-08 20:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581588480001,"power":27463,"unknown_129":206,"unknown_87":12288,"ignition":14,"odometer":null,"unknown_45":8574712978404308992}} 
[2026-07-08 20:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":125807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:16:01] local.INFO: GPS data processed {"connection_id":125807,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:16:01] local.INFO: Acknowledgment sent {"connection_id":125807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:16:04] local.INFO: TCP Data received {"connection_id":127917,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:16:04] local.INFO: Processing buffer {"connection_id":127917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:16:04] local.INFO: IMEI packet received {"connection_id":127917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":127917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:16:09] local.INFO: TCP Data received {"connection_id":127917,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:16:09] local.INFO: Processing buffer {"connection_id":127917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:16:09] local.INFO: IMEI packet received {"connection_id":127917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":127917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:16:10] local.INFO: TCP Data received {"connection_id":127917,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f422fc618012d196680071ff078003e014225..."} 
[2026-07-08 20:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f422fc618012d196680071ff078003e014225..."} 
[2026-07-08 20:16:10] local.INFO: Processing buffer {"connection_id":127917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f422fc618012d196680071ff078003e014225..."} 
[2026-07-08 20:16:10] local.INFO: Packet analysis {"connection_id":127917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f422f"} 
[2026-07-08 20:16:10] local.INFO: Extracted packet for processing {"connection_id":127917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f422f"} 
[2026-07-08 20:16:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20: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-07-08 20:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581589504001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:16: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-07-08 20:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783521855000,"timestamp_ms":1783521855000,"timestamp_seconds":1783521855,"priority":1,"record_length":96,"hex_timestamp":"0000019f422fc618"} 
[2026-07-08 20:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-08 20:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20: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-07-08 20:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":127917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":127917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":127917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:16:10] 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-07-08 20:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581589504001,"66":12232,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581589504001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:16:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:16:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581589504001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":127917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:16:10] local.INFO: GPS data processed {"connection_id":127917,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:16:10] local.INFO: Acknowledgment sent {"connection_id":127917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:16:15] local.INFO: TCP Data received {"connection_id":127917,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42301820012d196680071ff078003e014227..."} 
[2026-07-08 20:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42301820012d196680071ff078003e014227..."} 
[2026-07-08 20:16:15] local.INFO: Processing buffer {"connection_id":127917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42301820012d196680071ff078003e014227..."} 
[2026-07-08 20:16:15] local.INFO: Packet analysis {"connection_id":127917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4230"} 
[2026-07-08 20:16:15] local.INFO: Extracted packet for processing {"connection_id":127917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4230"} 
[2026-07-08 20:16:15] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20: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-07-08 20:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581594880001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20: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-07-08 20:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783521876000,"timestamp_ms":1783521876000,"timestamp_seconds":1783521876,"priority":1,"record_length":96,"hex_timestamp":"0000019f42301820"} 
[2026-07-08 20:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:16:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-08 20:16:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20: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-07-08 20:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":127917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":127917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":127917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:16: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-07-08 20:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581594880001,"66":12211,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581594880001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:16:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:16:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581594880001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":127917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:16:15] local.INFO: GPS data processed {"connection_id":127917,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:16:15] local.INFO: Acknowledgment sent {"connection_id":127917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:16:32] local.INFO: TCP Data received {"connection_id":125807,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f422faea8012d76e80005e8b858000f01282c..."} 
[2026-07-08 20:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f422faea8012d76e80005e8b858000f01282c..."} 
[2026-07-08 20:16:32] local.INFO: Processing buffer {"connection_id":125807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f422faea8012d76e80005e8b858000f01282c..."} 
[2026-07-08 20:16:32] local.INFO: Packet analysis {"connection_id":125807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f422f"} 
[2026-07-08 20:16:32] local.INFO: Extracted packet for processing {"connection_id":125807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f422f"} 
[2026-07-08 20:16:32] local.INFO: GPS Element Parsed {"raw_longitude":762767360,"raw_latitude":99137624,"longitude_deg":76.276736,"latitude_deg":9.9137624,"altitude":15,"angle":296,"satellites":44,"speed":16,"hex_longitude":"2d76e800","hex_latitude":"05e8b858","is_valid_coordinates":true} 
[2026-07-08 20:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581592832001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343221496732188672,"note":"Value kept but may cause issues"} 
[2026-07-08 20:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8568942741381652480,"note":"Value kept but may cause issues"} 
[2026-07-08 20:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783521849000,"timestamp_ms":1783521849000,"timestamp_seconds":1783521849,"priority":1,"record_length":96,"hex_timestamp":"0000019f422faea8"} 
[2026-07-08 20:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-08 20:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581592832001,"66":27321,"129":206,"87":12288,"24":16,"16":343221496732188672,"45":8568942741381652480},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-07-08 20:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581592832001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:16:32] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-08 20:16:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-08 20:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343221496732188672,"km_value":343221496732188.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8568942741381652480,"description":"Unknown IO ID 45"} 
[2026-07-08 20:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581592832001,"power":27321,"unknown_129":206,"unknown_87":12288,"ignition":16,"odometer":null,"unknown_45":8568942741381652480}} 
[2026-07-08 20:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":125807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:16:32] local.INFO: GPS data processed {"connection_id":125807,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:16:32] local.INFO: Acknowledgment sent {"connection_id":125807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:16:55] local.INFO: TCP Data received {"connection_id":125808,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:16:55] local.INFO: Processing buffer {"connection_id":125808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:16:55] local.INFO: IMEI packet received {"connection_id":125808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":125808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:16:59] local.INFO: TCP Data received {"connection_id":127918,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:16:59] local.INFO: Processing buffer {"connection_id":127918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:16:59] local.INFO: IMEI packet received {"connection_id":127918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":127918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:17:00] local.INFO: TCP Data received {"connection_id":127918,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:17:00] local.INFO: Processing buffer {"connection_id":127918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:17:00] local.INFO: IMEI packet received {"connection_id":127918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":127918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:17:00] local.INFO: TCP Data received {"connection_id":125808,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:17:00] local.INFO: Processing buffer {"connection_id":125808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:17:00] local.INFO: IMEI packet received {"connection_id":125808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":125808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:17:01] local.INFO: TCP Data received {"connection_id":125808,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f422fb678012d76e54005e8ba30000f01342d..."} 
[2026-07-08 20:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f422fb678012d76e54005e8ba30000f01342d..."} 
[2026-07-08 20:17:01] local.INFO: Processing buffer {"connection_id":125808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f422fb678012d76e54005e8ba30000f01342d..."} 
[2026-07-08 20:17:01] local.INFO: Packet analysis {"connection_id":125808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f422f"} 
[2026-07-08 20:17:01] local.INFO: Extracted packet for processing {"connection_id":125808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f422f"} 
[2026-07-08 20:17:01] local.INFO: GPS Element Parsed {"raw_longitude":762766656,"raw_latitude":99138096,"longitude_deg":76.2766656,"latitude_deg":9.9138096,"altitude":15,"angle":308,"satellites":45,"speed":16,"hex_longitude":"2d76e540","hex_latitude":"05e8ba30","is_valid_coordinates":true} 
[2026-07-08 20:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581593344001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343221535386894336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8568098316451600384,"note":"Value kept but may cause issues"} 
[2026-07-08 20:17:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783521851000,"timestamp_ms":1783521851000,"timestamp_seconds":1783521851,"priority":1,"record_length":96,"hex_timestamp":"0000019f422fb678"} 
[2026-07-08 20:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:17:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 20:17:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:17:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581593344001,"66":27365,"129":206,"87":12288,"24":16,"16":343221535386894336,"45":8568098316451600384},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-07-08 20:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581593344001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:17:01] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-08 20:17:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-08 20:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343221535386894336,"km_value":343221535386894.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8568098316451600384,"description":"Unknown IO ID 45"} 
[2026-07-08 20:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581593344001,"power":27365,"unknown_129":206,"unknown_87":12288,"ignition":16,"odometer":null,"unknown_45":8568098316451600384}} 
[2026-07-08 20:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":125808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:17:01] local.INFO: GPS data processed {"connection_id":125808,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:17:01] local.INFO: Acknowledgment sent {"connection_id":125808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:17:04] local.INFO: TCP Data received {"connection_id":127918,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:17:04] local.INFO: Processing buffer {"connection_id":127918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:17:04] local.INFO: IMEI packet received {"connection_id":127918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":127918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:17:05] local.INFO: TCP Data received {"connection_id":127918,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42306a28012d196680071ff078003e014226..."} 
[2026-07-08 20:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42306a28012d196680071ff078003e014226..."} 
[2026-07-08 20:17:05] local.INFO: Processing buffer {"connection_id":127918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42306a28012d196680071ff078003e014226..."} 
[2026-07-08 20:17:05] local.INFO: Packet analysis {"connection_id":127918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4230"} 
[2026-07-08 20:17:05] local.INFO: Extracted packet for processing {"connection_id":127918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4230"} 
[2026-07-08 20:17:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581600256001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783521897000,"timestamp_ms":1783521897000,"timestamp_seconds":1783521897,"priority":1,"record_length":96,"hex_timestamp":"0000019f42306a28"} 
[2026-07-08 20:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 20:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:17:05] 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-07-08 20:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581600256001,"66":12232,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581600256001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:17:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:17:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581600256001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":127918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:17:05] local.INFO: GPS data processed {"connection_id":127918,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:17:05] local.INFO: Acknowledgment sent {"connection_id":127918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:17:10] local.INFO: TCP Data received {"connection_id":127918,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4230bc30012d196680071ff078003e014224..."} 
[2026-07-08 20:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4230bc30012d196680071ff078003e014224..."} 
[2026-07-08 20:17:10] local.INFO: Processing buffer {"connection_id":127918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4230bc30012d196680071ff078003e014224..."} 
[2026-07-08 20:17:10] local.INFO: Packet analysis {"connection_id":127918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4230"} 
[2026-07-08 20:17:10] local.INFO: Extracted packet for processing {"connection_id":127918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4230"} 
[2026-07-08 20:17:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581605632001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:17: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-07-08 20:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783521918000,"timestamp_ms":1783521918000,"timestamp_seconds":1783521918,"priority":1,"record_length":96,"hex_timestamp":"0000019f4230bc30"} 
[2026-07-08 20:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-08 20:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":127918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":127918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":127918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:17:10] 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-07-08 20:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581605632001,"66":12189,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581605632001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:17:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:17:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581605632001,"power":12189,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":127918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:17:10] local.INFO: GPS data processed {"connection_id":127918,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:17:10] local.INFO: Acknowledgment sent {"connection_id":127918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:17:20] local.INFO: TCP Data received {"connection_id":125937,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125937,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:17:20] local.INFO: Processing buffer {"connection_id":125937,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:17:20] local.INFO: IMEI packet received {"connection_id":125937,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 20:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":125937,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:17:33] local.INFO: TCP Data received {"connection_id":125808,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f422fbe48012d76e34005e8bc58000f01462e..."} 
[2026-07-08 20:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f422fbe48012d76e34005e8bc58000f01462e..."} 
[2026-07-08 20:17:33] local.INFO: Processing buffer {"connection_id":125808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f422fbe48012d76e34005e8bc58000f01462e..."} 
[2026-07-08 20:17:33] local.INFO: Packet analysis {"connection_id":125808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f422f"} 
[2026-07-08 20:17:33] local.INFO: Extracted packet for processing {"connection_id":125808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f422f"} 
[2026-07-08 20:17:33] local.INFO: GPS Element Parsed {"raw_longitude":762766144,"raw_latitude":99138648,"longitude_deg":76.2766144,"latitude_deg":9.9138648,"altitude":15,"angle":326,"satellites":46,"speed":13,"hex_longitude":"2d76e340","hex_latitude":"05e8bc58","is_valid_coordinates":true} 
[2026-07-08 20: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-07-08 20:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581593856001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343221574041600000,"note":"Value kept but may cause issues"} 
[2026-07-08 20:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8567324260265766912,"note":"Value kept but may cause issues"} 
[2026-07-08 20:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783521853000,"timestamp_ms":1783521853000,"timestamp_seconds":1783521853,"priority":1,"record_length":96,"hex_timestamp":"0000019f422fbe48"} 
[2026-07-08 20:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 20:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20: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-07-08 20:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581593856001,"66":27376,"129":206,"87":12288,"24":13,"16":343221574041600000,"45":8567324260265766912},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-07-08 20:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581593856001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:17:33] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-08 20:17:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-08 20:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343221574041600000,"km_value":343221574041600,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8567324260265766912,"description":"Unknown IO ID 45"} 
[2026-07-08 20:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581593856001,"power":27376,"unknown_129":206,"unknown_87":12288,"ignition":13,"odometer":null,"unknown_45":8567324260265766912}} 
[2026-07-08 20:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":125808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:17:33] local.INFO: GPS data processed {"connection_id":125808,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:17:33] local.INFO: Acknowledgment sent {"connection_id":125808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:17:41] local.INFO: TCP Data received {"connection_id":127918,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42310e38012d196680071ff078003e014227..."} 
[2026-07-08 20:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42310e38012d196680071ff078003e014227..."} 
[2026-07-08 20:17:41] local.INFO: Processing buffer {"connection_id":127918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42310e38012d196680071ff078003e014227..."} 
[2026-07-08 20:17:41] local.INFO: Packet analysis {"connection_id":127918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4231"} 
[2026-07-08 20:17:41] local.INFO: Extracted packet for processing {"connection_id":127918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4231"} 
[2026-07-08 20:17:41] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 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-07-08 20:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581611008001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 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-07-08 20:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783521939000,"timestamp_ms":1783521939000,"timestamp_seconds":1783521939,"priority":1,"record_length":96,"hex_timestamp":"0000019f42310e38"} 
[2026-07-08 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-07-08 20:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-07-08 20:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 20:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":127918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":127918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":127918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:17: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-07-08 20:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581611008001,"66":12004,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581611008001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:17:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:17:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581611008001,"power":12004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":127918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:17:41] local.INFO: GPS data processed {"connection_id":127918,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:17:41] local.INFO: Acknowledgment sent {"connection_id":127918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:17:55] local.INFO: TCP Data received {"connection_id":127919,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:17:55] local.INFO: Processing buffer {"connection_id":127919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:17:55] local.INFO: IMEI packet received {"connection_id":127919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":127919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:17:55] local.INFO: TCP Data received {"connection_id":126703,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126703,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:17:55] local.INFO: Processing buffer {"connection_id":126703,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:17:55] local.INFO: IMEI packet received {"connection_id":126703,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 20:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":126703,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:17:56] local.INFO: TCP Data received {"connection_id":127919,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:17:56] local.INFO: Processing buffer {"connection_id":127919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:17:56] local.INFO: IMEI packet received {"connection_id":127919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":127919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:17:59] local.INFO: TCP Data received {"connection_id":125809,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:17:59] local.INFO: Processing buffer {"connection_id":125809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:17:59] local.INFO: IMEI packet received {"connection_id":125809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":125809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:18:00] local.INFO: TCP Data received {"connection_id":127919,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:18:00] local.INFO: Processing buffer {"connection_id":127919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:18:00] local.INFO: IMEI packet received {"connection_id":127919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":127919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:18:01] local.INFO: TCP Data received {"connection_id":127919,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42321bc0012d766c8005e9e660000c01582a..."} 
[2026-07-08 20:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42321bc0012d766c8005e9e660000c01582a..."} 
[2026-07-08 20:18:01] local.INFO: Processing buffer {"connection_id":127919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42321bc0012d766c8005e9e660000c01582a..."} 
[2026-07-08 20:18:01] local.INFO: Packet analysis {"connection_id":127919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4232"} 
[2026-07-08 20:18:01] local.INFO: Extracted packet for processing {"connection_id":127919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4232"} 
[2026-07-08 20:18:01] local.INFO: GPS Element Parsed {"raw_longitude":762735744,"raw_latitude":99214944,"longitude_deg":76.2735744,"latitude_deg":9.9214944,"altitude":12,"angle":344,"satellites":42,"speed":25,"hex_longitude":"2d766c80","hex_latitude":"05e9e660","is_valid_coordinates":true} 
[2026-07-08 20: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-07-08 20:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581634048001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343225555476283392,"note":"Value kept but may cause issues"} 
[2026-07-08 20:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8533336156847628288,"note":"Value kept but may cause issues"} 
[2026-07-08 20:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783522008000,"timestamp_ms":1783522008000,"timestamp_seconds":1783522008,"priority":1,"record_length":96,"hex_timestamp":"0000019f42321bc0"} 
[2026-07-08 20:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-08 20:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20: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-07-08 20:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581634048001,"66":27397,"35":206,"87":12288,"24":25,"16":343225555476283392,"45":8533336156847628288},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,87,24,16,45]} 
[2026-07-08 20:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581634048001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:18:01] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-08 20:18:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-08 20:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343225555476283392,"km_value":343225555476283.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8533336156847628288,"description":"Unknown IO ID 45"} 
[2026-07-08 20:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581634048001,"power":27397,"unknown_35":206,"unknown_87":12288,"ignition":25,"odometer":null,"unknown_45":8533336156847628288}} 
[2026-07-08 20:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":127919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:18:01] local.INFO: GPS data processed {"connection_id":127919,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:18:01] local.INFO: Acknowledgment sent {"connection_id":127919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:18:03] local.INFO: TCP Data received {"connection_id":125809,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:18:03] local.INFO: Processing buffer {"connection_id":125809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:18:03] local.INFO: IMEI packet received {"connection_id":125809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":125809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:18:03] local.INFO: TCP Data received {"connection_id":125809,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42316040012d196680071ff078003e014229..."} 
[2026-07-08 20:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42316040012d196680071ff078003e014229..."} 
[2026-07-08 20:18:03] local.INFO: Processing buffer {"connection_id":125809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42316040012d196680071ff078003e014229..."} 
[2026-07-08 20:18:03] local.INFO: Packet analysis {"connection_id":125809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4231"} 
[2026-07-08 20:18:03] local.INFO: Extracted packet for processing {"connection_id":125809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4231"} 
[2026-07-08 20:18:03] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":41,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20: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-07-08 20:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581616384001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783521960000,"timestamp_ms":1783521960000,"timestamp_seconds":1783521960,"priority":1,"record_length":96,"hex_timestamp":"0000019f42316040"} 
[2026-07-08 20:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-08 20:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20: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-07-08 20:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:18:03] 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-07-08 20:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581616384001,"66":12232,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581616384001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:18:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:18:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581616384001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":125809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:18:03] local.INFO: GPS data processed {"connection_id":125809,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:18:03] local.INFO: Acknowledgment sent {"connection_id":125809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:18:05] local.INFO: TCP Data received {"connection_id":127919,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42325270012d765ec005ea0628000c014c2a..."} 
[2026-07-08 20:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42325270012d765ec005ea0628000c014c2a..."} 
[2026-07-08 20:18:05] local.INFO: Processing buffer {"connection_id":127919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42325270012d765ec005ea0628000c014c2a..."} 
[2026-07-08 20:18:05] local.INFO: Packet analysis {"connection_id":127919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4232"} 
[2026-07-08 20:18:05] local.INFO: Extracted packet for processing {"connection_id":127919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4232"} 
[2026-07-08 20:18:05] local.INFO: GPS Element Parsed {"raw_longitude":762732224,"raw_latitude":99223080,"longitude_deg":76.2732224,"latitude_deg":9.922308,"altitude":12,"angle":332,"satellites":42,"speed":27,"hex_longitude":"2d765ec0","hex_latitude":"05ea0628","is_valid_coordinates":true} 
[2026-07-08 20:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581634048001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343225984973012992,"note":"Value kept but may cause issues"} 
[2026-07-08 20:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8533336156847628288,"note":"Value kept but may cause issues"} 
[2026-07-08 20:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783522022000,"timestamp_ms":1783522022000,"timestamp_seconds":1783522022,"priority":1,"record_length":96,"hex_timestamp":"0000019f42325270"} 
[2026-07-08 20:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-08 20:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581634048001,"66":27343,"35":206,"87":12288,"24":27,"16":343225984973012992,"45":8533336156847628288},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,87,24,16,45]} 
[2026-07-08 20:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581634048001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:18:05] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-08 20:18:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-08 20:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343225984973012992,"km_value":343225984973013.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8533336156847628288,"description":"Unknown IO ID 45"} 
[2026-07-08 20:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581634048001,"power":27343,"unknown_35":206,"unknown_87":12288,"ignition":27,"odometer":null,"unknown_45":8533336156847628288}} 
[2026-07-08 20:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":127919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:18:06] local.INFO: GPS data processed {"connection_id":127919,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:18:06] local.INFO: Acknowledgment sent {"connection_id":127919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:18:34] local.INFO: TCP Data received {"connection_id":125809,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4231b248012d196680071ff078003e014228..."} 
[2026-07-08 20:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4231b248012d196680071ff078003e014228..."} 
[2026-07-08 20:18:34] local.INFO: Processing buffer {"connection_id":125809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4231b248012d196680071ff078003e014228..."} 
[2026-07-08 20:18:34] local.INFO: Packet analysis {"connection_id":125809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4231"} 
[2026-07-08 20:18:34] local.INFO: Extracted packet for processing {"connection_id":125809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4231"} 
[2026-07-08 20:18:34] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581621760001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783521981000,"timestamp_ms":1783521981000,"timestamp_seconds":1783521981,"priority":1,"record_length":96,"hex_timestamp":"0000019f4231b248"} 
[2026-07-08 20:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-08 20:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:18:34] 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-07-08 20:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581621760001,"66":12211,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581621760001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:18:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:18:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581621760001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":125809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:18:34] local.INFO: GPS data processed {"connection_id":125809,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:18:34] local.INFO: Acknowledgment sent {"connection_id":125809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:18:37] local.INFO: TCP Data received {"connection_id":127919,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42325270012d765ec005ea0628000c014c2a..."} 
[2026-07-08 20:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42325270012d765ec005ea0628000c014c2a..."} 
[2026-07-08 20:18:37] local.INFO: Processing buffer {"connection_id":127919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42325270012d765ec005ea0628000c014c2a..."} 
[2026-07-08 20:18:37] local.INFO: Packet analysis {"connection_id":127919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4232"} 
[2026-07-08 20:18:37] local.INFO: Extracted packet for processing {"connection_id":127919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4232"} 
[2026-07-08 20:18:37] local.INFO: GPS Element Parsed {"raw_longitude":762732224,"raw_latitude":99223080,"longitude_deg":76.2732224,"latitude_deg":9.922308,"altitude":12,"angle":332,"satellites":42,"speed":27,"hex_longitude":"2d765ec0","hex_latitude":"05ea0628","is_valid_coordinates":true} 
[2026-07-08 20:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581637632001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343225984973012992,"note":"Value kept but may cause issues"} 
[2026-07-08 20:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8529465875919939584,"note":"Value kept but may cause issues"} 
[2026-07-08 20:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783522022000,"timestamp_ms":1783522022000,"timestamp_seconds":1783522022,"priority":1,"record_length":96,"hex_timestamp":"0000019f42325270"} 
[2026-07-08 20:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 20:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581637632001,"66":27343,"35":206,"87":12288,"24":27,"16":343225984973012992,"45":8529465875919939584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,87,24,16,45]} 
[2026-07-08 20:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581637632001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:18:37] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-08 20:18:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-08 20:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343225984973012992,"km_value":343225984973013.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8529465875919939584,"description":"Unknown IO ID 45"} 
[2026-07-08 20:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581637632001,"power":27343,"unknown_35":206,"unknown_87":12288,"ignition":27,"odometer":null,"unknown_45":8529465875919939584}} 
[2026-07-08 20:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":127919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:18:37] local.INFO: GPS data processed {"connection_id":127919,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:18:37] local.INFO: Acknowledgment sent {"connection_id":127919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:18:55] local.INFO: TCP Data received {"connection_id":125810,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:18:55] local.INFO: Processing buffer {"connection_id":125810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:18:55] local.INFO: IMEI packet received {"connection_id":125810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":125810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:18:57] local.INFO: TCP Data received {"connection_id":125810,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:18:57] local.INFO: Processing buffer {"connection_id":125810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:18:57] local.INFO: IMEI packet received {"connection_id":125810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":125810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:18:59] local.INFO: TCP Data received {"connection_id":125811,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:18:59] local.INFO: Processing buffer {"connection_id":125811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:18:59] local.INFO: IMEI packet received {"connection_id":125811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":125811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:19:00] local.INFO: TCP Data received {"connection_id":125810,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:19:00] local.INFO: Processing buffer {"connection_id":125810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:19:00] local.INFO: IMEI packet received {"connection_id":125810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":125810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:19:02] local.INFO: TCP Data received {"connection_id":125810,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f423290f0012d764f0005ea25d0000a014c27..."} 
[2026-07-08 20:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f423290f0012d764f0005ea25d0000a014c27..."} 
[2026-07-08 20:19:02] local.INFO: Processing buffer {"connection_id":125810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f423290f0012d764f0005ea25d0000a014c27..."} 
[2026-07-08 20:19:02] local.INFO: Packet analysis {"connection_id":125810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4232"} 
[2026-07-08 20:19:02] local.INFO: Extracted packet for processing {"connection_id":125810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4232"} 
[2026-07-08 20:19:02] local.INFO: GPS Element Parsed {"raw_longitude":762728192,"raw_latitude":99231184,"longitude_deg":76.2728192,"latitude_deg":9.9231184,"altitude":10,"angle":332,"satellites":39,"speed":28,"hex_longitude":"2d764f00","hex_latitude":"05ea25d0","is_valid_coordinates":true} 
[2026-07-08 20:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581637632001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343226423059677184,"note":"Value kept but may cause issues"} 
[2026-07-08 20:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8529465875919939584,"note":"Value kept but may cause issues"} 
[2026-07-08 20:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783522038000,"timestamp_ms":1783522038000,"timestamp_seconds":1783522038,"priority":1,"record_length":96,"hex_timestamp":"0000019f423290f0"} 
[2026-07-08 20:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:19: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-07-08 20:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 20:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581637632001,"66":27343,"185":206,"87":12288,"24":28,"16":343226423059677184,"45":8529465875919939584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,87,24,16,45]} 
[2026-07-08 20:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581637632001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:19:02] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-08 20:19:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-08 20:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343226423059677184,"km_value":343226423059677.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8529465875919939584,"description":"Unknown IO ID 45"} 
[2026-07-08 20:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581637632001,"power":27343,"unknown_185":206,"unknown_87":12288,"ignition":28,"odometer":null,"unknown_45":8529465875919939584}} 
[2026-07-08 20:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":125810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:19:02] local.INFO: GPS data processed {"connection_id":125810,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:19:02] local.INFO: Acknowledgment sent {"connection_id":125810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:19:04] local.INFO: TCP Data received {"connection_id":125811,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:19:04] local.INFO: Processing buffer {"connection_id":125811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:19:04] local.INFO: IMEI packet received {"connection_id":125811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":125811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:19:05] local.INFO: TCP Data received {"connection_id":125811,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42320450012d196680071ff078003e014225..."} 
[2026-07-08 20:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42320450012d196680071ff078003e014225..."} 
[2026-07-08 20:19:05] local.INFO: Processing buffer {"connection_id":125811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42320450012d196680071ff078003e014225..."} 
[2026-07-08 20:19:05] local.INFO: Packet analysis {"connection_id":125811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4232"} 
[2026-07-08 20:19:05] local.INFO: Extracted packet for processing {"connection_id":125811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4232"} 
[2026-07-08 20:19:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581627136001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783522002000,"timestamp_ms":1783522002000,"timestamp_seconds":1783522002,"priority":1,"record_length":96,"hex_timestamp":"0000019f42320450"} 
[2026-07-08 20:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 20:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:19:05] 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-07-08 20:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581627136001,"66":12232,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581627136001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:19:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:19:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581627136001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":125811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:19:05] local.INFO: GPS data processed {"connection_id":125811,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:19:05] local.INFO: Acknowledgment sent {"connection_id":125811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:19:33] local.INFO: TCP Data received {"connection_id":125810,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4232bfd0012d763f0005ea4600000b014b2a..."} 
[2026-07-08 20:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4232bfd0012d763f0005ea4600000b014b2a..."} 
[2026-07-08 20:19:33] local.INFO: Processing buffer {"connection_id":125810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4232bfd0012d763f0005ea4600000b014b2a..."} 
[2026-07-08 20:19:33] local.INFO: Packet analysis {"connection_id":125810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4232"} 
[2026-07-08 20:19:33] local.INFO: Extracted packet for processing {"connection_id":125810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4232"} 
[2026-07-08 20:19:33] local.INFO: GPS Element Parsed {"raw_longitude":762724096,"raw_latitude":99239424,"longitude_deg":76.2724096,"latitude_deg":9.9239424,"altitude":11,"angle":331,"satellites":42,"speed":27,"hex_longitude":"2d763f00","hex_latitude":"05ea4600","is_valid_coordinates":true} 
[2026-07-08 20: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-07-08 20:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581641728001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343226869736275968,"note":"Value kept but may cause issues"} 
[2026-07-08 20:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8525032645038821376,"note":"Value kept but may cause issues"} 
[2026-07-08 20:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783522050000,"timestamp_ms":1783522050000,"timestamp_seconds":1783522050,"priority":1,"record_length":96,"hex_timestamp":"0000019f4232bfd0"} 
[2026-07-08 20:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 20:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20: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-07-08 20:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581641728001,"66":27310,"185":206,"87":12288,"24":27,"16":343226869736275968,"45":8525032645038821376},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,87,24,16,45]} 
[2026-07-08 20:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581641728001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:19:33] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-08 20:19:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-08 20:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343226869736275968,"km_value":343226869736275.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8525032645038821376,"description":"Unknown IO ID 45"} 
[2026-07-08 20:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581641728001,"power":27310,"unknown_185":206,"unknown_87":12288,"ignition":27,"odometer":null,"unknown_45":8525032645038821376}} 
[2026-07-08 20:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":125810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:19:33] local.INFO: GPS data processed {"connection_id":125810,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:19:33] local.INFO: Acknowledgment sent {"connection_id":125810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:19:36] local.INFO: TCP Data received {"connection_id":125811,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42325658012d196680071ff078003e014227..."} 
[2026-07-08 20:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42325658012d196680071ff078003e014227..."} 
[2026-07-08 20:19:36] local.INFO: Processing buffer {"connection_id":125811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42325658012d196680071ff078003e014227..."} 
[2026-07-08 20:19:36] local.INFO: Packet analysis {"connection_id":125811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4232"} 
[2026-07-08 20:19:36] local.INFO: Extracted packet for processing {"connection_id":125811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4232"} 
[2026-07-08 20:19:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581632512001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783522023000,"timestamp_ms":1783522023000,"timestamp_seconds":1783522023,"priority":1,"record_length":96,"hex_timestamp":"0000019f42325658"} 
[2026-07-08 20:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-08 20:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:19:36] 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-07-08 20:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581632512001,"66":12232,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581632512001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:19:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:19:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581632512001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":125811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:19:36] local.INFO: GPS data processed {"connection_id":125811,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:19:36] local.INFO: Acknowledgment sent {"connection_id":125811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:19:55] local.INFO: TCP Data received {"connection_id":127921,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:19:55] local.INFO: Processing buffer {"connection_id":127921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:19:55] local.INFO: IMEI packet received {"connection_id":127921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":127921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:19:56] local.INFO: TCP Data received {"connection_id":127921,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:19:56] local.INFO: Processing buffer {"connection_id":127921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:19:56] local.INFO: IMEI packet received {"connection_id":127921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":127921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:19:57] local.INFO: TCP Data received {"connection_id":127921,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:19:57] local.INFO: Processing buffer {"connection_id":127921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:19:57] local.INFO: IMEI packet received {"connection_id":127921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":127921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:19:59] local.INFO: TCP Data received {"connection_id":127921,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:19:59] local.INFO: Processing buffer {"connection_id":127921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:19:59] local.INFO: IMEI packet received {"connection_id":127921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":127921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:20:00] local.INFO: TCP Data received {"connection_id":127922,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:20:00] local.INFO: Processing buffer {"connection_id":127922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:20:00] local.INFO: IMEI packet received {"connection_id":127922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":127922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:20:04] local.INFO: TCP Data received {"connection_id":127922,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:20:04] local.INFO: Processing buffer {"connection_id":127922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:20:04] local.INFO: IMEI packet received {"connection_id":127922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":127922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:20:05] local.INFO: TCP Data received {"connection_id":127922,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4232a860012d196680071ff078003e014227..."} 
[2026-07-08 20:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4232a860012d196680071ff078003e014227..."} 
[2026-07-08 20:20:05] local.INFO: Processing buffer {"connection_id":127922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4232a860012d196680071ff078003e014227..."} 
[2026-07-08 20:20:05] local.INFO: Packet analysis {"connection_id":127922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4232"} 
[2026-07-08 20:20:05] local.INFO: Extracted packet for processing {"connection_id":127922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4232"} 
[2026-07-08 20:20:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581637888001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783522044000,"timestamp_ms":1783522044000,"timestamp_seconds":1783522044,"priority":1,"record_length":96,"hex_timestamp":"0000019f4232a860"} 
[2026-07-08 20:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-08 20:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:20:05] 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-07-08 20:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581637888001,"66":12232,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581637888001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:20:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:20:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581637888001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":127922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:20:05] local.INFO: GPS data processed {"connection_id":127922,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:20:05] local.INFO: Acknowledgment sent {"connection_id":127922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:20:36] local.INFO: TCP Data received {"connection_id":127922,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4232fa68012d196680071ff078003e014229..."} 
[2026-07-08 20:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4232fa68012d196680071ff078003e014229..."} 
[2026-07-08 20:20:36] local.INFO: Processing buffer {"connection_id":127922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4232fa68012d196680071ff078003e014229..."} 
[2026-07-08 20:20:36] local.INFO: Packet analysis {"connection_id":127922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4232"} 
[2026-07-08 20:20:36] local.INFO: Extracted packet for processing {"connection_id":127922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4232"} 
[2026-07-08 20:20:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":41,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20: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-07-08 20:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581643264001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783522065000,"timestamp_ms":1783522065000,"timestamp_seconds":1783522065,"priority":1,"record_length":96,"hex_timestamp":"0000019f4232fa68"} 
[2026-07-08 20:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-08 20:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20: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-07-08 20:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:20:36] 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-07-08 20:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581643264001,"66":12232,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581643264001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:20:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:20:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581643264001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":127922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:20:36] local.INFO: GPS data processed {"connection_id":127922,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:20:36] local.INFO: Acknowledgment sent {"connection_id":127922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:20:59] local.INFO: TCP Data received {"connection_id":125938,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:20:59] local.INFO: Processing buffer {"connection_id":125938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:20:59] local.INFO: IMEI packet received {"connection_id":125938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":125938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:21:04] local.INFO: TCP Data received {"connection_id":125938,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:21:04] local.INFO: Processing buffer {"connection_id":125938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:21:04] local.INFO: IMEI packet received {"connection_id":125938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":125938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:21:16] local.INFO: TCP Data received {"connection_id":125938,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42334c70012d196680071ff078003e014227..."} 
[2026-07-08 20:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42334c70012d196680071ff078003e014227..."} 
[2026-07-08 20:21:16] local.INFO: Processing buffer {"connection_id":125938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42334c70012d196680071ff078003e014227..."} 
[2026-07-08 20:21:16] local.INFO: Packet analysis {"connection_id":125938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4233"} 
[2026-07-08 20:21:16] local.INFO: Extracted packet for processing {"connection_id":125938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4233"} 
[2026-07-08 20:21:16] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581648640001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:21:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783522086000,"timestamp_ms":1783522086000,"timestamp_seconds":1783522086,"priority":1,"record_length":96,"hex_timestamp":"0000019f42334c70"} 
[2026-07-08 20:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:21:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-08 20:21:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:21:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":125938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":125938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":125938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:21:16] 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-07-08 20:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581648640001,"66":12200,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581648640001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:21:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:21:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581648640001,"power":12200,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":125938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:21:16] local.INFO: GPS data processed {"connection_id":125938,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:21:16] local.INFO: Acknowledgment sent {"connection_id":125938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:22:00] local.INFO: TCP Data received {"connection_id":126705,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:22:00] local.INFO: Processing buffer {"connection_id":126705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:22:00] local.INFO: IMEI packet received {"connection_id":126705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":126705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:22:04] local.INFO: TCP Data received {"connection_id":126705,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:22:04] local.INFO: Processing buffer {"connection_id":126705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:22:04] local.INFO: IMEI packet received {"connection_id":126705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":126705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:22:05] local.INFO: TCP Data received {"connection_id":126705,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42339e78012d196680071ff078003e014228..."} 
[2026-07-08 20:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42339e78012d196680071ff078003e014228..."} 
[2026-07-08 20:22:05] local.INFO: Processing buffer {"connection_id":126705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42339e78012d196680071ff078003e014228..."} 
[2026-07-08 20:22:05] local.INFO: Packet analysis {"connection_id":126705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4233"} 
[2026-07-08 20:22:05] local.INFO: Extracted packet for processing {"connection_id":126705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4233"} 
[2026-07-08 20:22:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581654016001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783522107000,"timestamp_ms":1783522107000,"timestamp_seconds":1783522107,"priority":1,"record_length":96,"hex_timestamp":"0000019f42339e78"} 
[2026-07-08 20:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-07-08 20:22:05] 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-07-08 20:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:22:05] 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-07-08 20:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581654016001,"66":12211,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581654016001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:22:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:22:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581654016001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":126705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:22:05] local.INFO: GPS data processed {"connection_id":126705,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:22:05] local.INFO: Acknowledgment sent {"connection_id":126705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:22:36] local.INFO: TCP Data received {"connection_id":126705,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4233f080012d196680071ff078003e014227..."} 
[2026-07-08 20:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4233f080012d196680071ff078003e014227..."} 
[2026-07-08 20:22:36] local.INFO: Processing buffer {"connection_id":126705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4233f080012d196680071ff078003e014227..."} 
[2026-07-08 20:22:36] local.INFO: Packet analysis {"connection_id":126705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4233"} 
[2026-07-08 20:22:36] local.INFO: Extracted packet for processing {"connection_id":126705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4233"} 
[2026-07-08 20:22:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581659392001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783522128000,"timestamp_ms":1783522128000,"timestamp_seconds":1783522128,"priority":1,"record_length":96,"hex_timestamp":"0000019f4233f080"} 
[2026-07-08 20:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 20:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:22:36] 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-07-08 20:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581659392001,"66":12232,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581659392001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:22:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:22:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581659392001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":126705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:22:36] local.INFO: GPS data processed {"connection_id":126705,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:22:36] local.INFO: Acknowledgment sent {"connection_id":126705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:23:00] local.INFO: TCP Data received {"connection_id":126706,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:23:00] local.INFO: Processing buffer {"connection_id":126706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:23:00] local.INFO: IMEI packet received {"connection_id":126706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":126706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:23:04] local.INFO: TCP Data received {"connection_id":126706,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:23:04] local.INFO: Processing buffer {"connection_id":126706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:23:04] local.INFO: IMEI packet received {"connection_id":126706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":126706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:23:05] local.INFO: TCP Data received {"connection_id":126706,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42344288012d196680071ff078003e014226..."} 
[2026-07-08 20:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42344288012d196680071ff078003e014226..."} 
[2026-07-08 20:23:05] local.INFO: Processing buffer {"connection_id":126706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42344288012d196680071ff078003e014226..."} 
[2026-07-08 20:23:05] local.INFO: Packet analysis {"connection_id":126706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4234"} 
[2026-07-08 20:23:05] local.INFO: Extracted packet for processing {"connection_id":126706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4234"} 
[2026-07-08 20:23:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581664768001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783522149000,"timestamp_ms":1783522149000,"timestamp_seconds":1783522149,"priority":1,"record_length":96,"hex_timestamp":"0000019f42344288"} 
[2026-07-08 20:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-08 20:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20: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-07-08 20:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:23:05] 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-07-08 20:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581664768001,"66":12156,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581664768001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:23:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:23:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581664768001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":126706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:23:05] local.INFO: GPS data processed {"connection_id":126706,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:23:05] local.INFO: Acknowledgment sent {"connection_id":126706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:23:20] local.INFO: TCP Data received {"connection_id":125941,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125941,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:23:20] local.INFO: Processing buffer {"connection_id":125941,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:23:20] local.INFO: IMEI packet received {"connection_id":125941,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 20:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":125941,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:23:36] local.INFO: TCP Data received {"connection_id":126706,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42349490012d196680071ff078003e014226..."} 
[2026-07-08 20:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42349490012d196680071ff078003e014226..."} 
[2026-07-08 20:23:36] local.INFO: Processing buffer {"connection_id":126706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42349490012d196680071ff078003e014226..."} 
[2026-07-08 20:23:36] local.INFO: Packet analysis {"connection_id":126706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4234"} 
[2026-07-08 20:23:36] local.INFO: Extracted packet for processing {"connection_id":126706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4234"} 
[2026-07-08 20:23:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581670144001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783522170000,"timestamp_ms":1783522170000,"timestamp_seconds":1783522170,"priority":1,"record_length":96,"hex_timestamp":"0000019f42349490"} 
[2026-07-08 20:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-08 20:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:23:36] 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-07-08 20:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581670144001,"66":12232,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581670144001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:23:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:23:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581670144001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":126706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:23:36] local.INFO: GPS data processed {"connection_id":126706,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:23:36] local.INFO: Acknowledgment sent {"connection_id":126706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:23:55] local.INFO: TCP Data received {"connection_id":125814,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125814,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:23:55] local.INFO: Processing buffer {"connection_id":125814,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:23:55] local.INFO: IMEI packet received {"connection_id":125814,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 20:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":125814,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:23:59] local.INFO: TCP Data received {"connection_id":125816,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:23:59] local.INFO: Processing buffer {"connection_id":125816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:23:59] local.INFO: IMEI packet received {"connection_id":125816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":125816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:23:59] local.INFO: TCP Data received {"connection_id":125816,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:23:59] local.INFO: Processing buffer {"connection_id":125816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:23:59] local.INFO: IMEI packet received {"connection_id":125816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":125816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:24:04] local.INFO: TCP Data received {"connection_id":125816,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:24:04] local.INFO: Processing buffer {"connection_id":125816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:24:04] local.INFO: IMEI packet received {"connection_id":125816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":125816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:24:05] local.INFO: TCP Data received {"connection_id":125816,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4234e698012d196680071ff078003e014225..."} 
[2026-07-08 20:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4234e698012d196680071ff078003e014225..."} 
[2026-07-08 20:24:05] local.INFO: Processing buffer {"connection_id":125816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4234e698012d196680071ff078003e014225..."} 
[2026-07-08 20:24:05] local.INFO: Packet analysis {"connection_id":125816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4234"} 
[2026-07-08 20:24:05] local.INFO: Extracted packet for processing {"connection_id":125816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4234"} 
[2026-07-08 20:24:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581675520001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783522191000,"timestamp_ms":1783522191000,"timestamp_seconds":1783522191,"priority":1,"record_length":96,"hex_timestamp":"0000019f4234e698"} 
[2026-07-08 20:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-08 20:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:24:05] 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-07-08 20:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581675520001,"66":12145,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581675520001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:24:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:24:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581675520001,"power":12145,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":125816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:24:05] local.INFO: GPS data processed {"connection_id":125816,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:24:05] local.INFO: Acknowledgment sent {"connection_id":125816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:24:36] local.INFO: TCP Data received {"connection_id":125816,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f423538a0012d196680071ff078003e014225..."} 
[2026-07-08 20:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f423538a0012d196680071ff078003e014225..."} 
[2026-07-08 20:24:36] local.INFO: Processing buffer {"connection_id":125816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f423538a0012d196680071ff078003e014225..."} 
[2026-07-08 20:24:36] local.INFO: Packet analysis {"connection_id":125816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4235"} 
[2026-07-08 20:24:36] local.INFO: Extracted packet for processing {"connection_id":125816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4235"} 
[2026-07-08 20:24:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20: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-07-08 20:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581680896001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783522212000,"timestamp_ms":1783522212000,"timestamp_seconds":1783522212,"priority":1,"record_length":96,"hex_timestamp":"0000019f423538a0"} 
[2026-07-08 20:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-08 20:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:24:36] 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-07-08 20:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581680896001,"66":12211,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581680896001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:24:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:24:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581680896001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":125816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:24:36] local.INFO: GPS data processed {"connection_id":125816,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:24:36] local.INFO: Acknowledgment sent {"connection_id":125816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:25:00] local.INFO: TCP Data received {"connection_id":127925,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:25:00] local.INFO: Processing buffer {"connection_id":127925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:25:00] local.INFO: IMEI packet received {"connection_id":127925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":127925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:25:02] local.INFO: TCP Data received {"connection_id":127926,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:25:02] local.INFO: Processing buffer {"connection_id":127926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:25:02] local.INFO: IMEI packet received {"connection_id":127926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":127926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:25:04] local.INFO: TCP Data received {"connection_id":127926,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:25:04] local.INFO: Processing buffer {"connection_id":127926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:25:04] local.INFO: IMEI packet received {"connection_id":127926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":127926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:25:05] local.INFO: TCP Data received {"connection_id":127925,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:25:05] local.INFO: Processing buffer {"connection_id":127925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:25:05] local.INFO: IMEI packet received {"connection_id":127925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":127925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:25:06] local.INFO: TCP Data received {"connection_id":127925,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42389018012d772dc005ec3fc00005003f29..."} 
[2026-07-08 20:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42389018012d772dc005ec3fc00005003f29..."} 
[2026-07-08 20:25:06] local.INFO: Processing buffer {"connection_id":127925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42389018012d772dc005ec3fc00005003f29..."} 
[2026-07-08 20:25:06] local.INFO: Packet analysis {"connection_id":127925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4238"} 
[2026-07-08 20:25:06] local.INFO: Extracted packet for processing {"connection_id":127925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4238"} 
[2026-07-08 20:25:06] local.INFO: GPS Element Parsed {"raw_longitude":762785216,"raw_latitude":99368896,"longitude_deg":76.2785216,"latitude_deg":9.9368896,"altitude":5,"angle":63,"satellites":41,"speed":28,"hex_longitude":"2d772dc0","hex_latitude":"05ec3fc0","is_valid_coordinates":true} 
[2026-07-08 20:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581742336001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343236503347920896,"note":"Value kept but may cause issues"} 
[2026-07-08 20:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8587731196136374272,"note":"Value kept but may cause issues"} 
[2026-07-08 20:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783522431000,"timestamp_ms":1783522431000,"timestamp_seconds":1783522431,"priority":1,"record_length":96,"hex_timestamp":"0000019f42389018"} 
[2026-07-08 20:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 20:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581742336001,"66":27321,"33":206,"87":12288,"24":28,"16":343236503347920896,"45":8587731196136374272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,87,24,16,45]} 
[2026-07-08 20:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581742336001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:25:06] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-08 20:25:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-08 20:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343236503347920896,"km_value":343236503347920.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8587731196136374272,"description":"Unknown IO ID 45"} 
[2026-07-08 20:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581742336001,"power":27321,"unknown_33":206,"unknown_87":12288,"ignition":28,"odometer":null,"unknown_45":8587731196136374272}} 
[2026-07-08 20:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":127925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:25:06] local.INFO: GPS data processed {"connection_id":127925,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:25:06] local.INFO: Acknowledgment sent {"connection_id":127925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:25:09] local.INFO: TCP Data received {"connection_id":127925,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4238a788012d773c4005ec48b8000600322c..."} 
[2026-07-08 20:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4238a788012d773c4005ec48b8000600322c..."} 
[2026-07-08 20:25:09] local.INFO: Processing buffer {"connection_id":127925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4238a788012d773c4005ec48b8000600322c..."} 
[2026-07-08 20:25:09] local.INFO: Packet analysis {"connection_id":127925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4238"} 
[2026-07-08 20:25:09] local.INFO: Extracted packet for processing {"connection_id":127925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4238"} 
[2026-07-08 20:25:09] local.INFO: GPS Element Parsed {"raw_longitude":762788928,"raw_latitude":99371192,"longitude_deg":76.2788928,"latitude_deg":9.9371192,"altitude":6,"angle":50,"satellites":44,"speed":29,"hex_longitude":"2d773c40","hex_latitude":"05ec48b8","is_valid_coordinates":true} 
[2026-07-08 20:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581742336001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343236713801318400,"note":"Value kept but may cause issues"} 
[2026-07-08 20:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8587731196136374272,"note":"Value kept but may cause issues"} 
[2026-07-08 20:25:09] 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-07-08 20:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783522437000,"timestamp_ms":1783522437000,"timestamp_seconds":1783522437,"priority":1,"record_length":96,"hex_timestamp":"0000019f4238a788"} 
[2026-07-08 20:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 20:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":127925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":127925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":127925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581742336001,"66":27365,"102":206,"87":13824,"24":29,"16":343236713801318400,"45":8587731196136374272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-07-08 20:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581742336001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:25:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:25:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 20:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343236713801318400,"km_value":343236713801318.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8587731196136374272,"description":"Unknown IO ID 45"} 
[2026-07-08 20:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581742336001,"power":27365,"unknown_102":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8587731196136374272}} 
[2026-07-08 20:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":127925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:25:09] local.INFO: GPS data processed {"connection_id":127925,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:25:09] local.INFO: Acknowledgment sent {"connection_id":127925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:25:09] local.INFO: TCP Data received {"connection_id":127926,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:25:09] local.INFO: Processing buffer {"connection_id":127926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:25:09] local.INFO: IMEI packet received {"connection_id":127926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":127926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:25:10] local.INFO: TCP Data received {"connection_id":127926,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42358aa8012d196680071ff078003e014226..."} 
[2026-07-08 20:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42358aa8012d196680071ff078003e014226..."} 
[2026-07-08 20:25:10] local.INFO: Processing buffer {"connection_id":127926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42358aa8012d196680071ff078003e014226..."} 
[2026-07-08 20:25:10] local.INFO: Packet analysis {"connection_id":127926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4235"} 
[2026-07-08 20:25:10] local.INFO: Extracted packet for processing {"connection_id":127926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4235"} 
[2026-07-08 20:25:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581686272001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783522233000,"timestamp_ms":1783522233000,"timestamp_seconds":1783522233,"priority":1,"record_length":96,"hex_timestamp":"0000019f42358aa8"} 
[2026-07-08 20:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 20:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":127926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":127926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":127926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:25:10] 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-07-08 20:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581686272001,"66":12211,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581686272001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:25:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:25:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581686272001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":127926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:25:10] local.INFO: GPS data processed {"connection_id":127926,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:25:10] local.INFO: Acknowledgment sent {"connection_id":127926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:25:18] local.INFO: TCP Data received {"connection_id":127926,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4235dcb0012d196680071ff078003e014222..."} 
[2026-07-08 20:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4235dcb0012d196680071ff078003e014222..."} 
[2026-07-08 20:25:18] local.INFO: Processing buffer {"connection_id":127926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4235dcb0012d196680071ff078003e014222..."} 
[2026-07-08 20:25:18] local.INFO: Packet analysis {"connection_id":127926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4235"} 
[2026-07-08 20:25:18] local.INFO: Extracted packet for processing {"connection_id":127926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4235"} 
[2026-07-08 20:25:18] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581691648001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:25:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783522254000,"timestamp_ms":1783522254000,"timestamp_seconds":1783522254,"priority":1,"record_length":96,"hex_timestamp":"0000019f4235dcb0"} 
[2026-07-08 20:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 20:25:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:25:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":127926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":127926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":127926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:25:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581691648001,"66":12232,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581691648001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:25:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:25:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581691648001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":127926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:25:19] local.INFO: GPS data processed {"connection_id":127926,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:25:19] local.INFO: Acknowledgment sent {"connection_id":127926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:25:44] local.INFO: TCP Data received {"connection_id":127925,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4238cab0012d774f0005ec5988000700272d..."} 
[2026-07-08 20:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4238cab0012d774f0005ec5988000700272d..."} 
[2026-07-08 20:25:44] local.INFO: Processing buffer {"connection_id":127925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4238cab0012d774f0005ec5988000700272d..."} 
[2026-07-08 20:25:44] local.INFO: Packet analysis {"connection_id":127925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4238"} 
[2026-07-08 20:25:44] local.INFO: Extracted packet for processing {"connection_id":127925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4238"} 
[2026-07-08 20:25:44] local.INFO: GPS Element Parsed {"raw_longitude":762793728,"raw_latitude":99375496,"longitude_deg":76.2793728,"latitude_deg":9.9375496,"altitude":7,"angle":39,"satellites":45,"speed":27,"hex_longitude":"2d774f00","hex_latitude":"05ec5988","is_valid_coordinates":true} 
[2026-07-08 20:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581743872001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343237023038963712,"note":"Value kept but may cause issues"} 
[2026-07-08 20:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8591812583299266560,"note":"Value kept but may cause issues"} 
[2026-07-08 20:25: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-07-08 20:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783522446000,"timestamp_ms":1783522446000,"timestamp_seconds":1783522446,"priority":1,"record_length":96,"hex_timestamp":"0000019f4238cab0"} 
[2026-07-08 20:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:25: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-07-08 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 20:25:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:25:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":127925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":127925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":127925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581743872001,"66":27321,"102":206,"87":13824,"24":27,"16":343237023038963712,"45":8591812583299266560},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-07-08 20:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581743872001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:25:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:25:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 20:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343237023038963712,"km_value":343237023038963.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8591812583299266560,"description":"Unknown IO ID 45"} 
[2026-07-08 20:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581743872001,"power":27321,"unknown_102":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8591812583299266560}} 
[2026-07-08 20:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":127925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:25:45] local.INFO: GPS data processed {"connection_id":127925,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:25:45] local.INFO: Acknowledgment sent {"connection_id":127925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:25:55] local.INFO: TCP Data received {"connection_id":127927,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:25:55] local.INFO: Processing buffer {"connection_id":127927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:25:55] local.INFO: IMEI packet received {"connection_id":127927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":127927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:25:57] local.INFO: TCP Data received {"connection_id":127927,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:25:57] local.INFO: Processing buffer {"connection_id":127927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:25:57] local.INFO: IMEI packet received {"connection_id":127927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":127927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:25:58] local.INFO: TCP Data received {"connection_id":127927,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4238fd78012d775e4005ec6f180006001a2d..."} 
[2026-07-08 20:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4238fd78012d775e4005ec6f180006001a2d..."} 
[2026-07-08 20:25:58] local.INFO: Processing buffer {"connection_id":127927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4238fd78012d775e4005ec6f180006001a2d..."} 
[2026-07-08 20:25:58] local.INFO: Packet analysis {"connection_id":127927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4238"} 
[2026-07-08 20:25:58] local.INFO: Extracted packet for processing {"connection_id":127927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4238"} 
[2026-07-08 20:25:58] local.INFO: GPS Element Parsed {"raw_longitude":762797632,"raw_latitude":99381016,"longitude_deg":76.2797632,"latitude_deg":9.9381016,"altitude":6,"angle":26,"satellites":45,"speed":20,"hex_longitude":"2d775e40","hex_latitude":"05ec6f18","is_valid_coordinates":true} 
[2026-07-08 20: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-07-08 20:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581746176001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343237349456478208,"note":"Value kept but may cause issues"} 
[2026-07-08 20:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8597090239113693184,"note":"Value kept but may cause issues"} 
[2026-07-08 20:25:58] 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-07-08 20:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783522459000,"timestamp_ms":1783522459000,"timestamp_seconds":1783522459,"priority":1,"record_length":96,"hex_timestamp":"0000019f4238fd78"} 
[2026-07-08 20:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 20:25:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20: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-07-08 20:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":127927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":127927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":127927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581746176001,"66":27397,"102":206,"87":13824,"24":20,"16":343237349456478208,"45":8597090239113693184},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-07-08 20:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581746176001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:25:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:25:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 20:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343237349456478208,"km_value":343237349456478.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8597090239113693184,"description":"Unknown IO ID 45"} 
[2026-07-08 20:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581746176001,"power":27397,"unknown_102":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8597090239113693184}} 
[2026-07-08 20:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":127927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:25:58] local.INFO: GPS data processed {"connection_id":127927,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:25:58] local.INFO: Acknowledgment sent {"connection_id":127927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:25:59] local.INFO: TCP Data received {"connection_id":125942,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:25:59] local.INFO: Processing buffer {"connection_id":125942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:25:59] local.INFO: IMEI packet received {"connection_id":125942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":125942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:26:00] local.INFO: TCP Data received {"connection_id":127927,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42393040012d776e4005ec90880006001c2b..."} 
[2026-07-08 20:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42393040012d776e4005ec90880006001c2b..."} 
[2026-07-08 20:26:00] local.INFO: Processing buffer {"connection_id":127927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42393040012d776e4005ec90880006001c2b..."} 
[2026-07-08 20:26:00] local.INFO: Packet analysis {"connection_id":127927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4239"} 
[2026-07-08 20:26:00] local.INFO: Extracted packet for processing {"connection_id":127927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4239"} 
[2026-07-08 20:26:00] local.INFO: GPS Element Parsed {"raw_longitude":762801728,"raw_latitude":99389576,"longitude_deg":76.2801728,"latitude_deg":9.9389576,"altitude":6,"angle":28,"satellites":43,"speed":33,"hex_longitude":"2d776e40","hex_latitude":"05ec9088","is_valid_coordinates":true} 
[2026-07-08 20: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-07-08 20:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581749504001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343237809017978880,"note":"Value kept but may cause issues"} 
[2026-07-08 20:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8601382732509943808,"note":"Value kept but may cause issues"} 
[2026-07-08 20:26:00] 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-07-08 20:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783522472000,"timestamp_ms":1783522472000,"timestamp_seconds":1783522472,"priority":1,"record_length":96,"hex_timestamp":"0000019f42393040"} 
[2026-07-08 20:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-08 20:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20: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-07-08 20:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":127927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":127927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":127927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581749504001,"66":27332,"102":206,"87":13824,"24":33,"16":343237809017978880,"45":8601382732509943808},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-07-08 20:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581749504001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:26:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:26:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 20:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343237809017978880,"km_value":343237809017978.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8601382732509943808,"description":"Unknown IO ID 45"} 
[2026-07-08 20:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581749504001,"power":27332,"unknown_102":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8601382732509943808}} 
[2026-07-08 20:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":127927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:26:00] local.INFO: GPS data processed {"connection_id":127927,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:26:00] local.INFO: Acknowledgment sent {"connection_id":127927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:26:04] local.INFO: TCP Data received {"connection_id":125942,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:26:04] local.INFO: Processing buffer {"connection_id":125942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:26:04] local.INFO: IMEI packet received {"connection_id":125942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":125942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:26:05] local.INFO: TCP Data received {"connection_id":125942,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42362eb8012d196680071ff078003e014226..."} 
[2026-07-08 20:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42362eb8012d196680071ff078003e014226..."} 
[2026-07-08 20:26:05] local.INFO: Processing buffer {"connection_id":125942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42362eb8012d196680071ff078003e014226..."} 
[2026-07-08 20:26:05] local.INFO: Packet analysis {"connection_id":125942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4236"} 
[2026-07-08 20:26:05] local.INFO: Extracted packet for processing {"connection_id":125942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4236"} 
[2026-07-08 20:26:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581697024001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783522275000,"timestamp_ms":1783522275000,"timestamp_seconds":1783522275,"priority":1,"record_length":96,"hex_timestamp":"0000019f42362eb8"} 
[2026-07-08 20:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-08 20:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:26:05] 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-07-08 20:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581697024001,"66":12211,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581697024001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:26:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:26:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581697024001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":125942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:26:05] local.INFO: GPS data processed {"connection_id":125942,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:26:05] local.INFO: Acknowledgment sent {"connection_id":125942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:26:31] local.INFO: TCP Data received {"connection_id":127927,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42395b38012d77808005ecb0900006001e2b..."} 
[2026-07-08 20:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42395b38012d77808005ecb0900006001e2b..."} 
[2026-07-08 20:26:31] local.INFO: Processing buffer {"connection_id":127927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42395b38012d77808005ecb0900006001e2b..."} 
[2026-07-08 20:26:31] local.INFO: Packet analysis {"connection_id":127927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4239"} 
[2026-07-08 20:26:31] local.INFO: Extracted packet for processing {"connection_id":127927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4239"} 
[2026-07-08 20:26:31] local.INFO: GPS Element Parsed {"raw_longitude":762806400,"raw_latitude":99397776,"longitude_deg":76.28064,"latitude_deg":9.9397776,"altitude":6,"angle":30,"satellites":43,"speed":36,"hex_longitude":"2d778080","hex_latitude":"05ecb090","is_valid_coordinates":true} 
[2026-07-08 20: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-07-08 20:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581752832001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343238264284512256,"note":"Value kept but may cause issues"} 
[2026-07-08 20:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8605886332139505664,"note":"Value kept but may cause issues"} 
[2026-07-08 20:26:31] 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-07-08 20:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783522483000,"timestamp_ms":1783522483000,"timestamp_seconds":1783522483,"priority":1,"record_length":96,"hex_timestamp":"0000019f42395b38"} 
[2026-07-08 20:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:26: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-07-08 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-08 20:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20: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-07-08 20:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":127927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":127927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":127927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581752832001,"66":27343,"102":206,"87":13824,"24":36,"16":343238264284512256,"45":8605886332139505664},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-07-08 20:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581752832001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:26:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:26:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 20:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343238264284512256,"km_value":343238264284512.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8605886332139505664,"description":"Unknown IO ID 45"} 
[2026-07-08 20:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581752832001,"power":27343,"unknown_102":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8605886332139505664}} 
[2026-07-08 20:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":127927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:26:31] local.INFO: GPS data processed {"connection_id":127927,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:26:31] local.INFO: Acknowledgment sent {"connection_id":127927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:26:36] local.INFO: TCP Data received {"connection_id":125942,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4239b510012d196680071ff078003e014224..."} 
[2026-07-08 20:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4239b510012d196680071ff078003e014224..."} 
[2026-07-08 20:26:36] local.INFO: Processing buffer {"connection_id":125942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4239b510012d196680071ff078003e014224..."} 
[2026-07-08 20:26:36] local.INFO: Packet analysis {"connection_id":125942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4239"} 
[2026-07-08 20:26:36] local.INFO: Extracted packet for processing {"connection_id":125942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4239"} 
[2026-07-08 20:26:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581756160001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783522506000,"timestamp_ms":1783522506000,"timestamp_seconds":1783522506,"priority":1,"record_length":96,"hex_timestamp":"0000019f4239b510"} 
[2026-07-08 20:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 20:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:26:36] 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-07-08 20:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581756160001,"66":12232,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581756160001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:26:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:26:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581756160001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":125942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:26:36] local.INFO: GPS data processed {"connection_id":125942,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:26:36] local.INFO: Acknowledgment sent {"connection_id":125942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:26:53] local.INFO: TCP Data received {"connection_id":127928,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:26:53] local.INFO: Processing buffer {"connection_id":127928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:26:53] local.INFO: IMEI packet received {"connection_id":127928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":127928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:26:55] local.INFO: TCP Data received {"connection_id":127928,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:26:55] local.INFO: Processing buffer {"connection_id":127928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:26:55] local.INFO: IMEI packet received {"connection_id":127928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":127928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:26:59] local.INFO: TCP Data received {"connection_id":126708,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:26:59] local.INFO: Processing buffer {"connection_id":126708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:26:59] local.INFO: IMEI packet received {"connection_id":126708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":126708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:27:00] local.INFO: TCP Data received {"connection_id":127928,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:27:00] local.INFO: Processing buffer {"connection_id":127928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:27:00] local.INFO: IMEI packet received {"connection_id":127928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":127928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:27:01] local.INFO: TCP Data received {"connection_id":127928,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42398248012d77934005ecd1600006001e2c..."} 
[2026-07-08 20:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42398248012d77934005ecd1600006001e2c..."} 
[2026-07-08 20:27:01] local.INFO: Processing buffer {"connection_id":127928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42398248012d77934005ecd1600006001e2c..."} 
[2026-07-08 20:27:01] local.INFO: Packet analysis {"connection_id":127928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4239"} 
[2026-07-08 20:27:01] local.INFO: Extracted packet for processing {"connection_id":127928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4239"} 
[2026-07-08 20:27:01] local.INFO: GPS Element Parsed {"raw_longitude":762811200,"raw_latitude":99406176,"longitude_deg":76.28112,"latitude_deg":9.9406176,"altitude":6,"angle":30,"satellites":44,"speed":33,"hex_longitude":"2d779340","hex_latitude":"05ecd160","is_valid_coordinates":true} 
[2026-07-08 20:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581755648001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343238732435947520,"note":"Value kept but may cause issues"} 
[2026-07-08 20:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8611023250466574336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:27:01] 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-07-08 20:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783522493000,"timestamp_ms":1783522493000,"timestamp_seconds":1783522493,"priority":1,"record_length":96,"hex_timestamp":"0000019f42398248"} 
[2026-07-08 20:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 20:27:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:27:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581755648001,"66":27397,"102":206,"87":13824,"24":33,"16":343238732435947520,"45":8611023250466574336},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-07-08 20:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581755648001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:27:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:27:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 20:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343238732435947520,"km_value":343238732435947.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8611023250466574336,"description":"Unknown IO ID 45"} 
[2026-07-08 20:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581755648001,"power":27397,"unknown_102":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8611023250466574336}} 
[2026-07-08 20:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":127928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:27:01] local.INFO: GPS data processed {"connection_id":127928,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:27:01] local.INFO: Acknowledgment sent {"connection_id":127928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:27:04] local.INFO: TCP Data received {"connection_id":126708,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:27:04] local.INFO: Processing buffer {"connection_id":126708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:27:04] local.INFO: IMEI packet received {"connection_id":126708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":126708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:27:05] local.INFO: TCP Data received {"connection_id":126708,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f423a0718012d196680071ff078003e014224..."} 
[2026-07-08 20:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f423a0718012d196680071ff078003e014224..."} 
[2026-07-08 20:27:05] local.INFO: Processing buffer {"connection_id":126708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f423a0718012d196680071ff078003e014224..."} 
[2026-07-08 20:27:05] local.INFO: Packet analysis {"connection_id":126708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f423a"} 
[2026-07-08 20:27:05] local.INFO: Extracted packet for processing {"connection_id":126708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f423a"} 
[2026-07-08 20:27:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581761536001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783522527000,"timestamp_ms":1783522527000,"timestamp_seconds":1783522527,"priority":1,"record_length":96,"hex_timestamp":"0000019f423a0718"} 
[2026-07-08 20:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-08 20:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:27:05] 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-07-08 20:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581761536001,"66":12211,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581761536001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:27:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:27:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581761536001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":126708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:27:05] local.INFO: GPS data processed {"connection_id":126708,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:27:05] local.INFO: Acknowledgment sent {"connection_id":126708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:27:32] local.INFO: TCP Data received {"connection_id":127928,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4239ad40012d77a34005ecf0680005001b2b..."} 
[2026-07-08 20:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4239ad40012d77a34005ecf0680005001b2b..."} 
[2026-07-08 20:27:32] local.INFO: Processing buffer {"connection_id":127928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4239ad40012d77a34005ecf0680005001b2b..."} 
[2026-07-08 20:27:32] local.INFO: Packet analysis {"connection_id":127928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4239"} 
[2026-07-08 20:27:32] local.INFO: Extracted packet for processing {"connection_id":127928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4239"} 
[2026-07-08 20:27:32] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99414120,"longitude_deg":76.2815296,"latitude_deg":9.941412,"altitude":5,"angle":27,"satellites":43,"speed":36,"hex_longitude":"2d77a340","hex_latitude":"05ecf068","is_valid_coordinates":true} 
[2026-07-08 20:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581758208001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343239166227644416,"note":"Value kept but may cause issues"} 
[2026-07-08 20:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8616300906282049536,"note":"Value kept but may cause issues"} 
[2026-07-08 20:27:32] 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-07-08 20:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783522504000,"timestamp_ms":1783522504000,"timestamp_seconds":1783522504,"priority":1,"record_length":96,"hex_timestamp":"0000019f4239ad40"} 
[2026-07-08 20:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:27: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-08 20:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:27:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581758208001,"66":27376,"102":206,"87":13824,"24":36,"16":343239166227644416,"45":8616300906282049536},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-07-08 20:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581758208001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:27:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:27:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 20:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343239166227644416,"km_value":343239166227644.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8616300906282049536,"description":"Unknown IO ID 45"} 
[2026-07-08 20:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581758208001,"power":27376,"unknown_102":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8616300906282049536}} 
[2026-07-08 20:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":127928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:27:32] local.INFO: GPS data processed {"connection_id":127928,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:27:32] local.INFO: Acknowledgment sent {"connection_id":127928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:27:36] local.INFO: TCP Data received {"connection_id":126708,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f423a5920012d196680071ff078003e014220..."} 
[2026-07-08 20:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f423a5920012d196680071ff078003e014220..."} 
[2026-07-08 20:27:36] local.INFO: Processing buffer {"connection_id":126708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f423a5920012d196680071ff078003e014220..."} 
[2026-07-08 20:27:36] local.INFO: Packet analysis {"connection_id":126708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f423a"} 
[2026-07-08 20:27:36] local.INFO: Extracted packet for processing {"connection_id":126708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f423a"} 
[2026-07-08 20:27:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":32,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581766912001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783522548000,"timestamp_ms":1783522548000,"timestamp_seconds":1783522548,"priority":1,"record_length":96,"hex_timestamp":"0000019f423a5920"} 
[2026-07-08 20:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 20:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:27:36] 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-07-08 20:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581766912001,"66":12232,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581766912001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:27:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:27:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581766912001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":126708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:27:36] local.INFO: GPS data processed {"connection_id":126708,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:27:36] local.INFO: Acknowledgment sent {"connection_id":126708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:27:55] local.INFO: TCP Data received {"connection_id":125943,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:27:55] local.INFO: Processing buffer {"connection_id":125943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:27:55] local.INFO: IMEI packet received {"connection_id":125943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":125943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:27:59] local.INFO: TCP Data received {"connection_id":125944,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:27:59] local.INFO: Processing buffer {"connection_id":125944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:27:59] local.INFO: IMEI packet received {"connection_id":125944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":125944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:28:00] local.INFO: TCP Data received {"connection_id":125943,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:28:00] local.INFO: Processing buffer {"connection_id":125943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:28:00] local.INFO: IMEI packet received {"connection_id":125943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":125943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:28:01] local.INFO: TCP Data received {"connection_id":125943,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4239d450012d77b44005ed10f00006001c2c..."} 
[2026-07-08 20:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4239d450012d77b44005ed10f00006001c2c..."} 
[2026-07-08 20:28:01] local.INFO: Processing buffer {"connection_id":125943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4239d450012d77b44005ed10f00006001c2c..."} 
[2026-07-08 20:28:01] local.INFO: Packet analysis {"connection_id":125943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4239"} 
[2026-07-08 20:28:01] local.INFO: Extracted packet for processing {"connection_id":125943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4239"} 
[2026-07-08 20:28:01] local.INFO: GPS Element Parsed {"raw_longitude":762819648,"raw_latitude":99422448,"longitude_deg":76.2819648,"latitude_deg":9.9422448,"altitude":6,"angle":28,"satellites":44,"speed":37,"hex_longitude":"2d77b440","hex_latitude":"05ed10f0","is_valid_coordinates":true} 
[2026-07-08 20:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581761024001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343239621494177792,"note":"Value kept but may cause issues"} 
[2026-07-08 20:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804505911453696,"note":"Value kept but may cause issues"} 
[2026-07-08 20:28:01] 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-07-08 20:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783522514000,"timestamp_ms":1783522514000,"timestamp_seconds":1783522514,"priority":1,"record_length":96,"hex_timestamp":"0000019f4239d450"} 
[2026-07-08 20:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 20:28:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:28:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581761024001,"66":27376,"102":206,"87":13824,"24":37,"16":343239621494177792,"45":8620804505911453696},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-07-08 20:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581761024001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:28:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:28:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 20:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343239621494177792,"km_value":343239621494177.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804505911453696,"description":"Unknown IO ID 45"} 
[2026-07-08 20:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581761024001,"power":27376,"unknown_102":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8620804505911453696}} 
[2026-07-08 20:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":125943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:28:01] local.INFO: GPS data processed {"connection_id":125943,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:28:01] local.INFO: Acknowledgment sent {"connection_id":125943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:28:04] local.INFO: TCP Data received {"connection_id":125944,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:28:04] local.INFO: Processing buffer {"connection_id":125944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:28:04] local.INFO: IMEI packet received {"connection_id":125944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":125944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:28:05] local.INFO: TCP Data received {"connection_id":125944,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f423aab28012d196680071ff078003e014223..."} 
[2026-07-08 20:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f423aab28012d196680071ff078003e014223..."} 
[2026-07-08 20:28:05] local.INFO: Processing buffer {"connection_id":125944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f423aab28012d196680071ff078003e014223..."} 
[2026-07-08 20:28:05] local.INFO: Packet analysis {"connection_id":125944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f423a"} 
[2026-07-08 20:28:05] local.INFO: Extracted packet for processing {"connection_id":125944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f423a"} 
[2026-07-08 20:28:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581772288001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783522569000,"timestamp_ms":1783522569000,"timestamp_seconds":1783522569,"priority":1,"record_length":96,"hex_timestamp":"0000019f423aab28"} 
[2026-07-08 20:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-08 20:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:28:05] 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-07-08 20:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581772288001,"66":12156,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581772288001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:28:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:28:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581772288001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":125944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:28:05] local.INFO: GPS data processed {"connection_id":125944,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:28:05] local.INFO: Acknowledgment sent {"connection_id":125944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:28:33] local.INFO: TCP Data received {"connection_id":125943,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f423c35b0012d79044005edeeb0000600382f..."} 
[2026-07-08 20:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f423c35b0012d79044005edeeb0000600382f..."} 
[2026-07-08 20:28:33] local.INFO: Processing buffer {"connection_id":125943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f423c35b0012d79044005edeeb0000600382f..."} 
[2026-07-08 20:28:33] local.INFO: Packet analysis {"connection_id":125943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f423c"} 
[2026-07-08 20:28:33] local.INFO: Extracted packet for processing {"connection_id":125943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f423c"} 
[2026-07-08 20:28:33] local.INFO: GPS Element Parsed {"raw_longitude":762905664,"raw_latitude":99479216,"longitude_deg":76.2905664,"latitude_deg":9.9479216,"altitude":6,"angle":56,"satellites":47,"speed":30,"hex_longitude":"2d790440","hex_latitude":"05edeeb0","is_valid_coordinates":true} 
[2026-07-08 20:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581799936001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343244659490816000,"note":"Value kept but may cause issues"} 
[2026-07-08 20:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8710946867218546688,"note":"Value kept but may cause issues"} 
[2026-07-08 20:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783522670000,"timestamp_ms":1783522670000,"timestamp_seconds":1783522670,"priority":1,"record_length":96,"hex_timestamp":"0000019f423c35b0"} 
[2026-07-08 20:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 20:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:28:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581799936001,"66":27267,"129":206,"87":13824,"24":30,"16":343244659490816000,"45":8710946867218546688},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-07-08 20:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581799936001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:28:33] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-08 20:28:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 20:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343244659490816000,"km_value":343244659490816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8710946867218546688,"description":"Unknown IO ID 45"} 
[2026-07-08 20:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581799936001,"power":27267,"unknown_129":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8710946867218546688}} 
[2026-07-08 20:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":125943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:28:33] local.INFO: GPS data processed {"connection_id":125943,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:28:33] local.INFO: Acknowledgment sent {"connection_id":125943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:28:36] local.INFO: TCP Data received {"connection_id":125944,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f423afd30012d196680071ff078003e014223..."} 
[2026-07-08 20:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f423afd30012d196680071ff078003e014223..."} 
[2026-07-08 20:28:36] local.INFO: Processing buffer {"connection_id":125944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f423afd30012d196680071ff078003e014223..."} 
[2026-07-08 20:28:36] local.INFO: Packet analysis {"connection_id":125944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f423a"} 
[2026-07-08 20:28:36] local.INFO: Extracted packet for processing {"connection_id":125944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f423a"} 
[2026-07-08 20:28:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581777664001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783522590000,"timestamp_ms":1783522590000,"timestamp_seconds":1783522590,"priority":1,"record_length":96,"hex_timestamp":"0000019f423afd30"} 
[2026-07-08 20:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-08 20:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:28:36] 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-07-08 20:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581777664001,"66":12189,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581777664001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:28:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:28:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581777664001,"power":12189,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":125944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:28:36] local.INFO: GPS data processed {"connection_id":125944,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:28:36] local.INFO: Acknowledgment sent {"connection_id":125944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:28:55] local.INFO: TCP Data received {"connection_id":125945,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:28:55] local.INFO: Processing buffer {"connection_id":125945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:28:55] local.INFO: IMEI packet received {"connection_id":125945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":125945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:28:59] local.INFO: TCP Data received {"connection_id":125818,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:28:59] local.INFO: Processing buffer {"connection_id":125818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:28:59] local.INFO: IMEI packet received {"connection_id":125818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":125818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:29:04] local.INFO: TCP Data received {"connection_id":125945,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:29:04] local.INFO: Processing buffer {"connection_id":125945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:29:04] local.INFO: IMEI packet received {"connection_id":125945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":125945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:29:04] local.INFO: TCP Data received {"connection_id":125818,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:29:04] local.INFO: Processing buffer {"connection_id":125818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:29:04] local.INFO: IMEI packet received {"connection_id":125818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":125818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:29:05] local.INFO: TCP Data received {"connection_id":125818,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f423b4f38012d196680071ff078003e014221..."} 
[2026-07-08 20:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f423b4f38012d196680071ff078003e014221..."} 
[2026-07-08 20:29:05] local.INFO: Processing buffer {"connection_id":125818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f423b4f38012d196680071ff078003e014221..."} 
[2026-07-08 20:29:05] local.INFO: Packet analysis {"connection_id":125818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f423b"} 
[2026-07-08 20:29:05] local.INFO: Extracted packet for processing {"connection_id":125818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f423b"} 
[2026-07-08 20:29:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581783040001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783522611000,"timestamp_ms":1783522611000,"timestamp_seconds":1783522611,"priority":1,"record_length":96,"hex_timestamp":"0000019f423b4f38"} 
[2026-07-08 20:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-07-08 20:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:29:05] 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-07-08 20:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581783040001,"66":12232,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581783040001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:29:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:29:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581783040001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":125818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:29:05] local.INFO: GPS data processed {"connection_id":125818,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:29:05] local.INFO: Acknowledgment sent {"connection_id":125818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:29:06] local.INFO: TCP Data received {"connection_id":125945,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f423c5cc0012d79150005edfba00005002b2f..."} 
[2026-07-08 20:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f423c5cc0012d79150005edfba00005002b2f..."} 
[2026-07-08 20:29:06] local.INFO: Processing buffer {"connection_id":125945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f423c5cc0012d79150005edfba00005002b2f..."} 
[2026-07-08 20:29:06] local.INFO: Packet analysis {"connection_id":125945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f423c"} 
[2026-07-08 20:29:06] local.INFO: Extracted packet for processing {"connection_id":125945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f423c"} 
[2026-07-08 20:29:06] local.INFO: GPS Element Parsed {"raw_longitude":762909952,"raw_latitude":99482528,"longitude_deg":76.2909952,"latitude_deg":9.9482528,"altitude":5,"angle":43,"satellites":47,"speed":18,"hex_longitude":"2d791500","hex_latitude":"05edfba0","is_valid_coordinates":true} 
[2026-07-08 20:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581803520001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343244921483821056,"note":"Value kept but may cause issues"} 
[2026-07-08 20:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8720165172706979840,"note":"Value kept but may cause issues"} 
[2026-07-08 20:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783522680000,"timestamp_ms":1783522680000,"timestamp_seconds":1783522680,"priority":1,"record_length":96,"hex_timestamp":"0000019f423c5cc0"} 
[2026-07-08 20:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 20:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581803520001,"66":27517,"129":206,"87":13824,"24":18,"16":343244921483821056,"45":8720165172706979840},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-07-08 20:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581803520001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:29:06] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-08 20:29:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 20:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343244921483821056,"km_value":343244921483821.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8720165172706979840,"description":"Unknown IO ID 45"} 
[2026-07-08 20:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581803520001,"power":27517,"unknown_129":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8720165172706979840}} 
[2026-07-08 20:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":125945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:29:06] local.INFO: GPS data processed {"connection_id":125945,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:29:06] local.INFO: Acknowledgment sent {"connection_id":125945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:29:15] local.INFO: TCP Data received {"connection_id":125817,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125817,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:29:15] local.INFO: Processing buffer {"connection_id":125817,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:29:15] local.INFO: IMEI packet received {"connection_id":125817,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 20:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":125817,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:29:36] local.INFO: TCP Data received {"connection_id":125818,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f423ba140012d196680071ff078003e014221..."} 
[2026-07-08 20:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f423ba140012d196680071ff078003e014221..."} 
[2026-07-08 20:29:36] local.INFO: Processing buffer {"connection_id":125818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f423ba140012d196680071ff078003e014221..."} 
[2026-07-08 20:29:36] local.INFO: Packet analysis {"connection_id":125818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f423b"} 
[2026-07-08 20:29:36] local.INFO: Extracted packet for processing {"connection_id":125818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f423b"} 
[2026-07-08 20:29:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581788416001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783522632000,"timestamp_ms":1783522632000,"timestamp_seconds":1783522632,"priority":1,"record_length":96,"hex_timestamp":"0000019f423ba140"} 
[2026-07-08 20:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-08 20:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:29:36] 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-07-08 20:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581788416001,"66":12211,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581788416001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:29:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:29:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581788416001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":125818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:29:36] local.INFO: GPS data processed {"connection_id":125818,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:29:36] local.INFO: Acknowledgment sent {"connection_id":125818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:29:39] local.INFO: TCP Data received {"connection_id":125945,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f423c9758012d79234005ee0d180006001e2f..."} 
[2026-07-08 20:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f423c9758012d79234005ee0d180006001e2f..."} 
[2026-07-08 20:29:39] local.INFO: Processing buffer {"connection_id":125945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f423c9758012d79234005ee0d180006001e2f..."} 
[2026-07-08 20:29:39] local.INFO: Packet analysis {"connection_id":125945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f423c"} 
[2026-07-08 20:29:39] local.INFO: Extracted packet for processing {"connection_id":125945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f423c"} 
[2026-07-08 20:29:39] local.INFO: GPS Element Parsed {"raw_longitude":762913600,"raw_latitude":99487000,"longitude_deg":76.29136,"latitude_deg":9.9487,"altitude":6,"angle":30,"satellites":47,"speed":19,"hex_longitude":"2d792340","hex_latitude":"05ee0d18","is_valid_coordinates":true} 
[2026-07-08 20:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581806080001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343245200656695296,"note":"Value kept but may cause issues"} 
[2026-07-08 20:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8724879878567731200,"note":"Value kept but may cause issues"} 
[2026-07-08 20:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783522695000,"timestamp_ms":1783522695000,"timestamp_seconds":1783522695,"priority":1,"record_length":96,"hex_timestamp":"0000019f423c9758"} 
[2026-07-08 20:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-08 20:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581806080001,"66":27463,"129":206,"87":13824,"24":19,"16":343245200656695296,"45":8724879878567731200},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-07-08 20:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581806080001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:29:39] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-08 20:29:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 20:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343245200656695296,"km_value":343245200656695.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8724879878567731200,"description":"Unknown IO ID 45"} 
[2026-07-08 20:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581806080001,"power":27463,"unknown_129":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8724879878567731200}} 
[2026-07-08 20:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":125945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:29:39] local.INFO: GPS data processed {"connection_id":125945,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:29:39] local.INFO: Acknowledgment sent {"connection_id":125945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:29:59] local.INFO: TCP Data received {"connection_id":125819,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:29:59] local.INFO: Processing buffer {"connection_id":125819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:29:59] local.INFO: IMEI packet received {"connection_id":125819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":125819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:30:04] local.INFO: TCP Data received {"connection_id":125819,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:30:04] local.INFO: Processing buffer {"connection_id":125819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:30:04] local.INFO: IMEI packet received {"connection_id":125819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":125819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:30:05] local.INFO: TCP Data received {"connection_id":125819,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f423bf348012d196680071ff078003e014223..."} 
[2026-07-08 20:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f423bf348012d196680071ff078003e014223..."} 
[2026-07-08 20:30:05] local.INFO: Processing buffer {"connection_id":125819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f423bf348012d196680071ff078003e014223..."} 
[2026-07-08 20:30:05] local.INFO: Packet analysis {"connection_id":125819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f423b"} 
[2026-07-08 20:30:05] local.INFO: Extracted packet for processing {"connection_id":125819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f423b"} 
[2026-07-08 20:30:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581793792001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783522653000,"timestamp_ms":1783522653000,"timestamp_seconds":1783522653,"priority":1,"record_length":96,"hex_timestamp":"0000019f423bf348"} 
[2026-07-08 20:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 20:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:30:05] 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-07-08 20:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581793792001,"66":12211,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581793792001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:30:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:30:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581793792001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":125819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:30:05] local.INFO: GPS data processed {"connection_id":125819,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:30:05] local.INFO: Acknowledgment sent {"connection_id":125819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:30:10] local.INFO: TCP Data received {"connection_id":126710,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:30:10] local.INFO: Processing buffer {"connection_id":126710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:30:10] local.INFO: IMEI packet received {"connection_id":126710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":126710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:30:10] local.INFO: TCP Data received {"connection_id":126710,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:30:10] local.INFO: Processing buffer {"connection_id":126710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:30:10] local.INFO: IMEI packet received {"connection_id":126710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":126710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:30:15] local.INFO: TCP Data received {"connection_id":126710,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:30:15] local.INFO: Processing buffer {"connection_id":126710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:30:15] local.INFO: IMEI packet received {"connection_id":126710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":126710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:30:16] local.INFO: TCP Data received {"connection_id":126710,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f423cdda8012d7935c005ee2c30000900232f..."} 
[2026-07-08 20:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f423cdda8012d7935c005ee2c30000900232f..."} 
[2026-07-08 20:30:16] local.INFO: Processing buffer {"connection_id":126710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f423cdda8012d7935c005ee2c30000900232f..."} 
[2026-07-08 20:30:16] local.INFO: Packet analysis {"connection_id":126710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f423c"} 
[2026-07-08 20:30:16] local.INFO: Extracted packet for processing {"connection_id":126710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f423c"} 
[2026-07-08 20:30:16] local.INFO: GPS Element Parsed {"raw_longitude":762918336,"raw_latitude":99494960,"longitude_deg":76.2918336,"latitude_deg":9.949496,"altitude":9,"angle":35,"satellites":47,"speed":22,"hex_longitude":"2d7935c0","hex_latitude":"05ee2c30","is_valid_coordinates":true} 
[2026-07-08 20:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581809920001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343245651628261376,"note":"Value kept but may cause issues"} 
[2026-07-08 20:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8728890896987002880,"note":"Value kept but may cause issues"} 
[2026-07-08 20:30:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783522713000,"timestamp_ms":1783522713000,"timestamp_seconds":1783522713,"priority":1,"record_length":96,"hex_timestamp":"0000019f423cdda8"} 
[2026-07-08 20:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:30:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-08 20:30:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:30:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":126710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":126710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":126710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581809920001,"66":27343,"129":206,"87":13824,"24":22,"16":343245651628261376,"45":8728890896987002880},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-07-08 20:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581809920001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:30:16] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-08 20:30:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-08 20:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343245651628261376,"km_value":343245651628261.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8728890896987002880,"description":"Unknown IO ID 45"} 
[2026-07-08 20:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581809920001,"power":27343,"unknown_129":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8728890896987002880}} 
[2026-07-08 20:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":126710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:30:16] local.INFO: GPS data processed {"connection_id":126710,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:30:16] local.INFO: Acknowledgment sent {"connection_id":126710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:30:36] local.INFO: TCP Data received {"connection_id":125819,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f423c4550012d196680071ff078003e014224..."} 
[2026-07-08 20:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f423c4550012d196680071ff078003e014224..."} 
[2026-07-08 20:30:36] local.INFO: Processing buffer {"connection_id":125819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f423c4550012d196680071ff078003e014224..."} 
[2026-07-08 20:30:36] local.INFO: Packet analysis {"connection_id":125819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f423c"} 
[2026-07-08 20:30:36] local.INFO: Extracted packet for processing {"connection_id":125819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f423c"} 
[2026-07-08 20:30:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581799168001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783522674000,"timestamp_ms":1783522674000,"timestamp_seconds":1783522674,"priority":1,"record_length":96,"hex_timestamp":"0000019f423c4550"} 
[2026-07-08 20:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 20:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:30:36] 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-07-08 20:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581799168001,"66":12156,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581799168001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:30:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:30:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581799168001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":125819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:30:36] local.INFO: GPS data processed {"connection_id":125819,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:30:36] local.INFO: Acknowledgment sent {"connection_id":125819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:30:57] local.INFO: TCP Data received {"connection_id":125946,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:30:57] local.INFO: Processing buffer {"connection_id":125946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:30:57] local.INFO: IMEI packet received {"connection_id":125946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":125946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:30:59] local.INFO: TCP Data received {"connection_id":125946,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:30:59] local.INFO: Processing buffer {"connection_id":125946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:30:59] local.INFO: IMEI packet received {"connection_id":125946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":125946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:31:00] local.INFO: TCP Data received {"connection_id":127931,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:31:00] local.INFO: Processing buffer {"connection_id":127931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:31:00] local.INFO: IMEI packet received {"connection_id":127931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":127931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:31:00] local.INFO: TCP Data received {"connection_id":127931,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:31:00] local.INFO: Processing buffer {"connection_id":127931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:31:00] local.INFO: IMEI packet received {"connection_id":127931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":127931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:31:04] local.INFO: TCP Data received {"connection_id":127931,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:31:04] local.INFO: Processing buffer {"connection_id":127931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:31:04] local.INFO: IMEI packet received {"connection_id":127931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":127931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:31:05] local.INFO: TCP Data received {"connection_id":125946,"ip":"42.106.6.27","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f42..."} 
[2026-07-08 20:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125946,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f42..."} 
[2026-07-08 20:31:05] local.INFO: Processing buffer {"connection_id":125946,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f42..."} 
[2026-07-08 20:31:05] local.INFO: IMEI packet received {"connection_id":125946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":125946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:31:05] local.INFO: TCP Data received {"connection_id":127931,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f423c9758012d196680071ff078003e014222..."} 
[2026-07-08 20:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f423c9758012d196680071ff078003e014222..."} 
[2026-07-08 20:31:05] local.INFO: Processing buffer {"connection_id":127931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f423c9758012d196680071ff078003e014222..."} 
[2026-07-08 20:31:05] local.INFO: Packet analysis {"connection_id":127931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f423c"} 
[2026-07-08 20:31:05] local.INFO: Extracted packet for processing {"connection_id":127931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f423c"} 
[2026-07-08 20:31:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581804544001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783522695000,"timestamp_ms":1783522695000,"timestamp_seconds":1783522695,"priority":1,"record_length":96,"hex_timestamp":"0000019f423c9758"} 
[2026-07-08 20:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-08 20:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:31:05] 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-07-08 20:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581804544001,"66":12232,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581804544001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:31:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:31:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581804544001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":127931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:31:05] local.INFO: GPS data processed {"connection_id":127931,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:31:05] local.INFO: Acknowledgment sent {"connection_id":127931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:31:06] local.INFO: TCP Data received {"connection_id":125946,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f423e5890012d79254005ef3da8000b012c29..."} 
[2026-07-08 20:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f423e5890012d79254005ef3da8000b012c29..."} 
[2026-07-08 20:31:06] local.INFO: Processing buffer {"connection_id":125946,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f423e5890012d79254005ef3da8000b012c29..."} 
[2026-07-08 20:31:06] local.INFO: Packet analysis {"connection_id":125946,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f423e"} 
[2026-07-08 20:31:06] local.INFO: Extracted packet for processing {"connection_id":125946,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f423e"} 
[2026-07-08 20:31:06] local.INFO: GPS Element Parsed {"raw_longitude":762914112,"raw_latitude":99564968,"longitude_deg":76.2914112,"latitude_deg":9.9564968,"altitude":11,"angle":300,"satellites":41,"speed":36,"hex_longitude":"2d792540","hex_latitude":"05ef3da8","is_valid_coordinates":true} 
[2026-07-08 20:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581836544001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343249448379351040,"note":"Value kept but may cause issues"} 
[2026-07-08 20:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8736983302585630720,"note":"Value kept but may cause issues"} 
[2026-07-08 20:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783522810000,"timestamp_ms":1783522810000,"timestamp_seconds":1783522810,"priority":1,"record_length":96,"hex_timestamp":"0000019f423e5890"} 
[2026-07-08 20:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 20:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581836544001,"66":27115,"204":206,"87":11776,"24":36,"16":343249448379351040,"45":8736983302585630720},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,87,24,16,45]} 
[2026-07-08 20:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581836544001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:31:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-07-08 20:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343249448379351040,"km_value":343249448379351.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8736983302585630720,"description":"Unknown IO ID 45"} 
[2026-07-08 20:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581836544001,"power":27115,"lac":206,"unknown_87":11776,"ignition":36,"odometer":null,"unknown_45":8736983302585630720}} 
[2026-07-08 20:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":125946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:31:06] local.INFO: GPS data processed {"connection_id":125946,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:31:06] local.INFO: Acknowledgment sent {"connection_id":125946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:31:06] local.INFO: Packet analysis {"connection_id":125946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f423e"} 
[2026-07-08 20:31:06] local.INFO: Extracted packet for processing {"connection_id":125946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f423e"} 
[2026-07-08 20:31:06] local.INFO: GPS Element Parsed {"raw_longitude":762914112,"raw_latitude":99564968,"longitude_deg":76.2914112,"latitude_deg":9.9564968,"altitude":11,"angle":300,"satellites":41,"speed":36,"hex_longitude":"2d792540","hex_latitude":"05ef3da8","is_valid_coordinates":true} 
[2026-07-08 20:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581839360001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343249448379351040,"note":"Value kept but may cause issues"} 
[2026-07-08 20:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8729453846960384000,"note":"Value kept but may cause issues"} 
[2026-07-08 20:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783522810000,"timestamp_ms":1783522810000,"timestamp_seconds":1783522810,"priority":1,"record_length":96,"hex_timestamp":"0000019f423e5890"} 
[2026-07-08 20:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-07-08 20:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581839360001,"66":27115,"204":206,"87":11776,"24":36,"16":343249448379351040,"45":8729453846960384000},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,87,24,16,45]} 
[2026-07-08 20:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581839360001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:31:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-07-08 20:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343249448379351040,"km_value":343249448379351.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8729453846960384000,"description":"Unknown IO ID 45"} 
[2026-07-08 20:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581839360001,"power":27115,"lac":206,"unknown_87":11776,"ignition":36,"odometer":null,"unknown_45":8729453846960384000}} 
[2026-07-08 20:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":125946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:31:06] local.INFO: GPS data processed {"connection_id":125946,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:31:06] local.INFO: Acknowledgment sent {"connection_id":125946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:31:07] local.INFO: TCP Data received {"connection_id":125946,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f423e7fa0012d79028005ef4d78000a01272a..."} 
[2026-07-08 20:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f423e7fa0012d79028005ef4d78000a01272a..."} 
[2026-07-08 20:31:07] local.INFO: Processing buffer {"connection_id":125946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f423e7fa0012d79028005ef4d78000a01272a..."} 
[2026-07-08 20:31:07] local.INFO: Packet analysis {"connection_id":125946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f423e"} 
[2026-07-08 20:31:07] local.INFO: Extracted packet for processing {"connection_id":125946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f423e"} 
[2026-07-08 20:31:07] local.INFO: GPS Element Parsed {"raw_longitude":762905216,"raw_latitude":99569016,"longitude_deg":76.2905216,"latitude_deg":9.9569016,"altitude":10,"angle":295,"satellites":42,"speed":39,"hex_longitude":"2d790280","hex_latitude":"05ef4d78","is_valid_coordinates":true} 
[2026-07-08 20:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581839360001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343249916530786304,"note":"Value kept but may cause issues"} 
[2026-07-08 20:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8729453846960384000,"note":"Value kept but may cause issues"} 
[2026-07-08 20:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783522820000,"timestamp_ms":1783522820000,"timestamp_seconds":1783522820,"priority":1,"record_length":96,"hex_timestamp":"0000019f423e7fa0"} 
[2026-07-08 20:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-07-08 20:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581839360001,"66":27463,"204":206,"87":11776,"24":39,"16":343249916530786304,"45":8729453846960384000},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,87,24,16,45]} 
[2026-07-08 20:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581839360001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:31:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-07-08 20:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343249916530786304,"km_value":343249916530786.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8729453846960384000,"description":"Unknown IO ID 45"} 
[2026-07-08 20:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581839360001,"power":27463,"lac":206,"unknown_87":11776,"ignition":39,"odometer":null,"unknown_45":8729453846960384000}} 
[2026-07-08 20:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":125946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:31:07] local.INFO: GPS data processed {"connection_id":125946,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:31:07] local.INFO: Acknowledgment sent {"connection_id":125946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:31:36] local.INFO: TCP Data received {"connection_id":127931,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f423ce960012d196680071ff078003e014221..."} 
[2026-07-08 20:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f423ce960012d196680071ff078003e014221..."} 
[2026-07-08 20:31:36] local.INFO: Processing buffer {"connection_id":127931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f423ce960012d196680071ff078003e014221..."} 
[2026-07-08 20:31:36] local.INFO: Packet analysis {"connection_id":127931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f423c"} 
[2026-07-08 20:31:36] local.INFO: Extracted packet for processing {"connection_id":127931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f423c"} 
[2026-07-08 20:31:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581809920001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783522716000,"timestamp_ms":1783522716000,"timestamp_seconds":1783522716,"priority":1,"record_length":96,"hex_timestamp":"0000019f423ce960"} 
[2026-07-08 20:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-08 20:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:31:36] 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-07-08 20:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581809920001,"66":12211,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581809920001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:31:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:31:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581809920001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":127931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:31:36] local.INFO: GPS data processed {"connection_id":127931,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:31:36] local.INFO: Acknowledgment sent {"connection_id":127931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:31:38] local.INFO: TCP Data received {"connection_id":125946,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f423e9ee0012d78ea0005ef5a18000901352c..."} 
[2026-07-08 20:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f423e9ee0012d78ea0005ef5a18000901352c..."} 
[2026-07-08 20:31:38] local.INFO: Processing buffer {"connection_id":125946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f423e9ee0012d78ea0005ef5a18000901352c..."} 
[2026-07-08 20:31:38] local.INFO: Packet analysis {"connection_id":125946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f423e"} 
[2026-07-08 20:31:38] local.INFO: Extracted packet for processing {"connection_id":125946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f423e"} 
[2026-07-08 20:31:38] local.INFO: GPS Element Parsed {"raw_longitude":762898944,"raw_latitude":99572248,"longitude_deg":76.2898944,"latitude_deg":9.9572248,"altitude":9,"angle":309,"satellites":44,"speed":23,"hex_longitude":"2d78ea00","hex_latitude":"05ef5a18","is_valid_coordinates":true} 
[2026-07-08 20:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581841920001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343250255833202688,"note":"Value kept but may cause issues"} 
[2026-07-08 20:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8719672591520724992,"note":"Value kept but may cause issues"} 
[2026-07-08 20:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783522828000,"timestamp_ms":1783522828000,"timestamp_seconds":1783522828,"priority":1,"record_length":96,"hex_timestamp":"0000019f423e9ee0"} 
[2026-07-08 20:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-08 20:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581841920001,"66":27321,"50":206,"87":11776,"24":23,"16":343250255833202688,"45":8719672591520724992},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,87,24,16,45]} 
[2026-07-08 20:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581841920001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:31:38] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-08 20:31:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-07-08 20:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343250255833202688,"km_value":343250255833202.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8719672591520724992,"description":"Unknown IO ID 45"} 
[2026-07-08 20:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581841920001,"power":27321,"unknown_50":206,"unknown_87":11776,"ignition":23,"odometer":null,"unknown_45":8719672591520724992}} 
[2026-07-08 20:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":125946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:31:38] local.INFO: GPS data processed {"connection_id":125946,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:31:38] local.INFO: Acknowledgment sent {"connection_id":125946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:31:55] local.INFO: TCP Data received {"connection_id":125947,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:31:55] local.INFO: Processing buffer {"connection_id":125947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:31:55] local.INFO: IMEI packet received {"connection_id":125947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":125947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:31:59] local.INFO: TCP Data received {"connection_id":126712,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:31:59] local.INFO: Processing buffer {"connection_id":126712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:31:59] local.INFO: IMEI packet received {"connection_id":126712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":126712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:32:00] local.INFO: TCP Data received {"connection_id":125947,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:32:00] local.INFO: Processing buffer {"connection_id":125947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:32:00] local.INFO: IMEI packet received {"connection_id":125947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":125947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:32:01] local.INFO: TCP Data received {"connection_id":125947,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f423eae80012d78e44005ef5fa8000801442d..."} 
[2026-07-08 20:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f423eae80012d78e44005ef5fa8000801442d..."} 
[2026-07-08 20:32:01] local.INFO: Processing buffer {"connection_id":125947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f423eae80012d78e44005ef5fa8000801442d..."} 
[2026-07-08 20:32:01] local.INFO: Packet analysis {"connection_id":125947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f423e"} 
[2026-07-08 20:32:01] local.INFO: Extracted packet for processing {"connection_id":125947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f423e"} 
[2026-07-08 20:32:01] local.INFO: GPS Element Parsed {"raw_longitude":762897472,"raw_latitude":99573672,"longitude_deg":76.2897472,"latitude_deg":9.9573672,"altitude":8,"angle":324,"satellites":45,"speed":18,"hex_longitude":"2d78e440","hex_latitude":"05ef5fa8","is_valid_coordinates":true} 
[2026-07-08 20:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581843968001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343250350322483200,"note":"Value kept but may cause issues"} 
[2026-07-08 20:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8712776454592141312,"note":"Value kept but may cause issues"} 
[2026-07-08 20:32:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783522832000,"timestamp_ms":1783522832000,"timestamp_seconds":1783522832,"priority":1,"record_length":96,"hex_timestamp":"0000019f423eae80"} 
[2026-07-08 20:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 20:32:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:32:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581843968001,"66":27300,"50":206,"87":11776,"24":18,"16":343250350322483200,"45":8712776454592141312},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,87,24,16,45]} 
[2026-07-08 20:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581843968001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:32:01] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-08 20:32:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-07-08 20:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343250350322483200,"km_value":343250350322483.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8712776454592141312,"description":"Unknown IO ID 45"} 
[2026-07-08 20:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581843968001,"power":27300,"unknown_50":206,"unknown_87":11776,"ignition":18,"odometer":null,"unknown_45":8712776454592141312}} 
[2026-07-08 20:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":125947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:32:01] local.INFO: GPS data processed {"connection_id":125947,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:32:01] local.INFO: Acknowledgment sent {"connection_id":125947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:32:02] local.INFO: TCP Data received {"connection_id":126712,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:32:02] local.INFO: Processing buffer {"connection_id":126712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:32:02] local.INFO: IMEI packet received {"connection_id":126712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":126712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:32:04] local.INFO: TCP Data received {"connection_id":126712,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:32:04] local.INFO: Processing buffer {"connection_id":126712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:32:04] local.INFO: IMEI packet received {"connection_id":126712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":126712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:32:05] local.INFO: TCP Data received {"connection_id":126712,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f423d3b68012d196680071ff078003e014225..."} 
[2026-07-08 20:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f423d3b68012d196680071ff078003e014225..."} 
[2026-07-08 20:32:05] local.INFO: Processing buffer {"connection_id":126712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f423d3b68012d196680071ff078003e014225..."} 
[2026-07-08 20:32:05] local.INFO: Packet analysis {"connection_id":126712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f423d"} 
[2026-07-08 20:32:05] local.INFO: Extracted packet for processing {"connection_id":126712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f423d"} 
[2026-07-08 20:32:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581815296001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783522737000,"timestamp_ms":1783522737000,"timestamp_seconds":1783522737,"priority":1,"record_length":96,"hex_timestamp":"0000019f423d3b68"} 
[2026-07-08 20:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 20:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:32:05] 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-07-08 20:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581815296001,"66":12211,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581815296001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:32:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:32:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581815296001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":126712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:32:05] local.INFO: GPS data processed {"connection_id":126712,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:32:05] local.INFO: Acknowledgment sent {"connection_id":126712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:32:32] local.INFO: TCP Data received {"connection_id":125947,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f423ec5f0012d78dd0005ef6ca80008014f2c..."} 
[2026-07-08 20:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f423ec5f0012d78dd0005ef6ca80008014f2c..."} 
[2026-07-08 20:32:32] local.INFO: Processing buffer {"connection_id":125947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f423ec5f0012d78dd0005ef6ca80008014f2c..."} 
[2026-07-08 20:32:32] local.INFO: Packet analysis {"connection_id":125947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f423e"} 
[2026-07-08 20:32:32] local.INFO: Extracted packet for processing {"connection_id":125947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f423e"} 
[2026-07-08 20:32:32] local.INFO: GPS Element Parsed {"raw_longitude":762895616,"raw_latitude":99577000,"longitude_deg":76.2895616,"latitude_deg":9.9577,"altitude":8,"angle":335,"satellites":44,"speed":32,"hex_longitude":"2d78dd00","hex_latitude":"05ef6ca8","is_valid_coordinates":true} 
[2026-07-08 20: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-07-08 20:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581844992001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343250539301044224,"note":"Value kept but may cause issues"} 
[2026-07-08 20:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8711157973476419584,"note":"Value kept but may cause issues"} 
[2026-07-08 20:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783522838000,"timestamp_ms":1783522838000,"timestamp_seconds":1783522838,"priority":1,"record_length":96,"hex_timestamp":"0000019f423ec5f0"} 
[2026-07-08 20:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-08 20:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20: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-07-08 20:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581844992001,"66":27343,"50":206,"87":11776,"24":32,"16":343250539301044224,"45":8711157973476419584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,87,24,16,45]} 
[2026-07-08 20:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581844992001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:32:32] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-08 20:32:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-07-08 20:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343250539301044224,"km_value":343250539301044.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8711157973476419584,"description":"Unknown IO ID 45"} 
[2026-07-08 20:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581844992001,"power":27343,"unknown_50":206,"unknown_87":11776,"ignition":32,"odometer":null,"unknown_45":8711157973476419584}} 
[2026-07-08 20:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":125947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:32:32] local.INFO: GPS data processed {"connection_id":125947,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:32:32] local.INFO: Acknowledgment sent {"connection_id":125947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:32:36] local.INFO: TCP Data received {"connection_id":126712,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f423d8d70012d196680071ff078003e014224..."} 
[2026-07-08 20:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f423d8d70012d196680071ff078003e014224..."} 
[2026-07-08 20:32:36] local.INFO: Processing buffer {"connection_id":126712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f423d8d70012d196680071ff078003e014224..."} 
[2026-07-08 20:32:36] local.INFO: Packet analysis {"connection_id":126712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f423d"} 
[2026-07-08 20:32:36] local.INFO: Extracted packet for processing {"connection_id":126712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f423d"} 
[2026-07-08 20:32:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581820672001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783522758000,"timestamp_ms":1783522758000,"timestamp_seconds":1783522758,"priority":1,"record_length":96,"hex_timestamp":"0000019f423d8d70"} 
[2026-07-08 20:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 20:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:32:36] 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-07-08 20:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581820672001,"66":12145,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581820672001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:32:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:32:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581820672001,"power":12145,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":126712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:32:36] local.INFO: GPS data processed {"connection_id":126712,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:32:36] local.INFO: Acknowledgment sent {"connection_id":126712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:32:55] local.INFO: TCP Data received {"connection_id":125820,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:32:55] local.INFO: Processing buffer {"connection_id":125820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:32:55] local.INFO: IMEI packet received {"connection_id":125820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":125820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:32:55] local.INFO: TCP Data received {"connection_id":125820,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:32:55] local.INFO: Processing buffer {"connection_id":125820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:32:55] local.INFO: IMEI packet received {"connection_id":125820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":125820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:33:00] local.INFO: TCP Data received {"connection_id":125820,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:33:00] local.INFO: Processing buffer {"connection_id":125820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:33:00] local.INFO: IMEI packet received {"connection_id":125820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":125820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:33:01] local.INFO: TCP Data received {"connection_id":125820,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42403908012d78680005f0a1e0000b016329..."} 
[2026-07-08 20:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42403908012d78680005f0a1e0000b016329..."} 
[2026-07-08 20:33:01] local.INFO: Processing buffer {"connection_id":125820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42403908012d78680005f0a1e0000b016329..."} 
[2026-07-08 20:33:01] local.INFO: Packet analysis {"connection_id":125820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4240"} 
[2026-07-08 20:33:01] local.INFO: Extracted packet for processing {"connection_id":125820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4240"} 
[2026-07-08 20:33:01] local.INFO: GPS Element Parsed {"raw_longitude":762865664,"raw_latitude":99656160,"longitude_deg":76.2865664,"latitude_deg":9.965616,"altitude":11,"angle":355,"satellites":41,"speed":36,"hex_longitude":"2d786800","hex_latitude":"05f0a1e0","is_valid_coordinates":true} 
[2026-07-08 20:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581870336001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343254696829386752,"note":"Value kept but may cause issues"} 
[2026-07-08 20:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8676536551361669120,"note":"Value kept but may cause issues"} 
[2026-07-08 20:33:01] 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-07-08 20:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783522933000,"timestamp_ms":1783522933000,"timestamp_seconds":1783522933,"priority":1,"record_length":96,"hex_timestamp":"0000019f42403908"} 
[2026-07-08 20:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-08 20:33:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:33:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581870336001,"66":27180,"60":206,"87":11776,"24":36,"16":343254696829386752,"45":8676536551361669120},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,87,24,16,45]} 
[2026-07-08 20:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581870336001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:33:01] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-08 20:33:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-07-08 20:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343254696829386752,"km_value":343254696829386.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8676536551361669120,"description":"Unknown IO ID 45"} 
[2026-07-08 20:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581870336001,"power":27180,"unknown_60":206,"unknown_87":11776,"ignition":36,"odometer":null,"unknown_45":8676536551361669120}} 
[2026-07-08 20:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":125820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:33:01] local.INFO: GPS data processed {"connection_id":125820,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:33:01] local.INFO: Acknowledgment sent {"connection_id":125820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:33:04] local.INFO: TCP Data received {"connection_id":127934,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:33:04] local.INFO: Processing buffer {"connection_id":127934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:33:04] local.INFO: IMEI packet received {"connection_id":127934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":127934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:33:05] local.INFO: TCP Data received {"connection_id":127934,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:33:05] local.INFO: Processing buffer {"connection_id":127934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:33:05] local.INFO: IMEI packet received {"connection_id":127934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":127934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:33:06] local.INFO: TCP Data received {"connection_id":127934,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f423ddf78012d196680071ff078003e014225..."} 
[2026-07-08 20:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f423ddf78012d196680071ff078003e014225..."} 
[2026-07-08 20:33:06] local.INFO: Processing buffer {"connection_id":127934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f423ddf78012d196680071ff078003e014225..."} 
[2026-07-08 20:33:06] local.INFO: Packet analysis {"connection_id":127934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f423d"} 
[2026-07-08 20:33:06] local.INFO: Extracted packet for processing {"connection_id":127934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f423d"} 
[2026-07-08 20:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581826048001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783522779000,"timestamp_ms":1783522779000,"timestamp_seconds":1783522779,"priority":1,"record_length":96,"hex_timestamp":"0000019f423ddf78"} 
[2026-07-08 20:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-08 20:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581826048001,"66":12156,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581826048001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:33:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:33:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581826048001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":127934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:33:06] local.INFO: GPS data processed {"connection_id":127934,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:33:06] local.INFO: Acknowledgment sent {"connection_id":127934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:33:10] local.INFO: TCP Data received {"connection_id":127934,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f423e3180012d196680071ff078003e014221..."} 
[2026-07-08 20:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f423e3180012d196680071ff078003e014221..."} 
[2026-07-08 20:33:10] local.INFO: Processing buffer {"connection_id":127934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f423e3180012d196680071ff078003e014221..."} 
[2026-07-08 20:33:10] local.INFO: Packet analysis {"connection_id":127934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f423e"} 
[2026-07-08 20:33:10] local.INFO: Extracted packet for processing {"connection_id":127934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f423e"} 
[2026-07-08 20:33:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20: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-07-08 20:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581831424001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:33: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-07-08 20:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783522800000,"timestamp_ms":1783522800000,"timestamp_seconds":1783522800,"priority":1,"record_length":96,"hex_timestamp":"0000019f423e3180"} 
[2026-07-08 20:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-08 20:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20: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-07-08 20:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":127934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":127934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":127934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:33:10] 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-07-08 20:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581831424001,"66":12232,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581831424001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:33:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:33:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581831424001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":127934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:33:10] local.INFO: GPS data processed {"connection_id":127934,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:33:10] local.INFO: Acknowledgment sent {"connection_id":127934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:33:32] local.INFO: TCP Data received {"connection_id":125820,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42406018012d78638005f0c668000c01602a..."} 
[2026-07-08 20:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42406018012d78638005f0c668000c01602a..."} 
[2026-07-08 20:33:32] local.INFO: Processing buffer {"connection_id":125820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42406018012d78638005f0c668000c01602a..."} 
[2026-07-08 20:33:32] local.INFO: Packet analysis {"connection_id":125820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4240"} 
[2026-07-08 20:33:32] local.INFO: Extracted packet for processing {"connection_id":125820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4240"} 
[2026-07-08 20:33:32] local.INFO: GPS Element Parsed {"raw_longitude":762864512,"raw_latitude":99665512,"longitude_deg":76.2864512,"latitude_deg":9.9665512,"altitude":12,"angle":352,"satellites":42,"speed":35,"hex_longitude":"2d786380","hex_latitude":"05f0c668","is_valid_coordinates":true} 
[2026-07-08 20:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581870848001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343255156390887424,"note":"Value kept but may cause issues"} 
[2026-07-08 20:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8676184707641237504,"note":"Value kept but may cause issues"} 
[2026-07-08 20:33: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-07-08 20:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783522943000,"timestamp_ms":1783522943000,"timestamp_seconds":1783522943,"priority":1,"record_length":96,"hex_timestamp":"0000019f42406018"} 
[2026-07-08 20:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-08 20:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20: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-07-08 20:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581870848001,"66":27245,"60":206,"87":11776,"24":35,"16":343255156390887424,"45":8676184707641237504},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,87,24,16,45]} 
[2026-07-08 20:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581870848001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:33:32] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-08 20:33:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-07-08 20:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343255156390887424,"km_value":343255156390887.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8676184707641237504,"description":"Unknown IO ID 45"} 
[2026-07-08 20:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581870848001,"power":27245,"unknown_60":206,"unknown_87":11776,"ignition":35,"odometer":null,"unknown_45":8676184707641237504}} 
[2026-07-08 20:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":125820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:33:32] local.INFO: GPS data processed {"connection_id":125820,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:33:32] local.INFO: Acknowledgment sent {"connection_id":125820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:33:41] local.INFO: TCP Data received {"connection_id":127934,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f423e8388012d196680071ff078003e014223..."} 
[2026-07-08 20:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f423e8388012d196680071ff078003e014223..."} 
[2026-07-08 20:33:41] local.INFO: Processing buffer {"connection_id":127934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f423e8388012d196680071ff078003e014223..."} 
[2026-07-08 20:33:41] local.INFO: Packet analysis {"connection_id":127934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f423e"} 
[2026-07-08 20:33:41] local.INFO: Extracted packet for processing {"connection_id":127934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f423e"} 
[2026-07-08 20:33:41] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20: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-07-08 20:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581836800001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:33: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-07-08 20:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783522821000,"timestamp_ms":1783522821000,"timestamp_seconds":1783522821,"priority":1,"record_length":96,"hex_timestamp":"0000019f423e8388"} 
[2026-07-08 20:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-08 20:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":127934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":127934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":127934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:33: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-07-08 20:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581836800001,"66":12178,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581836800001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:33:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:33:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581836800001,"power":12178,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":127934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:33:41] local.INFO: GPS data processed {"connection_id":127934,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:33:41] local.INFO: Acknowledgment sent {"connection_id":127934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:33:55] local.INFO: TCP Data received {"connection_id":127935,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:33:55] local.INFO: Processing buffer {"connection_id":127935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:33:55] local.INFO: IMEI packet received {"connection_id":127935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":127935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:33:59] local.INFO: TCP Data received {"connection_id":127935,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:33:59] local.INFO: Processing buffer {"connection_id":127935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:33:59] local.INFO: IMEI packet received {"connection_id":127935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":127935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:33:59] local.INFO: TCP Data received {"connection_id":127936,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:33:59] local.INFO: Processing buffer {"connection_id":127936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:33:59] local.INFO: IMEI packet received {"connection_id":127936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":127936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:34:00] local.INFO: TCP Data received {"connection_id":127935,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:34:00] local.INFO: Processing buffer {"connection_id":127935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:34:00] local.INFO: IMEI packet received {"connection_id":127935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":127935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:34:00] local.INFO: TCP Data received {"connection_id":127935,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42408b10012d785d4005f0eb80000e015c24..."} 
[2026-07-08 20:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42408b10012d785d4005f0eb80000e015c24..."} 
[2026-07-08 20:34:00] local.INFO: Processing buffer {"connection_id":127935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42408b10012d785d4005f0eb80000e015c24..."} 
[2026-07-08 20:34:00] local.INFO: Packet analysis {"connection_id":127935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4240"} 
[2026-07-08 20:34:00] local.INFO: Extracted packet for processing {"connection_id":127935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4240"} 
[2026-07-08 20:34:00] local.INFO: GPS Element Parsed {"raw_longitude":762862912,"raw_latitude":99675008,"longitude_deg":76.2862912,"latitude_deg":9.9675008,"altitude":14,"angle":348,"satellites":36,"speed":29,"hex_longitude":"2d785d40","hex_latitude":"05f0eb80","is_valid_coordinates":true} 
[2026-07-08 20:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581873408001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343255624542322688,"note":"Value kept but may cause issues"} 
[2026-07-08 20:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8674918070248433664,"note":"Value kept but may cause issues"} 
[2026-07-08 20:34:00] 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-07-08 20:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783522954000,"timestamp_ms":1783522954000,"timestamp_seconds":1783522954,"priority":1,"record_length":96,"hex_timestamp":"0000019f42408b10"} 
[2026-07-08 20:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-08 20:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:34:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":127935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":127935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":127935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581873408001,"66":27484,"60":206,"87":11776,"24":29,"16":343255624542322688,"45":8674918070248433664},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,87,24,16,45]} 
[2026-07-08 20:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581873408001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:34:00] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-08 20:34:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-07-08 20:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343255624542322688,"km_value":343255624542322.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8674918070248433664,"description":"Unknown IO ID 45"} 
[2026-07-08 20:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581873408001,"power":27484,"unknown_60":206,"unknown_87":11776,"ignition":29,"odometer":null,"unknown_45":8674918070248433664}} 
[2026-07-08 20:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":127935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:34:00] local.INFO: GPS data processed {"connection_id":127935,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:34:00] local.INFO: Acknowledgment sent {"connection_id":127935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:34:04] local.INFO: TCP Data received {"connection_id":127936,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:34:04] local.INFO: Processing buffer {"connection_id":127936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:34:04] local.INFO: IMEI packet received {"connection_id":127936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":127936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:34:05] local.INFO: TCP Data received {"connection_id":127936,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f423ed590012d196680071ff078003e014223..."} 
[2026-07-08 20:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f423ed590012d196680071ff078003e014223..."} 
[2026-07-08 20:34:05] local.INFO: Processing buffer {"connection_id":127936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f423ed590012d196680071ff078003e014223..."} 
[2026-07-08 20:34:05] local.INFO: Packet analysis {"connection_id":127936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f423e"} 
[2026-07-08 20:34:05] local.INFO: Extracted packet for processing {"connection_id":127936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f423e"} 
[2026-07-08 20:34:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581842176001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783522842000,"timestamp_ms":1783522842000,"timestamp_seconds":1783522842,"priority":1,"record_length":96,"hex_timestamp":"0000019f423ed590"} 
[2026-07-08 20:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-08 20:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:34:05] 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-07-08 20:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581842176001,"66":12211,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581842176001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:34:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:34:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581842176001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":127936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:34:05] local.INFO: GPS data processed {"connection_id":127936,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:34:05] local.INFO: Acknowledgment sent {"connection_id":127936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:34:06] local.INFO: TCP Data received {"connection_id":127935,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4240d930012d78594005f10048000d015b2d..."} 
[2026-07-08 20:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4240d930012d78594005f10048000d015b2d..."} 
[2026-07-08 20:34:06] local.INFO: Processing buffer {"connection_id":127935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4240d930012d78594005f10048000d015b2d..."} 
[2026-07-08 20:34:06] local.INFO: Packet analysis {"connection_id":127935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4240"} 
[2026-07-08 20:34:06] local.INFO: Extracted packet for processing {"connection_id":127935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4240"} 
[2026-07-08 20:34:06] local.INFO: GPS Element Parsed {"raw_longitude":762861888,"raw_latitude":99680328,"longitude_deg":76.2861888,"latitude_deg":9.9680328,"altitude":13,"angle":347,"satellites":45,"speed":0,"hex_longitude":"2d785940","hex_latitude":"05f10048","is_valid_coordinates":true} 
[2026-07-08 20:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581876224001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343255886535327744,"note":"Value kept but may cause issues"} 
[2026-07-08 20:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8673158851646423040,"note":"Value kept but may cause issues"} 
[2026-07-08 20:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783522974000,"timestamp_ms":1783522974000,"timestamp_seconds":1783522974,"priority":1,"record_length":96,"hex_timestamp":"0000019f4240d930"} 
[2026-07-08 20:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 20:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581876224001,"66":27300,"196":206,"87":11776,"24":0,"16":343255886535327744,"45":8673158851646423040},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-07-08 20:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581876224001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:34:06] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-08 20:34:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-07-08 20:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343255886535327744,"km_value":343255886535327.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8673158851646423040,"description":"Unknown IO ID 45"} 
[2026-07-08 20:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581876224001,"power":27300,"unknown_196":206,"unknown_87":11776,"ignition":0,"odometer":null,"unknown_45":8673158851646423040}} 
[2026-07-08 20:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":127935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:34:06] local.INFO: GPS data processed {"connection_id":127935,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:34:06] local.INFO: Acknowledgment sent {"connection_id":127935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:34:09] local.INFO: TCP Data received {"connection_id":127936,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f423f2798012d196680071ff078003e014223..."} 
[2026-07-08 20:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f423f2798012d196680071ff078003e014223..."} 
[2026-07-08 20:34:09] local.INFO: Processing buffer {"connection_id":127936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f423f2798012d196680071ff078003e014223..."} 
[2026-07-08 20:34:09] local.INFO: Packet analysis {"connection_id":127936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f423f"} 
[2026-07-08 20:34:09] local.INFO: Extracted packet for processing {"connection_id":127936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f423f"} 
[2026-07-08 20:34:09] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581847552001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783522863000,"timestamp_ms":1783522863000,"timestamp_seconds":1783522863,"priority":1,"record_length":96,"hex_timestamp":"0000019f423f2798"} 
[2026-07-08 20:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:34: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-07-08 20: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 20:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":127936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":127936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":127936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:34:09] 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-07-08 20:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581847552001,"66":12232,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581847552001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:34:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:34:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581847552001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":127936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453631,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:34:09] local.INFO: GPS data processed {"connection_id":127936,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:34:09] local.INFO: Acknowledgment sent {"connection_id":127936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:34:36] local.INFO: TCP Data received {"connection_id":125821,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125821,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:34:36] local.INFO: Processing buffer {"connection_id":125821,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:34:36] local.INFO: IMEI packet received {"connection_id":125821,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 20:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":125821,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:34:37] local.INFO: TCP Data received {"connection_id":127935,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42412750012d78594005f10048000d015b2d..."} 
[2026-07-08 20:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42412750012d78594005f10048000d015b2d..."} 
[2026-07-08 20:34:37] local.INFO: Processing buffer {"connection_id":127935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42412750012d78594005f10048000d015b2d..."} 
[2026-07-08 20:34:37] local.INFO: Packet analysis {"connection_id":127935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4241"} 
[2026-07-08 20:34:37] local.INFO: Extracted packet for processing {"connection_id":127935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4241"} 
[2026-07-08 20:34:37] local.INFO: GPS Element Parsed {"raw_longitude":762861888,"raw_latitude":99680328,"longitude_deg":76.2861888,"latitude_deg":9.9680328,"altitude":13,"angle":347,"satellites":45,"speed":0,"hex_longitude":"2d785940","hex_latitude":"05f10048","is_valid_coordinates":true} 
[2026-07-08 20:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581881344001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343255886535327744,"note":"Value kept but may cause issues"} 
[2026-07-08 20:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8672032951740942336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783522994000,"timestamp_ms":1783522994000,"timestamp_seconds":1783522994,"priority":1,"record_length":96,"hex_timestamp":"0000019f42412750"} 
[2026-07-08 20:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-08 20:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581881344001,"66":27180,"196":206,"87":11776,"24":0,"16":343255886535327744,"45":8672032951740942336},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-07-08 20:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581881344001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:34:37] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-08 20:34:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-07-08 20:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343255886535327744,"km_value":343255886535327.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8672032951740942336,"description":"Unknown IO ID 45"} 
[2026-07-08 20:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581881344001,"power":27180,"unknown_196":206,"unknown_87":11776,"ignition":0,"odometer":null,"unknown_45":8672032951740942336}} 
[2026-07-08 20:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":127935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:34:37] local.INFO: GPS data processed {"connection_id":127935,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:34:37] local.INFO: Acknowledgment sent {"connection_id":127935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:34:40] local.INFO: TCP Data received {"connection_id":127936,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f423f79a0012d196680071ff078003e014222..."} 
[2026-07-08 20:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f423f79a0012d196680071ff078003e014222..."} 
[2026-07-08 20:34:40] local.INFO: Processing buffer {"connection_id":127936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f423f79a0012d196680071ff078003e014222..."} 
[2026-07-08 20:34:40] local.INFO: Packet analysis {"connection_id":127936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f423f"} 
[2026-07-08 20:34:40] local.INFO: Extracted packet for processing {"connection_id":127936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f423f"} 
[2026-07-08 20:34:40] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581852928001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:34: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-07-08 20:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783522884000,"timestamp_ms":1783522884000,"timestamp_seconds":1783522884,"priority":1,"record_length":96,"hex_timestamp":"0000019f423f79a0"} 
[2026-07-08 20:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-08 20:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":127936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":127936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":127936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:34:40] 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-07-08 20:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581852928001,"66":12211,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581852928001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:34:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:34:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581852928001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":127936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:34:40] local.INFO: GPS data processed {"connection_id":127936,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:34:40] local.INFO: Acknowledgment sent {"connection_id":127936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:34:59] local.INFO: TCP Data received {"connection_id":125948,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:34:59] local.INFO: Processing buffer {"connection_id":125948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:34:59] local.INFO: IMEI packet received {"connection_id":125948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":125948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:35:00] local.INFO: TCP Data received {"connection_id":125950,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125950,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:35:00] local.INFO: Processing buffer {"connection_id":125950,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:35:00] local.INFO: IMEI packet received {"connection_id":125950,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 20:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":125950,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:35:04] local.INFO: TCP Data received {"connection_id":125948,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:35:04] local.INFO: Processing buffer {"connection_id":125948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:35:04] local.INFO: IMEI packet received {"connection_id":125948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":125948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:35:05] local.INFO: TCP Data received {"connection_id":125948,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f423fcba8012d196680071ff078003e014222..."} 
[2026-07-08 20:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f423fcba8012d196680071ff078003e014222..."} 
[2026-07-08 20:35:05] local.INFO: Processing buffer {"connection_id":125948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f423fcba8012d196680071ff078003e014222..."} 
[2026-07-08 20:35:05] local.INFO: Packet analysis {"connection_id":125948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f423f"} 
[2026-07-08 20:35:05] local.INFO: Extracted packet for processing {"connection_id":125948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f423f"} 
[2026-07-08 20:35:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581858304001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783522905000,"timestamp_ms":1783522905000,"timestamp_seconds":1783522905,"priority":1,"record_length":96,"hex_timestamp":"0000019f423fcba8"} 
[2026-07-08 20:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 20:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:35:05] 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-07-08 20:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581858304001,"66":12211,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581858304001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:35:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:35:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581858304001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":125948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:35:05] local.INFO: GPS data processed {"connection_id":125948,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:35:05] local.INFO: Acknowledgment sent {"connection_id":125948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:35:05] local.INFO: TCP Data received {"connection_id":125949,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:35:05] local.INFO: Processing buffer {"connection_id":125949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:35:05] local.INFO: IMEI packet received {"connection_id":125949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":125949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:35:06] local.INFO: TCP Data received {"connection_id":125949,"ip":"42.106.6.27","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 20:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125949,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 20:35:06] local.INFO: Processing buffer {"connection_id":125949,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 20:35:06] local.INFO: IMEI packet received {"connection_id":125949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":125949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:35:08] local.INFO: TCP Data received {"connection_id":125949,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42417958012d78594005f10048000d015b2d..."} 
[2026-07-08 20:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42417958012d78594005f10048000d015b2d..."} 
[2026-07-08 20:35:08] local.INFO: Processing buffer {"connection_id":125949,"buffer_length":829,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 20:35:08] local.INFO: IMEI packet received {"connection_id":125949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":125949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:35:11] local.INFO: TCP Data received {"connection_id":125949,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4241c778012d78584005f107c80014015d2e..."} 
[2026-07-08 20:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4241c778012d78584005f107c80014015d2e..."} 
[2026-07-08 20:35:11] local.INFO: Processing buffer {"connection_id":125949,"buffer_length":1607,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f42..."} 
[2026-07-08 20:35:11] local.INFO: IMEI packet received {"connection_id":125949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":125949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:35:13] local.INFO: TCP Data received {"connection_id":125949,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42421598012d784f0005f12b50001101562f..."} 
[2026-07-08 20:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42421598012d784f0005f12b50001101562f..."} 
[2026-07-08 20:35:13] local.INFO: Processing buffer {"connection_id":125949,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a0000019f42417958012d78594005f10048000d015b2d..."} 
[2026-07-08 20:35:13] local.INFO: Packet analysis {"connection_id":125949,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a0000019f4241"} 
[2026-07-08 20:35:13] local.INFO: Extracted packet for processing {"connection_id":125949,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f4241"} 
[2026-07-08 20:35:13] local.INFO: GPS Element Parsed {"raw_longitude":762861888,"raw_latitude":99680328,"longitude_deg":76.2861888,"latitude_deg":9.9680328,"altitude":13,"angle":347,"satellites":45,"speed":0,"hex_longitude":"2d785940","hex_latitude":"05f10048","is_valid_coordinates":true} 
[2026-07-08 20:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581886464001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343255886535327744,"note":"Value kept but may cause issues"} 
[2026-07-08 20:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8672032951740942336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783523015000,"timestamp_ms":1783523015000,"timestamp_seconds":1783523015,"priority":1,"record_length":96,"hex_timestamp":"0000019f42417958"} 
[2026-07-08 20:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-08 20:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581886464001,"66":27300,"196":206,"87":11776,"24":0,"16":343255886535327744,"45":8672032951740942336},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-07-08 20:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581886464001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:35:13] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-08 20:35:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-07-08 20:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343255886535327744,"km_value":343255886535327.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8672032951740942336,"description":"Unknown IO ID 45"} 
[2026-07-08 20:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581886464001,"power":27300,"unknown_196":206,"unknown_87":11776,"ignition":0,"odometer":null,"unknown_45":8672032951740942336}} 
[2026-07-08 20:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":125949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:35:13] local.INFO: GPS data processed {"connection_id":125949,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:35:13] local.INFO: Acknowledgment sent {"connection_id":125949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:35:13] local.INFO: Packet analysis {"connection_id":125949,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f4241"} 
[2026-07-08 20:35:13] local.INFO: Extracted packet for processing {"connection_id":125949,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4241"} 
[2026-07-08 20:35:13] local.INFO: GPS Element Parsed {"raw_longitude":762861632,"raw_latitude":99682248,"longitude_deg":76.2861632,"latitude_deg":9.9682248,"altitude":20,"angle":349,"satellites":46,"speed":11,"hex_longitude":"2d785840","hex_latitude":"05f107c8","is_valid_coordinates":true} 
[2026-07-08 20:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581891840001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343255985319575552,"note":"Value kept but may cause issues"} 
[2026-07-08 20:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8672032951740942336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783523035000,"timestamp_ms":1783523035000,"timestamp_seconds":1783523035,"priority":1,"record_length":96,"hex_timestamp":"0000019f4241c778"} 
[2026-07-08 20:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-08 20:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581891840001,"66":27213,"196":206,"87":11776,"24":11,"16":343255985319575552,"45":8672032951740942336},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-07-08 20:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581891840001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:35:13] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-08 20:35:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-07-08 20:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343255985319575552,"km_value":343255985319575.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8672032951740942336,"description":"Unknown IO ID 45"} 
[2026-07-08 20:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581891840001,"power":27213,"unknown_196":206,"unknown_87":11776,"ignition":11,"odometer":null,"unknown_45":8672032951740942336}} 
[2026-07-08 20:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":125949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:35:13] local.INFO: GPS data processed {"connection_id":125949,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:35:13] local.INFO: Acknowledgment sent {"connection_id":125949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:35:13] local.INFO: Packet analysis {"connection_id":125949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4242"} 
[2026-07-08 20:35:13] local.INFO: Extracted packet for processing {"connection_id":125949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4242"} 
[2026-07-08 20:35:13] local.INFO: GPS Element Parsed {"raw_longitude":762859264,"raw_latitude":99691344,"longitude_deg":76.2859264,"latitude_deg":9.9691344,"altitude":17,"angle":342,"satellites":47,"speed":23,"hex_longitude":"2d784f00","hex_latitude":"05f12b50","is_valid_coordinates":true} 
[2026-07-08 20:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581896960001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343256440586108928,"note":"Value kept but may cause issues"} 
[2026-07-08 20:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8671751476764723200,"note":"Value kept but may cause issues"} 
[2026-07-08 20:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783523055000,"timestamp_ms":1783523055000,"timestamp_seconds":1783523055,"priority":1,"record_length":96,"hex_timestamp":"0000019f42421598"} 
[2026-07-08 20:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-08 20:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581896960001,"66":27376,"196":206,"87":11776,"24":23,"16":343256440586108928,"45":8671751476764723200},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-07-08 20:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581896960001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:35:13] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-08 20:35:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-07-08 20:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343256440586108928,"km_value":343256440586108.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8671751476764723200,"description":"Unknown IO ID 45"} 
[2026-07-08 20:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581896960001,"power":27376,"unknown_196":206,"unknown_87":11776,"ignition":23,"odometer":null,"unknown_45":8671751476764723200}} 
[2026-07-08 20:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":125949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:35:13] local.INFO: GPS data processed {"connection_id":125949,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:35:13] local.INFO: Acknowledgment sent {"connection_id":125949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:35:15] local.INFO: TCP Data received {"connection_id":125949,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42421598012d784f0005f12b50001101562f..."} 
[2026-07-08 20:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42421598012d784f0005f12b50001101562f..."} 
[2026-07-08 20:35:15] local.INFO: Processing buffer {"connection_id":125949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42421598012d784f0005f12b50001101562f..."} 
[2026-07-08 20:35:15] local.INFO: Packet analysis {"connection_id":125949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4242"} 
[2026-07-08 20:35:15] local.INFO: Extracted packet for processing {"connection_id":125949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4242"} 
[2026-07-08 20:35:15] local.INFO: GPS Element Parsed {"raw_longitude":762859264,"raw_latitude":99691344,"longitude_deg":76.2859264,"latitude_deg":9.9691344,"altitude":17,"angle":342,"satellites":47,"speed":23,"hex_longitude":"2d784f00","hex_latitude":"05f12b50","is_valid_coordinates":true} 
[2026-07-08 20:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581902080001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343256440586108928,"note":"Value kept but may cause issues"} 
[2026-07-08 20:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8669147833232478208,"note":"Value kept but may cause issues"} 
[2026-07-08 20:35:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783523055000,"timestamp_ms":1783523055000,"timestamp_seconds":1783523055,"priority":1,"record_length":96,"hex_timestamp":"0000019f42421598"} 
[2026-07-08 20:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:35: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-07-08 20: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 20:35:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:35:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":125949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":125949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":125949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:35:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581902080001,"66":27376,"196":206,"87":11776,"24":23,"16":343256440586108928,"45":8669147833232478208},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-07-08 20:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581902080001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:35:15] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-08 20:35:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-07-08 20:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343256440586108928,"km_value":343256440586108.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8669147833232478208,"description":"Unknown IO ID 45"} 
[2026-07-08 20:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581902080001,"power":27376,"unknown_196":206,"unknown_87":11776,"ignition":23,"odometer":null,"unknown_45":8669147833232478208}} 
[2026-07-08 20:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":125949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:35:15] local.INFO: GPS data processed {"connection_id":125949,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:35:15] local.INFO: Acknowledgment sent {"connection_id":125949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:35:36] local.INFO: TCP Data received {"connection_id":125948,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42401db0012d196680071ff078003e014220..."} 
[2026-07-08 20:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42401db0012d196680071ff078003e014220..."} 
[2026-07-08 20:35:36] local.INFO: Processing buffer {"connection_id":125948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42401db0012d196680071ff078003e014220..."} 
[2026-07-08 20:35:36] local.INFO: Packet analysis {"connection_id":125948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4240"} 
[2026-07-08 20:35:36] local.INFO: Extracted packet for processing {"connection_id":125948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4240"} 
[2026-07-08 20:35:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":32,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20: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-07-08 20:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581863680001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783522926000,"timestamp_ms":1783522926000,"timestamp_seconds":1783522926,"priority":1,"record_length":96,"hex_timestamp":"0000019f42401db0"} 
[2026-07-08 20:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 20:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20: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-07-08 20:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:35:36] 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-07-08 20:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581863680001,"66":12232,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581863680001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:35:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:35:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581863680001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":125948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:35:36] local.INFO: GPS data processed {"connection_id":125948,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:35:36] local.INFO: Acknowledgment sent {"connection_id":125948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:35:53] local.INFO: TCP Data received {"connection_id":126714,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:35:53] local.INFO: Processing buffer {"connection_id":126714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:35:53] local.INFO: IMEI packet received {"connection_id":126714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":126714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:35:55] local.INFO: TCP Data received {"connection_id":126714,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:35:55] local.INFO: Processing buffer {"connection_id":126714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:35:55] local.INFO: IMEI packet received {"connection_id":126714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":126714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:35:59] local.INFO: TCP Data received {"connection_id":127937,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:35:59] local.INFO: Processing buffer {"connection_id":127937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:35:59] local.INFO: IMEI packet received {"connection_id":127937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":127937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:36:00] local.INFO: TCP Data received {"connection_id":126714,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:36:00] local.INFO: Processing buffer {"connection_id":126714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:36:00] local.INFO: IMEI packet received {"connection_id":126714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":126714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:36:01] local.INFO: TCP Data received {"connection_id":126714,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f424267a0012d78440005f14cb0000e015429..."} 
[2026-07-08 20:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f424267a0012d78440005f14cb0000e015429..."} 
[2026-07-08 20:36:01] local.INFO: Processing buffer {"connection_id":126714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f424267a0012d78440005f14cb0000e015429..."} 
[2026-07-08 20:36:01] local.INFO: Packet analysis {"connection_id":126714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4242"} 
[2026-07-08 20:36:01] local.INFO: Extracted packet for processing {"connection_id":126714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4242"} 
[2026-07-08 20:36:01] local.INFO: GPS Element Parsed {"raw_longitude":762856448,"raw_latitude":99699888,"longitude_deg":76.2856448,"latitude_deg":9.9699888,"altitude":14,"angle":340,"satellites":41,"speed":19,"hex_longitude":"2d784400","hex_latitude":"05f14cb0","is_valid_coordinates":true} 
[2026-07-08 20:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581902080001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343256878672773120,"note":"Value kept but may cause issues"} 
[2026-07-08 20:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8669147833232478208,"note":"Value kept but may cause issues"} 
[2026-07-08 20:36:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783523076000,"timestamp_ms":1783523076000,"timestamp_seconds":1783523076,"priority":1,"record_length":96,"hex_timestamp":"0000019f424267a0"} 
[2026-07-08 20:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 20:36:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:36:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581902080001,"66":27267,"196":206,"87":11776,"24":19,"16":343256878672773120,"45":8669147833232478208},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-07-08 20:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581902080001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:36:01] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-08 20:36:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-07-08 20:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343256878672773120,"km_value":343256878672773.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8669147833232478208,"description":"Unknown IO ID 45"} 
[2026-07-08 20:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581902080001,"power":27267,"unknown_196":206,"unknown_87":11776,"ignition":19,"odometer":null,"unknown_45":8669147833232478208}} 
[2026-07-08 20:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":126714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:36:01] local.INFO: GPS data processed {"connection_id":126714,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:36:01] local.INFO: Acknowledgment sent {"connection_id":126714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:36:04] local.INFO: TCP Data received {"connection_id":127937,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:36:04] local.INFO: Processing buffer {"connection_id":127937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:36:04] local.INFO: IMEI packet received {"connection_id":127937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":127937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:36:05] local.INFO: TCP Data received {"connection_id":127937,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42406fb8012d196680071ff078003e01421e..."} 
[2026-07-08 20:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42406fb8012d196680071ff078003e01421e..."} 
[2026-07-08 20:36:05] local.INFO: Processing buffer {"connection_id":127937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42406fb8012d196680071ff078003e01421e..."} 
[2026-07-08 20:36:05] local.INFO: Packet analysis {"connection_id":127937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4240"} 
[2026-07-08 20:36:05] local.INFO: Extracted packet for processing {"connection_id":127937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4240"} 
[2026-07-08 20:36:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":30,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20: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-07-08 20:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581869056001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783522947000,"timestamp_ms":1783522947000,"timestamp_seconds":1783522947,"priority":1,"record_length":96,"hex_timestamp":"0000019f42406fb8"} 
[2026-07-08 20:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-08 20:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20: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-07-08 20:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:36:05] 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-07-08 20:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581869056001,"66":12211,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581869056001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:36:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:36:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581869056001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":127937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:36:05] local.INFO: GPS data processed {"connection_id":127937,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:36:05] local.INFO: Acknowledgment sent {"connection_id":127937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:36:36] local.INFO: TCP Data received {"connection_id":127937,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4240c1c0012d196680071ff078003e01421f..."} 
[2026-07-08 20:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4240c1c0012d196680071ff078003e01421f..."} 
[2026-07-08 20:36:36] local.INFO: Processing buffer {"connection_id":127937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4240c1c0012d196680071ff078003e01421f..."} 
[2026-07-08 20:36:36] local.INFO: Packet analysis {"connection_id":127937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4240"} 
[2026-07-08 20:36:36] local.INFO: Extracted packet for processing {"connection_id":127937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4240"} 
[2026-07-08 20:36:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":31,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581874432001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783522968000,"timestamp_ms":1783522968000,"timestamp_seconds":1783522968,"priority":1,"record_length":96,"hex_timestamp":"0000019f4240c1c0"} 
[2026-07-08 20:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 20:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:36:36] 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-07-08 20:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581874432001,"66":12211,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581874432001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:36:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:36:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581874432001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":127937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:36:36] local.INFO: GPS data processed {"connection_id":127937,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:36:36] local.INFO: Acknowledgment sent {"connection_id":127937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:36:36] local.INFO: TCP Data received {"connection_id":126714,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f424267a0012d78440005f14cb0000e015429..."} 
[2026-07-08 20:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f424267a0012d78440005f14cb0000e015429..."} 
[2026-07-08 20:36:36] local.INFO: Processing buffer {"connection_id":126714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f424267a0012d78440005f14cb0000e015429..."} 
[2026-07-08 20:36:36] local.INFO: Packet analysis {"connection_id":126714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4242"} 
[2026-07-08 20:36:36] local.INFO: Extracted packet for processing {"connection_id":126714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4242"} 
[2026-07-08 20:36:36] local.INFO: GPS Element Parsed {"raw_longitude":762856448,"raw_latitude":99699888,"longitude_deg":76.2856448,"latitude_deg":9.9699888,"altitude":14,"angle":340,"satellites":41,"speed":19,"hex_longitude":"2d784400","hex_latitude":"05f14cb0","is_valid_coordinates":true} 
[2026-07-08 20:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581907456001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343256878672773120,"note":"Value kept but may cause issues"} 
[2026-07-08 20:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8666051608490848256,"note":"Value kept but may cause issues"} 
[2026-07-08 20:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783523076000,"timestamp_ms":1783523076000,"timestamp_seconds":1783523076,"priority":1,"record_length":96,"hex_timestamp":"0000019f424267a0"} 
[2026-07-08 20:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 20:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581907456001,"66":27267,"196":206,"87":11776,"24":19,"16":343256878672773120,"45":8666051608490848256},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-07-08 20:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581907456001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:36:36] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-08 20:36:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-07-08 20:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343256878672773120,"km_value":343256878672773.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8666051608490848256,"description":"Unknown IO ID 45"} 
[2026-07-08 20:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581907456001,"power":27267,"unknown_196":206,"unknown_87":11776,"ignition":19,"odometer":null,"unknown_45":8666051608490848256}} 
[2026-07-08 20:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":126714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:36:36] local.INFO: GPS data processed {"connection_id":126714,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:36:36] local.INFO: Acknowledgment sent {"connection_id":126714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:36:55] local.INFO: TCP Data received {"connection_id":125822,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:36:55] local.INFO: Processing buffer {"connection_id":125822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:36:55] local.INFO: IMEI packet received {"connection_id":125822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":125822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:36:56] local.INFO: TCP Data received {"connection_id":125822,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:36:56] local.INFO: Processing buffer {"connection_id":125822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:36:56] local.INFO: IMEI packet received {"connection_id":125822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":125822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:36:56] local.INFO: TCP Data received {"connection_id":125823,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:36:56] local.INFO: Processing buffer {"connection_id":125823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:36:56] local.INFO: IMEI packet received {"connection_id":125823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":125823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:36:59] local.INFO: TCP Data received {"connection_id":125823,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:36:59] local.INFO: Processing buffer {"connection_id":125823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:36:59] local.INFO: IMEI packet received {"connection_id":125823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":125823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:37:00] local.INFO: TCP Data received {"connection_id":125822,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:37:00] local.INFO: Processing buffer {"connection_id":125822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:37:00] local.INFO: IMEI packet received {"connection_id":125822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":125822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:37:01] local.INFO: TCP Data received {"connection_id":125822,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4243cb18012d78328005f19f400019011e2e..."} 
[2026-07-08 20:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4243cb18012d78328005f19f400019011e2e..."} 
[2026-07-08 20:37:01] local.INFO: Processing buffer {"connection_id":125822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4243cb18012d78328005f19f400019011e2e..."} 
[2026-07-08 20:37:01] local.INFO: Packet analysis {"connection_id":125822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4243"} 
[2026-07-08 20:37:01] local.INFO: Extracted packet for processing {"connection_id":125822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4243"} 
[2026-07-08 20:37:01] local.INFO: GPS Element Parsed {"raw_longitude":762851968,"raw_latitude":99721024,"longitude_deg":76.2851968,"latitude_deg":9.9721024,"altitude":25,"angle":286,"satellites":46,"speed":13,"hex_longitude":"2d783280","hex_latitude":"05f19f40","is_valid_coordinates":true} 
[2026-07-08 20:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581930496001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343257956709564416,"note":"Value kept but may cause issues"} 
[2026-07-08 20:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8661548008868837376,"note":"Value kept but may cause issues"} 
[2026-07-08 20:37:01] 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-07-08 20:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783523167000,"timestamp_ms":1783523167000,"timestamp_seconds":1783523167,"priority":1,"record_length":96,"hex_timestamp":"0000019f4243cb18"} 
[2026-07-08 20:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-08 20:37:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:37:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581930496001,"66":27180,"198":206,"87":11776,"24":13,"16":343257956709564416,"45":8661548008868837376},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-08 20:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581930496001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:37:01] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-08 20:37:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-07-08 20:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343257956709564416,"km_value":343257956709564.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8661548008868837376,"description":"Unknown IO ID 45"} 
[2026-07-08 20:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581930496001,"power":27180,"unknown_198":206,"unknown_87":11776,"ignition":13,"odometer":null,"unknown_45":8661548008868837376}} 
[2026-07-08 20:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":125822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:37:01] local.INFO: GPS data processed {"connection_id":125822,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:37:01] local.INFO: Acknowledgment sent {"connection_id":125822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:37:04] local.INFO: TCP Data received {"connection_id":125823,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:37:04] local.INFO: Processing buffer {"connection_id":125823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:37:04] local.INFO: IMEI packet received {"connection_id":125823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":125823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:37:05] local.INFO: TCP Data received {"connection_id":125823,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f424113c8012d196680071ff078003e014222..."} 
[2026-07-08 20:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f424113c8012d196680071ff078003e014222..."} 
[2026-07-08 20:37:05] local.INFO: Processing buffer {"connection_id":125823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f424113c8012d196680071ff078003e014222..."} 
[2026-07-08 20:37:05] local.INFO: Packet analysis {"connection_id":125823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4241"} 
[2026-07-08 20:37:05] local.INFO: Extracted packet for processing {"connection_id":125823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4241"} 
[2026-07-08 20:37:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20: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-07-08 20:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581879808001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783522989000,"timestamp_ms":1783522989000,"timestamp_seconds":1783522989,"priority":1,"record_length":96,"hex_timestamp":"0000019f424113c8"} 
[2026-07-08 20:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 20:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20: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-07-08 20:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:37:05] 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-07-08 20:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581879808001,"66":12178,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581879808001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:37:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:37:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581879808001,"power":12178,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":125823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453645,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:37:05] local.INFO: GPS data processed {"connection_id":125823,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:37:05] local.INFO: Acknowledgment sent {"connection_id":125823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:37:33] local.INFO: TCP Data received {"connection_id":125822,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4243cf00012d78310005f19f800018010c2b..."} 
[2026-07-08 20:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4243cf00012d78310005f19f800018010c2b..."} 
[2026-07-08 20:37:33] local.INFO: Processing buffer {"connection_id":125822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4243cf00012d78310005f19f800018010c2b..."} 
[2026-07-08 20:37:33] local.INFO: Packet analysis {"connection_id":125822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4243"} 
[2026-07-08 20:37:33] local.INFO: Extracted packet for processing {"connection_id":125822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4243"} 
[2026-07-08 20:37:33] local.INFO: GPS Element Parsed {"raw_longitude":762851584,"raw_latitude":99721088,"longitude_deg":76.2851584,"latitude_deg":9.9721088,"altitude":24,"angle":268,"satellites":43,"speed":12,"hex_longitude":"2d783100","hex_latitude":"05f19f80","is_valid_coordinates":true} 
[2026-07-08 20: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-07-08 20:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581930752001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343257973889433600,"note":"Value kept but may cause issues"} 
[2026-07-08 20:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8661125796403822592,"note":"Value kept but may cause issues"} 
[2026-07-08 20:37:33] 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-07-08 20:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783523168000,"timestamp_ms":1783523168000,"timestamp_seconds":1783523168,"priority":1,"record_length":96,"hex_timestamp":"0000019f4243cf00"} 
[2026-07-08 20:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-08 20:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20: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-07-08 20:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581930752001,"66":27180,"198":206,"87":11776,"24":12,"16":343257973889433600,"45":8661125796403822592},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-08 20:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581930752001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:37:33] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-08 20:37:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-07-08 20:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343257973889433600,"km_value":343257973889433.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8661125796403822592,"description":"Unknown IO ID 45"} 
[2026-07-08 20:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581930752001,"power":27180,"unknown_198":206,"unknown_87":11776,"ignition":12,"odometer":null,"unknown_45":8661125796403822592}} 
[2026-07-08 20:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":125822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:37:33] local.INFO: GPS data processed {"connection_id":125822,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:37:33] local.INFO: Acknowledgment sent {"connection_id":125822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:37:36] local.INFO: TCP Data received {"connection_id":125823,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f424165d0012d196680071ff078003e01421f..."} 
[2026-07-08 20:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f424165d0012d196680071ff078003e01421f..."} 
[2026-07-08 20:37:36] local.INFO: Processing buffer {"connection_id":125823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f424165d0012d196680071ff078003e01421f..."} 
[2026-07-08 20:37:36] local.INFO: Packet analysis {"connection_id":125823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4241"} 
[2026-07-08 20:37:36] local.INFO: Extracted packet for processing {"connection_id":125823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4241"} 
[2026-07-08 20:37:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":31,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581885184001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783523010000,"timestamp_ms":1783523010000,"timestamp_seconds":1783523010,"priority":1,"record_length":96,"hex_timestamp":"0000019f424165d0"} 
[2026-07-08 20:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-08 20:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:37:36] 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-07-08 20:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581885184001,"66":12189,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581885184001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:37:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:37:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581885184001,"power":12189,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":125823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:37:36] local.INFO: GPS data processed {"connection_id":125823,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:37:36] local.INFO: Acknowledgment sent {"connection_id":125823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:37:58] local.INFO: TCP Data received {"connection_id":125952,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:37:58] local.INFO: Processing buffer {"connection_id":125952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:37:58] local.INFO: IMEI packet received {"connection_id":125952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":125952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:37:59] local.INFO: TCP Data received {"connection_id":125953,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:37:59] local.INFO: Processing buffer {"connection_id":125953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:37:59] local.INFO: IMEI packet received {"connection_id":125953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":125953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:38:00] local.INFO: TCP Data received {"connection_id":125952,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:38:00] local.INFO: Processing buffer {"connection_id":125952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:38:00] local.INFO: IMEI packet received {"connection_id":125952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":125952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:38:00] local.INFO: TCP Data received {"connection_id":125953,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:38:00] local.INFO: Processing buffer {"connection_id":125953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:38:00] local.INFO: IMEI packet received {"connection_id":125953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":125953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:38:02] local.INFO: TCP Data received {"connection_id":125952,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4243d2e8012d782f8005f19f50001700fc2b..."} 
[2026-07-08 20:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4243d2e8012d782f8005f19f50001700fc2b..."} 
[2026-07-08 20:38:02] local.INFO: Processing buffer {"connection_id":125952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4243d2e8012d782f8005f19f50001700fc2b..."} 
[2026-07-08 20:38:02] local.INFO: Packet analysis {"connection_id":125952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4243"} 
[2026-07-08 20:38:02] local.INFO: Extracted packet for processing {"connection_id":125952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4243"} 
[2026-07-08 20:38:02] local.INFO: GPS Element Parsed {"raw_longitude":762851200,"raw_latitude":99721040,"longitude_deg":76.28512,"latitude_deg":9.972104,"altitude":23,"angle":252,"satellites":43,"speed":15,"hex_longitude":"2d782f80","hex_latitude":"05f19f50","is_valid_coordinates":true} 
[2026-07-08 20:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581931008001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343257991069302784,"note":"Value kept but may cause issues"} 
[2026-07-08 20:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8660703583938772992,"note":"Value kept but may cause issues"} 
[2026-07-08 20:38: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-07-08 20:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783523169000,"timestamp_ms":1783523169000,"timestamp_seconds":1783523169,"priority":1,"record_length":96,"hex_timestamp":"0000019f4243d2e8"} 
[2026-07-08 20:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:38: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-07-08 20: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-08 20:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581931008001,"66":27267,"198":206,"87":11776,"24":15,"16":343257991069302784,"45":8660703583938772992},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-08 20:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581931008001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:38:02] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-08 20:38:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-07-08 20:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343257991069302784,"km_value":343257991069302.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8660703583938772992,"description":"Unknown IO ID 45"} 
[2026-07-08 20:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581931008001,"power":27267,"unknown_198":206,"unknown_87":11776,"ignition":15,"odometer":null,"unknown_45":8660703583938772992}} 
[2026-07-08 20:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":125952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:38:02] local.INFO: GPS data processed {"connection_id":125952,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:38:02] local.INFO: Acknowledgment sent {"connection_id":125952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:38:04] local.INFO: TCP Data received {"connection_id":125953,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:38:04] local.INFO: Processing buffer {"connection_id":125953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:38:04] local.INFO: IMEI packet received {"connection_id":125953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":125953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:38:05] local.INFO: TCP Data received {"connection_id":125953,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4241b7d8012d196680071ff078003e014220..."} 
[2026-07-08 20:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4241b7d8012d196680071ff078003e014220..."} 
[2026-07-08 20:38:05] local.INFO: Processing buffer {"connection_id":125953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4241b7d8012d196680071ff078003e014220..."} 
[2026-07-08 20:38:05] local.INFO: Packet analysis {"connection_id":125953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4241"} 
[2026-07-08 20:38:05] local.INFO: Extracted packet for processing {"connection_id":125953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4241"} 
[2026-07-08 20:38:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":32,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581890560001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783523031000,"timestamp_ms":1783523031000,"timestamp_seconds":1783523031,"priority":1,"record_length":96,"hex_timestamp":"0000019f4241b7d8"} 
[2026-07-08 20:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-07-08 20:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:38:05] 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-07-08 20:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581890560001,"66":12232,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581890560001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:38:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:38:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581890560001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":125953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:38:05] local.INFO: GPS data processed {"connection_id":125953,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:38:05] local.INFO: Acknowledgment sent {"connection_id":125953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:38:06] local.INFO: TCP Data received {"connection_id":125952,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f4243f610012d781b8005f19c500010010b28..."} 
[2026-07-08 20:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4243f610012d781b8005f19c500010010b28..."} 
[2026-07-08 20:38:06] local.INFO: Processing buffer {"connection_id":125952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4243f610012d781b8005f19c500010010b28..."} 
[2026-07-08 20:38:06] local.INFO: Packet analysis {"connection_id":125952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4243"} 
[2026-07-08 20:38:06] local.INFO: Extracted packet for processing {"connection_id":125952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4243"} 
[2026-07-08 20:38:06] local.INFO: GPS Element Parsed {"raw_longitude":762846080,"raw_latitude":99720272,"longitude_deg":76.284608,"latitude_deg":9.9720272,"altitude":16,"angle":267,"satellites":40,"speed":27,"hex_longitude":"2d781b80","hex_latitude":"05f19c50","is_valid_coordinates":true} 
[2026-07-08 20:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581931264001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343258240177405952,"note":"Value kept but may cause issues"} 
[2026-07-08 20:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8660281371473694720,"note":"Value kept but may cause issues"} 
[2026-07-08 20:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783523178000,"timestamp_ms":1783523178000,"timestamp_seconds":1783523178,"priority":1,"record_length":96,"hex_timestamp":"0000019f4243f610"} 
[2026-07-08 20:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 20:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581931264001,"66":27321,"75":206,"87":11776,"24":27,"16":343258240177405952,"45":8660281371473694720},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,87,24,16,45]} 
[2026-07-08 20:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581931264001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:38:06] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-07-08 20:38:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-07-08 20:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343258240177405952,"km_value":343258240177405.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8660281371473694720,"description":"Unknown IO ID 45"} 
[2026-07-08 20:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581931264001,"power":27321,"unknown_75":206,"unknown_87":11776,"ignition":27,"odometer":null,"unknown_45":8660281371473694720}} 
[2026-07-08 20:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":125952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:38:06] local.INFO: GPS data processed {"connection_id":125952,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:38:06] local.INFO: Acknowledgment sent {"connection_id":125952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:38:36] local.INFO: TCP Data received {"connection_id":125953,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f424209e0012d196680071ff078003e01421e..."} 
[2026-07-08 20:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f424209e0012d196680071ff078003e01421e..."} 
[2026-07-08 20:38:36] local.INFO: Processing buffer {"connection_id":125953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f424209e0012d196680071ff078003e01421e..."} 
[2026-07-08 20:38:36] local.INFO: Packet analysis {"connection_id":125953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4242"} 
[2026-07-08 20:38:36] local.INFO: Extracted packet for processing {"connection_id":125953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4242"} 
[2026-07-08 20:38:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":30,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581895936001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783523052000,"timestamp_ms":1783523052000,"timestamp_seconds":1783523052,"priority":1,"record_length":96,"hex_timestamp":"0000019f424209e0"} 
[2026-07-08 20:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-08 20:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20: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-07-08 20:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:38:36] 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-07-08 20:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581895936001,"66":12211,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581895936001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:38:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:38:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581895936001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":125953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:38:36] local.INFO: GPS data processed {"connection_id":125953,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:38:36] local.INFO: Acknowledgment sent {"connection_id":125953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:38:59] local.INFO: TCP Data received {"connection_id":125824,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:38:59] local.INFO: Processing buffer {"connection_id":125824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:38:59] local.INFO: IMEI packet received {"connection_id":125824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":125824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:39:02] local.INFO: TCP Data received {"connection_id":125824,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:39:02] local.INFO: Processing buffer {"connection_id":125824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:39:02] local.INFO: IMEI packet received {"connection_id":125824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":125824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:39:03] local.INFO: TCP Data received {"connection_id":125824,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42425be8012d196680071ff078003e01421d..."} 
[2026-07-08 20:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42425be8012d196680071ff078003e01421d..."} 
[2026-07-08 20:39:03] local.INFO: Processing buffer {"connection_id":125824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42425be8012d196680071ff078003e01421d..."} 
[2026-07-08 20:39:03] local.INFO: Packet analysis {"connection_id":125824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4242"} 
[2026-07-08 20:39:03] local.INFO: Extracted packet for processing {"connection_id":125824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4242"} 
[2026-07-08 20:39:03] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":29,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20: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-07-08 20:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581901312001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783523073000,"timestamp_ms":1783523073000,"timestamp_seconds":1783523073,"priority":1,"record_length":96,"hex_timestamp":"0000019f42425be8"} 
[2026-07-08 20:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 20:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20: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-07-08 20:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":125824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":125824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":125824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:39:03] 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-07-08 20:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581901312001,"66":12232,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581901312001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:39:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:39:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581901312001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":125824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:39:03] local.INFO: GPS data processed {"connection_id":125824,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:39:03] local.INFO: Acknowledgment sent {"connection_id":125824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:39:34] local.INFO: TCP Data received {"connection_id":125824,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4242adf0012d196680071ff078003e01421e..."} 
[2026-07-08 20:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4242adf0012d196680071ff078003e01421e..."} 
[2026-07-08 20:39:34] local.INFO: Processing buffer {"connection_id":125824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4242adf0012d196680071ff078003e01421e..."} 
[2026-07-08 20:39:34] local.INFO: Packet analysis {"connection_id":125824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4242"} 
[2026-07-08 20:39:34] local.INFO: Extracted packet for processing {"connection_id":125824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4242"} 
[2026-07-08 20:39:34] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":30,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581906688001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783523094000,"timestamp_ms":1783523094000,"timestamp_seconds":1783523094,"priority":1,"record_length":96,"hex_timestamp":"0000019f4242adf0"} 
[2026-07-08 20:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-08 20:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:39:34] 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-07-08 20:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581906688001,"66":12232,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581906688001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:39:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:39:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581906688001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":125824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:39:34] local.INFO: GPS data processed {"connection_id":125824,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:39:34] local.INFO: Acknowledgment sent {"connection_id":125824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:40:00] local.INFO: TCP Data received {"connection_id":125826,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:40:00] local.INFO: Processing buffer {"connection_id":125826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:40:00] local.INFO: IMEI packet received {"connection_id":125826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":125826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:40:04] local.INFO: TCP Data received {"connection_id":125826,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:40:04] local.INFO: Processing buffer {"connection_id":125826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:40:04] local.INFO: IMEI packet received {"connection_id":125826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":125826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:40:05] local.INFO: TCP Data received {"connection_id":125826,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4242fff8012d196680071ff078003e01421f..."} 
[2026-07-08 20:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4242fff8012d196680071ff078003e01421f..."} 
[2026-07-08 20:40:05] local.INFO: Processing buffer {"connection_id":125826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4242fff8012d196680071ff078003e01421f..."} 
[2026-07-08 20:40:05] local.INFO: Packet analysis {"connection_id":125826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4242"} 
[2026-07-08 20:40:05] local.INFO: Extracted packet for processing {"connection_id":125826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4242"} 
[2026-07-08 20:40:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":31,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581912064001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783523115000,"timestamp_ms":1783523115000,"timestamp_seconds":1783523115,"priority":1,"record_length":96,"hex_timestamp":"0000019f4242fff8"} 
[2026-07-08 20:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-08 20:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:40:05] 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-07-08 20:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581912064001,"66":12232,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581912064001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:40:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:40:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581912064001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":125826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:40:05] local.INFO: GPS data processed {"connection_id":125826,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:40:05] local.INFO: Acknowledgment sent {"connection_id":125826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:40:14] local.INFO: TCP Data received {"connection_id":125825,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125825,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:40:14] local.INFO: Processing buffer {"connection_id":125825,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:40:14] local.INFO: IMEI packet received {"connection_id":125825,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 20:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":125825,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:40:36] local.INFO: TCP Data received {"connection_id":125826,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42468650012d196680071ff078003e014221..."} 
[2026-07-08 20:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42468650012d196680071ff078003e014221..."} 
[2026-07-08 20:40:36] local.INFO: Processing buffer {"connection_id":125826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42468650012d196680071ff078003e014221..."} 
[2026-07-08 20:40:36] local.INFO: Packet analysis {"connection_id":125826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4246"} 
[2026-07-08 20:40:36] local.INFO: Extracted packet for processing {"connection_id":125826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4246"} 
[2026-07-08 20:40:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581971200001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783523346000,"timestamp_ms":1783523346000,"timestamp_seconds":1783523346,"priority":1,"record_length":96,"hex_timestamp":"0000019f42468650"} 
[2026-07-08 20:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-08 20:40:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:40:36] 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-07-08 20:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581971200001,"66":12211,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581971200001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:40:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:40:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581971200001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":125826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:40:36] local.INFO: GPS data processed {"connection_id":125826,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:40:36] local.INFO: Acknowledgment sent {"connection_id":125826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:40:55] local.INFO: TCP Data received {"connection_id":126717,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126717,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:40:55] local.INFO: Processing buffer {"connection_id":126717,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:40:55] local.INFO: IMEI packet received {"connection_id":126717,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 20:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":126717,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:40:59] local.INFO: TCP Data received {"connection_id":127939,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:40:59] local.INFO: Processing buffer {"connection_id":127939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:40:59] local.INFO: IMEI packet received {"connection_id":127939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":127939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:41:04] local.INFO: TCP Data received {"connection_id":127939,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:41:04] local.INFO: Processing buffer {"connection_id":127939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:41:04] local.INFO: IMEI packet received {"connection_id":127939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":127939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:41:05] local.INFO: TCP Data received {"connection_id":127939,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4246d858012d196680071ff078003e014224..."} 
[2026-07-08 20:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4246d858012d196680071ff078003e014224..."} 
[2026-07-08 20:41:05] local.INFO: Processing buffer {"connection_id":127939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4246d858012d196680071ff078003e014224..."} 
[2026-07-08 20:41:05] local.INFO: Packet analysis {"connection_id":127939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4246"} 
[2026-07-08 20:41:05] local.INFO: Extracted packet for processing {"connection_id":127939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4246"} 
[2026-07-08 20:41:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581976576001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783523367000,"timestamp_ms":1783523367000,"timestamp_seconds":1783523367,"priority":1,"record_length":96,"hex_timestamp":"0000019f4246d858"} 
[2026-07-08 20:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 20:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:41:05] 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-07-08 20:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581976576001,"66":12211,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581976576001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:41:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:41:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581976576001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":127939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:41:05] local.INFO: GPS data processed {"connection_id":127939,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:41:05] local.INFO: Acknowledgment sent {"connection_id":127939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:41:36] local.INFO: TCP Data received {"connection_id":127939,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42472a60012d196680071ff078003e014223..."} 
[2026-07-08 20:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42472a60012d196680071ff078003e014223..."} 
[2026-07-08 20:41:36] local.INFO: Processing buffer {"connection_id":127939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42472a60012d196680071ff078003e014223..."} 
[2026-07-08 20:41:36] local.INFO: Packet analysis {"connection_id":127939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4247"} 
[2026-07-08 20:41:36] local.INFO: Extracted packet for processing {"connection_id":127939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4247"} 
[2026-07-08 20:41:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581981952001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783523388000,"timestamp_ms":1783523388000,"timestamp_seconds":1783523388,"priority":1,"record_length":96,"hex_timestamp":"0000019f42472a60"} 
[2026-07-08 20:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 20:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:41:36] 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-07-08 20:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581981952001,"66":12232,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581981952001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:41:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:41:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581981952001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":127939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:41:36] local.INFO: GPS data processed {"connection_id":127939,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:41:36] local.INFO: Acknowledgment sent {"connection_id":127939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:42:04] local.INFO: TCP Data received {"connection_id":126718,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:42:04] local.INFO: Processing buffer {"connection_id":126718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:42:04] local.INFO: IMEI packet received {"connection_id":126718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":126718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:42:09] local.INFO: TCP Data received {"connection_id":126718,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:42:09] local.INFO: Processing buffer {"connection_id":126718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:42:09] local.INFO: IMEI packet received {"connection_id":126718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":126718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:42:10] local.INFO: TCP Data received {"connection_id":126718,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42477c68012d196680071ff078003e014220..."} 
[2026-07-08 20:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42477c68012d196680071ff078003e014220..."} 
[2026-07-08 20:42:10] local.INFO: Processing buffer {"connection_id":126718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42477c68012d196680071ff078003e014220..."} 
[2026-07-08 20:42:10] local.INFO: Packet analysis {"connection_id":126718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4247"} 
[2026-07-08 20:42:10] local.INFO: Extracted packet for processing {"connection_id":126718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4247"} 
[2026-07-08 20:42:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":32,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20: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-07-08 20:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581987328001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:42: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-07-08 20:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783523409000,"timestamp_ms":1783523409000,"timestamp_seconds":1783523409,"priority":1,"record_length":96,"hex_timestamp":"0000019f42477c68"} 
[2026-07-08 20:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-08 20:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20: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-07-08 20:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:42:10] 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-07-08 20:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581987328001,"66":12156,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581987328001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:42:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:42:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581987328001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":126718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:42:10] local.INFO: GPS data processed {"connection_id":126718,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:42:10] local.INFO: Acknowledgment sent {"connection_id":126718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:42:11] local.INFO: TCP Data received {"connection_id":126718,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f4247ce70012d196680071ff078003e014222..."} 
[2026-07-08 20:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4247ce70012d196680071ff078003e014222..."} 
[2026-07-08 20:42:11] local.INFO: Processing buffer {"connection_id":126718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4247ce70012d196680071ff078003e014222..."} 
[2026-07-08 20:42:11] local.INFO: Packet analysis {"connection_id":126718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4247"} 
[2026-07-08 20:42:11] local.INFO: Extracted packet for processing {"connection_id":126718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4247"} 
[2026-07-08 20:42:11] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581992704001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:42: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-07-08 20:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783523430000,"timestamp_ms":1783523430000,"timestamp_seconds":1783523430,"priority":1,"record_length":96,"hex_timestamp":"0000019f4247ce70"} 
[2026-07-08 20:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-08 20:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:42:11] 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-07-08 20:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581992704001,"66":12232,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581992704001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:42:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:42:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581992704001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":126718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:42:11] local.INFO: GPS data processed {"connection_id":126718,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:42:11] local.INFO: Acknowledgment sent {"connection_id":126718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:42:42] local.INFO: TCP Data received {"connection_id":126718,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42482078012d196680071ff078003e014223..."} 
[2026-07-08 20:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42482078012d196680071ff078003e014223..."} 
[2026-07-08 20:42:42] local.INFO: Processing buffer {"connection_id":126718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42482078012d196680071ff078003e014223..."} 
[2026-07-08 20:42:42] local.INFO: Packet analysis {"connection_id":126718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4248"} 
[2026-07-08 20:42:42] local.INFO: Extracted packet for processing {"connection_id":126718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4248"} 
[2026-07-08 20:42:42] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581998080001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:42: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-07-08 20:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783523451000,"timestamp_ms":1783523451000,"timestamp_seconds":1783523451,"priority":1,"record_length":96,"hex_timestamp":"0000019f42482078"} 
[2026-07-08 20:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-08 20:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":126718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":126718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":126718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:42:42] 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-07-08 20:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581998080001,"66":12232,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581998080001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:42:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:42:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581998080001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":126718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:42:42] local.INFO: GPS data processed {"connection_id":126718,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:42:42] local.INFO: Acknowledgment sent {"connection_id":126718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:42:59] local.INFO: TCP Data received {"connection_id":125827,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:42:59] local.INFO: Processing buffer {"connection_id":125827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:42:59] local.INFO: IMEI packet received {"connection_id":125827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":125827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:43:04] local.INFO: TCP Data received {"connection_id":125827,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:43:04] local.INFO: Processing buffer {"connection_id":125827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:43:04] local.INFO: IMEI packet received {"connection_id":125827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":125827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:43:05] local.INFO: TCP Data received {"connection_id":125827,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f42487280012d196680071ff078003e014220..."} 
[2026-07-08 20:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42487280012d196680071ff078003e014220..."} 
[2026-07-08 20:43:05] local.INFO: Processing buffer {"connection_id":125827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42487280012d196680071ff078003e014220..."} 
[2026-07-08 20:43:05] local.INFO: Packet analysis {"connection_id":125827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4248"} 
[2026-07-08 20:43:05] local.INFO: Extracted packet for processing {"connection_id":125827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4248"} 
[2026-07-08 20:43:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":32,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582003456001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783523472000,"timestamp_ms":1783523472000,"timestamp_seconds":1783523472,"priority":1,"record_length":96,"hex_timestamp":"0000019f42487280"} 
[2026-07-08 20:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-08 20:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:43:05] 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-07-08 20:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582003456001,"66":12211,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582003456001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:43:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:43:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582003456001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":125827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:43:05] local.INFO: GPS data processed {"connection_id":125827,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:43:05] local.INFO: Acknowledgment sent {"connection_id":125827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:43:10] local.INFO: TCP Data received {"connection_id":125827,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4248c488012d196680071ff078003e01421d..."} 
[2026-07-08 20:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4248c488012d196680071ff078003e01421d..."} 
[2026-07-08 20:43:10] local.INFO: Processing buffer {"connection_id":125827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4248c488012d196680071ff078003e01421d..."} 
[2026-07-08 20:43:10] local.INFO: Packet analysis {"connection_id":125827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4248"} 
[2026-07-08 20:43:10] local.INFO: Extracted packet for processing {"connection_id":125827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4248"} 
[2026-07-08 20:43:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":29,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582008832001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:43: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-07-08 20:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783523493000,"timestamp_ms":1783523493000,"timestamp_seconds":1783523493,"priority":1,"record_length":96,"hex_timestamp":"0000019f4248c488"} 
[2026-07-08 20:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 20:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:43:10] 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-07-08 20:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582008832001,"66":12156,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582008832001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:43:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:43:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582008832001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":125827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:43:10] local.INFO: GPS data processed {"connection_id":125827,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:43:10] local.INFO: Acknowledgment sent {"connection_id":125827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:43:41] local.INFO: TCP Data received {"connection_id":125827,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f4248d428012d196680071ff078003e01421f..."} 
[2026-07-08 20:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4248d428012d196680071ff078003e01421f..."} 
[2026-07-08 20:43:41] local.INFO: Processing buffer {"connection_id":125827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4248d428012d196680071ff078003e01421f..."} 
[2026-07-08 20:43:41] local.INFO: Packet analysis {"connection_id":125827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4248"} 
[2026-07-08 20:43:41] local.INFO: Extracted packet for processing {"connection_id":125827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4248"} 
[2026-07-08 20:43:41] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":31,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582014208001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20: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-07-08 20:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783523497000,"timestamp_ms":1783523497000,"timestamp_seconds":1783523497,"priority":1,"record_length":96,"hex_timestamp":"0000019f4248d428"} 
[2026-07-08 20:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-08 20:43: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-07-08 20:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:43:41] 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-07-08 20:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582014208001,"66":12211,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582014208001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:43:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:43:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582014208001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":125827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:43:41] local.INFO: GPS data processed {"connection_id":125827,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:43:41] local.INFO: Acknowledgment sent {"connection_id":125827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:43:59] local.INFO: TCP Data received {"connection_id":127943,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:43:59] local.INFO: Processing buffer {"connection_id":127943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:43:59] local.INFO: IMEI packet received {"connection_id":127943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":127943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:44:04] local.INFO: TCP Data received {"connection_id":127943,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:44:04] local.INFO: Processing buffer {"connection_id":127943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:44:04] local.INFO: IMEI packet received {"connection_id":127943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":127943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:44:05] local.INFO: TCP Data received {"connection_id":127943,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4248d428012d196680071ff078003e01421f..."} 
[2026-07-08 20:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4248d428012d196680071ff078003e01421f..."} 
[2026-07-08 20:44:05] local.INFO: Processing buffer {"connection_id":127943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4248d428012d196680071ff078003e01421f..."} 
[2026-07-08 20:44:05] local.INFO: Packet analysis {"connection_id":127943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4248"} 
[2026-07-08 20:44:05] local.INFO: Extracted packet for processing {"connection_id":127943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4248"} 
[2026-07-08 20:44:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":31,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582015232001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783523497000,"timestamp_ms":1783523497000,"timestamp_seconds":1783523497,"priority":1,"record_length":96,"hex_timestamp":"0000019f4248d428"} 
[2026-07-08 20:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 20:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:44:05] 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-07-08 20:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582015232001,"66":12211,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582015232001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:44:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:44:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582015232001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":127943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:44:05] local.INFO: GPS data processed {"connection_id":127943,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:44:05] local.INFO: Acknowledgment sent {"connection_id":127943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:44:36] local.INFO: TCP Data received {"connection_id":127943,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4248d428012d196680071ff078003e01421f..."} 
[2026-07-08 20:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4248d428012d196680071ff078003e01421f..."} 
[2026-07-08 20:44:36] local.INFO: Processing buffer {"connection_id":127943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4248d428012d196680071ff078003e01421f..."} 
[2026-07-08 20:44:36] local.INFO: Packet analysis {"connection_id":127943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4248"} 
[2026-07-08 20:44:36] local.INFO: Extracted packet for processing {"connection_id":127943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4248"} 
[2026-07-08 20:44:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":31,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582015232001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783523497000,"timestamp_ms":1783523497000,"timestamp_seconds":1783523497,"priority":1,"record_length":96,"hex_timestamp":"0000019f4248d428"} 
[2026-07-08 20:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 20:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:44:36] 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-07-08 20:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582015232001,"66":12211,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582015232001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:44:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:44:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582015232001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":127943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:44:36] local.INFO: GPS data processed {"connection_id":127943,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:44:36] local.INFO: Acknowledgment sent {"connection_id":127943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:44:59] local.INFO: TCP Data received {"connection_id":127944,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:44:59] local.INFO: Processing buffer {"connection_id":127944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:44:59] local.INFO: IMEI packet received {"connection_id":127944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":127944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:45:04] local.INFO: TCP Data received {"connection_id":127944,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:45:04] local.INFO: Processing buffer {"connection_id":127944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:45:04] local.INFO: IMEI packet received {"connection_id":127944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":127944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:45:05] local.INFO: TCP Data received {"connection_id":127944,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4248d428012d196680071ff078003e01421f..."} 
[2026-07-08 20:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4248d428012d196680071ff078003e01421f..."} 
[2026-07-08 20:45:05] local.INFO: Processing buffer {"connection_id":127944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4248d428012d196680071ff078003e01421f..."} 
[2026-07-08 20:45:05] local.INFO: Packet analysis {"connection_id":127944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4248"} 
[2026-07-08 20:45:05] local.INFO: Extracted packet for processing {"connection_id":127944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4248"} 
[2026-07-08 20:45:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":31,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582015232001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783523497000,"timestamp_ms":1783523497000,"timestamp_seconds":1783523497,"priority":1,"record_length":96,"hex_timestamp":"0000019f4248d428"} 
[2026-07-08 20:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 20:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582015232001,"66":12211,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582015232001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:45:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:45:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582015232001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":127944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:45:05] local.INFO: GPS data processed {"connection_id":127944,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:45:05] local.INFO: Acknowledgment sent {"connection_id":127944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:45:36] local.INFO: TCP Data received {"connection_id":127944,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f4248d428012d196680071ff078003e01421f..."} 
[2026-07-08 20:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4248d428012d196680071ff078003e01421f..."} 
[2026-07-08 20:45:36] local.INFO: Processing buffer {"connection_id":127944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4248d428012d196680071ff078003e01421f..."} 
[2026-07-08 20:45:36] local.INFO: Packet analysis {"connection_id":127944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4248"} 
[2026-07-08 20:45:36] local.INFO: Extracted packet for processing {"connection_id":127944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4248"} 
[2026-07-08 20:45:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":31,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582015232001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783523497000,"timestamp_ms":1783523497000,"timestamp_seconds":1783523497,"priority":1,"record_length":96,"hex_timestamp":"0000019f4248d428"} 
[2026-07-08 20:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 20:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582015232001,"66":12211,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582015232001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:45:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:45:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582015232001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":127944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:45:36] local.INFO: GPS data processed {"connection_id":127944,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:45:36] local.INFO: Acknowledgment sent {"connection_id":127944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:45:59] local.INFO: TCP Data received {"connection_id":125956,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:45:59] local.INFO: Processing buffer {"connection_id":125956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:45:59] local.INFO: IMEI packet received {"connection_id":125956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":125956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:46:04] local.INFO: TCP Data received {"connection_id":125956,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:46:04] local.INFO: Processing buffer {"connection_id":125956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:46:04] local.INFO: IMEI packet received {"connection_id":125956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":125956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:46:05] local.INFO: TCP Data received {"connection_id":125956,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4248d428012d196680071ff078003e01421f..."} 
[2026-07-08 20:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4248d428012d196680071ff078003e01421f..."} 
[2026-07-08 20:46:05] local.INFO: Processing buffer {"connection_id":125956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4248d428012d196680071ff078003e01421f..."} 
[2026-07-08 20:46:05] local.INFO: Packet analysis {"connection_id":125956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4248"} 
[2026-07-08 20:46:05] local.INFO: Extracted packet for processing {"connection_id":125956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4248"} 
[2026-07-08 20:46:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":31,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582015232001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783523497000,"timestamp_ms":1783523497000,"timestamp_seconds":1783523497,"priority":1,"record_length":96,"hex_timestamp":"0000019f4248d428"} 
[2026-07-08 20:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 20:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582015232001,"66":12211,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582015232001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:46:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:46:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582015232001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":125956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:46:05] local.INFO: GPS data processed {"connection_id":125956,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:46:05] local.INFO: Acknowledgment sent {"connection_id":125956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:46:25] local.INFO: TCP Data received {"connection_id":127945,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127945,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:46:25] local.INFO: Processing buffer {"connection_id":127945,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:46:25] local.INFO: IMEI packet received {"connection_id":127945,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 20:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":127945,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:46:36] local.INFO: TCP Data received {"connection_id":125956,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4248d428012d196680071ff078003e01421f..."} 
[2026-07-08 20:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4248d428012d196680071ff078003e01421f..."} 
[2026-07-08 20:46:36] local.INFO: Processing buffer {"connection_id":125956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4248d428012d196680071ff078003e01421f..."} 
[2026-07-08 20:46:36] local.INFO: Packet analysis {"connection_id":125956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4248"} 
[2026-07-08 20:46:36] local.INFO: Extracted packet for processing {"connection_id":125956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4248"} 
[2026-07-08 20:46:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":31,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582015232001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783523497000,"timestamp_ms":1783523497000,"timestamp_seconds":1783523497,"priority":1,"record_length":96,"hex_timestamp":"0000019f4248d428"} 
[2026-07-08 20:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 20:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:46:36] 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-07-08 20:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582015232001,"66":12211,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582015232001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:46:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:46:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582015232001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":125956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:46:36] local.INFO: GPS data processed {"connection_id":125956,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:46:36] local.INFO: Acknowledgment sent {"connection_id":125956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:46:55] local.INFO: TCP Data received {"connection_id":126719,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126719,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:46:55] local.INFO: Processing buffer {"connection_id":126719,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:46:55] local.INFO: IMEI packet received {"connection_id":126719,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 20:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":126719,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:47:00] local.INFO: TCP Data received {"connection_id":127946,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:47:00] local.INFO: Processing buffer {"connection_id":127946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:47:00] local.INFO: IMEI packet received {"connection_id":127946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":127946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:47:04] local.INFO: TCP Data received {"connection_id":127946,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:47:04] local.INFO: Processing buffer {"connection_id":127946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:47:04] local.INFO: IMEI packet received {"connection_id":127946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":127946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:47:05] local.INFO: TCP Data received {"connection_id":127946,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f4248d428012d196680071ff078003e01421f..."} 
[2026-07-08 20:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4248d428012d196680071ff078003e01421f..."} 
[2026-07-08 20:47:05] local.INFO: Processing buffer {"connection_id":127946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4248d428012d196680071ff078003e01421f..."} 
[2026-07-08 20:47:05] local.INFO: Packet analysis {"connection_id":127946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4248"} 
[2026-07-08 20:47:05] local.INFO: Extracted packet for processing {"connection_id":127946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4248"} 
[2026-07-08 20:47:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533688,"longitude_deg":75.663936,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":31,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582015232001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783523497000,"timestamp_ms":1783523497000,"timestamp_seconds":1783523497,"priority":1,"record_length":96,"hex_timestamp":"0000019f4248d428"} 
[2026-07-08 20:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 20:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:47:05] 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-07-08 20:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582015232001,"66":12211,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582015232001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:47:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:47:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582015232001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":127946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:47:05] local.INFO: GPS data processed {"connection_id":127946,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:47:05] local.INFO: Acknowledgment sent {"connection_id":127946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:47:36] local.INFO: TCP Data received {"connection_id":127946,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f424d7b90012d196500071ff078003e014223..."} 
[2026-07-08 20:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f424d7b90012d196500071ff078003e014223..."} 
[2026-07-08 20:47:36] local.INFO: Processing buffer {"connection_id":127946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f424d7b90012d196500071ff078003e014223..."} 
[2026-07-08 20:47:36] local.INFO: Packet analysis {"connection_id":127946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f424d"} 
[2026-07-08 20:47:36] local.INFO: Extracted packet for processing {"connection_id":127946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f424d"} 
[2026-07-08 20:47:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582015232001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783523802000,"timestamp_ms":1783523802000,"timestamp_seconds":1783523802,"priority":1,"record_length":96,"hex_timestamp":"0000019f424d7b90"} 
[2026-07-08 20:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 20:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 20:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:47:36] 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-07-08 20:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582015232001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582015232001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:47:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:47:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582015232001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":127946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:47:36] local.INFO: GPS data processed {"connection_id":127946,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:47:36] local.INFO: Acknowledgment sent {"connection_id":127946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:47:59] local.INFO: TCP Data received {"connection_id":127948,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:47:59] local.INFO: Processing buffer {"connection_id":127948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:47:59] local.INFO: IMEI packet received {"connection_id":127948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":127948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:48:04] local.INFO: TCP Data received {"connection_id":127948,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:48:04] local.INFO: Processing buffer {"connection_id":127948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:48:04] local.INFO: IMEI packet received {"connection_id":127948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":127948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:48:05] local.INFO: TCP Data received {"connection_id":127948,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f424d7b90012d196500071ff078003e014223..."} 
[2026-07-08 20:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f424d7b90012d196500071ff078003e014223..."} 
[2026-07-08 20:48:05] local.INFO: Processing buffer {"connection_id":127948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f424d7b90012d196500071ff078003e014223..."} 
[2026-07-08 20:48:05] local.INFO: Packet analysis {"connection_id":127948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f424d"} 
[2026-07-08 20:48:05] local.INFO: Extracted packet for processing {"connection_id":127948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f424d"} 
[2026-07-08 20:48:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582015232001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783523802000,"timestamp_ms":1783523802000,"timestamp_seconds":1783523802,"priority":1,"record_length":96,"hex_timestamp":"0000019f424d7b90"} 
[2026-07-08 20:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 20:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:48:05] 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-07-08 20:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582015232001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582015232001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:48:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:48:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582015232001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":127948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:48:05] local.INFO: GPS data processed {"connection_id":127948,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:48:05] local.INFO: Acknowledgment sent {"connection_id":127948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:48:36] local.INFO: TCP Data received {"connection_id":127948,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f424d7b90012d196500071ff078003e014223..."} 
[2026-07-08 20:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f424d7b90012d196500071ff078003e014223..."} 
[2026-07-08 20:48:36] local.INFO: Processing buffer {"connection_id":127948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f424d7b90012d196500071ff078003e014223..."} 
[2026-07-08 20:48:36] local.INFO: Packet analysis {"connection_id":127948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f424d"} 
[2026-07-08 20:48:36] local.INFO: Extracted packet for processing {"connection_id":127948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f424d"} 
[2026-07-08 20:48:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582015232001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783523802000,"timestamp_ms":1783523802000,"timestamp_seconds":1783523802,"priority":1,"record_length":96,"hex_timestamp":"0000019f424d7b90"} 
[2026-07-08 20:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 20:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:48:36] 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-07-08 20:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582015232001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582015232001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:48:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:48:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582015232001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":127948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:48:36] local.INFO: GPS data processed {"connection_id":127948,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:48:36] local.INFO: Acknowledgment sent {"connection_id":127948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:49:04] local.INFO: TCP Data received {"connection_id":127949,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:49:04] local.INFO: Processing buffer {"connection_id":127949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:49:04] local.INFO: IMEI packet received {"connection_id":127949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":127949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:49:09] local.INFO: TCP Data received {"connection_id":127949,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:49:09] local.INFO: Processing buffer {"connection_id":127949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:49:09] local.INFO: IMEI packet received {"connection_id":127949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":127949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:49:10] local.INFO: TCP Data received {"connection_id":127949,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f424d7b90012d196500071ff078003e014223..."} 
[2026-07-08 20:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f424d7b90012d196500071ff078003e014223..."} 
[2026-07-08 20:49:10] local.INFO: Processing buffer {"connection_id":127949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f424d7b90012d196500071ff078003e014223..."} 
[2026-07-08 20:49:10] local.INFO: Packet analysis {"connection_id":127949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f424d"} 
[2026-07-08 20:49:10] local.INFO: Extracted packet for processing {"connection_id":127949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f424d"} 
[2026-07-08 20:49:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582015232001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:49: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-07-08 20:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783523802000,"timestamp_ms":1783523802000,"timestamp_seconds":1783523802,"priority":1,"record_length":96,"hex_timestamp":"0000019f424d7b90"} 
[2026-07-08 20:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 20:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 20:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":127949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":127949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":127949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582015232001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 20:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582015232001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:49:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:49:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582015232001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":127949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:49:10] local.INFO: GPS data processed {"connection_id":127949,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:49:10] local.INFO: Acknowledgment sent {"connection_id":127949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:49:15] local.INFO: TCP Data received {"connection_id":127949,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f424d7b90012d196500071ff078003e014223..."} 
[2026-07-08 20:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f424d7b90012d196500071ff078003e014223..."} 
[2026-07-08 20:49:15] local.INFO: Processing buffer {"connection_id":127949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f424d7b90012d196500071ff078003e014223..."} 
[2026-07-08 20:49:15] local.INFO: Packet analysis {"connection_id":127949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f424d"} 
[2026-07-08 20:49:15] local.INFO: Extracted packet for processing {"connection_id":127949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f424d"} 
[2026-07-08 20:49:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582015232001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:49: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-07-08 20:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783523802000,"timestamp_ms":1783523802000,"timestamp_seconds":1783523802,"priority":1,"record_length":96,"hex_timestamp":"0000019f424d7b90"} 
[2026-07-08 20:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 20:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 20:49:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:49:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":127949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":127949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":127949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582015232001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 20:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582015232001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:49:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:49:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582015232001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":127949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:49:15] local.INFO: GPS data processed {"connection_id":127949,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:49:15] local.INFO: Acknowledgment sent {"connection_id":127949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:49:59] local.INFO: TCP Data received {"connection_id":125829,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:49:59] local.INFO: Processing buffer {"connection_id":125829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:49:59] local.INFO: IMEI packet received {"connection_id":125829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":125829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:50:04] local.INFO: TCP Data received {"connection_id":125829,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:50:04] local.INFO: Processing buffer {"connection_id":125829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:50:04] local.INFO: IMEI packet received {"connection_id":125829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":125829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:50:05] local.INFO: TCP Data received {"connection_id":125829,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f424d7b90012d196500071ff078003e014223..."} 
[2026-07-08 20:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f424d7b90012d196500071ff078003e014223..."} 
[2026-07-08 20:50:05] local.INFO: Processing buffer {"connection_id":125829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f424d7b90012d196500071ff078003e014223..."} 
[2026-07-08 20:50:05] local.INFO: Packet analysis {"connection_id":125829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f424d"} 
[2026-07-08 20:50:05] local.INFO: Extracted packet for processing {"connection_id":125829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f424d"} 
[2026-07-08 20:50:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582015232001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783523802000,"timestamp_ms":1783523802000,"timestamp_seconds":1783523802,"priority":1,"record_length":96,"hex_timestamp":"0000019f424d7b90"} 
[2026-07-08 20:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 20:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582015232001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 20:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582015232001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:50:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:50:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582015232001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":125829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:50:05] local.INFO: GPS data processed {"connection_id":125829,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:50:05] local.INFO: Acknowledgment sent {"connection_id":125829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:50:36] local.INFO: TCP Data received {"connection_id":125829,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f424d7b90012d196500071ff078003e014223..."} 
[2026-07-08 20:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f424d7b90012d196500071ff078003e014223..."} 
[2026-07-08 20:50:36] local.INFO: Processing buffer {"connection_id":125829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f424d7b90012d196500071ff078003e014223..."} 
[2026-07-08 20:50:36] local.INFO: Packet analysis {"connection_id":125829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f424d"} 
[2026-07-08 20:50:36] local.INFO: Extracted packet for processing {"connection_id":125829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f424d"} 
[2026-07-08 20:50:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582015232001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783523802000,"timestamp_ms":1783523802000,"timestamp_seconds":1783523802,"priority":1,"record_length":96,"hex_timestamp":"0000019f424d7b90"} 
[2026-07-08 20:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 20:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 20:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582015232001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 20:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582015232001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:50:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:50:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582015232001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":125829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:50:36] local.INFO: GPS data processed {"connection_id":125829,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:50:36] local.INFO: Acknowledgment sent {"connection_id":125829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:50:55] local.INFO: TCP Data received {"connection_id":126720,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:50:55] local.INFO: Processing buffer {"connection_id":126720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:50:55] local.INFO: IMEI packet received {"connection_id":126720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":126720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:50:59] local.INFO: TCP Data received {"connection_id":125831,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:50:59] local.INFO: Processing buffer {"connection_id":125831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:50:59] local.INFO: IMEI packet received {"connection_id":125831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":125831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:51:00] local.INFO: TCP Data received {"connection_id":126720,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:51:00] local.INFO: Processing buffer {"connection_id":126720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:51:00] local.INFO: IMEI packet received {"connection_id":126720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":126720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:51:01] local.INFO: TCP Data received {"connection_id":126720,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f424f5ff0012d77abc005f2a8b8000e004d2b..."} 
[2026-07-08 20:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f424f5ff0012d77abc005f2a8b8000e004d2b..."} 
[2026-07-08 20:51:01] local.INFO: Processing buffer {"connection_id":126720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f424f5ff0012d77abc005f2a8b8000e004d2b..."} 
[2026-07-08 20:51:01] local.INFO: Packet analysis {"connection_id":126720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f424f"} 
[2026-07-08 20:51:01] local.INFO: Extracted packet for processing {"connection_id":126720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f424f"} 
[2026-07-08 20:51:01] local.INFO: GPS Element Parsed {"raw_longitude":762817472,"raw_latitude":99788984,"longitude_deg":76.2817472,"latitude_deg":9.9788984,"altitude":14,"angle":77,"satellites":43,"speed":0,"hex_longitude":"2d77abc0","hex_latitude":"05f2a8b8","is_valid_coordinates":true} 
[2026-07-08 20:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456581994240001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262694058491904,"note":"Value kept but may cause issues"} 
[2026-07-08 20:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623408149541955584,"note":"Value kept but may cause issues"} 
[2026-07-08 20:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783523926000,"timestamp_ms":1783523926000,"timestamp_seconds":1783523926,"priority":1,"record_length":96,"hex_timestamp":"0000019f424f5ff0"} 
[2026-07-08 20:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:51:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 20: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 20:51:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20: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-07-08 20:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456581994240001,"66":25201,"133":206,"9":24832,"24":0,"16":343262694058491904,"45":8623408149541955584},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 20:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456581994240001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:51:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 20:51:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 20:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262694058491904,"km_value":343262694058491.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623408149541955584,"description":"Unknown IO ID 45"} 
[2026-07-08 20:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456581994240001,"power":25201,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623408149541955584}} 
[2026-07-08 20:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":126720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:51:01] local.INFO: GPS data processed {"connection_id":126720,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:51:01] local.INFO: Acknowledgment sent {"connection_id":126720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:51:04] local.INFO: TCP Data received {"connection_id":125831,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:51:04] local.INFO: Processing buffer {"connection_id":125831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:51:04] local.INFO: IMEI packet received {"connection_id":125831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":125831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:51:05] local.INFO: TCP Data received {"connection_id":125831,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f424d7b90012d196500071ff078003e014223..."} 
[2026-07-08 20:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f424d7b90012d196500071ff078003e014223..."} 
[2026-07-08 20:51:05] local.INFO: Processing buffer {"connection_id":125831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f424d7b90012d196500071ff078003e014223..."} 
[2026-07-08 20:51:05] local.INFO: Packet analysis {"connection_id":125831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f424d"} 
[2026-07-08 20:51:05] local.INFO: Extracted packet for processing {"connection_id":125831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f424d"} 
[2026-07-08 20:51:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582015232001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783523802000,"timestamp_ms":1783523802000,"timestamp_seconds":1783523802,"priority":1,"record_length":96,"hex_timestamp":"0000019f424d7b90"} 
[2026-07-08 20:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 20:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 20:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:51:05] 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-07-08 20:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582015232001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582015232001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:51:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:51:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582015232001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":125831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:51:05] local.INFO: GPS data processed {"connection_id":125831,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:51:05] local.INFO: Acknowledgment sent {"connection_id":125831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:51:33] local.INFO: TCP Data received {"connection_id":126720,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f424f67c0012d77ab8005f2a900000e00f72c..."} 
[2026-07-08 20:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f424f67c0012d77ab8005f2a900000e00f72c..."} 
[2026-07-08 20:51:33] local.INFO: Processing buffer {"connection_id":126720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f424f67c0012d77ab8005f2a900000e00f72c..."} 
[2026-07-08 20:51:33] local.INFO: Packet analysis {"connection_id":126720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f424f"} 
[2026-07-08 20:51:33] local.INFO: Extracted packet for processing {"connection_id":126720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f424f"} 
[2026-07-08 20:51:33] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99789056,"longitude_deg":76.2817408,"latitude_deg":9.9789056,"altitude":14,"angle":247,"satellites":44,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a900","is_valid_coordinates":true} 
[2026-07-08 20:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582125056001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262694058491904,"note":"Value kept but may cause issues"} 
[2026-07-08 20:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623197043309459456,"note":"Value kept but may cause issues"} 
[2026-07-08 20:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783523928000,"timestamp_ms":1783523928000,"timestamp_seconds":1783523928,"priority":1,"record_length":96,"hex_timestamp":"0000019f424f67c0"} 
[2026-07-08 20:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-08 20:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:51:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582125056001,"66":22255,"133":206,"9":24832,"24":0,"16":343262694058491904,"45":8623197043309459456},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 20:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582125056001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:51:33] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 20:51:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 20:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262694058491904,"km_value":343262694058491.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623197043309459456,"description":"Unknown IO ID 45"} 
[2026-07-08 20:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582125056001,"power":22255,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623197043309459456}} 
[2026-07-08 20:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":126720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:51:33] local.INFO: GPS data processed {"connection_id":126720,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:51:33] local.INFO: Acknowledgment sent {"connection_id":126720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:51:36] local.INFO: TCP Data received {"connection_id":125831,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f424d7b90012d196500071ff078003e014223..."} 
[2026-07-08 20:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f424d7b90012d196500071ff078003e014223..."} 
[2026-07-08 20:51:36] local.INFO: Processing buffer {"connection_id":125831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f424d7b90012d196500071ff078003e014223..."} 
[2026-07-08 20:51:36] local.INFO: Packet analysis {"connection_id":125831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f424d"} 
[2026-07-08 20:51:36] local.INFO: Extracted packet for processing {"connection_id":125831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f424d"} 
[2026-07-08 20:51:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582015232001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783523802000,"timestamp_ms":1783523802000,"timestamp_seconds":1783523802,"priority":1,"record_length":96,"hex_timestamp":"0000019f424d7b90"} 
[2026-07-08 20:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 20:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20: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-07-08 20:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:51:36] 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-07-08 20:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582015232001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582015232001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:51:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:51:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582015232001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":125831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:51:36] local.INFO: GPS data processed {"connection_id":125831,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:51:36] local.INFO: Acknowledgment sent {"connection_id":125831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:52:00] local.INFO: TCP Data received {"connection_id":127951,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:52:00] local.INFO: Processing buffer {"connection_id":127951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:52:00] local.INFO: IMEI packet received {"connection_id":127951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":127951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:52:00] local.INFO: TCP Data received {"connection_id":126721,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:52:00] local.INFO: Processing buffer {"connection_id":126721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:52:00] local.INFO: IMEI packet received {"connection_id":126721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":126721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:52:04] local.INFO: TCP Data received {"connection_id":127951,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:52:04] local.INFO: Processing buffer {"connection_id":127951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:52:04] local.INFO: IMEI packet received {"connection_id":127951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":127951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:52:05] local.INFO: TCP Data received {"connection_id":127951,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f424d7b90012d196500071ff078003e014223..."} 
[2026-07-08 20:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f424d7b90012d196500071ff078003e014223..."} 
[2026-07-08 20:52:05] local.INFO: Processing buffer {"connection_id":127951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f424d7b90012d196500071ff078003e014223..."} 
[2026-07-08 20:52:05] local.INFO: Packet analysis {"connection_id":127951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f424d"} 
[2026-07-08 20:52:05] local.INFO: Extracted packet for processing {"connection_id":127951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f424d"} 
[2026-07-08 20:52:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582015232001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661664768,"note":"Value kept but may cause issues"} 
[2026-07-08 20:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:52:05] local.INFO: TCP Data received {"connection_id":126721,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783523802000,"timestamp_ms":1783523802000,"timestamp_seconds":1783523802,"priority":1,"record_length":96,"hex_timestamp":"0000019f424d7b90"} 
[2026-07-08 20:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 20: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 20:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20: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-07-08 20:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:52:05] 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-07-08 20:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582015232001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1830291066661664768},"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-07-08 20:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:52:05] local.INFO: Processing buffer {"connection_id":126721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:52:05] local.INFO: IMEI packet received {"connection_id":126721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":126721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582015232001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:52:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:52:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661664768,"description":"Unknown IO ID 45"} 
[2026-07-08 20:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582015232001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661664768}} 
[2026-07-08 20:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":127951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:52:05] local.INFO: GPS data processed {"connection_id":127951,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:52:05] local.INFO: Acknowledgment sent {"connection_id":127951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:52:06] local.INFO: TCP Data received {"connection_id":126721,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f424fb9c8012d77ab8005f2a900000e00f72a..."} 
[2026-07-08 20:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f424fb9c8012d77ab8005f2a900000e00f72a..."} 
[2026-07-08 20:52:06] local.INFO: Processing buffer {"connection_id":126721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f424fb9c8012d77ab8005f2a900000e00f72a..."} 
[2026-07-08 20:52:06] local.INFO: Packet analysis {"connection_id":126721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f424f"} 
[2026-07-08 20:52:06] local.INFO: Extracted packet for processing {"connection_id":126721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f424f"} 
[2026-07-08 20:52:06] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99789056,"longitude_deg":76.2817408,"latitude_deg":9.9789056,"altitude":14,"angle":247,"satellites":42,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a900","is_valid_coordinates":true} 
[2026-07-08 20:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582125568001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262694058491904,"note":"Value kept but may cause issues"} 
[2026-07-08 20:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565300224,"note":"Value kept but may cause issues"} 
[2026-07-08 20:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783523949000,"timestamp_ms":1783523949000,"timestamp_seconds":1783523949,"priority":1,"record_length":96,"hex_timestamp":"0000019f424fb9c8"} 
[2026-07-08 20:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":86,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-08 20:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582125568001,"66":27343,"133":206,"9":24832,"24":0,"16":343262694058491904,"45":8623126674565300224},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 20:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582125568001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:52:06] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 20:52:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 20:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262694058491904,"km_value":343262694058491.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565300224,"description":"Unknown IO ID 45"} 
[2026-07-08 20:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582125568001,"power":27343,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565300224}} 
[2026-07-08 20:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":126721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:52:06] local.INFO: GPS data processed {"connection_id":126721,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:52:06] local.INFO: Acknowledgment sent {"connection_id":126721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:52:10] local.INFO: TCP Data received {"connection_id":126721,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f42500bd0012d77ab8005f2a900000e00f729..."} 
[2026-07-08 20:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42500bd0012d77ab8005f2a900000e00f729..."} 
[2026-07-08 20:52:10] local.INFO: Processing buffer {"connection_id":126721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42500bd0012d77ab8005f2a900000e00f729..."} 
[2026-07-08 20:52:10] local.INFO: Packet analysis {"connection_id":126721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4250"} 
[2026-07-08 20:52:10] local.INFO: Extracted packet for processing {"connection_id":126721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4250"} 
[2026-07-08 20:52:10] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99789056,"longitude_deg":76.2817408,"latitude_deg":9.9789056,"altitude":14,"angle":247,"satellites":41,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a900","is_valid_coordinates":true} 
[2026-07-08 20:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582130944001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262694058491904,"note":"Value kept but may cause issues"} 
[2026-07-08 20:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565300224,"note":"Value kept but may cause issues"} 
[2026-07-08 20:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783523970000,"timestamp_ms":1783523970000,"timestamp_seconds":1783523970,"priority":1,"record_length":96,"hex_timestamp":"0000019f42500bd0"} 
[2026-07-08 20:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 20:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582130944001,"66":27267,"133":206,"9":24832,"24":0,"16":343262694058491904,"45":8623126674565300224},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 20:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582130944001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:52:10] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 20:52:10] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 20:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262694058491904,"km_value":343262694058491.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565300224,"description":"Unknown IO ID 45"} 
[2026-07-08 20:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582130944001,"power":27267,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565300224}} 
[2026-07-08 20:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":126721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:52:10] local.INFO: GPS data processed {"connection_id":126721,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:52:10] local.INFO: Acknowledgment sent {"connection_id":126721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:52:16] local.INFO: TCP Data received {"connection_id":125957,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125957,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:52:16] local.INFO: Processing buffer {"connection_id":125957,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:52:16] local.INFO: IMEI packet received {"connection_id":125957,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 20:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":125957,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:52:36] local.INFO: TCP Data received {"connection_id":127951,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42521358012d196500071ff078003e014226..."} 
[2026-07-08 20:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42521358012d196500071ff078003e014226..."} 
[2026-07-08 20:52:36] local.INFO: Processing buffer {"connection_id":127951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42521358012d196500071ff078003e014226..."} 
[2026-07-08 20:52:36] local.INFO: Packet analysis {"connection_id":127951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4252"} 
[2026-07-08 20:52:36] local.INFO: Extracted packet for processing {"connection_id":127951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4252"} 
[2026-07-08 20:52:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20: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-07-08 20:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582093312001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 20:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783524103000,"timestamp_ms":1783524103000,"timestamp_seconds":1783524103,"priority":1,"record_length":96,"hex_timestamp":"0000019f42521358"} 
[2026-07-08 20:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20: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-07-08 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 20:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20: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-07-08 20:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:52:36] 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-07-08 20:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582093312001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 20:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582093312001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:52:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:52:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 20:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582093312001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 20:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":127951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:52:36] local.INFO: GPS data processed {"connection_id":127951,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:52:36] local.INFO: Acknowledgment sent {"connection_id":127951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:52:55] local.INFO: TCP Data received {"connection_id":126722,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:52:55] local.INFO: Processing buffer {"connection_id":126722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:52:55] local.INFO: IMEI packet received {"connection_id":126722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":126722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:52:56] local.INFO: TCP Data received {"connection_id":125958,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125958,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:52:56] local.INFO: Processing buffer {"connection_id":125958,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:52:56] local.INFO: IMEI packet received {"connection_id":125958,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 20:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":125958,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:52:59] local.INFO: TCP Data received {"connection_id":125959,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:52:59] local.INFO: Processing buffer {"connection_id":125959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:52:59] local.INFO: IMEI packet received {"connection_id":125959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":125959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:53:00] local.INFO: TCP Data received {"connection_id":126722,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:53:00] local.INFO: Processing buffer {"connection_id":126722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:53:00] local.INFO: IMEI packet received {"connection_id":126722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":126722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:53:01] local.INFO: TCP Data received {"connection_id":126722,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f425013a0012d77abc005f2a778001a00532a..."} 
[2026-07-08 20:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425013a0012d77abc005f2a778001a00532a..."} 
[2026-07-08 20:53:01] local.INFO: Processing buffer {"connection_id":126722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425013a0012d77abc005f2a778001a00532a..."} 
[2026-07-08 20:53:01] local.INFO: Packet analysis {"connection_id":126722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4250"} 
[2026-07-08 20:53:01] local.INFO: Extracted packet for processing {"connection_id":126722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4250"} 
[2026-07-08 20:53:01] local.INFO: GPS Element Parsed {"raw_longitude":762817472,"raw_latitude":99788664,"longitude_deg":76.2817472,"latitude_deg":9.9788664,"altitude":26,"angle":83,"satellites":42,"speed":3,"hex_longitude":"2d77abc0","hex_latitude":"05f2a778","is_valid_coordinates":true} 
[2026-07-08 20:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582136320001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262711238361088,"note":"Value kept but may cause issues"} 
[2026-07-08 20:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565300224,"note":"Value kept but may cause issues"} 
[2026-07-08 20:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783523972000,"timestamp_ms":1783523972000,"timestamp_seconds":1783523972,"priority":1,"record_length":96,"hex_timestamp":"0000019f425013a0"} 
[2026-07-08 20:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 20:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582136320001,"66":27137,"133":206,"9":24832,"24":3,"16":343262711238361088,"45":8623126674565300224},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 20:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582136320001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:53:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 20:53:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 20:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262711238361088,"km_value":343262711238361.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565300224,"description":"Unknown IO ID 45"} 
[2026-07-08 20:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582136320001,"power":27137,"unknown_133":206,"unknown_9":24832,"ignition":3,"odometer":null,"unknown_45":8623126674565300224}} 
[2026-07-08 20:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":126722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:53:01] local.INFO: GPS data processed {"connection_id":126722,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:53:01] local.INFO: Acknowledgment sent {"connection_id":126722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:53:04] local.INFO: TCP Data received {"connection_id":125959,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:53:04] local.INFO: Processing buffer {"connection_id":125959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:53:04] local.INFO: IMEI packet received {"connection_id":125959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":125959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:53:05] local.INFO: TCP Data received {"connection_id":125959,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f42521358012d196500071ff078003e014226..."} 
[2026-07-08 20:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42521358012d196500071ff078003e014226..."} 
[2026-07-08 20:53:05] local.INFO: Processing buffer {"connection_id":125959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42521358012d196500071ff078003e014226..."} 
[2026-07-08 20:53:05] local.INFO: Packet analysis {"connection_id":125959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4252"} 
[2026-07-08 20:53:05] local.INFO: Extracted packet for processing {"connection_id":125959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4252"} 
[2026-07-08 20:53:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20: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-07-08 20:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582093312001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 20:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783524103000,"timestamp_ms":1783524103000,"timestamp_seconds":1783524103,"priority":1,"record_length":96,"hex_timestamp":"0000019f42521358"} 
[2026-07-08 20:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20: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-07-08 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 20:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20: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-07-08 20:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582093312001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 20:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582093312001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:53:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:53:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 20:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582093312001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 20:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":125959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:53:05] local.INFO: GPS data processed {"connection_id":125959,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:53:05] local.INFO: Acknowledgment sent {"connection_id":125959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:53:33] local.INFO: TCP Data received {"connection_id":126722,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f42504668012d77ac4005f2a7e0001a01132c..."} 
[2026-07-08 20:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42504668012d77ac4005f2a7e0001a01132c..."} 
[2026-07-08 20:53:33] local.INFO: Processing buffer {"connection_id":126722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42504668012d77ac4005f2a7e0001a01132c..."} 
[2026-07-08 20:53:33] local.INFO: Packet analysis {"connection_id":126722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4250"} 
[2026-07-08 20:53:33] local.INFO: Extracted packet for processing {"connection_id":126722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4250"} 
[2026-07-08 20:53:33] local.INFO: GPS Element Parsed {"raw_longitude":762817600,"raw_latitude":99788768,"longitude_deg":76.28176,"latitude_deg":9.9788768,"altitude":26,"angle":275,"satellites":44,"speed":1,"hex_longitude":"2d77ac40","hex_latitude":"05f2a7e0","is_valid_coordinates":true} 
[2026-07-08 20:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582136832001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262737008164864,"note":"Value kept but may cause issues"} 
[2026-07-08 20:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623197043309377536,"note":"Value kept but may cause issues"} 
[2026-07-08 20:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783523985000,"timestamp_ms":1783523985000,"timestamp_seconds":1783523985,"priority":1,"record_length":96,"hex_timestamp":"0000019f42504668"} 
[2026-07-08 20:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-07-08 20:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:53:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582136832001,"66":27365,"133":206,"9":24832,"24":1,"16":343262737008164864,"45":8623197043309377536},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 20:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582136832001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:53:33] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 20:53:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 20:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262737008164864,"km_value":343262737008164.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623197043309377536,"description":"Unknown IO ID 45"} 
[2026-07-08 20:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582136832001,"power":27365,"unknown_133":206,"unknown_9":24832,"ignition":1,"odometer":null,"unknown_45":8623197043309377536}} 
[2026-07-08 20:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":126722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:53:33] local.INFO: GPS data processed {"connection_id":126722,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:53:33] local.INFO: Acknowledgment sent {"connection_id":126722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:53:36] local.INFO: TCP Data received {"connection_id":125959,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f42521358012d196500071ff078003e014226..."} 
[2026-07-08 20:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42521358012d196500071ff078003e014226..."} 
[2026-07-08 20:53:36] local.INFO: Processing buffer {"connection_id":125959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42521358012d196500071ff078003e014226..."} 
[2026-07-08 20:53:36] local.INFO: Packet analysis {"connection_id":125959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4252"} 
[2026-07-08 20:53:36] local.INFO: Extracted packet for processing {"connection_id":125959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4252"} 
[2026-07-08 20:53:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582093312001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 20:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783524103000,"timestamp_ms":1783524103000,"timestamp_seconds":1783524103,"priority":1,"record_length":96,"hex_timestamp":"0000019f42521358"} 
[2026-07-08 20:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20: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-07-08 20:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 20:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582093312001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 20:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582093312001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:53:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:53:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 20:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582093312001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 20:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":125959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:53:36] local.INFO: GPS data processed {"connection_id":125959,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:53:36] local.INFO: Acknowledgment sent {"connection_id":125959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:53:55] local.INFO: TCP Data received {"connection_id":127953,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:53:55] local.INFO: Processing buffer {"connection_id":127953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:53:55] local.INFO: IMEI packet received {"connection_id":127953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":127953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:54:00] local.INFO: TCP Data received {"connection_id":127953,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:54:00] local.INFO: Processing buffer {"connection_id":127953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:54:00] local.INFO: IMEI packet received {"connection_id":127953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":127953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:54:01] local.INFO: TCP Data received {"connection_id":127953,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f42505dd8012d77aa8005f2a778001a01062c..."} 
[2026-07-08 20:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42505dd8012d77aa8005f2a778001a01062c..."} 
[2026-07-08 20:54:01] local.INFO: Processing buffer {"connection_id":127953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42505dd8012d77aa8005f2a778001a01062c..."} 
[2026-07-08 20:54:01] local.INFO: Packet analysis {"connection_id":127953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4250"} 
[2026-07-08 20:54:01] local.INFO: Extracted packet for processing {"connection_id":127953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4250"} 
[2026-07-08 20:54:01] local.INFO: GPS Element Parsed {"raw_longitude":762817152,"raw_latitude":99788664,"longitude_deg":76.2817152,"latitude_deg":9.9788664,"altitude":26,"angle":262,"satellites":44,"speed":2,"hex_longitude":"2d77aa80","hex_latitude":"05f2a778","is_valid_coordinates":true} 
[2026-07-08 20:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582140160001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262758483001344,"note":"Value kept but may cause issues"} 
[2026-07-08 20:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623337780797759488,"note":"Value kept but may cause issues"} 
[2026-07-08 20:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783523991000,"timestamp_ms":1783523991000,"timestamp_seconds":1783523991,"priority":1,"record_length":96,"hex_timestamp":"0000019f42505dd8"} 
[2026-07-08 20:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 20:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582140160001,"66":27300,"133":206,"9":24832,"24":2,"16":343262758483001344,"45":8623337780797759488},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 20:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582140160001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:54:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 20:54:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 20:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262758483001344,"km_value":343262758483001.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623337780797759488,"description":"Unknown IO ID 45"} 
[2026-07-08 20:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582140160001,"power":27300,"unknown_133":206,"unknown_9":24832,"ignition":2,"odometer":null,"unknown_45":8623337780797759488}} 
[2026-07-08 20:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":127953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:54:01] local.INFO: GPS data processed {"connection_id":127953,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:54:01] local.INFO: Acknowledgment sent {"connection_id":127953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:54:04] local.INFO: TCP Data received {"connection_id":125833,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:54:04] local.INFO: Processing buffer {"connection_id":125833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:54:04] local.INFO: IMEI packet received {"connection_id":125833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":125833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:54:09] local.INFO: TCP Data received {"connection_id":125833,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:54:09] local.INFO: Processing buffer {"connection_id":125833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:54:09] local.INFO: IMEI packet received {"connection_id":125833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":125833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:54:10] local.INFO: TCP Data received {"connection_id":125833,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f42521358012d196500071ff078003e014226..."} 
[2026-07-08 20:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42521358012d196500071ff078003e014226..."} 
[2026-07-08 20:54:10] local.INFO: Processing buffer {"connection_id":125833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42521358012d196500071ff078003e014226..."} 
[2026-07-08 20:54:10] local.INFO: Packet analysis {"connection_id":125833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4252"} 
[2026-07-08 20:54:10] local.INFO: Extracted packet for processing {"connection_id":125833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4252"} 
[2026-07-08 20:54:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582093312001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 20:54: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-07-08 20:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783524103000,"timestamp_ms":1783524103000,"timestamp_seconds":1783524103,"priority":1,"record_length":96,"hex_timestamp":"0000019f42521358"} 
[2026-07-08 20:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:54: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-07-08 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 20:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582093312001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 20:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582093312001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:54:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:54:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 20:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582093312001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 20:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":125833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:54:10] local.INFO: GPS data processed {"connection_id":125833,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:54:10] local.INFO: Acknowledgment sent {"connection_id":125833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:54:15] local.INFO: TCP Data received {"connection_id":125833,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f42521358012d196500071ff078003e014226..."} 
[2026-07-08 20:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42521358012d196500071ff078003e014226..."} 
[2026-07-08 20:54:15] local.INFO: Processing buffer {"connection_id":125833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42521358012d196500071ff078003e014226..."} 
[2026-07-08 20:54:15] local.INFO: Packet analysis {"connection_id":125833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4252"} 
[2026-07-08 20:54:15] local.INFO: Extracted packet for processing {"connection_id":125833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4252"} 
[2026-07-08 20:54:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20: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-07-08 20:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582093312001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 20:54: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-07-08 20:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783524103000,"timestamp_ms":1783524103000,"timestamp_seconds":1783524103,"priority":1,"record_length":96,"hex_timestamp":"0000019f42521358"} 
[2026-07-08 20:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:54:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 20:54:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20: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-07-08 20:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":125833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":125833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":125833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582093312001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 20:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582093312001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:54:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:54:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 20:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582093312001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 20:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":125833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:54:15] local.INFO: GPS data processed {"connection_id":125833,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:54:15] local.INFO: Acknowledgment sent {"connection_id":125833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:54:32] local.INFO: TCP Data received {"connection_id":127953,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f42507d18012d77a78005f2a6b0001a01182b..."} 
[2026-07-08 20:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42507d18012d77a78005f2a6b0001a01182b..."} 
[2026-07-08 20:54:32] local.INFO: Processing buffer {"connection_id":127953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42507d18012d77a78005f2a6b0001a01182b..."} 
[2026-07-08 20:54:32] local.INFO: Packet analysis {"connection_id":127953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4250"} 
[2026-07-08 20:54:32] local.INFO: Extracted packet for processing {"connection_id":127953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4250"} 
[2026-07-08 20:54:32] local.INFO: GPS Element Parsed {"raw_longitude":762816384,"raw_latitude":99788464,"longitude_deg":76.2816384,"latitude_deg":9.9788464,"altitude":26,"angle":280,"satellites":43,"speed":3,"hex_longitude":"2d77a780","hex_latitude":"05f2a6b0","is_valid_coordinates":true} 
[2026-07-08 20:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582141696001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262797137707008,"note":"Value kept but may cause issues"} 
[2026-07-08 20:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622845199588489216,"note":"Value kept but may cause issues"} 
[2026-07-08 20:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783523999000,"timestamp_ms":1783523999000,"timestamp_seconds":1783523999,"priority":1,"record_length":96,"hex_timestamp":"0000019f42507d18"} 
[2026-07-08 20:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-08 20:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582141696001,"66":27115,"133":206,"9":24832,"24":3,"16":343262797137707008,"45":8622845199588489216},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 20:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582141696001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:54:32] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 20:54:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 20:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262797137707008,"km_value":343262797137707.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622845199588489216,"description":"Unknown IO ID 45"} 
[2026-07-08 20:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582141696001,"power":27115,"unknown_133":206,"unknown_9":24832,"ignition":3,"odometer":null,"unknown_45":8622845199588489216}} 
[2026-07-08 20:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":127953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:54:32] local.INFO: GPS data processed {"connection_id":127953,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:54:32] local.INFO: Acknowledgment sent {"connection_id":127953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:54:55] local.INFO: TCP Data received {"connection_id":126723,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:54:55] local.INFO: Processing buffer {"connection_id":126723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:54:55] local.INFO: IMEI packet received {"connection_id":126723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":126723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:54:59] local.INFO: TCP Data received {"connection_id":125960,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:54:59] local.INFO: Processing buffer {"connection_id":125960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:54:59] local.INFO: IMEI packet received {"connection_id":125960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":125960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:55:00] local.INFO: TCP Data received {"connection_id":126723,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:55:00] local.INFO: Processing buffer {"connection_id":126723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:55:00] local.INFO: IMEI packet received {"connection_id":126723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":126723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:55:00] local.INFO: TCP Data received {"connection_id":126723,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f42507d18012d77a78005f2a6b0001a01182b..."} 
[2026-07-08 20:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42507d18012d77a78005f2a6b0001a01182b..."} 
[2026-07-08 20:55:00] local.INFO: Processing buffer {"connection_id":126723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42507d18012d77a78005f2a6b0001a01182b..."} 
[2026-07-08 20:55:00] local.INFO: Packet analysis {"connection_id":126723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4250"} 
[2026-07-08 20:55:00] local.INFO: Extracted packet for processing {"connection_id":126723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4250"} 
[2026-07-08 20:55:00] local.INFO: GPS Element Parsed {"raw_longitude":762816384,"raw_latitude":99788464,"longitude_deg":76.2816384,"latitude_deg":9.9788464,"altitude":26,"angle":280,"satellites":43,"speed":3,"hex_longitude":"2d77a780","hex_latitude":"05f2a6b0","is_valid_coordinates":true} 
[2026-07-08 20:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582143744001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262797137707008,"note":"Value kept but may cause issues"} 
[2026-07-08 20:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622000774658306048,"note":"Value kept but may cause issues"} 
[2026-07-08 20:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783523999000,"timestamp_ms":1783523999000,"timestamp_seconds":1783523999,"priority":1,"record_length":96,"hex_timestamp":"0000019f42507d18"} 
[2026-07-08 20:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-07-08 20:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:55:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582143744001,"66":27213,"133":206,"9":24832,"24":3,"16":343262797137707008,"45":8622000774658306048},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 20:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582143744001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:55:00] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 20:55:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 20:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262797137707008,"km_value":343262797137707.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622000774658306048,"description":"Unknown IO ID 45"} 
[2026-07-08 20:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582143744001,"power":27213,"unknown_133":206,"unknown_9":24832,"ignition":3,"odometer":null,"unknown_45":8622000774658306048}} 
[2026-07-08 20:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":126723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:55:00] local.INFO: GPS data processed {"connection_id":126723,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:55:00] local.INFO: Acknowledgment sent {"connection_id":126723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:55:04] local.INFO: TCP Data received {"connection_id":125960,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:55:04] local.INFO: Processing buffer {"connection_id":125960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:55:04] local.INFO: IMEI packet received {"connection_id":125960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":125960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:55:05] local.INFO: TCP Data received {"connection_id":125960,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f42521358012d196500071ff078003e014226..."} 
[2026-07-08 20:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42521358012d196500071ff078003e014226..."} 
[2026-07-08 20:55:05] local.INFO: Processing buffer {"connection_id":125960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42521358012d196500071ff078003e014226..."} 
[2026-07-08 20:55:05] local.INFO: Packet analysis {"connection_id":125960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4252"} 
[2026-07-08 20:55:05] local.INFO: Extracted packet for processing {"connection_id":125960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4252"} 
[2026-07-08 20:55:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20: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-07-08 20:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582093312001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 20:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783524103000,"timestamp_ms":1783524103000,"timestamp_seconds":1783524103,"priority":1,"record_length":96,"hex_timestamp":"0000019f42521358"} 
[2026-07-08 20:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20: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-07-08 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 20:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20: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-07-08 20:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582093312001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 20:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582093312001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:55:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:55:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 20:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582093312001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 20:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":125960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:55:05] local.INFO: GPS data processed {"connection_id":125960,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:55:05] local.INFO: Acknowledgment sent {"connection_id":125960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:55:34] local.INFO: TCP Data received {"connection_id":126723,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f42509c58012d77a40005f2a680001a010c2b..."} 
[2026-07-08 20:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42509c58012d77a40005f2a680001a010c2b..."} 
[2026-07-08 20:55:34] local.INFO: Processing buffer {"connection_id":126723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42509c58012d77a40005f2a680001a010c2b..."} 
[2026-07-08 20:55:34] local.INFO: Packet analysis {"connection_id":126723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4250"} 
[2026-07-08 20:55:34] local.INFO: Extracted packet for processing {"connection_id":126723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4250"} 
[2026-07-08 20:55:34] local.INFO: GPS Element Parsed {"raw_longitude":762815488,"raw_latitude":99788416,"longitude_deg":76.2815488,"latitude_deg":9.9788416,"altitude":26,"angle":268,"satellites":43,"speed":3,"hex_longitude":"2d77a400","hex_latitude":"05f2a680","is_valid_coordinates":true} 
[2026-07-08 20:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582143744001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262844382347264,"note":"Value kept but may cause issues"} 
[2026-07-08 20:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622000774658306048,"note":"Value kept but may cause issues"} 
[2026-07-08 20:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783524007000,"timestamp_ms":1783524007000,"timestamp_seconds":1783524007,"priority":1,"record_length":96,"hex_timestamp":"0000019f42509c58"} 
[2026-07-08 20:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-08 20:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:55:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582143744001,"66":27767,"133":206,"9":24832,"24":3,"16":343262844382347264,"45":8622000774658306048},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 20:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582143744001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:55:34] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 20:55:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 20:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262844382347264,"km_value":343262844382347.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622000774658306048,"description":"Unknown IO ID 45"} 
[2026-07-08 20:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582143744001,"power":27767,"unknown_133":206,"unknown_9":24832,"ignition":3,"odometer":null,"unknown_45":8622000774658306048}} 
[2026-07-08 20:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":126723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:55:34] local.INFO: GPS data processed {"connection_id":126723,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:55:34] local.INFO: Acknowledgment sent {"connection_id":126723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:55:36] local.INFO: TCP Data received {"connection_id":125960,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f42521358012d196500071ff078003e014226..."} 
[2026-07-08 20:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42521358012d196500071ff078003e014226..."} 
[2026-07-08 20:55:36] local.INFO: Processing buffer {"connection_id":125960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42521358012d196500071ff078003e014226..."} 
[2026-07-08 20:55:36] local.INFO: Packet analysis {"connection_id":125960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4252"} 
[2026-07-08 20:55:36] local.INFO: Extracted packet for processing {"connection_id":125960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4252"} 
[2026-07-08 20:55:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20: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-07-08 20:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582093312001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 20:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783524103000,"timestamp_ms":1783524103000,"timestamp_seconds":1783524103,"priority":1,"record_length":96,"hex_timestamp":"0000019f42521358"} 
[2026-07-08 20:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20: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-07-08 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 20:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20: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-07-08 20:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582093312001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 20:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582093312001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:55:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:55:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 20:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582093312001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 20:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":125960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:55:36] local.INFO: GPS data processed {"connection_id":125960,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:55:36] local.INFO: Acknowledgment sent {"connection_id":125960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:55:55] local.INFO: TCP Data received {"connection_id":127954,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:55:55] local.INFO: Processing buffer {"connection_id":127954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:55:55] local.INFO: IMEI packet received {"connection_id":127954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":127954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:55:59] local.INFO: TCP Data received {"connection_id":126726,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:55:59] local.INFO: Processing buffer {"connection_id":126726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:55:59] local.INFO: IMEI packet received {"connection_id":126726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":126726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:56:00] local.INFO: TCP Data received {"connection_id":127954,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:56:00] local.INFO: Processing buffer {"connection_id":127954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:56:00] local.INFO: IMEI packet received {"connection_id":127954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":127954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:56:01] local.INFO: TCP Data received {"connection_id":127954,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4250dad8012d77a30005f2a640001c010b2b..."} 
[2026-07-08 20:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4250dad8012d77a30005f2a640001c010b2b..."} 
[2026-07-08 20:56:01] local.INFO: Processing buffer {"connection_id":127954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4250dad8012d77a30005f2a640001c010b2b..."} 
[2026-07-08 20:56:01] local.INFO: Packet analysis {"connection_id":127954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4250"} 
[2026-07-08 20:56:01] local.INFO: Extracted packet for processing {"connection_id":127954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4250"} 
[2026-07-08 20:56:01] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788352,"longitude_deg":76.2815232,"latitude_deg":9.9788352,"altitude":28,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a640","is_valid_coordinates":true} 
[2026-07-08 20:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582145792001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 20:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621015612239806464,"note":"Value kept but may cause issues"} 
[2026-07-08 20:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783524023000,"timestamp_ms":1783524023000,"timestamp_seconds":1783524023,"priority":1,"record_length":96,"hex_timestamp":"0000019f4250dad8"} 
[2026-07-08 20:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:56:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 20:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-08 20:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:56:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582145792001,"66":27713,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8621015612239806464},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 20:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582145792001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:56:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 20:56:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 20:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621015612239806464,"description":"Unknown IO ID 45"} 
[2026-07-08 20:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582145792001,"power":27713,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621015612239806464}} 
[2026-07-08 20:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":127954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:56:01] local.INFO: GPS data processed {"connection_id":127954,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:56:01] local.INFO: Acknowledgment sent {"connection_id":127954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:56:04] local.INFO: TCP Data received {"connection_id":126726,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:56:04] local.INFO: Processing buffer {"connection_id":126726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:56:04] local.INFO: IMEI packet received {"connection_id":126726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":126726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:56:05] local.INFO: TCP Data received {"connection_id":126726,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f42521358012d196500071ff078003e014226..."} 
[2026-07-08 20:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42521358012d196500071ff078003e014226..."} 
[2026-07-08 20:56:05] local.INFO: Processing buffer {"connection_id":126726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42521358012d196500071ff078003e014226..."} 
[2026-07-08 20:56:05] local.INFO: Packet analysis {"connection_id":126726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4252"} 
[2026-07-08 20:56:05] local.INFO: Extracted packet for processing {"connection_id":126726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4252"} 
[2026-07-08 20:56:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20: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-07-08 20:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582093312001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 20:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783524103000,"timestamp_ms":1783524103000,"timestamp_seconds":1783524103,"priority":1,"record_length":96,"hex_timestamp":"0000019f42521358"} 
[2026-07-08 20:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20: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-07-08 20:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 20:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20: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-07-08 20:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:56: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-07-08 20:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582093312001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 20:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582093312001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:56:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:56:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 20:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582093312001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 20:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":126726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:56:05] local.INFO: GPS data processed {"connection_id":126726,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:56:05] local.INFO: Acknowledgment sent {"connection_id":126726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:56:32] local.INFO: TCP Data received {"connection_id":127954,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f42558240012d77a10005f2a618001d010b2c..."} 
[2026-07-08 20:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42558240012d77a10005f2a618001d010b2c..."} 
[2026-07-08 20:56:32] local.INFO: Processing buffer {"connection_id":127954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42558240012d77a10005f2a618001d010b2c..."} 
[2026-07-08 20:56:32] local.INFO: Packet analysis {"connection_id":127954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4255"} 
[2026-07-08 20:56:32] local.INFO: Extracted packet for processing {"connection_id":127954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4255"} 
[2026-07-08 20:56:32] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":29,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 20:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582149888001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 20:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263079424,"note":"Value kept but may cause issues"} 
[2026-07-08 20:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783524328000,"timestamp_ms":1783524328000,"timestamp_seconds":1783524328,"priority":1,"record_length":96,"hex_timestamp":"0000019f42558240"} 
[2026-07-08 20:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 20:56: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":65,"data_length":795,"current_offset":136} 
[2026-07-08 20:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582149888001,"66":26115,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620734137263079424},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 20:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582149888001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:56:32] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 20:56:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 20:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263079424,"description":"Unknown IO ID 45"} 
[2026-07-08 20:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582149888001,"power":26115,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263079424}} 
[2026-07-08 20:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":127954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:56:32] local.INFO: GPS data processed {"connection_id":127954,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:56:32] local.INFO: Acknowledgment sent {"connection_id":127954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:56:36] local.INFO: TCP Data received {"connection_id":126726,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f42521358012d196500071ff078003e014226..."} 
[2026-07-08 20:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42521358012d196500071ff078003e014226..."} 
[2026-07-08 20:56:36] local.INFO: Processing buffer {"connection_id":126726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42521358012d196500071ff078003e014226..."} 
[2026-07-08 20:56:36] local.INFO: Packet analysis {"connection_id":126726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4252"} 
[2026-07-08 20:56:36] local.INFO: Extracted packet for processing {"connection_id":126726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4252"} 
[2026-07-08 20:56:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582093312001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 20:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783524103000,"timestamp_ms":1783524103000,"timestamp_seconds":1783524103,"priority":1,"record_length":96,"hex_timestamp":"0000019f42521358"} 
[2026-07-08 20:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20: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-07-08 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 20:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582093312001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 20:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582093312001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:56:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:56:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 20:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582093312001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 20:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":126726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:56:36] local.INFO: GPS data processed {"connection_id":126726,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:56:36] local.INFO: Acknowledgment sent {"connection_id":126726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:56:55] local.INFO: TCP Data received {"connection_id":127955,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:56:55] local.INFO: Processing buffer {"connection_id":127955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:56:55] local.INFO: IMEI packet received {"connection_id":127955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":127955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:57:00] local.INFO: TCP Data received {"connection_id":127956,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:57:00] local.INFO: Processing buffer {"connection_id":127956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:57:00] local.INFO: IMEI packet received {"connection_id":127956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":127956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:57:00] local.INFO: TCP Data received {"connection_id":127955,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:57:00] local.INFO: Processing buffer {"connection_id":127955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:57:00] local.INFO: IMEI packet received {"connection_id":127955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":127955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:57:01] local.INFO: TCP Data received {"connection_id":127955,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f42558240012d77a10005f2a618001d010b2c..."} 
[2026-07-08 20:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42558240012d77a10005f2a618001d010b2c..."} 
[2026-07-08 20:57:01] local.INFO: Processing buffer {"connection_id":127955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42558240012d77a10005f2a618001d010b2c..."} 
[2026-07-08 20:57:01] local.INFO: Packet analysis {"connection_id":127955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4255"} 
[2026-07-08 20:57:01] local.INFO: Extracted packet for processing {"connection_id":127955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4255"} 
[2026-07-08 20:57:01] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":29,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 20: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-07-08 20:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582149888001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 20:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263079424,"note":"Value kept but may cause issues"} 
[2026-07-08 20:57:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783524328000,"timestamp_ms":1783524328000,"timestamp_seconds":1783524328,"priority":1,"record_length":96,"hex_timestamp":"0000019f42558240"} 
[2026-07-08 20:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:57:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 20: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 20:57:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20: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-07-08 20:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582149888001,"66":26115,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620734137263079424},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 20:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582149888001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:57:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 20:57:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 20:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263079424,"description":"Unknown IO ID 45"} 
[2026-07-08 20:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582149888001,"power":26115,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263079424}} 
[2026-07-08 20:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":127955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:57:01] local.INFO: GPS data processed {"connection_id":127955,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:57:01] local.INFO: Acknowledgment sent {"connection_id":127955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:57:04] local.INFO: TCP Data received {"connection_id":127956,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:57:04] local.INFO: Processing buffer {"connection_id":127956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:57:04] local.INFO: IMEI packet received {"connection_id":127956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":127956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:57:05] local.INFO: TCP Data received {"connection_id":127956,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f42521358012d196500071ff078003e014226..."} 
[2026-07-08 20:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42521358012d196500071ff078003e014226..."} 
[2026-07-08 20:57:05] local.INFO: Processing buffer {"connection_id":127956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42521358012d196500071ff078003e014226..."} 
[2026-07-08 20:57:05] local.INFO: Packet analysis {"connection_id":127956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4252"} 
[2026-07-08 20:57:05] local.INFO: Extracted packet for processing {"connection_id":127956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4252"} 
[2026-07-08 20:57:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582093312001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 20:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783524103000,"timestamp_ms":1783524103000,"timestamp_seconds":1783524103,"priority":1,"record_length":96,"hex_timestamp":"0000019f42521358"} 
[2026-07-08 20:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20: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-07-08 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 20:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582093312001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 20:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582093312001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:57:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:57:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 20:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582093312001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 20:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":127956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:57:05] local.INFO: GPS data processed {"connection_id":127956,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:57:05] local.INFO: Acknowledgment sent {"connection_id":127956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:57:33] local.INFO: TCP Data received {"connection_id":127955,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f42558240012d77a10005f2a618001d010b2c..."} 
[2026-07-08 20:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42558240012d77a10005f2a618001d010b2c..."} 
[2026-07-08 20:57:33] local.INFO: Processing buffer {"connection_id":127955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42558240012d77a10005f2a618001d010b2c..."} 
[2026-07-08 20:57:33] local.INFO: Packet analysis {"connection_id":127955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4255"} 
[2026-07-08 20:57:33] local.INFO: Extracted packet for processing {"connection_id":127955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4255"} 
[2026-07-08 20:57:33] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":29,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 20:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582149888001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 20:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263079424,"note":"Value kept but may cause issues"} 
[2026-07-08 20:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783524328000,"timestamp_ms":1783524328000,"timestamp_seconds":1783524328,"priority":1,"record_length":96,"hex_timestamp":"0000019f42558240"} 
[2026-07-08 20:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 20: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 20:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582149888001,"66":26115,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620734137263079424},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 20:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582149888001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:57:33] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 20:57:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 20:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263079424,"description":"Unknown IO ID 45"} 
[2026-07-08 20:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582149888001,"power":26115,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263079424}} 
[2026-07-08 20:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":127955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:57:33] local.INFO: GPS data processed {"connection_id":127955,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:57:33] local.INFO: Acknowledgment sent {"connection_id":127955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:57:36] local.INFO: TCP Data received {"connection_id":127956,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f4256ab20012d196500071ff078003e014226..."} 
[2026-07-08 20:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4256ab20012d196500071ff078003e014226..."} 
[2026-07-08 20:57:36] local.INFO: Processing buffer {"connection_id":127956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4256ab20012d196500071ff078003e014226..."} 
[2026-07-08 20:57:36] local.INFO: Packet analysis {"connection_id":127956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4256"} 
[2026-07-08 20:57:36] local.INFO: Extracted packet for processing {"connection_id":127956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4256"} 
[2026-07-08 20:57:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20: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-07-08 20:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582170368001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 20:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783524404000,"timestamp_ms":1783524404000,"timestamp_seconds":1783524404,"priority":1,"record_length":96,"hex_timestamp":"0000019f4256ab20"} 
[2026-07-08 20:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20: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-07-08 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 20:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20: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-07-08 20:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582170368001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 20:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582170368001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:57:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:57:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 20:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582170368001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 20:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":127956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:57:36] local.INFO: GPS data processed {"connection_id":127956,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:57:36] local.INFO: Acknowledgment sent {"connection_id":127956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:57:55] local.INFO: TCP Data received {"connection_id":126727,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:57:55] local.INFO: Processing buffer {"connection_id":126727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:57:55] local.INFO: IMEI packet received {"connection_id":126727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":126727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:57:59] local.INFO: TCP Data received {"connection_id":127958,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:57:59] local.INFO: Processing buffer {"connection_id":127958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:57:59] local.INFO: IMEI packet received {"connection_id":127958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":127958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:58:00] local.INFO: TCP Data received {"connection_id":126727,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:58:00] local.INFO: Processing buffer {"connection_id":126727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:58:00] local.INFO: IMEI packet received {"connection_id":126727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":126727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:58:01] local.INFO: TCP Data received {"connection_id":126727,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f42558240012d77a10005f2a618001d010b2c..."} 
[2026-07-08 20:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42558240012d77a10005f2a618001d010b2c..."} 
[2026-07-08 20:58:01] local.INFO: Processing buffer {"connection_id":126727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42558240012d77a10005f2a618001d010b2c..."} 
[2026-07-08 20:58:01] local.INFO: Packet analysis {"connection_id":126727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4255"} 
[2026-07-08 20:58:01] local.INFO: Extracted packet for processing {"connection_id":126727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4255"} 
[2026-07-08 20:58:01] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":29,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 20:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582149888001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 20:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263079424,"note":"Value kept but may cause issues"} 
[2026-07-08 20:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783524328000,"timestamp_ms":1783524328000,"timestamp_seconds":1783524328,"priority":1,"record_length":96,"hex_timestamp":"0000019f42558240"} 
[2026-07-08 20:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 20: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 20:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:58:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582149888001,"66":26115,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620734137263079424},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 20:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582149888001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:58:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 20:58:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 20:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263079424,"description":"Unknown IO ID 45"} 
[2026-07-08 20:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582149888001,"power":26115,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263079424}} 
[2026-07-08 20:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":126727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:58:01] local.INFO: GPS data processed {"connection_id":126727,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:58:01] local.INFO: Acknowledgment sent {"connection_id":126727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:58:04] local.INFO: TCP Data received {"connection_id":127958,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:58:04] local.INFO: Processing buffer {"connection_id":127958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:58:04] local.INFO: IMEI packet received {"connection_id":127958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":127958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:58:05] local.INFO: TCP Data received {"connection_id":127958,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4256ab20012d196500071ff078003e014226..."} 
[2026-07-08 20:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4256ab20012d196500071ff078003e014226..."} 
[2026-07-08 20:58:05] local.INFO: Processing buffer {"connection_id":127958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4256ab20012d196500071ff078003e014226..."} 
[2026-07-08 20:58:05] local.INFO: Packet analysis {"connection_id":127958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4256"} 
[2026-07-08 20:58:05] local.INFO: Extracted packet for processing {"connection_id":127958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4256"} 
[2026-07-08 20:58:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582170368001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 20:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783524404000,"timestamp_ms":1783524404000,"timestamp_seconds":1783524404,"priority":1,"record_length":96,"hex_timestamp":"0000019f4256ab20"} 
[2026-07-08 20:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20: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-07-08 20:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 20:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:58:05] 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-07-08 20:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582170368001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 20:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582170368001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:58:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:58:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 20:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582170368001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 20:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":127958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:58:05] local.INFO: GPS data processed {"connection_id":127958,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:58:05] local.INFO: Acknowledgment sent {"connection_id":127958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:58:20] local.INFO: TCP Data received {"connection_id":125834,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125834,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:58:20] local.INFO: Processing buffer {"connection_id":125834,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:58:20] local.INFO: IMEI packet received {"connection_id":125834,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 20:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":125834,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:58:32] local.INFO: TCP Data received {"connection_id":126727,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f42558240012d77a10005f2a618001d010b2c..."} 
[2026-07-08 20:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42558240012d77a10005f2a618001d010b2c..."} 
[2026-07-08 20:58:32] local.INFO: Processing buffer {"connection_id":126727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42558240012d77a10005f2a618001d010b2c..."} 
[2026-07-08 20:58:32] local.INFO: Packet analysis {"connection_id":126727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4255"} 
[2026-07-08 20:58:32] local.INFO: Extracted packet for processing {"connection_id":126727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4255"} 
[2026-07-08 20:58:32] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":29,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 20:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582149888001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 20:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263079424,"note":"Value kept but may cause issues"} 
[2026-07-08 20:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783524328000,"timestamp_ms":1783524328000,"timestamp_seconds":1783524328,"priority":1,"record_length":96,"hex_timestamp":"0000019f42558240"} 
[2026-07-08 20:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 20:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 20:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582149888001,"66":26115,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620734137263079424},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 20:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582149888001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:58:32] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 20:58:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 20:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263079424,"description":"Unknown IO ID 45"} 
[2026-07-08 20:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582149888001,"power":26115,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263079424}} 
[2026-07-08 20:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":126727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:58:32] local.INFO: GPS data processed {"connection_id":126727,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:58:32] local.INFO: Acknowledgment sent {"connection_id":126727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:58:36] local.INFO: TCP Data received {"connection_id":127958,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f4256ab20012d196500071ff078003e014226..."} 
[2026-07-08 20:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4256ab20012d196500071ff078003e014226..."} 
[2026-07-08 20:58:36] local.INFO: Processing buffer {"connection_id":127958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4256ab20012d196500071ff078003e014226..."} 
[2026-07-08 20:58:36] local.INFO: Packet analysis {"connection_id":127958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4256"} 
[2026-07-08 20:58:36] local.INFO: Extracted packet for processing {"connection_id":127958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4256"} 
[2026-07-08 20:58:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582170368001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 20:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783524404000,"timestamp_ms":1783524404000,"timestamp_seconds":1783524404,"priority":1,"record_length":96,"hex_timestamp":"0000019f4256ab20"} 
[2026-07-08 20:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20: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-07-08 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 20:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:58:36] 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-07-08 20:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582170368001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 20:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582170368001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:58:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:58:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 20:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582170368001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 20:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":127958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:58:36] local.INFO: GPS data processed {"connection_id":127958,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:58:36] local.INFO: Acknowledgment sent {"connection_id":127958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:58:55] local.INFO: TCP Data received {"connection_id":125835,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125835,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:58:55] local.INFO: Processing buffer {"connection_id":125835,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 20:58:55] local.INFO: IMEI packet received {"connection_id":125835,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 20:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":125835,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:59:00] local.INFO: TCP Data received {"connection_id":125836,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:59:00] local.INFO: Processing buffer {"connection_id":125836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:59:00] local.INFO: IMEI packet received {"connection_id":125836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":125836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:59:04] local.INFO: TCP Data received {"connection_id":127959,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:59:04] local.INFO: Processing buffer {"connection_id":127959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:59:04] local.INFO: IMEI packet received {"connection_id":127959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":127959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:59:05] local.INFO: TCP Data received {"connection_id":125836,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:59:05] local.INFO: Processing buffer {"connection_id":125836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:59:05] local.INFO: IMEI packet received {"connection_id":125836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":125836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:59:09] local.INFO: TCP Data received {"connection_id":127959,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:59:09] local.INFO: Processing buffer {"connection_id":127959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:59:09] local.INFO: IMEI packet received {"connection_id":127959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 20:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":127959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:59:10] local.INFO: TCP Data received {"connection_id":127959,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4256ab20012d196500071ff078003e014226..."} 
[2026-07-08 20:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4256ab20012d196500071ff078003e014226..."} 
[2026-07-08 20:59:10] local.INFO: Processing buffer {"connection_id":127959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4256ab20012d196500071ff078003e014226..."} 
[2026-07-08 20:59:10] local.INFO: Packet analysis {"connection_id":127959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4256"} 
[2026-07-08 20:59:10] local.INFO: Extracted packet for processing {"connection_id":127959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4256"} 
[2026-07-08 20:59:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582170368001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 20:59: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-07-08 20:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783524404000,"timestamp_ms":1783524404000,"timestamp_seconds":1783524404,"priority":1,"record_length":96,"hex_timestamp":"0000019f4256ab20"} 
[2026-07-08 20:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20:59: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-07-08 20:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 20:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":127959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":127959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":127959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:59:10] 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-07-08 20:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582170368001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 20:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582170368001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:59:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:59:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 20:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582170368001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 20:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":127959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:59:10] local.INFO: GPS data processed {"connection_id":127959,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:59:10] local.INFO: Acknowledgment sent {"connection_id":127959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:59:11] local.INFO: TCP Data received {"connection_id":125836,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:59:11] local.INFO: Processing buffer {"connection_id":125836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:59:11] local.INFO: IMEI packet received {"connection_id":125836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 20:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":125836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 20:59:15] local.INFO: TCP Data received {"connection_id":127959,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4256ab20012d196500071ff078003e014226..."} 
[2026-07-08 20:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4256ab20012d196500071ff078003e014226..."} 
[2026-07-08 20:59:15] local.INFO: Processing buffer {"connection_id":127959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4256ab20012d196500071ff078003e014226..."} 
[2026-07-08 20:59:15] local.INFO: Packet analysis {"connection_id":127959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4256"} 
[2026-07-08 20:59:15] local.INFO: Extracted packet for processing {"connection_id":127959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4256"} 
[2026-07-08 20:59:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 20:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 20:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582170368001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 20:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 20:59: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-07-08 20:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783524404000,"timestamp_ms":1783524404000,"timestamp_seconds":1783524404,"priority":1,"record_length":96,"hex_timestamp":"0000019f4256ab20"} 
[2026-07-08 20:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 20: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-07-08 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 20:59:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 20:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 20:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 20:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":127959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":127959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":127959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 20:59:15] 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-07-08 20:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 20:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 20:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582170368001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 20:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 20:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 20:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582170368001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:59:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 20:59:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 20:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 20:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582170368001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 20:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":127959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:59:15] local.INFO: GPS data processed {"connection_id":127959,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:59:15] local.INFO: Acknowledgment sent {"connection_id":127959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:59:20] local.INFO: TCP Data received {"connection_id":125836,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f42558240012d77a10005f2a618001d010b2c..."} 
[2026-07-08 20:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42558240012d77a10005f2a618001d010b2c..."} 
[2026-07-08 20:59:20] local.INFO: Processing buffer {"connection_id":125836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42558240012d77a10005f2a618001d010b2c..."} 
[2026-07-08 20:59:20] local.INFO: Packet analysis {"connection_id":125836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4255"} 
[2026-07-08 20:59:20] local.INFO: Extracted packet for processing {"connection_id":125836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4255"} 
[2026-07-08 20:59:20] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":29,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 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-07-08 20:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582149888001,"note":"Value kept but may cause issues"} 
[2026-07-08 20:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 20:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263079424,"note":"Value kept but may cause issues"} 
[2026-07-08 20:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 20:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783524328000,"timestamp_ms":1783524328000,"timestamp_seconds":1783524328,"priority":1,"record_length":96,"hex_timestamp":"0000019f42558240"} 
[2026-07-08 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-07-08 20:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 20:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 20:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 20:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":125836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 20:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":125836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":125836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 20:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 20:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 20:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 20:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582149888001,"66":26115,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620734137263079424},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 20:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 20:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 20:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582149888001,"description":"Unknown IO ID 0"} 
[2026-07-08 20:59:20] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 20:59:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 20:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 20:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263079424,"description":"Unknown IO ID 45"} 
[2026-07-08 20:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582149888001,"power":26115,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263079424}} 
[2026-07-08 20:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":125836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 20:59:20] local.INFO: GPS data processed {"connection_id":125836,"processed":1,"errors":0,"total":1} 
[2026-07-08 20:59:20] local.INFO: Acknowledgment sent {"connection_id":125836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 20:59:55] local.INFO: TCP Data received {"connection_id":125962,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:59:55] local.INFO: Processing buffer {"connection_id":125962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 20:59:55] local.INFO: IMEI packet received {"connection_id":125962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 20:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":125962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 20:59:59] local.INFO: TCP Data received {"connection_id":125837,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:59:59] local.INFO: Processing buffer {"connection_id":125837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 20:59:59] local.INFO: IMEI packet received {"connection_id":125837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 20:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":125837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:00:00] local.INFO: TCP Data received {"connection_id":125962,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:00:00] local.INFO: Processing buffer {"connection_id":125962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:00:00] local.INFO: IMEI packet received {"connection_id":125962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":125962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:00:01] local.INFO: TCP Data received {"connection_id":125962,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f42558240012d77a10005f2a618001d010b2c..."} 
[2026-07-08 21:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42558240012d77a10005f2a618001d010b2c..."} 
[2026-07-08 21:00:01] local.INFO: Processing buffer {"connection_id":125962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42558240012d77a10005f2a618001d010b2c..."} 
[2026-07-08 21:00:01] local.INFO: Packet analysis {"connection_id":125962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4255"} 
[2026-07-08 21:00:01] local.INFO: Extracted packet for processing {"connection_id":125962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4255"} 
[2026-07-08 21:00:01] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":29,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582149888001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263079424,"note":"Value kept but may cause issues"} 
[2026-07-08 21:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783524328000,"timestamp_ms":1783524328000,"timestamp_seconds":1783524328,"priority":1,"record_length":96,"hex_timestamp":"0000019f42558240"} 
[2026-07-08 21:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 21:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:00:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582149888001,"66":26115,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620734137263079424},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582149888001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:00:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:00:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263079424,"description":"Unknown IO ID 45"} 
[2026-07-08 21:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582149888001,"power":26115,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263079424}} 
[2026-07-08 21:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":125962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:00:01] local.INFO: GPS data processed {"connection_id":125962,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:00:01] local.INFO: Acknowledgment sent {"connection_id":125962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:00:04] local.INFO: TCP Data received {"connection_id":125837,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:00:04] local.INFO: Processing buffer {"connection_id":125837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:00:04] local.INFO: IMEI packet received {"connection_id":125837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":125837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:00:05] local.INFO: TCP Data received {"connection_id":125837,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4256ab20012d196500071ff078003e014226..."} 
[2026-07-08 21:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4256ab20012d196500071ff078003e014226..."} 
[2026-07-08 21:00:05] local.INFO: Processing buffer {"connection_id":125837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4256ab20012d196500071ff078003e014226..."} 
[2026-07-08 21:00:05] local.INFO: Packet analysis {"connection_id":125837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4256"} 
[2026-07-08 21:00:05] local.INFO: Extracted packet for processing {"connection_id":125837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4256"} 
[2026-07-08 21:00:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582170368001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783524404000,"timestamp_ms":1783524404000,"timestamp_seconds":1783524404,"priority":1,"record_length":96,"hex_timestamp":"0000019f4256ab20"} 
[2026-07-08 21:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21: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-07-08 21:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582170368001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582170368001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:00:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:00:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582170368001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":125837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:00:05] local.INFO: GPS data processed {"connection_id":125837,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:00:05] local.INFO: Acknowledgment sent {"connection_id":125837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:00:36] local.INFO: TCP Data received {"connection_id":125837,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4256ab20012d196500071ff078003e014226..."} 
[2026-07-08 21:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4256ab20012d196500071ff078003e014226..."} 
[2026-07-08 21:00:36] local.INFO: Processing buffer {"connection_id":125837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4256ab20012d196500071ff078003e014226..."} 
[2026-07-08 21:00:36] local.INFO: Packet analysis {"connection_id":125837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4256"} 
[2026-07-08 21:00:36] local.INFO: Extracted packet for processing {"connection_id":125837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4256"} 
[2026-07-08 21:00:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21: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-07-08 21:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582170368001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783524404000,"timestamp_ms":1783524404000,"timestamp_seconds":1783524404,"priority":1,"record_length":96,"hex_timestamp":"0000019f4256ab20"} 
[2026-07-08 21:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21: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-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21: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-07-08 21:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582170368001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582170368001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:00:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:00:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582170368001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":125837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:00:36] local.INFO: GPS data processed {"connection_id":125837,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:00:36] local.INFO: Acknowledgment sent {"connection_id":125837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:00:38] local.INFO: TCP Data received {"connection_id":125962,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f42558240012d77a10005f2a618001d010b2c..."} 
[2026-07-08 21:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42558240012d77a10005f2a618001d010b2c..."} 
[2026-07-08 21:00:38] local.INFO: Processing buffer {"connection_id":125962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42558240012d77a10005f2a618001d010b2c..."} 
[2026-07-08 21:00:38] local.INFO: Packet analysis {"connection_id":125962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4255"} 
[2026-07-08 21:00:38] local.INFO: Extracted packet for processing {"connection_id":125962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4255"} 
[2026-07-08 21:00:38] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":29,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582149888001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263079424,"note":"Value kept but may cause issues"} 
[2026-07-08 21:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783524328000,"timestamp_ms":1783524328000,"timestamp_seconds":1783524328,"priority":1,"record_length":96,"hex_timestamp":"0000019f42558240"} 
[2026-07-08 21:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 21:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582149888001,"66":26115,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620734137263079424},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582149888001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:00:38] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:00:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263079424,"description":"Unknown IO ID 45"} 
[2026-07-08 21:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582149888001,"power":26115,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263079424}} 
[2026-07-08 21:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":125962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:00:39] local.INFO: GPS data processed {"connection_id":125962,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:00:39] local.INFO: Acknowledgment sent {"connection_id":125962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:00:55] local.INFO: TCP Data received {"connection_id":125838,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:00:55] local.INFO: Processing buffer {"connection_id":125838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:00:55] local.INFO: IMEI packet received {"connection_id":125838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":125838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:00:59] local.INFO: TCP Data received {"connection_id":126729,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:00:59] local.INFO: Processing buffer {"connection_id":126729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:00:59] local.INFO: IMEI packet received {"connection_id":126729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":126729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:01:00] local.INFO: TCP Data received {"connection_id":125838,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:01:00] local.INFO: Processing buffer {"connection_id":125838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:01:00] local.INFO: IMEI packet received {"connection_id":125838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":125838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:01:01] local.INFO: TCP Data received {"connection_id":125838,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f42558240012d77a10005f2a618001d010b2c..."} 
[2026-07-08 21:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42558240012d77a10005f2a618001d010b2c..."} 
[2026-07-08 21:01:01] local.INFO: Processing buffer {"connection_id":125838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42558240012d77a10005f2a618001d010b2c..."} 
[2026-07-08 21:01:01] local.INFO: Packet analysis {"connection_id":125838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4255"} 
[2026-07-08 21:01:01] local.INFO: Extracted packet for processing {"connection_id":125838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4255"} 
[2026-07-08 21:01:01] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":29,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582149888001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263079424,"note":"Value kept but may cause issues"} 
[2026-07-08 21:01:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783524328000,"timestamp_ms":1783524328000,"timestamp_seconds":1783524328,"priority":1,"record_length":96,"hex_timestamp":"0000019f42558240"} 
[2026-07-08 21:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:01:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-08 21:01:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:01:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582149888001,"66":26115,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620734137263079424},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582149888001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:01:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:01:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263079424,"description":"Unknown IO ID 45"} 
[2026-07-08 21:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582149888001,"power":26115,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263079424}} 
[2026-07-08 21:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":125838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:01:01] local.INFO: GPS data processed {"connection_id":125838,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:01:01] local.INFO: Acknowledgment sent {"connection_id":125838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:01:04] local.INFO: TCP Data received {"connection_id":126729,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:01:04] local.INFO: Processing buffer {"connection_id":126729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:01:04] local.INFO: IMEI packet received {"connection_id":126729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":126729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:01:05] local.INFO: TCP Data received {"connection_id":126729,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4256ab20012d196500071ff078003e014226..."} 
[2026-07-08 21:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4256ab20012d196500071ff078003e014226..."} 
[2026-07-08 21:01:05] local.INFO: Processing buffer {"connection_id":126729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4256ab20012d196500071ff078003e014226..."} 
[2026-07-08 21:01:05] local.INFO: Packet analysis {"connection_id":126729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4256"} 
[2026-07-08 21:01:05] local.INFO: Extracted packet for processing {"connection_id":126729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4256"} 
[2026-07-08 21:01:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582170368001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783524404000,"timestamp_ms":1783524404000,"timestamp_seconds":1783524404,"priority":1,"record_length":96,"hex_timestamp":"0000019f4256ab20"} 
[2026-07-08 21:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21: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-07-08 21:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582170368001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582170368001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:01:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:01:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582170368001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":126729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:01:05] local.INFO: GPS data processed {"connection_id":126729,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:01:05] local.INFO: Acknowledgment sent {"connection_id":126729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:01:36] local.INFO: TCP Data received {"connection_id":126729,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f4256ab20012d196500071ff078003e014226..."} 
[2026-07-08 21:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4256ab20012d196500071ff078003e014226..."} 
[2026-07-08 21:01:36] local.INFO: Processing buffer {"connection_id":126729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4256ab20012d196500071ff078003e014226..."} 
[2026-07-08 21:01:36] local.INFO: Packet analysis {"connection_id":126729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4256"} 
[2026-07-08 21:01:36] local.INFO: Extracted packet for processing {"connection_id":126729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4256"} 
[2026-07-08 21:01:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582170368001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783524404000,"timestamp_ms":1783524404000,"timestamp_seconds":1783524404,"priority":1,"record_length":96,"hex_timestamp":"0000019f4256ab20"} 
[2026-07-08 21:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:01: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-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:01:36] 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-07-08 21:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582170368001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582170368001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:01:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:01:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582170368001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":126729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453719,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:01:36] local.INFO: GPS data processed {"connection_id":126729,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:01:36] local.INFO: Acknowledgment sent {"connection_id":126729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:01:38] local.INFO: TCP Data received {"connection_id":125838,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f425a1a08012d77a10005f2a618001e010b2d..."} 
[2026-07-08 21:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425a1a08012d77a10005f2a618001e010b2d..."} 
[2026-07-08 21:01:38] local.INFO: Processing buffer {"connection_id":125838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425a1a08012d77a10005f2a618001e010b2d..."} 
[2026-07-08 21:01:38] local.INFO: Packet analysis {"connection_id":125838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425a"} 
[2026-07-08 21:01:38] local.INFO: Extracted packet for processing {"connection_id":125838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425a"} 
[2026-07-08 21:01:38] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582227968001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783524629000,"timestamp_ms":1783524629000,"timestamp_seconds":1783524629,"priority":1,"record_length":96,"hex_timestamp":"0000019f425a1a08"} 
[2026-07-08 21:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 21:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582227968001,"66":25941,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582227968001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:01:38] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:01:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582227968001,"power":25941,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":125838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:01:38] local.INFO: GPS data processed {"connection_id":125838,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:01:38] local.INFO: Acknowledgment sent {"connection_id":125838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:01:55] local.INFO: TCP Data received {"connection_id":125839,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:01:55] local.INFO: Processing buffer {"connection_id":125839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:01:55] local.INFO: IMEI packet received {"connection_id":125839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":125839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:01:59] local.INFO: TCP Data received {"connection_id":125963,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:01:59] local.INFO: Processing buffer {"connection_id":125963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:01:59] local.INFO: IMEI packet received {"connection_id":125963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":125963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:02:00] local.INFO: TCP Data received {"connection_id":125839,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:02:00] local.INFO: Processing buffer {"connection_id":125839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:02:00] local.INFO: IMEI packet received {"connection_id":125839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":125839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:02:01] local.INFO: TCP Data received {"connection_id":125839,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f425a1a08012d77a10005f2a618001e010b2d..."} 
[2026-07-08 21:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425a1a08012d77a10005f2a618001e010b2d..."} 
[2026-07-08 21:02:01] local.INFO: Processing buffer {"connection_id":125839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425a1a08012d77a10005f2a618001e010b2d..."} 
[2026-07-08 21:02:01] local.INFO: Packet analysis {"connection_id":125839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425a"} 
[2026-07-08 21:02:01] local.INFO: Extracted packet for processing {"connection_id":125839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425a"} 
[2026-07-08 21:02:01] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582227968001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:02:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783524629000,"timestamp_ms":1783524629000,"timestamp_seconds":1783524629,"priority":1,"record_length":96,"hex_timestamp":"0000019f425a1a08"} 
[2026-07-08 21:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:02:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 21:02:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:02:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:02:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582227968001,"66":25941,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582227968001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:02:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:02:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582227968001,"power":25941,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":125839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:02:01] local.INFO: GPS data processed {"connection_id":125839,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:02:01] local.INFO: Acknowledgment sent {"connection_id":125839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:02:04] local.INFO: TCP Data received {"connection_id":125963,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:02:04] local.INFO: Processing buffer {"connection_id":125963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:02:04] local.INFO: IMEI packet received {"connection_id":125963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":125963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:02:05] local.INFO: TCP Data received {"connection_id":125963,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f4256ab20012d196500071ff078003e014226..."} 
[2026-07-08 21:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4256ab20012d196500071ff078003e014226..."} 
[2026-07-08 21:02:05] local.INFO: Processing buffer {"connection_id":125963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4256ab20012d196500071ff078003e014226..."} 
[2026-07-08 21:02:05] local.INFO: Packet analysis {"connection_id":125963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4256"} 
[2026-07-08 21:02:05] local.INFO: Extracted packet for processing {"connection_id":125963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4256"} 
[2026-07-08 21:02:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582170368001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783524404000,"timestamp_ms":1783524404000,"timestamp_seconds":1783524404,"priority":1,"record_length":96,"hex_timestamp":"0000019f4256ab20"} 
[2026-07-08 21:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21: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-07-08 21:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:02:05] 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-07-08 21:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582170368001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582170368001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:02:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:02:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582170368001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":125963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:02:05] local.INFO: GPS data processed {"connection_id":125963,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:02:05] local.INFO: Acknowledgment sent {"connection_id":125963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:02:05] local.INFO: TCP Data received {"connection_id":125839,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f425a1a08012d77a10005f2a618001e010b2d..."} 
[2026-07-08 21:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425a1a08012d77a10005f2a618001e010b2d..."} 
[2026-07-08 21:02:05] local.INFO: Processing buffer {"connection_id":125839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425a1a08012d77a10005f2a618001e010b2d..."} 
[2026-07-08 21:02:05] local.INFO: Packet analysis {"connection_id":125839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425a"} 
[2026-07-08 21:02:05] local.INFO: Extracted packet for processing {"connection_id":125839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425a"} 
[2026-07-08 21:02:05] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582227968001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783524629000,"timestamp_ms":1783524629000,"timestamp_seconds":1783524629,"priority":1,"record_length":96,"hex_timestamp":"0000019f425a1a08"} 
[2026-07-08 21:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 21:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582227968001,"66":25941,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582227968001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:02:05] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:02:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582227968001,"power":25941,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":125839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:02:05] local.INFO: GPS data processed {"connection_id":125839,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:02:05] local.INFO: Acknowledgment sent {"connection_id":125839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:02:36] local.INFO: TCP Data received {"connection_id":125963,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f425b42e8012d196500071ff078003e014224..."} 
[2026-07-08 21:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425b42e8012d196500071ff078003e014224..."} 
[2026-07-08 21:02:36] local.INFO: Processing buffer {"connection_id":125963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425b42e8012d196500071ff078003e014224..."} 
[2026-07-08 21:02:36] local.INFO: Packet analysis {"connection_id":125963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425b"} 
[2026-07-08 21:02:36] local.INFO: Extracted packet for processing {"connection_id":125963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425b"} 
[2026-07-08 21:02:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21: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-07-08 21:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582247424001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783524705000,"timestamp_ms":1783524705000,"timestamp_seconds":1783524705,"priority":1,"record_length":96,"hex_timestamp":"0000019f425b42e8"} 
[2026-07-08 21:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:02:36] 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-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21: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-07-08 21:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:02:36] 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-07-08 21:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582247424001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582247424001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:02:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:02:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582247424001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":125963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:02:36] local.INFO: GPS data processed {"connection_id":125963,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:02:36] local.INFO: Acknowledgment sent {"connection_id":125963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:02:37] local.INFO: TCP Data received {"connection_id":125839,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f425a1a08012d77a10005f2a618001e010b2d..."} 
[2026-07-08 21:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425a1a08012d77a10005f2a618001e010b2d..."} 
[2026-07-08 21:02:37] local.INFO: Processing buffer {"connection_id":125839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425a1a08012d77a10005f2a618001e010b2d..."} 
[2026-07-08 21:02:37] local.INFO: Packet analysis {"connection_id":125839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425a"} 
[2026-07-08 21:02:37] local.INFO: Extracted packet for processing {"connection_id":125839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425a"} 
[2026-07-08 21:02:37] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582227968001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783524629000,"timestamp_ms":1783524629000,"timestamp_seconds":1783524629,"priority":1,"record_length":96,"hex_timestamp":"0000019f425a1a08"} 
[2026-07-08 21:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 21:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582227968001,"66":25941,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582227968001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:02:37] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:02:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582227968001,"power":25941,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":125839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:02:37] local.INFO: GPS data processed {"connection_id":125839,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:02:37] local.INFO: Acknowledgment sent {"connection_id":125839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:02:55] local.INFO: TCP Data received {"connection_id":126730,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:02:55] local.INFO: Processing buffer {"connection_id":126730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:02:55] local.INFO: IMEI packet received {"connection_id":126730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":126730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:02:59] local.INFO: TCP Data received {"connection_id":125840,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:02:59] local.INFO: Processing buffer {"connection_id":125840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:02:59] local.INFO: IMEI packet received {"connection_id":125840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":125840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:03:00] local.INFO: TCP Data received {"connection_id":126730,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:03:00] local.INFO: Processing buffer {"connection_id":126730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:03:00] local.INFO: IMEI packet received {"connection_id":126730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":126730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:03:01] local.INFO: TCP Data received {"connection_id":126730,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f425a1a08012d77a10005f2a618001e010b2d..."} 
[2026-07-08 21:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425a1a08012d77a10005f2a618001e010b2d..."} 
[2026-07-08 21:03:01] local.INFO: Processing buffer {"connection_id":126730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425a1a08012d77a10005f2a618001e010b2d..."} 
[2026-07-08 21:03:01] local.INFO: Packet analysis {"connection_id":126730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425a"} 
[2026-07-08 21:03:01] local.INFO: Extracted packet for processing {"connection_id":126730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425a"} 
[2026-07-08 21:03:01] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582227968001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783524629000,"timestamp_ms":1783524629000,"timestamp_seconds":1783524629,"priority":1,"record_length":96,"hex_timestamp":"0000019f425a1a08"} 
[2026-07-08 21:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:03:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 21:03:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:03:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582227968001,"66":25941,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582227968001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:03:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:03:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582227968001,"power":25941,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":126730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:03:01] local.INFO: GPS data processed {"connection_id":126730,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:03:01] local.INFO: Acknowledgment sent {"connection_id":126730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:03:04] local.INFO: TCP Data received {"connection_id":125840,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:03:04] local.INFO: Processing buffer {"connection_id":125840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:03:04] local.INFO: IMEI packet received {"connection_id":125840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":125840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:03:05] local.INFO: TCP Data received {"connection_id":125840,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f425b42e8012d196500071ff078003e014224..."} 
[2026-07-08 21:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425b42e8012d196500071ff078003e014224..."} 
[2026-07-08 21:03:05] local.INFO: Processing buffer {"connection_id":125840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425b42e8012d196500071ff078003e014224..."} 
[2026-07-08 21:03:05] local.INFO: Packet analysis {"connection_id":125840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425b"} 
[2026-07-08 21:03:05] local.INFO: Extracted packet for processing {"connection_id":125840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425b"} 
[2026-07-08 21:03:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582247424001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783524705000,"timestamp_ms":1783524705000,"timestamp_seconds":1783524705,"priority":1,"record_length":96,"hex_timestamp":"0000019f425b42e8"} 
[2026-07-08 21:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:03:05] 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-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582247424001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582247424001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:03:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:03:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582247424001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":125840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:03:05] local.INFO: GPS data processed {"connection_id":125840,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:03:05] local.INFO: Acknowledgment sent {"connection_id":125840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:03:33] local.INFO: TCP Data received {"connection_id":126730,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f425a1a08012d77a10005f2a618001e010b2d..."} 
[2026-07-08 21:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425a1a08012d77a10005f2a618001e010b2d..."} 
[2026-07-08 21:03:33] local.INFO: Processing buffer {"connection_id":126730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425a1a08012d77a10005f2a618001e010b2d..."} 
[2026-07-08 21:03:33] local.INFO: Packet analysis {"connection_id":126730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425a"} 
[2026-07-08 21:03:33] local.INFO: Extracted packet for processing {"connection_id":126730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425a"} 
[2026-07-08 21:03:33] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582227968001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783524629000,"timestamp_ms":1783524629000,"timestamp_seconds":1783524629,"priority":1,"record_length":96,"hex_timestamp":"0000019f425a1a08"} 
[2026-07-08 21:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 21:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:03:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582227968001,"66":25941,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582227968001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:03:33] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:03:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582227968001,"power":25941,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":126730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:03:33] local.INFO: GPS data processed {"connection_id":126730,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:03:33] local.INFO: Acknowledgment sent {"connection_id":126730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:03:36] local.INFO: TCP Data received {"connection_id":125840,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f425b42e8012d196500071ff078003e014224..."} 
[2026-07-08 21:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425b42e8012d196500071ff078003e014224..."} 
[2026-07-08 21:03:36] local.INFO: Processing buffer {"connection_id":125840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425b42e8012d196500071ff078003e014224..."} 
[2026-07-08 21:03:36] local.INFO: Packet analysis {"connection_id":125840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425b"} 
[2026-07-08 21:03:36] local.INFO: Extracted packet for processing {"connection_id":125840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425b"} 
[2026-07-08 21:03:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582247424001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783524705000,"timestamp_ms":1783524705000,"timestamp_seconds":1783524705,"priority":1,"record_length":96,"hex_timestamp":"0000019f425b42e8"} 
[2026-07-08 21:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:03:36] 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-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582247424001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582247424001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:03:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:03:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582247424001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":125840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:03:36] local.INFO: GPS data processed {"connection_id":125840,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:03:36] local.INFO: Acknowledgment sent {"connection_id":125840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:04:02] local.INFO: TCP Data received {"connection_id":127962,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:04:02] local.INFO: Processing buffer {"connection_id":127962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:04:02] local.INFO: IMEI packet received {"connection_id":127962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":127962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:04:04] local.INFO: TCP Data received {"connection_id":127963,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:04:04] local.INFO: Processing buffer {"connection_id":127963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:04:04] local.INFO: IMEI packet received {"connection_id":127963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":127963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:04:08] local.INFO: TCP Data received {"connection_id":127962,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:04:08] local.INFO: Processing buffer {"connection_id":127962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:04:08] local.INFO: IMEI packet received {"connection_id":127962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":127962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:04:09] local.INFO: TCP Data received {"connection_id":127963,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:04:09] local.INFO: Processing buffer {"connection_id":127963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:04:09] local.INFO: IMEI packet received {"connection_id":127963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":127963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:04:10] local.INFO: TCP Data received {"connection_id":127963,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f425b42e8012d196500071ff078003e014224..."} 
[2026-07-08 21:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425b42e8012d196500071ff078003e014224..."} 
[2026-07-08 21:04:10] local.INFO: Processing buffer {"connection_id":127963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425b42e8012d196500071ff078003e014224..."} 
[2026-07-08 21:04:10] local.INFO: Packet analysis {"connection_id":127963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425b"} 
[2026-07-08 21:04:10] local.INFO: Extracted packet for processing {"connection_id":127963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425b"} 
[2026-07-08 21:04:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582247424001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:04: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-07-08 21:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783524705000,"timestamp_ms":1783524705000,"timestamp_seconds":1783524705,"priority":1,"record_length":96,"hex_timestamp":"0000019f425b42e8"} 
[2026-07-08 21:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:04:10] 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-07-08 21:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":127963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":127963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":127963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:04:10] 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-07-08 21:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582247424001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582247424001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:04:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:04:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582247424001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":127963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:04:10] local.INFO: GPS data processed {"connection_id":127963,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:04:10] local.INFO: Acknowledgment sent {"connection_id":127963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:04:15] local.INFO: TCP Data received {"connection_id":127963,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f425b42e8012d196500071ff078003e014224..."} 
[2026-07-08 21:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425b42e8012d196500071ff078003e014224..."} 
[2026-07-08 21:04:15] local.INFO: Processing buffer {"connection_id":127963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425b42e8012d196500071ff078003e014224..."} 
[2026-07-08 21:04:15] local.INFO: Packet analysis {"connection_id":127963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425b"} 
[2026-07-08 21:04:15] local.INFO: Extracted packet for processing {"connection_id":127963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425b"} 
[2026-07-08 21:04:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582247424001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:04: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-07-08 21:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783524705000,"timestamp_ms":1783524705000,"timestamp_seconds":1783524705,"priority":1,"record_length":96,"hex_timestamp":"0000019f425b42e8"} 
[2026-07-08 21:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:04:15] 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-07-08 21:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:04:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":127963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":127963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":127963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:04: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-07-08 21:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582247424001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582247424001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:04:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:04:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582247424001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":127963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:04:15] local.INFO: GPS data processed {"connection_id":127963,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:04:15] local.INFO: Acknowledgment sent {"connection_id":127963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:04:20] local.INFO: TCP Data received {"connection_id":125964,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:04:20] local.INFO: Processing buffer {"connection_id":125964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:04:20] local.INFO: IMEI packet received {"connection_id":125964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 21:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":125964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:04:30] local.INFO: TCP Data received {"connection_id":127962,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f425a1a08012d77a10005f2a618001e010b2d..."} 
[2026-07-08 21:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425a1a08012d77a10005f2a618001e010b2d..."} 
[2026-07-08 21:04:30] local.INFO: Processing buffer {"connection_id":127962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425a1a08012d77a10005f2a618001e010b2d..."} 
[2026-07-08 21:04:30] local.INFO: Packet analysis {"connection_id":127962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425a"} 
[2026-07-08 21:04:30] local.INFO: Extracted packet for processing {"connection_id":127962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425a"} 
[2026-07-08 21:04:30] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21: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-07-08 21:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582227968001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783524629000,"timestamp_ms":1783524629000,"timestamp_seconds":1783524629,"priority":1,"record_length":96,"hex_timestamp":"0000019f425a1a08"} 
[2026-07-08 21:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 21:04:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21: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-07-08 21:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":127962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":127962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":127962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582227968001,"66":25941,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582227968001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:04:30] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:04:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582227968001,"power":25941,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":127962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:04:30] local.INFO: GPS data processed {"connection_id":127962,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:04:30] local.INFO: Acknowledgment sent {"connection_id":127962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:04:31] local.INFO: TCP Data received {"connection_id":127962,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f425a1a08012d77a10005f2a618001e010b2d..."} 
[2026-07-08 21:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425a1a08012d77a10005f2a618001e010b2d..."} 
[2026-07-08 21:04:31] local.INFO: Processing buffer {"connection_id":127962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425a1a08012d77a10005f2a618001e010b2d..."} 
[2026-07-08 21:04:31] local.INFO: Packet analysis {"connection_id":127962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425a"} 
[2026-07-08 21:04:31] local.INFO: Extracted packet for processing {"connection_id":127962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425a"} 
[2026-07-08 21:04:31] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21: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-07-08 21:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582227968001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783524629000,"timestamp_ms":1783524629000,"timestamp_seconds":1783524629,"priority":1,"record_length":96,"hex_timestamp":"0000019f425a1a08"} 
[2026-07-08 21:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 21:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21: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-07-08 21:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":127962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":127962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":127962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582227968001,"66":25941,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582227968001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:04:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:04:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582227968001,"power":25941,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":127962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:04:31] local.INFO: GPS data processed {"connection_id":127962,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:04:31] local.INFO: Acknowledgment sent {"connection_id":127962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:04:53] local.INFO: TCP Data received {"connection_id":125841,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125841,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:04:53] local.INFO: Processing buffer {"connection_id":125841,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:04:53] local.INFO: IMEI packet received {"connection_id":125841,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 21:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":125841,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:04:55] local.INFO: TCP Data received {"connection_id":125965,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:04:55] local.INFO: Processing buffer {"connection_id":125965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:04:55] local.INFO: IMEI packet received {"connection_id":125965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":125965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:04:59] local.INFO: TCP Data received {"connection_id":125966,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:04:59] local.INFO: Processing buffer {"connection_id":125966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:04:59] local.INFO: IMEI packet received {"connection_id":125966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":125966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:05:00] local.INFO: TCP Data received {"connection_id":125965,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:05:00] local.INFO: Processing buffer {"connection_id":125965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:05:00] local.INFO: IMEI packet received {"connection_id":125965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":125965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:05:01] local.INFO: TCP Data received {"connection_id":125965,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f425a1a08012d77a10005f2a618001e010b2d..."} 
[2026-07-08 21:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425a1a08012d77a10005f2a618001e010b2d..."} 
[2026-07-08 21:05:01] local.INFO: Processing buffer {"connection_id":125965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425a1a08012d77a10005f2a618001e010b2d..."} 
[2026-07-08 21:05:01] local.INFO: Packet analysis {"connection_id":125965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425a"} 
[2026-07-08 21:05:01] local.INFO: Extracted packet for processing {"connection_id":125965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425a"} 
[2026-07-08 21:05:01] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21: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-07-08 21:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582227968001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783524629000,"timestamp_ms":1783524629000,"timestamp_seconds":1783524629,"priority":1,"record_length":96,"hex_timestamp":"0000019f425a1a08"} 
[2026-07-08 21:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 21:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21: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-07-08 21:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582227968001,"66":25941,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582227968001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:05:02] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:05:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582227968001,"power":25941,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":125965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:05:02] local.INFO: GPS data processed {"connection_id":125965,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:05:02] local.INFO: Acknowledgment sent {"connection_id":125965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:05:04] local.INFO: TCP Data received {"connection_id":125966,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:05:04] local.INFO: Processing buffer {"connection_id":125966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:05:04] local.INFO: IMEI packet received {"connection_id":125966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":125966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:05:05] local.INFO: TCP Data received {"connection_id":125966,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f425b42e8012d196500071ff078003e014224..."} 
[2026-07-08 21:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425b42e8012d196500071ff078003e014224..."} 
[2026-07-08 21:05:05] local.INFO: Processing buffer {"connection_id":125966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425b42e8012d196500071ff078003e014224..."} 
[2026-07-08 21:05:05] local.INFO: Packet analysis {"connection_id":125966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425b"} 
[2026-07-08 21:05:05] local.INFO: Extracted packet for processing {"connection_id":125966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425b"} 
[2026-07-08 21:05:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582247424001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783524705000,"timestamp_ms":1783524705000,"timestamp_seconds":1783524705,"priority":1,"record_length":96,"hex_timestamp":"0000019f425b42e8"} 
[2026-07-08 21:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:05:05] 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-07-08 21:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582247424001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582247424001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:05:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:05:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582247424001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":125966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:05:05] local.INFO: GPS data processed {"connection_id":125966,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:05:05] local.INFO: Acknowledgment sent {"connection_id":125966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:05:33] local.INFO: TCP Data received {"connection_id":125965,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f425a1a08012d77a10005f2a618001e010b2d..."} 
[2026-07-08 21:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425a1a08012d77a10005f2a618001e010b2d..."} 
[2026-07-08 21:05:33] local.INFO: Processing buffer {"connection_id":125965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425a1a08012d77a10005f2a618001e010b2d..."} 
[2026-07-08 21:05:33] local.INFO: Packet analysis {"connection_id":125965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425a"} 
[2026-07-08 21:05:33] local.INFO: Extracted packet for processing {"connection_id":125965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425a"} 
[2026-07-08 21:05:33] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582227968001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783524629000,"timestamp_ms":1783524629000,"timestamp_seconds":1783524629,"priority":1,"record_length":96,"hex_timestamp":"0000019f425a1a08"} 
[2026-07-08 21:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 21:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:05:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582227968001,"66":25941,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582227968001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:05:33] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:05:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582227968001,"power":25941,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":125965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:05:33] local.INFO: GPS data processed {"connection_id":125965,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:05:33] local.INFO: Acknowledgment sent {"connection_id":125965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:05:36] local.INFO: TCP Data received {"connection_id":125966,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f425b42e8012d196500071ff078003e014224..."} 
[2026-07-08 21:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425b42e8012d196500071ff078003e014224..."} 
[2026-07-08 21:05:36] local.INFO: Processing buffer {"connection_id":125966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425b42e8012d196500071ff078003e014224..."} 
[2026-07-08 21:05:36] local.INFO: Packet analysis {"connection_id":125966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425b"} 
[2026-07-08 21:05:36] local.INFO: Extracted packet for processing {"connection_id":125966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425b"} 
[2026-07-08 21:05:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582247424001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783524705000,"timestamp_ms":1783524705000,"timestamp_seconds":1783524705,"priority":1,"record_length":96,"hex_timestamp":"0000019f425b42e8"} 
[2026-07-08 21:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:05:36] 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-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582247424001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582247424001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:05:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:05:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582247424001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":125966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:05:36] local.INFO: GPS data processed {"connection_id":125966,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:05:36] local.INFO: Acknowledgment sent {"connection_id":125966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:05:59] local.INFO: TCP Data received {"connection_id":126732,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:05:59] local.INFO: Processing buffer {"connection_id":126732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:05:59] local.INFO: IMEI packet received {"connection_id":126732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":126732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:06:00] local.INFO: TCP Data received {"connection_id":125842,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:06:00] local.INFO: Processing buffer {"connection_id":125842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:06:00] local.INFO: IMEI packet received {"connection_id":125842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":125842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:06:04] local.INFO: TCP Data received {"connection_id":126732,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:06:04] local.INFO: Processing buffer {"connection_id":126732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:06:04] local.INFO: IMEI packet received {"connection_id":126732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":126732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:06:05] local.INFO: TCP Data received {"connection_id":126732,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f425b42e8012d196500071ff078003e014224..."} 
[2026-07-08 21:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425b42e8012d196500071ff078003e014224..."} 
[2026-07-08 21:06:05] local.INFO: Processing buffer {"connection_id":126732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425b42e8012d196500071ff078003e014224..."} 
[2026-07-08 21:06:05] local.INFO: Packet analysis {"connection_id":126732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425b"} 
[2026-07-08 21:06:05] local.INFO: Extracted packet for processing {"connection_id":126732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425b"} 
[2026-07-08 21:06:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582247424001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783524705000,"timestamp_ms":1783524705000,"timestamp_seconds":1783524705,"priority":1,"record_length":96,"hex_timestamp":"0000019f425b42e8"} 
[2026-07-08 21:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:06:05] 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-07-08 21:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:06:05] 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-07-08 21:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582247424001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582247424001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:06:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:06:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582247424001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":126732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:06:05] local.INFO: GPS data processed {"connection_id":126732,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:06:05] local.INFO: Acknowledgment sent {"connection_id":126732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:06:05] local.INFO: TCP Data received {"connection_id":125842,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:06:05] local.INFO: Processing buffer {"connection_id":125842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:06:05] local.INFO: IMEI packet received {"connection_id":125842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":125842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:06:06] local.INFO: TCP Data received {"connection_id":125842,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f425a1a08012d77a10005f2a618001e010b2d..."} 
[2026-07-08 21:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425a1a08012d77a10005f2a618001e010b2d..."} 
[2026-07-08 21:06:06] local.INFO: Processing buffer {"connection_id":125842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425a1a08012d77a10005f2a618001e010b2d..."} 
[2026-07-08 21:06:06] local.INFO: Packet analysis {"connection_id":125842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425a"} 
[2026-07-08 21:06:06] local.INFO: Extracted packet for processing {"connection_id":125842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425a"} 
[2026-07-08 21:06:06] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582227968001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783524629000,"timestamp_ms":1783524629000,"timestamp_seconds":1783524629,"priority":1,"record_length":96,"hex_timestamp":"0000019f425a1a08"} 
[2026-07-08 21:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-08 21:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582227968001,"66":25941,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582227968001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:06:06] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:06:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582227968001,"power":25941,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":125842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:06:06] local.INFO: GPS data processed {"connection_id":125842,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:06:06] local.INFO: Acknowledgment sent {"connection_id":125842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:06:36] local.INFO: TCP Data received {"connection_id":126732,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f425b42e8012d196500071ff078003e014224..."} 
[2026-07-08 21:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425b42e8012d196500071ff078003e014224..."} 
[2026-07-08 21:06:36] local.INFO: Processing buffer {"connection_id":126732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425b42e8012d196500071ff078003e014224..."} 
[2026-07-08 21:06:36] local.INFO: Packet analysis {"connection_id":126732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425b"} 
[2026-07-08 21:06:36] local.INFO: Extracted packet for processing {"connection_id":126732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425b"} 
[2026-07-08 21:06:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21: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-07-08 21:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582247424001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783524705000,"timestamp_ms":1783524705000,"timestamp_seconds":1783524705,"priority":1,"record_length":96,"hex_timestamp":"0000019f425b42e8"} 
[2026-07-08 21:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:06:36] 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-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21: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-07-08 21:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:06:36] 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-07-08 21:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582247424001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582247424001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:06:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:06:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582247424001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":126732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:06:36] local.INFO: GPS data processed {"connection_id":126732,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:06:36] local.INFO: Acknowledgment sent {"connection_id":126732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:06:41] local.INFO: TCP Data received {"connection_id":125842,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f425eb1d0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425eb1d0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:06:41] local.INFO: Processing buffer {"connection_id":125842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425eb1d0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:06:41] local.INFO: Packet analysis {"connection_id":125842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425e"} 
[2026-07-08 21:06:41] local.INFO: Extracted packet for processing {"connection_id":125842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425e"} 
[2026-07-08 21:06:41] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582305024001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783524930000,"timestamp_ms":1783524930000,"timestamp_seconds":1783524930,"priority":1,"record_length":96,"hex_timestamp":"0000019f425eb1d0"} 
[2026-07-08 21:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-08 21:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582305024001,"66":25778,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582305024001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:06:41] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:06:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582305024001,"power":25778,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":125842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:06:41] local.INFO: GPS data processed {"connection_id":125842,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:06:41] local.INFO: Acknowledgment sent {"connection_id":125842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:06:55] local.INFO: TCP Data received {"connection_id":127965,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:06:55] local.INFO: Processing buffer {"connection_id":127965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:06:55] local.INFO: IMEI packet received {"connection_id":127965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":127965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:06:59] local.INFO: TCP Data received {"connection_id":125843,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:06:59] local.INFO: Processing buffer {"connection_id":125843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:06:59] local.INFO: IMEI packet received {"connection_id":125843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":125843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:07:00] local.INFO: TCP Data received {"connection_id":127965,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:07:00] local.INFO: Processing buffer {"connection_id":127965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:07:00] local.INFO: IMEI packet received {"connection_id":127965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":127965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:07:04] local.INFO: TCP Data received {"connection_id":125843,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:07:04] local.INFO: Processing buffer {"connection_id":125843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:07:04] local.INFO: IMEI packet received {"connection_id":125843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":125843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:07:05] local.INFO: TCP Data received {"connection_id":125843,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f425b42e8012d196500071ff078003e014224..."} 
[2026-07-08 21:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425b42e8012d196500071ff078003e014224..."} 
[2026-07-08 21:07:05] local.INFO: Processing buffer {"connection_id":125843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425b42e8012d196500071ff078003e014224..."} 
[2026-07-08 21:07:05] local.INFO: Packet analysis {"connection_id":125843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425b"} 
[2026-07-08 21:07:05] local.INFO: Extracted packet for processing {"connection_id":125843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425b"} 
[2026-07-08 21:07:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582247424001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783524705000,"timestamp_ms":1783524705000,"timestamp_seconds":1783524705,"priority":1,"record_length":96,"hex_timestamp":"0000019f425b42e8"} 
[2026-07-08 21:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:07:05] 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-07-08 21:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582247424001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582247424001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:07:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:07:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582247424001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":125843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:07:05] local.INFO: GPS data processed {"connection_id":125843,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:07:05] local.INFO: Acknowledgment sent {"connection_id":125843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:07:05] local.INFO: TCP Data received {"connection_id":127965,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:07:05] local.INFO: Processing buffer {"connection_id":127965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:07:05] local.INFO: IMEI packet received {"connection_id":127965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":127965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:07:06] local.INFO: TCP Data received {"connection_id":127965,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f425eb1d0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425eb1d0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:07:06] local.INFO: Processing buffer {"connection_id":127965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425eb1d0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:07:06] local.INFO: Packet analysis {"connection_id":127965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425e"} 
[2026-07-08 21:07:06] local.INFO: Extracted packet for processing {"connection_id":127965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425e"} 
[2026-07-08 21:07:06] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582305024001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783524930000,"timestamp_ms":1783524930000,"timestamp_seconds":1783524930,"priority":1,"record_length":96,"hex_timestamp":"0000019f425eb1d0"} 
[2026-07-08 21:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-08 21:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582305024001,"66":25778,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582305024001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:07:06] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:07:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582305024001,"power":25778,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":127965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:07:06] local.INFO: GPS data processed {"connection_id":127965,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:07:06] local.INFO: Acknowledgment sent {"connection_id":127965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:07:36] local.INFO: TCP Data received {"connection_id":125843,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f425fdab0012d196500071ff078003e014222..."} 
[2026-07-08 21:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425fdab0012d196500071ff078003e014222..."} 
[2026-07-08 21:07:36] local.INFO: Processing buffer {"connection_id":125843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425fdab0012d196500071ff078003e014222..."} 
[2026-07-08 21:07:36] local.INFO: Packet analysis {"connection_id":125843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425f"} 
[2026-07-08 21:07:36] local.INFO: Extracted packet for processing {"connection_id":125843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425f"} 
[2026-07-08 21:07:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582324480001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783525006000,"timestamp_ms":1783525006000,"timestamp_seconds":1783525006,"priority":1,"record_length":96,"hex_timestamp":"0000019f425fdab0"} 
[2026-07-08 21:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582324480001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582324480001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:07:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:07:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582324480001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":125843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:07:36] local.INFO: GPS data processed {"connection_id":125843,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:07:36] local.INFO: Acknowledgment sent {"connection_id":125843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:07:38] local.INFO: TCP Data received {"connection_id":127965,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f425eb1d0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425eb1d0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:07:38] local.INFO: Processing buffer {"connection_id":127965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425eb1d0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:07:38] local.INFO: Packet analysis {"connection_id":127965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425e"} 
[2026-07-08 21:07:38] local.INFO: Extracted packet for processing {"connection_id":127965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425e"} 
[2026-07-08 21:07:38] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582305024001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783524930000,"timestamp_ms":1783524930000,"timestamp_seconds":1783524930,"priority":1,"record_length":96,"hex_timestamp":"0000019f425eb1d0"} 
[2026-07-08 21:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-08 21:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":127965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":127965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":127965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582305024001,"66":25778,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582305024001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:07:38] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:07:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582305024001,"power":25778,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":127965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:07:38] local.INFO: GPS data processed {"connection_id":127965,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:07:38] local.INFO: Acknowledgment sent {"connection_id":127965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:07:55] local.INFO: TCP Data received {"connection_id":125968,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:07:55] local.INFO: Processing buffer {"connection_id":125968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:07:55] local.INFO: IMEI packet received {"connection_id":125968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":125968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:07:59] local.INFO: TCP Data received {"connection_id":125844,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:07:59] local.INFO: Processing buffer {"connection_id":125844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:07:59] local.INFO: IMEI packet received {"connection_id":125844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":125844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:08:00] local.INFO: TCP Data received {"connection_id":125968,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:08:00] local.INFO: Processing buffer {"connection_id":125968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:08:00] local.INFO: IMEI packet received {"connection_id":125968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":125968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:08:01] local.INFO: TCP Data received {"connection_id":125968,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f425eb1d0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425eb1d0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:08:01] local.INFO: Processing buffer {"connection_id":125968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425eb1d0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:08:01] local.INFO: Packet analysis {"connection_id":125968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425e"} 
[2026-07-08 21:08:01] local.INFO: Extracted packet for processing {"connection_id":125968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425e"} 
[2026-07-08 21:08:01] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582305024001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:08:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783524930000,"timestamp_ms":1783524930000,"timestamp_seconds":1783524930,"priority":1,"record_length":96,"hex_timestamp":"0000019f425eb1d0"} 
[2026-07-08 21:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-08 21:08:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:08:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582305024001,"66":25778,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582305024001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:08:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:08:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582305024001,"power":25778,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":125968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:08:01] local.INFO: GPS data processed {"connection_id":125968,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:08:01] local.INFO: Acknowledgment sent {"connection_id":125968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:08:04] local.INFO: TCP Data received {"connection_id":125844,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:08:04] local.INFO: Processing buffer {"connection_id":125844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:08:04] local.INFO: IMEI packet received {"connection_id":125844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":125844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:08:05] local.INFO: TCP Data received {"connection_id":125844,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f425fdab0012d196500071ff078003e014222..."} 
[2026-07-08 21:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425fdab0012d196500071ff078003e014222..."} 
[2026-07-08 21:08:05] local.INFO: Processing buffer {"connection_id":125844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425fdab0012d196500071ff078003e014222..."} 
[2026-07-08 21:08:05] local.INFO: Packet analysis {"connection_id":125844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425f"} 
[2026-07-08 21:08:05] local.INFO: Extracted packet for processing {"connection_id":125844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425f"} 
[2026-07-08 21:08:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582324480001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783525006000,"timestamp_ms":1783525006000,"timestamp_seconds":1783525006,"priority":1,"record_length":96,"hex_timestamp":"0000019f425fdab0"} 
[2026-07-08 21:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:08:05] 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-07-08 21:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582324480001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582324480001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:08:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:08:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582324480001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":125844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:08:05] local.INFO: GPS data processed {"connection_id":125844,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:08:05] local.INFO: Acknowledgment sent {"connection_id":125844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:08:33] local.INFO: TCP Data received {"connection_id":125968,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f425eb1d0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425eb1d0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:08:33] local.INFO: Processing buffer {"connection_id":125968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425eb1d0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:08:33] local.INFO: Packet analysis {"connection_id":125968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425e"} 
[2026-07-08 21:08:33] local.INFO: Extracted packet for processing {"connection_id":125968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425e"} 
[2026-07-08 21:08:33] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582305024001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783524930000,"timestamp_ms":1783524930000,"timestamp_seconds":1783524930,"priority":1,"record_length":96,"hex_timestamp":"0000019f425eb1d0"} 
[2026-07-08 21:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-08 21:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:08:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582305024001,"66":25778,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582305024001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:08:33] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:08:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582305024001,"power":25778,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":125968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:08:33] local.INFO: GPS data processed {"connection_id":125968,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:08:33] local.INFO: Acknowledgment sent {"connection_id":125968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:08:36] local.INFO: TCP Data received {"connection_id":125844,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f425fdab0012d196500071ff078003e014222..."} 
[2026-07-08 21:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425fdab0012d196500071ff078003e014222..."} 
[2026-07-08 21:08:36] local.INFO: Processing buffer {"connection_id":125844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425fdab0012d196500071ff078003e014222..."} 
[2026-07-08 21:08:36] local.INFO: Packet analysis {"connection_id":125844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425f"} 
[2026-07-08 21:08:36] local.INFO: Extracted packet for processing {"connection_id":125844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425f"} 
[2026-07-08 21:08:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582324480001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783525006000,"timestamp_ms":1783525006000,"timestamp_seconds":1783525006,"priority":1,"record_length":96,"hex_timestamp":"0000019f425fdab0"} 
[2026-07-08 21:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:08:36] 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-07-08 21:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582324480001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582324480001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:08:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:08:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582324480001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":125844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:08:36] local.INFO: GPS data processed {"connection_id":125844,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:08:36] local.INFO: Acknowledgment sent {"connection_id":125844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:09:00] local.INFO: TCP Data received {"connection_id":125969,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:09:00] local.INFO: Processing buffer {"connection_id":125969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:09:00] local.INFO: IMEI packet received {"connection_id":125969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":125969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:09:04] local.INFO: TCP Data received {"connection_id":126734,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:09:04] local.INFO: Processing buffer {"connection_id":126734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:09:04] local.INFO: IMEI packet received {"connection_id":126734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":126734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:09:05] local.INFO: TCP Data received {"connection_id":125969,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:09:05] local.INFO: Processing buffer {"connection_id":125969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:09:05] local.INFO: IMEI packet received {"connection_id":125969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":125969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:09:09] local.INFO: TCP Data received {"connection_id":126734,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:09:09] local.INFO: Processing buffer {"connection_id":126734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:09:09] local.INFO: IMEI packet received {"connection_id":126734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":126734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:09:10] local.INFO: TCP Data received {"connection_id":126734,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f425fdab0012d196500071ff078003e014222..."} 
[2026-07-08 21:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425fdab0012d196500071ff078003e014222..."} 
[2026-07-08 21:09:10] local.INFO: Processing buffer {"connection_id":126734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425fdab0012d196500071ff078003e014222..."} 
[2026-07-08 21:09:10] local.INFO: Packet analysis {"connection_id":126734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425f"} 
[2026-07-08 21:09:10] local.INFO: Extracted packet for processing {"connection_id":126734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425f"} 
[2026-07-08 21:09:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582324480001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:09: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-07-08 21:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783525006000,"timestamp_ms":1783525006000,"timestamp_seconds":1783525006,"priority":1,"record_length":96,"hex_timestamp":"0000019f425fdab0"} 
[2026-07-08 21:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582324480001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582324480001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:09:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:09:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582324480001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":126734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:09:10] local.INFO: GPS data processed {"connection_id":126734,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:09:10] local.INFO: Acknowledgment sent {"connection_id":126734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:09:11] local.INFO: TCP Data received {"connection_id":125969,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f425eb1d0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425eb1d0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:09:11] local.INFO: Processing buffer {"connection_id":125969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425eb1d0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:09:11] local.INFO: Packet analysis {"connection_id":125969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425e"} 
[2026-07-08 21:09:11] local.INFO: Extracted packet for processing {"connection_id":125969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425e"} 
[2026-07-08 21:09:11] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21: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-07-08 21:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582305024001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783524930000,"timestamp_ms":1783524930000,"timestamp_seconds":1783524930,"priority":1,"record_length":96,"hex_timestamp":"0000019f425eb1d0"} 
[2026-07-08 21:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-08 21:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21: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-07-08 21:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582305024001,"66":25778,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582305024001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:09:11] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:09:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582305024001,"power":25778,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":125969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:09:11] local.INFO: GPS data processed {"connection_id":125969,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:09:11] local.INFO: Acknowledgment sent {"connection_id":125969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:09:12] local.INFO: TCP Data received {"connection_id":125969,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f425eb1d0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425eb1d0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:09:12] local.INFO: Processing buffer {"connection_id":125969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425eb1d0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:09:12] local.INFO: Packet analysis {"connection_id":125969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425e"} 
[2026-07-08 21:09:12] local.INFO: Extracted packet for processing {"connection_id":125969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425e"} 
[2026-07-08 21:09:12] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582305024001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783524930000,"timestamp_ms":1783524930000,"timestamp_seconds":1783524930,"priority":1,"record_length":96,"hex_timestamp":"0000019f425eb1d0"} 
[2026-07-08 21:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-08 21:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582305024001,"66":25778,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582305024001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:09:12] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:09:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582305024001,"power":25778,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":125969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:09:12] local.INFO: GPS data processed {"connection_id":125969,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:09:12] local.INFO: Acknowledgment sent {"connection_id":125969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:09:15] local.INFO: TCP Data received {"connection_id":126734,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f425fdab0012d196500071ff078003e014222..."} 
[2026-07-08 21:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425fdab0012d196500071ff078003e014222..."} 
[2026-07-08 21:09:15] local.INFO: Processing buffer {"connection_id":126734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425fdab0012d196500071ff078003e014222..."} 
[2026-07-08 21:09:15] local.INFO: Packet analysis {"connection_id":126734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425f"} 
[2026-07-08 21:09:15] local.INFO: Extracted packet for processing {"connection_id":126734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425f"} 
[2026-07-08 21:09:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582324480001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:09: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-07-08 21:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783525006000,"timestamp_ms":1783525006000,"timestamp_seconds":1783525006,"priority":1,"record_length":96,"hex_timestamp":"0000019f425fdab0"} 
[2026-07-08 21:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:09:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:09:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":126734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":126734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":126734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582324480001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582324480001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:09:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:09:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582324480001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":126734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:09:15] local.INFO: GPS data processed {"connection_id":126734,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:09:15] local.INFO: Acknowledgment sent {"connection_id":126734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:09:56] local.INFO: TCP Data received {"connection_id":126735,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:09:56] local.INFO: Processing buffer {"connection_id":126735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:09:56] local.INFO: IMEI packet received {"connection_id":126735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":126735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:09:59] local.INFO: TCP Data received {"connection_id":125970,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125970,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:09:59] local.INFO: Processing buffer {"connection_id":125970,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:09:59] local.INFO: IMEI packet received {"connection_id":125970,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":125970,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:10:01] local.INFO: TCP Data received {"connection_id":126735,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:10:01] local.INFO: Processing buffer {"connection_id":126735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:10:01] local.INFO: IMEI packet received {"connection_id":126735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":126735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:10:02] local.INFO: TCP Data received {"connection_id":126735,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f425eb1d0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425eb1d0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:10:02] local.INFO: Processing buffer {"connection_id":126735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425eb1d0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:10:02] local.INFO: Packet analysis {"connection_id":126735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425e"} 
[2026-07-08 21:10:02] local.INFO: Extracted packet for processing {"connection_id":126735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425e"} 
[2026-07-08 21:10:02] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582305024001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783524930000,"timestamp_ms":1783524930000,"timestamp_seconds":1783524930,"priority":1,"record_length":96,"hex_timestamp":"0000019f425eb1d0"} 
[2026-07-08 21:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-08 21:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582305024001,"66":25778,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582305024001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:10:02] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:10:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582305024001,"power":25778,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":126735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:10:02] local.INFO: GPS data processed {"connection_id":126735,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:10:02] local.INFO: Acknowledgment sent {"connection_id":126735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:10:04] local.INFO: TCP Data received {"connection_id":125970,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125970,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:10:04] local.INFO: Processing buffer {"connection_id":125970,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:10:04] local.INFO: IMEI packet received {"connection_id":125970,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":125970,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:10:05] local.INFO: TCP Data received {"connection_id":125970,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f425fdab0012d196500071ff078003e014222..."} 
[2026-07-08 21:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425fdab0012d196500071ff078003e014222..."} 
[2026-07-08 21:10:05] local.INFO: Processing buffer {"connection_id":125970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425fdab0012d196500071ff078003e014222..."} 
[2026-07-08 21:10:05] local.INFO: Packet analysis {"connection_id":125970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425f"} 
[2026-07-08 21:10:05] local.INFO: Extracted packet for processing {"connection_id":125970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425f"} 
[2026-07-08 21:10:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582324480001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783525006000,"timestamp_ms":1783525006000,"timestamp_seconds":1783525006,"priority":1,"record_length":96,"hex_timestamp":"0000019f425fdab0"} 
[2026-07-08 21:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582324480001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582324480001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:10:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:10:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582324480001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":125970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:10:05] local.INFO: GPS data processed {"connection_id":125970,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:10:05] local.INFO: Acknowledgment sent {"connection_id":125970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:10:05] local.INFO: TCP Data received {"connection_id":126735,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f425eb1d0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425eb1d0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:10:05] local.INFO: Processing buffer {"connection_id":126735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425eb1d0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:10:05] local.INFO: Packet analysis {"connection_id":126735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425e"} 
[2026-07-08 21:10:05] local.INFO: Extracted packet for processing {"connection_id":126735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425e"} 
[2026-07-08 21:10:05] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582305024001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783524930000,"timestamp_ms":1783524930000,"timestamp_seconds":1783524930,"priority":1,"record_length":96,"hex_timestamp":"0000019f425eb1d0"} 
[2026-07-08 21:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-08 21:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582305024001,"66":25778,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582305024001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:10:05] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:10:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582305024001,"power":25778,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":126735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:10:05] local.INFO: GPS data processed {"connection_id":126735,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:10:05] local.INFO: Acknowledgment sent {"connection_id":126735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:10:15] local.INFO: TCP Data received {"connection_id":127967,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127967,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:10:15] local.INFO: Processing buffer {"connection_id":127967,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:10:15] local.INFO: IMEI packet received {"connection_id":127967,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 21:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":127967,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:10:36] local.INFO: TCP Data received {"connection_id":125970,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f425fdab0012d196500071ff078003e014222..."} 
[2026-07-08 21:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425fdab0012d196500071ff078003e014222..."} 
[2026-07-08 21:10:36] local.INFO: Processing buffer {"connection_id":125970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425fdab0012d196500071ff078003e014222..."} 
[2026-07-08 21:10:36] local.INFO: Packet analysis {"connection_id":125970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425f"} 
[2026-07-08 21:10:36] local.INFO: Extracted packet for processing {"connection_id":125970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425f"} 
[2026-07-08 21:10:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582324480001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783525006000,"timestamp_ms":1783525006000,"timestamp_seconds":1783525006,"priority":1,"record_length":96,"hex_timestamp":"0000019f425fdab0"} 
[2026-07-08 21:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582324480001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582324480001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:10:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:10:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582324480001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:10:36] local.INFO: TCP Data received {"connection_id":126735,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f425eb1d0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425eb1d0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:10:36] local.INFO: Processing buffer {"connection_id":126735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425eb1d0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:10:36] local.INFO: Packet analysis {"connection_id":126735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425e"} 
[2026-07-08 21:10:36] local.INFO: Extracted packet for processing {"connection_id":126735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425e"} 
[2026-07-08 21:10:36] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582305024001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783524930000,"timestamp_ms":1783524930000,"timestamp_seconds":1783524930,"priority":1,"record_length":96,"hex_timestamp":"0000019f425eb1d0"} 
[2026-07-08 21:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-08 21:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582305024001,"66":25778,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582305024001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:10:36] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:10:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582305024001,"power":25778,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":126735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:10:36] local.INFO: GPS data processed {"connection_id":126735,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:10:36] local.INFO: Acknowledgment sent {"connection_id":126735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":125970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:10:36] local.INFO: GPS data processed {"connection_id":125970,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:10:36] local.INFO: Acknowledgment sent {"connection_id":125970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:10:55] local.INFO: TCP Data received {"connection_id":127968,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:10:55] local.INFO: Processing buffer {"connection_id":127968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:10:55] local.INFO: IMEI packet received {"connection_id":127968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":127968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:10:59] local.INFO: TCP Data received {"connection_id":125846,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:10:59] local.INFO: Processing buffer {"connection_id":125846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:10:59] local.INFO: IMEI packet received {"connection_id":125846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":125846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:11:04] local.INFO: TCP Data received {"connection_id":125846,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:11:04] local.INFO: Processing buffer {"connection_id":125846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:11:04] local.INFO: IMEI packet received {"connection_id":125846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":125846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:11:05] local.INFO: TCP Data received {"connection_id":127968,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:11:05] local.INFO: Processing buffer {"connection_id":127968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:11:05] local.INFO: IMEI packet received {"connection_id":127968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":127968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:11:05] local.INFO: TCP Data received {"connection_id":125846,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f425fdab0012d196500071ff078003e014222..."} 
[2026-07-08 21:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425fdab0012d196500071ff078003e014222..."} 
[2026-07-08 21:11:05] local.INFO: Processing buffer {"connection_id":125846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425fdab0012d196500071ff078003e014222..."} 
[2026-07-08 21:11:05] local.INFO: Packet analysis {"connection_id":125846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425f"} 
[2026-07-08 21:11:05] local.INFO: Extracted packet for processing {"connection_id":125846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425f"} 
[2026-07-08 21:11:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582324480001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783525006000,"timestamp_ms":1783525006000,"timestamp_seconds":1783525006,"priority":1,"record_length":96,"hex_timestamp":"0000019f425fdab0"} 
[2026-07-08 21:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582324480001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582324480001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:11:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:11:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582324480001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":125846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:11:05] local.INFO: GPS data processed {"connection_id":125846,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:11:05] local.INFO: Acknowledgment sent {"connection_id":125846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:11:05] local.INFO: TCP Data received {"connection_id":127968,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:11:05] local.INFO: Processing buffer {"connection_id":127968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:11:05] local.INFO: IMEI packet received {"connection_id":127968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":127968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:11:09] local.INFO: TCP Data received {"connection_id":127968,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:11:10] local.INFO: Processing buffer {"connection_id":127968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:11:10] local.INFO: IMEI packet received {"connection_id":127968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":127968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:11:10] local.INFO: TCP Data received {"connection_id":127968,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f42634998012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42634998012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:11:10] local.INFO: Processing buffer {"connection_id":127968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42634998012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:11:10] local.INFO: Packet analysis {"connection_id":127968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4263"} 
[2026-07-08 21:11:10] local.INFO: Extracted packet for processing {"connection_id":127968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4263"} 
[2026-07-08 21:11:10] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582382080001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783525231000,"timestamp_ms":1783525231000,"timestamp_seconds":1783525231,"priority":1,"record_length":96,"hex_timestamp":"0000019f42634998"} 
[2026-07-08 21:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-08 21:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":127968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":127968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":127968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582382080001,"66":25734,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582382080001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:11:10] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:11:10] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582382080001,"power":25734,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":127968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:11:10] local.INFO: GPS data processed {"connection_id":127968,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:11:10] local.INFO: Acknowledgment sent {"connection_id":127968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:11:36] local.INFO: TCP Data received {"connection_id":125846,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f425fdab0012d196500071ff078003e014222..."} 
[2026-07-08 21:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425fdab0012d196500071ff078003e014222..."} 
[2026-07-08 21:11:36] local.INFO: Processing buffer {"connection_id":125846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425fdab0012d196500071ff078003e014222..."} 
[2026-07-08 21:11:36] local.INFO: Packet analysis {"connection_id":125846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425f"} 
[2026-07-08 21:11:36] local.INFO: Extracted packet for processing {"connection_id":125846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425f"} 
[2026-07-08 21:11:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582324480001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783525006000,"timestamp_ms":1783525006000,"timestamp_seconds":1783525006,"priority":1,"record_length":96,"hex_timestamp":"0000019f425fdab0"} 
[2026-07-08 21:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582324480001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582324480001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:11:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:11:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582324480001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":125846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:11:36] local.INFO: GPS data processed {"connection_id":125846,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:11:36] local.INFO: Acknowledgment sent {"connection_id":125846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:11:59] local.INFO: TCP Data received {"connection_id":127969,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:11:59] local.INFO: Processing buffer {"connection_id":127969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:11:59] local.INFO: IMEI packet received {"connection_id":127969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":127969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:12:00] local.INFO: TCP Data received {"connection_id":125847,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:12:00] local.INFO: Processing buffer {"connection_id":125847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:12:00] local.INFO: IMEI packet received {"connection_id":125847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":125847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:12:04] local.INFO: TCP Data received {"connection_id":127969,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:12:04] local.INFO: Processing buffer {"connection_id":127969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:12:04] local.INFO: IMEI packet received {"connection_id":127969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":127969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:12:05] local.INFO: TCP Data received {"connection_id":125847,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:12:05] local.INFO: Processing buffer {"connection_id":125847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:12:05] local.INFO: IMEI packet received {"connection_id":125847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":125847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:12:05] local.INFO: TCP Data received {"connection_id":127969,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f425fdab0012d196500071ff078003e014222..."} 
[2026-07-08 21:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f425fdab0012d196500071ff078003e014222..."} 
[2026-07-08 21:12:05] local.INFO: Processing buffer {"connection_id":127969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f425fdab0012d196500071ff078003e014222..."} 
[2026-07-08 21:12:05] local.INFO: Packet analysis {"connection_id":127969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f425f"} 
[2026-07-08 21:12:05] local.INFO: Extracted packet for processing {"connection_id":127969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f425f"} 
[2026-07-08 21:12:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582324480001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783525006000,"timestamp_ms":1783525006000,"timestamp_seconds":1783525006,"priority":1,"record_length":96,"hex_timestamp":"0000019f425fdab0"} 
[2026-07-08 21:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582324480001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582324480001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:12:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:12:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582324480001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":127969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:12:05] local.INFO: GPS data processed {"connection_id":127969,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:12:05] local.INFO: Acknowledgment sent {"connection_id":127969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:12:06] local.INFO: TCP Data received {"connection_id":125847,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f42634998012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42634998012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:12:06] local.INFO: Processing buffer {"connection_id":125847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42634998012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:12:06] local.INFO: Packet analysis {"connection_id":125847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4263"} 
[2026-07-08 21:12:06] local.INFO: Extracted packet for processing {"connection_id":125847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4263"} 
[2026-07-08 21:12:06] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582382080001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783525231000,"timestamp_ms":1783525231000,"timestamp_seconds":1783525231,"priority":1,"record_length":96,"hex_timestamp":"0000019f42634998"} 
[2026-07-08 21:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-08 21:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582382080001,"66":25734,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582382080001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:12:06] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:12:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582382080001,"power":25734,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":125847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:12:06] local.INFO: GPS data processed {"connection_id":125847,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:12:06] local.INFO: Acknowledgment sent {"connection_id":125847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:12:10] local.INFO: TCP Data received {"connection_id":125847,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f42634998012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42634998012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:12:10] local.INFO: Processing buffer {"connection_id":125847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42634998012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:12:10] local.INFO: Packet analysis {"connection_id":125847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4263"} 
[2026-07-08 21:12:10] local.INFO: Extracted packet for processing {"connection_id":125847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4263"} 
[2026-07-08 21:12:10] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582382080001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783525231000,"timestamp_ms":1783525231000,"timestamp_seconds":1783525231,"priority":1,"record_length":96,"hex_timestamp":"0000019f42634998"} 
[2026-07-08 21:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-08 21:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582382080001,"66":25734,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582382080001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:12:10] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:12:10] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582382080001,"power":25734,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":125847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:12:10] local.INFO: GPS data processed {"connection_id":125847,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:12:10] local.INFO: Acknowledgment sent {"connection_id":125847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:12:36] local.INFO: TCP Data received {"connection_id":127969,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f42647278012d196500071ff078003e014225..."} 
[2026-07-08 21:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42647278012d196500071ff078003e014225..."} 
[2026-07-08 21:12:36] local.INFO: Processing buffer {"connection_id":127969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42647278012d196500071ff078003e014225..."} 
[2026-07-08 21:12:36] local.INFO: Packet analysis {"connection_id":127969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4264"} 
[2026-07-08 21:12:36] local.INFO: Extracted packet for processing {"connection_id":127969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4264"} 
[2026-07-08 21:12:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582401536001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783525307000,"timestamp_ms":1783525307000,"timestamp_seconds":1783525307,"priority":1,"record_length":96,"hex_timestamp":"0000019f42647278"} 
[2026-07-08 21:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 21:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582401536001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582401536001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:12:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:12:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582401536001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":127969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:12:36] local.INFO: GPS data processed {"connection_id":127969,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:12:36] local.INFO: Acknowledgment sent {"connection_id":127969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:12:55] local.INFO: TCP Data received {"connection_id":127971,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:12:55] local.INFO: Processing buffer {"connection_id":127971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:12:55] local.INFO: IMEI packet received {"connection_id":127971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":127971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:13:00] local.INFO: TCP Data received {"connection_id":127971,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:13:00] local.INFO: Processing buffer {"connection_id":127971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:13:00] local.INFO: IMEI packet received {"connection_id":127971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":127971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:13:01] local.INFO: TCP Data received {"connection_id":127971,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f42634998012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42634998012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:13:01] local.INFO: Processing buffer {"connection_id":127971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42634998012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:13:01] local.INFO: Packet analysis {"connection_id":127971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4263"} 
[2026-07-08 21:13:01] local.INFO: Extracted packet for processing {"connection_id":127971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4263"} 
[2026-07-08 21:13:01] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582382080001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783525231000,"timestamp_ms":1783525231000,"timestamp_seconds":1783525231,"priority":1,"record_length":96,"hex_timestamp":"0000019f42634998"} 
[2026-07-08 21:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-08 21:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:13:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582382080001,"66":25734,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582382080001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:13:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:13:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582382080001,"power":25734,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":127971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:13:01] local.INFO: GPS data processed {"connection_id":127971,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:13:01] local.INFO: Acknowledgment sent {"connection_id":127971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:13:04] local.INFO: TCP Data received {"connection_id":125848,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:13:04] local.INFO: Processing buffer {"connection_id":125848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:13:04] local.INFO: IMEI packet received {"connection_id":125848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":125848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:13:09] local.INFO: TCP Data received {"connection_id":125848,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:13:09] local.INFO: Processing buffer {"connection_id":125848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:13:09] local.INFO: IMEI packet received {"connection_id":125848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":125848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:13:10] local.INFO: TCP Data received {"connection_id":125848,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f42647278012d196500071ff078003e014225..."} 
[2026-07-08 21:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42647278012d196500071ff078003e014225..."} 
[2026-07-08 21:13:10] local.INFO: Processing buffer {"connection_id":125848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42647278012d196500071ff078003e014225..."} 
[2026-07-08 21:13:10] local.INFO: Packet analysis {"connection_id":125848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4264"} 
[2026-07-08 21:13:10] local.INFO: Extracted packet for processing {"connection_id":125848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4264"} 
[2026-07-08 21:13:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582401536001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:13: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-07-08 21:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783525307000,"timestamp_ms":1783525307000,"timestamp_seconds":1783525307,"priority":1,"record_length":96,"hex_timestamp":"0000019f42647278"} 
[2026-07-08 21:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 21:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:13:10] 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-07-08 21:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582401536001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582401536001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:13:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:13:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582401536001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":125848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:13:10] local.INFO: GPS data processed {"connection_id":125848,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:13:10] local.INFO: Acknowledgment sent {"connection_id":125848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:13:15] local.INFO: TCP Data received {"connection_id":125848,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f42647278012d196500071ff078003e014225..."} 
[2026-07-08 21:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42647278012d196500071ff078003e014225..."} 
[2026-07-08 21:13:15] local.INFO: Processing buffer {"connection_id":125848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42647278012d196500071ff078003e014225..."} 
[2026-07-08 21:13:15] local.INFO: Packet analysis {"connection_id":125848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4264"} 
[2026-07-08 21:13:15] local.INFO: Extracted packet for processing {"connection_id":125848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4264"} 
[2026-07-08 21:13:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582401536001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21: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-07-08 21:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783525307000,"timestamp_ms":1783525307000,"timestamp_seconds":1783525307,"priority":1,"record_length":96,"hex_timestamp":"0000019f42647278"} 
[2026-07-08 21:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:13:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":96,"data_length":795,"current_offset":136} 
[2026-07-08 21:13:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":125848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":125848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":125848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:13:15] 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-07-08 21:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582401536001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582401536001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:13:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:13:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582401536001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":125848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:13:15] local.INFO: GPS data processed {"connection_id":125848,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:13:15] local.INFO: Acknowledgment sent {"connection_id":125848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:13:32] local.INFO: TCP Data received {"connection_id":127971,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f42634998012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42634998012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:13:32] local.INFO: Processing buffer {"connection_id":127971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42634998012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:13:32] local.INFO: Packet analysis {"connection_id":127971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4263"} 
[2026-07-08 21:13:32] local.INFO: Extracted packet for processing {"connection_id":127971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4263"} 
[2026-07-08 21:13:32] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582382080001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783525231000,"timestamp_ms":1783525231000,"timestamp_seconds":1783525231,"priority":1,"record_length":96,"hex_timestamp":"0000019f42634998"} 
[2026-07-08 21:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-08 21:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582382080001,"66":25734,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582382080001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:13:32] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:13:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582382080001,"power":25734,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":127971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:13:32] local.INFO: GPS data processed {"connection_id":127971,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:13:32] local.INFO: Acknowledgment sent {"connection_id":127971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:13:36] local.INFO: TCP Data received {"connection_id":126736,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-07-08 21:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126736,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-07-08 21:13:36] local.INFO: Processing buffer {"connection_id":126736,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-07-08 21:13:36] local.INFO: Packet analysis {"connection_id":126736,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-07-08 21:13:36] local.INFO: Extracted packet for processing {"connection_id":126736,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-07-08 21:13:36] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-08 21:13:36] 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-07-08 21:13:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-07-08 21:13:36] 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-07-08 21:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-07-08 21:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-07-08 21:13:36] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126736,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-07-08 21:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126736,"device_imei":null,"avl_records_count":1} 
[2026-07-08 21:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126736,"device_imei":null,"avl_records_count":1} 
[2026-07-08 21:13:36] 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-07-08 21:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":126736,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-08 21:13:36] local.INFO: GPS data processed {"connection_id":126736,"processed":0,"errors":0,"total":1} 
[2026-07-08 21:13:36] local.INFO: Acknowledgment sent {"connection_id":126736,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:13:36] local.INFO: TCP Data received {"connection_id":126737,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-07-08 21:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126737,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-07-08 21:13:36] local.INFO: Processing buffer {"connection_id":126737,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-07-08 21:13:36] local.INFO: Packet analysis {"connection_id":126737,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-07-08 21:13:36] local.INFO: Extracted packet for processing {"connection_id":126737,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-07-08 21:13:36] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-08 21:13:36] 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-07-08 21:13:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-07-08 21:13:36] 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-07-08 21:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-07-08 21:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-07-08 21:13:36] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126737,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-07-08 21:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126737,"device_imei":null,"avl_records_count":1} 
[2026-07-08 21:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126737,"device_imei":null,"avl_records_count":1} 
[2026-07-08 21:13:36] 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-07-08 21:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":126737,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-08 21:13:36] local.INFO: GPS data processed {"connection_id":126737,"processed":0,"errors":0,"total":1} 
[2026-07-08 21:13:36] local.INFO: Acknowledgment sent {"connection_id":126737,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:13:40] local.INFO: TCP Data received {"connection_id":127972,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-07-08 21:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127972,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-07-08 21:13:40] local.INFO: Processing buffer {"connection_id":127972,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-07-08 21:13:40] local.INFO: Packet analysis {"connection_id":127972,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-07-08 21:13:40] local.INFO: Extracted packet for processing {"connection_id":127972,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-07-08 21:13:40] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-08 21:13:40] 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-07-08 21:13:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-07-08 21:13:40] 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-07-08 21:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-07-08 21:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-07-08 21:13:40] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":127972,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-07-08 21:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":127972,"device_imei":null,"avl_records_count":1} 
[2026-07-08 21:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":127972,"device_imei":null,"avl_records_count":1} 
[2026-07-08 21:13:40] 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-07-08 21:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":127972,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-08 21:13:40] local.INFO: GPS data processed {"connection_id":127972,"processed":0,"errors":0,"total":1} 
[2026-07-08 21:13:40] local.INFO: Acknowledgment sent {"connection_id":127972,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:13:41] local.INFO: TCP Data received {"connection_id":125972,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-07-08 21:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125972,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-07-08 21:13:41] local.INFO: Processing buffer {"connection_id":125972,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-07-08 21:13:41] local.INFO: Packet analysis {"connection_id":125972,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-07-08 21:13:41] local.INFO: Extracted packet for processing {"connection_id":125972,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-07-08 21:13:41] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-08 21:13: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-07-08 21:13:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-07-08 21:13: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-07-08 21:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-07-08 21:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-07-08 21:13:41] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125972,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-07-08 21:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125972,"device_imei":null,"avl_records_count":1} 
[2026-07-08 21:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125972,"device_imei":null,"avl_records_count":1} 
[2026-07-08 21:13: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-07-08 21:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":125972,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-08 21:13:41] local.INFO: GPS data processed {"connection_id":125972,"processed":0,"errors":0,"total":1} 
[2026-07-08 21:13:41] local.INFO: Acknowledgment sent {"connection_id":125972,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:13:55] local.INFO: TCP Data received {"connection_id":127973,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:13:55] local.INFO: Processing buffer {"connection_id":127973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:13:55] local.INFO: IMEI packet received {"connection_id":127973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":127973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:13:59] local.INFO: TCP Data received {"connection_id":127975,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:13:59] local.INFO: Processing buffer {"connection_id":127975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:13:59] local.INFO: IMEI packet received {"connection_id":127975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":127975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:14:00] local.INFO: TCP Data received {"connection_id":127973,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:14:00] local.INFO: Processing buffer {"connection_id":127973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:14:00] local.INFO: IMEI packet received {"connection_id":127973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":127973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:14:01] local.INFO: TCP Data received {"connection_id":127973,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f42634998012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42634998012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:14:01] local.INFO: Processing buffer {"connection_id":127973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42634998012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:14:01] local.INFO: Packet analysis {"connection_id":127973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4263"} 
[2026-07-08 21:14:01] local.INFO: Extracted packet for processing {"connection_id":127973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4263"} 
[2026-07-08 21:14:01] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582382080001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783525231000,"timestamp_ms":1783525231000,"timestamp_seconds":1783525231,"priority":1,"record_length":96,"hex_timestamp":"0000019f42634998"} 
[2026-07-08 21:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:14:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-08 21:14:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582382080001,"66":25734,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582382080001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:14:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:14:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582382080001,"power":25734,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":127973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:14:01] local.INFO: GPS data processed {"connection_id":127973,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:14:01] local.INFO: Acknowledgment sent {"connection_id":127973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:14:04] local.INFO: TCP Data received {"connection_id":127975,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:14:04] local.INFO: Processing buffer {"connection_id":127975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:14:04] local.INFO: IMEI packet received {"connection_id":127975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":127975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:14:05] local.INFO: TCP Data received {"connection_id":127975,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f42647278012d196500071ff078003e014225..."} 
[2026-07-08 21:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42647278012d196500071ff078003e014225..."} 
[2026-07-08 21:14:05] local.INFO: Processing buffer {"connection_id":127975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42647278012d196500071ff078003e014225..."} 
[2026-07-08 21:14:05] local.INFO: Packet analysis {"connection_id":127975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4264"} 
[2026-07-08 21:14:05] local.INFO: Extracted packet for processing {"connection_id":127975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4264"} 
[2026-07-08 21:14:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582401536001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783525307000,"timestamp_ms":1783525307000,"timestamp_seconds":1783525307,"priority":1,"record_length":96,"hex_timestamp":"0000019f42647278"} 
[2026-07-08 21:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 21:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:14: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-07-08 21:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582401536001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582401536001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:14:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:14:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582401536001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":127975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:14:05] local.INFO: GPS data processed {"connection_id":127975,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:14:05] local.INFO: Acknowledgment sent {"connection_id":127975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:14:33] local.INFO: TCP Data received {"connection_id":127973,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f42634998012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42634998012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:14:33] local.INFO: Processing buffer {"connection_id":127973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42634998012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:14:33] local.INFO: Packet analysis {"connection_id":127973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4263"} 
[2026-07-08 21:14:33] local.INFO: Extracted packet for processing {"connection_id":127973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4263"} 
[2026-07-08 21:14:33] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582382080001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783525231000,"timestamp_ms":1783525231000,"timestamp_seconds":1783525231,"priority":1,"record_length":96,"hex_timestamp":"0000019f42634998"} 
[2026-07-08 21:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-08 21:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:14:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582382080001,"66":25734,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582382080001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:14:33] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:14:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582382080001,"power":25734,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":127973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:14:33] local.INFO: GPS data processed {"connection_id":127973,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:14:33] local.INFO: Acknowledgment sent {"connection_id":127973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:14:36] local.INFO: TCP Data received {"connection_id":127975,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f42647278012d196500071ff078003e014225..."} 
[2026-07-08 21:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42647278012d196500071ff078003e014225..."} 
[2026-07-08 21:14:36] local.INFO: Processing buffer {"connection_id":127975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42647278012d196500071ff078003e014225..."} 
[2026-07-08 21:14:36] local.INFO: Packet analysis {"connection_id":127975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4264"} 
[2026-07-08 21:14:36] local.INFO: Extracted packet for processing {"connection_id":127975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4264"} 
[2026-07-08 21:14:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582401536001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783525307000,"timestamp_ms":1783525307000,"timestamp_seconds":1783525307,"priority":1,"record_length":96,"hex_timestamp":"0000019f42647278"} 
[2026-07-08 21:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 21:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582401536001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582401536001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:14:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:14:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582401536001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":127975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:14:36] local.INFO: GPS data processed {"connection_id":127975,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:14:36] local.INFO: Acknowledgment sent {"connection_id":127975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:14:59] local.INFO: TCP Data received {"connection_id":127976,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:14:59] local.INFO: Processing buffer {"connection_id":127976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:14:59] local.INFO: IMEI packet received {"connection_id":127976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":127976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:15:00] local.INFO: TCP Data received {"connection_id":125849,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:15:00] local.INFO: Processing buffer {"connection_id":125849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:15:00] local.INFO: IMEI packet received {"connection_id":125849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":125849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:15:04] local.INFO: TCP Data received {"connection_id":127976,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:15:04] local.INFO: Processing buffer {"connection_id":127976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:15:04] local.INFO: IMEI packet received {"connection_id":127976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":127976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:15:05] local.INFO: TCP Data received {"connection_id":127976,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f42647278012d196500071ff078003e014225..."} 
[2026-07-08 21:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42647278012d196500071ff078003e014225..."} 
[2026-07-08 21:15:05] local.INFO: Processing buffer {"connection_id":127976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42647278012d196500071ff078003e014225..."} 
[2026-07-08 21:15:05] local.INFO: Packet analysis {"connection_id":127976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4264"} 
[2026-07-08 21:15:05] local.INFO: Extracted packet for processing {"connection_id":127976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4264"} 
[2026-07-08 21:15:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582401536001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783525307000,"timestamp_ms":1783525307000,"timestamp_seconds":1783525307,"priority":1,"record_length":96,"hex_timestamp":"0000019f42647278"} 
[2026-07-08 21:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 21:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582401536001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582401536001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:15:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:15:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582401536001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:15:05] local.INFO: TCP Data received {"connection_id":125849,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:15:05] local.INFO: Processing buffer {"connection_id":125849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:15:05] local.INFO: IMEI packet received {"connection_id":125849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":125849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":127976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:15:05] local.INFO: GPS data processed {"connection_id":127976,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:15:05] local.INFO: Acknowledgment sent {"connection_id":127976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:15:06] local.INFO: TCP Data received {"connection_id":125849,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f42634998012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42634998012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:15:06] local.INFO: Processing buffer {"connection_id":125849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42634998012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:15:06] local.INFO: Packet analysis {"connection_id":125849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4263"} 
[2026-07-08 21:15:06] local.INFO: Extracted packet for processing {"connection_id":125849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4263"} 
[2026-07-08 21:15:06] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582382080001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783525231000,"timestamp_ms":1783525231000,"timestamp_seconds":1783525231,"priority":1,"record_length":96,"hex_timestamp":"0000019f42634998"} 
[2026-07-08 21:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-08 21:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582382080001,"66":25734,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582382080001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:15:06] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:15:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582382080001,"power":25734,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":125849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:15:06] local.INFO: GPS data processed {"connection_id":125849,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:15:06] local.INFO: Acknowledgment sent {"connection_id":125849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:15:10] local.INFO: TCP Data received {"connection_id":125849,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f42634998012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42634998012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:15:10] local.INFO: Processing buffer {"connection_id":125849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42634998012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:15:10] local.INFO: Packet analysis {"connection_id":125849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4263"} 
[2026-07-08 21:15:10] local.INFO: Extracted packet for processing {"connection_id":125849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4263"} 
[2026-07-08 21:15:10] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582382080001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783525231000,"timestamp_ms":1783525231000,"timestamp_seconds":1783525231,"priority":1,"record_length":96,"hex_timestamp":"0000019f42634998"} 
[2026-07-08 21:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-08 21:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582382080001,"66":25734,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582382080001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:15:10] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:15:10] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582382080001,"power":25734,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":125849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:15:10] local.INFO: GPS data processed {"connection_id":125849,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:15:10] local.INFO: Acknowledgment sent {"connection_id":125849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:15:33] local.INFO: TCP Data received {"connection_id":126738,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126738,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:15:33] local.INFO: Processing buffer {"connection_id":126738,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:15:33] local.INFO: IMEI packet received {"connection_id":126738,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 21:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":126738,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:15:36] local.INFO: TCP Data received {"connection_id":127976,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f42647278012d196500071ff078003e014225..."} 
[2026-07-08 21:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42647278012d196500071ff078003e014225..."} 
[2026-07-08 21:15:36] local.INFO: Processing buffer {"connection_id":127976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42647278012d196500071ff078003e014225..."} 
[2026-07-08 21:15:36] local.INFO: Packet analysis {"connection_id":127976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4264"} 
[2026-07-08 21:15:36] local.INFO: Extracted packet for processing {"connection_id":127976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4264"} 
[2026-07-08 21:15:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582401536001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783525307000,"timestamp_ms":1783525307000,"timestamp_seconds":1783525307,"priority":1,"record_length":96,"hex_timestamp":"0000019f42647278"} 
[2026-07-08 21:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 21:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582401536001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582401536001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:15:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:15:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582401536001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":127976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:15:36] local.INFO: GPS data processed {"connection_id":127976,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:15:36] local.INFO: Acknowledgment sent {"connection_id":127976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:15:55] local.INFO: TCP Data received {"connection_id":125973,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:15:55] local.INFO: Processing buffer {"connection_id":125973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:15:55] local.INFO: IMEI packet received {"connection_id":125973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":125973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:15:55] local.INFO: TCP Data received {"connection_id":126739,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126739,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:15:55] local.INFO: Processing buffer {"connection_id":126739,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:15:55] local.INFO: IMEI packet received {"connection_id":126739,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 21:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":126739,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:15:59] local.INFO: TCP Data received {"connection_id":125850,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:15:59] local.INFO: Processing buffer {"connection_id":125850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:15:59] local.INFO: IMEI packet received {"connection_id":125850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":125850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:16:00] local.INFO: TCP Data received {"connection_id":125973,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:16:00] local.INFO: Processing buffer {"connection_id":125973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:16:00] local.INFO: IMEI packet received {"connection_id":125973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":125973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:16:01] local.INFO: TCP Data received {"connection_id":125973,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f42634998012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42634998012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:16:01] local.INFO: Processing buffer {"connection_id":125973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42634998012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:16:01] local.INFO: Packet analysis {"connection_id":125973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4263"} 
[2026-07-08 21:16:01] local.INFO: Extracted packet for processing {"connection_id":125973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4263"} 
[2026-07-08 21:16:01] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582382080001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:16:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783525231000,"timestamp_ms":1783525231000,"timestamp_seconds":1783525231,"priority":1,"record_length":96,"hex_timestamp":"0000019f42634998"} 
[2026-07-08 21:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-08 21:16:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:16:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582382080001,"66":25734,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582382080001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:16:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:16:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582382080001,"power":25734,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":125973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:16:01] local.INFO: GPS data processed {"connection_id":125973,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:16:01] local.INFO: Acknowledgment sent {"connection_id":125973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:16:04] local.INFO: TCP Data received {"connection_id":125850,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:16:04] local.INFO: Processing buffer {"connection_id":125850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:16:04] local.INFO: IMEI packet received {"connection_id":125850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":125850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:16:05] local.INFO: TCP Data received {"connection_id":125850,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f42647278012d196500071ff078003e014225..."} 
[2026-07-08 21:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42647278012d196500071ff078003e014225..."} 
[2026-07-08 21:16:05] local.INFO: Processing buffer {"connection_id":125850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42647278012d196500071ff078003e014225..."} 
[2026-07-08 21:16:05] local.INFO: Packet analysis {"connection_id":125850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4264"} 
[2026-07-08 21:16:05] local.INFO: Extracted packet for processing {"connection_id":125850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4264"} 
[2026-07-08 21:16:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582401536001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783525307000,"timestamp_ms":1783525307000,"timestamp_seconds":1783525307,"priority":1,"record_length":96,"hex_timestamp":"0000019f42647278"} 
[2026-07-08 21:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 21:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582401536001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582401536001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:16:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:16:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582401536001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":125850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:16:05] local.INFO: GPS data processed {"connection_id":125850,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:16:05] local.INFO: Acknowledgment sent {"connection_id":125850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:16:32] local.INFO: TCP Data received {"connection_id":125973,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4267e160012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4267e160012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:16:32] local.INFO: Processing buffer {"connection_id":125973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4267e160012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:16:32] local.INFO: Packet analysis {"connection_id":125973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4267"} 
[2026-07-08 21:16:32] local.INFO: Extracted packet for processing {"connection_id":125973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4267"} 
[2026-07-08 21:16:32] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582459136001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783525532000,"timestamp_ms":1783525532000,"timestamp_seconds":1783525532,"priority":1,"record_length":96,"hex_timestamp":"0000019f4267e160"} 
[2026-07-08 21:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-08 21:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21: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-07-08 21:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582459136001,"66":25702,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582459136001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:16:32] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:16:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582459136001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":125973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:16:32] local.INFO: GPS data processed {"connection_id":125973,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:16:32] local.INFO: Acknowledgment sent {"connection_id":125973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:16:36] local.INFO: TCP Data received {"connection_id":125850,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f42647278012d196500071ff078003e014225..."} 
[2026-07-08 21:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42647278012d196500071ff078003e014225..."} 
[2026-07-08 21:16:36] local.INFO: Processing buffer {"connection_id":125850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42647278012d196500071ff078003e014225..."} 
[2026-07-08 21:16:36] local.INFO: Packet analysis {"connection_id":125850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4264"} 
[2026-07-08 21:16:36] local.INFO: Extracted packet for processing {"connection_id":125850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4264"} 
[2026-07-08 21:16:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582401536001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783525307000,"timestamp_ms":1783525307000,"timestamp_seconds":1783525307,"priority":1,"record_length":96,"hex_timestamp":"0000019f42647278"} 
[2026-07-08 21:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 21:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582401536001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582401536001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:16:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:16:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582401536001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":125850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:16:36] local.INFO: GPS data processed {"connection_id":125850,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:16:36] local.INFO: Acknowledgment sent {"connection_id":125850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:16:59] local.INFO: TCP Data received {"connection_id":125851,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:16:59] local.INFO: Processing buffer {"connection_id":125851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:16:59] local.INFO: IMEI packet received {"connection_id":125851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":125851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:17:00] local.INFO: TCP Data received {"connection_id":125975,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:17:00] local.INFO: Processing buffer {"connection_id":125975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:17:00] local.INFO: IMEI packet received {"connection_id":125975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":125975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:17:04] local.INFO: TCP Data received {"connection_id":125851,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:17:04] local.INFO: Processing buffer {"connection_id":125851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:17:04] local.INFO: IMEI packet received {"connection_id":125851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":125851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:17:05] local.INFO: TCP Data received {"connection_id":125851,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f42647278012d196500071ff078003e014225..."} 
[2026-07-08 21:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42647278012d196500071ff078003e014225..."} 
[2026-07-08 21:17:05] local.INFO: Processing buffer {"connection_id":125851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42647278012d196500071ff078003e014225..."} 
[2026-07-08 21:17:05] local.INFO: Packet analysis {"connection_id":125851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4264"} 
[2026-07-08 21:17:05] local.INFO: Extracted packet for processing {"connection_id":125851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4264"} 
[2026-07-08 21:17:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582401536001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783525307000,"timestamp_ms":1783525307000,"timestamp_seconds":1783525307,"priority":1,"record_length":96,"hex_timestamp":"0000019f42647278"} 
[2026-07-08 21:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 21:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582401536001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582401536001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:17:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:17:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582401536001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":125851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:17:05] local.INFO: GPS data processed {"connection_id":125851,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:17:05] local.INFO: Acknowledgment sent {"connection_id":125851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:17:05] local.INFO: TCP Data received {"connection_id":125975,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:17:05] local.INFO: Processing buffer {"connection_id":125975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:17:05] local.INFO: IMEI packet received {"connection_id":125975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":125975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:17:06] local.INFO: TCP Data received {"connection_id":125975,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4267e160012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4267e160012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:17:06] local.INFO: Processing buffer {"connection_id":125975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4267e160012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:17:06] local.INFO: Packet analysis {"connection_id":125975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4267"} 
[2026-07-08 21:17:06] local.INFO: Extracted packet for processing {"connection_id":125975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4267"} 
[2026-07-08 21:17:06] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582459136001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783525532000,"timestamp_ms":1783525532000,"timestamp_seconds":1783525532,"priority":1,"record_length":96,"hex_timestamp":"0000019f4267e160"} 
[2026-07-08 21:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-08 21:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582459136001,"66":25702,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582459136001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:17:06] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:17:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582459136001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":125975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:17:06] local.INFO: GPS data processed {"connection_id":125975,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:17:06] local.INFO: Acknowledgment sent {"connection_id":125975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:17:10] local.INFO: TCP Data received {"connection_id":125975,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4267e160012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4267e160012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:17:10] local.INFO: Processing buffer {"connection_id":125975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4267e160012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:17:10] local.INFO: Packet analysis {"connection_id":125975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4267"} 
[2026-07-08 21:17:10] local.INFO: Extracted packet for processing {"connection_id":125975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4267"} 
[2026-07-08 21:17:10] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582459136001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783525532000,"timestamp_ms":1783525532000,"timestamp_seconds":1783525532,"priority":1,"record_length":96,"hex_timestamp":"0000019f4267e160"} 
[2026-07-08 21:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-08 21:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582459136001,"66":25702,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582459136001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:17:10] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:17:10] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582459136001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":125975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:17:10] local.INFO: GPS data processed {"connection_id":125975,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:17:10] local.INFO: Acknowledgment sent {"connection_id":125975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:17:36] local.INFO: TCP Data received {"connection_id":125851,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f42690a40012d196500071ff078003e014225..."} 
[2026-07-08 21:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42690a40012d196500071ff078003e014225..."} 
[2026-07-08 21:17:36] local.INFO: Processing buffer {"connection_id":125851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42690a40012d196500071ff078003e014225..."} 
[2026-07-08 21:17:36] local.INFO: Packet analysis {"connection_id":125851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4269"} 
[2026-07-08 21:17:36] local.INFO: Extracted packet for processing {"connection_id":125851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4269"} 
[2026-07-08 21:17:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582478592001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783525608000,"timestamp_ms":1783525608000,"timestamp_seconds":1783525608,"priority":1,"record_length":96,"hex_timestamp":"0000019f42690a40"} 
[2026-07-08 21:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 21:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582478592001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582478592001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:17:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:17:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582478592001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":125851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:17:36] local.INFO: GPS data processed {"connection_id":125851,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:17:36] local.INFO: Acknowledgment sent {"connection_id":125851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:17:55] local.INFO: TCP Data received {"connection_id":125976,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:17:55] local.INFO: Processing buffer {"connection_id":125976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:17:55] local.INFO: IMEI packet received {"connection_id":125976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":125976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:17:59] local.INFO: TCP Data received {"connection_id":126741,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:17:59] local.INFO: Processing buffer {"connection_id":126741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:17:59] local.INFO: IMEI packet received {"connection_id":126741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":126741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:18:00] local.INFO: TCP Data received {"connection_id":125976,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:18:00] local.INFO: Processing buffer {"connection_id":125976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:18:00] local.INFO: IMEI packet received {"connection_id":125976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":125976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:18:01] local.INFO: TCP Data received {"connection_id":125976,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4267e160012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4267e160012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:18:01] local.INFO: Processing buffer {"connection_id":125976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4267e160012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:18:01] local.INFO: Packet analysis {"connection_id":125976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4267"} 
[2026-07-08 21:18:01] local.INFO: Extracted packet for processing {"connection_id":125976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4267"} 
[2026-07-08 21:18:01] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21: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-07-08 21:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582459136001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783525532000,"timestamp_ms":1783525532000,"timestamp_seconds":1783525532,"priority":1,"record_length":96,"hex_timestamp":"0000019f4267e160"} 
[2026-07-08 21:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-08 21:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21: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-07-08 21:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582459136001,"66":25702,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582459136001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:18:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:18:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582459136001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":125976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:18:01] local.INFO: GPS data processed {"connection_id":125976,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:18:01] local.INFO: Acknowledgment sent {"connection_id":125976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:18:04] local.INFO: TCP Data received {"connection_id":126741,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:18:04] local.INFO: Processing buffer {"connection_id":126741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:18:04] local.INFO: IMEI packet received {"connection_id":126741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":126741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:18:05] local.INFO: TCP Data received {"connection_id":126741,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f42690a40012d196500071ff078003e014225..."} 
[2026-07-08 21:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42690a40012d196500071ff078003e014225..."} 
[2026-07-08 21:18:05] local.INFO: Processing buffer {"connection_id":126741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42690a40012d196500071ff078003e014225..."} 
[2026-07-08 21:18:05] local.INFO: Packet analysis {"connection_id":126741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4269"} 
[2026-07-08 21:18:05] local.INFO: Extracted packet for processing {"connection_id":126741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4269"} 
[2026-07-08 21:18:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582478592001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783525608000,"timestamp_ms":1783525608000,"timestamp_seconds":1783525608,"priority":1,"record_length":96,"hex_timestamp":"0000019f42690a40"} 
[2026-07-08 21:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 21:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582478592001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582478592001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:18:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:18:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582478592001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":126741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:18:05] local.INFO: GPS data processed {"connection_id":126741,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:18:05] local.INFO: Acknowledgment sent {"connection_id":126741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:18:33] local.INFO: TCP Data received {"connection_id":125976,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4267e160012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4267e160012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:18:33] local.INFO: Processing buffer {"connection_id":125976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4267e160012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:18:33] local.INFO: Packet analysis {"connection_id":125976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4267"} 
[2026-07-08 21:18:33] local.INFO: Extracted packet for processing {"connection_id":125976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4267"} 
[2026-07-08 21:18:33] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582459136001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783525532000,"timestamp_ms":1783525532000,"timestamp_seconds":1783525532,"priority":1,"record_length":96,"hex_timestamp":"0000019f4267e160"} 
[2026-07-08 21:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-08 21:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582459136001,"66":25702,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582459136001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:18:33] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:18:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582459136001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":125976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:18:33] local.INFO: GPS data processed {"connection_id":125976,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:18:33] local.INFO: Acknowledgment sent {"connection_id":125976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:18:36] local.INFO: TCP Data received {"connection_id":126741,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f42690a40012d196500071ff078003e014225..."} 
[2026-07-08 21:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42690a40012d196500071ff078003e014225..."} 
[2026-07-08 21:18:36] local.INFO: Processing buffer {"connection_id":126741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42690a40012d196500071ff078003e014225..."} 
[2026-07-08 21:18:36] local.INFO: Packet analysis {"connection_id":126741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4269"} 
[2026-07-08 21:18:36] local.INFO: Extracted packet for processing {"connection_id":126741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4269"} 
[2026-07-08 21:18:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582478592001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783525608000,"timestamp_ms":1783525608000,"timestamp_seconds":1783525608,"priority":1,"record_length":96,"hex_timestamp":"0000019f42690a40"} 
[2026-07-08 21:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 21:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582478592001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582478592001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:18:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:18:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582478592001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":126741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:18:36] local.INFO: GPS data processed {"connection_id":126741,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:18:36] local.INFO: Acknowledgment sent {"connection_id":126741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:18:55] local.INFO: TCP Data received {"connection_id":125978,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:18:55] local.INFO: Processing buffer {"connection_id":125978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:18:55] local.INFO: IMEI packet received {"connection_id":125978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":125978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:19:00] local.INFO: TCP Data received {"connection_id":125978,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:19:00] local.INFO: Processing buffer {"connection_id":125978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:19:00] local.INFO: IMEI packet received {"connection_id":125978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":125978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:19:01] local.INFO: TCP Data received {"connection_id":125978,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4267e160012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4267e160012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:19:01] local.INFO: Processing buffer {"connection_id":125978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4267e160012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:19:01] local.INFO: Packet analysis {"connection_id":125978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4267"} 
[2026-07-08 21:19:01] local.INFO: Extracted packet for processing {"connection_id":125978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4267"} 
[2026-07-08 21:19:01] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582459136001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783525532000,"timestamp_ms":1783525532000,"timestamp_seconds":1783525532,"priority":1,"record_length":96,"hex_timestamp":"0000019f4267e160"} 
[2026-07-08 21:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-08 21:19:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:19:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582459136001,"66":25702,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582459136001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:19:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:19:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582459136001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":125978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:19:01] local.INFO: GPS data processed {"connection_id":125978,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:19:01] local.INFO: Acknowledgment sent {"connection_id":125978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:19:04] local.INFO: TCP Data received {"connection_id":125979,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:19:04] local.INFO: Processing buffer {"connection_id":125979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:19:04] local.INFO: IMEI packet received {"connection_id":125979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":125979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:19:05] local.INFO: TCP Data received {"connection_id":125978,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4267e160012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4267e160012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:19:05] local.INFO: Processing buffer {"connection_id":125978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4267e160012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:19:05] local.INFO: Packet analysis {"connection_id":125978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4267"} 
[2026-07-08 21:19:05] local.INFO: Extracted packet for processing {"connection_id":125978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4267"} 
[2026-07-08 21:19:05] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582459136001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783525532000,"timestamp_ms":1783525532000,"timestamp_seconds":1783525532,"priority":1,"record_length":96,"hex_timestamp":"0000019f4267e160"} 
[2026-07-08 21:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-08 21:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582459136001,"66":25702,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582459136001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:19:05] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:19:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582459136001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":125978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:19:05] local.INFO: GPS data processed {"connection_id":125978,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:19:05] local.INFO: Acknowledgment sent {"connection_id":125978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:19:09] local.INFO: TCP Data received {"connection_id":125979,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:19:09] local.INFO: Processing buffer {"connection_id":125979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:19:09] local.INFO: IMEI packet received {"connection_id":125979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":125979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:19:10] local.INFO: TCP Data received {"connection_id":125979,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f42690a40012d196500071ff078003e014225..."} 
[2026-07-08 21:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42690a40012d196500071ff078003e014225..."} 
[2026-07-08 21:19:10] local.INFO: Processing buffer {"connection_id":125979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42690a40012d196500071ff078003e014225..."} 
[2026-07-08 21:19:10] local.INFO: Packet analysis {"connection_id":125979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4269"} 
[2026-07-08 21:19:10] local.INFO: Extracted packet for processing {"connection_id":125979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4269"} 
[2026-07-08 21:19:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582478592001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:19: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-07-08 21:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783525608000,"timestamp_ms":1783525608000,"timestamp_seconds":1783525608,"priority":1,"record_length":96,"hex_timestamp":"0000019f42690a40"} 
[2026-07-08 21:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 21:19:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582478592001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582478592001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:19:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:19:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582478592001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":125979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:19:10] local.INFO: GPS data processed {"connection_id":125979,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:19:10] local.INFO: Acknowledgment sent {"connection_id":125979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:19:14] local.INFO: TCP Data received {"connection_id":125979,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f42690a40012d196500071ff078003e014225..."} 
[2026-07-08 21:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42690a40012d196500071ff078003e014225..."} 
[2026-07-08 21:19:14] local.INFO: Processing buffer {"connection_id":125979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42690a40012d196500071ff078003e014225..."} 
[2026-07-08 21:19:14] local.INFO: Packet analysis {"connection_id":125979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4269"} 
[2026-07-08 21:19:14] local.INFO: Extracted packet for processing {"connection_id":125979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4269"} 
[2026-07-08 21:19:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582478592001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:19:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783525608000,"timestamp_ms":1783525608000,"timestamp_seconds":1783525608,"priority":1,"record_length":96,"hex_timestamp":"0000019f42690a40"} 
[2026-07-08 21:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:19:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 21:19:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:19:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":125979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":125979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":125979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:19:14] 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-07-08 21:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582478592001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582478592001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:19:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:19:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582478592001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":125979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:19:15] local.INFO: GPS data processed {"connection_id":125979,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:19:15] local.INFO: Acknowledgment sent {"connection_id":125979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:19:37] local.INFO: TCP Data received {"connection_id":125978,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4267e160012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4267e160012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:19:37] local.INFO: Processing buffer {"connection_id":125978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4267e160012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:19:37] local.INFO: Packet analysis {"connection_id":125978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4267"} 
[2026-07-08 21:19:37] local.INFO: Extracted packet for processing {"connection_id":125978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4267"} 
[2026-07-08 21:19:37] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582459136001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783525532000,"timestamp_ms":1783525532000,"timestamp_seconds":1783525532,"priority":1,"record_length":96,"hex_timestamp":"0000019f4267e160"} 
[2026-07-08 21:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-08 21:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582459136001,"66":25702,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582459136001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:19:37] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:19:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582459136001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":125978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:19:37] local.INFO: GPS data processed {"connection_id":125978,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:19:37] local.INFO: Acknowledgment sent {"connection_id":125978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:19:55] local.INFO: TCP Data received {"connection_id":126742,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:19:55] local.INFO: Processing buffer {"connection_id":126742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:19:55] local.INFO: IMEI packet received {"connection_id":126742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":126742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:19:59] local.INFO: TCP Data received {"connection_id":127978,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:19:59] local.INFO: Processing buffer {"connection_id":127978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:19:59] local.INFO: IMEI packet received {"connection_id":127978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":127978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:20:00] local.INFO: TCP Data received {"connection_id":126742,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:20:00] local.INFO: Processing buffer {"connection_id":126742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:20:00] local.INFO: IMEI packet received {"connection_id":126742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":126742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:20:01] local.INFO: TCP Data received {"connection_id":126742,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4267e160012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4267e160012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:20:01] local.INFO: Processing buffer {"connection_id":126742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4267e160012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:20:01] local.INFO: Packet analysis {"connection_id":126742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4267"} 
[2026-07-08 21:20:01] local.INFO: Extracted packet for processing {"connection_id":126742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4267"} 
[2026-07-08 21:20:01] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582459136001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783525532000,"timestamp_ms":1783525532000,"timestamp_seconds":1783525532,"priority":1,"record_length":96,"hex_timestamp":"0000019f4267e160"} 
[2026-07-08 21:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-08 21:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:20:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582459136001,"66":25702,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582459136001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:20:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:20:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582459136001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":126742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:20:01] local.INFO: GPS data processed {"connection_id":126742,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:20:01] local.INFO: Acknowledgment sent {"connection_id":126742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:20:04] local.INFO: TCP Data received {"connection_id":127978,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:20:04] local.INFO: Processing buffer {"connection_id":127978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:20:04] local.INFO: IMEI packet received {"connection_id":127978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":127978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:20:05] local.INFO: TCP Data received {"connection_id":127978,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f42690a40012d196500071ff078003e014225..."} 
[2026-07-08 21:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42690a40012d196500071ff078003e014225..."} 
[2026-07-08 21:20:05] local.INFO: Processing buffer {"connection_id":127978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42690a40012d196500071ff078003e014225..."} 
[2026-07-08 21:20:05] local.INFO: Packet analysis {"connection_id":127978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4269"} 
[2026-07-08 21:20:05] local.INFO: Extracted packet for processing {"connection_id":127978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4269"} 
[2026-07-08 21:20:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582478592001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783525608000,"timestamp_ms":1783525608000,"timestamp_seconds":1783525608,"priority":1,"record_length":96,"hex_timestamp":"0000019f42690a40"} 
[2026-07-08 21:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 21:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582478592001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582478592001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:20:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:20:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582478592001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":127978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:20:05] local.INFO: GPS data processed {"connection_id":127978,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:20:05] local.INFO: Acknowledgment sent {"connection_id":127978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:20:33] local.INFO: TCP Data received {"connection_id":126742,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4267e160012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4267e160012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:20:33] local.INFO: Processing buffer {"connection_id":126742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4267e160012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:20:33] local.INFO: Packet analysis {"connection_id":126742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4267"} 
[2026-07-08 21:20:33] local.INFO: Extracted packet for processing {"connection_id":126742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4267"} 
[2026-07-08 21:20:33] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582459136001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783525532000,"timestamp_ms":1783525532000,"timestamp_seconds":1783525532,"priority":1,"record_length":96,"hex_timestamp":"0000019f4267e160"} 
[2026-07-08 21:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-08 21:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:20:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582459136001,"66":25702,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582459136001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:20:33] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:20:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582459136001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":126742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:20:33] local.INFO: GPS data processed {"connection_id":126742,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:20:33] local.INFO: Acknowledgment sent {"connection_id":126742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:20:36] local.INFO: TCP Data received {"connection_id":127978,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f42690a40012d196500071ff078003e014225..."} 
[2026-07-08 21:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42690a40012d196500071ff078003e014225..."} 
[2026-07-08 21:20:36] local.INFO: Processing buffer {"connection_id":127978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42690a40012d196500071ff078003e014225..."} 
[2026-07-08 21:20:36] local.INFO: Packet analysis {"connection_id":127978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4269"} 
[2026-07-08 21:20:36] local.INFO: Extracted packet for processing {"connection_id":127978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4269"} 
[2026-07-08 21:20:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21: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-07-08 21:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582478592001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783525608000,"timestamp_ms":1783525608000,"timestamp_seconds":1783525608,"priority":1,"record_length":96,"hex_timestamp":"0000019f42690a40"} 
[2026-07-08 21:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 21:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21: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-07-08 21:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582478592001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582478592001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:20:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:20:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582478592001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":127978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:20:36] local.INFO: GPS data processed {"connection_id":127978,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:20:36] local.INFO: Acknowledgment sent {"connection_id":127978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:20:55] local.INFO: TCP Data received {"connection_id":126744,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:20:55] local.INFO: Processing buffer {"connection_id":126744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:20:55] local.INFO: IMEI packet received {"connection_id":126744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":126744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:20:59] local.INFO: TCP Data received {"connection_id":125980,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:20:59] local.INFO: Processing buffer {"connection_id":125980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:20:59] local.INFO: IMEI packet received {"connection_id":125980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":125980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:21:00] local.INFO: TCP Data received {"connection_id":126744,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:21:00] local.INFO: Processing buffer {"connection_id":126744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:21:00] local.INFO: IMEI packet received {"connection_id":126744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":126744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:21:01] local.INFO: TCP Data received {"connection_id":126744,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4267e160012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4267e160012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:21:01] local.INFO: Processing buffer {"connection_id":126744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4267e160012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:21:01] local.INFO: Packet analysis {"connection_id":126744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4267"} 
[2026-07-08 21:21:01] local.INFO: Extracted packet for processing {"connection_id":126744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4267"} 
[2026-07-08 21:21:01] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582459136001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783525532000,"timestamp_ms":1783525532000,"timestamp_seconds":1783525532,"priority":1,"record_length":96,"hex_timestamp":"0000019f4267e160"} 
[2026-07-08 21:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-08 21:21:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:21:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582459136001,"66":25702,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582459136001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:21:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:21:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582459136001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":126744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:21:01] local.INFO: GPS data processed {"connection_id":126744,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:21:01] local.INFO: Acknowledgment sent {"connection_id":126744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:21:04] local.INFO: TCP Data received {"connection_id":125980,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:21:04] local.INFO: Processing buffer {"connection_id":125980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:21:04] local.INFO: IMEI packet received {"connection_id":125980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":125980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:21:05] local.INFO: TCP Data received {"connection_id":125980,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f42690a40012d196500071ff078003e014225..."} 
[2026-07-08 21:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42690a40012d196500071ff078003e014225..."} 
[2026-07-08 21:21:05] local.INFO: Processing buffer {"connection_id":125980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42690a40012d196500071ff078003e014225..."} 
[2026-07-08 21:21:05] local.INFO: Packet analysis {"connection_id":125980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4269"} 
[2026-07-08 21:21:05] local.INFO: Extracted packet for processing {"connection_id":125980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4269"} 
[2026-07-08 21:21:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582478592001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783525608000,"timestamp_ms":1783525608000,"timestamp_seconds":1783525608,"priority":1,"record_length":96,"hex_timestamp":"0000019f42690a40"} 
[2026-07-08 21:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 21:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582478592001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582478592001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:21:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:21:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582478592001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":125980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:21:05] local.INFO: GPS data processed {"connection_id":125980,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:21:05] local.INFO: Acknowledgment sent {"connection_id":125980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:21:32] local.INFO: TCP Data received {"connection_id":126744,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f426c7928012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f426c7928012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:21:32] local.INFO: Processing buffer {"connection_id":126744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f426c7928012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:21:32] local.INFO: Packet analysis {"connection_id":126744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f426c"} 
[2026-07-08 21:21:32] local.INFO: Extracted packet for processing {"connection_id":126744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f426c"} 
[2026-07-08 21:21:32] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582536192001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783525833000,"timestamp_ms":1783525833000,"timestamp_seconds":1783525833,"priority":1,"record_length":96,"hex_timestamp":"0000019f426c7928"} 
[2026-07-08 21:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 21:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:21:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582536192001,"66":25647,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582536192001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:21:32] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:21:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582536192001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":126744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:21:32] local.INFO: GPS data processed {"connection_id":126744,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:21:32] local.INFO: Acknowledgment sent {"connection_id":126744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:21:55] local.INFO: TCP Data received {"connection_id":127979,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:21:55] local.INFO: Processing buffer {"connection_id":127979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:21:55] local.INFO: IMEI packet received {"connection_id":127979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":127979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:21:55] local.INFO: TCP Data received {"connection_id":125981,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125981,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:21:55] local.INFO: Processing buffer {"connection_id":125981,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:21:55] local.INFO: IMEI packet received {"connection_id":125981,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 21:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":125981,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:22:00] local.INFO: TCP Data received {"connection_id":126745,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:22:00] local.INFO: Processing buffer {"connection_id":126745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:22:00] local.INFO: IMEI packet received {"connection_id":126745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":126745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:22:00] local.INFO: TCP Data received {"connection_id":127979,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:22:00] local.INFO: Processing buffer {"connection_id":127979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:22:00] local.INFO: IMEI packet received {"connection_id":127979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":127979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:22:01] local.INFO: TCP Data received {"connection_id":127979,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f426c7928012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f426c7928012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:22:01] local.INFO: Processing buffer {"connection_id":127979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f426c7928012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:22:01] local.INFO: Packet analysis {"connection_id":127979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f426c"} 
[2026-07-08 21:22:01] local.INFO: Extracted packet for processing {"connection_id":127979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f426c"} 
[2026-07-08 21:22:01] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582536192001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:22:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783525833000,"timestamp_ms":1783525833000,"timestamp_seconds":1783525833,"priority":1,"record_length":96,"hex_timestamp":"0000019f426c7928"} 
[2026-07-08 21:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:22:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 21:22:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:22:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:22:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582536192001,"66":25647,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582536192001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:22:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:22:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582536192001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":127979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:22:01] local.INFO: GPS data processed {"connection_id":127979,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:22:01] local.INFO: Acknowledgment sent {"connection_id":127979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:22:04] local.INFO: TCP Data received {"connection_id":126745,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:22:04] local.INFO: Processing buffer {"connection_id":126745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:22:04] local.INFO: IMEI packet received {"connection_id":126745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":126745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:22:05] local.INFO: TCP Data received {"connection_id":126745,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f42690a40012d196500071ff078003e014225..."} 
[2026-07-08 21:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42690a40012d196500071ff078003e014225..."} 
[2026-07-08 21:22:05] local.INFO: Processing buffer {"connection_id":126745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42690a40012d196500071ff078003e014225..."} 
[2026-07-08 21:22:05] local.INFO: Packet analysis {"connection_id":126745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4269"} 
[2026-07-08 21:22:05] local.INFO: Extracted packet for processing {"connection_id":126745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4269"} 
[2026-07-08 21:22:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582478592001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783525608000,"timestamp_ms":1783525608000,"timestamp_seconds":1783525608,"priority":1,"record_length":96,"hex_timestamp":"0000019f42690a40"} 
[2026-07-08 21:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 21:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582478592001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582478592001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:22:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:22:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582478592001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":126745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:22:05] local.INFO: GPS data processed {"connection_id":126745,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:22:05] local.INFO: Acknowledgment sent {"connection_id":126745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:22:14] local.INFO: TCP Data received {"connection_id":125980,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f42690a40012d196500071ff078003e014225..."} 
[2026-07-08 21:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42690a40012d196500071ff078003e014225..."} 
[2026-07-08 21:22:14] local.INFO: Processing buffer {"connection_id":125980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42690a40012d196500071ff078003e014225..."} 
[2026-07-08 21:22:14] local.INFO: Packet analysis {"connection_id":125980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4269"} 
[2026-07-08 21:22:14] local.INFO: Extracted packet for processing {"connection_id":125980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4269"} 
[2026-07-08 21:22:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582478592001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783525608000,"timestamp_ms":1783525608000,"timestamp_seconds":1783525608,"priority":1,"record_length":96,"hex_timestamp":"0000019f42690a40"} 
[2026-07-08 21:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:22:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 21:22:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:22:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":125980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":125980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":125980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582478592001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582478592001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:22:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:22:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582478592001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":125980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:22:14] local.INFO: GPS data processed {"connection_id":125980,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:22:14] local.INFO: Acknowledgment sent {"connection_id":125980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:22:33] local.INFO: TCP Data received {"connection_id":127979,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f426c7928012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f426c7928012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:22:33] local.INFO: Processing buffer {"connection_id":127979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f426c7928012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:22:33] local.INFO: Packet analysis {"connection_id":127979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f426c"} 
[2026-07-08 21:22:33] local.INFO: Extracted packet for processing {"connection_id":127979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f426c"} 
[2026-07-08 21:22:33] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21: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-07-08 21:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582536192001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783525833000,"timestamp_ms":1783525833000,"timestamp_seconds":1783525833,"priority":1,"record_length":96,"hex_timestamp":"0000019f426c7928"} 
[2026-07-08 21:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 21:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21: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-07-08 21:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":127979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":127979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":127979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582536192001,"66":25647,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582536192001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:22:33] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:22:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582536192001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":127979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:22:33] local.INFO: GPS data processed {"connection_id":127979,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:22:33] local.INFO: Acknowledgment sent {"connection_id":127979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:22:36] local.INFO: TCP Data received {"connection_id":126745,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f426da208012d196500071ff078003e014223..."} 
[2026-07-08 21:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f426da208012d196500071ff078003e014223..."} 
[2026-07-08 21:22:36] local.INFO: Processing buffer {"connection_id":126745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f426da208012d196500071ff078003e014223..."} 
[2026-07-08 21:22:36] local.INFO: Packet analysis {"connection_id":126745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f426d"} 
[2026-07-08 21:22:36] local.INFO: Extracted packet for processing {"connection_id":126745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f426d"} 
[2026-07-08 21:22:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582555648001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783525909000,"timestamp_ms":1783525909000,"timestamp_seconds":1783525909,"priority":1,"record_length":96,"hex_timestamp":"0000019f426da208"} 
[2026-07-08 21:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:22: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-07-08 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 21:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582555648001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582555648001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:22:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:22:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582555648001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":126745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:22:36] local.INFO: GPS data processed {"connection_id":126745,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:22:36] local.INFO: Acknowledgment sent {"connection_id":126745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:23:00] local.INFO: TCP Data received {"connection_id":125983,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:23:00] local.INFO: Processing buffer {"connection_id":125983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:23:00] local.INFO: IMEI packet received {"connection_id":125983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":125983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:23:04] local.INFO: TCP Data received {"connection_id":127980,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:23:04] local.INFO: Processing buffer {"connection_id":127980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:23:04] local.INFO: IMEI packet received {"connection_id":127980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":127980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:23:05] local.INFO: TCP Data received {"connection_id":125983,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:23:05] local.INFO: Processing buffer {"connection_id":125983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:23:05] local.INFO: IMEI packet received {"connection_id":125983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":125983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:23:09] local.INFO: TCP Data received {"connection_id":127980,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:23:09] local.INFO: Processing buffer {"connection_id":127980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:23:09] local.INFO: IMEI packet received {"connection_id":127980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":127980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:23:10] local.INFO: TCP Data received {"connection_id":127980,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f426da208012d196500071ff078003e014223..."} 
[2026-07-08 21:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f426da208012d196500071ff078003e014223..."} 
[2026-07-08 21:23:10] local.INFO: Processing buffer {"connection_id":127980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f426da208012d196500071ff078003e014223..."} 
[2026-07-08 21:23:10] local.INFO: Packet analysis {"connection_id":127980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f426d"} 
[2026-07-08 21:23:10] local.INFO: Extracted packet for processing {"connection_id":127980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f426d"} 
[2026-07-08 21:23:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582555648001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:23: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-07-08 21:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783525909000,"timestamp_ms":1783525909000,"timestamp_seconds":1783525909,"priority":1,"record_length":96,"hex_timestamp":"0000019f426da208"} 
[2026-07-08 21:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 21:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":127980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":127980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":127980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582555648001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582555648001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:23:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:23:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582555648001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":127980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:23:10] local.INFO: GPS data processed {"connection_id":127980,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:23:10] local.INFO: Acknowledgment sent {"connection_id":127980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:23:12] local.INFO: TCP Data received {"connection_id":125983,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f426c7928012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f426c7928012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:23:12] local.INFO: Processing buffer {"connection_id":125983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f426c7928012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:23:12] local.INFO: Packet analysis {"connection_id":125983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f426c"} 
[2026-07-08 21:23:12] local.INFO: Extracted packet for processing {"connection_id":125983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f426c"} 
[2026-07-08 21:23:12] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582536192001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783525833000,"timestamp_ms":1783525833000,"timestamp_seconds":1783525833,"priority":1,"record_length":96,"hex_timestamp":"0000019f426c7928"} 
[2026-07-08 21:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 21:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582536192001,"66":25647,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582536192001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:23:12] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:23:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582536192001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":125983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:23:12] local.INFO: GPS data processed {"connection_id":125983,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:23:12] local.INFO: Acknowledgment sent {"connection_id":125983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:23:13] local.INFO: TCP Data received {"connection_id":125983,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f426c7928012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f426c7928012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:23:13] local.INFO: Processing buffer {"connection_id":125983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f426c7928012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:23:13] local.INFO: Packet analysis {"connection_id":125983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f426c"} 
[2026-07-08 21:23:13] local.INFO: Extracted packet for processing {"connection_id":125983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f426c"} 
[2026-07-08 21:23:13] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582536192001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783525833000,"timestamp_ms":1783525833000,"timestamp_seconds":1783525833,"priority":1,"record_length":96,"hex_timestamp":"0000019f426c7928"} 
[2026-07-08 21:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 21:23:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":125983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":125983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":125983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582536192001,"66":25647,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582536192001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:23:13] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:23:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582536192001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":125983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:23:13] local.INFO: GPS data processed {"connection_id":125983,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:23:13] local.INFO: Acknowledgment sent {"connection_id":125983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:23:15] local.INFO: TCP Data received {"connection_id":127980,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f426da208012d196500071ff078003e014223..."} 
[2026-07-08 21:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f426da208012d196500071ff078003e014223..."} 
[2026-07-08 21:23:15] local.INFO: Processing buffer {"connection_id":127980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f426da208012d196500071ff078003e014223..."} 
[2026-07-08 21:23:15] local.INFO: Packet analysis {"connection_id":127980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f426d"} 
[2026-07-08 21:23:15] local.INFO: Extracted packet for processing {"connection_id":127980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f426d"} 
[2026-07-08 21:23:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582555648001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21: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-07-08 21:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783525909000,"timestamp_ms":1783525909000,"timestamp_seconds":1783525909,"priority":1,"record_length":96,"hex_timestamp":"0000019f426da208"} 
[2026-07-08 21:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":107,"data_length":795,"current_offset":136} 
[2026-07-08 21:23: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-07-08 21:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":127980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":127980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":127980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582555648001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582555648001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:23:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:23:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582555648001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":127980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:23:15] local.INFO: GPS data processed {"connection_id":127980,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:23:15] local.INFO: Acknowledgment sent {"connection_id":127980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:23:55] local.INFO: TCP Data received {"connection_id":126746,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:23:55] local.INFO: Processing buffer {"connection_id":126746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:23:55] local.INFO: IMEI packet received {"connection_id":126746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":126746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:23:59] local.INFO: TCP Data received {"connection_id":125984,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:23:59] local.INFO: Processing buffer {"connection_id":125984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:23:59] local.INFO: IMEI packet received {"connection_id":125984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":125984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:24:00] local.INFO: TCP Data received {"connection_id":126746,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:24:00] local.INFO: Processing buffer {"connection_id":126746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:24:00] local.INFO: IMEI packet received {"connection_id":126746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":126746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:24:03] local.INFO: TCP Data received {"connection_id":126746,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f426c7928012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f426c7928012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:24:03] local.INFO: Processing buffer {"connection_id":126746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f426c7928012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:24:03] local.INFO: Packet analysis {"connection_id":126746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f426c"} 
[2026-07-08 21:24:03] local.INFO: Extracted packet for processing {"connection_id":126746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f426c"} 
[2026-07-08 21:24:03] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21: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-07-08 21:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582536192001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783525833000,"timestamp_ms":1783525833000,"timestamp_seconds":1783525833,"priority":1,"record_length":96,"hex_timestamp":"0000019f426c7928"} 
[2026-07-08 21:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 21:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21: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-07-08 21:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582536192001,"66":25647,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582536192001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:24:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:24:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582536192001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":126746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:24:03] local.INFO: GPS data processed {"connection_id":126746,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:24:03] local.INFO: Acknowledgment sent {"connection_id":126746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:24:04] local.INFO: TCP Data received {"connection_id":125984,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:24:04] local.INFO: Processing buffer {"connection_id":125984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:24:04] local.INFO: IMEI packet received {"connection_id":125984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":125984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:24:05] local.INFO: TCP Data received {"connection_id":125984,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f426da208012d196500071ff078003e014223..."} 
[2026-07-08 21:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f426da208012d196500071ff078003e014223..."} 
[2026-07-08 21:24:05] local.INFO: Processing buffer {"connection_id":125984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f426da208012d196500071ff078003e014223..."} 
[2026-07-08 21:24:05] local.INFO: Packet analysis {"connection_id":125984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f426d"} 
[2026-07-08 21:24:05] local.INFO: Extracted packet for processing {"connection_id":125984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f426d"} 
[2026-07-08 21:24:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582555648001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783525909000,"timestamp_ms":1783525909000,"timestamp_seconds":1783525909,"priority":1,"record_length":96,"hex_timestamp":"0000019f426da208"} 
[2026-07-08 21:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 21:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582555648001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582555648001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:24:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:24:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582555648001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":125984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:24:05] local.INFO: GPS data processed {"connection_id":125984,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:24:05] local.INFO: Acknowledgment sent {"connection_id":125984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:24:36] local.INFO: TCP Data received {"connection_id":125984,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f426da208012d196500071ff078003e014223..."} 
[2026-07-08 21:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f426da208012d196500071ff078003e014223..."} 
[2026-07-08 21:24:36] local.INFO: Processing buffer {"connection_id":125984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f426da208012d196500071ff078003e014223..."} 
[2026-07-08 21:24:36] local.INFO: Packet analysis {"connection_id":125984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f426d"} 
[2026-07-08 21:24:36] local.INFO: Extracted packet for processing {"connection_id":125984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f426d"} 
[2026-07-08 21:24:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21: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-07-08 21:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582555648001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783525909000,"timestamp_ms":1783525909000,"timestamp_seconds":1783525909,"priority":1,"record_length":96,"hex_timestamp":"0000019f426da208"} 
[2026-07-08 21:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:24: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-07-08 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 21:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582555648001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582555648001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:24:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:24:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582555648001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":125984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:24:36] local.INFO: GPS data processed {"connection_id":125984,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:24:36] local.INFO: Acknowledgment sent {"connection_id":125984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:24:37] local.INFO: TCP Data received {"connection_id":126746,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f426c7928012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f426c7928012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:24:37] local.INFO: Processing buffer {"connection_id":126746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f426c7928012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:24:37] local.INFO: Packet analysis {"connection_id":126746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f426c"} 
[2026-07-08 21:24:37] local.INFO: Extracted packet for processing {"connection_id":126746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f426c"} 
[2026-07-08 21:24:37] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582536192001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783525833000,"timestamp_ms":1783525833000,"timestamp_seconds":1783525833,"priority":1,"record_length":96,"hex_timestamp":"0000019f426c7928"} 
[2026-07-08 21:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 21:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582536192001,"66":25647,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582536192001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:24:37] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:24:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582536192001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":126746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:24:37] local.INFO: GPS data processed {"connection_id":126746,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:24:37] local.INFO: Acknowledgment sent {"connection_id":126746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:24:55] local.INFO: TCP Data received {"connection_id":125853,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:24:55] local.INFO: Processing buffer {"connection_id":125853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:24:55] local.INFO: IMEI packet received {"connection_id":125853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":125853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:24:59] local.INFO: TCP Data received {"connection_id":126747,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:24:59] local.INFO: Processing buffer {"connection_id":126747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:24:59] local.INFO: IMEI packet received {"connection_id":126747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":126747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:25:00] local.INFO: TCP Data received {"connection_id":125853,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:25:00] local.INFO: Processing buffer {"connection_id":125853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:25:00] local.INFO: IMEI packet received {"connection_id":125853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":125853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:25:01] local.INFO: TCP Data received {"connection_id":125853,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f426c7928012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f426c7928012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:25:01] local.INFO: Processing buffer {"connection_id":125853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f426c7928012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:25:01] local.INFO: Packet analysis {"connection_id":125853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f426c"} 
[2026-07-08 21:25:01] local.INFO: Extracted packet for processing {"connection_id":125853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f426c"} 
[2026-07-08 21:25:01] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21: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-07-08 21:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582536192001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783525833000,"timestamp_ms":1783525833000,"timestamp_seconds":1783525833,"priority":1,"record_length":96,"hex_timestamp":"0000019f426c7928"} 
[2026-07-08 21:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 21:25:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21: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-07-08 21:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582536192001,"66":25647,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582536192001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:25:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:25:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582536192001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":125853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:25:01] local.INFO: GPS data processed {"connection_id":125853,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:25:01] local.INFO: Acknowledgment sent {"connection_id":125853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:25:04] local.INFO: TCP Data received {"connection_id":126747,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:25:04] local.INFO: Processing buffer {"connection_id":126747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:25:04] local.INFO: IMEI packet received {"connection_id":126747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":126747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:25:05] local.INFO: TCP Data received {"connection_id":126747,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f426da208012d196500071ff078003e014223..."} 
[2026-07-08 21:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f426da208012d196500071ff078003e014223..."} 
[2026-07-08 21:25:05] local.INFO: Processing buffer {"connection_id":126747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f426da208012d196500071ff078003e014223..."} 
[2026-07-08 21:25:05] local.INFO: Packet analysis {"connection_id":126747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f426d"} 
[2026-07-08 21:25:05] local.INFO: Extracted packet for processing {"connection_id":126747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f426d"} 
[2026-07-08 21:25:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582555648001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783525909000,"timestamp_ms":1783525909000,"timestamp_seconds":1783525909,"priority":1,"record_length":96,"hex_timestamp":"0000019f426da208"} 
[2026-07-08 21:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 21:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582555648001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582555648001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:25:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:25:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582555648001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":126747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:25:05] local.INFO: GPS data processed {"connection_id":126747,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:25:05] local.INFO: Acknowledgment sent {"connection_id":126747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:25:34] local.INFO: TCP Data received {"connection_id":125853,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f426c7928012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f426c7928012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:25:34] local.INFO: Processing buffer {"connection_id":125853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f426c7928012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:25:34] local.INFO: Packet analysis {"connection_id":125853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f426c"} 
[2026-07-08 21:25:34] local.INFO: Extracted packet for processing {"connection_id":125853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f426c"} 
[2026-07-08 21:25:34] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21: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-07-08 21:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582536192001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783525833000,"timestamp_ms":1783525833000,"timestamp_seconds":1783525833,"priority":1,"record_length":96,"hex_timestamp":"0000019f426c7928"} 
[2026-07-08 21:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 21:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21: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-07-08 21:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582536192001,"66":25647,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582536192001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:25:34] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:25:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582536192001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":125853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:25:34] local.INFO: GPS data processed {"connection_id":125853,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:25:34] local.INFO: Acknowledgment sent {"connection_id":125853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:25:36] local.INFO: TCP Data received {"connection_id":126747,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f426da208012d196500071ff078003e014223..."} 
[2026-07-08 21:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f426da208012d196500071ff078003e014223..."} 
[2026-07-08 21:25:36] local.INFO: Processing buffer {"connection_id":126747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f426da208012d196500071ff078003e014223..."} 
[2026-07-08 21:25:36] local.INFO: Packet analysis {"connection_id":126747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f426d"} 
[2026-07-08 21:25:36] local.INFO: Extracted packet for processing {"connection_id":126747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f426d"} 
[2026-07-08 21:25:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582555648001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783525909000,"timestamp_ms":1783525909000,"timestamp_seconds":1783525909,"priority":1,"record_length":96,"hex_timestamp":"0000019f426da208"} 
[2026-07-08 21:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:25: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-07-08 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 21:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582555648001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582555648001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:25:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:25:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582555648001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":126747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:25:36] local.INFO: GPS data processed {"connection_id":126747,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:25:36] local.INFO: Acknowledgment sent {"connection_id":126747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:25:59] local.INFO: TCP Data received {"connection_id":125854,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:25:59] local.INFO: Processing buffer {"connection_id":125854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:25:59] local.INFO: IMEI packet received {"connection_id":125854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":125854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:26:00] local.INFO: TCP Data received {"connection_id":125986,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:26:00] local.INFO: Processing buffer {"connection_id":125986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:26:00] local.INFO: IMEI packet received {"connection_id":125986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":125986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:26:04] local.INFO: TCP Data received {"connection_id":125854,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:26:04] local.INFO: Processing buffer {"connection_id":125854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:26:04] local.INFO: IMEI packet received {"connection_id":125854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":125854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:26:05] local.INFO: TCP Data received {"connection_id":125986,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:26:05] local.INFO: Processing buffer {"connection_id":125986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:26:05] local.INFO: IMEI packet received {"connection_id":125986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":125986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:26:05] local.INFO: TCP Data received {"connection_id":125854,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f426da208012d196500071ff078003e014223..."} 
[2026-07-08 21:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f426da208012d196500071ff078003e014223..."} 
[2026-07-08 21:26:05] local.INFO: Processing buffer {"connection_id":125854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f426da208012d196500071ff078003e014223..."} 
[2026-07-08 21:26:05] local.INFO: Packet analysis {"connection_id":125854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f426d"} 
[2026-07-08 21:26:05] local.INFO: Extracted packet for processing {"connection_id":125854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f426d"} 
[2026-07-08 21:26:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582555648001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783525909000,"timestamp_ms":1783525909000,"timestamp_seconds":1783525909,"priority":1,"record_length":96,"hex_timestamp":"0000019f426da208"} 
[2026-07-08 21:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 21:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:26:05] 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-07-08 21:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582555648001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582555648001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:26:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:26:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582555648001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":125854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:26:05] local.INFO: GPS data processed {"connection_id":125854,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:26:05] local.INFO: Acknowledgment sent {"connection_id":125854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:26:10] local.INFO: TCP Data received {"connection_id":125986,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:26:10] local.INFO: Processing buffer {"connection_id":125986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:26:10] local.INFO: IMEI packet received {"connection_id":125986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":125986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:26:11] local.INFO: TCP Data received {"connection_id":125986,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f426c7928012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f426c7928012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:26:11] local.INFO: Processing buffer {"connection_id":125986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f426c7928012d77a10005f2a618001e010b2c..."} 
[2026-07-08 21:26:11] local.INFO: Packet analysis {"connection_id":125986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f426c"} 
[2026-07-08 21:26:11] local.INFO: Extracted packet for processing {"connection_id":125986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f426c"} 
[2026-07-08 21:26:11] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":44,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582536192001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783525833000,"timestamp_ms":1783525833000,"timestamp_seconds":1783525833,"priority":1,"record_length":96,"hex_timestamp":"0000019f426c7928"} 
[2026-07-08 21:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-08 21:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582536192001,"66":25647,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582536192001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:26:11] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:26:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582536192001,"power":25647,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":125986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:26:11] local.INFO: GPS data processed {"connection_id":125986,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:26:11] local.INFO: Acknowledgment sent {"connection_id":125986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:26:12] local.INFO: TCP Data received {"connection_id":125986,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f427110f0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f427110f0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:26:12] local.INFO: Processing buffer {"connection_id":125986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f427110f0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:26:12] local.INFO: Packet analysis {"connection_id":125986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4271"} 
[2026-07-08 21:26:12] local.INFO: Extracted packet for processing {"connection_id":125986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4271"} 
[2026-07-08 21:26:12] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582613248001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783526134000,"timestamp_ms":1783526134000,"timestamp_seconds":1783526134,"priority":1,"record_length":96,"hex_timestamp":"0000019f427110f0"} 
[2026-07-08 21:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 21:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":125986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":125986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":125986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582613248001,"66":25375,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582613248001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:26:12] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:26:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582613248001,"power":25375,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":125986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:26:12] local.INFO: GPS data processed {"connection_id":125986,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:26:12] local.INFO: Acknowledgment sent {"connection_id":125986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:26:36] local.INFO: TCP Data received {"connection_id":125854,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f426da208012d196500071ff078003e014223..."} 
[2026-07-08 21:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f426da208012d196500071ff078003e014223..."} 
[2026-07-08 21:26:36] local.INFO: Processing buffer {"connection_id":125854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f426da208012d196500071ff078003e014223..."} 
[2026-07-08 21:26:36] local.INFO: Packet analysis {"connection_id":125854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f426d"} 
[2026-07-08 21:26:36] local.INFO: Extracted packet for processing {"connection_id":125854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f426d"} 
[2026-07-08 21:26:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582555648001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783525909000,"timestamp_ms":1783525909000,"timestamp_seconds":1783525909,"priority":1,"record_length":96,"hex_timestamp":"0000019f426da208"} 
[2026-07-08 21:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:26: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-07-08 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 21:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:26:36] 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-07-08 21:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582555648001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582555648001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:26:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:26:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582555648001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":125854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:26:36] local.INFO: GPS data processed {"connection_id":125854,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:26:36] local.INFO: Acknowledgment sent {"connection_id":125854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:26:55] local.INFO: TCP Data received {"connection_id":127982,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:26:55] local.INFO: Processing buffer {"connection_id":127982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:26:55] local.INFO: IMEI packet received {"connection_id":127982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":127982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:26:59] local.INFO: TCP Data received {"connection_id":125856,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:26:59] local.INFO: Processing buffer {"connection_id":125856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:26:59] local.INFO: IMEI packet received {"connection_id":125856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":125856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:27:00] local.INFO: TCP Data received {"connection_id":127982,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:27:00] local.INFO: Processing buffer {"connection_id":127982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:27:00] local.INFO: IMEI packet received {"connection_id":127982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":127982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:27:01] local.INFO: TCP Data received {"connection_id":127982,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f427110f0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f427110f0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:27:01] local.INFO: Processing buffer {"connection_id":127982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f427110f0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:27:01] local.INFO: Packet analysis {"connection_id":127982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4271"} 
[2026-07-08 21:27:01] local.INFO: Extracted packet for processing {"connection_id":127982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4271"} 
[2026-07-08 21:27:01] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582613248001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783526134000,"timestamp_ms":1783526134000,"timestamp_seconds":1783526134,"priority":1,"record_length":96,"hex_timestamp":"0000019f427110f0"} 
[2026-07-08 21:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 21:27:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:27:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":127982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":127982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":127982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582613248001,"66":25375,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582613248001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:27:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:27:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582613248001,"power":25375,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":127982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:27:01] local.INFO: GPS data processed {"connection_id":127982,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:27:01] local.INFO: Acknowledgment sent {"connection_id":127982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:27:04] local.INFO: TCP Data received {"connection_id":125856,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:27:04] local.INFO: Processing buffer {"connection_id":125856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:27:04] local.INFO: IMEI packet received {"connection_id":125856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":125856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:27:05] local.INFO: TCP Data received {"connection_id":125856,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f426da208012d196500071ff078003e014223..."} 
[2026-07-08 21:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f426da208012d196500071ff078003e014223..."} 
[2026-07-08 21:27:05] local.INFO: Processing buffer {"connection_id":125856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f426da208012d196500071ff078003e014223..."} 
[2026-07-08 21:27:05] local.INFO: Packet analysis {"connection_id":125856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f426d"} 
[2026-07-08 21:27:05] local.INFO: Extracted packet for processing {"connection_id":125856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f426d"} 
[2026-07-08 21:27:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582555648001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783525909000,"timestamp_ms":1783525909000,"timestamp_seconds":1783525909,"priority":1,"record_length":96,"hex_timestamp":"0000019f426da208"} 
[2026-07-08 21:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 21:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:27:05] 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-07-08 21:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582555648001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582555648001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:27:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:27:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582555648001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":125856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:27:05] local.INFO: GPS data processed {"connection_id":125856,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:27:05] local.INFO: Acknowledgment sent {"connection_id":125856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:27:10] local.INFO: TCP Data received {"connection_id":125855,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125855,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:27:10] local.INFO: Processing buffer {"connection_id":125855,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:27:10] local.INFO: IMEI packet received {"connection_id":125855,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 21:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":125855,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:27:32] local.INFO: TCP Data received {"connection_id":127982,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f427110f0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f427110f0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:27:32] local.INFO: Processing buffer {"connection_id":127982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f427110f0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:27:32] local.INFO: Packet analysis {"connection_id":127982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4271"} 
[2026-07-08 21:27:32] local.INFO: Extracted packet for processing {"connection_id":127982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4271"} 
[2026-07-08 21:27:32] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582613248001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783526134000,"timestamp_ms":1783526134000,"timestamp_seconds":1783526134,"priority":1,"record_length":96,"hex_timestamp":"0000019f427110f0"} 
[2026-07-08 21:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 21:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:27:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":127982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":127982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":127982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582613248001,"66":25375,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582613248001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:27:32] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:27:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582613248001,"power":25375,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":127982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:27:33] local.INFO: GPS data processed {"connection_id":127982,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:27:33] local.INFO: Acknowledgment sent {"connection_id":127982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:27:36] local.INFO: TCP Data received {"connection_id":125856,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f427239d0012d196500071ff078003e014224..."} 
[2026-07-08 21:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f427239d0012d196500071ff078003e014224..."} 
[2026-07-08 21:27:36] local.INFO: Processing buffer {"connection_id":125856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f427239d0012d196500071ff078003e014224..."} 
[2026-07-08 21:27:36] local.INFO: Packet analysis {"connection_id":125856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4272"} 
[2026-07-08 21:27:36] local.INFO: Extracted packet for processing {"connection_id":125856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4272"} 
[2026-07-08 21:27:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582632704001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783526210000,"timestamp_ms":1783526210000,"timestamp_seconds":1783526210,"priority":1,"record_length":96,"hex_timestamp":"0000019f427239d0"} 
[2026-07-08 21:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:27:36] 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-07-08 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 21:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:27:36] 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-07-08 21:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582632704001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582632704001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:27:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:27:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582632704001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":125856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:27:36] local.INFO: GPS data processed {"connection_id":125856,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:27:36] local.INFO: Acknowledgment sent {"connection_id":125856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:27:55] local.INFO: TCP Data received {"connection_id":127984,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:27:55] local.INFO: Processing buffer {"connection_id":127984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:27:55] local.INFO: IMEI packet received {"connection_id":127984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":127984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:27:55] local.INFO: TCP Data received {"connection_id":127983,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127983,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:27:55] local.INFO: Processing buffer {"connection_id":127983,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:27:55] local.INFO: IMEI packet received {"connection_id":127983,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 21:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":127983,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:27:59] local.INFO: TCP Data received {"connection_id":126748,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:27:59] local.INFO: Processing buffer {"connection_id":126748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:27:59] local.INFO: IMEI packet received {"connection_id":126748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":126748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:28:00] local.INFO: TCP Data received {"connection_id":127984,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:28:00] local.INFO: Processing buffer {"connection_id":127984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:28:00] local.INFO: IMEI packet received {"connection_id":127984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":127984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:28:04] local.INFO: TCP Data received {"connection_id":126748,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:28:04] local.INFO: Processing buffer {"connection_id":126748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:28:04] local.INFO: IMEI packet received {"connection_id":126748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":126748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:28:04] local.INFO: TCP Data received {"connection_id":127984,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f427110f0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f427110f0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:28:04] local.INFO: Processing buffer {"connection_id":127984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f427110f0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:28:04] local.INFO: Packet analysis {"connection_id":127984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4271"} 
[2026-07-08 21:28:04] local.INFO: Extracted packet for processing {"connection_id":127984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4271"} 
[2026-07-08 21:28:04] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582613248001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783526134000,"timestamp_ms":1783526134000,"timestamp_seconds":1783526134,"priority":1,"record_length":96,"hex_timestamp":"0000019f427110f0"} 
[2026-07-08 21:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 21:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":127984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":127984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":127984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582613248001,"66":25375,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582613248001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:28:04] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:28:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582613248001,"power":25375,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":127984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:28:04] local.INFO: GPS data processed {"connection_id":127984,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:28:04] local.INFO: Acknowledgment sent {"connection_id":127984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:28:05] local.INFO: TCP Data received {"connection_id":126748,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f427239d0012d196500071ff078003e014224..."} 
[2026-07-08 21:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f427239d0012d196500071ff078003e014224..."} 
[2026-07-08 21:28:05] local.INFO: Processing buffer {"connection_id":126748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f427239d0012d196500071ff078003e014224..."} 
[2026-07-08 21:28:05] local.INFO: Packet analysis {"connection_id":126748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4272"} 
[2026-07-08 21:28:05] local.INFO: Extracted packet for processing {"connection_id":126748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4272"} 
[2026-07-08 21:28:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582632704001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783526210000,"timestamp_ms":1783526210000,"timestamp_seconds":1783526210,"priority":1,"record_length":96,"hex_timestamp":"0000019f427239d0"} 
[2026-07-08 21:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 21:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:28:05] 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-07-08 21:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582632704001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582632704001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:28:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:28:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582632704001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":126748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:28:05] local.INFO: GPS data processed {"connection_id":126748,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:28:05] local.INFO: Acknowledgment sent {"connection_id":126748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:28:36] local.INFO: TCP Data received {"connection_id":126748,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f427239d0012d196500071ff078003e014224..."} 
[2026-07-08 21:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f427239d0012d196500071ff078003e014224..."} 
[2026-07-08 21:28:36] local.INFO: Processing buffer {"connection_id":126748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f427239d0012d196500071ff078003e014224..."} 
[2026-07-08 21:28:36] local.INFO: Packet analysis {"connection_id":126748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4272"} 
[2026-07-08 21:28:36] local.INFO: Extracted packet for processing {"connection_id":126748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4272"} 
[2026-07-08 21:28:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582632704001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783526210000,"timestamp_ms":1783526210000,"timestamp_seconds":1783526210,"priority":1,"record_length":96,"hex_timestamp":"0000019f427239d0"} 
[2026-07-08 21:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:28:36] 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-07-08 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 21:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:28:36] 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-07-08 21:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582632704001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582632704001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:28:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:28:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582632704001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":126748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:28:36] local.INFO: GPS data processed {"connection_id":126748,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:28:36] local.INFO: Acknowledgment sent {"connection_id":126748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:28:36] local.INFO: TCP Data received {"connection_id":127984,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f427110f0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f427110f0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:28:36] local.INFO: Processing buffer {"connection_id":127984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f427110f0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:28:36] local.INFO: Packet analysis {"connection_id":127984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4271"} 
[2026-07-08 21:28:36] local.INFO: Extracted packet for processing {"connection_id":127984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4271"} 
[2026-07-08 21:28:36] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582613248001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783526134000,"timestamp_ms":1783526134000,"timestamp_seconds":1783526134,"priority":1,"record_length":96,"hex_timestamp":"0000019f427110f0"} 
[2026-07-08 21:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 21:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582613248001,"66":25375,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582613248001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:28:36] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:28:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582613248001,"power":25375,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":127984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:28:36] local.INFO: GPS data processed {"connection_id":127984,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:28:36] local.INFO: Acknowledgment sent {"connection_id":127984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:28:59] local.INFO: TCP Data received {"connection_id":125989,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:28:59] local.INFO: Processing buffer {"connection_id":125989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:28:59] local.INFO: IMEI packet received {"connection_id":125989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":125989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:29:00] local.INFO: TCP Data received {"connection_id":127985,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:29:00] local.INFO: Processing buffer {"connection_id":127985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:29:00] local.INFO: IMEI packet received {"connection_id":127985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":127985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:29:04] local.INFO: TCP Data received {"connection_id":125989,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:29:04] local.INFO: Processing buffer {"connection_id":125989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:29:04] local.INFO: IMEI packet received {"connection_id":125989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":125989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:29:05] local.INFO: TCP Data received {"connection_id":125989,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f427239d0012d196500071ff078003e014224..."} 
[2026-07-08 21:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f427239d0012d196500071ff078003e014224..."} 
[2026-07-08 21:29:05] local.INFO: Processing buffer {"connection_id":125989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f427239d0012d196500071ff078003e014224..."} 
[2026-07-08 21:29:05] local.INFO: Packet analysis {"connection_id":125989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4272"} 
[2026-07-08 21:29:05] local.INFO: Extracted packet for processing {"connection_id":125989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4272"} 
[2026-07-08 21:29:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582632704001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783526210000,"timestamp_ms":1783526210000,"timestamp_seconds":1783526210,"priority":1,"record_length":96,"hex_timestamp":"0000019f427239d0"} 
[2026-07-08 21:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 21:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:29:05] 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-07-08 21:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582632704001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582632704001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:29:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:29:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582632704001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:29:05] local.INFO: TCP Data received {"connection_id":127985,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:29:05] local.INFO: Processing buffer {"connection_id":127985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:29:05] local.INFO: IMEI packet received {"connection_id":127985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":127985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":125989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:29:05] local.INFO: GPS data processed {"connection_id":125989,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:29:05] local.INFO: Acknowledgment sent {"connection_id":125989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:29:06] local.INFO: TCP Data received {"connection_id":127985,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f427110f0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f427110f0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:29:06] local.INFO: Processing buffer {"connection_id":127985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f427110f0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:29:06] local.INFO: Packet analysis {"connection_id":127985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4271"} 
[2026-07-08 21:29:06] local.INFO: Extracted packet for processing {"connection_id":127985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4271"} 
[2026-07-08 21:29:06] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582613248001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783526134000,"timestamp_ms":1783526134000,"timestamp_seconds":1783526134,"priority":1,"record_length":96,"hex_timestamp":"0000019f427110f0"} 
[2026-07-08 21:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 21:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582613248001,"66":25375,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582613248001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:29:06] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:29:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582613248001,"power":25375,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":127985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:29:06] local.INFO: GPS data processed {"connection_id":127985,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:29:06] local.INFO: Acknowledgment sent {"connection_id":127985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:29:11] local.INFO: TCP Data received {"connection_id":127985,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f427110f0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f427110f0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:29:11] local.INFO: Processing buffer {"connection_id":127985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f427110f0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:29:11] local.INFO: Packet analysis {"connection_id":127985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4271"} 
[2026-07-08 21:29:11] local.INFO: Extracted packet for processing {"connection_id":127985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4271"} 
[2026-07-08 21:29:11] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582613248001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783526134000,"timestamp_ms":1783526134000,"timestamp_seconds":1783526134,"priority":1,"record_length":96,"hex_timestamp":"0000019f427110f0"} 
[2026-07-08 21:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 21:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":127985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":127985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":127985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582613248001,"66":25375,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582613248001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:29:11] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:29:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582613248001,"power":25375,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":127985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:29:11] local.INFO: GPS data processed {"connection_id":127985,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:29:11] local.INFO: Acknowledgment sent {"connection_id":127985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:29:36] local.INFO: TCP Data received {"connection_id":125989,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f427239d0012d196500071ff078003e014224..."} 
[2026-07-08 21:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f427239d0012d196500071ff078003e014224..."} 
[2026-07-08 21:29:36] local.INFO: Processing buffer {"connection_id":125989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f427239d0012d196500071ff078003e014224..."} 
[2026-07-08 21:29:36] local.INFO: Packet analysis {"connection_id":125989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4272"} 
[2026-07-08 21:29:36] local.INFO: Extracted packet for processing {"connection_id":125989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4272"} 
[2026-07-08 21:29:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582632704001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783526210000,"timestamp_ms":1783526210000,"timestamp_seconds":1783526210,"priority":1,"record_length":96,"hex_timestamp":"0000019f427239d0"} 
[2026-07-08 21:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:29:36] 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-07-08 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 21:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:29:36] 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-07-08 21:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582632704001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582632704001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:29:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:29:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582632704001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":125989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:29:36] local.INFO: GPS data processed {"connection_id":125989,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:29:36] local.INFO: Acknowledgment sent {"connection_id":125989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:29:55] local.INFO: TCP Data received {"connection_id":125857,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:29:55] local.INFO: Processing buffer {"connection_id":125857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:29:55] local.INFO: IMEI packet received {"connection_id":125857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":125857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:29:59] local.INFO: TCP Data received {"connection_id":126749,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:29:59] local.INFO: Processing buffer {"connection_id":126749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:29:59] local.INFO: IMEI packet received {"connection_id":126749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":126749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:30:00] local.INFO: TCP Data received {"connection_id":125857,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:30:00] local.INFO: Processing buffer {"connection_id":125857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:30:00] local.INFO: IMEI packet received {"connection_id":125857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":125857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:30:01] local.INFO: TCP Data received {"connection_id":125857,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f427110f0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f427110f0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:30:01] local.INFO: Processing buffer {"connection_id":125857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f427110f0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:30:01] local.INFO: Packet analysis {"connection_id":125857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4271"} 
[2026-07-08 21:30:01] local.INFO: Extracted packet for processing {"connection_id":125857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4271"} 
[2026-07-08 21:30:01] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582613248001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783526134000,"timestamp_ms":1783526134000,"timestamp_seconds":1783526134,"priority":1,"record_length":96,"hex_timestamp":"0000019f427110f0"} 
[2026-07-08 21:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 21:30:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:30:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:30:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582613248001,"66":25375,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582613248001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:30:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:30:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582613248001,"power":25375,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":125857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:30:01] local.INFO: GPS data processed {"connection_id":125857,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:30:01] local.INFO: Acknowledgment sent {"connection_id":125857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:30:04] local.INFO: TCP Data received {"connection_id":126749,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:30:04] local.INFO: Processing buffer {"connection_id":126749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:30:04] local.INFO: IMEI packet received {"connection_id":126749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":126749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:30:05] local.INFO: TCP Data received {"connection_id":126749,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f427239d0012d196500071ff078003e014224..."} 
[2026-07-08 21:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f427239d0012d196500071ff078003e014224..."} 
[2026-07-08 21:30:05] local.INFO: Processing buffer {"connection_id":126749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f427239d0012d196500071ff078003e014224..."} 
[2026-07-08 21:30:05] local.INFO: Packet analysis {"connection_id":126749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4272"} 
[2026-07-08 21:30:05] local.INFO: Extracted packet for processing {"connection_id":126749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4272"} 
[2026-07-08 21:30:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582632704001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783526210000,"timestamp_ms":1783526210000,"timestamp_seconds":1783526210,"priority":1,"record_length":96,"hex_timestamp":"0000019f427239d0"} 
[2026-07-08 21:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 21:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:30:05] 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-07-08 21:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582632704001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582632704001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:30:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:30:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582632704001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":126749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:30:05] local.INFO: GPS data processed {"connection_id":126749,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:30:05] local.INFO: Acknowledgment sent {"connection_id":126749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:30:33] local.INFO: TCP Data received {"connection_id":125857,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f427110f0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f427110f0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:30:33] local.INFO: Processing buffer {"connection_id":125857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f427110f0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:30:33] local.INFO: Packet analysis {"connection_id":125857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4271"} 
[2026-07-08 21:30:33] local.INFO: Extracted packet for processing {"connection_id":125857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4271"} 
[2026-07-08 21:30:33] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582613248001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783526134000,"timestamp_ms":1783526134000,"timestamp_seconds":1783526134,"priority":1,"record_length":96,"hex_timestamp":"0000019f427110f0"} 
[2026-07-08 21:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 21:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:30:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582613248001,"66":25375,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582613248001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:30:33] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:30:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582613248001,"power":25375,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":125857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:30:33] local.INFO: GPS data processed {"connection_id":125857,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:30:33] local.INFO: Acknowledgment sent {"connection_id":125857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:30:36] local.INFO: TCP Data received {"connection_id":126749,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f427239d0012d196500071ff078003e014224..."} 
[2026-07-08 21:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f427239d0012d196500071ff078003e014224..."} 
[2026-07-08 21:30:36] local.INFO: Processing buffer {"connection_id":126749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f427239d0012d196500071ff078003e014224..."} 
[2026-07-08 21:30:36] local.INFO: Packet analysis {"connection_id":126749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4272"} 
[2026-07-08 21:30:36] local.INFO: Extracted packet for processing {"connection_id":126749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4272"} 
[2026-07-08 21:30:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582632704001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783526210000,"timestamp_ms":1783526210000,"timestamp_seconds":1783526210,"priority":1,"record_length":96,"hex_timestamp":"0000019f427239d0"} 
[2026-07-08 21:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:30:36] 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-07-08 21:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 21:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:30:36] 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-07-08 21:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582632704001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582632704001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:30:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:30:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582632704001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":126749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:30:36] local.INFO: GPS data processed {"connection_id":126749,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:30:36] local.INFO: Acknowledgment sent {"connection_id":126749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:30:55] local.INFO: TCP Data received {"connection_id":125990,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:30:55] local.INFO: Processing buffer {"connection_id":125990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:30:55] local.INFO: IMEI packet received {"connection_id":125990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":125990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:31:00] local.INFO: TCP Data received {"connection_id":127987,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:31:00] local.INFO: Processing buffer {"connection_id":127987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:31:00] local.INFO: IMEI packet received {"connection_id":127987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":127987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:31:00] local.INFO: TCP Data received {"connection_id":125990,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:31:00] local.INFO: Processing buffer {"connection_id":125990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:31:00] local.INFO: IMEI packet received {"connection_id":125990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":125990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:31:01] local.INFO: TCP Data received {"connection_id":125990,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f427110f0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f427110f0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:31:01] local.INFO: Processing buffer {"connection_id":125990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f427110f0012d77a10005f2a618001e010b2b..."} 
[2026-07-08 21:31:01] local.INFO: Packet analysis {"connection_id":125990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4271"} 
[2026-07-08 21:31:01] local.INFO: Extracted packet for processing {"connection_id":125990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4271"} 
[2026-07-08 21:31:01] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":43,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582613248001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783526134000,"timestamp_ms":1783526134000,"timestamp_seconds":1783526134,"priority":1,"record_length":96,"hex_timestamp":"0000019f427110f0"} 
[2026-07-08 21:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-08 21:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:31:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582613248001,"66":25375,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582613248001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:31:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:31:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582613248001,"power":25375,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":125990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:31:01] local.INFO: GPS data processed {"connection_id":125990,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:31:01] local.INFO: Acknowledgment sent {"connection_id":125990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:31:04] local.INFO: TCP Data received {"connection_id":127987,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:31:04] local.INFO: Processing buffer {"connection_id":127987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:31:04] local.INFO: IMEI packet received {"connection_id":127987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":127987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:31:05] local.INFO: TCP Data received {"connection_id":127987,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f427239d0012d196500071ff078003e014224..."} 
[2026-07-08 21:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f427239d0012d196500071ff078003e014224..."} 
[2026-07-08 21:31:05] local.INFO: Processing buffer {"connection_id":127987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f427239d0012d196500071ff078003e014224..."} 
[2026-07-08 21:31:05] local.INFO: Packet analysis {"connection_id":127987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4272"} 
[2026-07-08 21:31:05] local.INFO: Extracted packet for processing {"connection_id":127987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4272"} 
[2026-07-08 21:31:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582632704001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783526210000,"timestamp_ms":1783526210000,"timestamp_seconds":1783526210,"priority":1,"record_length":96,"hex_timestamp":"0000019f427239d0"} 
[2026-07-08 21:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 21:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582632704001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582632704001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:31:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:31:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582632704001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":127987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:31:05] local.INFO: GPS data processed {"connection_id":127987,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:31:05] local.INFO: Acknowledgment sent {"connection_id":127987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:31:32] local.INFO: TCP Data received {"connection_id":125990,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4275a8b8012d77a10005f2a618001e010b28..."} 
[2026-07-08 21:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4275a8b8012d77a10005f2a618001e010b28..."} 
[2026-07-08 21:31:32] local.INFO: Processing buffer {"connection_id":125990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4275a8b8012d77a10005f2a618001e010b28..."} 
[2026-07-08 21:31:32] local.INFO: Packet analysis {"connection_id":125990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4275"} 
[2026-07-08 21:31:32] local.INFO: Extracted packet for processing {"connection_id":125990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4275"} 
[2026-07-08 21:31:32] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":40,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582690304001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783526435000,"timestamp_ms":1783526435000,"timestamp_seconds":1783526435,"priority":1,"record_length":96,"hex_timestamp":"0000019f4275a8b8"} 
[2026-07-08 21:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:31:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:31: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":31,"data_length":795,"current_offset":136} 
[2026-07-08 21:31:32] 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-07-08 21:31:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582690304001,"66":25615,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582690304001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:31:32] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:31:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582690304001,"power":25615,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":125990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:31:32] local.INFO: GPS data processed {"connection_id":125990,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:31:32] local.INFO: Acknowledgment sent {"connection_id":125990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:31:36] local.INFO: TCP Data received {"connection_id":127987,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f427239d0012d196500071ff078003e014224..."} 
[2026-07-08 21:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f427239d0012d196500071ff078003e014224..."} 
[2026-07-08 21:31:36] local.INFO: Processing buffer {"connection_id":127987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f427239d0012d196500071ff078003e014224..."} 
[2026-07-08 21:31:36] local.INFO: Packet analysis {"connection_id":127987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4272"} 
[2026-07-08 21:31:36] local.INFO: Extracted packet for processing {"connection_id":127987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4272"} 
[2026-07-08 21:31:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582632704001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783526210000,"timestamp_ms":1783526210000,"timestamp_seconds":1783526210,"priority":1,"record_length":96,"hex_timestamp":"0000019f427239d0"} 
[2026-07-08 21:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:31:36] 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-07-08 21:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 21:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:31:36] 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-07-08 21:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582632704001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582632704001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:31:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:31:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582632704001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":127987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:31:36] local.INFO: GPS data processed {"connection_id":127987,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:31:36] local.INFO: Acknowledgment sent {"connection_id":127987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:31:55] local.INFO: TCP Data received {"connection_id":125991,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:31:55] local.INFO: Processing buffer {"connection_id":125991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:31:55] local.INFO: IMEI packet received {"connection_id":125991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":125991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:31:59] local.INFO: TCP Data received {"connection_id":127988,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:31:59] local.INFO: Processing buffer {"connection_id":127988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:31:59] local.INFO: IMEI packet received {"connection_id":127988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":127988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:32:00] local.INFO: TCP Data received {"connection_id":125991,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:32:00] local.INFO: Processing buffer {"connection_id":125991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:32:00] local.INFO: IMEI packet received {"connection_id":125991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":125991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:32:01] local.INFO: TCP Data received {"connection_id":125991,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4275a8b8012d77a10005f2a618001e010b28..."} 
[2026-07-08 21:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4275a8b8012d77a10005f2a618001e010b28..."} 
[2026-07-08 21:32:01] local.INFO: Processing buffer {"connection_id":125991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4275a8b8012d77a10005f2a618001e010b28..."} 
[2026-07-08 21:32:01] local.INFO: Packet analysis {"connection_id":125991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4275"} 
[2026-07-08 21:32:01] local.INFO: Extracted packet for processing {"connection_id":125991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4275"} 
[2026-07-08 21:32:01] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":40,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582690304001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:32:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783526435000,"timestamp_ms":1783526435000,"timestamp_seconds":1783526435,"priority":1,"record_length":96,"hex_timestamp":"0000019f4275a8b8"} 
[2026-07-08 21:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 21:32:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:32:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582690304001,"66":25615,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582690304001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:32:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:32:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582690304001,"power":25615,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":125991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:32:01] local.INFO: GPS data processed {"connection_id":125991,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:32:01] local.INFO: Acknowledgment sent {"connection_id":125991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:32:04] local.INFO: TCP Data received {"connection_id":127988,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:32:04] local.INFO: Processing buffer {"connection_id":127988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:32:04] local.INFO: IMEI packet received {"connection_id":127988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":127988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:32:26] local.INFO: TCP Data received {"connection_id":127988,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f427239d0012d196500071ff078003e014224..."} 
[2026-07-08 21:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f427239d0012d196500071ff078003e014224..."} 
[2026-07-08 21:32:26] local.INFO: Processing buffer {"connection_id":127988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f427239d0012d196500071ff078003e014224..."} 
[2026-07-08 21:32:26] local.INFO: Packet analysis {"connection_id":127988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4272"} 
[2026-07-08 21:32:26] local.INFO: Extracted packet for processing {"connection_id":127988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4272"} 
[2026-07-08 21:32:26] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21: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-07-08 21:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582632704001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:32:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783526210000,"timestamp_ms":1783526210000,"timestamp_seconds":1783526210,"priority":1,"record_length":96,"hex_timestamp":"0000019f427239d0"} 
[2026-07-08 21:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:32:26] 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-07-08 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 21:32:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21: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-07-08 21:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":127988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":127988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":127988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582632704001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582632704001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:32:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:32:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582632704001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":127988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:32:26] local.INFO: GPS data processed {"connection_id":127988,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:32:26] local.INFO: Acknowledgment sent {"connection_id":127988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:32:33] local.INFO: TCP Data received {"connection_id":125991,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4275a8b8012d77a10005f2a618001e010b28..."} 
[2026-07-08 21:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4275a8b8012d77a10005f2a618001e010b28..."} 
[2026-07-08 21:32:33] local.INFO: Processing buffer {"connection_id":125991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4275a8b8012d77a10005f2a618001e010b28..."} 
[2026-07-08 21:32:33] local.INFO: Packet analysis {"connection_id":125991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4275"} 
[2026-07-08 21:32:33] local.INFO: Extracted packet for processing {"connection_id":125991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4275"} 
[2026-07-08 21:32:33] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":40,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21: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-07-08 21:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582690304001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783526435000,"timestamp_ms":1783526435000,"timestamp_seconds":1783526435,"priority":1,"record_length":96,"hex_timestamp":"0000019f4275a8b8"} 
[2026-07-08 21:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 21:32:33] 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-07-08 21: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-07-08 21:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582690304001,"66":25615,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582690304001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:32:33] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:32:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582690304001,"power":25615,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":125991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:32:33] local.INFO: GPS data processed {"connection_id":125991,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:32:33] local.INFO: Acknowledgment sent {"connection_id":125991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:32:55] local.INFO: TCP Data received {"connection_id":127989,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:32:55] local.INFO: Processing buffer {"connection_id":127989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:32:55] local.INFO: IMEI packet received {"connection_id":127989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":127989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:33:04] local.INFO: TCP Data received {"connection_id":127989,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:33:04] local.INFO: Processing buffer {"connection_id":127989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:33:04] local.INFO: IMEI packet received {"connection_id":127989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":127989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:33:04] local.INFO: TCP Data received {"connection_id":125992,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:33:04] local.INFO: Processing buffer {"connection_id":125992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:33:04] local.INFO: IMEI packet received {"connection_id":125992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":125992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:33:05] local.INFO: TCP Data received {"connection_id":127989,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4275a8b8012d77a10005f2a618001e010b28..."} 
[2026-07-08 21:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4275a8b8012d77a10005f2a618001e010b28..."} 
[2026-07-08 21:33:05] local.INFO: Processing buffer {"connection_id":127989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4275a8b8012d77a10005f2a618001e010b28..."} 
[2026-07-08 21:33:05] local.INFO: Packet analysis {"connection_id":127989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4275"} 
[2026-07-08 21:33:05] local.INFO: Extracted packet for processing {"connection_id":127989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4275"} 
[2026-07-08 21:33:05] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":40,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582690304001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783526435000,"timestamp_ms":1783526435000,"timestamp_seconds":1783526435,"priority":1,"record_length":96,"hex_timestamp":"0000019f4275a8b8"} 
[2026-07-08 21:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":31,"data_length":795,"current_offset":136} 
[2026-07-08 21:33: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-07-08 21:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582690304001,"66":25615,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582690304001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:33:05] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:33:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582690304001,"power":25615,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":127989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:33:05] local.INFO: GPS data processed {"connection_id":127989,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:33:05] local.INFO: Acknowledgment sent {"connection_id":127989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:33:09] local.INFO: TCP Data received {"connection_id":125992,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:33:09] local.INFO: Processing buffer {"connection_id":125992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:33:09] local.INFO: IMEI packet received {"connection_id":125992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":125992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:33:10] local.INFO: TCP Data received {"connection_id":125992,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4276d198012d196500071ff078003e014223..."} 
[2026-07-08 21:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4276d198012d196500071ff078003e014223..."} 
[2026-07-08 21:33:10] local.INFO: Processing buffer {"connection_id":125992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4276d198012d196500071ff078003e014223..."} 
[2026-07-08 21:33:10] local.INFO: Packet analysis {"connection_id":125992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4276"} 
[2026-07-08 21:33:10] local.INFO: Extracted packet for processing {"connection_id":125992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4276"} 
[2026-07-08 21:33:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21: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-07-08 21:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582709760001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:33: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-07-08 21:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783526511000,"timestamp_ms":1783526511000,"timestamp_seconds":1783526511,"priority":1,"record_length":96,"hex_timestamp":"0000019f4276d198"} 
[2026-07-08 21:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21: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-07-08 21:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:33:10] 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-07-08 21:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582709760001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582709760001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:33:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:33:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582709760001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":125992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:33:10] local.INFO: GPS data processed {"connection_id":125992,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:33:10] local.INFO: Acknowledgment sent {"connection_id":125992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:33:15] local.INFO: TCP Data received {"connection_id":127990,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:33:15] local.INFO: Processing buffer {"connection_id":127990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:33:15] local.INFO: IMEI packet received {"connection_id":127990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 21:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":127990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:33:37] local.INFO: TCP Data received {"connection_id":127989,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4275a8b8012d77a10005f2a618001e010b28..."} 
[2026-07-08 21:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4275a8b8012d77a10005f2a618001e010b28..."} 
[2026-07-08 21:33:37] local.INFO: Processing buffer {"connection_id":127989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4275a8b8012d77a10005f2a618001e010b28..."} 
[2026-07-08 21:33:37] local.INFO: Packet analysis {"connection_id":127989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4275"} 
[2026-07-08 21:33:37] local.INFO: Extracted packet for processing {"connection_id":127989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4275"} 
[2026-07-08 21:33:37] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":40,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582690304001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783526435000,"timestamp_ms":1783526435000,"timestamp_seconds":1783526435,"priority":1,"record_length":96,"hex_timestamp":"0000019f4275a8b8"} 
[2026-07-08 21:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":31,"data_length":795,"current_offset":136} 
[2026-07-08 21:33: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-07-08 21:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582690304001,"66":25615,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582690304001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:33:37] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:33:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582690304001,"power":25615,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":127989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:33:37] local.INFO: GPS data processed {"connection_id":127989,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:33:37] local.INFO: Acknowledgment sent {"connection_id":127989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:33:41] local.INFO: TCP Data received {"connection_id":125992,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f4276d198012d196500071ff078003e014223..."} 
[2026-07-08 21:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4276d198012d196500071ff078003e014223..."} 
[2026-07-08 21:33:41] local.INFO: Processing buffer {"connection_id":125992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4276d198012d196500071ff078003e014223..."} 
[2026-07-08 21:33:41] local.INFO: Packet analysis {"connection_id":125992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4276"} 
[2026-07-08 21:33:41] local.INFO: Extracted packet for processing {"connection_id":125992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4276"} 
[2026-07-08 21:33:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21: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-07-08 21:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582709760001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:33: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-07-08 21:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783526511000,"timestamp_ms":1783526511000,"timestamp_seconds":1783526511,"priority":1,"record_length":96,"hex_timestamp":"0000019f4276d198"} 
[2026-07-08 21:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:33: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-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:33: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-07-08 21:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:33: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-07-08 21:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582709760001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582709760001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:33:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:33:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582709760001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":125992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:33:41] local.INFO: GPS data processed {"connection_id":125992,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:33:41] local.INFO: Acknowledgment sent {"connection_id":125992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:33:55] local.INFO: TCP Data received {"connection_id":127992,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:33:55] local.INFO: Processing buffer {"connection_id":127992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:33:55] local.INFO: IMEI packet received {"connection_id":127992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":127992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:33:55] local.INFO: TCP Data received {"connection_id":127991,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127991,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:33:55] local.INFO: Processing buffer {"connection_id":127991,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:33:55] local.INFO: IMEI packet received {"connection_id":127991,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 21:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":127991,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:33:59] local.INFO: TCP Data received {"connection_id":127993,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:33:59] local.INFO: Processing buffer {"connection_id":127993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:33:59] local.INFO: IMEI packet received {"connection_id":127993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":127993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:34:00] local.INFO: TCP Data received {"connection_id":127992,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:34:00] local.INFO: Processing buffer {"connection_id":127992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:34:00] local.INFO: IMEI packet received {"connection_id":127992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":127992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:34:00] local.INFO: TCP Data received {"connection_id":127992,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4275a8b8012d77a10005f2a618001e010b28..."} 
[2026-07-08 21:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4275a8b8012d77a10005f2a618001e010b28..."} 
[2026-07-08 21:34:00] local.INFO: Processing buffer {"connection_id":127992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4275a8b8012d77a10005f2a618001e010b28..."} 
[2026-07-08 21:34:00] local.INFO: Packet analysis {"connection_id":127992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4275"} 
[2026-07-08 21:34:00] local.INFO: Extracted packet for processing {"connection_id":127992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4275"} 
[2026-07-08 21:34:00] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":40,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582690304001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783526435000,"timestamp_ms":1783526435000,"timestamp_seconds":1783526435,"priority":1,"record_length":96,"hex_timestamp":"0000019f4275a8b8"} 
[2026-07-08 21:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-08 21:34:00] 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-07-08 21:34:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":127992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":127992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":127992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582690304001,"66":25615,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582690304001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:34:00] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:34:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582690304001,"power":25615,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":127992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:34:00] local.INFO: GPS data processed {"connection_id":127992,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:34:00] local.INFO: Acknowledgment sent {"connection_id":127992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:34:04] local.INFO: TCP Data received {"connection_id":127993,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:34:04] local.INFO: Processing buffer {"connection_id":127993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:34:04] local.INFO: IMEI packet received {"connection_id":127993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":127993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:34:05] local.INFO: TCP Data received {"connection_id":127993,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4276d198012d196500071ff078003e014223..."} 
[2026-07-08 21:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4276d198012d196500071ff078003e014223..."} 
[2026-07-08 21:34:05] local.INFO: Processing buffer {"connection_id":127993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4276d198012d196500071ff078003e014223..."} 
[2026-07-08 21:34:05] local.INFO: Packet analysis {"connection_id":127993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4276"} 
[2026-07-08 21:34:05] local.INFO: Extracted packet for processing {"connection_id":127993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4276"} 
[2026-07-08 21:34:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21: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-07-08 21:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582709760001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783526511000,"timestamp_ms":1783526511000,"timestamp_seconds":1783526511,"priority":1,"record_length":96,"hex_timestamp":"0000019f4276d198"} 
[2026-07-08 21:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21: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-07-08 21:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":127993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":127993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":127993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:34:05] 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-07-08 21:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582709760001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582709760001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:34:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:34:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582709760001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":127993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:34:05] local.INFO: GPS data processed {"connection_id":127993,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:34:05] local.INFO: Acknowledgment sent {"connection_id":127993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:34:31] local.INFO: TCP Data received {"connection_id":127992,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f42785838012d77a10005f2a618001e010b28..."} 
[2026-07-08 21:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42785838012d77a10005f2a618001e010b28..."} 
[2026-07-08 21:34:31] local.INFO: Processing buffer {"connection_id":127992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42785838012d77a10005f2a618001e010b28..."} 
[2026-07-08 21:34:31] local.INFO: Packet analysis {"connection_id":127992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4278"} 
[2026-07-08 21:34:31] local.INFO: Extracted packet for processing {"connection_id":127992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4278"} 
[2026-07-08 21:34:31] local.INFO: GPS Element Parsed {"raw_longitude":762814720,"raw_latitude":99788312,"longitude_deg":76.281472,"latitude_deg":9.9788312,"altitude":30,"angle":267,"satellites":40,"speed":0,"hex_longitude":"2d77a100","hex_latitude":"05f2a618","is_valid_coordinates":true} 
[2026-07-08 21:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582767360001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783526611000,"timestamp_ms":1783526611000,"timestamp_seconds":1783526611,"priority":1,"record_length":96,"hex_timestamp":"0000019f42785838"} 
[2026-07-08 21:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-08 21:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:34:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":127992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":127992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":127992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582767360001,"66":25604,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582767360001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:34:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:34:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582767360001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":127992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:34:31] local.INFO: GPS data processed {"connection_id":127992,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:34:31] local.INFO: Acknowledgment sent {"connection_id":127992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:34:36] local.INFO: TCP Data received {"connection_id":127993,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4276d198012d196500071ff078003e014223..."} 
[2026-07-08 21:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4276d198012d196500071ff078003e014223..."} 
[2026-07-08 21:34:36] local.INFO: Processing buffer {"connection_id":127993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4276d198012d196500071ff078003e014223..."} 
[2026-07-08 21:34:36] local.INFO: Packet analysis {"connection_id":127993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4276"} 
[2026-07-08 21:34:36] local.INFO: Extracted packet for processing {"connection_id":127993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4276"} 
[2026-07-08 21:34:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21: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-07-08 21:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582709760001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783526511000,"timestamp_ms":1783526511000,"timestamp_seconds":1783526511,"priority":1,"record_length":96,"hex_timestamp":"0000019f4276d198"} 
[2026-07-08 21:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21: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-07-08 21:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:34:36] 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-07-08 21:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582709760001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582709760001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:34:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:34:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582709760001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":127993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:34:36] local.INFO: GPS data processed {"connection_id":127993,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:34:36] local.INFO: Acknowledgment sent {"connection_id":127993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:34:53] local.INFO: TCP Data received {"connection_id":126750,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:34:53] local.INFO: Processing buffer {"connection_id":126750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:34:53] local.INFO: IMEI packet received {"connection_id":126750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":126750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:34:55] local.INFO: TCP Data received {"connection_id":126750,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:34:55] local.INFO: Processing buffer {"connection_id":126750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:34:55] local.INFO: IMEI packet received {"connection_id":126750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":126750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:34:59] local.INFO: TCP Data received {"connection_id":125993,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:34:59] local.INFO: Processing buffer {"connection_id":125993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:34:59] local.INFO: IMEI packet received {"connection_id":125993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":125993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:35:00] local.INFO: TCP Data received {"connection_id":126750,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:35:00] local.INFO: Processing buffer {"connection_id":126750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:35:00] local.INFO: IMEI packet received {"connection_id":126750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":126750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:35:01] local.INFO: TCP Data received {"connection_id":126750,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f42786008012d77a28005f2a8d8001e00e728..."} 
[2026-07-08 21:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42786008012d77a28005f2a8d8001e00e728..."} 
[2026-07-08 21:35:01] local.INFO: Processing buffer {"connection_id":126750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42786008012d77a28005f2a8d8001e00e728..."} 
[2026-07-08 21:35:01] local.INFO: Packet analysis {"connection_id":126750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4278"} 
[2026-07-08 21:35:01] local.INFO: Extracted packet for processing {"connection_id":126750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4278"} 
[2026-07-08 21:35:01] local.INFO: GPS Element Parsed {"raw_longitude":762815104,"raw_latitude":99789016,"longitude_deg":76.2815104,"latitude_deg":9.9789016,"altitude":30,"angle":231,"satellites":40,"speed":0,"hex_longitude":"2d77a280","hex_latitude":"05f2a8d8","is_valid_coordinates":true} 
[2026-07-08 21:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582812416001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187309647872,"note":"Value kept but may cause issues"} 
[2026-07-08 21:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783526613000,"timestamp_ms":1783526613000,"timestamp_seconds":1783526613,"priority":1,"record_length":96,"hex_timestamp":"0000019f42786008"} 
[2026-07-08 21:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 21:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-08 21:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582812416001,"66":25430,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620171187309647872},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582812416001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:35:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:35:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187309647872,"description":"Unknown IO ID 45"} 
[2026-07-08 21:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582812416001,"power":25430,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620171187309647872}} 
[2026-07-08 21:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":126750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:35:01] local.INFO: GPS data processed {"connection_id":126750,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:35:01] local.INFO: Acknowledgment sent {"connection_id":126750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:35:04] local.INFO: TCP Data received {"connection_id":125993,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:35:04] local.INFO: Processing buffer {"connection_id":125993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:35:04] local.INFO: IMEI packet received {"connection_id":125993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":125993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:35:05] local.INFO: TCP Data received {"connection_id":125993,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4276d198012d196500071ff078003e014223..."} 
[2026-07-08 21:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4276d198012d196500071ff078003e014223..."} 
[2026-07-08 21:35:05] local.INFO: Processing buffer {"connection_id":125993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4276d198012d196500071ff078003e014223..."} 
[2026-07-08 21:35:05] local.INFO: Packet analysis {"connection_id":125993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4276"} 
[2026-07-08 21:35:05] local.INFO: Extracted packet for processing {"connection_id":125993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4276"} 
[2026-07-08 21:35:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582709760001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783526511000,"timestamp_ms":1783526511000,"timestamp_seconds":1783526511,"priority":1,"record_length":96,"hex_timestamp":"0000019f4276d198"} 
[2026-07-08 21:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:35:05] 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-07-08 21:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582709760001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582709760001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:35:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:35:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582709760001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":125993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:35:05] local.INFO: GPS data processed {"connection_id":125993,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:35:05] local.INFO: Acknowledgment sent {"connection_id":125993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:35:33] local.INFO: TCP Data received {"connection_id":126750,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4278b210012d77a28005f2a8d8001e00e727..."} 
[2026-07-08 21:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4278b210012d77a28005f2a8d8001e00e727..."} 
[2026-07-08 21:35:33] local.INFO: Processing buffer {"connection_id":126750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4278b210012d77a28005f2a8d8001e00e727..."} 
[2026-07-08 21:35:33] local.INFO: Packet analysis {"connection_id":126750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4278"} 
[2026-07-08 21:35:33] local.INFO: Extracted packet for processing {"connection_id":126750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4278"} 
[2026-07-08 21:35:33] local.INFO: GPS Element Parsed {"raw_longitude":762815104,"raw_latitude":99789016,"longitude_deg":76.2815104,"latitude_deg":9.9789016,"altitude":30,"angle":231,"satellites":39,"speed":0,"hex_longitude":"2d77a280","hex_latitude":"05f2a8d8","is_valid_coordinates":true} 
[2026-07-08 21:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582812928001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343262857267249152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620593399774894080,"note":"Value kept but may cause issues"} 
[2026-07-08 21:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783526634000,"timestamp_ms":1783526634000,"timestamp_seconds":1783526634,"priority":1,"record_length":96,"hex_timestamp":"0000019f4278b210"} 
[2026-07-08 21:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 21:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-08 21:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:35:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582812928001,"66":27050,"133":206,"9":24832,"24":0,"16":343262857267249152,"45":8620593399774894080},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582812928001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:35:33] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:35:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343262857267249152,"km_value":343262857267249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620593399774894080,"description":"Unknown IO ID 45"} 
[2026-07-08 21:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582812928001,"power":27050,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620593399774894080}} 
[2026-07-08 21:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":126750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:35:33] local.INFO: GPS data processed {"connection_id":126750,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:35:33] local.INFO: Acknowledgment sent {"connection_id":126750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:35:36] local.INFO: TCP Data received {"connection_id":125993,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4276d198012d196500071ff078003e014223..."} 
[2026-07-08 21:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4276d198012d196500071ff078003e014223..."} 
[2026-07-08 21:35:36] local.INFO: Processing buffer {"connection_id":125993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4276d198012d196500071ff078003e014223..."} 
[2026-07-08 21:35:36] local.INFO: Packet analysis {"connection_id":125993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4276"} 
[2026-07-08 21:35:36] local.INFO: Extracted packet for processing {"connection_id":125993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4276"} 
[2026-07-08 21:35:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21: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-07-08 21:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582709760001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783526511000,"timestamp_ms":1783526511000,"timestamp_seconds":1783526511,"priority":1,"record_length":96,"hex_timestamp":"0000019f4276d198"} 
[2026-07-08 21:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21: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-07-08 21:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:35:36] 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-07-08 21:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582709760001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582709760001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:35:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:35:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582709760001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":125993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:35:36] local.INFO: GPS data processed {"connection_id":125993,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:35:36] local.INFO: Acknowledgment sent {"connection_id":125993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:36:00] local.INFO: TCP Data received {"connection_id":125994,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:36:00] local.INFO: Processing buffer {"connection_id":125994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:36:00] local.INFO: IMEI packet received {"connection_id":125994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":125994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:36:04] local.INFO: TCP Data received {"connection_id":125994,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:36:04] local.INFO: Processing buffer {"connection_id":125994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:36:04] local.INFO: IMEI packet received {"connection_id":125994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":125994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:36:05] local.INFO: TCP Data received {"connection_id":125994,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4276d198012d196500071ff078003e014223..."} 
[2026-07-08 21:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4276d198012d196500071ff078003e014223..."} 
[2026-07-08 21:36:05] local.INFO: Processing buffer {"connection_id":125994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4276d198012d196500071ff078003e014223..."} 
[2026-07-08 21:36:05] local.INFO: Packet analysis {"connection_id":125994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4276"} 
[2026-07-08 21:36:05] local.INFO: Extracted packet for processing {"connection_id":125994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4276"} 
[2026-07-08 21:36:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21: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-07-08 21:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582709760001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783526511000,"timestamp_ms":1783526511000,"timestamp_seconds":1783526511,"priority":1,"record_length":96,"hex_timestamp":"0000019f4276d198"} 
[2026-07-08 21:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21: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-07-08 21:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:36:05] 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-07-08 21:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582709760001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582709760001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:36:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:36:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582709760001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":125994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:36:05] local.INFO: GPS data processed {"connection_id":125994,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:36:05] local.INFO: Acknowledgment sent {"connection_id":125994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:36:35] local.INFO: TCP Data received {"connection_id":125995,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:36:35] local.INFO: Processing buffer {"connection_id":125995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:36:35] local.INFO: IMEI packet received {"connection_id":125995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":125995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:36:36] local.INFO: TCP Data received {"connection_id":125994,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f4276d198012d196500071ff078003e014223..."} 
[2026-07-08 21:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4276d198012d196500071ff078003e014223..."} 
[2026-07-08 21:36:36] local.INFO: Processing buffer {"connection_id":125994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4276d198012d196500071ff078003e014223..."} 
[2026-07-08 21:36:36] local.INFO: Packet analysis {"connection_id":125994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4276"} 
[2026-07-08 21:36:36] local.INFO: Extracted packet for processing {"connection_id":125994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4276"} 
[2026-07-08 21:36:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582709760001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783526511000,"timestamp_ms":1783526511000,"timestamp_seconds":1783526511,"priority":1,"record_length":96,"hex_timestamp":"0000019f4276d198"} 
[2026-07-08 21:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:36:36] 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-07-08 21:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582709760001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582709760001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:36:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:36:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582709760001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":125994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:36:36] local.INFO: GPS data processed {"connection_id":125994,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:36:36] local.INFO: Acknowledgment sent {"connection_id":125994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:36:59] local.INFO: TCP Data received {"connection_id":127995,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:36:59] local.INFO: Processing buffer {"connection_id":127995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:36:59] local.INFO: IMEI packet received {"connection_id":127995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":127995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:37:00] local.INFO: TCP Data received {"connection_id":127996,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:37:00] local.INFO: Processing buffer {"connection_id":127996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:37:00] local.INFO: IMEI packet received {"connection_id":127996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":127996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:37:04] local.INFO: TCP Data received {"connection_id":127995,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:37:04] local.INFO: Processing buffer {"connection_id":127995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:37:04] local.INFO: IMEI packet received {"connection_id":127995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":127995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:37:04] local.INFO: TCP Data received {"connection_id":127995,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f4276d198012d196500071ff078003e014223..."} 
[2026-07-08 21:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4276d198012d196500071ff078003e014223..."} 
[2026-07-08 21:37:04] local.INFO: Processing buffer {"connection_id":127995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4276d198012d196500071ff078003e014223..."} 
[2026-07-08 21:37:04] local.INFO: Packet analysis {"connection_id":127995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4276"} 
[2026-07-08 21:37:04] local.INFO: Extracted packet for processing {"connection_id":127995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4276"} 
[2026-07-08 21:37:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582709760001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783526511000,"timestamp_ms":1783526511000,"timestamp_seconds":1783526511,"priority":1,"record_length":96,"hex_timestamp":"0000019f4276d198"} 
[2026-07-08 21:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":127995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":127995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":127995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582709760001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582709760001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:37:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:37:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582709760001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":127995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:37:05] local.INFO: GPS data processed {"connection_id":127995,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:37:05] local.INFO: Acknowledgment sent {"connection_id":127995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:37:05] local.INFO: TCP Data received {"connection_id":127996,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:37:05] local.INFO: Processing buffer {"connection_id":127996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:37:05] local.INFO: IMEI packet received {"connection_id":127996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":127996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:37:06] local.INFO: TCP Data received {"connection_id":127996,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4279f648012d779f4005f2c6a8000a015626..."} 
[2026-07-08 21:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4279f648012d779f4005f2c6a8000a015626..."} 
[2026-07-08 21:37:06] local.INFO: Processing buffer {"connection_id":127996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4279f648012d779f4005f2c6a8000a015626..."} 
[2026-07-08 21:37:06] local.INFO: Packet analysis {"connection_id":127996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4279"} 
[2026-07-08 21:37:06] local.INFO: Extracted packet for processing {"connection_id":127996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4279"} 
[2026-07-08 21:37:06] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99796648,"longitude_deg":76.2814272,"latitude_deg":9.9796648,"altitude":10,"angle":342,"satellites":38,"speed":24,"hex_longitude":"2d779f40","hex_latitude":"05f2c6a8","is_valid_coordinates":true} 
[2026-07-08 21:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582835712001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343263321123717120,"note":"Value kept but may cause issues"} 
[2026-07-08 21:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621226718472656896,"note":"Value kept but may cause issues"} 
[2026-07-08 21:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783526717000,"timestamp_ms":1783526717000,"timestamp_seconds":1783526717,"priority":1,"record_length":96,"hex_timestamp":"0000019f4279f648"} 
[2026-07-08 21:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 21:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 21:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":127996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":127996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":127996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582835712001,"66":26930,"133":206,"9":24832,"24":24,"16":343263321123717120,"45":8621226718472656896},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582835712001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:37:06] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:37:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343263321123717120,"km_value":343263321123717.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621226718472656896,"description":"Unknown IO ID 45"} 
[2026-07-08 21:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582835712001,"power":26930,"unknown_133":206,"unknown_9":24832,"ignition":24,"odometer":null,"unknown_45":8621226718472656896}} 
[2026-07-08 21:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":127996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:37:06] local.INFO: GPS data processed {"connection_id":127996,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:37:06] local.INFO: Acknowledgment sent {"connection_id":127996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:37:35] local.INFO: TCP Data received {"connection_id":127995,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f427b6960012d196500071ff078003e014223..."} 
[2026-07-08 21:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f427b6960012d196500071ff078003e014223..."} 
[2026-07-08 21:37:36] local.INFO: Processing buffer {"connection_id":127995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f427b6960012d196500071ff078003e014223..."} 
[2026-07-08 21:37:36] local.INFO: Packet analysis {"connection_id":127995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f427b"} 
[2026-07-08 21:37:36] local.INFO: Extracted packet for processing {"connection_id":127995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f427b"} 
[2026-07-08 21:37:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582786816001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783526812000,"timestamp_ms":1783526812000,"timestamp_seconds":1783526812,"priority":1,"record_length":96,"hex_timestamp":"0000019f427b6960"} 
[2026-07-08 21:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 21:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":127995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":127995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":127995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582786816001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582786816001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:37:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:37:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582786816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":127995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:37:36] local.INFO: GPS data processed {"connection_id":127995,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:37:36] local.INFO: Acknowledgment sent {"connection_id":127995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:37:37] local.INFO: TCP Data received {"connection_id":127996,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f427a30e0012d7796c005f2eab00002015e24..."} 
[2026-07-08 21:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f427a30e0012d7796c005f2eab00002015e24..."} 
[2026-07-08 21:37:37] local.INFO: Processing buffer {"connection_id":127996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f427a30e0012d7796c005f2eab00002015e24..."} 
[2026-07-08 21:37:37] local.INFO: Packet analysis {"connection_id":127996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f427a"} 
[2026-07-08 21:37:37] local.INFO: Extracted packet for processing {"connection_id":127996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f427a"} 
[2026-07-08 21:37:37] local.INFO: GPS Element Parsed {"raw_longitude":762812096,"raw_latitude":99805872,"longitude_deg":76.2812096,"latitude_deg":9.9805872,"altitude":2,"angle":350,"satellites":36,"speed":25,"hex_longitude":"2d7796c0","hex_latitude":"05f2eab0","is_valid_coordinates":true} 
[2026-07-08 21:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582839552001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343263780685217792,"note":"Value kept but may cause issues"} 
[2026-07-08 21:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606102538240,"note":"Value kept but may cause issues"} 
[2026-07-08 21:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783526732000,"timestamp_ms":1783526732000,"timestamp_seconds":1783526732,"priority":1,"record_length":96,"hex_timestamp":"0000019f427a30e0"} 
[2026-07-08 21:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 21: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":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-07-08 21:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":127996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":127996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":127996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582839552001,"66":27376,"133":206,"9":24832,"24":25,"16":343263780685217792,"45":8619678606102538240},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-07-08 21:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582839552001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:37:37] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-08 21:37:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343263780685217792,"km_value":343263780685217.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606102538240,"description":"Unknown IO ID 45"} 
[2026-07-08 21:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582839552001,"power":27376,"unknown_133":206,"unknown_9":24832,"ignition":25,"odometer":null,"unknown_45":8619678606102538240}} 
[2026-07-08 21:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":127996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:37:37] local.INFO: GPS data processed {"connection_id":127996,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:37:37] local.INFO: Acknowledgment sent {"connection_id":127996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:38:00] local.INFO: TCP Data received {"connection_id":127998,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:38:00] local.INFO: Processing buffer {"connection_id":127998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:38:00] local.INFO: IMEI packet received {"connection_id":127998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":127998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:38:01] local.INFO: TCP Data received {"connection_id":127998,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:38:01] local.INFO: Processing buffer {"connection_id":127998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:38:01] local.INFO: IMEI packet received {"connection_id":127998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":127998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:38:04] local.INFO: TCP Data received {"connection_id":126752,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:38:04] local.INFO: Processing buffer {"connection_id":126752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:38:04] local.INFO: IMEI packet received {"connection_id":126752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":126752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:38:09] local.INFO: TCP Data received {"connection_id":126752,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:38:09] local.INFO: Processing buffer {"connection_id":126752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:38:09] local.INFO: IMEI packet received {"connection_id":126752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":126752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:38:10] local.INFO: TCP Data received {"connection_id":126752,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f427b6960012d196500071ff078003e014223..."} 
[2026-07-08 21:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f427b6960012d196500071ff078003e014223..."} 
[2026-07-08 21:38:10] local.INFO: Processing buffer {"connection_id":126752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f427b6960012d196500071ff078003e014223..."} 
[2026-07-08 21:38:10] local.INFO: Packet analysis {"connection_id":126752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f427b"} 
[2026-07-08 21:38:10] local.INFO: Extracted packet for processing {"connection_id":126752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f427b"} 
[2026-07-08 21:38:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582786816001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:38: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-07-08 21:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783526812000,"timestamp_ms":1783526812000,"timestamp_seconds":1783526812,"priority":1,"record_length":96,"hex_timestamp":"0000019f427b6960"} 
[2026-07-08 21:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 21:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582786816001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582786816001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:38:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:38:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582786816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":126752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:38:10] local.INFO: GPS data processed {"connection_id":126752,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:38:10] local.INFO: Acknowledgment sent {"connection_id":126752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:38:11] local.INFO: TCP Data received {"connection_id":127998,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:38:11] local.INFO: Processing buffer {"connection_id":127998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:38:11] local.INFO: IMEI packet received {"connection_id":127998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":127998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:38:13] local.INFO: TCP Data received {"connection_id":127998,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f427a82e8012d77918005f30ca80000015d27..."} 
[2026-07-08 21:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f427a82e8012d77918005f30ca80000015d27..."} 
[2026-07-08 21:38:13] local.INFO: Processing buffer {"connection_id":127998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f427a82e8012d77918005f30ca80000015d27..."} 
[2026-07-08 21:38:13] local.INFO: Packet analysis {"connection_id":127998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f427a"} 
[2026-07-08 21:38:13] local.INFO: Extracted packet for processing {"connection_id":127998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f427a"} 
[2026-07-08 21:38:13] local.INFO: GPS Element Parsed {"raw_longitude":762810752,"raw_latitude":99814568,"longitude_deg":76.2810752,"latitude_deg":9.9814568,"altitude":0,"angle":349,"satellites":39,"speed":17,"hex_longitude":"2d779180","hex_latitude":"05f30ca8","is_valid_coordinates":true} 
[2026-07-08 21:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582843392001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343264210181947392,"note":"Value kept but may cause issues"} 
[2026-07-08 21:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8617286068802859008,"note":"Value kept but may cause issues"} 
[2026-07-08 21:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783526753000,"timestamp_ms":1783526753000,"timestamp_seconds":1783526753,"priority":1,"record_length":96,"hex_timestamp":"0000019f427a82e8"} 
[2026-07-08 21:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:38:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 21:38:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:38:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":127998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":127998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":127998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582843392001,"66":27484,"105":206,"9":24832,"24":17,"16":343264210181947392,"45":8617286068802859008},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,9,24,16,45]} 
[2026-07-08 21:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582843392001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:38:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 21:38:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343264210181947392,"km_value":343264210181947.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8617286068802859008,"description":"Unknown IO ID 45"} 
[2026-07-08 21:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582843392001,"power":27484,"unknown_105":206,"unknown_9":24832,"ignition":17,"odometer":null,"unknown_45":8617286068802859008}} 
[2026-07-08 21:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":127998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:38:13] local.INFO: GPS data processed {"connection_id":127998,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:38:13] local.INFO: Acknowledgment sent {"connection_id":127998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:38:13] local.INFO: TCP Data received {"connection_id":127998,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f427ad4f0012d778b0005f32ff80000015e27..."} 
[2026-07-08 21:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f427ad4f0012d778b0005f32ff80000015e27..."} 
[2026-07-08 21:38:13] local.INFO: Processing buffer {"connection_id":127998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f427ad4f0012d778b0005f32ff80000015e27..."} 
[2026-07-08 21:38:13] local.INFO: Packet analysis {"connection_id":127998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f427a"} 
[2026-07-08 21:38:13] local.INFO: Extracted packet for processing {"connection_id":127998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f427a"} 
[2026-07-08 21:38:13] local.INFO: GPS Element Parsed {"raw_longitude":762809088,"raw_latitude":99823608,"longitude_deg":76.2809088,"latitude_deg":9.9823608,"altitude":0,"angle":350,"satellites":39,"speed":20,"hex_longitude":"2d778b00","hex_latitude":"05f32ff8","is_valid_coordinates":true} 
[2026-07-08 21:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582848768001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343264656858546176,"note":"Value kept but may cause issues"} 
[2026-07-08 21:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8615808325177354240,"note":"Value kept but may cause issues"} 
[2026-07-08 21:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783526774000,"timestamp_ms":1783526774000,"timestamp_seconds":1783526774,"priority":1,"record_length":96,"hex_timestamp":"0000019f427ad4f0"} 
[2026-07-08 21:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:38:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 21: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 21:38:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:38:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":127998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":127998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":127998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582848768001,"66":27343,"105":206,"9":24832,"24":20,"16":343264656858546176,"45":8615808325177354240},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,9,24,16,45]} 
[2026-07-08 21:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582848768001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:38:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 21:38:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343264656858546176,"km_value":343264656858546.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8615808325177354240,"description":"Unknown IO ID 45"} 
[2026-07-08 21:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582848768001,"power":27343,"unknown_105":206,"unknown_9":24832,"ignition":20,"odometer":null,"unknown_45":8615808325177354240}} 
[2026-07-08 21:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":127998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:38:14] local.INFO: GPS data processed {"connection_id":127998,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:38:14] local.INFO: Acknowledgment sent {"connection_id":127998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:38:41] local.INFO: TCP Data received {"connection_id":126752,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f427b6960012d196500071ff078003e014223..."} 
[2026-07-08 21:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f427b6960012d196500071ff078003e014223..."} 
[2026-07-08 21:38:41] local.INFO: Processing buffer {"connection_id":126752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f427b6960012d196500071ff078003e014223..."} 
[2026-07-08 21:38:41] local.INFO: Packet analysis {"connection_id":126752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f427b"} 
[2026-07-08 21:38:41] local.INFO: Extracted packet for processing {"connection_id":126752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f427b"} 
[2026-07-08 21:38:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21: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-07-08 21:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582786816001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21: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-07-08 21:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783526812000,"timestamp_ms":1783526812000,"timestamp_seconds":1783526812,"priority":1,"record_length":96,"hex_timestamp":"0000019f427b6960"} 
[2026-07-08 21:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 21:38: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-07-08 21: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-07-08 21:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":126752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":126752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":126752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:38: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-07-08 21:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582786816001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582786816001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:38:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:38:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582786816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":126752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:38:41] local.INFO: GPS data processed {"connection_id":126752,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:38:41] local.INFO: Acknowledgment sent {"connection_id":126752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:38:59] local.INFO: TCP Data received {"connection_id":125996,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:38:59] local.INFO: Processing buffer {"connection_id":125996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:38:59] local.INFO: IMEI packet received {"connection_id":125996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":125996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:39:00] local.INFO: TCP Data received {"connection_id":128000,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:39:00] local.INFO: Processing buffer {"connection_id":128000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:39:00] local.INFO: IMEI packet received {"connection_id":128000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":128000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:39:01] local.INFO: TCP Data received {"connection_id":128000,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:39:01] local.INFO: Processing buffer {"connection_id":128000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:39:01] local.INFO: IMEI packet received {"connection_id":128000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":128000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:39:04] local.INFO: TCP Data received {"connection_id":128000,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f427ad4f0012d778b0005f32ff80000015e27..."} 
[2026-07-08 21:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f427ad4f0012d778b0005f32ff80000015e27..."} 
[2026-07-08 21:39:04] local.INFO: Processing buffer {"connection_id":128000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f427ad4f0012d778b0005f32ff80000015e27..."} 
[2026-07-08 21:39:04] local.INFO: Packet analysis {"connection_id":128000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f427a"} 
[2026-07-08 21:39:04] local.INFO: Extracted packet for processing {"connection_id":128000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f427a"} 
[2026-07-08 21:39:04] local.INFO: GPS Element Parsed {"raw_longitude":762809088,"raw_latitude":99823608,"longitude_deg":76.2809088,"latitude_deg":9.9823608,"altitude":0,"angle":350,"satellites":39,"speed":20,"hex_longitude":"2d778b00","hex_latitude":"05f32ff8","is_valid_coordinates":true} 
[2026-07-08 21:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582854144001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343264656858546176,"note":"Value kept but may cause issues"} 
[2026-07-08 21:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8613978737831049216,"note":"Value kept but may cause issues"} 
[2026-07-08 21:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783526774000,"timestamp_ms":1783526774000,"timestamp_seconds":1783526774,"priority":1,"record_length":96,"hex_timestamp":"0000019f427ad4f0"} 
[2026-07-08 21:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 21:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 21:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":128000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":128000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":128000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582854144001,"66":27343,"105":206,"9":24832,"24":20,"16":343264656858546176,"45":8613978737831049216},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,9,24,16,45]} 
[2026-07-08 21:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582854144001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:39:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-08 21:39:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343264656858546176,"km_value":343264656858546.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8613978737831049216,"description":"Unknown IO ID 45"} 
[2026-07-08 21:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582854144001,"power":27343,"unknown_105":206,"unknown_9":24832,"ignition":20,"odometer":null,"unknown_45":8613978737831049216}} 
[2026-07-08 21:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":128000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:39:04] local.INFO: GPS data processed {"connection_id":128000,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:39:04] local.INFO: Acknowledgment sent {"connection_id":128000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:39:04] local.INFO: TCP Data received {"connection_id":125996,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:39:04] local.INFO: Processing buffer {"connection_id":125996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:39:04] local.INFO: IMEI packet received {"connection_id":125996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":125996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:39:05] local.INFO: TCP Data received {"connection_id":128000,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f427b1758012d7783c005f352e00000015e24..."} 
[2026-07-08 21:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f427b1758012d7783c005f352e00000015e24..."} 
[2026-07-08 21:39:05] local.INFO: Processing buffer {"connection_id":128000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f427b1758012d7783c005f352e00000015e24..."} 
[2026-07-08 21:39:05] local.INFO: Packet analysis {"connection_id":128000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f427b"} 
[2026-07-08 21:39:05] local.INFO: Extracted packet for processing {"connection_id":128000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f427b"} 
[2026-07-08 21:39:05] local.INFO: GPS Element Parsed {"raw_longitude":762807232,"raw_latitude":99832544,"longitude_deg":76.2807232,"latitude_deg":9.9832544,"altitude":0,"angle":350,"satellites":36,"speed":20,"hex_longitude":"2d7783c0","hex_latitude":"05f352e0","is_valid_coordinates":true} 
[2026-07-08 21:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582854144001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343265099240177664,"note":"Value kept but may cause issues"} 
[2026-07-08 21:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8613978737831049216,"note":"Value kept but may cause issues"} 
[2026-07-08 21:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783526791000,"timestamp_ms":1783526791000,"timestamp_seconds":1783526791,"priority":1,"record_length":96,"hex_timestamp":"0000019f427b1758"} 
[2026-07-08 21:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 21:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582854144001,"66":27104,"104":206,"9":24832,"24":20,"16":343265099240177664,"45":8613978737831049216},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,9,24,16,45]} 
[2026-07-08 21:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582854144001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:39:05] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-07-08 21:39:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343265099240177664,"km_value":343265099240177.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8613978737831049216,"description":"Unknown IO ID 45"} 
[2026-07-08 21:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582854144001,"power":27104,"unknown_104":206,"unknown_9":24832,"ignition":20,"odometer":null,"unknown_45":8613978737831049216}} 
[2026-07-08 21:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":128000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:39:05] local.INFO: GPS data processed {"connection_id":128000,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:39:05] local.INFO: Acknowledgment sent {"connection_id":128000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:39:05] local.INFO: TCP Data received {"connection_id":125996,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f427b6960012d196500071ff078003e014223..."} 
[2026-07-08 21:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f427b6960012d196500071ff078003e014223..."} 
[2026-07-08 21:39:05] local.INFO: Processing buffer {"connection_id":125996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f427b6960012d196500071ff078003e014223..."} 
[2026-07-08 21:39:05] local.INFO: Packet analysis {"connection_id":125996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f427b"} 
[2026-07-08 21:39:05] local.INFO: Extracted packet for processing {"connection_id":125996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f427b"} 
[2026-07-08 21:39:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582786816001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783526812000,"timestamp_ms":1783526812000,"timestamp_seconds":1783526812,"priority":1,"record_length":96,"hex_timestamp":"0000019f427b6960"} 
[2026-07-08 21:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 21:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582786816001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582786816001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:39:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:39:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582786816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":125996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:39:05] local.INFO: GPS data processed {"connection_id":125996,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:39:05] local.INFO: Acknowledgment sent {"connection_id":125996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:39:31] local.INFO: TCP Data received {"connection_id":127999,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":127999,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:39:31] local.INFO: Processing buffer {"connection_id":127999,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:39:31] local.INFO: IMEI packet received {"connection_id":127999,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 21:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":127999,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:39:36] local.INFO: TCP Data received {"connection_id":125996,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f427b6960012d196500071ff078003e014223..."} 
[2026-07-08 21:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f427b6960012d196500071ff078003e014223..."} 
[2026-07-08 21:39:36] local.INFO: Processing buffer {"connection_id":125996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f427b6960012d196500071ff078003e014223..."} 
[2026-07-08 21:39:36] local.INFO: Packet analysis {"connection_id":125996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f427b"} 
[2026-07-08 21:39:36] local.INFO: Extracted packet for processing {"connection_id":125996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f427b"} 
[2026-07-08 21:39:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582786816001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783526812000,"timestamp_ms":1783526812000,"timestamp_seconds":1783526812,"priority":1,"record_length":96,"hex_timestamp":"0000019f427b6960"} 
[2026-07-08 21:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 21:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582786816001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582786816001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:39:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:39:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582786816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":125996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:39:36] local.INFO: GPS data processed {"connection_id":125996,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:39:36] local.INFO: Acknowledgment sent {"connection_id":125996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:39:42] local.INFO: TCP Data received {"connection_id":128000,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f427b51f0012d777dc005f376000000015e26..."} 
[2026-07-08 21:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f427b51f0012d777dc005f376000000015e26..."} 
[2026-07-08 21:39:42] local.INFO: Processing buffer {"connection_id":128000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f427b51f0012d777dc005f376000000015e26..."} 
[2026-07-08 21:39:42] local.INFO: Packet analysis {"connection_id":128000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f427b"} 
[2026-07-08 21:39:42] local.INFO: Extracted packet for processing {"connection_id":128000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f427b"} 
[2026-07-08 21:39:42] local.INFO: GPS Element Parsed {"raw_longitude":762805696,"raw_latitude":99841536,"longitude_deg":76.2805696,"latitude_deg":9.9841536,"altitude":0,"angle":350,"satellites":38,"speed":24,"hex_longitude":"2d777dc0","hex_latitude":"05f37600","is_valid_coordinates":true} 
[2026-07-08 21:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582858496001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343265541621809152,"note":"Value kept but may cause issues"} 
[2026-07-08 21:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8611938044252184576,"note":"Value kept but may cause issues"} 
[2026-07-08 21:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783526806000,"timestamp_ms":1783526806000,"timestamp_seconds":1783526806,"priority":1,"record_length":96,"hex_timestamp":"0000019f427b51f0"} 
[2026-07-08 21:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 21:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-08 21:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":128000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":128000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":128000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582858496001,"66":27267,"104":206,"9":24832,"24":24,"16":343265541621809152,"45":8611938044252184576},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,9,24,16,45]} 
[2026-07-08 21:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582858496001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:39:42] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-07-08 21:39:42] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343265541621809152,"km_value":343265541621809.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8611938044252184576,"description":"Unknown IO ID 45"} 
[2026-07-08 21:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582858496001,"power":27267,"unknown_104":206,"unknown_9":24832,"ignition":24,"odometer":null,"unknown_45":8611938044252184576}} 
[2026-07-08 21:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":128000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:39:42] local.INFO: GPS data processed {"connection_id":128000,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:39:42] local.INFO: Acknowledgment sent {"connection_id":128000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:39:51] local.INFO: TCP Data received {"connection_id":125861,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:39:51] local.INFO: Processing buffer {"connection_id":125861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:39:51] local.INFO: IMEI packet received {"connection_id":125861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":125861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:39:54] local.INFO: TCP Data received {"connection_id":125861,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:39:55] local.INFO: Processing buffer {"connection_id":125861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:39:55] local.INFO: IMEI packet received {"connection_id":125861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":125861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:39:59] local.INFO: TCP Data received {"connection_id":126753,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:39:59] local.INFO: Processing buffer {"connection_id":126753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:39:59] local.INFO: IMEI packet received {"connection_id":126753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":126753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:39:59] local.INFO: TCP Data received {"connection_id":125861,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:40:00] local.INFO: Processing buffer {"connection_id":125861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:40:00] local.INFO: IMEI packet received {"connection_id":125861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":125861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:40:00] local.INFO: TCP Data received {"connection_id":125861,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f427b9070012d77788005f398b00001016327..."} 
[2026-07-08 21:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f427b9070012d77788005f398b00001016327..."} 
[2026-07-08 21:40:00] local.INFO: Processing buffer {"connection_id":125861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f427b9070012d77788005f398b00001016327..."} 
[2026-07-08 21:40:00] local.INFO: Packet analysis {"connection_id":125861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f427b"} 
[2026-07-08 21:40:00] local.INFO: Extracted packet for processing {"connection_id":125861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f427b"} 
[2026-07-08 21:40:00] local.INFO: GPS Element Parsed {"raw_longitude":762804352,"raw_latitude":99850416,"longitude_deg":76.2804352,"latitude_deg":9.9850416,"altitude":1,"angle":355,"satellites":39,"speed":5,"hex_longitude":"2d777880","hex_latitude":"05f398b0","is_valid_coordinates":true} 
[2026-07-08 21:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582862336001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343265979708473344,"note":"Value kept but may cause issues"} 
[2026-07-08 21:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8610249194394222592,"note":"Value kept but may cause issues"} 
[2026-07-08 21:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783526822000,"timestamp_ms":1783526822000,"timestamp_seconds":1783526822,"priority":1,"record_length":96,"hex_timestamp":"0000019f427b9070"} 
[2026-07-08 21:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 21:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 21:40:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:40:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:40:00] local.INFO: TCP Data received {"connection_id":125997,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582862336001,"66":27169,"104":206,"9":24832,"24":5,"16":343265979708473344,"45":8610249194394222592},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,9,24,16,45]} 
[2026-07-08 21:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582862336001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:40:00] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-07-08 21:40:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343265979708473344,"km_value":343265979708473.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8610249194394222592,"description":"Unknown IO ID 45"} 
[2026-07-08 21:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582862336001,"power":27169,"unknown_104":206,"unknown_9":24832,"ignition":5,"odometer":null,"unknown_45":8610249194394222592}} 
[2026-07-08 21:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125997,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:40:00] local.INFO: Processing buffer {"connection_id":125997,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:40:00] local.INFO: IMEI packet received {"connection_id":125997,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 21:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":125997,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":125861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:40:00] local.INFO: GPS data processed {"connection_id":125861,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:40:00] local.INFO: Acknowledgment sent {"connection_id":125861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:40:04] local.INFO: TCP Data received {"connection_id":126753,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:40:04] local.INFO: Processing buffer {"connection_id":126753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:40:04] local.INFO: IMEI packet received {"connection_id":126753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":126753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:40:05] local.INFO: TCP Data received {"connection_id":126753,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f427b6960012d196500071ff078003e014223..."} 
[2026-07-08 21:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f427b6960012d196500071ff078003e014223..."} 
[2026-07-08 21:40:05] local.INFO: Processing buffer {"connection_id":126753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f427b6960012d196500071ff078003e014223..."} 
[2026-07-08 21:40:05] local.INFO: Packet analysis {"connection_id":126753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f427b"} 
[2026-07-08 21:40:05] local.INFO: Extracted packet for processing {"connection_id":126753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f427b"} 
[2026-07-08 21:40:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582786816001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783526812000,"timestamp_ms":1783526812000,"timestamp_seconds":1783526812,"priority":1,"record_length":96,"hex_timestamp":"0000019f427b6960"} 
[2026-07-08 21:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 21:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582786816001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582786816001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:40:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:40:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582786816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":126753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:40:05] local.INFO: GPS data processed {"connection_id":126753,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:40:05] local.INFO: Acknowledgment sent {"connection_id":126753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:40:31] local.INFO: TCP Data received {"connection_id":125861,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f427dda60012d783c4005f403600001002928..."} 
[2026-07-08 21:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f427dda60012d783c4005f403600001002928..."} 
[2026-07-08 21:40:31] local.INFO: Processing buffer {"connection_id":125861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f427dda60012d783c4005f403600001002928..."} 
[2026-07-08 21:40:31] local.INFO: Packet analysis {"connection_id":125861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f427d"} 
[2026-07-08 21:40:31] local.INFO: Extracted packet for processing {"connection_id":125861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f427d"} 
[2026-07-08 21:40:31] local.INFO: GPS Element Parsed {"raw_longitude":762854464,"raw_latitude":99877728,"longitude_deg":76.2854464,"latitude_deg":9.9877728,"altitude":1,"angle":41,"satellites":40,"speed":42,"hex_longitude":"2d783c40","hex_latitude":"05f40360","is_valid_coordinates":true} 
[2026-07-08 21:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582902528001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343268930351005696,"note":"Value kept but may cause issues"} 
[2026-07-08 21:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8655918509373147136,"note":"Value kept but may cause issues"} 
[2026-07-08 21:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783526972000,"timestamp_ms":1783526972000,"timestamp_seconds":1783526972,"priority":1,"record_length":96,"hex_timestamp":"0000019f427dda60"} 
[2026-07-08 21:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 21:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-08 21:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:40:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":125861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":125861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":125861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582902528001,"66":27463,"2":206,"9":24832,"24":42,"16":343268930351005696,"45":8655918509373147136},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-08 21:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582902528001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:40:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343268930351005696,"km_value":343268930351005.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8655918509373147136,"description":"Unknown IO ID 45"} 
[2026-07-08 21:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582902528001,"power":27463,"power_alt":206,"unknown_9":24832,"ignition":42,"odometer":null,"unknown_45":8655918509373147136}} 
[2026-07-08 21:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":125861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:40:31] local.INFO: GPS data processed {"connection_id":125861,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:40:31] local.INFO: Acknowledgment sent {"connection_id":125861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:40:36] local.INFO: TCP Data received {"connection_id":126753,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f427b6960012d196500071ff078003e014223..."} 
[2026-07-08 21:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f427b6960012d196500071ff078003e014223..."} 
[2026-07-08 21:40:36] local.INFO: Processing buffer {"connection_id":126753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f427b6960012d196500071ff078003e014223..."} 
[2026-07-08 21:40:36] local.INFO: Packet analysis {"connection_id":126753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f427b"} 
[2026-07-08 21:40:36] local.INFO: Extracted packet for processing {"connection_id":126753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f427b"} 
[2026-07-08 21:40:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582786816001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783526812000,"timestamp_ms":1783526812000,"timestamp_seconds":1783526812,"priority":1,"record_length":96,"hex_timestamp":"0000019f427b6960"} 
[2026-07-08 21:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 21:40:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582786816001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582786816001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:40:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:40:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582786816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":126753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:40:36] local.INFO: GPS data processed {"connection_id":126753,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:40:36] local.INFO: Acknowledgment sent {"connection_id":126753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:40:59] local.INFO: TCP Data received {"connection_id":125863,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:40:59] local.INFO: Processing buffer {"connection_id":125863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:40:59] local.INFO: IMEI packet received {"connection_id":125863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":125863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:41:03] local.INFO: TCP Data received {"connection_id":128001,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:41:03] local.INFO: Processing buffer {"connection_id":128001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:41:03] local.INFO: IMEI packet received {"connection_id":128001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":128001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:41:04] local.INFO: TCP Data received {"connection_id":125863,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:41:04] local.INFO: Processing buffer {"connection_id":125863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:41:04] local.INFO: IMEI packet received {"connection_id":125863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":125863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:41:05] local.INFO: TCP Data received {"connection_id":125863,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f427b6960012d196500071ff078003e014223..."} 
[2026-07-08 21:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f427b6960012d196500071ff078003e014223..."} 
[2026-07-08 21:41:05] local.INFO: Processing buffer {"connection_id":125863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f427b6960012d196500071ff078003e014223..."} 
[2026-07-08 21:41:05] local.INFO: Packet analysis {"connection_id":125863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f427b"} 
[2026-07-08 21:41:05] local.INFO: Extracted packet for processing {"connection_id":125863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f427b"} 
[2026-07-08 21:41:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582786816001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783526812000,"timestamp_ms":1783526812000,"timestamp_seconds":1783526812,"priority":1,"record_length":96,"hex_timestamp":"0000019f427b6960"} 
[2026-07-08 21:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 21:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582786816001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582786816001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:41:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:41:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582786816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":125863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:41:05] local.INFO: GPS data processed {"connection_id":125863,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:41:05] local.INFO: Acknowledgment sent {"connection_id":125863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:41:06] local.INFO: TCP Data received {"connection_id":128001,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:41:06] local.INFO: Processing buffer {"connection_id":128001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:41:06] local.INFO: IMEI packet received {"connection_id":128001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":128001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:41:06] local.INFO: TCP Data received {"connection_id":128001,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:41:06] local.INFO: Processing buffer {"connection_id":128001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:41:06] local.INFO: IMEI packet received {"connection_id":128001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":128001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:41:08] local.INFO: TCP Data received {"connection_id":128001,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f427e2498012d78524005f41e880000001d28..."} 
[2026-07-08 21:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f427e2498012d78524005f41e880000001d28..."} 
[2026-07-08 21:41:08] local.INFO: Processing buffer {"connection_id":128001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f427e2498012d78524005f41e880000001d28..."} 
[2026-07-08 21:41:08] local.INFO: Packet analysis {"connection_id":128001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f427e"} 
[2026-07-08 21:41:08] local.INFO: Extracted packet for processing {"connection_id":128001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f427e"} 
[2026-07-08 21:41:08] local.INFO: GPS Element Parsed {"raw_longitude":762860096,"raw_latitude":99884680,"longitude_deg":76.2860096,"latitude_deg":9.988468,"altitude":0,"angle":29,"satellites":40,"speed":9,"hex_longitude":"2d785240","hex_latitude":"05f41e88","is_valid_coordinates":true} 
[2026-07-08 21:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582904832001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343269364142702592,"note":"Value kept but may cause issues"} 
[2026-07-08 21:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8663870177466867712,"note":"Value kept but may cause issues"} 
[2026-07-08 21:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783526991000,"timestamp_ms":1783526991000,"timestamp_seconds":1783526991,"priority":1,"record_length":96,"hex_timestamp":"0000019f427e2498"} 
[2026-07-08 21:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 21: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-08 21:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":128001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":128001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":128001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582904832001,"66":27397,"2":206,"9":24832,"24":9,"16":343269364142702592,"45":8663870177466867712},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-08 21:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582904832001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:41:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343269364142702592,"km_value":343269364142702.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8663870177466867712,"description":"Unknown IO ID 45"} 
[2026-07-08 21:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582904832001,"power":27397,"power_alt":206,"unknown_9":24832,"ignition":9,"odometer":null,"unknown_45":8663870177466867712}} 
[2026-07-08 21:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":128001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:41:08] local.INFO: GPS data processed {"connection_id":128001,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:41:08] local.INFO: Acknowledgment sent {"connection_id":128001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:41:11] local.INFO: TCP Data received {"connection_id":128001,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f427e2498012d78524005f41e880000001d28..."} 
[2026-07-08 21:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f427e2498012d78524005f41e880000001d28..."} 
[2026-07-08 21:41:11] local.INFO: Processing buffer {"connection_id":128001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f427e2498012d78524005f41e880000001d28..."} 
[2026-07-08 21:41:11] local.INFO: Packet analysis {"connection_id":128001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f427e"} 
[2026-07-08 21:41:11] local.INFO: Extracted packet for processing {"connection_id":128001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f427e"} 
[2026-07-08 21:41:11] local.INFO: GPS Element Parsed {"raw_longitude":762860096,"raw_latitude":99884680,"longitude_deg":76.2860096,"latitude_deg":9.988468,"altitude":0,"angle":29,"satellites":40,"speed":9,"hex_longitude":"2d785240","hex_latitude":"05f41e88","is_valid_coordinates":true} 
[2026-07-08 21:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582909696001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343269364142702592,"note":"Value kept but may cause issues"} 
[2026-07-08 21:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8670062626956281856,"note":"Value kept but may cause issues"} 
[2026-07-08 21:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783526991000,"timestamp_ms":1783526991000,"timestamp_seconds":1783526991,"priority":1,"record_length":96,"hex_timestamp":"0000019f427e2498"} 
[2026-07-08 21:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-08 21:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:41:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582909696001,"66":27397,"2":206,"9":24832,"24":9,"16":343269364142702592,"45":8670062626956281856},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-08 21:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582909696001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:41:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343269364142702592,"km_value":343269364142702.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8670062626956281856,"description":"Unknown IO ID 45"} 
[2026-07-08 21:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582909696001,"power":27397,"power_alt":206,"unknown_9":24832,"ignition":9,"odometer":null,"unknown_45":8670062626956281856}} 
[2026-07-08 21:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":128001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:41:11] local.INFO: GPS data processed {"connection_id":128001,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:41:11] local.INFO: Acknowledgment sent {"connection_id":128001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:41:36] local.INFO: TCP Data received {"connection_id":125863,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f427b6960012d196500071ff078003e014223..."} 
[2026-07-08 21:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f427b6960012d196500071ff078003e014223..."} 
[2026-07-08 21:41:36] local.INFO: Processing buffer {"connection_id":125863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f427b6960012d196500071ff078003e014223..."} 
[2026-07-08 21:41:36] local.INFO: Packet analysis {"connection_id":125863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f427b"} 
[2026-07-08 21:41:36] local.INFO: Extracted packet for processing {"connection_id":125863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f427b"} 
[2026-07-08 21:41:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582786816001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783526812000,"timestamp_ms":1783526812000,"timestamp_seconds":1783526812,"priority":1,"record_length":96,"hex_timestamp":"0000019f427b6960"} 
[2026-07-08 21:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 21:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582786816001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582786816001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:41:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:41:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582786816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":125863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:41:36] local.INFO: GPS data processed {"connection_id":125863,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:41:36] local.INFO: Acknowledgment sent {"connection_id":125863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:41:59] local.INFO: TCP Data received {"connection_id":128002,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:41:59] local.INFO: Processing buffer {"connection_id":128002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:41:59] local.INFO: IMEI packet received {"connection_id":128002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":128002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:42:04] local.INFO: TCP Data received {"connection_id":125998,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:42:04] local.INFO: Processing buffer {"connection_id":125998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:42:04] local.INFO: IMEI packet received {"connection_id":125998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":125998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:42:04] local.INFO: TCP Data received {"connection_id":128002,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:42:04] local.INFO: Processing buffer {"connection_id":128002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:42:04] local.INFO: IMEI packet received {"connection_id":128002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":128002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:42:05] local.INFO: TCP Data received {"connection_id":128002,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f427b6960012d196500071ff078003e014223..."} 
[2026-07-08 21:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f427b6960012d196500071ff078003e014223..."} 
[2026-07-08 21:42:05] local.INFO: Processing buffer {"connection_id":128002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f427b6960012d196500071ff078003e014223..."} 
[2026-07-08 21:42:05] local.INFO: Packet analysis {"connection_id":128002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f427b"} 
[2026-07-08 21:42:05] local.INFO: Extracted packet for processing {"connection_id":128002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f427b"} 
[2026-07-08 21:42:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582786816001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783526812000,"timestamp_ms":1783526812000,"timestamp_seconds":1783526812,"priority":1,"record_length":96,"hex_timestamp":"0000019f427b6960"} 
[2026-07-08 21:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 21:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582786816001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582786816001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:42:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:42:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582786816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":128002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:42:05] local.INFO: GPS data processed {"connection_id":128002,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:42:05] local.INFO: Acknowledgment sent {"connection_id":128002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:42:10] local.INFO: TCP Data received {"connection_id":125998,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:42:10] local.INFO: Processing buffer {"connection_id":125998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:42:10] local.INFO: IMEI packet received {"connection_id":125998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":125998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:42:13] local.INFO: TCP Data received {"connection_id":125998,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:42:13] local.INFO: Processing buffer {"connection_id":125998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:42:13] local.INFO: IMEI packet received {"connection_id":125998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":125998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:42:36] local.INFO: TCP Data received {"connection_id":128002,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f42800128012d196500071ff078003e014220..."} 
[2026-07-08 21:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42800128012d196500071ff078003e014220..."} 
[2026-07-08 21:42:36] local.INFO: Processing buffer {"connection_id":128002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42800128012d196500071ff078003e014220..."} 
[2026-07-08 21:42:36] local.INFO: Packet analysis {"connection_id":128002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4280"} 
[2026-07-08 21:42:36] local.INFO: Extracted packet for processing {"connection_id":128002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4280"} 
[2026-07-08 21:42:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582863872001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783527113000,"timestamp_ms":1783527113000,"timestamp_seconds":1783527113,"priority":1,"record_length":96,"hex_timestamp":"0000019f42800128"} 
[2026-07-08 21:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582863872001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582863872001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:42:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:42:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582863872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":128002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:42:36] local.INFO: GPS data processed {"connection_id":128002,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:42:36] local.INFO: Acknowledgment sent {"connection_id":128002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:43:04] local.INFO: TCP Data received {"connection_id":125865,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:43:04] local.INFO: Processing buffer {"connection_id":125865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:43:04] local.INFO: IMEI packet received {"connection_id":125865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":125865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:43:09] local.INFO: TCP Data received {"connection_id":125865,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:43:09] local.INFO: Processing buffer {"connection_id":125865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:43:09] local.INFO: IMEI packet received {"connection_id":125865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":125865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:43:10] local.INFO: TCP Data received {"connection_id":125865,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f42800128012d196500071ff078003e014220..."} 
[2026-07-08 21:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42800128012d196500071ff078003e014220..."} 
[2026-07-08 21:43:10] local.INFO: Processing buffer {"connection_id":125865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42800128012d196500071ff078003e014220..."} 
[2026-07-08 21:43:10] local.INFO: Packet analysis {"connection_id":125865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4280"} 
[2026-07-08 21:43:10] local.INFO: Extracted packet for processing {"connection_id":125865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4280"} 
[2026-07-08 21:43:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582863872001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:43: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-07-08 21:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783527113000,"timestamp_ms":1783527113000,"timestamp_seconds":1783527113,"priority":1,"record_length":96,"hex_timestamp":"0000019f42800128"} 
[2026-07-08 21:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:43:10] 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-07-08 21:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582863872001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582863872001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:43:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:43:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582863872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":125865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:43:10] local.INFO: GPS data processed {"connection_id":125865,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:43:10] local.INFO: Acknowledgment sent {"connection_id":125865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:43:14] local.INFO: TCP Data received {"connection_id":125865,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f42800128012d196500071ff078003e014220..."} 
[2026-07-08 21:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42800128012d196500071ff078003e014220..."} 
[2026-07-08 21:43:14] local.INFO: Processing buffer {"connection_id":125865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42800128012d196500071ff078003e014220..."} 
[2026-07-08 21:43:14] local.INFO: Packet analysis {"connection_id":125865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4280"} 
[2026-07-08 21:43:14] local.INFO: Extracted packet for processing {"connection_id":125865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4280"} 
[2026-07-08 21:43:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582863872001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783527113000,"timestamp_ms":1783527113000,"timestamp_seconds":1783527113,"priority":1,"record_length":96,"hex_timestamp":"0000019f42800128"} 
[2026-07-08 21:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:43:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:43:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:43:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":125865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":125865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":125865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:43:14] 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-07-08 21:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582863872001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582863872001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:43:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:43:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582863872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":125865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:43:15] local.INFO: GPS data processed {"connection_id":125865,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:43:15] local.INFO: Acknowledgment sent {"connection_id":125865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:43:27] local.INFO: TCP Data received {"connection_id":125998,"ip":"117.224.95.24","data_length":1360,"data_hex":"000000000000030f8e0a0000019f427e6700012d78648005f43d780007001d27..."} 
[2026-07-08 21:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125998,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019f427e6700012d78648005f43d780007001d27..."} 
[2026-07-08 21:43:27] local.INFO: Processing buffer {"connection_id":125998,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019f427e6700012d78648005f43d780007001d27..."} 
[2026-07-08 21:43:27] local.INFO: Packet analysis {"connection_id":125998,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019f427e"} 
[2026-07-08 21:43:27] local.INFO: Extracted packet for processing {"connection_id":125998,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019f427e"} 
[2026-07-08 21:43:27] local.INFO: GPS Element Parsed {"raw_longitude":762864768,"raw_latitude":99892600,"longitude_deg":76.2864768,"latitude_deg":9.98926,"altitude":7,"angle":29,"satellites":39,"speed":24,"hex_longitude":"2d786480","hex_latitude":"05f43d78","is_valid_coordinates":true} 
[2026-07-08 21:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582909696001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343269806524334080,"note":"Value kept but may cause issues"} 
[2026-07-08 21:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8670062626956281856,"note":"Value kept but may cause issues"} 
[2026-07-08 21:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783527008000,"timestamp_ms":1783527008000,"timestamp_seconds":1783527008,"priority":1,"record_length":96,"hex_timestamp":"0000019f427e6700"} 
[2026-07-08 21:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:43: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-07-08 21:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-08 21:43:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:43:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":125998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":125998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":125998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582909696001,"66":27463,"2":206,"9":24832,"24":24,"16":343269806524334080,"45":8670062626956281856},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-08 21:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582909696001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:43:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-08 21:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343269806524334080,"km_value":343269806524334.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8670062626956281856,"description":"Unknown IO ID 45"} 
[2026-07-08 21:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582909696001,"power":27463,"power_alt":206,"unknown_9":24832,"ignition":24,"odometer":null,"unknown_45":8670062626956281856}} 
[2026-07-08 21:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":125998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:43:27] local.INFO: GPS data processed {"connection_id":125998,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:43:27] local.INFO: Acknowledgment sent {"connection_id":125998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:43:27] local.INFO: Packet analysis {"connection_id":125998,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019f427e"} 
[2026-07-08 21:43:27] local.INFO: Incomplete packet, waiting for more data {"connection_id":125998,"needed":795,"available":565} 
[2026-07-08 21:43:29] local.INFO: TCP Data received {"connection_id":126755,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:43:30] local.INFO: Processing buffer {"connection_id":126755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:43:30] local.INFO: IMEI packet received {"connection_id":126755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":126755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:43:32] local.INFO: TCP Data received {"connection_id":126755,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:43:32] local.INFO: Processing buffer {"connection_id":126755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:43:32] local.INFO: IMEI packet received {"connection_id":126755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":126755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:43:34] local.INFO: TCP Data received {"connection_id":126755,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:43:35] local.INFO: Processing buffer {"connection_id":126755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:43:35] local.INFO: IMEI packet received {"connection_id":126755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":126755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:43:35] local.INFO: TCP Data received {"connection_id":126755,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f42808210012d79584005f533780008003528..."} 
[2026-07-08 21:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42808210012d79584005f533780008003528..."} 
[2026-07-08 21:43:35] local.INFO: Processing buffer {"connection_id":126755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42808210012d79584005f533780008003528..."} 
[2026-07-08 21:43:35] local.INFO: Packet analysis {"connection_id":126755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4280"} 
[2026-07-08 21:43:35] local.INFO: Extracted packet for processing {"connection_id":126755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4280"} 
[2026-07-08 21:43:35] local.INFO: GPS Element Parsed {"raw_longitude":762927168,"raw_latitude":99955576,"longitude_deg":76.2927168,"latitude_deg":9.9955576,"altitude":8,"angle":53,"satellites":40,"speed":34,"hex_longitude":"2d795840","hex_latitude":"05f53378","is_valid_coordinates":true} 
[2026-07-08 21:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582946304001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343274101491630080,"note":"Value kept but may cause issues"} 
[2026-07-08 21:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8736209246499987456,"note":"Value kept but may cause issues"} 
[2026-07-08 21:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783527146000,"timestamp_ms":1783527146000,"timestamp_seconds":1783527146,"priority":1,"record_length":96,"hex_timestamp":"0000019f42808210"} 
[2026-07-08 21:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 21: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-08 21:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582946304001,"66":27343,"204":206,"8":64768,"24":34,"16":343274101491630080,"45":8736209246499987456},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,8,24,16,45]} 
[2026-07-08 21:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582946304001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:43:35] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-07-08 21:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343274101491630080,"km_value":343274101491630.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8736209246499987456,"description":"Unknown IO ID 45"} 
[2026-07-08 21:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582946304001,"power":27343,"lac":206,"unknown_8":64768,"ignition":34,"odometer":null,"unknown_45":8736209246499987456}} 
[2026-07-08 21:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":126755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:43:35] local.INFO: GPS data processed {"connection_id":126755,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:43:35] local.INFO: Acknowledgment sent {"connection_id":126755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:43:59] local.INFO: TCP Data received {"connection_id":126000,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:43:59] local.INFO: Processing buffer {"connection_id":126000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:43:59] local.INFO: IMEI packet received {"connection_id":126000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":126000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:44:04] local.INFO: TCP Data received {"connection_id":126000,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:44:04] local.INFO: Processing buffer {"connection_id":126000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:44:04] local.INFO: IMEI packet received {"connection_id":126000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":126000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:44:05] local.INFO: TCP Data received {"connection_id":126000,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42800128012d196500071ff078003e014220..."} 
[2026-07-08 21:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42800128012d196500071ff078003e014220..."} 
[2026-07-08 21:44:05] local.INFO: Processing buffer {"connection_id":126000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42800128012d196500071ff078003e014220..."} 
[2026-07-08 21:44:05] local.INFO: Packet analysis {"connection_id":126000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4280"} 
[2026-07-08 21:44:05] local.INFO: Extracted packet for processing {"connection_id":126000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4280"} 
[2026-07-08 21:44:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582863872001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783527113000,"timestamp_ms":1783527113000,"timestamp_seconds":1783527113,"priority":1,"record_length":96,"hex_timestamp":"0000019f42800128"} 
[2026-07-08 21:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582863872001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582863872001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:44:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:44:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582863872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":126000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:44:05] local.INFO: GPS data processed {"connection_id":126000,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:44:05] local.INFO: Acknowledgment sent {"connection_id":126000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:44:15] local.INFO: TCP Data received {"connection_id":126756,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:44:15] local.INFO: Processing buffer {"connection_id":126756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:44:15] local.INFO: IMEI packet received {"connection_id":126756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":126756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:44:20] local.INFO: TCP Data received {"connection_id":126756,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:44:20] local.INFO: Processing buffer {"connection_id":126756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:44:20] local.INFO: IMEI packet received {"connection_id":126756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":126756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:44:22] local.INFO: TCP Data received {"connection_id":126756,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4280a920012d79760005f54950000a003929..."} 
[2026-07-08 21:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4280a920012d79760005f54950000a003929..."} 
[2026-07-08 21:44:22] local.INFO: Processing buffer {"connection_id":126756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4280a920012d79760005f54950000a003929..."} 
[2026-07-08 21:44:22] local.INFO: Packet analysis {"connection_id":126756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4280"} 
[2026-07-08 21:44:22] local.INFO: Extracted packet for processing {"connection_id":126756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4280"} 
[2026-07-08 21:44:22] local.INFO: GPS Element Parsed {"raw_longitude":762934784,"raw_latitude":99961168,"longitude_deg":76.2934784,"latitude_deg":9.9961168,"altitude":10,"angle":57,"satellites":41,"speed":40,"hex_longitude":"2d797600","hex_latitude":"05f54950","is_valid_coordinates":true} 
[2026-07-08 21: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-07-08 21:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582949376001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343274552463196160,"note":"Value kept but may cause issues"} 
[2026-07-08 21:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8743809070872623104,"note":"Value kept but may cause issues"} 
[2026-07-08 21:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783527156000,"timestamp_ms":1783527156000,"timestamp_seconds":1783527156,"priority":1,"record_length":96,"hex_timestamp":"0000019f4280a920"} 
[2026-07-08 21:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 21:44:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21: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-07-08 21:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582949376001,"66":27267,"204":206,"8":64768,"24":40,"16":343274552463196160,"45":8743809070872623104},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,8,24,16,45]} 
[2026-07-08 21:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582949376001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:44:22] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-07-08 21:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343274552463196160,"km_value":343274552463196.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8743809070872623104,"description":"Unknown IO ID 45"} 
[2026-07-08 21:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582949376001,"power":27267,"lac":206,"unknown_8":64768,"ignition":40,"odometer":null,"unknown_45":8743809070872623104}} 
[2026-07-08 21:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":126756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:44:22] local.INFO: GPS data processed {"connection_id":126756,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:44:22] local.INFO: Acknowledgment sent {"connection_id":126756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:44:23] local.INFO: TCP Data received {"connection_id":126756,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4280cc48012d7993c005f55de0000a003529..."} 
[2026-07-08 21:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4280cc48012d7993c005f55de0000a003529..."} 
[2026-07-08 21:44:23] local.INFO: Processing buffer {"connection_id":126756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4280cc48012d7993c005f55de0000a003529..."} 
[2026-07-08 21:44:23] local.INFO: Packet analysis {"connection_id":126756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4280"} 
[2026-07-08 21:44:23] local.INFO: Extracted packet for processing {"connection_id":126756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4280"} 
[2026-07-08 21:44:23] local.INFO: GPS Element Parsed {"raw_longitude":762942400,"raw_latitude":99966432,"longitude_deg":76.29424,"latitude_deg":9.9966432,"altitude":10,"angle":53,"satellites":41,"speed":41,"hex_longitude":"2d7993c0","hex_latitude":"05f55de0","is_valid_coordinates":true} 
[2026-07-08 21:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582951936001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343274999139794944,"note":"Value kept but may cause issues"} 
[2026-07-08 21:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8752182951431196672,"note":"Value kept but may cause issues"} 
[2026-07-08 21:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783527165000,"timestamp_ms":1783527165000,"timestamp_seconds":1783527165,"priority":1,"record_length":96,"hex_timestamp":"0000019f4280cc48"} 
[2026-07-08 21:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:44:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 21:44: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 21:44:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:44:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":126756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":126756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":126756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582951936001,"66":27397,"204":206,"8":64768,"24":41,"16":343274999139794944,"45":8752182951431196672},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,8,24,16,45]} 
[2026-07-08 21:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582951936001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:44:23] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-07-08 21:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343274999139794944,"km_value":343274999139794.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8752182951431196672,"description":"Unknown IO ID 45"} 
[2026-07-08 21:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582951936001,"power":27397,"lac":206,"unknown_8":64768,"ignition":41,"odometer":null,"unknown_45":8752182951431196672}} 
[2026-07-08 21:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":126756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:44:23] local.INFO: GPS data processed {"connection_id":126756,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:44:23] local.INFO: Acknowledgment sent {"connection_id":126756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:44:36] local.INFO: TCP Data received {"connection_id":126000,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f42800128012d196500071ff078003e014220..."} 
[2026-07-08 21:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42800128012d196500071ff078003e014220..."} 
[2026-07-08 21:44:36] local.INFO: Processing buffer {"connection_id":126000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42800128012d196500071ff078003e014220..."} 
[2026-07-08 21:44:36] local.INFO: Packet analysis {"connection_id":126000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4280"} 
[2026-07-08 21:44:36] local.INFO: Extracted packet for processing {"connection_id":126000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4280"} 
[2026-07-08 21:44:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582863872001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783527113000,"timestamp_ms":1783527113000,"timestamp_seconds":1783527113,"priority":1,"record_length":96,"hex_timestamp":"0000019f42800128"} 
[2026-07-08 21:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582863872001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582863872001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:44:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:44:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582863872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":126000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:44:36] local.INFO: GPS data processed {"connection_id":126000,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:44:36] local.INFO: Acknowledgment sent {"connection_id":126000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:44:59] local.INFO: TCP Data received {"connection_id":126757,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:44:59] local.INFO: Processing buffer {"connection_id":126757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:44:59] local.INFO: IMEI packet received {"connection_id":126757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":126757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:45:04] local.INFO: TCP Data received {"connection_id":126757,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:45:04] local.INFO: Processing buffer {"connection_id":126757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:45:04] local.INFO: IMEI packet received {"connection_id":126757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":126757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:45:05] local.INFO: TCP Data received {"connection_id":126757,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f42800128012d196500071ff078003e014220..."} 
[2026-07-08 21:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42800128012d196500071ff078003e014220..."} 
[2026-07-08 21:45:05] local.INFO: Processing buffer {"connection_id":126757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42800128012d196500071ff078003e014220..."} 
[2026-07-08 21:45:05] local.INFO: Packet analysis {"connection_id":126757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4280"} 
[2026-07-08 21:45:05] local.INFO: Extracted packet for processing {"connection_id":126757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4280"} 
[2026-07-08 21:45:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582863872001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783527113000,"timestamp_ms":1783527113000,"timestamp_seconds":1783527113,"priority":1,"record_length":96,"hex_timestamp":"0000019f42800128"} 
[2026-07-08 21:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582863872001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582863872001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:45:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:45:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582863872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":126757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:45:05] local.INFO: GPS data processed {"connection_id":126757,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:45:05] local.INFO: Acknowledgment sent {"connection_id":126757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:45:36] local.INFO: TCP Data received {"connection_id":126757,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f42800128012d196500071ff078003e014220..."} 
[2026-07-08 21:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42800128012d196500071ff078003e014220..."} 
[2026-07-08 21:45:36] local.INFO: Processing buffer {"connection_id":126757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42800128012d196500071ff078003e014220..."} 
[2026-07-08 21:45:36] local.INFO: Packet analysis {"connection_id":126757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4280"} 
[2026-07-08 21:45:36] local.INFO: Extracted packet for processing {"connection_id":126757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4280"} 
[2026-07-08 21:45:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582863872001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783527113000,"timestamp_ms":1783527113000,"timestamp_seconds":1783527113,"priority":1,"record_length":96,"hex_timestamp":"0000019f42800128"} 
[2026-07-08 21:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582863872001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582863872001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:45:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:45:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582863872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":126757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:45:36] local.INFO: GPS data processed {"connection_id":126757,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:45:36] local.INFO: Acknowledgment sent {"connection_id":126757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:45:56] local.INFO: TCP Data received {"connection_id":125867,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125867,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:45:56] local.INFO: Processing buffer {"connection_id":125867,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:45:56] local.INFO: IMEI packet received {"connection_id":125867,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 21:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":125867,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:45:59] local.INFO: TCP Data received {"connection_id":126002,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:45:59] local.INFO: Processing buffer {"connection_id":126002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:45:59] local.INFO: IMEI packet received {"connection_id":126002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":126002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:46:04] local.INFO: TCP Data received {"connection_id":126002,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:46:04] local.INFO: Processing buffer {"connection_id":126002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:46:04] local.INFO: IMEI packet received {"connection_id":126002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":126002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:46:05] local.INFO: TCP Data received {"connection_id":126002,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f42800128012d196500071ff078003e014220..."} 
[2026-07-08 21:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42800128012d196500071ff078003e014220..."} 
[2026-07-08 21:46:05] local.INFO: Processing buffer {"connection_id":126002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42800128012d196500071ff078003e014220..."} 
[2026-07-08 21:46:05] local.INFO: Packet analysis {"connection_id":126002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4280"} 
[2026-07-08 21:46:05] local.INFO: Extracted packet for processing {"connection_id":126002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4280"} 
[2026-07-08 21:46:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582863872001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783527113000,"timestamp_ms":1783527113000,"timestamp_seconds":1783527113,"priority":1,"record_length":96,"hex_timestamp":"0000019f42800128"} 
[2026-07-08 21:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582863872001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582863872001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:46:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:46:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582863872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":126002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:46:05] local.INFO: GPS data processed {"connection_id":126002,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:46:05] local.INFO: Acknowledgment sent {"connection_id":126002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:46:10] local.INFO: TCP Data received {"connection_id":126758,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:46:10] local.INFO: Processing buffer {"connection_id":126758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:46:10] local.INFO: IMEI packet received {"connection_id":126758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":126758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:46:14] local.INFO: TCP Data received {"connection_id":126758,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:46:14] local.INFO: Processing buffer {"connection_id":126758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:46:14] local.INFO: IMEI packet received {"connection_id":126758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":126758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:46:16] local.INFO: TCP Data received {"connection_id":126758,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4282b490012d7ab04005f617080006004d2b..."} 
[2026-07-08 21:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4282b490012d7ab04005f617080006004d2b..."} 
[2026-07-08 21:46:16] local.INFO: Processing buffer {"connection_id":126758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4282b490012d7ab04005f617080006004d2b..."} 
[2026-07-08 21:46:16] local.INFO: Packet analysis {"connection_id":126758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4282"} 
[2026-07-08 21:46:16] local.INFO: Extracted packet for processing {"connection_id":126758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4282"} 
[2026-07-08 21:46:16] local.INFO: GPS Element Parsed {"raw_longitude":763015232,"raw_latitude":100013832,"longitude_deg":76.3015232,"latitude_deg":10.0013832,"altitude":6,"angle":77,"satellites":43,"speed":20,"hex_longitude":"2d7ab040","hex_latitude":"05f61708","is_valid_coordinates":true} 
[2026-07-08 21:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582981376001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343279221092646912,"note":"Value kept but may cause issues"} 
[2026-07-08 21:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8830714469946464256,"note":"Value kept but may cause issues"} 
[2026-07-08 21:46:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783527290000,"timestamp_ms":1783527290000,"timestamp_seconds":1783527290,"priority":1,"record_length":96,"hex_timestamp":"0000019f4282b490"} 
[2026-07-08 21:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21: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-07-08 21:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 21:46:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:46:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":126758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":126758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":126758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:46:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582981376001,"66":27463,"44":206,"8":64768,"24":20,"16":343279221092646912,"45":8830714469946464256},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,8,24,16,45]} 
[2026-07-08 21:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582981376001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:46:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-08 21:46:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-07-08 21:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343279221092646912,"km_value":343279221092646.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8830714469946464256,"description":"Unknown IO ID 45"} 
[2026-07-08 21:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582981376001,"power":27463,"unknown_44":206,"unknown_8":64768,"ignition":20,"odometer":null,"unknown_45":8830714469946464256}} 
[2026-07-08 21:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":126758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:46:16] local.INFO: GPS data processed {"connection_id":126758,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:46:16] local.INFO: Acknowledgment sent {"connection_id":126758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:46:36] local.INFO: TCP Data received {"connection_id":126002,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f42800128012d196500071ff078003e014220..."} 
[2026-07-08 21:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42800128012d196500071ff078003e014220..."} 
[2026-07-08 21:46:36] local.INFO: Processing buffer {"connection_id":126002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42800128012d196500071ff078003e014220..."} 
[2026-07-08 21:46:36] local.INFO: Packet analysis {"connection_id":126002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4280"} 
[2026-07-08 21:46:36] local.INFO: Extracted packet for processing {"connection_id":126002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4280"} 
[2026-07-08 21:46:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582863872001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783527113000,"timestamp_ms":1783527113000,"timestamp_seconds":1783527113,"priority":1,"record_length":96,"hex_timestamp":"0000019f42800128"} 
[2026-07-08 21:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:46:36] 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-07-08 21:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582863872001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582863872001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:46:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:46:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582863872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":126002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:46:36] local.INFO: GPS data processed {"connection_id":126002,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:46:36] local.INFO: Acknowledgment sent {"connection_id":126002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:46:59] local.INFO: TCP Data received {"connection_id":128005,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:46:59] local.INFO: Processing buffer {"connection_id":128005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:46:59] local.INFO: IMEI packet received {"connection_id":128005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":128005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:47:00] local.INFO: TCP Data received {"connection_id":128004,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:47:00] local.INFO: Processing buffer {"connection_id":128004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:47:00] local.INFO: IMEI packet received {"connection_id":128004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":128004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:47:02] local.INFO: TCP Data received {"connection_id":128004,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:47:02] local.INFO: Processing buffer {"connection_id":128004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:47:02] local.INFO: IMEI packet received {"connection_id":128004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":128004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:47:04] local.INFO: TCP Data received {"connection_id":128005,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:47:04] local.INFO: Processing buffer {"connection_id":128005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:47:04] local.INFO: IMEI packet received {"connection_id":128005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":128005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:47:05] local.INFO: TCP Data received {"connection_id":128004,"ip":"117.224.95.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:47:05] local.INFO: Processing buffer {"connection_id":128004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:47:05] local.INFO: IMEI packet received {"connection_id":128004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":128004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:47:05] local.INFO: TCP Data received {"connection_id":128005,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42800128012d196500071ff078003e014220..."} 
[2026-07-08 21:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42800128012d196500071ff078003e014220..."} 
[2026-07-08 21:47:05] local.INFO: Processing buffer {"connection_id":128005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42800128012d196500071ff078003e014220..."} 
[2026-07-08 21:47:05] local.INFO: Packet analysis {"connection_id":128005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4280"} 
[2026-07-08 21:47:05] local.INFO: Extracted packet for processing {"connection_id":128005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4280"} 
[2026-07-08 21:47:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582863872001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783527113000,"timestamp_ms":1783527113000,"timestamp_seconds":1783527113,"priority":1,"record_length":96,"hex_timestamp":"0000019f42800128"} 
[2026-07-08 21:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:47:05] 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-07-08 21:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582863872001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582863872001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:47:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:47:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582863872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":128005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:47:05] local.INFO: GPS data processed {"connection_id":128005,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:47:05] local.INFO: Acknowledgment sent {"connection_id":128005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:47:06] local.INFO: TCP Data received {"connection_id":128004,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f4282ef28012d7ad54005f61da80007004d29..."} 
[2026-07-08 21:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4282ef28012d7ad54005f61da80007004d29..."} 
[2026-07-08 21:47:06] local.INFO: Processing buffer {"connection_id":128004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4282ef28012d7ad54005f61da80007004d29..."} 
[2026-07-08 21:47:06] local.INFO: Packet analysis {"connection_id":128004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4282"} 
[2026-07-08 21:47:06] local.INFO: Extracted packet for processing {"connection_id":128004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4282"} 
[2026-07-08 21:47:06] local.INFO: GPS Element Parsed {"raw_longitude":763024704,"raw_latitude":100015528,"longitude_deg":76.3024704,"latitude_deg":10.0015528,"altitude":7,"angle":77,"satellites":41,"speed":31,"hex_longitude":"2d7ad540","hex_latitude":"05f61da8","is_valid_coordinates":true} 
[2026-07-08 21:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582986240001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343279680654147584,"note":"Value kept but may cause issues"} 
[2026-07-08 21:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8840636462876002304,"note":"Value kept but may cause issues"} 
[2026-07-08 21:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783527305000,"timestamp_ms":1783527305000,"timestamp_seconds":1783527305,"priority":1,"record_length":96,"hex_timestamp":"0000019f4282ef28"} 
[2026-07-08 21:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 21:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-08 21:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582986240001,"66":27397,"44":206,"8":64768,"24":31,"16":343279680654147584,"45":8840636462876002304},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,8,24,16,45]} 
[2026-07-08 21:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582986240001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:47:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-08 21:47:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-07-08 21:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343279680654147584,"km_value":343279680654147.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8840636462876002304,"description":"Unknown IO ID 45"} 
[2026-07-08 21:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582986240001,"power":27397,"unknown_44":206,"unknown_8":64768,"ignition":31,"odometer":null,"unknown_45":8840636462876002304}} 
[2026-07-08 21:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":128004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:47:06] local.INFO: GPS data processed {"connection_id":128004,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:47:06] local.INFO: Acknowledgment sent {"connection_id":128004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:47:11] local.INFO: TCP Data received {"connection_id":128004,"ip":"117.224.95.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f42831250012d7af04005f625e80009004225..."} 
[2026-07-08 21:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42831250012d7af04005f625e80009004225..."} 
[2026-07-08 21:47:11] local.INFO: Processing buffer {"connection_id":128004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42831250012d7af04005f625e80009004225..."} 
[2026-07-08 21:47:11] local.INFO: Packet analysis {"connection_id":128004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4283"} 
[2026-07-08 21:47:11] local.INFO: Extracted packet for processing {"connection_id":128004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4283"} 
[2026-07-08 21:47:11] local.INFO: GPS Element Parsed {"raw_longitude":763031616,"raw_latitude":100017640,"longitude_deg":76.3031616,"latitude_deg":10.001764,"altitude":9,"angle":66,"satellites":37,"speed":35,"hex_longitude":"2d7af040","hex_latitude":"05f625e8","is_valid_coordinates":true} 
[2026-07-08 21:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582990080001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343280028546498560,"note":"Value kept but may cause issues"} 
[2026-07-08 21:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851051037014730752,"note":"Value kept but may cause issues"} 
[2026-07-08 21:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783527314000,"timestamp_ms":1783527314000,"timestamp_seconds":1783527314,"priority":1,"record_length":96,"hex_timestamp":"0000019f42831250"} 
[2026-07-08 21:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-08 21:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582990080001,"66":27234,"44":206,"8":64768,"24":35,"16":343280028546498560,"45":8851051037014730752},"client_ip":"117.224.95.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,8,24,16,45]} 
[2026-07-08 21:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582990080001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:47:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-08 21:47:11] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-07-08 21:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343280028546498560,"km_value":343280028546498.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851051037014730752,"description":"Unknown IO ID 45"} 
[2026-07-08 21:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582990080001,"power":27234,"unknown_44":206,"unknown_8":64768,"ignition":35,"odometer":null,"unknown_45":8851051037014730752}} 
[2026-07-08 21:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":128004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:47:11] local.INFO: GPS data processed {"connection_id":128004,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:47:11] local.INFO: Acknowledgment sent {"connection_id":128004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:47:36] local.INFO: TCP Data received {"connection_id":128005,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f428498f0012d196500071ff078003e014220..."} 
[2026-07-08 21:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428498f0012d196500071ff078003e014220..."} 
[2026-07-08 21:47:36] local.INFO: Processing buffer {"connection_id":128005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428498f0012d196500071ff078003e014220..."} 
[2026-07-08 21:47:36] local.INFO: Packet analysis {"connection_id":128005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4284"} 
[2026-07-08 21:47:36] local.INFO: Extracted packet for processing {"connection_id":128005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4284"} 
[2026-07-08 21:47:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582940928001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783527414000,"timestamp_ms":1783527414000,"timestamp_seconds":1783527414,"priority":1,"record_length":96,"hex_timestamp":"0000019f428498f0"} 
[2026-07-08 21:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:47:36] 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-07-08 21:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582940928001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582940928001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:47:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:47:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582940928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":128005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:47:36] local.INFO: GPS data processed {"connection_id":128005,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:47:36] local.INFO: Acknowledgment sent {"connection_id":128005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:48:04] local.INFO: TCP Data received {"connection_id":125869,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:48:04] local.INFO: Processing buffer {"connection_id":125869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:48:04] local.INFO: IMEI packet received {"connection_id":125869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":125869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:48:09] local.INFO: TCP Data received {"connection_id":125869,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:48:09] local.INFO: Processing buffer {"connection_id":125869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:48:09] local.INFO: IMEI packet received {"connection_id":125869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":125869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:48:10] local.INFO: TCP Data received {"connection_id":125869,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f428498f0012d196500071ff078003e014220..."} 
[2026-07-08 21:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428498f0012d196500071ff078003e014220..."} 
[2026-07-08 21:48:10] local.INFO: Processing buffer {"connection_id":125869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428498f0012d196500071ff078003e014220..."} 
[2026-07-08 21:48:10] local.INFO: Packet analysis {"connection_id":125869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4284"} 
[2026-07-08 21:48:10] local.INFO: Extracted packet for processing {"connection_id":125869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4284"} 
[2026-07-08 21:48:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21: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-07-08 21:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582940928001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:48: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-07-08 21:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783527414000,"timestamp_ms":1783527414000,"timestamp_seconds":1783527414,"priority":1,"record_length":96,"hex_timestamp":"0000019f428498f0"} 
[2026-07-08 21:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582940928001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582940928001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:48:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:48:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582940928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":125869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:48:10] local.INFO: GPS data processed {"connection_id":125869,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:48:10] local.INFO: Acknowledgment sent {"connection_id":125869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:48:14] local.INFO: TCP Data received {"connection_id":125869,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f428498f0012d196500071ff078003e014220..."} 
[2026-07-08 21:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428498f0012d196500071ff078003e014220..."} 
[2026-07-08 21:48:14] local.INFO: Processing buffer {"connection_id":125869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428498f0012d196500071ff078003e014220..."} 
[2026-07-08 21:48:14] local.INFO: Packet analysis {"connection_id":125869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4284"} 
[2026-07-08 21:48:14] local.INFO: Extracted packet for processing {"connection_id":125869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4284"} 
[2026-07-08 21:48:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582940928001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:48:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783527414000,"timestamp_ms":1783527414000,"timestamp_seconds":1783527414,"priority":1,"record_length":96,"hex_timestamp":"0000019f428498f0"} 
[2026-07-08 21:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:48:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:48:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:48:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":125869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":125869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":125869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582940928001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582940928001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:48:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:48:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582940928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":125869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:48:15] local.INFO: GPS data processed {"connection_id":125869,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:48:15] local.INFO: Acknowledgment sent {"connection_id":125869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:48:59] local.INFO: TCP Data received {"connection_id":126004,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:48:59] local.INFO: Processing buffer {"connection_id":126004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:48:59] local.INFO: IMEI packet received {"connection_id":126004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":126004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:49:04] local.INFO: TCP Data received {"connection_id":126004,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:49:04] local.INFO: Processing buffer {"connection_id":126004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:49:04] local.INFO: IMEI packet received {"connection_id":126004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":126004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:49:05] local.INFO: TCP Data received {"connection_id":126004,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f428498f0012d196500071ff078003e014220..."} 
[2026-07-08 21:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428498f0012d196500071ff078003e014220..."} 
[2026-07-08 21:49:05] local.INFO: Processing buffer {"connection_id":126004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428498f0012d196500071ff078003e014220..."} 
[2026-07-08 21:49:05] local.INFO: Packet analysis {"connection_id":126004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4284"} 
[2026-07-08 21:49:05] local.INFO: Extracted packet for processing {"connection_id":126004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4284"} 
[2026-07-08 21:49:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582940928001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783527414000,"timestamp_ms":1783527414000,"timestamp_seconds":1783527414,"priority":1,"record_length":96,"hex_timestamp":"0000019f428498f0"} 
[2026-07-08 21:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:49:05] 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-07-08 21:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582940928001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582940928001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:49:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:49:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582940928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":126004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:49:05] local.INFO: GPS data processed {"connection_id":126004,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:49:05] local.INFO: Acknowledgment sent {"connection_id":126004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:49:36] local.INFO: TCP Data received {"connection_id":126004,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f428498f0012d196500071ff078003e014220..."} 
[2026-07-08 21:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428498f0012d196500071ff078003e014220..."} 
[2026-07-08 21:49:36] local.INFO: Processing buffer {"connection_id":126004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428498f0012d196500071ff078003e014220..."} 
[2026-07-08 21:49:36] local.INFO: Packet analysis {"connection_id":126004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4284"} 
[2026-07-08 21:49:36] local.INFO: Extracted packet for processing {"connection_id":126004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4284"} 
[2026-07-08 21:49:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582940928001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783527414000,"timestamp_ms":1783527414000,"timestamp_seconds":1783527414,"priority":1,"record_length":96,"hex_timestamp":"0000019f428498f0"} 
[2026-07-08 21:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:49:36] 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-07-08 21:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582940928001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582940928001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:49:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:49:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582940928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":126004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:49:36] local.INFO: GPS data processed {"connection_id":126004,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:49:36] local.INFO: Acknowledgment sent {"connection_id":126004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:49:59] local.INFO: TCP Data received {"connection_id":125870,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:49:59] local.INFO: Processing buffer {"connection_id":125870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:49:59] local.INFO: IMEI packet received {"connection_id":125870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":125870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:50:04] local.INFO: TCP Data received {"connection_id":125870,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:50:04] local.INFO: Processing buffer {"connection_id":125870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:50:04] local.INFO: IMEI packet received {"connection_id":125870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":125870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:50:05] local.INFO: TCP Data received {"connection_id":125870,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f428498f0012d196500071ff078003e014220..."} 
[2026-07-08 21:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428498f0012d196500071ff078003e014220..."} 
[2026-07-08 21:50:05] local.INFO: Processing buffer {"connection_id":125870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428498f0012d196500071ff078003e014220..."} 
[2026-07-08 21:50:05] local.INFO: Packet analysis {"connection_id":125870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4284"} 
[2026-07-08 21:50:05] local.INFO: Extracted packet for processing {"connection_id":125870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4284"} 
[2026-07-08 21:50:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582940928001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783527414000,"timestamp_ms":1783527414000,"timestamp_seconds":1783527414,"priority":1,"record_length":96,"hex_timestamp":"0000019f428498f0"} 
[2026-07-08 21:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582940928001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582940928001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:50:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:50:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582940928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":125870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:50:05] local.INFO: GPS data processed {"connection_id":125870,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:50:05] local.INFO: Acknowledgment sent {"connection_id":125870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:50:36] local.INFO: TCP Data received {"connection_id":125870,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f428498f0012d196500071ff078003e014220..."} 
[2026-07-08 21:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428498f0012d196500071ff078003e014220..."} 
[2026-07-08 21:50:36] local.INFO: Processing buffer {"connection_id":125870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428498f0012d196500071ff078003e014220..."} 
[2026-07-08 21:50:36] local.INFO: Packet analysis {"connection_id":125870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4284"} 
[2026-07-08 21:50:36] local.INFO: Extracted packet for processing {"connection_id":125870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4284"} 
[2026-07-08 21:50:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582940928001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783527414000,"timestamp_ms":1783527414000,"timestamp_seconds":1783527414,"priority":1,"record_length":96,"hex_timestamp":"0000019f428498f0"} 
[2026-07-08 21:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:50:36] 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-07-08 21:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582940928001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582940928001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:50:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:50:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582940928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":125870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:50:36] local.INFO: GPS data processed {"connection_id":125870,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:50:36] local.INFO: Acknowledgment sent {"connection_id":125870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:50:55] local.INFO: TCP Data received {"connection_id":125871,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:50:55] local.INFO: Processing buffer {"connection_id":125871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:50:55] local.INFO: IMEI packet received {"connection_id":125871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":125871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:50:59] local.INFO: TCP Data received {"connection_id":126760,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:50:59] local.INFO: Processing buffer {"connection_id":126760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:50:59] local.INFO: IMEI packet received {"connection_id":126760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":126760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:51:00] local.INFO: TCP Data received {"connection_id":125871,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:51:00] local.INFO: Processing buffer {"connection_id":125871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:51:00] local.INFO: IMEI packet received {"connection_id":125871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":125871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:51:02] local.INFO: TCP Data received {"connection_id":125871,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:51:02] local.INFO: Processing buffer {"connection_id":125871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:51:02] local.INFO: IMEI packet received {"connection_id":125871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":125871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:51:02] local.INFO: TCP Data received {"connection_id":125871,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42872548012d7b700005f93b300009001f29..."} 
[2026-07-08 21:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42872548012d7b700005f93b300009001f29..."} 
[2026-07-08 21:51:02] local.INFO: Processing buffer {"connection_id":125871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42872548012d7b700005f93b300009001f29..."} 
[2026-07-08 21:51:02] local.INFO: Packet analysis {"connection_id":125871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4287"} 
[2026-07-08 21:51:02] local.INFO: Extracted packet for processing {"connection_id":125871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4287"} 
[2026-07-08 21:51:02] local.INFO: GPS Element Parsed {"raw_longitude":763064320,"raw_latitude":100219696,"longitude_deg":76.306432,"latitude_deg":10.0219696,"altitude":9,"angle":31,"satellites":41,"speed":30,"hex_longitude":"2d7b7000","hex_latitude":"05f93b30","is_valid_coordinates":true} 
[2026-07-08 21:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583058432001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343291006482907136,"note":"Value kept but may cause issues"} 
[2026-07-08 21:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889753846362681344,"note":"Value kept but may cause issues"} 
[2026-07-08 21:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783527581000,"timestamp_ms":1783527581000,"timestamp_seconds":1783527581,"priority":1,"record_length":96,"hex_timestamp":"0000019f42872548"} 
[2026-07-08 21:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 21:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-08 21:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583058432001,"66":27343,"181":206,"8":65024,"24":30,"16":343291006482907136,"45":8889753846362681344},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,8,24,16,45]} 
[2026-07-08 21:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583058432001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:51:02] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-07-08 21:51:02] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-07-08 21:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343291006482907136,"km_value":343291006482907.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889753846362681344,"description":"Unknown IO ID 45"} 
[2026-07-08 21:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583058432001,"power":27343,"unknown_181":206,"unknown_8":65024,"ignition":30,"odometer":null,"unknown_45":8889753846362681344}} 
[2026-07-08 21:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":125871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:51:02] local.INFO: GPS data processed {"connection_id":125871,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:51:02] local.INFO: Acknowledgment sent {"connection_id":125871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:51:04] local.INFO: TCP Data received {"connection_id":125871,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42875bf8012d7b800005f956b80009001429..."} 
[2026-07-08 21:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42875bf8012d7b800005f956b80009001429..."} 
[2026-07-08 21:51:04] local.INFO: Processing buffer {"connection_id":125871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42875bf8012d7b800005f956b80009001429..."} 
[2026-07-08 21:51:04] local.INFO: Packet analysis {"connection_id":125871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4287"} 
[2026-07-08 21:51:04] local.INFO: Extracted packet for processing {"connection_id":125871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4287"} 
[2026-07-08 21:51:04] local.INFO: GPS Element Parsed {"raw_longitude":763068416,"raw_latitude":100226744,"longitude_deg":76.3068416,"latitude_deg":10.0226744,"altitude":9,"angle":20,"satellites":41,"speed":24,"hex_longitude":"2d7b8000","hex_latitude":"05f956b8","is_valid_coordinates":true} 
[2026-07-08 21:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583060736001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343291397324931072,"note":"Value kept but may cause issues"} 
[2026-07-08 21:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8894609289712971776,"note":"Value kept but may cause issues"} 
[2026-07-08 21:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783527595000,"timestamp_ms":1783527595000,"timestamp_seconds":1783527595,"priority":1,"record_length":96,"hex_timestamp":"0000019f42875bf8"} 
[2026-07-08 21:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 21:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583060736001,"66":27300,"14":206,"87":10752,"24":24,"16":343291397324931072,"45":8894609289712971776},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,87,24,16,45]} 
[2026-07-08 21:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583060736001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:51:04] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-08 21:51:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-08 21:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343291397324931072,"km_value":343291397324931.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8894609289712971776,"description":"Unknown IO ID 45"} 
[2026-07-08 21:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583060736001,"power":27300,"unknown_14":206,"unknown_87":10752,"ignition":24,"odometer":null,"unknown_45":8894609289712971776}} 
[2026-07-08 21:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":125871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:51:04] local.INFO: GPS data processed {"connection_id":125871,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:51:04] local.INFO: Acknowledgment sent {"connection_id":125871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:51:04] local.INFO: TCP Data received {"connection_id":126760,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:51:04] local.INFO: Processing buffer {"connection_id":126760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:51:04] local.INFO: IMEI packet received {"connection_id":126760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":126760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:51:05] local.INFO: TCP Data received {"connection_id":126760,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f428498f0012d196500071ff078003e014220..."} 
[2026-07-08 21:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428498f0012d196500071ff078003e014220..."} 
[2026-07-08 21:51:05] local.INFO: Processing buffer {"connection_id":126760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428498f0012d196500071ff078003e014220..."} 
[2026-07-08 21:51:05] local.INFO: Packet analysis {"connection_id":126760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4284"} 
[2026-07-08 21:51:05] local.INFO: Extracted packet for processing {"connection_id":126760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4284"} 
[2026-07-08 21:51:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582940928001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783527414000,"timestamp_ms":1783527414000,"timestamp_seconds":1783527414,"priority":1,"record_length":96,"hex_timestamp":"0000019f428498f0"} 
[2026-07-08 21:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:51:05] 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-07-08 21:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582940928001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582940928001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:51:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:51:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582940928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":126760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:51:05] local.INFO: GPS data processed {"connection_id":126760,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:51:05] local.INFO: Acknowledgment sent {"connection_id":126760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:51:30] local.INFO: TCP Data received {"connection_id":126006,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126006,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:51:30] local.INFO: Processing buffer {"connection_id":126006,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:51:30] local.INFO: IMEI packet received {"connection_id":126006,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 21:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":126006,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:51:35] local.INFO: TCP Data received {"connection_id":125871,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f428792a8012d7b8f8005f976b00007001d2b..."} 
[2026-07-08 21:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428792a8012d7b8f8005f976b00007001d2b..."} 
[2026-07-08 21:51:36] local.INFO: Processing buffer {"connection_id":125871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428792a8012d7b8f8005f976b00007001d2b..."} 
[2026-07-08 21:51:36] local.INFO: Packet analysis {"connection_id":125871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4287"} 
[2026-07-08 21:51:36] local.INFO: Extracted packet for processing {"connection_id":125871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4287"} 
[2026-07-08 21:51:36] local.INFO: GPS Element Parsed {"raw_longitude":763072384,"raw_latitude":100234928,"longitude_deg":76.3072384,"latitude_deg":10.0234928,"altitude":7,"angle":29,"satellites":43,"speed":28,"hex_longitude":"2d7b8f80","hex_latitude":"05f976b0","is_valid_coordinates":true} 
[2026-07-08 21:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583064320001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343291839706562560,"note":"Value kept but may cause issues"} 
[2026-07-08 21:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899112889342146560,"note":"Value kept but may cause issues"} 
[2026-07-08 21:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783527609000,"timestamp_ms":1783527609000,"timestamp_seconds":1783527609,"priority":1,"record_length":96,"hex_timestamp":"0000019f428792a8"} 
[2026-07-08 21:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 21: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-08 21:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21: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-07-08 21:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583064320001,"66":27397,"14":206,"87":10752,"24":28,"16":343291839706562560,"45":8899112889342146560},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,87,24,16,45]} 
[2026-07-08 21:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583064320001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:51:36] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-08 21:51:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-08 21:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343291839706562560,"km_value":343291839706562.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899112889342146560,"description":"Unknown IO ID 45"} 
[2026-07-08 21:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583064320001,"power":27397,"unknown_14":206,"unknown_87":10752,"ignition":28,"odometer":null,"unknown_45":8899112889342146560}} 
[2026-07-08 21:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":125871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:51:36] local.INFO: GPS data processed {"connection_id":125871,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:51:36] local.INFO: Acknowledgment sent {"connection_id":125871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:51:36] local.INFO: TCP Data received {"connection_id":126760,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f428498f0012d196500071ff078003e014220..."} 
[2026-07-08 21:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428498f0012d196500071ff078003e014220..."} 
[2026-07-08 21:51:36] local.INFO: Processing buffer {"connection_id":126760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428498f0012d196500071ff078003e014220..."} 
[2026-07-08 21:51:36] local.INFO: Packet analysis {"connection_id":126760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4284"} 
[2026-07-08 21:51:36] local.INFO: Extracted packet for processing {"connection_id":126760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4284"} 
[2026-07-08 21:51:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582940928001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783527414000,"timestamp_ms":1783527414000,"timestamp_seconds":1783527414,"priority":1,"record_length":96,"hex_timestamp":"0000019f428498f0"} 
[2026-07-08 21:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21: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-07-08 21:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:51:36] 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-07-08 21:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582940928001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582940928001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:51:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:51:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582940928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":126760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:51:36] local.INFO: GPS data processed {"connection_id":126760,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:51:36] local.INFO: Acknowledgment sent {"connection_id":126760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:51:55] local.INFO: TCP Data received {"connection_id":126007,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:51:55] local.INFO: Processing buffer {"connection_id":126007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:51:55] local.INFO: IMEI packet received {"connection_id":126007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":126007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:51:55] local.INFO: TCP Data received {"connection_id":126761,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126761,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:51:55] local.INFO: Processing buffer {"connection_id":126761,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:51:55] local.INFO: IMEI packet received {"connection_id":126761,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 21:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":126761,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:51:59] local.INFO: TCP Data received {"connection_id":126008,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:51:59] local.INFO: Processing buffer {"connection_id":126008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:51:59] local.INFO: IMEI packet received {"connection_id":126008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":126008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:52:00] local.INFO: TCP Data received {"connection_id":126007,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:52:00] local.INFO: Processing buffer {"connection_id":126007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:52:00] local.INFO: IMEI packet received {"connection_id":126007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":126007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:52:00] local.INFO: TCP Data received {"connection_id":126761,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126761,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:52:00] local.INFO: Processing buffer {"connection_id":126761,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:52:00] local.INFO: IMEI packet received {"connection_id":126761,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-08 21:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":126761,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:52:01] local.INFO: TCP Data received {"connection_id":126761,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f4286d340012cf476000710a0b0002500762c..."} 
[2026-07-08 21:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4286d340012cf476000710a0b0002500762c..."} 
[2026-07-08 21:52:01] local.INFO: Processing buffer {"connection_id":126761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4286d340012cf476000710a0b0002500762c..."} 
[2026-07-08 21:52:01] local.INFO: Packet analysis {"connection_id":126761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4286"} 
[2026-07-08 21:52:01] local.INFO: Extracted packet for processing {"connection_id":126761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4286"} 
[2026-07-08 21:52:01] local.INFO: GPS Element Parsed {"raw_longitude":754218496,"raw_latitude":118530224,"longitude_deg":75.4218496,"latitude_deg":11.8530224,"altitude":37,"angle":118,"satellites":44,"speed":20,"hex_longitude":"2cf47600","hex_latitude":"0710a0b0","is_valid_coordinates":true} 
[2026-07-08 21:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583050496001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":133598986421403648,"note":"Value kept but may cause issues"} 
[2026-07-08 21:52:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-843439737367873536,"note":"Value kept but may cause issues"} 
[2026-07-08 21:52:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783527560000,"timestamp_ms":1783527560000,"timestamp_seconds":1783527560,"priority":1,"record_length":96,"hex_timestamp":"0000019f4286d340"} 
[2026-07-08 21:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:52:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 21:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-08 21:52:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:52:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126761,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 21:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126761,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-08 21:52:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-08 21:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-08 21:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583050496001,"66":27887,"215":206,"83":41472,"24":20,"16":133598986421403648,"44":-843439737367873536},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,44]} 
[2026-07-08 21:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-08 21:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-08 21:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583050496001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:52:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-08 21:52:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-08 21:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":133598986421403648,"km_value":133598986421403.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:52:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-843439737367873536,"description":"Unknown IO ID 44"} 
[2026-07-08 21:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583050496001,"power":27887,"unknown_215":206,"unknown_83":41472,"ignition":20,"odometer":null,"unknown_44":-843439737367873536}} 
[2026-07-08 21:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":126761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453911,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:52:01] local.INFO: GPS data processed {"connection_id":126761,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:52:01] local.INFO: Acknowledgment sent {"connection_id":126761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:52:01] local.INFO: TCP Data received {"connection_id":126007,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4287cd40012d7ba10005f99598000b001d24..."} 
[2026-07-08 21:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4287cd40012d7ba10005f99598000b001d24..."} 
[2026-07-08 21:52:01] local.INFO: Processing buffer {"connection_id":126007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4287cd40012d7ba10005f99598000b001d24..."} 
[2026-07-08 21:52:01] local.INFO: Packet analysis {"connection_id":126007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4287"} 
[2026-07-08 21:52:01] local.INFO: Extracted packet for processing {"connection_id":126007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4287"} 
[2026-07-08 21:52:01] local.INFO: GPS Element Parsed {"raw_longitude":763076864,"raw_latitude":100242840,"longitude_deg":76.3076864,"latitude_deg":10.024284,"altitude":11,"angle":29,"satellites":36,"speed":16,"hex_longitude":"2d7ba100","hex_latitude":"05f99598","is_valid_coordinates":true} 
[2026-07-08 21:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583067904001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343292282088194048,"note":"Value kept but may cause issues"} 
[2026-07-08 21:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8903475751483256832,"note":"Value kept but may cause issues"} 
[2026-07-08 21:52:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783527624000,"timestamp_ms":1783527624000,"timestamp_seconds":1783527624,"priority":1,"record_length":96,"hex_timestamp":"0000019f4287cd40"} 
[2026-07-08 21:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:52:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 21:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-08 21:52:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:52:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:52:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583067904001,"66":27365,"14":206,"87":10752,"24":16,"16":343292282088194048,"45":8903475751483256832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,87,24,16,45]} 
[2026-07-08 21:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583067904001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:52:01] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-08 21:52:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-08 21:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343292282088194048,"km_value":343292282088194.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8903475751483256832,"description":"Unknown IO ID 45"} 
[2026-07-08 21:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583067904001,"power":27365,"unknown_14":206,"unknown_87":10752,"ignition":16,"odometer":null,"unknown_45":8903475751483256832}} 
[2026-07-08 21:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":126007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:52:01] local.INFO: GPS data processed {"connection_id":126007,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:52:01] local.INFO: Acknowledgment sent {"connection_id":126007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:52:04] local.INFO: TCP Data received {"connection_id":126008,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:52:04] local.INFO: Processing buffer {"connection_id":126008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:52:04] local.INFO: IMEI packet received {"connection_id":126008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":126008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:52:05] local.INFO: TCP Data received {"connection_id":126008,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f428498f0012d196500071ff078003e014220..."} 
[2026-07-08 21:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428498f0012d196500071ff078003e014220..."} 
[2026-07-08 21:52:05] local.INFO: Processing buffer {"connection_id":126008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428498f0012d196500071ff078003e014220..."} 
[2026-07-08 21:52:05] local.INFO: Packet analysis {"connection_id":126008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4284"} 
[2026-07-08 21:52:05] local.INFO: Extracted packet for processing {"connection_id":126008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4284"} 
[2026-07-08 21:52:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456582940928001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783527414000,"timestamp_ms":1783527414000,"timestamp_seconds":1783527414,"priority":1,"record_length":96,"hex_timestamp":"0000019f428498f0"} 
[2026-07-08 21:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21: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-07-08 21:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456582940928001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456582940928001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:52:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:52:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456582940928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":126008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:52:05] local.INFO: GPS data processed {"connection_id":126008,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:52:05] local.INFO: Acknowledgment sent {"connection_id":126008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:52:36] local.INFO: TCP Data received {"connection_id":126008,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f428930b8012d196500071ff078003e014225..."} 
[2026-07-08 21:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428930b8012d196500071ff078003e014225..."} 
[2026-07-08 21:52:36] local.INFO: Processing buffer {"connection_id":126008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428930b8012d196500071ff078003e014225..."} 
[2026-07-08 21:52:36] local.INFO: Packet analysis {"connection_id":126008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4289"} 
[2026-07-08 21:52:36] local.INFO: Extracted packet for processing {"connection_id":126008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4289"} 
[2026-07-08 21:52:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21: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-07-08 21:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583017984001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783527715000,"timestamp_ms":1783527715000,"timestamp_seconds":1783527715,"priority":1,"record_length":96,"hex_timestamp":"0000019f428930b8"} 
[2026-07-08 21:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21: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-07-08 21:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583017984001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583017984001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:52:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:52:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583017984001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":126008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:52:36] local.INFO: GPS data processed {"connection_id":126008,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:52:36] local.INFO: Acknowledgment sent {"connection_id":126008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:52:37] local.INFO: TCP Data received {"connection_id":126007,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4287d510012d7ba24005f998a8000b000624..."} 
[2026-07-08 21:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4287d510012d7ba24005f998a8000b000624..."} 
[2026-07-08 21:52:37] local.INFO: Processing buffer {"connection_id":126007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4287d510012d7ba24005f998a8000b000624..."} 
[2026-07-08 21:52:37] local.INFO: Packet analysis {"connection_id":126007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4287"} 
[2026-07-08 21:52:37] local.INFO: Extracted packet for processing {"connection_id":126007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4287"} 
[2026-07-08 21:52:37] local.INFO: GPS Element Parsed {"raw_longitude":763077184,"raw_latitude":100243624,"longitude_deg":76.3077184,"latitude_deg":10.0243624,"altitude":11,"angle":6,"satellites":36,"speed":16,"hex_longitude":"2d7ba240","hex_latitude":"05f998a8","is_valid_coordinates":true} 
[2026-07-08 21:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583071744001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343292320742899712,"note":"Value kept but may cause issues"} 
[2026-07-08 21:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8908401563577718784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783527626000,"timestamp_ms":1783527626000,"timestamp_seconds":1783527626,"priority":1,"record_length":96,"hex_timestamp":"0000019f4287d510"} 
[2026-07-08 21:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 21:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 21:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583071744001,"66":27463,"14":206,"87":10752,"24":16,"16":343292320742899712,"45":8908401563577718784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,87,24,16,45]} 
[2026-07-08 21:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583071744001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:52:37] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-08 21:52:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-08 21:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343292320742899712,"km_value":343292320742899.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8908401563577718784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583071744001,"power":27463,"unknown_14":206,"unknown_87":10752,"ignition":16,"odometer":null,"unknown_45":8908401563577718784}} 
[2026-07-08 21:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":126007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:52:37] local.INFO: GPS data processed {"connection_id":126007,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:52:37] local.INFO: Acknowledgment sent {"connection_id":126007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:52:55] local.INFO: TCP Data received {"connection_id":126009,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:52:55] local.INFO: Processing buffer {"connection_id":126009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:52:55] local.INFO: IMEI packet received {"connection_id":126009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":126009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:52:56] local.INFO: TCP Data received {"connection_id":126009,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:52:56] local.INFO: Processing buffer {"connection_id":126009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:52:56] local.INFO: IMEI packet received {"connection_id":126009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":126009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:53:00] local.INFO: TCP Data received {"connection_id":126009,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:53:00] local.INFO: Processing buffer {"connection_id":126009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:53:00] local.INFO: IMEI packet received {"connection_id":126009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":126009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:53:00] local.INFO: TCP Data received {"connection_id":126010,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126010,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:53:00] local.INFO: Processing buffer {"connection_id":126010,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:53:00] local.INFO: IMEI packet received {"connection_id":126010,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 21:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":126010,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:53:00] local.INFO: TCP Data received {"connection_id":126009,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4287d8f8012d7ba1c005f99a80000b016224..."} 
[2026-07-08 21:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4287d8f8012d7ba1c005f99a80000b016224..."} 
[2026-07-08 21:53:00] local.INFO: Processing buffer {"connection_id":126009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4287d8f8012d7ba1c005f99a80000b016224..."} 
[2026-07-08 21:53:00] local.INFO: Packet analysis {"connection_id":126009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4287"} 
[2026-07-08 21:53:00] local.INFO: Extracted packet for processing {"connection_id":126009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4287"} 
[2026-07-08 21:53:00] local.INFO: GPS Element Parsed {"raw_longitude":763077056,"raw_latitude":100244096,"longitude_deg":76.3077056,"latitude_deg":10.0244096,"altitude":11,"angle":354,"satellites":36,"speed":18,"hex_longitude":"2d7ba1c0","hex_latitude":"05f99a80","is_valid_coordinates":true} 
[2026-07-08 21:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583072256001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343292342217736192,"note":"Value kept but may cause issues"} 
[2026-07-08 21:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8908753407298807808,"note":"Value kept but may cause issues"} 
[2026-07-08 21:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783527627000,"timestamp_ms":1783527627000,"timestamp_seconds":1783527627,"priority":1,"record_length":96,"hex_timestamp":"0000019f4287d8f8"} 
[2026-07-08 21:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 21:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-08 21:53:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:53:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583072256001,"66":27463,"14":206,"87":10752,"24":18,"16":343292342217736192,"45":8908753407298807808},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,87,24,16,45]} 
[2026-07-08 21:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583072256001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:53:00] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-08 21:53:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-08 21:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343292342217736192,"km_value":343292342217736.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8908753407298807808,"description":"Unknown IO ID 45"} 
[2026-07-08 21:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583072256001,"power":27463,"unknown_14":206,"unknown_87":10752,"ignition":18,"odometer":null,"unknown_45":8908753407298807808}} 
[2026-07-08 21:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":126009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:53:00] local.INFO: GPS data processed {"connection_id":126009,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:53:00] local.INFO: Acknowledgment sent {"connection_id":126009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:53:04] local.INFO: TCP Data received {"connection_id":125872,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:53:04] local.INFO: Processing buffer {"connection_id":125872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:53:04] local.INFO: IMEI packet received {"connection_id":125872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":125872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:53:09] local.INFO: TCP Data received {"connection_id":125872,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:53:09] local.INFO: Processing buffer {"connection_id":125872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:53:09] local.INFO: IMEI packet received {"connection_id":125872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":125872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:53:10] local.INFO: TCP Data received {"connection_id":125872,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f428930b8012d196500071ff078003e014225..."} 
[2026-07-08 21:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428930b8012d196500071ff078003e014225..."} 
[2026-07-08 21:53:10] local.INFO: Processing buffer {"connection_id":125872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428930b8012d196500071ff078003e014225..."} 
[2026-07-08 21:53:10] local.INFO: Packet analysis {"connection_id":125872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4289"} 
[2026-07-08 21:53:10] local.INFO: Extracted packet for processing {"connection_id":125872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4289"} 
[2026-07-08 21:53:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583017984001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:53: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-07-08 21:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783527715000,"timestamp_ms":1783527715000,"timestamp_seconds":1783527715,"priority":1,"record_length":96,"hex_timestamp":"0000019f428930b8"} 
[2026-07-08 21:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:53:10] 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-07-08 21:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583017984001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583017984001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:53:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:53:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583017984001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":125872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:53:10] local.INFO: GPS data processed {"connection_id":125872,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:53:10] local.INFO: Acknowledgment sent {"connection_id":125872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:53:32] local.INFO: TCP Data received {"connection_id":126009,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4289a5e8012d7b3fc005fa6c68000701622c..."} 
[2026-07-08 21:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4289a5e8012d7b3fc005fa6c68000701622c..."} 
[2026-07-08 21:53:32] local.INFO: Processing buffer {"connection_id":126009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4289a5e8012d7b3fc005fa6c68000701622c..."} 
[2026-07-08 21:53:32] local.INFO: Packet analysis {"connection_id":126009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4289"} 
[2026-07-08 21:53:32] local.INFO: Extracted packet for processing {"connection_id":126009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4289"} 
[2026-07-08 21:53:32] local.INFO: GPS Element Parsed {"raw_longitude":763051968,"raw_latitude":100297832,"longitude_deg":76.3051968,"latitude_deg":10.0297832,"altitude":7,"angle":354,"satellites":44,"speed":24,"hex_longitude":"2d7b3fc0","hex_latitude":"05fa6c68","is_valid_coordinates":true} 
[2026-07-08 21:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583101696001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343295288565301248,"note":"Value kept but may cause issues"} 
[2026-07-08 21:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746647129427968,"note":"Value kept but may cause issues"} 
[2026-07-08 21:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783527745000,"timestamp_ms":1783527745000,"timestamp_seconds":1783527745,"priority":1,"record_length":96,"hex_timestamp":"0000019f4289a5e8"} 
[2026-07-08 21:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 21:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 21:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583101696001,"66":27343,"211":206,"87":10752,"24":24,"16":343295288565301248,"45":8880746647129427968},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,87,24,16,45]} 
[2026-07-08 21:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583101696001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:53:32] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-07-08 21:53:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-08 21:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343295288565301248,"km_value":343295288565301.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746647129427968,"description":"Unknown IO ID 45"} 
[2026-07-08 21:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583101696001,"power":27343,"unknown_211":206,"unknown_87":10752,"ignition":24,"odometer":null,"unknown_45":8880746647129427968}} 
[2026-07-08 21:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":126009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:53:32] local.INFO: GPS data processed {"connection_id":126009,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:53:32] local.INFO: Acknowledgment sent {"connection_id":126009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:53:41] local.INFO: TCP Data received {"connection_id":125872,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f428930b8012d196500071ff078003e014225..."} 
[2026-07-08 21:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428930b8012d196500071ff078003e014225..."} 
[2026-07-08 21:53:41] local.INFO: Processing buffer {"connection_id":125872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428930b8012d196500071ff078003e014225..."} 
[2026-07-08 21:53:41] local.INFO: Packet analysis {"connection_id":125872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4289"} 
[2026-07-08 21:53:41] local.INFO: Extracted packet for processing {"connection_id":125872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4289"} 
[2026-07-08 21:53:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583017984001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:53: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-07-08 21:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783527715000,"timestamp_ms":1783527715000,"timestamp_seconds":1783527715,"priority":1,"record_length":96,"hex_timestamp":"0000019f428930b8"} 
[2026-07-08 21:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:53: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-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:53: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-07-08 21:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:53:41] 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-07-08 21:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583017984001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583017984001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:53:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:53:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583017984001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":125872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:53:41] local.INFO: GPS data processed {"connection_id":125872,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:53:41] local.INFO: Acknowledgment sent {"connection_id":125872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:53:54] local.INFO: TCP Data received {"connection_id":128007,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:53:54] local.INFO: Processing buffer {"connection_id":128007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:53:54] local.INFO: IMEI packet received {"connection_id":128007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":128007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:53:57] local.INFO: TCP Data received {"connection_id":128007,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:53:57] local.INFO: Processing buffer {"connection_id":128007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:53:57] local.INFO: IMEI packet received {"connection_id":128007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":128007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:53:59] local.INFO: TCP Data received {"connection_id":126011,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:53:59] local.INFO: Processing buffer {"connection_id":126011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:53:59] local.INFO: IMEI packet received {"connection_id":126011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":126011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:54:03] local.INFO: TCP Data received {"connection_id":128007,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:54:03] local.INFO: Processing buffer {"connection_id":128007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:54:03] local.INFO: IMEI packet received {"connection_id":128007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":128007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:54:04] local.INFO: TCP Data received {"connection_id":126011,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:54:04] local.INFO: Processing buffer {"connection_id":126011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:54:04] local.INFO: IMEI packet received {"connection_id":126011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":126011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:54:05] local.INFO: TCP Data received {"connection_id":126011,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f428930b8012d196500071ff078003e014225..."} 
[2026-07-08 21:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428930b8012d196500071ff078003e014225..."} 
[2026-07-08 21:54:05] local.INFO: Processing buffer {"connection_id":126011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428930b8012d196500071ff078003e014225..."} 
[2026-07-08 21:54:05] local.INFO: Packet analysis {"connection_id":126011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4289"} 
[2026-07-08 21:54:05] local.INFO: Extracted packet for processing {"connection_id":126011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4289"} 
[2026-07-08 21:54:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583017984001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783527715000,"timestamp_ms":1783527715000,"timestamp_seconds":1783527715,"priority":1,"record_length":96,"hex_timestamp":"0000019f428930b8"} 
[2026-07-08 21:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583017984001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583017984001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:54:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:54:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583017984001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":126011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:54:05] local.INFO: GPS data processed {"connection_id":126011,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:54:05] local.INFO: Acknowledgment sent {"connection_id":126011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:54:26] local.INFO: TCP Data received {"connection_id":128007,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4289dc98012d7b380005fa8fe00008015a2c..."} 
[2026-07-08 21:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4289dc98012d7b380005fa8fe00008015a2c..."} 
[2026-07-08 21:54:26] local.INFO: Processing buffer {"connection_id":128007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4289dc98012d7b380005fa8fe00008015a2c..."} 
[2026-07-08 21:54:26] local.INFO: Packet analysis {"connection_id":128007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4289"} 
[2026-07-08 21:54:26] local.INFO: Extracted packet for processing {"connection_id":128007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4289"} 
[2026-07-08 21:54:26] local.INFO: GPS Element Parsed {"raw_longitude":763049984,"raw_latitude":100306912,"longitude_deg":76.3049984,"latitude_deg":10.0306912,"altitude":8,"angle":346,"satellites":44,"speed":30,"hex_longitude":"2d7b3800","hex_latitude":"05fa8fe0","is_valid_coordinates":true} 
[2026-07-08 21: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-07-08 21:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583102720001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343295739536867328,"note":"Value kept but may cause issues"} 
[2026-07-08 21:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881028122106685440,"note":"Value kept but may cause issues"} 
[2026-07-08 21:54:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783527759000,"timestamp_ms":1783527759000,"timestamp_seconds":1783527759,"priority":1,"record_length":96,"hex_timestamp":"0000019f4289dc98"} 
[2026-07-08 21:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:54: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-07-08 21: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":207,"data_length":795,"current_offset":136} 
[2026-07-08 21:54:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21: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-07-08 21:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":128007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":128007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":128007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:54: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-07-08 21:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583102720001,"66":27365,"211":206,"87":10752,"24":30,"16":343295739536867328,"45":8881028122106685440},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,87,24,16,45]} 
[2026-07-08 21:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583102720001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:54:26] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-07-08 21:54:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-08 21:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343295739536867328,"km_value":343295739536867.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881028122106685440,"description":"Unknown IO ID 45"} 
[2026-07-08 21:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583102720001,"power":27365,"unknown_211":206,"unknown_87":10752,"ignition":30,"odometer":null,"unknown_45":8881028122106685440}} 
[2026-07-08 21:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":128007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:54:26] local.INFO: GPS data processed {"connection_id":128007,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:54:26] local.INFO: Acknowledgment sent {"connection_id":128007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:54:36] local.INFO: TCP Data received {"connection_id":126011,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f428930b8012d196500071ff078003e014225..."} 
[2026-07-08 21:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428930b8012d196500071ff078003e014225..."} 
[2026-07-08 21:54:36] local.INFO: Processing buffer {"connection_id":126011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428930b8012d196500071ff078003e014225..."} 
[2026-07-08 21:54:36] local.INFO: Packet analysis {"connection_id":126011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4289"} 
[2026-07-08 21:54:36] local.INFO: Extracted packet for processing {"connection_id":126011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4289"} 
[2026-07-08 21:54:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583017984001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783527715000,"timestamp_ms":1783527715000,"timestamp_seconds":1783527715,"priority":1,"record_length":96,"hex_timestamp":"0000019f428930b8"} 
[2026-07-08 21:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583017984001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583017984001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:54:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:54:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583017984001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":126011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:54:36] local.INFO: GPS data processed {"connection_id":126011,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:54:36] local.INFO: Acknowledgment sent {"connection_id":126011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:54:54] local.INFO: TCP Data received {"connection_id":126012,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:54:54] local.INFO: Processing buffer {"connection_id":126012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:54:54] local.INFO: IMEI packet received {"connection_id":126012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":126012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:54:59] local.INFO: TCP Data received {"connection_id":126762,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:54:59] local.INFO: Processing buffer {"connection_id":126762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:54:59] local.INFO: IMEI packet received {"connection_id":126762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":126762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:55:00] local.INFO: TCP Data received {"connection_id":126012,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:55:00] local.INFO: Processing buffer {"connection_id":126012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:55:00] local.INFO: IMEI packet received {"connection_id":126012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":126012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:55:01] local.INFO: TCP Data received {"connection_id":126012,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f428a0f60012d7b2f8005fab1c8000a01572b..."} 
[2026-07-08 21:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428a0f60012d7b2f8005fab1c8000a01572b..."} 
[2026-07-08 21:55:01] local.INFO: Processing buffer {"connection_id":126012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428a0f60012d7b2f8005fab1c8000a01572b..."} 
[2026-07-08 21:55:01] local.INFO: Packet analysis {"connection_id":126012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f428a"} 
[2026-07-08 21:55:01] local.INFO: Extracted packet for processing {"connection_id":126012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f428a"} 
[2026-07-08 21:55:01] local.INFO: GPS Element Parsed {"raw_longitude":763047808,"raw_latitude":100315592,"longitude_deg":76.3047808,"latitude_deg":10.0315592,"altitude":10,"angle":343,"satellites":43,"speed":25,"hex_longitude":"2d7b2f80","hex_latitude":"05fab1c8","is_valid_coordinates":true} 
[2026-07-08 21:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583106304001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343296173328564224,"note":"Value kept but may cause issues"} 
[2026-07-08 21:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878846691039502336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:55:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783527772000,"timestamp_ms":1783527772000,"timestamp_seconds":1783527772,"priority":1,"record_length":96,"hex_timestamp":"0000019f428a0f60"} 
[2026-07-08 21:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:55:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 21:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 21:55:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:55:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583106304001,"66":27463,"54":206,"87":10752,"24":25,"16":343296173328564224,"45":8878846691039502336},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,87,24,16,45]} 
[2026-07-08 21:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583106304001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:55:01] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-07-08 21:55:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-08 21:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343296173328564224,"km_value":343296173328564.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878846691039502336,"description":"Unknown IO ID 45"} 
[2026-07-08 21:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583106304001,"power":27463,"unknown_54":206,"unknown_87":10752,"ignition":25,"odometer":null,"unknown_45":8878846691039502336}} 
[2026-07-08 21:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":126012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:55:01] local.INFO: GPS data processed {"connection_id":126012,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:55:01] local.INFO: Acknowledgment sent {"connection_id":126012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:55:04] local.INFO: TCP Data received {"connection_id":126762,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:55:04] local.INFO: Processing buffer {"connection_id":126762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:55:04] local.INFO: IMEI packet received {"connection_id":126762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":126762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:55:05] local.INFO: TCP Data received {"connection_id":126762,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f428930b8012d196500071ff078003e014225..."} 
[2026-07-08 21:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428930b8012d196500071ff078003e014225..."} 
[2026-07-08 21:55:05] local.INFO: Processing buffer {"connection_id":126762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428930b8012d196500071ff078003e014225..."} 
[2026-07-08 21:55:05] local.INFO: Packet analysis {"connection_id":126762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4289"} 
[2026-07-08 21:55:05] local.INFO: Extracted packet for processing {"connection_id":126762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4289"} 
[2026-07-08 21:55:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21: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-07-08 21:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583017984001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783527715000,"timestamp_ms":1783527715000,"timestamp_seconds":1783527715,"priority":1,"record_length":96,"hex_timestamp":"0000019f428930b8"} 
[2026-07-08 21:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21: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-07-08 21:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583017984001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583017984001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:55:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:55:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583017984001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":126762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:55:05] local.INFO: GPS data processed {"connection_id":126762,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:55:05] local.INFO: Acknowledgment sent {"connection_id":126762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:55:31] local.INFO: TCP Data received {"connection_id":126012,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f428a4610012d7b248005fad340000b01522b..."} 
[2026-07-08 21:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428a4610012d7b248005fad340000b01522b..."} 
[2026-07-08 21:55:31] local.INFO: Processing buffer {"connection_id":126012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428a4610012d7b248005fad340000b01522b..."} 
[2026-07-08 21:55:31] local.INFO: Packet analysis {"connection_id":126012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f428a"} 
[2026-07-08 21:55:31] local.INFO: Extracted packet for processing {"connection_id":126012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f428a"} 
[2026-07-08 21:55:31] local.INFO: GPS Element Parsed {"raw_longitude":763044992,"raw_latitude":100324160,"longitude_deg":76.3044992,"latitude_deg":10.032416,"altitude":11,"angle":338,"satellites":43,"speed":26,"hex_longitude":"2d7b2480","hex_latitude":"05fad340","is_valid_coordinates":true} 
[2026-07-08 21: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-07-08 21:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583109632001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343296611415228416,"note":"Value kept but may cause issues"} 
[2026-07-08 21:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876454153739683840,"note":"Value kept but may cause issues"} 
[2026-07-08 21:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783527786000,"timestamp_ms":1783527786000,"timestamp_seconds":1783527786,"priority":1,"record_length":96,"hex_timestamp":"0000019f428a4610"} 
[2026-07-08 21:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 21: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-08 21:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21: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-07-08 21:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":126012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":126012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":126012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583109632001,"66":27332,"54":206,"87":10752,"24":26,"16":343296611415228416,"45":8876454153739683840},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,87,24,16,45]} 
[2026-07-08 21:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583109632001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:55:31] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-07-08 21:55:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-08 21:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343296611415228416,"km_value":343296611415228.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876454153739683840,"description":"Unknown IO ID 45"} 
[2026-07-08 21:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583109632001,"power":27332,"unknown_54":206,"unknown_87":10752,"ignition":26,"odometer":null,"unknown_45":8876454153739683840}} 
[2026-07-08 21:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":126012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:55:31] local.INFO: GPS data processed {"connection_id":126012,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:55:31] local.INFO: Acknowledgment sent {"connection_id":126012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:55:36] local.INFO: TCP Data received {"connection_id":126762,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f428930b8012d196500071ff078003e014225..."} 
[2026-07-08 21:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428930b8012d196500071ff078003e014225..."} 
[2026-07-08 21:55:36] local.INFO: Processing buffer {"connection_id":126762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428930b8012d196500071ff078003e014225..."} 
[2026-07-08 21:55:36] local.INFO: Packet analysis {"connection_id":126762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4289"} 
[2026-07-08 21:55:36] local.INFO: Extracted packet for processing {"connection_id":126762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4289"} 
[2026-07-08 21:55:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21: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-07-08 21:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583017984001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783527715000,"timestamp_ms":1783527715000,"timestamp_seconds":1783527715,"priority":1,"record_length":96,"hex_timestamp":"0000019f428930b8"} 
[2026-07-08 21:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21: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-07-08 21:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:55:36] 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-07-08 21:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583017984001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583017984001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:55:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:55:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583017984001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":126762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:55:36] local.INFO: GPS data processed {"connection_id":126762,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:55:36] local.INFO: Acknowledgment sent {"connection_id":126762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:55:59] local.INFO: TCP Data received {"connection_id":125874,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:55:59] local.INFO: Processing buffer {"connection_id":125874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:55:59] local.INFO: IMEI packet received {"connection_id":125874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":125874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:55:59] local.INFO: TCP Data received {"connection_id":125874,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:55:59] local.INFO: Processing buffer {"connection_id":125874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:55:59] local.INFO: IMEI packet received {"connection_id":125874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":125874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:56:00] local.INFO: TCP Data received {"connection_id":128008,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:56:00] local.INFO: Processing buffer {"connection_id":128008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:56:00] local.INFO: IMEI packet received {"connection_id":128008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":128008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:56:04] local.INFO: TCP Data received {"connection_id":128008,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:56:04] local.INFO: Processing buffer {"connection_id":128008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:56:04] local.INFO: IMEI packet received {"connection_id":128008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":128008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:56:04] local.INFO: TCP Data received {"connection_id":125874,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:56:04] local.INFO: Processing buffer {"connection_id":125874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:56:04] local.INFO: IMEI packet received {"connection_id":125874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":125874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:56:05] local.INFO: TCP Data received {"connection_id":128008,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f428930b8012d196500071ff078003e014225..."} 
[2026-07-08 21:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428930b8012d196500071ff078003e014225..."} 
[2026-07-08 21:56:05] local.INFO: Processing buffer {"connection_id":128008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428930b8012d196500071ff078003e014225..."} 
[2026-07-08 21:56:05] local.INFO: Packet analysis {"connection_id":128008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4289"} 
[2026-07-08 21:56:05] local.INFO: Extracted packet for processing {"connection_id":128008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4289"} 
[2026-07-08 21:56:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21: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-07-08 21:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583017984001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783527715000,"timestamp_ms":1783527715000,"timestamp_seconds":1783527715,"priority":1,"record_length":96,"hex_timestamp":"0000019f428930b8"} 
[2026-07-08 21:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21: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-07-08 21:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:56:05] 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-07-08 21:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583017984001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583017984001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:56:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:56:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583017984001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":128008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:56:05] local.INFO: GPS data processed {"connection_id":128008,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:56:05] local.INFO: Acknowledgment sent {"connection_id":128008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:56:05] local.INFO: TCP Data received {"connection_id":125874,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f428a78d8012d7b154005faf540000c014d2c..."} 
[2026-07-08 21:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428a78d8012d7b154005faf540000c014d2c..."} 
[2026-07-08 21:56:05] local.INFO: Processing buffer {"connection_id":125874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428a78d8012d7b154005faf540000c014d2c..."} 
[2026-07-08 21:56:05] local.INFO: Packet analysis {"connection_id":125874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f428a"} 
[2026-07-08 21:56:05] local.INFO: Extracted packet for processing {"connection_id":125874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f428a"} 
[2026-07-08 21:56:05] local.INFO: GPS Element Parsed {"raw_longitude":763041088,"raw_latitude":100332864,"longitude_deg":76.3041088,"latitude_deg":10.0332864,"altitude":12,"angle":333,"satellites":44,"speed":32,"hex_longitude":"2d7b1540","hex_latitude":"05faf540","is_valid_coordinates":true} 
[2026-07-08 21: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-07-08 21:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583113216001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343297070976729088,"note":"Value kept but may cause issues"} 
[2026-07-08 21:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873357928998060032,"note":"Value kept but may cause issues"} 
[2026-07-08 21:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783527799000,"timestamp_ms":1783527799000,"timestamp_seconds":1783527799,"priority":1,"record_length":96,"hex_timestamp":"0000019f428a78d8"} 
[2026-07-08 21:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 21: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-08 21:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21: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-07-08 21:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583113216001,"66":27180,"54":206,"87":10752,"24":32,"16":343297070976729088,"45":8873357928998060032},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,87,24,16,45]} 
[2026-07-08 21:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583113216001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:56:05] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-07-08 21:56:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-08 21:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343297070976729088,"km_value":343297070976729.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873357928998060032,"description":"Unknown IO ID 45"} 
[2026-07-08 21:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583113216001,"power":27180,"unknown_54":206,"unknown_87":10752,"ignition":32,"odometer":null,"unknown_45":8873357928998060032}} 
[2026-07-08 21:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":125874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:56:05] local.INFO: GPS data processed {"connection_id":125874,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:56:05] local.INFO: Acknowledgment sent {"connection_id":125874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:56:36] local.INFO: TCP Data received {"connection_id":128008,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f428930b8012d196500071ff078003e014225..."} 
[2026-07-08 21:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428930b8012d196500071ff078003e014225..."} 
[2026-07-08 21:56:36] local.INFO: Processing buffer {"connection_id":128008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428930b8012d196500071ff078003e014225..."} 
[2026-07-08 21:56:36] local.INFO: Packet analysis {"connection_id":128008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4289"} 
[2026-07-08 21:56:36] local.INFO: Extracted packet for processing {"connection_id":128008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4289"} 
[2026-07-08 21:56:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583017984001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783527715000,"timestamp_ms":1783527715000,"timestamp_seconds":1783527715,"priority":1,"record_length":96,"hex_timestamp":"0000019f428930b8"} 
[2026-07-08 21:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:56:36] 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-07-08 21:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583017984001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583017984001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:56:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:56:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583017984001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:56:36] local.INFO: TCP Data received {"connection_id":125874,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f428c8830012d7a46c005fc7e780007014c2b..."} 
[2026-07-08 21:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428c8830012d7a46c005fc7e780007014c2b..."} 
[2026-07-08 21:56:36] local.INFO: Processing buffer {"connection_id":125874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428c8830012d7a46c005fc7e780007014c2b..."} 
[2026-07-08 21:56:36] local.INFO: Packet analysis {"connection_id":125874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f428c"} 
[2026-07-08 21:56:36] local.INFO: Extracted packet for processing {"connection_id":125874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f428c"} 
[2026-07-08 21:56:36] local.INFO: GPS Element Parsed {"raw_longitude":762988224,"raw_latitude":100433528,"longitude_deg":76.2988224,"latitude_deg":10.0433528,"altitude":7,"angle":332,"satellites":43,"speed":30,"hex_longitude":"2d7a46c0","hex_latitude":"05fc7e78","is_valid_coordinates":true} 
[2026-07-08 21:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583150080001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343302577124802560,"note":"Value kept but may cause issues"} 
[2026-07-08 21:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8813122284009328640,"note":"Value kept but may cause issues"} 
[2026-07-08 21:56:36] 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-07-08 21:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783527934000,"timestamp_ms":1783527934000,"timestamp_seconds":1783527934,"priority":1,"record_length":96,"hex_timestamp":"0000019f428c8830"} 
[2026-07-08 21:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 21:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 21:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583150080001,"66":27376,"5":206,"87":10752,"24":30,"16":343302577124802560,"45":8813122284009328640},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-07-08 21:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583150080001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:56:36] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-08 21:56:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-08 21:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343302577124802560,"km_value":343302577124802.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8813122284009328640,"description":"Unknown IO ID 45"} 
[2026-07-08 21:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583150080001,"power":27376,"unknown_5":206,"unknown_87":10752,"ignition":30,"odometer":null,"unknown_45":8813122284009328640}} 
[2026-07-08 21:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":125874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:56:36] local.INFO: GPS data processed {"connection_id":125874,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:56:36] local.INFO: Acknowledgment sent {"connection_id":125874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":128008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:56:36] local.INFO: GPS data processed {"connection_id":128008,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:56:36] local.INFO: Acknowledgment sent {"connection_id":128008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:56:55] local.INFO: TCP Data received {"connection_id":126014,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:56:55] local.INFO: Processing buffer {"connection_id":126014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:56:55] local.INFO: IMEI packet received {"connection_id":126014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":126014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:56:59] local.INFO: TCP Data received {"connection_id":125876,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:56:59] local.INFO: Processing buffer {"connection_id":125876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:56:59] local.INFO: IMEI packet received {"connection_id":125876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":125876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:56:59] local.INFO: TCP Data received {"connection_id":126014,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:56:59] local.INFO: Processing buffer {"connection_id":126014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:56:59] local.INFO: IMEI packet received {"connection_id":126014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":126014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:57:02] local.INFO: TCP Data received {"connection_id":126014,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f428ca770012d7a3ec005fc9108000601572b..."} 
[2026-07-08 21:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428ca770012d7a3ec005fc9108000601572b..."} 
[2026-07-08 21:57:02] local.INFO: Processing buffer {"connection_id":126014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428ca770012d7a3ec005fc9108000601572b..."} 
[2026-07-08 21:57:02] local.INFO: Packet analysis {"connection_id":126014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f428c"} 
[2026-07-08 21:57:02] local.INFO: Extracted packet for processing {"connection_id":126014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f428c"} 
[2026-07-08 21:57:02] local.INFO: GPS Element Parsed {"raw_longitude":762986176,"raw_latitude":100438280,"longitude_deg":76.2986176,"latitude_deg":10.043828,"altitude":6,"angle":343,"satellites":43,"speed":22,"hex_longitude":"2d7a3ec0","hex_latitude":"05fc9108","is_valid_coordinates":true} 
[2026-07-08 21: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-07-08 21:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583151104001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343302826232905728,"note":"Value kept but may cause issues"} 
[2026-07-08 21:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8810940852940470272,"note":"Value kept but may cause issues"} 
[2026-07-08 21:57:02] 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-07-08 21:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783527942000,"timestamp_ms":1783527942000,"timestamp_seconds":1783527942,"priority":1,"record_length":96,"hex_timestamp":"0000019f428ca770"} 
[2026-07-08 21:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 21:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21: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-07-08 21:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583151104001,"66":27463,"5":206,"87":10752,"24":22,"16":343302826232905728,"45":8810940852940470272},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-07-08 21:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583151104001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:57:02] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-08 21:57:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-08 21:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343302826232905728,"km_value":343302826232905.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8810940852940470272,"description":"Unknown IO ID 45"} 
[2026-07-08 21:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583151104001,"power":27463,"unknown_5":206,"unknown_87":10752,"ignition":22,"odometer":null,"unknown_45":8810940852940470272}} 
[2026-07-08 21:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":126014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:57:02] local.INFO: GPS data processed {"connection_id":126014,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:57:02] local.INFO: Acknowledgment sent {"connection_id":126014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:57:03] local.INFO: TCP Data received {"connection_id":126014,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f428cce80012d7a344005fcaa180007014b2c..."} 
[2026-07-08 21:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428cce80012d7a344005fcaa180007014b2c..."} 
[2026-07-08 21:57:03] local.INFO: Processing buffer {"connection_id":126014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428cce80012d7a344005fcaa180007014b2c..."} 
[2026-07-08 21:57:03] local.INFO: Packet analysis {"connection_id":126014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f428c"} 
[2026-07-08 21:57:03] local.INFO: Extracted packet for processing {"connection_id":126014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f428c"} 
[2026-07-08 21:57:03] local.INFO: GPS Element Parsed {"raw_longitude":762983488,"raw_latitude":100444696,"longitude_deg":76.2983488,"latitude_deg":10.0444696,"altitude":7,"angle":331,"satellites":44,"speed":31,"hex_longitude":"2d7a3440","hex_latitude":"05fcaa18","is_valid_coordinates":true} 
[2026-07-08 21:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583153152001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343303161240354816,"note":"Value kept but may cause issues"} 
[2026-07-08 21:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808689053128001536,"note":"Value kept but may cause issues"} 
[2026-07-08 21:57:03] 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-07-08 21:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783527952000,"timestamp_ms":1783527952000,"timestamp_seconds":1783527952,"priority":1,"record_length":96,"hex_timestamp":"0000019f428cce80"} 
[2026-07-08 21:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:57: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-07-08 21: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-08 21:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583153152001,"66":27463,"5":206,"87":10752,"24":31,"16":343303161240354816,"45":8808689053128001536},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-07-08 21:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583153152001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:57:03] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-08 21:57:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-08 21:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343303161240354816,"km_value":343303161240354.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808689053128001536,"description":"Unknown IO ID 45"} 
[2026-07-08 21:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583153152001,"power":27463,"unknown_5":206,"unknown_87":10752,"ignition":31,"odometer":null,"unknown_45":8808689053128001536}} 
[2026-07-08 21:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":126014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:57:03] local.INFO: GPS data processed {"connection_id":126014,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:57:03] local.INFO: Acknowledgment sent {"connection_id":126014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:57:04] local.INFO: TCP Data received {"connection_id":125876,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:57:04] local.INFO: Processing buffer {"connection_id":125876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:57:04] local.INFO: IMEI packet received {"connection_id":125876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":125876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:57:05] local.INFO: TCP Data received {"connection_id":125876,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f428930b8012d196500071ff078003e014225..."} 
[2026-07-08 21:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428930b8012d196500071ff078003e014225..."} 
[2026-07-08 21:57:05] local.INFO: Processing buffer {"connection_id":125876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428930b8012d196500071ff078003e014225..."} 
[2026-07-08 21:57:05] local.INFO: Packet analysis {"connection_id":125876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4289"} 
[2026-07-08 21:57:05] local.INFO: Extracted packet for processing {"connection_id":125876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4289"} 
[2026-07-08 21:57:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583017984001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783527715000,"timestamp_ms":1783527715000,"timestamp_seconds":1783527715,"priority":1,"record_length":96,"hex_timestamp":"0000019f428930b8"} 
[2026-07-08 21:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583017984001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583017984001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:57:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:57:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583017984001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":125876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:57:05] local.INFO: GPS data processed {"connection_id":125876,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:57:05] local.INFO: Acknowledgment sent {"connection_id":125876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:57:35] local.INFO: TCP Data received {"connection_id":126014,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f428cf590012d7a208005fcc890000601442d..."} 
[2026-07-08 21:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428cf590012d7a208005fcc890000601442d..."} 
[2026-07-08 21:57:35] local.INFO: Processing buffer {"connection_id":126014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428cf590012d7a208005fcc890000601442d..."} 
[2026-07-08 21:57:35] local.INFO: Packet analysis {"connection_id":126014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f428c"} 
[2026-07-08 21:57:35] local.INFO: Extracted packet for processing {"connection_id":126014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f428c"} 
[2026-07-08 21:57:35] local.INFO: GPS Element Parsed {"raw_longitude":762978432,"raw_latitude":100452496,"longitude_deg":76.2978432,"latitude_deg":10.0452496,"altitude":6,"angle":324,"satellites":45,"speed":38,"hex_longitude":"2d7a2080","hex_latitude":"05fcc890","is_valid_coordinates":true} 
[2026-07-08 21:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583155712001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343303612211920896,"note":"Value kept but may cause issues"} 
[2026-07-08 21:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805733565874182144,"note":"Value kept but may cause issues"} 
[2026-07-08 21:57:35] 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-07-08 21:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783527962000,"timestamp_ms":1783527962000,"timestamp_seconds":1783527962,"priority":1,"record_length":96,"hex_timestamp":"0000019f428cf590"} 
[2026-07-08 21:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 21: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-08 21:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583155712001,"66":27463,"5":206,"87":10752,"24":38,"16":343303612211920896,"45":8805733565874182144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-07-08 21:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583155712001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:57:35] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-08 21:57:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-08 21:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343303612211920896,"km_value":343303612211920.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805733565874182144,"description":"Unknown IO ID 45"} 
[2026-07-08 21:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583155712001,"power":27463,"unknown_5":206,"unknown_87":10752,"ignition":38,"odometer":null,"unknown_45":8805733565874182144}} 
[2026-07-08 21:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":126014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:57:35] local.INFO: GPS data processed {"connection_id":126014,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:57:35] local.INFO: Acknowledgment sent {"connection_id":126014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:57:36] local.INFO: TCP Data received {"connection_id":125876,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f428dc880012d196500071ff078003e014226..."} 
[2026-07-08 21:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428dc880012d196500071ff078003e014226..."} 
[2026-07-08 21:57:36] local.INFO: Processing buffer {"connection_id":125876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428dc880012d196500071ff078003e014226..."} 
[2026-07-08 21:57:36] local.INFO: Packet analysis {"connection_id":125876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f428d"} 
[2026-07-08 21:57:36] local.INFO: Extracted packet for processing {"connection_id":125876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f428d"} 
[2026-07-08 21:57:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21: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-07-08 21:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583095040001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783528016000,"timestamp_ms":1783528016000,"timestamp_seconds":1783528016,"priority":1,"record_length":96,"hex_timestamp":"0000019f428dc880"} 
[2026-07-08 21:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21: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-07-08 21:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583095040001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 21:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583095040001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:57:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:57:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583095040001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":125876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:57:36] local.INFO: GPS data processed {"connection_id":125876,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:57:36] local.INFO: Acknowledgment sent {"connection_id":125876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:57:52] local.INFO: TCP Data received {"connection_id":128009,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:57:52] local.INFO: Processing buffer {"connection_id":128009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:57:52] local.INFO: IMEI packet received {"connection_id":128009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":128009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:57:55] local.INFO: TCP Data received {"connection_id":128009,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:57:55] local.INFO: Processing buffer {"connection_id":128009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:57:55] local.INFO: IMEI packet received {"connection_id":128009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":128009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:58:00] local.INFO: TCP Data received {"connection_id":128009,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:58:00] local.INFO: Processing buffer {"connection_id":128009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:58:00] local.INFO: IMEI packet received {"connection_id":128009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":128009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:58:01] local.INFO: TCP Data received {"connection_id":128009,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f428d1ca0012d7a0a4005fce5e8000501412c..."} 
[2026-07-08 21:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428d1ca0012d7a0a4005fce5e8000501412c..."} 
[2026-07-08 21:58:01] local.INFO: Processing buffer {"connection_id":128009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428d1ca0012d7a0a4005fce5e8000501412c..."} 
[2026-07-08 21:58:01] local.INFO: Packet analysis {"connection_id":128009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f428d"} 
[2026-07-08 21:58:01] local.INFO: Extracted packet for processing {"connection_id":128009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f428d"} 
[2026-07-08 21:58:01] local.INFO: GPS Element Parsed {"raw_longitude":762972736,"raw_latitude":100460008,"longitude_deg":76.2972736,"latitude_deg":10.0460008,"altitude":5,"angle":321,"satellites":44,"speed":39,"hex_longitude":"2d7a0a40","hex_latitude":"05fce5e8","is_valid_coordinates":true} 
[2026-07-08 21:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583158272001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343304067478454272,"note":"Value kept but may cause issues"} 
[2026-07-08 21:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800174435086143488,"note":"Value kept but may cause issues"} 
[2026-07-08 21:58:01] 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-07-08 21:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783527972000,"timestamp_ms":1783527972000,"timestamp_seconds":1783527972,"priority":1,"record_length":96,"hex_timestamp":"0000019f428d1ca0"} 
[2026-07-08 21:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 21:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-08 21:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:58:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":128009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":128009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":128009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583158272001,"66":27397,"5":206,"87":10752,"24":39,"16":343304067478454272,"45":8800174435086143488},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-07-08 21:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583158272001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:58:01] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-08 21:58:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-08 21:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343304067478454272,"km_value":343304067478454.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800174435086143488,"description":"Unknown IO ID 45"} 
[2026-07-08 21:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583158272001,"power":27397,"unknown_5":206,"unknown_87":10752,"ignition":39,"odometer":null,"unknown_45":8800174435086143488}} 
[2026-07-08 21:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":128009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:58:01] local.INFO: GPS data processed {"connection_id":128009,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:58:01] local.INFO: Acknowledgment sent {"connection_id":128009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:58:04] local.INFO: TCP Data received {"connection_id":126763,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:58:04] local.INFO: Processing buffer {"connection_id":126763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:58:04] local.INFO: IMEI packet received {"connection_id":126763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":126763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:58:09] local.INFO: TCP Data received {"connection_id":126763,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:58:09] local.INFO: Processing buffer {"connection_id":126763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:58:09] local.INFO: IMEI packet received {"connection_id":126763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":126763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:58:10] local.INFO: TCP Data received {"connection_id":126763,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f428dc880012d196500071ff078003e014226..."} 
[2026-07-08 21:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428dc880012d196500071ff078003e014226..."} 
[2026-07-08 21:58:10] local.INFO: Processing buffer {"connection_id":126763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428dc880012d196500071ff078003e014226..."} 
[2026-07-08 21:58:10] local.INFO: Packet analysis {"connection_id":126763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f428d"} 
[2026-07-08 21:58:10] local.INFO: Extracted packet for processing {"connection_id":126763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f428d"} 
[2026-07-08 21:58:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583095040001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:58: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-07-08 21:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783528016000,"timestamp_ms":1783528016000,"timestamp_seconds":1783528016,"priority":1,"record_length":96,"hex_timestamp":"0000019f428dc880"} 
[2026-07-08 21:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583095040001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583095040001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:58:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:58:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583095040001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":126763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:58:10] local.INFO: GPS data processed {"connection_id":126763,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:58:10] local.INFO: Acknowledgment sent {"connection_id":126763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:58:32] local.INFO: TCP Data received {"connection_id":128009,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f428e4580012d7980c005fdb888000901552b..."} 
[2026-07-08 21:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428e4580012d7980c005fdb888000901552b..."} 
[2026-07-08 21:58:32] local.INFO: Processing buffer {"connection_id":128009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428e4580012d7980c005fdb888000901552b..."} 
[2026-07-08 21:58:32] local.INFO: Packet analysis {"connection_id":128009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f428e"} 
[2026-07-08 21:58:32] local.INFO: Extracted packet for processing {"connection_id":128009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f428e"} 
[2026-07-08 21:58:32] local.INFO: GPS Element Parsed {"raw_longitude":762937536,"raw_latitude":100513928,"longitude_deg":76.2937536,"latitude_deg":10.0513928,"altitude":9,"angle":341,"satellites":43,"speed":28,"hex_longitude":"2d7980c0","hex_latitude":"05fdb888","is_valid_coordinates":true} 
[2026-07-08 21:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583176704001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343307215689482240,"note":"Value kept but may cause issues"} 
[2026-07-08 21:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8759219825988210688,"note":"Value kept but may cause issues"} 
[2026-07-08 21:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783528048000,"timestamp_ms":1783528048000,"timestamp_seconds":1783528048,"priority":1,"record_length":96,"hex_timestamp":"0000019f428e4580"} 
[2026-07-08 21:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 21:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-07-08 21:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":128009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":128009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":128009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583176704001,"66":27321,"7":206,"87":10752,"24":28,"16":343307215689482240,"45":8759219825988210688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,87,24,16,45]} 
[2026-07-08 21:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583176704001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:58:32] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-08 21:58:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-08 21:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343307215689482240,"km_value":343307215689482.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8759219825988210688,"description":"Unknown IO ID 45"} 
[2026-07-08 21:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583176704001,"power":27321,"unknown_7":206,"unknown_87":10752,"ignition":28,"odometer":null,"unknown_45":8759219825988210688}} 
[2026-07-08 21:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":128009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:58:32] local.INFO: GPS data processed {"connection_id":128009,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:58:32] local.INFO: Acknowledgment sent {"connection_id":128009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:58:41] local.INFO: TCP Data received {"connection_id":126763,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f428dc880012d196500071ff078003e014226..."} 
[2026-07-08 21:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428dc880012d196500071ff078003e014226..."} 
[2026-07-08 21:58:41] local.INFO: Processing buffer {"connection_id":126763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428dc880012d196500071ff078003e014226..."} 
[2026-07-08 21:58:41] local.INFO: Packet analysis {"connection_id":126763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f428d"} 
[2026-07-08 21:58:41] local.INFO: Extracted packet for processing {"connection_id":126763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f428d"} 
[2026-07-08 21:58:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21: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-07-08 21:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583095040001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21: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-07-08 21:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783528016000,"timestamp_ms":1783528016000,"timestamp_seconds":1783528016,"priority":1,"record_length":96,"hex_timestamp":"0000019f428dc880"} 
[2026-07-08 21:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:58: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-07-08 21: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":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:58: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-07-08 21: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-07-08 21:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":126763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":126763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":126763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:58: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-07-08 21:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583095040001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583095040001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:58:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:58:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583095040001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":126763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:58:41] local.INFO: GPS data processed {"connection_id":126763,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:58:41] local.INFO: Acknowledgment sent {"connection_id":126763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:58:54] local.INFO: TCP Data received {"connection_id":128010,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:58:54] local.INFO: Processing buffer {"connection_id":128010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:58:54] local.INFO: IMEI packet received {"connection_id":128010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":128010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:58:54] local.INFO: TCP Data received {"connection_id":128010,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:58:54] local.INFO: Processing buffer {"connection_id":128010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:58:54] local.INFO: IMEI packet received {"connection_id":128010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":128010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:58:55] local.INFO: TCP Data received {"connection_id":128011,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128011,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:58:55] local.INFO: Processing buffer {"connection_id":128011,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:58:55] local.INFO: IMEI packet received {"connection_id":128011,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 21:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":128011,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:58:55] local.INFO: TCP Data received {"connection_id":128010,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:58:55] local.INFO: Processing buffer {"connection_id":128010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:58:55] local.INFO: IMEI packet received {"connection_id":128010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":128010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:58:59] local.INFO: TCP Data received {"connection_id":128012,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:58:59] local.INFO: Processing buffer {"connection_id":128012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:58:59] local.INFO: IMEI packet received {"connection_id":128012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":128012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:59:00] local.INFO: TCP Data received {"connection_id":128010,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:59:00] local.INFO: Processing buffer {"connection_id":128010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:59:00] local.INFO: IMEI packet received {"connection_id":128010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":128010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:59:01] local.INFO: TCP Data received {"connection_id":128010,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f428e7460012d79730005fddc48000a01502b..."} 
[2026-07-08 21:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428e7460012d79730005fddc48000a01502b..."} 
[2026-07-08 21:59:01] local.INFO: Processing buffer {"connection_id":128010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428e7460012d79730005fddc48000a01502b..."} 
[2026-07-08 21:59:01] local.INFO: Packet analysis {"connection_id":128010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f428e"} 
[2026-07-08 21:59:01] local.INFO: Extracted packet for processing {"connection_id":128010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f428e"} 
[2026-07-08 21:59:01] local.INFO: GPS Element Parsed {"raw_longitude":762934016,"raw_latitude":100523080,"longitude_deg":76.2934016,"latitude_deg":10.052308,"altitude":10,"angle":336,"satellites":43,"speed":39,"hex_longitude":"2d797300","hex_latitude":"05fddc48","is_valid_coordinates":true} 
[2026-07-08 21: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-07-08 21:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583180288001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343307688135884800,"note":"Value kept but may cause issues"} 
[2026-07-08 21:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8755208807572342784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783528060000,"timestamp_ms":1783528060000,"timestamp_seconds":1783528060,"priority":1,"record_length":96,"hex_timestamp":"0000019f428e7460"} 
[2026-07-08 21:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 21: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 21:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21: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-07-08 21:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":128010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":128010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":128010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583180288001,"66":27343,"7":206,"87":10752,"24":39,"16":343307688135884800,"45":8755208807572342784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,87,24,16,45]} 
[2026-07-08 21:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583180288001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:59:01] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-08 21:59:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-08 21:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343307688135884800,"km_value":343307688135884.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8755208807572342784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583180288001,"power":27343,"unknown_7":206,"unknown_87":10752,"ignition":39,"odometer":null,"unknown_45":8755208807572342784}} 
[2026-07-08 21:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":128010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:59:01] local.INFO: GPS data processed {"connection_id":128010,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:59:01] local.INFO: Acknowledgment sent {"connection_id":128010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:59:04] local.INFO: TCP Data received {"connection_id":128012,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:59:04] local.INFO: Processing buffer {"connection_id":128012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:59:04] local.INFO: IMEI packet received {"connection_id":128012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 21:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":128012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:59:05] local.INFO: TCP Data received {"connection_id":128012,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f428dc880012d196500071ff078003e014226..."} 
[2026-07-08 21:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428dc880012d196500071ff078003e014226..."} 
[2026-07-08 21:59:05] local.INFO: Processing buffer {"connection_id":128012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428dc880012d196500071ff078003e014226..."} 
[2026-07-08 21:59:05] local.INFO: Packet analysis {"connection_id":128012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f428d"} 
[2026-07-08 21:59:05] local.INFO: Extracted packet for processing {"connection_id":128012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f428d"} 
[2026-07-08 21:59:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583095040001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783528016000,"timestamp_ms":1783528016000,"timestamp_seconds":1783528016,"priority":1,"record_length":96,"hex_timestamp":"0000019f428dc880"} 
[2026-07-08 21:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:59:05] 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-07-08 21:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583095040001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583095040001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:59:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:59:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583095040001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":128012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:59:05] local.INFO: GPS data processed {"connection_id":128012,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:59:05] local.INFO: Acknowledgment sent {"connection_id":128012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:59:34] local.INFO: TCP Data received {"connection_id":128010,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f428e9788012d79638005fe0020000901502a..."} 
[2026-07-08 21:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428e9788012d79638005fe0020000901502a..."} 
[2026-07-08 21:59:34] local.INFO: Processing buffer {"connection_id":128010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428e9788012d79638005fe0020000901502a..."} 
[2026-07-08 21:59:34] local.INFO: Packet analysis {"connection_id":128010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f428e"} 
[2026-07-08 21:59:34] local.INFO: Extracted packet for processing {"connection_id":128010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f428e"} 
[2026-07-08 21:59:34] local.INFO: GPS Element Parsed {"raw_longitude":762930048,"raw_latitude":100532256,"longitude_deg":76.2930048,"latitude_deg":10.0532256,"altitude":9,"angle":336,"satellites":42,"speed":46,"hex_longitude":"2d796380","hex_latitude":"05fe0020","is_valid_coordinates":true} 
[2026-07-08 21:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583183360001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343308173467189248,"note":"Value kept but may cause issues"} 
[2026-07-08 21:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8751338526644914176,"note":"Value kept but may cause issues"} 
[2026-07-08 21:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783528069000,"timestamp_ms":1783528069000,"timestamp_seconds":1783528069,"priority":1,"record_length":96,"hex_timestamp":"0000019f428e9788"} 
[2026-07-08 21:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 21:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 21:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":128010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":128010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":128010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 21:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 21:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 21:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 21:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583183360001,"66":27321,"7":206,"87":10752,"24":46,"16":343308173467189248,"45":8751338526644914176},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,87,24,16,45]} 
[2026-07-08 21:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 21:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 21:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583183360001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:59:34] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-08 21:59:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-08 21:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343308173467189248,"km_value":343308173467189.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8751338526644914176,"description":"Unknown IO ID 45"} 
[2026-07-08 21:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583183360001,"power":27321,"unknown_7":206,"unknown_87":10752,"ignition":46,"odometer":null,"unknown_45":8751338526644914176}} 
[2026-07-08 21:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":128010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:59:34] local.INFO: GPS data processed {"connection_id":128010,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:59:34] local.INFO: Acknowledgment sent {"connection_id":128010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:59:36] local.INFO: TCP Data received {"connection_id":128012,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f428dc880012d196500071ff078003e014226..."} 
[2026-07-08 21:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428dc880012d196500071ff078003e014226..."} 
[2026-07-08 21:59:36] local.INFO: Processing buffer {"connection_id":128012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428dc880012d196500071ff078003e014226..."} 
[2026-07-08 21:59:36] local.INFO: Packet analysis {"connection_id":128012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f428d"} 
[2026-07-08 21:59:36] local.INFO: Extracted packet for processing {"connection_id":128012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f428d"} 
[2026-07-08 21:59:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 21:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 21:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583095040001,"note":"Value kept but may cause issues"} 
[2026-07-08 21:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 21:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 21:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 21:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783528016000,"timestamp_ms":1783528016000,"timestamp_seconds":1783528016,"priority":1,"record_length":96,"hex_timestamp":"0000019f428dc880"} 
[2026-07-08 21:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 21:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 21:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 21:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 21:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 21:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 21:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 21:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 21:59:36] 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-07-08 21:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 21:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 21:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583095040001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 21:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 21:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 21:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583095040001,"description":"Unknown IO ID 0"} 
[2026-07-08 21:59:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 21:59:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 21:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 21:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 21:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583095040001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 21:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":128012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 21:59:36] local.INFO: GPS data processed {"connection_id":128012,"processed":1,"errors":0,"total":1} 
[2026-07-08 21:59:36] local.INFO: Acknowledgment sent {"connection_id":128012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 21:59:53] local.INFO: TCP Data received {"connection_id":126764,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:59:53] local.INFO: Processing buffer {"connection_id":126764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:59:53] local.INFO: IMEI packet received {"connection_id":126764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 21:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":126764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:59:55] local.INFO: TCP Data received {"connection_id":125877,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125877,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:59:55] local.INFO: Processing buffer {"connection_id":125877,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 21:59:55] local.INFO: IMEI packet received {"connection_id":125877,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 21:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":125877,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 21:59:55] local.INFO: TCP Data received {"connection_id":126764,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:59:55] local.INFO: Processing buffer {"connection_id":126764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 21:59:55] local.INFO: IMEI packet received {"connection_id":126764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 21:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":126764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 21:59:59] local.INFO: TCP Data received {"connection_id":126016,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:59:59] local.INFO: Processing buffer {"connection_id":126016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 21:59:59] local.INFO: IMEI packet received {"connection_id":126016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 21:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":126016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:00:00] local.INFO: TCP Data received {"connection_id":126764,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:00:00] local.INFO: Processing buffer {"connection_id":126764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:00:00] local.INFO: IMEI packet received {"connection_id":126764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":126764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:00:01] local.INFO: TCP Data received {"connection_id":126764,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f428eb6c8012d79540005fe2348000901512a..."} 
[2026-07-08 22:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428eb6c8012d79540005fe2348000901512a..."} 
[2026-07-08 22:00:01] local.INFO: Processing buffer {"connection_id":126764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428eb6c8012d79540005fe2348000901512a..."} 
[2026-07-08 22:00:01] local.INFO: Packet analysis {"connection_id":126764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f428e"} 
[2026-07-08 22:00:01] local.INFO: Extracted packet for processing {"connection_id":126764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f428e"} 
[2026-07-08 22:00:01] local.INFO: GPS Element Parsed {"raw_longitude":762926080,"raw_latitude":100541256,"longitude_deg":76.292608,"latitude_deg":10.0541256,"altitude":9,"angle":337,"satellites":42,"speed":51,"hex_longitude":"2d795400","hex_latitude":"05fe2348","is_valid_coordinates":true} 
[2026-07-08 22:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583185664001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343308650208559104,"note":"Value kept but may cause issues"} 
[2026-07-08 22:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8746975664508248064,"note":"Value kept but may cause issues"} 
[2026-07-08 22:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783528077000,"timestamp_ms":1783528077000,"timestamp_seconds":1783528077,"priority":1,"record_length":96,"hex_timestamp":"0000019f428eb6c8"} 
[2026-07-08 22:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 22:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:00:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583185664001,"66":27365,"7":206,"87":10752,"24":51,"16":343308650208559104,"45":8746975664508248064},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,87,24,16,45]} 
[2026-07-08 22:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583185664001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:00:01] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-08 22:00:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-08 22:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343308650208559104,"km_value":343308650208559.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8746975664508248064,"description":"Unknown IO ID 45"} 
[2026-07-08 22:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583185664001,"power":27365,"unknown_7":206,"unknown_87":10752,"ignition":51,"odometer":null,"unknown_45":8746975664508248064}} 
[2026-07-08 22:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":126764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:00:01] local.INFO: GPS data processed {"connection_id":126764,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:00:01] local.INFO: Acknowledgment sent {"connection_id":126764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:00:04] local.INFO: TCP Data received {"connection_id":126016,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:00:04] local.INFO: Processing buffer {"connection_id":126016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:00:04] local.INFO: IMEI packet received {"connection_id":126016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":126016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:00:05] local.INFO: TCP Data received {"connection_id":126016,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f428dc880012d196500071ff078003e014226..."} 
[2026-07-08 22:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428dc880012d196500071ff078003e014226..."} 
[2026-07-08 22:00:05] local.INFO: Processing buffer {"connection_id":126016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428dc880012d196500071ff078003e014226..."} 
[2026-07-08 22:00:05] local.INFO: Packet analysis {"connection_id":126016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f428d"} 
[2026-07-08 22:00:05] local.INFO: Extracted packet for processing {"connection_id":126016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f428d"} 
[2026-07-08 22:00:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22: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-07-08 22:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583095040001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783528016000,"timestamp_ms":1783528016000,"timestamp_seconds":1783528016,"priority":1,"record_length":96,"hex_timestamp":"0000019f428dc880"} 
[2026-07-08 22:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:00:05] 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-07-08 22:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583095040001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583095040001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:00:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:00:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583095040001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":126016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:00:05] local.INFO: GPS data processed {"connection_id":126016,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:00:05] local.INFO: Acknowledgment sent {"connection_id":126016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:00:32] local.INFO: TCP Data received {"connection_id":126764,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f429058c0012d78aa0005ff4aa8000600022d..."} 
[2026-07-08 22:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f429058c0012d78aa0005ff4aa8000600022d..."} 
[2026-07-08 22:00:32] local.INFO: Processing buffer {"connection_id":126764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f429058c0012d78aa0005ff4aa8000600022d..."} 
[2026-07-08 22:00:32] local.INFO: Packet analysis {"connection_id":126764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4290"} 
[2026-07-08 22:00:32] local.INFO: Extracted packet for processing {"connection_id":126764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4290"} 
[2026-07-08 22:00:32] local.INFO: GPS Element Parsed {"raw_longitude":762882560,"raw_latitude":100616872,"longitude_deg":76.288256,"latitude_deg":10.0616872,"altitude":6,"angle":2,"satellites":45,"speed":20,"hex_longitude":"2d78aa00","hex_latitude":"05ff4aa8","is_valid_coordinates":true} 
[2026-07-08 22:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583213568001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343312992420495360,"note":"Value kept but may cause issues"} 
[2026-07-08 22:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8693847262675173376,"note":"Value kept but may cause issues"} 
[2026-07-08 22:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783528184000,"timestamp_ms":1783528184000,"timestamp_seconds":1783528184,"priority":1,"record_length":96,"hex_timestamp":"0000019f429058c0"} 
[2026-07-08 22:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-08 22:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583213568001,"66":27365,"115":206,"87":10752,"24":20,"16":343312992420495360,"45":8693847262675173376},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,87,24,16,45]} 
[2026-07-08 22:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583213568001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:00:32] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-08 22:00:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-08 22:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343312992420495360,"km_value":343312992420495.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8693847262675173376,"description":"Unknown IO ID 45"} 
[2026-07-08 22:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583213568001,"power":27365,"unknown_115":206,"unknown_87":10752,"ignition":20,"odometer":null,"unknown_45":8693847262675173376}} 
[2026-07-08 22:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":126764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:00:32] local.INFO: GPS data processed {"connection_id":126764,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:00:32] local.INFO: Acknowledgment sent {"connection_id":126764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:00:36] local.INFO: TCP Data received {"connection_id":126016,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f428dc880012d196500071ff078003e014226..."} 
[2026-07-08 22:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428dc880012d196500071ff078003e014226..."} 
[2026-07-08 22:00:36] local.INFO: Processing buffer {"connection_id":126016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428dc880012d196500071ff078003e014226..."} 
[2026-07-08 22:00:36] local.INFO: Packet analysis {"connection_id":126016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f428d"} 
[2026-07-08 22:00:36] local.INFO: Extracted packet for processing {"connection_id":126016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f428d"} 
[2026-07-08 22:00:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22: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-07-08 22:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583095040001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783528016000,"timestamp_ms":1783528016000,"timestamp_seconds":1783528016,"priority":1,"record_length":96,"hex_timestamp":"0000019f428dc880"} 
[2026-07-08 22:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:00:36] 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-07-08 22:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583095040001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583095040001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:00:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:00:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583095040001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":126016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:00:36] local.INFO: GPS data processed {"connection_id":126016,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:00:36] local.INFO: Acknowledgment sent {"connection_id":126016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:00:54] local.INFO: TCP Data received {"connection_id":128013,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:00:54] local.INFO: Processing buffer {"connection_id":128013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:00:54] local.INFO: IMEI packet received {"connection_id":128013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":128013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:01:00] local.INFO: TCP Data received {"connection_id":126017,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:01:00] local.INFO: Processing buffer {"connection_id":126017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:01:00] local.INFO: IMEI packet received {"connection_id":126017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":126017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:01:00] local.INFO: TCP Data received {"connection_id":128013,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:01:00] local.INFO: Processing buffer {"connection_id":128013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:01:00] local.INFO: IMEI packet received {"connection_id":128013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":128013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:01:01] local.INFO: TCP Data received {"connection_id":128013,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42906090012d78a98005ff4ee80006015f2d..."} 
[2026-07-08 22:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42906090012d78a98005ff4ee80006015f2d..."} 
[2026-07-08 22:01:01] local.INFO: Processing buffer {"connection_id":128013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42906090012d78a98005ff4ee80006015f2d..."} 
[2026-07-08 22:01:01] local.INFO: Packet analysis {"connection_id":128013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4290"} 
[2026-07-08 22:01:01] local.INFO: Extracted packet for processing {"connection_id":128013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4290"} 
[2026-07-08 22:01:01] local.INFO: GPS Element Parsed {"raw_longitude":762882432,"raw_latitude":100617960,"longitude_deg":76.2882432,"latitude_deg":10.061796,"altitude":6,"angle":351,"satellites":45,"speed":22,"hex_longitude":"2d78a980","hex_latitude":"05ff4ee8","is_valid_coordinates":true} 
[2026-07-08 22:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583215104001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343313043960102912,"note":"Value kept but may cause issues"} 
[2026-07-08 22:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8694762056350083072,"note":"Value kept but may cause issues"} 
[2026-07-08 22:01:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783528186000,"timestamp_ms":1783528186000,"timestamp_seconds":1783528186,"priority":1,"record_length":96,"hex_timestamp":"0000019f42906090"} 
[2026-07-08 22:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:01:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 22:01:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:01:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":128013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":128013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":128013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583215104001,"66":27463,"115":206,"87":10752,"24":22,"16":343313043960102912,"45":8694762056350083072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,87,24,16,45]} 
[2026-07-08 22:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583215104001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:01:01] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-08 22:01:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-08 22:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343313043960102912,"km_value":343313043960102.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8694762056350083072,"description":"Unknown IO ID 45"} 
[2026-07-08 22:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583215104001,"power":27463,"unknown_115":206,"unknown_87":10752,"ignition":22,"odometer":null,"unknown_45":8694762056350083072}} 
[2026-07-08 22:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":128013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:01:01] local.INFO: GPS data processed {"connection_id":128013,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:01:01] local.INFO: Acknowledgment sent {"connection_id":128013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:01:04] local.INFO: TCP Data received {"connection_id":126017,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:01:04] local.INFO: Processing buffer {"connection_id":126017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:01:04] local.INFO: IMEI packet received {"connection_id":126017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":126017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:01:05] local.INFO: TCP Data received {"connection_id":126017,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f428dc880012d196500071ff078003e014226..."} 
[2026-07-08 22:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428dc880012d196500071ff078003e014226..."} 
[2026-07-08 22:01:05] local.INFO: Processing buffer {"connection_id":126017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428dc880012d196500071ff078003e014226..."} 
[2026-07-08 22:01:05] local.INFO: Packet analysis {"connection_id":126017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f428d"} 
[2026-07-08 22:01:05] local.INFO: Extracted packet for processing {"connection_id":126017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f428d"} 
[2026-07-08 22:01:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583095040001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783528016000,"timestamp_ms":1783528016000,"timestamp_seconds":1783528016,"priority":1,"record_length":96,"hex_timestamp":"0000019f428dc880"} 
[2026-07-08 22:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:01:05] 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-07-08 22:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583095040001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583095040001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:01:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:01:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583095040001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":126017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:01:05] local.INFO: GPS data processed {"connection_id":126017,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:01:05] local.INFO: Acknowledgment sent {"connection_id":126017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:01:31] local.INFO: TCP Data received {"connection_id":128013,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42907800012d78a54005ff5dc8000601532a..."} 
[2026-07-08 22:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42907800012d78a54005ff5dc8000601532a..."} 
[2026-07-08 22:01:31] local.INFO: Processing buffer {"connection_id":128013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42907800012d78a54005ff5dc8000601532a..."} 
[2026-07-08 22:01:31] local.INFO: Packet analysis {"connection_id":128013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4290"} 
[2026-07-08 22:01:31] local.INFO: Extracted packet for processing {"connection_id":128013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4290"} 
[2026-07-08 22:01:31] local.INFO: GPS Element Parsed {"raw_longitude":762881344,"raw_latitude":100621768,"longitude_deg":76.2881344,"latitude_deg":10.0621768,"altitude":6,"angle":339,"satellites":42,"speed":27,"hex_longitude":"2d78a540","hex_latitude":"05ff5dc8","is_valid_coordinates":true} 
[2026-07-08 22:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583215616001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343313237233631232,"note":"Value kept but may cause issues"} 
[2026-07-08 22:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8694621318862006272,"note":"Value kept but may cause issues"} 
[2026-07-08 22:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783528192000,"timestamp_ms":1783528192000,"timestamp_seconds":1783528192,"priority":1,"record_length":96,"hex_timestamp":"0000019f42907800"} 
[2026-07-08 22:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-08 22:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:01:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":128013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":128013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":128013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583215616001,"66":27397,"115":206,"87":10752,"24":27,"16":343313237233631232,"45":8694621318862006272},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,87,24,16,45]} 
[2026-07-08 22:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583215616001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:01:31] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-08 22:01:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-08 22:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343313237233631232,"km_value":343313237233631.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8694621318862006272,"description":"Unknown IO ID 45"} 
[2026-07-08 22:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583215616001,"power":27397,"unknown_115":206,"unknown_87":10752,"ignition":27,"odometer":null,"unknown_45":8694621318862006272}} 
[2026-07-08 22:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":128013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:01:31] local.INFO: GPS data processed {"connection_id":128013,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:01:31] local.INFO: Acknowledgment sent {"connection_id":128013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:01:36] local.INFO: TCP Data received {"connection_id":126017,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f428dc880012d196500071ff078003e014226..."} 
[2026-07-08 22:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428dc880012d196500071ff078003e014226..."} 
[2026-07-08 22:01:36] local.INFO: Processing buffer {"connection_id":126017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428dc880012d196500071ff078003e014226..."} 
[2026-07-08 22:01:36] local.INFO: Packet analysis {"connection_id":126017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f428d"} 
[2026-07-08 22:01:36] local.INFO: Extracted packet for processing {"connection_id":126017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f428d"} 
[2026-07-08 22:01:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583095040001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783528016000,"timestamp_ms":1783528016000,"timestamp_seconds":1783528016,"priority":1,"record_length":96,"hex_timestamp":"0000019f428dc880"} 
[2026-07-08 22:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:01:36] 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-07-08 22:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583095040001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583095040001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:01:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:01:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583095040001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":126017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:01:36] local.INFO: GPS data processed {"connection_id":126017,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:01:36] local.INFO: Acknowledgment sent {"connection_id":126017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:01:55] local.INFO: TCP Data received {"connection_id":125879,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:01:55] local.INFO: Processing buffer {"connection_id":125879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:01:55] local.INFO: IMEI packet received {"connection_id":125879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":125879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:01:58] local.INFO: TCP Data received {"connection_id":125879,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:01:58] local.INFO: Processing buffer {"connection_id":125879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:01:58] local.INFO: IMEI packet received {"connection_id":125879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":125879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:01:58] local.INFO: TCP Data received {"connection_id":125879,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42909740012d78a14005ff6a900006015e2b..."} 
[2026-07-08 22:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42909740012d78a14005ff6a900006015e2b..."} 
[2026-07-08 22:01:58] local.INFO: Processing buffer {"connection_id":125879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42909740012d78a14005ff6a900006015e2b..."} 
[2026-07-08 22:01:58] local.INFO: Packet analysis {"connection_id":125879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4290"} 
[2026-07-08 22:01:58] local.INFO: Extracted packet for processing {"connection_id":125879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4290"} 
[2026-07-08 22:01:58] local.INFO: GPS Element Parsed {"raw_longitude":762880320,"raw_latitude":100625040,"longitude_deg":76.288032,"latitude_deg":10.062504,"altitude":6,"angle":350,"satellites":43,"speed":19,"hex_longitude":"2d78a140","hex_latitude":"05ff6a90","is_valid_coordinates":true} 
[2026-07-08 22:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583217152001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343313404737355776,"note":"Value kept but may cause issues"} 
[2026-07-08 22:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8693425050211960832,"note":"Value kept but may cause issues"} 
[2026-07-08 22:01:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783528200000,"timestamp_ms":1783528200000,"timestamp_seconds":1783528200,"priority":1,"record_length":96,"hex_timestamp":"0000019f42909740"} 
[2026-07-08 22:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:01:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-08 22:01:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:01:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":125879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":125879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":125879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:01: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-07-08 22:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583217152001,"66":27267,"115":206,"87":10752,"24":19,"16":343313404737355776,"45":8693425050211960832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,87,24,16,45]} 
[2026-07-08 22:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583217152001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:01:58] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-08 22:01:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-08 22:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343313404737355776,"km_value":343313404737355.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8693425050211960832,"description":"Unknown IO ID 45"} 
[2026-07-08 22:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583217152001,"power":27267,"unknown_115":206,"unknown_87":10752,"ignition":19,"odometer":null,"unknown_45":8693425050211960832}} 
[2026-07-08 22:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":125879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:01:58] local.INFO: GPS data processed {"connection_id":125879,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:01:58] local.INFO: Acknowledgment sent {"connection_id":125879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:01:59] local.INFO: TCP Data received {"connection_id":128014,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:01:59] local.INFO: Processing buffer {"connection_id":128014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:01:59] local.INFO: IMEI packet received {"connection_id":128014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":128014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:02:04] local.INFO: TCP Data received {"connection_id":128014,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:02:04] local.INFO: Processing buffer {"connection_id":128014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:02:04] local.INFO: IMEI packet received {"connection_id":128014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":128014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:02:05] local.INFO: TCP Data received {"connection_id":128014,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f428dc880012d196500071ff078003e014226..."} 
[2026-07-08 22:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f428dc880012d196500071ff078003e014226..."} 
[2026-07-08 22:02:05] local.INFO: Processing buffer {"connection_id":128014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f428dc880012d196500071ff078003e014226..."} 
[2026-07-08 22:02:05] local.INFO: Packet analysis {"connection_id":128014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f428d"} 
[2026-07-08 22:02:05] local.INFO: Extracted packet for processing {"connection_id":128014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f428d"} 
[2026-07-08 22:02:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583095040001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783528016000,"timestamp_ms":1783528016000,"timestamp_seconds":1783528016,"priority":1,"record_length":96,"hex_timestamp":"0000019f428dc880"} 
[2026-07-08 22:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583095040001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583095040001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:02:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:02:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583095040001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":128014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:02:05] local.INFO: GPS data processed {"connection_id":128014,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:02:05] local.INFO: Acknowledgment sent {"connection_id":128014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:02:29] local.INFO: TCP Data received {"connection_id":125879,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4291f2e8012d780c4006009aa8000e01372d..."} 
[2026-07-08 22:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4291f2e8012d780c4006009aa8000e01372d..."} 
[2026-07-08 22:02:29] local.INFO: Processing buffer {"connection_id":125879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4291f2e8012d780c4006009aa8000e01372d..."} 
[2026-07-08 22:02:29] local.INFO: Packet analysis {"connection_id":125879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4291"} 
[2026-07-08 22:02:29] local.INFO: Extracted packet for processing {"connection_id":125879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4291"} 
[2026-07-08 22:02:29] local.INFO: GPS Element Parsed {"raw_longitude":762842176,"raw_latitude":100702888,"longitude_deg":76.2842176,"latitude_deg":10.0702888,"altitude":14,"angle":311,"satellites":45,"speed":40,"hex_longitude":"2d780c40","hex_latitude":"06009aa8","is_valid_coordinates":true} 
[2026-07-08 22:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583239680001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343317755539226624,"note":"Value kept but may cause issues"} 
[2026-07-08 22:02:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8658029571909801984,"note":"Value kept but may cause issues"} 
[2026-07-08 22:02:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783528289000,"timestamp_ms":1783528289000,"timestamp_seconds":1783528289,"priority":1,"record_length":96,"hex_timestamp":"0000019f4291f2e8"} 
[2026-07-08 22:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:02:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 22:02:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:02:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":125879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":125879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":125879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:02:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583239680001,"66":27376,"217":206,"87":10752,"24":40,"16":343317755539226624,"45":8658029571909801984},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,87,24,16,45]} 
[2026-07-08 22:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583239680001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:02:29] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-08 22:02:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-08 22:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343317755539226624,"km_value":343317755539226.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:02:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8658029571909801984,"description":"Unknown IO ID 45"} 
[2026-07-08 22:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583239680001,"power":27376,"unknown_217":206,"unknown_87":10752,"ignition":40,"odometer":null,"unknown_45":8658029571909801984}} 
[2026-07-08 22:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":125879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:02:29] local.INFO: GPS data processed {"connection_id":125879,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:02:29] local.INFO: Acknowledgment sent {"connection_id":125879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:02:36] local.INFO: TCP Data received {"connection_id":128014,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f42926048012d196500071ff078003e014224..."} 
[2026-07-08 22:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42926048012d196500071ff078003e014224..."} 
[2026-07-08 22:02:36] local.INFO: Processing buffer {"connection_id":128014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42926048012d196500071ff078003e014224..."} 
[2026-07-08 22:02:36] local.INFO: Packet analysis {"connection_id":128014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4292"} 
[2026-07-08 22:02:36] local.INFO: Extracted packet for processing {"connection_id":128014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4292"} 
[2026-07-08 22:02:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22: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-07-08 22:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583172096001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783528317000,"timestamp_ms":1783528317000,"timestamp_seconds":1783528317,"priority":1,"record_length":96,"hex_timestamp":"0000019f42926048"} 
[2026-07-08 22:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:02:36] 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-07-08 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 22:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:02:36] 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-07-08 22:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583172096001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583172096001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:02:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:02:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583172096001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":128014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:02:36] local.INFO: GPS data processed {"connection_id":128014,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:02:36] local.INFO: Acknowledgment sent {"connection_id":128014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:03:00] local.INFO: TCP Data received {"connection_id":125880,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:03:00] local.INFO: Processing buffer {"connection_id":125880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:03:00] local.INFO: IMEI packet received {"connection_id":125880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":125880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:03:04] local.INFO: TCP Data received {"connection_id":125880,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:03:04] local.INFO: Processing buffer {"connection_id":125880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:03:04] local.INFO: IMEI packet received {"connection_id":125880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":125880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:03:04] local.INFO: TCP Data received {"connection_id":126018,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:03:04] local.INFO: Processing buffer {"connection_id":126018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:03:04] local.INFO: IMEI packet received {"connection_id":126018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":126018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:03:04] local.INFO: TCP Data received {"connection_id":125880,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:03:04] local.INFO: Processing buffer {"connection_id":125880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:03:04] local.INFO: IMEI packet received {"connection_id":125880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":125880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:03:05] local.INFO: TCP Data received {"connection_id":125880,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42921610012d77f0000600b3a0001001372e..."} 
[2026-07-08 22:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42921610012d77f0000600b3a0001001372e..."} 
[2026-07-08 22:03:05] local.INFO: Processing buffer {"connection_id":125880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42921610012d77f0000600b3a0001001372e..."} 
[2026-07-08 22:03:05] local.INFO: Packet analysis {"connection_id":125880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4292"} 
[2026-07-08 22:03:05] local.INFO: Extracted packet for processing {"connection_id":125880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4292"} 
[2026-07-08 22:03:05] local.INFO: GPS Element Parsed {"raw_longitude":762834944,"raw_latitude":100709280,"longitude_deg":76.2834944,"latitude_deg":10.070928,"altitude":16,"angle":311,"satellites":46,"speed":43,"hex_longitude":"2d77f000","hex_latitude":"0600b3a0","is_valid_coordinates":true} 
[2026-07-08 22:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583241984001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343318223690661888,"note":"Value kept but may cause issues"} 
[2026-07-08 22:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8650359378795997184,"note":"Value kept but may cause issues"} 
[2026-07-08 22:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783528298000,"timestamp_ms":1783528298000,"timestamp_seconds":1783528298,"priority":1,"record_length":96,"hex_timestamp":"0000019f42921610"} 
[2026-07-08 22:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 22:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583241984001,"66":27463,"217":206,"87":10752,"24":43,"16":343318223690661888,"45":8650359378795997184},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,87,24,16,45]} 
[2026-07-08 22:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583241984001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:03:05] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-08 22:03:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-08 22:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343318223690661888,"km_value":343318223690661.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8650359378795997184,"description":"Unknown IO ID 45"} 
[2026-07-08 22:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583241984001,"power":27463,"unknown_217":206,"unknown_87":10752,"ignition":43,"odometer":null,"unknown_45":8650359378795997184}} 
[2026-07-08 22:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":125880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:03:05] local.INFO: GPS data processed {"connection_id":125880,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:03:05] local.INFO: Acknowledgment sent {"connection_id":125880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:03:09] local.INFO: TCP Data received {"connection_id":126018,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:03:09] local.INFO: Processing buffer {"connection_id":126018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:03:09] local.INFO: IMEI packet received {"connection_id":126018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":126018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:03:10] local.INFO: TCP Data received {"connection_id":126018,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f42926048012d196500071ff078003e014224..."} 
[2026-07-08 22:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42926048012d196500071ff078003e014224..."} 
[2026-07-08 22:03:10] local.INFO: Processing buffer {"connection_id":126018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42926048012d196500071ff078003e014224..."} 
[2026-07-08 22:03:10] local.INFO: Packet analysis {"connection_id":126018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4292"} 
[2026-07-08 22:03:10] local.INFO: Extracted packet for processing {"connection_id":126018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4292"} 
[2026-07-08 22:03:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583172096001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:03: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-07-08 22:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783528317000,"timestamp_ms":1783528317000,"timestamp_seconds":1783528317,"priority":1,"record_length":96,"hex_timestamp":"0000019f42926048"} 
[2026-07-08 22:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:03:10] 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-07-08 22:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 22:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583172096001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583172096001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:03:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:03:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583172096001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:03:10] local.INFO: TCP Data received {"connection_id":125880,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42923938012d77d2800600cde0001001372d..."} 
[2026-07-08 22:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42923938012d77d2800600cde0001001372d..."} 
[2026-07-08 22:03:10] local.INFO: Processing buffer {"connection_id":125880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42923938012d77d2800600cde0001001372d..."} 
[2026-07-08 22:03:10] local.INFO: Packet analysis {"connection_id":125880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4292"} 
[2026-07-08 22:03:10] local.INFO: Extracted packet for processing {"connection_id":125880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4292"} 
[2026-07-08 22:03:10] local.INFO: GPS Element Parsed {"raw_longitude":762827392,"raw_latitude":100716000,"longitude_deg":76.2827392,"latitude_deg":10.0716,"altitude":16,"angle":311,"satellites":45,"speed":46,"hex_longitude":"2d77d280","hex_latitude":"0600cde0","is_valid_coordinates":true} 
[2026-07-08 22:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583244288001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343318709021966336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8642407710705557504,"note":"Value kept but may cause issues"} 
[2026-07-08 22:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783528307000,"timestamp_ms":1783528307000,"timestamp_seconds":1783528307,"priority":1,"record_length":96,"hex_timestamp":"0000019f42923938"} 
[2026-07-08 22:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-08 22:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583244288001,"66":27376,"226":206,"79":47616,"24":46,"16":343318709021966336,"45":8642407710705557504},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,79,24,16,45]} 
[2026-07-08 22:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583244288001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:03:10] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-08 22:03:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-08 22:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343318709021966336,"km_value":343318709021966.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8642407710705557504,"description":"Unknown IO ID 45"} 
[2026-07-08 22:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583244288001,"power":27376,"unknown_226":206,"unknown_79":47616,"ignition":46,"odometer":null,"unknown_45":8642407710705557504}} 
[2026-07-08 22:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":125880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:03:10] local.INFO: GPS data processed {"connection_id":125880,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:03:10] local.INFO: Acknowledgment sent {"connection_id":125880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":126018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:03:10] local.INFO: GPS data processed {"connection_id":126018,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:03:10] local.INFO: Acknowledgment sent {"connection_id":126018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:03:41] local.INFO: TCP Data received {"connection_id":126018,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f42926048012d196500071ff078003e014224..."} 
[2026-07-08 22:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42926048012d196500071ff078003e014224..."} 
[2026-07-08 22:03:41] local.INFO: Processing buffer {"connection_id":126018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42926048012d196500071ff078003e014224..."} 
[2026-07-08 22:03:41] local.INFO: Packet analysis {"connection_id":126018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4292"} 
[2026-07-08 22:03:41] local.INFO: Extracted packet for processing {"connection_id":126018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4292"} 
[2026-07-08 22:03:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583172096001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22: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-07-08 22:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783528317000,"timestamp_ms":1783528317000,"timestamp_seconds":1783528317,"priority":1,"record_length":96,"hex_timestamp":"0000019f42926048"} 
[2026-07-08 22:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:03: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-07-08 22: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":107,"data_length":795,"current_offset":136} 
[2026-07-08 22:03: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-07-08 22:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":126018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":126018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":126018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:03: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-07-08 22:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583172096001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583172096001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:03:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:03:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583172096001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":126018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:03:41] local.INFO: GPS data processed {"connection_id":126018,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:03:41] local.INFO: Acknowledgment sent {"connection_id":126018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:03:58] local.INFO: TCP Data received {"connection_id":126767,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:03:58] local.INFO: Processing buffer {"connection_id":126767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:03:58] local.INFO: IMEI packet received {"connection_id":126767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":126767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:03:59] local.INFO: TCP Data received {"connection_id":125881,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:03:59] local.INFO: Processing buffer {"connection_id":125881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:03:59] local.INFO: IMEI packet received {"connection_id":125881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":125881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:03:59] local.INFO: TCP Data received {"connection_id":126767,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:03:59] local.INFO: Processing buffer {"connection_id":126767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:03:59] local.INFO: IMEI packet received {"connection_id":126767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":126767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:04:04] local.INFO: TCP Data received {"connection_id":125881,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:04:04] local.INFO: Processing buffer {"connection_id":125881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:04:04] local.INFO: IMEI packet received {"connection_id":125881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":125881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:04:05] local.INFO: TCP Data received {"connection_id":126767,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:04:05] local.INFO: Processing buffer {"connection_id":126767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:04:05] local.INFO: IMEI packet received {"connection_id":126767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":126767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:04:05] local.INFO: TCP Data received {"connection_id":125881,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f42926048012d196500071ff078003e014224..."} 
[2026-07-08 22:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42926048012d196500071ff078003e014224..."} 
[2026-07-08 22:04:05] local.INFO: Processing buffer {"connection_id":125881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42926048012d196500071ff078003e014224..."} 
[2026-07-08 22:04:05] local.INFO: Packet analysis {"connection_id":125881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4292"} 
[2026-07-08 22:04:05] local.INFO: Extracted packet for processing {"connection_id":125881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4292"} 
[2026-07-08 22:04:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583172096001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783528317000,"timestamp_ms":1783528317000,"timestamp_seconds":1783528317,"priority":1,"record_length":96,"hex_timestamp":"0000019f42926048"} 
[2026-07-08 22:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 22:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583172096001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583172096001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:04:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:04:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583172096001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":125881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:04:05] local.INFO: GPS data processed {"connection_id":125881,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:04:05] local.INFO: Acknowledgment sent {"connection_id":125881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:04:08] local.INFO: TCP Data received {"connection_id":126767,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42935660012d76a1c00601db70000401372e..."} 
[2026-07-08 22:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42935660012d76a1c00601db70000401372e..."} 
[2026-07-08 22:04:08] local.INFO: Processing buffer {"connection_id":126767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42935660012d76a1c00601db70000401372e..."} 
[2026-07-08 22:04:08] local.INFO: Packet analysis {"connection_id":126767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4293"} 
[2026-07-08 22:04:08] local.INFO: Extracted packet for processing {"connection_id":126767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4293"} 
[2026-07-08 22:04:08] local.INFO: GPS Element Parsed {"raw_longitude":762749376,"raw_latitude":100785008,"longitude_deg":76.2749376,"latitude_deg":10.0785008,"altitude":4,"angle":311,"satellites":46,"speed":49,"hex_longitude":"2d76a1c0","hex_latitude":"0601db70","is_valid_coordinates":true} 
[2026-07-08 22:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583263488001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343323712658866176,"note":"Value kept but may cause issues"} 
[2026-07-08 22:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8555854155384891392,"note":"Value kept but may cause issues"} 
[2026-07-08 22:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783528380000,"timestamp_ms":1783528380000,"timestamp_seconds":1783528380,"priority":1,"record_length":96,"hex_timestamp":"0000019f42935660"} 
[2026-07-08 22:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 22:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583263488001,"66":27397,"188":206,"79":47616,"24":49,"16":343323712658866176,"45":8555854155384891392},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,79,24,16,45]} 
[2026-07-08 22:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583263488001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:04:08] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-08 22:04:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-08 22:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343323712658866176,"km_value":343323712658866.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8555854155384891392,"description":"Unknown IO ID 45"} 
[2026-07-08 22:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583263488001,"power":27397,"unknown_188":206,"unknown_79":47616,"ignition":49,"odometer":null,"unknown_45":8555854155384891392}} 
[2026-07-08 22:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":126767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:04:08] local.INFO: GPS data processed {"connection_id":126767,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:04:08] local.INFO: Acknowledgment sent {"connection_id":126767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:04:10] local.INFO: TCP Data received {"connection_id":126767,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42938158012d7689400601f1c0000601452e..."} 
[2026-07-08 22:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42938158012d7689400601f1c0000601452e..."} 
[2026-07-08 22:04:10] local.INFO: Processing buffer {"connection_id":126767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42938158012d7689400601f1c0000601452e..."} 
[2026-07-08 22:04:10] local.INFO: Packet analysis {"connection_id":126767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4293"} 
[2026-07-08 22:04:10] local.INFO: Extracted packet for processing {"connection_id":126767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4293"} 
[2026-07-08 22:04:10] local.INFO: GPS Element Parsed {"raw_longitude":762743104,"raw_latitude":100790720,"longitude_deg":76.2743104,"latitude_deg":10.079072,"altitude":6,"angle":325,"satellites":46,"speed":17,"hex_longitude":"2d768940","hex_latitude":"0601f1c0","is_valid_coordinates":true} 
[2026-07-08 22:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583265280001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343324124975726592,"note":"Value kept but may cause issues"} 
[2026-07-08 22:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8548324699759407104,"note":"Value kept but may cause issues"} 
[2026-07-08 22:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783528391000,"timestamp_ms":1783528391000,"timestamp_seconds":1783528391,"priority":1,"record_length":96,"hex_timestamp":"0000019f42938158"} 
[2026-07-08 22:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-08 22:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583265280001,"66":27267,"188":206,"79":47616,"24":17,"16":343324124975726592,"45":8548324699759407104},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,79,24,16,45]} 
[2026-07-08 22:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583265280001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:04:10] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-08 22:04:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-08 22:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343324124975726592,"km_value":343324124975726.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8548324699759407104,"description":"Unknown IO ID 45"} 
[2026-07-08 22:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583265280001,"power":27267,"unknown_188":206,"unknown_79":47616,"ignition":17,"odometer":null,"unknown_45":8548324699759407104}} 
[2026-07-08 22:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":126767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:04:10] local.INFO: GPS data processed {"connection_id":126767,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:04:10] local.INFO: Acknowledgment sent {"connection_id":126767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:04:36] local.INFO: TCP Data received {"connection_id":125881,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f42926048012d196500071ff078003e014224..."} 
[2026-07-08 22:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42926048012d196500071ff078003e014224..."} 
[2026-07-08 22:04:36] local.INFO: Processing buffer {"connection_id":125881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42926048012d196500071ff078003e014224..."} 
[2026-07-08 22:04:36] local.INFO: Packet analysis {"connection_id":125881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4292"} 
[2026-07-08 22:04:36] local.INFO: Extracted packet for processing {"connection_id":125881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4292"} 
[2026-07-08 22:04:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583172096001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783528317000,"timestamp_ms":1783528317000,"timestamp_seconds":1783528317,"priority":1,"record_length":96,"hex_timestamp":"0000019f42926048"} 
[2026-07-08 22:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:04:36] 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-07-08 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 22:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583172096001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583172096001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:04:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:04:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583172096001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":125881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:04:36] local.INFO: GPS data processed {"connection_id":125881,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:04:36] local.INFO: Acknowledgment sent {"connection_id":125881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:04:55] local.INFO: TCP Data received {"connection_id":126768,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:04:55] local.INFO: Processing buffer {"connection_id":126768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:04:55] local.INFO: IMEI packet received {"connection_id":126768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":126768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:04:59] local.INFO: TCP Data received {"connection_id":125882,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:04:59] local.INFO: Processing buffer {"connection_id":125882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:04:59] local.INFO: IMEI packet received {"connection_id":125882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":125882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:05:00] local.INFO: TCP Data received {"connection_id":126768,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:05:00] local.INFO: Processing buffer {"connection_id":126768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:05:00] local.INFO: IMEI packet received {"connection_id":126768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":126768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:05:00] local.INFO: TCP Data received {"connection_id":126769,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126769,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:05:00] local.INFO: Processing buffer {"connection_id":126769,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:05:00] local.INFO: IMEI packet received {"connection_id":126769,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 22:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":126769,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:05:01] local.INFO: TCP Data received {"connection_id":126768,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42945060012d762e4006023d50000701572d..."} 
[2026-07-08 22:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42945060012d762e4006023d50000701572d..."} 
[2026-07-08 22:05:01] local.INFO: Processing buffer {"connection_id":126768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42945060012d762e4006023d50000701572d..."} 
[2026-07-08 22:05:01] local.INFO: Packet analysis {"connection_id":126768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4294"} 
[2026-07-08 22:05:01] local.INFO: Extracted packet for processing {"connection_id":126768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4294"} 
[2026-07-08 22:05:01] local.INFO: GPS Element Parsed {"raw_longitude":762719808,"raw_latitude":100810064,"longitude_deg":76.2719808,"latitude_deg":10.0810064,"altitude":7,"angle":343,"satellites":45,"speed":21,"hex_longitude":"2d762e40","hex_latitude":"06023d50","is_valid_coordinates":true} 
[2026-07-08 22:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583280896001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343325632509247488,"note":"Value kept but may cause issues"} 
[2026-07-08 22:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8516588396141246464,"note":"Value kept but may cause issues"} 
[2026-07-08 22:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783528444000,"timestamp_ms":1783528444000,"timestamp_seconds":1783528444,"priority":1,"record_length":96,"hex_timestamp":"0000019f42945060"} 
[2026-07-08 22:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-08 22:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:05:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583280896001,"66":27397,"187":206,"79":47616,"24":21,"16":343325632509247488,"45":8516588396141246464},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,79,24,16,45]} 
[2026-07-08 22:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583280896001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:05:01] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-08 22:05:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-08 22:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343325632509247488,"km_value":343325632509247.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8516588396141246464,"description":"Unknown IO ID 45"} 
[2026-07-08 22:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583280896001,"power":27397,"unknown_187":206,"unknown_79":47616,"ignition":21,"odometer":null,"unknown_45":8516588396141246464}} 
[2026-07-08 22:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":126768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:05:01] local.INFO: GPS data processed {"connection_id":126768,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:05:01] local.INFO: Acknowledgment sent {"connection_id":126768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:05:04] local.INFO: TCP Data received {"connection_id":125882,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:05:04] local.INFO: Processing buffer {"connection_id":125882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:05:04] local.INFO: IMEI packet received {"connection_id":125882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":125882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:05:05] local.INFO: TCP Data received {"connection_id":125882,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f42926048012d196500071ff078003e014224..."} 
[2026-07-08 22:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42926048012d196500071ff078003e014224..."} 
[2026-07-08 22:05:05] local.INFO: Processing buffer {"connection_id":125882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42926048012d196500071ff078003e014224..."} 
[2026-07-08 22:05:05] local.INFO: Packet analysis {"connection_id":125882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4292"} 
[2026-07-08 22:05:05] local.INFO: Extracted packet for processing {"connection_id":125882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4292"} 
[2026-07-08 22:05:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583172096001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783528317000,"timestamp_ms":1783528317000,"timestamp_seconds":1783528317,"priority":1,"record_length":96,"hex_timestamp":"0000019f42926048"} 
[2026-07-08 22:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 22:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583172096001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583172096001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:05:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:05:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583172096001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":125882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:05:05] local.INFO: GPS data processed {"connection_id":125882,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:05:05] local.INFO: Acknowledgment sent {"connection_id":125882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:05:32] local.INFO: TCP Data received {"connection_id":126768,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f429463e8012d762b4006024560000601482c..."} 
[2026-07-08 22:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f429463e8012d762b4006024560000601482c..."} 
[2026-07-08 22:05:32] local.INFO: Processing buffer {"connection_id":126768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f429463e8012d762b4006024560000601482c..."} 
[2026-07-08 22:05:32] local.INFO: Packet analysis {"connection_id":126768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4294"} 
[2026-07-08 22:05:32] local.INFO: Extracted packet for processing {"connection_id":126768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4294"} 
[2026-07-08 22:05:32] local.INFO: GPS Element Parsed {"raw_longitude":762719040,"raw_latitude":100812128,"longitude_deg":76.271904,"latitude_deg":10.0812128,"altitude":6,"angle":328,"satellites":44,"speed":17,"hex_longitude":"2d762b40","hex_latitude":"06024560","is_valid_coordinates":true} 
[2026-07-08 22:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583281664001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343325739883429888,"note":"Value kept but may cause issues"} 
[2026-07-08 22:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8515814339955740672,"note":"Value kept but may cause issues"} 
[2026-07-08 22:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783528449000,"timestamp_ms":1783528449000,"timestamp_seconds":1783528449,"priority":1,"record_length":96,"hex_timestamp":"0000019f429463e8"} 
[2026-07-08 22:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:05: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-08 22:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583281664001,"66":27397,"187":206,"79":47616,"24":17,"16":343325739883429888,"45":8515814339955740672},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,79,24,16,45]} 
[2026-07-08 22:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583281664001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:05:32] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-08 22:05:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-08 22:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343325739883429888,"km_value":343325739883429.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8515814339955740672,"description":"Unknown IO ID 45"} 
[2026-07-08 22:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583281664001,"power":27397,"unknown_187":206,"unknown_79":47616,"ignition":17,"odometer":null,"unknown_45":8515814339955740672}} 
[2026-07-08 22:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":126768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:05:32] local.INFO: GPS data processed {"connection_id":126768,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:05:32] local.INFO: Acknowledgment sent {"connection_id":126768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:05:36] local.INFO: TCP Data received {"connection_id":125882,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f42926048012d196500071ff078003e014224..."} 
[2026-07-08 22:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42926048012d196500071ff078003e014224..."} 
[2026-07-08 22:05:36] local.INFO: Processing buffer {"connection_id":125882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42926048012d196500071ff078003e014224..."} 
[2026-07-08 22:05:36] local.INFO: Packet analysis {"connection_id":125882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4292"} 
[2026-07-08 22:05:36] local.INFO: Extracted packet for processing {"connection_id":125882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4292"} 
[2026-07-08 22:05:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583172096001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783528317000,"timestamp_ms":1783528317000,"timestamp_seconds":1783528317,"priority":1,"record_length":96,"hex_timestamp":"0000019f42926048"} 
[2026-07-08 22:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:05:36] 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-07-08 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 22:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583172096001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583172096001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:05:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:05:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583172096001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":125882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:05:36] local.INFO: GPS data processed {"connection_id":125882,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:05:36] local.INFO: Acknowledgment sent {"connection_id":125882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:05:58] local.INFO: TCP Data received {"connection_id":128015,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:05:58] local.INFO: Processing buffer {"connection_id":128015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:05:58] local.INFO: IMEI packet received {"connection_id":128015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":128015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:05:59] local.INFO: TCP Data received {"connection_id":128015,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:05:59] local.INFO: Processing buffer {"connection_id":128015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:05:59] local.INFO: IMEI packet received {"connection_id":128015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":128015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:06:00] local.INFO: TCP Data received {"connection_id":128015,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42946bb8012d7628c0060248380007013c2d..."} 
[2026-07-08 22:06:00] local.INFO: TCP Data received {"connection_id":126770,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42946bb8012d7628c0060248380007013c2d..."} 
[2026-07-08 22:06:00] local.INFO: Processing buffer {"connection_id":128015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42946bb8012d7628c0060248380007013c2d..."} 
[2026-07-08 22:06:00] local.INFO: Packet analysis {"connection_id":128015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4294"} 
[2026-07-08 22:06:00] local.INFO: Extracted packet for processing {"connection_id":128015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4294"} 
[2026-07-08 22:06:00] local.INFO: GPS Element Parsed {"raw_longitude":762718400,"raw_latitude":100812856,"longitude_deg":76.27184,"latitude_deg":10.0812856,"altitude":7,"angle":316,"satellites":45,"speed":18,"hex_longitude":"2d7628c0","hex_latitude":"06024838","is_valid_coordinates":true} 
[2026-07-08 22:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583282944001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343325782833102848,"note":"Value kept but may cause issues"} 
[2026-07-08 22:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8514969915026137088,"note":"Value kept but may cause issues"} 
[2026-07-08 22:06:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783528451000,"timestamp_ms":1783528451000,"timestamp_seconds":1783528451,"priority":1,"record_length":96,"hex_timestamp":"0000019f42946bb8"} 
[2026-07-08 22:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-08 22:06:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:06:00] local.INFO: Processing buffer {"connection_id":126770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":128015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":128015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:06:00] local.INFO: IMEI packet received {"connection_id":126770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":128015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":126770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583282944001,"66":26484,"187":206,"79":47616,"24":18,"16":343325782833102848,"45":8514969915026137088},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,79,24,16,45]} 
[2026-07-08 22:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583282944001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:06:00] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-08 22:06:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-08 22:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343325782833102848,"km_value":343325782833102.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8514969915026137088,"description":"Unknown IO ID 45"} 
[2026-07-08 22:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583282944001,"power":26484,"unknown_187":206,"unknown_79":47616,"ignition":18,"odometer":null,"unknown_45":8514969915026137088}} 
[2026-07-08 22:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":128015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:06:00] local.INFO: GPS data processed {"connection_id":128015,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:06:00] local.INFO: Acknowledgment sent {"connection_id":128015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:06:00] local.INFO: TCP Data received {"connection_id":128015,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4294a268012d760d80060261b0000701382d..."} 
[2026-07-08 22:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4294a268012d760d80060261b0000701382d..."} 
[2026-07-08 22:06:00] local.INFO: Processing buffer {"connection_id":128015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4294a268012d760d80060261b0000701382d..."} 
[2026-07-08 22:06:00] local.INFO: Packet analysis {"connection_id":128015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4294"} 
[2026-07-08 22:06:00] local.INFO: Extracted packet for processing {"connection_id":128015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4294"} 
[2026-07-08 22:06:00] local.INFO: GPS Element Parsed {"raw_longitude":762711424,"raw_latitude":100819376,"longitude_deg":76.2711424,"latitude_deg":10.0819376,"altitude":7,"angle":312,"satellites":45,"speed":35,"hex_longitude":"2d760d80","hex_latitude":"060261b0","is_valid_coordinates":true} 
[2026-07-08 22:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583283456001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343326246689570816,"note":"Value kept but may cause issues"} 
[2026-07-08 22:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8514266227584546816,"note":"Value kept but may cause issues"} 
[2026-07-08 22:06:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783528465000,"timestamp_ms":1783528465000,"timestamp_seconds":1783528465,"priority":1,"record_length":96,"hex_timestamp":"0000019f4294a268"} 
[2026-07-08 22:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-08 22:06:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":128015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":128015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":128015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583283456001,"66":27213,"21":206,"79":47616,"24":35,"16":343326246689570816,"45":8514266227584546816},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-07-08 22:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583283456001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:06:00] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-07-08 22:06:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-08 22:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343326246689570816,"km_value":343326246689570.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8514266227584546816,"description":"Unknown IO ID 45"} 
[2026-07-08 22:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583283456001,"power":27213,"unknown_21":206,"unknown_79":47616,"ignition":35,"odometer":null,"unknown_45":8514266227584546816}} 
[2026-07-08 22:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":128015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:06:00] local.INFO: GPS data processed {"connection_id":128015,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:06:00] local.INFO: Acknowledgment sent {"connection_id":128015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:06:04] local.INFO: TCP Data received {"connection_id":126770,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:06:04] local.INFO: Processing buffer {"connection_id":126770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:06:04] local.INFO: IMEI packet received {"connection_id":126770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":126770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:06:05] local.INFO: TCP Data received {"connection_id":126770,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f42926048012d196500071ff078003e014224..."} 
[2026-07-08 22:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42926048012d196500071ff078003e014224..."} 
[2026-07-08 22:06:05] local.INFO: Processing buffer {"connection_id":126770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42926048012d196500071ff078003e014224..."} 
[2026-07-08 22:06:05] local.INFO: Packet analysis {"connection_id":126770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4292"} 
[2026-07-08 22:06:05] local.INFO: Extracted packet for processing {"connection_id":126770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4292"} 
[2026-07-08 22:06:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583172096001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783528317000,"timestamp_ms":1783528317000,"timestamp_seconds":1783528317,"priority":1,"record_length":96,"hex_timestamp":"0000019f42926048"} 
[2026-07-08 22:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 22:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:06:05] 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-07-08 22:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583172096001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583172096001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:06:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:06:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583172096001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":126770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:06:05] local.INFO: GPS data processed {"connection_id":126770,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:06:05] local.INFO: Acknowledgment sent {"connection_id":126770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:06:12] local.INFO: TCP Data received {"connection_id":128016,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128016,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:06:12] local.INFO: Processing buffer {"connection_id":128016,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:06:12] local.INFO: IMEI packet received {"connection_id":128016,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 22:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":128016,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:06:32] local.INFO: TCP Data received {"connection_id":128015,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4294c978012d75f14006027c080007013c2b..."} 
[2026-07-08 22:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4294c978012d75f14006027c080007013c2b..."} 
[2026-07-08 22:06:32] local.INFO: Processing buffer {"connection_id":128015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4294c978012d75f14006027c080007013c2b..."} 
[2026-07-08 22:06:32] local.INFO: Packet analysis {"connection_id":128015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4294"} 
[2026-07-08 22:06:32] local.INFO: Extracted packet for processing {"connection_id":128015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4294"} 
[2026-07-08 22:06:32] local.INFO: GPS Element Parsed {"raw_longitude":762704192,"raw_latitude":100826120,"longitude_deg":76.2704192,"latitude_deg":10.082612,"altitude":7,"angle":316,"satellites":43,"speed":43,"hex_longitude":"2d75f140","hex_latitude":"06027c08","is_valid_coordinates":true} 
[2026-07-08 22:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583287040001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343326719135973376,"note":"Value kept but may cause issues"} 
[2026-07-08 22:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8506596034470850560,"note":"Value kept but may cause issues"} 
[2026-07-08 22:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783528475000,"timestamp_ms":1783528475000,"timestamp_seconds":1783528475,"priority":1,"record_length":96,"hex_timestamp":"0000019f4294c978"} 
[2026-07-08 22:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-08 22:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":128015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":128015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":128015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583287040001,"66":27365,"21":206,"79":47616,"24":43,"16":343326719135973376,"45":8506596034470850560},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-07-08 22:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583287040001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:06:32] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-07-08 22:06:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-08 22:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343326719135973376,"km_value":343326719135973.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8506596034470850560,"description":"Unknown IO ID 45"} 
[2026-07-08 22:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583287040001,"power":27365,"unknown_21":206,"unknown_79":47616,"ignition":43,"odometer":null,"unknown_45":8506596034470850560}} 
[2026-07-08 22:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":128015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:06:32] local.INFO: GPS data processed {"connection_id":128015,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:06:32] local.INFO: Acknowledgment sent {"connection_id":128015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:06:36] local.INFO: TCP Data received {"connection_id":126770,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f42926048012d196500071ff078003e014224..."} 
[2026-07-08 22:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42926048012d196500071ff078003e014224..."} 
[2026-07-08 22:06:36] local.INFO: Processing buffer {"connection_id":126770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42926048012d196500071ff078003e014224..."} 
[2026-07-08 22:06:36] local.INFO: Packet analysis {"connection_id":126770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4292"} 
[2026-07-08 22:06:36] local.INFO: Extracted packet for processing {"connection_id":126770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4292"} 
[2026-07-08 22:06:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22: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-07-08 22:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583172096001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783528317000,"timestamp_ms":1783528317000,"timestamp_seconds":1783528317,"priority":1,"record_length":96,"hex_timestamp":"0000019f42926048"} 
[2026-07-08 22:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:06:36] 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-07-08 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 22:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:06:36] 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-07-08 22:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583172096001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583172096001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:06:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:06:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583172096001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":126770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:06:36] local.INFO: GPS data processed {"connection_id":126770,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:06:36] local.INFO: Acknowledgment sent {"connection_id":126770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:06:53] local.INFO: TCP Data received {"connection_id":125883,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:06:53] local.INFO: Processing buffer {"connection_id":125883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:06:53] local.INFO: IMEI packet received {"connection_id":125883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":125883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:06:55] local.INFO: TCP Data received {"connection_id":125883,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:06:55] local.INFO: Processing buffer {"connection_id":125883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:06:55] local.INFO: IMEI packet received {"connection_id":125883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":125883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:06:59] local.INFO: TCP Data received {"connection_id":126020,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:06:59] local.INFO: Processing buffer {"connection_id":126020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:06:59] local.INFO: IMEI packet received {"connection_id":126020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":126020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:07:00] local.INFO: TCP Data received {"connection_id":125883,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:07:00] local.INFO: Processing buffer {"connection_id":125883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:07:00] local.INFO: IMEI packet received {"connection_id":125883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":125883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:07:00] local.INFO: TCP Data received {"connection_id":125883,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42961968012d75758006039ba8000801552a..."} 
[2026-07-08 22:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42961968012d75758006039ba8000801552a..."} 
[2026-07-08 22:07:00] local.INFO: Processing buffer {"connection_id":125883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42961968012d75758006039ba8000801552a..."} 
[2026-07-08 22:07:00] local.INFO: Packet analysis {"connection_id":125883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4296"} 
[2026-07-08 22:07:00] local.INFO: Extracted packet for processing {"connection_id":125883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4296"} 
[2026-07-08 22:07:00] local.INFO: GPS Element Parsed {"raw_longitude":762672512,"raw_latitude":100899752,"longitude_deg":76.2672512,"latitude_deg":10.0899752,"altitude":8,"angle":341,"satellites":42,"speed":50,"hex_longitude":"2d757580","hex_latitude":"06039ba8","is_valid_coordinates":true} 
[2026-07-08 22:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583309824001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343330661915951104,"note":"Value kept but may cause issues"} 
[2026-07-08 22:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8466978431517239296,"note":"Value kept but may cause issues"} 
[2026-07-08 22:07:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783528561000,"timestamp_ms":1783528561000,"timestamp_seconds":1783528561,"priority":1,"record_length":96,"hex_timestamp":"0000019f42961968"} 
[2026-07-08 22:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 22:07:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:07:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583309824001,"66":27137,"196":206,"79":47616,"24":50,"16":343330661915951104,"45":8466978431517239296},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-07-08 22:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583309824001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:07:00] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-08 22:07:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-08 22:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343330661915951104,"km_value":343330661915951.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8466978431517239296,"description":"Unknown IO ID 45"} 
[2026-07-08 22:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583309824001,"power":27137,"unknown_196":206,"unknown_79":47616,"ignition":50,"odometer":null,"unknown_45":8466978431517239296}} 
[2026-07-08 22:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":125883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:07:00] local.INFO: GPS data processed {"connection_id":125883,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:07:00] local.INFO: Acknowledgment sent {"connection_id":125883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:07:04] local.INFO: TCP Data received {"connection_id":126020,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:07:04] local.INFO: Processing buffer {"connection_id":126020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:07:04] local.INFO: IMEI packet received {"connection_id":126020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":126020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:07:08] local.INFO: TCP Data received {"connection_id":126020,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f42926048012d196500071ff078003e014224..."} 
[2026-07-08 22:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42926048012d196500071ff078003e014224..."} 
[2026-07-08 22:07:08] local.INFO: Processing buffer {"connection_id":126020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42926048012d196500071ff078003e014224..."} 
[2026-07-08 22:07:08] local.INFO: Packet analysis {"connection_id":126020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4292"} 
[2026-07-08 22:07:08] local.INFO: Extracted packet for processing {"connection_id":126020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4292"} 
[2026-07-08 22:07:08] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583172096001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783528317000,"timestamp_ms":1783528317000,"timestamp_seconds":1783528317,"priority":1,"record_length":96,"hex_timestamp":"0000019f42926048"} 
[2026-07-08 22:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:07:08] 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-07-08 22:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 22:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583172096001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583172096001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:07:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:07:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583172096001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":126020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:07:08] local.INFO: GPS data processed {"connection_id":126020,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:07:08] local.INFO: Acknowledgment sent {"connection_id":126020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:07:31] local.INFO: TCP Data received {"connection_id":125883,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f429634c0012d756c000603bd98000a01592a..."} 
[2026-07-08 22:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f429634c0012d756c000603bd98000a01592a..."} 
[2026-07-08 22:07:31] local.INFO: Processing buffer {"connection_id":125883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f429634c0012d756c000603bd98000a01592a..."} 
[2026-07-08 22:07:31] local.INFO: Packet analysis {"connection_id":125883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4296"} 
[2026-07-08 22:07:31] local.INFO: Extracted packet for processing {"connection_id":125883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4296"} 
[2026-07-08 22:07:31] local.INFO: GPS Element Parsed {"raw_longitude":762670080,"raw_latitude":100908440,"longitude_deg":76.267008,"latitude_deg":10.090844,"altitude":10,"angle":345,"satellites":42,"speed":52,"hex_longitude":"2d756c00","hex_latitude":"0603bd98","is_valid_coordinates":true} 
[2026-07-08 22:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583311616001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343331095707648000,"note":"Value kept but may cause issues"} 
[2026-07-08 22:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8463811838031407104,"note":"Value kept but may cause issues"} 
[2026-07-08 22:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783528568000,"timestamp_ms":1783528568000,"timestamp_seconds":1783528568,"priority":1,"record_length":96,"hex_timestamp":"0000019f429634c0"} 
[2026-07-08 22:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:07: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":1,"data_length":795,"current_offset":136} 
[2026-07-08 22:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":125883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":125883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":125883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583311616001,"66":27267,"196":206,"79":47616,"24":52,"16":343331095707648000,"45":8463811838031407104},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-07-08 22:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583311616001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:07:31] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-08 22:07:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-08 22:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343331095707648000,"km_value":343331095707648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8463811838031407104,"description":"Unknown IO ID 45"} 
[2026-07-08 22:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583311616001,"power":27267,"unknown_196":206,"unknown_79":47616,"ignition":52,"odometer":null,"unknown_45":8463811838031407104}} 
[2026-07-08 22:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":125883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:07:31] local.INFO: GPS data processed {"connection_id":125883,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:07:31] local.INFO: Acknowledgment sent {"connection_id":125883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:07:51] local.INFO: TCP Data received {"connection_id":126020,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f4296f810012d196500071ff078003e014224..."} 
[2026-07-08 22:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4296f810012d196500071ff078003e014224..."} 
[2026-07-08 22:07:51] local.INFO: Processing buffer {"connection_id":126020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4296f810012d196500071ff078003e014224..."} 
[2026-07-08 22:07:51] local.INFO: Packet analysis {"connection_id":126020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4296"} 
[2026-07-08 22:07:51] local.INFO: Extracted packet for processing {"connection_id":126020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4296"} 
[2026-07-08 22:07:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583249152001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:07: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-07-08 22:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783528618000,"timestamp_ms":1783528618000,"timestamp_seconds":1783528618,"priority":1,"record_length":96,"hex_timestamp":"0000019f4296f810"} 
[2026-07-08 22:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:07: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-07-08 22:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583249152001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583249152001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:07:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:07:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583249152001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":126020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:07:52] local.INFO: GPS data processed {"connection_id":126020,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:07:52] local.INFO: Acknowledgment sent {"connection_id":126020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:07:55] local.INFO: TCP Data received {"connection_id":126022,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:07:55] local.INFO: Processing buffer {"connection_id":126022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:07:55] local.INFO: IMEI packet received {"connection_id":126022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":126022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:07:56] local.INFO: TCP Data received {"connection_id":126022,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:07:56] local.INFO: Processing buffer {"connection_id":126022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:07:56] local.INFO: IMEI packet received {"connection_id":126022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":126022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:08:00] local.INFO: TCP Data received {"connection_id":126022,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:08:00] local.INFO: Processing buffer {"connection_id":126022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:08:00] local.INFO: IMEI packet received {"connection_id":126022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":126022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:08:01] local.INFO: TCP Data received {"connection_id":126022,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42965018012d7563c00603e1b0000b015d2b..."} 
[2026-07-08 22:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42965018012d7563c00603e1b0000b015d2b..."} 
[2026-07-08 22:08:01] local.INFO: Processing buffer {"connection_id":126022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42965018012d7563c00603e1b0000b015d2b..."} 
[2026-07-08 22:08:01] local.INFO: Packet analysis {"connection_id":126022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4296"} 
[2026-07-08 22:08:01] local.INFO: Extracted packet for processing {"connection_id":126022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4296"} 
[2026-07-08 22:08:01] local.INFO: GPS Element Parsed {"raw_longitude":762667968,"raw_latitude":100917680,"longitude_deg":76.2667968,"latitude_deg":10.091768,"altitude":11,"angle":349,"satellites":43,"speed":56,"hex_longitude":"2d7563c0","hex_latitude":"0603e1b0","is_valid_coordinates":true} 
[2026-07-08 22:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583313408001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343331555269148672,"note":"Value kept but may cause issues"} 
[2026-07-08 22:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8461137825754880000,"note":"Value kept but may cause issues"} 
[2026-07-08 22:08:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783528575000,"timestamp_ms":1783528575000,"timestamp_seconds":1783528575,"priority":1,"record_length":96,"hex_timestamp":"0000019f42965018"} 
[2026-07-08 22:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 22:08:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:08:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583313408001,"66":27267,"196":206,"79":47616,"24":56,"16":343331555269148672,"45":8461137825754880000},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-07-08 22:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583313408001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:08:01] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-08 22:08:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-08 22:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343331555269148672,"km_value":343331555269148.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8461137825754880000,"description":"Unknown IO ID 45"} 
[2026-07-08 22:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583313408001,"power":27267,"unknown_196":206,"unknown_79":47616,"ignition":56,"odometer":null,"unknown_45":8461137825754880000}} 
[2026-07-08 22:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":126022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:08:01] local.INFO: GPS data processed {"connection_id":126022,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:08:01] local.INFO: Acknowledgment sent {"connection_id":126022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:08:04] local.INFO: TCP Data received {"connection_id":126771,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:08:04] local.INFO: Processing buffer {"connection_id":126771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:08:04] local.INFO: IMEI packet received {"connection_id":126771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":126771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:08:09] local.INFO: TCP Data received {"connection_id":126771,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:08:09] local.INFO: Processing buffer {"connection_id":126771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:08:09] local.INFO: IMEI packet received {"connection_id":126771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":126771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:08:10] local.INFO: TCP Data received {"connection_id":126771,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4296f810012d196500071ff078003e014224..."} 
[2026-07-08 22:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4296f810012d196500071ff078003e014224..."} 
[2026-07-08 22:08:10] local.INFO: Processing buffer {"connection_id":126771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4296f810012d196500071ff078003e014224..."} 
[2026-07-08 22:08:10] local.INFO: Packet analysis {"connection_id":126771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4296"} 
[2026-07-08 22:08:10] local.INFO: Extracted packet for processing {"connection_id":126771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4296"} 
[2026-07-08 22:08:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583249152001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:08: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-07-08 22:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783528618000,"timestamp_ms":1783528618000,"timestamp_seconds":1783528618,"priority":1,"record_length":96,"hex_timestamp":"0000019f4296f810"} 
[2026-07-08 22:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583249152001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583249152001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:08:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:08:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583249152001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":126771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:08:10] local.INFO: GPS data processed {"connection_id":126771,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:08:10] local.INFO: Acknowledgment sent {"connection_id":126771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:08:31] local.INFO: TCP Data received {"connection_id":126022,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42966b70012d755c0006040968000b015c2e..."} 
[2026-07-08 22:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42966b70012d755c0006040968000b015c2e..."} 
[2026-07-08 22:08:31] local.INFO: Processing buffer {"connection_id":126022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42966b70012d755c0006040968000b015c2e..."} 
[2026-07-08 22:08:31] local.INFO: Packet analysis {"connection_id":126022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4296"} 
[2026-07-08 22:08:31] local.INFO: Extracted packet for processing {"connection_id":126022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4296"} 
[2026-07-08 22:08:31] local.INFO: GPS Element Parsed {"raw_longitude":762665984,"raw_latitude":100927848,"longitude_deg":76.2665984,"latitude_deg":10.0927848,"altitude":11,"angle":348,"satellites":46,"speed":61,"hex_longitude":"2d755c00","hex_latitude":"06040968","is_valid_coordinates":true} 
[2026-07-08 22:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583315200001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343332057780322304,"note":"Value kept but may cause issues"} 
[2026-07-08 22:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8458815657199382528,"note":"Value kept but may cause issues"} 
[2026-07-08 22:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783528582000,"timestamp_ms":1783528582000,"timestamp_seconds":1783528582,"priority":1,"record_length":96,"hex_timestamp":"0000019f42966b70"} 
[2026-07-08 22:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 22:08: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-07-08 22:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":126022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":126022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":126022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583315200001,"66":27365,"196":206,"79":47616,"24":61,"16":343332057780322304,"45":8458815657199382528},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-07-08 22:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583315200001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:08:31] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-08 22:08:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-08 22:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343332057780322304,"km_value":343332057780322.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8458815657199382528,"description":"Unknown IO ID 45"} 
[2026-07-08 22:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583315200001,"power":27365,"unknown_196":206,"unknown_79":47616,"ignition":61,"odometer":null,"unknown_45":8458815657199382528}} 
[2026-07-08 22:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":126022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:08:31] local.INFO: GPS data processed {"connection_id":126022,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:08:31] local.INFO: Acknowledgment sent {"connection_id":126022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:08:41] local.INFO: TCP Data received {"connection_id":126771,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4296f810012d196500071ff078003e014224..."} 
[2026-07-08 22:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4296f810012d196500071ff078003e014224..."} 
[2026-07-08 22:08:41] local.INFO: Processing buffer {"connection_id":126771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4296f810012d196500071ff078003e014224..."} 
[2026-07-08 22:08:41] local.INFO: Packet analysis {"connection_id":126771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4296"} 
[2026-07-08 22:08:41] local.INFO: Extracted packet for processing {"connection_id":126771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4296"} 
[2026-07-08 22:08:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583249152001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22: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-07-08 22:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783528618000,"timestamp_ms":1783528618000,"timestamp_seconds":1783528618,"priority":1,"record_length":96,"hex_timestamp":"0000019f4296f810"} 
[2026-07-08 22:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:08: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-07-08 22: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":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:08: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-07-08 22:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":126771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":126771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":126771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:08: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-07-08 22:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583249152001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583249152001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:08:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:08:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583249152001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":126771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:08:41] local.INFO: GPS data processed {"connection_id":126771,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:08:41] local.INFO: Acknowledgment sent {"connection_id":126771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:08:54] local.INFO: TCP Data received {"connection_id":126024,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:08:54] local.INFO: Processing buffer {"connection_id":126024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:08:54] local.INFO: IMEI packet received {"connection_id":126024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":126024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:08:59] local.INFO: TCP Data received {"connection_id":126772,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:08:59] local.INFO: Processing buffer {"connection_id":126772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:08:59] local.INFO: IMEI packet received {"connection_id":126772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":126772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:09:04] local.INFO: TCP Data received {"connection_id":126024,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:09:04] local.INFO: Processing buffer {"connection_id":126024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:09:04] local.INFO: IMEI packet received {"connection_id":126024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":126024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:09:04] local.INFO: TCP Data received {"connection_id":126772,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:09:04] local.INFO: Processing buffer {"connection_id":126772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:09:04] local.INFO: IMEI packet received {"connection_id":126772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":126772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:09:05] local.INFO: TCP Data received {"connection_id":126772,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4296f810012d196500071ff078003e014224..."} 
[2026-07-08 22:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4296f810012d196500071ff078003e014224..."} 
[2026-07-08 22:09:05] local.INFO: Processing buffer {"connection_id":126772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4296f810012d196500071ff078003e014224..."} 
[2026-07-08 22:09:05] local.INFO: Packet analysis {"connection_id":126772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4296"} 
[2026-07-08 22:09:05] local.INFO: Extracted packet for processing {"connection_id":126772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4296"} 
[2026-07-08 22:09:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583249152001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783528618000,"timestamp_ms":1783528618000,"timestamp_seconds":1783528618,"priority":1,"record_length":96,"hex_timestamp":"0000019f4296f810"} 
[2026-07-08 22:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583249152001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583249152001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:09:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:09:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583249152001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:09:05] local.INFO: TCP Data received {"connection_id":126024,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f429682e0012d75530006042c50000a01562c..."} 
[2026-07-08 22:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f429682e0012d75530006042c50000a01562c..."} 
[2026-07-08 22:09:05] local.INFO: Processing buffer {"connection_id":126024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f429682e0012d75530006042c50000a01562c..."} 
[2026-07-08 22:09:05] local.INFO: Packet analysis {"connection_id":126024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4296"} 
[2026-07-08 22:09:05] local.INFO: Extracted packet for processing {"connection_id":126024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4296"} 
[2026-07-08 22:09:05] local.INFO: GPS Element Parsed {"raw_longitude":762663680,"raw_latitude":100936784,"longitude_deg":76.266368,"latitude_deg":10.0936784,"altitude":10,"angle":342,"satellites":44,"speed":60,"hex_longitude":"2d755300","hex_latitude":"06042c50","is_valid_coordinates":true} 
[2026-07-08 22:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583316992001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343332504456921088,"note":"Value kept but may cause issues"} 
[2026-07-08 22:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8456634226132477952,"note":"Value kept but may cause issues"} 
[2026-07-08 22:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783528588000,"timestamp_ms":1783528588000,"timestamp_seconds":1783528588,"priority":1,"record_length":96,"hex_timestamp":"0000019f429682e0"} 
[2026-07-08 22:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 22:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583316992001,"66":27300,"196":206,"79":47616,"24":60,"16":343332504456921088,"45":8456634226132477952},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-07-08 22:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583316992001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:09:05] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-08 22:09:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-08 22:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343332504456921088,"km_value":343332504456921.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8456634226132477952,"description":"Unknown IO ID 45"} 
[2026-07-08 22:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583316992001,"power":27300,"unknown_196":206,"unknown_79":47616,"ignition":60,"odometer":null,"unknown_45":8456634226132477952}} 
[2026-07-08 22:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":126024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:09:05] local.INFO: GPS data processed {"connection_id":126024,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:09:05] local.INFO: Acknowledgment sent {"connection_id":126024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":126772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:09:05] local.INFO: GPS data processed {"connection_id":126772,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:09:05] local.INFO: Acknowledgment sent {"connection_id":126772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:09:36] local.INFO: TCP Data received {"connection_id":126772,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4296f810012d196500071ff078003e014224..."} 
[2026-07-08 22:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4296f810012d196500071ff078003e014224..."} 
[2026-07-08 22:09:36] local.INFO: Processing buffer {"connection_id":126772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4296f810012d196500071ff078003e014224..."} 
[2026-07-08 22:09:36] local.INFO: Packet analysis {"connection_id":126772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4296"} 
[2026-07-08 22:09:36] local.INFO: Extracted packet for processing {"connection_id":126772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4296"} 
[2026-07-08 22:09:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583249152001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783528618000,"timestamp_ms":1783528618000,"timestamp_seconds":1783528618,"priority":1,"record_length":96,"hex_timestamp":"0000019f4296f810"} 
[2026-07-08 22:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583249152001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583249152001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:09:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:09:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583249152001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:09:36] local.INFO: TCP Data received {"connection_id":126024,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42988a68012d74e4800605c6d00007015329..."} 
[2026-07-08 22:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42988a68012d74e4800605c6d00007015329..."} 
[2026-07-08 22:09:36] local.INFO: Processing buffer {"connection_id":126024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42988a68012d74e4800605c6d00007015329..."} 
[2026-07-08 22:09:36] local.INFO: Packet analysis {"connection_id":126024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4298"} 
[2026-07-08 22:09:36] local.INFO: Extracted packet for processing {"connection_id":126024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4298"} 
[2026-07-08 22:09:36] local.INFO: GPS Element Parsed {"raw_longitude":762635392,"raw_latitude":101041872,"longitude_deg":76.2635392,"latitude_deg":10.1041872,"altitude":7,"angle":339,"satellites":41,"speed":37,"hex_longitude":"2d74e480","hex_latitude":"0605c6d0","is_valid_coordinates":true} 
[2026-07-08 22:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583352064001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343337838806302720,"note":"Value kept but may cause issues"} 
[2026-07-08 22:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8423631285141880832,"note":"Value kept but may cause issues"} 
[2026-07-08 22:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783528721000,"timestamp_ms":1783528721000,"timestamp_seconds":1783528721,"priority":1,"record_length":96,"hex_timestamp":"0000019f42988a68"} 
[2026-07-08 22:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-08 22:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583352064001,"66":27234,"198":206,"79":47616,"24":37,"16":343337838806302720,"45":8423631285141880832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,79,24,16,45]} 
[2026-07-08 22:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583352064001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:09:36] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-08 22:09:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-08 22:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343337838806302720,"km_value":343337838806302.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8423631285141880832,"description":"Unknown IO ID 45"} 
[2026-07-08 22:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583352064001,"power":27234,"unknown_198":206,"unknown_79":47616,"ignition":37,"odometer":null,"unknown_45":8423631285141880832}} 
[2026-07-08 22:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":126024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:09:36] local.INFO: GPS data processed {"connection_id":126024,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:09:36] local.INFO: Acknowledgment sent {"connection_id":126024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":126772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:09:36] local.INFO: GPS data processed {"connection_id":126772,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:09:36] local.INFO: Acknowledgment sent {"connection_id":126772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:09:54] local.INFO: TCP Data received {"connection_id":125885,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:09:54] local.INFO: Processing buffer {"connection_id":125885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:09:54] local.INFO: IMEI packet received {"connection_id":125885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":125885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:09:59] local.INFO: TCP Data received {"connection_id":125886,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:09:59] local.INFO: Processing buffer {"connection_id":125886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:09:59] local.INFO: IMEI packet received {"connection_id":125886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":125886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:10:00] local.INFO: TCP Data received {"connection_id":125885,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:10:00] local.INFO: Processing buffer {"connection_id":125885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:10:00] local.INFO: IMEI packet received {"connection_id":125885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":125885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:10:01] local.INFO: TCP Data received {"connection_id":125885,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42989a08012d74dd800605d4b00007014728..."} 
[2026-07-08 22:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42989a08012d74dd800605d4b00007014728..."} 
[2026-07-08 22:10:01] local.INFO: Processing buffer {"connection_id":125885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42989a08012d74dd800605d4b00007014728..."} 
[2026-07-08 22:10:01] local.INFO: Packet analysis {"connection_id":125885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4298"} 
[2026-07-08 22:10:01] local.INFO: Extracted packet for processing {"connection_id":125885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4298"} 
[2026-07-08 22:10:01] local.INFO: GPS Element Parsed {"raw_longitude":762633600,"raw_latitude":101045424,"longitude_deg":76.26336,"latitude_deg":10.1045424,"altitude":7,"angle":327,"satellites":40,"speed":41,"hex_longitude":"2d74dd80","hex_latitude":"0605d4b0","is_valid_coordinates":true} 
[2026-07-08 22:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583352576001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343338032079831040,"note":"Value kept but may cause issues"} 
[2026-07-08 22:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8422997966444744704,"note":"Value kept but may cause issues"} 
[2026-07-08 22:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783528725000,"timestamp_ms":1783528725000,"timestamp_seconds":1783528725,"priority":1,"record_length":96,"hex_timestamp":"0000019f42989a08"} 
[2026-07-08 22:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:10:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-08 22:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:10:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583352576001,"66":27321,"198":206,"79":47616,"24":41,"16":343338032079831040,"45":8422997966444744704},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,79,24,16,45]} 
[2026-07-08 22:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583352576001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:10:01] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-08 22:10:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-08 22:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343338032079831040,"km_value":343338032079831.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8422997966444744704,"description":"Unknown IO ID 45"} 
[2026-07-08 22:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583352576001,"power":27321,"unknown_198":206,"unknown_79":47616,"ignition":41,"odometer":null,"unknown_45":8422997966444744704}} 
[2026-07-08 22:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":125885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:10:01] local.INFO: GPS data processed {"connection_id":125885,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:10:01] local.INFO: Acknowledgment sent {"connection_id":125885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:10:04] local.INFO: TCP Data received {"connection_id":125886,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:10:04] local.INFO: Processing buffer {"connection_id":125886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:10:04] local.INFO: IMEI packet received {"connection_id":125886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":125886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:10:05] local.INFO: TCP Data received {"connection_id":125886,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4296f810012d196500071ff078003e014224..."} 
[2026-07-08 22:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4296f810012d196500071ff078003e014224..."} 
[2026-07-08 22:10:05] local.INFO: Processing buffer {"connection_id":125886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4296f810012d196500071ff078003e014224..."} 
[2026-07-08 22:10:05] local.INFO: Packet analysis {"connection_id":125886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4296"} 
[2026-07-08 22:10:05] local.INFO: Extracted packet for processing {"connection_id":125886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4296"} 
[2026-07-08 22:10:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583249152001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783528618000,"timestamp_ms":1783528618000,"timestamp_seconds":1783528618,"priority":1,"record_length":96,"hex_timestamp":"0000019f4296f810"} 
[2026-07-08 22:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583249152001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583249152001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:10:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:10:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583249152001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":125886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:10:05] local.INFO: GPS data processed {"connection_id":125886,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:10:05] local.INFO: Acknowledgment sent {"connection_id":125886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:10:36] local.INFO: TCP Data received {"connection_id":125886,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4296f810012d196500071ff078003e014224..."} 
[2026-07-08 22:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4296f810012d196500071ff078003e014224..."} 
[2026-07-08 22:10:36] local.INFO: Processing buffer {"connection_id":125886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4296f810012d196500071ff078003e014224..."} 
[2026-07-08 22:10:36] local.INFO: Packet analysis {"connection_id":125886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4296"} 
[2026-07-08 22:10:36] local.INFO: Extracted packet for processing {"connection_id":125886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4296"} 
[2026-07-08 22:10:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583249152001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783528618000,"timestamp_ms":1783528618000,"timestamp_seconds":1783528618,"priority":1,"record_length":96,"hex_timestamp":"0000019f4296f810"} 
[2026-07-08 22:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583249152001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583249152001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:10:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:10:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583249152001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":125886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:10:36] local.INFO: GPS data processed {"connection_id":125886,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:10:36] local.INFO: Acknowledgment sent {"connection_id":125886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:10:36] local.INFO: TCP Data received {"connection_id":125885,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4298bd30012d74c6c00605f3700008014429..."} 
[2026-07-08 22:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4298bd30012d74c6c00605f3700008014429..."} 
[2026-07-08 22:10:36] local.INFO: Processing buffer {"connection_id":125885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4298bd30012d74c6c00605f3700008014429..."} 
[2026-07-08 22:10:36] local.INFO: Packet analysis {"connection_id":125885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4298"} 
[2026-07-08 22:10:36] local.INFO: Extracted packet for processing {"connection_id":125885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4298"} 
[2026-07-08 22:10:36] local.INFO: GPS Element Parsed {"raw_longitude":762627776,"raw_latitude":101053296,"longitude_deg":76.2627776,"latitude_deg":10.1053296,"altitude":8,"angle":324,"satellites":41,"speed":43,"hex_longitude":"2d74c6c0","hex_latitude":"0605f370","is_valid_coordinates":true} 
[2026-07-08 22:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583353600001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343338504526233600,"note":"Value kept but may cause issues"} 
[2026-07-08 22:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8421027641608679424,"note":"Value kept but may cause issues"} 
[2026-07-08 22:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783528734000,"timestamp_ms":1783528734000,"timestamp_seconds":1783528734,"priority":1,"record_length":96,"hex_timestamp":"0000019f4298bd30"} 
[2026-07-08 22:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 22:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583353600001,"66":27343,"198":206,"79":47616,"24":43,"16":343338504526233600,"45":8421027641608679424},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,79,24,16,45]} 
[2026-07-08 22:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583353600001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:10:36] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-08 22:10:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-08 22:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343338504526233600,"km_value":343338504526233.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8421027641608679424,"description":"Unknown IO ID 45"} 
[2026-07-08 22:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583353600001,"power":27343,"unknown_198":206,"unknown_79":47616,"ignition":43,"odometer":null,"unknown_45":8421027641608679424}} 
[2026-07-08 22:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":125885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:10:36] local.INFO: GPS data processed {"connection_id":125885,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:10:36] local.INFO: Acknowledgment sent {"connection_id":125885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:10:59] local.INFO: TCP Data received {"connection_id":126026,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:10:59] local.INFO: Processing buffer {"connection_id":126026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:10:59] local.INFO: IMEI packet received {"connection_id":126026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":126026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:11:01] local.INFO: TCP Data received {"connection_id":128017,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:11:01] local.INFO: Processing buffer {"connection_id":128017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:11:01] local.INFO: IMEI packet received {"connection_id":128017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":128017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:11:04] local.INFO: TCP Data received {"connection_id":126026,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:11:04] local.INFO: Processing buffer {"connection_id":126026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:11:04] local.INFO: IMEI packet received {"connection_id":126026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":126026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:11:05] local.INFO: TCP Data received {"connection_id":126026,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4296f810012d196500071ff078003e014224..."} 
[2026-07-08 22:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4296f810012d196500071ff078003e014224..."} 
[2026-07-08 22:11:05] local.INFO: Processing buffer {"connection_id":126026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4296f810012d196500071ff078003e014224..."} 
[2026-07-08 22:11:05] local.INFO: Packet analysis {"connection_id":126026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4296"} 
[2026-07-08 22:11:05] local.INFO: Extracted packet for processing {"connection_id":126026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4296"} 
[2026-07-08 22:11:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583249152001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783528618000,"timestamp_ms":1783528618000,"timestamp_seconds":1783528618,"priority":1,"record_length":96,"hex_timestamp":"0000019f4296f810"} 
[2026-07-08 22:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583249152001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583249152001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:11:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:11:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583249152001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":126026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:11:05] local.INFO: GPS data processed {"connection_id":126026,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:11:05] local.INFO: Acknowledgment sent {"connection_id":126026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:11:05] local.INFO: TCP Data received {"connection_id":128017,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:11:05] local.INFO: Processing buffer {"connection_id":128017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:11:05] local.INFO: IMEI packet received {"connection_id":128017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":128017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:11:06] local.INFO: TCP Data received {"connection_id":128017,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4299b730012d74674006071428000901582d..."} 
[2026-07-08 22:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4299b730012d74674006071428000901582d..."} 
[2026-07-08 22:11:06] local.INFO: Processing buffer {"connection_id":128017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4299b730012d74674006071428000901582d..."} 
[2026-07-08 22:11:06] local.INFO: Packet analysis {"connection_id":128017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4299"} 
[2026-07-08 22:11:06] local.INFO: Extracted packet for processing {"connection_id":128017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4299"} 
[2026-07-08 22:11:06] local.INFO: GPS Element Parsed {"raw_longitude":762603328,"raw_latitude":101127208,"longitude_deg":76.2603328,"latitude_deg":10.1127208,"altitude":9,"angle":344,"satellites":45,"speed":60,"hex_longitude":"2d746740","hex_latitude":"06071428","is_valid_coordinates":true} 
[2026-07-08 22:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583370752001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343342314162225152,"note":"Value kept but may cause issues"} 
[2026-07-08 22:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8390206131677511680,"note":"Value kept but may cause issues"} 
[2026-07-08 22:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783528798000,"timestamp_ms":1783528798000,"timestamp_seconds":1783528798,"priority":1,"record_length":96,"hex_timestamp":"0000019f4299b730"} 
[2026-07-08 22:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-08 22:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583370752001,"66":26832,"199":206,"79":47616,"24":60,"16":343342314162225152,"45":8390206131677511680},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,79,24,16,45]} 
[2026-07-08 22:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583370752001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:11:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-08 22:11:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-08 22:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343342314162225152,"km_value":343342314162225.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8390206131677511680,"description":"Unknown IO ID 45"} 
[2026-07-08 22:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583370752001,"power":26832,"trip_odometer":0.206,"unknown_79":47616,"ignition":60,"odometer":null,"unknown_45":8390206131677511680}} 
[2026-07-08 22:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":128017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:11:06] local.INFO: GPS data processed {"connection_id":128017,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:11:06] local.INFO: Acknowledgment sent {"connection_id":128017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:11:07] local.INFO: TCP Data received {"connection_id":128017,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4299cea0012d745d0006073588000701552e..."} 
[2026-07-08 22:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4299cea0012d745d0006073588000701552e..."} 
[2026-07-08 22:11:07] local.INFO: Processing buffer {"connection_id":128017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4299cea0012d745d0006073588000701552e..."} 
[2026-07-08 22:11:07] local.INFO: Packet analysis {"connection_id":128017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4299"} 
[2026-07-08 22:11:07] local.INFO: Extracted packet for processing {"connection_id":128017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4299"} 
[2026-07-08 22:11:07] local.INFO: GPS Element Parsed {"raw_longitude":762600704,"raw_latitude":101135752,"longitude_deg":76.2600704,"latitude_deg":10.1135752,"altitude":7,"angle":341,"satellites":46,"speed":52,"hex_longitude":"2d745d00","hex_latitude":"06073588","is_valid_coordinates":true} 
[2026-07-08 22:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583372288001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343342747953922048,"note":"Value kept but may cause issues"} 
[2026-07-08 22:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8387743225633581056,"note":"Value kept but may cause issues"} 
[2026-07-08 22:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783528804000,"timestamp_ms":1783528804000,"timestamp_seconds":1783528804,"priority":1,"record_length":96,"hex_timestamp":"0000019f4299cea0"} 
[2026-07-08 22:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-07-08 22:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2590,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":128017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":128017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":128017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583372288001,"66":27365,"199":206,"79":47616,"24":52,"16":343342747953922048,"45":8387743225633581056},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,79,24,16,45]} 
[2026-07-08 22:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583372288001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:11:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-08 22:11:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-08 22:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343342747953922048,"km_value":343342747953922.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8387743225633581056,"description":"Unknown IO ID 45"} 
[2026-07-08 22:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583372288001,"power":27365,"trip_odometer":0.206,"unknown_79":47616,"ignition":52,"odometer":null,"unknown_45":8387743225633581056}} 
[2026-07-08 22:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":128017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:11:07] local.INFO: GPS data processed {"connection_id":128017,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:11:07] local.INFO: Acknowledgment sent {"connection_id":128017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:11:15] local.INFO: TCP Data received {"connection_id":126025,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126025,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:11:15] local.INFO: Processing buffer {"connection_id":126025,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:11:15] local.INFO: IMEI packet received {"connection_id":126025,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 22:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":126025,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:11:36] local.INFO: TCP Data received {"connection_id":126026,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4296f810012d196500071ff078003e014224..."} 
[2026-07-08 22:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4296f810012d196500071ff078003e014224..."} 
[2026-07-08 22:11:36] local.INFO: Processing buffer {"connection_id":126026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4296f810012d196500071ff078003e014224..."} 
[2026-07-08 22:11:36] local.INFO: Packet analysis {"connection_id":126026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4296"} 
[2026-07-08 22:11:36] local.INFO: Extracted packet for processing {"connection_id":126026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4296"} 
[2026-07-08 22:11:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583249152001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783528618000,"timestamp_ms":1783528618000,"timestamp_seconds":1783528618,"priority":1,"record_length":96,"hex_timestamp":"0000019f4296f810"} 
[2026-07-08 22:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583249152001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583249152001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:11:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:11:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583249152001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":126026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:11:36] local.INFO: GPS data processed {"connection_id":126026,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:11:36] local.INFO: Acknowledgment sent {"connection_id":126026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:11:38] local.INFO: TCP Data received {"connection_id":128017,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f4299ede0012d744f80060757b8000701512d..."} 
[2026-07-08 22:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4299ede0012d744f80060757b8000701512d..."} 
[2026-07-08 22:11:38] local.INFO: Processing buffer {"connection_id":128017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4299ede0012d744f80060757b8000701512d..."} 
[2026-07-08 22:11:38] local.INFO: Packet analysis {"connection_id":128017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4299"} 
[2026-07-08 22:11:38] local.INFO: Extracted packet for processing {"connection_id":128017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4299"} 
[2026-07-08 22:11:38] local.INFO: GPS Element Parsed {"raw_longitude":762597248,"raw_latitude":101144504,"longitude_deg":76.2597248,"latitude_deg":10.1144504,"altitude":7,"angle":337,"satellites":45,"speed":26,"hex_longitude":"2d744f80","hex_latitude":"060757b8","is_valid_coordinates":true} 
[2026-07-08 22:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583373824001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343343203220455424,"note":"Value kept but may cause issues"} 
[2026-07-08 22:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8384858107124484096,"note":"Value kept but may cause issues"} 
[2026-07-08 22:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783528812000,"timestamp_ms":1783528812000,"timestamp_seconds":1783528812,"priority":1,"record_length":96,"hex_timestamp":"0000019f4299ede0"} 
[2026-07-08 22:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 22:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":128017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":128017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":128017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583373824001,"66":27463,"199":206,"79":47616,"24":26,"16":343343203220455424,"45":8384858107124484096},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,79,24,16,45]} 
[2026-07-08 22:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583373824001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:11:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-08 22:11:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-08 22:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343343203220455424,"km_value":343343203220455.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8384858107124484096,"description":"Unknown IO ID 45"} 
[2026-07-08 22:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583373824001,"power":27463,"trip_odometer":0.206,"unknown_79":47616,"ignition":26,"odometer":null,"unknown_45":8384858107124484096}} 
[2026-07-08 22:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":128017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:11:38] local.INFO: GPS data processed {"connection_id":128017,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:11:38] local.INFO: Acknowledgment sent {"connection_id":128017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:11:55] local.INFO: TCP Data received {"connection_id":125887,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:11:55] local.INFO: Processing buffer {"connection_id":125887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:11:55] local.INFO: IMEI packet received {"connection_id":125887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":125887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:11:55] local.INFO: TCP Data received {"connection_id":128018,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128018,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:11:55] local.INFO: Processing buffer {"connection_id":128018,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:11:55] local.INFO: IMEI packet received {"connection_id":128018,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 22:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":128018,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:11:59] local.INFO: TCP Data received {"connection_id":126027,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:11:59] local.INFO: Processing buffer {"connection_id":126027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:11:59] local.INFO: IMEI packet received {"connection_id":126027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":126027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:11:59] local.INFO: TCP Data received {"connection_id":125887,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:11:59] local.INFO: Processing buffer {"connection_id":125887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:11:59] local.INFO: IMEI packet received {"connection_id":125887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":125887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:12:00] local.INFO: TCP Data received {"connection_id":125887,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f429ac0d0012d73d7000607c9b80006014629..."} 
[2026-07-08 22:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f429ac0d0012d73d7000607c9b80006014629..."} 
[2026-07-08 22:12:00] local.INFO: Processing buffer {"connection_id":125887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f429ac0d0012d73d7000607c9b80006014629..."} 
[2026-07-08 22:12:00] local.INFO: Packet analysis {"connection_id":125887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f429a"} 
[2026-07-08 22:12:00] local.INFO: Extracted packet for processing {"connection_id":125887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f429a"} 
[2026-07-08 22:12:00] local.INFO: GPS Element Parsed {"raw_longitude":762566400,"raw_latitude":101173688,"longitude_deg":76.25664,"latitude_deg":10.1173688,"altitude":6,"angle":326,"satellites":41,"speed":25,"hex_longitude":"2d73d700","hex_latitude":"0607c9b8","is_valid_coordinates":true} 
[2026-07-08 22: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-07-08 22:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583389184001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343345307754430464,"note":"Value kept but may cause issues"} 
[2026-07-08 22:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8348055253929021440,"note":"Value kept but may cause issues"} 
[2026-07-08 22:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783528866000,"timestamp_ms":1783528866000,"timestamp_seconds":1783528866,"priority":1,"record_length":96,"hex_timestamp":"0000019f429ac0d0"} 
[2026-07-08 22:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-08 22:12:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583389184001,"66":27343,"129":206,"79":47616,"24":25,"16":343345307754430464,"45":8348055253929021440},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,79,24,16,45]} 
[2026-07-08 22:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583389184001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:12:00] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-08 22:12:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-08 22:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343345307754430464,"km_value":343345307754430.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8348055253929021440,"description":"Unknown IO ID 45"} 
[2026-07-08 22:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583389184001,"power":27343,"unknown_129":206,"unknown_79":47616,"ignition":25,"odometer":null,"unknown_45":8348055253929021440}} 
[2026-07-08 22:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":125887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:12:00] local.INFO: GPS data processed {"connection_id":125887,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:12:00] local.INFO: Acknowledgment sent {"connection_id":125887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:12:04] local.INFO: TCP Data received {"connection_id":126027,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:12:04] local.INFO: Processing buffer {"connection_id":126027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:12:04] local.INFO: IMEI packet received {"connection_id":126027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":126027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:12:05] local.INFO: TCP Data received {"connection_id":126027,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4296f810012d196500071ff078003e014224..."} 
[2026-07-08 22:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4296f810012d196500071ff078003e014224..."} 
[2026-07-08 22:12:05] local.INFO: Processing buffer {"connection_id":126027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4296f810012d196500071ff078003e014224..."} 
[2026-07-08 22:12:05] local.INFO: Packet analysis {"connection_id":126027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4296"} 
[2026-07-08 22:12:05] local.INFO: Extracted packet for processing {"connection_id":126027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4296"} 
[2026-07-08 22:12:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583249152001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783528618000,"timestamp_ms":1783528618000,"timestamp_seconds":1783528618,"priority":1,"record_length":96,"hex_timestamp":"0000019f4296f810"} 
[2026-07-08 22:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583249152001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583249152001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:12:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:12:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583249152001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":126027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:12:05] local.INFO: GPS data processed {"connection_id":126027,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:12:05] local.INFO: Acknowledgment sent {"connection_id":126027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:12:31] local.INFO: TCP Data received {"connection_id":125887,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f429ad458012d73d0400607d6e80007015228..."} 
[2026-07-08 22:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f429ad458012d73d0400607d6e80007015228..."} 
[2026-07-08 22:12:31] local.INFO: Processing buffer {"connection_id":125887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f429ad458012d73d0400607d6e80007015228..."} 
[2026-07-08 22:12:31] local.INFO: Packet analysis {"connection_id":125887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f429a"} 
[2026-07-08 22:12:31] local.INFO: Extracted packet for processing {"connection_id":125887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f429a"} 
[2026-07-08 22:12:31] local.INFO: GPS Element Parsed {"raw_longitude":762564672,"raw_latitude":101177064,"longitude_deg":76.2564672,"latitude_deg":10.1177064,"altitude":7,"angle":338,"satellites":40,"speed":31,"hex_longitude":"2d73d040","hex_latitude":"0607d6e8","is_valid_coordinates":true} 
[2026-07-08 22:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583389696001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343345488143056896,"note":"Value kept but may cause issues"} 
[2026-07-08 22:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8347140460254967808,"note":"Value kept but may cause issues"} 
[2026-07-08 22:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783528871000,"timestamp_ms":1783528871000,"timestamp_seconds":1783528871,"priority":1,"record_length":96,"hex_timestamp":"0000019f429ad458"} 
[2026-07-08 22:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 22:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":125887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":125887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":125887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583389696001,"66":27365,"129":206,"79":47616,"24":31,"16":343345488143056896,"45":8347140460254967808},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,79,24,16,45]} 
[2026-07-08 22:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583389696001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:12:31] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-08 22:12:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-08 22:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343345488143056896,"km_value":343345488143056.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8347140460254967808,"description":"Unknown IO ID 45"} 
[2026-07-08 22:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583389696001,"power":27365,"unknown_129":206,"unknown_79":47616,"ignition":31,"odometer":null,"unknown_45":8347140460254967808}} 
[2026-07-08 22:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":125887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:12:31] local.INFO: GPS data processed {"connection_id":125887,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:12:31] local.INFO: Acknowledgment sent {"connection_id":125887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:12:36] local.INFO: TCP Data received {"connection_id":126027,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f4296f810012d196500071ff078003e014224..."} 
[2026-07-08 22:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f4296f810012d196500071ff078003e014224..."} 
[2026-07-08 22:12:36] local.INFO: Processing buffer {"connection_id":126027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f4296f810012d196500071ff078003e014224..."} 
[2026-07-08 22:12:36] local.INFO: Packet analysis {"connection_id":126027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f4296"} 
[2026-07-08 22:12:36] local.INFO: Extracted packet for processing {"connection_id":126027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f4296"} 
[2026-07-08 22:12:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583249152001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783528618000,"timestamp_ms":1783528618000,"timestamp_seconds":1783528618,"priority":1,"record_length":96,"hex_timestamp":"0000019f4296f810"} 
[2026-07-08 22:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583249152001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583249152001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:12:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:12:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583249152001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":126027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:12:36] local.INFO: GPS data processed {"connection_id":126027,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:12:36] local.INFO: Acknowledgment sent {"connection_id":126027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:12:54] local.INFO: TCP Data received {"connection_id":126775,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:12:54] local.INFO: Processing buffer {"connection_id":126775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:12:54] local.INFO: IMEI packet received {"connection_id":126775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":126775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:12:59] local.INFO: TCP Data received {"connection_id":128019,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:12:59] local.INFO: Processing buffer {"connection_id":128019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:12:59] local.INFO: IMEI packet received {"connection_id":128019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":128019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:13:00] local.INFO: TCP Data received {"connection_id":126775,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:13:00] local.INFO: Processing buffer {"connection_id":126775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:13:00] local.INFO: IMEI packet received {"connection_id":126775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":126775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:13:01] local.INFO: TCP Data received {"connection_id":126775,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f429afb68012d73c6800607f7f00009015d2a..."} 
[2026-07-08 22:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f429afb68012d73c6800607f7f00009015d2a..."} 
[2026-07-08 22:13:01] local.INFO: Processing buffer {"connection_id":126775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f429afb68012d73c6800607f7f00009015d2a..."} 
[2026-07-08 22:13:01] local.INFO: Packet analysis {"connection_id":126775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f429a"} 
[2026-07-08 22:13:01] local.INFO: Extracted packet for processing {"connection_id":126775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f429a"} 
[2026-07-08 22:13:01] local.INFO: GPS Element Parsed {"raw_longitude":762562176,"raw_latitude":101185520,"longitude_deg":76.2562176,"latitude_deg":10.118552,"altitude":9,"angle":349,"satellites":42,"speed":33,"hex_longitude":"2d73c680","hex_latitude":"0607f7f0","is_valid_coordinates":true} 
[2026-07-08 22:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583390976001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343345917639786496,"note":"Value kept but may cause issues"} 
[2026-07-08 22:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8345240504163035136,"note":"Value kept but may cause issues"} 
[2026-07-08 22:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783528881000,"timestamp_ms":1783528881000,"timestamp_seconds":1783528881,"priority":1,"record_length":96,"hex_timestamp":"0000019f429afb68"} 
[2026-07-08 22:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 22:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:13:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583390976001,"66":27115,"129":206,"79":47616,"24":33,"16":343345917639786496,"45":8345240504163035136},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,79,24,16,45]} 
[2026-07-08 22:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583390976001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:13:01] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-08 22:13:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-08 22:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343345917639786496,"km_value":343345917639786.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8345240504163035136,"description":"Unknown IO ID 45"} 
[2026-07-08 22:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583390976001,"power":27115,"unknown_129":206,"unknown_79":47616,"ignition":33,"odometer":null,"unknown_45":8345240504163035136}} 
[2026-07-08 22:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":126775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:13:01] local.INFO: GPS data processed {"connection_id":126775,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:13:01] local.INFO: Acknowledgment sent {"connection_id":126775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:13:04] local.INFO: TCP Data received {"connection_id":128019,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:13:04] local.INFO: Processing buffer {"connection_id":128019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:13:04] local.INFO: IMEI packet received {"connection_id":128019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":128019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:13:05] local.INFO: TCP Data received {"connection_id":128019,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f429b8fd8012d196500071ff078003e014222..."} 
[2026-07-08 22:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f429b8fd8012d196500071ff078003e014222..."} 
[2026-07-08 22:13:05] local.INFO: Processing buffer {"connection_id":128019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f429b8fd8012d196500071ff078003e014222..."} 
[2026-07-08 22:13:05] local.INFO: Packet analysis {"connection_id":128019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f429b"} 
[2026-07-08 22:13:05] local.INFO: Extracted packet for processing {"connection_id":128019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f429b"} 
[2026-07-08 22:13:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583326208001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783528919000,"timestamp_ms":1783528919000,"timestamp_seconds":1783528919,"priority":1,"record_length":96,"hex_timestamp":"0000019f429b8fd8"} 
[2026-07-08 22:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583326208001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583326208001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:13:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:13:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583326208001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":128019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":453999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:13:05] local.INFO: GPS data processed {"connection_id":128019,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:13:05] local.INFO: Acknowledgment sent {"connection_id":128019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:13:32] local.INFO: TCP Data received {"connection_id":126775,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f429c0120012d7356c00608c078000901152c..."} 
[2026-07-08 22:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f429c0120012d7356c00608c078000901152c..."} 
[2026-07-08 22:13:32] local.INFO: Processing buffer {"connection_id":126775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f429c0120012d7356c00608c078000901152c..."} 
[2026-07-08 22:13:32] local.INFO: Packet analysis {"connection_id":126775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f429c"} 
[2026-07-08 22:13:32] local.INFO: Extracted packet for processing {"connection_id":126775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f429c"} 
[2026-07-08 22:13:32] local.INFO: GPS Element Parsed {"raw_longitude":762533568,"raw_latitude":101236856,"longitude_deg":76.2533568,"latitude_deg":10.1236856,"altitude":9,"angle":277,"satellites":44,"speed":37,"hex_longitude":"2d7356c0","hex_latitude":"0608c078","is_valid_coordinates":true} 
[2026-07-08 22:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583410432001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343348855397416960,"note":"Value kept but may cause issues"} 
[2026-07-08 22:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8312026456926435328,"note":"Value kept but may cause issues"} 
[2026-07-08 22:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783528948000,"timestamp_ms":1783528948000,"timestamp_seconds":1783528948,"priority":1,"record_length":96,"hex_timestamp":"0000019f429c0120"} 
[2026-07-08 22:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 22:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583410432001,"66":27321,"131":206,"79":47616,"24":37,"16":343348855397416960,"45":8312026456926435328},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,79,24,16,45]} 
[2026-07-08 22:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583410432001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:13:32] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-08 22:13:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-08 22:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343348855397416960,"km_value":343348855397416.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8312026456926435328,"description":"Unknown IO ID 45"} 
[2026-07-08 22:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583410432001,"power":27321,"unknown_131":206,"unknown_79":47616,"ignition":37,"odometer":null,"unknown_45":8312026456926435328}} 
[2026-07-08 22:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":126775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:13:32] local.INFO: GPS data processed {"connection_id":126775,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:13:32] local.INFO: Acknowledgment sent {"connection_id":126775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:13:36] local.INFO: TCP Data received {"connection_id":128019,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f429b8fd8012d196500071ff078003e014222..."} 
[2026-07-08 22:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f429b8fd8012d196500071ff078003e014222..."} 
[2026-07-08 22:13:36] local.INFO: Processing buffer {"connection_id":128019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f429b8fd8012d196500071ff078003e014222..."} 
[2026-07-08 22:13:36] local.INFO: Packet analysis {"connection_id":128019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f429b"} 
[2026-07-08 22:13:36] local.INFO: Extracted packet for processing {"connection_id":128019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f429b"} 
[2026-07-08 22:13:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583326208001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783528919000,"timestamp_ms":1783528919000,"timestamp_seconds":1783528919,"priority":1,"record_length":96,"hex_timestamp":"0000019f429b8fd8"} 
[2026-07-08 22:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583326208001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583326208001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:13:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:13:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583326208001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":128019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:13:36] local.INFO: GPS data processed {"connection_id":128019,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:13:36] local.INFO: Acknowledgment sent {"connection_id":128019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:13:54] local.INFO: TCP Data received {"connection_id":128020,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:13:54] local.INFO: Processing buffer {"connection_id":128020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:13:54] local.INFO: IMEI packet received {"connection_id":128020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":128020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:13:55] local.INFO: TCP Data received {"connection_id":128020,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:13:55] local.INFO: Processing buffer {"connection_id":128020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:13:55] local.INFO: IMEI packet received {"connection_id":128020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":128020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:14:00] local.INFO: TCP Data received {"connection_id":128020,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:14:00] local.INFO: Processing buffer {"connection_id":128020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:14:00] local.INFO: IMEI packet received {"connection_id":128020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":128020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:14:00] local.INFO: TCP Data received {"connection_id":128020,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f429c1c78012d733c400608c4e0000601222a..."} 
[2026-07-08 22:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f429c1c78012d733c400608c4e0000601222a..."} 
[2026-07-08 22:14:00] local.INFO: Processing buffer {"connection_id":128020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f429c1c78012d733c400608c4e0000601222a..."} 
[2026-07-08 22:14:00] local.INFO: Packet analysis {"connection_id":128020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f429c"} 
[2026-07-08 22:14:00] local.INFO: Extracted packet for processing {"connection_id":128020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f429c"} 
[2026-07-08 22:14:00] local.INFO: GPS Element Parsed {"raw_longitude":762526784,"raw_latitude":101237984,"longitude_deg":76.2526784,"latitude_deg":10.1237984,"altitude":6,"angle":290,"satellites":42,"speed":37,"hex_longitude":"2d733c40","hex_latitude":"0608c4e0","is_valid_coordinates":true} 
[2026-07-08 22:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583410688001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343349181814931456,"note":"Value kept but may cause issues"} 
[2026-07-08 22:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8311041294507997184,"note":"Value kept but may cause issues"} 
[2026-07-08 22:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783528955000,"timestamp_ms":1783528955000,"timestamp_seconds":1783528955,"priority":1,"record_length":96,"hex_timestamp":"0000019f429c1c78"} 
[2026-07-08 22:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 22:14:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":128020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":128020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":128020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583410688001,"66":27343,"131":206,"79":47616,"24":37,"16":343349181814931456,"45":8311041294507997184},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,79,24,16,45]} 
[2026-07-08 22:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583410688001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:14:00] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-08 22:14:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-08 22:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343349181814931456,"km_value":343349181814931.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8311041294507997184,"description":"Unknown IO ID 45"} 
[2026-07-08 22:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583410688001,"power":27343,"unknown_131":206,"unknown_79":47616,"ignition":37,"odometer":null,"unknown_45":8311041294507997184}} 
[2026-07-08 22:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":128020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:14:00] local.INFO: GPS data processed {"connection_id":128020,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:14:00] local.INFO: Acknowledgment sent {"connection_id":128020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:14:04] local.INFO: TCP Data received {"connection_id":126028,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:14:04] local.INFO: Processing buffer {"connection_id":126028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:14:04] local.INFO: IMEI packet received {"connection_id":126028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":126028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:14:09] local.INFO: TCP Data received {"connection_id":126028,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:14:09] local.INFO: Processing buffer {"connection_id":126028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:14:09] local.INFO: IMEI packet received {"connection_id":126028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":126028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:14:10] local.INFO: TCP Data received {"connection_id":126028,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f429b8fd8012d196500071ff078003e014222..."} 
[2026-07-08 22:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f429b8fd8012d196500071ff078003e014222..."} 
[2026-07-08 22:14:10] local.INFO: Processing buffer {"connection_id":126028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f429b8fd8012d196500071ff078003e014222..."} 
[2026-07-08 22:14:10] local.INFO: Packet analysis {"connection_id":126028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f429b"} 
[2026-07-08 22:14:10] local.INFO: Extracted packet for processing {"connection_id":126028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f429b"} 
[2026-07-08 22:14:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583326208001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:14: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-07-08 22:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783528919000,"timestamp_ms":1783528919000,"timestamp_seconds":1783528919,"priority":1,"record_length":96,"hex_timestamp":"0000019f429b8fd8"} 
[2026-07-08 22:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:14: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-07-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583326208001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583326208001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:14:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:14:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583326208001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":126028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:14:10] local.INFO: GPS data processed {"connection_id":126028,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:14:10] local.INFO: Acknowledgment sent {"connection_id":126028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:14:14] local.INFO: TCP Data received {"connection_id":126028,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f429b8fd8012d196500071ff078003e014222..."} 
[2026-07-08 22:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f429b8fd8012d196500071ff078003e014222..."} 
[2026-07-08 22:14:14] local.INFO: Processing buffer {"connection_id":126028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f429b8fd8012d196500071ff078003e014222..."} 
[2026-07-08 22:14:14] local.INFO: Packet analysis {"connection_id":126028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f429b"} 
[2026-07-08 22:14:14] local.INFO: Extracted packet for processing {"connection_id":126028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f429b"} 
[2026-07-08 22:14:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583326208001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:14:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783528919000,"timestamp_ms":1783528919000,"timestamp_seconds":1783528919,"priority":1,"record_length":96,"hex_timestamp":"0000019f429b8fd8"} 
[2026-07-08 22:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:14: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-07-08 22:14: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":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:14:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:14:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":126028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":126028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":126028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583326208001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583326208001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:14:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:14:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583326208001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":126028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:14:14] local.INFO: GPS data processed {"connection_id":126028,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:14:14] local.INFO: Acknowledgment sent {"connection_id":126028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:14:31] local.INFO: TCP Data received {"connection_id":128020,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f429c4388012d731a800608d310000401222c..."} 
[2026-07-08 22:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f429c4388012d731a800608d310000401222c..."} 
[2026-07-08 22:14:31] local.INFO: Processing buffer {"connection_id":128020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f429c4388012d731a800608d310000401222c..."} 
[2026-07-08 22:14:31] local.INFO: Packet analysis {"connection_id":128020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f429c"} 
[2026-07-08 22:14:31] local.INFO: Extracted packet for processing {"connection_id":128020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f429c"} 
[2026-07-08 22:14:31] local.INFO: GPS Element Parsed {"raw_longitude":762518144,"raw_latitude":101241616,"longitude_deg":76.2518144,"latitude_deg":10.1241616,"altitude":4,"angle":290,"satellites":44,"speed":24,"hex_longitude":"2d731a80","hex_latitude":"0608d310","is_valid_coordinates":true} 
[2026-07-08 22:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583412480001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343349632786497536,"note":"Value kept but may cause issues"} 
[2026-07-08 22:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8303582207625453568,"note":"Value kept but may cause issues"} 
[2026-07-08 22:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783528965000,"timestamp_ms":1783528965000,"timestamp_seconds":1783528965,"priority":1,"record_length":96,"hex_timestamp":"0000019f429c4388"} 
[2026-07-08 22:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 22:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:14:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":128020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":128020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":128020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583412480001,"66":27376,"131":206,"79":47616,"24":24,"16":343349632786497536,"45":8303582207625453568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,79,24,16,45]} 
[2026-07-08 22:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583412480001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:14:31] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-08 22:14:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-08 22:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343349632786497536,"km_value":343349632786497.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8303582207625453568,"description":"Unknown IO ID 45"} 
[2026-07-08 22:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583412480001,"power":27376,"unknown_131":206,"unknown_79":47616,"ignition":24,"odometer":null,"unknown_45":8303582207625453568}} 
[2026-07-08 22:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":128020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:14:31] local.INFO: GPS data processed {"connection_id":128020,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:14:31] local.INFO: Acknowledgment sent {"connection_id":128020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:14:57] local.INFO: TCP Data received {"connection_id":126776,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:14:57] local.INFO: Processing buffer {"connection_id":126776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:14:57] local.INFO: IMEI packet received {"connection_id":126776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":126776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:14:59] local.INFO: TCP Data received {"connection_id":126777,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:14:59] local.INFO: Processing buffer {"connection_id":126777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:14:59] local.INFO: IMEI packet received {"connection_id":126777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":126777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:15:00] local.INFO: TCP Data received {"connection_id":126776,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:15:00] local.INFO: Processing buffer {"connection_id":126776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:15:00] local.INFO: IMEI packet received {"connection_id":126776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":126776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:15:04] local.INFO: TCP Data received {"connection_id":126777,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:15:04] local.INFO: Processing buffer {"connection_id":126777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:15:04] local.INFO: IMEI packet received {"connection_id":126777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":126777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:15:05] local.INFO: TCP Data received {"connection_id":126776,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:15:05] local.INFO: Processing buffer {"connection_id":126776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:15:05] local.INFO: IMEI packet received {"connection_id":126776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":126776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:15:05] local.INFO: TCP Data received {"connection_id":126777,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f429b8fd8012d196500071ff078003e014222..."} 
[2026-07-08 22:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f429b8fd8012d196500071ff078003e014222..."} 
[2026-07-08 22:15:05] local.INFO: Processing buffer {"connection_id":126777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f429b8fd8012d196500071ff078003e014222..."} 
[2026-07-08 22:15:05] local.INFO: Packet analysis {"connection_id":126777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f429b"} 
[2026-07-08 22:15:05] local.INFO: Extracted packet for processing {"connection_id":126777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f429b"} 
[2026-07-08 22:15:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583326208001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783528919000,"timestamp_ms":1783528919000,"timestamp_seconds":1783528919,"priority":1,"record_length":96,"hex_timestamp":"0000019f429b8fd8"} 
[2026-07-08 22:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583326208001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583326208001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:15:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:15:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583326208001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":126777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:15:05] local.INFO: GPS data processed {"connection_id":126777,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:15:05] local.INFO: Acknowledgment sent {"connection_id":126777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:15:05] local.INFO: TCP Data received {"connection_id":126776,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f429d7820012d721d000608a898000701392d..."} 
[2026-07-08 22:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f429d7820012d721d000608a898000701392d..."} 
[2026-07-08 22:15:05] local.INFO: Processing buffer {"connection_id":126776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f429d7820012d721d000608a898000701392d..."} 
[2026-07-08 22:15:05] local.INFO: Packet analysis {"connection_id":126776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f429d"} 
[2026-07-08 22:15:05] local.INFO: Extracted packet for processing {"connection_id":126776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f429d"} 
[2026-07-08 22:15:05] local.INFO: GPS Element Parsed {"raw_longitude":762453248,"raw_latitude":101230744,"longitude_deg":76.2453248,"latitude_deg":10.1230744,"altitude":7,"angle":313,"satellites":45,"speed":17,"hex_longitude":"2d721d00","hex_latitude":"0608a898","is_valid_coordinates":true} 
[2026-07-08 22:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583435008001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343352862601904128,"note":"Value kept but may cause issues"} 
[2026-07-08 22:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8223080364284295168,"note":"Value kept but may cause issues"} 
[2026-07-08 22:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783529044000,"timestamp_ms":1783529044000,"timestamp_seconds":1783529044,"priority":1,"record_length":96,"hex_timestamp":"0000019f429d7820"} 
[2026-07-08 22:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 22:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583435008001,"66":26767,"147":206,"79":47616,"24":17,"16":343352862601904128,"45":8223080364284295168},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-07-08 22:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583435008001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:15:05] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-08 22:15:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-08 22:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343352862601904128,"km_value":343352862601904.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8223080364284295168,"description":"Unknown IO ID 45"} 
[2026-07-08 22:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583435008001,"power":26767,"unknown_147":206,"unknown_79":47616,"ignition":17,"odometer":null,"unknown_45":8223080364284295168}} 
[2026-07-08 22:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":126776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:15:06] local.INFO: GPS data processed {"connection_id":126776,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:15:06] local.INFO: Acknowledgment sent {"connection_id":126776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:15:06] local.INFO: TCP Data received {"connection_id":126776,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f429d7ff0012d721a400608abb8000701482c..."} 
[2026-07-08 22:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f429d7ff0012d721a400608abb8000701482c..."} 
[2026-07-08 22:15:06] local.INFO: Processing buffer {"connection_id":126776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f429d7ff0012d721a400608abb8000701482c..."} 
[2026-07-08 22:15:06] local.INFO: Packet analysis {"connection_id":126776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f429d"} 
[2026-07-08 22:15:06] local.INFO: Extracted packet for processing {"connection_id":126776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f429d"} 
[2026-07-08 22:15:06] local.INFO: GPS Element Parsed {"raw_longitude":762452544,"raw_latitude":101231544,"longitude_deg":76.2452544,"latitude_deg":10.1231544,"altitude":7,"angle":328,"satellites":44,"speed":22,"hex_longitude":"2d721a40","hex_latitude":"0608abb8","is_valid_coordinates":true} 
[2026-07-08 22:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583435264001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343352914141511680,"note":"Value kept but may cause issues"} 
[2026-07-08 22:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8222728520563464192,"note":"Value kept but may cause issues"} 
[2026-07-08 22:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783529046000,"timestamp_ms":1783529046000,"timestamp_seconds":1783529046,"priority":1,"record_length":96,"hex_timestamp":"0000019f429d7ff0"} 
[2026-07-08 22:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":104,"n8_eight_byte":143,"data_length":795,"current_offset":136} 
[2026-07-08 22:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2005,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583435264001,"66":27397,"147":206,"79":47616,"24":22,"16":343352914141511680,"45":8222728520563464192},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-07-08 22:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583435264001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:15:06] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-08 22:15:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-08 22:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343352914141511680,"km_value":343352914141511.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8222728520563464192,"description":"Unknown IO ID 45"} 
[2026-07-08 22:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583435264001,"power":27397,"unknown_147":206,"unknown_79":47616,"ignition":22,"odometer":null,"unknown_45":8222728520563464192}} 
[2026-07-08 22:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":126776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:15:06] local.INFO: GPS data processed {"connection_id":126776,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:15:06] local.INFO: Acknowledgment sent {"connection_id":126776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:15:36] local.INFO: TCP Data received {"connection_id":126777,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f429b8fd8012d196500071ff078003e014222..."} 
[2026-07-08 22:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f429b8fd8012d196500071ff078003e014222..."} 
[2026-07-08 22:15:36] local.INFO: Processing buffer {"connection_id":126777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f429b8fd8012d196500071ff078003e014222..."} 
[2026-07-08 22:15:36] local.INFO: Packet analysis {"connection_id":126777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f429b"} 
[2026-07-08 22:15:36] local.INFO: Extracted packet for processing {"connection_id":126777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f429b"} 
[2026-07-08 22:15:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583326208001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783528919000,"timestamp_ms":1783528919000,"timestamp_seconds":1783528919,"priority":1,"record_length":96,"hex_timestamp":"0000019f429b8fd8"} 
[2026-07-08 22:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583326208001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583326208001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:15:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:15:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583326208001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":126777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:15:36] local.INFO: GPS data processed {"connection_id":126777,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:15:36] local.INFO: Acknowledgment sent {"connection_id":126777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:15:37] local.INFO: TCP Data received {"connection_id":126776,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f429db2b8012d7208c00608cc48000901492a..."} 
[2026-07-08 22:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f429db2b8012d7208c00608cc48000901492a..."} 
[2026-07-08 22:15:37] local.INFO: Processing buffer {"connection_id":126776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f429db2b8012d7208c00608cc48000901492a..."} 
[2026-07-08 22:15:37] local.INFO: Packet analysis {"connection_id":126776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f429d"} 
[2026-07-08 22:15:37] local.INFO: Extracted packet for processing {"connection_id":126776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f429d"} 
[2026-07-08 22:15:37] local.INFO: GPS Element Parsed {"raw_longitude":762448064,"raw_latitude":101239880,"longitude_deg":76.2448064,"latitude_deg":10.123988,"altitude":9,"angle":329,"satellites":42,"speed":37,"hex_longitude":"2d7208c0","hex_latitude":"0608cc48","is_valid_coordinates":true} 
[2026-07-08 22:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583435776001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343353369408045056,"note":"Value kept but may cause issues"} 
[2026-07-08 22:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8221954464377714688,"note":"Value kept but may cause issues"} 
[2026-07-08 22:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783529059000,"timestamp_ms":1783529059000,"timestamp_seconds":1783529059,"priority":1,"record_length":96,"hex_timestamp":"0000019f429db2b8"} 
[2026-07-08 22:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-08 22:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583435776001,"66":27365,"149":206,"79":47616,"24":37,"16":343353369408045056,"45":8221954464377714688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,79,24,16,45]} 
[2026-07-08 22:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583435776001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:15:37] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-08 22:15:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-08 22:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343353369408045056,"km_value":343353369408045.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8221954464377714688,"description":"Unknown IO ID 45"} 
[2026-07-08 22:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583435776001,"power":27365,"unknown_149":206,"unknown_79":47616,"ignition":37,"odometer":null,"unknown_45":8221954464377714688}} 
[2026-07-08 22:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":126776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:15:37] local.INFO: GPS data processed {"connection_id":126776,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:15:37] local.INFO: Acknowledgment sent {"connection_id":126776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:15:52] local.INFO: TCP Data received {"connection_id":125890,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:15:52] local.INFO: Processing buffer {"connection_id":125890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:15:52] local.INFO: IMEI packet received {"connection_id":125890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":125890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:15:59] local.INFO: TCP Data received {"connection_id":126029,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:15:59] local.INFO: Processing buffer {"connection_id":126029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:15:59] local.INFO: IMEI packet received {"connection_id":126029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":126029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:16:03] local.INFO: TCP Data received {"connection_id":125890,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:16:03] local.INFO: Processing buffer {"connection_id":125890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:16:03] local.INFO: IMEI packet received {"connection_id":125890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":125890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:16:04] local.INFO: TCP Data received {"connection_id":126029,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:16:04] local.INFO: Processing buffer {"connection_id":126029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:16:04] local.INFO: IMEI packet received {"connection_id":126029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":126029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:16:05] local.INFO: TCP Data received {"connection_id":125890,"ip":"42.106.6.30","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f42..."} 
[2026-07-08 22:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125890,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f42..."} 
[2026-07-08 22:16:05] local.INFO: Processing buffer {"connection_id":125890,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f42..."} 
[2026-07-08 22:16:05] local.INFO: IMEI packet received {"connection_id":125890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":125890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:16:05] local.INFO: TCP Data received {"connection_id":126029,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f429b8fd8012d196500071ff078003e014222..."} 
[2026-07-08 22:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f429b8fd8012d196500071ff078003e014222..."} 
[2026-07-08 22:16:05] local.INFO: Processing buffer {"connection_id":126029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f429b8fd8012d196500071ff078003e014222..."} 
[2026-07-08 22:16:05] local.INFO: Packet analysis {"connection_id":126029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f429b"} 
[2026-07-08 22:16:05] local.INFO: Extracted packet for processing {"connection_id":126029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f429b"} 
[2026-07-08 22:16:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583326208001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783528919000,"timestamp_ms":1783528919000,"timestamp_seconds":1783528919,"priority":1,"record_length":96,"hex_timestamp":"0000019f429b8fd8"} 
[2026-07-08 22:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:16:05] 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-07-08 22:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583326208001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583326208001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:16:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:16:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583326208001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:16:06] local.INFO: TCP Data received {"connection_id":125890,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f429e0c90012d71ea80060908e80005015129..."} 
[2026-07-08 22:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":126029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:16:06] local.INFO: GPS data processed {"connection_id":126029,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:16:06] local.INFO: Acknowledgment sent {"connection_id":126029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f429e0c90012d71ea80060908e80005015129..."} 
[2026-07-08 22:16:06] local.INFO: Processing buffer {"connection_id":125890,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f429dd5e0012d71f6c00608e7e8000901552a..."} 
[2026-07-08 22:16:06] local.INFO: Packet analysis {"connection_id":125890,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f429d"} 
[2026-07-08 22:16:06] local.INFO: Extracted packet for processing {"connection_id":125890,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f429d"} 
[2026-07-08 22:16:06] local.INFO: GPS Element Parsed {"raw_longitude":762443456,"raw_latitude":101246952,"longitude_deg":76.2443456,"latitude_deg":10.1246952,"altitude":9,"angle":341,"satellites":42,"speed":33,"hex_longitude":"2d71f6c0","hex_latitude":"0608e7e8","is_valid_coordinates":true} 
[2026-07-08 22:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583439104001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343353781724905472,"note":"Value kept but may cause issues"} 
[2026-07-08 22:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8217028652287412224,"note":"Value kept but may cause issues"} 
[2026-07-08 22:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783529068000,"timestamp_ms":1783529068000,"timestamp_seconds":1783529068,"priority":1,"record_length":96,"hex_timestamp":"0000019f429dd5e0"} 
[2026-07-08 22:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 22:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583439104001,"66":26941,"149":206,"79":47616,"24":33,"16":343353781724905472,"45":8217028652287412224},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,79,24,16,45]} 
[2026-07-08 22:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583439104001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:16:06] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-08 22:16:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-08 22:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343353781724905472,"km_value":343353781724905.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8217028652287412224,"description":"Unknown IO ID 45"} 
[2026-07-08 22:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583439104001,"power":26941,"unknown_149":206,"unknown_79":47616,"ignition":33,"odometer":null,"unknown_45":8217028652287412224}} 
[2026-07-08 22:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":125890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:16:06] local.INFO: GPS data processed {"connection_id":125890,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:16:06] local.INFO: Acknowledgment sent {"connection_id":125890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:16:06] local.INFO: Packet analysis {"connection_id":125890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f429e"} 
[2026-07-08 22:16:06] local.INFO: Extracted packet for processing {"connection_id":125890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f429e"} 
[2026-07-08 22:16:06] local.INFO: GPS Element Parsed {"raw_longitude":762440320,"raw_latitude":101255400,"longitude_deg":76.244032,"latitude_deg":10.12554,"altitude":5,"angle":337,"satellites":41,"speed":22,"hex_longitude":"2d71ea80","hex_latitude":"060908e8","is_valid_coordinates":true} 
[2026-07-08 22:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583441408001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343354215516602368,"note":"Value kept but may cause issues"} 
[2026-07-08 22:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8211962102708430848,"note":"Value kept but may cause issues"} 
[2026-07-08 22:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783529082000,"timestamp_ms":1783529082000,"timestamp_seconds":1783529082,"priority":1,"record_length":96,"hex_timestamp":"0000019f429e0c90"} 
[2026-07-08 22:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":105,"n8_eight_byte":61,"data_length":795,"current_offset":136} 
[2026-07-08 22:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1272,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583441408001,"66":27343,"149":206,"79":47616,"24":22,"16":343354215516602368,"45":8211962102708430848},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,79,24,16,45]} 
[2026-07-08 22:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583441408001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:16:06] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-08 22:16:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-08 22:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343354215516602368,"km_value":343354215516602.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8211962102708430848,"description":"Unknown IO ID 45"} 
[2026-07-08 22:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583441408001,"power":27343,"unknown_149":206,"unknown_79":47616,"ignition":22,"odometer":null,"unknown_45":8211962102708430848}} 
[2026-07-08 22:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":125890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:16:06] local.INFO: GPS data processed {"connection_id":125890,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:16:06] local.INFO: Acknowledgment sent {"connection_id":125890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:16:06] local.INFO: TCP Data received {"connection_id":125890,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f429e2fb8012d71e30006091ec00005015f2a..."} 
[2026-07-08 22:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f429e2fb8012d71e30006091ec00005015f2a..."} 
[2026-07-08 22:16:06] local.INFO: Processing buffer {"connection_id":125890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f429e2fb8012d71e30006091ec00005015f2a..."} 
[2026-07-08 22:16:06] local.INFO: Packet analysis {"connection_id":125890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f429e"} 
[2026-07-08 22:16:06] local.INFO: Extracted packet for processing {"connection_id":125890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f429e"} 
[2026-07-08 22:16:06] local.INFO: GPS Element Parsed {"raw_longitude":762438400,"raw_latitude":101260992,"longitude_deg":76.24384,"latitude_deg":10.1260992,"altitude":5,"angle":351,"satellites":42,"speed":28,"hex_longitude":"2d71e300","hex_latitude":"06091ec0","is_valid_coordinates":true} 
[2026-07-08 22:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583444992001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343354503279411200,"note":"Value kept but may cause issues"} 
[2026-07-08 22:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8208514034245888000,"note":"Value kept but may cause issues"} 
[2026-07-08 22:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783529091000,"timestamp_ms":1783529091000,"timestamp_seconds":1783529091,"priority":1,"record_length":96,"hex_timestamp":"0000019f429e2fb8"} 
[2026-07-08 22:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 22:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583444992001,"66":27343,"149":206,"79":47616,"24":28,"16":343354503279411200,"45":8208514034245888000},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,79,24,16,45]} 
[2026-07-08 22:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583444992001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:16:06] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-08 22:16:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-08 22:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343354503279411200,"km_value":343354503279411.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8208514034245888000,"description":"Unknown IO ID 45"} 
[2026-07-08 22:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583444992001,"power":27343,"unknown_149":206,"unknown_79":47616,"ignition":28,"odometer":null,"unknown_45":8208514034245888000}} 
[2026-07-08 22:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":125890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:16:06] local.INFO: GPS data processed {"connection_id":125890,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:16:06] local.INFO: Acknowledgment sent {"connection_id":125890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:16:37] local.INFO: TCP Data received {"connection_id":126029,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f429b8fd8012d196500071ff078003e014222..."} 
[2026-07-08 22:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f429b8fd8012d196500071ff078003e014222..."} 
[2026-07-08 22:16:37] local.INFO: Processing buffer {"connection_id":126029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f429b8fd8012d196500071ff078003e014222..."} 
[2026-07-08 22:16:37] local.INFO: Packet analysis {"connection_id":126029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f429b"} 
[2026-07-08 22:16:37] local.INFO: Extracted packet for processing {"connection_id":126029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f429b"} 
[2026-07-08 22:16:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583326208001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783528919000,"timestamp_ms":1783528919000,"timestamp_seconds":1783528919,"priority":1,"record_length":96,"hex_timestamp":"0000019f429b8fd8"} 
[2026-07-08 22:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:16:37] 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-07-08 22:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583326208001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583326208001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:16:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:16:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583326208001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":126029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:16:37] local.INFO: GPS data processed {"connection_id":126029,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:16:37] local.INFO: Acknowledgment sent {"connection_id":126029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:16:54] local.INFO: TCP Data received {"connection_id":125891,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:16:54] local.INFO: Processing buffer {"connection_id":125891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:16:54] local.INFO: IMEI packet received {"connection_id":125891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":125891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:16:59] local.INFO: TCP Data received {"connection_id":128021,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:16:59] local.INFO: Processing buffer {"connection_id":128021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:16:59] local.INFO: IMEI packet received {"connection_id":128021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":128021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:17:00] local.INFO: TCP Data received {"connection_id":125891,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:17:00] local.INFO: Processing buffer {"connection_id":125891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:17:00] local.INFO: IMEI packet received {"connection_id":125891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":125891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:17:01] local.INFO: TCP Data received {"connection_id":125891,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f429e6668012d71d60006094930000601522a..."} 
[2026-07-08 22:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f429e6668012d71d60006094930000601522a..."} 
[2026-07-08 22:17:01] local.INFO: Processing buffer {"connection_id":125891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f429e6668012d71d60006094930000601522a..."} 
[2026-07-08 22:17:01] local.INFO: Packet analysis {"connection_id":125891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f429e"} 
[2026-07-08 22:17:01] local.INFO: Extracted packet for processing {"connection_id":125891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f429e"} 
[2026-07-08 22:17:01] local.INFO: GPS Element Parsed {"raw_longitude":762435072,"raw_latitude":101271856,"longitude_deg":76.2435072,"latitude_deg":10.1271856,"altitude":6,"angle":338,"satellites":42,"speed":24,"hex_longitude":"2d71d600","hex_latitude":"06094930","is_valid_coordinates":true} 
[2026-07-08 22:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583448064001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343355057330192384,"note":"Value kept but may cause issues"} 
[2026-07-08 22:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8205769653224955904,"note":"Value kept but may cause issues"} 
[2026-07-08 22:17:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783529105000,"timestamp_ms":1783529105000,"timestamp_seconds":1783529105,"priority":1,"record_length":96,"hex_timestamp":"0000019f429e6668"} 
[2026-07-08 22:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:17:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-08 22:17:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:17:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583448064001,"66":27234,"92":206,"79":47616,"24":24,"16":343355057330192384,"45":8205769653224955904},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,79,24,16,45]} 
[2026-07-08 22:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583448064001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:17:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-08 22:17:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-08 22:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343355057330192384,"km_value":343355057330192.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8205769653224955904,"description":"Unknown IO ID 45"} 
[2026-07-08 22:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583448064001,"power":27234,"unknown_92":206,"unknown_79":47616,"ignition":24,"odometer":null,"unknown_45":8205769653224955904}} 
[2026-07-08 22:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":125891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:17:01] local.INFO: GPS data processed {"connection_id":125891,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:17:01] local.INFO: Acknowledgment sent {"connection_id":125891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:17:04] local.INFO: TCP Data received {"connection_id":128021,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:17:04] local.INFO: Processing buffer {"connection_id":128021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:17:04] local.INFO: IMEI packet received {"connection_id":128021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":128021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:17:05] local.INFO: TCP Data received {"connection_id":128021,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f429b8fd8012d196500071ff078003e014222..."} 
[2026-07-08 22:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f429b8fd8012d196500071ff078003e014222..."} 
[2026-07-08 22:17:05] local.INFO: Processing buffer {"connection_id":128021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f429b8fd8012d196500071ff078003e014222..."} 
[2026-07-08 22:17:05] local.INFO: Packet analysis {"connection_id":128021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f429b"} 
[2026-07-08 22:17:05] local.INFO: Extracted packet for processing {"connection_id":128021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f429b"} 
[2026-07-08 22:17:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583326208001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783528919000,"timestamp_ms":1783528919000,"timestamp_seconds":1783528919,"priority":1,"record_length":96,"hex_timestamp":"0000019f429b8fd8"} 
[2026-07-08 22:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583326208001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583326208001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:17:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:17:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583326208001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":128021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:17:05] local.INFO: GPS data processed {"connection_id":128021,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:17:05] local.INFO: Acknowledgment sent {"connection_id":128021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:17:16] local.INFO: TCP Data received {"connection_id":125890,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f429e3b70012d71e0c006092760000501542b..."} 
[2026-07-08 22:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f429e3b70012d71e0c006092760000501542b..."} 
[2026-07-08 22:17:16] local.INFO: Processing buffer {"connection_id":125890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f429e3b70012d71e0c006092760000501542b..."} 
[2026-07-08 22:17:16] local.INFO: Packet analysis {"connection_id":125890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f429e"} 
[2026-07-08 22:17:16] local.INFO: Extracted packet for processing {"connection_id":125890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f429e"} 
[2026-07-08 22:17:16] local.INFO: GPS Element Parsed {"raw_longitude":762437824,"raw_latitude":101263200,"longitude_deg":76.2437824,"latitude_deg":10.12632,"altitude":5,"angle":340,"satellites":43,"speed":32,"hex_longitude":"2d71e0c0","hex_latitude":"06092760","is_valid_coordinates":true} 
[2026-07-08 22:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583447296001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343354614948560896,"note":"Value kept but may cause issues"} 
[2026-07-08 22:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8206402971921989632,"note":"Value kept but may cause issues"} 
[2026-07-08 22:17:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783529094000,"timestamp_ms":1783529094000,"timestamp_seconds":1783529094,"priority":1,"record_length":96,"hex_timestamp":"0000019f429e3b70"} 
[2026-07-08 22:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:17:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 22:17:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":125890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":125890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":125890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583447296001,"66":27332,"149":206,"79":47616,"24":32,"16":343354614948560896,"45":8206402971921989632},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,79,24,16,45]} 
[2026-07-08 22:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583447296001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:17:16] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-08 22:17:16] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-08 22:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343354614948560896,"km_value":343354614948560.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8206402971921989632,"description":"Unknown IO ID 45"} 
[2026-07-08 22:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583447296001,"power":27332,"unknown_149":206,"unknown_79":47616,"ignition":32,"odometer":null,"unknown_45":8206402971921989632}} 
[2026-07-08 22:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":125890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:17:16] local.INFO: GPS data processed {"connection_id":125890,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:17:16] local.INFO: Acknowledgment sent {"connection_id":125890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:17:33] local.INFO: TCP Data received {"connection_id":125891,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f429f9ee8012d716940060a2ab8000601492d..."} 
[2026-07-08 22:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f429f9ee8012d716940060a2ab8000601492d..."} 
[2026-07-08 22:17:33] local.INFO: Processing buffer {"connection_id":125891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f429f9ee8012d716940060a2ab8000601492d..."} 
[2026-07-08 22:17:33] local.INFO: Packet analysis {"connection_id":125891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f429f"} 
[2026-07-08 22:17:33] local.INFO: Extracted packet for processing {"connection_id":125891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f429f"} 
[2026-07-08 22:17:33] local.INFO: GPS Element Parsed {"raw_longitude":762407232,"raw_latitude":101329592,"longitude_deg":76.2407232,"latitude_deg":10.1329592,"altitude":6,"angle":329,"satellites":45,"speed":33,"hex_longitude":"2d716940","hex_latitude":"060a2ab8","is_valid_coordinates":true} 
[2026-07-08 22: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-07-08 22:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583468288001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343358192656318464,"note":"Value kept but may cause issues"} 
[2026-07-08 22:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8177411049336320000,"note":"Value kept but may cause issues"} 
[2026-07-08 22:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783529185000,"timestamp_ms":1783529185000,"timestamp_seconds":1783529185,"priority":1,"record_length":96,"hex_timestamp":"0000019f429f9ee8"} 
[2026-07-08 22:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 22:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":125891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":125891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":125891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583468288001,"66":26941,"93":206,"79":47616,"24":33,"16":343358192656318464,"45":8177411049336320000},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,79,24,16,45]} 
[2026-07-08 22:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583468288001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:17:33] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-08 22:17:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-08 22:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343358192656318464,"km_value":343358192656318.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8177411049336320000,"description":"Unknown IO ID 45"} 
[2026-07-08 22:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583468288001,"power":26941,"unknown_93":206,"unknown_79":47616,"ignition":33,"odometer":null,"unknown_45":8177411049336320000}} 
[2026-07-08 22:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":125891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:17:33] local.INFO: GPS data processed {"connection_id":125891,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:17:33] local.INFO: Acknowledgment sent {"connection_id":125891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:17:35] local.INFO: TCP Data received {"connection_id":126779,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126779,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:17:35] local.INFO: Processing buffer {"connection_id":126779,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:17:35] local.INFO: IMEI packet received {"connection_id":126779,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 22:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":126779,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:17:36] local.INFO: TCP Data received {"connection_id":128021,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f429b8fd8012d196500071ff078003e014222..."} 
[2026-07-08 22:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f429b8fd8012d196500071ff078003e014222..."} 
[2026-07-08 22:17:36] local.INFO: Processing buffer {"connection_id":128021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f429b8fd8012d196500071ff078003e014222..."} 
[2026-07-08 22:17:36] local.INFO: Packet analysis {"connection_id":128021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f429b"} 
[2026-07-08 22:17:36] local.INFO: Extracted packet for processing {"connection_id":128021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f429b"} 
[2026-07-08 22:17:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583326208001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783528919000,"timestamp_ms":1783528919000,"timestamp_seconds":1783528919,"priority":1,"record_length":96,"hex_timestamp":"0000019f429b8fd8"} 
[2026-07-08 22:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:17:36] 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-07-08 22:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583326208001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583326208001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:17:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:17:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583326208001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":128021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:17:36] local.INFO: GPS data processed {"connection_id":128021,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:17:36] local.INFO: Acknowledgment sent {"connection_id":128021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:17:54] local.INFO: TCP Data received {"connection_id":128022,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:17:54] local.INFO: Processing buffer {"connection_id":128022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:17:54] local.INFO: IMEI packet received {"connection_id":128022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":128022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:17:58] local.INFO: TCP Data received {"connection_id":128022,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:17:58] local.INFO: Processing buffer {"connection_id":128022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:17:58] local.INFO: IMEI packet received {"connection_id":128022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":128022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:17:59] local.INFO: TCP Data received {"connection_id":128022,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:17:59] local.INFO: Processing buffer {"connection_id":128022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:17:59] local.INFO: IMEI packet received {"connection_id":128022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":128022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:18:00] local.INFO: TCP Data received {"connection_id":128022,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f429fcdc8012d715840060a49780006014e2c..."} 
[2026-07-08 22:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f429fcdc8012d715840060a49780006014e2c..."} 
[2026-07-08 22:18:00] local.INFO: Processing buffer {"connection_id":128022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f429fcdc8012d715840060a49780006014e2c..."} 
[2026-07-08 22:18:00] local.INFO: Packet analysis {"connection_id":128022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f429f"} 
[2026-07-08 22:18:00] local.INFO: Extracted packet for processing {"connection_id":128022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f429f"} 
[2026-07-08 22:18:00] local.INFO: GPS Element Parsed {"raw_longitude":762402880,"raw_latitude":101337464,"longitude_deg":76.240288,"latitude_deg":10.1337464,"altitude":6,"angle":334,"satellites":44,"speed":33,"hex_longitude":"2d715840","hex_latitude":"060a4978","is_valid_coordinates":true} 
[2026-07-08 22: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-07-08 22:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583471360001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343358626448015360,"note":"Value kept but may cause issues"} 
[2026-07-08 22:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8172133393525028864,"note":"Value kept but may cause issues"} 
[2026-07-08 22:18:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783529197000,"timestamp_ms":1783529197000,"timestamp_seconds":1783529197,"priority":1,"record_length":96,"hex_timestamp":"0000019f429fcdc8"} 
[2026-07-08 22:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:18:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":105,"n8_eight_byte":61,"data_length":795,"current_offset":136} 
[2026-07-08 22:18:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1272,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":128022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":128022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":128022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:18:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583471360001,"66":27213,"72":206,"79":47616,"24":33,"16":343358626448015360,"45":8172133393525028864},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,79,24,16,45]} 
[2026-07-08 22:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583471360001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:18:00] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-08 22:18:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-08 22:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343358626448015360,"km_value":343358626448015.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:18:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8172133393525028864,"description":"Unknown IO ID 45"} 
[2026-07-08 22:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583471360001,"power":27213,"unknown_72":206,"unknown_79":47616,"ignition":33,"odometer":null,"unknown_45":8172133393525028864}} 
[2026-07-08 22:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":128022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:18:00] local.INFO: GPS data processed {"connection_id":128022,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:18:00] local.INFO: Acknowledgment sent {"connection_id":128022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:18:04] local.INFO: TCP Data received {"connection_id":125892,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:18:04] local.INFO: Processing buffer {"connection_id":125892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:18:04] local.INFO: IMEI packet received {"connection_id":125892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":125892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:18:05] local.INFO: TCP Data received {"connection_id":128022,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f429ff4d8012d714600060a6a600005014a27..."} 
[2026-07-08 22:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f429ff4d8012d714600060a6a600005014a27..."} 
[2026-07-08 22:18:05] local.INFO: Processing buffer {"connection_id":128022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f429ff4d8012d714600060a6a600005014a27..."} 
[2026-07-08 22:18:05] local.INFO: Packet analysis {"connection_id":128022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f429f"} 
[2026-07-08 22:18:05] local.INFO: Extracted packet for processing {"connection_id":128022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f429f"} 
[2026-07-08 22:18:05] local.INFO: GPS Element Parsed {"raw_longitude":762398208,"raw_latitude":101345888,"longitude_deg":76.2398208,"latitude_deg":10.1345888,"altitude":5,"angle":330,"satellites":39,"speed":41,"hex_longitude":"2d714600","hex_latitude":"060a6a60","is_valid_coordinates":true} 
[2026-07-08 22:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583474432001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343359094599450624,"note":"Value kept but may cause issues"} 
[2026-07-08 22:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8167348318922962944,"note":"Value kept but may cause issues"} 
[2026-07-08 22:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783529207000,"timestamp_ms":1783529207000,"timestamp_seconds":1783529207,"priority":1,"record_length":96,"hex_timestamp":"0000019f429ff4d8"} 
[2026-07-08 22:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-08 22:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583474432001,"66":27321,"72":206,"79":47616,"24":41,"16":343359094599450624,"45":8167348318922962944},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,79,24,16,45]} 
[2026-07-08 22:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583474432001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:18:05] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-08 22:18:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-08 22:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343359094599450624,"km_value":343359094599450.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8167348318922962944,"description":"Unknown IO ID 45"} 
[2026-07-08 22:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583474432001,"power":27321,"unknown_72":206,"unknown_79":47616,"ignition":41,"odometer":null,"unknown_45":8167348318922962944}} 
[2026-07-08 22:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":128022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:18:05] local.INFO: GPS data processed {"connection_id":128022,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:18:05] local.INFO: Acknowledgment sent {"connection_id":128022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:18:09] local.INFO: TCP Data received {"connection_id":125892,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:18:09] local.INFO: Processing buffer {"connection_id":125892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:18:09] local.INFO: IMEI packet received {"connection_id":125892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":125892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:18:10] local.INFO: TCP Data received {"connection_id":125892,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a027a0012d196500071ff078003e014222..."} 
[2026-07-08 22:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a027a0012d196500071ff078003e014222..."} 
[2026-07-08 22:18:10] local.INFO: Processing buffer {"connection_id":125892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a027a0012d196500071ff078003e014222..."} 
[2026-07-08 22:18:10] local.INFO: Packet analysis {"connection_id":125892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a0"} 
[2026-07-08 22:18:10] local.INFO: Extracted packet for processing {"connection_id":125892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a0"} 
[2026-07-08 22:18:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583403264001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:18: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-07-08 22:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783529220000,"timestamp_ms":1783529220000,"timestamp_seconds":1783529220,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a027a0"} 
[2026-07-08 22:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:18:10] 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-07-08 22:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583403264001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583403264001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:18:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:18:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583403264001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:18:10] local.INFO: TCP Data received {"connection_id":128023,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128023,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:18:10] local.INFO: Processing buffer {"connection_id":128023,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:18:10] local.INFO: IMEI packet received {"connection_id":128023,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 22:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":128023,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":125892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:18:10] local.INFO: GPS data processed {"connection_id":125892,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:18:10] local.INFO: Acknowledgment sent {"connection_id":125892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:18:14] local.INFO: TCP Data received {"connection_id":125892,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a027a0012d196500071ff078003e014222..."} 
[2026-07-08 22:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a027a0012d196500071ff078003e014222..."} 
[2026-07-08 22:18:14] local.INFO: Processing buffer {"connection_id":125892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a027a0012d196500071ff078003e014222..."} 
[2026-07-08 22:18:14] local.INFO: Packet analysis {"connection_id":125892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a0"} 
[2026-07-08 22:18:14] local.INFO: Extracted packet for processing {"connection_id":125892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a0"} 
[2026-07-08 22:18:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583403264001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783529220000,"timestamp_ms":1783529220000,"timestamp_seconds":1783529220,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a027a0"} 
[2026-07-08 22:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:18:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":125892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":125892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":125892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:18:14] 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-07-08 22:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583403264001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583403264001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:18:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:18:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583403264001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":125892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:18:14] local.INFO: GPS data processed {"connection_id":125892,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:18:14] local.INFO: Acknowledgment sent {"connection_id":125892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:18:37] local.INFO: TCP Data received {"connection_id":128022,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a01800012d7134c0060a8c380005014d29..."} 
[2026-07-08 22:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a01800012d7134c0060a8c380005014d29..."} 
[2026-07-08 22:18:37] local.INFO: Processing buffer {"connection_id":128022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a01800012d7134c0060a8c380005014d29..."} 
[2026-07-08 22:18:37] local.INFO: Packet analysis {"connection_id":128022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a0"} 
[2026-07-08 22:18:37] local.INFO: Extracted packet for processing {"connection_id":128022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a0"} 
[2026-07-08 22:18:37] local.INFO: GPS Element Parsed {"raw_longitude":762393792,"raw_latitude":101354552,"longitude_deg":76.2393792,"latitude_deg":10.1354552,"altitude":5,"angle":333,"satellites":41,"speed":45,"hex_longitude":"2d7134c0","hex_latitude":"060a8c38","is_valid_coordinates":true} 
[2026-07-08 22:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583476992001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343359562750885888,"note":"Value kept but may cause issues"} 
[2026-07-08 22:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8162211400600150016,"note":"Value kept but may cause issues"} 
[2026-07-08 22:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783529216000,"timestamp_ms":1783529216000,"timestamp_seconds":1783529216,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a01800"} 
[2026-07-08 22:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 22:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583476992001,"66":27365,"72":206,"79":47616,"24":45,"16":343359562750885888,"45":8162211400600150016},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,79,24,16,45]} 
[2026-07-08 22:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583476992001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:18:37] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-08 22:18:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-08 22:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343359562750885888,"km_value":343359562750885.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8162211400600150016,"description":"Unknown IO ID 45"} 
[2026-07-08 22:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583476992001,"power":27365,"unknown_72":206,"unknown_79":47616,"ignition":45,"odometer":null,"unknown_45":8162211400600150016}} 
[2026-07-08 22:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":128022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:18:37] local.INFO: GPS data processed {"connection_id":128022,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:18:37] local.INFO: Acknowledgment sent {"connection_id":128022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:18:54] local.INFO: TCP Data received {"connection_id":125893,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:18:54] local.INFO: Processing buffer {"connection_id":125893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:18:54] local.INFO: IMEI packet received {"connection_id":125893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":125893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:18:55] local.INFO: TCP Data received {"connection_id":125893,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:18:55] local.INFO: Processing buffer {"connection_id":125893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:18:55] local.INFO: IMEI packet received {"connection_id":125893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":125893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:18:55] local.INFO: TCP Data received {"connection_id":126030,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126030,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:18:55] local.INFO: Processing buffer {"connection_id":126030,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:18:55] local.INFO: IMEI packet received {"connection_id":126030,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 22:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":126030,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:18:56] local.INFO: TCP Data received {"connection_id":125893,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:18:56] local.INFO: Processing buffer {"connection_id":125893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:18:56] local.INFO: IMEI packet received {"connection_id":125893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":125893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:18:56] local.INFO: TCP Data received {"connection_id":125893,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:18:56] local.INFO: Processing buffer {"connection_id":125893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:18:56] local.INFO: IMEI packet received {"connection_id":125893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":125893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:18:59] local.INFO: TCP Data received {"connection_id":126031,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:18:59] local.INFO: Processing buffer {"connection_id":126031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:18:59] local.INFO: IMEI packet received {"connection_id":126031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":126031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:19:04] local.INFO: TCP Data received {"connection_id":126031,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:19:04] local.INFO: Processing buffer {"connection_id":126031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:19:04] local.INFO: IMEI packet received {"connection_id":126031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":126031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:19:05] local.INFO: TCP Data received {"connection_id":126031,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a027a0012d196500071ff078003e014222..."} 
[2026-07-08 22:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a027a0012d196500071ff078003e014222..."} 
[2026-07-08 22:19:05] local.INFO: Processing buffer {"connection_id":126031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a027a0012d196500071ff078003e014222..."} 
[2026-07-08 22:19:05] local.INFO: Packet analysis {"connection_id":126031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a0"} 
[2026-07-08 22:19:05] local.INFO: Extracted packet for processing {"connection_id":126031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a0"} 
[2026-07-08 22:19:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583403264001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783529220000,"timestamp_ms":1783529220000,"timestamp_seconds":1783529220,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a027a0"} 
[2026-07-08 22:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:19:05] 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-07-08 22:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583403264001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583403264001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:19:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:19:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583403264001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":126031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:19:05] local.INFO: GPS data processed {"connection_id":126031,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:19:05] local.INFO: Acknowledgment sent {"connection_id":126031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:19:36] local.INFO: TCP Data received {"connection_id":126031,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a027a0012d196500071ff078003e014222..."} 
[2026-07-08 22:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a027a0012d196500071ff078003e014222..."} 
[2026-07-08 22:19:36] local.INFO: Processing buffer {"connection_id":126031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a027a0012d196500071ff078003e014222..."} 
[2026-07-08 22:19:36] local.INFO: Packet analysis {"connection_id":126031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a0"} 
[2026-07-08 22:19:36] local.INFO: Extracted packet for processing {"connection_id":126031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a0"} 
[2026-07-08 22:19:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583403264001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783529220000,"timestamp_ms":1783529220000,"timestamp_seconds":1783529220,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a027a0"} 
[2026-07-08 22:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:19:36] 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-07-08 22:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583403264001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583403264001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:19:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:19:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583403264001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":126031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:19:36] local.INFO: GPS data processed {"connection_id":126031,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:19:36] local.INFO: Acknowledgment sent {"connection_id":126031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:19:59] local.INFO: TCP Data received {"connection_id":128025,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:19:59] local.INFO: Processing buffer {"connection_id":128025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:19:59] local.INFO: IMEI packet received {"connection_id":128025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":128025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:20:04] local.INFO: TCP Data received {"connection_id":128025,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:20:04] local.INFO: Processing buffer {"connection_id":128025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:20:04] local.INFO: IMEI packet received {"connection_id":128025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":128025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:20:05] local.INFO: TCP Data received {"connection_id":128025,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a027a0012d196500071ff078003e014222..."} 
[2026-07-08 22:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a027a0012d196500071ff078003e014222..."} 
[2026-07-08 22:20:05] local.INFO: Processing buffer {"connection_id":128025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a027a0012d196500071ff078003e014222..."} 
[2026-07-08 22:20:05] local.INFO: Packet analysis {"connection_id":128025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a0"} 
[2026-07-08 22:20:05] local.INFO: Extracted packet for processing {"connection_id":128025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a0"} 
[2026-07-08 22:20:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583403264001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783529220000,"timestamp_ms":1783529220000,"timestamp_seconds":1783529220,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a027a0"} 
[2026-07-08 22:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:20:05] 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-07-08 22:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583403264001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583403264001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:20:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:20:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583403264001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":128025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:20:05] local.INFO: GPS data processed {"connection_id":128025,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:20:05] local.INFO: Acknowledgment sent {"connection_id":128025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:20:36] local.INFO: TCP Data received {"connection_id":128025,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a027a0012d196500071ff078003e014222..."} 
[2026-07-08 22:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a027a0012d196500071ff078003e014222..."} 
[2026-07-08 22:20:36] local.INFO: Processing buffer {"connection_id":128025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a027a0012d196500071ff078003e014222..."} 
[2026-07-08 22:20:36] local.INFO: Packet analysis {"connection_id":128025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a0"} 
[2026-07-08 22:20:36] local.INFO: Extracted packet for processing {"connection_id":128025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a0"} 
[2026-07-08 22:20:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22: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-07-08 22:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583403264001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783529220000,"timestamp_ms":1783529220000,"timestamp_seconds":1783529220,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a027a0"} 
[2026-07-08 22:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:20:36] 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-07-08 22:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583403264001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583403264001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:20:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:20:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583403264001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":128025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:20:36] local.INFO: GPS data processed {"connection_id":128025,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:20:36] local.INFO: Acknowledgment sent {"connection_id":128025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:20:59] local.INFO: TCP Data received {"connection_id":126032,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:20:59] local.INFO: Processing buffer {"connection_id":126032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:20:59] local.INFO: IMEI packet received {"connection_id":126032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":126032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:21:04] local.INFO: TCP Data received {"connection_id":126032,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:21:04] local.INFO: Processing buffer {"connection_id":126032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:21:04] local.INFO: IMEI packet received {"connection_id":126032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":126032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:21:05] local.INFO: TCP Data received {"connection_id":126032,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a027a0012d196500071ff078003e014222..."} 
[2026-07-08 22:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a027a0012d196500071ff078003e014222..."} 
[2026-07-08 22:21:05] local.INFO: Processing buffer {"connection_id":126032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a027a0012d196500071ff078003e014222..."} 
[2026-07-08 22:21:05] local.INFO: Packet analysis {"connection_id":126032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a0"} 
[2026-07-08 22:21:05] local.INFO: Extracted packet for processing {"connection_id":126032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a0"} 
[2026-07-08 22:21:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583403264001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783529220000,"timestamp_ms":1783529220000,"timestamp_seconds":1783529220,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a027a0"} 
[2026-07-08 22:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583403264001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583403264001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:21:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:21:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583403264001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":126032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:21:05] local.INFO: GPS data processed {"connection_id":126032,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:21:05] local.INFO: Acknowledgment sent {"connection_id":126032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:21:36] local.INFO: TCP Data received {"connection_id":126032,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a027a0012d196500071ff078003e014222..."} 
[2026-07-08 22:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a027a0012d196500071ff078003e014222..."} 
[2026-07-08 22:21:36] local.INFO: Processing buffer {"connection_id":126032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a027a0012d196500071ff078003e014222..."} 
[2026-07-08 22:21:36] local.INFO: Packet analysis {"connection_id":126032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a0"} 
[2026-07-08 22:21:36] local.INFO: Extracted packet for processing {"connection_id":126032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a0"} 
[2026-07-08 22:21:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583403264001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783529220000,"timestamp_ms":1783529220000,"timestamp_seconds":1783529220,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a027a0"} 
[2026-07-08 22:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583403264001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583403264001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:21:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:21:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583403264001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":126032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:21:36] local.INFO: GPS data processed {"connection_id":126032,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:21:36] local.INFO: Acknowledgment sent {"connection_id":126032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:21:59] local.INFO: TCP Data received {"connection_id":125894,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:21:59] local.INFO: Processing buffer {"connection_id":125894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:21:59] local.INFO: IMEI packet received {"connection_id":125894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":125894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:22:04] local.INFO: TCP Data received {"connection_id":125894,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:22:04] local.INFO: Processing buffer {"connection_id":125894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:22:04] local.INFO: IMEI packet received {"connection_id":125894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":125894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:22:05] local.INFO: TCP Data received {"connection_id":125894,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a027a0012d196500071ff078003e014222..."} 
[2026-07-08 22:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a027a0012d196500071ff078003e014222..."} 
[2026-07-08 22:22:05] local.INFO: Processing buffer {"connection_id":125894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a027a0012d196500071ff078003e014222..."} 
[2026-07-08 22:22:05] local.INFO: Packet analysis {"connection_id":125894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a0"} 
[2026-07-08 22:22:05] local.INFO: Extracted packet for processing {"connection_id":125894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a0"} 
[2026-07-08 22:22:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583403264001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783529220000,"timestamp_ms":1783529220000,"timestamp_seconds":1783529220,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a027a0"} 
[2026-07-08 22:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583403264001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583403264001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:22:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:22:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583403264001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":125894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:22:05] local.INFO: GPS data processed {"connection_id":125894,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:22:05] local.INFO: Acknowledgment sent {"connection_id":125894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:22:36] local.INFO: TCP Data received {"connection_id":125894,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a027a0012d196500071ff078003e014222..."} 
[2026-07-08 22:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a027a0012d196500071ff078003e014222..."} 
[2026-07-08 22:22:36] local.INFO: Processing buffer {"connection_id":125894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a027a0012d196500071ff078003e014222..."} 
[2026-07-08 22:22:36] local.INFO: Packet analysis {"connection_id":125894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a0"} 
[2026-07-08 22:22:36] local.INFO: Extracted packet for processing {"connection_id":125894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a0"} 
[2026-07-08 22:22:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583403264001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783529220000,"timestamp_ms":1783529220000,"timestamp_seconds":1783529220,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a027a0"} 
[2026-07-08 22:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583403264001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583403264001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:22:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:22:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583403264001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":125894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:22:36] local.INFO: GPS data processed {"connection_id":125894,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:22:36] local.INFO: Acknowledgment sent {"connection_id":125894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:23:04] local.INFO: TCP Data received {"connection_id":126783,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:23:04] local.INFO: Processing buffer {"connection_id":126783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:23:04] local.INFO: IMEI packet received {"connection_id":126783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":126783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:23:09] local.INFO: TCP Data received {"connection_id":126783,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:23:09] local.INFO: Processing buffer {"connection_id":126783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:23:09] local.INFO: IMEI packet received {"connection_id":126783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":126783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:23:10] local.INFO: TCP Data received {"connection_id":126783,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a4bf68012d196500071ff078003e014222..."} 
[2026-07-08 22:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a4bf68012d196500071ff078003e014222..."} 
[2026-07-08 22:23:10] local.INFO: Processing buffer {"connection_id":126783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a4bf68012d196500071ff078003e014222..."} 
[2026-07-08 22:23:10] local.INFO: Packet analysis {"connection_id":126783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a4"} 
[2026-07-08 22:23:10] local.INFO: Extracted packet for processing {"connection_id":126783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a4"} 
[2026-07-08 22:23:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583480320001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:23: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-07-08 22:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783529521000,"timestamp_ms":1783529521000,"timestamp_seconds":1783529521,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a4bf68"} 
[2026-07-08 22:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 22:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583480320001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583480320001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:23:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:23:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583480320001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":126783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:23:10] local.INFO: GPS data processed {"connection_id":126783,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:23:10] local.INFO: Acknowledgment sent {"connection_id":126783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:23:14] local.INFO: TCP Data received {"connection_id":126783,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a4bf68012d196500071ff078003e014222..."} 
[2026-07-08 22:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a4bf68012d196500071ff078003e014222..."} 
[2026-07-08 22:23:14] local.INFO: Processing buffer {"connection_id":126783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a4bf68012d196500071ff078003e014222..."} 
[2026-07-08 22:23:14] local.INFO: Packet analysis {"connection_id":126783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a4"} 
[2026-07-08 22:23:14] local.INFO: Extracted packet for processing {"connection_id":126783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a4"} 
[2026-07-08 22:23:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583480320001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783529521000,"timestamp_ms":1783529521000,"timestamp_seconds":1783529521,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a4bf68"} 
[2026-07-08 22:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 22:23:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":126783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":126783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":126783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583480320001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583480320001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:23:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:23:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583480320001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":126783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:23:14] local.INFO: GPS data processed {"connection_id":126783,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:23:14] local.INFO: Acknowledgment sent {"connection_id":126783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:23:59] local.INFO: TCP Data received {"connection_id":125896,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:23:59] local.INFO: Processing buffer {"connection_id":125896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:23:59] local.INFO: IMEI packet received {"connection_id":125896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":125896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:24:00] local.INFO: TCP Data received {"connection_id":125895,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:24:00] local.INFO: Processing buffer {"connection_id":125895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:24:00] local.INFO: IMEI packet received {"connection_id":125895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":125895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:24:00] local.INFO: TCP Data received {"connection_id":128030,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128030,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:24:00] local.INFO: Processing buffer {"connection_id":128030,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:24:00] local.INFO: IMEI packet received {"connection_id":128030,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 22:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":128030,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:24:01] local.INFO: TCP Data received {"connection_id":125895,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a55f90012d6e9a00060cdab0000501102d..."} 
[2026-07-08 22:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a55f90012d6e9a00060cdab0000501102d..."} 
[2026-07-08 22:24:01] local.INFO: Processing buffer {"connection_id":125895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a55f90012d6e9a00060cdab0000501102d..."} 
[2026-07-08 22:24:01] local.INFO: Packet analysis {"connection_id":125895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a5"} 
[2026-07-08 22:24:01] local.INFO: Extracted packet for processing {"connection_id":125895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a5"} 
[2026-07-08 22:24:01] local.INFO: GPS Element Parsed {"raw_longitude":762223104,"raw_latitude":101505712,"longitude_deg":76.2223104,"latitude_deg":10.1505712,"altitude":5,"angle":272,"satellites":45,"speed":25,"hex_longitude":"2d6e9a00","hex_latitude":"060cdab0","is_valid_coordinates":true} 
[2026-07-08 22:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583567616001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343372877149503488,"note":"Value kept but may cause issues"} 
[2026-07-08 22:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7970386204012724224,"note":"Value kept but may cause issues"} 
[2026-07-08 22:24:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783529562000,"timestamp_ms":1783529562000,"timestamp_seconds":1783529562,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a55f90"} 
[2026-07-08 22:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:24:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-08 22:24:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:24:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583567616001,"66":27137,"253":206,"79":46336,"24":25,"16":343372877149503488,"45":7970386204012724224},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,79,24,16,45]} 
[2026-07-08 22:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583567616001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:24:01] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-07-08 22:24:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-08 22:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343372877149503488,"km_value":343372877149503.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7970386204012724224,"description":"Unknown IO ID 45"} 
[2026-07-08 22:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583567616001,"power":27137,"unknown_253":206,"unknown_79":46336,"ignition":25,"odometer":null,"unknown_45":7970386204012724224}} 
[2026-07-08 22:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":125895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:24:01] local.INFO: GPS data processed {"connection_id":125895,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:24:01] local.INFO: Acknowledgment sent {"connection_id":125895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:24:04] local.INFO: TCP Data received {"connection_id":125896,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:24:04] local.INFO: Processing buffer {"connection_id":125896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:24:04] local.INFO: IMEI packet received {"connection_id":125896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":125896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:24:05] local.INFO: TCP Data received {"connection_id":125896,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a4bf68012d196500071ff078003e014222..."} 
[2026-07-08 22:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a4bf68012d196500071ff078003e014222..."} 
[2026-07-08 22:24:05] local.INFO: Processing buffer {"connection_id":125896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a4bf68012d196500071ff078003e014222..."} 
[2026-07-08 22:24:05] local.INFO: Packet analysis {"connection_id":125896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a4"} 
[2026-07-08 22:24:05] local.INFO: Extracted packet for processing {"connection_id":125896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a4"} 
[2026-07-08 22:24:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583480320001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783529521000,"timestamp_ms":1783529521000,"timestamp_seconds":1783529521,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a4bf68"} 
[2026-07-08 22:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 22:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:24:05] 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-07-08 22:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583480320001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583480320001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:24:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:24:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583480320001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":125896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:24:05] local.INFO: GPS data processed {"connection_id":125896,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:24:05] local.INFO: Acknowledgment sent {"connection_id":125896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:24:32] local.INFO: TCP Data received {"connection_id":125895,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a56760012d6e94c0060cda50000501052d..."} 
[2026-07-08 22:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a56760012d6e94c0060cda50000501052d..."} 
[2026-07-08 22:24:32] local.INFO: Processing buffer {"connection_id":125895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a56760012d6e94c0060cda50000501052d..."} 
[2026-07-08 22:24:32] local.INFO: Packet analysis {"connection_id":125895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a5"} 
[2026-07-08 22:24:32] local.INFO: Extracted packet for processing {"connection_id":125895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a5"} 
[2026-07-08 22:24:32] local.INFO: GPS Element Parsed {"raw_longitude":762221760,"raw_latitude":101505616,"longitude_deg":76.222176,"latitude_deg":10.1505616,"altitude":5,"angle":261,"satellites":45,"speed":27,"hex_longitude":"2d6e94c0","hex_latitude":"060cda50","is_valid_coordinates":true} 
[2026-07-08 22: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-07-08 22:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583567872001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343372945868980224,"note":"Value kept but may cause issues"} 
[2026-07-08 22:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7969682516570976256,"note":"Value kept but may cause issues"} 
[2026-07-08 22:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783529564000,"timestamp_ms":1783529564000,"timestamp_seconds":1783529564,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a56760"} 
[2026-07-08 22:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-07-08 22:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583567872001,"66":27332,"253":206,"79":46336,"24":27,"16":343372945868980224,"45":7969682516570976256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,79,24,16,45]} 
[2026-07-08 22:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583567872001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:24:32] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-07-08 22:24:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-08 22:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343372945868980224,"km_value":343372945868980.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7969682516570976256,"description":"Unknown IO ID 45"} 
[2026-07-08 22:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583567872001,"power":27332,"unknown_253":206,"unknown_79":46336,"ignition":27,"odometer":null,"unknown_45":7969682516570976256}} 
[2026-07-08 22:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":125895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:24:32] local.INFO: GPS data processed {"connection_id":125895,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:24:32] local.INFO: Acknowledgment sent {"connection_id":125895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:24:36] local.INFO: TCP Data received {"connection_id":125896,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a4bf68012d196500071ff078003e014222..."} 
[2026-07-08 22:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a4bf68012d196500071ff078003e014222..."} 
[2026-07-08 22:24:36] local.INFO: Processing buffer {"connection_id":125896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a4bf68012d196500071ff078003e014222..."} 
[2026-07-08 22:24:36] local.INFO: Packet analysis {"connection_id":125896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a4"} 
[2026-07-08 22:24:36] local.INFO: Extracted packet for processing {"connection_id":125896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a4"} 
[2026-07-08 22:24:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22: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-07-08 22:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583480320001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783529521000,"timestamp_ms":1783529521000,"timestamp_seconds":1783529521,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a4bf68"} 
[2026-07-08 22:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 22:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:24:36] 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-07-08 22:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583480320001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583480320001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:24:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:24:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583480320001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":125896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:24:36] local.INFO: GPS data processed {"connection_id":125896,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:24:36] local.INFO: Acknowledgment sent {"connection_id":125896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:24:54] local.INFO: TCP Data received {"connection_id":126784,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:24:54] local.INFO: Processing buffer {"connection_id":126784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:24:54] local.INFO: IMEI packet received {"connection_id":126784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":126784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:24:54] local.INFO: TCP Data received {"connection_id":126784,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:24:54] local.INFO: Processing buffer {"connection_id":126784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:24:54] local.INFO: IMEI packet received {"connection_id":126784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":126784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:24:59] local.INFO: TCP Data received {"connection_id":125897,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:24:59] local.INFO: Processing buffer {"connection_id":125897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:24:59] local.INFO: IMEI packet received {"connection_id":125897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":125897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:25:00] local.INFO: TCP Data received {"connection_id":126784,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:25:00] local.INFO: Processing buffer {"connection_id":126784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:25:00] local.INFO: IMEI packet received {"connection_id":126784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":126784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:25:00] local.INFO: TCP Data received {"connection_id":126784,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a68488012d6de880060cb9d00004011f2c..."} 
[2026-07-08 22:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a68488012d6de880060cb9d00004011f2c..."} 
[2026-07-08 22:25:00] local.INFO: Processing buffer {"connection_id":126784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a68488012d6de880060cb9d00004011f2c..."} 
[2026-07-08 22:25:00] local.INFO: Packet analysis {"connection_id":126784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a6"} 
[2026-07-08 22:25:00] local.INFO: Extracted packet for processing {"connection_id":126784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a6"} 
[2026-07-08 22:25:00] local.INFO: GPS Element Parsed {"raw_longitude":762177664,"raw_latitude":101497296,"longitude_deg":76.2177664,"latitude_deg":10.1497296,"altitude":4,"angle":287,"satellites":44,"speed":28,"hex_longitude":"2d6de880","hex_latitude":"060cb9d0","is_valid_coordinates":true} 
[2026-07-08 22:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583586560001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343375260856352768,"note":"Value kept but may cause issues"} 
[2026-07-08 22:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7921057714341902336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783529637000,"timestamp_ms":1783529637000,"timestamp_seconds":1783529637,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a68488"} 
[2026-07-08 22:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-08 22:25:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583586560001,"66":26984,"83":206,"79":46336,"24":28,"16":343375260856352768,"45":7921057714341902336},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,79,24,16,45]} 
[2026-07-08 22:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583586560001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:25:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-08 22:25:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-08 22:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343375260856352768,"km_value":343375260856352.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7921057714341902336,"description":"Unknown IO ID 45"} 
[2026-07-08 22:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583586560001,"power":26984,"unknown_83":206,"unknown_79":46336,"ignition":28,"odometer":null,"unknown_45":7921057714341902336}} 
[2026-07-08 22:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":126784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:25:01] local.INFO: GPS data processed {"connection_id":126784,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:25:01] local.INFO: Acknowledgment sent {"connection_id":126784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:25:04] local.INFO: TCP Data received {"connection_id":125897,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:25:04] local.INFO: Processing buffer {"connection_id":125897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:25:04] local.INFO: IMEI packet received {"connection_id":125897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":125897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:25:05] local.INFO: TCP Data received {"connection_id":125897,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a4bf68012d196500071ff078003e014222..."} 
[2026-07-08 22:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a4bf68012d196500071ff078003e014222..."} 
[2026-07-08 22:25:05] local.INFO: Processing buffer {"connection_id":125897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a4bf68012d196500071ff078003e014222..."} 
[2026-07-08 22:25:05] local.INFO: Packet analysis {"connection_id":125897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a4"} 
[2026-07-08 22:25:05] local.INFO: Extracted packet for processing {"connection_id":125897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a4"} 
[2026-07-08 22:25:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583480320001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783529521000,"timestamp_ms":1783529521000,"timestamp_seconds":1783529521,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a4bf68"} 
[2026-07-08 22:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 22:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583480320001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583480320001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:25:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:25:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583480320001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":125897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:25:05] local.INFO: GPS data processed {"connection_id":125897,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:25:05] local.INFO: Acknowledgment sent {"connection_id":125897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:25:31] local.INFO: TCP Data received {"connection_id":126784,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a6b750012d6dc640060cc748000401172e..."} 
[2026-07-08 22:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a6b750012d6dc640060cc748000401172e..."} 
[2026-07-08 22:25:31] local.INFO: Processing buffer {"connection_id":126784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a6b750012d6dc640060cc748000401172e..."} 
[2026-07-08 22:25:31] local.INFO: Packet analysis {"connection_id":126784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a6"} 
[2026-07-08 22:25:31] local.INFO: Extracted packet for processing {"connection_id":126784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a6"} 
[2026-07-08 22:25:31] local.INFO: GPS Element Parsed {"raw_longitude":762168896,"raw_latitude":101500744,"longitude_deg":76.2168896,"latitude_deg":10.1500744,"altitude":4,"angle":279,"satellites":46,"speed":19,"hex_longitude":"2d6dc640","hex_latitude":"060cc748","is_valid_coordinates":true} 
[2026-07-08 22:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583587072001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343375711827918848,"note":"Value kept but may cause issues"} 
[2026-07-08 22:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7919720708202680320,"note":"Value kept but may cause issues"} 
[2026-07-08 22:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783529650000,"timestamp_ms":1783529650000,"timestamp_seconds":1783529650,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a6b750"} 
[2026-07-08 22:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:25: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-07-08 22: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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-08 22:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1659,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:25:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":126784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":126784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":126784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583587072001,"66":27365,"83":206,"79":46336,"24":19,"16":343375711827918848,"45":7919720708202680320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,79,24,16,45]} 
[2026-07-08 22:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583587072001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:25:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-08 22:25:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-08 22:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343375711827918848,"km_value":343375711827918.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7919720708202680320,"description":"Unknown IO ID 45"} 
[2026-07-08 22:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583587072001,"power":27365,"unknown_83":206,"unknown_79":46336,"ignition":19,"odometer":null,"unknown_45":7919720708202680320}} 
[2026-07-08 22:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":126784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:25:31] local.INFO: GPS data processed {"connection_id":126784,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:25:31] local.INFO: Acknowledgment sent {"connection_id":126784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:25:36] local.INFO: TCP Data received {"connection_id":125897,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a4bf68012d196500071ff078003e014222..."} 
[2026-07-08 22:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a4bf68012d196500071ff078003e014222..."} 
[2026-07-08 22:25:36] local.INFO: Processing buffer {"connection_id":125897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a4bf68012d196500071ff078003e014222..."} 
[2026-07-08 22:25:36] local.INFO: Packet analysis {"connection_id":125897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a4"} 
[2026-07-08 22:25:36] local.INFO: Extracted packet for processing {"connection_id":125897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a4"} 
[2026-07-08 22:25:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583480320001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783529521000,"timestamp_ms":1783529521000,"timestamp_seconds":1783529521,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a4bf68"} 
[2026-07-08 22:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 22:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583480320001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583480320001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:25:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:25:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583480320001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":125897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:25:36] local.INFO: GPS data processed {"connection_id":125897,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:25:36] local.INFO: Acknowledgment sent {"connection_id":125897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:25:54] local.INFO: TCP Data received {"connection_id":126785,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:25:54] local.INFO: Processing buffer {"connection_id":126785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:25:54] local.INFO: IMEI packet received {"connection_id":126785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":126785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:25:57] local.INFO: TCP Data received {"connection_id":126785,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:25:57] local.INFO: Processing buffer {"connection_id":126785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:25:57] local.INFO: IMEI packet received {"connection_id":126785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":126785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:25:59] local.INFO: TCP Data received {"connection_id":128031,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:25:59] local.INFO: Processing buffer {"connection_id":128031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:25:59] local.INFO: IMEI packet received {"connection_id":128031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":128031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:26:00] local.INFO: TCP Data received {"connection_id":126785,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:26:00] local.INFO: Processing buffer {"connection_id":126785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:26:00] local.INFO: IMEI packet received {"connection_id":126785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":126785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:26:01] local.INFO: TCP Data received {"connection_id":126785,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a6bf20012d6dc240060cc7800004010a2d..."} 
[2026-07-08 22:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a6bf20012d6dc240060cc7800004010a2d..."} 
[2026-07-08 22:26:01] local.INFO: Processing buffer {"connection_id":126785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a6bf20012d6dc240060cc7800004010a2d..."} 
[2026-07-08 22:26:01] local.INFO: Packet analysis {"connection_id":126785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a6"} 
[2026-07-08 22:26:01] local.INFO: Extracted packet for processing {"connection_id":126785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a6"} 
[2026-07-08 22:26:01] local.INFO: GPS Element Parsed {"raw_longitude":762167872,"raw_latitude":101500800,"longitude_deg":76.2167872,"latitude_deg":10.15008,"altitude":4,"angle":266,"satellites":45,"speed":18,"hex_longitude":"2d6dc240","hex_latitude":"060cc780","is_valid_coordinates":true} 
[2026-07-08 22:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583590400001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343375759072559104,"note":"Value kept but may cause issues"} 
[2026-07-08 22:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7910080190251223040,"note":"Value kept but may cause issues"} 
[2026-07-08 22:26:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783529652000,"timestamp_ms":1783529652000,"timestamp_seconds":1783529652,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a6bf20"} 
[2026-07-08 22:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:26:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 22:26:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:26:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:26:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583590400001,"66":27300,"83":206,"79":46336,"24":18,"16":343375759072559104,"45":7910080190251223040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,79,24,16,45]} 
[2026-07-08 22:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583590400001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:26:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-08 22:26:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-08 22:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343375759072559104,"km_value":343375759072559.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7910080190251223040,"description":"Unknown IO ID 45"} 
[2026-07-08 22:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583590400001,"power":27300,"unknown_83":206,"unknown_79":46336,"ignition":18,"odometer":null,"unknown_45":7910080190251223040}} 
[2026-07-08 22:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":126785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:26:01] local.INFO: GPS data processed {"connection_id":126785,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:26:01] local.INFO: Acknowledgment sent {"connection_id":126785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:26:04] local.INFO: TCP Data received {"connection_id":128031,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:26:04] local.INFO: Processing buffer {"connection_id":128031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:26:04] local.INFO: IMEI packet received {"connection_id":128031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":128031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:26:05] local.INFO: TCP Data received {"connection_id":128031,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a4bf68012d196500071ff078003e014222..."} 
[2026-07-08 22:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a4bf68012d196500071ff078003e014222..."} 
[2026-07-08 22:26:05] local.INFO: Processing buffer {"connection_id":128031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a4bf68012d196500071ff078003e014222..."} 
[2026-07-08 22:26:05] local.INFO: Packet analysis {"connection_id":128031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a4"} 
[2026-07-08 22:26:05] local.INFO: Extracted packet for processing {"connection_id":128031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a4"} 
[2026-07-08 22:26:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583480320001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783529521000,"timestamp_ms":1783529521000,"timestamp_seconds":1783529521,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a4bf68"} 
[2026-07-08 22:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 22:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583480320001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583480320001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:26:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:26:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583480320001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":128031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:26:05] local.INFO: GPS data processed {"connection_id":128031,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:26:05] local.INFO: Acknowledgment sent {"connection_id":128031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:26:32] local.INFO: TCP Data received {"connection_id":126785,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a6cec0012d6dba80060cc8400005011a2d..."} 
[2026-07-08 22:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a6cec0012d6dba80060cc8400005011a2d..."} 
[2026-07-08 22:26:32] local.INFO: Processing buffer {"connection_id":126785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a6cec0012d6dba80060cc8400005011a2d..."} 
[2026-07-08 22:26:32] local.INFO: Packet analysis {"connection_id":126785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a6"} 
[2026-07-08 22:26:32] local.INFO: Extracted packet for processing {"connection_id":126785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a6"} 
[2026-07-08 22:26:32] local.INFO: GPS Element Parsed {"raw_longitude":762165888,"raw_latitude":101500992,"longitude_deg":76.2165888,"latitude_deg":10.1500992,"altitude":5,"angle":282,"satellites":45,"speed":21,"hex_longitude":"2d6dba80","hex_latitude":"060cc840","is_valid_coordinates":true} 
[2026-07-08 22: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-07-08 22:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583590912001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343375853561839616,"note":"Value kept but may cause issues"} 
[2026-07-08 22:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7908954290344394752,"note":"Value kept but may cause issues"} 
[2026-07-08 22:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783529656000,"timestamp_ms":1783529656000,"timestamp_seconds":1783529656,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a6cec0"} 
[2026-07-08 22:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-08 22:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583590912001,"66":27321,"83":206,"79":46336,"24":21,"16":343375853561839616,"45":7908954290344394752},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,79,24,16,45]} 
[2026-07-08 22:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583590912001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:26:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-08 22:26:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-08 22:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343375853561839616,"km_value":343375853561839.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7908954290344394752,"description":"Unknown IO ID 45"} 
[2026-07-08 22:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583590912001,"power":27321,"unknown_83":206,"unknown_79":46336,"ignition":21,"odometer":null,"unknown_45":7908954290344394752}} 
[2026-07-08 22:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":126785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:26:32] local.INFO: GPS data processed {"connection_id":126785,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:26:32] local.INFO: Acknowledgment sent {"connection_id":126785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:26:36] local.INFO: TCP Data received {"connection_id":128031,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a4bf68012d196500071ff078003e014222..."} 
[2026-07-08 22:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a4bf68012d196500071ff078003e014222..."} 
[2026-07-08 22:26:36] local.INFO: Processing buffer {"connection_id":128031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a4bf68012d196500071ff078003e014222..."} 
[2026-07-08 22:26:36] local.INFO: Packet analysis {"connection_id":128031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a4"} 
[2026-07-08 22:26:36] local.INFO: Extracted packet for processing {"connection_id":128031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a4"} 
[2026-07-08 22:26:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583480320001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783529521000,"timestamp_ms":1783529521000,"timestamp_seconds":1783529521,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a4bf68"} 
[2026-07-08 22:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 22:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583480320001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583480320001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:26:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:26:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583480320001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":128031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:26:36] local.INFO: GPS data processed {"connection_id":128031,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:26:36] local.INFO: Acknowledgment sent {"connection_id":128031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:26:59] local.INFO: TCP Data received {"connection_id":126035,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:26:59] local.INFO: Processing buffer {"connection_id":126035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:26:59] local.INFO: IMEI packet received {"connection_id":126035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":126035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:27:00] local.INFO: TCP Data received {"connection_id":128033,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:27:00] local.INFO: Processing buffer {"connection_id":128033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:27:00] local.INFO: IMEI packet received {"connection_id":128033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":128033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:27:03] local.INFO: TCP Data received {"connection_id":128033,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:27:03] local.INFO: Processing buffer {"connection_id":128033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:27:03] local.INFO: IMEI packet received {"connection_id":128033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":128033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:27:04] local.INFO: TCP Data received {"connection_id":126035,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:27:04] local.INFO: Processing buffer {"connection_id":126035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:27:04] local.INFO: IMEI packet received {"connection_id":126035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":126035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:27:05] local.INFO: TCP Data received {"connection_id":128033,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a874a0012d6d4200060da3a0000801622c..."} 
[2026-07-08 22:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a874a0012d6d4200060da3a0000801622c..."} 
[2026-07-08 22:27:05] local.INFO: Processing buffer {"connection_id":128033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a874a0012d6d4200060da3a0000801622c..."} 
[2026-07-08 22:27:05] local.INFO: Packet analysis {"connection_id":128033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a8"} 
[2026-07-08 22:27:05] local.INFO: Extracted packet for processing {"connection_id":128033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a8"} 
[2026-07-08 22:27:05] local.INFO: GPS Element Parsed {"raw_longitude":762135040,"raw_latitude":101557152,"longitude_deg":76.213504,"latitude_deg":10.1557152,"altitude":8,"angle":354,"satellites":44,"speed":19,"hex_longitude":"2d6d4200","hex_latitude":"060da3a0","is_valid_coordinates":true} 
[2026-07-08 22:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583614720001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343379216521232384,"note":"Value kept but may cause issues"} 
[2026-07-08 22:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7873910655755999232,"note":"Value kept but may cause issues"} 
[2026-07-08 22:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783529764000,"timestamp_ms":1783529764000,"timestamp_seconds":1783529764,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a874a0"} 
[2026-07-08 22:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 22:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583614720001,"66":27267,"46":206,"79":46336,"24":19,"16":343379216521232384,"45":7873910655755999232},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,79,24,16,45]} 
[2026-07-08 22:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583614720001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:27:05] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-07-08 22:27:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-08 22:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343379216521232384,"km_value":343379216521232.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7873910655755999232,"description":"Unknown IO ID 45"} 
[2026-07-08 22:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583614720001,"power":27267,"unknown_46":206,"unknown_79":46336,"ignition":19,"odometer":null,"unknown_45":7873910655755999232}} 
[2026-07-08 22:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":128033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:27:05] local.INFO: GPS data processed {"connection_id":128033,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:27:05] local.INFO: Acknowledgment sent {"connection_id":128033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:27:05] local.INFO: TCP Data received {"connection_id":126035,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a4bf68012d196500071ff078003e014222..."} 
[2026-07-08 22:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a4bf68012d196500071ff078003e014222..."} 
[2026-07-08 22:27:05] local.INFO: Processing buffer {"connection_id":126035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a4bf68012d196500071ff078003e014222..."} 
[2026-07-08 22:27:05] local.INFO: Packet analysis {"connection_id":126035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a4"} 
[2026-07-08 22:27:05] local.INFO: Extracted packet for processing {"connection_id":126035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a4"} 
[2026-07-08 22:27:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583480320001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783529521000,"timestamp_ms":1783529521000,"timestamp_seconds":1783529521,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a4bf68"} 
[2026-07-08 22:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 22:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583480320001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583480320001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:27:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:27:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583480320001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":126035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:27:05] local.INFO: GPS data processed {"connection_id":126035,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:27:05] local.INFO: Acknowledgment sent {"connection_id":126035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:27:06] local.INFO: TCP Data received {"connection_id":128033,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a893e0012d6d4140060db450000800062d..."} 
[2026-07-08 22:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a893e0012d6d4140060db450000800062d..."} 
[2026-07-08 22:27:06] local.INFO: Processing buffer {"connection_id":128033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a893e0012d6d4140060db450000800062d..."} 
[2026-07-08 22:27:06] local.INFO: Packet analysis {"connection_id":128033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a8"} 
[2026-07-08 22:27:06] local.INFO: Extracted packet for processing {"connection_id":128033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a8"} 
[2026-07-08 22:27:06] local.INFO: GPS Element Parsed {"raw_longitude":762134848,"raw_latitude":101561424,"longitude_deg":76.2134848,"latitude_deg":10.1561424,"altitude":8,"angle":6,"satellites":45,"speed":19,"hex_longitude":"2d6d4140","hex_latitude":"060db450","is_valid_coordinates":true} 
[2026-07-08 22:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583619584001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343379422679662592,"note":"Value kept but may cause issues"} 
[2026-07-08 22:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7872855124595679232,"note":"Value kept but may cause issues"} 
[2026-07-08 22:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783529772000,"timestamp_ms":1783529772000,"timestamp_seconds":1783529772,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a893e0"} 
[2026-07-08 22:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 22:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583619584001,"66":27343,"46":206,"79":46336,"24":19,"16":343379422679662592,"45":7872855124595679232},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,79,24,16,45]} 
[2026-07-08 22:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583619584001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:27:06] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-07-08 22:27:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-08 22:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343379422679662592,"km_value":343379422679662.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7872855124595679232,"description":"Unknown IO ID 45"} 
[2026-07-08 22:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583619584001,"power":27343,"unknown_46":206,"unknown_79":46336,"ignition":19,"odometer":null,"unknown_45":7872855124595679232}} 
[2026-07-08 22:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":128033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:27:06] local.INFO: GPS data processed {"connection_id":128033,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:27:06] local.INFO: Acknowledgment sent {"connection_id":128033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:27:36] local.INFO: TCP Data received {"connection_id":126035,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a4bf68012d196500071ff078003e014222..."} 
[2026-07-08 22:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a4bf68012d196500071ff078003e014222..."} 
[2026-07-08 22:27:36] local.INFO: Processing buffer {"connection_id":126035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a4bf68012d196500071ff078003e014222..."} 
[2026-07-08 22:27:36] local.INFO: Packet analysis {"connection_id":126035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a4"} 
[2026-07-08 22:27:36] local.INFO: Extracted packet for processing {"connection_id":126035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a4"} 
[2026-07-08 22:27:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583480320001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783529521000,"timestamp_ms":1783529521000,"timestamp_seconds":1783529521,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a4bf68"} 
[2026-07-08 22:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 22:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583480320001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583480320001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:27:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:27:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583480320001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":126035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:27:36] local.INFO: GPS data processed {"connection_id":126035,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:27:36] local.INFO: Acknowledgment sent {"connection_id":126035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:27:36] local.INFO: TCP Data received {"connection_id":128033,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a8c6a8012d6d43c0060dcec00006015e2d..."} 
[2026-07-08 22:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a8c6a8012d6d43c0060dcec00006015e2d..."} 
[2026-07-08 22:27:37] local.INFO: Processing buffer {"connection_id":128033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a8c6a8012d6d43c0060dcec00006015e2d..."} 
[2026-07-08 22:27:37] local.INFO: Packet analysis {"connection_id":128033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a8"} 
[2026-07-08 22:27:37] local.INFO: Extracted packet for processing {"connection_id":128033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a8"} 
[2026-07-08 22:27:37] local.INFO: GPS Element Parsed {"raw_longitude":762135488,"raw_latitude":101568192,"longitude_deg":76.2135488,"latitude_deg":10.1568192,"altitude":6,"angle":350,"satellites":45,"speed":21,"hex_longitude":"2d6d43c0","hex_latitude":"060dcec0","is_valid_coordinates":true} 
[2026-07-08 22:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583621632001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343379757687111680,"note":"Value kept but may cause issues"} 
[2026-07-08 22:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7872644018364239872,"note":"Value kept but may cause issues"} 
[2026-07-08 22:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783529785000,"timestamp_ms":1783529785000,"timestamp_seconds":1783529785,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a8c6a8"} 
[2026-07-08 22:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 22:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583621632001,"66":27376,"46":206,"79":46336,"24":21,"16":343379757687111680,"45":7872644018364239872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,79,24,16,45]} 
[2026-07-08 22:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583621632001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:27:37] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-07-08 22:27:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-08 22:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343379757687111680,"km_value":343379757687111.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7872644018364239872,"description":"Unknown IO ID 45"} 
[2026-07-08 22:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583621632001,"power":27376,"unknown_46":206,"unknown_79":46336,"ignition":21,"odometer":null,"unknown_45":7872644018364239872}} 
[2026-07-08 22:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":128033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:27:37] local.INFO: GPS data processed {"connection_id":128033,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:27:37] local.INFO: Acknowledgment sent {"connection_id":128033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:27:54] local.INFO: TCP Data received {"connection_id":126036,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:27:54] local.INFO: Processing buffer {"connection_id":126036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:27:54] local.INFO: IMEI packet received {"connection_id":126036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":126036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:27:54] local.INFO: TCP Data received {"connection_id":126036,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:27:54] local.INFO: Processing buffer {"connection_id":126036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:27:54] local.INFO: IMEI packet received {"connection_id":126036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":126036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:27:58] local.INFO: TCP Data received {"connection_id":126036,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:27:58] local.INFO: Processing buffer {"connection_id":126036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:27:58] local.INFO: IMEI packet received {"connection_id":126036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":126036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:27:59] local.INFO: TCP Data received {"connection_id":126036,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a918b0012d6d3e80060ded700007015c2a..."} 
[2026-07-08 22:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a918b0012d6d3e80060ded700007015c2a..."} 
[2026-07-08 22:27:59] local.INFO: Processing buffer {"connection_id":126036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a918b0012d6d3e80060ded700007015c2a..."} 
[2026-07-08 22:27:59] local.INFO: Packet analysis {"connection_id":126036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a9"} 
[2026-07-08 22:27:59] local.INFO: Extracted packet for processing {"connection_id":126036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a9"} 
[2026-07-08 22:27:59] local.INFO: GPS Element Parsed {"raw_longitude":762134144,"raw_latitude":101576048,"longitude_deg":76.2134144,"latitude_deg":10.1576048,"altitude":7,"angle":348,"satellites":42,"speed":13,"hex_longitude":"2d6d3e80","hex_latitude":"060ded70","is_valid_coordinates":true} 
[2026-07-08 22:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583624960001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7873347705807749120,"note":"Value kept but may cause issues"} 
[2026-07-08 22:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343380144234168320,"note":"Value kept but may cause issues"} 
[2026-07-08 22:27:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 22:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783529806000,"timestamp_ms":1783529806000,"timestamp_seconds":1783529806,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a918b0"} 
[2026-07-08 22:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 22:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":126036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":126036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":126036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583624960001,"66":27343,"45":7873347705807749120,"79":46336,"24":13,"16":343380144234168320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-07-08 22:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583624960001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7873347705807749120,"description":"Unknown IO ID 45"} 
[2026-07-08 22:27:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-08 22:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343380144234168320,"km_value":343380144234168.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:27:59] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456583624960001,"power":27343,"unknown_45":7873347705807749120,"unknown_79":46336,"ignition":13,"odometer":null}} 
[2026-07-08 22:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":126036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:27:59] local.INFO: GPS data processed {"connection_id":126036,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:27:59] local.INFO: Acknowledgment sent {"connection_id":126036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:27:59] local.INFO: TCP Data received {"connection_id":125898,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:27:59] local.INFO: Processing buffer {"connection_id":125898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:27:59] local.INFO: IMEI packet received {"connection_id":125898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":125898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:28:04] local.INFO: TCP Data received {"connection_id":125898,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:28:04] local.INFO: Processing buffer {"connection_id":125898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:28:04] local.INFO: IMEI packet received {"connection_id":125898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":125898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:28:05] local.INFO: TCP Data received {"connection_id":125898,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a95730012d196500071ff078003e014227..."} 
[2026-07-08 22:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a95730012d196500071ff078003e014227..."} 
[2026-07-08 22:28:05] local.INFO: Processing buffer {"connection_id":125898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a95730012d196500071ff078003e014227..."} 
[2026-07-08 22:28:05] local.INFO: Packet analysis {"connection_id":125898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a9"} 
[2026-07-08 22:28:05] local.INFO: Extracted packet for processing {"connection_id":125898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a9"} 
[2026-07-08 22:28:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583557376001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783529822000,"timestamp_ms":1783529822000,"timestamp_seconds":1783529822,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a95730"} 
[2026-07-08 22:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583557376001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583557376001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:28:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:28:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583557376001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":125898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:28:05] local.INFO: GPS data processed {"connection_id":125898,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:28:05] local.INFO: Acknowledgment sent {"connection_id":125898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:28:09] local.INFO: TCP Data received {"connection_id":125898,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a95730012d196500071ff078003e014227..."} 
[2026-07-08 22:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a95730012d196500071ff078003e014227..."} 
[2026-07-08 22:28:09] local.INFO: Processing buffer {"connection_id":125898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a95730012d196500071ff078003e014227..."} 
[2026-07-08 22:28:09] local.INFO: Packet analysis {"connection_id":125898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a9"} 
[2026-07-08 22:28:09] local.INFO: Extracted packet for processing {"connection_id":125898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a9"} 
[2026-07-08 22:28:09] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583557376001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783529822000,"timestamp_ms":1783529822000,"timestamp_seconds":1783529822,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a95730"} 
[2026-07-08 22:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:28:09] 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-07-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583557376001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583557376001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:28:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:28:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583557376001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":125898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:28:09] local.INFO: GPS data processed {"connection_id":125898,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:28:09] local.INFO: Acknowledgment sent {"connection_id":125898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:28:30] local.INFO: TCP Data received {"connection_id":126036,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a95f00012d6d3840060e0f18000800002d..."} 
[2026-07-08 22:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a95f00012d6d3840060e0f18000800002d..."} 
[2026-07-08 22:28:30] local.INFO: Processing buffer {"connection_id":126036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a95f00012d6d3840060e0f18000800002d..."} 
[2026-07-08 22:28:30] local.INFO: Packet analysis {"connection_id":126036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a9"} 
[2026-07-08 22:28:30] local.INFO: Extracted packet for processing {"connection_id":126036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a9"} 
[2026-07-08 22:28:30] local.INFO: GPS Element Parsed {"raw_longitude":762132544,"raw_latitude":101584664,"longitude_deg":76.2132544,"latitude_deg":10.1584664,"altitude":8,"angle":0,"satellites":45,"speed":21,"hex_longitude":"2d6d3840","hex_latitude":"060e0f18","is_valid_coordinates":true} 
[2026-07-08 22: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-07-08 22:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583630336001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7871869962182029312,"note":"Value kept but may cause issues"} 
[2026-07-08 22:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343380569435930624,"note":"Value kept but may cause issues"} 
[2026-07-08 22:28:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 22:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783529824000,"timestamp_ms":1783529824000,"timestamp_seconds":1783529824,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a95f00"} 
[2026-07-08 22:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:28: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-07-08 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 22:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":126036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":126036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":126036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583630336001,"66":27267,"45":7871869962182029312,"79":46336,"24":21,"16":343380569435930624},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-07-08 22:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583630336001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":7871869962182029312,"description":"Unknown IO ID 45"} 
[2026-07-08 22:28:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-08 22:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343380569435930624,"km_value":343380569435930.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:28:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456583630336001,"power":27267,"unknown_45":7871869962182029312,"unknown_79":46336,"ignition":21,"odometer":null}} 
[2026-07-08 22:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":126036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:28:30] local.INFO: GPS data processed {"connection_id":126036,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:28:30] local.INFO: Acknowledgment sent {"connection_id":126036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:28:40] local.INFO: TCP Data received {"connection_id":125898,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a95730012d196500071ff078003e014227..."} 
[2026-07-08 22:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a95730012d196500071ff078003e014227..."} 
[2026-07-08 22:28:40] local.INFO: Processing buffer {"connection_id":125898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a95730012d196500071ff078003e014227..."} 
[2026-07-08 22:28:40] local.INFO: Packet analysis {"connection_id":125898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a9"} 
[2026-07-08 22:28:40] local.INFO: Extracted packet for processing {"connection_id":125898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a9"} 
[2026-07-08 22:28:40] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583557376001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:28: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-07-08 22:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783529822000,"timestamp_ms":1783529822000,"timestamp_seconds":1783529822,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a95730"} 
[2026-07-08 22:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:28: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-07-08 22:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583557376001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583557376001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:28:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:28:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583557376001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":125898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:28:41] local.INFO: GPS data processed {"connection_id":125898,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:28:41] local.INFO: Acknowledgment sent {"connection_id":125898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:28:55] local.INFO: TCP Data received {"connection_id":126037,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:28:55] local.INFO: Processing buffer {"connection_id":126037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:28:55] local.INFO: IMEI packet received {"connection_id":126037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":126037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:28:58] local.INFO: TCP Data received {"connection_id":126037,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:28:58] local.INFO: Processing buffer {"connection_id":126037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:28:58] local.INFO: IMEI packet received {"connection_id":126037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":126037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:28:59] local.INFO: TCP Data received {"connection_id":126037,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a96ab8012d6d3900060e15100009000c2b..."} 
[2026-07-08 22:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a96ab8012d6d3900060e15100009000c2b..."} 
[2026-07-08 22:28:59] local.INFO: Processing buffer {"connection_id":126037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a96ab8012d6d3900060e15100009000c2b..."} 
[2026-07-08 22:28:59] local.INFO: Packet analysis {"connection_id":126037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a9"} 
[2026-07-08 22:28:59] local.INFO: Extracted packet for processing {"connection_id":126037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a9"} 
[2026-07-08 22:28:59] local.INFO: GPS Element Parsed {"raw_longitude":762132736,"raw_latitude":101586192,"longitude_deg":76.2132736,"latitude_deg":10.1586192,"altitude":9,"angle":12,"satellites":43,"speed":20,"hex_longitude":"2d6d3900","hex_latitude":"060e1510","is_valid_coordinates":true} 
[2026-07-08 22:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583634944001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7870110743579793408,"note":"Value kept but may cause issues"} 
[2026-07-08 22:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343380642450374656,"note":"Value kept but may cause issues"} 
[2026-07-08 22:28:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 22:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783529827000,"timestamp_ms":1783529827000,"timestamp_seconds":1783529827,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a96ab8"} 
[2026-07-08 22:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 22:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":126037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":126037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":126037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583634944001,"66":27332,"45":7870110743579793408,"79":46336,"24":20,"16":343380642450374656},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-07-08 22:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583634944001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7870110743579793408,"description":"Unknown IO ID 45"} 
[2026-07-08 22:28:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-08 22:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343380642450374656,"km_value":343380642450374.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:28:59] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456583634944001,"power":27332,"unknown_45":7870110743579793408,"unknown_79":46336,"ignition":20,"odometer":null}} 
[2026-07-08 22:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":126037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:28:59] local.INFO: GPS data processed {"connection_id":126037,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:28:59] local.INFO: Acknowledgment sent {"connection_id":126037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:28:59] local.INFO: TCP Data received {"connection_id":128034,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:28:59] local.INFO: Processing buffer {"connection_id":128034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:28:59] local.INFO: IMEI packet received {"connection_id":128034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":128034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:29:04] local.INFO: TCP Data received {"connection_id":128034,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:29:04] local.INFO: Processing buffer {"connection_id":128034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:29:04] local.INFO: IMEI packet received {"connection_id":128034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":128034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:29:05] local.INFO: TCP Data received {"connection_id":128034,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a95730012d196500071ff078003e014227..."} 
[2026-07-08 22:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a95730012d196500071ff078003e014227..."} 
[2026-07-08 22:29:05] local.INFO: Processing buffer {"connection_id":128034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a95730012d196500071ff078003e014227..."} 
[2026-07-08 22:29:05] local.INFO: Packet analysis {"connection_id":128034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a9"} 
[2026-07-08 22:29:05] local.INFO: Extracted packet for processing {"connection_id":128034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a9"} 
[2026-07-08 22:29:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583557376001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783529822000,"timestamp_ms":1783529822000,"timestamp_seconds":1783529822,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a95730"} 
[2026-07-08 22:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583557376001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583557376001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:29:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:29:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583557376001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":128034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:29:05] local.INFO: GPS data processed {"connection_id":128034,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:29:05] local.INFO: Acknowledgment sent {"connection_id":128034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:29:30] local.INFO: TCP Data received {"connection_id":126037,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a97670012d6d3ac0060e1ab0000900172b..."} 
[2026-07-08 22:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a97670012d6d3ac0060e1ab0000900172b..."} 
[2026-07-08 22:29:30] local.INFO: Processing buffer {"connection_id":126037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a97670012d6d3ac0060e1ab0000900172b..."} 
[2026-07-08 22:29:30] local.INFO: Packet analysis {"connection_id":126037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a9"} 
[2026-07-08 22:29:30] local.INFO: Extracted packet for processing {"connection_id":126037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a9"} 
[2026-07-08 22:29:30] local.INFO: GPS Element Parsed {"raw_longitude":762133184,"raw_latitude":101587632,"longitude_deg":76.2133184,"latitude_deg":10.1587632,"altitude":9,"angle":23,"satellites":43,"speed":18,"hex_longitude":"2d6d3ac0","hex_latitude":"060e1ab0","is_valid_coordinates":true} 
[2026-07-08 22: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-07-08 22:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583635712001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7870321849812717568,"note":"Value kept but may cause issues"} 
[2026-07-08 22:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343380719759785984,"note":"Value kept but may cause issues"} 
[2026-07-08 22:29:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 22:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783529830000,"timestamp_ms":1783529830000,"timestamp_seconds":1783529830,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a97670"} 
[2026-07-08 22:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:29: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-07-08 22: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-08 22:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":126037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":126037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":126037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583635712001,"66":27310,"45":7870321849812717568,"79":46336,"24":18,"16":343380719759785984},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-07-08 22:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583635712001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":7870321849812717568,"description":"Unknown IO ID 45"} 
[2026-07-08 22:29:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-08 22:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343380719759785984,"km_value":343380719759786.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:29:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456583635712001,"power":27310,"unknown_45":7870321849812717568,"unknown_79":46336,"ignition":18,"odometer":null}} 
[2026-07-08 22:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":126037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:29:30] local.INFO: GPS data processed {"connection_id":126037,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:29:30] local.INFO: Acknowledgment sent {"connection_id":126037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:29:30] local.INFO: TCP Data received {"connection_id":128035,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128035,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:29:30] local.INFO: Processing buffer {"connection_id":128035,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:29:30] local.INFO: IMEI packet received {"connection_id":128035,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 22:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":128035,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:29:36] local.INFO: TCP Data received {"connection_id":128034,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a95730012d196500071ff078003e014227..."} 
[2026-07-08 22:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a95730012d196500071ff078003e014227..."} 
[2026-07-08 22:29:36] local.INFO: Processing buffer {"connection_id":128034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a95730012d196500071ff078003e014227..."} 
[2026-07-08 22:29:36] local.INFO: Packet analysis {"connection_id":128034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a9"} 
[2026-07-08 22:29:36] local.INFO: Extracted packet for processing {"connection_id":128034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a9"} 
[2026-07-08 22:29:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583557376001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783529822000,"timestamp_ms":1783529822000,"timestamp_seconds":1783529822,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a95730"} 
[2026-07-08 22:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:29:36] 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-07-08 22:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583557376001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583557376001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:29:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:29:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583557376001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":128034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:29:36] local.INFO: GPS data processed {"connection_id":128034,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:29:36] local.INFO: Acknowledgment sent {"connection_id":128034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:29:55] local.INFO: TCP Data received {"connection_id":126786,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:29:55] local.INFO: Processing buffer {"connection_id":126786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:29:55] local.INFO: IMEI packet received {"connection_id":126786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":126786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:29:55] local.INFO: TCP Data received {"connection_id":126038,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126038,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:29:55] local.INFO: Processing buffer {"connection_id":126038,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:29:55] local.INFO: IMEI packet received {"connection_id":126038,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 22:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":126038,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:29:57] local.INFO: TCP Data received {"connection_id":126786,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:29:57] local.INFO: Processing buffer {"connection_id":126786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:29:57] local.INFO: IMEI packet received {"connection_id":126786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":126786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:29:59] local.INFO: TCP Data received {"connection_id":126787,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:29:59] local.INFO: Processing buffer {"connection_id":126787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:29:59] local.INFO: IMEI packet received {"connection_id":126787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":126787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:29:59] local.INFO: TCP Data received {"connection_id":126786,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:29:59] local.INFO: Processing buffer {"connection_id":126786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:29:59] local.INFO: IMEI packet received {"connection_id":126786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":126786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:30:00] local.INFO: TCP Data received {"connection_id":126786,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a98de0012d6d3f80060e23b8000800232e..."} 
[2026-07-08 22:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a98de0012d6d3f80060e23b8000800232e..."} 
[2026-07-08 22:30:00] local.INFO: Processing buffer {"connection_id":126786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a98de0012d6d3f80060e23b8000800232e..."} 
[2026-07-08 22:30:00] local.INFO: Packet analysis {"connection_id":126786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a9"} 
[2026-07-08 22:30:00] local.INFO: Extracted packet for processing {"connection_id":126786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a9"} 
[2026-07-08 22:30:00] local.INFO: GPS Element Parsed {"raw_longitude":762134400,"raw_latitude":101589944,"longitude_deg":76.21344,"latitude_deg":10.1589944,"altitude":8,"angle":35,"satellites":46,"speed":13,"hex_longitude":"2d6d3f80","hex_latitude":"060e23b8","is_valid_coordinates":true} 
[2026-07-08 22:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583636480001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7870814431022329856,"note":"Value kept but may cause issues"} 
[2026-07-08 22:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343380844313837568,"note":"Value kept but may cause issues"} 
[2026-07-08 22:30:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 22:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783529836000,"timestamp_ms":1783529836000,"timestamp_seconds":1783529836,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a98de0"} 
[2026-07-08 22:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-08 22:30:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:30:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583636480001,"66":27365,"45":7870814431022329856,"79":46336,"24":13,"16":343380844313837568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-07-08 22:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583636480001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7870814431022329856,"description":"Unknown IO ID 45"} 
[2026-07-08 22:30:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-08 22:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343380844313837568,"km_value":343380844313837.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:30:00] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456583636480001,"power":27365,"unknown_45":7870814431022329856,"unknown_79":46336,"ignition":13,"odometer":null}} 
[2026-07-08 22:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":126786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:30:00] local.INFO: GPS data processed {"connection_id":126786,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:30:00] local.INFO: Acknowledgment sent {"connection_id":126786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:30:04] local.INFO: TCP Data received {"connection_id":126787,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:30:04] local.INFO: Processing buffer {"connection_id":126787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:30:04] local.INFO: IMEI packet received {"connection_id":126787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":126787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:30:05] local.INFO: TCP Data received {"connection_id":126787,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a95730012d196500071ff078003e014227..."} 
[2026-07-08 22:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a95730012d196500071ff078003e014227..."} 
[2026-07-08 22:30:05] local.INFO: Processing buffer {"connection_id":126787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a95730012d196500071ff078003e014227..."} 
[2026-07-08 22:30:05] local.INFO: Packet analysis {"connection_id":126787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a9"} 
[2026-07-08 22:30:05] local.INFO: Extracted packet for processing {"connection_id":126787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a9"} 
[2026-07-08 22:30:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583557376001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783529822000,"timestamp_ms":1783529822000,"timestamp_seconds":1783529822,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a95730"} 
[2026-07-08 22:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583557376001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583557376001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:30:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:30:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583557376001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":126787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:30:05] local.INFO: GPS data processed {"connection_id":126787,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:30:05] local.INFO: Acknowledgment sent {"connection_id":126787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:30:05] local.INFO: TCP Data received {"connection_id":126786,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a99d80012d6d4240060e2828000700142e..."} 
[2026-07-08 22:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a99d80012d6d4240060e2828000700142e..."} 
[2026-07-08 22:30:05] local.INFO: Processing buffer {"connection_id":126786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a99d80012d6d4240060e2828000700142e..."} 
[2026-07-08 22:30:05] local.INFO: Packet analysis {"connection_id":126786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a9"} 
[2026-07-08 22:30:05] local.INFO: Extracted packet for processing {"connection_id":126786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a9"} 
[2026-07-08 22:30:05] local.INFO: GPS Element Parsed {"raw_longitude":762135104,"raw_latitude":101591080,"longitude_deg":76.2135104,"latitude_deg":10.159108,"altitude":7,"angle":20,"satellites":46,"speed":14,"hex_longitude":"2d6d4240","hex_latitude":"060e2828","is_valid_coordinates":true} 
[2026-07-08 22:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583638016001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7872151437162297344,"note":"Value kept but may cause issues"} 
[2026-07-08 22:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343380908738347008,"note":"Value kept but may cause issues"} 
[2026-07-08 22:30:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-08 22:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783529840000,"timestamp_ms":1783529840000,"timestamp_seconds":1783529840,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a99d80"} 
[2026-07-08 22:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 22:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583638016001,"66":27267,"45":7872151437162297344,"79":46336,"24":14,"16":343380908738347008},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-07-08 22:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583638016001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7872151437162297344,"description":"Unknown IO ID 45"} 
[2026-07-08 22:30:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-08 22:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343380908738347008,"km_value":343380908738347.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:30:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456583638016001,"power":27267,"unknown_45":7872151437162297344,"unknown_79":46336,"ignition":14,"odometer":null}} 
[2026-07-08 22:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":126786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:30:05] local.INFO: GPS data processed {"connection_id":126786,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:30:05] local.INFO: Acknowledgment sent {"connection_id":126786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:30:36] local.INFO: TCP Data received {"connection_id":126787,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a95730012d196500071ff078003e014227..."} 
[2026-07-08 22:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a95730012d196500071ff078003e014227..."} 
[2026-07-08 22:30:36] local.INFO: Processing buffer {"connection_id":126787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a95730012d196500071ff078003e014227..."} 
[2026-07-08 22:30:36] local.INFO: Packet analysis {"connection_id":126787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a9"} 
[2026-07-08 22:30:36] local.INFO: Extracted packet for processing {"connection_id":126787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a9"} 
[2026-07-08 22:30:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583557376001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783529822000,"timestamp_ms":1783529822000,"timestamp_seconds":1783529822,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a95730"} 
[2026-07-08 22:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:30:36] 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-07-08 22:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583557376001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583557376001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:30:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:30:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583557376001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":126787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:30:36] local.INFO: GPS data processed {"connection_id":126787,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:30:36] local.INFO: Acknowledgment sent {"connection_id":126787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:30:36] local.INFO: TCP Data received {"connection_id":126786,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42ab8d98012d6d4840060f02e8000601572b..."} 
[2026-07-08 22:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42ab8d98012d6d4840060f02e8000601572b..."} 
[2026-07-08 22:30:36] local.INFO: Processing buffer {"connection_id":126786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42ab8d98012d6d4840060f02e8000601572b..."} 
[2026-07-08 22:30:36] local.INFO: Packet analysis {"connection_id":126786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ab"} 
[2026-07-08 22:30:36] local.INFO: Extracted packet for processing {"connection_id":126786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ab"} 
[2026-07-08 22:30:36] local.INFO: GPS Element Parsed {"raw_longitude":762136640,"raw_latitude":101647080,"longitude_deg":76.213664,"latitude_deg":10.164708,"altitude":6,"angle":343,"satellites":43,"speed":29,"hex_longitude":"2d6d4840","hex_latitude":"060f02e8","is_valid_coordinates":true} 
[2026-07-08 22:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583669504001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343383760596631552,"note":"Value kept but may cause issues"} 
[2026-07-08 22:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7876795774291431424,"note":"Value kept but may cause issues"} 
[2026-07-08 22:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783529967000,"timestamp_ms":1783529967000,"timestamp_seconds":1783529967,"priority":1,"record_length":96,"hex_timestamp":"0000019f42ab8d98"} 
[2026-07-08 22:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-08 22:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583669504001,"66":27376,"12":206,"79":46336,"24":29,"16":343383760596631552,"45":7876795774291431424},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,79,24,16,45]} 
[2026-07-08 22:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583669504001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:30:36] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-07-08 22:30:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-08 22:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343383760596631552,"km_value":343383760596631.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":7876795774291431424,"description":"Unknown IO ID 45"} 
[2026-07-08 22:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583669504001,"power":27376,"unknown_12":206,"unknown_79":46336,"ignition":29,"odometer":null,"unknown_45":7876795774291431424}} 
[2026-07-08 22:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":126786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:30:36] local.INFO: GPS data processed {"connection_id":126786,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:30:36] local.INFO: Acknowledgment sent {"connection_id":126786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:30:55] local.INFO: TCP Data received {"connection_id":128036,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:30:55] local.INFO: Processing buffer {"connection_id":128036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:30:55] local.INFO: IMEI packet received {"connection_id":128036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":128036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:30:55] local.INFO: TCP Data received {"connection_id":128036,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:30:55] local.INFO: Processing buffer {"connection_id":128036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:30:55] local.INFO: IMEI packet received {"connection_id":128036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":128036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:30:58] local.INFO: TCP Data received {"connection_id":128036,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:30:58] local.INFO: Processing buffer {"connection_id":128036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:30:58] local.INFO: IMEI packet received {"connection_id":128036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":128036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:30:59] local.INFO: TCP Data received {"connection_id":125900,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:30:59] local.INFO: Processing buffer {"connection_id":125900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:30:59] local.INFO: IMEI packet received {"connection_id":125900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":125900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:31:00] local.INFO: TCP Data received {"connection_id":128036,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:31:00] local.INFO: Processing buffer {"connection_id":128036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:31:00] local.INFO: IMEI packet received {"connection_id":128036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":128036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:31:01] local.INFO: TCP Data received {"connection_id":128036,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42abb4a8012d6d3f00060f25200006015c2a..."} 
[2026-07-08 22:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42abb4a8012d6d3f00060f25200006015c2a..."} 
[2026-07-08 22:31:01] local.INFO: Processing buffer {"connection_id":128036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42abb4a8012d6d3f00060f25200006015c2a..."} 
[2026-07-08 22:31:01] local.INFO: Packet analysis {"connection_id":128036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ab"} 
[2026-07-08 22:31:01] local.INFO: Extracted packet for processing {"connection_id":128036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ab"} 
[2026-07-08 22:31:01] local.INFO: GPS Element Parsed {"raw_longitude":762134272,"raw_latitude":101655840,"longitude_deg":76.2134272,"latitude_deg":10.165584,"altitude":6,"angle":348,"satellites":42,"speed":39,"hex_longitude":"2d6d3f00","hex_latitude":"060f2520","is_valid_coordinates":true} 
[2026-07-08 22:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583671552001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343384198683295744,"note":"Value kept but may cause issues"} 
[2026-07-08 22:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7874614343223142400,"note":"Value kept but may cause issues"} 
[2026-07-08 22:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783529977000,"timestamp_ms":1783529977000,"timestamp_seconds":1783529977,"priority":1,"record_length":96,"hex_timestamp":"0000019f42abb4a8"} 
[2026-07-08 22:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 22:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:31:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":128036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":128036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":128036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583671552001,"66":27245,"12":206,"79":46336,"24":39,"16":343384198683295744,"45":7874614343223142400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,79,24,16,45]} 
[2026-07-08 22:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583671552001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:31:01] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-07-08 22:31:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-08 22:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343384198683295744,"km_value":343384198683295.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7874614343223142400,"description":"Unknown IO ID 45"} 
[2026-07-08 22:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583671552001,"power":27245,"unknown_12":206,"unknown_79":46336,"ignition":39,"odometer":null,"unknown_45":7874614343223142400}} 
[2026-07-08 22:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":128036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:31:01] local.INFO: GPS data processed {"connection_id":128036,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:31:01] local.INFO: Acknowledgment sent {"connection_id":128036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:31:04] local.INFO: TCP Data received {"connection_id":125900,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:31:04] local.INFO: Processing buffer {"connection_id":125900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:31:04] local.INFO: IMEI packet received {"connection_id":125900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":125900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:31:05] local.INFO: TCP Data received {"connection_id":125900,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a95730012d196500071ff078003e014227..."} 
[2026-07-08 22:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a95730012d196500071ff078003e014227..."} 
[2026-07-08 22:31:05] local.INFO: Processing buffer {"connection_id":125900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a95730012d196500071ff078003e014227..."} 
[2026-07-08 22:31:05] local.INFO: Packet analysis {"connection_id":125900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a9"} 
[2026-07-08 22:31:05] local.INFO: Extracted packet for processing {"connection_id":125900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a9"} 
[2026-07-08 22:31:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583557376001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783529822000,"timestamp_ms":1783529822000,"timestamp_seconds":1783529822,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a95730"} 
[2026-07-08 22:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:31:05] 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-07-08 22:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583557376001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583557376001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:31:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:31:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583557376001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:31:05] local.INFO: TCP Data received {"connection_id":128036,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42abe770012d6d3900060f47300008015d2e..."} 
[2026-07-08 22:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42abe770012d6d3900060f47300008015d2e..."} 
[2026-07-08 22:31:05] local.INFO: Processing buffer {"connection_id":128036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42abe770012d6d3900060f47300008015d2e..."} 
[2026-07-08 22:31:05] local.INFO: Packet analysis {"connection_id":128036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ab"} 
[2026-07-08 22:31:05] local.INFO: Extracted packet for processing {"connection_id":128036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ab"} 
[2026-07-08 22:31:05] local.INFO: GPS Element Parsed {"raw_longitude":762132736,"raw_latitude":101664560,"longitude_deg":76.2132736,"latitude_deg":10.166456,"altitude":8,"angle":349,"satellites":46,"speed":26,"hex_longitude":"2d6d3900","hex_latitude":"060f4730","is_valid_coordinates":true} 
[2026-07-08 22:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583674112001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343384628180025344,"note":"Value kept but may cause issues"} 
[2026-07-08 22:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7872010699690811392,"note":"Value kept but may cause issues"} 
[2026-07-08 22:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783529990000,"timestamp_ms":1783529990000,"timestamp_seconds":1783529990,"priority":1,"record_length":96,"hex_timestamp":"0000019f42abe770"} 
[2026-07-08 22:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-08 22:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583674112001,"66":27343,"11":206,"79":46336,"24":26,"16":343384628180025344,"45":7872010699690811392},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,79,24,16,45]} 
[2026-07-08 22:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583674112001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:31:05] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-08 22:31:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-08 22:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343384628180025344,"km_value":343384628180025.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7872010699690811392,"description":"Unknown IO ID 45"} 
[2026-07-08 22:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583674112001,"power":27343,"unknown_11":206,"unknown_79":46336,"ignition":26,"odometer":null,"unknown_45":7872010699690811392}} 
[2026-07-08 22:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":128036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:31:05] local.INFO: GPS data processed {"connection_id":128036,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:31:05] local.INFO: Acknowledgment sent {"connection_id":128036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":125900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:31:05] local.INFO: GPS data processed {"connection_id":125900,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:31:05] local.INFO: Acknowledgment sent {"connection_id":125900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:31:36] local.INFO: TCP Data received {"connection_id":125900,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a95730012d196500071ff078003e014227..."} 
[2026-07-08 22:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a95730012d196500071ff078003e014227..."} 
[2026-07-08 22:31:36] local.INFO: Processing buffer {"connection_id":125900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a95730012d196500071ff078003e014227..."} 
[2026-07-08 22:31:36] local.INFO: Packet analysis {"connection_id":125900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a9"} 
[2026-07-08 22:31:36] local.INFO: Extracted packet for processing {"connection_id":125900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a9"} 
[2026-07-08 22:31:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583557376001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783529822000,"timestamp_ms":1783529822000,"timestamp_seconds":1783529822,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a95730"} 
[2026-07-08 22:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:31:36] 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-07-08 22:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:31:36] 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-07-08 22:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583557376001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583557376001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:31:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:31:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583557376001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":125900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:31:36] local.INFO: GPS data processed {"connection_id":125900,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:31:36] local.INFO: Acknowledgment sent {"connection_id":125900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:31:37] local.INFO: TCP Data received {"connection_id":128036,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42ac1a38012d6d3180060f69b00009015d2b..."} 
[2026-07-08 22:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42ac1a38012d6d3180060f69b00009015d2b..."} 
[2026-07-08 22:31:37] local.INFO: Processing buffer {"connection_id":128036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42ac1a38012d6d3180060f69b00009015d2b..."} 
[2026-07-08 22:31:37] local.INFO: Packet analysis {"connection_id":128036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ac"} 
[2026-07-08 22:31:37] local.INFO: Extracted packet for processing {"connection_id":128036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ac"} 
[2026-07-08 22:31:37] local.INFO: GPS Element Parsed {"raw_longitude":762130816,"raw_latitude":101673392,"longitude_deg":76.2130816,"latitude_deg":10.1673392,"altitude":9,"angle":349,"satellites":43,"speed":31,"hex_longitude":"2d6d3180","hex_latitude":"060f69b0","is_valid_coordinates":true} 
[2026-07-08 22:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583677440001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343385066266689536,"note":"Value kept but may cause issues"} 
[2026-07-08 22:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7870321849832779776,"note":"Value kept but may cause issues"} 
[2026-07-08 22:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783530003000,"timestamp_ms":1783530003000,"timestamp_seconds":1783530003,"priority":1,"record_length":96,"hex_timestamp":"0000019f42ac1a38"} 
[2026-07-08 22:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 22:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583677440001,"66":27321,"11":206,"79":46336,"24":31,"16":343385066266689536,"45":7870321849832779776},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,79,24,16,45]} 
[2026-07-08 22:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583677440001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:31:37] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-08 22:31:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-08 22:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343385066266689536,"km_value":343385066266689.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7870321849832779776,"description":"Unknown IO ID 45"} 
[2026-07-08 22:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583677440001,"power":27321,"unknown_11":206,"unknown_79":46336,"ignition":31,"odometer":null,"unknown_45":7870321849832779776}} 
[2026-07-08 22:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":128036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:31:37] local.INFO: GPS data processed {"connection_id":128036,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:31:37] local.INFO: Acknowledgment sent {"connection_id":128036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:31:58] local.INFO: TCP Data received {"connection_id":126789,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:31:58] local.INFO: Processing buffer {"connection_id":126789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:31:58] local.INFO: IMEI packet received {"connection_id":126789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":126789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:32:00] local.INFO: TCP Data received {"connection_id":126789,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:32:00] local.INFO: Processing buffer {"connection_id":126789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:32:00] local.INFO: IMEI packet received {"connection_id":126789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":126789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:32:01] local.INFO: TCP Data received {"connection_id":126789,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:32:01] local.INFO: Processing buffer {"connection_id":126789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:32:01] local.INFO: IMEI packet received {"connection_id":126789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":126789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:32:04] local.INFO: TCP Data received {"connection_id":125901,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:32:04] local.INFO: Processing buffer {"connection_id":125901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:32:04] local.INFO: IMEI packet received {"connection_id":125901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":125901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:32:05] local.INFO: TCP Data received {"connection_id":126789,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:32:05] local.INFO: Processing buffer {"connection_id":126789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:32:05] local.INFO: IMEI packet received {"connection_id":126789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":126789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:32:06] local.INFO: TCP Data received {"connection_id":126789,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42ac3978012d6d2bc0060f81480008014a2c..."} 
[2026-07-08 22:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42ac3978012d6d2bc0060f81480008014a2c..."} 
[2026-07-08 22:32:06] local.INFO: Processing buffer {"connection_id":126789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42ac3978012d6d2bc0060f81480008014a2c..."} 
[2026-07-08 22:32:06] local.INFO: Packet analysis {"connection_id":126789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ac"} 
[2026-07-08 22:32:06] local.INFO: Extracted packet for processing {"connection_id":126789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ac"} 
[2026-07-08 22:32:06] local.INFO: GPS Element Parsed {"raw_longitude":762129344,"raw_latitude":101679432,"longitude_deg":76.2129344,"latitude_deg":10.1679432,"altitude":8,"angle":330,"satellites":44,"speed":31,"hex_longitude":"2d6d2bc0","hex_latitude":"060f8148","is_valid_coordinates":true} 
[2026-07-08 22:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583680768001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343385366914400256,"note":"Value kept but may cause issues"} 
[2026-07-08 22:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7868210787509710848,"note":"Value kept but may cause issues"} 
[2026-07-08 22:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783530011000,"timestamp_ms":1783530011000,"timestamp_seconds":1783530011,"priority":1,"record_length":96,"hex_timestamp":"0000019f42ac3978"} 
[2026-07-08 22:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 22:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583680768001,"66":27267,"11":206,"79":46336,"24":31,"16":343385366914400256,"45":7868210787509710848},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,79,24,16,45]} 
[2026-07-08 22:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583680768001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:32:06] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-08 22:32:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-08 22:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343385366914400256,"km_value":343385366914400.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7868210787509710848,"description":"Unknown IO ID 45"} 
[2026-07-08 22:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583680768001,"power":27267,"unknown_11":206,"unknown_79":46336,"ignition":31,"odometer":null,"unknown_45":7868210787509710848}} 
[2026-07-08 22:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":126789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:32:06] local.INFO: GPS data processed {"connection_id":126789,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:32:06] local.INFO: Acknowledgment sent {"connection_id":126789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:32:09] local.INFO: TCP Data received {"connection_id":125901,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:32:09] local.INFO: Processing buffer {"connection_id":125901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:32:09] local.INFO: IMEI packet received {"connection_id":125901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":125901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:32:10] local.INFO: TCP Data received {"connection_id":125901,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a95730012d196500071ff078003e014227..."} 
[2026-07-08 22:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a95730012d196500071ff078003e014227..."} 
[2026-07-08 22:32:10] local.INFO: Processing buffer {"connection_id":125901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a95730012d196500071ff078003e014227..."} 
[2026-07-08 22:32:10] local.INFO: Packet analysis {"connection_id":125901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a9"} 
[2026-07-08 22:32:10] local.INFO: Extracted packet for processing {"connection_id":125901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a9"} 
[2026-07-08 22:32:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583557376001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:32: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-07-08 22:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783529822000,"timestamp_ms":1783529822000,"timestamp_seconds":1783529822,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a95730"} 
[2026-07-08 22:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:32:10] 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-07-08 22:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583557376001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583557376001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:32:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:32:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583557376001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":125901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:32:10] local.INFO: GPS data processed {"connection_id":125901,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:32:10] local.INFO: Acknowledgment sent {"connection_id":125901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:32:14] local.INFO: TCP Data received {"connection_id":125901,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f42a95730012d196500071ff078003e014227..."} 
[2026-07-08 22:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42a95730012d196500071ff078003e014227..."} 
[2026-07-08 22:32:14] local.INFO: Processing buffer {"connection_id":125901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42a95730012d196500071ff078003e014227..."} 
[2026-07-08 22:32:14] local.INFO: Packet analysis {"connection_id":125901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42a9"} 
[2026-07-08 22:32:14] local.INFO: Extracted packet for processing {"connection_id":125901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42a9"} 
[2026-07-08 22:32:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583557376001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783529822000,"timestamp_ms":1783529822000,"timestamp_seconds":1783529822,"priority":1,"record_length":96,"hex_timestamp":"0000019f42a95730"} 
[2026-07-08 22:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:32:14] 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-07-08 22:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":125901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":125901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":125901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:32:14] 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-07-08 22:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583557376001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583557376001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:32:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:32:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583557376001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":125901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:32:14] local.INFO: GPS data processed {"connection_id":125901,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:32:14] local.INFO: Acknowledgment sent {"connection_id":125901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:32:37] local.INFO: TCP Data received {"connection_id":126789,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42ad9520012d6d01c006109bc0000600002b..."} 
[2026-07-08 22:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42ad9520012d6d01c006109bc0000600002b..."} 
[2026-07-08 22:32:37] local.INFO: Processing buffer {"connection_id":126789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42ad9520012d6d01c006109bc0000600002b..."} 
[2026-07-08 22:32:37] local.INFO: Packet analysis {"connection_id":126789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ad"} 
[2026-07-08 22:32:37] local.INFO: Extracted packet for processing {"connection_id":126789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ad"} 
[2026-07-08 22:32:37] local.INFO: GPS Element Parsed {"raw_longitude":762118592,"raw_latitude":101751744,"longitude_deg":76.2118592,"latitude_deg":10.1751744,"altitude":6,"angle":0,"satellites":43,"speed":36,"hex_longitude":"2d6d01c0","hex_latitude":"06109bc0","is_valid_coordinates":true} 
[2026-07-08 22:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583703040001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343389004751699968,"note":"Value kept but may cause issues"} 
[2026-07-08 22:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7854559251156885504,"note":"Value kept but may cause issues"} 
[2026-07-08 22:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783530100000,"timestamp_ms":1783530100000,"timestamp_seconds":1783530100,"priority":1,"record_length":96,"hex_timestamp":"0000019f42ad9520"} 
[2026-07-08 22:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-07-08 22:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583703040001,"66":27343,"207":206,"79":46336,"24":36,"16":343389004751699968,"45":7854559251156885504},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-07-08 22:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583703040001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:32:37] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-08 22:32:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-08 22:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343389004751699968,"km_value":343389004751699.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7854559251156885504,"description":"Unknown IO ID 45"} 
[2026-07-08 22:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583703040001,"power":27343,"unknown_207":206,"unknown_79":46336,"ignition":36,"odometer":null,"unknown_45":7854559251156885504}} 
[2026-07-08 22:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":126789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:32:37] local.INFO: GPS data processed {"connection_id":126789,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:32:37] local.INFO: Acknowledgment sent {"connection_id":126789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:32:54] local.INFO: TCP Data received {"connection_id":126791,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:32:54] local.INFO: Processing buffer {"connection_id":126791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:32:54] local.INFO: IMEI packet received {"connection_id":126791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":126791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:32:57] local.INFO: TCP Data received {"connection_id":126791,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:32:57] local.INFO: Processing buffer {"connection_id":126791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:32:57] local.INFO: IMEI packet received {"connection_id":126791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":126791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:32:59] local.INFO: TCP Data received {"connection_id":126792,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:32:59] local.INFO: Processing buffer {"connection_id":126792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:32:59] local.INFO: IMEI packet received {"connection_id":126792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":126792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:33:00] local.INFO: TCP Data received {"connection_id":126791,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:33:00] local.INFO: Processing buffer {"connection_id":126791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:33:00] local.INFO: IMEI packet received {"connection_id":126791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":126791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:33:01] local.INFO: TCP Data received {"connection_id":126791,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42ada0d8012d6d01400610a3c8000601592b..."} 
[2026-07-08 22:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42ada0d8012d6d01400610a3c8000601592b..."} 
[2026-07-08 22:33:01] local.INFO: Processing buffer {"connection_id":126791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42ada0d8012d6d01400610a3c8000601592b..."} 
[2026-07-08 22:33:01] local.INFO: Packet analysis {"connection_id":126791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ad"} 
[2026-07-08 22:33:01] local.INFO: Extracted packet for processing {"connection_id":126791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ad"} 
[2026-07-08 22:33:01] local.INFO: GPS Element Parsed {"raw_longitude":762118464,"raw_latitude":101753800,"longitude_deg":76.2118464,"latitude_deg":10.17538,"altitude":6,"angle":345,"satellites":43,"speed":20,"hex_longitude":"2d6d0140","hex_latitude":"0610a3c8","is_valid_coordinates":true} 
[2026-07-08 22: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-07-08 22:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583705600001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343389103535947776,"note":"Value kept but may cause issues"} 
[2026-07-08 22:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7854770357391835136,"note":"Value kept but may cause issues"} 
[2026-07-08 22:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783530103000,"timestamp_ms":1783530103000,"timestamp_seconds":1783530103,"priority":1,"record_length":96,"hex_timestamp":"0000019f42ada0d8"} 
[2026-07-08 22:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 22:33:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583705600001,"66":27300,"207":206,"79":46336,"24":20,"16":343389103535947776,"45":7854770357391835136},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-07-08 22:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583705600001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:33:01] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-08 22:33:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-08 22:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343389103535947776,"km_value":343389103535947.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7854770357391835136,"description":"Unknown IO ID 45"} 
[2026-07-08 22:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583705600001,"power":27300,"unknown_207":206,"unknown_79":46336,"ignition":20,"odometer":null,"unknown_45":7854770357391835136}} 
[2026-07-08 22:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":126791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:33:01] local.INFO: GPS data processed {"connection_id":126791,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:33:01] local.INFO: Acknowledgment sent {"connection_id":126791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:33:04] local.INFO: TCP Data received {"connection_id":126792,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:33:04] local.INFO: Processing buffer {"connection_id":126792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:33:04] local.INFO: IMEI packet received {"connection_id":126792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":126792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:33:05] local.INFO: TCP Data received {"connection_id":126792,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f42adeef8012d196500071ff078003e014224..."} 
[2026-07-08 22:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42adeef8012d196500071ff078003e014224..."} 
[2026-07-08 22:33:05] local.INFO: Processing buffer {"connection_id":126792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42adeef8012d196500071ff078003e014224..."} 
[2026-07-08 22:33:05] local.INFO: Packet analysis {"connection_id":126792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ad"} 
[2026-07-08 22:33:05] local.INFO: Extracted packet for processing {"connection_id":126792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ad"} 
[2026-07-08 22:33:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583634432001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783530123000,"timestamp_ms":1783530123000,"timestamp_seconds":1783530123,"priority":1,"record_length":96,"hex_timestamp":"0000019f42adeef8"} 
[2026-07-08 22:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:33:05] 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-07-08 22:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 22:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:33:05] 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-07-08 22:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583634432001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583634432001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:33:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:33:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583634432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":126792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:33:05] local.INFO: GPS data processed {"connection_id":126792,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:33:05] local.INFO: Acknowledgment sent {"connection_id":126792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:33:32] local.INFO: TCP Data received {"connection_id":126791,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42addf58012d6cfac00610c5c8000601612c..."} 
[2026-07-08 22:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42addf58012d6cfac00610c5c8000601612c..."} 
[2026-07-08 22:33:32] local.INFO: Processing buffer {"connection_id":126791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42addf58012d6cfac00610c5c8000601612c..."} 
[2026-07-08 22:33:32] local.INFO: Packet analysis {"connection_id":126791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ad"} 
[2026-07-08 22:33:32] local.INFO: Extracted packet for processing {"connection_id":126791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ad"} 
[2026-07-08 22:33:32] local.INFO: GPS Element Parsed {"raw_longitude":762116800,"raw_latitude":101762504,"longitude_deg":76.21168,"latitude_deg":10.1762504,"altitude":6,"angle":353,"satellites":44,"speed":27,"hex_longitude":"2d6cfac0","hex_latitude":"0610c5c8","is_valid_coordinates":true} 
[2026-07-08 22:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583706368001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343389533032677376,"note":"Value kept but may cause issues"} 
[2026-07-08 22:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7854629619904006144,"note":"Value kept but may cause issues"} 
[2026-07-08 22:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783530119000,"timestamp_ms":1783530119000,"timestamp_seconds":1783530119,"priority":1,"record_length":96,"hex_timestamp":"0000019f42addf58"} 
[2026-07-08 22:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-08 22:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583706368001,"66":27332,"207":206,"79":46336,"24":27,"16":343389533032677376,"45":7854629619904006144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-07-08 22:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583706368001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:33:32] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-08 22:33:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-08 22:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343389533032677376,"km_value":343389533032677.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7854629619904006144,"description":"Unknown IO ID 45"} 
[2026-07-08 22:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583706368001,"power":27332,"unknown_207":206,"unknown_79":46336,"ignition":27,"odometer":null,"unknown_45":7854629619904006144}} 
[2026-07-08 22:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":126791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:33:32] local.INFO: GPS data processed {"connection_id":126791,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:33:32] local.INFO: Acknowledgment sent {"connection_id":126791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:33:36] local.INFO: TCP Data received {"connection_id":126792,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f42adeef8012d196500071ff078003e014224..."} 
[2026-07-08 22:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42adeef8012d196500071ff078003e014224..."} 
[2026-07-08 22:33:36] local.INFO: Processing buffer {"connection_id":126792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42adeef8012d196500071ff078003e014224..."} 
[2026-07-08 22:33:36] local.INFO: Packet analysis {"connection_id":126792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ad"} 
[2026-07-08 22:33:36] local.INFO: Extracted packet for processing {"connection_id":126792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ad"} 
[2026-07-08 22:33:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583634432001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783530123000,"timestamp_ms":1783530123000,"timestamp_seconds":1783530123,"priority":1,"record_length":96,"hex_timestamp":"0000019f42adeef8"} 
[2026-07-08 22:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:33:36] 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-07-08 22:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 22:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:33:36] 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-07-08 22:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583634432001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583634432001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:33:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:33:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583634432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":126792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:33:36] local.INFO: GPS data processed {"connection_id":126792,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:33:36] local.INFO: Acknowledgment sent {"connection_id":126792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:33:56] local.INFO: TCP Data received {"connection_id":128037,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:33:56] local.INFO: Processing buffer {"connection_id":128037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:33:56] local.INFO: IMEI packet received {"connection_id":128037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":128037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:33:59] local.INFO: TCP Data received {"connection_id":128038,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:33:59] local.INFO: Processing buffer {"connection_id":128038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:33:59] local.INFO: IMEI packet received {"connection_id":128038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":128038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:34:00] local.INFO: TCP Data received {"connection_id":128037,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:34:00] local.INFO: Processing buffer {"connection_id":128037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:34:00] local.INFO: IMEI packet received {"connection_id":128037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":128037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:34:04] local.INFO: TCP Data received {"connection_id":128038,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:34:04] local.INFO: Processing buffer {"connection_id":128038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:34:04] local.INFO: IMEI packet received {"connection_id":128038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":128038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:34:05] local.INFO: TCP Data received {"connection_id":128038,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f42adeef8012d196500071ff078003e014224..."} 
[2026-07-08 22:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42adeef8012d196500071ff078003e014224..."} 
[2026-07-08 22:34:05] local.INFO: Processing buffer {"connection_id":128038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42adeef8012d196500071ff078003e014224..."} 
[2026-07-08 22:34:05] local.INFO: Packet analysis {"connection_id":128038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ad"} 
[2026-07-08 22:34:05] local.INFO: Extracted packet for processing {"connection_id":128038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ad"} 
[2026-07-08 22:34:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22: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-07-08 22:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583634432001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783530123000,"timestamp_ms":1783530123000,"timestamp_seconds":1783530123,"priority":1,"record_length":96,"hex_timestamp":"0000019f42adeef8"} 
[2026-07-08 22:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:34:05] 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-07-08 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 22:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:34:05] 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-07-08 22:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583634432001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583634432001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:34:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:34:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583634432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":128038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:34:05] local.INFO: GPS data processed {"connection_id":128038,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:34:05] local.INFO: Acknowledgment sent {"connection_id":128038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:34:08] local.INFO: TCP Data received {"connection_id":128037,"ip":"42.106.6.30","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 22:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128037,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 22:34:08] local.INFO: Processing buffer {"connection_id":128037,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 22:34:08] local.INFO: IMEI packet received {"connection_id":128037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":128037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:34:11] local.INFO: TCP Data received {"connection_id":128037,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42aeb248012d6ca68006111f68000201122c..."} 
[2026-07-08 22:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42aeb248012d6ca68006111f68000201122c..."} 
[2026-07-08 22:34:11] local.INFO: Processing buffer {"connection_id":128037,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f42..."} 
[2026-07-08 22:34:11] local.INFO: IMEI packet received {"connection_id":128037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":128037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:34:23] local.INFO: TCP Data received {"connection_id":128037,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42aee128012d6c80c0061125b80002011927..."} 
[2026-07-08 22:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42aee128012d6c80c0061125b80002011927..."} 
[2026-07-08 22:34:23] local.INFO: Processing buffer {"connection_id":128037,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f42aeb248012d6ca68006111f68000201122c..."} 
[2026-07-08 22:34:23] local.INFO: Packet analysis {"connection_id":128037,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f42ae"} 
[2026-07-08 22:34:23] local.INFO: Extracted packet for processing {"connection_id":128037,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ae"} 
[2026-07-08 22:34:23] local.INFO: GPS Element Parsed {"raw_longitude":762095232,"raw_latitude":101785448,"longitude_deg":76.2095232,"latitude_deg":10.1785448,"altitude":2,"angle":274,"satellites":44,"speed":28,"hex_longitude":"2d6ca680","hex_latitude":"06111f68","is_valid_coordinates":true} 
[2026-07-08 22:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583721728001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343391349803843584,"note":"Value kept but may cause issues"} 
[2026-07-08 22:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7835770796472551424,"note":"Value kept but may cause issues"} 
[2026-07-08 22:34:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783530173000,"timestamp_ms":1783530173000,"timestamp_seconds":1783530173,"priority":1,"record_length":96,"hex_timestamp":"0000019f42aeb248"} 
[2026-07-08 22:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:34:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:34: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 22:34:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:34:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":128037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":128037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":128037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583721728001,"66":27343,"193":206,"79":46336,"24":28,"16":343391349803843584,"45":7835770796472551424},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,79,24,16,45]} 
[2026-07-08 22:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583721728001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:34:23] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-08 22:34:23] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-08 22:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343391349803843584,"km_value":343391349803843.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":7835770796472551424,"description":"Unknown IO ID 45"} 
[2026-07-08 22:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583721728001,"power":27343,"unknown_193":206,"unknown_79":46336,"ignition":28,"odometer":null,"unknown_45":7835770796472551424}} 
[2026-07-08 22:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":128037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:34:23] local.INFO: GPS data processed {"connection_id":128037,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:34:23] local.INFO: Acknowledgment sent {"connection_id":128037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:34:23] local.INFO: Packet analysis {"connection_id":128037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ae"} 
[2026-07-08 22:34:23] local.INFO: Extracted packet for processing {"connection_id":128037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ae"} 
[2026-07-08 22:34:23] local.INFO: GPS Element Parsed {"raw_longitude":762085568,"raw_latitude":101787064,"longitude_deg":76.2085568,"latitude_deg":10.1787064,"altitude":2,"angle":281,"satellites":39,"speed":35,"hex_longitude":"2d6c80c0","hex_latitude":"061125b8","is_valid_coordinates":true} 
[2026-07-08 22:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583724288001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343391822250246144,"note":"Value kept but may cause issues"} 
[2026-07-08 22:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7829085765775616000,"note":"Value kept but may cause issues"} 
[2026-07-08 22:34:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783530185000,"timestamp_ms":1783530185000,"timestamp_seconds":1783530185,"priority":1,"record_length":96,"hex_timestamp":"0000019f42aee128"} 
[2026-07-08 22:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:34:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:34: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 22:34:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:34:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":128037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":128037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":128037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583724288001,"66":26321,"193":206,"79":46336,"24":35,"16":343391822250246144,"45":7829085765775616000},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,79,24,16,45]} 
[2026-07-08 22:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583724288001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:34:23] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-08 22:34:23] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-08 22:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343391822250246144,"km_value":343391822250246.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":7829085765775616000,"description":"Unknown IO ID 45"} 
[2026-07-08 22:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583724288001,"power":26321,"unknown_193":206,"unknown_79":46336,"ignition":35,"odometer":null,"unknown_45":7829085765775616000}} 
[2026-07-08 22:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":128037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:34:23] local.INFO: GPS data processed {"connection_id":128037,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:34:23] local.INFO: Acknowledgment sent {"connection_id":128037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:34:24] local.INFO: TCP Data received {"connection_id":128037,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42af13f0012d6c69c006112a98000201262a..."} 
[2026-07-08 22:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42af13f0012d6c69c006112a98000201262a..."} 
[2026-07-08 22:34:24] local.INFO: Processing buffer {"connection_id":128037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42af13f0012d6c69c006112a98000201262a..."} 
[2026-07-08 22:34:24] local.INFO: Packet analysis {"connection_id":128037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42af"} 
[2026-07-08 22:34:24] local.INFO: Extracted packet for processing {"connection_id":128037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42af"} 
[2026-07-08 22:34:24] local.INFO: GPS Element Parsed {"raw_longitude":762079680,"raw_latitude":101788312,"longitude_deg":76.207968,"latitude_deg":10.1788312,"altitude":2,"angle":294,"satellites":42,"speed":15,"hex_longitude":"2d6c69c0","hex_latitude":"06112a98","is_valid_coordinates":true} 
[2026-07-08 22: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-07-08 22:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583727360001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343392110013054976,"note":"Value kept but may cause issues"} 
[2026-07-08 22:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7818460085405202432,"note":"Value kept but may cause issues"} 
[2026-07-08 22:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783530198000,"timestamp_ms":1783530198000,"timestamp_seconds":1783530198,"priority":1,"record_length":96,"hex_timestamp":"0000019f42af13f0"} 
[2026-07-08 22:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:34: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-07-08 22: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-08 22:34:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":128037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":128037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":128037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583727360001,"66":27376,"193":206,"79":46336,"24":15,"16":343392110013054976,"45":7818460085405202432},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,79,24,16,45]} 
[2026-07-08 22:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583727360001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:34:24] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-08 22:34:24] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-08 22:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343392110013054976,"km_value":343392110013055.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":7818460085405202432,"description":"Unknown IO ID 45"} 
[2026-07-08 22:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583727360001,"power":27376,"unknown_193":206,"unknown_79":46336,"ignition":15,"odometer":null,"unknown_45":7818460085405202432}} 
[2026-07-08 22:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":128037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:34:24] local.INFO: GPS data processed {"connection_id":128037,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:34:24] local.INFO: Acknowledgment sent {"connection_id":128037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:34:36] local.INFO: TCP Data received {"connection_id":128038,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f42adeef8012d196500071ff078003e014224..."} 
[2026-07-08 22:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42adeef8012d196500071ff078003e014224..."} 
[2026-07-08 22:34:36] local.INFO: Processing buffer {"connection_id":128038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42adeef8012d196500071ff078003e014224..."} 
[2026-07-08 22:34:36] local.INFO: Packet analysis {"connection_id":128038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ad"} 
[2026-07-08 22:34:36] local.INFO: Extracted packet for processing {"connection_id":128038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ad"} 
[2026-07-08 22:34:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22: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-07-08 22:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583634432001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783530123000,"timestamp_ms":1783530123000,"timestamp_seconds":1783530123,"priority":1,"record_length":96,"hex_timestamp":"0000019f42adeef8"} 
[2026-07-08 22:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:34:36] 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-07-08 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 22:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:34:36] 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-07-08 22:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583634432001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583634432001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:34:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:34:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583634432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":128038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:34:36] local.INFO: GPS data processed {"connection_id":128038,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:34:36] local.INFO: Acknowledgment sent {"connection_id":128038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:34:53] local.INFO: TCP Data received {"connection_id":126793,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:34:53] local.INFO: Processing buffer {"connection_id":126793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:34:53] local.INFO: IMEI packet received {"connection_id":126793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":126793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:34:54] local.INFO: TCP Data received {"connection_id":126793,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:34:54] local.INFO: Processing buffer {"connection_id":126793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:34:54] local.INFO: IMEI packet received {"connection_id":126793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":126793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:34:59] local.INFO: TCP Data received {"connection_id":128039,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:34:59] local.INFO: Processing buffer {"connection_id":128039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:34:59] local.INFO: IMEI packet received {"connection_id":128039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":128039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:35:00] local.INFO: TCP Data received {"connection_id":126793,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:35:00] local.INFO: Processing buffer {"connection_id":126793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:35:00] local.INFO: IMEI packet received {"connection_id":126793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":126793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:35:00] local.INFO: TCP Data received {"connection_id":126793,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42af1bc0012d6c66c006112c48000201332c..."} 
[2026-07-08 22:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42af1bc0012d6c66c006112c48000201332c..."} 
[2026-07-08 22:35:00] local.INFO: Processing buffer {"connection_id":126793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42af1bc0012d6c66c006112c48000201332c..."} 
[2026-07-08 22:35:00] local.INFO: Packet analysis {"connection_id":126793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42af"} 
[2026-07-08 22:35:00] local.INFO: Extracted packet for processing {"connection_id":126793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42af"} 
[2026-07-08 22:35:00] local.INFO: GPS Element Parsed {"raw_longitude":762078912,"raw_latitude":101788744,"longitude_deg":76.2078912,"latitude_deg":10.1788744,"altitude":2,"angle":307,"satellites":44,"speed":17,"hex_longitude":"2d6c66c0","hex_latitude":"06112c48","is_valid_coordinates":true} 
[2026-07-08 22:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583730688001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343392148667760640,"note":"Value kept but may cause issues"} 
[2026-07-08 22:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7811986160941176832,"note":"Value kept but may cause issues"} 
[2026-07-08 22:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783530200000,"timestamp_ms":1783530200000,"timestamp_seconds":1783530200,"priority":1,"record_length":96,"hex_timestamp":"0000019f42af1bc0"} 
[2026-07-08 22:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 22:35:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:35:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583730688001,"66":27267,"193":206,"79":46336,"24":17,"16":343392148667760640,"45":7811986160941176832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,79,24,16,45]} 
[2026-07-08 22:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583730688001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:35:00] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-08 22:35:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-08 22:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343392148667760640,"km_value":343392148667760.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7811986160941176832,"description":"Unknown IO ID 45"} 
[2026-07-08 22:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583730688001,"power":27267,"unknown_193":206,"unknown_79":46336,"ignition":17,"odometer":null,"unknown_45":7811986160941176832}} 
[2026-07-08 22:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":126793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:35:00] local.INFO: GPS data processed {"connection_id":126793,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:35:00] local.INFO: Acknowledgment sent {"connection_id":126793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:35:04] local.INFO: TCP Data received {"connection_id":126793,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42af5270012d6c4a8006114448000101342d..."} 
[2026-07-08 22:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42af5270012d6c4a8006114448000101342d..."} 
[2026-07-08 22:35:04] local.INFO: Processing buffer {"connection_id":126793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42af5270012d6c4a8006114448000101342d..."} 
[2026-07-08 22:35:04] local.INFO: Packet analysis {"connection_id":126793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42af"} 
[2026-07-08 22:35:04] local.INFO: Extracted packet for processing {"connection_id":126793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42af"} 
[2026-07-08 22:35:04] local.INFO: GPS Element Parsed {"raw_longitude":762071680,"raw_latitude":101794888,"longitude_deg":76.207168,"latitude_deg":10.1794888,"altitude":1,"angle":308,"satellites":45,"speed":27,"hex_longitude":"2d6c4a80","hex_latitude":"06114448","is_valid_coordinates":true} 
[2026-07-08 22: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-07-08 22:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583731200001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343392608229261312,"note":"Value kept but may cause issues"} 
[2026-07-08 22:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7811141736011155456,"note":"Value kept but may cause issues"} 
[2026-07-08 22:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783530214000,"timestamp_ms":1783530214000,"timestamp_seconds":1783530214,"priority":1,"record_length":96,"hex_timestamp":"0000019f42af5270"} 
[2026-07-08 22:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 22:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583731200001,"66":27300,"193":206,"79":46336,"24":27,"16":343392608229261312,"45":7811141736011155456},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,79,24,16,45]} 
[2026-07-08 22:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583731200001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:35:04] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-08 22:35:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-08 22:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343392608229261312,"km_value":343392608229261.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7811141736011155456,"description":"Unknown IO ID 45"} 
[2026-07-08 22:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583731200001,"power":27300,"unknown_193":206,"unknown_79":46336,"ignition":27,"odometer":null,"unknown_45":7811141736011155456}} 
[2026-07-08 22:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":126793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:35:04] local.INFO: GPS data processed {"connection_id":126793,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:35:04] local.INFO: Acknowledgment sent {"connection_id":126793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:35:04] local.INFO: TCP Data received {"connection_id":128039,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:35:04] local.INFO: Processing buffer {"connection_id":128039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:35:04] local.INFO: IMEI packet received {"connection_id":128039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":128039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:35:05] local.INFO: TCP Data received {"connection_id":128039,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f42adeef8012d196500071ff078003e014224..."} 
[2026-07-08 22:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42adeef8012d196500071ff078003e014224..."} 
[2026-07-08 22:35:05] local.INFO: Processing buffer {"connection_id":128039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42adeef8012d196500071ff078003e014224..."} 
[2026-07-08 22:35:05] local.INFO: Packet analysis {"connection_id":128039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ad"} 
[2026-07-08 22:35:05] local.INFO: Extracted packet for processing {"connection_id":128039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ad"} 
[2026-07-08 22:35:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583634432001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783530123000,"timestamp_ms":1783530123000,"timestamp_seconds":1783530123,"priority":1,"record_length":96,"hex_timestamp":"0000019f42adeef8"} 
[2026-07-08 22:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:35:05] 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-07-08 22:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 22:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:35:05] 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-07-08 22:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583634432001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583634432001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:35:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:35:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583634432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":128039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:35:05] local.INFO: GPS data processed {"connection_id":128039,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:35:05] local.INFO: Acknowledgment sent {"connection_id":128039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:35:30] local.INFO: TCP Data received {"connection_id":126042,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126042,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:35:30] local.INFO: Processing buffer {"connection_id":126042,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:35:30] local.INFO: IMEI packet received {"connection_id":126042,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 22:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":126042,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:35:35] local.INFO: TCP Data received {"connection_id":126793,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b07768012d6bcdc0061194b8000501302c..."} 
[2026-07-08 22:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b07768012d6bcdc0061194b8000501302c..."} 
[2026-07-08 22:35:35] local.INFO: Processing buffer {"connection_id":126793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b07768012d6bcdc0061194b8000501302c..."} 
[2026-07-08 22:35:35] local.INFO: Packet analysis {"connection_id":126793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b0"} 
[2026-07-08 22:35:35] local.INFO: Extracted packet for processing {"connection_id":126793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b0"} 
[2026-07-08 22:35:35] local.INFO: GPS Element Parsed {"raw_longitude":762039744,"raw_latitude":101815480,"longitude_deg":76.2039744,"latitude_deg":10.181548,"altitude":5,"angle":304,"satellites":44,"speed":13,"hex_longitude":"2d6bcdc0","hex_latitude":"061194b8","is_valid_coordinates":true} 
[2026-07-08 22:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583753728001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343394764302843904,"note":"Value kept but may cause issues"} 
[2026-07-08 22:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7768357539557943296,"note":"Value kept but may cause issues"} 
[2026-07-08 22:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783530289000,"timestamp_ms":1783530289000,"timestamp_seconds":1783530289,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b07768"} 
[2026-07-08 22:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 22:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583753728001,"66":27267,"138":206,"79":46336,"24":13,"16":343394764302843904,"45":7768357539557943296},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-07-08 22:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583753728001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:35:35] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-08 22:35:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-08 22:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343394764302843904,"km_value":343394764302843.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7768357539557943296,"description":"Unknown IO ID 45"} 
[2026-07-08 22:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583753728001,"power":27267,"unknown_138":206,"unknown_79":46336,"ignition":13,"odometer":null,"unknown_45":7768357539557943296}} 
[2026-07-08 22:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":126793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:35:35] local.INFO: GPS data processed {"connection_id":126793,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:35:35] local.INFO: Acknowledgment sent {"connection_id":126793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:35:36] local.INFO: TCP Data received {"connection_id":128039,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f42adeef8012d196500071ff078003e014224..."} 
[2026-07-08 22:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42adeef8012d196500071ff078003e014224..."} 
[2026-07-08 22:35:36] local.INFO: Processing buffer {"connection_id":128039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42adeef8012d196500071ff078003e014224..."} 
[2026-07-08 22:35:36] local.INFO: Packet analysis {"connection_id":128039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ad"} 
[2026-07-08 22:35:36] local.INFO: Extracted packet for processing {"connection_id":128039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ad"} 
[2026-07-08 22:35:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22: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-07-08 22:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583634432001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783530123000,"timestamp_ms":1783530123000,"timestamp_seconds":1783530123,"priority":1,"record_length":96,"hex_timestamp":"0000019f42adeef8"} 
[2026-07-08 22:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:35:36] 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-07-08 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 22:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:35:36] 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-07-08 22:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583634432001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583634432001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:35:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:35:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583634432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":128039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:35:36] local.INFO: GPS data processed {"connection_id":128039,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:35:36] local.INFO: Acknowledgment sent {"connection_id":128039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:35:54] local.INFO: TCP Data received {"connection_id":126794,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:35:54] local.INFO: Processing buffer {"connection_id":126794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:35:54] local.INFO: IMEI packet received {"connection_id":126794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":126794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:35:54] local.INFO: TCP Data received {"connection_id":126794,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:35:54] local.INFO: Processing buffer {"connection_id":126794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:35:54] local.INFO: IMEI packet received {"connection_id":126794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":126794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:35:59] local.INFO: TCP Data received {"connection_id":128040,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:35:59] local.INFO: Processing buffer {"connection_id":128040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:35:59] local.INFO: IMEI packet received {"connection_id":128040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":128040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:36:00] local.INFO: TCP Data received {"connection_id":126794,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:36:00] local.INFO: Processing buffer {"connection_id":126794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:36:00] local.INFO: IMEI packet received {"connection_id":126794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":126794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:36:01] local.INFO: TCP Data received {"connection_id":126794,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b07f38012d6bcb8006119648000401422b..."} 
[2026-07-08 22:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b07f38012d6bcb8006119648000401422b..."} 
[2026-07-08 22:36:01] local.INFO: Processing buffer {"connection_id":126794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b07f38012d6bcb8006119648000401422b..."} 
[2026-07-08 22:36:01] local.INFO: Packet analysis {"connection_id":126794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b0"} 
[2026-07-08 22:36:01] local.INFO: Extracted packet for processing {"connection_id":126794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b0"} 
[2026-07-08 22:36:01] local.INFO: GPS Element Parsed {"raw_longitude":762039168,"raw_latitude":101815880,"longitude_deg":76.2039168,"latitude_deg":10.181588,"altitude":4,"angle":322,"satellites":43,"speed":13,"hex_longitude":"2d6bcb80","hex_latitude":"06119648","is_valid_coordinates":true} 
[2026-07-08 22:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583753984001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343394794367614976,"note":"Value kept but may cause issues"} 
[2026-07-08 22:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7768076064581269504,"note":"Value kept but may cause issues"} 
[2026-07-08 22:36:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783530291000,"timestamp_ms":1783530291000,"timestamp_seconds":1783530291,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b07f38"} 
[2026-07-08 22:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 22:36:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:36:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583753984001,"66":27310,"138":206,"79":46336,"24":13,"16":343394794367614976,"45":7768076064581269504},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-07-08 22:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583753984001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:36:01] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-08 22:36:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-08 22:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343394794367614976,"km_value":343394794367615.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7768076064581269504,"description":"Unknown IO ID 45"} 
[2026-07-08 22:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583753984001,"power":27310,"unknown_138":206,"unknown_79":46336,"ignition":13,"odometer":null,"unknown_45":7768076064581269504}} 
[2026-07-08 22:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":126794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:36:01] local.INFO: GPS data processed {"connection_id":126794,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:36:01] local.INFO: Acknowledgment sent {"connection_id":126794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:36:04] local.INFO: TCP Data received {"connection_id":128040,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:36:04] local.INFO: Processing buffer {"connection_id":128040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:36:04] local.INFO: IMEI packet received {"connection_id":128040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":128040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:36:05] local.INFO: TCP Data received {"connection_id":128040,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f42adeef8012d196500071ff078003e014224..."} 
[2026-07-08 22:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42adeef8012d196500071ff078003e014224..."} 
[2026-07-08 22:36:05] local.INFO: Processing buffer {"connection_id":128040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42adeef8012d196500071ff078003e014224..."} 
[2026-07-08 22:36:05] local.INFO: Packet analysis {"connection_id":128040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ad"} 
[2026-07-08 22:36:05] local.INFO: Extracted packet for processing {"connection_id":128040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ad"} 
[2026-07-08 22:36:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22: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-07-08 22:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583634432001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783530123000,"timestamp_ms":1783530123000,"timestamp_seconds":1783530123,"priority":1,"record_length":96,"hex_timestamp":"0000019f42adeef8"} 
[2026-07-08 22:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:36:05] 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-07-08 22:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 22:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:36:05] 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-07-08 22:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583634432001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583634432001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:36:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:36:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583634432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":128040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:36:05] local.INFO: GPS data processed {"connection_id":128040,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:36:05] local.INFO: Acknowledgment sent {"connection_id":128040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:36:16] local.INFO: TCP Data received {"connection_id":125902,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125902,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:36:16] local.INFO: Processing buffer {"connection_id":125902,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:36:16] local.INFO: IMEI packet received {"connection_id":125902,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 22:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":125902,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:36:32] local.INFO: TCP Data received {"connection_id":126794,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b08320012d6bcac0061197680004014e2b..."} 
[2026-07-08 22:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b08320012d6bcac0061197680004014e2b..."} 
[2026-07-08 22:36:32] local.INFO: Processing buffer {"connection_id":126794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b08320012d6bcac0061197680004014e2b..."} 
[2026-07-08 22:36:32] local.INFO: Packet analysis {"connection_id":126794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b0"} 
[2026-07-08 22:36:32] local.INFO: Extracted packet for processing {"connection_id":126794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b0"} 
[2026-07-08 22:36:32] local.INFO: GPS Element Parsed {"raw_longitude":762038976,"raw_latitude":101816168,"longitude_deg":76.2038976,"latitude_deg":10.1816168,"altitude":4,"angle":334,"satellites":43,"speed":14,"hex_longitude":"2d6bcac0","hex_latitude":"06119768","is_valid_coordinates":true} 
[2026-07-08 22:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583754496001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343394811547484160,"note":"Value kept but may cause issues"} 
[2026-07-08 22:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7767442745883772928,"note":"Value kept but may cause issues"} 
[2026-07-08 22:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783530292000,"timestamp_ms":1783530292000,"timestamp_seconds":1783530292,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b08320"} 
[2026-07-08 22:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-08 22:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583754496001,"66":27321,"138":206,"79":46336,"24":14,"16":343394811547484160,"45":7767442745883772928},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-07-08 22:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583754496001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:36:32] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-08 22:36:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-08 22:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343394811547484160,"km_value":343394811547484.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7767442745883772928,"description":"Unknown IO ID 45"} 
[2026-07-08 22:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583754496001,"power":27321,"unknown_138":206,"unknown_79":46336,"ignition":14,"odometer":null,"unknown_45":7767442745883772928}} 
[2026-07-08 22:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":126794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:36:32] local.INFO: GPS data processed {"connection_id":126794,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:36:32] local.INFO: Acknowledgment sent {"connection_id":126794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:36:36] local.INFO: TCP Data received {"connection_id":128040,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f42adeef8012d196500071ff078003e014224..."} 
[2026-07-08 22:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42adeef8012d196500071ff078003e014224..."} 
[2026-07-08 22:36:36] local.INFO: Processing buffer {"connection_id":128040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42adeef8012d196500071ff078003e014224..."} 
[2026-07-08 22:36:36] local.INFO: Packet analysis {"connection_id":128040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ad"} 
[2026-07-08 22:36:36] local.INFO: Extracted packet for processing {"connection_id":128040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ad"} 
[2026-07-08 22:36:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583634432001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783530123000,"timestamp_ms":1783530123000,"timestamp_seconds":1783530123,"priority":1,"record_length":96,"hex_timestamp":"0000019f42adeef8"} 
[2026-07-08 22:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:36:36] 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-07-08 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 22:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:36:36] 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-07-08 22:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583634432001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583634432001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:36:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:36:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583634432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":128040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:36:36] local.INFO: GPS data processed {"connection_id":128040,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:36:36] local.INFO: Acknowledgment sent {"connection_id":128040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:36:55] local.INFO: TCP Data received {"connection_id":128041,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:36:55] local.INFO: Processing buffer {"connection_id":128041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:36:55] local.INFO: IMEI packet received {"connection_id":128041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":128041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:37:00] local.INFO: TCP Data received {"connection_id":128041,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:37:00] local.INFO: Processing buffer {"connection_id":128041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:37:00] local.INFO: IMEI packet received {"connection_id":128041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":128041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:37:01] local.INFO: TCP Data received {"connection_id":128041,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b0b5e8012d6bbe400611b850000401532d..."} 
[2026-07-08 22:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b0b5e8012d6bbe400611b850000401532d..."} 
[2026-07-08 22:37:01] local.INFO: Processing buffer {"connection_id":128041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b0b5e8012d6bbe400611b850000401532d..."} 
[2026-07-08 22:37:01] local.INFO: Packet analysis {"connection_id":128041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b0"} 
[2026-07-08 22:37:01] local.INFO: Extracted packet for processing {"connection_id":128041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b0"} 
[2026-07-08 22:37:01] local.INFO: GPS Element Parsed {"raw_longitude":762035776,"raw_latitude":101824592,"longitude_deg":76.2035776,"latitude_deg":10.1824592,"altitude":4,"angle":339,"satellites":45,"speed":35,"hex_longitude":"2d6bbe40","hex_latitude":"0611b850","is_valid_coordinates":true} 
[2026-07-08 22:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583754752001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343395249634148352,"note":"Value kept but may cause issues"} 
[2026-07-08 22:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7767231639651313664,"note":"Value kept but may cause issues"} 
[2026-07-08 22:37:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783530305000,"timestamp_ms":1783530305000,"timestamp_seconds":1783530305,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b0b5e8"} 
[2026-07-08 22:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 22:37:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:37:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":128041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":128041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":128041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583754752001,"66":27213,"138":206,"79":46336,"24":35,"16":343395249634148352,"45":7767231639651313664},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-07-08 22:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583754752001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:37:01] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-08 22:37:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-08 22:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343395249634148352,"km_value":343395249634148.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7767231639651313664,"description":"Unknown IO ID 45"} 
[2026-07-08 22:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583754752001,"power":27213,"unknown_138":206,"unknown_79":46336,"ignition":35,"odometer":null,"unknown_45":7767231639651313664}} 
[2026-07-08 22:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":128041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:37:01] local.INFO: GPS data processed {"connection_id":128041,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:37:01] local.INFO: Acknowledgment sent {"connection_id":128041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:37:04] local.INFO: TCP Data received {"connection_id":128042,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:37:04] local.INFO: Processing buffer {"connection_id":128042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:37:04] local.INFO: IMEI packet received {"connection_id":128042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":128042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:37:09] local.INFO: TCP Data received {"connection_id":128042,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:37:09] local.INFO: Processing buffer {"connection_id":128042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:37:09] local.INFO: IMEI packet received {"connection_id":128042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":128042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:37:10] local.INFO: TCP Data received {"connection_id":128042,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f42adeef8012d196500071ff078003e014224..."} 
[2026-07-08 22:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42adeef8012d196500071ff078003e014224..."} 
[2026-07-08 22:37:10] local.INFO: Processing buffer {"connection_id":128042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42adeef8012d196500071ff078003e014224..."} 
[2026-07-08 22:37:10] local.INFO: Packet analysis {"connection_id":128042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ad"} 
[2026-07-08 22:37:10] local.INFO: Extracted packet for processing {"connection_id":128042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ad"} 
[2026-07-08 22:37:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583634432001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:37: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-07-08 22:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783530123000,"timestamp_ms":1783530123000,"timestamp_seconds":1783530123,"priority":1,"record_length":96,"hex_timestamp":"0000019f42adeef8"} 
[2026-07-08 22:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:37: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-07-08 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 22:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:37:10] 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-07-08 22:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583634432001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583634432001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:37:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:37:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583634432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":128042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:37:10] local.INFO: GPS data processed {"connection_id":128042,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:37:10] local.INFO: Acknowledgment sent {"connection_id":128042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:37:15] local.INFO: TCP Data received {"connection_id":128042,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f42adeef8012d196500071ff078003e014224..."} 
[2026-07-08 22:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42adeef8012d196500071ff078003e014224..."} 
[2026-07-08 22:37:15] local.INFO: Processing buffer {"connection_id":128042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42adeef8012d196500071ff078003e014224..."} 
[2026-07-08 22:37:15] local.INFO: Packet analysis {"connection_id":128042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ad"} 
[2026-07-08 22:37:15] local.INFO: Extracted packet for processing {"connection_id":128042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ad"} 
[2026-07-08 22:37:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583634432001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22: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-07-08 22:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783530123000,"timestamp_ms":1783530123000,"timestamp_seconds":1783530123,"priority":1,"record_length":96,"hex_timestamp":"0000019f42adeef8"} 
[2026-07-08 22:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:37:15] 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-07-08 22: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":96,"data_length":795,"current_offset":136} 
[2026-07-08 22:37:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:37:15] 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-07-08 22:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583634432001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583634432001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:37:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:37:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583634432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":128042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:37:15] local.INFO: GPS data processed {"connection_id":128042,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:37:15] local.INFO: Acknowledgment sent {"connection_id":128042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:37:37] local.INFO: TCP Data received {"connection_id":128041,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b23c88012d6b7a0006129b98000600012d..."} 
[2026-07-08 22:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b23c88012d6b7a0006129b98000600012d..."} 
[2026-07-08 22:37:37] local.INFO: Processing buffer {"connection_id":128041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b23c88012d6b7a0006129b98000600012d..."} 
[2026-07-08 22:37:37] local.INFO: Packet analysis {"connection_id":128041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b2"} 
[2026-07-08 22:37:37] local.INFO: Extracted packet for processing {"connection_id":128041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b2"} 
[2026-07-08 22:37:37] local.INFO: GPS Element Parsed {"raw_longitude":762018304,"raw_latitude":101882776,"longitude_deg":76.2018304,"latitude_deg":10.1882776,"altitude":6,"angle":1,"satellites":45,"speed":22,"hex_longitude":"2d6b7a00","hex_latitude":"06129b98","is_valid_coordinates":true} 
[2026-07-08 22:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583782912001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343398221751517184,"note":"Value kept but may cause issues"} 
[2026-07-08 22:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7744643272786909184,"note":"Value kept but may cause issues"} 
[2026-07-08 22:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783530405000,"timestamp_ms":1783530405000,"timestamp_seconds":1783530405,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b23c88"} 
[2026-07-08 22:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 22:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583782912001,"66":27267,"137":206,"79":46336,"24":22,"16":343398221751517184,"45":7744643272786909184},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-07-08 22:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583782912001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:37:37] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-08 22:37:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-08 22:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343398221751517184,"km_value":343398221751517.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7744643272786909184,"description":"Unknown IO ID 45"} 
[2026-07-08 22:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583782912001,"power":27267,"unknown_137":206,"unknown_79":46336,"ignition":22,"odometer":null,"unknown_45":7744643272786909184}} 
[2026-07-08 22:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":128041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:37:37] local.INFO: GPS data processed {"connection_id":128041,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:37:37] local.INFO: Acknowledgment sent {"connection_id":128041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:37:59] local.INFO: TCP Data received {"connection_id":125904,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:37:59] local.INFO: Processing buffer {"connection_id":125904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:37:59] local.INFO: IMEI packet received {"connection_id":125904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":125904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:38:04] local.INFO: TCP Data received {"connection_id":125904,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:38:04] local.INFO: Processing buffer {"connection_id":125904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:38:04] local.INFO: IMEI packet received {"connection_id":125904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":125904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:38:05] local.INFO: TCP Data received {"connection_id":125905,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:38:05] local.INFO: Processing buffer {"connection_id":125905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:38:05] local.INFO: IMEI packet received {"connection_id":125905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":125905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:38:05] local.INFO: TCP Data received {"connection_id":125904,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b286c0012d196500071ff078003e014224..."} 
[2026-07-08 22:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b286c0012d196500071ff078003e014224..."} 
[2026-07-08 22:38:05] local.INFO: Processing buffer {"connection_id":125904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b286c0012d196500071ff078003e014224..."} 
[2026-07-08 22:38:05] local.INFO: Packet analysis {"connection_id":125904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b2"} 
[2026-07-08 22:38:05] local.INFO: Extracted packet for processing {"connection_id":125904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b2"} 
[2026-07-08 22:38:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583711488001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783530424000,"timestamp_ms":1783530424000,"timestamp_seconds":1783530424,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b286c0"} 
[2026-07-08 22:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:38:05] 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-07-08 22:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:38:05] 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-07-08 22:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583711488001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583711488001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:38:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:38:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583711488001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":125904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:38:05] local.INFO: GPS data processed {"connection_id":125904,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:38:05] local.INFO: Acknowledgment sent {"connection_id":125904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:38:08] local.INFO: TCP Data received {"connection_id":125905,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:38:08] local.INFO: Processing buffer {"connection_id":125905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:38:08] local.INFO: IMEI packet received {"connection_id":125905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":125905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:38:08] local.INFO: TCP Data received {"connection_id":125905,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b24840012d6b7ac00612a1880006000f2d..."} 
[2026-07-08 22:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b24840012d6b7ac00612a1880006000f2d..."} 
[2026-07-08 22:38:08] local.INFO: Processing buffer {"connection_id":125905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b24840012d6b7ac00612a1880006000f2d..."} 
[2026-07-08 22:38:08] local.INFO: Packet analysis {"connection_id":125905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b2"} 
[2026-07-08 22:38:08] local.INFO: Extracted packet for processing {"connection_id":125905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b2"} 
[2026-07-08 22:38:08] local.INFO: GPS Element Parsed {"raw_longitude":762018496,"raw_latitude":101884296,"longitude_deg":76.2018496,"latitude_deg":10.1884296,"altitude":6,"angle":15,"satellites":45,"speed":19,"hex_longitude":"2d6b7ac0","hex_latitude":"0612a188","is_valid_coordinates":true} 
[2026-07-08 22:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583783680001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343398294765961216,"note":"Value kept but may cause issues"} 
[2026-07-08 22:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7744502535298979840,"note":"Value kept but may cause issues"} 
[2026-07-08 22:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783530408000,"timestamp_ms":1783530408000,"timestamp_seconds":1783530408,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b24840"} 
[2026-07-08 22:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 22:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583783680001,"66":27343,"137":206,"79":46336,"24":19,"16":343398294765961216,"45":7744502535298979840},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-07-08 22:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583783680001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:38:08] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-08 22:38:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-08 22:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343398294765961216,"km_value":343398294765961.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":7744502535298979840,"description":"Unknown IO ID 45"} 
[2026-07-08 22:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583783680001,"power":27343,"unknown_137":206,"unknown_79":46336,"ignition":19,"odometer":null,"unknown_45":7744502535298979840}} 
[2026-07-08 22:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":125905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:38:08] local.INFO: GPS data processed {"connection_id":125905,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:38:08] local.INFO: Acknowledgment sent {"connection_id":125905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:38:36] local.INFO: TCP Data received {"connection_id":125904,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b286c0012d196500071ff078003e014224..."} 
[2026-07-08 22:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b286c0012d196500071ff078003e014224..."} 
[2026-07-08 22:38:36] local.INFO: Processing buffer {"connection_id":125904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b286c0012d196500071ff078003e014224..."} 
[2026-07-08 22:38:36] local.INFO: Packet analysis {"connection_id":125904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b2"} 
[2026-07-08 22:38:36] local.INFO: Extracted packet for processing {"connection_id":125904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b2"} 
[2026-07-08 22:38:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583711488001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783530424000,"timestamp_ms":1783530424000,"timestamp_seconds":1783530424,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b286c0"} 
[2026-07-08 22:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:38:36] 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-07-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:38:36] 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-07-08 22:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583711488001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583711488001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:38:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:38:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583711488001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":125904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:38:36] local.INFO: GPS data processed {"connection_id":125904,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:38:36] local.INFO: Acknowledgment sent {"connection_id":125904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:38:40] local.INFO: TCP Data received {"connection_id":125905,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b257e0012d6b7bc00612a888000501672d..."} 
[2026-07-08 22:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b257e0012d6b7bc00612a888000501672d..."} 
[2026-07-08 22:38:40] local.INFO: Processing buffer {"connection_id":125905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b257e0012d6b7bc00612a888000501672d..."} 
[2026-07-08 22:38:40] local.INFO: Packet analysis {"connection_id":125905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b2"} 
[2026-07-08 22:38:40] local.INFO: Extracted packet for processing {"connection_id":125905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b2"} 
[2026-07-08 22:38:40] local.INFO: GPS Element Parsed {"raw_longitude":762018752,"raw_latitude":101886088,"longitude_deg":76.2018752,"latitude_deg":10.1886088,"altitude":5,"angle":359,"satellites":45,"speed":18,"hex_longitude":"2d6b7bc0","hex_latitude":"0612a888","is_valid_coordinates":true} 
[2026-07-08 22:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583784448001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343398384960274432,"note":"Value kept but may cause issues"} 
[2026-07-08 22:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7744713641531901952,"note":"Value kept but may cause issues"} 
[2026-07-08 22:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783530412000,"timestamp_ms":1783530412000,"timestamp_seconds":1783530412,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b257e0"} 
[2026-07-08 22:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:38:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 22:38:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:38:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583784448001,"66":27321,"137":206,"79":46336,"24":18,"16":343398384960274432,"45":7744713641531901952},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-07-08 22:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583784448001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:38:40] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-08 22:38:40] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-08 22:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343398384960274432,"km_value":343398384960274.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":7744713641531901952,"description":"Unknown IO ID 45"} 
[2026-07-08 22:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583784448001,"power":27321,"unknown_137":206,"unknown_79":46336,"ignition":18,"odometer":null,"unknown_45":7744713641531901952}} 
[2026-07-08 22:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":125905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:38:40] local.INFO: GPS data processed {"connection_id":125905,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:38:40] local.INFO: Acknowledgment sent {"connection_id":125905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:38:54] local.INFO: TCP Data received {"connection_id":126795,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:38:54] local.INFO: Processing buffer {"connection_id":126795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:38:54] local.INFO: IMEI packet received {"connection_id":126795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":126795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:39:00] local.INFO: TCP Data received {"connection_id":126045,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:39:00] local.INFO: Processing buffer {"connection_id":126045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:39:00] local.INFO: IMEI packet received {"connection_id":126045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":126045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:39:00] local.INFO: TCP Data received {"connection_id":126795,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:39:00] local.INFO: Processing buffer {"connection_id":126795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:39:00] local.INFO: IMEI packet received {"connection_id":126795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":126795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:39:01] local.INFO: TCP Data received {"connection_id":126795,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b26398012d6b7b000612ade8000501592d..."} 
[2026-07-08 22:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b26398012d6b7b000612ade8000501592d..."} 
[2026-07-08 22:39:01] local.INFO: Processing buffer {"connection_id":126795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b26398012d6b7b000612ade8000501592d..."} 
[2026-07-08 22:39:01] local.INFO: Packet analysis {"connection_id":126795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b2"} 
[2026-07-08 22:39:01] local.INFO: Extracted packet for processing {"connection_id":126795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b2"} 
[2026-07-08 22:39:01] local.INFO: GPS Element Parsed {"raw_longitude":762018560,"raw_latitude":101887464,"longitude_deg":76.201856,"latitude_deg":10.1887464,"altitude":5,"angle":345,"satellites":45,"speed":18,"hex_longitude":"2d6b7b00","hex_latitude":"0612ade8","is_valid_coordinates":true} 
[2026-07-08 22:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583785472001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343398453679751168,"note":"Value kept but may cause issues"} 
[2026-07-08 22:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7744995116509071360,"note":"Value kept but may cause issues"} 
[2026-07-08 22:39:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783530415000,"timestamp_ms":1783530415000,"timestamp_seconds":1783530415,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b26398"} 
[2026-07-08 22:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:39:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 22:39:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:39:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583785472001,"66":27343,"137":206,"79":46336,"24":18,"16":343398453679751168,"45":7744995116509071360},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-07-08 22:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583785472001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:39:01] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-08 22:39:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-08 22:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343398453679751168,"km_value":343398453679751.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7744995116509071360,"description":"Unknown IO ID 45"} 
[2026-07-08 22:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583785472001,"power":27343,"unknown_137":206,"unknown_79":46336,"ignition":18,"odometer":null,"unknown_45":7744995116509071360}} 
[2026-07-08 22:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":126795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:39:01] local.INFO: GPS data processed {"connection_id":126795,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:39:01] local.INFO: Acknowledgment sent {"connection_id":126795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:39:04] local.INFO: TCP Data received {"connection_id":126045,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:39:04] local.INFO: Processing buffer {"connection_id":126045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:39:04] local.INFO: IMEI packet received {"connection_id":126045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":126045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:39:05] local.INFO: TCP Data received {"connection_id":126045,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b286c0012d196500071ff078003e014224..."} 
[2026-07-08 22:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b286c0012d196500071ff078003e014224..."} 
[2026-07-08 22:39:05] local.INFO: Processing buffer {"connection_id":126045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b286c0012d196500071ff078003e014224..."} 
[2026-07-08 22:39:05] local.INFO: Packet analysis {"connection_id":126045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b2"} 
[2026-07-08 22:39:05] local.INFO: Extracted packet for processing {"connection_id":126045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b2"} 
[2026-07-08 22:39:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583711488001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783530424000,"timestamp_ms":1783530424000,"timestamp_seconds":1783530424,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b286c0"} 
[2026-07-08 22:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:39:05] 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-07-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:39:05] 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-07-08 22:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583711488001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583711488001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:39:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:39:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583711488001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":126045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:39:05] local.INFO: GPS data processed {"connection_id":126045,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:39:05] local.INFO: Acknowledgment sent {"connection_id":126045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:39:32] local.INFO: TCP Data received {"connection_id":126795,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b26f50012d6b79400612b2900006014b2d..."} 
[2026-07-08 22:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b26f50012d6b79400612b2900006014b2d..."} 
[2026-07-08 22:39:32] local.INFO: Processing buffer {"connection_id":126795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b26f50012d6b79400612b2900006014b2d..."} 
[2026-07-08 22:39:32] local.INFO: Packet analysis {"connection_id":126795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b2"} 
[2026-07-08 22:39:32] local.INFO: Extracted packet for processing {"connection_id":126795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b2"} 
[2026-07-08 22:39:32] local.INFO: GPS Element Parsed {"raw_longitude":762018112,"raw_latitude":101888656,"longitude_deg":76.2018112,"latitude_deg":10.1888656,"altitude":6,"angle":331,"satellites":45,"speed":15,"hex_longitude":"2d6b7940","hex_latitude":"0612b290","is_valid_coordinates":true} 
[2026-07-08 22: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-07-08 22:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583786240001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343398513809293312,"note":"Value kept but may cause issues"} 
[2026-07-08 22:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7744784010276890624,"note":"Value kept but may cause issues"} 
[2026-07-08 22:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783530418000,"timestamp_ms":1783530418000,"timestamp_seconds":1783530418,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b26f50"} 
[2026-07-08 22:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 22:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583786240001,"66":27343,"137":206,"79":46336,"24":15,"16":343398513809293312,"45":7744784010276890624},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-07-08 22:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583786240001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:39:32] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-08 22:39:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-08 22:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343398513809293312,"km_value":343398513809293.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7744784010276890624,"description":"Unknown IO ID 45"} 
[2026-07-08 22:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583786240001,"power":27343,"unknown_137":206,"unknown_79":46336,"ignition":15,"odometer":null,"unknown_45":7744784010276890624}} 
[2026-07-08 22:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":126795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:39:32] local.INFO: GPS data processed {"connection_id":126795,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:39:32] local.INFO: Acknowledgment sent {"connection_id":126795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:39:47] local.INFO: TCP Data received {"connection_id":126045,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b286c0012d196500071ff078003e014224..."} 
[2026-07-08 22:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b286c0012d196500071ff078003e014224..."} 
[2026-07-08 22:39:47] local.INFO: Processing buffer {"connection_id":126045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b286c0012d196500071ff078003e014224..."} 
[2026-07-08 22:39:47] local.INFO: Packet analysis {"connection_id":126045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b2"} 
[2026-07-08 22:39:47] local.INFO: Extracted packet for processing {"connection_id":126045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b2"} 
[2026-07-08 22:39:47] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583711488001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:39: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-07-08 22:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783530424000,"timestamp_ms":1783530424000,"timestamp_seconds":1783530424,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b286c0"} 
[2026-07-08 22:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:39:47] 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-07-08 22:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:39: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-07-08 22:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":126045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":126045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":126045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:39:47] 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-07-08 22:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583711488001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583711488001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:39:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:39:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583711488001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":126045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:39:47] local.INFO: GPS data processed {"connection_id":126045,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:39:47] local.INFO: Acknowledgment sent {"connection_id":126045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:39:54] local.INFO: TCP Data received {"connection_id":126796,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:39:54] local.INFO: Processing buffer {"connection_id":126796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:39:54] local.INFO: IMEI packet received {"connection_id":126796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":126796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:39:59] local.INFO: TCP Data received {"connection_id":126797,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:39:59] local.INFO: Processing buffer {"connection_id":126797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:39:59] local.INFO: IMEI packet received {"connection_id":126797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":126797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:40:00] local.INFO: TCP Data received {"connection_id":126796,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:40:00] local.INFO: Processing buffer {"connection_id":126796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:40:00] local.INFO: IMEI packet received {"connection_id":126796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":126796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:40:01] local.INFO: TCP Data received {"connection_id":126796,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b286c0012d6b74c00612bb98000601582c..."} 
[2026-07-08 22:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b286c0012d6b74c00612bb98000601582c..."} 
[2026-07-08 22:40:01] local.INFO: Processing buffer {"connection_id":126796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b286c0012d6b74c00612bb98000601582c..."} 
[2026-07-08 22:40:01] local.INFO: Packet analysis {"connection_id":126796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b2"} 
[2026-07-08 22:40:01] local.INFO: Extracted packet for processing {"connection_id":126796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b2"} 
[2026-07-08 22:40:01] local.INFO: GPS Element Parsed {"raw_longitude":762016960,"raw_latitude":101890968,"longitude_deg":76.201696,"latitude_deg":10.1890968,"altitude":6,"angle":344,"satellites":44,"speed":19,"hex_longitude":"2d6b74c0","hex_latitude":"0612bb98","is_valid_coordinates":true} 
[2026-07-08 22:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583787008001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343398638363344896,"note":"Value kept but may cause issues"} 
[2026-07-08 22:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7744291429067952128,"note":"Value kept but may cause issues"} 
[2026-07-08 22:40:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783530424000,"timestamp_ms":1783530424000,"timestamp_seconds":1783530424,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b286c0"} 
[2026-07-08 22:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:40:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 22:40:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:40:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583787008001,"66":27169,"137":206,"79":46336,"24":19,"16":343398638363344896,"45":7744291429067952128},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-07-08 22:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583787008001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:40:01] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-08 22:40:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-08 22:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343398638363344896,"km_value":343398638363344.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7744291429067952128,"description":"Unknown IO ID 45"} 
[2026-07-08 22:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583787008001,"power":27169,"unknown_137":206,"unknown_79":46336,"ignition":19,"odometer":null,"unknown_45":7744291429067952128}} 
[2026-07-08 22:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":126796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:40:01] local.INFO: GPS data processed {"connection_id":126796,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:40:01] local.INFO: Acknowledgment sent {"connection_id":126796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:40:04] local.INFO: TCP Data received {"connection_id":126797,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:40:04] local.INFO: Processing buffer {"connection_id":126797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:40:04] local.INFO: IMEI packet received {"connection_id":126797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":126797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:40:05] local.INFO: TCP Data received {"connection_id":126797,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b286c0012d196500071ff078003e014224..."} 
[2026-07-08 22:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b286c0012d196500071ff078003e014224..."} 
[2026-07-08 22:40:05] local.INFO: Processing buffer {"connection_id":126797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b286c0012d196500071ff078003e014224..."} 
[2026-07-08 22:40:05] local.INFO: Packet analysis {"connection_id":126797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b2"} 
[2026-07-08 22:40:05] local.INFO: Extracted packet for processing {"connection_id":126797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b2"} 
[2026-07-08 22:40:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583711488001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783530424000,"timestamp_ms":1783530424000,"timestamp_seconds":1783530424,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b286c0"} 
[2026-07-08 22:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:40:05] 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-07-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:40:05] 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-07-08 22:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583711488001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583711488001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:40:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:40:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583711488001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":126797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:40:05] local.INFO: GPS data processed {"connection_id":126797,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:40:05] local.INFO: Acknowledgment sent {"connection_id":126797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:40:32] local.INFO: TCP Data received {"connection_id":126796,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b4c8e0012d6b4f4006142118000c016330..."} 
[2026-07-08 22:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b4c8e0012d6b4f4006142118000c016330..."} 
[2026-07-08 22:40:32] local.INFO: Processing buffer {"connection_id":126796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b4c8e0012d6b4f4006142118000c016330..."} 
[2026-07-08 22:40:32] local.INFO: Packet analysis {"connection_id":126796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b4"} 
[2026-07-08 22:40:32] local.INFO: Extracted packet for processing {"connection_id":126796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b4"} 
[2026-07-08 22:40:32] local.INFO: GPS Element Parsed {"raw_longitude":762007360,"raw_latitude":101982488,"longitude_deg":76.200736,"latitude_deg":10.1982488,"altitude":12,"angle":355,"satellites":48,"speed":22,"hex_longitude":"2d6b4f40","hex_latitude":"06142118","is_valid_coordinates":true} 
[2026-07-08 22:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583826432001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343403105129332736,"note":"Value kept but may cause issues"} 
[2026-07-08 22:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7732469480070125568,"note":"Value kept but may cause issues"} 
[2026-07-08 22:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783530572000,"timestamp_ms":1783530572000,"timestamp_seconds":1783530572,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b4c8e0"} 
[2026-07-08 22:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-08 22:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583826432001,"66":27300,"167":206,"79":20992,"24":22,"16":343403105129332736,"45":7732469480070125568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-07-08 22:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583826432001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:40:32] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-08 22:40:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 22:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343403105129332736,"km_value":343403105129332.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7732469480070125568,"description":"Unknown IO ID 45"} 
[2026-07-08 22:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583826432001,"power":27300,"unknown_167":206,"unknown_79":20992,"ignition":22,"odometer":null,"unknown_45":7732469480070125568}} 
[2026-07-08 22:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":126796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:40:32] local.INFO: GPS data processed {"connection_id":126796,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:40:32] local.INFO: Acknowledgment sent {"connection_id":126796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:40:36] local.INFO: TCP Data received {"connection_id":126797,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b286c0012d196500071ff078003e014224..."} 
[2026-07-08 22:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b286c0012d196500071ff078003e014224..."} 
[2026-07-08 22:40:36] local.INFO: Processing buffer {"connection_id":126797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b286c0012d196500071ff078003e014224..."} 
[2026-07-08 22:40:36] local.INFO: Packet analysis {"connection_id":126797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b2"} 
[2026-07-08 22:40:36] local.INFO: Extracted packet for processing {"connection_id":126797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b2"} 
[2026-07-08 22:40:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583711488001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783530424000,"timestamp_ms":1783530424000,"timestamp_seconds":1783530424,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b286c0"} 
[2026-07-08 22:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:40:36] 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-07-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:40:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:40:36] 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-07-08 22:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583711488001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583711488001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:40:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:40:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583711488001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":126797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:40:36] local.INFO: GPS data processed {"connection_id":126797,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:40:36] local.INFO: Acknowledgment sent {"connection_id":126797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:40:54] local.INFO: TCP Data received {"connection_id":125907,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:40:54] local.INFO: Processing buffer {"connection_id":125907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:40:54] local.INFO: IMEI packet received {"connection_id":125907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":125907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:41:00] local.INFO: TCP Data received {"connection_id":125907,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:41:00] local.INFO: Processing buffer {"connection_id":125907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:41:00] local.INFO: IMEI packet received {"connection_id":125907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":125907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:41:01] local.INFO: TCP Data received {"connection_id":125907,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b51ae8012d6b4b8006144498000c016030..."} 
[2026-07-08 22:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b51ae8012d6b4b8006144498000c016030..."} 
[2026-07-08 22:41:01] local.INFO: Processing buffer {"connection_id":125907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b51ae8012d6b4b8006144498000c016030..."} 
[2026-07-08 22:41:01] local.INFO: Packet analysis {"connection_id":125907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b5"} 
[2026-07-08 22:41:01] local.INFO: Extracted packet for processing {"connection_id":125907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b5"} 
[2026-07-08 22:41:01] local.INFO: GPS Element Parsed {"raw_longitude":762006400,"raw_latitude":101991576,"longitude_deg":76.20064,"latitude_deg":10.1991576,"altitude":12,"angle":352,"satellites":48,"speed":20,"hex_longitude":"2d6b4b80","hex_latitude":"06144498","is_valid_coordinates":true} 
[2026-07-08 22:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583826432001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343403551805931520,"note":"Value kept but may cause issues"} 
[2026-07-08 22:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7732469480070125568,"note":"Value kept but may cause issues"} 
[2026-07-08 22:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783530593000,"timestamp_ms":1783530593000,"timestamp_seconds":1783530593,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b51ae8"} 
[2026-07-08 22:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:41:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-08 22:41:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:41:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583826432001,"66":27365,"167":206,"79":20992,"24":20,"16":343403551805931520,"45":7732469480070125568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-07-08 22:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583826432001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:41:01] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-08 22:41:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 22:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343403551805931520,"km_value":343403551805931.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7732469480070125568,"description":"Unknown IO ID 45"} 
[2026-07-08 22:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583826432001,"power":27365,"unknown_167":206,"unknown_79":20992,"ignition":20,"odometer":null,"unknown_45":7732469480070125568}} 
[2026-07-08 22:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":125907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:41:01] local.INFO: GPS data processed {"connection_id":125907,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:41:01] local.INFO: Acknowledgment sent {"connection_id":125907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:41:04] local.INFO: TCP Data received {"connection_id":126046,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:41:04] local.INFO: Processing buffer {"connection_id":126046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:41:04] local.INFO: IMEI packet received {"connection_id":126046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":126046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:41:09] local.INFO: TCP Data received {"connection_id":126046,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:41:09] local.INFO: Processing buffer {"connection_id":126046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:41:09] local.INFO: IMEI packet received {"connection_id":126046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":126046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:41:10] local.INFO: TCP Data received {"connection_id":126046,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b286c0012d196500071ff078003e014224..."} 
[2026-07-08 22:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b286c0012d196500071ff078003e014224..."} 
[2026-07-08 22:41:10] local.INFO: Processing buffer {"connection_id":126046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b286c0012d196500071ff078003e014224..."} 
[2026-07-08 22:41:10] local.INFO: Packet analysis {"connection_id":126046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b2"} 
[2026-07-08 22:41:10] local.INFO: Extracted packet for processing {"connection_id":126046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b2"} 
[2026-07-08 22:41:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583711488001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:41: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-07-08 22:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783530424000,"timestamp_ms":1783530424000,"timestamp_seconds":1783530424,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b286c0"} 
[2026-07-08 22:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:41: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-07-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:41:10] 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-07-08 22:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583711488001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583711488001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:41:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:41:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583711488001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":126046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:41:10] local.INFO: GPS data processed {"connection_id":126046,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:41:10] local.INFO: Acknowledgment sent {"connection_id":126046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:41:14] local.INFO: TCP Data received {"connection_id":126046,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b286c0012d196500071ff078003e014224..."} 
[2026-07-08 22:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b286c0012d196500071ff078003e014224..."} 
[2026-07-08 22:41:14] local.INFO: Processing buffer {"connection_id":126046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b286c0012d196500071ff078003e014224..."} 
[2026-07-08 22:41:14] local.INFO: Packet analysis {"connection_id":126046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b2"} 
[2026-07-08 22:41:14] local.INFO: Extracted packet for processing {"connection_id":126046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b2"} 
[2026-07-08 22:41:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22: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-07-08 22:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583711488001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:41:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783530424000,"timestamp_ms":1783530424000,"timestamp_seconds":1783530424,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b286c0"} 
[2026-07-08 22:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:41: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-07-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:41:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":126046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":126046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":126046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:41:14] 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-07-08 22:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583711488001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583711488001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:41:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:41:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583711488001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":126046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:41:14] local.INFO: GPS data processed {"connection_id":126046,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:41:14] local.INFO: Acknowledgment sent {"connection_id":126046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:41:31] local.INFO: TCP Data received {"connection_id":125907,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b51ae8012d6b4b8006144498000c016030..."} 
[2026-07-08 22:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b51ae8012d6b4b8006144498000c016030..."} 
[2026-07-08 22:41:31] local.INFO: Processing buffer {"connection_id":125907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b51ae8012d6b4b8006144498000c016030..."} 
[2026-07-08 22:41:31] local.INFO: Packet analysis {"connection_id":125907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b5"} 
[2026-07-08 22:41:31] local.INFO: Extracted packet for processing {"connection_id":125907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b5"} 
[2026-07-08 22:41:31] local.INFO: GPS Element Parsed {"raw_longitude":762006400,"raw_latitude":101991576,"longitude_deg":76.20064,"latitude_deg":10.1991576,"altitude":12,"angle":352,"satellites":48,"speed":20,"hex_longitude":"2d6b4b80","hex_latitude":"06144498","is_valid_coordinates":true} 
[2026-07-08 22: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-07-08 22:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583831808001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343403551805931520,"note":"Value kept but may cause issues"} 
[2026-07-08 22:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7731413948909787136,"note":"Value kept but may cause issues"} 
[2026-07-08 22:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783530593000,"timestamp_ms":1783530593000,"timestamp_seconds":1783530593,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b51ae8"} 
[2026-07-08 22:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:41: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-07-08 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 22:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":125907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":125907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":125907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583831808001,"66":27365,"167":206,"79":20992,"24":20,"16":343403551805931520,"45":7731413948909787136},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-07-08 22:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583831808001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:41:31] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-08 22:41:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 22:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343403551805931520,"km_value":343403551805931.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7731413948909787136,"description":"Unknown IO ID 45"} 
[2026-07-08 22:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583831808001,"power":27365,"unknown_167":206,"unknown_79":20992,"ignition":20,"odometer":null,"unknown_45":7731413948909787136}} 
[2026-07-08 22:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":125907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:41:31] local.INFO: GPS data processed {"connection_id":125907,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:41:31] local.INFO: Acknowledgment sent {"connection_id":125907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:41:54] local.INFO: TCP Data received {"connection_id":125908,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:41:54] local.INFO: Processing buffer {"connection_id":125908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:41:54] local.INFO: IMEI packet received {"connection_id":125908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":125908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:41:55] local.INFO: TCP Data received {"connection_id":126798,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126798,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:41:55] local.INFO: Processing buffer {"connection_id":126798,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:41:55] local.INFO: IMEI packet received {"connection_id":126798,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 22:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":126798,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:41:59] local.INFO: TCP Data received {"connection_id":125909,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:41:59] local.INFO: Processing buffer {"connection_id":125909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:41:59] local.INFO: IMEI packet received {"connection_id":125909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":125909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:42:02] local.INFO: TCP Data received {"connection_id":125908,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:42:02] local.INFO: Processing buffer {"connection_id":125908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:42:02] local.INFO: IMEI packet received {"connection_id":125908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":125908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:42:02] local.INFO: TCP Data received {"connection_id":125908,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b56138012d6b478006146820000b01612f..."} 
[2026-07-08 22:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b56138012d6b478006146820000b01612f..."} 
[2026-07-08 22:42:02] local.INFO: Processing buffer {"connection_id":125908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b56138012d6b478006146820000b01612f..."} 
[2026-07-08 22:42:02] local.INFO: Packet analysis {"connection_id":125908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b5"} 
[2026-07-08 22:42:02] local.INFO: Extracted packet for processing {"connection_id":125908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b5"} 
[2026-07-08 22:42:02] local.INFO: GPS Element Parsed {"raw_longitude":762005376,"raw_latitude":102000672,"longitude_deg":76.2005376,"latitude_deg":10.2000672,"altitude":11,"angle":353,"satellites":47,"speed":23,"hex_longitude":"2d6b4780","hex_latitude":"06146820","is_valid_coordinates":true} 
[2026-07-08 22: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-07-08 22:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583831808001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343403994187563008,"note":"Value kept but may cause issues"} 
[2026-07-08 22:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7731413948909787136,"note":"Value kept but may cause issues"} 
[2026-07-08 22:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783530611000,"timestamp_ms":1783530611000,"timestamp_seconds":1783530611,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b56138"} 
[2026-07-08 22:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:42: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-07-08 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 22:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583831808001,"66":27571,"167":206,"79":20992,"24":23,"16":343403994187563008,"45":7731413948909787136},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-07-08 22:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583831808001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:42:02] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-08 22:42:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 22:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343403994187563008,"km_value":343403994187563.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7731413948909787136,"description":"Unknown IO ID 45"} 
[2026-07-08 22:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583831808001,"power":27571,"unknown_167":206,"unknown_79":20992,"ignition":23,"odometer":null,"unknown_45":7731413948909787136}} 
[2026-07-08 22:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":125908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:42:02] local.INFO: GPS data processed {"connection_id":125908,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:42:02] local.INFO: Acknowledgment sent {"connection_id":125908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:42:04] local.INFO: TCP Data received {"connection_id":125909,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:42:04] local.INFO: Processing buffer {"connection_id":125909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:42:04] local.INFO: IMEI packet received {"connection_id":125909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":125909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:42:05] local.INFO: TCP Data received {"connection_id":125909,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b286c0012d196500071ff078003e014224..."} 
[2026-07-08 22:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b286c0012d196500071ff078003e014224..."} 
[2026-07-08 22:42:05] local.INFO: Processing buffer {"connection_id":125909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b286c0012d196500071ff078003e014224..."} 
[2026-07-08 22:42:05] local.INFO: Packet analysis {"connection_id":125909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b2"} 
[2026-07-08 22:42:05] local.INFO: Extracted packet for processing {"connection_id":125909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b2"} 
[2026-07-08 22:42:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583711488001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783530424000,"timestamp_ms":1783530424000,"timestamp_seconds":1783530424,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b286c0"} 
[2026-07-08 22:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:42:05] 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-07-08 22:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:42:05] 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-07-08 22:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583711488001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583711488001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:42:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:42:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583711488001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":125909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:42:05] local.INFO: GPS data processed {"connection_id":125909,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:42:05] local.INFO: Acknowledgment sent {"connection_id":125909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:42:34] local.INFO: TCP Data received {"connection_id":125908,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b59bd0012d6b458006148b00000900012e..."} 
[2026-07-08 22:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b59bd0012d6b458006148b00000900012e..."} 
[2026-07-08 22:42:34] local.INFO: Processing buffer {"connection_id":125908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b59bd0012d6b458006148b00000900012e..."} 
[2026-07-08 22:42:34] local.INFO: Packet analysis {"connection_id":125908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b5"} 
[2026-07-08 22:42:34] local.INFO: Extracted packet for processing {"connection_id":125908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b5"} 
[2026-07-08 22:42:34] local.INFO: GPS Element Parsed {"raw_longitude":762004864,"raw_latitude":102009600,"longitude_deg":76.2004864,"latitude_deg":10.20096,"altitude":9,"angle":1,"satellites":46,"speed":20,"hex_longitude":"2d6b4580","hex_latitude":"06148b00","is_valid_coordinates":true} 
[2026-07-08 22: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-07-08 22:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583836416001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343404432274227200,"note":"Value kept but may cause issues"} 
[2026-07-08 22:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7730288049005273088,"note":"Value kept but may cause issues"} 
[2026-07-08 22:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783530626000,"timestamp_ms":1783530626000,"timestamp_seconds":1783530626,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b59bd0"} 
[2026-07-08 22:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:42: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-07-08 22: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-08 22:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":125908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":125908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":125908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583836416001,"66":27343,"167":206,"79":20992,"24":20,"16":343404432274227200,"45":7730288049005273088},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-07-08 22:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583836416001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:42:34] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-08 22:42:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 22:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343404432274227200,"km_value":343404432274227.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7730288049005273088,"description":"Unknown IO ID 45"} 
[2026-07-08 22:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583836416001,"power":27343,"unknown_167":206,"unknown_79":20992,"ignition":20,"odometer":null,"unknown_45":7730288049005273088}} 
[2026-07-08 22:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":125908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:42:34] local.INFO: GPS data processed {"connection_id":125908,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:42:34] local.INFO: Acknowledgment sent {"connection_id":125908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:42:36] local.INFO: TCP Data received {"connection_id":125909,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b286c0012d196500071ff078003e014224..."} 
[2026-07-08 22:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b286c0012d196500071ff078003e014224..."} 
[2026-07-08 22:42:36] local.INFO: Processing buffer {"connection_id":125909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b286c0012d196500071ff078003e014224..."} 
[2026-07-08 22:42:36] local.INFO: Packet analysis {"connection_id":125909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b2"} 
[2026-07-08 22:42:36] local.INFO: Extracted packet for processing {"connection_id":125909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b2"} 
[2026-07-08 22:42:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583711488001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783530424000,"timestamp_ms":1783530424000,"timestamp_seconds":1783530424,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b286c0"} 
[2026-07-08 22:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:42:36] 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-07-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:42:36] 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-07-08 22:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583711488001,"66":2144,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583711488001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:42:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:42:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583711488001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":125909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:42:36] local.INFO: GPS data processed {"connection_id":125909,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:42:36] local.INFO: Acknowledgment sent {"connection_id":125909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:42:59] local.INFO: TCP Data received {"connection_id":126047,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:42:59] local.INFO: Processing buffer {"connection_id":126047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:42:59] local.INFO: IMEI packet received {"connection_id":126047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":126047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:42:59] local.INFO: TCP Data received {"connection_id":128044,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:42:59] local.INFO: Processing buffer {"connection_id":128044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:42:59] local.INFO: IMEI packet received {"connection_id":128044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":128044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:43:04] local.INFO: TCP Data received {"connection_id":126047,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:43:04] local.INFO: Processing buffer {"connection_id":126047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:43:04] local.INFO: IMEI packet received {"connection_id":126047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":126047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:43:05] local.INFO: TCP Data received {"connection_id":126047,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b71e88012d196500071ff078003e014225..."} 
[2026-07-08 22:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b71e88012d196500071ff078003e014225..."} 
[2026-07-08 22:43:05] local.INFO: Processing buffer {"connection_id":126047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b71e88012d196500071ff078003e014225..."} 
[2026-07-08 22:43:05] local.INFO: Packet analysis {"connection_id":126047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b7"} 
[2026-07-08 22:43:05] local.INFO: Extracted packet for processing {"connection_id":126047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b7"} 
[2026-07-08 22:43:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583788544001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783530725000,"timestamp_ms":1783530725000,"timestamp_seconds":1783530725,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b71e88"} 
[2026-07-08 22:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 22:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583788544001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583788544001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:43:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:43:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583788544001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":126047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:43:05] local.INFO: GPS data processed {"connection_id":126047,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:43:05] local.INFO: Acknowledgment sent {"connection_id":126047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:43:13] local.INFO: TCP Data received {"connection_id":128044,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:43:13] local.INFO: Processing buffer {"connection_id":128044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:43:13] local.INFO: IMEI packet received {"connection_id":128044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":128044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:43:15] local.INFO: TCP Data received {"connection_id":128044,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b5af58012d6b4480061494380008015f2e..."} 
[2026-07-08 22:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b5af58012d6b4480061494380008015f2e..."} 
[2026-07-08 22:43:15] local.INFO: Processing buffer {"connection_id":128044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b5af58012d6b4480061494380008015f2e..."} 
[2026-07-08 22:43:15] local.INFO: Packet analysis {"connection_id":128044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b5"} 
[2026-07-08 22:43:15] local.INFO: Extracted packet for processing {"connection_id":128044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b5"} 
[2026-07-08 22:43:15] local.INFO: GPS Element Parsed {"raw_longitude":762004608,"raw_latitude":102011960,"longitude_deg":76.2004608,"latitude_deg":10.201196,"altitude":8,"angle":351,"satellites":46,"speed":16,"hex_longitude":"2d6b4480","hex_latitude":"06149438","is_valid_coordinates":true} 
[2026-07-08 22:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583840256001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343404543943376896,"note":"Value kept but may cause issues"} 
[2026-07-08 22:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7729725099054137344,"note":"Value kept but may cause issues"} 
[2026-07-08 22:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783530631000,"timestamp_ms":1783530631000,"timestamp_seconds":1783530631,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b5af58"} 
[2026-07-08 22:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 22:43:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":128044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":128044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":128044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583840256001,"66":27365,"167":206,"79":20992,"24":16,"16":343404543943376896,"45":7729725099054137344},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-07-08 22:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583840256001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:43:15] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-08 22:43:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 22:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343404543943376896,"km_value":343404543943376.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":7729725099054137344,"description":"Unknown IO ID 45"} 
[2026-07-08 22:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583840256001,"power":27365,"unknown_167":206,"unknown_79":20992,"ignition":16,"odometer":null,"unknown_45":7729725099054137344}} 
[2026-07-08 22:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":128044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:43:15] local.INFO: GPS data processed {"connection_id":128044,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:43:15] local.INFO: Acknowledgment sent {"connection_id":128044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:43:16] local.INFO: TCP Data received {"connection_id":128044,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b60160012d6b42400614ab900006016030..."} 
[2026-07-08 22:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b60160012d6b42400614ab900006016030..."} 
[2026-07-08 22:43:16] local.INFO: Processing buffer {"connection_id":128044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b60160012d6b42400614ab900006016030..."} 
[2026-07-08 22:43:16] local.INFO: Packet analysis {"connection_id":128044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b6"} 
[2026-07-08 22:43:16] local.INFO: Extracted packet for processing {"connection_id":128044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b6"} 
[2026-07-08 22:43:16] local.INFO: GPS Element Parsed {"raw_longitude":762004032,"raw_latitude":102017936,"longitude_deg":76.2004032,"latitude_deg":10.2017936,"altitude":6,"angle":352,"satellites":48,"speed":13,"hex_longitude":"2d6b4240","hex_latitude":"0614ab90","is_valid_coordinates":true} 
[2026-07-08 22:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583841536001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343404840296120320,"note":"Value kept but may cause issues"} 
[2026-07-08 22:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7729443624078030848,"note":"Value kept but may cause issues"} 
[2026-07-08 22:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783530652000,"timestamp_ms":1783530652000,"timestamp_seconds":1783530652,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b60160"} 
[2026-07-08 22:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 22:43:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:43:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":128044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":128044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":128044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583841536001,"66":27321,"167":206,"79":20992,"24":13,"16":343404840296120320,"45":7729443624078030848},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-07-08 22:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583841536001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:43:16] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-08 22:43:16] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 22:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343404840296120320,"km_value":343404840296120.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":7729443624078030848,"description":"Unknown IO ID 45"} 
[2026-07-08 22:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583841536001,"power":27321,"unknown_167":206,"unknown_79":20992,"ignition":13,"odometer":null,"unknown_45":7729443624078030848}} 
[2026-07-08 22:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":128044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:43:16] local.INFO: GPS data processed {"connection_id":128044,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:43:16] local.INFO: Acknowledgment sent {"connection_id":128044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:43:36] local.INFO: TCP Data received {"connection_id":126047,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b71e88012d196500071ff078003e014225..."} 
[2026-07-08 22:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b71e88012d196500071ff078003e014225..."} 
[2026-07-08 22:43:36] local.INFO: Processing buffer {"connection_id":126047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b71e88012d196500071ff078003e014225..."} 
[2026-07-08 22:43:36] local.INFO: Packet analysis {"connection_id":126047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b7"} 
[2026-07-08 22:43:36] local.INFO: Extracted packet for processing {"connection_id":126047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b7"} 
[2026-07-08 22:43:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583788544001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783530725000,"timestamp_ms":1783530725000,"timestamp_seconds":1783530725,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b71e88"} 
[2026-07-08 22:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 22:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583788544001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583788544001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:43:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:43:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583788544001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":126047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:43:36] local.INFO: GPS data processed {"connection_id":126047,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:43:36] local.INFO: Acknowledgment sent {"connection_id":126047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:43:55] local.INFO: TCP Data received {"connection_id":125910,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:43:55] local.INFO: Processing buffer {"connection_id":125910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:43:55] local.INFO: IMEI packet received {"connection_id":125910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":125910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:43:58] local.INFO: TCP Data received {"connection_id":125910,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:43:58] local.INFO: Processing buffer {"connection_id":125910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:43:58] local.INFO: IMEI packet received {"connection_id":125910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":125910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:43:59] local.INFO: TCP Data received {"connection_id":126800,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:43:59] local.INFO: Processing buffer {"connection_id":126800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:43:59] local.INFO: IMEI packet received {"connection_id":126800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":126800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:43:59] local.INFO: TCP Data received {"connection_id":125910,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b7ce50012d6b018006161e60000e01552f..."} 
[2026-07-08 22:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b7ce50012d6b018006161e60000e01552f..."} 
[2026-07-08 22:43:59] local.INFO: Processing buffer {"connection_id":125910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b7ce50012d6b018006161e60000e01552f..."} 
[2026-07-08 22:43:59] local.INFO: Packet analysis {"connection_id":125910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b7"} 
[2026-07-08 22:43:59] local.INFO: Extracted packet for processing {"connection_id":125910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b7"} 
[2026-07-08 22:43:59] local.INFO: GPS Element Parsed {"raw_longitude":761987456,"raw_latitude":102112864,"longitude_deg":76.1987456,"latitude_deg":10.2112864,"altitude":14,"angle":341,"satellites":47,"speed":59,"hex_longitude":"2d6b0180","hex_latitude":"06161e60","is_valid_coordinates":true} 
[2026-07-08 22:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583875584001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343409556170211328,"note":"Value kept but may cause issues"} 
[2026-07-08 22:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7713892131638433792,"note":"Value kept but may cause issues"} 
[2026-07-08 22:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783530770000,"timestamp_ms":1783530770000,"timestamp_seconds":1783530770,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b7ce50"} 
[2026-07-08 22:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-08 22:43:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:43:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":125910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":125910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":125910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:43:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583875584001,"66":27484,"236":206,"79":20992,"24":59,"16":343409556170211328,"45":7713892131638433792},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,79,24,16,45]} 
[2026-07-08 22:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583875584001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:43:59] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-08 22:43:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 22:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343409556170211328,"km_value":343409556170211.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7713892131638433792,"description":"Unknown IO ID 45"} 
[2026-07-08 22:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583875584001,"power":27484,"unknown_236":206,"unknown_79":20992,"ignition":59,"odometer":null,"unknown_45":7713892131638433792}} 
[2026-07-08 22:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":125910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:43:59] local.INFO: GPS data processed {"connection_id":125910,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:43:59] local.INFO: Acknowledgment sent {"connection_id":125910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:44:04] local.INFO: TCP Data received {"connection_id":126800,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:44:04] local.INFO: Processing buffer {"connection_id":126800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:44:04] local.INFO: IMEI packet received {"connection_id":126800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":126800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:44:05] local.INFO: TCP Data received {"connection_id":126800,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b71e88012d196500071ff078003e014225..."} 
[2026-07-08 22:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b71e88012d196500071ff078003e014225..."} 
[2026-07-08 22:44:05] local.INFO: Processing buffer {"connection_id":126800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b71e88012d196500071ff078003e014225..."} 
[2026-07-08 22:44:05] local.INFO: Packet analysis {"connection_id":126800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b7"} 
[2026-07-08 22:44:05] local.INFO: Extracted packet for processing {"connection_id":126800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b7"} 
[2026-07-08 22:44:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583788544001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783530725000,"timestamp_ms":1783530725000,"timestamp_seconds":1783530725,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b71e88"} 
[2026-07-08 22:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 22:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583788544001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583788544001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:44:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:44:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583788544001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":126800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:44:05] local.INFO: GPS data processed {"connection_id":126800,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:44:05] local.INFO: Acknowledgment sent {"connection_id":126800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:44:32] local.INFO: TCP Data received {"connection_id":125910,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b7e5c0012d6af60006163fc8000e015430..."} 
[2026-07-08 22:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b7e5c0012d6af60006163fc8000e015430..."} 
[2026-07-08 22:44:32] local.INFO: Processing buffer {"connection_id":125910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b7e5c0012d6af60006163fc8000e015430..."} 
[2026-07-08 22:44:32] local.INFO: Packet analysis {"connection_id":125910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b7"} 
[2026-07-08 22:44:32] local.INFO: Extracted packet for processing {"connection_id":125910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b7"} 
[2026-07-08 22:44:32] local.INFO: GPS Element Parsed {"raw_longitude":761984512,"raw_latitude":102121416,"longitude_deg":76.1984512,"latitude_deg":10.2121416,"altitude":14,"angle":340,"satellites":48,"speed":59,"hex_longitude":"2d6af600","hex_latitude":"06163fc8","is_valid_coordinates":true} 
[2026-07-08 22: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-07-08 22:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583877120001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343409994256875520,"note":"Value kept but may cause issues"} 
[2026-07-08 22:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7710584800664248320,"note":"Value kept but may cause issues"} 
[2026-07-08 22:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783530776000,"timestamp_ms":1783530776000,"timestamp_seconds":1783530776,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b7e5c0"} 
[2026-07-08 22:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 22:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583877120001,"66":27484,"236":206,"79":20992,"24":59,"16":343409994256875520,"45":7710584800664248320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,79,24,16,45]} 
[2026-07-08 22:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583877120001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:44:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-08 22:44:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 22:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343409994256875520,"km_value":343409994256875.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7710584800664248320,"description":"Unknown IO ID 45"} 
[2026-07-08 22:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583877120001,"power":27484,"unknown_236":206,"unknown_79":20992,"ignition":59,"odometer":null,"unknown_45":7710584800664248320}} 
[2026-07-08 22:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":125910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:44:32] local.INFO: GPS data processed {"connection_id":125910,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:44:32] local.INFO: Acknowledgment sent {"connection_id":125910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:44:36] local.INFO: TCP Data received {"connection_id":126800,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b71e88012d196500071ff078003e014225..."} 
[2026-07-08 22:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b71e88012d196500071ff078003e014225..."} 
[2026-07-08 22:44:36] local.INFO: Processing buffer {"connection_id":126800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b71e88012d196500071ff078003e014225..."} 
[2026-07-08 22:44:36] local.INFO: Packet analysis {"connection_id":126800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b7"} 
[2026-07-08 22:44:36] local.INFO: Extracted packet for processing {"connection_id":126800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b7"} 
[2026-07-08 22:44:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583788544001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783530725000,"timestamp_ms":1783530725000,"timestamp_seconds":1783530725,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b71e88"} 
[2026-07-08 22:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 22:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583788544001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583788544001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:44:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:44:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583788544001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":126800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:44:36] local.INFO: GPS data processed {"connection_id":126800,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:44:36] local.INFO: Acknowledgment sent {"connection_id":126800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:44:54] local.INFO: TCP Data received {"connection_id":128045,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:44:54] local.INFO: Processing buffer {"connection_id":128045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:44:54] local.INFO: IMEI packet received {"connection_id":128045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":128045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:44:59] local.INFO: TCP Data received {"connection_id":126801,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:44:59] local.INFO: Processing buffer {"connection_id":126801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:44:59] local.INFO: IMEI packet received {"connection_id":126801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":126801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:44:59] local.INFO: TCP Data received {"connection_id":128045,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:44:59] local.INFO: Processing buffer {"connection_id":128045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:44:59] local.INFO: IMEI packet received {"connection_id":128045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":128045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:45:00] local.INFO: TCP Data received {"connection_id":128045,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:45:00] local.INFO: Processing buffer {"connection_id":128045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:45:00] local.INFO: IMEI packet received {"connection_id":128045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":128045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:45:02] local.INFO: TCP Data received {"connection_id":128045,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b8fb18012d6a90000617bc38000b01662f..."} 
[2026-07-08 22:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b8fb18012d6a90000617bc38000b01662f..."} 
[2026-07-08 22:45:02] local.INFO: Processing buffer {"connection_id":128045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b8fb18012d6a90000617bc38000b01662f..."} 
[2026-07-08 22:45:02] local.INFO: Packet analysis {"connection_id":128045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b8"} 
[2026-07-08 22:45:02] local.INFO: Extracted packet for processing {"connection_id":128045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b8"} 
[2026-07-08 22:45:02] local.INFO: GPS Element Parsed {"raw_longitude":761958400,"raw_latitude":102218808,"longitude_deg":76.19584,"latitude_deg":10.2218808,"altitude":11,"angle":358,"satellites":47,"speed":56,"hex_longitude":"2d6a9000","hex_latitude":"0617bc38","is_valid_coordinates":true} 
[2026-07-08 22: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-07-08 22:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583895040001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343414911994429440,"note":"Value kept but may cause issues"} 
[2026-07-08 22:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7679129972041441280,"note":"Value kept but may cause issues"} 
[2026-07-08 22:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783530847000,"timestamp_ms":1783530847000,"timestamp_seconds":1783530847,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b8fb18"} 
[2026-07-08 22:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-08 22:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":128045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":128045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":128045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583895040001,"66":27376,"229":206,"79":20992,"24":56,"16":343414911994429440,"45":7679129972041441280},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-07-08 22:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583895040001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:45:02] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-08 22:45:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 22:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343414911994429440,"km_value":343414911994429.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7679129972041441280,"description":"Unknown IO ID 45"} 
[2026-07-08 22:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583895040001,"power":27376,"unknown_229":206,"unknown_79":20992,"ignition":56,"odometer":null,"unknown_45":7679129972041441280}} 
[2026-07-08 22:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":128045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:45:02] local.INFO: GPS data processed {"connection_id":128045,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:45:02] local.INFO: Acknowledgment sent {"connection_id":128045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:45:04] local.INFO: TCP Data received {"connection_id":126801,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:45:04] local.INFO: Processing buffer {"connection_id":126801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:45:04] local.INFO: IMEI packet received {"connection_id":126801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":126801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:45:06] local.INFO: TCP Data received {"connection_id":128045,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b91670012d6a90000617e3c0000900002f..."} 
[2026-07-08 22:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b91670012d6a90000617e3c0000900002f..."} 
[2026-07-08 22:45:06] local.INFO: Processing buffer {"connection_id":128045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b91670012d6a90000617e3c0000900002f..."} 
[2026-07-08 22:45:06] local.INFO: Packet analysis {"connection_id":128045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b9"} 
[2026-07-08 22:45:06] local.INFO: Extracted packet for processing {"connection_id":128045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b9"} 
[2026-07-08 22:45:06] local.INFO: GPS Element Parsed {"raw_longitude":761958400,"raw_latitude":102228928,"longitude_deg":76.19584,"latitude_deg":10.2228928,"altitude":9,"angle":0,"satellites":47,"speed":58,"hex_longitude":"2d6a9000","hex_latitude":"0617e3c0","is_valid_coordinates":true} 
[2026-07-08 22:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583896832001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343415401620701184,"note":"Value kept but may cause issues"} 
[2026-07-08 22:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7678637390834710528,"note":"Value kept but may cause issues"} 
[2026-07-08 22:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783530854000,"timestamp_ms":1783530854000,"timestamp_seconds":1783530854,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b91670"} 
[2026-07-08 22:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 22:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583896832001,"66":27343,"229":206,"79":20992,"24":58,"16":343415401620701184,"45":7678637390834710528},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-07-08 22:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583896832001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:45:06] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-08 22:45:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 22:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343415401620701184,"km_value":343415401620701.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7678637390834710528,"description":"Unknown IO ID 45"} 
[2026-07-08 22:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583896832001,"power":27343,"unknown_229":206,"unknown_79":20992,"ignition":58,"odometer":null,"unknown_45":7678637390834710528}} 
[2026-07-08 22:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":128045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:45:06] local.INFO: GPS data processed {"connection_id":128045,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:45:06] local.INFO: Acknowledgment sent {"connection_id":128045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:45:08] local.INFO: TCP Data received {"connection_id":126801,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b71e88012d196500071ff078003e014225..."} 
[2026-07-08 22:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b71e88012d196500071ff078003e014225..."} 
[2026-07-08 22:45:08] local.INFO: Processing buffer {"connection_id":126801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b71e88012d196500071ff078003e014225..."} 
[2026-07-08 22:45:08] local.INFO: Packet analysis {"connection_id":126801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b7"} 
[2026-07-08 22:45:08] local.INFO: Extracted packet for processing {"connection_id":126801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b7"} 
[2026-07-08 22:45:08] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583788544001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783530725000,"timestamp_ms":1783530725000,"timestamp_seconds":1783530725,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b71e88"} 
[2026-07-08 22:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 22:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":126801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":126801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":126801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583788544001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583788544001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:45:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:45:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583788544001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":126801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:45:08] local.INFO: GPS data processed {"connection_id":126801,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:45:08] local.INFO: Acknowledgment sent {"connection_id":126801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:45:37] local.INFO: TCP Data received {"connection_id":128045,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b92de0012d6a9080061806680007000032..."} 
[2026-07-08 22:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b92de0012d6a9080061806680007000032..."} 
[2026-07-08 22:45:37] local.INFO: Processing buffer {"connection_id":128045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b92de0012d6a9080061806680007000032..."} 
[2026-07-08 22:45:37] local.INFO: Packet analysis {"connection_id":128045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b9"} 
[2026-07-08 22:45:37] local.INFO: Extracted packet for processing {"connection_id":128045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b9"} 
[2026-07-08 22:45:37] local.INFO: GPS Element Parsed {"raw_longitude":761958528,"raw_latitude":102237800,"longitude_deg":76.1958528,"latitude_deg":10.22378,"altitude":7,"angle":0,"satellites":50,"speed":58,"hex_longitude":"2d6a9080","hex_latitude":"06180668","is_valid_coordinates":true} 
[2026-07-08 22:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583898624001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343415831117430784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7678637390837301248,"note":"Value kept but may cause issues"} 
[2026-07-08 22:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783530860000,"timestamp_ms":1783530860000,"timestamp_seconds":1783530860,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b92de0"} 
[2026-07-08 22:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 22:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583898624001,"66":27267,"229":206,"79":20992,"24":58,"16":343415831117430784,"45":7678637390837301248},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-07-08 22:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583898624001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:45:37] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-08 22:45:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 22:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343415831117430784,"km_value":343415831117430.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7678637390837301248,"description":"Unknown IO ID 45"} 
[2026-07-08 22:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583898624001,"power":27267,"unknown_229":206,"unknown_79":20992,"ignition":58,"odometer":null,"unknown_45":7678637390837301248}} 
[2026-07-08 22:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":128045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:45:37] local.INFO: GPS data processed {"connection_id":128045,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:45:37] local.INFO: Acknowledgment sent {"connection_id":128045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:45:51] local.INFO: TCP Data received {"connection_id":126801,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b71e88012d196500071ff078003e014225..."} 
[2026-07-08 22:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b71e88012d196500071ff078003e014225..."} 
[2026-07-08 22:45:51] local.INFO: Processing buffer {"connection_id":126801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b71e88012d196500071ff078003e014225..."} 
[2026-07-08 22:45:51] local.INFO: Packet analysis {"connection_id":126801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b7"} 
[2026-07-08 22:45:51] local.INFO: Extracted packet for processing {"connection_id":126801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b7"} 
[2026-07-08 22:45:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583788544001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:45: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-07-08 22:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783530725000,"timestamp_ms":1783530725000,"timestamp_seconds":1783530725,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b71e88"} 
[2026-07-08 22:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:45:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 22:45:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:45:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":126801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":126801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":126801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:45:51] 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-07-08 22:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583788544001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583788544001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:45:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:45:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583788544001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":126801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:45:52] local.INFO: GPS data processed {"connection_id":126801,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:45:52] local.INFO: Acknowledgment sent {"connection_id":126801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:45:54] local.INFO: TCP Data received {"connection_id":128046,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:45:54] local.INFO: Processing buffer {"connection_id":128046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:45:54] local.INFO: IMEI packet received {"connection_id":128046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":128046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:45:55] local.INFO: TCP Data received {"connection_id":128046,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:45:56] local.INFO: Processing buffer {"connection_id":128046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:45:56] local.INFO: IMEI packet received {"connection_id":128046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":128046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:46:00] local.INFO: TCP Data received {"connection_id":128046,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:46:00] local.INFO: Processing buffer {"connection_id":128046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:46:00] local.INFO: IMEI packet received {"connection_id":128046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":128046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:46:01] local.INFO: TCP Data received {"connection_id":128046,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b94938012d6a90c006182d500008000132..."} 
[2026-07-08 22:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b94938012d6a90c006182d500008000132..."} 
[2026-07-08 22:46:01] local.INFO: Processing buffer {"connection_id":128046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b94938012d6a90c006182d500008000132..."} 
[2026-07-08 22:46:01] local.INFO: Packet analysis {"connection_id":128046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b9"} 
[2026-07-08 22:46:01] local.INFO: Extracted packet for processing {"connection_id":128046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b9"} 
[2026-07-08 22:46:01] local.INFO: GPS Element Parsed {"raw_longitude":761958592,"raw_latitude":102247760,"longitude_deg":76.1958592,"latitude_deg":10.224776,"altitude":8,"angle":1,"satellites":50,"speed":52,"hex_longitude":"2d6a90c0","hex_latitude":"06182d50","is_valid_coordinates":true} 
[2026-07-08 22: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-07-08 22:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583900160001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343416316448735232,"note":"Value kept but may cause issues"} 
[2026-07-08 22:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7678778128327927808,"note":"Value kept but may cause issues"} 
[2026-07-08 22:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783530867000,"timestamp_ms":1783530867000,"timestamp_seconds":1783530867,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b94938"} 
[2026-07-08 22:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 22:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":128046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":128046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":128046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583900160001,"66":27300,"229":206,"79":20992,"24":52,"16":343416316448735232,"45":7678778128327927808},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-07-08 22:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583900160001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:46:01] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-08 22:46:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 22:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343416316448735232,"km_value":343416316448735.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7678778128327927808,"description":"Unknown IO ID 45"} 
[2026-07-08 22:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583900160001,"power":27300,"unknown_229":206,"unknown_79":20992,"ignition":52,"odometer":null,"unknown_45":7678778128327927808}} 
[2026-07-08 22:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":128046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:46:01] local.INFO: GPS data processed {"connection_id":128046,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:46:01] local.INFO: Acknowledgment sent {"connection_id":128046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:46:04] local.INFO: TCP Data received {"connection_id":126050,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:46:04] local.INFO: Processing buffer {"connection_id":126050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:46:04] local.INFO: IMEI packet received {"connection_id":126050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":126050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:46:09] local.INFO: TCP Data received {"connection_id":126050,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:46:09] local.INFO: Processing buffer {"connection_id":126050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:46:09] local.INFO: IMEI packet received {"connection_id":126050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":126050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:46:10] local.INFO: TCP Data received {"connection_id":126050,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b71e88012d196500071ff078003e014225..."} 
[2026-07-08 22:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b71e88012d196500071ff078003e014225..."} 
[2026-07-08 22:46:10] local.INFO: Processing buffer {"connection_id":126050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b71e88012d196500071ff078003e014225..."} 
[2026-07-08 22:46:10] local.INFO: Packet analysis {"connection_id":126050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b7"} 
[2026-07-08 22:46:10] local.INFO: Extracted packet for processing {"connection_id":126050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b7"} 
[2026-07-08 22:46:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583788544001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:46: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-07-08 22:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783530725000,"timestamp_ms":1783530725000,"timestamp_seconds":1783530725,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b71e88"} 
[2026-07-08 22:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 22:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583788544001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583788544001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:46:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:46:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583788544001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":126050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:46:10] local.INFO: GPS data processed {"connection_id":126050,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:46:10] local.INFO: Acknowledgment sent {"connection_id":126050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:46:32] local.INFO: TCP Data received {"connection_id":128046,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b96c60012d6a90c0061852780008000130..."} 
[2026-07-08 22:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b96c60012d6a90c0061852780008000130..."} 
[2026-07-08 22:46:32] local.INFO: Processing buffer {"connection_id":128046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b96c60012d6a90c0061852780008000130..."} 
[2026-07-08 22:46:32] local.INFO: Packet analysis {"connection_id":128046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b9"} 
[2026-07-08 22:46:32] local.INFO: Extracted packet for processing {"connection_id":128046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b9"} 
[2026-07-08 22:46:32] local.INFO: GPS Element Parsed {"raw_longitude":761958592,"raw_latitude":102257272,"longitude_deg":76.1958592,"latitude_deg":10.2257272,"altitude":8,"angle":1,"satellites":48,"speed":34,"hex_longitude":"2d6a90c0","hex_latitude":"06185278","is_valid_coordinates":true} 
[2026-07-08 22:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583901952001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343416776010235904,"note":"Value kept but may cause issues"} 
[2026-07-08 22:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7678848497074655232,"note":"Value kept but may cause issues"} 
[2026-07-08 22:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783530876000,"timestamp_ms":1783530876000,"timestamp_seconds":1783530876,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b96c60"} 
[2026-07-08 22:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-08 22:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":128046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":128046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":128046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583901952001,"66":27321,"191":206,"79":20992,"24":34,"16":343416776010235904,"45":7678848497074655232},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,79,24,16,45]} 
[2026-07-08 22:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583901952001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:46:32] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-07-08 22:46:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 22:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343416776010235904,"km_value":343416776010235.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7678848497074655232,"description":"Unknown IO ID 45"} 
[2026-07-08 22:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583901952001,"power":27321,"unknown_191":206,"unknown_79":20992,"ignition":34,"odometer":null,"unknown_45":7678848497074655232}} 
[2026-07-08 22:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":128046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:46:32] local.INFO: GPS data processed {"connection_id":128046,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:46:32] local.INFO: Acknowledgment sent {"connection_id":128046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:46:41] local.INFO: TCP Data received {"connection_id":126050,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b71e88012d196500071ff078003e014225..."} 
[2026-07-08 22:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b71e88012d196500071ff078003e014225..."} 
[2026-07-08 22:46:41] local.INFO: Processing buffer {"connection_id":126050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b71e88012d196500071ff078003e014225..."} 
[2026-07-08 22:46:41] local.INFO: Packet analysis {"connection_id":126050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b7"} 
[2026-07-08 22:46:41] local.INFO: Extracted packet for processing {"connection_id":126050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b7"} 
[2026-07-08 22:46:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583788544001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22: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-07-08 22:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783530725000,"timestamp_ms":1783530725000,"timestamp_seconds":1783530725,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b71e88"} 
[2026-07-08 22:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":96,"data_length":795,"current_offset":136} 
[2026-07-08 22:46: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-07-08 22:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":126050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":126050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":126050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:46: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-07-08 22:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583788544001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583788544001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:46:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:46:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583788544001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":126050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:46:41] local.INFO: GPS data processed {"connection_id":126050,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:46:41] local.INFO: Acknowledgment sent {"connection_id":126050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:46:59] local.INFO: TCP Data received {"connection_id":126803,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:46:59] local.INFO: Processing buffer {"connection_id":126803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:46:59] local.INFO: IMEI packet received {"connection_id":126803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":126803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:46:59] local.INFO: TCP Data received {"connection_id":126051,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:46:59] local.INFO: Processing buffer {"connection_id":126051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:46:59] local.INFO: IMEI packet received {"connection_id":126051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":126051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:47:04] local.INFO: TCP Data received {"connection_id":126803,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:47:04] local.INFO: Processing buffer {"connection_id":126803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:47:04] local.INFO: IMEI packet received {"connection_id":126803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":126803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:47:05] local.INFO: TCP Data received {"connection_id":126051,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:47:05] local.INFO: Processing buffer {"connection_id":126051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:47:05] local.INFO: IMEI packet received {"connection_id":126051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":126051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:47:05] local.INFO: TCP Data received {"connection_id":126803,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b71e88012d196500071ff078003e014225..."} 
[2026-07-08 22:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b71e88012d196500071ff078003e014225..."} 
[2026-07-08 22:47:05] local.INFO: Processing buffer {"connection_id":126803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b71e88012d196500071ff078003e014225..."} 
[2026-07-08 22:47:05] local.INFO: Packet analysis {"connection_id":126803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b7"} 
[2026-07-08 22:47:05] local.INFO: Extracted packet for processing {"connection_id":126803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b7"} 
[2026-07-08 22:47:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583788544001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783530725000,"timestamp_ms":1783530725000,"timestamp_seconds":1783530725,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b71e88"} 
[2026-07-08 22:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 22:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583788544001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583788544001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:47:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:47:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583788544001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":126803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:47:05] local.INFO: GPS data processed {"connection_id":126803,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:47:05] local.INFO: Acknowledgment sent {"connection_id":126803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:47:06] local.INFO: TCP Data received {"connection_id":126051,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b987b8012d6a8fc0061866480008015f31..."} 
[2026-07-08 22:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b987b8012d6a8fc0061866480008015f31..."} 
[2026-07-08 22:47:06] local.INFO: Processing buffer {"connection_id":126051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b987b8012d6a8fc0061866480008015f31..."} 
[2026-07-08 22:47:06] local.INFO: Packet analysis {"connection_id":126051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b9"} 
[2026-07-08 22:47:06] local.INFO: Extracted packet for processing {"connection_id":126051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b9"} 
[2026-07-08 22:47:06] local.INFO: GPS Element Parsed {"raw_longitude":761958336,"raw_latitude":102262344,"longitude_deg":76.1958336,"latitude_deg":10.2262344,"altitude":8,"angle":351,"satellites":49,"speed":28,"hex_longitude":"2d6a8fc0","hex_latitude":"06186648","is_valid_coordinates":true} 
[2026-07-08 22:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583904256001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343417025118339072,"note":"Value kept but may cause issues"} 
[2026-07-08 22:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7678848497077090304,"note":"Value kept but may cause issues"} 
[2026-07-08 22:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783530883000,"timestamp_ms":1783530883000,"timestamp_seconds":1783530883,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b987b8"} 
[2026-07-08 22:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 22:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583904256001,"66":27332,"191":206,"79":20992,"24":28,"16":343417025118339072,"45":7678848497077090304},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,79,24,16,45]} 
[2026-07-08 22:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583904256001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:47:06] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-07-08 22:47:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 22:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343417025118339072,"km_value":343417025118339.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7678848497077090304,"description":"Unknown IO ID 45"} 
[2026-07-08 22:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583904256001,"power":27332,"unknown_191":206,"unknown_79":20992,"ignition":28,"odometer":null,"unknown_45":7678848497077090304}} 
[2026-07-08 22:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":126051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:47:06] local.INFO: GPS data processed {"connection_id":126051,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:47:06] local.INFO: Acknowledgment sent {"connection_id":126051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:47:30] local.INFO: TCP Data received {"connection_id":126802,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126802,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:47:30] local.INFO: Processing buffer {"connection_id":126802,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:47:30] local.INFO: IMEI packet received {"connection_id":126802,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 22:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":126802,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:47:36] local.INFO: TCP Data received {"connection_id":126803,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b71e88012d196500071ff078003e014225..."} 
[2026-07-08 22:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b71e88012d196500071ff078003e014225..."} 
[2026-07-08 22:47:36] local.INFO: Processing buffer {"connection_id":126803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b71e88012d196500071ff078003e014225..."} 
[2026-07-08 22:47:36] local.INFO: Packet analysis {"connection_id":126803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b7"} 
[2026-07-08 22:47:36] local.INFO: Extracted packet for processing {"connection_id":126803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b7"} 
[2026-07-08 22:47:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583788544001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783530725000,"timestamp_ms":1783530725000,"timestamp_seconds":1783530725,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b71e88"} 
[2026-07-08 22:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-08 22:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583788544001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583788544001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:47:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:47:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583788544001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":126803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:47:36] local.INFO: GPS data processed {"connection_id":126803,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:47:36] local.INFO: Acknowledgment sent {"connection_id":126803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:47:37] local.INFO: TCP Data received {"connection_id":126051,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42b9b698012d6a8a80061889380009015e31..."} 
[2026-07-08 22:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42b9b698012d6a8a80061889380009015e31..."} 
[2026-07-08 22:47:37] local.INFO: Processing buffer {"connection_id":126051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42b9b698012d6a8a80061889380009015e31..."} 
[2026-07-08 22:47:37] local.INFO: Packet analysis {"connection_id":126051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42b9"} 
[2026-07-08 22:47:37] local.INFO: Extracted packet for processing {"connection_id":126051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42b9"} 
[2026-07-08 22:47:37] local.INFO: GPS Element Parsed {"raw_longitude":761956992,"raw_latitude":102271288,"longitude_deg":76.1956992,"latitude_deg":10.2271288,"altitude":9,"angle":350,"satellites":49,"speed":35,"hex_longitude":"2d6a8a80","hex_latitude":"06188938","is_valid_coordinates":true} 
[2026-07-08 22:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583906048001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343417463205003264,"note":"Value kept but may cause issues"} 
[2026-07-08 22:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7678567022101678080,"note":"Value kept but may cause issues"} 
[2026-07-08 22:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783530895000,"timestamp_ms":1783530895000,"timestamp_seconds":1783530895,"priority":1,"record_length":96,"hex_timestamp":"0000019f42b9b698"} 
[2026-07-08 22:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-08 22:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583906048001,"66":27321,"191":206,"79":20992,"24":35,"16":343417463205003264,"45":7678567022101678080},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,79,24,16,45]} 
[2026-07-08 22:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583906048001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:47:37] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-07-08 22:47:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 22:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343417463205003264,"km_value":343417463205003.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7678567022101678080,"description":"Unknown IO ID 45"} 
[2026-07-08 22:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583906048001,"power":27321,"unknown_191":206,"unknown_79":20992,"ignition":35,"odometer":null,"unknown_45":7678567022101678080}} 
[2026-07-08 22:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":126051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:47:37] local.INFO: GPS data processed {"connection_id":126051,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:47:37] local.INFO: Acknowledgment sent {"connection_id":126051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:47:57] local.INFO: TCP Data received {"connection_id":126053,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:47:58] local.INFO: Processing buffer {"connection_id":126053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:47:58] local.INFO: IMEI packet received {"connection_id":126053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":126053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:47:59] local.INFO: TCP Data received {"connection_id":126052,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:47:59] local.INFO: Processing buffer {"connection_id":126052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:47:59] local.INFO: IMEI packet received {"connection_id":126052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":126052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:47:59] local.INFO: TCP Data received {"connection_id":126053,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:47:59] local.INFO: Processing buffer {"connection_id":126053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:47:59] local.INFO: IMEI packet received {"connection_id":126053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":126053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:48:00] local.INFO: TCP Data received {"connection_id":128047,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128047,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:48:00] local.INFO: Processing buffer {"connection_id":128047,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:48:00] local.INFO: IMEI packet received {"connection_id":128047,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 22:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":128047,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:48:04] local.INFO: TCP Data received {"connection_id":126052,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:48:04] local.INFO: Processing buffer {"connection_id":126052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:48:04] local.INFO: IMEI packet received {"connection_id":126052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":126052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:48:05] local.INFO: TCP Data received {"connection_id":126052,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f42bbb650012d196500071ff078003e014225..."} 
[2026-07-08 22:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42bbb650012d196500071ff078003e014225..."} 
[2026-07-08 22:48:05] local.INFO: Processing buffer {"connection_id":126052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42bbb650012d196500071ff078003e014225..."} 
[2026-07-08 22:48:05] local.INFO: Packet analysis {"connection_id":126052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42bb"} 
[2026-07-08 22:48:05] local.INFO: Extracted packet for processing {"connection_id":126052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42bb"} 
[2026-07-08 22:48:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583865600001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783531026000,"timestamp_ms":1783531026000,"timestamp_seconds":1783531026,"priority":1,"record_length":96,"hex_timestamp":"0000019f42bbb650"} 
[2026-07-08 22:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 22:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583865600001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583865600001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:48:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:48:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583865600001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":126052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:48:05] local.INFO: GPS data processed {"connection_id":126052,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:48:05] local.INFO: Acknowledgment sent {"connection_id":126052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:48:23] local.INFO: TCP Data received {"connection_id":126053,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:48:23] local.INFO: Processing buffer {"connection_id":126053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:48:23] local.INFO: IMEI packet received {"connection_id":126053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":126053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:48:25] local.INFO: TCP Data received {"connection_id":126053,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42bbae80012d6a2f80061a0ab8000c015e29..."} 
[2026-07-08 22:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42bbae80012d6a2f80061a0ab8000c015e29..."} 
[2026-07-08 22:48:25] local.INFO: Processing buffer {"connection_id":126053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42bbae80012d6a2f80061a0ab8000c015e29..."} 
[2026-07-08 22:48:25] local.INFO: Packet analysis {"connection_id":126053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42bb"} 
[2026-07-08 22:48:25] local.INFO: Extracted packet for processing {"connection_id":126053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42bb"} 
[2026-07-08 22:48:25] local.INFO: GPS Element Parsed {"raw_longitude":761933696,"raw_latitude":102369976,"longitude_deg":76.1933696,"latitude_deg":10.2369976,"altitude":12,"angle":350,"satellites":41,"speed":36,"hex_longitude":"2d6a2f80","hex_latitude":"061a0ab8","is_valid_coordinates":true} 
[2026-07-08 22: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-07-08 22:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583939584001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343422406712360960,"note":"Value kept but may cause issues"} 
[2026-07-08 22:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7654360174129737728,"note":"Value kept but may cause issues"} 
[2026-07-08 22:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783531024000,"timestamp_ms":1783531024000,"timestamp_seconds":1783531024,"priority":1,"record_length":96,"hex_timestamp":"0000019f42bbae80"} 
[2026-07-08 22:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:48: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-07-08 22: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-08 22:48:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":126053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":126053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":126053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:48:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583939584001,"66":27343,"180":206,"79":20992,"24":36,"16":343422406712360960,"45":7654360174129737728},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,79,24,16,45]} 
[2026-07-08 22:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583939584001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:48:25] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-07-08 22:48:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 22:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343422406712360960,"km_value":343422406712360.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":7654360174129737728,"description":"Unknown IO ID 45"} 
[2026-07-08 22:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583939584001,"power":27343,"unknown_180":206,"unknown_79":20992,"ignition":36,"odometer":null,"unknown_45":7654360174129737728}} 
[2026-07-08 22:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":126053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:48:25] local.INFO: GPS data processed {"connection_id":126053,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:48:25] local.INFO: Acknowledgment sent {"connection_id":126053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:48:36] local.INFO: TCP Data received {"connection_id":126052,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f42bbb650012d196500071ff078003e014225..."} 
[2026-07-08 22:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42bbb650012d196500071ff078003e014225..."} 
[2026-07-08 22:48:36] local.INFO: Processing buffer {"connection_id":126052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42bbb650012d196500071ff078003e014225..."} 
[2026-07-08 22:48:36] local.INFO: Packet analysis {"connection_id":126052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42bb"} 
[2026-07-08 22:48:36] local.INFO: Extracted packet for processing {"connection_id":126052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42bb"} 
[2026-07-08 22:48:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583865600001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783531026000,"timestamp_ms":1783531026000,"timestamp_seconds":1783531026,"priority":1,"record_length":96,"hex_timestamp":"0000019f42bbb650"} 
[2026-07-08 22:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 22:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583865600001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583865600001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:48:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:48:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583865600001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":126052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:48:37] local.INFO: GPS data processed {"connection_id":126052,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:48:37] local.INFO: Acknowledgment sent {"connection_id":126052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:48:54] local.INFO: TCP Data received {"connection_id":126804,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:48:54] local.INFO: Processing buffer {"connection_id":126804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:48:54] local.INFO: IMEI packet received {"connection_id":126804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":126804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:48:58] local.INFO: TCP Data received {"connection_id":126804,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:48:58] local.INFO: Processing buffer {"connection_id":126804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:48:58] local.INFO: IMEI packet received {"connection_id":126804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":126804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:48:59] local.INFO: TCP Data received {"connection_id":125913,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:48:59] local.INFO: Processing buffer {"connection_id":125913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:48:59] local.INFO: IMEI packet received {"connection_id":125913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":125913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:48:59] local.INFO: TCP Data received {"connection_id":126804,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:48:59] local.INFO: Processing buffer {"connection_id":126804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:48:59] local.INFO: IMEI packet received {"connection_id":126804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":126804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:49:00] local.INFO: TCP Data received {"connection_id":126804,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42bbc5f0012d6a2ac0061a1e90000c015327..."} 
[2026-07-08 22:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42bbc5f0012d6a2ac0061a1e90000c015327..."} 
[2026-07-08 22:49:00] local.INFO: Processing buffer {"connection_id":126804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42bbc5f0012d6a2ac0061a1e90000c015327..."} 
[2026-07-08 22:49:00] local.INFO: Packet analysis {"connection_id":126804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42bb"} 
[2026-07-08 22:49:00] local.INFO: Extracted packet for processing {"connection_id":126804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42bb"} 
[2026-07-08 22:49:00] local.INFO: GPS Element Parsed {"raw_longitude":761932480,"raw_latitude":102375056,"longitude_deg":76.193248,"latitude_deg":10.2375056,"altitude":12,"angle":339,"satellites":39,"speed":34,"hex_longitude":"2d6a2ac0","hex_latitude":"061a1e90","is_valid_coordinates":true} 
[2026-07-08 22:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583942144001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343422660115431424,"note":"Value kept but may cause issues"} 
[2026-07-08 22:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7651475055620831232,"note":"Value kept but may cause issues"} 
[2026-07-08 22:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783531030000,"timestamp_ms":1783531030000,"timestamp_seconds":1783531030,"priority":1,"record_length":96,"hex_timestamp":"0000019f42bbc5f0"} 
[2026-07-08 22:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 22:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583942144001,"66":27300,"180":206,"79":20992,"24":34,"16":343422660115431424,"45":7651475055620831232},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,79,24,16,45]} 
[2026-07-08 22:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583942144001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:49:00] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-07-08 22:49:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 22:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343422660115431424,"km_value":343422660115431.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7651475055620831232,"description":"Unknown IO ID 45"} 
[2026-07-08 22:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583942144001,"power":27300,"unknown_180":206,"unknown_79":20992,"ignition":34,"odometer":null,"unknown_45":7651475055620831232}} 
[2026-07-08 22:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":126804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:49:00] local.INFO: GPS data processed {"connection_id":126804,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:49:00] local.INFO: Acknowledgment sent {"connection_id":126804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:49:04] local.INFO: TCP Data received {"connection_id":125913,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:49:04] local.INFO: Processing buffer {"connection_id":125913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:49:04] local.INFO: IMEI packet received {"connection_id":125913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":125913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:49:05] local.INFO: TCP Data received {"connection_id":125913,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f42bbb650012d196500071ff078003e014225..."} 
[2026-07-08 22:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42bbb650012d196500071ff078003e014225..."} 
[2026-07-08 22:49:05] local.INFO: Processing buffer {"connection_id":125913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42bbb650012d196500071ff078003e014225..."} 
[2026-07-08 22:49:05] local.INFO: Packet analysis {"connection_id":125913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42bb"} 
[2026-07-08 22:49:05] local.INFO: Extracted packet for processing {"connection_id":125913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42bb"} 
[2026-07-08 22:49:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583865600001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783531026000,"timestamp_ms":1783531026000,"timestamp_seconds":1783531026,"priority":1,"record_length":96,"hex_timestamp":"0000019f42bbb650"} 
[2026-07-08 22:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 22:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583865600001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583865600001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:49:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:49:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583865600001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":125913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:49:05] local.INFO: GPS data processed {"connection_id":125913,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:49:05] local.INFO: Acknowledgment sent {"connection_id":125913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:49:05] local.INFO: TCP Data received {"connection_id":126804,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42bbed00012d6a1f00061a4078000b015528..."} 
[2026-07-08 22:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42bbed00012d6a1f00061a4078000b015528..."} 
[2026-07-08 22:49:05] local.INFO: Processing buffer {"connection_id":126804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42bbed00012d6a1f00061a4078000b015528..."} 
[2026-07-08 22:49:05] local.INFO: Packet analysis {"connection_id":126804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42bb"} 
[2026-07-08 22:49:05] local.INFO: Extracted packet for processing {"connection_id":126804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42bb"} 
[2026-07-08 22:49:05] local.INFO: GPS Element Parsed {"raw_longitude":761929472,"raw_latitude":102383736,"longitude_deg":76.1929472,"latitude_deg":10.2383736,"altitude":11,"angle":341,"satellites":40,"speed":38,"hex_longitude":"2d6a1f00","hex_latitude":"061a4078","is_valid_coordinates":true} 
[2026-07-08 22:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583943680001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343423106792030208,"note":"Value kept but may cause issues"} 
[2026-07-08 22:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7650138049482756096,"note":"Value kept but may cause issues"} 
[2026-07-08 22:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783531040000,"timestamp_ms":1783531040000,"timestamp_seconds":1783531040,"priority":1,"record_length":96,"hex_timestamp":"0000019f42bbed00"} 
[2026-07-08 22:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-08 22:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583943680001,"66":27321,"180":206,"79":20992,"24":38,"16":343423106792030208,"45":7650138049482756096},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,79,24,16,45]} 
[2026-07-08 22:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583943680001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:49:05] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-07-08 22:49:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 22:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343423106792030208,"km_value":343423106792030.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7650138049482756096,"description":"Unknown IO ID 45"} 
[2026-07-08 22:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583943680001,"power":27321,"unknown_180":206,"unknown_79":20992,"ignition":38,"odometer":null,"unknown_45":7650138049482756096}} 
[2026-07-08 22:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":126804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:49:05] local.INFO: GPS data processed {"connection_id":126804,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:49:05] local.INFO: Acknowledgment sent {"connection_id":126804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:49:36] local.INFO: TCP Data received {"connection_id":125913,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f42bbb650012d196500071ff078003e014225..."} 
[2026-07-08 22:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42bbb650012d196500071ff078003e014225..."} 
[2026-07-08 22:49:36] local.INFO: Processing buffer {"connection_id":125913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42bbb650012d196500071ff078003e014225..."} 
[2026-07-08 22:49:36] local.INFO: Packet analysis {"connection_id":125913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42bb"} 
[2026-07-08 22:49:36] local.INFO: Extracted packet for processing {"connection_id":125913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42bb"} 
[2026-07-08 22:49:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583865600001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783531026000,"timestamp_ms":1783531026000,"timestamp_seconds":1783531026,"priority":1,"record_length":96,"hex_timestamp":"0000019f42bbb650"} 
[2026-07-08 22:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 22:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583865600001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583865600001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:49:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:49:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583865600001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":125913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:49:36] local.INFO: GPS data processed {"connection_id":125913,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:49:36] local.INFO: Acknowledgment sent {"connection_id":125913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:49:36] local.INFO: TCP Data received {"connection_id":126804,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42bc0c40012d6a17c0061a52a00009014824..."} 
[2026-07-08 22:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42bc0c40012d6a17c0061a52a00009014824..."} 
[2026-07-08 22:49:36] local.INFO: Processing buffer {"connection_id":126804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42bc0c40012d6a17c0061a52a00009014824..."} 
[2026-07-08 22:49:36] local.INFO: Packet analysis {"connection_id":126804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42bc"} 
[2026-07-08 22:49:36] local.INFO: Extracted packet for processing {"connection_id":126804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42bc"} 
[2026-07-08 22:49:36] local.INFO: GPS Element Parsed {"raw_longitude":761927616,"raw_latitude":102388384,"longitude_deg":76.1927616,"latitude_deg":10.2388384,"altitude":9,"angle":328,"satellites":36,"speed":17,"hex_longitude":"2d6a17c0","hex_latitude":"061a52a0","is_valid_coordinates":true} 
[2026-07-08 22:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583946240001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343423347310198784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7646830718508627968,"note":"Value kept but may cause issues"} 
[2026-07-08 22:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783531048000,"timestamp_ms":1783531048000,"timestamp_seconds":1783531048,"priority":1,"record_length":96,"hex_timestamp":"0000019f42bc0c40"} 
[2026-07-08 22:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 22:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583946240001,"66":27365,"180":206,"79":20992,"24":17,"16":343423347310198784,"45":7646830718508627968},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,79,24,16,45]} 
[2026-07-08 22:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583946240001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:49:36] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-07-08 22:49:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 22:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343423347310198784,"km_value":343423347310198.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":7646830718508627968,"description":"Unknown IO ID 45"} 
[2026-07-08 22:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583946240001,"power":27365,"unknown_180":206,"unknown_79":20992,"ignition":17,"odometer":null,"unknown_45":7646830718508627968}} 
[2026-07-08 22:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":126804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:49:36] local.INFO: GPS data processed {"connection_id":126804,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:49:36] local.INFO: Acknowledgment sent {"connection_id":126804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:50:04] local.INFO: TCP Data received {"connection_id":125915,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:50:04] local.INFO: Processing buffer {"connection_id":125915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:50:04] local.INFO: IMEI packet received {"connection_id":125915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":125915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:50:05] local.INFO: TCP Data received {"connection_id":128048,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:50:05] local.INFO: Processing buffer {"connection_id":128048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:50:05] local.INFO: IMEI packet received {"connection_id":128048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":128048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:50:09] local.INFO: TCP Data received {"connection_id":125915,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:50:09] local.INFO: Processing buffer {"connection_id":125915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:50:09] local.INFO: IMEI packet received {"connection_id":125915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":125915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:50:10] local.INFO: TCP Data received {"connection_id":125915,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f42bbb650012d196500071ff078003e014225..."} 
[2026-07-08 22:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42bbb650012d196500071ff078003e014225..."} 
[2026-07-08 22:50:10] local.INFO: Processing buffer {"connection_id":125915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42bbb650012d196500071ff078003e014225..."} 
[2026-07-08 22:50:10] local.INFO: Packet analysis {"connection_id":125915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42bb"} 
[2026-07-08 22:50:10] local.INFO: Extracted packet for processing {"connection_id":125915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42bb"} 
[2026-07-08 22:50:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22: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-07-08 22:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583865600001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:50: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-07-08 22:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783531026000,"timestamp_ms":1783531026000,"timestamp_seconds":1783531026,"priority":1,"record_length":96,"hex_timestamp":"0000019f42bbb650"} 
[2026-07-08 22:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 22:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583865600001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583865600001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:50:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:50:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583865600001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":125915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:50:10] local.INFO: GPS data processed {"connection_id":125915,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:50:10] local.INFO: Acknowledgment sent {"connection_id":125915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:50:12] local.INFO: TCP Data received {"connection_id":128048,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:50:12] local.INFO: Processing buffer {"connection_id":128048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:50:12] local.INFO: IMEI packet received {"connection_id":128048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":128048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:50:14] local.INFO: TCP Data received {"connection_id":128048,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42bc3738012d6a0a80061a6be0000801532c..."} 
[2026-07-08 22:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42bc3738012d6a0a80061a6be0000801532c..."} 
[2026-07-08 22:50:14] local.INFO: Processing buffer {"connection_id":128048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42bc3738012d6a0a80061a6be0000801532c..."} 
[2026-07-08 22:50:14] local.INFO: Packet analysis {"connection_id":128048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42bc"} 
[2026-07-08 22:50:14] local.INFO: Extracted packet for processing {"connection_id":128048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42bc"} 
[2026-07-08 22:50:14] local.INFO: GPS Element Parsed {"raw_longitude":761924224,"raw_latitude":102394848,"longitude_deg":76.1924224,"latitude_deg":10.2394848,"altitude":8,"angle":339,"satellites":44,"speed":33,"hex_longitude":"2d6a0a80","hex_latitude":"061a6be0","is_valid_coordinates":true} 
[2026-07-08 22:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583948288001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343423703792484352,"note":"Value kept but may cause issues"} 
[2026-07-08 22:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7644790024928665600,"note":"Value kept but may cause issues"} 
[2026-07-08 22:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783531059000,"timestamp_ms":1783531059000,"timestamp_seconds":1783531059,"priority":1,"record_length":96,"hex_timestamp":"0000019f42bc3738"} 
[2026-07-08 22:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 22:50:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":128048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":128048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":128048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583948288001,"66":27365,"180":206,"79":20992,"24":33,"16":343423703792484352,"45":7644790024928665600},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,79,24,16,45]} 
[2026-07-08 22:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583948288001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:50:14] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-07-08 22:50:14] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 22:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343423703792484352,"km_value":343423703792484.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":7644790024928665600,"description":"Unknown IO ID 45"} 
[2026-07-08 22:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583948288001,"power":27365,"unknown_180":206,"unknown_79":20992,"ignition":33,"odometer":null,"unknown_45":7644790024928665600}} 
[2026-07-08 22:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":128048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:50:14] local.INFO: GPS data processed {"connection_id":128048,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:50:14] local.INFO: Acknowledgment sent {"connection_id":128048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:50:14] local.INFO: TCP Data received {"connection_id":125915,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f42bbb650012d196500071ff078003e014225..."} 
[2026-07-08 22:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42bbb650012d196500071ff078003e014225..."} 
[2026-07-08 22:50:14] local.INFO: Processing buffer {"connection_id":125915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42bbb650012d196500071ff078003e014225..."} 
[2026-07-08 22:50:14] local.INFO: Packet analysis {"connection_id":125915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42bb"} 
[2026-07-08 22:50:14] local.INFO: Extracted packet for processing {"connection_id":125915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42bb"} 
[2026-07-08 22:50:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583865600001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783531026000,"timestamp_ms":1783531026000,"timestamp_seconds":1783531026,"priority":1,"record_length":96,"hex_timestamp":"0000019f42bbb650"} 
[2026-07-08 22:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 22:50:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":125915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":125915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":125915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:50:14] 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-07-08 22:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583865600001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583865600001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:50:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:50:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583865600001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":125915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:50:14] local.INFO: GPS data processed {"connection_id":125915,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:50:14] local.INFO: Acknowledgment sent {"connection_id":125915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:50:55] local.INFO: TCP Data received {"connection_id":126054,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:50:55] local.INFO: Processing buffer {"connection_id":126054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:50:55] local.INFO: IMEI packet received {"connection_id":126054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":126054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:50:58] local.INFO: TCP Data received {"connection_id":126054,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:50:58] local.INFO: Processing buffer {"connection_id":126054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:50:58] local.INFO: IMEI packet received {"connection_id":126054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":126054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:50:59] local.INFO: TCP Data received {"connection_id":126055,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:50:59] local.INFO: Processing buffer {"connection_id":126055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:50:59] local.INFO: IMEI packet received {"connection_id":126055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":126055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:50:59] local.INFO: TCP Data received {"connection_id":126054,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:50:59] local.INFO: Processing buffer {"connection_id":126054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:50:59] local.INFO: IMEI packet received {"connection_id":126054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":126054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:51:00] local.INFO: TCP Data received {"connection_id":126054,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42be0bf8012d696900061bc9b8000a01532f..."} 
[2026-07-08 22:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42be0bf8012d696900061bc9b8000a01532f..."} 
[2026-07-08 22:51:00] local.INFO: Processing buffer {"connection_id":126054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42be0bf8012d696900061bc9b8000a01532f..."} 
[2026-07-08 22:51:00] local.INFO: Packet analysis {"connection_id":126054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42be"} 
[2026-07-08 22:51:00] local.INFO: Extracted packet for processing {"connection_id":126054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42be"} 
[2026-07-08 22:51:00] local.INFO: GPS Element Parsed {"raw_longitude":761882880,"raw_latitude":102484408,"longitude_deg":76.188288,"latitude_deg":10.2484408,"altitude":10,"angle":339,"satellites":47,"speed":20,"hex_longitude":"2d696900","hex_latitude":"061bc9b8","is_valid_coordinates":true} 
[2026-07-08 22: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-07-08 22:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583980544001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343428488386052096,"note":"Value kept but may cause issues"} 
[2026-07-08 22:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7595813379005132800,"note":"Value kept but may cause issues"} 
[2026-07-08 22:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783531179000,"timestamp_ms":1783531179000,"timestamp_seconds":1783531179,"priority":1,"record_length":96,"hex_timestamp":"0000019f42be0bf8"} 
[2026-07-08 22:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 22:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583980544001,"66":27223,"86":206,"79":20992,"24":20,"16":343428488386052096,"45":7595813379005132800},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-08 22:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583980544001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:51:00] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-08 22:51:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 22:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343428488386052096,"km_value":343428488386052.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7595813379005132800,"description":"Unknown IO ID 45"} 
[2026-07-08 22:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583980544001,"power":27223,"unknown_86":206,"unknown_79":20992,"ignition":20,"odometer":null,"unknown_45":7595813379005132800}} 
[2026-07-08 22:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":126054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:51:00] local.INFO: GPS data processed {"connection_id":126054,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:51:00] local.INFO: Acknowledgment sent {"connection_id":126054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:51:04] local.INFO: TCP Data received {"connection_id":126055,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:51:04] local.INFO: Processing buffer {"connection_id":126055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:51:04] local.INFO: IMEI packet received {"connection_id":126055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":126055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:51:05] local.INFO: TCP Data received {"connection_id":126055,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f42bbb650012d196500071ff078003e014225..."} 
[2026-07-08 22:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42bbb650012d196500071ff078003e014225..."} 
[2026-07-08 22:51:05] local.INFO: Processing buffer {"connection_id":126055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42bbb650012d196500071ff078003e014225..."} 
[2026-07-08 22:51:05] local.INFO: Packet analysis {"connection_id":126055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42bb"} 
[2026-07-08 22:51:05] local.INFO: Extracted packet for processing {"connection_id":126055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42bb"} 
[2026-07-08 22:51:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583865600001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783531026000,"timestamp_ms":1783531026000,"timestamp_seconds":1783531026,"priority":1,"record_length":96,"hex_timestamp":"0000019f42bbb650"} 
[2026-07-08 22:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 22:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583865600001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583865600001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:51:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:51:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583865600001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":126055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:51:05] local.INFO: GPS data processed {"connection_id":126055,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:51:05] local.INFO: Acknowledgment sent {"connection_id":126055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:51:05] local.INFO: TCP Data received {"connection_id":126054,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42be3ad8012d6956c0061bead00009014b31..."} 
[2026-07-08 22:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42be3ad8012d6956c0061bead00009014b31..."} 
[2026-07-08 22:51:05] local.INFO: Processing buffer {"connection_id":126054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42be3ad8012d6956c0061bead00009014b31..."} 
[2026-07-08 22:51:05] local.INFO: Packet analysis {"connection_id":126054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42be"} 
[2026-07-08 22:51:05] local.INFO: Extracted packet for processing {"connection_id":126054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42be"} 
[2026-07-08 22:51:05] local.INFO: GPS Element Parsed {"raw_longitude":761878208,"raw_latitude":102492880,"longitude_deg":76.1878208,"latitude_deg":10.249288,"altitude":9,"angle":331,"satellites":49,"speed":42,"hex_longitude":"2d6956c0","hex_latitude":"061bead0","is_valid_coordinates":true} 
[2026-07-08 22:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583981824001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343428956537487360,"note":"Value kept but may cause issues"} 
[2026-07-08 22:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7595602272773060608,"note":"Value kept but may cause issues"} 
[2026-07-08 22:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783531191000,"timestamp_ms":1783531191000,"timestamp_seconds":1783531191,"priority":1,"record_length":96,"hex_timestamp":"0000019f42be3ad8"} 
[2026-07-08 22:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-07-08 22:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583981824001,"66":27267,"86":206,"79":20992,"24":42,"16":343428956537487360,"45":7595602272773060608},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-08 22:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583981824001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:51:05] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-08 22:51:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 22:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343428956537487360,"km_value":343428956537487.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7595602272773060608,"description":"Unknown IO ID 45"} 
[2026-07-08 22:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583981824001,"power":27267,"unknown_86":206,"unknown_79":20992,"ignition":42,"odometer":null,"unknown_45":7595602272773060608}} 
[2026-07-08 22:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":126054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:51:05] local.INFO: GPS data processed {"connection_id":126054,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:51:05] local.INFO: Acknowledgment sent {"connection_id":126054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:51:36] local.INFO: TCP Data received {"connection_id":126054,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42be5a18012d6945c0061c0b200009014c30..."} 
[2026-07-08 22:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42be5a18012d6945c0061c0b200009014c30..."} 
[2026-07-08 22:51:36] local.INFO: Processing buffer {"connection_id":126054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42be5a18012d6945c0061c0b200009014c30..."} 
[2026-07-08 22:51:36] local.INFO: Packet analysis {"connection_id":126054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42be"} 
[2026-07-08 22:51:36] local.INFO: Extracted packet for processing {"connection_id":126054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42be"} 
[2026-07-08 22:51:36] local.INFO: GPS Element Parsed {"raw_longitude":761873856,"raw_latitude":102501152,"longitude_deg":76.1873856,"latitude_deg":10.2501152,"altitude":9,"angle":332,"satellites":48,"speed":49,"hex_longitude":"2d6945c0","hex_latitude":"061c0b20","is_valid_coordinates":true} 
[2026-07-08 22:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583984896001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343429407509053440,"note":"Value kept but may cause issues"} 
[2026-07-08 22:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7590465354450259968,"note":"Value kept but may cause issues"} 
[2026-07-08 22:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783531199000,"timestamp_ms":1783531199000,"timestamp_seconds":1783531199,"priority":1,"record_length":96,"hex_timestamp":"0000019f42be5a18"} 
[2026-07-08 22:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 22:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583984896001,"66":27245,"86":206,"79":20992,"24":49,"16":343429407509053440,"45":7590465354450259968},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-08 22:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583984896001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:51:36] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-08 22:51:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 22:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343429407509053440,"km_value":343429407509053.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":7590465354450259968,"description":"Unknown IO ID 45"} 
[2026-07-08 22:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583984896001,"power":27245,"unknown_86":206,"unknown_79":20992,"ignition":49,"odometer":null,"unknown_45":7590465354450259968}} 
[2026-07-08 22:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":126054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:51:36] local.INFO: GPS data processed {"connection_id":126054,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:51:36] local.INFO: Acknowledgment sent {"connection_id":126054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:51:36] local.INFO: TCP Data received {"connection_id":126055,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f42bbb650012d196500071ff078003e014225..."} 
[2026-07-08 22:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42bbb650012d196500071ff078003e014225..."} 
[2026-07-08 22:51:36] local.INFO: Processing buffer {"connection_id":126055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42bbb650012d196500071ff078003e014225..."} 
[2026-07-08 22:51:36] local.INFO: Packet analysis {"connection_id":126055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42bb"} 
[2026-07-08 22:51:36] local.INFO: Extracted packet for processing {"connection_id":126055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42bb"} 
[2026-07-08 22:51:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583865600001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783531026000,"timestamp_ms":1783531026000,"timestamp_seconds":1783531026,"priority":1,"record_length":96,"hex_timestamp":"0000019f42bbb650"} 
[2026-07-08 22:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 22:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583865600001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583865600001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:51:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:51:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583865600001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":126055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:51:36] local.INFO: GPS data processed {"connection_id":126055,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:51:36] local.INFO: Acknowledgment sent {"connection_id":126055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:51:54] local.INFO: TCP Data received {"connection_id":126057,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:51:54] local.INFO: Processing buffer {"connection_id":126057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:51:54] local.INFO: IMEI packet received {"connection_id":126057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":126057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:51:59] local.INFO: TCP Data received {"connection_id":126057,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:51:59] local.INFO: Processing buffer {"connection_id":126057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:51:59] local.INFO: IMEI packet received {"connection_id":126057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":126057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:51:59] local.INFO: TCP Data received {"connection_id":128050,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:51:59] local.INFO: Processing buffer {"connection_id":128050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:51:59] local.INFO: IMEI packet received {"connection_id":128050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":128050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:51:59] local.INFO: TCP Data received {"connection_id":126057,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42be7570012d693500061c2a200009014c30..."} 
[2026-07-08 22:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42be7570012d693500061c2a200009014c30..."} 
[2026-07-08 22:51:59] local.INFO: Processing buffer {"connection_id":126057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42be7570012d693500061c2a200009014c30..."} 
[2026-07-08 22:51:59] local.INFO: Packet analysis {"connection_id":126057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42be"} 
[2026-07-08 22:51:59] local.INFO: Extracted packet for processing {"connection_id":126057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42be"} 
[2026-07-08 22:51:59] local.INFO: GPS Element Parsed {"raw_longitude":761869568,"raw_latitude":102509088,"longitude_deg":76.1869568,"latitude_deg":10.2509088,"altitude":9,"angle":332,"satellites":48,"speed":52,"hex_longitude":"2d693500","hex_latitude":"061c2a20","is_valid_coordinates":true} 
[2026-07-08 22:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583986944001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343429841300750336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7585680279848296448,"note":"Value kept but may cause issues"} 
[2026-07-08 22:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783531206000,"timestamp_ms":1783531206000,"timestamp_seconds":1783531206,"priority":1,"record_length":96,"hex_timestamp":"0000019f42be7570"} 
[2026-07-08 22:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:51: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-07-08 22:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-08 22:51:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":126057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":126057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":126057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583986944001,"66":27463,"86":206,"79":20992,"24":52,"16":343429841300750336,"45":7585680279848296448},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-08 22:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583986944001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:51:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-08 22:51:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 22:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343429841300750336,"km_value":343429841300750.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7585680279848296448,"description":"Unknown IO ID 45"} 
[2026-07-08 22:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583986944001,"power":27463,"unknown_86":206,"unknown_79":20992,"ignition":52,"odometer":null,"unknown_45":7585680279848296448}} 
[2026-07-08 22:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":126057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:51:59] local.INFO: GPS data processed {"connection_id":126057,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:51:59] local.INFO: Acknowledgment sent {"connection_id":126057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:52:04] local.INFO: TCP Data received {"connection_id":128050,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:52:04] local.INFO: Processing buffer {"connection_id":128050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:52:04] local.INFO: IMEI packet received {"connection_id":128050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":128050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:52:05] local.INFO: TCP Data received {"connection_id":128050,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f42bbb650012d196500071ff078003e014225..."} 
[2026-07-08 22:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42bbb650012d196500071ff078003e014225..."} 
[2026-07-08 22:52:05] local.INFO: Processing buffer {"connection_id":128050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42bbb650012d196500071ff078003e014225..."} 
[2026-07-08 22:52:05] local.INFO: Packet analysis {"connection_id":128050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42bb"} 
[2026-07-08 22:52:05] local.INFO: Extracted packet for processing {"connection_id":128050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42bb"} 
[2026-07-08 22:52:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583865600001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783531026000,"timestamp_ms":1783531026000,"timestamp_seconds":1783531026,"priority":1,"record_length":96,"hex_timestamp":"0000019f42bbb650"} 
[2026-07-08 22:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 22:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583865600001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583865600001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:52:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:52:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583865600001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":128050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:52:05] local.INFO: GPS data processed {"connection_id":128050,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:52:05] local.INFO: Acknowledgment sent {"connection_id":128050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:52:31] local.INFO: TCP Data received {"connection_id":126057,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42bfc948012d688080061dc278000b014431..."} 
[2026-07-08 22:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42bfc948012d688080061dc278000b014431..."} 
[2026-07-08 22:52:31] local.INFO: Processing buffer {"connection_id":126057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42bfc948012d688080061dc278000b014431..."} 
[2026-07-08 22:52:31] local.INFO: Packet analysis {"connection_id":126057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42bf"} 
[2026-07-08 22:52:31] local.INFO: Extracted packet for processing {"connection_id":126057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42bf"} 
[2026-07-08 22:52:31] local.INFO: GPS Element Parsed {"raw_longitude":761823360,"raw_latitude":102613624,"longitude_deg":76.182336,"latitude_deg":10.2613624,"altitude":11,"angle":324,"satellites":49,"speed":58,"hex_longitude":"2d688080","hex_latitude":"061dc278","is_valid_coordinates":true} 
[2026-07-08 22:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584009472001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343435403283398656,"note":"Value kept but may cause issues"} 
[2026-07-08 22:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7535859208997380096,"note":"Value kept but may cause issues"} 
[2026-07-08 22:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783531293000,"timestamp_ms":1783531293000,"timestamp_seconds":1783531293,"priority":1,"record_length":96,"hex_timestamp":"0000019f42bfc948"} 
[2026-07-08 22:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:52: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-07-08 22: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-08 22:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":126057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":126057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":126057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584009472001,"66":27289,"85":206,"79":20992,"24":58,"16":343435403283398656,"45":7535859208997380096},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,79,24,16,45]} 
[2026-07-08 22:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584009472001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:52:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-08 22:52:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 22:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343435403283398656,"km_value":343435403283398.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7535859208997380096,"description":"Unknown IO ID 45"} 
[2026-07-08 22:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584009472001,"power":27289,"unknown_85":206,"unknown_79":20992,"ignition":58,"odometer":null,"unknown_45":7535859208997380096}} 
[2026-07-08 22:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":126057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:52:31] local.INFO: GPS data processed {"connection_id":126057,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:52:31] local.INFO: Acknowledgment sent {"connection_id":126057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:52:36] local.INFO: TCP Data received {"connection_id":128050,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f42bbb650012d196500071ff078003e014225..."} 
[2026-07-08 22:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42bbb650012d196500071ff078003e014225..."} 
[2026-07-08 22:52:36] local.INFO: Processing buffer {"connection_id":128050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42bbb650012d196500071ff078003e014225..."} 
[2026-07-08 22:52:36] local.INFO: Packet analysis {"connection_id":128050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42bb"} 
[2026-07-08 22:52:36] local.INFO: Extracted packet for processing {"connection_id":128050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42bb"} 
[2026-07-08 22:52:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583865600001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783531026000,"timestamp_ms":1783531026000,"timestamp_seconds":1783531026,"priority":1,"record_length":96,"hex_timestamp":"0000019f42bbb650"} 
[2026-07-08 22:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 22:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583865600001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583865600001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:52:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:52:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583865600001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":128050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:52:36] local.INFO: GPS data processed {"connection_id":128050,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:52:36] local.INFO: Acknowledgment sent {"connection_id":128050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:52:59] local.INFO: TCP Data received {"connection_id":125916,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:52:59] local.INFO: Processing buffer {"connection_id":125916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:52:59] local.INFO: IMEI packet received {"connection_id":125916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":125916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:52:59] local.INFO: TCP Data received {"connection_id":126806,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:52:59] local.INFO: Processing buffer {"connection_id":126806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:52:59] local.INFO: IMEI packet received {"connection_id":126806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":126806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:53:04] local.INFO: TCP Data received {"connection_id":126806,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:53:04] local.INFO: Processing buffer {"connection_id":126806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:53:04] local.INFO: IMEI packet received {"connection_id":126806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":126806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:53:04] local.INFO: TCP Data received {"connection_id":125916,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:53:04] local.INFO: Processing buffer {"connection_id":125916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:53:04] local.INFO: IMEI packet received {"connection_id":125916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":125916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:53:04] local.INFO: TCP Data received {"connection_id":126806,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42bfe4a0012d686ac0061de310000b014731..."} 
[2026-07-08 22:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42bfe4a0012d686ac0061de310000b014731..."} 
[2026-07-08 22:53:04] local.INFO: Processing buffer {"connection_id":126806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42bfe4a0012d686ac0061de310000b014731..."} 
[2026-07-08 22:53:04] local.INFO: Packet analysis {"connection_id":126806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42bf"} 
[2026-07-08 22:53:04] local.INFO: Extracted packet for processing {"connection_id":126806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42bf"} 
[2026-07-08 22:53:04] local.INFO: GPS Element Parsed {"raw_longitude":761817792,"raw_latitude":102621968,"longitude_deg":76.1817792,"latitude_deg":10.2621968,"altitude":11,"angle":327,"satellites":49,"speed":56,"hex_longitude":"2d686ac0","hex_latitude":"061de310","is_valid_coordinates":true} 
[2026-07-08 22:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584011008001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343435888614703104,"note":"Value kept but may cause issues"} 
[2026-07-08 22:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7530159340720912384,"note":"Value kept but may cause issues"} 
[2026-07-08 22:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783531300000,"timestamp_ms":1783531300000,"timestamp_seconds":1783531300,"priority":1,"record_length":96,"hex_timestamp":"0000019f42bfe4a0"} 
[2026-07-08 22:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-08 22:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584011008001,"66":27267,"85":206,"79":20992,"24":56,"16":343435888614703104,"45":7530159340720912384},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,79,24,16,45]} 
[2026-07-08 22:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584011008001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:53:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-08 22:53:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 22:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343435888614703104,"km_value":343435888614703.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7530159340720912384,"description":"Unknown IO ID 45"} 
[2026-07-08 22:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584011008001,"power":27267,"unknown_85":206,"unknown_79":20992,"ignition":56,"odometer":null,"unknown_45":7530159340720912384}} 
[2026-07-08 22:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":126806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:53:04] local.INFO: GPS data processed {"connection_id":126806,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:53:04] local.INFO: Acknowledgment sent {"connection_id":126806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:53:05] local.INFO: TCP Data received {"connection_id":125916,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c04e18012d196500071ff078003e014224..."} 
[2026-07-08 22:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c04e18012d196500071ff078003e014224..."} 
[2026-07-08 22:53:05] local.INFO: Processing buffer {"connection_id":125916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c04e18012d196500071ff078003e014224..."} 
[2026-07-08 22:53:05] local.INFO: Packet analysis {"connection_id":125916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c0"} 
[2026-07-08 22:53:05] local.INFO: Extracted packet for processing {"connection_id":125916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c0"} 
[2026-07-08 22:53:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22: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-07-08 22:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583942656001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783531327000,"timestamp_ms":1783531327000,"timestamp_seconds":1783531327,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c04e18"} 
[2026-07-08 22:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583942656001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583942656001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:53:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:53:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583942656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":125916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:53:05] local.INFO: GPS data processed {"connection_id":125916,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:53:05] local.INFO: Acknowledgment sent {"connection_id":125916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:53:07] local.INFO: TCP Data received {"connection_id":126806,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42bffff8012d685640061e0590000b014b2f..."} 
[2026-07-08 22:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42bffff8012d685640061e0590000b014b2f..."} 
[2026-07-08 22:53:07] local.INFO: Processing buffer {"connection_id":126806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42bffff8012d685640061e0590000b014b2f..."} 
[2026-07-08 22:53:07] local.INFO: Packet analysis {"connection_id":126806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42bf"} 
[2026-07-08 22:53:07] local.INFO: Extracted packet for processing {"connection_id":126806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42bf"} 
[2026-07-08 22:53:07] local.INFO: GPS Element Parsed {"raw_longitude":761812544,"raw_latitude":102630800,"longitude_deg":76.1812544,"latitude_deg":10.26308,"altitude":11,"angle":331,"satellites":47,"speed":60,"hex_longitude":"2d685640","hex_latitude":"061e0590","is_valid_coordinates":true} 
[2026-07-08 22:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584012800001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343436386830909440,"note":"Value kept but may cause issues"} 
[2026-07-08 22:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7524037259979591680,"note":"Value kept but may cause issues"} 
[2026-07-08 22:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783531307000,"timestamp_ms":1783531307000,"timestamp_seconds":1783531307,"priority":1,"record_length":96,"hex_timestamp":"0000019f42bffff8"} 
[2026-07-08 22:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 22:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584012800001,"66":27365,"85":206,"79":20992,"24":60,"16":343436386830909440,"45":7524037259979591680},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,79,24,16,45]} 
[2026-07-08 22:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584012800001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:53:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-08 22:53:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 22:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343436386830909440,"km_value":343436386830909.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":7524037259979591680,"description":"Unknown IO ID 45"} 
[2026-07-08 22:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584012800001,"power":27365,"unknown_85":206,"unknown_79":20992,"ignition":60,"odometer":null,"unknown_45":7524037259979591680}} 
[2026-07-08 22:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":126806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:53:07] local.INFO: GPS data processed {"connection_id":126806,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:53:07] local.INFO: Acknowledgment sent {"connection_id":126806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:53:20] local.INFO: TCP Data received {"connection_id":126805,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126805,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:53:20] local.INFO: Processing buffer {"connection_id":126805,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:53:20] local.INFO: IMEI packet received {"connection_id":126805,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 22:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":126805,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:53:36] local.INFO: TCP Data received {"connection_id":125916,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c04e18012d196500071ff078003e014224..."} 
[2026-07-08 22:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c04e18012d196500071ff078003e014224..."} 
[2026-07-08 22:53:36] local.INFO: Processing buffer {"connection_id":125916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c04e18012d196500071ff078003e014224..."} 
[2026-07-08 22:53:36] local.INFO: Packet analysis {"connection_id":125916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c0"} 
[2026-07-08 22:53:36] local.INFO: Extracted packet for processing {"connection_id":125916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c0"} 
[2026-07-08 22:53:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583942656001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783531327000,"timestamp_ms":1783531327000,"timestamp_seconds":1783531327,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c04e18"} 
[2026-07-08 22:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583942656001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583942656001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:53:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:53:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583942656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":125916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:53:36] local.INFO: GPS data processed {"connection_id":125916,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:53:36] local.INFO: Acknowledgment sent {"connection_id":125916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:53:38] local.INFO: TCP Data received {"connection_id":126806,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c01768012d6845c0061e2578000a014e30..."} 
[2026-07-08 22:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c01768012d6845c0061e2578000a014e30..."} 
[2026-07-08 22:53:38] local.INFO: Processing buffer {"connection_id":126806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c01768012d6845c0061e2578000a014e30..."} 
[2026-07-08 22:53:38] local.INFO: Packet analysis {"connection_id":126806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c0"} 
[2026-07-08 22:53:38] local.INFO: Extracted packet for processing {"connection_id":126806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c0"} 
[2026-07-08 22:53:38] local.INFO: GPS Element Parsed {"raw_longitude":761808320,"raw_latitude":102638968,"longitude_deg":76.180832,"latitude_deg":10.2638968,"altitude":10,"angle":334,"satellites":48,"speed":59,"hex_longitude":"2d6845c0","hex_latitude":"061e2578","is_valid_coordinates":true} 
[2026-07-08 22:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584014592001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343436829212540928,"note":"Value kept but may cause issues"} 
[2026-07-08 22:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7518267022959284224,"note":"Value kept but may cause issues"} 
[2026-07-08 22:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783531313000,"timestamp_ms":1783531313000,"timestamp_seconds":1783531313,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c01768"} 
[2026-07-08 22:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 22:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584014592001,"66":27321,"85":206,"79":20992,"24":59,"16":343436829212540928,"45":7518267022959284224},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,79,24,16,45]} 
[2026-07-08 22:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584014592001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:53:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-08 22:53:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 22:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343436829212540928,"km_value":343436829212540.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7518267022959284224,"description":"Unknown IO ID 45"} 
[2026-07-08 22:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584014592001,"power":27321,"unknown_85":206,"unknown_79":20992,"ignition":59,"odometer":null,"unknown_45":7518267022959284224}} 
[2026-07-08 22:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":126806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:53:38] local.INFO: GPS data processed {"connection_id":126806,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:53:38] local.INFO: Acknowledgment sent {"connection_id":126806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:53:55] local.INFO: TCP Data received {"connection_id":126807,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:53:55] local.INFO: Processing buffer {"connection_id":126807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:53:55] local.INFO: IMEI packet received {"connection_id":126807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":126807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:53:55] local.INFO: TCP Data received {"connection_id":125917,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125917,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:53:55] local.INFO: Processing buffer {"connection_id":125917,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:53:55] local.INFO: IMEI packet received {"connection_id":125917,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 22:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":125917,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:53:56] local.INFO: TCP Data received {"connection_id":126807,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:53:56] local.INFO: Processing buffer {"connection_id":126807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:53:56] local.INFO: IMEI packet received {"connection_id":126807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":126807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:53:59] local.INFO: TCP Data received {"connection_id":126807,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:53:59] local.INFO: Processing buffer {"connection_id":126807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:53:59] local.INFO: IMEI packet received {"connection_id":126807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":126807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:54:00] local.INFO: TCP Data received {"connection_id":126807,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c02ed8012d683780061e4568000a015231..."} 
[2026-07-08 22:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c02ed8012d683780061e4568000a015231..."} 
[2026-07-08 22:54:00] local.INFO: Processing buffer {"connection_id":126807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c02ed8012d683780061e4568000a015231..."} 
[2026-07-08 22:54:00] local.INFO: Packet analysis {"connection_id":126807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c0"} 
[2026-07-08 22:54:00] local.INFO: Extracted packet for processing {"connection_id":126807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c0"} 
[2026-07-08 22:54:00] local.INFO: GPS Element Parsed {"raw_longitude":761804672,"raw_latitude":102647144,"longitude_deg":76.1804672,"latitude_deg":10.2647144,"altitude":10,"angle":338,"satellites":49,"speed":56,"hex_longitude":"2d683780","hex_latitude":"061e4568","is_valid_coordinates":true} 
[2026-07-08 22:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584016128001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343437263004237824,"note":"Value kept but may cause issues"} 
[2026-07-08 22:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7513622685845649408,"note":"Value kept but may cause issues"} 
[2026-07-08 22:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783531319000,"timestamp_ms":1783531319000,"timestamp_seconds":1783531319,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c02ed8"} 
[2026-07-08 22:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 22:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584016128001,"66":27376,"85":206,"79":20992,"24":56,"16":343437263004237824,"45":7513622685845649408},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,79,24,16,45]} 
[2026-07-08 22:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584016128001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:54:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-08 22:54:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 22:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343437263004237824,"km_value":343437263004237.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7513622685845649408,"description":"Unknown IO ID 45"} 
[2026-07-08 22:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584016128001,"power":27376,"unknown_85":206,"unknown_79":20992,"ignition":56,"odometer":null,"unknown_45":7513622685845649408}} 
[2026-07-08 22:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":126807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:54:00] local.INFO: GPS data processed {"connection_id":126807,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:54:00] local.INFO: Acknowledgment sent {"connection_id":126807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:54:02] local.INFO: TCP Data received {"connection_id":126807,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c04a30012d682ac0061e6668000a01532f..."} 
[2026-07-08 22:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c04a30012d682ac0061e6668000a01532f..."} 
[2026-07-08 22:54:02] local.INFO: Processing buffer {"connection_id":126807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c04a30012d682ac0061e6668000a01532f..."} 
[2026-07-08 22:54:02] local.INFO: Packet analysis {"connection_id":126807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c0"} 
[2026-07-08 22:54:02] local.INFO: Extracted packet for processing {"connection_id":126807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c0"} 
[2026-07-08 22:54:02] local.INFO: GPS Element Parsed {"raw_longitude":761801408,"raw_latitude":102655592,"longitude_deg":76.1801408,"latitude_deg":10.2655592,"altitude":10,"angle":339,"satellites":47,"speed":42,"hex_longitude":"2d682ac0","hex_latitude":"061e6668","is_valid_coordinates":true} 
[2026-07-08 22:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584017664001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343437701090902016,"note":"Value kept but may cause issues"} 
[2026-07-08 22:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7509611667429615616,"note":"Value kept but may cause issues"} 
[2026-07-08 22:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783531326000,"timestamp_ms":1783531326000,"timestamp_seconds":1783531326,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c04a30"} 
[2026-07-08 22:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 22:54:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:54:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":126807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":126807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":126807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584017664001,"66":27158,"85":206,"79":20992,"24":42,"16":343437701090902016,"45":7509611667429615616},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,79,24,16,45]} 
[2026-07-08 22:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584017664001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:54:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-08 22:54:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 22:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343437701090902016,"km_value":343437701090902.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7509611667429615616,"description":"Unknown IO ID 45"} 
[2026-07-08 22:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584017664001,"power":27158,"unknown_85":206,"unknown_79":20992,"ignition":42,"odometer":null,"unknown_45":7509611667429615616}} 
[2026-07-08 22:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":126807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:54:02] local.INFO: GPS data processed {"connection_id":126807,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:54:02] local.INFO: Acknowledgment sent {"connection_id":126807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:54:04] local.INFO: TCP Data received {"connection_id":126808,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:54:04] local.INFO: Processing buffer {"connection_id":126808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:54:04] local.INFO: IMEI packet received {"connection_id":126808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":126808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:54:09] local.INFO: TCP Data received {"connection_id":126808,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:54:09] local.INFO: Processing buffer {"connection_id":126808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:54:09] local.INFO: IMEI packet received {"connection_id":126808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":126808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:54:10] local.INFO: TCP Data received {"connection_id":126808,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c04e18012d196500071ff078003e014224..."} 
[2026-07-08 22:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c04e18012d196500071ff078003e014224..."} 
[2026-07-08 22:54:10] local.INFO: Processing buffer {"connection_id":126808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c04e18012d196500071ff078003e014224..."} 
[2026-07-08 22:54:10] local.INFO: Packet analysis {"connection_id":126808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c0"} 
[2026-07-08 22:54:10] local.INFO: Extracted packet for processing {"connection_id":126808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c0"} 
[2026-07-08 22:54:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583942656001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:54: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-07-08 22:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783531327000,"timestamp_ms":1783531327000,"timestamp_seconds":1783531327,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c04e18"} 
[2026-07-08 22:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583942656001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583942656001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:54:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:54:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583942656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":126808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:54:10] local.INFO: GPS data processed {"connection_id":126808,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:54:10] local.INFO: Acknowledgment sent {"connection_id":126808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:54:14] local.INFO: TCP Data received {"connection_id":126808,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c04e18012d196500071ff078003e014224..."} 
[2026-07-08 22:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c04e18012d196500071ff078003e014224..."} 
[2026-07-08 22:54:14] local.INFO: Processing buffer {"connection_id":126808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c04e18012d196500071ff078003e014224..."} 
[2026-07-08 22:54:14] local.INFO: Packet analysis {"connection_id":126808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c0"} 
[2026-07-08 22:54:14] local.INFO: Extracted packet for processing {"connection_id":126808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c0"} 
[2026-07-08 22:54:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583942656001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:54:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783531327000,"timestamp_ms":1783531327000,"timestamp_seconds":1783531327,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c04e18"} 
[2026-07-08 22:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:54:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:54:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:54:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":126808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":126808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":126808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583942656001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583942656001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:54:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:54:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583942656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":126808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:54:14] local.INFO: GPS data processed {"connection_id":126808,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:54:14] local.INFO: Acknowledgment sent {"connection_id":126808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:54:35] local.INFO: TCP Data received {"connection_id":126807,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c1ada8012d6782c0061fff40000d015b31..."} 
[2026-07-08 22:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c1ada8012d6782c0061fff40000d015b31..."} 
[2026-07-08 22:54:35] local.INFO: Processing buffer {"connection_id":126807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c1ada8012d6782c0061fff40000d015b31..."} 
[2026-07-08 22:54:35] local.INFO: Packet analysis {"connection_id":126807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c1"} 
[2026-07-08 22:54:35] local.INFO: Extracted packet for processing {"connection_id":126807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c1"} 
[2026-07-08 22:54:35] local.INFO: GPS Element Parsed {"raw_longitude":761758400,"raw_latitude":102760256,"longitude_deg":76.17584,"latitude_deg":10.2760256,"altitude":13,"angle":347,"satellites":49,"speed":51,"hex_longitude":"2d6782c0","hex_latitude":"061fff40","is_valid_coordinates":true} 
[2026-07-08 22:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584040960001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343443237303746560,"note":"Value kept but may cause issues"} 
[2026-07-08 22:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7461057233973618688,"note":"Value kept but may cause issues"} 
[2026-07-08 22:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783531417000,"timestamp_ms":1783531417000,"timestamp_seconds":1783531417,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c1ada8"} 
[2026-07-08 22:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 22:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584040960001,"66":27484,"92":206,"79":20992,"24":51,"16":343443237303746560,"45":7461057233973618688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,79,24,16,45]} 
[2026-07-08 22:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584040960001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:54:35] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-08 22:54:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 22:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343443237303746560,"km_value":343443237303746.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7461057233973618688,"description":"Unknown IO ID 45"} 
[2026-07-08 22:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584040960001,"power":27484,"unknown_92":206,"unknown_79":20992,"ignition":51,"odometer":null,"unknown_45":7461057233973618688}} 
[2026-07-08 22:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":126807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:54:35] local.INFO: GPS data processed {"connection_id":126807,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:54:35] local.INFO: Acknowledgment sent {"connection_id":126807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:54:59] local.INFO: TCP Data received {"connection_id":125918,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:54:59] local.INFO: Processing buffer {"connection_id":125918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:54:59] local.INFO: IMEI packet received {"connection_id":125918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":125918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:55:04] local.INFO: TCP Data received {"connection_id":125918,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:55:04] local.INFO: Processing buffer {"connection_id":125918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:55:04] local.INFO: IMEI packet received {"connection_id":125918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":125918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:55:05] local.INFO: TCP Data received {"connection_id":125918,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c04e18012d196500071ff078003e014224..."} 
[2026-07-08 22:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c04e18012d196500071ff078003e014224..."} 
[2026-07-08 22:55:05] local.INFO: Processing buffer {"connection_id":125918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c04e18012d196500071ff078003e014224..."} 
[2026-07-08 22:55:05] local.INFO: Packet analysis {"connection_id":125918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c0"} 
[2026-07-08 22:55:05] local.INFO: Extracted packet for processing {"connection_id":125918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c0"} 
[2026-07-08 22:55:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22: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-07-08 22:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583942656001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783531327000,"timestamp_ms":1783531327000,"timestamp_seconds":1783531327,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c04e18"} 
[2026-07-08 22:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:55:05] 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-07-08 22:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583942656001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583942656001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:55:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:55:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583942656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":125918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:55:05] local.INFO: GPS data processed {"connection_id":125918,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:55:05] local.INFO: Acknowledgment sent {"connection_id":125918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:55:35] local.INFO: TCP Data received {"connection_id":126058,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:55:35] local.INFO: Processing buffer {"connection_id":126058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:55:35] local.INFO: IMEI packet received {"connection_id":126058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":126058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:55:36] local.INFO: TCP Data received {"connection_id":125918,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c04e18012d196500071ff078003e014224..."} 
[2026-07-08 22:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c04e18012d196500071ff078003e014224..."} 
[2026-07-08 22:55:36] local.INFO: Processing buffer {"connection_id":125918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c04e18012d196500071ff078003e014224..."} 
[2026-07-08 22:55:36] local.INFO: Packet analysis {"connection_id":125918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c0"} 
[2026-07-08 22:55:36] local.INFO: Extracted packet for processing {"connection_id":125918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c0"} 
[2026-07-08 22:55:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22: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-07-08 22:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583942656001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783531327000,"timestamp_ms":1783531327000,"timestamp_seconds":1783531327,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c04e18"} 
[2026-07-08 22:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:55:36] 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-07-08 22:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583942656001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583942656001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:55:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:55:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583942656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":125918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:55:37] local.INFO: GPS data processed {"connection_id":125918,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:55:37] local.INFO: Acknowledgment sent {"connection_id":125918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:55:59] local.INFO: TCP Data received {"connection_id":128052,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:55:59] local.INFO: Processing buffer {"connection_id":128052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:55:59] local.INFO: IMEI packet received {"connection_id":128052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":128052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:56:00] local.INFO: TCP Data received {"connection_id":128053,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:56:00] local.INFO: Processing buffer {"connection_id":128053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:56:00] local.INFO: IMEI packet received {"connection_id":128053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":128053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:56:00] local.INFO: TCP Data received {"connection_id":128053,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:56:00] local.INFO: Processing buffer {"connection_id":128053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:56:00] local.INFO: IMEI packet received {"connection_id":128053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":128053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:56:04] local.INFO: TCP Data received {"connection_id":128052,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:56:04] local.INFO: Processing buffer {"connection_id":128052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:56:04] local.INFO: IMEI packet received {"connection_id":128052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":128052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:56:04] local.INFO: TCP Data received {"connection_id":128053,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:56:04] local.INFO: Processing buffer {"connection_id":128053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:56:04] local.INFO: IMEI packet received {"connection_id":128053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":128053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:56:05] local.INFO: TCP Data received {"connection_id":128052,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c04e18012d196500071ff078003e014224..."} 
[2026-07-08 22:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c04e18012d196500071ff078003e014224..."} 
[2026-07-08 22:56:05] local.INFO: Processing buffer {"connection_id":128052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c04e18012d196500071ff078003e014224..."} 
[2026-07-08 22:56:05] local.INFO: Packet analysis {"connection_id":128052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c0"} 
[2026-07-08 22:56:05] local.INFO: Extracted packet for processing {"connection_id":128052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c0"} 
[2026-07-08 22:56:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22: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-07-08 22:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583942656001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783531327000,"timestamp_ms":1783531327000,"timestamp_seconds":1783531327,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c04e18"} 
[2026-07-08 22:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:56:05] 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-07-08 22:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583942656001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583942656001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:56:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:56:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583942656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":128052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:56:05] local.INFO: GPS data processed {"connection_id":128052,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:56:05] local.INFO: Acknowledgment sent {"connection_id":128052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:56:05] local.INFO: TCP Data received {"connection_id":128053,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c2da70012d672cc006218e000005015732..."} 
[2026-07-08 22:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c2da70012d672cc006218e000005015732..."} 
[2026-07-08 22:56:05] local.INFO: Processing buffer {"connection_id":128053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c2da70012d672cc006218e000005015732..."} 
[2026-07-08 22:56:05] local.INFO: Packet analysis {"connection_id":128053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c2"} 
[2026-07-08 22:56:05] local.INFO: Extracted packet for processing {"connection_id":128053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c2"} 
[2026-07-08 22:56:05] local.INFO: GPS Element Parsed {"raw_longitude":761736384,"raw_latitude":102862336,"longitude_deg":76.1736384,"latitude_deg":10.2862336,"altitude":5,"angle":343,"satellites":50,"speed":39,"hex_longitude":"2d672cc0","hex_latitude":"06218e00","is_valid_coordinates":true} 
[2026-07-08 22: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-07-08 22:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584059648001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343448301070188544,"note":"Value kept but may cause issues"} 
[2026-07-08 22:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7436850386002569216,"note":"Value kept but may cause issues"} 
[2026-07-08 22:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783531494000,"timestamp_ms":1783531494000,"timestamp_seconds":1783531494,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c2da70"} 
[2026-07-08 22:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-08 22:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584059648001,"66":27310,"204":206,"79":21248,"24":39,"16":343448301070188544,"45":7436850386002569216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,79,24,16,45]} 
[2026-07-08 22:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584059648001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:56:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":21248,"description":"Unknown IO ID 79"} 
[2026-07-08 22:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343448301070188544,"km_value":343448301070188.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7436850386002569216,"description":"Unknown IO ID 45"} 
[2026-07-08 22:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584059648001,"power":27310,"lac":206,"unknown_79":21248,"ignition":39,"odometer":null,"unknown_45":7436850386002569216}} 
[2026-07-08 22:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":128053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:56:05] local.INFO: GPS data processed {"connection_id":128053,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:56:05] local.INFO: Acknowledgment sent {"connection_id":128053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:56:36] local.INFO: TCP Data received {"connection_id":128052,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c04e18012d196500071ff078003e014224..."} 
[2026-07-08 22:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c04e18012d196500071ff078003e014224..."} 
[2026-07-08 22:56:36] local.INFO: Processing buffer {"connection_id":128052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c04e18012d196500071ff078003e014224..."} 
[2026-07-08 22:56:36] local.INFO: Packet analysis {"connection_id":128052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c0"} 
[2026-07-08 22:56:36] local.INFO: Extracted packet for processing {"connection_id":128052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c0"} 
[2026-07-08 22:56:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583942656001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783531327000,"timestamp_ms":1783531327000,"timestamp_seconds":1783531327,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c04e18"} 
[2026-07-08 22:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:56:36] 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-07-08 22:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583942656001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 22:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583942656001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:56:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:56:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583942656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":128052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:56:36] local.INFO: GPS data processed {"connection_id":128052,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:56:36] local.INFO: Acknowledgment sent {"connection_id":128052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:56:37] local.INFO: TCP Data received {"connection_id":128053,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c2fd98012d6722400621b3d00005015930..."} 
[2026-07-08 22:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c2fd98012d6722400621b3d00005015930..."} 
[2026-07-08 22:56:37] local.INFO: Processing buffer {"connection_id":128053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c2fd98012d6722400621b3d00005015930..."} 
[2026-07-08 22:56:37] local.INFO: Packet analysis {"connection_id":128053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c2"} 
[2026-07-08 22:56:37] local.INFO: Extracted packet for processing {"connection_id":128053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c2"} 
[2026-07-08 22:56:37] local.INFO: GPS Element Parsed {"raw_longitude":761733696,"raw_latitude":102872016,"longitude_deg":76.1733696,"latitude_deg":10.2872016,"altitude":5,"angle":345,"satellites":48,"speed":49,"hex_longitude":"2d672240","hex_latitude":"0621b3d0","is_valid_coordinates":true} 
[2026-07-08 22:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584062464001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343448786401492992,"note":"Value kept but may cause issues"} 
[2026-07-08 22:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7434528217447137280,"note":"Value kept but may cause issues"} 
[2026-07-08 22:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783531503000,"timestamp_ms":1783531503000,"timestamp_seconds":1783531503,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c2fd98"} 
[2026-07-08 22:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-08 22:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584062464001,"66":27376,"204":206,"79":21248,"24":49,"16":343448786401492992,"45":7434528217447137280},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,79,24,16,45]} 
[2026-07-08 22:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584062464001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:56:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":21248,"description":"Unknown IO ID 79"} 
[2026-07-08 22:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343448786401492992,"km_value":343448786401493.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7434528217447137280,"description":"Unknown IO ID 45"} 
[2026-07-08 22:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584062464001,"power":27376,"lac":206,"unknown_79":21248,"ignition":49,"odometer":null,"unknown_45":7434528217447137280}} 
[2026-07-08 22:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":128053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:56:37] local.INFO: GPS data processed {"connection_id":128053,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:56:37] local.INFO: Acknowledgment sent {"connection_id":128053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:56:57] local.INFO: TCP Data received {"connection_id":126810,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:56:57] local.INFO: Processing buffer {"connection_id":126810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:56:57] local.INFO: IMEI packet received {"connection_id":126810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":126810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:56:59] local.INFO: TCP Data received {"connection_id":126060,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:56:59] local.INFO: Processing buffer {"connection_id":126060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:56:59] local.INFO: IMEI packet received {"connection_id":126060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":126060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:56:59] local.INFO: TCP Data received {"connection_id":126810,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:56:59] local.INFO: Processing buffer {"connection_id":126810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:56:59] local.INFO: IMEI packet received {"connection_id":126810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":126810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:57:04] local.INFO: TCP Data received {"connection_id":126810,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:57:04] local.INFO: Processing buffer {"connection_id":126810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:57:04] local.INFO: IMEI packet received {"connection_id":126810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":126810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:57:04] local.INFO: TCP Data received {"connection_id":126060,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:57:04] local.INFO: Processing buffer {"connection_id":126060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:57:04] local.INFO: IMEI packet received {"connection_id":126060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":126060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:57:05] local.INFO: TCP Data received {"connection_id":126060,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c04e18012d196500071ff078003e014224..."} 
[2026-07-08 22:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c04e18012d196500071ff078003e014224..."} 
[2026-07-08 22:57:05] local.INFO: Processing buffer {"connection_id":126060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c04e18012d196500071ff078003e014224..."} 
[2026-07-08 22:57:05] local.INFO: Packet analysis {"connection_id":126060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c0"} 
[2026-07-08 22:57:05] local.INFO: Extracted packet for processing {"connection_id":126060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c0"} 
[2026-07-08 22:57:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583942656001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783531327000,"timestamp_ms":1783531327000,"timestamp_seconds":1783531327,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c04e18"} 
[2026-07-08 22:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583942656001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583942656001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:57:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:57:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583942656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":126060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:57:05] local.INFO: GPS data processed {"connection_id":126060,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:57:05] local.INFO: Acknowledgment sent {"connection_id":126060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:57:05] local.INFO: TCP Data received {"connection_id":126810,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c3ebe0012d667a800622bc680009011930..."} 
[2026-07-08 22:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c3ebe0012d667a800622bc680009011930..."} 
[2026-07-08 22:57:05] local.INFO: Processing buffer {"connection_id":126810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c3ebe0012d667a800622bc680009011930..."} 
[2026-07-08 22:57:05] local.INFO: Packet analysis {"connection_id":126810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c3"} 
[2026-07-08 22:57:05] local.INFO: Extracted packet for processing {"connection_id":126810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c3"} 
[2026-07-08 22:57:05] local.INFO: GPS Element Parsed {"raw_longitude":761690752,"raw_latitude":102939752,"longitude_deg":76.1690752,"latitude_deg":10.2939752,"altitude":9,"angle":281,"satellites":48,"speed":55,"hex_longitude":"2d667a80","hex_latitude":"0622bc68","is_valid_coordinates":true} 
[2026-07-08 22:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584078592001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343453038419116032,"note":"Value kept but may cause issues"} 
[2026-07-08 22:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7394980983238533120,"note":"Value kept but may cause issues"} 
[2026-07-08 22:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783531564000,"timestamp_ms":1783531564000,"timestamp_seconds":1783531564,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c3ebe0"} 
[2026-07-08 22:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 22:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584078592001,"66":27115,"11":206,"79":20992,"24":55,"16":343453038419116032,"45":7394980983238533120},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,79,24,16,45]} 
[2026-07-08 22:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584078592001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:57:05] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-08 22:57:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 22:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343453038419116032,"km_value":343453038419116.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7394980983238533120,"description":"Unknown IO ID 45"} 
[2026-07-08 22:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584078592001,"power":27115,"unknown_11":206,"unknown_79":20992,"ignition":55,"odometer":null,"unknown_45":7394980983238533120}} 
[2026-07-08 22:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":126810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:57:05] local.INFO: GPS data processed {"connection_id":126810,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:57:05] local.INFO: Acknowledgment sent {"connection_id":126810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:57:06] local.INFO: TCP Data received {"connection_id":126810,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c40738012d6656400622c300000b01182f..."} 
[2026-07-08 22:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c40738012d6656400622c300000b01182f..."} 
[2026-07-08 22:57:06] local.INFO: Processing buffer {"connection_id":126810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c40738012d6656400622c300000b01182f..."} 
[2026-07-08 22:57:06] local.INFO: Packet analysis {"connection_id":126810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c4"} 
[2026-07-08 22:57:06] local.INFO: Extracted packet for processing {"connection_id":126810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c4"} 
[2026-07-08 22:57:06] local.INFO: GPS Element Parsed {"raw_longitude":761681472,"raw_latitude":102941440,"longitude_deg":76.1681472,"latitude_deg":10.294144,"altitude":11,"angle":280,"satellites":47,"speed":50,"hex_longitude":"2d665640","hex_latitude":"0622c300","is_valid_coordinates":true} 
[2026-07-08 22:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584080384001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343453489390682112,"note":"Value kept but may cause issues"} 
[2026-07-08 22:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7384355302868281344,"note":"Value kept but may cause issues"} 
[2026-07-08 22:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783531571000,"timestamp_ms":1783531571000,"timestamp_seconds":1783531571,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c40738"} 
[2026-07-08 22:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-07-08 22:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584080384001,"66":27376,"11":206,"79":20992,"24":50,"16":343453489390682112,"45":7384355302868281344},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,79,24,16,45]} 
[2026-07-08 22:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584080384001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:57:06] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-08 22:57:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 22:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343453489390682112,"km_value":343453489390682.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7384355302868281344,"description":"Unknown IO ID 45"} 
[2026-07-08 22:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584080384001,"power":27376,"unknown_11":206,"unknown_79":20992,"ignition":50,"odometer":null,"unknown_45":7384355302868281344}} 
[2026-07-08 22:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":126810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:57:06] local.INFO: GPS data processed {"connection_id":126810,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:57:06] local.INFO: Acknowledgment sent {"connection_id":126810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:57:36] local.INFO: TCP Data received {"connection_id":126060,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c04e18012d196500071ff078003e014224..."} 
[2026-07-08 22:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c04e18012d196500071ff078003e014224..."} 
[2026-07-08 22:57:36] local.INFO: Processing buffer {"connection_id":126060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c04e18012d196500071ff078003e014224..."} 
[2026-07-08 22:57:36] local.INFO: Packet analysis {"connection_id":126060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c0"} 
[2026-07-08 22:57:36] local.INFO: Extracted packet for processing {"connection_id":126060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c0"} 
[2026-07-08 22:57:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 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-07-08 22:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456583942656001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783531327000,"timestamp_ms":1783531327000,"timestamp_seconds":1783531327,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c04e18"} 
[2026-07-08 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-07-08 22:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 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-07-08 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-07-08 22:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456583942656001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456583942656001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:57:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:57:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456583942656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":126060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:57:36] local.INFO: GPS data processed {"connection_id":126060,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:57:36] local.INFO: Acknowledgment sent {"connection_id":126060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:57:38] local.INFO: TCP Data received {"connection_id":126810,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c42678012d6633400622ca18000d011d2f..."} 
[2026-07-08 22:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c42678012d6633400622ca18000d011d2f..."} 
[2026-07-08 22:57:38] local.INFO: Processing buffer {"connection_id":126810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c42678012d6633400622ca18000d011d2f..."} 
[2026-07-08 22:57:38] local.INFO: Packet analysis {"connection_id":126810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c4"} 
[2026-07-08 22:57:38] local.INFO: Extracted packet for processing {"connection_id":126810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c4"} 
[2026-07-08 22:57:38] local.INFO: GPS Element Parsed {"raw_longitude":761672512,"raw_latitude":102943256,"longitude_deg":76.1672512,"latitude_deg":10.2943256,"altitude":13,"angle":285,"satellites":47,"speed":33,"hex_longitude":"2d663340","hex_latitude":"0622ca18","is_valid_coordinates":true} 
[2026-07-08 22:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584082176001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343453923182379008,"note":"Value kept but may cause issues"} 
[2026-07-08 22:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7374151834962952192,"note":"Value kept but may cause issues"} 
[2026-07-08 22:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783531579000,"timestamp_ms":1783531579000,"timestamp_seconds":1783531579,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c42678"} 
[2026-07-08 22:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 22:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584082176001,"66":27343,"11":206,"79":20992,"24":33,"16":343453923182379008,"45":7374151834962952192},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,79,24,16,45]} 
[2026-07-08 22:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584082176001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:57:38] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-08 22:57:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 22:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343453923182379008,"km_value":343453923182379.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7374151834962952192,"description":"Unknown IO ID 45"} 
[2026-07-08 22:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584082176001,"power":27343,"unknown_11":206,"unknown_79":20992,"ignition":33,"odometer":null,"unknown_45":7374151834962952192}} 
[2026-07-08 22:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":126810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:57:38] local.INFO: GPS data processed {"connection_id":126810,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:57:38] local.INFO: Acknowledgment sent {"connection_id":126810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:57:55] local.INFO: TCP Data received {"connection_id":126061,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:57:55] local.INFO: Processing buffer {"connection_id":126061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:57:55] local.INFO: IMEI packet received {"connection_id":126061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":126061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:57:59] local.INFO: TCP Data received {"connection_id":126062,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:57:59] local.INFO: Processing buffer {"connection_id":126062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:57:59] local.INFO: IMEI packet received {"connection_id":126062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":126062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:58:00] local.INFO: TCP Data received {"connection_id":126061,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:58:00] local.INFO: Processing buffer {"connection_id":126061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:58:00] local.INFO: IMEI packet received {"connection_id":126061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":126061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:58:01] local.INFO: TCP Data received {"connection_id":126061,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c441d0012d6624c00622ce78000e012a2f..."} 
[2026-07-08 22:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c441d0012d6624c00622ce78000e012a2f..."} 
[2026-07-08 22:58:01] local.INFO: Processing buffer {"connection_id":126061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c441d0012d6624c00622ce78000e012a2f..."} 
[2026-07-08 22:58:01] local.INFO: Packet analysis {"connection_id":126061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c4"} 
[2026-07-08 22:58:01] local.INFO: Extracted packet for processing {"connection_id":126061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c4"} 
[2026-07-08 22:58:01] local.INFO: GPS Element Parsed {"raw_longitude":761668800,"raw_latitude":102944376,"longitude_deg":76.16688,"latitude_deg":10.2944376,"altitude":14,"angle":298,"satellites":47,"speed":15,"hex_longitude":"2d6624c0","hex_latitude":"0622ce78","is_valid_coordinates":true} 
[2026-07-08 22:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584084224001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343454107865972736,"note":"Value kept but may cause issues"} 
[2026-07-08 22:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7364300210778544128,"note":"Value kept but may cause issues"} 
[2026-07-08 22:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783531586000,"timestamp_ms":1783531586000,"timestamp_seconds":1783531586,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c441d0"} 
[2026-07-08 22:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 22:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:58:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584084224001,"66":27321,"11":206,"79":20992,"24":15,"16":343454107865972736,"45":7364300210778544128},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,79,24,16,45]} 
[2026-07-08 22:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584084224001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:58:01] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-08 22:58:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 22:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343454107865972736,"km_value":343454107865972.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7364300210778544128,"description":"Unknown IO ID 45"} 
[2026-07-08 22:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584084224001,"power":27321,"unknown_11":206,"unknown_79":20992,"ignition":15,"odometer":null,"unknown_45":7364300210778544128}} 
[2026-07-08 22:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":126061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:58:01] local.INFO: GPS data processed {"connection_id":126061,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:58:01] local.INFO: Acknowledgment sent {"connection_id":126061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:58:04] local.INFO: TCP Data received {"connection_id":126062,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:58:04] local.INFO: Processing buffer {"connection_id":126062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:58:04] local.INFO: IMEI packet received {"connection_id":126062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":126062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:58:04] local.INFO: TCP Data received {"connection_id":126062,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c4e5e0012d196500071ff078003e014225..."} 
[2026-07-08 22:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c4e5e0012d196500071ff078003e014225..."} 
[2026-07-08 22:58:04] local.INFO: Processing buffer {"connection_id":126062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c4e5e0012d196500071ff078003e014225..."} 
[2026-07-08 22:58:04] local.INFO: Packet analysis {"connection_id":126062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c4"} 
[2026-07-08 22:58:04] local.INFO: Extracted packet for processing {"connection_id":126062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c4"} 
[2026-07-08 22:58:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22: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-07-08 22:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584019712001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783531628000,"timestamp_ms":1783531628000,"timestamp_seconds":1783531628,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c4e5e0"} 
[2026-07-08 22:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:58:04] 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-07-08 22:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584019712001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584019712001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:58:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:58:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584019712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":126062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:58:04] local.INFO: GPS data processed {"connection_id":126062,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:58:04] local.INFO: Acknowledgment sent {"connection_id":126062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:58:33] local.INFO: TCP Data received {"connection_id":126061,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c45170012d661ec00622d188000e011b31..."} 
[2026-07-08 22:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c45170012d661ec00622d188000e011b31..."} 
[2026-07-08 22:58:33] local.INFO: Processing buffer {"connection_id":126061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c45170012d661ec00622d188000e011b31..."} 
[2026-07-08 22:58:33] local.INFO: Packet analysis {"connection_id":126061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c4"} 
[2026-07-08 22:58:33] local.INFO: Extracted packet for processing {"connection_id":126061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c4"} 
[2026-07-08 22:58:33] local.INFO: GPS Element Parsed {"raw_longitude":761667264,"raw_latitude":102945160,"longitude_deg":76.1667264,"latitude_deg":10.294516,"altitude":14,"angle":283,"satellites":49,"speed":18,"hex_longitude":"2d661ec0","hex_latitude":"0622d188","is_valid_coordinates":true} 
[2026-07-08 22:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584086016001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343454193765318656,"note":"Value kept but may cause issues"} 
[2026-07-08 22:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7360218823616526336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783531590000,"timestamp_ms":1783531590000,"timestamp_seconds":1783531590,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c45170"} 
[2026-07-08 22:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 22:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584086016001,"66":27343,"11":206,"79":20992,"24":18,"16":343454193765318656,"45":7360218823616526336},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,79,24,16,45]} 
[2026-07-08 22:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584086016001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:58:33] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-08 22:58:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 22:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343454193765318656,"km_value":343454193765318.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7360218823616526336,"description":"Unknown IO ID 45"} 
[2026-07-08 22:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584086016001,"power":27343,"unknown_11":206,"unknown_79":20992,"ignition":18,"odometer":null,"unknown_45":7360218823616526336}} 
[2026-07-08 22:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":126061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:58:33] local.INFO: GPS data processed {"connection_id":126061,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:58:33] local.INFO: Acknowledgment sent {"connection_id":126061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:58:36] local.INFO: TCP Data received {"connection_id":126062,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c4e5e0012d196500071ff078003e014225..."} 
[2026-07-08 22:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c4e5e0012d196500071ff078003e014225..."} 
[2026-07-08 22:58:36] local.INFO: Processing buffer {"connection_id":126062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c4e5e0012d196500071ff078003e014225..."} 
[2026-07-08 22:58:36] local.INFO: Packet analysis {"connection_id":126062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c4"} 
[2026-07-08 22:58:36] local.INFO: Extracted packet for processing {"connection_id":126062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c4"} 
[2026-07-08 22:58:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584019712001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783531628000,"timestamp_ms":1783531628000,"timestamp_seconds":1783531628,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c4e5e0"} 
[2026-07-08 22:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:58:36] 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-07-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584019712001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584019712001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:58:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:58:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584019712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":126062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:58:36] local.INFO: GPS data processed {"connection_id":126062,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:58:36] local.INFO: Acknowledgment sent {"connection_id":126062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:58:53] local.INFO: TCP Data received {"connection_id":128054,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:58:53] local.INFO: Processing buffer {"connection_id":128054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:58:53] local.INFO: IMEI packet received {"connection_id":128054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":128054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:58:54] local.INFO: TCP Data received {"connection_id":128054,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:58:54] local.INFO: Processing buffer {"connection_id":128054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:58:54] local.INFO: IMEI packet received {"connection_id":128054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":128054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:58:59] local.INFO: TCP Data received {"connection_id":126812,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:58:59] local.INFO: Processing buffer {"connection_id":126812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:58:59] local.INFO: IMEI packet received {"connection_id":126812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":126812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:59:00] local.INFO: TCP Data received {"connection_id":128054,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:59:00] local.INFO: Processing buffer {"connection_id":128054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:59:00] local.INFO: IMEI packet received {"connection_id":128054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":128054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:59:01] local.INFO: TCP Data received {"connection_id":128054,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c5b100012d64cf4006230af0000601192f..."} 
[2026-07-08 22:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c5b100012d64cf4006230af0000601192f..."} 
[2026-07-08 22:59:01] local.INFO: Processing buffer {"connection_id":128054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c5b100012d64cf4006230af0000601192f..."} 
[2026-07-08 22:59:01] local.INFO: Packet analysis {"connection_id":128054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c5"} 
[2026-07-08 22:59:01] local.INFO: Extracted packet for processing {"connection_id":128054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c5"} 
[2026-07-08 22:59:01] local.INFO: GPS Element Parsed {"raw_longitude":761581376,"raw_latitude":102959856,"longitude_deg":76.1581376,"latitude_deg":10.2959856,"altitude":6,"angle":281,"satellites":47,"speed":46,"hex_longitude":"2d64cf40","hex_latitude":"06230af0","is_valid_coordinates":true} 
[2026-07-08 22: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-07-08 22:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584108032001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343458359883595776,"note":"Value kept but may cause issues"} 
[2026-07-08 22:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7275072643165110272,"note":"Value kept but may cause issues"} 
[2026-07-08 22:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783531680000,"timestamp_ms":1783531680000,"timestamp_seconds":1783531680,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c5b100"} 
[2026-07-08 22:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-08 22:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22: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-07-08 22:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":128054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":128054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":128054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584108032001,"66":26908,"55":206,"79":20992,"24":46,"16":343458359883595776,"45":7275072643165110272},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,79,24,16,45]} 
[2026-07-08 22:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584108032001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:59:01] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-07-08 22:59:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 22:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343458359883595776,"km_value":343458359883595.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7275072643165110272,"description":"Unknown IO ID 45"} 
[2026-07-08 22:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584108032001,"power":26908,"unknown_55":206,"unknown_79":20992,"ignition":46,"odometer":null,"unknown_45":7275072643165110272}} 
[2026-07-08 22:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":128054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:59:01] local.INFO: GPS data processed {"connection_id":128054,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:59:01] local.INFO: Acknowledgment sent {"connection_id":128054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:59:04] local.INFO: TCP Data received {"connection_id":126812,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:59:04] local.INFO: Processing buffer {"connection_id":126812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:59:04] local.INFO: IMEI packet received {"connection_id":126812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 22:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":126812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 22:59:05] local.INFO: TCP Data received {"connection_id":126812,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c4e5e0012d196500071ff078003e014225..."} 
[2026-07-08 22:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c4e5e0012d196500071ff078003e014225..."} 
[2026-07-08 22:59:05] local.INFO: Processing buffer {"connection_id":126812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c4e5e0012d196500071ff078003e014225..."} 
[2026-07-08 22:59:05] local.INFO: Packet analysis {"connection_id":126812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c4"} 
[2026-07-08 22:59:05] local.INFO: Extracted packet for processing {"connection_id":126812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c4"} 
[2026-07-08 22:59:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584019712001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783531628000,"timestamp_ms":1783531628000,"timestamp_seconds":1783531628,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c4e5e0"} 
[2026-07-08 22:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:59:05] 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-07-08 22:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584019712001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584019712001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:59:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:59:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584019712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":126812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:59:05] local.INFO: GPS data processed {"connection_id":126812,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:59:05] local.INFO: Acknowledgment sent {"connection_id":126812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:59:30] local.INFO: TCP Data received {"connection_id":128055,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128055,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:59:30] local.INFO: Processing buffer {"connection_id":128055,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 22:59:30] local.INFO: IMEI packet received {"connection_id":128055,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 22:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":128055,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:59:35] local.INFO: TCP Data received {"connection_id":128054,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c5d040012d64a9c006231308000801132f..."} 
[2026-07-08 22:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c5d040012d64a9c006231308000801132f..."} 
[2026-07-08 22:59:35] local.INFO: Processing buffer {"connection_id":128054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c5d040012d64a9c006231308000801132f..."} 
[2026-07-08 22:59:35] local.INFO: Packet analysis {"connection_id":128054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c5"} 
[2026-07-08 22:59:35] local.INFO: Extracted packet for processing {"connection_id":128054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c5"} 
[2026-07-08 22:59:35] local.INFO: GPS Element Parsed {"raw_longitude":761571776,"raw_latitude":102961928,"longitude_deg":76.1571776,"latitude_deg":10.2961928,"altitude":8,"angle":275,"satellites":47,"speed":48,"hex_longitude":"2d64a9c0","hex_latitude":"06231308","is_valid_coordinates":true} 
[2026-07-08 22:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584110080001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343458823740063744,"note":"Value kept but may cause issues"} 
[2026-07-08 22:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7264095119073800192,"note":"Value kept but may cause issues"} 
[2026-07-08 22:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783531688000,"timestamp_ms":1783531688000,"timestamp_seconds":1783531688,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c5d040"} 
[2026-07-08 22:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 22: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":105,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-07-08 22:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":975,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":128054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":128054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":128054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 22:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 22:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 22:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584110080001,"66":27300,"55":206,"79":20992,"24":48,"16":343458823740063744,"45":7264095119073800192},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,79,24,16,45]} 
[2026-07-08 22:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 22:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 22:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584110080001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:59:35] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-07-08 22:59:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 22:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343458823740063744,"km_value":343458823740063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7264095119073800192,"description":"Unknown IO ID 45"} 
[2026-07-08 22:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584110080001,"power":27300,"unknown_55":206,"unknown_79":20992,"ignition":48,"odometer":null,"unknown_45":7264095119073800192}} 
[2026-07-08 22:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":128054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:59:35] local.INFO: GPS data processed {"connection_id":128054,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:59:35] local.INFO: Acknowledgment sent {"connection_id":128054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:59:36] local.INFO: TCP Data received {"connection_id":126812,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c4e5e0012d196500071ff078003e014225..."} 
[2026-07-08 22:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c4e5e0012d196500071ff078003e014225..."} 
[2026-07-08 22:59:36] local.INFO: Processing buffer {"connection_id":126812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c4e5e0012d196500071ff078003e014225..."} 
[2026-07-08 22:59:36] local.INFO: Packet analysis {"connection_id":126812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c4"} 
[2026-07-08 22:59:36] local.INFO: Extracted packet for processing {"connection_id":126812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c4"} 
[2026-07-08 22:59:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 22:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 22:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584019712001,"note":"Value kept but may cause issues"} 
[2026-07-08 22:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 22:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 22:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 22:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783531628000,"timestamp_ms":1783531628000,"timestamp_seconds":1783531628,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c4e5e0"} 
[2026-07-08 22:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 22:59:36] 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-07-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 22:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 22:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 22:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 22:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 22:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 22:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 22:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 22:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 22:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 22:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584019712001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 22:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 22:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 22:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584019712001,"description":"Unknown IO ID 0"} 
[2026-07-08 22:59:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 22:59:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 22:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 22:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 22:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584019712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 22:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":126812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 22:59:36] local.INFO: GPS data processed {"connection_id":126812,"processed":1,"errors":0,"total":1} 
[2026-07-08 22:59:36] local.INFO: Acknowledgment sent {"connection_id":126812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 22:59:54] local.INFO: TCP Data received {"connection_id":125919,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:59:54] local.INFO: Processing buffer {"connection_id":125919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:59:54] local.INFO: IMEI packet received {"connection_id":125919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 22:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":125919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:59:59] local.INFO: TCP Data received {"connection_id":128056,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:59:59] local.INFO: Processing buffer {"connection_id":128056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 22:59:59] local.INFO: IMEI packet received {"connection_id":128056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 22:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":128056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 22:59:59] local.INFO: TCP Data received {"connection_id":125919,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:59:59] local.INFO: Processing buffer {"connection_id":125919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 22:59:59] local.INFO: IMEI packet received {"connection_id":125919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 22:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":125919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:00:00] local.INFO: TCP Data received {"connection_id":126063,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126063,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:00:00] local.INFO: Processing buffer {"connection_id":126063,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:00:00] local.INFO: IMEI packet received {"connection_id":126063,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 23:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":126063,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:00:01] local.INFO: TCP Data received {"connection_id":125919,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c5ef80012d64848006231878000c011830..."} 
[2026-07-08 23:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c5ef80012d64848006231878000c011830..."} 
[2026-07-08 23:00:01] local.INFO: Processing buffer {"connection_id":125919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c5ef80012d64848006231878000c011830..."} 
[2026-07-08 23:00:01] local.INFO: Packet analysis {"connection_id":125919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c5"} 
[2026-07-08 23:00:01] local.INFO: Extracted packet for processing {"connection_id":125919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c5"} 
[2026-07-08 23:00:01] local.INFO: GPS Element Parsed {"raw_longitude":761562240,"raw_latitude":102963320,"longitude_deg":76.156224,"latitude_deg":10.296332,"altitude":12,"angle":280,"satellites":48,"speed":46,"hex_longitude":"2d648480","hex_latitude":"06231878","is_valid_coordinates":true} 
[2026-07-08 23:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584112128001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343459283301564416,"note":"Value kept but may cause issues"} 
[2026-07-08 23:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7253539807447681024,"note":"Value kept but may cause issues"} 
[2026-07-08 23:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783531696000,"timestamp_ms":1783531696000,"timestamp_seconds":1783531696,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c5ef80"} 
[2026-07-08 23:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:00: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-07-08 23:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-08 23:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:00:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584112128001,"66":27158,"52":206,"79":20992,"24":46,"16":343459283301564416,"45":7253539807447681024},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,79,24,16,45]} 
[2026-07-08 23:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584112128001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:00:01] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-08 23:00:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 23:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343459283301564416,"km_value":343459283301564.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7253539807447681024,"description":"Unknown IO ID 45"} 
[2026-07-08 23:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584112128001,"power":27158,"unknown_52":206,"unknown_79":20992,"ignition":46,"odometer":null,"unknown_45":7253539807447681024}} 
[2026-07-08 23:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":125919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:00:01] local.INFO: GPS data processed {"connection_id":125919,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:00:01] local.INFO: Acknowledgment sent {"connection_id":125919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:00:04] local.INFO: TCP Data received {"connection_id":128056,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:00:04] local.INFO: Processing buffer {"connection_id":128056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:00:04] local.INFO: IMEI packet received {"connection_id":128056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":128056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:00:05] local.INFO: TCP Data received {"connection_id":128056,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c4e5e0012d196500071ff078003e014225..."} 
[2026-07-08 23:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c4e5e0012d196500071ff078003e014225..."} 
[2026-07-08 23:00:05] local.INFO: Processing buffer {"connection_id":128056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c4e5e0012d196500071ff078003e014225..."} 
[2026-07-08 23:00:05] local.INFO: Packet analysis {"connection_id":128056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c4"} 
[2026-07-08 23:00:05] local.INFO: Extracted packet for processing {"connection_id":128056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c4"} 
[2026-07-08 23:00:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23: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-07-08 23:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584019712001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783531628000,"timestamp_ms":1783531628000,"timestamp_seconds":1783531628,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c4e5e0"} 
[2026-07-08 23:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:00:05] 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-07-08 23:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23: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-07-08 23:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:00:05] 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-07-08 23:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584019712001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584019712001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:00:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:00:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584019712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":128056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:00:05] local.INFO: GPS data processed {"connection_id":128056,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:00:05] local.INFO: Acknowledgment sent {"connection_id":128056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:00:32] local.INFO: TCP Data received {"connection_id":125919,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c60ec0012d6460c006232278000d012330..."} 
[2026-07-08 23:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c60ec0012d6460c006232278000d012330..."} 
[2026-07-08 23:00:32] local.INFO: Processing buffer {"connection_id":125919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c60ec0012d6460c006232278000d012330..."} 
[2026-07-08 23:00:32] local.INFO: Packet analysis {"connection_id":125919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c6"} 
[2026-07-08 23:00:32] local.INFO: Extracted packet for processing {"connection_id":125919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c6"} 
[2026-07-08 23:00:32] local.INFO: GPS Element Parsed {"raw_longitude":761553088,"raw_latitude":102965880,"longitude_deg":76.1553088,"latitude_deg":10.296588,"altitude":13,"angle":291,"satellites":48,"speed":47,"hex_longitude":"2d6460c0","hex_latitude":"06232278","is_valid_coordinates":true} 
[2026-07-08 23:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584114176001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343459738568097792,"note":"Value kept but may cause issues"} 
[2026-07-08 23:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7243054864565565440,"note":"Value kept but may cause issues"} 
[2026-07-08 23:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783531704000,"timestamp_ms":1783531704000,"timestamp_seconds":1783531704,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c60ec0"} 
[2026-07-08 23:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-08 23:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":125919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":125919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":125919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584114176001,"66":27104,"52":206,"79":20992,"24":47,"16":343459738568097792,"45":7243054864565565440},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,79,24,16,45]} 
[2026-07-08 23:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584114176001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:00:32] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-08 23:00:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 23:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343459738568097792,"km_value":343459738568097.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7243054864565565440,"description":"Unknown IO ID 45"} 
[2026-07-08 23:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584114176001,"power":27104,"unknown_52":206,"unknown_79":20992,"ignition":47,"odometer":null,"unknown_45":7243054864565565440}} 
[2026-07-08 23:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":125919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:00:32] local.INFO: GPS data processed {"connection_id":125919,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:00:32] local.INFO: Acknowledgment sent {"connection_id":125919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:00:36] local.INFO: TCP Data received {"connection_id":128056,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c4e5e0012d196500071ff078003e014225..."} 
[2026-07-08 23:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c4e5e0012d196500071ff078003e014225..."} 
[2026-07-08 23:00:36] local.INFO: Processing buffer {"connection_id":128056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c4e5e0012d196500071ff078003e014225..."} 
[2026-07-08 23:00:36] local.INFO: Packet analysis {"connection_id":128056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c4"} 
[2026-07-08 23:00:36] local.INFO: Extracted packet for processing {"connection_id":128056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c4"} 
[2026-07-08 23:00:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584019712001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783531628000,"timestamp_ms":1783531628000,"timestamp_seconds":1783531628,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c4e5e0"} 
[2026-07-08 23:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:00:36] 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-07-08 23:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:00:36] 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-07-08 23:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584019712001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584019712001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:00:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:00:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584019712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":128056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:00:36] local.INFO: GPS data processed {"connection_id":128056,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:00:36] local.INFO: Acknowledgment sent {"connection_id":128056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:00:54] local.INFO: TCP Data received {"connection_id":128057,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:00:54] local.INFO: Processing buffer {"connection_id":128057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:00:54] local.INFO: IMEI packet received {"connection_id":128057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":128057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:00:59] local.INFO: TCP Data received {"connection_id":125921,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:00:59] local.INFO: Processing buffer {"connection_id":125921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:00:59] local.INFO: IMEI packet received {"connection_id":125921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":125921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:01:00] local.INFO: TCP Data received {"connection_id":128057,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:01:00] local.INFO: Processing buffer {"connection_id":128057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:01:00] local.INFO: IMEI packet received {"connection_id":128057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":128057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:01:01] local.INFO: TCP Data received {"connection_id":128057,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c76e50012d63d1c006243e480004014c32..."} 
[2026-07-08 23:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c76e50012d63d1c006243e480004014c32..."} 
[2026-07-08 23:01:01] local.INFO: Processing buffer {"connection_id":128057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c76e50012d63d1c006243e480004014c32..."} 
[2026-07-08 23:01:01] local.INFO: Packet analysis {"connection_id":128057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c7"} 
[2026-07-08 23:01:01] local.INFO: Extracted packet for processing {"connection_id":128057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c7"} 
[2026-07-08 23:01:01] local.INFO: GPS Element Parsed {"raw_longitude":761516480,"raw_latitude":103038536,"longitude_deg":76.151648,"latitude_deg":10.3038536,"altitude":4,"angle":332,"satellites":50,"speed":19,"hex_longitude":"2d63d1c0","hex_latitude":"06243e48","is_valid_coordinates":true} 
[2026-07-08 23:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584136960001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343463844556832768,"note":"Value kept but may cause issues"} 
[2026-07-08 23:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7195415224774838272,"note":"Value kept but may cause issues"} 
[2026-07-08 23:01:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783531794000,"timestamp_ms":1783531794000,"timestamp_seconds":1783531794,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c76e50"} 
[2026-07-08 23:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:01: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-07-08 23:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-08 23:01:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:01:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":128057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":128057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":128057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584136960001,"66":27376,"253":206,"79":20992,"24":19,"16":343463844556832768,"45":7195415224774838272},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,79,24,16,45]} 
[2026-07-08 23:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584136960001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:01:01] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-07-08 23:01:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 23:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343463844556832768,"km_value":343463844556832.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7195415224774838272,"description":"Unknown IO ID 45"} 
[2026-07-08 23:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584136960001,"power":27376,"unknown_253":206,"unknown_79":20992,"ignition":19,"odometer":null,"unknown_45":7195415224774838272}} 
[2026-07-08 23:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":128057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:01:01] local.INFO: GPS data processed {"connection_id":128057,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:01:01] local.INFO: Acknowledgment sent {"connection_id":128057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:01:04] local.INFO: TCP Data received {"connection_id":125921,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:01:04] local.INFO: Processing buffer {"connection_id":125921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:01:04] local.INFO: IMEI packet received {"connection_id":125921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":125921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:01:05] local.INFO: TCP Data received {"connection_id":125921,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c4e5e0012d196500071ff078003e014225..."} 
[2026-07-08 23:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c4e5e0012d196500071ff078003e014225..."} 
[2026-07-08 23:01:05] local.INFO: Processing buffer {"connection_id":125921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c4e5e0012d196500071ff078003e014225..."} 
[2026-07-08 23:01:05] local.INFO: Packet analysis {"connection_id":125921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c4"} 
[2026-07-08 23:01:05] local.INFO: Extracted packet for processing {"connection_id":125921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c4"} 
[2026-07-08 23:01:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584019712001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783531628000,"timestamp_ms":1783531628000,"timestamp_seconds":1783531628,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c4e5e0"} 
[2026-07-08 23:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:01:05] 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-07-08 23:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584019712001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584019712001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:01:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:01:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584019712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":125921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:01:05] local.INFO: GPS data processed {"connection_id":125921,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:01:05] local.INFO: Acknowledgment sent {"connection_id":125921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:01:32] local.INFO: TCP Data received {"connection_id":128057,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c781d8012d63cf80062444480004015832..."} 
[2026-07-08 23:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c781d8012d63cf80062444480004015832..."} 
[2026-07-08 23:01:32] local.INFO: Processing buffer {"connection_id":128057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c781d8012d63cf80062444480004015832..."} 
[2026-07-08 23:01:32] local.INFO: Packet analysis {"connection_id":128057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c7"} 
[2026-07-08 23:01:32] local.INFO: Extracted packet for processing {"connection_id":128057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c7"} 
[2026-07-08 23:01:32] local.INFO: GPS Element Parsed {"raw_longitude":761515904,"raw_latitude":103040072,"longitude_deg":76.1515904,"latitude_deg":10.3040072,"altitude":4,"angle":344,"satellites":50,"speed":11,"hex_longitude":"2d63cf80","hex_latitude":"06244448","is_valid_coordinates":true} 
[2026-07-08 23:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584139264001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343463921866244096,"note":"Value kept but may cause issues"} 
[2026-07-08 23:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7192741212497790976,"note":"Value kept but may cause issues"} 
[2026-07-08 23:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783531799000,"timestamp_ms":1783531799000,"timestamp_seconds":1783531799,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c781d8"} 
[2026-07-08 23:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 23:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":128057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":128057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":128057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584139264001,"66":27484,"253":206,"79":20992,"24":11,"16":343463921866244096,"45":7192741212497790976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,79,24,16,45]} 
[2026-07-08 23:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584139264001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:01:32] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-07-08 23:01:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 23:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343463921866244096,"km_value":343463921866244.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7192741212497790976,"description":"Unknown IO ID 45"} 
[2026-07-08 23:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584139264001,"power":27484,"unknown_253":206,"unknown_79":20992,"ignition":11,"odometer":null,"unknown_45":7192741212497790976}} 
[2026-07-08 23:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":128057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:01:32] local.INFO: GPS data processed {"connection_id":128057,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:01:32] local.INFO: Acknowledgment sent {"connection_id":128057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:01:37] local.INFO: TCP Data received {"connection_id":125921,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c4e5e0012d196500071ff078003e014225..."} 
[2026-07-08 23:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c4e5e0012d196500071ff078003e014225..."} 
[2026-07-08 23:01:37] local.INFO: Processing buffer {"connection_id":125921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c4e5e0012d196500071ff078003e014225..."} 
[2026-07-08 23:01:37] local.INFO: Packet analysis {"connection_id":125921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c4"} 
[2026-07-08 23:01:37] local.INFO: Extracted packet for processing {"connection_id":125921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c4"} 
[2026-07-08 23:01:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584019712001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783531628000,"timestamp_ms":1783531628000,"timestamp_seconds":1783531628,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c4e5e0"} 
[2026-07-08 23:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:01:37] 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-07-08 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584019712001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584019712001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:01:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:01:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584019712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":125921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:01:37] local.INFO: GPS data processed {"connection_id":125921,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:01:37] local.INFO: Acknowledgment sent {"connection_id":125921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:01:55] local.INFO: TCP Data received {"connection_id":125923,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:01:55] local.INFO: Processing buffer {"connection_id":125923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:01:55] local.INFO: IMEI packet received {"connection_id":125923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":125923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:01:59] local.INFO: TCP Data received {"connection_id":125924,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:01:59] local.INFO: Processing buffer {"connection_id":125924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:01:59] local.INFO: IMEI packet received {"connection_id":125924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":125924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:01:59] local.INFO: TCP Data received {"connection_id":125923,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:01:59] local.INFO: Processing buffer {"connection_id":125923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:01:59] local.INFO: IMEI packet received {"connection_id":125923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":125923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:02:04] local.INFO: TCP Data received {"connection_id":125924,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:02:04] local.INFO: Processing buffer {"connection_id":125924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:02:04] local.INFO: IMEI packet received {"connection_id":125924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":125924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:02:05] local.INFO: TCP Data received {"connection_id":125923,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:02:05] local.INFO: Processing buffer {"connection_id":125923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:02:05] local.INFO: IMEI packet received {"connection_id":125923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":125923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:02:05] local.INFO: TCP Data received {"connection_id":125924,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c4e5e0012d196500071ff078003e014225..."} 
[2026-07-08 23:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c4e5e0012d196500071ff078003e014225..."} 
[2026-07-08 23:02:05] local.INFO: Processing buffer {"connection_id":125924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c4e5e0012d196500071ff078003e014225..."} 
[2026-07-08 23:02:05] local.INFO: Packet analysis {"connection_id":125924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c4"} 
[2026-07-08 23:02:05] local.INFO: Extracted packet for processing {"connection_id":125924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c4"} 
[2026-07-08 23:02:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584019712001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783531628000,"timestamp_ms":1783531628000,"timestamp_seconds":1783531628,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c4e5e0"} 
[2026-07-08 23:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:02:05] 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-07-08 23:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584019712001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584019712001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:02:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:02:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584019712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":125924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:02:05] local.INFO: GPS data processed {"connection_id":125924,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:02:05] local.INFO: Acknowledgment sent {"connection_id":125924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:02:06] local.INFO: TCP Data received {"connection_id":125923,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c8a2e8012d63bdc00624c0400006000330..."} 
[2026-07-08 23:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c8a2e8012d63bdc00624c0400006000330..."} 
[2026-07-08 23:02:06] local.INFO: Processing buffer {"connection_id":125923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c8a2e8012d63bdc00624c0400006000330..."} 
[2026-07-08 23:02:06] local.INFO: Packet analysis {"connection_id":125923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c8"} 
[2026-07-08 23:02:06] local.INFO: Extracted packet for processing {"connection_id":125923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c8"} 
[2026-07-08 23:02:06] local.INFO: GPS Element Parsed {"raw_longitude":761511360,"raw_latitude":103071808,"longitude_deg":76.151136,"latitude_deg":10.3071808,"altitude":6,"angle":3,"satellites":48,"speed":20,"hex_longitude":"2d63bdc0","hex_latitude":"0624c040","is_valid_coordinates":true} 
[2026-07-08 23:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584158976001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343465596903489536,"note":"Value kept but may cause issues"} 
[2026-07-08 23:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7186900606739331072,"note":"Value kept but may cause issues"} 
[2026-07-08 23:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783531873000,"timestamp_ms":1783531873000,"timestamp_seconds":1783531873,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c8a2e8"} 
[2026-07-08 23:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 23:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584158976001,"66":27234,"51":206,"79":20992,"24":20,"16":343465596903489536,"45":7186900606739331072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,79,24,16,45]} 
[2026-07-08 23:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584158976001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:02:06] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-08 23:02:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 23:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343465596903489536,"km_value":343465596903489.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7186900606739331072,"description":"Unknown IO ID 45"} 
[2026-07-08 23:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584158976001,"power":27234,"unknown_51":206,"unknown_79":20992,"ignition":20,"odometer":null,"unknown_45":7186900606739331072}} 
[2026-07-08 23:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":125923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:02:06] local.INFO: GPS data processed {"connection_id":125923,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:02:06] local.INFO: Acknowledgment sent {"connection_id":125923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:02:07] local.INFO: TCP Data received {"connection_id":125923,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c8aea0012d63bd400624c7100007015c2d..."} 
[2026-07-08 23:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c8aea0012d63bd400624c7100007015c2d..."} 
[2026-07-08 23:02:07] local.INFO: Processing buffer {"connection_id":125923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c8aea0012d63bd400624c7100007015c2d..."} 
[2026-07-08 23:02:07] local.INFO: Packet analysis {"connection_id":125923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c8"} 
[2026-07-08 23:02:07] local.INFO: Extracted packet for processing {"connection_id":125923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c8"} 
[2026-07-08 23:02:07] local.INFO: GPS Element Parsed {"raw_longitude":761511232,"raw_latitude":103073552,"longitude_deg":76.1511232,"latitude_deg":10.3073552,"altitude":7,"angle":348,"satellites":45,"speed":26,"hex_longitude":"2d63bd40","hex_latitude":"0624c710","is_valid_coordinates":true} 
[2026-07-08 23:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584159488001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343465682802835456,"note":"Value kept but may cause issues"} 
[2026-07-08 23:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7187111712972095488,"note":"Value kept but may cause issues"} 
[2026-07-08 23:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783531876000,"timestamp_ms":1783531876000,"timestamp_seconds":1783531876,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c8aea0"} 
[2026-07-08 23:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-08 23:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584159488001,"66":27343,"51":206,"79":20992,"24":26,"16":343465682802835456,"45":7187111712972095488},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,79,24,16,45]} 
[2026-07-08 23:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584159488001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:02:07] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-08 23:02:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 23:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343465682802835456,"km_value":343465682802835.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":7187111712972095488,"description":"Unknown IO ID 45"} 
[2026-07-08 23:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584159488001,"power":27343,"unknown_51":206,"unknown_79":20992,"ignition":26,"odometer":null,"unknown_45":7187111712972095488}} 
[2026-07-08 23:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":125923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:02:07] local.INFO: GPS data processed {"connection_id":125923,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:02:07] local.INFO: Acknowledgment sent {"connection_id":125923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:02:36] local.INFO: TCP Data received {"connection_id":125924,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c4e5e0012d196500071ff078003e014225..."} 
[2026-07-08 23:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c4e5e0012d196500071ff078003e014225..."} 
[2026-07-08 23:02:36] local.INFO: Processing buffer {"connection_id":125924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c4e5e0012d196500071ff078003e014225..."} 
[2026-07-08 23:02:36] local.INFO: Packet analysis {"connection_id":125924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c4"} 
[2026-07-08 23:02:36] local.INFO: Extracted packet for processing {"connection_id":125924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c4"} 
[2026-07-08 23:02:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23: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-07-08 23:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584019712001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783531628000,"timestamp_ms":1783531628000,"timestamp_seconds":1783531628,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c4e5e0"} 
[2026-07-08 23:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:02:36] 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-07-08 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23: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-07-08 23:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:02:36] 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-07-08 23:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584019712001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584019712001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:02:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:02:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584019712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":125924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:02:36] local.INFO: GPS data processed {"connection_id":125924,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:02:36] local.INFO: Acknowledgment sent {"connection_id":125924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:02:39] local.INFO: TCP Data received {"connection_id":125923,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c8b670012d63bbc00624cc38000701512e..."} 
[2026-07-08 23:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c8b670012d63bbc00624cc38000701512e..."} 
[2026-07-08 23:02:39] local.INFO: Processing buffer {"connection_id":125923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c8b670012d63bbc00624cc38000701512e..."} 
[2026-07-08 23:02:39] local.INFO: Packet analysis {"connection_id":125923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c8"} 
[2026-07-08 23:02:39] local.INFO: Extracted packet for processing {"connection_id":125923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c8"} 
[2026-07-08 23:02:39] local.INFO: GPS Element Parsed {"raw_longitude":761510848,"raw_latitude":103074872,"longitude_deg":76.1510848,"latitude_deg":10.3074872,"altitude":7,"angle":337,"satellites":46,"speed":28,"hex_longitude":"2d63bbc0","hex_latitude":"0624cc38","is_valid_coordinates":true} 
[2026-07-08 23:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584160256001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343465751522312192,"note":"Value kept but may cause issues"} 
[2026-07-08 23:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7186970975484186624,"note":"Value kept but may cause issues"} 
[2026-07-08 23:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783531878000,"timestamp_ms":1783531878000,"timestamp_seconds":1783531878,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c8b670"} 
[2026-07-08 23:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 23:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584160256001,"66":27245,"51":206,"79":20992,"24":28,"16":343465751522312192,"45":7186970975484186624},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,79,24,16,45]} 
[2026-07-08 23:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584160256001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:02:39] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-08 23:02:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 23:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343465751522312192,"km_value":343465751522312.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":7186970975484186624,"description":"Unknown IO ID 45"} 
[2026-07-08 23:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584160256001,"power":27245,"unknown_51":206,"unknown_79":20992,"ignition":28,"odometer":null,"unknown_45":7186970975484186624}} 
[2026-07-08 23:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":125923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:02:39] local.INFO: GPS data processed {"connection_id":125923,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:02:39] local.INFO: Acknowledgment sent {"connection_id":125923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:02:53] local.INFO: TCP Data received {"connection_id":126065,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:02:53] local.INFO: Processing buffer {"connection_id":126065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:02:53] local.INFO: IMEI packet received {"connection_id":126065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":126065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:02:54] local.INFO: TCP Data received {"connection_id":126065,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:02:54] local.INFO: Processing buffer {"connection_id":126065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:02:54] local.INFO: IMEI packet received {"connection_id":126065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":126065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:02:59] local.INFO: TCP Data received {"connection_id":126066,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:02:59] local.INFO: Processing buffer {"connection_id":126066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:02:59] local.INFO: IMEI packet received {"connection_id":126066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":126066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:03:00] local.INFO: TCP Data received {"connection_id":126065,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:03:00] local.INFO: Processing buffer {"connection_id":126065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:03:00] local.INFO: IMEI packet received {"connection_id":126065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":126065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:03:01] local.INFO: TCP Data received {"connection_id":126065,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c8e168012d63adc00624ef60000801552d..."} 
[2026-07-08 23:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c8e168012d63adc00624ef60000801552d..."} 
[2026-07-08 23:03:01] local.INFO: Processing buffer {"connection_id":126065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c8e168012d63adc00624ef60000801552d..."} 
[2026-07-08 23:03:01] local.INFO: Packet analysis {"connection_id":126065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c8"} 
[2026-07-08 23:03:01] local.INFO: Extracted packet for processing {"connection_id":126065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c8"} 
[2026-07-08 23:03:01] local.INFO: GPS Element Parsed {"raw_longitude":761507264,"raw_latitude":103083872,"longitude_deg":76.1507264,"latitude_deg":10.3083872,"altitude":8,"angle":341,"satellites":45,"speed":40,"hex_longitude":"2d63adc0","hex_latitude":"0624ef60","is_valid_coordinates":true} 
[2026-07-08 23:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584160768001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343466219673747456,"note":"Value kept but may cause issues"} 
[2026-07-08 23:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7186548763019458560,"note":"Value kept but may cause issues"} 
[2026-07-08 23:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783531889000,"timestamp_ms":1783531889000,"timestamp_seconds":1783531889,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c8e168"} 
[2026-07-08 23:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:03: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-07-08 23: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-08 23:03:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:03:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584160768001,"66":27180,"51":206,"79":20992,"24":40,"16":343466219673747456,"45":7186548763019458560},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,79,24,16,45]} 
[2026-07-08 23:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584160768001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:03:01] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-08 23:03:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 23:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343466219673747456,"km_value":343466219673747.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7186548763019458560,"description":"Unknown IO ID 45"} 
[2026-07-08 23:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584160768001,"power":27180,"unknown_51":206,"unknown_79":20992,"ignition":40,"odometer":null,"unknown_45":7186548763019458560}} 
[2026-07-08 23:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":126065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:03:01] local.INFO: GPS data processed {"connection_id":126065,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:03:01] local.INFO: Acknowledgment sent {"connection_id":126065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:03:04] local.INFO: TCP Data received {"connection_id":126066,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:03:04] local.INFO: Processing buffer {"connection_id":126066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:03:04] local.INFO: IMEI packet received {"connection_id":126066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":126066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:03:04] local.INFO: TCP Data received {"connection_id":126066,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c97da8012d196500071ff078003e014228..."} 
[2026-07-08 23:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c97da8012d196500071ff078003e014228..."} 
[2026-07-08 23:03:04] local.INFO: Processing buffer {"connection_id":126066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c97da8012d196500071ff078003e014228..."} 
[2026-07-08 23:03:04] local.INFO: Packet analysis {"connection_id":126066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c9"} 
[2026-07-08 23:03:04] local.INFO: Extracted packet for processing {"connection_id":126066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c9"} 
[2026-07-08 23:03:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23: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-07-08 23:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584096768001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783531929000,"timestamp_ms":1783531929000,"timestamp_seconds":1783531929,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c97da8"} 
[2026-07-08 23:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 23:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23: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-07-08 23:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:03:04] 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-07-08 23:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584096768001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584096768001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:03:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:03:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584096768001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":126066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:03:05] local.INFO: GPS data processed {"connection_id":126066,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:03:05] local.INFO: Acknowledgment sent {"connection_id":126066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:03:33] local.INFO: TCP Data received {"connection_id":126065,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c90878012d63a00006251310000801522e..."} 
[2026-07-08 23:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c90878012d63a00006251310000801522e..."} 
[2026-07-08 23:03:33] local.INFO: Processing buffer {"connection_id":126065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c90878012d63a00006251310000801522e..."} 
[2026-07-08 23:03:33] local.INFO: Packet analysis {"connection_id":126065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c9"} 
[2026-07-08 23:03:33] local.INFO: Extracted packet for processing {"connection_id":126065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c9"} 
[2026-07-08 23:03:33] local.INFO: GPS Element Parsed {"raw_longitude":761503744,"raw_latitude":103093008,"longitude_deg":76.1503744,"latitude_deg":10.3093008,"altitude":8,"angle":338,"satellites":46,"speed":42,"hex_longitude":"2d63a000","hex_latitude":"06251310","is_valid_coordinates":true} 
[2026-07-08 23:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584163584001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343466692120150016,"note":"Value kept but may cause issues"} 
[2026-07-08 23:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7182608113347813376,"note":"Value kept but may cause issues"} 
[2026-07-08 23:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783531899000,"timestamp_ms":1783531899000,"timestamp_seconds":1783531899,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c90878"} 
[2026-07-08 23:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-08 23:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:03:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584163584001,"66":27267,"76":206,"79":20992,"24":42,"16":343466692120150016,"45":7182608113347813376},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,79,24,16,45]} 
[2026-07-08 23:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584163584001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:03:33] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-07-08 23:03:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 23:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343466692120150016,"km_value":343466692120150.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7182608113347813376,"description":"Unknown IO ID 45"} 
[2026-07-08 23:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584163584001,"power":27267,"unknown_76":206,"unknown_79":20992,"ignition":42,"odometer":null,"unknown_45":7182608113347813376}} 
[2026-07-08 23:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":126065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:03:33] local.INFO: GPS data processed {"connection_id":126065,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:03:33] local.INFO: Acknowledgment sent {"connection_id":126065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:03:36] local.INFO: TCP Data received {"connection_id":126066,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c97da8012d196500071ff078003e014228..."} 
[2026-07-08 23:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c97da8012d196500071ff078003e014228..."} 
[2026-07-08 23:03:36] local.INFO: Processing buffer {"connection_id":126066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c97da8012d196500071ff078003e014228..."} 
[2026-07-08 23:03:36] local.INFO: Packet analysis {"connection_id":126066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c9"} 
[2026-07-08 23:03:36] local.INFO: Extracted packet for processing {"connection_id":126066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c9"} 
[2026-07-08 23:03:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584096768001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783531929000,"timestamp_ms":1783531929000,"timestamp_seconds":1783531929,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c97da8"} 
[2026-07-08 23:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 23:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:03:36] 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-07-08 23:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584096768001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584096768001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:03:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:03:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584096768001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":126066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:03:36] local.INFO: GPS data processed {"connection_id":126066,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:03:36] local.INFO: Acknowledgment sent {"connection_id":126066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:03:55] local.INFO: TCP Data received {"connection_id":125926,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:03:55] local.INFO: Processing buffer {"connection_id":125926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:03:55] local.INFO: IMEI packet received {"connection_id":125926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":125926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:03:59] local.INFO: TCP Data received {"connection_id":125927,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:03:59] local.INFO: Processing buffer {"connection_id":125927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:03:59] local.INFO: IMEI packet received {"connection_id":125927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":125927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:04:00] local.INFO: TCP Data received {"connection_id":125926,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:04:00] local.INFO: Processing buffer {"connection_id":125926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:04:00] local.INFO: IMEI packet received {"connection_id":125926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":125926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:04:02] local.INFO: TCP Data received {"connection_id":125926,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42ca1600012d6312c006262ce0000a01592e..."} 
[2026-07-08 23:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42ca1600012d6312c006262ce0000a01592e..."} 
[2026-07-08 23:04:02] local.INFO: Processing buffer {"connection_id":125926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42ca1600012d6312c006262ce0000a01592e..."} 
[2026-07-08 23:04:02] local.INFO: Packet analysis {"connection_id":125926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ca"} 
[2026-07-08 23:04:02] local.INFO: Extracted packet for processing {"connection_id":125926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ca"} 
[2026-07-08 23:04:02] local.INFO: GPS Element Parsed {"raw_longitude":761467584,"raw_latitude":103165152,"longitude_deg":76.1467584,"latitude_deg":10.3165152,"altitude":10,"angle":345,"satellites":46,"speed":32,"hex_longitude":"2d6312c0","hex_latitude":"06262ce0","is_valid_coordinates":true} 
[2026-07-08 23:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584180992001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343470656374964224,"note":"Value kept but may cause issues"} 
[2026-07-08 23:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7141723872999059456,"note":"Value kept but may cause issues"} 
[2026-07-08 23:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783531968000,"timestamp_ms":1783531968000,"timestamp_seconds":1783531968,"priority":1,"record_length":96,"hex_timestamp":"0000019f42ca1600"} 
[2026-07-08 23:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-08 23:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:04:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584180992001,"66":27321,"88":206,"79":20992,"24":32,"16":343470656374964224,"45":7141723872999059456},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,79,24,16,45]} 
[2026-07-08 23:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584180992001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:04:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-07-08 23:04:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 23:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343470656374964224,"km_value":343470656374964.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7141723872999059456,"description":"Unknown IO ID 45"} 
[2026-07-08 23:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584180992001,"power":27321,"unknown_88":206,"unknown_79":20992,"ignition":32,"odometer":null,"unknown_45":7141723872999059456}} 
[2026-07-08 23:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":125926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:04:02] local.INFO: GPS data processed {"connection_id":125926,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:04:02] local.INFO: Acknowledgment sent {"connection_id":125926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:04:04] local.INFO: TCP Data received {"connection_id":125927,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:04:04] local.INFO: Processing buffer {"connection_id":125927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:04:04] local.INFO: IMEI packet received {"connection_id":125927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":125927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:04:05] local.INFO: TCP Data received {"connection_id":125927,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c97da8012d196500071ff078003e014228..."} 
[2026-07-08 23:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c97da8012d196500071ff078003e014228..."} 
[2026-07-08 23:04:05] local.INFO: Processing buffer {"connection_id":125927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c97da8012d196500071ff078003e014228..."} 
[2026-07-08 23:04:05] local.INFO: Packet analysis {"connection_id":125927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c9"} 
[2026-07-08 23:04:05] local.INFO: Extracted packet for processing {"connection_id":125927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c9"} 
[2026-07-08 23:04:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584096768001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783531929000,"timestamp_ms":1783531929000,"timestamp_seconds":1783531929,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c97da8"} 
[2026-07-08 23:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 23:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584096768001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 23:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584096768001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:04:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:04:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584096768001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":125927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:04:05] local.INFO: GPS data processed {"connection_id":125927,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:04:05] local.INFO: Acknowledgment sent {"connection_id":125927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:04:36] local.INFO: TCP Data received {"connection_id":125927,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c97da8012d196500071ff078003e014228..."} 
[2026-07-08 23:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c97da8012d196500071ff078003e014228..."} 
[2026-07-08 23:04:36] local.INFO: Processing buffer {"connection_id":125927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c97da8012d196500071ff078003e014228..."} 
[2026-07-08 23:04:36] local.INFO: Packet analysis {"connection_id":125927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c9"} 
[2026-07-08 23:04:36] local.INFO: Extracted packet for processing {"connection_id":125927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c9"} 
[2026-07-08 23:04:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584096768001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783531929000,"timestamp_ms":1783531929000,"timestamp_seconds":1783531929,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c97da8"} 
[2026-07-08 23:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 23:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584096768001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 23:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584096768001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:04:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:04:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584096768001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":125927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:04:36] local.INFO: GPS data processed {"connection_id":125927,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:04:36] local.INFO: Acknowledgment sent {"connection_id":125927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:04:37] local.INFO: TCP Data received {"connection_id":125926,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42ca3d10012d6306c006265160000c015130..."} 
[2026-07-08 23:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42ca3d10012d6306c006265160000c015130..."} 
[2026-07-08 23:04:37] local.INFO: Processing buffer {"connection_id":125926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42ca3d10012d6306c006265160000c015130..."} 
[2026-07-08 23:04:37] local.INFO: Packet analysis {"connection_id":125926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ca"} 
[2026-07-08 23:04:37] local.INFO: Extracted packet for processing {"connection_id":125926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ca"} 
[2026-07-08 23:04:37] local.INFO: GPS Element Parsed {"raw_longitude":761464512,"raw_latitude":103174496,"longitude_deg":76.1464512,"latitude_deg":10.3174496,"altitude":12,"angle":337,"satellites":48,"speed":44,"hex_longitude":"2d6306c0","hex_latitude":"06265160","is_valid_coordinates":true} 
[2026-07-08 23:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584183808001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343471133116334080,"note":"Value kept but may cause issues"} 
[2026-07-08 23:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7138979491978469376,"note":"Value kept but may cause issues"} 
[2026-07-08 23:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783531978000,"timestamp_ms":1783531978000,"timestamp_seconds":1783531978,"priority":1,"record_length":96,"hex_timestamp":"0000019f42ca3d10"} 
[2026-07-08 23:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 23:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584183808001,"66":27321,"88":206,"79":20992,"24":44,"16":343471133116334080,"45":7138979491978469376},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,79,24,16,45]} 
[2026-07-08 23:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584183808001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:04:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-07-08 23:04:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 23:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343471133116334080,"km_value":343471133116334.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7138979491978469376,"description":"Unknown IO ID 45"} 
[2026-07-08 23:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584183808001,"power":27321,"unknown_88":206,"unknown_79":20992,"ignition":44,"odometer":null,"unknown_45":7138979491978469376}} 
[2026-07-08 23:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":125926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:04:37] local.INFO: GPS data processed {"connection_id":125926,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:04:37] local.INFO: Acknowledgment sent {"connection_id":125926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:04:54] local.INFO: TCP Data received {"connection_id":126813,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:04:54] local.INFO: Processing buffer {"connection_id":126813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:04:54] local.INFO: IMEI packet received {"connection_id":126813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":126813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:04:59] local.INFO: TCP Data received {"connection_id":126067,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:04:59] local.INFO: Processing buffer {"connection_id":126067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:04:59] local.INFO: IMEI packet received {"connection_id":126067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":126067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:04:59] local.INFO: TCP Data received {"connection_id":126813,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:04:59] local.INFO: Processing buffer {"connection_id":126813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:04:59] local.INFO: IMEI packet received {"connection_id":126813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":126813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:04:59] local.INFO: TCP Data received {"connection_id":126813,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:04:59] local.INFO: Processing buffer {"connection_id":126813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:04:59] local.INFO: IMEI packet received {"connection_id":126813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":126813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:05:03] local.INFO: TCP Data received {"connection_id":126813,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42ca5c50012d62f880062672e8000a014f2f..."} 
[2026-07-08 23:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42ca5c50012d62f880062672e8000a014f2f..."} 
[2026-07-08 23:05:03] local.INFO: Processing buffer {"connection_id":126813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42ca5c50012d62f880062672e8000a014f2f..."} 
[2026-07-08 23:05:03] local.INFO: Packet analysis {"connection_id":126813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ca"} 
[2026-07-08 23:05:03] local.INFO: Extracted packet for processing {"connection_id":126813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ca"} 
[2026-07-08 23:05:03] local.INFO: GPS Element Parsed {"raw_longitude":761460864,"raw_latitude":103183080,"longitude_deg":76.1460864,"latitude_deg":10.318308,"altitude":10,"angle":335,"satellites":47,"speed":48,"hex_longitude":"2d62f880","hex_latitude":"062672e8","is_valid_coordinates":true} 
[2026-07-08 23:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584186368001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343471584087900160,"note":"Value kept but may cause issues"} 
[2026-07-08 23:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7135601792260333568,"note":"Value kept but may cause issues"} 
[2026-07-08 23:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783531986000,"timestamp_ms":1783531986000,"timestamp_seconds":1783531986,"priority":1,"record_length":96,"hex_timestamp":"0000019f42ca5c50"} 
[2026-07-08 23:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 23:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584186368001,"66":27234,"89":206,"79":20992,"24":48,"16":343471584087900160,"45":7135601792260333568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-07-08 23:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584186368001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:05:03] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-08 23:05:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 23:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343471584087900160,"km_value":343471584087900.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7135601792260333568,"description":"Unknown IO ID 45"} 
[2026-07-08 23:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584186368001,"power":27234,"unknown_89":206,"unknown_79":20992,"ignition":48,"odometer":null,"unknown_45":7135601792260333568}} 
[2026-07-08 23:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":126813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:05:03] local.INFO: GPS data processed {"connection_id":126813,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:05:03] local.INFO: Acknowledgment sent {"connection_id":126813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:05:04] local.INFO: TCP Data received {"connection_id":126067,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:05:04] local.INFO: Processing buffer {"connection_id":126067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:05:04] local.INFO: IMEI packet received {"connection_id":126067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":126067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:05:04] local.INFO: TCP Data received {"connection_id":126813,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42ca7b90012d62ea40062695a0000901552d..."} 
[2026-07-08 23:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42ca7b90012d62ea40062695a0000901552d..."} 
[2026-07-08 23:05:04] local.INFO: Processing buffer {"connection_id":126813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42ca7b90012d62ea40062695a0000901552d..."} 
[2026-07-08 23:05:04] local.INFO: Packet analysis {"connection_id":126813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ca"} 
[2026-07-08 23:05:04] local.INFO: Extracted packet for processing {"connection_id":126813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ca"} 
[2026-07-08 23:05:04] local.INFO: GPS Element Parsed {"raw_longitude":761457216,"raw_latitude":103191968,"longitude_deg":76.1457216,"latitude_deg":10.3191968,"altitude":9,"angle":341,"satellites":45,"speed":45,"hex_longitude":"2d62ea40","hex_latitude":"062695a0","is_valid_coordinates":true} 
[2026-07-08 23:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584188416001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343472052239335424,"note":"Value kept but may cause issues"} 
[2026-07-08 23:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7131590773844404224,"note":"Value kept but may cause issues"} 
[2026-07-08 23:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783531994000,"timestamp_ms":1783531994000,"timestamp_seconds":1783531994,"priority":1,"record_length":96,"hex_timestamp":"0000019f42ca7b90"} 
[2026-07-08 23:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-08 23:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584188416001,"66":27169,"89":206,"79":20992,"24":45,"16":343472052239335424,"45":7131590773844404224},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-07-08 23:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584188416001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:05:04] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-08 23:05:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 23:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343472052239335424,"km_value":343472052239335.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7131590773844404224,"description":"Unknown IO ID 45"} 
[2026-07-08 23:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584188416001,"power":27169,"unknown_89":206,"unknown_79":20992,"ignition":45,"odometer":null,"unknown_45":7131590773844404224}} 
[2026-07-08 23:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":126813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:05:04] local.INFO: GPS data processed {"connection_id":126813,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:05:04] local.INFO: Acknowledgment sent {"connection_id":126813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:05:04] local.INFO: TCP Data received {"connection_id":126067,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c97da8012d196500071ff078003e014228..."} 
[2026-07-08 23:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c97da8012d196500071ff078003e014228..."} 
[2026-07-08 23:05:04] local.INFO: Processing buffer {"connection_id":126067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c97da8012d196500071ff078003e014228..."} 
[2026-07-08 23:05:04] local.INFO: Packet analysis {"connection_id":126067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c9"} 
[2026-07-08 23:05:04] local.INFO: Extracted packet for processing {"connection_id":126067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c9"} 
[2026-07-08 23:05:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584096768001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783531929000,"timestamp_ms":1783531929000,"timestamp_seconds":1783531929,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c97da8"} 
[2026-07-08 23:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 23:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584096768001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 23:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584096768001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:05:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:05:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584096768001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":126067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:05:05] local.INFO: GPS data processed {"connection_id":126067,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:05:05] local.INFO: Acknowledgment sent {"connection_id":126067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:05:25] local.INFO: TCP Data received {"connection_id":126814,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126814,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:05:25] local.INFO: Processing buffer {"connection_id":126814,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:05:25] local.INFO: IMEI packet received {"connection_id":126814,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 23:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":126814,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:05:35] local.INFO: TCP Data received {"connection_id":126813,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42cbc798012d627c8006279c700009015f2c..."} 
[2026-07-08 23:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42cbc798012d627c8006279c700009015f2c..."} 
[2026-07-08 23:05:35] local.INFO: Processing buffer {"connection_id":126813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42cbc798012d627c8006279c700009015f2c..."} 
[2026-07-08 23:05:35] local.INFO: Packet analysis {"connection_id":126813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42cb"} 
[2026-07-08 23:05:35] local.INFO: Extracted packet for processing {"connection_id":126813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42cb"} 
[2026-07-08 23:05:35] local.INFO: GPS Element Parsed {"raw_longitude":761429120,"raw_latitude":103259248,"longitude_deg":76.142912,"latitude_deg":10.3259248,"altitude":9,"angle":351,"satellites":44,"speed":22,"hex_longitude":"2d627c80","hex_latitude":"06279c70","is_valid_coordinates":true} 
[2026-07-08 23:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584211712001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343475677191733248,"note":"Value kept but may cause issues"} 
[2026-07-08 23:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7097039720472410112,"note":"Value kept but may cause issues"} 
[2026-07-08 23:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783532079000,"timestamp_ms":1783532079000,"timestamp_seconds":1783532079,"priority":1,"record_length":96,"hex_timestamp":"0000019f42cbc798"} 
[2026-07-08 23:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-08 23:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584211712001,"66":27245,"228":206,"79":20992,"24":22,"16":343475677191733248,"45":7097039720472410112},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-07-08 23:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584211712001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:05:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-07-08 23:05:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 23:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343475677191733248,"km_value":343475677191733.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7097039720472410112,"description":"Unknown IO ID 45"} 
[2026-07-08 23:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584211712001,"power":27245,"unknown_228":206,"unknown_79":20992,"ignition":22,"odometer":null,"unknown_45":7097039720472410112}} 
[2026-07-08 23:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":126813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:05:35] local.INFO: GPS data processed {"connection_id":126813,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:05:35] local.INFO: Acknowledgment sent {"connection_id":126813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:05:35] local.INFO: TCP Data received {"connection_id":126067,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c97da8012d196500071ff078003e014228..."} 
[2026-07-08 23:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c97da8012d196500071ff078003e014228..."} 
[2026-07-08 23:05:36] local.INFO: Processing buffer {"connection_id":126067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c97da8012d196500071ff078003e014228..."} 
[2026-07-08 23:05:36] local.INFO: Packet analysis {"connection_id":126067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c9"} 
[2026-07-08 23:05:36] local.INFO: Extracted packet for processing {"connection_id":126067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c9"} 
[2026-07-08 23:05:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584096768001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783531929000,"timestamp_ms":1783531929000,"timestamp_seconds":1783531929,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c97da8"} 
[2026-07-08 23:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 23:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584096768001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 23:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584096768001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:05:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:05:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584096768001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":126067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:05:36] local.INFO: GPS data processed {"connection_id":126067,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:05:36] local.INFO: Acknowledgment sent {"connection_id":126067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:05:56] local.INFO: TCP Data received {"connection_id":125928,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:05:56] local.INFO: Processing buffer {"connection_id":125928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:05:56] local.INFO: IMEI packet received {"connection_id":125928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":125928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:05:58] local.INFO: TCP Data received {"connection_id":128059,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128059,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:05:58] local.INFO: Processing buffer {"connection_id":128059,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:05:58] local.INFO: IMEI packet received {"connection_id":128059,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 23:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":128059,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:05:59] local.INFO: TCP Data received {"connection_id":126815,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:05:59] local.INFO: Processing buffer {"connection_id":126815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:05:59] local.INFO: IMEI packet received {"connection_id":126815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":126815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:06:04] local.INFO: TCP Data received {"connection_id":126815,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:06:04] local.INFO: Processing buffer {"connection_id":126815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:06:04] local.INFO: IMEI packet received {"connection_id":126815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":126815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:06:05] local.INFO: TCP Data received {"connection_id":126815,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c97da8012d196500071ff078003e014228..."} 
[2026-07-08 23:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c97da8012d196500071ff078003e014228..."} 
[2026-07-08 23:06:05] local.INFO: Processing buffer {"connection_id":126815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c97da8012d196500071ff078003e014228..."} 
[2026-07-08 23:06:05] local.INFO: Packet analysis {"connection_id":126815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c9"} 
[2026-07-08 23:06:05] local.INFO: Extracted packet for processing {"connection_id":126815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c9"} 
[2026-07-08 23:06:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584096768001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783531929000,"timestamp_ms":1783531929000,"timestamp_seconds":1783531929,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c97da8"} 
[2026-07-08 23:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 23:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584096768001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584096768001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:06:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:06:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584096768001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":126815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:06:05] local.INFO: GPS data processed {"connection_id":126815,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:06:05] local.INFO: Acknowledgment sent {"connection_id":126815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:06:18] local.INFO: TCP Data received {"connection_id":125928,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:06:18] local.INFO: Processing buffer {"connection_id":125928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:06:18] local.INFO: IMEI packet received {"connection_id":125928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":125928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:06:19] local.INFO: TCP Data received {"connection_id":125928,"ip":"42.106.6.30","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 23:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125928,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 23:06:19] local.INFO: Processing buffer {"connection_id":125928,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 23:06:19] local.INFO: IMEI packet received {"connection_id":125928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":125928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:06:36] local.INFO: TCP Data received {"connection_id":126815,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c97da8012d196500071ff078003e014228..."} 
[2026-07-08 23:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c97da8012d196500071ff078003e014228..."} 
[2026-07-08 23:06:36] local.INFO: Processing buffer {"connection_id":126815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c97da8012d196500071ff078003e014228..."} 
[2026-07-08 23:06:36] local.INFO: Packet analysis {"connection_id":126815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c9"} 
[2026-07-08 23:06:36] local.INFO: Extracted packet for processing {"connection_id":126815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c9"} 
[2026-07-08 23:06:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23: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-07-08 23:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584096768001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783531929000,"timestamp_ms":1783531929000,"timestamp_seconds":1783531929,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c97da8"} 
[2026-07-08 23:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 23:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23: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-07-08 23:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:06:36] 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-07-08 23:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584096768001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584096768001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:06:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:06:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584096768001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":126815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:06:36] local.INFO: GPS data processed {"connection_id":126815,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:06:36] local.INFO: Acknowledgment sent {"connection_id":126815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:07:04] local.INFO: TCP Data received {"connection_id":128060,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:07:04] local.INFO: Processing buffer {"connection_id":128060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:07:04] local.INFO: IMEI packet received {"connection_id":128060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":128060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:07:09] local.INFO: TCP Data received {"connection_id":128060,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:07:09] local.INFO: Processing buffer {"connection_id":128060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:07:09] local.INFO: IMEI packet received {"connection_id":128060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":128060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:07:10] local.INFO: TCP Data received {"connection_id":128060,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c97da8012d196500071ff078003e014228..."} 
[2026-07-08 23:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c97da8012d196500071ff078003e014228..."} 
[2026-07-08 23:07:10] local.INFO: Processing buffer {"connection_id":128060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c97da8012d196500071ff078003e014228..."} 
[2026-07-08 23:07:10] local.INFO: Packet analysis {"connection_id":128060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c9"} 
[2026-07-08 23:07:10] local.INFO: Extracted packet for processing {"connection_id":128060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c9"} 
[2026-07-08 23:07:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584096768001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:07: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-07-08 23:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783531929000,"timestamp_ms":1783531929000,"timestamp_seconds":1783531929,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c97da8"} 
[2026-07-08 23:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 23:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584096768001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 23:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584096768001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:07:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:07:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584096768001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":128060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:07:10] local.INFO: GPS data processed {"connection_id":128060,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:07:10] local.INFO: Acknowledgment sent {"connection_id":128060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:07:14] local.INFO: TCP Data received {"connection_id":128060,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f42c97da8012d196500071ff078003e014228..."} 
[2026-07-08 23:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42c97da8012d196500071ff078003e014228..."} 
[2026-07-08 23:07:14] local.INFO: Processing buffer {"connection_id":128060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42c97da8012d196500071ff078003e014228..."} 
[2026-07-08 23:07:14] local.INFO: Packet analysis {"connection_id":128060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42c9"} 
[2026-07-08 23:07:14] local.INFO: Extracted packet for processing {"connection_id":128060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42c9"} 
[2026-07-08 23:07:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584096768001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783531929000,"timestamp_ms":1783531929000,"timestamp_seconds":1783531929,"priority":1,"record_length":96,"hex_timestamp":"0000019f42c97da8"} 
[2026-07-08 23:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 23:07:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23: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-07-08 23:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":128060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":128060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":128060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584096768001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 23:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584096768001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:07:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:07:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584096768001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":128060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:07:14] local.INFO: GPS data processed {"connection_id":128060,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:07:14] local.INFO: Acknowledgment sent {"connection_id":128060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:07:59] local.INFO: TCP Data received {"connection_id":126070,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:07:59] local.INFO: Processing buffer {"connection_id":126070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:07:59] local.INFO: IMEI packet received {"connection_id":126070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":126070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:08:04] local.INFO: TCP Data received {"connection_id":126070,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:08:04] local.INFO: Processing buffer {"connection_id":126070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:08:04] local.INFO: IMEI packet received {"connection_id":126070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":126070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:08:05] local.INFO: TCP Data received {"connection_id":126070,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42ce1570012d196500071ff078003e014226..."} 
[2026-07-08 23:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42ce1570012d196500071ff078003e014226..."} 
[2026-07-08 23:08:05] local.INFO: Processing buffer {"connection_id":126070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42ce1570012d196500071ff078003e014226..."} 
[2026-07-08 23:08:05] local.INFO: Packet analysis {"connection_id":126070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ce"} 
[2026-07-08 23:08:05] local.INFO: Extracted packet for processing {"connection_id":126070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ce"} 
[2026-07-08 23:08:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584173824001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783532230000,"timestamp_ms":1783532230000,"timestamp_seconds":1783532230,"priority":1,"record_length":96,"hex_timestamp":"0000019f42ce1570"} 
[2026-07-08 23:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 23:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:08:05] 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-07-08 23:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584173824001,"66":2177,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584173824001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:08:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:08:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584173824001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":126070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:08:05] local.INFO: GPS data processed {"connection_id":126070,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:08:05] local.INFO: Acknowledgment sent {"connection_id":126070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:08:36] local.INFO: TCP Data received {"connection_id":126070,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42ce1570012d196500071ff078003e014226..."} 
[2026-07-08 23:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42ce1570012d196500071ff078003e014226..."} 
[2026-07-08 23:08:36] local.INFO: Processing buffer {"connection_id":126070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42ce1570012d196500071ff078003e014226..."} 
[2026-07-08 23:08:36] local.INFO: Packet analysis {"connection_id":126070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ce"} 
[2026-07-08 23:08:36] local.INFO: Extracted packet for processing {"connection_id":126070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ce"} 
[2026-07-08 23:08:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584173824001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783532230000,"timestamp_ms":1783532230000,"timestamp_seconds":1783532230,"priority":1,"record_length":96,"hex_timestamp":"0000019f42ce1570"} 
[2026-07-08 23:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 23:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:08:36] 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-07-08 23:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584173824001,"66":2177,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584173824001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:08:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:08:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584173824001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":126070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:08:36] local.INFO: GPS data processed {"connection_id":126070,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:08:36] local.INFO: Acknowledgment sent {"connection_id":126070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:08:59] local.INFO: TCP Data received {"connection_id":126817,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:08:59] local.INFO: Processing buffer {"connection_id":126817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:08:59] local.INFO: IMEI packet received {"connection_id":126817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":126817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:09:04] local.INFO: TCP Data received {"connection_id":126817,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:09:04] local.INFO: Processing buffer {"connection_id":126817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:09:04] local.INFO: IMEI packet received {"connection_id":126817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":126817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:09:05] local.INFO: TCP Data received {"connection_id":126817,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f42ce1570012d196500071ff078003e014226..."} 
[2026-07-08 23:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42ce1570012d196500071ff078003e014226..."} 
[2026-07-08 23:09:05] local.INFO: Processing buffer {"connection_id":126817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42ce1570012d196500071ff078003e014226..."} 
[2026-07-08 23:09:05] local.INFO: Packet analysis {"connection_id":126817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ce"} 
[2026-07-08 23:09:05] local.INFO: Extracted packet for processing {"connection_id":126817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ce"} 
[2026-07-08 23:09:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584173824001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783532230000,"timestamp_ms":1783532230000,"timestamp_seconds":1783532230,"priority":1,"record_length":96,"hex_timestamp":"0000019f42ce1570"} 
[2026-07-08 23:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 23:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584173824001,"66":2177,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 23:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584173824001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:09:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:09:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584173824001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":126817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:09:05] local.INFO: GPS data processed {"connection_id":126817,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:09:05] local.INFO: Acknowledgment sent {"connection_id":126817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:09:36] local.INFO: TCP Data received {"connection_id":126817,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f42ce1570012d196500071ff078003e014226..."} 
[2026-07-08 23:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42ce1570012d196500071ff078003e014226..."} 
[2026-07-08 23:09:36] local.INFO: Processing buffer {"connection_id":126817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42ce1570012d196500071ff078003e014226..."} 
[2026-07-08 23:09:36] local.INFO: Packet analysis {"connection_id":126817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ce"} 
[2026-07-08 23:09:36] local.INFO: Extracted packet for processing {"connection_id":126817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ce"} 
[2026-07-08 23:09:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584173824001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783532230000,"timestamp_ms":1783532230000,"timestamp_seconds":1783532230,"priority":1,"record_length":96,"hex_timestamp":"0000019f42ce1570"} 
[2026-07-08 23:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 23:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584173824001,"66":2177,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 23:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584173824001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:09:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:09:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584173824001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":126817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:09:36] local.INFO: GPS data processed {"connection_id":126817,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:09:36] local.INFO: Acknowledgment sent {"connection_id":126817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:09:59] local.INFO: TCP Data received {"connection_id":126818,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:09:59] local.INFO: Processing buffer {"connection_id":126818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:09:59] local.INFO: IMEI packet received {"connection_id":126818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":126818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:10:05] local.INFO: TCP Data received {"connection_id":126818,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:10:05] local.INFO: Processing buffer {"connection_id":126818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:10:05] local.INFO: IMEI packet received {"connection_id":126818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":126818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:10:09] local.INFO: TCP Data received {"connection_id":126818,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:10:09] local.INFO: Processing buffer {"connection_id":126818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:10:09] local.INFO: IMEI packet received {"connection_id":126818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":126818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:10:10] local.INFO: TCP Data received {"connection_id":126818,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f42ce1570012d196500071ff078003e014226..."} 
[2026-07-08 23:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42ce1570012d196500071ff078003e014226..."} 
[2026-07-08 23:10:10] local.INFO: Processing buffer {"connection_id":126818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42ce1570012d196500071ff078003e014226..."} 
[2026-07-08 23:10:10] local.INFO: Packet analysis {"connection_id":126818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ce"} 
[2026-07-08 23:10:10] local.INFO: Extracted packet for processing {"connection_id":126818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ce"} 
[2026-07-08 23:10:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23: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-07-08 23:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584173824001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:10: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-07-08 23:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783532230000,"timestamp_ms":1783532230000,"timestamp_seconds":1783532230,"priority":1,"record_length":96,"hex_timestamp":"0000019f42ce1570"} 
[2026-07-08 23:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 23:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23: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-07-08 23:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:10:10] 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-07-08 23:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584173824001,"66":2177,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584173824001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:10:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:10:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584173824001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":126818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:10:10] local.INFO: GPS data processed {"connection_id":126818,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:10:10] local.INFO: Acknowledgment sent {"connection_id":126818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:10:41] local.INFO: TCP Data received {"connection_id":126818,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f42ce1570012d196500071ff078003e014226..."} 
[2026-07-08 23:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42ce1570012d196500071ff078003e014226..."} 
[2026-07-08 23:10:41] local.INFO: Processing buffer {"connection_id":126818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42ce1570012d196500071ff078003e014226..."} 
[2026-07-08 23:10:41] local.INFO: Packet analysis {"connection_id":126818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ce"} 
[2026-07-08 23:10:41] local.INFO: Extracted packet for processing {"connection_id":126818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ce"} 
[2026-07-08 23:10:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584173824001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23: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-07-08 23:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783532230000,"timestamp_ms":1783532230000,"timestamp_seconds":1783532230,"priority":1,"record_length":96,"hex_timestamp":"0000019f42ce1570"} 
[2026-07-08 23:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:10: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-07-08 23: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-07-08 23: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-07-08 23:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":126818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":126818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":126818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:10: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-07-08 23:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584173824001,"66":2177,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584173824001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:10:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:10:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584173824001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":126818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:10:41] local.INFO: GPS data processed {"connection_id":126818,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:10:41] local.INFO: Acknowledgment sent {"connection_id":126818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:11:04] local.INFO: TCP Data received {"connection_id":126075,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:11:04] local.INFO: Processing buffer {"connection_id":126075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:11:04] local.INFO: IMEI packet received {"connection_id":126075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":126075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:11:09] local.INFO: TCP Data received {"connection_id":126075,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:11:09] local.INFO: Processing buffer {"connection_id":126075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:11:09] local.INFO: IMEI packet received {"connection_id":126075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":126075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:11:14] local.INFO: TCP Data received {"connection_id":126075,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:11:14] local.INFO: Processing buffer {"connection_id":126075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:11:14] local.INFO: IMEI packet received {"connection_id":126075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":126075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:11:15] local.INFO: TCP Data received {"connection_id":126075,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f42ce1570012d196500071ff078003e014226..."} 
[2026-07-08 23:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42ce1570012d196500071ff078003e014226..."} 
[2026-07-08 23:11:15] local.INFO: Processing buffer {"connection_id":126075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42ce1570012d196500071ff078003e014226..."} 
[2026-07-08 23:11:15] local.INFO: Packet analysis {"connection_id":126075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ce"} 
[2026-07-08 23:11:15] local.INFO: Extracted packet for processing {"connection_id":126075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ce"} 
[2026-07-08 23:11:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584173824001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23: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-07-08 23:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783532230000,"timestamp_ms":1783532230000,"timestamp_seconds":1783532230,"priority":1,"record_length":96,"hex_timestamp":"0000019f42ce1570"} 
[2026-07-08 23:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:11:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 23:11: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-07-08 23:11:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":126075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":126075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":126075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584173824001,"66":2177,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584173824001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:11:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:11:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584173824001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":126075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:11:15] local.INFO: GPS data processed {"connection_id":126075,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:11:15] local.INFO: Acknowledgment sent {"connection_id":126075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:11:19] local.INFO: TCP Data received {"connection_id":126075,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f42ce1570012d196500071ff078003e014226..."} 
[2026-07-08 23:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42ce1570012d196500071ff078003e014226..."} 
[2026-07-08 23:11:19] local.INFO: Processing buffer {"connection_id":126075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42ce1570012d196500071ff078003e014226..."} 
[2026-07-08 23:11:19] local.INFO: Packet analysis {"connection_id":126075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ce"} 
[2026-07-08 23:11:19] local.INFO: Extracted packet for processing {"connection_id":126075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ce"} 
[2026-07-08 23:11:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584173824001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783532230000,"timestamp_ms":1783532230000,"timestamp_seconds":1783532230,"priority":1,"record_length":96,"hex_timestamp":"0000019f42ce1570"} 
[2026-07-08 23:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:11:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 23:11:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:11:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":126075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":126075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":126075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584173824001,"66":2177,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584173824001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:11:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:11:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584173824001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":126075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:11:19] local.INFO: GPS data processed {"connection_id":126075,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:11:19] local.INFO: Acknowledgment sent {"connection_id":126075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:11:20] local.INFO: TCP Data received {"connection_id":126073,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:11:20] local.INFO: Processing buffer {"connection_id":126073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:11:20] local.INFO: IMEI packet received {"connection_id":126073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":126073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:11:22] local.INFO: TCP Data received {"connection_id":126073,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42d0fba0012d5fbf40062e0b58000c015331..."} 
[2026-07-08 23:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42d0fba0012d5fbf40062e0b58000c015331..."} 
[2026-07-08 23:11:22] local.INFO: Processing buffer {"connection_id":126073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42d0fba0012d5fbf40062e0b58000c015331..."} 
[2026-07-08 23:11:22] local.INFO: Packet analysis {"connection_id":126073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d0"} 
[2026-07-08 23:11:22] local.INFO: Extracted packet for processing {"connection_id":126073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42d0"} 
[2026-07-08 23:11:22] local.INFO: GPS Element Parsed {"raw_longitude":761249600,"raw_latitude":103680856,"longitude_deg":76.12496,"latitude_deg":10.3680856,"altitude":12,"angle":339,"satellites":49,"speed":60,"hex_longitude":"2d5fbf40","hex_latitude":"062e0b58","is_valid_coordinates":true} 
[2026-07-08 23: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-07-08 23:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584297984001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343497925122326528,"note":"Value kept but may cause issues"} 
[2026-07-08 23:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6903173830369009664,"note":"Value kept but may cause issues"} 
[2026-07-08 23:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783532420000,"timestamp_ms":1783532420000,"timestamp_seconds":1783532420,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d0fba0"} 
[2026-07-08 23:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 23:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23: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-07-08 23:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":126073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":126073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":126073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:11: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-07-08 23:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584297984001,"66":27343,"211":206,"79":20992,"24":60,"16":343497925122326528,"45":6903173830369009664},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,79,24,16,45]} 
[2026-07-08 23:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584297984001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:11:22] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-07-08 23:11:22] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 23:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343497925122326528,"km_value":343497925122326.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":6903173830369009664,"description":"Unknown IO ID 45"} 
[2026-07-08 23:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584297984001,"power":27343,"unknown_211":206,"unknown_79":20992,"ignition":60,"odometer":null,"unknown_45":6903173830369009664}} 
[2026-07-08 23:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":126073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:11:22] local.INFO: GPS data processed {"connection_id":126073,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:11:22] local.INFO: Acknowledgment sent {"connection_id":126073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:11:25] local.INFO: TCP Data received {"connection_id":126074,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126074,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:11:25] local.INFO: Processing buffer {"connection_id":126074,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:11:25] local.INFO: IMEI packet received {"connection_id":126074,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 23:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":126074,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:11:54] local.INFO: TCP Data received {"connection_id":126819,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:11:54] local.INFO: Processing buffer {"connection_id":126819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:11:54] local.INFO: IMEI packet received {"connection_id":126819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":126819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:11:57] local.INFO: TCP Data received {"connection_id":126819,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:11:57] local.INFO: Processing buffer {"connection_id":126819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:11:57] local.INFO: IMEI packet received {"connection_id":126819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":126819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:11:59] local.INFO: TCP Data received {"connection_id":125931,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:11:59] local.INFO: Processing buffer {"connection_id":125931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:11:59] local.INFO: IMEI packet received {"connection_id":125931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":125931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:12:00] local.INFO: TCP Data received {"connection_id":126819,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:12:00] local.INFO: Processing buffer {"connection_id":126819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:12:00] local.INFO: IMEI packet received {"connection_id":126819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":126819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:12:00] local.INFO: TCP Data received {"connection_id":126076,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126076,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:12:00] local.INFO: Processing buffer {"connection_id":126076,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:12:00] local.INFO: IMEI packet received {"connection_id":126076,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 23:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":126076,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:12:03] local.INFO: TCP Data received {"connection_id":126819,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42d11310012d5fb540062e2d80000c015c2f..."} 
[2026-07-08 23:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42d11310012d5fb540062e2d80000c015c2f..."} 
[2026-07-08 23:12:03] local.INFO: Processing buffer {"connection_id":126819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42d11310012d5fb540062e2d80000c015c2f..."} 
[2026-07-08 23:12:03] local.INFO: Packet analysis {"connection_id":126819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d1"} 
[2026-07-08 23:12:03] local.INFO: Extracted packet for processing {"connection_id":126819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42d1"} 
[2026-07-08 23:12:03] local.INFO: GPS Element Parsed {"raw_longitude":761247040,"raw_latitude":103689600,"longitude_deg":76.124704,"latitude_deg":10.36896,"altitude":12,"angle":348,"satellites":47,"speed":60,"hex_longitude":"2d5fb540","hex_latitude":"062e2d80","is_valid_coordinates":true} 
[2026-07-08 23: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-07-08 23:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584299520001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343498367503958016,"note":"Value kept but may cause issues"} 
[2026-07-08 23:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6899303549441366016,"note":"Value kept but may cause issues"} 
[2026-07-08 23:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783532426000,"timestamp_ms":1783532426000,"timestamp_seconds":1783532426,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d11310"} 
[2026-07-08 23:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 23:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23: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-07-08 23:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584299520001,"66":27397,"211":206,"79":20992,"24":60,"16":343498367503958016,"45":6899303549441366016},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,79,24,16,45]} 
[2026-07-08 23:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584299520001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:12:03] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-07-08 23:12:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 23:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343498367503958016,"km_value":343498367503958.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6899303549441366016,"description":"Unknown IO ID 45"} 
[2026-07-08 23:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584299520001,"power":27397,"unknown_211":206,"unknown_79":20992,"ignition":60,"odometer":null,"unknown_45":6899303549441366016}} 
[2026-07-08 23:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":126819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:12:03] local.INFO: GPS data processed {"connection_id":126819,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:12:03] local.INFO: Acknowledgment sent {"connection_id":126819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:12:04] local.INFO: TCP Data received {"connection_id":125931,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:12:04] local.INFO: Processing buffer {"connection_id":125931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:12:04] local.INFO: IMEI packet received {"connection_id":125931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":125931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:12:05] local.INFO: TCP Data received {"connection_id":125931,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42ce1570012d196500071ff078003e014226..."} 
[2026-07-08 23:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42ce1570012d196500071ff078003e014226..."} 
[2026-07-08 23:12:05] local.INFO: Processing buffer {"connection_id":125931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42ce1570012d196500071ff078003e014226..."} 
[2026-07-08 23:12:05] local.INFO: Packet analysis {"connection_id":125931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ce"} 
[2026-07-08 23:12:05] local.INFO: Extracted packet for processing {"connection_id":125931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ce"} 
[2026-07-08 23:12:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584173824001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783532230000,"timestamp_ms":1783532230000,"timestamp_seconds":1783532230,"priority":1,"record_length":96,"hex_timestamp":"0000019f42ce1570"} 
[2026-07-08 23:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 23:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:12:05] 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-07-08 23:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584173824001,"66":2177,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584173824001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:12:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:12:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584173824001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":125931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:12:05] local.INFO: GPS data processed {"connection_id":125931,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:12:05] local.INFO: Acknowledgment sent {"connection_id":125931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:12:36] local.INFO: TCP Data received {"connection_id":125931,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42ce1570012d196500071ff078003e014226..."} 
[2026-07-08 23:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42ce1570012d196500071ff078003e014226..."} 
[2026-07-08 23:12:36] local.INFO: Processing buffer {"connection_id":125931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42ce1570012d196500071ff078003e014226..."} 
[2026-07-08 23:12:36] local.INFO: Packet analysis {"connection_id":125931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ce"} 
[2026-07-08 23:12:36] local.INFO: Extracted packet for processing {"connection_id":125931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ce"} 
[2026-07-08 23:12:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584173824001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783532230000,"timestamp_ms":1783532230000,"timestamp_seconds":1783532230,"priority":1,"record_length":96,"hex_timestamp":"0000019f42ce1570"} 
[2026-07-08 23:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 23:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:12:36] 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-07-08 23:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584173824001,"66":2177,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584173824001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:12:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:12:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584173824001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":125931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:12:36] local.INFO: GPS data processed {"connection_id":125931,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:12:36] local.INFO: Acknowledgment sent {"connection_id":125931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:12:42] local.INFO: TCP Data received {"connection_id":126819,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42d23038012d5f6600062f69d8000501532f..."} 
[2026-07-08 23:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42d23038012d5f6600062f69d8000501532f..."} 
[2026-07-08 23:12:42] local.INFO: Processing buffer {"connection_id":126819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42d23038012d5f6600062f69d8000501532f..."} 
[2026-07-08 23:12:42] local.INFO: Packet analysis {"connection_id":126819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d2"} 
[2026-07-08 23:12:42] local.INFO: Extracted packet for processing {"connection_id":126819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42d2"} 
[2026-07-08 23:12:42] local.INFO: GPS Element Parsed {"raw_longitude":761226752,"raw_latitude":103770584,"longitude_deg":76.1226752,"latitude_deg":10.3770584,"altitude":5,"angle":339,"satellites":47,"speed":43,"hex_longitude":"2d5f6600","hex_latitude":"062f69d8","is_valid_coordinates":true} 
[2026-07-08 23: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-07-08 23:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584317440001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343502443427921920,"note":"Value kept but may cause issues"} 
[2026-07-08 23:12:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6877489238766989312,"note":"Value kept but may cause issues"} 
[2026-07-08 23:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783532499000,"timestamp_ms":1783532499000,"timestamp_seconds":1783532499,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d23038"} 
[2026-07-08 23:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:12:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-08 23:12:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23: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-07-08 23:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":126819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":126819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":126819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584317440001,"66":27365,"209":206,"79":20992,"24":43,"16":343502443427921920,"45":6877489238766989312},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-07-08 23:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584317440001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:12:42] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-08 23:12:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 23:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343502443427921920,"km_value":343502443427921.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:12:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6877489238766989312,"description":"Unknown IO ID 45"} 
[2026-07-08 23:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584317440001,"power":27365,"unknown_209":206,"unknown_79":20992,"ignition":43,"odometer":null,"unknown_45":6877489238766989312}} 
[2026-07-08 23:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":126819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:12:42] local.INFO: GPS data processed {"connection_id":126819,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:12:42] local.INFO: Acknowledgment sent {"connection_id":126819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:12:56] local.INFO: TCP Data received {"connection_id":125934,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:12:56] local.INFO: Processing buffer {"connection_id":125934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:12:56] local.INFO: IMEI packet received {"connection_id":125934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":125934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:12:59] local.INFO: TCP Data received {"connection_id":125932,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:12:59] local.INFO: Processing buffer {"connection_id":125932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:12:59] local.INFO: IMEI packet received {"connection_id":125932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":125932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:12:59] local.INFO: TCP Data received {"connection_id":125934,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:12:59] local.INFO: Processing buffer {"connection_id":125934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:12:59] local.INFO: IMEI packet received {"connection_id":125934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":125934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:13:03] local.INFO: TCP Data received {"connection_id":125934,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:13:03] local.INFO: Processing buffer {"connection_id":125934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:13:03] local.INFO: IMEI packet received {"connection_id":125934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":125934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:13:04] local.INFO: TCP Data received {"connection_id":125932,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:13:04] local.INFO: Processing buffer {"connection_id":125932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:13:04] local.INFO: IMEI packet received {"connection_id":125932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":125932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:13:04] local.INFO: TCP Data received {"connection_id":125934,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42d24f78012d5f5800062f8c000005015031..."} 
[2026-07-08 23:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42d24f78012d5f5800062f8c000005015031..."} 
[2026-07-08 23:13:04] local.INFO: Processing buffer {"connection_id":125934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42d24f78012d5f5800062f8c000005015031..."} 
[2026-07-08 23:13:04] local.INFO: Packet analysis {"connection_id":125934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d2"} 
[2026-07-08 23:13:04] local.INFO: Extracted packet for processing {"connection_id":125934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42d2"} 
[2026-07-08 23:13:04] local.INFO: GPS Element Parsed {"raw_longitude":761223168,"raw_latitude":103779328,"longitude_deg":76.1223168,"latitude_deg":10.3779328,"altitude":5,"angle":336,"satellites":49,"speed":49,"hex_longitude":"2d5f5800","hex_latitude":"062f8c00","is_valid_coordinates":true} 
[2026-07-08 23: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-07-08 23:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584319744001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343502902989422592,"note":"Value kept but may cause issues"} 
[2026-07-08 23:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6874181907792910336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783532507000,"timestamp_ms":1783532507000,"timestamp_seconds":1783532507,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d24f78"} 
[2026-07-08 23:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 23:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23: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-07-08 23:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584319744001,"66":27321,"209":206,"79":20992,"24":49,"16":343502902989422592,"45":6874181907792910336},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-07-08 23:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584319744001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:13:04] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-08 23:13:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 23:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343502902989422592,"km_value":343502902989422.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6874181907792910336,"description":"Unknown IO ID 45"} 
[2026-07-08 23:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584319744001,"power":27321,"unknown_209":206,"unknown_79":20992,"ignition":49,"odometer":null,"unknown_45":6874181907792910336}} 
[2026-07-08 23:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":125934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:13:04] local.INFO: GPS data processed {"connection_id":125934,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:13:04] local.INFO: Acknowledgment sent {"connection_id":125934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:13:05] local.INFO: TCP Data received {"connection_id":125932,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f42d2ad38012d196500071ff078003e014226..."} 
[2026-07-08 23:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42d2ad38012d196500071ff078003e014226..."} 
[2026-07-08 23:13:05] local.INFO: Processing buffer {"connection_id":125932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42d2ad38012d196500071ff078003e014226..."} 
[2026-07-08 23:13:05] local.INFO: Packet analysis {"connection_id":125932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d2"} 
[2026-07-08 23:13:05] local.INFO: Extracted packet for processing {"connection_id":125932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42d2"} 
[2026-07-08 23:13:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584250880001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783532531000,"timestamp_ms":1783532531000,"timestamp_seconds":1783532531,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d2ad38"} 
[2026-07-08 23:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 23:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584250880001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 23:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584250880001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:13:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:13:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584250880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":125932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:13:05] local.INFO: GPS data processed {"connection_id":125932,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:13:05] local.INFO: Acknowledgment sent {"connection_id":125932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:13:36] local.INFO: TCP Data received {"connection_id":125932,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f42d2ad38012d196500071ff078003e014226..."} 
[2026-07-08 23:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42d2ad38012d196500071ff078003e014226..."} 
[2026-07-08 23:13:36] local.INFO: Processing buffer {"connection_id":125932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42d2ad38012d196500071ff078003e014226..."} 
[2026-07-08 23:13:36] local.INFO: Packet analysis {"connection_id":125932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d2"} 
[2026-07-08 23:13:36] local.INFO: Extracted packet for processing {"connection_id":125932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42d2"} 
[2026-07-08 23:13:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584250880001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783532531000,"timestamp_ms":1783532531000,"timestamp_seconds":1783532531,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d2ad38"} 
[2026-07-08 23:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 23:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584250880001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 23:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584250880001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:13:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:13:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584250880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":125932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:13:36] local.INFO: GPS data processed {"connection_id":125932,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:13:36] local.INFO: Acknowledgment sent {"connection_id":125932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:13:37] local.INFO: TCP Data received {"connection_id":125934,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42d26ad0012d5f4a80062fad700005015532..."} 
[2026-07-08 23:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42d26ad0012d5f4a80062fad700005015532..."} 
[2026-07-08 23:13:37] local.INFO: Processing buffer {"connection_id":125934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42d26ad0012d5f4a80062fad700005015532..."} 
[2026-07-08 23:13:37] local.INFO: Packet analysis {"connection_id":125934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d2"} 
[2026-07-08 23:13:37] local.INFO: Extracted packet for processing {"connection_id":125934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42d2"} 
[2026-07-08 23:13:37] local.INFO: GPS Element Parsed {"raw_longitude":761219712,"raw_latitude":103787888,"longitude_deg":76.1219712,"latitude_deg":10.3787888,"altitude":5,"angle":341,"satellites":50,"speed":54,"hex_longitude":"2d5f4a80","hex_latitude":"062fad70","is_valid_coordinates":true} 
[2026-07-08 23:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584321792001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343503349666021376,"note":"Value kept but may cause issues"} 
[2026-07-08 23:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6870241258121199616,"note":"Value kept but may cause issues"} 
[2026-07-08 23:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783532514000,"timestamp_ms":1783532514000,"timestamp_seconds":1783532514,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d26ad0"} 
[2026-07-08 23:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 23:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":125934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":125934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":125934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584321792001,"66":27267,"209":206,"79":20992,"24":54,"16":343503349666021376,"45":6870241258121199616},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-07-08 23:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584321792001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:13:37] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-08 23:13:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-08 23:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343503349666021376,"km_value":343503349666021.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6870241258121199616,"description":"Unknown IO ID 45"} 
[2026-07-08 23:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584321792001,"power":27267,"unknown_209":206,"unknown_79":20992,"ignition":54,"odometer":null,"unknown_45":6870241258121199616}} 
[2026-07-08 23:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":125934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:13:37] local.INFO: GPS data processed {"connection_id":125934,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:13:37] local.INFO: Acknowledgment sent {"connection_id":125934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:13:54] local.INFO: TCP Data received {"connection_id":126820,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:13:54] local.INFO: Processing buffer {"connection_id":126820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:13:54] local.INFO: IMEI packet received {"connection_id":126820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":126820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:13:54] local.INFO: TCP Data received {"connection_id":126820,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:13:54] local.INFO: Processing buffer {"connection_id":126820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:13:54] local.INFO: IMEI packet received {"connection_id":126820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":126820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:13:59] local.INFO: TCP Data received {"connection_id":126077,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:13:59] local.INFO: Processing buffer {"connection_id":126077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:13:59] local.INFO: IMEI packet received {"connection_id":126077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":126077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:14:00] local.INFO: TCP Data received {"connection_id":126820,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:14:00] local.INFO: Processing buffer {"connection_id":126820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:14:00] local.INFO: IMEI packet received {"connection_id":126820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":126820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:14:00] local.INFO: TCP Data received {"connection_id":126820,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42d37858012d5edc0006312c380008015531..."} 
[2026-07-08 23:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42d37858012d5edc0006312c380008015531..."} 
[2026-07-08 23:14:01] local.INFO: Processing buffer {"connection_id":126820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42d37858012d5edc0006312c380008015531..."} 
[2026-07-08 23:14:01] local.INFO: Packet analysis {"connection_id":126820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d3"} 
[2026-07-08 23:14:01] local.INFO: Extracted packet for processing {"connection_id":126820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42d3"} 
[2026-07-08 23:14:01] local.INFO: GPS Element Parsed {"raw_longitude":761191424,"raw_latitude":103885880,"longitude_deg":76.1191424,"latitude_deg":10.388588,"altitude":8,"angle":341,"satellites":49,"speed":56,"hex_longitude":"2d5edc00","hex_latitude":"06312c38","is_valid_coordinates":true} 
[2026-07-08 23:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584339456001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343508293173379072,"note":"Value kept but may cause issues"} 
[2026-07-08 23:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6838856798242828288,"note":"Value kept but may cause issues"} 
[2026-07-08 23:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783532583000,"timestamp_ms":1783532583000,"timestamp_seconds":1783532583,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d37858"} 
[2026-07-08 23:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:14:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-08 23:14:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584339456001,"66":27300,"144":206,"78":38656,"24":56,"16":343508293173379072,"45":6838856798242828288},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,78,24,16,45]} 
[2026-07-08 23:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584339456001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:14:01] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-07-08 23:14:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-08 23:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343508293173379072,"km_value":343508293173379.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6838856798242828288,"description":"Unknown IO ID 45"} 
[2026-07-08 23:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584339456001,"power":27300,"unknown_144":206,"unknown_78":38656,"ignition":56,"odometer":null,"unknown_45":6838856798242828288}} 
[2026-07-08 23:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":126820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:14:01] local.INFO: GPS data processed {"connection_id":126820,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:14:01] local.INFO: Acknowledgment sent {"connection_id":126820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:14:04] local.INFO: TCP Data received {"connection_id":126077,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:14:04] local.INFO: Processing buffer {"connection_id":126077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:14:04] local.INFO: IMEI packet received {"connection_id":126077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":126077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:14:05] local.INFO: TCP Data received {"connection_id":126077,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f42d2ad38012d196500071ff078003e014226..."} 
[2026-07-08 23:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42d2ad38012d196500071ff078003e014226..."} 
[2026-07-08 23:14:05] local.INFO: Processing buffer {"connection_id":126077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42d2ad38012d196500071ff078003e014226..."} 
[2026-07-08 23:14:05] local.INFO: Packet analysis {"connection_id":126077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d2"} 
[2026-07-08 23:14:05] local.INFO: Extracted packet for processing {"connection_id":126077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42d2"} 
[2026-07-08 23:14:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584250880001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783532531000,"timestamp_ms":1783532531000,"timestamp_seconds":1783532531,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d2ad38"} 
[2026-07-08 23:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 23:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584250880001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 23:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584250880001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:14:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:14:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584250880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":126077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:14:05] local.INFO: GPS data processed {"connection_id":126077,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:14:05] local.INFO: Acknowledgment sent {"connection_id":126077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:14:33] local.INFO: TCP Data received {"connection_id":126820,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42d393b0012d5ed100063151680009015d31..."} 
[2026-07-08 23:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42d393b0012d5ed100063151680009015d31..."} 
[2026-07-08 23:14:33] local.INFO: Processing buffer {"connection_id":126820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42d393b0012d5ed100063151680009015d31..."} 
[2026-07-08 23:14:33] local.INFO: Packet analysis {"connection_id":126820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d3"} 
[2026-07-08 23:14:33] local.INFO: Extracted packet for processing {"connection_id":126820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42d3"} 
[2026-07-08 23:14:33] local.INFO: GPS Element Parsed {"raw_longitude":761188608,"raw_latitude":103895400,"longitude_deg":76.1188608,"latitude_deg":10.38954,"altitude":9,"angle":349,"satellites":49,"speed":56,"hex_longitude":"2d5ed100","hex_latitude":"06315168","is_valid_coordinates":true} 
[2026-07-08 23:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584341248001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343508774209716224,"note":"Value kept but may cause issues"} 
[2026-07-08 23:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6835338361036355584,"note":"Value kept but may cause issues"} 
[2026-07-08 23:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783532590000,"timestamp_ms":1783532590000,"timestamp_seconds":1783532590,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d393b0"} 
[2026-07-08 23:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-08 23:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:14:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584341248001,"66":27267,"144":206,"78":38656,"24":56,"16":343508774209716224,"45":6835338361036355584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,78,24,16,45]} 
[2026-07-08 23:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584341248001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:14:33] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-07-08 23:14:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-08 23:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343508774209716224,"km_value":343508774209716.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6835338361036355584,"description":"Unknown IO ID 45"} 
[2026-07-08 23:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584341248001,"power":27267,"unknown_144":206,"unknown_78":38656,"ignition":56,"odometer":null,"unknown_45":6835338361036355584}} 
[2026-07-08 23:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":126820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:14:33] local.INFO: GPS data processed {"connection_id":126820,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:14:33] local.INFO: Acknowledgment sent {"connection_id":126820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:14:36] local.INFO: TCP Data received {"connection_id":126077,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f42d2ad38012d196500071ff078003e014226..."} 
[2026-07-08 23:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42d2ad38012d196500071ff078003e014226..."} 
[2026-07-08 23:14:36] local.INFO: Processing buffer {"connection_id":126077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42d2ad38012d196500071ff078003e014226..."} 
[2026-07-08 23:14:36] local.INFO: Packet analysis {"connection_id":126077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d2"} 
[2026-07-08 23:14:36] local.INFO: Extracted packet for processing {"connection_id":126077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42d2"} 
[2026-07-08 23:14:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584250880001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783532531000,"timestamp_ms":1783532531000,"timestamp_seconds":1783532531,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d2ad38"} 
[2026-07-08 23:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 23:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584250880001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 23:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584250880001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:14:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:14:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584250880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":126077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:14:36] local.INFO: GPS data processed {"connection_id":126077,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:14:36] local.INFO: Acknowledgment sent {"connection_id":126077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:14:53] local.INFO: TCP Data received {"connection_id":128063,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:14:53] local.INFO: Processing buffer {"connection_id":128063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:14:53] local.INFO: IMEI packet received {"connection_id":128063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":128063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:14:59] local.INFO: TCP Data received {"connection_id":128064,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:14:59] local.INFO: Processing buffer {"connection_id":128064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:14:59] local.INFO: IMEI packet received {"connection_id":128064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":128064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:15:04] local.INFO: TCP Data received {"connection_id":128064,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:15:04] local.INFO: Processing buffer {"connection_id":128064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:15:04] local.INFO: IMEI packet received {"connection_id":128064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":128064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:15:07] local.INFO: TCP Data received {"connection_id":128063,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:15:07] local.INFO: Processing buffer {"connection_id":128063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:15:07] local.INFO: IMEI packet received {"connection_id":128063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":128063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:15:08] local.INFO: TCP Data received {"connection_id":128064,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f42d2ad38012d196500071ff078003e014226..."} 
[2026-07-08 23:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42d2ad38012d196500071ff078003e014226..."} 
[2026-07-08 23:15:08] local.INFO: Processing buffer {"connection_id":128064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42d2ad38012d196500071ff078003e014226..."} 
[2026-07-08 23:15:08] local.INFO: Packet analysis {"connection_id":128064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d2"} 
[2026-07-08 23:15:08] local.INFO: Extracted packet for processing {"connection_id":128064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42d2"} 
[2026-07-08 23:15:08] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584250880001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783532531000,"timestamp_ms":1783532531000,"timestamp_seconds":1783532531,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d2ad38"} 
[2026-07-08 23:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 23:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:15:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":128064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":128064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":128064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:15:08] 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-07-08 23:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584250880001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584250880001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:15:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:15:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584250880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":128064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:15:08] local.INFO: GPS data processed {"connection_id":128064,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:15:08] local.INFO: Acknowledgment sent {"connection_id":128064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:15:09] local.INFO: TCP Data received {"connection_id":128063,"ip":"42.106.6.30","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f42..."} 
[2026-07-08 23:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128063,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f42..."} 
[2026-07-08 23:15:09] local.INFO: Processing buffer {"connection_id":128063,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f42..."} 
[2026-07-08 23:15:09] local.INFO: IMEI packet received {"connection_id":128063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":128063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:15:10] local.INFO: TCP Data received {"connection_id":128063,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42d49580012d5e7c400632be980006014d30..."} 
[2026-07-08 23:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42d49580012d5e7c400632be980006014d30..."} 
[2026-07-08 23:15:10] local.INFO: Processing buffer {"connection_id":128063,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f42d3ab20012d5ecdc006317338000a000133..."} 
[2026-07-08 23:15:10] local.INFO: Packet analysis {"connection_id":128063,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f42d3"} 
[2026-07-08 23:15:10] local.INFO: Extracted packet for processing {"connection_id":128063,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d3"} 
[2026-07-08 23:15:10] local.INFO: GPS Element Parsed {"raw_longitude":761187776,"raw_latitude":103904056,"longitude_deg":76.1187776,"latitude_deg":10.3904056,"altitude":10,"angle":1,"satellites":51,"speed":58,"hex_longitude":"2d5ecdc0","hex_latitude":"06317338","is_valid_coordinates":true} 
[2026-07-08 23:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584343040001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343509195116511232,"note":"Value kept but may cause issues"} 
[2026-07-08 23:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6832242136294975488,"note":"Value kept but may cause issues"} 
[2026-07-08 23:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783532596000,"timestamp_ms":1783532596000,"timestamp_seconds":1783532596,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d3ab20"} 
[2026-07-08 23:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 23:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584343040001,"66":27267,"143":206,"78":38656,"24":58,"16":343509195116511232,"45":6832242136294975488},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,78,24,16,45]} 
[2026-07-08 23:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584343040001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:15:10] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-08 23:15:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-08 23:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343509195116511232,"km_value":343509195116511.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6832242136294975488,"description":"Unknown IO ID 45"} 
[2026-07-08 23:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584343040001,"power":27267,"unknown_143":206,"unknown_78":38656,"ignition":58,"odometer":null,"unknown_45":6832242136294975488}} 
[2026-07-08 23:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":128063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:15:10] local.INFO: GPS data processed {"connection_id":128063,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:15:10] local.INFO: Acknowledgment sent {"connection_id":128063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:15:10] local.INFO: Packet analysis {"connection_id":128063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d4"} 
[2026-07-08 23:15:10] local.INFO: Extracted packet for processing {"connection_id":128063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42d4"} 
[2026-07-08 23:15:10] local.INFO: GPS Element Parsed {"raw_longitude":761166912,"raw_latitude":103988888,"longitude_deg":76.1166912,"latitude_deg":10.3988888,"altitude":6,"angle":333,"satellites":48,"speed":56,"hex_longitude":"2d5e7c40","hex_latitude":"0632be98","is_valid_coordinates":true} 
[2026-07-08 23:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584358144001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343513554508316672,"note":"Value kept but may cause issues"} 
[2026-07-08 23:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6813524050365327360,"note":"Value kept but may cause issues"} 
[2026-07-08 23:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783532656000,"timestamp_ms":1783532656000,"timestamp_seconds":1783532656,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d49580"} 
[2026-07-08 23:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-07-08 23:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":128063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":128063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":128063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584358144001,"66":27310,"110":206,"78":38656,"24":56,"16":343513554508316672,"45":6813524050365327360},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,78,24,16,45]} 
[2026-07-08 23:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584358144001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:15:10] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 23:15:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-08 23:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343513554508316672,"km_value":343513554508316.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6813524050365327360,"description":"Unknown IO ID 45"} 
[2026-07-08 23:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584358144001,"power":27310,"unknown_110":206,"unknown_78":38656,"ignition":56,"odometer":null,"unknown_45":6813524050365327360}} 
[2026-07-08 23:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":128063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:15:10] local.INFO: GPS data processed {"connection_id":128063,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:15:10] local.INFO: Acknowledgment sent {"connection_id":128063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:15:11] local.INFO: TCP Data received {"connection_id":128063,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42d4b0d8012d5e6b400632e1480008014e31..."} 
[2026-07-08 23:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42d4b0d8012d5e6b400632e1480008014e31..."} 
[2026-07-08 23:15:11] local.INFO: Processing buffer {"connection_id":128063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42d4b0d8012d5e6b400632e1480008014e31..."} 
[2026-07-08 23:15:11] local.INFO: Packet analysis {"connection_id":128063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d4"} 
[2026-07-08 23:15:11] local.INFO: Extracted packet for processing {"connection_id":128063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42d4"} 
[2026-07-08 23:15:11] local.INFO: GPS Element Parsed {"raw_longitude":761162560,"raw_latitude":103997768,"longitude_deg":76.116256,"latitude_deg":10.3997768,"altitude":8,"angle":334,"satellites":49,"speed":56,"hex_longitude":"2d5e6b40","hex_latitude":"0632e148","is_valid_coordinates":true} 
[2026-07-08 23:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584359936001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343514031249686528,"note":"Value kept but may cause issues"} 
[2026-07-08 23:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6808387132042680320,"note":"Value kept but may cause issues"} 
[2026-07-08 23:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783532663000,"timestamp_ms":1783532663000,"timestamp_seconds":1783532663,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d4b0d8"} 
[2026-07-08 23:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-08 23:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584359936001,"66":27343,"110":206,"78":38656,"24":56,"16":343514031249686528,"45":6808387132042680320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,78,24,16,45]} 
[2026-07-08 23:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584359936001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:15:11] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 23:15:11] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-08 23:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343514031249686528,"km_value":343514031249686.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6808387132042680320,"description":"Unknown IO ID 45"} 
[2026-07-08 23:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584359936001,"power":27343,"unknown_110":206,"unknown_78":38656,"ignition":56,"odometer":null,"unknown_45":6808387132042680320}} 
[2026-07-08 23:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":128063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:15:11] local.INFO: GPS data processed {"connection_id":128063,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:15:11] local.INFO: Acknowledgment sent {"connection_id":128063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:15:50] local.INFO: TCP Data received {"connection_id":128064,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f42d2ad38012d196500071ff078003e014226..."} 
[2026-07-08 23:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42d2ad38012d196500071ff078003e014226..."} 
[2026-07-08 23:15:50] local.INFO: Processing buffer {"connection_id":128064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42d2ad38012d196500071ff078003e014226..."} 
[2026-07-08 23:15:50] local.INFO: Packet analysis {"connection_id":128064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d2"} 
[2026-07-08 23:15:50] local.INFO: Extracted packet for processing {"connection_id":128064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42d2"} 
[2026-07-08 23:15:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584250880001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:15:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:15: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-07-08 23:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783532531000,"timestamp_ms":1783532531000,"timestamp_seconds":1783532531,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d2ad38"} 
[2026-07-08 23:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:15:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 23:15:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:15:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":128064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":128064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":128064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:15:50] 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-07-08 23:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584250880001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584250880001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:15:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:15:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:15:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584250880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":128064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:15:50] local.INFO: GPS data processed {"connection_id":128064,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:15:50] local.INFO: Acknowledgment sent {"connection_id":128064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:16:04] local.INFO: TCP Data received {"connection_id":126078,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:16:04] local.INFO: Processing buffer {"connection_id":126078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:16:04] local.INFO: IMEI packet received {"connection_id":126078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":126078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:16:07] local.INFO: TCP Data received {"connection_id":125936,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:16:07] local.INFO: Processing buffer {"connection_id":125936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:16:07] local.INFO: IMEI packet received {"connection_id":125936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":125936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:16:08] local.INFO: TCP Data received {"connection_id":125936,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:16:08] local.INFO: Processing buffer {"connection_id":125936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:16:08] local.INFO: IMEI packet received {"connection_id":125936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":125936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:16:08] local.INFO: TCP Data received {"connection_id":125936,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42d4cc30012d5e5a40063304500008014e33..."} 
[2026-07-08 23:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42d4cc30012d5e5a40063304500008014e33..."} 
[2026-07-08 23:16:08] local.INFO: Processing buffer {"connection_id":125936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42d4cc30012d5e5a40063304500008014e33..."} 
[2026-07-08 23:16:08] local.INFO: Packet analysis {"connection_id":125936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d4"} 
[2026-07-08 23:16:08] local.INFO: Extracted packet for processing {"connection_id":125936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42d4"} 
[2026-07-08 23:16:08] local.INFO: GPS Element Parsed {"raw_longitude":761158208,"raw_latitude":104006736,"longitude_deg":76.1158208,"latitude_deg":10.4006736,"altitude":8,"angle":334,"satellites":51,"speed":57,"hex_longitude":"2d5e5a40","hex_latitude":"06330450","is_valid_coordinates":true} 
[2026-07-08 23:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584361728001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343514512286023680,"note":"Value kept but may cause issues"} 
[2026-07-08 23:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6803602057440872448,"note":"Value kept but may cause issues"} 
[2026-07-08 23:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783532670000,"timestamp_ms":1783532670000,"timestamp_seconds":1783532670,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d4cc30"} 
[2026-07-08 23:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 23:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":125936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":125936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":125936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584361728001,"66":27343,"110":206,"78":38656,"24":57,"16":343514512286023680,"45":6803602057440872448},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,78,24,16,45]} 
[2026-07-08 23:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584361728001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:16:08] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-08 23:16:08] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-08 23:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343514512286023680,"km_value":343514512286023.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6803602057440872448,"description":"Unknown IO ID 45"} 
[2026-07-08 23:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584361728001,"power":27343,"unknown_110":206,"unknown_78":38656,"ignition":57,"odometer":null,"unknown_45":6803602057440872448}} 
[2026-07-08 23:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":125936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:16:08] local.INFO: GPS data processed {"connection_id":125936,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:16:08] local.INFO: Acknowledgment sent {"connection_id":125936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:16:09] local.INFO: TCP Data received {"connection_id":126078,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:16:09] local.INFO: Processing buffer {"connection_id":126078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:16:09] local.INFO: IMEI packet received {"connection_id":126078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":126078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:16:09] local.INFO: TCP Data received {"connection_id":125936,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42d4e788012d5e4940063328280007014f2e..."} 
[2026-07-08 23:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42d4e788012d5e4940063328280007014f2e..."} 
[2026-07-08 23:16:09] local.INFO: Processing buffer {"connection_id":125936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42d4e788012d5e4940063328280007014f2e..."} 
[2026-07-08 23:16:09] local.INFO: Packet analysis {"connection_id":125936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d4"} 
[2026-07-08 23:16:09] local.INFO: Extracted packet for processing {"connection_id":125936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42d4"} 
[2026-07-08 23:16:09] local.INFO: GPS Element Parsed {"raw_longitude":761153856,"raw_latitude":104015912,"longitude_deg":76.1153856,"latitude_deg":10.4015912,"altitude":7,"angle":335,"satellites":46,"speed":57,"hex_longitude":"2d5e4940","hex_latitude":"06332828","is_valid_coordinates":true} 
[2026-07-08 23:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584363520001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343515006207262720,"note":"Value kept but may cause issues"} 
[2026-07-08 23:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6798816982839087104,"note":"Value kept but may cause issues"} 
[2026-07-08 23:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783532677000,"timestamp_ms":1783532677000,"timestamp_seconds":1783532677,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d4e788"} 
[2026-07-08 23:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 23:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584363520001,"66":27321,"190":206,"78":38656,"24":57,"16":343515006207262720,"45":6798816982839087104},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,78,24,16,45]} 
[2026-07-08 23:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584363520001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:16:09] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-08 23:16:09] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-08 23:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343515006207262720,"km_value":343515006207262.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6798816982839087104,"description":"Unknown IO ID 45"} 
[2026-07-08 23:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584363520001,"power":27321,"unknown_190":206,"unknown_78":38656,"ignition":57,"odometer":null,"unknown_45":6798816982839087104}} 
[2026-07-08 23:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":125936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:16:09] local.INFO: GPS data processed {"connection_id":125936,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:16:09] local.INFO: Acknowledgment sent {"connection_id":125936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:16:10] local.INFO: TCP Data received {"connection_id":126078,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f42d2ad38012d196500071ff078003e014226..."} 
[2026-07-08 23:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42d2ad38012d196500071ff078003e014226..."} 
[2026-07-08 23:16:10] local.INFO: Processing buffer {"connection_id":126078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42d2ad38012d196500071ff078003e014226..."} 
[2026-07-08 23:16:10] local.INFO: Packet analysis {"connection_id":126078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d2"} 
[2026-07-08 23:16:10] local.INFO: Extracted packet for processing {"connection_id":126078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42d2"} 
[2026-07-08 23:16:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23: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-07-08 23:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584250880001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:16: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-07-08 23:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783532531000,"timestamp_ms":1783532531000,"timestamp_seconds":1783532531,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d2ad38"} 
[2026-07-08 23:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 23:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23: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-07-08 23:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:16:10] 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-07-08 23:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584250880001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584250880001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:16:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:16:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584250880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":126078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:16:10] local.INFO: GPS data processed {"connection_id":126078,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:16:10] local.INFO: Acknowledgment sent {"connection_id":126078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:16:14] local.INFO: TCP Data received {"connection_id":126078,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f42d2ad38012d196500071ff078003e014226..."} 
[2026-07-08 23:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42d2ad38012d196500071ff078003e014226..."} 
[2026-07-08 23:16:14] local.INFO: Processing buffer {"connection_id":126078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42d2ad38012d196500071ff078003e014226..."} 
[2026-07-08 23:16:14] local.INFO: Packet analysis {"connection_id":126078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d2"} 
[2026-07-08 23:16:14] local.INFO: Extracted packet for processing {"connection_id":126078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42d2"} 
[2026-07-08 23:16:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584250880001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:16:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:16:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783532531000,"timestamp_ms":1783532531000,"timestamp_seconds":1783532531,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d2ad38"} 
[2026-07-08 23:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:16:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 23:16:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:16:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":126078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":126078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":126078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:16:14] 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-07-08 23:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584250880001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584250880001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:16:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:16:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:16:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584250880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":126078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:16:14] local.INFO: GPS data processed {"connection_id":126078,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:16:14] local.INFO: Acknowledgment sent {"connection_id":126078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:16:54] local.INFO: TCP Data received {"connection_id":128065,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:16:54] local.INFO: Processing buffer {"connection_id":128065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:16:54] local.INFO: IMEI packet received {"connection_id":128065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":128065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:16:56] local.INFO: TCP Data received {"connection_id":128065,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:16:56] local.INFO: Processing buffer {"connection_id":128065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:16:56] local.INFO: IMEI packet received {"connection_id":128065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":128065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:16:59] local.INFO: TCP Data received {"connection_id":126079,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:16:59] local.INFO: Processing buffer {"connection_id":126079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:16:59] local.INFO: IMEI packet received {"connection_id":126079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":126079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:17:00] local.INFO: TCP Data received {"connection_id":128065,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:17:00] local.INFO: Processing buffer {"connection_id":128065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:17:00] local.INFO: IMEI packet received {"connection_id":128065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":128065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:17:01] local.INFO: TCP Data received {"connection_id":128065,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42d604b0012d5d8d000634a3680005014e30..."} 
[2026-07-08 23:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42d604b0012d5d8d000634a3680005014e30..."} 
[2026-07-08 23:17:01] local.INFO: Processing buffer {"connection_id":128065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42d604b0012d5d8d000634a3680005014e30..."} 
[2026-07-08 23:17:01] local.INFO: Packet analysis {"connection_id":128065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d6"} 
[2026-07-08 23:17:01] local.INFO: Extracted packet for processing {"connection_id":128065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42d6"} 
[2026-07-08 23:17:01] local.INFO: GPS Element Parsed {"raw_longitude":761105664,"raw_latitude":104113000,"longitude_deg":76.1105664,"latitude_deg":10.4113,"altitude":5,"angle":334,"satellites":48,"speed":57,"hex_longitude":"2d5d8d00","hex_latitude":"0634a368","is_valid_coordinates":true} 
[2026-07-08 23:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584382208001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343520258952265728,"note":"Value kept but may cause issues"} 
[2026-07-08 23:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6745970055986550784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:17:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783532750000,"timestamp_ms":1783532750000,"timestamp_seconds":1783532750,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d604b0"} 
[2026-07-08 23:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:17: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-07-08 23:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 23:17:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:17:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":128065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":128065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":128065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584382208001,"66":27245,"174":206,"78":38656,"24":57,"16":343520258952265728,"45":6745970055986550784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,78,24,16,45]} 
[2026-07-08 23:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584382208001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:17:01] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-08 23:17:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-08 23:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343520258952265728,"km_value":343520258952265.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6745970055986550784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584382208001,"power":27245,"unknown_174":206,"unknown_78":38656,"ignition":57,"odometer":null,"unknown_45":6745970055986550784}} 
[2026-07-08 23:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":128065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:17:01] local.INFO: GPS data processed {"connection_id":128065,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:17:01] local.INFO: Acknowledgment sent {"connection_id":128065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:17:02] local.INFO: TCP Data received {"connection_id":128065,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42d62008012d5d7bc00634c6100006014e31..."} 
[2026-07-08 23:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42d62008012d5d7bc00634c6100006014e31..."} 
[2026-07-08 23:17:02] local.INFO: Processing buffer {"connection_id":128065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42d62008012d5d7bc00634c6100006014e31..."} 
[2026-07-08 23:17:02] local.INFO: Packet analysis {"connection_id":128065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d6"} 
[2026-07-08 23:17:02] local.INFO: Extracted packet for processing {"connection_id":128065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42d6"} 
[2026-07-08 23:17:02] local.INFO: GPS Element Parsed {"raw_longitude":761101248,"raw_latitude":104121872,"longitude_deg":76.1101248,"latitude_deg":10.4121872,"altitude":6,"angle":334,"satellites":49,"speed":56,"hex_longitude":"2d5d7bc0","hex_latitude":"0634c610","is_valid_coordinates":true} 
[2026-07-08 23: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-07-08 23:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584384000001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343520739988602880,"note":"Value kept but may cause issues"} 
[2026-07-08 23:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6741044243896428544,"note":"Value kept but may cause issues"} 
[2026-07-08 23:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783532757000,"timestamp_ms":1783532757000,"timestamp_seconds":1783532757,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d62008"} 
[2026-07-08 23:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-08 23:17:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23: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-07-08 23:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":128065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":128065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":128065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584384000001,"66":27267,"174":206,"78":38656,"24":56,"16":343520739988602880,"45":6741044243896428544},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,78,24,16,45]} 
[2026-07-08 23:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584384000001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:17:02] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-08 23:17:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-08 23:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343520739988602880,"km_value":343520739988602.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6741044243896428544,"description":"Unknown IO ID 45"} 
[2026-07-08 23:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584384000001,"power":27267,"unknown_174":206,"unknown_78":38656,"ignition":56,"odometer":null,"unknown_45":6741044243896428544}} 
[2026-07-08 23:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":128065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:17:02] local.INFO: GPS data processed {"connection_id":128065,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:17:02] local.INFO: Acknowledgment sent {"connection_id":128065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:17:04] local.INFO: TCP Data received {"connection_id":126079,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:17:04] local.INFO: Processing buffer {"connection_id":126079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:17:04] local.INFO: IMEI packet received {"connection_id":126079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":126079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:17:05] local.INFO: TCP Data received {"connection_id":126079,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f42d2ad38012d196500071ff078003e014226..."} 
[2026-07-08 23:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42d2ad38012d196500071ff078003e014226..."} 
[2026-07-08 23:17:05] local.INFO: Processing buffer {"connection_id":126079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42d2ad38012d196500071ff078003e014226..."} 
[2026-07-08 23:17:05] local.INFO: Packet analysis {"connection_id":126079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d2"} 
[2026-07-08 23:17:05] local.INFO: Extracted packet for processing {"connection_id":126079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42d2"} 
[2026-07-08 23:17:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584250880001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783532531000,"timestamp_ms":1783532531000,"timestamp_seconds":1783532531,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d2ad38"} 
[2026-07-08 23:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 23:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:17:05] 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-07-08 23:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584250880001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584250880001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:17:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:17:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584250880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":126079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:17:05] local.INFO: GPS data processed {"connection_id":126079,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:17:05] local.INFO: Acknowledgment sent {"connection_id":126079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:17:25] local.INFO: TCP Data received {"connection_id":126822,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126822,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:17:25] local.INFO: Processing buffer {"connection_id":126822,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:17:25] local.INFO: IMEI packet received {"connection_id":126822,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 23:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":126822,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:17:33] local.INFO: TCP Data received {"connection_id":128065,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42d63b60012d5d6ac00634e9980008014e32..."} 
[2026-07-08 23:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42d63b60012d5d6ac00634e9980008014e32..."} 
[2026-07-08 23:17:33] local.INFO: Processing buffer {"connection_id":128065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42d63b60012d5d6ac00634e9980008014e32..."} 
[2026-07-08 23:17:33] local.INFO: Packet analysis {"connection_id":128065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d6"} 
[2026-07-08 23:17:33] local.INFO: Extracted packet for processing {"connection_id":128065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42d6"} 
[2026-07-08 23:17:33] local.INFO: GPS Element Parsed {"raw_longitude":761096896,"raw_latitude":104130968,"longitude_deg":76.1096896,"latitude_deg":10.4130968,"altitude":8,"angle":334,"satellites":50,"speed":57,"hex_longitude":"2d5d6ac0","hex_latitude":"0634e998","is_valid_coordinates":true} 
[2026-07-08 23: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-07-08 23:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584385792001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343521225319907328,"note":"Value kept but may cause issues"} 
[2026-07-08 23:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6736188800550440960,"note":"Value kept but may cause issues"} 
[2026-07-08 23:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783532764000,"timestamp_ms":1783532764000,"timestamp_seconds":1783532764,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d63b60"} 
[2026-07-08 23:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 23:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23: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-07-08 23:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":128065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":128065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":128065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584385792001,"66":27213,"174":206,"78":38656,"24":57,"16":343521225319907328,"45":6736188800550440960},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,78,24,16,45]} 
[2026-07-08 23:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584385792001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:17:33] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-08 23:17:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-08 23:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343521225319907328,"km_value":343521225319907.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6736188800550440960,"description":"Unknown IO ID 45"} 
[2026-07-08 23:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584385792001,"power":27213,"unknown_174":206,"unknown_78":38656,"ignition":57,"odometer":null,"unknown_45":6736188800550440960}} 
[2026-07-08 23:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":128065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:17:33] local.INFO: GPS data processed {"connection_id":128065,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:17:33] local.INFO: Acknowledgment sent {"connection_id":128065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:17:36] local.INFO: TCP Data received {"connection_id":126079,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f42d2ad38012d196500071ff078003e014226..."} 
[2026-07-08 23:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42d2ad38012d196500071ff078003e014226..."} 
[2026-07-08 23:17:36] local.INFO: Processing buffer {"connection_id":126079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42d2ad38012d196500071ff078003e014226..."} 
[2026-07-08 23:17:36] local.INFO: Packet analysis {"connection_id":126079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d2"} 
[2026-07-08 23:17:36] local.INFO: Extracted packet for processing {"connection_id":126079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42d2"} 
[2026-07-08 23:17:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584250880001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783532531000,"timestamp_ms":1783532531000,"timestamp_seconds":1783532531,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d2ad38"} 
[2026-07-08 23:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-08 23:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:17:36] 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-07-08 23:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584250880001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584250880001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:17:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:17:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584250880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":126079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:17:36] local.INFO: GPS data processed {"connection_id":126079,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:17:36] local.INFO: Acknowledgment sent {"connection_id":126079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:17:54] local.INFO: TCP Data received {"connection_id":128066,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:17:54] local.INFO: Processing buffer {"connection_id":128066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:17:54] local.INFO: IMEI packet received {"connection_id":128066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":128066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:17:55] local.INFO: TCP Data received {"connection_id":128067,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128067,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:17:55] local.INFO: Processing buffer {"connection_id":128067,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:17:55] local.INFO: IMEI packet received {"connection_id":128067,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 23:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":128067,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:17:59] local.INFO: TCP Data received {"connection_id":128066,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:17:59] local.INFO: Processing buffer {"connection_id":128066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:17:59] local.INFO: IMEI packet received {"connection_id":128066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":128066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:17:59] local.INFO: TCP Data received {"connection_id":126080,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:17:59] local.INFO: Processing buffer {"connection_id":126080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:17:59] local.INFO: IMEI packet received {"connection_id":126080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":126080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:18:00] local.INFO: TCP Data received {"connection_id":128066,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42d656b8012d5d58c006350d580008014d32..."} 
[2026-07-08 23:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42d656b8012d5d58c006350d580008014d32..."} 
[2026-07-08 23:18:00] local.INFO: Processing buffer {"connection_id":128066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42d656b8012d5d58c006350d580008014d32..."} 
[2026-07-08 23:18:00] local.INFO: Packet analysis {"connection_id":128066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d6"} 
[2026-07-08 23:18:00] local.INFO: Extracted packet for processing {"connection_id":128066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42d6"} 
[2026-07-08 23:18:00] local.INFO: GPS Element Parsed {"raw_longitude":761092288,"raw_latitude":104140120,"longitude_deg":76.1092288,"latitude_deg":10.414012,"altitude":8,"angle":333,"satellites":50,"speed":58,"hex_longitude":"2d5d58c0","hex_latitude":"06350d58","is_valid_coordinates":true} 
[2026-07-08 23: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-07-08 23:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584387584001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343521719241146368,"note":"Value kept but may cause issues"} 
[2026-07-08 23:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6731403725948688384,"note":"Value kept but may cause issues"} 
[2026-07-08 23:18:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783532771000,"timestamp_ms":1783532771000,"timestamp_seconds":1783532771,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d656b8"} 
[2026-07-08 23:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:18:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-08 23:18:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23: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-07-08 23:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":128066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":128066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":128066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:18:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584387584001,"66":27234,"174":206,"78":38656,"24":58,"16":343521719241146368,"45":6731403725948688384},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,78,24,16,45]} 
[2026-07-08 23:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584387584001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:18:00] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-08 23:18:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-08 23:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343521719241146368,"km_value":343521719241146.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:18:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6731403725948688384,"description":"Unknown IO ID 45"} 
[2026-07-08 23:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584387584001,"power":27234,"unknown_174":206,"unknown_78":38656,"ignition":58,"odometer":null,"unknown_45":6731403725948688384}} 
[2026-07-08 23:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":128066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:18:00] local.INFO: GPS data processed {"connection_id":128066,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:18:00] local.INFO: Acknowledgment sent {"connection_id":128066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:18:04] local.INFO: TCP Data received {"connection_id":126080,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:18:04] local.INFO: Processing buffer {"connection_id":126080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:18:04] local.INFO: IMEI packet received {"connection_id":126080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":126080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:18:05] local.INFO: TCP Data received {"connection_id":126080,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f42d74500012d196500071ff078003e014225..."} 
[2026-07-08 23:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42d74500012d196500071ff078003e014225..."} 
[2026-07-08 23:18:05] local.INFO: Processing buffer {"connection_id":126080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42d74500012d196500071ff078003e014225..."} 
[2026-07-08 23:18:05] local.INFO: Packet analysis {"connection_id":126080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d7"} 
[2026-07-08 23:18:05] local.INFO: Extracted packet for processing {"connection_id":126080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42d7"} 
[2026-07-08 23:18:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584327936001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783532832000,"timestamp_ms":1783532832000,"timestamp_seconds":1783532832,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d74500"} 
[2026-07-08 23:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:18:05] 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-07-08 23:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584327936001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584327936001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:18:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:18:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584327936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":126080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:18:05] local.INFO: GPS data processed {"connection_id":126080,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:18:05] local.INFO: Acknowledgment sent {"connection_id":126080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:18:31] local.INFO: TCP Data received {"connection_id":128066,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42d7ae78012d5c52c00636be880001014e33..."} 
[2026-07-08 23:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42d7ae78012d5c52c00636be880001014e33..."} 
[2026-07-08 23:18:31] local.INFO: Processing buffer {"connection_id":128066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42d7ae78012d5c52c00636be880001014e33..."} 
[2026-07-08 23:18:31] local.INFO: Packet analysis {"connection_id":128066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d7"} 
[2026-07-08 23:18:31] local.INFO: Extracted packet for processing {"connection_id":128066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42d7"} 
[2026-07-08 23:18:31] local.INFO: GPS Element Parsed {"raw_longitude":761025216,"raw_latitude":104251016,"longitude_deg":76.1025216,"latitude_deg":10.4251016,"altitude":1,"angle":334,"satellites":51,"speed":59,"hex_longitude":"2d5c52c0","hex_latitude":"0636be88","is_valid_coordinates":true} 
[2026-07-08 23: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-07-08 23:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584410368001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343527998483333120,"note":"Value kept but may cause issues"} 
[2026-07-08 23:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6656883225893206016,"note":"Value kept but may cause issues"} 
[2026-07-08 23:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783532859000,"timestamp_ms":1783532859000,"timestamp_seconds":1783532859,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d7ae78"} 
[2026-07-08 23:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:18: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-07-08 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 23:18: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-07-08 23: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-07-08 23:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":128066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":128066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":128066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584410368001,"66":27213,"220":206,"78":38656,"24":59,"16":343527998483333120,"45":6656883225893206016},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,78,24,16,45]} 
[2026-07-08 23:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584410368001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:18:31] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-08 23:18:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-08 23:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343527998483333120,"km_value":343527998483333.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6656883225893206016,"description":"Unknown IO ID 45"} 
[2026-07-08 23:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584410368001,"power":27213,"unknown_220":206,"unknown_78":38656,"ignition":59,"odometer":null,"unknown_45":6656883225893206016}} 
[2026-07-08 23:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":128066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:18:31] local.INFO: GPS data processed {"connection_id":128066,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:18:31] local.INFO: Acknowledgment sent {"connection_id":128066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:18:36] local.INFO: TCP Data received {"connection_id":126080,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f42d74500012d196500071ff078003e014225..."} 
[2026-07-08 23:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42d74500012d196500071ff078003e014225..."} 
[2026-07-08 23:18:36] local.INFO: Processing buffer {"connection_id":126080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42d74500012d196500071ff078003e014225..."} 
[2026-07-08 23:18:36] local.INFO: Packet analysis {"connection_id":126080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d7"} 
[2026-07-08 23:18:36] local.INFO: Extracted packet for processing {"connection_id":126080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42d7"} 
[2026-07-08 23:18:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584327936001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783532832000,"timestamp_ms":1783532832000,"timestamp_seconds":1783532832,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d74500"} 
[2026-07-08 23:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:18:36] 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-07-08 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:18:36] 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-07-08 23:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584327936001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584327936001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:18:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:18:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584327936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":126080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:18:36] local.INFO: GPS data processed {"connection_id":126080,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:18:36] local.INFO: Acknowledgment sent {"connection_id":126080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:18:59] local.INFO: TCP Data received {"connection_id":128068,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:18:59] local.INFO: Processing buffer {"connection_id":128068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:18:59] local.INFO: IMEI packet received {"connection_id":128068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":128068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:18:59] local.INFO: TCP Data received {"connection_id":126081,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:18:59] local.INFO: Processing buffer {"connection_id":126081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:18:59] local.INFO: IMEI packet received {"connection_id":126081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":126081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:18:59] local.INFO: TCP Data received {"connection_id":128068,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:18:59] local.INFO: Processing buffer {"connection_id":128068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:18:59] local.INFO: IMEI packet received {"connection_id":128068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":128068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:19:04] local.INFO: TCP Data received {"connection_id":126081,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:19:04] local.INFO: Processing buffer {"connection_id":126081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:19:04] local.INFO: IMEI packet received {"connection_id":126081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":126081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:19:05] local.INFO: TCP Data received {"connection_id":128068,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:19:05] local.INFO: Processing buffer {"connection_id":128068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:19:05] local.INFO: IMEI packet received {"connection_id":128068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":128068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:19:05] local.INFO: TCP Data received {"connection_id":126081,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f42d74500012d196500071ff078003e014225..."} 
[2026-07-08 23:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42d74500012d196500071ff078003e014225..."} 
[2026-07-08 23:19:05] local.INFO: Processing buffer {"connection_id":126081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42d74500012d196500071ff078003e014225..."} 
[2026-07-08 23:19:05] local.INFO: Packet analysis {"connection_id":126081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d7"} 
[2026-07-08 23:19:05] local.INFO: Extracted packet for processing {"connection_id":126081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42d7"} 
[2026-07-08 23:19:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584327936001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783532832000,"timestamp_ms":1783532832000,"timestamp_seconds":1783532832,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d74500"} 
[2026-07-08 23:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584327936001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584327936001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:19:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:19:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584327936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":126081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:19:05] local.INFO: GPS data processed {"connection_id":126081,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:19:05] local.INFO: Acknowledgment sent {"connection_id":126081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:19:06] local.INFO: TCP Data received {"connection_id":128068,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42d7c9d0012d5c41400636e2180001014e33..."} 
[2026-07-08 23:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42d7c9d0012d5c41400636e2180001014e33..."} 
[2026-07-08 23:19:06] local.INFO: Processing buffer {"connection_id":128068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42d7c9d0012d5c41400636e2180001014e33..."} 
[2026-07-08 23:19:06] local.INFO: Packet analysis {"connection_id":128068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d7"} 
[2026-07-08 23:19:06] local.INFO: Extracted packet for processing {"connection_id":128068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42d7"} 
[2026-07-08 23:19:06] local.INFO: GPS Element Parsed {"raw_longitude":761020736,"raw_latitude":104260120,"longitude_deg":76.1020736,"latitude_deg":10.426012,"altitude":1,"angle":334,"satellites":51,"speed":57,"hex_longitude":"2d5c4140","hex_latitude":"0636e218","is_valid_coordinates":true} 
[2026-07-08 23:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584411904001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343528488109604864,"note":"Value kept but may cause issues"} 
[2026-07-08 23:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6652590732500436992,"note":"Value kept but may cause issues"} 
[2026-07-08 23:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783532866000,"timestamp_ms":1783532866000,"timestamp_seconds":1783532866,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d7c9d0"} 
[2026-07-08 23:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-08 23:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584411904001,"66":27104,"220":206,"78":38656,"24":57,"16":343528488109604864,"45":6652590732500436992},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,78,24,16,45]} 
[2026-07-08 23:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584411904001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:19:06] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-08 23:19:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-08 23:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343528488109604864,"km_value":343528488109604.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6652590732500436992,"description":"Unknown IO ID 45"} 
[2026-07-08 23:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584411904001,"power":27104,"unknown_220":206,"unknown_78":38656,"ignition":57,"odometer":null,"unknown_45":6652590732500436992}} 
[2026-07-08 23:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":128068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:19:06] local.INFO: GPS data processed {"connection_id":128068,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:19:06] local.INFO: Acknowledgment sent {"connection_id":128068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:19:36] local.INFO: TCP Data received {"connection_id":126081,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f42d74500012d196500071ff078003e014225..."} 
[2026-07-08 23:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42d74500012d196500071ff078003e014225..."} 
[2026-07-08 23:19:36] local.INFO: Processing buffer {"connection_id":126081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42d74500012d196500071ff078003e014225..."} 
[2026-07-08 23:19:36] local.INFO: Packet analysis {"connection_id":126081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d7"} 
[2026-07-08 23:19:36] local.INFO: Extracted packet for processing {"connection_id":126081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42d7"} 
[2026-07-08 23:19:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584327936001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783532832000,"timestamp_ms":1783532832000,"timestamp_seconds":1783532832,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d74500"} 
[2026-07-08 23:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:19:36] 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-07-08 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584327936001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584327936001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:19:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:19:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584327936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":126081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:19:36] local.INFO: GPS data processed {"connection_id":126081,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:19:36] local.INFO: Acknowledgment sent {"connection_id":126081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:19:37] local.INFO: TCP Data received {"connection_id":128068,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42d7e528012d5c3040063702480002014432..."} 
[2026-07-08 23:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42d7e528012d5c3040063702480002014432..."} 
[2026-07-08 23:19:37] local.INFO: Processing buffer {"connection_id":128068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42d7e528012d5c3040063702480002014432..."} 
[2026-07-08 23:19:37] local.INFO: Packet analysis {"connection_id":128068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d7"} 
[2026-07-08 23:19:37] local.INFO: Extracted packet for processing {"connection_id":128068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42d7"} 
[2026-07-08 23:19:37] local.INFO: GPS Element Parsed {"raw_longitude":761016384,"raw_latitude":104268360,"longitude_deg":76.1016384,"latitude_deg":10.426836,"altitude":2,"angle":324,"satellites":50,"speed":50,"hex_longitude":"2d5c3040","hex_latitude":"06370248","is_valid_coordinates":true} 
[2026-07-08 23:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584413696001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343528939081170944,"note":"Value kept but may cause issues"} 
[2026-07-08 23:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6647664920410331136,"note":"Value kept but may cause issues"} 
[2026-07-08 23:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783532873000,"timestamp_ms":1783532873000,"timestamp_seconds":1783532873,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d7e528"} 
[2026-07-08 23:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-08 23:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584413696001,"66":27343,"220":206,"78":38656,"24":50,"16":343528939081170944,"45":6647664920410331136},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,78,24,16,45]} 
[2026-07-08 23:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584413696001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:19:37] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-08 23:19:37] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-08 23:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343528939081170944,"km_value":343528939081170.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6647664920410331136,"description":"Unknown IO ID 45"} 
[2026-07-08 23:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584413696001,"power":27343,"unknown_220":206,"unknown_78":38656,"ignition":50,"odometer":null,"unknown_45":6647664920410331136}} 
[2026-07-08 23:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":128068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:19:37] local.INFO: GPS data processed {"connection_id":128068,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:19:37] local.INFO: Acknowledgment sent {"connection_id":128068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:19:55] local.INFO: TCP Data received {"connection_id":125937,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:19:55] local.INFO: Processing buffer {"connection_id":125937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:19:55] local.INFO: IMEI packet received {"connection_id":125937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":125937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:19:57] local.INFO: TCP Data received {"connection_id":125937,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:19:57] local.INFO: Processing buffer {"connection_id":125937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:19:57] local.INFO: IMEI packet received {"connection_id":125937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":125937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:19:59] local.INFO: TCP Data received {"connection_id":128069,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:19:59] local.INFO: Processing buffer {"connection_id":128069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:19:59] local.INFO: IMEI packet received {"connection_id":128069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":128069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:20:04] local.INFO: TCP Data received {"connection_id":128069,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:20:04] local.INFO: Processing buffer {"connection_id":128069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:20:04] local.INFO: IMEI packet received {"connection_id":128069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":128069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:20:05] local.INFO: TCP Data received {"connection_id":128069,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f42d74500012d196500071ff078003e014225..."} 
[2026-07-08 23:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42d74500012d196500071ff078003e014225..."} 
[2026-07-08 23:20:05] local.INFO: Processing buffer {"connection_id":128069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42d74500012d196500071ff078003e014225..."} 
[2026-07-08 23:20:05] local.INFO: Packet analysis {"connection_id":128069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d7"} 
[2026-07-08 23:20:05] local.INFO: Extracted packet for processing {"connection_id":128069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42d7"} 
[2026-07-08 23:20:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584327936001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783532832000,"timestamp_ms":1783532832000,"timestamp_seconds":1783532832,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d74500"} 
[2026-07-08 23:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:20:05] 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-07-08 23:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584327936001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584327936001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:20:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:20:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584327936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":128069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:20:05] local.INFO: GPS data processed {"connection_id":128069,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:20:05] local.INFO: Acknowledgment sent {"connection_id":128069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:20:09] local.INFO: TCP Data received {"connection_id":125937,"ip":"42.106.6.30","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f42..."} 
[2026-07-08 23:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125937,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f42..."} 
[2026-07-08 23:20:09] local.INFO: Processing buffer {"connection_id":125937,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f42..."} 
[2026-07-08 23:20:09] local.INFO: IMEI packet received {"connection_id":125937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":125937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:20:09] local.INFO: TCP Data received {"connection_id":125937,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42d90638012d5b8b40063870980005015233..."} 
[2026-07-08 23:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42d90638012d5b8b40063870980005015233..."} 
[2026-07-08 23:20:09] local.INFO: Processing buffer {"connection_id":125937,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f42d8eec8012d5b984006384fe80005015232..."} 
[2026-07-08 23:20:09] local.INFO: Packet analysis {"connection_id":125937,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f42d8"} 
[2026-07-08 23:20:09] local.INFO: Extracted packet for processing {"connection_id":125937,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d8"} 
[2026-07-08 23:20:09] local.INFO: GPS Element Parsed {"raw_longitude":760977472,"raw_latitude":104353768,"longitude_deg":76.0977472,"latitude_deg":10.4353768,"altitude":5,"angle":338,"satellites":50,"speed":60,"hex_longitude":"2d5b9840","hex_latitude":"06384fe8","is_valid_coordinates":true} 
[2026-07-08 23:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584431360001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343533487451537408,"note":"Value kept but may cause issues"} 
[2026-07-08 23:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6603614086576930816,"note":"Value kept but may cause issues"} 
[2026-07-08 23:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783532941000,"timestamp_ms":1783532941000,"timestamp_seconds":1783532941,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d8eec8"} 
[2026-07-08 23:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 23:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584431360001,"66":27267,"84":206,"78":38656,"24":60,"16":343533487451537408,"45":6603614086576930816},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,78,24,16,45]} 
[2026-07-08 23:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584431360001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:20:09] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-07-08 23:20:09] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-08 23:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343533487451537408,"km_value":343533487451537.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6603614086576930816,"description":"Unknown IO ID 45"} 
[2026-07-08 23:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584431360001,"power":27267,"unknown_84":206,"unknown_78":38656,"ignition":60,"odometer":null,"unknown_45":6603614086576930816}} 
[2026-07-08 23:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":125937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:20:09] local.INFO: GPS data processed {"connection_id":125937,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:20:09] local.INFO: Acknowledgment sent {"connection_id":125937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:20:09] local.INFO: Packet analysis {"connection_id":125937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d9"} 
[2026-07-08 23:20:09] local.INFO: Extracted packet for processing {"connection_id":125937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42d9"} 
[2026-07-08 23:20:09] local.INFO: GPS Element Parsed {"raw_longitude":760974144,"raw_latitude":104362136,"longitude_deg":76.0974144,"latitude_deg":10.4362136,"altitude":5,"angle":338,"satellites":51,"speed":59,"hex_longitude":"2d5b8b40","hex_latitude":"06387098","is_valid_coordinates":true} 
[2026-07-08 23:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584432896001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343533921243234304,"note":"Value kept but may cause issues"} 
[2026-07-08 23:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6600095649370204160,"note":"Value kept but may cause issues"} 
[2026-07-08 23:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783532947000,"timestamp_ms":1783532947000,"timestamp_seconds":1783532947,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d90638"} 
[2026-07-08 23:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 23:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584432896001,"66":27169,"84":206,"78":38656,"24":59,"16":343533921243234304,"45":6600095649370204160},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,78,24,16,45]} 
[2026-07-08 23:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584432896001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:20:09] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-07-08 23:20:09] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-08 23:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343533921243234304,"km_value":343533921243234.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6600095649370204160,"description":"Unknown IO ID 45"} 
[2026-07-08 23:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584432896001,"power":27169,"unknown_84":206,"unknown_78":38656,"ignition":59,"odometer":null,"unknown_45":6600095649370204160}} 
[2026-07-08 23:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":125937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:20:09] local.INFO: GPS data processed {"connection_id":125937,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:20:09] local.INFO: Acknowledgment sent {"connection_id":125937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:20:11] local.INFO: TCP Data received {"connection_id":125937,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42d91da8012d5b7c80063890380005014932..."} 
[2026-07-08 23:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42d91da8012d5b7c80063890380005014932..."} 
[2026-07-08 23:20:11] local.INFO: Processing buffer {"connection_id":125937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42d91da8012d5b7c80063890380005014932..."} 
[2026-07-08 23:20:11] local.INFO: Packet analysis {"connection_id":125937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d9"} 
[2026-07-08 23:20:11] local.INFO: Extracted packet for processing {"connection_id":125937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42d9"} 
[2026-07-08 23:20:11] local.INFO: GPS Element Parsed {"raw_longitude":760970368,"raw_latitude":104370232,"longitude_deg":76.0970368,"latitude_deg":10.4370232,"altitude":5,"angle":329,"satellites":50,"speed":59,"hex_longitude":"2d5b7c80","hex_latitude":"06389038","is_valid_coordinates":true} 
[2026-07-08 23:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584434432001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343534355034931200,"note":"Value kept but may cause issues"} 
[2026-07-08 23:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6596436474675107840,"note":"Value kept but may cause issues"} 
[2026-07-08 23:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783532953000,"timestamp_ms":1783532953000,"timestamp_seconds":1783532953,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d91da8"} 
[2026-07-08 23:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-08 23:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584434432001,"66":27300,"84":206,"78":38656,"24":59,"16":343534355034931200,"45":6596436474675107840},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,78,24,16,45]} 
[2026-07-08 23:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584434432001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:20:11] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-07-08 23:20:11] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-08 23:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343534355034931200,"km_value":343534355034931.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6596436474675107840,"description":"Unknown IO ID 45"} 
[2026-07-08 23:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584434432001,"power":27300,"unknown_84":206,"unknown_78":38656,"ignition":59,"odometer":null,"unknown_45":6596436474675107840}} 
[2026-07-08 23:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":125937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:20:11] local.INFO: GPS data processed {"connection_id":125937,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:20:11] local.INFO: Acknowledgment sent {"connection_id":125937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:20:38] local.INFO: TCP Data received {"connection_id":128069,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f42d74500012d196500071ff078003e014225..."} 
[2026-07-08 23:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42d74500012d196500071ff078003e014225..."} 
[2026-07-08 23:20:38] local.INFO: Processing buffer {"connection_id":128069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42d74500012d196500071ff078003e014225..."} 
[2026-07-08 23:20:38] local.INFO: Packet analysis {"connection_id":128069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d7"} 
[2026-07-08 23:20:38] local.INFO: Extracted packet for processing {"connection_id":128069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42d7"} 
[2026-07-08 23:20:38] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584327936001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783532832000,"timestamp_ms":1783532832000,"timestamp_seconds":1783532832,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d74500"} 
[2026-07-08 23:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":128069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":128069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":128069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:20:38] 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-07-08 23:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584327936001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584327936001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:20:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:20:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584327936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":128069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:20:38] local.INFO: GPS data processed {"connection_id":128069,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:20:38] local.INFO: Acknowledgment sent {"connection_id":128069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:21:04] local.INFO: TCP Data received {"connection_id":126824,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:21:04] local.INFO: Processing buffer {"connection_id":126824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:21:04] local.INFO: IMEI packet received {"connection_id":126824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":126824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:21:04] local.INFO: TCP Data received {"connection_id":126083,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:21:04] local.INFO: Processing buffer {"connection_id":126083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:21:04] local.INFO: IMEI packet received {"connection_id":126083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":126083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:21:08] local.INFO: TCP Data received {"connection_id":126083,"ip":"42.106.6.30","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 23:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126083,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 23:21:08] local.INFO: Processing buffer {"connection_id":126083,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 23:21:08] local.INFO: IMEI packet received {"connection_id":126083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":126083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:21:09] local.INFO: TCP Data received {"connection_id":126824,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:21:09] local.INFO: Processing buffer {"connection_id":126824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:21:09] local.INFO: IMEI packet received {"connection_id":126824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":126824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:21:10] local.INFO: TCP Data received {"connection_id":126824,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f42d74500012d196500071ff078003e014225..."} 
[2026-07-08 23:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42d74500012d196500071ff078003e014225..."} 
[2026-07-08 23:21:10] local.INFO: Processing buffer {"connection_id":126824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42d74500012d196500071ff078003e014225..."} 
[2026-07-08 23:21:10] local.INFO: Packet analysis {"connection_id":126824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d7"} 
[2026-07-08 23:21:10] local.INFO: Extracted packet for processing {"connection_id":126824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42d7"} 
[2026-07-08 23:21:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584327936001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783532832000,"timestamp_ms":1783532832000,"timestamp_seconds":1783532832,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d74500"} 
[2026-07-08 23:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:21:10] 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-07-08 23:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584327936001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 23:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584327936001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:21:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:21:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584327936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":126824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:21:10] local.INFO: GPS data processed {"connection_id":126824,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:21:10] local.INFO: Acknowledgment sent {"connection_id":126824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:21:14] local.INFO: TCP Data received {"connection_id":126824,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f42d74500012d196500071ff078003e014225..."} 
[2026-07-08 23:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42d74500012d196500071ff078003e014225..."} 
[2026-07-08 23:21:14] local.INFO: Processing buffer {"connection_id":126824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42d74500012d196500071ff078003e014225..."} 
[2026-07-08 23:21:14] local.INFO: Packet analysis {"connection_id":126824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d7"} 
[2026-07-08 23:21:14] local.INFO: Extracted packet for processing {"connection_id":126824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42d7"} 
[2026-07-08 23:21:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584327936001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:21:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783532832000,"timestamp_ms":1783532832000,"timestamp_seconds":1783532832,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d74500"} 
[2026-07-08 23:21:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:21:14] 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-07-08 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:21:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:21:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:21:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":126824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":126824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":126824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:21:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584327936001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 23:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584327936001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:21:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:21:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584327936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":126824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:21:14] local.INFO: GPS data processed {"connection_id":126824,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:21:14] local.INFO: Acknowledgment sent {"connection_id":126824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:21:59] local.INFO: TCP Data received {"connection_id":126084,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:21:59] local.INFO: Processing buffer {"connection_id":126084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:21:59] local.INFO: IMEI packet received {"connection_id":126084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":126084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:22:04] local.INFO: TCP Data received {"connection_id":126084,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:22:04] local.INFO: Processing buffer {"connection_id":126084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:22:04] local.INFO: IMEI packet received {"connection_id":126084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":126084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:22:05] local.INFO: TCP Data received {"connection_id":126084,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f42d74500012d196500071ff078003e014225..."} 
[2026-07-08 23:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42d74500012d196500071ff078003e014225..."} 
[2026-07-08 23:22:05] local.INFO: Processing buffer {"connection_id":126084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42d74500012d196500071ff078003e014225..."} 
[2026-07-08 23:22:05] local.INFO: Packet analysis {"connection_id":126084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d7"} 
[2026-07-08 23:22:05] local.INFO: Extracted packet for processing {"connection_id":126084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42d7"} 
[2026-07-08 23:22:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584327936001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783532832000,"timestamp_ms":1783532832000,"timestamp_seconds":1783532832,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d74500"} 
[2026-07-08 23:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584327936001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 23:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584327936001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:22:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:22:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584327936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":126084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:22:05] local.INFO: GPS data processed {"connection_id":126084,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:22:05] local.INFO: Acknowledgment sent {"connection_id":126084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:22:36] local.INFO: TCP Data received {"connection_id":126084,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f42d74500012d196500071ff078003e014225..."} 
[2026-07-08 23:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42d74500012d196500071ff078003e014225..."} 
[2026-07-08 23:22:36] local.INFO: Processing buffer {"connection_id":126084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42d74500012d196500071ff078003e014225..."} 
[2026-07-08 23:22:36] local.INFO: Packet analysis {"connection_id":126084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42d7"} 
[2026-07-08 23:22:36] local.INFO: Extracted packet for processing {"connection_id":126084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42d7"} 
[2026-07-08 23:22:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584327936001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783532832000,"timestamp_ms":1783532832000,"timestamp_seconds":1783532832,"priority":1,"record_length":96,"hex_timestamp":"0000019f42d74500"} 
[2026-07-08 23:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:22:36] 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-07-08 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584327936001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 23:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584327936001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:22:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:22:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584327936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":126084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:22:36] local.INFO: GPS data processed {"connection_id":126084,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:22:36] local.INFO: Acknowledgment sent {"connection_id":126084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:22:59] local.INFO: TCP Data received {"connection_id":125940,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:22:59] local.INFO: Processing buffer {"connection_id":125940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:22:59] local.INFO: IMEI packet received {"connection_id":125940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":125940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:23:04] local.INFO: TCP Data received {"connection_id":125940,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:23:04] local.INFO: Processing buffer {"connection_id":125940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:23:04] local.INFO: IMEI packet received {"connection_id":125940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":125940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:23:05] local.INFO: TCP Data received {"connection_id":125940,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f42dbdcc8012d196500071ff078003e014226..."} 
[2026-07-08 23:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42dbdcc8012d196500071ff078003e014226..."} 
[2026-07-08 23:23:05] local.INFO: Processing buffer {"connection_id":125940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42dbdcc8012d196500071ff078003e014226..."} 
[2026-07-08 23:23:05] local.INFO: Packet analysis {"connection_id":125940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42db"} 
[2026-07-08 23:23:05] local.INFO: Extracted packet for processing {"connection_id":125940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42db"} 
[2026-07-08 23:23:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584404992001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783533133000,"timestamp_ms":1783533133000,"timestamp_seconds":1783533133,"priority":1,"record_length":96,"hex_timestamp":"0000019f42dbdcc8"} 
[2026-07-08 23:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23: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-07-08 23:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584404992001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 23:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584404992001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:23:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:23:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584404992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":125940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:23:05] local.INFO: GPS data processed {"connection_id":125940,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:23:05] local.INFO: Acknowledgment sent {"connection_id":125940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:23:09] local.INFO: TCP Data received {"connection_id":125940,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f42dbdcc8012d196500071ff078003e014226..."} 
[2026-07-08 23:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42dbdcc8012d196500071ff078003e014226..."} 
[2026-07-08 23:23:09] local.INFO: Processing buffer {"connection_id":125940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42dbdcc8012d196500071ff078003e014226..."} 
[2026-07-08 23:23:09] local.INFO: Packet analysis {"connection_id":125940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42db"} 
[2026-07-08 23:23:09] local.INFO: Extracted packet for processing {"connection_id":125940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42db"} 
[2026-07-08 23:23:09] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584404992001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783533133000,"timestamp_ms":1783533133000,"timestamp_seconds":1783533133,"priority":1,"record_length":96,"hex_timestamp":"0000019f42dbdcc8"} 
[2026-07-08 23:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:23:09] 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-07-08 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":125940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":125940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":125940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584404992001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 23:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584404992001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:23:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:23:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584404992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":125940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:23:09] local.INFO: GPS data processed {"connection_id":125940,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:23:09] local.INFO: Acknowledgment sent {"connection_id":125940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:23:25] local.INFO: TCP Data received {"connection_id":125939,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125939,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:23:25] local.INFO: Processing buffer {"connection_id":125939,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:23:25] local.INFO: IMEI packet received {"connection_id":125939,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 23:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":125939,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:23:40] local.INFO: TCP Data received {"connection_id":125940,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f42dbdcc8012d196500071ff078003e014226..."} 
[2026-07-08 23:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42dbdcc8012d196500071ff078003e014226..."} 
[2026-07-08 23:23:40] local.INFO: Processing buffer {"connection_id":125940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42dbdcc8012d196500071ff078003e014226..."} 
[2026-07-08 23:23:40] local.INFO: Packet analysis {"connection_id":125940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42db"} 
[2026-07-08 23:23:40] local.INFO: Extracted packet for processing {"connection_id":125940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42db"} 
[2026-07-08 23:23:40] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584404992001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783533133000,"timestamp_ms":1783533133000,"timestamp_seconds":1783533133,"priority":1,"record_length":96,"hex_timestamp":"0000019f42dbdcc8"} 
[2026-07-08 23:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:23: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-07-08 23:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":125940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":125940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":125940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:23: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-07-08 23:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584404992001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 23:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584404992001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:23:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:23:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584404992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":125940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:23:40] local.INFO: GPS data processed {"connection_id":125940,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:23:40] local.INFO: Acknowledgment sent {"connection_id":125940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:23:52] local.INFO: TCP Data received {"connection_id":125941,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125941,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:23:52] local.INFO: Processing buffer {"connection_id":125941,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:23:52] local.INFO: IMEI packet received {"connection_id":125941,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 23:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":125941,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:23:59] local.INFO: TCP Data received {"connection_id":125943,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:23:59] local.INFO: Processing buffer {"connection_id":125943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:23:59] local.INFO: IMEI packet received {"connection_id":125943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":125943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:24:04] local.INFO: TCP Data received {"connection_id":125943,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:24:04] local.INFO: Processing buffer {"connection_id":125943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:24:04] local.INFO: IMEI packet received {"connection_id":125943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":125943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:24:05] local.INFO: TCP Data received {"connection_id":125943,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f42dbdcc8012d196500071ff078003e014226..."} 
[2026-07-08 23:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42dbdcc8012d196500071ff078003e014226..."} 
[2026-07-08 23:24:05] local.INFO: Processing buffer {"connection_id":125943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42dbdcc8012d196500071ff078003e014226..."} 
[2026-07-08 23:24:05] local.INFO: Packet analysis {"connection_id":125943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42db"} 
[2026-07-08 23:24:05] local.INFO: Extracted packet for processing {"connection_id":125943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42db"} 
[2026-07-08 23:24:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584404992001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783533133000,"timestamp_ms":1783533133000,"timestamp_seconds":1783533133,"priority":1,"record_length":96,"hex_timestamp":"0000019f42dbdcc8"} 
[2026-07-08 23:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584404992001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 23:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584404992001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:24:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:24:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584404992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":125943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:24:05] local.INFO: GPS data processed {"connection_id":125943,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:24:05] local.INFO: Acknowledgment sent {"connection_id":125943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:24:36] local.INFO: TCP Data received {"connection_id":125943,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f42dbdcc8012d196500071ff078003e014226..."} 
[2026-07-08 23:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42dbdcc8012d196500071ff078003e014226..."} 
[2026-07-08 23:24:36] local.INFO: Processing buffer {"connection_id":125943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42dbdcc8012d196500071ff078003e014226..."} 
[2026-07-08 23:24:36] local.INFO: Packet analysis {"connection_id":125943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42db"} 
[2026-07-08 23:24:36] local.INFO: Extracted packet for processing {"connection_id":125943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42db"} 
[2026-07-08 23:24:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23: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-07-08 23:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584404992001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783533133000,"timestamp_ms":1783533133000,"timestamp_seconds":1783533133,"priority":1,"record_length":96,"hex_timestamp":"0000019f42dbdcc8"} 
[2026-07-08 23:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:24:36] 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-07-08 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584404992001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 23:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584404992001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:24:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:24:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584404992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":125943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:24:36] local.INFO: GPS data processed {"connection_id":125943,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:24:36] local.INFO: Acknowledgment sent {"connection_id":125943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:24:59] local.INFO: TCP Data received {"connection_id":126826,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:24:59] local.INFO: Processing buffer {"connection_id":126826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:24:59] local.INFO: IMEI packet received {"connection_id":126826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":126826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:25:04] local.INFO: TCP Data received {"connection_id":126826,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:25:04] local.INFO: Processing buffer {"connection_id":126826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:25:04] local.INFO: IMEI packet received {"connection_id":126826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":126826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:25:04] local.INFO: TCP Data received {"connection_id":126826,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f42dbdcc8012d196500071ff078003e014226..."} 
[2026-07-08 23:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42dbdcc8012d196500071ff078003e014226..."} 
[2026-07-08 23:25:04] local.INFO: Processing buffer {"connection_id":126826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42dbdcc8012d196500071ff078003e014226..."} 
[2026-07-08 23:25:04] local.INFO: Packet analysis {"connection_id":126826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42db"} 
[2026-07-08 23:25:04] local.INFO: Extracted packet for processing {"connection_id":126826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42db"} 
[2026-07-08 23:25:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23: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-07-08 23:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584404992001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783533133000,"timestamp_ms":1783533133000,"timestamp_seconds":1783533133,"priority":1,"record_length":96,"hex_timestamp":"0000019f42dbdcc8"} 
[2026-07-08 23:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23: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-07-08 23:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":126826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":126826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":126826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584404992001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 23:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584404992001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:25:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:25:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584404992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":126826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:25:05] local.INFO: GPS data processed {"connection_id":126826,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:25:05] local.INFO: Acknowledgment sent {"connection_id":126826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:25:38] local.INFO: TCP Data received {"connection_id":126826,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f42dbdcc8012d196500071ff078003e014226..."} 
[2026-07-08 23:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42dbdcc8012d196500071ff078003e014226..."} 
[2026-07-08 23:25:38] local.INFO: Processing buffer {"connection_id":126826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42dbdcc8012d196500071ff078003e014226..."} 
[2026-07-08 23:25:38] local.INFO: Packet analysis {"connection_id":126826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42db"} 
[2026-07-08 23:25:38] local.INFO: Extracted packet for processing {"connection_id":126826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42db"} 
[2026-07-08 23:25:38] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584404992001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783533133000,"timestamp_ms":1783533133000,"timestamp_seconds":1783533133,"priority":1,"record_length":96,"hex_timestamp":"0000019f42dbdcc8"} 
[2026-07-08 23:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584404992001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 23:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584404992001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:25:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:25:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584404992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":126826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:25:38] local.INFO: GPS data processed {"connection_id":126826,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:25:38] local.INFO: Acknowledgment sent {"connection_id":126826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:26:04] local.INFO: TCP Data received {"connection_id":125944,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:26:04] local.INFO: Processing buffer {"connection_id":125944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:26:04] local.INFO: IMEI packet received {"connection_id":125944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":125944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:26:09] local.INFO: TCP Data received {"connection_id":125944,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:26:09] local.INFO: Processing buffer {"connection_id":125944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:26:09] local.INFO: IMEI packet received {"connection_id":125944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":125944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:26:10] local.INFO: TCP Data received {"connection_id":125945,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:26:10] local.INFO: Processing buffer {"connection_id":125945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:26:10] local.INFO: IMEI packet received {"connection_id":125945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":125945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:26:10] local.INFO: TCP Data received {"connection_id":125944,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f42dbdcc8012d196500071ff078003e014226..."} 
[2026-07-08 23:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42dbdcc8012d196500071ff078003e014226..."} 
[2026-07-08 23:26:10] local.INFO: Processing buffer {"connection_id":125944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42dbdcc8012d196500071ff078003e014226..."} 
[2026-07-08 23:26:10] local.INFO: Packet analysis {"connection_id":125944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42db"} 
[2026-07-08 23:26:10] local.INFO: Extracted packet for processing {"connection_id":125944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42db"} 
[2026-07-08 23:26:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584404992001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:26: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-07-08 23:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783533133000,"timestamp_ms":1783533133000,"timestamp_seconds":1783533133,"priority":1,"record_length":96,"hex_timestamp":"0000019f42dbdcc8"} 
[2026-07-08 23:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:26:10] 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-07-08 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":125944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":125944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":125944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584404992001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 23:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584404992001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:26:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:26:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584404992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":125944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:26:10] local.INFO: GPS data processed {"connection_id":125944,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:26:10] local.INFO: Acknowledgment sent {"connection_id":125944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:26:11] local.INFO: TCP Data received {"connection_id":125945,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42de8478012d597140063ea4c80000014832..."} 
[2026-07-08 23:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42de8478012d597140063ea4c80000014832..."} 
[2026-07-08 23:26:11] local.INFO: Processing buffer {"connection_id":125945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42de8478012d597140063ea4c80000014832..."} 
[2026-07-08 23:26:11] local.INFO: Packet analysis {"connection_id":125945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42de"} 
[2026-07-08 23:26:11] local.INFO: Extracted packet for processing {"connection_id":125945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42de"} 
[2026-07-08 23:26:11] local.INFO: GPS Element Parsed {"raw_longitude":760836416,"raw_latitude":104768712,"longitude_deg":76.0836416,"latitude_deg":10.4768712,"altitude":0,"angle":328,"satellites":50,"speed":61,"hex_longitude":"2d597140","hex_latitude":"063ea4c8","is_valid_coordinates":true} 
[2026-07-08 23:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584525056001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343555464799191040,"note":"Value kept but may cause issues"} 
[2026-07-08 23:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6450210224376006656,"note":"Value kept but may cause issues"} 
[2026-07-08 23:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783533307000,"timestamp_ms":1783533307000,"timestamp_seconds":1783533307,"priority":1,"record_length":96,"hex_timestamp":"0000019f42de8478"} 
[2026-07-08 23:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 23:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":125945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":125945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":125945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584525056001,"66":27300,"103":206,"78":38656,"24":61,"16":343555464799191040,"45":6450210224376006656},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,78,24,16,45]} 
[2026-07-08 23:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584525056001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:26:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 23:26:11] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-08 23:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343555464799191040,"km_value":343555464799191.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6450210224376006656,"description":"Unknown IO ID 45"} 
[2026-07-08 23:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584525056001,"power":27300,"unknown_103":206,"unknown_78":38656,"ignition":61,"odometer":null,"unknown_45":6450210224376006656}} 
[2026-07-08 23:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":125945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:26:11] local.INFO: GPS data processed {"connection_id":125945,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:26:11] local.INFO: Acknowledgment sent {"connection_id":125945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:26:14] local.INFO: TCP Data received {"connection_id":125944,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f42dbdcc8012d196500071ff078003e014226..."} 
[2026-07-08 23:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42dbdcc8012d196500071ff078003e014226..."} 
[2026-07-08 23:26:14] local.INFO: Processing buffer {"connection_id":125944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42dbdcc8012d196500071ff078003e014226..."} 
[2026-07-08 23:26:14] local.INFO: Packet analysis {"connection_id":125944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42db"} 
[2026-07-08 23:26:14] local.INFO: Extracted packet for processing {"connection_id":125944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42db"} 
[2026-07-08 23:26:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584404992001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:26:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783533133000,"timestamp_ms":1783533133000,"timestamp_seconds":1783533133,"priority":1,"record_length":96,"hex_timestamp":"0000019f42dbdcc8"} 
[2026-07-08 23:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:26:14] 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-07-08 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:26:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:26:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":125944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":125944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":125944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584404992001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 23:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584404992001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:26:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:26:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584404992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":125944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:26:14] local.INFO: GPS data processed {"connection_id":125944,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:26:14] local.INFO: Acknowledgment sent {"connection_id":125944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:26:56] local.INFO: TCP Data received {"connection_id":128077,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:26:56] local.INFO: Processing buffer {"connection_id":128077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:26:56] local.INFO: IMEI packet received {"connection_id":128077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":128077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:27:02] local.INFO: TCP Data received {"connection_id":128078,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:27:02] local.INFO: Processing buffer {"connection_id":128078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:27:02] local.INFO: IMEI packet received {"connection_id":128078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":128078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:27:04] local.INFO: TCP Data received {"connection_id":128078,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:27:04] local.INFO: Processing buffer {"connection_id":128078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:27:04] local.INFO: IMEI packet received {"connection_id":128078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":128078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:27:17] local.INFO: TCP Data received {"connection_id":128077,"ip":"42.106.6.30","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 23:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128077,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 23:27:17] local.INFO: Processing buffer {"connection_id":128077,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-08 23:27:17] local.INFO: IMEI packet received {"connection_id":128077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":128077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:27:18] local.INFO: TCP Data received {"connection_id":128078,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42dbdcc8012d196500071ff078003e014226..."} 
[2026-07-08 23:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42dbdcc8012d196500071ff078003e014226..."} 
[2026-07-08 23:27:18] local.INFO: Processing buffer {"connection_id":128078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42dbdcc8012d196500071ff078003e014226..."} 
[2026-07-08 23:27:18] local.INFO: Packet analysis {"connection_id":128078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42db"} 
[2026-07-08 23:27:18] local.INFO: Extracted packet for processing {"connection_id":128078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42db"} 
[2026-07-08 23:27:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584404992001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783533133000,"timestamp_ms":1783533133000,"timestamp_seconds":1783533133,"priority":1,"record_length":96,"hex_timestamp":"0000019f42dbdcc8"} 
[2026-07-08 23:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:27:18] 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-07-08 23:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:27:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:27:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":128078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":128078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":128078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:27:18] 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-07-08 23:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584404992001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584404992001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:27:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:27:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584404992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":128078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:27:18] local.INFO: GPS data processed {"connection_id":128078,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:27:18] local.INFO: Acknowledgment sent {"connection_id":128078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:27:18] local.INFO: TCP Data received {"connection_id":128077,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42de9be8012d595f00063ec2b80000014932..."} 
[2026-07-08 23:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42de9be8012d595f00063ec2b80000014932..."} 
[2026-07-08 23:27:18] local.INFO: Processing buffer {"connection_id":128077,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f42..."} 
[2026-07-08 23:27:18] local.INFO: IMEI packet received {"connection_id":128077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":128077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:27:19] local.INFO: TCP Data received {"connection_id":128077,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42dfd468012d586980064050500000013b34..."} 
[2026-07-08 23:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42dfd468012d586980064050500000013b34..."} 
[2026-07-08 23:27:19] local.INFO: Processing buffer {"connection_id":128077,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f42de9be8012d595f00063ec2b80000014932..."} 
[2026-07-08 23:27:19] local.INFO: Packet analysis {"connection_id":128077,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f42de"} 
[2026-07-08 23:27:19] local.INFO: Extracted packet for processing {"connection_id":128077,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42de"} 
[2026-07-08 23:27:19] local.INFO: GPS Element Parsed {"raw_longitude":760831744,"raw_latitude":104776376,"longitude_deg":76.0831744,"latitude_deg":10.4776376,"altitude":0,"angle":329,"satellites":50,"speed":59,"hex_longitude":"2d595f00","hex_latitude":"063ec2b8","is_valid_coordinates":true} 
[2026-07-08 23: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-07-08 23:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584526592001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343555894295920640,"note":"Value kept but may cause issues"} 
[2026-07-08 23:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6445002937308858368,"note":"Value kept but may cause issues"} 
[2026-07-08 23:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783533313000,"timestamp_ms":1783533313000,"timestamp_seconds":1783533313,"priority":1,"record_length":96,"hex_timestamp":"0000019f42de9be8"} 
[2026-07-08 23:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:27:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-08 23:27:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23: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-07-08 23:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":128077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":128077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":128077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:27:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584526592001,"66":27234,"103":206,"78":38656,"24":59,"16":343555894295920640,"45":6445002937308858368},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,78,24,16,45]} 
[2026-07-08 23:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584526592001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:27:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-08 23:27:19] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-08 23:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343555894295920640,"km_value":343555894295920.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6445002937308858368,"description":"Unknown IO ID 45"} 
[2026-07-08 23:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584526592001,"power":27234,"unknown_103":206,"unknown_78":38656,"ignition":59,"odometer":null,"unknown_45":6445002937308858368}} 
[2026-07-08 23:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":128077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:27:19] local.INFO: GPS data processed {"connection_id":128077,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:27:19] local.INFO: Acknowledgment sent {"connection_id":128077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:27:19] local.INFO: Packet analysis {"connection_id":128077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42df"} 
[2026-07-08 23:27:19] local.INFO: Extracted packet for processing {"connection_id":128077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42df"} 
[2026-07-08 23:27:19] local.INFO: GPS Element Parsed {"raw_longitude":760768896,"raw_latitude":104878160,"longitude_deg":76.0768896,"latitude_deg":10.487816,"altitude":0,"angle":315,"satellites":52,"speed":59,"hex_longitude":"2d586980","hex_latitude":"06405050","is_valid_coordinates":true} 
[2026-07-08 23: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-07-08 23:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584547072001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343561675321901056,"note":"Value kept but may cause issues"} 
[2026-07-08 23:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6377167467947853824,"note":"Value kept but may cause issues"} 
[2026-07-08 23:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783533393000,"timestamp_ms":1783533393000,"timestamp_seconds":1783533393,"priority":1,"record_length":96,"hex_timestamp":"0000019f42dfd468"} 
[2026-07-08 23:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:27:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 23:27:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23: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-07-08 23:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":128077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":128077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":128077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:27:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584547072001,"66":27267,"11":206,"78":38656,"24":59,"16":343561675321901056,"45":6377167467947853824},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-07-08 23:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584547072001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:27:19] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-08 23:27:19] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-08 23:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343561675321901056,"km_value":343561675321901.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6377167467947853824,"description":"Unknown IO ID 45"} 
[2026-07-08 23:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584547072001,"power":27267,"unknown_11":206,"unknown_78":38656,"ignition":59,"odometer":null,"unknown_45":6377167467947853824}} 
[2026-07-08 23:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":128077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:27:19] local.INFO: GPS data processed {"connection_id":128077,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:27:19] local.INFO: Acknowledgment sent {"connection_id":128077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:27:23] local.INFO: TCP Data received {"connection_id":128078,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42dbdcc8012d196500071ff078003e014226..."} 
[2026-07-08 23:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42dbdcc8012d196500071ff078003e014226..."} 
[2026-07-08 23:27:23] local.INFO: Processing buffer {"connection_id":128078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42dbdcc8012d196500071ff078003e014226..."} 
[2026-07-08 23:27:23] local.INFO: Packet analysis {"connection_id":128078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42db"} 
[2026-07-08 23:27:23] local.INFO: Extracted packet for processing {"connection_id":128078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42db"} 
[2026-07-08 23:27:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584404992001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783533133000,"timestamp_ms":1783533133000,"timestamp_seconds":1783533133,"priority":1,"record_length":96,"hex_timestamp":"0000019f42dbdcc8"} 
[2026-07-08 23:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:27:23] 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-07-08 23:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:27:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:27:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":128078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":128078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":128078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:27:23] 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-07-08 23:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584404992001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584404992001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:27:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:27:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584404992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":128078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:27:23] local.INFO: GPS data processed {"connection_id":128078,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:27:23] local.INFO: Acknowledgment sent {"connection_id":128078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:27:54] local.INFO: TCP Data received {"connection_id":126085,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:27:54] local.INFO: Processing buffer {"connection_id":126085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:27:54] local.INFO: IMEI packet received {"connection_id":126085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":126085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:27:55] local.INFO: TCP Data received {"connection_id":126085,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:27:55] local.INFO: Processing buffer {"connection_id":126085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:27:55] local.INFO: IMEI packet received {"connection_id":126085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":126085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:27:59] local.INFO: TCP Data received {"connection_id":126828,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:27:59] local.INFO: Processing buffer {"connection_id":126828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:27:59] local.INFO: IMEI packet received {"connection_id":126828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":126828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:28:00] local.INFO: TCP Data received {"connection_id":126085,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:28:00] local.INFO: Processing buffer {"connection_id":126085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:28:00] local.INFO: IMEI packet received {"connection_id":126085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":126085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:28:01] local.INFO: TCP Data received {"connection_id":126085,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42dfebd8012d584ec0064066d00000013031..."} 
[2026-07-08 23:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42dfebd8012d584ec0064066d00000013031..."} 
[2026-07-08 23:28:01] local.INFO: Processing buffer {"connection_id":126085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42dfebd8012d584ec0064066d00000013031..."} 
[2026-07-08 23:28:01] local.INFO: Packet analysis {"connection_id":126085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42df"} 
[2026-07-08 23:28:01] local.INFO: Extracted packet for processing {"connection_id":126085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42df"} 
[2026-07-08 23:28:01] local.INFO: GPS Element Parsed {"raw_longitude":760762048,"raw_latitude":104883920,"longitude_deg":76.0762048,"latitude_deg":10.488392,"altitude":0,"angle":304,"satellites":49,"speed":56,"hex_longitude":"2d584ec0","hex_latitude":"064066d0","is_valid_coordinates":true} 
[2026-07-08 23:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584548608001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343562104818630656,"note":"Value kept but may cause issues"} 
[2026-07-08 23:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6370763912229441536,"note":"Value kept but may cause issues"} 
[2026-07-08 23:28:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783533399000,"timestamp_ms":1783533399000,"timestamp_seconds":1783533399,"priority":1,"record_length":96,"hex_timestamp":"0000019f42dfebd8"} 
[2026-07-08 23:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 23:28:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:28:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584548608001,"66":27332,"111":206,"78":38912,"24":56,"16":343562104818630656,"45":6370763912229441536},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,78,24,16,45]} 
[2026-07-08 23:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584548608001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:28:01] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-08 23:28:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-08 23:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343562104818630656,"km_value":343562104818630.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6370763912229441536,"description":"Unknown IO ID 45"} 
[2026-07-08 23:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584548608001,"power":27332,"unknown_111":206,"unknown_78":38912,"ignition":56,"odometer":null,"unknown_45":6370763912229441536}} 
[2026-07-08 23:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":126085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:28:01] local.INFO: GPS data processed {"connection_id":126085,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:28:01] local.INFO: Acknowledgment sent {"connection_id":126085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:28:04] local.INFO: TCP Data received {"connection_id":126828,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:28:04] local.INFO: Processing buffer {"connection_id":126828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:28:04] local.INFO: IMEI packet received {"connection_id":126828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":126828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:28:05] local.INFO: TCP Data received {"connection_id":126828,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e07490012d196500071ff078003e014226..."} 
[2026-07-08 23:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e07490012d196500071ff078003e014226..."} 
[2026-07-08 23:28:05] local.INFO: Processing buffer {"connection_id":126828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e07490012d196500071ff078003e014226..."} 
[2026-07-08 23:28:05] local.INFO: Packet analysis {"connection_id":126828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e0"} 
[2026-07-08 23:28:05] local.INFO: Extracted packet for processing {"connection_id":126828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e0"} 
[2026-07-08 23:28:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584482048001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783533434000,"timestamp_ms":1783533434000,"timestamp_seconds":1783533434,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e07490"} 
[2026-07-08 23:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:28:05] 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-07-08 23:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584482048001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584482048001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:28:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:28:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584482048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":126828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:28:05] local.INFO: GPS data processed {"connection_id":126828,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:28:05] local.INFO: Acknowledgment sent {"connection_id":126828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:28:34] local.INFO: TCP Data received {"connection_id":126085,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42dfebd8012d584ec0064066d00000013031..."} 
[2026-07-08 23:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42dfebd8012d584ec0064066d00000013031..."} 
[2026-07-08 23:28:34] local.INFO: Processing buffer {"connection_id":126085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42dfebd8012d584ec0064066d00000013031..."} 
[2026-07-08 23:28:34] local.INFO: Packet analysis {"connection_id":126085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42df"} 
[2026-07-08 23:28:34] local.INFO: Extracted packet for processing {"connection_id":126085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42df"} 
[2026-07-08 23:28:34] local.INFO: GPS Element Parsed {"raw_longitude":760762048,"raw_latitude":104883920,"longitude_deg":76.0762048,"latitude_deg":10.488392,"altitude":0,"angle":304,"satellites":49,"speed":56,"hex_longitude":"2d584ec0","hex_latitude":"064066d0","is_valid_coordinates":true} 
[2026-07-08 23: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-07-08 23:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584550144001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343562104818630656,"note":"Value kept but may cause issues"} 
[2026-07-08 23:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6363234456603906048,"note":"Value kept but may cause issues"} 
[2026-07-08 23:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783533399000,"timestamp_ms":1783533399000,"timestamp_seconds":1783533399,"priority":1,"record_length":96,"hex_timestamp":"0000019f42dfebd8"} 
[2026-07-08 23:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:28: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-07-08 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-08 23:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23: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-07-08 23:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":126085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":126085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":126085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584550144001,"66":27332,"111":206,"78":38912,"24":56,"16":343562104818630656,"45":6363234456603906048},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,78,24,16,45]} 
[2026-07-08 23:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584550144001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:28:34] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-08 23:28:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-08 23:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343562104818630656,"km_value":343562104818630.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6363234456603906048,"description":"Unknown IO ID 45"} 
[2026-07-08 23:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584550144001,"power":27332,"unknown_111":206,"unknown_78":38912,"ignition":56,"odometer":null,"unknown_45":6363234456603906048}} 
[2026-07-08 23:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":126085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:28:34] local.INFO: GPS data processed {"connection_id":126085,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:28:34] local.INFO: Acknowledgment sent {"connection_id":126085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:28:36] local.INFO: TCP Data received {"connection_id":126828,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e07490012d196500071ff078003e014226..."} 
[2026-07-08 23:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e07490012d196500071ff078003e014226..."} 
[2026-07-08 23:28:36] local.INFO: Processing buffer {"connection_id":126828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e07490012d196500071ff078003e014226..."} 
[2026-07-08 23:28:36] local.INFO: Packet analysis {"connection_id":126828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e0"} 
[2026-07-08 23:28:36] local.INFO: Extracted packet for processing {"connection_id":126828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e0"} 
[2026-07-08 23:28:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584482048001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783533434000,"timestamp_ms":1783533434000,"timestamp_seconds":1783533434,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e07490"} 
[2026-07-08 23:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:28:36] 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-07-08 23:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584482048001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584482048001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:28:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:28:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584482048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":126828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:28:36] local.INFO: GPS data processed {"connection_id":126828,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:28:36] local.INFO: Acknowledgment sent {"connection_id":126828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:28:58] local.INFO: TCP Data received {"connection_id":128079,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:28:58] local.INFO: Processing buffer {"connection_id":128079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:28:58] local.INFO: IMEI packet received {"connection_id":128079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":128079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:28:59] local.INFO: TCP Data received {"connection_id":128080,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:28:59] local.INFO: Processing buffer {"connection_id":128080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:28:59] local.INFO: IMEI packet received {"connection_id":128080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":128080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:28:59] local.INFO: TCP Data received {"connection_id":128079,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:28:59] local.INFO: Processing buffer {"connection_id":128079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:28:59] local.INFO: IMEI packet received {"connection_id":128079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":128079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:29:04] local.INFO: TCP Data received {"connection_id":128080,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:29:04] local.INFO: Processing buffer {"connection_id":128080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:29:04] local.INFO: IMEI packet received {"connection_id":128080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":128080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:29:05] local.INFO: TCP Data received {"connection_id":128079,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:29:05] local.INFO: Processing buffer {"connection_id":128079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:29:05] local.INFO: IMEI packet received {"connection_id":128079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":128079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:29:05] local.INFO: TCP Data received {"connection_id":128080,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e07490012d196500071ff078003e014226..."} 
[2026-07-08 23:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e07490012d196500071ff078003e014226..."} 
[2026-07-08 23:29:05] local.INFO: Processing buffer {"connection_id":128080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e07490012d196500071ff078003e014226..."} 
[2026-07-08 23:29:05] local.INFO: Packet analysis {"connection_id":128080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e0"} 
[2026-07-08 23:29:05] local.INFO: Extracted packet for processing {"connection_id":128080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e0"} 
[2026-07-08 23:29:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584482048001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783533434000,"timestamp_ms":1783533434000,"timestamp_seconds":1783533434,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e07490"} 
[2026-07-08 23:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584482048001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584482048001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:29:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:29:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584482048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":128080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:29:05] local.INFO: GPS data processed {"connection_id":128080,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:29:05] local.INFO: Acknowledgment sent {"connection_id":128080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:29:06] local.INFO: TCP Data received {"connection_id":128079,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e13010012d56de8006412cd0000b014332..."} 
[2026-07-08 23:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e13010012d56de8006412cd0000b014332..."} 
[2026-07-08 23:29:06] local.INFO: Processing buffer {"connection_id":128079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e13010012d56de8006412cd0000b014332..."} 
[2026-07-08 23:29:06] local.INFO: Packet analysis {"connection_id":128079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e1"} 
[2026-07-08 23:29:06] local.INFO: Extracted packet for processing {"connection_id":128079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e1"} 
[2026-07-08 23:29:06] local.INFO: GPS Element Parsed {"raw_longitude":760667776,"raw_latitude":104934608,"longitude_deg":76.0667776,"latitude_deg":10.4934608,"altitude":11,"angle":323,"satellites":50,"speed":59,"hex_longitude":"2d56de80","hex_latitude":"06412cd0","is_valid_coordinates":true} 
[2026-07-08 23:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584569600001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343567267369320448,"note":"Value kept but may cause issues"} 
[2026-07-08 23:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6267040383324139520,"note":"Value kept but may cause issues"} 
[2026-07-08 23:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783533482000,"timestamp_ms":1783533482000,"timestamp_seconds":1783533482,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e13010"} 
[2026-07-08 23:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 23:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":128079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":128079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":128079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584569600001,"66":27484,"249":206,"78":38912,"24":59,"16":343567267369320448,"45":6267040383324139520},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,78,24,16,45]} 
[2026-07-08 23:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584569600001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:29:06] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-08 23:29:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-08 23:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343567267369320448,"km_value":343567267369320.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6267040383324139520,"description":"Unknown IO ID 45"} 
[2026-07-08 23:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584569600001,"power":27484,"unknown_249":206,"unknown_78":38912,"ignition":59,"odometer":null,"unknown_45":6267040383324139520}} 
[2026-07-08 23:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":128079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:29:06] local.INFO: GPS data processed {"connection_id":128079,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:29:06] local.INFO: Acknowledgment sent {"connection_id":128079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:29:08] local.INFO: TCP Data received {"connection_id":128079,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e14780012d56ca0006414a58000a014634..."} 
[2026-07-08 23:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e14780012d56ca0006414a58000a014634..."} 
[2026-07-08 23:29:08] local.INFO: Processing buffer {"connection_id":128079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e14780012d56ca0006414a58000a014634..."} 
[2026-07-08 23:29:08] local.INFO: Packet analysis {"connection_id":128079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e1"} 
[2026-07-08 23:29:08] local.INFO: Extracted packet for processing {"connection_id":128079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e1"} 
[2026-07-08 23:29:08] local.INFO: GPS Element Parsed {"raw_longitude":760662528,"raw_latitude":104942168,"longitude_deg":76.0662528,"latitude_deg":10.4942168,"altitude":10,"angle":326,"satellites":52,"speed":60,"hex_longitude":"2d56ca00","hex_latitude":"06414a58","is_valid_coordinates":true} 
[2026-07-08 23:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584571392001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343567709750951936,"note":"Value kept but may cause issues"} 
[2026-07-08 23:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6259581296443183104,"note":"Value kept but may cause issues"} 
[2026-07-08 23:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783533488000,"timestamp_ms":1783533488000,"timestamp_seconds":1783533488,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e14780"} 
[2026-07-08 23:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 23:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":128079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":128079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":128079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584571392001,"66":27343,"249":206,"78":38912,"24":60,"16":343567709750951936,"45":6259581296443183104},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,78,24,16,45]} 
[2026-07-08 23:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584571392001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:29:08] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-08 23:29:08] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-08 23:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343567709750951936,"km_value":343567709750951.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6259581296443183104,"description":"Unknown IO ID 45"} 
[2026-07-08 23:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584571392001,"power":27343,"unknown_249":206,"unknown_78":38912,"ignition":60,"odometer":null,"unknown_45":6259581296443183104}} 
[2026-07-08 23:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":128079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:29:08] local.INFO: GPS data processed {"connection_id":128079,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:29:08] local.INFO: Acknowledgment sent {"connection_id":128079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:29:13] local.INFO: TCP Data received {"connection_id":126086,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126086,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:29:13] local.INFO: Processing buffer {"connection_id":126086,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:29:13] local.INFO: IMEI packet received {"connection_id":126086,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 23:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":126086,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:29:36] local.INFO: TCP Data received {"connection_id":128080,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e07490012d196500071ff078003e014226..."} 
[2026-07-08 23:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e07490012d196500071ff078003e014226..."} 
[2026-07-08 23:29:36] local.INFO: Processing buffer {"connection_id":128080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e07490012d196500071ff078003e014226..."} 
[2026-07-08 23:29:36] local.INFO: Packet analysis {"connection_id":128080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e0"} 
[2026-07-08 23:29:36] local.INFO: Extracted packet for processing {"connection_id":128080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e0"} 
[2026-07-08 23:29:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584482048001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783533434000,"timestamp_ms":1783533434000,"timestamp_seconds":1783533434,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e07490"} 
[2026-07-08 23:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584482048001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584482048001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:29:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:29:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584482048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":128080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:29:36] local.INFO: GPS data processed {"connection_id":128080,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:29:36] local.INFO: Acknowledgment sent {"connection_id":128080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:29:39] local.INFO: TCP Data received {"connection_id":128079,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e15ef0012d56b780064168980008014a32..."} 
[2026-07-08 23:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e15ef0012d56b780064168980008014a32..."} 
[2026-07-08 23:29:39] local.INFO: Processing buffer {"connection_id":128079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e15ef0012d56b780064168980008014a32..."} 
[2026-07-08 23:29:39] local.INFO: Packet analysis {"connection_id":128079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e1"} 
[2026-07-08 23:29:39] local.INFO: Extracted packet for processing {"connection_id":128079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e1"} 
[2026-07-08 23:29:39] local.INFO: GPS Element Parsed {"raw_longitude":760657792,"raw_latitude":104949912,"longitude_deg":76.0657792,"latitude_deg":10.4949912,"altitude":8,"angle":330,"satellites":50,"speed":59,"hex_longitude":"2d56b780","hex_latitude":"06416898","is_valid_coordinates":true} 
[2026-07-08 23:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584572928001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343568147837616128,"note":"Value kept but may cause issues"} 
[2026-07-08 23:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6253811059422550016,"note":"Value kept but may cause issues"} 
[2026-07-08 23:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783533494000,"timestamp_ms":1783533494000,"timestamp_seconds":1783533494,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e15ef0"} 
[2026-07-08 23:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 23:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":128079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":128079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":128079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584572928001,"66":27365,"249":206,"78":38912,"24":59,"16":343568147837616128,"45":6253811059422550016},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,78,24,16,45]} 
[2026-07-08 23:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584572928001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:29:39] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-08 23:29:39] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-08 23:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343568147837616128,"km_value":343568147837616.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":6253811059422550016,"description":"Unknown IO ID 45"} 
[2026-07-08 23:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584572928001,"power":27365,"unknown_249":206,"unknown_78":38912,"ignition":59,"odometer":null,"unknown_45":6253811059422550016}} 
[2026-07-08 23:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":128079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:29:39] local.INFO: GPS data processed {"connection_id":128079,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:29:39] local.INFO: Acknowledgment sent {"connection_id":128079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:29:55] local.INFO: TCP Data received {"connection_id":126087,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126087,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:29:55] local.INFO: Processing buffer {"connection_id":126087,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:29:55] local.INFO: IMEI packet received {"connection_id":126087,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 23:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":126087,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:29:56] local.INFO: TCP Data received {"connection_id":125946,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:29:56] local.INFO: Processing buffer {"connection_id":125946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:29:56] local.INFO: IMEI packet received {"connection_id":125946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":125946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:29:57] local.INFO: TCP Data received {"connection_id":125946,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:29:57] local.INFO: Processing buffer {"connection_id":125946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:29:57] local.INFO: IMEI packet received {"connection_id":125946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":125946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:30:04] local.INFO: TCP Data received {"connection_id":128081,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:30:04] local.INFO: Processing buffer {"connection_id":128081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:30:04] local.INFO: IMEI packet received {"connection_id":128081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":128081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:30:04] local.INFO: TCP Data received {"connection_id":125946,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e17660012d56a680064187f00006014d34..."} 
[2026-07-08 23:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e17660012d56a680064187f00006014d34..."} 
[2026-07-08 23:30:04] local.INFO: Processing buffer {"connection_id":125946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e17660012d56a680064187f00006014d34..."} 
[2026-07-08 23:30:04] local.INFO: Packet analysis {"connection_id":125946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e1"} 
[2026-07-08 23:30:04] local.INFO: Extracted packet for processing {"connection_id":125946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e1"} 
[2026-07-08 23:30:04] local.INFO: GPS Element Parsed {"raw_longitude":760653440,"raw_latitude":104957936,"longitude_deg":76.065344,"latitude_deg":10.4957936,"altitude":6,"angle":333,"satellites":52,"speed":60,"hex_longitude":"2d56a680","hex_latitude":"064187f0","is_valid_coordinates":true} 
[2026-07-08 23: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-07-08 23:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584574464001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343568590219247616,"note":"Value kept but may cause issues"} 
[2026-07-08 23:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6248603772355385344,"note":"Value kept but may cause issues"} 
[2026-07-08 23:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783533500000,"timestamp_ms":1783533500000,"timestamp_seconds":1783533500,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e17660"} 
[2026-07-08 23:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 23:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23: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-07-08 23:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584574464001,"66":27321,"249":206,"78":38912,"24":60,"16":343568590219247616,"45":6248603772355385344},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,78,24,16,45]} 
[2026-07-08 23:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584574464001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:30:04] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-08 23:30:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-08 23:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343568590219247616,"km_value":343568590219247.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6248603772355385344,"description":"Unknown IO ID 45"} 
[2026-07-08 23:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584574464001,"power":27321,"unknown_249":206,"unknown_78":38912,"ignition":60,"odometer":null,"unknown_45":6248603772355385344}} 
[2026-07-08 23:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":125946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:30:04] local.INFO: GPS data processed {"connection_id":125946,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:30:04] local.INFO: Acknowledgment sent {"connection_id":125946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:30:07] local.INFO: TCP Data received {"connection_id":125946,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e18dd0012d5696c00641a8500003014d33..."} 
[2026-07-08 23:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e18dd0012d5696c00641a8500003014d33..."} 
[2026-07-08 23:30:07] local.INFO: Processing buffer {"connection_id":125946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e18dd0012d5696c00641a8500003014d33..."} 
[2026-07-08 23:30:07] local.INFO: Packet analysis {"connection_id":125946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e1"} 
[2026-07-08 23:30:07] local.INFO: Extracted packet for processing {"connection_id":125946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e1"} 
[2026-07-08 23:30:07] local.INFO: GPS Element Parsed {"raw_longitude":760649408,"raw_latitude":104966224,"longitude_deg":76.0649408,"latitude_deg":10.4966224,"altitude":3,"angle":333,"satellites":51,"speed":61,"hex_longitude":"2d5696c0","hex_latitude":"0641a850","is_valid_coordinates":true} 
[2026-07-08 23:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584576000001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343569032600879104,"note":"Value kept but may cause issues"} 
[2026-07-08 23:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6243818697753358336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783533506000,"timestamp_ms":1783533506000,"timestamp_seconds":1783533506,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e18dd0"} 
[2026-07-08 23:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 23:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584576000001,"66":27332,"249":206,"78":38912,"24":61,"16":343569032600879104,"45":6243818697753358336},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,78,24,16,45]} 
[2026-07-08 23:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584576000001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:30:07] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-08 23:30:07] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-08 23:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343569032600879104,"km_value":343569032600879.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6243818697753358336,"description":"Unknown IO ID 45"} 
[2026-07-08 23:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584576000001,"power":27332,"unknown_249":206,"unknown_78":38912,"ignition":61,"odometer":null,"unknown_45":6243818697753358336}} 
[2026-07-08 23:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":125946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:30:07] local.INFO: GPS data processed {"connection_id":125946,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:30:07] local.INFO: Acknowledgment sent {"connection_id":125946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:30:09] local.INFO: TCP Data received {"connection_id":128081,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:30:09] local.INFO: Processing buffer {"connection_id":128081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:30:09] local.INFO: IMEI packet received {"connection_id":128081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":128081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:30:14] local.INFO: TCP Data received {"connection_id":128081,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e07490012d196500071ff078003e014226..."} 
[2026-07-08 23:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e07490012d196500071ff078003e014226..."} 
[2026-07-08 23:30:14] local.INFO: Processing buffer {"connection_id":128081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e07490012d196500071ff078003e014226..."} 
[2026-07-08 23:30:14] local.INFO: Packet analysis {"connection_id":128081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e0"} 
[2026-07-08 23:30:14] local.INFO: Extracted packet for processing {"connection_id":128081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e0"} 
[2026-07-08 23:30:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584482048001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783533434000,"timestamp_ms":1783533434000,"timestamp_seconds":1783533434,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e07490"} 
[2026-07-08 23:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":128081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":128081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":128081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:30:14] 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-07-08 23:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584482048001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584482048001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:30:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:30:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584482048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":128081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:30:14] local.INFO: GPS data processed {"connection_id":128081,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:30:14] local.INFO: Acknowledgment sent {"connection_id":128081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:30:19] local.INFO: TCP Data received {"connection_id":128081,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e07490012d196500071ff078003e014226..."} 
[2026-07-08 23:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e07490012d196500071ff078003e014226..."} 
[2026-07-08 23:30:19] local.INFO: Processing buffer {"connection_id":128081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e07490012d196500071ff078003e014226..."} 
[2026-07-08 23:30:19] local.INFO: Packet analysis {"connection_id":128081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e0"} 
[2026-07-08 23:30:19] local.INFO: Extracted packet for processing {"connection_id":128081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e0"} 
[2026-07-08 23:30:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584482048001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783533434000,"timestamp_ms":1783533434000,"timestamp_seconds":1783533434,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e07490"} 
[2026-07-08 23:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:30:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:30:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:30:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":128081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":128081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":128081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:30:19] 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-07-08 23:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584482048001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584482048001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:30:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:30:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584482048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":128081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:30:19] local.INFO: GPS data processed {"connection_id":128081,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:30:19] local.INFO: Acknowledgment sent {"connection_id":128081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:30:41] local.INFO: TCP Data received {"connection_id":125946,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e2c268012d55c300064334500006014f33..."} 
[2026-07-08 23:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e2c268012d55c300064334500006014f33..."} 
[2026-07-08 23:30:41] local.INFO: Processing buffer {"connection_id":125946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e2c268012d55c300064334500006014f33..."} 
[2026-07-08 23:30:41] local.INFO: Packet analysis {"connection_id":125946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e2"} 
[2026-07-08 23:30:41] local.INFO: Extracted packet for processing {"connection_id":125946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e2"} 
[2026-07-08 23:30:41] local.INFO: GPS Element Parsed {"raw_longitude":760595200,"raw_latitude":105067600,"longitude_deg":76.05952,"latitude_deg":10.50676,"altitude":6,"angle":335,"satellites":51,"speed":53,"hex_longitude":"2d55c300","hex_latitude":"06433450","is_valid_coordinates":true} 
[2026-07-08 23:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584595968001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343574594583527424,"note":"Value kept but may cause issues"} 
[2026-07-08 23:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6184216371460753408,"note":"Value kept but may cause issues"} 
[2026-07-08 23:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783533585000,"timestamp_ms":1783533585000,"timestamp_seconds":1783533585,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e2c268"} 
[2026-07-08 23:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-08 23:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":125946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":125946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":125946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584595968001,"66":27245,"216":206,"78":38912,"24":53,"16":343574594583527424,"45":6184216371460753408},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-07-08 23:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584595968001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:30:41] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-08 23:30:41] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-08 23:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343574594583527424,"km_value":343574594583527.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6184216371460753408,"description":"Unknown IO ID 45"} 
[2026-07-08 23:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584595968001,"power":27245,"unknown_216":206,"unknown_78":38912,"ignition":53,"odometer":null,"unknown_45":6184216371460753408}} 
[2026-07-08 23:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":125946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:30:41] local.INFO: GPS data processed {"connection_id":125946,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:30:41] local.INFO: Acknowledgment sent {"connection_id":125946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:30:55] local.INFO: TCP Data received {"connection_id":126088,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:30:55] local.INFO: Processing buffer {"connection_id":126088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:30:55] local.INFO: IMEI packet received {"connection_id":126088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":126088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:30:56] local.INFO: TCP Data received {"connection_id":126088,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:30:56] local.INFO: Processing buffer {"connection_id":126088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:30:56] local.INFO: IMEI packet received {"connection_id":126088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":126088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:30:59] local.INFO: TCP Data received {"connection_id":128084,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:30:59] local.INFO: Processing buffer {"connection_id":128084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:30:59] local.INFO: IMEI packet received {"connection_id":128084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":128084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:30:59] local.INFO: TCP Data received {"connection_id":126088,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:30:59] local.INFO: Processing buffer {"connection_id":126088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:30:59] local.INFO: IMEI packet received {"connection_id":126088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":126088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:31:00] local.INFO: TCP Data received {"connection_id":126088,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e2ddc0012d55b2c0064355900007014e33..."} 
[2026-07-08 23:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e2ddc0012d55b2c0064355900007014e33..."} 
[2026-07-08 23:31:00] local.INFO: Processing buffer {"connection_id":126088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e2ddc0012d55b2c0064355900007014e33..."} 
[2026-07-08 23:31:00] local.INFO: Packet analysis {"connection_id":126088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e2"} 
[2026-07-08 23:31:00] local.INFO: Extracted packet for processing {"connection_id":126088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e2"} 
[2026-07-08 23:31:00] local.INFO: GPS Element Parsed {"raw_longitude":760591040,"raw_latitude":105076112,"longitude_deg":76.059104,"latitude_deg":10.5076112,"altitude":7,"angle":334,"satellites":51,"speed":54,"hex_longitude":"2d55b2c0","hex_latitude":"06435590","is_valid_coordinates":true} 
[2026-07-08 23:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584597760001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343575054145028096,"note":"Value kept but may cause issues"} 
[2026-07-08 23:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6179783140579758080,"note":"Value kept but may cause issues"} 
[2026-07-08 23:31:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783533592000,"timestamp_ms":1783533592000,"timestamp_seconds":1783533592,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e2ddc0"} 
[2026-07-08 23:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-08 23:31:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:31:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584597760001,"66":27213,"216":206,"78":38912,"24":54,"16":343575054145028096,"45":6179783140579758080},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-07-08 23:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584597760001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:31:00] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-08 23:31:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-08 23:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343575054145028096,"km_value":343575054145028.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6179783140579758080,"description":"Unknown IO ID 45"} 
[2026-07-08 23:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584597760001,"power":27213,"unknown_216":206,"unknown_78":38912,"ignition":54,"odometer":null,"unknown_45":6179783140579758080}} 
[2026-07-08 23:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":126088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:31:00] local.INFO: GPS data processed {"connection_id":126088,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:31:00] local.INFO: Acknowledgment sent {"connection_id":126088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:31:04] local.INFO: TCP Data received {"connection_id":128084,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:31:04] local.INFO: Processing buffer {"connection_id":128084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:31:04] local.INFO: IMEI packet received {"connection_id":128084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":128084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:31:05] local.INFO: TCP Data received {"connection_id":128084,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e07490012d196500071ff078003e014226..."} 
[2026-07-08 23:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e07490012d196500071ff078003e014226..."} 
[2026-07-08 23:31:05] local.INFO: Processing buffer {"connection_id":128084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e07490012d196500071ff078003e014226..."} 
[2026-07-08 23:31:05] local.INFO: Packet analysis {"connection_id":128084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e0"} 
[2026-07-08 23:31:05] local.INFO: Extracted packet for processing {"connection_id":128084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e0"} 
[2026-07-08 23:31:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584482048001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783533434000,"timestamp_ms":1783533434000,"timestamp_seconds":1783533434,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e07490"} 
[2026-07-08 23:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584482048001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 23:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584482048001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:31:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:31:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584482048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":128084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:31:05] local.INFO: GPS data processed {"connection_id":128084,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:31:05] local.INFO: Acknowledgment sent {"connection_id":128084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:31:31] local.INFO: TCP Data received {"connection_id":126088,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e2f918012d55a280064377e80008014d33..."} 
[2026-07-08 23:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e2f918012d55a280064377e80008014d33..."} 
[2026-07-08 23:31:31] local.INFO: Processing buffer {"connection_id":126088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e2f918012d55a280064377e80008014d33..."} 
[2026-07-08 23:31:31] local.INFO: Packet analysis {"connection_id":126088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e2"} 
[2026-07-08 23:31:31] local.INFO: Extracted packet for processing {"connection_id":126088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e2"} 
[2026-07-08 23:31:31] local.INFO: GPS Element Parsed {"raw_longitude":760586880,"raw_latitude":105084904,"longitude_deg":76.058688,"latitude_deg":10.5084904,"altitude":8,"angle":333,"satellites":51,"speed":56,"hex_longitude":"2d55a280","hex_latitude":"064377e8","is_valid_coordinates":true} 
[2026-07-08 23:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584599552001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343575522296463360,"note":"Value kept but may cause issues"} 
[2026-07-08 23:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6175209172210388992,"note":"Value kept but may cause issues"} 
[2026-07-08 23:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783533599000,"timestamp_ms":1783533599000,"timestamp_seconds":1783533599,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e2f918"} 
[2026-07-08 23:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-08 23:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":126088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":126088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":126088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584599552001,"66":27245,"216":206,"78":38912,"24":56,"16":343575522296463360,"45":6175209172210388992},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-07-08 23:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584599552001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:31:31] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-08 23:31:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-08 23:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343575522296463360,"km_value":343575522296463.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6175209172210388992,"description":"Unknown IO ID 45"} 
[2026-07-08 23:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584599552001,"power":27245,"unknown_216":206,"unknown_78":38912,"ignition":56,"odometer":null,"unknown_45":6175209172210388992}} 
[2026-07-08 23:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":126088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:31:31] local.INFO: GPS data processed {"connection_id":126088,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:31:31] local.INFO: Acknowledgment sent {"connection_id":126088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:31:36] local.INFO: TCP Data received {"connection_id":128084,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e07490012d196500071ff078003e014226..."} 
[2026-07-08 23:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e07490012d196500071ff078003e014226..."} 
[2026-07-08 23:31:36] local.INFO: Processing buffer {"connection_id":128084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e07490012d196500071ff078003e014226..."} 
[2026-07-08 23:31:36] local.INFO: Packet analysis {"connection_id":128084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e0"} 
[2026-07-08 23:31:36] local.INFO: Extracted packet for processing {"connection_id":128084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e0"} 
[2026-07-08 23:31:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584482048001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783533434000,"timestamp_ms":1783533434000,"timestamp_seconds":1783533434,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e07490"} 
[2026-07-08 23:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584482048001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 23:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584482048001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:31:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:31:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584482048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":128084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:31:36] local.INFO: GPS data processed {"connection_id":128084,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:31:36] local.INFO: Acknowledgment sent {"connection_id":128084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:31:53] local.INFO: TCP Data received {"connection_id":126829,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:31:53] local.INFO: Processing buffer {"connection_id":126829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:31:53] local.INFO: IMEI packet received {"connection_id":126829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":126829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:31:54] local.INFO: TCP Data received {"connection_id":126829,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:31:54] local.INFO: Processing buffer {"connection_id":126829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:31:54] local.INFO: IMEI packet received {"connection_id":126829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":126829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:31:59] local.INFO: TCP Data received {"connection_id":126089,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:31:59] local.INFO: Processing buffer {"connection_id":126089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:31:59] local.INFO: IMEI packet received {"connection_id":126089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":126089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:32:00] local.INFO: TCP Data received {"connection_id":126829,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:32:00] local.INFO: Processing buffer {"connection_id":126829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:32:00] local.INFO: IMEI packet received {"connection_id":126829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":126829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:32:01] local.INFO: TCP Data received {"connection_id":126829,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e31470012d558f0006439b900007014a31..."} 
[2026-07-08 23:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e31470012d558f0006439b900007014a31..."} 
[2026-07-08 23:32:01] local.INFO: Processing buffer {"connection_id":126829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e31470012d558f0006439b900007014a31..."} 
[2026-07-08 23:32:01] local.INFO: Packet analysis {"connection_id":126829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e3"} 
[2026-07-08 23:32:01] local.INFO: Extracted packet for processing {"connection_id":126829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e3"} 
[2026-07-08 23:32:01] local.INFO: GPS Element Parsed {"raw_longitude":760581888,"raw_latitude":105094032,"longitude_deg":76.0581888,"latitude_deg":10.5094032,"altitude":7,"angle":330,"satellites":49,"speed":61,"hex_longitude":"2d558f00","hex_latitude":"06439b90","is_valid_coordinates":true} 
[2026-07-08 23:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584601344001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343576024807636992,"note":"Value kept but may cause issues"} 
[2026-07-08 23:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6170635203841091584,"note":"Value kept but may cause issues"} 
[2026-07-08 23:32:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783533606000,"timestamp_ms":1783533606000,"timestamp_seconds":1783533606,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e31470"} 
[2026-07-08 23:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-08 23:32:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:32:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584601344001,"66":27245,"216":206,"78":38912,"24":61,"16":343576024807636992,"45":6170635203841091584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-07-08 23:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584601344001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:32:01] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-08 23:32:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-08 23:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343576024807636992,"km_value":343576024807637.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6170635203841091584,"description":"Unknown IO ID 45"} 
[2026-07-08 23:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584601344001,"power":27245,"unknown_216":206,"unknown_78":38912,"ignition":61,"odometer":null,"unknown_45":6170635203841091584}} 
[2026-07-08 23:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":126829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:32:01] local.INFO: GPS data processed {"connection_id":126829,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:32:01] local.INFO: Acknowledgment sent {"connection_id":126829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:32:04] local.INFO: TCP Data received {"connection_id":126089,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:32:04] local.INFO: Processing buffer {"connection_id":126089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:32:04] local.INFO: IMEI packet received {"connection_id":126089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":126089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:32:05] local.INFO: TCP Data received {"connection_id":126089,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e07490012d196500071ff078003e014226..."} 
[2026-07-08 23:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e07490012d196500071ff078003e014226..."} 
[2026-07-08 23:32:05] local.INFO: Processing buffer {"connection_id":126089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e07490012d196500071ff078003e014226..."} 
[2026-07-08 23:32:05] local.INFO: Packet analysis {"connection_id":126089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e0"} 
[2026-07-08 23:32:05] local.INFO: Extracted packet for processing {"connection_id":126089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e0"} 
[2026-07-08 23:32:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584482048001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783533434000,"timestamp_ms":1783533434000,"timestamp_seconds":1783533434,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e07490"} 
[2026-07-08 23:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:32:05] 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-07-08 23:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584482048001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584482048001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:32:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:32:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584482048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":126089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:32:05] local.INFO: GPS data processed {"connection_id":126089,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:32:05] local.INFO: Acknowledgment sent {"connection_id":126089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:32:09] local.INFO: TCP Data received {"connection_id":126089,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e07490012d196500071ff078003e014226..."} 
[2026-07-08 23:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e07490012d196500071ff078003e014226..."} 
[2026-07-08 23:32:09] local.INFO: Processing buffer {"connection_id":126089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e07490012d196500071ff078003e014226..."} 
[2026-07-08 23:32:09] local.INFO: Packet analysis {"connection_id":126089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e0"} 
[2026-07-08 23:32:09] local.INFO: Extracted packet for processing {"connection_id":126089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e0"} 
[2026-07-08 23:32:09] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584482048001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783533434000,"timestamp_ms":1783533434000,"timestamp_seconds":1783533434,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e07490"} 
[2026-07-08 23:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":126089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":126089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":126089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:32:09] 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-07-08 23:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584482048001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584482048001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:32:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:32:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584482048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":126089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:32:09] local.INFO: GPS data processed {"connection_id":126089,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:32:09] local.INFO: Acknowledgment sent {"connection_id":126089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:32:31] local.INFO: TCP Data received {"connection_id":126829,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e47018012d549e80064544e80003014c31..."} 
[2026-07-08 23:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e47018012d549e80064544e80003014c31..."} 
[2026-07-08 23:32:31] local.INFO: Processing buffer {"connection_id":126829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e47018012d549e80064544e80003014c31..."} 
[2026-07-08 23:32:31] local.INFO: Packet analysis {"connection_id":126829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e4"} 
[2026-07-08 23:32:31] local.INFO: Extracted packet for processing {"connection_id":126829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e4"} 
[2026-07-08 23:32:31] local.INFO: GPS Element Parsed {"raw_longitude":760520320,"raw_latitude":105202920,"longitude_deg":76.052032,"latitude_deg":10.520292,"altitude":3,"angle":332,"satellites":49,"speed":59,"hex_longitude":"2d549e80","hex_latitude":"064544e8","is_valid_coordinates":true} 
[2026-07-08 23: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-07-08 23:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584624384001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343582072121589760,"note":"Value kept but may cause issues"} 
[2026-07-08 23:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6102166415784409088,"note":"Value kept but may cause issues"} 
[2026-07-08 23:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783533695000,"timestamp_ms":1783533695000,"timestamp_seconds":1783533695,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e47018"} 
[2026-07-08 23:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:32: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-07-08 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 23:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23: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-07-08 23:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":126829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":126829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":126829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584624384001,"66":27343,"232":206,"78":38912,"24":59,"16":343582072121589760,"45":6102166415784409088},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,78,24,16,45]} 
[2026-07-08 23:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584624384001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:32:31] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-08 23:32:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-08 23:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343582072121589760,"km_value":343582072121589.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6102166415784409088,"description":"Unknown IO ID 45"} 
[2026-07-08 23:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584624384001,"power":27343,"unknown_232":206,"unknown_78":38912,"ignition":59,"odometer":null,"unknown_45":6102166415784409088}} 
[2026-07-08 23:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":126829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:32:31] local.INFO: GPS data processed {"connection_id":126829,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:32:31] local.INFO: Acknowledgment sent {"connection_id":126829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:32:42] local.INFO: TCP Data received {"connection_id":126089,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e07490012d196500071ff078003e014226..."} 
[2026-07-08 23:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e07490012d196500071ff078003e014226..."} 
[2026-07-08 23:32:42] local.INFO: Processing buffer {"connection_id":126089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e07490012d196500071ff078003e014226..."} 
[2026-07-08 23:32:42] local.INFO: Packet analysis {"connection_id":126089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e0"} 
[2026-07-08 23:32:42] local.INFO: Extracted packet for processing {"connection_id":126089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e0"} 
[2026-07-08 23:32:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584482048001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:32: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-07-08 23:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783533434000,"timestamp_ms":1783533434000,"timestamp_seconds":1783533434,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e07490"} 
[2026-07-08 23:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":126089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":126089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":126089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:32:42] 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-07-08 23:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584482048001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584482048001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:32:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:32:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584482048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":126089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:32:42] local.INFO: GPS data processed {"connection_id":126089,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:32:42] local.INFO: Acknowledgment sent {"connection_id":126089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:32:54] local.INFO: TCP Data received {"connection_id":126090,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:32:54] local.INFO: Processing buffer {"connection_id":126090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:32:54] local.INFO: IMEI packet received {"connection_id":126090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":126090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:32:59] local.INFO: TCP Data received {"connection_id":126091,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:32:59] local.INFO: Processing buffer {"connection_id":126091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:32:59] local.INFO: IMEI packet received {"connection_id":126091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":126091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:32:59] local.INFO: TCP Data received {"connection_id":126090,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:32:59] local.INFO: Processing buffer {"connection_id":126090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:32:59] local.INFO: IMEI packet received {"connection_id":126090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":126090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:33:00] local.INFO: TCP Data received {"connection_id":126090,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e48788012d548d80064563b80002014b30..."} 
[2026-07-08 23:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e48788012d548d80064563b80002014b30..."} 
[2026-07-08 23:33:00] local.INFO: Processing buffer {"connection_id":126090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e48788012d548d80064563b80002014b30..."} 
[2026-07-08 23:33:00] local.INFO: Packet analysis {"connection_id":126090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e4"} 
[2026-07-08 23:33:00] local.INFO: Extracted packet for processing {"connection_id":126090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e4"} 
[2026-07-08 23:33:00] local.INFO: GPS Element Parsed {"raw_longitude":760515968,"raw_latitude":105210808,"longitude_deg":76.0515968,"latitude_deg":10.5210808,"altitude":2,"angle":331,"satellites":48,"speed":58,"hex_longitude":"2d548d80","hex_latitude":"064563b8","is_valid_coordinates":true} 
[2026-07-08 23:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584625920001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343582505913286656,"note":"Value kept but may cause issues"} 
[2026-07-08 23:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6097451709926533120,"note":"Value kept but may cause issues"} 
[2026-07-08 23:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783533701000,"timestamp_ms":1783533701000,"timestamp_seconds":1783533701,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e48788"} 
[2026-07-08 23:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 23:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:33:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584625920001,"66":27234,"232":206,"78":38912,"24":58,"16":343582505913286656,"45":6097451709926533120},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,78,24,16,45]} 
[2026-07-08 23:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584625920001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:33:00] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-08 23:33:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-08 23:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343582505913286656,"km_value":343582505913286.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6097451709926533120,"description":"Unknown IO ID 45"} 
[2026-07-08 23:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584625920001,"power":27234,"unknown_232":206,"unknown_78":38912,"ignition":58,"odometer":null,"unknown_45":6097451709926533120}} 
[2026-07-08 23:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":126090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:33:00] local.INFO: GPS data processed {"connection_id":126090,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:33:00] local.INFO: Acknowledgment sent {"connection_id":126090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:33:04] local.INFO: TCP Data received {"connection_id":126091,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:33:04] local.INFO: Processing buffer {"connection_id":126091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:33:04] local.INFO: IMEI packet received {"connection_id":126091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":126091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:33:05] local.INFO: TCP Data received {"connection_id":126091,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e50c58012d196500071ff078003e014227..."} 
[2026-07-08 23:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e50c58012d196500071ff078003e014227..."} 
[2026-07-08 23:33:05] local.INFO: Processing buffer {"connection_id":126091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e50c58012d196500071ff078003e014227..."} 
[2026-07-08 23:33:05] local.INFO: Packet analysis {"connection_id":126091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e5"} 
[2026-07-08 23:33:05] local.INFO: Extracted packet for processing {"connection_id":126091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e5"} 
[2026-07-08 23:33:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584559104001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783533735000,"timestamp_ms":1783533735000,"timestamp_seconds":1783533735,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e50c58"} 
[2026-07-08 23:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 23:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584559104001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584559104001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:33:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:33:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584559104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":126091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:33:05] local.INFO: GPS data processed {"connection_id":126091,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:33:05] local.INFO: Acknowledgment sent {"connection_id":126091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:33:31] local.INFO: TCP Data received {"connection_id":126090,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e4a2e0012d547b00064586600003014c31..."} 
[2026-07-08 23:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e4a2e0012d547b00064586600003014c31..."} 
[2026-07-08 23:33:31] local.INFO: Processing buffer {"connection_id":126090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e4a2e0012d547b00064586600003014c31..."} 
[2026-07-08 23:33:31] local.INFO: Packet analysis {"connection_id":126090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e4"} 
[2026-07-08 23:33:31] local.INFO: Extracted packet for processing {"connection_id":126090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e4"} 
[2026-07-08 23:33:31] local.INFO: GPS Element Parsed {"raw_longitude":760511232,"raw_latitude":105219680,"longitude_deg":76.0511232,"latitude_deg":10.521968,"altitude":3,"angle":332,"satellites":49,"speed":54,"hex_longitude":"2d547b00","hex_latitude":"06458660","is_valid_coordinates":true} 
[2026-07-08 23: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-07-08 23:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584627456001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343582991244591104,"note":"Value kept but may cause issues"} 
[2026-07-08 23:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6092666635324471296,"note":"Value kept but may cause issues"} 
[2026-07-08 23:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783533708000,"timestamp_ms":1783533708000,"timestamp_seconds":1783533708,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e4a2e0"} 
[2026-07-08 23:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:33: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-07-08 23: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-08 23:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23: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-07-08 23:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":126090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":126090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":126090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584627456001,"66":27213,"232":206,"78":38912,"24":54,"16":343582991244591104,"45":6092666635324471296},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,78,24,16,45]} 
[2026-07-08 23:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584627456001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:33:31] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-08 23:33:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-08 23:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343582991244591104,"km_value":343582991244591.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6092666635324471296,"description":"Unknown IO ID 45"} 
[2026-07-08 23:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584627456001,"power":27213,"unknown_232":206,"unknown_78":38912,"ignition":54,"odometer":null,"unknown_45":6092666635324471296}} 
[2026-07-08 23:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":126090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:33:31] local.INFO: GPS data processed {"connection_id":126090,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:33:31] local.INFO: Acknowledgment sent {"connection_id":126090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:33:36] local.INFO: TCP Data received {"connection_id":126091,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e50c58012d196500071ff078003e014227..."} 
[2026-07-08 23:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e50c58012d196500071ff078003e014227..."} 
[2026-07-08 23:33:36] local.INFO: Processing buffer {"connection_id":126091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e50c58012d196500071ff078003e014227..."} 
[2026-07-08 23:33:36] local.INFO: Packet analysis {"connection_id":126091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e5"} 
[2026-07-08 23:33:36] local.INFO: Extracted packet for processing {"connection_id":126091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e5"} 
[2026-07-08 23:33:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584559104001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783533735000,"timestamp_ms":1783533735000,"timestamp_seconds":1783533735,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e50c58"} 
[2026-07-08 23:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 23:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:33:36] 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-07-08 23:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584559104001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584559104001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:33:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:33:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584559104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":126091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:33:36] local.INFO: GPS data processed {"connection_id":126091,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:33:36] local.INFO: Acknowledgment sent {"connection_id":126091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:33:59] local.INFO: TCP Data received {"connection_id":125948,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:33:59] local.INFO: Processing buffer {"connection_id":125948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:33:59] local.INFO: IMEI packet received {"connection_id":125948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":125948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:34:00] local.INFO: TCP Data received {"connection_id":126092,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:34:00] local.INFO: Processing buffer {"connection_id":126092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:34:00] local.INFO: IMEI packet received {"connection_id":126092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":126092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:34:04] local.INFO: TCP Data received {"connection_id":126092,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:34:04] local.INFO: Processing buffer {"connection_id":126092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:34:04] local.INFO: IMEI packet received {"connection_id":126092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":126092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:34:04] local.INFO: TCP Data received {"connection_id":125948,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:34:04] local.INFO: Processing buffer {"connection_id":125948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:34:04] local.INFO: IMEI packet received {"connection_id":125948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":125948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:34:05] local.INFO: TCP Data received {"connection_id":125948,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e50c58012d196500071ff078003e014227..."} 
[2026-07-08 23:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e50c58012d196500071ff078003e014227..."} 
[2026-07-08 23:34:05] local.INFO: Processing buffer {"connection_id":125948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e50c58012d196500071ff078003e014227..."} 
[2026-07-08 23:34:05] local.INFO: Packet analysis {"connection_id":125948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e5"} 
[2026-07-08 23:34:05] local.INFO: Extracted packet for processing {"connection_id":125948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e5"} 
[2026-07-08 23:34:05] local.INFO: TCP Data received {"connection_id":126092,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e4be38012d5469c00645a6400003014c31..."} 
[2026-07-08 23:34:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23: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-07-08 23:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584559104001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783533735000,"timestamp_ms":1783533735000,"timestamp_seconds":1783533735,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e50c58"} 
[2026-07-08 23:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 23:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23: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-07-08 23:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":125948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":125948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":125948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:34:05] 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-07-08 23:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e4be38012d5469c00645a6400003014c31..."} 
[2026-07-08 23:34:05] local.INFO: Processing buffer {"connection_id":126092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e4be38012d5469c00645a6400003014c31..."} 
[2026-07-08 23:34:05] local.INFO: Packet analysis {"connection_id":126092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e4"} 
[2026-07-08 23:34:05] local.INFO: Extracted packet for processing {"connection_id":126092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e4"} 
[2026-07-08 23:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584559104001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:34:05] local.INFO: GPS Element Parsed {"raw_longitude":760506816,"raw_latitude":105227840,"longitude_deg":76.0506816,"latitude_deg":10.522784,"altitude":3,"angle":332,"satellites":49,"speed":50,"hex_longitude":"2d5469c0","hex_latitude":"0645a640","is_valid_coordinates":true} 
[2026-07-08 23:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23: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-07-08 23:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584629248001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343583437921189888,"note":"Value kept but may cause issues"} 
[2026-07-08 23:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6087459348257595392,"note":"Value kept but may cause issues"} 
[2026-07-08 23:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783533715000,"timestamp_ms":1783533715000,"timestamp_seconds":1783533715,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e4be38"} 
[2026-07-08 23:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-08 23:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23: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-07-08 23:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584559104001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:34:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:34:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584559104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584629248001,"66":26452,"232":206,"78":38912,"24":50,"16":343583437921189888,"45":6087459348257595392},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,78,24,16,45]} 
[2026-07-08 23:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584629248001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:34:05] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-08 23:34:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-08 23:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343583437921189888,"km_value":343583437921189.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6087459348257595392,"description":"Unknown IO ID 45"} 
[2026-07-08 23:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584629248001,"power":26452,"unknown_232":206,"unknown_78":38912,"ignition":50,"odometer":null,"unknown_45":6087459348257595392}} 
[2026-07-08 23:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":126092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:34:05] local.INFO: GPS data processed {"connection_id":126092,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:34:05] local.INFO: Acknowledgment sent {"connection_id":126092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":125948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:34:05] local.INFO: GPS data processed {"connection_id":125948,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:34:05] local.INFO: Acknowledgment sent {"connection_id":125948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:34:05] local.INFO: TCP Data received {"connection_id":126092,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e4d990012d5459800645c4f80002014b30..."} 
[2026-07-08 23:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e4d990012d5459800645c4f80002014b30..."} 
[2026-07-08 23:34:05] local.INFO: Processing buffer {"connection_id":126092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e4d990012d5459800645c4f80002014b30..."} 
[2026-07-08 23:34:05] local.INFO: Packet analysis {"connection_id":126092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e4"} 
[2026-07-08 23:34:05] local.INFO: Extracted packet for processing {"connection_id":126092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e4"} 
[2026-07-08 23:34:05] local.INFO: GPS Element Parsed {"raw_longitude":760502656,"raw_latitude":105235704,"longitude_deg":76.0502656,"latitude_deg":10.5235704,"altitude":2,"angle":331,"satellites":48,"speed":51,"hex_longitude":"2d545980","hex_latitude":"0645c4f8","is_valid_coordinates":true} 
[2026-07-08 23: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-07-08 23:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584631040001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343583867417919488,"note":"Value kept but may cause issues"} 
[2026-07-08 23:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6082603904911425536,"note":"Value kept but may cause issues"} 
[2026-07-08 23:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783533722000,"timestamp_ms":1783533722000,"timestamp_seconds":1783533722,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e4d990"} 
[2026-07-08 23:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-08 23:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23: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-07-08 23:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584631040001,"66":27321,"99":206,"78":38912,"24":51,"16":343583867417919488,"45":6082603904911425536},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-07-08 23:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584631040001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:34:05] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-08 23:34:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-08 23:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343583867417919488,"km_value":343583867417919.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6082603904911425536,"description":"Unknown IO ID 45"} 
[2026-07-08 23:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584631040001,"power":27321,"unknown_99":206,"unknown_78":38912,"ignition":51,"odometer":null,"unknown_45":6082603904911425536}} 
[2026-07-08 23:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":126092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:34:05] local.INFO: GPS data processed {"connection_id":126092,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:34:05] local.INFO: Acknowledgment sent {"connection_id":126092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:34:36] local.INFO: TCP Data received {"connection_id":125948,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e50c58012d196500071ff078003e014227..."} 
[2026-07-08 23:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e50c58012d196500071ff078003e014227..."} 
[2026-07-08 23:34:36] local.INFO: Processing buffer {"connection_id":125948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e50c58012d196500071ff078003e014227..."} 
[2026-07-08 23:34:36] local.INFO: Packet analysis {"connection_id":125948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e5"} 
[2026-07-08 23:34:36] local.INFO: Extracted packet for processing {"connection_id":125948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e5"} 
[2026-07-08 23:34:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23: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-07-08 23:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584559104001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783533735000,"timestamp_ms":1783533735000,"timestamp_seconds":1783533735,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e50c58"} 
[2026-07-08 23:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 23:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23: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-07-08 23:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":125948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":125948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":125948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:34:36] 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-07-08 23:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584559104001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584559104001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:34:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:34:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584559104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":125948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:34:36] local.INFO: GPS data processed {"connection_id":125948,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:34:36] local.INFO: Acknowledgment sent {"connection_id":125948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:34:37] local.INFO: TCP Data received {"connection_id":126092,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e64ca8012d53db8006473288000b000030..."} 
[2026-07-08 23:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e64ca8012d53db8006473288000b000030..."} 
[2026-07-08 23:34:37] local.INFO: Processing buffer {"connection_id":126092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e64ca8012d53db8006473288000b000030..."} 
[2026-07-08 23:34:37] local.INFO: Packet analysis {"connection_id":126092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e6"} 
[2026-07-08 23:34:37] local.INFO: Extracted packet for processing {"connection_id":126092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e6"} 
[2026-07-08 23:34:37] local.INFO: GPS Element Parsed {"raw_longitude":760470400,"raw_latitude":105329288,"longitude_deg":76.04704,"latitude_deg":10.5329288,"altitude":11,"angle":0,"satellites":48,"speed":35,"hex_longitude":"2d53db80","hex_latitude":"06473288","is_valid_coordinates":true} 
[2026-07-08 23:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584654080001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343588767975604224,"note":"Value kept but may cause issues"} 
[2026-07-08 23:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042775195730395136,"note":"Value kept but may cause issues"} 
[2026-07-08 23:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783533817000,"timestamp_ms":1783533817000,"timestamp_seconds":1783533817,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e64ca8"} 
[2026-07-08 23:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 23:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":126092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":126092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":126092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584654080001,"66":27332,"194":206,"78":38912,"24":35,"16":343588767975604224,"45":6042775195730395136},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,78,24,16,45]} 
[2026-07-08 23:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584654080001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:34:37] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-08 23:34:37] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-08 23:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343588767975604224,"km_value":343588767975604.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042775195730395136,"description":"Unknown IO ID 45"} 
[2026-07-08 23:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584654080001,"power":27332,"unknown_194":206,"unknown_78":38912,"ignition":35,"odometer":null,"unknown_45":6042775195730395136}} 
[2026-07-08 23:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":126092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:34:37] local.INFO: GPS data processed {"connection_id":126092,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:34:37] local.INFO: Acknowledgment sent {"connection_id":126092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:34:54] local.INFO: TCP Data received {"connection_id":128087,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:34:54] local.INFO: Processing buffer {"connection_id":128087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:34:54] local.INFO: IMEI packet received {"connection_id":128087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":128087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:34:55] local.INFO: TCP Data received {"connection_id":128087,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:34:55] local.INFO: Processing buffer {"connection_id":128087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:34:55] local.INFO: IMEI packet received {"connection_id":128087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":128087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:34:59] local.INFO: TCP Data received {"connection_id":128088,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128088,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:34:59] local.INFO: Processing buffer {"connection_id":128088,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:34:59] local.INFO: IMEI packet received {"connection_id":128088,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":128088,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:35:00] local.INFO: TCP Data received {"connection_id":128087,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:35:00] local.INFO: Processing buffer {"connection_id":128087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:35:00] local.INFO: IMEI packet received {"connection_id":128087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":128087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:35:02] local.INFO: TCP Data received {"connection_id":128087,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e673b8012d53db8006475808000a016730..."} 
[2026-07-08 23:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e673b8012d53db8006475808000a016730..."} 
[2026-07-08 23:35:02] local.INFO: Processing buffer {"connection_id":128087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e673b8012d53db8006475808000a016730..."} 
[2026-07-08 23:35:02] local.INFO: Packet analysis {"connection_id":128087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e6"} 
[2026-07-08 23:35:02] local.INFO: Extracted packet for processing {"connection_id":128087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e6"} 
[2026-07-08 23:35:02] local.INFO: GPS Element Parsed {"raw_longitude":760470400,"raw_latitude":105338888,"longitude_deg":76.04704,"latitude_deg":10.5338888,"altitude":10,"angle":359,"satellites":48,"speed":39,"hex_longitude":"2d53db80","hex_latitude":"06475808","is_valid_coordinates":true} 
[2026-07-08 23:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584657152001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343589236127039488,"note":"Value kept but may cause issues"} 
[2026-07-08 23:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042564089500305408,"note":"Value kept but may cause issues"} 
[2026-07-08 23:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783533827000,"timestamp_ms":1783533827000,"timestamp_seconds":1783533827,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e673b8"} 
[2026-07-08 23:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:35: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-07-08 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-08 23:35:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:35:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":128087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":128087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":128087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584657152001,"66":27376,"194":206,"78":38912,"24":39,"16":343589236127039488,"45":6042564089500305408},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,78,24,16,45]} 
[2026-07-08 23:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584657152001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:35:02] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-08 23:35:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-08 23:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343589236127039488,"km_value":343589236127039.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042564089500305408,"description":"Unknown IO ID 45"} 
[2026-07-08 23:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584657152001,"power":27376,"unknown_194":206,"unknown_78":38912,"ignition":39,"odometer":null,"unknown_45":6042564089500305408}} 
[2026-07-08 23:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":128087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:35:02] local.INFO: GPS data processed {"connection_id":128087,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:35:02] local.INFO: Acknowledgment sent {"connection_id":128087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:35:04] local.INFO: TCP Data received {"connection_id":128088,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128088,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:35:04] local.INFO: Processing buffer {"connection_id":128088,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:35:04] local.INFO: IMEI packet received {"connection_id":128088,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":128088,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:35:05] local.INFO: TCP Data received {"connection_id":128088,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e50c58012d196500071ff078003e014227..."} 
[2026-07-08 23:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e50c58012d196500071ff078003e014227..."} 
[2026-07-08 23:35:05] local.INFO: Processing buffer {"connection_id":128088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e50c58012d196500071ff078003e014227..."} 
[2026-07-08 23:35:05] local.INFO: Packet analysis {"connection_id":128088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e5"} 
[2026-07-08 23:35:05] local.INFO: Extracted packet for processing {"connection_id":128088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e5"} 
[2026-07-08 23:35:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584559104001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783533735000,"timestamp_ms":1783533735000,"timestamp_seconds":1783533735,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e50c58"} 
[2026-07-08 23:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 23:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:35:05] 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-07-08 23:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584559104001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584559104001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:35:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:35:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584559104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":128088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:35:05] local.INFO: GPS data processed {"connection_id":128088,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:35:05] local.INFO: Acknowledgment sent {"connection_id":128088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:35:05] local.INFO: TCP Data received {"connection_id":128087,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e69ac8012d53db4006477cb00008016630..."} 
[2026-07-08 23:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e69ac8012d53db4006477cb00008016630..."} 
[2026-07-08 23:35:05] local.INFO: Processing buffer {"connection_id":128087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e69ac8012d53db4006477cb00008016630..."} 
[2026-07-08 23:35:05] local.INFO: Packet analysis {"connection_id":128087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e6"} 
[2026-07-08 23:35:05] local.INFO: Extracted packet for processing {"connection_id":128087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e6"} 
[2026-07-08 23:35:05] local.INFO: GPS Element Parsed {"raw_longitude":760470336,"raw_latitude":105348272,"longitude_deg":76.0470336,"latitude_deg":10.5348272,"altitude":8,"angle":358,"satellites":48,"speed":39,"hex_longitude":"2d53db40","hex_latitude":"06477cb0","is_valid_coordinates":true} 
[2026-07-08 23:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584659712001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343589691393572864,"note":"Value kept but may cause issues"} 
[2026-07-08 23:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042564089502763008,"note":"Value kept but may cause issues"} 
[2026-07-08 23:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783533837000,"timestamp_ms":1783533837000,"timestamp_seconds":1783533837,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e69ac8"} 
[2026-07-08 23:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 23:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584659712001,"66":27332,"194":206,"78":38912,"24":39,"16":343589691393572864,"45":6042564089502763008},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,78,24,16,45]} 
[2026-07-08 23:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584659712001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:35:05] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-08 23:35:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-08 23:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343589691393572864,"km_value":343589691393572.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042564089502763008,"description":"Unknown IO ID 45"} 
[2026-07-08 23:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584659712001,"power":27332,"unknown_194":206,"unknown_78":38912,"ignition":39,"odometer":null,"unknown_45":6042564089502763008}} 
[2026-07-08 23:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":128087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:35:05] local.INFO: GPS data processed {"connection_id":128087,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:35:05] local.INFO: Acknowledgment sent {"connection_id":128087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:35:20] local.INFO: TCP Data received {"connection_id":126093,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126093,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:35:20] local.INFO: Processing buffer {"connection_id":126093,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:35:20] local.INFO: IMEI packet received {"connection_id":126093,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 23:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":126093,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:35:36] local.INFO: TCP Data received {"connection_id":128088,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e50c58012d196500071ff078003e014227..."} 
[2026-07-08 23:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e50c58012d196500071ff078003e014227..."} 
[2026-07-08 23:35:36] local.INFO: Processing buffer {"connection_id":128088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e50c58012d196500071ff078003e014227..."} 
[2026-07-08 23:35:36] local.INFO: Packet analysis {"connection_id":128088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e5"} 
[2026-07-08 23:35:36] local.INFO: Extracted packet for processing {"connection_id":128088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e5"} 
[2026-07-08 23:35:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23: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-07-08 23:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584559104001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783533735000,"timestamp_ms":1783533735000,"timestamp_seconds":1783533735,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e50c58"} 
[2026-07-08 23:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 23:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23: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-07-08 23:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:35:36] 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-07-08 23:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584559104001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584559104001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:35:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:35:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584559104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":128088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:35:36] local.INFO: GPS data processed {"connection_id":128088,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:35:36] local.INFO: Acknowledgment sent {"connection_id":128088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:35:37] local.INFO: TCP Data received {"connection_id":128087,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e6c1d8012d53da800647a1c80004016630..."} 
[2026-07-08 23:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e6c1d8012d53da800647a1c80004016630..."} 
[2026-07-08 23:35:37] local.INFO: Processing buffer {"connection_id":128087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e6c1d8012d53da800647a1c80004016630..."} 
[2026-07-08 23:35:37] local.INFO: Packet analysis {"connection_id":128087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e6"} 
[2026-07-08 23:35:37] local.INFO: Extracted packet for processing {"connection_id":128087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e6"} 
[2026-07-08 23:35:37] local.INFO: GPS Element Parsed {"raw_longitude":760470144,"raw_latitude":105357768,"longitude_deg":76.0470144,"latitude_deg":10.5357768,"altitude":4,"angle":358,"satellites":48,"speed":34,"hex_longitude":"2d53da80","hex_latitude":"0647a1c8","is_valid_coordinates":true} 
[2026-07-08 23:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584662272001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343590150955073536,"note":"Value kept but may cause issues"} 
[2026-07-08 23:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042493720760987648,"note":"Value kept but may cause issues"} 
[2026-07-08 23:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783533847000,"timestamp_ms":1783533847000,"timestamp_seconds":1783533847,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e6c1d8"} 
[2026-07-08 23:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-08 23:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":128087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":128087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":128087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584662272001,"66":27267,"194":206,"78":38912,"24":34,"16":343590150955073536,"45":6042493720760987648},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,78,24,16,45]} 
[2026-07-08 23:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584662272001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:35:37] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-08 23:35:37] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-08 23:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343590150955073536,"km_value":343590150955073.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042493720760987648,"description":"Unknown IO ID 45"} 
[2026-07-08 23:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584662272001,"power":27267,"unknown_194":206,"unknown_78":38912,"ignition":34,"odometer":null,"unknown_45":6042493720760987648}} 
[2026-07-08 23:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":128087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:35:37] local.INFO: GPS data processed {"connection_id":128087,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:35:37] local.INFO: Acknowledgment sent {"connection_id":128087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:35:54] local.INFO: TCP Data received {"connection_id":125949,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:35:54] local.INFO: Processing buffer {"connection_id":125949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:35:54] local.INFO: IMEI packet received {"connection_id":125949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":125949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:35:57] local.INFO: TCP Data received {"connection_id":125949,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:35:57] local.INFO: Processing buffer {"connection_id":125949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:35:57] local.INFO: IMEI packet received {"connection_id":125949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":125949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:35:59] local.INFO: TCP Data received {"connection_id":125950,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125950,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:35:59] local.INFO: Processing buffer {"connection_id":125950,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:35:59] local.INFO: IMEI packet received {"connection_id":125950,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 23:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":125950,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:35:59] local.INFO: TCP Data received {"connection_id":125949,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:35:59] local.INFO: Processing buffer {"connection_id":125949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:35:59] local.INFO: IMEI packet received {"connection_id":125949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":125949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:36:00] local.INFO: TCP Data received {"connection_id":125949,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e6e8e8012d53dac00647c6000004000132..."} 
[2026-07-08 23:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e6e8e8012d53dac00647c6000004000132..."} 
[2026-07-08 23:36:00] local.INFO: Processing buffer {"connection_id":125949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e6e8e8012d53dac00647c6000004000132..."} 
[2026-07-08 23:36:00] local.INFO: Packet analysis {"connection_id":125949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e6"} 
[2026-07-08 23:36:00] local.INFO: Extracted packet for processing {"connection_id":125949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e6"} 
[2026-07-08 23:36:00] local.INFO: GPS Element Parsed {"raw_longitude":760470208,"raw_latitude":105367040,"longitude_deg":76.0470208,"latitude_deg":10.536704,"altitude":4,"angle":1,"satellites":50,"speed":38,"hex_longitude":"2d53dac0","hex_latitude":"0647c600","is_valid_coordinates":true} 
[2026-07-08 23:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584664832001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343590601926639616,"note":"Value kept but may cause issues"} 
[2026-07-08 23:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042282614530885632,"note":"Value kept but may cause issues"} 
[2026-07-08 23:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783533857000,"timestamp_ms":1783533857000,"timestamp_seconds":1783533857,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e6e8e8"} 
[2026-07-08 23:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 23:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:36:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":125949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":125949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":125949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584664832001,"66":27267,"194":206,"78":38912,"24":38,"16":343590601926639616,"45":6042282614530885632},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,78,24,16,45]} 
[2026-07-08 23:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584664832001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:36:00] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-08 23:36:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-08 23:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343590601926639616,"km_value":343590601926639.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042282614530885632,"description":"Unknown IO ID 45"} 
[2026-07-08 23:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584664832001,"power":27267,"unknown_194":206,"unknown_78":38912,"ignition":38,"odometer":null,"unknown_45":6042282614530885632}} 
[2026-07-08 23:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":125949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:36:00] local.INFO: GPS data processed {"connection_id":125949,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:36:00] local.INFO: Acknowledgment sent {"connection_id":125949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:36:04] local.INFO: TCP Data received {"connection_id":125949,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e70ff8012d53db400647eba00004016731..."} 
[2026-07-08 23:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e70ff8012d53db400647eba00004016731..."} 
[2026-07-08 23:36:04] local.INFO: Processing buffer {"connection_id":125949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e70ff8012d53db400647eba00004016731..."} 
[2026-07-08 23:36:04] local.INFO: Packet analysis {"connection_id":125949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e7"} 
[2026-07-08 23:36:04] local.INFO: Extracted packet for processing {"connection_id":125949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e7"} 
[2026-07-08 23:36:04] local.INFO: GPS Element Parsed {"raw_longitude":760470336,"raw_latitude":105376672,"longitude_deg":76.0470336,"latitude_deg":10.5376672,"altitude":4,"angle":359,"satellites":49,"speed":38,"hex_longitude":"2d53db40","hex_latitude":"0647eba0","is_valid_coordinates":true} 
[2026-07-08 23:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584667392001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343591065783107584,"note":"Value kept but may cause issues"} 
[2026-07-08 23:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042352983277436928,"note":"Value kept but may cause issues"} 
[2026-07-08 23:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783533867000,"timestamp_ms":1783533867000,"timestamp_seconds":1783533867,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e70ff8"} 
[2026-07-08 23:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 23:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584667392001,"66":27267,"194":206,"78":38912,"24":38,"16":343591065783107584,"45":6042352983277436928},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,78,24,16,45]} 
[2026-07-08 23:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584667392001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:36:04] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-08 23:36:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-08 23:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343591065783107584,"km_value":343591065783107.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042352983277436928,"description":"Unknown IO ID 45"} 
[2026-07-08 23:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584667392001,"power":27267,"unknown_194":206,"unknown_78":38912,"ignition":38,"odometer":null,"unknown_45":6042352983277436928}} 
[2026-07-08 23:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":125949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:36:04] local.INFO: GPS data processed {"connection_id":125949,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:36:04] local.INFO: Acknowledgment sent {"connection_id":125949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:36:04] local.INFO: TCP Data received {"connection_id":125951,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:36:04] local.INFO: Processing buffer {"connection_id":125951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:36:04] local.INFO: IMEI packet received {"connection_id":125951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":125951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:36:09] local.INFO: TCP Data received {"connection_id":125951,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:36:09] local.INFO: Processing buffer {"connection_id":125951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:36:09] local.INFO: IMEI packet received {"connection_id":125951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":125951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:36:14] local.INFO: TCP Data received {"connection_id":125951,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e50c58012d196500071ff078003e014227..."} 
[2026-07-08 23:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e50c58012d196500071ff078003e014227..."} 
[2026-07-08 23:36:14] local.INFO: Processing buffer {"connection_id":125951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e50c58012d196500071ff078003e014227..."} 
[2026-07-08 23:36:14] local.INFO: Packet analysis {"connection_id":125951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e5"} 
[2026-07-08 23:36:14] local.INFO: Extracted packet for processing {"connection_id":125951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e5"} 
[2026-07-08 23:36:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584559104001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783533735000,"timestamp_ms":1783533735000,"timestamp_seconds":1783533735,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e50c58"} 
[2026-07-08 23:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 23:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":125951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":125951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":125951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:36:14] 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-07-08 23:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584559104001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584559104001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:36:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:36:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584559104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":125951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:36:14] local.INFO: GPS data processed {"connection_id":125951,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:36:14] local.INFO: Acknowledgment sent {"connection_id":125951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:36:14] local.INFO: TCP Data received {"connection_id":125951,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e50c58012d196500071ff078003e014227..."} 
[2026-07-08 23:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e50c58012d196500071ff078003e014227..."} 
[2026-07-08 23:36:14] local.INFO: Processing buffer {"connection_id":125951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e50c58012d196500071ff078003e014227..."} 
[2026-07-08 23:36:14] local.INFO: Packet analysis {"connection_id":125951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e5"} 
[2026-07-08 23:36:14] local.INFO: Extracted packet for processing {"connection_id":125951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e5"} 
[2026-07-08 23:36:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584559104001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783533735000,"timestamp_ms":1783533735000,"timestamp_seconds":1783533735,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e50c58"} 
[2026-07-08 23:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 23:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":125951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":125951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":125951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:36:14] 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-07-08 23:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584559104001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584559104001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:36:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:36:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584559104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":125951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:36:15] local.INFO: GPS data processed {"connection_id":125951,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:36:15] local.INFO: Acknowledgment sent {"connection_id":125951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:36:35] local.INFO: TCP Data received {"connection_id":125949,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e73320012d53da00064810300004016330..."} 
[2026-07-08 23:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e73320012d53da00064810300004016330..."} 
[2026-07-08 23:36:35] local.INFO: Processing buffer {"connection_id":125949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e73320012d53da00064810300004016330..."} 
[2026-07-08 23:36:35] local.INFO: Packet analysis {"connection_id":125949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e7"} 
[2026-07-08 23:36:35] local.INFO: Extracted packet for processing {"connection_id":125949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e7"} 
[2026-07-08 23:36:35] local.INFO: GPS Element Parsed {"raw_longitude":760470016,"raw_latitude":105386032,"longitude_deg":76.0470016,"latitude_deg":10.5386032,"altitude":4,"angle":355,"satellites":48,"speed":43,"hex_longitude":"2d53da00","hex_latitude":"06481030","is_valid_coordinates":true} 
[2026-07-08 23: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-07-08 23:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584669952001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343591521049640960,"note":"Value kept but may cause issues"} 
[2026-07-08 23:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042493720768258048,"note":"Value kept but may cause issues"} 
[2026-07-08 23:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783533876000,"timestamp_ms":1783533876000,"timestamp_seconds":1783533876,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e73320"} 
[2026-07-08 23:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 23:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23: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-07-08 23:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584669952001,"66":27332,"194":206,"78":38912,"24":43,"16":343591521049640960,"45":6042493720768258048},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,78,24,16,45]} 
[2026-07-08 23:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584669952001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:36:35] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-08 23:36:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-08 23:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343591521049640960,"km_value":343591521049640.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042493720768258048,"description":"Unknown IO ID 45"} 
[2026-07-08 23:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584669952001,"power":27332,"unknown_194":206,"unknown_78":38912,"ignition":43,"odometer":null,"unknown_45":6042493720768258048}} 
[2026-07-08 23:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":125949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:36:35] local.INFO: GPS data processed {"connection_id":125949,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:36:35] local.INFO: Acknowledgment sent {"connection_id":125949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:36:53] local.INFO: TCP Data received {"connection_id":128089,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:36:53] local.INFO: Processing buffer {"connection_id":128089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:36:53] local.INFO: IMEI packet received {"connection_id":128089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":128089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:36:54] local.INFO: TCP Data received {"connection_id":128089,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:36:54] local.INFO: Processing buffer {"connection_id":128089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:36:54] local.INFO: IMEI packet received {"connection_id":128089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":128089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:36:59] local.INFO: TCP Data received {"connection_id":128090,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:36:59] local.INFO: Processing buffer {"connection_id":128090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:36:59] local.INFO: IMEI packet received {"connection_id":128090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":128090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:37:00] local.INFO: TCP Data received {"connection_id":128089,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:37:00] local.INFO: Processing buffer {"connection_id":128089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:37:00] local.INFO: IMEI packet received {"connection_id":128089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":128089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:37:04] local.INFO: TCP Data received {"connection_id":128090,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:37:04] local.INFO: Processing buffer {"connection_id":128090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:37:04] local.INFO: IMEI packet received {"connection_id":128090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":128090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:37:05] local.INFO: TCP Data received {"connection_id":128090,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e50c58012d196500071ff078003e014227..."} 
[2026-07-08 23:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e50c58012d196500071ff078003e014227..."} 
[2026-07-08 23:37:05] local.INFO: Processing buffer {"connection_id":128090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e50c58012d196500071ff078003e014227..."} 
[2026-07-08 23:37:05] local.INFO: Packet analysis {"connection_id":128090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e5"} 
[2026-07-08 23:37:05] local.INFO: Extracted packet for processing {"connection_id":128090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e5"} 
[2026-07-08 23:37:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23: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-07-08 23:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584559104001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783533735000,"timestamp_ms":1783533735000,"timestamp_seconds":1783533735,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e50c58"} 
[2026-07-08 23:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 23:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23: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-07-08 23:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584559104001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 23:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584559104001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:37:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:37:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584559104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":128090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:37:05] local.INFO: GPS data processed {"connection_id":128090,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:37:05] local.INFO: Acknowledgment sent {"connection_id":128090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:37:05] local.INFO: TCP Data received {"connection_id":128089,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e87b40012d5323c006497fd00000014331..."} 
[2026-07-08 23:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e87b40012d5323c006497fd00000014331..."} 
[2026-07-08 23:37:05] local.INFO: Processing buffer {"connection_id":128089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e87b40012d5323c006497fd00000014331..."} 
[2026-07-08 23:37:05] local.INFO: Packet analysis {"connection_id":128089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e8"} 
[2026-07-08 23:37:05] local.INFO: Extracted packet for processing {"connection_id":128089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e8"} 
[2026-07-08 23:37:05] local.INFO: GPS Element Parsed {"raw_longitude":760423360,"raw_latitude":105480144,"longitude_deg":76.042336,"latitude_deg":10.5480144,"altitude":0,"angle":323,"satellites":49,"speed":50,"hex_longitude":"2d5323c0","hex_latitude":"06497fd0","is_valid_coordinates":true} 
[2026-07-08 23: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-07-08 23:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584691968001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343596632060723200,"note":"Value kept but may cause issues"} 
[2026-07-08 23:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5996683668333193216,"note":"Value kept but may cause issues"} 
[2026-07-08 23:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783533960000,"timestamp_ms":1783533960000,"timestamp_seconds":1783533960,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e87b40"} 
[2026-07-08 23:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 23:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23: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-07-08 23:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584691968001,"66":27234,"93":206,"78":38912,"24":50,"16":343596632060723200,"45":5996683668333193216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-07-08 23:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584691968001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:37:05] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-08 23:37:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-08 23:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343596632060723200,"km_value":343596632060723.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5996683668333193216,"description":"Unknown IO ID 45"} 
[2026-07-08 23:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584691968001,"power":27234,"unknown_93":206,"unknown_78":38912,"ignition":50,"odometer":null,"unknown_45":5996683668333193216}} 
[2026-07-08 23:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":128089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:37:05] local.INFO: GPS data processed {"connection_id":128089,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:37:05] local.INFO: Acknowledgment sent {"connection_id":128089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:37:38] local.INFO: TCP Data received {"connection_id":128090,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e50c58012d196500071ff078003e014227..."} 
[2026-07-08 23:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e50c58012d196500071ff078003e014227..."} 
[2026-07-08 23:37:38] local.INFO: Processing buffer {"connection_id":128090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e50c58012d196500071ff078003e014227..."} 
[2026-07-08 23:37:38] local.INFO: Packet analysis {"connection_id":128090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e5"} 
[2026-07-08 23:37:38] local.INFO: Extracted packet for processing {"connection_id":128090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e5"} 
[2026-07-08 23:37:38] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584559104001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783533735000,"timestamp_ms":1783533735000,"timestamp_seconds":1783533735,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e50c58"} 
[2026-07-08 23:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 23:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":128090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":128090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":128090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584559104001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 23:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584559104001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:37:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:37:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584559104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":128090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:37:38] local.INFO: GPS data processed {"connection_id":128090,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:37:38] local.INFO: Acknowledgment sent {"connection_id":128090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:37:41] local.INFO: TCP Data received {"connection_id":128089,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e89a80012d530b8006499ef00000014132..."} 
[2026-07-08 23:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e89a80012d530b8006499ef00000014132..."} 
[2026-07-08 23:37:41] local.INFO: Processing buffer {"connection_id":128089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e89a80012d530b8006499ef00000014132..."} 
[2026-07-08 23:37:41] local.INFO: Packet analysis {"connection_id":128089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e8"} 
[2026-07-08 23:37:41] local.INFO: Extracted packet for processing {"connection_id":128089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e8"} 
[2026-07-08 23:37:41] local.INFO: GPS Element Parsed {"raw_longitude":760417152,"raw_latitude":105488112,"longitude_deg":76.0417152,"latitude_deg":10.5488112,"altitude":0,"angle":321,"satellites":50,"speed":51,"hex_longitude":"2d530b80","hex_latitude":"06499ef0","is_valid_coordinates":true} 
[2026-07-08 23:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584693760001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343597117392027648,"note":"Value kept but may cause issues"} 
[2026-07-08 23:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5990843062568341504,"note":"Value kept but may cause issues"} 
[2026-07-08 23:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783533968000,"timestamp_ms":1783533968000,"timestamp_seconds":1783533968,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e89a80"} 
[2026-07-08 23:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-08 23:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":128089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":128089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":128089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584693760001,"66":27343,"93":206,"78":38912,"24":51,"16":343597117392027648,"45":5990843062568341504},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-07-08 23:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584693760001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:37:41] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-08 23:37:41] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-08 23:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343597117392027648,"km_value":343597117392027.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":5990843062568341504,"description":"Unknown IO ID 45"} 
[2026-07-08 23:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584693760001,"power":27343,"unknown_93":206,"unknown_78":38912,"ignition":51,"odometer":null,"unknown_45":5990843062568341504}} 
[2026-07-08 23:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":128089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:37:41] local.INFO: GPS data processed {"connection_id":128089,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:37:41] local.INFO: Acknowledgment sent {"connection_id":128089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:37:54] local.INFO: TCP Data received {"connection_id":125952,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:37:54] local.INFO: Processing buffer {"connection_id":125952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:37:54] local.INFO: IMEI packet received {"connection_id":125952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":125952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:37:56] local.INFO: TCP Data received {"connection_id":125952,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:37:56] local.INFO: Processing buffer {"connection_id":125952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:37:56] local.INFO: IMEI packet received {"connection_id":125952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":125952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:37:59] local.INFO: TCP Data received {"connection_id":126096,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:37:59] local.INFO: Processing buffer {"connection_id":126096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:37:59] local.INFO: IMEI packet received {"connection_id":126096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":126096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:38:00] local.INFO: TCP Data received {"connection_id":125952,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:38:00] local.INFO: Processing buffer {"connection_id":125952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:38:00] local.INFO: IMEI packet received {"connection_id":125952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":125952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:38:01] local.INFO: TCP Data received {"connection_id":125952,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e8b5d8012d52f4400649ba880000013f32..."} 
[2026-07-08 23:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e8b5d8012d52f4400649ba880000013f32..."} 
[2026-07-08 23:38:01] local.INFO: Processing buffer {"connection_id":125952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e8b5d8012d52f4400649ba880000013f32..."} 
[2026-07-08 23:38:01] local.INFO: Packet analysis {"connection_id":125952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e8"} 
[2026-07-08 23:38:01] local.INFO: Extracted packet for processing {"connection_id":125952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e8"} 
[2026-07-08 23:38:01] local.INFO: GPS Element Parsed {"raw_longitude":760411200,"raw_latitude":105495176,"longitude_deg":76.04112,"latitude_deg":10.5495176,"altitude":0,"angle":319,"satellites":50,"speed":52,"hex_longitude":"2d52f440","hex_latitude":"0649ba88","is_valid_coordinates":true} 
[2026-07-08 23:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584695808001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343597564068626432,"note":"Value kept but may cause issues"} 
[2026-07-08 23:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5984017294385147904,"note":"Value kept but may cause issues"} 
[2026-07-08 23:38:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783533975000,"timestamp_ms":1783533975000,"timestamp_seconds":1783533975,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e8b5d8"} 
[2026-07-08 23:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:38:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 23:38:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:38:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":125952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":125952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":125952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:38:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584695808001,"66":27180,"93":206,"78":38912,"24":52,"16":343597564068626432,"45":5984017294385147904},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-07-08 23:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584695808001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:38:01] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-08 23:38:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-08 23:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343597564068626432,"km_value":343597564068626.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5984017294385147904,"description":"Unknown IO ID 45"} 
[2026-07-08 23:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584695808001,"power":27180,"unknown_93":206,"unknown_78":38912,"ignition":52,"odometer":null,"unknown_45":5984017294385147904}} 
[2026-07-08 23:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":125952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:38:01] local.INFO: GPS data processed {"connection_id":125952,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:38:01] local.INFO: Acknowledgment sent {"connection_id":125952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:38:04] local.INFO: TCP Data received {"connection_id":126096,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:38:04] local.INFO: Processing buffer {"connection_id":126096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:38:04] local.INFO: IMEI packet received {"connection_id":126096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":126096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:38:05] local.INFO: TCP Data received {"connection_id":126096,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e9a420012d196500071ff078003e014225..."} 
[2026-07-08 23:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e9a420012d196500071ff078003e014225..."} 
[2026-07-08 23:38:05] local.INFO: Processing buffer {"connection_id":126096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e9a420012d196500071ff078003e014225..."} 
[2026-07-08 23:38:05] local.INFO: Packet analysis {"connection_id":126096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e9"} 
[2026-07-08 23:38:05] local.INFO: Extracted packet for processing {"connection_id":126096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e9"} 
[2026-07-08 23:38:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584636160001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783534036000,"timestamp_ms":1783534036000,"timestamp_seconds":1783534036,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e9a420"} 
[2026-07-08 23:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:38:05] 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-07-08 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:38:05] 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-07-08 23:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584636160001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584636160001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:38:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:38:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584636160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":126096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:38:05] local.INFO: GPS data processed {"connection_id":126096,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:38:05] local.INFO: Acknowledgment sent {"connection_id":126096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:38:35] local.INFO: TCP Data received {"connection_id":125952,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e9ee58012d520cc0064b12800004014a31..."} 
[2026-07-08 23:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e9ee58012d520cc0064b12800004014a31..."} 
[2026-07-08 23:38:35] local.INFO: Processing buffer {"connection_id":125952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e9ee58012d520cc0064b12800004014a31..."} 
[2026-07-08 23:38:35] local.INFO: Packet analysis {"connection_id":125952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e9"} 
[2026-07-08 23:38:35] local.INFO: Extracted packet for processing {"connection_id":125952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e9"} 
[2026-07-08 23:38:35] local.INFO: GPS Element Parsed {"raw_longitude":760351936,"raw_latitude":105583232,"longitude_deg":76.0351936,"latitude_deg":10.5583232,"altitude":4,"angle":330,"satellites":49,"speed":50,"hex_longitude":"2d520cc0","hex_latitude":"064b1280","is_valid_coordinates":true} 
[2026-07-08 23:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584716032001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343602722324348928,"note":"Value kept but may cause issues"} 
[2026-07-08 23:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5917659568647688192,"note":"Value kept but may cause issues"} 
[2026-07-08 23:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783534055000,"timestamp_ms":1783534055000,"timestamp_seconds":1783534055,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e9ee58"} 
[2026-07-08 23:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 23:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":125952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":125952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":125952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584716032001,"66":27321,"50":206,"78":62464,"24":50,"16":343602722324348928,"45":5917659568647688192},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,78,24,16,45]} 
[2026-07-08 23:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584716032001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:38:35] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-08 23:38:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-08 23:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343602722324348928,"km_value":343602722324348.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5917659568647688192,"description":"Unknown IO ID 45"} 
[2026-07-08 23:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584716032001,"power":27321,"unknown_50":206,"unknown_78":62464,"ignition":50,"odometer":null,"unknown_45":5917659568647688192}} 
[2026-07-08 23:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":125952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:38:35] local.INFO: GPS data processed {"connection_id":125952,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:38:35] local.INFO: Acknowledgment sent {"connection_id":125952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:38:36] local.INFO: TCP Data received {"connection_id":126096,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e9a420012d196500071ff078003e014225..."} 
[2026-07-08 23:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e9a420012d196500071ff078003e014225..."} 
[2026-07-08 23:38:36] local.INFO: Processing buffer {"connection_id":126096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e9a420012d196500071ff078003e014225..."} 
[2026-07-08 23:38:36] local.INFO: Packet analysis {"connection_id":126096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e9"} 
[2026-07-08 23:38:36] local.INFO: Extracted packet for processing {"connection_id":126096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e9"} 
[2026-07-08 23:38:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584636160001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783534036000,"timestamp_ms":1783534036000,"timestamp_seconds":1783534036,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e9a420"} 
[2026-07-08 23:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:38:36] 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-07-08 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23: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-07-08 23:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:38:36] 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-07-08 23:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584636160001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584636160001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:38:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:38:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584636160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":126096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:38:36] local.INFO: GPS data processed {"connection_id":126096,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:38:36] local.INFO: Acknowledgment sent {"connection_id":126096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:38:54] local.INFO: TCP Data received {"connection_id":128091,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:38:54] local.INFO: Processing buffer {"connection_id":128091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:38:54] local.INFO: IMEI packet received {"connection_id":128091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":128091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:39:00] local.INFO: TCP Data received {"connection_id":128091,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:39:00] local.INFO: Processing buffer {"connection_id":128091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:39:00] local.INFO: IMEI packet received {"connection_id":128091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":128091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:39:00] local.INFO: TCP Data received {"connection_id":128091,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42ea1180012d51f580064b38400002014531..."} 
[2026-07-08 23:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42ea1180012d51f580064b38400002014531..."} 
[2026-07-08 23:39:00] local.INFO: Processing buffer {"connection_id":128091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42ea1180012d51f580064b38400002014531..."} 
[2026-07-08 23:39:00] local.INFO: Packet analysis {"connection_id":128091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ea"} 
[2026-07-08 23:39:00] local.INFO: Extracted packet for processing {"connection_id":128091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ea"} 
[2026-07-08 23:39:00] local.INFO: GPS Element Parsed {"raw_longitude":760345984,"raw_latitude":105592896,"longitude_deg":76.0345984,"latitude_deg":10.5592896,"altitude":2,"angle":325,"satellites":49,"speed":49,"hex_longitude":"2d51f580","hex_latitude":"064b3840","is_valid_coordinates":true} 
[2026-07-08 23: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-07-08 23:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584718080001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343603272080162816,"note":"Value kept but may cause issues"} 
[2026-07-08 23:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5912311544092459008,"note":"Value kept but may cause issues"} 
[2026-07-08 23:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783534064000,"timestamp_ms":1783534064000,"timestamp_seconds":1783534064,"priority":1,"record_length":96,"hex_timestamp":"0000019f42ea1180"} 
[2026-07-08 23:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 23:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23: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-07-08 23:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":128091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":128091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":128091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584718080001,"66":27245,"50":206,"78":62464,"24":49,"16":343603272080162816,"45":5912311544092459008},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,78,24,16,45]} 
[2026-07-08 23:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584718080001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:39:00] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-08 23:39:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-08 23:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343603272080162816,"km_value":343603272080162.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5912311544092459008,"description":"Unknown IO ID 45"} 
[2026-07-08 23:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584718080001,"power":27245,"unknown_50":206,"unknown_78":62464,"ignition":49,"odometer":null,"unknown_45":5912311544092459008}} 
[2026-07-08 23:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":128091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:39:00] local.INFO: GPS data processed {"connection_id":128091,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:39:00] local.INFO: Acknowledgment sent {"connection_id":128091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:39:04] local.INFO: TCP Data received {"connection_id":126832,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:39:04] local.INFO: Processing buffer {"connection_id":126832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:39:04] local.INFO: IMEI packet received {"connection_id":126832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":126832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:39:09] local.INFO: TCP Data received {"connection_id":126832,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:39:09] local.INFO: Processing buffer {"connection_id":126832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:39:09] local.INFO: IMEI packet received {"connection_id":126832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":126832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:39:10] local.INFO: TCP Data received {"connection_id":126832,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e9a420012d196500071ff078003e014225..."} 
[2026-07-08 23:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e9a420012d196500071ff078003e014225..."} 
[2026-07-08 23:39:10] local.INFO: Processing buffer {"connection_id":126832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e9a420012d196500071ff078003e014225..."} 
[2026-07-08 23:39:10] local.INFO: Packet analysis {"connection_id":126832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e9"} 
[2026-07-08 23:39:10] local.INFO: Extracted packet for processing {"connection_id":126832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e9"} 
[2026-07-08 23:39:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23: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-07-08 23:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584636160001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:39: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-07-08 23:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783534036000,"timestamp_ms":1783534036000,"timestamp_seconds":1783534036,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e9a420"} 
[2026-07-08 23:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:39:10] 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-07-08 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:39:10] 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-07-08 23:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584636160001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584636160001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:39:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:39:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584636160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":126832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:39:10] local.INFO: GPS data processed {"connection_id":126832,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:39:10] local.INFO: Acknowledgment sent {"connection_id":126832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:39:14] local.INFO: TCP Data received {"connection_id":126832,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e9a420012d196500071ff078003e014225..."} 
[2026-07-08 23:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e9a420012d196500071ff078003e014225..."} 
[2026-07-08 23:39:14] local.INFO: Processing buffer {"connection_id":126832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e9a420012d196500071ff078003e014225..."} 
[2026-07-08 23:39:14] local.INFO: Packet analysis {"connection_id":126832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e9"} 
[2026-07-08 23:39:14] local.INFO: Extracted packet for processing {"connection_id":126832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e9"} 
[2026-07-08 23:39:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23: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-07-08 23:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584636160001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783534036000,"timestamp_ms":1783534036000,"timestamp_seconds":1783534036,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e9a420"} 
[2026-07-08 23:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:39:14] 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-07-08 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:39:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23: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-07-08 23:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":126832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":126832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":126832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:39:14] 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-07-08 23:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584636160001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"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-07-08 23:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584636160001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:39:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:39:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584636160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":126832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:39:14] local.INFO: GPS data processed {"connection_id":126832,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:39:14] local.INFO: Acknowledgment sent {"connection_id":126832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:39:31] local.INFO: TCP Data received {"connection_id":128091,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42ea30c0012d51dc80064b56d00002014030..."} 
[2026-07-08 23:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42ea30c0012d51dc80064b56d00002014030..."} 
[2026-07-08 23:39:31] local.INFO: Processing buffer {"connection_id":128091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42ea30c0012d51dc80064b56d00002014030..."} 
[2026-07-08 23:39:31] local.INFO: Packet analysis {"connection_id":128091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ea"} 
[2026-07-08 23:39:31] local.INFO: Extracted packet for processing {"connection_id":128091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ea"} 
[2026-07-08 23:39:31] local.INFO: GPS Element Parsed {"raw_longitude":760339584,"raw_latitude":105600720,"longitude_deg":76.0339584,"latitude_deg":10.560072,"altitude":2,"angle":320,"satellites":48,"speed":50,"hex_longitude":"2d51dc80","hex_latitude":"064b56d0","is_valid_coordinates":true} 
[2026-07-08 23:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584720384001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343603757411467264,"note":"Value kept but may cause issues"} 
[2026-07-08 23:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5905767250886410240,"note":"Value kept but may cause issues"} 
[2026-07-08 23:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783534072000,"timestamp_ms":1783534072000,"timestamp_seconds":1783534072,"priority":1,"record_length":96,"hex_timestamp":"0000019f42ea30c0"} 
[2026-07-08 23:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-08 23:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":128091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":128091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":128091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584720384001,"66":27267,"50":206,"78":62464,"24":50,"16":343603757411467264,"45":5905767250886410240},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,78,24,16,45]} 
[2026-07-08 23:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584720384001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:39:31] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-08 23:39:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-08 23:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343603757411467264,"km_value":343603757411467.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5905767250886410240,"description":"Unknown IO ID 45"} 
[2026-07-08 23:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584720384001,"power":27267,"unknown_50":206,"unknown_78":62464,"ignition":50,"odometer":null,"unknown_45":5905767250886410240}} 
[2026-07-08 23:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":128091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:39:31] local.INFO: GPS data processed {"connection_id":128091,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:39:31] local.INFO: Acknowledgment sent {"connection_id":128091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:39:59] local.INFO: TCP Data received {"connection_id":126097,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:39:59] local.INFO: Processing buffer {"connection_id":126097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:39:59] local.INFO: IMEI packet received {"connection_id":126097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":126097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:40:00] local.INFO: TCP Data received {"connection_id":125953,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:40:00] local.INFO: Processing buffer {"connection_id":125953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:40:00] local.INFO: IMEI packet received {"connection_id":125953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":125953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:40:02] local.INFO: TCP Data received {"connection_id":125953,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:40:02] local.INFO: Processing buffer {"connection_id":125953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:40:02] local.INFO: IMEI packet received {"connection_id":125953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":125953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:40:03] local.INFO: TCP Data received {"connection_id":125953,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42eb22f0012d516ec0064c3f200000000d30..."} 
[2026-07-08 23:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42eb22f0012d516ec0064c3f200000000d30..."} 
[2026-07-08 23:40:04] local.INFO: Processing buffer {"connection_id":125953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42eb22f0012d516ec0064c3f200000000d30..."} 
[2026-07-08 23:40:04] local.INFO: Packet analysis {"connection_id":125953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42eb"} 
[2026-07-08 23:40:04] local.INFO: Extracted packet for processing {"connection_id":125953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42eb"} 
[2026-07-08 23:40:04] local.INFO: GPS Element Parsed {"raw_longitude":760311488,"raw_latitude":105660192,"longitude_deg":76.0311488,"latitude_deg":10.5660192,"altitude":0,"angle":13,"satellites":48,"speed":20,"hex_longitude":"2d516ec0","hex_latitude":"064c3f20","is_valid_coordinates":true} 
[2026-07-08 23: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-07-08 23:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584737536001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343607017291644928,"note":"Value kept but may cause issues"} 
[2026-07-08 23:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5866923704117338112,"note":"Value kept but may cause issues"} 
[2026-07-08 23:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783534134000,"timestamp_ms":1783534134000,"timestamp_seconds":1783534134,"priority":1,"record_length":96,"hex_timestamp":"0000019f42eb22f0"} 
[2026-07-08 23:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23: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":104,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-07-08 23:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2203,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23: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-07-08 23:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":125953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":125953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":125953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584737536001,"66":27245,"49":206,"78":62464,"24":20,"16":343607017291644928,"45":5866923704117338112},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-07-08 23:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584737536001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:40:04] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-08 23:40:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-08 23:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343607017291644928,"km_value":343607017291644.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5866923704117338112,"description":"Unknown IO ID 45"} 
[2026-07-08 23:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584737536001,"power":27245,"unknown_49":206,"unknown_78":62464,"ignition":20,"odometer":null,"unknown_45":5866923704117338112}} 
[2026-07-08 23:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":125953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:40:04] local.INFO: GPS data processed {"connection_id":125953,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:40:04] local.INFO: Acknowledgment sent {"connection_id":125953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:40:04] local.INFO: TCP Data received {"connection_id":126097,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:40:04] local.INFO: Processing buffer {"connection_id":126097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:40:04] local.INFO: IMEI packet received {"connection_id":126097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":126097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:40:07] local.INFO: TCP Data received {"connection_id":125953,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42eb2ac0012d516fc0064c43100000016131..."} 
[2026-07-08 23:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42eb2ac0012d516fc0064c43100000016131..."} 
[2026-07-08 23:40:07] local.INFO: Processing buffer {"connection_id":125953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42eb2ac0012d516fc0064c43100000016131..."} 
[2026-07-08 23:40:07] local.INFO: Packet analysis {"connection_id":125953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42eb"} 
[2026-07-08 23:40:07] local.INFO: Extracted packet for processing {"connection_id":125953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42eb"} 
[2026-07-08 23:40:07] local.INFO: GPS Element Parsed {"raw_longitude":760311744,"raw_latitude":105661200,"longitude_deg":76.0311744,"latitude_deg":10.56612,"altitude":0,"angle":353,"satellites":49,"speed":22,"hex_longitude":"2d516fc0","hex_latitude":"064c4310","is_valid_coordinates":true} 
[2026-07-08 23:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584738304001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343607068831252480,"note":"Value kept but may cause issues"} 
[2026-07-08 23:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5867838497791877120,"note":"Value kept but may cause issues"} 
[2026-07-08 23:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783534136000,"timestamp_ms":1783534136000,"timestamp_seconds":1783534136,"priority":1,"record_length":96,"hex_timestamp":"0000019f42eb2ac0"} 
[2026-07-08 23:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-08 23:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":125953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":125953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":125953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584738304001,"66":27234,"49":206,"78":62464,"24":22,"16":343607068831252480,"45":5867838497791877120},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-07-08 23:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584738304001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:40:07] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-08 23:40:07] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-08 23:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343607068831252480,"km_value":343607068831252.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5867838497791877120,"description":"Unknown IO ID 45"} 
[2026-07-08 23:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584738304001,"power":27234,"unknown_49":206,"unknown_78":62464,"ignition":22,"odometer":null,"unknown_45":5867838497791877120}} 
[2026-07-08 23:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":125953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:40:07] local.INFO: GPS data processed {"connection_id":125953,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:40:07] local.INFO: Acknowledgment sent {"connection_id":125953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:40:07] local.INFO: TCP Data received {"connection_id":126097,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e9a420012d196500071ff078003e014225..."} 
[2026-07-08 23:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e9a420012d196500071ff078003e014225..."} 
[2026-07-08 23:40:07] local.INFO: Processing buffer {"connection_id":126097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e9a420012d196500071ff078003e014225..."} 
[2026-07-08 23:40:07] local.INFO: Packet analysis {"connection_id":126097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e9"} 
[2026-07-08 23:40:07] local.INFO: Extracted packet for processing {"connection_id":126097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e9"} 
[2026-07-08 23:40:07] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584636160001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783534036000,"timestamp_ms":1783534036000,"timestamp_seconds":1783534036,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e9a420"} 
[2026-07-08 23:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:40:07] 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-07-08 23:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":126097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":126097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":126097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584636160001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 23:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584636160001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:40:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:40:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584636160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":126097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:40:07] local.INFO: GPS data processed {"connection_id":126097,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:40:07] local.INFO: Acknowledgment sent {"connection_id":126097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:40:38] local.INFO: TCP Data received {"connection_id":125953,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42eb3678012d516e00064c49a8000301502e..."} 
[2026-07-08 23:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42eb3678012d516e00064c49a8000301502e..."} 
[2026-07-08 23:40:38] local.INFO: Processing buffer {"connection_id":125953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42eb3678012d516e00064c49a8000301502e..."} 
[2026-07-08 23:40:38] local.INFO: Packet analysis {"connection_id":125953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42eb"} 
[2026-07-08 23:40:38] local.INFO: Extracted packet for processing {"connection_id":125953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42eb"} 
[2026-07-08 23:40:38] local.INFO: GPS Element Parsed {"raw_longitude":760311296,"raw_latitude":105662888,"longitude_deg":76.0311296,"latitude_deg":10.5662888,"altitude":3,"angle":336,"satellites":46,"speed":24,"hex_longitude":"2d516e00","hex_latitude":"064c49a8","is_valid_coordinates":true} 
[2026-07-08 23:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584738816001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343607154730598400,"note":"Value kept but may cause issues"} 
[2026-07-08 23:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5868119972768845824,"note":"Value kept but may cause issues"} 
[2026-07-08 23:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783534139000,"timestamp_ms":1783534139000,"timestamp_seconds":1783534139,"priority":1,"record_length":96,"hex_timestamp":"0000019f42eb3678"} 
[2026-07-08 23:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-08 23:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":125953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":125953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":125953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584738816001,"66":27365,"49":206,"78":62464,"24":24,"16":343607154730598400,"45":5868119972768845824},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-07-08 23:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584738816001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:40:38] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-08 23:40:38] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-08 23:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343607154730598400,"km_value":343607154730598.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5868119972768845824,"description":"Unknown IO ID 45"} 
[2026-07-08 23:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584738816001,"power":27365,"unknown_49":206,"unknown_78":62464,"ignition":24,"odometer":null,"unknown_45":5868119972768845824}} 
[2026-07-08 23:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":125953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:40:38] local.INFO: GPS data processed {"connection_id":125953,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:40:38] local.INFO: Acknowledgment sent {"connection_id":125953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:40:38] local.INFO: TCP Data received {"connection_id":126097,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e9a420012d196500071ff078003e014225..."} 
[2026-07-08 23:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e9a420012d196500071ff078003e014225..."} 
[2026-07-08 23:40:38] local.INFO: Processing buffer {"connection_id":126097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e9a420012d196500071ff078003e014225..."} 
[2026-07-08 23:40:38] local.INFO: Packet analysis {"connection_id":126097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e9"} 
[2026-07-08 23:40:38] local.INFO: Extracted packet for processing {"connection_id":126097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e9"} 
[2026-07-08 23:40:38] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584636160001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783534036000,"timestamp_ms":1783534036000,"timestamp_seconds":1783534036,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e9a420"} 
[2026-07-08 23:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:40:38] 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-07-08 23:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584636160001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 23:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584636160001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:40:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:40:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584636160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":126097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:40:38] local.INFO: GPS data processed {"connection_id":126097,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:40:38] local.INFO: Acknowledgment sent {"connection_id":126097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:40:54] local.INFO: TCP Data received {"connection_id":126099,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:40:54] local.INFO: Processing buffer {"connection_id":126099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:40:54] local.INFO: IMEI packet received {"connection_id":126099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":126099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:40:55] local.INFO: TCP Data received {"connection_id":126099,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:40:55] local.INFO: Processing buffer {"connection_id":126099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:40:55] local.INFO: IMEI packet received {"connection_id":126099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":126099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:40:59] local.INFO: TCP Data received {"connection_id":128092,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:40:59] local.INFO: Processing buffer {"connection_id":128092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:40:59] local.INFO: IMEI packet received {"connection_id":128092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":128092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:41:04] local.INFO: TCP Data received {"connection_id":128092,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:41:04] local.INFO: TCP Data received {"connection_id":126099,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:41:04] local.INFO: Processing buffer {"connection_id":128092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:41:04] local.INFO: IMEI packet received {"connection_id":128092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":128092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:41:04] local.INFO: Processing buffer {"connection_id":126099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:41:04] local.INFO: IMEI packet received {"connection_id":126099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":126099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:41:05] local.INFO: TCP Data received {"connection_id":128092,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e9a420012d196500071ff078003e014225..."} 
[2026-07-08 23:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e9a420012d196500071ff078003e014225..."} 
[2026-07-08 23:41:05] local.INFO: Processing buffer {"connection_id":128092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e9a420012d196500071ff078003e014225..."} 
[2026-07-08 23:41:05] local.INFO: Packet analysis {"connection_id":128092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e9"} 
[2026-07-08 23:41:05] local.INFO: Extracted packet for processing {"connection_id":128092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e9"} 
[2026-07-08 23:41:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584636160001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783534036000,"timestamp_ms":1783534036000,"timestamp_seconds":1783534036,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e9a420"} 
[2026-07-08 23:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:41:05] 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-07-08 23:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584636160001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 23:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584636160001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:41:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:41:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584636160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":128092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:41:05] local.INFO: GPS data processed {"connection_id":128092,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:41:05] local.INFO: Acknowledgment sent {"connection_id":128092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:41:05] local.INFO: TCP Data received {"connection_id":126099,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42eb6940012d515e80064c6ac8000501492d..."} 
[2026-07-08 23:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42eb6940012d515e80064c6ac8000501492d..."} 
[2026-07-08 23:41:05] local.INFO: Processing buffer {"connection_id":126099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42eb6940012d515e80064c6ac8000501492d..."} 
[2026-07-08 23:41:05] local.INFO: Packet analysis {"connection_id":126099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42eb"} 
[2026-07-08 23:41:05] local.INFO: Extracted packet for processing {"connection_id":126099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42eb"} 
[2026-07-08 23:41:05] local.INFO: GPS Element Parsed {"raw_longitude":760307328,"raw_latitude":105671368,"longitude_deg":76.0307328,"latitude_deg":10.5671368,"altitude":5,"angle":329,"satellites":45,"speed":27,"hex_longitude":"2d515e80","hex_latitude":"064c6ac8","is_valid_coordinates":true} 
[2026-07-08 23:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584739584001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343607605702164480,"note":"Value kept but may cause issues"} 
[2026-07-08 23:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5867627391560034304,"note":"Value kept but may cause issues"} 
[2026-07-08 23:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783534152000,"timestamp_ms":1783534152000,"timestamp_seconds":1783534152,"priority":1,"record_length":96,"hex_timestamp":"0000019f42eb6940"} 
[2026-07-08 23:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 23:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584739584001,"66":27376,"49":206,"78":62464,"24":27,"16":343607605702164480,"45":5867627391560034304},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-07-08 23:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584739584001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:41:05] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-08 23:41:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-08 23:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343607605702164480,"km_value":343607605702164.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5867627391560034304,"description":"Unknown IO ID 45"} 
[2026-07-08 23:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584739584001,"power":27376,"unknown_49":206,"unknown_78":62464,"ignition":27,"odometer":null,"unknown_45":5867627391560034304}} 
[2026-07-08 23:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":126099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:41:05] local.INFO: GPS data processed {"connection_id":126099,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:41:05] local.INFO: Acknowledgment sent {"connection_id":126099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:41:15] local.INFO: TCP Data received {"connection_id":125954,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125954,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:41:15] local.INFO: Processing buffer {"connection_id":125954,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:41:15] local.INFO: IMEI packet received {"connection_id":125954,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 23:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":125954,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:41:36] local.INFO: TCP Data received {"connection_id":128092,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e9a420012d196500071ff078003e014225..."} 
[2026-07-08 23:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e9a420012d196500071ff078003e014225..."} 
[2026-07-08 23:41:36] local.INFO: Processing buffer {"connection_id":128092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e9a420012d196500071ff078003e014225..."} 
[2026-07-08 23:41:36] local.INFO: Packet analysis {"connection_id":128092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e9"} 
[2026-07-08 23:41:36] local.INFO: Extracted packet for processing {"connection_id":128092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e9"} 
[2026-07-08 23:41:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584636160001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783534036000,"timestamp_ms":1783534036000,"timestamp_seconds":1783534036,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e9a420"} 
[2026-07-08 23:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:41:36] 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-07-08 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584636160001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 23:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584636160001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:41:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:41:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584636160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":128092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:41:36] local.INFO: GPS data processed {"connection_id":128092,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:41:36] local.INFO: Acknowledgment sent {"connection_id":128092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:41:38] local.INFO: TCP Data received {"connection_id":126099,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42eb9820012d514b40064c8b60000201412e..."} 
[2026-07-08 23:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42eb9820012d514b40064c8b60000201412e..."} 
[2026-07-08 23:41:38] local.INFO: Processing buffer {"connection_id":126099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42eb9820012d514b40064c8b60000201412e..."} 
[2026-07-08 23:41:38] local.INFO: Packet analysis {"connection_id":126099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42eb"} 
[2026-07-08 23:41:38] local.INFO: Extracted packet for processing {"connection_id":126099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42eb"} 
[2026-07-08 23:41:38] local.INFO: GPS Element Parsed {"raw_longitude":760302400,"raw_latitude":105679712,"longitude_deg":76.03024,"latitude_deg":10.5679712,"altitude":2,"angle":321,"satellites":46,"speed":35,"hex_longitude":"2d514b40","hex_latitude":"064c8b60","is_valid_coordinates":true} 
[2026-07-08 23:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584742912001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343608073853599744,"note":"Value kept but may cause issues"} 
[2026-07-08 23:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5863264529423190016,"note":"Value kept but may cause issues"} 
[2026-07-08 23:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783534164000,"timestamp_ms":1783534164000,"timestamp_seconds":1783534164,"priority":1,"record_length":96,"hex_timestamp":"0000019f42eb9820"} 
[2026-07-08 23:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 23:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":126099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":126099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":126099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584742912001,"66":27300,"49":206,"78":62464,"24":35,"16":343608073853599744,"45":5863264529423190016},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-07-08 23:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584742912001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:41:38] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-08 23:41:38] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-08 23:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343608073853599744,"km_value":343608073853599.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5863264529423190016,"description":"Unknown IO ID 45"} 
[2026-07-08 23:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584742912001,"power":27300,"unknown_49":206,"unknown_78":62464,"ignition":35,"odometer":null,"unknown_45":5863264529423190016}} 
[2026-07-08 23:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":126099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:41:38] local.INFO: GPS data processed {"connection_id":126099,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:41:38] local.INFO: Acknowledgment sent {"connection_id":126099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:41:55] local.INFO: TCP Data received {"connection_id":128093,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:41:55] local.INFO: Processing buffer {"connection_id":128093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:41:55] local.INFO: IMEI packet received {"connection_id":128093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":128093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:41:59] local.INFO: TCP Data received {"connection_id":126834,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:41:59] local.INFO: Processing buffer {"connection_id":126834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:41:59] local.INFO: IMEI packet received {"connection_id":126834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":126834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:42:00] local.INFO: TCP Data received {"connection_id":128093,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:42:00] local.INFO: Processing buffer {"connection_id":128093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:42:00] local.INFO: IMEI packet received {"connection_id":128093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":128093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:42:00] local.INFO: TCP Data received {"connection_id":126833,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126833,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:42:00] local.INFO: Processing buffer {"connection_id":126833,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:42:00] local.INFO: IMEI packet received {"connection_id":126833,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 23:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":126833,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:42:00] local.INFO: TCP Data received {"connection_id":128093,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42ebbf30012d513640064ca830000101492e..."} 
[2026-07-08 23:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42ebbf30012d513640064ca830000101492e..."} 
[2026-07-08 23:42:00] local.INFO: Processing buffer {"connection_id":128093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42ebbf30012d513640064ca830000101492e..."} 
[2026-07-08 23:42:00] local.INFO: Packet analysis {"connection_id":128093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42eb"} 
[2026-07-08 23:42:00] local.INFO: Extracted packet for processing {"connection_id":128093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42eb"} 
[2026-07-08 23:42:00] local.INFO: GPS Element Parsed {"raw_longitude":760297024,"raw_latitude":105687088,"longitude_deg":76.0297024,"latitude_deg":10.5687088,"altitude":1,"angle":329,"satellites":46,"speed":35,"hex_longitude":"2d513640","hex_latitude":"064ca830","is_valid_coordinates":true} 
[2026-07-08 23:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584745984001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343608516235231232,"note":"Value kept but may cause issues"} 
[2026-07-08 23:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5857846136123645952,"note":"Value kept but may cause issues"} 
[2026-07-08 23:42:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783534174000,"timestamp_ms":1783534174000,"timestamp_seconds":1783534174,"priority":1,"record_length":96,"hex_timestamp":"0000019f42ebbf30"} 
[2026-07-08 23:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:42: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-07-08 23:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-08 23:42:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:42:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":128093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":128093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":128093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584745984001,"66":27365,"49":206,"78":62464,"24":35,"16":343608516235231232,"45":5857846136123645952},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-07-08 23:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584745984001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:42:00] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-08 23:42:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-08 23:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343608516235231232,"km_value":343608516235231.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5857846136123645952,"description":"Unknown IO ID 45"} 
[2026-07-08 23:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584745984001,"power":27365,"unknown_49":206,"unknown_78":62464,"ignition":35,"odometer":null,"unknown_45":5857846136123645952}} 
[2026-07-08 23:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":128093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:42:00] local.INFO: GPS data processed {"connection_id":128093,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:42:00] local.INFO: Acknowledgment sent {"connection_id":128093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:42:04] local.INFO: TCP Data received {"connection_id":126834,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:42:04] local.INFO: Processing buffer {"connection_id":126834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:42:04] local.INFO: IMEI packet received {"connection_id":126834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":126834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:42:05] local.INFO: TCP Data received {"connection_id":126834,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e9a420012d196500071ff078003e014225..."} 
[2026-07-08 23:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e9a420012d196500071ff078003e014225..."} 
[2026-07-08 23:42:05] local.INFO: Processing buffer {"connection_id":126834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e9a420012d196500071ff078003e014225..."} 
[2026-07-08 23:42:05] local.INFO: Packet analysis {"connection_id":126834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e9"} 
[2026-07-08 23:42:05] local.INFO: Extracted packet for processing {"connection_id":126834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e9"} 
[2026-07-08 23:42:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584636160001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783534036000,"timestamp_ms":1783534036000,"timestamp_seconds":1783534036,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e9a420"} 
[2026-07-08 23:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:42:05] 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-07-08 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584636160001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 23:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584636160001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:42:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:42:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584636160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":126834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:42:05] local.INFO: GPS data processed {"connection_id":126834,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:42:05] local.INFO: Acknowledgment sent {"connection_id":126834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:42:31] local.INFO: TCP Data received {"connection_id":128093,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42ebee10012d512580064cc7d80002015033..."} 
[2026-07-08 23:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42ebee10012d512580064cc7d80002015033..."} 
[2026-07-08 23:42:31] local.INFO: Processing buffer {"connection_id":128093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42ebee10012d512580064cc7d80002015033..."} 
[2026-07-08 23:42:31] local.INFO: Packet analysis {"connection_id":128093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42eb"} 
[2026-07-08 23:42:31] local.INFO: Extracted packet for processing {"connection_id":128093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42eb"} 
[2026-07-08 23:42:31] local.INFO: GPS Element Parsed {"raw_longitude":760292736,"raw_latitude":105695192,"longitude_deg":76.0292736,"latitude_deg":10.5695192,"altitude":2,"angle":336,"satellites":51,"speed":29,"hex_longitude":"2d512580","hex_latitude":"064cc7d8","is_valid_coordinates":true} 
[2026-07-08 23: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-07-08 23:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584748544001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343608958616862720,"note":"Value kept but may cause issues"} 
[2026-07-08 23:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5851935161614610432,"note":"Value kept but may cause issues"} 
[2026-07-08 23:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783534186000,"timestamp_ms":1783534186000,"timestamp_seconds":1783534186,"priority":1,"record_length":96,"hex_timestamp":"0000019f42ebee10"} 
[2026-07-08 23:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:42: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-07-08 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 23:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23: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-07-08 23:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":128093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":128093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":128093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584748544001,"66":27267,"49":206,"78":62464,"24":29,"16":343608958616862720,"45":5851935161614610432},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-07-08 23:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584748544001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:42:31] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-08 23:42:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-08 23:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343608958616862720,"km_value":343608958616862.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5851935161614610432,"description":"Unknown IO ID 45"} 
[2026-07-08 23:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584748544001,"power":27267,"unknown_49":206,"unknown_78":62464,"ignition":29,"odometer":null,"unknown_45":5851935161614610432}} 
[2026-07-08 23:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":128093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:42:31] local.INFO: GPS data processed {"connection_id":128093,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:42:31] local.INFO: Acknowledgment sent {"connection_id":128093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:42:36] local.INFO: TCP Data received {"connection_id":126834,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f42e9a420012d196500071ff078003e014225..."} 
[2026-07-08 23:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42e9a420012d196500071ff078003e014225..."} 
[2026-07-08 23:42:36] local.INFO: Processing buffer {"connection_id":126834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42e9a420012d196500071ff078003e014225..."} 
[2026-07-08 23:42:36] local.INFO: Packet analysis {"connection_id":126834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42e9"} 
[2026-07-08 23:42:36] local.INFO: Extracted packet for processing {"connection_id":126834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42e9"} 
[2026-07-08 23:42:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":62,"angle":322,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584636160001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783534036000,"timestamp_ms":1783534036000,"timestamp_seconds":1783534036,"priority":1,"record_length":96,"hex_timestamp":"0000019f42e9a420"} 
[2026-07-08 23:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:42:36] 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-07-08 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-08 23:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584636160001,"66":2155,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 23:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584636160001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:42:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:42:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584636160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":126834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:42:36] local.INFO: GPS data processed {"connection_id":126834,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:42:36] local.INFO: Acknowledgment sent {"connection_id":126834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:42:54] local.INFO: TCP Data received {"connection_id":126835,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:42:54] local.INFO: Processing buffer {"connection_id":126835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:42:54] local.INFO: IMEI packet received {"connection_id":126835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":126835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:42:59] local.INFO: TCP Data received {"connection_id":126100,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:42:59] local.INFO: Processing buffer {"connection_id":126100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:42:59] local.INFO: IMEI packet received {"connection_id":126100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-08 23:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":126100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:43:00] local.INFO: TCP Data received {"connection_id":126835,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:43:00] local.INFO: Processing buffer {"connection_id":126835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:43:00] local.INFO: IMEI packet received {"connection_id":126835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":126835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:43:04] local.INFO: TCP Data received {"connection_id":126100,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:43:04] local.INFO: Processing buffer {"connection_id":126100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-08 23:43:04] local.INFO: IMEI packet received {"connection_id":126100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-08 23:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":126100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:43:05] local.INFO: TCP Data received {"connection_id":126100,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f42ee3be8012d196500071ff0780046014227..."} 
[2026-07-08 23:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42ee3be8012d196500071ff0780046014227..."} 
[2026-07-08 23:43:05] local.INFO: Processing buffer {"connection_id":126100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42ee3be8012d196500071ff0780046014227..."} 
[2026-07-08 23:43:05] local.INFO: Packet analysis {"connection_id":126100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ee"} 
[2026-07-08 23:43:05] local.INFO: Extracted packet for processing {"connection_id":126100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ee"} 
[2026-07-08 23:43:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":70,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584713216001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783534337000,"timestamp_ms":1783534337000,"timestamp_seconds":1783534337,"priority":1,"record_length":96,"hex_timestamp":"0000019f42ee3be8"} 
[2026-07-08 23:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 23:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":126100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":126100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":126100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584713216001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 23:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584713216001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:43:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:43:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584713216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":126100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:43:05] local.INFO: GPS data processed {"connection_id":126100,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:43:05] local.INFO: Acknowledgment sent {"connection_id":126100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:43:11] local.INFO: TCP Data received {"connection_id":126835,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42ec1cf0012d5115c0064ce8800000014d2f..."} 
[2026-07-08 23:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42ec1cf0012d5115c0064ce8800000014d2f..."} 
[2026-07-08 23:43:11] local.INFO: Processing buffer {"connection_id":126835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42ec1cf0012d5115c0064ce8800000014d2f..."} 
[2026-07-08 23:43:11] local.INFO: Packet analysis {"connection_id":126835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ec"} 
[2026-07-08 23:43:11] local.INFO: Extracted packet for processing {"connection_id":126835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ec"} 
[2026-07-08 23:43:11] local.INFO: GPS Element Parsed {"raw_longitude":760288704,"raw_latitude":105703552,"longitude_deg":76.0288704,"latitude_deg":10.5703552,"altitude":0,"angle":333,"satellites":47,"speed":25,"hex_longitude":"2d5115c0","hex_latitude":"064ce880","is_valid_coordinates":true} 
[2026-07-08 23:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584751616001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343609405293461504,"note":"Value kept but may cause issues"} 
[2026-07-08 23:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5847220455756781568,"note":"Value kept but may cause issues"} 
[2026-07-08 23:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783534198000,"timestamp_ms":1783534198000,"timestamp_seconds":1783534198,"priority":1,"record_length":96,"hex_timestamp":"0000019f42ec1cf0"} 
[2026-07-08 23:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 23:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":126835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":126835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":126835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584751616001,"66":27343,"49":206,"78":62464,"24":25,"16":343609405293461504,"45":5847220455756781568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-07-08 23:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584751616001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:43:11] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-08 23:43:11] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-08 23:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343609405293461504,"km_value":343609405293461.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5847220455756781568,"description":"Unknown IO ID 45"} 
[2026-07-08 23:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584751616001,"power":27343,"unknown_49":206,"unknown_78":62464,"ignition":25,"odometer":null,"unknown_45":5847220455756781568}} 
[2026-07-08 23:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":126835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:43:11] local.INFO: GPS data processed {"connection_id":126835,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:43:11] local.INFO: Acknowledgment sent {"connection_id":126835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:43:36] local.INFO: TCP Data received {"connection_id":126100,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f42ee3be8012d196500071ff0780046014227..."} 
[2026-07-08 23:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42ee3be8012d196500071ff0780046014227..."} 
[2026-07-08 23:43:36] local.INFO: Processing buffer {"connection_id":126100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42ee3be8012d196500071ff0780046014227..."} 
[2026-07-08 23:43:36] local.INFO: Packet analysis {"connection_id":126100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ee"} 
[2026-07-08 23:43:36] local.INFO: Extracted packet for processing {"connection_id":126100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ee"} 
[2026-07-08 23:43:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533688,"longitude_deg":75.6638976,"latitude_deg":11.9533688,"altitude":70,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-07-08 23:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584713216001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4955279863054336,"note":"Value kept but may cause issues"} 
[2026-07-08 23:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196598784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783534337000,"timestamp_ms":1783534337000,"timestamp_seconds":1783534337,"priority":1,"record_length":96,"hex_timestamp":"0000019f42ee3be8"} 
[2026-07-08 23:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-08 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-08 23:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":126100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":126100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":126100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-08 23:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-08 23:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-08 23:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584713216001,"66":2166,"102":206,"83":41984,"24":0,"16":4955279863054336,"45":1829868854196598784},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-08 23:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-08 23:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-08 23:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584713216001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:43:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-08 23:43:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-08 23:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4955279863054336,"km_value":4955279863054.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196598784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584713216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196598784}} 
[2026-07-08 23:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":126100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:43:36] local.INFO: GPS data processed {"connection_id":126100,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:43:36] local.INFO: Acknowledgment sent {"connection_id":126100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:44:00] local.INFO: TCP Data received {"connection_id":128096,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:44:00] local.INFO: Processing buffer {"connection_id":128096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:44:00] local.INFO: IMEI packet received {"connection_id":128096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":128096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:44:07] local.INFO: TCP Data received {"connection_id":128096,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:44:07] local.INFO: Processing buffer {"connection_id":128096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:44:07] local.INFO: IMEI packet received {"connection_id":128096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":128096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:44:11] local.INFO: TCP Data received {"connection_id":128096,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42ee8620012d50bd80064db6080004014833..."} 
[2026-07-08 23:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42ee8620012d50bd80064db6080004014833..."} 
[2026-07-08 23:44:11] local.INFO: Processing buffer {"connection_id":128096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42ee8620012d50bd80064db6080004014833..."} 
[2026-07-08 23:44:11] local.INFO: Packet analysis {"connection_id":128096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ee"} 
[2026-07-08 23:44:11] local.INFO: Extracted packet for processing {"connection_id":128096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ee"} 
[2026-07-08 23:44:11] local.INFO: GPS Element Parsed {"raw_longitude":760266112,"raw_latitude":105756168,"longitude_deg":76.0266112,"latitude_deg":10.5756168,"altitude":4,"angle":328,"satellites":51,"speed":7,"hex_longitude":"2d50bd80","hex_latitude":"064db608","is_valid_coordinates":true} 
[2026-07-08 23:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584793600001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343612209907105792,"note":"Value kept but may cause issues"} 
[2026-07-08 23:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5818721114380187648,"note":"Value kept but may cause issues"} 
[2026-07-08 23:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783534356000,"timestamp_ms":1783534356000,"timestamp_seconds":1783534356,"priority":1,"record_length":96,"hex_timestamp":"0000019f42ee8620"} 
[2026-07-08 23:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-08 23:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":128096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":128096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":128096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584793600001,"66":27365,"239":206,"78":62464,"24":7,"16":343612209907105792,"45":5818721114380187648},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,78,24,16,45]} 
[2026-07-08 23:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584793600001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:44:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-08 23:44:11] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-08 23:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343612209907105792,"km_value":343612209907105.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5818721114380187648,"description":"Unknown IO ID 45"} 
[2026-07-08 23:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584793600001,"power":27365,"unknown_239":206,"unknown_78":62464,"ignition":7,"odometer":null,"unknown_45":5818721114380187648}} 
[2026-07-08 23:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":128096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:44:11] local.INFO: GPS data processed {"connection_id":128096,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:44:11] local.INFO: Acknowledgment sent {"connection_id":128096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:44:14] local.INFO: TCP Data received {"connection_id":128096,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42eed440012d50ac80064dcf800001014633..."} 
[2026-07-08 23:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42eed440012d50ac80064dcf800001014633..."} 
[2026-07-08 23:44:14] local.INFO: Processing buffer {"connection_id":128096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42eed440012d50ac80064dcf800001014633..."} 
[2026-07-08 23:44:14] local.INFO: Packet analysis {"connection_id":128096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ee"} 
[2026-07-08 23:44:14] local.INFO: Extracted packet for processing {"connection_id":128096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ee"} 
[2026-07-08 23:44:14] local.INFO: GPS Element Parsed {"raw_longitude":760261760,"raw_latitude":105762688,"longitude_deg":76.026176,"latitude_deg":10.5762688,"altitude":1,"angle":326,"satellites":51,"speed":24,"hex_longitude":"2d50ac80","hex_latitude":"064dcf80","is_valid_coordinates":true} 
[2026-07-08 23:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584795136001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343612592159195136,"note":"Value kept but may cause issues"} 
[2026-07-08 23:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5817947058194483200,"note":"Value kept but may cause issues"} 
[2026-07-08 23:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783534376000,"timestamp_ms":1783534376000,"timestamp_seconds":1783534376,"priority":1,"record_length":96,"hex_timestamp":"0000019f42eed440"} 
[2026-07-08 23:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:44:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 23:44:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":128096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":128096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":128096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584795136001,"66":27365,"53":206,"78":62464,"24":24,"16":343612592159195136,"45":5817947058194483200},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-07-08 23:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584795136001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:44:14] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-08 23:44:14] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-08 23:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343612592159195136,"km_value":343612592159195.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5817947058194483200,"description":"Unknown IO ID 45"} 
[2026-07-08 23:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584795136001,"power":27365,"unknown_53":206,"unknown_78":62464,"ignition":24,"odometer":null,"unknown_45":5817947058194483200}} 
[2026-07-08 23:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":128096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:44:14] local.INFO: GPS data processed {"connection_id":128096,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:44:14] local.INFO: Acknowledgment sent {"connection_id":128096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:44:55] local.INFO: TCP Data received {"connection_id":126836,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:44:55] local.INFO: Processing buffer {"connection_id":126836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:44:55] local.INFO: IMEI packet received {"connection_id":126836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":126836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:45:00] local.INFO: TCP Data received {"connection_id":126836,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:45:00] local.INFO: Processing buffer {"connection_id":126836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:45:00] local.INFO: IMEI packet received {"connection_id":126836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":126836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:45:01] local.INFO: TCP Data received {"connection_id":126836,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42eef768012d50a2c0064de0580000015434..."} 
[2026-07-08 23:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42eef768012d50a2c0064de0580000015434..."} 
[2026-07-08 23:45:01] local.INFO: Processing buffer {"connection_id":126836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42eef768012d50a2c0064de0580000015434..."} 
[2026-07-08 23:45:01] local.INFO: Packet analysis {"connection_id":126836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ee"} 
[2026-07-08 23:45:01] local.INFO: Extracted packet for processing {"connection_id":126836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ee"} 
[2026-07-08 23:45:01] local.INFO: GPS Element Parsed {"raw_longitude":760259264,"raw_latitude":105767000,"longitude_deg":76.0259264,"latitude_deg":10.5767,"altitude":0,"angle":340,"satellites":52,"speed":15,"hex_longitude":"2d50a2c0","hex_latitude":"064de058","is_valid_coordinates":true} 
[2026-07-08 23:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584800256001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343612832677363712,"note":"Value kept but may cause issues"} 
[2026-07-08 23:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5813161983592071168,"note":"Value kept but may cause issues"} 
[2026-07-08 23:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783534385000,"timestamp_ms":1783534385000,"timestamp_seconds":1783534385,"priority":1,"record_length":96,"hex_timestamp":"0000019f42eef768"} 
[2026-07-08 23:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 23:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584800256001,"66":27300,"53":206,"78":62464,"24":15,"16":343612832677363712,"45":5813161983592071168},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-07-08 23:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584800256001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:45:01] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-08 23:45:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-08 23:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343612832677363712,"km_value":343612832677363.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5813161983592071168,"description":"Unknown IO ID 45"} 
[2026-07-08 23:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584800256001,"power":27300,"unknown_53":206,"unknown_78":62464,"ignition":15,"odometer":null,"unknown_45":5813161983592071168}} 
[2026-07-08 23:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":126836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:45:01] local.INFO: GPS data processed {"connection_id":126836,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:45:01] local.INFO: Acknowledgment sent {"connection_id":126836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:45:32] local.INFO: TCP Data received {"connection_id":126836,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42ef4970012d509640064dfc60000001512f..."} 
[2026-07-08 23:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42ef4970012d509640064dfc60000001512f..."} 
[2026-07-08 23:45:32] local.INFO: Processing buffer {"connection_id":126836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42ef4970012d509640064dfc60000001512f..."} 
[2026-07-08 23:45:32] local.INFO: Packet analysis {"connection_id":126836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42ef"} 
[2026-07-08 23:45:32] local.INFO: Extracted packet for processing {"connection_id":126836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42ef"} 
[2026-07-08 23:45:32] local.INFO: GPS Element Parsed {"raw_longitude":760256064,"raw_latitude":105774176,"longitude_deg":76.0256064,"latitude_deg":10.5774176,"altitude":0,"angle":337,"satellites":47,"speed":12,"hex_longitude":"2d509640","hex_latitude":"064dfc60","is_valid_coordinates":true} 
[2026-07-08 23:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584802560001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343613214929453056,"note":"Value kept but may cause issues"} 
[2026-07-08 23:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5810417602570246144,"note":"Value kept but may cause issues"} 
[2026-07-08 23:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783534406000,"timestamp_ms":1783534406000,"timestamp_seconds":1783534406,"priority":1,"record_length":96,"hex_timestamp":"0000019f42ef4970"} 
[2026-07-08 23:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-08 23:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584802560001,"66":27300,"53":206,"78":62464,"24":12,"16":343613214929453056,"45":5810417602570246144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-07-08 23:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584802560001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:45:32] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-08 23:45:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-08 23:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343613214929453056,"km_value":343613214929453.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5810417602570246144,"description":"Unknown IO ID 45"} 
[2026-07-08 23:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584802560001,"power":27300,"unknown_53":206,"unknown_78":62464,"ignition":12,"odometer":null,"unknown_45":5810417602570246144}} 
[2026-07-08 23:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":126836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:45:32] local.INFO: GPS data processed {"connection_id":126836,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:45:32] local.INFO: Acknowledgment sent {"connection_id":126836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:45:51] local.INFO: TCP Data received {"connection_id":128097,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:45:51] local.INFO: Processing buffer {"connection_id":128097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:45:51] local.INFO: IMEI packet received {"connection_id":128097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":128097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:45:58] local.INFO: TCP Data received {"connection_id":128097,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:45:58] local.INFO: Processing buffer {"connection_id":128097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:45:58] local.INFO: IMEI packet received {"connection_id":128097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":128097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:45:58] local.INFO: TCP Data received {"connection_id":128097,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:45:58] local.INFO: Processing buffer {"connection_id":128097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:45:58] local.INFO: IMEI packet received {"connection_id":128097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":128097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:45:59] local.INFO: TCP Data received {"connection_id":128097,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:45:59] local.INFO: Processing buffer {"connection_id":128097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:45:59] local.INFO: IMEI packet received {"connection_id":128097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":128097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:47:55] local.INFO: TCP Data received {"connection_id":126837,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126837,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:47:55] local.INFO: Processing buffer {"connection_id":126837,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:47:55] local.INFO: IMEI packet received {"connection_id":126837,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 23:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":126837,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:48:55] local.INFO: TCP Data received {"connection_id":126104,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126104,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:48:55] local.INFO: Processing buffer {"connection_id":126104,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:48:55] local.INFO: IMEI packet received {"connection_id":126104,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 23:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":126104,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:51:04] local.INFO: TCP Data received {"connection_id":126105,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:51:04] local.INFO: Processing buffer {"connection_id":126105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:51:04] local.INFO: IMEI packet received {"connection_id":126105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":126105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:51:06] local.INFO: TCP Data received {"connection_id":126105,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42f563f0012d4df340065169d80001015231..."} 
[2026-07-08 23:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42f563f0012d4df340065169d80001015231..."} 
[2026-07-08 23:51:06] local.INFO: Processing buffer {"connection_id":126105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42f563f0012d4df340065169d80001015231..."} 
[2026-07-08 23:51:06] local.INFO: Packet analysis {"connection_id":126105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42f5"} 
[2026-07-08 23:51:06] local.INFO: Extracted packet for processing {"connection_id":126105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42f5"} 
[2026-07-08 23:51:06] local.INFO: GPS Element Parsed {"raw_longitude":760083264,"raw_latitude":105998808,"longitude_deg":76.0083264,"latitude_deg":10.5998808,"altitude":1,"angle":338,"satellites":49,"speed":60,"hex_longitude":"2d4df340","hex_latitude":"065169d8","is_valid_coordinates":true} 
[2026-07-08 23:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584908800001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343629011819167744,"note":"Value kept but may cause issues"} 
[2026-07-08 23:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5620562730836086784,"note":"Value kept but may cause issues"} 
[2026-07-08 23:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783534806000,"timestamp_ms":1783534806000,"timestamp_seconds":1783534806,"priority":1,"record_length":96,"hex_timestamp":"0000019f42f563f0"} 
[2026-07-08 23:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 23:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":126105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":126105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":126105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584908800001,"66":27343,"246":206,"78":62464,"24":60,"16":343629011819167744,"45":5620562730836086784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,78,24,16,45]} 
[2026-07-08 23:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584908800001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:51:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-08 23:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343629011819167744,"km_value":343629011819167.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5620562730836086784,"description":"Unknown IO ID 45"} 
[2026-07-08 23:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584908800001,"power":27343,"main_input_voltage":206,"unknown_78":62464,"ignition":60,"odometer":null,"unknown_45":5620562730836086784}} 
[2026-07-08 23:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":126105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:51:06] local.INFO: GPS data processed {"connection_id":126105,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:51:06] local.INFO: Acknowledgment sent {"connection_id":126105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:51:40] local.INFO: TCP Data received {"connection_id":126105,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42f57b60012d4de58006518a780002015131..."} 
[2026-07-08 23:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42f57b60012d4de58006518a780002015131..."} 
[2026-07-08 23:51:40] local.INFO: Processing buffer {"connection_id":126105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42f57b60012d4de58006518a780002015131..."} 
[2026-07-08 23:51:40] local.INFO: Packet analysis {"connection_id":126105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42f5"} 
[2026-07-08 23:51:40] local.INFO: Extracted packet for processing {"connection_id":126105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42f5"} 
[2026-07-08 23:51:40] local.INFO: GPS Element Parsed {"raw_longitude":760079744,"raw_latitude":106007160,"longitude_deg":76.0079744,"latitude_deg":10.600716,"altitude":2,"angle":337,"satellites":49,"speed":58,"hex_longitude":"2d4de580","hex_latitude":"06518a78","is_valid_coordinates":true} 
[2026-07-08 23:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584910336001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343629449905831936,"note":"Value kept but may cause issues"} 
[2026-07-08 23:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5616903556141012992,"note":"Value kept but may cause issues"} 
[2026-07-08 23:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783534812000,"timestamp_ms":1783534812000,"timestamp_seconds":1783534812,"priority":1,"record_length":96,"hex_timestamp":"0000019f42f57b60"} 
[2026-07-08 23:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 23:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":126105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":126105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":126105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584910336001,"66":27365,"246":206,"78":62464,"24":58,"16":343629449905831936,"45":5616903556141012992},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,78,24,16,45]} 
[2026-07-08 23:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584910336001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:51:40] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-08 23:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343629449905831936,"km_value":343629449905831.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":5616903556141012992,"description":"Unknown IO ID 45"} 
[2026-07-08 23:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584910336001,"power":27365,"main_input_voltage":206,"unknown_78":62464,"ignition":58,"odometer":null,"unknown_45":5616903556141012992}} 
[2026-07-08 23:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":126105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:51:40] local.INFO: GPS data processed {"connection_id":126105,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:51:40] local.INFO: Acknowledgment sent {"connection_id":126105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:51:54] local.INFO: TCP Data received {"connection_id":128099,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:51:54] local.INFO: Processing buffer {"connection_id":128099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:51:54] local.INFO: IMEI packet received {"connection_id":128099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":128099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:52:00] local.INFO: TCP Data received {"connection_id":128099,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:52:00] local.INFO: Processing buffer {"connection_id":128099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:52:00] local.INFO: IMEI packet received {"connection_id":128099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":128099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:52:02] local.INFO: TCP Data received {"connection_id":128099,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42f596b8012d4dd6800651ae780005015132..."} 
[2026-07-08 23:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42f596b8012d4dd6800651ae780005015132..."} 
[2026-07-08 23:52:02] local.INFO: Processing buffer {"connection_id":128099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42f596b8012d4dd6800651ae780005015132..."} 
[2026-07-08 23:52:02] local.INFO: Packet analysis {"connection_id":128099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42f5"} 
[2026-07-08 23:52:02] local.INFO: Extracted packet for processing {"connection_id":128099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42f5"} 
[2026-07-08 23:52:02] local.INFO: GPS Element Parsed {"raw_longitude":760075904,"raw_latitude":106016376,"longitude_deg":76.0075904,"latitude_deg":10.6016376,"altitude":5,"angle":337,"satellites":50,"speed":54,"hex_longitude":"2d4dd680","hex_latitude":"0651ae78","is_valid_coordinates":true} 
[2026-07-08 23:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584911872001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343629930942169088,"note":"Value kept but may cause issues"} 
[2026-07-08 23:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5613033275213379584,"note":"Value kept but may cause issues"} 
[2026-07-08 23:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783534819000,"timestamp_ms":1783534819000,"timestamp_seconds":1783534819,"priority":1,"record_length":96,"hex_timestamp":"0000019f42f596b8"} 
[2026-07-08 23:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:52: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-07-08 23:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 23:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":128099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":128099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":128099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584911872001,"66":27343,"246":206,"78":62464,"24":54,"16":343629930942169088,"45":5613033275213379584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,78,24,16,45]} 
[2026-07-08 23:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584911872001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:52:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-08 23:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343629930942169088,"km_value":343629930942169.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5613033275213379584,"description":"Unknown IO ID 45"} 
[2026-07-08 23:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584911872001,"power":27343,"main_input_voltage":206,"unknown_78":62464,"ignition":54,"odometer":null,"unknown_45":5613033275213379584}} 
[2026-07-08 23:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":128099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:52:02] local.INFO: GPS data processed {"connection_id":128099,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:52:02] local.INFO: Acknowledgment sent {"connection_id":128099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:52:33] local.INFO: TCP Data received {"connection_id":128099,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42f5b210012d4dc8400651d0180007015134..."} 
[2026-07-08 23:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42f5b210012d4dc8400651d0180007015134..."} 
[2026-07-08 23:52:33] local.INFO: Processing buffer {"connection_id":128099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42f5b210012d4dc8400651d0180007015134..."} 
[2026-07-08 23:52:33] local.INFO: Packet analysis {"connection_id":128099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42f5"} 
[2026-07-08 23:52:33] local.INFO: Extracted packet for processing {"connection_id":128099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42f5"} 
[2026-07-08 23:52:33] local.INFO: GPS Element Parsed {"raw_longitude":760072256,"raw_latitude":106024984,"longitude_deg":76.0072256,"latitude_deg":10.6024984,"altitude":7,"angle":337,"satellites":52,"speed":52,"hex_longitude":"2d4dc840","hex_latitude":"0651d018","is_valid_coordinates":true} 
[2026-07-08 23:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584913664001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343630381913735168,"note":"Value kept but may cause issues"} 
[2026-07-08 23:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5608811150565079040,"note":"Value kept but may cause issues"} 
[2026-07-08 23:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783534826000,"timestamp_ms":1783534826000,"timestamp_seconds":1783534826,"priority":1,"record_length":96,"hex_timestamp":"0000019f42f5b210"} 
[2026-07-08 23:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 23:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:52:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":128099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":128099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":128099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584913664001,"66":27213,"246":206,"78":62464,"24":52,"16":343630381913735168,"45":5608811150565079040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,78,24,16,45]} 
[2026-07-08 23:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584913664001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:52:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-08 23:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343630381913735168,"km_value":343630381913735.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5608811150565079040,"description":"Unknown IO ID 45"} 
[2026-07-08 23:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584913664001,"power":27213,"main_input_voltage":206,"unknown_78":62464,"ignition":52,"odometer":null,"unknown_45":5608811150565079040}} 
[2026-07-08 23:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":128099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:52:33] local.INFO: GPS data processed {"connection_id":128099,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:52:33] local.INFO: Acknowledgment sent {"connection_id":128099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:52:57] local.INFO: TCP Data received {"connection_id":125959,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:52:57] local.INFO: Processing buffer {"connection_id":125959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:52:57] local.INFO: IMEI packet received {"connection_id":125959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":125959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:52:59] local.INFO: TCP Data received {"connection_id":125959,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:52:59] local.INFO: Processing buffer {"connection_id":125959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:52:59] local.INFO: IMEI packet received {"connection_id":125959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":125959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:53:05] local.INFO: TCP Data received {"connection_id":125959,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:53:05] local.INFO: Processing buffer {"connection_id":125959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:53:05] local.INFO: IMEI packet received {"connection_id":125959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":125959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:53:06] local.INFO: TCP Data received {"connection_id":125959,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42f6f260012d4cfa80065342d00003014332..."} 
[2026-07-08 23:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42f6f260012d4cfa80065342d00003014332..."} 
[2026-07-08 23:53:06] local.INFO: Processing buffer {"connection_id":125959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42f6f260012d4cfa80065342d00003014332..."} 
[2026-07-08 23:53:06] local.INFO: Packet analysis {"connection_id":125959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42f6"} 
[2026-07-08 23:53:06] local.INFO: Extracted packet for processing {"connection_id":125959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42f6"} 
[2026-07-08 23:53:06] local.INFO: GPS Element Parsed {"raw_longitude":760019584,"raw_latitude":106119888,"longitude_deg":76.0019584,"latitude_deg":10.6119888,"altitude":3,"angle":323,"satellites":50,"speed":50,"hex_longitude":"2d4cfa80","hex_latitude":"065342d0","is_valid_coordinates":true} 
[2026-07-08 23:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584934400001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343635630363770880,"note":"Value kept but may cause issues"} 
[2026-07-08 23:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5553571686410039296,"note":"Value kept but may cause issues"} 
[2026-07-08 23:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783534908000,"timestamp_ms":1783534908000,"timestamp_seconds":1783534908,"priority":1,"record_length":96,"hex_timestamp":"0000019f42f6f260"} 
[2026-07-08 23:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 23:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584934400001,"66":27234,"143":206,"78":62464,"24":50,"16":343635630363770880,"45":5553571686410039296},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,78,24,16,45]} 
[2026-07-08 23:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584934400001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:53:06] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-08 23:53:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-08 23:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343635630363770880,"km_value":343635630363770.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5553571686410039296,"description":"Unknown IO ID 45"} 
[2026-07-08 23:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584934400001,"power":27234,"unknown_143":206,"unknown_78":62464,"ignition":50,"odometer":null,"unknown_45":5553571686410039296}} 
[2026-07-08 23:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":125959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:53:06] local.INFO: GPS data processed {"connection_id":125959,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:53:06] local.INFO: Acknowledgment sent {"connection_id":125959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:53:06] local.INFO: TCP Data received {"connection_id":125959,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42f70db8012d4ce48006535e200003014234..."} 
[2026-07-08 23:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42f70db8012d4ce48006535e200003014234..."} 
[2026-07-08 23:53:06] local.INFO: Processing buffer {"connection_id":125959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42f70db8012d4ce48006535e200003014234..."} 
[2026-07-08 23:53:06] local.INFO: Packet analysis {"connection_id":125959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42f7"} 
[2026-07-08 23:53:06] local.INFO: Extracted packet for processing {"connection_id":125959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42f7"} 
[2026-07-08 23:53:06] local.INFO: GPS Element Parsed {"raw_longitude":760013952,"raw_latitude":106126880,"longitude_deg":76.0013952,"latitude_deg":10.612688,"altitude":3,"angle":322,"satellites":52,"speed":51,"hex_longitude":"2d4ce480","hex_latitude":"06535e20","is_valid_coordinates":true} 
[2026-07-08 23:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584936448001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343636064155467776,"note":"Value kept but may cause issues"} 
[2026-07-08 23:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5546886655715233792,"note":"Value kept but may cause issues"} 
[2026-07-08 23:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783534915000,"timestamp_ms":1783534915000,"timestamp_seconds":1783534915,"priority":1,"record_length":96,"hex_timestamp":"0000019f42f70db8"} 
[2026-07-08 23:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-08 23:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":125959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":125959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":125959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584936448001,"66":27332,"143":206,"78":62464,"24":51,"16":343636064155467776,"45":5546886655715233792},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,78,24,16,45]} 
[2026-07-08 23:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584936448001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:53:06] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-08 23:53:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-08 23:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343636064155467776,"km_value":343636064155467.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5546886655715233792,"description":"Unknown IO ID 45"} 
[2026-07-08 23:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584936448001,"power":27332,"unknown_143":206,"unknown_78":62464,"ignition":51,"odometer":null,"unknown_45":5546886655715233792}} 
[2026-07-08 23:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":125959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:53:06] local.INFO: GPS data processed {"connection_id":125959,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:53:06] local.INFO: Acknowledgment sent {"connection_id":125959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:53:39] local.INFO: TCP Data received {"connection_id":125959,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42f72910012d4ccf8006537a680003014432..."} 
[2026-07-08 23:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42f72910012d4ccf8006537a680003014432..."} 
[2026-07-08 23:53:39] local.INFO: Processing buffer {"connection_id":125959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42f72910012d4ccf8006537a680003014432..."} 
[2026-07-08 23:53:39] local.INFO: Packet analysis {"connection_id":125959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42f7"} 
[2026-07-08 23:53:39] local.INFO: Extracted packet for processing {"connection_id":125959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42f7"} 
[2026-07-08 23:53:39] local.INFO: GPS Element Parsed {"raw_longitude":760008576,"raw_latitude":106134120,"longitude_deg":76.0008576,"latitude_deg":10.613412,"altitude":3,"angle":324,"satellites":50,"speed":50,"hex_longitude":"2d4ccf80","hex_latitude":"06537a68","is_valid_coordinates":true} 
[2026-07-08 23:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584938240001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343636502242131968,"note":"Value kept but may cause issues"} 
[2026-07-08 23:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5540694206229389312,"note":"Value kept but may cause issues"} 
[2026-07-08 23:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783534922000,"timestamp_ms":1783534922000,"timestamp_seconds":1783534922,"priority":1,"record_length":96,"hex_timestamp":"0000019f42f72910"} 
[2026-07-08 23:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-08 23:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":125959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":125959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":125959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584938240001,"66":27343,"143":206,"78":62464,"24":50,"16":343636502242131968,"45":5540694206229389312},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,78,24,16,45]} 
[2026-07-08 23:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584938240001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:53:39] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-08 23:53:39] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-08 23:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343636502242131968,"km_value":343636502242131.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":5540694206229389312,"description":"Unknown IO ID 45"} 
[2026-07-08 23:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584938240001,"power":27343,"unknown_143":206,"unknown_78":62464,"ignition":50,"odometer":null,"unknown_45":5540694206229389312}} 
[2026-07-08 23:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":125959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:53:39] local.INFO: GPS data processed {"connection_id":125959,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:53:39] local.INFO: Acknowledgment sent {"connection_id":125959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:53:54] local.INFO: TCP Data received {"connection_id":126107,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:53:54] local.INFO: Processing buffer {"connection_id":126107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:53:54] local.INFO: IMEI packet received {"connection_id":126107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":126107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:53:55] local.INFO: TCP Data received {"connection_id":126107,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:53:55] local.INFO: Processing buffer {"connection_id":126107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:53:55] local.INFO: IMEI packet received {"connection_id":126107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":126107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:53:59] local.INFO: TCP Data received {"connection_id":126107,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:53:59] local.INFO: Processing buffer {"connection_id":126107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:53:59] local.INFO: IMEI packet received {"connection_id":126107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":126107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:54:00] local.INFO: TCP Data received {"connection_id":126107,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42f74850012d4cb8c0065398800006014432..."} 
[2026-07-08 23:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42f74850012d4cb8c0065398800006014432..."} 
[2026-07-08 23:54:00] local.INFO: Processing buffer {"connection_id":126107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42f74850012d4cb8c0065398800006014432..."} 
[2026-07-08 23:54:00] local.INFO: Packet analysis {"connection_id":126107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42f7"} 
[2026-07-08 23:54:00] local.INFO: Extracted packet for processing {"connection_id":126107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42f7"} 
[2026-07-08 23:54:00] local.INFO: GPS Element Parsed {"raw_longitude":760002752,"raw_latitude":106141824,"longitude_deg":76.0002752,"latitude_deg":10.6141824,"altitude":6,"angle":324,"satellites":50,"speed":45,"hex_longitude":"2d4cb8c0","hex_latitude":"06539880","is_valid_coordinates":true} 
[2026-07-08 23:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584940032001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343636966098599936,"note":"Value kept but may cause issues"} 
[2026-07-08 23:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5534783231720318976,"note":"Value kept but may cause issues"} 
[2026-07-08 23:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783534930000,"timestamp_ms":1783534930000,"timestamp_seconds":1783534930,"priority":1,"record_length":96,"hex_timestamp":"0000019f42f74850"} 
[2026-07-08 23:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 23:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584940032001,"66":27343,"143":206,"78":62464,"24":45,"16":343636966098599936,"45":5534783231720318976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,78,24,16,45]} 
[2026-07-08 23:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584940032001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:54:00] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-08 23:54:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-08 23:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343636966098599936,"km_value":343636966098599.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5534783231720318976,"description":"Unknown IO ID 45"} 
[2026-07-08 23:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584940032001,"power":27343,"unknown_143":206,"unknown_78":62464,"ignition":45,"odometer":null,"unknown_45":5534783231720318976}} 
[2026-07-08 23:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":126107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:54:00] local.INFO: GPS data processed {"connection_id":126107,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:54:00] local.INFO: Acknowledgment sent {"connection_id":126107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:54:00] local.INFO: TCP Data received {"connection_id":126108,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126108,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:54:00] local.INFO: Processing buffer {"connection_id":126108,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:54:00] local.INFO: IMEI packet received {"connection_id":126108,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 23:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":126108,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:54:03] local.INFO: TCP Data received {"connection_id":126107,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42f76b78012d4ca2000653b8700007014831..."} 
[2026-07-08 23:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42f76b78012d4ca2000653b8700007014831..."} 
[2026-07-08 23:54:03] local.INFO: Processing buffer {"connection_id":126107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42f76b78012d4ca2000653b8700007014831..."} 
[2026-07-08 23:54:03] local.INFO: Packet analysis {"connection_id":126107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42f7"} 
[2026-07-08 23:54:03] local.INFO: Extracted packet for processing {"connection_id":126107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42f7"} 
[2026-07-08 23:54:03] local.INFO: GPS Element Parsed {"raw_longitude":759996928,"raw_latitude":106150000,"longitude_deg":75.9996928,"latitude_deg":10.615,"altitude":7,"angle":328,"satellites":49,"speed":43,"hex_longitude":"2d4ca200","hex_latitude":"0653b870","is_valid_coordinates":true} 
[2026-07-08 23:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584942080001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343637447134937088,"note":"Value kept but may cause issues"} 
[2026-07-08 23:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5528379676002123776,"note":"Value kept but may cause issues"} 
[2026-07-08 23:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783534939000,"timestamp_ms":1783534939000,"timestamp_seconds":1783534939,"priority":1,"record_length":96,"hex_timestamp":"0000019f42f76b78"} 
[2026-07-08 23:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:54: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-07-08 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-08 23:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":126107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":126107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":126107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584942080001,"66":27245,"143":206,"78":62464,"24":43,"16":343637447134937088,"45":5528379676002123776},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,78,24,16,45]} 
[2026-07-08 23:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584942080001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:54:03] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-08 23:54:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-08 23:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343637447134937088,"km_value":343637447134937.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5528379676002123776,"description":"Unknown IO ID 45"} 
[2026-07-08 23:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584942080001,"power":27245,"unknown_143":206,"unknown_78":62464,"ignition":43,"odometer":null,"unknown_45":5528379676002123776}} 
[2026-07-08 23:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":126107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:54:03] local.INFO: GPS data processed {"connection_id":126107,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:54:03] local.INFO: Acknowledgment sent {"connection_id":126107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:54:35] local.INFO: TCP Data received {"connection_id":126107,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42f8a010012d4bd640065514600004014c31..."} 
[2026-07-08 23:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42f8a010012d4bd640065514600004014c31..."} 
[2026-07-08 23:54:35] local.INFO: Processing buffer {"connection_id":126107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42f8a010012d4bd640065514600004014c31..."} 
[2026-07-08 23:54:35] local.INFO: Packet analysis {"connection_id":126107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42f8"} 
[2026-07-08 23:54:35] local.INFO: Extracted packet for processing {"connection_id":126107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42f8"} 
[2026-07-08 23:54:35] local.INFO: GPS Element Parsed {"raw_longitude":759944768,"raw_latitude":106239072,"longitude_deg":75.9944768,"latitude_deg":10.6239072,"altitude":4,"angle":332,"satellites":49,"speed":52,"hex_longitude":"2d4bd640","hex_latitude":"06551460","is_valid_coordinates":true} 
[2026-07-08 23:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584962816001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343642463656738816,"note":"Value kept but may cause issues"} 
[2026-07-08 23:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5469481037148194816,"note":"Value kept but may cause issues"} 
[2026-07-08 23:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783535018000,"timestamp_ms":1783535018000,"timestamp_seconds":1783535018,"priority":1,"record_length":96,"hex_timestamp":"0000019f42f8a010"} 
[2026-07-08 23:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 23:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":126107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":126107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":126107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584962816001,"66":27332,"145":206,"78":62464,"24":52,"16":343642463656738816,"45":5469481037148194816},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,78,24,16,45]} 
[2026-07-08 23:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584962816001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:54:35] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-08 23:54:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-08 23:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343642463656738816,"km_value":343642463656738.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5469481037148194816,"description":"Unknown IO ID 45"} 
[2026-07-08 23:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584962816001,"power":27332,"unknown_145":206,"unknown_78":62464,"ignition":52,"odometer":null,"unknown_45":5469481037148194816}} 
[2026-07-08 23:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":126107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:54:35] local.INFO: GPS data processed {"connection_id":126107,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:54:35] local.INFO: Acknowledgment sent {"connection_id":126107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:54:54] local.INFO: TCP Data received {"connection_id":126840,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:54:54] local.INFO: Processing buffer {"connection_id":126840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:54:54] local.INFO: IMEI packet received {"connection_id":126840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":126840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:54:59] local.INFO: TCP Data received {"connection_id":126840,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:54:59] local.INFO: Processing buffer {"connection_id":126840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:54:59] local.INFO: IMEI packet received {"connection_id":126840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":126840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:55:00] local.INFO: TCP Data received {"connection_id":126840,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42f8bb68012d4bc500065533c80004014c32..."} 
[2026-07-08 23:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42f8bb68012d4bc500065533c80004014c32..."} 
[2026-07-08 23:55:00] local.INFO: Processing buffer {"connection_id":126840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42f8bb68012d4bc500065533c80004014c32..."} 
[2026-07-08 23:55:00] local.INFO: Packet analysis {"connection_id":126840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42f8"} 
[2026-07-08 23:55:00] local.INFO: Extracted packet for processing {"connection_id":126840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42f8"} 
[2026-07-08 23:55:00] local.INFO: GPS Element Parsed {"raw_longitude":759940352,"raw_latitude":106247112,"longitude_deg":75.9940352,"latitude_deg":10.6247112,"altitude":4,"angle":332,"satellites":50,"speed":51,"hex_longitude":"2d4bc500","hex_latitude":"065533c8","is_valid_coordinates":true} 
[2026-07-08 23:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584964608001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343642906038370304,"note":"Value kept but may cause issues"} 
[2026-07-08 23:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5464625593802055680,"note":"Value kept but may cause issues"} 
[2026-07-08 23:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783535025000,"timestamp_ms":1783535025000,"timestamp_seconds":1783535025,"priority":1,"record_length":96,"hex_timestamp":"0000019f42f8bb68"} 
[2026-07-08 23:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-08 23:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:55:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":126840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":126840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":126840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584964608001,"66":27245,"145":206,"78":62464,"24":51,"16":343642906038370304,"45":5464625593802055680},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,78,24,16,45]} 
[2026-07-08 23:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584964608001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:55:00] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-08 23:55:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-08 23:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343642906038370304,"km_value":343642906038370.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5464625593802055680,"description":"Unknown IO ID 45"} 
[2026-07-08 23:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584964608001,"power":27245,"unknown_145":206,"unknown_78":62464,"ignition":51,"odometer":null,"unknown_45":5464625593802055680}} 
[2026-07-08 23:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":126840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:55:00] local.INFO: GPS data processed {"connection_id":126840,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:55:00] local.INFO: Acknowledgment sent {"connection_id":126840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:55:32] local.INFO: TCP Data received {"connection_id":126840,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42f8d6c0012d4bb400065553400005014b31..."} 
[2026-07-08 23:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42f8d6c0012d4bb400065553400005014b31..."} 
[2026-07-08 23:55:32] local.INFO: Processing buffer {"connection_id":126840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42f8d6c0012d4bb400065553400005014b31..."} 
[2026-07-08 23:55:32] local.INFO: Packet analysis {"connection_id":126840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42f8"} 
[2026-07-08 23:55:32] local.INFO: Extracted packet for processing {"connection_id":126840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42f8"} 
[2026-07-08 23:55:32] local.INFO: GPS Element Parsed {"raw_longitude":759936000,"raw_latitude":106255168,"longitude_deg":75.9936,"latitude_deg":10.6255168,"altitude":5,"angle":331,"satellites":49,"speed":52,"hex_longitude":"2d4bb400","hex_latitude":"06555340","is_valid_coordinates":true} 
[2026-07-08 23: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-07-08 23:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584966400001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343643348420001792,"note":"Value kept but may cause issues"} 
[2026-07-08 23:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5459770150455855104,"note":"Value kept but may cause issues"} 
[2026-07-08 23:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783535032000,"timestamp_ms":1783535032000,"timestamp_seconds":1783535032,"priority":1,"record_length":96,"hex_timestamp":"0000019f42f8d6c0"} 
[2026-07-08 23:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-08 23:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23: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-07-08 23:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":126840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":126840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":126840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584966400001,"66":27321,"145":206,"78":62464,"24":52,"16":343643348420001792,"45":5459770150455855104},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,78,24,16,45]} 
[2026-07-08 23:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584966400001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:55:32] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-08 23:55:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-08 23:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343643348420001792,"km_value":343643348420001.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5459770150455855104,"description":"Unknown IO ID 45"} 
[2026-07-08 23:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584966400001,"power":27321,"unknown_145":206,"unknown_78":62464,"ignition":52,"odometer":null,"unknown_45":5459770150455855104}} 
[2026-07-08 23:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":126840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:55:32] local.INFO: GPS data processed {"connection_id":126840,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:55:32] local.INFO: Acknowledgment sent {"connection_id":126840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:55:54] local.INFO: TCP Data received {"connection_id":126842,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:55:54] local.INFO: Processing buffer {"connection_id":126842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:55:54] local.INFO: IMEI packet received {"connection_id":126842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":126842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:55:55] local.INFO: TCP Data received {"connection_id":126842,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:55:55] local.INFO: Processing buffer {"connection_id":126842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:55:55] local.INFO: IMEI packet received {"connection_id":126842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":126842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:55:59] local.INFO: TCP Data received {"connection_id":126842,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:55:59] local.INFO: Processing buffer {"connection_id":126842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:55:59] local.INFO: IMEI packet received {"connection_id":126842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":126842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:56:01] local.INFO: TCP Data received {"connection_id":126842,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42f8f218012d4ba2c0065573580005014c33..."} 
[2026-07-08 23:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42f8f218012d4ba2c0065573580005014c33..."} 
[2026-07-08 23:56:01] local.INFO: Processing buffer {"connection_id":126842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42f8f218012d4ba2c0065573580005014c33..."} 
[2026-07-08 23:56:01] local.INFO: Packet analysis {"connection_id":126842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42f8"} 
[2026-07-08 23:56:01] local.INFO: Extracted packet for processing {"connection_id":126842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42f8"} 
[2026-07-08 23:56:01] local.INFO: GPS Element Parsed {"raw_longitude":759931584,"raw_latitude":106263384,"longitude_deg":75.9931584,"latitude_deg":10.6263384,"altitude":5,"angle":332,"satellites":51,"speed":52,"hex_longitude":"2d4ba2c0","hex_latitude":"06557358","is_valid_coordinates":true} 
[2026-07-08 23:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584968192001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343643799391567872,"note":"Value kept but may cause issues"} 
[2026-07-08 23:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5454985075853836288,"note":"Value kept but may cause issues"} 
[2026-07-08 23:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783535039000,"timestamp_ms":1783535039000,"timestamp_seconds":1783535039,"priority":1,"record_length":96,"hex_timestamp":"0000019f42f8f218"} 
[2026-07-08 23:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:56:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-08 23:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:56:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":126842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":126842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":126842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584968192001,"66":27234,"64":206,"78":62464,"24":52,"16":343643799391567872,"45":5454985075853836288},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,78,24,16,45]} 
[2026-07-08 23:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584968192001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:56:01] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-08 23:56:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-08 23:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343643799391567872,"km_value":343643799391567.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5454985075853836288,"description":"Unknown IO ID 45"} 
[2026-07-08 23:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584968192001,"power":27234,"unknown_64":206,"unknown_78":62464,"ignition":52,"odometer":null,"unknown_45":5454985075853836288}} 
[2026-07-08 23:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":126842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:56:01] local.INFO: GPS data processed {"connection_id":126842,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:56:01] local.INFO: Acknowledgment sent {"connection_id":126842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:56:33] local.INFO: TCP Data received {"connection_id":126842,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42fa6148012d4ae28006572568000b014d32..."} 
[2026-07-08 23:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42fa6148012d4ae28006572568000b014d32..."} 
[2026-07-08 23:56:33] local.INFO: Processing buffer {"connection_id":126842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42fa6148012d4ae28006572568000b014d32..."} 
[2026-07-08 23:56:33] local.INFO: Packet analysis {"connection_id":126842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42fa"} 
[2026-07-08 23:56:33] local.INFO: Extracted packet for processing {"connection_id":126842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42fa"} 
[2026-07-08 23:56:33] local.INFO: GPS Element Parsed {"raw_longitude":759882368,"raw_latitude":106374504,"longitude_deg":75.9882368,"latitude_deg":10.6374504,"altitude":11,"angle":333,"satellites":50,"speed":46,"hex_longitude":"2d4ae280","hex_latitude":"06572568","is_valid_coordinates":true} 
[2026-07-08 23:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584992000001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343649704971599872,"note":"Value kept but may cause issues"} 
[2026-07-08 23:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5400449299144574976,"note":"Value kept but may cause issues"} 
[2026-07-08 23:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783535133000,"timestamp_ms":1783535133000,"timestamp_seconds":1783535133,"priority":1,"record_length":96,"hex_timestamp":"0000019f42fa6148"} 
[2026-07-08 23:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-08 23:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:56:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":126842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":126842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":126842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584992000001,"66":27223,"130":206,"78":62464,"24":46,"16":343649704971599872,"45":5400449299144574976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,78,24,16,45]} 
[2026-07-08 23:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584992000001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:56:33] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-07-08 23:56:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-08 23:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343649704971599872,"km_value":343649704971599.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5400449299144574976,"description":"Unknown IO ID 45"} 
[2026-07-08 23:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584992000001,"power":27223,"unknown_130":206,"unknown_78":62464,"ignition":46,"odometer":null,"unknown_45":5400449299144574976}} 
[2026-07-08 23:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":126842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:56:33] local.INFO: GPS data processed {"connection_id":126842,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:56:33] local.INFO: Acknowledgment sent {"connection_id":126842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:56:54] local.INFO: TCP Data received {"connection_id":125962,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:56:54] local.INFO: Processing buffer {"connection_id":125962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:56:54] local.INFO: IMEI packet received {"connection_id":125962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":125962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:56:55] local.INFO: TCP Data received {"connection_id":125962,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:56:55] local.INFO: Processing buffer {"connection_id":125962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:56:55] local.INFO: IMEI packet received {"connection_id":125962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":125962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:57:00] local.INFO: TCP Data received {"connection_id":125962,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:57:00] local.INFO: Processing buffer {"connection_id":125962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:57:00] local.INFO: IMEI packet received {"connection_id":125962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":125962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:57:02] local.INFO: TCP Data received {"connection_id":125962,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42fa8088012d4ad1c006574660000b014d32..."} 
[2026-07-08 23:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42fa8088012d4ad1c006574660000b014d32..."} 
[2026-07-08 23:57:02] local.INFO: Processing buffer {"connection_id":125962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42fa8088012d4ad1c006574660000b014d32..."} 
[2026-07-08 23:57:02] local.INFO: Packet analysis {"connection_id":125962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42fa"} 
[2026-07-08 23:57:02] local.INFO: Extracted packet for processing {"connection_id":125962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42fa"} 
[2026-07-08 23:57:02] local.INFO: GPS Element Parsed {"raw_longitude":759878080,"raw_latitude":106382944,"longitude_deg":75.987808,"latitude_deg":10.6382944,"altitude":11,"angle":333,"satellites":50,"speed":47,"hex_longitude":"2d4ad1c0","hex_latitude":"06574660","is_valid_coordinates":true} 
[2026-07-08 23: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-07-08 23:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584994048001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343650160238133248,"note":"Value kept but may cause issues"} 
[2026-07-08 23:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5396016068263503872,"note":"Value kept but may cause issues"} 
[2026-07-08 23:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783535141000,"timestamp_ms":1783535141000,"timestamp_seconds":1783535141,"priority":1,"record_length":96,"hex_timestamp":"0000019f42fa8088"} 
[2026-07-08 23:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23: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":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-07-08 23:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23: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-07-08 23:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":125962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":125962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":125962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584994048001,"66":27245,"130":206,"78":62464,"24":47,"16":343650160238133248,"45":5396016068263503872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,78,24,16,45]} 
[2026-07-08 23:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584994048001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:57:02] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-07-08 23:57:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-08 23:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343650160238133248,"km_value":343650160238133.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5396016068263503872,"description":"Unknown IO ID 45"} 
[2026-07-08 23:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584994048001,"power":27245,"unknown_130":206,"unknown_78":62464,"ignition":47,"odometer":null,"unknown_45":5396016068263503872}} 
[2026-07-08 23:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":125962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:57:02] local.INFO: GPS data processed {"connection_id":125962,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:57:02] local.INFO: Acknowledgment sent {"connection_id":125962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:58:04] local.INFO: TCP Data received {"connection_id":126843,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:58:04] local.INFO: Processing buffer {"connection_id":126843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:58:04] local.INFO: IMEI packet received {"connection_id":126843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":126843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:58:09] local.INFO: TCP Data received {"connection_id":126843,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:58:09] local.INFO: Processing buffer {"connection_id":126843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:58:09] local.INFO: IMEI packet received {"connection_id":126843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":126843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:58:09] local.INFO: TCP Data received {"connection_id":126843,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:58:09] local.INFO: Processing buffer {"connection_id":126843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:58:09] local.INFO: IMEI packet received {"connection_id":126843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":126843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:58:10] local.INFO: TCP Data received {"connection_id":126843,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42fbebd0012d4a0d000658d9480005014d2e..."} 
[2026-07-08 23:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42fbebd0012d4a0d000658d9480005014d2e..."} 
[2026-07-08 23:58:10] local.INFO: Processing buffer {"connection_id":126843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42fbebd0012d4a0d000658d9480005014d2e..."} 
[2026-07-08 23:58:10] local.INFO: Packet analysis {"connection_id":126843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42fb"} 
[2026-07-08 23:58:10] local.INFO: Extracted packet for processing {"connection_id":126843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42fb"} 
[2026-07-08 23:58:10] local.INFO: GPS Element Parsed {"raw_longitude":759827712,"raw_latitude":106486088,"longitude_deg":75.9827712,"latitude_deg":10.6486088,"altitude":5,"angle":333,"satellites":46,"speed":50,"hex_longitude":"2d4a0d00","hex_latitude":"0658d948","is_valid_coordinates":true} 
[2026-07-08 23:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456585017856001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343655709335879680,"note":"Value kept but may cause issues"} 
[2026-07-08 23:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5341128447831197696,"note":"Value kept but may cause issues"} 
[2026-07-08 23:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783535234000,"timestamp_ms":1783535234000,"timestamp_seconds":1783535234,"priority":1,"record_length":96,"hex_timestamp":"0000019f42fbebd0"} 
[2026-07-08 23:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-08 23:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":126843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":126843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":126843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456585017856001,"66":27376,"131":206,"78":62464,"24":50,"16":343655709335879680,"45":5341128447831197696},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,78,24,16,45]} 
[2026-07-08 23:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456585017856001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:58:10] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-08 23:58:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-08 23:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343655709335879680,"km_value":343655709335879.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5341128447831197696,"description":"Unknown IO ID 45"} 
[2026-07-08 23:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456585017856001,"power":27376,"unknown_131":206,"unknown_78":62464,"ignition":50,"odometer":null,"unknown_45":5341128447831197696}} 
[2026-07-08 23:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":126843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:58:10] local.INFO: GPS data processed {"connection_id":126843,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:58:10] local.INFO: Acknowledgment sent {"connection_id":126843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:58:14] local.INFO: TCP Data received {"connection_id":126843,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42fc0b10012d49fb000658fc700005014d30..."} 
[2026-07-08 23:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42fc0b10012d49fb000658fc700005014d30..."} 
[2026-07-08 23:58:14] local.INFO: Processing buffer {"connection_id":126843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42fc0b10012d49fb000658fc700005014d30..."} 
[2026-07-08 23:58:14] local.INFO: Packet analysis {"connection_id":126843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42fc"} 
[2026-07-08 23:58:14] local.INFO: Extracted packet for processing {"connection_id":126843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42fc"} 
[2026-07-08 23:58:14] local.INFO: GPS Element Parsed {"raw_longitude":759823104,"raw_latitude":106495088,"longitude_deg":75.9823104,"latitude_deg":10.6495088,"altitude":5,"angle":333,"satellites":48,"speed":49,"hex_longitude":"2d49fb00","hex_latitude":"0658fc70","is_valid_coordinates":true} 
[2026-07-08 23:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456585019904001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343656198962151424,"note":"Value kept but may cause issues"} 
[2026-07-08 23:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5335921160764344320,"note":"Value kept but may cause issues"} 
[2026-07-08 23:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783535242000,"timestamp_ms":1783535242000,"timestamp_seconds":1783535242,"priority":1,"record_length":96,"hex_timestamp":"0000019f42fc0b10"} 
[2026-07-08 23:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:58:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-08 23:58:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":126843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":126843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":126843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456585019904001,"66":27213,"131":206,"78":62464,"24":49,"16":343656198962151424,"45":5335921160764344320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,78,24,16,45]} 
[2026-07-08 23:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456585019904001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:58:14] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-08 23:58:14] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-08 23:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343656198962151424,"km_value":343656198962151.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5335921160764344320,"description":"Unknown IO ID 45"} 
[2026-07-08 23:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456585019904001,"power":27213,"unknown_131":206,"unknown_78":62464,"ignition":49,"odometer":null,"unknown_45":5335921160764344320}} 
[2026-07-08 23:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":126843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:58:14] local.INFO: GPS data processed {"connection_id":126843,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:58:14] local.INFO: Acknowledgment sent {"connection_id":126843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:58:15] local.INFO: TCP Data received {"connection_id":125962,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42fa9fc8012d4ac10006576838000a014e34..."} 
[2026-07-08 23:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":125962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42fa9fc8012d4ac10006576838000a014e34..."} 
[2026-07-08 23:58:15] local.INFO: Processing buffer {"connection_id":125962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42fa9fc8012d4ac10006576838000a014e34..."} 
[2026-07-08 23:58:15] local.INFO: Packet analysis {"connection_id":125962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42fa"} 
[2026-07-08 23:58:15] local.INFO: Extracted packet for processing {"connection_id":125962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42fa"} 
[2026-07-08 23:58:15] local.INFO: GPS Element Parsed {"raw_longitude":759873792,"raw_latitude":106391608,"longitude_deg":75.9873792,"latitude_deg":10.6391608,"altitude":10,"angle":334,"satellites":52,"speed":49,"hex_longitude":"2d4ac100","hex_latitude":"06576838","is_valid_coordinates":true} 
[2026-07-08 23:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456584996096001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343650628389568512,"note":"Value kept but may cause issues"} 
[2026-07-08 23:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5391301362405761024,"note":"Value kept but may cause issues"} 
[2026-07-08 23:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783535149000,"timestamp_ms":1783535149000,"timestamp_seconds":1783535149,"priority":1,"record_length":96,"hex_timestamp":"0000019f42fa9fc8"} 
[2026-07-08 23:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:58: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-07-08 23:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-08 23:58:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:58:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":125962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":125962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":125962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456584996096001,"66":27397,"130":206,"78":62464,"24":49,"16":343650628389568512,"45":5391301362405761024},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,78,24,16,45]} 
[2026-07-08 23:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456584996096001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:58:15] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-07-08 23:58:15] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-08 23:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343650628389568512,"km_value":343650628389568.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5391301362405761024,"description":"Unknown IO ID 45"} 
[2026-07-08 23:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456584996096001,"power":27397,"unknown_130":206,"unknown_78":62464,"ignition":49,"odometer":null,"unknown_45":5391301362405761024}} 
[2026-07-08 23:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":125962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:58:15] local.INFO: GPS data processed {"connection_id":125962,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:58:15] local.INFO: Acknowledgment sent {"connection_id":125962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:58:54] local.INFO: TCP Data received {"connection_id":128101,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:58:54] local.INFO: Processing buffer {"connection_id":128101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:58:54] local.INFO: IMEI packet received {"connection_id":128101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-08 23:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":128101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:58:59] local.INFO: TCP Data received {"connection_id":128101,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:58:59] local.INFO: Processing buffer {"connection_id":128101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:58:59] local.INFO: IMEI packet received {"connection_id":128101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":128101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:59:02] local.INFO: TCP Data received {"connection_id":128101,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:59:02] local.INFO: Processing buffer {"connection_id":128101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-08 23:59:02] local.INFO: IMEI packet received {"connection_id":128101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-08 23:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":128101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-08 23:59:03] local.INFO: TCP Data received {"connection_id":128101,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42fc2a50012d49e88006591f080005014b31..."} 
[2026-07-08 23:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42fc2a50012d49e88006591f080005014b31..."} 
[2026-07-08 23:59:03] local.INFO: Processing buffer {"connection_id":128101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42fc2a50012d49e88006591f080005014b31..."} 
[2026-07-08 23:59:03] local.INFO: Packet analysis {"connection_id":128101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42fc"} 
[2026-07-08 23:59:03] local.INFO: Extracted packet for processing {"connection_id":128101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42fc"} 
[2026-07-08 23:59:03] local.INFO: GPS Element Parsed {"raw_longitude":759818368,"raw_latitude":106503944,"longitude_deg":75.9818368,"latitude_deg":10.6503944,"altitude":5,"angle":331,"satellites":49,"speed":49,"hex_longitude":"2d49e880","hex_latitude":"06591f08","is_valid_coordinates":true} 
[2026-07-08 23:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456585021952001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343656684293455872,"note":"Value kept but may cause issues"} 
[2026-07-08 23:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5330854611185856512,"note":"Value kept but may cause issues"} 
[2026-07-08 23:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783535250000,"timestamp_ms":1783535250000,"timestamp_seconds":1783535250,"priority":1,"record_length":96,"hex_timestamp":"0000019f42fc2a50"} 
[2026-07-08 23:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-08 23:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":128101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":128101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":128101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456585021952001,"66":27365,"206":206,"78":62464,"24":49,"16":343656684293455872,"45":5330854611185856512},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,78,24,16,45]} 
[2026-07-08 23:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456585021952001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:59:03] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-08 23:59:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-08 23:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343656684293455872,"km_value":343656684293455.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5330854611185856512,"description":"Unknown IO ID 45"} 
[2026-07-08 23:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456585021952001,"power":27365,"unknown_206":206,"unknown_78":62464,"ignition":49,"odometer":null,"unknown_45":5330854611185856512}} 
[2026-07-08 23:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":128101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:59:03] local.INFO: GPS data processed {"connection_id":128101,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:59:03] local.INFO: Acknowledgment sent {"connection_id":128101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:59:05] local.INFO: TCP Data received {"connection_id":128101,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42fc4990012d49d600065940c80006014c30..."} 
[2026-07-08 23:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42fc4990012d49d600065940c80006014c30..."} 
[2026-07-08 23:59:05] local.INFO: Processing buffer {"connection_id":128101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42fc4990012d49d600065940c80006014c30..."} 
[2026-07-08 23:59:05] local.INFO: Packet analysis {"connection_id":128101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42fc"} 
[2026-07-08 23:59:05] local.INFO: Extracted packet for processing {"connection_id":128101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42fc"} 
[2026-07-08 23:59:05] local.INFO: GPS Element Parsed {"raw_longitude":759813632,"raw_latitude":106512584,"longitude_deg":75.9813632,"latitude_deg":10.6512584,"altitude":6,"angle":332,"satellites":48,"speed":48,"hex_longitude":"2d49d600","hex_latitude":"065940c8","is_valid_coordinates":true} 
[2026-07-08 23:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456585024000001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343657161034825728,"note":"Value kept but may cause issues"} 
[2026-07-08 23:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5325647324118976512,"note":"Value kept but may cause issues"} 
[2026-07-08 23:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783535258000,"timestamp_ms":1783535258000,"timestamp_seconds":1783535258,"priority":1,"record_length":96,"hex_timestamp":"0000019f42fc4990"} 
[2026-07-08 23:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-08 23:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":128101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":128101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":128101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456585024000001,"66":27039,"206":206,"78":62464,"24":48,"16":343657161034825728,"45":5325647324118976512},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,78,24,16,45]} 
[2026-07-08 23:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456585024000001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:59:05] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-08 23:59:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-08 23:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343657161034825728,"km_value":343657161034825.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5325647324118976512,"description":"Unknown IO ID 45"} 
[2026-07-08 23:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456585024000001,"power":27039,"unknown_206":206,"unknown_78":62464,"ignition":48,"odometer":null,"unknown_45":5325647324118976512}} 
[2026-07-08 23:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":128101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:59:05] local.INFO: GPS data processed {"connection_id":128101,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:59:05] local.INFO: Acknowledgment sent {"connection_id":128101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-08 23:59:35] local.INFO: TCP Data received {"connection_id":126110,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":126110,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:59:35] local.INFO: Processing buffer {"connection_id":126110,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-08 23:59:35] local.INFO: IMEI packet received {"connection_id":126110,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-08 23:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":126110,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-08 23:59:36] local.INFO: TCP Data received {"connection_id":128101,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f42fc68d0012d49c500065961200008014c32..."} 
[2026-07-08 23:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":128101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f42fc68d0012d49c500065961200008014c32..."} 
[2026-07-08 23:59:36] local.INFO: Processing buffer {"connection_id":128101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f42fc68d0012d49c500065961200008014c32..."} 
[2026-07-08 23:59:36] local.INFO: Packet analysis {"connection_id":128101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f42fc"} 
[2026-07-08 23:59:36] local.INFO: Extracted packet for processing {"connection_id":128101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f42fc"} 
[2026-07-08 23:59:36] local.INFO: GPS Element Parsed {"raw_longitude":759809280,"raw_latitude":106520864,"longitude_deg":75.980928,"latitude_deg":10.6520864,"altitude":8,"angle":332,"satellites":50,"speed":45,"hex_longitude":"2d49c500","hex_latitude":"06596120","is_valid_coordinates":true} 
[2026-07-08 23:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-08 23:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456585026048001,"note":"Value kept but may cause issues"} 
[2026-07-08 23:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":343657612006391808,"note":"Value kept but may cause issues"} 
[2026-07-08 23:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5320440037052041216,"note":"Value kept but may cause issues"} 
[2026-07-08 23:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-08 23:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783535266000,"timestamp_ms":1783535266000,"timestamp_seconds":1783535266,"priority":1,"record_length":96,"hex_timestamp":"0000019f42fc68d0"} 
[2026-07-08 23:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-08 23:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-08 23: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":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-07-08 23:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2154,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-08 23:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-08 23:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-08 23:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-08 23:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":128101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-08 23:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":128101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":128101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-08 23:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-08 23:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-08 23:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-08 23:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456585026048001,"66":27245,"206":206,"78":62464,"24":45,"16":343657612006391808,"45":5320440037052041216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,78,24,16,45]} 
[2026-07-08 23:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-08 23:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-08 23:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456585026048001,"description":"Unknown IO ID 0"} 
[2026-07-08 23:59:36] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-08 23:59:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-08 23:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":343657612006391808,"km_value":343657612006391.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-08 23:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5320440037052041216,"description":"Unknown IO ID 45"} 
[2026-07-08 23:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456585026048001,"power":27245,"unknown_206":206,"unknown_78":62464,"ignition":45,"odometer":null,"unknown_45":5320440037052041216}} 
[2026-07-08 23:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":128101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":454378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-08 23:59:36] local.INFO: GPS data processed {"connection_id":128101,"processed":1,"errors":0,"total":1} 
[2026-07-08 23:59:36] local.INFO: Acknowledgment sent {"connection_id":128101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
